export const __rspack_esm_id="13816";export const __rspack_esm_ids=["13816"];export const __webpack_modules__={42699(e,t,a){a.a(e,async function(e,s){try{a.r(t),a.d(t,{HuiCounterActionsCardFeatureEditor:()=>d});a(18111),a(61701);var o=a(62826),i=a(96196),c=a(97735),r=a(22786),n=a(1087),l=a(52763),h=a(37531),u=e([l]);l=(u.then?(await u)():u)[0];class d extends i.WF{setConfig(e){this._config=e}render(){if(!this.hass||!this._config)return i.s6;const e=this._schema(this.hass.localize);return i.qy` <ha-form .hass="${this.hass}" .data="${this._config}" .schema="${e}" .computeLabel="${this._computeLabelCallback}" @value-changed="${this._valueChanged}"></ha-form> `}_valueChanged(e){(0,n.r)(this,"config-changed",{config:e.detail.value})}constructor(...e){super(...e),this._schema=(0,r.A)(e=>[{name:"actions",selector:{select:{multiple:!0,mode:"list",reorder:!0,options:h.HA.map(t=>({value:t,label:`${e(`ui.panel.lovelace.editor.features.types.counter-actions.actions.${t}`)}`}))}}}]),this._computeLabelCallback=e=>(e.name,this.hass.localize(`ui.panel.lovelace.editor.card.generic.${e.name}`))}}(0,o.Cg)([(0,c.MZ)({attribute:!1})],d.prototype,"hass",void 0),(0,o.Cg)([(0,c.MZ)({attribute:!1})],d.prototype,"context",void 0),(0,o.Cg)([(0,c.wk)()],d.prototype,"_config",void 0),d=(0,o.Cg)([(0,c.EM)("hui-counter-actions-card-feature-editor")],d),s()}catch(e){s(e)}})}};
//# sourceMappingURL=13816.d9f987d0fa3efc2b.js.map