Initial Commit

This commit is contained in:
francop committed 2026-06-11 11:50:50 -04:00
commit d4a69c41be
2748 files changed
+80489

No files matched your search

@@ -0,0 +1,8 @@
"use strict";(self.webpackChunkhacs_frontend=self.webpackChunkhacs_frontend||[]).push([["8770"],{78946:function(e,t,i){var a=i(73577),n=i(50778),o=i(47208),s=i(82687);(0,a.Z)([(0,n.Mo)("ha-device-action-picker")],(function(e,t){return{F:class extends t{constructor(){super(o._2,o.AG,(e=>({device_id:e||"",domain:"",entity_id:""}))),e(this)}},d:[{kind:"get",key:"NO_AUTOMATION_TEXT",value:function(){return this.hass.localize("ui.panel.config.devices.automation.actions.no_actions")}},{kind:"get",key:"UNKNOWN_AUTOMATION_TEXT",value:function(){return this.hass.localize("ui.panel.config.devices.automation.actions.unknown_action")}}]}}),s.g)},45501:function(e,t,i){var a=i(73577),n=(i(71695),i(49278),i(11740),i(47021),i(87319),i(57243)),o=i(50778),s=i(20552),d=i(11297),l=i(81036);i(58130),i(59897),i(70596),i(20663);let c,r,h,u,p,v,m,f,g,b=e=>e;(0,a.Z)([(0,o.Mo)("ha-base-time-input")],(function(e,t){return{F:class extends t{constructor(...t){super(...t),e(this)}},d:[{kind:"field",decorators:[(0,o.Cb)()],key:"label",value:void 0},{kind:"field",decorators:[(0,o.Cb)()],key:"helper",value:void 0},{kind:"field",decorators:[(0,o.Cb)({attribute:"auto-validate",type:Boolean})],key:"autoValidate",value(){return!1}},{kind:"field",decorators:[(0,o.Cb)({type:Boolean})],key:"required",value(){return!1}},{kind:"field",decorators:[(0,o.Cb)({type:Number})],key:"format",value(){return 12}},{kind:"field",decorators:[(0,o.Cb)({type:Boolean})],key:"disabled",value(){return!1}},{kind:"field",decorators:[(0,o.Cb)({type:Number})],key:"days",value(){return 0}},{kind:"field",decorators:[(0,o.Cb)({type:Number})],key:"hours",value(){return 0}},{kind:"field",decorators:[(0,o.Cb)({type:Number})],key:"minutes",value(){return 0}},{kind:"field",decorators:[(0,o.Cb)({type:Number})],key:"seconds",value(){return 0}},{kind:"field",decorators:[(0,o.Cb)({type:Number})],key:"milliseconds",value(){return 0}},{kind:"field",decorators:[(0,o.Cb)({attribute:!1})],key:"dayLabel",value(){return""}},{kind:"field",decorators:[(0,o.Cb)({attribute:!1})],key:"hourLabel",value(){return""}},{kind:"field",decorators:[(0,o.Cb)({attribute:!1})],key:"minLabel",value(){return""}},{kind:"field",decorators:[(0,o.Cb)({attribute:!1})],key:"secLabel",value(){return""}},{kind:"field",decorators:[(0,o.Cb)({attribute:!1})],key:"millisecLabel",value(){return""}},{kind:"field",decorators:[(0,o.Cb)({attribute:"enable-second",type:Boolean})],key:"enableSecond",value(){return!1}},{kind:"field",decorators:[(0,o.Cb)({attribute:"enable-millisecond",type:Boolean})],key:"enableMillisecond",value(){return!1}},{kind:"field",decorators:[(0,o.Cb)({attribute:"enable-day",type:Boolean})],key:"enableDay",value(){return!1}},{kind:"field",decorators:[(0,o.Cb)({attribute:"no-hours-limit",type:Boolean})],key:"noHoursLimit",value(){return!1}},{kind:"field",decorators:[(0,o.Cb)({attribute:!1})],key:"amPm",value(){return"AM"}},{kind:"field",decorators:[(0,o.Cb)({type:Boolean,reflect:!0})],key:"clearable",value:void 0},{kind:"method",key:"render",value:function(){return(0,n.dy)(c||(c=b` ${0} <div class="time-input-wrap-wrap"> <div class="time-input-wrap"> ${0} <ha-textfield id="hour" type="number" inputmode="numeric" .value="${0}" .label="${0}" name="hours" @change="${0}" @focusin="${0}" no-spinner .required="${0}" .autoValidate="${0}" maxlength="2" max="${0}" min="0" .disabled="${0}" suffix=":" class="hasSuffix"> </ha-textfield> <ha-textfield id="min" type="number" inputmode="numeric" .value="${0}" .label="${0}" @change="${0}" @focusin="${0}" name="minutes" no-spinner .required="${0}" .autoValidate="${0}" maxlength="2" max="59" min="0" .disabled="${0}" .suffix="${0}" class="${0}"> </ha-textfield> ${0} ${0} ${0} </div> ${0} </div> ${0} `),this.label?(0,n.dy)(r||(r=b`<label>${0}${0}</label>`),this.label,this.required?" *":""):n.Ld,this.enableDay?(0,n.dy)(h||(h=b` <ha-textfield id="day" type="number" inputmode="numeric" .value="${0}" .label="${0}" name="days" @change="${0}" @focusin="${0}" no-spinner .required="${0}" .autoValidate="${0}" min="0" .disabled="${0}" suffix=":" class="hasSuffix"> </ha-textfield> `),this.days.toFixed(),this.dayLabel,this._valueChanged,this._onFocus,this.required,this.autoValidate,this.disabled):n.Ld,this.hours.toFixed(),this.hourLabel,this._valueChanged,this._onFocus,this.required,this.autoValidate,(0,s.o)(this._hourMax),this.disabled,this._formatValue(this.minutes),this.minLabel,this._valueChanged,this._onFocus,this.required,this.autoValidate,this.disabled,this.enableSecond?":":"",this.enableSecond?"has-suffix":"",this.enableSecond?(0,n.dy)(u||(u=b`<ha-textfield id="sec" type="number" inputmode="numeric" .value="${0}" .label="${0}" @change="${0}" @focusin="${0}" name="seconds" no-spinner .required="${0}" .autoValidate="${0}" maxlength="2" max="59" min="0" .disabled="${0}" .suffix="${0}" class="${0}"> </ha-textfield>`),this._formatValue(this.seconds),this.secLabel,this._valueChanged,this._onFocus,this.required,this.autoValidate,this.disabled,this.enableMillisecond?":":"",this.enabLine truncated
--mdc-typography-body2-font-family,
var(--mdc-typography-font-family, Roboto, sans-serif)
);font-size:var(--mdc-typography-body2-font-size, .875rem);line-height:var(--mdc-typography-body2-line-height, 1.25rem);font-weight:var(--mdc-typography-body2-font-weight,400);letter-spacing:var(
--mdc-typography-body2-letter-spacing,
.0178571429em
);text-decoration:var(--mdc-typography-body2-text-decoration,inherit);text-transform:var(--mdc-typography-body2-text-transform,inherit);color:var(--mdc-theme-text-primary-on-background,rgba(0,0,0,.87));padding-left:4px;padding-inline-start:4px;padding-inline-end:initial}ha-input-helper-text{padding-top:8px;line-height:normal}`))}}]}}),n.oi)},22371:function(e,t,i){var a=i(73577),n=(i(71695),i(19423),i(47021),i(57243)),o=i(50778),s=i(11297);i(45501);let d,l=e=>e;(0,a.Z)([(0,o.Mo)("ha-duration-input")],(function(e,t){return{F:class extends t{constructor(...t){super(...t),e(this)}},d:[{kind:"field",decorators:[(0,o.Cb)({attribute:!1})],key:"data",value:void 0},{kind:"field",decorators:[(0,o.Cb)()],key:"label",value:void 0},{kind:"field",decorators:[(0,o.Cb)()],key:"helper",value:void 0},{kind:"field",decorators:[(0,o.Cb)({type:Boolean})],key:"required",value(){return!1}},{kind:"field",decorators:[(0,o.Cb)({attribute:"enable-millisecond",type:Boolean})],key:"enableMillisecond",value(){return!1}},{kind:"field",decorators:[(0,o.Cb)({attribute:"enable-day",type:Boolean})],key:"enableDay",value(){return!1}},{kind:"field",decorators:[(0,o.Cb)({type:Boolean})],key:"disabled",value(){return!1}},{kind:"field",decorators:[(0,o.IO)("paper-time-input",!0)],key:"_input",value:void 0},{kind:"method",key:"focus",value:function(){this._input&&this._input.focus()}},{kind:"method",key:"render",value:function(){return(0,n.dy)(d||(d=l` <ha-base-time-input .label="${0}" .helper="${0}" .required="${0}" .clearable="${0}" .autoValidate="${0}" .disabled="${0}" errorMessage="Required" enable-second .enableMillisecond="${0}" .enableDay="${0}" format="24" .days="${0}" .hours="${0}" .minutes="${0}" .seconds="${0}" .milliseconds="${0}" @value-changed="${0}" no-hours-limit dayLabel="dd" hourLabel="hh" minLabel="mm" secLabel="ss" millisecLabel="ms"></ha-base-time-input> `),this.label,this.helper,this.required,!this.required&&void 0!==this.data,this.required,this.disabled,this.enableMillisecond,this.enableDay,this._days,this._hours,this._minutes,this._seconds,this._milliseconds,this._durationChanged)}},{kind:"get",key:"_days",value:function(){var e;return null!==(e=this.data)&&void 0!==e&&e.days?Number(this.data.days):this.required||this.data?0:NaN}},{kind:"get",key:"_hours",value:function(){var e;return null!==(e=this.data)&&void 0!==e&&e.hours?Number(this.data.hours):this.required||this.data?0:NaN}},{kind:"get",key:"_minutes",value:function(){var e;return null!==(e=this.data)&&void 0!==e&&e.minutes?Number(this.data.minutes):this.required||this.data?0:NaN}},{kind:"get",key:"_seconds",value:function(){var e;return null!==(e=this.data)&&void 0!==e&&e.seconds?Number(this.data.seconds):this.required||this.data?0:NaN}},{kind:"get",key:"_milliseconds",value:function(){var e;return null!==(e=this.data)&&void 0!==e&&e.milliseconds?Number(this.data.milliseconds):this.required||this.data?0:NaN}},{kind:"method",key:"_durationChanged",value:function(e){e.stopPropagation();const t=e.detail.value?Object.assign({},e.detail.value):void 0;var i;t&&(t.hours||(t.hours=0),t.minutes||(t.minutes=0),t.seconds||(t.seconds=0),"days"in t&&(t.days||(t.days=0)),"milliseconds"in t&&(t.milliseconds||(t.milliseconds=0)),this.enableMillisecond||t.milliseconds?t.milliseconds>999&&(t.seconds+=Math.floor(t.milliseconds/1e3),t.milliseconds%=1e3):delete t.milliseconds,t.seconds>59&&(t.minutes+=Math.floor(t.seconds/60),t.seconds%=60),t.minutes>59&&(t.hours+=Math.floor(t.minutes/60),t.minutes%=60),this.enableDay&&t.hours>24&&(t.days=(null!==(i=t.days)&&void 0!==i?i:0)+Math.floor(t.hours/24),t.hours%=24));(0,s.B)(this,"value-changed",{value:t})}}]}}),n.oi)},20663:function(e,t,i){var a=i(73577),n=(i(71695),i(47021),i(57243)),o=i(50778);let s,d,l=e=>e;(0,a.Z)([(0,o.Mo)("ha-input-helper-text")],(function(e,t){return{F:class extends t{constructor(...t){super(...t),e(this)}},d:[{kind:"method",key:"render",value:function(){return(0,n.dy)(s||(s=l`<slot></slot>`))}},{kind:"field",static:!0,key:"styles",value(){return(0,n.iv)(d||(d=l`:host{display:block;color:var(--mdc-text-field-label-ink-color,rgba(0,0,0,.6));font-size:.75rem;padding-left:16px;padding-right:16px;padding-inline-start:16px;padding-inline-end:16px}`))}}]}}),n.oi)},2984:function(e,t,i){i.a(e,(async function(e,a){try{i.r(t),i.d(t,{HaActionSelector:function(){return m}});var n=i(73577),o=(i(71695),i(47021),i(57243)),s=i(50778),d=i(27486),l=i(46982),c=i(31738),r=e([c]);c=(r.then?(await r)():r)[0];let h,u,p,v=e=>e,m=(0,n.Z)([(0,s.Mo)("ha-selector-action")],(function(e,t){return{F:class extends t{constructor(...t){super(...t),e(this)}},d:[{kind:"field",decorators:[(0,s.Cb)({attribute:!1})],key:"hass",value:void 0},{kind:"field",decorators:[(0,s.Cb)({attribute:!1})],key:"selector",value:void 0},{kind:"field",decorators:[(0,s.Cb)({attribute:!1})],key:"value",value:void 0},{kind:"field",decorators:[(0,s.Cb)()],key:"label",value:void 0},{kind:"field",decorators:[(0,s.Cb)({type:Boolean,reflect:!0})],key:"disabled",value(){returnLine truncated
//# sourceMappingURL=8770.b226cf645367289b.js.map