@whoz-oss/coday-client 0.249.0 → 0.249.2
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/3rdpartylicenses.txt +372 -372
- package/browser/chunk-6uQvW5vO.js +1 -0
- package/browser/chunk-8QCOKWfy.js +1 -0
- package/browser/chunk-B0QeL_YS.js +474 -0
- package/browser/chunk-B1T1lhxO.js +1 -0
- package/browser/chunk-B4ZxVpmQ.js +1 -0
- package/browser/chunk-B9VW5ZdD.js +1 -0
- package/browser/chunk-BGG8qTjD.js +1 -0
- package/browser/chunk-BHrJwQJY.js +1 -0
- package/browser/chunk-BWVGuXWV.js +1 -0
- package/browser/chunk-BXRE8Jnn.js +1 -0
- package/browser/chunk-BXeg32ej.js +1 -0
- package/browser/chunk-BYobt-yL.js +1 -0
- package/browser/chunk-Bb8FM5N7.js +1 -0
- package/browser/chunk-BbkTgcYb.js +1 -0
- package/browser/chunk-BngP4FHh.js +2 -0
- package/browser/chunk-Bo7V2O_x.js +1 -0
- package/browser/chunk-CEFRpdhC.js +1 -0
- package/browser/chunk-CESBNo1v.js +4 -0
- package/browser/chunk-CI20rCP1.js +1 -0
- package/browser/chunk-CMgbU-FY.js +1 -0
- package/browser/chunk-CRujMca4.js +1 -0
- package/browser/chunk-CSLsbjtc.js +429 -0
- package/browser/chunk-CSWaefpi.js +1 -0
- package/browser/chunk-C_hps2N_.js +1 -0
- package/browser/chunk-CawleOYk.js +1 -0
- package/browser/chunk-CeEsFGfn.js +276 -0
- package/browser/chunk-CfgXrte_.js +1 -0
- package/browser/chunk-ChlM0KaI.js +1 -0
- package/browser/chunk-Cl7N3gK-.js +2 -0
- package/browser/chunk-CoVKXwLW.js +7 -0
- package/browser/chunk-CtCrz21E.js +1 -0
- package/browser/chunk-CujZ5wxO.js +1 -0
- package/browser/chunk-Cvmc37VM.js +1 -0
- package/browser/chunk-CyUSpM0s.js +1 -0
- package/browser/chunk-D36CcRIa.js +1 -0
- package/browser/chunk-D3bTMcOe.js +1 -0
- package/browser/chunk-D4O2SdR-.js +1 -0
- package/browser/chunk-D615HDbJ.js +37 -0
- package/browser/chunk-D8jkRlhn.js +141 -0
- package/browser/chunk-DATqkmXk.js +1 -0
- package/browser/chunk-DF9JuMSS.js +1 -0
- package/browser/chunk-DIeUX6U7.js +1 -0
- package/browser/chunk-DVw6VVSF.js +182 -0
- package/browser/chunk-DW95Jf_o.js +1 -0
- package/browser/chunk-DWXHIgAs.js +1 -0
- package/browser/chunk-Dc58xQxP.js +1 -0
- package/browser/chunk-Df2NmKyO.js +190 -0
- package/browser/chunk-Dh70Sw4n.js +675 -0
- package/browser/chunk-DqOy3vx6.js +55 -0
- package/browser/chunk-DrzUXE6a.js +1 -0
- package/browser/chunk-DuetvIR9.js +1 -0
- package/browser/chunk-Dv3y4cq8.js +508 -0
- package/browser/chunk-DxyVrxwh.js +1 -0
- package/browser/chunk-Ims5pjdx.js +1 -0
- package/browser/chunk-Js79q0Hk.js +1 -0
- package/browser/chunk-NZ2JSd9Y.js +976 -0
- package/browser/chunk-R1YuCBfk.js +1 -0
- package/browser/chunk-Tnt17Uum.js +1 -0
- package/browser/chunk-TsE9fL5L.js +1 -0
- package/browser/chunk-ZgaZX2Mw.js +1 -0
- package/browser/chunk-cxvtBPGk.js +1 -0
- package/browser/chunk-hivMYdms.js +5 -0
- package/browser/chunk-hpkckHAH.js +1 -0
- package/browser/chunk-otU95DGd.js +1 -0
- package/browser/chunk-rdNDu_G5.js +61 -0
- package/browser/chunk-sQ2hJaJy.js +1 -0
- package/browser/chunk-tiXMntK-.js +1 -0
- package/browser/index.html +1 -1
- package/browser/main-CERDHS7N.js +1811 -0
- package/package.json +14 -11
- package/browser/chunk-2PWIGCN2.js +0 -4
- package/browser/chunk-3FDPLGME.js +0 -1
- package/browser/chunk-46V5PCBB.js +0 -1
- package/browser/chunk-4KA7TIB4.js +0 -1
- package/browser/chunk-4NPMNHQN.js +0 -1
- package/browser/chunk-4OSUCDSF.js +0 -1
- package/browser/chunk-4QBMPKYR.js +0 -1
- package/browser/chunk-4U47ZPZP.js +0 -1
- package/browser/chunk-5GITXCTT.js +0 -1
- package/browser/chunk-6PGRBK22.js +0 -2
- package/browser/chunk-6XX7GME4.js +0 -1
- package/browser/chunk-7HQ3TFIP.js +0 -1
- package/browser/chunk-7OGOI6WM.js +0 -1
- package/browser/chunk-7P7KJUWV.js +0 -1
- package/browser/chunk-7SEGP55P.js +0 -1
- package/browser/chunk-7TO465TS.js +0 -1
- package/browser/chunk-ABU55DK2.js +0 -1
- package/browser/chunk-AIC4U2MU.js +0 -1
- package/browser/chunk-AKLSF437.js +0 -32
- package/browser/chunk-AS2L77JV.js +0 -2
- package/browser/chunk-AZOMCTR7.js +0 -1
- package/browser/chunk-AZSB2H23.js +0 -1
- package/browser/chunk-B5ZVUFND.js +0 -1
- package/browser/chunk-BK6WNBAO.js +0 -8
- package/browser/chunk-BTOJ27OO.js +0 -3
- package/browser/chunk-C6PO7H3U.js +0 -1
- package/browser/chunk-C7VJCZQE.js +0 -2
- package/browser/chunk-CHEXA6RY.js +0 -5
- package/browser/chunk-CJQ4FDXR.js +0 -1
- package/browser/chunk-CLTMZI2I.js +0 -2
- package/browser/chunk-CNUJJQAG.js +0 -4
- package/browser/chunk-CXNTZ6XI.js +0 -1
- package/browser/chunk-DIJGQPPG.js +0 -1
- package/browser/chunk-EMVHTOJY.js +0 -1
- package/browser/chunk-EWQMM44H.js +0 -1
- package/browser/chunk-F7UYEPIO.js +0 -1
- package/browser/chunk-FAHNOZ4S.js +0 -1
- package/browser/chunk-FELDR7HF.js +0 -1
- package/browser/chunk-FFXIBE7G.js +0 -1
- package/browser/chunk-FL2HNVMC.js +0 -1
- package/browser/chunk-G5RWG2GK.js +0 -9
- package/browser/chunk-GFK56P4B.js +0 -3
- package/browser/chunk-GIIRKWUO.js +0 -1
- package/browser/chunk-GNUSEOSN.js +0 -1
- package/browser/chunk-GOERELOH.js +0 -1
- package/browser/chunk-GS52HX7Q.js +0 -1
- package/browser/chunk-IPWNT3U4.js +0 -1
- package/browser/chunk-IWVV3FNS.js +0 -1
- package/browser/chunk-J6NBYNRX.js +0 -3
- package/browser/chunk-JOFWSHOO.js +0 -1
- package/browser/chunk-JVZA4C5U.js +0 -1
- package/browser/chunk-K2ZZYRVT.js +0 -1
- package/browser/chunk-KHCLVVXY.js +0 -1
- package/browser/chunk-KHMEGI4Z.js +0 -1
- package/browser/chunk-KSZNM45C.js +0 -2
- package/browser/chunk-L2LMV4CM.js +0 -1
- package/browser/chunk-LPIKNWWZ.js +0 -1
- package/browser/chunk-LVZVGPMV.js +0 -6
- package/browser/chunk-MHOEYCWL.js +0 -1
- package/browser/chunk-MIVM4FAD.js +0 -1
- package/browser/chunk-MNWA4UGA.js +0 -1
- package/browser/chunk-MXD6ICBN.js +0 -1
- package/browser/chunk-NHUXMXD2.js +0 -1
- package/browser/chunk-NLCT6PBH.js +0 -1
- package/browser/chunk-NQHQFPW5.js +0 -2
- package/browser/chunk-NWFFZ2FW.js +0 -1
- package/browser/chunk-NXINMPV4.js +0 -1
- package/browser/chunk-OCMS2KMG.js +0 -1
- package/browser/chunk-OO2H5F7U.js +0 -6
- package/browser/chunk-OOO6KSSL.js +0 -1
- package/browser/chunk-P4UYIBTK.js +0 -1
- package/browser/chunk-P5FCG3WF.js +0 -1
- package/browser/chunk-PGEMQVT2.js +0 -1
- package/browser/chunk-PI7ZIR5W.js +0 -1
- package/browser/chunk-PNPPZSOI.js +0 -1
- package/browser/chunk-QVW2GZXC.js +0 -1
- package/browser/chunk-QYUULQIF.js +0 -1
- package/browser/chunk-RB7N2NWN.js +0 -1
- package/browser/chunk-ROOPYJTV.js +0 -1
- package/browser/chunk-RSTB4RTA.js +0 -1
- package/browser/chunk-RUXH3KF5.js +0 -1
- package/browser/chunk-SFQE4GQ6.js +0 -1
- package/browser/chunk-SN27D3CH.js +0 -1
- package/browser/chunk-SPV5SLNS.js +0 -2
- package/browser/chunk-SQACXL4U.js +0 -1
- package/browser/chunk-SVOSTUY5.js +0 -1
- package/browser/chunk-SXFAR5TU.js +0 -1
- package/browser/chunk-TSYL5EEO.js +0 -61
- package/browser/chunk-TTHFWEW7.js +0 -6
- package/browser/chunk-UAC4ZZCA.js +0 -1
- package/browser/chunk-UAVOIVZW.js +0 -2
- package/browser/chunk-UKR2PSUI.js +0 -1
- package/browser/chunk-VCUQMGKI.js +0 -1
- package/browser/chunk-VMYKE4ZC.js +0 -1
- package/browser/chunk-VN2SNJFT.js +0 -1
- package/browser/chunk-WARAZYNV.js +0 -1
- package/browser/chunk-WLOUHJRC.js +0 -1
- package/browser/chunk-WNJYWSOR.js +0 -1
- package/browser/chunk-WRMHUQWQ.js +0 -1
- package/browser/chunk-WVXEP3PL.js +0 -1
- package/browser/chunk-XIV35L24.js +0 -1
- package/browser/chunk-XORVTVXX.js +0 -1
- package/browser/chunk-XXVFHAN5.js +0 -270
- package/browser/chunk-XZIT26QS.js +0 -1
- package/browser/chunk-YFCRBVWD.js +0 -1
- package/browser/chunk-YFONUBPG.js +0 -1
- package/browser/chunk-YGUO4DH3.js +0 -1
- package/browser/chunk-YJOXSEUO.js +0 -1
- package/browser/chunk-YV2SJQAM.js +0 -1
- package/browser/chunk-Z3AHFIZF.js +0 -1
- package/browser/chunk-ZEQWC4IU.js +0 -1
- package/browser/main-7VP3QZBV.js +0 -1
|
@@ -0,0 +1,190 @@
|
|
|
1
|
+
import {c as ce,s as se,b as at$1,d as de}from'./chunk-NZ2JSd9Y.js';import {M as Mr,a as ur,h as hr,f as ft,z as zi,F as Fn,H as Hi$1}from'./chunk-Dh70Sw4n.js';import {W as We,Q as Qt$1}from'./chunk-Dv3y4cq8.js';import {aK as Do,aL as Wn,bC as ge,aN as wt,bD as vt,g,bM as F,br as wl,az as Qt,bs as Qn,aS as Ut,aQ as As,c3 as On,aV as w,aR as K,an as ce$1,H as Hi,bP as Zy,bQ as bd,bR as ga,bO as Yy,al as yt,ae as Ot,u as ue,bx as am,c4 as Et,ap as Vy,aA as sn,bt as Ve,c5 as Rt,bG as Pt$1,c0 as E,A as Aw,c6 as _e$1,aC as wu,aZ as YT,c7 as QT,bz as vC,v as vs,l as Ag,n as eC,k as dl,c8 as kf,o as bg,af as Dg,T as TC,X as XE,C as Cg,t as tC,r as Tg,b4 as nT,y as Hg,D as Fg,I as IC,E as wC,bu as kg,bK as pe,c2 as kt,W as WC,ac as mC,a8 as Zg,a9 as dC,aa as If,ab as wf,bA as DC,b_ as FC}from'./main-CERDHS7N.js';import {_,b as _e,d as an,E as En}from'./chunk-D615HDbJ.js';var Qe=["trigger"],Ye=["panel"],Ue=[[["mat-select-trigger"]],"*"],Xe=["mat-select-trigger","*"];function Je(a,_){if(a&1&&(vs(0,"span",4),WC(1),dl()),a&2){let e=mC();XE(),Zg(e.placeholder);}}function Ze(a,_){a&1&&DC(0);}function $e(a,_){if(a&1&&(vs(0,"span",11),WC(1),dl()),a&2){let e=mC(2);XE(),Zg(e.triggerValue);}}function et(a,_){if(a&1&&(vs(0,"span",5),eC(1,Ze,1,0)(2,$e,2,1,"span",11),dl()),a&2){let e=mC();XE(),tC(e.customTrigger?1:2);}}function tt(a,_){if(a&1){let e=dC();vs(0,"div",12,1),Ag("keydown",function(i){If(e);let n=mC();return wf(n._handleKeydown(i))}),DC(2,1),dl();}if(a&2){let e=mC();FC(e.panelClass),Hg("mat-select-panel-animations-enabled",!e._animationsDisabled)("mat-primary",e._parentFormField?.color==="primary")("mat-accent",e._parentFormField?.color==="accent")("mat-warn",e._parentFormField?.color==="warn")("mat-undefined",!e._parentFormField?.color),Cg("id",e.id+"-panel")("aria-multiselectable",e.multiple)("aria-label",e.ariaLabel||null)("aria-labelledby",e._getPanelAriaLabelledby());}}var it=new w("mat-select-scroll-strategy",{providedIn:"root",factory:()=>{let a=g(pe);return ()=>kt(a)}}),nt=new w("MAT_SELECT_CONFIG"),at=new w("MatSelectTrigger"),B=class{source;value;constructor(_,e){this.source=_,this.value=e;}},Lt=(()=>{class a{_viewportRuler=g(F);_changeDetectorRef=g(wl);_elementRef=g(Qt);_dir=g(Qn,{optional:true});_idGenerator=g(Ut);_renderer=g(As);_parentFormField=g(se,{optional:true});ngControl=g(_,{self:true,optional:true});_liveAnnouncer=g(On);_defaultOptions=g(nt,{optional:true});_animationsDisabled=K();_popoverLocation;_initialized=new ce$1;_cleanupDetach;options;optionGroups;customTrigger;_positions=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"},{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom",panelClass:"mat-mdc-select-panel-above"},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom",panelClass:"mat-mdc-select-panel-above"}];_scrollOptionIntoView(e){let t=this.options.toArray()[e];if(t){let i=this.panel.nativeElement,n=ur(e,this.options,this.optionGroups),r=t._getHostElement();e===0&&n===1?i.scrollTop=0:i.scrollTop=hr(r.offsetTop,r.offsetHeight,i.scrollTop,i.offsetHeight);}}_positioningSettled(){this._scrollOptionIntoView(this._keyManager.activeItemIndex||0);}_getChangeEvent(e){return new B(this,e)}_scrollStrategyFactory=g(it);_panelOpen=false;_compareWith=(e,t)=>e===t;_uid=this._idGenerator.getId("mat-select-");_triggerAriaLabelledBy=null;_previousControl;_destroy=new ce$1;_errorStateTracker;stateChanges=new ce$1;disableAutomaticLabeling=true;userAriaDescribedBy;_selectionModel;_keyManager;_preferredOverlayOrigin;_overlayWidth;_onChange=()=>{};_onTouched=()=>{};_valueId=this._idGenerator.getId("mat-select-value-");_scrollStrategy;_overlayPanelClass=this._defaultOptions?.overlayPanelClass||"";get focused(){return this._focused||this._panelOpen}_focused=false;controlType="mat-select";trigger;panel;_overlayDir;panelClass;disabled=false;get disableRipple(){return this._disableRipple()}set disableRipple(e){this._disableRipple.set(e);}_disableRipple=Hi(false);tabIndex=0;get hideSingleSelectionIndicator(){return this._hideSingleSelectionIndicator}set hideSingleSelectionIndicator(e){this._hideSingleSelectionIndicator=e,this._syncParentProperties();}_hideSingleSelectionIndicator=this._defaultOptions?.hideSingleSelectionIndicator??false;get placeholder(){return this._placeholder}set placeholder(e){this._placeholder=e,this.stateChanges.next();}_placeholder;get required(){return this._required??this.ngControl?.control?.hasValidator(_e.required)??false}set required(e){this._required=e,this.stateChanges.next();}_required;get multiple(){return this._multiple}set multiple(e){this._selectionModel,this._multiple=e;}_multiple=false;disableOptionCentering=this._defaultOptions?.disableOptionCentering??false;get compareWith(){return this._compareWith}set compareWith(e){this._compareWith=e,this._selectionModel&&this._initializeSelection();}get value(){return this._value}set value(e){this._assignValue(e)&&this._onChange(e);}_value;ariaLabel="";ariaLabelledby;get errorStateMatcher(){return this._errorStateTracker.matcher}set errorStateMatcher(e){this._errorStateTracker.matcher=e;}typeaheadDebounceInterval;sortComparator;get id(){return this._id}set id(e){this._id=e||this._uid,this.stateChanges.next();}_id;get errorState(){return this._errorStateTracker.errorState}set errorState(e){this._errorStateTracker.errorState=e;}panelWidth=this._defaultOptions&&typeof this._defaultOptions.panelWidth<"u"?this._defaultOptions.panelWidth:"auto";canSelectNullableOptions=this._defaultOptions?.canSelectNullableOptions??false;optionSelectionChanges=Zy(()=>{let e=this.options;return e?e.changes.pipe(bd(e),ga(()=>Yy(...e.map(t=>t.onSelectionChange)))):this._initialized.pipe(ga(()=>this.optionSelectionChanges))});openedChange=new yt;_openedStream=this.openedChange.pipe(Ot(e=>e),ue(()=>{}));_closedStream=this.openedChange.pipe(Ot(e=>!e),ue(()=>{}));selectionChange=new yt;valueChange=new yt;constructor(){let e=g(We),t=g(an,{optional:true}),i=g(En,{optional:true}),n=g(new am("tabindex"),{optional:true}),r=g(Et,{optional:true}),d=g(at$1,{optional:true,self:true});this.ngControl&&(this.ngControl.valueAccessor=this),this._defaultOptions?.typeaheadDebounceInterval!=null&&(this.typeaheadDebounceInterval=this._defaultOptions.typeaheadDebounceInterval),this._errorStateTracker=new Qt$1(e,d||this.ngControl,i,t,this.stateChanges),this._scrollStrategy=this._scrollStrategyFactory(),this.tabIndex=n==null?0:parseInt(n)||0,this._popoverLocation=r?.usePopover===false?null:"inline",this.id=this.id;}ngOnInit(){this._selectionModel=new ft(this.multiple),this.stateChanges.next(),this._viewportRuler.change().pipe(Vy(this._destroy)).subscribe(()=>{this.panelOpen&&(this._overlayWidth=this._getOverlayWidth(this._preferredOverlayOrigin),this._changeDetectorRef.detectChanges());});}ngAfterContentInit(){this._initialized.next(),this._initialized.complete(),this._initKeyManager(),this._selectionModel.changed.pipe(Vy(this._destroy)).subscribe(e=>{e.added.forEach(t=>t.select()),e.removed.forEach(t=>t.deselect());}),this.options.changes.pipe(bd(null),Vy(this._destroy)).subscribe(()=>{this._resetOptions(),this._initializeSelection();});}ngDoCheck(){let e=this._getTriggerAriaLabelledby(),t=this.ngControl;if(e!==this._triggerAriaLabelledBy){let i=this._elementRef.nativeElement;this._triggerAriaLabelledBy=e,e?i.setAttribute("aria-labelledby",e):i.removeAttribute("aria-labelledby");}t&&(this._previousControl!==t.control&&(this._previousControl!==void 0&&t.disabled!==null&&t.disabled!==this.disabled&&(this.disabled=t.disabled),this._previousControl=t.control),this.updateErrorState());}ngOnChanges(e){(e.disabled||e.userAriaDescribedBy)&&this.stateChanges.next(),e.typeaheadDebounceInterval&&this._keyManager&&this._keyManager.withTypeAhead(this.typeaheadDebounceInterval),e.panelClass&&this.panelClass instanceof Set&&(this.panelClass=Array.from(this.panelClass));}ngOnDestroy(){this._cleanupDetach?.(),this._keyManager?.destroy(),this._destroy.next(),this._destroy.complete(),this.stateChanges.complete();}toggle(){this.panelOpen?this.close():this.open();}open(){this._canOpen()&&(this._parentFormField&&(this._preferredOverlayOrigin=this._parentFormField.getConnectedOverlayOrigin()),this._cleanupDetach?.(),this._overlayWidth=this._getOverlayWidth(this._preferredOverlayOrigin),this._panelOpen=true,this._overlayDir.positionChange.pipe(sn(1)).subscribe(()=>{this._changeDetectorRef.detectChanges(),this._positioningSettled();}),this._overlayDir.attachOverlay(),this._keyManager.withHorizontalOrientation(null),this._highlightCorrectOption(),this._changeDetectorRef.markForCheck(),this.stateChanges.next(),Promise.resolve().then(()=>this.openedChange.emit(true)));}close(){this._panelOpen&&(this._panelOpen=false,this._exitAndDetach(),this._keyManager.withHorizontalOrientation(this._isRtl()?"rtl":"ltr"),this._changeDetectorRef.markForCheck(),this._onTouched(),this.stateChanges.next(),Promise.resolve().then(()=>this.openedChange.emit(false)));}_exitAndDetach(){if(this._animationsDisabled||!this.panel){this._detachOverlay();return}this._cleanupDetach?.(),this._cleanupDetach=()=>{t(),clearTimeout(i),this._cleanupDetach=void 0;};let e=this.panel.nativeElement,t=this._renderer.listen(e,"animationend",n=>{n.animationName==="_mat-select-exit"&&(this._cleanupDetach?.(),this._detachOverlay());}),i=setTimeout(()=>{this._cleanupDetach?.(),this._detachOverlay();},200);e.classList.add("mat-select-panel-exit");}_detachOverlay(){this._overlayDir.detachOverlay(),this._changeDetectorRef.markForCheck();}writeValue(e){this._assignValue(e);}registerOnChange(e){this._onChange=e;}registerOnTouched(e){this._onTouched=e;}setDisabledState(e){this.disabled=e,this._changeDetectorRef.markForCheck(),this.stateChanges.next();}get panelOpen(){return this._panelOpen}get selected(){return this.multiple?this._selectionModel?.selected||[]:this._selectionModel?.selected[0]}get triggerValue(){if(this.empty)return "";if(this._multiple){let e=this._selectionModel.selected.map(t=>t.viewValue);return this._isRtl()&&e.reverse(),e.join(", ")}return this._selectionModel.selected[0].viewValue}updateErrorState(){this._errorStateTracker.updateErrorState();}_isRtl(){return this._dir?this._dir.value==="rtl":false}_handleKeydown(e){this.disabled||(this.panelOpen?this._handleOpenKeydown(e):this._handleClosedKeydown(e));}_handleClosedKeydown(e){let t=e.keyCode,i=t===40||t===38||t===37||t===39,n=t===13||t===32,r=this._keyManager;if(!r.isTyping()&&n&&!Ve(e)||(this.multiple||e.altKey)&&i)e.preventDefault(),this.open();else if(!this.multiple){let d=this.selected;r.onKeydown(e);let o=this.selected;o&&d!==o&&this._liveAnnouncer.announce(o.viewValue,1e4);}}_handleOpenKeydown(e){let t=this._keyManager,i=e.keyCode,n=i===40||i===38,r=t.isTyping();if(n&&e.altKey)e.preventDefault(),this.close();else if(!r&&(i===13||i===32)&&t.activeItem&&!Ve(e))e.preventDefault(),t.activeItem._selectViaInteraction();else if(!r&&this._multiple&&i===65&&e.ctrlKey){e.preventDefault();let d=this.options.some(o=>!o.disabled&&!o.selected);this.options.forEach(o=>{o.disabled||(d?o.select():o.deselect());});}else {let d=t.activeItemIndex;t.onKeydown(e),this._multiple&&n&&e.shiftKey&&t.activeItem&&t.activeItemIndex!==d&&t.activeItem._selectViaInteraction();}}_handleOverlayKeydown(e){e.keyCode===27&&!Ve(e)&&(e.preventDefault(),this.close());}_onFocus(){this.disabled||(this._focused=true,this.stateChanges.next());}_onBlur(){this._focused=false,this._keyManager?.cancelTypeahead(),!this.disabled&&!this.panelOpen&&(this._onTouched(),this._changeDetectorRef.markForCheck(),this.stateChanges.next());}get empty(){return !this._selectionModel||this._selectionModel.isEmpty()}_initializeSelection(){Promise.resolve().then(()=>{this.ngControl&&(this._value=this.ngControl.value),this._setSelectionByValue(this._value),this.stateChanges.next();});}_setSelectionByValue(e){if(this.options.forEach(t=>t.setInactiveStyles()),this._selectionModel.clear(),this.multiple&&e)e.forEach(t=>this._selectOptionByValue(t)),this._sortValues();else {let t=this._selectOptionByValue(e);t?this._keyManager.updateActiveItem(t):this.panelOpen||this._keyManager.updateActiveItem(-1);}this._changeDetectorRef.markForCheck();}_selectOptionByValue(e){let t=this.options.find(i=>{if(this._selectionModel.isSelected(i))return false;try{return (i.value!=null||this.canSelectNullableOptions)&&this._compareWith(i.value,e)}catch(n){return false}});return t&&this._selectionModel.select(t),t}_assignValue(e){return e!==this._value||this._multiple&&Array.isArray(e)?(this.options&&this._setSelectionByValue(e),this._value=e,true):false}_skipPredicate=e=>this.panelOpen?false:e.disabled;_getOverlayWidth(e){return this.panelWidth==="auto"?(e instanceof Rt?e.elementRef:e||this._elementRef).nativeElement.getBoundingClientRect().width:this.panelWidth===null?"":this.panelWidth}_syncParentProperties(){if(this.options)for(let e of this.options)e._changeDetectorRef.markForCheck();}_initKeyManager(){this._keyManager=new Pt$1(this.options).withTypeAhead(this.typeaheadDebounceInterval).withVerticalOrientation().withHorizontalOrientation(this._isRtl()?"rtl":"ltr").withHomeAndEnd().withPageUpDown().withAllowedModifierKeys(["shiftKey"]).skipPredicate(this._skipPredicate),this._keyManager.tabOut.subscribe(()=>{this.panelOpen&&(!this.multiple&&this._keyManager.activeItem&&this._keyManager.activeItem._selectViaInteraction(),this.focus(),this.close());}),this._keyManager.change.subscribe(()=>{this._panelOpen&&this.panel?this._scrollOptionIntoView(this._keyManager.activeItemIndex||0):!this._panelOpen&&!this.multiple&&this._keyManager.activeItem&&this._keyManager.activeItem._selectViaInteraction();});}_resetOptions(){let e=Yy(this.options.changes,this._destroy);this.optionSelectionChanges.pipe(Vy(e)).subscribe(t=>{this._onSelect(t.source,t.isUserInput),t.isUserInput&&!this.multiple&&this._panelOpen&&(this.close(),this.focus());}),Yy(...this.options.map(t=>t._stateChanges)).pipe(Vy(e)).subscribe(()=>{this._changeDetectorRef.detectChanges(),this.stateChanges.next();});}_onSelect(e,t){let i=this._selectionModel.isSelected(e);!this.canSelectNullableOptions&&e.value==null&&!this._multiple?(e.deselect(),this._selectionModel.clear(),this.value!=null&&this._propagateChanges(e.value)):(i!==e.selected&&(e.selected?this._selectionModel.select(e):this._selectionModel.deselect(e)),t&&this._keyManager.setActiveItem(e),this.multiple&&(this._sortValues(),t&&this.focus())),i!==this._selectionModel.isSelected(e)&&this._propagateChanges(),this.stateChanges.next();}_sortValues(){if(this.multiple){let e=this.options.toArray();this._selectionModel.sort((t,i)=>this.sortComparator?this.sortComparator(t,i,e):e.indexOf(t)-e.indexOf(i)),this.stateChanges.next();}}_propagateChanges(e){let t;this.multiple?t=this.selected.map(i=>i.value):t=this.selected?this.selected.value:e,this._value=t,this.valueChange.emit(t),this._onChange(t),this.selectionChange.emit(this._getChangeEvent(t)),this._changeDetectorRef.markForCheck();}_highlightCorrectOption(){if(this._keyManager)if(this.empty){let e=-1;for(let t=0;t<this.options.length;t++)if(!this.options.get(t).disabled){e=t;break}this._keyManager.setActiveItem(e);}else this._keyManager.setActiveItem(this._selectionModel.selected[0]);}_canOpen(){return !this._panelOpen&&!this.disabled&&this.options?.length>0&&!!this._overlayDir}focus(e){this._elementRef.nativeElement.focus(e);}_getPanelAriaLabelledby(){if(this.ariaLabel)return null;let e=this._parentFormField?.getLabelId()||null,t=e?e+" ":"";return this.ariaLabelledby?t+this.ariaLabelledby:e}_getAriaActiveDescendant(){return this.panelOpen&&this._keyManager&&this._keyManager.activeItem?this._keyManager.activeItem.id:null}_getTriggerAriaLabelledby(){if(this.ariaLabel)return null;let e=this._parentFormField?.getLabelId()||"";return this.ariaLabelledby&&(e+=" "+this.ariaLabelledby),e||(e=this._valueId),e}get describedByIds(){return this._elementRef.nativeElement.getAttribute("aria-describedby")?.split(" ")||[]}setDescribedByIds(e){let t=this._elementRef.nativeElement;e.length?t.setAttribute("aria-describedby",e.join(" ")):t.removeAttribute("aria-describedby");}onContainerClick(e){let t=E(e);t&&(t.tagName==="MAT-OPTION"||t.classList.contains("cdk-overlay-backdrop")||t.closest(".mat-mdc-select-panel"))||(this.focus(),this.open());}get shouldLabelFloat(){return this.panelOpen||!this.empty||this.focused&&!!this.placeholder}static \u0275fac=function(t){return new(t||a)};static \u0275cmp=Aw({type:a,selectors:[["mat-select"]],contentQueries:function(t,i,n){if(t&1&&kg(n,at,5)(n,Fn,5)(n,Hi$1,5),t&2){let r;IC(r=wC())&&(i.customTrigger=r.first),IC(r=wC())&&(i.options=r),IC(r=wC())&&(i.optionGroups=r);}},viewQuery:function(t,i){if(t&1&&Fg(Qe,5)(Ye,5)(_e$1,5),t&2){let n;IC(n=wC())&&(i.trigger=n.first),IC(n=wC())&&(i.panel=n.first),IC(n=wC())&&(i._overlayDir=n.first);}},hostAttrs:["role","combobox","aria-haspopup","listbox",1,"mat-mdc-select"],hostVars:21,hostBindings:function(t,i){t&1&&Ag("keydown",function(r){return i._handleKeydown(r)})("focus",function(){return i._onFocus()})("blur",function(){return i._onBlur()}),t&2&&(Cg("id",i.id)("tabindex",i.disabled?-1:i.tabIndex)("aria-controls",i.panelOpen?i.id+"-panel":null)("aria-expanded",i.panelOpen)("aria-label",i.ariaLabel||null)("aria-required",i.required.toString())("aria-disabled",i.disabled.toString())("aria-invalid",i.errorState)("aria-activedescendant",i._getAriaActiveDescendant()),Hg("mat-mdc-select-disabled",i.disabled)("mat-mdc-select-invalid",i.errorState)("mat-mdc-select-required",i.required)("mat-mdc-select-empty",i.empty)("mat-mdc-select-multiple",i.multiple)("mat-select-open",i.panelOpen));},inputs:{userAriaDescribedBy:[0,"aria-describedby","userAriaDescribedBy"],panelClass:"panelClass",disabled:[2,"disabled","disabled",YT],disableRipple:[2,"disableRipple","disableRipple",YT],tabIndex:[2,"tabIndex","tabIndex",e=>e==null?0:QT(e)],hideSingleSelectionIndicator:[2,"hideSingleSelectionIndicator","hideSingleSelectionIndicator",YT],placeholder:"placeholder",required:[2,"required","required",YT],multiple:[2,"multiple","multiple",YT],disableOptionCentering:[2,"disableOptionCentering","disableOptionCentering",YT],compareWith:"compareWith",value:"value",ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"],errorStateMatcher:"errorStateMatcher",typeaheadDebounceInterval:[2,"typeaheadDebounceInterval","typeaheadDebounceInterval",QT],sortComparator:"sortComparator",id:"id",panelWidth:"panelWidth",canSelectNullableOptions:[2,"canSelectNullableOptions","canSelectNullableOptions",YT]},outputs:{openedChange:"openedChange",_openedStream:"opened",_closedStream:"closed",selectionChange:"selectionChange",valueChange:"valueChange"},exportAs:["matSelect"],features:[nT([{provide:de,useExisting:a},{provide:zi,useExisting:a}]),wu],ngContentSelectors:Xe,decls:11,vars:10,consts:[["fallbackOverlayOrigin","cdkOverlayOrigin","trigger",""],["panel",""],["cdk-overlay-origin","",1,"mat-mdc-select-trigger",3,"click"],[1,"mat-mdc-select-value"],[1,"mat-mdc-select-placeholder","mat-mdc-select-min-line"],[1,"mat-mdc-select-value-text"],[1,"mat-mdc-select-arrow-wrapper"],[1,"mat-mdc-select-arrow"],["viewBox","0 0 24 24","width","24px","height","24px","focusable","false","aria-hidden","true"],["d","M7 10l5 5 5-5z"],["cdk-connected-overlay","","cdkConnectedOverlayHasBackdrop","","cdkConnectedOverlayBackdropClass","cdk-overlay-transparent-backdrop",3,"detach","backdropClick","overlayKeydown","cdkConnectedOverlayDisableClose","cdkConnectedOverlayPanelClass","cdkConnectedOverlayScrollStrategy","cdkConnectedOverlayOrigin","cdkConnectedOverlayPositions","cdkConnectedOverlayWidth","cdkConnectedOverlayFlexibleDimensions","cdkConnectedOverlayUsePopover"],[1,"mat-mdc-select-min-line"],["role","listbox","tabindex","-1",1,"mat-mdc-select-panel","mdc-menu-surface","mdc-menu-surface--open",3,"keydown"]],template:function(t,i){if(t&1&&(vC(Ue),vs(0,"div",2,0),Ag("click",function(){return i.open()}),vs(3,"div",3),eC(4,Je,2,1,"span",4)(5,et,3,1,"span",5),dl(),vs(6,"div",6)(7,"div",7),kf(),vs(8,"svg",8),bg(9,"path",9),dl()()()(),Dg(10,tt,3,16,"ng-template",10),Ag("detach",function(){return i.close()})("backdropClick",function(){return i.close()})("overlayKeydown",function(r){return i._handleOverlayKeydown(r)})),t&2){let n=TC(1);XE(3),Cg("id",i._valueId),XE(),tC(i.empty?4:5),XE(6),Tg("cdkConnectedOverlayDisableClose",true)("cdkConnectedOverlayPanelClass",i._overlayPanelClass)("cdkConnectedOverlayScrollStrategy",i._scrollStrategy)("cdkConnectedOverlayOrigin",i._preferredOverlayOrigin||n)("cdkConnectedOverlayPositions",i._positions)("cdkConnectedOverlayWidth",i._overlayWidth)("cdkConnectedOverlayFlexibleDimensions",true)("cdkConnectedOverlayUsePopover",i._popoverLocation);}},dependencies:[Rt,_e$1],styles:[`@keyframes _mat-select-enter {
|
|
2
|
+
from {
|
|
3
|
+
opacity: 0;
|
|
4
|
+
transform: scaleY(0.8);
|
|
5
|
+
}
|
|
6
|
+
to {
|
|
7
|
+
opacity: 1;
|
|
8
|
+
transform: none;
|
|
9
|
+
}
|
|
10
|
+
}
|
|
11
|
+
@keyframes _mat-select-exit {
|
|
12
|
+
from {
|
|
13
|
+
opacity: 1;
|
|
14
|
+
}
|
|
15
|
+
to {
|
|
16
|
+
opacity: 0;
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
.mat-mdc-select {
|
|
20
|
+
display: inline-block;
|
|
21
|
+
width: 100%;
|
|
22
|
+
outline: none;
|
|
23
|
+
-moz-osx-font-smoothing: grayscale;
|
|
24
|
+
-webkit-font-smoothing: antialiased;
|
|
25
|
+
color: var(--mat-select-enabled-trigger-text-color, var(--mat-sys-on-surface));
|
|
26
|
+
font-family: var(--mat-select-trigger-text-font, var(--mat-sys-body-large-font));
|
|
27
|
+
line-height: var(--mat-select-trigger-text-line-height, var(--mat-sys-body-large-line-height));
|
|
28
|
+
font-size: var(--mat-select-trigger-text-size, var(--mat-sys-body-large-size));
|
|
29
|
+
font-weight: var(--mat-select-trigger-text-weight, var(--mat-sys-body-large-weight));
|
|
30
|
+
letter-spacing: var(--mat-select-trigger-text-tracking, var(--mat-sys-body-large-tracking));
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
div.mat-mdc-select-panel {
|
|
34
|
+
box-shadow: var(--mat-select-container-elevation-shadow, 0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12));
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
.mat-mdc-select-disabled {
|
|
38
|
+
color: var(--mat-select-disabled-trigger-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));
|
|
39
|
+
}
|
|
40
|
+
.mat-mdc-select-disabled .mat-mdc-select-placeholder {
|
|
41
|
+
color: var(--mat-select-disabled-trigger-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
.mat-mdc-select-trigger {
|
|
45
|
+
display: inline-flex;
|
|
46
|
+
align-items: center;
|
|
47
|
+
cursor: pointer;
|
|
48
|
+
position: relative;
|
|
49
|
+
box-sizing: border-box;
|
|
50
|
+
width: 100%;
|
|
51
|
+
}
|
|
52
|
+
.mat-mdc-select-disabled .mat-mdc-select-trigger {
|
|
53
|
+
-webkit-user-select: none;
|
|
54
|
+
user-select: none;
|
|
55
|
+
cursor: default;
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
.mat-mdc-select-value {
|
|
59
|
+
width: 100%;
|
|
60
|
+
overflow: hidden;
|
|
61
|
+
text-overflow: ellipsis;
|
|
62
|
+
white-space: nowrap;
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
.mat-mdc-select-value-text {
|
|
66
|
+
white-space: nowrap;
|
|
67
|
+
overflow: hidden;
|
|
68
|
+
text-overflow: ellipsis;
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
.mat-mdc-select-arrow-wrapper {
|
|
72
|
+
height: 24px;
|
|
73
|
+
flex-shrink: 0;
|
|
74
|
+
display: inline-flex;
|
|
75
|
+
align-items: center;
|
|
76
|
+
}
|
|
77
|
+
.mat-form-field-appearance-fill .mdc-text-field--no-label .mat-mdc-select-arrow-wrapper {
|
|
78
|
+
transform: none;
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
.mat-mdc-form-field .mat-mdc-select.mat-mdc-select-invalid .mat-mdc-select-arrow,
|
|
82
|
+
.mat-form-field-invalid:not(.mat-form-field-disabled) .mat-mdc-form-field-infix::after {
|
|
83
|
+
color: var(--mat-select-invalid-arrow-color, var(--mat-sys-error));
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
.mat-mdc-select-arrow {
|
|
87
|
+
width: 10px;
|
|
88
|
+
height: 5px;
|
|
89
|
+
position: relative;
|
|
90
|
+
color: var(--mat-select-enabled-arrow-color, var(--mat-sys-on-surface-variant));
|
|
91
|
+
}
|
|
92
|
+
.mat-mdc-form-field.mat-focused .mat-mdc-select-arrow {
|
|
93
|
+
color: var(--mat-select-focused-arrow-color, var(--mat-sys-primary));
|
|
94
|
+
}
|
|
95
|
+
.mat-mdc-form-field .mat-mdc-select.mat-mdc-select-disabled .mat-mdc-select-arrow {
|
|
96
|
+
color: var(--mat-select-disabled-arrow-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));
|
|
97
|
+
}
|
|
98
|
+
.mat-select-open .mat-mdc-select-arrow {
|
|
99
|
+
transform: rotate(180deg);
|
|
100
|
+
}
|
|
101
|
+
.mat-form-field-animations-enabled .mat-mdc-select-arrow {
|
|
102
|
+
transition: transform 80ms linear;
|
|
103
|
+
}
|
|
104
|
+
.mat-mdc-select-arrow svg {
|
|
105
|
+
fill: currentColor;
|
|
106
|
+
position: absolute;
|
|
107
|
+
top: 50%;
|
|
108
|
+
left: 50%;
|
|
109
|
+
transform: translate(-50%, -50%);
|
|
110
|
+
}
|
|
111
|
+
@media (forced-colors: active) {
|
|
112
|
+
.mat-mdc-select-arrow svg {
|
|
113
|
+
fill: CanvasText;
|
|
114
|
+
}
|
|
115
|
+
.mat-mdc-select-disabled .mat-mdc-select-arrow svg {
|
|
116
|
+
fill: GrayText;
|
|
117
|
+
}
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
div.mat-mdc-select-panel {
|
|
121
|
+
width: 100%;
|
|
122
|
+
max-height: 275px;
|
|
123
|
+
outline: 0;
|
|
124
|
+
overflow: auto;
|
|
125
|
+
padding: 8px 0;
|
|
126
|
+
box-sizing: border-box;
|
|
127
|
+
transform-origin: top center;
|
|
128
|
+
border-radius: 0 0 4px 4px;
|
|
129
|
+
position: relative;
|
|
130
|
+
background-color: var(--mat-select-panel-background-color, var(--mat-sys-surface-container));
|
|
131
|
+
}
|
|
132
|
+
.mat-mdc-select-panel-above div.mat-mdc-select-panel {
|
|
133
|
+
border-radius: 4px 4px 0 0;
|
|
134
|
+
transform-origin: bottom center;
|
|
135
|
+
}
|
|
136
|
+
@media (forced-colors: active) {
|
|
137
|
+
div.mat-mdc-select-panel {
|
|
138
|
+
outline: solid 1px;
|
|
139
|
+
}
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
.mat-select-panel-animations-enabled {
|
|
143
|
+
animation: _mat-select-enter 120ms cubic-bezier(0, 0, 0.2, 1);
|
|
144
|
+
}
|
|
145
|
+
.mat-select-panel-animations-enabled.mat-select-panel-exit {
|
|
146
|
+
animation: _mat-select-exit 100ms linear;
|
|
147
|
+
}
|
|
148
|
+
|
|
149
|
+
.mat-mdc-select-placeholder {
|
|
150
|
+
transition: color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1);
|
|
151
|
+
color: var(--mat-select-placeholder-text-color, var(--mat-sys-on-surface-variant));
|
|
152
|
+
}
|
|
153
|
+
.mat-mdc-form-field:not(.mat-form-field-animations-enabled) .mat-mdc-select-placeholder, ._mat-animation-noopable .mat-mdc-select-placeholder {
|
|
154
|
+
transition: none;
|
|
155
|
+
}
|
|
156
|
+
.mat-form-field-hide-placeholder .mat-mdc-select-placeholder {
|
|
157
|
+
color: transparent;
|
|
158
|
+
-webkit-text-fill-color: transparent;
|
|
159
|
+
transition: none;
|
|
160
|
+
display: block;
|
|
161
|
+
}
|
|
162
|
+
|
|
163
|
+
.mat-mdc-form-field-type-mat-select:not(.mat-form-field-disabled) .mat-mdc-text-field-wrapper {
|
|
164
|
+
cursor: pointer;
|
|
165
|
+
}
|
|
166
|
+
.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-fill .mat-mdc-floating-label {
|
|
167
|
+
max-width: calc(100% - 18px);
|
|
168
|
+
}
|
|
169
|
+
.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-fill .mdc-floating-label--float-above {
|
|
170
|
+
max-width: calc(100% / 0.75 - 24px);
|
|
171
|
+
}
|
|
172
|
+
.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-outline .mdc-notched-outline__notch {
|
|
173
|
+
max-width: calc(100% - 60px);
|
|
174
|
+
}
|
|
175
|
+
.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-outline .mdc-text-field--label-floating .mdc-notched-outline__notch {
|
|
176
|
+
max-width: calc(100% - 24px);
|
|
177
|
+
}
|
|
178
|
+
|
|
179
|
+
.mat-mdc-select-min-line:empty::before {
|
|
180
|
+
content: " ";
|
|
181
|
+
white-space: pre;
|
|
182
|
+
width: 1px;
|
|
183
|
+
display: inline-block;
|
|
184
|
+
visibility: hidden;
|
|
185
|
+
}
|
|
186
|
+
|
|
187
|
+
.mat-form-field-appearance-fill .mat-mdc-select-arrow-wrapper {
|
|
188
|
+
transform: var(--mat-select-arrow-transform, translateY(-8px));
|
|
189
|
+
}
|
|
190
|
+
`],encapsulation:2})}return a})();var Pt=(()=>{class a{static \u0275fac=function(t){return new(t||a)};static \u0275mod=Do({type:a});static \u0275inj=Wn({imports:[ge,Mr,wt,vt,ce,Mr]})}return a})();export{Lt as L,Pt as P};
|