export const __rspack_esm_id="34667";export const __rspack_esm_ids=["34667"];export const __webpack_modules__={39046(e,a,t){t.r(a),t.d(a,{HuiBarGaugeCardFeatureEditor:()=>n});var s=t(62826),o=t(96196),r=t(44457),i=t(22786),c=t(1087);t(52763);class n extends o.WF{setConfig(e){this._config=e}render(){if(!this.hass||!this._config)return o.s6;const e=this._schema();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,c.r)(this,"config-changed",{config:e.detail.value})}constructor(...e){super(...e),this._schema=(0,i.A)(()=>[{name:"min",default:0,selector:{number:{mode:"box"}}},{name:"max",default:100,selector:{number:{mode:"box"}}}]),this._computeLabelCallback=e=>this.hass.localize(`ui.panel.lovelace.editor.features.types.bar-gauge.${e.name}`)}}(0,s.Cg)([(0,r.MZ)({attribute:!1})],n.prototype,"hass",void 0),(0,s.Cg)([(0,r.MZ)({attribute:!1})],n.prototype,"context",void 0),(0,s.Cg)([(0,r.wk)()],n.prototype,"_config",void 0),n=(0,s.Cg)([(0,r.EM)("hui-bar-gauge-card-feature-editor")],n)}};
//# sourceMappingURL=34667.9268a692e6048dfd.js.map