UNPKG

iobroker.lovelace

Version:

With this adapter you can build visualization for ioBroker with Home Assistant Lovelace UI

2 lines 3.1 kB
export const __webpack_ids__=["40734"];export const __webpack_modules__={73780:function(e,a,t){t.r(a);var i=t(44249),o=(t(75656),t(50100),t(18084),t(15093)),r=t(83523),n=t(24312);(0,i.Z)([(0,o.Mo)("zha-config-dashboard-router")],(function(e,a){return{F:class extends a{constructor(...a){super(...a),e(this)}},d:[{kind:"field",decorators:[(0,o.Cb)({attribute:!1})],key:"hass",value:void 0},{kind:"field",decorators:[(0,o.Cb)({attribute:"is-wide",type:Boolean})],key:"isWide",value:()=>!1},{kind:"field",decorators:[(0,o.Cb)({type:Boolean})],key:"narrow",value:()=>!1},{kind:"field",key:"_configEntry",value:()=>new URLSearchParams(window.location.search).get("config_entry")},{kind:"field",key:"routerOptions",value:()=>({defaultPage:"dashboard",showLoading:!0,routes:{dashboard:{tag:"zha-config-dashboard",load:()=>Promise.all([t.e("72206"),t.e("25618"),t.e("42950"),t.e("41103"),t.e("31650"),t.e("10355"),t.e("63055"),t.e("44561"),t.e("47463")]).then(t.bind(t,34976))},add:{tag:"zha-add-devices-page",load:()=>Promise.all([t.e("46379"),t.e("66031"),t.e("72206"),t.e("25618"),t.e("24199"),t.e("27506"),t.e("42950"),t.e("41103"),t.e("31650"),t.e("44394"),t.e("18865"),t.e("27090"),t.e("88975"),t.e("10355"),t.e("63055"),t.e("44561"),t.e("49149")]).then(t.bind(t,24992))},groups:{tag:"zha-groups-dashboard",load:()=>Promise.all([t.e("46379"),t.e("66031"),t.e("72206"),t.e("97983"),t.e("25618"),t.e("42950"),t.e("29570"),t.e("65505"),t.e("5080"),t.e("41103"),t.e("50408"),t.e("81465"),t.e("27024"),t.e("77756"),t.e("6900"),t.e("31650"),t.e("10355"),t.e("63055"),t.e("58529"),t.e("14560"),t.e("81441"),t.e("44561"),t.e("35577")]).then(t.bind(t,90072))},group:{tag:"zha-group-page",load:()=>Promise.all([t.e("46379"),t.e("66031"),t.e("72206"),t.e("91552"),t.e("25618"),t.e("29570"),t.e("59369"),t.e("58529"),t.e("3301"),t.e("62199")]).then(t.bind(t,58914))},"group-add":{tag:"zha-add-group-page",load:()=>Promise.all([t.e("46379"),t.e("66031"),t.e("72206"),t.e("25618"),t.e("29570"),t.e("59369"),t.e("58529"),t.e("3301"),t.e("40615")]).then(t.bind(t,89530))},visualization:{tag:"zha-network-visualization-page",load:()=>Promise.all([t.e("46379"),t.e("66031"),t.e("72206"),t.e("91552"),t.e("25618"),t.e("78456"),t.e("24199"),t.e("56898"),t.e("27506"),t.e("42950"),t.e("83895"),t.e("29570"),t.e("41103"),t.e("31650"),t.e("69121"),t.e("27090"),t.e("10355"),t.e("63055"),t.e("44561"),t.e("88361")]).then(t.bind(t,67120))}}})},{kind:"method",key:"updatePageEl",value:function(e){e.route=this.routeTail,e.hass=this.hass,e.isWide=this.isWide,e.narrow=this.narrow,e.configEntryId=this._configEntry,"group"===this._currentPage?e.groupId=this.routeTail.path.substr(1):"device"===this._currentPage?e.ieee=this.routeTail.path.substr(1):"visualization"===this._currentPage&&(e.zoomedDeviceIdFromURL=this.routeTail.path.substr(1));const a=new URLSearchParams(window.location.search);this._configEntry&&!a.has("config_entry")&&(a.append("config_entry",this._configEntry),(0,r.c)(`${this.routeTail.prefix}${this.routeTail.path}?${a.toString()}`,{replace:!0}))}}]}}),n.n)}}; //# sourceMappingURL=40734.a05b783f2e20aef9.js.map