[Automatic] Updated UI files

This commit is contained in:
Fabio Manganiello 2024-08-15 17:58:53 +00:00
parent 1f120b167b
commit ca5853cbab
Signed by untrusted user: blacklight
GPG key ID: AD6D273C08B82EC9
78 changed files with 79 additions and 79 deletions

View file

@ -1 +1 @@
<!doctype html><html lang="en"><head><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width,initial-scale=1"><!--[if IE]><link rel="icon" href="/favicon.ico"><![endif]--><link rel="stylesheet" href="/fonts/poppins.css"><title>platypush</title><script defer="defer" src="/static/js/chunk-vendors.05911ac4.js"></script><script defer="defer" src="/static/js/app.1f786d8c.js"></script><link href="/static/css/chunk-vendors.d510eff2.css" rel="stylesheet"><link href="/static/css/app.d1412c5b.css" rel="stylesheet"><link rel="icon" type="image/svg+xml" href="/img/icons/favicon.svg"><link rel="icon" type="image/png" sizes="32x32" href="/img/icons/favicon-32x32.png"><link rel="icon" type="image/png" sizes="16x16" href="/img/icons/favicon-16x16.png"><link rel="manifest" href="/manifest.json"><meta name="theme-color" content="#ffffff"><meta name="apple-mobile-web-app-capable" content="no"><meta name="apple-mobile-web-app-status-bar-style" content="default"><meta name="apple-mobile-web-app-title" content="Platypush"><link rel="apple-touch-icon" href="/img/icons/apple-touch-icon-152x152.png"><link rel="mask-icon" href="/img/icons/safari-pinned-tab.svg" color="#ffffff"><meta name="msapplication-TileImage" content="/img/icons/msapplication-icon-144x144.png"><meta name="msapplication-TileColor" content="#000000"></head><body><noscript><strong>We're sorry but platypush doesn't work properly without JavaScript enabled. Please enable it to continue.</strong></noscript><div id="app"></div></body></html> <!doctype html><html lang="en"><head><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width,initial-scale=1"><!--[if IE]><link rel="icon" href="/favicon.ico"><![endif]--><link rel="stylesheet" href="/fonts/poppins.css"><title>platypush</title><script defer="defer" src="/static/js/chunk-vendors.d9b38fb8.js"></script><script defer="defer" src="/static/js/app.a3cc80e3.js"></script><link href="/static/css/chunk-vendors.d510eff2.css" rel="stylesheet"><link href="/static/css/app.d1412c5b.css" rel="stylesheet"><link rel="icon" type="image/svg+xml" href="/img/icons/favicon.svg"><link rel="icon" type="image/png" sizes="32x32" href="/img/icons/favicon-32x32.png"><link rel="icon" type="image/png" sizes="16x16" href="/img/icons/favicon-16x16.png"><link rel="manifest" href="/manifest.json"><meta name="theme-color" content="#ffffff"><meta name="apple-mobile-web-app-capable" content="no"><meta name="apple-mobile-web-app-status-bar-style" content="default"><meta name="apple-mobile-web-app-title" content="Platypush"><link rel="apple-touch-icon" href="/img/icons/apple-touch-icon-152x152.png"><link rel="mask-icon" href="/img/icons/safari-pinned-tab.svg" color="#ffffff"><meta name="msapplication-TileImage" content="/img/icons/msapplication-icon-144x144.png"><meta name="msapplication-TileColor" content="#000000"></head><body><noscript><strong>We're sorry but platypush doesn't work properly without JavaScript enabled. Please enable it to continue.</strong></noscript><div id="app"></div></body></html>

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View file

@ -1,2 +1,2 @@
"use strict";(self["webpackChunkplatypush"]=self["webpackChunkplatypush"]||[]).push([[1949],{2797:function(t,e,a){a.d(e,{Z:function(){return m}});var l=a(6252),i=a(3577);const n=["title"];function s(t,e,a,s,o,r){const d=(0,l.up)("Icon");return(0,l.wg)(),(0,l.iD)("div",{class:(0,i.C_)(["floating-btn",r.className])},[(0,l._)("button",{type:"button",class:"btn btn-primary",title:a.title,onClick:e[0]||(e[0]=e=>t.$emit("click",e))},[(0,l.Wm)(d,{class:(0,i.C_)(a.iconClass),url:a.iconUrl},null,8,["class","url"])],8,n)],2)}var o=a(657),r={name:"FloatingButton",components:{Icon:o.Z},emits:["click"],props:{iconClass:{type:String},iconUrl:{type:String},class:{type:String},title:{type:String}},computed:{className(){return this.class}}},d=a(3744);const u=(0,d.Z)(r,[["render",s],["__scopeId","data-v-f812ef1c"]]);var m=u},1949:function(t,e,a){a.r(e),a.d(e,{default:function(){return b}});var l=a(6252);const i={key:2,class:"alarms-container"},n={class:"alarms items"};function s(t,e,a,s,o,r){const d=(0,l.up)("Loading"),u=(0,l.up)("NoItems"),m=(0,l.up)("Entity"),c=(0,l.up)("EntityModal"),p=(0,l.up)("AlarmEditor"),h=(0,l.up)("Modal"),y=(0,l.up)("FloatingButton");return(0,l.wg)(),(0,l.iD)(l.HY,null,[o.loading?((0,l.wg)(),(0,l.j4)(d,{key:0})):Object.keys(o.alarms).length?((0,l.wg)(),(0,l.iD)("div",i,[(0,l._)("div",n,[((0,l.wg)(!0),(0,l.iD)(l.HY,null,(0,l.Ko)(o.alarms,(t=>((0,l.wg)(),(0,l.iD)("div",{class:"item",key:t.external_id},[(0,l.Wm)(m,{value:t,onShowModal:e=>o.selectedAlarm=t.external_id},null,8,["value","onShowModal"])])))),128))])])):((0,l.wg)(),(0,l.j4)(u,{key:1},{default:(0,l.w5)((()=>[(0,l.Uk)(" No alarms configured ")])),_:1})),r.modalVisible?((0,l.wg)(),(0,l.j4)(c,{key:3,entity:o.alarms[o.selectedAlarm],visible:r.modalVisible,"config-values":{},onClose:e[0]||(e[0]=t=>o.selectedAlarm=null)},null,8,["entity","visible"])):(0,l.kq)("",!0),(0,l.Wm)(h,{title:"Add Alarm",visible:o.addAlarmModalVisible,onClose:e[1]||(e[1]=t=>o.addAlarmModalVisible=!1)},{default:(0,l.w5)((()=>[o.addAlarmModalVisible?((0,l.wg)(),(0,l.j4)(p,{key:0,value:o.newAlarm,"new-alarm":"",onInput:r.addAlarm},null,8,["value","onInput"])):(0,l.kq)("",!0)])),_:1},8,["visible"]),(0,l.Wm)(y,{"icon-class":"fa fa-stopwatch",text:"Add Alarm",onClick:e[2]||(e[2]=t=>o.addAlarmModalVisible=!0)})],64)}var o=a(9381),r=a(6791),d=a(1999),u=a(4558),m=a(2797),c=a(5166),p=a(3222),h=a(8637),y={components:{AlarmEditor:o["default"],Entity:u["default"],EntityModal:d["default"],FloatingButton:m.Z,Loading:r.Z,Modal:c.Z,NoItems:p.Z},mixins:[h.Z],props:{pluginName:{type:String},config:{type:Object,default:()=>{}}},data(){return{loading:!1,addAlarmModalVisible:!1,alarms:{},selectedAlarm:null,newAlarm:{condition_type:"cron",when:"* * * * *",audio_volume:this.$root.config?.alarm?.audio_volume??100,media_repeat:!0}}},computed:{modalVisible(){return null!=this.alarms[this.selectedAlarm]}},methods:{addAlarm(t){null!=t.external_id&&(t.name=t?.meta?.name_override||t.name,t.meta={...t.meta,icon:{class:t.meta?.icon?.["class"]||"fas fa-stopwatch"}},this.alarms[t.external_id]=t,this.addAlarmModalVisible=!1)},async refresh(){this.$emit("loading",!0);try{await this.request("alarm.status"),(await this.request("entities.get",{plugins:[this.pluginName]})).forEach((t=>this.addAlarm(t)))}finally{this.$emit("loading",!1)}},async onEntityUpdate(t){const e=t?.entity;e?.plugin===this.pluginName&&this.addAlarm(e)},async onEntityDelete(t){const e=t?.entity;e?.plugin===this.pluginName&&(this.selectedAlarm===e.external_id&&(this.selectedAlarm=null),this.alarms[e.external_id]&&delete this.alarms[e.external_id])}},mounted(){this.refresh(),this.subscribe(this.onEntityUpdate,"on-alarm-entity-update","platypush.message.event.entities.EntityUpdateEvent"),this.subscribe(this.onEntityDelete,"on-alarm-entity-delete","platypush.message.event.entities.EntityDeleteEvent")},unmounted(){this.unsubscribe("on-alarm-entity-update"),this.unsubscribe("on-alarm-entity-delete")}},g=a(3744);const f=(0,g.Z)(y,[["render",s],["__scopeId","data-v-52431f4a"]]);var b=f}}]); "use strict";(self["webpackChunkplatypush"]=self["webpackChunkplatypush"]||[]).push([[1949],{2797:function(t,e,a){a.d(e,{Z:function(){return m}});var l=a(6252),i=a(3577);const n=["title"];function s(t,e,a,s,o,r){const d=(0,l.up)("Icon");return(0,l.wg)(),(0,l.iD)("div",{class:(0,i.C_)(["floating-btn",r.className])},[(0,l._)("button",{type:"button",class:"btn btn-primary",title:a.title,onClick:e[0]||(e[0]=e=>t.$emit("click",e))},[(0,l.Wm)(d,{class:(0,i.C_)(a.iconClass),url:a.iconUrl},null,8,["class","url"])],8,n)],2)}var o=a(657),r={name:"FloatingButton",components:{Icon:o.Z},emits:["click"],props:{iconClass:{type:String},iconUrl:{type:String},class:{type:String},title:{type:String}},computed:{className(){return this.class}}},d=a(3744);const u=(0,d.Z)(r,[["render",s],["__scopeId","data-v-f812ef1c"]]);var m=u},1949:function(t,e,a){a.r(e),a.d(e,{default:function(){return b}});var l=a(6252);const i={key:2,class:"alarms-container"},n={class:"alarms items"};function s(t,e,a,s,o,r){const d=(0,l.up)("Loading"),u=(0,l.up)("NoItems"),m=(0,l.up)("Entity"),c=(0,l.up)("EntityModal"),p=(0,l.up)("AlarmEditor"),h=(0,l.up)("Modal"),y=(0,l.up)("FloatingButton");return(0,l.wg)(),(0,l.iD)(l.HY,null,[o.loading?((0,l.wg)(),(0,l.j4)(d,{key:0})):Object.keys(o.alarms).length?((0,l.wg)(),(0,l.iD)("div",i,[(0,l._)("div",n,[((0,l.wg)(!0),(0,l.iD)(l.HY,null,(0,l.Ko)(o.alarms,(t=>((0,l.wg)(),(0,l.iD)("div",{class:"item",key:t.external_id},[(0,l.Wm)(m,{value:t,onShowModal:e=>o.selectedAlarm=t.external_id},null,8,["value","onShowModal"])])))),128))])])):((0,l.wg)(),(0,l.j4)(u,{key:1},{default:(0,l.w5)((()=>[(0,l.Uk)(" No alarms configured ")])),_:1})),r.modalVisible?((0,l.wg)(),(0,l.j4)(c,{key:3,entity:o.alarms[o.selectedAlarm],visible:r.modalVisible,"config-values":{},onClose:e[0]||(e[0]=t=>o.selectedAlarm=null)},null,8,["entity","visible"])):(0,l.kq)("",!0),(0,l.Wm)(h,{title:"Add Alarm",visible:o.addAlarmModalVisible,onClose:e[1]||(e[1]=t=>o.addAlarmModalVisible=!1)},{default:(0,l.w5)((()=>[o.addAlarmModalVisible?((0,l.wg)(),(0,l.j4)(p,{key:0,value:o.newAlarm,"new-alarm":"",onInput:r.addAlarm},null,8,["value","onInput"])):(0,l.kq)("",!0)])),_:1},8,["visible"]),(0,l.Wm)(y,{"icon-class":"fa fa-stopwatch",text:"Add Alarm",onClick:e[2]||(e[2]=t=>o.addAlarmModalVisible=!0)})],64)}var o=a(9381),r=a(6791),d=a(1999),u=a(4558),m=a(2797),c=a(5166),p=a(3222),h=a(8637),y={components:{AlarmEditor:o["default"],Entity:u["default"],EntityModal:d["default"],FloatingButton:m.Z,Loading:r.Z,Modal:c.Z,NoItems:p.Z},mixins:[h.Z],props:{pluginName:{type:String},config:{type:Object,default:()=>{}}},data(){return{loading:!1,addAlarmModalVisible:!1,alarms:{},selectedAlarm:null,newAlarm:{condition_type:"cron",when:"* * * * *",audio_volume:this.$root.config?.alarm?.audio_volume??100,media_repeat:!0}}},computed:{modalVisible(){return null!=this.alarms[this.selectedAlarm]}},methods:{addAlarm(t){null!=t.external_id&&(t.name=t?.meta?.name_override||t.name,t.meta={...t.meta,icon:{class:t.meta?.icon?.["class"]||"fas fa-stopwatch"}},this.alarms[t.external_id]=t,this.addAlarmModalVisible=!1)},async refresh(){this.$emit("loading",!0);try{await this.request("alarm.status"),(await this.request("entities.get",{plugins:[this.pluginName]})).forEach((t=>this.addAlarm(t)))}finally{this.$emit("loading",!1)}},async onEntityUpdate(t){const e=t?.entity;e?.plugin===this.pluginName&&this.addAlarm(e)},async onEntityDelete(t){const e=t?.entity;e?.plugin===this.pluginName&&(this.selectedAlarm===e.external_id&&(this.selectedAlarm=null),this.alarms[e.external_id]&&delete this.alarms[e.external_id])}},mounted(){this.refresh(),this.subscribe(this.onEntityUpdate,"on-alarm-entity-update","platypush.message.event.entities.EntityUpdateEvent"),this.subscribe(this.onEntityDelete,"on-alarm-entity-delete","platypush.message.event.entities.EntityDeleteEvent")},unmounted(){this.unsubscribe("on-alarm-entity-update"),this.unsubscribe("on-alarm-entity-delete")}},g=a(3744);const f=(0,g.Z)(y,[["render",s],["__scopeId","data-v-52431f4a"]]);var b=f}}]);
//# sourceMappingURL=1949.ebfca200.js.map //# sourceMappingURL=1949.42bb2736.js.map

View file

@ -1,2 +1,2 @@
"use strict";(self["webpackChunkplatypush"]=self["webpackChunkplatypush"]||[]).push([[2106],{2106:function(a,e,l){l.r(e),l.d(e,{default:function(){return $}});var i=l(6252),s=l(9963);const t=a=>((0,i.dD)("data-v-4e3d4a40"),a=a(),(0,i.Cn)(),a),n={class:"variable-modal-container"},r={class:"row"},o=t((()=>(0,i._)("div",{class:"col-s-12 col-m-4 label"},[(0,i._)("label",{for:"name"},"Variable Name")],-1))),d={class:"col-s-12 col-m-8 value"},u=["disabled"],c={class:"row"},v=t((()=>(0,i._)("div",{class:"col-s-12 col-m-4 label"},[(0,i._)("label",{for:"name"},"Variable Value")],-1))),m={class:"col-s-12 col-m-8 value"},b=["disabled"],h={class:"row button-container"},p=["disabled"],f=t((()=>(0,i._)("i",{class:"fas fa-check"},null,-1))),V=[f];function _(a,e,l,t,f,_){const y=(0,i.up)("Modal");return(0,i.wg)(),(0,i.j4)(y,{visible:l.visible,title:"Set Variable",ref:"modal",onOpen:_.onOpen,onClose:e[3]||(e[3]=e=>a.$emit("close",e))},{default:(0,i.w5)((()=>[(0,i._)("div",n,[(0,i._)("form",{onSubmit:e[2]||(e[2]=(0,s.iM)(((...a)=>_.setValue&&_.setValue(...a)),["prevent"]))},[(0,i._)("div",r,[o,(0,i._)("div",d,[(0,i.wy)((0,i._)("input",{type:"text",id:"variable-name","onUpdate:modelValue":e[0]||(e[0]=a=>f.varName=a),placeholder:"Variable Name",disabled:f.loading,ref:"varName"},null,8,u),[[s.nr,f.varName]])])]),(0,i._)("div",c,[v,(0,i._)("div",m,[(0,i.wy)((0,i._)("input",{type:"text",id:"variable-value","onUpdate:modelValue":e[1]||(e[1]=a=>f.varValue=a),ref:"varValue",placeholder:"Variable Value",disabled:f.loading},null,8,b),[[s.nr,f.varValue]])])]),(0,i._)("div",h,[(0,i._)("button",{type:"submit",title:"Set",disabled:f.loading},V,8,p)])],32)])])),_:1},8,["visible","onOpen"])}var y=l(5166),g=l(8637),w={name:"VariableModal",components:{Modal:y.Z},mixins:[g.Z],emits:["close"],props:{visible:{type:Boolean,default:!1}},data(){return{loading:!1,varName:null,varValue:null}},methods:{async clearValue(){this.loading=!0;try{await this.request("variable.unset",{name:this.varName.trim()})}finally{this.loading=!1}},async setValue(){const a=this.varName.trim();a?.length||this.notifyWarning("No variable name has been specified");const e=this.varValue;if(e?.length){this.loading=!0;try{const l={};l[a]=e,await this.request("variable.set",l)}finally{this.loading=!1}}else await this.clearValue();this.$refs.varName.value="",this.$refs.varValue.value="",this.$refs.modal.close()},onOpen(){this.$nextTick((()=>{this.$refs.varName.focus()}))}}},N=l(3744);const k=(0,N.Z)(w,[["render",_],["__scopeId","data-v-4e3d4a40"]]);var $=k}}]); "use strict";(self["webpackChunkplatypush"]=self["webpackChunkplatypush"]||[]).push([[2106],{2106:function(a,e,l){l.r(e),l.d(e,{default:function(){return $}});var i=l(6252),s=l(9963);const t=a=>((0,i.dD)("data-v-4e3d4a40"),a=a(),(0,i.Cn)(),a),n={class:"variable-modal-container"},r={class:"row"},o=t((()=>(0,i._)("div",{class:"col-s-12 col-m-4 label"},[(0,i._)("label",{for:"name"},"Variable Name")],-1))),d={class:"col-s-12 col-m-8 value"},u=["disabled"],c={class:"row"},v=t((()=>(0,i._)("div",{class:"col-s-12 col-m-4 label"},[(0,i._)("label",{for:"name"},"Variable Value")],-1))),m={class:"col-s-12 col-m-8 value"},b=["disabled"],h={class:"row button-container"},p=["disabled"],f=t((()=>(0,i._)("i",{class:"fas fa-check"},null,-1))),V=[f];function _(a,e,l,t,f,_){const y=(0,i.up)("Modal");return(0,i.wg)(),(0,i.j4)(y,{visible:l.visible,title:"Set Variable",ref:"modal",onOpen:_.onOpen,onClose:e[3]||(e[3]=e=>a.$emit("close",e))},{default:(0,i.w5)((()=>[(0,i._)("div",n,[(0,i._)("form",{onSubmit:e[2]||(e[2]=(0,s.iM)(((...a)=>_.setValue&&_.setValue(...a)),["prevent"]))},[(0,i._)("div",r,[o,(0,i._)("div",d,[(0,i.wy)((0,i._)("input",{type:"text",id:"variable-name","onUpdate:modelValue":e[0]||(e[0]=a=>f.varName=a),placeholder:"Variable Name",disabled:f.loading,ref:"varName"},null,8,u),[[s.nr,f.varName]])])]),(0,i._)("div",c,[v,(0,i._)("div",m,[(0,i.wy)((0,i._)("input",{type:"text",id:"variable-value","onUpdate:modelValue":e[1]||(e[1]=a=>f.varValue=a),ref:"varValue",placeholder:"Variable Value",disabled:f.loading},null,8,b),[[s.nr,f.varValue]])])]),(0,i._)("div",h,[(0,i._)("button",{type:"submit",title:"Set",disabled:f.loading},V,8,p)])],32)])])),_:1},8,["visible","onOpen"])}var y=l(5166),g=l(8637),w={name:"VariableModal",components:{Modal:y.Z},mixins:[g.Z],emits:["close"],props:{visible:{type:Boolean,default:!1}},data(){return{loading:!1,varName:null,varValue:null}},methods:{async clearValue(){this.loading=!0;try{await this.request("variable.unset",{name:this.varName.trim()})}finally{this.loading=!1}},async setValue(){const a=this.varName.trim();a?.length||this.notifyWarning("No variable name has been specified");const e=this.varValue;if(e?.length){this.loading=!0;try{const l={};l[a]=e,await this.request("variable.set",l)}finally{this.loading=!1}}else await this.clearValue();this.$refs.varName.value="",this.$refs.varValue.value="",this.$refs.modal.close()},onOpen(){this.$nextTick((()=>{this.$refs.varName.focus()}))}}},N=l(3744);const k=(0,N.Z)(w,[["render",_],["__scopeId","data-v-4e3d4a40"]]);var $=k}}]);
//# sourceMappingURL=2106.283a2018.js.map //# sourceMappingURL=2106.54bb0dd1.js.map

View file

@ -1,2 +1,2 @@
"use strict";(self["webpackChunkplatypush"]=self["webpackChunkplatypush"]||[]).push([[2853],{5169:function(t,e,a){a.d(e,{Z:function(){return y}});var n=a(6252),l=a(9963);const i=t=>((0,n.dD)("data-v-a248454a"),t=t(),(0,n.Cn)(),t),s={class:"tts-container"},u={class:"field text-container"},r=["disabled"],d={class:"field lang-container"},o=["disabled"],c={class:"field buttons"},p=["disabled"],g=i((()=>(0,n._)("i",{class:"fa fa-volume-up"},null,-1))),f=[g];function v(t,e,a,i,g,v){return(0,n.wg)(),(0,n.iD)("div",s,[(0,n._)("form",{onSubmit:e[0]||(e[0]=(0,l.iM)(((...t)=>v.talk&&v.talk(...t)),["prevent"]))},[(0,n._)("div",u,[(0,n._)("label",null,[(0,n._)("input",{type:"text",name:"text",placeholder:"Text to say",disabled:g.talking},null,8,r)])]),(0,n._)("div",d,[(0,n._)("label",null,[(0,n._)("input",{type:"text",name:"language",placeholder:"Language code",disabled:g.talking},null,8,o)])]),(0,n._)("div",c,[(0,n._)("button",{type:"submit",disabled:g.talking},f,8,p)])],32)])}var m=a(8637),b={name:"Panel",mixins:[m.Z],props:{pluginName:{type:String,required:!0}},data(){return{talking:!1}},methods:{async talk(t){const e=[...t.target.querySelectorAll("input")].reduce(((t,e)=>(e.value.length&&(t[e.name]=e.value),t)),{});this.talking=!0;try{await this.request(`${this.pluginName}.say`,e)}finally{this.talking=!1}}}},h=a(3744);const k=(0,h.Z)(b,[["render",v],["__scopeId","data-v-a248454a"]]);var y=k},7605:function(t,e,a){a.r(e),a.d(e,{default:function(){return d}});var n=a(6252);function l(t,e,a,l,i,s){const u=(0,n.up)("Panel");return(0,n.wg)(),(0,n.j4)(u,{"plugin-name":"tts.google"})}var i=a(5169),s={name:"Tts",components:{Panel:i.Z}},u=a(3744);const r=(0,u.Z)(s,[["render",l]]);var d=r}}]); "use strict";(self["webpackChunkplatypush"]=self["webpackChunkplatypush"]||[]).push([[2853],{5169:function(t,e,a){a.d(e,{Z:function(){return y}});var n=a(6252),l=a(9963);const i=t=>((0,n.dD)("data-v-a248454a"),t=t(),(0,n.Cn)(),t),s={class:"tts-container"},u={class:"field text-container"},r=["disabled"],d={class:"field lang-container"},o=["disabled"],c={class:"field buttons"},p=["disabled"],g=i((()=>(0,n._)("i",{class:"fa fa-volume-up"},null,-1))),f=[g];function v(t,e,a,i,g,v){return(0,n.wg)(),(0,n.iD)("div",s,[(0,n._)("form",{onSubmit:e[0]||(e[0]=(0,l.iM)(((...t)=>v.talk&&v.talk(...t)),["prevent"]))},[(0,n._)("div",u,[(0,n._)("label",null,[(0,n._)("input",{type:"text",name:"text",placeholder:"Text to say",disabled:g.talking},null,8,r)])]),(0,n._)("div",d,[(0,n._)("label",null,[(0,n._)("input",{type:"text",name:"language",placeholder:"Language code",disabled:g.talking},null,8,o)])]),(0,n._)("div",c,[(0,n._)("button",{type:"submit",disabled:g.talking},f,8,p)])],32)])}var m=a(8637),b={name:"Panel",mixins:[m.Z],props:{pluginName:{type:String,required:!0}},data(){return{talking:!1}},methods:{async talk(t){const e=[...t.target.querySelectorAll("input")].reduce(((t,e)=>(e.value.length&&(t[e.name]=e.value),t)),{});this.talking=!0;try{await this.request(`${this.pluginName}.say`,e)}finally{this.talking=!1}}}},h=a(3744);const k=(0,h.Z)(b,[["render",v],["__scopeId","data-v-a248454a"]]);var y=k},7605:function(t,e,a){a.r(e),a.d(e,{default:function(){return d}});var n=a(6252);function l(t,e,a,l,i,s){const u=(0,n.up)("Panel");return(0,n.wg)(),(0,n.j4)(u,{"plugin-name":"tts.google"})}var i=a(5169),s={name:"Tts",components:{Panel:i.Z}},u=a(3744);const r=(0,u.Z)(s,[["render",l]]);var d=r}}]);
//# sourceMappingURL=2853.c9405621.js.map //# sourceMappingURL=2853.ec9f5164.js.map

View file

@ -1,2 +1,2 @@
"use strict";(self["webpackChunkplatypush"]=self["webpackChunkplatypush"]||[]).push([[3732],{3732:function(t,a,e){e.r(a),e.d(a,{default:function(){return d}});var n=e(6252);function l(t,a,e,l,i,s){const u=(0,n.up)("Panel");return(0,n.wg)(),(0,n.j4)(u,{"plugin-name":"tts"})}var i=e(5169),s={name:"Tts",components:{Panel:i.Z}},u=e(3744);const r=(0,u.Z)(s,[["render",l]]);var d=r},5169:function(t,a,e){e.d(a,{Z:function(){return y}});var n=e(6252),l=e(9963);const i=t=>((0,n.dD)("data-v-a248454a"),t=t(),(0,n.Cn)(),t),s={class:"tts-container"},u={class:"field text-container"},r=["disabled"],d={class:"field lang-container"},c=["disabled"],o={class:"field buttons"},p=["disabled"],g=i((()=>(0,n._)("i",{class:"fa fa-volume-up"},null,-1))),f=[g];function v(t,a,e,i,g,v){return(0,n.wg)(),(0,n.iD)("div",s,[(0,n._)("form",{onSubmit:a[0]||(a[0]=(0,l.iM)(((...t)=>v.talk&&v.talk(...t)),["prevent"]))},[(0,n._)("div",u,[(0,n._)("label",null,[(0,n._)("input",{type:"text",name:"text",placeholder:"Text to say",disabled:g.talking},null,8,r)])]),(0,n._)("div",d,[(0,n._)("label",null,[(0,n._)("input",{type:"text",name:"language",placeholder:"Language code",disabled:g.talking},null,8,c)])]),(0,n._)("div",o,[(0,n._)("button",{type:"submit",disabled:g.talking},f,8,p)])],32)])}var m=e(8637),b={name:"Panel",mixins:[m.Z],props:{pluginName:{type:String,required:!0}},data(){return{talking:!1}},methods:{async talk(t){const a=[...t.target.querySelectorAll("input")].reduce(((t,a)=>(a.value.length&&(t[a.name]=a.value),t)),{});this.talking=!0;try{await this.request(`${this.pluginName}.say`,a)}finally{this.talking=!1}}}},h=e(3744);const k=(0,h.Z)(b,[["render",v],["__scopeId","data-v-a248454a"]]);var y=k}}]); "use strict";(self["webpackChunkplatypush"]=self["webpackChunkplatypush"]||[]).push([[3732],{3732:function(t,a,e){e.r(a),e.d(a,{default:function(){return d}});var n=e(6252);function l(t,a,e,l,i,s){const u=(0,n.up)("Panel");return(0,n.wg)(),(0,n.j4)(u,{"plugin-name":"tts"})}var i=e(5169),s={name:"Tts",components:{Panel:i.Z}},u=e(3744);const r=(0,u.Z)(s,[["render",l]]);var d=r},5169:function(t,a,e){e.d(a,{Z:function(){return y}});var n=e(6252),l=e(9963);const i=t=>((0,n.dD)("data-v-a248454a"),t=t(),(0,n.Cn)(),t),s={class:"tts-container"},u={class:"field text-container"},r=["disabled"],d={class:"field lang-container"},c=["disabled"],o={class:"field buttons"},p=["disabled"],g=i((()=>(0,n._)("i",{class:"fa fa-volume-up"},null,-1))),f=[g];function v(t,a,e,i,g,v){return(0,n.wg)(),(0,n.iD)("div",s,[(0,n._)("form",{onSubmit:a[0]||(a[0]=(0,l.iM)(((...t)=>v.talk&&v.talk(...t)),["prevent"]))},[(0,n._)("div",u,[(0,n._)("label",null,[(0,n._)("input",{type:"text",name:"text",placeholder:"Text to say",disabled:g.talking},null,8,r)])]),(0,n._)("div",d,[(0,n._)("label",null,[(0,n._)("input",{type:"text",name:"language",placeholder:"Language code",disabled:g.talking},null,8,c)])]),(0,n._)("div",o,[(0,n._)("button",{type:"submit",disabled:g.talking},f,8,p)])],32)])}var m=e(8637),b={name:"Panel",mixins:[m.Z],props:{pluginName:{type:String,required:!0}},data(){return{talking:!1}},methods:{async talk(t){const a=[...t.target.querySelectorAll("input")].reduce(((t,a)=>(a.value.length&&(t[a.name]=a.value),t)),{});this.talking=!0;try{await this.request(`${this.pluginName}.say`,a)}finally{this.talking=!1}}}},h=e(3744);const k=(0,h.Z)(b,[["render",v],["__scopeId","data-v-a248454a"]]);var y=k}}]);
//# sourceMappingURL=3732.c7f5cb1f.js.map //# sourceMappingURL=3732.24cfdcb5.js.map

View file

@ -1,2 +1,2 @@
"use strict";(self["webpackChunkplatypush"]=self["webpackChunkplatypush"]||[]).push([[3862],{657:function(t,a,n){n.d(a,{Z:function(){return p}});var s=n(6252),o=n(3577);const r={class:"icon-container"},e=["src","alt"];function l(t,a,n,l,i,c){return(0,s.wg)(),(0,s.iD)("div",r,[n.url?.length?((0,s.wg)(),(0,s.iD)("img",{key:0,class:"icon",src:n.url,alt:n.alt},null,8,e)):c.className?.length?((0,s.wg)(),(0,s.iD)("i",{key:1,class:(0,o.C_)(["icon",c.className]),style:(0,o.j5)({color:n.color})},null,6)):(0,s.kq)("",!0)])}var i={props:{class:{type:String},url:{type:String},color:{type:String,default:""},alt:{type:String,default:""}},computed:{className(){return this.class}}},c=n(3744);const u=(0,c.Z)(i,[["render",l],["__scopeId","data-v-706a3bd1"]]);var p=u},2717:function(t,a,n){n.d(a,{Z:function(){return f}});var s=n(6252);const o=t=>((0,s.dD)("data-v-2edff8b7"),t=t(),(0,s.Cn)(),t),r={class:"restart-btn-container"},e=o((()=>(0,s._)("i",{class:"fas fa-redo-alt"},null,-1)));function l(t,a,n,o,l,i){const c=(0,s.up)("ConfirmDialog");return(0,s.wg)(),(0,s.iD)("div",r,[(0,s.Wm)(c,{ref:"modal",onInput:i.restart},{default:(0,s.w5)((()=>[(0,s.Uk)(" Are you sure that you want to restart the application? ")])),_:1},8,["onInput"]),(0,s._)("button",{class:"btn btn-default restart-btn",onClick:a[0]||(a[0]=(...t)=>i.showDialog&&i.showDialog(...t)),onTouch:a[1]||(a[1]=(...t)=>i.showDialog&&i.showDialog(...t))},[e,(0,s.Uk)("   Restart Application ")],32)])}var i=n(7833),c=n(8637),u={name:"RestartButton",components:{ConfirmDialog:i.Z},mixins:[c.Z],methods:{showDialog(){this.$refs.modal.show()},async restart(){await this.request("application.restart")}}},p=n(3744);const d=(0,p.Z)(u,[["render",l],["__scopeId","data-v-2edff8b7"]]);var f=d}}]); "use strict";(self["webpackChunkplatypush"]=self["webpackChunkplatypush"]||[]).push([[3862],{657:function(t,a,n){n.d(a,{Z:function(){return p}});var s=n(6252),o=n(3577);const r={class:"icon-container"},e=["src","alt"];function l(t,a,n,l,i,c){return(0,s.wg)(),(0,s.iD)("div",r,[n.url?.length?((0,s.wg)(),(0,s.iD)("img",{key:0,class:"icon",src:n.url,alt:n.alt},null,8,e)):c.className?.length?((0,s.wg)(),(0,s.iD)("i",{key:1,class:(0,o.C_)(["icon",c.className]),style:(0,o.j5)({color:n.color})},null,6)):(0,s.kq)("",!0)])}var i={props:{class:{type:String},url:{type:String},color:{type:String,default:""},alt:{type:String,default:""}},computed:{className(){return this.class}}},c=n(3744);const u=(0,c.Z)(i,[["render",l],["__scopeId","data-v-706a3bd1"]]);var p=u},2717:function(t,a,n){n.d(a,{Z:function(){return f}});var s=n(6252);const o=t=>((0,s.dD)("data-v-2edff8b7"),t=t(),(0,s.Cn)(),t),r={class:"restart-btn-container"},e=o((()=>(0,s._)("i",{class:"fas fa-redo-alt"},null,-1)));function l(t,a,n,o,l,i){const c=(0,s.up)("ConfirmDialog");return(0,s.wg)(),(0,s.iD)("div",r,[(0,s.Wm)(c,{ref:"modal",onInput:i.restart},{default:(0,s.w5)((()=>[(0,s.Uk)(" Are you sure that you want to restart the application? ")])),_:1},8,["onInput"]),(0,s._)("button",{class:"btn btn-default restart-btn",onClick:a[0]||(a[0]=(...t)=>i.showDialog&&i.showDialog(...t)),onTouch:a[1]||(a[1]=(...t)=>i.showDialog&&i.showDialog(...t))},[e,(0,s.Uk)("   Restart Application ")],32)])}var i=n(7833),c=n(8637),u={name:"RestartButton",components:{ConfirmDialog:i.Z},mixins:[c.Z],methods:{showDialog(){this.$refs.modal.show()},async restart(){await this.request("application.restart")}}},p=n(3744);const d=(0,p.Z)(u,[["render",l],["__scopeId","data-v-2edff8b7"]]);var f=d}}]);
//# sourceMappingURL=3862.0ca0e08c.js.map //# sourceMappingURL=3862.b018e8c7.js.map

View file

@ -1 +1 @@
{"version":3,"file":"static/js/3862.0ca0e08c.js","mappings":"kLACOA,MAAM,kB,0DAAXC,EAAAA,EAAAA,IAIM,MAJNC,EAIM,CAH0CC,EAAAC,KAAKC,SAAM,WAAzDJ,EAAAA,EAAAA,IAA2D,O,MAAtDD,MAAM,OAAQM,IAAKH,EAAAC,IAAMG,IAAKJ,EAAAI,K,WAEtBC,EAAAC,WAAWJ,SAAM,WAD9BJ,EAAAA,EAAAA,IACkC,K,MAD/BD,OAAKU,EAAAA,EAAAA,IAAA,CAAC,OAAeF,EAAAC,YAAYE,OAAKC,EAAAA,EAAAA,IAAA,CAAAC,MAAUV,EAAAU,S,2BAMvD,OACEC,MAAO,CACLd,MAAO,CACLe,KAAMC,QAERZ,IAAK,CACHW,KAAMC,QAERH,MAAO,CACLE,KAAMC,OACNC,QAAS,IAEXV,IAAK,CACHQ,KAAMC,OACNC,QAAS,KAIbC,SAAU,CACRT,SAAAA,GACE,OAAOU,KAAKnB,KACd,I,UCvBJ,MAAMoB,GAA2B,OAAgB,EAAQ,CAAC,CAAC,SAASC,GAAQ,CAAC,YAAY,qBAEzF,O,oICROrB,MAAM,yB,UAMPsB,EAAAA,EAAAA,GAA6B,KAA1BtB,MAAM,mBAAiB,W,4EAN9BC,EAAAA,EAAAA,IAQM,MARNC,EAQM,EAPJqB,EAAAA,EAAAA,IAEgBC,EAAA,CAFDC,IAAI,QAASC,QAAOlB,EAAAmB,S,mBAAS,IAE5C,UAF4C,+D,qBAI5CL,EAAAA,EAAAA,GAES,UAFDtB,MAAM,8BAA+B4B,QAAKC,EAAA,KAAAA,EAAA,OAAAC,IAAEtB,EAAAuB,YAAAvB,EAAAuB,cAAAD,IAAaE,QAAKH,EAAA,KAAAA,EAAA,OAAAC,IAAEtB,EAAAuB,YAAAvB,EAAAuB,cAAAD,K,CACtEG,GAA6B,oCAC/B,K,yBAQJ,GACEC,KAAM,gBACNC,WAAY,CAACC,cAAaA,EAAAA,GAC1BC,OAAQ,CAACC,EAAAA,GACTC,QAAS,CACPR,UAAAA,GACEZ,KAAKqB,MAAMC,MAAMC,MACnB,EAEA,aAAMf,SACER,KAAKwB,QAAQ,sBACrB,I,UCpBJ,MAAMvB,GAA2B,OAAgB,EAAQ,CAAC,CAAC,SAASC,GAAQ,CAAC,YAAY,qBAEzF,O","sources":["webpack://platypush/./src/components/elements/Icon.vue","webpack://platypush/./src/components/elements/Icon.vue?fdba","webpack://platypush/./src/components/elements/RestartButton.vue","webpack://platypush/./src/components/elements/RestartButton.vue?09f3"],"sourcesContent":["<template>\n <div class=\"icon-container\">\n <img class=\"icon\" :src=\"url\" :alt=\"alt\" v-if=\"url?.length\">\n <i class=\"icon\" :class=\"className\" :style=\"{color: color}\"\n v-else-if=\"className?.length\" />\n </div>\n</template>\n\n<script>\nexport default {\n props: {\n class: {\n type: String,\n },\n url: {\n type: String,\n },\n color: {\n type: String,\n default: '',\n },\n alt: {\n type: String,\n default: '',\n },\n },\n\n computed: {\n className() {\n return this.class\n }\n }\n}\n</script>\n\n<style lang=\"scss\" scoped>\n.icon-container {\n display: inline-flex;\n width: $icon-container-size;\n justify-content: center;\n text-align: center;\n\n .icon {\n width: 1em;\n height: 1em;\n }\n}\n</style>\n","import { render } from \"./Icon.vue?vue&type=template&id=706a3bd1&scoped=true\"\nimport script from \"./Icon.vue?vue&type=script&lang=js\"\nexport * from \"./Icon.vue?vue&type=script&lang=js\"\n\nimport \"./Icon.vue?vue&type=style&index=0&id=706a3bd1&lang=scss&scoped=true\"\n\nimport exportComponent from \"../../../node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-706a3bd1\"]])\n\nexport default __exports__","<template>\n <div class=\"restart-btn-container\">\n <ConfirmDialog ref=\"modal\" @input=\"restart\">\n Are you sure that you want to restart the application?\n </ConfirmDialog>\n\n <button class=\"btn btn-default restart-btn\" @click=\"showDialog\" @touch=\"showDialog\">\n <i class=\"fas fa-redo-alt\" /> &nbsp; Restart Application\n </button>\n </div>\n</template>\n\n<script>\nimport ConfirmDialog from \"@/components/elements/ConfirmDialog\"\nimport Utils from '@/Utils'\n\nexport default {\n name: \"RestartButton\",\n components: {ConfirmDialog},\n mixins: [Utils],\n methods: {\n showDialog() {\n this.$refs.modal.show()\n },\n\n async restart() {\n await this.request('application.restart')\n },\n },\n}\n</script>\n\n<style lang=\"scss\" scoped>\n@import \"@/style/common.scss\";\n</style>\n","import { render } from \"./RestartButton.vue?vue&type=template&id=2edff8b7&scoped=true\"\nimport script from \"./RestartButton.vue?vue&type=script&lang=js\"\nexport * from \"./RestartButton.vue?vue&type=script&lang=js\"\n\nimport \"./RestartButton.vue?vue&type=style&index=0&id=2edff8b7&lang=scss&scoped=true\"\n\nimport exportComponent from \"../../../node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-2edff8b7\"]])\n\nexport default __exports__"],"names":["class","_createElementBlock","_hoisted_1","$props","url","length","src","alt","$options","className","_normalizeClass","style","_normalizeStyle","color","props","type","String","default","computed","this","__exports__","render","_createElementVNode","_createVNode","_component_ConfirmDialog","ref","onInput","restart","onClick","_cache","args","showDialog","onTouch","_hoisted_2","name","components","ConfirmDialog","mixins","Utils","methods","$refs","modal","show","request"],"sourceRoot":""} {"version":3,"file":"static/js/3862.b018e8c7.js","mappings":"kLACOA,MAAM,kB,0DAAXC,EAAAA,EAAAA,IAIM,MAJNC,EAIM,CAH0CC,EAAAC,KAAKC,SAAM,WAAzDJ,EAAAA,EAAAA,IAA2D,O,MAAtDD,MAAM,OAAQM,IAAKH,EAAAC,IAAMG,IAAKJ,EAAAI,K,WAEtBC,EAAAC,WAAWJ,SAAM,WAD9BJ,EAAAA,EAAAA,IACkC,K,MAD/BD,OAAKU,EAAAA,EAAAA,IAAA,CAAC,OAAeF,EAAAC,YAAYE,OAAKC,EAAAA,EAAAA,IAAA,CAAAC,MAAUV,EAAAU,S,2BAMvD,OACEC,MAAO,CACLd,MAAO,CACLe,KAAMC,QAERZ,IAAK,CACHW,KAAMC,QAERH,MAAO,CACLE,KAAMC,OACNC,QAAS,IAEXV,IAAK,CACHQ,KAAMC,OACNC,QAAS,KAIbC,SAAU,CACRT,SAAAA,GACE,OAAOU,KAAKnB,KACd,I,UCvBJ,MAAMoB,GAA2B,OAAgB,EAAQ,CAAC,CAAC,SAASC,GAAQ,CAAC,YAAY,qBAEzF,O,oICROrB,MAAM,yB,UAMPsB,EAAAA,EAAAA,GAA6B,KAA1BtB,MAAM,mBAAiB,W,4EAN9BC,EAAAA,EAAAA,IAQM,MARNC,EAQM,EAPJqB,EAAAA,EAAAA,IAEgBC,EAAA,CAFDC,IAAI,QAASC,QAAOlB,EAAAmB,S,mBAAS,IAE5C,UAF4C,+D,qBAI5CL,EAAAA,EAAAA,GAES,UAFDtB,MAAM,8BAA+B4B,QAAKC,EAAA,KAAAA,EAAA,OAAAC,IAAEtB,EAAAuB,YAAAvB,EAAAuB,cAAAD,IAAaE,QAAKH,EAAA,KAAAA,EAAA,OAAAC,IAAEtB,EAAAuB,YAAAvB,EAAAuB,cAAAD,K,CACtEG,GAA6B,oCAC/B,K,yBAQJ,GACEC,KAAM,gBACNC,WAAY,CAACC,cAAaA,EAAAA,GAC1BC,OAAQ,CAACC,EAAAA,GACTC,QAAS,CACPR,UAAAA,GACEZ,KAAKqB,MAAMC,MAAMC,MACnB,EAEA,aAAMf,SACER,KAAKwB,QAAQ,sBACrB,I,UCpBJ,MAAMvB,GAA2B,OAAgB,EAAQ,CAAC,CAAC,SAASC,GAAQ,CAAC,YAAY,qBAEzF,O","sources":["webpack://platypush/./src/components/elements/Icon.vue","webpack://platypush/./src/components/elements/Icon.vue?fdba","webpack://platypush/./src/components/elements/RestartButton.vue","webpack://platypush/./src/components/elements/RestartButton.vue?09f3"],"sourcesContent":["<template>\n <div class=\"icon-container\">\n <img class=\"icon\" :src=\"url\" :alt=\"alt\" v-if=\"url?.length\">\n <i class=\"icon\" :class=\"className\" :style=\"{color: color}\"\n v-else-if=\"className?.length\" />\n </div>\n</template>\n\n<script>\nexport default {\n props: {\n class: {\n type: String,\n },\n url: {\n type: String,\n },\n color: {\n type: String,\n default: '',\n },\n alt: {\n type: String,\n default: '',\n },\n },\n\n computed: {\n className() {\n return this.class\n }\n }\n}\n</script>\n\n<style lang=\"scss\" scoped>\n.icon-container {\n display: inline-flex;\n width: $icon-container-size;\n justify-content: center;\n text-align: center;\n\n .icon {\n width: 1em;\n height: 1em;\n }\n}\n</style>\n","import { render } from \"./Icon.vue?vue&type=template&id=706a3bd1&scoped=true\"\nimport script from \"./Icon.vue?vue&type=script&lang=js\"\nexport * from \"./Icon.vue?vue&type=script&lang=js\"\n\nimport \"./Icon.vue?vue&type=style&index=0&id=706a3bd1&lang=scss&scoped=true\"\n\nimport exportComponent from \"../../../node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-706a3bd1\"]])\n\nexport default __exports__","<template>\n <div class=\"restart-btn-container\">\n <ConfirmDialog ref=\"modal\" @input=\"restart\">\n Are you sure that you want to restart the application?\n </ConfirmDialog>\n\n <button class=\"btn btn-default restart-btn\" @click=\"showDialog\" @touch=\"showDialog\">\n <i class=\"fas fa-redo-alt\" /> &nbsp; Restart Application\n </button>\n </div>\n</template>\n\n<script>\nimport ConfirmDialog from \"@/components/elements/ConfirmDialog\"\nimport Utils from '@/Utils'\n\nexport default {\n name: \"RestartButton\",\n components: {ConfirmDialog},\n mixins: [Utils],\n methods: {\n showDialog() {\n this.$refs.modal.show()\n },\n\n async restart() {\n await this.request('application.restart')\n },\n },\n}\n</script>\n\n<style lang=\"scss\" scoped>\n@import \"@/style/common.scss\";\n</style>\n","import { render } from \"./RestartButton.vue?vue&type=template&id=2edff8b7&scoped=true\"\nimport script from \"./RestartButton.vue?vue&type=script&lang=js\"\nexport * from \"./RestartButton.vue?vue&type=script&lang=js\"\n\nimport \"./RestartButton.vue?vue&type=style&index=0&id=2edff8b7&lang=scss&scoped=true\"\n\nimport exportComponent from \"../../../node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-2edff8b7\"]])\n\nexport default __exports__"],"names":["class","_createElementBlock","_hoisted_1","$props","url","length","src","alt","$options","className","_normalizeClass","style","_normalizeStyle","color","props","type","String","default","computed","this","__exports__","render","_createElementVNode","_createVNode","_component_ConfirmDialog","ref","onInput","restart","onClick","_cache","args","showDialog","onTouch","_hoisted_2","name","components","ConfirmDialog","mixins","Utils","methods","$refs","modal","show","request"],"sourceRoot":""}

View file

@ -1,2 +1,2 @@
"use strict";(self["webpackChunkplatypush"]=self["webpackChunkplatypush"]||[]).push([[5729,7136],{8735:function(n,s,t){t.d(s,{Z:function(){return d}});var e=t(6252),c=t(3577);const a={key:0,class:"icon"};function o(n,s,t,o,l,i){const r=(0,e.up)("Icon");return(0,e.wg)(),(0,e.iD)("div",{class:(0,c.C_)(["tab",t.selected?"selected":""]),onClick:s[0]||(s[0]=s=>n.$emit("input"))},[t.iconClass?.length||t.iconUrl?.length?((0,e.wg)(),(0,e.iD)("span",a,[(0,e.Wm)(r,{class:(0,c.C_)(t.iconClass),url:t.iconUrl},null,8,["class","url"])])):(0,e.kq)("",!0),(0,e.Uk)("   "),(0,e.WI)(n.$slots,"default",{},void 0,!0)],2)}var l=t(657),i={name:"Tab",components:{Icon:l.Z},emits:["input"],props:{selected:{type:Boolean,default:!1},iconClass:{type:String},iconUrl:{type:String}}},r=t(3744);const u=(0,r.Z)(i,[["render",o],["__scopeId","data-v-f3217d34"]]);var d=u},3176:function(n,s,t){t.d(s,{Z:function(){return r}});var e=t(6252);const c={class:"tabs"};function a(n,s,t,a,o,l){return(0,e.wg)(),(0,e.iD)("div",c,[(0,e.WI)(n.$slots,"default",{},void 0,!0)])}var o={name:"Tabs"},l=t(3744);const i=(0,l.Z)(o,[["render",a],["__scopeId","data-v-f4300bb0"]]);var r=i}}]); "use strict";(self["webpackChunkplatypush"]=self["webpackChunkplatypush"]||[]).push([[5729,7136],{8735:function(n,s,t){t.d(s,{Z:function(){return d}});var e=t(6252),c=t(3577);const a={key:0,class:"icon"};function o(n,s,t,o,l,i){const r=(0,e.up)("Icon");return(0,e.wg)(),(0,e.iD)("div",{class:(0,c.C_)(["tab",t.selected?"selected":""]),onClick:s[0]||(s[0]=s=>n.$emit("input"))},[t.iconClass?.length||t.iconUrl?.length?((0,e.wg)(),(0,e.iD)("span",a,[(0,e.Wm)(r,{class:(0,c.C_)(t.iconClass),url:t.iconUrl},null,8,["class","url"])])):(0,e.kq)("",!0),(0,e.Uk)("   "),(0,e.WI)(n.$slots,"default",{},void 0,!0)],2)}var l=t(657),i={name:"Tab",components:{Icon:l.Z},emits:["input"],props:{selected:{type:Boolean,default:!1},iconClass:{type:String},iconUrl:{type:String}}},r=t(3744);const u=(0,r.Z)(i,[["render",o],["__scopeId","data-v-f3217d34"]]);var d=u},3176:function(n,s,t){t.d(s,{Z:function(){return r}});var e=t(6252);const c={class:"tabs"};function a(n,s,t,a,o,l){return(0,e.wg)(),(0,e.iD)("div",c,[(0,e.WI)(n.$slots,"default",{},void 0,!0)])}var o={name:"Tabs"},l=t(3744);const i=(0,l.Z)(o,[["render",a],["__scopeId","data-v-f4300bb0"]]);var r=i}}]);
//# sourceMappingURL=5729.5eb2b266.js.map //# sourceMappingURL=5729.b7e91ba6.js.map

View file

@ -1 +1 @@
{"version":3,"file":"static/js/5729.5eb2b266.js","mappings":"8LAEUA,MAAM,Q,mEADdC,EAAAA,EAAAA,IAKM,OALDD,OAAKE,EAAAA,EAAAA,IAAA,CAAC,MAAcC,EAAAC,SAAW,WAAa,KAAKC,QAAKC,EAAA,KAAAA,EAAA,GAAAC,GAAEC,EAAAC,MAAM,W,CACxCN,EAAAO,WAAWC,QAAUR,EAAAS,SAASD,SAAM,WAA7DV,EAAAA,EAAAA,IAEO,OAFPY,EAEO,EADLC,EAAAA,EAAAA,IAA0CC,EAAA,CAAnCf,OAAKE,EAAAA,EAAAA,IAAEC,EAAAO,WAAYM,IAAKb,EAAAS,S,oDAC1B,QACPK,EAAAA,EAAAA,IAAQT,EAAAU,OAAA,kBAAAC,GAAA,M,cAOZ,GACEC,KAAM,MACNC,WAAY,CAACC,KAAIA,EAAAA,GACjBC,MAAO,CAAC,SACRC,MAAO,CACLpB,SAAU,CACRqB,KAAMC,QACNC,SAAS,GAGXjB,UAAW,CACTe,KAAMG,QAGRhB,QAAS,CACPa,KAAMG,U,UCpBZ,MAAMC,GAA2B,OAAgB,EAAQ,CAAC,CAAC,SAASC,GAAQ,CAAC,YAAY,qBAEzF,O,8ECRO9B,MAAM,Q,0CAAXC,EAAAA,EAAAA,IAEM,MAFNY,EAEM,EADJI,EAAAA,EAAAA,IAAQT,EAAAU,OAAA,kBAAAC,GAAA,I,CAKZ,OACEC,KAAM,Q,UCDR,MAAMS,GAA2B,OAAgB,EAAQ,CAAC,CAAC,SAASC,GAAQ,CAAC,YAAY,qBAEzF,O","sources":["webpack://platypush/./src/components/elements/Tab.vue","webpack://platypush/./src/components/elements/Tab.vue?4544","webpack://platypush/./src/components/elements/Tabs.vue","webpack://platypush/./src/components/elements/Tabs.vue?2d79"],"sourcesContent":["<template>\n <div class=\"tab\" :class=\"selected ? 'selected' : ''\" @click=\"$emit('input')\">\n <span class=\"icon\" v-if=\"iconClass?.length || iconUrl?.length\">\n <Icon :class=\"iconClass\" :url=\"iconUrl\" />\n </span> &nbsp;\n <slot />\n </div>\n</template>\n\n<script>\nimport Icon from \"@/components/elements/Icon\";\n\nexport default {\n name: \"Tab\",\n components: {Icon},\n emits: ['input'],\n props: {\n selected: {\n type: Boolean,\n default: false,\n },\n\n iconClass: {\n type: String,\n },\n\n iconUrl: {\n type: String,\n },\n },\n}\n</script>\n\n<style lang=\"scss\" scoped>\n.tab {\n height: $tab-height;\n background: $tab-bg;\n display: flex;\n padding: 1em;\n align-items: center;\n border-right: $default-border-2;\n cursor: pointer;\n\n @include until($tablet) {\n flex-grow: 1;\n justify-content: center;\n }\n\n &.selected {\n background: $selected-bg;\n font-weight: bold;\n }\n\n &:hover {\n background: $hover-bg;\n }\n\n :deep(.icon-container) {\n width: 1.5em;\n }\n}\n</style>\n","import { render } from \"./Tab.vue?vue&type=template&id=f3217d34&scoped=true\"\nimport script from \"./Tab.vue?vue&type=script&lang=js\"\nexport * from \"./Tab.vue?vue&type=script&lang=js\"\n\nimport \"./Tab.vue?vue&type=style&index=0&id=f3217d34&lang=scss&scoped=true\"\n\nimport exportComponent from \"../../../node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-f3217d34\"]])\n\nexport default __exports__","<template>\n <div class=\"tabs\">\n <slot />\n </div>\n</template>\n\n<script>\nexport default {\n name: \"Tabs\",\n}\n</script>\n\n<style lang=\"scss\" scoped>\n.tabs {\n background: $tabs-bg;\n display: flex;\n flex-direction: row;\n align-items: flex-end;\n margin-top: 0.2em;\n margin-bottom: 0.2em;\n box-shadow: $border-shadow-bottom;\n}\n</style>\n","import { render } from \"./Tabs.vue?vue&type=template&id=f4300bb0&scoped=true\"\nimport script from \"./Tabs.vue?vue&type=script&lang=js\"\nexport * from \"./Tabs.vue?vue&type=script&lang=js\"\n\nimport \"./Tabs.vue?vue&type=style&index=0&id=f4300bb0&lang=scss&scoped=true\"\n\nimport exportComponent from \"../../../node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-f4300bb0\"]])\n\nexport default __exports__"],"names":["class","_createElementBlock","_normalizeClass","$props","selected","onClick","_cache","$event","_ctx","$emit","iconClass","length","iconUrl","_hoisted_1","_createVNode","_component_Icon","url","_renderSlot","$slots","undefined","name","components","Icon","emits","props","type","Boolean","default","String","__exports__","render"],"sourceRoot":""} {"version":3,"file":"static/js/5729.b7e91ba6.js","mappings":"8LAEUA,MAAM,Q,mEADdC,EAAAA,EAAAA,IAKM,OALDD,OAAKE,EAAAA,EAAAA,IAAA,CAAC,MAAcC,EAAAC,SAAW,WAAa,KAAKC,QAAKC,EAAA,KAAAA,EAAA,GAAAC,GAAEC,EAAAC,MAAM,W,CACxCN,EAAAO,WAAWC,QAAUR,EAAAS,SAASD,SAAM,WAA7DV,EAAAA,EAAAA,IAEO,OAFPY,EAEO,EADLC,EAAAA,EAAAA,IAA0CC,EAAA,CAAnCf,OAAKE,EAAAA,EAAAA,IAAEC,EAAAO,WAAYM,IAAKb,EAAAS,S,oDAC1B,QACPK,EAAAA,EAAAA,IAAQT,EAAAU,OAAA,kBAAAC,GAAA,M,cAOZ,GACEC,KAAM,MACNC,WAAY,CAACC,KAAIA,EAAAA,GACjBC,MAAO,CAAC,SACRC,MAAO,CACLpB,SAAU,CACRqB,KAAMC,QACNC,SAAS,GAGXjB,UAAW,CACTe,KAAMG,QAGRhB,QAAS,CACPa,KAAMG,U,UCpBZ,MAAMC,GAA2B,OAAgB,EAAQ,CAAC,CAAC,SAASC,GAAQ,CAAC,YAAY,qBAEzF,O,8ECRO9B,MAAM,Q,0CAAXC,EAAAA,EAAAA,IAEM,MAFNY,EAEM,EADJI,EAAAA,EAAAA,IAAQT,EAAAU,OAAA,kBAAAC,GAAA,I,CAKZ,OACEC,KAAM,Q,UCDR,MAAMS,GAA2B,OAAgB,EAAQ,CAAC,CAAC,SAASC,GAAQ,CAAC,YAAY,qBAEzF,O","sources":["webpack://platypush/./src/components/elements/Tab.vue","webpack://platypush/./src/components/elements/Tab.vue?4544","webpack://platypush/./src/components/elements/Tabs.vue","webpack://platypush/./src/components/elements/Tabs.vue?2d79"],"sourcesContent":["<template>\n <div class=\"tab\" :class=\"selected ? 'selected' : ''\" @click=\"$emit('input')\">\n <span class=\"icon\" v-if=\"iconClass?.length || iconUrl?.length\">\n <Icon :class=\"iconClass\" :url=\"iconUrl\" />\n </span> &nbsp;\n <slot />\n </div>\n</template>\n\n<script>\nimport Icon from \"@/components/elements/Icon\";\n\nexport default {\n name: \"Tab\",\n components: {Icon},\n emits: ['input'],\n props: {\n selected: {\n type: Boolean,\n default: false,\n },\n\n iconClass: {\n type: String,\n },\n\n iconUrl: {\n type: String,\n },\n },\n}\n</script>\n\n<style lang=\"scss\" scoped>\n.tab {\n height: $tab-height;\n background: $tab-bg;\n display: flex;\n padding: 1em;\n align-items: center;\n border-right: $default-border-2;\n cursor: pointer;\n\n @include until($tablet) {\n flex-grow: 1;\n justify-content: center;\n }\n\n &.selected {\n background: $selected-bg;\n font-weight: bold;\n }\n\n &:hover {\n background: $hover-bg;\n }\n\n :deep(.icon-container) {\n width: 1.5em;\n }\n}\n</style>\n","import { render } from \"./Tab.vue?vue&type=template&id=f3217d34&scoped=true\"\nimport script from \"./Tab.vue?vue&type=script&lang=js\"\nexport * from \"./Tab.vue?vue&type=script&lang=js\"\n\nimport \"./Tab.vue?vue&type=style&index=0&id=f3217d34&lang=scss&scoped=true\"\n\nimport exportComponent from \"../../../node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-f3217d34\"]])\n\nexport default __exports__","<template>\n <div class=\"tabs\">\n <slot />\n </div>\n</template>\n\n<script>\nexport default {\n name: \"Tabs\",\n}\n</script>\n\n<style lang=\"scss\" scoped>\n.tabs {\n background: $tabs-bg;\n display: flex;\n flex-direction: row;\n align-items: flex-end;\n margin-top: 0.2em;\n margin-bottom: 0.2em;\n box-shadow: $border-shadow-bottom;\n}\n</style>\n","import { render } from \"./Tabs.vue?vue&type=template&id=f4300bb0&scoped=true\"\nimport script from \"./Tabs.vue?vue&type=script&lang=js\"\nexport * from \"./Tabs.vue?vue&type=script&lang=js\"\n\nimport \"./Tabs.vue?vue&type=style&index=0&id=f4300bb0&lang=scss&scoped=true\"\n\nimport exportComponent from \"../../../node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-f4300bb0\"]])\n\nexport default __exports__"],"names":["class","_createElementBlock","_normalizeClass","$props","selected","onClick","_cache","$event","_ctx","$emit","iconClass","length","iconUrl","_hoisted_1","_createVNode","_component_Icon","url","_renderSlot","$slots","undefined","name","components","Icon","emits","props","type","Boolean","default","String","__exports__","render"],"sourceRoot":""}

View file

@ -1,2 +1,2 @@
"use strict";(self["webpackChunkplatypush"]=self["webpackChunkplatypush"]||[]).push([[7089],{5169:function(t,e,a){a.d(e,{Z:function(){return y}});var n=a(6252),l=a(9963);const i=t=>((0,n.dD)("data-v-a248454a"),t=t(),(0,n.Cn)(),t),s={class:"tts-container"},u={class:"field text-container"},r=["disabled"],d={class:"field lang-container"},c=["disabled"],o={class:"field buttons"},p=["disabled"],g=i((()=>(0,n._)("i",{class:"fa fa-volume-up"},null,-1))),v=[g];function f(t,e,a,i,g,f){return(0,n.wg)(),(0,n.iD)("div",s,[(0,n._)("form",{onSubmit:e[0]||(e[0]=(0,l.iM)(((...t)=>f.talk&&f.talk(...t)),["prevent"]))},[(0,n._)("div",u,[(0,n._)("label",null,[(0,n._)("input",{type:"text",name:"text",placeholder:"Text to say",disabled:g.talking},null,8,r)])]),(0,n._)("div",d,[(0,n._)("label",null,[(0,n._)("input",{type:"text",name:"language",placeholder:"Language code",disabled:g.talking},null,8,c)])]),(0,n._)("div",o,[(0,n._)("button",{type:"submit",disabled:g.talking},v,8,p)])],32)])}var m=a(8637),b={name:"Panel",mixins:[m.Z],props:{pluginName:{type:String,required:!0}},data(){return{talking:!1}},methods:{async talk(t){const e=[...t.target.querySelectorAll("input")].reduce(((t,e)=>(e.value.length&&(t[e.name]=e.value),t)),{});this.talking=!0;try{await this.request(`${this.pluginName}.say`,e)}finally{this.talking=!1}}}},h=a(3744);const k=(0,h.Z)(b,[["render",f],["__scopeId","data-v-a248454a"]]);var y=k},7089:function(t,e,a){a.r(e),a.d(e,{default:function(){return d}});var n=a(6252);function l(t,e,a,l,i,s){const u=(0,n.up)("Panel");return(0,n.wg)(),(0,n.j4)(u,{"plugin-name":"tts.picovoice"})}var i=a(5169),s={name:"Tts",components:{Panel:i.Z}},u=a(3744);const r=(0,u.Z)(s,[["render",l]]);var d=r}}]); "use strict";(self["webpackChunkplatypush"]=self["webpackChunkplatypush"]||[]).push([[7089],{5169:function(t,e,a){a.d(e,{Z:function(){return y}});var n=a(6252),l=a(9963);const i=t=>((0,n.dD)("data-v-a248454a"),t=t(),(0,n.Cn)(),t),s={class:"tts-container"},u={class:"field text-container"},r=["disabled"],d={class:"field lang-container"},c=["disabled"],o={class:"field buttons"},p=["disabled"],g=i((()=>(0,n._)("i",{class:"fa fa-volume-up"},null,-1))),v=[g];function f(t,e,a,i,g,f){return(0,n.wg)(),(0,n.iD)("div",s,[(0,n._)("form",{onSubmit:e[0]||(e[0]=(0,l.iM)(((...t)=>f.talk&&f.talk(...t)),["prevent"]))},[(0,n._)("div",u,[(0,n._)("label",null,[(0,n._)("input",{type:"text",name:"text",placeholder:"Text to say",disabled:g.talking},null,8,r)])]),(0,n._)("div",d,[(0,n._)("label",null,[(0,n._)("input",{type:"text",name:"language",placeholder:"Language code",disabled:g.talking},null,8,c)])]),(0,n._)("div",o,[(0,n._)("button",{type:"submit",disabled:g.talking},v,8,p)])],32)])}var m=a(8637),b={name:"Panel",mixins:[m.Z],props:{pluginName:{type:String,required:!0}},data(){return{talking:!1}},methods:{async talk(t){const e=[...t.target.querySelectorAll("input")].reduce(((t,e)=>(e.value.length&&(t[e.name]=e.value),t)),{});this.talking=!0;try{await this.request(`${this.pluginName}.say`,e)}finally{this.talking=!1}}}},h=a(3744);const k=(0,h.Z)(b,[["render",f],["__scopeId","data-v-a248454a"]]);var y=k},7089:function(t,e,a){a.r(e),a.d(e,{default:function(){return d}});var n=a(6252);function l(t,e,a,l,i,s){const u=(0,n.up)("Panel");return(0,n.wg)(),(0,n.j4)(u,{"plugin-name":"tts.picovoice"})}var i=a(5169),s={name:"Tts",components:{Panel:i.Z}},u=a(3744);const r=(0,u.Z)(s,[["render",l]]);var d=r}}]);
//# sourceMappingURL=7089.40cf5cf8.js.map //# sourceMappingURL=7089.9d228793.js.map

View file

@ -1,2 +1,2 @@
"use strict";(self["webpackChunkplatypush"]=self["webpackChunkplatypush"]||[]).push([[7136,5729],{8735:function(n,s,t){t.d(s,{Z:function(){return d}});var e=t(6252),c=t(3577);const a={key:0,class:"icon"};function o(n,s,t,o,l,i){const r=(0,e.up)("Icon");return(0,e.wg)(),(0,e.iD)("div",{class:(0,c.C_)(["tab",t.selected?"selected":""]),onClick:s[0]||(s[0]=s=>n.$emit("input"))},[t.iconClass?.length||t.iconUrl?.length?((0,e.wg)(),(0,e.iD)("span",a,[(0,e.Wm)(r,{class:(0,c.C_)(t.iconClass),url:t.iconUrl},null,8,["class","url"])])):(0,e.kq)("",!0),(0,e.Uk)("   "),(0,e.WI)(n.$slots,"default",{},void 0,!0)],2)}var l=t(657),i={name:"Tab",components:{Icon:l.Z},emits:["input"],props:{selected:{type:Boolean,default:!1},iconClass:{type:String},iconUrl:{type:String}}},r=t(3744);const u=(0,r.Z)(i,[["render",o],["__scopeId","data-v-f3217d34"]]);var d=u},3176:function(n,s,t){t.d(s,{Z:function(){return r}});var e=t(6252);const c={class:"tabs"};function a(n,s,t,a,o,l){return(0,e.wg)(),(0,e.iD)("div",c,[(0,e.WI)(n.$slots,"default",{},void 0,!0)])}var o={name:"Tabs"},l=t(3744);const i=(0,l.Z)(o,[["render",a],["__scopeId","data-v-f4300bb0"]]);var r=i}}]); "use strict";(self["webpackChunkplatypush"]=self["webpackChunkplatypush"]||[]).push([[7136,5729],{8735:function(n,s,t){t.d(s,{Z:function(){return d}});var e=t(6252),c=t(3577);const a={key:0,class:"icon"};function o(n,s,t,o,l,i){const r=(0,e.up)("Icon");return(0,e.wg)(),(0,e.iD)("div",{class:(0,c.C_)(["tab",t.selected?"selected":""]),onClick:s[0]||(s[0]=s=>n.$emit("input"))},[t.iconClass?.length||t.iconUrl?.length?((0,e.wg)(),(0,e.iD)("span",a,[(0,e.Wm)(r,{class:(0,c.C_)(t.iconClass),url:t.iconUrl},null,8,["class","url"])])):(0,e.kq)("",!0),(0,e.Uk)("   "),(0,e.WI)(n.$slots,"default",{},void 0,!0)],2)}var l=t(657),i={name:"Tab",components:{Icon:l.Z},emits:["input"],props:{selected:{type:Boolean,default:!1},iconClass:{type:String},iconUrl:{type:String}}},r=t(3744);const u=(0,r.Z)(i,[["render",o],["__scopeId","data-v-f3217d34"]]);var d=u},3176:function(n,s,t){t.d(s,{Z:function(){return r}});var e=t(6252);const c={class:"tabs"};function a(n,s,t,a,o,l){return(0,e.wg)(),(0,e.iD)("div",c,[(0,e.WI)(n.$slots,"default",{},void 0,!0)])}var o={name:"Tabs"},l=t(3744);const i=(0,l.Z)(o,[["render",a],["__scopeId","data-v-f4300bb0"]]);var r=i}}]);
//# sourceMappingURL=7136.5f335e08.js.map //# sourceMappingURL=7136.44bf81fb.js.map

View file

@ -1 +1 @@
{"version":3,"file":"static/js/7136.5f335e08.js","mappings":"8LAEUA,MAAM,Q,mEADdC,EAAAA,EAAAA,IAKM,OALDD,OAAKE,EAAAA,EAAAA,IAAA,CAAC,MAAcC,EAAAC,SAAW,WAAa,KAAKC,QAAKC,EAAA,KAAAA,EAAA,GAAAC,GAAEC,EAAAC,MAAM,W,CACxCN,EAAAO,WAAWC,QAAUR,EAAAS,SAASD,SAAM,WAA7DV,EAAAA,EAAAA,IAEO,OAFPY,EAEO,EADLC,EAAAA,EAAAA,IAA0CC,EAAA,CAAnCf,OAAKE,EAAAA,EAAAA,IAAEC,EAAAO,WAAYM,IAAKb,EAAAS,S,oDAC1B,QACPK,EAAAA,EAAAA,IAAQT,EAAAU,OAAA,kBAAAC,GAAA,M,cAOZ,GACEC,KAAM,MACNC,WAAY,CAACC,KAAIA,EAAAA,GACjBC,MAAO,CAAC,SACRC,MAAO,CACLpB,SAAU,CACRqB,KAAMC,QACNC,SAAS,GAGXjB,UAAW,CACTe,KAAMG,QAGRhB,QAAS,CACPa,KAAMG,U,UCpBZ,MAAMC,GAA2B,OAAgB,EAAQ,CAAC,CAAC,SAASC,GAAQ,CAAC,YAAY,qBAEzF,O,8ECRO9B,MAAM,Q,0CAAXC,EAAAA,EAAAA,IAEM,MAFNY,EAEM,EADJI,EAAAA,EAAAA,IAAQT,EAAAU,OAAA,kBAAAC,GAAA,I,CAKZ,OACEC,KAAM,Q,UCDR,MAAMS,GAA2B,OAAgB,EAAQ,CAAC,CAAC,SAASC,GAAQ,CAAC,YAAY,qBAEzF,O","sources":["webpack://platypush/./src/components/elements/Tab.vue","webpack://platypush/./src/components/elements/Tab.vue?4544","webpack://platypush/./src/components/elements/Tabs.vue","webpack://platypush/./src/components/elements/Tabs.vue?2d79"],"sourcesContent":["<template>\n <div class=\"tab\" :class=\"selected ? 'selected' : ''\" @click=\"$emit('input')\">\n <span class=\"icon\" v-if=\"iconClass?.length || iconUrl?.length\">\n <Icon :class=\"iconClass\" :url=\"iconUrl\" />\n </span> &nbsp;\n <slot />\n </div>\n</template>\n\n<script>\nimport Icon from \"@/components/elements/Icon\";\n\nexport default {\n name: \"Tab\",\n components: {Icon},\n emits: ['input'],\n props: {\n selected: {\n type: Boolean,\n default: false,\n },\n\n iconClass: {\n type: String,\n },\n\n iconUrl: {\n type: String,\n },\n },\n}\n</script>\n\n<style lang=\"scss\" scoped>\n.tab {\n height: $tab-height;\n background: $tab-bg;\n display: flex;\n padding: 1em;\n align-items: center;\n border-right: $default-border-2;\n cursor: pointer;\n\n @include until($tablet) {\n flex-grow: 1;\n justify-content: center;\n }\n\n &.selected {\n background: $selected-bg;\n font-weight: bold;\n }\n\n &:hover {\n background: $hover-bg;\n }\n\n :deep(.icon-container) {\n width: 1.5em;\n }\n}\n</style>\n","import { render } from \"./Tab.vue?vue&type=template&id=f3217d34&scoped=true\"\nimport script from \"./Tab.vue?vue&type=script&lang=js\"\nexport * from \"./Tab.vue?vue&type=script&lang=js\"\n\nimport \"./Tab.vue?vue&type=style&index=0&id=f3217d34&lang=scss&scoped=true\"\n\nimport exportComponent from \"../../../node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-f3217d34\"]])\n\nexport default __exports__","<template>\n <div class=\"tabs\">\n <slot />\n </div>\n</template>\n\n<script>\nexport default {\n name: \"Tabs\",\n}\n</script>\n\n<style lang=\"scss\" scoped>\n.tabs {\n background: $tabs-bg;\n display: flex;\n flex-direction: row;\n align-items: flex-end;\n margin-top: 0.2em;\n margin-bottom: 0.2em;\n box-shadow: $border-shadow-bottom;\n}\n</style>\n","import { render } from \"./Tabs.vue?vue&type=template&id=f4300bb0&scoped=true\"\nimport script from \"./Tabs.vue?vue&type=script&lang=js\"\nexport * from \"./Tabs.vue?vue&type=script&lang=js\"\n\nimport \"./Tabs.vue?vue&type=style&index=0&id=f4300bb0&lang=scss&scoped=true\"\n\nimport exportComponent from \"../../../node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-f4300bb0\"]])\n\nexport default __exports__"],"names":["class","_createElementBlock","_normalizeClass","$props","selected","onClick","_cache","$event","_ctx","$emit","iconClass","length","iconUrl","_hoisted_1","_createVNode","_component_Icon","url","_renderSlot","$slots","undefined","name","components","Icon","emits","props","type","Boolean","default","String","__exports__","render"],"sourceRoot":""} {"version":3,"file":"static/js/7136.44bf81fb.js","mappings":"8LAEUA,MAAM,Q,mEADdC,EAAAA,EAAAA,IAKM,OALDD,OAAKE,EAAAA,EAAAA,IAAA,CAAC,MAAcC,EAAAC,SAAW,WAAa,KAAKC,QAAKC,EAAA,KAAAA,EAAA,GAAAC,GAAEC,EAAAC,MAAM,W,CACxCN,EAAAO,WAAWC,QAAUR,EAAAS,SAASD,SAAM,WAA7DV,EAAAA,EAAAA,IAEO,OAFPY,EAEO,EADLC,EAAAA,EAAAA,IAA0CC,EAAA,CAAnCf,OAAKE,EAAAA,EAAAA,IAAEC,EAAAO,WAAYM,IAAKb,EAAAS,S,oDAC1B,QACPK,EAAAA,EAAAA,IAAQT,EAAAU,OAAA,kBAAAC,GAAA,M,cAOZ,GACEC,KAAM,MACNC,WAAY,CAACC,KAAIA,EAAAA,GACjBC,MAAO,CAAC,SACRC,MAAO,CACLpB,SAAU,CACRqB,KAAMC,QACNC,SAAS,GAGXjB,UAAW,CACTe,KAAMG,QAGRhB,QAAS,CACPa,KAAMG,U,UCpBZ,MAAMC,GAA2B,OAAgB,EAAQ,CAAC,CAAC,SAASC,GAAQ,CAAC,YAAY,qBAEzF,O,8ECRO9B,MAAM,Q,0CAAXC,EAAAA,EAAAA,IAEM,MAFNY,EAEM,EADJI,EAAAA,EAAAA,IAAQT,EAAAU,OAAA,kBAAAC,GAAA,I,CAKZ,OACEC,KAAM,Q,UCDR,MAAMS,GAA2B,OAAgB,EAAQ,CAAC,CAAC,SAASC,GAAQ,CAAC,YAAY,qBAEzF,O","sources":["webpack://platypush/./src/components/elements/Tab.vue","webpack://platypush/./src/components/elements/Tab.vue?4544","webpack://platypush/./src/components/elements/Tabs.vue","webpack://platypush/./src/components/elements/Tabs.vue?2d79"],"sourcesContent":["<template>\n <div class=\"tab\" :class=\"selected ? 'selected' : ''\" @click=\"$emit('input')\">\n <span class=\"icon\" v-if=\"iconClass?.length || iconUrl?.length\">\n <Icon :class=\"iconClass\" :url=\"iconUrl\" />\n </span> &nbsp;\n <slot />\n </div>\n</template>\n\n<script>\nimport Icon from \"@/components/elements/Icon\";\n\nexport default {\n name: \"Tab\",\n components: {Icon},\n emits: ['input'],\n props: {\n selected: {\n type: Boolean,\n default: false,\n },\n\n iconClass: {\n type: String,\n },\n\n iconUrl: {\n type: String,\n },\n },\n}\n</script>\n\n<style lang=\"scss\" scoped>\n.tab {\n height: $tab-height;\n background: $tab-bg;\n display: flex;\n padding: 1em;\n align-items: center;\n border-right: $default-border-2;\n cursor: pointer;\n\n @include until($tablet) {\n flex-grow: 1;\n justify-content: center;\n }\n\n &.selected {\n background: $selected-bg;\n font-weight: bold;\n }\n\n &:hover {\n background: $hover-bg;\n }\n\n :deep(.icon-container) {\n width: 1.5em;\n }\n}\n</style>\n","import { render } from \"./Tab.vue?vue&type=template&id=f3217d34&scoped=true\"\nimport script from \"./Tab.vue?vue&type=script&lang=js\"\nexport * from \"./Tab.vue?vue&type=script&lang=js\"\n\nimport \"./Tab.vue?vue&type=style&index=0&id=f3217d34&lang=scss&scoped=true\"\n\nimport exportComponent from \"../../../node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-f3217d34\"]])\n\nexport default __exports__","<template>\n <div class=\"tabs\">\n <slot />\n </div>\n</template>\n\n<script>\nexport default {\n name: \"Tabs\",\n}\n</script>\n\n<style lang=\"scss\" scoped>\n.tabs {\n background: $tabs-bg;\n display: flex;\n flex-direction: row;\n align-items: flex-end;\n margin-top: 0.2em;\n margin-bottom: 0.2em;\n box-shadow: $border-shadow-bottom;\n}\n</style>\n","import { render } from \"./Tabs.vue?vue&type=template&id=f4300bb0&scoped=true\"\nimport script from \"./Tabs.vue?vue&type=script&lang=js\"\nexport * from \"./Tabs.vue?vue&type=script&lang=js\"\n\nimport \"./Tabs.vue?vue&type=style&index=0&id=f4300bb0&lang=scss&scoped=true\"\n\nimport exportComponent from \"../../../node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-f4300bb0\"]])\n\nexport default __exports__"],"names":["class","_createElementBlock","_normalizeClass","$props","selected","onClick","_cache","$event","_ctx","$emit","iconClass","length","iconUrl","_hoisted_1","_createVNode","_component_Icon","url","_renderSlot","$slots","undefined","name","components","Icon","emits","props","type","Boolean","default","String","__exports__","render"],"sourceRoot":""}

View file

@ -1,2 +1,2 @@
"use strict";(self["webpackChunkplatypush"]=self["webpackChunkplatypush"]||[]).push([[732],{657:function(t,n,c){c.d(n,{Z:function(){return d}});var e=c(6252),r=c(3577);const a={class:"icon-container"},l=["src","alt"];function s(t,n,c,s,o,i){return(0,e.wg)(),(0,e.iD)("div",a,[c.url?.length?((0,e.wg)(),(0,e.iD)("img",{key:0,class:"icon",src:c.url,alt:c.alt},null,8,l)):i.className?.length?((0,e.wg)(),(0,e.iD)("i",{key:1,class:(0,r.C_)(["icon",i.className]),style:(0,r.j5)({color:c.color})},null,6)):(0,e.kq)("",!0)])}var o={props:{class:{type:String},url:{type:String},color:{type:String,default:""},alt:{type:String,default:""}},computed:{className(){return this.class}}},i=c(3744);const u=(0,i.Z)(o,[["render",s],["__scopeId","data-v-706a3bd1"]]);var d=u},4221:function(t,n,c){c.r(n),c.d(n,{default:function(){return p}});var e=c(6252);const r=t=>((0,e.dD)("data-v-7c29571d"),t=t(),(0,e.Cn)(),t),a={class:"row plugin execute-container"},l=r((()=>(0,e._)("h1",null,"Execute Action",-1)));function s(t,n,c,r,s,o){const i=(0,e.up)("ActionEditor");return(0,e.wg)(),(0,e.iD)("div",a,[(0,e._)("main",null,[l,(0,e.Wm)(i)])])}var o=c(1807),i={components:{ActionEditor:o.Z}},u=c(3744);const d=(0,u.Z)(i,[["render",s],["__scopeId","data-v-7c29571d"]]);var p=d}}]); "use strict";(self["webpackChunkplatypush"]=self["webpackChunkplatypush"]||[]).push([[732],{657:function(t,n,c){c.d(n,{Z:function(){return d}});var e=c(6252),r=c(3577);const a={class:"icon-container"},l=["src","alt"];function s(t,n,c,s,o,i){return(0,e.wg)(),(0,e.iD)("div",a,[c.url?.length?((0,e.wg)(),(0,e.iD)("img",{key:0,class:"icon",src:c.url,alt:c.alt},null,8,l)):i.className?.length?((0,e.wg)(),(0,e.iD)("i",{key:1,class:(0,r.C_)(["icon",i.className]),style:(0,r.j5)({color:c.color})},null,6)):(0,e.kq)("",!0)])}var o={props:{class:{type:String},url:{type:String},color:{type:String,default:""},alt:{type:String,default:""}},computed:{className(){return this.class}}},i=c(3744);const u=(0,i.Z)(o,[["render",s],["__scopeId","data-v-706a3bd1"]]);var d=u},4221:function(t,n,c){c.r(n),c.d(n,{default:function(){return p}});var e=c(6252);const r=t=>((0,e.dD)("data-v-7c29571d"),t=t(),(0,e.Cn)(),t),a={class:"row plugin execute-container"},l=r((()=>(0,e._)("h1",null,"Execute Action",-1)));function s(t,n,c,r,s,o){const i=(0,e.up)("ActionEditor");return(0,e.wg)(),(0,e.iD)("div",a,[(0,e._)("main",null,[l,(0,e.Wm)(i)])])}var o=c(1807),i={components:{ActionEditor:o.Z}},u=c(3744);const d=(0,u.Z)(i,[["render",s],["__scopeId","data-v-7c29571d"]]);var p=d}}]);
//# sourceMappingURL=732.7fb5fb39.js.map //# sourceMappingURL=732.c1d8b4c9.js.map

View file

@ -1 +1 @@
{"version":3,"file":"static/js/732.7fb5fb39.js","mappings":"iLACOA,MAAM,kB,0DAAXC,EAAAA,EAAAA,IAIM,MAJNC,EAIM,CAH0CC,EAAAC,KAAKC,SAAM,WAAzDJ,EAAAA,EAAAA,IAA2D,O,MAAtDD,MAAM,OAAQM,IAAKH,EAAAC,IAAMG,IAAKJ,EAAAI,K,WAEtBC,EAAAC,WAAWJ,SAAM,WAD9BJ,EAAAA,EAAAA,IACkC,K,MAD/BD,OAAKU,EAAAA,EAAAA,IAAA,CAAC,OAAeF,EAAAC,YAAYE,OAAKC,EAAAA,EAAAA,IAAA,CAAAC,MAAUV,EAAAU,S,2BAMvD,OACEC,MAAO,CACLd,MAAO,CACLe,KAAMC,QAERZ,IAAK,CACHW,KAAMC,QAERH,MAAO,CACLE,KAAMC,OACNC,QAAS,IAEXV,IAAK,CACHQ,KAAMC,OACNC,QAAS,KAIbC,SAAU,CACRT,SAAAA,GACE,OAAOU,KAAKnB,KACd,I,UCvBJ,MAAMoB,GAA2B,OAAgB,EAAQ,CAAC,CAAC,SAASC,GAAQ,CAAC,YAAY,qBAEzF,O,iJCROrB,MAAM,gC,UAGPsB,EAAAA,EAAAA,GAAuB,UAAnB,kBAAc,K,2EAHtBrB,EAAAA,EAAAA,IAMM,MANNC,EAMM,EAJJoB,EAAAA,EAAAA,GAGO,aAFLC,GACAC,EAAAA,EAAAA,IAAgBC,M,eAQtB,GACEC,WAAY,CACVC,aAAYA,EAAAA,I,UCRhB,MAAMP,GAA2B,OAAgB,EAAQ,CAAC,CAAC,SAASC,GAAQ,CAAC,YAAY,qBAEzF,O","sources":["webpack://platypush/./src/components/elements/Icon.vue","webpack://platypush/./src/components/elements/Icon.vue?fdba","webpack://platypush/./src/components/panels/Execute/Index.vue","webpack://platypush/./src/components/panels/Execute/Index.vue?99e5"],"sourcesContent":["<template>\n <div class=\"icon-container\">\n <img class=\"icon\" :src=\"url\" :alt=\"alt\" v-if=\"url?.length\">\n <i class=\"icon\" :class=\"className\" :style=\"{color: color}\"\n v-else-if=\"className?.length\" />\n </div>\n</template>\n\n<script>\nexport default {\n props: {\n class: {\n type: String,\n },\n url: {\n type: String,\n },\n color: {\n type: String,\n default: '',\n },\n alt: {\n type: String,\n default: '',\n },\n },\n\n computed: {\n className() {\n return this.class\n }\n }\n}\n</script>\n\n<style lang=\"scss\" scoped>\n.icon-container {\n display: inline-flex;\n width: $icon-container-size;\n justify-content: center;\n text-align: center;\n\n .icon {\n width: 1em;\n height: 1em;\n }\n}\n</style>\n","import { render } from \"./Icon.vue?vue&type=template&id=706a3bd1&scoped=true\"\nimport script from \"./Icon.vue?vue&type=script&lang=js\"\nexport * from \"./Icon.vue?vue&type=script&lang=js\"\n\nimport \"./Icon.vue?vue&type=style&index=0&id=706a3bd1&lang=scss&scoped=true\"\n\nimport exportComponent from \"../../../node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-706a3bd1\"]])\n\nexport default __exports__","<template>\n <div class=\"row plugin execute-container\">\n <!-- Action executor container -->\n <main>\n <h1>Execute Action</h1>\n <ActionEditor />\n </main>\n </div>\n</template>\n\n<script>\nimport ActionEditor from '@/components/Action/ActionEditor'\n\nexport default {\n components: {\n ActionEditor,\n },\n}\n</script>\n\n<style lang=\"scss\" scoped>\n@import \"@/components/Action/common\";\n\n.execute-container {\n width: 100%;\n height: 100%;\n color: $default-fg-2;\n font-weight: 400;\n border-radius: 0 0 1em 1em;\n display: flex;\n flex-direction: column;\n align-items: center;\n\n main {\n width: 100%;\n max-width: 1000px;\n display: flex;\n flex-direction: column;\n box-shadow: $section-shadow;\n\n @include from($desktop) {\n margin: 1em;\n border-radius: 1em 1em 0 0;\n }\n\n :deep(.action-editor-container) {\n .action-editor {\n height: 100%;\n }\n }\n }\n}\n</style>\n","import { render } from \"./Index.vue?vue&type=template&id=7c29571d&scoped=true\"\nimport script from \"./Index.vue?vue&type=script&lang=js\"\nexport * from \"./Index.vue?vue&type=script&lang=js\"\n\nimport \"./Index.vue?vue&type=style&index=0&id=7c29571d&lang=scss&scoped=true\"\n\nimport exportComponent from \"../../../../node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-7c29571d\"]])\n\nexport default __exports__"],"names":["class","_createElementBlock","_hoisted_1","$props","url","length","src","alt","$options","className","_normalizeClass","style","_normalizeStyle","color","props","type","String","default","computed","this","__exports__","render","_createElementVNode","_hoisted_2","_createVNode","_component_ActionEditor","components","ActionEditor"],"sourceRoot":""} {"version":3,"file":"static/js/732.c1d8b4c9.js","mappings":"iLACOA,MAAM,kB,0DAAXC,EAAAA,EAAAA,IAIM,MAJNC,EAIM,CAH0CC,EAAAC,KAAKC,SAAM,WAAzDJ,EAAAA,EAAAA,IAA2D,O,MAAtDD,MAAM,OAAQM,IAAKH,EAAAC,IAAMG,IAAKJ,EAAAI,K,WAEtBC,EAAAC,WAAWJ,SAAM,WAD9BJ,EAAAA,EAAAA,IACkC,K,MAD/BD,OAAKU,EAAAA,EAAAA,IAAA,CAAC,OAAeF,EAAAC,YAAYE,OAAKC,EAAAA,EAAAA,IAAA,CAAAC,MAAUV,EAAAU,S,2BAMvD,OACEC,MAAO,CACLd,MAAO,CACLe,KAAMC,QAERZ,IAAK,CACHW,KAAMC,QAERH,MAAO,CACLE,KAAMC,OACNC,QAAS,IAEXV,IAAK,CACHQ,KAAMC,OACNC,QAAS,KAIbC,SAAU,CACRT,SAAAA,GACE,OAAOU,KAAKnB,KACd,I,UCvBJ,MAAMoB,GAA2B,OAAgB,EAAQ,CAAC,CAAC,SAASC,GAAQ,CAAC,YAAY,qBAEzF,O,iJCROrB,MAAM,gC,UAGPsB,EAAAA,EAAAA,GAAuB,UAAnB,kBAAc,K,2EAHtBrB,EAAAA,EAAAA,IAMM,MANNC,EAMM,EAJJoB,EAAAA,EAAAA,GAGO,aAFLC,GACAC,EAAAA,EAAAA,IAAgBC,M,eAQtB,GACEC,WAAY,CACVC,aAAYA,EAAAA,I,UCRhB,MAAMP,GAA2B,OAAgB,EAAQ,CAAC,CAAC,SAASC,GAAQ,CAAC,YAAY,qBAEzF,O","sources":["webpack://platypush/./src/components/elements/Icon.vue","webpack://platypush/./src/components/elements/Icon.vue?fdba","webpack://platypush/./src/components/panels/Execute/Index.vue","webpack://platypush/./src/components/panels/Execute/Index.vue?99e5"],"sourcesContent":["<template>\n <div class=\"icon-container\">\n <img class=\"icon\" :src=\"url\" :alt=\"alt\" v-if=\"url?.length\">\n <i class=\"icon\" :class=\"className\" :style=\"{color: color}\"\n v-else-if=\"className?.length\" />\n </div>\n</template>\n\n<script>\nexport default {\n props: {\n class: {\n type: String,\n },\n url: {\n type: String,\n },\n color: {\n type: String,\n default: '',\n },\n alt: {\n type: String,\n default: '',\n },\n },\n\n computed: {\n className() {\n return this.class\n }\n }\n}\n</script>\n\n<style lang=\"scss\" scoped>\n.icon-container {\n display: inline-flex;\n width: $icon-container-size;\n justify-content: center;\n text-align: center;\n\n .icon {\n width: 1em;\n height: 1em;\n }\n}\n</style>\n","import { render } from \"./Icon.vue?vue&type=template&id=706a3bd1&scoped=true\"\nimport script from \"./Icon.vue?vue&type=script&lang=js\"\nexport * from \"./Icon.vue?vue&type=script&lang=js\"\n\nimport \"./Icon.vue?vue&type=style&index=0&id=706a3bd1&lang=scss&scoped=true\"\n\nimport exportComponent from \"../../../node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-706a3bd1\"]])\n\nexport default __exports__","<template>\n <div class=\"row plugin execute-container\">\n <!-- Action executor container -->\n <main>\n <h1>Execute Action</h1>\n <ActionEditor />\n </main>\n </div>\n</template>\n\n<script>\nimport ActionEditor from '@/components/Action/ActionEditor'\n\nexport default {\n components: {\n ActionEditor,\n },\n}\n</script>\n\n<style lang=\"scss\" scoped>\n@import \"@/components/Action/common\";\n\n.execute-container {\n width: 100%;\n height: 100%;\n color: $default-fg-2;\n font-weight: 400;\n border-radius: 0 0 1em 1em;\n display: flex;\n flex-direction: column;\n align-items: center;\n\n main {\n width: 100%;\n max-width: 1000px;\n display: flex;\n flex-direction: column;\n box-shadow: $section-shadow;\n\n @include from($desktop) {\n margin: 1em;\n border-radius: 1em 1em 0 0;\n }\n\n :deep(.action-editor-container) {\n .action-editor {\n height: 100%;\n }\n }\n }\n}\n</style>\n","import { render } from \"./Index.vue?vue&type=template&id=7c29571d&scoped=true\"\nimport script from \"./Index.vue?vue&type=script&lang=js\"\nexport * from \"./Index.vue?vue&type=script&lang=js\"\n\nimport \"./Index.vue?vue&type=style&index=0&id=7c29571d&lang=scss&scoped=true\"\n\nimport exportComponent from \"../../../../node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-7c29571d\"]])\n\nexport default __exports__"],"names":["class","_createElementBlock","_hoisted_1","$props","url","length","src","alt","$options","className","_normalizeClass","style","_normalizeStyle","color","props","type","String","default","computed","this","__exports__","render","_createElementVNode","_hoisted_2","_createVNode","_component_ActionEditor","components","ActionEditor"],"sourceRoot":""}

View file

@ -1,2 +1,2 @@
"use strict";(self["webpackChunkplatypush"]=self["webpackChunkplatypush"]||[]).push([[844],{3222:function(e,t,a){a.d(t,{Z:function(){return u}});var s=a(6252),l=a(3577);const i={class:"no-items-container"};function n(e,t,a,n,o,d){return(0,s.wg)(),(0,s.iD)("div",i,[(0,s._)("div",{class:(0,l.C_)(["no-items fade-in",{shadow:a.withShadow}])},[(0,s.WI)(e.$slots,"default",{},void 0,!0)],2)])}var o={name:"NoItems",props:{withShadow:{type:Boolean,default:!0}}},d=a(3744);const r=(0,d.Z)(o,[["render",n],["__scopeId","data-v-4856c4d7"]]);var u=r},844:function(e,t,a){a.r(t),a.d(t,{default:function(){return z}});var s=a(6252),l=a(3577);const i={class:"media-youtube-playlist"},n={key:1,class:"playlist-container"},o={class:"header"},d={class:"banner"},r=["src"],u={class:"row info-container"},c={class:"info"},m={class:"row"},p=["href"],h={key:1,class:"title"},y={class:"n-items"},w={key:0,class:"row"},f={class:"description"},g={key:1,class:"row"},v={class:"channel"},_=["href"];function k(e,t,a,k,b,I){const D=(0,s.up)("Loading"),Z=(0,s.up)("NoItems"),$=(0,s.up)("Results");return(0,s.wg)(),(0,s.iD)("div",i,[b.loading?((0,s.wg)(),(0,s.j4)(D,{key:0})):((0,s.wg)(),(0,s.iD)("div",n,[(0,s._)("div",o,[(0,s._)("div",d,[a.metadata?.image?.length?((0,s.wg)(),(0,s.iD)("img",{key:0,src:a.metadata?.image},null,8,r)):(0,s.kq)("",!0)]),(0,s._)("div",u,[(0,s._)("div",c,[(0,s._)("div",m,[a.metadata?.url?((0,s.wg)(),(0,s.iD)("a",{key:0,class:"title",href:a.metadata?.url,target:"_blank",rel:"noopener noreferrer"},(0,l.zw)(I.name),9,p)):((0,s.wg)(),(0,s.iD)("span",h,(0,l.zw)(I.name),1)),(0,s._)("div",y,(0,l.zw)(I.nItems)+" videos",1)]),a.metadata?.description?((0,s.wg)(),(0,s.iD)("div",w,[(0,s._)("div",f,(0,l.zw)(a.metadata?.description),1)])):(0,s.kq)("",!0),a.metadata?.channel_url?((0,s.wg)(),(0,s.iD)("div",g,[(0,s._)("div",v,[(0,s.Uk)(" Uploaded by "),(0,s._)("a",{href:a.metadata.channel_url,target:"_blank",rel:"noopener noreferrer"},(0,l.zw)(a.metadata?.channel),9,_)])])):(0,s.kq)("",!0)])])]),I.nItems?((0,s.wg)(),(0,s.j4)($,{key:1,results:b.items,sources:{youtube:!0},filter:a.filter,playlist:a.id,"selected-result":b.selectedResult,onAddToPlaylist:t[0]||(t[0]=t=>e.$emit("add-to-playlist",t)),onDownload:t[1]||(t[1]=t=>e.$emit("download",t)),onDownloadAudio:t[2]||(t[2]=t=>e.$emit("download-audio",t)),onOpenChannel:t[3]||(t[3]=t=>e.$emit("open-channel",t)),onPlay:t[4]||(t[4]=t=>e.$emit("play",t)),onRemoveFromPlaylist:t[5]||(t[5]=t=>e.$emit("remove-from-playlist",t)),onSelect:t[6]||(t[6]=e=>b.selectedResult=e)},null,8,["results","filter","playlist","selected-result"])):((0,s.wg)(),(0,s.j4)(Z,{key:0,"with-shadow":!1},{default:(0,s.w5)((()=>[(0,s.Uk)(" No videos found. ")])),_:1}))]))])}var b=a(3222),I=a(6791),D=a(1784),Z=a(8637),$={mixins:[Z.Z],emits:["add-to-playlist","download","download-audio","open-channel","play","remove-from-playlist"],components:{Loading:I.Z,NoItems:b.Z,Results:D.Z},props:{id:{type:String,required:!0},filter:{type:String,default:null},metadata:{type:Object,default:null}},data(){return{items:[],loading:!1,selectedResult:null}},computed:{name(){return this.metadata?.title||this.metadata?.name},nItems(){return this.metadata?.videos||this.items?.length||0}},methods:{async loadItems(){this.loading=!0;try{this.items=(await this.request("youtube.get_playlist",{id:this.id})).map((e=>({...e,type:"youtube"})))}finally{this.loading=!1}}},mounted(){this.setUrlArgs({playlist:this.id}),this.loadItems()},unmounted(){this.setUrlArgs({playlist:null})}},R=a(3744);const q=(0,R.Z)($,[["render",k],["__scopeId","data-v-b895a0b4"]]);var z=q}}]); "use strict";(self["webpackChunkplatypush"]=self["webpackChunkplatypush"]||[]).push([[844],{3222:function(e,t,a){a.d(t,{Z:function(){return u}});var s=a(6252),l=a(3577);const i={class:"no-items-container"};function n(e,t,a,n,o,d){return(0,s.wg)(),(0,s.iD)("div",i,[(0,s._)("div",{class:(0,l.C_)(["no-items fade-in",{shadow:a.withShadow}])},[(0,s.WI)(e.$slots,"default",{},void 0,!0)],2)])}var o={name:"NoItems",props:{withShadow:{type:Boolean,default:!0}}},d=a(3744);const r=(0,d.Z)(o,[["render",n],["__scopeId","data-v-4856c4d7"]]);var u=r},844:function(e,t,a){a.r(t),a.d(t,{default:function(){return z}});var s=a(6252),l=a(3577);const i={class:"media-youtube-playlist"},n={key:1,class:"playlist-container"},o={class:"header"},d={class:"banner"},r=["src"],u={class:"row info-container"},c={class:"info"},m={class:"row"},p=["href"],h={key:1,class:"title"},y={class:"n-items"},w={key:0,class:"row"},f={class:"description"},g={key:1,class:"row"},v={class:"channel"},_=["href"];function k(e,t,a,k,b,I){const D=(0,s.up)("Loading"),Z=(0,s.up)("NoItems"),$=(0,s.up)("Results");return(0,s.wg)(),(0,s.iD)("div",i,[b.loading?((0,s.wg)(),(0,s.j4)(D,{key:0})):((0,s.wg)(),(0,s.iD)("div",n,[(0,s._)("div",o,[(0,s._)("div",d,[a.metadata?.image?.length?((0,s.wg)(),(0,s.iD)("img",{key:0,src:a.metadata?.image},null,8,r)):(0,s.kq)("",!0)]),(0,s._)("div",u,[(0,s._)("div",c,[(0,s._)("div",m,[a.metadata?.url?((0,s.wg)(),(0,s.iD)("a",{key:0,class:"title",href:a.metadata?.url,target:"_blank",rel:"noopener noreferrer"},(0,l.zw)(I.name),9,p)):((0,s.wg)(),(0,s.iD)("span",h,(0,l.zw)(I.name),1)),(0,s._)("div",y,(0,l.zw)(I.nItems)+" videos",1)]),a.metadata?.description?((0,s.wg)(),(0,s.iD)("div",w,[(0,s._)("div",f,(0,l.zw)(a.metadata?.description),1)])):(0,s.kq)("",!0),a.metadata?.channel_url?((0,s.wg)(),(0,s.iD)("div",g,[(0,s._)("div",v,[(0,s.Uk)(" Uploaded by "),(0,s._)("a",{href:a.metadata.channel_url,target:"_blank",rel:"noopener noreferrer"},(0,l.zw)(a.metadata?.channel),9,_)])])):(0,s.kq)("",!0)])])]),I.nItems?((0,s.wg)(),(0,s.j4)($,{key:1,results:b.items,sources:{youtube:!0},filter:a.filter,playlist:a.id,"selected-result":b.selectedResult,onAddToPlaylist:t[0]||(t[0]=t=>e.$emit("add-to-playlist",t)),onDownload:t[1]||(t[1]=t=>e.$emit("download",t)),onDownloadAudio:t[2]||(t[2]=t=>e.$emit("download-audio",t)),onOpenChannel:t[3]||(t[3]=t=>e.$emit("open-channel",t)),onPlay:t[4]||(t[4]=t=>e.$emit("play",t)),onRemoveFromPlaylist:t[5]||(t[5]=t=>e.$emit("remove-from-playlist",t)),onSelect:t[6]||(t[6]=e=>b.selectedResult=e)},null,8,["results","filter","playlist","selected-result"])):((0,s.wg)(),(0,s.j4)(Z,{key:0,"with-shadow":!1},{default:(0,s.w5)((()=>[(0,s.Uk)(" No videos found. ")])),_:1}))]))])}var b=a(3222),I=a(6791),D=a(1784),Z=a(8637),$={mixins:[Z.Z],emits:["add-to-playlist","download","download-audio","open-channel","play","remove-from-playlist"],components:{Loading:I.Z,NoItems:b.Z,Results:D.Z},props:{id:{type:String,required:!0},filter:{type:String,default:null},metadata:{type:Object,default:null}},data(){return{items:[],loading:!1,selectedResult:null}},computed:{name(){return this.metadata?.title||this.metadata?.name},nItems(){return this.metadata?.videos||this.items?.length||0}},methods:{async loadItems(){this.loading=!0;try{this.items=(await this.request("youtube.get_playlist",{id:this.id})).map((e=>({...e,type:"youtube"})))}finally{this.loading=!1}}},mounted(){this.setUrlArgs({playlist:this.id}),this.loadItems()},unmounted(){this.setUrlArgs({playlist:null})}},R=a(3744);const q=(0,R.Z)($,[["render",k],["__scopeId","data-v-b895a0b4"]]);var z=q}}]);
//# sourceMappingURL=844.4b1a666d.js.map //# sourceMappingURL=844.baa71111.js.map

View file

@ -1,2 +1,2 @@
"use strict";(self["webpackChunkplatypush"]=self["webpackChunkplatypush"]||[]).push([[9472],{3222:function(e,t,o){o.d(t,{Z:function(){return r}});var n=o(6252),d=o(3577);const l={class:"no-items-container"};function s(e,t,o,s,a,i){return(0,n.wg)(),(0,n.iD)("div",l,[(0,n._)("div",{class:(0,d.C_)(["no-items fade-in",{shadow:o.withShadow}])},[(0,n.WI)(e.$slots,"default",{},void 0,!0)],2)])}var a={name:"NoItems",props:{withShadow:{type:Boolean,default:!0}}},i=o(3744);const u=(0,i.Z)(a,[["render",s],["__scopeId","data-v-4856c4d7"]]);var r=u},9472:function(e,t,o){o.r(t),o.d(t,{default:function(){return f}});var n=o(6252);const d={class:"media-youtube-feed"};function l(e,t,o,l,s,a){const i=(0,n.up)("Loading"),u=(0,n.up)("NoItems"),r=(0,n.up)("Results");return(0,n.wg)(),(0,n.iD)("div",d,[s.loading?((0,n.wg)(),(0,n.j4)(i,{key:0})):s.feed?.length?((0,n.wg)(),(0,n.j4)(r,{key:2,results:s.feed,filter:o.filter,sources:{youtube:!0},"selected-result":s.selectedResult,onAddToPlaylist:t[0]||(t[0]=t=>e.$emit("add-to-playlist",t)),onDownload:t[1]||(t[1]=t=>e.$emit("download",t)),onDownloadAudio:t[2]||(t[2]=t=>e.$emit("download-audio",t)),onOpenChannel:t[3]||(t[3]=t=>e.$emit("open-channel",t)),onSelect:t[4]||(t[4]=e=>s.selectedResult=e),onPlay:t[5]||(t[5]=t=>e.$emit("play",t))},null,8,["results","filter","selected-result"])):((0,n.wg)(),(0,n.j4)(u,{key:1,"with-shadow":!1},{default:(0,n.w5)((()=>[(0,n.Uk)(" No videos found. ")])),_:1}))])}var s=o(3222),a=o(6791),i=o(1784),u=o(8637),r={mixins:[u.Z],emits:["add-to-playlist","download","download-audio","open-channel","play"],components:{Loading:a.Z,NoItems:s.Z,Results:i.Z},props:{filter:{type:String,default:null}},data(){return{feed:[],loading:!1,selectedResult:null}},methods:{async loadFeed(){this.loading=!0;try{this.feed=(await this.request("youtube.get_feed")).map((e=>({...e,type:"youtube"})))}finally{this.loading=!1}}},mounted(){this.loadFeed()}},c=o(3744);const p=(0,c.Z)(r,[["render",l],["__scopeId","data-v-0131d440"]]);var f=p}}]); "use strict";(self["webpackChunkplatypush"]=self["webpackChunkplatypush"]||[]).push([[9472],{3222:function(e,t,o){o.d(t,{Z:function(){return r}});var n=o(6252),d=o(3577);const l={class:"no-items-container"};function s(e,t,o,s,a,i){return(0,n.wg)(),(0,n.iD)("div",l,[(0,n._)("div",{class:(0,d.C_)(["no-items fade-in",{shadow:o.withShadow}])},[(0,n.WI)(e.$slots,"default",{},void 0,!0)],2)])}var a={name:"NoItems",props:{withShadow:{type:Boolean,default:!0}}},i=o(3744);const u=(0,i.Z)(a,[["render",s],["__scopeId","data-v-4856c4d7"]]);var r=u},9472:function(e,t,o){o.r(t),o.d(t,{default:function(){return f}});var n=o(6252);const d={class:"media-youtube-feed"};function l(e,t,o,l,s,a){const i=(0,n.up)("Loading"),u=(0,n.up)("NoItems"),r=(0,n.up)("Results");return(0,n.wg)(),(0,n.iD)("div",d,[s.loading?((0,n.wg)(),(0,n.j4)(i,{key:0})):s.feed?.length?((0,n.wg)(),(0,n.j4)(r,{key:2,results:s.feed,filter:o.filter,sources:{youtube:!0},"selected-result":s.selectedResult,onAddToPlaylist:t[0]||(t[0]=t=>e.$emit("add-to-playlist",t)),onDownload:t[1]||(t[1]=t=>e.$emit("download",t)),onDownloadAudio:t[2]||(t[2]=t=>e.$emit("download-audio",t)),onOpenChannel:t[3]||(t[3]=t=>e.$emit("open-channel",t)),onSelect:t[4]||(t[4]=e=>s.selectedResult=e),onPlay:t[5]||(t[5]=t=>e.$emit("play",t))},null,8,["results","filter","selected-result"])):((0,n.wg)(),(0,n.j4)(u,{key:1,"with-shadow":!1},{default:(0,n.w5)((()=>[(0,n.Uk)(" No videos found. ")])),_:1}))])}var s=o(3222),a=o(6791),i=o(1784),u=o(8637),r={mixins:[u.Z],emits:["add-to-playlist","download","download-audio","open-channel","play"],components:{Loading:a.Z,NoItems:s.Z,Results:i.Z},props:{filter:{type:String,default:null}},data(){return{feed:[],loading:!1,selectedResult:null}},methods:{async loadFeed(){this.loading=!0;try{this.feed=(await this.request("youtube.get_feed")).map((e=>({...e,type:"youtube"})))}finally{this.loading=!1}}},mounted(){this.loadFeed()}},c=o(3744);const p=(0,c.Z)(r,[["render",l],["__scopeId","data-v-0131d440"]]);var f=p}}]);
//# sourceMappingURL=9472.3664c2f1.js.map //# sourceMappingURL=9472.8e216d1b.js.map

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long