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