dealpos 1.0.0 → 1.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/{POS/chunk-AWGZKLLY.js → browser/chunk-235POOLV.js} +1 -1
- package/{POS/chunk-YATUCULL.js → browser/chunk-24A2APSJ.js} +1 -1
- package/browser/chunk-2525CDKJ.js +1 -0
- 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-2M5FSEG3.js +1 -0
- package/browser/chunk-2MGVRRAP.js +57 -0
- package/{POS/chunk-4UAHOTBD.js → browser/chunk-2PIAS2C5.js} +1 -1
- package/browser/chunk-2SFQGHFV.js +9 -0
- package/browser/chunk-2SJZWKFD.js +1 -0
- package/{POS/chunk-PLC4GZ67.js → browser/chunk-2YGMAT2F.js} +1 -1
- package/browser/chunk-32GJXDHR.js +1 -0
- package/browser/chunk-3AHCNKRE.js +8 -0
- package/browser/chunk-3BEUYXPC.js +131 -0
- package/browser/chunk-3GZT3JJG.js +1 -0
- package/browser/chunk-3JW3NITX.js +1 -0
- package/browser/chunk-3XJHHRJT.js +92 -0
- package/browser/chunk-3XRT75ZN.js +1 -0
- package/browser/chunk-44LXIDEF.js +1 -0
- package/browser/chunk-4DH3BDE3.js +151 -0
- package/browser/chunk-4MFA5Y4Y.js +1 -0
- package/browser/chunk-4UJTVSL2.js +191 -0
- package/browser/chunk-4USQPLEW.js +1 -0
- package/browser/chunk-4XD6LZU6.js +1 -0
- package/browser/chunk-4ZMJFXGW.js +1 -0
- package/{POS/chunk-2DNKBN6G.js → browser/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-5UDUWK67.js +1 -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-6B56KYAF.js +1 -0
- package/browser/chunk-6BWXSO4B.js +1 -0
- package/browser/chunk-6EP37ICB.js +334 -0
- package/browser/chunk-6I2TNDE6.js +14 -0
- package/browser/chunk-6IVR565J.js +82 -0
- package/browser/chunk-6M6QFFLT.js +1 -0
- package/browser/chunk-6QKBTWAT.js +1 -0
- package/browser/chunk-74B5JZ5G.js +1 -0
- package/browser/chunk-7H3GMZJN.js +5 -0
- package/browser/chunk-7HZGJLFA.js +1 -0
- package/browser/chunk-7NQ56KZ6.js +1 -0
- package/browser/chunk-7WXTIXID.js +1 -0
- package/browser/chunk-7YKHGYIG.js +1 -0
- package/browser/chunk-7ZTWH3L6.js +1 -0
- package/browser/chunk-A3FTQA6E.js +1 -0
- package/browser/chunk-AF5V3BUB.js +1 -0
- package/{POS/chunk-AOPKPEVH.js → browser/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-CF4MHWEX.js +1 -0
- package/browser/chunk-CFSYN7MV.js +16 -0
- package/browser/chunk-CJFDTLOQ.js +54 -0
- package/browser/chunk-CKN6D7N7.js +1 -0
- package/{POS/chunk-ZGRVB4IB.js → browser/chunk-CKRLMZHY.js} +1 -1
- package/browser/chunk-CNCKIVTQ.js +1 -0
- package/{POS/chunk-2OSKJOSS.js → browser/chunk-CQPKVO7W.js} +1 -1
- package/browser/chunk-CRMTCX6F.js +3 -0
- package/browser/chunk-CRU6KO53.js +1 -0
- package/{POS/chunk-WG6PV6VL.js → browser/chunk-CTPHJSLU.js} +2 -2
- package/browser/chunk-CUY227OT.js +118 -0
- package/browser/chunk-D75PDB6P.js +1 -0
- package/{POS/chunk-AA32I4UN.js → browser/chunk-D7J7CQGT.js} +1 -1
- package/browser/chunk-DDM5K7MP.js +1 -0
- package/browser/chunk-DMZ5HEOT.js +1 -0
- package/browser/chunk-E5HC3WFJ.js +1 -0
- package/browser/chunk-EDRBTTL5.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-FPGIRAZZ.js +1 -0
- package/browser/chunk-FW2LVBF2.js +1 -0
- package/browser/chunk-G2QZRGKV.js +2 -0
- package/browser/chunk-GDRHD33K.js +157 -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/{POS/chunk-B7RM5KKA.js → browser/chunk-HG6BRXAC.js} +1 -1
- package/browser/chunk-HNLSUZUH.js +1 -0
- package/{POS/chunk-5W7F4VJH.js → browser/chunk-HNU2JIBP.js} +1 -1
- package/browser/chunk-HPWVZRZF.js +480 -0
- package/browser/chunk-HPXDTBZD.js +1 -0
- package/browser/chunk-IEYBKFX7.js +1 -0
- 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-J55W7XV7.js +1 -0
- package/browser/chunk-J6U6UYNI.js +1 -0
- package/browser/chunk-JFLT7NX3.js +1 -0
- package/browser/chunk-JHYJTTAR.js +5 -0
- package/browser/chunk-JJ55MEGU.js +3 -0
- package/browser/chunk-JKBDSVHR.js +1 -0
- package/browser/chunk-JL56QKED.js +1 -0
- package/browser/chunk-JQOVAMQC.js +1 -0
- package/browser/chunk-JR6SBNDP.js +2 -0
- 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-K6YQ5CRH.js +1 -0
- 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-KYF2RZUP.js +4 -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-LIH722A3.js +1 -0
- package/browser/chunk-LLXEUJDC.js +1 -0
- package/browser/chunk-LPD3H6QQ.js +1 -0
- package/{POS/chunk-KYX6U2UX.js → browser/chunk-LQDIK5ZH.js} +1 -1
- package/browser/chunk-M5IOFMBZ.js +1 -0
- 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-MLFDP74G.js +1 -0
- package/browser/chunk-MSSTCYNC.js +1 -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-NJOOFJNE.js +1 -0
- package/browser/chunk-NQKVYQ6V.js +1 -0
- package/browser/chunk-NSNUUKNK.js +1 -0
- package/browser/chunk-NUVM5VMH.js +1 -0
- package/{POS/chunk-CW27R4N3.js → browser/chunk-NWBLFLVC.js} +1 -1
- package/browser/chunk-NYTOBW2G.js +1 -0
- package/browser/chunk-ODEK2WQO.js +137 -0
- package/browser/chunk-ODGFQ7QJ.js +1 -0
- package/browser/chunk-OIMBKUXO.js +1 -0
- package/{POS/chunk-YBINYTS7.js → browser/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/{POS/chunk-MA7NEQCZ.js → browser/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-QNJH27F5.js +2 -0
- package/browser/chunk-QOTJ7B7C.js +1 -0
- package/browser/chunk-RCMYO542.js +1 -0
- package/browser/chunk-RHVNZ2DF.js +11 -0
- package/{POS/chunk-OUOP65JB.js → browser/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-SII6VICE.js +1 -0
- 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-SWQE65GY.js +2 -0
- 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-TIBTGPW2.js +2 -0
- package/browser/chunk-TKJUJYEI.js +1095 -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-W3VF2RCW.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/{POS/chunk-ZJ3TX62Q.js → browser/chunk-WIYO452T.js} +1 -1
- package/browser/chunk-WOMVTVEQ.js +2 -0
- package/browser/chunk-WPKJOXVT.js +1 -0
- package/browser/chunk-WPTBNQ2V.js +1 -0
- package/browser/chunk-WR3A6SD3.js +18 -0
- package/browser/chunk-WSFK2BTV.js +1 -0
- package/browser/chunk-WT6PMWGG.js +1 -0
- package/browser/chunk-WVCZAPRZ.js +1 -0
- package/browser/chunk-WZA2HY2S.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-XLE4M4WS.js +1 -0
- package/browser/chunk-XOOFBNDP.js +1 -0
- package/{POS/chunk-75STMWUR.js → browser/chunk-XYHPCRIZ.js} +3 -3
- package/{POS/chunk-6PXJEE4K.js → browser/chunk-Y3BA3YGC.js} +1 -1
- package/browser/chunk-Y5GN5XOG.js +1 -0
- package/browser/chunk-YBLSVIMZ.js +1 -0
- package/browser/chunk-YFMVQJRL.js +14 -0
- package/browser/chunk-YNRHLKM5.js +1 -0
- package/browser/chunk-YX5ADQPF.js +152 -0
- package/browser/chunk-Z3E24JZW.js +1 -0
- package/browser/chunk-ZDX5LF2K.js +507 -0
- package/{POS/chunk-KNRLGMUT.js → browser/chunk-ZGPKGJBM.js} +1 -1
- package/{POS/chunk-DRGWLGRP.js → browser/chunk-ZHTSXEVO.js} +1 -1
- package/browser/chunk-ZJ4AGOKX.js +1 -0
- package/browser/chunk-ZKQFRAZ2.js +1 -0
- 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 +58 -0
- package/browser/main-GIUTLIWS.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/POS/3rdpartylicenses.txt +0 -1645
- package/POS/chunk-26YXEYJK.js +0 -1
- package/POS/chunk-2FKYC63K.js +0 -1
- package/POS/chunk-2OXMYDYT.js +0 -1
- package/POS/chunk-2OZMF5DL.js +0 -1
- package/POS/chunk-2W3MAOOP.js +0 -1
- package/POS/chunk-33XCA4ER.js +0 -14
- package/POS/chunk-35V3VL6F.js +0 -1
- package/POS/chunk-3A7KA4YN.js +0 -1
- package/POS/chunk-3BODNSIH.js +0 -1
- package/POS/chunk-3FOIEYAT.js +0 -4
- package/POS/chunk-3PFXZUB6.js +0 -7
- package/POS/chunk-3QABPVXZ.js +0 -3
- package/POS/chunk-4BDQDYVB.js +0 -1
- package/POS/chunk-4CBDK52E.js +0 -4
- package/POS/chunk-4G26RHGA.js +0 -1
- package/POS/chunk-4MX7Q77M.js +0 -2
- package/POS/chunk-56EQRIAH.js +0 -1
- package/POS/chunk-5KBFQLSN.js +0 -1
- package/POS/chunk-64PDX5ZX.js +0 -1
- package/POS/chunk-65YDOCXF.js +0 -1
- package/POS/chunk-67VBXFVT.js +0 -6
- package/POS/chunk-6BQZINLH.js +0 -1
- package/POS/chunk-6L6CIH5M.js +0 -1
- package/POS/chunk-6S4Q5VRA.js +0 -1
- package/POS/chunk-76C33PK5.js +0 -1
- package/POS/chunk-77D6X2SQ.js +0 -11
- package/POS/chunk-7DWKYGA4.js +0 -1
- package/POS/chunk-7M6CWVRI.js +0 -1
- package/POS/chunk-7Q3437BR.js +0 -1
- package/POS/chunk-AJMKP7YZ.js +0 -1
- package/POS/chunk-AOJW6WJT.js +0 -1
- package/POS/chunk-APJK7OH2.js +0 -2
- package/POS/chunk-APYNCJ2H.js +0 -1
- package/POS/chunk-AUYYX2UQ.js +0 -45
- package/POS/chunk-AVDGNFC7.js +0 -1
- package/POS/chunk-AYKDALBT.js +0 -1
- package/POS/chunk-B2OT7HA4.js +0 -4
- package/POS/chunk-B36XIZVJ.js +0 -1
- package/POS/chunk-BCVO66L3.js +0 -5
- package/POS/chunk-BETKNHFK.js +0 -1
- package/POS/chunk-BH2ZVZIU.js +0 -1
- package/POS/chunk-BHXS5IA6.js +0 -1
- package/POS/chunk-BLZEDUEI.js +0 -1
- package/POS/chunk-BZC5JINN.js +0 -5
- package/POS/chunk-C43IYFVU.js +0 -1
- package/POS/chunk-CBW7IA6S.js +0 -1
- package/POS/chunk-CCGPOEE3.js +0 -4
- package/POS/chunk-CFIFFKWA.js +0 -1
- package/POS/chunk-CI45CZMG.js +0 -1
- package/POS/chunk-CJO25BBP.js +0 -1
- package/POS/chunk-CLL3TEL5.js +0 -1
- package/POS/chunk-CPUGWH3I.js +0 -1
- package/POS/chunk-CPW6IWAB.js +0 -1
- package/POS/chunk-CRSUSQ3W.js +0 -1
- package/POS/chunk-CWU5DTSS.js +0 -1
- package/POS/chunk-CY2FQLP4.js +0 -1
- package/POS/chunk-DXF4M3Z6.js +0 -1
- package/POS/chunk-E72IOARD.js +0 -1
- package/POS/chunk-EA7CLJMQ.js +0 -18
- package/POS/chunk-ECMSF3OR.js +0 -1
- package/POS/chunk-EOFWQEK7.js +0 -1
- package/POS/chunk-EQOB7536.js +0 -156
- package/POS/chunk-ESD5O3BQ.js +0 -1
- package/POS/chunk-EZCHVNC5.js +0 -3
- package/POS/chunk-F3ZYFWTM.js +0 -1
- package/POS/chunk-F6GAPEFT.js +0 -1
- package/POS/chunk-FBR7TAEJ.js +0 -5
- package/POS/chunk-FE5LZK5I.js +0 -1
- package/POS/chunk-FOEYBSQT.js +0 -2
- package/POS/chunk-FWVI7M5F.js +0 -1
- package/POS/chunk-G4DDQBH4.js +0 -1
- package/POS/chunk-GDFWXFK2.js +0 -1
- package/POS/chunk-GHQFOULJ.js +0 -2
- package/POS/chunk-GNSQPTDB.js +0 -1
- package/POS/chunk-GVXSG66Q.js +0 -1
- package/POS/chunk-H55AJAX5.js +0 -8
- package/POS/chunk-HIRUHGYD.js +0 -2
- package/POS/chunk-HKR2C3HA.js +0 -1
- package/POS/chunk-HSOC6U4B.js +0 -1
- package/POS/chunk-I6CGSFEU.js +0 -1
- package/POS/chunk-I6YPWC52.js +0 -1
- package/POS/chunk-IDDHFZWG.js +0 -1
- package/POS/chunk-IE5R6YWY.js +0 -1
- package/POS/chunk-IOQ3OION.js +0 -1
- package/POS/chunk-IUKSWU5B.js +0 -1
- package/POS/chunk-IY6EDHBT.js +0 -1
- package/POS/chunk-IZGPRDGN.js +0 -2
- package/POS/chunk-J3W6DQKW.js +0 -1
- package/POS/chunk-JM3SJLS7.js +0 -1
- package/POS/chunk-JNUC6PO5.js +0 -1
- package/POS/chunk-K5XVN3MT.js +0 -1
- package/POS/chunk-KBQ5ZM55.js +0 -1
- package/POS/chunk-KCNSCS4R.js +0 -1
- package/POS/chunk-KI2MQKDF.js +0 -1
- package/POS/chunk-KR4OPCRF.js +0 -1
- package/POS/chunk-KW4B7WMB.js +0 -1
- package/POS/chunk-KZNSGBGF.js +0 -2
- package/POS/chunk-L3UWNQXB.js +0 -1
- package/POS/chunk-LHWN2J4H.js +0 -15
- package/POS/chunk-LJUP6CCS.js +0 -1
- package/POS/chunk-LY4FOMQ6.css +0 -1
- package/POS/chunk-LZ3SKBTU.js +0 -1
- package/POS/chunk-M5ONTRWK.js +0 -1
- package/POS/chunk-MDKYCLYA.js +0 -17
- package/POS/chunk-MGDA6GY6.js +0 -1
- package/POS/chunk-MWWGZRMN.js +0 -1
- package/POS/chunk-NCATMO6T.js +0 -1
- package/POS/chunk-NDAI7L23.js +0 -1
- package/POS/chunk-NHUK6IK5.js +0 -40
- package/POS/chunk-NUZ5K7GT.js +0 -1
- package/POS/chunk-O2PELRQA.js +0 -1
- package/POS/chunk-OXSD6KML.js +0 -1
- package/POS/chunk-PEOMRJUI.js +0 -3
- package/POS/chunk-PHGK3EAU.js +0 -1
- package/POS/chunk-PTF6AQY6.js +0 -1
- package/POS/chunk-PTXKBWBA.js +0 -1
- package/POS/chunk-Q3SJOSAG.js +0 -1
- package/POS/chunk-QBDEGNJP.js +0 -1
- package/POS/chunk-QCTMAR3L.js +0 -1
- package/POS/chunk-QZWOQRAM.js +0 -1
- package/POS/chunk-R5VG3XDC.js +0 -1
- package/POS/chunk-R7NR3M2Q.js +0 -1
- package/POS/chunk-RBKYZOZX.js +0 -3
- package/POS/chunk-RHQGCHFI.js +0 -1
- package/POS/chunk-RL3GYZVU.js +0 -8
- package/POS/chunk-RRKCUSBB.js +0 -1
- package/POS/chunk-S4OLP2TR.js +0 -18
- package/POS/chunk-SDH32O74.js +0 -1
- package/POS/chunk-SEVYM4GA.js +0 -1
- package/POS/chunk-SGRJ5YG2.js +0 -1
- package/POS/chunk-SNNLFZQ3.js +0 -3
- package/POS/chunk-SVNOJVQF.js +0 -1
- package/POS/chunk-TCLYGBIP.js +0 -1
- package/POS/chunk-TIDDF777.js +0 -1
- package/POS/chunk-TJQIORGG.js +0 -1
- package/POS/chunk-TLHNFDPP.js +0 -1
- package/POS/chunk-TVNDX4KA.js +0 -3
- package/POS/chunk-TX6G2LAN.js +0 -1
- package/POS/chunk-U3O6FO5X.js +0 -1
- package/POS/chunk-UJMXJABS.js +0 -1
- package/POS/chunk-UNGT7KQO.js +0 -1
- package/POS/chunk-UPRH3DLS.js +0 -1
- package/POS/chunk-UVFDCVT4.js +0 -2
- package/POS/chunk-V22EVF6N.js +0 -1
- package/POS/chunk-V4RKZMUB.js +0 -11
- package/POS/chunk-VBOV2ZGQ.js +0 -1
- package/POS/chunk-VGGNSOCP.js +0 -1
- package/POS/chunk-VLGOEX3D.js +0 -24
- package/POS/chunk-VPAQFQA7.js +0 -1
- package/POS/chunk-VSMYP4AC.js +0 -1
- package/POS/chunk-VXCP4DBC.js +0 -1
- package/POS/chunk-W43P2XHR.js +0 -1
- package/POS/chunk-W7PIRMKD.js +0 -1
- package/POS/chunk-WK4T26FX.js +0 -2
- package/POS/chunk-WKS7JIOA.js +0 -1
- package/POS/chunk-WKXE4B24.js +0 -1
- package/POS/chunk-WSZGVB3P.js +0 -1
- package/POS/chunk-WXHOQKTU.js +0 -1
- package/POS/chunk-X55EKFUZ.js +0 -1
- package/POS/chunk-X7QMXCEW.js +0 -4
- package/POS/chunk-XIGLLWLV.js +0 -1
- package/POS/chunk-XRKZOON6.js +0 -4
- package/POS/chunk-XW2QKXZF.js +0 -5
- package/POS/chunk-XZPCPUT7.js +0 -1
- package/POS/chunk-Y5SPDICN.js +0 -2
- package/POS/chunk-Y7XBMFXR.js +0 -1
- package/POS/chunk-YBFOOZH4.js +0 -2
- package/POS/chunk-YE2HNBMX.js +0 -1
- package/POS/chunk-YENHZRM5.js +0 -9
- package/POS/chunk-YHCFOJEX.js +0 -1
- package/POS/chunk-YKBQYDEJ.js +0 -2
- package/POS/chunk-YPFXYXHP.js +0 -8
- package/POS/chunk-YRHYSRBM.js +0 -1
- package/POS/chunk-YRITVFOW.js +0 -1
- package/POS/chunk-YRNTUREW.js +0 -1
- package/POS/chunk-YXRRTX7W.js +0 -1
- package/POS/chunk-Z426RGUL.js +0 -24
- package/POS/chunk-ZB45Y55B.js +0 -1
- package/POS/chunk-ZKWXTWYY.js +0 -1
- package/POS/index.html +0 -33
- package/POS/main-CNMNNNEI.js +0 -4
- package/POS/main-VPAR6OBK.css +0 -1
- package/POS/media/color-727V6BA6.png +0 -0
- package/POS/media/hue-3YTJE6JS.png +0 -0
- package/POS/polyfills-FHOOFFEX.js +0 -2
- package/POS/scripts-3E2G6IZ4.js +0 -10
- package/POS/styles-T7FPZRNG.css +0 -25
- package/Styles/Master/app_custom.css +0 -18
- package/Styles/Print/PaperSize8cm_custom.css +0 -1
- package/Styles/Print/PaperSizeA4_custom.css +0 -1
- /package/{POS → browser}/assets/icons/icon-128x128.png +0 -0
- /package/{POS → browser}/assets/icons/icon-144x144.png +0 -0
- /package/{POS → browser}/assets/icons/icon-152x152.png +0 -0
- /package/{POS → browser}/assets/icons/icon-192x192.png +0 -0
- /package/{POS → browser}/assets/icons/icon-384x384.png +0 -0
- /package/{POS → browser}/assets/icons/icon-512x512.png +0 -0
- /package/{POS → browser}/assets/icons/icon-72x72.png +0 -0
- /package/{POS → browser}/assets/icons/icon-96x96.png +0 -0
- /package/{POS → browser}/chunk-2FWFPV5I.js +0 -0
- /package/{POS/chunk-BYXBJQAS.js → browser/chunk-3RK6DDJD.js} +0 -0
- /package/{POS/chunk-JLWKTGB2.js → browser/chunk-5ZMTBZT3.js} +0 -0
- /package/{Styles/Master/login_custom.css → browser/chunk-BYXBJQAS.js} +0 -0
- /package/{POS/chunk-GSLPZSSX.js → browser/chunk-HBAQBI6Z.js} +0 -0
- /package/{StylesB/Master/app_custom.css → browser/chunk-NJIOGT5G.js} +0 -0
- /package/{POS/chunk-SE7OFLAL.js → browser/chunk-NQX7EX5A.js} +0 -0
- /package/{POS/chunk-WLRXTHLM.js → browser/chunk-P3KIIKY4.js} +0 -0
- /package/{POS/chunk-B5FODXLM.js → browser/chunk-PF33HK6M.js} +0 -0
- /package/{POS/chunk-TK5H65DN.js → browser/chunk-YXCPHYC5.js} +0 -0
- /package/{POS → browser}/manifest.webmanifest +0 -0
- /package/{POS → browser}/media/primeicons-4GST5W3O.woff2 +0 -0
- /package/{POS → browser}/media/primeicons-DHQU4SEP.svg +0 -0
- /package/{POS → browser}/media/primeicons-GEFHGEHP.ttf +0 -0
- /package/{POS → browser}/media/primeicons-P53SE5CV.woff +0 -0
- /package/{POS → browser}/media/primeicons-RSSEDYLY.eot +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as S,b as o,c as v}from"./chunk-
|
|
1
|
+
import{a as S,b as o,c as v}from"./chunk-EQLHPWVB.js";import{a}from"./chunk-ODGFQ7QJ.js";import{I as l,N as u,ae as g,d as n,e as i,la as b,n as h,oa as C,p as r}from"./chunk-LBIXL2NM.js";var f=class c{constructor(e){this.toastr=e;this.socketConnection=new v().withUrl("/POSHub").withAutomaticReconnect().configureLogging(S.Information).build(),this.registerEventHandler()}lastGroupID;OnPaymentReceived=new n;OnReceivePushNotification=new n;OnContactReceive=new n;OnPromotionEventChange=new n;_recacheOutlet=new i(!1);recacheOutlet$=this._recacheOutlet.asObservable();_recacheCategory=new i(!1);recacheCategory$=this._recacheCategory.asObservable();_recacheSalesPerson=new i(!1);recacheSalesPerson$=this._recacheSalesPerson.asObservable();socketConnection;connectionStateSubject=new n;startConnection(){this.socketConnection.state==o.Disconnected&&this.socketConnection.start().then(()=>{console.info("SignalR Connected"),this.connectionStateSubject.next(!0)}).catch(e=>{console.log(e)})}SubscribeGroup(e,t=null){e!=this.lastGroupID&&(this.socketConnection.state==o.Disconnected?this.socketConnection.start().then(()=>{this.invokeSubscribe(e,t)}).catch(s=>{this.toastr.error(s,"Error")}):this.socketConnection.state==o.Connecting?this.connectionStateSubject.pipe(u(1)).subscribe({next:()=>{this.invokeSubscribe(e,t)}}):this.socketConnection.state==o.Connected&&this.invokeSubscribe(e,t))}invokeSubscribe(e,t){let s={CurrentID:e,PreviousID:t};this.socketConnection.invoke("SubscribeGroup",s).then(()=>{console.info(`SignalR Subscribed to Group: [${e}]`),this.lastGroupID=e}).catch(p=>{console.error(p)})}registerEventHandler(){this.socketConnection.on("ReceiveMobilePaymentSignal",e=>{this.OnPaymentReceived.next(e)}),this.socketConnection.on("OnContactReceive",e=>{this.OnContactReceive.next(e)}),this.socketConnection.on("ReceiveNewPromotionSignal",e=>{this.OnPromotionEventChange.next(e)}),this.socketConnection.on("ReceivePushNotificationSignal",e=>{this.OnReceivePushNotification.next(e)}),this.socketConnection.on("ReceiveOutletChanges",()=>{this._recacheOutlet.next(!0)}),this.socketConnection.on("ReceiveProductCategoryChanges",()=>{this._recacheCategory.next(!0)}),this.socketConnection.on("ReceiveSalesPersonChanges",()=>{this._recacheSalesPerson.next(!0)})}isSocketConnected(){return a.IsEmpty(this.socketConnection)?!1:this.socketConnection.state==o.Connected&&a.IsNotEmpty(this.socketConnection.connectionId)}broadcast(e){return this.isSocketConnected()?h(this.socketConnection.invoke("BroadCast",e)).pipe(l(t=>(this.toastr.error(t,"Error"),r(()=>t)))):r(()=>"SignalR is not connected")}resetOutletCache(){this._recacheOutlet.next(!1)}resetCategoryCache(){this._recacheCategory.next(!1)}resetSalesPersonCache(){this._recacheSalesPerson.next(!1)}static \u0275fac=function(t){return new(t||c)(C(g))};static \u0275prov=b({token:c,factory:c.\u0275fac,providedIn:"root"})};export{f as a};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{Ja as r,bb as o,hb as s}from"./chunk-LBIXL2NM.js";var n=class i{constructor(e){this.el=e}observer;ngAfterViewInit(){let e=this.el.nativeElement;this.observer=new MutationObserver(t=>{for(let c of t)c.type==="childList"&&e.scroll({top:e.scrollHeight,behavior:"smooth"})}),this.observer.observe(e,{childList:!0,subtree:!0})}ngOnDestroy(){this.observer&&this.observer.disconnect()}static \u0275fac=function(t){return new(t||i)(o(r))};static \u0275dir=s({type:i,selectors:[["","PinScrollingBottom",""]]})};export{n as a};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a as f}from"./chunk-ODGFQ7QJ.js";import{Ed as A,bb as u,gb as I,ib as s,ld as l,ma as y,nd as p}from"./chunk-LBIXL2NM.js";var g=class a{transform(e){return e.map(t=>t.UnitPrice).reduce((t,r)=>Math.max(t,r),0)}static \u0275fac=function(t){return new(t||a)};static \u0275pipe=s({name:"highestPrice",type:a,pure:!0,standalone:!1})},S=class a{transform(e){return e.map(t=>t.UnitPrice).reduce((t,r)=>Math.min(t,r),0)}static \u0275fac=function(t){return new(t||a)};static \u0275pipe=s({name:"lowestPrice",type:a,pure:!0,standalone:!1})},G=class a{transform(e,t){let r=e.filter(i=>i.Key==t);return r.length==0?0:r[0].Value}static \u0275fac=function(t){return new(t||a)};static \u0275pipe=s({name:"groupStock",type:a,pure:!0,standalone:!1})},C=class a{transform(e){return e!=null?e.replace(/\n/g,"<br />"):e}static \u0275fac=function(t){return new(t||a)};static \u0275pipe=s({name:"images",type:a,pure:!0,standalone:!1})};var D=class a{transform(e){var t=new Date(e),r=new Date,i=r.valueOf()-t.valueOf(),n=Math.floor(i%864e5/36e5),o=Math.round(i%864e5%36e5/6e4);return n>0?o+n*60:o}static \u0275fac=function(t){return new(t||a)};static \u0275pipe=s({name:"durationTime",type:a,pure:!0,standalone:!1})},v=class a{transform(e){let r="",i=e<1440?null:(e-e%1440)/1440;i&&(r=`${i} Day`,i>1&&(r=r+"s"));let n=(e%1440-e%1440%60)/60;n&&(r=r+` ${n} Hour`,n>1&&(r=r+"s"));let o=e%60;return o&&(r=r+` ${o} Minute`,o>1&&(r=r+"s")),r.trim()}static \u0275fac=function(t){return new(t||a)};static \u0275pipe=s({name:"durationDaysHour",type:a,pure:!0,standalone:!1})},m=class a{transform(e,t,r,i){let n=0;return e&&!r&&!i&&e.forEach(o=>n+=o[t]-0),r&&i&&e.forEach(o=>{o[r]==i&&(n+=o[t]-0)}),n}static \u0275fac=function(t){return new(t||a)};static \u0275pipe=s({name:"sum",type:a,pure:!1,standalone:!1})},O=class a{transform(e,t,r){let i=0;return e&&e.forEach(n=>i+=n[t][r]),i}static \u0275fac=function(t){return new(t||a)};static \u0275pipe=s({name:"sumArray",type:a,pure:!1,standalone:!1})},b=class a{transform(e,t,r,i){let n=0;return e&&e.forEach(o=>{f.IsNotEmpty(o[t][r])&&(n+=o[t][r][i])}),n}static \u0275fac=function(t){return new(t||a)};static \u0275pipe=s({name:"sumNestedArray",type:a,pure:!1,standalone:!1})},T=class a{transform(e,t,r,i,n){let o=0;return e&&e.forEach(c=>{let d=c[t].find(it=>it[i]===r);d!==void 0&&(o+=d[n])}),o}static \u0275fac=function(t){return new(t||a)};static \u0275pipe=s({name:"sumWithID",type:a,pure:!1,standalone:!1})},B=class a{transform(e,t,r){let i=0;return e&&e.forEach(n=>i+=n[t]*n[r]),i}static \u0275fac=function(t){return new(t||a)};static \u0275pipe=s({name:"sumMultiply",type:a,pure:!1,standalone:!1})},h=class a{transform(e,t,r){let i=0;return e&&e.forEach(n=>i+=n[t][r]-0),i}static \u0275fac=function(t){return new(t||a)};static \u0275pipe=s({name:"SumWithIndex",type:a,pure:!1,standalone:!1})},P=class a{transform(e=[],t){let r=JSON.parse(JSON.stringify(e));if(r.length>0){r=r.sort((n,o)=>n[t]-o[t]);let i=r[0][t];if(r.length>1){let n=r[r.length-1][t];return i===n?i.toString().replace(/(\d)(?=(\d{3})+(?!\d))/g,"$1,"):i.toString().replace(/(\d)(?=(\d{3})+(?!\d))/g,"$1,")+" - "+n.toString().replace(/(\d)(?=(\d{3})+(?!\d))/g,"$1,")}else return i.toString().replace(/(\d)(?=(\d{3})+(?!\d))/g,"$1,")}else return"-"}static \u0275fac=function(t){return new(t||a)};static \u0275pipe=s({name:"MinToMax",type:a,pure:!0,standalone:!1})},L=class a{transform(e,t,r=0){if(!e)return e;let i=t?parseInt(t,10):10;return e.length>i?e.substring(r,i)+"...":e}static \u0275fac=function(t){return new(t||a)};static \u0275pipe=s({name:"limitTo",type:a,pure:!0,standalone:!1})};var w=class a{transform(e){return e!=null?e.replace(/\n/g,"<br />"):e}static \u0275fac=function(t){return new(t||a)};static \u0275pipe=s({name:"newlines",type:a,pure:!0,standalone:!1})};var F=class a{transform(e,t,r){t=t??2;let i=Math.pow(10,t);return r&&(e=e-e*i%5/i),Math.round(e*i)/i}static \u0275fac=function(t){return new(t||a)};static \u0275pipe=s({name:"DecimalRound",type:a,pure:!0,standalone:!1})},k=class a{constructor(e){this.decimalPipe=e}transform(e,t){if(t=f.IsNotEmpty(t)?t:0,e=f.IsNotEmpty(e)?e:0,!e)return;typeof e=="string"&&(e=e.split(",").join(""),e=parseFloat(e));let r=e?.toFixed(4);for(r=r.substr(r.length-4);r.substr(r.length-1,1)=="0";)r=r.substr(0,r.length-1);let i=r.length>t?r.length:t,n="1."+i.toString()+"-"+i.toString();return this.decimalPipe.transform(e,n)}static \u0275fac=function(t){return new(t||a)(u(p,16))};static \u0275pipe=s({name:"TrailingZero",type:a,pure:!0,standalone:!1})};var V=class a{transform(e,t,r){let i=e.find(n=>n[t]==r);return i??{}}static \u0275fac=function(t){return new(t||a)};static \u0275pipe=s({name:"find",type:a,pure:!0,standalone:!1})},R=class a{transform(e,t){return e==""||e==null?"":(t==""||t==null||(t=t.replace("{0}",e)),t)}static \u0275fac=function(t){return new(t||a)};static \u0275pipe=s({name:"showIfNotNullOrEmptyString",type:a,pure:!0,standalone:!1})};var x=class a{transform(e,t){return t===void 0||t===""?e:e.filter(r=>r.Name.toLowerCase().indexOf(t.toLowerCase())!==-1)}static \u0275fac=function(t){return new(t||a)};static \u0275pipe=s({name:"FilterByName",type:a,pure:!0,standalone:!1})};var M=class a{transform(e,t,r="Name"){return t===void 0?e:typeof t=="number"?e.filter(i=>i[r]==t):e.filter(i=>i[r].toString().toLowerCase().indexOf(t.toLowerCase())!==-1)}static \u0275fac=function(t){return new(t||a)};static \u0275pipe=s({name:"Filter",type:a,pure:!0,standalone:!1})},N=class a{transform(e,t,r){let i=[];return i=e.filter(n=>n[t]<r),i}static \u0275fac=function(t){return new(t||a)};static \u0275pipe=s({name:"GetArrayWithSmallerCondition",type:a,pure:!0,standalone:!1})},E=class a{transform(e,t,r){let i=[];return i=e.filter(n=>n[t]>r),i}static \u0275fac=function(t){return new(t||a)};static \u0275pipe=s({name:"GetArrayWithGreaterCondition",type:a,pure:!0,standalone:!1})},U=class a{transform(e,t,r){if(e){if(r==""||r==null||r==null)return e;{let i=[];for(let n=0;n<t.length;n++){let o=e.filter(c=>c[t[n]]!=null);o=o.filter(c=>c[t[n]].toLowerCase().indexOf(r.toLowerCase())>-1),i=i.concat(o)}return i}}else return[]}static \u0275fac=function(t){return new(t||a)};static \u0275pipe=s({name:"FilterByArray",type:a,pure:!0,standalone:!1})},j=class a{constructor(e){this.sanitizer=e}transform(e){return this.sanitizer.bypassSecurityTrustHtml(e)}static \u0275fac=function(t){return new(t||a)(u(A,16))};static \u0275pipe=s({name:"SafeHtml",type:a,pure:!0,standalone:!1})},H=class a{transform(e){return Math.ceil(e)}static \u0275fac=function(t){return new(t||a)};static \u0275pipe=s({name:"RoundUp",type:a,pure:!0,standalone:!1})},W=class a{transform(e){let t;switch(e){case 1:t="January";break;case 2:t="February";break;case 3:t="March";break;case 4:t="April";break;case 5:t="May";break;case 6:t="June";break;case 7:t="July";break;case 8:t="August";break;case 9:t="September";break;case 10:t="October";break;case 11:t="November";break;case 12:t="December";break;default:t="-"}return t}static \u0275fac=function(t){return new(t||a)};static \u0275pipe=s({name:"Month",type:a,pure:!0,standalone:!1})},J=class a{transform(e,t){let r=[];return e.forEach(i=>{i[t].forEach(n=>{r.push(n)})}),r}static \u0275fac=function(t){return new(t||a)};static \u0275pipe=s({name:"GetChildrenArray",type:a,pure:!0,standalone:!1})},$=class a{transform(e,t){let r=0;return e.forEach(i=>{i!=0&&(r+=i[t]?i[t]:0)}),r>0}static \u0275fac=function(t){return new(t||a)};static \u0275pipe=s({name:"HideSumZero",type:a,pure:!0,standalone:!1})},Q=class a{transform(e,t){var r=new Date(e),i=new Date(t),n=i.getTime()-r.getTime();return Math.round(n/6e4)}static \u0275fac=function(t){return new(t||a)};static \u0275pipe=s({name:"DateDiffInMinute",type:a,pure:!0,standalone:!1})},z=class a{transform(e){return new Date(e)}static \u0275fac=function(t){return new(t||a)};static \u0275pipe=s({name:"ToDateString",type:a,pure:!0,standalone:!1})},K=class a{transform(e,t="",r=""){return!e||t===""||!t||e.length<=1?e:!r||r===""?t==="asc"?e.sort():e.sort().reverse():(e=e.sort((i,n)=>{let o=t==="asc";switch(typeof i[r]){case"string":return this.compare(i[r]?.toLocaleLowerCase(),n[r]?.toLocaleLowerCase(),o);case"number":return this.compare(i[r],n[r],o);case"boolean":return this.compare(Number(i[r]),Number(n[r]),o);default:return 0}}),e)}compare(e,t,r){return(e<t?-1:1)*(r?1:-1)}static \u0275fac=function(t){return new(t||a)};static \u0275pipe=s({name:"sortBy",type:a,pure:!0,standalone:!1})},Y=class a{constructor(e){this.datePipe=e}transform(e,t){return t=t||"dd/MM/yyyy",e&&e!="0001-01-01T00:00:00"?this.datePipe.transform(e,t):"-"}static \u0275fac=function(t){return new(t||a)(u(l,16))};static \u0275pipe=s({name:"IsMinDate",type:a,pure:!0,standalone:!1})};var Z=class a{transform(e,t){let r=!0;try{let i="";return t=t||"Name",e.forEach((n,o)=>{o==0?i=n[t]:i!=n[t]&&(r=!1)}),r}catch{return!0}}static \u0275fac=function(t){return new(t||a)};static \u0275pipe=s({name:"checkPropValueIsSame",type:a,pure:!0,standalone:!1})},q=class a{transform(e,t,r,i){let n=e.filter(o=>o[t]==r);return n.length>0?n[0][i]:0}static \u0275fac=function(t){return new(t||a)};static \u0275pipe=s({name:"FilterGetAmount",type:a,pure:!0,standalone:!1})},X=class a{transform(e){return e?"Yes":"No"}static \u0275fac=function(t){return new(t||a)};static \u0275pipe=s({name:"YesNo",type:a,pure:!0,standalone:!1})};var _=class a{transform(e,t,r){let i=t.Sales/100*e[0].Rate;return r==1&&(i=t.Tax-i),i}static \u0275fac=function(t){return new(t||a)};static \u0275pipe=s({name:"TaxDefault",type:a,pure:!0,standalone:!1})},tt=class a{transform(e,t,r){let i=e.toLowerCase(),n;return n=i.replace(t,`<b class="${r}">${t}</b>`),n}static \u0275fac=function(t){return new(t||a)};static \u0275pipe=s({name:"SearchNote",type:a,pure:!0,standalone:!1})},et=class a{transform(e,t=30){return e.length>t?e.substring(0,t)+"...":e}static \u0275fac=function(t){return new(t||a)};static \u0275pipe=s({name:"TruncateText",type:a,pure:!0,standalone:!1})},at=class a{static \u0275fac=function(t){return new(t||a)};static \u0275mod=I({type:a});static \u0275inj=y({providers:[p,m,l,P]})};var rt=class{static GetPOSStorage="/API/POS/LoadPOS";static GetPOSDataByID="/API/POS/GetPOSDataBySalesOrderID";static GetRegisterInfo="/API/POS/GetRegisterInfoByID";static GenerateNumber="/API/POS/GenerateNumber";static RefreshToken="/API/Authentication/RefreshToken";static RemovePark="/API/POS/RemovePark";static VoidPark="/API/POS/VoidPark";static ReturInvoice="/API/POS/ReturInvoiceByEntityIDAndNumber";static MergePark="/API/POS/MergePark";static ParkOrder="/API/POS/SubmitParkOrder";static GetPark="/API/POS/GetParkByEntityID";static GetOutStanding="/API/POS/GetOutStandingByEntityID";static GetVacant="/API/POS/GetParkInfoByEntityID";static RecordOpeningCash="/API/POS/RecordOpeningCash";static OpenRegister="/API/POS/LoadRegister";static SplitOrder="/API/POS/split_parkedorder";static GetPackageID="/API/POS/GetPackageID";static SubmitOrder="/API/POS/SubmitInvoice";static SyncProducts="/API/POSSync/Products";static SyncCustomer="/API/POSSync/Customers";static SynOutletPrice="/API/POSSync/OutletPrices";static SynOutlet="/API/POSSync/Outlets";static SyncPark="/API/POSSync/Parks";static GetRewardByPromotionID="/API/POS/GetRewardByPromotionID";static GetListPromotion="/API/POS/Promotion";static EnabledPromotion="/API/Promotion/UpdateEnabled";static PromotionPushToPOS="/API/promotion/PushToPOS";static GetCustomerSuggestionCode="/API/POS/GetSuggestionCustomerCode";static GetCustomerPrivilegeByID="/API/Contact/GetPrivilegeByCustomerID";static GetCustomerSalesHistory="/API/Contact/GetCustomerSalesHistory";static GetSalesPersonByOutletId="/API/Contact/salesperson/GetSalesPersonByEntityID";static GetVariantByID="/API/catalog/variant/GetVariantByID";static GetVariantByCode="/API/catalog/variant/GetVariantByCode";static GetVariantSuggestionsByEntityID="/API/AC/GetVariantSuggestionByCodeNNameWithEntityID";static GetVariantSuggestions="/API/AC/GetVariantSuggestionByCodeNName";static GetCustomerSuggestions="/API/AC/GetCustomerSuggestion";static BuyReturInvoice="/API/Buy/GetSupplierInvoiceRetur";static GetVariantFormModelByID="/API/catalog/variant/GetVariantFormModelById";static GetVariantWithSameProductID="/API/catalog/variant/GetVariantWithSameProductID";static GetVariantInfoModelById="/API/catalog/variant/GetVariantInfoModelById";static GetTransactionHistoryByVariantId="/API/catalog/variant/GetHistoryByVariantID";static GetStockLogConsistency="/API/Inventory/GetStockLogConsistency";static GetStockLogConsistencyByDate="/API/Inventory/GetStockLogConsistencyByDate";static RefreshAllocatedInventoryCache="/API/Catalog/Variant/RefreshAllocatedByListID";static EraseOutletPrice="/api/catalog/product/DeleteAllOutletPrice";static GetOutletPriceCount="/API/catalog/product/OutletPriceCount";static UpdateROP="/API/Inventory/UpdateROP";static UpdateProductImage="/API/catalog/product/UpdateProductImageUrl";static GetSalesHistory="/Api/catalog/product/GetSalesHistory";static GetPurchaseHistory="/API/catalog/product/GetPurchaseHistory";static GetParkedHistory="/API/catalog/product/GetParkOrder";static ImportProduct="/api/catalog/product/ConfirmImport";static PreviewImportProduct="/api/catalog/product/PreviewUpload";static importOutlet="/API/Outlet/ConfirmImport";static previewImportOutlet="/API/Outlet/PreviewUpload";static MergeProduct="/API/catalog/product/MergeProduct";static CreateVariant="/API/catalog/variant/CreateVariant";static SendInvoiceEmail="/API/Transaction/SendEmail";static SendInvoiceWhatsapp="/API/receipt/Whatsapp";static GetCustomerByCode="/API/Contact/GetByCode";static GetCustomerCode="/API/Contact/GetCode";static GetCustomerEmailByID="/API/Contact/GetEmailByID";static MergeCustomer="/API/Contact/MergeCustomer";static CreateCustomer="/API/Contact/Customer/Create";static CreateCustomerInvoice="/API/POS/AddCustomerByInvoice";static MergeCurrency="/api/Setup/Payment/MergeCurrency";static GetPriceBookByVariantID="/API/catalog/variant/GetPriceBookByVariantID";static ValidateInternalCoupon="/API/PromotionCoupon/ValidateCouponInternal";static validateExternalCoupon="/API/PromotionCoupon/ValidateCouponExternal";static GetCouponData="/API/PromotionCoupon/GetCouponDataAsync";static Invoice="/api/Invoice/InvoiceInfo";static OrdersLoader="/API/OrdersLoader/CustomerInvoice";static Orders="/api/Invoice/CustomerInvoice";static PaymentReceivedLoader="/API/PaymentLoader/DailyPaymentLoader";static PaymentReceived="/API/Payment/DailyPaymentReceived";static CheckOutUrlBuy="/API/Buy/SubmitOrder";static Scanner="/API/AdjustmentLoader/StockTakeByCSV";static AdjustmentLoader="/API/AdjustmentLoader/GetInventoryAdjustmentList";static Adjustment="/API/Adjustment/GetInventoryAdjustmentList";static AdjustmentStorage="/API/Adjustment/GetStorage";static AdjusmentSubmitReview="/API/Adjustment/UpdateToReview";static GetNumberAdjustment="/API/Adjustment/GenerateNumber";static MergeAdjustment="/api/Adjustment/Merge";static GetAccountReceivableLoader="/API/DebtLoader/AccountsReceiveableSummary";static GetAccountReceivableDetailLoader="/API/DebtLoader/AccountsReceiveableDetails";static GetAccountReceivableSummary="/API/Debt/AccountsReceiveableSummary";static getAccountreceivableDetail="/API/Debt/AccountsReceiveableDetails";static BatchCollectionDelete="/API/Debt/InvoiceBatchCollectionDelete";static VoidInvoiceLoader="/API/OrdersLoader/VoidInvoiceLoader";static VoidInvoiceList="/api/RecycleBin/VoidListInvoice";static WaitingPatientList="/API/Treatment/WaitingPatientList";static CheckOutTreatmentByListID="/API/Treatment/CheckOutByListID";static TreatmentRegisterLoader="/API/TreatmentLoader/Registration";static TreatmentRegisterOutletInfo="/API/Treatment/RegistrationGetOutletInfoByEntityID";static TreatmentCustomerInfo="/API/Treatment/RegistrationGetCustomerInfoByCustomerID";static DeleteTreatmentPackageHistory="/API/Treatment/DeleteTreatmentPackageHistoryByID";static DeleteTreatmentArchive="/API/Treatment/DeleteTreatmentArchive";static SubmitTreatementRegistration="/API/Treatment/RegistrationSubmit";static SalesOrderMini="/API/Print/SalesOrderMini";static GetBulkPrint="/API/Tool/getBulkPrint";static GetBulkPrintA4="/API/tool/GetBulkPrintA4";static ProductLoader="/API/catalog/ProductLoader/ProductList";static ProductList="/API/catalog/product/GetProductList";static GetProductByID="/API/catalog/product/GetProductByID";static GetProductByCode="/API/v3/product/Code";static GetAllProductByCategory="/API/catalog/category/GetAllProductByCategory";static DeleteProductList="/API/catalog/product/DeleteProductList";static DeleteVariantInfo="/API/catalog/variant/DeleteVariantInfo";static ProductForm="/API/catalog/ProductLoader/ProductForm";static SubmitProduct="/API/catalog/product/SubmitProduct";static ProductInfo="/API/catalog/ProductLoader/ProductInfoInitial";static ProductCodeByCategory="/api/catalog/product/GetSuggestionProductCodeByCategoryID";static CreateCategory="/API/catalog/category/CreateProductCategory";static CreateBrand="/API/catalog/product/CreateBrand";static CreateTag="/API/catalog/product/CreateTags";static CreateUOM="/API/catalog/product/CreateProductUOM";static VariantInfo="/API/catalog/variant/GetVariantInfoModelById";static VariantFormData="/API/catalog/variant/GetVariantFormInitialData";static VariantForm="/API/catalog/variant/GetVariantFormModelById";static SubmitVariant="/API/catalog/variant/SubmitVariant";static GetVariantOnSelectedIDByID="/API/ProductSetup/GetVariantOnSelectedIDByID";static CreateContact="/API/Contact/Create";static Closure="/API/POS/Closure";static UploadCsv="/API/POS/UploadCsvV2";static GenerateGopayQrCode="/API/Gopay/GenerateQR";static GopayVerifyPayment="/API/Gopay/VerifyQR";static GenerateBcaQrCode="/API/BCA/GenerateQR";static BcaVerifyPayment="/API/BCA/VerifyQR";static InvoiceA4="/API/Print/Invoice";static InvoiceMini="/API/Print/InvoiceMini";static BulkInvoice="/API/Print/BulkInvoice";static BulkSupplierInvoice="/API/Print/BulkSupplierInvoice";static UpdateLastPrintDateTime="/API/Invoice/AddPrintHistory";static UpdateLastPrintByListID="/API/Invoice/AddPrintHistoryByListID";"/API/Print/UpdateLastPrintJoinInvoice";static CustomerPoInvoice="/API/Print/CustomerPOInvoice";static InDeliveryInvoice="/API/Print/InDelivery";static InvoiceAndDelivery="/API/Print/InvoiceAndDelivery";static EstimateInvoice="/API/Print/EstimateInvoice";static JobOrderInvoice="/API/Print/JobOrders";static JobOrderMiniInvoice="/API/Print/JobOrderMini";static InvoiceJournal="/Api/Print/Journal";static ClouserReceipt="/API/Print/RegisterClosure";static OutDeliveryInvoice="/Api/Print/OutDelivery";static PackingSlipInvoice="/Api/Print/PrintPackingSlip";static PaymentReceipt="/API/Print/Payment";static AdjustmentInvoice="/API/Print/Adjustment";static SalesOrderReceiptMini="/Api/Print/SalesOrderMini";static WorkOrderReceipt="/Api/Print/WorkOrder";static TransferOrderReceipt="/API/Print/Transfer";static TreatmentInvoice="/API/Print/TreatmentInvoice";static SupplierInvoiceReceipt="/API/Print/SupplierInvoice";static SupplierPoReceipt="/API/Print/SupplierPONG";static UploadCsvBuy="/API/Buy/UploadCsv";static InvoiceInfo="/API/Invoice/InvoiceInfo";static InvoicePrintHistory="api/invoice/GetPrintHistory";static GenerateLink="/API/PayNow/GenerateLink";static LoadFormBuy="/API/Buy2/Load";static BuyGetOutletInfo="/API/Buy2/GetOutletInfo";static BuyGenerateNumber="/API/Buy/GenerateNumber";static BuyGetDataByID="/API/Buy2/GetDataByID";static GetQuickKeyByEntityID="/API/catalog/product/GetQuickKeyByEntityID";static GetVariantStockByID="/API/catalog/variant/GetInventoryByVariantID";static GetSupplierInvoice="/API/Buy/GetSupplierInvoiceRetur";static GetSupplierDTO="/API/Contact/GetSupplierDTO";static UpdateSalesSupplierByID="/API/Buy/UpdateSalesSupplierById";static MergeSupplier="/API/Contact/MergeSupplier";static LoadFormDelivery="/API/TransferOrderLoader/LoadForm";static DeliveryGenerateNumber="/API/TransferOrder/GenerateNumber";static UpdateCourierList="/API/TransferOrder/UpdateCourierList";static SubmitOutletDelivery="/API/TransferOrder/SubmitOrder";static getAllOutletInventory="/API/TransferOrder/ClearOutlet";static GetCourierByOutletDestination="/API/TransferOrder/GetCourierByOutletDestination";static GetCourierInfo="/API/TransferOrderLoader/Info";static UpdateCourier="/API/TransferOrder/UpdateCourierList";static PaymentListSorting="/API/Setup/Payment/SortPaymentMethod";static TaxListSorting="/API/Setup/Payment/SortTax";static SaveTaxSetup="/api/Setup/Payment/SubmitTaxForm";static LoadFormEstimate="/API/Estimate/LoadForm";static EstimateGenerateNumber="/API/Estimate/GenerateNumber";static SubmitEstimate="/API/Estimate/SubmitOrder";static LoadFormAdjustment="/API/Adjustment/LoadForm";static AdjustmentGenerateNumber="/API/Adjustment/GenerateNumber";static SubmitAdjustment="/API/Adjustment/SubmitOrder";static ForecastData="Inventory/Daystozero";static ForecastLoader="InventoryLoader/Daystozero";static ValidateInventory="/api/inventory/GetByListGuidFromCart";static UsageActivities="Developer/DeveloperSpace/API/Activity";static WebhookCouponProviderLoader="Developer/DeveloperSpace/WebhookLoader/WebhookCouponProvider";static WebhookCouponProviderSave="/api/Developer/DeveloperSpace/Webhook/SaveWebhookCouponProvider";static GetVariantSerialPagedLoader="Catalog/SerialLoader/GetVariantSerialPagedLoader";static GetVariantSerialPagination="Catalog/Serial/GetVariantSerialPagination";static SerialInfo="Catalog/Serial/SerialInfo";static GetVariantSerialFormLoader="/api/Catalog/SerialLoader/GetVariantSerialFormLoader";static GetCountVariantSerial="/api/Catalog/Serial/GetCountVariantSerial";static AddVariantSerial="/api/Catalog/Serial/AddVariantSerial";static EditSerial="/api/Catalog/Serial/EditSerial";static GetVariantSerialByListVariantID="/api/Catalog/Serial/GetVariantSerialByListVariantID";static StockAvailableSerial="/api/Catalog/Serial/StockAvailableSerial";static GetVariantSerialByVariantID="/api/Catalog/Serial/GetVariantSerialByVariantID";static GetVariantSerial="/api/Catalog/Serial/GetVariantSerial";static GetVariantBySerial="/api/catalog/serial/GetVariantbySerial";static GetSerialHistory="/api/catalog/serial/History";static GetDashboardSales="/API/Dashboard/Sales";static GetDashboardPayment="/API/Payment/DailyPaymentRecevedHighChart";static GetDashboardPurchase="/API/Dashboard/Purchase";static GetDashboardDebt="/API/Dashboard/Debt";static GetDashboardProduct="/API/Dashboard/Product";static GetDashboardInventory="/API/Dashboard/Inventory";static DeleteListPayment="/api/Payment/DeleteListPayment";static RevokeAccess="/api/user/user/RevokeAccess";static RevokeAccessGroup="/api/user/group/RevokedUsers";static GroupHistoryLoader="/api/user/GroupLoader/UpdateHistory";static GroupHistoryData="/api/user/Group/UpdateHistory";static GetUnfulfilledOrderByNumberOrReferenceNumber="/api/OutboundLogisticsLoader/GetOutboundInfo";static GetUnfulfilledNumberByNumber="/API/AC/SearchUnfulfilledOrderByNumber";static SendTransferOrder="/api/TransferOrder/SendTransferOrder";static ReceiveTransferOrder="/api/TransferOrder/ReceiveTransferOrder";static ApproveDelivery="/api/TransferOrder/ApproveTransferOrder";static GetUUID="/api/setup/getuuidv7";static GetProductTags="/api/ProductSetup/GetProductTags";static GetTagInfo="/api/ProductSetup/GetTagInfo";static UpdateProductTagsReleased="/api/ProductSetup/UpdateProductTagsReleased"};export{g as a,S as b,G as c,C as d,D as e,v as f,m as g,O as h,b as i,T as j,B as k,h as l,P as m,L as n,w as o,F as p,k as q,V as r,R as s,x as t,M as u,N as v,E as w,U as x,j as y,H as z,W as A,J as B,$ as C,Q as D,z as E,K as F,Y as G,Z as H,q as I,X as J,_ as K,tt as L,et as M,at as N,rt as O};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a as ce}from"./chunk-XOOFBNDP.js";import{d as de,e as me}from"./chunk-MCPXNQRW.js";import"./chunk-M67ULXNR.js";import"./chunk-3RK6DDJD.js";import"./chunk-D75PDB6P.js";import"./chunk-RHVNZ2DF.js";import"./chunk-5J2SNOT2.js";import"./chunk-PY3PDRRW.js";import"./chunk-NEJRKLYO.js";import{e as le}from"./chunk-K5ERLQ63.js";import"./chunk-QNJH27F5.js";import{a as X}from"./chunk-CKN6D7N7.js";import{f as pe}from"./chunk-AOQIZ6M2.js";import{b as ee}from"./chunk-IZK2IN4R.js";import"./chunk-OLC5OIWO.js";import"./chunk-D7J7CQGT.js";import"./chunk-Q2GPSDAM.js";import"./chunk-CJFDTLOQ.js";import{a as ie}from"./chunk-NWBLFLVC.js";import{e as oe,f as ne}from"./chunk-6IVR565J.js";import"./chunk-WVCZAPRZ.js";import"./chunk-Q32BQBU5.js";import"./chunk-A3FTQA6E.js";import"./chunk-FPGIRAZZ.js";import"./chunk-B7QNQTF3.js";import"./chunk-JHYJTTAR.js";import"./chunk-4UJTVSL2.js";import"./chunk-ZJ4AGOKX.js";import"./chunk-WPTBNQ2V.js";import"./chunk-CANN2XN6.js";import"./chunk-YX5ADQPF.js";import{b as te}from"./chunk-62E2JEWQ.js";import"./chunk-KHFL6T5N.js";import"./chunk-AFCABMLQ.js";import{F as ae,G as re}from"./chunk-YFMVQJRL.js";import"./chunk-HD6ETXDZ.js";import"./chunk-2525CDKJ.js";import{d as Z,e as $}from"./chunk-UARWMJ5H.js";import"./chunk-235POOLV.js";import"./chunk-EQLHPWVB.js";import{g as Y}from"./chunk-TY7JJASH.js";import"./chunk-K2M625FR.js";import"./chunk-ZOPOSPVC.js";import"./chunk-EXIKKRCD.js";import"./chunk-2FWFPV5I.js";import"./chunk-4DH3BDE3.js";import{F as K,h as q,o as z}from"./chunk-PRROMENK.js";import"./chunk-L6YGMZJK.js";import"./chunk-P3BUVJKX.js";import{d as Q}from"./chunk-ODGFQ7QJ.js";import"./chunk-CTPHJSLU.js";import{Ab as c,Ac as U,Bb as a,Cb as r,Cc as W,Db as M,Gc as L,Hb as P,Ib as h,Kb as w,Mb as x,Ob as s,Qa as T,Uc as A,Vd as N,Wa as o,Yd as O,_d as j,ae as G,bb as C,bc as n,cc as D,de as J,ed as R,fb as F,gc as g,hc as u,ic as _,jb as V,lb as I,ld as k,qd as B,sc as b,ta as l,ua as p,wb as v,yb as E,zb as H}from"./chunk-LBIXL2NM.js";import"./chunk-WFMAM73Y.js";import"./chunk-SNAKHGZS.js";var _e=m=>({ID:m});function Ce(m,S){if(m&1){let t=w();a(0,"a",11),x("click",function(){l(t);let e=s();return p(e.openExportModal())}),M(1,"i",12),n(2," Export "),r()}}function fe(m,S){if(m&1){let t=w();a(0,"div",13)(1,"h6"),n(2,"Category"),r(),a(3,"POS-product-category-select",14),_("selectedCategoryIDChange",function(e){l(t);let i=s();return u(i.pageData.Filter.CategoryID,e)||(i.pageData.Filter.CategoryID=e),p(e)}),r(),a(4,"h6"),n(5,"Brand"),r(),a(6,"ng-select",15),_("ngModelChange",function(e){l(t);let i=s();return u(i.pageData.Filter.BrandID,e)||(i.pageData.Filter.BrandID=e),p(e)}),r(),a(7,"h6"),n(8,"Tags"),r(),a(9,"ng-select",16),_("ngModelChange",function(e){l(t);let i=s();return u(i.pageData.Filter.TagsID,e)||(i.pageData.Filter.TagsID=e),p(e)}),r(),a(10,"h6"),n(11,"Supplier"),r(),a(12,"autocompleteV2",17),_("ngModelChange",function(e){l(t);let i=s();return u(i.pageData.Filter.SupplierID,e)||(i.pageData.Filter.SupplierID=e),p(e)}),r(),a(13,"h6"),n(14,"From - To"),r(),a(15,"div")(16,"datepicker",18),_("dateChange",function(e){l(t);let i=s();return u(i.pageData.Filter.From,e)||(i.pageData.Filter.From=e),p(e)}),r()(),a(17,"div",19)(18,"datepicker",20),_("dateChange",function(e){l(t);let i=s();return u(i.pageData.Filter.To,e)||(i.pageData.Filter.To=e),p(e)}),r()(),a(19,"h6"),n(20,"Product"),r(),a(21,"autocompleteV2",21),_("ngModelChange",function(e){l(t);let i=s();return u(i.pageData.Filter.ProductID,e)||(i.pageData.Filter.ProductID=e),p(e)}),r()()}if(m&2){let t=s();o(3),g("selectedCategoryID",t.pageData.Filter.CategoryID),c("showClear",!0)("continuedCategoriesOnly",!0),o(3),c("items",t.pageData.Options==null?null:t.pageData.Options.Brands),g("ngModel",t.pageData.Filter.BrandID),o(3),c("items",t.pageData.Options==null?null:t.pageData.Options.Tags),g("ngModel",t.pageData.Filter.TagsID),o(3),g("ngModel",t.pageData.Filter.SupplierID),o(4),g("date",t.pageData.Filter.From),o(2),g("date",t.pageData.Filter.To),o(3),g("ngModel",t.pageData.Filter.ProductID)}}function ye(m,S){if(m&1&&(a(0,"tr")(1,"td")(2,"a",22),n(3),r()(),a(4,"td"),n(5),r(),a(6,"td"),n(7),r(),a(8,"td"),n(9),U(10,"date"),r(),a(11,"td"),M(12,"div",23),r()()),m&2){let t=S.$implicit;o(2),c("queryParams",b(9,_e,t.ProductID)),o(),D(t.ProductName),o(2),D(t.ProductCode),o(2),D(t.Modifier),o(2),D(W(10,6,t.Modified,"dd MMM yyyy HH:mm")),o(3),c("innerHTML",t.Note,T)}}var se=class m extends X{constructor(t,d,e,i,y,f,ge,ue){super(t,d,"catalog/Product/GetProductUpdateHistories","catalog/ProductLoader/GetProductUpdateHistories",e,ge,!1,ue);this.httpService=d;this.csvConverter=i;this.matDialog=y;this.roleService=f}openExportModal(){this.matDialog.open(ee,{data:{title:"Product Import Log",exportTypes:[{ID:"productExport/GetExportProductUpdateHistories",Value:"Default"}],filterExport:this.pageData.Filter,getAllDataLengthAPI:"catalog/Product/GetCountProductUpdateHistories",pagination:!0}})}static \u0275fac=function(d){return new(d||m)(C(te),C(J),C(G),C(ie),C(Y),C(Q),C(N),C(A))};static \u0275cmp=F({type:m,selectors:[["pos-product-update-history"]],features:[V],decls:26,vars:11,consts:[["pageFilterTemplate",""],[3,"textChange","onSubmit","filterChange","pageData","text","isFilterOnDropdown","filter"],["ngProjectAs","actions",5,["actions"]],["class","btn btn-outline-secondary",3,"click",4,"ngIf"],["ngProjectAs","filters",5,["filters"]],["ngProjectAs","content",5,["content"]],[1,"container-fluid","mt-5"],[1,"table-responsive"],["id","tableGrid",1,"table"],[1,"thead-light","sticky-header","account-receivable-header"],[3,"nextPage","fetchTotalData","concatAllData","totalData","totalCurrentRow","pageNumber","nextPageDisabled","isFetchTotalData","goToLast"],[1,"btn","btn-outline-secondary",3,"click"],["aria-hidden","true",1,"fa-solid","fa-upload"],[1,"dialog-filter"],[1,"tree-select-as-filter",3,"selectedCategoryIDChange","selectedCategoryID","showClear","continuedCategoriesOnly"],["bindLabel","Value","bindValue","Key","placeholder","Choose...",3,"ngModelChange","items","ngModel"],["bindLabel","Name","bindValue","ID","placeholder","Choose...",3,"ngModelChange","items","ngModel"],["requestUrl","/API/AC/GetSupplierSuggestion",1,"w-100","ac-filter",3,"ngModelChange","ngModel"],["name","From",3,"dateChange","date"],[1,"mt-4"],["name","To",3,"dateChange","date"],["requestUrl","api/ac/GetProductSuggestionByCodeNName",1,"w-100","ac-filter",3,"ngModelChange","ngModel"],["target","_blank","routerLink","/menu/Products/Catalog/Products/Info",1,"link","link-primary",3,"queryParams"],[3,"innerHTML"]],template:function(d,e){if(d&1){let i=w();a(0,"mainpanel-cmp",1),_("textChange",function(f){return l(i),u(e.pageData.Filter.SearchText,f)||(e.pageData.Filter.SearchText=f),p(f)}),x("onSubmit",function(){return l(i),p(e.searchFromPageOne())}),_("filterChange",function(f){return l(i),u(e.pageData.Filter,f)||(e.pageData.Filter=f),p(f)}),P(1,2),I(2,Ce,3,0,"a",3),h(),P(3,4),I(4,fe,22,11,"ng-template",null,0,L),h(),P(6,5),a(7,"div",6)(8,"div",7)(9,"table",8)(10,"thead",9)(11,"tr")(12,"th"),n(13,"Product"),r(),a(14,"th"),n(15,"Code"),r(),a(16,"th"),n(17,"Modified By"),r(),a(18,"th"),n(19,"Modified"),r(),a(20,"th"),n(21,"Note"),r()()(),a(22,"tbody"),E(23,ye,13,11,"tr",null,v),r()()(),a(25,"infinite-pagination",10),x("nextPage",function(){return l(i),p(e.NextPage(!0))})("fetchTotalData",function(){return l(i),p(e.StoreRowsCountAPIResult("catalog/Product/GetCountProductUpdateHistories"))})("concatAllData",function(){return l(i),p(e.StoreRowsCountAPIResult("catalog/Product/GetCountProductUpdateHistories",!0))}),r()(),h(),r()}d&2&&(c("pageData",e.menuData),g("text",e.pageData.Filter.SearchText),c("isFilterOnDropdown",!1),g("filter",e.pageData.Filter),o(2),c("ngIf",e.roleService.global.Export),o(21),H(e.infiniteList),o(2),c("totalData",e.listTotal)("totalCurrentRow",e.infiniteList==null?null:e.infiniteList.length)("pageNumber",e.pageData.Filter.PageNumber)("nextPageDisabled",e.nextPageDisabled)("isFetchTotalData",e.pageData.HideStoreApiCount)("goToLast",e.goToLast))},dependencies:[ne,oe,K,q,z,B,R,ce,pe,$,Z,le,me,de,re,ae,j,O,k],styles:["[_nghost-%COMP%]{display:block}"],changeDetection:0})};export{se as ProductUpdateHistoryComponent};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{Ab as S,Bb as o,Cb as a,Db as C,Kb as E,Mb as I,Ob as m,Oc as l,Pb as p,Qb as u,Rb as N,Tb as F,Ub as V,Wa as i,Xa as x,Zb as j,ac as _,bc as h,dc as M,fb as b,gb as w,ma as P,qd as A,ta as O,tb as s,tc as Q,ua as T,vb as g,xb as k,yb as y,zb as D}from"./chunk-LBIXL2NM.js";var v=class n{static \u0275fac=function(t){return new(t||n)};static \u0275mod=w({type:n});static \u0275inj=P({imports:[A]})};var B=["*"],f=class n{tabTitle;active=!1;isValid=l(!0);icon=l(null);iconColor=l(null);badge=l(null);static \u0275fac=function(t){return new(t||n)};static \u0275cmp=b({type:n,selectors:[["tab"]],inputs:{tabTitle:"tabTitle",active:"active",isValid:[1,"isValid"],icon:[1,"icon"],iconColor:[1,"iconColor"],badge:[1,"badge"]},standalone:!1,ngContentSelectors:B,decls:2,vars:1,consts:[[1,"pane",3,"hidden"]],template:function(t,c){t&1&&(p(),o(0,"div",0),u(1),a()),t&2&&S("hidden",!c.active)},styles:[".pane[_ngcontent-%COMP%]{padding:0 1px}"]})};var R=["*"],z=(n,e)=>({selected:n,danger:e});function G(n,e){if(n&1&&C(0,"i",9),n&2){let t=m().$implicit;_(t.icon()),j("color",t.iconColor())}}function H(n,e){if(n&1&&(o(0,"span",7),h(1),a()),n&2){let t=m().$implicit;i(),M(" ",t.badge()," ")}}function J(n,e){n&1&&C(0,"i",8)}function K(n,e){if(n&1){let t=E();o(0,"a",4),I("click",function(){let d=O(t).$implicit,r=m();return r.onSelectTab(d),T(r.onTabChange(d))}),s(1,G,1,4,"i",5),o(2,"span",6),h(3),s(4,H,2,1,"span",7),s(5,J,1,0,"i",8),a()()}if(n&2){let t=e.$implicit;_(Q(6,z,(t==null?null:t.active)===!0,t.isValid()===!1)),i(),g(t.icon()?1:-1),i(2),M(" ",t.tabTitle," "),i(),g(t.badge()&&t.badge()>0?4:-1),i(),g(t.isValid()===!1&&(t==null?null:t.active)===!1?5:-1)}}var L=class n{tabs;tabChange;constructor(){this.tabChange=new x}ngAfterContentInit(){this.tabs.filter(t=>t.active).length===0&&this.onSelectTab(this.tabs.first)}onSelectTab(e){this.tabChange.emit(e.tabTitle),this.tabs.toArray().forEach(t=>t.active=!1),e.active=!0}onTabChange(e){this.tabChange.emit(e.tabTitle)}static \u0275fac=function(t){return new(t||n)};static \u0275cmp=b({type:n,selectors:[["custom-tabs"]],contentQueries:function(t,c,d){if(t&1&&N(d,f,4),t&2){let r;F(r=V())&&(c.tabs=r)}},outputs:{tabChange:"onTabChange"},standalone:!1,ngContentSelectors:R,decls:7,vars:0,consts:[[1,"row","border-bottom"],[1,"col-12"],[1,"btn","btn-link-tab",3,"class"],[1,"row","mt-6"],[1,"btn","btn-link-tab",3,"click"],[1,"me-2",3,"class","color"],[1,"position-relative"],[1,"position-absolute","top-0","translate-middle","badge","rounded-pill","bg-danger","ms-3"],[1,"fa-regular","fa-circle-exclamation","text-danger"],[1,"me-2"]],template:function(t,c){t&1&&(p(),o(0,"div",0)(1,"div",1),y(2,K,6,9,"a",2,k),a()(),o(4,"div",3)(5,"div",1),u(6),a()()),t&2&&(i(2),D(c.tabs))},styles:[".text-warning[_ngcontent-%COMP%]{color:var(--bs-warning)!important}.bg-light-gray[_ngcontent-%COMP%]{background-color:var(--bs-light-gray);--bs-bg-opacity: .15 !important}.bg-gradient-danger[_ngcontent-%COMP%]{background:repeating-linear-gradient(-60deg,#f8d7da,#f8d7da 15px,#f5c6cb 15px 30px)!important}.bg-gradient-success[_ngcontent-%COMP%]{background:repeating-linear-gradient(-60deg,#beeebb,#beeebb 15px,#afeba8 15px 30px)!important}.bg-gradient-warning[_ngcontent-%COMP%]{background:repeating-linear-gradient(-60deg,#fcf3cf,#fcf3cf 15px,#f9e79f 15px 30px)!important}.bg-light-orange[_ngcontent-%COMP%]{background-color:var(--bs-light-orange);--bs-bg-opacity: .15 !important}.text-danger[_ngcontent-%COMP%]{color:#fb404b!important}.text-dark[_ngcontent-%COMP%]{color:#5e5e5e!important}.text-success[_ngcontent-%COMP%]{color:#87cb16!important}.text-black[_ngcontent-%COMP%]{color:#000!important}.text-white[_ngcontent-%COMP%]{color:var(--bs-white)!important}.btn-light-blue[_ngcontent-%COMP%]{color:#212529;background-color:#dfeffc!important;border-color:#dfeffc}.btn-light-blue[_ngcontent-%COMP%]:hover{color:#212529;background-color:#bcdef9;border-color:#b0d8f8}.btn-light-blue[_ngcontent-%COMP%]:focus, .btn-light-blue.focus[_ngcontent-%COMP%]{color:#212529;background-color:#bcdef9;border-color:#b0d8f8;box-shadow:0 0 0 .2rem #c3d1dc80}.btn-light-blue.disabled[_ngcontent-%COMP%], .btn-light-blue[_ngcontent-%COMP%]:disabled{color:#212529;background-color:#dfeffc;border-color:#dfeffc}.btn-light-blue[_ngcontent-%COMP%]:not(:disabled):not(.disabled):active, .btn-light-blue[_ngcontent-%COMP%]:not(:disabled):not(.disabled).active, .show[_ngcontent-%COMP%] > .btn-light-blue.dropdown-toggle[_ngcontent-%COMP%]{color:#212529;background-color:#b0d8f8;border-color:#a5d2f7}.btn-light-blue[_ngcontent-%COMP%]:not(:disabled):not(.disabled):active:focus, .btn-light-blue[_ngcontent-%COMP%]:not(:disabled):not(.disabled).active:focus, .show[_ngcontent-%COMP%] > .btn-light-blue.dropdown-toggle[_ngcontent-%COMP%]:focus{box-shadow:0 0 0 .2rem #c3d1dc80}.btn-light-danger[_ngcontent-%COMP%]{color:#212529;background-color:#f8d7da!important;border-color:#f8d7da}.btn-light-danger[_ngcontent-%COMP%]:hover{color:#212529;background-color:#f5c2c7;border-color:#f1aeb5}.btn-light-danger[_ngcontent-%COMP%]:focus, .btn-light-danger.focus[_ngcontent-%COMP%]{color:#212529;background-color:#f5c2c7;border-color:#f1aeb5;box-shadow:0 0 0 .2rem #dc354540}.btn-light-danger.disabled[_ngcontent-%COMP%], .btn-light-danger[_ngcontent-%COMP%]:disabled{color:#212529;background-color:#f8d7da;border-color:#f8d7da}.btn-light-danger[_ngcontent-%COMP%]:not(:disabled):not(.disabled):active, .btn-light-danger[_ngcontent-%COMP%]:not(:disabled):not(.disabled).active, .show[_ngcontent-%COMP%] > .btn-light-danger.dropdown-toggle[_ngcontent-%COMP%]{color:#212529;background-color:#f1aeb5;border-color:#ea868f}.btn-light-danger[_ngcontent-%COMP%]:not(:disabled):not(.disabled):active:focus, .btn-light-danger[_ngcontent-%COMP%]:not(:disabled):not(.disabled).active:focus, .show[_ngcontent-%COMP%] > .btn-light-danger.dropdown-toggle[_ngcontent-%COMP%]:focus{box-shadow:0 0 0 .2rem #dc354540}.btn-link-tab.danger[_ngcontent-%COMP%]{color:#c9302c}"]})};export{v as a,f as b,L as c};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a as ge}from"./chunk-SZDTKNUH.js";import{a as ve}from"./chunk-5574BNHI.js";import{a as Ce}from"./chunk-T4MVTLYE.js";import"./chunk-BYXBJQAS.js";import{e as ce,f as fe}from"./chunk-6IVR565J.js";import"./chunk-YX5ADQPF.js";import{b as se}from"./chunk-62E2JEWQ.js";import"./chunk-KHFL6T5N.js";import"./chunk-AFCABMLQ.js";import{u as pe,v as me,w as ue}from"./chunk-YFMVQJRL.js";import"./chunk-HD6ETXDZ.js";import{O as k}from"./chunk-2525CDKJ.js";import{e as ae,f as le,g as de}from"./chunk-TY7JJASH.js";import"./chunk-K2M625FR.js";import"./chunk-EXIKKRCD.js";import"./chunk-2FWFPV5I.js";import"./chunk-4DH3BDE3.js";import{E as oe,F as te,G as ne,c as J,e as h,h as Y,i as X,p as Q,t as Z,w as ee}from"./chunk-PRROMENK.js";import"./chunk-L6YGMZJK.js";import"./chunk-P3BUVJKX.js";import{a as F,d as re}from"./chunk-ODGFQ7QJ.js";import"./chunk-CTPHJSLU.js";import{Ab as p,Bb as i,Ca as V,Cb as r,Db as c,E as T,Gc as K,Jb as $,Jc as L,Kb as G,Mb as v,Ob as C,Vd as W,Wa as l,Yb as j,ae as z,bb as f,bc as a,bd as M,cc as x,dc as w,de as ie,fb as y,id as B,jb as A,lb as I,pa as _,qd as R,sc as b,t as D,ta as P,tb as m,tc as q,ua as E,vb as u,wb as O,yb as U,zb as H}from"./chunk-LBIXL2NM.js";import"./chunk-WFMAM73Y.js";import"./chunk-SNAKHGZS.js";var N=n=>({"is-invalid":n});function Ee(n,d){n&1&&(i(0,"div",16),a(1," Provider Name is required "),r())}function ye(n,d){n&1&&(i(0,"div",20),a(1," Validate Coupon URL is required "),r())}function Ge(n,d){n&1&&(i(0,"div",20),a(1," Redeem Coupon URL is required "),r())}function xe(n,d){n&1&&(i(0,"div",20),a(1,"Key is required"),r())}var S=class n{constructor(d){this.data=d;this.config=new pe,this.config.title="Register Provider",this.config.customWidth="600px",this.initForm()}dialogRef=_(ae);config;fb=_(oe);formGroup;initForm(){this.formGroup=this.fb.group({name:[this.data?.name||"",[h.required]],validateCoupon:[this.data?.validateCoupon||"",[h.required]],redeemCoupon:[this.data?.redeemCoupon||"",[h.required]],enabled:[this.data?.enabled!==void 0?this.data.enabled:!0],header:[this.data?.header,[h.required]]})}onClose(){this.dialogRef.close()}onOk(){this.formGroup.markAllAsTouched(),!this.formGroup.invalid&&this.dialogRef.close(this.formGroup.value)}static \u0275fac=function(e){return new(e||n)(f(le))};static \u0275cmp=y({type:n,selectors:[["app-modal-register-provider"]],decls:35,vars:18,consts:[[3,"onOk","onCancel","onClose","config"],[1,"container-fluid","pt-4"],[1,"row"],[1,"col-12"],[3,"formGroup"],[1,"mb-8"],[1,"d-flex","align-items-center"],[1,"flex-grow-1","me-3"],[1,"form-floating-outline","mb-0"],["type","text","placeholder","Provider Name","id","name","name","name","formControlName","name",1,"form-control","bg-white",3,"ngClass"],["for","name"],[2,"width","75px"],[1,"form-check-floating"],[1,"d-flex","justify-content-center","pt-7","pb-4"],["formControlName","enabled"],[1,"labelFilledInput","text-center"],[1,"invalid-feedback","mt-2",2,"display","block"],[1,"form-floating-outline","mb-8"],["type","text","id","validateCoupon","name","validateCoupon","placeholder","Validate Coupon","formControlName","validateCoupon",1,"form-control","bg-white",3,"ngClass"],["for","validateCoupon"],[1,"invalid-feedback"],["type","text","id","redeemCoupon","placeholder","Redeem Coupon","name","redeemCoupon","formControlName","redeemCoupon",1,"form-control","bg-white",3,"ngClass"],["for","redeemCoupon"],[1,"form-floating-outline","mb-3"],["type","text","id","key","name","key","placeholder","Key: E.g. eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9","formControlName","header","rows","4",1,"form-control","bg-white",3,"ngClass"],["for","key"]],template:function(e,o){e&1&&(i(0,"modal-material",0),v("onOk",function(){return o.onOk()})("onCancel",function(){return o.onClose()})("onClose",function(){return o.onClose()}),i(1,"content")(2,"div",1)(3,"div",2)(4,"div",3)(5,"form",4)(6,"div",5)(7,"div",6)(8,"div",7)(9,"div",8),c(10,"input",9),i(11,"label",10),a(12,"Coupon Provider"),r()()(),i(13,"div",11)(14,"div",12)(15,"div",13),c(16,"app-customize-toggle",14),r(),i(17,"label",15),a(18,"Enabled"),r()()()(),m(19,Ee,2,0,"div",16),r(),i(20,"div",17),c(21,"input",18),i(22,"label",19),a(23,"Validate Coupon URL"),r(),m(24,ye,2,0,"div",20),r(),i(25,"div",17),c(26,"input",21),i(27,"label",22),a(28,"Redeem Coupon URL"),r(),m(29,Ge,2,0,"div",20),r(),i(30,"div",23),c(31,"textarea",24),i(32,"label",25),a(33,"Request Header (Key: value)"),r(),m(34,xe,2,0,"div",20),r()()()()()()()),e&2&&(p("config",o.config),l(5),p("formGroup",o.formGroup),l(5),p("ngClass",b(10,N,(o.formGroup.controls.name==null?null:o.formGroup.controls.name.invalid)&&((o.formGroup.controls.name==null?null:o.formGroup.controls.name.dirty)||(o.formGroup.controls.name==null?null:o.formGroup.controls.name.touched)))),l(9),u(o.formGroup.controls.name.invalid&&(o.formGroup.controls.name.dirty||o.formGroup.controls.name.touched)?19:-1),l(2),p("ngClass",b(12,N,(o.formGroup.controls.validateCoupon==null?null:o.formGroup.controls.validateCoupon.invalid)&&((o.formGroup.controls.validateCoupon==null?null:o.formGroup.controls.validateCoupon.dirty)||(o.formGroup.controls.validateCoupon==null?null:o.formGroup.controls.validateCoupon.touched)))),l(3),u(o.formGroup.controls.validateCoupon.invalid&&(o.formGroup.controls.validateCoupon.dirty||o.formGroup.controls.validateCoupon.touched)?24:-1),l(2),p("ngClass",b(14,N,(o.formGroup.controls.redeemCoupon==null?null:o.formGroup.controls.redeemCoupon.invalid)&&((o.formGroup.controls.redeemCoupon==null?null:o.formGroup.controls.redeemCoupon.dirty)||(o.formGroup.controls.redeemCoupon==null?null:o.formGroup.controls.redeemCoupon.touched)))),l(3),u(o.formGroup.controls.redeemCoupon.invalid&&(o.formGroup.controls.redeemCoupon.dirty||o.formGroup.controls.redeemCoupon.touched)?29:-1),l(2),p("ngClass",b(16,N,(o.formGroup.controls.header==null?null:o.formGroup.controls.header.invalid)&&((o.formGroup.controls.header==null?null:o.formGroup.controls.header.dirty)||(o.formGroup.controls.header==null?null:o.formGroup.controls.header.touched)))),l(3),u(o.formGroup.controls.header.invalid&&(o.formGroup.controls.header.dirty||o.formGroup.controls.header.touched)?34:-1))},dependencies:[R,M,ne,Q,J,Y,X,Z,ee,ue,me,ge],styles:["div.form-check-floating[_ngcontent-%COMP%]{border:1px solid #ced4da;position:relative;border-radius:.25rem!important}.labelFilledInput[_ngcontent-%COMP%]{position:absolute;top:-10px;left:10px;background:#fff;padding-left:4px;padding-right:4px;font-size:.75rem!important;color:#9da2a6}"]})};var Me=(n,d)=>({"bg-success-subtle text-success-emphasis":n,"bg-danger-subtle text-danger-emphasis":d});function Re(n,d){if(n&1){let e=G();i(0,"button",10),v("click",function(){P(e);let t=C();return E(t.addNewCouponProvider())}),a(1," Add "),r()}}function Ne(n,d){n&1&&c(0,"th",8)}function Te(n,d){if(n&1){let e=G();i(0,"td",11)(1,"i",14),v("click",function(){P(e);let t=C().$index,s=C(2);return E(s.onDeleteProvider(t))}),r()()}}function Ie(n,d){if(n&1){let e=G();i(0,"tr"),m(1,Te,2,0,"td",11),i(2,"td")(3,"a",12),v("click",function(){let t=P(e),s=t.$implicit,g=t.$index,be=C(2);return E(be.onUpdateProvider(s,g))}),a(4),r()(),i(5,"td"),a(6),r(),i(7,"td"),a(8),r(),i(9,"td"),a(10),r(),i(11,"td")(12,"span",13),a(13),r()()()}if(n&2){let e=d.$implicit,o=C(2);l(),u(o.role.developer.Edit?1:-1),l(3),w(" ",e.Name," "),l(2),x(e.ValidateCoupon),l(2),x(e.RedeemCoupon),l(2),x(e.KeyUI),l(2),p("ngClass",q(7,Me,e.Enabled,!e.Enabled)),l(),w(" ",e.Enabled?"Enabled":"Disabled"," ")}}function we(n,d){if(n&1&&U(0,Ie,14,10,"tr",null,O),n&2){let e=C();H(e.listProviders())}}function Fe(n,d){n&1&&$(0)}function ke(n,d){if(n&1&&I(0,Fe,1,0,"ng-container",15),n&2){C();let e=j(25);p("ngTemplateOutlet",e)}}function De(n,d){n&1&&(i(0,"tr",16)(1,"td",17),c(2,"empty-state-table"),r()())}var _e=class n extends ve{constructor(e,o,t,s,g){super(e,o,k.WebhookCouponProviderLoader,t);this.activatedRoute=t;this.role=s;this.dialog=g}toastr=_(z);couponProviders=V([]);listProviders=L(()=>this.couponProviders().map(e=>(e.KeyUI=this.generateKeyUI(e.Header),e)));generateKeyUI(e){if(!e||e.length<=25)return e||"";let o=e.substring(0,10),t=e.substring(e.length-10);return`${o}...${t}`}postBindForm(e){this.couponProviders.update(()=>e.Form.CouponProviders.map(t=>({FetchMemberPoint:t.FetchMemberPoint,Enabled:t.Enabled,Name:t.Name,RedeemCoupon:t.RedeemCoupon,ValidateCoupon:t.ValidateCoupon,Header:t.Header})))}addNewCouponProvider(){this.dialog.open(S).afterClosed().pipe(T(e=>F.IsNotEmpty(e)),D(e=>{let o={Name:e.name,ValidateCoupon:e.validateCoupon,RedeemCoupon:e.redeemCoupon,Enabled:e.enabled,Header:e.header};return[...this.couponProviders(),o]})).subscribe(e=>{this.couponProviders.update(()=>e),this.saveCouponProviders(`Coupon provider "${e[e.length-1].Name}" has been successfully added.`)})}onUpdateProvider(e,o){this.dialog.open(S,{data:{name:e.Name,validateCoupon:e.ValidateCoupon,redeemCoupon:e.RedeemCoupon,enabled:e.Enabled,header:e.Header}}).afterClosed().pipe(T(t=>F.IsNotEmpty(t))).subscribe(t=>{let s={Name:t.name,ValidateCoupon:t.validateCoupon,RedeemCoupon:t.redeemCoupon,Enabled:t.enabled,Header:t.header};this.couponProviders.update(g=>(g[o]=s,[...g])),this.saveCouponProviders(`Coupon provider "${t.name}" has been successfully updated.`)})}onDeleteProvider(e){if(confirm("Are you sure you want to delete this coupon provider?")){let o=this.couponProviders()[e]?.Name||"provider";this.couponProviders.update(t=>(t.splice(e,1),[...t])),this.saveCouponProviders(`Coupon provider "${o}" has been successfully deleted.`)}}saveCouponProviders(e){this.httpService.post(k.WebhookCouponProviderSave,this.couponProviders()).subscribe(()=>{this.toastr.success(e||"Coupon provider has been successfully updated.","Success")})}static \u0275fac=function(o){return new(o||n)(f(se),f(ie),f(W),f(re),f(de))};static \u0275cmp=y({type:n,selectors:[["app-coupon-configuration"]],features:[A],decls:26,vars:6,consts:[["EMPTY_STATE",""],[3,"pageData","hideSearchDropdown","hideSearchBox"],["type","button",1,"btn","btn-success"],[1,"container-fluid","mt-6"],[1,"row"],[1,"col-12"],[1,"table","table-stripped","custom-table"],[1,"thead-light","sticky-top-thead"],[1,"text-center",2,"width","10px"],[2,"width","220px"],["type","button",1,"btn","btn-success",3,"click"],[1,"text-center"],["role","button",1,"link-primary","cursor-pointer",3,"click"],[1,"p-3","rounded-2",3,"ngClass"],["title","Delete provider",1,"fa","fa-xmark","text-danger",2,"cursor","pointer",3,"click"],[4,"ngTemplateOutlet"],[1,"table-border-bottom-0"],["colspan","7"]],template:function(o,t){if(o&1&&(i(0,"mainpanel-cmp",1)(1,"actions"),m(2,Re,2,0,"button",2),r(),i(3,"content")(4,"div",3)(5,"div",4)(6,"div",5)(7,"table",6)(8,"thead",7)(9,"tr"),m(10,Ne,1,0,"th",8),i(11,"th",9),a(12,"Name"),r(),i(13,"th"),a(14,"Validate Coupon"),r(),i(15,"th"),a(16,"Redeem Coupon"),r(),i(17,"th"),a(18,"Value"),r(),i(19,"th"),a(20,"Status"),r()()(),i(21,"tbody"),m(22,we,2,0)(23,ke,1,1,"ng-container"),r()()()()(),I(24,De,3,0,"ng-template",null,0,K),r()()),o&2){let s;p("pageData",t.menuData)("hideSearchDropdown",!0)("hideSearchBox",!0),l(2),u(t.role.developer.Edit?2:-1),l(8),u(t.role.developer.Edit?10:-1),l(12),u(((s=t.listProviders())==null?null:s.length)>0?22:23)}},dependencies:[R,M,B,fe,ce,te,Ce],encapsulation:2})};export{_e as CouponConfigurationComponent};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a as l}from"./chunk-KHFL6T5N.js";import{Gb as s,Ia as r,fb as a,jb as c,va as i}from"./chunk-LBIXL2NM.js";var p=["data-p-icon","angle-right"],d=(()=>{class e extends l{static \u0275fac=(()=>{let t;return function(o){return(t||(t=r(e)))(o||e)}})();static \u0275cmp=a({type:e,selectors:[["","data-p-icon","angle-right"]],features:[c],attrs:p,decls:1,vars:0,consts:[["d","M5.25 11.1728C5.14929 11.1694 5.05033 11.1455 4.9592 11.1025C4.86806 11.0595 4.78666 10.9984 4.72 10.9228C4.57955 10.7822 4.50066 10.5916 4.50066 10.3928C4.50066 10.1941 4.57955 10.0035 4.72 9.86283L7.72 6.86283L4.72 3.86283C4.66067 3.71882 4.64765 3.55991 4.68275 3.40816C4.71785 3.25642 4.79932 3.11936 4.91585 3.01602C5.03238 2.91268 5.17819 2.84819 5.33305 2.83149C5.4879 2.81479 5.64411 2.84671 5.78 2.92283L9.28 6.42283C9.42045 6.56346 9.49934 6.75408 9.49934 6.95283C9.49934 7.15158 9.42045 7.34221 9.28 7.48283L5.78 10.9228C5.71333 10.9984 5.63193 11.0595 5.5408 11.1025C5.44966 11.1455 5.35071 11.1694 5.25 11.1728Z","fill","currentColor"]],template:function(n,o){n&1&&(i(),s(0,"path",0))},encapsulation:2})}return e})();export{d as a};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{c as Y}from"./chunk-TY7JJASH.js";import{Ab as c,B as _,Bb as $,Cb as U,D as w,Db as g,Eb as C,F,Fb as m,Gb as k,Ia as u,Jb as N,L as v,Ob as l,Oc as s,Q as I,R as B,Sc as j,Wa as r,Zb as i,_b as b,aa as P,bb as O,cd as V,f as y,fa as R,fb as d,hb as T,hd as W,jb as p,la as M,lb as H,oa as E,pa as q,sc as L,tb as x,vb as D}from"./chunk-LBIXL2NM.js";var X=e=>({"background-color":e});function A(e,a){e&1&&N(0)}function K(e,a){if(e&1&&g(0,"sk-cube-grid",3),e&2){let t=l(2);c("backgroundColor",t.backgroundColor())}}function Z(e,a){if(e&1&&g(0,"sk-chasing-dots",3),e&2){let t=l(2);c("backgroundColor",t.backgroundColor())}}function J(e,a){if(e&1&&g(0,"sk-double-bounce",3),e&2){let t=l(2);c("backgroundColor",t.backgroundColor())}}function Q(e,a){if(e&1&&g(0,"sk-rotating-plane",3),e&2){let t=l(2);c("backgroundColor",t.backgroundColor())}}function ee(e,a){if(e&1&&g(0,"sk-spinner-pulse",3),e&2){let t=l(2);c("backgroundColor",t.backgroundColor())}}function te(e,a){if(e&1&&g(0,"sk-three-bounce",3),e&2){let t=l(2);c("backgroundColor",t.backgroundColor())}}function ne(e,a){if(e&1&&g(0,"sk-wandering-cubes",3),e&2){let t=l(2);c("backgroundColor",t.backgroundColor())}}function oe(e,a){if(e&1&&g(0,"sk-wave",3),e&2){let t=l(2);c("backgroundColor",t.backgroundColor())}}function ie(e,a){if(e&1&&($(0,"div",1),H(1,A,1,0,"ng-container",2),x(2,K,1,1,"sk-cube-grid",3)(3,Z,1,1,"sk-chasing-dots",3)(4,J,1,1,"sk-double-bounce",3)(5,Q,1,1,"sk-rotating-plane",3)(6,ee,1,1,"sk-spinner-pulse",3)(7,te,1,1,"sk-three-bounce",3)(8,ne,1,1,"sk-wandering-cubes",3)(9,oe,1,1,"sk-wave",3),U()),e&2){let t,n=l();i("opacity",n.opacity()),b("backdrop",n.backdrop()),c("ngStyle",L(7,X,n.backdrop()?n.backdropBackgroundColor():"transparent")),r(),c("ngComponentOutlet",n.entryComponent()),r(),D((t=n.spinner())===n.spinkit.skCubeGrid?2:t===n.spinkit.skChasingDots?3:t===n.spinkit.skDoubleBounce?4:t===n.spinkit.skRotatingPlane?5:t===n.spinkit.skSpinnerPulse?6:t===n.spinkit.skThreeBounce?7:t===n.spinkit.skWanderingCubes?8:t===n.spinkit.skWave?9:-1)}}var f=(()=>{class e{backgroundColor=s();static \u0275fac=function(n){return new(n||e)};static \u0275dir=T({type:e,inputs:{backgroundColor:[1,"backgroundColor"]}})}return e})(),re=(()=>{class e extends f{static \u0275fac=(()=>{let t;return function(o){return(t||(t=u(e)))(o||e)}})();static \u0275cmp=d({type:e,selectors:[["sk-chasing-dots"]],features:[p],decls:3,vars:6,consts:[[1,"sk-chasing-dots"],[1,"sk-child","sk-dot1"],[1,"sk-child","sk-dot2"]],template:function(n,o){n&1&&(C(0,"div",0),k(1,"div",1)(2,"div",2),m()),n&2&&(b("colored",!o.backgroundColor()),r(),i("background-color",o.backgroundColor()),r(),i("background-color",o.backgroundColor()))},styles:[".sk-chasing-dots[_ngcontent-%COMP%]{top:50%;margin:auto;width:40px;height:40px;position:relative;text-align:center;animation:_ngcontent-%COMP%_sk-chasingDotsRotate 2s infinite linear}.sk-chasing-dots[_ngcontent-%COMP%] .sk-child[_ngcontent-%COMP%]{width:60%;height:60%;display:inline-block;position:absolute;top:0;border-radius:100%;animation:_ngcontent-%COMP%_sk-chasingDotsBounce 2s infinite ease-in-out}.sk-chasing-dots[_ngcontent-%COMP%] .sk-dot2[_ngcontent-%COMP%]{top:auto;bottom:0;animation-delay:-1s}@keyframes _ngcontent-%COMP%_sk-chasingDotsRotate{to{transform:rotate(360deg)}}@keyframes _ngcontent-%COMP%_sk-chasingDotsBounce{0%,to{transform:scale(0)}50%{transform:scale(1)}}"]})}return e})(),se=(()=>{class e extends f{static \u0275fac=(()=>{let t;return function(o){return(t||(t=u(e)))(o||e)}})();static \u0275cmp=d({type:e,selectors:[["sk-cube-grid"]],features:[p],decls:10,vars:20,consts:[[1,"sk-cube-grid"],[1,"sk-cube","sk-cube1"],[1,"sk-cube","sk-cube2"],[1,"sk-cube","sk-cube3"],[1,"sk-cube","sk-cube4"],[1,"sk-cube","sk-cube5"],[1,"sk-cube","sk-cube6"],[1,"sk-cube","sk-cube7"],[1,"sk-cube","sk-cube8"],[1,"sk-cube","sk-cube9"]],template:function(n,o){n&1&&(C(0,"div",0),k(1,"div",1)(2,"div",2)(3,"div",3)(4,"div",4)(5,"div",5)(6,"div",6)(7,"div",7)(8,"div",8)(9,"div",9),m()),n&2&&(b("colored",!o.backgroundColor()),r(),i("background-color",o.backgroundColor()),r(),i("background-color",o.backgroundColor()),r(),i("background-color",o.backgroundColor()),r(),i("background-color",o.backgroundColor()),r(),i("background-color",o.backgroundColor()),r(),i("background-color",o.backgroundColor()),r(),i("background-color",o.backgroundColor()),r(),i("background-color",o.backgroundColor()),r(),i("background-color",o.backgroundColor()))},styles:[".sk-cube-grid[_ngcontent-%COMP%]{position:relative;top:50%;width:40px;height:40px;margin:auto}.sk-cube-grid[_ngcontent-%COMP%] .sk-cube[_ngcontent-%COMP%]{width:33.33%;height:33.33%;float:left;animation:_ngcontent-%COMP%_sk-cubeGridScaleDelay 1.3s infinite ease-in-out}.sk-cube-grid[_ngcontent-%COMP%] .sk-cube1[_ngcontent-%COMP%]{animation-delay:.2s}.sk-cube-grid[_ngcontent-%COMP%] .sk-cube2[_ngcontent-%COMP%]{animation-delay:.3s}.sk-cube-grid[_ngcontent-%COMP%] .sk-cube3[_ngcontent-%COMP%]{animation-delay:.4s}.sk-cube-grid[_ngcontent-%COMP%] .sk-cube4[_ngcontent-%COMP%]{animation-delay:.1s}.sk-cube-grid[_ngcontent-%COMP%] .sk-cube5[_ngcontent-%COMP%]{animation-delay:.2s}.sk-cube-grid[_ngcontent-%COMP%] .sk-cube6[_ngcontent-%COMP%]{animation-delay:.3s}.sk-cube-grid[_ngcontent-%COMP%] .sk-cube7[_ngcontent-%COMP%]{animation-delay:0s}.sk-cube-grid[_ngcontent-%COMP%] .sk-cube8[_ngcontent-%COMP%]{animation-delay:.1s}.sk-cube-grid[_ngcontent-%COMP%] .sk-cube9[_ngcontent-%COMP%]{animation-delay:.2s}@keyframes _ngcontent-%COMP%_sk-cubeGridScaleDelay{0%,70%,to{transform:scaleZ(1)}35%{transform:scale3D(0,0,1)}}"]})}return e})(),ae=(()=>{class e extends f{static \u0275fac=(()=>{let t;return function(o){return(t||(t=u(e)))(o||e)}})();static \u0275cmp=d({type:e,selectors:[["sk-double-bounce"]],features:[p],decls:3,vars:6,consts:[[1,"sk-double-bounce"],[1,"sk-child","sk-double-bounce1"],[1,"sk-child","sk-double-bounce2"]],template:function(n,o){n&1&&(C(0,"div",0),k(1,"div",1)(2,"div",2),m()),n&2&&(b("colored",!o.backgroundColor()),r(),i("background-color",o.backgroundColor()),r(),i("background-color",o.backgroundColor()))},styles:[".sk-double-bounce[_ngcontent-%COMP%]{top:50%;width:40px;height:40px;position:relative;margin:auto}.sk-double-bounce[_ngcontent-%COMP%] .sk-child[_ngcontent-%COMP%]{width:100%;height:100%;border-radius:50%;background-color:#333;opacity:.6;position:absolute;top:0;left:0;animation:_ngcontent-%COMP%_sk-doubleBounce 2s infinite ease-in-out}.sk-double-bounce[_ngcontent-%COMP%] .sk-double-bounce2[_ngcontent-%COMP%]{animation-delay:-1s}@keyframes _ngcontent-%COMP%_sk-doubleBounce{0%,to{transform:scale(0)}50%{transform:scale(1)}}"]})}return e})(),ce=(()=>{class e extends f{static \u0275fac=(()=>{let t;return function(o){return(t||(t=u(e)))(o||e)}})();static \u0275cmp=d({type:e,selectors:[["sk-rotating-plane"]],features:[p],decls:1,vars:2,consts:[[1,"sk-rotating-plane","colored-parent"]],template:function(n,o){n&1&&k(0,"div",0),n&2&&i("background-color",o.backgroundColor())},styles:[".sk-rotating-plane[_ngcontent-%COMP%]{position:relative;top:50%;width:40px;height:40px;margin:auto;animation:_ngcontent-%COMP%_sk-rotatePlane 1.2s infinite ease-in-out}@keyframes _ngcontent-%COMP%_sk-rotatePlane{0%{transform:perspective(120px) rotateX(0) rotateY(0)}50%{transform:perspective(120px) rotateX(-180.1deg) rotateY(0)}to{transform:perspective(120px) rotateX(-180deg) rotateY(-179.9deg)}}"]})}return e})(),de=(()=>{class e extends f{static \u0275fac=(()=>{let t;return function(o){return(t||(t=u(e)))(o||e)}})();static \u0275cmp=d({type:e,selectors:[["sk-spinner-pulse"]],features:[p],decls:1,vars:2,consts:[[1,"sk-spinner","sk-spinner-pulse","colored-parent"]],template:function(n,o){n&1&&k(0,"div",0),n&2&&i("background-color",o.backgroundColor())},styles:[".sk-spinner-pulse[_ngcontent-%COMP%]{position:relative;top:50%;width:40px;height:40px;margin:auto;border-radius:100%;animation:_ngcontent-%COMP%_sk-pulseScaleOut 1s infinite ease-in-out}@keyframes _ngcontent-%COMP%_sk-pulseScaleOut{0%{transform:scale(0)}to{transform:scale(1);opacity:0}}"]})}return e})(),le=(()=>{class e extends f{static \u0275fac=(()=>{let t;return function(o){return(t||(t=u(e)))(o||e)}})();static \u0275cmp=d({type:e,selectors:[["sk-three-bounce"]],features:[p],decls:4,vars:8,consts:[[1,"sk-three-bounce"],[1,"sk-child","sk-bounce1"],[1,"sk-child","sk-bounce2"],[1,"sk-child","sk-bounce3"]],template:function(n,o){n&1&&(C(0,"div",0),k(1,"div",1)(2,"div",2)(3,"div",3),m()),n&2&&(b("colored",!o.backgroundColor()),r(),i("background-color",o.backgroundColor()),r(),i("background-color",o.backgroundColor()),r(),i("background-color",o.backgroundColor()))},styles:[".sk-three-bounce[_ngcontent-%COMP%]{top:50%;position:relative;margin:auto;width:80px;text-align:center}.sk-three-bounce[_ngcontent-%COMP%] .sk-child[_ngcontent-%COMP%]{width:20px;height:20px;border-radius:100%;display:inline-block;animation:_ngcontent-%COMP%_sk-three-bounce 1.4s ease-in-out 0s infinite both}.sk-three-bounce[_ngcontent-%COMP%] .sk-bounce1[_ngcontent-%COMP%]{animation-delay:-.32s}.sk-three-bounce[_ngcontent-%COMP%] .sk-bounce2[_ngcontent-%COMP%]{animation-delay:-.16s}@keyframes _ngcontent-%COMP%_sk-three-bounce{0%,80%,to{transform:scale(0)}40%{transform:scale(1)}}"]})}return e})(),ue=(()=>{class e extends f{static \u0275fac=(()=>{let t;return function(o){return(t||(t=u(e)))(o||e)}})();static \u0275cmp=d({type:e,selectors:[["sk-wandering-cubes"]],features:[p],decls:3,vars:6,consts:[[1,"sk-wandering-cubes"],[1,"sk-cube","sk-cube1"],[1,"sk-cube","sk-cube2"]],template:function(n,o){n&1&&(C(0,"div",0),k(1,"div",1)(2,"div",2),m()),n&2&&(b("colored",!o.backgroundColor()),r(),i("background-color",o.backgroundColor()),r(),i("background-color",o.backgroundColor()))},styles:[".sk-wandering-cubes[_ngcontent-%COMP%]{top:50%;margin:auto;width:40px;height:40px;position:relative}.sk-wandering-cubes[_ngcontent-%COMP%] .sk-cube[_ngcontent-%COMP%]{width:10px;height:10px;position:absolute;top:0;left:0;animation:_ngcontent-%COMP%_sk-wanderingCube 1.8s ease-in-out -1.8s infinite both}.sk-wandering-cubes[_ngcontent-%COMP%] .sk-cube2[_ngcontent-%COMP%]{animation-delay:-.9s}@keyframes _ngcontent-%COMP%_sk-wanderingCube{0%{transform:rotate(0)}25%{transform:translate(30px) rotate(-90deg) scale(.5)}50%{transform:translate(30px) translateY(30px) rotate(-179deg)}50.1%{transform:translate(30px) translateY(30px) rotate(-180deg)}75%{transform:translate(0) translateY(30px) rotate(-270deg) scale(.5)}to{transform:rotate(-360deg)}}"]})}return e})(),pe=(()=>{class e extends f{static \u0275fac=(()=>{let t;return function(o){return(t||(t=u(e)))(o||e)}})();static \u0275cmp=d({type:e,selectors:[["sk-wave"]],features:[p],decls:6,vars:12,consts:[[1,"sk-wave"],[1,"sk-rect","sk-rect1"],[1,"sk-rect","sk-rect2"],[1,"sk-rect","sk-rect3"],[1,"sk-rect","sk-rect4"],[1,"sk-rect","sk-rect5"]],template:function(n,o){n&1&&(C(0,"div",0),k(1,"div",1)(2,"div",2)(3,"div",3)(4,"div",4)(5,"div",5),m()),n&2&&(b("colored",!o.backgroundColor()),r(),i("background-color",o.backgroundColor()),r(),i("background-color",o.backgroundColor()),r(),i("background-color",o.backgroundColor()),r(),i("background-color",o.backgroundColor()),r(),i("background-color",o.backgroundColor()))},styles:[".sk-wave[_ngcontent-%COMP%]{position:relative;top:50%;margin:auto;width:50px;height:40px;text-align:center;font-size:10px}.sk-wave[_ngcontent-%COMP%] .sk-rect[_ngcontent-%COMP%]{float:left;margin-right:1px;height:100%;width:6px;display:inline-block;animation:_ngcontent-%COMP%_sk-waveStretchDelay 1.2s infinite ease-in-out}.sk-wave[_ngcontent-%COMP%] .sk-rect1[_ngcontent-%COMP%]{animation-delay:-1.2s}.sk-wave[_ngcontent-%COMP%] .sk-rect2[_ngcontent-%COMP%]{animation-delay:-1.1s}.sk-wave[_ngcontent-%COMP%] .sk-rect3[_ngcontent-%COMP%]{animation-delay:-1s}.sk-wave[_ngcontent-%COMP%] .sk-rect4[_ngcontent-%COMP%]{animation-delay:-.9s}.sk-wave[_ngcontent-%COMP%] .sk-rect5[_ngcontent-%COMP%]{animation-delay:-.8s}@keyframes _ngcontent-%COMP%_sk-waveStretchDelay{0%,40%,to{transform:scaleY(.4)}20%{transform:scaleY(1)}}"]})}return e})(),G={skChasingDots:"sk-chasing-dots",skCubeGrid:"sk-cube-grid",skDoubleBounce:"sk-double-bounce",skRotatingPlane:"sk-rotationg-plane",skSpinnerPulse:"sk-spinner-pulse",skThreeBounce:"sk-three-bounce",skWanderingCubes:"sk-wandering-cubes",skWave:"sk-wave"};var S=(()=>{class e{_pendingRequests=0;_pendingRequestsStatus$=new y(1);_filteredUrlPatterns=[];_filteredMethods=[];_filteredHeaders=[];_forceByPass=!1;get pendingRequestsStatus$(){return this._pendingRequestsStatus$.asObservable()}get pendingRequestsStatusSubject$(){return this._pendingRequestsStatus$}get pendingRequests(){return this._pendingRequests}set pendingRequests(t){this._pendingRequests=t}get filteredUrlPatterns(){return this._filteredUrlPatterns}set filteredMethods(t){this._filteredMethods=t}set filteredHeaders(t){this._filteredHeaders=t}set forceByPass(t){this._forceByPass=t}shouldBypassUrl(t){return this._filteredUrlPatterns.some(n=>n.test(t))}shouldBypassMethod(t){return this._filteredMethods.some(n=>n.toUpperCase()===t.method.toUpperCase())}shouldBypassHeader(t){return this._filteredHeaders.some(n=>t.headers.has(n))}shouldBypass(t){return this._forceByPass||this.shouldBypassUrl(t.urlWithParams)||this.shouldBypassMethod(t)||this.shouldBypassHeader(t)}static \u0275fac=function(n){return new(n||e)};static \u0275prov=M({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),ge=(()=>{class e{pendingRequestsInterceptorConfigurer;_visibility$=new y(1);constructor(t){this.pendingRequestsInterceptorConfigurer=t}get visibility$(){return this._visibility$.asObservable()}show(){this.pendingRequestsInterceptorConfigurer.forceByPass=!0,this._visibility$.next(!0)}hide(){this._visibility$.next(!1),this.pendingRequestsInterceptorConfigurer.forceByPass=!1}static \u0275fac=function(n){return new(n||e)(E(S))};static \u0275prov=M({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),Pe=(()=>{class e{pendingRequestsInterceptorConfigurer;spinnerVisibility;spinkit=G;isVisible$;isVisible;visibleUntil=Date.now();backdrop=s(!0);backgroundColor=s();debounceDelay=s(0);entryComponent=s(null);extraDuration=s(0);filteredHeaders=s([]);filteredMethods=s([]);filteredUrlPatterns=s([]);minDuration=s(0);opacity=s(".7");backdropBackgroundColor=s("#f1f1f1");spinner=j(G.skWave);constructor(t,n){this.pendingRequestsInterceptorConfigurer=t,this.spinnerVisibility=n;let[o,z]=F(this.pendingRequestsInterceptorConfigurer.pendingRequestsStatus$,h=>h);this.isVisible$=w(this.pendingRequestsInterceptorConfigurer.pendingRequestsStatus$.pipe(P(()=>o.pipe(v(()=>_(this.debounceDelay()))))),o.pipe(P(()=>z.pipe(v(()=>this.getVisibilityTimer$())))),this.spinnerVisibility.visibility$).pipe(I(),R(h=>this.updateExpirationDelay(h))),this.isVisible=Y(this.isVisible$)}ngOnInit(){this.nullifySpinnerIfEntryComponentIsDefined(),this.initFilters()}nullifySpinnerIfEntryComponentIsDefined(){this.entryComponent()&&this.spinner.update(()=>null)}initFilters(){this.initFilteredUrlPatterns(),this.initFilteredMethods(),this.initFilteredHeaders()}initFilteredUrlPatterns(){this.filteredUrlPatterns().length&&this.filteredUrlPatterns().forEach(t=>this.pendingRequestsInterceptorConfigurer.filteredUrlPatterns.push(new RegExp(t)))}initFilteredMethods(){this.pendingRequestsInterceptorConfigurer.filteredMethods=this.filteredMethods()}initFilteredHeaders(){this.pendingRequestsInterceptorConfigurer.filteredHeaders=this.filteredHeaders()}updateExpirationDelay(t){t&&(this.visibleUntil=Date.now()+this.minDuration())}getVisibilityTimer$(){return _(Math.max(this.extraDuration(),this.visibleUntil-Date.now()))}static \u0275fac=function(n){return new(n||e)(O(S),O(ge))};static \u0275cmp=d({type:e,selectors:[["ng-http-loader"]],inputs:{backdrop:[1,"backdrop"],backgroundColor:[1,"backgroundColor"],debounceDelay:[1,"debounceDelay"],entryComponent:[1,"entryComponent"],extraDuration:[1,"extraDuration"],filteredHeaders:[1,"filteredHeaders"],filteredMethods:[1,"filteredMethods"],filteredUrlPatterns:[1,"filteredUrlPatterns"],minDuration:[1,"minDuration"],opacity:[1,"opacity"],backdropBackgroundColor:[1,"backdropBackgroundColor"],spinner:[1,"spinner"]},outputs:{spinner:"spinnerChange"},decls:1,vars:1,consts:[["id","spinner",3,"backdrop","opacity","ngStyle"],["id","spinner",3,"ngStyle"],[4,"ngComponentOutlet"],[3,"backgroundColor"]],template:function(n,o){n&1&&x(0,ie,10,9,"div",0),n&2&&D(o.isVisible()?0:-1)},dependencies:[se,re,ae,ce,de,le,ue,pe,W,V],styles:["#spinner[_ngcontent-%COMP%]{top:50%;left:50%;transform:translate(-50%,-50%);position:fixed;z-index:9999}#spinner.backdrop[_ngcontent-%COMP%]{top:0;left:0;height:100%;width:100%;display:flex;align-items:center;justify-content:center;transform:none} .colored-parent, .colored>div{background-color:#333}"]})}return e})();function Me(e,a){let t=q(S),n=t.shouldBypass(e);return n||(t.pendingRequests++,t.pendingRequests===1&&t.pendingRequestsStatusSubject$.next(!0)),a(e).pipe(B(()=>{n||(t.pendingRequests--,t.pendingRequests===0&&t.pendingRequestsStatusSubject$.next(!1))}))}export{ge as a,Pe as b,Me as c};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{a as ee}from"./chunk-QNJH27F5.js";import{a as J,e as W}from"./chunk-YFMVQJRL.js";import{A as Y,ka as $,la as I,q as K}from"./chunk-K2M625FR.js";import{a as H,d as Z}from"./chunk-PRROMENK.js";import{Ab as h,Bb as d,Ca as R,Cb as m,Db as b,Ha as M,Ja as V,Kb as P,Lb as q,Lc as N,Mb as x,Pb as S,Qb as U,Sb as f,Tb as g,Ub as y,Uc as X,Wa as _,Wc as n,Xa as p,Xc as Q,Ya as F,Yb as G,_b as C,ac as j,fb as L,gb as O,ka as T,ma as w,na as z,pa as r,qc as B,rb as v,ta as s,ua as l,va as A,wa as D}from"./chunk-LBIXL2NM.js";var ae=["input"],oe=["label"],ie=["*"],re=new z("mat-checkbox-default-options",{providedIn:"root",factory:te});function te(){return{color:"accent",clickAction:"check-indeterminate",disabledInteractive:!1}}var o=(function(a){return a[a.Init=0]="Init",a[a.Checked=1]="Checked",a[a.Unchecked=2]="Unchecked",a[a.Indeterminate=3]="Indeterminate",a})(o||{}),E=class{source;checked},ce=te(),ne=(()=>{class a{_elementRef=r(V);_changeDetectorRef=r(X);_ngZone=r(F);_animationsDisabled=$();_options=r(re,{optional:!0});focus(){this._inputElement.nativeElement.focus()}_createChangeEvent(e){let t=new E;return t.source=this,t.checked=e,t}_getAnimationTargetElement(){return this._inputElement?.nativeElement}_animationClasses={uncheckedToChecked:"mdc-checkbox--anim-unchecked-checked",uncheckedToIndeterminate:"mdc-checkbox--anim-unchecked-indeterminate",checkedToUnchecked:"mdc-checkbox--anim-checked-unchecked",checkedToIndeterminate:"mdc-checkbox--anim-checked-indeterminate",indeterminateToChecked:"mdc-checkbox--anim-indeterminate-checked",indeterminateToUnchecked:"mdc-checkbox--anim-indeterminate-unchecked"};ariaLabel="";ariaLabelledby=null;ariaDescribedby;ariaExpanded;ariaControls;ariaOwns;_uniqueId;id;get inputId(){return`${this.id||this._uniqueId}-input`}required;labelPosition="after";name=null;change=new p;indeterminateChange=new p;value;disableRipple;_inputElement;_labelElement;tabIndex;color;disabledInteractive;_onTouched=()=>{};_currentAnimationClass="";_currentCheckState=o.Init;_controlValueAccessorChangeFn=()=>{};_validatorChangeFn=()=>{};constructor(){r(K).load(J);let e=r(new N("tabindex"),{optional:!0});this._options=this._options||ce,this.color=this._options.color||ce.color,this.tabIndex=e==null?0:parseInt(e)||0,this.id=this._uniqueId=r(Y).getId("mat-mdc-checkbox-"),this.disabledInteractive=this._options?.disabledInteractive??!1}ngOnChanges(e){e.required&&this._validatorChangeFn()}ngAfterViewInit(){this._syncIndeterminate(this.indeterminate)}get checked(){return this._checked}set checked(e){e!=this.checked&&(this._checked=e,this._changeDetectorRef.markForCheck())}_checked=!1;get disabled(){return this._disabled}set disabled(e){e!==this.disabled&&(this._disabled=e,this._changeDetectorRef.markForCheck())}_disabled=!1;get indeterminate(){return this._indeterminate()}set indeterminate(e){let t=e!=this._indeterminate();this._indeterminate.set(e),t&&(e?this._transitionCheckState(o.Indeterminate):this._transitionCheckState(this.checked?o.Checked:o.Unchecked),this.indeterminateChange.emit(e)),this._syncIndeterminate(e)}_indeterminate=R(!1);_isRippleDisabled(){return this.disableRipple||this.disabled}_onLabelTextChange(){this._changeDetectorRef.detectChanges()}writeValue(e){this.checked=!!e}registerOnChange(e){this._controlValueAccessorChangeFn=e}registerOnTouched(e){this._onTouched=e}setDisabledState(e){this.disabled=e}validate(e){return this.required&&e.value!==!0?{required:!0}:null}registerOnValidatorChange(e){this._validatorChangeFn=e}_transitionCheckState(e){let t=this._currentCheckState,c=this._getAnimationTargetElement();if(!(t===e||!c)&&(this._currentAnimationClass&&c.classList.remove(this._currentAnimationClass),this._currentAnimationClass=this._getAnimationClassForCheckStateTransition(t,e),this._currentCheckState=e,this._currentAnimationClass.length>0)){c.classList.add(this._currentAnimationClass);let i=this._currentAnimationClass;this._ngZone.runOutsideAngular(()=>{setTimeout(()=>{c.classList.remove(i)},1e3)})}}_emitChangeEvent(){this._controlValueAccessorChangeFn(this.checked),this.change.emit(this._createChangeEvent(this.checked)),this._inputElement&&(this._inputElement.nativeElement.checked=this.checked)}toggle(){this.checked=!this.checked,this._controlValueAccessorChangeFn(this.checked)}_handleInputClick(){let e=this._options?.clickAction;!this.disabled&&e!=="noop"?(this.indeterminate&&e!=="check"&&Promise.resolve().then(()=>{this._indeterminate.set(!1),this.indeterminateChange.emit(!1)}),this._checked=!this._checked,this._transitionCheckState(this._checked?o.Checked:o.Unchecked),this._emitChangeEvent()):(this.disabled&&this.disabledInteractive||!this.disabled&&e==="noop")&&(this._inputElement.nativeElement.checked=this.checked,this._inputElement.nativeElement.indeterminate=this.indeterminate)}_onInteractionEvent(e){e.stopPropagation()}_onBlur(){Promise.resolve().then(()=>{this._onTouched(),this._changeDetectorRef.markForCheck()})}_getAnimationClassForCheckStateTransition(e,t){if(this._animationsDisabled)return"";switch(e){case o.Init:if(t===o.Checked)return this._animationClasses.uncheckedToChecked;if(t==o.Indeterminate)return this._checked?this._animationClasses.checkedToIndeterminate:this._animationClasses.uncheckedToIndeterminate;break;case o.Unchecked:return t===o.Checked?this._animationClasses.uncheckedToChecked:this._animationClasses.uncheckedToIndeterminate;case o.Checked:return t===o.Unchecked?this._animationClasses.checkedToUnchecked:this._animationClasses.checkedToIndeterminate;case o.Indeterminate:return t===o.Checked?this._animationClasses.indeterminateToChecked:this._animationClasses.indeterminateToUnchecked}return""}_syncIndeterminate(e){let t=this._inputElement;t&&(t.nativeElement.indeterminate=e)}_onInputClick(){this._handleInputClick()}_onTouchTargetClick(){this._handleInputClick(),this.disabled||this._inputElement.nativeElement.focus()}_preventBubblingFromLabel(e){e.target&&this._labelElement.nativeElement.contains(e.target)&&e.stopPropagation()}static \u0275fac=function(t){return new(t||a)};static \u0275cmp=L({type:a,selectors:[["mat-checkbox"]],viewQuery:function(t,c){if(t&1&&(f(ae,5),f(oe,5)),t&2){let i;g(i=y())&&(c._inputElement=i.first),g(i=y())&&(c._labelElement=i.first)}},hostAttrs:[1,"mat-mdc-checkbox"],hostVars:16,hostBindings:function(t,c){t&2&&(q("id",c.id),v("tabindex",null)("aria-label",null)("aria-labelledby",null),j(c.color?"mat-"+c.color:"mat-accent"),C("_mat-animation-noopable",c._animationsDisabled)("mdc-checkbox--disabled",c.disabled)("mat-mdc-checkbox-disabled",c.disabled)("mat-mdc-checkbox-checked",c.checked)("mat-mdc-checkbox-disabled-interactive",c.disabledInteractive))},inputs:{ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"],ariaDescribedby:[0,"aria-describedby","ariaDescribedby"],ariaExpanded:[2,"aria-expanded","ariaExpanded",n],ariaControls:[0,"aria-controls","ariaControls"],ariaOwns:[0,"aria-owns","ariaOwns"],id:"id",required:[2,"required","required",n],labelPosition:"labelPosition",name:"name",value:"value",disableRipple:[2,"disableRipple","disableRipple",n],tabIndex:[2,"tabIndex","tabIndex",e=>e==null?void 0:Q(e)],color:"color",disabledInteractive:[2,"disabledInteractive","disabledInteractive",n],checked:[2,"checked","checked",n],disabled:[2,"disabled","disabled",n],indeterminate:[2,"indeterminate","indeterminate",n]},outputs:{change:"change",indeterminateChange:"indeterminateChange"},exportAs:["matCheckbox"],features:[B([{provide:H,useExisting:T(()=>a),multi:!0},{provide:Z,useExisting:a,multi:!0}]),M],ngContentSelectors:ie,decls:15,vars:23,consts:[["checkbox",""],["input",""],["label",""],["mat-internal-form-field","",3,"click","labelPosition"],[1,"mdc-checkbox"],[1,"mat-mdc-checkbox-touch-target",3,"click"],["type","checkbox",1,"mdc-checkbox__native-control",3,"blur","click","change","checked","indeterminate","disabled","id","required","tabIndex"],[1,"mdc-checkbox__ripple"],[1,"mdc-checkbox__background"],["focusable","false","viewBox","0 0 24 24","aria-hidden","true",1,"mdc-checkbox__checkmark"],["fill","none","d","M1.73,12.91 8.1,19.28 22.79,4.59",1,"mdc-checkbox__checkmark-path"],[1,"mdc-checkbox__mixedmark"],["mat-ripple","",1,"mat-mdc-checkbox-ripple","mat-focus-indicator",3,"matRippleTrigger","matRippleDisabled","matRippleCentered"],[1,"mdc-label",3,"for"]],template:function(t,c){if(t&1){let i=P();S(),d(0,"div",3),x("click",function(u){return s(i),l(c._preventBubblingFromLabel(u))}),d(1,"div",4,0)(3,"div",5),x("click",function(){return s(i),l(c._onTouchTargetClick())}),m(),d(4,"input",6,1),x("blur",function(){return s(i),l(c._onBlur())})("click",function(){return s(i),l(c._onInputClick())})("change",function(u){return s(i),l(c._onInteractionEvent(u))}),m(),b(6,"div",7),d(7,"div",8),A(),d(8,"svg",9),b(9,"path",10),m(),D(),b(10,"div",11),m(),b(11,"div",12),m(),d(12,"label",13,2),U(14),m()()}if(t&2){let i=G(2);h("labelPosition",c.labelPosition),_(4),C("mdc-checkbox--selected",c.checked),h("checked",c.checked)("indeterminate",c.indeterminate)("disabled",c.disabled&&!c.disabledInteractive)("id",c.inputId)("required",c.required)("tabIndex",c.disabled&&!c.disabledInteractive?-1:c.tabIndex),v("aria-label",c.ariaLabel||null)("aria-labelledby",c.ariaLabelledby)("aria-describedby",c.ariaDescribedby)("aria-checked",c.indeterminate?"mixed":null)("aria-controls",c.ariaControls)("aria-disabled",c.disabled&&c.disabledInteractive?!0:null)("aria-expanded",c.ariaExpanded)("aria-owns",c.ariaOwns)("name",c.name)("value",c.value),_(7),h("matRippleTrigger",i)("matRippleDisabled",c.disableRipple||c.disabled)("matRippleCentered",!0),_(),h("for",c.inputId)}},dependencies:[W,ee],styles:[`.mdc-checkbox{display:inline-block;position:relative;flex:0 0 18px;box-sizing:content-box;width:18px;height:18px;line-height:0;white-space:nowrap;cursor:pointer;vertical-align:bottom;padding:calc((var(--mat-checkbox-state-layer-size, 40px) - 18px)/2);margin:calc((var(--mat-checkbox-state-layer-size, 40px) - var(--mat-checkbox-state-layer-size, 40px))/2)}.mdc-checkbox:hover>.mdc-checkbox__ripple{opacity:var(--mat-checkbox-unselected-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity));background-color:var(--mat-checkbox-unselected-hover-state-layer-color, var(--mat-sys-on-surface))}.mdc-checkbox:hover>.mat-mdc-checkbox-ripple>.mat-ripple-element{background-color:var(--mat-checkbox-unselected-hover-state-layer-color, var(--mat-sys-on-surface))}.mdc-checkbox .mdc-checkbox__native-control:focus+.mdc-checkbox__ripple{opacity:var(--mat-checkbox-unselected-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity));background-color:var(--mat-checkbox-unselected-focus-state-layer-color, var(--mat-sys-on-surface))}.mdc-checkbox .mdc-checkbox__native-control:focus~.mat-mdc-checkbox-ripple .mat-ripple-element{background-color:var(--mat-checkbox-unselected-focus-state-layer-color, var(--mat-sys-on-surface))}.mdc-checkbox:active>.mdc-checkbox__native-control+.mdc-checkbox__ripple{opacity:var(--mat-checkbox-unselected-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity));background-color:var(--mat-checkbox-unselected-pressed-state-layer-color, var(--mat-sys-primary))}.mdc-checkbox:active>.mdc-checkbox__native-control~.mat-mdc-checkbox-ripple .mat-ripple-element{background-color:var(--mat-checkbox-unselected-pressed-state-layer-color, var(--mat-sys-primary))}.mdc-checkbox:hover .mdc-checkbox__native-control:checked+.mdc-checkbox__ripple{opacity:var(--mat-checkbox-selected-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity));background-color:var(--mat-checkbox-selected-hover-state-layer-color, var(--mat-sys-primary))}.mdc-checkbox:hover .mdc-checkbox__native-control:checked~.mat-mdc-checkbox-ripple .mat-ripple-element{background-color:var(--mat-checkbox-selected-hover-state-layer-color, var(--mat-sys-primary))}.mdc-checkbox .mdc-checkbox__native-control:focus:checked+.mdc-checkbox__ripple{opacity:var(--mat-checkbox-selected-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity));background-color:var(--mat-checkbox-selected-focus-state-layer-color, var(--mat-sys-primary))}.mdc-checkbox .mdc-checkbox__native-control:focus:checked~.mat-mdc-checkbox-ripple .mat-ripple-element{background-color:var(--mat-checkbox-selected-focus-state-layer-color, var(--mat-sys-primary))}.mdc-checkbox:active>.mdc-checkbox__native-control:checked+.mdc-checkbox__ripple{opacity:var(--mat-checkbox-selected-pressed-state-layer-opacity, var(--mat-sys-pressed-state-layer-opacity));background-color:var(--mat-checkbox-selected-pressed-state-layer-color, var(--mat-sys-on-surface))}.mdc-checkbox:active>.mdc-checkbox__native-control:checked~.mat-mdc-checkbox-ripple .mat-ripple-element{background-color:var(--mat-checkbox-selected-pressed-state-layer-color, var(--mat-sys-on-surface))}.mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox .mdc-checkbox__native-control~.mat-mdc-checkbox-ripple .mat-ripple-element,.mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox .mdc-checkbox__native-control+.mdc-checkbox__ripple{background-color:var(--mat-checkbox-unselected-hover-state-layer-color, var(--mat-sys-on-surface))}.mdc-checkbox .mdc-checkbox__native-control{position:absolute;margin:0;padding:0;opacity:0;cursor:inherit;z-index:1;width:var(--mat-checkbox-state-layer-size, 40px);height:var(--mat-checkbox-state-layer-size, 40px);top:calc((var(--mat-checkbox-state-layer-size, 40px) - var(--mat-checkbox-state-layer-size, 40px))/2);right:calc((var(--mat-checkbox-state-layer-size, 40px) - var(--mat-checkbox-state-layer-size, 40px))/2);left:calc((var(--mat-checkbox-state-layer-size, 40px) - var(--mat-checkbox-state-layer-size, 40px))/2)}.mdc-checkbox--disabled{cursor:default;pointer-events:none}.mdc-checkbox__background{display:inline-flex;position:absolute;align-items:center;justify-content:center;box-sizing:border-box;width:18px;height:18px;border:2px solid currentColor;border-radius:2px;background-color:rgba(0,0,0,0);pointer-events:none;will-change:background-color,border-color;transition:background-color 90ms cubic-bezier(0.4, 0, 0.6, 1),border-color 90ms cubic-bezier(0.4, 0, 0.6, 1);-webkit-print-color-adjust:exact;color-adjust:exact;border-color:var(--mat-checkbox-unselected-icon-color, var(--mat-sys-on-surface-variant));top:calc((var(--mat-checkbox-state-layer-size, 40px) - 18px)/2);left:calc((var(--mat-checkbox-state-layer-size, 40px) - 18px)/2)}.mdc-checkbox__native-control:enabled:checked~.mdc-checkbox__background,.mdc-checkbox__native-control:enabled:indeterminate~.mdc-checkbox__background{border-color:var(--mat-checkbox-selected-icon-color, var(--mat-sys-primary));background-color:var(--mat-checkbox-selected-icon-color, var(--mat-sys-primary))}.mdc-checkbox--disabled .mdc-checkbox__background{border-color:var(--mat-checkbox-disabled-unselected-icon-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}@media(forced-colors: active){.mdc-checkbox--disabled .mdc-checkbox__background{border-color:GrayText}}.mdc-checkbox__native-control:disabled:checked~.mdc-checkbox__background,.mdc-checkbox__native-control:disabled:indeterminate~.mdc-checkbox__background{background-color:var(--mat-checkbox-disabled-selected-icon-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));border-color:rgba(0,0,0,0)}@media(forced-colors: active){.mdc-checkbox__native-control:disabled:checked~.mdc-checkbox__background,.mdc-checkbox__native-control:disabled:indeterminate~.mdc-checkbox__background{border-color:GrayText}}.mdc-checkbox:hover>.mdc-checkbox__native-control:not(:checked)~.mdc-checkbox__background,.mdc-checkbox:hover>.mdc-checkbox__native-control:not(:indeterminate)~.mdc-checkbox__background{border-color:var(--mat-checkbox-unselected-hover-icon-color, var(--mat-sys-on-surface));background-color:rgba(0,0,0,0)}.mdc-checkbox:hover>.mdc-checkbox__native-control:checked~.mdc-checkbox__background,.mdc-checkbox:hover>.mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background{border-color:var(--mat-checkbox-selected-hover-icon-color, var(--mat-sys-primary));background-color:var(--mat-checkbox-selected-hover-icon-color, var(--mat-sys-primary))}.mdc-checkbox__native-control:focus:focus:not(:checked)~.mdc-checkbox__background,.mdc-checkbox__native-control:focus:focus:not(:indeterminate)~.mdc-checkbox__background{border-color:var(--mat-checkbox-unselected-focus-icon-color, var(--mat-sys-on-surface))}.mdc-checkbox__native-control:focus:focus:checked~.mdc-checkbox__background,.mdc-checkbox__native-control:focus:focus:indeterminate~.mdc-checkbox__background{border-color:var(--mat-checkbox-selected-focus-icon-color, var(--mat-sys-primary));background-color:var(--mat-checkbox-selected-focus-icon-color, var(--mat-sys-primary))}.mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox:hover>.mdc-checkbox__native-control~.mdc-checkbox__background,.mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox .mdc-checkbox__native-control:focus~.mdc-checkbox__background,.mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox__background{border-color:var(--mat-checkbox-disabled-unselected-icon-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}@media(forced-colors: active){.mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox:hover>.mdc-checkbox__native-control~.mdc-checkbox__background,.mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox .mdc-checkbox__native-control:focus~.mdc-checkbox__background,.mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox__background{border-color:GrayText}}.mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox__native-control:checked~.mdc-checkbox__background,.mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background{background-color:var(--mat-checkbox-disabled-selected-icon-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent));border-color:rgba(0,0,0,0)}.mdc-checkbox__checkmark{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;opacity:0;transition:opacity 180ms cubic-bezier(0.4, 0, 0.6, 1);color:var(--mat-checkbox-selected-checkmark-color, var(--mat-sys-on-primary))}@media(forced-colors: active){.mdc-checkbox__checkmark{color:CanvasText}}.mdc-checkbox--disabled .mdc-checkbox__checkmark,.mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox__checkmark{color:var(--mat-checkbox-disabled-selected-checkmark-color, var(--mat-sys-surface))}@media(forced-colors: active){.mdc-checkbox--disabled .mdc-checkbox__checkmark,.mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox__checkmark{color:GrayText}}.mdc-checkbox__checkmark-path{transition:stroke-dashoffset 180ms cubic-bezier(0.4, 0, 0.6, 1);stroke:currentColor;stroke-width:3.12px;stroke-dashoffset:29.7833385;stroke-dasharray:29.7833385}.mdc-checkbox__mixedmark{width:100%;height:0;transform:scaleX(0) rotate(0deg);border-width:1px;border-style:solid;opacity:0;transition:opacity 90ms cubic-bezier(0.4, 0, 0.6, 1),transform 90ms cubic-bezier(0.4, 0, 0.6, 1);border-color:var(--mat-checkbox-selected-checkmark-color, var(--mat-sys-on-primary))}@media(forced-colors: active){.mdc-checkbox__mixedmark{margin:0 1px}}.mdc-checkbox--disabled .mdc-checkbox__mixedmark,.mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox__mixedmark{border-color:var(--mat-checkbox-disabled-selected-checkmark-color, var(--mat-sys-surface))}@media(forced-colors: active){.mdc-checkbox--disabled .mdc-checkbox__mixedmark,.mdc-checkbox--disabled.mat-mdc-checkbox-disabled-interactive .mdc-checkbox__mixedmark{border-color:GrayText}}.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__background,.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__background,.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__background,.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__background{animation-duration:180ms;animation-timing-function:linear}.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__checkmark-path{animation:mdc-checkbox-unchecked-checked-checkmark-path 180ms linear;transition:none}.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__mixedmark{animation:mdc-checkbox-unchecked-indeterminate-mixedmark 90ms linear;transition:none}.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__checkmark-path{animation:mdc-checkbox-checked-unchecked-checkmark-path 90ms linear;transition:none}.mdc-checkbox--anim-checked-indeterminate .mdc-checkbox__checkmark{animation:mdc-checkbox-checked-indeterminate-checkmark 90ms linear;transition:none}.mdc-checkbox--anim-checked-indeterminate .mdc-checkbox__mixedmark{animation:mdc-checkbox-checked-indeterminate-mixedmark 90ms linear;transition:none}.mdc-checkbox--anim-indeterminate-checked .mdc-checkbox__checkmark{animation:mdc-checkbox-indeterminate-checked-checkmark 500ms linear;transition:none}.mdc-checkbox--anim-indeterminate-checked .mdc-checkbox__mixedmark{animation:mdc-checkbox-indeterminate-checked-mixedmark 500ms linear;transition:none}.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__mixedmark{animation:mdc-checkbox-indeterminate-unchecked-mixedmark 300ms linear;transition:none}.mdc-checkbox__native-control:checked~.mdc-checkbox__background,.mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background{transition:border-color 90ms cubic-bezier(0, 0, 0.2, 1),background-color 90ms cubic-bezier(0, 0, 0.2, 1)}.mdc-checkbox__native-control:checked~.mdc-checkbox__background>.mdc-checkbox__checkmark>.mdc-checkbox__checkmark-path,.mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background>.mdc-checkbox__checkmark>.mdc-checkbox__checkmark-path{stroke-dashoffset:0}.mdc-checkbox__native-control:checked~.mdc-checkbox__background>.mdc-checkbox__checkmark{transition:opacity 180ms cubic-bezier(0, 0, 0.2, 1),transform 180ms cubic-bezier(0, 0, 0.2, 1);opacity:1}.mdc-checkbox__native-control:checked~.mdc-checkbox__background>.mdc-checkbox__mixedmark{transform:scaleX(1) rotate(-45deg)}.mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background>.mdc-checkbox__checkmark{transform:rotate(45deg);opacity:0;transition:opacity 90ms cubic-bezier(0.4, 0, 0.6, 1),transform 90ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background>.mdc-checkbox__mixedmark{transform:scaleX(1) rotate(0deg);opacity:1}@keyframes mdc-checkbox-unchecked-checked-checkmark-path{0%,50%{stroke-dashoffset:29.7833385}50%{animation-timing-function:cubic-bezier(0, 0, 0.2, 1)}100%{stroke-dashoffset:0}}@keyframes mdc-checkbox-unchecked-indeterminate-mixedmark{0%,68.2%{transform:scaleX(0)}68.2%{animation-timing-function:cubic-bezier(0, 0, 0, 1)}100%{transform:scaleX(1)}}@keyframes mdc-checkbox-checked-unchecked-checkmark-path{from{animation-timing-function:cubic-bezier(0.4, 0, 1, 1);opacity:1;stroke-dashoffset:0}to{opacity:0;stroke-dashoffset:-29.7833385}}@keyframes mdc-checkbox-checked-indeterminate-checkmark{from{animation-timing-function:cubic-bezier(0, 0, 0.2, 1);transform:rotate(0deg);opacity:1}to{transform:rotate(45deg);opacity:0}}@keyframes mdc-checkbox-indeterminate-checked-checkmark{from{animation-timing-function:cubic-bezier(0.14, 0, 0, 1);transform:rotate(45deg);opacity:0}to{transform:rotate(360deg);opacity:1}}@keyframes mdc-checkbox-checked-indeterminate-mixedmark{from{animation-timing-function:cubic-bezier(0, 0, 0.2, 1);transform:rotate(-45deg);opacity:0}to{transform:rotate(0deg);opacity:1}}@keyframes mdc-checkbox-indeterminate-checked-mixedmark{from{animation-timing-function:cubic-bezier(0.14, 0, 0, 1);transform:rotate(0deg);opacity:1}to{transform:rotate(315deg);opacity:0}}@keyframes mdc-checkbox-indeterminate-unchecked-mixedmark{0%{animation-timing-function:linear;transform:scaleX(1);opacity:1}32.8%,100%{transform:scaleX(0);opacity:0}}.mat-mdc-checkbox{display:inline-block;position:relative;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-checkbox._mat-animation-noopable>.mat-internal-form-field>.mdc-checkbox>.mat-mdc-checkbox-touch-target,.mat-mdc-checkbox._mat-animation-noopable>.mat-internal-form-field>.mdc-checkbox>.mdc-checkbox__native-control,.mat-mdc-checkbox._mat-animation-noopable>.mat-internal-form-field>.mdc-checkbox>.mdc-checkbox__ripple,.mat-mdc-checkbox._mat-animation-noopable>.mat-internal-form-field>.mdc-checkbox>.mat-mdc-checkbox-ripple::before,.mat-mdc-checkbox._mat-animation-noopable>.mat-internal-form-field>.mdc-checkbox>.mdc-checkbox__background,.mat-mdc-checkbox._mat-animation-noopable>.mat-internal-form-field>.mdc-checkbox>.mdc-checkbox__background>.mdc-checkbox__checkmark,.mat-mdc-checkbox._mat-animation-noopable>.mat-internal-form-field>.mdc-checkbox>.mdc-checkbox__background>.mdc-checkbox__checkmark>.mdc-checkbox__checkmark-path,.mat-mdc-checkbox._mat-animation-noopable>.mat-internal-form-field>.mdc-checkbox>.mdc-checkbox__background>.mdc-checkbox__mixedmark{transition:none !important;animation:none !important}.mat-mdc-checkbox label{cursor:pointer}.mat-mdc-checkbox .mat-internal-form-field{color:var(--mat-checkbox-label-text-color, var(--mat-sys-on-surface));font-family:var(--mat-checkbox-label-text-font, var(--mat-sys-body-medium-font));line-height:var(--mat-checkbox-label-text-line-height, var(--mat-sys-body-medium-line-height));font-size:var(--mat-checkbox-label-text-size, var(--mat-sys-body-medium-size));letter-spacing:var(--mat-checkbox-label-text-tracking, var(--mat-sys-body-medium-tracking));font-weight:var(--mat-checkbox-label-text-weight, var(--mat-sys-body-medium-weight))}.mat-mdc-checkbox.mat-mdc-checkbox-disabled.mat-mdc-checkbox-disabled-interactive{pointer-events:auto}.mat-mdc-checkbox.mat-mdc-checkbox-disabled.mat-mdc-checkbox-disabled-interactive input{cursor:default}.mat-mdc-checkbox.mat-mdc-checkbox-disabled label{cursor:default;color:var(--mat-checkbox-disabled-label-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}@media(forced-colors: active){.mat-mdc-checkbox.mat-mdc-checkbox-disabled label{color:GrayText}}.mat-mdc-checkbox label:empty{display:none}.mat-mdc-checkbox .mdc-checkbox__ripple{opacity:0}.mat-mdc-checkbox .mat-mdc-checkbox-ripple,.mdc-checkbox__ripple{top:0;left:0;right:0;bottom:0;position:absolute;border-radius:50%;pointer-events:none}.mat-mdc-checkbox .mat-mdc-checkbox-ripple:not(:empty),.mdc-checkbox__ripple:not(:empty){transform:translateZ(0)}.mat-mdc-checkbox-ripple .mat-ripple-element{opacity:.1}.mat-mdc-checkbox-touch-target{position:absolute;top:50%;left:50%;height:var(--mat-checkbox-touch-target-size, 48px);width:var(--mat-checkbox-touch-target-size, 48px);transform:translate(-50%, -50%);display:var(--mat-checkbox-touch-target-display, block)}.mat-mdc-checkbox .mat-mdc-checkbox-ripple::before{border-radius:50%}.mdc-checkbox__native-control:focus~.mat-focus-indicator::before{content:""}
|
|
2
|
+
`],encapsulation:2,changeDetection:0})}return a})(),Ee=(()=>{class a{static \u0275fac=function(t){return new(t||a)};static \u0275mod=O({type:a});static \u0275inj=w({imports:[ne,I,I]})}return a})();export{ne as a,Ee as b};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a as le}from"./chunk-CKN6D7N7.js";import{a as oe,b as ae,c as re}from"./chunk-TW3MVM2R.js";import{a as xe,b as fe}from"./chunk-YBLSVIMZ.js";import{f as ye}from"./chunk-AOQIZ6M2.js";import{c as ve}from"./chunk-OYNVXKZ3.js";import{b as se}from"./chunk-IZK2IN4R.js";import{a as _e}from"./chunk-NWBLFLVC.js";import{e as ue,f as ge}from"./chunk-6IVR565J.js";import{b as Ce}from"./chunk-62E2JEWQ.js";import{b as ne,c as ie}from"./chunk-HD6ETXDZ.js";import{a as me,d as pe,e as de}from"./chunk-UARWMJ5H.js";import{g as ce}from"./chunk-TY7JJASH.js";import{F as $,c as U,h as X,o as Y,q as Z}from"./chunk-PRROMENK.js";import{d as te}from"./chunk-ODGFQ7QJ.js";import{Ab as g,Ac as S,Bb as o,Bc as w,Ca as O,Cb as a,Db as j,Gc as G,Hb as F,Ib as M,Kb as T,Kc as R,Mb as V,Ob as r,Wa as i,Yd as K,ae as J,bb as h,bc as m,cc as D,dc as y,de as ee,fb as L,gc as v,hc as x,ic as f,jb as W,lb as A,mc as k,nd as q,pa as E,qd as z,sc as Q,ta as C,tb as d,ua as _,vb as s,xb as B,yb as N,zb as H}from"./chunk-LBIXL2NM.js";import{a as b,b as P}from"./chunk-SNAKHGZS.js";var he=n=>({ID:n});function De(n,p){if(n&1){let e=T();o(0,"button",16),V("click",function(){C(e);let t=r();return _(t.openExportModal())}),j(1,"i",17),m(2," Export "),a()}}function Se(n,p){if(n&1&&(o(0,"span",27),m(1),a()),n&2){let e=p.item;g("matTooltip",k(e.Value)),i(),D(e.Value)}}function we(n,p){if(n&1){let e=T();o(0,"div",18)(1,"div")(2,"h6"),m(3,"Outlet"),a(),o(4,"outlet-selector",19),f("ngModelChange",function(t){C(e);let l=r();return x(l.pageData.Filter.OutletID,t)||(l.pageData.Filter.OutletID=t),_(t)}),a()(),o(5,"div")(6,"h6"),m(7,"Category"),a(),o(8,"POS-product-category-select",20),f("selectedCategoryIDChange",function(t){C(e);let l=r();return x(l.pageData.Filter.ProductCategoryID,t)||(l.pageData.Filter.ProductCategoryID=t),_(t)}),a()(),o(9,"div")(10,"h6"),m(11,"Brand"),a(),o(12,"ng-select",21),f("ngModelChange",function(t){C(e);let l=r();return x(l.pageData.Filter.ProductBrandID,t)||(l.pageData.Filter.ProductBrandID=t),_(t)}),A(13,Se,2,3,"ng-template",22),a()(),o(14,"div")(15,"h6"),m(16,"Product Tags"),a(),o(17,"ng-select",23),f("ngModelChange",function(t){C(e);let l=r();return x(l.pageData.Filter.ProductTagID,t)||(l.pageData.Filter.ProductTagID=t),_(t)}),a()(),o(18,"div")(19,"h6"),m(20,"Quantity From - To"),a(),o(21,"div",24)(22,"input",25),f("ngModelChange",function(t){C(e);let l=r();return x(l.pageData.Filter.QtyFrom,t)||(l.pageData.Filter.QtyFrom=t),_(t)}),a(),m(23," - "),o(24,"input",26),f("ngModelChange",function(t){C(e);let l=r();return x(l.pageData.Filter.QtyTo,t)||(l.pageData.Filter.QtyTo=t),_(t)}),a()()()()}if(n&2){let e=r();i(4),g("accessType",2),v("ngModel",e.pageData.Filter.OutletID),i(4),v("selectedCategoryID",e.pageData.Filter.ProductCategoryID),g("showClear",!0),i(4),g("items",e.pageData.Options==null?null:e.pageData.Options.Brands),v("ngModel",e.pageData.Filter.ProductBrandID),i(5),g("items",e.pageData.Options==null?null:e.pageData.Options.Tags),v("ngModel",e.pageData.Filter.ProductTagID),i(5),v("ngModel",e.pageData.Filter.QtyFrom),i(2),v("ngModel",e.pageData.Filter.QtyTo)}}function Te(n,p){if(n&1&&(o(0,"th",10),m(1),a()),n&2){let e=r();i(),y(" ",e.column.VariantName.name," ")}}function Ve(n,p){if(n&1&&(o(0,"th",11),m(1),a()),n&2){let e=r();i(),y(" ",e.column.VariantCode.name," ")}}function be(n,p){if(n&1&&(o(0,"th",12),m(1),a()),n&2){let e=r();i(),y(" ",e.column.OnHand.name," ")}}function Pe(n,p){if(n&1&&(o(0,"th",13),m(1),a()),n&2){let e=r();i(),y(" ",e.column.DirectAllocated.name," ")}}function Fe(n,p){if(n&1&&(o(0,"th",14),m(1),a()),n&2){let e=r();i(),y(" ",e.column.IndirectAllocated.name," ")}}function Me(n,p){if(n&1&&(o(0,"th",15),m(1),a()),n&2){let e=r();i(),y(" ",e.column.Available.name," ")}}function Ae(n,p){if(n&1&&(o(0,"td")(1,"a",28),m(2),a()()),n&2){let e=r().$implicit;i(),g("routerLink","/menu/Products/Catalog/Variants/Info")("queryParams",Q(3,he,e.VariantID)),i(),y(" ",e.VariantName," ")}}function Ee(n,p){if(n&1&&(o(0,"td"),m(1),a()),n&2){let e=r().$implicit;i(),D(e.VariantCode)}}function Oe(n,p){if(n&1&&(o(0,"td"),m(1),S(2,"number"),a()),n&2){let e=r().$implicit;i(),D(w(2,1,e.OnHand))}}function Le(n,p){if(n&1&&(o(0,"td"),m(1),S(2,"number"),a()),n&2){let e=r(2).$implicit;i(),y(" ",w(2,1,e.DirectAllocated)," ")}}function We(n,p){if(n&1&&d(0,Le,3,3,"td"),n&2){let e=r(2);s(e.column.DirectAllocated&&e.column.DirectAllocated.selected?0:-1)}}function Be(n,p){if(n&1&&(o(0,"td"),m(1),S(2,"number"),a()),n&2){let e=r(2).$implicit;i(),y(" ",w(2,1,e.DirectAllocated)," ")}}function Ne(n,p){if(n&1&&d(0,Be,3,3,"td"),n&2){let e=r(2);s(e.column.DirectAllocated&&e.column.DirectAllocated.selected?0:-1)}}function He(n,p){if(n&1&&(o(0,"td"),m(1),S(2,"number"),a()),n&2){let e=r().$implicit;i(),D(w(2,1,e.IndirectAllocated))}}function je(n,p){if(n&1&&(o(0,"td"),m(1),S(2,"number"),a()),n&2){let e=r().$implicit;i(),D(w(2,1,e.Available))}}function ke(n,p){if(n&1&&(o(0,"tr"),d(1,Ae,3,5,"td"),d(2,Ee,2,1,"td"),d(3,Oe,3,3,"td"),d(4,We,1,1)(5,Ne,1,1),d(6,He,3,3,"td"),d(7,je,3,3,"td"),a()),n&2){let e=r();i(),s(e.column.VariantName&&e.column.VariantName.selected?1:-1),i(),s(e.column.VariantCode&&e.column.VariantCode.selected?2:-1),i(),s(e.column.OnHand&&e.column.OnHand.selected?3:-1),i(),s(e.totalIndirect()>0?4:5),i(2),s(e.column.IndirectAllocated&&e.column.IndirectAllocated.selected&&e.totalIndirect()>0?6:-1),i(),s(e.column.Available&&e.column.Available.selected?7:-1)}}function Qe(n,p){if(n&1){let e=T();o(0,"div")(1,"POS-complex-pagination",29),V("jumpToPage",function(){C(e);let t=r();return _(t.getListData())})("previousPage",function(){C(e);let t=r();return _(t.getListData())})("nextPage",function(){C(e);let t=r();return _(t.getListData())}),a()()}if(n&2){let e=r();i(),g("total",e.data.Data.length)("pageData",e.pageData)}}var Ie=class n extends le{constructor(e,c,t,l,I){super(e,c,"inventory/GetListInventoryComposite","inventoryloader/GetListInventoryComposite",t,void 0,!1);this.httpService=c;this.csvConverter=l;this.roleService=I;R(()=>{let u=this.totalIndirect();u!==null&&u<=0&&(console.log("Indirect allocation is zero or negative"),this.column=P(b({},this.column),{DirectAllocated:P(b({},this.column.DirectAllocated),{name:"Allocated"}),IndirectAllocated:P(b({},this.column.IndirectAllocated),{show:!1})}))})}column={VariantName:{selected:!0,name:"Name",show:!0},VariantCode:{selected:!0,name:"Code",show:!0},OnHand:{selected:!0,name:"On Hand",show:!0},DirectAllocated:{selected:!0,name:"Direct Allocated",show:!0},IndirectAllocated:{selected:!0,name:"Indirect Allocated",show:!0},Available:{selected:!0,name:"Available",show:!0}};totalIndirect=O(null);dialog=E(ce);afterPostInit(e){console.log("Composite Inventory Data",e);let c=e.Data.reduce((t,l)=>t+l.IndirectAllocated,0);console.log("Total Indirect Allocated:",c),this.totalIndirect.set(c)}sortData(e){let c=[...this.data.Data];if(!e.active||e.direction===""){this.infiniteList=c;return}this.infiniteList=c.sort((t,l)=>{let I=e.direction==="asc";return this.compare(t[e.active],l[e.active],I)})}openExportModal(){this.dialog.open(se,{data:{title:"Composite Inventory",exportTypes:[{ID:"inventoryExport/GetExportInventoryComposite",Value:"Default",FileName:"Composite Inventory"}],filterExport:this.pageData.Filter,getAllDataLengthAPI:"inventory/GetCountInventoryComposite",pagination:!0}})}static \u0275fac=function(c){return new(c||n)(h(Ce),h(ee),h(J),h(_e),h(te))};static \u0275cmp=L({type:n,selectors:[["pos-composite-inventory"]],features:[W],decls:22,vars:13,consts:[["pageFilterTemplate",""],["tooltipTitle","Identify and manage unsold inventory that has been stagnant for a long time",3,"textChange","onSubmit","filterChange","pageData","text","isFilterOnDropdown","filter","column"],["ngProjectAs","actions",5,["actions"]],[1,"btn","btn-outline-secondary","me-3"],["ngProjectAs","filters",5,["filters"]],["ngProjectAs","content",5,["content"]],[1,"container-fluid","mt-3"],[1,"table-responsive"],["id","tableGrid","matSort","",1,"table","border-bottom",3,"matSortChange"],[1,"thead-light","sticky-top-thead"],["mat-sort-header","VariantName",2,"width","20%"],["mat-sort-header","VariantCode",2,"width","20%"],["mat-sort-header","OnHand",2,"width","10%"],["mat-sort-header","DirectAllocated",2,"width","10%"],["mat-sort-header","IndirectAllocated",2,"width","10%"],["mat-sort-header","Available",2,"width","10%"],[1,"btn","btn-outline-secondary","me-3",3,"click"],["aria-hidden","true",1,"fa-solid","fa-upload"],[1,"d-flex","flex-column","gap-4"],["placeholder","Choose Outlets (Leave Blank to Choose All)",1,"ng-select-multiple",3,"ngModelChange","accessType","ngModel"],[1,"tree-select-as-filter",3,"selectedCategoryIDChange","selectedCategoryID","showClear"],["bindLabel","Value","bindValue","Key","placeholder","Choose Brand",3,"ngModelChange","items","ngModel"],["ng-option-tmp",""],["appendTo","body","bindLabel","Name","bindValue","ID","placeholder","Choose Tag",3,"ngModelChange","items","ngModel"],[1,"d-flex","align-items-center",2,"column-gap","8px"],["type","number","name","QuantityFrom",1,"form-control","input-filter",3,"ngModelChange","ngModel"],["type","number","name","QuantityTo",1,"form-control","input-filter",3,"ngModelChange","ngModel"],["matTooltipPosition","above",3,"matTooltip"],[3,"routerLink","queryParams"],["api","inventory/GetCountInventoryComposite",3,"jumpToPage","previousPage","nextPage","total","pageData"]],template:function(c,t){if(c&1){let l=T();o(0,"mainpanel-cmp",1),f("textChange",function(u){return C(l),x(t.pageData.Filter.SearchText,u)||(t.pageData.Filter.SearchText=u),_(u)}),V("onSubmit",function(){return C(l),_(t.searchFromPageOne())}),f("filterChange",function(u){return C(l),x(t.pageData.Filter,u)||(t.pageData.Filter=u),_(u)}),F(1,2),d(2,De,3,0,"button",3),M(),F(3,4),A(4,we,25,10,"ng-template",null,0,G),M(),F(6,5),o(7,"div",6)(8,"div",7)(9,"table",8),V("matSortChange",function(u){return C(l),_(t.sortData(u))}),o(10,"thead",9)(11,"tr"),d(12,Te,2,1,"th",10),d(13,Ve,2,1,"th",11),d(14,be,2,1,"th",12),d(15,Pe,2,1,"th",13),d(16,Fe,2,1,"th",14),d(17,Me,2,1,"th",15),a()(),o(18,"tbody"),N(19,ke,8,6,"tr",null,B),a()()(),d(21,Qe,2,2,"div"),a(),M(),a()}c&2&&(g("pageData",t.menuData),v("text",t.pageData.Filter.SearchText),g("isFilterOnDropdown",!1),v("filter",t.pageData.Filter),g("column",t.column),i(2),s(t.roleService.global.Export?2:-1),i(10),s(t.column.VariantName&&t.column.VariantName.selected?12:-1),i(),s(t.column.VariantCode&&t.column.VariantCode.selected?13:-1),i(),s(t.column.OnHand&&t.column.OnHand.selected?14:-1),i(),s(t.column.DirectAllocated&&t.column.DirectAllocated.selected?15:-1),i(),s(t.column.IndirectAllocated&&t.column.IndirectAllocated.selected&&t.totalIndirect()>0?16:-1),i(),s(t.column.Available&&t.column.Available.selected?17:-1),i(2),H(t.infiniteList),i(2),s(t.data?21:-1))},dependencies:[ge,ue,ve,ye,$,U,Z,X,Y,de,pe,me,ie,ne,fe,xe,z,K,re,oe,ae,q],styles:["[_nghost-%COMP%]{display:block}"]})};export{Ie as a};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a as st,b as ft}from"./chunk-AXUFQOIY.js";import{a as mt}from"./chunk-6EP37ICB.js";import{a as _t}from"./chunk-EDRBTTL5.js";import{a as ut}from"./chunk-EE3OKRUQ.js";import"./chunk-7H3GMZJN.js";import"./chunk-BYXBJQAS.js";import{a as $}from"./chunk-CKRLMZHY.js";import{d as dt,e as pt}from"./chunk-MCPXNQRW.js";import"./chunk-M67ULXNR.js";import"./chunk-3RK6DDJD.js";import"./chunk-D75PDB6P.js";import"./chunk-RHVNZ2DF.js";import"./chunk-5J2SNOT2.js";import"./chunk-PY3PDRRW.js";import"./chunk-NEJRKLYO.js";import{d as rt,e as lt}from"./chunk-K5ERLQ63.js";import"./chunk-QNJH27F5.js";import{a as X}from"./chunk-CKN6D7N7.js";import{f as ct}from"./chunk-AOQIZ6M2.js";import{b as Z}from"./chunk-IZK2IN4R.js";import"./chunk-OLC5OIWO.js";import"./chunk-D7J7CQGT.js";import"./chunk-Q2GPSDAM.js";import"./chunk-CJFDTLOQ.js";import{a as et}from"./chunk-NWBLFLVC.js";import{e as ot,f as at}from"./chunk-6IVR565J.js";import"./chunk-CNCKIVTQ.js";import"./chunk-WVCZAPRZ.js";import"./chunk-Q32BQBU5.js";import"./chunk-A3FTQA6E.js";import"./chunk-FPGIRAZZ.js";import"./chunk-B7QNQTF3.js";import"./chunk-JHYJTTAR.js";import"./chunk-4UJTVSL2.js";import"./chunk-ZJ4AGOKX.js";import"./chunk-WPTBNQ2V.js";import"./chunk-CANN2XN6.js";import"./chunk-YX5ADQPF.js";import{b as tt}from"./chunk-62E2JEWQ.js";import"./chunk-KHFL6T5N.js";import"./chunk-AFCABMLQ.js";import"./chunk-YFMVQJRL.js";import{b as J,c as U}from"./chunk-HD6ETXDZ.js";import{N as nt,g as it}from"./chunk-2525CDKJ.js";import"./chunk-UARWMJ5H.js";import"./chunk-235POOLV.js";import"./chunk-EQLHPWVB.js";import{g as Y}from"./chunk-TY7JJASH.js";import"./chunk-K2M625FR.js";import"./chunk-ZOPOSPVC.js";import"./chunk-EXIKKRCD.js";import"./chunk-2FWFPV5I.js";import"./chunk-4DH3BDE3.js";import{F as z}from"./chunk-PRROMENK.js";import"./chunk-L6YGMZJK.js";import"./chunk-P3BUVJKX.js";import{d as Q}from"./chunk-ODGFQ7QJ.js";import"./chunk-CTPHJSLU.js";import{Ab as s,Ac as d,Bb as o,Bc as f,Cb as n,Cc as x,Db as w,Dd as R,Gc as q,Kb as P,Mb as h,Ob as c,Wa as i,Yd as H,bb as T,bc as r,cc as D,dc as u,de as K,ed as W,fb as O,gc as g,hc as I,ic as S,jb as V,lb as E,nd as A,qd as G,rb as k,rc as b,sc as B,ta as v,tb as p,ua as y,vb as m,wb as M,yb as N,zb as j}from"./chunk-LBIXL2NM.js";import"./chunk-WFMAM73Y.js";import"./chunk-SNAKHGZS.js";var vt=()=>["/menu/Outlets/Master/Outlets/Info"],Ct=t=>({ID:t}),yt=()=>["/menu/Products/Catalog/Products/Info"];function Tt(t,l){if(t&1){let e=P();o(0,"button",11),h("click",function(){v(e);let a=c();return y(a.openExportModal())}),w(1,"i",12),r(2," Export "),n()}}function gt(t,l){if(t&1){let e=P();o(0,"div",13)(1,"h6"),r(2,"Outlet Group"),n(),o(3,"POS-outlet-group-tree-select",14),S("selectedOutletGroupIDChange",function(a){v(e);let C=c();return I(C.pageData.Filter.OutletGroupID,a)||(C.pageData.Filter.OutletGroupID=a),y(a)}),n(),o(4,"h6"),r(5,"Category"),n(),o(6,"POS-product-category-select",15),S("selectedCategoryIDChange",function(a){v(e);let C=c();return I(C.pageData.Filter.CategoryID,a)||(C.pageData.Filter.CategoryID=a),y(a)}),n(),o(7,"autocompleteV3",16),S("modelNameChange",function(a){v(e);let C=c();return I(C.pageData.Filter.ListProductID,a)||(C.pageData.Filter.ListProductID=a),y(a)}),n(),o(8,"h6"),r(9,"From - To"),n(),o(10,"div")(11,"datepicker",17),S("dateChange",function(a){v(e);let C=c();return I(C.pageData.Filter.From,a)||(C.pageData.Filter.From=a),y(a)}),n()(),o(12,"div",18)(13,"datepicker",19),S("dateChange",function(a){v(e);let C=c();return I(C.pageData.Filter.To,a)||(C.pageData.Filter.To=a),y(a)}),n()(),o(14,"h6"),r(15,"Inventory Type"),n(),o(16,"radio-options",20),S("modelChange",function(a){v(e);let C=c();return I(C.pageData.Filter.InventoryType,a)||(C.pageData.Filter.InventoryType=a),y(a)}),n()()}if(t&2){let e=c();i(3),s("showClear",!0),g("selectedOutletGroupID",e.pageData.Filter.OutletGroupID),i(3),g("selectedCategoryID",e.pageData.Filter.CategoryID),s("showClear",!0),i(),g("modelName",e.pageData.Filter.ListProductID),s("placeholder","Search Product")("isShowEmptyMessage",!0)("emptyMessage","No Product found")("tooltipMessage","Search by product name")("label","Product to Analyze")("listDataEndpoint","/api/ac/GetProductSuggestionByCodeNName")("valueField","Key"),i(4),s("isFloatingLabel",!1),g("date",e.pageData.Filter.From),s("hidelClearBtn",!0),i(2),s("isFloatingLabel",!1),g("date",e.pageData.Filter.To),s("hidelClearBtn",!0),i(3),g("model",e.pageData.Filter.InventoryType),s("options",e.pageData.Options.InventoryTypes)}}function It(t,l){t&1&&(o(0,"th",8),r(1,"Code"),n())}function St(t,l){t&1&&(o(0,"th",9)(1,"span",21),r(2," Start "),n()())}function Pt(t,l){t&1&&(o(0,"th",9)(1,"span",22),r(2," Bought "),n()())}function ht(t,l){t&1&&(o(0,"th",9)(1,"span",23),r(2," Sold "),n()())}function Ft(t,l){t&1&&(o(0,"th",9)(1,"span",24),r(2," T.In "),n()())}function Et(t,l){t&1&&(o(0,"th",9)(1,"span",25),r(2," T.Out "),n()())}function wt(t,l){t&1&&(o(0,"th",9)(1,"span",26),r(2," Adj "),n()())}function Dt(t,l){t&1&&(o(0,"th",9)(1,"span",27),r(2," End "),n()())}function bt(t,l){t&1&&(o(0,"th",9)(1,"span",28),r(2," Now "),n()())}function Bt(t,l){t&1&&(o(0,"th",9)(1,"span",29),r(2," % "),n()())}function Lt(t,l){if(t&1&&(o(0,"td",31),r(1),n()),t&2){let e=c().$implicit;i(),u(" ",e.ProductCode," ")}}function Ot(t,l){if(t&1&&(o(0,"td",32),r(1),d(2,"quantityFraction"),n()),t&2){let e=c().$implicit;s("colsFontColor",e.Start),i(),u(" ",f(2,2,e.Start)," ")}}function Vt(t,l){if(t&1&&(o(0,"td",33),r(1),d(2,"quantityFraction"),n()),t&2){let e=c().$implicit;i(),u(" ",f(2,1,e.Bought)," ")}}function kt(t,l){if(t&1&&(o(0,"td",34),r(1),d(2,"quantityFraction"),n()),t&2){let e=c().$implicit;i(),u(" ",f(2,1,e.Sold)," ")}}function Mt(t,l){if(t&1&&(o(0,"td",33),r(1),d(2,"quantityFraction"),n()),t&2){let e=c().$implicit;i(),u(" ",f(2,1,e.TransferredIn)," ")}}function Nt(t,l){if(t&1&&(o(0,"td",34),r(1),d(2,"quantityFraction"),n()),t&2){let e=c().$implicit;i(),u(" ",f(2,1,e.TransferredOut)," ")}}function jt(t,l){if(t&1&&(o(0,"td",32),r(1),d(2,"quantityFraction"),n()),t&2){let e=c().$implicit;s("colsFontColor",e.Adjustment),i(),u(" ",e.Adjustment<0?e.Adjustment*-1:f(2,2,e.Adjustment)," ")}}function qt(t,l){if(t&1&&(o(0,"td",32),r(1),n()),t&2){let e=c().$implicit;s("colsFontColor",e.End),i(),u(" ",e.End," ")}}function Wt(t,l){if(t&1&&(o(0,"td",32),r(1),n()),t&2){let e=c().$implicit;s("colsFontColor",e.Now),i(),u(" ",e.Now," ")}}function At(t,l){if(t&1&&(o(0,"td",31),r(1),d(2,"quantityFraction"),n()),t&2){let e=c().$implicit;i(),u(" ",f(2,1,e.SellTransferInRate)," ")}}function Gt(t,l){if(t&1&&(o(0,"tr")(1,"td")(2,"a",30),r(3),n()(),o(4,"td")(5,"a",30),r(6),n()(),p(7,Lt,2,1,"td",31),p(8,Ot,3,4,"td",32),p(9,Vt,3,3,"td",33),p(10,kt,3,3,"td",34),p(11,Mt,3,3,"td",33),p(12,Nt,3,3,"td",34),p(13,jt,3,4,"td",32),p(14,qt,2,2,"td",32),p(15,Wt,2,2,"td",32),p(16,At,3,3,"td",31),n()),t&2){let e=l.$implicit,_=c(2);i(2),s("routerLink",b(16,vt))("queryParams",B(17,Ct,e.OutletID)),i(),u(" ",e.OutletName," "),i(2),s("routerLink",b(19,yt))("queryParams",B(20,Ct,e.ProductID)),i(),D(e.ProductName),i(),m(_.column.code.selected?7:-1),i(),m(_.column.start.selected?8:-1),i(),m(_.column.bought.selected?9:-1),i(),m(_.column.sold.selected?10:-1),i(),m(_.column.transferredIn.selected?11:-1),i(),m(_.column.transferredOut.selected?12:-1),i(),m(_.column.adjust.selected?13:-1),i(),m(_.column.end.selected?14:-1),i(),m(_.column.now.selected?15:-1),i(),m(_.column.percent.selected?16:-1)}}function Rt(t,l){if(t&1&&N(0,Gt,17,22,"tr",null,M),t&2){let e=c();j(e.infiniteList)}}function Ht(t,l){t&1&&(o(0,"tr")(1,"td",35),w(2,"app-empty-state"),n()())}function zt(t,l){if(t&1&&(o(0,"td",32),d(1,"sum"),d(2,"quantityFraction"),r(3),d(4,"sum"),d(5,"quantityFraction"),n()),t&2){let e=c(2);s("colsFontColor",f(2,5,x(1,2,e.infiniteList,"Start"))),i(3),u(" ",f(5,10,x(4,7,e.infiniteList,"Start"))," ")}}function Kt(t,l){if(t&1&&(o(0,"td",33),r(1),d(2,"sum"),d(3,"quantityFraction"),n()),t&2){let e=c(2);i(),u(" ",f(3,4,x(2,1,e.infiniteList,"Bought"))," ")}}function Qt(t,l){if(t&1&&(o(0,"td",34),r(1),d(2,"sum"),d(3,"quantityFraction"),n()),t&2){let e=c(2);i(),u(" ",f(3,4,x(2,1,e.infiniteList,"Sold"))," ")}}function Jt(t,l){if(t&1&&(o(0,"td",33),r(1),d(2,"sum"),d(3,"quantityFraction"),n()),t&2){let e=c(2);i(),u(" ",f(3,4,x(2,1,e.infiniteList,"TransferredIn"))," ")}}function Ut(t,l){if(t&1&&(o(0,"td",34),r(1),d(2,"sum"),d(3,"quantityFraction"),n()),t&2){let e=c(2);i(),u(" ",f(3,4,x(2,1,e.infiniteList,"TransferredOut"))," ")}}function Xt(t,l){if(t&1&&(o(0,"td",38),d(1,"sum"),d(2,"quantityFraction"),r(3),d(4,"sum"),d(5,"quantityFraction"),n()),t&2){let e=c(2);s("colsFontColor",f(2,5,x(1,2,e.infiniteList,"Adjustment"))),i(3),u(" ",f(5,10,x(4,7,e.infiniteList,"Adjustment"))," ")}}function Yt(t,l){if(t&1&&(o(0,"td",32),d(1,"sum"),d(2,"quantityFraction"),r(3),d(4,"sum"),d(5,"quantityFraction"),n()),t&2){let e=c(2);s("colsFontColor",f(2,5,x(1,2,e.infiniteList,"End"))),i(3),u(" ",f(5,10,x(4,7,e.infiniteList,"End"))," ")}}function Zt(t,l){if(t&1&&(o(0,"td",32),d(1,"sum"),d(2,"quantityFraction"),r(3),d(4,"sum"),d(5,"quantityFraction"),n()),t&2){let e=c(2);s("colsFontColor",f(2,5,x(1,2,e.infiniteList,"Now"))),i(3),u(" ",f(5,10,x(4,7,e.infiniteList,"Now"))," ")}}function $t(t,l){if(t&1&&(o(0,"tfoot")(1,"tr",36)(2,"th",37),r(3," Total: "),n(),p(4,zt,6,12,"td",32),p(5,Kt,4,6,"td",33),p(6,Qt,4,6,"td",34),p(7,Jt,4,6,"td",33),p(8,Ut,4,6,"td",34),p(9,Xt,6,12,"td",38),p(10,Yt,6,12,"td",32),p(11,Zt,6,12,"td",32),n()()),t&2){let e=c();i(2),k("colspan",e.column.code.selected?3:2),i(2),m(e.column.start.selected?4:-1),i(),m(e.column.bought.selected?5:-1),i(),m(e.column.sold.selected?6:-1),i(),m(e.column.transferredIn.selected?7:-1),i(),m(e.column.transferredOut.selected?8:-1),i(),m(e.column.adjust.selected?9:-1),i(),m(e.column.end.selected?10:-1),i(),m(e.column.now.selected?11:-1)}}function te(t,l){if(t&1){let e=P();o(0,"span",45),h("click",function(){v(e);let a=c(2);return y(a.StoreRowsCountAPIResult("inventory/GetCountProductInventoryTraffic"))}),o(1,"i",46),r(2,"?"),n()()}}function ee(t,l){if(t&1&&(o(0,"span"),r(1),d(2,"number"),n()),t&2){let e=c(2);i(),D(f(2,1,e.listTotal))}}function ie(t,l){if(t&1){let e=P();o(0,"div",10)(1,"div",39)(2,"div",40),r(3),d(4,"number"),E(5,te,3,0,"span",41)(6,ee,3,3,"span",42),r(7),n()(),o(8,"a",43),h("click",function(){v(e);let a=c();return y(a.NextPage(!0))}),w(9,"i",44),r(10," Next"),n()()}if(t&2){let e=c();i(3),u(" Showing 1 - ",f(4,4,e.infiniteList.length)," of "),i(2),s("ngIf",!e.pageData.HideStoreApiCount),i(),s("ngIf",e.pageData.HideStoreApiCount),i(),u(" records ~ ",e.pageData.Filter.PageNumber," Page ")}}var xt=class t extends X{constructor(e,_,a,C,L,F,ne){super(e,_,"inventory/GetProductInventoryTraffic","inventoryloader/GetProductInventoryTraffic",void 0,void 0,!0);this.httpService=_;this.csvConverter=a;this.pageTitle=C;this.converter=L;this.roleService=F;this.matDialog=ne;this.pageTitle.setTitle(this.menuData.T)}column={code:{selected:!0,name:"Code"},start:{selected:!0,name:"Start"},bought:{selected:!1,name:"Bought"},sold:{selected:!0,name:"Sold"},transferredIn:{selected:!0,name:"T.In"},transferredOut:{selected:!0,name:"T.Out"},adjust:{selected:!1,name:"Adjust"},end:{selected:!0,name:"End"},now:{selected:!0,name:"Now"},percent:{selected:!1,name:"Percentage"}};selectedProduct=[];postBindData(){this.menuData.H=this.data.PageTitle}openExportModal(){this.matDialog.open(Z,{data:{title:"Product Inventory Traffic",exportTypes:[{ID:"inventoryexport/GetExportProductInventoryTraffic",Value:"Default",FileName:"Product Inventory Traffic"}],filterExport:this.pageData.Filter,getAllDataLengthAPI:"",pagination:!0}})}static \u0275fac=function(_){return new(_||t)(T(tt),T(K),T(et),T(R),T(mt),T(Q),T(Y))};static \u0275cmp=O({type:t,selectors:[["POS-product-inventory-traffic"]],features:[V],decls:31,vars:19,consts:[["pageFilterTemplate",""],[3,"onSubmit","filterChange","pageData","hideSearchBox","isFilterOnDropdown","filter","column"],["class","btn btn-outline-secondary me-3",3,"click",4,"ngIf"],[1,"container-fluid","mt-3"],[1,"table-responsive"],["id","tableGrid",1,"table","border-bottom"],[1,"thead-light","sticky-top-thead"],[2,"width","150px"],[1,"text-end",2,"width","100px"],[1,"text-end",2,"width","80px"],[1,"d-flex","justify-content-between","mt-5"],[1,"btn","btn-outline-secondary","me-3",3,"click"],["aria-hidden","true",1,"fa-solid","fa-upload"],[1,"dialog-filter"],[1,"tree-select-as-filter",3,"selectedOutletGroupIDChange","showClear","selectedOutletGroupID"],[1,"tree-select-as-filter",3,"selectedCategoryIDChange","selectedCategoryID","showClear"],[3,"modelNameChange","modelName","placeholder","isShowEmptyMessage","emptyMessage","tooltipMessage","label","listDataEndpoint","valueField"],["placeholder","From","appearance","outline","name","From",3,"dateChange","isFloatingLabel","date","hidelClearBtn"],[1,"mt-4"],["placeholder","To","appearance","outline","name","To",3,"dateChange","isFloatingLabel","date","hidelClearBtn"],["name","ProductTypeId",3,"modelChange","model","options"],["matTooltip","Stock based on start date (from date filter)","matTooltipPosition","above"],["matTooltip","Movement Stock from Inbound Logistics (Supplier Bill)","matTooltipPosition","above"],["matTooltip","Movement Stock from Outbound Logistics (Customer Invoice)","matTooltipPosition","above"],["matTooltip","Stock received from other outlets","matTooltipPosition","above"],["matTooltip","Stock sent to other outlets","matTooltipPosition","above"],["matTooltip","Total stock adjustments made","matTooltipPosition","above"],["matTooltip","Stock based on end date (to date filter)","matTooltipPosition","above"],["matTooltip","Current on-hand inventory","matTooltipPosition","above"],["matTooltip","Percentage of sold items compared to the total items received from other outlets.","matTooltipPosition","above",1,"text-end"],[3,"routerLink","queryParams"],[1,"text-end"],[1,"text-end",3,"colsFontColor"],[1,"text-end","text-success"],[1,"text-end","text-danger"],["colspan","12"],[1,"table-footer"],[1,"empty-column","text-end"],[1,"text-end","text-success",3,"colsFontColor"],[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"],["role","button",1,"btn","btn-outline-secondary","btn-sm","text-primary",3,"click"],[1,"fa-solid","fa-arrow-right"],[2,"cursor","pointer",3,"click"],["matTooltipPosition","above","matTooltip","Retrieve rows count",1,"border","p-3"]],template:function(_,a){if(_&1){let C=P();o(0,"mainpanel-cmp",1),h("onSubmit",function(){return v(C),y(a.searchFromPageOne())}),S("filterChange",function(F){return v(C),I(a.pageData.Filter,F)||(a.pageData.Filter=F),y(F)}),o(1,"actions"),E(2,Tt,3,0,"button",2),n(),o(3,"filters"),E(4,gt,17,20,"ng-template",null,0,q),n(),o(6,"content")(7,"div",3)(8,"div",4)(9,"table",5)(10,"thead",6)(11,"tr")(12,"th",7),r(13,"Outlet"),n(),o(14,"th"),r(15,"Product"),n(),p(16,It,2,0,"th",8),p(17,St,3,0,"th",9),p(18,Pt,3,0,"th",9),p(19,ht,3,0,"th",9),p(20,Ft,3,0,"th",9),p(21,Et,3,0,"th",9),p(22,wt,3,0,"th",9),p(23,Dt,3,0,"th",9),p(24,bt,3,0,"th",9),p(25,Bt,3,0,"th",9),n()(),o(26,"tbody"),p(27,Rt,2,0)(28,Ht,3,0,"tr"),n(),p(29,$t,12,9,"tfoot"),n()(),p(30,ie,11,6,"div",10),n()()()}_&2&&(s("pageData",a.menuData)("hideSearchBox",!0)("isFilterOnDropdown",!1),g("filter",a.pageData.Filter),s("column",a.column),i(2),s("ngIf",a.roleService.global.Export),i(14),m(a.column.code.selected?16:-1),i(),m(a.column.start.selected?17:-1),i(),m(a.column.bought.selected?18:-1),i(),m(a.column.sold.selected?19:-1),i(),m(a.column.transferredIn.selected?20:-1),i(),m(a.column.transferredOut.selected?21:-1),i(),m(a.column.adjust.selected?22:-1),i(),m(a.column.end.selected?23:-1),i(),m(a.column.now.selected?24:-1),i(),m(a.column.percent.selected?25:-1),i(2),m(a.infiniteList&&a.infiniteList.length>0?27:28),i(2),m(a.infiniteList&&a.infiniteList.length>0?29:-1),i(),m(a.infiniteList&&a.infiniteList.length>0?30:-1))},dependencies:[at,ot,G,W,z,_t,ct,st,nt,H,pt,dt,lt,rt,ut,ft,U,J,A,it,$],encapsulation:2})};export{xt as Product_Inventory_TrafficComponent};
|