"use strict";(self.webpackChunkhome_assistant_frontend=self.webpackChunkhome_assistant_frontend||[]).push([["59457"],{42520:function(e,t,a){a.a(e,async function(e,s){try{a.r(t),a.d(t,{HuiGridCardEditor:function(){return m}});a(62953);var n=a(40445),r=a(77845),i=a(63533),c=a(84698),o=a(59008),l=a(63577),u=e([l,o]);[l,o]=u.then?(await u)():u;const d=(0,i.kp)(c.H,(0,i.Ik)({cards:(0,i.YO)((0,i.bz)()),title:(0,i.lq)((0,i.Yj)()),square:(0,i.lq)((0,i.zM)()),columns:(0,i.lq)((0,i.ai)())})),h=[{type:"grid",name:"",schema:[{name:"title",selector:{text:{}}},{name:"columns",default:l._,selector:{number:{min:1,mode:"box"}}},{name:"square",selector:{boolean:{}}}]}];class m extends o.HuiStackCardEditor{setConfig(e){(0,i.vA)(e,d),this._config=e}formData(){return Object.assign({square:!0},this._config)}constructor(...e){super(...e),this._schema=h,this._computeLabelCallback=e=>this.hass.localize(`ui.panel.lovelace.editor.card.grid.${e.name}`)}}m=(0,n.Cg)([(0,r.EM)("hui-grid-card-editor")],m),s()}catch(d){s(d)}})}}]);
//# sourceMappingURL=59457.87454712c7396f71.js.map