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,4 @@
/*! For license information please see 5045.a4d2983f1660a8c1.js.LICENSE.txt */
"use strict";(self.webpackChunkhacs_frontend=self.webpackChunkhacs_frontend||[]).push([["5045"],{87319:function(t,i,e){var o=e(9065),s=e(50778),r=e(65703),n=e(46289);let a=class extends r.K{};a.styles=[n.W],a=(0,o.gn)([(0,s.Mo)("mwc-list-item")],a)},27323:function(t,i,e){e.d(i,{O:function(){return u}});e(71695),e(47021);var o=e(9065),s=e(1105),r=e(57243),n=e(50778),a=e(35359),l=e(20552),h=e(91928);let c,d,m=t=>t;const p={fromAttribute(t){return null!==t&&(""===t||t)},toAttribute(t){return"boolean"==typeof t?t?"":null:t}};class u extends s.P{constructor(){super(...arguments),this.rows=2,this.cols=20,this.charCounter=!1}render(){const t=this.charCounter&&-1!==this.maxLength,i=t&&"internal"===this.charCounter,e=t&&!i,o=!!this.helper||!!this.validationMessage||e,s={"mdc-text-field--disabled":this.disabled,"mdc-text-field--no-label":!this.label,"mdc-text-field--filled":!this.outlined,"mdc-text-field--outlined":this.outlined,"mdc-text-field--end-aligned":this.endAligned,"mdc-text-field--with-internal-counter":i};return(0,r.dy)(c||(c=m` <label class="mdc-text-field mdc-text-field--textarea ${0}"> ${0} ${0} ${0} ${0} ${0} </label> ${0} `),(0,a.$)(s),this.renderRipple(),this.outlined?this.renderOutline():this.renderLabel(),this.renderInput(),this.renderCharCounter(i),this.renderLineRipple(),this.renderHelperText(o,e))}renderInput(){const t=this.label?"label":void 0,i=-1===this.minLength?void 0:this.minLength,e=-1===this.maxLength?void 0:this.maxLength,o=this.autocapitalize?this.autocapitalize:void 0;return(0,r.dy)(d||(d=m` <textarea aria-labelledby="${0}" class="mdc-text-field__input" .value="${0}" rows="${0}" cols="${0}" ?disabled="${0}" placeholder="${0}" ?required="${0}" ?readonly="${0}" minlength="${0}" maxlength="${0}" name="${0}" inputmode="${0}" autocapitalize="${0}" @input="${0}" @blur="${0}">
</textarea>`),(0,l.o)(t),(0,h.a)(this.value),this.rows,this.cols,this.disabled,this.placeholder,this.required,this.readOnly,(0,l.o)(i),(0,l.o)(e),(0,l.o)(""===this.name?void 0:this.name),(0,l.o)(this.inputMode),(0,l.o)(o),this.handleInputChange,this.onInputBlur)}}(0,o.gn)([(0,n.IO)("textarea")],u.prototype,"formElement",void 0),(0,o.gn)([(0,n.Cb)({type:Number})],u.prototype,"rows",void 0),(0,o.gn)([(0,n.Cb)({type:Number})],u.prototype,"cols",void 0),(0,o.gn)([(0,n.Cb)({converter:p})],u.prototype,"charCounter",void 0)},88540:function(t,i,e){e.d(i,{W:function(){return s}});let o;const s=(0,e(57243).iv)(o||(o=(t=>t)`.mdc-text-field{height:100%}.mdc-text-field__input{resize:none}`))},68107:function(t,i,e){var o=e(40810),s=e(73994),r=e(63983),n=e(71998),a=e(4576);o({target:"Iterator",proto:!0,real:!0},{every:function(t){n(this),r(t);var i=a(this),e=0;return!s(i,(function(i,o){if(!t(i,e++))return o()}),{IS_RECORD:!0,INTERRUPTED:!0}).stopped}})},92181:function(t,i,e){e(68107)},30843:function(t,i,e){e.d(i,{e:()=>a});e("19423");var o=e("97284");e("52247"),e("19083"),e("71695"),e("92745"),e("47021"),e("23669"),e("13334");function s(t){return"horizontal"===t?"row":"column"}class r extends o.IE{constructor(){super(...arguments),this._itemSize={},this._gaps={},this._padding={}}_getDefaultConfig(){return Object.assign({},super._getDefaultConfig(),{itemSize:{width:"300px",height:"300px"},gap:"8px",padding:"match-gap"})}get _gap(){return this._gaps.row}get _idealSize(){return this._itemSize[(0,o.qF)(this.direction)]}get _idealSize1(){return this._itemSize[(0,o.qF)(this.direction)]}get _idealSize2(){return this._itemSize[(0,o.gu)(this.direction)]}get _gap1(){return this._gaps[(t=this.direction,"horizontal"===t?"column":"row")];var t}get _gap2(){return this._gaps[s(this.direction)]}get _padding1(){const t=this._padding,[i,e]="horizontal"===this.direction?["left","right"]:["top","bottom"];return[t[i],t[e]]}get _padding2(){const t=this._padding,[i,e]="horizontal"===this.direction?["top","bottom"]:["left","right"];return[t[i],t[e]]}set itemSize(t){const i=this._itemSize;"string"==typeof t&&(t={width:t,height:t});const e=parseInt(t.width),o=parseInt(t.height);e!==i.width&&(i.width=e,this._triggerReflow()),o!==i.height&&(i.height=o,this._triggerReflow())}set gap(t){this._setGap(t)}_setGap(t){const i=t.split(" ").map((t=>function(t){return"auto"===t?1/0:parseInt(t)}(t))),e=this._gaps;i[0]!==e.row&&(e.row=i[0],this._triggerReflow()),void 0===i[1]?i[0]!==e.column&&(e.column=i[0],this._triggerReflow()):i[1]!==e.column&&(e.column=i[1],this._triggerReflow())}set padding(t){const i=this._padding,e=t.split(" ").map((t=>function(t){return"match-gap"===t?1/0:parseInt(t)}(t)));1===e.length?(i.top=i.right=i.bottom=i.left=e[0],this._triggerReflow()):2===e.length?(i.top=i.bottom=e[0],i.right=i.left=e[1],this._triggerReflow()):3===e.length?(i.top=e[0],i.right=i.left=e[1],i.bottom=e[2],this._triggerReflow()):4===e.length&&(["top","right","bottom","left"].forEach(((t,o)=>i[t]=e[o])),this._triggerReflow())}}class n extends r{constructor(){super(...arguments),this._metrics=null,this.flex=null,this.justify=null}_getDefaultConfig(){return Object.assign({},super._getDefaultConfig(),{flex:!1,justify:"start"})}set gap(t){super._setGap(t)}_updateLayout(){const t=this.justify,[i,e]=this._padding1,[r,n]=this._padding2;["_gap1","_gap2"].forEach((i=>{const e=this[i];if(e===1/0&&!["space-between","space-around","space-evenly"].includes(t))throw new Error("grid layout: gap can only be set to 'auto' when justify is set to 'space-between', 'space-around' or 'space-evenly'");if(e===1/0&&"_gap2"===i)throw new Error(`grid layout: ${s(this.direction)}-gap cannot be set to 'auto' when direction is set to ${this.direction}`)}));const a=this.flex||["start","center","end"].includes(t),l={rolumns:-1,itemSize1:-1,itemSize2:-1,gap1:this._gap1===1/0?-1:this._gap1,gap2:a?this._gap2:0,padding1:{start:i===1/0?this._gap1:i,end:e===1/0?this._gap1:e},padding2:a?{start:r===1/0?this._gap2:r,end:n===1/0?this._gap2:n}:{start:0,end:0},positions:[]},h=this._viewDim2-l.padding2.start-l.padding2.end;if(h<=0)l.rolumns=0;else{const s=a?l.gap2:0;let r,n=0,c=0;if(h>=this._idealSize2&&(n=Math.floor((h-this._idealSize2)/(this._idealSize2+s))+1,c=n*this._idealSize2+(n-1)*s),this.flex){(h-c)/(this._idealSize2+s)>=.5&&(n+=1),l.rolumns=n,l.itemSize2=Math.round((h-s*(n-1))/n);switch(!0===this.flex?"area":this.flex.preserve){case"aspect-ratio":l.itemSize1=Math.round(this._idealSize1/this._idealSize2*l.itemSize2);break;case(0,o.qF)(this.direction):l.itemSize1=Math.round(this._idealSize1);break;default:l.itemSize1=Math.round(this._idealSize1*this._idealSize2/l.itemSize2)}}else l.itemSize1=this._idealSize1,l.itemSize2=this._idealSize2,l.rolumns=n;if(a){const i=l.rolumns*l.itemSize2+(l.rolumns-1)*l.gap2;r=this.flex||"start"===t?l.padding2.start:"end"===t?this._viewDim2-l.padding2.end-i:Math.round(this._viewDim2/2-i/2)}else{const o=h-l.rolumns*l.itemSize2;"space-between"===t?(l.gap2=Math.round(o/(Line truncated
//# sourceMappingURL=5045.a4d2983f1660a8c1.js.map