dealpos 25.35.2 → 25.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/browser/{chunk-NT4HXAUQ.js → chunk-2AKQJVEF.js} +1 -1
- package/browser/{chunk-M4GPXLRN.js → chunk-2KYHJWM4.js} +1 -1
- package/browser/{chunk-EYCYL6AL.js → chunk-2NPKEKTC.js} +1 -1
- package/browser/{chunk-7B7ON5E6.js → chunk-2RC5LEZJ.js} +1 -1
- package/browser/{chunk-P5KSSZK7.js → chunk-33U3HZTY.js} +1 -1
- package/browser/{chunk-K6OQJCJ6.js → chunk-3CAN5VUX.js} +1 -1
- package/browser/{chunk-MHBOKOSN.js → chunk-3LBZWLLT.js} +1 -1
- package/browser/chunk-4CICJ5O2.js +1 -0
- package/browser/{chunk-M6C7J4PM.js → chunk-4JAQKA6N.js} +1 -1
- package/browser/{chunk-XVFIUKXR.js → chunk-4RFXQF2Y.js} +1 -1
- package/browser/{chunk-AZT6QE56.js → chunk-52EOLV7I.js} +1 -1
- package/browser/{chunk-37ZQRASR.js → chunk-5CTVOG3M.js} +1 -1
- package/browser/{chunk-34GJS34C.js → chunk-5Q5T67DH.js} +1 -1
- package/browser/{chunk-L2RZWAX3.js → chunk-5UCQBOD6.js} +1 -1
- package/browser/{chunk-2ULGMZHE.js → chunk-6GLD5CWJ.js} +1 -1
- package/browser/{chunk-H6BFHXJX.js → chunk-6MXSAOYM.js} +1 -1
- package/browser/{chunk-LCUJHXDF.js → chunk-6N4AU5UX.js} +1 -1
- package/browser/{chunk-5IY3H7NG.js → chunk-6NGZRFK5.js} +1 -1
- package/browser/{chunk-4YPJAUSY.js → chunk-6SRLAAI5.js} +1 -1
- package/browser/{chunk-Q76KX5JJ.js → chunk-6XUOOR3K.js} +1 -1
- package/browser/{chunk-DXROSW6B.js → chunk-7A3GWGOJ.js} +1 -1
- package/browser/chunk-7LBFB7CT.js +222 -0
- package/browser/{chunk-XFTFPZJA.js → chunk-7LHQ4DZG.js} +1 -1
- package/browser/{chunk-AVWEAAID.js → chunk-A5K2PQQ4.js} +1 -1
- package/browser/chunk-AAMY5NIV.js +56 -0
- package/browser/{chunk-L755Z2UU.js → chunk-AHYXCJZT.js} +1 -1
- package/browser/{chunk-XP2OIGWH.js → chunk-APZ5IBSQ.js} +1 -1
- package/browser/{chunk-B7E3DL2Y.js → chunk-ATKMC4PC.js} +1 -1
- package/browser/{chunk-WDIJOVDQ.js → chunk-B24VHNT4.js} +1 -1
- package/browser/{chunk-33JZH2UR.js → chunk-BAXEGRPF.js} +1 -1
- package/browser/{chunk-PPWHSAY6.js → chunk-C6ARCDXZ.js} +1 -1
- package/browser/{chunk-VYUMNVGD.js → chunk-C73IEBHE.js} +1 -1
- package/browser/{chunk-YWF2JYRN.js → chunk-CAMFGC4E.js} +1 -1
- package/browser/{chunk-LKZE2HD4.js → chunk-CFHK44JI.js} +1 -1
- package/browser/{chunk-AAJJTF33.js → chunk-CGESXTHC.js} +1 -1
- package/browser/{chunk-E5UK2WMM.js → chunk-CI7FRQUA.js} +1 -1
- package/browser/{chunk-QMPKHU2W.js → chunk-CILKE53W.js} +1 -1
- package/browser/{chunk-CZTNOFUC.js → chunk-CJJOOS3O.js} +1 -1
- package/browser/{chunk-R5W6OHJL.js → chunk-DILWG5FB.js} +1 -1
- package/browser/{chunk-CGTCYQPU.js → chunk-DJ7VQO4C.js} +1 -1
- package/browser/{chunk-X4VB4DKS.js → chunk-DL663E4R.js} +1 -1
- package/browser/chunk-DNC7PRJV.js +1 -0
- package/browser/{chunk-HNBLWEAJ.js → chunk-DXI2XA4V.js} +1 -1
- package/browser/{chunk-7VKHUEU6.js → chunk-DXPRJ5LT.js} +1 -1
- package/browser/{chunk-ZCKT34V7.js → chunk-E66PWTHL.js} +1 -1
- package/browser/{chunk-FBTUV7TY.js → chunk-EGVOGJRD.js} +1 -1
- package/browser/{chunk-6CUC5ZVY.js → chunk-ELYQEBKR.js} +1 -1
- package/browser/{chunk-FIS6Q5OG.js → chunk-EW42TM43.js} +1 -1
- package/browser/{chunk-FLCMFLQ7.js → chunk-F5ERAH5D.js} +1 -1
- package/browser/{chunk-LFRQUM6J.js → chunk-FL5GLDA5.js} +1 -1
- package/browser/{chunk-EXCJNRRJ.js → chunk-FQX3G3SJ.js} +1 -1
- package/browser/{chunk-U7VNF37P.js → chunk-FWFSFB4T.js} +1 -1
- package/browser/{chunk-OBH4MNSM.js → chunk-GCFUFHPD.js} +1 -1
- package/browser/chunk-GOJ5YFDH.js +125 -0
- package/browser/{chunk-GEWY5VWO.js → chunk-GSQJO7HP.js} +1 -1
- package/browser/{chunk-K76G23WC.js → chunk-GVJYCZNZ.js} +1 -1
- package/browser/{chunk-7ENHJR7R.js → chunk-HA2GY7XU.js} +1 -1
- package/browser/{chunk-3JF2MACF.js → chunk-HK2LGXLR.js} +1 -1
- package/browser/{chunk-WQRN2UCW.js → chunk-HOTMNALX.js} +1 -1
- package/browser/{chunk-ZR4YNJBZ.js → chunk-HR64LU2Y.js} +1 -1
- package/browser/{chunk-KVPIGIZJ.js → chunk-HRMJHSXP.js} +1 -1
- package/browser/{chunk-5MGHIIE6.js → chunk-HW6UF72Y.js} +2 -2
- package/browser/{chunk-WC4MWHJJ.js → chunk-I5T3YLJW.js} +1 -1
- package/browser/{chunk-GFFJDDRS.js → chunk-IJEMVPPA.js} +1 -1
- package/browser/{chunk-Z7WYC46Q.js → chunk-IROB4ID4.js} +1 -1
- package/browser/{chunk-6V2AFFCL.js → chunk-ITEHBWAC.js} +1 -1
- package/browser/{chunk-XY7FDLSK.js → chunk-IUKQX4L5.js} +1 -1
- package/browser/{chunk-AYBLEFQB.js → chunk-IUVGWNPX.js} +1 -1
- package/browser/{chunk-22OO6V42.js → chunk-IYORR7HN.js} +1 -1
- package/browser/{chunk-WDS6MTSX.js → chunk-J5MFQCBO.js} +2 -2
- package/browser/chunk-JAK4NHAQ.js +1 -0
- package/browser/{chunk-3VKLFFAF.js → chunk-JCT27TRG.js} +1 -1
- package/browser/{chunk-LG5UTNBU.js → chunk-JNJJYDP7.js} +1 -1
- package/browser/{chunk-O7H6QE5A.js → chunk-JQCW7L5P.js} +1 -1
- package/browser/{chunk-SJIEANJU.js → chunk-JTNYYPAS.js} +1 -1
- package/browser/{chunk-3USDNSPA.js → chunk-JXKXAC3X.js} +1 -1
- package/browser/{chunk-4YAMWP7V.js → chunk-JZMT6UGS.js} +1 -1
- package/browser/chunk-KA7FD33G.js +231 -0
- package/browser/{chunk-ZWEHXDXR.js → chunk-KEP7R6ZO.js} +1 -1
- package/browser/{chunk-GOQ3ZCDK.js → chunk-KG4DA565.js} +1 -1
- package/browser/{chunk-3J6SPHP2.js → chunk-KJ6NWQLT.js} +1 -1
- package/browser/{chunk-BMNZHUI6.js → chunk-KKBNUMTH.js} +1 -1
- package/browser/{chunk-ETHIPTBJ.js → chunk-KLBDRVPT.js} +1 -1
- package/browser/{chunk-GFDEHNOL.js → chunk-L4DGSDB5.js} +1 -1
- package/browser/{chunk-XXGDZ22Y.js → chunk-LC5CKSH6.js} +1 -1
- package/browser/{chunk-3YXP5Q5V.js → chunk-LHP3ECFW.js} +1 -1
- package/browser/{chunk-5VFKAJV6.js → chunk-M6P3HBWJ.js} +1 -1
- package/browser/{chunk-LYGTJSME.js → chunk-MLLJKAHD.js} +1 -1
- package/browser/{chunk-4BQ6OFGZ.js → chunk-MRXZBHTG.js} +1 -1
- package/browser/chunk-MYN3Q2VC.js +1 -0
- package/browser/{chunk-HV7GI3KE.js → chunk-N6W7PM3O.js} +1 -1
- package/browser/{chunk-WOBW4V44.js → chunk-NOHWS6IE.js} +1 -1
- package/browser/{chunk-Q5YFG526.js → chunk-NQRCFNVO.js} +1 -1
- package/browser/{chunk-GE53XQ2Q.js → chunk-NRAL4DDE.js} +1 -1
- package/browser/{chunk-MDXFAEYC.js → chunk-NUW4MIT6.js} +1 -1
- package/browser/{chunk-45Q3TR52.js → chunk-NUWSYMBU.js} +1 -1
- package/browser/{chunk-IQO7F652.js → chunk-OBNSNZON.js} +1 -1
- package/browser/{chunk-NHVOGEOO.js → chunk-OLALZT3L.js} +1 -1
- package/browser/{chunk-JFAIF63Q.js → chunk-OLFWZQFT.js} +1 -1
- package/browser/{chunk-IUXGZNAZ.js → chunk-ONRDB4BH.js} +1 -1
- package/browser/{chunk-SO3WWYN3.js → chunk-P26BSMOR.js} +1 -1
- package/browser/{chunk-VDKUDQZO.js → chunk-P2QGWS2U.js} +1 -1
- package/browser/{chunk-RXY2UMNO.js → chunk-PJFHECMK.js} +1 -1
- package/browser/{chunk-J4SLL7XI.js → chunk-PLN3EBU6.js} +1 -1
- package/browser/{chunk-5IG3NZVF.js → chunk-PUIYTAAZ.js} +1 -1
- package/browser/{chunk-M7KP6PSY.js → chunk-Q24EPOM2.js} +1 -1
- package/browser/{chunk-7HI7DCIJ.js → chunk-QUEQTUK6.js} +1 -1
- package/browser/chunk-QWGJZVAV.js +3 -0
- package/browser/chunk-R5L6W563.js +12 -0
- package/browser/chunk-R5YABUYV.js +1 -0
- package/browser/{chunk-FWDPAH4G.js → chunk-RFGEPCV2.js} +1 -1
- package/browser/chunk-RKIGNDD4.js +1 -0
- package/browser/{chunk-NI6KAEXM.js → chunk-RSDCLKM5.js} +1 -1
- package/browser/{chunk-Q5AWNSSD.js → chunk-S3FHQFMA.js} +1 -1
- package/browser/{chunk-UBWK4RWH.js → chunk-SQGLTFQU.js} +1 -1
- package/browser/{chunk-WZEGUTUH.js → chunk-SXVO2KX6.js} +1 -1
- package/browser/{chunk-GK45LVUY.js → chunk-T7MWWMHI.js} +1 -1
- package/browser/{chunk-QLFKPTZA.js → chunk-TIN7QXDO.js} +1 -1
- package/browser/chunk-TKOYQNM7.js +1 -0
- package/browser/chunk-TLOTIYIE.js +193 -0
- package/browser/{chunk-LXZS75G2.js → chunk-TOH3UHX6.js} +1 -1
- package/browser/{chunk-F3ZJVCRK.js → chunk-TYJFPB6K.js} +1 -1
- package/browser/{chunk-TOWVTOFV.js → chunk-TYLM2YM3.js} +1 -1
- package/browser/chunk-U6JBP3LR.js +1 -0
- package/browser/{chunk-NPHAQCON.js → chunk-UBNLFU2O.js} +1 -1
- package/browser/{chunk-WEJYVCCX.js → chunk-UHJRDVRX.js} +1 -1
- package/browser/{chunk-BBRBME3A.js → chunk-UXBSTSDB.js} +1 -1
- package/browser/{chunk-VJWRLXE4.js → chunk-VB5GF2CR.js} +1 -1
- package/browser/{chunk-SVW3DCFV.js → chunk-VGF6UZQS.js} +1 -1
- package/browser/{chunk-6E4UKP3I.js → chunk-VLMJLWKE.js} +4 -4
- package/browser/{chunk-W64M5WBH.js → chunk-VOTLCXGS.js} +1 -1
- package/browser/{chunk-BMQKMDMC.js → chunk-VZX4F3F5.js} +1 -1
- package/browser/{chunk-SZKR6UME.js → chunk-WAXN55HD.js} +1 -1
- package/browser/{chunk-LYOMQKFY.js → chunk-WEPGXYEY.js} +1 -1
- package/browser/{chunk-FOVCORMR.js → chunk-WT7N3EIH.js} +1 -1
- package/browser/{chunk-3AY3BZNI.js → chunk-WXF4SX6R.js} +1 -1
- package/browser/{chunk-4DIUJNZF.js → chunk-WXGNPWQE.js} +1 -1
- package/browser/{chunk-677WPFLK.js → chunk-X6LIVARI.js} +1 -1
- package/browser/{chunk-S6TMUVGC.js → chunk-X7G45LGM.js} +1 -1
- package/browser/{chunk-M2DBAY4P.js → chunk-XBA2ECU6.js} +1 -1
- package/browser/chunk-XFHWDM44.js +285 -0
- package/browser/{chunk-OZOAAIBM.js → chunk-XIVHSSRN.js} +1 -1
- package/browser/{chunk-V4OYKDE2.js → chunk-XNYNBS44.js} +2 -2
- package/browser/{chunk-ZYTLUHOS.js → chunk-XOZ72TC6.js} +1 -1
- package/browser/{chunk-SRISQ4G6.js → chunk-XWD54EOV.js} +1 -1
- package/browser/{chunk-VMIXOKE7.js → chunk-Y2KIIQWZ.js} +1 -1
- package/browser/{chunk-OGUGTEB3.js → chunk-Y4MOEVLJ.js} +1 -1
- package/browser/{chunk-YQCR57JN.js → chunk-Y4VV2HSW.js} +1 -1
- package/browser/{chunk-4L4E5MG3.js → chunk-Z32NRI5K.js} +1 -1
- package/browser/{chunk-CNY7II6H.js → chunk-Z3CSYV25.js} +1 -1
- package/browser/{chunk-AW3VIYPK.js → chunk-Z5L5OWOY.js} +1 -1
- package/browser/{chunk-A477JKU4.js → chunk-ZUHEKCUE.js} +1 -1
- package/browser/index.html +3 -3
- package/browser/{main-WYOICQDK.js → main-VU2TFHVD.js} +2 -2
- package/package.json +1 -1
- package/browser/chunk-2BRCOLHG.js +0 -1
- package/browser/chunk-3GB5DSK3.js +0 -1
- package/browser/chunk-3PYW74LR.js +0 -193
- package/browser/chunk-66WXWMUG.js +0 -1
- package/browser/chunk-73ESQDPI.js +0 -125
- package/browser/chunk-7NMXZ55P.js +0 -56
- package/browser/chunk-AYEQLVMX.js +0 -506
- package/browser/chunk-FY4JABYL.js +0 -1
- package/browser/chunk-INDKSR3O.js +0 -3
- package/browser/chunk-LHGABVF6.js +0 -12
- package/browser/chunk-LI3MYO4W.js +0 -1
- package/browser/chunk-R3IC3THI.js +0 -1
- package/browser/chunk-XGQGO4PE.js +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{a as Ut}from"./chunk-TEFNN3TY.js";import{b as it,c as rt,d as Qt}from"./chunk-GOQ3ZCDK.js";import{a as Zt,b as Xt}from"./chunk-JKYTSC2D.js";import{a as Gt,k as $t,l as nt}from"./chunk-677WPFLK.js";import{F as $,K as Lt,M as tt,N as Bt,R as at,S as Ht,T as zt,W as Kt,_ as Le,ba as Wt,d as Je,da as jt,ea as qt,f as L,g as Yt,m as et,n as pe,o as Ne,v as Pt,x as Nt,y as ue,z as W}from"./chunk-567HXZXC.js";import{a as Ye,d as Pe,e as he,f as Tt,g as Ft,k as Rt,t as Ot}from"./chunk-P7HKWFZT.js";import{$ as Ce,$a as l,$b as k,Ba as Se,Ca as At,D as ne,Db as de,E as Ct,Fa as p,Ga as qe,Gb as Ie,Hb as xe,Ib as d,Ic as Vt,Jb as c,Ka as z,Kb as I,Kc as T,Ma as Ge,Mc as R,N as wt,Ob as le,Pb as Te,Qa as Mt,Qb as g,Rb as u,Sb as ce,Sc as It,Ta as Qe,Tb as Q,Wc as xt,Yb as Et,Zb as x,_b as M,a as A,ab as kt,cb as Ue,d as S,eb as St,ec as D,fb as $e,fc as F,gc as U,hc as Xe,ia as We,ja as O,jc as Fe,ka as we,kb as C,kc as Re,la as G,lb as Ee,lc as Oe,ma as Ae,mb as E,na as o,o as ve,ob as K,pa as Me,pc as N,qa as ke,qb as P,ua as Y,ub as b,va as y,vb as _,wa as v,wb as Ve,xa as se,xb as V,ya as je,za as oe,zb as Ze}from"./chunk-DZT5XHBQ.js";import{a as yt,b as vt}from"./chunk-7DCB7DB2.js";var st=new G("MAT_DATE_LOCALE",{providedIn:"root",factory:Da});function Da(){return o(Vt)}var Z="Method not implemented",m=class{locale;_localeChanges=new S;localeChanges=this._localeChanges;setTime(s,e,a,t){throw new Error(Z)}getHours(s){throw new Error(Z)}getMinutes(s){throw new Error(Z)}getSeconds(s){throw new Error(Z)}parseTime(s,e){throw new Error(Z)}addSeconds(s,e){throw new Error(Z)}getValidDateOrNull(s){return this.isDateInstance(s)&&this.isValid(s)?s:null}deserialize(s){return s==null||this.isDateInstance(s)&&this.isValid(s)?s:this.invalid()}setLocale(s){this.locale=s,this._localeChanges.next()}compareDate(s,e){return this.getYear(s)-this.getYear(e)||this.getMonth(s)-this.getMonth(e)||this.getDate(s)-this.getDate(e)}compareTime(s,e){return this.getHours(s)-this.getHours(e)||this.getMinutes(s)-this.getMinutes(e)||this.getSeconds(s)-this.getSeconds(e)}sameDate(s,e){if(s&&e){let a=this.isValid(s),t=this.isValid(e);return a&&t?!this.compareDate(s,e):a==t}return s==e}sameTime(s,e){if(s&&e){let a=this.isValid(s),t=this.isValid(e);return a&&t?!this.compareTime(s,e):a==t}return s==e}clampDate(s,e,a){return e&&this.compareDate(s,e)<0?e:a&&this.compareDate(s,a)>0?a:s}},B=new G("mat-date-formats");var va=["mat-calendar-body",""];function Ca(i,s){return this._trackRow(s)}var sa=(i,s)=>s.id;function wa(i,s){if(i&1&&(d(0,"tr",0)(1,"td",3),D(2),c()()),i&2){let e=u();l(),Ve("padding-top",e._cellPadding)("padding-bottom",e._cellPadding),b("colspan",e.numCols),l(),U(" ",e.label," ")}}function Aa(i,s){if(i&1&&(d(0,"td",3),D(1),c()),i&2){let e=u(2);Ve("padding-top",e._cellPadding)("padding-bottom",e._cellPadding),b("colspan",e._firstRowOffset),l(),U(" ",e._firstRowOffset>=e.labelMinRequiredCells?e.label:""," ")}}function Ma(i,s){if(i&1){let e=le();d(0,"td",6)(1,"button",7),g("click",function(t){let r=y(e).$implicit,n=u(2);return v(n._cellClicked(r,t))})("focus",function(t){let r=y(e).$implicit,n=u(2);return v(n._emitActiveDateChange(r,t))}),d(2,"span",8),D(3),c(),I(4,"span",9),c()()}if(i&2){let e=s.$implicit,a=s.$index,t=u().$index,r=u();Ve("width",r._cellWidth)("padding-top",r._cellPadding)("padding-bottom",r._cellPadding),b("data-mat-row",t)("data-mat-col",a),l(),V("mat-calendar-body-disabled",!e.enabled)("mat-calendar-body-active",r._isActiveCell(t,a))("mat-calendar-body-range-start",r._isRangeStart(e.compareValue))("mat-calendar-body-range-end",r._isRangeEnd(e.compareValue))("mat-calendar-body-in-range",r._isInRange(e.compareValue))("mat-calendar-body-comparison-bridge-start",r._isComparisonBridgeStart(e.compareValue,t,a))("mat-calendar-body-comparison-bridge-end",r._isComparisonBridgeEnd(e.compareValue,t,a))("mat-calendar-body-comparison-start",r._isComparisonStart(e.compareValue))("mat-calendar-body-comparison-end",r._isComparisonEnd(e.compareValue))("mat-calendar-body-in-comparison-range",r._isInComparisonRange(e.compareValue))("mat-calendar-body-preview-start",r._isPreviewStart(e.compareValue))("mat-calendar-body-preview-end",r._isPreviewEnd(e.compareValue))("mat-calendar-body-in-preview",r._isInPreview(e.compareValue)),_("ngClass",e.cssClasses)("tabindex",r._isActiveCell(t,a)?0:-1),b("aria-label",e.ariaLabel)("aria-disabled",!e.enabled||null)("aria-pressed",r._isSelected(e.compareValue))("aria-current",r.todayValue===e.compareValue?"date":null)("aria-describedby",r._getDescribedby(e.compareValue)),l(),V("mat-calendar-body-selected",r._isSelected(e.compareValue))("mat-calendar-body-comparison-identical",r._isComparisonIdentical(e.compareValue))("mat-calendar-body-today",r.todayValue===e.compareValue),l(),U(" ",e.displayValue," ")}}function ka(i,s){if(i&1&&(d(0,"tr",1),P(1,Aa,2,6,"td",4),Ie(2,Ma,5,48,"td",5,sa),c()),i&2){let e=s.$implicit,a=s.$index,t=u();l(),de(a===0&&t._firstRowOffset?1:-1),l(),xe(e)}}function Sa(i,s){if(i&1&&(d(0,"th",2)(1,"span",6),D(2),c(),d(3,"span",3),D(4),c()()),i&2){let e=s.$implicit;l(2),F(e.long),l(2),F(e.narrow)}}var oa=["*"];function Ea(i,s){}function Va(i,s){if(i&1){let e=le();d(0,"mat-month-view",4),Oe("activeDateChange",function(t){y(e);let r=u();return Re(r.activeDate,t)||(r.activeDate=t),v(t)}),g("_userSelection",function(t){y(e);let r=u();return v(r._dateSelected(t))})("dragStarted",function(t){y(e);let r=u();return v(r._dragStarted(t))})("dragEnded",function(t){y(e);let r=u();return v(r._dragEnded(t))}),c()}if(i&2){let e=u();Fe("activeDate",e.activeDate),_("selected",e.selected)("dateFilter",e.dateFilter)("maxDate",e.maxDate)("minDate",e.minDate)("dateClass",e.dateClass)("comparisonStart",e.comparisonStart)("comparisonEnd",e.comparisonEnd)("startDateAccessibleName",e.startDateAccessibleName)("endDateAccessibleName",e.endDateAccessibleName)("activeDrag",e._activeDrag)}}function Ia(i,s){if(i&1){let e=le();d(0,"mat-year-view",5),Oe("activeDateChange",function(t){y(e);let r=u();return Re(r.activeDate,t)||(r.activeDate=t),v(t)}),g("monthSelected",function(t){y(e);let r=u();return v(r._monthSelectedInYearView(t))})("selectedChange",function(t){y(e);let r=u();return v(r._goToDateInView(t,"month"))}),c()}if(i&2){let e=u();Fe("activeDate",e.activeDate),_("selected",e.selected)("dateFilter",e.dateFilter)("maxDate",e.maxDate)("minDate",e.minDate)("dateClass",e.dateClass)}}function xa(i,s){if(i&1){let e=le();d(0,"mat-multi-year-view",6),Oe("activeDateChange",function(t){y(e);let r=u();return Re(r.activeDate,t)||(r.activeDate=t),v(t)}),g("yearSelected",function(t){y(e);let r=u();return v(r._yearSelectedInMultiYearView(t))})("selectedChange",function(t){y(e);let r=u();return v(r._goToDateInView(t,"year"))}),c()}if(i&2){let e=u();Fe("activeDate",e.activeDate),_("selected",e.selected)("dateFilter",e.dateFilter)("maxDate",e.maxDate)("minDate",e.minDate)("dateClass",e.dateClass)}}function Ta(i,s){}var Fa=["button"],Ra=[[["","matDatepickerToggleIcon",""]]],Oa=["[matDatepickerToggleIcon]"];function Ya(i,s){i&1&&(se(),d(0,"svg",2),I(1,"path",3),c())}var Pa=[[["input","matStartDate",""]],[["input","matEndDate",""]]],Na=["input[matStartDate]","input[matEndDate]"];function La(i,s){i&1&&(d(0,"div",0),Q(1),c())}var re=(()=>{class i{changes=new S;calendarLabel="Calendar";openCalendarLabel="Open calendar";closeCalendarLabel="Close calendar";prevMonthLabel="Previous month";nextMonthLabel="Next month";prevYearLabel="Previous year";nextYearLabel="Next year";prevMultiYearLabel="Previous 24 years";nextMultiYearLabel="Next 24 years";switchToMonthViewLabel="Choose date";switchToMultiYearViewLabel="Choose month and year";startDateLabel="Start date";endDateLabel="End date";comparisonDateLabel="Comparison range";formatYearRange(e,a){return`${e} \u2013 ${a}`}formatYearRangeLabel(e,a){return`${e} to ${a}`}static \u0275fac=function(a){return new(a||i)};static \u0275prov=O({token:i,factory:i.\u0275fac,providedIn:"root"})}return i})(),Ba=0,ge=class{value;displayValue;ariaLabel;enabled;cssClasses;compareValue;rawValue;id=Ba++;constructor(s,e,a,t,r={},n=s,h){this.value=s,this.displayValue=e,this.ariaLabel=a,this.enabled=t,this.cssClasses=r,this.compareValue=n,this.rawValue=h}},Ha={passive:!1,capture:!0},Be={passive:!0,capture:!0},Jt={passive:!0},te=(()=>{class i{_elementRef=o(z);_ngZone=o(qe);_platform=o(Yt);_intl=o(re);_eventCleanups;_skipNextFocus;_focusActiveCellAfterViewChecked=!1;label;rows;todayValue;startValue;endValue;labelMinRequiredCells;numCols=7;activeCell=0;ngAfterViewChecked(){this._focusActiveCellAfterViewChecked&&(this._focusActiveCell(),this._focusActiveCellAfterViewChecked=!1)}isRange=!1;cellAspectRatio=1;comparisonStart;comparisonEnd;previewStart=null;previewEnd=null;startDateAccessibleName;endDateAccessibleName;selectedValueChange=new p;previewChange=new p;activeDateChange=new p;dragStarted=new p;dragEnded=new p;_firstRowOffset;_cellPadding;_cellWidth;_startDateLabelId;_endDateLabelId;_comparisonStartDateLabelId;_comparisonEndDateLabelId;_didDragSinceMouseDown=!1;_injector=o(Se);comparisonDateAccessibleName=this._intl.comparisonDateLabel;_trackRow=e=>e;constructor(){let e=o(Ue),a=o(ue);this._startDateLabelId=a.getId("mat-calendar-body-start-"),this._endDateLabelId=a.getId("mat-calendar-body-end-"),this._comparisonStartDateLabelId=a.getId("mat-calendar-body-comparison-start-"),this._comparisonEndDateLabelId=a.getId("mat-calendar-body-comparison-end-"),o(pe).load(Gt),this._ngZone.runOutsideAngular(()=>{let t=this._elementRef.nativeElement,r=[L(e,t,"touchmove",this._touchmoveHandler,Ha),L(e,t,"mouseenter",this._enterHandler,Be),L(e,t,"focus",this._enterHandler,Be),L(e,t,"mouseleave",this._leaveHandler,Be),L(e,t,"blur",this._leaveHandler,Be),L(e,t,"mousedown",this._mousedownHandler,Jt),L(e,t,"touchstart",this._mousedownHandler,Jt)];this._platform.isBrowser&&r.push(e.listen("window","mouseup",this._mouseupHandler),e.listen("window","touchend",this._touchendHandler)),this._eventCleanups=r})}_cellClicked(e,a){this._didDragSinceMouseDown||e.enabled&&this.selectedValueChange.emit({value:e.value,event:a})}_emitActiveDateChange(e,a){e.enabled&&this.activeDateChange.emit({value:e.value,event:a})}_isSelected(e){return this.startValue===e||this.endValue===e}ngOnChanges(e){let a=e.numCols,{rows:t,numCols:r}=this;(e.rows||a)&&(this._firstRowOffset=t&&t.length&&t[0].length?r-t[0].length:0),(e.cellAspectRatio||a||!this._cellPadding)&&(this._cellPadding=`${50*this.cellAspectRatio/r}%`),(a||!this._cellWidth)&&(this._cellWidth=`${100/r}%`)}ngOnDestroy(){this._eventCleanups.forEach(e=>e())}_isActiveCell(e,a){let t=e*this.numCols+a;return e&&(t-=this._firstRowOffset),t==this.activeCell}_focusActiveCell(e=!0){Qe(()=>{setTimeout(()=>{let a=this._elementRef.nativeElement.querySelector(".mat-calendar-body-active");a&&(e||(this._skipNextFocus=!0),a.focus())})},{injector:this._injector})}_scheduleFocusActiveCellAfterViewChecked(){this._focusActiveCellAfterViewChecked=!0}_isRangeStart(e){return lt(e,this.startValue,this.endValue)}_isRangeEnd(e){return ct(e,this.startValue,this.endValue)}_isInRange(e){return ht(e,this.startValue,this.endValue,this.isRange)}_isComparisonStart(e){return lt(e,this.comparisonStart,this.comparisonEnd)}_isComparisonBridgeStart(e,a,t){if(!this._isComparisonStart(e)||this._isRangeStart(e)||!this._isInRange(e))return!1;let r=this.rows[a][t-1];if(!r){let n=this.rows[a-1];r=n&&n[n.length-1]}return r&&!this._isRangeEnd(r.compareValue)}_isComparisonBridgeEnd(e,a,t){if(!this._isComparisonEnd(e)||this._isRangeEnd(e)||!this._isInRange(e))return!1;let r=this.rows[a][t+1];if(!r){let n=this.rows[a+1];r=n&&n[0]}return r&&!this._isRangeStart(r.compareValue)}_isComparisonEnd(e){return ct(e,this.comparisonStart,this.comparisonEnd)}_isInComparisonRange(e){return ht(e,this.comparisonStart,this.comparisonEnd,this.isRange)}_isComparisonIdentical(e){return this.comparisonStart===this.comparisonEnd&&e===this.comparisonStart}_isPreviewStart(e){return lt(e,this.previewStart,this.previewEnd)}_isPreviewEnd(e){return ct(e,this.previewStart,this.previewEnd)}_isInPreview(e){return ht(e,this.previewStart,this.previewEnd,this.isRange)}_getDescribedby(e){if(!this.isRange)return null;if(this.startValue===e&&this.endValue===e)return`${this._startDateLabelId} ${this._endDateLabelId}`;if(this.startValue===e)return this._startDateLabelId;if(this.endValue===e)return this._endDateLabelId;if(this.comparisonStart!==null&&this.comparisonEnd!==null){if(e===this.comparisonStart&&e===this.comparisonEnd)return`${this._comparisonStartDateLabelId} ${this._comparisonEndDateLabelId}`;if(e===this.comparisonStart)return this._comparisonStartDateLabelId;if(e===this.comparisonEnd)return this._comparisonEndDateLabelId}return null}_enterHandler=e=>{if(this._skipNextFocus&&e.type==="focus"){this._skipNextFocus=!1;return}if(e.target&&this.isRange){let a=this._getCellFromElement(e.target);a&&this._ngZone.run(()=>this.previewChange.emit({value:a.enabled?a:null,event:e}))}};_touchmoveHandler=e=>{if(!this.isRange)return;let a=ea(e),t=a?this._getCellFromElement(a):null;a!==e.target&&(this._didDragSinceMouseDown=!0),dt(e.target)&&e.preventDefault(),this._ngZone.run(()=>this.previewChange.emit({value:t?.enabled?t:null,event:e}))};_leaveHandler=e=>{this.previewEnd!==null&&this.isRange&&(e.type!=="blur"&&(this._didDragSinceMouseDown=!0),e.target&&this._getCellFromElement(e.target)&&!(e.relatedTarget&&this._getCellFromElement(e.relatedTarget))&&this._ngZone.run(()=>this.previewChange.emit({value:null,event:e})))};_mousedownHandler=e=>{if(!this.isRange)return;this._didDragSinceMouseDown=!1;let a=e.target&&this._getCellFromElement(e.target);!a||!this._isInRange(a.compareValue)||this._ngZone.run(()=>{this.dragStarted.emit({value:a.rawValue,event:e})})};_mouseupHandler=e=>{if(!this.isRange)return;let a=dt(e.target);if(!a){this._ngZone.run(()=>{this.dragEnded.emit({value:null,event:e})});return}a.closest(".mat-calendar-body")===this._elementRef.nativeElement&&this._ngZone.run(()=>{let t=this._getCellFromElement(a);this.dragEnded.emit({value:t?.rawValue??null,event:e})})};_touchendHandler=e=>{let a=ea(e);a&&this._mouseupHandler({target:a})};_getCellFromElement(e){let a=dt(e);if(a){let t=a.getAttribute("data-mat-row"),r=a.getAttribute("data-mat-col");if(t&&r)return this.rows[parseInt(t)][parseInt(r)]}return null}static \u0275fac=function(a){return new(a||i)};static \u0275cmp=C({type:i,selectors:[["","mat-calendar-body",""]],hostAttrs:[1,"mat-calendar-body"],inputs:{label:"label",rows:"rows",todayValue:"todayValue",startValue:"startValue",endValue:"endValue",labelMinRequiredCells:"labelMinRequiredCells",numCols:"numCols",activeCell:"activeCell",isRange:"isRange",cellAspectRatio:"cellAspectRatio",comparisonStart:"comparisonStart",comparisonEnd:"comparisonEnd",previewStart:"previewStart",previewEnd:"previewEnd",startDateAccessibleName:"startDateAccessibleName",endDateAccessibleName:"endDateAccessibleName"},outputs:{selectedValueChange:"selectedValueChange",previewChange:"previewChange",activeDateChange:"activeDateChange",dragStarted:"dragStarted",dragEnded:"dragEnded"},exportAs:["matCalendarBody"],features:[Y],attrs:va,decls:11,vars:11,consts:[["aria-hidden","true"],["role","row"],[1,"mat-calendar-body-hidden-label",3,"id"],[1,"mat-calendar-body-label"],[1,"mat-calendar-body-label",3,"paddingTop","paddingBottom"],["role","gridcell",1,"mat-calendar-body-cell-container",3,"width","paddingTop","paddingBottom"],["role","gridcell",1,"mat-calendar-body-cell-container"],["type","button",1,"mat-calendar-body-cell",3,"click","focus","ngClass","tabindex"],[1,"mat-calendar-body-cell-content","mat-focus-indicator"],["aria-hidden","true",1,"mat-calendar-body-cell-preview"]],template:function(a,t){a&1&&(P(0,wa,3,6,"tr",0),Ie(1,ka,4,1,"tr",1,Ca,!0),d(3,"span",2),D(4),c(),d(5,"span",2),D(6),c(),d(7,"span",2),D(8),c(),d(9,"span",2),D(10),c()),a&2&&(de(t._firstRowOffset<t.labelMinRequiredCells?0:-1),l(),xe(t.rows),l(2),_("id",t._startDateLabelId),l(),U(" ",t.startDateAccessibleName,`
|
|
1
|
+
import{a as Ut}from"./chunk-TEFNN3TY.js";import{b as it,c as rt,d as Qt}from"./chunk-KG4DA565.js";import{a as Zt,b as Xt}from"./chunk-JKYTSC2D.js";import{a as Gt,k as $t,l as nt}from"./chunk-X6LIVARI.js";import{F as $,K as Lt,M as tt,N as Bt,R as at,S as Ht,T as zt,W as Kt,_ as Le,ba as Wt,d as Je,da as jt,ea as qt,f as L,g as Yt,m as et,n as pe,o as Ne,v as Pt,x as Nt,y as ue,z as W}from"./chunk-567HXZXC.js";import{a as Ye,d as Pe,e as he,f as Tt,g as Ft,k as Rt,t as Ot}from"./chunk-P7HKWFZT.js";import{$ as Ce,$a as l,$b as k,Ba as Se,Ca as At,D as ne,Db as de,E as Ct,Fa as p,Ga as qe,Gb as Ie,Hb as xe,Ib as d,Ic as Vt,Jb as c,Ka as z,Kb as I,Kc as T,Ma as Ge,Mc as R,N as wt,Ob as le,Pb as Te,Qa as Mt,Qb as g,Rb as u,Sb as ce,Sc as It,Ta as Qe,Tb as Q,Wc as xt,Yb as Et,Zb as x,_b as M,a as A,ab as kt,cb as Ue,d as S,eb as St,ec as D,fb as $e,fc as F,gc as U,hc as Xe,ia as We,ja as O,jc as Fe,ka as we,kb as C,kc as Re,la as G,lb as Ee,lc as Oe,ma as Ae,mb as E,na as o,o as ve,ob as K,pa as Me,pc as N,qa as ke,qb as P,ua as Y,ub as b,va as y,vb as _,wa as v,wb as Ve,xa as se,xb as V,ya as je,za as oe,zb as Ze}from"./chunk-DZT5XHBQ.js";import{a as yt,b as vt}from"./chunk-7DCB7DB2.js";var st=new G("MAT_DATE_LOCALE",{providedIn:"root",factory:Da});function Da(){return o(Vt)}var Z="Method not implemented",m=class{locale;_localeChanges=new S;localeChanges=this._localeChanges;setTime(s,e,a,t){throw new Error(Z)}getHours(s){throw new Error(Z)}getMinutes(s){throw new Error(Z)}getSeconds(s){throw new Error(Z)}parseTime(s,e){throw new Error(Z)}addSeconds(s,e){throw new Error(Z)}getValidDateOrNull(s){return this.isDateInstance(s)&&this.isValid(s)?s:null}deserialize(s){return s==null||this.isDateInstance(s)&&this.isValid(s)?s:this.invalid()}setLocale(s){this.locale=s,this._localeChanges.next()}compareDate(s,e){return this.getYear(s)-this.getYear(e)||this.getMonth(s)-this.getMonth(e)||this.getDate(s)-this.getDate(e)}compareTime(s,e){return this.getHours(s)-this.getHours(e)||this.getMinutes(s)-this.getMinutes(e)||this.getSeconds(s)-this.getSeconds(e)}sameDate(s,e){if(s&&e){let a=this.isValid(s),t=this.isValid(e);return a&&t?!this.compareDate(s,e):a==t}return s==e}sameTime(s,e){if(s&&e){let a=this.isValid(s),t=this.isValid(e);return a&&t?!this.compareTime(s,e):a==t}return s==e}clampDate(s,e,a){return e&&this.compareDate(s,e)<0?e:a&&this.compareDate(s,a)>0?a:s}},B=new G("mat-date-formats");var va=["mat-calendar-body",""];function Ca(i,s){return this._trackRow(s)}var sa=(i,s)=>s.id;function wa(i,s){if(i&1&&(d(0,"tr",0)(1,"td",3),D(2),c()()),i&2){let e=u();l(),Ve("padding-top",e._cellPadding)("padding-bottom",e._cellPadding),b("colspan",e.numCols),l(),U(" ",e.label," ")}}function Aa(i,s){if(i&1&&(d(0,"td",3),D(1),c()),i&2){let e=u(2);Ve("padding-top",e._cellPadding)("padding-bottom",e._cellPadding),b("colspan",e._firstRowOffset),l(),U(" ",e._firstRowOffset>=e.labelMinRequiredCells?e.label:""," ")}}function Ma(i,s){if(i&1){let e=le();d(0,"td",6)(1,"button",7),g("click",function(t){let r=y(e).$implicit,n=u(2);return v(n._cellClicked(r,t))})("focus",function(t){let r=y(e).$implicit,n=u(2);return v(n._emitActiveDateChange(r,t))}),d(2,"span",8),D(3),c(),I(4,"span",9),c()()}if(i&2){let e=s.$implicit,a=s.$index,t=u().$index,r=u();Ve("width",r._cellWidth)("padding-top",r._cellPadding)("padding-bottom",r._cellPadding),b("data-mat-row",t)("data-mat-col",a),l(),V("mat-calendar-body-disabled",!e.enabled)("mat-calendar-body-active",r._isActiveCell(t,a))("mat-calendar-body-range-start",r._isRangeStart(e.compareValue))("mat-calendar-body-range-end",r._isRangeEnd(e.compareValue))("mat-calendar-body-in-range",r._isInRange(e.compareValue))("mat-calendar-body-comparison-bridge-start",r._isComparisonBridgeStart(e.compareValue,t,a))("mat-calendar-body-comparison-bridge-end",r._isComparisonBridgeEnd(e.compareValue,t,a))("mat-calendar-body-comparison-start",r._isComparisonStart(e.compareValue))("mat-calendar-body-comparison-end",r._isComparisonEnd(e.compareValue))("mat-calendar-body-in-comparison-range",r._isInComparisonRange(e.compareValue))("mat-calendar-body-preview-start",r._isPreviewStart(e.compareValue))("mat-calendar-body-preview-end",r._isPreviewEnd(e.compareValue))("mat-calendar-body-in-preview",r._isInPreview(e.compareValue)),_("ngClass",e.cssClasses)("tabindex",r._isActiveCell(t,a)?0:-1),b("aria-label",e.ariaLabel)("aria-disabled",!e.enabled||null)("aria-pressed",r._isSelected(e.compareValue))("aria-current",r.todayValue===e.compareValue?"date":null)("aria-describedby",r._getDescribedby(e.compareValue)),l(),V("mat-calendar-body-selected",r._isSelected(e.compareValue))("mat-calendar-body-comparison-identical",r._isComparisonIdentical(e.compareValue))("mat-calendar-body-today",r.todayValue===e.compareValue),l(),U(" ",e.displayValue," ")}}function ka(i,s){if(i&1&&(d(0,"tr",1),P(1,Aa,2,6,"td",4),Ie(2,Ma,5,48,"td",5,sa),c()),i&2){let e=s.$implicit,a=s.$index,t=u();l(),de(a===0&&t._firstRowOffset?1:-1),l(),xe(e)}}function Sa(i,s){if(i&1&&(d(0,"th",2)(1,"span",6),D(2),c(),d(3,"span",3),D(4),c()()),i&2){let e=s.$implicit;l(2),F(e.long),l(2),F(e.narrow)}}var oa=["*"];function Ea(i,s){}function Va(i,s){if(i&1){let e=le();d(0,"mat-month-view",4),Oe("activeDateChange",function(t){y(e);let r=u();return Re(r.activeDate,t)||(r.activeDate=t),v(t)}),g("_userSelection",function(t){y(e);let r=u();return v(r._dateSelected(t))})("dragStarted",function(t){y(e);let r=u();return v(r._dragStarted(t))})("dragEnded",function(t){y(e);let r=u();return v(r._dragEnded(t))}),c()}if(i&2){let e=u();Fe("activeDate",e.activeDate),_("selected",e.selected)("dateFilter",e.dateFilter)("maxDate",e.maxDate)("minDate",e.minDate)("dateClass",e.dateClass)("comparisonStart",e.comparisonStart)("comparisonEnd",e.comparisonEnd)("startDateAccessibleName",e.startDateAccessibleName)("endDateAccessibleName",e.endDateAccessibleName)("activeDrag",e._activeDrag)}}function Ia(i,s){if(i&1){let e=le();d(0,"mat-year-view",5),Oe("activeDateChange",function(t){y(e);let r=u();return Re(r.activeDate,t)||(r.activeDate=t),v(t)}),g("monthSelected",function(t){y(e);let r=u();return v(r._monthSelectedInYearView(t))})("selectedChange",function(t){y(e);let r=u();return v(r._goToDateInView(t,"month"))}),c()}if(i&2){let e=u();Fe("activeDate",e.activeDate),_("selected",e.selected)("dateFilter",e.dateFilter)("maxDate",e.maxDate)("minDate",e.minDate)("dateClass",e.dateClass)}}function xa(i,s){if(i&1){let e=le();d(0,"mat-multi-year-view",6),Oe("activeDateChange",function(t){y(e);let r=u();return Re(r.activeDate,t)||(r.activeDate=t),v(t)}),g("yearSelected",function(t){y(e);let r=u();return v(r._yearSelectedInMultiYearView(t))})("selectedChange",function(t){y(e);let r=u();return v(r._goToDateInView(t,"year"))}),c()}if(i&2){let e=u();Fe("activeDate",e.activeDate),_("selected",e.selected)("dateFilter",e.dateFilter)("maxDate",e.maxDate)("minDate",e.minDate)("dateClass",e.dateClass)}}function Ta(i,s){}var Fa=["button"],Ra=[[["","matDatepickerToggleIcon",""]]],Oa=["[matDatepickerToggleIcon]"];function Ya(i,s){i&1&&(se(),d(0,"svg",2),I(1,"path",3),c())}var Pa=[[["input","matStartDate",""]],[["input","matEndDate",""]]],Na=["input[matStartDate]","input[matEndDate]"];function La(i,s){i&1&&(d(0,"div",0),Q(1),c())}var re=(()=>{class i{changes=new S;calendarLabel="Calendar";openCalendarLabel="Open calendar";closeCalendarLabel="Close calendar";prevMonthLabel="Previous month";nextMonthLabel="Next month";prevYearLabel="Previous year";nextYearLabel="Next year";prevMultiYearLabel="Previous 24 years";nextMultiYearLabel="Next 24 years";switchToMonthViewLabel="Choose date";switchToMultiYearViewLabel="Choose month and year";startDateLabel="Start date";endDateLabel="End date";comparisonDateLabel="Comparison range";formatYearRange(e,a){return`${e} \u2013 ${a}`}formatYearRangeLabel(e,a){return`${e} to ${a}`}static \u0275fac=function(a){return new(a||i)};static \u0275prov=O({token:i,factory:i.\u0275fac,providedIn:"root"})}return i})(),Ba=0,ge=class{value;displayValue;ariaLabel;enabled;cssClasses;compareValue;rawValue;id=Ba++;constructor(s,e,a,t,r={},n=s,h){this.value=s,this.displayValue=e,this.ariaLabel=a,this.enabled=t,this.cssClasses=r,this.compareValue=n,this.rawValue=h}},Ha={passive:!1,capture:!0},Be={passive:!0,capture:!0},Jt={passive:!0},te=(()=>{class i{_elementRef=o(z);_ngZone=o(qe);_platform=o(Yt);_intl=o(re);_eventCleanups;_skipNextFocus;_focusActiveCellAfterViewChecked=!1;label;rows;todayValue;startValue;endValue;labelMinRequiredCells;numCols=7;activeCell=0;ngAfterViewChecked(){this._focusActiveCellAfterViewChecked&&(this._focusActiveCell(),this._focusActiveCellAfterViewChecked=!1)}isRange=!1;cellAspectRatio=1;comparisonStart;comparisonEnd;previewStart=null;previewEnd=null;startDateAccessibleName;endDateAccessibleName;selectedValueChange=new p;previewChange=new p;activeDateChange=new p;dragStarted=new p;dragEnded=new p;_firstRowOffset;_cellPadding;_cellWidth;_startDateLabelId;_endDateLabelId;_comparisonStartDateLabelId;_comparisonEndDateLabelId;_didDragSinceMouseDown=!1;_injector=o(Se);comparisonDateAccessibleName=this._intl.comparisonDateLabel;_trackRow=e=>e;constructor(){let e=o(Ue),a=o(ue);this._startDateLabelId=a.getId("mat-calendar-body-start-"),this._endDateLabelId=a.getId("mat-calendar-body-end-"),this._comparisonStartDateLabelId=a.getId("mat-calendar-body-comparison-start-"),this._comparisonEndDateLabelId=a.getId("mat-calendar-body-comparison-end-"),o(pe).load(Gt),this._ngZone.runOutsideAngular(()=>{let t=this._elementRef.nativeElement,r=[L(e,t,"touchmove",this._touchmoveHandler,Ha),L(e,t,"mouseenter",this._enterHandler,Be),L(e,t,"focus",this._enterHandler,Be),L(e,t,"mouseleave",this._leaveHandler,Be),L(e,t,"blur",this._leaveHandler,Be),L(e,t,"mousedown",this._mousedownHandler,Jt),L(e,t,"touchstart",this._mousedownHandler,Jt)];this._platform.isBrowser&&r.push(e.listen("window","mouseup",this._mouseupHandler),e.listen("window","touchend",this._touchendHandler)),this._eventCleanups=r})}_cellClicked(e,a){this._didDragSinceMouseDown||e.enabled&&this.selectedValueChange.emit({value:e.value,event:a})}_emitActiveDateChange(e,a){e.enabled&&this.activeDateChange.emit({value:e.value,event:a})}_isSelected(e){return this.startValue===e||this.endValue===e}ngOnChanges(e){let a=e.numCols,{rows:t,numCols:r}=this;(e.rows||a)&&(this._firstRowOffset=t&&t.length&&t[0].length?r-t[0].length:0),(e.cellAspectRatio||a||!this._cellPadding)&&(this._cellPadding=`${50*this.cellAspectRatio/r}%`),(a||!this._cellWidth)&&(this._cellWidth=`${100/r}%`)}ngOnDestroy(){this._eventCleanups.forEach(e=>e())}_isActiveCell(e,a){let t=e*this.numCols+a;return e&&(t-=this._firstRowOffset),t==this.activeCell}_focusActiveCell(e=!0){Qe(()=>{setTimeout(()=>{let a=this._elementRef.nativeElement.querySelector(".mat-calendar-body-active");a&&(e||(this._skipNextFocus=!0),a.focus())})},{injector:this._injector})}_scheduleFocusActiveCellAfterViewChecked(){this._focusActiveCellAfterViewChecked=!0}_isRangeStart(e){return lt(e,this.startValue,this.endValue)}_isRangeEnd(e){return ct(e,this.startValue,this.endValue)}_isInRange(e){return ht(e,this.startValue,this.endValue,this.isRange)}_isComparisonStart(e){return lt(e,this.comparisonStart,this.comparisonEnd)}_isComparisonBridgeStart(e,a,t){if(!this._isComparisonStart(e)||this._isRangeStart(e)||!this._isInRange(e))return!1;let r=this.rows[a][t-1];if(!r){let n=this.rows[a-1];r=n&&n[n.length-1]}return r&&!this._isRangeEnd(r.compareValue)}_isComparisonBridgeEnd(e,a,t){if(!this._isComparisonEnd(e)||this._isRangeEnd(e)||!this._isInRange(e))return!1;let r=this.rows[a][t+1];if(!r){let n=this.rows[a+1];r=n&&n[0]}return r&&!this._isRangeStart(r.compareValue)}_isComparisonEnd(e){return ct(e,this.comparisonStart,this.comparisonEnd)}_isInComparisonRange(e){return ht(e,this.comparisonStart,this.comparisonEnd,this.isRange)}_isComparisonIdentical(e){return this.comparisonStart===this.comparisonEnd&&e===this.comparisonStart}_isPreviewStart(e){return lt(e,this.previewStart,this.previewEnd)}_isPreviewEnd(e){return ct(e,this.previewStart,this.previewEnd)}_isInPreview(e){return ht(e,this.previewStart,this.previewEnd,this.isRange)}_getDescribedby(e){if(!this.isRange)return null;if(this.startValue===e&&this.endValue===e)return`${this._startDateLabelId} ${this._endDateLabelId}`;if(this.startValue===e)return this._startDateLabelId;if(this.endValue===e)return this._endDateLabelId;if(this.comparisonStart!==null&&this.comparisonEnd!==null){if(e===this.comparisonStart&&e===this.comparisonEnd)return`${this._comparisonStartDateLabelId} ${this._comparisonEndDateLabelId}`;if(e===this.comparisonStart)return this._comparisonStartDateLabelId;if(e===this.comparisonEnd)return this._comparisonEndDateLabelId}return null}_enterHandler=e=>{if(this._skipNextFocus&&e.type==="focus"){this._skipNextFocus=!1;return}if(e.target&&this.isRange){let a=this._getCellFromElement(e.target);a&&this._ngZone.run(()=>this.previewChange.emit({value:a.enabled?a:null,event:e}))}};_touchmoveHandler=e=>{if(!this.isRange)return;let a=ea(e),t=a?this._getCellFromElement(a):null;a!==e.target&&(this._didDragSinceMouseDown=!0),dt(e.target)&&e.preventDefault(),this._ngZone.run(()=>this.previewChange.emit({value:t?.enabled?t:null,event:e}))};_leaveHandler=e=>{this.previewEnd!==null&&this.isRange&&(e.type!=="blur"&&(this._didDragSinceMouseDown=!0),e.target&&this._getCellFromElement(e.target)&&!(e.relatedTarget&&this._getCellFromElement(e.relatedTarget))&&this._ngZone.run(()=>this.previewChange.emit({value:null,event:e})))};_mousedownHandler=e=>{if(!this.isRange)return;this._didDragSinceMouseDown=!1;let a=e.target&&this._getCellFromElement(e.target);!a||!this._isInRange(a.compareValue)||this._ngZone.run(()=>{this.dragStarted.emit({value:a.rawValue,event:e})})};_mouseupHandler=e=>{if(!this.isRange)return;let a=dt(e.target);if(!a){this._ngZone.run(()=>{this.dragEnded.emit({value:null,event:e})});return}a.closest(".mat-calendar-body")===this._elementRef.nativeElement&&this._ngZone.run(()=>{let t=this._getCellFromElement(a);this.dragEnded.emit({value:t?.rawValue??null,event:e})})};_touchendHandler=e=>{let a=ea(e);a&&this._mouseupHandler({target:a})};_getCellFromElement(e){let a=dt(e);if(a){let t=a.getAttribute("data-mat-row"),r=a.getAttribute("data-mat-col");if(t&&r)return this.rows[parseInt(t)][parseInt(r)]}return null}static \u0275fac=function(a){return new(a||i)};static \u0275cmp=C({type:i,selectors:[["","mat-calendar-body",""]],hostAttrs:[1,"mat-calendar-body"],inputs:{label:"label",rows:"rows",todayValue:"todayValue",startValue:"startValue",endValue:"endValue",labelMinRequiredCells:"labelMinRequiredCells",numCols:"numCols",activeCell:"activeCell",isRange:"isRange",cellAspectRatio:"cellAspectRatio",comparisonStart:"comparisonStart",comparisonEnd:"comparisonEnd",previewStart:"previewStart",previewEnd:"previewEnd",startDateAccessibleName:"startDateAccessibleName",endDateAccessibleName:"endDateAccessibleName"},outputs:{selectedValueChange:"selectedValueChange",previewChange:"previewChange",activeDateChange:"activeDateChange",dragStarted:"dragStarted",dragEnded:"dragEnded"},exportAs:["matCalendarBody"],features:[Y],attrs:va,decls:11,vars:11,consts:[["aria-hidden","true"],["role","row"],[1,"mat-calendar-body-hidden-label",3,"id"],[1,"mat-calendar-body-label"],[1,"mat-calendar-body-label",3,"paddingTop","paddingBottom"],["role","gridcell",1,"mat-calendar-body-cell-container",3,"width","paddingTop","paddingBottom"],["role","gridcell",1,"mat-calendar-body-cell-container"],["type","button",1,"mat-calendar-body-cell",3,"click","focus","ngClass","tabindex"],[1,"mat-calendar-body-cell-content","mat-focus-indicator"],["aria-hidden","true",1,"mat-calendar-body-cell-preview"]],template:function(a,t){a&1&&(P(0,wa,3,6,"tr",0),Ie(1,ka,4,1,"tr",1,Ca,!0),d(3,"span",2),D(4),c(),d(5,"span",2),D(6),c(),d(7,"span",2),D(8),c(),d(9,"span",2),D(10),c()),a&2&&(de(t._firstRowOffset<t.labelMinRequiredCells?0:-1),l(),xe(t.rows),l(2),_("id",t._startDateLabelId),l(),U(" ",t.startDateAccessibleName,`
|
|
2
2
|
`),l(),_("id",t._endDateLabelId),l(),U(" ",t.endDateAccessibleName,`
|
|
3
3
|
`),l(),_("id",t._comparisonStartDateLabelId),l(),Xe(" ",t.comparisonDateAccessibleName," ",t.startDateAccessibleName,`
|
|
4
4
|
`),l(),_("id",t._comparisonEndDateLabelId),l(),Xe(" ",t.comparisonDateAccessibleName," ",t.endDateAccessibleName,`
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{c as F,d as H}from"./chunk-
|
|
1
|
+
import{c as F,d as H}from"./chunk-2RC5LEZJ.js";import{a as N,b as P}from"./chunk-C73IEBHE.js";import{la as E}from"./chunk-TLOTIYIE.js";import{D as k,h as j,o as A}from"./chunk-P7HKWFZT.js";import{a as G}from"./chunk-AHCRE4GP.js";import{$a as p,Ac as L,Fa as v,Ib as u,Jb as i,Qb as _,Rb as w,Y as g,Yd as s,Zc as M,ca as S,cd as x,d as f,db as a,ec as h,fa as b,gc as T,ja as I,jd as $,kb as y,na as C,o as O,qb as d,vb as m,zc as D}from"./chunk-DZT5XHBQ.js";var c=class l{http=C(s);onOpenTreeSelector$=new f;outletGroups$=this.onOpenTreeSelector$.pipe(S(e=>e.length?O(e):this.http.get("/API/outlet/ActiveOptions"),[]),g(1));constructor(){}loadOutletGroups(){this.onOpenTreeSelector$.next()}static \u0275fac=function(t){return new(t||l)};static \u0275prov=I({token:l,factory:l.\u0275fac,providedIn:"root"})};function q(l,e){if(l&1&&(u(0,"div"),h(1),i()),l&2){let t=w();p(),T(" ",t.selectedOutletGroupLabel," ")}}function z(l,e){l&1&&(u(0,"label",4),h(1,"Outlet Group"),i())}var R=class l{constructor(e,t){this.http=e;this.outletGroup=t}outletGroups=[];showClear=!1;showLabel=!1;selectedOutletGroup;selectedOutletGroupID;selectedOutletGroupIDChange=new v;selectedOutletGroupLabel;isLoadOutletGroups=!1;top=0;outletGroups$;ngAfterViewInit(){let e=document.querySelector("body");this.top=e.getBoundingClientRect().top*-1}ngOnInit(){this.outletGroups.length>0&&(G.IsEmpty(this.selectedOutletGroupID)&&(this.selectedOutletGroupID=this.outletGroups[0]?.key),this.selectedOutletGroup=this.findSelectedOutletGroup(this.outletGroups,this.selectedOutletGroupID),this.generateLabelSelectedOutletGroup(this.selectedOutletGroup)),this.outletGroups$=this.outletGroup.outletGroups$.pipe(b(e=>{console.log(e),this.selectedOutletGroup=this.findSelectedOutletGroup(e,this.selectedOutletGroupID),this.generateLabelSelectedOutletGroup(this.selectedOutletGroup)}))}onSelectOutletGroup(e){this.selectedOutletGroup=e,this.generateLabelSelectedOutletGroup(this.selectedOutletGroup),this.selectedOutletGroupID=e?.key,this.selectedOutletGroupIDChange.emit(this.selectedOutletGroupID)}generateLabelSelectedOutletGroup(e){if(e){let t=[];this.selectedOutletGroupLabel="";do t=[...t,e.label],e=e.parent;while(e!==void 0);this.selectedOutletGroupLabel=t.reverse().join("/")}else this.selectedOutletGroupLabel="Select OutletGroup"}findSelectedOutletGroup(e,t){if(G.IsNotEmpty(t))for(let o of e){if(o.key===t)return o;{o.children=o.children?o.children:[],o.children=o.children.map(n=>(n.parent=o,n));let r=this.findSelectedOutletGroup(o.children,t);if(r)return r}}else return null}loadOutletGroups(){let e=document.querySelector(".p-overlay.p-component"),t=this.top+e.getBoundingClientRect().top,o=e.getAttribute("style")||"";e.setAttribute("style",`${o} top: ${t+this.top}px;`),this.outletGroup.loadOutletGroups()}onClear(){this.selectedOutletGroupID=null,this.selectedOutletGroupIDChange.emit(this.selectedOutletGroupID)}static \u0275fac=function(t){return new(t||l)(a(s),a(c))};static \u0275cmp=y({type:l,selectors:[["POS-outlet-group-tree-select"]],inputs:{outletGroups:"outletGroups",showClear:"showClear",showLabel:"showLabel",selectedOutletGroupID:"selectedOutletGroupID"},outputs:{selectedOutletGroupIDChange:"selectedOutletGroupIDChange"},decls:5,vars:6,consts:[["variant","on",1,"w-full","md:w-80"],["appendTo","body","inputId","selectOutletGroup","selectionMode","single","filter","true","filterInputAutoFocus","true","scrollHeight","250px","inputId","selectOutletGroup",3,"click","ngModelChange","onClear","options","ngModel","showClear"],["pTemplate","value"],["for","selectOutletGroup",4,"ngIf"],["for","selectOutletGroup"]],template:function(t,o){t&1&&(u(0,"p-floatlabel",0)(1,"p-treeSelect",1),D(2,"async"),_("click",function(){return o.loadOutletGroups()})("ngModelChange",function(n){return o.onSelectOutletGroup(n)})("onClear",function(){return o.onClear()}),d(3,q,2,1,"ng-template",2),i(),d(4,z,2,0,"label",3),i()),t&2&&(p(),m("options",L(2,4,o.outletGroups$))("ngModel",o.selectedOutletGroup)("showClear",o.showClear),p(3),m("ngIf",o.showLabel))},dependencies:[$,M,x,H,F,E,k,j,A,P,N],styles:[".p-overlay.p-component{z-index:10000000000000000000000!important} .p-treeselect-panel .p-treeselect-items-wrapper .p-tree{padding-left:4px!important}"]})};export{R as a};
|