forked from platypush/platypush
Updated dist files
This commit is contained in:
parent
deaedf2462
commit
314e1a98ef
133 changed files with 135 additions and 134 deletions
|
@ -39,6 +39,7 @@ Wiki
|
||||||
wiki/Configuration
|
wiki/Configuration
|
||||||
wiki/Installing-extensions
|
wiki/Installing-extensions
|
||||||
wiki/A-configuration-example
|
wiki/A-configuration-example
|
||||||
|
wiki/The-Web-interface
|
||||||
|
|
||||||
Reference
|
Reference
|
||||||
=========
|
=========
|
||||||
|
|
|
@ -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.e1112b55.js"></script><script defer="defer" src="/static/js/app.1e095017.js"></script><link href="/static/css/chunk-vendors.a2412607.css" rel="stylesheet"><link href="/static/css/app.078fd448.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.e1112b55.js"></script><script defer="defer" src="/static/js/app.87768159.js"></script><link href="/static/css/chunk-vendors.a2412607.css" rel="stylesheet"><link href="/static/css/app.078fd448.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
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
1
platypush/backend/http/webapp/dist/static/css/5143.084a713f.css
vendored
Normal file
1
platypush/backend/http/webapp/dist/static/css/5143.084a713f.css
vendored
Normal file
File diff suppressed because one or more lines are too long
2
platypush/backend/http/webapp/dist/static/js/1256.949dba0e.js
vendored
Normal file
2
platypush/backend/http/webapp/dist/static/js/1256.949dba0e.js
vendored
Normal file
File diff suppressed because one or more lines are too long
1
platypush/backend/http/webapp/dist/static/js/1256.949dba0e.js.map
vendored
Normal file
1
platypush/backend/http/webapp/dist/static/js/1256.949dba0e.js.map
vendored
Normal file
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
|
@ -1,2 +1,2 @@
|
||||||
"use strict";(self["webpackChunkplatypush"]=self["webpackChunkplatypush"]||[]).push([[169],{169:function(t,e,n){n.r(e),n.d(e,{default:function(){return x}});var l=n(6252),a=n(3577);const i={class:"entity sensor-container"},s={class:"head"},u={class:"icon"},o={class:"label"},r=["textContent"],c=["textContent"];function d(t,e,n,d,v,p){const f=(0,l.up)("EntityIcon");return(0,l.wg)(),(0,l.iD)("div",i,[(0,l._)("div",s,[(0,l._)("div",u,[(0,l.Wm)(f,{entity:t.value,loading:t.loading,error:t.error},null,8,["entity","loading","error"])]),(0,l._)("div",o,[(0,l._)("div",{class:"name",textContent:(0,a.zw)(t.value.name)},null,8,r)]),(0,l._)("div",{class:"value-container",textContent:(0,a.zw)(p.displayValue)},null,8,c)])])}var v=n(847),p=n(4967),f={name:"PercentSensor",components:{EntityIcon:p["default"]},mixins:[v["default"]],computed:{displayValue(){if(null==this.value.value)return null;let t=100*this.value.value;return(t.toString()==t.toFixed(0)?t.toFixed(0):t.toFixed(1))+"%"}}},y=n(3744);const h=(0,y.Z)(f,[["render",d],["__scopeId","data-v-1b6c81c2"]]);var x=h}}]);
|
"use strict";(self["webpackChunkplatypush"]=self["webpackChunkplatypush"]||[]).push([[169],{169:function(t,e,n){n.r(e),n.d(e,{default:function(){return x}});var l=n(6252),a=n(3577);const i={class:"entity sensor-container"},s={class:"head"},u={class:"icon"},o={class:"label"},r=["textContent"],c=["textContent"];function d(t,e,n,d,v,p){const f=(0,l.up)("EntityIcon");return(0,l.wg)(),(0,l.iD)("div",i,[(0,l._)("div",s,[(0,l._)("div",u,[(0,l.Wm)(f,{entity:t.value,loading:t.loading,error:t.error},null,8,["entity","loading","error"])]),(0,l._)("div",o,[(0,l._)("div",{class:"name",textContent:(0,a.zw)(t.value.name)},null,8,r)]),(0,l._)("div",{class:"value-container",textContent:(0,a.zw)(p.displayValue)},null,8,c)])])}var v=n(847),p=n(4967),f={name:"PercentSensor",components:{EntityIcon:p["default"]},mixins:[v["default"]],computed:{displayValue(){if(null==this.value.value)return null;let t=100*this.value.value;return(t.toString()==t.toFixed(0)?t.toFixed(0):t.toFixed(1))+"%"}}},y=n(3744);const h=(0,y.Z)(f,[["render",d],["__scopeId","data-v-1b6c81c2"]]);var x=h}}]);
|
||||||
//# sourceMappingURL=169.ebdd7044.js.map
|
//# sourceMappingURL=169.02caaaba.js.map
|
|
@ -1 +1 @@
|
||||||
{"version":3,"file":"static/js/169.ebdd7044.js","mappings":"8LACOA,MAAM,2B,GACJA,MAAM,Q,GACJA,MAAM,Q,GAINA,MAAM,S,6GANfC,EAAAA,EAAAA,IAYM,MAZNC,EAYM,EAXJC,EAAAA,EAAAA,GAUM,MAVNC,EAUM,EATJD,EAAAA,EAAAA,GAEM,MAFNE,EAEM,EADJC,EAAAA,EAAAA,IAAgEC,EAAA,CAAnDC,OAAQC,EAAAC,MAAQC,QAASF,EAAAE,QAAUC,MAAOH,EAAAG,O,wCAGzDT,EAAAA,EAAAA,GAEM,MAFNU,EAEM,EADJV,EAAAA,EAAAA,GAAwC,OAAnCH,MAAM,O,aAAOc,EAAAA,EAAAA,IAAQL,EAAWC,MAALK,O,aAGlCZ,EAAAA,EAAAA,GAAqD,OAAhDH,MAAM,kB,aAAkBc,EAAAA,EAAAA,IAAQE,EAAaC,e,qCASxD,GACEF,KAAM,gBACNG,WAAY,CAACC,WAAUA,EAAAA,YACvBC,OAAQ,CAACC,EAAAA,YACTC,SAAU,CACRL,YAAAA,GACE,GAAwB,MAApBM,KAAKb,MAAMA,MACb,OAAO,KAGT,IAAIc,EAAY,IAAMD,KAAKb,MAAMA,MACjC,OACEc,EAAUC,YAAcD,EAAUE,QAAQ,GACxCF,EAAUE,QAAQ,GAAKF,EAAUE,QAAQ,IACzC,GACN,I,UC5BJ,MAAMC,GAA2B,OAAgB,EAAQ,CAAC,CAAC,SAASC,GAAQ,CAAC,YAAY,qBAEzF,O","sources":["webpack://platypush/./src/components/panels/Entities/PercentSensor.vue","webpack://platypush/./src/components/panels/Entities/PercentSensor.vue?1f84"],"sourcesContent":["<template>\n <div class=\"entity sensor-container\">\n <div class=\"head\">\n <div class=\"icon\">\n <EntityIcon :entity=\"value\" :loading=\"loading\" :error=\"error\" />\n </div>\n\n <div class=\"label\">\n <div class=\"name\" v-text=\"value.name\" />\n </div>\n\n <div class=\"value-container\" v-text=\"displayValue\" />\n </div>\n </div>\n</template>\n\n<script>\nimport EntityMixin from \"./EntityMixin\"\nimport EntityIcon from \"./EntityIcon\"\n\nexport default {\n name: 'PercentSensor',\n components: {EntityIcon},\n mixins: [EntityMixin],\n computed: {\n displayValue() {\n if (this.value.value == null) {\n return null\n }\n\n let normValue = 100 * this.value.value\n return (\n normValue.toString() == normValue.toFixed(0)\n ? normValue.toFixed(0) : normValue.toFixed(1)\n ) + '%'\n },\n },\n}\n</script>\n\n<style lang=\"scss\" scoped>\n@import \"common\";\n</style>\n","import { render } from \"./PercentSensor.vue?vue&type=template&id=1b6c81c2&scoped=true\"\nimport script from \"./PercentSensor.vue?vue&type=script&lang=js\"\nexport * from \"./PercentSensor.vue?vue&type=script&lang=js\"\n\nimport \"./PercentSensor.vue?vue&type=style&index=0&id=1b6c81c2&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-1b6c81c2\"]])\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","$options","displayValue","components","EntityIcon","mixins","EntityMixin","computed","this","normValue","toString","toFixed","__exports__","render"],"sourceRoot":""}
|
{"version":3,"file":"static/js/169.02caaaba.js","mappings":"8LACOA,MAAM,2B,GACJA,MAAM,Q,GACJA,MAAM,Q,GAINA,MAAM,S,6GANfC,EAAAA,EAAAA,IAYM,MAZNC,EAYM,EAXJC,EAAAA,EAAAA,GAUM,MAVNC,EAUM,EATJD,EAAAA,EAAAA,GAEM,MAFNE,EAEM,EADJC,EAAAA,EAAAA,IAAgEC,EAAA,CAAnDC,OAAQC,EAAAC,MAAQC,QAASF,EAAAE,QAAUC,MAAOH,EAAAG,O,wCAGzDT,EAAAA,EAAAA,GAEM,MAFNU,EAEM,EADJV,EAAAA,EAAAA,GAAwC,OAAnCH,MAAM,O,aAAOc,EAAAA,EAAAA,IAAQL,EAAWC,MAALK,O,aAGlCZ,EAAAA,EAAAA,GAAqD,OAAhDH,MAAM,kB,aAAkBc,EAAAA,EAAAA,IAAQE,EAAaC,e,qCASxD,GACEF,KAAM,gBACNG,WAAY,CAACC,WAAUA,EAAAA,YACvBC,OAAQ,CAACC,EAAAA,YACTC,SAAU,CACRL,YAAAA,GACE,GAAwB,MAApBM,KAAKb,MAAMA,MACb,OAAO,KAGT,IAAIc,EAAY,IAAMD,KAAKb,MAAMA,MACjC,OACEc,EAAUC,YAAcD,EAAUE,QAAQ,GACxCF,EAAUE,QAAQ,GAAKF,EAAUE,QAAQ,IACzC,GACN,I,UC5BJ,MAAMC,GAA2B,OAAgB,EAAQ,CAAC,CAAC,SAASC,GAAQ,CAAC,YAAY,qBAEzF,O","sources":["webpack://platypush/./src/components/panels/Entities/PercentSensor.vue","webpack://platypush/./src/components/panels/Entities/PercentSensor.vue?1f84"],"sourcesContent":["<template>\n <div class=\"entity sensor-container\">\n <div class=\"head\">\n <div class=\"icon\">\n <EntityIcon :entity=\"value\" :loading=\"loading\" :error=\"error\" />\n </div>\n\n <div class=\"label\">\n <div class=\"name\" v-text=\"value.name\" />\n </div>\n\n <div class=\"value-container\" v-text=\"displayValue\" />\n </div>\n </div>\n</template>\n\n<script>\nimport EntityMixin from \"./EntityMixin\"\nimport EntityIcon from \"./EntityIcon\"\n\nexport default {\n name: 'PercentSensor',\n components: {EntityIcon},\n mixins: [EntityMixin],\n computed: {\n displayValue() {\n if (this.value.value == null) {\n return null\n }\n\n let normValue = 100 * this.value.value\n return (\n normValue.toString() == normValue.toFixed(0)\n ? normValue.toFixed(0) : normValue.toFixed(1)\n ) + '%'\n },\n },\n}\n</script>\n\n<style lang=\"scss\" scoped>\n@import \"common\";\n</style>\n","import { render } from \"./PercentSensor.vue?vue&type=template&id=1b6c81c2&scoped=true\"\nimport script from \"./PercentSensor.vue?vue&type=script&lang=js\"\nexport * from \"./PercentSensor.vue?vue&type=script&lang=js\"\n\nimport \"./PercentSensor.vue?vue&type=style&index=0&id=1b6c81c2&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-1b6c81c2\"]])\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","$options","displayValue","components","EntityIcon","mixins","EntityMixin","computed","this","normValue","toString","toFixed","__exports__","render"],"sourceRoot":""}
|
|
@ -1,2 +1,2 @@
|
||||||
"use strict";(self["webpackChunkplatypush"]=self["webpackChunkplatypush"]||[]).push([[1706],{1706:function(l,a,s){s.r(a),s.d(a,{default:function(){return D}});var e=s(6252),n=s(3577),t=s(9963);const c=l=>((0,e.dD)("data-v-75353a60"),l=l(),(0,e.Cn)(),l),i={class:"entity ping-host-container"},o={class:"head"},d={class:"col-1 icon-container"},u=["textContent"],v={key:0,class:"body children attributes fade-in"},r={class:"child"},p=c((()=>(0,e._)("div",{class:"col-s-12 col-m-6 label"},[(0,e._)("div",{class:"name"},"Host")],-1))),C={class:"value"},_=["textContent"],h={key:0,class:"child"},m=c((()=>(0,e._)("div",{class:"col-s-12 col-m-6 label"},[(0,e._)("div",{class:"name"},"Ping")],-1))),f={class:"value"},k=["textContent"];function b(l,a,s,c,b,w){return(0,e.wg)(),(0,e.iD)("div",i,[(0,e._)("div",o,[(0,e._)("div",d,[(0,e._)("span",{class:(0,n.C_)(["icon",w.iconClass])},null,2)]),(0,e._)("div",{class:"col-10 name",onClick:a[0]||(a[0]=(0,t.iM)((l=>b.isCollapsed=!b.isCollapsed),["stop"]))},[(0,e._)("div",{class:"name",textContent:(0,n.zw)(l.value.name)},null,8,u)]),(0,e._)("div",{class:"col-1 collapse-toggler",onClick:a[1]||(a[1]=(0,t.iM)((l=>b.isCollapsed=!b.isCollapsed),["stop"]))},[(0,e._)("i",{class:(0,n.C_)(["fas",{"fa-chevron-down":b.isCollapsed,"fa-chevron-up":!b.isCollapsed}])},null,2)])]),b.isCollapsed?(0,e.kq)("",!0):((0,e.wg)(),(0,e.iD)("div",v,[(0,e._)("div",r,[p,(0,e._)("div",C,[(0,e._)("div",{class:"name",textContent:(0,n.zw)(l.value.name)},null,8,_)])]),l.value.reachable?((0,e.wg)(),(0,e.iD)("div",h,[m,(0,e._)("div",f,[(0,e._)("span",{textContent:(0,n.zw)(l.value.avg)},null,8,k),(0,e.Uk)(" ms ")])])):(0,e.kq)("",!0)]))])}var w=s(847),g={mixins:[w["default"]],data(){return{isCollapsed:!0}},computed:{iconClass(){return this.value.reachable?"reachable":"unreachable"}}},x=s(3744);const y=(0,x.Z)(g,[["render",b],["__scopeId","data-v-75353a60"]]);var D=y}}]);
|
"use strict";(self["webpackChunkplatypush"]=self["webpackChunkplatypush"]||[]).push([[1706],{1706:function(l,a,s){s.r(a),s.d(a,{default:function(){return D}});var e=s(6252),n=s(3577),t=s(9963);const c=l=>((0,e.dD)("data-v-75353a60"),l=l(),(0,e.Cn)(),l),i={class:"entity ping-host-container"},o={class:"head"},d={class:"col-1 icon-container"},u=["textContent"],v={key:0,class:"body children attributes fade-in"},r={class:"child"},p=c((()=>(0,e._)("div",{class:"col-s-12 col-m-6 label"},[(0,e._)("div",{class:"name"},"Host")],-1))),C={class:"value"},_=["textContent"],h={key:0,class:"child"},m=c((()=>(0,e._)("div",{class:"col-s-12 col-m-6 label"},[(0,e._)("div",{class:"name"},"Ping")],-1))),f={class:"value"},k=["textContent"];function b(l,a,s,c,b,w){return(0,e.wg)(),(0,e.iD)("div",i,[(0,e._)("div",o,[(0,e._)("div",d,[(0,e._)("span",{class:(0,n.C_)(["icon",w.iconClass])},null,2)]),(0,e._)("div",{class:"col-10 name",onClick:a[0]||(a[0]=(0,t.iM)((l=>b.isCollapsed=!b.isCollapsed),["stop"]))},[(0,e._)("div",{class:"name",textContent:(0,n.zw)(l.value.name)},null,8,u)]),(0,e._)("div",{class:"col-1 collapse-toggler",onClick:a[1]||(a[1]=(0,t.iM)((l=>b.isCollapsed=!b.isCollapsed),["stop"]))},[(0,e._)("i",{class:(0,n.C_)(["fas",{"fa-chevron-down":b.isCollapsed,"fa-chevron-up":!b.isCollapsed}])},null,2)])]),b.isCollapsed?(0,e.kq)("",!0):((0,e.wg)(),(0,e.iD)("div",v,[(0,e._)("div",r,[p,(0,e._)("div",C,[(0,e._)("div",{class:"name",textContent:(0,n.zw)(l.value.name)},null,8,_)])]),l.value.reachable?((0,e.wg)(),(0,e.iD)("div",h,[m,(0,e._)("div",f,[(0,e._)("span",{textContent:(0,n.zw)(l.value.avg)},null,8,k),(0,e.Uk)(" ms ")])])):(0,e.kq)("",!0)]))])}var w=s(847),g={mixins:[w["default"]],data(){return{isCollapsed:!0}},computed:{iconClass(){return this.value.reachable?"reachable":"unreachable"}}},x=s(3744);const y=(0,x.Z)(g,[["render",b],["__scopeId","data-v-75353a60"]]);var D=y}}]);
|
||||||
//# sourceMappingURL=1706.5142eaa5.js.map
|
//# sourceMappingURL=1706.13372295.js.map
|
|
@ -1 +1 @@
|
||||||
{"version":3,"file":"static/js/1706.5142eaa5.js","mappings":"gQACOA,MAAM,8B,GACJA,MAAM,Q,GACJA,MAAM,wB,2BAaRA,MAAM,oC,GACJA,MAAM,S,UACTC,EAAAA,EAAAA,GAEM,OAFDD,MAAM,0BAAwB,EACjCC,EAAAA,EAAAA,GAA4B,OAAvBD,MAAM,QAAO,UAAI,K,GAEnBA,MAAM,S,2BAKRA,MAAM,S,UACTC,EAAAA,EAAAA,GAEM,OAFDD,MAAM,0BAAwB,EACjCC,EAAAA,EAAAA,GAA4B,OAAvBD,MAAM,QAAO,UAAI,K,GAEnBA,MAAM,S,4DA7BjBE,EAAAA,EAAAA,IAkCM,MAlCNC,EAkCM,EAjCJF,EAAAA,EAAAA,GAYM,MAZNG,EAYM,EAXJH,EAAAA,EAAAA,GAEM,MAFNI,EAEM,EADJJ,EAAAA,EAAAA,GAAwC,QAAlCD,OAAKM,EAAAA,EAAAA,IAAA,CAAC,OAAeC,EAAAC,a,WAG7BP,EAAAA,EAAAA,GAEM,OAFDD,MAAM,cAAeS,QAAKC,EAAA,KAAAA,EAAA,IAAAC,EAAAA,EAAAA,KAAAC,GAAOC,EAAAC,aAAeD,EAAAC,aAAW,Y,EAC9Db,EAAAA,EAAAA,GAAwC,OAAnCD,MAAM,O,aAAOe,EAAAA,EAAAA,IAAQC,EAAWC,MAALC,O,aAGlCjB,EAAAA,EAAAA,GAEM,OAFDD,MAAM,yBAA0BS,QAAKC,EAAA,KAAAA,EAAA,IAAAC,EAAAA,EAAAA,KAAAC,GAAOC,EAAAC,aAAeD,EAAAC,aAAW,Y,EACzEb,EAAAA,EAAAA,GAA0F,KAAvFD,OAAKM,EAAAA,EAAAA,IAAA,CAAC,MAAK,mBAA6BO,EAAAC,YAAW,iBAAoBD,EAAAC,gB,YAIzBD,EAAAC,aAgBjD,iBAhB4D,WAAhEZ,EAAAA,EAAAA,IAkBM,MAlBNiB,EAkBM,EAjBJlB,EAAAA,EAAAA,GAOM,MAPNmB,EAOM,CANJC,GAGApB,EAAAA,EAAAA,GAEM,MAFNqB,EAEM,EADJrB,EAAAA,EAAAA,GAAwC,OAAnCD,MAAM,O,aAAOe,EAAAA,EAAAA,IAAQC,EAAWC,MAALC,O,cAIXF,EAAAC,MAAMM,YAAS,WAAxCrB,EAAAA,EAAAA,IAOM,MAPNsB,EAOM,CANJC,GAGAxB,EAAAA,EAAAA,GAEM,MAFNyB,EAEM,EADJzB,EAAAA,EAAAA,GAA2B,Q,aAArBc,EAAAA,EAAAA,IAAQC,EAAUC,MAAJU,M,mBAAO,cAC7B,mB,cASR,GACEC,OAAQ,CAACC,EAAAA,YAETC,IAAAA,GACE,MAAO,CACLhB,aAAa,EAEjB,EAEAiB,SAAU,CACRvB,SAAAA,GACE,OAAOwB,KAAKf,MAAMM,UAAY,YAAc,aAC9C,I,UC9CJ,MAAMU,GAA2B,OAAgB,EAAQ,CAAC,CAAC,SAASC,GAAQ,CAAC,YAAY,qBAEzF,O","sources":["webpack://platypush/./src/components/panels/Entities/PingHost.vue","webpack://platypush/./src/components/panels/Entities/PingHost.vue?cc57"],"sourcesContent":["<template>\n <div class=\"entity ping-host-container\">\n <div class=\"head\">\n <div class=\"col-1 icon-container\">\n <span class=\"icon\" :class=\"iconClass\" />\n </div>\n\n <div class=\"col-10 name\" @click.stop=\"isCollapsed = !isCollapsed\">\n <div class=\"name\" v-text=\"value.name\" />\n </div>\n\n <div class=\"col-1 collapse-toggler\" @click.stop=\"isCollapsed = !isCollapsed\">\n <i class=\"fas\" :class=\"{'fa-chevron-down': isCollapsed, 'fa-chevron-up': !isCollapsed}\" />\n </div>\n </div>\n\n <div class=\"body children attributes fade-in\" v-if=\"!isCollapsed\">\n <div class=\"child\">\n <div class=\"col-s-12 col-m-6 label\">\n <div class=\"name\">Host</div>\n </div>\n <div class=\"value\">\n <div class=\"name\" v-text=\"value.name\" />\n </div>\n </div>\n\n <div class=\"child\" v-if=\"value.reachable\">\n <div class=\"col-s-12 col-m-6 label\">\n <div class=\"name\">Ping</div>\n </div>\n <div class=\"value\">\n <span v-text=\"value.avg\" /> ms\n </div>\n </div>\n </div>\n </div>\n</template>\n\n<script>\nimport EntityMixin from \"./EntityMixin\"\n\nexport default {\n mixins: [EntityMixin],\n\n data() {\n return {\n isCollapsed: true,\n }\n },\n\n computed: {\n iconClass() {\n return this.value.reachable ? \"reachable\" : \"unreachable\"\n },\n },\n}\n</script>\n\n<style lang=\"scss\" scoped>\n@import \"common\";\n\n.ping-host-container {\n .head .icon-container {\n display: inline-flex;\n align-items: center;\n justify-content: center;\n min-width: 2em;\n margin-right: 0.5em;\n padding-right: 0;\n\n .icon {\n width: 1.25em;\n height: 1.25em;\n border-radius: 50%;\n\n &.reachable {\n background-color: $ok-fg;\n }\n\n &.unreachable {\n background-color: $error-fg;\n }\n }\n }\n}\n</style>\n","import { render } from \"./PingHost.vue?vue&type=template&id=75353a60&scoped=true\"\nimport script from \"./PingHost.vue?vue&type=script&lang=js\"\nexport * from \"./PingHost.vue?vue&type=script&lang=js\"\n\nimport \"./PingHost.vue?vue&type=style&index=0&id=75353a60&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-75353a60\"]])\n\nexport default __exports__"],"names":["class","_createElementVNode","_createElementBlock","_hoisted_1","_hoisted_2","_hoisted_3","_normalizeClass","$options","iconClass","onClick","_cache","_withModifiers","$event","$data","isCollapsed","_toDisplayString","_ctx","value","name","_hoisted_5","_hoisted_6","_hoisted_7","_hoisted_8","reachable","_hoisted_10","_hoisted_11","_hoisted_12","avg","mixins","EntityMixin","data","computed","this","__exports__","render"],"sourceRoot":""}
|
{"version":3,"file":"static/js/1706.13372295.js","mappings":"gQACOA,MAAM,8B,GACJA,MAAM,Q,GACJA,MAAM,wB,2BAaRA,MAAM,oC,GACJA,MAAM,S,UACTC,EAAAA,EAAAA,GAEM,OAFDD,MAAM,0BAAwB,EACjCC,EAAAA,EAAAA,GAA4B,OAAvBD,MAAM,QAAO,UAAI,K,GAEnBA,MAAM,S,2BAKRA,MAAM,S,UACTC,EAAAA,EAAAA,GAEM,OAFDD,MAAM,0BAAwB,EACjCC,EAAAA,EAAAA,GAA4B,OAAvBD,MAAM,QAAO,UAAI,K,GAEnBA,MAAM,S,4DA7BjBE,EAAAA,EAAAA,IAkCM,MAlCNC,EAkCM,EAjCJF,EAAAA,EAAAA,GAYM,MAZNG,EAYM,EAXJH,EAAAA,EAAAA,GAEM,MAFNI,EAEM,EADJJ,EAAAA,EAAAA,GAAwC,QAAlCD,OAAKM,EAAAA,EAAAA,IAAA,CAAC,OAAeC,EAAAC,a,WAG7BP,EAAAA,EAAAA,GAEM,OAFDD,MAAM,cAAeS,QAAKC,EAAA,KAAAA,EAAA,IAAAC,EAAAA,EAAAA,KAAAC,GAAOC,EAAAC,aAAeD,EAAAC,aAAW,Y,EAC9Db,EAAAA,EAAAA,GAAwC,OAAnCD,MAAM,O,aAAOe,EAAAA,EAAAA,IAAQC,EAAWC,MAALC,O,aAGlCjB,EAAAA,EAAAA,GAEM,OAFDD,MAAM,yBAA0BS,QAAKC,EAAA,KAAAA,EAAA,IAAAC,EAAAA,EAAAA,KAAAC,GAAOC,EAAAC,aAAeD,EAAAC,aAAW,Y,EACzEb,EAAAA,EAAAA,GAA0F,KAAvFD,OAAKM,EAAAA,EAAAA,IAAA,CAAC,MAAK,mBAA6BO,EAAAC,YAAW,iBAAoBD,EAAAC,gB,YAIzBD,EAAAC,aAgBjD,iBAhB4D,WAAhEZ,EAAAA,EAAAA,IAkBM,MAlBNiB,EAkBM,EAjBJlB,EAAAA,EAAAA,GAOM,MAPNmB,EAOM,CANJC,GAGApB,EAAAA,EAAAA,GAEM,MAFNqB,EAEM,EADJrB,EAAAA,EAAAA,GAAwC,OAAnCD,MAAM,O,aAAOe,EAAAA,EAAAA,IAAQC,EAAWC,MAALC,O,cAIXF,EAAAC,MAAMM,YAAS,WAAxCrB,EAAAA,EAAAA,IAOM,MAPNsB,EAOM,CANJC,GAGAxB,EAAAA,EAAAA,GAEM,MAFNyB,EAEM,EADJzB,EAAAA,EAAAA,GAA2B,Q,aAArBc,EAAAA,EAAAA,IAAQC,EAAUC,MAAJU,M,mBAAO,cAC7B,mB,cASR,GACEC,OAAQ,CAACC,EAAAA,YAETC,IAAAA,GACE,MAAO,CACLhB,aAAa,EAEjB,EAEAiB,SAAU,CACRvB,SAAAA,GACE,OAAOwB,KAAKf,MAAMM,UAAY,YAAc,aAC9C,I,UC9CJ,MAAMU,GAA2B,OAAgB,EAAQ,CAAC,CAAC,SAASC,GAAQ,CAAC,YAAY,qBAEzF,O","sources":["webpack://platypush/./src/components/panels/Entities/PingHost.vue","webpack://platypush/./src/components/panels/Entities/PingHost.vue?cc57"],"sourcesContent":["<template>\n <div class=\"entity ping-host-container\">\n <div class=\"head\">\n <div class=\"col-1 icon-container\">\n <span class=\"icon\" :class=\"iconClass\" />\n </div>\n\n <div class=\"col-10 name\" @click.stop=\"isCollapsed = !isCollapsed\">\n <div class=\"name\" v-text=\"value.name\" />\n </div>\n\n <div class=\"col-1 collapse-toggler\" @click.stop=\"isCollapsed = !isCollapsed\">\n <i class=\"fas\" :class=\"{'fa-chevron-down': isCollapsed, 'fa-chevron-up': !isCollapsed}\" />\n </div>\n </div>\n\n <div class=\"body children attributes fade-in\" v-if=\"!isCollapsed\">\n <div class=\"child\">\n <div class=\"col-s-12 col-m-6 label\">\n <div class=\"name\">Host</div>\n </div>\n <div class=\"value\">\n <div class=\"name\" v-text=\"value.name\" />\n </div>\n </div>\n\n <div class=\"child\" v-if=\"value.reachable\">\n <div class=\"col-s-12 col-m-6 label\">\n <div class=\"name\">Ping</div>\n </div>\n <div class=\"value\">\n <span v-text=\"value.avg\" /> ms\n </div>\n </div>\n </div>\n </div>\n</template>\n\n<script>\nimport EntityMixin from \"./EntityMixin\"\n\nexport default {\n mixins: [EntityMixin],\n\n data() {\n return {\n isCollapsed: true,\n }\n },\n\n computed: {\n iconClass() {\n return this.value.reachable ? \"reachable\" : \"unreachable\"\n },\n },\n}\n</script>\n\n<style lang=\"scss\" scoped>\n@import \"common\";\n\n.ping-host-container {\n .head .icon-container {\n display: inline-flex;\n align-items: center;\n justify-content: center;\n min-width: 2em;\n margin-right: 0.5em;\n padding-right: 0;\n\n .icon {\n width: 1.25em;\n height: 1.25em;\n border-radius: 50%;\n\n &.reachable {\n background-color: $ok-fg;\n }\n\n &.unreachable {\n background-color: $error-fg;\n }\n }\n }\n}\n</style>\n","import { render } from \"./PingHost.vue?vue&type=template&id=75353a60&scoped=true\"\nimport script from \"./PingHost.vue?vue&type=script&lang=js\"\nexport * from \"./PingHost.vue?vue&type=script&lang=js\"\n\nimport \"./PingHost.vue?vue&type=style&index=0&id=75353a60&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-75353a60\"]])\n\nexport default __exports__"],"names":["class","_createElementVNode","_createElementBlock","_hoisted_1","_hoisted_2","_hoisted_3","_normalizeClass","$options","iconClass","onClick","_cache","_withModifiers","$event","$data","isCollapsed","_toDisplayString","_ctx","value","name","_hoisted_5","_hoisted_6","_hoisted_7","_hoisted_8","reachable","_hoisted_10","_hoisted_11","_hoisted_12","avg","mixins","EntityMixin","data","computed","this","__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
|
@ -1,2 +1,2 @@
|
||||||
"use strict";(self["webpackChunkplatypush"]=self["webpackChunkplatypush"]||[]).push([[2217],{2217:function(n,t,e){e.r(t),e.d(t,{default:function(){return y}});var a=e(6252),l=e(3577);const s={class:"entity cpu-times-container"},i={class:"head"},c={class:"col-1 icon"},o={class:"col-11 label"},r=["textContent"];function u(n,t,e,u,d,p){const v=(0,a.up)("EntityIcon");return(0,a.wg)(),(0,a.iD)("div",s,[(0,a._)("div",i,[(0,a._)("div",c,[(0,a.Wm)(v,{entity:n.value,loading:n.loading,error:n.error},null,8,["entity","loading","error"])]),(0,a._)("div",o,[(0,a._)("div",{class:"name",textContent:(0,l.zw)(n.value.name)},null,8,r)])])])}var d=e(847),p=e(4967),v={name:"CpuTimes",components:{EntityIcon:p["default"]},mixins:[d["default"]]},f=e(3744);const m=(0,f.Z)(v,[["render",u],["__scopeId","data-v-4667e342"]]);var y=m}}]);
|
"use strict";(self["webpackChunkplatypush"]=self["webpackChunkplatypush"]||[]).push([[2217],{2217:function(n,t,e){e.r(t),e.d(t,{default:function(){return y}});var a=e(6252),l=e(3577);const s={class:"entity cpu-times-container"},i={class:"head"},c={class:"col-1 icon"},o={class:"col-11 label"},r=["textContent"];function u(n,t,e,u,d,p){const v=(0,a.up)("EntityIcon");return(0,a.wg)(),(0,a.iD)("div",s,[(0,a._)("div",i,[(0,a._)("div",c,[(0,a.Wm)(v,{entity:n.value,loading:n.loading,error:n.error},null,8,["entity","loading","error"])]),(0,a._)("div",o,[(0,a._)("div",{class:"name",textContent:(0,l.zw)(n.value.name)},null,8,r)])])])}var d=e(847),p=e(4967),v={name:"CpuTimes",components:{EntityIcon:p["default"]},mixins:[d["default"]]},f=e(3744);const m=(0,f.Z)(v,[["render",u],["__scopeId","data-v-4667e342"]]);var y=m}}]);
|
||||||
//# sourceMappingURL=2217.6b927594.js.map
|
//# sourceMappingURL=2217.9116c837.js.map
|
|
@ -1 +1 @@
|
||||||
{"version":3,"file":"static/js/2217.6b927594.js","mappings":"gMACOA,MAAM,8B,GACJA,MAAM,Q,GACJA,MAAM,c,GAONA,MAAM,gB,2FATfC,EAAAA,EAAAA,IAaM,MAbNC,EAaM,EAZJC,EAAAA,EAAAA,GAWM,MAXNC,EAWM,EAVJD,EAAAA,EAAAA,GAKM,MALNE,EAKM,EAJJC,EAAAA,EAAAA,IAGmBC,EAAA,CAFhBC,OAAQC,EAAAC,MACRC,QAASF,EAAAE,QACTC,MAAOH,EAAAG,O,wCAGZT,EAAAA,EAAAA,GAEM,MAFNU,EAEM,EADJV,EAAAA,EAAAA,GAAwC,OAAnCH,MAAM,O,aAAOc,EAAAA,EAAAA,IAAQL,EAAWC,MAALK,O,uCAUxC,GACEA,KAAM,WACNC,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/CpuTimes.vue","webpack://platypush/./src/components/panels/Entities/CpuTimes.vue?1fa2"],"sourcesContent":["<template>\n <div class=\"entity cpu-times-container\">\n <div class=\"head\">\n <div class=\"col-1 icon\">\n <EntityIcon\n :entity=\"value\"\n :loading=\"loading\"\n :error=\"error\" />\n </div>\n\n <div class=\"col-11 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: 'CpuTimes',\n components: {EntityIcon},\n mixins: [EntityMixin],\n}\n</script>\n\n<style lang=\"scss\" scoped>\n@import \"common\";\n</style>\n","import { render } from \"./CpuTimes.vue?vue&type=template&id=4667e342&scoped=true\"\nimport script from \"./CpuTimes.vue?vue&type=script&lang=js\"\nexport * from \"./CpuTimes.vue?vue&type=script&lang=js\"\n\nimport \"./CpuTimes.vue?vue&type=style&index=0&id=4667e342&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-4667e342\"]])\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/2217.9116c837.js","mappings":"gMACOA,MAAM,8B,GACJA,MAAM,Q,GACJA,MAAM,c,GAONA,MAAM,gB,2FATfC,EAAAA,EAAAA,IAaM,MAbNC,EAaM,EAZJC,EAAAA,EAAAA,GAWM,MAXNC,EAWM,EAVJD,EAAAA,EAAAA,GAKM,MALNE,EAKM,EAJJC,EAAAA,EAAAA,IAGmBC,EAAA,CAFhBC,OAAQC,EAAAC,MACRC,QAASF,EAAAE,QACTC,MAAOH,EAAAG,O,wCAGZT,EAAAA,EAAAA,GAEM,MAFNU,EAEM,EADJV,EAAAA,EAAAA,GAAwC,OAAnCH,MAAM,O,aAAOc,EAAAA,EAAAA,IAAQL,EAAWC,MAALK,O,uCAUxC,GACEA,KAAM,WACNC,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/CpuTimes.vue","webpack://platypush/./src/components/panels/Entities/CpuTimes.vue?1fa2"],"sourcesContent":["<template>\n <div class=\"entity cpu-times-container\">\n <div class=\"head\">\n <div class=\"col-1 icon\">\n <EntityIcon\n :entity=\"value\"\n :loading=\"loading\"\n :error=\"error\" />\n </div>\n\n <div class=\"col-11 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: 'CpuTimes',\n components: {EntityIcon},\n mixins: [EntityMixin],\n}\n</script>\n\n<style lang=\"scss\" scoped>\n@import \"common\";\n</style>\n","import { render } from \"./CpuTimes.vue?vue&type=template&id=4667e342&scoped=true\"\nimport script from \"./CpuTimes.vue?vue&type=script&lang=js\"\nexport * from \"./CpuTimes.vue?vue&type=script&lang=js\"\n\nimport \"./CpuTimes.vue?vue&type=style&index=0&id=4667e342&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-4667e342\"]])\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":""}
|
|
@ -1,2 +1,2 @@
|
||||||
"use strict";(self["webpackChunkplatypush"]=self["webpackChunkplatypush"]||[]).push([[2460],{2460:function(n,t,e){e.r(t),e.d(t,{default:function(){return C}});var a=e(6252),l=e(3577);const c={class:"entity cpu-container"},s={class:"head"},o={class:"col-1 icon"},u={class:"label"},i=["textContent"],r={class:"value-container"},d=["textContent"];function v(n,t,e,v,p,f){const _=(0,a.up)("EntityIcon");return(0,a.wg)(),(0,a.iD)("div",c,[(0,a._)("div",s,[(0,a._)("div",o,[(0,a.Wm)(_,{entity:n.value,loading:n.loading,error:n.error},null,8,["entity","loading","error"])]),(0,a._)("div",u,[(0,a._)("div",{class:"name",textContent:(0,l.zw)(n.value.name)},null,8,i)]),(0,a._)("div",r,[(0,a._)("div",{class:"value",textContent:(0,l.zw)(Math.round(100*n.value.percent,1)+"%")},null,8,d)])])])}var p=e(847),f=e(4967),_={name:"Cpu",components:{EntityIcon:f["default"]},mixins:[p["default"]]},h=e(3744);const y=(0,h.Z)(_,[["render",v],["__scopeId","data-v-d3cf6cca"]]);var C=y}}]);
|
"use strict";(self["webpackChunkplatypush"]=self["webpackChunkplatypush"]||[]).push([[2460],{2460:function(n,t,e){e.r(t),e.d(t,{default:function(){return C}});var a=e(6252),l=e(3577);const c={class:"entity cpu-container"},s={class:"head"},o={class:"col-1 icon"},u={class:"label"},i=["textContent"],r={class:"value-container"},d=["textContent"];function v(n,t,e,v,p,f){const _=(0,a.up)("EntityIcon");return(0,a.wg)(),(0,a.iD)("div",c,[(0,a._)("div",s,[(0,a._)("div",o,[(0,a.Wm)(_,{entity:n.value,loading:n.loading,error:n.error},null,8,["entity","loading","error"])]),(0,a._)("div",u,[(0,a._)("div",{class:"name",textContent:(0,l.zw)(n.value.name)},null,8,i)]),(0,a._)("div",r,[(0,a._)("div",{class:"value",textContent:(0,l.zw)(Math.round(100*n.value.percent,1)+"%")},null,8,d)])])])}var p=e(847),f=e(4967),_={name:"Cpu",components:{EntityIcon:f["default"]},mixins:[p["default"]]},h=e(3744);const y=(0,h.Z)(_,[["render",v],["__scopeId","data-v-d3cf6cca"]]);var C=y}}]);
|
||||||
//# sourceMappingURL=2460.567e73f6.js.map
|
//# sourceMappingURL=2460.6a8718df.js.map
|
|
@ -1 +1 @@
|
||||||
{"version":3,"file":"static/js/2460.567e73f6.js","mappings":"gMACOA,MAAM,wB,GACJA,MAAM,Q,GACJA,MAAM,c,GAINA,MAAM,S,qBAINA,MAAM,mB,2FAVfC,EAAAA,EAAAA,IAcM,MAdNC,EAcM,EAbJC,EAAAA,EAAAA,GAYM,MAZNC,EAYM,EAXJD,EAAAA,EAAAA,GAEM,MAFNE,EAEM,EADJC,EAAAA,EAAAA,IAAgEC,EAAA,CAAnDC,OAAQC,EAAAC,MAAQC,QAASF,EAAAE,QAAUC,MAAOH,EAAAG,O,wCAGzDT,EAAAA,EAAAA,GAEM,MAFNU,EAEM,EADJV,EAAAA,EAAAA,GAAwC,OAAnCH,MAAM,O,aAAOc,EAAAA,EAAAA,IAAQL,EAAWC,MAALK,O,aAGlCZ,EAAAA,EAAAA,GAEM,MAFNa,EAEM,EADJb,EAAAA,EAAAA,GAAuE,OAAlEH,MAAM,Q,aAAQc,EAAAA,EAAAA,IAAQG,KAAKC,MAAsB,IAAhBT,EAAAC,MAAMS,QAAe,GAAK,M,uCAUxE,GACEJ,KAAM,MACNK,WAAY,CAACC,WAAUA,EAAAA,YACvBC,OAAQ,CAACC,EAAAA,a,UClBX,MAAMC,GAA2B,OAAgB,EAAQ,CAAC,CAAC,SAASC,GAAQ,CAAC,YAAY,qBAEzF,O","sources":["webpack://platypush/./src/components/panels/Entities/Cpu.vue","webpack://platypush/./src/components/panels/Entities/Cpu.vue?2542"],"sourcesContent":["<template>\n <div class=\"entity cpu-container\">\n <div class=\"head\">\n <div class=\"col-1 icon\">\n <EntityIcon :entity=\"value\" :loading=\"loading\" :error=\"error\" />\n </div>\n\n <div class=\"label\">\n <div class=\"name\" v-text=\"value.name\" />\n </div>\n\n <div class=\"value-container\">\n <div class=\"value\" v-text=\"Math.round(value.percent * 100, 1) + '%'\" />\n </div>\n </div>\n </div>\n</template>\n\n<script>\nimport EntityMixin from \"./EntityMixin\"\nimport EntityIcon from \"./EntityIcon\"\n\nexport default {\n name: 'Cpu',\n components: {EntityIcon},\n mixins: [EntityMixin],\n}\n</script>\n\n<style lang=\"scss\" scoped>\n@import \"common\";\n</style>\n","import { render } from \"./Cpu.vue?vue&type=template&id=d3cf6cca&scoped=true\"\nimport script from \"./Cpu.vue?vue&type=script&lang=js\"\nexport * from \"./Cpu.vue?vue&type=script&lang=js\"\n\nimport \"./Cpu.vue?vue&type=style&index=0&id=d3cf6cca&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-d3cf6cca\"]])\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","_hoisted_6","Math","round","percent","components","EntityIcon","mixins","EntityMixin","__exports__","render"],"sourceRoot":""}
|
{"version":3,"file":"static/js/2460.6a8718df.js","mappings":"gMACOA,MAAM,wB,GACJA,MAAM,Q,GACJA,MAAM,c,GAINA,MAAM,S,qBAINA,MAAM,mB,2FAVfC,EAAAA,EAAAA,IAcM,MAdNC,EAcM,EAbJC,EAAAA,EAAAA,GAYM,MAZNC,EAYM,EAXJD,EAAAA,EAAAA,GAEM,MAFNE,EAEM,EADJC,EAAAA,EAAAA,IAAgEC,EAAA,CAAnDC,OAAQC,EAAAC,MAAQC,QAASF,EAAAE,QAAUC,MAAOH,EAAAG,O,wCAGzDT,EAAAA,EAAAA,GAEM,MAFNU,EAEM,EADJV,EAAAA,EAAAA,GAAwC,OAAnCH,MAAM,O,aAAOc,EAAAA,EAAAA,IAAQL,EAAWC,MAALK,O,aAGlCZ,EAAAA,EAAAA,GAEM,MAFNa,EAEM,EADJb,EAAAA,EAAAA,GAAuE,OAAlEH,MAAM,Q,aAAQc,EAAAA,EAAAA,IAAQG,KAAKC,MAAsB,IAAhBT,EAAAC,MAAMS,QAAe,GAAK,M,uCAUxE,GACEJ,KAAM,MACNK,WAAY,CAACC,WAAUA,EAAAA,YACvBC,OAAQ,CAACC,EAAAA,a,UClBX,MAAMC,GAA2B,OAAgB,EAAQ,CAAC,CAAC,SAASC,GAAQ,CAAC,YAAY,qBAEzF,O","sources":["webpack://platypush/./src/components/panels/Entities/Cpu.vue","webpack://platypush/./src/components/panels/Entities/Cpu.vue?2542"],"sourcesContent":["<template>\n <div class=\"entity cpu-container\">\n <div class=\"head\">\n <div class=\"col-1 icon\">\n <EntityIcon :entity=\"value\" :loading=\"loading\" :error=\"error\" />\n </div>\n\n <div class=\"label\">\n <div class=\"name\" v-text=\"value.name\" />\n </div>\n\n <div class=\"value-container\">\n <div class=\"value\" v-text=\"Math.round(value.percent * 100, 1) + '%'\" />\n </div>\n </div>\n </div>\n</template>\n\n<script>\nimport EntityMixin from \"./EntityMixin\"\nimport EntityIcon from \"./EntityIcon\"\n\nexport default {\n name: 'Cpu',\n components: {EntityIcon},\n mixins: [EntityMixin],\n}\n</script>\n\n<style lang=\"scss\" scoped>\n@import \"common\";\n</style>\n","import { render } from \"./Cpu.vue?vue&type=template&id=d3cf6cca&scoped=true\"\nimport script from \"./Cpu.vue?vue&type=script&lang=js\"\nexport * from \"./Cpu.vue?vue&type=script&lang=js\"\n\nimport \"./Cpu.vue?vue&type=style&index=0&id=d3cf6cca&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-d3cf6cca\"]])\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","_hoisted_6","Math","round","percent","components","EntityIcon","mixins","EntityMixin","__exports__","render"],"sourceRoot":""}
|
|
@ -1,2 +1,2 @@
|
||||||
"use strict";(self["webpackChunkplatypush"]=self["webpackChunkplatypush"]||[]).push([[2614],{2614:function(e,n,a){a.r(n),a.d(n,{default:function(){return i}});var u=a(6252);function t(e,n,a,t,c,r){const p=(0,u.up)("Media");return(0,u.wg)(),(0,u.j4)(p,{"plugin-name":"media.vlc"})}var c=a(8260),r={name:"MediaVlc",components:{Media:c["default"]}},p=a(3744);const s=(0,p.Z)(r,[["render",t]]);var i=s}}]);
|
"use strict";(self["webpackChunkplatypush"]=self["webpackChunkplatypush"]||[]).push([[2614],{2614:function(e,n,a){a.r(n),a.d(n,{default:function(){return i}});var u=a(6252);function t(e,n,a,t,c,r){const p=(0,u.up)("Media");return(0,u.wg)(),(0,u.j4)(p,{"plugin-name":"media.vlc"})}var c=a(1256),r={name:"MediaVlc",components:{Media:c["default"]}},p=a(3744);const s=(0,p.Z)(r,[["render",t]]);var i=s}}]);
|
||||||
//# sourceMappingURL=2614.2ad05abe.js.map
|
//# sourceMappingURL=2614.25f43040.js.map
|
|
@ -1 +1 @@
|
||||||
{"version":3,"file":"static/js/2614.2ad05abe.js","mappings":"iPACEA,EAAAA,EAAAA,IAAiCC,EAAA,CAA1B,cAAY,a,eAMrB,GACEC,KAAM,WACNC,WAAY,CAACC,MAAKA,EAAAA,a,UCJpB,MAAMC,GAA2B,OAAgB,EAAQ,CAAC,CAAC,SAASC,KAEpE,O","sources":["webpack://platypush/./src/components/panels/MediaVlc/Index.vue","webpack://platypush/./src/components/panels/MediaVlc/Index.vue?7b0b"],"sourcesContent":["<template>\n <Media plugin-name=\"media.vlc\" />\n</template>\n\n<script>\nimport Media from '@/components/panels/Media/Index'\n\nexport default {\n name: \"MediaVlc\",\n components: {Media},\n}\n</script>\n\n<style scoped>\n\n</style>\n","import { render } from \"./Index.vue?vue&type=template&id=9233e214\"\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","name","components","Media","__exports__","render"],"sourceRoot":""}
|
{"version":3,"file":"static/js/2614.25f43040.js","mappings":"iPACEA,EAAAA,EAAAA,IAAiCC,EAAA,CAA1B,cAAY,a,eAMrB,GACEC,KAAM,WACNC,WAAY,CAACC,MAAKA,EAAAA,a,UCJpB,MAAMC,GAA2B,OAAgB,EAAQ,CAAC,CAAC,SAASC,KAEpE,O","sources":["webpack://platypush/./src/components/panels/MediaVlc/Index.vue","webpack://platypush/./src/components/panels/MediaVlc/Index.vue?7b0b"],"sourcesContent":["<template>\n <Media plugin-name=\"media.vlc\" />\n</template>\n\n<script>\nimport Media from '@/components/panels/Media/Index'\n\nexport default {\n name: \"MediaVlc\",\n components: {Media},\n}\n</script>\n\n<style scoped>\n\n</style>\n","import { render } from \"./Index.vue?vue&type=template&id=9233e214\"\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","name","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
|
@ -1,2 +1,2 @@
|
||||||
"use strict";(self["webpackChunkplatypush"]=self["webpackChunkplatypush"]||[]).push([[2892,6640],{2892:function(a,e,n){n.r(e),n.d(e,{default:function(){return p}});var t=n(6252);const r={class:"media-file-browser"};function i(a,e,n,i,s,o){const u=(0,t.up)("Loading"),c=(0,t.up)("Browser");return(0,t.wg)(),(0,t.iD)("div",r,[a.loading?((0,t.wg)(),(0,t.j4)(u,{key:0})):((0,t.wg)(),(0,t.j4)(c,{key:1,"is-media":!0,filter:a.filter,"has-back":!0,onBack:e[0]||(e[0]=e=>a.$emit("back")),onPathChange:e[1]||(e[1]=e=>a.$emit("path-change",e)),onPlay:e[2]||(e[2]=e=>a.$emit("play",e))},null,8,["filter"]))])}var s=n(2381),o=n(6791),u=n(6640),c={mixins:[u["default"]],components:{Browser:s.Z,Loading:o.Z}},l=n(3744);const d=(0,l.Z)(c,[["render",i],["__scopeId","data-v-5f4a36da"]]);var p=d},6640:function(a,e,n){n.r(e),n.d(e,{default:function(){return s}});var t=n(8637),r={emits:["back","path-change","play"],mixins:[t.Z],props:{filter:{type:String,default:""}},data(){return{loading:!1}}};const i=r;var s=i}}]);
|
"use strict";(self["webpackChunkplatypush"]=self["webpackChunkplatypush"]||[]).push([[2892,6640],{2892:function(a,e,n){n.r(e),n.d(e,{default:function(){return p}});var t=n(6252);const r={class:"media-file-browser"};function i(a,e,n,i,s,o){const u=(0,t.up)("Loading"),c=(0,t.up)("Browser");return(0,t.wg)(),(0,t.iD)("div",r,[a.loading?((0,t.wg)(),(0,t.j4)(u,{key:0})):((0,t.wg)(),(0,t.j4)(c,{key:1,"is-media":!0,filter:a.filter,"has-back":!0,onBack:e[0]||(e[0]=e=>a.$emit("back")),onPathChange:e[1]||(e[1]=e=>a.$emit("path-change",e)),onPlay:e[2]||(e[2]=e=>a.$emit("play",e))},null,8,["filter"]))])}var s=n(2381),o=n(6791),u=n(6640),c={mixins:[u["default"]],components:{Browser:s.Z,Loading:o.Z}},l=n(3744);const d=(0,l.Z)(c,[["render",i],["__scopeId","data-v-5f4a36da"]]);var p=d},6640:function(a,e,n){n.r(e),n.d(e,{default:function(){return s}});var t=n(8637),r={emits:["back","path-change","play"],mixins:[t.Z],props:{filter:{type:String,default:""}},data(){return{loading:!1}}};const i=r;var s=i}}]);
|
||||||
//# sourceMappingURL=2892.179b93be.js.map
|
//# sourceMappingURL=2892.1f2a24f2.js.map
|
|
@ -1 +1 @@
|
||||||
{"version":3,"file":"static/js/2892.179b93be.js","mappings":"2LACOA,MAAM,sB,4FAAXC,EAAAA,EAAAA,IASM,MATNC,EASM,CARWC,EAAAC,UAAO,WAAtBC,EAAAA,EAAAA,IAA0BC,EAAA,CAAAC,IAAA,kBAC1BF,EAAAA,EAAAA,IAMYG,EAAA,C,MANF,YAAU,EAChBC,OAAQN,EAAAM,OACR,YAAU,EACVC,OAAIC,EAAA,KAAAA,EAAA,GAAAC,GAAET,EAAAU,MAAM,SACZC,aAAWH,EAAA,KAAAA,EAAA,GAAAC,GAAET,EAAAU,MAAM,cAAeD,IAClCG,OAAIJ,EAAA,KAAAA,EAAA,GAAAC,GAAET,EAAAU,MAAM,OAAQD,K,wDAU5B,GACEI,OAAQ,CAACC,EAAAA,YACTC,WAAY,CACVC,QAAO,IACPC,QAAOA,EAAAA,I,UCfX,MAAMC,GAA2B,OAAgB,EAAQ,CAAC,CAAC,SAASC,GAAQ,CAAC,YAAY,qBAEzF,O,kFCNA,GACEC,MAAO,CAAC,OAAQ,cAAe,QAC/BP,OAAQ,CAACQ,EAAAA,GACTC,MAAO,CACLhB,OAAQ,CACNiB,KAAMC,OACNC,QAAS,KAIbC,IAAAA,GACE,MAAO,CACLzB,SAAS,EAEb,GCdF,MAAMiB,EAAc,EAEpB,O","sources":["webpack://platypush/./src/components/panels/Media/Providers/File.vue","webpack://platypush/./src/components/panels/Media/Providers/File.vue?5b0f","webpack://platypush/./src/components/panels/Media/Providers/Mixin.vue","webpack://platypush/./src/components/panels/Media/Providers/Mixin.vue?f2ea"],"sourcesContent":["<template>\n <div class=\"media-file-browser\">\n <Loading v-if=\"loading\" />\n <Browser :is-media=\"true\"\n :filter=\"filter\"\n :has-back=\"true\"\n @back=\"$emit('back')\"\n @path-change=\"$emit('path-change', $event)\"\n @play=\"$emit('play', $event)\"\n v-else />\n </div>\n</template>\n\n<script>\nimport Browser from \"@/components/File/Browser\";\nimport Loading from \"@/components/Loading\";\nimport MediaProvider from \"./Mixin\";\n\nexport default {\n mixins: [MediaProvider],\n components: {\n Browser,\n Loading,\n },\n}\n</script>\n\n<style lang=\"scss\" scoped>\n.media-file-browser {\n height: 100%;\n}\n</style>\n","import { render } from \"./File.vue?vue&type=template&id=5f4a36da&scoped=true\"\nimport script from \"./File.vue?vue&type=script&lang=js\"\nexport * from \"./File.vue?vue&type=script&lang=js\"\n\nimport \"./File.vue?vue&type=style&index=0&id=5f4a36da&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-5f4a36da\"]])\n\nexport default __exports__","<script>\nimport Utils from \"@/Utils\";\n\nexport default {\n emits: ['back', 'path-change', 'play'],\n mixins: [Utils],\n props: {\n filter: {\n type: String,\n default: '',\n },\n },\n\n data() {\n return {\n loading: false,\n }\n },\n}\n</script>\n","import script from \"./Mixin.vue?vue&type=script&lang=js\"\nexport * from \"./Mixin.vue?vue&type=script&lang=js\"\n\nconst __exports__ = script;\n\nexport default __exports__"],"names":["class","_createElementBlock","_hoisted_1","_ctx","loading","_createBlock","_component_Loading","key","_component_Browser","filter","onBack","_cache","$event","$emit","onPathChange","onPlay","mixins","MediaProvider","components","Browser","Loading","__exports__","render","emits","Utils","props","type","String","default","data"],"sourceRoot":""}
|
{"version":3,"file":"static/js/2892.1f2a24f2.js","mappings":"2LACOA,MAAM,sB,4FAAXC,EAAAA,EAAAA,IASM,MATNC,EASM,CARWC,EAAAC,UAAO,WAAtBC,EAAAA,EAAAA,IAA0BC,EAAA,CAAAC,IAAA,kBAC1BF,EAAAA,EAAAA,IAMYG,EAAA,C,MANF,YAAU,EAChBC,OAAQN,EAAAM,OACR,YAAU,EACVC,OAAIC,EAAA,KAAAA,EAAA,GAAAC,GAAET,EAAAU,MAAM,SACZC,aAAWH,EAAA,KAAAA,EAAA,GAAAC,GAAET,EAAAU,MAAM,cAAeD,IAClCG,OAAIJ,EAAA,KAAAA,EAAA,GAAAC,GAAET,EAAAU,MAAM,OAAQD,K,wDAU5B,GACEI,OAAQ,CAACC,EAAAA,YACTC,WAAY,CACVC,QAAO,IACPC,QAAOA,EAAAA,I,UCfX,MAAMC,GAA2B,OAAgB,EAAQ,CAAC,CAAC,SAASC,GAAQ,CAAC,YAAY,qBAEzF,O,kFCNA,GACEC,MAAO,CAAC,OAAQ,cAAe,QAC/BP,OAAQ,CAACQ,EAAAA,GACTC,MAAO,CACLhB,OAAQ,CACNiB,KAAMC,OACNC,QAAS,KAIbC,IAAAA,GACE,MAAO,CACLzB,SAAS,EAEb,GCdF,MAAMiB,EAAc,EAEpB,O","sources":["webpack://platypush/./src/components/panels/Media/Providers/File.vue","webpack://platypush/./src/components/panels/Media/Providers/File.vue?5b0f","webpack://platypush/./src/components/panels/Media/Providers/Mixin.vue","webpack://platypush/./src/components/panels/Media/Providers/Mixin.vue?f2ea"],"sourcesContent":["<template>\n <div class=\"media-file-browser\">\n <Loading v-if=\"loading\" />\n <Browser :is-media=\"true\"\n :filter=\"filter\"\n :has-back=\"true\"\n @back=\"$emit('back')\"\n @path-change=\"$emit('path-change', $event)\"\n @play=\"$emit('play', $event)\"\n v-else />\n </div>\n</template>\n\n<script>\nimport Browser from \"@/components/File/Browser\";\nimport Loading from \"@/components/Loading\";\nimport MediaProvider from \"./Mixin\";\n\nexport default {\n mixins: [MediaProvider],\n components: {\n Browser,\n Loading,\n },\n}\n</script>\n\n<style lang=\"scss\" scoped>\n.media-file-browser {\n height: 100%;\n}\n</style>\n","import { render } from \"./File.vue?vue&type=template&id=5f4a36da&scoped=true\"\nimport script from \"./File.vue?vue&type=script&lang=js\"\nexport * from \"./File.vue?vue&type=script&lang=js\"\n\nimport \"./File.vue?vue&type=style&index=0&id=5f4a36da&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-5f4a36da\"]])\n\nexport default __exports__","<script>\nimport Utils from \"@/Utils\";\n\nexport default {\n emits: ['back', 'path-change', 'play'],\n mixins: [Utils],\n props: {\n filter: {\n type: String,\n default: '',\n },\n },\n\n data() {\n return {\n loading: false,\n }\n },\n}\n</script>\n","import script from \"./Mixin.vue?vue&type=script&lang=js\"\nexport * from \"./Mixin.vue?vue&type=script&lang=js\"\n\nconst __exports__ = script;\n\nexport default __exports__"],"names":["class","_createElementBlock","_hoisted_1","_ctx","loading","_createBlock","_component_Loading","key","_component_Browser","filter","onBack","_cache","$event","$emit","onPathChange","onPlay","mixins","MediaProvider","components","Browser","Loading","__exports__","render","emits","Utils","props","type","String","default","data"],"sourceRoot":""}
|
|
@ -1,2 +1,2 @@
|
||||||
"use strict";(self["webpackChunkplatypush"]=self["webpackChunkplatypush"]||[]).push([[2893,6362],{2893:function(e,t,n){n.r(t),n.d(t,{default:function(){return w}});var l=n(6252),a=n(3577);const u={class:"entity sensor-container"},s={class:"head"},i={class:"icon"},o={class:"label"},c=["textContent"],r={key:0,class:"value-container"},v=["textContent"],d=["textContent"];function p(e,t,n,p,y,m){const f=(0,l.up)("EntityIcon");return(0,l.wg)(),(0,l.iD)("div",u,[(0,l._)("div",s,[(0,l._)("div",i,[(0,l.Wm)(f,{entity:e.value,loading:e.loading,error:e.error},null,8,["entity","loading","error"])]),(0,l._)("div",o,[(0,l._)("div",{class:"name",textContent:(0,a.zw)(e.value.name)},null,8,c)]),null!=e.value.value?((0,l.wg)(),(0,l.iD)("div",r,[null!=e.value.unit?((0,l.wg)(),(0,l.iD)("span",{key:0,class:"unit",textContent:(0,a.zw)(e.value.unit)},null,8,v)):(0,l.kq)("",!0),(0,l._)("span",{class:"value",textContent:(0,a.zw)(m.displayValue(e.value.value))},null,8,d)])):(0,l.kq)("",!0)])])}var y=n(4967),m=n(6362),f={name:"EnumSensor",components:{EntityIcon:y["default"]},mixins:[m["default"]],methods:{displayValue(e){return this.value?.values&&"object"===typeof this.value.values&&this.value.values[e]||e}}},_=n(3744);const h=(0,_.Z)(f,[["render",p],["__scopeId","data-v-159d46fc"]]);var w=h},6362:function(e,t,n){n.r(t),n.d(t,{default:function(){return w}});var l=n(6252),a=n(3577);const u={class:"entity sensor-container"},s={class:"head"},i={class:"icon"},o={class:"label"},c=["textContent"],r={key:0,class:"value-container"},v=["textContent"],d=["textContent"];function p(e,t,n,p,y,m){const f=(0,l.up)("EntityIcon");return(0,l.wg)(),(0,l.iD)("div",u,[(0,l._)("div",s,[(0,l._)("div",i,[(0,l.Wm)(f,{entity:e.value,loading:e.loading,error:e.error},null,8,["entity","loading","error"])]),(0,l._)("div",o,[(0,l._)("div",{class:"name",textContent:(0,a.zw)(e.value.name)},null,8,c)]),null!=m.computedValue?((0,l.wg)(),(0,l.iD)("div",r,[(0,l._)("span",{class:"value",textContent:(0,a.zw)(m.computedValue)},null,8,v),null!=e.value.unit?((0,l.wg)(),(0,l.iD)("span",{key:0,class:"unit",textContent:(0,a.zw)(e.value.unit)},null,8,d)):(0,l.kq)("",!0)])):(0,l.kq)("",!0)])])}var y=n(847),m=n(4967),f={name:"Sensor",components:{EntityIcon:m["default"]},mixins:[y["default"]],computed:{computedValue(){return null!=this.value.value?this.value.value:this.value._value}}},_=n(3744);const h=(0,_.Z)(f,[["render",p],["__scopeId","data-v-3b38610c"]]);var w=h}}]);
|
"use strict";(self["webpackChunkplatypush"]=self["webpackChunkplatypush"]||[]).push([[2893,6362],{2893:function(e,t,n){n.r(t),n.d(t,{default:function(){return w}});var l=n(6252),a=n(3577);const u={class:"entity sensor-container"},s={class:"head"},i={class:"icon"},o={class:"label"},c=["textContent"],r={key:0,class:"value-container"},v=["textContent"],d=["textContent"];function p(e,t,n,p,y,m){const f=(0,l.up)("EntityIcon");return(0,l.wg)(),(0,l.iD)("div",u,[(0,l._)("div",s,[(0,l._)("div",i,[(0,l.Wm)(f,{entity:e.value,loading:e.loading,error:e.error},null,8,["entity","loading","error"])]),(0,l._)("div",o,[(0,l._)("div",{class:"name",textContent:(0,a.zw)(e.value.name)},null,8,c)]),null!=e.value.value?((0,l.wg)(),(0,l.iD)("div",r,[null!=e.value.unit?((0,l.wg)(),(0,l.iD)("span",{key:0,class:"unit",textContent:(0,a.zw)(e.value.unit)},null,8,v)):(0,l.kq)("",!0),(0,l._)("span",{class:"value",textContent:(0,a.zw)(m.displayValue(e.value.value))},null,8,d)])):(0,l.kq)("",!0)])])}var y=n(4967),m=n(6362),f={name:"EnumSensor",components:{EntityIcon:y["default"]},mixins:[m["default"]],methods:{displayValue(e){return this.value?.values&&"object"===typeof this.value.values&&this.value.values[e]||e}}},_=n(3744);const h=(0,_.Z)(f,[["render",p],["__scopeId","data-v-159d46fc"]]);var w=h},6362:function(e,t,n){n.r(t),n.d(t,{default:function(){return w}});var l=n(6252),a=n(3577);const u={class:"entity sensor-container"},s={class:"head"},i={class:"icon"},o={class:"label"},c=["textContent"],r={key:0,class:"value-container"},v=["textContent"],d=["textContent"];function p(e,t,n,p,y,m){const f=(0,l.up)("EntityIcon");return(0,l.wg)(),(0,l.iD)("div",u,[(0,l._)("div",s,[(0,l._)("div",i,[(0,l.Wm)(f,{entity:e.value,loading:e.loading,error:e.error},null,8,["entity","loading","error"])]),(0,l._)("div",o,[(0,l._)("div",{class:"name",textContent:(0,a.zw)(e.value.name)},null,8,c)]),null!=m.computedValue?((0,l.wg)(),(0,l.iD)("div",r,[(0,l._)("span",{class:"value",textContent:(0,a.zw)(m.computedValue)},null,8,v),null!=e.value.unit?((0,l.wg)(),(0,l.iD)("span",{key:0,class:"unit",textContent:(0,a.zw)(e.value.unit)},null,8,d)):(0,l.kq)("",!0)])):(0,l.kq)("",!0)])])}var y=n(847),m=n(4967),f={name:"Sensor",components:{EntityIcon:m["default"]},mixins:[y["default"]],computed:{computedValue(){return null!=this.value.value?this.value.value:this.value._value}}},_=n(3744);const h=(0,_.Z)(f,[["render",p],["__scopeId","data-v-3b38610c"]]);var w=h}}]);
|
||||||
//# sourceMappingURL=2893.519a1554.js.map
|
//# sourceMappingURL=2893.55e3bcf7.js.map
|
File diff suppressed because one or more lines are too long
|
@ -1,2 +1,2 @@
|
||||||
"use strict";(self["webpackChunkplatypush"]=self["webpackChunkplatypush"]||[]).push([[3322],{3322:function(a,e,n){n.r(e),n.d(e,{default:function(){return p}});var c=n(6252);const s={class:"entity weather-icon-container"},t=["src","alt"],r=["src","alt"];function l(a,e,n,l,u,i){return(0,c.wg)(),(0,c.iD)("span",s,[n.value.icon?((0,c.wg)(),(0,c.iD)("img",{key:0,src:`/icons/openweathermap/dark/${n.value.icon}.png`,alt:n.value?.summary,class:"weather-icon"},null,8,t)):n.value.image?((0,c.wg)(),(0,c.iD)("img",{key:1,src:n.value.image,alt:n.value?.summary,class:"weather-icon"},null,8,r)):(0,c.kq)("",!0)])}var u={props:{value:Object}},i=n(3744);const o=(0,i.Z)(u,[["render",l],["__scopeId","data-v-1c0bfb77"]]);var p=o}}]);
|
"use strict";(self["webpackChunkplatypush"]=self["webpackChunkplatypush"]||[]).push([[3322],{3322:function(a,e,n){n.r(e),n.d(e,{default:function(){return p}});var c=n(6252);const s={class:"entity weather-icon-container"},t=["src","alt"],r=["src","alt"];function l(a,e,n,l,u,i){return(0,c.wg)(),(0,c.iD)("span",s,[n.value.icon?((0,c.wg)(),(0,c.iD)("img",{key:0,src:`/icons/openweathermap/dark/${n.value.icon}.png`,alt:n.value?.summary,class:"weather-icon"},null,8,t)):n.value.image?((0,c.wg)(),(0,c.iD)("img",{key:1,src:n.value.image,alt:n.value?.summary,class:"weather-icon"},null,8,r)):(0,c.kq)("",!0)])}var u={props:{value:Object}},i=n(3744);const o=(0,i.Z)(u,[["render",l],["__scopeId","data-v-1c0bfb77"]]);var p=o}}]);
|
||||||
//# sourceMappingURL=3322.12d6bfa0.js.map
|
//# sourceMappingURL=3322.6340e745.js.map
|
|
@ -1 +1 @@
|
||||||
{"version":3,"file":"static/js/3322.12d6bfa0.js","mappings":"sLACQA,MAAM,iC,0EAAZC,EAAAA,EAAAA,IAUO,OAVPC,EAUO,CANMC,EAAAC,MAAMC,OAAI,WAHrBJ,EAAAA,EAAAA,IAGyB,O,MAHnBK,IAAG,8BAAgCH,EAAAC,MAAMC,WACzCE,IAAKJ,EAAAC,OAAOI,QACbR,MAAM,gB,WAMKG,EAAAC,MAAMK,QAAK,WAH3BR,EAAAA,EAAAA,IAG+B,O,MAHzBK,IAAKH,EAAAC,MAAMK,MACXF,IAAKJ,EAAAC,OAAOI,QACbR,MAAM,gB,6BAMf,OACEU,MAAO,CACLN,MAAOO,S,UCVX,MAAMC,GAA2B,OAAgB,EAAQ,CAAC,CAAC,SAASC,GAAQ,CAAC,YAAY,qBAEzF,O","sources":["webpack://platypush/./src/components/panels/Entities/WeatherIcon.vue","webpack://platypush/./src/components/panels/Entities/WeatherIcon.vue?1d06"],"sourcesContent":["<template>\n <span class=\"entity weather-icon-container\">\n <img :src=\"`/icons/openweathermap/dark/${value.icon}.png`\"\n :alt=\"value?.summary\"\n class=\"weather-icon\"\n v-if=\"value.icon\" />\n\n <img :src=\"value.image\"\n :alt=\"value?.summary\"\n class=\"weather-icon\"\n v-else-if=\"value.image\" />\n </span>\n</template>\n\n<script>\nexport default {\n props: {\n value: Object,\n },\n}\n</script>\n\n<style lang=\"scss\" scoped>\n@import \"common\";\n\n.weather-icon-container {\n display: flex;\n align-items: center;\n justify-content: center;\n height: 2.5em;\n\n .weather-icon {\n max-width: 100%;\n height: 100%;\n margin: 0.5em 0.5em 0.5em 1em;\n }\n}\n</style>\n","import { render } from \"./WeatherIcon.vue?vue&type=template&id=1c0bfb77&scoped=true\"\nimport script from \"./WeatherIcon.vue?vue&type=script&lang=js\"\nexport * from \"./WeatherIcon.vue?vue&type=script&lang=js\"\n\nimport \"./WeatherIcon.vue?vue&type=style&index=0&id=1c0bfb77&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-1c0bfb77\"]])\n\nexport default __exports__"],"names":["class","_createElementBlock","_hoisted_1","$props","value","icon","src","alt","summary","image","props","Object","__exports__","render"],"sourceRoot":""}
|
{"version":3,"file":"static/js/3322.6340e745.js","mappings":"sLACQA,MAAM,iC,0EAAZC,EAAAA,EAAAA,IAUO,OAVPC,EAUO,CANMC,EAAAC,MAAMC,OAAI,WAHrBJ,EAAAA,EAAAA,IAGyB,O,MAHnBK,IAAG,8BAAgCH,EAAAC,MAAMC,WACzCE,IAAKJ,EAAAC,OAAOI,QACbR,MAAM,gB,WAMKG,EAAAC,MAAMK,QAAK,WAH3BR,EAAAA,EAAAA,IAG+B,O,MAHzBK,IAAKH,EAAAC,MAAMK,MACXF,IAAKJ,EAAAC,OAAOI,QACbR,MAAM,gB,6BAMf,OACEU,MAAO,CACLN,MAAOO,S,UCVX,MAAMC,GAA2B,OAAgB,EAAQ,CAAC,CAAC,SAASC,GAAQ,CAAC,YAAY,qBAEzF,O","sources":["webpack://platypush/./src/components/panels/Entities/WeatherIcon.vue","webpack://platypush/./src/components/panels/Entities/WeatherIcon.vue?1d06"],"sourcesContent":["<template>\n <span class=\"entity weather-icon-container\">\n <img :src=\"`/icons/openweathermap/dark/${value.icon}.png`\"\n :alt=\"value?.summary\"\n class=\"weather-icon\"\n v-if=\"value.icon\" />\n\n <img :src=\"value.image\"\n :alt=\"value?.summary\"\n class=\"weather-icon\"\n v-else-if=\"value.image\" />\n </span>\n</template>\n\n<script>\nexport default {\n props: {\n value: Object,\n },\n}\n</script>\n\n<style lang=\"scss\" scoped>\n@import \"common\";\n\n.weather-icon-container {\n display: flex;\n align-items: center;\n justify-content: center;\n height: 2.5em;\n\n .weather-icon {\n max-width: 100%;\n height: 100%;\n margin: 0.5em 0.5em 0.5em 1em;\n }\n}\n</style>\n","import { render } from \"./WeatherIcon.vue?vue&type=template&id=1c0bfb77&scoped=true\"\nimport script from \"./WeatherIcon.vue?vue&type=script&lang=js\"\nexport * from \"./WeatherIcon.vue?vue&type=script&lang=js\"\n\nimport \"./WeatherIcon.vue?vue&type=style&index=0&id=1c0bfb77&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-1c0bfb77\"]])\n\nexport default __exports__"],"names":["class","_createElementBlock","_hoisted_1","$props","value","icon","src","alt","summary","image","props","Object","__exports__","render"],"sourceRoot":""}
|
|
@ -1,2 +1,2 @@
|
||||||
"use strict";(self["webpackChunkplatypush"]=self["webpackChunkplatypush"]||[]).push([[3368],{3368:function(e,l,t){t.r(l),t.d(l,{default:function(){return b}});var a=t(6252),s=t(3577),n=t(9963);const i={class:"entity switch-container"},u={class:"icon"},o={class:"label"},c=["textContent"],v={class:"value-container"},d=["textContent"],r={class:"row"},p={class:"input"},h=["disabled"],y={key:0,value:"",selected:""},g=["value","selected","textContent"];function w(e,l,t,w,f,_){const k=(0,a.up)("EntityIcon");return(0,a.wg)(),(0,a.iD)("div",i,[(0,a._)("div",{class:(0,s.C_)(["head",{collapsed:e.collapsed}])},[(0,a._)("div",u,[(0,a.Wm)(k,{entity:e.value,loading:e.loading,error:e.error},null,8,["entity","loading","error"])]),(0,a._)("div",o,[(0,a._)("div",{class:"name",textContent:(0,s.zw)(e.value.name)},null,8,c)]),(0,a._)("div",v,[null!=e.value?.value?((0,a.wg)(),(0,a.iD)("span",{key:0,class:"value",textContent:(0,s.zw)(e.value.values[e.value.value]||e.value.value)},null,8,d)):(0,a.kq)("",!0),_.hasValues?((0,a.wg)(),(0,a.iD)("button",{key:1,onClick:l[0]||(l[0]=(0,n.iM)((l=>e.collapsed=!e.collapsed),["stop"]))},[(0,a._)("i",{class:(0,s.C_)(["fas",{"fa-angle-up":!e.collapsed,"fa-angle-down":e.collapsed}])},null,2)])):(0,a.kq)("",!0)])],2),e.collapsed?(0,a.kq)("",!0):((0,a.wg)(),(0,a.iD)("div",{key:0,class:"body",onClick:l[2]||(l[2]=(0,n.iM)(((...e)=>_.prevent&&_.prevent(...e)),["stop"]))},[(0,a._)("div",r,[(0,a._)("div",p,[(0,a._)("select",{onInput:l[1]||(l[1]=(...e)=>_.setValue&&_.setValue(...e)),ref:"values",disabled:e.loading},[e.value.is_write_only?((0,a.wg)(),(0,a.iD)("option",y,"--")):(0,a.kq)("",!0),((0,a.wg)(!0),(0,a.iD)(a.HY,null,(0,a.Ko)(_.displayValues,((l,t)=>((0,a.wg)(),(0,a.iD)("option",{value:t,selected:t==e.value.value,key:t,textContent:(0,s.zw)(l)},null,8,g)))),128))],40,h)])])]))])}var f=t(847),_=t(4967),k={name:"EnumSwitch",components:{EntityIcon:_["default"]},mixins:[f["default"]],computed:{hasValues(){return!!Object.values(this?.value?.values||{}).length},displayValues(){return this.value?.values instanceof Array?this.value.values.reduce(((e,l)=>(e[l]=l,e)),{}):this.value?.values||{}}},methods:{prevent(e){return e.stopPropagation(),!1},async setValue(e){if(e.target.value?.length){if(this.$emit("loading",!0),this.value.is_write_only){const e=this;setTimeout((()=>{e.$refs.values.value=""}),1e3)}try{await this.request("entities.execute",{id:this.value.id,action:"set",value:e.target.value})}finally{this.$emit("loading",!1)}}}}},m=t(3744);const C=(0,m.Z)(k,[["render",w],["__scopeId","data-v-043593ec"]]);var b=C}}]);
|
"use strict";(self["webpackChunkplatypush"]=self["webpackChunkplatypush"]||[]).push([[3368],{3368:function(e,l,t){t.r(l),t.d(l,{default:function(){return b}});var a=t(6252),s=t(3577),n=t(9963);const i={class:"entity switch-container"},u={class:"icon"},o={class:"label"},c=["textContent"],v={class:"value-container"},d=["textContent"],r={class:"row"},p={class:"input"},h=["disabled"],y={key:0,value:"",selected:""},g=["value","selected","textContent"];function w(e,l,t,w,f,_){const k=(0,a.up)("EntityIcon");return(0,a.wg)(),(0,a.iD)("div",i,[(0,a._)("div",{class:(0,s.C_)(["head",{collapsed:e.collapsed}])},[(0,a._)("div",u,[(0,a.Wm)(k,{entity:e.value,loading:e.loading,error:e.error},null,8,["entity","loading","error"])]),(0,a._)("div",o,[(0,a._)("div",{class:"name",textContent:(0,s.zw)(e.value.name)},null,8,c)]),(0,a._)("div",v,[null!=e.value?.value?((0,a.wg)(),(0,a.iD)("span",{key:0,class:"value",textContent:(0,s.zw)(e.value.values[e.value.value]||e.value.value)},null,8,d)):(0,a.kq)("",!0),_.hasValues?((0,a.wg)(),(0,a.iD)("button",{key:1,onClick:l[0]||(l[0]=(0,n.iM)((l=>e.collapsed=!e.collapsed),["stop"]))},[(0,a._)("i",{class:(0,s.C_)(["fas",{"fa-angle-up":!e.collapsed,"fa-angle-down":e.collapsed}])},null,2)])):(0,a.kq)("",!0)])],2),e.collapsed?(0,a.kq)("",!0):((0,a.wg)(),(0,a.iD)("div",{key:0,class:"body",onClick:l[2]||(l[2]=(0,n.iM)(((...e)=>_.prevent&&_.prevent(...e)),["stop"]))},[(0,a._)("div",r,[(0,a._)("div",p,[(0,a._)("select",{onInput:l[1]||(l[1]=(...e)=>_.setValue&&_.setValue(...e)),ref:"values",disabled:e.loading},[e.value.is_write_only?((0,a.wg)(),(0,a.iD)("option",y,"--")):(0,a.kq)("",!0),((0,a.wg)(!0),(0,a.iD)(a.HY,null,(0,a.Ko)(_.displayValues,((l,t)=>((0,a.wg)(),(0,a.iD)("option",{value:t,selected:t==e.value.value,key:t,textContent:(0,s.zw)(l)},null,8,g)))),128))],40,h)])])]))])}var f=t(847),_=t(4967),k={name:"EnumSwitch",components:{EntityIcon:_["default"]},mixins:[f["default"]],computed:{hasValues(){return!!Object.values(this?.value?.values||{}).length},displayValues(){return this.value?.values instanceof Array?this.value.values.reduce(((e,l)=>(e[l]=l,e)),{}):this.value?.values||{}}},methods:{prevent(e){return e.stopPropagation(),!1},async setValue(e){if(e.target.value?.length){if(this.$emit("loading",!0),this.value.is_write_only){const e=this;setTimeout((()=>{e.$refs.values.value=""}),1e3)}try{await this.request("entities.execute",{id:this.value.id,action:"set",value:e.target.value})}finally{this.$emit("loading",!1)}}}}},m=t(3744);const C=(0,m.Z)(k,[["render",w],["__scopeId","data-v-043593ec"]]);var b=C}}]);
|
||||||
//# sourceMappingURL=3368.0cff7037.js.map
|
//# sourceMappingURL=3368.bbaad492.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
|
@ -1,2 +1,2 @@
|
||||||
"use strict";(self["webpackChunkplatypush"]=self["webpackChunkplatypush"]||[]).push([[342],{3222:function(e,t,s){s.d(t,{Z:function(){return r}});var i=s(6252),l=s(3577);const n={class:"no-items-container"};function a(e,t,s,a,o,u){return(0,i.wg)(),(0,i.iD)("div",n,[(0,i._)("div",{class:(0,l.C_)(["no-items fade-in",{shadow:s.withShadow}])},[(0,i.WI)(e.$slots,"default",{},void 0,!0)],2)])}var o={name:"NoItems",props:{withShadow:{type:Boolean,default:!0}}},u=s(3744);const d=(0,u.Z)(o,[["render",a],["__scopeId","data-v-4856c4d7"]]);var r=d},342:function(e,t,s){s.r(t),s.d(t,{default:function(){return y}});var i=s(6252);const l={class:"media-youtube-playlist"};function n(e,t,s,n,a,o){const u=(0,i.up)("Loading"),d=(0,i.up)("NoItems"),r=(0,i.up)("Results");return(0,i.wg)(),(0,i.iD)("div",l,[a.loading?((0,i.wg)(),(0,i.j4)(u,{key:0})):a.items?.length?((0,i.wg)(),(0,i.j4)(r,{key:2,results:a.items,sources:{youtube:!0},filter:s.filter,"selected-result":a.selectedResult,onSelect:t[0]||(t[0]=e=>a.selectedResult=e),onPlay:t[1]||(t[1]=t=>e.$emit("play",t))},null,8,["results","filter","selected-result"])):((0,i.wg)(),(0,i.j4)(d,{key:1,"with-shadow":!1},{default:(0,i.w5)((()=>[(0,i.Uk)(" No videos found. ")])),_:1}))])}var a=s(3222),o=s(6791),u=s(5390),d=s(8637),r={emits:["play"],mixins:[d.Z],components:{Loading:o.Z,NoItems:a.Z,Results:u.Z},props:{id:{type:String,required:!0},filter:{type:String,default:null}},data(){return{items:[],loading:!1,selectedResult:null}},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.loadItems()}},c=s(3744);const p=(0,c.Z)(r,[["render",n],["__scopeId","data-v-66236cc4"]]);var y=p}}]);
|
"use strict";(self["webpackChunkplatypush"]=self["webpackChunkplatypush"]||[]).push([[342],{3222:function(e,t,s){s.d(t,{Z:function(){return r}});var i=s(6252),l=s(3577);const n={class:"no-items-container"};function a(e,t,s,a,o,u){return(0,i.wg)(),(0,i.iD)("div",n,[(0,i._)("div",{class:(0,l.C_)(["no-items fade-in",{shadow:s.withShadow}])},[(0,i.WI)(e.$slots,"default",{},void 0,!0)],2)])}var o={name:"NoItems",props:{withShadow:{type:Boolean,default:!0}}},u=s(3744);const d=(0,u.Z)(o,[["render",a],["__scopeId","data-v-4856c4d7"]]);var r=d},342:function(e,t,s){s.r(t),s.d(t,{default:function(){return y}});var i=s(6252);const l={class:"media-youtube-playlist"};function n(e,t,s,n,a,o){const u=(0,i.up)("Loading"),d=(0,i.up)("NoItems"),r=(0,i.up)("Results");return(0,i.wg)(),(0,i.iD)("div",l,[a.loading?((0,i.wg)(),(0,i.j4)(u,{key:0})):a.items?.length?((0,i.wg)(),(0,i.j4)(r,{key:2,results:a.items,sources:{youtube:!0},filter:s.filter,"selected-result":a.selectedResult,onSelect:t[0]||(t[0]=e=>a.selectedResult=e),onPlay:t[1]||(t[1]=t=>e.$emit("play",t))},null,8,["results","filter","selected-result"])):((0,i.wg)(),(0,i.j4)(d,{key:1,"with-shadow":!1},{default:(0,i.w5)((()=>[(0,i.Uk)(" No videos found. ")])),_:1}))])}var a=s(3222),o=s(6791),u=s(5390),d=s(8637),r={emits:["play"],mixins:[d.Z],components:{Loading:o.Z,NoItems:a.Z,Results:u.Z},props:{id:{type:String,required:!0},filter:{type:String,default:null}},data(){return{items:[],loading:!1,selectedResult:null}},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.loadItems()}},c=s(3744);const p=(0,c.Z)(r,[["render",n],["__scopeId","data-v-66236cc4"]]);var y=p}}]);
|
||||||
//# sourceMappingURL=342.9c431c81.js.map
|
//# sourceMappingURL=342.b2e983b2.js.map
|
File diff suppressed because one or more lines are too long
|
@ -1,2 +1,2 @@
|
||||||
"use strict";(self["webpackChunkplatypush"]=self["webpackChunkplatypush"]||[]).push([[3518],{3518:function(e,n,a){a.r(n),a.d(n,{default:function(){return i}});var u=a(6252);function t(e,n,a,t,r,p){const s=(0,u.up)("Media");return(0,u.wg)(),(0,u.j4)(s,{"plugin-name":"media.mplayer"})}var r=a(8260),p={name:"MediaMplayer",components:{Media:r["default"]}},s=a(3744);const c=(0,s.Z)(p,[["render",t]]);var i=c}}]);
|
"use strict";(self["webpackChunkplatypush"]=self["webpackChunkplatypush"]||[]).push([[3518],{3518:function(e,n,a){a.r(n),a.d(n,{default:function(){return i}});var u=a(6252);function t(e,n,a,t,r,p){const s=(0,u.up)("Media");return(0,u.wg)(),(0,u.j4)(s,{"plugin-name":"media.mplayer"})}var r=a(1256),p={name:"MediaMplayer",components:{Media:r["default"]}},s=a(3744);const c=(0,s.Z)(p,[["render",t]]);var i=c}}]);
|
||||||
//# sourceMappingURL=3518.57a8b567.js.map
|
//# sourceMappingURL=3518.ee2296eb.js.map
|
|
@ -1 +1 @@
|
||||||
{"version":3,"file":"static/js/3518.57a8b567.js","mappings":"iPACEA,EAAAA,EAAAA,IAAqCC,EAAA,CAA9B,cAAY,iB,eAMrB,GACEC,KAAM,eACNC,WAAY,CAACC,MAAKA,EAAAA,a,UCJpB,MAAMC,GAA2B,OAAgB,EAAQ,CAAC,CAAC,SAASC,KAEpE,O","sources":["webpack://platypush/./src/components/panels/MediaMplayer/Index.vue","webpack://platypush/./src/components/panels/MediaMplayer/Index.vue?becb"],"sourcesContent":["<template>\n <Media plugin-name=\"media.mplayer\" />\n</template>\n\n<script>\nimport Media from '@/components/panels/Media/Index'\n\nexport default {\n name: \"MediaMplayer\",\n components: {Media},\n}\n</script>\n\n<style scoped>\n\n</style>\n","import { render } from \"./Index.vue?vue&type=template&id=08ab61b7\"\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","name","components","Media","__exports__","render"],"sourceRoot":""}
|
{"version":3,"file":"static/js/3518.ee2296eb.js","mappings":"iPACEA,EAAAA,EAAAA,IAAqCC,EAAA,CAA9B,cAAY,iB,eAMrB,GACEC,KAAM,eACNC,WAAY,CAACC,MAAKA,EAAAA,a,UCJpB,MAAMC,GAA2B,OAAgB,EAAQ,CAAC,CAAC,SAASC,KAEpE,O","sources":["webpack://platypush/./src/components/panels/MediaMplayer/Index.vue","webpack://platypush/./src/components/panels/MediaMplayer/Index.vue?becb"],"sourcesContent":["<template>\n <Media plugin-name=\"media.mplayer\" />\n</template>\n\n<script>\nimport Media from '@/components/panels/Media/Index'\n\nexport default {\n name: \"MediaMplayer\",\n components: {Media},\n}\n</script>\n\n<style scoped>\n\n</style>\n","import { render } from \"./Index.vue?vue&type=template&id=08ab61b7\"\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","name","components","Media","__exports__","render"],"sourceRoot":""}
|
|
@ -1,2 +1,2 @@
|
||||||
"use strict";(self["webpackChunkplatypush"]=self["webpackChunkplatypush"]||[]).push([[3559],{3559:function(e,n,t){t.r(n),t.d(n,{default:function(){return k}});var l=t(6252),a=t(3577);const u={class:"entity link-quality-container"},i={class:"head"},s={class:"icon"},r={class:"label"},c=["textContent"],o={class:"value-container"},v=["textContent"];function d(e,n,t,d,p,f){const h=(0,l.up)("EntityIcon");return(0,l.wg)(),(0,l.iD)("div",u,[(0,l._)("div",i,[(0,l._)("div",s,[(0,l.Wm)(h,{entity:e.value,loading:e.loading,error:e.error},null,8,["entity","loading","error"])]),(0,l._)("div",r,[(0,l._)("div",{class:"name",textContent:(0,a.zw)(e.value.name)},null,8,c)]),(0,l._)("div",o,[null!=f.valuePercent?((0,l.wg)(),(0,l.iD)("span",{key:0,class:"value",textContent:(0,a.zw)(f.valuePercent+"%")},null,8,v)):(0,l.kq)("",!0)])])])}var p=t(847),f=t(4967),h={name:"LinkQuality",components:{EntityIcon:f["default"]},mixins:[p["default"]],computed:{valuePercent(){if(null==this.value?.value)return null;const e=this.value.min||0,n=this.value.max||100;return(100*this.value.value/(n-e)).toFixed(0)}}},y=t(3744);const m=(0,y.Z)(h,[["render",d],["__scopeId","data-v-66f207d9"]]);var k=m}}]);
|
"use strict";(self["webpackChunkplatypush"]=self["webpackChunkplatypush"]||[]).push([[3559],{3559:function(e,n,t){t.r(n),t.d(n,{default:function(){return k}});var l=t(6252),a=t(3577);const u={class:"entity link-quality-container"},i={class:"head"},s={class:"icon"},r={class:"label"},c=["textContent"],o={class:"value-container"},v=["textContent"];function d(e,n,t,d,p,f){const h=(0,l.up)("EntityIcon");return(0,l.wg)(),(0,l.iD)("div",u,[(0,l._)("div",i,[(0,l._)("div",s,[(0,l.Wm)(h,{entity:e.value,loading:e.loading,error:e.error},null,8,["entity","loading","error"])]),(0,l._)("div",r,[(0,l._)("div",{class:"name",textContent:(0,a.zw)(e.value.name)},null,8,c)]),(0,l._)("div",o,[null!=f.valuePercent?((0,l.wg)(),(0,l.iD)("span",{key:0,class:"value",textContent:(0,a.zw)(f.valuePercent+"%")},null,8,v)):(0,l.kq)("",!0)])])])}var p=t(847),f=t(4967),h={name:"LinkQuality",components:{EntityIcon:f["default"]},mixins:[p["default"]],computed:{valuePercent(){if(null==this.value?.value)return null;const e=this.value.min||0,n=this.value.max||100;return(100*this.value.value/(n-e)).toFixed(0)}}},y=t(3744);const m=(0,y.Z)(h,[["render",d],["__scopeId","data-v-66f207d9"]]);var k=m}}]);
|
||||||
//# sourceMappingURL=3559.df95d103.js.map
|
//# sourceMappingURL=3559.c2592048.js.map
|
|
@ -1 +1 @@
|
||||||
{"version":3,"file":"static/js/3559.df95d103.js","mappings":"gMACOA,MAAM,iC,GACJA,MAAM,Q,GACJA,MAAM,Q,GAINA,MAAM,S,qBAINA,MAAM,mB,2FAVfC,EAAAA,EAAAA,IAgBM,MAhBNC,EAgBM,EAfJC,EAAAA,EAAAA,GAcM,MAdNC,EAcM,EAbJD,EAAAA,EAAAA,GAEM,MAFNE,EAEM,EADJC,EAAAA,EAAAA,IAAgEC,EAAA,CAAnDC,OAAQC,EAAAC,MAAQC,QAASF,EAAAE,QAAUC,MAAOH,EAAAG,O,wCAGzDT,EAAAA,EAAAA,GAEM,MAFNU,EAEM,EADJV,EAAAA,EAAAA,GAAwC,OAAnCH,MAAM,O,aAAOc,EAAAA,EAAAA,IAAQL,EAAWC,MAALK,O,aAGlCZ,EAAAA,EAAAA,GAIM,MAJNa,EAIM,CADoB,MAAhBC,EAAAC,eAAY,WAFpBjB,EAAAA,EAAAA,IAEgC,Q,MAF1BD,MAAM,Q,aACVc,EAAAA,EAAAA,IAAQG,EAAmBC,aAAJ,M,wDAWjC,GACEH,KAAM,cACNI,WAAY,CAACC,WAAUA,EAAAA,YACvBC,OAAQ,CAACC,EAAAA,YAETC,SAAU,CACRL,YAAAA,GACE,GAAyB,MAArBM,KAAKd,OAAOA,MACd,OAAO,KAET,MAAMe,EAAMD,KAAKd,MAAMe,KAAO,EACxBC,EAAMF,KAAKd,MAAMgB,KAAO,IAC9B,OAAS,IAAMF,KAAKd,MAAMA,OAAUgB,EAAMD,IAAME,QAAQ,EAC1D,I,UC9BJ,MAAMC,GAA2B,OAAgB,EAAQ,CAAC,CAAC,SAASC,GAAQ,CAAC,YAAY,qBAEzF,O","sources":["webpack://platypush/./src/components/panels/Entities/LinkQuality.vue","webpack://platypush/./src/components/panels/Entities/LinkQuality.vue?19d2"],"sourcesContent":["<template>\n <div class=\"entity link-quality-container\">\n <div class=\"head\">\n <div class=\"icon\">\n <EntityIcon :entity=\"value\" :loading=\"loading\" :error=\"error\" />\n </div>\n\n <div class=\"label\">\n <div class=\"name\" v-text=\"value.name\" />\n </div>\n\n <div class=\"value-container\">\n <span class=\"value\"\n v-text=\"valuePercent + '%'\"\n v-if=\"valuePercent != null\" />\n </div>\n </div>\n </div>\n</template>\n\n<script>\nimport EntityMixin from \"./EntityMixin\"\nimport EntityIcon from \"./EntityIcon\"\n\nexport default {\n name: 'LinkQuality',\n components: {EntityIcon},\n mixins: [EntityMixin],\n\n computed: {\n valuePercent() {\n if (this.value?.value == null)\n return null\n\n const min = this.value.min || 0\n const max = this.value.max || 100\n return ((100 * this.value.value) / (max - min)).toFixed(0)\n },\n },\n}\n</script>\n\n<style lang=\"scss\" scoped>\n@import \"common\";\n</style>\n","import { render } from \"./LinkQuality.vue?vue&type=template&id=66f207d9&scoped=true\"\nimport script from \"./LinkQuality.vue?vue&type=script&lang=js\"\nexport * from \"./LinkQuality.vue?vue&type=script&lang=js\"\n\nimport \"./LinkQuality.vue?vue&type=style&index=0&id=66f207d9&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-66f207d9\"]])\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","_hoisted_6","$options","valuePercent","components","EntityIcon","mixins","EntityMixin","computed","this","min","max","toFixed","__exports__","render"],"sourceRoot":""}
|
{"version":3,"file":"static/js/3559.c2592048.js","mappings":"gMACOA,MAAM,iC,GACJA,MAAM,Q,GACJA,MAAM,Q,GAINA,MAAM,S,qBAINA,MAAM,mB,2FAVfC,EAAAA,EAAAA,IAgBM,MAhBNC,EAgBM,EAfJC,EAAAA,EAAAA,GAcM,MAdNC,EAcM,EAbJD,EAAAA,EAAAA,GAEM,MAFNE,EAEM,EADJC,EAAAA,EAAAA,IAAgEC,EAAA,CAAnDC,OAAQC,EAAAC,MAAQC,QAASF,EAAAE,QAAUC,MAAOH,EAAAG,O,wCAGzDT,EAAAA,EAAAA,GAEM,MAFNU,EAEM,EADJV,EAAAA,EAAAA,GAAwC,OAAnCH,MAAM,O,aAAOc,EAAAA,EAAAA,IAAQL,EAAWC,MAALK,O,aAGlCZ,EAAAA,EAAAA,GAIM,MAJNa,EAIM,CADoB,MAAhBC,EAAAC,eAAY,WAFpBjB,EAAAA,EAAAA,IAEgC,Q,MAF1BD,MAAM,Q,aACVc,EAAAA,EAAAA,IAAQG,EAAmBC,aAAJ,M,wDAWjC,GACEH,KAAM,cACNI,WAAY,CAACC,WAAUA,EAAAA,YACvBC,OAAQ,CAACC,EAAAA,YAETC,SAAU,CACRL,YAAAA,GACE,GAAyB,MAArBM,KAAKd,OAAOA,MACd,OAAO,KAET,MAAMe,EAAMD,KAAKd,MAAMe,KAAO,EACxBC,EAAMF,KAAKd,MAAMgB,KAAO,IAC9B,OAAS,IAAMF,KAAKd,MAAMA,OAAUgB,EAAMD,IAAME,QAAQ,EAC1D,I,UC9BJ,MAAMC,GAA2B,OAAgB,EAAQ,CAAC,CAAC,SAASC,GAAQ,CAAC,YAAY,qBAEzF,O","sources":["webpack://platypush/./src/components/panels/Entities/LinkQuality.vue","webpack://platypush/./src/components/panels/Entities/LinkQuality.vue?19d2"],"sourcesContent":["<template>\n <div class=\"entity link-quality-container\">\n <div class=\"head\">\n <div class=\"icon\">\n <EntityIcon :entity=\"value\" :loading=\"loading\" :error=\"error\" />\n </div>\n\n <div class=\"label\">\n <div class=\"name\" v-text=\"value.name\" />\n </div>\n\n <div class=\"value-container\">\n <span class=\"value\"\n v-text=\"valuePercent + '%'\"\n v-if=\"valuePercent != null\" />\n </div>\n </div>\n </div>\n</template>\n\n<script>\nimport EntityMixin from \"./EntityMixin\"\nimport EntityIcon from \"./EntityIcon\"\n\nexport default {\n name: 'LinkQuality',\n components: {EntityIcon},\n mixins: [EntityMixin],\n\n computed: {\n valuePercent() {\n if (this.value?.value == null)\n return null\n\n const min = this.value.min || 0\n const max = this.value.max || 100\n return ((100 * this.value.value) / (max - min)).toFixed(0)\n },\n },\n}\n</script>\n\n<style lang=\"scss\" scoped>\n@import \"common\";\n</style>\n","import { render } from \"./LinkQuality.vue?vue&type=template&id=66f207d9&scoped=true\"\nimport script from \"./LinkQuality.vue?vue&type=script&lang=js\"\nexport * from \"./LinkQuality.vue?vue&type=script&lang=js\"\n\nimport \"./LinkQuality.vue?vue&type=style&index=0&id=66f207d9&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-66f207d9\"]])\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","_hoisted_6","$options","valuePercent","components","EntityIcon","mixins","EntityMixin","computed","this","min","max","toFixed","__exports__","render"],"sourceRoot":""}
|
|
@ -1,2 +1,2 @@
|
||||||
"use strict";(self["webpackChunkplatypush"]=self["webpackChunkplatypush"]||[]).push([[3835],{7514:function(e,t,n){n.d(t,{Z:function(){return h}});var i=n(6252),a=n(3577),l=n(9963);const o=e=>((0,i.dD)("data-v-eff375b6"),e=e(),(0,i.Cn)(),e),s=["checked","id"],c=o((()=>(0,i._)("div",{class:"switch"},[(0,i._)("div",{class:"dot"})],-1))),d={class:"label"};function u(e,t,n,o,u,r){return(0,i.wg)(),(0,i.iD)("div",{class:(0,a.C_)(["power-switch",{disabled:n.disabled}]),onClick:t[0]||(t[0]=(0,l.iM)(((...e)=>r.onInput&&r.onInput(...e)),["stop"]))},[(0,i._)("input",{type:"checkbox",checked:n.value,id:n.id},null,8,s),(0,i._)("label",null,[c,(0,i._)("span",d,[(0,i.WI)(e.$slots,"default",{},void 0,!0)])])],2)}var r={name:"ToggleSwitch",emits:["input"],props:{id:{type:String},value:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1}},methods:{onInput(e){if(this.disabled)return!1;this.$emit("input",e)}}},v=n(3744);const p=(0,v.Z)(r,[["render",u],["__scopeId","data-v-eff375b6"]]);var h=p},3835:function(e,t,n){n.r(t),n.d(t,{default:function(){return b}});var i=n(6252),a=n(3577),l=n(9963);const o={class:"entity device-container"},s={class:"head"},c={class:"icon"},d={class:"label"},u=["textContent"];function r(e,t,n,r,v,p){const h=(0,i.up)("EntityIcon"),f=(0,i.up)("ToggleSwitch");return(0,i.wg)(),(0,i.iD)("div",o,[(0,i._)("div",s,[(0,i._)("div",c,[(0,i.Wm)(h,{entity:e.value,loading:e.loading,error:e.error},null,8,["entity","loading","error"])]),(0,i._)("div",d,[(0,i._)("div",{class:"name",textContent:(0,a.zw)(e.value.name)},null,8,u)]),(0,i._)("div",{class:(0,a.C_)(["value-container",{"with-children":e.value?.children_ids?.length}])},[(0,i.Wm)(f,{value:e.value.connected,disabled:e.loading,onInput:p.connect,onClick:t[0]||(t[0]=(0,l.iM)((()=>{}),["stop"]))},null,8,["value","disabled","onInput"])],2)])])}var v=n(847),p=n(4967),h=n(7514),f={name:"BluetoothDevice",components:{EntityIcon:p["default"],ToggleSwitch:h.Z},mixins:[v["default"]],methods:{async connect(e){e.stopPropagation(),this.$emit("loading",!0);const t="bluetooth."+(this.value.connected?"disconnect":"connect");try{await this.request(t,{device:this.value.address})}finally{this.$emit("loading",!1)}}}},g=n(3744);const _=(0,g.Z)(f,[["render",r],["__scopeId","data-v-6aff1eff"]]);var b=_}}]);
|
"use strict";(self["webpackChunkplatypush"]=self["webpackChunkplatypush"]||[]).push([[3835],{7514:function(e,t,n){n.d(t,{Z:function(){return h}});var i=n(6252),a=n(3577),l=n(9963);const o=e=>((0,i.dD)("data-v-eff375b6"),e=e(),(0,i.Cn)(),e),s=["checked","id"],c=o((()=>(0,i._)("div",{class:"switch"},[(0,i._)("div",{class:"dot"})],-1))),d={class:"label"};function u(e,t,n,o,u,r){return(0,i.wg)(),(0,i.iD)("div",{class:(0,a.C_)(["power-switch",{disabled:n.disabled}]),onClick:t[0]||(t[0]=(0,l.iM)(((...e)=>r.onInput&&r.onInput(...e)),["stop"]))},[(0,i._)("input",{type:"checkbox",checked:n.value,id:n.id},null,8,s),(0,i._)("label",null,[c,(0,i._)("span",d,[(0,i.WI)(e.$slots,"default",{},void 0,!0)])])],2)}var r={name:"ToggleSwitch",emits:["input"],props:{id:{type:String},value:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1}},methods:{onInput(e){if(this.disabled)return!1;this.$emit("input",e)}}},v=n(3744);const p=(0,v.Z)(r,[["render",u],["__scopeId","data-v-eff375b6"]]);var h=p},3835:function(e,t,n){n.r(t),n.d(t,{default:function(){return b}});var i=n(6252),a=n(3577),l=n(9963);const o={class:"entity device-container"},s={class:"head"},c={class:"icon"},d={class:"label"},u=["textContent"];function r(e,t,n,r,v,p){const h=(0,i.up)("EntityIcon"),f=(0,i.up)("ToggleSwitch");return(0,i.wg)(),(0,i.iD)("div",o,[(0,i._)("div",s,[(0,i._)("div",c,[(0,i.Wm)(h,{entity:e.value,loading:e.loading,error:e.error},null,8,["entity","loading","error"])]),(0,i._)("div",d,[(0,i._)("div",{class:"name",textContent:(0,a.zw)(e.value.name)},null,8,u)]),(0,i._)("div",{class:(0,a.C_)(["value-container",{"with-children":e.value?.children_ids?.length}])},[(0,i.Wm)(f,{value:e.value.connected,disabled:e.loading,onInput:p.connect,onClick:t[0]||(t[0]=(0,l.iM)((()=>{}),["stop"]))},null,8,["value","disabled","onInput"])],2)])])}var v=n(847),p=n(4967),h=n(7514),f={name:"BluetoothDevice",components:{EntityIcon:p["default"],ToggleSwitch:h.Z},mixins:[v["default"]],methods:{async connect(e){e.stopPropagation(),this.$emit("loading",!0);const t="bluetooth."+(this.value.connected?"disconnect":"connect");try{await this.request(t,{device:this.value.address})}finally{this.$emit("loading",!1)}}}},g=n(3744);const _=(0,g.Z)(f,[["render",r],["__scopeId","data-v-6aff1eff"]]);var b=_}}]);
|
||||||
//# sourceMappingURL=3835.f37b0b12.js.map
|
//# sourceMappingURL=3835.5628da2d.js.map
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
1
platypush/backend/http/webapp/dist/static/js/4053.a255e9b2.js.map
vendored
Normal file
1
platypush/backend/http/webapp/dist/static/js/4053.a255e9b2.js.map
vendored
Normal file
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
|
@ -1,2 +1,2 @@
|
||||||
"use strict";(self["webpackChunkplatypush"]=self["webpackChunkplatypush"]||[]).push([[4765],{4765:function(e,n,a){a.r(n),a.d(n,{default:function(){return i}});var u=a(6252);function t(e,n,a,t,p,r){const s=(0,u.up)("Media");return(0,u.wg)(),(0,u.j4)(s,{"plugin-name":"media.mpv"})}var p=a(8260),r={name:"MediaMpv",components:{Media:p["default"]}},s=a(3744);const c=(0,s.Z)(r,[["render",t]]);var i=c}}]);
|
"use strict";(self["webpackChunkplatypush"]=self["webpackChunkplatypush"]||[]).push([[4765],{4765:function(e,n,a){a.r(n),a.d(n,{default:function(){return i}});var u=a(6252);function t(e,n,a,t,p,r){const s=(0,u.up)("Media");return(0,u.wg)(),(0,u.j4)(s,{"plugin-name":"media.mpv"})}var p=a(1256),r={name:"MediaMpv",components:{Media:p["default"]}},s=a(3744);const c=(0,s.Z)(r,[["render",t]]);var i=c}}]);
|
||||||
//# sourceMappingURL=4765.6d76b6af.js.map
|
//# sourceMappingURL=4765.476828dd.js.map
|
|
@ -1 +1 @@
|
||||||
{"version":3,"file":"static/js/4765.6d76b6af.js","mappings":"iPACEA,EAAAA,EAAAA,IAAiCC,EAAA,CAA1B,cAAY,a,eAMrB,GACEC,KAAM,WACNC,WAAY,CAACC,MAAKA,EAAAA,a,UCJpB,MAAMC,GAA2B,OAAgB,EAAQ,CAAC,CAAC,SAASC,KAEpE,O","sources":["webpack://platypush/./src/components/panels/MediaMpv/Index.vue","webpack://platypush/./src/components/panels/MediaMpv/Index.vue?4cb2"],"sourcesContent":["<template>\n <Media plugin-name=\"media.mpv\" />\n</template>\n\n<script>\nimport Media from '@/components/panels/Media/Index'\n\nexport default {\n name: \"MediaMpv\",\n components: {Media},\n}\n</script>\n\n<style scoped>\n\n</style>\n","import { render } from \"./Index.vue?vue&type=template&id=52effd7c\"\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","name","components","Media","__exports__","render"],"sourceRoot":""}
|
{"version":3,"file":"static/js/4765.476828dd.js","mappings":"iPACEA,EAAAA,EAAAA,IAAiCC,EAAA,CAA1B,cAAY,a,eAMrB,GACEC,KAAM,WACNC,WAAY,CAACC,MAAKA,EAAAA,a,UCJpB,MAAMC,GAA2B,OAAgB,EAAQ,CAAC,CAAC,SAASC,KAEpE,O","sources":["webpack://platypush/./src/components/panels/MediaMpv/Index.vue","webpack://platypush/./src/components/panels/MediaMpv/Index.vue?4cb2"],"sourcesContent":["<template>\n <Media plugin-name=\"media.mpv\" />\n</template>\n\n<script>\nimport Media from '@/components/panels/Media/Index'\n\nexport default {\n name: \"MediaMpv\",\n components: {Media},\n}\n</script>\n\n<style scoped>\n\n</style>\n","import { render } from \"./Index.vue?vue&type=template&id=52effd7c\"\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","name","components","Media","__exports__","render"],"sourceRoot":""}
|
2
platypush/backend/http/webapp/dist/static/js/5143.61d5d95a.js
vendored
Normal file
2
platypush/backend/http/webapp/dist/static/js/5143.61d5d95a.js
vendored
Normal file
File diff suppressed because one or more lines are too long
1
platypush/backend/http/webapp/dist/static/js/5143.61d5d95a.js.map
vendored
Normal file
1
platypush/backend/http/webapp/dist/static/js/5143.61d5d95a.js.map
vendored
Normal file
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
|
@ -1,2 +1,2 @@
|
||||||
"use strict";(self["webpackChunkplatypush"]=self["webpackChunkplatypush"]||[]).push([[5329],{5329:function(e,l,a){a.r(l),a.d(l,{default:function(){return le}});var s=a(6252),t=a(3577),n=a(9963);const i=e=>((0,s.dD)("data-v-d7813182"),e=e(),(0,s.Cn)(),e),v={class:"icon"},c={class:"label"},d=["textContent"],u={class:"value-and-toggler"},o=["textContent"],r={key:0,class:"body children attributes fade-in"},_={key:0,class:"child"},C=i((()=>(0,s._)("div",{class:"label"},[(0,s._)("div",{class:"name"},"Total")],-1))),m={class:"value"},k=["textContent"],h={key:1,class:"child"},p=i((()=>(0,s._)("div",{class:"label"},[(0,s._)("div",{class:"name"},"Available")],-1))),w={class:"value"},x=["textContent"],f={key:2,class:"child"},y=i((()=>(0,s._)("div",{class:"label"},[(0,s._)("div",{class:"name"},"Used")],-1))),z={class:"value"},b=["textContent"],g={key:3,class:"child"},D=i((()=>(0,s._)("div",{class:"label"},[(0,s._)("div",{class:"name"},"Free")],-1))),S={class:"value"},q=["textContent"],I={key:4,class:"child"},M=i((()=>(0,s._)("div",{class:"label"},[(0,s._)("div",{class:"name"},"Active")],-1))),A={class:"value"},E=["textContent"],B={key:5,class:"child"},F=i((()=>(0,s._)("div",{class:"label"},[(0,s._)("div",{class:"name"},"Inactive")],-1))),T={class:"value"},U=["textContent"],W={key:6,class:"child"},Z=i((()=>(0,s._)("div",{class:"label"},[(0,s._)("div",{class:"name"},"Buffers")],-1))),j={class:"value"},G=["textContent"],H={key:7,class:"child"},J=i((()=>(0,s._)("div",{class:"label"},[(0,s._)("div",{class:"name"},"Cached")],-1))),K={class:"value"},L=["textContent"],N={key:8,class:"child"},O=i((()=>(0,s._)("div",{class:"label"},[(0,s._)("div",{class:"name"},"Shared")],-1))),P={class:"value"},Q=["textContent"];function R(e,l,a,i,R,V){const X=(0,s.up)("EntityIcon");return(0,s.wg)(),(0,s.iD)("div",{class:(0,t.C_)(["entity memory-stats-container",{expanded:!R.isCollapsed}])},[(0,s._)("div",{class:"head",onClick:l[1]||(l[1]=(0,n.iM)((e=>R.isCollapsed=!R.isCollapsed),["stop"]))},[(0,s._)("div",v,[(0,s.Wm)(X,{entity:e.value,loading:e.loading,error:e.error},null,8,["entity","loading","error"])]),(0,s._)("div",c,[(0,s._)("div",{class:"name",textContent:(0,t.zw)(e.value.name)},null,8,d)]),(0,s._)("div",u,[(0,s._)("div",{class:"value",textContent:(0,t.zw)(Math.round(100*e.value.percent,1)+"%")},null,8,o),(0,s._)("div",{class:"collapse-toggler",onClick:l[0]||(l[0]=(0,n.iM)((e=>R.isCollapsed=!R.isCollapsed),["stop"]))},[(0,s._)("i",{class:(0,t.C_)(["fas",{"fa-chevron-down":R.isCollapsed,"fa-chevron-up":!R.isCollapsed}])},null,2)])])]),R.isCollapsed?(0,s.kq)("",!0):((0,s.wg)(),(0,s.iD)("div",r,[null!=e.value.total?((0,s.wg)(),(0,s.iD)("div",_,[C,(0,s._)("div",m,[(0,s._)("div",{class:"name",textContent:(0,t.zw)(e.convertSize(e.value.total))},null,8,k)])])):(0,s.kq)("",!0),null!=e.value.available?((0,s.wg)(),(0,s.iD)("div",h,[p,(0,s._)("div",w,[(0,s._)("div",{class:"name",textContent:(0,t.zw)(e.convertSize(e.value.available))},null,8,x)])])):(0,s.kq)("",!0),null!=e.value.used?((0,s.wg)(),(0,s.iD)("div",f,[y,(0,s._)("div",z,[(0,s._)("div",{class:"name",textContent:(0,t.zw)(e.convertSize(e.value.used))},null,8,b)])])):(0,s.kq)("",!0),null!=e.value.free?((0,s.wg)(),(0,s.iD)("div",g,[D,(0,s._)("div",S,[(0,s._)("div",{class:"name",textContent:(0,t.zw)(e.convertSize(e.value.free))},null,8,q)])])):(0,s.kq)("",!0),null!=e.value.active?((0,s.wg)(),(0,s.iD)("div",I,[M,(0,s._)("div",A,[(0,s._)("div",{class:"name",textContent:(0,t.zw)(e.convertSize(e.value.active))},null,8,E)])])):(0,s.kq)("",!0),null!=e.value.inactive?((0,s.wg)(),(0,s.iD)("div",B,[F,(0,s._)("div",T,[(0,s._)("div",{class:"name",textContent:(0,t.zw)(e.convertSize(e.value.inactive))},null,8,U)])])):(0,s.kq)("",!0),null!=e.value.buffers?((0,s.wg)(),(0,s.iD)("div",W,[Z,(0,s._)("div",j,[(0,s._)("div",{class:"name",textContent:(0,t.zw)(e.convertSize(e.value.buffers))},null,8,G)])])):(0,s.kq)("",!0),null!=e.value.cached?((0,s.wg)(),(0,s.iD)("div",H,[J,(0,s._)("div",K,[(0,s._)("div",{class:"name",textContent:(0,t.zw)(e.convertSize(e.value.cached))},null,8,L)])])):(0,s.kq)("",!0),null!=e.value.shared?((0,s.wg)(),(0,s.iD)("div",N,[O,(0,s._)("div",P,[(0,s._)("div",{class:"name",textContent:(0,t.zw)(e.convertSize(e.value.shared))},null,8,Q)])])):(0,s.kq)("",!0)]))],2)}var V=a(847),X=a(4967),Y={name:"MemoryStats",components:{EntityIcon:X["default"]},mixins:[V["default"]],data(){return{isCollapsed:!0}}},$=a(3744);const ee=(0,$.Z)(Y,[["render",R],["__scopeId","data-v-d7813182"]]);var le=ee}}]);
|
"use strict";(self["webpackChunkplatypush"]=self["webpackChunkplatypush"]||[]).push([[5329],{5329:function(e,l,a){a.r(l),a.d(l,{default:function(){return le}});var s=a(6252),t=a(3577),n=a(9963);const i=e=>((0,s.dD)("data-v-d7813182"),e=e(),(0,s.Cn)(),e),v={class:"icon"},c={class:"label"},d=["textContent"],u={class:"value-and-toggler"},o=["textContent"],r={key:0,class:"body children attributes fade-in"},_={key:0,class:"child"},C=i((()=>(0,s._)("div",{class:"label"},[(0,s._)("div",{class:"name"},"Total")],-1))),m={class:"value"},k=["textContent"],h={key:1,class:"child"},p=i((()=>(0,s._)("div",{class:"label"},[(0,s._)("div",{class:"name"},"Available")],-1))),w={class:"value"},x=["textContent"],f={key:2,class:"child"},y=i((()=>(0,s._)("div",{class:"label"},[(0,s._)("div",{class:"name"},"Used")],-1))),z={class:"value"},b=["textContent"],g={key:3,class:"child"},D=i((()=>(0,s._)("div",{class:"label"},[(0,s._)("div",{class:"name"},"Free")],-1))),S={class:"value"},q=["textContent"],I={key:4,class:"child"},M=i((()=>(0,s._)("div",{class:"label"},[(0,s._)("div",{class:"name"},"Active")],-1))),A={class:"value"},E=["textContent"],B={key:5,class:"child"},F=i((()=>(0,s._)("div",{class:"label"},[(0,s._)("div",{class:"name"},"Inactive")],-1))),T={class:"value"},U=["textContent"],W={key:6,class:"child"},Z=i((()=>(0,s._)("div",{class:"label"},[(0,s._)("div",{class:"name"},"Buffers")],-1))),j={class:"value"},G=["textContent"],H={key:7,class:"child"},J=i((()=>(0,s._)("div",{class:"label"},[(0,s._)("div",{class:"name"},"Cached")],-1))),K={class:"value"},L=["textContent"],N={key:8,class:"child"},O=i((()=>(0,s._)("div",{class:"label"},[(0,s._)("div",{class:"name"},"Shared")],-1))),P={class:"value"},Q=["textContent"];function R(e,l,a,i,R,V){const X=(0,s.up)("EntityIcon");return(0,s.wg)(),(0,s.iD)("div",{class:(0,t.C_)(["entity memory-stats-container",{expanded:!R.isCollapsed}])},[(0,s._)("div",{class:"head",onClick:l[1]||(l[1]=(0,n.iM)((e=>R.isCollapsed=!R.isCollapsed),["stop"]))},[(0,s._)("div",v,[(0,s.Wm)(X,{entity:e.value,loading:e.loading,error:e.error},null,8,["entity","loading","error"])]),(0,s._)("div",c,[(0,s._)("div",{class:"name",textContent:(0,t.zw)(e.value.name)},null,8,d)]),(0,s._)("div",u,[(0,s._)("div",{class:"value",textContent:(0,t.zw)(Math.round(100*e.value.percent,1)+"%")},null,8,o),(0,s._)("div",{class:"collapse-toggler",onClick:l[0]||(l[0]=(0,n.iM)((e=>R.isCollapsed=!R.isCollapsed),["stop"]))},[(0,s._)("i",{class:(0,t.C_)(["fas",{"fa-chevron-down":R.isCollapsed,"fa-chevron-up":!R.isCollapsed}])},null,2)])])]),R.isCollapsed?(0,s.kq)("",!0):((0,s.wg)(),(0,s.iD)("div",r,[null!=e.value.total?((0,s.wg)(),(0,s.iD)("div",_,[C,(0,s._)("div",m,[(0,s._)("div",{class:"name",textContent:(0,t.zw)(e.convertSize(e.value.total))},null,8,k)])])):(0,s.kq)("",!0),null!=e.value.available?((0,s.wg)(),(0,s.iD)("div",h,[p,(0,s._)("div",w,[(0,s._)("div",{class:"name",textContent:(0,t.zw)(e.convertSize(e.value.available))},null,8,x)])])):(0,s.kq)("",!0),null!=e.value.used?((0,s.wg)(),(0,s.iD)("div",f,[y,(0,s._)("div",z,[(0,s._)("div",{class:"name",textContent:(0,t.zw)(e.convertSize(e.value.used))},null,8,b)])])):(0,s.kq)("",!0),null!=e.value.free?((0,s.wg)(),(0,s.iD)("div",g,[D,(0,s._)("div",S,[(0,s._)("div",{class:"name",textContent:(0,t.zw)(e.convertSize(e.value.free))},null,8,q)])])):(0,s.kq)("",!0),null!=e.value.active?((0,s.wg)(),(0,s.iD)("div",I,[M,(0,s._)("div",A,[(0,s._)("div",{class:"name",textContent:(0,t.zw)(e.convertSize(e.value.active))},null,8,E)])])):(0,s.kq)("",!0),null!=e.value.inactive?((0,s.wg)(),(0,s.iD)("div",B,[F,(0,s._)("div",T,[(0,s._)("div",{class:"name",textContent:(0,t.zw)(e.convertSize(e.value.inactive))},null,8,U)])])):(0,s.kq)("",!0),null!=e.value.buffers?((0,s.wg)(),(0,s.iD)("div",W,[Z,(0,s._)("div",j,[(0,s._)("div",{class:"name",textContent:(0,t.zw)(e.convertSize(e.value.buffers))},null,8,G)])])):(0,s.kq)("",!0),null!=e.value.cached?((0,s.wg)(),(0,s.iD)("div",H,[J,(0,s._)("div",K,[(0,s._)("div",{class:"name",textContent:(0,t.zw)(e.convertSize(e.value.cached))},null,8,L)])])):(0,s.kq)("",!0),null!=e.value.shared?((0,s.wg)(),(0,s.iD)("div",N,[O,(0,s._)("div",P,[(0,s._)("div",{class:"name",textContent:(0,t.zw)(e.convertSize(e.value.shared))},null,8,Q)])])):(0,s.kq)("",!0)]))],2)}var V=a(847),X=a(4967),Y={name:"MemoryStats",components:{EntityIcon:X["default"]},mixins:[V["default"]],data(){return{isCollapsed:!0}}},$=a(3744);const ee=(0,$.Z)(Y,[["render",R],["__scopeId","data-v-d7813182"]]);var le=ee}}]);
|
||||||
//# sourceMappingURL=5329.d855e760.js.map
|
//# sourceMappingURL=5329.2bca7d01.js.map
|
File diff suppressed because one or more lines are too long
|
@ -1,2 +1,2 @@
|
||||||
"use strict";(self["webpackChunkplatypush"]=self["webpackChunkplatypush"]||[]).push([[5578],{5578:function(a,s,t){t.r(s),t.d(s,{default:function(){return C}});var c=t(6252),l=t(3577);const n=a=>((0,c.dD)("data-v-2bc923a8"),a=a(),(0,c.Cn)(),a),i={class:"nav"},e={class:"path"},p=n((()=>(0,c._)("i",{class:"fas fa-home"},null,-1))),o=[p],k=n((()=>(0,c._)("span",{class:"separator"},[(0,c._)("i",{class:"fas fa-chevron-right"})],-1))),r=["title","onClick"],h={key:1},u={key:0,class:"separator"},f=n((()=>(0,c._)("i",{class:"fas fa-chevron-right"},null,-1))),d=[f];function g(a,s,t,n,p,f){return(0,c.wg)(),(0,c.iD)("div",i,[(0,c._)("span",e,[(0,c._)("span",{class:"back token",title:"Back",onClick:s[0]||(s[0]=s=>a.$emit("back"))},o),k]),((0,c.wg)(!0),(0,c.iD)(c.HY,null,(0,c.Ko)(t.path,((s,n)=>((0,c.wg)(),(0,c.iD)("span",{class:"path",key:n},[(0,c._)("span",{class:"token",title:s.title,onClick:a=>f.onClick(s)},[(a.icon=s.icon?.["class"])?((0,c.wg)(),(0,c.iD)("i",{key:0,class:(0,l.C_)(["icon",a.icon])},null,2)):(0,c.kq)("",!0),s.title?((0,c.wg)(),(0,c.iD)("span",h,(0,l.zw)(s.title),1)):(0,c.kq)("",!0)],8,r),(n>0||t.path.length>1)&&n<t.path.length-1?((0,c.wg)(),(0,c.iD)("span",u,d)):(0,c.kq)("",!0)])))),128))])}var _={emit:["back"],props:{path:{type:Array,default:()=>[]}},methods:{onClick(a){a.click&&a.click()}}},v=t(3744);const w=(0,v.Z)(_,[["render",g],["__scopeId","data-v-2bc923a8"]]);var C=w}}]);
|
"use strict";(self["webpackChunkplatypush"]=self["webpackChunkplatypush"]||[]).push([[5578],{5578:function(a,s,t){t.r(s),t.d(s,{default:function(){return C}});var c=t(6252),l=t(3577);const n=a=>((0,c.dD)("data-v-2bc923a8"),a=a(),(0,c.Cn)(),a),i={class:"nav"},e={class:"path"},p=n((()=>(0,c._)("i",{class:"fas fa-home"},null,-1))),o=[p],k=n((()=>(0,c._)("span",{class:"separator"},[(0,c._)("i",{class:"fas fa-chevron-right"})],-1))),r=["title","onClick"],h={key:1},u={key:0,class:"separator"},f=n((()=>(0,c._)("i",{class:"fas fa-chevron-right"},null,-1))),d=[f];function g(a,s,t,n,p,f){return(0,c.wg)(),(0,c.iD)("div",i,[(0,c._)("span",e,[(0,c._)("span",{class:"back token",title:"Back",onClick:s[0]||(s[0]=s=>a.$emit("back"))},o),k]),((0,c.wg)(!0),(0,c.iD)(c.HY,null,(0,c.Ko)(t.path,((s,n)=>((0,c.wg)(),(0,c.iD)("span",{class:"path",key:n},[(0,c._)("span",{class:"token",title:s.title,onClick:a=>f.onClick(s)},[(a.icon=s.icon?.["class"])?((0,c.wg)(),(0,c.iD)("i",{key:0,class:(0,l.C_)(["icon",a.icon])},null,2)):(0,c.kq)("",!0),s.title?((0,c.wg)(),(0,c.iD)("span",h,(0,l.zw)(s.title),1)):(0,c.kq)("",!0)],8,r),(n>0||t.path.length>1)&&n<t.path.length-1?((0,c.wg)(),(0,c.iD)("span",u,d)):(0,c.kq)("",!0)])))),128))])}var _={emit:["back"],props:{path:{type:Array,default:()=>[]}},methods:{onClick(a){a.click&&a.click()}}},v=t(3744);const w=(0,v.Z)(_,[["render",g],["__scopeId","data-v-2bc923a8"]]);var C=w}}]);
|
||||||
//# sourceMappingURL=5578.216dad38.js.map
|
//# sourceMappingURL=5578.875c404d.js.map
|
|
@ -1 +1 @@
|
||||||
{"version":3,"file":"static/js/5578.216dad38.js","mappings":"sPACOA,MAAM,O,GACHA,MAAM,Q,UAERC,EAAAA,EAAAA,GAAyB,KAAtBD,MAAM,eAAa,W,GAAtBE,G,UAGFD,EAAAA,EAAAA,GAEO,QAFDD,MAAM,aAAW,EACrBC,EAAAA,EAAAA,GAAkC,KAA/BD,MAAM,2BAAsB,K,yCAU3BA,MAAM,a,UAEVC,EAAAA,EAAAA,GAAkC,KAA/BD,MAAM,wBAAsB,W,GAA/BG,G,0CAnBNC,EAAAA,EAAAA,IAsBM,MAtBNC,EAsBM,EArBJJ,EAAAA,EAAAA,GAQO,OARPK,EAQO,EAPLL,EAAAA,EAAAA,GAEO,QAFDD,MAAM,aAAaO,MAAM,OAAQC,QAAKC,EAAA,KAAAA,EAAA,GAAAC,GAAEC,EAAAC,MAAM,U,GAIpDC,MAEO,aAGTT,EAAAA,EAAAA,IAUOU,EAAAA,GAAA,MAAAC,EAAAA,EAAAA,IAVqCC,EAAAC,MAAI,CAArBC,EAAOC,M,WAAlCf,EAAAA,EAAAA,IAUO,QAVDJ,MAAM,OAAuCoB,IAAKD,G,EACtDlB,EAAAA,EAAAA,GAGO,QAHDD,MAAM,QAASO,MAAOW,EAAMX,MAAQC,QAAKE,GAAEW,EAAAb,QAAQU,I,EACnBP,EAAAW,KAAOJ,EAAMI,OAAO,YAAH,WAArDlB,EAAAA,EAAAA,IAAoE,K,MAAjEJ,OAAKuB,EAAAA,EAAAA,IAAA,CAAC,OAAeZ,EAAAW,Q,yBACZJ,EAAMX,QAAK,WAAvBH,EAAAA,EAAAA,IAAiD,OAAAoB,GAAAC,EAAAA,EAAAA,IAArBP,EAAMX,OAAK,2BAI5BY,EAAQ,GAAKH,EAAAC,KAAKS,OAAS,IAAMP,EAAQH,EAAAC,KAAKS,OAAS,IAAH,WADjEtB,EAAAA,EAAAA,IAGO,OAHPuB,EAGOC,KAAA,oB,QAMb,OACEC,KAAM,CAAC,QAEPC,MAAO,CACLb,KAAM,CACJc,KAAMC,MACNC,QAASA,IAAM,KAInBC,QAAS,CACP1B,OAAAA,CAAQU,GACFA,EAAMiB,OACRjB,EAAMiB,OACV,I,UClCJ,MAAMC,GAA2B,OAAgB,EAAQ,CAAC,CAAC,SAASC,GAAQ,CAAC,YAAY,qBAEzF,O","sources":["webpack://platypush/./src/components/panels/Media/Providers/Nav.vue","webpack://platypush/./src/components/panels/Media/Providers/Nav.vue?d1ce"],"sourcesContent":["<template>\n <div class=\"nav\">\n <span class=\"path\">\n <span class=\"back token\" title=\"Back\" @click=\"$emit('back')\">\n <i class=\"fas fa-home\" />\n </span>\n\n <span class=\"separator\">\n <i class=\"fas fa-chevron-right\" />\n </span>\n </span>\n\n <span class=\"path\" v-for=\"(token, index) in path\" :key=\"index\">\n <span class=\"token\" :title=\"token.title\" @click=\"onClick(token)\">\n <i class=\"icon\" :class=\"icon\" v-if=\"icon = token.icon?.['class']\" />\n <span v-if=\"token.title\">{{ token.title }}</span>\n </span>\n\n <span class=\"separator\"\n v-if=\"(index > 0 || path.length > 1) && index < path.length - 1\">\n <i class=\"fas fa-chevron-right\" />\n </span>\n </span>\n </div>\n</template>\n\n<script>\nexport default {\n emit: ['back'],\n\n props: {\n path: {\n type: Array,\n default: () => [],\n },\n },\n\n methods: {\n onClick(token) {\n if (token.click)\n token.click()\n },\n },\n}\n</script>\n\n<style lang=\"scss\" scoped>\n@import \"../style.scss\";\n\n.nav {\n .path .token .icon {\n margin-right: 0.5em;\n }\n}\n</style>\n","import { render } from \"./Nav.vue?vue&type=template&id=2bc923a8&scoped=true\"\nimport script from \"./Nav.vue?vue&type=script&lang=js\"\nexport * from \"./Nav.vue?vue&type=script&lang=js\"\n\nimport \"./Nav.vue?vue&type=style&index=0&id=2bc923a8&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-2bc923a8\"]])\n\nexport default __exports__"],"names":["class","_createElementVNode","_hoisted_3","_hoisted_9","_createElementBlock","_hoisted_1","_hoisted_2","title","onClick","_cache","$event","_ctx","$emit","_hoisted_5","_Fragment","_renderList","$props","path","token","index","key","$options","icon","_normalizeClass","_hoisted_7","_toDisplayString","length","_hoisted_8","_hoisted_10","emit","props","type","Array","default","methods","click","__exports__","render"],"sourceRoot":""}
|
{"version":3,"file":"static/js/5578.875c404d.js","mappings":"sPACOA,MAAM,O,GACHA,MAAM,Q,UAERC,EAAAA,EAAAA,GAAyB,KAAtBD,MAAM,eAAa,W,GAAtBE,G,UAGFD,EAAAA,EAAAA,GAEO,QAFDD,MAAM,aAAW,EACrBC,EAAAA,EAAAA,GAAkC,KAA/BD,MAAM,2BAAsB,K,yCAU3BA,MAAM,a,UAEVC,EAAAA,EAAAA,GAAkC,KAA/BD,MAAM,wBAAsB,W,GAA/BG,G,0CAnBNC,EAAAA,EAAAA,IAsBM,MAtBNC,EAsBM,EArBJJ,EAAAA,EAAAA,GAQO,OARPK,EAQO,EAPLL,EAAAA,EAAAA,GAEO,QAFDD,MAAM,aAAaO,MAAM,OAAQC,QAAKC,EAAA,KAAAA,EAAA,GAAAC,GAAEC,EAAAC,MAAM,U,GAIpDC,MAEO,aAGTT,EAAAA,EAAAA,IAUOU,EAAAA,GAAA,MAAAC,EAAAA,EAAAA,IAVqCC,EAAAC,MAAI,CAArBC,EAAOC,M,WAAlCf,EAAAA,EAAAA,IAUO,QAVDJ,MAAM,OAAuCoB,IAAKD,G,EACtDlB,EAAAA,EAAAA,GAGO,QAHDD,MAAM,QAASO,MAAOW,EAAMX,MAAQC,QAAKE,GAAEW,EAAAb,QAAQU,I,EACnBP,EAAAW,KAAOJ,EAAMI,OAAO,YAAH,WAArDlB,EAAAA,EAAAA,IAAoE,K,MAAjEJ,OAAKuB,EAAAA,EAAAA,IAAA,CAAC,OAAeZ,EAAAW,Q,yBACZJ,EAAMX,QAAK,WAAvBH,EAAAA,EAAAA,IAAiD,OAAAoB,GAAAC,EAAAA,EAAAA,IAArBP,EAAMX,OAAK,2BAI5BY,EAAQ,GAAKH,EAAAC,KAAKS,OAAS,IAAMP,EAAQH,EAAAC,KAAKS,OAAS,IAAH,WADjEtB,EAAAA,EAAAA,IAGO,OAHPuB,EAGOC,KAAA,oB,QAMb,OACEC,KAAM,CAAC,QAEPC,MAAO,CACLb,KAAM,CACJc,KAAMC,MACNC,QAASA,IAAM,KAInBC,QAAS,CACP1B,OAAAA,CAAQU,GACFA,EAAMiB,OACRjB,EAAMiB,OACV,I,UClCJ,MAAMC,GAA2B,OAAgB,EAAQ,CAAC,CAAC,SAASC,GAAQ,CAAC,YAAY,qBAEzF,O","sources":["webpack://platypush/./src/components/panels/Media/Providers/Nav.vue","webpack://platypush/./src/components/panels/Media/Providers/Nav.vue?d1ce"],"sourcesContent":["<template>\n <div class=\"nav\">\n <span class=\"path\">\n <span class=\"back token\" title=\"Back\" @click=\"$emit('back')\">\n <i class=\"fas fa-home\" />\n </span>\n\n <span class=\"separator\">\n <i class=\"fas fa-chevron-right\" />\n </span>\n </span>\n\n <span class=\"path\" v-for=\"(token, index) in path\" :key=\"index\">\n <span class=\"token\" :title=\"token.title\" @click=\"onClick(token)\">\n <i class=\"icon\" :class=\"icon\" v-if=\"icon = token.icon?.['class']\" />\n <span v-if=\"token.title\">{{ token.title }}</span>\n </span>\n\n <span class=\"separator\"\n v-if=\"(index > 0 || path.length > 1) && index < path.length - 1\">\n <i class=\"fas fa-chevron-right\" />\n </span>\n </span>\n </div>\n</template>\n\n<script>\nexport default {\n emit: ['back'],\n\n props: {\n path: {\n type: Array,\n default: () => [],\n },\n },\n\n methods: {\n onClick(token) {\n if (token.click)\n token.click()\n },\n },\n}\n</script>\n\n<style lang=\"scss\" scoped>\n@import \"../style.scss\";\n\n.nav {\n .path .token .icon {\n margin-right: 0.5em;\n }\n}\n</style>\n","import { render } from \"./Nav.vue?vue&type=template&id=2bc923a8&scoped=true\"\nimport script from \"./Nav.vue?vue&type=script&lang=js\"\nexport * from \"./Nav.vue?vue&type=script&lang=js\"\n\nimport \"./Nav.vue?vue&type=style&index=0&id=2bc923a8&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-2bc923a8\"]])\n\nexport default __exports__"],"names":["class","_createElementVNode","_hoisted_3","_hoisted_9","_createElementBlock","_hoisted_1","_hoisted_2","title","onClick","_cache","$event","_ctx","$emit","_hoisted_5","_Fragment","_renderList","$props","path","token","index","key","$options","icon","_normalizeClass","_hoisted_7","_toDisplayString","length","_hoisted_8","_hoisted_10","emit","props","type","Array","default","methods","click","__exports__","render"],"sourceRoot":""}
|
|
@ -1,2 +1,2 @@
|
||||||
"use strict";(self["webpackChunkplatypush"]=self["webpackChunkplatypush"]||[]).push([[5762],{7018:function(e,n,l){l.r(n),l.d(n,{default:function(){return w}});var t=l(6252),s=l(3577);const a={class:"header"},i={class:"banner"},r=["src"],c={class:"row"},o=["href"],h={class:"image"},u=["src"],d={class:"info"},g=["href"],p={class:"description"};function f(e,n,l,f,_,m){const y=(0,t.up)("Loading"),k=(0,t.up)("Results");return(0,t.wg)(),(0,t.iD)("div",{class:"media-youtube-channel",onScroll:n[3]||(n[3]=(...e)=>m.onScroll&&m.onScroll(...e))},[_.loading?((0,t.wg)(),(0,t.j4)(y,{key:0})):_.channel?((0,t.wg)(),(0,t.iD)("div",{key:1,class:"channel",onScroll:n[2]||(n[2]=(...e)=>m.onScroll&&m.onScroll(...e))},[(0,t._)("div",a,[(0,t._)("div",i,[_.channel?.banner?.length?((0,t.wg)(),(0,t.iD)("img",{key:0,src:_.channel.banner},null,8,r)):(0,t.kq)("",!0)]),(0,t._)("div",c,[(0,t._)("a",{href:_.channel.url,target:"_blank",rel:"noopener noreferrer"},[(0,t._)("div",h,[_.channel?.image?.length?((0,t.wg)(),(0,t.iD)("img",{key:0,src:_.channel.image},null,8,u)):(0,t.kq)("",!0)])],8,o),(0,t._)("div",d,[(0,t._)("a",{class:"title",href:_.channel.url,target:"_blank",rel:"noopener noreferrer"},(0,s.zw)(_.channel?.name),9,g),(0,t._)("div",p,(0,s.zw)(_.channel?.description),1)])])]),(0,t.Wm)(k,{results:_.channel.items,filter:l.filter,"selected-result":_.selectedResult,ref:"results",onSelect:n[0]||(n[0]=e=>_.selectedResult=e),onPlay:n[1]||(n[1]=n=>e.$emit("play",n))},null,8,["results","filter","selected-result"])],32)):(0,t.kq)("",!0)],32)}l(7658);var _=l(6791),m=l(5390),y=l(8637),k={emits:["play"],mixins:[y.Z],components:{Loading:_.Z,Results:m.Z},props:{id:{type:String,required:!0},filter:{type:String,default:null}},data(){return{channel:null,loading:!1,loadingNextPage:!1,selectedResult:null}},computed:{itemsByUrl(){return this.channel?.items.reduce(((e,n)=>(e[n.url]=n,e)),{})}},methods:{async loadChannel(){this.loading=!0;try{this.channel=await this.request("youtube.get_channel",{id:this.id})}finally{this.loading=!1}},async loadNextPage(){if(this.channel?.next_page_token&&!this.loadingNextPage)try{const e=await this.request("youtube.get_channel",{id:this.id,next_page_token:this.channel.next_page_token});this.channel.items.push(...e.items.filter((e=>!this.itemsByUrl[e.url]))),this.channel.next_page_token=e.next_page_token,this.$refs.results.maxResultIndex+=this.$refs.results.resultIndexStep}finally{this.loadingNextPage=!1}},onScroll(e){const n=e.target;if(!n)return;const l=n.scrollHeight-n.scrollTop<=n.clientHeight+150;l&&this.loadNextPage()}},mounted(){this.loadChannel()}},x=l(3744);const v=(0,x.Z)(k,[["render",f],["__scopeId","data-v-21b0d859"]]);var w=v}}]);
|
"use strict";(self["webpackChunkplatypush"]=self["webpackChunkplatypush"]||[]).push([[5762],{7018:function(e,n,l){l.r(n),l.d(n,{default:function(){return w}});var t=l(6252),s=l(3577);const a={class:"header"},i={class:"banner"},r=["src"],c={class:"row"},o=["href"],h={class:"image"},u=["src"],d={class:"info"},g=["href"],p={class:"description"};function f(e,n,l,f,_,m){const y=(0,t.up)("Loading"),k=(0,t.up)("Results");return(0,t.wg)(),(0,t.iD)("div",{class:"media-youtube-channel",onScroll:n[3]||(n[3]=(...e)=>m.onScroll&&m.onScroll(...e))},[_.loading?((0,t.wg)(),(0,t.j4)(y,{key:0})):_.channel?((0,t.wg)(),(0,t.iD)("div",{key:1,class:"channel",onScroll:n[2]||(n[2]=(...e)=>m.onScroll&&m.onScroll(...e))},[(0,t._)("div",a,[(0,t._)("div",i,[_.channel?.banner?.length?((0,t.wg)(),(0,t.iD)("img",{key:0,src:_.channel.banner},null,8,r)):(0,t.kq)("",!0)]),(0,t._)("div",c,[(0,t._)("a",{href:_.channel.url,target:"_blank",rel:"noopener noreferrer"},[(0,t._)("div",h,[_.channel?.image?.length?((0,t.wg)(),(0,t.iD)("img",{key:0,src:_.channel.image},null,8,u)):(0,t.kq)("",!0)])],8,o),(0,t._)("div",d,[(0,t._)("a",{class:"title",href:_.channel.url,target:"_blank",rel:"noopener noreferrer"},(0,s.zw)(_.channel?.name),9,g),(0,t._)("div",p,(0,s.zw)(_.channel?.description),1)])])]),(0,t.Wm)(k,{results:_.channel.items,filter:l.filter,"selected-result":_.selectedResult,ref:"results",onSelect:n[0]||(n[0]=e=>_.selectedResult=e),onPlay:n[1]||(n[1]=n=>e.$emit("play",n))},null,8,["results","filter","selected-result"])],32)):(0,t.kq)("",!0)],32)}l(7658);var _=l(6791),m=l(5390),y=l(8637),k={emits:["play"],mixins:[y.Z],components:{Loading:_.Z,Results:m.Z},props:{id:{type:String,required:!0},filter:{type:String,default:null}},data(){return{channel:null,loading:!1,loadingNextPage:!1,selectedResult:null}},computed:{itemsByUrl(){return this.channel?.items.reduce(((e,n)=>(e[n.url]=n,e)),{})}},methods:{async loadChannel(){this.loading=!0;try{this.channel=await this.request("youtube.get_channel",{id:this.id})}finally{this.loading=!1}},async loadNextPage(){if(this.channel?.next_page_token&&!this.loadingNextPage)try{const e=await this.request("youtube.get_channel",{id:this.id,next_page_token:this.channel.next_page_token});this.channel.items.push(...e.items.filter((e=>!this.itemsByUrl[e.url]))),this.channel.next_page_token=e.next_page_token,this.$refs.results.maxResultIndex+=this.$refs.results.resultIndexStep}finally{this.loadingNextPage=!1}},onScroll(e){const n=e.target;if(!n)return;const l=n.scrollHeight-n.scrollTop<=n.clientHeight+150;l&&this.loadNextPage()}},mounted(){this.loadChannel()}},x=l(3744);const v=(0,x.Z)(k,[["render",f],["__scopeId","data-v-21b0d859"]]);var w=v}}]);
|
||||||
//# sourceMappingURL=5762.7dcb5ad6.js.map
|
//# sourceMappingURL=5762.f1016d9f.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
|
@ -1,2 +1,2 @@
|
||||||
"use strict";(self["webpackChunkplatypush"]=self["webpackChunkplatypush"]||[]).push([[6123,5762],{3222:function(e,n,t){t.d(n,{Z:function(){return d}});var l=t(6252),s=t(3577);const i={class:"no-items-container"};function a(e,n,t,a,r,o){return(0,l.wg)(),(0,l.iD)("div",i,[(0,l._)("div",{class:(0,s.C_)(["no-items fade-in",{shadow:t.withShadow}])},[(0,l.WI)(e.$slots,"default",{},void 0,!0)],2)])}var r={name:"NoItems",props:{withShadow:{type:Boolean,default:!0}}},o=t(3744);const c=(0,o.Z)(r,[["render",a],["__scopeId","data-v-4856c4d7"]]);var d=c},7018:function(e,n,t){t.r(n),t.d(n,{default:function(){return b}});var l=t(6252),s=t(3577);const i={class:"header"},a={class:"banner"},r=["src"],o={class:"row"},c=["href"],d={class:"image"},u=["src"],h={class:"info"},g=["href"],p={class:"description"};function f(e,n,t,f,m,y){const _=(0,l.up)("Loading"),w=(0,l.up)("Results");return(0,l.wg)(),(0,l.iD)("div",{class:"media-youtube-channel",onScroll:n[3]||(n[3]=(...e)=>y.onScroll&&y.onScroll(...e))},[m.loading?((0,l.wg)(),(0,l.j4)(_,{key:0})):m.channel?((0,l.wg)(),(0,l.iD)("div",{key:1,class:"channel",onScroll:n[2]||(n[2]=(...e)=>y.onScroll&&y.onScroll(...e))},[(0,l._)("div",i,[(0,l._)("div",a,[m.channel?.banner?.length?((0,l.wg)(),(0,l.iD)("img",{key:0,src:m.channel.banner},null,8,r)):(0,l.kq)("",!0)]),(0,l._)("div",o,[(0,l._)("a",{href:m.channel.url,target:"_blank",rel:"noopener noreferrer"},[(0,l._)("div",d,[m.channel?.image?.length?((0,l.wg)(),(0,l.iD)("img",{key:0,src:m.channel.image},null,8,u)):(0,l.kq)("",!0)])],8,c),(0,l._)("div",h,[(0,l._)("a",{class:"title",href:m.channel.url,target:"_blank",rel:"noopener noreferrer"},(0,s.zw)(m.channel?.name),9,g),(0,l._)("div",p,(0,s.zw)(m.channel?.description),1)])])]),(0,l.Wm)(w,{results:m.channel.items,filter:t.filter,"selected-result":m.selectedResult,ref:"results",onSelect:n[0]||(n[0]=e=>m.selectedResult=e),onPlay:n[1]||(n[1]=n=>e.$emit("play",n))},null,8,["results","filter","selected-result"])],32)):(0,l.kq)("",!0)],32)}t(7658);var m=t(6791),y=t(5390),_=t(8637),w={emits:["play"],mixins:[_.Z],components:{Loading:m.Z,Results:y.Z},props:{id:{type:String,required:!0},filter:{type:String,default:null}},data(){return{channel:null,loading:!1,loadingNextPage:!1,selectedResult:null}},computed:{itemsByUrl(){return this.channel?.items.reduce(((e,n)=>(e[n.url]=n,e)),{})}},methods:{async loadChannel(){this.loading=!0;try{this.channel=await this.request("youtube.get_channel",{id:this.id})}finally{this.loading=!1}},async loadNextPage(){if(this.channel?.next_page_token&&!this.loadingNextPage)try{const e=await this.request("youtube.get_channel",{id:this.id,next_page_token:this.channel.next_page_token});this.channel.items.push(...e.items.filter((e=>!this.itemsByUrl[e.url]))),this.channel.next_page_token=e.next_page_token,this.$refs.results.maxResultIndex+=this.$refs.results.resultIndexStep}finally{this.loadingNextPage=!1}},onScroll(e){const n=e.target;if(!n)return;const t=n.scrollHeight-n.scrollTop<=n.clientHeight+150;t&&this.loadNextPage()}},mounted(){this.loadChannel()}},v=t(3744);const k=(0,v.Z)(w,[["render",f],["__scopeId","data-v-21b0d859"]]);var b=k},7425:function(e,n,t){t.r(n),t.d(n,{default:function(){return k}});var l=t(6252),s=t(3577);const i={class:"media-youtube-subscriptions"},a={key:0,class:"subscriptions-index"},r={key:2,class:"body grid"},o=["onClick"],c={class:"image"},d=["src","alt"],u={class:"title"},h={key:1,class:"subscription-body"};function g(e,n,t,g,p,f){const m=(0,l.up)("Loading"),y=(0,l.up)("NoItems"),_=(0,l.up)("Channel");return(0,l.wg)(),(0,l.iD)("div",i,[t.selectedChannel?((0,l.wg)(),(0,l.iD)("div",h,[(0,l.Wm)(_,{id:t.selectedChannel,filter:t.filter,onPlay:n[0]||(n[0]=n=>e.$emit("play",n))},null,8,["id","filter"])])):((0,l.wg)(),(0,l.iD)("div",a,[p.loading?((0,l.wg)(),(0,l.j4)(m,{key:0})):p.channels?.length?((0,l.wg)(),(0,l.iD)("div",r,[((0,l.wg)(!0),(0,l.iD)(l.HY,null,(0,l.Ko)(f.channelsById,((n,t)=>((0,l.wg)(),(0,l.iD)("div",{class:"channel item",key:t,onClick:t=>e.$emit("select",n)},[(0,l._)("div",c,[(0,l._)("img",{src:n.image,alt:n.name},null,8,d)]),(0,l._)("div",u,(0,s.zw)(n.name),1)],8,o)))),128))])):((0,l.wg)(),(0,l.j4)(y,{key:1,"with-shadow":!1},{default:(0,l.w5)((()=>[(0,l.Uk)(" No channels found. ")])),_:1}))]))])}var p=t(7018),f=t(3222),m=t(6791),y=t(8637),_={emits:["play","select"],mixins:[y.Z],components:{Channel:p["default"],Loading:m.Z,NoItems:f.Z},props:{selectedChannel:{type:String,default:null},filter:{type:String,default:null}},data(){return{channels:[],loading:!1}},computed:{channelsById(){return this.channels.filter((e=>!this.filter||e.name.toLowerCase().includes(this.filter.toLowerCase()))).reduce(((e,n)=>(e[n.id]=n,e)),{})}},methods:{async loadSubscriptions(){this.loading=!0;try{this.channels=await this.request("youtube.get_subscriptions")}finally{this.loading=!1}}},mounted(){this.loadSubscriptions()}},w=t(3744);const v=(0,w.Z)(_,[["render",g],["__scopeId","data-v-3ff3db5a"]]);var k=v}}]);
|
"use strict";(self["webpackChunkplatypush"]=self["webpackChunkplatypush"]||[]).push([[6123,5762],{3222:function(e,n,t){t.d(n,{Z:function(){return d}});var l=t(6252),s=t(3577);const i={class:"no-items-container"};function a(e,n,t,a,r,o){return(0,l.wg)(),(0,l.iD)("div",i,[(0,l._)("div",{class:(0,s.C_)(["no-items fade-in",{shadow:t.withShadow}])},[(0,l.WI)(e.$slots,"default",{},void 0,!0)],2)])}var r={name:"NoItems",props:{withShadow:{type:Boolean,default:!0}}},o=t(3744);const c=(0,o.Z)(r,[["render",a],["__scopeId","data-v-4856c4d7"]]);var d=c},7018:function(e,n,t){t.r(n),t.d(n,{default:function(){return b}});var l=t(6252),s=t(3577);const i={class:"header"},a={class:"banner"},r=["src"],o={class:"row"},c=["href"],d={class:"image"},u=["src"],h={class:"info"},g=["href"],p={class:"description"};function f(e,n,t,f,m,y){const _=(0,l.up)("Loading"),w=(0,l.up)("Results");return(0,l.wg)(),(0,l.iD)("div",{class:"media-youtube-channel",onScroll:n[3]||(n[3]=(...e)=>y.onScroll&&y.onScroll(...e))},[m.loading?((0,l.wg)(),(0,l.j4)(_,{key:0})):m.channel?((0,l.wg)(),(0,l.iD)("div",{key:1,class:"channel",onScroll:n[2]||(n[2]=(...e)=>y.onScroll&&y.onScroll(...e))},[(0,l._)("div",i,[(0,l._)("div",a,[m.channel?.banner?.length?((0,l.wg)(),(0,l.iD)("img",{key:0,src:m.channel.banner},null,8,r)):(0,l.kq)("",!0)]),(0,l._)("div",o,[(0,l._)("a",{href:m.channel.url,target:"_blank",rel:"noopener noreferrer"},[(0,l._)("div",d,[m.channel?.image?.length?((0,l.wg)(),(0,l.iD)("img",{key:0,src:m.channel.image},null,8,u)):(0,l.kq)("",!0)])],8,c),(0,l._)("div",h,[(0,l._)("a",{class:"title",href:m.channel.url,target:"_blank",rel:"noopener noreferrer"},(0,s.zw)(m.channel?.name),9,g),(0,l._)("div",p,(0,s.zw)(m.channel?.description),1)])])]),(0,l.Wm)(w,{results:m.channel.items,filter:t.filter,"selected-result":m.selectedResult,ref:"results",onSelect:n[0]||(n[0]=e=>m.selectedResult=e),onPlay:n[1]||(n[1]=n=>e.$emit("play",n))},null,8,["results","filter","selected-result"])],32)):(0,l.kq)("",!0)],32)}t(7658);var m=t(6791),y=t(5390),_=t(8637),w={emits:["play"],mixins:[_.Z],components:{Loading:m.Z,Results:y.Z},props:{id:{type:String,required:!0},filter:{type:String,default:null}},data(){return{channel:null,loading:!1,loadingNextPage:!1,selectedResult:null}},computed:{itemsByUrl(){return this.channel?.items.reduce(((e,n)=>(e[n.url]=n,e)),{})}},methods:{async loadChannel(){this.loading=!0;try{this.channel=await this.request("youtube.get_channel",{id:this.id})}finally{this.loading=!1}},async loadNextPage(){if(this.channel?.next_page_token&&!this.loadingNextPage)try{const e=await this.request("youtube.get_channel",{id:this.id,next_page_token:this.channel.next_page_token});this.channel.items.push(...e.items.filter((e=>!this.itemsByUrl[e.url]))),this.channel.next_page_token=e.next_page_token,this.$refs.results.maxResultIndex+=this.$refs.results.resultIndexStep}finally{this.loadingNextPage=!1}},onScroll(e){const n=e.target;if(!n)return;const t=n.scrollHeight-n.scrollTop<=n.clientHeight+150;t&&this.loadNextPage()}},mounted(){this.loadChannel()}},v=t(3744);const k=(0,v.Z)(w,[["render",f],["__scopeId","data-v-21b0d859"]]);var b=k},7425:function(e,n,t){t.r(n),t.d(n,{default:function(){return k}});var l=t(6252),s=t(3577);const i={class:"media-youtube-subscriptions"},a={key:0,class:"subscriptions-index"},r={key:2,class:"body grid"},o=["onClick"],c={class:"image"},d=["src","alt"],u={class:"title"},h={key:1,class:"subscription-body"};function g(e,n,t,g,p,f){const m=(0,l.up)("Loading"),y=(0,l.up)("NoItems"),_=(0,l.up)("Channel");return(0,l.wg)(),(0,l.iD)("div",i,[t.selectedChannel?((0,l.wg)(),(0,l.iD)("div",h,[(0,l.Wm)(_,{id:t.selectedChannel,filter:t.filter,onPlay:n[0]||(n[0]=n=>e.$emit("play",n))},null,8,["id","filter"])])):((0,l.wg)(),(0,l.iD)("div",a,[p.loading?((0,l.wg)(),(0,l.j4)(m,{key:0})):p.channels?.length?((0,l.wg)(),(0,l.iD)("div",r,[((0,l.wg)(!0),(0,l.iD)(l.HY,null,(0,l.Ko)(f.channelsById,((n,t)=>((0,l.wg)(),(0,l.iD)("div",{class:"channel item",key:t,onClick:t=>e.$emit("select",n)},[(0,l._)("div",c,[(0,l._)("img",{src:n.image,alt:n.name},null,8,d)]),(0,l._)("div",u,(0,s.zw)(n.name),1)],8,o)))),128))])):((0,l.wg)(),(0,l.j4)(y,{key:1,"with-shadow":!1},{default:(0,l.w5)((()=>[(0,l.Uk)(" No channels found. ")])),_:1}))]))])}var p=t(7018),f=t(3222),m=t(6791),y=t(8637),_={emits:["play","select"],mixins:[y.Z],components:{Channel:p["default"],Loading:m.Z,NoItems:f.Z},props:{selectedChannel:{type:String,default:null},filter:{type:String,default:null}},data(){return{channels:[],loading:!1}},computed:{channelsById(){return this.channels.filter((e=>!this.filter||e.name.toLowerCase().includes(this.filter.toLowerCase()))).reduce(((e,n)=>(e[n.id]=n,e)),{})}},methods:{async loadSubscriptions(){this.loading=!0;try{this.channels=await this.request("youtube.get_subscriptions")}finally{this.loading=!1}}},mounted(){this.loadSubscriptions()}},w=t(3744);const v=(0,w.Z)(_,[["render",g],["__scopeId","data-v-3ff3db5a"]]);var k=v}}]);
|
||||||
//# sourceMappingURL=6123.24ef40ca.js.map
|
//# sourceMappingURL=6123.1bc9bcbd.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
|
@ -1,2 +1,2 @@
|
||||||
"use strict";(self["webpackChunkplatypush"]=self["webpackChunkplatypush"]||[]).push([[6324],{6890:function(l,e,a){a.r(e),a.d(e,{default:function(){return D}});var t=a(6252),s=a(3577),i=a(9963);const n=l=>((0,t.dD)("data-v-31c67fb5"),l=l(),(0,t.Cn)(),l),o={class:"entity variable-container"},d={class:"icon"},c={class:"label"},u=["textContent"],r=["textContent"],v={class:"row"},p={class:"row"},h={class:"col-9"},_=["disabled"],f={class:"col-3 pull-right"},b=["disabled"],m=n((()=>(0,t._)("i",{class:"fas fa-trash"},null,-1))),g=[m],y=["disabled"],C=n((()=>(0,t._)("i",{class:"fas fa-check"},null,-1))),w=[C];function k(l,e,a,n,m,C){const k=(0,t.up)("EntityIcon");return(0,t.wg)(),(0,t.iD)("div",o,[(0,t._)("div",{class:(0,s.C_)(["head",{collapsed:l.collapsed}])},[(0,t._)("div",d,[(0,t.Wm)(k,{entity:l.value,loading:l.loading,error:l.error},null,8,["entity","loading","error"])]),(0,t._)("div",c,[(0,t._)("div",{class:"name",textContent:(0,s.zw)(l.value.name)},null,8,u)]),(0,t._)("div",{class:"value-and-toggler",onClick:e[1]||(e[1]=(0,i.iM)((e=>l.collapsed=!l.collapsed),["stop"]))},[(0,t._)("div",{class:"value",textContent:(0,s.zw)(l.value.value)},null,8,r),(0,t._)("div",{class:"collapse-toggler",onClick:e[0]||(e[0]=(0,i.iM)((e=>l.collapsed=!l.collapsed),["stop"]))},[(0,t._)("i",{class:(0,s.C_)(["fas",{"fa-chevron-down":l.collapsed,"fa-chevron-up":!l.collapsed}])},null,2)])])],2),l.collapsed?(0,t.kq)("",!0):((0,t.wg)(),(0,t.iD)("div",{key:0,class:"body",onClick:e[5]||(e[5]=(0,i.iM)(((...e)=>l.prevent&&l.prevent(...e)),["stop"]))},[(0,t._)("div",v,[(0,t._)("form",{onSubmit:e[4]||(e[4]=(0,i.iM)(((...l)=>C.setValue&&C.setValue(...l)),["prevent"]))},[(0,t._)("div",p,[(0,t._)("div",h,[(0,t.wy)((0,t._)("input",{type:"text","onUpdate:modelValue":e[2]||(e[2]=e=>l.value_=e),placeholder:"Variable value",disabled:l.loading,ref:"text"},null,8,_),[[i.nr,l.value_]])]),(0,t._)("div",f,[(0,t._)("button",{type:"button",title:"Clear",onClick:e[3]||(e[3]=(0,i.iM)(((...l)=>C.clearValue&&C.clearValue(...l)),["stop"])),disabled:l.loading},g,8,b),(0,t._)("button",{type:"submit",title:"Edit",disabled:l.loading},w,8,y)])])],32)])]))])}var V=a(847),x=a(4967),M={name:"Variable",components:{EntityIcon:x["default"]},mixins:[V["default"]],emits:["loading"],data:function(){return{collapsed:!0,value_:null}},computed:{isCollapsed(){return this.collapsed}},methods:{async clearValue(){this.$emit("loading",!0);try{await this.request("variable.unset",{name:this.value.name})}finally{this.$emit("loading",!1)}},async setValue(){const l=this.value_;if(!l?.length)return await this.clearValue();this.$emit("loading",!0);try{const e={};e[this.value.name]=l,await this.request("variable.set",e)}finally{this.$emit("loading",!1)}}},mounted(){this.value_=this.value.value,this.$watch((()=>this.value.value),(l=>{this.value_=l}))}},$=a(3744);const q=(0,$.Z)(M,[["render",k],["__scopeId","data-v-31c67fb5"]]);var D=q}}]);
|
"use strict";(self["webpackChunkplatypush"]=self["webpackChunkplatypush"]||[]).push([[6324],{6890:function(l,e,a){a.r(e),a.d(e,{default:function(){return D}});var t=a(6252),s=a(3577),i=a(9963);const n=l=>((0,t.dD)("data-v-31c67fb5"),l=l(),(0,t.Cn)(),l),o={class:"entity variable-container"},d={class:"icon"},c={class:"label"},u=["textContent"],r=["textContent"],v={class:"row"},p={class:"row"},h={class:"col-9"},_=["disabled"],f={class:"col-3 pull-right"},b=["disabled"],m=n((()=>(0,t._)("i",{class:"fas fa-trash"},null,-1))),g=[m],y=["disabled"],C=n((()=>(0,t._)("i",{class:"fas fa-check"},null,-1))),w=[C];function k(l,e,a,n,m,C){const k=(0,t.up)("EntityIcon");return(0,t.wg)(),(0,t.iD)("div",o,[(0,t._)("div",{class:(0,s.C_)(["head",{collapsed:l.collapsed}])},[(0,t._)("div",d,[(0,t.Wm)(k,{entity:l.value,loading:l.loading,error:l.error},null,8,["entity","loading","error"])]),(0,t._)("div",c,[(0,t._)("div",{class:"name",textContent:(0,s.zw)(l.value.name)},null,8,u)]),(0,t._)("div",{class:"value-and-toggler",onClick:e[1]||(e[1]=(0,i.iM)((e=>l.collapsed=!l.collapsed),["stop"]))},[(0,t._)("div",{class:"value",textContent:(0,s.zw)(l.value.value)},null,8,r),(0,t._)("div",{class:"collapse-toggler",onClick:e[0]||(e[0]=(0,i.iM)((e=>l.collapsed=!l.collapsed),["stop"]))},[(0,t._)("i",{class:(0,s.C_)(["fas",{"fa-chevron-down":l.collapsed,"fa-chevron-up":!l.collapsed}])},null,2)])])],2),l.collapsed?(0,t.kq)("",!0):((0,t.wg)(),(0,t.iD)("div",{key:0,class:"body",onClick:e[5]||(e[5]=(0,i.iM)(((...e)=>l.prevent&&l.prevent(...e)),["stop"]))},[(0,t._)("div",v,[(0,t._)("form",{onSubmit:e[4]||(e[4]=(0,i.iM)(((...l)=>C.setValue&&C.setValue(...l)),["prevent"]))},[(0,t._)("div",p,[(0,t._)("div",h,[(0,t.wy)((0,t._)("input",{type:"text","onUpdate:modelValue":e[2]||(e[2]=e=>l.value_=e),placeholder:"Variable value",disabled:l.loading,ref:"text"},null,8,_),[[i.nr,l.value_]])]),(0,t._)("div",f,[(0,t._)("button",{type:"button",title:"Clear",onClick:e[3]||(e[3]=(0,i.iM)(((...l)=>C.clearValue&&C.clearValue(...l)),["stop"])),disabled:l.loading},g,8,b),(0,t._)("button",{type:"submit",title:"Edit",disabled:l.loading},w,8,y)])])],32)])]))])}var V=a(847),x=a(4967),M={name:"Variable",components:{EntityIcon:x["default"]},mixins:[V["default"]],emits:["loading"],data:function(){return{collapsed:!0,value_:null}},computed:{isCollapsed(){return this.collapsed}},methods:{async clearValue(){this.$emit("loading",!0);try{await this.request("variable.unset",{name:this.value.name})}finally{this.$emit("loading",!1)}},async setValue(){const l=this.value_;if(!l?.length)return await this.clearValue();this.$emit("loading",!0);try{const e={};e[this.value.name]=l,await this.request("variable.set",e)}finally{this.$emit("loading",!1)}}},mounted(){this.value_=this.value.value,this.$watch((()=>this.value.value),(l=>{this.value_=l}))}},$=a(3744);const q=(0,$.Z)(M,[["render",k],["__scopeId","data-v-31c67fb5"]]);var D=q}}]);
|
||||||
//# sourceMappingURL=6324.254647db.js.map
|
//# sourceMappingURL=6324.ef647174.js.map
|
File diff suppressed because one or more lines are too long
|
@ -1,2 +1,2 @@
|
||||||
"use strict";(self["webpackChunkplatypush"]=self["webpackChunkplatypush"]||[]).push([[6362],{6362:function(t,e,n){n.r(e),n.d(e,{default:function(){return w}});var l=n(6252),a=n(3577);const u={class:"entity sensor-container"},s={class:"head"},i={class:"icon"},o={class:"label"},c=["textContent"],r={key:0,class:"value-container"},v=["textContent"],d=["textContent"];function p(t,e,n,p,m,h){const y=(0,l.up)("EntityIcon");return(0,l.wg)(),(0,l.iD)("div",u,[(0,l._)("div",s,[(0,l._)("div",i,[(0,l.Wm)(y,{entity:t.value,loading:t.loading,error:t.error},null,8,["entity","loading","error"])]),(0,l._)("div",o,[(0,l._)("div",{class:"name",textContent:(0,a.zw)(t.value.name)},null,8,c)]),null!=h.computedValue?((0,l.wg)(),(0,l.iD)("div",r,[(0,l._)("span",{class:"value",textContent:(0,a.zw)(h.computedValue)},null,8,v),null!=t.value.unit?((0,l.wg)(),(0,l.iD)("span",{key:0,class:"unit",textContent:(0,a.zw)(t.value.unit)},null,8,d)):(0,l.kq)("",!0)])):(0,l.kq)("",!0)])])}var m=n(847),h=n(4967),y={name:"Sensor",components:{EntityIcon:h["default"]},mixins:[m["default"]],computed:{computedValue(){return null!=this.value.value?this.value.value:this.value._value}}},f=n(3744);const k=(0,f.Z)(y,[["render",p],["__scopeId","data-v-3b38610c"]]);var w=k}}]);
|
"use strict";(self["webpackChunkplatypush"]=self["webpackChunkplatypush"]||[]).push([[6362],{6362:function(t,e,n){n.r(e),n.d(e,{default:function(){return w}});var l=n(6252),a=n(3577);const u={class:"entity sensor-container"},s={class:"head"},i={class:"icon"},o={class:"label"},c=["textContent"],r={key:0,class:"value-container"},v=["textContent"],d=["textContent"];function p(t,e,n,p,m,h){const y=(0,l.up)("EntityIcon");return(0,l.wg)(),(0,l.iD)("div",u,[(0,l._)("div",s,[(0,l._)("div",i,[(0,l.Wm)(y,{entity:t.value,loading:t.loading,error:t.error},null,8,["entity","loading","error"])]),(0,l._)("div",o,[(0,l._)("div",{class:"name",textContent:(0,a.zw)(t.value.name)},null,8,c)]),null!=h.computedValue?((0,l.wg)(),(0,l.iD)("div",r,[(0,l._)("span",{class:"value",textContent:(0,a.zw)(h.computedValue)},null,8,v),null!=t.value.unit?((0,l.wg)(),(0,l.iD)("span",{key:0,class:"unit",textContent:(0,a.zw)(t.value.unit)},null,8,d)):(0,l.kq)("",!0)])):(0,l.kq)("",!0)])])}var m=n(847),h=n(4967),y={name:"Sensor",components:{EntityIcon:h["default"]},mixins:[m["default"]],computed:{computedValue(){return null!=this.value.value?this.value.value:this.value._value}}},f=n(3744);const k=(0,f.Z)(y,[["render",p],["__scopeId","data-v-3b38610c"]]);var w=k}}]);
|
||||||
//# sourceMappingURL=6362.95da0eb4.js.map
|
//# sourceMappingURL=6362.c4de72d9.js.map
|
|
@ -1 +1 @@
|
||||||
{"version":3,"file":"static/js/6362.95da0eb4.js","mappings":"gMACOA,MAAM,2B,GACJA,MAAM,Q,GACJA,MAAM,Q,GAINA,MAAM,S,2BAINA,MAAM,mB,6GAVfC,EAAAA,EAAAA,IAiBM,MAjBNC,EAiBM,EAhBJC,EAAAA,EAAAA,GAeM,MAfNC,EAeM,EAdJD,EAAAA,EAAAA,GAEM,MAFNE,EAEM,EADJC,EAAAA,EAAAA,IAAgEC,EAAA,CAAnDC,OAAQC,EAAAC,MAAQC,QAASF,EAAAE,QAAUC,MAAOH,EAAAG,O,wCAGzDT,EAAAA,EAAAA,GAEM,MAFNU,EAEM,EADJV,EAAAA,EAAAA,GAAwC,OAAnCH,MAAM,O,aAAOc,EAAAA,EAAAA,IAAQL,EAAWC,MAALK,O,YAIP,MAAjBC,EAAAC,gBAAa,WADvBhB,EAAAA,EAAAA,IAKM,MALNiB,EAKM,EAHJf,EAAAA,EAAAA,GAA6C,QAAvCH,MAAM,Q,aAAQc,EAAAA,EAAAA,IAAQE,EAAcC,gB,UAEpB,MAAdR,EAAAC,MAAMS,OAAI,WADlBlB,EAAAA,EAAAA,IAC8B,Q,MADxBD,MAAM,O,aAAOc,EAAAA,EAAAA,IAAQL,EAAWC,MAALS,O,yEAWzC,GACEJ,KAAM,SACNK,WAAY,CAACC,WAAUA,EAAAA,YACvBC,OAAQ,CAACC,EAAAA,YAETC,SAAU,CACRP,aAAAA,GACE,OAAwB,MAApBQ,KAAKf,MAAMA,MACNe,KAAKf,MAAMA,MACbe,KAAKf,MAAMgB,MACpB,I,UC5BJ,MAAMC,GAA2B,OAAgB,EAAQ,CAAC,CAAC,SAASC,GAAQ,CAAC,YAAY,qBAEzF,O","sources":["webpack://platypush/./src/components/panels/Entities/Sensor.vue","webpack://platypush/./src/components/panels/Entities/Sensor.vue?60a5"],"sourcesContent":["<template>\n <div class=\"entity sensor-container\">\n <div class=\"head\">\n <div class=\"icon\">\n <EntityIcon :entity=\"value\" :loading=\"loading\" :error=\"error\" />\n </div>\n\n <div class=\"label\">\n <div class=\"name\" v-text=\"value.name\" />\n </div>\n\n <div class=\"value-container\"\n v-if=\"computedValue != null\">\n <span class=\"value\" v-text=\"computedValue\" />\n <span class=\"unit\" v-text=\"value.unit\"\n v-if=\"value.unit != null\" />\n </div>\n </div>\n </div>\n</template>\n\n<script>\nimport EntityMixin from \"./EntityMixin\"\nimport EntityIcon from \"./EntityIcon\"\n\nexport default {\n name: 'Sensor',\n components: {EntityIcon},\n mixins: [EntityMixin],\n\n computed: {\n computedValue() {\n if (this.value.value != null)\n return this.value.value\n return this.value._value\n },\n },\n}\n</script>\n\n<style lang=\"scss\" scoped>\n@import \"common\";\n</style>\n","import { render } from \"./Sensor.vue?vue&type=template&id=3b38610c&scoped=true\"\nimport script from \"./Sensor.vue?vue&type=script&lang=js\"\nexport * from \"./Sensor.vue?vue&type=script&lang=js\"\n\nimport \"./Sensor.vue?vue&type=style&index=0&id=3b38610c&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-3b38610c\"]])\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","$options","computedValue","_hoisted_6","unit","components","EntityIcon","mixins","EntityMixin","computed","this","_value","__exports__","render"],"sourceRoot":""}
|
{"version":3,"file":"static/js/6362.c4de72d9.js","mappings":"gMACOA,MAAM,2B,GACJA,MAAM,Q,GACJA,MAAM,Q,GAINA,MAAM,S,2BAINA,MAAM,mB,6GAVfC,EAAAA,EAAAA,IAiBM,MAjBNC,EAiBM,EAhBJC,EAAAA,EAAAA,GAeM,MAfNC,EAeM,EAdJD,EAAAA,EAAAA,GAEM,MAFNE,EAEM,EADJC,EAAAA,EAAAA,IAAgEC,EAAA,CAAnDC,OAAQC,EAAAC,MAAQC,QAASF,EAAAE,QAAUC,MAAOH,EAAAG,O,wCAGzDT,EAAAA,EAAAA,GAEM,MAFNU,EAEM,EADJV,EAAAA,EAAAA,GAAwC,OAAnCH,MAAM,O,aAAOc,EAAAA,EAAAA,IAAQL,EAAWC,MAALK,O,YAIP,MAAjBC,EAAAC,gBAAa,WADvBhB,EAAAA,EAAAA,IAKM,MALNiB,EAKM,EAHJf,EAAAA,EAAAA,GAA6C,QAAvCH,MAAM,Q,aAAQc,EAAAA,EAAAA,IAAQE,EAAcC,gB,UAEpB,MAAdR,EAAAC,MAAMS,OAAI,WADlBlB,EAAAA,EAAAA,IAC8B,Q,MADxBD,MAAM,O,aAAOc,EAAAA,EAAAA,IAAQL,EAAWC,MAALS,O,yEAWzC,GACEJ,KAAM,SACNK,WAAY,CAACC,WAAUA,EAAAA,YACvBC,OAAQ,CAACC,EAAAA,YAETC,SAAU,CACRP,aAAAA,GACE,OAAwB,MAApBQ,KAAKf,MAAMA,MACNe,KAAKf,MAAMA,MACbe,KAAKf,MAAMgB,MACpB,I,UC5BJ,MAAMC,GAA2B,OAAgB,EAAQ,CAAC,CAAC,SAASC,GAAQ,CAAC,YAAY,qBAEzF,O","sources":["webpack://platypush/./src/components/panels/Entities/Sensor.vue","webpack://platypush/./src/components/panels/Entities/Sensor.vue?60a5"],"sourcesContent":["<template>\n <div class=\"entity sensor-container\">\n <div class=\"head\">\n <div class=\"icon\">\n <EntityIcon :entity=\"value\" :loading=\"loading\" :error=\"error\" />\n </div>\n\n <div class=\"label\">\n <div class=\"name\" v-text=\"value.name\" />\n </div>\n\n <div class=\"value-container\"\n v-if=\"computedValue != null\">\n <span class=\"value\" v-text=\"computedValue\" />\n <span class=\"unit\" v-text=\"value.unit\"\n v-if=\"value.unit != null\" />\n </div>\n </div>\n </div>\n</template>\n\n<script>\nimport EntityMixin from \"./EntityMixin\"\nimport EntityIcon from \"./EntityIcon\"\n\nexport default {\n name: 'Sensor',\n components: {EntityIcon},\n mixins: [EntityMixin],\n\n computed: {\n computedValue() {\n if (this.value.value != null)\n return this.value.value\n return this.value._value\n },\n },\n}\n</script>\n\n<style lang=\"scss\" scoped>\n@import \"common\";\n</style>\n","import { render } from \"./Sensor.vue?vue&type=template&id=3b38610c&scoped=true\"\nimport script from \"./Sensor.vue?vue&type=script&lang=js\"\nexport * from \"./Sensor.vue?vue&type=script&lang=js\"\n\nimport \"./Sensor.vue?vue&type=style&index=0&id=3b38610c&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-3b38610c\"]])\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","$options","computedValue","_hoisted_6","unit","components","EntityIcon","mixins","EntityMixin","computed","this","_value","__exports__","render"],"sourceRoot":""}
|
File diff suppressed because one or more lines are too long
|
@ -1,2 +1,2 @@
|
||||||
"use strict";(self["webpackChunkplatypush"]=self["webpackChunkplatypush"]||[]).push([[6640],{6640:function(t,a,e){e.r(a),e.d(a,{default:function(){return r}});var n=e(8637),p={emits:["back","path-change","play"],mixins:[n.Z],props:{filter:{type:String,default:""}},data(){return{loading:!1}}};const u=p;var r=u}}]);
|
"use strict";(self["webpackChunkplatypush"]=self["webpackChunkplatypush"]||[]).push([[6640],{6640:function(t,a,e){e.r(a),e.d(a,{default:function(){return r}});var n=e(8637),p={emits:["back","path-change","play"],mixins:[n.Z],props:{filter:{type:String,default:""}},data(){return{loading:!1}}};const u=p;var r=u}}]);
|
||||||
//# sourceMappingURL=6640.a6538b3b.js.map
|
//# sourceMappingURL=6640.2f707453.js.map
|
|
@ -1 +1 @@
|
||||||
{"version":3,"file":"static/js/6640.a6538b3b.js","mappings":"6KAGA,GACEA,MAAO,CAAC,OAAQ,cAAe,QAC/BC,OAAQ,CAACC,EAAAA,GACTC,MAAO,CACLC,OAAQ,CACNC,KAAMC,OACNC,QAAS,KAIbC,IAAAA,GACE,MAAO,CACLC,SAAS,EAEb,GCdF,MAAMC,EAAc,EAEpB,O","sources":["webpack://platypush/./src/components/panels/Media/Providers/Mixin.vue","webpack://platypush/./src/components/panels/Media/Providers/Mixin.vue?f2ea"],"sourcesContent":["<script>\nimport Utils from \"@/Utils\";\n\nexport default {\n emits: ['back', 'path-change', 'play'],\n mixins: [Utils],\n props: {\n filter: {\n type: String,\n default: '',\n },\n },\n\n data() {\n return {\n loading: false,\n }\n },\n}\n</script>\n","import script from \"./Mixin.vue?vue&type=script&lang=js\"\nexport * from \"./Mixin.vue?vue&type=script&lang=js\"\n\nconst __exports__ = script;\n\nexport default __exports__"],"names":["emits","mixins","Utils","props","filter","type","String","default","data","loading","__exports__"],"sourceRoot":""}
|
{"version":3,"file":"static/js/6640.2f707453.js","mappings":"6KAGA,GACEA,MAAO,CAAC,OAAQ,cAAe,QAC/BC,OAAQ,CAACC,EAAAA,GACTC,MAAO,CACLC,OAAQ,CACNC,KAAMC,OACNC,QAAS,KAIbC,IAAAA,GACE,MAAO,CACLC,SAAS,EAEb,GCdF,MAAMC,EAAc,EAEpB,O","sources":["webpack://platypush/./src/components/panels/Media/Providers/Mixin.vue","webpack://platypush/./src/components/panels/Media/Providers/Mixin.vue?f2ea"],"sourcesContent":["<script>\nimport Utils from \"@/Utils\";\n\nexport default {\n emits: ['back', 'path-change', 'play'],\n mixins: [Utils],\n props: {\n filter: {\n type: String,\n default: '',\n },\n },\n\n data() {\n return {\n loading: false,\n }\n },\n}\n</script>\n","import script from \"./Mixin.vue?vue&type=script&lang=js\"\nexport * from \"./Mixin.vue?vue&type=script&lang=js\"\n\nconst __exports__ = script;\n\nexport default __exports__"],"names":["emits","mixins","Utils","props","filter","type","String","default","data","loading","__exports__"],"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
1
platypush/backend/http/webapp/dist/static/js/7294.c67b2149.js.map
vendored
Normal file
1
platypush/backend/http/webapp/dist/static/js/7294.c67b2149.js.map
vendored
Normal file
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
|
@ -1,2 +1,2 @@
|
||||||
"use strict";(self["webpackChunkplatypush"]=self["webpackChunkplatypush"]||[]).push([[7590],{7590:function(e,t,n){n.r(t),n.d(t,{default:function(){return b}});var l=n(6252),a=n(3577);const o={class:"entity battery-container"},s={class:"head"},r={class:"icon"},c={class:"label"},u=["textContent"],i={class:"value-container"},v=["textContent"];function d(e,t,n,d,f,p){const C=(0,l.up)("EntityIcon");return(0,l.wg)(),(0,l.iD)("div",o,[(0,l._)("div",s,[(0,l._)("div",r,[(0,l.Wm)(C,{entity:e.value,icon:p.icon,loading:e.loading,error:e.error},null,8,["entity","icon","loading","error"])]),(0,l._)("div",c,[(0,l._)("div",{class:"name",textContent:(0,a.zw)(e.value.name)},null,8,u)]),(0,l._)("div",i,[null!=p.valuePercent?((0,l.wg)(),(0,l.iD)("span",{key:0,class:"value",textContent:(0,a.zw)(p.valuePercent+"%")},null,8,v)):(0,l.kq)("",!0)])])])}var f=n(847),p=n(4967);const C=[{iconClass:"full",color:"#157145",value:.9},{iconClass:"three-quarters",color:"#94C595",value:.825},{iconClass:"half",color:"#F0B67F",value:.625},{iconClass:"quarter",color:"#FE5F55",value:.375},{iconClass:"low",color:"#CC444B",value:.15},{iconClass:"empty",color:"#EC0B43",value:.05}];var h={name:"Battery",components:{EntityIcon:p["default"]},mixins:[f["default"]],computed:{valuePercent(){if(null==this.value?.value)return null;const e=this.value.min||0,t=this.value.max||100;return(100*this.value.value/(t-e)).toFixed(0)},icon(){const e={...this.value.meta?.icon||{}};let t=this.valuePercent,n=C[0];if(null!=t){t=parseFloat(t)/100;for(const e of C){if(t>e.value)break;n=e}}return e["class"]=`fas fa-battery-${n.iconClass}`,e["color"]=n.color,e}},methods:{prevent(e){return e.stopPropagation(),!1}}},m=n(3744);const y=(0,m.Z)(h,[["render",d],["__scopeId","data-v-4b2ced66"]]);var b=y}}]);
|
"use strict";(self["webpackChunkplatypush"]=self["webpackChunkplatypush"]||[]).push([[7590],{7590:function(e,t,n){n.r(t),n.d(t,{default:function(){return b}});var l=n(6252),a=n(3577);const o={class:"entity battery-container"},s={class:"head"},r={class:"icon"},c={class:"label"},u=["textContent"],i={class:"value-container"},v=["textContent"];function d(e,t,n,d,f,p){const C=(0,l.up)("EntityIcon");return(0,l.wg)(),(0,l.iD)("div",o,[(0,l._)("div",s,[(0,l._)("div",r,[(0,l.Wm)(C,{entity:e.value,icon:p.icon,loading:e.loading,error:e.error},null,8,["entity","icon","loading","error"])]),(0,l._)("div",c,[(0,l._)("div",{class:"name",textContent:(0,a.zw)(e.value.name)},null,8,u)]),(0,l._)("div",i,[null!=p.valuePercent?((0,l.wg)(),(0,l.iD)("span",{key:0,class:"value",textContent:(0,a.zw)(p.valuePercent+"%")},null,8,v)):(0,l.kq)("",!0)])])])}var f=n(847),p=n(4967);const C=[{iconClass:"full",color:"#157145",value:.9},{iconClass:"three-quarters",color:"#94C595",value:.825},{iconClass:"half",color:"#F0B67F",value:.625},{iconClass:"quarter",color:"#FE5F55",value:.375},{iconClass:"low",color:"#CC444B",value:.15},{iconClass:"empty",color:"#EC0B43",value:.05}];var h={name:"Battery",components:{EntityIcon:p["default"]},mixins:[f["default"]],computed:{valuePercent(){if(null==this.value?.value)return null;const e=this.value.min||0,t=this.value.max||100;return(100*this.value.value/(t-e)).toFixed(0)},icon(){const e={...this.value.meta?.icon||{}};let t=this.valuePercent,n=C[0];if(null!=t){t=parseFloat(t)/100;for(const e of C){if(t>e.value)break;n=e}}return e["class"]=`fas fa-battery-${n.iconClass}`,e["color"]=n.color,e}},methods:{prevent(e){return e.stopPropagation(),!1}}},m=n(3744);const y=(0,m.Z)(h,[["render",d],["__scopeId","data-v-4b2ced66"]]);var b=y}}]);
|
||||||
//# sourceMappingURL=7590.6cda174b.js.map
|
//# sourceMappingURL=7590.ebe62444.js.map
|
|
@ -1 +1 @@
|
||||||
{"version":3,"file":"static/js/7590.6cda174b.js","mappings":"gMACOA,MAAM,4B,GACJA,MAAM,Q,GACJA,MAAM,Q,GAINA,MAAM,S,qBAINA,MAAM,mB,2FAVfC,EAAAA,EAAAA,IAcM,MAdNC,EAcM,EAbJC,EAAAA,EAAAA,GAYM,MAZNC,EAYM,EAXJD,EAAAA,EAAAA,GAEM,MAFNE,EAEM,EADJC,EAAAA,EAAAA,IAA6EC,EAAA,CAAhEC,OAAQC,EAAAC,MAAQC,KAAMC,EAAAD,KAAOE,QAASJ,EAAAI,QAAUC,MAAOL,EAAAK,O,+CAGtEX,EAAAA,EAAAA,GAEM,MAFNY,EAEM,EADJZ,EAAAA,EAAAA,GAAwC,OAAnCH,MAAM,O,aAAOgB,EAAAA,EAAAA,IAAQP,EAAWC,MAALO,O,aAGlCd,EAAAA,EAAAA,GAEM,MAFNe,EAEM,CADkE,MAAhBN,EAAAO,eAAY,WAAlElB,EAAAA,EAAAA,IAA8E,Q,MAAxED,MAAM,Q,aAAQgB,EAAAA,EAAAA,IAAQJ,EAAmBO,aAAJ,M,wDAUnD,MAAMC,EAAa,CACjB,CACEC,UAAW,OACXC,MAAO,UACPZ,MAAO,IAET,CACEW,UAAW,iBACXC,MAAO,UACPZ,MAAO,MAET,CACEW,UAAW,OACXC,MAAO,UACPZ,MAAO,MAET,CACEW,UAAW,UACXC,MAAO,UACPZ,MAAO,MAET,CACEW,UAAW,MACXC,MAAO,UACPZ,MAAO,KAET,CACEW,UAAW,QACXC,MAAO,UACPZ,MAAO,MAIX,OACEO,KAAM,UACNM,WAAY,CAACC,WAAUA,EAAAA,YACvBC,OAAQ,CAACC,EAAAA,YAETC,SAAU,CACRR,YAAAA,GACE,GAAyB,MAArBS,KAAKlB,OAAOA,MACd,OAAO,KAET,MAAMmB,EAAMD,KAAKlB,MAAMmB,KAAO,EACxBC,EAAMF,KAAKlB,MAAMoB,KAAO,IAC9B,OAAS,IAAMF,KAAKlB,MAAMA,OAAUoB,EAAMD,IAAME,QAAQ,EAC1D,EAEApB,IAAAA,GACE,MAAMA,EAAO,IAAKiB,KAAKlB,MAAMsB,MAAMrB,MAAQ,CAAC,GAC5C,IAAID,EAAQkB,KAAKT,aACbc,EAAYb,EAAW,GAE3B,GAAa,MAATV,EAAe,CACjBA,EAAQwB,WAAWxB,GAAS,IAC5B,IAAK,MAAMyB,KAAKf,EAAY,CAC1B,GAAIV,EAAQyB,EAAEzB,MACZ,MACFuB,EAAYE,CACd,CACF,CAIA,OAFAxB,EAAK,SAAY,kBAAiBsB,EAAUZ,YAC5CV,EAAK,SAAWsB,EAAUX,MACnBX,CACT,GAGFyB,QAAS,CACPC,OAAAA,CAAQC,GAEN,OADAA,EAAMC,mBACC,CACT,I,UCvFJ,MAAMC,GAA2B,OAAgB,EAAQ,CAAC,CAAC,SAASC,GAAQ,CAAC,YAAY,qBAEzF,O","sources":["webpack://platypush/./src/components/panels/Entities/Battery.vue","webpack://platypush/./src/components/panels/Entities/Battery.vue?1b53"],"sourcesContent":["<template>\n <div class=\"entity battery-container\">\n <div class=\"head\">\n <div class=\"icon\">\n <EntityIcon :entity=\"value\" :icon=\"icon\" :loading=\"loading\" :error=\"error\" />\n </div>\n\n <div class=\"label\">\n <div class=\"name\" v-text=\"value.name\" />\n </div>\n\n <div class=\"value-container\">\n <span class=\"value\" v-text=\"valuePercent + '%'\" v-if=\"valuePercent != null\" />\n </div>\n </div>\n </div>\n</template>\n\n<script>\nimport EntityMixin from \"./EntityMixin\"\nimport EntityIcon from \"./EntityIcon\"\n\nconst thresholds = [\n {\n iconClass: 'full',\n color: '#157145',\n value: 0.9,\n },\n {\n iconClass: 'three-quarters',\n color: '#94C595',\n value: 0.825,\n },\n {\n iconClass: 'half',\n color: '#F0B67F',\n value: 0.625,\n },\n {\n iconClass: 'quarter',\n color: '#FE5F55',\n value: 0.375,\n },\n {\n iconClass: 'low',\n color: '#CC444B',\n value: 0.15,\n },\n {\n iconClass: 'empty',\n color: '#EC0B43',\n value: 0.05,\n },\n]\n\nexport default {\n name: 'Battery',\n components: {EntityIcon},\n mixins: [EntityMixin],\n\n computed: {\n valuePercent() {\n if (this.value?.value == null)\n return null\n\n const min = this.value.min || 0\n const max = this.value.max || 100\n return ((100 * this.value.value) / (max - min)).toFixed(0)\n },\n\n icon() {\n const icon = {...(this.value.meta?.icon || {})}\n let value = this.valuePercent\n let threshold = thresholds[0]\n\n if (value != null) {\n value = parseFloat(value) / 100\n for (const t of thresholds) {\n if (value > t.value)\n break\n threshold = t\n }\n }\n\n icon['class'] = `fas fa-battery-${threshold.iconClass}`\n icon['color'] = threshold.color\n return icon\n },\n },\n\n methods: {\n prevent(event) {\n event.stopPropagation()\n return false\n },\n },\n}\n</script>\n\n<style lang=\"scss\" scoped>\n@import \"common\";\n</style>\n","import { render } from \"./Battery.vue?vue&type=template&id=4b2ced66&scoped=true\"\nimport script from \"./Battery.vue?vue&type=script&lang=js\"\nexport * from \"./Battery.vue?vue&type=script&lang=js\"\n\nimport \"./Battery.vue?vue&type=style&index=0&id=4b2ced66&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-4b2ced66\"]])\n\nexport default __exports__"],"names":["class","_createElementBlock","_hoisted_1","_createElementVNode","_hoisted_2","_hoisted_3","_createVNode","_component_EntityIcon","entity","_ctx","value","icon","$options","loading","error","_hoisted_4","_toDisplayString","name","_hoisted_6","valuePercent","thresholds","iconClass","color","components","EntityIcon","mixins","EntityMixin","computed","this","min","max","toFixed","meta","threshold","parseFloat","t","methods","prevent","event","stopPropagation","__exports__","render"],"sourceRoot":""}
|
{"version":3,"file":"static/js/7590.ebe62444.js","mappings":"gMACOA,MAAM,4B,GACJA,MAAM,Q,GACJA,MAAM,Q,GAINA,MAAM,S,qBAINA,MAAM,mB,2FAVfC,EAAAA,EAAAA,IAcM,MAdNC,EAcM,EAbJC,EAAAA,EAAAA,GAYM,MAZNC,EAYM,EAXJD,EAAAA,EAAAA,GAEM,MAFNE,EAEM,EADJC,EAAAA,EAAAA,IAA6EC,EAAA,CAAhEC,OAAQC,EAAAC,MAAQC,KAAMC,EAAAD,KAAOE,QAASJ,EAAAI,QAAUC,MAAOL,EAAAK,O,+CAGtEX,EAAAA,EAAAA,GAEM,MAFNY,EAEM,EADJZ,EAAAA,EAAAA,GAAwC,OAAnCH,MAAM,O,aAAOgB,EAAAA,EAAAA,IAAQP,EAAWC,MAALO,O,aAGlCd,EAAAA,EAAAA,GAEM,MAFNe,EAEM,CADkE,MAAhBN,EAAAO,eAAY,WAAlElB,EAAAA,EAAAA,IAA8E,Q,MAAxED,MAAM,Q,aAAQgB,EAAAA,EAAAA,IAAQJ,EAAmBO,aAAJ,M,wDAUnD,MAAMC,EAAa,CACjB,CACEC,UAAW,OACXC,MAAO,UACPZ,MAAO,IAET,CACEW,UAAW,iBACXC,MAAO,UACPZ,MAAO,MAET,CACEW,UAAW,OACXC,MAAO,UACPZ,MAAO,MAET,CACEW,UAAW,UACXC,MAAO,UACPZ,MAAO,MAET,CACEW,UAAW,MACXC,MAAO,UACPZ,MAAO,KAET,CACEW,UAAW,QACXC,MAAO,UACPZ,MAAO,MAIX,OACEO,KAAM,UACNM,WAAY,CAACC,WAAUA,EAAAA,YACvBC,OAAQ,CAACC,EAAAA,YAETC,SAAU,CACRR,YAAAA,GACE,GAAyB,MAArBS,KAAKlB,OAAOA,MACd,OAAO,KAET,MAAMmB,EAAMD,KAAKlB,MAAMmB,KAAO,EACxBC,EAAMF,KAAKlB,MAAMoB,KAAO,IAC9B,OAAS,IAAMF,KAAKlB,MAAMA,OAAUoB,EAAMD,IAAME,QAAQ,EAC1D,EAEApB,IAAAA,GACE,MAAMA,EAAO,IAAKiB,KAAKlB,MAAMsB,MAAMrB,MAAQ,CAAC,GAC5C,IAAID,EAAQkB,KAAKT,aACbc,EAAYb,EAAW,GAE3B,GAAa,MAATV,EAAe,CACjBA,EAAQwB,WAAWxB,GAAS,IAC5B,IAAK,MAAMyB,KAAKf,EAAY,CAC1B,GAAIV,EAAQyB,EAAEzB,MACZ,MACFuB,EAAYE,CACd,CACF,CAIA,OAFAxB,EAAK,SAAY,kBAAiBsB,EAAUZ,YAC5CV,EAAK,SAAWsB,EAAUX,MACnBX,CACT,GAGFyB,QAAS,CACPC,OAAAA,CAAQC,GAEN,OADAA,EAAMC,mBACC,CACT,I,UCvFJ,MAAMC,GAA2B,OAAgB,EAAQ,CAAC,CAAC,SAASC,GAAQ,CAAC,YAAY,qBAEzF,O","sources":["webpack://platypush/./src/components/panels/Entities/Battery.vue","webpack://platypush/./src/components/panels/Entities/Battery.vue?1b53"],"sourcesContent":["<template>\n <div class=\"entity battery-container\">\n <div class=\"head\">\n <div class=\"icon\">\n <EntityIcon :entity=\"value\" :icon=\"icon\" :loading=\"loading\" :error=\"error\" />\n </div>\n\n <div class=\"label\">\n <div class=\"name\" v-text=\"value.name\" />\n </div>\n\n <div class=\"value-container\">\n <span class=\"value\" v-text=\"valuePercent + '%'\" v-if=\"valuePercent != null\" />\n </div>\n </div>\n </div>\n</template>\n\n<script>\nimport EntityMixin from \"./EntityMixin\"\nimport EntityIcon from \"./EntityIcon\"\n\nconst thresholds = [\n {\n iconClass: 'full',\n color: '#157145',\n value: 0.9,\n },\n {\n iconClass: 'three-quarters',\n color: '#94C595',\n value: 0.825,\n },\n {\n iconClass: 'half',\n color: '#F0B67F',\n value: 0.625,\n },\n {\n iconClass: 'quarter',\n color: '#FE5F55',\n value: 0.375,\n },\n {\n iconClass: 'low',\n color: '#CC444B',\n value: 0.15,\n },\n {\n iconClass: 'empty',\n color: '#EC0B43',\n value: 0.05,\n },\n]\n\nexport default {\n name: 'Battery',\n components: {EntityIcon},\n mixins: [EntityMixin],\n\n computed: {\n valuePercent() {\n if (this.value?.value == null)\n return null\n\n const min = this.value.min || 0\n const max = this.value.max || 100\n return ((100 * this.value.value) / (max - min)).toFixed(0)\n },\n\n icon() {\n const icon = {...(this.value.meta?.icon || {})}\n let value = this.valuePercent\n let threshold = thresholds[0]\n\n if (value != null) {\n value = parseFloat(value) / 100\n for (const t of thresholds) {\n if (value > t.value)\n break\n threshold = t\n }\n }\n\n icon['class'] = `fas fa-battery-${threshold.iconClass}`\n icon['color'] = threshold.color\n return icon\n },\n },\n\n methods: {\n prevent(event) {\n event.stopPropagation()\n return false\n },\n },\n}\n</script>\n\n<style lang=\"scss\" scoped>\n@import \"common\";\n</style>\n","import { render } from \"./Battery.vue?vue&type=template&id=4b2ced66&scoped=true\"\nimport script from \"./Battery.vue?vue&type=script&lang=js\"\nexport * from \"./Battery.vue?vue&type=script&lang=js\"\n\nimport \"./Battery.vue?vue&type=style&index=0&id=4b2ced66&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-4b2ced66\"]])\n\nexport default __exports__"],"names":["class","_createElementBlock","_hoisted_1","_createElementVNode","_hoisted_2","_hoisted_3","_createVNode","_component_EntityIcon","entity","_ctx","value","icon","$options","loading","error","_hoisted_4","_toDisplayString","name","_hoisted_6","valuePercent","thresholds","iconClass","color","components","EntityIcon","mixins","EntityMixin","computed","this","min","max","toFixed","meta","threshold","parseFloat","t","methods","prevent","event","stopPropagation","__exports__","render"],"sourceRoot":""}
|
|
@ -1,2 +1,2 @@
|
||||||
"use strict";(self["webpackChunkplatypush"]=self["webpackChunkplatypush"]||[]).push([[7819],{7819:function(e,n,a){a.r(n),a.d(n,{default:function(){return i}});var u=a(6252);function t(e,n,a,t,p,r){const s=(0,u.up)("Media");return(0,u.wg)(),(0,u.j4)(s,{"plugin-name":"media.omxplayer"})}var p=a(8260),r={name:"MediaMpv",components:{Media:p["default"]}},s=a(3744);const c=(0,s.Z)(r,[["render",t]]);var i=c}}]);
|
"use strict";(self["webpackChunkplatypush"]=self["webpackChunkplatypush"]||[]).push([[7819],{7819:function(e,n,a){a.r(n),a.d(n,{default:function(){return i}});var u=a(6252);function t(e,n,a,t,p,r){const s=(0,u.up)("Media");return(0,u.wg)(),(0,u.j4)(s,{"plugin-name":"media.omxplayer"})}var p=a(1256),r={name:"MediaMpv",components:{Media:p["default"]}},s=a(3744);const c=(0,s.Z)(r,[["render",t]]);var i=c}}]);
|
||||||
//# sourceMappingURL=7819.738bb225.js.map
|
//# sourceMappingURL=7819.c8579627.js.map
|
|
@ -1 +1 @@
|
||||||
{"version":3,"file":"static/js/7819.738bb225.js","mappings":"iPACEA,EAAAA,EAAAA,IAAuCC,EAAA,CAAhC,cAAY,mB,eAMrB,GACEC,KAAM,WACNC,WAAY,CAACC,MAAKA,EAAAA,a,UCJpB,MAAMC,GAA2B,OAAgB,EAAQ,CAAC,CAAC,SAASC,KAEpE,O","sources":["webpack://platypush/./src/components/panels/MediaOmxplayer/Index.vue","webpack://platypush/./src/components/panels/MediaOmxplayer/Index.vue?bcec"],"sourcesContent":["<template>\n <Media plugin-name=\"media.omxplayer\" />\n</template>\n\n<script>\nimport Media from '@/components/panels/Media/Index'\n\nexport default {\n name: \"MediaMpv\",\n components: {Media},\n}\n</script>\n\n<style scoped>\n\n</style>\n","import { render } from \"./Index.vue?vue&type=template&id=7264d7fc\"\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","name","components","Media","__exports__","render"],"sourceRoot":""}
|
{"version":3,"file":"static/js/7819.c8579627.js","mappings":"iPACEA,EAAAA,EAAAA,IAAuCC,EAAA,CAAhC,cAAY,mB,eAMrB,GACEC,KAAM,WACNC,WAAY,CAACC,MAAKA,EAAAA,a,UCJpB,MAAMC,GAA2B,OAAgB,EAAQ,CAAC,CAAC,SAASC,KAEpE,O","sources":["webpack://platypush/./src/components/panels/MediaOmxplayer/Index.vue","webpack://platypush/./src/components/panels/MediaOmxplayer/Index.vue?bcec"],"sourcesContent":["<template>\n <Media plugin-name=\"media.omxplayer\" />\n</template>\n\n<script>\nimport Media from '@/components/panels/Media/Index'\n\nexport default {\n name: \"MediaMpv\",\n components: {Media},\n}\n</script>\n\n<style scoped>\n\n</style>\n","import { render } from \"./Index.vue?vue&type=template&id=7264d7fc\"\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","name","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
|
@ -1,2 +1,2 @@
|
||||||
"use strict";(self["webpackChunkplatypush"]=self["webpackChunkplatypush"]||[]).push([[7898,342],{3222:function(t,e,s){s.d(e,{Z:function(){return r}});var l=s(6252),i=s(3577);const a={class:"no-items-container"};function n(t,e,s,n,d,o){return(0,l.wg)(),(0,l.iD)("div",a,[(0,l._)("div",{class:(0,i.C_)(["no-items fade-in",{shadow:s.withShadow}])},[(0,l.WI)(t.$slots,"default",{},void 0,!0)],2)])}var d={name:"NoItems",props:{withShadow:{type:Boolean,default:!0}}},o=s(3744);const u=(0,o.Z)(d,[["render",n],["__scopeId","data-v-4856c4d7"]]);var r=u},342:function(t,e,s){s.r(e),s.d(e,{default:function(){return p}});var l=s(6252);const i={class:"media-youtube-playlist"};function a(t,e,s,a,n,d){const o=(0,l.up)("Loading"),u=(0,l.up)("NoItems"),r=(0,l.up)("Results");return(0,l.wg)(),(0,l.iD)("div",i,[n.loading?((0,l.wg)(),(0,l.j4)(o,{key:0})):n.items?.length?((0,l.wg)(),(0,l.j4)(r,{key:2,results:n.items,sources:{youtube:!0},filter:s.filter,"selected-result":n.selectedResult,onSelect:e[0]||(e[0]=t=>n.selectedResult=t),onPlay:e[1]||(e[1]=e=>t.$emit("play",e))},null,8,["results","filter","selected-result"])):((0,l.wg)(),(0,l.j4)(u,{key:1,"with-shadow":!1},{default:(0,l.w5)((()=>[(0,l.Uk)(" No videos found. ")])),_:1}))])}var n=s(3222),d=s(6791),o=s(5390),u=s(8637),r={emits:["play"],mixins:[u.Z],components:{Loading:d.Z,NoItems:n.Z,Results:o.Z},props:{id:{type:String,required:!0},filter:{type:String,default:null}},data(){return{items:[],loading:!1,selectedResult:null}},methods:{async loadItems(){this.loading=!0;try{this.items=(await this.request("youtube.get_playlist",{id:this.id})).map((t=>({...t,type:"youtube"})))}finally{this.loading=!1}}},mounted(){this.loadItems()}},y=s(3744);const c=(0,y.Z)(r,[["render",a],["__scopeId","data-v-66236cc4"]]);var p=c},7898:function(t,e,s){s.r(e),s.d(e,{default:function(){return k}});var l=s(6252),i=s(3577);const a={class:"media-youtube-playlists"},n={key:0,class:"playlists-index"},d={key:2,class:"body grid"},o=["onClick"],u={class:"title"},r={key:1,class:"playlist-body"};function y(t,e,s,y,c,p){const m=(0,l.up)("Loading"),f=(0,l.up)("NoItems"),g=(0,l.up)("MediaImage"),h=(0,l.up)("Playlist");return(0,l.wg)(),(0,l.iD)("div",a,[s.selectedPlaylist?((0,l.wg)(),(0,l.iD)("div",r,[(0,l.Wm)(h,{id:s.selectedPlaylist,filter:s.filter,onPlay:e[0]||(e[0]=e=>t.$emit("play",e))},null,8,["id","filter"])])):((0,l.wg)(),(0,l.iD)("div",n,[c.loading?((0,l.wg)(),(0,l.j4)(m,{key:0})):c.playlists?.length?((0,l.wg)(),(0,l.iD)("div",d,[((0,l.wg)(!0),(0,l.iD)(l.HY,null,(0,l.Ko)(p.playlistsById,((e,s)=>((0,l.wg)(),(0,l.iD)("div",{class:"playlist item",key:s,onClick:s=>t.$emit("select",e)},[(0,l.Wm)(g,{item:e,"has-play":!1},null,8,["item"]),(0,l._)("div",u,(0,i.zw)(e.name),1)],8,o)))),128))])):((0,l.wg)(),(0,l.j4)(f,{key:1,"with-shadow":!1},{default:(0,l.w5)((()=>[(0,l.Uk)(" No playlists found. ")])),_:1}))]))])}var c=s(8408),p=s(3222),m=s(6791),f=s(342),g=s(8637),h={emits:["play","select"],mixins:[g.Z],components:{Loading:m.Z,MediaImage:c.Z,NoItems:p.Z,Playlist:f["default"]},props:{selectedPlaylist:{type:String,default:null},filter:{type:String,default:null}},data(){return{playlists:[],loading:!1}},computed:{playlistsById(){return this.playlists.filter((t=>!this.filter||t.name.toLowerCase().includes(this.filter.toLowerCase()))).reduce(((t,e)=>(t[e.id]=e,t)),{})}},methods:{async loadPlaylists(){this.loading=!0;try{this.playlists=await this.request("youtube.get_playlists")}finally{this.loading=!1}}},mounted(){this.loadPlaylists()}},w=s(3744);const v=(0,w.Z)(h,[["render",y],["__scopeId","data-v-4f7cc8e3"]]);var k=v}}]);
|
"use strict";(self["webpackChunkplatypush"]=self["webpackChunkplatypush"]||[]).push([[7898,342],{3222:function(t,e,s){s.d(e,{Z:function(){return r}});var l=s(6252),i=s(3577);const a={class:"no-items-container"};function n(t,e,s,n,d,o){return(0,l.wg)(),(0,l.iD)("div",a,[(0,l._)("div",{class:(0,i.C_)(["no-items fade-in",{shadow:s.withShadow}])},[(0,l.WI)(t.$slots,"default",{},void 0,!0)],2)])}var d={name:"NoItems",props:{withShadow:{type:Boolean,default:!0}}},o=s(3744);const u=(0,o.Z)(d,[["render",n],["__scopeId","data-v-4856c4d7"]]);var r=u},342:function(t,e,s){s.r(e),s.d(e,{default:function(){return p}});var l=s(6252);const i={class:"media-youtube-playlist"};function a(t,e,s,a,n,d){const o=(0,l.up)("Loading"),u=(0,l.up)("NoItems"),r=(0,l.up)("Results");return(0,l.wg)(),(0,l.iD)("div",i,[n.loading?((0,l.wg)(),(0,l.j4)(o,{key:0})):n.items?.length?((0,l.wg)(),(0,l.j4)(r,{key:2,results:n.items,sources:{youtube:!0},filter:s.filter,"selected-result":n.selectedResult,onSelect:e[0]||(e[0]=t=>n.selectedResult=t),onPlay:e[1]||(e[1]=e=>t.$emit("play",e))},null,8,["results","filter","selected-result"])):((0,l.wg)(),(0,l.j4)(u,{key:1,"with-shadow":!1},{default:(0,l.w5)((()=>[(0,l.Uk)(" No videos found. ")])),_:1}))])}var n=s(3222),d=s(6791),o=s(5390),u=s(8637),r={emits:["play"],mixins:[u.Z],components:{Loading:d.Z,NoItems:n.Z,Results:o.Z},props:{id:{type:String,required:!0},filter:{type:String,default:null}},data(){return{items:[],loading:!1,selectedResult:null}},methods:{async loadItems(){this.loading=!0;try{this.items=(await this.request("youtube.get_playlist",{id:this.id})).map((t=>({...t,type:"youtube"})))}finally{this.loading=!1}}},mounted(){this.loadItems()}},y=s(3744);const c=(0,y.Z)(r,[["render",a],["__scopeId","data-v-66236cc4"]]);var p=c},7898:function(t,e,s){s.r(e),s.d(e,{default:function(){return k}});var l=s(6252),i=s(3577);const a={class:"media-youtube-playlists"},n={key:0,class:"playlists-index"},d={key:2,class:"body grid"},o=["onClick"],u={class:"title"},r={key:1,class:"playlist-body"};function y(t,e,s,y,c,p){const m=(0,l.up)("Loading"),f=(0,l.up)("NoItems"),g=(0,l.up)("MediaImage"),h=(0,l.up)("Playlist");return(0,l.wg)(),(0,l.iD)("div",a,[s.selectedPlaylist?((0,l.wg)(),(0,l.iD)("div",r,[(0,l.Wm)(h,{id:s.selectedPlaylist,filter:s.filter,onPlay:e[0]||(e[0]=e=>t.$emit("play",e))},null,8,["id","filter"])])):((0,l.wg)(),(0,l.iD)("div",n,[c.loading?((0,l.wg)(),(0,l.j4)(m,{key:0})):c.playlists?.length?((0,l.wg)(),(0,l.iD)("div",d,[((0,l.wg)(!0),(0,l.iD)(l.HY,null,(0,l.Ko)(p.playlistsById,((e,s)=>((0,l.wg)(),(0,l.iD)("div",{class:"playlist item",key:s,onClick:s=>t.$emit("select",e)},[(0,l.Wm)(g,{item:e,"has-play":!1},null,8,["item"]),(0,l._)("div",u,(0,i.zw)(e.name),1)],8,o)))),128))])):((0,l.wg)(),(0,l.j4)(f,{key:1,"with-shadow":!1},{default:(0,l.w5)((()=>[(0,l.Uk)(" No playlists found. ")])),_:1}))]))])}var c=s(8408),p=s(3222),m=s(6791),f=s(342),g=s(8637),h={emits:["play","select"],mixins:[g.Z],components:{Loading:m.Z,MediaImage:c.Z,NoItems:p.Z,Playlist:f["default"]},props:{selectedPlaylist:{type:String,default:null},filter:{type:String,default:null}},data(){return{playlists:[],loading:!1}},computed:{playlistsById(){return this.playlists.filter((t=>!this.filter||t.name.toLowerCase().includes(this.filter.toLowerCase()))).reduce(((t,e)=>(t[e.id]=e,t)),{})}},methods:{async loadPlaylists(){this.loading=!0;try{this.playlists=await this.request("youtube.get_playlists")}finally{this.loading=!1}}},mounted(){this.loadPlaylists()}},w=s(3744);const v=(0,w.Z)(h,[["render",y],["__scopeId","data-v-4f7cc8e3"]]);var k=v}}]);
|
||||||
//# sourceMappingURL=7898.1aa354cc.js.map
|
//# sourceMappingURL=7898.af4f2bd0.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
Some files were not shown because too many files have changed in this diff Show more
Loading…
Reference in a new issue