export const __rspack_esm_id="57607";export const __rspack_esm_ids=["57607"];export const __webpack_modules__={76730(e,t,a){a.r(t),a.d(t,{HuiPlantStatusCardEditor:()=>p});var i=a(62826),s=a(96196),o=a(44457),n=a(63533),l=a(1087),c=(a(52763),a(84698)),r=a(44155);const h=(0,n.kp)(c.H,(0,n.Ik)({entity:(0,n.lq)((0,n.Yj)()),name:(0,n.lq)(r.q),theme:(0,n.lq)((0,n.Yj)())})),d=[{name:"entity",required:!0,selector:{entity:{domain:"plant"}}},{name:"name",selector:{entity_name:{}},context:{entity:"entity"}},{name:"theme",selector:{theme:{}}}];class p extends s.WF{setConfig(e){(0,n.vA)(e,h),this._config=e}render(){return this.hass&&this._config?s.qy` <ha-form .hass="${this.hass}" .data="${this._config}" .schema="${d}" .computeLabel="${this._computeLabelCallback}" @value-changed="${this._valueChanged}"></ha-form> `:s.s6}_valueChanged(e){(0,l.r)(this,"config-changed",{config:e.detail.value})}constructor(...e){super(...e),this._computeLabelCallback=e=>"entity"===e.name?this.hass.localize("ui.panel.lovelace.editor.card.generic.entity"):"theme"===e.name?`${this.hass.localize("ui.panel.lovelace.editor.card.generic.theme")} (${this.hass.localize("ui.panel.lovelace.editor.card.config.optional")})`:this.hass.localize(`ui.panel.lovelace.editor.card.generic.${e.name}`)}}(0,i.Cg)([(0,o.MZ)({attribute:!1})],p.prototype,"hass",void 0),(0,i.Cg)([(0,o.wk)()],p.prototype,"_config",void 0),p=(0,i.Cg)([(0,o.EM)("hui-plant-status-card-editor")],p)},84698(e,t,a){a.d(t,{H:()=>s});var i=a(63533);const s=(0,i.Ik)({type:(0,i.Yj)(),view_layout:(0,i.bz)(),layout_options:(0,i.bz)(),grid_options:(0,i.bz)(),visibility:(0,i.bz)(),disabled:(0,i.lq)((0,i.zM)())})}};
//# sourceMappingURL=57607.0e52641b291e48ce.js.map