export const __rspack_esm_id="60761";export const __rspack_esm_ids=["60761"];export const __webpack_modules__={70208(t,e,a){a.a(t,async function(t,o){try{a.r(e),a.d(e,{HaFormGrid:()=>c});a(18111),a(61701);var r=a(62826),i=a(52763),s=a(96196),p=a(97735),d=t([i]);i=(d.then?(await d)():d)[0];class c extends s.WF{async focus(){await this.updateComplete,this.renderRoot.querySelector("ha-form")?.focus()}updated(t){super.updated(t),t.has("schema")&&(this.schema.column_min_width?this.style.setProperty("--form-grid-min-width",this.schema.column_min_width):this.style.setProperty("--form-grid-min-width",""))}render(){return s.qy` ${this.schema.schema.map(t=>s.qy` <ha-form .hass="${this.hass}" .data="${this.data}" .schema="${[t]}" .disabled="${this.disabled}" .computeLabel="${this.computeLabel}" .computeHelper="${this.computeHelper}" .localizeValue="${this.localizeValue}"></ha-form> `)} `}constructor(...t){super(...t),this.disabled=!1}}c.styles=s.AH`:host{display:grid!important;grid-template-columns:repeat(var(--form-grid-column-count,auto-fit),minmax(var(--form-grid-min-width,200px),1fr));grid-column-gap:var(--ha-space-2);grid-row-gap:var(--ha-space-6)}:host>ha-form{display:block}`,(0,r.Cg)([(0,p.MZ)({attribute:!1})],c.prototype,"hass",void 0),(0,r.Cg)([(0,p.MZ)({attribute:!1})],c.prototype,"data",void 0),(0,r.Cg)([(0,p.MZ)({attribute:!1})],c.prototype,"schema",void 0),(0,r.Cg)([(0,p.MZ)({type:Boolean})],c.prototype,"disabled",void 0),(0,r.Cg)([(0,p.MZ)({attribute:!1})],c.prototype,"computeLabel",void 0),(0,r.Cg)([(0,p.MZ)({attribute:!1})],c.prototype,"computeHelper",void 0),(0,r.Cg)([(0,p.MZ)({attribute:!1})],c.prototype,"localizeValue",void 0),c=(0,r.Cg)([(0,p.EM)("ha-form-grid")],c),o()}catch(t){o(t)}})}};
//# sourceMappingURL=60761.110ef76c7fd11df7.js.map