1 line
No EOL
2 KiB
JavaScript
1 line
No EOL
2 KiB
JavaScript
(window.webpackJsonp=window.webpackJsonp||[]).push([[20],{260:function(t,n,e){},278:function(t){t.exports=JSON.parse('{"h3Config":{"ja-JP":"ボタン設定","en-US":"Button Config"},"lblDPad":{"ja-JP":"【十字キー】","en-US":"D-Pad: "},"lblButton":{"ja-JP":"【ボタン】","en-US":"Button: "},"pCautionZ":{"ja-JP":"Zメニューが無効化されるので注意してください","en-US":"Note that Z menu will be disabled."}}')},279:function(t,n,e){"use strict";e(260)},329:function(t,n,e){"use strict";e.r(n);var u=e(241),o=e(271),a=e(278),l={methods:{updateConfig:Object(u.e)(o.e,o.c),toggleButton(t,n){this.button=t.target.checked?this.button|n:this.button&~n,this.updateConfig()},l(t){var n;return null!==(n=a[t][this.$lang])&&void 0!==n?n:a[t]["en-US"]}},data(){const{button:t}=Object(o.d)();return{button:t,buttonInfos:["A","B","X","Y","L","R","Z"].map(t=>({text:t,value:o.a[t]})),dpadButtonInfos:[{text:"←",value:o.a.DL},{text:"↓",value:o.a.DD},{text:"↑",value:o.a.DU},{text:"→",value:o.a.DR}],buttonValues:o.a}}},s=(e(279),e(10)),i=Object(s.a)(l,(function(){var t=this,n=t._self._c;return n("div",{attrs:{id:"config"}},[n("h3",[t._v(t._s(t.l("h3Config")))]),t._v(" "),n("div",[n("span",[t._v(t._s(t.l("lblButton")))]),t._v(" "),t._l(t.buttonInfos,(function(e){return n("div",{key:e.value,staticClass:"inline"},[n("input",{attrs:{type:"checkbox"},domProps:{checked:t.button&e.value},on:{change:function(n){return t.toggleButton(n,e.value)}}}),n("span",[t._v(t._s(e.text))])])}))],2),t._v(" "),n("div",[n("span",[t._v(t._s(t.l("lblDPad")))]),t._v(" "),t._l(t.dpadButtonInfos,(function(e){return n("div",{key:e.value,staticClass:"inline"},[n("input",{attrs:{type:"checkbox"},domProps:{checked:t.button&e.value},on:{change:function(n){return t.toggleButton(n,e.value)}}}),n("span",[t._v(t._s(e.text))])])}))],2),t._v(" "),t.button&t.buttonValues.Z?n("div",{staticClass:"custom-block danger"},[n("p",[t._v(t._s(t.l("pCautionZ")))])]):t._e()])}),[],!1,null,null,null);n.default=i.exports}}]); |