iobroker.lovelace
Version:
With this adapter you can build visualization for ioBroker with Home Assistant Lovelace UI
1 lines • 1.46 kB
JavaScript
export const __rspack_esm_id=35567;export const __rspack_esm_ids=[35567];export const __webpack_modules__={68370(e,o,a){a.r(o),a.d(o,{lovelaceResourcesTabs:()=>l,lovelaceTabs:()=>c});var s=a(62826),t=a(22441),r=a(324);const i="M13,3V9H21V3M13,21H21V11H13M3,21H11V15H3M3,13H11V3H3V13Z",c=[{path:"/config/lovelace/dashboards",translationKey:"ui.panel.config.lovelace.dashboards.caption",iconPath:i}],l=[{path:"/config/lovelace/resources",translationKey:"ui.panel.config.lovelace.resources.caption",iconPath:i}];class n extends r.a{updatePageEl(e){e.hass=this.hass,e.narrow=this.narrow,e.isWide=this.isWide,e.route=this.routeTail}constructor(...e){super(...e),this.narrow=!1,this.isWide=!1,this.routerOptions={defaultPage:"dashboards",routes:{dashboards:{tag:"ha-config-lovelace-dashboards",load:()=>Promise.all([a.e(4801),a.e(39763),a.e(32450),a.e(46095),a.e(7305),a.e(34995),a.e(83113),a.e(66716),a.e(19112),a.e(30002),a.e(89747),a.e(52487),a.e(94426)]).then(a.bind(a,49406)),cache:!0},resources:{tag:"ha-config-lovelace-resources",load:()=>Promise.all([a.e(4801),a.e(39763),a.e(32450),a.e(46095),a.e(7305),a.e(34995),a.e(83113),a.e(57908),a.e(19112),a.e(30002),a.e(92045)]).then(a.bind(a,89192))}}}}}(0,s.Cg)([(0,t.MZ)({attribute:!1})],n.prototype,"hass",void 0),(0,s.Cg)([(0,t.MZ)({type:Boolean})],n.prototype,"narrow",void 0),(0,s.Cg)([(0,t.MZ)({attribute:"is-wide",type:Boolean})],n.prototype,"isWide",void 0),n=(0,s.Cg)([(0,t.EM)("ha-config-lovelace")],n)}};