export const __rspack_esm_id=81728;export const __rspack_esm_ids=[81728];export const __webpack_modules__={53891(t,o,e){e.a(t,async function(t,a){try{e.r(o);e(18111),e(61701);var r=e(15697),s=e(57527),i=e(79224),p=e(55682),d=t([p]);p=(d.then?(await d)():d)[0];class m extends s.WF{reportValidity(){const t=this._forms??[];let o=!0;for(const e of t)e.reportValidity()||(o=!1);return o}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}}m.shadowRootOptions={...s.WF.shadowRootOptions,delegatesFocus:!0},m.styles=s.AH`:host{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);display:grid!important}:host>ha-form{display:block}`,(0,r.Cg)([(0,i.MZ)({attribute:!1})],m.prototype,"hass",void 0),(0,r.Cg)([(0,i.MZ)({attribute:!1})],m.prototype,"data",void 0),(0,r.Cg)([(0,i.MZ)({attribute:!1})],m.prototype,"schema",void 0),(0,r.Cg)([(0,i.MZ)({type:Boolean})],m.prototype,"disabled",void 0),(0,r.Cg)([(0,i.MZ)({attribute:!1})],m.prototype,"computeLabel",void 0),(0,r.Cg)([(0,i.MZ)({attribute:!1})],m.prototype,"computeHelper",void 0),(0,r.Cg)([(0,i.MZ)({attribute:!1})],m.prototype,"localizeValue",void 0),(0,r.Cg)([(0,i.YG)("ha-form",!0)],m.prototype,"_forms",void 0),m=(0,r.Cg)([(0,i.EM)("ha-form-grid")],m),e.d(o,{HaFormGrid:()=>m}),a()}catch(t){a(t)}})}};
//# sourceMappingURL=81728.3037b158d24e3859.js.map