Files
haos_config/custom_components/hacs/hacs_frontend/frontend_latest/5828.4fd5a8a6f5675805.js
2026-01-30 23:31:00 -06:00

2 lines
867 B
JavaScript

export const ids=["5828"];export const modules={16079:function(e,t,o){o.r(t),o.d(t,{HaSelectorConstant:function(){return a}});var n=o(44249),l=o(57243),s=o(50778);let a=(0,n.Z)([(0,s.Mo)("ha-selector-constant")],(function(e,t){return{F:class extends t{constructor(...t){super(...t),e(this)}},d:[{kind:"field",decorators:[(0,s.Cb)({attribute:!1})],key:"selector",value:void 0},{kind:"field",decorators:[(0,s.Cb)({type:Boolean})],key:"disabled",value:()=>!1},{kind:"field",decorators:[(0,s.Cb)({attribute:!1})],key:"localizeValue",value:void 0},{kind:"method",key:"render",value:function(){if(this.disabled)return l.Ld;const e=this.selector.constant?.translation_key;return(e&&this.localizeValue?this.localizeValue(`${e}.value`):void 0)??this.selector.constant?.label??this.selector.constant?.value??l.Ld}}]}}),l.oi)}};
//# sourceMappingURL=5828.4fd5a8a6f5675805.js.map