diff --git a/platypush/backend/http/webapp/dist/index.html b/platypush/backend/http/webapp/dist/index.html
index 26ea9a78cc..a04f24c11a 100644
--- a/platypush/backend/http/webapp/dist/index.html
+++ b/platypush/backend/http/webapp/dist/index.html
@@ -1 +1 @@
-
platypush We're sorry but platypush doesn't work properly without JavaScript enabled. Please enable it to continue.
\ No newline at end of file
+platypush We're sorry but platypush doesn't work properly without JavaScript enabled. Please enable it to continue.
\ No newline at end of file
diff --git a/platypush/backend/http/webapp/dist/static/js/1765-legacy.32e70ec3.js b/platypush/backend/http/webapp/dist/static/js/1765-legacy.32e70ec3.js
deleted file mode 100644
index 04cf7a89ee..0000000000
--- a/platypush/backend/http/webapp/dist/static/js/1765-legacy.32e70ec3.js
+++ /dev/null
@@ -1,2 +0,0 @@
-(self["webpackChunkplatypush"]=self["webpackChunkplatypush"]||[]).push([[1765],{4964:function(e,t,n){var i=n(5112),r=i("match");e.exports=function(e){var t=/./;try{"/./"[e](t)}catch(n){try{return t[r]=!1,"/./"[e](t)}catch(i){}}return!1}},3929:function(e,t,n){var i=n(7850),r=TypeError;e.exports=function(e){if(i(e))throw r("The method doesn't accept regular expressions");return e}},7852:function(e,t,n){"use strict";var i=n(2109),r=n(1702),o=n(1236).f,s=n(7466),l=n(1340),a=n(3929),u=n(4488),c=n(4964),d=n(1913),f=r("".endsWith),p=r("".slice),v=Math.min,m=c("endsWith"),h=!d&&!m&&!!function(){var e=o(String.prototype,"endsWith");return e&&!e.writable}();i({target:"String",proto:!0,forced:!h&&!m},{endsWith:function(e){var t=l(u(this));a(e);var n=arguments.length>1?arguments[1]:void 0,i=t.length,r=void 0===n?i:v(s(n),i),o=l(e);return f?f(t,o,r):p(t,r-o.length,r)===o}})},6755:function(e,t,n){"use strict";var i=n(2109),r=n(1702),o=n(1236).f,s=n(7466),l=n(1340),a=n(3929),u=n(4488),c=n(4964),d=n(1913),f=r("".startsWith),p=r("".slice),v=Math.min,m=c("startsWith"),h=!d&&!m&&!!function(){var e=o(String.prototype,"startsWith");return e&&!e.writable}();i({target:"String",proto:!0,forced:!h&&!m},{startsWith:function(e){var t=l(u(this));a(e);var n=s(v(arguments.length>1?arguments[1]:void 0,t.length)),i=l(e);return f?f(t,i,n):p(t,n,n+i.length)===i}})},1765:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return m}});n(8309);var i=n(6252),r=n(3577),o=n(9963),s={key:0,class:"children fade-in"};function l(e,t,n,l,a,u){var c,d,f,p=(0,i.up)("Entity",!0);return(0,i.wg)(),(0,i.iD)("div",{class:(0,r.C_)(["entity-container-wrapper",{"with-children":u.hasChildren,collapsed:u.isCollapsed,hidden:!(null!==(c=e.value)&&void 0!==c&&null!==(d=c.name)&&void 0!==d&&d.length)}])},[(0,i._)("div",{class:(0,r.C_)(["row item entity-container",{"with-children":u.hasChildren,collapsed:u.isCollapsed,blink:a.justUpdated}])},[(0,i._)("div",{class:(0,r.C_)(["adjuster",{"col-12":!u.hasChildren,"col-11":u.hasChildren}])},[((0,i.wg)(),(0,i.j4)((0,i.LL)(a.component),{value:e.value,parent:e.parent,children:u.computedChildren,loading:e.loading,ref:"instance",error:e.error||0==(null===(f=e.value)||void 0===f?void 0:f.reachable),onClick:u.onClick,onInput:t[0]||(t[0]=function(t){return e.$emit("input",t)}),onLoading:t[1]||(t[1]=function(t){return e.$emit("loading",t)})},null,8,["value","parent","children","loading","error","onClick"]))],2),u.hasChildren?((0,i.wg)(),(0,i.iD)("div",{key:0,class:"col-1 collapse-toggler",onClick:t[2]||(t[2]=(0,o.iM)((function(){return u.toggleCollapsed&&u.toggleCollapsed.apply(u,arguments)}),["stop"]))},[(0,i._)("i",{class:(0,r.C_)(["fas",{"fa-chevron-down":u.isCollapsed,"fa-chevron-up":!u.isCollapsed}])},null,2)])):(0,i.kq)("",!0)],2),u.isCollapsed?(0,i.kq)("",!0):((0,i.wg)(),(0,i.iD)("div",s,[((0,i.wg)(!0),(0,i.iD)(i.HY,null,(0,i.Ko)(u.computedChildren,(function(n){return(0,i.wg)(),(0,i.iD)("div",{class:"child",key:n.id},[(0,i.Wm)(p,{value:n,parent:e.value,loading:e.loading,level:e.level+1,onShowModal:t[3]||(t[3]=function(t){return e.$emit("show-modal",t)}),onInput:function(t){return e.$emit("input",n)}},null,8,["value","parent","loading","level","onInput"])])})),128))]))],2)}var a=n(4648),u=(n(7327),n(1539),n(2479),n(9600),n(1249),n(4916),n(3123),n(7042),n(8783),n(3948),n(2262)),c=n(7909),d=n(5250),f={name:"Entity",mixins:[c["default"]],emits:["input","loading","update","show-modal"],data:function(){return{component:null,justUpdated:!1}},computed:{computedChildren:function(){return Object.values(this.children||{}).filter((function(e){return e}))},hasChildren:function(){return!!this.computedChildren.length},isCollapsed:function(){return!this.hasChildren||this.collapsed},instance:function(){return this.$refs.instance}},methods:{valuesEqual:function(e,t){e=(0,a.Z)({},e),t=(0,a.Z)({},t);for(var n=0,i=["updated_at","data"];n0})).map((function(t){var n=(0,I.Z)(t,2),i=n[0],r=n[1];return{name:i,entities:r.filter((function(t){return t.id in e.selector.selectedEntities}))}})).sort((function(e,t){return e.name.localeCompare(t.name)}))}},methods:{groupEntities:function(e){return Object.values(this.entities).filter((function(e){return null==e.parent_id})).reduce((function(t,n){var i=t[n[e]]||{};return i[n.id]=n,t[n[e]]=Object.values(i).sort((function(e,t){return e.name.localeCompare(t.name)})),t}),{})},_shouldSkipLoading:function(e){var t=Object.values(this.childrenByParentId(e.id)),n=t.filter((function(e){return!e.is_configuration&&!e.is_write_only&&!e.is_query_disabled})).length>0;return e.is_query_disabled||e.is_write_only||t.length&&!n},refresh:function(e){var t=this;return(0,x.Z)(regeneratorRuntime.mark((function n(){var i,r;return regeneratorRuntime.wrap((function(n){while(1)switch(n.prev=n.next){case 0:return i=(e?e.entities:t.entities)||{},r={},e&&(r.plugins=Object.keys(i.reduce((function(e,t){return e[t.plugin]=!0,e}),{}))),t.loadingEntities=Object.values(i).reduce((function(e,n){if(t._shouldSkipLoading(n))return e;var i=t,r=n.id;return t.entityTimeouts[r]&&clearTimeout(t.entityTimeouts[r]),t.entityTimeouts[r]=setTimeout((function(){i.loadingEntities[r]&&delete i.loadingEntities[r],i.entityTimeouts[r]&&delete i.entityTimeouts[r],i.errorEntities[r]=n,console.warn("Scan timeout for ".concat(n.name))}),1e3*t.entityScanTimeout),e[r]=!0,e}),{}),n.next=6,t.request("entities.scan",r);case 6:case"end":return n.stop()}}),n)})))()},sync:function(){var e=this;return(0,x.Z)(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return e.loading=!0,t.prev=1,t.next=4,e.request("entities.get");case 4:e.entities=t.sent.reduce((function(e,t){var n;return t.name=(null===t||void 0===t||null===(n=t.meta)||void 0===n?void 0:n.name_override)||t.name,t.category=F[t.type].name_plural,t.meta=(0,E.Z)((0,E.Z)({},F[t.type]||{}),t.meta||{}),e[t.id]=t,e}),{}),e.selector.selectedEntities=e.entityGroups.id;case 6:return t.prev=6,e.loading=!1,t.finish(6);case 9:case"end":return t.stop()}}),t,null,[[1,,6,9]])})))()},childrenByParentId:function(e){return Object.values(this.entities).filter((function(t){return t&&t.parent_id===e&&!t.is_configuration})).reduce((function(e,t){return e[t.id]=t,e}),{})},configValuesByParentId:function(e){return Object.values(this.entities).filter((function(t){return t&&t.parent_id===e&&t.is_configuration})).reduce((function(e,t){return e[t.id]=t,e}),{})},clearEntityTimeouts:function(e){this.errorEntities[e]&&delete this.errorEntities[e],this.loadingEntities[e]&&delete this.loadingEntities[e],this.entityTimeouts[e]&&(clearTimeout(this.entityTimeouts[e]),delete this.entityTimeouts[e])},onEntityInput:function(e){e.category=F[e.type].name_plural,this.entities[e.id]=e,this.clearEntityTimeouts(e.id),this.loadingEntities[e.id]&&delete this.loadingEntities[e.id]},onEntityUpdate:function(e){var t,n,i,r,o,s,l,a,u,c,d,f=e.entity.id;if(null!=f){this.clearEntityTimeouts(f);var p=(0,E.Z)({},e.entity);null==(null===(t=e.entity)||void 0===t?void 0:t.state)&&(p.state=null===(n=this.entities[f])||void 0===n?void 0:n.state),null!==(i=p.meta)&&void 0!==i&&null!==(r=i.name_override)&&void 0!==r&&r.length?p.name=p.meta.name_override:null!==(o=this.entities[f])&&void 0!==o&&null!==(s=o.meta)&&void 0!==s&&null!==(l=s.name_override)&&void 0!==l&&l.length?p.name=this.entities[f].meta.name_override:p.name=(null===(a=e.entity)||void 0===a?void 0:a.name)||(null===(u=this.entities[f])||void 0===u?void 0:u.name),p.category=F[p.type].name_plural,p.meta=(0,E.Z)((0,E.Z)((0,E.Z)({},F[e.entity.type]||{}),(null===(c=this.entities[f])||void 0===c?void 0:c.meta)||{}),(null===(d=e.entity)||void 0===d?void 0:d.meta)||{}),this.entities[f]=p,N.$.publishEntity(p)}},onEntityDelete:function(e){var t,n=null===(t=e.entity)||void 0===t?void 0:t.id;null!=n&&(n===this.modalEntityId&&(this.modalEntityId=null),this.entities[n]&&delete this.entities[n])},onEntityModal:function(e){e?(this.modalEntityId=e,this.modalVisible=!0):(this.modalEntityId=null,this.modalVisible=!1)}},mounted:function(){var e=this;return(0,x.Z)(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return e.subscribe(e.onEntityUpdate,"on-entity-update","platypush.message.event.entities.EntityUpdateEvent"),e.subscribe(e.onEntityDelete,"on-entity-delete","platypush.message.event.entities.EntityDeleteEvent"),t.next=4,e.sync();case 4:return t.next=6,e.refresh();case 6:case"end":return t.stop()}}),t)})))()},unmounted:function(){this.unsubscribe("on-entity-update")}};const P=(0,U.Z)(W,[["render",S],["__scopeId","data-v-3202268f"]]);var V=P},9429:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return _t}});n(8309),n(2526),n(1817),n(7941);var i=n(6252),r=n(3577),o=n(9963),s=function(e){return(0,i.dD)("data-v-e7f9b796"),e=e(),(0,i.Cn)(),e},l=(0,i.Uk)(" Are you "),a=s((function(){return(0,i._)("b",null,"sure",-1)})),u=(0,i.Uk)(" that you want to delete this entity? "),c=s((function(){return(0,i._)("br",null,null,-1)})),d=s((function(){return(0,i._)("br",null,null,-1)})),f=(0,i.Uk)(" Note: you should only delete an entity if its plugin has been disabled or the entity is no longer reachable."),p=s((function(){return(0,i._)("br",null,null,-1)})),v=s((function(){return(0,i._)("br",null,null,-1)})),m=(0,i.Uk)(" Otherwise, the entity will simply be created again upon the next scan. "),h={class:"table-row"},y={class:"title"},g=(0,i.Uk)(" Name "),_={class:"value"},w=["textContent"],C={class:"table-row"},b={class:"title"},k=(0,i.Uk)(" Icon "),S={class:"value icon-canvas"},E={key:0,class:"icon-editor"},x=s((function(){return(0,i._)("i",{class:"fas fa-rotate-left"},null,-1)})),I=[x],D=s((function(){return(0,i._)("span",{class:"help"},[(0,i.Uk)(" Supported: image URLs or "),(0,i._)("a",{href:"https://fontawesome.com/icons",target:"_blank"},"FontAwesome icon classes"),(0,i.Uk)(". ")],-1)})),j={class:"table-row"},G=s((function(){return(0,i._)("div",{class:"title"}," Icon color ",-1)})),T={class:"value icon-color-picker"},Z=["value"],O=s((function(){return(0,i._)("i",{class:"fas fa-rotate-left"},null,-1)})),q=[O],U={class:"table-row"},M=s((function(){return(0,i._)("div",{class:"title"},"Plugin",-1)})),$=["textContent"],B={class:"table-row"},R=s((function(){return(0,i._)("div",{class:"title"},"Internal ID",-1)})),L=["textContent"],N={key:0,class:"table-row"},z=s((function(){return(0,i._)("div",{class:"title"},"External ID",-1)})),F=["textContent"],W={key:1,class:"table-row"},P=s((function(){return(0,i._)("div",{class:"title"},"Description",-1)})),V=["textContent"],H={key:2,class:"table-row"},K=s((function(){return(0,i._)("div",{class:"title"},"External URL",-1)})),Y={class:"value url"},A=["href","text"],J={key:3,class:"table-row"},Q=s((function(){return(0,i._)("div",{class:"title"},"Image",-1)})),X={class:"value"},ee=["src"],te={key:4,class:"table-row"},ne=s((function(){return(0,i._)("div",{class:"title"},"Parent",-1)})),ie={class:"value"},re=["textContent"],oe={key:5,class:"table-row"},se=s((function(){return(0,i._)("div",{class:"title"},"Created at",-1)})),le=["textContent"],ae={key:6,class:"table-row"},ue=s((function(){return(0,i._)("div",{class:"title"},"Updated at",-1)})),ce=["textContent"],de=s((function(){return(0,i._)("div",{class:"title"},"Delete Entity",-1)})),fe={class:"value"},pe=s((function(){return(0,i._)("i",{class:"fas fa-trash"},null,-1)})),ve=[pe],me={key:7,class:"section children-container"},he=s((function(){return(0,i._)("div",{class:"col-11"},[(0,i._)("i",{class:"fas fa-sitemap"}),(0,i.Uk)(" Children ")],-1)})),ye={class:"col-1 pull-right"},ge={key:0,class:"children-container-info"},_e={class:"title"},we={class:"value"},Ce=["onClick","textContent"],be={class:"section extra-info-container"},ke=s((function(){return(0,i._)("div",{class:"col-11"},[(0,i._)("i",{class:"fas fa-circle-info"}),(0,i.Uk)(" Extra Info ")],-1)})),Se={class:"col-1 pull-right"},Ee={key:0,class:"extra-info"},xe={key:0,class:"table-row"},Ie=["textContent"],De=["textContent"],je={key:0,class:"table-row"},Ge=["textContent"],Te=["textContent"],Ze={key:8,class:"section config-container"},Oe=s((function(){return(0,i._)("div",{class:"col-11"},[(0,i._)("i",{class:"fas fa-screwdriver-wrench"}),(0,i.Uk)(" Configuration ")],-1)})),qe={class:"col-1 pull-right"},Ue={key:0,class:"entities"};function Me(e,t,n,s,x,O){var pe=(0,i.up)("ConfirmDialog"),Me=(0,i.up)("EditButton"),$e=(0,i.up)("NameEditor"),Be=(0,i.up)("Icon"),Re=(0,i.up)("EntityIcon"),Le=(0,i.up)("Entity"),Ne=(0,i.up)("Modal",!0);return n.entity?((0,i.wg)(),(0,i.j4)(Ne,{key:0,visible:n.visible,class:"entity-modal",title:n.entity.name||n.entity.external_id},{default:(0,i.w5)((function(){var s,Ne,ze,Fe,We,Pe,Ve,He;return[(0,i.Wm)(pe,{ref:"deleteConfirmDiag",title:"Confirm entity deletion",onInput:O.onDelete},{default:(0,i.w5)((function(){return[l,a,u,c,d,f,p,v,m]})),_:1},8,["onInput"]),(0,i._)("div",h,[(0,i._)("div",y,[g,x.editName?(0,i.kq)("",!0):((0,i.wg)(),(0,i.j4)(Me,{key:0,onClick:t[0]||(t[0]=function(e){return x.editName=!0})}))]),(0,i._)("div",_,[x.editName?((0,i.wg)(),(0,i.j4)($e,{key:0,value:n.entity.name,onInput:O.onRename,onCancel:t[1]||(t[1]=function(e){return x.editName=!1}),disabled:x.loading},null,8,["value","onInput","disabled"])):((0,i.wg)(),(0,i.iD)("span",{key:1,textContent:(0,r.zw)(n.entity.name)},null,8,w))])]),(0,i._)("div",C,[(0,i._)("div",b,[k,x.editIcon?(0,i.kq)("",!0):((0,i.wg)(),(0,i.j4)(Me,{key:0,onClick:t[2]||(t[2]=function(e){return x.editIcon=!0})}))]),(0,i._)("div",S,[x.editIcon?((0,i.wg)(),(0,i.iD)("span",E,[(0,i.Wm)($e,{value:(null===(s=n.entity.meta)||void 0===s||null===(Ne=s.icon)||void 0===Ne?void 0:Ne.class)||(null===(ze=n.entity.meta)||void 0===ze||null===(Fe=ze.icon)||void 0===Fe?void 0:Fe.url),onInput:O.onIconEdit,onCancel:t[5]||(t[5]=function(e){return x.editIcon=!1}),disabled:x.loading},{default:(0,i.w5)((function(){return[(0,i._)("button",{type:"button",title:"Reset",onClick:t[3]||(t[3]=function(e){return O.onIconEdit(null)}),onTouch:t[4]||(t[4]=function(e){return O.onIconEdit(null)})},I,32)]})),_:1},8,["value","onInput","disabled"]),D])):((0,i.wg)(),(0,i.j4)(Be,(0,r.vs)((0,i.dG)({key:1},(null===(We=n.entity)||void 0===We||null===(Pe=We.meta)||void 0===Pe?void 0:Pe.icon)||{})),null,16))])]),(0,i._)("div",j,[G,(0,i._)("div",T,[(0,i._)("input",{type:"color",value:null===(Ve=n.entity.meta)||void 0===Ve||null===(He=Ve.icon)||void 0===He?void 0:He.color,onChange:t[6]||(t[6]=function(){return O.onIconColorEdit&&O.onIconColorEdit.apply(O,arguments)})},null,40,Z),(0,i._)("button",{type:"button",title:"Reset",onClick:t[7]||(t[7]=function(e){return O.onIconColorEdit(null)}),onTouch:t[8]||(t[8]=function(e){return O.onIconColorEdit(null)})},q,32)])]),(0,i._)("div",U,[M,(0,i._)("div",{class:"value",textContent:(0,r.zw)(n.entity.plugin)},null,8,$)]),(0,i._)("div",B,[R,(0,i._)("div",{class:"value",textContent:(0,r.zw)(n.entity.id)},null,8,L)]),n.entity.external_id?((0,i.wg)(),(0,i.iD)("div",N,[z,(0,i._)("div",{class:"value",textContent:(0,r.zw)(n.entity.external_id)},null,8,F)])):(0,i.kq)("",!0),n.entity.description?((0,i.wg)(),(0,i.iD)("div",W,[P,(0,i._)("div",{class:"value",textContent:(0,r.zw)(n.entity.description)},null,8,V)])):(0,i.kq)("",!0),n.entity.external_url?((0,i.wg)(),(0,i.iD)("div",H,[K,(0,i._)("div",Y,[(0,i._)("a",{href:n.entity.external_url,target:"_blank",text:n.entity.external_url},null,8,A)])])):(0,i.kq)("",!0),n.entity.image_url?((0,i.wg)(),(0,i.iD)("div",J,[Q,(0,i._)("div",X,[(0,i._)("img",{class:"entity-image",src:n.entity.image_url},null,8,ee)])])):(0,i.kq)("",!0),n.parent?((0,i.wg)(),(0,i.iD)("div",te,[ne,(0,i._)("div",ie,[(0,i._)("a",{class:"url",onClick:t[9]||(t[9]=function(t){return e.$emit("entity-update",n.parent.id)}),textContent:(0,r.zw)(n.parent.name)},null,8,re)])])):(0,i.kq)("",!0),n.entity.created_at?((0,i.wg)(),(0,i.iD)("div",oe,[se,(0,i._)("div",{class:"value",textContent:(0,r.zw)(e.formatDateTime(n.entity.created_at))},null,8,le)])):(0,i.kq)("",!0),n.entity.updated_at?((0,i.wg)(),(0,i.iD)("div",ae,[ue,(0,i._)("div",{class:"value",textContent:(0,r.zw)(e.formatDateTime(n.entity.updated_at))},null,8,ce)])):(0,i.kq)("",!0),(0,i._)("div",{class:"table-row delete-entity-container",onClick:t[11]||(t[11]=function(t){return e.$refs.deleteConfirmDiag.show()})},[de,(0,i._)("div",fe,[(0,i._)("button",{onClick:t[10]||(t[10]=(0,o.iM)((function(t){return e.$refs.deleteConfirmDiag.show()}),["stop"]))},ve)])]),Object.keys(n.children||{}).length?((0,i.wg)(),(0,i.iD)("div",me,[(0,i._)("div",{class:"title section-title",onClick:t[12]||(t[12]=function(e){return x.childrenCollapsed=!x.childrenCollapsed})},[he,(0,i._)("div",ye,[(0,i._)("i",{class:(0,r.C_)(["fas",{"fa-chevron-down":x.childrenCollapsed,"fa-chevron-up":!x.childrenCollapsed}])},null,2)])]),x.childrenCollapsed?(0,i.kq)("",!0):((0,i.wg)(),(0,i.iD)("div",ge,[((0,i.wg)(!0),(0,i.iD)(i.HY,null,(0,i.Ko)(n.children,(function(t){var o,s;return(0,i.wg)(),(0,i.iD)("div",{class:(0,r.C_)(["table-row",{hidden:!(null!==(o=t.name)&&void 0!==o&&o.length)||t.is_configuration}]),key:t.id},[(0,i._)("div",_e,[(0,i.Wm)(Re,{entity:n.entity,icon:null===(s=n.entity.meta)||void 0===s?void 0:s.icon},null,8,["entity","icon"]),(0,i.Uk)(" "+(0,r.zw)(e.prettify(t.type)),1)]),(0,i._)("div",we,[(0,i._)("a",{class:"url",onClick:function(n){return e.$emit("entity-update",t.id)},textContent:(0,r.zw)(t.name)},null,8,Ce)])],2)})),128))]))])):(0,i.kq)("",!0),(0,i._)("div",be,[(0,i._)("div",{class:"title section-title",onClick:t[13]||(t[13]=function(e){return x.extraInfoCollapsed=!x.extraInfoCollapsed})},[ke,(0,i._)("div",Se,[(0,i._)("i",{class:(0,r.C_)(["fas",{"fa-chevron-down":x.extraInfoCollapsed,"fa-chevron-up":!x.extraInfoCollapsed}])},null,2)])]),x.extraInfoCollapsed?(0,i.kq)("",!0):((0,i.wg)(),(0,i.iD)("div",Ee,[((0,i.wg)(!0),(0,i.iD)(i.HY,null,(0,i.Ko)(n.entity,(function(t,n){return(0,i.wg)(),(0,i.iD)("div",{key:n},[null!=t&&x.specialFields.indexOf(n)<0?((0,i.wg)(),(0,i.iD)("div",xe,[(0,i._)("div",{class:"title",textContent:(0,r.zw)(e.prettify(n))},null,8,Ie),(0,i._)("div",{class:"value",textContent:(0,r.zw)(O.stringify(t))},null,8,De)])):(0,i.kq)("",!0)])})),128)),((0,i.wg)(!0),(0,i.iD)(i.HY,null,(0,i.Ko)(n.entity.data||{},(function(t,n){return(0,i.wg)(),(0,i.iD)("div",{key:n},[null!=t?((0,i.wg)(),(0,i.iD)("div",je,[(0,i._)("div",{class:"title",textContent:(0,r.zw)(e.prettify(n))},null,8,Ge),(0,i._)("div",{class:"value",textContent:(0,r.zw)(O.stringify(t))},null,8,Te)])):(0,i.kq)("",!0)])})),128))]))]),O.computedConfig.length?((0,i.wg)(),(0,i.iD)("div",Ze,[(0,i._)("div",{class:"title section-title",onClick:t[14]||(t[14]=function(e){return x.configCollapsed=!x.configCollapsed})},[Oe,(0,i._)("div",qe,[(0,i._)("i",{class:(0,r.C_)(["fas",{"fa-chevron-down":x.configCollapsed,"fa-chevron-up":!x.configCollapsed}])},null,2)])]),x.configCollapsed?(0,i.kq)("",!0):((0,i.wg)(),(0,i.iD)("div",Ue,[((0,i.wg)(!0),(0,i.iD)(i.HY,null,(0,i.Ko)(O.computedConfig,(function(t){return(0,i.wg)(),(0,i.j4)(Le,{key:t.id,value:t,onInput:function(n){return e.$emit("input",t)}},null,8,["value","onInput"])})),128))]))])):(0,i.kq)("",!0)]})),_:1},8,["visible","title"])):(0,i.kq)("",!0)}var $e=n(3336),Be=n(8534),Re=(n(5666),n(2707),n(2479),n(6755),n(8862),n(8453)),Le=n(1478),Ne=function(e){return(0,i.dD)("data-v-d543b3e4"),e=e(),(0,i.Cn)(),e},ze={class:"dialog-content"},Fe=Ne((function(){return(0,i._)("i",{class:"fas fa-check"},null,-1)})),We=Ne((function(){return(0,i._)("i",{class:"fas fa-xmark"},null,-1)}));function Pe(e,t,n,s,l,a){var u=(0,i.up)("Modal");return(0,i.wg)(),(0,i.j4)(u,{ref:"modal",title:n.title},{default:(0,i.w5)((function(){return[(0,i._)("div",ze,[(0,i.WI)(e.$slots,"default",{},void 0,!0)]),(0,i._)("form",{class:"buttons",onSubmit:t[4]||(t[4]=(0,o.iM)((function(){return a.onConfirm&&a.onConfirm.apply(a,arguments)}),["prevent"]))},[(0,i._)("button",{type:"submit",class:"ok-btn",onClick:t[0]||(t[0]=function(){return a.onConfirm&&a.onConfirm.apply(a,arguments)}),onTouch:t[1]||(t[1]=function(){return a.onConfirm&&a.onConfirm.apply(a,arguments)})},[Fe,(0,i.Uk)(" "+(0,r.zw)(n.confirmText),1)],32),(0,i._)("button",{type:"button",class:"cancel-btn",onClick:t[2]||(t[2]=function(){return a.close&&a.close.apply(a,arguments)}),onTouch:t[3]||(t[3]=function(){return a.close&&a.close.apply(a,arguments)})},[We,(0,i.Uk)(" "+(0,r.zw)(n.cancelText),1)],32)],32)]})),_:3},8,["title"])}var Ve={emits:["input","click","touch"],components:{Modal:Re.Z},props:{title:{type:String},confirmText:{type:String,default:"OK"},cancelText:{type:String,default:"Cancel"}},methods:{onConfirm:function(){this.$emit("input"),this.close()},show:function(){this.$refs.modal.show()},close:function(){this.$refs.modal.hide()}}},He=n(3744);const Ke=(0,He.Z)(Ve,[["render",Pe],["__scopeId","data-v-d543b3e4"]]);var Ye=Ke,Ae=function(e){return(0,i.dD)("data-v-3344f2bf"),e=e(),(0,i.Cn)(),e},Je=Ae((function(){return(0,i._)("i",{class:"fas fa-pen-to-square"},null,-1)})),Qe=[Je];function Xe(e,t,n,r,o,s){return(0,i.wg)(),(0,i.iD)("button",{class:"edit-btn",onClick:t[0]||(t[0]=function(e){return s.proxy(e)}),onTouch:t[1]||(t[1]=function(e){return s.proxy(e)}),onInput:t[2]||(t[2]=function(e){return s.proxy(e)})},Qe,32)}var et={emits:["input","click","touch"],methods:{proxy:function(e){this.$emit(e.type,e)}}};const tt=(0,He.Z)(et,[["render",Xe],["__scopeId","data-v-3344f2bf"]]);var nt=tt,it=n(3459),rt=function(e){return(0,i.dD)("data-v-600cb1a8"),e=e(),(0,i.Cn)(),e},ot=["disabled"],st=rt((function(){return(0,i._)("button",{type:"submit"},[(0,i._)("i",{class:"fas fa-circle-check"})],-1)})),lt=rt((function(){return(0,i._)("i",{class:"fas fa-ban"},null,-1)})),at=[lt];function ut(e,t,n,r,s,l){return(0,i.wg)(),(0,i.iD)("form",{onSubmit:t[3]||(t[3]=(0,o.iM)((function(){return l.submit&&l.submit.apply(l,arguments)}),["prevent"])),class:"name-editor"},[(0,i.wy)((0,i._)("input",{type:"text","onUpdate:modelValue":t[0]||(t[0]=function(e){return s.text=e}),disabled:n.disabled,ref:"input"},null,8,ot),[[o.nr,s.text]]),st,(0,i._)("button",{class:"cancel",onClick:t[1]||(t[1]=function(t){return e.$emit("cancel")}),onTouch:t[2]||(t[2]=function(t){return e.$emit("cancel")})},at,32),(0,i.WI)(e.$slots,"default",{},void 0,!0)],32)}var ct={emits:["input","cancel"],props:{value:{type:String},disabled:{type:Boolean,default:!1}},data:function(){return{text:null}},methods:{proxy:function(e){this.$emit(e.type,e)},submit:function(){return this.$emit("input",this.text),!1}},mounted:function(){this.text=this.value,this.$refs.input.focus()}};const dt=(0,He.Z)(ct,[["render",ut],["__scopeId","data-v-600cb1a8"]]);var ft=dt,pt=n(6813),vt=n(1765),mt=n(7369),ht=["created_at","data","description","external_id","external_url","id","image_url","is_configuration","meta","name","plugin","updated_at","parent_id"],yt={name:"EntityModal",components:{Entity:vt["default"],EntityIcon:it["default"],Modal:Re.Z,EditButton:nt,NameEditor:ft,Icon:Le.Z,ConfirmDialog:Ye},mixins:[pt.Z],emits:["input","loading","entity-update"],props:{entity:{type:Object,required:!0},parent:{type:Object},children:{type:Object},visible:{type:Boolean,default:!1},configValues:{type:Object,default:function(){}}},computed:{computedConfig:function(){return Object.values(this.configValues).sort((function(e,t){return(e.name||"").localeCompare(t.name||"")}))}},data:function(){return{loading:!1,editName:!1,editIcon:!1,configCollapsed:!0,childrenCollapsed:!0,extraInfoCollapsed:!0,specialFields:ht}},methods:{onRename:function(e){var t=this;return(0,Be.Z)(regeneratorRuntime.mark((function n(){var i;return regeneratorRuntime.wrap((function(n){while(1)switch(n.prev=n.next){case 0:return t.loading=!0,n.prev=1,i={},i[t.entity.id]=e,n.next=6,t.request("entities.rename",i);case 6:return n.prev=6,t.loading=!1,t.editName=!1,n.finish(6);case 10:case"end":return n.stop()}}),n,null,[[1,,6,10]])})))()},onDelete:function(){var e=this;return(0,Be.Z)(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return e.loading=!0,t.prev=1,t.next=4,e.request("entities.delete",[e.entity.id]);case 4:return t.prev=4,e.loading=!1,t.finish(4);case 7:case"end":return t.stop()}}),t,null,[[1,,4,7]])})))()},onIconEdit:function(e){var t=this;return(0,Be.Z)(regeneratorRuntime.mark((function n(){var i,r,o,s,l,a;return regeneratorRuntime.wrap((function(n){while(1)switch(n.prev=n.next){case 0:return t.loading=!0,n.prev=1,i={url:null,class:null},null!==e&&void 0!==e&&e.length?e.startsWith("http")?i.url=e:i.class=e:(i.url=null===(r=mt[t.entity.type]||{})||void 0===r||null===(o=r.icon)||void 0===o?void 0:o.url,i.class=null===(s=mt[t.entity.type]||{})||void 0===s||null===(l=s.icon)||void 0===l?void 0:l["class"]),a={},a[t.entity.id]={icon:i},n.next=8,t.request("entities.set_meta",a);case 8:return n.prev=8,t.loading=!1,t.editIcon=!1,n.finish(8);case 12:case"end":return n.stop()}}),n,null,[[1,,8,12]])})))()},onIconColorEdit:function(e){var t=this;return(0,Be.Z)(regeneratorRuntime.mark((function n(){var i,r,o;return regeneratorRuntime.wrap((function(n){while(1)switch(n.prev=n.next){case 0:return t.loading=!0,n.prev=1,r=(null===(i=t.entity.meta)||void 0===i?void 0:i.icon)||{},r.color=e?e.target.value:null,o={},o[t.entity.id]={icon:r},n.next=8,t.request("entities.set_meta",o);case 8:return n.prev=8,t.loading=!1,t.editIcon=!1,n.finish(8);case 12:case"end":return n.stop()}}),n,null,[[1,,8,12]])})))()},stringify:function(e){return null==e?"":Array.isArray(e)||"object"===(0,$e.Z)(e)?JSON.stringify(e,null,2):""+e}}};const gt=(0,He.Z)(yt,[["render",Me],["__scopeId","data-v-e7f9b796"]]);var _t=gt},6518:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return _}});n(7941);var i=n(6252),r=n(3577),o=n(9963),s={class:"entities-selectors-container"},l={class:"selector"},a={key:1,class:"selector"};function u(e,t,n,u,c,d){var f,p=(0,i.up)("DropdownItem"),v=(0,i.up)("Dropdown");return(0,i.wg)(),(0,i.iD)("div",s,[(0,i._)("div",l,[(0,i.Wm)(v,{title:"Group by","icon-class":"fas fa-object-ungroup",ref:"groupingSelector"},{default:(0,i.w5)((function(){return[((0,i.wg)(!0),(0,i.iD)(i.HY,null,(0,i.Ko)(d.visibleGroupings,(function(e){var t;return(0,i.wg)(),(0,i.j4)(p,{key:e,text:d.prettifyGroupingName(e),"item-class":{selected:(null===(t=n.value)||void 0===t?void 0:t.grouping)===e},onClick:function(t){return d.onGroupingChanged(e)}},null,8,["text","item-class","onClick"])})),128))]})),_:1},512)]),null!==(f=n.value)&&void 0!==f&&f.grouping?((0,i.wg)(),(0,i.iD)("div",{key:0,class:(0,r.C_)(["selector",{active:d.isGroupFilterActive}])},[(0,i.Wm)(v,{title:"Filter by","icon-class":"fas fa-filter",ref:"groupSelector","keep-open-on-item-click":""},{default:(0,i.w5)((function(){return[((0,i.wg)(!0),(0,i.iD)(i.HY,null,(0,i.Ko)(d.sortedGroups,(function(e){return(0,i.wg)(),(0,i.j4)(p,(0,i.dG)({key:e,text:e},d.iconForGroup(e),{"item-class":{selected:!!c.selectedGroups[e]},onClick:(0,o.iM)((function(t){return d.toggleGroup(e)}),["stop"])}),null,16,["text","item-class","onClick"])})),128))]})),_:1},512)],2)):(0,i.kq)("",!0),Object.keys(n.entityGroups.id||{}).length?((0,i.wg)(),(0,i.iD)("div",a,[(0,i.wy)((0,i._)("input",{ref:"search",type:"text",class:"search-bar",placeholder:"🔎","onUpdate:modelValue":t[0]||(t[0]=function(e){return c.searchTerm=e})},null,512),[[o.nr,c.searchTerm]])])):(0,i.kq)("",!0)])}var c=n(4648),d=(n(7327),n(1539),n(2707),n(2479),n(8309),n(9714),n(7852),n(7042),n(6813)),f=n(5771),p=n(2684),v=n(7369),m=n(1359),h={name:"Selector",emits:["input"],mixins:[d.Z],components:{Dropdown:f.Z,DropdownItem:p.Z},props:{entityGroups:{type:Object,required:!0},value:{type:Object,required:!0}},data:function(){return{selectedGroups:{},searchTerm:""}},computed:{visibleGroupings:function(){return Object.keys(this.entityGroups).filter((function(e){return"id"!==e}))},sortedGroups:function(){var e;return Object.keys(this.entityGroups[null===(e=this.value)||void 0===e?void 0:e.grouping]||{}).sort()},typesMeta:function(){return v},isGroupFilterActive:function(){return Object.keys(this.selectedGroups).length!==this.sortedGroups.length},selectedEntities:function(){var e=this;return Object.values(this.entityGroups.id).filter((function(t){var n,i;if(!e.selectedGroups[t[null===(n=e.value)||void 0===n?void 0:n.grouping]])return!1;if(null!==(i=e.searchTerm)&&void 0!==i&&i.length){var r=e.searchTerm.toLowerCase();return(t.name||"").toLowerCase().indexOf(r)>=0||(t.plugin||"").toLowerCase().indexOf(r)>=0||(t.external_id||"").toLowerCase().indexOf(r)>=0||(t.id||0).toString()==r}return!0})).reduce((function(e,t){return e[t.id]=t,e}),{})}},methods:{prettifyGroupingName:function(e){return e?(e=this.prettify(e),e.endsWith("y")&&(e=e.slice(0,e.length-1)+"ie"),e+="s",e):""},iconForGroup:function(e){if("plugin"===this.value.grouping&&m[e]){var t,n,i=m[e];return{"icon-class":null!==(t=i["class"])&&void 0!==t&&t.length||null===(n=i.imgUrl)||void 0===n||!n.length?i["class"]:"fas fa-gears","icon-url":i.imgUrl}}return{}},synchronizeSelectedEntities:function(){var e=(0,c.Z)({},this.value);e.selectedEntities=this.selectedEntities,this.$emit("input",e)},updateSearchTerm:function(){var e=(0,c.Z)({},this.value);e.searchTerm=this.searchTerm,e.selectedEntities=this.selectedEntities,this.$emit("input",e)},refreshGroupFilter:function(e){var t;if(e)this.selectedGroups=Object.keys(this.entityGroups[null===(t=this.value)||void 0===t?void 0:t.grouping]||{}).reduce((function(e,t){return e[t]=!0,e}),{});else for(var n=0,i=Object.keys(this.entityGroups[null===(r=this.value)||void 0===r?void 0:r.grouping]);n 1 ? arguments[1] : undefined;\n var len = that.length;\n var end = endPosition === undefined ? len : min(toLength(endPosition), len);\n var search = toString(searchString);\n return un$EndsWith\n ? un$EndsWith(that, search, end)\n : slice(that, end - search.length, end) === search;\n }\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar getOwnPropertyDescriptor = require('../internals/object-get-own-property-descriptor').f;\nvar toLength = require('../internals/to-length');\nvar toString = require('../internals/to-string');\nvar notARegExp = require('../internals/not-a-regexp');\nvar requireObjectCoercible = require('../internals/require-object-coercible');\nvar correctIsRegExpLogic = require('../internals/correct-is-regexp-logic');\nvar IS_PURE = require('../internals/is-pure');\n\n// eslint-disable-next-line es-x/no-string-prototype-startswith -- safe\nvar un$StartsWith = uncurryThis(''.startsWith);\nvar stringSlice = uncurryThis(''.slice);\nvar min = Math.min;\n\nvar CORRECT_IS_REGEXP_LOGIC = correctIsRegExpLogic('startsWith');\n// https://github.com/zloirock/core-js/pull/702\nvar MDN_POLYFILL_BUG = !IS_PURE && !CORRECT_IS_REGEXP_LOGIC && !!function () {\n var descriptor = getOwnPropertyDescriptor(String.prototype, 'startsWith');\n return descriptor && !descriptor.writable;\n}();\n\n// `String.prototype.startsWith` method\n// https://tc39.es/ecma262/#sec-string.prototype.startswith\n$({ target: 'String', proto: true, forced: !MDN_POLYFILL_BUG && !CORRECT_IS_REGEXP_LOGIC }, {\n startsWith: function startsWith(searchString /* , position = 0 */) {\n var that = toString(requireObjectCoercible(this));\n notARegExp(searchString);\n var index = toLength(min(arguments.length > 1 ? arguments[1] : undefined, that.length));\n var search = toString(searchString);\n return un$StartsWith\n ? un$StartsWith(that, search, index)\n : stringSlice(that, index, index + search.length) === search;\n }\n});\n","\n \n \n\n\n\n\n","import { render } from \"./Entity.vue?vue&type=template&id=b22d107a&scoped=true\"\nimport script from \"./Entity.vue?vue&type=script&lang=js\"\nexport * from \"./Entity.vue?vue&type=script&lang=js\"\n\nimport \"./Entity.vue?vue&type=style&index=0&id=b22d107a&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-b22d107a\"]])\n\nexport default __exports__","\n \n
\n
\n
\n
\n \n\n\n\n\n","import { render } from \"./EntityIcon.vue?vue&type=template&id=4fad24e6&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=4fad24e6&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-4fad24e6\"]])\n\nexport default __exports__","\n","import script from \"./EntityMixin.vue?vue&type=script&lang=js\"\nexport * from \"./EntityMixin.vue?vue&type=script&lang=js\"\n\nconst __exports__ = script;\n\nexport default __exports__","\n \n
\n\n
\n \n \n
\n\n \n \n \n \n
\n \n\n
\n
\n\n
No entities found \n\n
\n
\n
\n \n\n\n\n\n","\n\n \n\n\n\n\n","import { render } from \"./NoItems.vue?vue&type=template&id=6fec32b5&scoped=true\"\nimport script from \"./NoItems.vue?vue&type=script&lang=js\"\nexport * from \"./NoItems.vue?vue&type=script&lang=js\"\n\nimport \"./NoItems.vue?vue&type=style&index=0&id=6fec32b5&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-6fec32b5\"]])\n\nexport default __exports__","import { render } from \"./Index.vue?vue&type=template&id=3202268f&scoped=true\"\nimport script from \"./Index.vue?vue&type=script&lang=js\"\nexport * from \"./Index.vue?vue&type=script&lang=js\"\n\nimport \"./Index.vue?vue&type=style&index=0&id=3202268f&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-3202268f\"]])\n\nexport default __exports__","\n \n \n Are you sure that you want to delete this entity? \n Note: you should only delete an entity if its plugin has been disabled\n or the entity is no longer reachable. \n Otherwise, the entity will simply be created again upon the next scan.\n \n\n \n
\n Name\n \n
\n
\n \n \n
\n
\n\n \n\n \n
\n Icon color\n
\n
\n \n \n \n \n
\n
\n\n \n\n \n\n \n\n \n\n \n\n \n
Image
\n
\n
\n
\n
\n\n \n\n \n\n \n\n \n
Delete Entity
\n
\n \n \n \n
\n
\n\n \n
\n
\n \n Children\n
\n\n
\n \n
\n
\n\n
\n
\n
\n \n {{ prettify(child.type) }}\n
\n
\n
\n
\n
\n\n \n
\n
\n \n Extra Info\n
\n\n
\n \n
\n
\n\n \n
\n\n \n
\n
\n \n Configuration\n
\n\n
\n \n
\n
\n\n
\n \n
\n
\n \n \n\n\n\n\n","\n \n \n \n
\n\n \n \n \n\n\n\n\n","import { render } from \"./ConfirmDialog.vue?vue&type=template&id=d543b3e4&scoped=true\"\nimport script from \"./ConfirmDialog.vue?vue&type=script&lang=js\"\nexport * from \"./ConfirmDialog.vue?vue&type=script&lang=js\"\n\nimport \"./ConfirmDialog.vue?vue&type=style&index=0&id=d543b3e4&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-d543b3e4\"]])\n\nexport default __exports__","\n \n \n \n \n\n\n\n\n","import { render } from \"./EditButton.vue?vue&type=template&id=3344f2bf&scoped=true\"\nimport script from \"./EditButton.vue?vue&type=script&lang=js\"\nexport * from \"./EditButton.vue?vue&type=script&lang=js\"\n\nimport \"./EditButton.vue?vue&type=style&index=0&id=3344f2bf&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-3344f2bf\"]])\n\nexport default __exports__","\n \n \n\n\n\n\n","import { render } from \"./NameEditor.vue?vue&type=template&id=600cb1a8&scoped=true\"\nimport script from \"./NameEditor.vue?vue&type=script&lang=js\"\nexport * from \"./NameEditor.vue?vue&type=script&lang=js\"\n\nimport \"./NameEditor.vue?vue&type=style&index=0&id=600cb1a8&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-600cb1a8\"]])\n\nexport default __exports__","import { render } from \"./Modal.vue?vue&type=template&id=e7f9b796&scoped=true\"\nimport script from \"./Modal.vue?vue&type=script&lang=js\"\nexport * from \"./Modal.vue?vue&type=script&lang=js\"\n\nimport \"./Modal.vue?vue&type=style&index=0&id=e7f9b796&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-e7f9b796\"]])\n\nexport default __exports__","\n \n
\n \n \n \n
\n\n
\n \n \n \n
\n\n
\n \n
\n
\n \n\n\n\n\n","import { render } from \"./Selector.vue?vue&type=template&id=7babaacc&scoped=true\"\nimport script from \"./Selector.vue?vue&type=script&lang=js\"\nexport * from \"./Selector.vue?vue&type=script&lang=js\"\n\nimport \"./Selector.vue?vue&type=style&index=0&id=7babaacc&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-7babaacc\"]])\n\nexport default __exports__","var map = {\n\t\"./Battery\": [\n\t\t9651,\n\t\t9,\n\t\t9651\n\t],\n\t\"./Battery.vue\": [\n\t\t9651,\n\t\t9,\n\t\t9651\n\t],\n\t\"./BinarySensor\": [\n\t\t7549,\n\t\t9,\n\t\t3490,\n\t\t7549\n\t],\n\t\"./BinarySensor.vue\": [\n\t\t7549,\n\t\t9,\n\t\t3490,\n\t\t7549\n\t],\n\t\"./BluetoothDevice\": [\n\t\t9767,\n\t\t9,\n\t\t3490,\n\t\t9767\n\t],\n\t\"./BluetoothDevice.vue\": [\n\t\t9767,\n\t\t9,\n\t\t3490,\n\t\t9767\n\t],\n\t\"./BluetoothService\": [\n\t\t5498,\n\t\t9,\n\t\t3490,\n\t\t5498\n\t],\n\t\"./BluetoothService.vue\": [\n\t\t5498,\n\t\t9,\n\t\t3490,\n\t\t5498\n\t],\n\t\"./Button\": [\n\t\t8625,\n\t\t9,\n\t\t8475,\n\t\t8625\n\t],\n\t\"./Button.vue\": [\n\t\t8625,\n\t\t9,\n\t\t8475,\n\t\t8625\n\t],\n\t\"./CloudInstance\": [\n\t\t2018,\n\t\t9,\n\t\t2018\n\t],\n\t\"./CloudInstance.vue\": [\n\t\t2018,\n\t\t9,\n\t\t2018\n\t],\n\t\"./CompositeSensor\": [\n\t\t7367,\n\t\t9,\n\t\t8475,\n\t\t7367\n\t],\n\t\"./CompositeSensor.vue\": [\n\t\t7367,\n\t\t9,\n\t\t8475,\n\t\t7367\n\t],\n\t\"./ContactSensor\": [\n\t\t7549,\n\t\t9,\n\t\t3490,\n\t\t7549\n\t],\n\t\"./ContactSensor.vue\": [\n\t\t7549,\n\t\t9,\n\t\t3490,\n\t\t7549\n\t],\n\t\"./CurrentSensor\": [\n\t\t7367,\n\t\t9,\n\t\t8475,\n\t\t7367\n\t],\n\t\"./CurrentSensor.vue\": [\n\t\t7367,\n\t\t9,\n\t\t8475,\n\t\t7367\n\t],\n\t\"./Device\": [\n\t\t2018,\n\t\t9,\n\t\t2018\n\t],\n\t\"./Device.vue\": [\n\t\t2018,\n\t\t9,\n\t\t2018\n\t],\n\t\"./DewPointSensor\": [\n\t\t7367,\n\t\t9,\n\t\t8475,\n\t\t7367\n\t],\n\t\"./DewPointSensor.vue\": [\n\t\t7367,\n\t\t9,\n\t\t8475,\n\t\t7367\n\t],\n\t\"./Dimmer\": [\n\t\t359,\n\t\t9,\n\t\t7782,\n\t\t359\n\t],\n\t\"./Dimmer.vue\": [\n\t\t359,\n\t\t9,\n\t\t7782,\n\t\t359\n\t],\n\t\"./DistanceSensor\": [\n\t\t7367,\n\t\t9,\n\t\t8475,\n\t\t7367\n\t],\n\t\"./DistanceSensor.vue\": [\n\t\t7367,\n\t\t9,\n\t\t8475,\n\t\t7367\n\t],\n\t\"./EnergySensor\": [\n\t\t7367,\n\t\t9,\n\t\t8475,\n\t\t7367\n\t],\n\t\"./EnergySensor.vue\": [\n\t\t7367,\n\t\t9,\n\t\t8475,\n\t\t7367\n\t],\n\t\"./Entity\": [\n\t\t1765,\n\t\t9\n\t],\n\t\"./Entity.vue\": [\n\t\t1765,\n\t\t9\n\t],\n\t\"./EntityIcon\": [\n\t\t3459,\n\t\t9\n\t],\n\t\"./EntityIcon.vue\": [\n\t\t3459,\n\t\t9\n\t],\n\t\"./EntityMixin\": [\n\t\t7909,\n\t\t9\n\t],\n\t\"./EntityMixin.vue\": [\n\t\t7909,\n\t\t9\n\t],\n\t\"./EnumSensor\": [\n\t\t8625,\n\t\t9,\n\t\t8475,\n\t\t8625\n\t],\n\t\"./EnumSensor.vue\": [\n\t\t8625,\n\t\t9,\n\t\t8475,\n\t\t8625\n\t],\n\t\"./EnumSwitch\": [\n\t\t2306,\n\t\t9,\n\t\t2306\n\t],\n\t\"./EnumSwitch.vue\": [\n\t\t2306,\n\t\t9,\n\t\t2306\n\t],\n\t\"./HeartRateSensor\": [\n\t\t7367,\n\t\t9,\n\t\t8475,\n\t\t7367\n\t],\n\t\"./HeartRateSensor.vue\": [\n\t\t7367,\n\t\t9,\n\t\t8475,\n\t\t7367\n\t],\n\t\"./HumiditySensor\": [\n\t\t7367,\n\t\t9,\n\t\t8475,\n\t\t7367\n\t],\n\t\"./HumiditySensor.vue\": [\n\t\t7367,\n\t\t9,\n\t\t8475,\n\t\t7367\n\t],\n\t\"./IlluminanceSensor\": [\n\t\t7367,\n\t\t9,\n\t\t8475,\n\t\t7367\n\t],\n\t\"./IlluminanceSensor.vue\": [\n\t\t7367,\n\t\t9,\n\t\t8475,\n\t\t7367\n\t],\n\t\"./Index\": [\n\t\t1404,\n\t\t9\n\t],\n\t\"./Index.vue\": [\n\t\t1404,\n\t\t9\n\t],\n\t\"./Light\": [\n\t\t2315,\n\t\t9,\n\t\t7782,\n\t\t3490,\n\t\t2315\n\t],\n\t\"./Light.vue\": [\n\t\t2315,\n\t\t9,\n\t\t7782,\n\t\t3490,\n\t\t2315\n\t],\n\t\"./LinkQuality\": [\n\t\t8126,\n\t\t9,\n\t\t8126\n\t],\n\t\"./LinkQuality.vue\": [\n\t\t8126,\n\t\t9,\n\t\t8126\n\t],\n\t\"./Modal\": [\n\t\t9429,\n\t\t9\n\t],\n\t\"./Modal.vue\": [\n\t\t9429,\n\t\t9\n\t],\n\t\"./MotionSensor\": [\n\t\t7367,\n\t\t9,\n\t\t8475,\n\t\t7367\n\t],\n\t\"./MotionSensor.vue\": [\n\t\t7367,\n\t\t9,\n\t\t8475,\n\t\t7367\n\t],\n\t\"./Muted\": [\n\t\t3303,\n\t\t9,\n\t\t3490,\n\t\t3303\n\t],\n\t\"./Muted.vue\": [\n\t\t3303,\n\t\t9,\n\t\t3490,\n\t\t3303\n\t],\n\t\"./NumericSensor\": [\n\t\t7367,\n\t\t9,\n\t\t8475,\n\t\t7367\n\t],\n\t\"./NumericSensor.vue\": [\n\t\t7367,\n\t\t9,\n\t\t8475,\n\t\t7367\n\t],\n\t\"./PowerSensor\": [\n\t\t7367,\n\t\t9,\n\t\t8475,\n\t\t7367\n\t],\n\t\"./PowerSensor.vue\": [\n\t\t7367,\n\t\t9,\n\t\t8475,\n\t\t7367\n\t],\n\t\"./PresenceSensor\": [\n\t\t7549,\n\t\t9,\n\t\t3490,\n\t\t7549\n\t],\n\t\"./PresenceSensor.vue\": [\n\t\t7549,\n\t\t9,\n\t\t3490,\n\t\t7549\n\t],\n\t\"./PressureSensor\": [\n\t\t7367,\n\t\t9,\n\t\t8475,\n\t\t7367\n\t],\n\t\"./PressureSensor.vue\": [\n\t\t7367,\n\t\t9,\n\t\t8475,\n\t\t7367\n\t],\n\t\"./RawSensor\": [\n\t\t7367,\n\t\t9,\n\t\t8475,\n\t\t7367\n\t],\n\t\"./RawSensor.vue\": [\n\t\t7367,\n\t\t9,\n\t\t8475,\n\t\t7367\n\t],\n\t\"./Selector\": [\n\t\t6518,\n\t\t9\n\t],\n\t\"./Selector.vue\": [\n\t\t6518,\n\t\t9\n\t],\n\t\"./Sensor\": [\n\t\t7367,\n\t\t9,\n\t\t8475,\n\t\t7367\n\t],\n\t\"./Sensor.vue\": [\n\t\t7367,\n\t\t9,\n\t\t8475,\n\t\t7367\n\t],\n\t\"./StepsSensor\": [\n\t\t7367,\n\t\t9,\n\t\t8475,\n\t\t7367\n\t],\n\t\"./StepsSensor.vue\": [\n\t\t7367,\n\t\t9,\n\t\t8475,\n\t\t7367\n\t],\n\t\"./Switch\": [\n\t\t3303,\n\t\t9,\n\t\t3490,\n\t\t3303\n\t],\n\t\"./Switch.vue\": [\n\t\t3303,\n\t\t9,\n\t\t3490,\n\t\t3303\n\t],\n\t\"./TemperatureSensor\": [\n\t\t7367,\n\t\t9,\n\t\t8475,\n\t\t7367\n\t],\n\t\"./TemperatureSensor.vue\": [\n\t\t7367,\n\t\t9,\n\t\t8475,\n\t\t7367\n\t],\n\t\"./TimeDurationSensor\": [\n\t\t7367,\n\t\t9,\n\t\t8475,\n\t\t7367\n\t],\n\t\"./TimeDurationSensor.vue\": [\n\t\t7367,\n\t\t9,\n\t\t8475,\n\t\t7367\n\t],\n\t\"./VoltageSensor\": [\n\t\t7367,\n\t\t9,\n\t\t8475,\n\t\t7367\n\t],\n\t\"./VoltageSensor.vue\": [\n\t\t7367,\n\t\t9,\n\t\t8475,\n\t\t7367\n\t],\n\t\"./Volume\": [\n\t\t359,\n\t\t9,\n\t\t7782,\n\t\t359\n\t],\n\t\"./Volume.vue\": [\n\t\t359,\n\t\t9,\n\t\t7782,\n\t\t359\n\t],\n\t\"./WeightSensor\": [\n\t\t7367,\n\t\t9,\n\t\t8475,\n\t\t7367\n\t],\n\t\"./WeightSensor.vue\": [\n\t\t7367,\n\t\t9,\n\t\t8475,\n\t\t7367\n\t],\n\t\"./common.scss\": [\n\t\t65,\n\t\t9,\n\t\t4981,\n\t\t65\n\t],\n\t\"./meta\": [\n\t\t7369,\n\t\t3\n\t],\n\t\"./meta.json\": [\n\t\t7369,\n\t\t3\n\t],\n\t\"./vars.scss\": [\n\t\t5207,\n\t\t9,\n\t\t4981,\n\t\t5207\n\t]\n};\nfunction webpackAsyncContext(req) {\n\tif(!__webpack_require__.o(map, req)) {\n\t\treturn Promise.resolve().then(function() {\n\t\t\tvar e = new Error(\"Cannot find module '\" + req + \"'\");\n\t\t\te.code = 'MODULE_NOT_FOUND';\n\t\t\tthrow e;\n\t\t});\n\t}\n\n\tvar ids = map[req], id = ids[0];\n\treturn Promise.all(ids.slice(2).map(__webpack_require__.e)).then(function() {\n\t\treturn __webpack_require__.t(id, ids[1] | 16)\n\t});\n}\nwebpackAsyncContext.keys = function() { return Object.keys(map); };\nwebpackAsyncContext.id = 7243;\nmodule.exports = webpackAsyncContext;"],"names":["wellKnownSymbol","MATCH","module","exports","METHOD_NAME","regexp","error1","error2","isRegExp","$TypeError","TypeError","it","$","uncurryThis","getOwnPropertyDescriptor","toLength","toString","notARegExp","requireObjectCoercible","correctIsRegExpLogic","IS_PURE","un$EndsWith","endsWith","slice","min","Math","CORRECT_IS_REGEXP_LOGIC","MDN_POLYFILL_BUG","descriptor","String","prototype","writable","target","proto","forced","searchString","that","this","endPosition","arguments","length","undefined","len","end","search","un$StartsWith","startsWith","stringSlice","index","class","hasChildren","isCollapsed","value","name","justUpdated","component","parent","children","computedChildren","loading","ref","error","reachable","onClick","$emit","$event","toggleCollapsed","entity","key","id","level","mixins","EntityMixin","emits","data","computed","Object","values","filter","child","collapsed","instance","$refs","methods","valuesEqual","a","b","objectsEqual","event","stopPropagation","classList","contains","onEntityUpdate","entityId","isChildUpdate","setJustUpdated","self","setTimeout","mounted","type","split","map","t","toUpperCase","join","$watch","newValue","oldValue","bus","__exports__","render","src","colorFill","style","colorFillStyle","computedIconNormalized","components","Icon","props","Boolean","default","required","icon","hasColorFill","modalVisible","computedIcon","meta","keys","color","entityType","charAt","Utils","Number","s","entityGroups","selector","title","refresh","modalEntityId","entities","parent_id","childrenByParentId","visible","configValuesByParentId","onEntityModal","displayGroups","group","grouping","entitiesMeta","typesByCategory","pluginIcons","url","imgUrl","onEntityInput","errorEntities","loadingEntities","Loading","Entity","Selector","NoItems","EntityModal","entityScanTimeout","entityTimeouts","selectedEntities","icons","entityTypes","groupEntities","entries","reduce","obj","name_plural","entry","e","sort","localeCompare","attr","_shouldSkipLoading","hasReadableChildren","is_configuration","is_write_only","is_query_disabled","args","plugins","plugin","clearTimeout","console","warn","request","sync","name_override","category","parentId","clearEntityTimeouts","state","onEntityDelete","subscribe","unmounted","unsubscribe","href","external_id","onDelete","editName","onRename","disabled","editIcon","onIconEdit","onIconColorEdit","description","external_url","text","image_url","created_at","updated_at","deleteConfirmDiag","show","childrenCollapsed","prettify","extraInfoCollapsed","specialFields","indexOf","computedConfig","configCollapsed","onConfirm","confirmText","close","cancelText","Modal","modal","hide","proxy","submit","input","focus","EntityIcon","EditButton","NameEditor","ConfirmDialog","configValues","newName","req","newIcon","stringify","Array","isArray","JSON","visibleGroupings","g","prettifyGroupingName","onGroupingChanged","isGroupFilterActive","sortedGroups","iconForGroup","selectedGroups","toggleGroup","placeholder","searchTerm","Dropdown","DropdownItem","typesMeta","toLowerCase","synchronizeSelectedEntities","updateSearchTerm","refreshGroupFilter","reset","webpackAsyncContext","__webpack_require__","o","Promise","resolve","then","Error","code","ids","all"],"sourceRoot":""}
\ No newline at end of file
diff --git a/platypush/backend/http/webapp/dist/static/js/1765.9169acca.js b/platypush/backend/http/webapp/dist/static/js/1765.9169acca.js
deleted file mode 100644
index 7d5b7db2cf..0000000000
--- a/platypush/backend/http/webapp/dist/static/js/1765.9169acca.js
+++ /dev/null
@@ -1,2 +0,0 @@
-(self["webpackChunkplatypush"]=self["webpackChunkplatypush"]||[]).push([[1765],{1765:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return h}});var i=n(6252),s=n(3577),l=n(9963);const a={key:0,class:"children fade-in"};function o(e,t,n,o,r,c){const u=(0,i.up)("Entity",!0);return(0,i.wg)(),(0,i.iD)("div",{class:(0,s.C_)(["entity-container-wrapper",{"with-children":c.hasChildren,collapsed:c.isCollapsed,hidden:!e.value?.name?.length}])},[(0,i._)("div",{class:(0,s.C_)(["row item entity-container",{"with-children":c.hasChildren,collapsed:c.isCollapsed,blink:r.justUpdated}])},[(0,i._)("div",{class:(0,s.C_)(["adjuster",{"col-12":!c.hasChildren,"col-11":c.hasChildren}])},[((0,i.wg)(),(0,i.j4)((0,i.LL)(r.component),{value:e.value,parent:e.parent,children:c.computedChildren,loading:e.loading,ref:"instance",error:e.error||0==e.value?.reachable,onClick:c.onClick,onInput:t[0]||(t[0]=t=>e.$emit("input",t)),onLoading:t[1]||(t[1]=t=>e.$emit("loading",t))},null,8,["value","parent","children","loading","error","onClick"]))],2),c.hasChildren?((0,i.wg)(),(0,i.iD)("div",{key:0,class:"col-1 collapse-toggler",onClick:t[2]||(t[2]=(0,l.iM)(((...e)=>c.toggleCollapsed&&c.toggleCollapsed(...e)),["stop"]))},[(0,i._)("i",{class:(0,s.C_)(["fas",{"fa-chevron-down":c.isCollapsed,"fa-chevron-up":!c.isCollapsed}])},null,2)])):(0,i.kq)("",!0)],2),c.isCollapsed?(0,i.kq)("",!0):((0,i.wg)(),(0,i.iD)("div",a,[((0,i.wg)(!0),(0,i.iD)(i.HY,null,(0,i.Ko)(c.computedChildren,(n=>((0,i.wg)(),(0,i.iD)("div",{class:"child",key:n.id},[(0,i.Wm)(u,{value:n,parent:e.value,loading:e.loading,level:e.level+1,onShowModal:t[3]||(t[3]=t=>e.$emit("show-modal",t)),onInput:t=>e.$emit("input",n)},null,8,["value","parent","loading","level","onInput"])])))),128))]))],2)}var r=n(2262),c=n(7909),u=n(5250),d={name:"Entity",mixins:[c["default"]],emits:["input","loading","update","show-modal"],data(){return{component:null,justUpdated:!1}},computed:{computedChildren(){return Object.values(this.children||{}).filter((e=>e))},hasChildren(){return!!this.computedChildren.length},isCollapsed(){return!this.hasChildren||this.collapsed},instance(){return this.$refs.instance}},methods:{valuesEqual(e,t){e={...e},t={...t};for(const n of["updated_at","data"])delete e[n],delete t[n];return this.objectsEqual(e,t)},onClick(e){e.stopPropagation(),e.target.classList.contains("label")||e.target.classList.contains("head")?this.toggleCollapsed():this.$emit("show-modal",this.value.id)},onEntityUpdate(e){const t=e?.id,n=null!=t&&this.children&&t in this.children;n&&this.setJustUpdated()},toggleCollapsed(){this.collapsed=!this.collapsed,this.instance&&(this.instance.collapsed=!this.instance.collapsed)},setJustUpdated(){this.justUpdated=!0;const e=this;setTimeout((()=>e.justUpdated=!1),1e3)}},mounted(){if("Entity"!==this.type){const e=this.type.split("_").map((e=>e[0].toUpperCase()+e.slice(1))).join("");this.$watch((()=>this.value),((e,t)=>{if(this.valuesEqual(t,e))return!1;this.setJustUpdated(),this.$emit("update",{value:e})})),this.component=(0,r.XI)((0,i.RC)((()=>n(7243)(`./${e}`))))}u.$.onEntity(this.onEntityUpdate)}},p=n(3744);const m=(0,p.Z)(d,[["render",o],["__scopeId","data-v-b22d107a"]]);var h=m},3459:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return m}});var i=n(6252),s=n(3577),l=n(3540);const a={key:0,src:l,class:"loading"},o={key:1,class:"fas fa-circle-exclamation error"};function r(e,t,n,l,r,c){const u=(0,i.up)("Icon");return(0,i.wg)(),(0,i.iD)("div",{class:(0,s.C_)(["entity-icon-container",{"with-color-fill":!!c.colorFill}]),style:(0,s.j5)(c.colorFillStyle)},[n.loading?((0,i.wg)(),(0,i.iD)("img",a)):n.error?((0,i.wg)(),(0,i.iD)("i",o)):((0,i.wg)(),(0,i.j4)(u,(0,s.vs)((0,i.dG)({key:2},c.computedIconNormalized)),null,16))],6)}var c=n(1478),u={name:"EntityIcon",components:{Icon:c.Z},props:{loading:{type:Boolean,default:!1},error:{type:Boolean,default:!1},entity:{type:Object,required:!0},icon:{type:Object,default:()=>{}},hasColorFill:{type:Boolean,default:!1}},data(){return{component:null,modalVisible:!1}},computed:{computedIcon(){let e={...this.entity?.meta?.icon||{}};return Object.keys(this.icon||{}).length&&(e=this.icon),{...e}},colorFill(){return this.hasColorFill&&this.computedIcon.color},colorFillStyle(){return this.colorFill&&!this.error?{background:this.colorFill}:{}},computedIconNormalized(){const e={...this.computedIcon};return this.colorFill&&delete e.color,e},type(){let e=this.entity.type||"";return e.charAt(0).toUpperCase()+e.slice(1)}}},d=n(3744);const p=(0,d.Z)(u,[["render",r],["__scopeId","data-v-4fad24e6"]]);var m=p},7909:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return a}});var i=n(6813),s={name:"EntityMixin",mixins:[i.Z],emits:["input"],props:{loading:{type:Boolean,default:!1},error:{type:Boolean,default:!1},value:{type:Object,required:!0},parent:{type:Object,default:()=>{}},children:{type:Object,default:()=>{}},level:{type:Number,default:0}},data(){return{modalVisible:!1,collapsed:!0}},computed:{type(){let e=this.value.type||"";return e.split("_").map((e=>e.charAt(0).toUpperCase()+e.slice(1))).join("")}}};const l=s;var a=l},1404:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return P}});var i=n(6252),s=n(3577);const l=e=>((0,i.dD)("data-v-3202268f"),e=e(),(0,i.Cn)(),e),a={class:"row plugin entities-container"},o={class:"col-11 left"},r={class:"col-1 right"},c=l((()=>(0,i._)("i",{class:"fa fa-sync-alt"},null,-1))),u=[c],d={class:"groups-canvas"},p=(0,i.Uk)("No entities found"),m={key:2,class:"groups-container"},h={class:"frame"},y={class:"header"},f={class:"section left"},g={class:"section center"},v=["textContent"],_={class:"section right"},w=["onClick"],C=l((()=>(0,i._)("i",{class:"fa fa-sync-alt"},null,-1))),b=[C],k={class:"body"};function S(e,t,n,l,c,C){const S=(0,i.up)("Loading"),E=(0,i.up)("Selector"),I=(0,i.up)("EntityModal"),D=(0,i.up)("NoItems"),x=(0,i.up)("Icon"),j=(0,i.up)("Entity");return(0,i.wg)(),(0,i.iD)("div",a,[c.loading?((0,i.wg)(),(0,i.j4)(S,{key:0})):(0,i.kq)("",!0),(0,i._)("header",null,[(0,i._)("div",o,[(0,i.Wm)(E,{"entity-groups":C.entityGroups,value:c.selector,onInput:t[0]||(t[0]=e=>c.selector=e)},null,8,["entity-groups","value"])]),(0,i._)("div",r,[(0,i._)("button",{title:"Refresh",onClick:t[1]||(t[1]=(...e)=>C.refresh&&C.refresh(...e))},u)])]),(0,i._)("div",d,[c.modalEntityId&&c.entities[c.modalEntityId]?((0,i.wg)(),(0,i.j4)(I,{key:0,entity:c.entities[c.modalEntityId],parent:c.entities[c.entities[c.modalEntityId].parent_id],children:C.childrenByParentId(c.modalEntityId),visible:c.modalVisible,"config-values":C.configValuesByParentId(c.modalEntityId),onClose:C.onEntityModal,onEntityUpdate:t[2]||(t[2]=e=>c.modalEntityId=e)},null,8,["entity","parent","children","visible","config-values","onClose"])):(0,i.kq)("",!0),Object.keys(C.displayGroups||{})?.length?((0,i.wg)(),(0,i.iD)("div",m,[((0,i.wg)(!0),(0,i.iD)(i.HY,null,(0,i.Ko)(C.displayGroups,(e=>((0,i.wg)(),(0,i.iD)("div",{class:"group fade-in",key:e.name},[(0,i._)("div",h,[(0,i._)("div",y,[(0,i._)("span",f,["category"===c.selector.grouping&&C.entitiesMeta[C.typesByCategory[e.name]]?((0,i.wg)(),(0,i.j4)(x,(0,s.vs)((0,i.dG)({key:0},C.entitiesMeta[C.typesByCategory[e.name]].icon||{})),null,16)):"plugin"===c.selector.grouping&&C.pluginIcons[e.name]?((0,i.wg)(),(0,i.j4)(x,{key:1,class:(0,s.C_)(C.pluginIcons[e.name]?.class),url:C.pluginIcons[e.name]?.imgUrl},null,8,["class","url"])):(0,i.kq)("",!0)]),(0,i._)("span",g,[(0,i._)("div",{class:"title",textContent:(0,s.zw)(e.name)},null,8,v)]),(0,i._)("span",_,[(0,i._)("button",{title:"Refresh",onClick:t=>C.refresh(e)},b,8,w)])]),(0,i._)("div",k,[((0,i.wg)(!0),(0,i.iD)(i.HY,null,(0,i.Ko)(e.entities,(e=>((0,i.wg)(),(0,i.iD)("div",{class:"entity-frame",key:e.id},[e.parent_id?(0,i.kq)("",!0):((0,i.wg)(),(0,i.j4)(j,{key:0,value:e,children:C.childrenByParentId(e.id),onShowModal:t[3]||(t[3]=e=>C.onEntityModal(e)),onInput:t=>C.onEntityInput(e),error:!!c.errorEntities[e.id],loading:!!c.loadingEntities[e.id],onLoading:t=>c.loadingEntities[e.id]=t},null,8,["value","children","onInput","error","loading","onLoading"]))])))),128))])])])))),128))])):((0,i.wg)(),(0,i.j4)(D,{key:1},{default:(0,i.w5)((()=>[p])),_:1}))])])}var E=n(6813),I=n(1232),D=n(1478);const x={class:"no-items-container"},j={class:"no-items fade-in"};function G(e,t,n,s,l,a){return(0,i.wg)(),(0,i.iD)("div",x,[(0,i._)("div",j,[(0,i.WI)(e.$slots,"default",{},void 0,!0)])])}var T={name:"NoItems"},O=n(3744);const q=(0,O.Z)(T,[["render",G],["__scopeId","data-v-6fec32b5"]]);var U=q,$=n(1765),B=n(6518),M=n(9429),L=n(5250),N=n(1359),z=n(7369),F={name:"Entities",components:{Loading:I.Z,Icon:D.Z,Entity:$["default"],Selector:B["default"],NoItems:U,EntityModal:M["default"]},mixins:[E.Z],props:{entityScanTimeout:{type:Number,default:30}},data(){return{loading:!1,loadingEntities:{},errorEntities:{},entityTimeouts:{},entities:{},modalEntityId:null,modalVisible:!1,selector:{grouping:"category",selectedEntities:{}}}},computed:{entitiesMeta(){return z},pluginIcons(){return N},entityTypes(){return this.groupEntities("type")},typesByCategory(){return Object.entries(z).reduce(((e,[t,n])=>(e[n.name_plural]=t,e)),{})},entityGroups(){return{id:Object.entries(this.groupEntities("id")).reduce(((e,[t,n])=>(e[t]=n[0],e)),{}),category:this.groupEntities("category"),plugin:this.groupEntities("plugin")}},displayGroups(){return Object.entries(this.entityGroups[this.selector.grouping]).filter((e=>e[1].filter((e=>!!this.selector.selectedEntities[e.id]&&null==e.parent_id)).length>0)).map((([e,t])=>({name:e,entities:t.filter((e=>e.id in this.selector.selectedEntities))}))).sort(((e,t)=>e.name.localeCompare(t.name)))}},methods:{groupEntities(e){return Object.values(this.entities).filter((e=>null==e.parent_id)).reduce(((t,n)=>{const i=t[n[e]]||{};return i[n.id]=n,t[n[e]]=Object.values(i).sort(((e,t)=>e.name.localeCompare(t.name))),t}),{})},_shouldSkipLoading(e){const t=Object.values(this.childrenByParentId(e.id)),n=t.filter((e=>!e.is_configuration&&!e.is_write_only&&!e.is_query_disabled)).length>0;return e.is_query_disabled||e.is_write_only||t.length&&!n},async refresh(e){const t=(e?e.entities:this.entities)||{},n={};e&&(n.plugins=Object.keys(t.reduce(((e,t)=>(e[t.plugin]=!0,e)),{}))),this.loadingEntities=Object.values(t).reduce(((e,t)=>{if(this._shouldSkipLoading(t))return e;const n=this,i=t.id;return this.entityTimeouts[i]&&clearTimeout(this.entityTimeouts[i]),this.entityTimeouts[i]=setTimeout((()=>{n.loadingEntities[i]&&delete n.loadingEntities[i],n.entityTimeouts[i]&&delete n.entityTimeouts[i],n.errorEntities[i]=t,console.warn(`Scan timeout for ${t.name}`)}),1e3*this.entityScanTimeout),e[i]=!0,e}),{}),await this.request("entities.scan",n)},async sync(){this.loading=!0;try{this.entities=(await this.request("entities.get")).reduce(((e,t)=>(t.name=t?.meta?.name_override||t.name,t.category=z[t.type].name_plural,t.meta={...z[t.type]||{},...t.meta||{}},e[t.id]=t,e)),{}),this.selector.selectedEntities=this.entityGroups.id}finally{this.loading=!1}},childrenByParentId(e){return Object.values(this.entities).filter((t=>t&&t.parent_id===e&&!t.is_configuration)).reduce(((e,t)=>(e[t.id]=t,e)),{})},configValuesByParentId(e){return Object.values(this.entities).filter((t=>t&&t.parent_id===e&&t.is_configuration)).reduce(((e,t)=>(e[t.id]=t,e)),{})},clearEntityTimeouts(e){this.errorEntities[e]&&delete this.errorEntities[e],this.loadingEntities[e]&&delete this.loadingEntities[e],this.entityTimeouts[e]&&(clearTimeout(this.entityTimeouts[e]),delete this.entityTimeouts[e])},onEntityInput(e){e.category=z[e.type].name_plural,this.entities[e.id]=e,this.clearEntityTimeouts(e.id),this.loadingEntities[e.id]&&delete this.loadingEntities[e.id]},onEntityUpdate(e){const t=e.entity.id;if(null==t)return;this.clearEntityTimeouts(t);const n={...e.entity};null==e.entity?.state&&(n.state=this.entities[t]?.state),n.meta?.name_override?.length?n.name=n.meta.name_override:this.entities[t]?.meta?.name_override?.length?n.name=this.entities[t].meta.name_override:n.name=e.entity?.name||this.entities[t]?.name,n.category=z[n.type].name_plural,n.meta={...z[e.entity.type]||{},...this.entities[t]?.meta||{},...e.entity?.meta||{}},this.entities[t]=n,L.$.publishEntity(n)},onEntityDelete(e){const t=e.entity?.id;null!=t&&(t===this.modalEntityId&&(this.modalEntityId=null),this.entities[t]&&delete this.entities[t])},onEntityModal(e){e?(this.modalEntityId=e,this.modalVisible=!0):(this.modalEntityId=null,this.modalVisible=!1)}},async mounted(){this.subscribe(this.onEntityUpdate,"on-entity-update","platypush.message.event.entities.EntityUpdateEvent"),this.subscribe(this.onEntityDelete,"on-entity-delete","platypush.message.event.entities.EntityDeleteEvent"),await this.sync(),await this.refresh()},unmounted(){this.unsubscribe("on-entity-update")}};const Z=(0,O.Z)(F,[["render",S],["__scopeId","data-v-3202268f"]]);var P=Z},9429:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return gt}});var i=n(6252),s=n(3577),l=n(9963);const a=e=>((0,i.dD)("data-v-e7f9b796"),e=e(),(0,i.Cn)(),e),o=(0,i.Uk)(" Are you "),r=a((()=>(0,i._)("b",null,"sure",-1))),c=(0,i.Uk)(" that you want to delete this entity? "),u=a((()=>(0,i._)("br",null,null,-1))),d=a((()=>(0,i._)("br",null,null,-1))),p=(0,i.Uk)(" Note: you should only delete an entity if its plugin has been disabled or the entity is no longer reachable."),m=a((()=>(0,i._)("br",null,null,-1))),h=a((()=>(0,i._)("br",null,null,-1))),y=(0,i.Uk)(" Otherwise, the entity will simply be created again upon the next scan. "),f={class:"table-row"},g={class:"title"},v=(0,i.Uk)(" Name "),_={class:"value"},w=["textContent"],C={class:"table-row"},b={class:"title"},k=(0,i.Uk)(" Icon "),S={class:"value icon-canvas"},E={key:0,class:"icon-editor"},I=a((()=>(0,i._)("i",{class:"fas fa-rotate-left"},null,-1))),D=[I],x=a((()=>(0,i._)("span",{class:"help"},[(0,i.Uk)(" Supported: image URLs or "),(0,i._)("a",{href:"https://fontawesome.com/icons",target:"_blank"},"FontAwesome icon classes"),(0,i.Uk)(". ")],-1))),j={class:"table-row"},G=a((()=>(0,i._)("div",{class:"title"}," Icon color ",-1))),T={class:"value icon-color-picker"},O=["value"],q=a((()=>(0,i._)("i",{class:"fas fa-rotate-left"},null,-1))),U=[q],$={class:"table-row"},B=a((()=>(0,i._)("div",{class:"title"},"Plugin",-1))),M=["textContent"],L={class:"table-row"},N=a((()=>(0,i._)("div",{class:"title"},"Internal ID",-1))),z=["textContent"],F={key:0,class:"table-row"},Z=a((()=>(0,i._)("div",{class:"title"},"External ID",-1))),P=["textContent"],V={key:1,class:"table-row"},W=a((()=>(0,i._)("div",{class:"title"},"Description",-1))),H=["textContent"],R={key:2,class:"table-row"},K=a((()=>(0,i._)("div",{class:"title"},"External URL",-1))),Y={class:"value url"},A=["href","text"],J={key:3,class:"table-row"},Q=a((()=>(0,i._)("div",{class:"title"},"Image",-1))),X={class:"value"},ee=["src"],te={key:4,class:"table-row"},ne=a((()=>(0,i._)("div",{class:"title"},"Parent",-1))),ie={class:"value"},se=["textContent"],le={key:5,class:"table-row"},ae=a((()=>(0,i._)("div",{class:"title"},"Created at",-1))),oe=["textContent"],re={key:6,class:"table-row"},ce=a((()=>(0,i._)("div",{class:"title"},"Updated at",-1))),ue=["textContent"],de=a((()=>(0,i._)("div",{class:"title"},"Delete Entity",-1))),pe={class:"value"},me=a((()=>(0,i._)("i",{class:"fas fa-trash"},null,-1))),he=[me],ye={key:7,class:"section children-container"},fe=a((()=>(0,i._)("div",{class:"col-11"},[(0,i._)("i",{class:"fas fa-sitemap"}),(0,i.Uk)(" Children ")],-1))),ge={class:"col-1 pull-right"},ve={key:0,class:"children-container-info"},_e={class:"title"},we={class:"value"},Ce=["onClick","textContent"],be={class:"section extra-info-container"},ke=a((()=>(0,i._)("div",{class:"col-11"},[(0,i._)("i",{class:"fas fa-circle-info"}),(0,i.Uk)(" Extra Info ")],-1))),Se={class:"col-1 pull-right"},Ee={key:0,class:"extra-info"},Ie={key:0,class:"table-row"},De=["textContent"],xe=["textContent"],je={key:0,class:"table-row"},Ge=["textContent"],Te=["textContent"],Oe={key:8,class:"section config-container"},qe=a((()=>(0,i._)("div",{class:"col-11"},[(0,i._)("i",{class:"fas fa-screwdriver-wrench"}),(0,i.Uk)(" Configuration ")],-1))),Ue={class:"col-1 pull-right"},$e={key:0,class:"entities"};function Be(e,t,n,a,I,q){const me=(0,i.up)("ConfirmDialog"),Be=(0,i.up)("EditButton"),Me=(0,i.up)("NameEditor"),Le=(0,i.up)("Icon"),Ne=(0,i.up)("EntityIcon"),ze=(0,i.up)("Entity"),Fe=(0,i.up)("Modal",!0);return n.entity?((0,i.wg)(),(0,i.j4)(Fe,{key:0,visible:n.visible,class:"entity-modal",title:n.entity.name||n.entity.external_id},{default:(0,i.w5)((()=>[(0,i.Wm)(me,{ref:"deleteConfirmDiag",title:"Confirm entity deletion",onInput:q.onDelete},{default:(0,i.w5)((()=>[o,r,c,u,d,p,m,h,y])),_:1},8,["onInput"]),(0,i._)("div",f,[(0,i._)("div",g,[v,I.editName?(0,i.kq)("",!0):((0,i.wg)(),(0,i.j4)(Be,{key:0,onClick:t[0]||(t[0]=e=>I.editName=!0)}))]),(0,i._)("div",_,[I.editName?((0,i.wg)(),(0,i.j4)(Me,{key:0,value:n.entity.name,onInput:q.onRename,onCancel:t[1]||(t[1]=e=>I.editName=!1),disabled:I.loading},null,8,["value","onInput","disabled"])):((0,i.wg)(),(0,i.iD)("span",{key:1,textContent:(0,s.zw)(n.entity.name)},null,8,w))])]),(0,i._)("div",C,[(0,i._)("div",b,[k,I.editIcon?(0,i.kq)("",!0):((0,i.wg)(),(0,i.j4)(Be,{key:0,onClick:t[2]||(t[2]=e=>I.editIcon=!0)}))]),(0,i._)("div",S,[I.editIcon?((0,i.wg)(),(0,i.iD)("span",E,[(0,i.Wm)(Me,{value:n.entity.meta?.icon?.class||n.entity.meta?.icon?.url,onInput:q.onIconEdit,onCancel:t[5]||(t[5]=e=>I.editIcon=!1),disabled:I.loading},{default:(0,i.w5)((()=>[(0,i._)("button",{type:"button",title:"Reset",onClick:t[3]||(t[3]=e=>q.onIconEdit(null)),onTouch:t[4]||(t[4]=e=>q.onIconEdit(null))},D,32)])),_:1},8,["value","onInput","disabled"]),x])):((0,i.wg)(),(0,i.j4)(Le,(0,s.vs)((0,i.dG)({key:1},n.entity?.meta?.icon||{})),null,16))])]),(0,i._)("div",j,[G,(0,i._)("div",T,[(0,i._)("input",{type:"color",value:n.entity.meta?.icon?.color,onChange:t[6]||(t[6]=(...e)=>q.onIconColorEdit&&q.onIconColorEdit(...e))},null,40,O),(0,i._)("button",{type:"button",title:"Reset",onClick:t[7]||(t[7]=e=>q.onIconColorEdit(null)),onTouch:t[8]||(t[8]=e=>q.onIconColorEdit(null))},U,32)])]),(0,i._)("div",$,[B,(0,i._)("div",{class:"value",textContent:(0,s.zw)(n.entity.plugin)},null,8,M)]),(0,i._)("div",L,[N,(0,i._)("div",{class:"value",textContent:(0,s.zw)(n.entity.id)},null,8,z)]),n.entity.external_id?((0,i.wg)(),(0,i.iD)("div",F,[Z,(0,i._)("div",{class:"value",textContent:(0,s.zw)(n.entity.external_id)},null,8,P)])):(0,i.kq)("",!0),n.entity.description?((0,i.wg)(),(0,i.iD)("div",V,[W,(0,i._)("div",{class:"value",textContent:(0,s.zw)(n.entity.description)},null,8,H)])):(0,i.kq)("",!0),n.entity.external_url?((0,i.wg)(),(0,i.iD)("div",R,[K,(0,i._)("div",Y,[(0,i._)("a",{href:n.entity.external_url,target:"_blank",text:n.entity.external_url},null,8,A)])])):(0,i.kq)("",!0),n.entity.image_url?((0,i.wg)(),(0,i.iD)("div",J,[Q,(0,i._)("div",X,[(0,i._)("img",{class:"entity-image",src:n.entity.image_url},null,8,ee)])])):(0,i.kq)("",!0),n.parent?((0,i.wg)(),(0,i.iD)("div",te,[ne,(0,i._)("div",ie,[(0,i._)("a",{class:"url",onClick:t[9]||(t[9]=t=>e.$emit("entity-update",n.parent.id)),textContent:(0,s.zw)(n.parent.name)},null,8,se)])])):(0,i.kq)("",!0),n.entity.created_at?((0,i.wg)(),(0,i.iD)("div",le,[ae,(0,i._)("div",{class:"value",textContent:(0,s.zw)(e.formatDateTime(n.entity.created_at))},null,8,oe)])):(0,i.kq)("",!0),n.entity.updated_at?((0,i.wg)(),(0,i.iD)("div",re,[ce,(0,i._)("div",{class:"value",textContent:(0,s.zw)(e.formatDateTime(n.entity.updated_at))},null,8,ue)])):(0,i.kq)("",!0),(0,i._)("div",{class:"table-row delete-entity-container",onClick:t[11]||(t[11]=t=>e.$refs.deleteConfirmDiag.show())},[de,(0,i._)("div",pe,[(0,i._)("button",{onClick:t[10]||(t[10]=(0,l.iM)((t=>e.$refs.deleteConfirmDiag.show()),["stop"]))},he)])]),Object.keys(n.children||{}).length?((0,i.wg)(),(0,i.iD)("div",ye,[(0,i._)("div",{class:"title section-title",onClick:t[12]||(t[12]=e=>I.childrenCollapsed=!I.childrenCollapsed)},[fe,(0,i._)("div",ge,[(0,i._)("i",{class:(0,s.C_)(["fas",{"fa-chevron-down":I.childrenCollapsed,"fa-chevron-up":!I.childrenCollapsed}])},null,2)])]),I.childrenCollapsed?(0,i.kq)("",!0):((0,i.wg)(),(0,i.iD)("div",ve,[((0,i.wg)(!0),(0,i.iD)(i.HY,null,(0,i.Ko)(n.children,(t=>((0,i.wg)(),(0,i.iD)("div",{class:(0,s.C_)(["table-row",{hidden:!t.name?.length||t.is_configuration}]),key:t.id},[(0,i._)("div",_e,[(0,i.Wm)(Ne,{entity:n.entity,icon:n.entity.meta?.icon},null,8,["entity","icon"]),(0,i.Uk)(" "+(0,s.zw)(e.prettify(t.type)),1)]),(0,i._)("div",we,[(0,i._)("a",{class:"url",onClick:n=>e.$emit("entity-update",t.id),textContent:(0,s.zw)(t.name)},null,8,Ce)])],2)))),128))]))])):(0,i.kq)("",!0),(0,i._)("div",be,[(0,i._)("div",{class:"title section-title",onClick:t[13]||(t[13]=e=>I.extraInfoCollapsed=!I.extraInfoCollapsed)},[ke,(0,i._)("div",Se,[(0,i._)("i",{class:(0,s.C_)(["fas",{"fa-chevron-down":I.extraInfoCollapsed,"fa-chevron-up":!I.extraInfoCollapsed}])},null,2)])]),I.extraInfoCollapsed?(0,i.kq)("",!0):((0,i.wg)(),(0,i.iD)("div",Ee,[((0,i.wg)(!0),(0,i.iD)(i.HY,null,(0,i.Ko)(n.entity,((t,n)=>((0,i.wg)(),(0,i.iD)("div",{key:n},[null!=t&&I.specialFields.indexOf(n)<0?((0,i.wg)(),(0,i.iD)("div",Ie,[(0,i._)("div",{class:"title",textContent:(0,s.zw)(e.prettify(n))},null,8,De),(0,i._)("div",{class:"value",textContent:(0,s.zw)(q.stringify(t))},null,8,xe)])):(0,i.kq)("",!0)])))),128)),((0,i.wg)(!0),(0,i.iD)(i.HY,null,(0,i.Ko)(n.entity.data||{},((t,n)=>((0,i.wg)(),(0,i.iD)("div",{key:n},[null!=t?((0,i.wg)(),(0,i.iD)("div",je,[(0,i._)("div",{class:"title",textContent:(0,s.zw)(e.prettify(n))},null,8,Ge),(0,i._)("div",{class:"value",textContent:(0,s.zw)(q.stringify(t))},null,8,Te)])):(0,i.kq)("",!0)])))),128))]))]),q.computedConfig.length?((0,i.wg)(),(0,i.iD)("div",Oe,[(0,i._)("div",{class:"title section-title",onClick:t[14]||(t[14]=e=>I.configCollapsed=!I.configCollapsed)},[qe,(0,i._)("div",Ue,[(0,i._)("i",{class:(0,s.C_)(["fas",{"fa-chevron-down":I.configCollapsed,"fa-chevron-up":!I.configCollapsed}])},null,2)])]),I.configCollapsed?(0,i.kq)("",!0):((0,i.wg)(),(0,i.iD)("div",$e,[((0,i.wg)(!0),(0,i.iD)(i.HY,null,(0,i.Ko)(q.computedConfig,(t=>((0,i.wg)(),(0,i.j4)(ze,{key:t.id,value:t,onInput:n=>e.$emit("input",t)},null,8,["value","onInput"])))),128))]))])):(0,i.kq)("",!0)])),_:1},8,["visible","title"])):(0,i.kq)("",!0)}var Me=n(8453),Le=n(1478);const Ne=e=>((0,i.dD)("data-v-d543b3e4"),e=e(),(0,i.Cn)(),e),ze={class:"dialog-content"},Fe=Ne((()=>(0,i._)("i",{class:"fas fa-check"},null,-1))),Ze=Ne((()=>(0,i._)("i",{class:"fas fa-xmark"},null,-1)));function Pe(e,t,n,a,o,r){const c=(0,i.up)("Modal");return(0,i.wg)(),(0,i.j4)(c,{ref:"modal",title:n.title},{default:(0,i.w5)((()=>[(0,i._)("div",ze,[(0,i.WI)(e.$slots,"default",{},void 0,!0)]),(0,i._)("form",{class:"buttons",onSubmit:t[4]||(t[4]=(0,l.iM)(((...e)=>r.onConfirm&&r.onConfirm(...e)),["prevent"]))},[(0,i._)("button",{type:"submit",class:"ok-btn",onClick:t[0]||(t[0]=(...e)=>r.onConfirm&&r.onConfirm(...e)),onTouch:t[1]||(t[1]=(...e)=>r.onConfirm&&r.onConfirm(...e))},[Fe,(0,i.Uk)(" "+(0,s.zw)(n.confirmText),1)],32),(0,i._)("button",{type:"button",class:"cancel-btn",onClick:t[2]||(t[2]=(...e)=>r.close&&r.close(...e)),onTouch:t[3]||(t[3]=(...e)=>r.close&&r.close(...e))},[Ze,(0,i.Uk)(" "+(0,s.zw)(n.cancelText),1)],32)],32)])),_:3},8,["title"])}var Ve={emits:["input","click","touch"],components:{Modal:Me.Z},props:{title:{type:String},confirmText:{type:String,default:"OK"},cancelText:{type:String,default:"Cancel"}},methods:{onConfirm(){this.$emit("input"),this.close()},show(){this.$refs.modal.show()},close(){this.$refs.modal.hide()}}},We=n(3744);const He=(0,We.Z)(Ve,[["render",Pe],["__scopeId","data-v-d543b3e4"]]);var Re=He;const Ke=e=>((0,i.dD)("data-v-3344f2bf"),e=e(),(0,i.Cn)(),e),Ye=Ke((()=>(0,i._)("i",{class:"fas fa-pen-to-square"},null,-1))),Ae=[Ye];function Je(e,t,n,s,l,a){return(0,i.wg)(),(0,i.iD)("button",{class:"edit-btn",onClick:t[0]||(t[0]=e=>a.proxy(e)),onTouch:t[1]||(t[1]=e=>a.proxy(e)),onInput:t[2]||(t[2]=e=>a.proxy(e))},Ae,32)}var Qe={emits:["input","click","touch"],methods:{proxy(e){this.$emit(e.type,e)}}};const Xe=(0,We.Z)(Qe,[["render",Je],["__scopeId","data-v-3344f2bf"]]);var et=Xe,tt=n(3459);const nt=e=>((0,i.dD)("data-v-600cb1a8"),e=e(),(0,i.Cn)(),e),it=["disabled"],st=nt((()=>(0,i._)("button",{type:"submit"},[(0,i._)("i",{class:"fas fa-circle-check"})],-1))),lt=nt((()=>(0,i._)("i",{class:"fas fa-ban"},null,-1))),at=[lt];function ot(e,t,n,s,a,o){return(0,i.wg)(),(0,i.iD)("form",{onSubmit:t[3]||(t[3]=(0,l.iM)(((...e)=>o.submit&&o.submit(...e)),["prevent"])),class:"name-editor"},[(0,i.wy)((0,i._)("input",{type:"text","onUpdate:modelValue":t[0]||(t[0]=e=>a.text=e),disabled:n.disabled,ref:"input"},null,8,it),[[l.nr,a.text]]),st,(0,i._)("button",{class:"cancel",onClick:t[1]||(t[1]=t=>e.$emit("cancel")),onTouch:t[2]||(t[2]=t=>e.$emit("cancel"))},at,32),(0,i.WI)(e.$slots,"default",{},void 0,!0)],32)}var rt={emits:["input","cancel"],props:{value:{type:String},disabled:{type:Boolean,default:!1}},data(){return{text:null}},methods:{proxy(e){this.$emit(e.type,e)},submit(){return this.$emit("input",this.text),!1}},mounted(){this.text=this.value,this.$refs.input.focus()}};const ct=(0,We.Z)(rt,[["render",ot],["__scopeId","data-v-600cb1a8"]]);var ut=ct,dt=n(6813),pt=n(1765),mt=n(7369);const ht=["created_at","data","description","external_id","external_url","id","image_url","is_configuration","meta","name","plugin","updated_at","parent_id"];var yt={name:"EntityModal",components:{Entity:pt["default"],EntityIcon:tt["default"],Modal:Me.Z,EditButton:et,NameEditor:ut,Icon:Le.Z,ConfirmDialog:Re},mixins:[dt.Z],emits:["input","loading","entity-update"],props:{entity:{type:Object,required:!0},parent:{type:Object},children:{type:Object},visible:{type:Boolean,default:!1},configValues:{type:Object,default:()=>{}}},computed:{computedConfig(){return Object.values(this.configValues).sort(((e,t)=>(e.name||"").localeCompare(t.name||"")))}},data(){return{loading:!1,editName:!1,editIcon:!1,configCollapsed:!0,childrenCollapsed:!0,extraInfoCollapsed:!0,specialFields:ht}},methods:{async onRename(e){this.loading=!0;try{const t={};t[this.entity.id]=e,await this.request("entities.rename",t)}finally{this.loading=!1,this.editName=!1}},async onDelete(){this.loading=!0;try{await this.request("entities.delete",[this.entity.id])}finally{this.loading=!1}},async onIconEdit(e){this.loading=!0;try{const t={url:null,class:null};e?.length?e.startsWith("http")?t.url=e:t.class=e:(t.url=(mt[this.entity.type]||{})?.icon?.url,t.class=(mt[this.entity.type]||{})?.icon?.["class"]);const n={};n[this.entity.id]={icon:t},await this.request("entities.set_meta",n)}finally{this.loading=!1,this.editIcon=!1}},async onIconColorEdit(e){this.loading=!0;try{const t=this.entity.meta?.icon||{};t.color=e?e.target.value:null;const n={};n[this.entity.id]={icon:t},await this.request("entities.set_meta",n)}finally{this.loading=!1,this.editIcon=!1}},stringify(e){return null==e?"":Array.isArray(e)||"object"===typeof e?JSON.stringify(e,null,2):""+e}}};const ft=(0,We.Z)(yt,[["render",Be],["__scopeId","data-v-e7f9b796"]]);var gt=ft},6518:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return v}});var i=n(6252),s=n(3577),l=n(9963);const a={class:"entities-selectors-container"},o={class:"selector"},r={key:1,class:"selector"};function c(e,t,n,c,u,d){const p=(0,i.up)("DropdownItem"),m=(0,i.up)("Dropdown");return(0,i.wg)(),(0,i.iD)("div",a,[(0,i._)("div",o,[(0,i.Wm)(m,{title:"Group by","icon-class":"fas fa-object-ungroup",ref:"groupingSelector"},{default:(0,i.w5)((()=>[((0,i.wg)(!0),(0,i.iD)(i.HY,null,(0,i.Ko)(d.visibleGroupings,(e=>((0,i.wg)(),(0,i.j4)(p,{key:e,text:d.prettifyGroupingName(e),"item-class":{selected:n.value?.grouping===e},onClick:t=>d.onGroupingChanged(e)},null,8,["text","item-class","onClick"])))),128))])),_:1},512)]),n.value?.grouping?((0,i.wg)(),(0,i.iD)("div",{key:0,class:(0,s.C_)(["selector",{active:d.isGroupFilterActive}])},[(0,i.Wm)(m,{title:"Filter by","icon-class":"fas fa-filter",ref:"groupSelector","keep-open-on-item-click":""},{default:(0,i.w5)((()=>[((0,i.wg)(!0),(0,i.iD)(i.HY,null,(0,i.Ko)(d.sortedGroups,(e=>((0,i.wg)(),(0,i.j4)(p,(0,i.dG)({key:e,text:e},d.iconForGroup(e),{"item-class":{selected:!!u.selectedGroups[e]},onClick:(0,l.iM)((t=>d.toggleGroup(e)),["stop"])}),null,16,["text","item-class","onClick"])))),128))])),_:1},512)],2)):(0,i.kq)("",!0),Object.keys(n.entityGroups.id||{}).length?((0,i.wg)(),(0,i.iD)("div",r,[(0,i.wy)((0,i._)("input",{ref:"search",type:"text",class:"search-bar",placeholder:"🔎","onUpdate:modelValue":t[0]||(t[0]=e=>u.searchTerm=e)},null,512),[[l.nr,u.searchTerm]])])):(0,i.kq)("",!0)])}var u=n(6813),d=n(5771),p=n(2684),m=n(7369),h=n(1359),y={name:"Selector",emits:["input"],mixins:[u.Z],components:{Dropdown:d.Z,DropdownItem:p.Z},props:{entityGroups:{type:Object,required:!0},value:{type:Object,required:!0}},data(){return{selectedGroups:{},searchTerm:""}},computed:{visibleGroupings(){return Object.keys(this.entityGroups).filter((e=>"id"!==e))},sortedGroups(){return Object.keys(this.entityGroups[this.value?.grouping]||{}).sort()},typesMeta(){return m},isGroupFilterActive(){return Object.keys(this.selectedGroups).length!==this.sortedGroups.length},selectedEntities(){return Object.values(this.entityGroups.id).filter((e=>{if(!this.selectedGroups[e[this.value?.grouping]])return!1;if(this.searchTerm?.length){const t=this.searchTerm.toLowerCase();return(e.name||"").toLowerCase().indexOf(t)>=0||(e.plugin||"").toLowerCase().indexOf(t)>=0||(e.external_id||"").toLowerCase().indexOf(t)>=0||(e.id||0).toString()==t}return!0})).reduce(((e,t)=>(e[t.id]=t,e)),{})}},methods:{prettifyGroupingName(e){return e?(e=this.prettify(e),e.endsWith("y")&&(e=e.slice(0,e.length-1)+"ie"),e+="s",e):""},iconForGroup(e){if("plugin"===this.value.grouping&&h[e]){const t=h[e];return{"icon-class":t["class"]?.length||!t.imgUrl?.length?t["class"]:"fas fa-gears","icon-url":t.imgUrl}}return{}},synchronizeSelectedEntities(){const e={...this.value};e.selectedEntities=this.selectedEntities,this.$emit("input",e)},updateSearchTerm(){const e={...this.value};e.searchTerm=this.searchTerm,e.selectedEntities=this.selectedEntities,this.$emit("input",e)},refreshGroupFilter(e){if(e)this.selectedGroups=Object.keys(this.entityGroups[this.value?.grouping]||{}).reduce(((e,t)=>(e[t]=!0,e)),{});else for(const t of Object.keys(this.entityGroups[this.value?.grouping]))null==this.selectedGroups[t]&&(this.selectedGroups[t]=!0);this.synchronizeSelectedEntities()},toggleGroup(e){this.selectedGroups[e]=!this.selectedGroups[e],this.synchronizeSelectedEntities()},onGroupingChanged(e){if(!this.entityGroups[e]||e===this.value?.grouping)return!1;const t={...this.value};t.grouping=e,this.$emit("input",t)}},mounted(){this.refreshGroupFilter(!0),this.$watch((()=>this.value?.grouping),(()=>{this.refreshGroupFilter(!0)})),this.$watch((()=>this.searchTerm),this.updateSearchTerm),this.$watch((()=>this.entityGroups),(()=>{this.refreshGroupFilter(!1)}))}},f=n(3744);const g=(0,f.Z)(y,[["render",c],["__scopeId","data-v-7babaacc"]]);var v=g},7243:function(e,t,n){var i={"./Battery":[9651,9,9651],"./Battery.vue":[9651,9,9651],"./BinarySensor":[7549,9,3490,7549],"./BinarySensor.vue":[7549,9,3490,7549],"./BluetoothDevice":[9767,9,3490,9767],"./BluetoothDevice.vue":[9767,9,3490,9767],"./BluetoothService":[5498,9,3490,5498],"./BluetoothService.vue":[5498,9,3490,5498],"./Button":[8625,9,8475,8625],"./Button.vue":[8625,9,8475,8625],"./CloudInstance":[2018,9,2018],"./CloudInstance.vue":[2018,9,2018],"./CompositeSensor":[7367,9,8475,7367],"./CompositeSensor.vue":[7367,9,8475,7367],"./ContactSensor":[7549,9,3490,7549],"./ContactSensor.vue":[7549,9,3490,7549],"./CurrentSensor":[7367,9,8475,7367],"./CurrentSensor.vue":[7367,9,8475,7367],"./Device":[2018,9,2018],"./Device.vue":[2018,9,2018],"./DewPointSensor":[7367,9,8475,7367],"./DewPointSensor.vue":[7367,9,8475,7367],"./Dimmer":[359,9,7782,359],"./Dimmer.vue":[359,9,7782,359],"./DistanceSensor":[7367,9,8475,7367],"./DistanceSensor.vue":[7367,9,8475,7367],"./EnergySensor":[7367,9,8475,7367],"./EnergySensor.vue":[7367,9,8475,7367],"./Entity":[1765,9],"./Entity.vue":[1765,9],"./EntityIcon":[3459,9],"./EntityIcon.vue":[3459,9],"./EntityMixin":[7909,9],"./EntityMixin.vue":[7909,9],"./EnumSensor":[8625,9,8475,8625],"./EnumSensor.vue":[8625,9,8475,8625],"./EnumSwitch":[2306,9,2306],"./EnumSwitch.vue":[2306,9,2306],"./HeartRateSensor":[7367,9,8475,7367],"./HeartRateSensor.vue":[7367,9,8475,7367],"./HumiditySensor":[7367,9,8475,7367],"./HumiditySensor.vue":[7367,9,8475,7367],"./IlluminanceSensor":[7367,9,8475,7367],"./IlluminanceSensor.vue":[7367,9,8475,7367],"./Index":[1404,9],"./Index.vue":[1404,9],"./Light":[2315,9,7782,3490,2315],"./Light.vue":[2315,9,7782,3490,2315],"./LinkQuality":[8126,9,8126],"./LinkQuality.vue":[8126,9,8126],"./Modal":[9429,9],"./Modal.vue":[9429,9],"./MotionSensor":[7367,9,8475,7367],"./MotionSensor.vue":[7367,9,8475,7367],"./Muted":[3303,9,3490,3303],"./Muted.vue":[3303,9,3490,3303],"./NumericSensor":[7367,9,8475,7367],"./NumericSensor.vue":[7367,9,8475,7367],"./PowerSensor":[7367,9,8475,7367],"./PowerSensor.vue":[7367,9,8475,7367],"./PresenceSensor":[7549,9,3490,7549],"./PresenceSensor.vue":[7549,9,3490,7549],"./PressureSensor":[7367,9,8475,7367],"./PressureSensor.vue":[7367,9,8475,7367],"./RawSensor":[7367,9,8475,7367],"./RawSensor.vue":[7367,9,8475,7367],"./Selector":[6518,9],"./Selector.vue":[6518,9],"./Sensor":[7367,9,8475,7367],"./Sensor.vue":[7367,9,8475,7367],"./StepsSensor":[7367,9,8475,7367],"./StepsSensor.vue":[7367,9,8475,7367],"./Switch":[3303,9,3490,3303],"./Switch.vue":[3303,9,3490,3303],"./TemperatureSensor":[7367,9,8475,7367],"./TemperatureSensor.vue":[7367,9,8475,7367],"./TimeDurationSensor":[7367,9,8475,7367],"./TimeDurationSensor.vue":[7367,9,8475,7367],"./VoltageSensor":[7367,9,8475,7367],"./VoltageSensor.vue":[7367,9,8475,7367],"./Volume":[359,9,7782,359],"./Volume.vue":[359,9,7782,359],"./WeightSensor":[7367,9,8475,7367],"./WeightSensor.vue":[7367,9,8475,7367],"./common.scss":[65,9,4981,65],"./meta":[7369,3],"./meta.json":[7369,3],"./vars.scss":[5207,9,4981,5207]};function s(e){if(!n.o(i,e))return Promise.resolve().then((function(){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}));var t=i[e],s=t[0];return Promise.all(t.slice(2).map(n.e)).then((function(){return n.t(s,16|t[1])}))}s.keys=function(){return Object.keys(i)},s.id=7243,e.exports=s},3540:function(e,t,n){"use strict";e.exports=n.p+"static/img/spinner.c0bee445.gif"},7369:function(e){"use strict";e.exports=JSON.parse('{"battery":{"name":"Battery","name_plural":"Batteries","icon":{"class":"fas fa-battery-full"}},"button":{"name":"Button","name_plural":"Buttons","icon":{"class":"fas fa-circle-dot"}},"current_sensor":{"name":"Sensor","name_plural":"Sensors","icon":{"class":"fas fa-bolt"}},"motion_sensor":{"name":"Sensor","name_plural":"Sensors","icon":{"class":"fas fa-person-running"}},"distance_sensor":{"name":"Sensor","name_plural":"Sensors","icon":{"class":"fas fa-ruler-horizontal"}},"bluetooth_device":{"name":"Device","name_plural":"Devices","icon":{"class":"fab fa-bluetooth-b"}},"cloud_instance":{"name":"Cloud Entity","name_plural":"Cloud Entities","icon":{"class":"fas fa-cloud"}},"bluetooth_service":{"name":"Service","name_plural":"Services","icon":{"class":"fas fa-satellite-dish"}},"device":{"name":"Device","name_plural":"Devices","icon":{"class":"fas fa-gear"}},"volume":{"name":"Dimmer","name_plural":"Dimmers","icon":{"class":"fas fa-volume-high"}},"dimmer":{"name":"Dimmer","name_plural":"Dimmers","icon":{"class":"fas fa-gauge"}},"energy_sensor":{"name":"Sensor","name_plural":"Sensors","icon":{"class":"fas fa-plug"}},"entity":{"name":"Entity","name_plural":"Entities","icon":{"class":"fas fa-circle-question"}},"humidity_sensor":{"name":"Sensor","name_plural":"Sensors","icon":{"class":"fas fa-droplet"}},"dew_point_sensor":{"name":"Sensor","name_plural":"Sensors","icon":{"class":"fas fa-hand-holding-droplet"}},"illuminance_sensor":{"name":"Sensor","name_plural":"Sensors","icon":{"class":"fas fa-sun"}},"light":{"name":"Light","name_plural":"Lights","icon":{"class":"fas fa-lightbulb"}},"contact_sensor":{"name":"Sensor","name_plural":"Sensors","icon":{"class":"far fa-hand"}},"presence_sensor":{"name":"Sensor","name_plural":"Sensors","icon":{"class":"fas fa-person"}},"weight_sensor":{"name":"Sensor","name_plural":"Sensors","icon":{"class":"fas fa-weight-scale"}},"link_quality":{"name":"Link Quality","name_plural":"Link Qualities","icon":{"class":"fas fa-tower-broadcast"}},"power_sensor":{"name":"Sensor","name_plural":"Sensors","icon":{"class":"fas fa-plug"}},"temperature_sensor":{"name":"Sensor","name_plural":"Sensors","icon":{"class":"fas fa-temperature-half"}},"steps_sensor":{"name":"Sensor","name_plural":"Sensors","icon":{"class":"fas fa-shoe-prints"}},"heart_rate_sensor":{"name":"Sensor","name_plural":"Sensors","icon":{"class":"fas fa-heart-pulse"}},"time_duration_sensor":{"name":"Sensor","name_plural":"Sensors","icon":{"class":"fas fa-clock"}},"pressure_sensor":{"name":"Sensor","name_plural":"Sensors","icon":{"class":"fas fa-gauge"}},"muted":{"name":"Switch","name_plural":"Switches","icon":{"class":"fas fa-volume-xmark"}},"enum_switch":{"name":"Switch","name_plural":"Switches","icon":{"class":"fas fa-gauge"}},"switch":{"name":"Switch","name_plural":"Switches","icon":{"class":"fas fa-toggle-on"}},"voltage_sensor":{"name":"Sensor","name_plural":"Sensors","icon":{"class":"fas fa-car-battery"}},"composite_sensor":{"name":"Sensor","name_plural":"Sensors","icon":{"class":"fas fa-thermometer"}},"binary_sensor":{"name":"Sensor","name_plural":"Sensors","icon":{"class":"fas fa-thermometer"}},"numeric_sensor":{"name":"Sensor","name_plural":"Sensors","icon":{"class":"fas fa-thermometer"}},"enum_sensor":{"name":"Sensor","name_plural":"Sensors","icon":{"class":"fas fa-thermometer"}},"raw_sensor":{"name":"Sensor","name_plural":"Sensors","icon":{"class":"fas fa-thermometer"}},"sensor":{"name":"Sensor","name_plural":"Sensors","icon":{"class":"fas fa-thermometer"}}}')}}]);
-//# sourceMappingURL=1765.9169acca.js.map
\ No newline at end of file
diff --git a/platypush/backend/http/webapp/dist/static/js/1765.9169acca.js.map b/platypush/backend/http/webapp/dist/static/js/1765.9169acca.js.map
deleted file mode 100644
index cf152b5a8d..0000000000
--- a/platypush/backend/http/webapp/dist/static/js/1765.9169acca.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"static/js/1765.9169acca.js","mappings":"gNA0BSA,MAAM,oB,wEAzBb,QAoCM,OApCDA,OAAK,SAAC,2BAA0B,iBACP,EAAAC,YAAW,UAAa,EAAAC,YAAW,QAAW,EAAAC,OAAOC,MAAMC,WADzF,EAEE,OAqBM,OArBDL,OAAK,SAAC,4BAA2B,iBACP,EAAAC,YAAW,UAAa,EAAAC,YAAW,MAAS,EAAAI,gBAD3E,EAEE,OAaM,OAbDN,OAAK,SAAC,WAAU,WAAqB,EAAAC,YAAW,SAAY,EAAAA,gBAAjE,cACE,SAWE,QAVK,EAAAM,WAAS,CACbJ,MAAO,EAAAA,MACPK,OAAQ,EAAAA,OACRC,SAAU,EAAAC,iBACVC,QAAS,EAAAA,QACVC,IAAI,WACHC,MAAO,EAAAA,OAAyB,GAAhB,EAAAV,OAAOW,UACvB,QAAO,EAAAC,QACP,QAAK,eAAE,EAAAC,MAAK,QAAUC,IACtB,UAAO,eAAE,EAAAD,MA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AAyB,CACxB,KACA,EACA,KACA,MAED,qBAAsB,CACrB,KACA,EACA,KACA,MAED,yBAA0B,CACzB,KACA,EACA,KACA,MAED,WAAY,CACX,KACA,EACA,KACA,MAED,eAAgB,CACf,KACA,EACA,KACA,MAED,kBAAmB,CAClB,KACA,EACA,MAED,sBAAuB,CACtB,KACA,EACA,MAED,oBAAqB,CACpB,KACA,EACA,KACA,MAED,wBAAyB,CACxB,KACA,EACA,KACA,MAED,kBAAmB,CAClB,KACA,EACA,KACA,MAED,sBAAuB,CACtB,KACA,EACA,KACA,MAED,kBAAmB,CAClB,KACA,EACA,KACA,MAED,sBAAuB,CACtB,KACA,EACA,KACA,MAED,WAAY,CACX,KACA,EACA,MAED,eAAgB,CACf,KACA,EACA,MAED,mBAAoB,CACnB,KACA,EACA,KACA,MAED,uBAAwB,CACvB,KACA,EACA,KACA,MAED,WAAY,CACX,IACA,EACA,KACA,KAED,eAAgB,CACf,IACA,EACA,KACA,KAED,mBAAoB,CACnB,KACA,EACA,KACA,MAED,uBAAwB,CACvB,KACA,EACA,KACA,MAED,iBAAkB,CACjB,KACA,EACA,KACA,MAED,qBAAsB,CACrB,KACA,EACA,KACA,MAED,WAAY,CACX,KACA,GAED,eAAgB,CACf,KACA,GAED,eAAgB,CACf,KACA,GAED,mBAAoB,CACnB,KACA,GAED,gBAAiB,CAChB,KACA,GAED,oBAAqB,CACpB,KACA,GAED,eAAgB,CACf,KACA,EACA,KACA,MAED,mBAAoB,CACnB,KACA,EACA,KACA,MAED,eAAgB,CACf,KACA,EACA,MAED,mBAAoB,CACnB,KACA,EACA,MAED,oBAAqB,CACpB,KACA,EACA,KACA,MAED,wBAAyB,CACxB,KACA,EACA,KACA,MAED,mBAAoB,CACnB,KACA,EACA,KACA,MAED,uBAAwB,CACvB,KACA,EACA,KACA,MAED,sBAAuB,CACtB,KACA,EACA,KACA,MAED,0BAA2B,CAC1B,KACA,EACA,KACA,MAED,UAAW,CACV,KACA,GAED,cAAe,CACd,KACA,GAED,UAAW,CACV,KACA,EACA,KACA,KACA,MAED,cAAe,CACd,KACA,EACA,KACA,KACA,MAED,gBAAiB,CAChB,KACA,EACA,MAED,oBAAqB,CACpB,KACA,EACA,MAED,UAAW,CACV,KACA,GAED,cAAe,CACd,KACA,GAED,iBAAkB,CACjB,KACA,EACA,KACA,MAED,qBAAsB,CACrB,KACA,EACA,KACA,MAED,UAAW,CACV,KACA,EACA,KACA,MAED,cAAe,CACd,KACA,EACA,KACA,MAED,kBAAmB,CAClB,KACA,EACA,KACA,MAED,sBAAuB,CACtB,KACA,EACA,KACA,MAED,gBAAiB,CAChB,KACA,EACA,KACA,MAED,oBAAqB,CACpB,KACA,EACA,KACA,MAED,mBAAoB,CACnB,KACA,EACA,KACA,MAED,uBAAwB,CACvB,KACA,EACA,KACA,MAED,mBAAoB,CACnB,KACA,EACA,KACA,MAED,uBAAwB,CACvB,KACA,EACA,KACA,MAED,cAAe,CACd,KACA,EACA,KACA,MAED,kBAAmB,CAClB,KACA,EACA,KACA,MAED,aAAc,CACb,KACA,GAED,iBAAkB,CACjB,KACA,GAED,WAAY,CACX,KACA,EACA,KACA,MAED,eAAgB,CACf,KACA,EACA,KACA,MAED,gBAAiB,CAChB,KACA,EACA,KACA,MAED,oBAAqB,CACpB,KACA,EACA,KACA,MAED,WAAY,CACX,KACA,EACA,KACA,MAED,eAAgB,CACf,KACA,EACA,KACA,MAED,sBAAuB,CACtB,KACA,EACA,KACA,MAED,0BAA2B,CAC1B,KACA,EACA,KACA,MAED,uBAAwB,CACvB,KACA,EACA,KACA,MAED,2BAA4B,CAC3B,KACA,EACA,KACA,MAED,kBAAmB,CAClB,KACA,EACA,KACA,MAED,sBAAuB,CACtB,KACA,EACA,KACA,MAED,WAAY,CACX,IACA,EACA,KACA,KAED,eAAgB,CACf,IACA,EACA,KACA,KAED,iBAAkB,CACjB,KACA,EACA,KACA,MAED,qBAAsB,CACrB,KACA,EACA,KACA,MAED,gBAAiB,CAChB,GACA,EACA,KACA,IAED,SAAU,CACT,KACA,GAED,cAAe,CACd,KACA,GAED,cAAe,CACd,KACA,EACA,KACA,OAGF,SAASyK,EAAoB5B,GAC5B,IAAI6B,EAAoBC,EAAE3K,EAAK6I,GAC9B,OAAO+B,QAAQC,UAAUC,MAAK,WAC7B,IAAItG,EAAI,IAAIuG,MAAM,uBAAyBlC,EAAM,KAEjD,MADArE,EAAEwG,KAAO,mBACHxG,CACP,IAGD,IAAIyG,EAAMjL,EAAI6I,GAAM/K,EAAKmN,EAAI,GAC7B,OAAOL,QAAQM,IAAID,EAAI9K,MAAM,GAAGH,IAAI0K,EAAoBlG,IAAIsG,MAAK,WAChE,OAAOJ,EAAoBzK,EAAEnC,EAAa,GAATmN,EAAI,GACtC,GACD,CACAR,EAAoB9I,KAAO,WAAa,OAAOtD,OAAOsD,KAAK3B,EAAM,EACjEyK,EAAoB3M,GAAK,KACzBqN,EAAOC,QAAUX,C","sources":["webpack://platypush/./src/components/panels/Entities/Entity.vue","webpack://platypush/./src/components/panels/Entities/Entity.vue?6f8a","webpack://platypush/./src/components/panels/Entities/EntityIcon.vue","webpack://platypush/./src/components/panels/Entities/EntityIcon.vue?8abc","webpack://platypush/./src/components/panels/Entities/EntityMixin.vue","webpack://platypush/./src/components/panels/Entities/EntityMixin.vue?a9b3","webpack://platypush/./src/components/panels/Entities/Index.vue","webpack://platypush/./src/components/elements/NoItems.vue","webpack://platypush/./src/components/elements/NoItems.vue?70de","webpack://platypush/./src/components/panels/Entities/Index.vue?4523","webpack://platypush/./src/components/panels/Entities/Modal.vue","webpack://platypush/./src/components/elements/ConfirmDialog.vue","webpack://platypush/./src/components/elements/ConfirmDialog.vue?f384","webpack://platypush/./src/components/elements/EditButton.vue","webpack://platypush/./src/components/elements/EditButton.vue?fb20","webpack://platypush/./src/components/elements/NameEditor.vue","webpack://platypush/./src/components/elements/NameEditor.vue?34cf","webpack://platypush/./src/components/panels/Entities/Modal.vue?d45a","webpack://platypush/./src/components/panels/Entities/Selector.vue","webpack://platypush/./src/components/panels/Entities/Selector.vue?bf8b","webpack://platypush/./src/components/panels/Entities|lazy|/^\\.\\/.*$/|groupOptions: {}|namespace object"],"sourcesContent":["\n \n \n\n\n\n\n","import { render } from \"./Entity.vue?vue&type=template&id=b22d107a&scoped=true\"\nimport script from \"./Entity.vue?vue&type=script&lang=js\"\nexport * from \"./Entity.vue?vue&type=script&lang=js\"\n\nimport \"./Entity.vue?vue&type=style&index=0&id=b22d107a&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-b22d107a\"]])\n\nexport default __exports__","\n \n
\n
\n
\n
\n \n\n\n\n\n","import { render } from \"./EntityIcon.vue?vue&type=template&id=4fad24e6&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=4fad24e6&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-4fad24e6\"]])\n\nexport default __exports__","\n","import script from \"./EntityMixin.vue?vue&type=script&lang=js\"\nexport * from \"./EntityMixin.vue?vue&type=script&lang=js\"\n\nconst __exports__ = script;\n\nexport default __exports__","\n \n
\n\n
\n \n \n
\n\n \n \n \n \n
\n \n\n
\n
\n\n
No entities found \n\n
\n
\n
\n \n\n\n\n\n","\n\n \n\n\n\n\n","import { render } from \"./NoItems.vue?vue&type=template&id=6fec32b5&scoped=true\"\nimport script from \"./NoItems.vue?vue&type=script&lang=js\"\nexport * from \"./NoItems.vue?vue&type=script&lang=js\"\n\nimport \"./NoItems.vue?vue&type=style&index=0&id=6fec32b5&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-6fec32b5\"]])\n\nexport default __exports__","import { render } from \"./Index.vue?vue&type=template&id=3202268f&scoped=true\"\nimport script from \"./Index.vue?vue&type=script&lang=js\"\nexport * from \"./Index.vue?vue&type=script&lang=js\"\n\nimport \"./Index.vue?vue&type=style&index=0&id=3202268f&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-3202268f\"]])\n\nexport default __exports__","\n \n \n Are you sure that you want to delete this entity? \n Note: you should only delete an entity if its plugin has been disabled\n or the entity is no longer reachable. \n Otherwise, the entity will simply be created again upon the next scan.\n \n\n \n
\n Name\n \n
\n
\n \n \n
\n
\n\n \n\n \n
\n Icon color\n
\n
\n \n \n \n \n
\n
\n\n \n\n \n\n \n\n \n\n \n\n \n
Image
\n
\n
\n
\n
\n\n \n\n \n\n \n\n \n
Delete Entity
\n
\n \n \n \n
\n
\n\n \n
\n
\n \n Children\n
\n\n
\n \n
\n
\n\n
\n
\n
\n \n {{ prettify(child.type) }}\n
\n
\n
\n
\n
\n\n \n
\n
\n \n Extra Info\n
\n\n
\n \n
\n
\n\n \n
\n\n \n
\n
\n \n Configuration\n
\n\n
\n \n
\n
\n\n
\n \n
\n
\n \n \n\n\n\n\n","\n \n \n \n
\n\n \n \n \n\n\n\n\n","import { render } from \"./ConfirmDialog.vue?vue&type=template&id=d543b3e4&scoped=true\"\nimport script from \"./ConfirmDialog.vue?vue&type=script&lang=js\"\nexport * from \"./ConfirmDialog.vue?vue&type=script&lang=js\"\n\nimport \"./ConfirmDialog.vue?vue&type=style&index=0&id=d543b3e4&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-d543b3e4\"]])\n\nexport default __exports__","\n \n \n \n \n\n\n\n\n","import { render } from \"./EditButton.vue?vue&type=template&id=3344f2bf&scoped=true\"\nimport script from \"./EditButton.vue?vue&type=script&lang=js\"\nexport * from \"./EditButton.vue?vue&type=script&lang=js\"\n\nimport \"./EditButton.vue?vue&type=style&index=0&id=3344f2bf&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-3344f2bf\"]])\n\nexport default __exports__","\n \n \n\n\n\n\n","import { render } from \"./NameEditor.vue?vue&type=template&id=600cb1a8&scoped=true\"\nimport script from \"./NameEditor.vue?vue&type=script&lang=js\"\nexport * from \"./NameEditor.vue?vue&type=script&lang=js\"\n\nimport \"./NameEditor.vue?vue&type=style&index=0&id=600cb1a8&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-600cb1a8\"]])\n\nexport default __exports__","import { render } from \"./Modal.vue?vue&type=template&id=e7f9b796&scoped=true\"\nimport script from \"./Modal.vue?vue&type=script&lang=js\"\nexport * from \"./Modal.vue?vue&type=script&lang=js\"\n\nimport \"./Modal.vue?vue&type=style&index=0&id=e7f9b796&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-e7f9b796\"]])\n\nexport default __exports__","\n \n
\n \n \n \n
\n\n
\n \n \n \n
\n\n
\n \n
\n
\n \n\n\n\n\n","import { render } from \"./Selector.vue?vue&type=template&id=7babaacc&scoped=true\"\nimport script from \"./Selector.vue?vue&type=script&lang=js\"\nexport * from \"./Selector.vue?vue&type=script&lang=js\"\n\nimport \"./Selector.vue?vue&type=style&index=0&id=7babaacc&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-7babaacc\"]])\n\nexport default __exports__","var map = {\n\t\"./Battery\": [\n\t\t9651,\n\t\t9,\n\t\t9651\n\t],\n\t\"./Battery.vue\": [\n\t\t9651,\n\t\t9,\n\t\t9651\n\t],\n\t\"./BinarySensor\": [\n\t\t7549,\n\t\t9,\n\t\t3490,\n\t\t7549\n\t],\n\t\"./BinarySensor.vue\": [\n\t\t7549,\n\t\t9,\n\t\t3490,\n\t\t7549\n\t],\n\t\"./BluetoothDevice\": [\n\t\t9767,\n\t\t9,\n\t\t3490,\n\t\t9767\n\t],\n\t\"./BluetoothDevice.vue\": [\n\t\t9767,\n\t\t9,\n\t\t3490,\n\t\t9767\n\t],\n\t\"./BluetoothService\": [\n\t\t5498,\n\t\t9,\n\t\t3490,\n\t\t5498\n\t],\n\t\"./BluetoothService.vue\": [\n\t\t5498,\n\t\t9,\n\t\t3490,\n\t\t5498\n\t],\n\t\"./Button\": [\n\t\t8625,\n\t\t9,\n\t\t8475,\n\t\t8625\n\t],\n\t\"./Button.vue\": [\n\t\t8625,\n\t\t9,\n\t\t8475,\n\t\t8625\n\t],\n\t\"./CloudInstance\": [\n\t\t2018,\n\t\t9,\n\t\t2018\n\t],\n\t\"./CloudInstance.vue\": [\n\t\t2018,\n\t\t9,\n\t\t2018\n\t],\n\t\"./CompositeSensor\": [\n\t\t7367,\n\t\t9,\n\t\t8475,\n\t\t7367\n\t],\n\t\"./CompositeSensor.vue\": [\n\t\t7367,\n\t\t9,\n\t\t8475,\n\t\t7367\n\t],\n\t\"./ContactSensor\": [\n\t\t7549,\n\t\t9,\n\t\t3490,\n\t\t7549\n\t],\n\t\"./ContactSensor.vue\": [\n\t\t7549,\n\t\t9,\n\t\t3490,\n\t\t7549\n\t],\n\t\"./CurrentSensor\": [\n\t\t7367,\n\t\t9,\n\t\t8475,\n\t\t7367\n\t],\n\t\"./CurrentSensor.vue\": [\n\t\t7367,\n\t\t9,\n\t\t8475,\n\t\t7367\n\t],\n\t\"./Device\": [\n\t\t2018,\n\t\t9,\n\t\t2018\n\t],\n\t\"./Device.vue\": [\n\t\t2018,\n\t\t9,\n\t\t2018\n\t],\n\t\"./DewPointSensor\": [\n\t\t7367,\n\t\t9,\n\t\t8475,\n\t\t7367\n\t],\n\t\"./DewPointSensor.vue\": [\n\t\t7367,\n\t\t9,\n\t\t8475,\n\t\t7367\n\t],\n\t\"./Dimmer\": [\n\t\t359,\n\t\t9,\n\t\t7782,\n\t\t359\n\t],\n\t\"./Dimmer.vue\": [\n\t\t359,\n\t\t9,\n\t\t7782,\n\t\t359\n\t],\n\t\"./DistanceSensor\": [\n\t\t7367,\n\t\t9,\n\t\t8475,\n\t\t7367\n\t],\n\t\"./DistanceSensor.vue\": [\n\t\t7367,\n\t\t9,\n\t\t8475,\n\t\t7367\n\t],\n\t\"./EnergySensor\": [\n\t\t7367,\n\t\t9,\n\t\t8475,\n\t\t7367\n\t],\n\t\"./EnergySensor.vue\": [\n\t\t7367,\n\t\t9,\n\t\t8475,\n\t\t7367\n\t],\n\t\"./Entity\": [\n\t\t1765,\n\t\t9\n\t],\n\t\"./Entity.vue\": [\n\t\t1765,\n\t\t9\n\t],\n\t\"./EntityIcon\": [\n\t\t3459,\n\t\t9\n\t],\n\t\"./EntityIcon.vue\": [\n\t\t3459,\n\t\t9\n\t],\n\t\"./EntityMixin\": [\n\t\t7909,\n\t\t9\n\t],\n\t\"./EntityMixin.vue\": [\n\t\t7909,\n\t\t9\n\t],\n\t\"./EnumSensor\": [\n\t\t8625,\n\t\t9,\n\t\t8475,\n\t\t8625\n\t],\n\t\"./EnumSensor.vue\": [\n\t\t8625,\n\t\t9,\n\t\t8475,\n\t\t8625\n\t],\n\t\"./EnumSwitch\": [\n\t\t2306,\n\t\t9,\n\t\t2306\n\t],\n\t\"./EnumSwitch.vue\": [\n\t\t2306,\n\t\t9,\n\t\t2306\n\t],\n\t\"./HeartRateSensor\": [\n\t\t7367,\n\t\t9,\n\t\t8475,\n\t\t7367\n\t],\n\t\"./HeartRateSensor.vue\": [\n\t\t7367,\n\t\t9,\n\t\t8475,\n\t\t7367\n\t],\n\t\"./HumiditySensor\": [\n\t\t7367,\n\t\t9,\n\t\t8475,\n\t\t7367\n\t],\n\t\"./HumiditySensor.vue\": [\n\t\t7367,\n\t\t9,\n\t\t8475,\n\t\t7367\n\t],\n\t\"./IlluminanceSensor\": [\n\t\t7367,\n\t\t9,\n\t\t8475,\n\t\t7367\n\t],\n\t\"./IlluminanceSensor.vue\": [\n\t\t7367,\n\t\t9,\n\t\t8475,\n\t\t7367\n\t],\n\t\"./Index\": [\n\t\t1404,\n\t\t9\n\t],\n\t\"./Index.vue\": [\n\t\t1404,\n\t\t9\n\t],\n\t\"./Light\": [\n\t\t2315,\n\t\t9,\n\t\t7782,\n\t\t3490,\n\t\t2315\n\t],\n\t\"./Light.vue\": [\n\t\t2315,\n\t\t9,\n\t\t7782,\n\t\t3490,\n\t\t2315\n\t],\n\t\"./LinkQuality\": [\n\t\t8126,\n\t\t9,\n\t\t8126\n\t],\n\t\"./LinkQuality.vue\": [\n\t\t8126,\n\t\t9,\n\t\t8126\n\t],\n\t\"./Modal\": [\n\t\t9429,\n\t\t9\n\t],\n\t\"./Modal.vue\": [\n\t\t9429,\n\t\t9\n\t],\n\t\"./MotionSensor\": [\n\t\t7367,\n\t\t9,\n\t\t8475,\n\t\t7367\n\t],\n\t\"./MotionSensor.vue\": [\n\t\t7367,\n\t\t9,\n\t\t8475,\n\t\t7367\n\t],\n\t\"./Muted\": [\n\t\t3303,\n\t\t9,\n\t\t3490,\n\t\t3303\n\t],\n\t\"./Muted.vue\": [\n\t\t3303,\n\t\t9,\n\t\t3490,\n\t\t3303\n\t],\n\t\"./NumericSensor\": [\n\t\t7367,\n\t\t9,\n\t\t8475,\n\t\t7367\n\t],\n\t\"./NumericSensor.vue\": [\n\t\t7367,\n\t\t9,\n\t\t8475,\n\t\t7367\n\t],\n\t\"./PowerSensor\": [\n\t\t7367,\n\t\t9,\n\t\t8475,\n\t\t7367\n\t],\n\t\"./PowerSensor.vue\": [\n\t\t7367,\n\t\t9,\n\t\t8475,\n\t\t7367\n\t],\n\t\"./PresenceSensor\": [\n\t\t7549,\n\t\t9,\n\t\t3490,\n\t\t7549\n\t],\n\t\"./PresenceSensor.vue\": [\n\t\t7549,\n\t\t9,\n\t\t3490,\n\t\t7549\n\t],\n\t\"./PressureSensor\": [\n\t\t7367,\n\t\t9,\n\t\t8475,\n\t\t7367\n\t],\n\t\"./PressureSensor.vue\": [\n\t\t7367,\n\t\t9,\n\t\t8475,\n\t\t7367\n\t],\n\t\"./RawSensor\": [\n\t\t7367,\n\t\t9,\n\t\t8475,\n\t\t7367\n\t],\n\t\"./RawSensor.vue\": [\n\t\t7367,\n\t\t9,\n\t\t8475,\n\t\t7367\n\t],\n\t\"./Selector\": [\n\t\t6518,\n\t\t9\n\t],\n\t\"./Selector.vue\": [\n\t\t6518,\n\t\t9\n\t],\n\t\"./Sensor\": [\n\t\t7367,\n\t\t9,\n\t\t8475,\n\t\t7367\n\t],\n\t\"./Sensor.vue\": [\n\t\t7367,\n\t\t9,\n\t\t8475,\n\t\t7367\n\t],\n\t\"./StepsSensor\": [\n\t\t7367,\n\t\t9,\n\t\t8475,\n\t\t7367\n\t],\n\t\"./StepsSensor.vue\": [\n\t\t7367,\n\t\t9,\n\t\t8475,\n\t\t7367\n\t],\n\t\"./Switch\": [\n\t\t3303,\n\t\t9,\n\t\t3490,\n\t\t3303\n\t],\n\t\"./Switch.vue\": [\n\t\t3303,\n\t\t9,\n\t\t3490,\n\t\t3303\n\t],\n\t\"./TemperatureSensor\": [\n\t\t7367,\n\t\t9,\n\t\t8475,\n\t\t7367\n\t],\n\t\"./TemperatureSensor.vue\": [\n\t\t7367,\n\t\t9,\n\t\t8475,\n\t\t7367\n\t],\n\t\"./TimeDurationSensor\": [\n\t\t7367,\n\t\t9,\n\t\t8475,\n\t\t7367\n\t],\n\t\"./TimeDurationSensor.vue\": [\n\t\t7367,\n\t\t9,\n\t\t8475,\n\t\t7367\n\t],\n\t\"./VoltageSensor\": [\n\t\t7367,\n\t\t9,\n\t\t8475,\n\t\t7367\n\t],\n\t\"./VoltageSensor.vue\": [\n\t\t7367,\n\t\t9,\n\t\t8475,\n\t\t7367\n\t],\n\t\"./Volume\": [\n\t\t359,\n\t\t9,\n\t\t7782,\n\t\t359\n\t],\n\t\"./Volume.vue\": [\n\t\t359,\n\t\t9,\n\t\t7782,\n\t\t359\n\t],\n\t\"./WeightSensor\": [\n\t\t7367,\n\t\t9,\n\t\t8475,\n\t\t7367\n\t],\n\t\"./WeightSensor.vue\": [\n\t\t7367,\n\t\t9,\n\t\t8475,\n\t\t7367\n\t],\n\t\"./common.scss\": [\n\t\t65,\n\t\t9,\n\t\t4981,\n\t\t65\n\t],\n\t\"./meta\": [\n\t\t7369,\n\t\t3\n\t],\n\t\"./meta.json\": [\n\t\t7369,\n\t\t3\n\t],\n\t\"./vars.scss\": [\n\t\t5207,\n\t\t9,\n\t\t4981,\n\t\t5207\n\t]\n};\nfunction webpackAsyncContext(req) {\n\tif(!__webpack_require__.o(map, req)) {\n\t\treturn Promise.resolve().then(function() {\n\t\t\tvar e = new Error(\"Cannot find module '\" + req + \"'\");\n\t\t\te.code = 'MODULE_NOT_FOUND';\n\t\t\tthrow e;\n\t\t});\n\t}\n\n\tvar ids = map[req], id = ids[0];\n\treturn Promise.all(ids.slice(2).map(__webpack_require__.e)).then(function() {\n\t\treturn __webpack_require__.t(id, ids[1] | 16)\n\t});\n}\nwebpackAsyncContext.keys = function() { return Object.keys(map); };\nwebpackAsyncContext.id = 7243;\nmodule.exports = webpackAsyncContext;"],"names":["class","hasChildren","isCollapsed","value","name","length","justUpdated","component","parent","children","computedChildren","loading","ref","error","reachable","onClick","$emit","$event","toggleCollapsed","entity","key","id","level","mixins","EntityMixin","emits","data","computed","Object","values","this","filter","child","collapsed","instance","$refs","methods","valuesEqual","a","b","objectsEqual","event","stopPropagation","target","classList","contains","onEntityUpdate","entityId","isChildUpdate","setJustUpdated","self","setTimeout","mounted","type","split","map","t","toUpperCase","slice","join","$watch","newValue","oldValue","bus","__exports__","render","src","colorFill","style","colorFillStyle","computedIconNormalized","components","Icon","props","Boolean","default","required","icon","hasColorFill","modalVisible","computedIcon","meta","keys","color","entityType","charAt","Utils","Number","s","entityGroups","selector","title","refresh","modalEntityId","entities","parent_id","childrenByParentId","visible","configValuesByParentId","onEntityModal","displayGroups","group","grouping","entitiesMeta","typesByCategory","pluginIcons","url","imgUrl","onEntityInput","errorEntities","loadingEntities","Loading","Entity","Selector","NoItems","EntityModal","entityScanTimeout","entityTimeouts","selectedEntities","icons","entityTypes","groupEntities","entries","reduce","obj","name_plural","entry","e","sort","localeCompare","attr","_shouldSkipLoading","hasReadableChildren","is_configuration","is_write_only","is_query_disabled","async","args","plugins","plugin","clearTimeout","console","warn","request","name_override","category","parentId","clearEntityTimeouts","state","onEntityDelete","subscribe","sync","unmounted","unsubscribe","href","external_id","onDelete","editName","onRename","disabled","editIcon","onIconEdit","onIconColorEdit","description","external_url","text","image_url","created_at","updated_at","deleteConfirmDiag","show","childrenCollapsed","prettify","extraInfoCollapsed","specialFields","indexOf","computedConfig","configCollapsed","onConfirm","confirmText","close","cancelText","Modal","String","modal","hide","proxy","submit","input","focus","EntityIcon","EditButton","NameEditor","ConfirmDialog","configValues","newName","req","newIcon","startsWith","stringify","Array","isArray","JSON","visibleGroupings","g","prettifyGroupingName","onGroupingChanged","isGroupFilterActive","sortedGroups","iconForGroup","selectedGroups","toggleGroup","placeholder","searchTerm","Dropdown","DropdownItem","typesMeta","toLowerCase","toString","endsWith","synchronizeSelectedEntities","updateSearchTerm","refreshGroupFilter","reset","webpackAsyncContext","__webpack_require__","o","Promise","resolve","then","Error","code","ids","all","module","exports"],"sourceRoot":""}
\ No newline at end of file
diff --git a/platypush/backend/http/webapp/dist/static/js/app-legacy.ce1dd645.js b/platypush/backend/http/webapp/dist/static/js/app-legacy.ce1dd645.js
deleted file mode 100644
index 47c5033d36..0000000000
--- a/platypush/backend/http/webapp/dist/static/js/app-legacy.ce1dd645.js
+++ /dev/null
@@ -1,2 +0,0 @@
-(function(){var e={5250:function(e,t,n){"use strict";n.d(t,{$:function(){return i}});var s=n(9652),i=(0,s.Z)();i.publishEntity=function(e){i.emit("entity-update",e)},i.onEntity=function(e){i.on("entity-update",e)},i.publishNotification=function(e){i.emit("notification-create",e)},i.onNotification=function(e){i.on("notification-create",e)}},3718:function(e,t,n){"use strict";n(6992),n(8674),n(9601),n(7727);var s=n(9963),i=n(6252);function r(e,t,n,s,r,a){var o=(0,i.up)("Events"),l=(0,i.up)("Notifications"),c=(0,i.up)("VoiceAssistant"),u=(0,i.up)("Pushbullet"),d=(0,i.up)("Ntfy"),f=(0,i.up)("router-view");return(0,i.wg)(),(0,i.iD)(i.HY,null,[a.hasWebsocket?((0,i.wg)(),(0,i.j4)(o,{key:0,ref:"events","ws-port":r.config["backend.http"].websocket_port},null,8,["ws-port"])):(0,i.kq)("",!0),(0,i.Wm)(l,{ref:"notifications"},null,512),a.hasAssistant?((0,i.wg)(),(0,i.j4)(c,{key:1,ref:"voice-assistant"},null,512)):(0,i.kq)("",!0),a.hasPushbullet?((0,i.wg)(),(0,i.j4)(u,{key:2,ref:"pushbullet"},null,512)):(0,i.kq)("",!0),a.hasNtfy?((0,i.wg)(),(0,i.j4)(d,{key:3,ref:"ntfy"},null,512)):(0,i.kq)("",!0),(0,i.Wm)(f)],64)}var a=n(8534),o=(n(5666),n(9254),{class:"notifications"});function l(e,t,n,s,r,a){var l=(0,i.up)("Notification");return(0,i.wg)(),(0,i.iD)("div",o,[((0,i.wg)(!0),(0,i.iD)(i.HY,null,(0,i.Ko)(e.notifications,(function(e,t,n){return(0,i.wg)(),(0,i.j4)(l,{key:n,id:t,text:e.text,html:e.html,title:e.title,link:e.link,image:e.image,warning:e.warning,error:e.error,onClicked:a.destroy},null,8,["id","text","html","title","link","image","warning","error","onClicked"])})),128))])}n(9653);var c=n(3577),u=["textContent"],d={class:"body"},f={key:0,class:"image col-3"},p={class:"row"},m=["src"],h={key:3,class:"fa fa-exclamation"},g={key:4,class:"fa fa-times"},v=["textContent"],b=["innerHTML"],w=["textContent"],y=["innerHTML"];function k(e,t,n,s,r,a){return(0,i.wg)(),(0,i.iD)("div",{class:(0,c.C_)(["notification fade-in",{warning:n.warning,error:n.error}]),onClick:t[0]||(t[0]=function(){return a.clicked&&a.clicked.apply(a,arguments)})},[n.title?((0,i.wg)(),(0,i.iD)("div",{key:0,class:"title",textContent:(0,c.zw)(n.title)},null,8,u)):(0,i.kq)("",!0),(0,i._)("div",d,[n.image||n.warning||n.error?((0,i.wg)(),(0,i.iD)("div",f,[(0,i._)("div",p,[n.image&&n.image.src?((0,i.wg)(),(0,i.iD)("img",{key:0,src:n.image.src,alt:""},null,8,m)):n.image&&n.image.icon?((0,i.wg)(),(0,i.iD)("i",{key:1,class:(0,c.C_)(["fa","fa-"+n.image.icon]),style:(0,c.j5)(n.image.color?"--color: "+n.image.color:"")},null,6)):n.image&&n.image.iconClass?((0,i.wg)(),(0,i.iD)("i",{key:2,class:(0,c.C_)(n.image.iconClass),style:(0,c.j5)(n.image.color?"--color: "+n.image.color:"")},null,6)):n.warning?((0,i.wg)(),(0,i.iD)("i",h)):n.error?((0,i.wg)(),(0,i.iD)("i",g)):(0,i.kq)("",!0)])])):(0,i.kq)("",!0),n.text&&n.image?((0,i.wg)(),(0,i.iD)("div",{key:1,class:"text col-9",textContent:(0,c.zw)(n.text)},null,8,v)):(0,i.kq)("",!0),n.html&&n.image?((0,i.wg)(),(0,i.iD)("div",{key:2,class:"text col-9",innerHTML:n.html},null,8,b)):(0,i.kq)("",!0),n.text&&!n.image?((0,i.wg)(),(0,i.iD)("div",{key:3,class:"text row horizontal-center",textContent:(0,c.zw)(n.text)},null,8,w)):(0,i.kq)("",!0),n.html&&!n.image?((0,i.wg)(),(0,i.iD)("div",{key:4,class:"text row horizontal-center",innerHTML:n.html},null,8,y)):(0,i.kq)("",!0)])],2)}var x={name:"Notification",props:["id","text","html","title","image","link","error","warning"],methods:{clicked:function(){this.link&&window.open(this.link,"_blank"),this.$emit("clicked",this.id)}}},_=n(3744);const C=(0,_.Z)(x,[["render",k],["__scopeId","data-v-7646705e"]]);var D=C,I={name:"Notifications",components:{Notification:D},props:{duration:{type:Number,default:1e4}},data:function(){return{index:0,notifications:{},timeouts:{}}},methods:{create:function(e){var t=this.index++;this.notifications[t]=e,null==e.duration&&(e.duration=this.duration);var n=e.duration?parseInt(e.duration):0;n&&(this.timeouts[t]=setTimeout(this.destroy.bind(null,t),n))},destroy:function(e){delete this.notifications[e],delete this.timeouts[e]}}};const T=(0,_.Z)(I,[["render",l],["__scopeId","data-v-6dc8bebc"]]);var Z=T,S=n(6813);function U(e,t,n,s,r,a){return(0,i.wg)(),(0,i.iD)("div")}var R=n(6347),N=n(9584),P=(n(2479),n(2222),n(7941),n(5250)),j={name:"Events",props:{wsPort:{type:Number,default:8009}},data:function(){return{ws:null,initialized:!1,pending:!1,opened:!1,timeout:null,reconnectMsecs:3e4,handlers:{},handlerNameToEventTypes:{}}},methods:{onWebsocketTimeout:function(){console.log("Websocket reconnection timed out, retrying"),this.pending=!1,this.ws&&this.ws.close(),this.onClose()},onMessage:function(e){var t=[];if(e=e.data,"string"===typeof e)try{e=JSON.parse(e)}catch(r){console.warn("Received invalid non-JSON event"),console.warn(e)}if(console.debug(e),"event"===e.type){null in this.handlers&&t.push(this.handlers[null]),e.args.type in this.handlers&&t.push.apply(t,(0,N.Z)(Object.values(this.handlers[e.args.type])));for(var n=0,s=t;n