dealpos 25.44.0 → 25.45.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-7VKFVS7K.js → chunk-235POOLV.js} +1 -1
- package/browser/{chunk-Z2LCSWV4.js → chunk-24A2APSJ.js} +1 -1
- package/browser/{chunk-TSIYPTYI.js → chunk-2525CDKJ.js} +1 -1
- package/browser/chunk-2557JAG4.js +1 -0
- package/browser/chunk-27KLJCCF.js +1 -0
- package/browser/chunk-2CWEU47S.js +1 -0
- package/browser/chunk-2EEKMQEX.js +1 -0
- package/browser/chunk-2IE6U5ND.js +1 -0
- package/browser/chunk-2ILW7WWJ.js +2 -0
- package/browser/chunk-2IOQJSBS.js +1 -0
- package/browser/chunk-2MGVRRAP.js +57 -0
- package/browser/{chunk-6PGUQ3CR.js → chunk-2PIAS2C5.js} +1 -1
- package/browser/chunk-2SFQGHFV.js +9 -0
- package/browser/{chunk-LLQVL4JL.js → chunk-2SJZWKFD.js} +1 -1
- package/browser/{chunk-QUHI6RHC.js → chunk-2YGMAT2F.js} +1 -1
- package/browser/chunk-32GJXDHR.js +1 -0
- package/browser/{chunk-6774R2EL.js → chunk-3AHCNKRE.js} +6 -6
- package/browser/{chunk-7ENDP7TZ.js → chunk-3JW3NITX.js} +1 -1
- package/browser/chunk-3UKPPC6K.js +131 -0
- package/browser/chunk-3XJHHRJT.js +92 -0
- package/browser/chunk-3XRT75ZN.js +1 -0
- package/browser/{chunk-BJBJJUF7.js → chunk-44LXIDEF.js} +1 -1
- package/browser/chunk-4DH3BDE3.js +151 -0
- package/browser/chunk-4KOOWCML.js +4 -0
- package/browser/{chunk-OXQJYOVG.js → chunk-4MFA5Y4Y.js} +1 -1
- package/browser/chunk-4UJTVSL2.js +191 -0
- package/browser/chunk-4XD6LZU6.js +1 -0
- package/browser/{chunk-S4Z6ZYZ4.js → chunk-4ZMJFXGW.js} +1 -1
- package/browser/{chunk-HCSPFPLE.js → chunk-5574BNHI.js} +1 -1
- package/browser/chunk-5J2SNOT2.js +1 -0
- package/browser/chunk-5JQ2TYZU.js +2 -0
- package/browser/chunk-5NRBDWB4.js +663 -0
- package/browser/chunk-5RLB3NV4.js +315 -0
- package/browser/chunk-5VGCSK5N.js +1 -0
- package/browser/chunk-5XDBC6O7.js +1 -0
- package/browser/chunk-5YCIPH6P.js +1 -0
- package/browser/chunk-62E2JEWQ.js +1 -0
- package/browser/chunk-63WMMXIG.js +1 -0
- package/browser/chunk-66DT3BE2.js +1 -0
- package/browser/{chunk-MK4KDIMG.js → chunk-6B56KYAF.js} +1 -1
- package/browser/chunk-6BWXSO4B.js +1 -0
- package/browser/chunk-6EP37ICB.js +334 -0
- package/browser/chunk-6IVR565J.js +82 -0
- package/browser/chunk-6M6QFFLT.js +1 -0
- package/browser/{chunk-RKCLO5OA.js → chunk-6QKBTWAT.js} +1 -1
- package/browser/chunk-74B5JZ5G.js +1 -0
- package/browser/chunk-7H3GMZJN.js +5 -0
- package/browser/{chunk-4SKJU2FQ.js → chunk-7NQ56KZ6.js} +1 -1
- package/browser/chunk-7WXTIXID.js +1 -0
- package/browser/chunk-7YKHGYIG.js +1 -0
- package/browser/chunk-7ZTWH3L6.js +1 -0
- package/browser/{chunk-QHRP323Q.js → chunk-A3FTQA6E.js} +1 -1
- package/browser/chunk-AF5V3BUB.js +1 -0
- package/browser/{chunk-XMYLHF4C.js → chunk-AFCABMLQ.js} +1 -1
- package/browser/chunk-AOQIZ6M2.js +376 -0
- package/browser/chunk-AXUFQOIY.js +1 -0
- package/browser/chunk-B7QNQTF3.js +2 -0
- package/browser/chunk-BFHHIWRM.js +149 -0
- package/browser/chunk-CABP6X3M.js +2 -0
- package/browser/chunk-CANN2XN6.js +39 -0
- package/browser/{chunk-OYSMMJMB.js → chunk-CF4MHWEX.js} +1 -1
- package/browser/chunk-CFSYN7MV.js +16 -0
- package/browser/chunk-CJFDTLOQ.js +54 -0
- package/browser/{chunk-ODOWAGLZ.js → chunk-CKN6D7N7.js} +1 -1
- package/browser/{chunk-JPXXXD26.js → chunk-CKRLMZHY.js} +1 -1
- package/browser/chunk-CNCKIVTQ.js +1 -0
- package/browser/{chunk-BMW3GOBJ.js → chunk-CQPKVO7W.js} +1 -1
- package/browser/chunk-CRMTCX6F.js +3 -0
- package/browser/chunk-CRU6KO53.js +1 -0
- package/browser/{chunk-QVPSWY5E.js → chunk-CTPHJSLU.js} +1 -1
- package/browser/chunk-CUY227OT.js +118 -0
- package/browser/chunk-D75PDB6P.js +1 -0
- package/browser/{chunk-EVWNBQBC.js → chunk-D7J7CQGT.js} +1 -1
- package/browser/{chunk-AEHOR4RJ.js → chunk-DDM5K7MP.js} +1 -1
- package/browser/chunk-DMZ5HEOT.js +1 -0
- package/browser/chunk-E5HC3WFJ.js +1 -0
- package/browser/chunk-EE3OKRUQ.js +1 -0
- package/browser/chunk-EI2XG4ML.js +1 -0
- package/browser/chunk-EIBM6U5N.js +1 -0
- package/browser/chunk-EQLHPWVB.js +1 -0
- package/browser/chunk-ERFYUZ7W.js +1 -0
- package/browser/chunk-EUQGYTUL.js +1 -0
- package/browser/chunk-EXIKKRCD.js +15 -0
- package/browser/{chunk-WDQ4UKKY.js → chunk-FPGIRAZZ.js} +1 -1
- package/browser/chunk-FW2LVBF2.js +1 -0
- package/browser/chunk-G2QZRGKV.js +2 -0
- package/browser/chunk-GDRHD33K.js +157 -0
- package/browser/chunk-GERGGB25.js +1 -0
- package/browser/chunk-GHGFRLKE.js +1 -0
- package/browser/chunk-GIW2PDIG.js +311 -0
- package/browser/chunk-GZXTL4RE.js +1 -0
- package/browser/chunk-HD6ETXDZ.js +2 -0
- package/browser/chunk-HEGIEXS3.js +21 -0
- package/browser/{chunk-NMR7EZWC.js → chunk-HG6BRXAC.js} +1 -1
- package/browser/{chunk-AGTR6PKD.js → chunk-HNLSUZUH.js} +1 -1
- package/browser/{chunk-5M3JINH2.js → chunk-HNU2JIBP.js} +1 -1
- package/browser/chunk-HPWVZRZF.js +480 -0
- package/browser/chunk-HPXDTBZD.js +1 -0
- package/browser/{chunk-XPWSJXFB.js → chunk-IEYBKFX7.js} +1 -1
- package/browser/chunk-IH5OCDKI.js +1 -0
- package/browser/chunk-IMO77OHS.js +4 -0
- package/browser/chunk-IRPQWJZH.js +5 -0
- package/browser/chunk-IWPVMLPY.js +1 -0
- package/browser/chunk-IZK2IN4R.js +1 -0
- package/browser/chunk-J4J3XVRF.js +6 -0
- package/browser/{chunk-UWGTJ4UH.js → chunk-J55W7XV7.js} +1 -1
- package/browser/chunk-JHYJTTAR.js +5 -0
- package/browser/chunk-JJ55MEGU.js +3 -0
- package/browser/{chunk-DH3PTQ3P.js → chunk-JKBDSVHR.js} +1 -1
- package/browser/chunk-JL56QKED.js +1 -0
- package/browser/chunk-JQOVAMQC.js +1 -0
- package/browser/{chunk-O2QTP22K.js → chunk-JR6SBNDP.js} +2 -2
- package/browser/chunk-JTLGGNCW.js +1 -0
- package/browser/chunk-K2M625FR.js +3 -0
- package/browser/chunk-K2U4QSXW.js +1 -0
- package/browser/chunk-K5ERLQ63.js +3 -0
- package/browser/{chunk-7IDMO3VZ.js → chunk-K6YQ5CRH.js} +1 -1
- package/browser/chunk-KHDFH3GS.js +1 -0
- package/browser/chunk-KHDUUG2S.js +1 -0
- package/browser/chunk-KHFL6T5N.js +33 -0
- package/browser/chunk-KJROORJO.js +3 -0
- package/browser/chunk-KLKZQABE.js +1 -0
- package/browser/chunk-L6YGMZJK.js +1 -0
- package/browser/chunk-LBIXL2NM.js +5 -0
- package/browser/chunk-LBWSX76J.js +1 -0
- package/browser/chunk-LC5JP6E6.js +1 -0
- package/browser/{chunk-DAIHPIA2.js → chunk-LIH722A3.js} +1 -1
- package/browser/chunk-LLXEUJDC.js +1 -0
- package/browser/chunk-LPD3H6QQ.js +1 -0
- package/browser/{chunk-OKIBXXRJ.js → chunk-LQDIK5ZH.js} +1 -1
- package/browser/{chunk-XA6BOS45.js → chunk-M5IOFMBZ.js} +1 -1
- package/browser/chunk-M67ULXNR.js +2 -0
- package/browser/chunk-M6PA26FM.js +1 -0
- package/browser/chunk-M6UB4WVK.js +1 -0
- package/browser/chunk-MCPXNQRW.js +5 -0
- package/browser/chunk-MIW5EYCH.js +1 -0
- package/browser/chunk-MJV24UTS.js +3 -0
- package/browser/{chunk-SGFSKIUE.js → chunk-MLFDP74G.js} +1 -1
- package/browser/chunk-MSSTCYNC.js +1 -0
- package/browser/chunk-MVCDG4KS.js +14 -0
- package/browser/chunk-NBMH5YL2.css +1 -0
- package/browser/chunk-NCXT27M5.js +1 -0
- package/browser/chunk-NE57UXZU.js +1 -0
- package/browser/chunk-NEJRKLYO.js +1 -0
- package/browser/{chunk-TSEZZNO5.js → chunk-NJOOFJNE.js} +1 -1
- package/browser/chunk-NSNUUKNK.js +1 -0
- package/browser/chunk-NUVM5VMH.js +1 -0
- package/browser/{chunk-XZR3IMWZ.js → chunk-NWBLFLVC.js} +1 -1
- package/browser/{chunk-57Q3ENW2.js → chunk-NYTOBW2G.js} +1 -1
- package/browser/chunk-ODEK2WQO.js +137 -0
- package/browser/chunk-ODGFQ7QJ.js +1 -0
- package/browser/{chunk-APF7PDRI.js → chunk-OIMBKUXO.js} +1 -1
- package/browser/{chunk-XQ6JBIMX.js → chunk-OLC5OIWO.js} +1 -1
- package/browser/chunk-ORP2SVPR.js +1 -0
- package/browser/chunk-OVSWMLB3.js +1 -0
- package/browser/chunk-OYNVXKZ3.js +257 -0
- package/browser/{chunk-6ABP4TP7.js → chunk-P3BUVJKX.js} +1 -1
- package/browser/chunk-PF3TLOCL.js +1 -0
- package/browser/chunk-PHWHZQFM.js +1 -0
- package/browser/chunk-PO2OKV6Q.js +1 -0
- package/browser/chunk-PRROMENK.js +1 -0
- package/browser/chunk-PT3R3NCF.js +1 -0
- package/browser/chunk-PVSXCHI3.js +1 -0
- package/browser/chunk-PY3PDRRW.js +5 -0
- package/browser/chunk-PZVPROT6.js +22 -0
- package/browser/chunk-Q2GPSDAM.js +112 -0
- package/browser/chunk-Q32BQBU5.js +2 -0
- package/browser/chunk-Q5FKQWU2.js +149 -0
- package/browser/chunk-Q7YUJXQP.js +1 -0
- package/browser/chunk-QBNQANTG.js +24 -0
- package/browser/{chunk-VHAM2DWK.js → chunk-QNJH27F5.js} +1 -1
- package/browser/chunk-QOTJ7B7C.js +1 -0
- package/browser/chunk-R4K5X4RE.js +1 -0
- package/browser/chunk-RCMYO542.js +1 -0
- package/browser/chunk-RHVNZ2DF.js +11 -0
- package/browser/{chunk-B5VF422M.js → chunk-RINV4BX7.js} +1 -1
- package/browser/chunk-RJJZC7JC.js +1 -0
- package/browser/chunk-RUE7RBU6.js +1 -0
- package/browser/chunk-S6FVFOZM.js +1 -0
- package/browser/{chunk-4JM455M6.js → chunk-SII6VICE.js} +1 -1
- package/browser/chunk-SLDIBIUY.js +1 -0
- package/browser/chunk-SNAKHGZS.js +1 -0
- package/browser/chunk-SQVN35HO.js +1 -0
- package/browser/chunk-SUP23S2E.js +209 -0
- package/browser/{chunk-6PWFGFWQ.js → chunk-SWQE65GY.js} +1 -1
- package/browser/chunk-SZ24MNHM.js +1 -0
- package/browser/chunk-SZDTKNUH.js +1 -0
- package/browser/chunk-T4K6XBGC.js +2 -0
- package/browser/chunk-T4MVTLYE.js +1 -0
- package/browser/chunk-TEH7D4QV.js +1 -0
- package/browser/chunk-TIBTGPW2.js +2 -0
- package/browser/chunk-TKJUJYEI.js +1095 -0
- package/browser/chunk-TKZU227J.js +1 -0
- package/browser/chunk-TQZVYC7J.js +1 -0
- package/browser/chunk-TW3MVM2R.js +2 -0
- package/browser/chunk-TY7JJASH.js +7 -0
- package/browser/chunk-UAOWLJEF.js +2 -0
- package/browser/chunk-UARWMJ5H.js +2 -0
- package/browser/chunk-UAVXXCN2.js +1 -0
- package/browser/chunk-UZMFXHQD.js +2 -0
- package/browser/chunk-V2PGBJHJ.js +4 -0
- package/browser/chunk-V432I4ZE.js +21 -0
- package/browser/chunk-VJQA5UAH.js +1 -0
- package/browser/chunk-WFIKDWZE.js +1 -0
- package/browser/chunk-WFMAM73Y.js +1 -0
- package/browser/chunk-WGBW2YLG.js +2 -0
- package/browser/chunk-WGWBCLKM.js +1 -0
- package/browser/{chunk-YNDNTAII.js → chunk-WIYO452T.js} +1 -1
- package/browser/chunk-WOMVTVEQ.js +2 -0
- package/browser/{chunk-C2KD7R6L.js → chunk-WPKJOXVT.js} +1 -1
- package/browser/chunk-WPTBNQ2V.js +1 -0
- package/browser/chunk-WR3A6SD3.js +18 -0
- package/browser/{chunk-YZHVQD5P.js → chunk-WSFK2BTV.js} +1 -1
- package/browser/chunk-WT6PMWGG.js +1 -0
- package/browser/chunk-WVCZAPRZ.js +1 -0
- package/browser/chunk-X34LKMFX.js +5 -0
- package/browser/chunk-XDJAJP7W.js +1 -0
- package/browser/chunk-XF27FA5V.js +1 -0
- package/browser/{chunk-K7KRPIN7.js → chunk-XLE4M4WS.js} +1 -1
- package/browser/chunk-XOOFBNDP.js +1 -0
- package/browser/{chunk-42T2PR4J.js → chunk-XYHPCRIZ.js} +1 -1
- package/browser/{chunk-WO3LDDSF.js → chunk-Y3BA3YGC.js} +1 -1
- package/browser/{chunk-TLJ2NGVG.js → chunk-Y5GN5XOG.js} +1 -1
- package/browser/chunk-YBLSVIMZ.js +1 -0
- package/browser/chunk-YFMVQJRL.js +14 -0
- package/browser/{chunk-WEQFFBAF.js → chunk-YNRHLKM5.js} +1 -1
- package/browser/chunk-YX5ADQPF.js +152 -0
- package/browser/chunk-Z4NZP4NH.js +1 -0
- package/browser/chunk-ZDX5LF2K.js +507 -0
- package/browser/{chunk-EWZ63XSS.js → chunk-ZGPKGJBM.js} +1 -1
- package/browser/{chunk-7CMBWKFF.js → chunk-ZHTSXEVO.js} +1 -1
- package/browser/chunk-ZJ4AGOKX.js +1 -0
- package/browser/{chunk-AER2U57P.js → chunk-ZKQFRAZ2.js} +1 -1
- package/browser/chunk-ZOPOSPVC.js +90 -0
- package/browser/chunk-ZRAK4HYU.js +1 -0
- package/browser/chunk-ZRNGBR7A.js +3 -0
- package/browser/chunk-ZWPJWDYN.js +1 -0
- package/browser/index.html +2 -2
- package/browser/main-H2XKB5YR.js +3 -0
- package/browser/main-WPNH2WGQ.css +1 -0
- package/browser/polyfills-KVI7ACYJ.js +2 -0
- package/browser/scripts-Z64TTWXD.js +10 -0
- package/browser/styles-CA5KWC36.css +1 -0
- package/package.json +1 -1
- package/browser/chunk-23PJKOTU.js +0 -108
- package/browser/chunk-2FWXO7SV.js +0 -1
- package/browser/chunk-2HUEFC2T.js +0 -1
- package/browser/chunk-2KCCP5UQ.js +0 -1
- package/browser/chunk-2OWHEMAL.js +0 -671
- package/browser/chunk-2PX7ZCAH.js +0 -231
- package/browser/chunk-2YDEXJE5.js +0 -2
- package/browser/chunk-35WLGG74.js +0 -1
- package/browser/chunk-3AW2HE63.js +0 -1
- package/browser/chunk-3CUWPIMQ.js +0 -2
- package/browser/chunk-3GOO5E5D.js +0 -33
- package/browser/chunk-3LBZDIW2.js +0 -1
- package/browser/chunk-3PTKHKTZ.js +0 -82
- package/browser/chunk-3YKVLHZG.js +0 -7
- package/browser/chunk-476U7URX.js +0 -5
- package/browser/chunk-4G344XSZ.js +0 -1
- package/browser/chunk-4NHG4RRM.js +0 -1
- package/browser/chunk-4PPRFE5H.js +0 -1
- package/browser/chunk-4QQTEPQT.js +0 -51
- package/browser/chunk-4TW7XHFP.js +0 -1
- package/browser/chunk-4UYZJCFI.js +0 -5
- package/browser/chunk-5HX73JZ3.js +0 -1
- package/browser/chunk-5JJSLRVS.js +0 -70
- package/browser/chunk-5QXTT2Q4.js +0 -1
- package/browser/chunk-5YRS6BWA.js +0 -2
- package/browser/chunk-6647Y35T.js +0 -3
- package/browser/chunk-6CWGCLY5.js +0 -3
- package/browser/chunk-6JAL37Y4.js +0 -93
- package/browser/chunk-6SNK3MMW.js +0 -1
- package/browser/chunk-7DCB7DB2.js +0 -1
- package/browser/chunk-7J36T25H.js +0 -1
- package/browser/chunk-7NGYBSTA.js +0 -127
- package/browser/chunk-7QWJJPNG.js +0 -1
- package/browser/chunk-7V7QIPRV.js +0 -1
- package/browser/chunk-7WKHBXTJ.js +0 -1
- package/browser/chunk-A4HMT7IS.js +0 -16
- package/browser/chunk-AJLKESQV.js +0 -1
- package/browser/chunk-ALNSA73T.js +0 -1
- package/browser/chunk-ARKU4MG5.js +0 -140
- package/browser/chunk-B5SDXVDR.js +0 -1
- package/browser/chunk-B6LPY2IZ.js +0 -2
- package/browser/chunk-BBGWXLHJ.js +0 -1
- package/browser/chunk-BMMZ2W3C.js +0 -1
- package/browser/chunk-BQOD2C6M.js +0 -1
- package/browser/chunk-BSQJETW6.js +0 -1
- package/browser/chunk-BX366TSG.js +0 -1
- package/browser/chunk-BXQFYW4R.js +0 -1
- package/browser/chunk-C2W6JXEB.js +0 -3
- package/browser/chunk-C6DVD3VG.js +0 -1
- package/browser/chunk-CM4CUWDT.js +0 -1
- package/browser/chunk-CN4B6FUG.js +0 -1
- package/browser/chunk-CSQD5JSK.js +0 -1
- package/browser/chunk-CWITQVZH.js +0 -1
- package/browser/chunk-CXTL5YYJ.js +0 -2
- package/browser/chunk-DEBIFZGN.js +0 -1
- package/browser/chunk-DEVO5OTP.js +0 -1
- package/browser/chunk-E4DPE3J5.js +0 -1
- package/browser/chunk-ECOW7JD7.js +0 -5
- package/browser/chunk-EDXMXTEK.js +0 -1
- package/browser/chunk-EEEAUYZ6.js +0 -193
- package/browser/chunk-ENVG4BZI.js +0 -105
- package/browser/chunk-EOVI4KWG.js +0 -2
- package/browser/chunk-F4F5V5CZ.js +0 -4
- package/browser/chunk-FA4ADELT.js +0 -1
- package/browser/chunk-FHMDB7MQ.js +0 -1
- package/browser/chunk-FIHWJAIR.js +0 -2
- package/browser/chunk-FKDZ5OWB.js +0 -297
- package/browser/chunk-FP4HFB5J.js +0 -1
- package/browser/chunk-FRDFUCRO.js +0 -2
- package/browser/chunk-G454AF6P.js +0 -1
- package/browser/chunk-G6USNHW7.js +0 -1
- package/browser/chunk-GBQSPBVZ.js +0 -1
- package/browser/chunk-GIDGCFLX.js +0 -5
- package/browser/chunk-GV2PUDWZ.js +0 -3
- package/browser/chunk-GYNHYLZQ.js +0 -1
- package/browser/chunk-H3OZSV6V.js +0 -11
- package/browser/chunk-H7F34T25.js +0 -17
- package/browser/chunk-HKJLMHAD.js +0 -1
- package/browser/chunk-HKZQN5TX.js +0 -14
- package/browser/chunk-HOM424UE.js +0 -1
- package/browser/chunk-HT35KHLT.js +0 -1
- package/browser/chunk-HWEYOOFD.js +0 -1
- package/browser/chunk-IAZFUBFX.js +0 -1
- package/browser/chunk-IHFA5AEL.js +0 -1
- package/browser/chunk-IOJ4YVHD.js +0 -397
- package/browser/chunk-IQHU4MKW.js +0 -1
- package/browser/chunk-IQQGAD2W.js +0 -222
- package/browser/chunk-JLXCN2NR.js +0 -1
- package/browser/chunk-JOXTERIM.js +0 -2
- package/browser/chunk-JUTITMC7.js +0 -18
- package/browser/chunk-JXYRDQVO.js +0 -22
- package/browser/chunk-K4LAZCXZ.js +0 -3
- package/browser/chunk-KHILQH3P.js +0 -1
- package/browser/chunk-KKRF45KI.js +0 -141
- package/browser/chunk-KTCV3KOE.js +0 -30
- package/browser/chunk-KWTU2B2D.js +0 -1
- package/browser/chunk-KXCEORNJ.js +0 -1
- package/browser/chunk-KZDE63UL.js +0 -1
- package/browser/chunk-L7RHCBKX.js +0 -1
- package/browser/chunk-L7YSVT7G.js +0 -1
- package/browser/chunk-LE3BKIDY.js +0 -15
- package/browser/chunk-LFGL4ACG.css +0 -1
- package/browser/chunk-LI2NYODY.js +0 -1
- package/browser/chunk-LMJVRREP.js +0 -180
- package/browser/chunk-LVYO35LX.js +0 -1
- package/browser/chunk-M3HHWYKD.js +0 -1
- package/browser/chunk-M4TPGDOJ.js +0 -21
- package/browser/chunk-M5PJHCX4.js +0 -1
- package/browser/chunk-MFCXEITE.js +0 -2
- package/browser/chunk-MPSML3FA.js +0 -1
- package/browser/chunk-MUJ6277G.js +0 -5
- package/browser/chunk-NRYWKVQ2.js +0 -1
- package/browser/chunk-NVWJ6HZD.js +0 -1
- package/browser/chunk-OISKO6QJ.js +0 -1
- package/browser/chunk-PANAC2WS.js +0 -24
- package/browser/chunk-PD445FIT.js +0 -1
- package/browser/chunk-PIYM2FOP.js +0 -1
- package/browser/chunk-PQDYHLJ2.js +0 -1
- package/browser/chunk-Q4CKRRGM.js +0 -430
- package/browser/chunk-QHBWVJIQ.js +0 -1
- package/browser/chunk-QHGWF2RX.js +0 -1
- package/browser/chunk-QXU66IK7.js +0 -1
- package/browser/chunk-RABEENVP.js +0 -6
- package/browser/chunk-RF2OEHPO.js +0 -285
- package/browser/chunk-RFO7MTFT.js +0 -2
- package/browser/chunk-RHUDY63D.js +0 -4
- package/browser/chunk-RMOQAAKS.js +0 -5
- package/browser/chunk-RVXZOIFQ.js +0 -1
- package/browser/chunk-RW4LIELV.js +0 -1
- package/browser/chunk-RX7JS4CO.js +0 -1
- package/browser/chunk-S22XRS4J.js +0 -1
- package/browser/chunk-S2QC3PGR.js +0 -112
- package/browser/chunk-S5ZMZ6ZK.js +0 -1
- package/browser/chunk-SEFALU4U.js +0 -1
- package/browser/chunk-SJPYABFR.js +0 -2
- package/browser/chunk-SMZ4VMLX.js +0 -1
- package/browser/chunk-SRRURHLT.js +0 -9
- package/browser/chunk-SVV5ZTGZ.js +0 -1
- package/browser/chunk-T6WJAS3H.js +0 -1
- package/browser/chunk-TAVO3B4U.js +0 -1
- package/browser/chunk-TGFYFTBV.js +0 -1
- package/browser/chunk-TMADIQOR.js +0 -1
- package/browser/chunk-U6TUYK6J.js +0 -1
- package/browser/chunk-UBWKI2NL.js +0 -158
- package/browser/chunk-UMDNTO5M.js +0 -1
- package/browser/chunk-UO2JNN6O.js +0 -3
- package/browser/chunk-USUWU5NE.js +0 -1
- package/browser/chunk-UXRO4UFY.js +0 -8
- package/browser/chunk-V26H2UIF.js +0 -947
- package/browser/chunk-V2LFW5D3.js +0 -1
- package/browser/chunk-V5ZK5RT7.js +0 -178
- package/browser/chunk-V7UEUV6F.js +0 -2
- package/browser/chunk-VFTGIP5A.js +0 -78
- package/browser/chunk-VIJLHA7Q.js +0 -1
- package/browser/chunk-VIPGZJM3.js +0 -1
- package/browser/chunk-VQBXUZ6U.js +0 -2
- package/browser/chunk-VZEPVRCY.js +0 -5
- package/browser/chunk-W5U5OOLP.js +0 -57
- package/browser/chunk-WAMC5CEY.js +0 -1
- package/browser/chunk-WLGAEGPV.js +0 -1
- package/browser/chunk-WQDFMYT7.js +0 -449
- package/browser/chunk-WQDUNDSA.js +0 -1
- package/browser/chunk-WXQELZWQ.js +0 -1
- package/browser/chunk-XBRBYCWJ.js +0 -2
- package/browser/chunk-XDINGYNX.js +0 -2
- package/browser/chunk-XJ7SOVB2.js +0 -2
- package/browser/chunk-XKUQPHUA.js +0 -1
- package/browser/chunk-XPZUZ5XJ.js +0 -1
- package/browser/chunk-XYB3YDKL.js +0 -2
- package/browser/chunk-XZELBTQR.js +0 -94
- package/browser/chunk-Y75LR4GR.js +0 -1
- package/browser/chunk-YAFVFDTG.js +0 -156
- package/browser/chunk-YEAPJ2OC.js +0 -1
- package/browser/chunk-YEDKRNXU.js +0 -1
- package/browser/chunk-YRGGDRUH.js +0 -25
- package/browser/chunk-Z65FTA7V.js +0 -1
- package/browser/chunk-ZHY3BUQJ.js +0 -3
- package/browser/chunk-ZVDY66SR.js +0 -1
- package/browser/chunk-ZZGSAFGO.js +0 -1
- package/browser/chunk-ZZYILM3B.js +0 -1
- package/browser/main-GH4LELYQ.js +0 -3
- package/browser/main-YYIZ54AR.css +0 -1
- package/browser/polyfills-22A7LMHG.js +0 -2
- package/browser/scripts-3E2G6IZ4.js +0 -10
- package/browser/styles-NK7HCBOK.css +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{Eb as e,Fb as t,Gb as m,Oc as s,Wa as a,bc as n,dc as r,fb as d}from"./chunk-LBIXL2NM.js";var l=class i{role=s();static \u0275fac=function(o){return new(o||i)};static \u0275cmp=d({type:i,selectors:[["unauthorized-ui"]],inputs:{role:[1,"role"]},decls:11,vars:1,consts:[[1,"d-flex","align-items-center","justify-content-center","mt-6","w-100"],[1,"text-center"],["src","https://res.cloudinary.com/pos/image/upload/v1702547639/POS/Images/Dashboard/locked.svg",2,"width","130px"],[1,"mt-2","mb-6"],[1,"fw-bold"]],template:function(o,c){o&1&&(e(0,"div",0)(1,"div",1)(2,"div"),m(3,"img",2),t(),e(4,"h2",3),n(5,"You are not authorized"),t(),e(6,"p"),n(7," This page requires role "),e(8,"span",4),n(9),t(),n(10," to be accessed. Please contact your Administrator to gain access! "),t()()()),o&2&&(a(9),r("[",c.role(),"]"))},encapsulation:2})};export{l as a};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{Ab as x,Ac as u,Bb as a,Bc as g,Cb as o,Db as _,Kb as b,Mb as f,Ob as c,Wa as n,Xa as d,bc as l,cc as w,dc as C,ed as h,fb as D,lb as T,nd as I,qd as E,ta as s,tb as v,ua as m,vb as P}from"./chunk-LBIXL2NM.js";function y(e,p){if(e&1){let t=b();a(0,"span",6),f("click",function(){s(t);let r=c();return m(r.onFetchTotalData())}),a(1,"i",7),l(2,"?"),o()()}}function N(e,p){if(e&1&&(a(0,"span"),l(1),u(2,"number"),o()),e&2){let t=c();n(),w(g(2,1,t.totalData))}}function F(e,p){if(e&1){let t=b();a(0,"div",5)(1,"a",8),f("click",function(){s(t);let r=c();return m(r.onNextPage())}),_(2,"i",9),l(3," Next"),o(),a(4,"a",10),f("click",function(){s(t);let r=c();return m(r.onConcatAllData())}),_(5,"i",11),l(6," Show All"),o()()}}var k=class e{fetchTotalData=new d;nextPage=new d;concatAllData=new d;nextPageDisabled=!1;pageNumber=1;totalData=0;totalCurrentRow=0;isFetchTotalData=!1;goToLast=!1;onFetchTotalData(){this.fetchTotalData.emit()}onNextPage(){this.nextPage.emit()}onConcatAllData(){this.concatAllData.emit()}static \u0275fac=function(t){return new(t||e)};static \u0275cmp=D({type:e,selectors:[["infinite-pagination"]],inputs:{nextPageDisabled:"nextPageDisabled",pageNumber:"pageNumber",totalData:"totalData",totalCurrentRow:"totalCurrentRow",isFetchTotalData:"isFetchTotalData",goToLast:"goToLast"},outputs:{fetchTotalData:"fetchTotalData",nextPage:"nextPage",concatAllData:"concatAllData"},decls:10,vars:9,consts:[[1,"d-flex","justify-content-between","mt-5"],[1,"me-auto","d-sm-block","collapse","mt-3"],[1,"fw-bold","fst-italic","hidden-xxs"],["style","cursor: pointer",3,"click",4,"ngIf"],[4,"ngIf"],[1,"btn-group"],[2,"cursor","pointer",3,"click"],["matTooltipPosition","above","matTooltip","Retrieve rows count",1,"border","p-3"],["role","button","matTooltipPosition","above","matTooltip","Load next page",1,"btn","btn-outline-secondary","btn-sm","text-primary",3,"click"],[1,"fa-solid","fa-arrow-right"],["role","button","matTooltipPosition","above","matTooltip","Load all products",1,"btn","btn-outline-secondary","btn-sm","text-primary",3,"click"],[1,"fa-solid","fa-share"]],template:function(t,i){t&1&&(a(0,"div",0)(1,"div",1)(2,"div",2),l(3),u(4,"number"),T(5,y,3,0,"span",3)(6,N,3,3,"span",4),l(7),u(8,"number"),o()(),v(9,F,7,0,"div",5),o()),t&2&&(n(3),C(" Showing 1 - ",g(4,5,i.totalCurrentRow)," of "),n(2),x("ngIf",!i.isFetchTotalData),n(),x("ngIf",i.isFetchTotalData),n(),C(" records ~ ",g(8,7,i.pageNumber)," Page "),n(2),P(!i.nextPageDisabled&&!i.goToLast?9:-1))},dependencies:[E,h,I],encapsulation:2})};export{k as a};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{b as mt}from"./chunk-
|
|
1
|
+
import{b as mt}from"./chunk-ODGFQ7QJ.js";import{la as dt}from"./chunk-LBIXL2NM.js";import{a as We,b as ut,k as at}from"./chunk-SNAKHGZS.js";function L(){}var Ge=e=>e;function pt(e,t){for(let n in t)e[n]=t[n];return e}function Mt(e){return e()}function Y(e){e.forEach(Mt)}function Ye(e){return typeof e=="function"}function oe(e,t){return e!=e?t==t:e!==t}function Rt(e){return Object.keys(e).length===0}function At(e,...t){if(e==null)return L;let n=e.subscribe(...t);return n.unsubscribe?()=>n.unsubscribe():n}function me(e,t,n){e.$$.on_destroy.push(At(t,n))}function $e(e){return e&&Ye(e.destroy)?e.destroy:L}var Qe=()=>globalThis.performance.now(),xe=e=>requestAnimationFrame(e),ge=new Set;function Et(e){ge.forEach(t=>{t.c(e)||(ge.delete(t),t.f())}),ge.size!==0&&xe(Et)}function et(e){let t;return ge.size===0&&xe(Et),{promise:new Promise(n=>{ge.add(t={c:e,f:n})}),abort(){ge.delete(t)}}}function he(e,t){e.appendChild(t)}function C(e,t,n){e.insertBefore(t,n||null)}function S(e){e.parentNode.removeChild(e)}function $(e){return document.createElement(e)}function Nt(e){return document.createTextNode(e)}function Ee(){return Nt("")}function N(e,t,n,i){return e.addEventListener(t,n,i),()=>e.removeEventListener(t,n,i)}function I(e,t,n){n==null?e.removeAttribute(t):e.getAttribute(t)!==n&&e.setAttribute(t,n)}function E(e,t,n,i){n===null?e.style.removeProperty(t):e.style.setProperty(t,n)}function R(e,t,n){e.classList[n?"add":"remove"](t)}function Yt(e,t,n=!1){let i=document.createEvent("CustomEvent");return i.initCustomEvent(e,n,!1,t),i}var pe,tt=0,Ze={};function Pt(e,t,n,i,o,r,s,c=0){let l=16.666/i,f=`{
|
|
2
2
|
`;for(let a=0;a<=1;a+=l){let p=t+(n-t)*r(a);f+=a*100+`%{${s(p,1-p)}}
|
|
3
3
|
`}let d=f+`100% {${s(n,1-n)}}
|
|
4
4
|
}`,u=`_bp_${Math.round(Math.random()*1e9)}_${c}`;if(!Ze[u]){if(!pe){let a=$("style");document.head.appendChild(a),pe=a.sheet}Ze[u]=!0,pe.insertRule(`@keyframes ${u} ${d}`,pe.cssRules.length)}let g=e.style.animation||"";return e.style.animation=`${g?`${g}, `:""}${u} ${i}ms linear ${o}ms 1 both`,tt+=1,u}function qe(e,t){e.style.animation=(e.style.animation||"").split(", ").filter(t?n=>n.indexOf(t)<0:n=>n.indexOf("_bp")===-1).join(", "),t&&!--tt&&Xt()}function Xt(){xe(()=>{if(tt)return;let e=pe.cssRules.length;for(;e--;)pe.deleteRule(e);Ze={}})}var nt;function Ie(e){nt=e}var ze=[],gt=[],Oe=[],ht=[],Wt=Promise.resolve(),je=!1;function Ft(){je||(je=!0,Wt.then($t))}function ee(e){Oe.push(e)}var Fe=new Set,Le=0;function $t(){let e=nt;do{for(;Le<ze.length;){let t=ze[Le];Le++,Ie(t),Bt(t.$$)}for(Ie(null),ze.length=0,Le=0;gt.length;)gt.pop()();for(let t=0;t<Oe.length;t+=1){let n=Oe[t];Fe.has(n)||(Fe.add(n),n())}Oe.length=0}while(ze.length);for(;ht.length;)ht.pop()();je=!1,Fe.clear(),Ie(e)}function Bt(e){if(e.fragment!==null){e.update(),Y(e.before_update);let t=e.dirty;e.dirty=[-1],e.fragment&&e.fragment.p(e.ctx,t),e.after_update.forEach(ee)}}var Te;function Dt(){return Te||(Te=Promise.resolve(),Te.then(()=>{Te=null})),Te}function Ae(e,t,n){e.dispatchEvent(Yt(`${t?"intro":"outro"}${n}`))}var Re=new Set,U;function te(){U={r:0,c:[],p:U}}function ne(){U.r||Y(U.c),U=U.p}function v(e,t){e&&e.i&&(Re.delete(e),e.i(t))}function P(e,t,n,i){if(e&&e.o){if(Re.has(e))return;Re.add(e),U.c.push(()=>{Re.delete(e),i&&(n&&e.d(1),i())}),e.o(t)}}var Ct={duration:0};function St(e,t,n){let i=t(e,n),o=!1,r,s,c=0;function l(){r&&qe(e,r)}function f(){let{delay:u=0,duration:g=300,easing:a=Ge,tick:p=L,css:h}=i||Ct;h&&(r=Pt(e,0,1,g,u,a,h,c++)),p(0,1);let k=Qe()+u,H=k+g;s&&s.abort(),o=!0,ee(()=>Ae(e,!0,"start")),s=et(X=>{if(o){if(X>=H)return p(1,0),Ae(e,!0,"end"),l(),o=!1;if(X>=k){let y=a((X-k)/g);p(y,1-y)}}return o})}let d=!1;return{start(){d||(d=!0,qe(e),Ye(i)?(i=i(),Dt().then(f)):f())},invalidate(){d=!1},end(){o&&(l(),o=!1)}}}function _e(e,t,n){let i=t(e,n),o=!0,r,s=U;s.r+=1;function c(){let{delay:l=0,duration:f=300,easing:d=Ge,tick:u=L,css:g}=i||Ct;g&&(r=Pt(e,1,0,f,l,d,g));let a=Qe()+l,p=a+f;ee(()=>Ae(e,!1,"start")),et(h=>{if(o){if(h>=p)return u(0,1),Ae(e,!1,"end"),--s.r||Y(s.c),!1;if(h>=a){let k=d((h-a)/f);u(1-k,k)}}return o})}return Ye(i)?Dt().then(()=>{i=i(),c()}):c(),{end(l){l&&i.tick&&i.tick(1,0),o&&(r&&qe(e,r),o=!1)}}}function ke(e){e&&e.c()}function re(e,t,n,i){let{fragment:o,on_mount:r,on_destroy:s,after_update:c}=e.$$;o&&o.m(t,n),i||ee(()=>{let l=r.map(Mt).filter(Ye);s?s.push(...l):Y(l),e.$$.on_mount=[]}),c.forEach(ee)}function se(e,t){let n=e.$$;n.fragment!==null&&(Y(n.on_destroy),n.fragment&&n.fragment.d(t),n.on_destroy=n.fragment=null,n.ctx=[])}function Zt(e,t){e.$$.dirty[0]===-1&&(ze.push(e),Ft(),e.$$.dirty.fill(0)),e.$$.dirty[t/31|0]|=1<<t%31}function De(e,t,n,i,o,r,s,c=[-1]){let l=nt;Ie(e);let f=e.$$={fragment:null,ctx:null,props:r,update:L,not_equal:o,bound:{},on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(t.context||(l?l.$$.context:[])),callbacks:{},dirty:c,skip_bound:!1,root:t.target||l.$$.root};s&&s(f.root);let d=!1;f.ctx=n?n(e,t.props||{},(u,g,...a)=>{let p=a.length?a[0]:g;return f.ctx&&o(f.ctx[u],f.ctx[u]=p)&&(!f.skip_bound&&f.bound[u]&&f.bound[u](p),d&&Zt(e,u)),g}):[],f.update(),d=!0,Y(f.before_update),f.fragment=i?i(f.ctx):!1,t.target&&(f.fragment&&f.fragment.c(),re(e,t.target,t.anchor,t.customElement),$t()),Ie(l)}var ie=class{$destroy(){se(this,1),this.$destroy=L}$on(t,n){let i=this.$$.callbacks[t]||(this.$$.callbacks[t]=[]);return i.push(n),()=>{let o=i.indexOf(n);o!==-1&&i.splice(o,1)}}$set(t){this.$$set&&!Rt(t)&&(this.$$.skip_bound=!0,this.$$set(t),this.$$.skip_bound=!1)}};function it(e){let t=e-1;return t*t*t+1}function V(e,{delay:t=0,duration:n=400,easing:i=it,x:o=0,y:r=0,opacity:s=0}={}){let c=getComputedStyle(e),l=+c.opacity,f=c.transform==="none"?"":c.transform,d=l*(1-s);return{delay:t,duration:n,easing:i,css:(u,g)=>`
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{e as m}from"./chunk-
|
|
1
|
+
import{e as m}from"./chunk-ODGFQ7QJ.js";import{bb as r,ib as e,nd as o}from"./chunk-LBIXL2NM.js";var n=class a{constructor(t,i){this.fractionData=t;this.decimalPipe=i}transform(t){let i="1."+this.fractionData.amount.minimumFraction+"-"+this.fractionData.amount.maximumFraction;return this.decimalPipe.transform(t,i)}static \u0275fac=function(i){return new(i||a)(r(m,16),r(o,16))};static \u0275pipe=e({name:"amountFraction",type:a,pure:!0})};export{n as a};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as R,b as j}from"./chunk-
|
|
1
|
+
import{a as R,b as j}from"./chunk-2ILW7WWJ.js";import{u as N,v as U,w as $}from"./chunk-YFMVQJRL.js";import{e as E,f as I}from"./chunk-TY7JJASH.js";import{F as D,h as P,o as V}from"./chunk-PRROMENK.js";import{Ab as g,Bb as c,Ca as _,Cb as a,Jc as S,Kb as h,Mb as b,Ob as p,Wa as d,bc as l,bd as T,cc as f,dc as L,fb as C,pa as x,qd as A,sc as O,ta as m,tb as M,ua as s,vb as w,wb as v,yb as F,zb as y}from"./chunk-LBIXL2NM.js";import{a as u,b as k}from"./chunk-SNAKHGZS.js";var z=r=>({"bg-gradient-warning":r});function B(r,n){if(r&1){let e=h();c(0,"div",7)(1,"label",10)(2,"mat-checkbox",11),b("change",function(t){m(e);let i=p();return s(i.selectAll(t))}),c(3,"span",12),l(4,"Select All Users"),a(),c(5,"span",13),l(6),a()()()()}if(r&2){let e=p();d(6),L("",e.selectedUsers().length," selected")}}function G(r,n){if(r&1){let e=h();c(0,"div",14),b("click",function(){let t=m(e).$implicit,i=p();return s(i.onSelect(t))})("keydown.enter",function(){let t=m(e).$implicit,i=p();return s(i.onSelect(t))})("keydown.space",function(t){let i=m(e).$implicit;return p().onSelect(i),s(t.preventDefault())}),c(1,"mat-checkbox",15),b("change",function(){let t=m(e).$implicit,i=p();return s(i.onSelect(t))})("click",function(t){return m(e),s(t.stopPropagation())}),c(2,"span",16),l(3),a(),c(4,"span",17),l(5),a()()()}if(r&2){let e=n.$implicit;g("ngClass",O(4,z,e.Type===2)),d(),g("ngModel",e.check),d(2),f(e.LoginID),d(2),f(e.Email)}}var W=class r{data=x(I);dialogRef=x(E);modalConfig=new N;userAccess=_(this.data);selectedUsers=S(()=>this.userAccess().filter(n=>n.check));constructor(){this.modalConfig.title="Logout these Users",this.modalConfig.customWidth="400px",this.modalConfig.okText="Force Logout"}selectAll(n){let e=n.checked;this.userAccess.update(o=>o.map(t=>k(u({},t),{check:e})))}onSelect(n){this.userAccess.update(e=>e.map(o=>o===n?k(u({},o),{check:!o.check}):o))}onClose(){this.dialogRef.close()}onOk(){let n=this.userAccess().filter(e=>e.check);this.dialogRef.close(n)}static \u0275fac=function(e){return new(e||r)};static \u0275cmp=C({type:r,selectors:[["app-modal-confirm-force-logout"]],decls:17,vars:2,consts:[[3,"onCancel","onClose","onOk","config"],[1,"card","warning-banner","mb-0","p-0"],[1,"card-body","d-flex","justify-content-start","align-items-center","gap-4","p-6"],[1,"fs-2"],[1,"text-white"],[1,"warning-msg","mb-0","text-white","lh-sm","mt-2"],[1,"mt-8"],[1,"select-all-container"],["id","userList",1,"user-list","custom-scroll"],["role","button","tabindex","0",1,"user-item","pos-checkbox-green",3,"ngClass"],[1,"checkbox-container","pos-checkbox-green"],[3,"change"],[1,"select-all-label","fw-bold"],["id","selectedCount",1,"selected-count","ms-4"],["role","button","tabindex","0",1,"user-item","pos-checkbox-green",3,"click","keydown.enter","keydown.space","ngClass"],[1,"pos-checkbox-green",3,"change","click","ngModel"],[1,"fw-bold","d-block"],[1,"fw-normal","text-muted","small","d-block","mt-3"]],template:function(e,o){e&1&&(c(0,"modal-material",0),b("onCancel",function(){return o.onClose()})("onClose",function(){return o.onClose()})("onOk",function(){return o.onOk()}),c(1,"content")(2,"div",1)(3,"div",2)(4,"div")(5,"span",3),l(6," \u26A0\uFE0F "),a()(),c(7,"div")(8,"h5",4),l(9,"Warning: Forced Logout"),a(),c(10,"p",5),l(11," Selected users will be immediately logged out and their sessions terminated. "),a()()()(),c(12,"div",6),M(13,B,7,1,"div",7),c(14,"div",8),F(15,G,6,6,"div",9,v),a()()()()),e&2&&(g("config",o.modalConfig),d(13),w(o.userAccess().length>1?13:-1),d(2),y(o.userAccess()))},dependencies:[A,T,$,U,j,R,D,P,V],styles:[".custom-scroll[_ngcontent-%COMP%]::-webkit-scrollbar{width:6px}.custom-scroll[_ngcontent-%COMP%]::-webkit-scrollbar-track{background:#f1f1f1;border-radius:3px}.custom-scroll[_ngcontent-%COMP%]::-webkit-scrollbar-thumb{background:#89b03e;border-radius:3px}.custom-scroll[_ngcontent-%COMP%]::-webkit-scrollbar-thumb:hover{background:#7a9e37}ul[_ngcontent-%COMP%]{list-style-type:none}.warning-banner[_ngcontent-%COMP%]{background:linear-gradient(135deg,#ff6b6b,#ee5a52);color:#fff;padding:16px;box-shadow:0 4px 15px #ff6b6b4d}.select-all-container[_ngcontent-%COMP%]{background:#f8f9fa;padding:6px;border-radius:12px;margin-bottom:16px;border:2px solid #e9ecef;transition:all .3s ease}.select-all-container[_ngcontent-%COMP%]:hover{border-color:#89b03e;background:#f0f7e8}.selected-count[_ngcontent-%COMP%]{background:#89b03e;color:#fff;padding:4px 8px;border-radius:12px;font-size:12px;font-weight:600}.user-list[_ngcontent-%COMP%]{max-height:159px;overflow-y:auto;border:1px solid #e9ecef;border-radius:12px;background:#fff}.user-item[_ngcontent-%COMP%]{padding:6px;border-bottom:1px solid #f1f3f4;display:flex;align-items:center;gap:12px;transition:all .3s ease;cursor:pointer;min-height:52px}.user-item[_ngcontent-%COMP%]:last-child{border-bottom:none}.user-item[_ngcontent-%COMP%]:hover{background:#f8f9fa}.user-item.selected[_ngcontent-%COMP%]{background:#e8f5e8} .pos-checkbox-green .mat-checkbox.mat-accent .mat-checkbox-frame{border-color:#89b03e!important} .pos-checkbox-green .mat-checkbox-checked.mat-accent .mat-checkbox-frame{border-color:#89b03e!important} .pos-checkbox-green .mat-checkbox-checked.mat-accent .mat-checkbox-background{border-color:#89b03e!important;background-color:#89b03e!important} .pos-checkbox-green .mat-checkbox-ripple .mat-ripple-element{background-color:#89b03e!important} .pos-checkbox-green .mat-checkbox-frame, .pos-checkbox-green .mat-checkbox .mat-checkbox-frame{border-color:#89b03e!important} .pos-checkbox-green .mat-checkbox.mat-primary .mat-checkbox-frame{border-color:#89b03e!important} .pos-checkbox-green .mat-checkbox.mat-primary .mat-checkbox-background{background-color:#89b03e!important;border-color:#89b03e!important} .pos-checkbox-green .mat-ripple-element, .pos-checkbox-green .mat-checkbox .mat-ripple-element{background-color:#89b03e!important} .pos-checkbox-green .mat-mdc-checkbox .mdc-checkbox__background{background-color:transparent} .pos-checkbox-green .mat-mdc-checkbox.mat-mdc-checkbox-checked .mdc-checkbox__background, .pos-checkbox-green .mat-mdc-checkbox.mat-mdc-checkbox-checked .mdc-checkbox__mixedmark{background-color:#89b03e!important;color:#fff!important;border-color:#89b03e!important} .pos-checkbox-green .mat-mdc-checkbox.mat-mdc-checkbox-checked .mdc-checkbox__checkmark-path{stroke:#fff!important} .pos-checkbox-green .mat-mdc-checkbox .mat-mdc-checkbox-ripple .mat-ripple-element{background-color:#89b03e!important} .pos-checkbox-green .mat-mdc-checkbox.mat-primary .mdc-checkbox__background, .pos-checkbox-green .mat-primary .mdc-checkbox__background{border-color:#89b03e!important;background-color:#89b03e!important} .pos-checkbox-green .mat-mdc-checkbox .mdc-checkbox__native-control:checked~.mdc-checkbox__background{border-color:#89b03e!important;background-color:#89b03e!important} .pos-checkbox-green .mat-mdc-checkbox.mat-primary.mat-mdc-checkbox-checked .mdc-checkbox__checkmark-path{stroke:#fff!important}"]})};export{W as a};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a as L,c as q}from"./chunk-JHYJTTAR.js";import{F as O,G as W,c as j,h as B,o as H}from"./chunk-PRROMENK.js";import{Ab as s,Ac as V,Bb as o,Bc as k,Ca as w,Cb as l,Db as f,Kb as g,Mb as x,Ob as p,Wa as a,Xa as _,bb as N,bc as m,cc as S,dc as F,de as J,ec as b,ed as M,fb as h,gb as D,gc as A,hc as I,ic as T,lb as C,ma as P,nd as E,qd as R,ta as u,tb as v,ua as c,vb as y}from"./chunk-LBIXL2NM.js";function K(t,i){if(t&1&&(o(0,"span"),m(1),l()),t&2){let e=p();a(),b(" Showing ",e.pageData.Filter.PageNumber*e.total-e.total+1," - ",e.pageData.Filter.PageNumber*e.total," ")}}function Q(t,i){if(t&1&&(o(0,"span"),m(1),l()),t&2){let e=p();a(),b(" Showing ",e.pageData.Filter.RowCount*e.pageData.Filter.PageNumber-e.pageData.Filter.RowCount+1," - ",e.pageData.Filter.RowCount*e.pageData.Filter.PageNumber-e.pageData.Filter.RowCount+e.total," ")}}function U(t,i){if(t&1){let e=g();o(0,"span",8),x("click",function(){u(e);let r=p();return c(r.StoreRowsCountAPIResult())}),o(1,"i",9),m(2,"?"),l()()}}function X(t,i){if(t&1&&(o(0,"span"),m(1),V(2,"number"),l()),t&2){let e=p();a(),S(k(2,1,e.totalAllData()))}}function Y(t,i){if(t&1){let e=g();m(0," Page "),o(1,"input",10),x("keyup",function(r){u(e);let d=p();return c(d.onJumpToPage(r))}),T("ngModelChange",function(r){u(e);let d=p();return I(d.pageNumber,r)||(d.pageNumber=r),c(r)}),l()}if(t&2){let e=p();a(),A("ngModel",e.pageNumber)}}function Z(t,i){if(t&1&&m(0),t&2){let e=p();F(" ",e.pageNumber," Page ")}}function $(t,i){if(t&1){let e=g();o(0,"a",11),x("click",function(){u(e);let r=p();return c(r.onPreviousPage())}),f(1,"i",12),m(2," Previous"),l()}}function ee(t,i){if(t&1){let e=g();o(0,"a",11),x("click",function(){u(e);let r=p();return c(r.onNextPage())}),f(1,"i",13),m(2," Next"),l()}}var z=class t{constructor(i){this.httpService=i}editPageNumber=!0;pageData;total;api;nextButtonAlwaysVisible=!1;jumpToPage=new _;previousPage=new _;nextPage=new _;set _totalAllData(i){this.totalAllData.set(i)}totalAllData=w(-1);pageNumber=1;showingNumber=this.pageNumber;onJumpToPage(i){i.key==="Enter"&&(this.pageData.Filter.PageNumber=this.pageNumber,this.showingNumber=this.pageNumber,this.jumpToPage.emit())}onPreviousPage(){this.pageData.Filter.PageNumber-=1,this.pageNumber=this.pageData.Filter.PageNumber,this.showingNumber=this.pageNumber,this.previousPage.emit()}onNextPage(){this.pageData.Filter.PageNumber+=1,this.pageNumber=this.pageData.Filter.PageNumber,this.showingNumber=this.pageNumber,this.nextPage.emit()}StoreRowsCountAPIResult(){this.httpService.post("/api/"+this.api,this.pageData.Filter).subscribe(i=>{this.totalAllData.set(i.Count?i.Count:i)})}static \u0275fac=function(e){return new(e||t)(N(J))};static \u0275cmp=h({type:t,selectors:[["POS-complex-pagination"]],inputs:{editPageNumber:"editPageNumber",pageData:"pageData",total:"total",api:"api",nextButtonAlwaysVisible:"nextButtonAlwaysVisible",_totalAllData:[0,"totalAllData","_totalAllData"]},outputs:{jumpToPage:"jumpToPage",previousPage:"previousPage",nextPage:"nextPage"},standalone:!1,decls:15,vars:7,consts:[[1,"d-flex","justify-content-between","mt-5"],[1,"me-auto","d-sm-block","collapse","mt-3"],[1,"fw-bold","fst-italic","hidden-xxs"],[4,"ngIf"],[1,"me-2"],["style","cursor: pointer",3,"click",4,"ngIf"],[1,"btn-group"],["class","btn btn-outline-secondary btn-sm text-primary",3,"click",4,"ngIf"],[2,"cursor","pointer",3,"click"],[1,"border","p-3"],["type","text","autoNum","",1,"text-end",2,"width","45px",3,"keyup","ngModelChange","ngModel"],[1,"btn","btn-outline-secondary","btn-sm","text-primary",3,"click"],[1,"fa-solid","fa-arrow-left"],[1,"fa-solid","fa-arrow-right"]],template:function(e,n){e&1&&(o(0,"div",0)(1,"div",1)(2,"div",2),C(3,K,2,2,"span",3)(4,Q,2,2,"span",3),o(5,"span",4),m(6,"of"),l(),C(7,U,3,0,"span",5)(8,X,3,3,"span",3),m(9," records ~ "),v(10,Y,2,1)(11,Z,1,1),l()(),o(12,"div",6),C(13,$,3,0,"a",7)(14,ee,3,0,"a",7),l()()),e&2&&(a(3),s("ngIf",n.pageData.Filter.RowCount==n.total),a(),s("ngIf",n.pageData.Filter.RowCount!=n.total),a(3),s("ngIf",n.totalAllData()==-1),a(),s("ngIf",n.totalAllData()>0),a(2),y(n.editPageNumber?10:11),a(3),s("ngIf",n.pageData.Filter.PageNumber!=1),a(),s("ngIf",n.total>=n.pageData.Filter.RowCount||n.nextButtonAlwaysVisible))},dependencies:[M,j,B,H,q,E],encapsulation:2})},G=class t{static \u0275fac=function(e){return new(e||t)};static \u0275mod=D({type:t});static \u0275inj=P({imports:[R,O,W,L]})};export{z as a,G as b};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import{b as Mi,c as Ti}from"./chunk-HD6ETXDZ.js";import{O as et}from"./chunk-2525CDKJ.js";import{m as Fi}from"./chunk-TY7JJASH.js";import{A as re,B as vi,D as ut,E as Ze,G as Je,K as yi,L as xi,O as Ci,V as ht,W as Oi,Z as wi,b as pt,c as pi,d as fi,da as Si,f as ye,g as xe,h as ft,ha as ki,ia as Ei,j as ui,k as Ke,ka as ee,l as hi,la as Y,m as gi,q as Xe,r as bi,s as _i}from"./chunk-K2M625FR.js";import{a as Ye}from"./chunk-2FWFPV5I.js";import{G as mi,a as Ge,c as li,h as si,l as di,s as ci}from"./chunk-PRROMENK.js";import{a as ne}from"./chunk-ODGFQ7QJ.js";import{$ as Ne,Ab as f,Ba as Bt,Bb as d,Ca as He,Cb as c,D as he,Db as M,E as Q,Eb as Ee,Fb as Me,Gb as ct,Gc as ii,Ha as jt,I as p,J as At,Ja as A,Jb as je,Jc as Ue,K as st,Kb as U,Kc as Ie,Lb as se,M as Rt,Mb as w,N as ae,Ob as m,Oc as oi,P as Lt,Pb as Z,Pc as me,Q as Nt,Qa as dt,Qb as C,Qc as ni,Ra as Ut,Rb as q,Sb as I,Tb as _,U as Vt,Ub as v,Uc as pe,Vb as Xt,Wa as s,Wb as de,Wc as J,Xa as b,Xb as Te,Y as zt,Ya as j,Yb as Fe,Yc as ri,Za as qt,Zb as Zt,_a as Qt,_b as D,a as ue,aa as y,ab as Be,ac as ce,ae as We,bb as ke,bc as G,bd as qe,c as we,cc as oe,d as N,da as le,db as Wt,dc as Jt,de as $e,e as Se,ed as ai,fa as X,fb as E,gb as H,hb as R,id as ve,k as It,ka as Ve,la as ge,lb as ie,ma as z,mb as Gt,n as lt,na as F,nc as ei,o as V,oa as ze,p as u,pa as l,qc as $,qd as Qe,ra as Ht,rb as W,sc as _e,t as O,ta as S,tb as h,tc as mt,u as Dt,ua as k,vb as g,vc as ti,xa as be,xb as $t,y as Pt,yb as Yt,zb as Kt}from"./chunk-LBIXL2NM.js";import{a as P,b as Ft}from"./chunk-SNAKHGZS.js";var B=(function(n){return n[n.FADING_IN=0]="FADING_IN",n[n.VISIBLE=1]="VISIBLE",n[n.FADING_OUT=2]="FADING_OUT",n[n.HIDDEN=3]="HIDDEN",n})(B||{}),gt=class{_renderer;element;config;_animationForciblyDisabledThroughCss;state=B.HIDDEN;constructor(i,e,t,o=!1){this._renderer=i,this.element=e,this.config=t,this._animationForciblyDisabledThroughCss=o}fadeOut(){this._renderer.fadeOutRipple(this)}},Ii=ft({passive:!0,capture:!0}),bt=class{_events=new Map;addHandler(i,e,t,o){let r=this._events.get(e);if(r){let a=r.get(t);a?a.add(o):r.set(t,new Set([o]))}else this._events.set(e,new Map([[t,new Set([o])]])),i.runOutsideAngular(()=>{document.addEventListener(e,this._delegateEventHandler,Ii)})}removeHandler(i,e,t){let o=this._events.get(i);if(!o)return;let r=o.get(e);r&&(r.delete(t),r.size===0&&o.delete(e),o.size===0&&(this._events.delete(i),document.removeEventListener(i,this._delegateEventHandler,Ii)))}_delegateEventHandler=i=>{let e=Ke(i);e&&this._events.get(i.type)?.forEach((t,o)=>{(o===e||o.contains(e))&&t.forEach(r=>r.handleEvent(i))})}},Di={enterDuration:225,exitDuration:150},go=800,Pi=ft({passive:!0,capture:!0}),Ai=["mousedown","touchstart"],Ri=["mouseup","mouseleave","touchend","touchcancel"],bo=(()=>{class n{static \u0275fac=function(t){return new(t||n)};static \u0275cmp=E({type:n,selectors:[["ng-component"]],hostAttrs:["mat-ripple-style-loader",""],decls:0,vars:0,template:function(t,o){},styles:[`.mat-ripple{overflow:hidden;position:relative}.mat-ripple:not(:empty){transform:translateZ(0)}.mat-ripple.mat-ripple-unbounded{overflow:visible}.mat-ripple-element{position:absolute;border-radius:50%;pointer-events:none;transition:opacity,transform 0ms cubic-bezier(0, 0, 0.2, 1);transform:scale3d(0, 0, 0);background-color:var(--mat-ripple-color, color-mix(in srgb, var(--mat-sys-on-surface) 10%, transparent))}@media(forced-colors: active){.mat-ripple-element{display:none}}.cdk-drag-preview .mat-ripple-element,.cdk-drag-placeholder .mat-ripple-element{display:none}
|
|
2
|
+
`],encapsulation:2,changeDetection:0})}return n})(),_t=class n{_target;_ngZone;_platform;_containerElement;_triggerElement;_isPointerDown=!1;_activeRipples=new Map;_mostRecentTransientRipple;_lastTouchStartEvent;_pointerUpEventsRegistered=!1;_containerRect;static _eventManager=new bt;constructor(i,e,t,o,r){this._target=i,this._ngZone=e,this._platform=o,o.isBrowser&&(this._containerElement=pt(t)),r&&r.get(Xe).load(bo)}fadeInRipple(i,e,t={}){let o=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),r=P(P({},Di),t.animation);t.centered&&(i=o.left+o.width/2,e=o.top+o.height/2);let a=t.radius||_o(i,e,o),x=i-o.left,te=e-o.top,fe=r.enterDuration,T=document.createElement("div");T.classList.add("mat-ripple-element"),T.style.left=`${x-a}px`,T.style.top=`${te-a}px`,T.style.height=`${a*2}px`,T.style.width=`${a*2}px`,t.color!=null&&(T.style.backgroundColor=t.color),T.style.transitionDuration=`${fe}ms`,this._containerElement.appendChild(T);let Ae=window.getComputedStyle(T),Et=Ae.transitionProperty,Re=Ae.transitionDuration,Oe=Et==="none"||Re==="0s"||Re==="0s, 0s"||o.width===0&&o.height===0,K=new gt(this,T,t,Oe);T.style.transform="scale3d(1, 1, 1)",K.state=B.FADING_IN,t.persistent||(this._mostRecentTransientRipple=K);let Le=null;return!Oe&&(fe||r.exitDuration)&&this._ngZone.runOutsideAngular(()=>{let Mt=()=>{Le&&(Le.fallbackTimer=null),clearTimeout(Tt),this._finishRippleTransition(K)},at=()=>this._destroyRipple(K),Tt=setTimeout(at,fe+100);T.addEventListener("transitionend",Mt),T.addEventListener("transitioncancel",at),Le={onTransitionEnd:Mt,onTransitionCancel:at,fallbackTimer:Tt}}),this._activeRipples.set(K,Le),(Oe||!fe)&&this._finishRippleTransition(K),K}fadeOutRipple(i){if(i.state===B.FADING_OUT||i.state===B.HIDDEN)return;let e=i.element,t=P(P({},Di),i.config.animation);e.style.transitionDuration=`${t.exitDuration}ms`,e.style.opacity="0",i.state=B.FADING_OUT,(i._animationForciblyDisabledThroughCss||!t.exitDuration)&&this._finishRippleTransition(i)}fadeOutAll(){this._getActiveRipples().forEach(i=>i.fadeOut())}fadeOutAllNonPersistent(){this._getActiveRipples().forEach(i=>{i.config.persistent||i.fadeOut()})}setupTriggerEvents(i){let e=pt(i);!this._platform.isBrowser||!e||e===this._triggerElement||(this._removeTriggerEvents(),this._triggerElement=e,Ai.forEach(t=>{n._eventManager.addHandler(this._ngZone,t,e,this)}))}handleEvent(i){i.type==="mousedown"?this._onMousedown(i):i.type==="touchstart"?this._onTouchStart(i):this._onPointerUp(),this._pointerUpEventsRegistered||(this._ngZone.runOutsideAngular(()=>{Ri.forEach(e=>{this._triggerElement.addEventListener(e,this,Pi)})}),this._pointerUpEventsRegistered=!0)}_finishRippleTransition(i){i.state===B.FADING_IN?this._startFadeOutTransition(i):i.state===B.FADING_OUT&&this._destroyRipple(i)}_startFadeOutTransition(i){let e=i===this._mostRecentTransientRipple,{persistent:t}=i.config;i.state=B.VISIBLE,!t&&(!e||!this._isPointerDown)&&i.fadeOut()}_destroyRipple(i){let e=this._activeRipples.get(i)??null;this._activeRipples.delete(i),this._activeRipples.size||(this._containerRect=null),i===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),i.state=B.HIDDEN,e!==null&&(i.element.removeEventListener("transitionend",e.onTransitionEnd),i.element.removeEventListener("transitioncancel",e.onTransitionCancel),e.fallbackTimer!==null&&clearTimeout(e.fallbackTimer)),i.element.remove()}_onMousedown(i){let e=hi(i),t=this._lastTouchStartEvent&&Date.now()<this._lastTouchStartEvent+go;!this._target.rippleDisabled&&!e&&!t&&(this._isPointerDown=!0,this.fadeInRipple(i.clientX,i.clientY,this._target.rippleConfig))}_onTouchStart(i){if(!this._target.rippleDisabled&&!gi(i)){this._lastTouchStartEvent=Date.now(),this._isPointerDown=!0;let e=i.changedTouches;if(e)for(let t=0;t<e.length;t++)this.fadeInRipple(e[t].clientX,e[t].clientY,this._target.rippleConfig)}}_onPointerUp(){this._isPointerDown&&(this._isPointerDown=!1,this._getActiveRipples().forEach(i=>{let e=i.state===B.VISIBLE||i.config.terminateOnPointerUp&&i.state===B.FADING_IN;!i.config.persistent&&e&&i.fadeOut()}))}_getActiveRipples(){return Array.from(this._activeRipples.keys())}_removeTriggerEvents(){let i=this._triggerElement;i&&(Ai.forEach(e=>n._eventManager.removeHandler(e,i,this)),this._pointerUpEventsRegistered&&(Ri.forEach(e=>i.removeEventListener(e,this,Pi)),this._pointerUpEventsRegistered=!1))}};function _o(n,i,e){let t=Math.max(Math.abs(n-e.left),Math.abs(n-e.right)),o=Math.max(Math.abs(i-e.top),Math.abs(i-e.bottom));return Math.sqrt(t*t+o*o)}var vo=new F("mat-ripple-global-options"),Li=(()=>{class n{_elementRef=l(A);_animationsDisabled=ee();color;unbounded;centered;radius=0;animation;get disabled(){return this._disabled}set disabled(e){e&&this.fadeOutAllNonPersistent(),this._disabled=e,this._setupTriggerEventsIfEnabled()}_disabled=!1;get trigger(){return this._trigger||this._elementRef.nativeElement}set trigger(e){this._trigger=e,this._setupTriggerEventsIfEnabled()}_trigger;_rippleRenderer;_globalOptions;_isInitialized=!1;constructor(){let e=l(j),t=l(xe),o=l(vo,{optional:!0}),r=l(be);this._globalOptions=o||{},this._rippleRenderer=new _t(this,e,this._elementRef,t,r)}ngOnInit(){this._isInitialized=!0,this._setupTriggerEventsIfEnabled()}ngOnDestroy(){this._rippleRenderer._removeTriggerEvents()}fadeOutAll(){this._rippleRenderer.fadeOutAll()}fadeOutAllNonPersistent(){this._rippleRenderer.fadeOutAllNonPersistent()}get rippleConfig(){return{centered:this.centered,radius:this.radius,color:this.color,animation:P(P(P({},this._globalOptions.animation),this._animationsDisabled?{enterDuration:0,exitDuration:0}:{}),this.animation),terminateOnPointerUp:this._globalOptions.terminateOnPointerUp}}get rippleDisabled(){return this.disabled||!!this._globalOptions.disabled}_setupTriggerEventsIfEnabled(){!this.disabled&&this._isInitialized&&this._rippleRenderer.setupTriggerEvents(this.trigger)}launch(e,t=0,o){return typeof e=="number"?this._rippleRenderer.fadeInRipple(e,t,P(P({},this.rippleConfig),o)):this._rippleRenderer.fadeInRipple(0,0,P(P({},this.rippleConfig),e))}static \u0275fac=function(t){return new(t||n)};static \u0275dir=R({type:n,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(t,o){t&2&&D("mat-ripple-unbounded",o.unbounded)},inputs:{color:[0,"matRippleColor","color"],unbounded:[0,"matRippleUnbounded","unbounded"],centered:[0,"matRippleCentered","centered"],radius:[0,"matRippleRadius","radius"],animation:[0,"matRippleAnimation","animation"],disabled:[0,"matRippleDisabled","disabled"],trigger:[0,"matRippleTrigger","trigger"]},exportAs:["matRipple"]})}return n})();var Ni=(()=>{class n{static \u0275fac=function(t){return new(t||n)};static \u0275mod=H({type:n});static \u0275inj=z({imports:[Y,Y]})}return n})();var Vi=(()=>{class n{_animationsDisabled=ee();state="unchecked";disabled=!1;appearance="full";constructor(){}static \u0275fac=function(t){return new(t||n)};static \u0275cmp=E({type:n,selectors:[["mat-pseudo-checkbox"]],hostAttrs:[1,"mat-pseudo-checkbox"],hostVars:12,hostBindings:function(t,o){t&2&&D("mat-pseudo-checkbox-indeterminate",o.state==="indeterminate")("mat-pseudo-checkbox-checked",o.state==="checked")("mat-pseudo-checkbox-disabled",o.disabled)("mat-pseudo-checkbox-minimal",o.appearance==="minimal")("mat-pseudo-checkbox-full",o.appearance==="full")("_mat-animation-noopable",o._animationsDisabled)},inputs:{state:"state",disabled:"disabled",appearance:"appearance"},decls:0,vars:0,template:function(t,o){},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-pseudo-checkbox-minimal-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-pseudo-checkbox-minimal-disabled-selected-checkmark-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-pseudo-checkbox-full{border-color:var(--mat-pseudo-checkbox-full-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-pseudo-checkbox-full-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-pseudo-checkbox-full-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-pseudo-checkbox-full-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-pseudo-checkbox-full-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-pseudo-checkbox-full-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}
|
|
3
|
+
`],encapsulation:2,changeDetection:0})}return n})();var zi=(()=>{class n{static \u0275fac=function(t){return new(t||n)};static \u0275mod=H({type:n});static \u0275inj=z({imports:[Y]})}return n})();var Hi=(()=>{class n{static \u0275fac=function(t){return new(t||n)};static \u0275cmp=E({type:n,selectors:[["structural-styles"]],decls:0,vars:0,template:function(t,o){},styles:[`.mat-focus-indicator{position:relative}.mat-focus-indicator::before{top:0;left:0;right:0;bottom:0;position:absolute;box-sizing:border-box;pointer-events:none;display:var(--mat-focus-indicator-display, none);border-width:var(--mat-focus-indicator-border-width, 3px);border-style:var(--mat-focus-indicator-border-style, solid);border-color:var(--mat-focus-indicator-border-color, transparent);border-radius:var(--mat-focus-indicator-border-radius, 4px)}.mat-focus-indicator:focus::before{content:""}@media(forced-colors: active){html{--mat-focus-indicator-display: block}}
|
|
4
|
+
`],encapsulation:2,changeDetection:0})}return n})();var xo=["text"],Co=[[["mat-icon"]],"*"],Oo=["mat-icon","*"];function wo(n,i){if(n&1&&M(0,"mat-pseudo-checkbox",1),n&2){let e=m();f("disabled",e.disabled)("state",e.selected?"checked":"unchecked")}}function So(n,i){if(n&1&&M(0,"mat-pseudo-checkbox",3),n&2){let e=m();f("disabled",e.disabled)}}function ko(n,i){if(n&1&&(d(0,"span",4),G(1),c()),n&2){let e=m();s(),Jt("(",e.group.label,")")}}var yt=new F("MAT_OPTION_PARENT_COMPONENT"),xt=new F("MatOptgroup");var De=class{source;isUserInput;constructor(i,e=!1){this.source=i,this.isUserInput=e}},Ce=(()=>{class n{_element=l(A);_changeDetectorRef=l(pe);_parent=l(yt,{optional:!0});group=l(xt,{optional:!0});_signalDisableRipple=!1;_selected=!1;_active=!1;_mostRecentViewValue="";get multiple(){return this._parent&&this._parent.multiple}get selected(){return this._selected}value;id=l(re).getId("mat-option-");get disabled(){return this.group&&this.group.disabled||this._disabled()}set disabled(e){this._disabled.set(e)}_disabled=He(!1);get disableRipple(){return this._signalDisableRipple?this._parent.disableRipple():!!this._parent?.disableRipple}get hideSingleSelectionIndicator(){return!!(this._parent&&this._parent.hideSingleSelectionIndicator)}onSelectionChange=new b;_text;_stateChanges=new N;constructor(){let e=l(Xe);e.load(Hi),e.load(bi),this._signalDisableRipple=!!this._parent&&Bt(this._parent.disableRipple)}get active(){return this._active}get viewValue(){return(this._text?.nativeElement.textContent||"").trim()}select(e=!0){this._selected||(this._selected=!0,this._changeDetectorRef.markForCheck(),e&&this._emitSelectionChangeEvent())}deselect(e=!0){this._selected&&(this._selected=!1,this._changeDetectorRef.markForCheck(),e&&this._emitSelectionChangeEvent())}focus(e,t){let o=this._getHostElement();typeof o.focus=="function"&&o.focus(t)}setActiveStyles(){this._active||(this._active=!0,this._changeDetectorRef.markForCheck())}setInactiveStyles(){this._active&&(this._active=!1,this._changeDetectorRef.markForCheck())}getLabel(){return this.viewValue}_handleKeydown(e){(e.keyCode===13||e.keyCode===32)&&!ye(e)&&(this._selectViaInteraction(),e.preventDefault())}_selectViaInteraction(){this.disabled||(this._selected=this.multiple?!this._selected:!0,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent(!0))}_getTabIndex(){return this.disabled?"-1":"0"}_getHostElement(){return this._element.nativeElement}ngAfterViewChecked(){if(this._selected){let e=this.viewValue;e!==this._mostRecentViewValue&&(this._mostRecentViewValue&&this._stateChanges.next(),this._mostRecentViewValue=e)}}ngOnDestroy(){this._stateChanges.complete()}_emitSelectionChangeEvent(e=!1){this.onSelectionChange.emit(new De(this,e))}static \u0275fac=function(t){return new(t||n)};static \u0275cmp=E({type:n,selectors:[["mat-option"]],viewQuery:function(t,o){if(t&1&&I(xo,7),t&2){let r;_(r=v())&&(o._text=r.first)}},hostAttrs:["role","option",1,"mat-mdc-option","mdc-list-item"],hostVars:11,hostBindings:function(t,o){t&1&&w("click",function(){return o._selectViaInteraction()})("keydown",function(a){return o._handleKeydown(a)}),t&2&&(se("id",o.id),W("aria-selected",o.selected)("aria-disabled",o.disabled.toString()),D("mdc-list-item--selected",o.selected)("mat-mdc-option-multiple",o.multiple)("mat-mdc-option-active",o.active)("mdc-list-item--disabled",o.disabled))},inputs:{value:"value",id:"id",disabled:[2,"disabled","disabled",J]},outputs:{onSelectionChange:"onSelectionChange"},exportAs:["matOption"],ngContentSelectors:Oo,decls:8,vars:5,consts:[["text",""],["aria-hidden","true",1,"mat-mdc-option-pseudo-checkbox",3,"disabled","state"],[1,"mdc-list-item__primary-text"],["state","checked","aria-hidden","true","appearance","minimal",1,"mat-mdc-option-pseudo-checkbox",3,"disabled"],[1,"cdk-visually-hidden"],["aria-hidden","true","mat-ripple","",1,"mat-mdc-option-ripple","mat-focus-indicator",3,"matRippleTrigger","matRippleDisabled"]],template:function(t,o){t&1&&(Z(Co),h(0,wo,1,2,"mat-pseudo-checkbox",1),C(1),d(2,"span",2,0),C(4,1),c(),h(5,So,1,1,"mat-pseudo-checkbox",3),h(6,ko,2,1,"span",4),M(7,"div",5)),t&2&&(g(o.multiple?0:-1),s(5),g(!o.multiple&&o.selected&&!o.hideSingleSelectionIndicator?5:-1),s(),g(o.group&&o.group._inert?6:-1),s(),f("matRippleTrigger",o._getHostElement())("matRippleDisabled",o.disabled||o.disableRipple))},dependencies:[Vi,Li],styles:[`.mat-mdc-option{-webkit-user-select:none;user-select:none;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;display:flex;position:relative;align-items:center;justify-content:flex-start;overflow:hidden;min-height:48px;padding:0 16px;cursor:pointer;-webkit-tap-highlight-color:rgba(0,0,0,0);color:var(--mat-option-label-text-color, var(--mat-sys-on-surface));font-family:var(--mat-option-label-text-font, var(--mat-sys-label-large-font));line-height:var(--mat-option-label-text-line-height, var(--mat-sys-label-large-line-height));font-size:var(--mat-option-label-text-size, var(--mat-sys-body-large-size));letter-spacing:var(--mat-option-label-text-tracking, var(--mat-sys-label-large-tracking));font-weight:var(--mat-option-label-text-weight, var(--mat-sys-body-large-weight))}.mat-mdc-option:hover:not(.mdc-list-item--disabled){background-color:var(--mat-option-hover-state-layer-color, color-mix(in srgb, var(--mat-sys-on-surface) calc(var(--mat-sys-hover-state-layer-opacity) * 100%), transparent))}.mat-mdc-option:focus.mdc-list-item,.mat-mdc-option.mat-mdc-option-active.mdc-list-item{background-color:var(--mat-option-focus-state-layer-color, color-mix(in srgb, var(--mat-sys-on-surface) calc(var(--mat-sys-focus-state-layer-opacity) * 100%), transparent));outline:0}.mat-mdc-option.mdc-list-item--selected:not(.mdc-list-item--disabled):not(.mat-mdc-option-multiple){background-color:var(--mat-option-selected-state-layer-color, var(--mat-sys-secondary-container))}.mat-mdc-option.mdc-list-item--selected:not(.mdc-list-item--disabled):not(.mat-mdc-option-multiple) .mdc-list-item__primary-text{color:var(--mat-option-selected-state-label-text-color, var(--mat-sys-on-secondary-container))}.mat-mdc-option .mat-pseudo-checkbox{--mat-pseudo-checkbox-minimal-selected-checkmark-color: var(--mat-option-selected-state-label-text-color, var(--mat-sys-on-secondary-container))}.mat-mdc-option.mdc-list-item{align-items:center;background:rgba(0,0,0,0)}.mat-mdc-option.mdc-list-item--disabled{cursor:default;pointer-events:none}.mat-mdc-option.mdc-list-item--disabled .mat-mdc-option-pseudo-checkbox,.mat-mdc-option.mdc-list-item--disabled .mdc-list-item__primary-text,.mat-mdc-option.mdc-list-item--disabled>mat-icon{opacity:.38}.mat-mdc-optgroup .mat-mdc-option:not(.mat-mdc-option-multiple){padding-left:32px}[dir=rtl] .mat-mdc-optgroup .mat-mdc-option:not(.mat-mdc-option-multiple){padding-left:16px;padding-right:32px}.mat-mdc-option .mat-icon,.mat-mdc-option .mat-pseudo-checkbox-full{margin-right:16px;flex-shrink:0}[dir=rtl] .mat-mdc-option .mat-icon,[dir=rtl] .mat-mdc-option .mat-pseudo-checkbox-full{margin-right:0;margin-left:16px}.mat-mdc-option .mat-pseudo-checkbox-minimal{margin-left:16px;flex-shrink:0}[dir=rtl] .mat-mdc-option .mat-pseudo-checkbox-minimal{margin-right:16px;margin-left:0}.mat-mdc-option .mat-mdc-option-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-mdc-option .mdc-list-item__primary-text{white-space:normal;font-size:inherit;font-weight:inherit;letter-spacing:inherit;line-height:inherit;font-family:inherit;text-decoration:inherit;text-transform:inherit;margin-right:auto}[dir=rtl] .mat-mdc-option .mdc-list-item__primary-text{margin-right:0;margin-left:auto}@media(forced-colors: active){.mat-mdc-option.mdc-list-item--selected:not(:has(.mat-mdc-option-pseudo-checkbox))::after{content:"";position:absolute;top:50%;right:16px;transform:translateY(-50%);width:10px;height:0;border-bottom:solid 10px;border-radius:10px}[dir=rtl] .mat-mdc-option.mdc-list-item--selected:not(:has(.mat-mdc-option-pseudo-checkbox))::after{right:auto;left:16px}}.mat-mdc-option-multiple{--mat-list-list-item-selected-container-color: var(--mat-list-list-item-container-color, transparent)}.mat-mdc-option-active .mat-focus-indicator::before{content:""}
|
|
5
|
+
`],encapsulation:2,changeDetection:0})}return n})();function Bi(n,i,e){if(e.length){let t=i.toArray(),o=e.toArray(),r=0;for(let a=0;a<n+1;a++)t[a].group&&t[a].group===o[r]&&r++;return r}return 0}function ji(n,i,e,t){return n<e?n:n+i>e+t?Math.max(0,n-t+i):e}var Ct=(()=>{class n{static \u0275fac=function(t){return new(t||n)};static \u0275mod=H({type:n});static \u0275inj=z({imports:[Ni,Y,zi,Ce]})}return n})();var tt=class{title="New Modal";okText="Ok (F2)";cancelText="Cancel";hideFooter=!1;hideCancel=!1;hideOk=!1;hideClose=!1;backButton=!1;headerType=Ye.Success;validated=!0;customWidth="initial";bodyScrollable=!1;hideScrollbar=!1;disableKeyup=!1;noPadding=!1};var To=["modalContent"],Fo=[[["header"]],[["content"]],[["footer"]]],Io=["header","content","footer"],Do=(n,i)=>({bodyScrollable:n,hideScrollbar:i}),Po=(n,i,e,t)=>({"bg-success":n,"bg-warning":i,"bg-info":e,"bg-danger":t}),Ao=n=>({"mx-auto":n}),Ro=(n,i)=>({"show-footer":n,"p-0":i});function Lo(n,i){if(n&1){let e=U();d(0,"div",8),w("click",function(){S(e);let o=m();return k(o.onBack.emit())}),d(1,"a",9),M(2,"i",10),c()()}}function No(n,i){if(n&1){let e=U();d(0,"div")(1,"a",11),w("click",function(){S(e);let o=m();return k(o.onClose.emit())}),M(2,"i",12),c()()}}function Vo(n,i){n&1&&je(0)}function zo(n,i){if(n&1){let e=U();d(0,"a",16),w("click",function(){S(e);let o=m(2);return k(o.onCancel.emit())}),c()}if(n&2){let e=m(2);f("innerHTML",e.config.cancelText?e.config.cancelText:"Cancel",dt)}}function Ho(n,i){if(n&1){let e=U();d(0,"button",17),w("click",function(){S(e);let o=m(2);return k(o.onOk.emit())})("keyup.F2",function(){S(e);let o=m(2);return k(o.onOk.emit())}),c()}if(n&2){let e=m(2);f("disabled",!e.config.validated||!e.dynamicValidated)("innerHTML",e.config.okText?e.config.okText:"Ok (F2)",dt)}}function Bo(n,i){if(n&1&&(d(0,"mat-dialog-actions",13),C(1,2),ie(2,zo,1,1,"a",14)(3,Ho,1,2,"button",15),c()),n&2){let e=m();s(2),f("ngIf",!e.config.hideCancel),s(),f("ngIf",!e.config.hideOk)}}var Ui=class n{modalContent;config;dynamicValidated=!0;preventEnterEvent=!1;onOk=new b;onCancel=new b;onClose=new b;onBack=new b;headerType=Ye;ngOnInit(){this.config==null&&(this.config=new tt)}onKeyup(i){this.config.disableKeyup||(i.code=="F2"&&this.onOk.emit("F2"),(i.code=="Enter"&&!this.preventEnterEvent||i.code=="NumpadEnter")&&this.onOk.emit("Enter"))}static \u0275fac=function(e){return new(e||n)};static \u0275cmp=E({type:n,selectors:[["modal-material"]],contentQueries:function(e,t,o){if(e&1&&q(o,To,5),e&2){let r;_(r=v())&&(t.modalContent=r.first)}},inputs:{config:"config",dynamicValidated:"dynamicValidated",preventEnterEvent:"preventEnterEvent"},outputs:{onOk:"onOk",onCancel:"onCancel",onClose:"onClose",onBack:"onBack"},standalone:!1,ngContentSelectors:Io,decls:12,vars:24,consts:[["id","modal_material",1,"modal-material","d-flex","align-items-start","flex-column","position-relative","maxHeight",3,"keyup","ngClass"],["mat-dialog-title","",1,"d-flex","w-100","justify-content-between","modal-header","position-relative",3,"ngClass"],[1,"back-button","position-absolute","pointer","d-print-none"],[1,"d-flex","flex-row","d-print-none","align-items-center",3,"ngClass"],[1,"fw-normal"],[1,"modal-body","w-100",3,"ngClass"],[4,"ngTemplateOutlet"],["class","w-100 py-7 border-top d-flex justify-content-end d-print-none",4,"ngIf"],[1,"back-button","position-absolute","pointer","d-print-none",3,"click"],[1,"btn","back-button"],[1,"fa-solid","fa-arrow-left"],[1,"btn-light-blue","btn-sm","pointer","close",3,"click"],[1,"fa-solid","fa-xmark","fa-lg","text-primary"],[1,"w-100","py-7","border-top","d-flex","justify-content-end","d-print-none"],["class","btn btn-light-blue text-primary btn-lg fw-bold mx-3",3,"innerHTML","click",4,"ngIf"],["class","btn btn-light-blue me-6 text-primary btn-lg fw-bold mx-3","data-cy","btn-ok",3,"disabled","innerHTML","click","keyup.F2",4,"ngIf"],[1,"btn","btn-light-blue","text-primary","btn-lg","fw-bold","mx-3",3,"click","innerHTML"],["data-cy","btn-ok",1,"btn","btn-light-blue","me-6","text-primary","btn-lg","fw-bold","mx-3",3,"click","keyup.F2","disabled","innerHTML"]],template:function(e,t){e&1&&(Z(Fo),d(0,"div",0),w("keyup",function(r){return t.onKeyup(r)}),d(1,"div",1),h(2,Lo,3,0,"div",2),d(3,"div",3)(4,"h4",4),G(5),c(),C(6),c(),h(7,No,3,0,"div"),c(),d(8,"mat-dialog-content",5),C(9,1),ie(10,Vo,1,0,"ng-container",6),c(),ie(11,Bo,4,2,"mat-dialog-actions",7),c()),e&2&&(Zt("width",t.config.customWidth),f("ngClass",mt(11,Do,t.config.bodyScrollable,t.config.hideScrollbar)),s(),f("ngClass",ti(14,Po,t.headerType.Success==t.config.headerType,t.headerType.Warning==t.config.headerType,t.headerType.Info==t.config.headerType,t.headerType.Error==t.config.headerType)),s(),g(t.config.backButton?2:-1),s(),f("ngClass",_e(19,Ao,t.config.backButton)),s(2),oe(t.config.title),s(2),g(t.config.hideClose?-1:7),s(),f("ngClass",mt(21,Ro,!t.config.hideFooter,t.config.noPadding)),s(2),f("ngTemplateOutlet",t.modalContent),s(),f("ngIf",!t.config.hideFooter))},dependencies:[qe,ai,ve],styles:[".mat-mdc-dialog-container{padding:0!important;border-radius:4px!important;overflow:visible!important} .mat-mdc-dialog-container [mat-dialog-title]{color:#fff;padding:15px;border:none}@media print{ .mat-mdc-dialog-container{box-shadow:unset;width:100vw}}@media print{ .cdk-overlay-pane{position:absolute!important;top:-30px;max-width:100vw!important}.modal-body[_ngcontent-%COMP%]{width:100vw!important}}body.modal-body[_ngcontent-%COMP%]{height:100%}mat-dialog-actions[_ngcontent-%COMP%]{bottom:15px}mat-dialog-actions[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{padding:15px!important;margin-right:12px}mat-dialog-actions[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{padding:15px!important}mat-dialog-actions[_ngcontent-%COMP%] .more[_ngcontent-%COMP%]{margin-right:auto;margin-top:-1rem;padding-top:.4rem!important;margin-left:1rem}.back-button[_ngcontent-%COMP%]{top:5px;left:0}.close[_ngcontent-%COMP%]{padding:.4rem .5rem}.no-padding[_ngcontent-%COMP%]{padding:0}.modal-material[_ngcontent-%COMP%]{width:40vw}@media (max-width: 992px){.modal-material[_ngcontent-%COMP%]{width:50vw!important}}@media (max-width: 576px){ .dialog-filter .modal-material, .column-toggle .modal-material{width:100%!important} .dialog-filter mat-dialog-actions, .column-toggle mat-dialog-actions{position:sticky;bottom:0;background:#fff} .dialog-filter .modal-material.d-flex.align-items-start.flex-column.position-relative.maxHeight.bodyScrollable.maxHeight.bodyScrollable .modal-body, .column-toggle .modal-material.d-flex.align-items-start.flex-column.position-relative.maxHeight.bodyScrollable.maxHeight.bodyScrollable .modal-body{max-height:100%!important;overflow-y:auto}}.maxHeight.bodyScrollable[_ngcontent-%COMP%] .modal-body[_ngcontent-%COMP%]{max-height:70vh;overflow-y:auto}.maxHeight.hideScrollbar[_ngcontent-%COMP%] .modal-body[_ngcontent-%COMP%]{overflow-y:hidden}.modal-header[_ngcontent-%COMP%], .modal-footer[_ngcontent-%COMP%], .modal-footer[_ngcontent-%COMP%] .btn[_ngcontent-%COMP%]{padding:15px}.modal-dialog[_ngcontent-%COMP%]{max-width:none}.modal-content[_ngcontent-%COMP%]{width:auto;margin:auto;max-width:850px}.maxHeight[_ngcontent-%COMP%] .modal-body[_ngcontent-%COMP%]{max-height:70vh;overflow:auto}.modal-body[_ngcontent-%COMP%]{padding:1rem}.modal-body[_ngcontent-%COMP%] strong[_ngcontent-%COMP%]{display:block}.modal-body[_ngcontent-%COMP%] .more[_ngcontent-%COMP%]{margin:0;position:absolute;bottom:-20px}.modal-body[_ngcontent-%COMP%] input[type=text][_ngcontent-%COMP%], .modal-body[_ngcontent-%COMP%] textarea[_ngcontent-%COMP%], .modal-body[_ngcontent-%COMP%] input[type=password][_ngcontent-%COMP%]{border:1px solid #c8d3df;padding:5px 7px}.modal-body[_ngcontent-%COMP%] table[_ngcontent-%COMP%] textarea[_ngcontent-%COMP%]{width:330px;height:90px}"]})},qi=class n{static \u0275fac=function(e){return new(e||n)};static \u0275mod=H({type:n});static \u0275inj=z({imports:[Qe]})};var Pe=class{static emptyDate="Please fill invoice date";static emptyNumber="Please fill invoice number";static emptyOrderNumber="Number is Required";static failGetMenu="Fail to get pos menu";static failToGetRetur="Fail to get retur";static failGetLocalPosStorage="Fail to get setting and option from local storage, Please re-cache your data while online!";static failGetVariant='"Error getting variant with {0} {1}" - {2}';static failGetLocalVariant="Fail to get variant from local storage, Please re-cache your data while online!";static emptyBarcodeFormat='No product with barcode "{0}"';static emptyCustomerFormat='No customer with code "{0}"';static failGetSalesOrder="Fail to get sales order";static failBin="Fail to bin transaction";static failGetCustomer="Fail to get customer's data";static failCreateCustomer="Fail to create customer";static noRoleContact="You have no right to create new customer";static submitLocally="Connection unavailable ~ offline! Order stored locally";static offlineMode="There is no internet connection, it is now in offline mode";static OfflineOrderNotSupport="Offline order is not Supported!";static failOrderConnectionTimeOut="Connection timeout! Please try uploading your order again!";static failDeletePark="Fail to delete park";static emptyAccessRegister="You do not have access to any Register";static failGenerateNewNumber="Fail to generate new number";static emptyPayment="There is no active payment method.";static failOpenRegister="Fail to open register";static failGetLocalOutletInfo="Fail to get outlet information from local storage, Please re-cache your data while online!";static failTrySubmit=`[Error submitting order]
|
|
6
|
+
{0}`;static failTryCreateCustomer=`"[Error creating customer]
|
|
7
|
+
"{0}`;static createCustomerOffline="Create customer is not supported when the connection offline";static emptyCustomer="Please select customer!";static emptySalesPerson="Please select sales person!";static emptySalesType="Please select sales type!";static failCreateNewVariant="Fail to create new variant";static requiredDefaultCategory="[WARNING] - POS / Quick Create Product requires Default Category";static emptyVariant="Item is undefined, please re-type";static emptyPOItem="You must have at least one item";static emptyEntity="Please select entity before proceeding..";static failGetRetrieve="Fail to get retrieve";static failTryPark=`[Error submitting park]
|
|
8
|
+
{0}`;static failTryGetPark=`[Error during get park]
|
|
9
|
+
{0}`;static failTryGetOutStanding=`[Error during get outstanding]
|
|
10
|
+
{0}`;static failTryGetParkSelect=`[Error during get available park select]
|
|
11
|
+
{0}`;static failGetSerial="Fail to get variant serial";static serialRequired="Item with type serialized required input serial number";static successSendOrder="Orders synchronized to server. Upload Transaction Complete!";static successSyncProduct="Products synchronized to Local Storage";static failGetPark="Fail to get park";static failMergePark="Fail to merge park";static failGetOutStanding="Fail to get outstanding";static failGetParkSelect="Fail to get available park select";static confirmationDeleteOrder="Are you sure want to delete this order?";static confirmationCloseRegister="The Register is still occupied under '{0}'. Do you want to end his / her session?";static closeActiveRegister="You already have an active register with name '{0}'. Do you want to end your session?";static successSendEmail="Email is sent successfully to '{0}'";static wrongOfflineAction="This action is not supported when the connection offline";static emptyCustomerCredit="Credit Payment requires customer specified!";static debtLimit="Your debt is over limit!";static emptyCustomerDeposit="Deposit Payment requires customer specified!";static creditLock="You have no right to give credit!";static failToSyncProduct="Fail sync product to local storage!";static failToSyncOrder="Fail sync Order to local storage!";static emptyDeliveryOutlet="There is no outlet in delivery module.";static wrongAuthorizationCode="Wrong Authorize Code!";static priceMinimumRestriction="You have no right to sell this item lower than {0}";static clearBrowsingData="A new version of our POS is available, please clear your browsing data to apply changes!";static offlineModeNotification="WARNING! Your point of sale configuration is set to LOCAL, orders are not synchronized automatically.";static failServerConnection="Something happen to the server, switch query to local mode to continue work!";static taxEmpty="Tax options is empty, go to setup and add tax!";static clearCommission="Are you sure to leave this page without saving?";static voidConfirm="This will replace current order's item(s) with blank order.";static notSellAble="This item is not for sell";static partialLoyaltyPointUnable="You only can fully pay with loyalty point, otherwise please remove the loyalty point and use other available payment options";static DiffDate="Client date is not equal with Server Date";static pointOnly="{0} need paid by point only";static cashOnly="{0} cannot paid by point";static ovoConfig="WARNING! Your ovo configuration is not set";static failGenerateQR="Failed to generate qr code";static failPaymentOvo="Failed to pay with ovo, Try again";static emptyPhone="Please Fill Phone";static maxInventory="Your Bought Qty will exceed the Max Inventory";static payNowOnly="You have no access to sell with Later Payment";static maskingField="This Value is sensitive, Please contact your administrator if you need to view this!";static surcharge="Invoices with surcharges cannot use Payment Later or credit terms"};var it=class{configUsingLocal;productUsingLocal;orderUsingLocal;constructor(i=!1,e=!1,t=!1){this.configUsingLocal=i,this.productUsingLocal=e,this.orderUsingLocal=t}get usingLocal(){return this.configUsingLocal||this.productUsingLocal||this.orderUsingLocal}};var ot=class n{constructor(i,e,t){this.httpService=i;this.dbService=e;this.toastrService=t;this.initUnsentOrders(),this.initFailedOrders(),this.initSuccessUploadedOrders()}_unsentOrders=new Se([]);_failedOrders=new Se([]);_successUploadedOrders=new Se([]);_totalOfflineOrders=new Se(0);unsentOrders$=this._unsentOrders.asObservable();failedOrders$=this._failedOrders.asObservable();successUploadedOrders$=this._successUploadedOrders.asObservable();totalOfflineOrders$=this._totalOfflineOrders.asObservable();get hasConnection(){return navigator.onLine}isProductFromServer(){return this.getOfflineConfig().pipe(O(i=>i!=null?i.productUsingLocal?!1:this.hasConnection:!0),p(i=>V(this.hasConnection)))}isConfigFromServer(){return this.getOfflineConfig().pipe(O(i=>i.configUsingLocal?!1:this.hasConnection),p(i=>V(this.hasConnection)))}isStoreOrderInServer(){return this.getOfflineConfig().pipe(O(i=>i!=null?i.orderUsingLocal?!1:this.hasConnection:!0),p(i=>V(this.hasConnection)))}getPOSStorage(){return this.dbService.getByID("POSStorage",1).pipe(p(i=>(this.toastrService.error(`${JSON.stringify(i)}`,"Error Get Pos Storage"),u(()=>new Error(i)))))}syncPOSStorage(i){return i.id=1,this.dbService.getByID("POSStorage",1).pipe(y(e=>e==null?this.dbService.add("POSStorage",i):this.dbService.update("POSStorage",i)),O(e=>i),p(e=>(this.toastrService.error(`${JSON.stringify(e)}`,"Error Sync Pos Storage"),u(()=>new Error(e)))))}initUnsentOrders(){this.findAllOrders().pipe(ae(1)).subscribe(i=>{this.initTotalOfflineOrders(),this._unsentOrders.next(i)})}initFailedOrders(){this.getFailedOrders().pipe(ae(1)).subscribe(i=>{this.initTotalOfflineOrders(),this._failedOrders.next(i)})}initSuccessUploadedOrders(){this.getSuccessUplodedOrder().pipe(ae(1)).subscribe(i=>{this._successUploadedOrders.next(i)})}initTotalOfflineOrders(){Dt([this.dbService.count("Order"),this.dbService.count("FailedOrder")]).pipe(O(([i,e])=>i+e),p(i=>u(()=>new Error(i))),ae(1)).subscribe(i=>{this._totalOfflineOrders.next(i)})}syncOrder(i){try{let e=JSON.parse(JSON.stringify(i));return this.dbService.add("Order",e).pipe(X(()=>{this.initUnsentOrders()}),p(t=>u(()=>new Error(t))))}catch(e){return u(()=>new Error(e))}}findAllOrders(){return this.dbService.getAll("Order").pipe(p(i=>u(()=>new Error(i))))}uploadOrders(){return this.findAllOrders().pipe(y(i=>i.length>0?lt(i).pipe(st(e=>this.uploadOrderProcess(e)),At(),O(e=>e.every(t=>t===!0))):V(!0)))}uploadSingleOrder(i){return this.findAllOrders().pipe(y(e=>{let t=e.findIndex(o=>o.Order.ID==i.Order.ID);return t>-1?this.uploadSingleOrderProcess(e[t]):It}))}uploadSingleOrderProcess(i){let e=this.createOrderForSubmission(i);return this.httpService.post(et.SubmitOrder,e).pipe(y(t=>t.Success?(this.showToastrSuccessUploadOrder(t.InvoiceNumber,i.Order.Number),i.Order.Number=t.InvoiceNumber,i.Invoice.ID=t.ObjectID,this.syncSuccessUploadOrder(i).pipe(O(()=>t))):(this.toastrService.error(`Failed to upload order with number ${i.Order.Number}`,"Error!"),this.syncFailedOrder(i).pipe(O(()=>t)))),p(t=>{throw this.syncFailedOrder(i).pipe(O(()=>t))}))}uploadOrderProcess(i){let e=i.Order.Number,t=this.createOrderForSubmission(i);return this.httpService.post(et.SubmitOrder,t).pipe(y(o=>o.Success?(this.showToastrSuccessUploadOrder(o.InvoiceNumber,e),i.Order.Number=o.InvoiceNumber,i.Invoice.ID=o.ObjectID,this.syncSuccessUploadOrder(i).pipe(O(()=>o))):this.syncFailedOrder(i).pipe(O(r=>!1))),p(o=>this.syncFailedOrder(i).pipe(O(r=>!1))))}showToastrSuccessUploadOrder(i,e){let t;i!=e?t=`Invoice number has been updated to ${i} because ${e} already exists`:t=`Order with number ${e} synchronized to server`,this.toastrService.success(t,"Offline order uploaded successfully")}removeOrder(i){return this.dbService.deleteByKey("Order",i).pipe(X(()=>{this.initUnsentOrders()}),p(e=>u(()=>new Error(e))))}createOrderForSubmission(i){let e=Object.assign({},i);return delete e.CartItems,e}syncFailedOrder(i){try{let e=JSON.parse(JSON.stringify(i));return this.dbService.add("FailedOrder",e).pipe(y(t=>(this.initFailedOrders(),this.removeOrder(i.id))),p(t=>u(()=>new Error(t))))}catch(e){return u(()=>new Error(e))}}uploadFailedOrders(){return this.getFailedOrders().pipe(y(i=>i.length>0?lt(i).pipe(st(t=>this.uploadFailedOrder(t)),O(t=>t.every(o=>o===!0))):V(!0)))}uploadFailedOrder(i){let e=this.createOrderForSubmission(i);return this.httpService.post(et.SubmitOrder,e).pipe(X(()=>{this.initFailedOrders()}),y(t=>{let o=i.Order?.Number;return this.showToastrSuccessUploadOrder(t.InvoiceNumber,o),this.removeFailedOrder(i.id)}))}getFailedOrders(){return this.dbService.getAll("FailedOrder").pipe(p(i=>u(()=>new Error(i))))}removeFailedOrder(i){return this.dbService.deleteByKey("FailedOrder",i).pipe(X(()=>{this.initFailedOrders()}),p(e=>u(()=>new Error(e))))}clearFailedOrders(){return this.dbService.clear("FailedOrder").pipe(X(()=>{this.initFailedOrders()}),p(i=>u(()=>new Error(i))))}syncSuccessUploadOrder(i){try{let e=JSON.parse(JSON.stringify(i));return this.dbService.add("SuccessOrder",e).pipe(y(t=>(this.initSuccessUploadedOrders(),this.removeOrder(i.id))),p(t=>u(()=>new Error(t))))}catch(e){return u(()=>new Error(e))}}getSuccessUplodedOrder(){return this.dbService.getAll("SuccessOrder").pipe(p(i=>u(()=>new Error(i))))}clearSuccessUploadedOrder(){return this.dbService.clear("SuccessOrder").pipe(X(()=>{this.initSuccessUploadedOrders()}),p(i=>u(()=>new Error(i))))}syncVariants(i){return this.dbService.getAll("Product").pipe(y(e=>e.length==0?this.dbService.bulkAdd("Product",i):this.dbService.clear("Product").pipe(y(t=>this.dbService.bulkAdd("Product",i)),p(t=>u(()=>new Error(t))))),p(e=>u(()=>new Error(e))))}findAllVariant(){return this.dbService.getAll("Product").pipe(p(i=>u(()=>new Error(i))))}findVariantById(i,e){return this.dbService.getByID("Product",i).pipe(Q(t=>this.warningNotFound(t,Pe.failGetLocalVariant)),y(t=>this.findOutletPriceVariant(t,e)),p(t=>u(()=>new Error(t))))}findVariantByCode(i,e){return this.dbService.getByIndex("Product","Code",i).pipe(Q(t=>this.warningNotFound(t,Pe.failGetLocalVariant)),y(t=>this.findOutletPriceVariant(t,e)),p(t=>u(()=>new Error(t))))}findOutletPriceVariant(i,e){return this.findAllOutletPrices().pipe(O(t=>{let o=t.find(r=>r.VariantID==i.ID&&r.EntityID==e);return o&&(i.UnitPrice=o.UnitPrice,i.PriceDiscount=o.PriceDiscount),i}),p(t=>u(()=>new Error(t))))}warningNotFound(i,e){return i?!0:(this.toastrService.warning(e,"Warning"),!1)}syncOutletPrice(i){return this.dbService.getAll("OutletPrice").pipe(y(e=>e.length==0?this.dbService.bulkAdd("OutletPrice",i):this.dbService.clear("OutletPrice").pipe(y(t=>this.dbService.bulkAdd("OutletPrice",i)),p(t=>u(()=>new Error(t))))),p(e=>u(()=>new Error(e))))}findAllOutletPrices(){return this.dbService.getAll("OutletPrice").pipe(p(i=>u(()=>new Error(i))))}syncRegisters(i){return this.dbService.getAll("Outlet").pipe(y(e=>e.length==0?this.dbService.bulkAdd("Outlet",i):this.dbService.clear("Outlet").pipe(y(t=>this.dbService.bulkAdd("Outlet",i)),p(t=>u(()=>new Error(t))))))}findRegisterByID(i){return this.dbService.getByID("Outlet",i).pipe(p(e=>u(()=>new Error(e))))}findAllRegister(){return this.dbService.getAll("Outlet").pipe(p(i=>u(()=>new Error(i))))}getSyncTime(){return this.dbService.getByID("SyncTime",1).pipe(p(i=>u(()=>new Error(i))))}updateSyncTime(){return this.dbService.getByID("SyncTime",1).pipe(y(i=>{let e={id:1,time:new Date().toString()};return i?this.dbService.update("SyncTime",e):this.dbService.add("SyncTime",e)}),p(i=>u(()=>new Error(i))))}updateOfflineConfig(i){try{return localStorage.setItem("OfflineConfig",JSON.stringify(i)),V(i)}catch{return V(i)}}getOfflineConfig(){let i=localStorage.getItem("OfflineConfig"),e=new it;return ne.IsNotEmpty(i)&&(e=JSON.parse(i)),V(e)}static \u0275fac=function(e){return new(e||n)(ze($e),ze(Fi),ze(We))};static \u0275prov=ge({token:n,factory:n.\u0275fac,providedIn:"root"})};var Ot=class{_box;_destroyed=new N;_resizeSubject=new N;_resizeObserver;_elementObservables=new Map;constructor(i){this._box=i,typeof ResizeObserver<"u"&&(this._resizeObserver=new ResizeObserver(e=>this._resizeSubject.next(e)))}observe(i){return this._elementObservables.has(i)||this._elementObservables.set(i,new we(e=>{let t=this._resizeSubject.subscribe(e);return this._resizeObserver?.observe(i,{box:this._box}),()=>{this._resizeObserver?.unobserve(i),t.unsubscribe(),this._elementObservables.delete(i)}}).pipe(Q(e=>e.some(t=>t.target===i)),zt({bufferSize:1,refCount:!0}),le(this._destroyed))),this._elementObservables.get(i)}destroy(){this._destroyed.next(),this._destroyed.complete(),this._resizeSubject.complete(),this._elementObservables.clear()}},Qi=(()=>{class n{_cleanupErrorListener;_observers=new Map;_ngZone=l(j);constructor(){typeof ResizeObserver<"u"}ngOnDestroy(){for(let[,e]of this._observers)e.destroy();this._observers.clear(),this._cleanupErrorListener?.()}observe(e,t){let o=t?.box||"content-box";return this._observers.has(o)||this._observers.set(o,new Ot(o)),this._observers.get(o).observe(e)}static \u0275fac=function(t){return new(t||n)};static \u0275prov=ge({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})();var Qo=["notch"],Wo=["matFormFieldNotchedOutline",""],Go=["*"],Wi=["iconPrefixContainer"],Gi=["textPrefixContainer"],$i=["iconSuffixContainer"],Yi=["textSuffixContainer"],$o=["textField"],Yo=["*",[["mat-label"]],[["","matPrefix",""],["","matIconPrefix",""]],[["","matTextPrefix",""]],[["","matTextSuffix",""]],[["","matSuffix",""],["","matIconSuffix",""]],[["mat-error"],["","matError",""]],[["mat-hint",3,"align","end"]],[["mat-hint","align","end"]]],Ko=["*","mat-label","[matPrefix], [matIconPrefix]","[matTextPrefix]","[matTextSuffix]","[matSuffix], [matIconSuffix]","mat-error, [matError]","mat-hint:not([align='end'])","mat-hint[align='end']"];function Xo(n,i){n&1&&M(0,"span",21)}function Zo(n,i){if(n&1&&(d(0,"label",20),C(1,1),h(2,Xo,1,0,"span",21),c()),n&2){let e=m(2);f("floating",e._shouldLabelFloat())("monitorResize",e._hasOutline())("id",e._labelId),W("for",e._control.disableAutomaticLabeling?null:e._control.id),s(2),g(!e.hideRequiredMarker&&e._control.required?2:-1)}}function Jo(n,i){if(n&1&&h(0,Zo,3,5,"label",20),n&2){let e=m();g(e._hasFloatingLabel()?0:-1)}}function en(n,i){n&1&&M(0,"div",7)}function tn(n,i){}function on(n,i){if(n&1&&ie(0,tn,0,0,"ng-template",13),n&2){m(2);let e=Fe(1);f("ngTemplateOutlet",e)}}function nn(n,i){if(n&1&&(d(0,"div",9),h(1,on,1,1,null,13),c()),n&2){let e=m();f("matFormFieldNotchedOutlineOpen",e._shouldLabelFloat()),s(),g(e._forceDisplayInfixLabel()?-1:1)}}function rn(n,i){n&1&&(d(0,"div",10,2),C(2,2),c())}function an(n,i){n&1&&(d(0,"div",11,3),C(2,3),c())}function ln(n,i){}function sn(n,i){if(n&1&&ie(0,ln,0,0,"ng-template",13),n&2){m();let e=Fe(1);f("ngTemplateOutlet",e)}}function dn(n,i){n&1&&(d(0,"div",14,4),C(2,4),c())}function cn(n,i){n&1&&(d(0,"div",15,5),C(2,5),c())}function mn(n,i){n&1&&M(0,"div",16)}function pn(n,i){n&1&&(d(0,"div",18),C(1,6),c())}function fn(n,i){if(n&1&&(d(0,"mat-hint",22),G(1),c()),n&2){let e=m(2);f("id",e._hintLabelId),s(),oe(e.hintLabel)}}function un(n,i){if(n&1&&(d(0,"div",19),h(1,fn,2,2,"mat-hint",22),C(2,7),M(3,"div",23),C(4,8),c()),n&2){let e=m();s(),g(e.hintLabel?1:-1)}}var Ki=(()=>{class n{static \u0275fac=function(t){return new(t||n)};static \u0275dir=R({type:n,selectors:[["mat-label"]]})}return n})(),no=new F("MatError"),Ia=(()=>{class n{id=l(re).getId("mat-mdc-error-");constructor(){}static \u0275fac=function(t){return new(t||n)};static \u0275dir=R({type:n,selectors:[["mat-error"],["","matError",""]],hostAttrs:[1,"mat-mdc-form-field-error","mat-mdc-form-field-bottom-align"],hostVars:1,hostBindings:function(t,o){t&2&&se("id",o.id)},inputs:{id:"id"},features:[$([{provide:no,useExisting:n}])]})}return n})(),Xi=(()=>{class n{align="start";id=l(re).getId("mat-mdc-hint-");static \u0275fac=function(t){return new(t||n)};static \u0275dir=R({type:n,selectors:[["mat-hint"]],hostAttrs:[1,"mat-mdc-form-field-hint","mat-mdc-form-field-bottom-align"],hostVars:4,hostBindings:function(t,o){t&2&&(se("id",o.id),W("align",null),D("mat-mdc-form-field-hint-end",o.align==="end"))},inputs:{align:"align",id:"id"}})}return n})(),hn=new F("MatPrefix");var ro=new F("MatSuffix"),Da=(()=>{class n{set _isTextSelector(e){this._isText=!0}_isText=!1;static \u0275fac=function(t){return new(t||n)};static \u0275dir=R({type:n,selectors:[["","matSuffix",""],["","matIconSuffix",""],["","matTextSuffix",""]],inputs:{_isTextSelector:[0,"matTextSuffix","_isTextSelector"]},features:[$([{provide:ro,useExisting:n}])]})}return n})(),ao=new F("FloatingLabelParent"),Zi=(()=>{class n{_elementRef=l(A);get floating(){return this._floating}set floating(e){this._floating=e,this.monitorResize&&this._handleResize()}_floating=!1;get monitorResize(){return this._monitorResize}set monitorResize(e){this._monitorResize=e,this._monitorResize?this._subscribeToResize():this._resizeSubscription.unsubscribe()}_monitorResize=!1;_resizeObserver=l(Qi);_ngZone=l(j);_parent=l(ao);_resizeSubscription=new ue;constructor(){}ngOnDestroy(){this._resizeSubscription.unsubscribe()}getWidth(){return gn(this._elementRef.nativeElement)}get element(){return this._elementRef.nativeElement}_handleResize(){setTimeout(()=>this._parent._handleLabelResized())}_subscribeToResize(){this._resizeSubscription.unsubscribe(),this._ngZone.runOutsideAngular(()=>{this._resizeSubscription=this._resizeObserver.observe(this._elementRef.nativeElement,{box:"border-box"}).subscribe(()=>this._handleResize())})}static \u0275fac=function(t){return new(t||n)};static \u0275dir=R({type:n,selectors:[["label","matFormFieldFloatingLabel",""]],hostAttrs:[1,"mdc-floating-label","mat-mdc-floating-label"],hostVars:2,hostBindings:function(t,o){t&2&&D("mdc-floating-label--float-above",o.floating)},inputs:{floating:"floating",monitorResize:"monitorResize"}})}return n})();function gn(n){let i=n;if(i.offsetParent!==null)return i.scrollWidth;let e=i.cloneNode(!0);e.style.setProperty("position","absolute"),e.style.setProperty("transform","translate(-9999px, -9999px)"),document.documentElement.appendChild(e);let t=e.scrollWidth;return e.remove(),t}var Ji="mdc-line-ripple--active",nt="mdc-line-ripple--deactivating",eo=(()=>{class n{_elementRef=l(A);_cleanupTransitionEnd;constructor(){let e=l(j),t=l(Be);e.runOutsideAngular(()=>{this._cleanupTransitionEnd=t.listen(this._elementRef.nativeElement,"transitionend",this._handleTransitionEnd)})}activate(){let e=this._elementRef.nativeElement.classList;e.remove(nt),e.add(Ji)}deactivate(){this._elementRef.nativeElement.classList.add(nt)}_handleTransitionEnd=e=>{let t=this._elementRef.nativeElement.classList,o=t.contains(nt);e.propertyName==="opacity"&&o&&t.remove(Ji,nt)};ngOnDestroy(){this._cleanupTransitionEnd()}static \u0275fac=function(t){return new(t||n)};static \u0275dir=R({type:n,selectors:[["div","matFormFieldLineRipple",""]],hostAttrs:[1,"mdc-line-ripple"]})}return n})(),to=(()=>{class n{_elementRef=l(A);_ngZone=l(j);open=!1;_notch;ngAfterViewInit(){let e=this._elementRef.nativeElement,t=e.querySelector(".mdc-floating-label");t?(e.classList.add("mdc-notched-outline--upgraded"),typeof requestAnimationFrame=="function"&&(t.style.transitionDuration="0s",this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>t.style.transitionDuration="")}))):e.classList.add("mdc-notched-outline--no-label")}_setNotchWidth(e){let t=this._notch.nativeElement;!this.open||!e?t.style.width="":t.style.width=`calc(${e}px * var(--mat-mdc-form-field-floating-label-scale, 0.75) + 9px)`}_setMaxWidth(e){this._notch.nativeElement.style.setProperty("--mat-form-field-notch-max-width",`calc(100% - ${e}px)`)}static \u0275fac=function(t){return new(t||n)};static \u0275cmp=E({type:n,selectors:[["div","matFormFieldNotchedOutline",""]],viewQuery:function(t,o){if(t&1&&I(Qo,5),t&2){let r;_(r=v())&&(o._notch=r.first)}},hostAttrs:[1,"mdc-notched-outline"],hostVars:2,hostBindings:function(t,o){t&2&&D("mdc-notched-outline--notched",o.open)},inputs:{open:[0,"matFormFieldNotchedOutlineOpen","open"]},attrs:Wo,ngContentSelectors:Go,decls:5,vars:0,consts:[["notch",""],[1,"mat-mdc-notch-piece","mdc-notched-outline__leading"],[1,"mat-mdc-notch-piece","mdc-notched-outline__notch"],[1,"mat-mdc-notch-piece","mdc-notched-outline__trailing"]],template:function(t,o){t&1&&(Z(),ct(0,"div",1),Ee(1,"div",2,0),C(3),Me(),ct(4,"div",3))},encapsulation:2,changeDetection:0})}return n})(),bn=(()=>{class n{value;stateChanges;id;placeholder;ngControl;focused;empty;shouldLabelFloat;required;disabled;errorState;controlType;autofilled;userAriaDescribedBy;disableAutomaticLabeling;describedByIds;static \u0275fac=function(t){return new(t||n)};static \u0275dir=R({type:n})}return n})();var wt=new F("MatFormField"),_n=new F("MAT_FORM_FIELD_DEFAULT_OPTIONS"),io="fill",vn="auto",oo="fixed",yn="translateY(-50%)",Pa=(()=>{class n{_elementRef=l(A);_changeDetectorRef=l(pe);_platform=l(xe);_idGenerator=l(re);_ngZone=l(j);_defaults=l(_n,{optional:!0});_currentDirection;_textField;_iconPrefixContainer;_textPrefixContainer;_iconSuffixContainer;_textSuffixContainer;_floatingLabel;_notchedOutline;_lineRipple;_iconPrefixContainerSignal=me("iconPrefixContainer");_textPrefixContainerSignal=me("textPrefixContainer");_iconSuffixContainerSignal=me("iconSuffixContainer");_textSuffixContainerSignal=me("textSuffixContainer");_prefixSuffixContainers=Ue(()=>[this._iconPrefixContainerSignal(),this._textPrefixContainerSignal(),this._iconSuffixContainerSignal(),this._textSuffixContainerSignal()].map(e=>e?.nativeElement).filter(e=>e!==void 0));_formFieldControl;_prefixChildren;_suffixChildren;_errorChildren;_hintChildren;_labelChild=ni(Ki);get hideRequiredMarker(){return this._hideRequiredMarker}set hideRequiredMarker(e){this._hideRequiredMarker=fi(e)}_hideRequiredMarker=!1;color="primary";get floatLabel(){return this._floatLabel||this._defaults?.floatLabel||vn}set floatLabel(e){e!==this._floatLabel&&(this._floatLabel=e,this._changeDetectorRef.markForCheck())}_floatLabel;get appearance(){return this._appearanceSignal()}set appearance(e){let t=e||this._defaults?.appearance||io;this._appearanceSignal.set(t)}_appearanceSignal=He(io);get subscriptSizing(){return this._subscriptSizing||this._defaults?.subscriptSizing||oo}set subscriptSizing(e){this._subscriptSizing=e||this._defaults?.subscriptSizing||oo}_subscriptSizing=null;get hintLabel(){return this._hintLabel}set hintLabel(e){this._hintLabel=e,this._processHints()}_hintLabel="";_hasIconPrefix=!1;_hasTextPrefix=!1;_hasIconSuffix=!1;_hasTextSuffix=!1;_labelId=this._idGenerator.getId("mat-mdc-form-field-label-");_hintLabelId=this._idGenerator.getId("mat-mdc-hint-");_describedByIds;get _control(){return this._explicitFormFieldControl||this._formFieldControl}set _control(e){this._explicitFormFieldControl=e}_destroyed=new N;_isFocused=null;_explicitFormFieldControl;_previousControl=null;_previousControlValidatorFn=null;_stateChanges;_valueChanges;_describedByChanges;_outlineLabelOffsetResizeObserver=null;_animationsDisabled=ee();constructor(){let e=this._defaults,t=l(Je);e&&(e.appearance&&(this.appearance=e.appearance),this._hideRequiredMarker=!!e?.hideRequiredMarker,e.color&&(this.color=e.color)),Ie(()=>this._currentDirection=t.valueSignal()),this._syncOutlineLabelOffset()}ngAfterViewInit(){this._updateFocusState(),this._animationsDisabled||this._ngZone.runOutsideAngular(()=>{setTimeout(()=>{this._elementRef.nativeElement.classList.add("mat-form-field-animations-enabled")},300)}),this._changeDetectorRef.detectChanges()}ngAfterContentInit(){this._assertFormFieldControl(),this._initializeSubscript(),this._initializePrefixAndSuffix()}ngAfterContentChecked(){this._assertFormFieldControl(),this._control!==this._previousControl&&(this._initializeControl(this._previousControl),this._control.ngControl&&this._control.ngControl.control&&(this._previousControlValidatorFn=this._control.ngControl.control.validator),this._previousControl=this._control),this._control.ngControl&&this._control.ngControl.control&&this._control.ngControl.control.validator!==this._previousControlValidatorFn&&this._changeDetectorRef.markForCheck()}ngOnDestroy(){this._outlineLabelOffsetResizeObserver?.disconnect(),this._stateChanges?.unsubscribe(),this._valueChanges?.unsubscribe(),this._describedByChanges?.unsubscribe(),this._destroyed.next(),this._destroyed.complete()}getLabelId=Ue(()=>this._hasFloatingLabel()?this._labelId:null);getConnectedOverlayOrigin(){return this._textField||this._elementRef}_animateAndLockLabel(){this._hasFloatingLabel()&&(this.floatLabel="always")}_initializeControl(e){let t=this._control,o="mat-mdc-form-field-type-";e&&this._elementRef.nativeElement.classList.remove(o+e.controlType),t.controlType&&this._elementRef.nativeElement.classList.add(o+t.controlType),this._stateChanges?.unsubscribe(),this._stateChanges=t.stateChanges.subscribe(()=>{this._updateFocusState(),this._changeDetectorRef.markForCheck()}),this._describedByChanges?.unsubscribe(),this._describedByChanges=t.stateChanges.pipe(Ne([void 0,void 0]),O(()=>[t.errorState,t.userAriaDescribedBy]),Vt(),Q(([[r,a],[x,te]])=>r!==x||a!==te)).subscribe(()=>this._syncDescribedByIds()),this._valueChanges?.unsubscribe(),t.ngControl&&t.ngControl.valueChanges&&(this._valueChanges=t.ngControl.valueChanges.pipe(le(this._destroyed)).subscribe(()=>this._changeDetectorRef.markForCheck()))}_checkPrefixAndSuffixTypes(){this._hasIconPrefix=!!this._prefixChildren.find(e=>!e._isText),this._hasTextPrefix=!!this._prefixChildren.find(e=>e._isText),this._hasIconSuffix=!!this._suffixChildren.find(e=>!e._isText),this._hasTextSuffix=!!this._suffixChildren.find(e=>e._isText)}_initializePrefixAndSuffix(){this._checkPrefixAndSuffixTypes(),he(this._prefixChildren.changes,this._suffixChildren.changes).subscribe(()=>{this._checkPrefixAndSuffixTypes(),this._changeDetectorRef.markForCheck()})}_initializeSubscript(){this._hintChildren.changes.subscribe(()=>{this._processHints(),this._changeDetectorRef.markForCheck()}),this._errorChildren.changes.subscribe(()=>{this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),this._validateHints(),this._syncDescribedByIds()}_assertFormFieldControl(){this._control}_updateFocusState(){let e=this._control.focused;e&&!this._isFocused?(this._isFocused=!0,this._lineRipple?.activate()):!e&&(this._isFocused||this._isFocused===null)&&(this._isFocused=!1,this._lineRipple?.deactivate()),this._elementRef.nativeElement.classList.toggle("mat-focused",e),this._textField?.nativeElement.classList.toggle("mdc-text-field--focused",e)}_syncOutlineLabelOffset(){ri({earlyRead:()=>{if(this._appearanceSignal()!=="outline")return this._outlineLabelOffsetResizeObserver?.disconnect(),null;if(globalThis.ResizeObserver){this._outlineLabelOffsetResizeObserver||=new globalThis.ResizeObserver(()=>{this._writeOutlinedLabelStyles(this._getOutlinedLabelOffset())});for(let e of this._prefixSuffixContainers())this._outlineLabelOffsetResizeObserver.observe(e,{box:"border-box"})}return this._getOutlinedLabelOffset()},write:e=>this._writeOutlinedLabelStyles(e())})}_shouldAlwaysFloat(){return this.floatLabel==="always"}_hasOutline(){return this.appearance==="outline"}_forceDisplayInfixLabel(){return!this._platform.isBrowser&&this._prefixChildren.length&&!this._shouldLabelFloat()}_hasFloatingLabel=Ue(()=>!!this._labelChild());_shouldLabelFloat(){return this._hasFloatingLabel()?this._control.shouldLabelFloat||this._shouldAlwaysFloat():!1}_shouldForward(e){let t=this._control?this._control.ngControl:null;return t&&t[e]}_getSubscriptMessageType(){return this._errorChildren&&this._errorChildren.length>0&&this._control.errorState?"error":"hint"}_handleLabelResized(){this._refreshOutlineNotchWidth()}_refreshOutlineNotchWidth(){!this._hasOutline()||!this._floatingLabel||!this._shouldLabelFloat()?this._notchedOutline?._setNotchWidth(0):this._notchedOutline?._setNotchWidth(this._floatingLabel.getWidth())}_processHints(){this._validateHints(),this._syncDescribedByIds()}_validateHints(){this._hintChildren}_syncDescribedByIds(){if(this._control){let e=[];if(this._control.userAriaDescribedBy&&typeof this._control.userAriaDescribedBy=="string"&&e.push(...this._control.userAriaDescribedBy.split(" ")),this._getSubscriptMessageType()==="hint"){let r=this._hintChildren?this._hintChildren.find(x=>x.align==="start"):null,a=this._hintChildren?this._hintChildren.find(x=>x.align==="end"):null;r?e.push(r.id):this._hintLabel&&e.push(this._hintLabelId),a&&e.push(a.id)}else this._errorChildren&&e.push(...this._errorChildren.map(r=>r.id));let t=this._control.describedByIds,o;if(t){let r=this._describedByIds||e;o=e.concat(t.filter(a=>a&&!r.includes(a)))}else o=e;this._control.setDescribedByIds(o),this._describedByIds=e}}_getOutlinedLabelOffset(){if(!this._hasOutline()||!this._floatingLabel)return null;if(!this._iconPrefixContainer&&!this._textPrefixContainer)return["",null];if(!this._isAttachedToDom())return null;let e=this._iconPrefixContainer?.nativeElement,t=this._textPrefixContainer?.nativeElement,o=this._iconSuffixContainer?.nativeElement,r=this._textSuffixContainer?.nativeElement,a=e?.getBoundingClientRect().width??0,x=t?.getBoundingClientRect().width??0,te=o?.getBoundingClientRect().width??0,fe=r?.getBoundingClientRect().width??0,T=this._currentDirection==="rtl"?"-1":"1",Ae=`${a+x}px`,Re=`calc(${T} * (${Ae} + var(--mat-mdc-form-field-label-offset-x, 0px)))`,Oe=`var(--mat-mdc-form-field-label-transform, ${yn} translateX(${Re}))`,K=a+x+te+fe;return[Oe,K]}_writeOutlinedLabelStyles(e){if(e!==null){let[t,o]=e;this._floatingLabel&&(this._floatingLabel.element.style.transform=t),o!==null&&this._notchedOutline?._setMaxWidth(o)}}_isAttachedToDom(){let e=this._elementRef.nativeElement;if(e.getRootNode){let t=e.getRootNode();return t&&t!==e}return document.documentElement.contains(e)}static \u0275fac=function(t){return new(t||n)};static \u0275cmp=E({type:n,selectors:[["mat-form-field"]],contentQueries:function(t,o,r){if(t&1&&(Xt(r,o._labelChild,Ki,5),q(r,bn,5),q(r,hn,5),q(r,ro,5),q(r,no,5),q(r,Xi,5)),t&2){Te();let a;_(a=v())&&(o._formFieldControl=a.first),_(a=v())&&(o._prefixChildren=a),_(a=v())&&(o._suffixChildren=a),_(a=v())&&(o._errorChildren=a),_(a=v())&&(o._hintChildren=a)}},viewQuery:function(t,o){if(t&1&&(de(o._iconPrefixContainerSignal,Wi,5),de(o._textPrefixContainerSignal,Gi,5),de(o._iconSuffixContainerSignal,$i,5),de(o._textSuffixContainerSignal,Yi,5),I($o,5),I(Wi,5),I(Gi,5),I($i,5),I(Yi,5),I(Zi,5),I(to,5),I(eo,5)),t&2){Te(4);let r;_(r=v())&&(o._textField=r.first),_(r=v())&&(o._iconPrefixContainer=r.first),_(r=v())&&(o._textPrefixContainer=r.first),_(r=v())&&(o._iconSuffixContainer=r.first),_(r=v())&&(o._textSuffixContainer=r.first),_(r=v())&&(o._floatingLabel=r.first),_(r=v())&&(o._notchedOutline=r.first),_(r=v())&&(o._lineRipple=r.first)}},hostAttrs:[1,"mat-mdc-form-field"],hostVars:38,hostBindings:function(t,o){t&2&&D("mat-mdc-form-field-label-always-float",o._shouldAlwaysFloat())("mat-mdc-form-field-has-icon-prefix",o._hasIconPrefix)("mat-mdc-form-field-has-icon-suffix",o._hasIconSuffix)("mat-form-field-invalid",o._control.errorState)("mat-form-field-disabled",o._control.disabled)("mat-form-field-autofilled",o._control.autofilled)("mat-form-field-appearance-fill",o.appearance=="fill")("mat-form-field-appearance-outline",o.appearance=="outline")("mat-form-field-hide-placeholder",o._hasFloatingLabel()&&!o._shouldLabelFloat())("mat-primary",o.color!=="accent"&&o.color!=="warn")("mat-accent",o.color==="accent")("mat-warn",o.color==="warn")("ng-untouched",o._shouldForward("untouched"))("ng-touched",o._shouldForward("touched"))("ng-pristine",o._shouldForward("pristine"))("ng-dirty",o._shouldForward("dirty"))("ng-valid",o._shouldForward("valid"))("ng-invalid",o._shouldForward("invalid"))("ng-pending",o._shouldForward("pending"))},inputs:{hideRequiredMarker:"hideRequiredMarker",color:"color",floatLabel:"floatLabel",appearance:"appearance",subscriptSizing:"subscriptSizing",hintLabel:"hintLabel"},exportAs:["matFormField"],features:[$([{provide:wt,useExisting:n},{provide:ao,useExisting:n}])],ngContentSelectors:Ko,decls:18,vars:21,consts:[["labelTemplate",""],["textField",""],["iconPrefixContainer",""],["textPrefixContainer",""],["textSuffixContainer",""],["iconSuffixContainer",""],[1,"mat-mdc-text-field-wrapper","mdc-text-field",3,"click"],[1,"mat-mdc-form-field-focus-overlay"],[1,"mat-mdc-form-field-flex"],["matFormFieldNotchedOutline","",3,"matFormFieldNotchedOutlineOpen"],[1,"mat-mdc-form-field-icon-prefix"],[1,"mat-mdc-form-field-text-prefix"],[1,"mat-mdc-form-field-infix"],[3,"ngTemplateOutlet"],[1,"mat-mdc-form-field-text-suffix"],[1,"mat-mdc-form-field-icon-suffix"],["matFormFieldLineRipple",""],["aria-atomic","true","aria-live","polite",1,"mat-mdc-form-field-subscript-wrapper","mat-mdc-form-field-bottom-align"],[1,"mat-mdc-form-field-error-wrapper"],[1,"mat-mdc-form-field-hint-wrapper"],["matFormFieldFloatingLabel","",3,"floating","monitorResize","id"],["aria-hidden","true",1,"mat-mdc-form-field-required-marker","mdc-floating-label--required"],[3,"id"],[1,"mat-mdc-form-field-hint-spacer"]],template:function(t,o){if(t&1){let r=U();Z(Yo),ie(0,Jo,1,1,"ng-template",null,0,ii),d(2,"div",6,1),w("click",function(x){return S(r),k(o._control.onContainerClick(x))}),h(4,en,1,0,"div",7),d(5,"div",8),h(6,nn,2,2,"div",9),h(7,rn,3,0,"div",10),h(8,an,3,0,"div",11),d(9,"div",12),h(10,sn,1,1,null,13),C(11),c(),h(12,dn,3,0,"div",14),h(13,cn,3,0,"div",15),c(),h(14,mn,1,0,"div",16),c(),d(15,"div",17),h(16,pn,2,0,"div",18)(17,un,5,1,"div",19),c()}if(t&2){let r;s(2),D("mdc-text-field--filled",!o._hasOutline())("mdc-text-field--outlined",o._hasOutline())("mdc-text-field--no-label",!o._hasFloatingLabel())("mdc-text-field--disabled",o._control.disabled)("mdc-text-field--invalid",o._control.errorState),s(2),g(!o._hasOutline()&&!o._control.disabled?4:-1),s(2),g(o._hasOutline()?6:-1),s(),g(o._hasIconPrefix?7:-1),s(),g(o._hasTextPrefix?8:-1),s(2),g(!o._hasOutline()||o._forceDisplayInfixLabel()?10:-1),s(2),g(o._hasTextSuffix?12:-1),s(),g(o._hasIconSuffix?13:-1),s(),g(o._hasOutline()?-1:14),s(),D("mat-mdc-form-field-subscript-dynamic-size",o.subscriptSizing==="dynamic");let a=o._getSubscriptMessageType();s(),g((r=a)==="error"?16:r==="hint"?17:-1)}},dependencies:[Zi,to,ve,eo,Xi],styles:[`.mdc-text-field{display:inline-flex;align-items:baseline;padding:0 16px;position:relative;box-sizing:border-box;overflow:hidden;will-change:opacity,transform,color;border-top-left-radius:4px;border-top-right-radius:4px;border-bottom-right-radius:0;border-bottom-left-radius:0}.mdc-text-field__input{width:100%;min-width:0;border:none;border-radius:0;background:none;padding:0;-moz-appearance:none;-webkit-appearance:none;height:28px}.mdc-text-field__input::-webkit-calendar-picker-indicator,.mdc-text-field__input::-webkit-search-cancel-button{display:none}.mdc-text-field__input::-ms-clear{display:none}.mdc-text-field__input:focus{outline:none}.mdc-text-field__input:invalid{box-shadow:none}.mdc-text-field__input::placeholder{opacity:0}.mdc-text-field__input::-moz-placeholder{opacity:0}.mdc-text-field__input::-webkit-input-placeholder{opacity:0}.mdc-text-field__input:-ms-input-placeholder{opacity:0}.mdc-text-field--no-label .mdc-text-field__input::placeholder,.mdc-text-field--focused .mdc-text-field__input::placeholder{opacity:1}.mdc-text-field--no-label .mdc-text-field__input::-moz-placeholder,.mdc-text-field--focused .mdc-text-field__input::-moz-placeholder{opacity:1}.mdc-text-field--no-label .mdc-text-field__input::-webkit-input-placeholder,.mdc-text-field--focused .mdc-text-field__input::-webkit-input-placeholder{opacity:1}.mdc-text-field--no-label .mdc-text-field__input:-ms-input-placeholder,.mdc-text-field--focused .mdc-text-field__input:-ms-input-placeholder{opacity:1}.mdc-text-field--disabled:not(.mdc-text-field--no-label) .mdc-text-field__input.mat-mdc-input-disabled-interactive::placeholder{opacity:0}.mdc-text-field--disabled:not(.mdc-text-field--no-label) .mdc-text-field__input.mat-mdc-input-disabled-interactive::-moz-placeholder{opacity:0}.mdc-text-field--disabled:not(.mdc-text-field--no-label) .mdc-text-field__input.mat-mdc-input-disabled-interactive::-webkit-input-placeholder{opacity:0}.mdc-text-field--disabled:not(.mdc-text-field--no-label) .mdc-text-field__input.mat-mdc-input-disabled-interactive:-ms-input-placeholder{opacity:0}.mdc-text-field--outlined .mdc-text-field__input,.mdc-text-field--filled.mdc-text-field--no-label .mdc-text-field__input{height:100%}.mdc-text-field--outlined .mdc-text-field__input{display:flex;border:none !important;background-color:rgba(0,0,0,0)}.mdc-text-field--disabled .mdc-text-field__input{pointer-events:auto}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input{color:var(--mat-form-field-filled-input-text-color, var(--mat-sys-on-surface));caret-color:var(--mat-form-field-filled-caret-color, var(--mat-sys-primary))}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input::placeholder{color:var(--mat-form-field-filled-input-text-placeholder-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input::-moz-placeholder{color:var(--mat-form-field-filled-input-text-placeholder-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input::-webkit-input-placeholder{color:var(--mat-form-field-filled-input-text-placeholder-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input:-ms-input-placeholder{color:var(--mat-form-field-filled-input-text-placeholder-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input{color:var(--mat-form-field-outlined-input-text-color, var(--mat-sys-on-surface));caret-color:var(--mat-form-field-outlined-caret-color, var(--mat-sys-primary))}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input::placeholder{color:var(--mat-form-field-outlined-input-text-placeholder-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input::-moz-placeholder{color:var(--mat-form-field-outlined-input-text-placeholder-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input::-webkit-input-placeholder{color:var(--mat-form-field-outlined-input-text-placeholder-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input:-ms-input-placeholder{color:var(--mat-form-field-outlined-input-text-placeholder-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-text-field__input{caret-color:var(--mat-form-field-filled-error-caret-color, var(--mat-sys-error))}.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-text-field__input{caret-color:var(--mat-form-field-outlined-error-caret-color, var(--mat-sys-error))}.mdc-text-field--filled.mdc-text-field--disabled .mdc-text-field__input{color:var(--mat-form-field-filled-disabled-input-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mdc-text-field--outlined.mdc-text-field--disabled .mdc-text-field__input{color:var(--mat-form-field-outlined-disabled-input-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}@media(forced-colors: active){.mdc-text-field--disabled .mdc-text-field__input{background-color:Window}}.mdc-text-field--filled{height:56px;border-bottom-right-radius:0;border-bottom-left-radius:0;border-top-left-radius:var(--mat-form-field-filled-container-shape, var(--mat-sys-corner-extra-small));border-top-right-radius:var(--mat-form-field-filled-container-shape, var(--mat-sys-corner-extra-small))}.mdc-text-field--filled:not(.mdc-text-field--disabled){background-color:var(--mat-form-field-filled-container-color, var(--mat-sys-surface-variant))}.mdc-text-field--filled.mdc-text-field--disabled{background-color:var(--mat-form-field-filled-disabled-container-color, color-mix(in srgb, var(--mat-sys-on-surface) 4%, transparent))}.mdc-text-field--outlined{height:56px;overflow:visible;padding-right:max(16px,var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small)));padding-left:max(16px,var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small)) + 4px)}[dir=rtl] .mdc-text-field--outlined{padding-right:max(16px,var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small)) + 4px);padding-left:max(16px,var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small)))}.mdc-floating-label{position:absolute;left:0;transform-origin:left top;line-height:1.15rem;text-align:left;text-overflow:ellipsis;white-space:nowrap;cursor:text;overflow:hidden;will-change:transform}[dir=rtl] .mdc-floating-label{right:0;left:auto;transform-origin:right top;text-align:right}.mdc-text-field .mdc-floating-label{top:50%;transform:translateY(-50%);pointer-events:none}.mdc-notched-outline .mdc-floating-label{display:inline-block;position:relative;max-width:100%}.mdc-text-field--outlined .mdc-floating-label{left:4px;right:auto}[dir=rtl] .mdc-text-field--outlined .mdc-floating-label{left:auto;right:4px}.mdc-text-field--filled .mdc-floating-label{left:16px;right:auto}[dir=rtl] .mdc-text-field--filled .mdc-floating-label{left:auto;right:16px}.mdc-text-field--disabled .mdc-floating-label{cursor:default}@media(forced-colors: active){.mdc-text-field--disabled .mdc-floating-label{z-index:1}}.mdc-text-field--filled.mdc-text-field--no-label .mdc-floating-label{display:none}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-floating-label{color:var(--mat-form-field-filled-label-text-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label{color:var(--mat-form-field-filled-focus-label-text-color, var(--mat-sys-primary))}.mdc-text-field--filled:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-floating-label{color:var(--mat-form-field-filled-hover-label-text-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--filled.mdc-text-field--disabled .mdc-floating-label{color:var(--mat-form-field-filled-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--invalid .mdc-floating-label{color:var(--mat-form-field-filled-error-label-text-color, var(--mat-sys-error))}.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--invalid.mdc-text-field--focused .mdc-floating-label{color:var(--mat-form-field-filled-error-focus-label-text-color, var(--mat-sys-error))}.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--invalid:not(.mdc-text-field--disabled):hover .mdc-floating-label{color:var(--mat-form-field-filled-error-hover-label-text-color, var(--mat-sys-on-error-container))}.mdc-text-field--filled .mdc-floating-label{font-family:var(--mat-form-field-filled-label-text-font, var(--mat-sys-body-large-font));font-size:var(--mat-form-field-filled-label-text-size, var(--mat-sys-body-large-size));font-weight:var(--mat-form-field-filled-label-text-weight, var(--mat-sys-body-large-weight));letter-spacing:var(--mat-form-field-filled-label-text-tracking, var(--mat-sys-body-large-tracking))}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-floating-label{color:var(--mat-form-field-outlined-label-text-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label{color:var(--mat-form-field-outlined-focus-label-text-color, var(--mat-sys-primary))}.mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-floating-label{color:var(--mat-form-field-outlined-hover-label-text-color, var(--mat-sys-on-surface))}.mdc-text-field--outlined.mdc-text-field--disabled .mdc-floating-label{color:var(--mat-form-field-outlined-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--invalid .mdc-floating-label{color:var(--mat-form-field-outlined-error-label-text-color, var(--mat-sys-error))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--invalid.mdc-text-field--focused .mdc-floating-label{color:var(--mat-form-field-outlined-error-focus-label-text-color, var(--mat-sys-error))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--invalid:not(.mdc-text-field--disabled):hover .mdc-floating-label{color:var(--mat-form-field-outlined-error-hover-label-text-color, var(--mat-sys-on-error-container))}.mdc-text-field--outlined .mdc-floating-label{font-family:var(--mat-form-field-outlined-label-text-font, var(--mat-sys-body-large-font));font-size:var(--mat-form-field-outlined-label-text-size, var(--mat-sys-body-large-size));font-weight:var(--mat-form-field-outlined-label-text-weight, var(--mat-sys-body-large-weight));letter-spacing:var(--mat-form-field-outlined-label-text-tracking, var(--mat-sys-body-large-tracking))}.mdc-floating-label--float-above{cursor:auto;transform:translateY(-106%) scale(0.75)}.mdc-text-field--filled .mdc-floating-label--float-above{transform:translateY(-106%) scale(0.75)}.mdc-text-field--outlined .mdc-floating-label--float-above{transform:translateY(-37.25px) scale(1);font-size:.75rem}.mdc-notched-outline .mdc-floating-label--float-above{text-overflow:clip}.mdc-notched-outline--upgraded .mdc-floating-label--float-above{max-width:133.3333333333%}.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{transform:translateY(-34.75px) scale(0.75)}.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:1rem}.mdc-floating-label--required:not(.mdc-floating-label--hide-required-marker)::after{margin-left:1px;margin-right:0;content:"*"}[dir=rtl] .mdc-floating-label--required:not(.mdc-floating-label--hide-required-marker)::after{margin-left:0;margin-right:1px}.mdc-notched-outline{display:flex;position:absolute;top:0;right:0;left:0;box-sizing:border-box;width:100%;max-width:100%;height:100%;text-align:left;pointer-events:none}[dir=rtl] .mdc-notched-outline{text-align:right}.mdc-text-field--outlined .mdc-notched-outline{z-index:1}.mat-mdc-notch-piece{box-sizing:border-box;height:100%;pointer-events:none;border-top:1px solid;border-bottom:1px solid}.mdc-text-field--focused .mat-mdc-notch-piece{border-width:2px}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mat-mdc-notch-piece{border-color:var(--mat-form-field-outlined-outline-color, var(--mat-sys-outline));border-width:var(--mat-form-field-outlined-outline-width, 1px)}.mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mat-mdc-notch-piece{border-color:var(--mat-form-field-outlined-hover-outline-color, var(--mat-sys-on-surface))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mat-mdc-notch-piece{border-color:var(--mat-form-field-outlined-focus-outline-color, var(--mat-sys-primary))}.mdc-text-field--outlined.mdc-text-field--disabled .mat-mdc-notch-piece{border-color:var(--mat-form-field-outlined-disabled-outline-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--invalid .mat-mdc-notch-piece{border-color:var(--mat-form-field-outlined-error-outline-color, var(--mat-sys-error))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--invalid:not(.mdc-text-field--focused):hover .mdc-notched-outline .mat-mdc-notch-piece{border-color:var(--mat-form-field-outlined-error-hover-outline-color, var(--mat-sys-on-error-container))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--invalid.mdc-text-field--focused .mat-mdc-notch-piece{border-color:var(--mat-form-field-outlined-error-focus-outline-color, var(--mat-sys-error))}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline .mat-mdc-notch-piece{border-width:var(--mat-form-field-outlined-focus-outline-width, 2px)}.mdc-notched-outline__leading{border-left:1px solid;border-right:none;border-top-right-radius:0;border-bottom-right-radius:0;border-top-left-radius:var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small));border-bottom-left-radius:var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small))}.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading{width:max(12px,var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small)))}[dir=rtl] .mdc-notched-outline__leading{border-left:none;border-right:1px solid;border-bottom-left-radius:0;border-top-left-radius:0;border-top-right-radius:var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small));border-bottom-right-radius:var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small))}.mdc-notched-outline__trailing{flex-grow:1;border-left:none;border-right:1px solid;border-top-left-radius:0;border-bottom-left-radius:0;border-top-right-radius:var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small));border-bottom-right-radius:var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small))}[dir=rtl] .mdc-notched-outline__trailing{border-left:1px solid;border-right:none;border-top-right-radius:0;border-bottom-right-radius:0;border-top-left-radius:var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small));border-bottom-left-radius:var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small))}.mdc-notched-outline__notch{flex:0 0 auto;width:auto}.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__notch{max-width:min(var(--mat-form-field-notch-max-width, 100%),calc(100% - max(12px, var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small))) * 2))}.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch{max-width:min(100%,calc(100% - max(12px, var(--mat-form-field-outlined-container-shape, var(--mat-sys-corner-extra-small))) * 2))}.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:1px}.mdc-text-field--focused.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:2px}.mdc-notched-outline--notched .mdc-notched-outline__notch{padding-left:0;padding-right:8px;border-top:none}[dir=rtl] .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-left:8px;padding-right:0}.mdc-notched-outline--no-label .mdc-notched-outline__notch{display:none}.mdc-line-ripple::before,.mdc-line-ripple::after{position:absolute;bottom:0;left:0;width:100%;border-bottom-style:solid;content:""}.mdc-line-ripple::before{z-index:1;border-bottom-width:var(--mat-form-field-filled-active-indicator-height, 1px)}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-line-ripple::before{border-bottom-color:var(--mat-form-field-filled-active-indicator-color, var(--mat-sys-on-surface-variant))}.mdc-text-field--filled:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-line-ripple::before{border-bottom-color:var(--mat-form-field-filled-hover-active-indicator-color, var(--mat-sys-on-surface))}.mdc-text-field--filled.mdc-text-field--disabled .mdc-line-ripple::before{border-bottom-color:var(--mat-form-field-filled-disabled-active-indicator-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--invalid .mdc-line-ripple::before{border-bottom-color:var(--mat-form-field-filled-error-active-indicator-color, var(--mat-sys-error))}.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--invalid:not(.mdc-text-field--focused):hover .mdc-line-ripple::before{border-bottom-color:var(--mat-form-field-filled-error-hover-active-indicator-color, var(--mat-sys-on-error-container))}.mdc-line-ripple::after{transform:scaleX(0);opacity:0;z-index:2}.mdc-text-field--filled .mdc-line-ripple::after{border-bottom-width:var(--mat-form-field-filled-focus-active-indicator-height, 2px)}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-line-ripple::after{border-bottom-color:var(--mat-form-field-filled-focus-active-indicator-color, var(--mat-sys-primary))}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-line-ripple::after{border-bottom-color:var(--mat-form-field-filled-error-focus-active-indicator-color, var(--mat-sys-error))}.mdc-line-ripple--active::after{transform:scaleX(1);opacity:1}.mdc-line-ripple--deactivating::after{opacity:0}.mdc-text-field--disabled{pointer-events:none}.mat-mdc-form-field-textarea-control{vertical-align:middle;resize:vertical;box-sizing:border-box;height:auto;margin:0;padding:0;border:none;overflow:auto}.mat-mdc-form-field-input-control.mat-mdc-form-field-input-control{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font:inherit;letter-spacing:inherit;text-decoration:inherit;text-transform:inherit;border:none}.mat-mdc-form-field .mat-mdc-floating-label.mdc-floating-label{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;line-height:normal;pointer-events:all;will-change:auto}.mat-mdc-form-field:not(.mat-form-field-disabled) .mat-mdc-floating-label.mdc-floating-label{cursor:inherit}.mdc-text-field--no-label:not(.mdc-text-field--textarea) .mat-mdc-form-field-input-control.mdc-text-field__input,.mat-mdc-text-field-wrapper .mat-mdc-form-field-input-control{height:auto}.mat-mdc-text-field-wrapper .mat-mdc-form-field-input-control.mdc-text-field__input[type=color]{height:23px}.mat-mdc-text-field-wrapper{height:auto;flex:auto;will-change:auto}.mat-mdc-form-field-has-icon-prefix .mat-mdc-text-field-wrapper{padding-left:0;--mat-mdc-form-field-label-offset-x: -16px}.mat-mdc-form-field-has-icon-suffix .mat-mdc-text-field-wrapper{padding-right:0}[dir=rtl] .mat-mdc-text-field-wrapper{padding-left:16px;padding-right:16px}[dir=rtl] .mat-mdc-form-field-has-icon-suffix .mat-mdc-text-field-wrapper{padding-left:0}[dir=rtl] .mat-mdc-form-field-has-icon-prefix .mat-mdc-text-field-wrapper{padding-right:0}.mat-form-field-disabled .mdc-text-field__input::placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-form-field-disabled .mdc-text-field__input::-moz-placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-form-field-disabled .mdc-text-field__input::-webkit-input-placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-form-field-disabled .mdc-text-field__input:-ms-input-placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-mdc-form-field-label-always-float .mdc-text-field__input::placeholder{transition-delay:40ms;transition-duration:110ms;opacity:1}.mat-mdc-text-field-wrapper .mat-mdc-form-field-infix .mat-mdc-floating-label{left:auto;right:auto}.mat-mdc-text-field-wrapper.mdc-text-field--outlined .mdc-text-field__input{display:inline-block}.mat-mdc-form-field .mat-mdc-text-field-wrapper.mdc-text-field .mdc-notched-outline__notch{padding-top:0}.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field .mdc-notched-outline__notch{border-left:1px solid rgba(0,0,0,0)}[dir=rtl] .mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field .mdc-notched-outline__notch{border-left:none;border-right:1px solid rgba(0,0,0,0)}.mat-mdc-form-field-infix{min-height:var(--mat-form-field-container-height, 56px);padding-top:var(--mat-form-field-filled-with-label-container-padding-top, 24px);padding-bottom:var(--mat-form-field-filled-with-label-container-padding-bottom, 8px)}.mdc-text-field--outlined .mat-mdc-form-field-infix,.mdc-text-field--no-label .mat-mdc-form-field-infix{padding-top:var(--mat-form-field-container-vertical-padding, 16px);padding-bottom:var(--mat-form-field-container-vertical-padding, 16px)}.mat-mdc-text-field-wrapper .mat-mdc-form-field-flex .mat-mdc-floating-label{top:calc(var(--mat-form-field-container-height, 56px)/2)}.mdc-text-field--filled .mat-mdc-floating-label{display:var(--mat-form-field-filled-label-display, block)}.mat-mdc-text-field-wrapper.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{--mat-mdc-form-field-label-transform: translateY(calc(calc(6.75px + var(--mat-form-field-container-height, 56px) / 2) * -1)) scale(var(--mat-mdc-form-field-floating-label-scale, 0.75));transform:var(--mat-mdc-form-field-label-transform)}@keyframes _mat-form-field-subscript-animation{from{opacity:0;transform:translateY(-5px)}to{opacity:1;transform:translateY(0)}}.mat-mdc-form-field-subscript-wrapper{box-sizing:border-box;width:100%;position:relative}.mat-mdc-form-field-hint-wrapper,.mat-mdc-form-field-error-wrapper{position:absolute;top:0;left:0;right:0;padding:0 16px;opacity:1;transform:translateY(0);animation:_mat-form-field-subscript-animation 0ms cubic-bezier(0.55, 0, 0.55, 0.2)}.mat-mdc-form-field-subscript-dynamic-size .mat-mdc-form-field-hint-wrapper,.mat-mdc-form-field-subscript-dynamic-size .mat-mdc-form-field-error-wrapper{position:static}.mat-mdc-form-field-bottom-align::before{content:"";display:inline-block;height:16px}.mat-mdc-form-field-bottom-align.mat-mdc-form-field-subscript-dynamic-size::before{content:unset}.mat-mdc-form-field-hint-end{order:1}.mat-mdc-form-field-hint-wrapper{display:flex}.mat-mdc-form-field-hint-spacer{flex:1 0 1em}.mat-mdc-form-field-error{display:block;color:var(--mat-form-field-error-text-color, var(--mat-sys-error))}.mat-mdc-form-field-subscript-wrapper,.mat-mdc-form-field-bottom-align::before{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mat-form-field-subscript-text-font, var(--mat-sys-body-small-font));line-height:var(--mat-form-field-subscript-text-line-height, var(--mat-sys-body-small-line-height));font-size:var(--mat-form-field-subscript-text-size, var(--mat-sys-body-small-size));letter-spacing:var(--mat-form-field-subscript-text-tracking, var(--mat-sys-body-small-tracking));font-weight:var(--mat-form-field-subscript-text-weight, var(--mat-sys-body-small-weight))}.mat-mdc-form-field-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;opacity:0;pointer-events:none;background-color:var(--mat-form-field-state-layer-color, var(--mat-sys-on-surface))}.mat-mdc-text-field-wrapper:hover .mat-mdc-form-field-focus-overlay{opacity:var(--mat-form-field-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-form-field.mat-focused .mat-mdc-form-field-focus-overlay{opacity:var(--mat-form-field-focus-state-layer-opacity, 0)}select.mat-mdc-form-field-input-control{-moz-appearance:none;-webkit-appearance:none;background-color:rgba(0,0,0,0);display:inline-flex;box-sizing:border-box}select.mat-mdc-form-field-input-control:not(:disabled){cursor:pointer}select.mat-mdc-form-field-input-control:not(.mat-mdc-native-select-inline) option{color:var(--mat-form-field-select-option-text-color, var(--mat-sys-neutral10))}select.mat-mdc-form-field-input-control:not(.mat-mdc-native-select-inline) option:disabled{color:var(--mat-form-field-select-disabled-option-text-color, color-mix(in srgb, var(--mat-sys-neutral10) 38%, transparent))}.mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-infix::after{content:"";width:0;height:0;border-left:5px solid rgba(0,0,0,0);border-right:5px solid rgba(0,0,0,0);border-top:5px solid;position:absolute;right:0;top:50%;margin-top:-2.5px;pointer-events:none;color:var(--mat-form-field-enabled-select-arrow-color, var(--mat-sys-on-surface-variant))}[dir=rtl] .mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-infix::after{right:auto;left:0}.mat-mdc-form-field-type-mat-native-select.mat-focused .mat-mdc-form-field-infix::after{color:var(--mat-form-field-focus-select-arrow-color, var(--mat-sys-primary))}.mat-mdc-form-field-type-mat-native-select.mat-form-field-disabled .mat-mdc-form-field-infix::after{color:var(--mat-form-field-disabled-select-arrow-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-input-control{padding-right:15px}[dir=rtl] .mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-input-control{padding-right:0;padding-left:15px}@media(forced-colors: active){.mat-form-field-appearance-fill .mat-mdc-text-field-wrapper{outline:solid 1px}}@media(forced-colors: active){.mat-form-field-appearance-fill.mat-form-field-disabled .mat-mdc-text-field-wrapper{outline-color:GrayText}}@media(forced-colors: active){.mat-form-field-appearance-fill.mat-focused .mat-mdc-text-field-wrapper{outline:dashed 3px}}@media(forced-colors: active){.mat-mdc-form-field.mat-focused .mdc-notched-outline{border:dashed 3px}}.mat-mdc-form-field-input-control[type=date],.mat-mdc-form-field-input-control[type=datetime],.mat-mdc-form-field-input-control[type=datetime-local],.mat-mdc-form-field-input-control[type=month],.mat-mdc-form-field-input-control[type=week],.mat-mdc-form-field-input-control[type=time]{line-height:1}.mat-mdc-form-field-input-control::-webkit-datetime-edit{line-height:1;padding:0;margin-bottom:-2px}.mat-mdc-form-field{--mat-mdc-form-field-floating-label-scale: 0.75;display:inline-flex;flex-direction:column;min-width:0;text-align:left;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mat-form-field-container-text-font, var(--mat-sys-body-large-font));line-height:var(--mat-form-field-container-text-line-height, var(--mat-sys-body-large-line-height));font-size:var(--mat-form-field-container-text-size, var(--mat-sys-body-large-size));letter-spacing:var(--mat-form-field-container-text-tracking, var(--mat-sys-body-large-tracking));font-weight:var(--mat-form-field-container-text-weight, var(--mat-sys-body-large-weight))}.mat-mdc-form-field .mdc-text-field--outlined .mdc-floating-label--float-above{font-size:calc(var(--mat-form-field-outlined-label-text-populated-size)*var(--mat-mdc-form-field-floating-label-scale))}.mat-mdc-form-field .mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:var(--mat-form-field-outlined-label-text-populated-size)}[dir=rtl] .mat-mdc-form-field{text-align:right}.mat-mdc-form-field-flex{display:inline-flex;align-items:baseline;box-sizing:border-box;width:100%}.mat-mdc-text-field-wrapper{width:100%;z-index:0}.mat-mdc-form-field-icon-prefix,.mat-mdc-form-field-icon-suffix{align-self:center;line-height:0;pointer-events:auto;position:relative;z-index:1}.mat-mdc-form-field-icon-prefix>.mat-icon,.mat-mdc-form-field-icon-suffix>.mat-icon{padding:0 12px;box-sizing:content-box}.mat-mdc-form-field-icon-prefix{color:var(--mat-form-field-leading-icon-color, var(--mat-sys-on-surface-variant))}.mat-form-field-disabled .mat-mdc-form-field-icon-prefix{color:var(--mat-form-field-disabled-leading-icon-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-trailing-icon-color, var(--mat-sys-on-surface-variant))}.mat-form-field-disabled .mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-disabled-trailing-icon-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-form-field-invalid .mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-error-trailing-icon-color, var(--mat-sys-error))}.mat-form-field-invalid:not(.mat-focused):not(.mat-form-field-disabled) .mat-mdc-text-field-wrapper:hover .mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-error-hover-trailing-icon-color, var(--mat-sys-on-error-container))}.mat-form-field-invalid.mat-focused .mat-mdc-text-field-wrapper .mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-error-focus-trailing-icon-color, var(--mat-sys-error))}.mat-mdc-form-field-icon-prefix,[dir=rtl] .mat-mdc-form-field-icon-suffix{padding:0 4px 0 0}.mat-mdc-form-field-icon-suffix,[dir=rtl] .mat-mdc-form-field-icon-prefix{padding:0 0 0 4px}.mat-mdc-form-field-subscript-wrapper .mat-icon,.mat-mdc-form-field label .mat-icon{width:1em;height:1em;font-size:inherit}.mat-mdc-form-field-infix{flex:auto;min-width:0;width:180px;position:relative;box-sizing:border-box}.mat-mdc-form-field-infix:has(textarea[cols]){width:auto}.mat-mdc-form-field .mdc-notched-outline__notch{margin-left:-1px;-webkit-clip-path:inset(-9em -999em -9em 1px);clip-path:inset(-9em -999em -9em 1px)}[dir=rtl] .mat-mdc-form-field .mdc-notched-outline__notch{margin-left:0;margin-right:-1px;-webkit-clip-path:inset(-9em 1px -9em -999em);clip-path:inset(-9em 1px -9em -999em)}.mat-mdc-form-field.mat-form-field-animations-enabled .mdc-floating-label{transition:transform 150ms cubic-bezier(0.4, 0, 0.2, 1),color 150ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field.mat-form-field-animations-enabled .mdc-text-field__input{transition:opacity 150ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field.mat-form-field-animations-enabled .mdc-text-field__input::placeholder{transition:opacity 67ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field.mat-form-field-animations-enabled .mdc-text-field__input::-moz-placeholder{transition:opacity 67ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field.mat-form-field-animations-enabled .mdc-text-field__input::-webkit-input-placeholder{transition:opacity 67ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field.mat-form-field-animations-enabled .mdc-text-field__input:-ms-input-placeholder{transition:opacity 67ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field.mat-form-field-animations-enabled.mdc-text-field--no-label .mdc-text-field__input::placeholder,.mat-mdc-form-field.mat-form-field-animations-enabled.mdc-text-field--focused .mdc-text-field__input::placeholder{transition-delay:40ms;transition-duration:110ms}.mat-mdc-form-field.mat-form-field-animations-enabled.mdc-text-field--no-label .mdc-text-field__input::-moz-placeholder,.mat-mdc-form-field.mat-form-field-animations-enabled.mdc-text-field--focused .mdc-text-field__input::-moz-placeholder{transition-delay:40ms;transition-duration:110ms}.mat-mdc-form-field.mat-form-field-animations-enabled.mdc-text-field--no-label .mdc-text-field__input::-webkit-input-placeholder,.mat-mdc-form-field.mat-form-field-animations-enabled.mdc-text-field--focused .mdc-text-field__input::-webkit-input-placeholder{transition-delay:40ms;transition-duration:110ms}.mat-mdc-form-field.mat-form-field-animations-enabled.mdc-text-field--no-label .mdc-text-field__input:-ms-input-placeholder,.mat-mdc-form-field.mat-form-field-animations-enabled.mdc-text-field--focused .mdc-text-field__input:-ms-input-placeholder{transition-delay:40ms;transition-duration:110ms}.mat-mdc-form-field.mat-form-field-animations-enabled .mdc-text-field--filled:not(.mdc-ripple-upgraded):focus .mdc-text-field__ripple::before{transition-duration:75ms}.mat-mdc-form-field.mat-form-field-animations-enabled .mdc-line-ripple::after{transition:transform 180ms cubic-bezier(0.4, 0, 0.2, 1),opacity 180ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field.mat-form-field-animations-enabled .mat-mdc-form-field-hint-wrapper,.mat-mdc-form-field.mat-form-field-animations-enabled .mat-mdc-form-field-error-wrapper{animation-duration:300ms}.mdc-notched-outline .mdc-floating-label{max-width:calc(100% + 1px)}.mdc-notched-outline--upgraded .mdc-floating-label--float-above{max-width:calc(133.3333333333% + 1px)}
|
|
12
|
+
`],encapsulation:2,changeDetection:0})}return n})();var On=["panel"],wn=["*"];function Sn(n,i){if(n&1&&(Ee(0,"div",1,0),C(2),Me()),n&2){let e=i.id,t=m();ce(t._classList),D("mat-mdc-autocomplete-visible",t.showPanel)("mat-mdc-autocomplete-hidden",!t.showPanel)("mat-autocomplete-panel-animations-enabled",!t._animationsDisabled)("mat-primary",t._color==="primary")("mat-accent",t._color==="accent")("mat-warn",t._color==="warn"),se("id",t.id),W("aria-label",t.ariaLabel||null)("aria-labelledby",t._getPanelAriaLabelledby(e))}}var St=class{source;option;constructor(i,e){this.source=i,this.option=e}},co=new F("mat-autocomplete-default-options",{providedIn:"root",factory:kn});function kn(){return{autoActiveFirstOption:!1,autoSelectActiveOption:!1,hideSingleSelectionIndicator:!1,requireSelection:!1,hasBackdrop:!1}}var mo=(()=>{class n{_changeDetectorRef=l(pe);_elementRef=l(A);_defaults=l(co);_animationsDisabled=ee();_activeOptionChanges=ue.EMPTY;_keyManager;showPanel=!1;get isOpen(){return this._isOpen&&this.showPanel}_isOpen=!1;_latestOpeningTrigger;_setColor(e){this._color=e,this._changeDetectorRef.markForCheck()}_color;template;panel;options;optionGroups;ariaLabel;ariaLabelledby;displayWith=null;autoActiveFirstOption;autoSelectActiveOption;requireSelection;panelWidth;disableRipple;optionSelected=new b;opened=new b;closed=new b;optionActivated=new b;set classList(e){this._classList=e,this._elementRef.nativeElement.className=""}_classList;get hideSingleSelectionIndicator(){return this._hideSingleSelectionIndicator}set hideSingleSelectionIndicator(e){this._hideSingleSelectionIndicator=e,this._syncParentProperties()}_hideSingleSelectionIndicator;_syncParentProperties(){if(this.options)for(let e of this.options)e._changeDetectorRef.markForCheck()}id=l(re).getId("mat-autocomplete-");inertGroups;constructor(){let e=l(xe);this.inertGroups=e?.SAFARI||!1,this.autoActiveFirstOption=!!this._defaults.autoActiveFirstOption,this.autoSelectActiveOption=!!this._defaults.autoSelectActiveOption,this.requireSelection=!!this._defaults.requireSelection,this._hideSingleSelectionIndicator=this._defaults.hideSingleSelectionIndicator??!1}ngAfterContentInit(){this._keyManager=new vi(this.options).withWrap().skipPredicate(this._skipPredicate),this._activeOptionChanges=this._keyManager.change.subscribe(e=>{this.isOpen&&this.optionActivated.emit({source:this,option:this.options.toArray()[e]||null})}),this._setVisibility()}ngOnDestroy(){this._keyManager?.destroy(),this._activeOptionChanges.unsubscribe()}_setScrollTop(e){this.panel&&(this.panel.nativeElement.scrollTop=e)}_getScrollTop(){return this.panel?this.panel.nativeElement.scrollTop:0}_setVisibility(){this.showPanel=!!this.options?.length,this._changeDetectorRef.markForCheck()}_emitSelectEvent(e){let t=new St(this,e);this.optionSelected.emit(t)}_getPanelAriaLabelledby(e){if(this.ariaLabel)return null;let t=e?e+" ":"";return this.ariaLabelledby?t+this.ariaLabelledby:e}_skipPredicate(){return!1}static \u0275fac=function(t){return new(t||n)};static \u0275cmp=E({type:n,selectors:[["mat-autocomplete"]],contentQueries:function(t,o,r){if(t&1&&(q(r,Ce,5),q(r,xt,5)),t&2){let a;_(a=v())&&(o.options=a),_(a=v())&&(o.optionGroups=a)}},viewQuery:function(t,o){if(t&1&&(I(Qt,7),I(On,5)),t&2){let r;_(r=v())&&(o.template=r.first),_(r=v())&&(o.panel=r.first)}},hostAttrs:[1,"mat-mdc-autocomplete"],inputs:{ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"],displayWith:"displayWith",autoActiveFirstOption:[2,"autoActiveFirstOption","autoActiveFirstOption",J],autoSelectActiveOption:[2,"autoSelectActiveOption","autoSelectActiveOption",J],requireSelection:[2,"requireSelection","requireSelection",J],panelWidth:"panelWidth",disableRipple:[2,"disableRipple","disableRipple",J],classList:[0,"class","classList"],hideSingleSelectionIndicator:[2,"hideSingleSelectionIndicator","hideSingleSelectionIndicator",J]},outputs:{optionSelected:"optionSelected",opened:"opened",closed:"closed",optionActivated:"optionActivated"},exportAs:["matAutocomplete"],features:[$([{provide:yt,useExisting:n}])],ngContentSelectors:wn,decls:1,vars:0,consts:[["panel",""],["role","listbox",1,"mat-mdc-autocomplete-panel","mdc-menu-surface","mdc-menu-surface--open",3,"id"]],template:function(t,o){t&1&&(Z(),Gt(0,Sn,3,17,"ng-template"))},styles:[`div.mat-mdc-autocomplete-panel{width:100%;max-height:256px;visibility:hidden;transform-origin:center top;overflow:auto;padding:8px 0;box-sizing:border-box;position:relative;border-radius:var(--mat-autocomplete-container-shape, var(--mat-sys-corner-extra-small));box-shadow:var(--mat-autocomplete-container-elevation-shadow, 0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12));background-color:var(--mat-autocomplete-background-color, var(--mat-sys-surface-container))}@media(forced-colors: active){div.mat-mdc-autocomplete-panel{outline:solid 1px}}.cdk-overlay-pane:not(.mat-mdc-autocomplete-panel-above) div.mat-mdc-autocomplete-panel{border-top-left-radius:0;border-top-right-radius:0}.mat-mdc-autocomplete-panel-above div.mat-mdc-autocomplete-panel{border-bottom-left-radius:0;border-bottom-right-radius:0;transform-origin:center bottom}div.mat-mdc-autocomplete-panel.mat-mdc-autocomplete-visible{visibility:visible}div.mat-mdc-autocomplete-panel.mat-mdc-autocomplete-hidden{visibility:hidden;pointer-events:none}@keyframes _mat-autocomplete-enter{from{opacity:0;transform:scaleY(0.8)}to{opacity:1;transform:none}}.mat-autocomplete-panel-animations-enabled{animation:_mat-autocomplete-enter 120ms cubic-bezier(0, 0, 0.2, 1)}mat-autocomplete{display:none}
|
|
13
|
+
`],encapsulation:2,changeDetection:0})}return n})(),sl=(()=>{class n{elementRef=l(A);constructor(){}static \u0275fac=function(t){return new(t||n)};static \u0275dir=R({type:n,selectors:[["","matAutocompleteOrigin",""]],exportAs:["matAutocompleteOrigin"]})}return n})(),En={provide:Ge,useExisting:Ve(()=>kt),multi:!0};var po=new F("mat-autocomplete-scroll-strategy",{providedIn:"root",factory:()=>{let n=l(be);return()=>ht(n)}});function Mn(n){let i=l(be);return()=>ht(i)}var Tn={provide:po,deps:[],useFactory:Mn},kt=(()=>{class n{_environmentInjector=l(Ht);_element=l(A);_injector=l(be);_viewContainerRef=l(Wt);_zone=l(j);_changeDetectorRef=l(pe);_dir=l(Je,{optional:!0});_formField=l(wt,{optional:!0,host:!0});_viewportRuler=l(yi);_scrollStrategy=l(po);_renderer=l(Be);_animationsDisabled=ee();_defaults=l(co,{optional:!0});_overlayRef;_portal;_componentDestroyed=!1;_initialized=new N;_keydownSubscription;_outsideClickSubscription;_cleanupWindowBlur;_previousValue;_valueOnAttach;_valueOnLastKeydown;_positionStrategy;_manuallyFloatingLabel=!1;_closingActionsSubscription;_viewportSubscription=ue.EMPTY;_breakpointObserver=l(_i);_handsetLandscapeSubscription=ue.EMPTY;_canOpenOnNextFocus=!0;_valueBeforeAutoSelection;_pendingAutoselectedOption;_closeKeyEventStream=new N;_overlayPanelClass=pi(this._defaults?.overlayPanelClass||[]);_windowBlurHandler=()=>{this._canOpenOnNextFocus=this.panelOpen||!this._hasFocus()};_onChange=()=>{};_onTouched=()=>{};autocomplete;position="auto";connectedTo;autocompleteAttribute="off";autocompleteDisabled;constructor(){}_aboveClass="mat-mdc-autocomplete-panel-above";ngAfterViewInit(){this._initialized.next(),this._initialized.complete(),this._cleanupWindowBlur=this._renderer.listen("window","blur",this._windowBlurHandler)}ngOnChanges(e){e.position&&this._positionStrategy&&(this._setStrategyPositions(this._positionStrategy),this.panelOpen&&this._overlayRef.updatePosition())}ngOnDestroy(){this._cleanupWindowBlur?.(),this._handsetLandscapeSubscription.unsubscribe(),this._viewportSubscription.unsubscribe(),this._componentDestroyed=!0,this._destroyPanel(),this._closeKeyEventStream.complete(),this._clearFromModal()}get panelOpen(){return this._overlayAttached&&this.autocomplete.showPanel}_overlayAttached=!1;openPanel(){this._openPanelInternal()}closePanel(){this._resetLabel(),this._overlayAttached&&(this.panelOpen&&this._zone.run(()=>{this.autocomplete.closed.emit()}),this.autocomplete._latestOpeningTrigger===this&&(this.autocomplete._isOpen=!1,this.autocomplete._latestOpeningTrigger=null),this._overlayAttached=!1,this._pendingAutoselectedOption=null,this._overlayRef&&this._overlayRef.hasAttached()&&(this._overlayRef.detach(),this._closingActionsSubscription.unsubscribe()),this._updatePanelState(),this._componentDestroyed||this._changeDetectorRef.detectChanges(),this._trackedModal&&Ze(this._trackedModal,"aria-owns",this.autocomplete.id))}updatePosition(){this._overlayAttached&&this._overlayRef.updatePosition()}get panelClosingActions(){return he(this.optionSelections,this.autocomplete._keyManager.tabOut.pipe(Q(()=>this._overlayAttached)),this._closeKeyEventStream,this._getOutsideClickStream(),this._overlayRef?this._overlayRef.detachments().pipe(Q(()=>this._overlayAttached)):V()).pipe(O(e=>e instanceof De?e:null))}optionSelections=Pt(()=>{let e=this.autocomplete?this.autocomplete.options:null;return e?e.changes.pipe(Ne(e),y(()=>he(...e.map(t=>t.onSelectionChange)))):this._initialized.pipe(y(()=>this.optionSelections))});get activeOption(){return this.autocomplete&&this.autocomplete._keyManager?this.autocomplete._keyManager.activeItem:null}_getOutsideClickStream(){return new we(e=>{let t=r=>{let a=Ke(r),x=this._formField?this._formField.getConnectedOverlayOrigin().nativeElement:null,te=this.connectedTo?this.connectedTo.elementRef.nativeElement:null;this._overlayAttached&&a!==this._element.nativeElement&&!this._hasFocus()&&(!x||!x.contains(a))&&(!te||!te.contains(a))&&this._overlayRef&&!this._overlayRef.overlayElement.contains(a)&&e.next(r)},o=[this._renderer.listen("document","click",t),this._renderer.listen("document","auxclick",t),this._renderer.listen("document","touchend",t)];return()=>{o.forEach(r=>r())}})}writeValue(e){Promise.resolve(null).then(()=>this._assignOptionValue(e))}registerOnChange(e){this._onChange=e}registerOnTouched(e){this._onTouched=e}setDisabledState(e){this._element.nativeElement.disabled=e}_handleKeydown(e){let t=e,o=t.keyCode,r=ye(t);if(o===27&&!r&&t.preventDefault(),this._valueOnLastKeydown=this._element.nativeElement.value,this.activeOption&&o===13&&this.panelOpen&&!r)this.activeOption._selectViaInteraction(),this._resetActiveItem(),t.preventDefault();else if(this.autocomplete){let a=this.autocomplete._keyManager.activeItem,x=o===38||o===40;o===9||x&&!r&&this.panelOpen?this.autocomplete._keyManager.onKeydown(t):x&&this._canOpen()&&this._openPanelInternal(this._valueOnLastKeydown),(x||this.autocomplete._keyManager.activeItem!==a)&&(this._scrollToOption(this.autocomplete._keyManager.activeItemIndex||0),this.autocomplete.autoSelectActiveOption&&this.activeOption&&(this._pendingAutoselectedOption||(this._valueBeforeAutoSelection=this._valueOnLastKeydown),this._pendingAutoselectedOption=this.activeOption,this._assignOptionValue(this.activeOption.value)))}}_handleInput(e){let t=e.target,o=t.value;if(t.type==="number"&&(o=o==""?null:parseFloat(o)),this._previousValue!==o){if(this._previousValue=o,this._pendingAutoselectedOption=null,(!this.autocomplete||!this.autocomplete.requireSelection)&&this._onChange(o),!o)this._clearPreviousSelectedOption(null,!1);else if(this.panelOpen&&!this.autocomplete.requireSelection){let r=this.autocomplete.options?.find(a=>a.selected);if(r){let a=this._getDisplayValue(r.value);o!==a&&r.deselect(!1)}}if(this._canOpen()&&this._hasFocus()){let r=this._valueOnLastKeydown??this._element.nativeElement.value;this._valueOnLastKeydown=null,this._openPanelInternal(r)}}}_handleFocus(){this._canOpenOnNextFocus?this._canOpen()&&(this._previousValue=this._element.nativeElement.value,this._attachOverlay(this._previousValue),this._floatLabel(!0)):this._canOpenOnNextFocus=!0}_handleClick(){this._canOpen()&&!this.panelOpen&&this._openPanelInternal()}_hasFocus(){return ui()===this._element.nativeElement}_floatLabel(e=!1){this._formField&&this._formField.floatLabel==="auto"&&(e?this._formField._animateAndLockLabel():this._formField.floatLabel="always",this._manuallyFloatingLabel=!0)}_resetLabel(){this._manuallyFloatingLabel&&(this._formField&&(this._formField.floatLabel="auto"),this._manuallyFloatingLabel=!1)}_subscribeToClosingActions(){let e=new we(o=>{qt(()=>{o.next()},{injector:this._environmentInjector})}),t=this.autocomplete.options?.changes.pipe(X(()=>this._positionStrategy.reapplyLastPosition()),Lt(0))??V();return he(e,t).pipe(y(()=>this._zone.run(()=>{let o=this.panelOpen;return this._resetActiveItem(),this._updatePanelState(),this._changeDetectorRef.detectChanges(),this.panelOpen&&this._overlayRef.updatePosition(),o!==this.panelOpen&&(this.panelOpen?this._emitOpened():this.autocomplete.closed.emit()),this.panelClosingActions})),ae(1)).subscribe(o=>this._setValueAndClose(o))}_emitOpened(){this.autocomplete.opened.emit()}_destroyPanel(){this._overlayRef&&(this.closePanel(),this._overlayRef.dispose(),this._overlayRef=null)}_getDisplayValue(e){let t=this.autocomplete;return t&&t.displayWith?t.displayWith(e):e}_assignOptionValue(e){let t=this._getDisplayValue(e);e==null&&this._clearPreviousSelectedOption(null,!1),this._updateNativeInputValue(t??"")}_updateNativeInputValue(e){this._formField?this._formField._control.value=e:this._element.nativeElement.value=e,this._previousValue=e}_setValueAndClose(e){let t=this.autocomplete,o=e?e.source:this._pendingAutoselectedOption;o?(this._clearPreviousSelectedOption(o),this._assignOptionValue(o.value),this._onChange(o.value),t._emitSelectEvent(o),this._element.nativeElement.focus()):t.requireSelection&&this._element.nativeElement.value!==this._valueOnAttach&&(this._clearPreviousSelectedOption(null),this._assignOptionValue(null),this._onChange(null)),this.closePanel()}_clearPreviousSelectedOption(e,t){this.autocomplete?.options?.forEach(o=>{o!==e&&o.selected&&o.deselect(t)})}_openPanelInternal(e=this._element.nativeElement.value){if(this._attachOverlay(e),this._floatLabel(),this._trackedModal){let t=this.autocomplete.id;ut(this._trackedModal,"aria-owns",t)}}_attachOverlay(e){this.autocomplete;let t=this._overlayRef;t?(this._positionStrategy.setOrigin(this._getConnectedElement()),t.updateSize({width:this._getPanelWidth()})):(this._portal=new Ci(this.autocomplete.template,this._viewContainerRef,{id:this._formField?.getLabelId()}),t=Si(this._injector,this._getOverlayConfig()),this._overlayRef=t,this._viewportSubscription=this._viewportRuler.change().subscribe(()=>{this.panelOpen&&t&&t.updateSize({width:this._getPanelWidth()})}),this._handsetLandscapeSubscription=this._breakpointObserver.observe(Ei.HandsetLandscape).subscribe(r=>{r.matches?this._positionStrategy.withFlexibleDimensions(!0).withGrowAfterOpen(!0).withViewportMargin(8):this._positionStrategy.withFlexibleDimensions(!1).withGrowAfterOpen(!1).withViewportMargin(0)})),t&&!t.hasAttached()&&(t.attach(this._portal),this._valueOnAttach=e,this._valueOnLastKeydown=null,this._closingActionsSubscription=this._subscribeToClosingActions());let o=this.panelOpen;this.autocomplete._isOpen=this._overlayAttached=!0,this.autocomplete._latestOpeningTrigger=this,this.autocomplete._setColor(this._formField?.color),this._updatePanelState(),this._applyModalPanelOwnership(),this.panelOpen&&o!==this.panelOpen&&this._emitOpened()}_handlePanelKeydown=e=>{(e.keyCode===27&&!ye(e)||e.keyCode===38&&ye(e,"altKey"))&&(this._pendingAutoselectedOption&&(this._updateNativeInputValue(this._valueBeforeAutoSelection??""),this._pendingAutoselectedOption=null),this._closeKeyEventStream.next(),this._resetActiveItem(),e.stopPropagation(),e.preventDefault())};_updatePanelState(){if(this.autocomplete._setVisibility(),this.panelOpen){let e=this._overlayRef;this._keydownSubscription||(this._keydownSubscription=e.keydownEvents().subscribe(this._handlePanelKeydown)),this._outsideClickSubscription||(this._outsideClickSubscription=e.outsidePointerEvents().subscribe())}else this._keydownSubscription?.unsubscribe(),this._outsideClickSubscription?.unsubscribe(),this._keydownSubscription=this._outsideClickSubscription=null}_getOverlayConfig(){return new Oi({positionStrategy:this._getOverlayPosition(),scrollStrategy:this._scrollStrategy(),width:this._getPanelWidth(),direction:this._dir??void 0,hasBackdrop:this._defaults?.hasBackdrop,backdropClass:this._defaults?.backdropClass||"cdk-overlay-transparent-backdrop",panelClass:this._overlayPanelClass,disableAnimations:this._animationsDisabled})}_getOverlayPosition(){let e=wi(this._injector,this._getConnectedElement()).withFlexibleDimensions(!1).withPush(!1);return this._setStrategyPositions(e),this._positionStrategy=e,e}_setStrategyPositions(e){let t=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"}],o=this._aboveClass,r=[{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom",panelClass:o},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom",panelClass:o}],a;this.position==="above"?a=r:this.position==="below"?a=t:a=[...t,...r],e.withPositions(a)}_getConnectedElement(){return this.connectedTo?this.connectedTo.elementRef:this._formField?this._formField.getConnectedOverlayOrigin():this._element}_getPanelWidth(){return this.autocomplete.panelWidth||this._getHostWidth()}_getHostWidth(){return this._getConnectedElement().nativeElement.getBoundingClientRect().width}_resetActiveItem(){let e=this.autocomplete;if(e.autoActiveFirstOption){let t=-1;for(let o=0;o<e.options.length;o++)if(!e.options.get(o).disabled){t=o;break}e._keyManager.setActiveItem(t)}else e._keyManager.setActiveItem(-1)}_canOpen(){let e=this._element.nativeElement;return!e.readOnly&&!e.disabled&&!this.autocompleteDisabled}_scrollToOption(e){let t=this.autocomplete,o=Bi(e,t.options,t.optionGroups);if(e===0&&o===1)t._setScrollTop(0);else if(t.panel){let r=t.options.toArray()[e];if(r){let a=r._getHostElement(),x=ji(a.offsetTop,a.offsetHeight,t._getScrollTop(),t.panel.nativeElement.offsetHeight);t._setScrollTop(x)}}}_trackedModal=null;_applyModalPanelOwnership(){let e=this._element.nativeElement.closest('body > .cdk-overlay-container [aria-modal="true"]');if(!e)return;let t=this.autocomplete.id;this._trackedModal&&Ze(this._trackedModal,"aria-owns",t),ut(e,"aria-owns",t),this._trackedModal=e}_clearFromModal(){if(this._trackedModal){let e=this.autocomplete.id;Ze(this._trackedModal,"aria-owns",e),this._trackedModal=null}}static \u0275fac=function(t){return new(t||n)};static \u0275dir=R({type:n,selectors:[["input","matAutocomplete",""],["textarea","matAutocomplete",""]],hostAttrs:[1,"mat-mdc-autocomplete-trigger"],hostVars:7,hostBindings:function(t,o){t&1&&w("focusin",function(){return o._handleFocus()})("blur",function(){return o._onTouched()})("input",function(a){return o._handleInput(a)})("keydown",function(a){return o._handleKeydown(a)})("click",function(){return o._handleClick()}),t&2&&W("autocomplete",o.autocompleteAttribute)("role",o.autocompleteDisabled?null:"combobox")("aria-autocomplete",o.autocompleteDisabled?null:"list")("aria-activedescendant",o.panelOpen&&o.activeOption?o.activeOption.id:null)("aria-expanded",o.autocompleteDisabled?null:o.panelOpen.toString())("aria-controls",o.autocompleteDisabled||!o.panelOpen||o.autocomplete==null?null:o.autocomplete.id)("aria-haspopup",o.autocompleteDisabled?null:"listbox")},inputs:{autocomplete:[0,"matAutocomplete","autocomplete"],position:[0,"matAutocompletePosition","position"],connectedTo:[0,"matAutocompleteConnectedTo","connectedTo"],autocompleteAttribute:[0,"autocomplete","autocompleteAttribute"],autocompleteDisabled:[2,"matAutocompleteDisabled","autocompleteDisabled",J]},exportAs:["matAutocompleteTrigger"],features:[$([En]),jt]})}return n})(),fo=(()=>{class n{static \u0275fac=function(t){return new(t||n)};static \u0275mod=H({type:n});static \u0275inj=z({providers:[Tn],imports:[ki,Ct,Y,xi,Ct,Y]})}return n})();var rt=class n{form;map=[];constructor(){}static \u0275fac=function(e){return new(e||n)};static \u0275prov=ge({token:n,factory:n.\u0275fac,providedIn:"root"})};var Dn=["searchFilter"],Pn=n=>({"form-floating-outline":n}),An=n=>({"input-prefixIcon":n}),Rn=n=>({data:n});function Ln(n,i){if(n&1){let e=U();d(0,"div",3)(1,"span",8),w("click",function(){S(e);let o=m();return k(o.onClickPrefixIcon())}),d(2,"i",9),w("mouseenter",function(){S(e);let o=m();return k(o.onHover())})("mouseleave",function(){S(e);let o=m();return k(o.onLeave())}),c()()()}if(n&2){let e=m();s(2),ce(e.prefixIcon),f("matTooltip",e.prefixIconTitle)}}function Nn(n,i){if(n&1&&(d(0,"label",5),G(1),c()),n&2){let e=m();f("for",e.inputID),s(),oe(e.customLabel)}}function Vn(n,i){if(n&1&&M(0,"i",13),n&2){let e=m(2);ce(e.suffixIcon),f("matTooltip",e.suffixIconTitle)}}function zn(n,i){if(n&1){let e=U();d(0,"i",14),w("click",function(){S(e);let o=m(2);return k(o.onClickSuffixIcon2())}),c()}if(n&2){let e=m(2);ce(e.suffixIcon2),f("matTooltip",e.suffixIconTitle2)}}function Hn(n,i){if(n&1&&(d(0,"div",3)(1,"span",10),h(2,Vn,1,3,"i",11),h(3,zn,1,3,"i",12),c()()),n&2){let e=m();s(2),g(e.suffixIcon?2:-1),s(),g(e.suffixIcon2?3:-1)}}function Bn(n,i){if(n&1&&M(0,"img",18),n&2){let e=m(2).$implicit;f("src",e.ImgUrl,Ut)}}function jn(n,i){n&1&&(d(0,"div",19),M(1,"i",20),c())}function Un(n,i){if(n&1&&(d(0,"div"),h(1,Bn,1,1,"img",18)(2,jn,2,0,"div",19),c()),n&2){let e=m().$implicit;s(),g(e.ImgUrl?1:2)}}function qn(n,i){if(n&1&&je(0,16),n&2){let e=m().$implicit,t=m();f("ngTemplateOutlet",t.itemTemplate)("ngTemplateOutletContext",_e(2,Rn,e))}}function Qn(n,i){if(n&1&&(d(0,"div",17)(1,"div"),G(2),c(),d(3,"small",21),G(4),c()()),n&2){let e=m().$implicit;s(2),oe(e.Value),s(2),oe(e.Code)}}function Wn(n,i){if(n&1&&(d(0,"mat-option",7)(1,"div",15),h(2,Un,3,1,"div"),h(3,qn,1,4,"ng-container",16)(4,Qn,5,2,"div",17),c()()),n&2){let e=i.$implicit,t=m();f("value",e),s(2),g(t.renderThumbnail?2:-1),s(),g(t.useCustomTemplate?3:4)}}var uo=class n{constructor(i,e,t,o){this.httpService=i;this.localData=e;this.toastrService=t;this.ac=o;this.destroy$=new N,Ie(()=>{if(this.searchFilter()?.nativeElement){let r=this.searchFilter().nativeElement;this.onDetectInputNativeElement.emit(r)}}),this.ac.form=this.inputControl,Ie(()=>{this.disabled()&&this.inputControl.disable()})}searchFilter=me("searchFilter");data_cy;icon_data_cy;requestUrl;placeholder;clearOnSelect=!1;inputLock=!1;readonly=!1;localStorage;renderThumbnail=!1;inputID;set inputTextValue(i){ne.IsEmpty(i)||(this.skipXHR=!0),this.inputControl.setValue(i)}customStyle;customLabel;useCustomTemplate=!1;itemTemplate;customClass;ngModel;optionSelected=new b;onSelect=new b;onInputEnter=new b;onInputChange=new b;onHoverPrefixIcon=new b;onLeavePrefixIcon=new b;notFoundMessageFor;showToastrNotFound=!0;inputControl=new di;options=[];destroy$;skipXHR=!1;onOptionsEmpty=new b;startInput;requestValue;useTooltip=!1;prefixIcon;prefixIconTitle;clickPrefixIcon=new b;clickSuffixIcon2=new b;suffixIcon;suffixIcon2;suffixIconTitle;suffixIconTitle2;clickInputValue=new b;panelWidth;outletId;onDetectInputNativeElement=new b;disabled=oi();ngOnInit(){this.subscribeInputChanges()}subscribeInputChanges(){this.inputControl.valueChanges.pipe(Rt(500),Nt(),le(this.destroy$)).subscribe(i=>{if(this.requestValue=null,this.options=[],i&&i.length>2&&!this.skipXHR){let e={prefix:i,count:100};this.setOptions(e)}this.emitInputChange(i),this.skipXHR=!1})}emitInputChange(i){typeof i!="object"&&(this.onInputChange.emit(i),this.setNgModelBlank(i))}setNgModelBlank(i){i||this.clearInput()}setOptions(i){this.localData.isProductFromServer().subscribe(e=>{e?this.httpService.get(this.requestUrl,this.generateQueryParams(i)).pipe(le(this.destroy$)).subscribe(t=>{let o=document.getElementById("dropdown-filter");if(o){var r=new bootstrap.Dropdown(o);r&&(r._config.autoClose="inside")}this.options=t,this.requestValue=i.prefix,t.length==0&&(this.onOptionsEmpty.emit(i.prefix),this.showToastrOnEmptySearch(i.prefix))}):this.setOptionsWithStorage(i.prefix)})}onHover(){this.onHoverPrefixIcon.emit()}onLeave(){this.onLeavePrefixIcon.emit()}generateQueryParams(i){let e=[{key:"Prefix",value:i.prefix},{key:"Count",value:i.count}];return ne.IsNotEmpty(this.outletId)&&e.push({key:"EntityID",value:this.outletId}),e}showToastrOnEmptySearch(i){if(this.showToastrNotFound)if(ne.IsNotEmpty(this.notFoundMessageFor)){let e=this.generateMessage(i);this.toastrService.warning(e,"Warning")}else this.toastrService.warning(`No result found for ${i}`,"Warning")}generateMessage(i){let e;switch(this.notFoundMessageFor){case"customer":e=`Customer with name ${i} is not found`;break;case"supplier":e=`Supplier with name ${i} is not found`;break;case"invoice":e=`Invoice with number ${i} is not found`;break;case"product":e=`Product with name ${i} is not found`;break;case"variant":e=`Variant with name ${i} is not found`;break}return e}setOptionsWithStorage(i){this.localStorage=="products"&&this.localData.findAllVariant().subscribe(e=>{let t=[];for(let o of e){let r={Key:o.ID,Value:o.Name+(o.Code?" - "+o.Code:"")};JSON.stringify(r).toUpperCase().indexOf(i.toUpperCase())>-1&&t.push(r)}this.options=t})}onOptionSelected(i){let e=i.option.value;this.checkClearOnSelect(),this.emitOnOptionSelect(e)}emitOnOptionSelect(i={}){this.propagateChange(i.Key),this.onSelect.emit(i.Key);let e=Ft(P({},i),{Key:i.Key,Value:i.Value});this.optionSelected.emit(JSON.stringify(e)),this.ac.map[e.Key]=e.Value}onKeyDown(i){let e=i.key;if(e==="Enter"){if(this.skipXHR=!0,!this.requestValue){let t=i.target.value;this.onInputEnter.emit(t),this.requestValue=null}this.checkClearOnSelect()}else this.inputLock&&(e==="Backspace"?this.clearInput():this.validateInputLock())}checkClearOnSelect(){this.clearOnSelect&&this.clearInput()}validateInputLock(){let i=this.inputControl.value;if(typeof i=="string")if(i==""||i.length==0)this.startInput=new Date;else{let e=new Date;this.startInput=this.startInput?this.startInput:new Date,e.getTime()-this.startInput.getTime()>500&&this.clearInput()}else this.startInput=new Date}displayFn(i){let e="";return typeof i=="string"?e=i:e=i?i.Value:"",e}clearInput(){this.inputControl.setValue(""),this.propagateChange(null)}isNotEmpty(i){return ne.IsNotEmpty(i)}onClickInputValue(){this.clickInputValue.emit()}onClickPrefixIcon(){this.disabled()||this.clickPrefixIcon.emit()}onClickSuffixIcon2(){this.clickSuffixIcon2.emit()}ngOnDestroy(){this.destroy$.next(!0),this.destroy$.complete()}propagateChange=i=>{};writeValue(i){if(ne.IsNotEmpty(i)){let e=this.ac.map[i];e&&(this.skipXHR=!0,this.inputControl.setValue(e))}}registerOnChange(i){this.propagateChange=i}registerOnTouched(){}static \u0275fac=function(e){return new(e||n)(ke($e),ke(ot),ke(We),ke(rt))};static \u0275cmp=E({type:n,selectors:[["autocompleteV2"]],viewQuery:function(e,t){e&1&&de(t.searchFilter,Dn,5),e&2&&Te()},inputs:{data_cy:"data_cy",icon_data_cy:"icon_data_cy",requestUrl:"requestUrl",placeholder:"placeholder",clearOnSelect:"clearOnSelect",inputLock:"inputLock",readonly:"readonly",localStorage:"localStorage",renderThumbnail:"renderThumbnail",inputID:"inputID",inputTextValue:"inputTextValue",customStyle:"customStyle",customLabel:"customLabel",useCustomTemplate:"useCustomTemplate",itemTemplate:"itemTemplate",customClass:"customClass",ngModel:"ngModel",notFoundMessageFor:"notFoundMessageFor",showToastrNotFound:"showToastrNotFound",useTooltip:"useTooltip",prefixIcon:"prefixIcon",prefixIconTitle:"prefixIconTitle",suffixIcon:"suffixIcon",suffixIcon2:"suffixIcon2",suffixIconTitle:"suffixIconTitle",suffixIconTitle2:"suffixIconTitle2",panelWidth:"panelWidth",outletId:"outletId",disabled:[1,"disabled"]},outputs:{optionSelected:"optionSelected",onSelect:"onSelect",onInputEnter:"onInputEnter",onInputChange:"onInputChange",onHoverPrefixIcon:"onHoverPrefixIcon",onLeavePrefixIcon:"onLeavePrefixIcon",onOptionsEmpty:"onOptionsEmpty",clickPrefixIcon:"clickPrefixIcon",clickSuffixIcon2:"clickSuffixIcon2",clickInputValue:"clickInputValue",onDetectInputNativeElement:"onDetectInputNativeElement"},standalone:!1,features:[$([{provide:Ge,useExisting:Ve(()=>n),multi:!0}])],decls:10,vars:21,consts:[["searchFilter",""],["autocomplete","matAutocomplete"],[3,"ngClass"],[1,"position-relative"],["type","text",1,"form-control","text-black",3,"paste","keydown","click","matTooltip","id","ngClass","readonly","matAutocomplete","placeholder","formControl"],[2,"width","max-content",3,"for"],["autoActiveFirstOption","true",3,"optionSelected","panelWidth","displayWith"],[3,"value"],[1,"position-absolute","prefix-icon","cursor-pointer",3,"click"],["matTooltipPosition","above",3,"mouseenter","mouseleave","matTooltip"],[1,"position-absolute","suffix-icon","cursor-pointer","bg-white","ps-3"],[3,"class","matTooltip"],[1,"ms-4",3,"class","matTooltip"],[3,"matTooltip"],[1,"ms-4",3,"click","matTooltip"],[1,"d-flex","align-items-center","justify-content-start"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"ms-3","d-flex","flex-column"],["width","30","height","30",1,"me-2",3,"src"],[1,"empty-image","d-flex","justify-content-center","align-items-center","rounded-1"],[1,"fa-solid","fa-image","fa-image-autocomplete",2,"color","#b4b4b4c2"],[1,"opacity-75"]],template:function(e,t){if(e&1){let o=U();d(0,"mat-form-field",2),h(1,Ln,3,3,"div",3),d(2,"input",4,0),w("paste",function(a){return S(o),k(t.inputLock?a.preventDefault():"")})("keydown",function(a){return S(o),k(t.onKeyDown(a))})("click",function(){return S(o),k(t.onClickInputValue())}),c(),h(4,Nn,2,2,"label",5),h(5,Hn,4,2,"div",3),c(),d(6,"mat-autocomplete",6,1),w("optionSelected",function(a){return S(o),k(t.onOptionSelected(a))}),Yt(8,Wn,5,3,"mat-option",7,$t),c()}if(e&2){let o=Fe(7);ce(ei("w-100 ",t.customClass)),f("ngClass",_e(17,Pn,t.customStyle)),s(),g(t.isNotEmpty(t.prefixIcon)?1:-1),s(),f("matTooltip",t.useTooltip?t.inputControl==null||t.inputControl.value==null?null:t.inputControl.value.Value:"")("id",t.inputID)("ngClass",_e(19,An,t.prefixIcon))("readonly",t.readonly)("matAutocomplete",o)("placeholder",t.placeholder||"")("formControl",t.inputControl),W("data-cy",t.data_cy),s(2),g(t.customStyle?4:-1),s(),g(t.isNotEmpty(t.suffixIcon)||t.isNotEmpty(t.suffixIcon2)?5:-1),s(),f("panelWidth",t.panelWidth?t.panelWidth:"")("displayWith",t.displayFn),s(2),Kt(t.options)}},dependencies:[mo,Ce,kt,qe,ve,li,si,ci,Mi],styles:[`div.mat-mdc-autocomplete-panel mat-option.mat-mdc-option{margin:.1rem 0;overflow:visible;line-height:initial;word-wrap:break-word;white-space:pre-wrap}div.mat-mdc-autocomplete-panel mat-option.mat-mdc-option span.mdc-list-item__primary-text{white-space:normal}.mat-mdc-option{font-size:13px;height:auto!important;padding:10px 6px!important}.mat-mdc-option .mdc-list-item__primary-text{width:100%!important}.prefix-icon{left:12px;top:8px;font-size:12px}.suffix-icon{right:12px;top:-28px;font-size:12px}.input-prefixIcon{padding-left:32px}div>.empty-image{height:32px;width:30px;border:solid 1px #dddddd}.fa-image-autocomplete{font-size:16px}
|
|
14
|
+
`],encapsulation:2})},ho=class n{static \u0275fac=function(e){return new(e||n)};static \u0275mod=H({type:n});static \u0275inj=z({imports:[fo,Qe,mi,Ti]})};export{Hi as a,Di as b,_t as c,vo as d,Li as e,Ni as f,Qi as g,Ki as h,Ia as i,Da as j,bn as k,wt as l,Pa as m,Vi as n,yt as o,xt as p,Ce as q,Bi as r,ji as s,Ct as t,tt as u,Ui as v,qi as w,mo as x,sl as y,kt as z,fo as A,it as B,Pe as C,ot as D,rt as E,uo as F,ho as G};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{O as c}from"./chunk-
|
|
1
|
+
import{O as c}from"./chunk-2525CDKJ.js";import{I as s,ae as a,de as m,fa as p,la as n,oa as o}from"./chunk-LBIXL2NM.js";var g=class i{constructor(t,e){this.httpService=t;this.toastr=e}_ignoreWarning=!1;_importResponse;get ignoreWarning(){return this._ignoreWarning}get importResponse(){return this._importResponse}generateFormData(t,e){let r=new FormData;return e&&r.append("Data",e),r.append("File",t),r}onSubmitForm(t,e){return this.httpService.postFormData(`/api/${t}`,e).pipe(p(r=>{this._importResponse=r,this.importResponseHandling(r)}),s(r=>(this._importResponse=r.error,this._ignoreWarning=!1,r)))}import(t){return this.httpService.post(c.ImportProduct,t)}previewImport(t,e){return this.httpService.postFormData(t,e)}importResponseHandling(t){t.Issues?(this.toastr.warning(t.Message,"Warning!"),this._ignoreWarning=!0):(this.toastr.success(t.Message,"Success"),this.importResponse.Issues=[],this._ignoreWarning=!1)}static \u0275fac=function(e){return new(e||i)(o(m),o(a))};static \u0275prov=n({token:i,factory:i.\u0275fac,providedIn:"root"})};export{g as a};
|