export const __rspack_esm_id="60761";export const __rspack_esm_ids=["60761"];export const __webpack_modules__={70208(t,e,a){a.r(e),a.d(e,{HaFormGrid:()=>i});a(18111),a(61701);var o=a(62826),r=(a(52763),a(96196)),s=a(44457);class i extends r.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 r.qy` ${this.schema.schema.map(t=>r.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}}i.styles=r.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,o.Cg)([(0,s.MZ)({attribute:!1})],i.prototype,"hass",void 0),(0,o.Cg)([(0,s.MZ)({attribute:!1})],i.prototype,"data",void 0),(0,o.Cg)([(0,s.MZ)({attribute:!1})],i.prototype,"schema",void 0),(0,o.Cg)([(0,s.MZ)({type:Boolean})],i.prototype,"disabled",void 0),(0,o.Cg)([(0,s.MZ)({attribute:!1})],i.prototype,"computeLabel",void 0),(0,o.Cg)([(0,s.MZ)({attribute:!1})],i.prototype,"computeHelper",void 0),(0,o.Cg)([(0,s.MZ)({attribute:!1})],i.prototype,"localizeValue",void 0),i=(0,o.Cg)([(0,s.EM)("ha-form-grid")],i)}};
//# sourceMappingURL=60761.00a79ba4e52c5b5a.js.map