UNPKG

iobroker.lovelace

Version:

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

2 lines 970 B
export const __webpack_ids__=["94618"];export const __webpack_modules__={41023:function(t,a,r){r.a(t,(async function(t,o){try{r.r(a),r.d(a,{HuiHorizontalStackCard:()=>h});var s=r(44249),c=r(72621),n=(r(92745),r(57243)),i=r(15093),e=r(81833),d=r(58621),u=t([d]);d=(u.then?(await u)():u)[0];let h=(0,s.Z)([(0,i.Mo)("hui-horizontal-stack-card")],(function(t,a){class r extends a{constructor(...a){super(...a),t(this)}}return{F:r,d:[{kind:"method",key:"getCardSize",value:async function(){if(!this._cards)return 0;const t=[];for(const a of this._cards)t.push((0,e.N)(a));const a=await Promise.all(t);return Math.max(...a)}},{kind:"get",static:!0,key:"styles",value:function(){return[(0,c.Z)(r,"sharedStyles",this),n.iv`#root{display:flex;height:100%;gap:var(--horizontal-stack-card-gap,var(--stack-card-gap,8px))}#root>hui-card{display:contents}#root>hui-card>*{flex:1 1 0;min-width:0}`]}}]}}),d.p);o()}catch(t){o(t)}}))}}; //# sourceMappingURL=94618.559743d838c86d46.js.map