Updated webapp dist files

This commit is contained in:
Fabio Manganiello 2022-11-12 16:31:35 +01:00
parent 69e097707d
commit fb594cb8b1
Signed by untrusted user: blacklight
GPG key ID: D90FBA7F76362774
132 changed files with 127 additions and 85 deletions

View file

@ -1 +1 @@
<!doctype html><html lang="en"><head><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width,initial-scale=1"><link rel="icon" href="/favicon.ico"><link rel="stylesheet" href="/fonts/poppins.css"><title>platypush</title><script defer="defer" type="module" src="/static/js/chunk-vendors.95bedba1.js"></script><script defer="defer" type="module" src="/static/js/app.0ecd5641.js"></script><link href="/static/css/chunk-vendors.0fcd36f0.css" rel="stylesheet"><link href="/static/css/app.3b5b9cec.css" rel="stylesheet"><script defer="defer" src="/static/js/chunk-vendors-legacy.c27e0a41.js" nomodule></script><script defer="defer" src="/static/js/app-legacy.602f8c67.js" nomodule></script></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"><link rel="icon" href="/favicon.ico"><link rel="stylesheet" href="/fonts/poppins.css"><title>platypush</title><script defer="defer" type="module" src="/static/js/chunk-vendors.95bedba1.js"></script><script defer="defer" type="module" src="/static/js/app.5e460a95.js"></script><link href="/static/css/chunk-vendors.0fcd36f0.css" rel="stylesheet"><link href="/static/css/app.3b5b9cec.css" rel="stylesheet"><script defer="defer" src="/static/js/chunk-vendors-legacy.c27e0a41.js" nomodule></script><script defer="defer" src="/static/js/app-legacy.7e8eb974.js" nomodule></script></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

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View file

@ -0,0 +1,2 @@
"use strict";(self["webpackChunkplatypush"]=self["webpackChunkplatypush"]||[]).push([[2072,3673],{3673:function(n,t,l){l.r(t),l.d(t,{default:function(){return f}});var e=l(6252),o=l(3577),i=l(3540),r={key:0,src:i,class:"loading"},c={key:1,class:"fas fa-circle-exclamation error"};function a(n,t,l,i,a,s){var u=(0,e.up)("Icon");return(0,e.wg)(),(0,e.iD)("div",{class:(0,o.C_)(["entity-icon-container",{"with-color-fill":!!s.colorFill}]),style:(0,o.j5)(s.colorFillStyle)},[l.loading?((0,e.wg)(),(0,e.iD)("img",r)):l.error?((0,e.wg)(),(0,e.iD)("i",c)):((0,e.wg)(),(0,e.j4)(u,(0,o.vs)((0,e.dG)({key:2},s.computedIcon)),null,16))],6)}var s=l(4648),u=(l(7042),l(1478)),d={name:"EntityIcon",components:{Icon:u.Z},props:{loading:{type:Boolean,default:!1},error:{type:Boolean,default:!1},icon:{type:Object,required:!0},hasColorFill:{type:Boolean,default:!1}},data:function(){return{component:null,modalVisible:!1}},computed:{colorFill:function(){return this.hasColorFill&&this.icon.color?this.icon.color:null},colorFillStyle:function(){return this.colorFill&&!this.error?{background:this.colorFill}:{}},computedIcon:function(){var n=(0,s.Z)({},this.icon);return this.colorFill&&delete n.color,n},type:function(){var n=this.entity.type||"";return n.charAt(0).toUpperCase()+n.slice(1)}}},p=l(3744);const v=(0,p.Z)(d,[["render",a],["__scopeId","data-v-e4043550"]]);var f=v},2072:function(n,t,l){l.r(t),l.d(t,{default:function(){return w}});l(8309);var e=l(6252),o=l(3577),i={class:"entity sensor-container"},r={class:"head"},c={class:"col-1 icon"},a={class:"col-s-8 col-m-9 label"},s=["textContent"],u={key:0,class:"col-s-3 col-m-2 pull-right"},d=["textContent"],p=["textContent"];function v(n,t,l,v,f,y){var h,m=(0,e.up)("EntityIcon");return(0,e.wg)(),(0,e.iD)("div",i,[(0,e._)("div",r,[(0,e._)("div",c,[(0,e.Wm)(m,{icon:(null===(h=n.value.meta)||void 0===h?void 0:h.icon)||{},loading:n.loading,error:n.error},null,8,["icon","loading","error"])]),(0,e._)("div",a,[(0,e._)("div",{class:"name",textContent:(0,o.zw)(n.value.name)},null,8,s)]),null!=n.value.value?((0,e.wg)(),(0,e.iD)("div",u,[null!=n.value.unit?((0,e.wg)(),(0,e.iD)("span",{key:0,class:"unit",textContent:(0,o.zw)(n.value.unit)},null,8,d)):(0,e.kq)("",!0),(0,e._)("span",{class:"value",textContent:(0,o.zw)(n.value.value)},null,8,p)])):(0,e.kq)("",!0)])])}var f=l(7909),y=l(3673),h={name:"Sensor",components:{EntityIcon:y["default"]},mixins:[f["default"]]},m=l(3744);const g=(0,m.Z)(h,[["render",v],["__scopeId","data-v-1db1da05"]]);var w=g},3540:function(n,t,l){n.exports=l.p+"static/img/spinner.c0bee445.gif"}}]);
//# sourceMappingURL=2072-legacy.5f0a7198.js.map

File diff suppressed because one or more lines are too long

View file

@ -0,0 +1,2 @@
"use strict";(self["webpackChunkplatypush"]=self["webpackChunkplatypush"]||[]).push([[2072,3673],{3673:function(t,n,e){e.r(n),e.d(n,{default:function(){return v}});var l=e(6252),o=e(3577),i=e(3540);const c={key:0,src:i,class:"loading"},r={key:1,class:"fas fa-circle-exclamation error"};function a(t,n,e,i,a,s){const u=(0,l.up)("Icon");return(0,l.wg)(),(0,l.iD)("div",{class:(0,o.C_)(["entity-icon-container",{"with-color-fill":!!s.colorFill}]),style:(0,o.j5)(s.colorFillStyle)},[e.loading?((0,l.wg)(),(0,l.iD)("img",c)):e.error?((0,l.wg)(),(0,l.iD)("i",r)):((0,l.wg)(),(0,l.j4)(u,(0,o.vs)((0,l.dG)({key:2},s.computedIcon)),null,16))],6)}var s=e(1478),u={name:"EntityIcon",components:{Icon:s.Z},props:{loading:{type:Boolean,default:!1},error:{type:Boolean,default:!1},icon:{type:Object,required:!0},hasColorFill:{type:Boolean,default:!1}},data(){return{component:null,modalVisible:!1}},computed:{colorFill(){return this.hasColorFill&&this.icon.color?this.icon.color:null},colorFillStyle(){return this.colorFill&&!this.error?{background:this.colorFill}:{}},computedIcon(){const t={...this.icon};return this.colorFill&&delete t.color,t},type(){let t=this.entity.type||"";return t.charAt(0).toUpperCase()+t.slice(1)}}},d=e(3744);const p=(0,d.Z)(u,[["render",a],["__scopeId","data-v-e4043550"]]);var v=p},2072:function(t,n,e){e.r(n),e.d(n,{default:function(){return w}});var l=e(6252),o=e(3577);const i={class:"entity sensor-container"},c={class:"head"},r={class:"col-1 icon"},a={class:"col-s-8 col-m-9 label"},s=["textContent"],u={key:0,class:"col-s-3 col-m-2 pull-right"},d=["textContent"],p=["textContent"];function v(t,n,e,v,y,f){const h=(0,l.up)("EntityIcon");return(0,l.wg)(),(0,l.iD)("div",i,[(0,l._)("div",c,[(0,l._)("div",r,[(0,l.Wm)(h,{icon:t.value.meta?.icon||{},loading:t.loading,error:t.error},null,8,["icon","loading","error"])]),(0,l._)("div",a,[(0,l._)("div",{class:"name",textContent:(0,o.zw)(t.value.name)},null,8,s)]),null!=t.value.value?((0,l.wg)(),(0,l.iD)("div",u,[null!=t.value.unit?((0,l.wg)(),(0,l.iD)("span",{key:0,class:"unit",textContent:(0,o.zw)(t.value.unit)},null,8,d)):(0,l.kq)("",!0),(0,l._)("span",{class:"value",textContent:(0,o.zw)(t.value.value)},null,8,p)])):(0,l.kq)("",!0)])])}var y=e(7909),f=e(3673),h={name:"Sensor",components:{EntityIcon:f["default"]},mixins:[y["default"]]},m=e(3744);const g=(0,m.Z)(h,[["render",v],["__scopeId","data-v-1db1da05"]]);var w=g},3540:function(t,n,e){t.exports=e.p+"static/img/spinner.c0bee445.gif"}}]);
//# sourceMappingURL=2072.cbbcc0d5.js.map

File diff suppressed because one or more lines are too long

View file

@ -0,0 +1,2 @@
"use strict";(self["webpackChunkplatypush"]=self["webpackChunkplatypush"]||[]).push([[2235,3673],{3673:function(n,t,l){l.r(t),l.d(t,{default:function(){return f}});var e=l(6252),o=l(3577),i=l(3540),r={key:0,src:i,class:"loading"},a={key:1,class:"fas fa-circle-exclamation error"};function c(n,t,l,i,c,u){var s=(0,e.up)("Icon");return(0,e.wg)(),(0,e.iD)("div",{class:(0,o.C_)(["entity-icon-container",{"with-color-fill":!!u.colorFill}]),style:(0,o.j5)(u.colorFillStyle)},[l.loading?((0,e.wg)(),(0,e.iD)("img",r)):l.error?((0,e.wg)(),(0,e.iD)("i",a)):((0,e.wg)(),(0,e.j4)(s,(0,o.vs)((0,e.dG)({key:2},u.computedIcon)),null,16))],6)}var u=l(4648),s=(l(7042),l(1478)),d={name:"EntityIcon",components:{Icon:s.Z},props:{loading:{type:Boolean,default:!1},error:{type:Boolean,default:!1},icon:{type:Object,required:!0},hasColorFill:{type:Boolean,default:!1}},data:function(){return{component:null,modalVisible:!1}},computed:{colorFill:function(){return this.hasColorFill&&this.icon.color?this.icon.color:null},colorFillStyle:function(){return this.colorFill&&!this.error?{background:this.colorFill}:{}},computedIcon:function(){var n=(0,u.Z)({},this.icon);return this.colorFill&&delete n.color,n},type:function(){var n=this.entity.type||"";return n.charAt(0).toUpperCase()+n.slice(1)}}},v=l(3744);const p=(0,v.Z)(d,[["render",c],["__scopeId","data-v-e4043550"]]);var f=p},2235:function(n,t,l){l.r(t),l.d(t,{default:function(){return g}});l(8309);var e=l(6252),o=l(3577),i={class:"entity link-quality-container"},r={class:"head"},a={class:"col-1 icon"},c={class:"col-s-8 col-m-9 label"},u=["textContent"],s={class:"col-s-3 col-m-2 buttons pull-right"},d=["textContent"];function v(n,t,l,v,p,f){var h,y=(0,e.up)("EntityIcon");return(0,e.wg)(),(0,e.iD)("div",i,[(0,e._)("div",r,[(0,e._)("div",a,[(0,e.Wm)(y,{icon:(null===(h=n.value.meta)||void 0===h?void 0:h.icon)||{},loading:n.loading,error:n.error},null,8,["icon","loading","error"])]),(0,e._)("div",c,[(0,e._)("div",{class:"name",textContent:(0,o.zw)(n.value.name)},null,8,u)]),(0,e._)("div",s,[null!=f.valuePercent?((0,e.wg)(),(0,e.iD)("span",{key:0,class:"value-percent",textContent:(0,o.zw)(f.valuePercent+"%")},null,8,d)):(0,e.kq)("",!0)])])])}l(6977);var p=l(7909),f=l(3673),h={name:"LinkQuality",components:{EntityIcon:f["default"]},mixins:[p["default"]],computed:{valuePercent:function(){var n;if(null==(null===(n=this.value)||void 0===n?void 0:n.value))return null;var t=this.value.min||0,l=this.value.max||100;return(100*this.value.value/(l-t)).toFixed(0)}}},y=l(3744);const m=(0,y.Z)(h,[["render",v],["__scopeId","data-v-38ba6ff6"]]);var g=m},3540:function(n,t,l){n.exports=l.p+"static/img/spinner.c0bee445.gif"}}]);
//# sourceMappingURL=2235-legacy.ee01d3bc.js.map

File diff suppressed because one or more lines are too long

View file

@ -0,0 +1,2 @@
"use strict";(self["webpackChunkplatypush"]=self["webpackChunkplatypush"]||[]).push([[2235,3673],{3673:function(t,e,l){l.r(e),l.d(e,{default:function(){return v}});var n=l(6252),o=l(3577),i=l(3540);const r={key:0,src:i,class:"loading"},c={key:1,class:"fas fa-circle-exclamation error"};function a(t,e,l,i,a,s){const u=(0,n.up)("Icon");return(0,n.wg)(),(0,n.iD)("div",{class:(0,o.C_)(["entity-icon-container",{"with-color-fill":!!s.colorFill}]),style:(0,o.j5)(s.colorFillStyle)},[l.loading?((0,n.wg)(),(0,n.iD)("img",r)):l.error?((0,n.wg)(),(0,n.iD)("i",c)):((0,n.wg)(),(0,n.j4)(u,(0,o.vs)((0,n.dG)({key:2},s.computedIcon)),null,16))],6)}var s=l(1478),u={name:"EntityIcon",components:{Icon:s.Z},props:{loading:{type:Boolean,default:!1},error:{type:Boolean,default:!1},icon:{type:Object,required:!0},hasColorFill:{type:Boolean,default:!1}},data(){return{component:null,modalVisible:!1}},computed:{colorFill(){return this.hasColorFill&&this.icon.color?this.icon.color:null},colorFillStyle(){return this.colorFill&&!this.error?{background:this.colorFill}:{}},computedIcon(){const t={...this.icon};return this.colorFill&&delete t.color,t},type(){let t=this.entity.type||"";return t.charAt(0).toUpperCase()+t.slice(1)}}},d=l(3744);const p=(0,d.Z)(u,[["render",a],["__scopeId","data-v-e4043550"]]);var v=p},2235:function(t,e,l){l.r(e),l.d(e,{default:function(){return g}});var n=l(6252),o=l(3577);const i={class:"entity link-quality-container"},r={class:"head"},c={class:"col-1 icon"},a={class:"col-s-8 col-m-9 label"},s=["textContent"],u={class:"col-s-3 col-m-2 buttons pull-right"},d=["textContent"];function p(t,e,l,p,v,h){const f=(0,n.up)("EntityIcon");return(0,n.wg)(),(0,n.iD)("div",i,[(0,n._)("div",r,[(0,n._)("div",c,[(0,n.Wm)(f,{icon:t.value.meta?.icon||{},loading:t.loading,error:t.error},null,8,["icon","loading","error"])]),(0,n._)("div",a,[(0,n._)("div",{class:"name",textContent:(0,o.zw)(t.value.name)},null,8,s)]),(0,n._)("div",u,[null!=h.valuePercent?((0,n.wg)(),(0,n.iD)("span",{key:0,class:"value-percent",textContent:(0,o.zw)(h.valuePercent+"%")},null,8,d)):(0,n.kq)("",!0)])])])}var v=l(7909),h=l(3673),f={name:"LinkQuality",components:{EntityIcon:h["default"]},mixins:[v["default"]],computed:{valuePercent(){if(null==this.value?.value)return null;const t=this.value.min||0,e=this.value.max||100;return(100*this.value.value/(e-t)).toFixed(0)}}},y=l(3744);const m=(0,y.Z)(f,[["render",p],["__scopeId","data-v-38ba6ff6"]]);var g=m},3540:function(t,e,l){t.exports=l.p+"static/img/spinner.c0bee445.gif"}}]);
//# sourceMappingURL=2235.69f662d8.js.map

File diff suppressed because one or more lines are too long

View file

@ -1,2 +1,2 @@
"use strict";(self["webpackChunkplatypush"]=self["webpackChunkplatypush"]||[]).push([[2362],{2362:function(n,e,t){t.r(e),t.d(e,{default:function(){return v}});var u=t(6252);function a(n,e,t,a,r,p){var s=(0,u.up)("Zwave");return(0,u.wg)(),(0,u.j4)(s,{"plugin-name":"zwave.mqtt"})}var r=t(4658),p={components:{Zwave:r.Z}},s=t(3744);const c=(0,s.Z)(p,[["render",a]]);var v=c}}]); "use strict";(self["webpackChunkplatypush"]=self["webpackChunkplatypush"]||[]).push([[2362],{2362:function(n,e,t){t.r(e),t.d(e,{default:function(){return v}});var u=t(6252);function a(n,e,t,a,r,p){var s=(0,u.up)("Zwave");return(0,u.wg)(),(0,u.j4)(s,{"plugin-name":"zwave.mqtt"})}var r=t(1485),p={components:{Zwave:r.Z}},s=t(3744);const c=(0,s.Z)(p,[["render",a]]);var v=c}}]);
//# sourceMappingURL=2362-legacy.6b95b958.js.map //# sourceMappingURL=2362-legacy.a7430a1b.js.map

View file

@ -1 +1 @@
{"version":3,"file":"static/js/2362-legacy.6b95b958.js","mappings":"+OACE,QAAkC,GAA3B,cAAY,c,eAMrB,GACEA,WAAY,CAACC,MAAAA,EAAAC,I,UCHf,MAAMC,GAA2B,OAAgB,EAAQ,CAAC,CAAC,SAASC,KAEpE,O","sources":["webpack://platypush/./src/components/panels/ZwaveMqtt/Index.vue","webpack://platypush/./src/components/panels/ZwaveMqtt/Index.vue?4812"],"sourcesContent":["<template>\n <Zwave plugin-name=\"zwave.mqtt\" />\n</template>\n\n<script>\nimport Zwave from \"@/components/panels/Zwave/Zwave\";\n\nexport default {\n components: {Zwave},\n}\n</script>\n","import { render } from \"./Index.vue?vue&type=template&id=8fb9cbb2\"\nimport script from \"./Index.vue?vue&type=script&lang=js\"\nexport * from \"./Index.vue?vue&type=script&lang=js\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__"],"names":["components","Zwave","Z","__exports__","render"],"sourceRoot":""} {"version":3,"file":"static/js/2362-legacy.a7430a1b.js","mappings":"+OACE,QAAkC,GAA3B,cAAY,c,eAMrB,GACEA,WAAY,CAACC,MAAAA,EAAAC,I,UCHf,MAAMC,GAA2B,OAAgB,EAAQ,CAAC,CAAC,SAASC,KAEpE,O","sources":["webpack://platypush/./src/components/panels/ZwaveMqtt/Index.vue","webpack://platypush/./src/components/panels/ZwaveMqtt/Index.vue?4812"],"sourcesContent":["<template>\n <Zwave plugin-name=\"zwave.mqtt\" />\n</template>\n\n<script>\nimport Zwave from \"@/components/panels/Zwave/Zwave\";\n\nexport default {\n components: {Zwave},\n}\n</script>\n","import { render } from \"./Index.vue?vue&type=template&id=8fb9cbb2\"\nimport script from \"./Index.vue?vue&type=script&lang=js\"\nexport * from \"./Index.vue?vue&type=script&lang=js\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__"],"names":["components","Zwave","Z","__exports__","render"],"sourceRoot":""}

View file

@ -1,2 +1,2 @@
"use strict";(self["webpackChunkplatypush"]=self["webpackChunkplatypush"]||[]).push([[2362],{2362:function(n,e,t){t.r(e),t.d(e,{default:function(){return o}});var u=t(6252);function a(n,e,t,a,r,p){const s=(0,u.up)("Zwave");return(0,u.wg)(),(0,u.j4)(s,{"plugin-name":"zwave.mqtt"})}var r=t(5810),p={components:{Zwave:r.Z}},s=t(3744);const c=(0,s.Z)(p,[["render",a]]);var o=c}}]); "use strict";(self["webpackChunkplatypush"]=self["webpackChunkplatypush"]||[]).push([[2362],{2362:function(n,e,t){t.r(e),t.d(e,{default:function(){return o}});var u=t(6252);function a(n,e,t,a,r,p){const s=(0,u.up)("Zwave");return(0,u.wg)(),(0,u.j4)(s,{"plugin-name":"zwave.mqtt"})}var r=t(906),p={components:{Zwave:r.Z}},s=t(3744);const c=(0,s.Z)(p,[["render",a]]);var o=c}}]);
//# sourceMappingURL=2362.f07ef3c1.js.map //# sourceMappingURL=2362.620095dd.js.map

View file

@ -1 +1 @@
{"version":3,"file":"static/js/2362.f07ef3c1.js","mappings":"iPACE,QAAkC,GAA3B,cAAY,c,eAMrB,GACEA,WAAY,CAACC,MAAK,M,UCHpB,MAAMC,GAA2B,OAAgB,EAAQ,CAAC,CAAC,SAASC,KAEpE,O","sources":["webpack://platypush/./src/components/panels/ZwaveMqtt/Index.vue","webpack://platypush/./src/components/panels/ZwaveMqtt/Index.vue?4812"],"sourcesContent":["<template>\n <Zwave plugin-name=\"zwave.mqtt\" />\n</template>\n\n<script>\nimport Zwave from \"@/components/panels/Zwave/Zwave\";\n\nexport default {\n components: {Zwave},\n}\n</script>\n","import { render } from \"./Index.vue?vue&type=template&id=8fb9cbb2\"\nimport script from \"./Index.vue?vue&type=script&lang=js\"\nexport * from \"./Index.vue?vue&type=script&lang=js\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__"],"names":["components","Zwave","__exports__","render"],"sourceRoot":""} {"version":3,"file":"static/js/2362.620095dd.js","mappings":"iPACE,QAAkC,GAA3B,cAAY,c,cAMrB,GACEA,WAAY,CAACC,MAAK,M,UCHpB,MAAMC,GAA2B,OAAgB,EAAQ,CAAC,CAAC,SAASC,KAEpE,O","sources":["webpack://platypush/./src/components/panels/ZwaveMqtt/Index.vue","webpack://platypush/./src/components/panels/ZwaveMqtt/Index.vue?4812"],"sourcesContent":["<template>\n <Zwave plugin-name=\"zwave.mqtt\" />\n</template>\n\n<script>\nimport Zwave from \"@/components/panels/Zwave/Zwave\";\n\nexport default {\n components: {Zwave},\n}\n</script>\n","import { render } from \"./Index.vue?vue&type=template&id=8fb9cbb2\"\nimport script from \"./Index.vue?vue&type=script&lang=js\"\nexport * from \"./Index.vue?vue&type=script&lang=js\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__"],"names":["components","Zwave","__exports__","render"],"sourceRoot":""}

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View file

@ -1,2 +0,0 @@
"use strict";(self["webpackChunkplatypush"]=self["webpackChunkplatypush"]||[]).push([[3499],{3499:function(o,l,t){t.r(l),t.d(l,{default:function(){return h}});var e=t(6252),n=t(3577),i=t(3540),r={key:0,src:i,class:"loading"},c={key:1,class:"fas fa-circle-exclamation error"};function a(o,l,t,i,a,s){var u=(0,e.up)("Icon");return(0,e.wg)(),(0,e.iD)("div",{class:(0,n.C_)(["entity-icon-container",{"with-color-fill":!!s.colorFill}]),style:(0,n.j5)(s.colorFillStyle)},[t.loading?((0,e.wg)(),(0,e.iD)("img",r)):t.error?((0,e.wg)(),(0,e.iD)("i",c)):((0,e.wg)(),(0,e.j4)(u,(0,n.vs)((0,e.dG)({key:2},s.computedIcon)),null,16))],6)}var s=t(4648),u=(t(7042),t(1478)),p={name:"EntityIcon",components:{Icon:u.Z},props:{loading:{type:Boolean,default:!1},error:{type:Boolean,default:!1},icon:{type:Object,required:!0},hasColorFill:{type:Boolean,default:!1}},data:function(){return{component:null,modalVisible:!1}},computed:{colorFill:function(){return this.hasColorFill&&this.icon.color?this.icon.color:null},colorFillStyle:function(){return this.colorFill?{background:this.colorFill}:{}},computedIcon:function(){var o=(0,s.Z)({},this.icon);return this.colorFill&&delete o.color,o},type:function(){var o=this.entity.type||"";return o.charAt(0).toUpperCase()+o.slice(1)}}},d=t(3744);const f=(0,d.Z)(p,[["render",a],["__scopeId","data-v-6f83c443"]]);var h=f},3540:function(o,l,t){o.exports=t.p+"static/img/spinner.c0bee445.gif"}}]);
//# sourceMappingURL=3499-legacy.90eae609.js.map

View file

@ -1 +0,0 @@
{"version":3,"file":"static/js/3499-legacy.90eae609.js","mappings":"0MAISA,IAAA,EAA+BC,MAAM,W,SACvCA,MAAM,mC,iEAJX,QAMM,OANDA,OAAK,SAAC,wBAAuB,qBACA,EAAAC,aAC7BC,OAAK,QAAE,EAAAC,iBAFZ,CAG4D,EAAAC,UAAA,WAA1D,QAAmE,MAAnE,IACsD,EAAAC,QAAA,WAAtD,QAA+D,IAA/D,iBACA,QAAqC,4BAAvB,EAAAC,eAAY,WAL5B,E,mCAYF,GACEC,KAAM,aACNC,WAAY,CAACC,KAAAA,EAAA,GACbC,MAAO,CACLN,QAAS,CACPO,KAAMC,QACNC,SAAS,GAGXR,MAAO,CACLM,KAAMC,QACNC,SAAS,GAGXC,KAAM,CACJH,KAAMI,OACNC,UAAU,GAGZC,aAAc,CACZN,KAAMC,QACNC,SAAS,IAIbK,KAzBa,WA0BX,MAAO,CACLC,UAAW,KACXC,cAAc,EAEjB,EAEDC,SAAU,CACRpB,UADQ,WAEN,OAAQqB,KAAKL,cAAgBK,KAAKR,KAAKS,MAASD,KAAKR,KAAKS,MAAQ,IACnE,EAEDpB,eALQ,WAMN,OAAOmB,KAAKrB,UAAY,CAAC,WAAcqB,KAAKrB,WAAa,CAAC,CAC3D,EAEDK,aATQ,WAUN,IAAMQ,GAAG,UAAQQ,KAAKR,MAGtB,OAFIQ,KAAKrB,kBACAa,EAAKS,MACPT,CACR,EAEDH,KAhBQ,WAiBN,IAAIa,EAAcF,KAAKG,OAAOd,MAAQ,GACtC,OAAOa,EAAWE,OAAO,GAAGC,cAAgBH,EAAWI,MAAM,EAC9D,I,UCzDL,MAAMC,GAA2B,OAAgB,EAAQ,CAAC,CAAC,SAASC,GAAQ,CAAC,YAAY,qBAEzF,O","sources":["webpack://platypush/./src/components/panels/Entities/EntityIcon.vue","webpack://platypush/./src/components/panels/Entities/EntityIcon.vue?8abc"],"sourcesContent":["<template>\n <div class=\"entity-icon-container\"\n :class=\"{'with-color-fill': !!colorFill}\"\n :style=\"colorFillStyle\">\n <img src=\"@/assets/img/spinner.gif\" class=\"loading\" v-if=\"loading\">\n <i class=\"fas fa-circle-exclamation error\" v-else-if=\"error\" />\n <Icon v-bind=\"computedIcon\" v-else />\n </div>\n</template>\n\n<script>\nimport Icon from \"@/components/elements/Icon\";\n\nexport default {\n name: \"EntityIcon\",\n components: {Icon},\n props: {\n loading: {\n type: Boolean,\n default: false,\n },\n\n error: {\n type: Boolean,\n default: false,\n },\n\n icon: {\n type: Object,\n required: true,\n },\n\n hasColorFill: {\n type: Boolean,\n default: false,\n },\n },\n\n data() {\n return {\n component: null,\n modalVisible: false,\n }\n },\n\n computed: {\n colorFill() {\n return (this.hasColorFill && this.icon.color) ? this.icon.color : null\n },\n\n colorFillStyle() {\n return this.colorFill ? {'background': this.colorFill} : {}\n },\n\n computedIcon() {\n const icon = {...this.icon}\n if (this.colorFill)\n delete icon.color\n return icon\n },\n\n type() {\n let entityType = (this.entity.type || '')\n return entityType.charAt(0).toUpperCase() + entityType.slice(1)\n },\n },\n}\n</script>\n\n<style lang=\"scss\" scoped>\n@import \"vars\";\n\n.entity-icon-container {\n width: 1.625em;\n height: 1.5em;\n display: inline-flex;\n margin-top: 0.25em;\n margin-left: 0.25em;\n position: relative;\n text-align: center;\n justify-content: center;\n align-items: center;\n\n &.with-color-fill {\n border-radius: 1em;\n }\n\n .loading {\n position: absolute;\n bottom: 0;\n transform: translate(0%, -50%);\n width: 1em;\n height: 1em;\n }\n\n .error {\n color: $error-fg;\n margin-left: .5em;\n }\n}\n</style>\n","import { render } from \"./EntityIcon.vue?vue&type=template&id=6f83c443&scoped=true\"\nimport script from \"./EntityIcon.vue?vue&type=script&lang=js\"\nexport * from \"./EntityIcon.vue?vue&type=script&lang=js\"\n\nimport \"./EntityIcon.vue?vue&type=style&index=0&id=6f83c443&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-6f83c443\"]])\n\nexport default __exports__"],"names":["src","class","colorFill","style","colorFillStyle","loading","error","computedIcon","name","components","Icon","props","type","Boolean","default","icon","Object","required","hasColorFill","data","component","modalVisible","computed","this","color","entityType","entity","charAt","toUpperCase","slice","__exports__","render"],"sourceRoot":""}

View file

@ -1,2 +0,0 @@
"use strict";(self["webpackChunkplatypush"]=self["webpackChunkplatypush"]||[]).push([[3499],{3499:function(o,l,t){t.r(l),t.d(l,{default:function(){return h}});var e=t(6252),n=t(3577),r=t(3540);const c={key:0,src:r,class:"loading"},i={key:1,class:"fas fa-circle-exclamation error"};function s(o,l,t,r,s,a){const u=(0,e.up)("Icon");return(0,e.wg)(),(0,e.iD)("div",{class:(0,n.C_)(["entity-icon-container",{"with-color-fill":!!a.colorFill}]),style:(0,n.j5)(a.colorFillStyle)},[t.loading?((0,e.wg)(),(0,e.iD)("img",c)):t.error?((0,e.wg)(),(0,e.iD)("i",i)):((0,e.wg)(),(0,e.j4)(u,(0,n.vs)((0,e.dG)({key:2},a.computedIcon)),null,16))],6)}var a=t(1478),u={name:"EntityIcon",components:{Icon:a.Z},props:{loading:{type:Boolean,default:!1},error:{type:Boolean,default:!1},icon:{type:Object,required:!0},hasColorFill:{type:Boolean,default:!1}},data(){return{component:null,modalVisible:!1}},computed:{colorFill(){return this.hasColorFill&&this.icon.color?this.icon.color:null},colorFillStyle(){return this.colorFill?{background:this.colorFill}:{}},computedIcon(){const o={...this.icon};return this.colorFill&&delete o.color,o},type(){let o=this.entity.type||"";return o.charAt(0).toUpperCase()+o.slice(1)}}},p=t(3744);const d=(0,p.Z)(u,[["render",s],["__scopeId","data-v-6f83c443"]]);var h=d},3540:function(o,l,t){o.exports=t.p+"static/img/spinner.c0bee445.gif"}}]);
//# sourceMappingURL=3499.7b46c041.js.map

View file

@ -1 +0,0 @@
{"version":3,"file":"static/js/3499.7b46c041.js","mappings":"gNAISA,IAAA,EAA+BC,MAAM,W,SACvCA,MAAM,mC,mEAJX,QAMM,OANDA,OAAK,SAAC,wBAAuB,qBACA,EAAAC,aAC7BC,OAAK,QAAE,EAAAC,iBAFZ,CAG4D,EAAAC,UAAA,WAA1D,QAAmE,MAAnE,IACsD,EAAAC,QAAA,WAAtD,QAA+D,IAA/D,iBACA,QAAqC,4BAAvB,EAAAC,eAAY,WAL5B,E,eAYF,GACEC,KAAM,aACNC,WAAY,CAACC,KAAI,KACjBC,MAAO,CACLN,QAAS,CACPO,KAAMC,QACNC,SAAS,GAGXR,MAAO,CACLM,KAAMC,QACNC,SAAS,GAGXC,KAAM,CACJH,KAAMI,OACNC,UAAU,GAGZC,aAAc,CACZN,KAAMC,QACNC,SAAS,IAIbK,OACE,MAAO,CACLC,UAAW,KACXC,cAAc,EAEjB,EAEDC,SAAU,CACRpB,YACE,OAAQqB,KAAKL,cAAgBK,KAAKR,KAAKS,MAASD,KAAKR,KAAKS,MAAQ,IACnE,EAEDpB,iBACE,OAAOmB,KAAKrB,UAAY,CAAC,WAAcqB,KAAKrB,WAAa,CAAC,CAC3D,EAEDK,eACE,MAAMQ,EAAO,IAAIQ,KAAKR,MAGtB,OAFIQ,KAAKrB,kBACAa,EAAKS,MACPT,CACR,EAEDH,OACE,IAAIa,EAAcF,KAAKG,OAAOd,MAAQ,GACtC,OAAOa,EAAWE,OAAO,GAAGC,cAAgBH,EAAWI,MAAM,EAC9D,I,UCzDL,MAAMC,GAA2B,OAAgB,EAAQ,CAAC,CAAC,SAASC,GAAQ,CAAC,YAAY,qBAEzF,O","sources":["webpack://platypush/./src/components/panels/Entities/EntityIcon.vue","webpack://platypush/./src/components/panels/Entities/EntityIcon.vue?8abc"],"sourcesContent":["<template>\n <div class=\"entity-icon-container\"\n :class=\"{'with-color-fill': !!colorFill}\"\n :style=\"colorFillStyle\">\n <img src=\"@/assets/img/spinner.gif\" class=\"loading\" v-if=\"loading\">\n <i class=\"fas fa-circle-exclamation error\" v-else-if=\"error\" />\n <Icon v-bind=\"computedIcon\" v-else />\n </div>\n</template>\n\n<script>\nimport Icon from \"@/components/elements/Icon\";\n\nexport default {\n name: \"EntityIcon\",\n components: {Icon},\n props: {\n loading: {\n type: Boolean,\n default: false,\n },\n\n error: {\n type: Boolean,\n default: false,\n },\n\n icon: {\n type: Object,\n required: true,\n },\n\n hasColorFill: {\n type: Boolean,\n default: false,\n },\n },\n\n data() {\n return {\n component: null,\n modalVisible: false,\n }\n },\n\n computed: {\n colorFill() {\n return (this.hasColorFill && this.icon.color) ? this.icon.color : null\n },\n\n colorFillStyle() {\n return this.colorFill ? {'background': this.colorFill} : {}\n },\n\n computedIcon() {\n const icon = {...this.icon}\n if (this.colorFill)\n delete icon.color\n return icon\n },\n\n type() {\n let entityType = (this.entity.type || '')\n return entityType.charAt(0).toUpperCase() + entityType.slice(1)\n },\n },\n}\n</script>\n\n<style lang=\"scss\" scoped>\n@import \"vars\";\n\n.entity-icon-container {\n width: 1.625em;\n height: 1.5em;\n display: inline-flex;\n margin-top: 0.25em;\n margin-left: 0.25em;\n position: relative;\n text-align: center;\n justify-content: center;\n align-items: center;\n\n &.with-color-fill {\n border-radius: 1em;\n }\n\n .loading {\n position: absolute;\n bottom: 0;\n transform: translate(0%, -50%);\n width: 1em;\n height: 1em;\n }\n\n .error {\n color: $error-fg;\n margin-left: .5em;\n }\n}\n</style>\n","import { render } from \"./EntityIcon.vue?vue&type=template&id=6f83c443&scoped=true\"\nimport script from \"./EntityIcon.vue?vue&type=script&lang=js\"\nexport * from \"./EntityIcon.vue?vue&type=script&lang=js\"\n\nimport \"./EntityIcon.vue?vue&type=style&index=0&id=6f83c443&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-6f83c443\"]])\n\nexport default __exports__"],"names":["src","class","colorFill","style","colorFillStyle","loading","error","computedIcon","name","components","Icon","props","type","Boolean","default","icon","Object","required","hasColorFill","data","component","modalVisible","computed","this","color","entityType","entity","charAt","toUpperCase","slice","__exports__","render"],"sourceRoot":""}

View file

@ -0,0 +1,2 @@
"use strict";(self["webpackChunkplatypush"]=self["webpackChunkplatypush"]||[]).push([[3673],{3673:function(o,t,l){l.r(t),l.d(t,{default:function(){return h}});var e=l(6252),n=l(3577),r=l(3540),i={key:0,src:r,class:"loading"},c={key:1,class:"fas fa-circle-exclamation error"};function a(o,t,l,r,a,s){var u=(0,e.up)("Icon");return(0,e.wg)(),(0,e.iD)("div",{class:(0,n.C_)(["entity-icon-container",{"with-color-fill":!!s.colorFill}]),style:(0,n.j5)(s.colorFillStyle)},[l.loading?((0,e.wg)(),(0,e.iD)("img",i)):l.error?((0,e.wg)(),(0,e.iD)("i",c)):((0,e.wg)(),(0,e.j4)(u,(0,n.vs)((0,e.dG)({key:2},s.computedIcon)),null,16))],6)}var s=l(4648),u=(l(7042),l(1478)),p={name:"EntityIcon",components:{Icon:u.Z},props:{loading:{type:Boolean,default:!1},error:{type:Boolean,default:!1},icon:{type:Object,required:!0},hasColorFill:{type:Boolean,default:!1}},data:function(){return{component:null,modalVisible:!1}},computed:{colorFill:function(){return this.hasColorFill&&this.icon.color?this.icon.color:null},colorFillStyle:function(){return this.colorFill&&!this.error?{background:this.colorFill}:{}},computedIcon:function(){var o=(0,s.Z)({},this.icon);return this.colorFill&&delete o.color,o},type:function(){var o=this.entity.type||"";return o.charAt(0).toUpperCase()+o.slice(1)}}},d=l(3744);const f=(0,d.Z)(p,[["render",a],["__scopeId","data-v-e4043550"]]);var h=f},3540:function(o,t,l){o.exports=l.p+"static/img/spinner.c0bee445.gif"}}]);
//# sourceMappingURL=3673-legacy.ce9f93c0.js.map

View file

@ -0,0 +1 @@
{"version":3,"file":"static/js/3673-legacy.ce9f93c0.js","mappings":"0MAISA,IAAA,EAA+BC,MAAM,W,SACvCA,MAAM,mC,iEAJX,QAMM,OANDA,OAAK,SAAC,wBAAuB,qBACA,EAAAC,aAC7BC,OAAK,QAAE,EAAAC,iBAFZ,CAG4D,EAAAC,UAAA,WAA1D,QAAmE,MAAnE,IACsD,EAAAC,QAAA,WAAtD,QAA+D,IAA/D,iBACA,QAAqC,4BAAvB,EAAAC,eAAY,WAL5B,E,mCAYF,GACEC,KAAM,aACNC,WAAY,CAACC,KAAAA,EAAA,GACbC,MAAO,CACLN,QAAS,CACPO,KAAMC,QACNC,SAAS,GAGXR,MAAO,CACLM,KAAMC,QACNC,SAAS,GAGXC,KAAM,CACJH,KAAMI,OACNC,UAAU,GAGZC,aAAc,CACZN,KAAMC,QACNC,SAAS,IAIbK,KAzBa,WA0BX,MAAO,CACLC,UAAW,KACXC,cAAc,EAEjB,EAEDC,SAAU,CACRpB,UADQ,WAEN,OAAQqB,KAAKL,cAAgBK,KAAKR,KAAKS,MAASD,KAAKR,KAAKS,MAAQ,IACnE,EAEDpB,eALQ,WAMN,OAAOmB,KAAKrB,YAAcqB,KAAKjB,MAAQ,CAAC,WAAciB,KAAKrB,WAAa,CAAC,CAC1E,EAEDK,aATQ,WAUN,IAAMQ,GAAG,UAAQQ,KAAKR,MAGtB,OAFIQ,KAAKrB,kBACAa,EAAKS,MACPT,CACR,EAEDH,KAhBQ,WAiBN,IAAIa,EAAcF,KAAKG,OAAOd,MAAQ,GACtC,OAAOa,EAAWE,OAAO,GAAGC,cAAgBH,EAAWI,MAAM,EAC9D,I,UCzDL,MAAMC,GAA2B,OAAgB,EAAQ,CAAC,CAAC,SAASC,GAAQ,CAAC,YAAY,qBAEzF,O","sources":["webpack://platypush/./src/components/panels/Entities/EntityIcon.vue","webpack://platypush/./src/components/panels/Entities/EntityIcon.vue?8abc"],"sourcesContent":["<template>\n <div class=\"entity-icon-container\"\n :class=\"{'with-color-fill': !!colorFill}\"\n :style=\"colorFillStyle\">\n <img src=\"@/assets/img/spinner.gif\" class=\"loading\" v-if=\"loading\">\n <i class=\"fas fa-circle-exclamation error\" v-else-if=\"error\" />\n <Icon v-bind=\"computedIcon\" v-else />\n </div>\n</template>\n\n<script>\nimport Icon from \"@/components/elements/Icon\";\n\nexport default {\n name: \"EntityIcon\",\n components: {Icon},\n props: {\n loading: {\n type: Boolean,\n default: false,\n },\n\n error: {\n type: Boolean,\n default: false,\n },\n\n icon: {\n type: Object,\n required: true,\n },\n\n hasColorFill: {\n type: Boolean,\n default: false,\n },\n },\n\n data() {\n return {\n component: null,\n modalVisible: false,\n }\n },\n\n computed: {\n colorFill() {\n return (this.hasColorFill && this.icon.color) ? this.icon.color : null\n },\n\n colorFillStyle() {\n return this.colorFill && !this.error ? {'background': this.colorFill} : {}\n },\n\n computedIcon() {\n const icon = {...this.icon}\n if (this.colorFill)\n delete icon.color\n return icon\n },\n\n type() {\n let entityType = (this.entity.type || '')\n return entityType.charAt(0).toUpperCase() + entityType.slice(1)\n },\n },\n}\n</script>\n\n<style lang=\"scss\" scoped>\n@import \"vars\";\n\n.entity-icon-container {\n width: 1.625em;\n height: 1.5em;\n display: inline-flex;\n margin-top: 0.25em;\n margin-left: 0.25em;\n position: relative;\n text-align: center;\n justify-content: center;\n align-items: center;\n\n &.with-color-fill {\n border-radius: 1em;\n }\n\n .loading {\n position: absolute;\n bottom: 0;\n transform: translate(0%, -50%);\n width: 1em;\n height: 1em;\n }\n\n .error {\n color: $error-fg;\n }\n}\n</style>\n","import { render } from \"./EntityIcon.vue?vue&type=template&id=e4043550&scoped=true\"\nimport script from \"./EntityIcon.vue?vue&type=script&lang=js\"\nexport * from \"./EntityIcon.vue?vue&type=script&lang=js\"\n\nimport \"./EntityIcon.vue?vue&type=style&index=0&id=e4043550&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-e4043550\"]])\n\nexport default __exports__"],"names":["src","class","colorFill","style","colorFillStyle","loading","error","computedIcon","name","components","Icon","props","type","Boolean","default","icon","Object","required","hasColorFill","data","component","modalVisible","computed","this","color","entityType","entity","charAt","toUpperCase","slice","__exports__","render"],"sourceRoot":""}

View file

@ -0,0 +1,2 @@
"use strict";(self["webpackChunkplatypush"]=self["webpackChunkplatypush"]||[]).push([[3673],{3673:function(o,l,e){e.r(l),e.d(l,{default:function(){return h}});var t=e(6252),r=e(3577),n=e(3540);const i={key:0,src:n,class:"loading"},c={key:1,class:"fas fa-circle-exclamation error"};function s(o,l,e,n,s,a){const u=(0,t.up)("Icon");return(0,t.wg)(),(0,t.iD)("div",{class:(0,r.C_)(["entity-icon-container",{"with-color-fill":!!a.colorFill}]),style:(0,r.j5)(a.colorFillStyle)},[e.loading?((0,t.wg)(),(0,t.iD)("img",i)):e.error?((0,t.wg)(),(0,t.iD)("i",c)):((0,t.wg)(),(0,t.j4)(u,(0,r.vs)((0,t.dG)({key:2},a.computedIcon)),null,16))],6)}var a=e(1478),u={name:"EntityIcon",components:{Icon:a.Z},props:{loading:{type:Boolean,default:!1},error:{type:Boolean,default:!1},icon:{type:Object,required:!0},hasColorFill:{type:Boolean,default:!1}},data(){return{component:null,modalVisible:!1}},computed:{colorFill(){return this.hasColorFill&&this.icon.color?this.icon.color:null},colorFillStyle(){return this.colorFill&&!this.error?{background:this.colorFill}:{}},computedIcon(){const o={...this.icon};return this.colorFill&&delete o.color,o},type(){let o=this.entity.type||"";return o.charAt(0).toUpperCase()+o.slice(1)}}},p=e(3744);const d=(0,p.Z)(u,[["render",s],["__scopeId","data-v-e4043550"]]);var h=d},3540:function(o,l,e){o.exports=e.p+"static/img/spinner.c0bee445.gif"}}]);
//# sourceMappingURL=3673.54ea2f3c.js.map

View file

@ -0,0 +1 @@
{"version":3,"file":"static/js/3673.54ea2f3c.js","mappings":"gNAISA,IAAA,EAA+BC,MAAM,W,SACvCA,MAAM,mC,mEAJX,QAMM,OANDA,OAAK,SAAC,wBAAuB,qBACA,EAAAC,aAC7BC,OAAK,QAAE,EAAAC,iBAFZ,CAG4D,EAAAC,UAAA,WAA1D,QAAmE,MAAnE,IACsD,EAAAC,QAAA,WAAtD,QAA+D,IAA/D,iBACA,QAAqC,4BAAvB,EAAAC,eAAY,WAL5B,E,eAYF,GACEC,KAAM,aACNC,WAAY,CAACC,KAAI,KACjBC,MAAO,CACLN,QAAS,CACPO,KAAMC,QACNC,SAAS,GAGXR,MAAO,CACLM,KAAMC,QACNC,SAAS,GAGXC,KAAM,CACJH,KAAMI,OACNC,UAAU,GAGZC,aAAc,CACZN,KAAMC,QACNC,SAAS,IAIbK,OACE,MAAO,CACLC,UAAW,KACXC,cAAc,EAEjB,EAEDC,SAAU,CACRpB,YACE,OAAQqB,KAAKL,cAAgBK,KAAKR,KAAKS,MAASD,KAAKR,KAAKS,MAAQ,IACnE,EAEDpB,iBACE,OAAOmB,KAAKrB,YAAcqB,KAAKjB,MAAQ,CAAC,WAAciB,KAAKrB,WAAa,CAAC,CAC1E,EAEDK,eACE,MAAMQ,EAAO,IAAIQ,KAAKR,MAGtB,OAFIQ,KAAKrB,kBACAa,EAAKS,MACPT,CACR,EAEDH,OACE,IAAIa,EAAcF,KAAKG,OAAOd,MAAQ,GACtC,OAAOa,EAAWE,OAAO,GAAGC,cAAgBH,EAAWI,MAAM,EAC9D,I,UCzDL,MAAMC,GAA2B,OAAgB,EAAQ,CAAC,CAAC,SAASC,GAAQ,CAAC,YAAY,qBAEzF,O","sources":["webpack://platypush/./src/components/panels/Entities/EntityIcon.vue","webpack://platypush/./src/components/panels/Entities/EntityIcon.vue?8abc"],"sourcesContent":["<template>\n <div class=\"entity-icon-container\"\n :class=\"{'with-color-fill': !!colorFill}\"\n :style=\"colorFillStyle\">\n <img src=\"@/assets/img/spinner.gif\" class=\"loading\" v-if=\"loading\">\n <i class=\"fas fa-circle-exclamation error\" v-else-if=\"error\" />\n <Icon v-bind=\"computedIcon\" v-else />\n </div>\n</template>\n\n<script>\nimport Icon from \"@/components/elements/Icon\";\n\nexport default {\n name: \"EntityIcon\",\n components: {Icon},\n props: {\n loading: {\n type: Boolean,\n default: false,\n },\n\n error: {\n type: Boolean,\n default: false,\n },\n\n icon: {\n type: Object,\n required: true,\n },\n\n hasColorFill: {\n type: Boolean,\n default: false,\n },\n },\n\n data() {\n return {\n component: null,\n modalVisible: false,\n }\n },\n\n computed: {\n colorFill() {\n return (this.hasColorFill && this.icon.color) ? this.icon.color : null\n },\n\n colorFillStyle() {\n return this.colorFill && !this.error ? {'background': this.colorFill} : {}\n },\n\n computedIcon() {\n const icon = {...this.icon}\n if (this.colorFill)\n delete icon.color\n return icon\n },\n\n type() {\n let entityType = (this.entity.type || '')\n return entityType.charAt(0).toUpperCase() + entityType.slice(1)\n },\n },\n}\n</script>\n\n<style lang=\"scss\" scoped>\n@import \"vars\";\n\n.entity-icon-container {\n width: 1.625em;\n height: 1.5em;\n display: inline-flex;\n margin-top: 0.25em;\n margin-left: 0.25em;\n position: relative;\n text-align: center;\n justify-content: center;\n align-items: center;\n\n &.with-color-fill {\n border-radius: 1em;\n }\n\n .loading {\n position: absolute;\n bottom: 0;\n transform: translate(0%, -50%);\n width: 1em;\n height: 1em;\n }\n\n .error {\n color: $error-fg;\n }\n}\n</style>\n","import { render } from \"./EntityIcon.vue?vue&type=template&id=e4043550&scoped=true\"\nimport script from \"./EntityIcon.vue?vue&type=script&lang=js\"\nexport * from \"./EntityIcon.vue?vue&type=script&lang=js\"\n\nimport \"./EntityIcon.vue?vue&type=style&index=0&id=e4043550&lang=scss&scoped=true\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-e4043550\"]])\n\nexport default __exports__"],"names":["src","class","colorFill","style","colorFillStyle","loading","error","computedIcon","name","components","Icon","props","type","Boolean","default","icon","Object","required","hasColorFill","data","component","modalVisible","computed","this","color","entityType","entity","charAt","toUpperCase","slice","__exports__","render"],"sourceRoot":""}

View file

@ -0,0 +1,2 @@
"use strict";(self["webpackChunkplatypush"]=self["webpackChunkplatypush"]||[]).push([[4024,3673],{6:function(e,t,n){n.d(t,{Z:function(){return f}});var o=n(6252),i=n(3577),l=n(9963),a=function(e){return(0,o.dD)("data-v-a6396ae8"),e=e(),(0,o.Cn)(),e},r=["checked"],c=a((function(){return(0,o._)("div",{class:"switch"},[(0,o._)("div",{class:"dot"})],-1)})),u={class:"label"};function s(e,t,n,a,s,d){return(0,o.wg)(),(0,o.iD)("div",{class:(0,i.C_)(["power-switch",{disabled:n.disabled}]),onClick:t[0]||(t[0]=(0,l.iM)((function(){return d.onInput&&d.onInput.apply(d,arguments)}),["stop"]))},[(0,o._)("input",{type:"checkbox",checked:n.value},null,8,r),(0,o._)("label",null,[c,(0,o._)("span",u,[(0,o.WI)(e.$slots,"default",{},void 0,!0)])])],2)}var d={name:"ToggleSwitch",emits:["input"],props:{value:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1}},methods:{onInput:function(e){if(this.disabled)return!1;this.$emit("input",e)}}},p=n(3744);const v=(0,p.Z)(d,[["render",s],["__scopeId","data-v-a6396ae8"]]);var f=v},3673:function(e,t,n){n.r(t),n.d(t,{default:function(){return f}});var o=n(6252),i=n(3577),l=n(3540),a={key:0,src:l,class:"loading"},r={key:1,class:"fas fa-circle-exclamation error"};function c(e,t,n,l,c,u){var s=(0,o.up)("Icon");return(0,o.wg)(),(0,o.iD)("div",{class:(0,i.C_)(["entity-icon-container",{"with-color-fill":!!u.colorFill}]),style:(0,i.j5)(u.colorFillStyle)},[n.loading?((0,o.wg)(),(0,o.iD)("img",a)):n.error?((0,o.wg)(),(0,o.iD)("i",r)):((0,o.wg)(),(0,o.j4)(s,(0,i.vs)((0,o.dG)({key:2},u.computedIcon)),null,16))],6)}var u=n(4648),s=(n(7042),n(1478)),d={name:"EntityIcon",components:{Icon:s.Z},props:{loading:{type:Boolean,default:!1},error:{type:Boolean,default:!1},icon:{type:Object,required:!0},hasColorFill:{type:Boolean,default:!1}},data:function(){return{component:null,modalVisible:!1}},computed:{colorFill:function(){return this.hasColorFill&&this.icon.color?this.icon.color:null},colorFillStyle:function(){return this.colorFill&&!this.error?{background:this.colorFill}:{}},computedIcon:function(){var e=(0,u.Z)({},this.icon);return this.colorFill&&delete e.color,e},type:function(){var e=this.entity.type||"";return e.charAt(0).toUpperCase()+e.slice(1)}}},p=n(3744);const v=(0,p.Z)(d,[["render",c],["__scopeId","data-v-e4043550"]]);var f=v},4024:function(e,t,n){n.r(t),n.d(t,{default:function(){return _}});n(8309);var o=n(6252),i=n(3577),l=n(9963),a={class:"entity switch-container"},r={class:"head"},c={class:"col-1 icon"},u={class:"col-9 label"},s=["textContent"],d={class:"col-2 switch pull-right"};function p(e,t,n,p,v,f){var h,g=(0,o.up)("EntityIcon"),m=(0,o.up)("ToggleSwitch");return(0,o.wg)(),(0,o.iD)("div",a,[(0,o._)("div",r,[(0,o._)("div",c,[(0,o.Wm)(g,{icon:(null===(h=e.value.meta)||void 0===h?void 0:h.icon)||{},loading:e.loading,error:e.error},null,8,["icon","loading","error"])]),(0,o._)("div",u,[(0,o._)("div",{class:"name",textContent:(0,i.zw)(e.value.name)},null,8,s)]),(0,o._)("div",d,[(0,o.Wm)(m,{value:!e.value.is_write_only&&e.value.state,disabled:e.loading||e.value.is_read_only,onInput:f.toggle,onClick:t[0]||(t[0]=(0,l.iM)((function(){}),["stop"]))},null,8,["value","disabled","onInput"])])])])}var v=n(8534),f=(n(5666),n(6)),h=n(3673),g=n(7909),m={name:"Switch",components:{ToggleSwitch:f.Z,EntityIcon:h["default"]},mixins:[g["default"]],methods:{toggle:function(e){var t=this;return(0,v.Z)(regeneratorRuntime.mark((function n(){var o;return regeneratorRuntime.wrap((function(n){while(1)switch(n.prev=n.next){case 0:return e.stopPropagation(),t.$emit("loading",!0),n.prev=2,n.next=5,t.request("entities.execute",{id:t.value.id,action:"toggle"});case 5:t.value.is_write_only&&(o=t,o.value.state=!0,setTimeout((function(){return o.value.state=!1}),250));case 6:return n.prev=6,t.$emit("loading",!1),n.finish(6);case 9:case"end":return n.stop()}}),n,null,[[2,,6,9]])})))()}}},y=n(3744);const w=(0,y.Z)(m,[["render",p],["__scopeId","data-v-6a1106f2"]]);var _=w},3540:function(e,t,n){e.exports=n.p+"static/img/spinner.c0bee445.gif"}}]);
//# sourceMappingURL=4024-legacy.28ca562a.js.map

File diff suppressed because one or more lines are too long

View file

@ -0,0 +1,2 @@
"use strict";(self["webpackChunkplatypush"]=self["webpackChunkplatypush"]||[]).push([[4024,3673],{6:function(t,e,l){l.d(e,{Z:function(){return v}});var o=l(6252),n=l(3577),i=l(9963);const a=t=>((0,o.dD)("data-v-a6396ae8"),t=t(),(0,o.Cn)(),t),s=["checked"],c=a((()=>(0,o._)("div",{class:"switch"},[(0,o._)("div",{class:"dot"})],-1))),r={class:"label"};function u(t,e,l,a,u,d){return(0,o.wg)(),(0,o.iD)("div",{class:(0,n.C_)(["power-switch",{disabled:l.disabled}]),onClick:e[0]||(e[0]=(0,i.iM)(((...t)=>d.onInput&&d.onInput(...t)),["stop"]))},[(0,o._)("input",{type:"checkbox",checked:l.value},null,8,s),(0,o._)("label",null,[c,(0,o._)("span",r,[(0,o.WI)(t.$slots,"default",{},void 0,!0)])])],2)}var d={name:"ToggleSwitch",emits:["input"],props:{value:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1}},methods:{onInput(t){if(this.disabled)return!1;this.$emit("input",t)}}},p=l(3744);const h=(0,p.Z)(d,[["render",u],["__scopeId","data-v-a6396ae8"]]);var v=h},3673:function(t,e,l){l.r(e),l.d(e,{default:function(){return h}});var o=l(6252),n=l(3577),i=l(3540);const a={key:0,src:i,class:"loading"},s={key:1,class:"fas fa-circle-exclamation error"};function c(t,e,l,i,c,r){const u=(0,o.up)("Icon");return(0,o.wg)(),(0,o.iD)("div",{class:(0,n.C_)(["entity-icon-container",{"with-color-fill":!!r.colorFill}]),style:(0,n.j5)(r.colorFillStyle)},[l.loading?((0,o.wg)(),(0,o.iD)("img",a)):l.error?((0,o.wg)(),(0,o.iD)("i",s)):((0,o.wg)(),(0,o.j4)(u,(0,n.vs)((0,o.dG)({key:2},r.computedIcon)),null,16))],6)}var r=l(1478),u={name:"EntityIcon",components:{Icon:r.Z},props:{loading:{type:Boolean,default:!1},error:{type:Boolean,default:!1},icon:{type:Object,required:!0},hasColorFill:{type:Boolean,default:!1}},data(){return{component:null,modalVisible:!1}},computed:{colorFill(){return this.hasColorFill&&this.icon.color?this.icon.color:null},colorFillStyle(){return this.colorFill&&!this.error?{background:this.colorFill}:{}},computedIcon(){const t={...this.icon};return this.colorFill&&delete t.color,t},type(){let t=this.entity.type||"";return t.charAt(0).toUpperCase()+t.slice(1)}}},d=l(3744);const p=(0,d.Z)(u,[["render",c],["__scopeId","data-v-e4043550"]]);var h=p},4024:function(t,e,l){l.r(e),l.d(e,{default:function(){return _}});var o=l(6252),n=l(3577),i=l(9963);const a={class:"entity switch-container"},s={class:"head"},c={class:"col-1 icon"},r={class:"col-9 label"},u=["textContent"],d={class:"col-2 switch pull-right"};function p(t,e,l,p,h,v){const g=(0,o.up)("EntityIcon"),f=(0,o.up)("ToggleSwitch");return(0,o.wg)(),(0,o.iD)("div",a,[(0,o._)("div",s,[(0,o._)("div",c,[(0,o.Wm)(g,{icon:t.value.meta?.icon||{},loading:t.loading,error:t.error},null,8,["icon","loading","error"])]),(0,o._)("div",r,[(0,o._)("div",{class:"name",textContent:(0,n.zw)(t.value.name)},null,8,u)]),(0,o._)("div",d,[(0,o.Wm)(f,{value:!t.value.is_write_only&&t.value.state,disabled:t.loading||t.value.is_read_only,onInput:v.toggle,onClick:e[0]||(e[0]=(0,i.iM)((()=>{}),["stop"]))},null,8,["value","disabled","onInput"])])])])}var h=l(6),v=l(3673),g=l(7909),f={name:"Switch",components:{ToggleSwitch:h.Z,EntityIcon:v["default"]},mixins:[g["default"]],methods:{async toggle(t){t.stopPropagation(),this.$emit("loading",!0);try{if(await this.request("entities.execute",{id:this.value.id,action:"toggle"}),this.value.is_write_only){const t=this;t.value.state=!0,setTimeout((()=>t.value.state=!1),250)}}finally{this.$emit("loading",!1)}}}},y=l(3744);const m=(0,y.Z)(f,[["render",p],["__scopeId","data-v-6a1106f2"]]);var _=m},3540:function(t,e,l){t.exports=l.p+"static/img/spinner.c0bee445.gif"}}]);
//# sourceMappingURL=4024.0022b296.js.map

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View file

@ -1,2 +0,0 @@
"use strict";(self["webpackChunkplatypush"]=self["webpackChunkplatypush"]||[]).push([[518,3499],{6:function(e,n,t){t.d(n,{Z:function(){return f}});var o=t(6252),i=t(3577),l=t(9963),a=function(e){return(0,o.dD)("data-v-a6396ae8"),e=e(),(0,o.Cn)(),e},r=["checked"],c=a((function(){return(0,o._)("div",{class:"switch"},[(0,o._)("div",{class:"dot"})],-1)})),u={class:"label"};function s(e,n,t,a,s,d){return(0,o.wg)(),(0,o.iD)("div",{class:(0,i.C_)(["power-switch",{disabled:t.disabled}]),onClick:n[0]||(n[0]=(0,l.iM)((function(){return d.onInput&&d.onInput.apply(d,arguments)}),["stop"]))},[(0,o._)("input",{type:"checkbox",checked:t.value},null,8,r),(0,o._)("label",null,[c,(0,o._)("span",u,[(0,o.WI)(e.$slots,"default",{},void 0,!0)])])],2)}var d={name:"ToggleSwitch",emits:["input"],props:{value:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1}},methods:{onInput:function(e){if(this.disabled)return!1;this.$emit("input",e)}}},p=t(3744);const v=(0,p.Z)(d,[["render",s],["__scopeId","data-v-a6396ae8"]]);var f=v},3499:function(e,n,t){t.r(n),t.d(n,{default:function(){return f}});var o=t(6252),i=t(3577),l=t(3540),a={key:0,src:l,class:"loading"},r={key:1,class:"fas fa-circle-exclamation error"};function c(e,n,t,l,c,u){var s=(0,o.up)("Icon");return(0,o.wg)(),(0,o.iD)("div",{class:(0,i.C_)(["entity-icon-container",{"with-color-fill":!!u.colorFill}]),style:(0,i.j5)(u.colorFillStyle)},[t.loading?((0,o.wg)(),(0,o.iD)("img",a)):t.error?((0,o.wg)(),(0,o.iD)("i",r)):((0,o.wg)(),(0,o.j4)(s,(0,i.vs)((0,o.dG)({key:2},u.computedIcon)),null,16))],6)}var u=t(4648),s=(t(7042),t(1478)),d={name:"EntityIcon",components:{Icon:s.Z},props:{loading:{type:Boolean,default:!1},error:{type:Boolean,default:!1},icon:{type:Object,required:!0},hasColorFill:{type:Boolean,default:!1}},data:function(){return{component:null,modalVisible:!1}},computed:{colorFill:function(){return this.hasColorFill&&this.icon.color?this.icon.color:null},colorFillStyle:function(){return this.colorFill?{background:this.colorFill}:{}},computedIcon:function(){var e=(0,u.Z)({},this.icon);return this.colorFill&&delete e.color,e},type:function(){var e=this.entity.type||"";return e.charAt(0).toUpperCase()+e.slice(1)}}},p=t(3744);const v=(0,p.Z)(d,[["render",c],["__scopeId","data-v-6f83c443"]]);var f=v},518:function(e,n,t){t.r(n),t.d(n,{default:function(){return _}});t(8309);var o=t(6252),i=t(3577),l=t(9963),a={class:"entity switch-container"},r={class:"head"},c={class:"col-1 icon"},u={class:"col-9 label"},s=["textContent"],d={class:"col-2 switch pull-right"};function p(e,n,t,p,v,f){var h,g=(0,o.up)("EntityIcon"),m=(0,o.up)("ToggleSwitch");return(0,o.wg)(),(0,o.iD)("div",a,[(0,o._)("div",r,[(0,o._)("div",c,[(0,o.Wm)(g,{icon:(null===(h=e.value.meta)||void 0===h?void 0:h.icon)||{},loading:e.loading,error:e.error},null,8,["icon","loading","error"])]),(0,o._)("div",u,[(0,o._)("div",{class:"name",textContent:(0,i.zw)(e.value.name)},null,8,s)]),(0,o._)("div",d,[(0,o.Wm)(m,{value:e.value.state,onInput:f.toggle,onClick:n[0]||(n[0]=(0,l.iM)((function(){}),["stop"])),disabled:e.loading||e.value.is_read_only},null,8,["value","onInput","disabled"])])])])}var v=t(8534),f=(t(5666),t(6)),h=t(3499),g=t(7909),m={name:"Switch",components:{ToggleSwitch:f.Z,EntityIcon:h["default"]},mixins:[g["default"]],methods:{toggle:function(e){var n=this;return(0,v.Z)(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return e.stopPropagation(),n.$emit("loading",!0),t.prev=2,t.next=5,n.request("entities.execute",{id:n.value.id,action:"toggle"});case 5:return t.prev=5,n.$emit("loading",!1),t.finish(5);case 8:case"end":return t.stop()}}),t,null,[[2,,5,8]])})))()}}},y=t(3744);const w=(0,y.Z)(m,[["render",p],["__scopeId","data-v-7feeaa4b"]]);var _=w},3540:function(e,n,t){e.exports=t.p+"static/img/spinner.c0bee445.gif"}}]);
//# sourceMappingURL=518-legacy.e665a841.js.map

File diff suppressed because one or more lines are too long

View file

@ -1,2 +0,0 @@
"use strict";(self["webpackChunkplatypush"]=self["webpackChunkplatypush"]||[]).push([[518,3499],{6:function(t,e,o){o.d(e,{Z:function(){return v}});var l=o(6252),n=o(3577),i=o(9963);const a=t=>((0,l.dD)("data-v-a6396ae8"),t=t(),(0,l.Cn)(),t),c=["checked"],s=a((()=>(0,l._)("div",{class:"switch"},[(0,l._)("div",{class:"dot"})],-1))),r={class:"label"};function d(t,e,o,a,d,u){return(0,l.wg)(),(0,l.iD)("div",{class:(0,n.C_)(["power-switch",{disabled:o.disabled}]),onClick:e[0]||(e[0]=(0,i.iM)(((...t)=>u.onInput&&u.onInput(...t)),["stop"]))},[(0,l._)("input",{type:"checkbox",checked:o.value},null,8,c),(0,l._)("label",null,[s,(0,l._)("span",r,[(0,l.WI)(t.$slots,"default",{},void 0,!0)])])],2)}var u={name:"ToggleSwitch",emits:["input"],props:{value:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1}},methods:{onInput(t){if(this.disabled)return!1;this.$emit("input",t)}}},p=o(3744);const h=(0,p.Z)(u,[["render",d],["__scopeId","data-v-a6396ae8"]]);var v=h},3499:function(t,e,o){o.r(e),o.d(e,{default:function(){return h}});var l=o(6252),n=o(3577),i=o(3540);const a={key:0,src:i,class:"loading"},c={key:1,class:"fas fa-circle-exclamation error"};function s(t,e,o,i,s,r){const d=(0,l.up)("Icon");return(0,l.wg)(),(0,l.iD)("div",{class:(0,n.C_)(["entity-icon-container",{"with-color-fill":!!r.colorFill}]),style:(0,n.j5)(r.colorFillStyle)},[o.loading?((0,l.wg)(),(0,l.iD)("img",a)):o.error?((0,l.wg)(),(0,l.iD)("i",c)):((0,l.wg)(),(0,l.j4)(d,(0,n.vs)((0,l.dG)({key:2},r.computedIcon)),null,16))],6)}var r=o(1478),d={name:"EntityIcon",components:{Icon:r.Z},props:{loading:{type:Boolean,default:!1},error:{type:Boolean,default:!1},icon:{type:Object,required:!0},hasColorFill:{type:Boolean,default:!1}},data(){return{component:null,modalVisible:!1}},computed:{colorFill(){return this.hasColorFill&&this.icon.color?this.icon.color:null},colorFillStyle(){return this.colorFill?{background:this.colorFill}:{}},computedIcon(){const t={...this.icon};return this.colorFill&&delete t.color,t},type(){let t=this.entity.type||"";return t.charAt(0).toUpperCase()+t.slice(1)}}},u=o(3744);const p=(0,u.Z)(d,[["render",s],["__scopeId","data-v-6f83c443"]]);var h=p},518:function(t,e,o){o.r(e),o.d(e,{default:function(){return w}});var l=o(6252),n=o(3577),i=o(9963);const a={class:"entity switch-container"},c={class:"head"},s={class:"col-1 icon"},r={class:"col-9 label"},d=["textContent"],u={class:"col-2 switch pull-right"};function p(t,e,o,p,h,v){const g=(0,l.up)("EntityIcon"),f=(0,l.up)("ToggleSwitch");return(0,l.wg)(),(0,l.iD)("div",a,[(0,l._)("div",c,[(0,l._)("div",s,[(0,l.Wm)(g,{icon:t.value.meta?.icon||{},loading:t.loading,error:t.error},null,8,["icon","loading","error"])]),(0,l._)("div",r,[(0,l._)("div",{class:"name",textContent:(0,n.zw)(t.value.name)},null,8,d)]),(0,l._)("div",u,[(0,l.Wm)(f,{value:t.value.state,onInput:v.toggle,onClick:e[0]||(e[0]=(0,i.iM)((()=>{}),["stop"])),disabled:t.loading||t.value.is_read_only},null,8,["value","onInput","disabled"])])])])}var h=o(6),v=o(3499),g=o(7909),f={name:"Switch",components:{ToggleSwitch:h.Z,EntityIcon:v["default"]},mixins:[g["default"]],methods:{async toggle(t){t.stopPropagation(),this.$emit("loading",!0);try{await this.request("entities.execute",{id:this.value.id,action:"toggle"})}finally{this.$emit("loading",!1)}}}},y=o(3744);const m=(0,y.Z)(f,[["render",p],["__scopeId","data-v-7feeaa4b"]]);var w=m},3540:function(t,e,o){t.exports=o.p+"static/img/spinner.c0bee445.gif"}}]);
//# sourceMappingURL=518.89a856bf.js.map

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View file

@ -1,2 +1,2 @@
"use strict";(self["webpackChunkplatypush"]=self["webpackChunkplatypush"]||[]).push([[6027],{8586:function(n,e,u){u.r(e),u.d(e,{default:function(){return v}});var a=u(6252);function r(n,e,u,r,t,p){var s=(0,a.up)("Zwave");return(0,a.wg)(),(0,a.j4)(s,{"plugin-name":"zwave"})}var t=u(4658),p={components:{Zwave:t.Z}},s=u(3744);const c=(0,s.Z)(p,[["render",r]]);var v=c}}]); "use strict";(self["webpackChunkplatypush"]=self["webpackChunkplatypush"]||[]).push([[6027],{8586:function(n,e,u){u.r(e),u.d(e,{default:function(){return v}});var a=u(6252);function r(n,e,u,r,t,p){var s=(0,a.up)("Zwave");return(0,a.wg)(),(0,a.j4)(s,{"plugin-name":"zwave"})}var t=u(1485),p={components:{Zwave:t.Z}},s=u(3744);const c=(0,s.Z)(p,[["render",r]]);var v=c}}]);
//# sourceMappingURL=6027-legacy.1e7fc2ce.js.map //# sourceMappingURL=6027-legacy.86d7dac2.js.map

View file

@ -1 +1 @@
{"version":3,"file":"static/js/6027-legacy.1e7fc2ce.js","mappings":"+OACE,QAA6B,GAAtB,cAAY,S,eAMrB,GACEA,WAAY,CAACC,MAAAA,EAAAC,I,UCHf,MAAMC,GAA2B,OAAgB,EAAQ,CAAC,CAAC,SAASC,KAEpE,O","sources":["webpack://platypush/./src/components/panels/Zwave/Index.vue","webpack://platypush/./src/components/panels/Zwave/Index.vue?b798"],"sourcesContent":["<template>\n <Zwave plugin-name=\"zwave\" />\n</template>\n\n<script>\nimport Zwave from \"@/components/panels/Zwave/Zwave\";\n\nexport default {\n components: {Zwave},\n}\n</script>\n","import { render } from \"./Index.vue?vue&type=template&id=4b554bd5\"\nimport script from \"./Index.vue?vue&type=script&lang=js\"\nexport * from \"./Index.vue?vue&type=script&lang=js\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__"],"names":["components","Zwave","Z","__exports__","render"],"sourceRoot":""} {"version":3,"file":"static/js/6027-legacy.86d7dac2.js","mappings":"+OACE,QAA6B,GAAtB,cAAY,S,eAMrB,GACEA,WAAY,CAACC,MAAAA,EAAAC,I,UCHf,MAAMC,GAA2B,OAAgB,EAAQ,CAAC,CAAC,SAASC,KAEpE,O","sources":["webpack://platypush/./src/components/panels/Zwave/Index.vue","webpack://platypush/./src/components/panels/Zwave/Index.vue?b798"],"sourcesContent":["<template>\n <Zwave plugin-name=\"zwave\" />\n</template>\n\n<script>\nimport Zwave from \"@/components/panels/Zwave/Zwave\";\n\nexport default {\n components: {Zwave},\n}\n</script>\n","import { render } from \"./Index.vue?vue&type=template&id=4b554bd5\"\nimport script from \"./Index.vue?vue&type=script&lang=js\"\nexport * from \"./Index.vue?vue&type=script&lang=js\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__"],"names":["components","Zwave","Z","__exports__","render"],"sourceRoot":""}

View file

@ -1,2 +1,2 @@
"use strict";(self["webpackChunkplatypush"]=self["webpackChunkplatypush"]||[]).push([[6027],{6027:function(n,e,u){u.r(e),u.d(e,{default:function(){return o}});var t=u(6252);function a(n,e,u,a,r,p){const s=(0,t.up)("Zwave");return(0,t.wg)(),(0,t.j4)(s,{"plugin-name":"zwave"})}var r=u(5810),p={components:{Zwave:r.Z}},s=u(3744);const c=(0,s.Z)(p,[["render",a]]);var o=c}}]); "use strict";(self["webpackChunkplatypush"]=self["webpackChunkplatypush"]||[]).push([[6027],{6027:function(n,e,u){u.r(e),u.d(e,{default:function(){return o}});var t=u(6252);function a(n,e,u,a,r,p){const s=(0,t.up)("Zwave");return(0,t.wg)(),(0,t.j4)(s,{"plugin-name":"zwave"})}var r=u(906),p={components:{Zwave:r.Z}},s=u(3744);const c=(0,s.Z)(p,[["render",a]]);var o=c}}]);
//# sourceMappingURL=6027.54f532a7.js.map //# sourceMappingURL=6027.e3b113ee.js.map

View file

@ -1 +1 @@
{"version":3,"file":"static/js/6027.54f532a7.js","mappings":"iPACE,QAA6B,GAAtB,cAAY,S,eAMrB,GACEA,WAAY,CAACC,MAAK,M,UCHpB,MAAMC,GAA2B,OAAgB,EAAQ,CAAC,CAAC,SAASC,KAEpE,O","sources":["webpack://platypush/./src/components/panels/Zwave/Index.vue","webpack://platypush/./src/components/panels/Zwave/Index.vue?b798"],"sourcesContent":["<template>\n <Zwave plugin-name=\"zwave\" />\n</template>\n\n<script>\nimport Zwave from \"@/components/panels/Zwave/Zwave\";\n\nexport default {\n components: {Zwave},\n}\n</script>\n","import { render } from \"./Index.vue?vue&type=template&id=4b554bd5\"\nimport script from \"./Index.vue?vue&type=script&lang=js\"\nexport * from \"./Index.vue?vue&type=script&lang=js\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__"],"names":["components","Zwave","__exports__","render"],"sourceRoot":""} {"version":3,"file":"static/js/6027.e3b113ee.js","mappings":"iPACE,QAA6B,GAAtB,cAAY,S,cAMrB,GACEA,WAAY,CAACC,MAAK,M,UCHpB,MAAMC,GAA2B,OAAgB,EAAQ,CAAC,CAAC,SAASC,KAEpE,O","sources":["webpack://platypush/./src/components/panels/Zwave/Index.vue","webpack://platypush/./src/components/panels/Zwave/Index.vue?b798"],"sourcesContent":["<template>\n <Zwave plugin-name=\"zwave\" />\n</template>\n\n<script>\nimport Zwave from \"@/components/panels/Zwave/Zwave\";\n\nexport default {\n components: {Zwave},\n}\n</script>\n","import { render } from \"./Index.vue?vue&type=template&id=4b554bd5\"\nimport script from \"./Index.vue?vue&type=script&lang=js\"\nexport * from \"./Index.vue?vue&type=script&lang=js\"\n\nimport exportComponent from \"/home/blacklight/git_tree/platypush/platypush/backend/http/webapp/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__"],"names":["components","Zwave","__exports__","render"],"sourceRoot":""}

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

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