marketplacepos 5.33.7 → 5.36.0
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/Marketplace/3rdpartylicenses.txt +134 -8
- package/Marketplace/chunk-23MIIDCT.js +2 -0
- package/Marketplace/chunk-2NECQ3RY.js +2 -0
- package/Marketplace/chunk-2NNAGGBO.js +1 -0
- package/Marketplace/chunk-2UUIV6C6.js +5 -0
- package/Marketplace/chunk-3ENIRM66.js +5 -0
- package/Marketplace/chunk-3NMGN7IE.js +2 -0
- package/Marketplace/chunk-3RK6DDJD.js +0 -0
- package/Marketplace/chunk-4BGF3NRH.js +3 -0
- package/Marketplace/chunk-4JRXTPAH.js +1 -0
- package/Marketplace/chunk-4RAOUTR2.js +5 -0
- package/Marketplace/chunk-4W7MIJDZ.js +1 -0
- package/Marketplace/chunk-52GRE6TF.js +2 -0
- package/Marketplace/chunk-5BTJTFLF.js +1 -0
- package/Marketplace/chunk-5UHZLNDT.js +1 -0
- package/Marketplace/chunk-5WNSX64O.js +1 -0
- package/Marketplace/chunk-5Z63CRGG.js +2 -0
- package/Marketplace/chunk-67USXWWF.js +1 -0
- package/Marketplace/chunk-6A4PYMCJ.js +1 -0
- package/Marketplace/chunk-6HVHZ3HN.js +1 -0
- package/Marketplace/chunk-72FE5Z4G.js +1 -0
- package/Marketplace/chunk-77IUCPIQ.js +1 -0
- package/Marketplace/chunk-7M4RYU7S.js +1 -0
- package/Marketplace/chunk-A7DI24YW.js +1 -0
- package/Marketplace/chunk-A7OUQFDG.js +1 -0
- package/Marketplace/chunk-AFMNWVBL.js +1 -0
- package/Marketplace/chunk-AI4XRCAL.js +1 -0
- package/Marketplace/chunk-AKJ4I7KF.js +3 -0
- package/Marketplace/chunk-ARIW575T.js +1 -0
- package/Marketplace/chunk-B6POIFQM.js +2 -0
- package/Marketplace/chunk-BQF5RWPV.js +2 -0
- package/Marketplace/chunk-BSATGCWC.js +2 -0
- package/Marketplace/chunk-C5XCTKZE.js +1 -0
- package/Marketplace/chunk-CYE5UD3J.js +5 -0
- package/Marketplace/chunk-DG3PIXFJ.js +1 -0
- package/Marketplace/chunk-E24BKGBJ.js +2 -0
- package/Marketplace/chunk-EIQCOZF5.js +7 -0
- package/Marketplace/chunk-EQ2ZKEVE.js +2 -0
- package/Marketplace/chunk-EQD3IUMF.js +1 -0
- package/Marketplace/chunk-EXFL3GUX.js +7 -0
- package/Marketplace/chunk-G43OSTZO.js +447 -0
- package/Marketplace/chunk-GA6G4Z77.js +15 -0
- package/Marketplace/chunk-GPIRHHPK.js +1 -0
- package/Marketplace/chunk-GYCAKLC6.js +1 -0
- package/Marketplace/chunk-HA5WIDED.js +1 -0
- package/Marketplace/chunk-HCQAPBYU.js +1 -0
- package/Marketplace/chunk-HI5IBYKT.js +1 -0
- package/Marketplace/chunk-HPS3WVU5.js +2 -0
- package/Marketplace/chunk-IIJMZKPL.js +1 -0
- package/Marketplace/chunk-IVX7QWP7.js +1 -0
- package/Marketplace/chunk-JP37GIKN.js +153 -0
- package/Marketplace/chunk-JSPVOV7M.js +1 -0
- package/Marketplace/chunk-K2H6WANG.js +1 -0
- package/Marketplace/chunk-K5CKXDIJ.js +2 -0
- package/Marketplace/chunk-K5XRGNWG.js +1 -0
- package/Marketplace/chunk-K7B23YKD.js +1 -0
- package/Marketplace/chunk-KRF4H3V6.js +1 -0
- package/Marketplace/chunk-KVZLHAO2.js +1 -0
- package/Marketplace/chunk-L6W6BJ3T.js +1 -0
- package/Marketplace/chunk-MA6JA5OR.js +93 -0
- package/Marketplace/chunk-MFPHDR5E.js +8 -0
- package/Marketplace/chunk-MS4AQ6UA.js +0 -0
- package/Marketplace/chunk-NHCDFSJ3.js +1 -0
- package/Marketplace/chunk-OBN6RKRH.js +2 -0
- package/Marketplace/chunk-OM7KOQLP.js +2 -0
- package/Marketplace/chunk-ONK4P7TL.js +1 -0
- package/Marketplace/chunk-ORPJLSXE.js +2 -0
- package/Marketplace/chunk-OS53H77X.js +193 -0
- package/Marketplace/chunk-OSQRMWJL.js +1 -0
- package/Marketplace/chunk-OVYL7SOO.js +4 -0
- package/Marketplace/chunk-OZ5LRIS3.js +1 -0
- package/Marketplace/chunk-PF4F4EAR.js +1 -0
- package/Marketplace/chunk-QA5IF5NA.js +1 -0
- package/Marketplace/chunk-QBCQRDML.js +1 -0
- package/Marketplace/chunk-QM6YBW4M.js +1525 -0
- package/Marketplace/chunk-R5IDWUP6.js +1 -0
- package/Marketplace/chunk-R6B6DIG3.js +1 -0
- package/Marketplace/chunk-RNWWVG3M.js +2 -0
- package/Marketplace/chunk-SD7UKXTX.js +1 -0
- package/Marketplace/chunk-SDUUFQUI.js +1 -0
- package/Marketplace/chunk-T7KM2WP6.js +1 -0
- package/Marketplace/chunk-TAMPHFXZ.js +1 -0
- package/Marketplace/chunk-TJG4JC6V.js +1181 -0
- package/Marketplace/chunk-TTAS23MO.js +2 -0
- package/Marketplace/chunk-TWEQ54JW.js +316 -0
- package/Marketplace/chunk-TY4H2W6F.js +2 -0
- package/Marketplace/chunk-TY7ZWITQ.js +1 -0
- package/Marketplace/chunk-TYHYQW6K.js +1 -0
- package/Marketplace/chunk-U3DTDPXT.js +1 -0
- package/Marketplace/chunk-U72SVWV5.js +1 -0
- package/Marketplace/chunk-ULOZVW2M.js +1 -0
- package/Marketplace/chunk-UOAYF4SW.js +5 -0
- package/Marketplace/chunk-V5WYSCVT.js +21 -0
- package/Marketplace/chunk-VAPIXIJ3.js +3 -0
- package/Marketplace/chunk-VKJAFLQ6.js +5 -0
- package/Marketplace/chunk-VOISFPEM.js +10 -0
- package/Marketplace/chunk-VUOTF3QO.js +1 -0
- package/Marketplace/{chunk-LUY3WZJE.js → chunk-VYKDVKG3.js} +3 -3
- package/Marketplace/chunk-W6T7TOHE.js +1 -0
- package/Marketplace/chunk-WMO2ROK4.js +1 -0
- package/Marketplace/{chunk-DVSSWF73.js → chunk-WNAVUGZ4.js} +3 -3
- package/Marketplace/{chunk-MEZONX3R.js → chunk-WQ6TZ4KW.js} +2 -2
- package/Marketplace/chunk-WYOXUN3H.js +2 -0
- package/Marketplace/chunk-X2LEVILZ.js +2 -0
- package/Marketplace/chunk-XJZCXXLP.js +2 -0
- package/Marketplace/chunk-XOT2SZPE.js +4 -0
- package/Marketplace/chunk-XR4JKTPA.js +1 -0
- package/Marketplace/chunk-YQSHLQDX.js +2 -0
- package/Marketplace/chunk-YYT4FHFC.js +1 -0
- package/Marketplace/index.html +3 -3
- package/Marketplace/main-QED4DWNH.js +1 -0
- package/Marketplace/polyfills-BUUDEW7V.js +2 -0
- package/Marketplace/prerendered-routes.json +3 -0
- package/Marketplace/scripts-BTEOQWVQ.js +5 -0
- package/Marketplace/styles-6IZYQNTO.css +1 -0
- package/package.json +1 -1
- package/Marketplace/chunk-3FKDH5RG.js +0 -1
- package/Marketplace/chunk-3JZYRZT3.js +0 -2
- package/Marketplace/chunk-3LR4RLA6.js +0 -1
- package/Marketplace/chunk-46AOM3SM.js +0 -149
- package/Marketplace/chunk-47DMD3UG.js +0 -1
- package/Marketplace/chunk-47JAK757.js +0 -5
- package/Marketplace/chunk-4LFFAE2I.js +0 -1
- package/Marketplace/chunk-4LJDBY23.js +0 -1
- package/Marketplace/chunk-5JOW2QWK.js +0 -1
- package/Marketplace/chunk-5VEPYUMQ.js +0 -2
- package/Marketplace/chunk-6BNB4T6D.js +0 -1
- package/Marketplace/chunk-6U6JR5K6.js +0 -1
- package/Marketplace/chunk-6WBLOQ4O.js +0 -1
- package/Marketplace/chunk-6XIV3N7A.js +0 -93
- package/Marketplace/chunk-76GDTOVJ.js +0 -1
- package/Marketplace/chunk-76IZKTSD.js +0 -1
- package/Marketplace/chunk-7LZ5ZSXM.js +0 -1
- package/Marketplace/chunk-7XUSMPAA.js +0 -1
- package/Marketplace/chunk-ADRVUMMW.js +0 -1
- package/Marketplace/chunk-AP5VEP3X.js +0 -5
- package/Marketplace/chunk-B2TH5YJH.js +0 -1142
- package/Marketplace/chunk-BO4PPSB5.js +0 -2
- package/Marketplace/chunk-BQ7NR3ET.js +0 -1
- package/Marketplace/chunk-BSLGEXE4.js +0 -1494
- package/Marketplace/chunk-BSN7ZAXG.js +0 -1
- package/Marketplace/chunk-CCXKODFV.js +0 -2
- package/Marketplace/chunk-CGF5H6YA.js +0 -1
- package/Marketplace/chunk-D7ZPHL4I.js +0 -1
- package/Marketplace/chunk-DGTMJB7Z.js +0 -1
- package/Marketplace/chunk-E3NPUJ23.js +0 -1
- package/Marketplace/chunk-E4C642KN.js +0 -1
- package/Marketplace/chunk-E5GGIVK7.js +0 -1
- package/Marketplace/chunk-ECGLNS5H.js +0 -8
- package/Marketplace/chunk-EISLDGIF.js +0 -1
- package/Marketplace/chunk-F4WIW6HA.js +0 -1
- package/Marketplace/chunk-F5Y65N3B.js +0 -1
- package/Marketplace/chunk-FGPSBTFS.js +0 -3
- package/Marketplace/chunk-FMV4LYKN.js +0 -1
- package/Marketplace/chunk-FT77MFQN.js +0 -1
- package/Marketplace/chunk-GCKSYCMI.js +0 -5
- package/Marketplace/chunk-GNOSNGXM.js +0 -1
- package/Marketplace/chunk-GUYZJ4TX.js +0 -4
- package/Marketplace/chunk-HCDKYABV.js +0 -4
- package/Marketplace/chunk-HKDNDD2G.js +0 -1
- package/Marketplace/chunk-HUUFOAKH.js +0 -1
- package/Marketplace/chunk-HXJF7C6Q.js +0 -1
- package/Marketplace/chunk-IJYSJN63.js +0 -443
- package/Marketplace/chunk-ILVEM7H5.js +0 -1
- package/Marketplace/chunk-J5D7PMX5.js +0 -2
- package/Marketplace/chunk-JBFISOFM.js +0 -1
- package/Marketplace/chunk-JJFCQ6V3.js +0 -1
- package/Marketplace/chunk-JXTGH22T.js +0 -1
- package/Marketplace/chunk-JYYVBBNN.js +0 -1
- package/Marketplace/chunk-KAEUZC2Y.js +0 -1
- package/Marketplace/chunk-KCDL7SWP.js +0 -7
- package/Marketplace/chunk-KOWWF75X.js +0 -1
- package/Marketplace/chunk-LHMSPWGJ.js +0 -1
- package/Marketplace/chunk-MY4B7K3R.js +0 -4
- package/Marketplace/chunk-N6IHFFFZ.js +0 -1
- package/Marketplace/chunk-O434S2MH.js +0 -2
- package/Marketplace/chunk-O4CRP4WO.js +0 -1
- package/Marketplace/chunk-O4ZSBRQO.js +0 -1
- package/Marketplace/chunk-O6EVUHF3.js +0 -1
- package/Marketplace/chunk-OSA3WANL.js +0 -1
- package/Marketplace/chunk-OULUJ2IO.js +0 -189
- package/Marketplace/chunk-OVEJFFL6.js +0 -2
- package/Marketplace/chunk-P5UOWO2P.js +0 -1
- package/Marketplace/chunk-PD4CUVAW.js +0 -1
- package/Marketplace/chunk-PQDPS2ID.js +0 -7
- package/Marketplace/chunk-QGVD6MF4.js +0 -1
- package/Marketplace/chunk-QP6O4KGV.js +0 -1
- package/Marketplace/chunk-RENQ3YZH.js +0 -1
- package/Marketplace/chunk-RXWNRL3O.js +0 -1
- package/Marketplace/chunk-S2Z3ZGU7.js +0 -1
- package/Marketplace/chunk-SW7GE4R3.js +0 -10
- package/Marketplace/chunk-TPGBOTD4.js +0 -1
- package/Marketplace/chunk-TTLK2HTY.js +0 -1
- package/Marketplace/chunk-TVJVDA5Y.js +0 -1
- package/Marketplace/chunk-UDFZKU5J.js +0 -1
- package/Marketplace/chunk-UMNGKENU.js +0 -1
- package/Marketplace/chunk-URCHO4IV.js +0 -1
- package/Marketplace/chunk-VUVYEGEO.js +0 -1
- package/Marketplace/chunk-WT6W7RAQ.js +0 -1
- package/Marketplace/chunk-X2TVRY2Z.js +0 -1
- package/Marketplace/chunk-X5Q6FPWS.js +0 -315
- package/Marketplace/chunk-XJE5DG3A.js +0 -1
- package/Marketplace/chunk-XR6LJHZU.js +0 -5
- package/Marketplace/chunk-Y6MN6HLH.js +0 -1
- package/Marketplace/chunk-YKJ34DPH.js +0 -1
- package/Marketplace/chunk-YYWSBXIP.js +0 -1
- package/Marketplace/chunk-ZQWAIH5X.js +0 -7
- package/Marketplace/chunk-ZYFF443B.js +0 -1
- package/Marketplace/main-5MBYKGSM.js +0 -1
- package/Marketplace/polyfills-MH5IBZ74.js +0 -2
- package/Marketplace/scripts-TB7H6DN4.js +0 -5
- package/Marketplace/styles-VNC3CHFK.css +0 -1
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{a as He}from"./chunk-AI4XRCAL.js";import{a as Me,d as Re,i as he}from"./chunk-B6POIFQM.js";import{$ as ve,Ac as g,C as W,Da as se,Dc as D,Eb as ee,Ec as O,F as J,Fb as Ae,Fc as Q,G as Ce,Gb as S,Gc as de,I as Te,Ka as y,Kb as _,La as Ie,M as be,Mc as Le,Na as le,Oa as B,Oc as z,Pc as Be,Qc as Ne,Rc as Ve,Vb as G,Wb as v,Yb as N,_c as V,ac as oe,bc as F,ca as M,ea as we,ec as re,f as U,fc as ae,fd as Pe,gc as p,hc as E,i as fe,ia as ye,ic as H,ja as X,jc as De,ka as Se,kc as Oe,kd as f,l as _e,lc as te,ld as K,ma as Fe,mc as j,qb as u,rc as P,sb as c,sc as a,tc as ue,uc as ce,v as Ee,vb as xe,vc as ke,wb as d,xa as q,xc as I,ya as T,yc as R,za as b,zc as m}from"./chunk-EIQCOZF5.js";import{a as ge}from"./chunk-K2H6WANG.js";var $e=["content"],Ye=["scroll"],Ze=["padding"],ze=["*"],Y=i=>({searchTerm:i});function Je(i,s){if(i&1&&(p(0,"div",3),te(1,6),E()),i&2){let e=a();u(),v("ngTemplateOutlet",e.headerTemplate)("ngTemplateOutletContext",z(2,Y,e.filterValue))}}function Xe(i,s){if(i&1&&(p(0,"div",5),te(1,6),E()),i&2){let e=a();u(),v("ngTemplateOutlet",e.footerTemplate)("ngTemplateOutletContext",z(2,Y,e.filterValue))}}var et=["searchInput"],tt=["clearButton"],it=(i,s,e)=>({item:i,clear:s,label:e}),nt=(i,s)=>({items:i,clear:s}),st=(i,s,e,t)=>({item:i,item$:s,index:e,searchTerm:t});function lt(i,s){if(i&1&&(p(0,"div",20),O(1),E()),i&2){let e=a(2);u(),Q(e.placeholder)}}function ot(i,s){}function rt(i,s){if(i&1&&_(0,lt,2,1,"ng-template",null,1,V)(2,ot,0,0,"ng-template",19),i&2){let e=D(1),t=a();u(2),v("ngTemplateOutlet",t.placeholderTemplate||e)}}function at(i,s){if(i&1){let e=j();p(0,"span",23),P("click",function(){T(e);let n=a().$implicit,l=a(2);return b(l.unselect(n))}),O(1,"\xD7"),E(),H(2,"span",24)}if(i&2){let e=a().$implicit,t=a(2);u(2),v("ngItemLabel",e.label)("escape",t.escapeHTML)}}function ut(i,s){}function ct(i,s){if(i&1&&(p(0,"div",22),_(1,at,3,2,"ng-template",null,2,V)(3,ut,0,0,"ng-template",12),E()),i&2){let e=s.$implicit,t=D(2),n=a(2);N("ng-value-disabled",e.disabled),u(3),v("ngTemplateOutlet",n.labelTemplate||t)("ngTemplateOutletContext",Ne(4,it,e.value,n.clearItem,e.label))}}function dt(i,s){if(i&1&&re(0,ct,4,8,"div",21,oe().trackByOption,!0),i&2){let e=a();ae(e.selectedItems)}}function ht(i,s){}function pt(i,s){if(i&1&&_(0,ht,0,0,"ng-template",12),i&2){let e=a();v("ngTemplateOutlet",e.multiLabelTemplate)("ngTemplateOutletContext",Be(2,nt,e.selectedValues,e.clearItem))}}function mt(i,s){i&1&&H(0,"div",25)}function gt(i,s){}function ft(i,s){if(i&1&&_(0,mt,1,0,"ng-template",null,3,V)(2,gt,0,0,"ng-template",19),i&2){let e=D(1),t=a();u(2),v("ngTemplateOutlet",t.loadingSpinnerTemplate||e)}}function _t(i,s){if(i&1&&te(0,19),i&2){let e=a(2);v("ngTemplateOutlet",e.clearButtonTemplate)}}function Et(i,s){if(i&1&&(p(0,"span",26,4)(2,"span",27),O(3,"\xD7"),E()()),i&2){let e=a(2);ke("title",e.clearAllText),G("tabindex",e.tabFocusOnClearButton()?0:-1)}}function Ct(i,s){if(i&1&&_(0,_t,1,1,"ng-container",19)(1,Et,4,2,"span",26),i&2){let e=a();F(e.clearButtonTemplate?0:1)}}function Tt(i,s){if(i&1&&H(0,"span",32),i&2){let e=a().$implicit,t=a(2);v("ngItemLabel",e.label)("escape",t.escapeHTML)}}function bt(i,s){}function vt(i,s){if(i&1){let e=j();p(0,"div",31),P("click",function(){let n=T(e).$implicit,l=a(2);return b(l.toggleItem(n))})("mouseover",function(){let n=T(e).$implicit,l=a(2);return b(l.onItemHover(n))}),_(1,Tt,1,2,"ng-template",null,5,V)(3,bt,0,0,"ng-template",12),E()}if(i&2){let e=s.$implicit,t=D(2),n=a(2);N("ng-option-disabled",e.disabled)("ng-option-selected",e.selected)("ng-optgroup",e.children)("ng-option",!e.children)("ng-option-child",!!e.parent)("ng-option-marked",e===n.itemsList.markedItem),G("role",e.children?"group":"option")("aria-selected",e.selected)("id",e==null?null:e.htmlId)("aria-setsize",n.itemsList.filteredItems.length)("aria-posinset",e.index+1),u(3),v("ngTemplateOutlet",e.children?n.optgroupTemplate||t:n.optionTemplate||t)("ngTemplateOutletContext",Ve(19,st,e.value,e,e.index,n.searchTerm))}}function wt(i,s){if(i&1&&(p(0,"span")(1,"span",34),O(2),E(),O(3),E()),i&2){let e=a(3);u(2),Q(e.addTagText),u(),de('"',e.searchTerm,'"')}}function yt(i,s){}function St(i,s){if(i&1){let e=j();p(0,"div",33),P("mouseover",function(){T(e);let n=a(2);return b(n.itemsList.unmarkItem())})("click",function(){T(e);let n=a(2);return b(n.selectTag())}),_(1,wt,4,2,"ng-template",null,6,V)(3,yt,0,0,"ng-template",12),E()}if(i&2){let e=D(2),t=a(2);N("ng-option-marked",!t.itemsList.markedItem),u(3),v("ngTemplateOutlet",t.tagTemplate||e)("ngTemplateOutletContext",z(4,Y,t.searchTerm))}}function Ft(i,s){if(i&1&&(p(0,"div",35),O(1),E()),i&2){let e=a(3);u(),Q(e.notFoundText)}}function It(i,s){}function xt(i,s){if(i&1&&_(0,Ft,2,1,"ng-template",null,7,V)(2,It,0,0,"ng-template",12),i&2){let e=D(1),t=a(2);u(2),v("ngTemplateOutlet",t.notFoundTemplate||e)("ngTemplateOutletContext",z(2,Y,t.searchTerm))}}function At(i,s){if(i&1&&(p(0,"div",35),O(1),E()),i&2){let e=a(3);u(),Q(e.typeToSearchText)}}function Dt(i,s){}function Ot(i,s){if(i&1&&_(0,At,2,1,"ng-template",null,8,V)(2,Dt,0,0,"ng-template",19),i&2){let e=D(1),t=a(2);u(2),v("ngTemplateOutlet",t.typeToSearchTemplate||e)}}function kt(i,s){if(i&1&&(p(0,"div",35),O(1),E()),i&2){let e=a(3);u(),Q(e.loadingText)}}function Lt(i,s){}function Bt(i,s){if(i&1&&_(0,kt,2,1,"ng-template",null,9,V)(2,Lt,0,0,"ng-template",12),i&2){let e=D(1),t=a(2);u(2),v("ngTemplateOutlet",t.loadingTextTemplate||e)("ngTemplateOutletContext",z(2,Y,t.searchTerm))}}function Nt(i,s){if(i&1){let e=j();p(0,"ng-dropdown-panel",28),P("update",function(n){T(e);let l=a();return b(l.viewPortItems=n)})("scroll",function(n){T(e);let l=a();return b(l.scroll.emit(n))})("scrollToEnd",function(n){T(e);let l=a();return b(l.scrollToEnd.emit(n))})("outsideClick",function(){T(e);let n=a();return b(n.close())}),De(1),re(2,vt,4,24,"div",29,oe().trackByOption,!0),_(4,St,4,6,"div",30),Oe(),_(5,xt,3,4)(6,Ot,3,1)(7,Bt,3,4),E()}if(i&2){let e=a();N("ng-select-multiple",e.multiple),v("virtualScroll",e.virtualScroll)("bufferAmount",e.bufferAmount)("appendTo",e.appendTo)("position",e.dropdownPosition)("headerTemplate",e.headerTemplate)("footerTemplate",e.footerTemplate)("filterValue",e.searchTerm)("items",e.itemsList.filteredItems)("markedItem",e.itemsList.markedItem)("ngClass",e.appendTo?e.ngClass?e.ngClass:e.classes:null)("id",e.dropdownId)("ariaLabelDropdown",e.ariaLabelDropdown),u(2),ae(e.viewPortItems),u(2),F(e.showAddTag?4:-1),u(),F(e.showNoItemsFound()?5:-1),u(),F(e.showTypeToSearch()?6:-1),u(),F(e.loading&&e.itemsList.filteredItems.length===0?7:-1)}}function Vt(i,s){if(i&1&&O(0),i&2){let e=a();de(" ",e.notFoundText," ")}}var Ue=/[&<>"']/g,Pt=RegExp(Ue.source),Mt={"&":"&","<":"<",">":">",'"':""","'":"'"};function Rt(i){return i&&Pt.test(i)?i.replace(Ue,s=>Mt[s]):i}function h(i){return i!=null}function $(i){return typeof i=="object"&&h(i)}function Ht(i){return i instanceof Promise}function ne(i){return i instanceof Function}var jt=(()=>{class i{constructor(e){this.element=e,this.escape=!0}ngOnChanges(e){this.element.nativeElement.innerHTML=this.escape?Rt(this.ngItemLabel):this.ngItemLabel}static{this.\u0275fac=function(t){return new(t||i)(d(B))}}static{this.\u0275dir=S({type:i,selectors:[["","ngItemLabel",""]],inputs:{ngItemLabel:"ngItemLabel",escape:"escape"},features:[q]})}}return i})(),Qt=(()=>{class i{constructor(e){this.template=e}static{this.\u0275fac=function(t){return new(t||i)(d(c))}}static{this.\u0275dir=S({type:i,selectors:[["","ng-option-tmp",""]]})}}return i})(),zt=(()=>{class i{constructor(e){this.template=e}static{this.\u0275fac=function(t){return new(t||i)(d(c))}}static{this.\u0275dir=S({type:i,selectors:[["","ng-optgroup-tmp",""]]})}}return i})(),Ut=(()=>{class i{constructor(e){this.template=e}static{this.\u0275fac=function(t){return new(t||i)(d(c))}}static{this.\u0275dir=S({type:i,selectors:[["","ng-label-tmp",""]]})}}return i})(),Wt=(()=>{class i{constructor(e){this.template=e}static{this.\u0275fac=function(t){return new(t||i)(d(c))}}static{this.\u0275dir=S({type:i,selectors:[["","ng-multi-label-tmp",""]]})}}return i})(),qt=(()=>{class i{constructor(e){this.template=e}static{this.\u0275fac=function(t){return new(t||i)(d(c))}}static{this.\u0275dir=S({type:i,selectors:[["","ng-header-tmp",""]]})}}return i})(),Gt=(()=>{class i{constructor(e){this.template=e}static{this.\u0275fac=function(t){return new(t||i)(d(c))}}static{this.\u0275dir=S({type:i,selectors:[["","ng-footer-tmp",""]]})}}return i})(),Kt=(()=>{class i{constructor(e){this.template=e}static{this.\u0275fac=function(t){return new(t||i)(d(c))}}static{this.\u0275dir=S({type:i,selectors:[["","ng-notfound-tmp",""]]})}}return i})(),$t=(()=>{class i{constructor(e){this.template=e}static{this.\u0275fac=function(t){return new(t||i)(d(c))}}static{this.\u0275dir=S({type:i,selectors:[["","ng-placeholder-tmp",""]]})}}return i})(),Yt=(()=>{class i{constructor(e){this.template=e}static{this.\u0275fac=function(t){return new(t||i)(d(c))}}static{this.\u0275dir=S({type:i,selectors:[["","ng-typetosearch-tmp",""]]})}}return i})(),Zt=(()=>{class i{constructor(e){this.template=e}static{this.\u0275fac=function(t){return new(t||i)(d(c))}}static{this.\u0275dir=S({type:i,selectors:[["","ng-loadingtext-tmp",""]]})}}return i})(),Jt=(()=>{class i{constructor(e){this.template=e}static{this.\u0275fac=function(t){return new(t||i)(d(c))}}static{this.\u0275dir=S({type:i,selectors:[["","ng-tag-tmp",""]]})}}return i})(),Xt=(()=>{class i{constructor(e){this.template=e}static{this.\u0275fac=function(t){return new(t||i)(d(c))}}static{this.\u0275dir=S({type:i,selectors:[["","ng-loadingspinner-tmp",""]]})}}return i})(),ei=(()=>{class i{constructor(e){this.template=e}static{this.\u0275fac=function(t){return new(t||i)(d(c))}}static{this.\u0275dir=S({type:i,selectors:[["","ng-clearbutton-tmp",""]]})}}return i})();function We(){return"axxxxxxxxxxx".replace(/[x]/g,()=>(Math.random()*16|0).toString(16))}var ti={"\u24B6":"A",\uFF21:"A",\u00C0:"A",\u00C1:"A",\u00C2:"A",\u1EA6:"A",\u1EA4:"A",\u1EAA:"A",\u1EA8:"A",\u00C3:"A",\u0100:"A",\u0102:"A",\u1EB0:"A",\u1EAE:"A",\u1EB4:"A",\u1EB2:"A",\u0226:"A",\u01E0:"A",\u00C4:"A",\u01DE:"A",\u1EA2:"A",\u00C5:"A",\u01FA:"A",\u01CD:"A",\u0200:"A",\u0202:"A",\u1EA0:"A",\u1EAC:"A",\u1EB6:"A",\u1E00:"A",\u0104:"A","\u023A":"A","\u2C6F":"A","\uA732":"AA",\u00C6:"AE",\u01FC:"AE",\u01E2:"AE","\uA734":"AO","\uA736":"AU","\uA738":"AV","\uA73A":"AV","\uA73C":"AY","\u24B7":"B",\uFF22:"B",\u1E02:"B",\u1E04:"B",\u1E06:"B","\u0243":"B",\u0182:"B",\u0181:"B","\u24B8":"C",\uFF23:"C",\u0106:"C",\u0108:"C",\u010A:"C",\u010C:"C",\u00C7:"C",\u1E08:"C",\u0187:"C","\u023B":"C","\uA73E":"C","\u24B9":"D",\uFF24:"D",\u1E0A:"D",\u010E:"D",\u1E0C:"D",\u1E10:"D",\u1E12:"D",\u1E0E:"D",\u0110:"D",\u018B:"D",\u018A:"D",\u0189:"D","\uA779":"D",\u01F1:"DZ",\u01C4:"DZ",\u01F2:"Dz",\u01C5:"Dz","\u24BA":"E",\uFF25:"E",\u00C8:"E",\u00C9:"E",\u00CA:"E",\u1EC0:"E",\u1EBE:"E",\u1EC4:"E",\u1EC2:"E",\u1EBC:"E",\u0112:"E",\u1E14:"E",\u1E16:"E",\u0114:"E",\u0116:"E",\u00CB:"E",\u1EBA:"E",\u011A:"E",\u0204:"E",\u0206:"E",\u1EB8:"E",\u1EC6:"E",\u0228:"E",\u1E1C:"E",\u0118:"E",\u1E18:"E",\u1E1A:"E",\u0190:"E",\u018E:"E","\u24BB":"F",\uFF26:"F",\u1E1E:"F",\u0191:"F","\uA77B":"F","\u24BC":"G",\uFF27:"G",\u01F4:"G",\u011C:"G",\u1E20:"G",\u011E:"G",\u0120:"G",\u01E6:"G",\u0122:"G",\u01E4:"G",\u0193:"G","\uA7A0":"G","\uA77D":"G","\uA77E":"G","\u24BD":"H",\uFF28:"H",\u0124:"H",\u1E22:"H",\u1E26:"H",\u021E:"H",\u1E24:"H",\u1E28:"H",\u1E2A:"H",\u0126:"H","\u2C67":"H","\u2C75":"H","\uA78D":"H","\u24BE":"I",\uFF29:"I",\u00CC:"I",\u00CD:"I",\u00CE:"I",\u0128:"I",\u012A:"I",\u012C:"I",\u0130:"I",\u00CF:"I",\u1E2E:"I",\u1EC8:"I",\u01CF:"I",\u0208:"I",\u020A:"I",\u1ECA:"I",\u012E:"I",\u1E2C:"I",\u0197:"I","\u24BF":"J",\uFF2A:"J",\u0134:"J","\u0248":"J","\u24C0":"K",\uFF2B:"K",\u1E30:"K",\u01E8:"K",\u1E32:"K",\u0136:"K",\u1E34:"K",\u0198:"K","\u2C69":"K","\uA740":"K","\uA742":"K","\uA744":"K","\uA7A2":"K","\u24C1":"L",\uFF2C:"L",\u013F:"L",\u0139:"L",\u013D:"L",\u1E36:"L",\u1E38:"L",\u013B:"L",\u1E3C:"L",\u1E3A:"L",\u0141:"L","\u023D":"L","\u2C62":"L","\u2C60":"L","\uA748":"L","\uA746":"L","\uA780":"L",\u01C7:"LJ",\u01C8:"Lj","\u24C2":"M",\uFF2D:"M",\u1E3E:"M",\u1E40:"M",\u1E42:"M","\u2C6E":"M",\u019C:"M","\u24C3":"N",\uFF2E:"N",\u01F8:"N",\u0143:"N",\u00D1:"N",\u1E44:"N",\u0147:"N",\u1E46:"N",\u0145:"N",\u1E4A:"N",\u1E48:"N","\u0220":"N",\u019D:"N","\uA790":"N","\uA7A4":"N",\u01CA:"NJ",\u01CB:"Nj","\u24C4":"O",\uFF2F:"O",\u00D2:"O",\u00D3:"O",\u00D4:"O",\u1ED2:"O",\u1ED0:"O",\u1ED6:"O",\u1ED4:"O",\u00D5:"O",\u1E4C:"O",\u022C:"O",\u1E4E:"O",\u014C:"O",\u1E50:"O",\u1E52:"O",\u014E:"O",\u022E:"O",\u0230:"O",\u00D6:"O",\u022A:"O",\u1ECE:"O",\u0150:"O",\u01D1:"O",\u020C:"O",\u020E:"O",\u01A0:"O",\u1EDC:"O",\u1EDA:"O",\u1EE0:"O",\u1EDE:"O",\u1EE2:"O",\u1ECC:"O",\u1ED8:"O",\u01EA:"O",\u01EC:"O",\u00D8:"O",\u01FE:"O",\u0186:"O",\u019F:"O","\uA74A":"O","\uA74C":"O",\u01A2:"OI","\uA74E":"OO",\u0222:"OU","\u24C5":"P",\uFF30:"P",\u1E54:"P",\u1E56:"P",\u01A4:"P","\u2C63":"P","\uA750":"P","\uA752":"P","\uA754":"P","\u24C6":"Q",\uFF31:"Q","\uA756":"Q","\uA758":"Q","\u024A":"Q","\u24C7":"R",\uFF32:"R",\u0154:"R",\u1E58:"R",\u0158:"R",\u0210:"R",\u0212:"R",\u1E5A:"R",\u1E5C:"R",\u0156:"R",\u1E5E:"R","\u024C":"R","\u2C64":"R","\uA75A":"R","\uA7A6":"R","\uA782":"R","\u24C8":"S",\uFF33:"S","\u1E9E":"S",\u015A:"S",\u1E64:"S",\u015C:"S",\u1E60:"S",\u0160:"S",\u1E66:"S",\u1E62:"S",\u1E68:"S",\u0218:"S",\u015E:"S","\u2C7E":"S","\uA7A8":"S","\uA784":"S","\u24C9":"T",\uFF34:"T",\u1E6A:"T",\u0164:"T",\u1E6C:"T",\u021A:"T",\u0162:"T",\u1E70:"T",\u1E6E:"T",\u0166:"T",\u01AC:"T",\u01AE:"T","\u023E":"T","\uA786":"T","\uA728":"TZ","\u24CA":"U",\uFF35:"U",\u00D9:"U",\u00DA:"U",\u00DB:"U",\u0168:"U",\u1E78:"U",\u016A:"U",\u1E7A:"U",\u016C:"U",\u00DC:"U",\u01DB:"U",\u01D7:"U",\u01D5:"U",\u01D9:"U",\u1EE6:"U",\u016E:"U",\u0170:"U",\u01D3:"U",\u0214:"U",\u0216:"U",\u01AF:"U",\u1EEA:"U",\u1EE8:"U",\u1EEE:"U",\u1EEC:"U",\u1EF0:"U",\u1EE4:"U",\u1E72:"U",\u0172:"U",\u1E76:"U",\u1E74:"U","\u0244":"U","\u24CB":"V",\uFF36:"V",\u1E7C:"V",\u1E7E:"V",\u01B2:"V","\uA75E":"V","\u0245":"V","\uA760":"VY","\u24CC":"W",\uFF37:"W",\u1E80:"W",\u1E82:"W",\u0174:"W",\u1E86:"W",\u1E84:"W",\u1E88:"W","\u2C72":"W","\u24CD":"X",\uFF38:"X",\u1E8A:"X",\u1E8C:"X","\u24CE":"Y",\uFF39:"Y",\u1EF2:"Y",\u00DD:"Y",\u0176:"Y",\u1EF8:"Y",\u0232:"Y",\u1E8E:"Y",\u0178:"Y",\u1EF6:"Y",\u1EF4:"Y",\u01B3:"Y","\u024E":"Y","\u1EFE":"Y","\u24CF":"Z",\uFF3A:"Z",\u0179:"Z",\u1E90:"Z",\u017B:"Z",\u017D:"Z",\u1E92:"Z",\u1E94:"Z",\u01B5:"Z",\u0224:"Z","\u2C7F":"Z","\u2C6B":"Z","\uA762":"Z","\u24D0":"a",\uFF41:"a",\u1E9A:"a",\u00E0:"a",\u00E1:"a",\u00E2:"a",\u1EA7:"a",\u1EA5:"a",\u1EAB:"a",\u1EA9:"a",\u00E3:"a",\u0101:"a",\u0103:"a",\u1EB1:"a",\u1EAF:"a",\u1EB5:"a",\u1EB3:"a",\u0227:"a",\u01E1:"a",\u00E4:"a",\u01DF:"a",\u1EA3:"a",\u00E5:"a",\u01FB:"a",\u01CE:"a",\u0201:"a",\u0203:"a",\u1EA1:"a",\u1EAD:"a",\u1EB7:"a",\u1E01:"a",\u0105:"a","\u2C65":"a",\u0250:"a","\uA733":"aa",\u00E6:"ae",\u01FD:"ae",\u01E3:"ae","\uA735":"ao","\uA737":"au","\uA739":"av","\uA73B":"av","\uA73D":"ay","\u24D1":"b",\uFF42:"b",\u1E03:"b",\u1E05:"b",\u1E07:"b",\u0180:"b",\u0183:"b",\u0253:"b","\u24D2":"c",\uFF43:"c",\u0107:"c",\u0109:"c",\u010B:"c",\u010D:"c",\u00E7:"c",\u1E09:"c",\u0188:"c","\u023C":"c","\uA73F":"c","\u2184":"c","\u24D3":"d",\uFF44:"d",\u1E0B:"d",\u010F:"d",\u1E0D:"d",\u1E11:"d",\u1E13:"d",\u1E0F:"d",\u0111:"d",\u018C:"d",\u0256:"d",\u0257:"d","\uA77A":"d",\u01F3:"dz",\u01C6:"dz","\u24D4":"e",\uFF45:"e",\u00E8:"e",\u00E9:"e",\u00EA:"e",\u1EC1:"e",\u1EBF:"e",\u1EC5:"e",\u1EC3:"e",\u1EBD:"e",\u0113:"e",\u1E15:"e",\u1E17:"e",\u0115:"e",\u0117:"e",\u00EB:"e",\u1EBB:"e",\u011B:"e",\u0205:"e",\u0207:"e",\u1EB9:"e",\u1EC7:"e",\u0229:"e",\u1E1D:"e",\u0119:"e",\u1E19:"e",\u1E1B:"e","\u0247":"e",\u025B:"e",\u01DD:"e","\u24D5":"f",\uFF46:"f",\u1E1F:"f",\u0192:"f","\uA77C":"f","\u24D6":"g",\uFF47:"g",\u01F5:"g",\u011D:"g",\u1E21:"g",\u011F:"g",\u0121:"g",\u01E7:"g",\u0123:"g",\u01E5:"g",\u0260:"g","\uA7A1":"g","\u1D79":"g","\uA77F":"g","\u24D7":"h",\uFF48:"h",\u0125:"h",\u1E23:"h",\u1E27:"h",\u021F:"h",\u1E25:"h",\u1E29:"h",\u1E2B:"h",\u1E96:"h",\u0127:"h","\u2C68":"h","\u2C76":"h",\u0265:"h",\u0195:"hv","\u24D8":"i",\uFF49:"i",\u00EC:"i",\u00ED:"i",\u00EE:"i",\u0129:"i",\u012B:"i",\u012D:"i",\u00EF:"i",\u1E2F:"i",\u1EC9:"i",\u01D0:"i",\u0209:"i",\u020B:"i",\u1ECB:"i",\u012F:"i",\u1E2D:"i",\u0268:"i",\u0131:"i","\u24D9":"j",\uFF4A:"j",\u0135:"j",\u01F0:"j","\u0249":"j","\u24DA":"k",\uFF4B:"k",\u1E31:"k",\u01E9:"k",\u1E33:"k",\u0137:"k",\u1E35:"k",\u0199:"k","\u2C6A":"k","\uA741":"k","\uA743":"k","\uA745":"k","\uA7A3":"k","\u24DB":"l",\uFF4C:"l",\u0140:"l",\u013A:"l",\u013E:"l",\u1E37:"l",\u1E39:"l",\u013C:"l",\u1E3D:"l",\u1E3B:"l",\u017F:"l",\u0142:"l",\u019A:"l",\u026B:"l","\u2C61":"l","\uA749":"l","\uA781":"l","\uA747":"l",\u01C9:"lj","\u24DC":"m",\uFF4D:"m",\u1E3F:"m",\u1E41:"m",\u1E43:"m",\u0271:"m",\u026F:"m","\u24DD":"n",\uFF4E:"n",\u01F9:"n",\u0144:"n",\u00F1:"n",\u1E45:"n",\u0148:"n",\u1E47:"n",\u0146:"n",\u1E4B:"n",\u1E49:"n",\u019E:"n",\u0272:"n",\u0149:"n","\uA791":"n","\uA7A5":"n",\u01CC:"nj","\u24DE":"o",\uFF4F:"o",\u00F2:"o",\u00F3:"o",\u00F4:"o",\u1ED3:"o",\u1ED1:"o",\u1ED7:"o",\u1ED5:"o",\u00F5:"o",\u1E4D:"o",\u022D:"o",\u1E4F:"o",\u014D:"o",\u1E51:"o",\u1E53:"o",\u014F:"o",\u022F:"o",\u0231:"o",\u00F6:"o",\u022B:"o",\u1ECF:"o",\u0151:"o",\u01D2:"o",\u020D:"o",\u020F:"o",\u01A1:"o",\u1EDD:"o",\u1EDB:"o",\u1EE1:"o",\u1EDF:"o",\u1EE3:"o",\u1ECD:"o",\u1ED9:"o",\u01EB:"o",\u01ED:"o",\u00F8:"o",\u01FF:"o",\u0254:"o","\uA74B":"o","\uA74D":"o",\u0275:"o",\u01A3:"oi",\u0223:"ou","\uA74F":"oo","\u24DF":"p",\uFF50:"p",\u1E55:"p",\u1E57:"p",\u01A5:"p","\u1D7D":"p","\uA751":"p","\uA753":"p","\uA755":"p","\u24E0":"q",\uFF51:"q","\u024B":"q","\uA757":"q","\uA759":"q","\u24E1":"r",\uFF52:"r",\u0155:"r",\u1E59:"r",\u0159:"r",\u0211:"r",\u0213:"r",\u1E5B:"r",\u1E5D:"r",\u0157:"r",\u1E5F:"r","\u024D":"r",\u027D:"r","\uA75B":"r","\uA7A7":"r","\uA783":"r","\u24E2":"s",\uFF53:"s",\u00DF:"s",\u015B:"s",\u1E65:"s",\u015D:"s",\u1E61:"s",\u0161:"s",\u1E67:"s",\u1E63:"s",\u1E69:"s",\u0219:"s",\u015F:"s","\u023F":"s","\uA7A9":"s","\uA785":"s",\u1E9B:"s","\u24E3":"t",\uFF54:"t",\u1E6B:"t",\u1E97:"t",\u0165:"t",\u1E6D:"t",\u021B:"t",\u0163:"t",\u1E71:"t",\u1E6F:"t",\u0167:"t",\u01AD:"t",\u0288:"t","\u2C66":"t","\uA787":"t","\uA729":"tz","\u24E4":"u",\uFF55:"u",\u00F9:"u",\u00FA:"u",\u00FB:"u",\u0169:"u",\u1E79:"u",\u016B:"u",\u1E7B:"u",\u016D:"u",\u00FC:"u",\u01DC:"u",\u01D8:"u",\u01D6:"u",\u01DA:"u",\u1EE7:"u",\u016F:"u",\u0171:"u",\u01D4:"u",\u0215:"u",\u0217:"u",\u01B0:"u",\u1EEB:"u",\u1EE9:"u",\u1EEF:"u",\u1EED:"u",\u1EF1:"u",\u1EE5:"u",\u1E73:"u",\u0173:"u",\u1E77:"u",\u1E75:"u",\u0289:"u","\u24E5":"v",\uFF56:"v",\u1E7D:"v",\u1E7F:"v",\u028B:"v","\uA75F":"v",\u028C:"v","\uA761":"vy","\u24E6":"w",\uFF57:"w",\u1E81:"w",\u1E83:"w",\u0175:"w",\u1E87:"w",\u1E85:"w",\u1E98:"w",\u1E89:"w","\u2C73":"w","\u24E7":"x",\uFF58:"x",\u1E8B:"x",\u1E8D:"x","\u24E8":"y",\uFF59:"y",\u1EF3:"y",\u00FD:"y",\u0177:"y",\u1EF9:"y",\u0233:"y",\u1E8F:"y",\u00FF:"y",\u1EF7:"y",\u1E99:"y",\u1EF5:"y",\u01B4:"y","\u024F":"y","\u1EFF":"y","\u24E9":"z",\uFF5A:"z",\u017A:"z",\u1E91:"z",\u017C:"z",\u017E:"z",\u1E93:"z",\u1E95:"z",\u01B6:"z",\u0225:"z","\u0240":"z","\u2C6C":"z","\uA763":"z",\u0386:"\u0391",\u0388:"\u0395",\u0389:"\u0397",\u038A:"\u0399",\u03AA:"\u0399",\u038C:"\u039F",\u038E:"\u03A5",\u03AB:"\u03A5",\u038F:"\u03A9",\u03AC:"\u03B1",\u03AD:"\u03B5",\u03AE:"\u03B7",\u03AF:"\u03B9",\u03CA:"\u03B9",\u0390:"\u03B9",\u03CC:"\u03BF",\u03CD:"\u03C5",\u03CB:"\u03C5",\u03B0:"\u03C5",\u03C9:"\u03C9",\u03C2:"\u03C3"};function ie(i){let s=e=>ti[e]||e;return i.replace(/[^\u0000-\u007E]/g,s)}var pe=class{constructor(s,e){this._ngSelect=s,this._selectionModel=e,this._items=[],this._filteredItems=[],this._markedIndex=-1}get items(){return this._items}get filteredItems(){return this._filteredItems}get markedIndex(){return this._markedIndex}get selectedItems(){return this._selectionModel.value}get markedItem(){return this._filteredItems[this._markedIndex]}get noItemsToSelect(){return this._ngSelect.hideSelected&&this._items.length===this.selectedItems.length}get maxItemsSelected(){return this._ngSelect.multiple&&this._ngSelect.maxSelectedItems<=this.selectedItems.length}get lastSelectedItem(){let s=this.selectedItems.length-1;for(;s>=0;s--){let e=this.selectedItems[s];if(!e.disabled)return e}return null}setItems(s){this._items=s.map((e,t)=>this.mapItem(e,t)),this._ngSelect.groupBy?(this._groups=this._groupBy(this._items,this._ngSelect.groupBy),this._items=this._flatten(this._groups)):(this._groups=new Map,this._groups.set(void 0,this._items)),this._filteredItems=[...this._items]}select(s){if(s.selected||this.maxItemsSelected)return;let e=this._ngSelect.multiple;e||this.clearSelected(),this._selectionModel.select(s,e,this._ngSelect.selectableGroupAsModel),this._ngSelect.hideSelected&&this._hideSelected(s)}unselect(s){s.selected&&(this._selectionModel.unselect(s,this._ngSelect.multiple),this._ngSelect.hideSelected&&h(s.index)&&this._ngSelect.multiple&&this._showSelected(s))}findItem(s){let e;return this._ngSelect.compareWith?e=t=>this._ngSelect.compareWith(t.value,s):this._ngSelect.bindValue?e=t=>!t.children&&this.resolveNested(t.value,this._ngSelect.bindValue)===s:e=t=>t.value===s||!t.children&&t.label&&t.label===this.resolveNested(s,this._ngSelect.bindLabel),this._items.find(t=>e(t))}addItem(s){let e=this.mapItem(s,this._items.length);return this._items.push(e),this._filteredItems.push(e),e}clearSelected(s=!1){this._selectionModel.clear(s),this._items.forEach(e=>{e.selected=s&&e.selected&&e.disabled,e.marked=!1}),this._ngSelect.hideSelected&&this.resetFilteredItems()}findByLabel(s){return s=ie(s).toLocaleLowerCase(),this.filteredItems.find(e=>ie(e.label).toLocaleLowerCase().substr(0,s.length)===s)}filter(s){if(!s){this.resetFilteredItems();return}this._filteredItems=[],s=this._ngSelect.searchFn?s:ie(s).toLocaleLowerCase();let e=this._ngSelect.searchFn||this._defaultSearchFn,t=this._ngSelect.hideSelected;for(let n of Array.from(this._groups.keys())){let l=[];for(let o of this._groups.get(n)){if(t&&(o.parent&&o.parent.selected||o.selected))continue;let r=this._ngSelect.searchFn?o.value:o;e(s,r)&&l.push(o)}if(l.length>0){let[o]=l.slice(-1);if(o.parent){let r=this._items.find(w=>w===o.parent);this._filteredItems.push(r)}this._filteredItems.push(...l)}}}resetFilteredItems(){this._filteredItems.length!==this._items.length&&(this._ngSelect.hideSelected&&this.selectedItems.length>0?this._filteredItems=this._items.filter(s=>!s.selected):this._filteredItems=this._items)}unmarkItem(){this._markedIndex=-1}markNextItem(){this._stepToItem(1)}markPreviousItem(){this._stepToItem(-1)}markItem(s){this._markedIndex=this._filteredItems.indexOf(s)}markSelectedOrDefault(s){if(this._filteredItems.length===0)return;let e=this._getLastMarkedIndex();e>-1?this._markedIndex=e:this._markedIndex=s?this.filteredItems.findIndex(t=>!t.disabled):-1}resolveNested(s,e){if(!$(s))return s;if(e.indexOf(".")===-1)return s[e];{let t=e.split("."),n=s;for(let l=0,o=t.length;l<o;++l){if(n==null)return null;n=n[t[l]]}return n}}mapItem(s,e){let t=h(s.$ngOptionLabel)?s.$ngOptionLabel:this.resolveNested(s,this._ngSelect.bindLabel),n=h(s.$ngOptionValue)?s.$ngOptionValue:s;return{index:e,label:h(t)?t.toString():"",value:n,disabled:s.disabled,htmlId:`${this._ngSelect.dropdownId}-${e}`}}mapSelectedItems(){let s=this._ngSelect.multiple;for(let e of this.selectedItems){let t=this._ngSelect.bindValue?this.resolveNested(e.value,this._ngSelect.bindValue):e.value,n=h(t)?this.findItem(t):null;this._selectionModel.unselect(e,s),this._selectionModel.select(n||e,s,this._ngSelect.selectableGroupAsModel)}this._ngSelect.hideSelected&&(this._filteredItems=this.filteredItems.filter(e=>this.selectedItems.indexOf(e)===-1))}_showSelected(s){if(this._filteredItems.push(s),s.parent){let e=s.parent;this._filteredItems.find(n=>n===e)||this._filteredItems.push(e)}else if(s.children)for(let e of s.children)e.selected=!1,this._filteredItems.push(e);this._filteredItems=[...this._filteredItems.sort((e,t)=>e.index-t.index)]}_hideSelected(s){this._filteredItems=this._filteredItems.filter(e=>e!==s),s.parent?s.parent.children.every(t=>t.selected)&&(this._filteredItems=this._filteredItems.filter(t=>t!==s.parent)):s.children&&(this._filteredItems=this.filteredItems.filter(e=>e.parent!==s))}_defaultSearchFn(s,e){return ie(e.label).toLocaleLowerCase().indexOf(s)>-1}_getNextItemIndex(s){return s>0?this._markedIndex>=this._filteredItems.length-1?0:this._markedIndex+1:this._markedIndex<=0?this._filteredItems.length-1:this._markedIndex-1}_stepToItem(s){this._filteredItems.length===0||this._filteredItems.every(e=>e.disabled)||(this._markedIndex=this._getNextItemIndex(s),this.markedItem.disabled&&this._stepToItem(s))}_getLastMarkedIndex(){if(this._ngSelect.hideSelected||this._markedIndex>-1&&this.markedItem===void 0)return-1;let s=this._filteredItems.indexOf(this.lastSelectedItem);return this.lastSelectedItem&&s<0?-1:Math.max(this.markedIndex,s)}_groupBy(s,e){let t=new Map;if(s.length===0)return t;if(Array.isArray(s[0].value[e])){for(let o of s){let r=(o.value[e]||[]).map((w,C)=>this.mapItem(w,C));t.set(o,r)}return t}let n=ne(this._ngSelect.groupBy),l=o=>{let r=n?e(o.value):o.value[e];return h(r)?r:void 0};for(let o of s){let r=l(o),w=t.get(r);w?w.push(o):t.set(r,[o])}return t}_flatten(s){let e=ne(this._ngSelect.groupBy),t=[];for(let n of Array.from(s.keys())){let l=t.length;if(n===void 0){let x=s.get(void 0)||[];t.push(...x.map(A=>(A.index=l++,A)));continue}let o=$(n),r={label:o?"":String(n),children:void 0,parent:null,index:l++,disabled:!this._ngSelect.selectableGroup,htmlId:We()},w=e?this._ngSelect.bindLabel:this._ngSelect.groupBy,C=this._ngSelect.groupValue||(()=>o?n.value:{[w]:n}),L=s.get(n).map(x=>(x.parent=r,x.children=void 0,x.index=l++,x));r.children=L,r.value=C(n,L.map(x=>x.value)),t.push(r),t.push(...L)}return t}},qe=(()=>{class i{constructor(){this._dimensions={itemHeight:0,panelHeight:0,itemsPerViewport:0}}get dimensions(){return this._dimensions}calculateItems(e,t,n){let l=this._dimensions,o=l.itemHeight*t,w=Math.max(0,e)/o*t,C=Math.min(t,Math.ceil(w)+(l.itemsPerViewport+1)),x=Math.max(0,C-l.itemsPerViewport),A=Math.min(x,Math.floor(w)),Z=l.itemHeight*Math.ceil(A)-l.itemHeight*Math.min(A,n);return Z=isNaN(Z)?0:Z,A=isNaN(A)?-1:A,C=isNaN(C)?-1:C,A-=n,A=Math.max(0,A),C+=n,C=Math.min(t,C),{topPadding:Z,scrollHeight:o,start:A,end:C}}setDimensions(e,t){let n=Math.max(1,Math.floor(t/e));this._dimensions={itemHeight:e,panelHeight:t,itemsPerViewport:n}}getScrollTo(e,t,n){let{panelHeight:l}=this.dimensions,o=e+t,r=n,w=r+l;return l>=o&&n===e?null:o>w?r+o-w:e<=r?e:null}static{this.\u0275fac=function(t){return new(t||i)}}static{this.\u0275prov=X({token:i,factory:i.\u0275fac})}}return i})(),je=["top","right","bottom","left"],ii=typeof requestAnimationFrame<"u"?_e:fe,Qe=(()=>{class i{constructor(e,t,n,l,o){this._renderer=e,this._zone=t,this._panelService=n,this._document=o,this.items=[],this.position="auto",this.virtualScroll=!1,this.filterValue=null,this.ariaLabelDropdown=le(null),this.update=new y,this.scroll=new y,this.scrollToEnd=new y,this.outsideClick=new y,this._destroy$=new U,this._scrollToEndFired=!1,this._updateScrollHeight=!1,this._lastScrollPosition=0,this._dropdown=l.nativeElement}get currentPosition(){return this._currentPosition}get itemsLength(){return this._itemsLength}set itemsLength(e){e!==this._itemsLength&&(this._itemsLength=e,this._onItemsLengthChanged())}get _startOffset(){if(this.markedItem){let{itemHeight:e,panelHeight:t}=this._panelService.dimensions,n=this.markedItem.index*e;return t>n?0:n}return 0}ngOnInit(){this._select=this._dropdown.parentElement,this._virtualPadding=this.paddingElementRef.nativeElement,this._scrollablePanel=this.scrollElementRef.nativeElement,this._contentPanel=this.contentElementRef.nativeElement,this._handleScroll(),this._handleOutsideClick(),this._appendDropdown(),this._setupMousedownListener()}ngOnChanges(e){if(e.items){let t=e.items;this._onItemsChange(t.currentValue,t.firstChange)}}ngOnDestroy(){this._destroy$.next(),this._destroy$.complete(),this._destroy$.unsubscribe(),this.appendTo&&this._renderer.removeChild(this._dropdown.parentNode,this._dropdown)}scrollTo(e,t=!1){if(!e)return;let n=this.items.indexOf(e);if(n<0||n>=this.itemsLength)return;let l;if(this.virtualScroll){let o=this._panelService.dimensions.itemHeight;l=this._panelService.getScrollTo(n*o,o,this._lastScrollPosition)}else{let o=this._dropdown.querySelector(`#${e.htmlId}`),r=t?o.offsetTop:this._lastScrollPosition;l=this._panelService.getScrollTo(o.offsetTop,o.clientHeight,r)}h(l)&&(this._scrollablePanel.scrollTop=l)}scrollToTag(){let e=this._scrollablePanel;e.scrollTop=e.scrollHeight-e.clientHeight}adjustPosition(){this._updateYPosition()}_handleDropdownPosition(){this._currentPosition=this._calculateCurrentPosition(this._dropdown),je.includes(this._currentPosition)?this._updateDropdownClass(this._currentPosition):this._updateDropdownClass("bottom"),this.appendTo&&this._updateYPosition(),this._dropdown.style.opacity="1"}_updateDropdownClass(e){je.forEach(n=>{let l=`ng-select-${n}`;this._renderer.removeClass(this._dropdown,l),this._renderer.removeClass(this._select,l)});let t=`ng-select-${e}`;this._renderer.addClass(this._dropdown,t),this._renderer.addClass(this._select,t)}_handleScroll(){this._zone.runOutsideAngular(()=>{W(this.scrollElementRef.nativeElement,"scroll").pipe(M(this._destroy$),Te(0,ii)).subscribe(e=>{let t=e.path||e.composedPath&&e.composedPath();if(!t||t.length===0&&!e.target)return;let n=!t||t.length===0?e.target.scrollTop:t[0].scrollTop;this._onContentScrolled(n)})})}_handleOutsideClick(){this._document&&this._zone.runOutsideAngular(()=>{J(W(this._document,"touchstart",{capture:!0}),W(this._document,"click",{capture:!0})).pipe(M(this._destroy$)).subscribe(e=>this._checkToClose(e))})}_checkToClose(e){if(this._select.contains(e.target)||this._dropdown.contains(e.target))return;let t=e.path||e.composedPath&&e.composedPath();e.target&&e.target.shadowRoot&&t&&t[0]&&this._select.contains(t[0])||this._zone.run(()=>this.outsideClick.emit())}_onItemsChange(e,t){this.items=e||[],this._scrollToEndFired=!1,this.itemsLength=e.length,this.virtualScroll?this._updateItemsRange(t):(this._setVirtualHeight(),this._updateItems(t))}_updateItems(e){this.update.emit(this.items),e!==!1&&this._zone.runOutsideAngular(()=>{Promise.resolve().then(()=>{let t=this._scrollablePanel.clientHeight;this._panelService.setDimensions(0,t),this._handleDropdownPosition(),this.scrollTo(this.markedItem,e)})})}_updateItemsRange(e){this._zone.runOutsideAngular(()=>{this._measureDimensions().then(()=>{e?(this._renderItemsRange(this._startOffset),this._handleDropdownPosition()):this._renderItemsRange()})})}_onContentScrolled(e){this.virtualScroll&&this._renderItemsRange(e),this._lastScrollPosition=e,this._fireScrollToEnd(e)}_updateVirtualHeight(e){this._updateScrollHeight&&(this._virtualPadding.style.height=`${e}px`,this._updateScrollHeight=!1)}_setVirtualHeight(){this._virtualPadding&&(this._virtualPadding.style.height="0px")}_onItemsLengthChanged(){this._updateScrollHeight=!0}_renderItemsRange(e=null){if(e&&this._lastScrollPosition===e)return;e=e||this._scrollablePanel.scrollTop;let t=this._panelService.calculateItems(e,this.itemsLength,this.bufferAmount);this._updateVirtualHeight(t.scrollHeight),this._contentPanel.style.transform=`translateY(${t.topPadding}px)`,this._zone.run(()=>{this.update.emit(this.items.slice(t.start,t.end)),this.scroll.emit({start:t.start,end:t.end})}),h(e)&&this._lastScrollPosition===0&&(this._scrollablePanel.scrollTop=e,this._lastScrollPosition=e)}_measureDimensions(){if(this._panelService.dimensions.itemHeight>0||this.itemsLength===0)return Promise.resolve(this._panelService.dimensions);let[e]=this.items;return this.update.emit([e]),Promise.resolve().then(()=>{let n=this._dropdown.querySelector(`#${e.htmlId}`).clientHeight;this._virtualPadding.style.height=`${n*this.itemsLength}px`;let l=this._scrollablePanel.clientHeight;return this._panelService.setDimensions(n,l),this._panelService.dimensions})}_fireScrollToEnd(e){if(this._scrollToEndFired||e===0)return;let t=this.virtualScroll?this._virtualPadding:this._contentPanel;e+this._dropdown.clientHeight>=t.clientHeight-1&&(this._zone.run(()=>this.scrollToEnd.emit()),this._scrollToEndFired=!0)}_calculateCurrentPosition(e){if(this.position!=="auto")return this.position;let t=this._select.getBoundingClientRect(),n=document.documentElement.scrollTop||document.body.scrollTop,l=t.top+window.pageYOffset,o=t.height,r=e.getBoundingClientRect().height;return l+o+r>n+document.documentElement.clientHeight?"top":"bottom"}_appendDropdown(){if(this.appendTo){if(this._parent=this._dropdown.shadowRoot?this._dropdown.shadowRoot.querySelector(this.appendTo):document.querySelector(this.appendTo),!this._parent)throw new Error(`appendTo selector ${this.appendTo} did not found any parent element`);this._updateXPosition(),this._parent.appendChild(this._dropdown)}}_updateXPosition(){let e=this._select.getBoundingClientRect(),t=this._parent.getBoundingClientRect(),n=e.left-t.left;this._dropdown.style.left=n+"px",this._dropdown.style.width=e.width+"px",this._dropdown.style.minWidth=e.width+"px"}_updateYPosition(){let e=this._select.getBoundingClientRect(),t=this._parent.getBoundingClientRect(),n=e.height;if(this._currentPosition==="top"){let l=t.bottom-e.bottom;this._dropdown.style.bottom=l+n+"px",this._dropdown.style.top="auto"}else if(this._currentPosition==="bottom"){let l=e.top-t.top;this._dropdown.style.top=l+n+"px",this._dropdown.style.bottom="auto"}}_setupMousedownListener(){this._zone.runOutsideAngular(()=>{W(this._dropdown,"mousedown").pipe(M(this._destroy$)).subscribe(e=>{e.target.tagName!=="INPUT"&&e.preventDefault()})})}static{this.\u0275fac=function(t){return new(t||i)(d(xe),d(Ie),d(qe),d(B),d(Me,8))}}static{this.\u0275cmp=ee({type:i,selectors:[["ng-dropdown-panel"]],viewQuery:function(t,n){if(t&1&&(R($e,7,B),R(Ye,7,B),R(Ze,7,B)),t&2){let l;m(l=g())&&(n.contentElementRef=l.first),m(l=g())&&(n.scrollElementRef=l.first),m(l=g())&&(n.paddingElementRef=l.first)}},inputs:{items:"items",markedItem:"markedItem",position:"position",appendTo:"appendTo",bufferAmount:"bufferAmount",virtualScroll:[2,"virtualScroll","virtualScroll",f],headerTemplate:"headerTemplate",footerTemplate:"footerTemplate",filterValue:"filterValue",ariaLabelDropdown:[1,"ariaLabelDropdown"]},outputs:{update:"update",scroll:"scroll",scrollToEnd:"scrollToEnd",outsideClick:"outsideClick"},features:[q],ngContentSelectors:ze,decls:9,vars:7,consts:[["scroll",""],["padding",""],["content",""],[1,"ng-dropdown-header"],["role","listbox",1,"ng-dropdown-panel-items","scroll-host"],[1,"ng-dropdown-footer"],[3,"ngTemplateOutlet","ngTemplateOutletContext"]],template:function(t,n){t&1&&(ue(),_(0,Je,2,4,"div",3),p(1,"div",4,0),H(3,"div",null,1),p(5,"div",null,2),ce(7),E()(),_(8,Xe,2,4,"div",5)),t&2&&(F(n.headerTemplate?0:-1),u(),G("aria-label",n.ariaLabelDropdown()),u(2),N("total-padding",n.virtualScroll),u(2),N("scrollable-content",n.virtualScroll&&n.items.length),u(3),F(n.footerTemplate?8:-1))},dependencies:[he],encapsulation:2,changeDetection:0})}}return i})(),ni=(()=>{class i{constructor(e){this.elementRef=e,this.disabled=!1,this.stateChange$=new U}get label(){return(this.elementRef.nativeElement.textContent||"").trim()}ngOnChanges(e){e.disabled&&this.stateChange$.next({value:this.value,disabled:this.disabled})}ngAfterViewChecked(){this.label!==this._previousLabel&&(this._previousLabel=this.label,this.stateChange$.next({value:this.value,disabled:this.disabled,label:this.elementRef.nativeElement.innerHTML}))}ngOnDestroy(){this.stateChange$.complete()}static{this.\u0275fac=function(t){return new(t||i)(d(B))}}static{this.\u0275cmp=ee({type:i,selectors:[["ng-option"]],inputs:{value:"value",disabled:[2,"disabled","disabled",f]},features:[q],ngContentSelectors:ze,decls:1,vars:0,template:function(t,n){t&1&&(ue(),ce(0))},encapsulation:2,changeDetection:0})}}return i})(),k=function(i){return i.Tab="Tab",i.Enter="Enter",i.Esc="Escape",i.Space=" ",i.ArrowUp="ArrowUp",i.ArrowDown="ArrowDown",i.Backspace="Backspace",i}(k||{});function Ge(){return new me}var me=class{constructor(){this._selected=[]}get value(){return this._selected}select(s,e,t){if(s.selected=!0,(!s.children||!e&&t)&&this._selected.push(s),e)if(s.parent){let n=s.parent.children.length,l=s.parent.children.filter(o=>o.selected).length;s.parent.selected=n===l}else s.children&&(this._setChildrenSelectedState(s.children,!0),this._removeChildren(s),t&&this._activeChildren(s)?this._selected=[...this._selected.filter(n=>n.parent!==s),s]:this._selected=[...this._selected,...s.children.filter(n=>!n.disabled)])}unselect(s,e){if(this._selected=this._selected.filter(t=>t!==s),s.selected=!1,e)if(s.parent&&s.parent.selected){let t=s.parent.children;this._removeParent(s.parent),this._removeChildren(s.parent),this._selected.push(...t.filter(n=>n!==s&&!n.disabled)),s.parent.selected=!1}else s.children&&(this._setChildrenSelectedState(s.children,!1),this._removeChildren(s))}clear(s){this._selected=s?this._selected.filter(e=>e.disabled):[]}_setChildrenSelectedState(s,e){for(let t of s)t.disabled||(t.selected=e)}_removeChildren(s){this._selected=[...this._selected.filter(e=>e.parent!==s),...s.children.filter(e=>e.parent===s&&e.disabled&&e.selected)]}_removeParent(s){this._selected=this._selected.filter(e=>e!==s)}_activeChildren(s){return s.children.every(e=>!e.disabled||e.selected)}},si=(()=>{class i{constructor(){this.fixedPlaceholder=!1,this.notFoundText="No items found",this.typeToSearchText="Type to search",this.addTagText="Add item",this.loadingText="Loading...",this.clearAllText="Clear all",this.disableVirtualScroll=!0,this.openOnEnter=!0,this.appearance="underline"}static{this.\u0275fac=function(t){return new(t||i)}}static{this.\u0275prov=X({token:i,factory:i.\u0275fac,providedIn:"root"})}}return i})(),li=(()=>{class i{warn(e){console.warn(e)}static{this.\u0275fac=function(t){return new(t||i)}}static{this.\u0275prov=X({token:i,factory:i.\u0275fac,providedIn:"root"})}}return i})(),Ke=new Fe("ng-select-selection-model"),xi=(()=>{class i{constructor(e,t,n,l,o,r,w){this.classes=e,this.autoFocus=t,this.config=n,this._cd=r,this._console=w,this.ariaLabelDropdown="Options List",this.markFirst=!0,this.fixedPlaceholder=!1,this.preventToggleOnRightClick=!1,this.dropdownPosition="auto",this.loading=!1,this.closeOnSelect=!0,this.hideSelected=!1,this.selectOnTab=!1,this.bufferAmount=4,this.selectableGroup=!1,this.selectableGroupAsModel=!0,this.searchFn=null,this.trackByFn=null,this.clearOnBackspace=!0,this.labelForId=null,this.inputAttrs={},this.tabFocusOnClearButton=le(!0,{transform:f}),this.readonly=!1,this.searchWhileComposing=!0,this.minTermLength=0,this.editableSearchTerm=!1,this.ngClass=null,this.multiple=!1,this.addTag=!1,this.searchable=!0,this.clearable=!0,this.isOpen=!1,this.blurEvent=new y,this.focusEvent=new y,this.changeEvent=new y,this.openEvent=new y,this.closeEvent=new y,this.searchEvent=new y,this.clearEvent=new y,this.addEvent=new y,this.removeEvent=new y,this.scroll=new y,this.scrollToEnd=new y,this.useDefaultClass=!0,this.viewPortItems=[],this.searchTerm=null,this.dropdownId=We(),this.escapeHTML=!0,this._defaultLabel="label",this._pressedKeys=[],this._isComposing=!1,this._destroy$=new U,this._keyPress$=new U,this._items=[],this.keyDownFn=C=>!0,this.clearItem=C=>{let L=this.selectedItems.find(x=>x.value===C);this.unselect(L)},this.trackByOption=(C,L)=>this.trackByFn?this.trackByFn(L.value):L,this._onChange=C=>{},this._onTouched=()=>{},this._mergeGlobalConfig(n),this.itemsList=new pe(this,l?l():Ge()),this.element=o.nativeElement}get filtered(){return!!this.searchTerm&&this.searchable||this._isComposing}get single(){return!this.multiple}get items(){return this._items}set items(e){this._itemsAreUsed=!0,this._items=e??[]}get disabled(){return this.readonly||this._disabled}get compareWith(){return this._compareWith}set compareWith(e){if(e!=null&&!ne(e))throw Error("`compareWith` must be a function.");this._compareWith=e}get clearSearchOnAdd(){return h(this._clearSearchOnAdd)?this._clearSearchOnAdd:h(this.config.clearSearchOnAdd)?this.config.clearSearchOnAdd:this.closeOnSelect}set clearSearchOnAdd(e){this._clearSearchOnAdd=e}get deselectOnClick(){return h(this._deselectOnClick)?this._deselectOnClick:h(this.config.deselectOnClick)?this.config.deselectOnClick:this.multiple}set deselectOnClick(e){this._deselectOnClick=e}get selectedItems(){return this.itemsList.selectedItems}get selectedValues(){return this.selectedItems.map(e=>e.value)}get hasValue(){return this.selectedItems.length>0}get currentPanelPosition(){if(this.dropdownPanel)return this.dropdownPanel.currentPosition}get showAddTag(){if(!this._validTerm)return!1;let e=this.searchTerm.toLowerCase().trim();return this.addTag&&!this.itemsList.filteredItems.some(t=>t.label.toLowerCase()===e)&&(!this.hideSelected&&this.isOpen||!this.selectedItems.some(t=>t.label.toLowerCase()===e))&&!this.loading}get _editableSearchTerm(){return this.editableSearchTerm&&!this.multiple}get _isTypeahead(){return this.typeahead&&this.typeahead.observers.length>0}get _validTerm(){let e=this.searchTerm?.trim();return e&&e.length>=this.minTermLength}ngOnInit(){this._handleKeyPresses(),this._setInputAttributes()}ngOnChanges(e){e.multiple&&this.itemsList.clearSelected(),e.items&&this._setItems(e.items.currentValue||[]),e.isOpen&&(this._manualOpen=h(e.isOpen.currentValue)),e.groupBy&&(e.items||this._setItems([...this.items])),e.inputAttrs&&this._setInputAttributes()}ngAfterViewInit(){this._itemsAreUsed||(this.escapeHTML=!1,this._setItemsFromNgOptions()),h(this.autoFocus)&&this.focus()}ngOnDestroy(){this._destroy$.next(),this._destroy$.complete()}handleKeyDown(e){let t=e.key;if(Object.values(k).includes(t)){if(this.keyDownFn(e)===!1)return;this.handleKeyCode(e)}else t&&t.length===1&&this._keyPress$.next(t.toLocaleLowerCase())}handleKeyCode(e){let t=e.target;this.clearButton&&this.clearButton.nativeElement===t?this.handleKeyCodeClear(e):this.handleKeyCodeInput(e)}handleKeyCodeInput(e){switch(e.key){case k.ArrowDown:this._handleArrowDown(e);break;case k.ArrowUp:this._handleArrowUp(e);break;case k.Space:this._handleSpace(e);break;case k.Enter:this._handleEnter(e);break;case k.Tab:this._handleTab(e);break;case k.Esc:this.close(),e.preventDefault();break;case k.Backspace:this._handleBackspace();break}}handleKeyCodeClear(e){switch(e.key){case k.Enter:this.handleClearClick(),e.preventDefault();break}}handleMousedown(e){if(this.preventToggleOnRightClick&&e.button===2)return!1;let t=e.target;if(t.tagName!=="INPUT"&&e.preventDefault(),t.classList.contains("ng-clear-wrapper")){this.handleClearClick();return}if(t.classList.contains("ng-arrow-wrapper")){this.handleArrowClick();return}t.classList.contains("ng-value-icon")||(this.focused||this.focus(),this.searchable?this.open():this.toggle())}handleArrowClick(){this.isOpen?this.close():this.open()}handleClearClick(){this.hasValue&&(this.itemsList.clearSelected(!0),this._updateNgModel()),this._clearSearch(),this.focus(),this.clearEvent.emit(),this._onSelectionChanged()}clearModel(){this.clearable&&(this.itemsList.clearSelected(),this._updateNgModel())}writeValue(e){this.itemsList.clearSelected(),this._handleWriteValue(e),this._cd.markForCheck()}registerOnChange(e){this._onChange=e}registerOnTouched(e){this._onTouched=e}setDisabledState(e){this._disabled=e,this._cd.markForCheck()}toggle(){this.isOpen?this.close():this.open()}open(){this.disabled||this.isOpen||this._manualOpen||!this._isTypeahead&&!this.addTag&&this.itemsList.noItemsToSelect||(this.isOpen=!0,this.itemsList.markSelectedOrDefault(this.markFirst),this.openEvent.emit(),this.searchTerm||this.focus(),this.detectChanges())}close(){!this.isOpen||this._manualOpen||(this.isOpen=!1,this._isComposing=!1,this._editableSearchTerm?this.itemsList.resetFilteredItems():this._clearSearch(),this.itemsList.unmarkItem(),this._onTouched(),this.closeEvent.emit(),this._cd.markForCheck())}toggleItem(e){!e||e.disabled||this.disabled||(this.deselectOnClick&&e.selected?this.unselect(e):this.select(e),this._editableSearchTerm&&this._setSearchTermFromItems())}select(e){e.selected||(this.itemsList.select(e),this.clearSearchOnAdd&&!this._editableSearchTerm&&this._clearSearch(),this._updateNgModel(),this.multiple&&this.addEvent.emit(e.value)),(this.closeOnSelect||this.itemsList.noItemsToSelect)&&this.close(),this._onSelectionChanged()}focus(){this.searchInput.nativeElement.focus()}blur(){this.searchInput.nativeElement.blur()}unselect(e){e&&(this.itemsList.unselect(e),this.focus(),this._updateNgModel(),this.removeEvent.emit(e.value),this._onSelectionChanged())}selectTag(){let e;ne(this.addTag)?e=this.addTag(this.searchTerm):e=this._primitive?this.searchTerm:{[this.bindLabel]:this.searchTerm};let t=n=>this._isTypeahead||!this.isOpen?this.itemsList.mapItem(n,null):this.itemsList.addItem(n);Ht(e)?e.then(n=>this.select(t(n))).catch(()=>{}):e&&this.select(t(e))}showClear(){return this.clearable&&(this.hasValue||this.searchTerm)&&!this.disabled}focusOnClear(){this.blur(),this.clearButton&&this.clearButton.nativeElement.focus()}showNoItemsFound(){let e=this.itemsList.filteredItems.length===0;return(e&&!this._isTypeahead&&!this.loading||e&&this._isTypeahead&&this._validTerm&&!this.loading)&&!this.showAddTag}showTypeToSearch(){return this.itemsList.filteredItems.length===0&&this._isTypeahead&&!this._validTerm&&!this.loading}onCompositionStart(){this._isComposing=!0}onCompositionEnd(e){this._isComposing=!1,!this.searchWhileComposing&&this.filter(e)}filter(e){this._isComposing&&!this.searchWhileComposing||(this.searchTerm=e,this._isTypeahead&&(this._validTerm||this.minTermLength===0)&&this.typeahead.next(e),this._isTypeahead||(this.itemsList.filter(this.searchTerm),this.isOpen&&this.itemsList.markSelectedOrDefault(this.markFirst)),this.searchEvent.emit({term:e,items:this.itemsList.filteredItems.map(t=>t.value)}),this.open())}onInputFocus(e){this.focused||(this._editableSearchTerm&&this._setSearchTermFromItems(),this.element.classList.add("ng-select-focused"),this.focusEvent.emit(e),this.focused=!0)}onInputBlur(e){this.element.classList.remove("ng-select-focused"),this.blurEvent.emit(e),!this.isOpen&&!this.disabled&&this._onTouched(),this._editableSearchTerm&&this._setSearchTermFromItems(),this.focused=!1}onItemHover(e){e.disabled||this.itemsList.markItem(e)}detectChanges(){this._cd.destroyed||this._cd.detectChanges()}_setSearchTermFromItems(){let e=this.selectedItems?.[0];this.searchTerm=e?.label??null}_setItems(e){let t=e[0];this.bindLabel=this.bindLabel||this._defaultLabel,this._primitive=h(t)?!$(t):this._primitive||this.bindLabel===this._defaultLabel,this.itemsList.setItems(e),e.length>0&&this.hasValue&&this.itemsList.mapSelectedItems(),this.isOpen&&h(this.searchTerm)&&!this._isTypeahead&&this.itemsList.filter(this.searchTerm),(this._isTypeahead||this.isOpen)&&this.itemsList.markSelectedOrDefault(this.markFirst)}_setItemsFromNgOptions(){let e=n=>{this.items=n.map(l=>({$ngOptionValue:l.value,$ngOptionLabel:l.elementRef.nativeElement.innerHTML,disabled:l.disabled})),this.itemsList.setItems(this.items),this.hasValue&&this.itemsList.mapSelectedItems(),this.detectChanges()},t=()=>{let n=J(this.ngOptions.changes,this._destroy$);J(...this.ngOptions.map(l=>l.stateChange$)).pipe(M(n)).subscribe(l=>{let o=this.itemsList.findItem(l.value);o.disabled=l.disabled,o.label=l.label||o.label,this._cd.detectChanges()})};this.ngOptions.changes.pipe(ve(this.ngOptions),M(this._destroy$)).subscribe(n=>{this.bindLabel=this._defaultLabel,e(n),t()})}_isValidWriteValue(e){if(!h(e)||this.multiple&&e===""||Array.isArray(e)&&e.length===0)return!1;let t=n=>!h(this.compareWith)&&$(n)&&this.bindValue?(this._console.warn(`Setting object(${JSON.stringify(n)}) as your model with bindValue is not allowed unless [compareWith] is used.`),!1):!0;return this.multiple?Array.isArray(e)?e.every(n=>t(n)):(this._console.warn("Multiple select ngModel should be array."),!1):t(e)}_handleWriteValue(e){if(!this._isValidWriteValue(e))return;let t=n=>{let l=this.itemsList.findItem(n);if(l)this.itemsList.select(l);else{let o=$(n),r=!o&&!this.bindValue;o||r?this.itemsList.select(this.itemsList.mapItem(n,null)):this.bindValue&&(l={[this.bindLabel]:null,[this.bindValue]:n},this.itemsList.select(this.itemsList.mapItem(l,null)))}};this.multiple?e.forEach(n=>t(n)):t(e)}_handleKeyPresses(){this.searchable||this._keyPress$.pipe(M(this._destroy$),we(e=>this._pressedKeys.push(e)),be(200),Ce(()=>this._pressedKeys.length>0),Ee(()=>this._pressedKeys.join(""))).subscribe(e=>{let t=this.itemsList.findByLabel(e);t&&(this.isOpen?(this.itemsList.markItem(t),this._scrollToMarked(),this._cd.markForCheck()):this.select(t)),this._pressedKeys=[]})}_setInputAttributes(){let e=this.searchInput.nativeElement,t=ge({type:"text",autocorrect:"off",autocapitalize:"off",autocomplete:"off","aria-controls":this.dropdownId},this.inputAttrs);for(let n of Object.keys(t))e.setAttribute(n,t[n])}_updateNgModel(){let e=[];for(let n of this.selectedItems)if(this.bindValue){let l=null;if(n.children){let o=this.groupValue?this.bindValue:this.groupBy;l=n.value[o||this.groupBy]}else l=this.itemsList.resolveNested(n.value,this.bindValue);e.push(l)}else e.push(n.value);let t=this.selectedItems.map(n=>n.value);this.multiple?(this._onChange(e),this.changeEvent.emit(t)):(this._onChange(h(e[0])?e[0]:null),this.changeEvent.emit(t[0])),this._cd.markForCheck()}_clearSearch(){this.searchTerm&&(this._changeSearch(null),this.itemsList.resetFilteredItems())}_changeSearch(e){this.searchTerm=e,this._isTypeahead&&this.typeahead.next(e)}_scrollToMarked(){!this.isOpen||!this.dropdownPanel||this.dropdownPanel.scrollTo(this.itemsList.markedItem)}_scrollToTag(){!this.isOpen||!this.dropdownPanel||this.dropdownPanel.scrollToTag()}_onSelectionChanged(){this.isOpen&&this.deselectOnClick&&this.appendTo&&(this._cd.detectChanges(),this.dropdownPanel.adjustPosition())}_handleTab(e){if(this.isOpen===!1){if(this.showClear()&&!e.shiftKey&&this.tabFocusOnClearButton())this.focusOnClear(),e.preventDefault();else if(!this.addTag)return}this.selectOnTab?this.itemsList.markedItem?(this.toggleItem(this.itemsList.markedItem),e.preventDefault()):this.showAddTag?(this.selectTag(),e.preventDefault()):this.close():this.close()}_handleEnter(e){if(this.isOpen||this._manualOpen)this.itemsList.markedItem?this.toggleItem(this.itemsList.markedItem):this.showAddTag&&this.selectTag();else if(this.openOnEnter)this.open();else return;e.preventDefault()}_handleSpace(e){this.isOpen||this._manualOpen||(this.open(),e.preventDefault())}_handleArrowDown(e){this._nextItemIsTag(1)?(this.itemsList.unmarkItem(),this._scrollToTag()):(this.itemsList.markNextItem(),this._scrollToMarked()),this.open(),e.preventDefault()}_handleArrowUp(e){this.isOpen&&(this._nextItemIsTag(-1)?(this.itemsList.unmarkItem(),this._scrollToTag()):(this.itemsList.markPreviousItem(),this._scrollToMarked()),e.preventDefault())}_nextItemIsTag(e){let t=this.itemsList.markedIndex+e;return this.addTag&&this.searchTerm&&this.itemsList.markedItem&&(t<0||t===this.itemsList.filteredItems.length)}_handleBackspace(){this.searchTerm||!this.clearable||!this.clearOnBackspace||!this.hasValue||(this.multiple?this.unselect(this.itemsList.lastSelectedItem):this.clearModel())}_mergeGlobalConfig(e){this.placeholder=this.placeholder||e.placeholder,this.fixedPlaceholder=this.fixedPlaceholder||e.fixedPlaceholder,this.notFoundText=this.notFoundText||e.notFoundText,this.typeToSearchText=this.typeToSearchText||e.typeToSearchText,this.addTagText=this.addTagText||e.addTagText,this.loadingText=this.loadingText||e.loadingText,this.clearAllText=this.clearAllText||e.clearAllText,this.virtualScroll=this.getVirtualScroll(e),this.openOnEnter=h(this.openOnEnter)?this.openOnEnter:e.openOnEnter,this.appendTo=this.appendTo||e.appendTo,this.bindValue=this.bindValue||e.bindValue,this.bindLabel=this.bindLabel||e.bindLabel,this.appearance=this.appearance||e.appearance}getVirtualScroll(e){return h(this.virtualScroll)?this.virtualScroll:this.isVirtualScrollDisabled(e)}isVirtualScrollDisabled(e){return h(e.disableVirtualScroll)?!e.disableVirtualScroll:!1}static{this.\u0275fac=function(t){return new(t||i)(se("class"),se("autofocus"),d(si),d(Ke,8),d(B),d(Pe),d(li))}}static{this.\u0275cmp=ee({type:i,selectors:[["ng-select"]],contentQueries:function(t,n,l){if(t&1&&(I(l,Qt,5,c),I(l,zt,5,c),I(l,Ut,5,c),I(l,Wt,5,c),I(l,qt,5,c),I(l,Gt,5,c),I(l,Kt,5,c),I(l,$t,5,c),I(l,Yt,5,c),I(l,Zt,5,c),I(l,Jt,5,c),I(l,Xt,5,c),I(l,ei,5,c),I(l,ni,5)),t&2){let o;m(o=g())&&(n.optionTemplate=o.first),m(o=g())&&(n.optgroupTemplate=o.first),m(o=g())&&(n.labelTemplate=o.first),m(o=g())&&(n.multiLabelTemplate=o.first),m(o=g())&&(n.headerTemplate=o.first),m(o=g())&&(n.footerTemplate=o.first),m(o=g())&&(n.notFoundTemplate=o.first),m(o=g())&&(n.placeholderTemplate=o.first),m(o=g())&&(n.typeToSearchTemplate=o.first),m(o=g())&&(n.loadingTextTemplate=o.first),m(o=g())&&(n.tagTemplate=o.first),m(o=g())&&(n.loadingSpinnerTemplate=o.first),m(o=g())&&(n.clearButtonTemplate=o.first),m(o=g())&&(n.ngOptions=o)}},viewQuery:function(t,n){if(t&1&&(R(Qe,5),R(et,7),R(tt,5)),t&2){let l;m(l=g())&&(n.dropdownPanel=l.first),m(l=g())&&(n.searchInput=l.first),m(l=g())&&(n.clearButton=l.first)}},hostVars:20,hostBindings:function(t,n){t&1&&P("keydown",function(o){return n.handleKeyDown(o)}),t&2&&N("ng-select-typeahead",n.typeahead)("ng-select-multiple",n.multiple)("ng-select-taggable",n.addTag)("ng-select-searchable",n.searchable)("ng-select-clearable",n.clearable)("ng-select-opened",n.isOpen)("ng-select",n.useDefaultClass)("ng-select-filtered",n.filtered)("ng-select-single",n.single)("ng-select-disabled",n.disabled)},inputs:{ariaLabelDropdown:"ariaLabelDropdown",bindLabel:"bindLabel",bindValue:"bindValue",ariaLabel:"ariaLabel",markFirst:[2,"markFirst","markFirst",f],placeholder:"placeholder",fixedPlaceholder:"fixedPlaceholder",notFoundText:"notFoundText",typeToSearchText:"typeToSearchText",preventToggleOnRightClick:"preventToggleOnRightClick",addTagText:"addTagText",loadingText:"loadingText",clearAllText:"clearAllText",appearance:"appearance",dropdownPosition:"dropdownPosition",appendTo:"appendTo",loading:[2,"loading","loading",f],closeOnSelect:[2,"closeOnSelect","closeOnSelect",f],hideSelected:[2,"hideSelected","hideSelected",f],selectOnTab:[2,"selectOnTab","selectOnTab",f],openOnEnter:[2,"openOnEnter","openOnEnter",f],maxSelectedItems:[2,"maxSelectedItems","maxSelectedItems",K],groupBy:"groupBy",groupValue:"groupValue",bufferAmount:[2,"bufferAmount","bufferAmount",K],virtualScroll:[2,"virtualScroll","virtualScroll",f],selectableGroup:[2,"selectableGroup","selectableGroup",f],selectableGroupAsModel:[2,"selectableGroupAsModel","selectableGroupAsModel",f],searchFn:"searchFn",trackByFn:"trackByFn",clearOnBackspace:[2,"clearOnBackspace","clearOnBackspace",f],labelForId:"labelForId",inputAttrs:"inputAttrs",tabIndex:[2,"tabIndex","tabIndex",K],tabFocusOnClearButton:[1,"tabFocusOnClearButton"],readonly:[2,"readonly","readonly",f],searchWhileComposing:[2,"searchWhileComposing","searchWhileComposing",f],minTermLength:[2,"minTermLength","minTermLength",K],editableSearchTerm:[2,"editableSearchTerm","editableSearchTerm",f],ngClass:"ngClass",typeahead:"typeahead",multiple:[2,"multiple","multiple",f],addTag:"addTag",searchable:[2,"searchable","searchable",f],clearable:[2,"clearable","clearable",f],isOpen:"isOpen",items:"items",compareWith:"compareWith",clearSearchOnAdd:"clearSearchOnAdd",deselectOnClick:"deselectOnClick",keyDownFn:"keyDownFn"},outputs:{blurEvent:"blur",focusEvent:"focus",changeEvent:"change",openEvent:"open",closeEvent:"close",searchEvent:"search",clearEvent:"clear",addEvent:"add",removeEvent:"remove",scroll:"scroll",scrollToEnd:"scrollToEnd"},features:[Le([{provide:He,useExisting:ye(()=>i),multi:!0},qe]),q],decls:15,vars:20,consts:[["searchInput",""],["defaultPlaceholderTemplate",""],["defaultLabelTemplate",""],["defaultLoadingSpinnerTemplate",""],["clearButton",""],["defaultOptionTemplate",""],["defaultTagTemplate",""],["defaultNotFoundTemplate",""],["defaultTypeToSearchTemplate",""],["defaultLoadingTextTemplate",""],[1,"ng-select-container",3,"mousedown"],[1,"ng-value-container"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"ng-input"],["aria-autocomplete","list","role","combobox",3,"blur","change","compositionend","compositionstart","focus","input","disabled","readOnly","value"],[1,"ng-arrow-wrapper"],[1,"ng-arrow"],[1,"ng-dropdown-panel",3,"virtualScroll","bufferAmount","appendTo","position","headerTemplate","footerTemplate","filterValue","items","markedItem","ng-select-multiple","ngClass","id","ariaLabelDropdown"],["aria-atomic","true","aria-live","polite","role","status",1,"ng-visually-hidden"],[3,"ngTemplateOutlet"],[1,"ng-placeholder"],[1,"ng-value",3,"ng-value-disabled"],[1,"ng-value"],["aria-hidden","true",1,"ng-value-icon","left",3,"click"],[1,"ng-value-label",3,"ngItemLabel","escape"],[1,"ng-spinner-loader"],["role","button","tabindex","0",1,"ng-clear-wrapper",3,"title"],["aria-hidden","true",1,"ng-clear"],[1,"ng-dropdown-panel",3,"update","scroll","scrollToEnd","outsideClick","virtualScroll","bufferAmount","appendTo","position","headerTemplate","footerTemplate","filterValue","items","markedItem","ngClass","id","ariaLabelDropdown"],[1,"ng-option",3,"ng-option-disabled","ng-option-selected","ng-optgroup","ng-option","ng-option-child","ng-option-marked"],["role","option",1,"ng-option",3,"ng-option-marked"],[1,"ng-option",3,"click","mouseover"],[1,"ng-option-label",3,"ngItemLabel","escape"],["role","option",1,"ng-option",3,"mouseover","click"],[1,"ng-tag-label"],[1,"ng-option","ng-option-disabled"]],template:function(t,n){if(t&1){let l=j();p(0,"div",10),P("mousedown",function(r){return T(l),b(n.handleMousedown(r))}),p(1,"div",11),_(2,rt,3,1)(3,dt,2,0)(4,pt,1,5,null,12),p(5,"div",13)(6,"input",14,0),P("blur",function(r){return T(l),b(n.onInputBlur(r))})("change",function(r){return T(l),b(r.stopPropagation())})("compositionend",function(){T(l);let r=D(7);return b(n.onCompositionEnd(r.value))})("compositionstart",function(){return T(l),b(n.onCompositionStart())})("focus",function(r){return T(l),b(n.onInputFocus(r))})("input",function(){T(l);let r=D(7);return b(n.filter(r.value))}),E()()(),_(8,ft,3,1)(9,Ct,2,1),p(10,"span",15),H(11,"span",16),E()(),_(12,Nt,8,18,"ng-dropdown-panel",17),p(13,"div",18),_(14,Vt,1,1),E()}if(t&2){let l;N("ng-appearance-outline",n.appearance==="outline")("ng-has-value",n.hasValue),u(2),F(n.selectedItems.length===0&&!n.searchTerm||n.fixedPlaceholder?2:-1),u(),F((!n.multiLabelTemplate||!n.multiple)&&n.selectedItems.length>0?3:-1),u(),F(n.multiple&&n.multiLabelTemplate&&n.selectedValues.length>0?4:-1),u(2),v("disabled",n.disabled)("readOnly",!n.searchable||n.itemsList.maxItemsSelected)("value",(l=n.searchTerm)!==null&&l!==void 0?l:""),G("aria-activedescendant",n.isOpen?n.itemsList==null||n.itemsList.markedItem==null?null:n.itemsList.markedItem.htmlId:null)("aria-controls",n.isOpen?n.dropdownId:null)("aria-expanded",n.isOpen)("aria-label",n.ariaLabel)("id",n.labelForId)("tabindex",n.tabIndex),u(2),F(n.loading?8:-1),u(),F(n.showClear()?9:-1),u(3),F(n.isOpen?12:-1),u(2),F(n.isOpen&&n.showNoItemsFound()?14:-1)}},dependencies:[he,jt,Qe,Re],styles:[`@charset "UTF-8";.ng-select{position:relative;display:block;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.ng-select div,.ng-select input,.ng-select span{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.ng-select [hidden]{display:none}.ng-select.ng-select-searchable .ng-select-container .ng-value-container .ng-input{opacity:1}.ng-select.ng-select-opened .ng-select-container{z-index:1001}.ng-select.ng-select-disabled .ng-select-container .ng-value-container .ng-placeholder,.ng-select.ng-select-disabled .ng-select-container .ng-value-container .ng-value{-webkit-user-select:none;user-select:none;cursor:default}.ng-select.ng-select-disabled .ng-arrow-wrapper{cursor:default}.ng-select.ng-select-filtered .ng-placeholder{display:none}.ng-select .ng-select-container{cursor:default;display:flex;outline:none;overflow:hidden;position:relative;width:100%}.ng-select .ng-select-container .ng-value-container{display:flex;flex:1}.ng-select .ng-select-container .ng-value-container .ng-input{opacity:0}.ng-select .ng-select-container .ng-value-container .ng-input>input{box-sizing:content-box;background:none transparent;border:0 none;box-shadow:none;outline:none;padding:0;cursor:default;width:100%}.ng-select .ng-select-container .ng-value-container .ng-input>input::-ms-clear{display:none}.ng-select .ng-select-container .ng-value-container .ng-input>input[readonly]{-webkit-user-select:unset;user-select:unset;width:0;padding:0}.ng-select.ng-select-single.ng-select-filtered .ng-select-container .ng-value-container .ng-value{visibility:hidden}.ng-select.ng-select-single .ng-select-container .ng-value-container,.ng-select.ng-select-single .ng-select-container .ng-value-container .ng-value{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ng-select.ng-select-single .ng-select-container .ng-value-container .ng-value .ng-value-icon{display:none}.ng-select.ng-select-single .ng-select-container .ng-value-container .ng-input{position:absolute;left:0;width:100%}.ng-select.ng-select-multiple.ng-select-disabled>.ng-select-container .ng-value-container .ng-value .ng-value-icon{display:none}.ng-select.ng-select-multiple .ng-select-container .ng-value-container{flex-wrap:wrap}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-placeholder{position:absolute}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value{white-space:nowrap}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value.ng-value-disabled .ng-value-icon{display:none}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value .ng-value-icon{cursor:pointer}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-input{flex:1;z-index:2}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-placeholder{z-index:1}.ng-select .ng-clear-wrapper{cursor:pointer;position:relative;width:17px;-webkit-user-select:none;user-select:none}.ng-select .ng-clear-wrapper .ng-clear{display:inline-block;font-size:18px;line-height:1;pointer-events:none}.ng-select .ng-spinner-loader{border-radius:50%;width:17px;height:17px;margin-right:5px;font-size:10px;position:relative;text-indent:-9999em;border-top:2px solid rgba(66,66,66,.2);border-right:2px solid rgba(66,66,66,.2);border-bottom:2px solid rgba(66,66,66,.2);border-left:2px solid #424242;transform:translateZ(0);animation:load8 .8s infinite linear}.ng-select .ng-spinner-loader:after{border-radius:50%;width:17px;height:17px}@-webkit-keyframes load8{0%{-webkit-transform:rotate(0deg);transform:rotate(0)}to{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@keyframes load8{0%{-webkit-transform:rotate(0deg);transform:rotate(0)}to{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}.ng-select .ng-arrow-wrapper{cursor:pointer;position:relative;text-align:center;-webkit-user-select:none;user-select:none}.ng-select .ng-arrow-wrapper .ng-arrow{pointer-events:none;display:inline-block;height:0;width:0;position:relative}.ng-dropdown-panel{box-sizing:border-box;position:absolute;opacity:0;width:100%;z-index:1050;-webkit-overflow-scrolling:touch}.ng-dropdown-panel .ng-dropdown-panel-items{display:block;height:auto;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;max-height:240px;overflow-y:auto}.ng-dropdown-panel .ng-dropdown-panel-items .ng-optgroup{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ng-dropdown-panel .ng-dropdown-panel-items .ng-option{box-sizing:border-box;cursor:pointer;display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ng-dropdown-panel .ng-dropdown-panel-items .ng-option .ng-option-label:empty:before{content:"\\200b"}.ng-dropdown-panel .ng-dropdown-panel-items .ng-option .highlighted{font-weight:700;text-decoration:underline}.ng-dropdown-panel .ng-dropdown-panel-items .ng-option.disabled{cursor:default}.ng-dropdown-panel .scroll-host{overflow:hidden;overflow-y:auto;position:relative;display:block;-webkit-overflow-scrolling:touch}.ng-dropdown-panel .scrollable-content{top:0;left:0;width:100%;height:100%;position:absolute}.ng-dropdown-panel .total-padding{width:1px;opacity:0}.ng-visually-hidden{position:absolute!important;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);border:0;white-space:nowrap}
|
|
2
|
+
`],encapsulation:2,changeDetection:0})}}return i})(),Ai=(()=>{class i{static{this.\u0275fac=function(t){return new(t||i)}}static{this.\u0275mod=Ae({type:i})}static{this.\u0275inj=Se({providers:[{provide:Ke,useValue:Ge}]})}}return i})();export{Qt as a,Ut as b,ni as c,xi as d,Ai as e};
|
|
@@ -0,0 +1,316 @@
|
|
|
1
|
+
import{a as Z,b as xe,c as ot,f as fe,i as st,k as we,m as Ve}from"./chunk-JP37GIKN.js";import{A as re,B as He,C as ae,L as et,M as tt,S as it,W as nt,Y as me,Z as F,b as Be,d as Xe,da as W,p as Ye,q as Pe,t as le,z as Je}from"./chunk-OS53H77X.js";import{c as Ue,d as De,f as Le,i as Fe,j as Re,k as $e}from"./chunk-K5XRGNWG.js";import{a as Ke,g as Ge}from"./chunk-AI4XRCAL.js";import{d as de,f as qe,g as pe,h as Ee,i as ue,n as N,o as Ce}from"./chunk-B6POIFQM.js";import{Aa as he,Ac as k,Ca as _,Dc as _e,Eb as T,Fb as ie,Ib as z,Ka as S,Kb as g,La as Se,Mc as Q,Nc as ze,Oc as L,Pc as ve,Qa as Qe,Qc as Oe,Vb as v,Wb as a,Wc as We,Xb as Ne,Yb as Te,Zb as ye,_b as b,_c as be,gc as C,hc as x,ia as Ae,ic as E,ja as j,jc as P,ka as te,kc as H,kd as se,lc as G,ld as Ze,mc as ne,pa as A,qb as h,rc as oe,sc as p,tc as U,uc as X,wb as ge,xa as Ie,xc as D,ya as $,yc as Y,za as B,zc as w}from"./chunk-EIQCOZF5.js";import{a as K,b as Me}from"./chunk-K2H6WANG.js";var lt=(()=>{class t extends fe{static \u0275fac=(()=>{let e;return function(n){return(e||(e=_(t)))(n||t)}})();static \u0275cmp=T({type:t,selectors:[["CheckIcon"]],features:[z],decls:2,vars:5,consts:[["width","14","height","14","viewBox","0 0 14 14","fill","none","xmlns","http://www.w3.org/2000/svg"],["d","M4.86199 11.5948C4.78717 11.5923 4.71366 11.5745 4.64596 11.5426C4.57826 11.5107 4.51779 11.4652 4.46827 11.4091L0.753985 7.69483C0.683167 7.64891 0.623706 7.58751 0.580092 7.51525C0.536478 7.44299 0.509851 7.36177 0.502221 7.27771C0.49459 7.19366 0.506156 7.10897 0.536046 7.03004C0.565935 6.95111 0.613367 6.88 0.674759 6.82208C0.736151 6.76416 0.8099 6.72095 0.890436 6.69571C0.970973 6.67046 1.05619 6.66385 1.13966 6.67635C1.22313 6.68886 1.30266 6.72017 1.37226 6.76792C1.44186 6.81567 1.4997 6.8786 1.54141 6.95197L4.86199 10.2503L12.6397 2.49483C12.7444 2.42694 12.8689 2.39617 12.9932 2.40745C13.1174 2.41873 13.2343 2.47141 13.3251 2.55705C13.4159 2.64268 13.4753 2.75632 13.4938 2.87973C13.5123 3.00315 13.4888 3.1292 13.4271 3.23768L5.2557 11.4091C5.20618 11.4652 5.14571 11.5107 5.07801 11.5426C5.01031 11.5745 4.9368 11.5923 4.86199 11.5948Z","fill","currentColor"]],template:function(i,n){i&1&&(he(),C(0,"svg",0),E(1,"path",1),x()),i&2&&(b(n.getClassNames()),v("aria-label",n.ariaLabel)("aria-hidden",n.ariaHidden)("role",n.role))},encapsulation:2})}return t})();var rt=["content"],_t=["overlay"],vt=["*"],bt=(t,l,e,i,n,o,s,r,y,m,u,V,I,M)=>({"p-overlay p-component":!0,"p-overlay-modal p-overlay-mask p-overlay-mask-enter":t,"p-overlay-center":l,"p-overlay-top":e,"p-overlay-top-start":i,"p-overlay-top-end":n,"p-overlay-bottom":o,"p-overlay-bottom-start":s,"p-overlay-bottom-end":r,"p-overlay-left":y,"p-overlay-left-start":m,"p-overlay-left-end":u,"p-overlay-right":V,"p-overlay-right-start":I,"p-overlay-right-end":M}),Ct=(t,l,e)=>({showTransitionParams:t,hideTransitionParams:l,transform:e}),xt=t=>({value:"visible",params:t}),wt=t=>({mode:t}),kt=t=>({$implicit:t});function It(t,l){t&1&&G(0)}function St(t,l){if(t&1){let e=ne();C(0,"div",3,1),oe("click",function(n){$(e);let o=p(2);return B(o.onOverlayContentClick(n))})("@overlayContentAnimation.start",function(n){$(e);let o=p(2);return B(o.onOverlayContentAnimationStart(n))})("@overlayContentAnimation.done",function(n){$(e);let o=p(2);return B(o.onOverlayContentAnimationDone(n))}),X(2),g(3,It,1,0,"ng-container",4),x()}if(t&2){let e=p(2);b(e.contentStyleClass),a("ngStyle",e.contentStyle)("ngClass","p-overlay-content")("@overlayContentAnimation",L(11,xt,Oe(7,Ct,e.showTransitionOptions,e.hideTransitionOptions,e.transformOptions[e.modal?e.overlayResponsiveDirection:"default"]))),h(3),a("ngTemplateOutlet",e.contentTemplate||e._contentTemplate)("ngTemplateOutletContext",L(15,kt,L(13,wt,e.overlayMode)))}}function Tt(t,l){if(t&1){let e=ne();C(0,"div",3,0),oe("click",function(){$(e);let n=p();return B(n.onOverlayClick())}),g(2,St,4,17,"div",2),x()}if(t&2){let e=p();b(e.styleClass),a("ngStyle",e.style)("ngClass",We(5,bt,[e.modal,e.modal&&e.overlayResponsiveDirection==="center",e.modal&&e.overlayResponsiveDirection==="top",e.modal&&e.overlayResponsiveDirection==="top-start",e.modal&&e.overlayResponsiveDirection==="top-end",e.modal&&e.overlayResponsiveDirection==="bottom",e.modal&&e.overlayResponsiveDirection==="bottom-start",e.modal&&e.overlayResponsiveDirection==="bottom-end",e.modal&&e.overlayResponsiveDirection==="left",e.modal&&e.overlayResponsiveDirection==="left-start",e.modal&&e.overlayResponsiveDirection==="left-end",e.modal&&e.overlayResponsiveDirection==="right",e.modal&&e.overlayResponsiveDirection==="right-start",e.modal&&e.overlayResponsiveDirection==="right-end"])),h(2),a("ngIf",e.visible)}}var zt=({dt:t})=>`
|
|
2
|
+
.p-overlay {
|
|
3
|
+
position: absolute;
|
|
4
|
+
top: 0;
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
.p-overlay-modal {
|
|
8
|
+
display: flex;
|
|
9
|
+
align-items: center;
|
|
10
|
+
justify-content: center;
|
|
11
|
+
position: fixed;
|
|
12
|
+
top: 0;
|
|
13
|
+
left: 0;
|
|
14
|
+
width: 100%;
|
|
15
|
+
height: 100%;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
.p-overlay-content {
|
|
19
|
+
transform-origin: inherit;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
.p-overlay-modal > .p-overlay-content {
|
|
23
|
+
z-index: 1;
|
|
24
|
+
width: 90%;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
/* Position */
|
|
28
|
+
/* top */
|
|
29
|
+
.p-overlay-top {
|
|
30
|
+
align-items: flex-start;
|
|
31
|
+
}
|
|
32
|
+
.p-overlay-top-start {
|
|
33
|
+
align-items: flex-start;
|
|
34
|
+
justify-content: flex-start;
|
|
35
|
+
}
|
|
36
|
+
.p-overlay-top-end {
|
|
37
|
+
align-items: flex-start;
|
|
38
|
+
justify-content: flex-end;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
/* bottom */
|
|
42
|
+
.p-overlay-bottom {
|
|
43
|
+
align-items: flex-end;
|
|
44
|
+
}
|
|
45
|
+
.p-overlay-bottom-start {
|
|
46
|
+
align-items: flex-end;
|
|
47
|
+
justify-content: flex-start;
|
|
48
|
+
}
|
|
49
|
+
.p-overlay-bottom-end {
|
|
50
|
+
align-items: flex-end;
|
|
51
|
+
justify-content: flex-end;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
/* left */
|
|
55
|
+
.p-overlay-left {
|
|
56
|
+
justify-content: flex-start;
|
|
57
|
+
}
|
|
58
|
+
.p-overlay-left-start {
|
|
59
|
+
justify-content: flex-start;
|
|
60
|
+
align-items: flex-start;
|
|
61
|
+
}
|
|
62
|
+
.p-overlay-left-end {
|
|
63
|
+
justify-content: flex-start;
|
|
64
|
+
align-items: flex-end;
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
/* right */
|
|
68
|
+
.p-overlay-right {
|
|
69
|
+
justify-content: flex-end;
|
|
70
|
+
}
|
|
71
|
+
.p-overlay-right-start {
|
|
72
|
+
justify-content: flex-end;
|
|
73
|
+
align-items: flex-start;
|
|
74
|
+
}
|
|
75
|
+
.p-overlay-right-end {
|
|
76
|
+
justify-content: flex-end;
|
|
77
|
+
align-items: flex-end;
|
|
78
|
+
}
|
|
79
|
+
`,at=(()=>{class t extends W{name="overlay";theme=zt;static \u0275fac=(()=>{let e;return function(n){return(e||(e=_(t)))(n||t)}})();static \u0275prov=j({token:t,factory:t.\u0275fac})}return t})(),Ot=Re([Le({transform:"{{transform}}",opacity:0}),De("{{showTransitionParams}}")]),Et=Re([De("{{hideTransitionParams}}",Le({transform:"{{transform}}",opacity:0}))]),Gi=(()=>{class t extends Z{overlayService;zone;get visible(){return this._visible}set visible(e){this._visible=e,this._visible&&!this.modalVisible&&(this.modalVisible=!0)}get mode(){return this._mode||this.overlayOptions?.mode}set mode(e){this._mode=e}get style(){return we.merge(this._style,this.modal?this.overlayResponsiveOptions?.style:this.overlayOptions?.style)}set style(e){this._style=e}get styleClass(){return we.merge(this._styleClass,this.modal?this.overlayResponsiveOptions?.styleClass:this.overlayOptions?.styleClass)}set styleClass(e){this._styleClass=e}get contentStyle(){return we.merge(this._contentStyle,this.modal?this.overlayResponsiveOptions?.contentStyle:this.overlayOptions?.contentStyle)}set contentStyle(e){this._contentStyle=e}get contentStyleClass(){return we.merge(this._contentStyleClass,this.modal?this.overlayResponsiveOptions?.contentStyleClass:this.overlayOptions?.contentStyleClass)}set contentStyleClass(e){this._contentStyleClass=e}get target(){let e=this._target||this.overlayOptions?.target;return e===void 0?"@prev":e}set target(e){this._target=e}get appendTo(){return this._appendTo||this.overlayOptions?.appendTo}set appendTo(e){this._appendTo=e}get autoZIndex(){let e=this._autoZIndex||this.overlayOptions?.autoZIndex;return e===void 0?!0:e}set autoZIndex(e){this._autoZIndex=e}get baseZIndex(){let e=this._baseZIndex||this.overlayOptions?.baseZIndex;return e===void 0?0:e}set baseZIndex(e){this._baseZIndex=e}get showTransitionOptions(){let e=this._showTransitionOptions||this.overlayOptions?.showTransitionOptions;return e===void 0?".12s cubic-bezier(0, 0, 0.2, 1)":e}set showTransitionOptions(e){this._showTransitionOptions=e}get hideTransitionOptions(){let e=this._hideTransitionOptions||this.overlayOptions?.hideTransitionOptions;return e===void 0?".1s linear":e}set hideTransitionOptions(e){this._hideTransitionOptions=e}get listener(){return this._listener||this.overlayOptions?.listener}set listener(e){this._listener=e}get responsive(){return this._responsive||this.overlayOptions?.responsive}set responsive(e){this._responsive=e}get options(){return this._options}set options(e){this._options=e}visibleChange=new S;onBeforeShow=new S;onShow=new S;onBeforeHide=new S;onHide=new S;onAnimationStart=new S;onAnimationDone=new S;overlayViewChild;contentViewChild;contentTemplate;templates;_contentTemplate;_visible=!1;_mode;_style;_styleClass;_contentStyle;_contentStyleClass;_target;_appendTo;_autoZIndex;_baseZIndex;_showTransitionOptions;_hideTransitionOptions;_listener;_responsive;_options;modalVisible=!1;isOverlayClicked=!1;isOverlayContentClicked=!1;scrollHandler;documentClickListener;documentResizeListener;_componentStyle=A(at);documentKeyboardListener;window;transformOptions={default:"scaleY(0.8)",center:"scale(0.7)",top:"translate3d(0px, -100%, 0px)","top-start":"translate3d(0px, -100%, 0px)","top-end":"translate3d(0px, -100%, 0px)",bottom:"translate3d(0px, 100%, 0px)","bottom-start":"translate3d(0px, 100%, 0px)","bottom-end":"translate3d(0px, 100%, 0px)",left:"translate3d(-100%, 0px, 0px)","left-start":"translate3d(-100%, 0px, 0px)","left-end":"translate3d(-100%, 0px, 0px)",right:"translate3d(100%, 0px, 0px)","right-start":"translate3d(100%, 0px, 0px)","right-end":"translate3d(100%, 0px, 0px)"};get modal(){if(Ce(this.platformId))return this.mode==="modal"||this.overlayResponsiveOptions&&this.document.defaultView?.matchMedia(this.overlayResponsiveOptions.media?.replace("@media","")||`(max-width: ${this.overlayResponsiveOptions.breakpoint})`).matches}get overlayMode(){return this.mode||(this.modal?"modal":"overlay")}get overlayOptions(){return K(K({},this.config?.overlayOptions),this.options)}get overlayResponsiveOptions(){return K(K({},this.overlayOptions?.responsive),this.responsive)}get overlayResponsiveDirection(){return this.overlayResponsiveOptions?.direction||"center"}get overlayEl(){return this.overlayViewChild?.nativeElement}get contentEl(){return this.contentViewChild?.nativeElement}get targetEl(){return Je(this.target,this.el?.nativeElement)}constructor(e,i){super(),this.overlayService=e,this.zone=i}ngAfterContentInit(){this.templates?.forEach(e=>{switch(e.getType()){case"content":this._contentTemplate=e.template;break;default:this._contentTemplate=e.template;break}})}show(e,i=!1){this.onVisibleChange(!0),this.handleEvents("onShow",{overlay:e||this.overlayEl,target:this.targetEl,mode:this.overlayMode}),i&&Pe(this.targetEl),this.modal&&Be(this.document?.body,"p-overflow-hidden")}hide(e,i=!1){if(this.visible)this.onVisibleChange(!1),this.handleEvents("onHide",{overlay:e||this.overlayEl,target:this.targetEl,mode:this.overlayMode}),i&&Pe(this.targetEl),this.modal&&Xe(this.document?.body,"p-overflow-hidden");else return}alignOverlay(){!this.modal&&xe.alignOverlay(this.overlayEl,this.targetEl,this.appendTo)}onVisibleChange(e){this._visible=e,this.visibleChange.emit(e)}onOverlayClick(){this.isOverlayClicked=!0}onOverlayContentClick(e){this.overlayService.add({originalEvent:e,target:this.targetEl}),this.isOverlayContentClicked=!0}onOverlayContentAnimationStart(e){switch(e.toState){case"visible":this.handleEvents("onBeforeShow",{overlay:this.overlayEl,target:this.targetEl,mode:this.overlayMode}),this.autoZIndex&&Ve.set(this.overlayMode,this.overlayEl,this.baseZIndex+this.config?.zIndex[this.overlayMode]),xe.appendOverlay(this.overlayEl,this.appendTo==="body"?this.document.body:this.appendTo,this.appendTo),this.alignOverlay();break;case"void":this.handleEvents("onBeforeHide",{overlay:this.overlayEl,target:this.targetEl,mode:this.overlayMode}),this.modal&&Be(this.overlayEl,"p-overlay-mask-leave");break}this.handleEvents("onAnimationStart",e)}onOverlayContentAnimationDone(e){let i=this.overlayEl||e.element.parentElement;switch(e.toState){case"visible":this.visible&&(this.show(i,!0),this.bindListeners());break;case"void":if(!this.visible){this.hide(i,!0),this.modalVisible=!1,this.unbindListeners(),xe.appendOverlay(this.overlayEl,this.targetEl,this.appendTo),Ve.clear(i),this.cd.markForCheck();break}}this.handleEvents("onAnimationDone",e)}handleEvents(e,i){this[e].emit(i),this.options&&this.options[e]&&this.options[e](i),this.config?.overlayOptions&&(this.config?.overlayOptions)[e]&&(this.config?.overlayOptions)[e](i)}bindListeners(){this.bindScrollListener(),this.bindDocumentClickListener(),this.bindDocumentResizeListener(),this.bindDocumentKeyboardListener()}unbindListeners(){this.unbindScrollListener(),this.unbindDocumentClickListener(),this.unbindDocumentResizeListener(),this.unbindDocumentKeyboardListener()}bindScrollListener(){this.scrollHandler||(this.scrollHandler=new ot(this.targetEl,e=>{(this.listener?this.listener(e,{type:"scroll",mode:this.overlayMode,valid:!0}):!0)&&this.hide(e,!0)})),this.scrollHandler.bindScrollListener()}unbindScrollListener(){this.scrollHandler&&this.scrollHandler.unbindScrollListener()}bindDocumentClickListener(){this.documentClickListener||(this.documentClickListener=this.renderer.listen(this.document,"click",e=>{let n=!(this.targetEl&&(this.targetEl.isSameNode(e.target)||!this.isOverlayClicked&&this.targetEl.contains(e.target)))&&!this.isOverlayContentClicked;(this.listener?this.listener(e,{type:"outside",mode:this.overlayMode,valid:e.which!==3&&n}):n)&&this.hide(e),this.isOverlayClicked=this.isOverlayContentClicked=!1}))}unbindDocumentClickListener(){this.documentClickListener&&(this.documentClickListener(),this.documentClickListener=null)}bindDocumentResizeListener(){this.documentResizeListener||(this.documentResizeListener=this.renderer.listen(this.document.defaultView,"resize",e=>{(this.listener?this.listener(e,{type:"resize",mode:this.overlayMode,valid:!ae()}):!ae())&&this.hide(e,!0)}))}unbindDocumentResizeListener(){this.documentResizeListener&&(this.documentResizeListener(),this.documentResizeListener=null)}bindDocumentKeyboardListener(){this.documentKeyboardListener||this.zone.runOutsideAngular(()=>{this.documentKeyboardListener=this.renderer.listen(this.document.defaultView,"keydown",e=>{if(this.overlayOptions.hideOnEscape===!1||e.code!=="Escape")return;(this.listener?this.listener(e,{type:"keydown",mode:this.overlayMode,valid:!ae()}):!ae())&&this.zone.run(()=>{this.hide(e,!0)})})})}unbindDocumentKeyboardListener(){this.documentKeyboardListener&&(this.documentKeyboardListener(),this.documentKeyboardListener=null)}ngOnDestroy(){this.hide(this.overlayEl,!0),this.overlayEl&&(xe.appendOverlay(this.overlayEl,this.targetEl,this.appendTo),Ve.clear(this.overlayEl)),this.scrollHandler&&(this.scrollHandler.destroy(),this.scrollHandler=null),this.unbindListeners(),super.ngOnDestroy()}static \u0275fac=function(i){return new(i||t)(ge(nt),ge(Se))};static \u0275cmp=T({type:t,selectors:[["p-overlay"]],contentQueries:function(i,n,o){if(i&1&&(D(o,rt,4),D(o,me,4)),i&2){let s;w(s=k())&&(n.contentTemplate=s.first),w(s=k())&&(n.templates=s)}},viewQuery:function(i,n){if(i&1&&(Y(_t,5),Y(rt,5)),i&2){let o;w(o=k())&&(n.overlayViewChild=o.first),w(o=k())&&(n.contentViewChild=o.first)}},inputs:{visible:"visible",mode:"mode",style:"style",styleClass:"styleClass",contentStyle:"contentStyle",contentStyleClass:"contentStyleClass",target:"target",appendTo:"appendTo",autoZIndex:"autoZIndex",baseZIndex:"baseZIndex",showTransitionOptions:"showTransitionOptions",hideTransitionOptions:"hideTransitionOptions",listener:"listener",responsive:"responsive",options:"options"},outputs:{visibleChange:"visibleChange",onBeforeShow:"onBeforeShow",onShow:"onShow",onBeforeHide:"onBeforeHide",onHide:"onHide",onAnimationStart:"onAnimationStart",onAnimationDone:"onAnimationDone"},features:[Q([at]),z],ngContentSelectors:vt,decls:1,vars:1,consts:[["overlay",""],["content",""],[3,"ngStyle","class","ngClass","click",4,"ngIf"],[3,"click","ngStyle","ngClass"],[4,"ngTemplateOutlet","ngTemplateOutletContext"]],template:function(i,n){i&1&&(U(),g(0,Tt,3,20,"div",2)),i&2&&a("ngIf",n.modalVisible)},dependencies:[N,de,pe,ue,Ee,F],encapsulation:2,data:{animation:[Ue("overlayContentAnimation",[Fe(":enter",[$e(Ot)]),Fe(":leave",[$e(Et)])])]},changeDetection:0})}return t})();var ht=(()=>{class t extends fe{static \u0275fac=(()=>{let e;return function(n){return(e||(e=_(t)))(n||t)}})();static \u0275cmp=T({type:t,selectors:[["MinusIcon"]],features:[z],decls:2,vars:5,consts:[["width","14","height","14","viewBox","0 0 14 14","fill","none","xmlns","http://www.w3.org/2000/svg"],["d","M13.2222 7.77778H0.777778C0.571498 7.77778 0.373667 7.69584 0.227806 7.54998C0.0819442 7.40412 0 7.20629 0 7.00001C0 6.79373 0.0819442 6.5959 0.227806 6.45003C0.373667 6.30417 0.571498 6.22223 0.777778 6.22223H13.2222C13.4285 6.22223 13.6263 6.30417 13.7722 6.45003C13.9181 6.5959 14 6.79373 14 7.00001C14 7.20629 13.9181 7.40412 13.7722 7.54998C13.6263 7.69584 13.4285 7.77778 13.2222 7.77778Z","fill","currentColor"]],template:function(i,n){i&1&&(he(),C(0,"svg",0),E(1,"path",1),x()),i&2&&(b(n.getClassNames()),v("aria-label",n.ariaLabel)("aria-hidden",n.ariaHidden)("role",n.role))},encapsulation:2})}return t})();var nn=(()=>{class t extends fe{pathId;ngOnInit(){this.pathId="url(#"+it()+")"}static \u0275fac=(()=>{let e;return function(n){return(e||(e=_(t)))(n||t)}})();static \u0275cmp=T({type:t,selectors:[["SearchIcon"]],features:[z],decls:6,vars:7,consts:[["width","14","height","14","viewBox","0 0 14 14","fill","none","xmlns","http://www.w3.org/2000/svg"],["fill-rule","evenodd","clip-rule","evenodd","d","M2.67602 11.0265C3.6661 11.688 4.83011 12.0411 6.02086 12.0411C6.81149 12.0411 7.59438 11.8854 8.32483 11.5828C8.87005 11.357 9.37808 11.0526 9.83317 10.6803L12.9769 13.8241C13.0323 13.8801 13.0983 13.9245 13.171 13.9548C13.2438 13.985 13.3219 14.0003 13.4007 14C13.4795 14.0003 13.5575 13.985 13.6303 13.9548C13.7031 13.9245 13.7691 13.8801 13.8244 13.8241C13.9367 13.7116 13.9998 13.5592 13.9998 13.4003C13.9998 13.2414 13.9367 13.089 13.8244 12.9765L10.6807 9.8328C11.053 9.37773 11.3573 8.86972 11.5831 8.32452C11.8857 7.59408 12.0414 6.81119 12.0414 6.02056C12.0414 4.8298 11.6883 3.66579 11.0268 2.67572C10.3652 1.68564 9.42494 0.913972 8.32483 0.45829C7.22472 0.00260857 6.01418 -0.116618 4.84631 0.115686C3.67844 0.34799 2.60568 0.921393 1.76369 1.76338C0.921698 2.60537 0.348296 3.67813 0.115991 4.84601C-0.116313 6.01388 0.00291375 7.22441 0.458595 8.32452C0.914277 9.42464 1.68595 10.3649 2.67602 11.0265ZM3.35565 2.0158C4.14456 1.48867 5.07206 1.20731 6.02086 1.20731C7.29317 1.20731 8.51338 1.71274 9.41304 2.6124C10.3127 3.51206 10.8181 4.73226 10.8181 6.00457C10.8181 6.95337 10.5368 7.88088 10.0096 8.66978C9.48251 9.45868 8.73328 10.0736 7.85669 10.4367C6.98011 10.7997 6.01554 10.8947 5.08496 10.7096C4.15439 10.5245 3.2996 10.0676 2.62869 9.39674C1.95778 8.72583 1.50089 7.87104 1.31579 6.94046C1.13068 6.00989 1.22568 5.04532 1.58878 4.16874C1.95187 3.29215 2.56675 2.54292 3.35565 2.0158Z","fill","currentColor"],[3,"id"],["width","14","height","14","fill","white"]],template:function(i,n){i&1&&(he(),C(0,"svg",0)(1,"g"),E(2,"path",1),x(),C(3,"defs")(4,"clipPath",2),E(5,"rect",3),x()()()),i&2&&(b(n.getClassNames()),v("aria-label",n.ariaLabel)("aria-hidden",n.ariaHidden)("role",n.role),h(),v("clip-path",n.pathId),h(3),a("id",n.pathId))},encapsulation:2})}return t})();var Vt=["checkboxicon"],Mt=["input"],Dt=()=>({"p-checkbox-input":!0}),Lt=t=>({checked:t,class:"p-checkbox-icon"});function Ft(t,l){if(t&1&&E(0,"span",8),t&2){let e=p(3);a("ngClass",e.checkboxIcon),v("data-pc-section","icon")}}function Rt(t,l){t&1&&E(0,"CheckIcon",9),t&2&&(a("styleClass","p-checkbox-icon"),v("data-pc-section","icon"))}function $t(t,l){if(t&1&&(P(0),g(1,Ft,1,2,"span",7)(2,Rt,1,2,"CheckIcon",6),H()),t&2){let e=p(2);h(),a("ngIf",e.checkboxIcon),h(),a("ngIf",!e.checkboxIcon)}}function Bt(t,l){t&1&&E(0,"MinusIcon",9),t&2&&(a("styleClass","p-checkbox-icon"),v("data-pc-section","icon"))}function Pt(t,l){if(t&1&&(P(0),g(1,$t,3,2,"ng-container",4)(2,Bt,1,2,"MinusIcon",6),H()),t&2){let e=p();h(),a("ngIf",e.checked),h(),a("ngIf",e._indeterminate())}}function Ht(t,l){}function jt(t,l){t&1&&g(0,Ht,0,0,"ng-template")}var At=({dt:t})=>`
|
|
80
|
+
.p-checkbox {
|
|
81
|
+
position: relative;
|
|
82
|
+
display: inline-flex;
|
|
83
|
+
user-select: none;
|
|
84
|
+
vertical-align: bottom;
|
|
85
|
+
width: ${t("checkbox.width")};
|
|
86
|
+
height: ${t("checkbox.height")};
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
.p-checkbox-input {
|
|
90
|
+
cursor: pointer;
|
|
91
|
+
appearance: none;
|
|
92
|
+
position: absolute;
|
|
93
|
+
top: 0;
|
|
94
|
+
left: 0;
|
|
95
|
+
width: 100%;
|
|
96
|
+
height: 100%;
|
|
97
|
+
padding: 0;
|
|
98
|
+
margin: 0;
|
|
99
|
+
opacity: 0;
|
|
100
|
+
z-index: 1;
|
|
101
|
+
outline: 0 none;
|
|
102
|
+
border: 1px solid transparent;
|
|
103
|
+
border-radius: ${t("checkbox.border.radius")};
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
.p-checkbox-box {
|
|
107
|
+
display: flex;
|
|
108
|
+
justify-content: center;
|
|
109
|
+
align-items: center;
|
|
110
|
+
border-radius: ${t("checkbox.border.radius")};
|
|
111
|
+
border: 1px solid ${t("checkbox.border.color")};
|
|
112
|
+
background: ${t("checkbox.background")};
|
|
113
|
+
width: ${t("checkbox.width")};
|
|
114
|
+
height: ${t("checkbox.height")};
|
|
115
|
+
transition: background ${t("checkbox.transition.duration")}, color ${t("checkbox.transition.duration")}, border-color ${t("checkbox.transition.duration")}, box-shadow ${t("checkbox.transition.duration")}, outline-color ${t("checkbox.transition.duration")};
|
|
116
|
+
outline-color: transparent;
|
|
117
|
+
box-shadow: ${t("checkbox.shadow")};
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
.p-checkbox-icon {
|
|
121
|
+
transition-duration: ${t("checkbox.transition.duration")};
|
|
122
|
+
color: ${t("checkbox.icon.color")};
|
|
123
|
+
font-size: ${t("checkbox.icon.size")};
|
|
124
|
+
width: ${t("checkbox.icon.size")};
|
|
125
|
+
height: ${t("checkbox.icon.size")};
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
.p-checkbox:not(.p-disabled):has(.p-checkbox-input:hover) .p-checkbox-box {
|
|
129
|
+
border-color: ${t("checkbox.hover.border.color")};
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
.p-checkbox-checked .p-checkbox-box {
|
|
133
|
+
border-color: ${t("checkbox.checked.border.color")};
|
|
134
|
+
background: ${t("checkbox.checked.background")};
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
.p-checkbox-checked .p-checkbox-icon {
|
|
138
|
+
color: ${t("checkbox.icon.checked.color")};
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
.p-checkbox-checked:not(.p-disabled):has(.p-checkbox-input:hover) .p-checkbox-box {
|
|
142
|
+
background: ${t("checkbox.checked.hover.background")};
|
|
143
|
+
border-color: ${t("checkbox.checked.hover.border.color")};
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
.p-checkbox-checked:not(.p-disabled):has(.p-checkbox-input:hover) .p-checkbox-icon {
|
|
147
|
+
color: ${t("checkbox.icon.checked.hover.color")};
|
|
148
|
+
}
|
|
149
|
+
|
|
150
|
+
.p-checkbox:not(.p-disabled):has(.p-checkbox-input:focus-visible) .p-checkbox-box {
|
|
151
|
+
border-color: ${t("checkbox.focus.border.color")};
|
|
152
|
+
box-shadow: ${t("checkbox.focus.ring.shadow")};
|
|
153
|
+
outline: ${t("checkbox.focus.ring.width")} ${t("checkbox.focus.ring.style")} ${t("checkbox.focus.ring.color")};
|
|
154
|
+
outline-offset: ${t("checkbox.focus.ring.offset")};
|
|
155
|
+
}
|
|
156
|
+
|
|
157
|
+
.p-checkbox-checked:not(.p-disabled):has(.p-checkbox-input:focus-visible) .p-checkbox-box {
|
|
158
|
+
border-color: ${t("checkbox.checked.focus.border.color")};
|
|
159
|
+
}
|
|
160
|
+
|
|
161
|
+
p-checkBox.ng-invalid.ng-dirty .p-checkbox-box,
|
|
162
|
+
p-check-box.ng-invalid.ng-dirty .p-checkbox-box,
|
|
163
|
+
p-checkbox.ng-invalid.ng-dirty .p-checkbox-box {
|
|
164
|
+
border-color: ${t("checkbox.invalid.border.color")};
|
|
165
|
+
}
|
|
166
|
+
|
|
167
|
+
.p-checkbox.p-variant-filled .p-checkbox-box {
|
|
168
|
+
background: ${t("checkbox.filled.background")};
|
|
169
|
+
}
|
|
170
|
+
|
|
171
|
+
.p-checkbox-checked.p-variant-filled .p-checkbox-box {
|
|
172
|
+
background: ${t("checkbox.checked.background")};
|
|
173
|
+
}
|
|
174
|
+
|
|
175
|
+
.p-checkbox-checked.p-variant-filled:not(.p-disabled):has(.p-checkbox-input:hover) .p-checkbox-box {
|
|
176
|
+
background: ${t("checkbox.checked.hover.background")};
|
|
177
|
+
}
|
|
178
|
+
|
|
179
|
+
.p-checkbox.p-disabled {
|
|
180
|
+
opacity: 1;
|
|
181
|
+
}
|
|
182
|
+
|
|
183
|
+
.p-checkbox.p-disabled .p-checkbox-box {
|
|
184
|
+
background: ${t("checkbox.disabled.background")};
|
|
185
|
+
border-color: ${t("checkbox.checked.disabled.border.color")};
|
|
186
|
+
}
|
|
187
|
+
|
|
188
|
+
.p-checkbox.p-disabled .p-checkbox-box .p-checkbox-icon {
|
|
189
|
+
color: ${t("checkbox.icon.disabled.color")};
|
|
190
|
+
}
|
|
191
|
+
|
|
192
|
+
.p-checkbox-sm,
|
|
193
|
+
.p-checkbox-sm .p-checkbox-box {
|
|
194
|
+
width: ${t("checkbox.sm.width")};
|
|
195
|
+
height: ${t("checkbox.sm.height")};
|
|
196
|
+
}
|
|
197
|
+
|
|
198
|
+
.p-checkbox-sm .p-checkbox-icon {
|
|
199
|
+
font-size: ${t("checkbox.icon.sm.size")};
|
|
200
|
+
width: ${t("checkbox.icon.sm.size")};
|
|
201
|
+
height: ${t("checkbox.icon.sm.size")};
|
|
202
|
+
}
|
|
203
|
+
|
|
204
|
+
.p-checkbox-lg,
|
|
205
|
+
.p-checkbox-lg .p-checkbox-box {
|
|
206
|
+
width: ${t("checkbox.lg.width")};
|
|
207
|
+
height: ${t("checkbox.lg.height")};
|
|
208
|
+
}
|
|
209
|
+
|
|
210
|
+
.p-checkbox-lg .p-checkbox-icon {
|
|
211
|
+
font-size: ${t("checkbox.icon.lg.size")};
|
|
212
|
+
width: ${t("checkbox.icon.lg.size")};
|
|
213
|
+
height: ${t("checkbox.icon.lg.size")};
|
|
214
|
+
}
|
|
215
|
+
`,Qt={root:({instance:t,props:l})=>["p-checkbox p-component",{"p-checkbox-checked":t.checked,"p-disabled":l.disabled,"p-invalid":l.invalid,"p-variant-filled":l.variant?l.variant==="filled":t.config.inputStyle==="filled"||t.config.inputVariant==="filled"}],box:"p-checkbox-box",input:"p-checkbox-input",icon:"p-checkbox-icon"},dt=(()=>{class t extends W{name="checkbox";theme=At;classes=Qt;static \u0275fac=(()=>{let e;return function(n){return(e||(e=_(t)))(n||t)}})();static \u0275prov=j({token:t,factory:t.\u0275fac})}return t})();var Nt={provide:Ke,useExisting:Ae(()=>pt),multi:!0},pt=(()=>{class t extends Z{value;name;disabled;binary;ariaLabelledBy;ariaLabel;tabindex;inputId;style;inputStyle;styleClass;inputClass;indeterminate=!1;size;formControl;checkboxIcon;readonly;required;autofocus;trueValue=!0;falseValue=!1;variant;onChange=new S;onFocus=new S;onBlur=new S;inputViewChild;get checked(){return this._indeterminate()?!1:this.binary?this.model===this.trueValue:tt(this.value,this.model)}get containerClass(){return{"p-checkbox p-component":!0,"p-checkbox-checked p-highlight":this.checked,"p-disabled":this.disabled,"p-variant-filled":this.variant==="filled"||this.config.inputStyle()==="filled"||this.config.inputVariant()==="filled","p-checkbox-sm p-inputfield-sm":this.size==="small","p-checkbox-lg p-inputfield-lg":this.size==="large"}}_indeterminate=Qe(void 0);checkboxIconTemplate;templates;_checkboxIconTemplate;model;onModelChange=()=>{};onModelTouched=()=>{};focused=!1;_componentStyle=A(dt);ngAfterContentInit(){this.templates.forEach(e=>{switch(e.getType()){case"icon":this._checkboxIconTemplate=e.template;break;case"checkboxicon":this._checkboxIconTemplate=e.template;break}})}ngOnChanges(e){super.ngOnChanges(e),e.indeterminate&&this._indeterminate.set(e.indeterminate.currentValue)}updateModel(e){let i,n=this.injector.get(Ge,null,{optional:!0,self:!0}),o=n&&!this.formControl?n.value:this.model;this.binary?(i=this._indeterminate()?this.trueValue:this.checked?this.falseValue:this.trueValue,this.model=i,this.onModelChange(i)):(this.checked||this._indeterminate()?i=o.filter(s=>!et(s,this.value)):i=o?[...o,this.value]:[this.value],this.onModelChange(i),this.model=i,this.formControl&&this.formControl.setValue(i)),this._indeterminate()&&this._indeterminate.set(!1),this.onChange.emit({checked:i,originalEvent:e})}handleChange(e){this.readonly||this.updateModel(e)}onInputFocus(e){this.focused=!0,this.onFocus.emit(e)}onInputBlur(e){this.focused=!1,this.onBlur.emit(e),this.onModelTouched()}focus(){this.inputViewChild.nativeElement.focus()}writeValue(e){this.model=e,this.cd.markForCheck()}registerOnChange(e){this.onModelChange=e}registerOnTouched(e){this.onModelTouched=e}setDisabledState(e){setTimeout(()=>{this.disabled=e,this.cd.markForCheck()})}static \u0275fac=(()=>{let e;return function(n){return(e||(e=_(t)))(n||t)}})();static \u0275cmp=T({type:t,selectors:[["p-checkbox"],["p-checkBox"],["p-check-box"]],contentQueries:function(i,n,o){if(i&1&&(D(o,Vt,4),D(o,me,4)),i&2){let s;w(s=k())&&(n.checkboxIconTemplate=s.first),w(s=k())&&(n.templates=s)}},viewQuery:function(i,n){if(i&1&&Y(Mt,5),i&2){let o;w(o=k())&&(n.inputViewChild=o.first)}},inputs:{value:"value",name:"name",disabled:[2,"disabled","disabled",se],binary:[2,"binary","binary",se],ariaLabelledBy:"ariaLabelledBy",ariaLabel:"ariaLabel",tabindex:[2,"tabindex","tabindex",Ze],inputId:"inputId",style:"style",inputStyle:"inputStyle",styleClass:"styleClass",inputClass:"inputClass",indeterminate:[2,"indeterminate","indeterminate",se],size:"size",formControl:"formControl",checkboxIcon:"checkboxIcon",readonly:[2,"readonly","readonly",se],required:[2,"required","required",se],autofocus:[2,"autofocus","autofocus",se],trueValue:"trueValue",falseValue:"falseValue",variant:"variant"},outputs:{onChange:"onChange",onFocus:"onFocus",onBlur:"onBlur"},features:[Q([Nt,dt]),z,Ie],decls:6,vars:29,consts:[["input",""],[3,"ngClass"],["type","checkbox",3,"focus","blur","change","value","checked","disabled","readonly","ngClass"],[1,"p-checkbox-box"],[4,"ngIf"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],[3,"styleClass",4,"ngIf"],["class","p-checkbox-icon",3,"ngClass",4,"ngIf"],[1,"p-checkbox-icon",3,"ngClass"],[3,"styleClass"]],template:function(i,n){if(i&1){let o=ne();C(0,"div",1)(1,"input",2,0),oe("focus",function(r){return $(o),B(n.onInputFocus(r))})("blur",function(r){return $(o),B(n.onInputBlur(r))})("change",function(r){return $(o),B(n.handleChange(r))}),x(),C(3,"div",3),g(4,Pt,3,2,"ng-container",4)(5,jt,1,0,null,5),x()()}i&2&&(ye(n.style),b(n.styleClass),a("ngClass",n.containerClass),v("data-p-highlight",n.checked)("data-p-checked",n.checked)("data-p-disabled",n.disabled),h(),ye(n.inputStyle),b(n.inputClass),a("value",n.value)("checked",n.checked)("disabled",n.disabled)("readonly",n.readonly)("ngClass",ze(26,Dt)),v("id",n.inputId)("name",n.name)("tabindex",n.tabindex)("required",n.required?!0:null)("aria-labelledby",n.ariaLabelledBy)("aria-label",n.ariaLabel),h(3),a("ngIf",!n.checkboxIconTemplate&&!n._checkboxIconTemplate),h(),a("ngTemplateOutlet",n.checkboxIconTemplate||n._checkboxIconTemplate)("ngTemplateOutletContext",L(27,Lt,n.checked)))},dependencies:[N,de,pe,ue,lt,ht,F],encapsulation:2,changeDetection:0})}return t})(),wn=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=ie({type:t});static \u0275inj=te({imports:[pt,F,F]})}return t})();var ut=["content"],Wt=["item"],Zt=["loader"],qt=["loadericon"],Kt=["element"],Gt=["*"],Ut=(t,l,e)=>({"p-virtualscroller":!0,"p-virtualscroller-inline":t,"p-virtualscroller-both p-both-scroll":l,"p-virtualscroller-horizontal p-horizontal-scroll":e}),je=(t,l)=>({$implicit:t,options:l}),Xt=t=>({"p-virtualscroller-content":!0,"p-virtualscroller-loading ":t}),Yt=t=>({"p-virtualscroller-loader-mask":t}),Jt=t=>({numCols:t}),ft=t=>({options:t}),ei=()=>({styleClass:"p-virtualscroller-loading-icon"}),ti=(t,l)=>({rows:t,columns:l});function ii(t,l){t&1&&G(0)}function ni(t,l){if(t&1&&(P(0),g(1,ii,1,0,"ng-container",10),H()),t&2){let e=p(2);h(),a("ngTemplateOutlet",e.contentTemplate||e._contentTemplate)("ngTemplateOutletContext",ve(2,je,e.loadedItems,e.getContentOptions()))}}function oi(t,l){t&1&&G(0)}function si(t,l){if(t&1&&(P(0),g(1,oi,1,0,"ng-container",10),H()),t&2){let e=l.$implicit,i=l.index,n=p(3);h(),a("ngTemplateOutlet",n.itemTemplate||n._itemTemplate)("ngTemplateOutletContext",ve(2,je,e,n.getOptions(i)))}}function li(t,l){if(t&1&&(C(0,"div",11,3),g(2,si,2,5,"ng-container",12),x()),t&2){let e=p(2);ye(e.contentStyle),b(e.contentStyleClass),a("ngClass",L(8,Xt,e.d_loading)),v("data-pc-section","content"),h(2),a("ngForOf",e.loadedItems)("ngForTrackBy",e._trackBy)}}function ri(t,l){if(t&1&&E(0,"div",13),t&2){let e=p(2);a("ngStyle",e.spacerStyle),v("data-pc-section","spacer")}}function ai(t,l){t&1&&G(0)}function ci(t,l){if(t&1&&(P(0),g(1,ai,1,0,"ng-container",10),H()),t&2){let e=l.index,i=p(4);h(),a("ngTemplateOutlet",i.loaderTemplate||i._loaderTemplate)("ngTemplateOutletContext",L(4,ft,i.getLoaderOptions(e,i.both&&L(2,Jt,i.numItemsInViewport.cols))))}}function hi(t,l){if(t&1&&(P(0),g(1,ci,2,6,"ng-container",15),H()),t&2){let e=p(3);h(),a("ngForOf",e.loaderArr)}}function di(t,l){t&1&&G(0)}function pi(t,l){if(t&1&&(P(0),g(1,di,1,0,"ng-container",10),H()),t&2){let e=p(4);h(),a("ngTemplateOutlet",e.loaderIconTemplate||e._loaderIconTemplate)("ngTemplateOutletContext",L(3,ft,ze(2,ei)))}}function ui(t,l){t&1&&E(0,"SpinnerIcon",16),t&2&&(a("styleClass","p-virtualscroller-loading-icon pi-spin"),v("data-pc-section","loadingIcon"))}function mi(t,l){if(t&1&&g(0,pi,2,5,"ng-container",6)(1,ui,1,2,"ng-template",null,5,be),t&2){let e=_e(2),i=p(3);a("ngIf",i.loaderIconTemplate||i._loaderIconTemplate)("ngIfElse",e)}}function fi(t,l){if(t&1&&(C(0,"div",14),g(1,hi,2,1,"ng-container",6)(2,mi,3,2,"ng-template",null,4,be),x()),t&2){let e=_e(3),i=p(2);a("ngClass",L(4,Yt,!i.loaderTemplate)),v("data-pc-section","loader"),h(),a("ngIf",i.loaderTemplate||i._loaderTemplate)("ngIfElse",e)}}function gi(t,l){if(t&1){let e=ne();P(0),C(1,"div",7,1),oe("scroll",function(n){$(e);let o=p();return B(o.onContainerScroll(n))}),g(3,ni,2,5,"ng-container",6)(4,li,3,10,"ng-template",null,2,be)(6,ri,1,2,"div",8)(7,fi,4,6,"div",9),x(),H()}if(t&2){let e=_e(5),i=p();h(),b(i._styleClass),a("ngStyle",i._style)("ngClass",Oe(12,Ut,i.inline,i.both,i.horizontal)),v("id",i._id)("tabindex",i.tabindex)("data-pc-name","scroller")("data-pc-section","root"),h(2),a("ngIf",i.contentTemplate||i._contentTemplate)("ngIfElse",e),h(3),a("ngIf",i._showSpacer),h(),a("ngIf",!i.loaderDisabled&&i._showLoader&&i.d_loading)}}function yi(t,l){t&1&&G(0)}function _i(t,l){if(t&1&&(P(0),g(1,yi,1,0,"ng-container",10),H()),t&2){let e=p(2);h(),a("ngTemplateOutlet",e.contentTemplate||e._contentTemplate)("ngTemplateOutletContext",ve(5,je,e.items,ve(2,ti,e._items,e.loadedColumns)))}}function vi(t,l){if(t&1&&(X(0),g(1,_i,2,8,"ng-container",17)),t&2){let e=p();h(),a("ngIf",e.contentTemplate||e._contentTemplate)}}var bi=({dt:t})=>`
|
|
216
|
+
.p-virtualscroller {
|
|
217
|
+
position: relative;
|
|
218
|
+
overflow: auto;
|
|
219
|
+
contain: strict;
|
|
220
|
+
transform: translateZ(0);
|
|
221
|
+
will-change: scroll-position;
|
|
222
|
+
outline: 0 none;
|
|
223
|
+
}
|
|
224
|
+
|
|
225
|
+
.p-virtualscroller-content {
|
|
226
|
+
position: absolute;
|
|
227
|
+
top: 0;
|
|
228
|
+
left: 0;
|
|
229
|
+
min-height: 100%;
|
|
230
|
+
min-width: 100%;
|
|
231
|
+
will-change: transform;
|
|
232
|
+
}
|
|
233
|
+
|
|
234
|
+
.p-virtualscroller-spacer {
|
|
235
|
+
position: absolute;
|
|
236
|
+
top: 0;
|
|
237
|
+
left: 0;
|
|
238
|
+
height: 1px;
|
|
239
|
+
width: 1px;
|
|
240
|
+
transform-origin: 0 0;
|
|
241
|
+
pointer-events: none;
|
|
242
|
+
}
|
|
243
|
+
|
|
244
|
+
.p-virtualscroller-loader {
|
|
245
|
+
position: sticky;
|
|
246
|
+
top: 0;
|
|
247
|
+
left: 0;
|
|
248
|
+
width: 100%;
|
|
249
|
+
height: 100%;
|
|
250
|
+
background: ${t("virtualscroller.loader.mask.background")};
|
|
251
|
+
color: ${t("virtualscroller.loader.mask.color")};
|
|
252
|
+
}
|
|
253
|
+
|
|
254
|
+
.p-virtualscroller-loader-mask {
|
|
255
|
+
display: flex;
|
|
256
|
+
align-items: center;
|
|
257
|
+
justify-content: center;
|
|
258
|
+
}
|
|
259
|
+
|
|
260
|
+
.p-virtualscroller-loading-icon {
|
|
261
|
+
font-size: ${t("virtualscroller.loader.icon.size")};
|
|
262
|
+
width: ${t("virtualscroller.loader.icon.size")};
|
|
263
|
+
height: ${t("virtualscroller.loader.icon.size")};
|
|
264
|
+
}
|
|
265
|
+
|
|
266
|
+
.p-virtualscroller-horizontal > .p-virtualscroller-content {
|
|
267
|
+
display: flex;
|
|
268
|
+
}
|
|
269
|
+
|
|
270
|
+
.p-virtualscroller-inline .p-virtualscroller-content {
|
|
271
|
+
position: static;
|
|
272
|
+
}
|
|
273
|
+
`,mt=(()=>{class t extends W{name="virtualscroller";theme=bi;static \u0275fac=(()=>{let e;return function(n){return(e||(e=_(t)))(n||t)}})();static \u0275prov=j({token:t,factory:t.\u0275fac})}return t})();var Ci=(()=>{class t extends Z{zone;get id(){return this._id}set id(e){this._id=e}get style(){return this._style}set style(e){this._style=e}get styleClass(){return this._styleClass}set styleClass(e){this._styleClass=e}get tabindex(){return this._tabindex}set tabindex(e){this._tabindex=e}get items(){return this._items}set items(e){this._items=e}get itemSize(){return this._itemSize}set itemSize(e){this._itemSize=e}get scrollHeight(){return this._scrollHeight}set scrollHeight(e){this._scrollHeight=e}get scrollWidth(){return this._scrollWidth}set scrollWidth(e){this._scrollWidth=e}get orientation(){return this._orientation}set orientation(e){this._orientation=e}get step(){return this._step}set step(e){this._step=e}get delay(){return this._delay}set delay(e){this._delay=e}get resizeDelay(){return this._resizeDelay}set resizeDelay(e){this._resizeDelay=e}get appendOnly(){return this._appendOnly}set appendOnly(e){this._appendOnly=e}get inline(){return this._inline}set inline(e){this._inline=e}get lazy(){return this._lazy}set lazy(e){this._lazy=e}get disabled(){return this._disabled}set disabled(e){this._disabled=e}get loaderDisabled(){return this._loaderDisabled}set loaderDisabled(e){this._loaderDisabled=e}get columns(){return this._columns}set columns(e){this._columns=e}get showSpacer(){return this._showSpacer}set showSpacer(e){this._showSpacer=e}get showLoader(){return this._showLoader}set showLoader(e){this._showLoader=e}get numToleratedItems(){return this._numToleratedItems}set numToleratedItems(e){this._numToleratedItems=e}get loading(){return this._loading}set loading(e){this._loading=e}get autoSize(){return this._autoSize}set autoSize(e){this._autoSize=e}get trackBy(){return this._trackBy}set trackBy(e){this._trackBy=e}get options(){return this._options}set options(e){this._options=e,e&&typeof e=="object"&&(Object.entries(e).forEach(([i,n])=>this[`_${i}`]!==n&&(this[`_${i}`]=n)),Object.entries(e).forEach(([i,n])=>this[`${i}`]!==n&&(this[`${i}`]=n)))}onLazyLoad=new S;onScroll=new S;onScrollIndexChange=new S;elementViewChild;contentViewChild;height;_id;_style;_styleClass;_tabindex=0;_items;_itemSize=0;_scrollHeight;_scrollWidth;_orientation="vertical";_step=0;_delay=0;_resizeDelay=10;_appendOnly=!1;_inline=!1;_lazy=!1;_disabled=!1;_loaderDisabled=!1;_columns;_showSpacer=!0;_showLoader=!1;_numToleratedItems;_loading;_autoSize=!1;_trackBy;_options;d_loading=!1;d_numToleratedItems;contentEl;contentTemplate;itemTemplate;loaderTemplate;loaderIconTemplate;templates;_contentTemplate;_itemTemplate;_loaderTemplate;_loaderIconTemplate;first=0;last=0;page=0;isRangeChanged=!1;numItemsInViewport=0;lastScrollPos=0;lazyLoadState={};loaderArr=[];spacerStyle={};contentStyle={};scrollTimeout;resizeTimeout;initialized=!1;windowResizeListener;defaultWidth;defaultHeight;defaultContentWidth;defaultContentHeight;_contentStyleClass;get contentStyleClass(){return this._contentStyleClass}set contentStyleClass(e){this._contentStyleClass=e}get vertical(){return this._orientation==="vertical"}get horizontal(){return this._orientation==="horizontal"}get both(){return this._orientation==="both"}get loadedItems(){return this._items&&!this.d_loading?this.both?this._items.slice(this._appendOnly?0:this.first.rows,this.last.rows).map(e=>this._columns?e:e.slice(this._appendOnly?0:this.first.cols,this.last.cols)):this.horizontal&&this._columns?this._items:this._items.slice(this._appendOnly?0:this.first,this.last):[]}get loadedRows(){return this.d_loading?this._loaderDisabled?this.loaderArr:[]:this.loadedItems}get loadedColumns(){return this._columns&&(this.both||this.horizontal)?this.d_loading&&this._loaderDisabled?this.both?this.loaderArr[0]:this.loaderArr:this._columns.slice(this.both?this.first.cols:this.first,this.both?this.last.cols:this.last):this._columns}_componentStyle=A(mt);constructor(e){super(),this.zone=e}ngOnInit(){super.ngOnInit(),this.setInitialState()}ngOnChanges(e){super.ngOnChanges(e);let i=!1;if(this.scrollHeight=="100%"&&(this.height="100%"),e.loading){let{previousValue:n,currentValue:o}=e.loading;this.lazy&&n!==o&&o!==this.d_loading&&(this.d_loading=o,i=!0)}if(e.orientation&&(this.lastScrollPos=this.both?{top:0,left:0}:0),e.numToleratedItems){let{previousValue:n,currentValue:o}=e.numToleratedItems;n!==o&&o!==this.d_numToleratedItems&&(this.d_numToleratedItems=o)}if(e.options){let{previousValue:n,currentValue:o}=e.options;this.lazy&&n?.loading!==o?.loading&&o?.loading!==this.d_loading&&(this.d_loading=o.loading,i=!0),n?.numToleratedItems!==o?.numToleratedItems&&o?.numToleratedItems!==this.d_numToleratedItems&&(this.d_numToleratedItems=o.numToleratedItems)}this.initialized&&!i&&(e.items?.previousValue?.length!==e.items?.currentValue?.length||e.itemSize||e.scrollHeight||e.scrollWidth)&&(this.init(),this.calculateAutoSize())}ngAfterContentInit(){this.templates.forEach(e=>{switch(e.getType()){case"content":this._contentTemplate=e.template;break;case"item":this._itemTemplate=e.template;break;case"loader":this._loaderTemplate=e.template;break;case"loadericon":this._loaderIconTemplate=e.template;break;default:this._itemTemplate=e.template;break}})}ngAfterViewInit(){super.ngAfterViewInit(),Promise.resolve().then(()=>{this.viewInit()})}ngAfterViewChecked(){this.initialized||this.viewInit()}ngOnDestroy(){this.unbindResizeListener(),this.contentEl=null,this.initialized=!1,super.ngOnDestroy()}viewInit(){Ce(this.platformId)&&!this.initialized&&He(this.elementViewChild?.nativeElement)&&(this.setInitialState(),this.setContentEl(this.contentEl),this.init(),this.defaultWidth=re(this.elementViewChild?.nativeElement),this.defaultHeight=le(this.elementViewChild?.nativeElement),this.defaultContentWidth=re(this.contentEl),this.defaultContentHeight=le(this.contentEl),this.initialized=!0)}init(){this._disabled||(this.setSize(),this.calculateOptions(),this.setSpacerSize(),this.bindResizeListener(),this.cd.detectChanges())}setContentEl(e){this.contentEl=e||this.contentViewChild?.nativeElement||Ye(this.elementViewChild?.nativeElement,".p-virtualscroller-content")}setInitialState(){this.first=this.both?{rows:0,cols:0}:0,this.last=this.both?{rows:0,cols:0}:0,this.numItemsInViewport=this.both?{rows:0,cols:0}:0,this.lastScrollPos=this.both?{top:0,left:0}:0,this.d_loading=this._loading||!1,this.d_numToleratedItems=this._numToleratedItems,this.loaderArr=[]}getElementRef(){return this.elementViewChild}getPageByFirst(e){return Math.floor(((e??this.first)+this.d_numToleratedItems*4)/(this._step||1))}isPageChanged(e){return this._step?this.page!==this.getPageByFirst(e??this.first):!0}scrollTo(e){this.elementViewChild?.nativeElement?.scrollTo(e)}scrollToIndex(e,i="auto"){if(this.both?e.every(o=>o>-1):e>-1){let o=this.first,{scrollTop:s=0,scrollLeft:r=0}=this.elementViewChild?.nativeElement,{numToleratedItems:y}=this.calculateNumItems(),m=this.getContentPosition(),u=this.itemSize,V=(d=0,f)=>d<=f?0:d,I=(d,f,R)=>d*f+R,M=(d=0,f=0)=>this.scrollTo({left:d,top:f,behavior:i}),O=this.both?{rows:0,cols:0}:0,J=!1,c=!1;this.both?(O={rows:V(e[0],y[0]),cols:V(e[1],y[1])},M(I(O.cols,u[1],m.left),I(O.rows,u[0],m.top)),c=this.lastScrollPos.top!==s||this.lastScrollPos.left!==r,J=O.rows!==o.rows||O.cols!==o.cols):(O=V(e,y),this.horizontal?M(I(O,u,m.left),s):M(r,I(O,u,m.top)),c=this.lastScrollPos!==(this.horizontal?r:s),J=O!==o),this.isRangeChanged=J,c&&(this.first=O)}}scrollInView(e,i,n="auto"){if(i){let{first:o,viewport:s}=this.getRenderedRange(),r=(u=0,V=0)=>this.scrollTo({left:u,top:V,behavior:n}),y=i==="to-start",m=i==="to-end";if(y){if(this.both)s.first.rows-o.rows>e[0]?r(s.first.cols*this._itemSize[1],(s.first.rows-1)*this._itemSize[0]):s.first.cols-o.cols>e[1]&&r((s.first.cols-1)*this._itemSize[1],s.first.rows*this._itemSize[0]);else if(s.first-o>e){let u=(s.first-1)*this._itemSize;this.horizontal?r(u,0):r(0,u)}}else if(m){if(this.both)s.last.rows-o.rows<=e[0]+1?r(s.first.cols*this._itemSize[1],(s.first.rows+1)*this._itemSize[0]):s.last.cols-o.cols<=e[1]+1&&r((s.first.cols+1)*this._itemSize[1],s.first.rows*this._itemSize[0]);else if(s.last-o<=e+1){let u=(s.first+1)*this._itemSize;this.horizontal?r(u,0):r(0,u)}}}else this.scrollToIndex(e,n)}getRenderedRange(){let e=(o,s)=>s||o?Math.floor(o/(s||o)):0,i=this.first,n=0;if(this.elementViewChild?.nativeElement){let{scrollTop:o,scrollLeft:s}=this.elementViewChild.nativeElement;if(this.both)i={rows:e(o,this._itemSize[0]),cols:e(s,this._itemSize[1])},n={rows:i.rows+this.numItemsInViewport.rows,cols:i.cols+this.numItemsInViewport.cols};else{let r=this.horizontal?s:o;i=e(r,this._itemSize),n=i+this.numItemsInViewport}}return{first:this.first,last:this.last,viewport:{first:i,last:n}}}calculateNumItems(){let e=this.getContentPosition(),i=(this.elementViewChild?.nativeElement?this.elementViewChild.nativeElement.offsetWidth-e.left:0)||0,n=(this.elementViewChild?.nativeElement?this.elementViewChild.nativeElement.offsetHeight-e.top:0)||0,o=(m,u)=>u||m?Math.ceil(m/(u||m)):0,s=m=>Math.ceil(m/2),r=this.both?{rows:o(n,this._itemSize[0]),cols:o(i,this._itemSize[1])}:o(this.horizontal?i:n,this._itemSize),y=this.d_numToleratedItems||(this.both?[s(r.rows),s(r.cols)]:s(r));return{numItemsInViewport:r,numToleratedItems:y}}calculateOptions(){let{numItemsInViewport:e,numToleratedItems:i}=this.calculateNumItems(),n=(r,y,m,u=!1)=>this.getLast(r+y+(r<m?2:3)*m,u),o=this.first,s=this.both?{rows:n(this.first.rows,e.rows,i[0]),cols:n(this.first.cols,e.cols,i[1],!0)}:n(this.first,e,i);this.last=s,this.numItemsInViewport=e,this.d_numToleratedItems=i,this.showLoader&&(this.loaderArr=this.both?Array.from({length:e.rows}).map(()=>Array.from({length:e.cols})):Array.from({length:e})),this._lazy&&Promise.resolve().then(()=>{this.lazyLoadState={first:this._step?this.both?{rows:0,cols:o.cols}:0:o,last:Math.min(this._step?this._step:this.last,this.items.length)},this.handleEvents("onLazyLoad",this.lazyLoadState)})}calculateAutoSize(){this._autoSize&&!this.d_loading&&Promise.resolve().then(()=>{if(this.contentEl){this.contentEl.style.minHeight=this.contentEl.style.minWidth="auto",this.contentEl.style.position="relative",this.elementViewChild.nativeElement.style.contain="none";let[e,i]=[re(this.contentEl),le(this.contentEl)];e!==this.defaultContentWidth&&(this.elementViewChild.nativeElement.style.width=""),i!==this.defaultContentHeight&&(this.elementViewChild.nativeElement.style.height="");let[n,o]=[re(this.elementViewChild.nativeElement),le(this.elementViewChild.nativeElement)];(this.both||this.horizontal)&&(this.elementViewChild.nativeElement.style.width=n<this.defaultWidth?n+"px":this._scrollWidth||this.defaultWidth+"px"),(this.both||this.vertical)&&(this.elementViewChild.nativeElement.style.height=o<this.defaultHeight?o+"px":this._scrollHeight||this.defaultHeight+"px"),this.contentEl.style.minHeight=this.contentEl.style.minWidth="",this.contentEl.style.position="",this.elementViewChild.nativeElement.style.contain=""}})}getLast(e=0,i=!1){return this._items?Math.min(i?(this._columns||this._items[0]).length:this._items.length,e):0}getContentPosition(){if(this.contentEl){let e=getComputedStyle(this.contentEl),i=parseFloat(e.paddingLeft)+Math.max(parseFloat(e.left)||0,0),n=parseFloat(e.paddingRight)+Math.max(parseFloat(e.right)||0,0),o=parseFloat(e.paddingTop)+Math.max(parseFloat(e.top)||0,0),s=parseFloat(e.paddingBottom)+Math.max(parseFloat(e.bottom)||0,0);return{left:i,right:n,top:o,bottom:s,x:i+n,y:o+s}}return{left:0,right:0,top:0,bottom:0,x:0,y:0}}setSize(){if(this.elementViewChild?.nativeElement){let e=this.elementViewChild.nativeElement.parentElement.parentElement,i=this._scrollWidth||`${this.elementViewChild.nativeElement.offsetWidth||e.offsetWidth}px`,n=this._scrollHeight||`${this.elementViewChild.nativeElement.offsetHeight||e.offsetHeight}px`,o=(s,r)=>this.elementViewChild.nativeElement.style[s]=r;this.both||this.horizontal?(o("height",n),o("width",i)):o("height",n)}}setSpacerSize(){if(this._items){let e=this.getContentPosition(),i=(n,o,s,r=0)=>this.spacerStyle=Me(K({},this.spacerStyle),{[`${n}`]:(o||[]).length*s+r+"px"});this.both?(i("height",this._items,this._itemSize[0],e.y),i("width",this._columns||this._items[1],this._itemSize[1],e.x)):this.horizontal?i("width",this._columns||this._items,this._itemSize,e.x):i("height",this._items,this._itemSize,e.y)}}setContentPosition(e){if(this.contentEl&&!this._appendOnly){let i=e?e.first:this.first,n=(s,r)=>s*r,o=(s=0,r=0)=>this.contentStyle=Me(K({},this.contentStyle),{transform:`translate3d(${s}px, ${r}px, 0)`});if(this.both)o(n(i.cols,this._itemSize[1]),n(i.rows,this._itemSize[0]));else{let s=n(i,this._itemSize);this.horizontal?o(s,0):o(0,s)}}}onScrollPositionChange(e){let i=e.target,n=this.getContentPosition(),o=(c,d)=>c?c>d?c-d:c:0,s=(c,d)=>d||c?Math.floor(c/(d||c)):0,r=(c,d,f,R,q,ee)=>c<=q?q:ee?f-R-q:d+q-1,y=(c,d,f,R,q,ee,ke)=>c<=ee?0:Math.max(0,ke?c<d?f:c-ee:c>d?f:c-2*ee),m=(c,d,f,R,q,ee=!1)=>{let ke=d+R+2*q;return c>=q&&(ke+=q+1),this.getLast(ke,ee)},u=o(i.scrollTop,n.top),V=o(i.scrollLeft,n.left),I=this.both?{rows:0,cols:0}:0,M=this.last,O=!1,J=this.lastScrollPos;if(this.both){let c=this.lastScrollPos.top<=u,d=this.lastScrollPos.left<=V;if(!this._appendOnly||this._appendOnly&&(c||d)){let f={rows:s(u,this._itemSize[0]),cols:s(V,this._itemSize[1])},R={rows:r(f.rows,this.first.rows,this.last.rows,this.numItemsInViewport.rows,this.d_numToleratedItems[0],c),cols:r(f.cols,this.first.cols,this.last.cols,this.numItemsInViewport.cols,this.d_numToleratedItems[1],d)};I={rows:y(f.rows,R.rows,this.first.rows,this.last.rows,this.numItemsInViewport.rows,this.d_numToleratedItems[0],c),cols:y(f.cols,R.cols,this.first.cols,this.last.cols,this.numItemsInViewport.cols,this.d_numToleratedItems[1],d)},M={rows:m(f.rows,I.rows,this.last.rows,this.numItemsInViewport.rows,this.d_numToleratedItems[0]),cols:m(f.cols,I.cols,this.last.cols,this.numItemsInViewport.cols,this.d_numToleratedItems[1],!0)},O=I.rows!==this.first.rows||M.rows!==this.last.rows||I.cols!==this.first.cols||M.cols!==this.last.cols||this.isRangeChanged,J={top:u,left:V}}}else{let c=this.horizontal?V:u,d=this.lastScrollPos<=c;if(!this._appendOnly||this._appendOnly&&d){let f=s(c,this._itemSize),R=r(f,this.first,this.last,this.numItemsInViewport,this.d_numToleratedItems,d);I=y(f,R,this.first,this.last,this.numItemsInViewport,this.d_numToleratedItems,d),M=m(f,I,this.last,this.numItemsInViewport,this.d_numToleratedItems),O=I!==this.first||M!==this.last||this.isRangeChanged,J=c}}return{first:I,last:M,isRangeChanged:O,scrollPos:J}}onScrollChange(e){let{first:i,last:n,isRangeChanged:o,scrollPos:s}=this.onScrollPositionChange(e);if(o){let r={first:i,last:n};if(this.setContentPosition(r),this.first=i,this.last=n,this.lastScrollPos=s,this.handleEvents("onScrollIndexChange",r),this._lazy&&this.isPageChanged(i)){let y={first:this._step?Math.min(this.getPageByFirst(i)*this._step,this.items.length-this._step):i,last:Math.min(this._step?(this.getPageByFirst(i)+1)*this._step:n,this.items.length)};(this.lazyLoadState.first!==y.first||this.lazyLoadState.last!==y.last)&&this.handleEvents("onLazyLoad",y),this.lazyLoadState=y}}}onContainerScroll(e){if(this.handleEvents("onScroll",{originalEvent:e}),this._delay&&this.isPageChanged()){if(this.scrollTimeout&&clearTimeout(this.scrollTimeout),!this.d_loading&&this.showLoader){let{isRangeChanged:i}=this.onScrollPositionChange(e);(i||(this._step?this.isPageChanged():!1))&&(this.d_loading=!0,this.cd.detectChanges())}this.scrollTimeout=setTimeout(()=>{this.onScrollChange(e),this.d_loading&&this.showLoader&&(!this._lazy||this._loading===void 0)&&(this.d_loading=!1,this.page=this.getPageByFirst()),this.cd.detectChanges()},this._delay)}else!this.d_loading&&this.onScrollChange(e)}bindResizeListener(){Ce(this.platformId)&&(this.windowResizeListener||this.zone.runOutsideAngular(()=>{let e=this.document.defaultView,i=ae()?"orientationchange":"resize";this.windowResizeListener=this.renderer.listen(e,i,this.onWindowResize.bind(this))}))}unbindResizeListener(){this.windowResizeListener&&(this.windowResizeListener(),this.windowResizeListener=null)}onWindowResize(){this.resizeTimeout&&clearTimeout(this.resizeTimeout),this.resizeTimeout=setTimeout(()=>{if(He(this.elementViewChild?.nativeElement)){let[e,i]=[re(this.elementViewChild?.nativeElement),le(this.elementViewChild?.nativeElement)],[n,o]=[e!==this.defaultWidth,i!==this.defaultHeight];(this.both?n||o:this.horizontal?n:this.vertical?o:!1)&&this.zone.run(()=>{this.d_numToleratedItems=this._numToleratedItems,this.defaultWidth=e,this.defaultHeight=i,this.defaultContentWidth=re(this.contentEl),this.defaultContentHeight=le(this.contentEl),this.init()})}},this._resizeDelay)}handleEvents(e,i){return this.options&&this.options[e]?this.options[e](i):this[e].emit(i)}getContentOptions(){return{contentStyleClass:`p-virtualscroller-content ${this.d_loading?"p-virtualscroller-loading":""}`,items:this.loadedItems,getItemOptions:e=>this.getOptions(e),loading:this.d_loading,getLoaderOptions:(e,i)=>this.getLoaderOptions(e,i),itemSize:this._itemSize,rows:this.loadedRows,columns:this.loadedColumns,spacerStyle:this.spacerStyle,contentStyle:this.contentStyle,vertical:this.vertical,horizontal:this.horizontal,both:this.both}}getOptions(e){let i=(this._items||[]).length,n=this.both?this.first.rows+e:this.first+e;return{index:n,count:i,first:n===0,last:n===i-1,even:n%2===0,odd:n%2!==0}}getLoaderOptions(e,i){let n=this.loaderArr.length;return K({index:e,count:n,first:e===0,last:e===n-1,even:e%2===0,odd:e%2!==0},i)}static \u0275fac=function(i){return new(i||t)(ge(Se))};static \u0275cmp=T({type:t,selectors:[["p-scroller"],["p-virtualscroller"],["p-virtual-scroller"],["p-virtualScroller"]],contentQueries:function(i,n,o){if(i&1&&(D(o,ut,4),D(o,Wt,4),D(o,Zt,4),D(o,qt,4),D(o,me,4)),i&2){let s;w(s=k())&&(n.contentTemplate=s.first),w(s=k())&&(n.itemTemplate=s.first),w(s=k())&&(n.loaderTemplate=s.first),w(s=k())&&(n.loaderIconTemplate=s.first),w(s=k())&&(n.templates=s)}},viewQuery:function(i,n){if(i&1&&(Y(Kt,5),Y(ut,5)),i&2){let o;w(o=k())&&(n.elementViewChild=o.first),w(o=k())&&(n.contentViewChild=o.first)}},hostVars:2,hostBindings:function(i,n){i&2&&Ne("height",n.height)},inputs:{id:"id",style:"style",styleClass:"styleClass",tabindex:"tabindex",items:"items",itemSize:"itemSize",scrollHeight:"scrollHeight",scrollWidth:"scrollWidth",orientation:"orientation",step:"step",delay:"delay",resizeDelay:"resizeDelay",appendOnly:"appendOnly",inline:"inline",lazy:"lazy",disabled:"disabled",loaderDisabled:"loaderDisabled",columns:"columns",showSpacer:"showSpacer",showLoader:"showLoader",numToleratedItems:"numToleratedItems",loading:"loading",autoSize:"autoSize",trackBy:"trackBy",options:"options"},outputs:{onLazyLoad:"onLazyLoad",onScroll:"onScroll",onScrollIndexChange:"onScrollIndexChange"},features:[Q([mt]),z,Ie],ngContentSelectors:Gt,decls:3,vars:2,consts:[["disabledContainer",""],["element",""],["buildInContent",""],["content",""],["buildInLoader",""],["buildInLoaderIcon",""],[4,"ngIf","ngIfElse"],[3,"scroll","ngStyle","ngClass"],["class","p-virtualscroller-spacer",3,"ngStyle",4,"ngIf"],["class","p-virtualscroller-loader",3,"ngClass",4,"ngIf"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],[3,"ngClass"],[4,"ngFor","ngForOf","ngForTrackBy"],[1,"p-virtualscroller-spacer",3,"ngStyle"],[1,"p-virtualscroller-loader",3,"ngClass"],[4,"ngFor","ngForOf"],[3,"styleClass"],[4,"ngIf"]],template:function(i,n){if(i&1&&(U(),g(0,gi,8,16,"ng-container",6)(1,vi,2,1,"ng-template",null,0,be)),i&2){let o=_e(2);a("ngIf",!n._disabled)("ngIfElse",o)}},dependencies:[N,de,qe,pe,ue,Ee,st,F],encapsulation:2})}return t})(),Qn=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=ie({type:t});static \u0275inj=te({imports:[Ci,F,F]})}return t})();var xi=["*"],wi=({dt:t})=>`
|
|
274
|
+
.p-iconfield {
|
|
275
|
+
position: relative;
|
|
276
|
+
display: block;
|
|
277
|
+
}
|
|
278
|
+
|
|
279
|
+
.p-inputicon {
|
|
280
|
+
position: absolute;
|
|
281
|
+
top: 50%;
|
|
282
|
+
margin-top: calc(-1 * (${t("icon.size")} / 2));
|
|
283
|
+
color: ${t("iconfield.icon.color")};
|
|
284
|
+
line-height: 1;
|
|
285
|
+
}
|
|
286
|
+
|
|
287
|
+
.p-iconfield .p-inputicon:first-child {
|
|
288
|
+
inset-inline-start: ${t("form.field.padding.x")};
|
|
289
|
+
}
|
|
290
|
+
|
|
291
|
+
.p-iconfield .p-inputicon:last-child {
|
|
292
|
+
inset-inline-end: ${t("form.field.padding.x")};
|
|
293
|
+
}
|
|
294
|
+
|
|
295
|
+
.p-iconfield .p-inputtext:not(:first-child) {
|
|
296
|
+
padding-inline-start: calc((${t("form.field.padding.x")} * 2) + ${t("icon.size")});
|
|
297
|
+
}
|
|
298
|
+
|
|
299
|
+
.p-iconfield .p-inputtext:not(:last-child) {
|
|
300
|
+
padding-inline-end: calc((${t("form.field.padding.x")} * 2) + ${t("icon.size")});
|
|
301
|
+
}
|
|
302
|
+
|
|
303
|
+
.p-iconfield:has(.p-inputfield-sm) .p-inputicon {
|
|
304
|
+
font-size: ${t("form.field.sm.font.size")};
|
|
305
|
+
width: ${t("form.field.sm.font.size")};
|
|
306
|
+
height: ${t("form.field.sm.font.size")};
|
|
307
|
+
margin-top: calc(-1 * (${t("form.field.sm.font.size")} / 2));
|
|
308
|
+
}
|
|
309
|
+
|
|
310
|
+
.p-iconfield:has(.p-inputfield-lg) .p-inputicon {
|
|
311
|
+
font-size: ${t("form.field.lg.font.size")};
|
|
312
|
+
width: ${t("form.field.lg.font.size")};
|
|
313
|
+
height: ${t("form.field.lg.font.size")};
|
|
314
|
+
margin-top: calc(-1 * (${t("form.field.lg.font.size")} / 2));
|
|
315
|
+
}
|
|
316
|
+
`,ki={root:"p-iconfield"},gt=(()=>{class t extends W{name="iconfield";theme=wi;classes=ki;static \u0275fac=(()=>{let e;return function(n){return(e||(e=_(t)))(n||t)}})();static \u0275prov=j({token:t,factory:t.\u0275fac})}return t})();var no=(()=>{class t extends Z{iconPosition="left";get _styleClass(){return this.styleClass}styleClass;_componentStyle=A(gt);static \u0275fac=(()=>{let e;return function(n){return(e||(e=_(t)))(n||t)}})();static \u0275cmp=T({type:t,selectors:[["p-iconfield"],["p-iconField"],["p-icon-field"]],hostAttrs:[1,"p-iconfield"],hostVars:6,hostBindings:function(i,n){i&2&&(b(n._styleClass),Te("p-iconfield-left",n.iconPosition==="left")("p-iconfield-right",n.iconPosition==="right"))},inputs:{iconPosition:"iconPosition",styleClass:"styleClass"},features:[Q([gt]),z],ngContentSelectors:xi,decls:1,vars:0,template:function(i,n){i&1&&(U(),X(0))},dependencies:[N],encapsulation:2,changeDetection:0})}return t})();var Ii=["*"],Si={root:"p-inputicon"},yt=(()=>{class t extends W{name="inputicon";classes=Si;static \u0275fac=(()=>{let e;return function(n){return(e||(e=_(t)))(n||t)}})();static \u0275prov=j({token:t,factory:t.\u0275fac})}return t})(),_o=(()=>{class t extends Z{styleClass;get hostClasses(){return this.styleClass}_componentStyle=A(yt);static \u0275fac=(()=>{let e;return function(n){return(e||(e=_(t)))(n||t)}})();static \u0275cmp=T({type:t,selectors:[["p-inputicon"],["p-inputIcon"]],hostVars:4,hostBindings:function(i,n){i&2&&(b(n.hostClasses),Te("p-inputicon",!0))},inputs:{styleClass:"styleClass"},features:[Q([yt]),z],ngContentSelectors:Ii,decls:1,vars:0,template:function(i,n){i&1&&(U(),X(0))},dependencies:[N,F],encapsulation:2,changeDetection:0})}return t})();export{lt as a,nn as b,Gi as c,pt as d,wn as e,no as f,_o as g,Ci as h,Qn as i};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{Eb as s,Wa as r,Yb as d,pa as c}from"./chunk-EIQCOZF5.js";var b=(()=>{class o{_animationMode=c(r,{optional:!0});state="unchecked";disabled=!1;appearance="full";constructor(){}static \u0275fac=function(a){return new(a||o)};static \u0275cmp=s({type:o,selectors:[["mat-pseudo-checkbox"]],hostAttrs:[1,"mat-pseudo-checkbox"],hostVars:12,hostBindings:function(a,e){a&2&&d("mat-pseudo-checkbox-indeterminate",e.state==="indeterminate")("mat-pseudo-checkbox-checked",e.state==="checked")("mat-pseudo-checkbox-disabled",e.disabled)("mat-pseudo-checkbox-minimal",e.appearance==="minimal")("mat-pseudo-checkbox-full",e.appearance==="full")("_mat-animation-noopable",e._animationMode==="NoopAnimations")},inputs:{state:"state",disabled:"disabled",appearance:"appearance"},decls:0,vars:0,template:function(a,e){},styles:[`.mat-pseudo-checkbox{border-radius:2px;cursor:pointer;display:inline-block;vertical-align:middle;box-sizing:border-box;position:relative;flex-shrink:0;transition:border-color 90ms cubic-bezier(0, 0, 0.2, 0.1),background-color 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox::after{position:absolute;opacity:0;content:"";border-bottom:2px solid currentColor;transition:opacity 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox._mat-animation-noopable{transition:none !important;animation:none !important}.mat-pseudo-checkbox._mat-animation-noopable::after{transition:none}.mat-pseudo-checkbox-disabled{cursor:default}.mat-pseudo-checkbox-indeterminate::after{left:1px;opacity:1;border-radius:2px}.mat-pseudo-checkbox-checked::after{left:1px;border-left:2px solid currentColor;transform:rotate(-45deg);opacity:1;box-sizing:content-box}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-checked::after,.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-indeterminate::after{color:var(--mat-minimal-pseudo-checkbox-selected-checkmark-color, var(--mat-sys-primary))}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-disabled::after,.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-disabled::after{color:var(--mat-minimal-pseudo-checkbox-disabled-selected-checkmark-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-pseudo-checkbox-full{border-color:var(--mat-full-pseudo-checkbox-unselected-icon-color, var(--mat-sys-on-surface-variant));border-width:2px;border-style:solid}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-disabled{border-color:var(--mat-full-pseudo-checkbox-disabled-unselected-icon-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate{background-color:var(--mat-full-pseudo-checkbox-selected-icon-color, var(--mat-sys-primary));border-color:rgba(0,0,0,0)}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked::after,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate::after{color:var(--mat-full-pseudo-checkbox-selected-checkmark-color, var(--mat-sys-on-primary))}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-disabled,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-disabled{background-color:var(--mat-full-pseudo-checkbox-disabled-selected-icon-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-disabled::after,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-disabled::after{color:var(--mat-full-pseudo-checkbox-disabled-selected-checkmark-color, var(--mat-sys-surface))}.mat-pseudo-checkbox{width:18px;height:18px}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-checked::after{width:14px;height:6px;transform-origin:center;top:-4.2426406871px;left:0;bottom:0;right:0;margin:auto}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-indeterminate::after{top:8px;width:16px}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked::after{width:10px;height:4px;transform-origin:center;top:-2.8284271247px;left:0;bottom:0;right:0;margin:auto}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate::after{top:6px;width:12px}
|
|
2
|
+
`],encapsulation:2,changeDetection:0})}return o})();export{b as a};
|