[Automatic] Updated UI files

This commit is contained in:
Fabio Manganiello 2024-11-22 10:02:13 +00:00
parent 197158fa36
commit 82e796e20b
Signed by untrusted user: blacklight
GPG key ID: AD6D273C08B82EC9
407 changed files with 363 additions and 365 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.c55c495e.js"></script><script defer="defer" src="/static/js/app.4c67dc8c.js"></script><link href="/static/css/chunk-vendors.d510eff2.css" rel="stylesheet"><link href="/static/css/app.70fb1f4a.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.83e191d2.js"></script><script defer="defer" src="/static/js/app.668abf05.js"></script><link href="/static/css/chunk-vendors.d510eff2.css" rel="stylesheet"><link href="/static/css/app.f97a4bca.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([[1014],{1014:function(e,n,t){t.r(n),t.d(n,{default:function(){return E}});var s=t(641),i=t(33);const l={class:"media-youtube-channel"},a={key:1,class:"channel"},r={class:"header"},c={class:"banner"},o=["src"],u={class:"row info-container"},d={class:"info"},h={class:"row"},b={class:"title-container"},g=["href"],p={class:"image"},y=["src"],m=["href"],f={class:"actions"},k=["title"],v={key:0,class:"subscribers"},w={key:0,class:"description"};function _(e,n,t,_,C,L){const x=(0,s.g2)("Loading"),S=(0,s.g2)("Results");return(0,s.uX)(),(0,s.CE)("div",l,[L.isLoading?((0,s.uX)(),(0,s.Wv)(x,{key:0})):C.channel?((0,s.uX)(),(0,s.CE)("div",a,[(0,s.Lk)("div",r,[(0,s.Lk)("div",c,[C.channel?.banner?.length?((0,s.uX)(),(0,s.CE)("img",{key:0,src:C.channel.banner},null,8,o)):(0,s.Q3)("",!0)]),(0,s.Lk)("div",u,[(0,s.Lk)("div",d,[(0,s.Lk)("div",h,[(0,s.Lk)("div",b,[C.channel?.image?.length?((0,s.uX)(),(0,s.CE)("a",{key:0,href:C.channel.url,target:"_blank",rel:"noopener noreferrer"},[(0,s.Lk)("div",p,[(0,s.Lk)("img",{src:C.channel.image},null,8,y)])],8,g)):(0,s.Q3)("",!0),(0,s.Lk)("a",{class:"title",href:C.channel.url,target:"_blank",rel:"noopener noreferrer"},(0,i.v_)(C.channel?.name),9,m)]),(0,s.Lk)("div",f,[(0,s.Lk)("button",{title:C.subscribed?"Unsubscribe":"Subscribe",onClick:n[0]||(n[0]=(...e)=>L.toggleSubscription&&L.toggleSubscription(...e))},(0,i.v_)(C.subscribed?"Unsubscribe":"Subscribe"),9,k),null!=C.channel.subscribers&&(C.channel.subscribers||0)>=0?((0,s.uX)(),(0,s.CE)("div",v,(0,i.v_)(e.formatNumber(C.channel.subscribers))+" subscribers ",1)):(0,s.Q3)("",!0)])]),C.channel?.description?((0,s.uX)(),(0,s.CE)("div",w,(0,i.v_)(C.channel.description),1)):(0,s.Q3)("",!0)])])]),(0,s.bF)(S,{results:C.channel.items,filter:t.filter,"result-index-step":null,"selected-result":C.selectedResult,ref:"results",onAddToPlaylist:n[1]||(n[1]=n=>e.$emit("add-to-playlist",n)),onDownload:n[2]||(n[2]=n=>e.$emit("download",n)),onDownloadAudio:n[3]||(n[3]=n=>e.$emit("download-audio",n)),onOpenChannel:n[4]||(n[4]=n=>e.$emit("open-channel",n)),onPlay:n[5]||(n[5]=n=>e.$emit("play",n)),onPlayWithOpts:n[6]||(n[6]=n=>e.$emit("play-with-opts",n)),onScrollEnd:L.loadNextPage,onSelect:n[7]||(n[7]=e=>C.selectedResult=e),onView:n[8]||(n[8]=n=>e.$emit("view",n))},null,8,["results","filter","selected-result","onScrollEnd"])])):(0,s.Q3)("",!0)])}var C=t(9828),L=t(3149),x=t(2002),S={mixins:[x.A],emits:["add-to-playlist","download","download-audio","open-channel","play","play-with-opts","view"],components:{Loading:C.A,Results:L.A},props:{id:{type:String,required:!0},filter:{type:String,default:null},loading:{type:Boolean,default:!1}},data(){return{channel:null,loading_:!1,loadingNextPage:!1,selectedResult:null,subscribed:!1}},computed:{isLoading(){return this.loading||this.loading_},itemsByUrl(){return this.channel?.items.reduce(((e,n)=>(e[n.url]=n,e)),{})}},methods:{async loadChannel(){this.loading_=!0;try{await this.updateChannel(!0),this.subscribed=await this.request("youtube.is_subscribed",{channel_id:this.id})}finally{this.loading_=!1}},async updateChannel(e){const n=await this.request("youtube.get_channel",{id:this.id,next_page_token:this.channel?.next_page_token}),t=this.itemsByUrl||{};let s=n.items.filter((e=>!t[e.url])).map((e=>({type:"youtube",...e})));e||(s=this.channel.items.concat(s)),this.channel=n,this.channel.items=s},async loadNextPage(){if(this.channel?.next_page_token&&!this.loadingNextPage){this.loadingNextPage=!0;try{await this.timeout(500),await this.updateChannel()}finally{this.loadingNextPage=!1}}},async toggleSubscription(){const e=this.subscribed?"unsubscribe":"subscribe";await this.request(`youtube.${e}`,{channel_id:this.id}),this.subscribed=!this.subscribed}},async mounted(){this.setUrlArgs({channel:this.id}),await this.loadChannel()},unmounted(){this.setUrlArgs({channel:null})}},P=t(6262);const A=(0,P.A)(S,[["render",_],["__scopeId","data-v-448cf852"]]);var E=A}}]);
//# sourceMappingURL=1014.d3f7fcf2.js.map
//# sourceMappingURL=1014.d716edc5.js.map

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View file

@ -0,0 +1,2 @@
"use strict";(self["webpackChunkplatypush"]=self["webpackChunkplatypush"]||[]).push([[1381],{3778:function(t,n,c){c.d(n,{A:function(){return d}});var r=c(641),e=c(33);const l={class:"icon-container"},s=["src","alt"];function a(t,n,c,a,u,o){return(0,r.uX)(),(0,r.CE)("div",l,[c.url?.length?((0,r.uX)(),(0,r.CE)("img",{key:0,class:"icon",src:c.url,alt:c.alt},null,8,s)):o.className?.length?((0,r.uX)(),(0,r.CE)("i",{key:1,class:(0,e.C4)(["icon",o.className]),style:(0,e.Tr)({color:c.color})},null,6)):(0,r.Q3)("",!0)])}var u={props:{class:{type:String},url:{type:String},color:{type:String,default:""},alt:{type:String,default:""}},computed:{className(){return this.class}}},o=c(6262);const i=(0,o.A)(u,[["render",a],["__scopeId","data-v-706a3bd1"]]);var d=i},8567:function(t,n,c){c.r(n),c.d(n,{default:function(){return i}});var r=c(641);const e={class:"row plugin execute-container"};function l(t,n,c,l,s,a){const u=(0,r.g2)("ActionEditor");return(0,r.uX)(),(0,r.CE)("div",e,[(0,r.Lk)("main",null,[n[0]||(n[0]=(0,r.Lk)("h1",null,"Execute Action",-1)),(0,r.bF)(u)])])}var s=c(5928),a={components:{ActionEditor:s.A}},u=c(6262);const o=(0,u.A)(a,[["render",l],["__scopeId","data-v-7c29571d"]]);var i=o}}]);
//# sourceMappingURL=1381.a0aa4de0.js.map

View file

@ -0,0 +1 @@
{"version":3,"file":"static/js/1381.a0aa4de0.js","mappings":"gLACOA,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,0FCROrB,MAAM,gC,2EAAXC,EAAAA,EAAAA,IAMM,MANNC,EAMM,EAJJoB,EAAAA,EAAAA,IAGO,0BAFLA,EAAAA,EAAAA,IAAuB,UAAnB,kBAAc,KAClBC,EAAAA,EAAAA,IAAgBC,M,eAQtB,GACEC,WAAY,CACVC,aAAYA,EAAAA,I,UCRhB,MAAMN,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","_createVNode","_component_ActionEditor","components","ActionEditor"],"sourceRoot":""}

View file

@ -1,2 +0,0 @@
"use strict";(self["webpackChunkplatypush"]=self["webpackChunkplatypush"]||[]).push([[1381],{3778:function(t,n,c){c.d(n,{A:function(){return d}});var r=c(641),e=c(33);const a={class:"icon-container"},l=["src","alt"];function s(t,n,c,s,u,o){return(0,r.uX)(),(0,r.CE)("div",a,[c.url?.length?((0,r.uX)(),(0,r.CE)("img",{key:0,class:"icon",src:c.url,alt:c.alt},null,8,l)):o.className?.length?((0,r.uX)(),(0,r.CE)("i",{key:1,class:(0,e.C4)(["icon",o.className]),style:(0,e.Tr)({color:c.color})},null,6)):(0,r.Q3)("",!0)])}var u={props:{class:{type:String},url:{type:String},color:{type:String,default:""},alt:{type:String,default:""}},computed:{className(){return this.class}}},o=c(6262);const i=(0,o.A)(u,[["render",s],["__scopeId","data-v-706a3bd1"]]);var d=i},8567:function(t,n,c){c.r(n),c.d(n,{default:function(){return p}});var r=c(641);const e=t=>((0,r.Qi)("data-v-7c29571d"),t=t(),(0,r.jt)(),t),a={class:"row plugin execute-container"},l=e((()=>(0,r.Lk)("h1",null,"Execute Action",-1)));function s(t,n,c,e,s,u){const o=(0,r.g2)("ActionEditor");return(0,r.uX)(),(0,r.CE)("div",a,[(0,r.Lk)("main",null,[l,(0,r.bF)(o)])])}var u=c(5928),o={components:{ActionEditor:u.A}},i=c(6262);const d=(0,i.A)(o,[["render",s],["__scopeId","data-v-7c29571d"]]);var p=d}}]);
//# sourceMappingURL=1381.e35aece2.js.map

View file

@ -1 +0,0 @@
{"version":3,"file":"static/js/1381.e35aece2.js","mappings":"gLACOA,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,gJCROrB,MAAM,gC,UAGPsB,EAAAA,EAAAA,IAAuB,UAAnB,kBAAc,K,2EAHtBrB,EAAAA,EAAAA,IAMM,MANNC,EAMM,EAJJoB,EAAAA,EAAAA,IAGO,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([[1391],{1391:function(e,t,s){s.r(t),s.d(t,{default:function(){return l}});var n=s(641),o=s(33);const a={class:"date-time"},r=["textContent"],i=["textContent"];function u(e,t,s,u,h,d){return(0,n.uX)(),(0,n.CE)("div",a,[d._showDate?((0,n.uX)(),(0,n.CE)("div",{key:0,class:"date",textContent:(0,o.v_)(e.formatDate(e.now))},null,8,r)):(0,n.Q3)("",!0),d._showTime?((0,n.uX)(),(0,n.CE)("div",{key:1,class:"time",textContent:(0,o.v_)(e.formatTime(e.now,d._showSeconds))},null,8,i)):(0,n.Q3)("",!0)])}var h=s(2002),d={name:"DateTime",mixins:[h.A],props:{showDate:{required:!1,default:!0},showTime:{required:!1,default:!0},showSeconds:{required:!1,default:!0}},computed:{_showTime(){return this.parseBoolean(this.showTime)},_showDate(){return this.parseBoolean(this.showDate)},_showSeconds(){return this.parseBoolean(this.showSeconds)}},data:function(){return{now:new Date}},methods:{refreshTime(){this.now=new Date}},mounted:function(){this.refreshTime(),setInterval(this.refreshTime,1e3)}},c=s(6262);const w=(0,c.A)(d,[["render",u],["__scopeId","data-v-ca42eb9c"]]);var l=w}}]);
//# sourceMappingURL=1391.da7b4d26.js.map
//# sourceMappingURL=1391.f4920051.js.map

View file

@ -1 +1 @@
{"version":3,"file":"static/js/1391.da7b4d26.js","mappings":"6LACOA,MAAM,a,8EAAXC,EAAAA,EAAAA,IAGM,MAHNC,EAGM,CAF6CC,EAAAC,YAAS,WAA1DH,EAAAA,EAAAA,IAA8D,O,MAAzDD,MAAM,O,aAAOK,EAAAA,EAAAA,IAAQC,EAAgBC,WAALD,EAAAE,O,2BAC0BL,EAAAM,YAAS,WAAxER,EAAAA,EAAAA,IAA4E,O,MAAvED,MAAM,O,aAAOK,EAAAA,EAAAA,IAAQC,EAA8BI,WAAnBJ,EAAAE,IAAKL,EAAAQ,gB,2CAQ9C,GACEC,KAAM,WACNC,OAAQ,CAACC,EAAAA,GACTC,MAAO,CAELC,SAAU,CACRC,UAAU,EACVC,SAAS,GAIXC,SAAU,CACRF,UAAU,EACVC,SAAS,GAIXE,YAAa,CACXH,UAAU,EACVC,SAAS,IAIbG,SAAU,CACRZ,SAAAA,GACE,OAAOa,KAAKC,aAAaD,KAAKH,SAChC,EAEAf,SAAAA,GACE,OAAOkB,KAAKC,aAAaD,KAAKN,SAChC,EAEAL,YAAAA,GACE,OAAOW,KAAKC,aAAaD,KAAKF,YAChC,GAGFI,KAAM,WACJ,MAAO,CACLhB,IAAK,IAAIiB,KAEb,EAEAC,QAAS,CACPC,WAAAA,GACEL,KAAKd,IAAM,IAAIiB,IACjB,GAGFG,QAAS,WACPN,KAAKK,cACLE,YAAYP,KAAKK,YAAa,IAChC,G,UCxDF,MAAMG,GAA2B,OAAgB,EAAQ,CAAC,CAAC,SAASC,GAAQ,CAAC,YAAY,qBAEzF,O","sources":["webpack://platypush/./src/components/widgets/DateTime/Index.vue","webpack://platypush/./src/components/widgets/DateTime/Index.vue?dfd6"],"sourcesContent":["<template>\n <div class=\"date-time\">\n <div class=\"date\" v-text=\"formatDate(now)\" v-if=\"_showDate\" />\n <div class=\"time\" v-text=\"formatTime(now, _showSeconds)\" v-if=\"_showTime\" />\n </div>\n</template>\n\n<script>\nimport Utils from \"@/Utils\";\n\n// Widget to show date and time\nexport default {\n name: 'DateTime',\n mixins: [Utils],\n props: {\n // If false then don't display the date.\n showDate: {\n required: false,\n default: true,\n },\n\n // If false then don't display the time.\n showTime: {\n required: false,\n default: true,\n },\n\n // If false then don't display the seconds.\n showSeconds: {\n required: false,\n default: true,\n },\n },\n\n computed: {\n _showTime() {\n return this.parseBoolean(this.showTime)\n },\n\n _showDate() {\n return this.parseBoolean(this.showDate)\n },\n\n _showSeconds() {\n return this.parseBoolean(this.showSeconds)\n },\n },\n\n data: function() {\n return {\n now: new Date(),\n };\n },\n\n methods: {\n refreshTime() {\n this.now = new Date()\n },\n },\n\n mounted: function() {\n this.refreshTime()\n setInterval(this.refreshTime, 1000)\n },\n}\n</script>\n\n<style lang=\"scss\" scoped>\n.date-time {\n .date {\n font-size: 1.3em;\n }\n\n .time {\n font-size: 2em;\n }\n}\n</style>\n","import { render } from \"./Index.vue?vue&type=template&id=ca42eb9c&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=ca42eb9c&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-ca42eb9c\"]])\n\nexport default __exports__"],"names":["class","_createElementBlock","_hoisted_1","$options","_showDate","_toDisplayString","_ctx","formatDate","now","_showTime","formatTime","_showSeconds","name","mixins","Utils","props","showDate","required","default","showTime","showSeconds","computed","this","parseBoolean","data","Date","methods","refreshTime","mounted","setInterval","__exports__","render"],"sourceRoot":""}
{"version":3,"file":"static/js/1391.f4920051.js","mappings":"6LACOA,MAAM,a,8EAAXC,EAAAA,EAAAA,IAGM,MAHNC,EAGM,CAF6CC,EAAAC,YAAS,WAA1DH,EAAAA,EAAAA,IAA8D,O,MAAzDD,MAAM,O,aAAOK,EAAAA,EAAAA,IAAQC,EAAgBC,WAALD,EAAAE,O,2BAC0BL,EAAAM,YAAS,WAAxER,EAAAA,EAAAA,IAA4E,O,MAAvED,MAAM,O,aAAOK,EAAAA,EAAAA,IAAQC,EAA8BI,WAAnBJ,EAAAE,IAAKL,EAAAQ,gB,2CAQ9C,GACEC,KAAM,WACNC,OAAQ,CAACC,EAAAA,GACTC,MAAO,CAELC,SAAU,CACRC,UAAU,EACVC,SAAS,GAIXC,SAAU,CACRF,UAAU,EACVC,SAAS,GAIXE,YAAa,CACXH,UAAU,EACVC,SAAS,IAIbG,SAAU,CACRZ,SAAAA,GACE,OAAOa,KAAKC,aAAaD,KAAKH,SAChC,EAEAf,SAAAA,GACE,OAAOkB,KAAKC,aAAaD,KAAKN,SAChC,EAEAL,YAAAA,GACE,OAAOW,KAAKC,aAAaD,KAAKF,YAChC,GAGFI,KAAM,WACJ,MAAO,CACLhB,IAAK,IAAIiB,KAEb,EAEAC,QAAS,CACPC,WAAAA,GACEL,KAAKd,IAAM,IAAIiB,IACjB,GAGFG,QAAS,WACPN,KAAKK,cACLE,YAAYP,KAAKK,YAAa,IAChC,G,UCxDF,MAAMG,GAA2B,OAAgB,EAAQ,CAAC,CAAC,SAASC,GAAQ,CAAC,YAAY,qBAEzF,O","sources":["webpack://platypush/./src/components/widgets/DateTime/Index.vue","webpack://platypush/./src/components/widgets/DateTime/Index.vue?dfd6"],"sourcesContent":["<template>\n <div class=\"date-time\">\n <div class=\"date\" v-text=\"formatDate(now)\" v-if=\"_showDate\" />\n <div class=\"time\" v-text=\"formatTime(now, _showSeconds)\" v-if=\"_showTime\" />\n </div>\n</template>\n\n<script>\nimport Utils from \"@/Utils\";\n\n// Widget to show date and time\nexport default {\n name: 'DateTime',\n mixins: [Utils],\n props: {\n // If false then don't display the date.\n showDate: {\n required: false,\n default: true,\n },\n\n // If false then don't display the time.\n showTime: {\n required: false,\n default: true,\n },\n\n // If false then don't display the seconds.\n showSeconds: {\n required: false,\n default: true,\n },\n },\n\n computed: {\n _showTime() {\n return this.parseBoolean(this.showTime)\n },\n\n _showDate() {\n return this.parseBoolean(this.showDate)\n },\n\n _showSeconds() {\n return this.parseBoolean(this.showSeconds)\n },\n },\n\n data: function() {\n return {\n now: new Date(),\n };\n },\n\n methods: {\n refreshTime() {\n this.now = new Date()\n },\n },\n\n mounted: function() {\n this.refreshTime()\n setInterval(this.refreshTime, 1000)\n },\n}\n</script>\n\n<style lang=\"scss\" scoped>\n.date-time {\n .date {\n font-size: 1.3em;\n }\n\n .time {\n font-size: 2em;\n }\n}\n</style>\n","import { render } from \"./Index.vue?vue&type=template&id=ca42eb9c&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=ca42eb9c&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-ca42eb9c\"]])\n\nexport default __exports__"],"names":["class","_createElementBlock","_hoisted_1","$options","_showDate","_toDisplayString","_ctx","formatDate","now","_showTime","formatTime","_showSeconds","name","mixins","Utils","props","showDate","required","default","showTime","showSeconds","computed","this","parseBoolean","data","Date","methods","refreshTime","mounted","setInterval","__exports__","render"],"sourceRoot":""}

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

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 +0,0 @@
"use strict";(self["webpackChunkplatypush"]=self["webpackChunkplatypush"]||[]).push([[1526],{9960:function(t,e,a){a.d(e,{A:function(){return y}});var n=a(641),l=a(3751);const i=t=>((0,n.Qi)("data-v-a248454a"),t=t(),(0,n.jt)(),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"],k=i((()=>(0,n.Lk)("i",{class:"fa fa-volume-up"},null,-1))),g=[k];function v(t,e,a,i,k,v){return(0,n.uX)(),(0,n.CE)("div",s,[(0,n.Lk)("form",{onSubmit:e[0]||(e[0]=(0,l.D$)(((...t)=>v.talk&&v.talk(...t)),["prevent"]))},[(0,n.Lk)("div",u,[(0,n.Lk)("label",null,[(0,n.Lk)("input",{type:"text",name:"text",placeholder:"Text to say",disabled:k.talking},null,8,r)])]),(0,n.Lk)("div",d,[(0,n.Lk)("label",null,[(0,n.Lk)("input",{type:"text",name:"language",placeholder:"Language code",disabled:k.talking},null,8,o)])]),(0,n.Lk)("div",c,[(0,n.Lk)("button",{type:"submit",disabled:k.talking},g,8,p)])],32)])}var f=a(2002),m={name:"Panel",mixins:[f.A],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}}}},b=a(6262);const h=(0,b.A)(m,[["render",v],["__scopeId","data-v-a248454a"]]);var y=h},1526:function(t,e,a){a.r(e),a.d(e,{default:function(){return d}});var n=a(641);function l(t,e,a,l,i,s){const u=(0,n.g2)("Panel");return(0,n.uX)(),(0,n.Wv)(u,{"plugin-name":"tts.google"})}var i=a(9960),s={name:"Tts",components:{Panel:i.A}},u=a(6262);const r=(0,u.A)(s,[["render",l]]);var d=r}}]);
//# sourceMappingURL=1526.2a6244ef.js.map

File diff suppressed because one or more lines are too long

View file

@ -0,0 +1,2 @@
"use strict";(self["webpackChunkplatypush"]=self["webpackChunkplatypush"]||[]).push([[1526],{9960:function(t,e,n){n.d(e,{A:function(){return m}});var a=n(641),l=n(3751);const i={class:"tts-container"},s={class:"field text-container"},u=["disabled"],r={class:"field lang-container"},d=["disabled"],o={class:"field buttons"},c=["disabled"];function p(t,e,n,p,k,g){return(0,a.uX)(),(0,a.CE)("div",i,[(0,a.Lk)("form",{onSubmit:e[0]||(e[0]=(0,l.D$)(((...t)=>g.talk&&g.talk(...t)),["prevent"]))},[(0,a.Lk)("div",s,[(0,a.Lk)("label",null,[(0,a.Lk)("input",{type:"text",name:"text",placeholder:"Text to say",disabled:k.talking},null,8,u)])]),(0,a.Lk)("div",r,[(0,a.Lk)("label",null,[(0,a.Lk)("input",{type:"text",name:"language",placeholder:"Language code",disabled:k.talking},null,8,d)])]),(0,a.Lk)("div",o,[(0,a.Lk)("button",{type:"submit",disabled:k.talking},e[1]||(e[1]=[(0,a.Lk)("i",{class:"fa fa-volume-up"},null,-1)]),8,c)])],32)])}var k=n(2002),g={name:"Panel",mixins:[k.A],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}}}},f=n(6262);const v=(0,f.A)(g,[["render",p],["__scopeId","data-v-a248454a"]]);var m=v},1526:function(t,e,n){n.r(e),n.d(e,{default:function(){return d}});var a=n(641);function l(t,e,n,l,i,s){const u=(0,a.g2)("Panel");return(0,a.uX)(),(0,a.Wv)(u,{"plugin-name":"tts.google"})}var i=n(9960),s={name:"Tts",components:{Panel:i.A}},u=n(6262);const r=(0,u.A)(s,[["render",l]]);var d=r}}]);
//# sourceMappingURL=1526.52cf0f9d.js.map

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

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([[1684],{1684:function(e,n,t){t.r(n),t.d(n,{default:function(){return i}});var u=t(641);function a(e,n,t,a,r,c){const s=(0,u.g2)("Media");return(0,u.uX)(),(0,u.Wv)(s,{"plugin-name":"media.chromecast"})}var r=t(4277),c={components:{Media:r["default"]}},s=t(6262);const p=(0,s.A)(c,[["render",a]]);var i=p}}]);
//# sourceMappingURL=1684.18297ca9.js.map
"use strict";(self["webpackChunkplatypush"]=self["webpackChunkplatypush"]||[]).push([[1684],{1684:function(e,n,t){t.r(n),t.d(n,{default:function(){return i}});var u=t(641);function a(e,n,t,a,r,c){const s=(0,u.g2)("Media");return(0,u.uX)(),(0,u.Wv)(s,{"plugin-name":"media.chromecast"})}var r=t(2673),c={components:{Media:r["default"]}},s=t(6262);const p=(0,s.A)(c,[["render",a]]);var i=p}}]);
//# sourceMappingURL=1684.f83b323e.js.map

View file

@ -1 +1 @@
{"version":3,"file":"static/js/1684.18297ca9.js","mappings":"gPACEA,EAAAA,EAAAA,IAAwCC,EAAA,CAAjC,cAAY,oB,eAMrB,GACEC,WAAY,CAACC,MAAKA,EAAAA,a,UCHpB,MAAMC,GAA2B,OAAgB,EAAQ,CAAC,CAAC,SAASC,KAEpE,O","sources":["webpack://platypush/./src/components/panels/MediaChromecast/Index.vue","webpack://platypush/./src/components/panels/MediaChromecast/Index.vue?bdff"],"sourcesContent":["<template>\n <Media plugin-name=\"media.chromecast\" />\n</template>\n\n<script>\nimport Media from '@/components/panels/Media/Index'\n\nexport default {\n components: {Media},\n}\n</script>\n\n<style scoped>\n\n</style>\n","import { render } from \"./Index.vue?vue&type=template&id=1adadaac\"\nimport script from \"./Index.vue?vue&type=script&lang=js\"\nexport * from \"./Index.vue?vue&type=script&lang=js\"\n\nimport exportComponent from \"../../../../node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__"],"names":["_createBlock","_component_Media","components","Media","__exports__","render"],"sourceRoot":""}
{"version":3,"file":"static/js/1684.f83b323e.js","mappings":"gPACEA,EAAAA,EAAAA,IAAwCC,EAAA,CAAjC,cAAY,oB,eAMrB,GACEC,WAAY,CAACC,MAAKA,EAAAA,a,UCHpB,MAAMC,GAA2B,OAAgB,EAAQ,CAAC,CAAC,SAASC,KAEpE,O","sources":["webpack://platypush/./src/components/panels/MediaChromecast/Index.vue","webpack://platypush/./src/components/panels/MediaChromecast/Index.vue?bdff"],"sourcesContent":["<template>\n <Media plugin-name=\"media.chromecast\" />\n</template>\n\n<script>\nimport Media from '@/components/panels/Media/Index'\n\nexport default {\n components: {Media},\n}\n</script>\n\n<style scoped>\n\n</style>\n","import { render } from \"./Index.vue?vue&type=template&id=1adadaac\"\nimport script from \"./Index.vue?vue&type=script&lang=js\"\nexport * from \"./Index.vue?vue&type=script&lang=js\"\n\nimport exportComponent from \"../../../../node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__"],"names":["_createBlock","_component_Media","components","Media","__exports__","render"],"sourceRoot":""}

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

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 +0,0 @@
"use strict";(self["webpackChunkplatypush"]=self["webpackChunkplatypush"]||[]).push([[1918],{6561:function(e,t,a){a.d(t,{A:function(){return u}});var s=a(641),l=a(33);const i={class:"no-items-container"};function n(e,t,a,n,o,d){return(0,s.uX)(),(0,s.CE)("div",i,[(0,s.Lk)("div",{class:(0,l.C4)(["no-items fade-in",{shadow:a.withShadow}])},[(0,s.RG)(e.$slots,"default",{},void 0,!0)],2)])}var o={name:"NoItems",props:{withShadow:{type:Boolean,default:!0}}},d=a(6262);const r=(0,d.A)(o,[["render",n],["__scopeId","data-v-4856c4d7"]]);var u=r},1918:function(e,t,a){a.r(t),a.d(t,{default:function(){return E}});var s=a(641),l=a(33);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"},v={key:0,class:"row"},f={class:"description"},k={key:1,class:"row"},w={class:"channel"},g=["href"];function _(e,t,a,_,C,L){const b=(0,s.g2)("Loading"),A=(0,s.g2)("NoItems"),X=(0,s.g2)("Results");return(0,s.uX)(),(0,s.CE)("div",i,[C.loading?((0,s.uX)(),(0,s.Wv)(b,{key:0})):((0,s.uX)(),(0,s.CE)("div",n,[(0,s.Lk)("div",o,[(0,s.Lk)("div",d,[a.metadata?.image?.length?((0,s.uX)(),(0,s.CE)("img",{key:0,src:a.metadata?.image},null,8,r)):(0,s.Q3)("",!0)]),(0,s.Lk)("div",u,[(0,s.Lk)("div",c,[(0,s.Lk)("div",m,[a.metadata?.url?((0,s.uX)(),(0,s.CE)("a",{key:0,class:"title",href:a.metadata?.url,target:"_blank",rel:"noopener noreferrer"},(0,l.v_)(L.name),9,p)):((0,s.uX)(),(0,s.CE)("span",h,(0,l.v_)(L.name),1)),(0,s.Lk)("div",y,(0,l.v_)(L.nItems)+" videos",1)]),a.metadata?.description?((0,s.uX)(),(0,s.CE)("div",v,[(0,s.Lk)("div",f,(0,l.v_)(a.metadata?.description),1)])):(0,s.Q3)("",!0),a.metadata?.channel_url?((0,s.uX)(),(0,s.CE)("div",k,[(0,s.Lk)("div",w,[(0,s.eW)(" Uploaded by "),(0,s.Lk)("a",{href:a.metadata.channel_url,target:"_blank",rel:"noopener noreferrer"},(0,l.v_)(a.metadata?.channel),9,g)])])):(0,s.Q3)("",!0)])])]),L.nItems?((0,s.uX)(),(0,s.Wv)(X,{key:1,results:C.items,sources:{youtube:!0},filter:a.filter,playlist:a.id,"selected-result":C.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)),onPlayWithOpts:t[5]||(t[5]=t=>e.$emit("play-with-opts",t)),onRemoveFromPlaylist:t[6]||(t[6]=t=>e.$emit("remove-from-playlist",t)),onSelect:t[7]||(t[7]=e=>C.selectedResult=e),onView:t[8]||(t[8]=t=>e.$emit("view",t))},null,8,["results","filter","playlist","selected-result"])):((0,s.uX)(),(0,s.Wv)(A,{key:0,"with-shadow":!1},{default:(0,s.k6)((()=>[(0,s.eW)(" No videos found. ")])),_:1}))]))])}var C=a(6561),L=a(9828),b=a(3149),A=a(2002),X={mixins:[A.A],emits:["add-to-playlist","download","download-audio","open-channel","play","play-with-opts","remove-from-playlist","view"],components:{Loading:L.A,NoItems:C.A,Results:b.A},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})}},I=a(6262);const $=(0,I.A)(X,[["render",_],["__scopeId","data-v-7dfc81fd"]]);var E=$}}]);
//# sourceMappingURL=1918.0c058439.js.map

File diff suppressed because one or more lines are too long

View file

@ -0,0 +1,2 @@
"use strict";(self["webpackChunkplatypush"]=self["webpackChunkplatypush"]||[]).push([[1918],{6561:function(e,t,a){a.d(t,{A:function(){return u}});var s=a(641),l=a(33);const i={class:"no-items-container"};function n(e,t,a,n,o,d){return(0,s.uX)(),(0,s.CE)("div",i,[(0,s.Lk)("div",{class:(0,l.C4)(["no-items fade-in",{shadow:a.withShadow}])},[(0,s.RG)(e.$slots,"default",{},void 0,!0)],2)])}var o={name:"NoItems",props:{withShadow:{type:Boolean,default:!0}}},d=a(6262);const r=(0,d.A)(o,[["render",n],["__scopeId","data-v-4856c4d7"]]);var u=r},1918:function(e,t,a){a.r(t),a.d(t,{default:function(){return E}});var s=a(641),l=a(33);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"},v={key:0,class:"row"},f={class:"description"},k={key:1,class:"row"},w={class:"channel"},g=["href"];function _(e,t,a,_,C,L){const b=(0,s.g2)("Loading"),A=(0,s.g2)("NoItems"),X=(0,s.g2)("Results");return(0,s.uX)(),(0,s.CE)("div",i,[C.loading?((0,s.uX)(),(0,s.Wv)(b,{key:0})):((0,s.uX)(),(0,s.CE)("div",n,[(0,s.Lk)("div",o,[(0,s.Lk)("div",d,[a.metadata?.image?.length?((0,s.uX)(),(0,s.CE)("img",{key:0,src:a.metadata?.image},null,8,r)):(0,s.Q3)("",!0)]),(0,s.Lk)("div",u,[(0,s.Lk)("div",c,[(0,s.Lk)("div",m,[a.metadata?.url?((0,s.uX)(),(0,s.CE)("a",{key:0,class:"title",href:a.metadata?.url,target:"_blank",rel:"noopener noreferrer"},(0,l.v_)(L.name),9,p)):((0,s.uX)(),(0,s.CE)("span",h,(0,l.v_)(L.name),1)),(0,s.Lk)("div",y,(0,l.v_)(L.nItems)+" videos",1)]),a.metadata?.description?((0,s.uX)(),(0,s.CE)("div",v,[(0,s.Lk)("div",f,(0,l.v_)(a.metadata?.description),1)])):(0,s.Q3)("",!0),a.metadata?.channel_url?((0,s.uX)(),(0,s.CE)("div",k,[(0,s.Lk)("div",w,[t[9]||(t[9]=(0,s.eW)(" Uploaded by ")),(0,s.Lk)("a",{href:a.metadata.channel_url,target:"_blank",rel:"noopener noreferrer"},(0,l.v_)(a.metadata?.channel),9,g)])])):(0,s.Q3)("",!0)])])]),L.nItems?((0,s.uX)(),(0,s.Wv)(X,{key:1,results:C.items,sources:{youtube:!0},filter:a.filter,playlist:a.id,"selected-result":C.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)),onPlayWithOpts:t[5]||(t[5]=t=>e.$emit("play-with-opts",t)),onRemoveFromPlaylist:t[6]||(t[6]=t=>e.$emit("remove-from-playlist",t)),onSelect:t[7]||(t[7]=e=>C.selectedResult=e),onView:t[8]||(t[8]=t=>e.$emit("view",t))},null,8,["results","filter","playlist","selected-result"])):((0,s.uX)(),(0,s.Wv)(A,{key:0,"with-shadow":!1},{default:(0,s.k6)((()=>t[10]||(t[10]=[(0,s.eW)(" No videos found. ")]))),_:1}))]))])}var C=a(6561),L=a(9828),b=a(3149),A=a(2002),X={mixins:[A.A],emits:["add-to-playlist","download","download-audio","open-channel","play","play-with-opts","remove-from-playlist","view"],components:{Loading:L.A,NoItems:C.A,Results:b.A},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})}},I=a(6262);const $=(0,I.A)(X,[["render",_],["__scopeId","data-v-7dfc81fd"]]);var E=$}}]);
//# sourceMappingURL=1918.b62aff74.js.map

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

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 +0,0 @@
"use strict";(self["webpackChunkplatypush"]=self["webpackChunkplatypush"]||[]).push([[2392],{2392:function(t,a,e){e.r(a),e.d(a,{default:function(){return d}});var n=e(641);function l(t,a,e,l,i,s){const u=(0,n.g2)("Panel");return(0,n.uX)(),(0,n.Wv)(u,{"plugin-name":"tts"})}var i=e(9960),s={name:"Tts",components:{Panel:i.A}},u=e(6262);const r=(0,u.A)(s,[["render",l]]);var d=r},9960:function(t,a,e){e.d(a,{A:function(){return y}});var n=e(641),l=e(3751);const i=t=>((0,n.Qi)("data-v-a248454a"),t=t(),(0,n.jt)(),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"],k=i((()=>(0,n.Lk)("i",{class:"fa fa-volume-up"},null,-1))),g=[k];function v(t,a,e,i,k,v){return(0,n.uX)(),(0,n.CE)("div",s,[(0,n.Lk)("form",{onSubmit:a[0]||(a[0]=(0,l.D$)(((...t)=>v.talk&&v.talk(...t)),["prevent"]))},[(0,n.Lk)("div",u,[(0,n.Lk)("label",null,[(0,n.Lk)("input",{type:"text",name:"text",placeholder:"Text to say",disabled:k.talking},null,8,r)])]),(0,n.Lk)("div",d,[(0,n.Lk)("label",null,[(0,n.Lk)("input",{type:"text",name:"language",placeholder:"Language code",disabled:k.talking},null,8,c)])]),(0,n.Lk)("div",o,[(0,n.Lk)("button",{type:"submit",disabled:k.talking},g,8,p)])],32)])}var f=e(2002),m={name:"Panel",mixins:[f.A],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}}}},b=e(6262);const h=(0,b.A)(m,[["render",v],["__scopeId","data-v-a248454a"]]);var y=h}}]);
//# sourceMappingURL=2392.4424c61f.js.map

File diff suppressed because one or more lines are too long

View file

@ -0,0 +1,2 @@
"use strict";(self["webpackChunkplatypush"]=self["webpackChunkplatypush"]||[]).push([[2392],{2392:function(t,e,n){n.r(e),n.d(e,{default:function(){return d}});var a=n(641);function l(t,e,n,l,i,s){const u=(0,a.g2)("Panel");return(0,a.uX)(),(0,a.Wv)(u,{"plugin-name":"tts"})}var i=n(9960),s={name:"Tts",components:{Panel:i.A}},u=n(6262);const r=(0,u.A)(s,[["render",l]]);var d=r},9960:function(t,e,n){n.d(e,{A:function(){return m}});var a=n(641),l=n(3751);const i={class:"tts-container"},s={class:"field text-container"},u=["disabled"],r={class:"field lang-container"},d=["disabled"],c={class:"field buttons"},o=["disabled"];function p(t,e,n,p,k,g){return(0,a.uX)(),(0,a.CE)("div",i,[(0,a.Lk)("form",{onSubmit:e[0]||(e[0]=(0,l.D$)(((...t)=>g.talk&&g.talk(...t)),["prevent"]))},[(0,a.Lk)("div",s,[(0,a.Lk)("label",null,[(0,a.Lk)("input",{type:"text",name:"text",placeholder:"Text to say",disabled:k.talking},null,8,u)])]),(0,a.Lk)("div",r,[(0,a.Lk)("label",null,[(0,a.Lk)("input",{type:"text",name:"language",placeholder:"Language code",disabled:k.talking},null,8,d)])]),(0,a.Lk)("div",c,[(0,a.Lk)("button",{type:"submit",disabled:k.talking},e[1]||(e[1]=[(0,a.Lk)("i",{class:"fa fa-volume-up"},null,-1)]),8,o)])],32)])}var k=n(2002),g={name:"Panel",mixins:[k.A],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}}}},f=n(6262);const v=(0,f.A)(g,[["render",p],["__scopeId","data-v-a248454a"]]);var m=v}}]);
//# sourceMappingURL=2392.6203d19b.js.map

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

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 +0,0 @@
"use strict";(self["webpackChunkplatypush"]=self["webpackChunkplatypush"]||[]).push([[2908],{2908:function(a,e,n){n.r(e),n.d(e,{default:function(){return f}});var r=n(641);function u(a,e,n,u,t,c){const s=(0,r.g2)("Camera");return(0,r.uX)(),(0,r.Wv)(s,{"camera-plugin":"cv"})}var t=n(9284),c={name:"CameraCv",components:{Camera:t["default"]}},s=n(6262);const p=(0,s.A)(c,[["render",u]]);var f=p}}]);
//# sourceMappingURL=2908.b533383b.js.map

View file

@ -1 +0,0 @@
{"version":3,"file":"static/js/2908.b533383b.js","mappings":"iPACEA,EAAAA,EAAAA,IAA6BC,EAAA,CAArB,gBAAc,M,eAMxB,GACEC,KAAM,WACNC,WAAY,CAACC,OAAMA,EAAAA,a,UCJrB,MAAMC,GAA2B,OAAgB,EAAQ,CAAC,CAAC,SAASC,KAEpE,O","sources":["webpack://platypush/./src/components/panels/CameraCv/Index.vue","webpack://platypush/./src/components/panels/CameraCv/Index.vue?6f97"],"sourcesContent":["<template>\n <Camera camera-plugin=\"cv\" />\n</template>\n\n<script>\nimport Camera from \"@/components/panels/Camera/Index\";\n\nexport default {\n name: \"CameraCv\",\n components: {Camera},\n}\n</script>\n","import { render } from \"./Index.vue?vue&type=template&id=351194be\"\nimport script from \"./Index.vue?vue&type=script&lang=js\"\nexport * from \"./Index.vue?vue&type=script&lang=js\"\n\nimport exportComponent from \"../../../../node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__"],"names":["_createBlock","_component_Camera","name","components","Camera","__exports__","render"],"sourceRoot":""}

View file

@ -1,2 +1,2 @@
"use strict";(self["webpackChunkplatypush"]=self["webpackChunkplatypush"]||[]).push([[2910],{2910:function(n,e,t){t.r(e),t.d(e,{default:function(){return y}});var a=t(641),c=t(33);const i={class:"entity device-container"},l={class:"head"},s={class:"icon"},o={class:"label"},r=["textContent"];function u(n,e,t,u,d,v){const f=(0,a.g2)("EntityIcon");return(0,a.uX)(),(0,a.CE)("div",i,[(0,a.Lk)("div",l,[(0,a.Lk)("div",s,[(0,a.bF)(f,{entity:n.value,loading:n.loading,error:n.error},null,8,["entity","loading","error"])]),(0,a.Lk)("div",o,[(0,a.Lk)("div",{class:"name",textContent:(0,c.v_)(n.value.name)},null,8,r)])])])}var d=t(4897),v=t(1029),f={name:"Device",components:{EntityIcon:v["default"]},mixins:[d["default"]]},p=t(6262);const k=(0,p.A)(f,[["render",u],["__scopeId","data-v-07323f6c"]]);var y=k}}]);
//# sourceMappingURL=2910.8615cd77.js.map
//# sourceMappingURL=2910.9ae62eed.js.map

View file

@ -1 +1 @@
{"version":3,"file":"static/js/2910.8615cd77.js","mappings":"6LACOA,MAAM,2B,GACJA,MAAM,Q,GACJA,MAAM,Q,GAONA,MAAM,S,2FATfC,EAAAA,EAAAA,IAaM,MAbNC,EAaM,EAZJC,EAAAA,EAAAA,IAWM,MAXNC,EAWM,EAVJD,EAAAA,EAAAA,IAKM,MALNE,EAKM,EAJJC,EAAAA,EAAAA,IAGmBC,EAAA,CAFhBC,OAAQC,EAAAC,MACRC,QAASF,EAAAE,QACTC,MAAOH,EAAAG,O,wCAGZT,EAAAA,EAAAA,IAEM,MAFNU,EAEM,EADJV,EAAAA,EAAAA,IAAwC,OAAnCH,MAAM,O,aAAOc,EAAAA,EAAAA,IAAQL,EAAWC,MAALK,O,wCAUxC,GACEA,KAAM,SACNC,WAAY,CAACC,WAAUA,EAAAA,YACvBC,OAAQ,CAACC,EAAAA,a,UCjBX,MAAMC,GAA2B,OAAgB,EAAQ,CAAC,CAAC,SAASC,GAAQ,CAAC,YAAY,qBAEzF,O","sources":["webpack://platypush/./src/components/panels/Entities/Device.vue","webpack://platypush/./src/components/panels/Entities/Device.vue?1785"],"sourcesContent":["<template>\n <div class=\"entity device-container\">\n <div class=\"head\">\n <div class=\"icon\">\n <EntityIcon\n :entity=\"value\"\n :loading=\"loading\"\n :error=\"error\" />\n </div>\n\n <div class=\"label\">\n <div class=\"name\" v-text=\"value.name\" />\n </div>\n </div>\n </div>\n</template>\n\n<script>\nimport EntityMixin from \"./EntityMixin\"\nimport EntityIcon from \"./EntityIcon\"\n\nexport default {\n name: 'Device',\n components: {EntityIcon},\n mixins: [EntityMixin],\n}\n</script>\n\n<style lang=\"scss\" scoped>\n@import \"common\";\n</style>\n","import { render } from \"./Device.vue?vue&type=template&id=07323f6c&scoped=true\"\nimport script from \"./Device.vue?vue&type=script&lang=js\"\nexport * from \"./Device.vue?vue&type=script&lang=js\"\n\nimport \"./Device.vue?vue&type=style&index=0&id=07323f6c&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-07323f6c\"]])\n\nexport default __exports__"],"names":["class","_createElementBlock","_hoisted_1","_createElementVNode","_hoisted_2","_hoisted_3","_createVNode","_component_EntityIcon","entity","_ctx","value","loading","error","_hoisted_4","_toDisplayString","name","components","EntityIcon","mixins","EntityMixin","__exports__","render"],"sourceRoot":""}
{"version":3,"file":"static/js/2910.9ae62eed.js","mappings":"6LACOA,MAAM,2B,GACJA,MAAM,Q,GACJA,MAAM,Q,GAONA,MAAM,S,2FATfC,EAAAA,EAAAA,IAaM,MAbNC,EAaM,EAZJC,EAAAA,EAAAA,IAWM,MAXNC,EAWM,EAVJD,EAAAA,EAAAA,IAKM,MALNE,EAKM,EAJJC,EAAAA,EAAAA,IAGmBC,EAAA,CAFhBC,OAAQC,EAAAC,MACRC,QAASF,EAAAE,QACTC,MAAOH,EAAAG,O,wCAGZT,EAAAA,EAAAA,IAEM,MAFNU,EAEM,EADJV,EAAAA,EAAAA,IAAwC,OAAnCH,MAAM,O,aAAOc,EAAAA,EAAAA,IAAQL,EAAWC,MAALK,O,wCAUxC,GACEA,KAAM,SACNC,WAAY,CAACC,WAAUA,EAAAA,YACvBC,OAAQ,CAACC,EAAAA,a,UCjBX,MAAMC,GAA2B,OAAgB,EAAQ,CAAC,CAAC,SAASC,GAAQ,CAAC,YAAY,qBAEzF,O","sources":["webpack://platypush/./src/components/panels/Entities/Device.vue","webpack://platypush/./src/components/panels/Entities/Device.vue?1785"],"sourcesContent":["<template>\n <div class=\"entity device-container\">\n <div class=\"head\">\n <div class=\"icon\">\n <EntityIcon\n :entity=\"value\"\n :loading=\"loading\"\n :error=\"error\" />\n </div>\n\n <div class=\"label\">\n <div class=\"name\" v-text=\"value.name\" />\n </div>\n </div>\n </div>\n</template>\n\n<script>\nimport EntityMixin from \"./EntityMixin\"\nimport EntityIcon from \"./EntityIcon\"\n\nexport default {\n name: 'Device',\n components: {EntityIcon},\n mixins: [EntityMixin],\n}\n</script>\n\n<style lang=\"scss\" scoped>\n@import \"common\";\n</style>\n","import { render } from \"./Device.vue?vue&type=template&id=07323f6c&scoped=true\"\nimport script from \"./Device.vue?vue&type=script&lang=js\"\nexport * from \"./Device.vue?vue&type=script&lang=js\"\n\nimport \"./Device.vue?vue&type=style&index=0&id=07323f6c&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-07323f6c\"]])\n\nexport default __exports__"],"names":["class","_createElementBlock","_hoisted_1","_createElementVNode","_hoisted_2","_hoisted_3","_createVNode","_component_EntityIcon","entity","_ctx","value","loading","error","_hoisted_4","_toDisplayString","name","components","EntityIcon","mixins","EntityMixin","__exports__","render"],"sourceRoot":""}

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

Some files were not shown because too many files have changed in this diff Show more