forked from platypush/platypush
Updated dist files
This commit is contained in:
parent
b7cf1a42de
commit
24c6b7b377
191 changed files with 155 additions and 155 deletions
|
@ -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.c1e7a8fa.js"></script><link href="/static/css/chunk-vendors.0fcd36f0.css" rel="stylesheet"><link href="/static/css/app.11a00465.css" rel="stylesheet"><script defer="defer" src="/static/js/chunk-vendors-legacy.79dede0c.js" nomodule></script><script defer="defer" src="/static/js/app-legacy.c9e66e8c.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.2a820719.js"></script><link href="/static/css/chunk-vendors.0fcd36f0.css" rel="stylesheet"><link href="/static/css/app.11a00465.css" rel="stylesheet"><script defer="defer" src="/static/js/chunk-vendors-legacy.79dede0c.js" nomodule></script><script defer="defer" src="/static/js/app-legacy.5094b577.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>
|
1
platypush/backend/http/webapp/dist/static/css/1196.8b298e8a.css
vendored
Normal file
1
platypush/backend/http/webapp/dist/static/css/1196.8b298e8a.css
vendored
Normal file
File diff suppressed because one or more lines are too long
1
platypush/backend/http/webapp/dist/static/css/1213.d69b5909.css
vendored
Normal file
1
platypush/backend/http/webapp/dist/static/css/1213.d69b5909.css
vendored
Normal file
File diff suppressed because one or more lines are too long
1
platypush/backend/http/webapp/dist/static/css/1300.62e4e58d.css
vendored
Normal file
1
platypush/backend/http/webapp/dist/static/css/1300.62e4e58d.css
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
platypush/backend/http/webapp/dist/static/css/2806.241e3af5.css
vendored
Normal file
1
platypush/backend/http/webapp/dist/static/css/2806.241e3af5.css
vendored
Normal file
File diff suppressed because one or more lines are too long
1
platypush/backend/http/webapp/dist/static/css/3303.15ab065d.css
vendored
Normal file
1
platypush/backend/http/webapp/dist/static/css/3303.15ab065d.css
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
1
platypush/backend/http/webapp/dist/static/css/5225.f9bdac04.css
vendored
Normal file
1
platypush/backend/http/webapp/dist/static/css/5225.f9bdac04.css
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
platypush/backend/http/webapp/dist/static/css/5498.8d741160.css
vendored
Normal file
1
platypush/backend/http/webapp/dist/static/css/5498.8d741160.css
vendored
Normal file
File diff suppressed because one or more lines are too long
1
platypush/backend/http/webapp/dist/static/css/55.809127a3.css
vendored
Normal file
1
platypush/backend/http/webapp/dist/static/css/55.809127a3.css
vendored
Normal file
File diff suppressed because one or more lines are too long
1
platypush/backend/http/webapp/dist/static/css/5924.35cc6a6e.css
vendored
Normal file
1
platypush/backend/http/webapp/dist/static/css/5924.35cc6a6e.css
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
1
platypush/backend/http/webapp/dist/static/css/6164.92995203.css
vendored
Normal file
1
platypush/backend/http/webapp/dist/static/css/6164.92995203.css
vendored
Normal file
File diff suppressed because one or more lines are too long
1
platypush/backend/http/webapp/dist/static/css/6358.0fa0593b.css
vendored
Normal file
1
platypush/backend/http/webapp/dist/static/css/6358.0fa0593b.css
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
1
platypush/backend/http/webapp/dist/static/css/65.e10d38b0.css
vendored
Normal file
1
platypush/backend/http/webapp/dist/static/css/65.e10d38b0.css
vendored
Normal file
File diff suppressed because one or more lines are too long
1
platypush/backend/http/webapp/dist/static/css/675.48eefaea.css
vendored
Normal file
1
platypush/backend/http/webapp/dist/static/css/675.48eefaea.css
vendored
Normal file
File diff suppressed because one or more lines are too long
1
platypush/backend/http/webapp/dist/static/css/6815.474fcb2b.css
vendored
Normal file
1
platypush/backend/http/webapp/dist/static/css/6815.474fcb2b.css
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
1
platypush/backend/http/webapp/dist/static/css/7141.89c0dfdc.css
vendored
Normal file
1
platypush/backend/http/webapp/dist/static/css/7141.89c0dfdc.css
vendored
Normal file
File diff suppressed because one or more lines are too long
1
platypush/backend/http/webapp/dist/static/css/7503.fb28df4d.css
vendored
Normal file
1
platypush/backend/http/webapp/dist/static/css/7503.fb28df4d.css
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
platypush/backend/http/webapp/dist/static/css/8135.c0fccf81.css
vendored
Normal file
1
platypush/backend/http/webapp/dist/static/css/8135.c0fccf81.css
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
platypush/backend/http/webapp/dist/static/css/8444.8bfbc26e.css
vendored
Normal file
1
platypush/backend/http/webapp/dist/static/css/8444.8bfbc26e.css
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
1
platypush/backend/http/webapp/dist/static/css/9276.366d174d.css
vendored
Normal file
1
platypush/backend/http/webapp/dist/static/css/9276.366d174d.css
vendored
Normal file
File diff suppressed because one or more lines are too long
1
platypush/backend/http/webapp/dist/static/css/9387.5e413a1b.css
vendored
Normal file
1
platypush/backend/http/webapp/dist/static/css/9387.5e413a1b.css
vendored
Normal file
File diff suppressed because one or more lines are too long
1
platypush/backend/http/webapp/dist/static/css/9450.fbf53360.css
vendored
Normal file
1
platypush/backend/http/webapp/dist/static/css/9450.fbf53360.css
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
platypush/backend/http/webapp/dist/static/css/9767.4237c8fe.css
vendored
Normal file
1
platypush/backend/http/webapp/dist/static/css/9767.4237c8fe.css
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
platypush/backend/http/webapp/dist/static/js/1196-legacy.3e335cf2.js.map
vendored
Normal file
1
platypush/backend/http/webapp/dist/static/js/1196-legacy.3e335cf2.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
1
platypush/backend/http/webapp/dist/static/js/1196.d346a0dc.js.map
vendored
Normal file
1
platypush/backend/http/webapp/dist/static/js/1196.d346a0dc.js.map
vendored
Normal file
File diff suppressed because one or more lines are too long
2
platypush/backend/http/webapp/dist/static/js/1213-legacy.3599e637.js
vendored
Normal file
2
platypush/backend/http/webapp/dist/static/js/1213-legacy.3599e637.js
vendored
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
"use strict";(self["webpackChunkplatypush"]=self["webpackChunkplatypush"]||[]).push([[1213],{1213:function(e,n,t){t.r(n),t.d(n,{default:function(){return R}});t(8309);var l=t(6252),a=t(3577),r=t(9963),u=function(e){return(0,l.dD)("data-v-75d2df00"),e=e(),(0,l.Cn)(),e},i={key:0,class:"entity variable-container"},s={class:"icon"},o={class:"label"},c=["textContent"],d=["textContent"],v={class:"row"},p={class:"row"},f={class:"col-9"},h=["disabled"],_={class:"col-3 pull-right"},m=["disabled"],g=u((function(){return(0,l._)("i",{class:"fas fa-trash"},null,-1)})),b=[g],k=["disabled"],w=u((function(){return(0,l._)("i",{class:"fas fa-check"},null,-1)})),y=[w];function C(e,n,t,u,g,w){var C,x=(0,l.up)("EntityIcon");return null!=e.value.value?((0,l.wg)(),(0,l.iD)("div",i,[(0,l._)("div",{class:(0,a.C_)(["head",{collapsed:e.collapsed}])},[(0,l._)("div",s,[(0,l.Wm)(x,{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)]),(0,l._)("div",{class:"value-and-toggler",onClick:n[1]||(n[1]=(0,r.iM)((function(n){return e.collapsed=!e.collapsed}),["stop"]))},[null!=(null===(C=e.value)||void 0===C?void 0:C.value)?((0,l.wg)(),(0,l.iD)("div",{key:0,class:"value",textContent:(0,a.zw)(e.value.value)},null,8,d)):(0,l.kq)("",!0),(0,l._)("div",{class:"collapse-toggler",onClick:n[0]||(n[0]=(0,r.iM)((function(n){return e.collapsed=!e.collapsed}),["stop"]))},[(0,l._)("i",{class:(0,a.C_)(["fas",{"fa-chevron-down":e.collapsed,"fa-chevron-up":!e.collapsed}])},null,2)])])],2),e.collapsed?(0,l.kq)("",!0):((0,l.wg)(),(0,l.iD)("div",{key:0,class:"body",onClick:n[5]||(n[5]=(0,r.iM)((function(){return e.prevent&&e.prevent.apply(e,arguments)}),["stop"]))},[(0,l._)("div",v,[(0,l._)("form",{onSubmit:n[4]||(n[4]=(0,r.iM)((function(){return w.setValue&&w.setValue.apply(w,arguments)}),["prevent"]))},[(0,l._)("div",p,[(0,l._)("div",f,[(0,l.wy)((0,l._)("input",{type:"text","onUpdate:modelValue":n[2]||(n[2]=function(n){return e.value_=n}),placeholder:"Variable value",disabled:e.loading,ref:"text"},null,8,h),[[r.nr,e.value_]])]),(0,l._)("div",_,[(0,l._)("button",{type:"button",title:"Clear",onClick:n[3]||(n[3]=(0,r.iM)((function(){return w.clearValue&&w.clearValue.apply(w,arguments)}),["stop"])),disabled:e.loading},b,8,m),(0,l._)("button",{type:"submit",title:"Edit",disabled:e.loading},y,8,k)])])],32)])]))])):(0,l.kq)("",!0)}var x=t(8534),V=(t(5666),t(7909)),q=t(343),M={name:"Variable",components:{EntityIcon:q["default"]},mixins:[V["default"]],data:function(){return{collapsed:!0,value_:null}},computed:{isCollapsed:function(){return this.collapsed}},methods:{clearValue:function(){var e=this;return(0,x.Z)(regeneratorRuntime.mark((function n(){return regeneratorRuntime.wrap((function(n){while(1)switch(n.prev=n.next){case 0:return e.$emit("loading",!0),n.prev=1,n.next=4,e.request("variable.unset",{name:e.value.name});case 4:return n.prev=4,e.$emit("loading",!1),n.finish(4);case 7:case"end":return n.stop()}}),n,null,[[1,,4,7]])})))()},setValue:function(){var e=this;return(0,x.Z)(regeneratorRuntime.mark((function n(){var t,l;return regeneratorRuntime.wrap((function(n){while(1)switch(n.prev=n.next){case 0:if(t=e.value_,null!==t&&void 0!==t&&t.length){n.next=5;break}return n.next=4,e.clearValue();case 4:return n.abrupt("return",n.sent);case 5:return e.$emit("loading",!0),n.prev=6,l={},l[e.value.name]=t,n.next=11,e.request("variable.set",l);case 11:return n.prev=11,e.$emit("loading",!1),n.finish(11);case 14:case"end":return n.stop()}}),n,null,[[6,,11,14]])})))()}},mounted:function(){var e=this;this.value_=this.value.value,this.$watch((function(){return e.value.value}),(function(n){e.value_=n}))}},$=t(3744);const D=(0,$.Z)(M,[["render",C],["__scopeId","data-v-75d2df00"]]);var R=D}}]);
|
||||||
|
//# sourceMappingURL=1213-legacy.3599e637.js.map
|
1
platypush/backend/http/webapp/dist/static/js/1213-legacy.3599e637.js.map
vendored
Normal file
1
platypush/backend/http/webapp/dist/static/js/1213-legacy.3599e637.js.map
vendored
Normal file
File diff suppressed because one or more lines are too long
2
platypush/backend/http/webapp/dist/static/js/1213.b929f2a5.js
vendored
Normal file
2
platypush/backend/http/webapp/dist/static/js/1213.b929f2a5.js
vendored
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
"use strict";(self["webpackChunkplatypush"]=self["webpackChunkplatypush"]||[]).push([[1213],{1213: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-75d2df00"),l=l(),(0,t.Cn)(),l),o={key:0,class:"entity variable-container"},u={class:"icon"},d={class:"label"},c=["textContent"],r=["textContent"],v={class:"row"},p={class:"row"},h={class:"col-9"},_=["disabled"],f={class:"col-3 pull-right"},y=["disabled"],b=n((()=>(0,t._)("i",{class:"fas fa-trash"},null,-1))),m=[b],g=["disabled"],k=n((()=>(0,t._)("i",{class:"fas fa-check"},null,-1))),w=[k];function C(l,e,a,n,b,k){const C=(0,t.up)("EntityIcon");return null!=l.value.value?((0,t.wg)(),(0,t.iD)("div",o,[(0,t._)("div",{class:(0,s.C_)(["head",{collapsed:l.collapsed}])},[(0,t._)("div",u,[(0,t.Wm)(C,{entity:l.value,loading:l.loading,error:l.error},null,8,["entity","loading","error"])]),(0,t._)("div",d,[(0,t._)("div",{class:"name",textContent:(0,s.zw)(l.value.name)},null,8,c)]),(0,t._)("div",{class:"value-and-toggler",onClick:e[1]||(e[1]=(0,i.iM)((e=>l.collapsed=!l.collapsed),["stop"]))},[null!=l.value?.value?((0,t.wg)(),(0,t.iD)("div",{key:0,class:"value",textContent:(0,s.zw)(l.value.value)},null,8,r)):(0,t.kq)("",!0),(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)=>k.setValue&&k.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)=>k.clearValue&&k.clearValue(...l)),["stop"])),disabled:l.loading},m,8,y),(0,t._)("button",{type:"submit",title:"Edit",disabled:l.loading},w,8,g)])])],32)])]))])):(0,t.kq)("",!0)}var V=a(7909),x=a(343),q={name:"Variable",components:{EntityIcon:x["default"]},mixins:[V["default"]],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}))}},M=a(3744);const $=(0,M.Z)(q,[["render",C],["__scopeId","data-v-75d2df00"]]);var D=$}}]);
|
||||||
|
//# sourceMappingURL=1213.b929f2a5.js.map
|
1
platypush/backend/http/webapp/dist/static/js/1213.b929f2a5.js.map
vendored
Normal file
1
platypush/backend/http/webapp/dist/static/js/1213.b929f2a5.js.map
vendored
Normal file
File diff suppressed because one or more lines are too long
|
@ -1,2 +0,0 @@
|
||||||
"use strict";(self["webpackChunkplatypush"]=self["webpackChunkplatypush"]||[]).push([[1897],{1897:function(l,e,a){a.r(e),a.d(e,{default:function(){return ll}});a(8309);var n=a(6252),t=a(3577),s=a(9963),c=function(l){return(0,n.dD)("data-v-2344dc1c"),l=l(),(0,n.Cn)(),l},i={class:"col-1 icon"},v={class:"col-8 label"},o=["textContent"],d=["textContent"],u={key:0,class:"body children attributes fade-in"},r={key:0,class:"child"},_=c((function(){return(0,n._)("div",{class:"col-s-12 col-m-6 label"},[(0,n._)("div",{class:"name"},"Total")],-1)})),C={class:"value"},m=["textContent"],f={key:1,class:"child"},k=c((function(){return(0,n._)("div",{class:"col-s-12 col-m-6 label"},[(0,n._)("div",{class:"name"},"Available")],-1)})),h={class:"value"},p=["textContent"],w={key:2,class:"child"},x=c((function(){return(0,n._)("div",{class:"col-s-12 col-m-6 label"},[(0,n._)("div",{class:"name"},"Used")],-1)})),y={class:"value"},z=["textContent"],b={key:3,class:"child"},g=c((function(){return(0,n._)("div",{class:"col-s-12 col-m-6 label"},[(0,n._)("div",{class:"name"},"Free")],-1)})),D={class:"value"},S=["textContent"],q={key:4,class:"child"},I=c((function(){return(0,n._)("div",{class:"col-s-12 col-m-6 label"},[(0,n._)("div",{class:"name"},"Active")],-1)})),M={class:"value"},A=["textContent"],E={key:5,class:"child"},B=c((function(){return(0,n._)("div",{class:"col-s-12 col-m-6 label"},[(0,n._)("div",{class:"name"},"Inactive")],-1)})),F={class:"value"},T=["textContent"],U={key:6,class:"child"},W=c((function(){return(0,n._)("div",{class:"col-s-12 col-m-6 label"},[(0,n._)("div",{class:"name"},"Buffers")],-1)})),Z={class:"value"},j=["textContent"],G={key:7,class:"child"},H=c((function(){return(0,n._)("div",{class:"col-s-12 col-m-6 label"},[(0,n._)("div",{class:"name"},"Cached")],-1)})),J={class:"value"},K=["textContent"],L={key:8,class:"child"},N=c((function(){return(0,n._)("div",{class:"col-s-12 col-m-6 label"},[(0,n._)("div",{class:"name"},"Shared")],-1)})),O={class:"value"},P=["textContent"];function Q(l,e,a,c,Q,R){var V=(0,n.up)("EntityIcon");return(0,n.wg)(),(0,n.iD)("div",{class:(0,t.C_)(["entity memory-stats-container",{expanded:!Q.isCollapsed}])},[(0,n._)("div",{class:"head",onClick:e[1]||(e[1]=(0,s.iM)((function(l){return Q.isCollapsed=!Q.isCollapsed}),["stop"]))},[(0,n._)("div",i,[(0,n.Wm)(V,{entity:l.value,loading:l.loading,error:l.error},null,8,["entity","loading","error"])]),(0,n._)("div",v,[(0,n._)("div",{class:"name",textContent:(0,t.zw)(l.value.name)},null,8,o)]),(0,n._)("div",{class:"col-2 value",textContent:(0,t.zw)(Math.round(100*l.value.percent,1)+"%")},null,8,d),(0,n._)("div",{class:"col-1 collapse-toggler",onClick:e[0]||(e[0]=(0,s.iM)((function(l){return Q.isCollapsed=!Q.isCollapsed}),["stop"]))},[(0,n._)("i",{class:(0,t.C_)(["fas",{"fa-chevron-down":Q.isCollapsed,"fa-chevron-up":!Q.isCollapsed}])},null,2)])]),Q.isCollapsed?(0,n.kq)("",!0):((0,n.wg)(),(0,n.iD)("div",u,[null!=l.value.total?((0,n.wg)(),(0,n.iD)("div",r,[_,(0,n._)("div",C,[(0,n._)("div",{class:"name",textContent:(0,t.zw)(l.convertSize(l.value.total))},null,8,m)])])):(0,n.kq)("",!0),null!=l.value.available?((0,n.wg)(),(0,n.iD)("div",f,[k,(0,n._)("div",h,[(0,n._)("div",{class:"name",textContent:(0,t.zw)(l.convertSize(l.value.available))},null,8,p)])])):(0,n.kq)("",!0),null!=l.value.used?((0,n.wg)(),(0,n.iD)("div",w,[x,(0,n._)("div",y,[(0,n._)("div",{class:"name",textContent:(0,t.zw)(l.convertSize(l.value.used))},null,8,z)])])):(0,n.kq)("",!0),null!=l.value.free?((0,n.wg)(),(0,n.iD)("div",b,[g,(0,n._)("div",D,[(0,n._)("div",{class:"name",textContent:(0,t.zw)(l.convertSize(l.value.free))},null,8,S)])])):(0,n.kq)("",!0),null!=l.value.active?((0,n.wg)(),(0,n.iD)("div",q,[I,(0,n._)("div",M,[(0,n._)("div",{class:"name",textContent:(0,t.zw)(l.convertSize(l.value.active))},null,8,A)])])):(0,n.kq)("",!0),null!=l.value.inactive?((0,n.wg)(),(0,n.iD)("div",E,[B,(0,n._)("div",F,[(0,n._)("div",{class:"name",textContent:(0,t.zw)(l.convertSize(l.value.inactive))},null,8,T)])])):(0,n.kq)("",!0),null!=l.value.buffers?((0,n.wg)(),(0,n.iD)("div",U,[W,(0,n._)("div",Z,[(0,n._)("div",{class:"name",textContent:(0,t.zw)(l.convertSize(l.value.buffers))},null,8,j)])])):(0,n.kq)("",!0),null!=l.value.cached?((0,n.wg)(),(0,n.iD)("div",G,[H,(0,n._)("div",J,[(0,n._)("div",{class:"name",textContent:(0,t.zw)(l.convertSize(l.value.cached))},null,8,K)])])):(0,n.kq)("",!0),null!=l.value.shared?((0,n.wg)(),(0,n.iD)("div",L,[N,(0,n._)("div",O,[(0,n._)("div",{class:"name",textContent:(0,t.zw)(l.convertSize(l.value.shared))},null,8,P)])])):(0,n.kq)("",!0)]))],2)}var R=a(7909),V=a(5017),X={name:"MemoryStats",components:{EntityIcon:V["default"]},mixins:[R["default"]],data:function(){return{isCollapsed:!0}}},Y=a(3744);const $=(0,Y.Z)(X,[["render",Q],["__scopeId","data-v-2344dc1c"]]);var ll=$}}]);
|
|
||||||
//# sourceMappingURL=1897-legacy.d7f7dde3.js.map
|
|
File diff suppressed because one or more lines are too long
|
@ -1,2 +0,0 @@
|
||||||
"use strict";(self["webpackChunkplatypush"]=self["webpackChunkplatypush"]||[]).push([[1897],{1897:function(l,e,a){a.r(e),a.d(e,{default:function(){return ll}});var s=a(6252),t=a(3577),n=a(9963);const c=l=>((0,s.dD)("data-v-2344dc1c"),l=l(),(0,s.Cn)(),l),i={class:"col-1 icon"},v={class:"col-8 label"},d=["textContent"],o=["textContent"],u={key:0,class:"body children attributes fade-in"},r={key:0,class:"child"},_=c((()=>(0,s._)("div",{class:"col-s-12 col-m-6 label"},[(0,s._)("div",{class:"name"},"Total")],-1))),C={class:"value"},m=["textContent"],k={key:1,class:"child"},h=c((()=>(0,s._)("div",{class:"col-s-12 col-m-6 label"},[(0,s._)("div",{class:"name"},"Available")],-1))),p={class:"value"},w=["textContent"],x={key:2,class:"child"},f=c((()=>(0,s._)("div",{class:"col-s-12 col-m-6 label"},[(0,s._)("div",{class:"name"},"Used")],-1))),y={class:"value"},z=["textContent"],b={key:3,class:"child"},g=c((()=>(0,s._)("div",{class:"col-s-12 col-m-6 label"},[(0,s._)("div",{class:"name"},"Free")],-1))),D={class:"value"},S=["textContent"],q={key:4,class:"child"},I=c((()=>(0,s._)("div",{class:"col-s-12 col-m-6 label"},[(0,s._)("div",{class:"name"},"Active")],-1))),M={class:"value"},A=["textContent"],E={key:5,class:"child"},B=c((()=>(0,s._)("div",{class:"col-s-12 col-m-6 label"},[(0,s._)("div",{class:"name"},"Inactive")],-1))),F={class:"value"},T=["textContent"],U={key:6,class:"child"},W=c((()=>(0,s._)("div",{class:"col-s-12 col-m-6 label"},[(0,s._)("div",{class:"name"},"Buffers")],-1))),Z={class:"value"},j=["textContent"],G={key:7,class:"child"},H=c((()=>(0,s._)("div",{class:"col-s-12 col-m-6 label"},[(0,s._)("div",{class:"name"},"Cached")],-1))),J={class:"value"},K=["textContent"],L={key:8,class:"child"},N=c((()=>(0,s._)("div",{class:"col-s-12 col-m-6 label"},[(0,s._)("div",{class:"name"},"Shared")],-1))),O={class:"value"},P=["textContent"];function Q(l,e,a,c,Q,R){const V=(0,s.up)("EntityIcon");return(0,s.wg)(),(0,s.iD)("div",{class:(0,t.C_)(["entity memory-stats-container",{expanded:!Q.isCollapsed}])},[(0,s._)("div",{class:"head",onClick:e[1]||(e[1]=(0,n.iM)((l=>Q.isCollapsed=!Q.isCollapsed),["stop"]))},[(0,s._)("div",i,[(0,s.Wm)(V,{entity:l.value,loading:l.loading,error:l.error},null,8,["entity","loading","error"])]),(0,s._)("div",v,[(0,s._)("div",{class:"name",textContent:(0,t.zw)(l.value.name)},null,8,d)]),(0,s._)("div",{class:"col-2 value",textContent:(0,t.zw)(Math.round(100*l.value.percent,1)+"%")},null,8,o),(0,s._)("div",{class:"col-1 collapse-toggler",onClick:e[0]||(e[0]=(0,n.iM)((l=>Q.isCollapsed=!Q.isCollapsed),["stop"]))},[(0,s._)("i",{class:(0,t.C_)(["fas",{"fa-chevron-down":Q.isCollapsed,"fa-chevron-up":!Q.isCollapsed}])},null,2)])]),Q.isCollapsed?(0,s.kq)("",!0):((0,s.wg)(),(0,s.iD)("div",u,[null!=l.value.total?((0,s.wg)(),(0,s.iD)("div",r,[_,(0,s._)("div",C,[(0,s._)("div",{class:"name",textContent:(0,t.zw)(l.convertSize(l.value.total))},null,8,m)])])):(0,s.kq)("",!0),null!=l.value.available?((0,s.wg)(),(0,s.iD)("div",k,[h,(0,s._)("div",p,[(0,s._)("div",{class:"name",textContent:(0,t.zw)(l.convertSize(l.value.available))},null,8,w)])])):(0,s.kq)("",!0),null!=l.value.used?((0,s.wg)(),(0,s.iD)("div",x,[f,(0,s._)("div",y,[(0,s._)("div",{class:"name",textContent:(0,t.zw)(l.convertSize(l.value.used))},null,8,z)])])):(0,s.kq)("",!0),null!=l.value.free?((0,s.wg)(),(0,s.iD)("div",b,[g,(0,s._)("div",D,[(0,s._)("div",{class:"name",textContent:(0,t.zw)(l.convertSize(l.value.free))},null,8,S)])])):(0,s.kq)("",!0),null!=l.value.active?((0,s.wg)(),(0,s.iD)("div",q,[I,(0,s._)("div",M,[(0,s._)("div",{class:"name",textContent:(0,t.zw)(l.convertSize(l.value.active))},null,8,A)])])):(0,s.kq)("",!0),null!=l.value.inactive?((0,s.wg)(),(0,s.iD)("div",E,[B,(0,s._)("div",F,[(0,s._)("div",{class:"name",textContent:(0,t.zw)(l.convertSize(l.value.inactive))},null,8,T)])])):(0,s.kq)("",!0),null!=l.value.buffers?((0,s.wg)(),(0,s.iD)("div",U,[W,(0,s._)("div",Z,[(0,s._)("div",{class:"name",textContent:(0,t.zw)(l.convertSize(l.value.buffers))},null,8,j)])])):(0,s.kq)("",!0),null!=l.value.cached?((0,s.wg)(),(0,s.iD)("div",G,[H,(0,s._)("div",J,[(0,s._)("div",{class:"name",textContent:(0,t.zw)(l.convertSize(l.value.cached))},null,8,K)])])):(0,s.kq)("",!0),null!=l.value.shared?((0,s.wg)(),(0,s.iD)("div",L,[N,(0,s._)("div",O,[(0,s._)("div",{class:"name",textContent:(0,t.zw)(l.convertSize(l.value.shared))},null,8,P)])])):(0,s.kq)("",!0)]))],2)}var R=a(7909),V=a(5017),X={name:"MemoryStats",components:{EntityIcon:V["default"]},mixins:[R["default"]],data(){return{isCollapsed:!0}}},Y=a(3744);const $=(0,Y.Z)(X,[["render",Q],["__scopeId","data-v-2344dc1c"]]);var ll=$}}]);
|
|
||||||
//# sourceMappingURL=1897.9b3e3df1.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
|
@ -1,2 +0,0 @@
|
||||||
"use strict";(self["webpackChunkplatypush"]=self["webpackChunkplatypush"]||[]).push([[2306],{2306:function(e,t,l){l.r(t),l.d(t,{default:function(){return x}});l(8309),l(1539),l(3948);var n=l(6252),a=l(3577),u=l(9963),i={class:"entity switch-container"},s={class:"col-1 icon"},o={class:"col-s-8 col-m-9 label"},r=["textContent"],c={class:"col-s-3 col-m-2 buttons pull-right"},v=["textContent"],d={class:"row"},p={class:"input"},f=["disabled"],h={key:0,value:"",selected:""},g=["value","selected","textContent"];function w(e,t,l,w,y,k){var m,_=(0,n.up)("EntityIcon");return(0,n.wg)(),(0,n.iD)("div",i,[(0,n._)("div",{class:(0,a.C_)(["head",{collapsed:e.collapsed}])},[(0,n._)("div",s,[(0,n.Wm)(_,{entity:e.value,loading:e.loading,error:e.error},null,8,["entity","loading","error"])]),(0,n._)("div",o,[(0,n._)("div",{class:"name",textContent:(0,a.zw)(e.value.name)},null,8,r)]),(0,n._)("div",c,[null!=(null===(m=e.value)||void 0===m?void 0:m.value)?((0,n.wg)(),(0,n.iD)("span",{key:0,class:"value",textContent:(0,a.zw)(e.value.values[e.value.value]||e.value.value)},null,8,v)):(0,n.kq)("",!0),k.hasValues?((0,n.wg)(),(0,n.iD)("button",{key:1,onClick:t[0]||(t[0]=(0,u.iM)((function(t){return e.collapsed=!e.collapsed}),["stop"]))},[(0,n._)("i",{class:(0,a.C_)(["fas",{"fa-angle-up":!e.collapsed,"fa-angle-down":e.collapsed}])},null,2)])):(0,n.kq)("",!0)])],2),e.collapsed?(0,n.kq)("",!0):((0,n.wg)(),(0,n.iD)("div",{key:0,class:"body",onClick:t[2]||(t[2]=(0,u.iM)((function(){return k.prevent&&k.prevent.apply(k,arguments)}),["stop"]))},[(0,n._)("div",d,[(0,n._)("div",p,[(0,n._)("select",{onInput:t[1]||(t[1]=function(){return k.setValue&&k.setValue.apply(k,arguments)}),ref:"values",disabled:e.loading},[e.value.is_write_only?((0,n.wg)(),(0,n.iD)("option",h,"--")):(0,n.kq)("",!0),((0,n.wg)(!0),(0,n.iD)(n.HY,null,(0,n.Ko)(k.displayValues,(function(t,l){return(0,n.wg)(),(0,n.iD)("option",{value:l,selected:l==e.value.value,key:l,textContent:(0,a.zw)(t)},null,8,g)})),128))],40,f)])])]))])}var y=l(8534),k=(l(5666),l(2479),l(7909)),m=l(5017),_={name:"EnumSwitch",components:{EntityIcon:m["default"]},mixins:[k["default"]],computed:{hasValues:function(){var e;return!!Object.values((null===this||void 0===this||null===(e=this.value)||void 0===e?void 0:e.values)||{}).length},displayValues:function(){var e,t;return(null===(e=this.value)||void 0===e?void 0:e.values)instanceof Array?this.value.values.reduce((function(e,t){return e[t]=t,e}),{}):(null===(t=this.value)||void 0===t?void 0:t.values)||{}}},methods:{prevent:function(e){return e.stopPropagation(),!1},setValue:function(e){var t=this;return(0,y.Z)(regeneratorRuntime.mark((function l(){var n,a;return regeneratorRuntime.wrap((function(l){while(1)switch(l.prev=l.next){case 0:if(null!==(n=e.target.value)&&void 0!==n&&n.length){l.next=2;break}return l.abrupt("return");case 2:return t.$emit("loading",!0),t.value.is_write_only&&(a=t,setTimeout((function(){a.$refs.values.value=""}),1e3)),l.prev=4,l.next=7,t.request("entities.execute",{id:t.value.id,action:"set",value:e.target.value});case 7:return l.prev=7,t.$emit("loading",!1),l.finish(7);case 10:case"end":return l.stop()}}),l,null,[[4,,7,10]])})))()}}},b=l(3744);const C=(0,b.Z)(_,[["render",w],["__scopeId","data-v-1bc82e80"]]);var x=C}}]);
|
|
||||||
//# sourceMappingURL=2306-legacy.ac52efe1.js.map
|
|
File diff suppressed because one or more lines are too long
|
@ -1,2 +0,0 @@
|
||||||
"use strict";(self["webpackChunkplatypush"]=self["webpackChunkplatypush"]||[]).push([[2306],{2306: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:"col-1 icon"},o={class:"col-s-8 col-m-9 label"},c=["textContent"],v={class:"col-s-3 col-m-2 buttons pull-right"},d=["textContent"],r={class:"row"},p={class:"input"},h=["disabled"],g={key:0,value:"",selected:""},y=["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",g,"--")):(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,y)))),128))],40,h)])])]))])}var f=t(7909),_=t(5017),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-1bc82e80"]]);var b=C}}]);
|
|
||||||
//# sourceMappingURL=2306.6e2c77fc.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 +0,0 @@
|
||||||
"use strict";(self["webpackChunkplatypush"]=self["webpackChunkplatypush"]||[]).push([[2745],{2745:function(n,t,e){e.r(t),e.d(t,{default:function(){return C}});e(8309);var a=e(6252),l=e(3577),c={class:"entity cpu-container"},o={class:"head"},u={class:"col-1 icon"},r={class:"col-9 label"},i=["textContent"],s=["textContent"];function d(n,t,e,d,v,p){var f=(0,a.up)("EntityIcon");return(0,a.wg)(),(0,a.iD)("div",c,[(0,a._)("div",o,[(0,a._)("div",u,[(0,a.Wm)(f,{entity:n.value,loading:n.loading,error:n.error},null,8,["entity","loading","error"])]),(0,a._)("div",r,[(0,a._)("div",{class:"name",textContent:(0,l.zw)(n.value.name)},null,8,i)]),(0,a._)("div",{class:"col-2 value",textContent:(0,l.zw)(Math.round(100*n.value.percent,1)+"%")},null,8,s)])])}var v=e(7909),p=e(5017),f={name:"Cpu",components:{EntityIcon:p["default"]},mixins:[v["default"]]},h=e(3744);const y=(0,h.Z)(f,[["render",d],["__scopeId","data-v-3ba7dce2"]]);var C=y}}]);
|
|
||||||
//# sourceMappingURL=2745-legacy.0ca790d1.js.map
|
|
|
@ -1 +0,0 @@
|
||||||
{"version":3,"file":"static/js/2745-legacy.0ca790d1.js","mappings":"kMACOA,MAAM,wB,GACJA,MAAM,Q,GACJA,MAAM,c,GAONA,MAAM,e,2GATf,QAeM,MAfN,EAeM,EAdJ,OAaM,MAbN,EAaM,EAZJ,OAKM,MALN,EAKM,EAJJ,QAGmB,GAFhBC,OAAQ,EAAAC,MACRC,QAAS,EAAAA,QACTC,MAAO,EAAAA,OAHV,wCAMF,OAEM,MAFN,EAEM,EADJ,OAAwC,OAAnCJ,MAAM,O,aAAO,QAAmB,EAAN,MAACK,OAAhC,aAGF,OAA6E,OAAxEL,MAAM,c,aAAc,QAAiD,KAApCM,MAAmB,IAAb,EAAAJ,MAAMK,QAAO,SAAzD,a,yBASN,GACEF,KAAM,MACNG,WAAY,CAACC,WAAAA,EAAA,YACbC,OAAQ,CAACC,EAAA,a,UCnBX,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\n :entity=\"value\"\n :loading=\"loading\"\n :error=\"error\" />\n </div>\n\n <div class=\"col-9 label\">\n <div class=\"name\" v-text=\"value.name\" />\n </div>\n\n <div class=\"col-2 value\" v-text=\"Math.round(value.percent * 100, 1) + '%'\" />\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\n.cpu-container {\n .head {\n .value {\n text-align: right;\n font-weight: bold;\n }\n }\n}\n</style>\n","import { render } from \"./Cpu.vue?vue&type=template&id=3ba7dce2&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=3ba7dce2&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-3ba7dce2\"]])\n\nexport default __exports__"],"names":["class","entity","value","loading","error","name","round","percent","components","EntityIcon","mixins","EntityMixin","__exports__","render"],"sourceRoot":""}
|
|
|
@ -1,2 +0,0 @@
|
||||||
"use strict";(self["webpackChunkplatypush"]=self["webpackChunkplatypush"]||[]).push([[2745],{2745: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"},o={class:"head"},s={class:"col-1 icon"},u={class:"col-9 label"},i=["textContent"],r=["textContent"];function d(n,t,e,d,v,p){const f=(0,a.up)("EntityIcon");return(0,a.wg)(),(0,a.iD)("div",c,[(0,a._)("div",o,[(0,a._)("div",s,[(0,a.Wm)(f,{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",{class:"col-2 value",textContent:(0,l.zw)(Math.round(100*n.value.percent,1)+"%")},null,8,r)])])}var v=e(7909),p=e(5017),f={name:"Cpu",components:{EntityIcon:p["default"]},mixins:[v["default"]]},h=e(3744);const y=(0,h.Z)(f,[["render",d],["__scopeId","data-v-3ba7dce2"]]);var C=y}}]);
|
|
||||||
//# sourceMappingURL=2745.45a2d6bd.js.map
|
|
|
@ -1 +0,0 @@
|
||||||
{"version":3,"file":"static/js/2745.45a2d6bd.js","mappings":"gMACOA,MAAM,wB,GACJA,MAAM,Q,GACJA,MAAM,c,GAONA,MAAM,e,6GATf,QAeM,MAfN,EAeM,EAdJ,OAaM,MAbN,EAaM,EAZJ,OAKM,MALN,EAKM,EAJJ,QAGmB,GAFhBC,OAAQ,EAAAC,MACRC,QAAS,EAAAA,QACTC,MAAO,EAAAA,OAHV,wCAMF,OAEM,MAFN,EAEM,EADJ,OAAwC,OAAnCJ,MAAM,O,aAAO,QAAmB,EAAN,MAACK,OAAhC,aAGF,OAA6E,OAAxEL,MAAM,c,aAAc,QAAiD,KAApCM,MAAmB,IAAb,EAAAJ,MAAMK,QAAO,SAAzD,a,yBASN,GACEF,KAAM,MACNG,WAAY,CAACC,WAAU,cACvBC,OAAQ,CAACC,EAAA,a,UCnBX,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\n :entity=\"value\"\n :loading=\"loading\"\n :error=\"error\" />\n </div>\n\n <div class=\"col-9 label\">\n <div class=\"name\" v-text=\"value.name\" />\n </div>\n\n <div class=\"col-2 value\" v-text=\"Math.round(value.percent * 100, 1) + '%'\" />\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\n.cpu-container {\n .head {\n .value {\n text-align: right;\n font-weight: bold;\n }\n }\n}\n</style>\n","import { render } from \"./Cpu.vue?vue&type=template&id=3ba7dce2&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=3ba7dce2&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-3ba7dce2\"]])\n\nexport default __exports__"],"names":["class","entity","value","loading","error","name","round","percent","components","EntityIcon","mixins","EntityMixin","__exports__","render"],"sourceRoot":""}
|
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
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([[3303],{6:function(e,t,n){n.d(t,{Z:function(){return h}});var a=n(6252),i=n(3577),l=n(9963),o=function(e){return(0,a.dD)("data-v-a6396ae8"),e=e(),(0,a.Cn)(),e},u=["checked"],s=o((function(){return(0,a._)("div",{class:"switch"},[(0,a._)("div",{class:"dot"})],-1)})),r={class:"label"};function c(e,t,n,o,c,d){return(0,a.wg)(),(0,a.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,a._)("input",{type:"checkbox",checked:n.value},null,8,u),(0,a._)("label",null,[s,(0,a._)("span",r,[(0,a.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",c],["__scopeId","data-v-a6396ae8"]]);var h=v},3303:function(e,t,n){n.r(t),n.d(t,{default:function(){return y}});n(8309);var a=n(6252),i=n(3577),l=n(9963),o={class:"entity switch-container"},u={class:"head"},s={class:"col-1 icon"},r={class:"col-9 label"},c=["textContent"],d={class:"col-2 switch pull-right"};function p(e,t,n,p,v,h){var f=(0,a.up)("EntityIcon"),g=(0,a.up)("ToggleSwitch");return(0,a.wg)(),(0,a.iD)("div",o,[(0,a._)("div",u,[(0,a._)("div",s,[(0,a.Wm)(f,{entity:e.value,loading:e.loading,error:e.error},null,8,["entity","loading","error"])]),(0,a._)("div",r,[(0,a._)("div",{class:"name",textContent:(0,i.zw)(e.value.name)},null,8,c)]),(0,a._)("div",d,[(0,a.Wm)(g,{value:!e.value.is_write_only&&e.value.state,disabled:e.loading||e.value.is_read_only,onInput:h.toggle,onClick:t[0]||(t[0]=(0,l.iM)((function(){}),["stop"]))},null,8,["value","disabled","onInput"])])])])}var v=n(8534),h=(n(5666),n(6)),f=n(5017),g=n(7909),_={name:"Switch",components:{ToggleSwitch:h.Z,EntityIcon:f["default"]},mixins:[g["default"]],methods:{toggle:function(e){var t=this;return(0,v.Z)(regeneratorRuntime.mark((function n(){var a;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&&(a=t,a.value.state=!0,setTimeout((function(){return a.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]])})))()}}},w=n(3744);const m=(0,w.Z)(_,[["render",p],["__scopeId","data-v-2aaabd26"]]);var y=m}}]);
|
"use strict";(self["webpackChunkplatypush"]=self["webpackChunkplatypush"]||[]).push([[3303],{6:function(e,t,n){n.d(t,{Z:function(){return h}});var a=n(6252),i=n(3577),l=n(9963),o=function(e){return(0,a.dD)("data-v-a6396ae8"),e=e(),(0,a.Cn)(),e},u=["checked"],s=o((function(){return(0,a._)("div",{class:"switch"},[(0,a._)("div",{class:"dot"})],-1)})),r={class:"label"};function c(e,t,n,o,c,d){return(0,a.wg)(),(0,a.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,a._)("input",{type:"checkbox",checked:n.value},null,8,u),(0,a._)("label",null,[s,(0,a._)("span",r,[(0,a.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",c],["__scopeId","data-v-a6396ae8"]]);var h=v},3303:function(e,t,n){n.r(t),n.d(t,{default:function(){return y}});n(8309);var a=n(6252),i=n(3577),l=n(9963),o={class:"entity switch-container"},u={class:"head"},s={class:"col-1 icon"},r={class:"col-9 label"},c=["textContent"],d={class:"col-2 switch pull-right"};function p(e,t,n,p,v,h){var f=(0,a.up)("EntityIcon"),g=(0,a.up)("ToggleSwitch");return(0,a.wg)(),(0,a.iD)("div",o,[(0,a._)("div",u,[(0,a._)("div",s,[(0,a.Wm)(f,{entity:e.value,loading:e.loading,error:e.error},null,8,["entity","loading","error"])]),(0,a._)("div",r,[(0,a._)("div",{class:"name",textContent:(0,i.zw)(e.value.name)},null,8,c)]),(0,a._)("div",d,[(0,a.Wm)(g,{value:!e.value.is_write_only&&e.value.state,disabled:e.loading||e.value.is_read_only,onInput:h.toggle,onClick:t[0]||(t[0]=(0,l.iM)((function(){}),["stop"]))},null,8,["value","disabled","onInput"])])])])}var v=n(8534),h=(n(5666),n(6)),f=n(343),g=n(7909),_={name:"Switch",components:{ToggleSwitch:h.Z,EntityIcon:f["default"]},mixins:[g["default"]],methods:{toggle:function(e){var t=this;return(0,v.Z)(regeneratorRuntime.mark((function n(){var a;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&&(a=t,a.value.state=!0,setTimeout((function(){return a.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]])})))()}}},w=n(3744);const m=(0,w.Z)(_,[["render",p],["__scopeId","data-v-2aaabd26"]]);var y=m}}]);
|
||||||
//# sourceMappingURL=3303-legacy.33873dc6.js.map
|
//# sourceMappingURL=3303-legacy.9b0f6467.js.map
|
File diff suppressed because one or more lines are too long
|
@ -1,2 +1,2 @@
|
||||||
"use strict";(self["webpackChunkplatypush"]=self["webpackChunkplatypush"]||[]).push([[3303],{6:function(t,e,a){a.d(e,{Z:function(){return h}});var n=a(6252),i=a(3577),l=a(9963);const s=t=>((0,n.dD)("data-v-a6396ae8"),t=t(),(0,n.Cn)(),t),o=["checked"],u=s((()=>(0,n._)("div",{class:"switch"},[(0,n._)("div",{class:"dot"})],-1))),c={class:"label"};function d(t,e,a,s,d,r){return(0,n.wg)(),(0,n.iD)("div",{class:(0,i.C_)(["power-switch",{disabled:a.disabled}]),onClick:e[0]||(e[0]=(0,l.iM)(((...t)=>r.onInput&&r.onInput(...t)),["stop"]))},[(0,n._)("input",{type:"checkbox",checked:a.value},null,8,o),(0,n._)("label",null,[u,(0,n._)("span",c,[(0,n.WI)(t.$slots,"default",{},void 0,!0)])])],2)}var r={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=a(3744);const v=(0,p.Z)(r,[["render",d],["__scopeId","data-v-a6396ae8"]]);var h=v},3303:function(t,e,a){a.r(e),a.d(e,{default:function(){return y}});var n=a(6252),i=a(3577),l=a(9963);const s={class:"entity switch-container"},o={class:"head"},u={class:"col-1 icon"},c={class:"col-9 label"},d=["textContent"],r={class:"col-2 switch pull-right"};function p(t,e,a,p,v,h){const g=(0,n.up)("EntityIcon"),_=(0,n.up)("ToggleSwitch");return(0,n.wg)(),(0,n.iD)("div",s,[(0,n._)("div",o,[(0,n._)("div",u,[(0,n.Wm)(g,{entity:t.value,loading:t.loading,error:t.error},null,8,["entity","loading","error"])]),(0,n._)("div",c,[(0,n._)("div",{class:"name",textContent:(0,i.zw)(t.value.name)},null,8,d)]),(0,n._)("div",r,[(0,n.Wm)(_,{value:!t.value.is_write_only&&t.value.state,disabled:t.loading||t.value.is_read_only,onInput:h.toggle,onClick:e[0]||(e[0]=(0,l.iM)((()=>{}),["stop"]))},null,8,["value","disabled","onInput"])])])])}var v=a(6),h=a(5017),g=a(7909),_={name:"Switch",components:{ToggleSwitch:v.Z,EntityIcon:h["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)}}}},f=a(3744);const w=(0,f.Z)(_,[["render",p],["__scopeId","data-v-2aaabd26"]]);var y=w}}]);
|
"use strict";(self["webpackChunkplatypush"]=self["webpackChunkplatypush"]||[]).push([[3303],{6:function(t,e,a){a.d(e,{Z:function(){return h}});var n=a(6252),i=a(3577),l=a(9963);const s=t=>((0,n.dD)("data-v-a6396ae8"),t=t(),(0,n.Cn)(),t),o=["checked"],u=s((()=>(0,n._)("div",{class:"switch"},[(0,n._)("div",{class:"dot"})],-1))),c={class:"label"};function d(t,e,a,s,d,r){return(0,n.wg)(),(0,n.iD)("div",{class:(0,i.C_)(["power-switch",{disabled:a.disabled}]),onClick:e[0]||(e[0]=(0,l.iM)(((...t)=>r.onInput&&r.onInput(...t)),["stop"]))},[(0,n._)("input",{type:"checkbox",checked:a.value},null,8,o),(0,n._)("label",null,[u,(0,n._)("span",c,[(0,n.WI)(t.$slots,"default",{},void 0,!0)])])],2)}var r={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=a(3744);const v=(0,p.Z)(r,[["render",d],["__scopeId","data-v-a6396ae8"]]);var h=v},3303:function(t,e,a){a.r(e),a.d(e,{default:function(){return y}});var n=a(6252),i=a(3577),l=a(9963);const s={class:"entity switch-container"},o={class:"head"},u={class:"col-1 icon"},c={class:"col-9 label"},d=["textContent"],r={class:"col-2 switch pull-right"};function p(t,e,a,p,v,h){const g=(0,n.up)("EntityIcon"),_=(0,n.up)("ToggleSwitch");return(0,n.wg)(),(0,n.iD)("div",s,[(0,n._)("div",o,[(0,n._)("div",u,[(0,n.Wm)(g,{entity:t.value,loading:t.loading,error:t.error},null,8,["entity","loading","error"])]),(0,n._)("div",c,[(0,n._)("div",{class:"name",textContent:(0,i.zw)(t.value.name)},null,8,d)]),(0,n._)("div",r,[(0,n.Wm)(_,{value:!t.value.is_write_only&&t.value.state,disabled:t.loading||t.value.is_read_only,onInput:h.toggle,onClick:e[0]||(e[0]=(0,l.iM)((()=>{}),["stop"]))},null,8,["value","disabled","onInput"])])])])}var v=a(6),h=a(343),g=a(7909),_={name:"Switch",components:{ToggleSwitch:v.Z,EntityIcon:h["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)}}}},f=a(3744);const w=(0,f.Z)(_,[["render",p],["__scopeId","data-v-2aaabd26"]]);var y=w}}]);
|
||||||
//# sourceMappingURL=3303.dc4d32b5.js.map
|
//# sourceMappingURL=3303.2696651b.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 +0,0 @@
|
||||||
"use strict";(self["webpackChunkplatypush"]=self["webpackChunkplatypush"]||[]).push([[359],{8816:function(e,t,a){a.d(t,{Z:function(){return y}});var l=a(6252),n=a(3577),s=a(9963);const i={class:"slider-wrapper"},u=["textContent"],r=["textContent"],o={class:"slider-container"},d=["min","max","step","disabled","value"],c={class:"track-inner",ref:"track"},p={class:"thumb",ref:"thumb"},v=["textContent"];function h(e,t,a,h,g,m){return(0,l.wg)(),(0,l.iD)("label",i,[a.withRange?((0,l.wg)(),(0,l.iD)("span",{key:0,class:(0,n.C_)(["range-labels",{"with-label":a.withLabel}])},[a.withRange?((0,l.wg)(),(0,l.iD)("span",{key:0,class:"label left",textContent:(0,n.zw)(a.range[0])},null,8,u)):(0,l.kq)("",!0),a.withRange?((0,l.wg)(),(0,l.iD)("span",{key:1,class:"label right",textContent:(0,n.zw)(a.range[1])},null,8,r)):(0,l.kq)("",!0)],2)):(0,l.kq)("",!0),(0,l._)("span",o,[(0,l._)("input",{class:(0,n.C_)(["slider",{"with-label":a.withLabel}]),type:"range",min:a.range[0],max:a.range[1],step:a.step,disabled:a.disabled,value:a.value,ref:"range",onInput:t[0]||(t[0]=(0,s.iM)(((...e)=>m.onUpdate&&m.onUpdate(...e)),["stop"])),onChange:t[1]||(t[1]=(0,s.iM)(((...e)=>m.onUpdate&&m.onUpdate(...e)),["stop"]))},null,42,d),(0,l._)("div",{class:(0,n.C_)(["track",{"with-label":a.withLabel}])},[(0,l._)("div",c,null,512)],2),(0,l._)("div",p,null,512),a.withLabel?((0,l.wg)(),(0,l.iD)("span",{key:0,class:"label",textContent:(0,n.zw)(a.value),ref:"label"},null,8,v)):(0,l.kq)("",!0)])])}var g={name:"Slider",emits:["input","change","mouseup","mousedown","touchstart","touchend","keyup","keydown"],props:{value:{type:Number},disabled:{type:Boolean,default:!1},range:{type:Array,default:()=>[0,100]},step:{type:Number,default:1},withLabel:{type:Boolean,default:!1},withRange:{type:Boolean,default:!1}},methods:{onUpdate(e){this.update(e.target.value),this.$emit(e.type,{...e,target:{...e.target,value:this.$refs.range.value}})},update(e){const t=this.$refs.range.clientWidth,a=(e-this.range[0])/(this.range[1]-this.range[0]),l=a*t,n=this.$refs.thumb;n.style.left=l-n.clientWidth/2+"px",this.$refs.thumb.style.transform=`translate(-${a}%, -50%)`,this.$refs.track.style.width=`${l}px`}},mounted(){null!=this.value&&this.update(this.value),this.$watch((()=>this.value),(e=>this.update(e)))}},m=a(3744);const w=(0,m.Z)(g,[["render",h],["__scopeId","data-v-4b38623f"]]);var y=w},359:function(e,t,a){a.r(t),a.d(t,{default:function(){return V}});var l=a(6252),n=a(3577),s=a(9963);const i={class:"entity dimmer-container"},u={class:"col-1 icon"},r={class:"col-s-7 col-m-8 label"},o=["textContent"],d={class:"col-s-4 col-m-3 buttons pull-right"},c=["textContent"],p={class:"row"},v={key:0,class:"input"},h={class:"col-10"},g={class:"col-2 value"},m=["value"],w={key:1,class:"input"},y={class:"col-12 value"},f=["value"];function b(e,t,a,b,_,k){const C=(0,l.up)("EntityIcon"),x=(0,l.up)("Slider");return(0,l.wg)(),(0,l.iD)("div",i,[(0,l._)("div",{class:(0,n.C_)(["head",{collapsed:e.collapsed}])},[(0,l._)("div",u,[(0,l.Wm)(C,{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,n.zw)(e.value.name)},null,8,o)]),(0,l._)("div",d,[null!=k.parsedValue?((0,l.wg)(),(0,l.iD)("span",{key:0,class:"value-percent",textContent:(0,n.zw)(k.parsedValue)},null,8,c)):(0,l.kq)("",!0),(0,l._)("button",{onClick:t[0]||(t[0]=(0,s.iM)((t=>e.collapsed=!e.collapsed),["stop"]))},[(0,l._)("i",{class:(0,n.C_)(["fas",{"fa-angle-up":!e.collapsed,"fa-angle-down":e.collapsed}])},null,2)])])],2),e.collapsed?(0,l.kq)("",!0):((0,l.wg)(),(0,l.iD)("div",{key:0,class:"body",onClick:t[3]||(t[3]=(0,s.iM)(((...e)=>k.prevent&&k.prevent(...e)),["stop"]))},[(0,l._)("div",p,[null!=e.value?.min&&null!=e.value?.max?((0,l.wg)(),(0,l.iD)("div",v,[(0,l._)("div",h,[(0,l.Wm)(x,{range:[e.value.min,e.value.max],"with-range":"",value:e.value.value,onInput:k.setValue},null,8,["range","value","onInput"])]),(0,l._)("div",g,[(0,l._)("input",{type:"number",value:e.value.value,onChange:t[1]||(t[1]=(...e)=>k.setValue&&k.setValue(...e))},null,40,m)])])):((0,l.wg)(),(0,l.iD)("div",w,[(0,l._)("div",y,[(0,l._)("input",{type:"number",value:e.value.value,onChange:t[2]||(t[2]=(...e)=>k.setValue&&k.setValue(...e))},null,40,f)])]))])]))])}var _=a(8816),k=a(7909),C=a(5017),x={name:"Dimmer",components:{Slider:_.Z,EntityIcon:C["default"]},mixins:[k["default"]],computed:{parsedValue(){if(this.value?.is_write_only||null==this.value?.value)return null;let e=this.value.value;return this.value.unit&&(e=`${e} ${this.value.unit}`),e}},methods:{prevent(e){return e.stopPropagation(),!1},async setValue(e){if(e.target.value?.length){this.$emit("loading",!0);try{await this.request("entities.execute",{id:this.value.id,action:"set",value:+e.target.value})}finally{this.$emit("loading",!1)}}}}},$=a(3744);const D=(0,$.Z)(x,[["render",b],["__scopeId","data-v-231c14b6"]]);var V=D}}]);
|
|
||||||
//# sourceMappingURL=359.a99a1eab.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
2
platypush/backend/http/webapp/dist/static/js/5157-legacy.98025f50.js
vendored
Normal file
2
platypush/backend/http/webapp/dist/static/js/5157-legacy.98025f50.js
vendored
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
"use strict";(self["webpackChunkplatypush"]=self["webpackChunkplatypush"]||[]).push([[5157],{5157:function(e,t,n){n.r(t),n.d(t,{default:function(){return w}});n(8309);var l=n(6252),a=n(3577),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,m,f){var h=(0,l.up)("EntityIcon");return(0,l.wg)(),(0,l.iD)("div",u,[(0,l._)("div",s,[(0,l._)("div",i,[(0,l.Wm)(h,{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!=f.computedValue?((0,l.wg)(),(0,l.iD)("div",r,[(0,l._)("span",{class:"value",textContent:(0,a.zw)(f.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 m=n(7909),f=n(343),h={name:"Sensor",components:{EntityIcon:f["default"]},mixins:[m["default"]],computed:{computedValue:function(){return null!=this.value.value?this.value.value:this.value._value}}},y=n(3744);const k=(0,y.Z)(h,[["render",p],["__scopeId","data-v-3b38610c"]]);var w=k}}]);
|
||||||
|
//# sourceMappingURL=5157-legacy.98025f50.js.map
|
1
platypush/backend/http/webapp/dist/static/js/5157-legacy.98025f50.js.map
vendored
Normal file
1
platypush/backend/http/webapp/dist/static/js/5157-legacy.98025f50.js.map
vendored
Normal file
|
@ -0,0 +1 @@
|
||||||
|
{"version":3,"file":"static/js/5157-legacy.98025f50.js","mappings":"kMACOA,MAAM,2B,GACJA,MAAM,Q,GACJA,MAAM,Q,GAINA,MAAM,S,2BAINA,MAAM,mB,2GAVf,QAiBM,MAjBN,EAiBM,EAhBJ,OAeM,MAfN,EAeM,EAdJ,OAEM,MAFN,EAEM,EADJ,QAAgE,GAAnDC,OAAQ,EAAAC,MAAQC,QAAS,EAAAA,QAAUC,MAAO,EAAAA,OAAvD,wCAGF,OAEM,MAFN,EAEM,EADJ,OAAwC,OAAnCJ,MAAM,O,aAAO,QAAmB,EAAN,MAACK,OAAhC,YAIqB,MAAb,EAAAC,gBAAa,WADvB,QAKM,MALN,EAKM,EAHJ,OAA6C,QAAvCN,MAAM,Q,aAAQ,QAAsB,EAAD,gBAAzC,UAEkB,MAAV,EAAAE,MAAMK,OAAI,WADlB,QAC8B,Q,MADxBP,MAAM,O,aAAO,QAAmB,EAAN,MAACO,OAAjC,+BAHF,kB,wBAcN,GACEF,KAAM,SACNG,WAAY,CAACC,WAAAA,EAAA,YACbC,OAAQ,CAACC,EAAA,YAETC,SAAU,CACRN,cADQ,WAEN,OAAwB,MAApBO,KAAKX,MAAMA,MACNW,KAAKX,MAAMA,MACbW,KAAKX,MAAMY,MACnB,I,UC5BL,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 \"/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-3b38610c\"]])\n\nexport default __exports__"],"names":["class","entity","value","loading","error","name","computedValue","unit","components","EntityIcon","mixins","EntityMixin","computed","this","_value","__exports__","render"],"sourceRoot":""}
|
2
platypush/backend/http/webapp/dist/static/js/5157.e870c394.js
vendored
Normal file
2
platypush/backend/http/webapp/dist/static/js/5157.e870c394.js
vendored
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
"use strict";(self["webpackChunkplatypush"]=self["webpackChunkplatypush"]||[]).push([[5157],{5157: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(7909),h=n(343),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=5157.e870c394.js.map
|
1
platypush/backend/http/webapp/dist/static/js/5157.e870c394.js.map
vendored
Normal file
1
platypush/backend/http/webapp/dist/static/js/5157.e870c394.js.map
vendored
Normal file
|
@ -0,0 +1 @@
|
||||||
|
{"version":3,"file":"static/js/5157.e870c394.js","mappings":"gMACOA,MAAM,2B,GACJA,MAAM,Q,GACJA,MAAM,Q,GAINA,MAAM,S,2BAINA,MAAM,mB,6GAVf,QAiBM,MAjBN,EAiBM,EAhBJ,OAeM,MAfN,EAeM,EAdJ,OAEM,MAFN,EAEM,EADJ,QAAgE,GAAnDC,OAAQ,EAAAC,MAAQC,QAAS,EAAAA,QAAUC,MAAO,EAAAA,OAAvD,wCAGF,OAEM,MAFN,EAEM,EADJ,OAAwC,OAAnCJ,MAAM,O,aAAO,QAAmB,EAAN,MAACK,OAAhC,YAIqB,MAAb,EAAAC,gBAAa,WADvB,QAKM,MALN,EAKM,EAHJ,OAA6C,QAAvCN,MAAM,Q,aAAQ,QAAsB,EAAD,gBAAzC,UAEkB,MAAV,EAAAE,MAAMK,OAAI,WADlB,QAC8B,Q,MADxBP,MAAM,O,aAAO,QAAmB,EAAN,MAACO,OAAjC,+BAHF,kB,wBAcN,GACEF,KAAM,SACNG,WAAY,CAACC,WAAU,cACvBC,OAAQ,CAACC,EAAA,YAETC,SAAU,CACRN,gBACE,OAAwB,MAApBO,KAAKX,MAAMA,MACNW,KAAKX,MAAMA,MACbW,KAAKX,MAAMY,MACnB,I,UC5BL,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 \"/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-3b38610c\"]])\n\nexport default __exports__"],"names":["class","entity","value","loading","error","name","computedValue","unit","components","EntityIcon","mixins","EntityMixin","computed","this","_value","__exports__","render"],"sourceRoot":""}
|
|
@ -1,2 +1,2 @@
|
||||||
"use strict";(self["webpackChunkplatypush"]=self["webpackChunkplatypush"]||[]).push([[5225],{5225:function(e,n,t){t.r(n),t.d(n,{default:function(){return h}});t(8309);var a=t(6252),l=t(3577),i={class:"entity device-container"},c={class:"head"},r={class:"col-1 icon"},o={class:"col-11 label"},s=["textContent"];function u(e,n,t,u,d,v){var p=(0,a.up)("EntityIcon");return(0,a.wg)(),(0,a.iD)("div",i,[(0,a._)("div",c,[(0,a._)("div",r,[(0,a.Wm)(p,{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,l.zw)(e.value.name)},null,8,s)])])])}var d=t(7909),v=t(5017),p={name:"Device",components:{EntityIcon:v["default"]},mixins:[d["default"]]},f=t(3744);const y=(0,f.Z)(p,[["render",u],["__scopeId","data-v-1bfe1542"]]);var h=y}}]);
|
"use strict";(self["webpackChunkplatypush"]=self["webpackChunkplatypush"]||[]).push([[5225],{5225:function(e,n,t){t.r(n),t.d(n,{default:function(){return h}});t(8309);var a=t(6252),l=t(3577),i={class:"entity device-container"},c={class:"head"},r={class:"col-1 icon"},o={class:"col-11 label"},s=["textContent"];function u(e,n,t,u,d,v){var p=(0,a.up)("EntityIcon");return(0,a.wg)(),(0,a.iD)("div",i,[(0,a._)("div",c,[(0,a._)("div",r,[(0,a.Wm)(p,{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,l.zw)(e.value.name)},null,8,s)])])])}var d=t(7909),v=t(343),p={name:"Device",components:{EntityIcon:v["default"]},mixins:[d["default"]]},f=t(3744);const y=(0,f.Z)(p,[["render",u],["__scopeId","data-v-1bfe1542"]]);var h=y}}]);
|
||||||
//# sourceMappingURL=5225-legacy.bab5a186.js.map
|
//# sourceMappingURL=5225-legacy.01034b1d.js.map
|
|
@ -1 +1 @@
|
||||||
{"version":3,"file":"static/js/5225-legacy.bab5a186.js","mappings":"kMACOA,MAAM,2B,GACJA,MAAM,Q,GACJA,MAAM,c,GAONA,MAAM,gB,yFATf,QAaM,MAbN,EAaM,EAZJ,OAWM,MAXN,EAWM,EAVJ,OAKM,MALN,EAKM,EAJJ,QAGmB,GAFhBC,OAAQ,EAAAC,MACRC,QAAS,EAAAA,QACTC,MAAO,EAAAA,OAHV,wCAMF,OAEM,MAFN,EAEM,EADJ,OAAwC,OAAnCJ,MAAM,O,aAAO,QAAmB,EAAN,MAACK,OAAhC,e,yBAUR,GACEA,KAAM,SACNC,WAAY,CAACC,WAAAA,EAAA,YACbC,OAAQ,CAACC,EAAA,a,UCjBX,MAAMC,GAA2B,OAAgB,EAAQ,CAAC,CAAC,SAASC,GAAQ,CAAC,YAAY,qBAEzF,O","sources":["webpack://platypush/./src/components/panels/Entities/Device.vue","webpack://platypush/./src/components/panels/Entities/Device.vue?1785"],"sourcesContent":["<template>\n <div class=\"entity device-container\">\n <div class=\"head\">\n <div class=\"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: 'Device',\n components: {EntityIcon},\n mixins: [EntityMixin],\n}\n</script>\n\n<style lang=\"scss\" scoped>\n@import \"common\";\n</style>\n","import { render } from \"./Device.vue?vue&type=template&id=1bfe1542&scoped=true\"\nimport script from \"./Device.vue?vue&type=script&lang=js\"\nexport * from \"./Device.vue?vue&type=script&lang=js\"\n\nimport \"./Device.vue?vue&type=style&index=0&id=1bfe1542&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-1bfe1542\"]])\n\nexport default __exports__"],"names":["class","entity","value","loading","error","name","components","EntityIcon","mixins","EntityMixin","__exports__","render"],"sourceRoot":""}
|
{"version":3,"file":"static/js/5225-legacy.01034b1d.js","mappings":"kMACOA,MAAM,2B,GACJA,MAAM,Q,GACJA,MAAM,c,GAONA,MAAM,gB,yFATf,QAaM,MAbN,EAaM,EAZJ,OAWM,MAXN,EAWM,EAVJ,OAKM,MALN,EAKM,EAJJ,QAGmB,GAFhBC,OAAQ,EAAAC,MACRC,QAAS,EAAAA,QACTC,MAAO,EAAAA,OAHV,wCAMF,OAEM,MAFN,EAEM,EADJ,OAAwC,OAAnCJ,MAAM,O,aAAO,QAAmB,EAAN,MAACK,OAAhC,e,wBAUR,GACEA,KAAM,SACNC,WAAY,CAACC,WAAAA,EAAA,YACbC,OAAQ,CAACC,EAAA,a,UCjBX,MAAMC,GAA2B,OAAgB,EAAQ,CAAC,CAAC,SAASC,GAAQ,CAAC,YAAY,qBAEzF,O","sources":["webpack://platypush/./src/components/panels/Entities/Device.vue","webpack://platypush/./src/components/panels/Entities/Device.vue?1785"],"sourcesContent":["<template>\n <div class=\"entity device-container\">\n <div class=\"head\">\n <div class=\"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: 'Device',\n components: {EntityIcon},\n mixins: [EntityMixin],\n}\n</script>\n\n<style lang=\"scss\" scoped>\n@import \"common\";\n</style>\n","import { render } from \"./Device.vue?vue&type=template&id=1bfe1542&scoped=true\"\nimport script from \"./Device.vue?vue&type=script&lang=js\"\nexport * from \"./Device.vue?vue&type=script&lang=js\"\n\nimport \"./Device.vue?vue&type=style&index=0&id=1bfe1542&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-1bfe1542\"]])\n\nexport default __exports__"],"names":["class","entity","value","loading","error","name","components","EntityIcon","mixins","EntityMixin","__exports__","render"],"sourceRoot":""}
|
|
@ -1,2 +1,2 @@
|
||||||
"use strict";(self["webpackChunkplatypush"]=self["webpackChunkplatypush"]||[]).push([[5225],{5225:function(n,e,t){t.r(e),t.d(e,{default:function(){return h}});var a=t(6252),l=t(3577);const c={class:"entity device-container"},i={class:"head"},o={class:"col-1 icon"},s={class:"col-11 label"},r=["textContent"];function u(n,e,t,u,d,v){const p=(0,a.up)("EntityIcon");return(0,a.wg)(),(0,a.iD)("div",c,[(0,a._)("div",i,[(0,a._)("div",o,[(0,a.Wm)(p,{entity:n.value,loading:n.loading,error:n.error},null,8,["entity","loading","error"])]),(0,a._)("div",s,[(0,a._)("div",{class:"name",textContent:(0,l.zw)(n.value.name)},null,8,r)])])])}var d=t(7909),v=t(5017),p={name:"Device",components:{EntityIcon:v["default"]},mixins:[d["default"]]},f=t(3744);const y=(0,f.Z)(p,[["render",u],["__scopeId","data-v-1bfe1542"]]);var h=y}}]);
|
"use strict";(self["webpackChunkplatypush"]=self["webpackChunkplatypush"]||[]).push([[5225],{5225:function(n,e,t){t.r(e),t.d(e,{default:function(){return h}});var a=t(6252),l=t(3577);const c={class:"entity device-container"},i={class:"head"},o={class:"col-1 icon"},s={class:"col-11 label"},r=["textContent"];function u(n,e,t,u,d,v){const p=(0,a.up)("EntityIcon");return(0,a.wg)(),(0,a.iD)("div",c,[(0,a._)("div",i,[(0,a._)("div",o,[(0,a.Wm)(p,{entity:n.value,loading:n.loading,error:n.error},null,8,["entity","loading","error"])]),(0,a._)("div",s,[(0,a._)("div",{class:"name",textContent:(0,l.zw)(n.value.name)},null,8,r)])])])}var d=t(7909),v=t(343),p={name:"Device",components:{EntityIcon:v["default"]},mixins:[d["default"]]},f=t(3744);const y=(0,f.Z)(p,[["render",u],["__scopeId","data-v-1bfe1542"]]);var h=y}}]);
|
||||||
//# sourceMappingURL=5225.a5cb58a3.js.map
|
//# sourceMappingURL=5225.3e772a0c.js.map
|
|
@ -1 +1 @@
|
||||||
{"version":3,"file":"static/js/5225.a5cb58a3.js","mappings":"gMACOA,MAAM,2B,GACJA,MAAM,Q,GACJA,MAAM,c,GAONA,MAAM,gB,2FATf,QAaM,MAbN,EAaM,EAZJ,OAWM,MAXN,EAWM,EAVJ,OAKM,MALN,EAKM,EAJJ,QAGmB,GAFhBC,OAAQ,EAAAC,MACRC,QAAS,EAAAA,QACTC,MAAO,EAAAA,OAHV,wCAMF,OAEM,MAFN,EAEM,EADJ,OAAwC,OAAnCJ,MAAM,O,aAAO,QAAmB,EAAN,MAACK,OAAhC,e,yBAUR,GACEA,KAAM,SACNC,WAAY,CAACC,WAAU,cACvBC,OAAQ,CAACC,EAAA,a,UCjBX,MAAMC,GAA2B,OAAgB,EAAQ,CAAC,CAAC,SAASC,GAAQ,CAAC,YAAY,qBAEzF,O","sources":["webpack://platypush/./src/components/panels/Entities/Device.vue","webpack://platypush/./src/components/panels/Entities/Device.vue?1785"],"sourcesContent":["<template>\n <div class=\"entity device-container\">\n <div class=\"head\">\n <div class=\"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: 'Device',\n components: {EntityIcon},\n mixins: [EntityMixin],\n}\n</script>\n\n<style lang=\"scss\" scoped>\n@import \"common\";\n</style>\n","import { render } from \"./Device.vue?vue&type=template&id=1bfe1542&scoped=true\"\nimport script from \"./Device.vue?vue&type=script&lang=js\"\nexport * from \"./Device.vue?vue&type=script&lang=js\"\n\nimport \"./Device.vue?vue&type=style&index=0&id=1bfe1542&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-1bfe1542\"]])\n\nexport default __exports__"],"names":["class","entity","value","loading","error","name","components","EntityIcon","mixins","EntityMixin","__exports__","render"],"sourceRoot":""}
|
{"version":3,"file":"static/js/5225.3e772a0c.js","mappings":"gMACOA,MAAM,2B,GACJA,MAAM,Q,GACJA,MAAM,c,GAONA,MAAM,gB,2FATf,QAaM,MAbN,EAaM,EAZJ,OAWM,MAXN,EAWM,EAVJ,OAKM,MALN,EAKM,EAJJ,QAGmB,GAFhBC,OAAQ,EAAAC,MACRC,QAAS,EAAAA,QACTC,MAAO,EAAAA,OAHV,wCAMF,OAEM,MAFN,EAEM,EADJ,OAAwC,OAAnCJ,MAAM,O,aAAO,QAAmB,EAAN,MAACK,OAAhC,e,wBAUR,GACEA,KAAM,SACNC,WAAY,CAACC,WAAU,cACvBC,OAAQ,CAACC,EAAA,a,UCjBX,MAAMC,GAA2B,OAAgB,EAAQ,CAAC,CAAC,SAASC,GAAQ,CAAC,YAAY,qBAEzF,O","sources":["webpack://platypush/./src/components/panels/Entities/Device.vue","webpack://platypush/./src/components/panels/Entities/Device.vue?1785"],"sourcesContent":["<template>\n <div class=\"entity device-container\">\n <div class=\"head\">\n <div class=\"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: 'Device',\n components: {EntityIcon},\n mixins: [EntityMixin],\n}\n</script>\n\n<style lang=\"scss\" scoped>\n@import \"common\";\n</style>\n","import { render } from \"./Device.vue?vue&type=template&id=1bfe1542&scoped=true\"\nimport script from \"./Device.vue?vue&type=script&lang=js\"\nexport * from \"./Device.vue?vue&type=script&lang=js\"\n\nimport \"./Device.vue?vue&type=style&index=0&id=1bfe1542&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-1bfe1542\"]])\n\nexport default __exports__"],"names":["class","entity","value","loading","error","name","components","EntityIcon","mixins","EntityMixin","__exports__","render"],"sourceRoot":""}
|
|
@ -1,2 +1,2 @@
|
||||||
"use strict";(self["webpackChunkplatypush"]=self["webpackChunkplatypush"]||[]).push([[5498],{6:function(e,n,t){t.d(n,{Z:function(){return h}});var i=t(6252),a=t(3577),r=t(9963),o=function(e){return(0,i.dD)("data-v-a6396ae8"),e=e(),(0,i.Cn)(),e},c=["checked"],u=o((function(){return(0,i._)("div",{class:"switch"},[(0,i._)("div",{class:"dot"})],-1)})),l={class:"label"};function s(e,n,t,o,s,d){return(0,i.wg)(),(0,i.iD)("div",{class:(0,a.C_)(["power-switch",{disabled:t.disabled}]),onClick:n[0]||(n[0]=(0,r.iM)((function(){return d.onInput&&d.onInput.apply(d,arguments)}),["stop"]))},[(0,i._)("input",{type:"checkbox",checked:t.value},null,8,c),(0,i._)("label",null,[u,(0,i._)("span",l,[(0,i.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 h=v},5498:function(e,n,t){t.r(n),t.d(n,{default:function(){return b}});t(8309);var i=t(6252),a=t(3577),r=t(9963),o={class:"entity bluetooth-service-container"},c={class:"head"},u={class:"col-1 icon"},l={class:"col-9 label"},s=["textContent"],d={class:"col-2 connector pull-right"};function p(e,n,t,p,v,h){var f=(0,i.up)("EntityIcon"),g=(0,i.up)("ToggleSwitch");return(0,i.wg)(),(0,i.iD)("div",o,[(0,i._)("div",c,[(0,i._)("div",u,[(0,i.Wm)(f,{entity:e.value,loading:e.loading,error:e.error},null,8,["entity","loading","error"])]),(0,i._)("div",l,[(0,i._)("div",{class:"name",textContent:(0,a.zw)(e.value.name)},null,8,s)]),(0,i._)("div",d,[(0,i.Wm)(g,{value:e.value.connected,disabled:e.loading,onInput:h.connect,onClick:n[0]||(n[0]=(0,r.iM)((function(){}),["stop"]))},null,8,["value","disabled","onInput"])])])])}var v=t(8534),h=(t(5666),t(6)),f=t(5017),g=t(7909),m={name:"BluetoothService",components:{ToggleSwitch:h.Z,EntityIcon:f["default"]},mixins:[g["default"]],methods:{connect:function(e){var n=this;return(0,v.Z)(regeneratorRuntime.mark((function t(){var i;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return e.stopPropagation(),n.$emit("loading",!0),i="bluetooth."+(n.value.connected?"disconnect":"connect"),t.prev=3,t.next=6,n.request(i,{device:n.parent.address,service_uuid:n.uuid});case 6:return t.prev=6,n.$emit("loading",!1),t.finish(6);case 9:case"end":return t.stop()}}),t,null,[[3,,6,9]])})))()},disconnect: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("bluetooth.disconnect",{device:n.parent.address});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]])})))()}}},w=t(3744);const _=(0,w.Z)(m,[["render",p],["__scopeId","data-v-5c801a06"]]);var b=_}}]);
|
"use strict";(self["webpackChunkplatypush"]=self["webpackChunkplatypush"]||[]).push([[5498],{6:function(e,n,t){t.d(n,{Z:function(){return h}});var i=t(6252),a=t(3577),r=t(9963),o=function(e){return(0,i.dD)("data-v-a6396ae8"),e=e(),(0,i.Cn)(),e},c=["checked"],u=o((function(){return(0,i._)("div",{class:"switch"},[(0,i._)("div",{class:"dot"})],-1)})),l={class:"label"};function s(e,n,t,o,s,d){return(0,i.wg)(),(0,i.iD)("div",{class:(0,a.C_)(["power-switch",{disabled:t.disabled}]),onClick:n[0]||(n[0]=(0,r.iM)((function(){return d.onInput&&d.onInput.apply(d,arguments)}),["stop"]))},[(0,i._)("input",{type:"checkbox",checked:t.value},null,8,c),(0,i._)("label",null,[u,(0,i._)("span",l,[(0,i.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 h=v},5498:function(e,n,t){t.r(n),t.d(n,{default:function(){return b}});t(8309);var i=t(6252),a=t(3577),r=t(9963),o={class:"entity bluetooth-service-container"},c={class:"head"},u={class:"col-1 icon"},l={class:"col-9 label"},s=["textContent"],d={class:"col-2 connector pull-right"};function p(e,n,t,p,v,h){var f=(0,i.up)("EntityIcon"),g=(0,i.up)("ToggleSwitch");return(0,i.wg)(),(0,i.iD)("div",o,[(0,i._)("div",c,[(0,i._)("div",u,[(0,i.Wm)(f,{entity:e.value,loading:e.loading,error:e.error},null,8,["entity","loading","error"])]),(0,i._)("div",l,[(0,i._)("div",{class:"name",textContent:(0,a.zw)(e.value.name)},null,8,s)]),(0,i._)("div",d,[(0,i.Wm)(g,{value:e.value.connected,disabled:e.loading,onInput:h.connect,onClick:n[0]||(n[0]=(0,r.iM)((function(){}),["stop"]))},null,8,["value","disabled","onInput"])])])])}var v=t(8534),h=(t(5666),t(6)),f=t(343),g=t(7909),m={name:"BluetoothService",components:{ToggleSwitch:h.Z,EntityIcon:f["default"]},mixins:[g["default"]],methods:{connect:function(e){var n=this;return(0,v.Z)(regeneratorRuntime.mark((function t(){var i;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return e.stopPropagation(),n.$emit("loading",!0),i="bluetooth."+(n.value.connected?"disconnect":"connect"),t.prev=3,t.next=6,n.request(i,{device:n.parent.address,service_uuid:n.uuid});case 6:return t.prev=6,n.$emit("loading",!1),t.finish(6);case 9:case"end":return t.stop()}}),t,null,[[3,,6,9]])})))()},disconnect: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("bluetooth.disconnect",{device:n.parent.address});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]])})))()}}},w=t(3744);const _=(0,w.Z)(m,[["render",p],["__scopeId","data-v-5c801a06"]]);var b=_}}]);
|
||||||
//# sourceMappingURL=5498-legacy.f12c69fd.js.map
|
//# sourceMappingURL=5498-legacy.86c25b18.js.map
|
File diff suppressed because one or more lines are too long
|
@ -1,2 +1,2 @@
|
||||||
"use strict";(self["webpackChunkplatypush"]=self["webpackChunkplatypush"]||[]).push([[5498],{6:function(t,e,n){n.d(e,{Z:function(){return v}});var i=n(6252),a=n(3577),o=n(9963);const s=t=>((0,i.dD)("data-v-a6396ae8"),t=t(),(0,i.Cn)(),t),l=["checked"],c=s((()=>(0,i._)("div",{class:"switch"},[(0,i._)("div",{class:"dot"})],-1))),d={class:"label"};function u(t,e,n,s,u,r){return(0,i.wg)(),(0,i.iD)("div",{class:(0,a.C_)(["power-switch",{disabled:n.disabled}]),onClick:e[0]||(e[0]=(0,o.iM)(((...t)=>r.onInput&&r.onInput(...t)),["stop"]))},[(0,i._)("input",{type:"checkbox",checked:n.value},null,8,l),(0,i._)("label",null,[c,(0,i._)("span",d,[(0,i.WI)(t.$slots,"default",{},void 0,!0)])])],2)}var r={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=n(3744);const h=(0,p.Z)(r,[["render",u],["__scopeId","data-v-a6396ae8"]]);var v=h},5498:function(t,e,n){n.r(e),n.d(e,{default:function(){return _}});var i=n(6252),a=n(3577),o=n(9963);const s={class:"entity bluetooth-service-container"},l={class:"head"},c={class:"col-1 icon"},d={class:"col-9 label"},u=["textContent"],r={class:"col-2 connector pull-right"};function p(t,e,n,p,h,v){const g=(0,i.up)("EntityIcon"),f=(0,i.up)("ToggleSwitch");return(0,i.wg)(),(0,i.iD)("div",s,[(0,i._)("div",l,[(0,i._)("div",c,[(0,i.Wm)(g,{entity:t.value,loading:t.loading,error:t.error},null,8,["entity","loading","error"])]),(0,i._)("div",d,[(0,i._)("div",{class:"name",textContent:(0,a.zw)(t.value.name)},null,8,u)]),(0,i._)("div",r,[(0,i.Wm)(f,{value:t.value.connected,disabled:t.loading,onInput:v.connect,onClick:e[0]||(e[0]=(0,o.iM)((()=>{}),["stop"]))},null,8,["value","disabled","onInput"])])])])}var h=n(6),v=n(5017),g=n(7909),f={name:"BluetoothService",components:{ToggleSwitch:h.Z,EntityIcon:v["default"]},mixins:[g["default"]],methods:{async connect(t){t.stopPropagation(),this.$emit("loading",!0);const e="bluetooth."+(this.value.connected?"disconnect":"connect");try{await this.request(e,{device:this.parent.address,service_uuid:this.uuid})}finally{this.$emit("loading",!1)}},async disconnect(t){t.stopPropagation(),this.$emit("loading",!0);try{await this.request("bluetooth.disconnect",{device:this.parent.address})}finally{this.$emit("loading",!1)}}}},m=n(3744);const y=(0,m.Z)(f,[["render",p],["__scopeId","data-v-5c801a06"]]);var _=y}}]);
|
"use strict";(self["webpackChunkplatypush"]=self["webpackChunkplatypush"]||[]).push([[5498],{6:function(t,e,n){n.d(e,{Z:function(){return v}});var i=n(6252),a=n(3577),o=n(9963);const s=t=>((0,i.dD)("data-v-a6396ae8"),t=t(),(0,i.Cn)(),t),l=["checked"],c=s((()=>(0,i._)("div",{class:"switch"},[(0,i._)("div",{class:"dot"})],-1))),d={class:"label"};function u(t,e,n,s,u,r){return(0,i.wg)(),(0,i.iD)("div",{class:(0,a.C_)(["power-switch",{disabled:n.disabled}]),onClick:e[0]||(e[0]=(0,o.iM)(((...t)=>r.onInput&&r.onInput(...t)),["stop"]))},[(0,i._)("input",{type:"checkbox",checked:n.value},null,8,l),(0,i._)("label",null,[c,(0,i._)("span",d,[(0,i.WI)(t.$slots,"default",{},void 0,!0)])])],2)}var r={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=n(3744);const h=(0,p.Z)(r,[["render",u],["__scopeId","data-v-a6396ae8"]]);var v=h},5498:function(t,e,n){n.r(e),n.d(e,{default:function(){return _}});var i=n(6252),a=n(3577),o=n(9963);const s={class:"entity bluetooth-service-container"},l={class:"head"},c={class:"col-1 icon"},d={class:"col-9 label"},u=["textContent"],r={class:"col-2 connector pull-right"};function p(t,e,n,p,h,v){const g=(0,i.up)("EntityIcon"),f=(0,i.up)("ToggleSwitch");return(0,i.wg)(),(0,i.iD)("div",s,[(0,i._)("div",l,[(0,i._)("div",c,[(0,i.Wm)(g,{entity:t.value,loading:t.loading,error:t.error},null,8,["entity","loading","error"])]),(0,i._)("div",d,[(0,i._)("div",{class:"name",textContent:(0,a.zw)(t.value.name)},null,8,u)]),(0,i._)("div",r,[(0,i.Wm)(f,{value:t.value.connected,disabled:t.loading,onInput:v.connect,onClick:e[0]||(e[0]=(0,o.iM)((()=>{}),["stop"]))},null,8,["value","disabled","onInput"])])])])}var h=n(6),v=n(343),g=n(7909),f={name:"BluetoothService",components:{ToggleSwitch:h.Z,EntityIcon:v["default"]},mixins:[g["default"]],methods:{async connect(t){t.stopPropagation(),this.$emit("loading",!0);const e="bluetooth."+(this.value.connected?"disconnect":"connect");try{await this.request(e,{device:this.parent.address,service_uuid:this.uuid})}finally{this.$emit("loading",!1)}},async disconnect(t){t.stopPropagation(),this.$emit("loading",!0);try{await this.request("bluetooth.disconnect",{device:this.parent.address})}finally{this.$emit("loading",!1)}}}},m=n(3744);const y=(0,m.Z)(f,[["render",p],["__scopeId","data-v-5c801a06"]]);var _=y}}]);
|
||||||
//# sourceMappingURL=5498.12a9b625.js.map
|
//# sourceMappingURL=5498.26a9ea43.js.map
|
File diff suppressed because one or more lines are too long
2
platypush/backend/http/webapp/dist/static/js/55-legacy.c95558f9.js
vendored
Normal file
2
platypush/backend/http/webapp/dist/static/js/55-legacy.c95558f9.js
vendored
Normal file
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