@signalk/freeboard-sk 3.0.1 → 3.1.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/package.json +2 -2
- package/public/assets/features/chart-list-1.jpg +0 -0
- package/public/assets/features/chart-list-2.jpg +0 -0
- package/public/assets/features/chart-list-3.jpg +0 -0
- package/public/assets/features/cursor-eta-1.jpg +0 -0
- package/public/assets/features/follow-vessel-1.jpg +0 -0
- package/public/assets/features/follow-vessel-2.jpg +0 -0
- package/public/assets/features/radar-overlay-1.jpg +0 -0
- package/public/assets/features/route-planning-2.jpg +0 -0
- package/public/assets/features/unit-preferences-1.jpg +0 -0
- package/public/assets/features-corpus.json +1 -1
- package/public/assets/help/index.html +122 -43
- package/public/{chunk-WX7YZB5N.js → chunk-2BXQ52IR.js} +1 -1
- package/public/{chunk-WMIZVO63.js → chunk-2QAU3R2X.js} +1 -1
- package/public/{chunk-3CRIFTHA.js → chunk-3QUJEXF6.js} +1 -1
- package/public/chunk-6234UKZR.js +181 -0
- package/public/{chunk-IYNTZMNB.js → chunk-66UI7RYU.js} +1 -1
- package/public/chunk-B2NKPFJ3.js +1 -0
- package/public/{chunk-I3OUN6B4.js → chunk-DSS236J5.js} +1 -1
- package/public/{chunk-LXTM3LEN.js → chunk-EJ5G7BX7.js} +1 -1
- package/public/{chunk-GU2FUO6Z.js → chunk-EO7474PS.js} +1 -1
- package/public/{chunk-EXANCIHV.js → chunk-FY7SJ7C3.js} +1 -1
- package/public/{chunk-XHEJEIFO.js → chunk-HYKTIWCS.js} +1 -1
- package/public/chunk-MQJQLOEZ.js +3 -0
- package/public/chunk-OZ7EDOLO.js +1 -0
- package/public/{chunk-4BSA3TDQ.js → chunk-P5GLUSCN.js} +16 -16
- package/public/{chunk-4BXCQ655.js → chunk-R7KV75Y6.js} +1 -1
- package/public/chunk-RK5KJWPC.js +4147 -0
- package/public/{chunk-IURS3QQO.js → chunk-SYVLSUHP.js} +1 -1
- package/public/chunk-TJFXGPAD.js +1 -0
- package/public/chunk-TKJL2HJ5.js +1 -0
- package/public/chunk-VBEF2AKC.js +1 -0
- package/public/{chunk-UF7LOYCE.js → chunk-XB3A3UP3.js} +1 -1
- package/public/{chunk-BUZHYJBN.js → chunk-XZDYMRQ4.js} +1 -1
- package/public/{chunk-OFYILQE4.js → chunk-Z5Q3OYDR.js} +1 -1
- package/public/index.html +1 -1
- package/public/main-3XSOW4H6.js +466 -0
- package/public/chunk-5LCPVX3S.js +0 -1
- package/public/chunk-BJM4SVXD.js +0 -3
- package/public/chunk-CATOWZ7J.js +0 -1
- package/public/chunk-ECAD42KO.js +0 -1
- package/public/chunk-KKD4UBHB.js +0 -181
- package/public/chunk-OXZNIUU4.js +0 -1
- package/public/chunk-RXMZCTQL.js +0 -4147
- package/public/chunk-XFMBJ4SJ.js +0 -1
- package/public/main-MARHMHOX.js +0 -466
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{$ as ge,$a as we,D as pe,Da as O,E as _e,Ea as m,Fa as f,G as be,Gb as Te,Hc as D,I as j,Ib as U,Ka as T,Kd as ne,L as S,La as u,M as E,Ma as h,N as b,Na as P,Oa as Ce,P as r,Pa as Fe,Pb as B,Qa as Y,Rb as Le,Va as N,Vb as De,Wa as H,Xb as te,Y as x,Ya as F,Z as xe,Za as X,Zb as ze,_ as W,_a as g,a as ce,ab as K,b as me,bb as s,bc as Ae,be as Ne,c as v,ca as C,cb as c,db as Me,de as He,eb as Se,fb as J,fe as Be,gb as ee,h as fe,ib as y,id as Oe,ja as d,ke as qe,l as ue,lb as Ee,lc as L,ma as ve,mb as Re,na as I,pc as Ie,ra as k,rd as z,s as he,sa as R,sc as ie,t as V,ta as _,tc as ke,vd as Pe,wa as Q,wb as w,xc as Z,ya as ye}from"./chunk-4BSA3TDQ.js";var oe=class{_box;_destroyed=new v;_resizeSubject=new v;_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(V(e=>e.some(t=>t.target===l)),_e({bufferSize:1,refCount:!0}),j(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(x);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 ut=["notch"],ht=["matFormFieldNotchedOutline",""],pt=["*"],je=["iconPrefixContainer"],We=["textPrefixContainer"],Qe=["iconSuffixContainer"],Ue=["textSuffixContainer"],_t=["textField"],bt=["*",[["mat-label"]],[["","matPrefix",""],["","matIconPrefix",""]],[["","matTextPrefix",""]],[["","matTextSuffix",""]],[["","matSuffix",""],["","matIconSuffix",""]],[["mat-error"],["","matError",""]],[["mat-hint",3,"align","end"]],[["mat-hint","align","end"]]],xt=["*","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&&P(0,"span",21)}function vt(i,l){if(i&1&&(u(0,"label",20),g(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),O("for",e._control.disableAutomaticLabeling?null:e._control.id),d(2),f(!e.hideRequiredMarker&&e._control.required?2:-1)}}function yt(i,l){if(i&1&&m(0,vt,3,5,"label",20),i&2){let e=F();f(e._hasFloatingLabel()?0:-1)}}function Ct(i,l){i&1&&P(0,"div",7)}function Ft(i,l){}function wt(i,l){if(i&1&&Q(0,Ft,0,0,"ng-template",13),i&2){F(2);let e=ee(1);T("ngTemplateOutlet",e)}}function Mt(i,l){if(i&1&&(u(0,"div",9),m(1,wt,1,1,null,13),h()),i&2){let e=F();T("matFormFieldNotchedOutlineOpen",e._shouldLabelFloat()),d(),f(e._forceDisplayInfixLabel()?-1:1)}}function St(i,l){i&1&&(u(0,"div",10,2),g(2,2),h())}function Et(i,l){i&1&&(u(0,"div",11,3),g(2,3),h())}function Rt(i,l){}function Tt(i,l){if(i&1&&Q(0,Rt,0,0,"ng-template",13),i&2){F();let e=ee(1);T("ngTemplateOutlet",e)}}function Lt(i,l){i&1&&(u(0,"div",14,4),g(2,4),h())}function Dt(i,l){i&1&&(u(0,"div",15,5),g(2,5),h())}function zt(i,l){i&1&&P(0,"div",16)}function At(i,l){i&1&&(u(0,"div",18),g(1,6),h())}function It(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 kt(i,l){if(i&1&&(u(0,"div",19),m(1,It,2,2,"mat-hint",22),g(2,7),P(3,"div",23),g(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=_({type:i,selectors:[["mat-label"]]})}return i})(),Je=new b("MatError"),Ot=(()=>{class i{id=r(D).getId("mat-mdc-error-");constructor(){}static \u0275fac=function(t){return new(t||i)};static \u0275dir=_({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&&N("id",n.id)},inputs:{id:"id"},features:[w([{provide:Je,useExisting:i}])]})}return i})(),ae=(()=>{class i{align="start";id=r(D).getId("mat-mdc-hint-");static \u0275fac=function(t){return new(t||i)};static \u0275dir=_({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&&(N("id",n.id),O("align",null),y("mat-mdc-form-field-hint-end",n.align==="end"))},inputs:{align:"align",id:"id"}})}return i})(),et=new b("MatPrefix"),Pt=(()=>{class i{set _isTextSelector(e){this._isText=!0}_isText=!1;static \u0275fac=function(t){return new(t||i)};static \u0275dir=_({type:i,selectors:[["","matPrefix",""],["","matIconPrefix",""],["","matTextPrefix",""]],inputs:{_isTextSelector:[0,"matTextPrefix","_isTextSelector"]},features:[w([{provide:et,useExisting:i}])]})}return i})(),tt=new b("MatSuffix"),Nt=(()=>{class i{set _isTextSelector(e){this._isText=!0}_isText=!1;static \u0275fac=function(t){return new(t||i)};static \u0275dir=_({type:i,selectors:[["","matSuffix",""],["","matIconSuffix",""],["","matTextSuffix",""]],inputs:{_isTextSelector:[0,"matTextSuffix","_isTextSelector"]},features:[w([{provide:tt,useExisting:i}])]})}return i})(),it=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(x);_parent=r(it);_resizeSubscription=new ce;constructor(){}ngOnDestroy(){this._resizeSubscription.unsubscribe()}getWidth(){return Ht(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=_({type:i,selectors:[["label","matFormFieldFloatingLabel",""]],hostAttrs:[1,"mdc-floating-label","mat-mdc-floating-label"],hostVars:2,hostBindings:function(t,n){t&2&&y("mdc-floating-label--float-above",n.floating)},inputs:{floating:"floating",monitorResize:"monitorResize"}})}return i})();function Ht(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",G="mdc-line-ripple--deactivating",$e=(()=>{class i{_elementRef=r(C);_cleanupTransitionEnd;constructor(){let e=r(x),t=r(I);e.runOutsideAngular(()=>{this._cleanupTransitionEnd=t.listen(this._elementRef.nativeElement,"transitionend",this._handleTransitionEnd)})}activate(){let e=this._elementRef.nativeElement.classList;e.remove(G),e.add(Ge)}deactivate(){this._elementRef.nativeElement.classList.add(G)}_handleTransitionEnd=e=>{let t=this._elementRef.nativeElement.classList,n=t.contains(G);e.propertyName==="opacity"&&n&&t.remove(Ge,G)};ngOnDestroy(){this._cleanupTransitionEnd()}static \u0275fac=function(t){return new(t||i)};static \u0275dir=_({type:i,selectors:[["div","matFormFieldLineRipple",""]],hostAttrs:[1,"mdc-line-ripple"]})}return i})(),Ye=(()=>{class i{_elementRef=r(C);_ngZone=r(x);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=k({type:i,selectors:[["div","matFormFieldNotchedOutline",""]],viewQuery:function(t,n){if(t&1&&K(ut,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&&y("mdc-notched-outline--notched",n.open)},inputs:{open:[0,"matFormFieldNotchedOutlineOpen","open"]},attrs:ht,ngContentSelectors:pt,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&&(X(),Y(0,"div",1),Ce(1,"div",2,0),g(3),Fe(),Y(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=_({type:i})}return i})();var de=new b("MatFormField"),Bt=new b("MAT_FORM_FIELD_DEFAULT_OPTIONS"),Xe="fill",qt="auto",Ke="fixed",Vt="translateY(-50%)",nt=(()=>{class i{_elementRef=r(C);_changeDetectorRef=r(De);_platform=r(L);_idGenerator=r(D);_ngZone=r(x);_defaults=r(Bt,{optional:!0});_currentDirection;_textField;_iconPrefixContainer;_textPrefixContainer;_iconSuffixContainer;_textSuffixContainer;_floatingLabel;_notchedOutline;_lineRipple;_iconPrefixContainerSignal=B("iconPrefixContainer");_textPrefixContainerSignal=B("textPrefixContainer");_iconSuffixContainerSignal=B("iconSuffixContainer");_textSuffixContainerSignal=B("textSuffixContainer");_prefixSuffixContainers=U(()=>[this._iconPrefixContainerSignal(),this._textPrefixContainerSignal(),this._iconSuffixContainerSignal(),this._textSuffixContainerSignal()].map(e=>e?.nativeElement).filter(e=>e!==void 0));_formFieldControl;_prefixChildren;_suffixChildren;_errorChildren;_hintChildren;_labelChild=Le(re);get hideRequiredMarker(){return this._hideRequiredMarker}set hideRequiredMarker(e){this._hideRequiredMarker=z(e)}_hideRequiredMarker=!1;color="primary";get floatLabel(){return this._floatLabel||this._defaults?.floatLabel||qt}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=xe(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 v;_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)),W(()=>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=U(()=>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(),V(([[o,a],[p,A]])=>o!==p||a!==A)).subscribe(()=>this._syncDescribedByIds()),this._valueChanges?.unsubscribe(),t.ngControl&&t.ngControl.valueChanges&&(this._valueChanges=t.ngControl.valueChanges.pipe(j(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=U(()=>!!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,A=n?.getBoundingClientRect().width??0,M=o?.getBoundingClientRect().width??0,dt=this._currentDirection==="rtl"?"-1":"1",st=`${a+p}px`,ct=`calc(${dt} * (${st} + var(--mat-mdc-form-field-label-offset-x, 0px)))`,mt=`var(--mat-mdc-form-field-label-transform, ${Vt} translateX(${ct}))`,ft=a+p+A+M;return[mt,ft]}_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=k({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,et,5)(o,tt,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(_t,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&&y("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:[w([{provide:de,useExisting:i},{provide:it,useExisting:i}])],ngContentSelectors:xt,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&&(X(bt),Q(0,yt,1,1,"ng-template",null,0,Te),u(2,"div",6,1),H("click",function(a){return n._control.onContainerClick(a)}),m(4,Ct,1,0,"div",7),u(5,"div",8),m(6,Mt,2,2,"div",9),m(7,St,3,0,"div",10),m(8,Et,3,0,"div",11),u(9,"div",12),m(10,Tt,1,1,null,13),g(11),h(),m(12,Lt,3,0,"div",14),m(13,Dt,3,0,"div",15),h(),m(14,zt,1,0,"div",16),h(),u(15,"div",17),m(16,At,2,0,"div",18)(17,kt,5,1,"div",19),h()),t&2){let o;d(2),y("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(),y("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 {
|
|
1
|
+
import{$ as ge,$a as we,D as pe,Da as O,E as _e,Ea as m,Fa as f,G as be,Gb as Te,Hc as D,I as j,Jb as U,Ka as T,Kd as ne,L as S,La as u,M as E,Ma as h,N as b,Na as P,Oa as Ce,P as r,Pa as Fe,Qa as Y,Qb as B,Sb as Le,Va as N,Wa as H,Wb as De,Y as x,Ya as F,Yb as te,Z as xe,Za as X,_ as W,_a as g,_b as ze,a as ce,ab as K,ac as Ae,b as me,bb as s,be as Ne,c as v,ca as C,cb as c,db as Me,de as He,eb as Se,fb as J,fe as Be,gb as ee,h as fe,ib as y,id as Oe,ja as d,ke as qe,l as ue,lb as Ee,lc as L,ma as ve,mb as Re,na as I,pc as Ie,ra as k,rd as z,s as he,sa as R,sc as ie,t as V,ta as _,tc as ke,vd as Pe,wa as Q,wb as w,xc as Z,ya as ye}from"./chunk-P5GLUSCN.js";var oe=class{_box;_destroyed=new v;_resizeSubject=new v;_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(V(e=>e.some(t=>t.target===l)),_e({bufferSize:1,refCount:!0}),j(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(x);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 ut=["notch"],ht=["matFormFieldNotchedOutline",""],pt=["*"],je=["iconPrefixContainer"],We=["textPrefixContainer"],Qe=["iconSuffixContainer"],Ue=["textSuffixContainer"],_t=["textField"],bt=["*",[["mat-label"]],[["","matPrefix",""],["","matIconPrefix",""]],[["","matTextPrefix",""]],[["","matTextSuffix",""]],[["","matSuffix",""],["","matIconSuffix",""]],[["mat-error"],["","matError",""]],[["mat-hint",3,"align","end"]],[["mat-hint","align","end"]]],xt=["*","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&&P(0,"span",21)}function vt(i,l){if(i&1&&(u(0,"label",20),g(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),O("for",e._control.disableAutomaticLabeling?null:e._control.id),d(2),f(!e.hideRequiredMarker&&e._control.required?2:-1)}}function yt(i,l){if(i&1&&m(0,vt,3,5,"label",20),i&2){let e=F();f(e._hasFloatingLabel()?0:-1)}}function Ct(i,l){i&1&&P(0,"div",7)}function Ft(i,l){}function wt(i,l){if(i&1&&Q(0,Ft,0,0,"ng-template",13),i&2){F(2);let e=ee(1);T("ngTemplateOutlet",e)}}function Mt(i,l){if(i&1&&(u(0,"div",9),m(1,wt,1,1,null,13),h()),i&2){let e=F();T("matFormFieldNotchedOutlineOpen",e._shouldLabelFloat()),d(),f(e._forceDisplayInfixLabel()?-1:1)}}function St(i,l){i&1&&(u(0,"div",10,2),g(2,2),h())}function Et(i,l){i&1&&(u(0,"div",11,3),g(2,3),h())}function Rt(i,l){}function Tt(i,l){if(i&1&&Q(0,Rt,0,0,"ng-template",13),i&2){F();let e=ee(1);T("ngTemplateOutlet",e)}}function Lt(i,l){i&1&&(u(0,"div",14,4),g(2,4),h())}function Dt(i,l){i&1&&(u(0,"div",15,5),g(2,5),h())}function zt(i,l){i&1&&P(0,"div",16)}function At(i,l){i&1&&(u(0,"div",18),g(1,6),h())}function It(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 kt(i,l){if(i&1&&(u(0,"div",19),m(1,It,2,2,"mat-hint",22),g(2,7),P(3,"div",23),g(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=_({type:i,selectors:[["mat-label"]]})}return i})(),Je=new b("MatError"),Ot=(()=>{class i{id=r(D).getId("mat-mdc-error-");constructor(){}static \u0275fac=function(t){return new(t||i)};static \u0275dir=_({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&&N("id",n.id)},inputs:{id:"id"},features:[w([{provide:Je,useExisting:i}])]})}return i})(),ae=(()=>{class i{align="start";id=r(D).getId("mat-mdc-hint-");static \u0275fac=function(t){return new(t||i)};static \u0275dir=_({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&&(N("id",n.id),O("align",null),y("mat-mdc-form-field-hint-end",n.align==="end"))},inputs:{align:"align",id:"id"}})}return i})(),et=new b("MatPrefix"),Pt=(()=>{class i{set _isTextSelector(e){this._isText=!0}_isText=!1;static \u0275fac=function(t){return new(t||i)};static \u0275dir=_({type:i,selectors:[["","matPrefix",""],["","matIconPrefix",""],["","matTextPrefix",""]],inputs:{_isTextSelector:[0,"matTextPrefix","_isTextSelector"]},features:[w([{provide:et,useExisting:i}])]})}return i})(),tt=new b("MatSuffix"),Nt=(()=>{class i{set _isTextSelector(e){this._isText=!0}_isText=!1;static \u0275fac=function(t){return new(t||i)};static \u0275dir=_({type:i,selectors:[["","matSuffix",""],["","matIconSuffix",""],["","matTextSuffix",""]],inputs:{_isTextSelector:[0,"matTextSuffix","_isTextSelector"]},features:[w([{provide:tt,useExisting:i}])]})}return i})(),it=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(x);_parent=r(it);_resizeSubscription=new ce;constructor(){}ngOnDestroy(){this._resizeSubscription.unsubscribe()}getWidth(){return Ht(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=_({type:i,selectors:[["label","matFormFieldFloatingLabel",""]],hostAttrs:[1,"mdc-floating-label","mat-mdc-floating-label"],hostVars:2,hostBindings:function(t,n){t&2&&y("mdc-floating-label--float-above",n.floating)},inputs:{floating:"floating",monitorResize:"monitorResize"}})}return i})();function Ht(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",G="mdc-line-ripple--deactivating",$e=(()=>{class i{_elementRef=r(C);_cleanupTransitionEnd;constructor(){let e=r(x),t=r(I);e.runOutsideAngular(()=>{this._cleanupTransitionEnd=t.listen(this._elementRef.nativeElement,"transitionend",this._handleTransitionEnd)})}activate(){let e=this._elementRef.nativeElement.classList;e.remove(G),e.add(Ge)}deactivate(){this._elementRef.nativeElement.classList.add(G)}_handleTransitionEnd=e=>{let t=this._elementRef.nativeElement.classList,n=t.contains(G);e.propertyName==="opacity"&&n&&t.remove(Ge,G)};ngOnDestroy(){this._cleanupTransitionEnd()}static \u0275fac=function(t){return new(t||i)};static \u0275dir=_({type:i,selectors:[["div","matFormFieldLineRipple",""]],hostAttrs:[1,"mdc-line-ripple"]})}return i})(),Ye=(()=>{class i{_elementRef=r(C);_ngZone=r(x);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=k({type:i,selectors:[["div","matFormFieldNotchedOutline",""]],viewQuery:function(t,n){if(t&1&&K(ut,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&&y("mdc-notched-outline--notched",n.open)},inputs:{open:[0,"matFormFieldNotchedOutlineOpen","open"]},attrs:ht,ngContentSelectors:pt,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&&(X(),Y(0,"div",1),Ce(1,"div",2,0),g(3),Fe(),Y(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=_({type:i})}return i})();var de=new b("MatFormField"),Bt=new b("MAT_FORM_FIELD_DEFAULT_OPTIONS"),Xe="fill",qt="auto",Ke="fixed",Vt="translateY(-50%)",nt=(()=>{class i{_elementRef=r(C);_changeDetectorRef=r(De);_platform=r(L);_idGenerator=r(D);_ngZone=r(x);_defaults=r(Bt,{optional:!0});_currentDirection;_textField;_iconPrefixContainer;_textPrefixContainer;_iconSuffixContainer;_textSuffixContainer;_floatingLabel;_notchedOutline;_lineRipple;_iconPrefixContainerSignal=B("iconPrefixContainer");_textPrefixContainerSignal=B("textPrefixContainer");_iconSuffixContainerSignal=B("iconSuffixContainer");_textSuffixContainerSignal=B("textSuffixContainer");_prefixSuffixContainers=U(()=>[this._iconPrefixContainerSignal(),this._textPrefixContainerSignal(),this._iconSuffixContainerSignal(),this._textSuffixContainerSignal()].map(e=>e?.nativeElement).filter(e=>e!==void 0));_formFieldControl;_prefixChildren;_suffixChildren;_errorChildren;_hintChildren;_labelChild=Le(re);get hideRequiredMarker(){return this._hideRequiredMarker}set hideRequiredMarker(e){this._hideRequiredMarker=z(e)}_hideRequiredMarker=!1;color="primary";get floatLabel(){return this._floatLabel||this._defaults?.floatLabel||qt}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=xe(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 v;_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)),W(()=>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=U(()=>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(),V(([[o,a],[p,A]])=>o!==p||a!==A)).subscribe(()=>this._syncDescribedByIds()),this._valueChanges?.unsubscribe(),t.ngControl&&t.ngControl.valueChanges&&(this._valueChanges=t.ngControl.valueChanges.pipe(j(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=U(()=>!!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,A=n?.getBoundingClientRect().width??0,M=o?.getBoundingClientRect().width??0,dt=this._currentDirection==="rtl"?"-1":"1",st=`${a+p}px`,ct=`calc(${dt} * (${st} + var(--mat-mdc-form-field-label-offset-x, 0px)))`,mt=`var(--mat-mdc-form-field-label-transform, ${Vt} translateX(${ct}))`,ft=a+p+A+M;return[mt,ft]}_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=k({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,et,5)(o,tt,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(_t,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&&y("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:[w([{provide:de,useExisting:i},{provide:it,useExisting:i}])],ngContentSelectors:xt,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&&(X(bt),Q(0,yt,1,1,"ng-template",null,0,Te),u(2,"div",6,1),H("click",function(a){return n._control.onContainerClick(a)}),m(4,Ct,1,0,"div",7),u(5,"div",8),m(6,Mt,2,2,"div",9),m(7,St,3,0,"div",10),m(8,Et,3,0,"div",11),u(9,"div",12),m(10,Tt,1,1,null,13),g(11),h(),m(12,Lt,3,0,"div",14),m(13,Dt,3,0,"div",15),h(),m(14,zt,1,0,"div",16),h(),u(15,"div",17),m(16,At,2,0,"div",18)(17,kt,5,1,"div",19),h()),t&2){let o;d(2),y("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(),y("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
2
|
display: inline-flex;
|
|
3
3
|
align-items: baseline;
|
|
4
4
|
padding: 0 16px;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{Ha as $,r as Y,z as Z}from"./chunk-RK5KJWPC.js";import{a as N,b as Q,c as X}from"./chunk-SYVLSUHP.js";import"./chunk-R7KV75Y6.js";import{i as K,k as W}from"./chunk-EJ5G7BX7.js";import{a as J,b as U,d as q}from"./chunk-66UI7RYU.js";import{a as B}from"./chunk-3QUJEXF6.js";import"./chunk-XB3A3UP3.js";import"./chunk-HYKTIWCS.js";import"./chunk-DSS236J5.js";import{b as H,i as z,o as G}from"./chunk-2BXQ52IR.js";import{Dd as P,Ea as u,Ed as R,Fa as g,Ha as C,Hd as k,Ia as M,Ja as I,Jd as T,Ka as _,La as i,Ma as t,Na as b,Q as d,R as p,Rd as V,Td as A,Ua as h,Wa as f,Wd as F,Ya as c,Yd as O,Zd as j,ja as r,lb as n,mb as w,nb as v,oa as m,pb as D,pe as L,qb as S,ra as y,rb as E}from"./chunk-P5GLUSCN.js";import"./chunk-EQVTEUXC.js";function te(o,a){if(o&1&&(i(0,"mat-option",10),n(1),t()),o&2){let e=a.$implicit;_("value",e),r(),w(e)}}function ie(o,a){if(o&1){let e=h();i(0,"div")(1,"ap-file-input",17),f("chosen",function(l){d(e);let x=c(2);return p(x.parseFile(l))}),i(2,"div",18)(3,"div",19),n(4," Click or Drop file "),t()()()()}o&2&&(r(),_("astext",!0))}function ne(o,a){if(o&1){let e=h();i(0,"div")(1,"div")(2,"b"),n(3,"Invalid Resource Data:"),t(),b(4,"br")(5,"br"),i(6,"i"),n(7,"Selected file does not contain valid data. "),t(),b(8,"br"),t(),i(9,"div",20)(10,"button",21),f("click",function(){d(e);let l=c(2);return p(l.app.showHelp("resource"))}),i(11,"mat-icon"),n(12,"help"),t(),n(13," Help "),t()()()}}function oe(o,a){o&1&&(i(0,"div",16),n(1," Note: Data will not be validated when uploaded to server! "),t())}function ae(o,a){if(o&1){let e=h();i(0,"div",7)(1,"div")(2,"mat-form-field",8)(3,"mat-label"),n(4,"Select Destination Path"),t(),i(5,"mat-select",9,0),E("valueChange",function(l){d(e);let x=c();return S(x.targetPath,l)||(x.targetPath=l),p(l)}),M(7,te,2,2,"mat-option",10,C),t()()(),u(9,ie,5,1,"div"),u(10,ne,14,0,"div"),i(11,"div")(12,"div",11)(13,"div",12)(14,"div")(15,"span",13),n(16,"Name:"),t(),n(17),t(),i(18,"div")(19,"span",13),n(20,"Type:"),t(),n(21),t()()(),i(22,"div",14)(23,"button",15),f("click",function(){d(e);let l=c();return p(l.load())}),i(24,"mat-icon"),n(25,"file_upload"),t(),n(26," \xA0Load\xA0 "),t(),b(27,"br"),n(28,"\xA0 "),u(29,oe,2,0,"div",16),t()()()}if(o&2){let e=c();r(5),_("disabled",!e.resPaths),D("value",e.targetPath),r(2),I(e.resPaths),r(2),g(e.source.name?-1:9),r(),g(e.display.notValid?10:-1),r(7),v(" ",e.source.name," "),r(4),v(" ",e.source.type," "),r(2),_("disabled",!e.targetPath||!e.source.name),r(6),g(e.targetPath&&e.source.name?29:-1)}}var ee=class o{constructor(a,e,s,l){this.app=a;this.skclient=e;this.dialogRef=s;this.data=l}resPaths=[];targetPath=null;source={type:null,name:null,data:null};display={notValid:!1};unsubscribe=[];ngOnInit(){this.skclient.api.get(this.app.skApiVersion,"/resources").subscribe(a=>{this.resPaths=[],this.targetPath=null,this.resPaths=Object.keys(a).filter(e=>!["routes","waypoints","notes","regions","charts","tracks"].includes(e))},()=>{this.resPaths=[],this.targetPath=null})}ngOnDestroy(){this.unsubscribe.forEach(a=>a.unsubscribe())}load(){this.dialogRef.close({path:this.targetPath,data:this.source.data})}parseFile(a){this.source=a,this.source.type="Unknown";try{let e=JSON.parse(a.data);this.source.type=e.type?e.type:this.source.type}catch(e){console.log("Error parsing resource file!")}}static \u0275fac=function(e){return new(e||o)(m(Z),m(Y),m(P),m(R))};static \u0275cmp=y({type:o,selectors:[["resource-upload-dialog"]],decls:13,vars:1,consts:[["respaths",""],[1,"resourceload-dialog"],[2,"background-color","transparent"],[2,"flex","1 1 auto","text-align","center"],[2,"text-align","right"],["mat-icon-button","",3,"click"],["mat-dialog-content",""],[1,"card-group"],["floatLabel","always",2,"width","100%"],["id","respaths",3,"valueChange","disabled","value"],[3,"value"],[2,"display","flex","flex-wrap","wrap"],[2,"flex","1 1 auto","padding","5px","font-size","smaller"],[2,"font-weight","bold"],[2,"text-align","center","padding-top","15px"],["mat-raised-button","","matTooltip","Load features","matTooltipPosition","below",3,"click","disabled"],[2,"padding","10px","border","gray 1px dashed","font-style","italic"],[3,"chosen","astext"],[2,"width","200px"],[2,"padding","25%","border","gray 1px dashed"],[2,"width","100%","text-align","center"],["mat-raised-button","",3,"click"]],template:function(e,s){e&1&&(i(0,"div",1)(1,"mat-toolbar",2)(2,"span")(3,"mat-icon"),n(4,"category"),t()(),i(5,"span",3),n(6,"Load Resource"),t(),i(7,"span",4)(8,"button",5),f("click",function(){return s.dialogRef.close()}),i(9,"mat-icon"),n(10,"close"),t()()()(),i(11,"div",6),u(12,ae,30,8,"div",7),t()()),e&2&&(r(12),g(s.display.notValid?-1:12))},dependencies:[L,G,z,H,q,U,J,N,B,j,O,K,F,A,V,X,Q,W,T,k,$],styles:[".resourceload-dialog[_ngcontent-%COMP%]{font-family:roboto;position:relative;width:100%}.card-group[_ngcontent-%COMP%]{padding:5px 5%}@media only screen and (min-width:800px){.card-group[_ngcontent-%COMP%]{padding:5px 5%}}"]})};export{ee as ResourceImportDialog};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{Cd as Z,I as r,Ic as z,N as _,Oa as f,P as n,Pa as R,Pc as G,Rc as j,U as p,Uc as F,V as T,Vb as H,Wa as A,Xa as O,Y as w,Yc as U,ab as M,bb as x,c,ca as h,cb as S,cd as B,fd as $,ib as u,ja as D,ka as m,kb as L,lb as k,lc as V,mb as N,na as P,qa as C,ra as I,rc as g,rd as y,ta as E,tc as Y,vd as v,zc as X}from"./chunk-4BSA3TDQ.js";import{a as l}from"./chunk-EQVTEUXC.js";var q=["tooltip"],K=20;var J=new _("mat-tooltip-scroll-strategy",{providedIn:"root",factory:()=>{let a=n(p);return()=>j(a,{scrollThrottle:K})}}),tt=new _("mat-tooltip-default-options",{providedIn:"root",factory:()=>({showDelay:0,hideDelay:0,touchendHideDelay:1500})});var Q="tooltip-panel",et={passive:!0},it=8,ot=8,st=24,nt=200,It=(()=>{class a{_elementRef=n(h);_ngZone=n(w);_platform=n(V);_ariaDescriber=n(Z);_focusMonitor=n(B);_dir=n(Y);_injector=n(p);_viewContainerRef=n(C);_mediaMatcher=n($);_document=n(T);_renderer=n(P);_animationsDisabled=v();_defaultOptions=n(tt,{optional:!0});_overlayRef=null;_tooltipInstance=null;_overlayPanelClass;_portal;_position="below";_positionAtOrigin=!1;_disabled=!1;_tooltipClass;_viewInitialized=!1;_pointerExitEventsInitialized=!1;_tooltipComponent=at;_viewportMargin=8;_currentPosition;_cssClassPrefix="mat-mdc";_ariaDescriptionPending=!1;_dirSubscribed=!1;get position(){return this._position}set position(t){t!==this._position&&(this._position=t,this._overlayRef&&(this._updatePosition(this._overlayRef),this._tooltipInstance?.show(0),this._overlayRef.updatePosition()))}get positionAtOrigin(){return this._positionAtOrigin}set positionAtOrigin(t){this._positionAtOrigin=y(t),this._detach(),this._overlayRef=null}get disabled(){return this._disabled}set disabled(t){let e=y(t);this._disabled!==e&&(this._disabled=e,e?this.hide(0):this._setupPointerEnterEventsIfNeeded(),this._syncAriaDescription(this.message))}get showDelay(){return this._showDelay}set showDelay(t){this._showDelay=g(t)}_showDelay;get hideDelay(){return this._hideDelay}set hideDelay(t){this._hideDelay=g(t),this._tooltipInstance&&(this._tooltipInstance._mouseLeaveHideDelay=this._hideDelay)}_hideDelay;touchGestures="auto";get message(){return this._message}set message(t){let e=this._message;this._message=t!=null?String(t).trim():"",!this._message&&this._isTooltipVisible()?this.hide(0):(this._setupPointerEnterEventsIfNeeded(),this._updateTooltipMessage()),this._syncAriaDescription(e)}_message="";get tooltipClass(){return this._tooltipClass}set tooltipClass(t){this._tooltipClass=t,this._tooltipInstance&&this._setTooltipClass(this._tooltipClass)}_eventCleanups=[];_touchstartTimeout=null;_destroyed=new c;_isDestroyed=!1;constructor(){let t=this._defaultOptions;t&&(this._showDelay=t.showDelay,this._hideDelay=t.hideDelay,t.position&&(this.position=t.position),t.positionAtOrigin&&(this.positionAtOrigin=t.positionAtOrigin),t.touchGestures&&(this.touchGestures=t.touchGestures),t.tooltipClass&&(this.tooltipClass=t.tooltipClass)),this._viewportMargin=it}ngAfterViewInit(){this._viewInitialized=!0,this._setupPointerEnterEventsIfNeeded(),this._focusMonitor.monitor(this._elementRef).pipe(r(this._destroyed)).subscribe(t=>{t?t==="keyboard"&&this._ngZone.run(()=>this.show()):this._ngZone.run(()=>this.hide(0))})}ngOnDestroy(){let t=this._elementRef.nativeElement;this._touchstartTimeout&&clearTimeout(this._touchstartTimeout),this._overlayRef&&(this._overlayRef.dispose(),this._tooltipInstance=null),this._eventCleanups.forEach(e=>e()),this._eventCleanups.length=0,this._destroyed.next(),this._destroyed.complete(),this._isDestroyed=!0,this._ariaDescriber.removeDescription(t,this.message,"tooltip"),this._focusMonitor.stopMonitoring(t)}show(t=this.showDelay,e){if(this.disabled||!this.message||this._isTooltipVisible()){this._tooltipInstance?._cancelPendingAnimations();return}let i=this._createOverlay(e);this._detach(),this._portal=this._portal||new z(this._tooltipComponent,this._viewContainerRef);let o=this._tooltipInstance=i.attach(this._portal).instance;o._triggerElement=this._elementRef.nativeElement,o._mouseLeaveHideDelay=this._hideDelay,o.afterHidden().pipe(r(this._destroyed)).subscribe(()=>this._detach()),this._setTooltipClass(this._tooltipClass),this._updateTooltipMessage(),o.show(t)}hide(t=this.hideDelay){let e=this._tooltipInstance;e&&(e.isVisible()?e.hide(t):(e._cancelPendingAnimations(),this._detach()))}toggle(t){this._isTooltipVisible()?this.hide():this.show(void 0,t)}_isTooltipVisible(){return!!this._tooltipInstance&&this._tooltipInstance.isVisible()}_createOverlay(t){if(this._overlayRef){let s=this._overlayRef.getConfig().positionStrategy;if((!this.positionAtOrigin||!t)&&s._origin instanceof h)return this._overlayRef;this._detach()}let e=this._injector.get(X).getAncestorScrollContainers(this._elementRef),i=`${this._cssClassPrefix}-${Q}`,o=F(this._injector,this.positionAtOrigin?t||this._elementRef:this._elementRef).withTransformOriginOn(`.${this._cssClassPrefix}-tooltip`).withFlexibleDimensions(!1).withViewportMargin(this._viewportMargin).withScrollableContainers(e).withPopoverLocation("global");return o.positionChanges.pipe(r(this._destroyed)).subscribe(s=>{this._updateCurrentPositionClass(s.connectionPair),this._tooltipInstance&&s.scrollableViewProperties.isOverlayClipped&&this._tooltipInstance.isVisible()&&this._ngZone.run(()=>this.hide(0))}),this._overlayRef=U(this._injector,{direction:this._dir,positionStrategy:o,panelClass:this._overlayPanelClass?[...this._overlayPanelClass,i]:i,scrollStrategy:this._injector.get(J)(),disableAnimations:this._animationsDisabled,eventPredicate:this._overlayEventPredicate}),this._updatePosition(this._overlayRef),this._overlayRef.detachments().pipe(r(this._destroyed)).subscribe(()=>this._detach()),this._overlayRef.outsidePointerEvents().pipe(r(this._destroyed)).subscribe(()=>this._tooltipInstance?._handleBodyInteraction()),this._overlayRef.keydownEvents().pipe(r(this._destroyed)).subscribe(s=>{s.preventDefault(),s.stopPropagation(),this._ngZone.run(()=>this.hide(0))}),this._defaultOptions?.disableTooltipInteractivity&&this._overlayRef.addPanelClass(`${this._cssClassPrefix}-tooltip-panel-non-interactive`),this._dirSubscribed||(this._dirSubscribed=!0,this._dir.change.pipe(r(this._destroyed)).subscribe(()=>{this._overlayRef&&this._updatePosition(this._overlayRef)})),this._overlayRef}_detach(){this._overlayRef&&this._overlayRef.hasAttached()&&this._overlayRef.detach(),this._tooltipInstance=null}_updatePosition(t){let e=t.getConfig().positionStrategy,i=this._getOrigin(),o=this._getOverlayPosition();e.withPositions([this._addOffset(l(l({},i.main),o.main)),this._addOffset(l(l({},i.fallback),o.fallback))])}_addOffset(t){let e=ot,i=!this._dir||this._dir.value=="ltr";return t.originY==="top"?t.offsetY=-e:t.originY==="bottom"?t.offsetY=e:t.originX==="start"?t.offsetX=i?-e:e:t.originX==="end"&&(t.offsetX=i?e:-e),t}_getOrigin(){let t=!this._dir||this._dir.value=="ltr",e=this.position,i;e=="above"||e=="below"?i={originX:"center",originY:e=="above"?"top":"bottom"}:e=="before"||e=="left"&&t||e=="right"&&!t?i={originX:"start",originY:"center"}:(e=="after"||e=="right"&&t||e=="left"&&!t)&&(i={originX:"end",originY:"center"});let{x:o,y:s}=this._invertPosition(i.originX,i.originY);return{main:i,fallback:{originX:o,originY:s}}}_getOverlayPosition(){let t=!this._dir||this._dir.value=="ltr",e=this.position,i;e=="above"?i={overlayX:"center",overlayY:"bottom"}:e=="below"?i={overlayX:"center",overlayY:"top"}:e=="before"||e=="left"&&t||e=="right"&&!t?i={overlayX:"end",overlayY:"center"}:(e=="after"||e=="right"&&t||e=="left"&&!t)&&(i={overlayX:"start",overlayY:"center"});let{x:o,y:s}=this._invertPosition(i.overlayX,i.overlayY);return{main:i,fallback:{overlayX:o,overlayY:s}}}_updateTooltipMessage(){this._tooltipInstance&&(this._tooltipInstance.message=this.message,this._tooltipInstance._markForCheck(),m(()=>{this._tooltipInstance&&this._overlayRef.updatePosition()},{injector:this._injector}))}_setTooltipClass(t){this._tooltipInstance&&(this._tooltipInstance.tooltipClass=t instanceof Set?Array.from(t):t,this._tooltipInstance._markForCheck())}_invertPosition(t,e){return this.position==="above"||this.position==="below"?e==="top"?e="bottom":e==="bottom"&&(e="top"):t==="end"?t="start":t==="start"&&(t="end"),{x:t,y:e}}_updateCurrentPositionClass(t){let{overlayY:e,originX:i,originY:o}=t,s;if(e==="center"?this._dir&&this._dir.value==="rtl"?s=i==="end"?"left":"right":s=i==="start"?"left":"right":s=e==="bottom"&&o==="top"?"above":"below",s!==this._currentPosition){let d=this._overlayRef;if(d){let b=`${this._cssClassPrefix}-${Q}-`;d.removePanelClass(b+this._currentPosition),d.addPanelClass(b+s)}this._currentPosition=s}}_setupPointerEnterEventsIfNeeded(){this._disabled||!this.message||!this._viewInitialized||this._eventCleanups.length||(this._isTouchPlatform()?this.touchGestures!=="off"&&(this._disableNativeGesturesIfNecessary(),this._addListener("touchstart",t=>{let e=t.targetTouches?.[0],i=e?{x:e.clientX,y:e.clientY}:void 0;this._setupPointerExitEventsIfNeeded(),this._touchstartTimeout&&clearTimeout(this._touchstartTimeout);let o=500;this._touchstartTimeout=setTimeout(()=>{this._touchstartTimeout=null,this.show(void 0,i)},this._defaultOptions?.touchLongPressShowDelay??o)})):this._addListener("mouseenter",t=>{this._setupPointerExitEventsIfNeeded();let e;t.x!==void 0&&t.y!==void 0&&(e=t),this.show(void 0,e)}))}_setupPointerExitEventsIfNeeded(){if(!this._pointerExitEventsInitialized){if(this._pointerExitEventsInitialized=!0,!this._isTouchPlatform())this._addListener("mouseleave",t=>{let e=t.relatedTarget;(!e||!this._overlayRef?.overlayElement.contains(e))&&this.hide()}),this._addListener("wheel",t=>{if(this._isTooltipVisible()){let e=this._document.elementFromPoint(t.clientX,t.clientY),i=this._elementRef.nativeElement;e!==i&&!i.contains(e)&&this.hide()}});else if(this.touchGestures!=="off"){this._disableNativeGesturesIfNecessary();let t=()=>{this._touchstartTimeout&&clearTimeout(this._touchstartTimeout),this.hide(this._defaultOptions?.touchendHideDelay)};this._addListener("touchend",t),this._addListener("touchcancel",t)}}}_addListener(t,e){this._eventCleanups.push(this._renderer.listen(this._elementRef.nativeElement,t,e,et))}_isTouchPlatform(){let t=this._defaultOptions?.detectHoverCapability;return typeof t=="function"?!t():this._platform.IOS||this._platform.ANDROID?!0:this._platform.isBrowser?!!t&&this._mediaMatcher.matchMedia("(any-hover: none)").matches:!1}_disableNativeGesturesIfNecessary(){let t=this.touchGestures;if(t!=="off"){let e=this._elementRef.nativeElement,i=e.style;(t==="on"||e.nodeName!=="INPUT"&&e.nodeName!=="TEXTAREA")&&(i.userSelect=i.msUserSelect=i.webkitUserSelect=i.MozUserSelect="none"),(t==="on"||!e.draggable)&&(i.webkitUserDrag="none"),i.touchAction="none",i.webkitTapHighlightColor="transparent"}}_syncAriaDescription(t){this._ariaDescriptionPending||(this._ariaDescriptionPending=!0,this._ariaDescriber.removeDescription(this._elementRef.nativeElement,t,"tooltip"),this._isDestroyed||m({write:()=>{this._ariaDescriptionPending=!1,this.message&&!this.disabled&&this._ariaDescriber.describe(this._elementRef.nativeElement,this.message,"tooltip")}},{injector:this._injector}))}_overlayEventPredicate=t=>t.type==="keydown"?this._isTooltipVisible()&&t.keyCode===27&&!G(t):!0;static \u0275fac=function(e){return new(e||a)};static \u0275dir=E({type:a,selectors:[["","matTooltip",""]],hostAttrs:[1,"mat-mdc-tooltip-trigger"],hostVars:2,hostBindings:function(e,i){e&2&&u("mat-mdc-tooltip-disabled",i.disabled)},inputs:{position:[0,"matTooltipPosition","position"],positionAtOrigin:[0,"matTooltipPositionAtOrigin","positionAtOrigin"],disabled:[0,"matTooltipDisabled","disabled"],showDelay:[0,"matTooltipShowDelay","showDelay"],hideDelay:[0,"matTooltipHideDelay","hideDelay"],touchGestures:[0,"matTooltipTouchGestures","touchGestures"],message:[0,"matTooltip","message"],tooltipClass:[0,"matTooltipClass","tooltipClass"]},exportAs:["matTooltip"]})}return a})(),at=(()=>{class a{_changeDetectorRef=n(H);_elementRef=n(h);_isMultiline=!1;message;tooltipClass;_showTimeoutId;_hideTimeoutId;_triggerElement;_mouseLeaveHideDelay;_animationsDisabled=v();_tooltip;_closeOnInteraction=!1;_isVisible=!1;_onHide=new c;_showAnimation="mat-mdc-tooltip-show";_hideAnimation="mat-mdc-tooltip-hide";constructor(){}show(t){this._hideTimeoutId!=null&&clearTimeout(this._hideTimeoutId),this._showTimeoutId=setTimeout(()=>{this._toggleVisibility(!0),this._showTimeoutId=void 0},t)}hide(t){this._showTimeoutId!=null&&clearTimeout(this._showTimeoutId),this._hideTimeoutId=setTimeout(()=>{this._toggleVisibility(!1),this._hideTimeoutId=void 0},t)}afterHidden(){return this._onHide}isVisible(){return this._isVisible}ngOnDestroy(){this._cancelPendingAnimations(),this._onHide.complete(),this._triggerElement=null}_handleBodyInteraction(){this._closeOnInteraction&&this.hide(0)}_markForCheck(){this._changeDetectorRef.markForCheck()}_handleMouseLeave({relatedTarget:t}){(!t||!this._triggerElement.contains(t))&&(this.isVisible()?this.hide(this._mouseLeaveHideDelay):this._finalizeAnimation(!1))}_onShow(){this._isMultiline=this._isTooltipMultiline(),this._markForCheck()}_isTooltipMultiline(){let t=this._elementRef.nativeElement.getBoundingClientRect();return t.height>st&&t.width>=nt}_handleAnimationEnd({animationName:t}){(t===this._showAnimation||t===this._hideAnimation)&&this._finalizeAnimation(t===this._showAnimation)}_cancelPendingAnimations(){this._showTimeoutId!=null&&clearTimeout(this._showTimeoutId),this._hideTimeoutId!=null&&clearTimeout(this._hideTimeoutId),this._showTimeoutId=this._hideTimeoutId=void 0}_finalizeAnimation(t){t?this._closeOnInteraction=!0:this.isVisible()||this._onHide.next()}_toggleVisibility(t){let e=this._tooltip.nativeElement,i=this._showAnimation,o=this._hideAnimation;if(e.classList.remove(t?o:i),e.classList.add(t?i:o),this._isVisible!==t&&(this._isVisible=t,this._changeDetectorRef.markForCheck()),t&&!this._animationsDisabled&&typeof getComputedStyle=="function"){let s=getComputedStyle(e);(s.getPropertyValue("animation-duration")==="0s"||s.getPropertyValue("animation-name")==="none")&&(this._animationsDisabled=!0)}t&&this._onShow(),this._animationsDisabled&&(e.classList.add("_mat-animation-noopable"),this._finalizeAnimation(t))}static \u0275fac=function(e){return new(e||a)};static \u0275cmp=I({type:a,selectors:[["mat-tooltip-component"]],viewQuery:function(e,i){if(e&1&&M(q,7),e&2){let o;x(o=S())&&(i._tooltip=o.first)}},hostAttrs:["aria-hidden","true"],hostBindings:function(e,i){e&1&&A("mouseleave",function(s){return i._handleMouseLeave(s)})},decls:4,vars:5,consts:[["tooltip",""],[1,"mdc-tooltip","mat-mdc-tooltip",3,"animationend"],[1,"mat-mdc-tooltip-surface","mdc-tooltip__surface"]],template:function(e,i){e&1&&(f(0,"div",1,0),O("animationend",function(s){return i._handleAnimationEnd(s)}),f(2,"div",2),k(3),R()()),e&2&&(L(i.tooltipClass),u("mdc-tooltip--multiline",i._isMultiline),D(3),N(i.message))},styles:[`.mat-mdc-tooltip {
|
|
1
|
+
import{Cd as Z,I as r,Ic as z,N as _,Oa as f,P as n,Pa as R,Pc as G,Rc as j,U as p,Uc as F,V as T,Wa as A,Wb as H,Xa as O,Y as w,Yc as U,ab as M,bb as x,c,ca as h,cb as S,cd as B,fd as $,ib as u,ja as D,ka as m,kb as L,lb as k,lc as V,mb as N,na as P,qa as C,ra as I,rc as g,rd as y,ta as E,tc as Y,vd as v,zc as X}from"./chunk-P5GLUSCN.js";import{a as l}from"./chunk-EQVTEUXC.js";var q=["tooltip"],K=20;var J=new _("mat-tooltip-scroll-strategy",{providedIn:"root",factory:()=>{let a=n(p);return()=>j(a,{scrollThrottle:K})}}),tt=new _("mat-tooltip-default-options",{providedIn:"root",factory:()=>({showDelay:0,hideDelay:0,touchendHideDelay:1500})});var Q="tooltip-panel",et={passive:!0},it=8,ot=8,st=24,nt=200,It=(()=>{class a{_elementRef=n(h);_ngZone=n(w);_platform=n(V);_ariaDescriber=n(Z);_focusMonitor=n(B);_dir=n(Y);_injector=n(p);_viewContainerRef=n(C);_mediaMatcher=n($);_document=n(T);_renderer=n(P);_animationsDisabled=v();_defaultOptions=n(tt,{optional:!0});_overlayRef=null;_tooltipInstance=null;_overlayPanelClass;_portal;_position="below";_positionAtOrigin=!1;_disabled=!1;_tooltipClass;_viewInitialized=!1;_pointerExitEventsInitialized=!1;_tooltipComponent=at;_viewportMargin=8;_currentPosition;_cssClassPrefix="mat-mdc";_ariaDescriptionPending=!1;_dirSubscribed=!1;get position(){return this._position}set position(t){t!==this._position&&(this._position=t,this._overlayRef&&(this._updatePosition(this._overlayRef),this._tooltipInstance?.show(0),this._overlayRef.updatePosition()))}get positionAtOrigin(){return this._positionAtOrigin}set positionAtOrigin(t){this._positionAtOrigin=y(t),this._detach(),this._overlayRef=null}get disabled(){return this._disabled}set disabled(t){let e=y(t);this._disabled!==e&&(this._disabled=e,e?this.hide(0):this._setupPointerEnterEventsIfNeeded(),this._syncAriaDescription(this.message))}get showDelay(){return this._showDelay}set showDelay(t){this._showDelay=g(t)}_showDelay;get hideDelay(){return this._hideDelay}set hideDelay(t){this._hideDelay=g(t),this._tooltipInstance&&(this._tooltipInstance._mouseLeaveHideDelay=this._hideDelay)}_hideDelay;touchGestures="auto";get message(){return this._message}set message(t){let e=this._message;this._message=t!=null?String(t).trim():"",!this._message&&this._isTooltipVisible()?this.hide(0):(this._setupPointerEnterEventsIfNeeded(),this._updateTooltipMessage()),this._syncAriaDescription(e)}_message="";get tooltipClass(){return this._tooltipClass}set tooltipClass(t){this._tooltipClass=t,this._tooltipInstance&&this._setTooltipClass(this._tooltipClass)}_eventCleanups=[];_touchstartTimeout=null;_destroyed=new c;_isDestroyed=!1;constructor(){let t=this._defaultOptions;t&&(this._showDelay=t.showDelay,this._hideDelay=t.hideDelay,t.position&&(this.position=t.position),t.positionAtOrigin&&(this.positionAtOrigin=t.positionAtOrigin),t.touchGestures&&(this.touchGestures=t.touchGestures),t.tooltipClass&&(this.tooltipClass=t.tooltipClass)),this._viewportMargin=it}ngAfterViewInit(){this._viewInitialized=!0,this._setupPointerEnterEventsIfNeeded(),this._focusMonitor.monitor(this._elementRef).pipe(r(this._destroyed)).subscribe(t=>{t?t==="keyboard"&&this._ngZone.run(()=>this.show()):this._ngZone.run(()=>this.hide(0))})}ngOnDestroy(){let t=this._elementRef.nativeElement;this._touchstartTimeout&&clearTimeout(this._touchstartTimeout),this._overlayRef&&(this._overlayRef.dispose(),this._tooltipInstance=null),this._eventCleanups.forEach(e=>e()),this._eventCleanups.length=0,this._destroyed.next(),this._destroyed.complete(),this._isDestroyed=!0,this._ariaDescriber.removeDescription(t,this.message,"tooltip"),this._focusMonitor.stopMonitoring(t)}show(t=this.showDelay,e){if(this.disabled||!this.message||this._isTooltipVisible()){this._tooltipInstance?._cancelPendingAnimations();return}let i=this._createOverlay(e);this._detach(),this._portal=this._portal||new z(this._tooltipComponent,this._viewContainerRef);let o=this._tooltipInstance=i.attach(this._portal).instance;o._triggerElement=this._elementRef.nativeElement,o._mouseLeaveHideDelay=this._hideDelay,o.afterHidden().pipe(r(this._destroyed)).subscribe(()=>this._detach()),this._setTooltipClass(this._tooltipClass),this._updateTooltipMessage(),o.show(t)}hide(t=this.hideDelay){let e=this._tooltipInstance;e&&(e.isVisible()?e.hide(t):(e._cancelPendingAnimations(),this._detach()))}toggle(t){this._isTooltipVisible()?this.hide():this.show(void 0,t)}_isTooltipVisible(){return!!this._tooltipInstance&&this._tooltipInstance.isVisible()}_createOverlay(t){if(this._overlayRef){let s=this._overlayRef.getConfig().positionStrategy;if((!this.positionAtOrigin||!t)&&s._origin instanceof h)return this._overlayRef;this._detach()}let e=this._injector.get(X).getAncestorScrollContainers(this._elementRef),i=`${this._cssClassPrefix}-${Q}`,o=F(this._injector,this.positionAtOrigin?t||this._elementRef:this._elementRef).withTransformOriginOn(`.${this._cssClassPrefix}-tooltip`).withFlexibleDimensions(!1).withViewportMargin(this._viewportMargin).withScrollableContainers(e).withPopoverLocation("global");return o.positionChanges.pipe(r(this._destroyed)).subscribe(s=>{this._updateCurrentPositionClass(s.connectionPair),this._tooltipInstance&&s.scrollableViewProperties.isOverlayClipped&&this._tooltipInstance.isVisible()&&this._ngZone.run(()=>this.hide(0))}),this._overlayRef=U(this._injector,{direction:this._dir,positionStrategy:o,panelClass:this._overlayPanelClass?[...this._overlayPanelClass,i]:i,scrollStrategy:this._injector.get(J)(),disableAnimations:this._animationsDisabled,eventPredicate:this._overlayEventPredicate}),this._updatePosition(this._overlayRef),this._overlayRef.detachments().pipe(r(this._destroyed)).subscribe(()=>this._detach()),this._overlayRef.outsidePointerEvents().pipe(r(this._destroyed)).subscribe(()=>this._tooltipInstance?._handleBodyInteraction()),this._overlayRef.keydownEvents().pipe(r(this._destroyed)).subscribe(s=>{s.preventDefault(),s.stopPropagation(),this._ngZone.run(()=>this.hide(0))}),this._defaultOptions?.disableTooltipInteractivity&&this._overlayRef.addPanelClass(`${this._cssClassPrefix}-tooltip-panel-non-interactive`),this._dirSubscribed||(this._dirSubscribed=!0,this._dir.change.pipe(r(this._destroyed)).subscribe(()=>{this._overlayRef&&this._updatePosition(this._overlayRef)})),this._overlayRef}_detach(){this._overlayRef&&this._overlayRef.hasAttached()&&this._overlayRef.detach(),this._tooltipInstance=null}_updatePosition(t){let e=t.getConfig().positionStrategy,i=this._getOrigin(),o=this._getOverlayPosition();e.withPositions([this._addOffset(l(l({},i.main),o.main)),this._addOffset(l(l({},i.fallback),o.fallback))])}_addOffset(t){let e=ot,i=!this._dir||this._dir.value=="ltr";return t.originY==="top"?t.offsetY=-e:t.originY==="bottom"?t.offsetY=e:t.originX==="start"?t.offsetX=i?-e:e:t.originX==="end"&&(t.offsetX=i?e:-e),t}_getOrigin(){let t=!this._dir||this._dir.value=="ltr",e=this.position,i;e=="above"||e=="below"?i={originX:"center",originY:e=="above"?"top":"bottom"}:e=="before"||e=="left"&&t||e=="right"&&!t?i={originX:"start",originY:"center"}:(e=="after"||e=="right"&&t||e=="left"&&!t)&&(i={originX:"end",originY:"center"});let{x:o,y:s}=this._invertPosition(i.originX,i.originY);return{main:i,fallback:{originX:o,originY:s}}}_getOverlayPosition(){let t=!this._dir||this._dir.value=="ltr",e=this.position,i;e=="above"?i={overlayX:"center",overlayY:"bottom"}:e=="below"?i={overlayX:"center",overlayY:"top"}:e=="before"||e=="left"&&t||e=="right"&&!t?i={overlayX:"end",overlayY:"center"}:(e=="after"||e=="right"&&t||e=="left"&&!t)&&(i={overlayX:"start",overlayY:"center"});let{x:o,y:s}=this._invertPosition(i.overlayX,i.overlayY);return{main:i,fallback:{overlayX:o,overlayY:s}}}_updateTooltipMessage(){this._tooltipInstance&&(this._tooltipInstance.message=this.message,this._tooltipInstance._markForCheck(),m(()=>{this._tooltipInstance&&this._overlayRef.updatePosition()},{injector:this._injector}))}_setTooltipClass(t){this._tooltipInstance&&(this._tooltipInstance.tooltipClass=t instanceof Set?Array.from(t):t,this._tooltipInstance._markForCheck())}_invertPosition(t,e){return this.position==="above"||this.position==="below"?e==="top"?e="bottom":e==="bottom"&&(e="top"):t==="end"?t="start":t==="start"&&(t="end"),{x:t,y:e}}_updateCurrentPositionClass(t){let{overlayY:e,originX:i,originY:o}=t,s;if(e==="center"?this._dir&&this._dir.value==="rtl"?s=i==="end"?"left":"right":s=i==="start"?"left":"right":s=e==="bottom"&&o==="top"?"above":"below",s!==this._currentPosition){let d=this._overlayRef;if(d){let b=`${this._cssClassPrefix}-${Q}-`;d.removePanelClass(b+this._currentPosition),d.addPanelClass(b+s)}this._currentPosition=s}}_setupPointerEnterEventsIfNeeded(){this._disabled||!this.message||!this._viewInitialized||this._eventCleanups.length||(this._isTouchPlatform()?this.touchGestures!=="off"&&(this._disableNativeGesturesIfNecessary(),this._addListener("touchstart",t=>{let e=t.targetTouches?.[0],i=e?{x:e.clientX,y:e.clientY}:void 0;this._setupPointerExitEventsIfNeeded(),this._touchstartTimeout&&clearTimeout(this._touchstartTimeout);let o=500;this._touchstartTimeout=setTimeout(()=>{this._touchstartTimeout=null,this.show(void 0,i)},this._defaultOptions?.touchLongPressShowDelay??o)})):this._addListener("mouseenter",t=>{this._setupPointerExitEventsIfNeeded();let e;t.x!==void 0&&t.y!==void 0&&(e=t),this.show(void 0,e)}))}_setupPointerExitEventsIfNeeded(){if(!this._pointerExitEventsInitialized){if(this._pointerExitEventsInitialized=!0,!this._isTouchPlatform())this._addListener("mouseleave",t=>{let e=t.relatedTarget;(!e||!this._overlayRef?.overlayElement.contains(e))&&this.hide()}),this._addListener("wheel",t=>{if(this._isTooltipVisible()){let e=this._document.elementFromPoint(t.clientX,t.clientY),i=this._elementRef.nativeElement;e!==i&&!i.contains(e)&&this.hide()}});else if(this.touchGestures!=="off"){this._disableNativeGesturesIfNecessary();let t=()=>{this._touchstartTimeout&&clearTimeout(this._touchstartTimeout),this.hide(this._defaultOptions?.touchendHideDelay)};this._addListener("touchend",t),this._addListener("touchcancel",t)}}}_addListener(t,e){this._eventCleanups.push(this._renderer.listen(this._elementRef.nativeElement,t,e,et))}_isTouchPlatform(){let t=this._defaultOptions?.detectHoverCapability;return typeof t=="function"?!t():this._platform.IOS||this._platform.ANDROID?!0:this._platform.isBrowser?!!t&&this._mediaMatcher.matchMedia("(any-hover: none)").matches:!1}_disableNativeGesturesIfNecessary(){let t=this.touchGestures;if(t!=="off"){let e=this._elementRef.nativeElement,i=e.style;(t==="on"||e.nodeName!=="INPUT"&&e.nodeName!=="TEXTAREA")&&(i.userSelect=i.msUserSelect=i.webkitUserSelect=i.MozUserSelect="none"),(t==="on"||!e.draggable)&&(i.webkitUserDrag="none"),i.touchAction="none",i.webkitTapHighlightColor="transparent"}}_syncAriaDescription(t){this._ariaDescriptionPending||(this._ariaDescriptionPending=!0,this._ariaDescriber.removeDescription(this._elementRef.nativeElement,t,"tooltip"),this._isDestroyed||m({write:()=>{this._ariaDescriptionPending=!1,this.message&&!this.disabled&&this._ariaDescriber.describe(this._elementRef.nativeElement,this.message,"tooltip")}},{injector:this._injector}))}_overlayEventPredicate=t=>t.type==="keydown"?this._isTooltipVisible()&&t.keyCode===27&&!G(t):!0;static \u0275fac=function(e){return new(e||a)};static \u0275dir=E({type:a,selectors:[["","matTooltip",""]],hostAttrs:[1,"mat-mdc-tooltip-trigger"],hostVars:2,hostBindings:function(e,i){e&2&&u("mat-mdc-tooltip-disabled",i.disabled)},inputs:{position:[0,"matTooltipPosition","position"],positionAtOrigin:[0,"matTooltipPositionAtOrigin","positionAtOrigin"],disabled:[0,"matTooltipDisabled","disabled"],showDelay:[0,"matTooltipShowDelay","showDelay"],hideDelay:[0,"matTooltipHideDelay","hideDelay"],touchGestures:[0,"matTooltipTouchGestures","touchGestures"],message:[0,"matTooltip","message"],tooltipClass:[0,"matTooltipClass","tooltipClass"]},exportAs:["matTooltip"]})}return a})(),at=(()=>{class a{_changeDetectorRef=n(H);_elementRef=n(h);_isMultiline=!1;message;tooltipClass;_showTimeoutId;_hideTimeoutId;_triggerElement;_mouseLeaveHideDelay;_animationsDisabled=v();_tooltip;_closeOnInteraction=!1;_isVisible=!1;_onHide=new c;_showAnimation="mat-mdc-tooltip-show";_hideAnimation="mat-mdc-tooltip-hide";constructor(){}show(t){this._hideTimeoutId!=null&&clearTimeout(this._hideTimeoutId),this._showTimeoutId=setTimeout(()=>{this._toggleVisibility(!0),this._showTimeoutId=void 0},t)}hide(t){this._showTimeoutId!=null&&clearTimeout(this._showTimeoutId),this._hideTimeoutId=setTimeout(()=>{this._toggleVisibility(!1),this._hideTimeoutId=void 0},t)}afterHidden(){return this._onHide}isVisible(){return this._isVisible}ngOnDestroy(){this._cancelPendingAnimations(),this._onHide.complete(),this._triggerElement=null}_handleBodyInteraction(){this._closeOnInteraction&&this.hide(0)}_markForCheck(){this._changeDetectorRef.markForCheck()}_handleMouseLeave({relatedTarget:t}){(!t||!this._triggerElement.contains(t))&&(this.isVisible()?this.hide(this._mouseLeaveHideDelay):this._finalizeAnimation(!1))}_onShow(){this._isMultiline=this._isTooltipMultiline(),this._markForCheck()}_isTooltipMultiline(){let t=this._elementRef.nativeElement.getBoundingClientRect();return t.height>st&&t.width>=nt}_handleAnimationEnd({animationName:t}){(t===this._showAnimation||t===this._hideAnimation)&&this._finalizeAnimation(t===this._showAnimation)}_cancelPendingAnimations(){this._showTimeoutId!=null&&clearTimeout(this._showTimeoutId),this._hideTimeoutId!=null&&clearTimeout(this._hideTimeoutId),this._showTimeoutId=this._hideTimeoutId=void 0}_finalizeAnimation(t){t?this._closeOnInteraction=!0:this.isVisible()||this._onHide.next()}_toggleVisibility(t){let e=this._tooltip.nativeElement,i=this._showAnimation,o=this._hideAnimation;if(e.classList.remove(t?o:i),e.classList.add(t?i:o),this._isVisible!==t&&(this._isVisible=t,this._changeDetectorRef.markForCheck()),t&&!this._animationsDisabled&&typeof getComputedStyle=="function"){let s=getComputedStyle(e);(s.getPropertyValue("animation-duration")==="0s"||s.getPropertyValue("animation-name")==="none")&&(this._animationsDisabled=!0)}t&&this._onShow(),this._animationsDisabled&&(e.classList.add("_mat-animation-noopable"),this._finalizeAnimation(t))}static \u0275fac=function(e){return new(e||a)};static \u0275cmp=I({type:a,selectors:[["mat-tooltip-component"]],viewQuery:function(e,i){if(e&1&&M(q,7),e&2){let o;x(o=S())&&(i._tooltip=o.first)}},hostAttrs:["aria-hidden","true"],hostBindings:function(e,i){e&1&&A("mouseleave",function(s){return i._handleMouseLeave(s)})},decls:4,vars:5,consts:[["tooltip",""],[1,"mdc-tooltip","mat-mdc-tooltip",3,"animationend"],[1,"mat-mdc-tooltip-surface","mdc-tooltip__surface"]],template:function(e,i){e&1&&(f(0,"div",1,0),O("animationend",function(s){return i._handleAnimationEnd(s)}),f(2,"div",2),k(3),R()()),e&2&&(L(i.tooltipClass),u("mdc-tooltip--multiline",i._isMultiline),D(3),N(i.message))},styles:[`.mat-mdc-tooltip {
|
|
2
2
|
position: relative;
|
|
3
3
|
transform: scale(0);
|
|
4
4
|
display: inline-flex;
|
|
@@ -0,0 +1,181 @@
|
|
|
1
|
+
import{a as It,b as Nt,c as Bt,d as Vt}from"./chunk-MQJQLOEZ.js";import{a as Dt,b as Ft,c as Tt,d as Ot,e as Et,g as Pt}from"./chunk-SYVLSUHP.js";import{a as vt}from"./chunk-3QUJEXF6.js";import{c as pt}from"./chunk-HYKTIWCS.js";import{e as xt,f as bt,i as kt,j as Rt,n as St,o as Mt}from"./chunk-2BXQ52IR.js";import{$ as ue,$a as be,$d as gt,Bc as rt,Cb as Ye,Cc as at,Da as W,Dd as dt,Ea as y,Eb as Xe,Fa as C,Ga as Ke,Gc as st,I as Q,Ia as De,Ja as xe,Jb as ae,Jd as ut,Ka as P,La as s,M as de,Ma as l,Mb as Ge,N as ve,Na as ee,P as d,Q as g,R as w,Ra as K,Rd as mt,Sa as Y,Ta as S,U as $e,Ua as T,V as qe,Wa as k,Wb as Ze,Wd as ft,X as Qe,Xb as te,Ya as u,Yb as A,Yd as ht,Z as j,Za as fe,Zd as _t,_ as We,_a as $,aa as E,bb as L,bc as Je,c as Z,ca as B,cb as U,d as He,ee as wt,f as ze,g as Le,ga as ie,hb as re,he as yt,i as Ce,ib as q,j as Ue,ja as c,ka as oe,la as H,lb as f,lc as et,ld as lt,m as ce,mb as R,nb as X,nd as ct,pe as Ct,qa as J,ra as V,sa as me,ta as p,tc as tt,u as je,uc as he,va as b,vc as nt,wa as z,wb as I,wc as it,xc as ot}from"./chunk-P5GLUSCN.js";import{f as Ae}from"./chunk-EQVTEUXC.js";var rn=[[["caption"]],[["colgroup"],["col"]],"*"],an=["caption","colgroup, col","*"];function sn(n,o){n&1&&$(0,2)}function ln(n,o){n&1&&(s(0,"thead",0),S(1,1),l(),s(2,"tbody",0),S(3,2)(4,3),l(),s(5,"tfoot",0),S(6,4),l())}function cn(n,o){n&1&&S(0,1)(1,2)(2,3)(3,4)}var N=new ve("CDK_TABLE");var ge=(()=>{class n{template=d(H);constructor(){}static \u0275fac=function(t){return new(t||n)};static \u0275dir=p({type:n,selectors:[["","cdkCellDef",""]]})}return n})(),we=(()=>{class n{template=d(H);constructor(){}static \u0275fac=function(t){return new(t||n)};static \u0275dir=p({type:n,selectors:[["","cdkHeaderCellDef",""]]})}return n})(),Lt=(()=>{class n{template=d(H);constructor(){}static \u0275fac=function(t){return new(t||n)};static \u0275dir=p({type:n,selectors:[["","cdkFooterCellDef",""]]})}return n})(),ne=(()=>{class n{_table=d(N,{optional:!0});_hasStickyChanged=!1;get name(){return this._name}set name(e){this._setNameInput(e)}_name;get sticky(){return this._sticky}set sticky(e){e!==this._sticky&&(this._sticky=e,this._hasStickyChanged=!0)}_sticky=!1;get stickyEnd(){return this._stickyEnd}set stickyEnd(e){e!==this._stickyEnd&&(this._stickyEnd=e,this._hasStickyChanged=!0)}_stickyEnd=!1;cell;headerCell;footerCell;cssClassFriendlyName;_columnCssClassName;constructor(){}hasStickyChanged(){let e=this._hasStickyChanged;return this.resetStickyChanged(),e}resetStickyChanged(){this._hasStickyChanged=!1}_updateColumnCssClassName(){this._columnCssClassName=[`cdk-column-${this.cssClassFriendlyName}`]}_setNameInput(e){e&&(this._name=e,this.cssClassFriendlyName=e.replace(/[^a-z0-9_-]/gi,"-"),this._updateColumnCssClassName())}static \u0275fac=function(t){return new(t||n)};static \u0275dir=p({type:n,selectors:[["","cdkColumnDef",""]],contentQueries:function(t,i,r){if(t&1&&be(r,ge,5)(r,we,5)(r,Lt,5),t&2){let a;L(a=U())&&(i.cell=a.first),L(a=U())&&(i.headerCell=a.first),L(a=U())&&(i.footerCell=a.first)}},inputs:{name:[0,"cdkColumnDef","name"],sticky:[2,"sticky","sticky",A],stickyEnd:[2,"stickyEnd","stickyEnd",A]}})}return n})(),pe=class{constructor(o,e){e.nativeElement.classList.add(...o._columnCssClassName)}},Ut=(()=>{class n extends pe{constructor(){super(d(ne),d(B))}static \u0275fac=function(t){return new(t||n)};static \u0275dir=p({type:n,selectors:[["cdk-header-cell"],["th","cdk-header-cell",""]],hostAttrs:["role","columnheader",1,"cdk-header-cell"],features:[b]})}return n})();var jt=(()=>{class n extends pe{constructor(){let e=d(ne),t=d(B);super(e,t);let i=e._table?._getCellRole();i&&t.nativeElement.setAttribute("role",i)}static \u0275fac=function(t){return new(t||n)};static \u0275dir=p({type:n,selectors:[["cdk-cell"],["td","cdk-cell",""]],hostAttrs:[1,"cdk-cell"],features:[b]})}return n})();var Re=(()=>{class n{template=d(H);_differs=d(te);columns;_columnsDiffer;constructor(){}ngOnChanges(e){if(!this._columnsDiffer){let t=e.columns&&e.columns.currentValue||[];this._columnsDiffer=this._differs.find(t).create(),this._columnsDiffer.diff(t)}}getColumnsDiff(){return this._columnsDiffer.diff(this.columns)}extractCellTemplate(e){return this instanceof le?e.headerCell.template:this instanceof Se?e.footerCell.template:e.cell.template}static \u0275fac=function(t){return new(t||n)};static \u0275dir=p({type:n,features:[ue]})}return n})(),le=(()=>{class n extends Re{_table=d(N,{optional:!0});_hasStickyChanged=!1;get sticky(){return this._sticky}set sticky(e){e!==this._sticky&&(this._sticky=e,this._hasStickyChanged=!0)}_sticky=!1;constructor(){super(d(H),d(te))}ngOnChanges(e){super.ngOnChanges(e)}hasStickyChanged(){let e=this._hasStickyChanged;return this.resetStickyChanged(),e}resetStickyChanged(){this._hasStickyChanged=!1}static \u0275fac=function(t){return new(t||n)};static \u0275dir=p({type:n,selectors:[["","cdkHeaderRowDef",""]],inputs:{columns:[0,"cdkHeaderRowDef","columns"],sticky:[2,"cdkHeaderRowDefSticky","sticky",A]},features:[b,ue]})}return n})(),Se=(()=>{class n extends Re{_table=d(N,{optional:!0});_hasStickyChanged=!1;get sticky(){return this._sticky}set sticky(e){e!==this._sticky&&(this._sticky=e,this._hasStickyChanged=!0)}_sticky=!1;constructor(){super(d(H),d(te))}ngOnChanges(e){super.ngOnChanges(e)}hasStickyChanged(){let e=this._hasStickyChanged;return this.resetStickyChanged(),e}resetStickyChanged(){this._hasStickyChanged=!1}static \u0275fac=function(t){return new(t||n)};static \u0275dir=p({type:n,selectors:[["","cdkFooterRowDef",""]],inputs:{columns:[0,"cdkFooterRowDef","columns"],sticky:[2,"cdkFooterRowDefSticky","sticky",A]},features:[b,ue]})}return n})(),ye=(()=>{class n extends Re{_table=d(N,{optional:!0});when;constructor(){super(d(H),d(te))}static \u0275fac=function(t){return new(t||n)};static \u0275dir=p({type:n,selectors:[["","cdkRowDef",""]],inputs:{columns:[0,"cdkRowDefColumns","columns"],when:[0,"cdkRowDefWhen","when"]},features:[b]})}return n})(),G=(()=>{class n{_viewContainer=d(J);cells;context;static mostRecentCellOutlet=null;constructor(){n.mostRecentCellOutlet=this}ngOnDestroy(){n.mostRecentCellOutlet===this&&(n.mostRecentCellOutlet=null)}static \u0275fac=function(t){return new(t||n)};static \u0275dir=p({type:n,selectors:[["","cdkCellOutlet",""]]})}return n})(),Me=(()=>{class n{static \u0275fac=function(t){return new(t||n)};static \u0275cmp=V({type:n,selectors:[["cdk-header-row"],["tr","cdk-header-row",""]],hostAttrs:["role","row",1,"cdk-header-row"],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(t,i){t&1&&S(0,0)},dependencies:[G],encapsulation:2})}return n})();var Fe=(()=>{class n{static \u0275fac=function(t){return new(t||n)};static \u0275cmp=V({type:n,selectors:[["cdk-row"],["tr","cdk-row",""]],hostAttrs:["role","row",1,"cdk-row"],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(t,i){t&1&&S(0,0)},dependencies:[G],encapsulation:2})}return n})(),$t=(()=>{class n{templateRef=d(H);_contentClassNames=["cdk-no-data-row","cdk-row"];_cellClassNames=["cdk-cell","cdk-no-data-cell"];_cellSelector="td, cdk-cell, [cdk-cell], .cdk-cell";constructor(){}static \u0275fac=function(t){return new(t||n)};static \u0275dir=p({type:n,selectors:[["ng-template","cdkNoDataRow",""]]})}return n})(),At=["top","bottom","left","right"],ke=class{_isNativeHtmlTable;_stickCellCss;_isBrowser;_needsPositionStickyOnElement;direction;_positionListener;_tableInjector;_elemSizeCache=new WeakMap;_resizeObserver=globalThis?.ResizeObserver?new globalThis.ResizeObserver(o=>this._updateCachedSizes(o)):null;_updatedStickyColumnsParamsToReplay=[];_stickyColumnsReplayTimeout=null;_cachedCellWidths=[];_borderCellCss;_destroyed=!1;constructor(o,e,t=!0,i=!0,r,a,m){this._isNativeHtmlTable=o,this._stickCellCss=e,this._isBrowser=t,this._needsPositionStickyOnElement=i,this.direction=r,this._positionListener=a,this._tableInjector=m,this._borderCellCss={top:`${e}-border-elem-top`,bottom:`${e}-border-elem-bottom`,left:`${e}-border-elem-left`,right:`${e}-border-elem-right`}}clearStickyPositioning(o,e){(e.includes("left")||e.includes("right"))&&this._removeFromStickyColumnReplayQueue(o);let t=[];for(let i of o)i.nodeType===i.ELEMENT_NODE&&t.push(i,...Array.from(i.children));oe({write:()=>{for(let i of t)this._removeStickyStyle(i,e)}},{injector:this._tableInjector})}updateStickyColumns(o,e,t,i=!0,r=!0){if(!o.length||!this._isBrowser||!(e.some(O=>O)||t.some(O=>O))){this._positionListener?.stickyColumnsUpdated({sizes:[]}),this._positionListener?.stickyEndColumnsUpdated({sizes:[]});return}let a=o[0],m=a.children.length,h=this.direction==="rtl",_=h?"right":"left",v=h?"left":"right",F=e.lastIndexOf(!0),D=t.indexOf(!0),x,Ne,Be;r&&this._updateStickyColumnReplayQueue({rows:[...o],stickyStartStates:[...e],stickyEndStates:[...t]}),oe({earlyRead:()=>{x=this._getCellWidths(a,i),Ne=this._getStickyStartColumnPositions(x,e),Be=this._getStickyEndColumnPositions(x,t)},write:()=>{for(let O of o)for(let M=0;M<m;M++){let Ve=O.children[M];e[M]&&this._addStickyStyle(Ve,_,Ne[M],M===F),t[M]&&this._addStickyStyle(Ve,v,Be[M],M===D)}this._positionListener&&x.some(O=>!!O)&&(this._positionListener.stickyColumnsUpdated({sizes:F===-1?[]:x.slice(0,F+1).map((O,M)=>e[M]?O:null)}),this._positionListener.stickyEndColumnsUpdated({sizes:D===-1?[]:x.slice(D).map((O,M)=>t[M+D]?O:null).reverse()}))}},{injector:this._tableInjector})}stickRows(o,e,t){if(!this._isBrowser)return;let i=t==="bottom"?o.slice().reverse():o,r=t==="bottom"?e.slice().reverse():e,a=[],m=[],h=[];oe({earlyRead:()=>{for(let _=0,v=0;_<i.length;_++){if(!r[_])continue;a[_]=v;let F=i[_];h[_]=this._isNativeHtmlTable?Array.from(F.children):[F];let D=this._retrieveElementSize(F).height;v+=D,m[_]=D}},write:()=>{let _=r.lastIndexOf(!0);for(let v=0;v<i.length;v++){if(!r[v])continue;let F=a[v],D=v===_;for(let x of h[v])this._addStickyStyle(x,t,F,D)}t==="top"?this._positionListener?.stickyHeaderRowsUpdated({sizes:m,offsets:a,elements:h}):this._positionListener?.stickyFooterRowsUpdated({sizes:m,offsets:a,elements:h})}},{injector:this._tableInjector})}updateStickyFooterContainer(o,e){this._isNativeHtmlTable&&oe({write:()=>{let t=o.querySelector("tfoot");t&&(e.some(i=>!i)?this._removeStickyStyle(t,["bottom"]):this._addStickyStyle(t,"bottom",0,!1))}},{injector:this._tableInjector})}destroy(){this._stickyColumnsReplayTimeout&&clearTimeout(this._stickyColumnsReplayTimeout),this._resizeObserver?.disconnect(),this._destroyed=!0}_removeStickyStyle(o,e){if(!o.classList.contains(this._stickCellCss))return;for(let i of e)o.style[i]="",o.classList.remove(this._borderCellCss[i]);At.some(i=>e.indexOf(i)===-1&&o.style[i])?o.style.zIndex=this._getCalculatedZIndex(o):(o.style.zIndex="",this._needsPositionStickyOnElement&&(o.style.position=""),o.classList.remove(this._stickCellCss))}_addStickyStyle(o,e,t,i){o.classList.add(this._stickCellCss),i&&o.classList.add(this._borderCellCss[e]),o.style[e]=`${t}px`,o.style.zIndex=this._getCalculatedZIndex(o),this._needsPositionStickyOnElement&&(o.style.cssText+="position: -webkit-sticky; position: sticky; ")}_getCalculatedZIndex(o){let e={top:100,bottom:10,left:1,right:1},t=0;for(let i of At)o.style[i]&&(t+=e[i]);return t?`${t}`:""}_getCellWidths(o,e=!0){if(!e&&this._cachedCellWidths.length)return this._cachedCellWidths;let t=[],i=o.children;for(let r=0;r<i.length;r++){let a=i[r];t.push(this._retrieveElementSize(a).width)}return this._cachedCellWidths=t,t}_getStickyStartColumnPositions(o,e){let t=[],i=0;for(let r=0;r<o.length;r++)e[r]&&(t[r]=i,i+=o[r]);return t}_getStickyEndColumnPositions(o,e){let t=[],i=0;for(let r=o.length;r>0;r--)e[r]&&(t[r]=i,i+=o[r]);return t}_retrieveElementSize(o){let e=this._elemSizeCache.get(o);if(e)return e;let t=o.getBoundingClientRect(),i={width:t.width,height:t.height};return this._resizeObserver&&(this._elemSizeCache.set(o,i),this._resizeObserver.observe(o,{box:"border-box"})),i}_updateStickyColumnReplayQueue(o){this._removeFromStickyColumnReplayQueue(o.rows),this._stickyColumnsReplayTimeout||this._updatedStickyColumnsParamsToReplay.push(o)}_removeFromStickyColumnReplayQueue(o){let e=new Set(o);for(let t of this._updatedStickyColumnsParamsToReplay)t.rows=t.rows.filter(i=>!e.has(i));this._updatedStickyColumnsParamsToReplay=this._updatedStickyColumnsParamsToReplay.filter(t=>!!t.rows.length)}_updateCachedSizes(o){let e=!1;for(let t of o){let i=t.borderBoxSize?.length?{width:t.borderBoxSize[0].inlineSize,height:t.borderBoxSize[0].blockSize}:{width:t.contentRect.width,height:t.contentRect.height};i.width!==this._elemSizeCache.get(t.target)?.width&&dn(t.target)&&(e=!0),this._elemSizeCache.set(t.target,i)}e&&this._updatedStickyColumnsParamsToReplay.length&&(this._stickyColumnsReplayTimeout&&clearTimeout(this._stickyColumnsReplayTimeout),this._stickyColumnsReplayTimeout=setTimeout(()=>{if(!this._destroyed){for(let t of this._updatedStickyColumnsParamsToReplay)this.updateStickyColumns(t.rows,t.stickyStartStates,t.stickyEndStates,!0,!1);this._updatedStickyColumnsParamsToReplay=[],this._stickyColumnsReplayTimeout=null}},0))}};function dn(n){return["cdk-cell","cdk-header-cell","cdk-footer-cell"].some(o=>n.classList.contains(o))}var se=new ve("STICKY_POSITIONING_LISTENER");var Te=(()=>{class n{viewContainer=d(J);elementRef=d(B);constructor(){let e=d(N);e._rowOutlet=this,e._outletAssigned()}static \u0275fac=function(t){return new(t||n)};static \u0275dir=p({type:n,selectors:[["","rowOutlet",""]]})}return n})(),Oe=(()=>{class n{viewContainer=d(J);elementRef=d(B);constructor(){let e=d(N);e._headerRowOutlet=this,e._outletAssigned()}static \u0275fac=function(t){return new(t||n)};static \u0275dir=p({type:n,selectors:[["","headerRowOutlet",""]]})}return n})(),Ee=(()=>{class n{viewContainer=d(J);elementRef=d(B);constructor(){let e=d(N);e._footerRowOutlet=this,e._outletAssigned()}static \u0275fac=function(t){return new(t||n)};static \u0275dir=p({type:n,selectors:[["","footerRowOutlet",""]]})}return n})(),Pe=(()=>{class n{viewContainer=d(J);elementRef=d(B);constructor(){let e=d(N);e._noDataRowOutlet=this,e._outletAssigned()}static \u0275fac=function(t){return new(t||n)};static \u0275dir=p({type:n,selectors:[["","noDataRowOutlet",""]]})}return n})(),Ie=(()=>{class n{_differs=d(te);_changeDetectorRef=d(Ze);_elementRef=d(B);_dir=d(tt,{optional:!0});_platform=d(et);_viewRepeater;_viewportRuler=d(rt);_injector=d($e);_virtualScrollViewport=d(at,{optional:!0,host:!0});_positionListener=d(se,{optional:!0})||d(se,{optional:!0,skipSelf:!0});_document=d(qe);_data;_renderedRange;_onDestroy=new Z;_renderRows;_renderChangeSubscription=null;_columnDefsByName=new Map;_rowDefs;_headerRowDefs;_footerRowDefs;_dataDiffer;_defaultRowDef=null;_customColumnDefs=new Set;_customRowDefs=new Set;_customHeaderRowDefs=new Set;_customFooterRowDefs=new Set;_customNoDataRow=null;_headerRowDefChanged=!0;_footerRowDefChanged=!0;_stickyColumnStylesNeedReset=!0;_forceRecalculateCellWidths=!0;_cachedRenderRowsMap=new Map;_isNativeHtmlTable;_stickyStyler;stickyCssClass="cdk-table-sticky";needsPositionStickyOnElement=!0;_isServer;_isShowingNoDataRow=!1;_hasAllOutlets=!1;_hasInitialized=!1;_headerRowStickyUpdates=new Z;_footerRowStickyUpdates=new Z;_disableVirtualScrolling=!1;_getCellRole(){if(this._cellRoleInternal===void 0){let e=this._elementRef.nativeElement.getAttribute("role");return e==="grid"||e==="treegrid"?"gridcell":"cell"}return this._cellRoleInternal}_cellRoleInternal=void 0;get trackBy(){return this._trackByFn}set trackBy(e){this._trackByFn=e}_trackByFn;get dataSource(){return this._dataSource}set dataSource(e){this._dataSource!==e&&(this._switchDataSource(e),this._changeDetectorRef.markForCheck())}_dataSource;_dataSourceChanges=new Z;_dataStream=new Z;get multiTemplateDataRows(){return this._multiTemplateDataRows}set multiTemplateDataRows(e){this._multiTemplateDataRows=e,this._rowOutlet&&this._rowOutlet.viewContainer.length&&(this._forceRenderDataRows(),this.updateStickyColumnStyles())}_multiTemplateDataRows=!1;get fixedLayout(){return this._virtualScrollEnabled()?!0:this._fixedLayout}set fixedLayout(e){this._fixedLayout=e,this._forceRecalculateCellWidths=!0,this._stickyColumnStylesNeedReset=!0}_fixedLayout=!1;recycleRows=!1;contentChanged=new Qe;viewChange=new He({start:0,end:Number.MAX_VALUE});_rowOutlet;_headerRowOutlet;_footerRowOutlet;_noDataRowOutlet;_contentColumnDefs;_contentRowDefs;_contentHeaderRowDefs;_contentFooterRowDefs;_noDataRow;constructor(){d(new Ge("role"),{optional:!0})||this._elementRef.nativeElement.setAttribute("role","table"),this._isServer=!this._platform.isBrowser,this._isNativeHtmlTable=this._elementRef.nativeElement.nodeName==="TABLE",this._dataDiffer=this._differs.find([]).create((t,i)=>this.trackBy?this.trackBy(i.dataIndex,i.data):i)}ngOnInit(){this._setupStickyStyler(),this._viewportRuler.change().pipe(Q(this._onDestroy)).subscribe(()=>{this._forceRecalculateCellWidths=!0})}ngAfterContentInit(){this._viewRepeater=this.recycleRows||this._virtualScrollEnabled()?new it:new pt,this._virtualScrollEnabled()&&this._setupVirtualScrolling(this._virtualScrollViewport),this._hasInitialized=!0}ngAfterContentChecked(){this._canRender()&&this._render()}ngOnDestroy(){this._stickyStyler?.destroy(),[this._rowOutlet?.viewContainer,this._headerRowOutlet?.viewContainer,this._footerRowOutlet?.viewContainer,this._cachedRenderRowsMap,this._customColumnDefs,this._customRowDefs,this._customHeaderRowDefs,this._customFooterRowDefs,this._columnDefsByName].forEach(e=>{e?.clear()}),this._headerRowDefs=[],this._footerRowDefs=[],this._defaultRowDef=null,this._headerRowStickyUpdates.complete(),this._footerRowStickyUpdates.complete(),this._onDestroy.next(),this._onDestroy.complete(),he(this.dataSource)&&this.dataSource.disconnect(this)}renderRows(){this._renderRows=this._getAllRenderRows();let e=this._dataDiffer.diff(this._renderRows);if(!e){this._updateNoDataRow(),this.contentChanged.next();return}let t=this._rowOutlet.viewContainer;this._viewRepeater.applyChanges(e,t,(i,r,a)=>this._getEmbeddedViewArgs(i.item,a),i=>i.item.data,i=>{i.operation===nt.INSERTED&&i.context&&this._renderCellTemplateForItem(i.record.item.rowDef,i.context)}),this._updateRowIndexContext(),e.forEachIdentityChange(i=>{let r=t.get(i.currentIndex);r.context.$implicit=i.item.data}),this._updateNoDataRow(),this.contentChanged.next(),this.updateStickyColumnStyles()}addColumnDef(e){this._customColumnDefs.add(e)}removeColumnDef(e){this._customColumnDefs.delete(e)}addRowDef(e){this._customRowDefs.add(e)}removeRowDef(e){this._customRowDefs.delete(e)}addHeaderRowDef(e){this._customHeaderRowDefs.add(e),this._headerRowDefChanged=!0}removeHeaderRowDef(e){this._customHeaderRowDefs.delete(e),this._headerRowDefChanged=!0}addFooterRowDef(e){this._customFooterRowDefs.add(e),this._footerRowDefChanged=!0}removeFooterRowDef(e){this._customFooterRowDefs.delete(e),this._footerRowDefChanged=!0}setNoDataRow(e){this._customNoDataRow=e}updateStickyHeaderRowStyles(){let e=this._getRenderedRows(this._headerRowOutlet);if(this._isNativeHtmlTable){let i=Ht(this._headerRowOutlet,"thead");i&&(i.style.display=e.length?"":"none")}let t=this._headerRowDefs.map(i=>i.sticky);this._stickyStyler.clearStickyPositioning(e,["top"]),this._stickyStyler.stickRows(e,t,"top"),this._headerRowDefs.forEach(i=>i.resetStickyChanged())}updateStickyFooterRowStyles(){let e=this._getRenderedRows(this._footerRowOutlet);if(this._isNativeHtmlTable){let i=Ht(this._footerRowOutlet,"tfoot");i&&(i.style.display=e.length?"":"none")}let t=this._footerRowDefs.map(i=>i.sticky);this._stickyStyler.clearStickyPositioning(e,["bottom"]),this._stickyStyler.stickRows(e,t,"bottom"),this._stickyStyler.updateStickyFooterContainer(this._elementRef.nativeElement,t),this._footerRowDefs.forEach(i=>i.resetStickyChanged())}updateStickyColumnStyles(){let e=this._getRenderedRows(this._headerRowOutlet),t=this._getRenderedRows(this._rowOutlet),i=this._getRenderedRows(this._footerRowOutlet);(this._isNativeHtmlTable&&!this.fixedLayout||this._stickyColumnStylesNeedReset)&&(this._stickyStyler.clearStickyPositioning([...e,...t,...i],["left","right"]),this._stickyColumnStylesNeedReset=!1),e.forEach((r,a)=>{this._addStickyColumnStyles([r],this._headerRowDefs[a])}),this._rowDefs.forEach(r=>{let a=[];for(let m=0;m<t.length;m++)this._renderRows[m].rowDef===r&&a.push(t[m]);this._addStickyColumnStyles(a,r)}),i.forEach((r,a)=>{this._addStickyColumnStyles([r],this._footerRowDefs[a])}),Array.from(this._columnDefsByName.values()).forEach(r=>r.resetStickyChanged())}stickyColumnsUpdated(e){this._positionListener?.stickyColumnsUpdated(e)}stickyEndColumnsUpdated(e){this._positionListener?.stickyEndColumnsUpdated(e)}stickyHeaderRowsUpdated(e){this._headerRowStickyUpdates.next(e),this._positionListener?.stickyHeaderRowsUpdated(e)}stickyFooterRowsUpdated(e){this._footerRowStickyUpdates.next(e),this._positionListener?.stickyFooterRowsUpdated(e)}_outletAssigned(){!this._hasAllOutlets&&this._rowOutlet&&this._headerRowOutlet&&this._footerRowOutlet&&this._noDataRowOutlet&&(this._hasAllOutlets=!0,this._canRender()&&this._render())}_canRender(){return this._hasAllOutlets&&this._hasInitialized}_render(){this._cacheRowDefs(),this._cacheColumnDefs(),!this._headerRowDefs.length&&!this._footerRowDefs.length&&this._rowDefs.length;let t=this._renderUpdatedColumns()||this._headerRowDefChanged||this._footerRowDefChanged;this._stickyColumnStylesNeedReset=this._stickyColumnStylesNeedReset||t,this._forceRecalculateCellWidths=t,this._headerRowDefChanged&&(this._forceRenderHeaderRows(),this._headerRowDefChanged=!1),this._footerRowDefChanged&&(this._forceRenderFooterRows(),this._footerRowDefChanged=!1),this.dataSource&&this._rowDefs.length>0&&!this._renderChangeSubscription?this._observeRenderChanges():this._stickyColumnStylesNeedReset&&this.updateStickyColumnStyles(),this._checkStickyStates()}_getAllRenderRows(){if(!Array.isArray(this._data)||!this._renderedRange)return[];let e=[],t=Math.min(this._data.length,this._renderedRange.end),i=this._cachedRenderRowsMap;this._cachedRenderRowsMap=new Map;for(let r=this._renderedRange.start;r<t;r++){let a=this._data[r],m=this._getRenderRowsForData(a,r,i.get(a));this._cachedRenderRowsMap.has(a)||this._cachedRenderRowsMap.set(a,new WeakMap);for(let h=0;h<m.length;h++){let _=m[h],v=this._cachedRenderRowsMap.get(_.data);v.has(_.rowDef)?v.get(_.rowDef).push(_):v.set(_.rowDef,[_]),e.push(_)}}return e}_getRenderRowsForData(e,t,i){return this._getRowDefs(e,t).map(a=>{let m=i&&i.has(a)?i.get(a):[];if(m.length){let h=m.shift();return h.dataIndex=t,h}else return{data:e,rowDef:a,dataIndex:t}})}_cacheColumnDefs(){this._columnDefsByName.clear(),_e(this._getOwnDefs(this._contentColumnDefs),this._customColumnDefs).forEach(t=>{this._columnDefsByName.has(t.name),this._columnDefsByName.set(t.name,t)})}_cacheRowDefs(){this._headerRowDefs=_e(this._getOwnDefs(this._contentHeaderRowDefs),this._customHeaderRowDefs),this._footerRowDefs=_e(this._getOwnDefs(this._contentFooterRowDefs),this._customFooterRowDefs),this._rowDefs=_e(this._getOwnDefs(this._contentRowDefs),this._customRowDefs);let e=this._rowDefs.filter(t=>!t.when);this._defaultRowDef=e[0]}_renderUpdatedColumns(){let e=(a,m)=>{let h=!!m.getColumnsDiff();return a||h},t=this._rowDefs.reduce(e,!1);t&&this._forceRenderDataRows();let i=this._headerRowDefs.reduce(e,!1);i&&this._forceRenderHeaderRows();let r=this._footerRowDefs.reduce(e,!1);return r&&this._forceRenderFooterRows(),t||i||r}_switchDataSource(e){this._data=[],he(this.dataSource)&&this.dataSource.disconnect(this),this._renderChangeSubscription&&(this._renderChangeSubscription.unsubscribe(),this._renderChangeSubscription=null),e||(this._dataDiffer&&this._dataDiffer.diff([]),this._rowOutlet&&this._rowOutlet.viewContainer.clear()),this._dataSource=e}_observeRenderChanges(){if(!this.dataSource)return;let e;he(this.dataSource)?e=this.dataSource.connect(this):Ue(this.dataSource)?e=this.dataSource:Array.isArray(this.dataSource)&&(e=Ce(this.dataSource)),this._renderChangeSubscription=ce([e,this.viewChange]).pipe(Q(this._onDestroy)).subscribe(([t,i])=>{this._data=t||[],this._renderedRange=i,this._dataStream.next(t),this.renderRows()})}_forceRenderHeaderRows(){this._headerRowOutlet.viewContainer.length>0&&this._headerRowOutlet.viewContainer.clear(),this._headerRowDefs.forEach((e,t)=>this._renderRow(this._headerRowOutlet,e,t)),this.updateStickyHeaderRowStyles()}_forceRenderFooterRows(){this._footerRowOutlet.viewContainer.length>0&&this._footerRowOutlet.viewContainer.clear(),this._footerRowDefs.forEach((e,t)=>this._renderRow(this._footerRowOutlet,e,t)),this.updateStickyFooterRowStyles()}_addStickyColumnStyles(e,t){let i=Array.from(t?.columns||[]).map(m=>{let h=this._columnDefsByName.get(m);return h}),r=i.map(m=>m.sticky),a=i.map(m=>m.stickyEnd);this._stickyStyler.updateStickyColumns(e,r,a,!this.fixedLayout||this._forceRecalculateCellWidths)}_getRenderedRows(e){let t=[];for(let i=0;i<e.viewContainer.length;i++){let r=e.viewContainer.get(i);t.push(r.rootNodes[0])}return t}_getRowDefs(e,t){if(this._rowDefs.length===1)return[this._rowDefs[0]];let i=[];if(this.multiTemplateDataRows)i=this._rowDefs.filter(r=>!r.when||r.when(t,e));else{let r=this._rowDefs.find(a=>a.when&&a.when(t,e))||this._defaultRowDef;r&&i.push(r)}return i.length,i}_getEmbeddedViewArgs(e,t){let i=e.rowDef,r={$implicit:e.data};return{templateRef:i.template,context:r,index:t}}_renderRow(e,t,i,r={}){let a=e.viewContainer.createEmbeddedView(t.template,r,i);return this._renderCellTemplateForItem(t,r),a}_renderCellTemplateForItem(e,t){for(let i of this._getCellTemplates(e))G.mostRecentCellOutlet&&G.mostRecentCellOutlet._viewContainer.createEmbeddedView(i,t);this._changeDetectorRef.markForCheck()}_updateRowIndexContext(){let e=this._rowOutlet.viewContainer;for(let t=0,i=e.length;t<i;t++){let a=e.get(t).context;a.count=i,a.first=t===0,a.last=t===i-1,a.even=t%2===0,a.odd=!a.even,this.multiTemplateDataRows?(a.dataIndex=this._renderRows[t].dataIndex,a.renderIndex=t):a.index=this._renderRows[t].dataIndex}}_getCellTemplates(e){return!e||!e.columns?[]:Array.from(e.columns,t=>{let i=this._columnDefsByName.get(t);return e.extractCellTemplate(i)})}_forceRenderDataRows(){this._dataDiffer.diff([]),this._rowOutlet.viewContainer.clear(),this.renderRows()}_checkStickyStates(){let e=(t,i)=>t||i.hasStickyChanged();this._headerRowDefs.reduce(e,!1)&&this.updateStickyHeaderRowStyles(),this._footerRowDefs.reduce(e,!1)&&this.updateStickyFooterRowStyles(),Array.from(this._columnDefsByName.values()).reduce(e,!1)&&(this._stickyColumnStylesNeedReset=!0,this.updateStickyColumnStyles())}_setupStickyStyler(){let e=this._dir?this._dir.value:"ltr",t=this._injector;this._stickyStyler=new ke(this._isNativeHtmlTable,this.stickyCssClass,this._platform.isBrowser,this.needsPositionStickyOnElement,e,this,t),(this._dir?this._dir.change:Ce()).pipe(Q(this._onDestroy)).subscribe(i=>{this._stickyStyler.direction=i,this.updateStickyColumnStyles()})}_setupVirtualScrolling(e){let t=typeof requestAnimationFrame<"u"?Le:ze;this.viewChange.next({start:0,end:0}),e.renderedRangeStream.pipe(je(0,t),Q(this._onDestroy)).subscribe(this.viewChange),e.attach({dataStream:this._dataStream,measureRangeSize:(i,r)=>this._measureRangeSize(i,r)}),ce([e.renderedContentOffset,this._headerRowStickyUpdates]).pipe(Q(this._onDestroy)).subscribe(([i,r])=>{if(!(!r.sizes||!r.offsets||!r.elements))for(let a=0;a<r.elements.length;a++){let m=r.elements[a];if(m){let h=r.offsets[a],_=i!==0?Math.max(i-h,h):-h;for(let v of m)v.style.top=`${-_}px`}}}),ce([e.renderedContentOffset,this._footerRowStickyUpdates]).pipe(Q(this._onDestroy)).subscribe(([i,r])=>{if(!(!r.sizes||!r.offsets||!r.elements))for(let a=0;a<r.elements.length;a++){let m=r.elements[a];if(m)for(let h of m)h.style.bottom=`${i+r.offsets[a]}px`}})}_getOwnDefs(e){return e.filter(t=>!t._table||t._table===this)}_updateNoDataRow(){let e=this._customNoDataRow||this._noDataRow;if(!e)return;let t=this._rowOutlet.viewContainer.length===0;if(t===this._isShowingNoDataRow)return;let i=this._noDataRowOutlet.viewContainer;if(t){let r=i.createEmbeddedView(e.templateRef),a=r.rootNodes[0];if(r.rootNodes.length===1&&a?.nodeType===this._document.ELEMENT_NODE){a.setAttribute("role","row"),a.classList.add(...e._contentClassNames);let m=a.querySelectorAll(e._cellSelector);for(let h=0;h<m.length;h++)m[h].classList.add(...e._cellClassNames)}}else i.clear();this._isShowingNoDataRow=t,this._changeDetectorRef.markForCheck()}_measureRangeSize(e,t){if(e.start>=e.end||t!=="vertical")return 0;let i=this.viewChange.value,r=this._rowOutlet.viewContainer;e.start<i.start||e.end>i.end;let a=e.start-i.start,m=e.end-e.start,h,_;for(let D=0;D<m;D++){let x=r.get(D+a);if(x&&x.rootNodes.length){h=_=x.rootNodes[0];break}}for(let D=m-1;D>-1;D--){let x=r.get(D+a);if(x&&x.rootNodes.length){_=x.rootNodes[x.rootNodes.length-1];break}}let v=h?.getBoundingClientRect?.(),F=_?.getBoundingClientRect?.();return v&&F?F.bottom-v.top:0}_virtualScrollEnabled(){return!this._disableVirtualScrolling&&this._virtualScrollViewport!=null}static \u0275fac=function(t){return new(t||n)};static \u0275cmp=V({type:n,selectors:[["cdk-table"],["table","cdk-table",""]],contentQueries:function(t,i,r){if(t&1&&be(r,$t,5)(r,ne,5)(r,ye,5)(r,le,5)(r,Se,5),t&2){let a;L(a=U())&&(i._noDataRow=a.first),L(a=U())&&(i._contentColumnDefs=a),L(a=U())&&(i._contentRowDefs=a),L(a=U())&&(i._contentHeaderRowDefs=a),L(a=U())&&(i._contentFooterRowDefs=a)}},hostAttrs:[1,"cdk-table"],hostVars:2,hostBindings:function(t,i){t&2&&q("cdk-table-fixed-layout",i.fixedLayout)},inputs:{trackBy:"trackBy",dataSource:"dataSource",multiTemplateDataRows:[2,"multiTemplateDataRows","multiTemplateDataRows",A],fixedLayout:[2,"fixedLayout","fixedLayout",A],recycleRows:[2,"recycleRows","recycleRows",A]},outputs:{contentChanged:"contentChanged"},exportAs:["cdkTable"],features:[I([{provide:N,useExisting:n},{provide:se,useValue:null}])],ngContentSelectors:an,decls:5,vars:2,consts:[["role","rowgroup"],["headerRowOutlet",""],["rowOutlet",""],["noDataRowOutlet",""],["footerRowOutlet",""]],template:function(t,i){t&1&&(fe(rn),$(0),$(1,1),y(2,sn,1,0),y(3,ln,7,0)(4,cn,4,0)),t&2&&(c(2),C(i._isServer?2:-1),c(),C(i._isNativeHtmlTable?3:4))},dependencies:[Oe,Te,Pe,Ee],styles:[`.cdk-table-fixed-layout {
|
|
2
|
+
table-layout: fixed;
|
|
3
|
+
}
|
|
4
|
+
`],encapsulation:2})}return n})();function _e(n,o){return n.concat(Array.from(o))}function Ht(n,o){let e=o.toUpperCase(),t=n.viewContainer.element.nativeElement;for(;t;){let i=t.nodeType===1?t.nodeName:null;if(i===e)return t;if(i==="TABLE")break;t=t.parentNode}return null}var qt=(()=>{class n{static \u0275fac=function(t){return new(t||n)};static \u0275mod=me({type:n});static \u0275inj=de({imports:[st]})}return n})();var un=[[["caption"]],[["colgroup"],["col"]],"*"],mn=["caption","colgroup, col","*"];function fn(n,o){n&1&&$(0,2)}function hn(n,o){n&1&&(s(0,"thead",0),S(1,1),l(),s(2,"tbody",2),S(3,3)(4,4),l(),s(5,"tfoot",0),S(6,5),l())}function _n(n,o){n&1&&S(0,1)(1,3)(2,4)(3,5)}var Qt=(()=>{class n extends Ie{stickyCssClass="mat-mdc-table-sticky";needsPositionStickyOnElement=!1;static \u0275fac=(()=>{let e;return function(i){return(e||(e=E(n)))(i||n)}})();static \u0275cmp=V({type:n,selectors:[["mat-table"],["table","mat-table",""]],hostAttrs:[1,"mat-mdc-table","mdc-data-table__table"],hostVars:2,hostBindings:function(t,i){t&2&&q("mat-table-fixed-layout",i.fixedLayout)},exportAs:["matTable"],features:[I([{provide:Ie,useExisting:n},{provide:N,useExisting:n},{provide:se,useValue:null}]),b],ngContentSelectors:mn,decls:5,vars:2,consts:[["role","rowgroup"],["headerRowOutlet",""],["role","rowgroup",1,"mdc-data-table__content"],["rowOutlet",""],["noDataRowOutlet",""],["footerRowOutlet",""]],template:function(t,i){t&1&&(fe(un),$(0),$(1,1),y(2,fn,1,0),y(3,hn,7,0)(4,_n,4,0)),t&2&&(c(2),C(i._isServer?2:-1),c(),C(i._isNativeHtmlTable?3:4))},dependencies:[Oe,Te,Pe,Ee],styles:[`.mat-mdc-table-sticky {
|
|
5
|
+
position: sticky !important;
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
mat-table {
|
|
9
|
+
display: block;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
mat-header-row {
|
|
13
|
+
min-height: var(--mat-table-header-container-height, 56px);
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
mat-row {
|
|
17
|
+
min-height: var(--mat-table-row-item-container-height, 52px);
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
mat-footer-row {
|
|
21
|
+
min-height: var(--mat-table-footer-container-height, 52px);
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
mat-row, mat-header-row, mat-footer-row {
|
|
25
|
+
display: flex;
|
|
26
|
+
border-width: 0;
|
|
27
|
+
border-bottom-width: 1px;
|
|
28
|
+
border-style: solid;
|
|
29
|
+
align-items: center;
|
|
30
|
+
box-sizing: border-box;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
mat-cell:first-of-type, mat-header-cell:first-of-type, mat-footer-cell:first-of-type {
|
|
34
|
+
padding-left: 24px;
|
|
35
|
+
}
|
|
36
|
+
[dir=rtl] mat-cell:first-of-type:not(:only-of-type), [dir=rtl] mat-header-cell:first-of-type:not(:only-of-type), [dir=rtl] mat-footer-cell:first-of-type:not(:only-of-type) {
|
|
37
|
+
padding-left: 0;
|
|
38
|
+
padding-right: 24px;
|
|
39
|
+
}
|
|
40
|
+
mat-cell:last-of-type, mat-header-cell:last-of-type, mat-footer-cell:last-of-type {
|
|
41
|
+
padding-right: 24px;
|
|
42
|
+
}
|
|
43
|
+
[dir=rtl] mat-cell:last-of-type:not(:only-of-type), [dir=rtl] mat-header-cell:last-of-type:not(:only-of-type), [dir=rtl] mat-footer-cell:last-of-type:not(:only-of-type) {
|
|
44
|
+
padding-right: 0;
|
|
45
|
+
padding-left: 24px;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
mat-cell, mat-header-cell, mat-footer-cell {
|
|
49
|
+
flex: 1;
|
|
50
|
+
display: flex;
|
|
51
|
+
align-items: center;
|
|
52
|
+
overflow: hidden;
|
|
53
|
+
word-wrap: break-word;
|
|
54
|
+
min-height: inherit;
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
.mat-mdc-table {
|
|
58
|
+
min-width: 100%;
|
|
59
|
+
border: 0;
|
|
60
|
+
border-spacing: 0;
|
|
61
|
+
table-layout: auto;
|
|
62
|
+
white-space: normal;
|
|
63
|
+
background-color: var(--mat-table-background-color, var(--mat-sys-surface));
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
.mat-table-fixed-layout {
|
|
67
|
+
table-layout: fixed;
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
.mdc-data-table__cell {
|
|
71
|
+
box-sizing: border-box;
|
|
72
|
+
overflow: hidden;
|
|
73
|
+
text-align: start;
|
|
74
|
+
text-overflow: ellipsis;
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
.mdc-data-table__cell,
|
|
78
|
+
.mdc-data-table__header-cell {
|
|
79
|
+
padding: 0 16px;
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
.mat-mdc-header-row {
|
|
83
|
+
-moz-osx-font-smoothing: grayscale;
|
|
84
|
+
-webkit-font-smoothing: antialiased;
|
|
85
|
+
height: var(--mat-table-header-container-height, 56px);
|
|
86
|
+
color: var(--mat-table-header-headline-color, var(--mat-sys-on-surface, rgba(0, 0, 0, 0.87)));
|
|
87
|
+
font-family: var(--mat-table-header-headline-font, var(--mat-sys-title-small-font, Roboto, sans-serif));
|
|
88
|
+
line-height: var(--mat-table-header-headline-line-height, var(--mat-sys-title-small-line-height));
|
|
89
|
+
font-size: var(--mat-table-header-headline-size, var(--mat-sys-title-small-size, 14px));
|
|
90
|
+
font-weight: var(--mat-table-header-headline-weight, var(--mat-sys-title-small-weight, 500));
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
.mat-mdc-row {
|
|
94
|
+
height: var(--mat-table-row-item-container-height, 52px);
|
|
95
|
+
color: var(--mat-table-row-item-label-text-color, var(--mat-sys-on-surface, rgba(0, 0, 0, 0.87)));
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
.mat-mdc-row,
|
|
99
|
+
.mdc-data-table__content {
|
|
100
|
+
-moz-osx-font-smoothing: grayscale;
|
|
101
|
+
-webkit-font-smoothing: antialiased;
|
|
102
|
+
font-family: var(--mat-table-row-item-label-text-font, var(--mat-sys-body-medium-font, Roboto, sans-serif));
|
|
103
|
+
line-height: var(--mat-table-row-item-label-text-line-height, var(--mat-sys-body-medium-line-height));
|
|
104
|
+
font-size: var(--mat-table-row-item-label-text-size, var(--mat-sys-body-medium-size, 14px));
|
|
105
|
+
font-weight: var(--mat-table-row-item-label-text-weight, var(--mat-sys-body-medium-weight));
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
.mat-mdc-footer-row {
|
|
109
|
+
-moz-osx-font-smoothing: grayscale;
|
|
110
|
+
-webkit-font-smoothing: antialiased;
|
|
111
|
+
height: var(--mat-table-footer-container-height, 52px);
|
|
112
|
+
color: var(--mat-table-row-item-label-text-color, var(--mat-sys-on-surface, rgba(0, 0, 0, 0.87)));
|
|
113
|
+
font-family: var(--mat-table-footer-supporting-text-font, var(--mat-sys-body-medium-font, Roboto, sans-serif));
|
|
114
|
+
line-height: var(--mat-table-footer-supporting-text-line-height, var(--mat-sys-body-medium-line-height));
|
|
115
|
+
font-size: var(--mat-table-footer-supporting-text-size, var(--mat-sys-body-medium-size, 14px));
|
|
116
|
+
font-weight: var(--mat-table-footer-supporting-text-weight, var(--mat-sys-body-medium-weight));
|
|
117
|
+
letter-spacing: var(--mat-table-footer-supporting-text-tracking, var(--mat-sys-body-medium-tracking));
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
.mat-mdc-header-cell {
|
|
121
|
+
border-bottom-color: var(--mat-table-row-item-outline-color, var(--mat-sys-outline, rgba(0, 0, 0, 0.12)));
|
|
122
|
+
border-bottom-width: var(--mat-table-row-item-outline-width, 1px);
|
|
123
|
+
border-bottom-style: solid;
|
|
124
|
+
letter-spacing: var(--mat-table-header-headline-tracking, var(--mat-sys-title-small-tracking));
|
|
125
|
+
font-weight: inherit;
|
|
126
|
+
line-height: inherit;
|
|
127
|
+
box-sizing: border-box;
|
|
128
|
+
text-overflow: ellipsis;
|
|
129
|
+
overflow: hidden;
|
|
130
|
+
outline: none;
|
|
131
|
+
text-align: start;
|
|
132
|
+
}
|
|
133
|
+
.mdc-data-table__row:last-child > .mat-mdc-header-cell {
|
|
134
|
+
border-bottom: none;
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
.mat-mdc-cell {
|
|
138
|
+
border-bottom-color: var(--mat-table-row-item-outline-color, var(--mat-sys-outline, rgba(0, 0, 0, 0.12)));
|
|
139
|
+
border-bottom-width: var(--mat-table-row-item-outline-width, 1px);
|
|
140
|
+
border-bottom-style: solid;
|
|
141
|
+
letter-spacing: var(--mat-table-row-item-label-text-tracking, var(--mat-sys-body-medium-tracking));
|
|
142
|
+
line-height: inherit;
|
|
143
|
+
}
|
|
144
|
+
.mdc-data-table__row:last-child > .mat-mdc-cell {
|
|
145
|
+
border-bottom: none;
|
|
146
|
+
}
|
|
147
|
+
|
|
148
|
+
.mat-mdc-footer-cell {
|
|
149
|
+
letter-spacing: var(--mat-table-row-item-label-text-tracking, var(--mat-sys-body-medium-tracking));
|
|
150
|
+
}
|
|
151
|
+
|
|
152
|
+
mat-row.mat-mdc-row,
|
|
153
|
+
mat-header-row.mat-mdc-header-row,
|
|
154
|
+
mat-footer-row.mat-mdc-footer-row {
|
|
155
|
+
border-bottom: none;
|
|
156
|
+
}
|
|
157
|
+
|
|
158
|
+
.mat-mdc-table tbody,
|
|
159
|
+
.mat-mdc-table tfoot,
|
|
160
|
+
.mat-mdc-table thead,
|
|
161
|
+
.mat-mdc-cell,
|
|
162
|
+
.mat-mdc-footer-cell,
|
|
163
|
+
.mat-mdc-header-row,
|
|
164
|
+
.mat-mdc-row,
|
|
165
|
+
.mat-mdc-footer-row,
|
|
166
|
+
.mat-mdc-table .mat-mdc-header-cell {
|
|
167
|
+
background: inherit;
|
|
168
|
+
}
|
|
169
|
+
|
|
170
|
+
.mat-mdc-table mat-header-row.mat-mdc-header-row,
|
|
171
|
+
.mat-mdc-table mat-row.mat-mdc-row,
|
|
172
|
+
.mat-mdc-table mat-footer-row.mat-mdc-footer-cell {
|
|
173
|
+
height: unset;
|
|
174
|
+
}
|
|
175
|
+
|
|
176
|
+
mat-header-cell.mat-mdc-header-cell,
|
|
177
|
+
mat-cell.mat-mdc-cell,
|
|
178
|
+
mat-footer-cell.mat-mdc-footer-cell {
|
|
179
|
+
align-self: stretch;
|
|
180
|
+
}
|
|
181
|
+
`],encapsulation:2})}return n})(),Wt=(()=>{class n extends ge{static \u0275fac=(()=>{let e;return function(i){return(e||(e=E(n)))(i||n)}})();static \u0275dir=p({type:n,selectors:[["","matCellDef",""]],features:[I([{provide:ge,useExisting:n}]),b]})}return n})(),Kt=(()=>{class n extends we{static \u0275fac=(()=>{let e;return function(i){return(e||(e=E(n)))(i||n)}})();static \u0275dir=p({type:n,selectors:[["","matHeaderCellDef",""]],features:[I([{provide:we,useExisting:n}]),b]})}return n})();var Yt=(()=>{class n extends ne{get name(){return this._name}set name(e){this._setNameInput(e)}_updateColumnCssClassName(){super._updateColumnCssClassName(),this._columnCssClassName.push(`mat-column-${this.cssClassFriendlyName}`)}static \u0275fac=(()=>{let e;return function(i){return(e||(e=E(n)))(i||n)}})();static \u0275dir=p({type:n,selectors:[["","matColumnDef",""]],inputs:{name:[0,"matColumnDef","name"]},features:[I([{provide:ne,useExisting:n}]),b]})}return n})(),Xt=(()=>{class n extends Ut{static \u0275fac=(()=>{let e;return function(i){return(e||(e=E(n)))(i||n)}})();static \u0275dir=p({type:n,selectors:[["mat-header-cell"],["th","mat-header-cell",""]],hostAttrs:["role","columnheader",1,"mat-mdc-header-cell","mdc-data-table__header-cell"],features:[b]})}return n})();var Gt=(()=>{class n extends jt{static \u0275fac=(()=>{let e;return function(i){return(e||(e=E(n)))(i||n)}})();static \u0275dir=p({type:n,selectors:[["mat-cell"],["td","mat-cell",""]],hostAttrs:[1,"mat-mdc-cell","mdc-data-table__cell"],features:[b]})}return n})();var Zt=(()=>{class n extends le{static \u0275fac=(()=>{let e;return function(i){return(e||(e=E(n)))(i||n)}})();static \u0275dir=p({type:n,selectors:[["","matHeaderRowDef",""]],inputs:{columns:[0,"matHeaderRowDef","columns"],sticky:[2,"matHeaderRowDefSticky","sticky",A]},features:[I([{provide:le,useExisting:n}]),b]})}return n})();var Jt=(()=>{class n extends ye{static \u0275fac=(()=>{let e;return function(i){return(e||(e=E(n)))(i||n)}})();static \u0275dir=p({type:n,selectors:[["","matRowDef",""]],inputs:{columns:[0,"matRowDefColumns","columns"],when:[0,"matRowDefWhen","when"]},features:[I([{provide:ye,useExisting:n}]),b]})}return n})(),en=(()=>{class n extends Me{static \u0275fac=(()=>{let e;return function(i){return(e||(e=E(n)))(i||n)}})();static \u0275cmp=V({type:n,selectors:[["mat-header-row"],["tr","mat-header-row",""]],hostAttrs:["role","row",1,"mat-mdc-header-row","mdc-data-table__header-row"],exportAs:["matHeaderRow"],features:[I([{provide:Me,useExisting:n}]),b],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(t,i){t&1&&S(0,0)},dependencies:[G],encapsulation:2})}return n})();var tn=(()=>{class n extends Fe{static \u0275fac=(()=>{let e;return function(i){return(e||(e=E(n)))(i||n)}})();static \u0275cmp=V({type:n,selectors:[["mat-row"],["tr","mat-row",""]],hostAttrs:["role","row",1,"mat-mdc-row","mdc-data-table__row"],exportAs:["matRow"],features:[I([{provide:Fe,useExisting:n}]),b],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(t,i){t&1&&S(0,0)},dependencies:[G],encapsulation:2})}return n})();var nn=(()=>{class n{static \u0275fac=function(t){return new(t||n)};static \u0275mod=me({type:n});static \u0275inj=de({imports:[qt,ot]})}return n})();var gn=(n,o)=>o.pr;function wn(n,o){n&1&&(s(0,"div",5),f(1,"Loading\u2026"),l())}function yn(n,o){n&1&&(s(0,"div",5)(1,"mat-icon",7),f(2,"tips_and_updates"),l(),s(3,"p"),f(4,"No features have been documented yet."),l()())}function Cn(n,o){if(n&1&&(s(0,"figcaption"),f(1),l()),n&2){let e=u(2);c(),R(e.images[0].alt)}}function vn(n,o){if(n&1){let e=T();s(0,"figure",36),k("click",function(){g(e);let i=u(),r=u(2);return w(r.openViewer(i.images[0].url))})("keydown.enter",function(){g(e);let i=u(),r=u(2);return w(r.openViewer(i.images[0].url))})("keydown.space",function(i){g(e);let r=u();return u(2).openViewer(r.images[0].url),w(i.preventDefault())}),ee(1,"img",37),y(2,Cn,2,1,"figcaption"),l()}if(n&2){let e=u(),t=u(2);W("aria-label","Enlarge "+(e.images[0].alt||"screenshot")),c(),P("src",t.resolveShot(e.images[0].url),ie)("alt",e.images[0].alt||""),c(),C(e.images[0].alt?2:-1)}}function Dn(n,o){if(n&1&&(s(0,"span",38),f(1),l()),n&2){let e=u(),t=u(2);q("enhanced",e.latestKind==="enhanced"),c(),X(" ",t.sinceLabel(e)," ")}}function xn(n,o){n&1&&(s(0,"span",30),f(1,"Unreleased"),l())}function bn(n,o){if(n&1&&(s(0,"li"),f(1),l()),n&2){let e=o.$implicit;c(),R(e)}}function kn(n,o){if(n&1){let e=T();s(0,"button",41),k("click",function(){g(e);let i=u(4);return w(i.scrollToHistory())}),f(1),l()}if(n&2){let e=u();c(),X(" +",e.more," more ")}}function Rn(n,o){if(n&1&&(s(0,"div",31)(1,"div",39)(2,"mat-icon"),f(3,"tips_and_updates"),l(),s(4,"span"),f(5),l()(),s(6,"ul"),De(7,bn,2,1,"li",null,Ke),l(),y(9,kn,2,1,"button",40),l()),n&2){let e=o;c(5),R(e.label),c(2),xe(e.shown),c(2),C(e.more?9:-1)}}function Sn(n,o){if(n&1&&(s(0,"figcaption"),f(1),l()),n&2){let e=u().$implicit;c(),R(e.alt)}}function Mn(n,o){if(n&1){let e=T();s(0,"figure",42),k("click",function(){let i=g(e).$implicit,r=u(3);return w(r.openViewer(i.url))})("keydown.enter",function(){let i=g(e).$implicit,r=u(3);return w(r.openViewer(i.url))})("keydown.space",function(i){let r=g(e).$implicit;return u(3).openViewer(r.url),w(i.preventDefault())}),ee(1,"img",37),y(2,Sn,2,1,"figcaption"),l()}if(n&2){let e=o.$implicit,t=u(3);W("aria-label","Enlarge "+(e.alt||"screenshot")),c(),P("src",t.resolveShot(e.url),ie)("alt",e.alt||""),c(),C(e.alt?2:-1)}}function Fn(n,o){if(n&1&&(s(0,"a",47),f(1),l()),n&2){let e=o,t=u(5);P("href",t.prUrl(e),ie),c(),X("#",e)}}function Tn(n,o){if(n&1&&(s(0,"tr")(1,"td",45),f(2),Ye(3,"date"),l(),s(4,"td",46),y(5,Fn,2,2,"a",47),l(),s(6,"td",48),f(7),l()()),n&2){let e,t=o.$implicit;c(2),X(" ",t.date?Xe(3,3,t.date,"mediumDate"):""," "),c(3),C((e=t.pr)?5:-1,e),c(2),R(t.title)}}function On(n,o){if(n&1&&(s(0,"div",35)(1,"div",43),f(2,"History"),l(),s(3,"table",44),De(4,Tn,8,6,"tr",null,gn),l()()),n&2){let e=u();c(4),xe(e.events)}}function En(n,o){if(n&1&&(s(0,"div",9),y(1,vn,3,4,"figure",26),s(2,"h2"),f(3),l(),s(4,"div",27)(5,"span",28),f(6),l(),y(7,Dn,2,3,"span",29)(8,xn,2,0,"span",30),l(),y(9,Rn,10,2,"div",31),s(10,"div",32)(11,"remark",33),z(12,Mn,3,4,"ng-template",34),l()(),y(13,On,6,0,"div",35),l()),n&2){let e,t=o,i=u(2);c(),C(t.images.length?1:-1),c(2),R(t.title),c(2),re("--cat-hue",i.categoryHue(t.category)),c(),R(t.category),c(),C(t.since?7:8),c(2),C((e=t.recentChanges)?9:-1,e),c(2),P("processor",i.mdProcessor)("markdown",t.body),c(2),C(t.events.length?13:-1)}}function Pn(n,o){n&1&&(s(0,"div",5),f(1,"No matching features."),l())}function In(n,o){if(n&1){let e=T();s(0,"button",49),k("click",function(){g(e);let i=u(2);return w(i.query.set(""))}),s(1,"mat-icon"),f(2,"close"),l()()}}function Nn(n,o){if(n&1){let e=T();s(0,"th",50),k("click",function(){g(e);let i=u(2);return w(i.setSort("category"))})("keydown.enter",function(){g(e);let i=u(2);return w(i.setSort("category"))})("keydown.space",function(i){return g(e),u(2).setSort("category"),w(i.preventDefault())}),f(1," Category "),s(2,"mat-icon",51),f(3),l()()}if(n&2){let e=u(2);W("aria-sort",e.ariaSort("category")),c(3),R(e.sortIcon("category"))}}function Bn(n,o){if(n&1&&(s(0,"td",52)(1,"span",28),f(2),l()()),n&2){let e=o.$implicit,t=u(2);c(),re("--cat-hue",t.categoryHue(e.category)),c(),R(e.category)}}function Vn(n,o){if(n&1){let e=T();s(0,"th",50),k("click",function(){g(e);let i=u(2);return w(i.setSort("title"))})("keydown.enter",function(){g(e);let i=u(2);return w(i.setSort("title"))})("keydown.space",function(i){return g(e),u(2).setSort("title"),w(i.preventDefault())}),f(1," Feature "),s(2,"mat-icon",51),f(3),l()()}if(n&2){let e=u(2);W("aria-sort",e.ariaSort("title")),c(3),R(e.sortIcon("title"))}}function An(n,o){if(n&1&&(s(0,"td",52),f(1),l()),n&2){let e=o.$implicit;c(),R(e.title)}}function Hn(n,o){n&1&&(s(0,"th",53),f(1,"Status"),l())}function zn(n,o){if(n&1&&(s(0,"span",55),f(1),l()),n&2){let e=u().$implicit;q("enhanced",e.latestKind==="enhanced"),c(),R(e.latestKind==="enhanced"?"Updated":"New")}}function Ln(n,o){if(n&1&&(s(0,"td",52),y(1,zn,2,3,"span",54),l()),n&2){let e=o.$implicit;c(),C(e.latestKind?1:-1)}}function Un(n,o){if(n&1){let e=T();s(0,"th",50),k("click",function(){g(e);let i=u(2);return w(i.setSort("since"))})("keydown.enter",function(){g(e);let i=u(2);return w(i.setSort("since"))})("keydown.space",function(i){return g(e),u(2).setSort("since"),w(i.preventDefault())}),f(1," Since "),s(2,"mat-icon",51),f(3),l()()}if(n&2){let e=u(2);W("aria-sort",e.ariaSort("since")),c(3),R(e.sortIcon("since"))}}function jn(n,o){if(n&1&&(s(0,"td",52),f(1),l()),n&2){let e=o.$implicit;c(),R(e.since??"\u2014")}}function $n(n,o){n&1&&ee(0,"tr",56)}function qn(n,o){if(n&1){let e=T();s(0,"tr",57),k("click",function(){let i=g(e).$implicit,r=u(2);return w(r.select(i))}),l()}if(n&2){let e=o.$implicit,t=u(2);q("active",t.isActive(e))}}function Qn(n,o){n&1&&(s(0,"div",5),f(1,"No matching features."),l())}function Wn(n,o){if(n&1){let e=T();s(0,"div",8),y(1,En,14,10,"div",9)(2,Pn,2,0,"div",5),l(),s(3,"div",10)(4,"mat-form-field",11)(5,"mat-icon",12),f(6,"search"),l(),s(7,"input",13),k("ngModelChange",function(i){g(e);let r=u();return w(r.query.set(i))}),l(),y(8,In,3,0,"button",14),l(),s(9,"div",15)(10,"table",16),K(11,17),z(12,Nn,4,2,"th",18)(13,Bn,3,3,"td",19),Y(),K(14,20),z(15,Vn,4,2,"th",18)(16,An,2,1,"td",19),Y(),K(17,21),z(18,Hn,2,0,"th",22)(19,Ln,2,1,"td",19),Y(),K(20,23),z(21,Un,4,2,"th",18)(22,jn,2,1,"td",19),Y(),z(23,$n,1,0,"tr",24)(24,qn,1,2,"tr",25),l(),y(25,Qn,2,0,"div",5),l()()}if(n&2){let e,t=u();c(),C((e=t.activeFeature())?1:2,e),c(6),P("ngModel",t.query()),c(),C(t.query()?8:-1),c(2),P("dataSource",t.displayed()),c(13),P("matHeaderRowDef",t.columns)("matHeaderRowDefSticky",!0),c(),P("matRowDefColumns",t.columns),c(),C(t.displayed().length===0?25:-1)}}function Kn(n,o){if(n&1){let e=T();s(0,"button",61),k("click",function(i){return g(e),u(2).stepViewer(-1),w(i.stopPropagation())}),s(1,"mat-icon"),f(2,"chevron_left"),l()(),s(3,"button",62),k("click",function(i){return g(e),u(2).stepViewer(1),w(i.stopPropagation())}),s(4,"mat-icon"),f(5,"chevron_right"),l()()}}function Yn(n,o){if(n&1&&(s(0,"figcaption"),f(1),l()),n&2){let e=u();c(),R(e.alt)}}function Xn(n,o){if(n&1){let e=T();s(0,"div",58),k("click",function(){g(e);let i=u();return w(i.closeViewer())}),s(1,"button",59),k("click",function(i){return g(e),u().closeViewer(),w(i.stopPropagation())}),s(2,"mat-icon"),f(3,"close"),l()(),y(4,Kn,6,0),s(5,"figure",60),k("click",function(i){return i.stopPropagation()}),ee(6,"img",37),y(7,Yn,2,1,"figcaption"),l()()}if(n&2){let e=o,t=u();P("cdkTrapFocusAutoCapture",!0),W("aria-label",e.alt||"Image viewer"),c(4),C(t.viewerHasMultiple()?4:-1),c(2),P("src",t.resolveShot(e.url),ie)("alt",e.alt||""),c(),C(e.alt?7:-1)}}var on=class n{mdProcessor=Ot;corpus=d(Vt);dialogRef=d(dt);host=d(B);loading=j(!0);query=j("");sortColumn=j("since");sortDirection=j("desc");selectedId=j(null);all=j([]);columns=["category","title","status","since"];displayed=ae(()=>It(Bt(this.all(),this.query()),this.sortColumn(),this.sortDirection()));activeFeature=ae(()=>{let o=this.displayed(),e=this.selectedId();return o.find(t=>t.id===e)??o[0]??null});viewerIndex=j(null);viewerImage=ae(()=>{let o=this.viewerIndex(),e=this.activeFeature()?.images??[];return o===null?null:e[o]??null});viewerHasMultiple=ae(()=>(this.activeFeature()?.images.length??0)>1);constructor(){We(()=>{this.activeFeature(),this.resetDetailsScroll()})}ngOnInit(){return Ae(this,null,function*(){this.dialogRef.keydownEvents().subscribe(o=>this.handleKey(o)),this.all.set(yield this.corpus.load()),this.loading.set(!1)})}setSort(o){this.sortColumn()===o?this.sortDirection.update(e=>e==="asc"?"desc":"asc"):(this.sortColumn.set(o),this.sortDirection.set(o==="since"?"desc":"asc"))}sortIcon(o){return this.sortColumn()!==o?"":this.sortDirection()==="asc"?"arrow_upward":"arrow_downward"}ariaSort(o){return this.sortColumn()!==o?"none":this.sortDirection()==="asc"?"ascending":"descending"}select(o){this.selectedId.set(o.id)}handleKey(o){if(this.viewerIndex()!==null){o.key==="ArrowLeft"?(o.preventDefault(),this.stepViewer(-1)):o.key==="ArrowRight"?(o.preventDefault(),this.stepViewer(1)):o.key==="Escape"&&(o.preventDefault(),this.closeViewer());return}if(o.key!=="ArrowDown"&&o.key!=="ArrowUp")return;let e=this.displayed();if(e.length===0)return;o.preventDefault();let t=e.findIndex(r=>r.id===this.activeFeature()?.id),i=Nt(t,o.key,e.length);this.selectedId.set(e[i].id),requestAnimationFrame(()=>this.revealRow(i))}resetDetailsScroll(){let o=this.host.nativeElement.querySelector(".details");o&&(o.scrollTop=0)}revealRow(o){let e=this.host.nativeElement,t=e.querySelector(".table-scroll"),i=e.querySelectorAll("tr[mat-row]")[o];if(!t||!i)return;let r=e.querySelector("tr[mat-header-row]")?.offsetHeight??0,a=t.getBoundingClientRect(),m=i.getBoundingClientRect(),h=a.top+r;m.top<h?t.scrollTop-=h-m.top:m.bottom>a.bottom&&(t.scrollTop+=m.bottom-a.bottom)}scrollToHistory(){this.host.nativeElement.querySelector(".pr-history")?.scrollIntoView({behavior:"smooth",block:"start"})}isActive(o){return this.activeFeature()?.id===o.id}sinceLabel(o){return o.since?`${o.latestKind==="enhanced"?"Updated":"New"} in ${o.since}`:"Unreleased"}categoryHue(o){return this.corpus.hueFor(o)}prUrl(o){return`https://github.com/SignalK/freeboard-sk/pull/${o}`}resolveShot(o){return/^(https?:|data:)/i.test(o)?o:`assets/features/${o.replace(/^\/+/,"")}`}openViewer(o){let t=(this.activeFeature()?.images??[]).findIndex(i=>i.url===o);t<0||(this.dialogRef.disableClose=!0,this.viewerIndex.set(t))}closeViewer(){this.viewerIndex.set(null),this.dialogRef.disableClose=!1}stepViewer(o){let e=this.activeFeature()?.images??[],t=this.viewerIndex();t===null||e.length===0||this.viewerIndex.set((t+o+e.length)%e.length)}static \u0275fac=function(e){return new(e||n)};static \u0275cmp=V({type:n,selectors:[["fb-feature-browser"]],decls:14,vars:2,consts:[[1,"feature-browser"],[1,"icon-accent"],[1,"title"],[1,"spacer"],["mat-icon-button","","aria-label","Close","matTooltip","Close",3,"click"],[1,"empty"],["role","dialog","aria-modal","true","cdkTrapFocus","",1,"viewer",3,"cdkTrapFocusAutoCapture"],[1,"empty-icon"],[1,"details"],[1,"details-flow"],[1,"list"],["appearance","outline","subscriptSizing","dynamic",1,"search"],["matPrefix",""],["matInput","","placeholder","Search features",3,"ngModelChange","ngModel"],["matSuffix","","mat-icon-button","","aria-label","Clear search"],[1,"table-scroll"],["mat-table","",3,"dataSource"],["matColumnDef","category"],["mat-header-cell","","tabindex","0",3,"click","keydown.enter","keydown.space",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["matColumnDef","title"],["matColumnDef","status"],["mat-header-cell","",4,"matHeaderCellDef"],["matColumnDef","since"],["mat-header-row","",4,"matHeaderRowDef","matHeaderRowDefSticky"],["mat-row","",3,"active","click",4,"matRowDef","matRowDefColumns"],["role","button","tabindex","0",1,"shot","lead"],[1,"meta"],[1,"cat-chip"],[1,"since-badge",3,"enhanced"],[1,"since"],[1,"whats-new"],[1,"body"],[3,"processor","markdown"],["remarkTemplate","image"],[1,"pr-history"],["role","button","tabindex","0",1,"shot","lead",3,"click","keydown.enter","keydown.space"],[3,"src","alt"],[1,"since-badge"],[1,"whats-new-title"],["type","button",1,"whats-new-more"],["type","button",1,"whats-new-more",3,"click"],["role","button","tabindex","0",1,"shot",3,"click","keydown.enter","keydown.space"],[1,"pr-history-title"],[1,"pr-table"],[1,"pr-date"],[1,"pr-num"],["target","_blank","rel","noopener",3,"href"],[1,"pr-title"],["matSuffix","","mat-icon-button","","aria-label","Clear search",3,"click"],["mat-header-cell","","tabindex","0",3,"click","keydown.enter","keydown.space"],[1,"sort"],["mat-cell",""],["mat-header-cell",""],[1,"kind-badge",3,"enhanced"],[1,"kind-badge"],["mat-header-row",""],["mat-row","",3,"click"],["role","dialog","aria-modal","true","cdkTrapFocus","",1,"viewer",3,"click","cdkTrapFocusAutoCapture"],["mat-icon-button","","aria-label","Close image viewer",1,"viewer-btn","viewer-close",3,"click"],[1,"viewer-figure",3,"click"],["mat-icon-button","","aria-label","Previous image",1,"viewer-btn","viewer-prev",3,"click"],["mat-icon-button","","aria-label","Next image",1,"viewer-btn","viewer-next",3,"click"]],template:function(e,t){if(e&1&&(s(0,"div",0)(1,"mat-toolbar")(2,"mat-icon",1),f(3,"tips_and_updates"),l(),s(4,"span",2),f(5,"What's New"),l(),ee(6,"span",3),s(7,"button",4),k("click",function(){return t.dialogRef.close()}),s(8,"mat-icon"),f(9,"close"),l()()(),y(10,wn,2,0,"div",5)(11,yn,5,0,"div",5)(12,Wn,26,8),y(13,Xn,8,6,"div",6),l()),e&2){let i;c(10),C(t.loading()?10:t.all().length===0?11:12),c(3),C((i=t.viewerImage())?13:-1,i)}},dependencies:[Ct,gt,wt,yt,ut,Tt,Ft,ft,mt,_t,ht,Rt,kt,xt,bt,Mt,St,nn,Qt,Kt,Zt,Yt,Wt,Jt,Xt,Gt,en,tn,Dt,vt,ct,lt,Pt,Et,Je],styles:[".feature-browser[_ngcontent-%COMP%]{position:relative;display:flex;flex-direction:column;width:100%;height:72vh;max-height:680px}mat-toolbar[_ngcontent-%COMP%]{min-height:48px;height:48px;gap:8px;border-bottom:1px solid var(--mat-sys-outline-variant, #e0e0e0)}mat-toolbar[_ngcontent-%COMP%] .title[_ngcontent-%COMP%]{font-size:1rem;font-weight:500}.spacer[_ngcontent-%COMP%]{flex:1 1 auto}.details[_ngcontent-%COMP%]{flex:1 1 55%;overflow:auto;padding:20px 20px 16px;min-height:0}.details[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{margin:0 0 10px;font-size:1.3rem;font-weight:500;line-height:1.2}.details[_ngcontent-%COMP%] .meta[_ngcontent-%COMP%]{display:flex;align-items:center;gap:10px;margin-bottom:14px}.details-flow[_ngcontent-%COMP%]{display:flow-root}.details[_ngcontent-%COMP%] .body[_ngcontent-%COMP%]{line-height:1.6}figure.shot[_ngcontent-%COMP%]{float:right;clear:right;width:46%;max-width:300px;margin:2px 0 12px 16px;cursor:pointer}figure.shot.lead[_ngcontent-%COMP%]{margin-top:0}figure.shot[_ngcontent-%COMP%]:focus-visible, th[mat-header-cell][_ngcontent-%COMP%]:focus-visible{outline:2px solid var(--mat-sys-primary, #415f91);outline-offset:2px}figure.shot[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{display:block;width:100%;height:auto;border-radius:8px;border:1px solid var(--mat-sys-outline-variant, #d8dae0);box-shadow:0 1px 6px #00000024}figure.shot[_ngcontent-%COMP%] figcaption[_ngcontent-%COMP%]{margin-top:4px;font-size:.75rem;font-style:italic;text-align:center;color:var(--mat-sys-on-surface-variant, #6b7079)}.details[_ngcontent-%COMP%] .body[_ngcontent-%COMP%] [_ngcontent-%COMP%]:first-child{margin-top:0}.cat-chip[_ngcontent-%COMP%]{display:inline-block;padding:2px 10px;border-radius:11px;font-size:.72rem;font-weight:500;line-height:1.5;white-space:nowrap;background:hsl(var(--cat-hue, 210) 58% 90%);color:hsl(var(--cat-hue, 210) 42% 30%)}.since-badge[_ngcontent-%COMP%]{font-size:.72rem;font-weight:500;padding:2px 10px;border-radius:11px;white-space:nowrap;background:#e4f4e8;color:#1b5e20}.since-badge.enhanced[_ngcontent-%COMP%]{background:#e2eefc;color:#0d47a1}.details[_ngcontent-%COMP%] .since[_ngcontent-%COMP%]{font-size:.8rem;opacity:.7}.whats-new[_ngcontent-%COMP%]{display:flow-root;margin:0 0 14px;padding:8px 12px;border-radius:8px;border-left:3px solid var(--mat-sys-primary, #415f91);background:var(--mat-sys-primary-container, #d7e2ff);color:var(--mat-sys-on-primary-container, #274777)}.whats-new-title[_ngcontent-%COMP%]{display:flex;align-items:center;gap:6px;font-size:.72rem;font-weight:600;letter-spacing:.02em;text-transform:uppercase}.whats-new-title[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{font-size:16px;width:16px;height:16px}.whats-new[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{margin:5px 0 0;padding-left:20px;font-size:.85rem;line-height:1.5}.whats-new-more[_ngcontent-%COMP%]{margin-top:5px;padding:0;border:0;background:none;font:inherit;font-size:.8rem;color:inherit;text-decoration:underline;cursor:pointer}.pr-history[_ngcontent-%COMP%]{display:flow-root;margin-top:18px;padding-top:12px;border-top:1px solid var(--mat-sys-outline-variant, #e0e0e0)}.pr-history-title[_ngcontent-%COMP%]{font-size:.72rem;font-weight:600;letter-spacing:.02em;text-transform:uppercase;color:var(--mat-sys-on-surface-variant, #565a63);margin-bottom:6px}.pr-table[_ngcontent-%COMP%]{width:100%;border-collapse:collapse;font-size:.85rem}.pr-table[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{padding:4px 10px 4px 0;vertical-align:top;border-bottom:1px solid var(--mat-sys-outline-variant, #f0f0f0)}.pr-table[_ngcontent-%COMP%] .pr-date[_ngcontent-%COMP%]{white-space:nowrap;width:1%;color:var(--mat-sys-on-surface-variant, #6b7079)}.pr-table[_ngcontent-%COMP%] .pr-num[_ngcontent-%COMP%]{white-space:nowrap;width:1%}.pr-table[_ngcontent-%COMP%] .pr-num[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{color:var(--mat-sys-primary, #415f91);text-decoration:none;font-weight:500}.pr-table[_ngcontent-%COMP%] .pr-num[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover{text-decoration:underline}.pr-table[_ngcontent-%COMP%] .pr-title[_ngcontent-%COMP%]{width:100%}.list[_ngcontent-%COMP%]{flex:1 1 45%;display:flex;flex-direction:column;min-height:0;border-top:1px solid var(--mat-sys-outline-variant, #e0e0e0)}.list[_ngcontent-%COMP%] .search[_ngcontent-%COMP%]{margin:8px 14px 0}.list[_ngcontent-%COMP%] .search[_ngcontent-%COMP%] .mat-mdc-text-field-wrapper{padding-top:0;padding-bottom:0}.list[_ngcontent-%COMP%] .search[_ngcontent-%COMP%] .mat-mdc-form-field-infix{min-height:38px;padding-top:7px;padding-bottom:7px}.list[_ngcontent-%COMP%] .search[_ngcontent-%COMP%] input.mat-mdc-input-element{font-size:.875rem}.table-scroll[_ngcontent-%COMP%]{flex:1 1 auto;overflow:auto}table[_ngcontent-%COMP%]{width:100%;background:transparent}tr[mat-row][_ngcontent-%COMP%], tr[mat-header-row][_ngcontent-%COMP%]{height:42px}td[mat-cell][_ngcontent-%COMP%], th[mat-header-cell][_ngcontent-%COMP%]{padding-top:4px;padding-bottom:4px;border-bottom-color:var(--mat-sys-outline-variant, #eee)}th[mat-header-cell][_ngcontent-%COMP%]{cursor:pointer;-webkit-user-select:none;user-select:none;white-space:nowrap;font-weight:600;font-size:.72rem;letter-spacing:.02em;text-transform:uppercase;color:var(--mat-sys-on-surface-variant, #565a63);background-color:var(--mat-sys-surface, #fff)}.sort[_ngcontent-%COMP%]{font-size:16px;height:16px;width:16px;vertical-align:middle;opacity:.7}tr[mat-row][_ngcontent-%COMP%]{cursor:pointer;transition:background-color .12s ease}tr[mat-row][_ngcontent-%COMP%]:hover td[_ngcontent-%COMP%]{background:#415f9112}tr[mat-row].active[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{background:var(--mat-sys-primary-container, #d7e2ff);color:var(--mat-sys-on-primary-container, #274777);font-weight:500}tr[mat-row].active[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:first-child{box-shadow:inset 3px 0 0 0 var(--mat-sys-primary, #415f91)}.kind-badge[_ngcontent-%COMP%]{display:inline-block;padding:1px 9px;border-radius:10px;font-size:.7rem;font-weight:500;white-space:nowrap;background:#e4f4e8;color:#1b5e20}.kind-badge.enhanced[_ngcontent-%COMP%]{background:#e2eefc;color:#0d47a1}.empty[_ngcontent-%COMP%]{padding:32px 16px;text-align:center;opacity:.7}.empty[_ngcontent-%COMP%] .empty-icon[_ngcontent-%COMP%]{font-size:40px;height:40px;width:40px;opacity:.5}.viewer[_ngcontent-%COMP%]{position:absolute;inset:0;z-index:1000;display:flex;align-items:center;justify-content:center;padding:44px;background:#000000d1}.viewer-figure[_ngcontent-%COMP%]{margin:0;max-width:100%;max-height:100%;display:flex;flex-direction:column;align-items:center}.viewer-figure[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{max-width:100%;max-height:78vh;object-fit:contain;border-radius:4px;box-shadow:0 6px 28px #0000008c}.viewer-figure[_ngcontent-%COMP%] figcaption[_ngcontent-%COMP%]{margin-top:12px;color:#fff;font-size:.85rem;text-align:center}.viewer-btn[_ngcontent-%COMP%]{position:absolute;color:#fff}.viewer-close[_ngcontent-%COMP%]{top:6px;right:6px}.viewer-prev[_ngcontent-%COMP%]{top:50%;left:6px;transform:translateY(-50%)}.viewer-next[_ngcontent-%COMP%]{top:50%;right:6px;transform:translateY(-50%)}.dark-theme[_nghost-%COMP%], .dark-theme [_nghost-%COMP%]{--mat-sys-surface: #181211;--mat-sys-on-surface: #ede0dd;--mat-sys-on-surface-variant: #cabfbc;--mat-sys-outline-variant: #4a4340;--mat-sys-primary: #adc6ff;--mat-sys-primary-container: #2b3b57;--mat-sys-on-primary-container: #d7e2ff}.dark-theme[_nghost-%COMP%] .feature-browser[_ngcontent-%COMP%], .dark-theme [_nghost-%COMP%] .feature-browser[_ngcontent-%COMP%]{color:var(--mat-sys-on-surface)}.dark-theme[_nghost-%COMP%] .details[_ngcontent-%COMP%] .body[_ngcontent-%COMP%] a, .dark-theme [_nghost-%COMP%] .details[_ngcontent-%COMP%] .body[_ngcontent-%COMP%] a{color:var(--mat-sys-primary)}"]})};export{on as FeatureBrowserDialog};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{a as Na}from"./chunk-
|
|
1
|
+
import{a as Na}from"./chunk-3QUJEXF6.js";import{a as Pa,b as La}from"./chunk-XB3A3UP3.js";import{a as xa}from"./chunk-HYKTIWCS.js";import{b as Ya,d as Ba,f as Ha,g as Ct,h as $e,i as za,j as Xe,k as Wa,l as Ka,m as ja,n as qa,o as Ga}from"./chunk-2BXQ52IR.js";import{$ as Q,$a as Be,$c as qe,$d as Ia,Ad as ba,Bc as na,Bd as ft,Da as C,Dd as ya,Ea as R,Fa as P,Fc as Ke,G as se,Gd as va,H as it,Ha as Ve,Hb as ea,Hc as ne,Hd as Da,I as _e,Ia as $,Ic as ht,Id as Ca,Ja as X,Jd as wa,K as rt,Ka as u,L as ge,La as d,M as le,Ma as c,Mb as We,N as E,Na as w,Nc as ut,O as jt,Oa as N,Oc as ia,Od as Ma,P as s,Pa as Y,Pc as T,Q as b,Qa as Xt,Qc as ra,Qd as Ge,R as y,Rc as je,Rd as bt,S as de,Sc as oa,Sd as ka,T as ot,Td as Oe,U as fe,Ua as Z,Uc as sa,V as qt,Va as J,Vc as la,Wa as g,Wb as V,Wc as da,Wd as Qe,X as p,Xa as Zt,Xc as ca,Y as st,Ya as h,Yb as M,Yc as pa,Yd as Aa,Z as _,Za as me,Zb as pt,Zc as _t,Zd as Sa,_a as ee,_c as gt,_d as Ea,a as W,aa as Gt,ab as B,ae as Va,bb as v,be as Ue,c as S,ca as U,cb as D,dd as ma,de as yt,ed as ve,ee as Ta,fe as vt,gb as He,hb as ze,he as Oa,i as Ne,ib as I,ja as l,ka as lt,kb as be,ke as Dt,l as nt,lb as m,lc as ta,ld as ha,mb as x,md as ua,na as Ee,nb as ae,nc as mt,nd as _a,ne as Fa,o as Kt,ob as ct,oc as aa,pa as Qt,pb as K,pc as he,pe as Ra,qa as Ut,qb as j,ra as k,rb as q,s as te,sa as ce,sd as ga,t as xe,ta as pe,tc as ue,va as dt,vd as Te,wa as Ie,wb as G,wd as fa,xb as Jt,xc as ye,ya as $t,z as Ye}from"./chunk-P5GLUSCN.js";import{a as zt,b as Wt}from"./chunk-EQVTEUXC.js";var yn=["text"],vn=[[["mat-icon"]],"*"],Dn=["mat-icon","*"];function Cn(i,o){if(i&1&&w(0,"mat-pseudo-checkbox",1),i&2){let e=h();u("disabled",e.disabled)("state",e.selected?"checked":"unchecked")}}function wn(i,o){if(i&1&&w(0,"mat-pseudo-checkbox",3),i&2){let e=h();u("disabled",e.disabled)}}function Mn(i,o){if(i&1&&(d(0,"span",4),m(1),c()),i&2){let e=h();l(),ae("(",e.group.label,")")}}var Mt=new E("MAT_OPTION_PARENT_COMPONENT"),kt=new E("MatOptgroup");var wt=class{source;isUserInput;constructor(o,e=!1){this.source=o,this.isUserInput=e}},De=(()=>{class i{_element=s(U);_changeDetectorRef=s(V);_parent=s(Mt,{optional:!0});group=s(kt,{optional:!0});_signalDisableRipple=!1;_selected=!1;_active=!1;_mostRecentViewValue="";get multiple(){return this._parent&&this._parent.multiple}get selected(){return this._selected}value;id=s(ne).getId("mat-option-");get disabled(){return this.group&&this.group.disabled||this._disabled()}set disabled(e){this._disabled.set(e)}_disabled=_(!1);get disableRipple(){return this._signalDisableRipple?this._parent.disableRipple():!!this._parent?.disableRipple}get hideSingleSelectionIndicator(){return!!(this._parent&&this._parent.hideSingleSelectionIndicator)}onSelectionChange=new p;_text;_stateChanges=new S;constructor(){let e=s(he);e.load(Ge),e.load(ve),this._signalDisableRipple=!!this._parent&&$t(this._parent.disableRipple)}get active(){return this._active}get viewValue(){return(this._text?.nativeElement.textContent||"").trim()}select(e=!0){this._selected||(this._selected=!0,this._changeDetectorRef.markForCheck(),e&&this._emitSelectionChangeEvent())}deselect(e=!0){this._selected&&(this._selected=!1,this._changeDetectorRef.markForCheck(),e&&this._emitSelectionChangeEvent())}focus(e,t){let a=this._getHostElement();typeof a.focus=="function"&&a.focus(t)}setActiveStyles(){this._active||(this._active=!0,this._changeDetectorRef.markForCheck())}setInactiveStyles(){this._active&&(this._active=!1,this._changeDetectorRef.markForCheck())}getLabel(){return this.viewValue}_handleKeydown(e){(e.keyCode===13||e.keyCode===32)&&!T(e)&&(this._selectViaInteraction(),e.preventDefault())}_selectViaInteraction(){this.disabled||(this._selected=this.multiple?!this._selected:!0,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent(!0))}_getTabIndex(){return this.disabled?"-1":"0"}_getHostElement(){return this._element.nativeElement}ngAfterViewChecked(){if(this._selected){let e=this.viewValue;e!==this._mostRecentViewValue&&(this._mostRecentViewValue&&this._stateChanges.next(),this._mostRecentViewValue=e)}}ngOnDestroy(){this._stateChanges.complete()}_emitSelectionChangeEvent(e=!1){this.onSelectionChange.emit(new wt(this,e))}static \u0275fac=function(t){return new(t||i)};static \u0275cmp=k({type:i,selectors:[["mat-option"]],viewQuery:function(t,a){if(t&1&&B(yn,7),t&2){let n;v(n=D())&&(a._text=n.first)}},hostAttrs:["role","option",1,"mat-mdc-option","mdc-list-item"],hostVars:11,hostBindings:function(t,a){t&1&&g("click",function(){return a._selectViaInteraction()})("keydown",function(r){return a._handleKeydown(r)}),t&2&&(J("id",a.id),C("aria-selected",a.selected)("aria-disabled",a.disabled.toString()),I("mdc-list-item--selected",a.selected)("mat-mdc-option-multiple",a.multiple)("mat-mdc-option-active",a.active)("mdc-list-item--disabled",a.disabled))},inputs:{value:"value",id:"id",disabled:[2,"disabled","disabled",M]},outputs:{onSelectionChange:"onSelectionChange"},exportAs:["matOption"],ngContentSelectors:Dn,decls:8,vars:5,consts:[["text",""],["aria-hidden","true",1,"mat-mdc-option-pseudo-checkbox",3,"disabled","state"],[1,"mdc-list-item__primary-text"],["state","checked","aria-hidden","true","appearance","minimal",1,"mat-mdc-option-pseudo-checkbox",3,"disabled"],[1,"cdk-visually-hidden"],["aria-hidden","true","mat-ripple","",1,"mat-mdc-option-ripple","mat-focus-indicator",3,"matRippleTrigger","matRippleDisabled"]],template:function(t,a){t&1&&(me(vn),R(0,Cn,1,2,"mat-pseudo-checkbox",1),ee(1),d(2,"span",2,0),ee(4,1),c(),R(5,wn,1,1,"mat-pseudo-checkbox",3),R(6,Mn,2,1,"span",4),w(7,"div",5)),t&2&&(P(a.multiple?0:-1),l(5),P(!a.multiple&&a.selected&&!a.hideSingleSelectionIndicator?5:-1),l(),P(a.group&&a.group._inert?6:-1),l(),u("matRippleTrigger",a._getHostElement())("matRippleDisabled",a.disabled||a.disableRipple))},dependencies:[Pa,Ma],styles:[`.mat-mdc-option {
|
|
2
2
|
-webkit-user-select: none;
|
|
3
3
|
user-select: none;
|
|
4
4
|
-moz-osx-font-smoothing: grayscale;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{Ca as a}from"./chunk-RK5KJWPC.js";import"./chunk-SYVLSUHP.js";import"./chunk-R7KV75Y6.js";import"./chunk-EJ5G7BX7.js";import"./chunk-66UI7RYU.js";import"./chunk-3QUJEXF6.js";import"./chunk-XB3A3UP3.js";import"./chunk-HYKTIWCS.js";import"./chunk-DSS236J5.js";import"./chunk-2BXQ52IR.js";import"./chunk-P5GLUSCN.js";import"./chunk-EQVTEUXC.js";export{a as GeoJSONImportDialog};
|