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AA,EAAAA,IAAgB,CAC7BC,KAAM,aACNK,WAAY,CACV+C,UAAWA,KCFjB,MAAM,GAA2B,OAAgB,EAAQ,CAAC,CAAC,SAAS1E,KAEpE,O","sources":["webpack://wavelovers/./src/models/PatternUnit.ts","webpack://wavelovers/./src/components/GamepadList.vue?5b9c","webpack://wavelovers/./src/components/GamepadItem.vue?0665","webpack://wavelovers/./src/components/GamepadItem.vue?ef0b","webpack://wavelovers/./src/components/GamepadItem.vue","webpack://wavelovers/./src/components/GamepadList.vue?8510","webpack://wavelovers/./src/components/GamepadList.vue","webpack://wavelovers/./src/components/MessageItem.vue?088b","webpack://wavelovers/./src/components/MessageItem.vue?b787","webpack://wavelovers/./src/components/MessageItem.vue","webpack://wavelovers/./src/components/NavigationList.vue?0746","webpack://wavelovers/./src/components/NavigationList.vue?d88b","webpack://wavelovers/./src/components/NavigationList.vue","webpack://wavelovers/./src/views/CustomView.vue?0e3b","webpack://wavelovers/./src/components/AppCustom.vue?d16c","webpack://wavelovers/./src/components/AppCustom.vue?08c8","webpack://wavelovers/./src/components/AppCustom.vue","webpack://wavelovers/./src/views/CustomView.vue?8886","webpack://wavelovers/./src/views/CustomView.vue"],"sourcesContent":["import IPatternUnit from \"@/models/IPatternUnit\";\r\n\r\nclass PatternUnit implements IPatternUnit {\r\n\r\n startDelay: number;\r\n duration: number;\r\n weakMagnitude: number;\r\n strongMagnitude: number;\r\n\r\n constructor(\r\n startDelay: number, duration: number,\r\n weakMagnitude: number, strongMagnitude: number\r\n ) {\r\n this.startDelay = startDelay;\r\n this.duration = duration;\r\n this.weakMagnitude = weakMagnitude;\r\n this.strongMagnitude = strongMagnitude;\r\n }\r\n}\r\n\r\nexport default PatternUnit;\r\n","import { renderList as _renderList, Fragment as _Fragment, openBlock as _openBlock, createElementBlock as _createElementBlock, resolveComponent as _resolveComponent, toDisplayString as _toDisplayString, createBlock as _createBlock } from \"vue\"\n\nconst _hoisted_1 = { class: \"content-item device-list\" }\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_GamepadItem = _resolveComponent(\"GamepadItem\")!\n\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(_ctx.gamepads, (gamepad) => {\n return (_openBlock(), _createBlock(_component_GamepadItem, {\n key: gamepad.id,\n textContent: _toDisplayString(gamepad.unit.id)\n }, null, 8, [\"textContent\"]))\n }), 128))\n ]))\n}","import { openBlock as _openBlock, createElementBlock as _createElementBlock } from \"vue\"\n\nconst _hoisted_1 = { class: \"list-item\" }\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_1))\n}","\r\n import { defineComponent } from 'vue';\r\n\r\n export default defineComponent({\r\n name: 'GamepadItem',\r\n });\r\n","import { render } from \"./GamepadItem.vue?vue&type=template&id=6958838e&ts=true\"\nimport script from \"./GamepadItem.vue?vue&type=script&lang=ts\"\nexport * from \"./GamepadItem.vue?vue&type=script&lang=ts\"\n\nimport \"./GamepadItem.vue?vue&type=style&index=0&id=6958838e&lang=scss\"\n\nimport exportComponent from \"D:\\\\Sources\\\\Repos\\\\wavelovers\\\\node_modules\\\\vue-loader\\\\dist\\\\exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","\r\n import { defineComponent } from 'vue';\r\n import GamepadItem from '@/components/GamepadItem.vue';\r\n\r\n export default defineComponent({\r\n name: 'GamepadList',\r\n props: {\r\n gamepads: {\r\n type: Array,\r\n },\r\n },\r\n components: {\r\n GamepadItem: GamepadItem,\r\n },\r\n });\r\n","import { render } from \"./GamepadList.vue?vue&type=template&id=2658b144&ts=true\"\nimport script from \"./GamepadList.vue?vue&type=script&lang=ts\"\nexport * from \"./GamepadList.vue?vue&type=script&lang=ts\"\n\nimport \"./GamepadList.vue?vue&type=style&index=0&id=2658b144&lang=scss\"\n\nimport exportComponent from \"D:\\\\Sources\\\\Repos\\\\wavelovers\\\\node_modules\\\\vue-loader\\\\dist\\\\exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","import { renderSlot as _renderSlot, createElementVNode as _createElementVNode, openBlock as _openBlock, createElementBlock as _createElementBlock } from \"vue\"\n\nconst _hoisted_1 = { class: \"content-item message\" }\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _createElementVNode(\"span\", null, [\n _renderSlot(_ctx.$slots, \"default\")\n ])\n ]))\n}","\r\n import { defineComponent } from 'vue';\r\n\r\n export default defineComponent({\r\n name: 'MessageItem',\r\n });\r\n","import { render } from \"./MessageItem.vue?vue&type=template&id=7e7a7193&ts=true\"\nimport script from \"./MessageItem.vue?vue&type=script&lang=ts\"\nexport * from \"./MessageItem.vue?vue&type=script&lang=ts\"\n\nimport \"./MessageItem.vue?vue&type=style&index=0&id=7e7a7193&lang=scss\"\n\nimport exportComponent from \"D:\\\\Sources\\\\Repos\\\\wavelovers\\\\node_modules\\\\vue-loader\\\\dist\\\\exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","import { createTextVNode as _createTextVNode, resolveComponent as _resolveComponent, withCtx as _withCtx, createVNode as _createVNode, openBlock as _openBlock, createElementBlock as _createElementBlock } from \"vue\"\n\nconst _hoisted_1 = { class: \"content-item navigation-list\" }\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_router_link = _resolveComponent(\"router-link\")!\n\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _createVNode(_component_router_link, {\n to: \"/\",\n class: \"navigation-list__item\"\n }, {\n default: _withCtx(() => [\n _createTextVNode(\"Patterns\")\n ]),\n _: 1\n }),\n _createVNode(_component_router_link, {\n to: \"/custom\",\n class: \"navigation-list__item\"\n }, {\n default: _withCtx(() => [\n _createTextVNode(\"Custom\")\n ]),\n _: 1\n }),\n _createVNode(_component_router_link, {\n to: \"/manual\",\n class: \"navigation-list__item\"\n }, {\n default: _withCtx(() => [\n _createTextVNode(\"Manual\")\n ]),\n _: 1\n }),\n _createVNode(_component_router_link, {\n to: \"/diagnostic\",\n class: \"navigation-list__item\"\n }, {\n default: _withCtx(() => [\n _createTextVNode(\"Diagnostic\")\n ]),\n _: 1\n })\n ]))\n}","\r\n import { defineComponent } from 'vue';\r\n\r\n export default defineComponent({\r\n name: 'NavigationList',\r\n });\r\n","import { render } from \"./NavigationList.vue?vue&type=template&id=c925f896&ts=true\"\nimport script from \"./NavigationList.vue?vue&type=script&lang=ts\"\nexport * from \"./NavigationList.vue?vue&type=script&lang=ts\"\n\nimport \"./NavigationList.vue?vue&type=style&index=0&id=c925f896&lang=scss\"\n\nimport exportComponent from \"D:\\\\Sources\\\\Repos\\\\wavelovers\\\\node_modules\\\\vue-loader\\\\dist\\\\exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","import { createElementVNode as _createElementVNode, resolveComponent as _resolveComponent, createVNode as _createVNode, Fragment as _Fragment, openBlock as _openBlock, createElementBlock as _createElementBlock } from \"vue\"\n\nconst _hoisted_1 = /*#__PURE__*/_createElementVNode(\"h1\", { class: \"visually-hidden\" }, \"Wavelovers <20> Custom\", -1)\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_AppCustom = _resolveComponent(\"AppCustom\")!\n\n return (_openBlock(), _createElementBlock(_Fragment, null, [\n _hoisted_1,\n _createVNode(_component_AppCustom)\n ], 64))\n}","import { resolveComponent as _resolveComponent, createVNode as _createVNode, createElementVNode as _createElementVNode, vModelText as _vModelText, withDirectives as _withDirectives, openBlock as _openBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode, createTextVNode as _createTextVNode, withCtx as _withCtx, Fragment as _Fragment, createElementBlock as _createElementBlock } from \"vue\"\n\nconst _hoisted_1 = { class: \"content-item app-custom\" }\nconst _hoisted_2 = { class: \"custom-form\" }\nconst _hoisted_3 = { class: \"custom-form__input\" }\nconst _hoisted_4 = /*#__PURE__*/_createElementVNode(\"span\", null, \"Start Delay (ms)\", -1)\nconst _hoisted_5 = { class: \"custom-form__input\" }\nconst _hoisted_6 = /*#__PURE__*/_createElementVNode(\"span\", null, \"Duration (ms)\", -1)\nconst _hoisted_7 = { class: \"custom-form__input\" }\nconst _hoisted_8 = /*#__PURE__*/_createElementVNode(\"span\", null, \"Weak Magnitude\", -1)\nconst _hoisted_9 = { class: \"custom-form__input\" }\nconst _hoisted_10 = /*#__PURE__*/_createElementVNode(\"span\", null, \"Strong Magnitude\", -1)\nconst _hoisted_11 = { class: \"custom-form__buttons\" }\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_NavigationList = _resolveComponent(\"NavigationList\")!\n const _component_GamepadList = _resolveComponent(\"GamepadList\")!\n const _component_MessageItem = _resolveComponent(\"MessageItem\")!\n\n return (_openBlock(), _createElementBlock(_Fragment, null, [\n _createVNode(_component_NavigationList),\n _createElementVNode(\"div\", _hoisted_1, [\n _createElementVNode(\"fieldset\", _hoisted_2, [\n _createElementVNode(\"label\", _hoisted_3, [\n _hoisted_4,\n _withDirectives(_createElementVNode(\"input\", {\n \"onUpdate:modelValue\": _cache[0] || (_cache[0] = ($event: any) => ((_ctx.startDelay) = $event)),\n type: \"number\",\n placeholder: \"Start Delay\",\n min: \"0\",\n max: \"1000\",\n step: \"25\",\n required: \"\"\n }, null, 512), [\n [_vModelText, _ctx.startDelay]\n ])\n ]),\n _createElementVNode(\"label\", _hoisted_5, [\n _hoisted_6,\n _withDirectives(_createElementVNode(\"input\", {\n \"onUpdate:modelValue\": _cache[1] || (_cache[1] = ($event: any) => ((_ctx.duration) = $event)),\n type: \"number\",\n placeholder: \"Duration\",\n min: \"0\",\n max: \"1000\",\n step: \"25\",\n required: \"\"\n }, null, 512), [\n [_vModelText, _ctx.duration]\n ])\n ]),\n _createElementVNode(\"label\", _hoisted_7, [\n _hoisted_8,\n _withDirectives(_createElementVNode(\"input\", {\n \"onUpdate:modelValue\": _cache[2] || (_cache[2] = ($event: any) => ((_ctx.weakMagnitude) = $event)),\n type: \"range\",\n required: \"\",\n min: \"0.0\",\n max: \"1.0\",\n step: \"0.01\"\n }, null, 512), [\n [_vModelText, _ctx.weakMagnitude]\n ])\n ]),\n _createElementVNode(\"label\", _hoisted_9, [\n _hoisted_10,\n _withDirectives(_createElementVNode(\"input\", {\n \"onUpdate:modelValue\": _cache[3] || (_cache[3] = ($event: any) => ((_ctx.strongMagnitude) = $event)),\n type: \"range\",\n required: \"\",\n min: \"0.0\",\n max: \"1.0\",\n step: \"0.01\"\n }, null, 512), [\n [_vModelText, _ctx.strongMagnitude]\n ])\n ]),\n _createElementVNode(\"div\", _hoisted_11, [\n _createElementVNode(\"button\", {\n onClick: _cache[4] || (_cache[4] = \n//@ts-ignore\n(...args) => (_ctx.start && _ctx.start(...args))),\n class: \"custom-form__button\"\n }, \"Start\"),\n _createElementVNode(\"button\", {\n onClick: _cache[5] || (_cache[5] = \n//@ts-ignore\n(...args) => (_ctx.stop && _ctx.stop(...args))),\n class: \"custom-form__button\"\n }, \"Stop\")\n ])\n ])\n ]),\n (_ctx.gamepads.length > 0)\n ? (_openBlock(), _createBlock(_component_GamepadList, {\n key: 0,\n gamepads: _ctx.gamepads\n }, null, 8, [\"gamepads\"]))\n : (_openBlock(), _createBlock(_component_MessageItem, { key: 1 }, {\n default: _withCtx(() => [\n _createTextVNode(\"Press any gamepad button or connect a new gamepad to vibrate.\")\n ]),\n _: 1\n }))\n ], 64))\n}","\r\n import { defineComponent } from 'vue';\r\n import store from '@/store/index';\r\n import NavigationList from '@/components/NavigationList.vue';\r\n import GamepadList from '@/components/GamepadList.vue';\r\n import MessageItem from '@/components/MessageItem.vue';\r\n import Vibrator from '@/models/Vibrator';\r\n import TPatternUnit from '@/models/TPatternUnit';\r\n import PatternUnit from '@/models/PatternUnit';\r\n\r\n export default defineComponent({\r\n name: 'AppCustom',\r\n components: {\r\n NavigationList: NavigationList,\r\n GamepadList: GamepadList,\r\n MessageItem: MessageItem,\r\n },\r\n data: () => {\r\n return {\r\n startDelay: 250 as number,\r\n duration: 250 as number,\r\n weakMagnitude: 1 as number,\r\n strongMagnitude: 1 as number,\r\n };\r\n },\r\n computed: {\r\n gamepads: function (): Vibrator[] {\r\n return store.getters.gamepads as Vibrator[];\r\n },\r\n },\r\n methods: {\r\n start: function (): void {\r\n const patterns: TPatternUnit[] = [new PatternUnit(\r\n this.startDelay,\r\n this.duration,\r\n this.weakMagnitude,\r\n this.strongMagnitude,\r\n )];\r\n store.dispatch('startCustom', patterns);\r\n },\r\n stop: function (): void {\r\n store.dispatch('reset');\r\n },\r\n },\r\n });\r\n","import { render } from \"./AppCustom.vue?vue&type=template&id=057bb038&ts=true\"\nimport script from \"./AppCustom.vue?vue&type=script&lang=ts\"\nexport * from \"./AppCustom.vue?vue&type=script&lang=ts\"\n\nimport \"./AppCustom.vue?vue&type=style&index=0&id=057bb038&lang=scss\"\n\nimport exportComponent from \"D:\\\\Sources\\\\Repos\\\\wavelovers\\\\node_modules\\\\vue-loader\\\\dist\\\\exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","\r\n import { defineComponent } from 'vue';\r\n import AppCustom from '@/components/AppCustom.vue';\r\n\r\n export default defineComponent({\r\n name: 'CustomView',\r\n components: {\r\n AppCustom: AppCustom,\r\n },\r\n });\r\n","import { render } from \"./CustomView.vue?vue&type=template&id=6d2f81b7&ts=true\"\nimport script from \"./CustomView.vue?vue&type=script&lang=ts\"\nexport * from \"./CustomView.vue?vue&type=script&lang=ts\"\n\nimport exportComponent from \"D:\\\\Sources\\\\Repos\\\\wavelovers\\\\node_modules\\\\vue-loader\\\\dist\\\\exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__"],"names":["PatternUnit","constructor","startDelay","duration","weakMagnitude","strongMagnitude","this","_hoisted_1","class","render","_ctx","_cache","$props","$setup","$data","$options","_component_GamepadItem","_resolveComponent","_openBlock","_createElementBlock","_Fragment","_renderList","gamepads","gamepad","_createBlock","key","id","textContent","_toDisplayString","unit","defineComponent","name","__exports__","props","type","Array","components","GamepadItem","_createElementVNode","_renderSlot","$slots","_component_router_link","_createVNode","to","default","_withCtx","_createTextVNode","_","_component_AppCustom","_hoisted_2","_hoisted_3","_hoisted_4","_hoisted_5","_hoisted_6","_hoisted_7","_hoisted_8","_hoisted_9","_hoisted_10","_hoisted_11","_component_NavigationList","_component_GamepadList","_component_MessageItem","_withDirectives","$event","placeholder","min","max","step","required","_vModelText","onClick","args","start","stop","length","NavigationList","GamepadList","MessageItem","data","computed","store","methods","patterns","AppCustom"],"sourceRoot":""} |