wavelovers/docs/js/286.6d97cb13.js

2 lines
5.8 KiB
JavaScript
Raw Normal View History

"use strict";(self["webpackChunkwavelovers"]=self["webpackChunkwavelovers"]||[]).push([[286],{3913:function(t,a,n){var e=n(7327);class s{constructor(t,a,n,s){(0,e.Z)(this,"startDelay",void 0),(0,e.Z)(this,"duration",void 0),(0,e.Z)(this,"weakMagnitude",void 0),(0,e.Z)(this,"strongMagnitude",void 0),this.startDelay=t,this.duration=a,this.weakMagnitude=n,this.strongMagnitude=s}}a["Z"]=s},1682:function(t,a,n){n.d(a,{Z:function(){return h}});var e=n(3396),s=n(7139);const i={class:"content-item device-list"};function o(t,a,n,o,d,u){const r=(0,e.up)("GamepadItem");return(0,e.wg)(),(0,e.iD)("div",i,[((0,e.wg)(!0),(0,e.iD)(e.HY,null,(0,e.Ko)(t.gamepads,(t=>((0,e.wg)(),(0,e.j4)(r,{key:t.id,textContent:(0,s.zw)(t.unit.id)},null,8,["textContent"])))),128))])}const d={class:"list-item"};function u(t,a,n,s,i,o){return(0,e.wg)(),(0,e.iD)("div",d)}var r=(0,e.aZ)({name:"GamepadItem"}),l=n(89);const m=(0,l.Z)(r,[["render",u]]);var p=m,c=(0,e.aZ)({name:"GamepadList",props:{gamepads:{type:Array}},components:{GamepadItem:p}});const g=(0,l.Z)(c,[["render",o]]);var h=g},322:function(t,a,n){n.d(a,{Z:function(){return r}});var e=n(3396);const s={class:"content-item message"};function i(t,a,n,i,o,d){return(0,e.wg)(),(0,e.iD)("div",s,[(0,e._)("span",null,[(0,e.WI)(t.$slots,"default")])])}var o=(0,e.aZ)({name:"MessageItem"}),d=n(89);const u=(0,d.Z)(o,[["render",i]]);var r=u},9100:function(t,a,n){n.d(a,{Z:function(){return r}});var e=n(3396);const s={class:"content-item navigation-list"};function i(t,a,n,i,o,d){const u=(0,e.up)("router-link");return(0,e.wg)(),(0,e.iD)("div",s,[(0,e.Wm)(u,{to:"/",class:"navigation-list__item"},{default:(0,e.w5)((()=>[(0,e.Uk)("Patterns")])),_:1}),(0,e.Wm)(u,{to:"/custom",class:"navigation-list__item"},{default:(0,e.w5)((()=>[(0,e.Uk)("Custom")])),_:1}),(0,e.Wm)(u,{to:"/manual",class:"navigation-list__item"},{default:(0,e.w5)((()=>[(0,e.Uk)("Manual")])),_:1}),(0,e.Wm)(u,{to:"/diagnostic",class:"navigation-list__item"},{default:(0,e.w5)((()=>[(0,e.Uk)("Diagnostic")])),_:1})])}var o=(0,e.aZ)({name:"NavigationList"}),d=n(89);const u=(0,d.Z)(o,[["render",i]]);var r=u},6259:function(t,a,n){n.d(a,{Z:function(){return d}});var e=n(3396),s=n(1746),i=(0,e.aZ)({name:"ComputedGamepads",data:()=>({timestamp:0,interval:0}),computed:{gamepads:function(){const t=this.timestamp,a=s.Z.getters.gamepads;return a.forEach((a=>{a.interval=t})),a}},methods:{updateComputed:function(){this.timestamp=Date.now()}},mounted(){this.interval=setInterval(this.updateComputed,1)},unmounted(){clearInterval(this.interval)}});const o=i;var d=o},5286:function(t,a,n){n.r(a),n.d(a,{default:function(){return I}});var e=n(3396);const s=(0,e._)("h1",{class:"visually-hidden"},"Wavelovers <20> Manual",-1);function i(t,a,n,i,o,d){const u=(0,e.up)("AppManual");return(0,e.wg)(),(0,e.iD)(e.HY,null,[s,(0,e.Wm)(u)],64)}var o=n(9242);const d={class:"content-item app-manual"},u={class:"manual-form__input"},r=(0,e._)("span",null,"Weak Magnitude",-1),l={class:"manual-form__input"},m=(0,e._)("span",null,"Strong Magnitude",-1),p=(0,e.uE)('<div class="manual-controls"><div><kbd>RT</kbd><span> Vibrate</span></div><div><kbd>A</kbd><span> Combined Mode</span></div><div><kbd>X</kbd><span> Strong Mode</span></div><div><kbd>Y</kbd><span> Light Mode</span></div><div><kbd>B</kbd><span> Lock Intensity</span></div></div>',1);function c(t,a,n,s,i,c){const g=(0,e.up)("NavigationList"),h=(0,e.up)("GamepadList"),v=(0,e.up)("MessageItem");return(0,e.wg)(),(0,e.iD)(e.HY,null,[(0,e.Wm)(g),(0,e._)("div",d,[(0,e._)("label",u,[r,(0,e.wy)((0,e._)("input",{"onUpdate:modelValue":a[0]||(a[0]=a=>t.weakMagnitude=a),type:"range",required:"",disabled:"",min:"0.0",max:"1.0",step:"0.01"},null,512),[[o.nr,t.weakMagnitude]])]),(0,e._)("label",l,[m,(0,e.wy)((0,e._)("input",{"onUpdate:modelValue":a[1]||(a[1]=a=>t.strongMagnitude=a),type:"range",required:"",disabled:"",min:"0.0",max:"1.0",step:"0.01"},null,512),[[o.nr,t.strongMagnitude]])]),p]),t.gamepads.length>0?((0,e.wg)(),(0,e.j4)(h,{key:0,gamepads:t.gamepads},null,8,["gamepads"])):((0,e.wg)(),(0,e.j4)(v,{key:1},{default:(0,e.w5)((()=
2023-02-25 16:50:45 +03:00
//# sourceMappingURL=286.6d97cb13.js.map