@signalk/freeboard-sk 2.24.2 → 3.0.0-beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +16 -0
- package/docs/screenshots/2_freeboard-sk.jpg +0 -0
- package/docs/screenshots/3_freeboard-sk.jpg +0 -0
- package/package.json +13 -8
- package/public/3rdpartylicenses.txt +70 -19
- package/public/assets/img/no-such-symbol.svg +4 -0
- package/public/chunk-2GXI757Z.js +1 -0
- package/public/chunk-7OJ7YZPE.js +1010 -0
- package/public/chunk-A626ZBXE.js +3871 -0
- package/public/chunk-CSNMIJA3.js +1612 -0
- package/public/chunk-EU3YXT24.js +929 -0
- package/public/chunk-ILSUTX3X.js +1 -0
- package/public/chunk-JJ245XTQ.js +1 -0
- package/public/chunk-NM5IDVR6.js +107 -0
- package/public/chunk-NMXQ543J.js +1 -0
- package/public/chunk-P5D5HOAL.js +1709 -0
- package/public/{chunk-LXUTMJYP.js → chunk-QNWLXTD7.js} +1 -1
- package/public/chunk-RS6VYSOP.js +1 -0
- package/public/chunk-VUZVHRKQ.js +1 -0
- package/public/chunk-WPZCQDE4.js +1 -0
- package/public/chunk-WRR2LL5R.js +1 -0
- package/public/chunk-WWDDTAFW.js +2 -0
- package/public/chunk-XP3I253N.js +1 -0
- package/public/index.html +1 -1
- package/public/main-IKMWD43W.js +466 -0
- package/public/worker-5T47RUMR.js +3 -0
- package/public/chunk-2AF4T5IB.js +0 -1
- package/public/chunk-3GHIRJ3C.js +0 -2
- package/public/chunk-A4TULHTL.js +0 -1
- package/public/chunk-AFVK3UQJ.js +0 -5482
- package/public/chunk-AX3UMUXB.js +0 -1
- package/public/chunk-EFVTFEXB.js +0 -1
- package/public/chunk-FALIRPMH.js +0 -1035
- package/public/chunk-G4GM24WE.js +0 -1
- package/public/chunk-NTIQMWPW.js +0 -2718
- package/public/chunk-QIOZNURQ.js +0 -1
- package/public/chunk-SBFXQ3G7.js +0 -1
- package/public/main-AZEF35BN.js +0 -466
- package/public/worker-AUTVLQL7.js +0 -3
|
@@ -0,0 +1,1010 @@
|
|
|
1
|
+
import{$a as s,$b as Ae,$d as Be,B as pe,Ba as P,Bc as z,C as _e,Ca as m,Da as f,E as be,Eb as Te,Ed as ne,G as W,Gb as Z,Ia as T,J as S,Ja as u,K as E,Ka as h,L as b,La as N,Ma as Ce,N as r,Na as Fe,Nb as V,Oa as X,Pb as De,Ta as H,Tb as Le,Ua as B,Vb as te,W as g,Wa as F,X as ge,Xa as q,Xb as ze,Xd as Ne,Y as Q,Ya as _,Z as xe,Za as we,Zd as He,_a as K,a as ce,aa as C,ab as c,b as me,bb as Me,c as y,cb as Se,cd as Oe,db as J,eb as ee,ee as qe,g as fe,gb as v,ha as d,ic as L,jb as Ee,k as ue,ka as ve,kb as Re,la as O,ld as A,mc as Ie,pa as w,pc as ie,pd as Pe,qa as R,qc as ke,r as he,ra as x,s as j,sc as G,ua as U,ub as D,wa as ye}from"./chunk-P5D5HOAL.js";var oe=class{_box;_destroyed=new y;_resizeSubject=new y;_resizeObserver;_elementObservables=new Map;constructor(l){this._box=l,typeof ResizeObserver<"u"&&(this._resizeObserver=new ResizeObserver(e=>this._resizeSubject.next(e)))}observe(l){return this._elementObservables.has(l)||this._elementObservables.set(l,new me(e=>{let t=this._resizeSubject.subscribe(e);return this._resizeObserver?.observe(l,{box:this._box}),()=>{this._resizeObserver?.unobserve(l),t.unsubscribe(),this._elementObservables.delete(l)}}).pipe(j(e=>e.some(t=>t.target===l)),_e({bufferSize:1,refCount:!0}),W(this._destroyed))),this._elementObservables.get(l)}destroy(){this._destroyed.next(),this._destroyed.complete(),this._resizeSubject.complete(),this._elementObservables.clear()}},Ve=(()=>{class i{_cleanupErrorListener;_observers=new Map;_ngZone=r(g);constructor(){typeof ResizeObserver<"u"}ngOnDestroy(){for(let[,e]of this._observers)e.destroy();this._observers.clear(),this._cleanupErrorListener?.()}observe(e,t){let n=t?.box||"content-box";return this._observers.has(n)||this._observers.set(n,new oe(n)),this._observers.get(n).observe(e)}static \u0275fac=function(t){return new(t||i)};static \u0275prov=S({token:i,factory:i.\u0275fac,providedIn:"root"})}return i})();var ft=["notch"],ut=["matFormFieldNotchedOutline",""],ht=["*"],je=["iconPrefixContainer"],We=["textPrefixContainer"],Qe=["iconSuffixContainer"],Ue=["textSuffixContainer"],pt=["textField"],_t=["*",[["mat-label"]],[["","matPrefix",""],["","matIconPrefix",""]],[["","matTextPrefix",""]],[["","matTextSuffix",""]],[["","matSuffix",""],["","matIconSuffix",""]],[["mat-error"],["","matError",""]],[["mat-hint",3,"align","end"]],[["mat-hint","align","end"]]],bt=["*","mat-label","[matPrefix], [matIconPrefix]","[matTextPrefix]","[matTextSuffix]","[matSuffix], [matIconSuffix]","mat-error, [matError]","mat-hint:not([align='end'])","mat-hint[align='end']"];function gt(i,l){i&1&&N(0,"span",21)}function xt(i,l){if(i&1&&(u(0,"label",20),_(1,1),m(2,gt,1,0,"span",21),h()),i&2){let e=F(2);T("floating",e._shouldLabelFloat())("monitorResize",e._hasOutline())("id",e._labelId),P("for",e._control.disableAutomaticLabeling?null:e._control.id),d(2),f(!e.hideRequiredMarker&&e._control.required?2:-1)}}function vt(i,l){if(i&1&&m(0,xt,3,5,"label",20),i&2){let e=F();f(e._hasFloatingLabel()?0:-1)}}function yt(i,l){i&1&&N(0,"div",7)}function Ct(i,l){}function Ft(i,l){if(i&1&&U(0,Ct,0,0,"ng-template",13),i&2){F(2);let e=ee(1);T("ngTemplateOutlet",e)}}function wt(i,l){if(i&1&&(u(0,"div",9),m(1,Ft,1,1,null,13),h()),i&2){let e=F();T("matFormFieldNotchedOutlineOpen",e._shouldLabelFloat()),d(),f(e._forceDisplayInfixLabel()?-1:1)}}function Mt(i,l){i&1&&(u(0,"div",10,2),_(2,2),h())}function St(i,l){i&1&&(u(0,"div",11,3),_(2,3),h())}function Et(i,l){}function Rt(i,l){if(i&1&&U(0,Et,0,0,"ng-template",13),i&2){F();let e=ee(1);T("ngTemplateOutlet",e)}}function Tt(i,l){i&1&&(u(0,"div",14,4),_(2,4),h())}function Dt(i,l){i&1&&(u(0,"div",15,5),_(2,5),h())}function Lt(i,l){i&1&&N(0,"div",16)}function zt(i,l){i&1&&(u(0,"div",18),_(1,6),h())}function At(i,l){if(i&1&&(u(0,"mat-hint",22),Ee(1),h()),i&2){let e=F(2);T("id",e._hintLabelId),d(),Re(e.hintLabel)}}function It(i,l){if(i&1&&(u(0,"div",19),m(1,At,2,2,"mat-hint",22),_(2,7),N(3,"div",23),_(4,8),h()),i&2){let e=F();d(),f(e.hintLabel?1:-1)}}var re=(()=>{class i{static \u0275fac=function(t){return new(t||i)};static \u0275dir=x({type:i,selectors:[["mat-label"]]})}return i})(),Je=new b("MatError"),kt=(()=>{class i{id=r(z).getId("mat-mdc-error-");constructor(){}static \u0275fac=function(t){return new(t||i)};static \u0275dir=x({type:i,selectors:[["mat-error"],["","matError",""]],hostAttrs:[1,"mat-mdc-form-field-error","mat-mdc-form-field-bottom-align"],hostVars:1,hostBindings:function(t,n){t&2&&H("id",n.id)},inputs:{id:"id"},features:[D([{provide:Je,useExisting:i}])]})}return i})(),ae=(()=>{class i{align="start";id=r(z).getId("mat-mdc-hint-");static \u0275fac=function(t){return new(t||i)};static \u0275dir=x({type:i,selectors:[["mat-hint"]],hostAttrs:[1,"mat-mdc-form-field-hint","mat-mdc-form-field-bottom-align"],hostVars:4,hostBindings:function(t,n){t&2&&(H("id",n.id),P("align",null),v("mat-mdc-form-field-hint-end",n.align==="end"))},inputs:{align:"align",id:"id"}})}return i})(),Ot=new b("MatPrefix");var et=new b("MatSuffix"),Pt=(()=>{class i{set _isTextSelector(e){this._isText=!0}_isText=!1;static \u0275fac=function(t){return new(t||i)};static \u0275dir=x({type:i,selectors:[["","matSuffix",""],["","matIconSuffix",""],["","matTextSuffix",""]],inputs:{_isTextSelector:[0,"matTextSuffix","_isTextSelector"]},features:[D([{provide:et,useExisting:i}])]})}return i})(),tt=new b("FloatingLabelParent"),Ze=(()=>{class i{_elementRef=r(C);get floating(){return this._floating}set floating(e){this._floating=e,this.monitorResize&&this._handleResize()}_floating=!1;get monitorResize(){return this._monitorResize}set monitorResize(e){this._monitorResize=e,this._monitorResize?this._subscribeToResize():this._resizeSubscription.unsubscribe()}_monitorResize=!1;_resizeObserver=r(Ve);_ngZone=r(g);_parent=r(tt);_resizeSubscription=new ce;constructor(){}ngOnDestroy(){this._resizeSubscription.unsubscribe()}getWidth(){return Nt(this._elementRef.nativeElement)}get element(){return this._elementRef.nativeElement}_handleResize(){setTimeout(()=>this._parent._handleLabelResized())}_subscribeToResize(){this._resizeSubscription.unsubscribe(),this._ngZone.runOutsideAngular(()=>{this._resizeSubscription=this._resizeObserver.observe(this._elementRef.nativeElement,{box:"border-box"}).subscribe(()=>this._handleResize())})}static \u0275fac=function(t){return new(t||i)};static \u0275dir=x({type:i,selectors:[["label","matFormFieldFloatingLabel",""]],hostAttrs:[1,"mdc-floating-label","mat-mdc-floating-label"],hostVars:2,hostBindings:function(t,n){t&2&&v("mdc-floating-label--float-above",n.floating)},inputs:{floating:"floating",monitorResize:"monitorResize"}})}return i})();function Nt(i){let l=i;if(l.offsetParent!==null)return l.scrollWidth;let e=l.cloneNode(!0);e.style.setProperty("position","absolute"),e.style.setProperty("transform","translate(-9999px, -9999px)"),document.documentElement.appendChild(e);let t=e.scrollWidth;return e.remove(),t}var Ge="mdc-line-ripple--active",$="mdc-line-ripple--deactivating",$e=(()=>{class i{_elementRef=r(C);_cleanupTransitionEnd;constructor(){let e=r(g),t=r(O);e.runOutsideAngular(()=>{this._cleanupTransitionEnd=t.listen(this._elementRef.nativeElement,"transitionend",this._handleTransitionEnd)})}activate(){let e=this._elementRef.nativeElement.classList;e.remove($),e.add(Ge)}deactivate(){this._elementRef.nativeElement.classList.add($)}_handleTransitionEnd=e=>{let t=this._elementRef.nativeElement.classList,n=t.contains($);e.propertyName==="opacity"&&n&&t.remove(Ge,$)};ngOnDestroy(){this._cleanupTransitionEnd()}static \u0275fac=function(t){return new(t||i)};static \u0275dir=x({type:i,selectors:[["div","matFormFieldLineRipple",""]],hostAttrs:[1,"mdc-line-ripple"]})}return i})(),Ye=(()=>{class i{_elementRef=r(C);_ngZone=r(g);open=!1;_notch;ngAfterViewInit(){let e=this._elementRef.nativeElement,t=e.querySelector(".mdc-floating-label");t?(e.classList.add("mdc-notched-outline--upgraded"),typeof requestAnimationFrame=="function"&&(t.style.transitionDuration="0s",this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>t.style.transitionDuration="")}))):e.classList.add("mdc-notched-outline--no-label")}_setNotchWidth(e){let t=this._notch.nativeElement;!this.open||!e?t.style.width="":t.style.width=`calc(${e}px * var(--mat-mdc-form-field-floating-label-scale, 0.75) + 9px)`}_setMaxWidth(e){this._notch.nativeElement.style.setProperty("--mat-form-field-notch-max-width",`calc(100% - ${e}px)`)}static \u0275fac=function(t){return new(t||i)};static \u0275cmp=w({type:i,selectors:[["div","matFormFieldNotchedOutline",""]],viewQuery:function(t,n){if(t&1&&K(ft,5),t&2){let o;s(o=c())&&(n._notch=o.first)}},hostAttrs:[1,"mdc-notched-outline"],hostVars:2,hostBindings:function(t,n){t&2&&v("mdc-notched-outline--notched",n.open)},inputs:{open:[0,"matFormFieldNotchedOutlineOpen","open"]},attrs:ut,ngContentSelectors:ht,decls:5,vars:0,consts:[["notch",""],[1,"mat-mdc-notch-piece","mdc-notched-outline__leading"],[1,"mat-mdc-notch-piece","mdc-notched-outline__notch"],[1,"mat-mdc-notch-piece","mdc-notched-outline__trailing"]],template:function(t,n){t&1&&(q(),X(0,"div",1),Ce(1,"div",2,0),_(3),Fe(),X(4,"div",3))},encapsulation:2,changeDetection:0})}return i})(),le=(()=>{class i{value=null;stateChanges;id;placeholder;ngControl=null;focused=!1;empty=!1;shouldLabelFloat=!1;required=!1;disabled=!1;errorState=!1;controlType;autofilled;userAriaDescribedBy;disableAutomaticLabeling;describedByIds;static \u0275fac=function(t){return new(t||i)};static \u0275dir=x({type:i})}return i})();var de=new b("MatFormField"),Ht=new b("MAT_FORM_FIELD_DEFAULT_OPTIONS"),Xe="fill",Bt="auto",Ke="fixed",qt="translateY(-50%)",it=(()=>{class i{_elementRef=r(C);_changeDetectorRef=r(Le);_platform=r(L);_idGenerator=r(z);_ngZone=r(g);_defaults=r(Ht,{optional:!0});_currentDirection;_textField;_iconPrefixContainer;_textPrefixContainer;_iconSuffixContainer;_textSuffixContainer;_floatingLabel;_notchedOutline;_lineRipple;_iconPrefixContainerSignal=V("iconPrefixContainer");_textPrefixContainerSignal=V("textPrefixContainer");_iconSuffixContainerSignal=V("iconSuffixContainer");_textSuffixContainerSignal=V("textSuffixContainer");_prefixSuffixContainers=Z(()=>[this._iconPrefixContainerSignal(),this._textPrefixContainerSignal(),this._iconSuffixContainerSignal(),this._textSuffixContainerSignal()].map(e=>e?.nativeElement).filter(e=>e!==void 0));_formFieldControl;_prefixChildren;_suffixChildren;_errorChildren;_hintChildren;_labelChild=De(re);get hideRequiredMarker(){return this._hideRequiredMarker}set hideRequiredMarker(e){this._hideRequiredMarker=A(e)}_hideRequiredMarker=!1;color="primary";get floatLabel(){return this._floatLabel||this._defaults?.floatLabel||Bt}set floatLabel(e){e!==this._floatLabel&&(this._floatLabel=e,this._changeDetectorRef.markForCheck())}_floatLabel;get appearance(){return this._appearanceSignal()}set appearance(e){let t=e||this._defaults?.appearance||Xe;this._appearanceSignal.set(t)}_appearanceSignal=ge(Xe);get subscriptSizing(){return this._subscriptSizing||this._defaults?.subscriptSizing||Ke}set subscriptSizing(e){this._subscriptSizing=e||this._defaults?.subscriptSizing||Ke}_subscriptSizing=null;get hintLabel(){return this._hintLabel}set hintLabel(e){this._hintLabel=e,this._processHints()}_hintLabel="";_hasIconPrefix=!1;_hasTextPrefix=!1;_hasIconSuffix=!1;_hasTextSuffix=!1;_labelId=this._idGenerator.getId("mat-mdc-form-field-label-");_hintLabelId=this._idGenerator.getId("mat-mdc-hint-");_describedByIds;get _control(){return this._explicitFormFieldControl||this._formFieldControl}set _control(e){this._explicitFormFieldControl=e}_destroyed=new y;_isFocused=null;_explicitFormFieldControl;_previousControl=null;_previousControlValidatorFn=null;_stateChanges;_valueChanges;_describedByChanges;_outlineLabelOffsetResizeObserver=null;_animationsDisabled=Pe();constructor(){let e=this._defaults,t=r(ke);e&&(e.appearance&&(this.appearance=e.appearance),this._hideRequiredMarker=!!e?.hideRequiredMarker,e.color&&(this.color=e.color)),Q(()=>this._currentDirection=t.valueSignal()),this._syncOutlineLabelOffset()}ngAfterViewInit(){this._updateFocusState(),this._animationsDisabled||this._ngZone.runOutsideAngular(()=>{setTimeout(()=>{this._elementRef.nativeElement.classList.add("mat-form-field-animations-enabled")},300)}),this._changeDetectorRef.detectChanges()}ngAfterContentInit(){this._assertFormFieldControl(),this._initializeSubscript(),this._initializePrefixAndSuffix()}ngAfterContentChecked(){this._assertFormFieldControl(),this._control!==this._previousControl&&(this._initializeControl(this._previousControl),this._control.ngControl&&this._control.ngControl.control&&(this._previousControlValidatorFn=this._control.ngControl.control.validator),this._previousControl=this._control),this._control.ngControl&&this._control.ngControl.control&&this._control.ngControl.control.validator!==this._previousControlValidatorFn&&this._changeDetectorRef.markForCheck()}ngOnDestroy(){this._outlineLabelOffsetResizeObserver?.disconnect(),this._stateChanges?.unsubscribe(),this._valueChanges?.unsubscribe(),this._describedByChanges?.unsubscribe(),this._destroyed.next(),this._destroyed.complete()}getLabelId=Z(()=>this._hasFloatingLabel()?this._labelId:null);getConnectedOverlayOrigin(){return this._textField||this._elementRef}_animateAndLockLabel(){this._hasFloatingLabel()&&(this.floatLabel="always")}_initializeControl(e){let t=this._control,n="mat-mdc-form-field-type-";e&&this._elementRef.nativeElement.classList.remove(n+e.controlType),t.controlType&&this._elementRef.nativeElement.classList.add(n+t.controlType),this._stateChanges?.unsubscribe(),this._stateChanges=t.stateChanges.subscribe(()=>{this._updateFocusState(),this._changeDetectorRef.markForCheck()}),this._describedByChanges?.unsubscribe(),this._describedByChanges=t.stateChanges.pipe(be([void 0,void 0]),ue(()=>[t.errorState,t.userAriaDescribedBy]),pe(),j(([[o,a],[p,k]])=>o!==p||a!==k)).subscribe(()=>this._syncDescribedByIds()),this._valueChanges?.unsubscribe(),t.ngControl&&t.ngControl.valueChanges&&(this._valueChanges=t.ngControl.valueChanges.pipe(W(this._destroyed)).subscribe(()=>this._changeDetectorRef.markForCheck()))}_checkPrefixAndSuffixTypes(){this._hasIconPrefix=!!this._prefixChildren.find(e=>!e._isText),this._hasTextPrefix=!!this._prefixChildren.find(e=>e._isText),this._hasIconSuffix=!!this._suffixChildren.find(e=>!e._isText),this._hasTextSuffix=!!this._suffixChildren.find(e=>e._isText)}_initializePrefixAndSuffix(){this._checkPrefixAndSuffixTypes(),he(this._prefixChildren.changes,this._suffixChildren.changes).subscribe(()=>{this._checkPrefixAndSuffixTypes(),this._changeDetectorRef.markForCheck()})}_initializeSubscript(){this._hintChildren.changes.subscribe(()=>{this._processHints(),this._changeDetectorRef.markForCheck()}),this._errorChildren.changes.subscribe(()=>{this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),this._validateHints(),this._syncDescribedByIds()}_assertFormFieldControl(){this._control}_updateFocusState(){let e=this._control.focused;e&&!this._isFocused?(this._isFocused=!0,this._lineRipple?.activate()):!e&&(this._isFocused||this._isFocused===null)&&(this._isFocused=!1,this._lineRipple?.deactivate()),this._elementRef.nativeElement.classList.toggle("mat-focused",e),this._textField?.nativeElement.classList.toggle("mdc-text-field--focused",e)}_syncOutlineLabelOffset(){ze({earlyRead:()=>{if(this._appearanceSignal()!=="outline")return this._outlineLabelOffsetResizeObserver?.disconnect(),null;if(globalThis.ResizeObserver){this._outlineLabelOffsetResizeObserver||=new globalThis.ResizeObserver(()=>{this._writeOutlinedLabelStyles(this._getOutlinedLabelOffset())});for(let e of this._prefixSuffixContainers())this._outlineLabelOffsetResizeObserver.observe(e,{box:"border-box"})}return this._getOutlinedLabelOffset()},write:e=>this._writeOutlinedLabelStyles(e())})}_shouldAlwaysFloat(){return this.floatLabel==="always"}_hasOutline(){return this.appearance==="outline"}_forceDisplayInfixLabel(){return!this._platform.isBrowser&&this._prefixChildren.length&&!this._shouldLabelFloat()}_hasFloatingLabel=Z(()=>!!this._labelChild());_shouldLabelFloat(){return this._hasFloatingLabel()?this._control.shouldLabelFloat||this._shouldAlwaysFloat():!1}_shouldForward(e){let t=this._control?this._control.ngControl:null;return t&&t[e]}_getSubscriptMessageType(){return this._errorChildren&&this._errorChildren.length>0&&this._control.errorState?"error":"hint"}_handleLabelResized(){this._refreshOutlineNotchWidth()}_refreshOutlineNotchWidth(){!this._hasOutline()||!this._floatingLabel||!this._shouldLabelFloat()?this._notchedOutline?._setNotchWidth(0):this._notchedOutline?._setNotchWidth(this._floatingLabel.getWidth())}_processHints(){this._validateHints(),this._syncDescribedByIds()}_validateHints(){this._hintChildren}_syncDescribedByIds(){if(this._control){let e=[];if(this._control.userAriaDescribedBy&&typeof this._control.userAriaDescribedBy=="string"&&e.push(...this._control.userAriaDescribedBy.split(" ")),this._getSubscriptMessageType()==="hint"){let o=this._hintChildren?this._hintChildren.find(p=>p.align==="start"):null,a=this._hintChildren?this._hintChildren.find(p=>p.align==="end"):null;o?e.push(o.id):this._hintLabel&&e.push(this._hintLabelId),a&&e.push(a.id)}else this._errorChildren&&e.push(...this._errorChildren.map(o=>o.id));let t=this._control.describedByIds,n;if(t){let o=this._describedByIds||e;n=e.concat(t.filter(a=>a&&!o.includes(a)))}else n=e;this._control.setDescribedByIds(n),this._describedByIds=e}}_getOutlinedLabelOffset(){if(!this._hasOutline()||!this._floatingLabel)return null;if(!this._iconPrefixContainer&&!this._textPrefixContainer)return["",null];if(!this._isAttachedToDom())return null;let e=this._iconPrefixContainer?.nativeElement,t=this._textPrefixContainer?.nativeElement,n=this._iconSuffixContainer?.nativeElement,o=this._textSuffixContainer?.nativeElement,a=e?.getBoundingClientRect().width??0,p=t?.getBoundingClientRect().width??0,k=n?.getBoundingClientRect().width??0,M=o?.getBoundingClientRect().width??0,lt=this._currentDirection==="rtl"?"-1":"1",dt=`${a+p}px`,st=`calc(${lt} * (${dt} + var(--mat-mdc-form-field-label-offset-x, 0px)))`,ct=`var(--mat-mdc-form-field-label-transform, ${qt} translateX(${st}))`,mt=a+p+k+M;return[ct,mt]}_writeOutlinedLabelStyles(e){if(e!==null){let[t,n]=e;this._floatingLabel&&(this._floatingLabel.element.style.transform=t),n!==null&&this._notchedOutline?._setMaxWidth(n)}}_isAttachedToDom(){let e=this._elementRef.nativeElement;if(e.getRootNode){let t=e.getRootNode();return t&&t!==e}return document.documentElement.contains(e)}static \u0275fac=function(t){return new(t||i)};static \u0275cmp=w({type:i,selectors:[["mat-form-field"]],contentQueries:function(t,n,o){if(t&1&&(Me(o,n._labelChild,re,5),we(o,le,5)(o,Ot,5)(o,et,5)(o,Je,5)(o,ae,5)),t&2){J();let a;s(a=c())&&(n._formFieldControl=a.first),s(a=c())&&(n._prefixChildren=a),s(a=c())&&(n._suffixChildren=a),s(a=c())&&(n._errorChildren=a),s(a=c())&&(n._hintChildren=a)}},viewQuery:function(t,n){if(t&1&&(Se(n._iconPrefixContainerSignal,je,5)(n._textPrefixContainerSignal,We,5)(n._iconSuffixContainerSignal,Qe,5)(n._textSuffixContainerSignal,Ue,5),K(pt,5)(je,5)(We,5)(Qe,5)(Ue,5)(Ze,5)(Ye,5)($e,5)),t&2){J(4);let o;s(o=c())&&(n._textField=o.first),s(o=c())&&(n._iconPrefixContainer=o.first),s(o=c())&&(n._textPrefixContainer=o.first),s(o=c())&&(n._iconSuffixContainer=o.first),s(o=c())&&(n._textSuffixContainer=o.first),s(o=c())&&(n._floatingLabel=o.first),s(o=c())&&(n._notchedOutline=o.first),s(o=c())&&(n._lineRipple=o.first)}},hostAttrs:[1,"mat-mdc-form-field"],hostVars:38,hostBindings:function(t,n){t&2&&v("mat-mdc-form-field-label-always-float",n._shouldAlwaysFloat())("mat-mdc-form-field-has-icon-prefix",n._hasIconPrefix)("mat-mdc-form-field-has-icon-suffix",n._hasIconSuffix)("mat-form-field-invalid",n._control.errorState)("mat-form-field-disabled",n._control.disabled)("mat-form-field-autofilled",n._control.autofilled)("mat-form-field-appearance-fill",n.appearance=="fill")("mat-form-field-appearance-outline",n.appearance=="outline")("mat-form-field-hide-placeholder",n._hasFloatingLabel()&&!n._shouldLabelFloat())("mat-primary",n.color!=="accent"&&n.color!=="warn")("mat-accent",n.color==="accent")("mat-warn",n.color==="warn")("ng-untouched",n._shouldForward("untouched"))("ng-touched",n._shouldForward("touched"))("ng-pristine",n._shouldForward("pristine"))("ng-dirty",n._shouldForward("dirty"))("ng-valid",n._shouldForward("valid"))("ng-invalid",n._shouldForward("invalid"))("ng-pending",n._shouldForward("pending"))},inputs:{hideRequiredMarker:"hideRequiredMarker",color:"color",floatLabel:"floatLabel",appearance:"appearance",subscriptSizing:"subscriptSizing",hintLabel:"hintLabel"},exportAs:["matFormField"],features:[D([{provide:de,useExisting:i},{provide:tt,useExisting:i}])],ngContentSelectors:bt,decls:18,vars:21,consts:[["labelTemplate",""],["textField",""],["iconPrefixContainer",""],["textPrefixContainer",""],["textSuffixContainer",""],["iconSuffixContainer",""],[1,"mat-mdc-text-field-wrapper","mdc-text-field",3,"click"],[1,"mat-mdc-form-field-focus-overlay"],[1,"mat-mdc-form-field-flex"],["matFormFieldNotchedOutline","",3,"matFormFieldNotchedOutlineOpen"],[1,"mat-mdc-form-field-icon-prefix"],[1,"mat-mdc-form-field-text-prefix"],[1,"mat-mdc-form-field-infix"],[3,"ngTemplateOutlet"],[1,"mat-mdc-form-field-text-suffix"],[1,"mat-mdc-form-field-icon-suffix"],["matFormFieldLineRipple",""],["aria-atomic","true","aria-live","polite",1,"mat-mdc-form-field-subscript-wrapper","mat-mdc-form-field-bottom-align"],[1,"mat-mdc-form-field-error-wrapper"],[1,"mat-mdc-form-field-hint-wrapper"],["matFormFieldFloatingLabel","",3,"floating","monitorResize","id"],["aria-hidden","true",1,"mat-mdc-form-field-required-marker","mdc-floating-label--required"],[3,"id"],[1,"mat-mdc-form-field-hint-spacer"]],template:function(t,n){if(t&1&&(q(_t),U(0,vt,1,1,"ng-template",null,0,Te),u(2,"div",6,1),B("click",function(a){return n._control.onContainerClick(a)}),m(4,yt,1,0,"div",7),u(5,"div",8),m(6,wt,2,2,"div",9),m(7,Mt,3,0,"div",10),m(8,St,3,0,"div",11),u(9,"div",12),m(10,Rt,1,1,null,13),_(11),h(),m(12,Tt,3,0,"div",14),m(13,Dt,3,0,"div",15),h(),m(14,Lt,1,0,"div",16),h(),u(15,"div",17),m(16,zt,2,0,"div",18)(17,It,5,1,"div",19),h()),t&2){let o;d(2),v("mdc-text-field--filled",!n._hasOutline())("mdc-text-field--outlined",n._hasOutline())("mdc-text-field--no-label",!n._hasFloatingLabel())("mdc-text-field--disabled",n._control.disabled)("mdc-text-field--invalid",n._control.errorState),d(2),f(!n._hasOutline()&&!n._control.disabled?4:-1),d(2),f(n._hasOutline()?6:-1),d(),f(n._hasIconPrefix?7:-1),d(),f(n._hasTextPrefix?8:-1),d(2),f(!n._hasOutline()||n._forceDisplayInfixLabel()?10:-1),d(2),f(n._hasTextSuffix?12:-1),d(),f(n._hasIconSuffix?13:-1),d(),f(n._hasOutline()?-1:14),d(),v("mat-mdc-form-field-subscript-dynamic-size",n.subscriptSizing==="dynamic");let a=n._getSubscriptMessageType();d(),f((o=a)==="error"?16:o==="hint"?17:-1)}},dependencies:[Ze,Ye,Ae,$e,ae],styles:[`.mdc-text-field {
|
|
2
|
+
display: inline-flex;
|
|
3
|
+
align-items: baseline;
|
|
4
|
+
padding: 0 16px;
|
|
5
|
+
position: relative;
|
|
6
|
+
box-sizing: border-box;
|
|
7
|
+
overflow: hidden;
|
|
8
|
+
will-change: opacity, transform, color;
|
|
9
|
+
border-top-left-radius: 4px;
|
|
10
|
+
border-top-right-radius: 4px;
|
|
11
|
+
border-bottom-right-radius: 0;
|
|
12
|
+
border-bottom-left-radius: 0;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
.mdc-text-field__input {
|
|
16
|
+
width: 100%;
|
|
17
|
+
min-width: 0;
|
|
18
|
+
border: none;
|
|
19
|
+
border-radius: 0;
|
|
20
|
+
background: none;
|
|
21
|
+
padding: 0;
|
|
22
|
+
-moz-appearance: none;
|
|
23
|
+
-webkit-appearance: none;
|
|
24
|
+
height: 28px;
|
|
25
|
+
}
|
|
26
|
+
.mdc-text-field__input::-webkit-calendar-picker-indicator, .mdc-text-field__input::-webkit-search-cancel-button {
|
|
27
|
+
display: none;
|
|
28
|
+
}
|
|
29
|
+
.mdc-text-field__input::-ms-clear {
|
|
30
|
+
display: none;
|
|
31
|
+
}
|
|
32
|
+
.mdc-text-field__input:focus {
|
|
33
|
+
outline: none;
|
|
34
|
+
}
|
|
35
|
+
.mdc-text-field__input:invalid {
|
|
36
|
+
box-shadow: none;
|
|
37
|
+
}
|
|
38
|
+
.mdc-text-field__input::placeholder {
|
|
39
|
+
opacity: 0;
|
|
40
|
+
}
|
|
41
|
+
.mdc-text-field__input::-moz-placeholder {
|
|
42
|
+
opacity: 0;
|
|
43
|
+
}
|
|
44
|
+
.mdc-text-field__input::-webkit-input-placeholder {
|
|
45
|
+
opacity: 0;
|
|
46
|
+
}
|
|
47
|
+
.mdc-text-field__input:-ms-input-placeholder {
|
|
48
|
+
opacity: 0;
|
|
49
|
+
}
|
|
50
|
+
.mdc-text-field--no-label .mdc-text-field__input::placeholder, .mdc-text-field--focused .mdc-text-field__input::placeholder {
|
|
51
|
+
opacity: 1;
|
|
52
|
+
}
|
|
53
|
+
.mdc-text-field--no-label .mdc-text-field__input::-moz-placeholder, .mdc-text-field--focused .mdc-text-field__input::-moz-placeholder {
|
|
54
|
+
opacity: 1;
|
|
55
|
+
}
|
|
56
|
+
.mdc-text-field--no-label .mdc-text-field__input::-webkit-input-placeholder, .mdc-text-field--focused .mdc-text-field__input::-webkit-input-placeholder {
|
|
57
|
+
opacity: 1;
|
|
58
|
+
}
|
|
59
|
+
.mdc-text-field--no-label .mdc-text-field__input:-ms-input-placeholder, .mdc-text-field--focused .mdc-text-field__input:-ms-input-placeholder {
|
|
60
|
+
opacity: 1;
|
|
61
|
+
}
|
|
62
|
+
.mdc-text-field--disabled:not(.mdc-text-field--no-label) .mdc-text-field__input.mat-mdc-input-disabled-interactive::placeholder {
|
|
63
|
+
opacity: 0;
|
|
64
|
+
}
|
|
65
|
+
.mdc-text-field--disabled:not(.mdc-text-field--no-label) .mdc-text-field__input.mat-mdc-input-disabled-interactive::-moz-placeholder {
|
|
66
|
+
opacity: 0;
|
|
67
|
+
}
|
|
68
|
+
.mdc-text-field--disabled:not(.mdc-text-field--no-label) .mdc-text-field__input.mat-mdc-input-disabled-interactive::-webkit-input-placeholder {
|
|
69
|
+
opacity: 0;
|
|
70
|
+
}
|
|
71
|
+
.mdc-text-field--disabled:not(.mdc-text-field--no-label) .mdc-text-field__input.mat-mdc-input-disabled-interactive:-ms-input-placeholder {
|
|
72
|
+
opacity: 0;
|
|
73
|
+
}
|
|
74
|
+
.mdc-text-field--outlined .mdc-text-field__input, .mdc-text-field--filled.mdc-text-field--no-label .mdc-text-field__input {
|
|
75
|
+
height: 100%;
|
|
76
|
+
}
|
|
77
|
+
.mdc-text-field--outlined .mdc-text-field__input {
|
|
78
|
+
display: flex;
|
|
79
|
+
border: none !important;
|
|
80
|
+
background-color: transparent;
|
|
81
|
+
}
|
|
82
|
+
.mdc-text-field--disabled .mdc-text-field__input {
|
|
83
|
+
pointer-events: auto;
|
|
84
|
+
}
|
|
85
|
+
.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input {
|
|
86
|
+
color: var(--mat-form-field-filled-input-text-color, var(--mat-sys-on-surface));
|
|
87
|
+
caret-color: var(--mat-form-field-filled-caret-color, var(--mat-sys-primary));
|
|
88
|
+
}
|
|
89
|
+
.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input::placeholder {
|
|
90
|
+
color: var(--mat-form-field-filled-input-text-placeholder-color, var(--mat-sys-on-surface-variant));
|
|
91
|
+
}
|
|
92
|
+
.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input::-moz-placeholder {
|
|
93
|
+
color: var(--mat-form-field-filled-input-text-placeholder-color, var(--mat-sys-on-surface-variant));
|
|
94
|
+
}
|
|
95
|
+
.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input::-webkit-input-placeholder {
|
|
96
|
+
color: var(--mat-form-field-filled-input-text-placeholder-color, var(--mat-sys-on-surface-variant));
|
|
97
|
+
}
|
|
98
|
+
.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input:-ms-input-placeholder {
|
|
99
|
+
color: var(--mat-form-field-filled-input-text-placeholder-color, var(--mat-sys-on-surface-variant));
|
|
100
|
+
}
|
|
101
|
+
.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input {
|
|
102
|
+
color: var(--mat-form-field-outlined-input-text-color, var(--mat-sys-on-surface));
|
|
103
|
+
caret-color: var(--mat-form-field-outlined-caret-color, var(--mat-sys-primary));
|
|
104
|
+
}
|
|
105
|
+
.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input::placeholder {
|
|
106
|
+
color: var(--mat-form-field-outlined-input-text-placeholder-color, var(--mat-sys-on-surface-variant));
|
|
107
|
+
}
|
|
108
|
+
.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input::-moz-placeholder {
|
|
109
|
+
color: var(--mat-form-field-outlined-input-text-placeholder-color, var(--mat-sys-on-surface-variant));
|
|
110
|
+
}
|
|
111
|
+
.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input::-webkit-input-placeholder {
|
|
112
|
+
color: var(--mat-form-field-outlined-input-text-placeholder-color, var(--mat-sys-on-surface-variant));
|
|
113
|
+
}
|
|
114
|
+
.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input:-ms-input-placeholder {
|
|
115
|
+
color: var(--mat-form-field-outlined-input-text-placeholder-color, var(--mat-sys-on-surface-variant));
|
|
116
|
+
}
|
|
117
|
+
.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-text-field__input {
|
|
118
|
+
caret-color: var(--mat-form-field-filled-error-caret-color, var(--mat-sys-error));
|
|
119
|
+
}
|
|
120
|
+
.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-text-field__input {
|
|
121
|
+
caret-color: var(--mat-form-field-outlined-error-caret-color, var(--mat-sys-error));
|
|
122
|
+
}
|
|
123
|
+
.mdc-text-field--filled.mdc-text-field--disabled .mdc-text-field__input {
|
|
124
|
+
color: var(--mat-form-field-filled-disabled-input-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));
|
|
125
|
+
}
|
|
126
|
+
.mdc-text-field--outlined.mdc-text-field--disabled .mdc-text-field__input {
|
|
127
|
+
color: var(--mat-form-field-outlined-disabled-input-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));
|
|
128
|
+
}
|
|
129
|
+
@media (forced-colors: active) {
|
|
130
|
+
.mdc-text-field--disabled .mdc-text-field__input {
|
|
131
|
+
background-color: Window;
|
|
132
|
+
}
|
|
133
|
+
}
|
|
134
|
+
|
|
135
|
+
.mdc-text-field--filled {
|
|
136
|
+
height: 56px;
|
|
137
|
+
border-bottom-right-radius: 0;
|
|
138
|
+
border-bottom-left-radius: 0;
|
|
139
|
+
border-top-left-radius: var(--mat-form-field-filled-container-shape, var(--mat-sys-corner-extra-small));
|
|
140
|
+
border-top-right-radius: var(--mat-form-field-filled-container-shape, var(--mat-sys-corner-extra-small));
|
|
141
|
+
}
|
|
142
|
+
.mdc-text-field--filled:not(.mdc-text-field--disabled) {
|
|
143
|
+
background-color: var(--mat-form-field-filled-container-color, var(--mat-sys-surface-variant));
|
|
144
|
+
}
|
|
145
|
+
.mdc-text-field--filled.mdc-text-field--disabled {
|
|
146
|
+
background-color: var(--mat-form-field-filled-disabled-container-color, color-mix(in srgb, var(--mat-sys-on-surface) 4%, transparent));
|
|
147
|
+
}
|
|
148
|
+
|
|
149
|
+
.mdc-text-field--outlined {
|
|
150
|
+
height: 56px;
|
|
151
|
+
overflow: visible;
|
|
152
|
+
padding-right: max(16px, var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small)));
|
|
153
|
+
padding-left: max(16px, var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small)) + 4px);
|
|
154
|
+
}
|
|
155
|
+
[dir=rtl] .mdc-text-field--outlined {
|
|
156
|
+
padding-right: max(16px, var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small)) + 4px);
|
|
157
|
+
padding-left: max(16px, var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small)));
|
|
158
|
+
}
|
|
159
|
+
|
|
160
|
+
.mdc-floating-label {
|
|
161
|
+
position: absolute;
|
|
162
|
+
left: 0;
|
|
163
|
+
transform-origin: left top;
|
|
164
|
+
line-height: 1.15rem;
|
|
165
|
+
text-align: left;
|
|
166
|
+
text-overflow: ellipsis;
|
|
167
|
+
white-space: nowrap;
|
|
168
|
+
cursor: text;
|
|
169
|
+
overflow: hidden;
|
|
170
|
+
will-change: transform;
|
|
171
|
+
}
|
|
172
|
+
[dir=rtl] .mdc-floating-label {
|
|
173
|
+
right: 0;
|
|
174
|
+
left: auto;
|
|
175
|
+
transform-origin: right top;
|
|
176
|
+
text-align: right;
|
|
177
|
+
}
|
|
178
|
+
.mdc-text-field .mdc-floating-label {
|
|
179
|
+
top: 50%;
|
|
180
|
+
transform: translateY(-50%);
|
|
181
|
+
pointer-events: none;
|
|
182
|
+
}
|
|
183
|
+
.mdc-notched-outline .mdc-floating-label {
|
|
184
|
+
display: inline-block;
|
|
185
|
+
position: relative;
|
|
186
|
+
max-width: 100%;
|
|
187
|
+
}
|
|
188
|
+
.mdc-text-field--outlined .mdc-floating-label {
|
|
189
|
+
left: 4px;
|
|
190
|
+
right: auto;
|
|
191
|
+
}
|
|
192
|
+
[dir=rtl] .mdc-text-field--outlined .mdc-floating-label {
|
|
193
|
+
left: auto;
|
|
194
|
+
right: 4px;
|
|
195
|
+
}
|
|
196
|
+
.mdc-text-field--filled .mdc-floating-label {
|
|
197
|
+
left: 16px;
|
|
198
|
+
right: auto;
|
|
199
|
+
}
|
|
200
|
+
[dir=rtl] .mdc-text-field--filled .mdc-floating-label {
|
|
201
|
+
left: auto;
|
|
202
|
+
right: 16px;
|
|
203
|
+
}
|
|
204
|
+
.mdc-text-field--disabled .mdc-floating-label {
|
|
205
|
+
cursor: default;
|
|
206
|
+
}
|
|
207
|
+
@media (forced-colors: active) {
|
|
208
|
+
.mdc-text-field--disabled .mdc-floating-label {
|
|
209
|
+
z-index: 1;
|
|
210
|
+
}
|
|
211
|
+
}
|
|
212
|
+
.mdc-text-field--filled.mdc-text-field--no-label .mdc-floating-label {
|
|
213
|
+
display: none;
|
|
214
|
+
}
|
|
215
|
+
.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-floating-label {
|
|
216
|
+
color: var(--mat-form-field-filled-label-text-color, var(--mat-sys-on-surface-variant));
|
|
217
|
+
}
|
|
218
|
+
.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label {
|
|
219
|
+
color: var(--mat-form-field-filled-focus-label-text-color, var(--mat-sys-primary));
|
|
220
|
+
}
|
|
221
|
+
.mdc-text-field--filled:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-floating-label {
|
|
222
|
+
color: var(--mat-form-field-filled-hover-label-text-color, var(--mat-sys-on-surface-variant));
|
|
223
|
+
}
|
|
224
|
+
.mdc-text-field--filled.mdc-text-field--disabled .mdc-floating-label {
|
|
225
|
+
color: var(--mat-form-field-filled-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));
|
|
226
|
+
}
|
|
227
|
+
.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--invalid .mdc-floating-label {
|
|
228
|
+
color: var(--mat-form-field-filled-error-label-text-color, var(--mat-sys-error));
|
|
229
|
+
}
|
|
230
|
+
.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--invalid.mdc-text-field--focused .mdc-floating-label {
|
|
231
|
+
color: var(--mat-form-field-filled-error-focus-label-text-color, var(--mat-sys-error));
|
|
232
|
+
}
|
|
233
|
+
.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--invalid:not(.mdc-text-field--disabled):hover .mdc-floating-label {
|
|
234
|
+
color: var(--mat-form-field-filled-error-hover-label-text-color, var(--mat-sys-on-error-container));
|
|
235
|
+
}
|
|
236
|
+
.mdc-text-field--filled .mdc-floating-label {
|
|
237
|
+
font-family: var(--mat-form-field-filled-label-text-font, var(--mat-sys-body-large-font));
|
|
238
|
+
font-size: var(--mat-form-field-filled-label-text-size, var(--mat-sys-body-large-size));
|
|
239
|
+
font-weight: var(--mat-form-field-filled-label-text-weight, var(--mat-sys-body-large-weight));
|
|
240
|
+
letter-spacing: var(--mat-form-field-filled-label-text-tracking, var(--mat-sys-body-large-tracking));
|
|
241
|
+
}
|
|
242
|
+
.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-floating-label {
|
|
243
|
+
color: var(--mat-form-field-outlined-label-text-color, var(--mat-sys-on-surface-variant));
|
|
244
|
+
}
|
|
245
|
+
.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label {
|
|
246
|
+
color: var(--mat-form-field-outlined-focus-label-text-color, var(--mat-sys-primary));
|
|
247
|
+
}
|
|
248
|
+
.mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-floating-label {
|
|
249
|
+
color: var(--mat-form-field-outlined-hover-label-text-color, var(--mat-sys-on-surface));
|
|
250
|
+
}
|
|
251
|
+
.mdc-text-field--outlined.mdc-text-field--disabled .mdc-floating-label {
|
|
252
|
+
color: var(--mat-form-field-outlined-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));
|
|
253
|
+
}
|
|
254
|
+
.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--invalid .mdc-floating-label {
|
|
255
|
+
color: var(--mat-form-field-outlined-error-label-text-color, var(--mat-sys-error));
|
|
256
|
+
}
|
|
257
|
+
.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--invalid.mdc-text-field--focused .mdc-floating-label {
|
|
258
|
+
color: var(--mat-form-field-outlined-error-focus-label-text-color, var(--mat-sys-error));
|
|
259
|
+
}
|
|
260
|
+
.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--invalid:not(.mdc-text-field--disabled):hover .mdc-floating-label {
|
|
261
|
+
color: var(--mat-form-field-outlined-error-hover-label-text-color, var(--mat-sys-on-error-container));
|
|
262
|
+
}
|
|
263
|
+
.mdc-text-field--outlined .mdc-floating-label {
|
|
264
|
+
font-family: var(--mat-form-field-outlined-label-text-font, var(--mat-sys-body-large-font));
|
|
265
|
+
font-size: var(--mat-form-field-outlined-label-text-size, var(--mat-sys-body-large-size));
|
|
266
|
+
font-weight: var(--mat-form-field-outlined-label-text-weight, var(--mat-sys-body-large-weight));
|
|
267
|
+
letter-spacing: var(--mat-form-field-outlined-label-text-tracking, var(--mat-sys-body-large-tracking));
|
|
268
|
+
}
|
|
269
|
+
|
|
270
|
+
.mdc-floating-label--float-above {
|
|
271
|
+
cursor: auto;
|
|
272
|
+
transform: translateY(-106%) scale(0.75);
|
|
273
|
+
}
|
|
274
|
+
.mdc-text-field--filled .mdc-floating-label--float-above {
|
|
275
|
+
transform: translateY(-106%) scale(0.75);
|
|
276
|
+
}
|
|
277
|
+
.mdc-text-field--outlined .mdc-floating-label--float-above {
|
|
278
|
+
transform: translateY(-37.25px) scale(1);
|
|
279
|
+
font-size: 0.75rem;
|
|
280
|
+
}
|
|
281
|
+
.mdc-notched-outline .mdc-floating-label--float-above {
|
|
282
|
+
text-overflow: clip;
|
|
283
|
+
}
|
|
284
|
+
.mdc-notched-outline--upgraded .mdc-floating-label--float-above {
|
|
285
|
+
max-width: 133.3333333333%;
|
|
286
|
+
}
|
|
287
|
+
.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above, .mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above {
|
|
288
|
+
transform: translateY(-34.75px) scale(0.75);
|
|
289
|
+
}
|
|
290
|
+
.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above, .mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above {
|
|
291
|
+
font-size: 1rem;
|
|
292
|
+
}
|
|
293
|
+
|
|
294
|
+
.mdc-floating-label--required:not(.mdc-floating-label--hide-required-marker)::after {
|
|
295
|
+
margin-left: 1px;
|
|
296
|
+
margin-right: 0;
|
|
297
|
+
content: "*";
|
|
298
|
+
}
|
|
299
|
+
[dir=rtl] .mdc-floating-label--required:not(.mdc-floating-label--hide-required-marker)::after {
|
|
300
|
+
margin-left: 0;
|
|
301
|
+
margin-right: 1px;
|
|
302
|
+
}
|
|
303
|
+
|
|
304
|
+
.mdc-notched-outline {
|
|
305
|
+
display: flex;
|
|
306
|
+
position: absolute;
|
|
307
|
+
top: 0;
|
|
308
|
+
right: 0;
|
|
309
|
+
left: 0;
|
|
310
|
+
box-sizing: border-box;
|
|
311
|
+
width: 100%;
|
|
312
|
+
max-width: 100%;
|
|
313
|
+
height: 100%;
|
|
314
|
+
text-align: left;
|
|
315
|
+
pointer-events: none;
|
|
316
|
+
}
|
|
317
|
+
[dir=rtl] .mdc-notched-outline {
|
|
318
|
+
text-align: right;
|
|
319
|
+
}
|
|
320
|
+
.mdc-text-field--outlined .mdc-notched-outline {
|
|
321
|
+
z-index: 1;
|
|
322
|
+
}
|
|
323
|
+
|
|
324
|
+
.mat-mdc-notch-piece {
|
|
325
|
+
box-sizing: border-box;
|
|
326
|
+
height: 100%;
|
|
327
|
+
pointer-events: none;
|
|
328
|
+
border: none;
|
|
329
|
+
border-top: 1px solid;
|
|
330
|
+
border-bottom: 1px solid;
|
|
331
|
+
}
|
|
332
|
+
.mdc-text-field--focused .mat-mdc-notch-piece {
|
|
333
|
+
border-width: 2px;
|
|
334
|
+
}
|
|
335
|
+
.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mat-mdc-notch-piece {
|
|
336
|
+
border-color: var(--mat-form-field-outlined-outline-color, var(--mat-sys-outline));
|
|
337
|
+
border-width: var(--mat-form-field-outlined-outline-width, 1px);
|
|
338
|
+
}
|
|
339
|
+
.mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mat-mdc-notch-piece {
|
|
340
|
+
border-color: var(--mat-form-field-outlined-hover-outline-color, var(--mat-sys-on-surface));
|
|
341
|
+
}
|
|
342
|
+
.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mat-mdc-notch-piece {
|
|
343
|
+
border-color: var(--mat-form-field-outlined-focus-outline-color, var(--mat-sys-primary));
|
|
344
|
+
}
|
|
345
|
+
.mdc-text-field--outlined.mdc-text-field--disabled .mat-mdc-notch-piece {
|
|
346
|
+
border-color: var(--mat-form-field-outlined-disabled-outline-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent));
|
|
347
|
+
}
|
|
348
|
+
.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--invalid .mat-mdc-notch-piece {
|
|
349
|
+
border-color: var(--mat-form-field-outlined-error-outline-color, var(--mat-sys-error));
|
|
350
|
+
}
|
|
351
|
+
.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--invalid:not(.mdc-text-field--focused):hover .mdc-notched-outline .mat-mdc-notch-piece {
|
|
352
|
+
border-color: var(--mat-form-field-outlined-error-hover-outline-color, var(--mat-sys-on-error-container));
|
|
353
|
+
}
|
|
354
|
+
.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--invalid.mdc-text-field--focused .mat-mdc-notch-piece {
|
|
355
|
+
border-color: var(--mat-form-field-outlined-error-focus-outline-color, var(--mat-sys-error));
|
|
356
|
+
}
|
|
357
|
+
.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline .mat-mdc-notch-piece {
|
|
358
|
+
border-width: var(--mat-form-field-outlined-focus-outline-width, 2px);
|
|
359
|
+
}
|
|
360
|
+
|
|
361
|
+
.mdc-notched-outline__leading {
|
|
362
|
+
border-left: 1px solid;
|
|
363
|
+
border-right: none;
|
|
364
|
+
border-top-right-radius: 0;
|
|
365
|
+
border-bottom-right-radius: 0;
|
|
366
|
+
border-top-left-radius: var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small));
|
|
367
|
+
border-bottom-left-radius: var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small));
|
|
368
|
+
}
|
|
369
|
+
.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading {
|
|
370
|
+
width: max(12px, var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small)));
|
|
371
|
+
}
|
|
372
|
+
[dir=rtl] .mdc-notched-outline__leading {
|
|
373
|
+
border-left: none;
|
|
374
|
+
border-right: 1px solid;
|
|
375
|
+
border-bottom-left-radius: 0;
|
|
376
|
+
border-top-left-radius: 0;
|
|
377
|
+
border-top-right-radius: var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small));
|
|
378
|
+
border-bottom-right-radius: var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small));
|
|
379
|
+
}
|
|
380
|
+
|
|
381
|
+
.mdc-notched-outline__trailing {
|
|
382
|
+
flex-grow: 1;
|
|
383
|
+
border-left: none;
|
|
384
|
+
border-right: 1px solid;
|
|
385
|
+
border-top-left-radius: 0;
|
|
386
|
+
border-bottom-left-radius: 0;
|
|
387
|
+
border-top-right-radius: var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small));
|
|
388
|
+
border-bottom-right-radius: var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small));
|
|
389
|
+
}
|
|
390
|
+
[dir=rtl] .mdc-notched-outline__trailing {
|
|
391
|
+
border-left: 1px solid;
|
|
392
|
+
border-right: none;
|
|
393
|
+
border-top-right-radius: 0;
|
|
394
|
+
border-bottom-right-radius: 0;
|
|
395
|
+
border-top-left-radius: var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small));
|
|
396
|
+
border-bottom-left-radius: var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small));
|
|
397
|
+
}
|
|
398
|
+
|
|
399
|
+
.mdc-notched-outline__notch {
|
|
400
|
+
flex: 0 0 auto;
|
|
401
|
+
width: auto;
|
|
402
|
+
}
|
|
403
|
+
.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__notch {
|
|
404
|
+
max-width: min(var(--mat-form-field-notch-max-width, 100%), calc(100% - max(12px, var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small))) * 2));
|
|
405
|
+
}
|
|
406
|
+
.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch {
|
|
407
|
+
max-width: min(100%, calc(100% - max(12px, var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small))) * 2));
|
|
408
|
+
}
|
|
409
|
+
.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch {
|
|
410
|
+
padding-top: 1px;
|
|
411
|
+
}
|
|
412
|
+
.mdc-text-field--focused.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch {
|
|
413
|
+
padding-top: 2px;
|
|
414
|
+
}
|
|
415
|
+
.mdc-notched-outline--notched .mdc-notched-outline__notch {
|
|
416
|
+
padding-left: 0;
|
|
417
|
+
padding-right: 8px;
|
|
418
|
+
border-top: none;
|
|
419
|
+
}
|
|
420
|
+
[dir=rtl] .mdc-notched-outline--notched .mdc-notched-outline__notch {
|
|
421
|
+
padding-left: 8px;
|
|
422
|
+
padding-right: 0;
|
|
423
|
+
}
|
|
424
|
+
.mdc-notched-outline--no-label .mdc-notched-outline__notch {
|
|
425
|
+
display: none;
|
|
426
|
+
}
|
|
427
|
+
|
|
428
|
+
.mdc-line-ripple::before, .mdc-line-ripple::after {
|
|
429
|
+
position: absolute;
|
|
430
|
+
bottom: 0;
|
|
431
|
+
left: 0;
|
|
432
|
+
width: 100%;
|
|
433
|
+
border-bottom-style: solid;
|
|
434
|
+
content: "";
|
|
435
|
+
}
|
|
436
|
+
.mdc-line-ripple::before {
|
|
437
|
+
z-index: 1;
|
|
438
|
+
border-bottom-width: var(--mat-form-field-filled-active-indicator-height, 1px);
|
|
439
|
+
}
|
|
440
|
+
.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-line-ripple::before {
|
|
441
|
+
border-bottom-color: var(--mat-form-field-filled-active-indicator-color, var(--mat-sys-on-surface-variant));
|
|
442
|
+
}
|
|
443
|
+
.mdc-text-field--filled:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-line-ripple::before {
|
|
444
|
+
border-bottom-color: var(--mat-form-field-filled-hover-active-indicator-color, var(--mat-sys-on-surface));
|
|
445
|
+
}
|
|
446
|
+
.mdc-text-field--filled.mdc-text-field--disabled .mdc-line-ripple::before {
|
|
447
|
+
border-bottom-color: var(--mat-form-field-filled-disabled-active-indicator-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));
|
|
448
|
+
}
|
|
449
|
+
.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--invalid .mdc-line-ripple::before {
|
|
450
|
+
border-bottom-color: var(--mat-form-field-filled-error-active-indicator-color, var(--mat-sys-error));
|
|
451
|
+
}
|
|
452
|
+
.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--invalid:not(.mdc-text-field--focused):hover .mdc-line-ripple::before {
|
|
453
|
+
border-bottom-color: var(--mat-form-field-filled-error-hover-active-indicator-color, var(--mat-sys-on-error-container));
|
|
454
|
+
}
|
|
455
|
+
.mdc-line-ripple::after {
|
|
456
|
+
transform: scaleX(0);
|
|
457
|
+
opacity: 0;
|
|
458
|
+
z-index: 2;
|
|
459
|
+
}
|
|
460
|
+
.mdc-text-field--filled .mdc-line-ripple::after {
|
|
461
|
+
border-bottom-width: var(--mat-form-field-filled-focus-active-indicator-height, 2px);
|
|
462
|
+
}
|
|
463
|
+
.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-line-ripple::after {
|
|
464
|
+
border-bottom-color: var(--mat-form-field-filled-focus-active-indicator-color, var(--mat-sys-primary));
|
|
465
|
+
}
|
|
466
|
+
.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-line-ripple::after {
|
|
467
|
+
border-bottom-color: var(--mat-form-field-filled-error-focus-active-indicator-color, var(--mat-sys-error));
|
|
468
|
+
}
|
|
469
|
+
|
|
470
|
+
.mdc-line-ripple--active::after {
|
|
471
|
+
transform: scaleX(1);
|
|
472
|
+
opacity: 1;
|
|
473
|
+
}
|
|
474
|
+
|
|
475
|
+
.mdc-line-ripple--deactivating::after {
|
|
476
|
+
opacity: 0;
|
|
477
|
+
}
|
|
478
|
+
|
|
479
|
+
.mdc-text-field--disabled {
|
|
480
|
+
pointer-events: none;
|
|
481
|
+
}
|
|
482
|
+
|
|
483
|
+
.mat-mdc-form-field-textarea-control {
|
|
484
|
+
vertical-align: middle;
|
|
485
|
+
resize: vertical;
|
|
486
|
+
box-sizing: border-box;
|
|
487
|
+
height: auto;
|
|
488
|
+
margin: 0;
|
|
489
|
+
padding: 0;
|
|
490
|
+
border: none;
|
|
491
|
+
overflow: auto;
|
|
492
|
+
}
|
|
493
|
+
|
|
494
|
+
.mat-mdc-form-field-input-control.mat-mdc-form-field-input-control {
|
|
495
|
+
-moz-osx-font-smoothing: grayscale;
|
|
496
|
+
-webkit-font-smoothing: antialiased;
|
|
497
|
+
font: inherit;
|
|
498
|
+
letter-spacing: inherit;
|
|
499
|
+
text-decoration: inherit;
|
|
500
|
+
text-transform: inherit;
|
|
501
|
+
border: none;
|
|
502
|
+
}
|
|
503
|
+
|
|
504
|
+
.mat-mdc-form-field .mat-mdc-floating-label.mdc-floating-label {
|
|
505
|
+
-moz-osx-font-smoothing: grayscale;
|
|
506
|
+
-webkit-font-smoothing: antialiased;
|
|
507
|
+
line-height: normal;
|
|
508
|
+
pointer-events: all;
|
|
509
|
+
will-change: auto;
|
|
510
|
+
}
|
|
511
|
+
|
|
512
|
+
.mat-mdc-form-field:not(.mat-form-field-disabled) .mat-mdc-floating-label.mdc-floating-label {
|
|
513
|
+
cursor: inherit;
|
|
514
|
+
}
|
|
515
|
+
|
|
516
|
+
.mdc-text-field--no-label:not(.mdc-text-field--textarea) .mat-mdc-form-field-input-control.mdc-text-field__input,
|
|
517
|
+
.mat-mdc-text-field-wrapper .mat-mdc-form-field-input-control {
|
|
518
|
+
height: auto;
|
|
519
|
+
}
|
|
520
|
+
|
|
521
|
+
.mat-mdc-text-field-wrapper .mat-mdc-form-field-input-control.mdc-text-field__input[type=color] {
|
|
522
|
+
height: 23px;
|
|
523
|
+
}
|
|
524
|
+
|
|
525
|
+
.mat-mdc-text-field-wrapper {
|
|
526
|
+
height: auto;
|
|
527
|
+
flex: auto;
|
|
528
|
+
will-change: auto;
|
|
529
|
+
}
|
|
530
|
+
|
|
531
|
+
.mat-mdc-form-field-has-icon-prefix .mat-mdc-text-field-wrapper {
|
|
532
|
+
padding-left: 0;
|
|
533
|
+
--mat-mdc-form-field-label-offset-x: -16px;
|
|
534
|
+
}
|
|
535
|
+
|
|
536
|
+
.mat-mdc-form-field-has-icon-suffix .mat-mdc-text-field-wrapper {
|
|
537
|
+
padding-right: 0;
|
|
538
|
+
}
|
|
539
|
+
|
|
540
|
+
[dir=rtl] .mat-mdc-text-field-wrapper {
|
|
541
|
+
padding-left: 16px;
|
|
542
|
+
padding-right: 16px;
|
|
543
|
+
}
|
|
544
|
+
[dir=rtl] .mat-mdc-form-field-has-icon-suffix .mat-mdc-text-field-wrapper {
|
|
545
|
+
padding-left: 0;
|
|
546
|
+
}
|
|
547
|
+
[dir=rtl] .mat-mdc-form-field-has-icon-prefix .mat-mdc-text-field-wrapper {
|
|
548
|
+
padding-right: 0;
|
|
549
|
+
}
|
|
550
|
+
|
|
551
|
+
.mat-form-field-disabled .mdc-text-field__input::placeholder {
|
|
552
|
+
color: var(--mat-form-field-disabled-input-text-placeholder-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));
|
|
553
|
+
}
|
|
554
|
+
.mat-form-field-disabled .mdc-text-field__input::-moz-placeholder {
|
|
555
|
+
color: var(--mat-form-field-disabled-input-text-placeholder-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));
|
|
556
|
+
}
|
|
557
|
+
.mat-form-field-disabled .mdc-text-field__input::-webkit-input-placeholder {
|
|
558
|
+
color: var(--mat-form-field-disabled-input-text-placeholder-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));
|
|
559
|
+
}
|
|
560
|
+
.mat-form-field-disabled .mdc-text-field__input:-ms-input-placeholder {
|
|
561
|
+
color: var(--mat-form-field-disabled-input-text-placeholder-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));
|
|
562
|
+
}
|
|
563
|
+
|
|
564
|
+
.mat-mdc-form-field-label-always-float .mdc-text-field__input::placeholder {
|
|
565
|
+
transition-delay: 40ms;
|
|
566
|
+
transition-duration: 110ms;
|
|
567
|
+
opacity: 1;
|
|
568
|
+
}
|
|
569
|
+
|
|
570
|
+
.mat-mdc-text-field-wrapper .mat-mdc-form-field-infix .mat-mdc-floating-label {
|
|
571
|
+
left: auto;
|
|
572
|
+
right: auto;
|
|
573
|
+
}
|
|
574
|
+
|
|
575
|
+
.mat-mdc-text-field-wrapper.mdc-text-field--outlined .mdc-text-field__input {
|
|
576
|
+
display: inline-block;
|
|
577
|
+
}
|
|
578
|
+
|
|
579
|
+
.mat-mdc-form-field .mat-mdc-text-field-wrapper.mdc-text-field .mdc-notched-outline__notch {
|
|
580
|
+
padding-top: 0;
|
|
581
|
+
}
|
|
582
|
+
|
|
583
|
+
.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field .mdc-notched-outline__notch {
|
|
584
|
+
border-left: 1px solid transparent;
|
|
585
|
+
}
|
|
586
|
+
|
|
587
|
+
[dir=rtl] .mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field .mdc-notched-outline__notch {
|
|
588
|
+
border-left: none;
|
|
589
|
+
border-right: 1px solid transparent;
|
|
590
|
+
}
|
|
591
|
+
|
|
592
|
+
.mat-mdc-form-field-infix {
|
|
593
|
+
min-height: var(--mat-form-field-container-height, 56px);
|
|
594
|
+
padding-top: var(--mat-form-field-filled-with-label-container-padding-top, 24px);
|
|
595
|
+
padding-bottom: var(--mat-form-field-filled-with-label-container-padding-bottom, 8px);
|
|
596
|
+
}
|
|
597
|
+
.mdc-text-field--outlined .mat-mdc-form-field-infix, .mdc-text-field--no-label .mat-mdc-form-field-infix {
|
|
598
|
+
padding-top: var(--mat-form-field-container-vertical-padding, 16px);
|
|
599
|
+
padding-bottom: var(--mat-form-field-container-vertical-padding, 16px);
|
|
600
|
+
}
|
|
601
|
+
|
|
602
|
+
.mat-mdc-text-field-wrapper .mat-mdc-form-field-flex .mat-mdc-floating-label {
|
|
603
|
+
top: calc(var(--mat-form-field-container-height, 56px) / 2);
|
|
604
|
+
}
|
|
605
|
+
|
|
606
|
+
.mdc-text-field--filled .mat-mdc-floating-label {
|
|
607
|
+
display: var(--mat-form-field-filled-label-display, block);
|
|
608
|
+
}
|
|
609
|
+
|
|
610
|
+
.mat-mdc-text-field-wrapper.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above {
|
|
611
|
+
--mat-mdc-form-field-label-transform: translateY(calc(calc(6.75px + var(--mat-form-field-container-height, 56px) / 2) * -1))
|
|
612
|
+
scale(var(--mat-mdc-form-field-floating-label-scale, 0.75));
|
|
613
|
+
transform: var(--mat-mdc-form-field-label-transform);
|
|
614
|
+
}
|
|
615
|
+
|
|
616
|
+
@keyframes _mat-form-field-subscript-animation {
|
|
617
|
+
from {
|
|
618
|
+
opacity: 0;
|
|
619
|
+
transform: translateY(-5px);
|
|
620
|
+
}
|
|
621
|
+
to {
|
|
622
|
+
opacity: 1;
|
|
623
|
+
transform: translateY(0);
|
|
624
|
+
}
|
|
625
|
+
}
|
|
626
|
+
.mat-mdc-form-field-subscript-wrapper {
|
|
627
|
+
box-sizing: border-box;
|
|
628
|
+
width: 100%;
|
|
629
|
+
position: relative;
|
|
630
|
+
}
|
|
631
|
+
|
|
632
|
+
.mat-mdc-form-field-hint-wrapper,
|
|
633
|
+
.mat-mdc-form-field-error-wrapper {
|
|
634
|
+
position: absolute;
|
|
635
|
+
top: 0;
|
|
636
|
+
left: 0;
|
|
637
|
+
right: 0;
|
|
638
|
+
padding: 0 16px;
|
|
639
|
+
opacity: 1;
|
|
640
|
+
transform: translateY(0);
|
|
641
|
+
animation: _mat-form-field-subscript-animation 0ms cubic-bezier(0.55, 0, 0.55, 0.2);
|
|
642
|
+
}
|
|
643
|
+
|
|
644
|
+
.mat-mdc-form-field-subscript-dynamic-size .mat-mdc-form-field-hint-wrapper,
|
|
645
|
+
.mat-mdc-form-field-subscript-dynamic-size .mat-mdc-form-field-error-wrapper {
|
|
646
|
+
position: static;
|
|
647
|
+
}
|
|
648
|
+
|
|
649
|
+
.mat-mdc-form-field-bottom-align::before {
|
|
650
|
+
content: "";
|
|
651
|
+
display: inline-block;
|
|
652
|
+
height: 16px;
|
|
653
|
+
}
|
|
654
|
+
|
|
655
|
+
.mat-mdc-form-field-bottom-align.mat-mdc-form-field-subscript-dynamic-size::before {
|
|
656
|
+
content: unset;
|
|
657
|
+
}
|
|
658
|
+
|
|
659
|
+
.mat-mdc-form-field-hint-end {
|
|
660
|
+
order: 1;
|
|
661
|
+
}
|
|
662
|
+
|
|
663
|
+
.mat-mdc-form-field-hint-wrapper {
|
|
664
|
+
display: flex;
|
|
665
|
+
}
|
|
666
|
+
|
|
667
|
+
.mat-mdc-form-field-hint-spacer {
|
|
668
|
+
flex: 1 0 1em;
|
|
669
|
+
}
|
|
670
|
+
|
|
671
|
+
.mat-mdc-form-field-error {
|
|
672
|
+
display: block;
|
|
673
|
+
color: var(--mat-form-field-error-text-color, var(--mat-sys-error));
|
|
674
|
+
}
|
|
675
|
+
|
|
676
|
+
.mat-mdc-form-field-subscript-wrapper,
|
|
677
|
+
.mat-mdc-form-field-bottom-align::before {
|
|
678
|
+
-moz-osx-font-smoothing: grayscale;
|
|
679
|
+
-webkit-font-smoothing: antialiased;
|
|
680
|
+
font-family: var(--mat-form-field-subscript-text-font, var(--mat-sys-body-small-font));
|
|
681
|
+
line-height: var(--mat-form-field-subscript-text-line-height, var(--mat-sys-body-small-line-height));
|
|
682
|
+
font-size: var(--mat-form-field-subscript-text-size, var(--mat-sys-body-small-size));
|
|
683
|
+
letter-spacing: var(--mat-form-field-subscript-text-tracking, var(--mat-sys-body-small-tracking));
|
|
684
|
+
font-weight: var(--mat-form-field-subscript-text-weight, var(--mat-sys-body-small-weight));
|
|
685
|
+
}
|
|
686
|
+
|
|
687
|
+
.mat-mdc-form-field-focus-overlay {
|
|
688
|
+
top: 0;
|
|
689
|
+
left: 0;
|
|
690
|
+
right: 0;
|
|
691
|
+
bottom: 0;
|
|
692
|
+
position: absolute;
|
|
693
|
+
opacity: 0;
|
|
694
|
+
pointer-events: none;
|
|
695
|
+
background-color: var(--mat-form-field-state-layer-color, var(--mat-sys-on-surface));
|
|
696
|
+
}
|
|
697
|
+
.mat-mdc-text-field-wrapper:hover .mat-mdc-form-field-focus-overlay {
|
|
698
|
+
opacity: var(--mat-form-field-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity));
|
|
699
|
+
}
|
|
700
|
+
.mat-mdc-form-field.mat-focused .mat-mdc-form-field-focus-overlay {
|
|
701
|
+
opacity: var(--mat-form-field-focus-state-layer-opacity, 0);
|
|
702
|
+
}
|
|
703
|
+
|
|
704
|
+
select.mat-mdc-form-field-input-control {
|
|
705
|
+
-moz-appearance: none;
|
|
706
|
+
-webkit-appearance: none;
|
|
707
|
+
background-color: transparent;
|
|
708
|
+
display: inline-flex;
|
|
709
|
+
box-sizing: border-box;
|
|
710
|
+
}
|
|
711
|
+
select.mat-mdc-form-field-input-control:not(:disabled) {
|
|
712
|
+
cursor: pointer;
|
|
713
|
+
}
|
|
714
|
+
select.mat-mdc-form-field-input-control:not(.mat-mdc-native-select-inline) option {
|
|
715
|
+
color: var(--mat-form-field-select-option-text-color, var(--mat-sys-neutral10));
|
|
716
|
+
}
|
|
717
|
+
select.mat-mdc-form-field-input-control:not(.mat-mdc-native-select-inline) option:disabled {
|
|
718
|
+
color: var(--mat-form-field-select-disabled-option-text-color, color-mix(in srgb, var(--mat-sys-neutral10) 38%, transparent));
|
|
719
|
+
}
|
|
720
|
+
|
|
721
|
+
.mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-infix::after {
|
|
722
|
+
content: "";
|
|
723
|
+
width: 0;
|
|
724
|
+
height: 0;
|
|
725
|
+
border-left: 5px solid transparent;
|
|
726
|
+
border-right: 5px solid transparent;
|
|
727
|
+
border-top: 5px solid;
|
|
728
|
+
position: absolute;
|
|
729
|
+
right: 0;
|
|
730
|
+
top: 50%;
|
|
731
|
+
margin-top: -2.5px;
|
|
732
|
+
pointer-events: none;
|
|
733
|
+
color: var(--mat-form-field-enabled-select-arrow-color, var(--mat-sys-on-surface-variant));
|
|
734
|
+
}
|
|
735
|
+
[dir=rtl] .mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-infix::after {
|
|
736
|
+
right: auto;
|
|
737
|
+
left: 0;
|
|
738
|
+
}
|
|
739
|
+
.mat-mdc-form-field-type-mat-native-select.mat-focused .mat-mdc-form-field-infix::after {
|
|
740
|
+
color: var(--mat-form-field-focus-select-arrow-color, var(--mat-sys-primary));
|
|
741
|
+
}
|
|
742
|
+
.mat-mdc-form-field-type-mat-native-select.mat-form-field-disabled .mat-mdc-form-field-infix::after {
|
|
743
|
+
color: var(--mat-form-field-disabled-select-arrow-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));
|
|
744
|
+
}
|
|
745
|
+
.mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-input-control {
|
|
746
|
+
padding-right: 15px;
|
|
747
|
+
}
|
|
748
|
+
[dir=rtl] .mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-input-control {
|
|
749
|
+
padding-right: 0;
|
|
750
|
+
padding-left: 15px;
|
|
751
|
+
}
|
|
752
|
+
|
|
753
|
+
@media (forced-colors: active) {
|
|
754
|
+
.mat-form-field-appearance-fill .mat-mdc-text-field-wrapper {
|
|
755
|
+
outline: solid 1px;
|
|
756
|
+
}
|
|
757
|
+
}
|
|
758
|
+
@media (forced-colors: active) {
|
|
759
|
+
.mat-form-field-appearance-fill.mat-form-field-disabled .mat-mdc-text-field-wrapper {
|
|
760
|
+
outline-color: GrayText;
|
|
761
|
+
}
|
|
762
|
+
}
|
|
763
|
+
|
|
764
|
+
@media (forced-colors: active) {
|
|
765
|
+
.mat-form-field-appearance-fill.mat-focused .mat-mdc-text-field-wrapper {
|
|
766
|
+
outline: dashed 3px;
|
|
767
|
+
}
|
|
768
|
+
}
|
|
769
|
+
|
|
770
|
+
@media (forced-colors: active) {
|
|
771
|
+
.mat-mdc-form-field.mat-focused .mdc-notched-outline {
|
|
772
|
+
border: dashed 3px;
|
|
773
|
+
}
|
|
774
|
+
}
|
|
775
|
+
|
|
776
|
+
.mat-mdc-form-field-input-control[type=date], .mat-mdc-form-field-input-control[type=datetime], .mat-mdc-form-field-input-control[type=datetime-local], .mat-mdc-form-field-input-control[type=month], .mat-mdc-form-field-input-control[type=week], .mat-mdc-form-field-input-control[type=time] {
|
|
777
|
+
line-height: 1;
|
|
778
|
+
}
|
|
779
|
+
.mat-mdc-form-field-input-control::-webkit-datetime-edit {
|
|
780
|
+
line-height: 1;
|
|
781
|
+
padding: 0;
|
|
782
|
+
margin-bottom: -2px;
|
|
783
|
+
}
|
|
784
|
+
|
|
785
|
+
.mat-mdc-form-field {
|
|
786
|
+
--mat-mdc-form-field-floating-label-scale: 0.75;
|
|
787
|
+
display: inline-flex;
|
|
788
|
+
flex-direction: column;
|
|
789
|
+
min-width: 0;
|
|
790
|
+
text-align: left;
|
|
791
|
+
-moz-osx-font-smoothing: grayscale;
|
|
792
|
+
-webkit-font-smoothing: antialiased;
|
|
793
|
+
font-family: var(--mat-form-field-container-text-font, var(--mat-sys-body-large-font));
|
|
794
|
+
line-height: var(--mat-form-field-container-text-line-height, var(--mat-sys-body-large-line-height));
|
|
795
|
+
font-size: var(--mat-form-field-container-text-size, var(--mat-sys-body-large-size));
|
|
796
|
+
letter-spacing: var(--mat-form-field-container-text-tracking, var(--mat-sys-body-large-tracking));
|
|
797
|
+
font-weight: var(--mat-form-field-container-text-weight, var(--mat-sys-body-large-weight));
|
|
798
|
+
}
|
|
799
|
+
.mat-mdc-form-field .mdc-text-field--outlined .mdc-floating-label--float-above {
|
|
800
|
+
font-size: calc(var(--mat-form-field-outlined-label-text-populated-size) * var(--mat-mdc-form-field-floating-label-scale));
|
|
801
|
+
}
|
|
802
|
+
.mat-mdc-form-field .mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above {
|
|
803
|
+
font-size: var(--mat-form-field-outlined-label-text-populated-size);
|
|
804
|
+
}
|
|
805
|
+
[dir=rtl] .mat-mdc-form-field {
|
|
806
|
+
text-align: right;
|
|
807
|
+
}
|
|
808
|
+
|
|
809
|
+
.mat-mdc-form-field-flex {
|
|
810
|
+
display: inline-flex;
|
|
811
|
+
align-items: baseline;
|
|
812
|
+
box-sizing: border-box;
|
|
813
|
+
width: 100%;
|
|
814
|
+
}
|
|
815
|
+
|
|
816
|
+
.mat-mdc-text-field-wrapper {
|
|
817
|
+
width: 100%;
|
|
818
|
+
z-index: 0;
|
|
819
|
+
}
|
|
820
|
+
|
|
821
|
+
.mat-mdc-form-field-icon-prefix,
|
|
822
|
+
.mat-mdc-form-field-icon-suffix {
|
|
823
|
+
align-self: center;
|
|
824
|
+
line-height: 0;
|
|
825
|
+
pointer-events: auto;
|
|
826
|
+
position: relative;
|
|
827
|
+
z-index: 1;
|
|
828
|
+
}
|
|
829
|
+
.mat-mdc-form-field-icon-prefix > .mat-icon,
|
|
830
|
+
.mat-mdc-form-field-icon-suffix > .mat-icon {
|
|
831
|
+
padding: 0 12px;
|
|
832
|
+
box-sizing: content-box;
|
|
833
|
+
}
|
|
834
|
+
|
|
835
|
+
.mat-mdc-form-field-icon-prefix {
|
|
836
|
+
color: var(--mat-form-field-leading-icon-color, var(--mat-sys-on-surface-variant));
|
|
837
|
+
}
|
|
838
|
+
.mat-form-field-disabled .mat-mdc-form-field-icon-prefix {
|
|
839
|
+
color: var(--mat-form-field-disabled-leading-icon-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));
|
|
840
|
+
}
|
|
841
|
+
|
|
842
|
+
.mat-mdc-form-field-icon-suffix {
|
|
843
|
+
color: var(--mat-form-field-trailing-icon-color, var(--mat-sys-on-surface-variant));
|
|
844
|
+
}
|
|
845
|
+
.mat-form-field-disabled .mat-mdc-form-field-icon-suffix {
|
|
846
|
+
color: var(--mat-form-field-disabled-trailing-icon-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));
|
|
847
|
+
}
|
|
848
|
+
.mat-form-field-invalid .mat-mdc-form-field-icon-suffix {
|
|
849
|
+
color: var(--mat-form-field-error-trailing-icon-color, var(--mat-sys-error));
|
|
850
|
+
}
|
|
851
|
+
.mat-form-field-invalid:not(.mat-focused):not(.mat-form-field-disabled) .mat-mdc-text-field-wrapper:hover .mat-mdc-form-field-icon-suffix {
|
|
852
|
+
color: var(--mat-form-field-error-hover-trailing-icon-color, var(--mat-sys-on-error-container));
|
|
853
|
+
}
|
|
854
|
+
.mat-form-field-invalid.mat-focused .mat-mdc-text-field-wrapper .mat-mdc-form-field-icon-suffix {
|
|
855
|
+
color: var(--mat-form-field-error-focus-trailing-icon-color, var(--mat-sys-error));
|
|
856
|
+
}
|
|
857
|
+
|
|
858
|
+
.mat-mdc-form-field-icon-prefix,
|
|
859
|
+
[dir=rtl] .mat-mdc-form-field-icon-suffix {
|
|
860
|
+
padding: 0 4px 0 0;
|
|
861
|
+
}
|
|
862
|
+
|
|
863
|
+
.mat-mdc-form-field-icon-suffix,
|
|
864
|
+
[dir=rtl] .mat-mdc-form-field-icon-prefix {
|
|
865
|
+
padding: 0 0 0 4px;
|
|
866
|
+
}
|
|
867
|
+
|
|
868
|
+
.mat-mdc-form-field-subscript-wrapper .mat-icon,
|
|
869
|
+
.mat-mdc-form-field label .mat-icon {
|
|
870
|
+
width: 1em;
|
|
871
|
+
height: 1em;
|
|
872
|
+
font-size: inherit;
|
|
873
|
+
}
|
|
874
|
+
|
|
875
|
+
.mat-mdc-form-field-infix {
|
|
876
|
+
flex: auto;
|
|
877
|
+
min-width: 0;
|
|
878
|
+
width: 180px;
|
|
879
|
+
position: relative;
|
|
880
|
+
box-sizing: border-box;
|
|
881
|
+
}
|
|
882
|
+
.mat-mdc-form-field-infix:has(textarea[cols]) {
|
|
883
|
+
width: auto;
|
|
884
|
+
}
|
|
885
|
+
|
|
886
|
+
.mat-mdc-form-field .mdc-notched-outline__notch {
|
|
887
|
+
margin-left: -1px;
|
|
888
|
+
-webkit-clip-path: inset(-9em -999em -9em 1px);
|
|
889
|
+
clip-path: inset(-9em -999em -9em 1px);
|
|
890
|
+
}
|
|
891
|
+
[dir=rtl] .mat-mdc-form-field .mdc-notched-outline__notch {
|
|
892
|
+
margin-left: 0;
|
|
893
|
+
margin-right: -1px;
|
|
894
|
+
-webkit-clip-path: inset(-9em 1px -9em -999em);
|
|
895
|
+
clip-path: inset(-9em 1px -9em -999em);
|
|
896
|
+
}
|
|
897
|
+
|
|
898
|
+
.mat-mdc-form-field.mat-form-field-animations-enabled .mdc-floating-label {
|
|
899
|
+
transition: transform 150ms cubic-bezier(0.4, 0, 0.2, 1), color 150ms cubic-bezier(0.4, 0, 0.2, 1);
|
|
900
|
+
}
|
|
901
|
+
.mat-mdc-form-field.mat-form-field-animations-enabled .mdc-text-field__input {
|
|
902
|
+
transition: opacity 150ms cubic-bezier(0.4, 0, 0.2, 1);
|
|
903
|
+
}
|
|
904
|
+
.mat-mdc-form-field.mat-form-field-animations-enabled .mdc-text-field__input::placeholder {
|
|
905
|
+
transition: opacity 67ms cubic-bezier(0.4, 0, 0.2, 1);
|
|
906
|
+
}
|
|
907
|
+
.mat-mdc-form-field.mat-form-field-animations-enabled .mdc-text-field__input::-moz-placeholder {
|
|
908
|
+
transition: opacity 67ms cubic-bezier(0.4, 0, 0.2, 1);
|
|
909
|
+
}
|
|
910
|
+
.mat-mdc-form-field.mat-form-field-animations-enabled .mdc-text-field__input::-webkit-input-placeholder {
|
|
911
|
+
transition: opacity 67ms cubic-bezier(0.4, 0, 0.2, 1);
|
|
912
|
+
}
|
|
913
|
+
.mat-mdc-form-field.mat-form-field-animations-enabled .mdc-text-field__input:-ms-input-placeholder {
|
|
914
|
+
transition: opacity 67ms cubic-bezier(0.4, 0, 0.2, 1);
|
|
915
|
+
}
|
|
916
|
+
.mat-mdc-form-field.mat-form-field-animations-enabled.mdc-text-field--no-label .mdc-text-field__input::placeholder, .mat-mdc-form-field.mat-form-field-animations-enabled.mdc-text-field--focused .mdc-text-field__input::placeholder {
|
|
917
|
+
transition-delay: 40ms;
|
|
918
|
+
transition-duration: 110ms;
|
|
919
|
+
}
|
|
920
|
+
.mat-mdc-form-field.mat-form-field-animations-enabled.mdc-text-field--no-label .mdc-text-field__input::-moz-placeholder, .mat-mdc-form-field.mat-form-field-animations-enabled.mdc-text-field--focused .mdc-text-field__input::-moz-placeholder {
|
|
921
|
+
transition-delay: 40ms;
|
|
922
|
+
transition-duration: 110ms;
|
|
923
|
+
}
|
|
924
|
+
.mat-mdc-form-field.mat-form-field-animations-enabled.mdc-text-field--no-label .mdc-text-field__input::-webkit-input-placeholder, .mat-mdc-form-field.mat-form-field-animations-enabled.mdc-text-field--focused .mdc-text-field__input::-webkit-input-placeholder {
|
|
925
|
+
transition-delay: 40ms;
|
|
926
|
+
transition-duration: 110ms;
|
|
927
|
+
}
|
|
928
|
+
.mat-mdc-form-field.mat-form-field-animations-enabled.mdc-text-field--no-label .mdc-text-field__input:-ms-input-placeholder, .mat-mdc-form-field.mat-form-field-animations-enabled.mdc-text-field--focused .mdc-text-field__input:-ms-input-placeholder {
|
|
929
|
+
transition-delay: 40ms;
|
|
930
|
+
transition-duration: 110ms;
|
|
931
|
+
}
|
|
932
|
+
.mat-mdc-form-field.mat-form-field-animations-enabled .mdc-text-field--filled:not(.mdc-ripple-upgraded):focus .mdc-text-field__ripple::before {
|
|
933
|
+
transition-duration: 75ms;
|
|
934
|
+
}
|
|
935
|
+
.mat-mdc-form-field.mat-form-field-animations-enabled .mdc-line-ripple::after {
|
|
936
|
+
transition: transform 180ms cubic-bezier(0.4, 0, 0.2, 1), opacity 180ms cubic-bezier(0.4, 0, 0.2, 1);
|
|
937
|
+
}
|
|
938
|
+
.mat-mdc-form-field.mat-form-field-animations-enabled .mat-mdc-form-field-hint-wrapper,
|
|
939
|
+
.mat-mdc-form-field.mat-form-field-animations-enabled .mat-mdc-form-field-error-wrapper {
|
|
940
|
+
animation-duration: 300ms;
|
|
941
|
+
}
|
|
942
|
+
|
|
943
|
+
.mdc-notched-outline .mdc-floating-label {
|
|
944
|
+
max-width: calc(100% + 1px);
|
|
945
|
+
}
|
|
946
|
+
|
|
947
|
+
.mdc-notched-outline--upgraded .mdc-floating-label--float-above {
|
|
948
|
+
max-width: calc(133.3333333333% + 1px);
|
|
949
|
+
}
|
|
950
|
+
`],encapsulation:2,changeDetection:0})}return i})();var se=(()=>{class i{static \u0275fac=function(t){return new(t||i)};static \u0275mod=R({type:i});static \u0275inj=E({imports:[Oe,it,G]})}return i})();var Vt=(()=>{class i{static \u0275fac=function(t){return new(t||i)};static \u0275cmp=w({type:i,selectors:[["ng-component"]],hostAttrs:["cdk-text-field-style-loader",""],decls:0,vars:0,template:function(t,n){},styles:[`textarea.cdk-textarea-autosize {
|
|
951
|
+
resize: none;
|
|
952
|
+
}
|
|
953
|
+
|
|
954
|
+
textarea.cdk-textarea-autosize-measuring {
|
|
955
|
+
padding: 2px 0 !important;
|
|
956
|
+
box-sizing: content-box !important;
|
|
957
|
+
height: auto !important;
|
|
958
|
+
overflow: hidden !important;
|
|
959
|
+
}
|
|
960
|
+
|
|
961
|
+
textarea.cdk-textarea-autosize-measuring-firefox {
|
|
962
|
+
padding: 2px 0 !important;
|
|
963
|
+
box-sizing: content-box !important;
|
|
964
|
+
height: 0 !important;
|
|
965
|
+
}
|
|
966
|
+
|
|
967
|
+
@keyframes cdk-text-field-autofill-start { /*!*/ }
|
|
968
|
+
@keyframes cdk-text-field-autofill-end { /*!*/ }
|
|
969
|
+
.cdk-text-field-autofill-monitored:-webkit-autofill {
|
|
970
|
+
animation: cdk-text-field-autofill-start 0s 1ms;
|
|
971
|
+
}
|
|
972
|
+
|
|
973
|
+
.cdk-text-field-autofill-monitored:not(:-webkit-autofill) {
|
|
974
|
+
animation: cdk-text-field-autofill-end 0s 1ms;
|
|
975
|
+
}
|
|
976
|
+
`],encapsulation:2,changeDetection:0})}return i})(),jt={passive:!0},nt=(()=>{class i{_platform=r(L);_ngZone=r(g);_renderer=r(ve).createRenderer(null,null);_styleLoader=r(Ie);_monitoredElements=new Map;constructor(){}monitor(e){if(!this._platform.isBrowser)return fe;this._styleLoader.load(Vt);let t=ie(e),n=this._monitoredElements.get(t);if(n)return n.subject;let o=new y,a="cdk-text-field-autofilled",p=M=>{M.animationName==="cdk-text-field-autofill-start"&&!t.classList.contains(a)?(t.classList.add(a),this._ngZone.run(()=>o.next({target:M.target,isAutofilled:!0}))):M.animationName==="cdk-text-field-autofill-end"&&t.classList.contains(a)&&(t.classList.remove(a),this._ngZone.run(()=>o.next({target:M.target,isAutofilled:!1})))},k=this._ngZone.runOutsideAngular(()=>(t.classList.add("cdk-text-field-autofill-monitored"),this._renderer.listen(t,"animationstart",p,jt)));return this._monitoredElements.set(t,{subject:o,unlisten:k}),o}stopMonitoring(e){let t=ie(e),n=this._monitoredElements.get(t);n&&(n.unlisten(),n.subject.complete(),t.classList.remove("cdk-text-field-autofill-monitored"),t.classList.remove("cdk-text-field-autofilled"),this._monitoredElements.delete(t))}ngOnDestroy(){this._monitoredElements.forEach((e,t)=>this.stopMonitoring(t))}static \u0275fac=function(t){return new(t||i)};static \u0275prov=S({token:i,factory:i.\u0275fac,providedIn:"root"})}return i})();var ot=(()=>{class i{static \u0275fac=function(t){return new(t||i)};static \u0275mod=R({type:i});static \u0275inj=E({})}return i})();var rt=new b("MAT_INPUT_VALUE_ACCESSOR");var at=(()=>{class i{isErrorState(e,t){return!!(e&&e.invalid&&(e.touched||t&&t.submitted))}static \u0275fac=function(t){return new(t||i)};static \u0275prov=S({token:i,factory:i.\u0275fac,providedIn:"root"})}return i})();var Y=class{_defaultMatcher;ngControl;_parentFormGroup;_parentForm;_stateChanges;errorState=!1;matcher;constructor(l,e,t,n,o){this._defaultMatcher=l,this.ngControl=e,this._parentFormGroup=t,this._parentForm=n,this._stateChanges=o}updateErrorState(){let l=this.errorState,e=this._parentFormGroup||this._parentForm,t=this.matcher||this._defaultMatcher,n=this.ngControl?this.ngControl.control:null,o=t?.isErrorState(n,e)??!1;o!==l&&(this.errorState=o,this._stateChanges.next())}};var Wt=["button","checkbox","file","hidden","image","radio","range","reset","submit"],Qt=new b("MAT_INPUT_CONFIG"),sn=(()=>{class i{_elementRef=r(C);_platform=r(L);ngControl=r(He,{optional:!0,self:!0});_autofillMonitor=r(nt);_ngZone=r(g);_formField=r(de,{optional:!0});_renderer=r(O);_uid=r(z).getId("mat-input-");_previousNativeValue;_inputValueAccessor;_signalBasedValueAccessor;_previousPlaceholder=null;_errorStateTracker;_config=r(Qt,{optional:!0});_cleanupIosKeyup;_cleanupWebkitWheel;_isServer=!1;_isNativeSelect=!1;_isTextarea=!1;_isInFormField=!1;focused=!1;stateChanges=new y;controlType="mat-input";autofilled=!1;get disabled(){return this._disabled}set disabled(e){this._disabled=A(e),this.focused&&(this.focused=!1,this.stateChanges.next())}_disabled=!1;get id(){return this._id}set id(e){this._id=e||this._uid}_id;placeholder;name;get required(){return this._required??this.ngControl?.control?.hasValidator(Ne.required)??!1}set required(e){this._required=A(e)}_required;get type(){return this._type}set type(e){this._type=e||"text",this._validateType(),!this._isTextarea&&ne().has(this._type)&&(this._elementRef.nativeElement.type=this._type)}_type="text";get errorStateMatcher(){return this._errorStateTracker.matcher}set errorStateMatcher(e){this._errorStateTracker.matcher=e}userAriaDescribedBy;get value(){return this._signalBasedValueAccessor?this._signalBasedValueAccessor.value():this._inputValueAccessor.value}set value(e){e!==this.value&&(this._signalBasedValueAccessor?this._signalBasedValueAccessor.value.set(e):this._inputValueAccessor.value=e,this.stateChanges.next())}get readonly(){return this._readonly}set readonly(e){this._readonly=A(e)}_readonly=!1;disabledInteractive;get errorState(){return this._errorStateTracker.errorState}set errorState(e){this._errorStateTracker.errorState=e}_neverEmptyInputTypes=["date","datetime","datetime-local","month","time","week"].filter(e=>ne().has(e));constructor(){let e=r(Be,{optional:!0}),t=r(qe,{optional:!0}),n=r(at),o=r(rt,{optional:!0,self:!0}),a=this._elementRef.nativeElement,p=a.nodeName.toLowerCase();o?ye(o.value)?this._signalBasedValueAccessor=o:this._inputValueAccessor=o:this._inputValueAccessor=a,this._previousNativeValue=this.value,this.id=this.id,this._platform.IOS&&this._ngZone.runOutsideAngular(()=>{this._cleanupIosKeyup=this._renderer.listen(a,"keyup",this._iOSKeyupListener)}),this._errorStateTracker=new Y(n,this.ngControl,t,e,this.stateChanges),this._isServer=!this._platform.isBrowser,this._isNativeSelect=p==="select",this._isTextarea=p==="textarea",this._isInFormField=!!this._formField,this.disabledInteractive=this._config?.disabledInteractive||!1,this._isNativeSelect&&(this.controlType=a.multiple?"mat-native-select-multiple":"mat-native-select"),this._signalBasedValueAccessor&&Q(()=>{this._signalBasedValueAccessor.value(),this.stateChanges.next()})}ngAfterViewInit(){this._platform.isBrowser&&this._autofillMonitor.monitor(this._elementRef.nativeElement).subscribe(e=>{this.autofilled=e.isAutofilled,this.stateChanges.next()})}ngOnChanges(){this.stateChanges.next()}ngOnDestroy(){this.stateChanges.complete(),this._platform.isBrowser&&this._autofillMonitor.stopMonitoring(this._elementRef.nativeElement),this._cleanupIosKeyup?.(),this._cleanupWebkitWheel?.()}ngDoCheck(){this.ngControl&&(this.updateErrorState(),this.ngControl.disabled!==null&&this.ngControl.disabled!==this.disabled&&(this.disabled=this.ngControl.disabled,this.stateChanges.next())),this._dirtyCheckNativeValue(),this._dirtyCheckPlaceholder()}focus(e){this._elementRef.nativeElement.focus(e)}updateErrorState(){this._errorStateTracker.updateErrorState()}_focusChanged(e){if(e!==this.focused){if(!this._isNativeSelect&&e&&this.disabled&&this.disabledInteractive){let t=this._elementRef.nativeElement;t.type==="number"?(t.type="text",t.setSelectionRange(0,0),t.type="number"):t.setSelectionRange(0,0)}this.focused=e,this.stateChanges.next()}}_onInput(){}_dirtyCheckNativeValue(){let e=this._elementRef.nativeElement.value;this._previousNativeValue!==e&&(this._previousNativeValue=e,this.stateChanges.next())}_dirtyCheckPlaceholder(){let e=this._getPlaceholder();if(e!==this._previousPlaceholder){let t=this._elementRef.nativeElement;this._previousPlaceholder=e,e?t.setAttribute("placeholder",e):t.removeAttribute("placeholder")}}_getPlaceholder(){return this.placeholder||null}_validateType(){Wt.indexOf(this._type)>-1}_isNeverEmpty(){return this._neverEmptyInputTypes.indexOf(this._type)>-1}_isBadInput(){let e=this._elementRef.nativeElement.validity;return e&&e.badInput}get empty(){return!this._isNeverEmpty()&&!this._elementRef.nativeElement.value&&!this._isBadInput()&&!this.autofilled}get shouldLabelFloat(){if(this._isNativeSelect){let e=this._elementRef.nativeElement,t=e.options[0];return this.focused||e.multiple||!this.empty||!!(e.selectedIndex>-1&&t&&t.label)}else return this.focused&&!this.disabled||!this.empty}get describedByIds(){return this._elementRef.nativeElement.getAttribute("aria-describedby")?.split(" ")||[]}setDescribedByIds(e){let t=this._elementRef.nativeElement;e.length?t.setAttribute("aria-describedby",e.join(" ")):t.removeAttribute("aria-describedby")}onContainerClick(){this.focused||this.focus()}_isInlineSelect(){let e=this._elementRef.nativeElement;return this._isNativeSelect&&(e.multiple||e.size>1)}_iOSKeyupListener=e=>{let t=e.target;!t.value&&t.selectionStart===0&&t.selectionEnd===0&&(t.setSelectionRange(1,1),t.setSelectionRange(0,0))};_getReadonlyAttribute(){return this._isNativeSelect?null:this.readonly||this.disabled&&this.disabledInteractive?"true":null}static \u0275fac=function(t){return new(t||i)};static \u0275dir=x({type:i,selectors:[["input","matInput",""],["textarea","matInput",""],["select","matNativeControl",""],["input","matNativeControl",""],["textarea","matNativeControl",""]],hostAttrs:[1,"mat-mdc-input-element"],hostVars:21,hostBindings:function(t,n){t&1&&B("focus",function(){return n._focusChanged(!0)})("blur",function(){return n._focusChanged(!1)})("input",function(){return n._onInput()}),t&2&&(H("id",n.id)("disabled",n.disabled&&!n.disabledInteractive)("required",n.required),P("name",n.name||null)("readonly",n._getReadonlyAttribute())("aria-disabled",n.disabled&&n.disabledInteractive?"true":null)("aria-invalid",n.empty&&n.required?null:n.errorState)("aria-required",n.required)("id",n.id),v("mat-input-server",n._isServer)("mat-mdc-form-field-textarea-control",n._isInFormField&&n._isTextarea)("mat-mdc-form-field-input-control",n._isInFormField)("mat-mdc-input-disabled-interactive",n.disabledInteractive)("mdc-text-field__input",n._isInFormField)("mat-mdc-native-select-inline",n._isInlineSelect()))},inputs:{disabled:"disabled",id:"id",placeholder:"placeholder",name:"name",required:"required",type:"type",errorStateMatcher:"errorStateMatcher",userAriaDescribedBy:[0,"aria-describedby","userAriaDescribedBy"],value:"value",readonly:"readonly",disabledInteractive:[2,"disabledInteractive","disabledInteractive",te]},exportAs:["matInput"],features:[D([{provide:le,useExisting:i}]),xe]})}return i})(),cn=(()=>{class i{static \u0275fac=function(t){return new(t||i)};static \u0275mod=R({type:i});static \u0275inj=E({imports:[se,se,ot,G]})}return i})();var Ut=["mat-internal-form-field",""],Zt=["*"],fn=(()=>{class i{labelPosition="after";static \u0275fac=function(t){return new(t||i)};static \u0275cmp=w({type:i,selectors:[["div","mat-internal-form-field",""]],hostAttrs:[1,"mdc-form-field","mat-internal-form-field"],hostVars:2,hostBindings:function(t,n){t&2&&v("mdc-form-field--align-end",n.labelPosition==="before")},inputs:{labelPosition:"labelPosition"},attrs:Ut,ngContentSelectors:Zt,decls:1,vars:0,template:function(t,n){t&1&&(q(),_(0))},styles:[`.mat-internal-form-field {
|
|
977
|
+
-moz-osx-font-smoothing: grayscale;
|
|
978
|
+
-webkit-font-smoothing: antialiased;
|
|
979
|
+
display: inline-flex;
|
|
980
|
+
align-items: center;
|
|
981
|
+
vertical-align: middle;
|
|
982
|
+
}
|
|
983
|
+
.mat-internal-form-field > label {
|
|
984
|
+
margin-left: 0;
|
|
985
|
+
margin-right: auto;
|
|
986
|
+
padding-left: 4px;
|
|
987
|
+
padding-right: 0;
|
|
988
|
+
order: 0;
|
|
989
|
+
}
|
|
990
|
+
[dir=rtl] .mat-internal-form-field > label {
|
|
991
|
+
margin-left: auto;
|
|
992
|
+
margin-right: 0;
|
|
993
|
+
padding-left: 0;
|
|
994
|
+
padding-right: 4px;
|
|
995
|
+
}
|
|
996
|
+
|
|
997
|
+
.mdc-form-field--align-end > label {
|
|
998
|
+
margin-left: auto;
|
|
999
|
+
margin-right: 0;
|
|
1000
|
+
padding-left: 0;
|
|
1001
|
+
padding-right: 4px;
|
|
1002
|
+
order: -1;
|
|
1003
|
+
}
|
|
1004
|
+
[dir=rtl] .mdc-form-field--align-end .mdc-form-field--align-end label {
|
|
1005
|
+
margin-left: 0;
|
|
1006
|
+
margin-right: auto;
|
|
1007
|
+
padding-left: 4px;
|
|
1008
|
+
padding-right: 0;
|
|
1009
|
+
}
|
|
1010
|
+
`],encapsulation:2,changeDetection:0})}return i})();export{fn as a,Ve as b,re as c,kt as d,ae as e,Pt as f,le as g,de as h,it as i,se as j,rt as k,at as l,Y as m,sn as n,cn as o};
|