dealpos 25.39.2 → 25.40.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/browser/chunk-22VVADHO.js +1 -0
- package/browser/chunk-2F5C3IAG.js +1 -0
- package/browser/{chunk-PJTJA37G.js → chunk-2FINBSQQ.js} +1 -1
- package/browser/{chunk-2NPKEKTC.js → chunk-2GQKEX5I.js} +1 -1
- package/browser/{chunk-LZNTSIJX.js → chunk-2LFFOWKW.js} +1 -1
- package/browser/{chunk-3T4NN6PB.js → chunk-2LQ2NHQZ.js} +1 -1
- package/browser/{chunk-X5WM5BVA.js → chunk-35KDSBX6.js} +1 -1
- package/browser/{chunk-7GPICHCI.js → chunk-36RSCYDI.js} +1 -1
- package/browser/{chunk-UU5RJKWG.js → chunk-3AIABMW2.js} +1 -1
- package/browser/{chunk-LPGMI3V2.js → chunk-3GV7FUAX.js} +1 -1
- package/browser/{chunk-JYFBUDHQ.js → chunk-3LJ5PM42.js} +1 -1
- package/browser/{chunk-6ZOGADBZ.js → chunk-3M5M2T4L.js} +1 -1
- package/browser/{chunk-3LBZWLLT.js → chunk-3NJFM55L.js} +1 -1
- package/browser/{chunk-LMDLCZHL.js → chunk-3WK2KXRV.js} +2 -2
- package/browser/{chunk-UCW4YKTO.js → chunk-3XCGOH67.js} +1 -1
- package/browser/{chunk-MHKRUO7I.js → chunk-473FVTPP.js} +1 -1
- package/browser/{chunk-B7JJIPG3.js → chunk-4HDGWFYM.js} +1 -1
- package/browser/{chunk-RBCKIP6D.js → chunk-4L5G4WC4.js} +1 -1
- package/browser/{chunk-BFBWJV3S.js → chunk-4OLDMBIN.js} +1 -1
- package/browser/{chunk-TBGCJUXF.js → chunk-4WC2MKQM.js} +1 -1
- package/browser/{chunk-Z5N4EKJ3.js → chunk-52NDCK4A.js} +1 -1
- package/browser/{chunk-IVTBFY5K.js → chunk-56ONABHX.js} +1 -1
- package/browser/{chunk-TGAOY65D.js → chunk-5DFDFG2P.js} +1 -1
- package/browser/{chunk-LTYV6XXV.js → chunk-5MKJM244.js} +1 -1
- package/browser/{chunk-3MBKXSSX.js → chunk-5N5KE4MY.js} +1 -1
- package/browser/chunk-5SWKPDLG.js +112 -0
- package/browser/{chunk-VOU4625O.js → chunk-64UDU34W.js} +1 -1
- package/browser/{chunk-ZZ7LHETD.js → chunk-6BL2JKZG.js} +1 -1
- package/browser/{chunk-OAGRRZG4.js → chunk-6CLFZ6DE.js} +1 -1
- package/browser/{chunk-ZSNREHJV.js → chunk-6ENKLZEP.js} +1 -1
- package/browser/{chunk-MV3QRRW6.js → chunk-6IW4MVP2.js} +1 -1
- package/browser/{chunk-43GXPSBB.js → chunk-6NLWIGH6.js} +2 -2
- package/browser/{chunk-Y6X5IB6T.js → chunk-6TE7JZAY.js} +1 -1
- package/browser/{chunk-4GWH3ZCR.js → chunk-72ELHSCV.js} +3 -3
- package/browser/{chunk-6TJEBGXX.js → chunk-76MASKAQ.js} +1 -1
- package/browser/{chunk-TDMU55LA.js → chunk-7C4FPJKC.js} +1 -1
- package/browser/{chunk-LWN7KMCU.js → chunk-7ECY25MM.js} +1 -1
- package/browser/{chunk-5UL73W4S.js → chunk-7LXPGNYF.js} +1 -1
- package/browser/{chunk-7LBB7GZS.js → chunk-7QDLYX4Z.js} +1 -1
- package/browser/{chunk-ILGPXBYT.js → chunk-7QN6GHX6.js} +1 -1
- package/browser/{chunk-26S2EEKX.js → chunk-7T2MIRWC.js} +1 -1
- package/browser/{chunk-XED4PAPO.js → chunk-7U5P25HF.js} +1 -1
- package/browser/{chunk-L2EDFSBR.js → chunk-7UFQPOGN.js} +1 -1
- package/browser/chunk-7WXLMY3Y.js +1 -0
- package/browser/{chunk-L5FSQ5F6.js → chunk-A7ZWFYP4.js} +1 -1
- package/browser/{chunk-W4EQMAJL.js → chunk-ALVRR7AP.js} +1 -1
- package/browser/{chunk-Z7PBEESK.js → chunk-AVRQQPAW.js} +1 -1
- package/browser/{chunk-G47DQPAS.js → chunk-B4IX7BMU.js} +1 -1
- package/browser/{chunk-I5K3C5EY.js → chunk-BADUP5JT.js} +1 -1
- package/browser/{chunk-BXZKMINC.js → chunk-BAL3IIDS.js} +1 -1
- package/browser/{chunk-JZN5OZUP.js → chunk-BIHQKESC.js} +1 -1
- package/browser/{chunk-5FQNAE5Q.js → chunk-BNZYBP5J.js} +1 -1
- package/browser/{chunk-QBVLPTV5.js → chunk-BYNEFOC3.js} +1 -1
- package/browser/{chunk-2C6MWHDS.js → chunk-BZY5WYGN.js} +1 -1
- package/browser/{chunk-2RSBMS36.js → chunk-CB33ZMNF.js} +1 -1
- package/browser/{chunk-NVIQOMNI.js → chunk-CK7WM2TT.js} +1 -1
- package/browser/{chunk-WJWWBE6Y.js → chunk-CMQAUCAH.js} +1 -1
- package/browser/{chunk-LNVTHMH7.js → chunk-CN5SHMHF.js} +1 -1
- package/browser/{chunk-BWOG3YI3.js → chunk-CQHU6TYE.js} +1 -1
- package/browser/{chunk-5JZJ4OL3.js → chunk-D3RDKDIY.js} +1 -1
- package/browser/{chunk-QEMZLEBM.js → chunk-D7YIFG3G.js} +1 -1
- package/browser/chunk-DHIWAZHG.js +82 -0
- package/browser/{chunk-HZAKBODD.js → chunk-DLAMPGGR.js} +1 -1
- package/browser/{chunk-47MDCKEY.js → chunk-DPKYMDVN.js} +1 -1
- package/browser/{chunk-BNMCFXUM.js → chunk-DSMI2L5T.js} +1 -1
- package/browser/chunk-DWOLAWQN.js +1 -0
- package/browser/{chunk-RRTOTW4I.js → chunk-E3TMOYBP.js} +1 -1
- package/browser/{chunk-TUQHMQZM.js → chunk-E6FVFQLF.js} +1 -1
- package/browser/{chunk-AMX24G23.js → chunk-EIIIFOPI.js} +2 -2
- package/browser/{chunk-OWLODVC2.js → chunk-EMYULNEH.js} +1 -1
- package/browser/{chunk-TUVTTOAU.js → chunk-EOLAZVGP.js} +1 -1
- package/browser/{chunk-HCQXSFP4.js → chunk-EVVI3ASJ.js} +1 -1
- package/browser/{chunk-SUFPFQV3.js → chunk-EVXMHULS.js} +1 -1
- package/browser/{chunk-NOLQHNIQ.js → chunk-FO3DCWRP.js} +1 -1
- package/browser/{chunk-DWWBB3GE.js → chunk-G6C75N4Q.js} +1 -1
- package/browser/chunk-G7VXLE7P.js +1 -0
- package/browser/{chunk-UZKYLAUE.js → chunk-GC77Y2AW.js} +1 -1
- package/browser/{chunk-F2GVSRJF.js → chunk-GEVZO5DH.js} +1 -1
- package/browser/{chunk-F4LTPPFA.js → chunk-GHWFKUBT.js} +1 -1
- package/browser/{chunk-XGGDC3Z6.js → chunk-GKJIHA2W.js} +1 -1
- package/browser/chunk-GLMZREQS.js +1 -0
- package/browser/{chunk-UBUC3CPO.js → chunk-GSS2NRMS.js} +1 -1
- package/browser/{chunk-L74MRZTG.js → chunk-H24LTKLU.js} +1 -1
- package/browser/{chunk-VTNMEIUX.js → chunk-HDDWNOWD.js} +2 -2
- package/browser/{chunk-PIX6WTZV.js → chunk-HHCO4QOU.js} +1 -1
- package/browser/{chunk-5VAXIJEW.js → chunk-I2O3VGCS.js} +1 -1
- package/browser/{chunk-IY5XCLBB.js → chunk-I6E6PXQU.js} +1 -1
- package/browser/{chunk-YUORKVN5.js → chunk-IFIBQUT3.js} +1 -1
- package/browser/{chunk-NJSJDYUI.js → chunk-IJ7U2UFN.js} +1 -1
- package/browser/{chunk-754Q2SCH.js → chunk-IXEK3QVA.js} +1 -1
- package/browser/{chunk-E6TB2F65.js → chunk-IY6GPD44.js} +1 -1
- package/browser/{chunk-FJWXLGMR.js → chunk-J45TXCA6.js} +1 -1
- package/browser/{chunk-6WIZZLEN.js → chunk-J5BO472Y.js} +1 -1
- package/browser/{chunk-LLFZBTF3.js → chunk-JDUQN72H.js} +1 -1
- package/browser/{chunk-W2UCLTBY.js → chunk-JXJUXV43.js} +1 -1
- package/browser/{chunk-22YZI422.js → chunk-K7YY7ZAJ.js} +1 -1
- package/browser/chunk-KEYOSYRP.js +5 -0
- package/browser/{chunk-NEIYR7P7.js → chunk-KQI2NIA5.js} +1 -1
- package/browser/chunk-KS37A3HL.js +1 -0
- package/browser/{chunk-TXIF5LPE.js → chunk-KTA5HCUQ.js} +1 -1
- package/browser/{chunk-WHHFDS3G.js → chunk-KUWGWL2Z.js} +1 -1
- package/browser/chunk-KVCJJEYJ.js +1 -0
- package/browser/{chunk-VZX4F3F5.js → chunk-KVJTNXOJ.js} +1 -1
- package/browser/chunk-LBLVFHYM.js +1 -0
- package/browser/{chunk-OQ5SOBRF.js → chunk-LJGV36SK.js} +1 -1
- package/browser/{chunk-33VUJMCJ.js → chunk-LJJ5S6BL.js} +1 -1
- package/browser/{chunk-EYCZLRFX.js → chunk-LKFDM7AC.js} +1 -1
- package/browser/{chunk-PIOHEDRB.js → chunk-LL5JZI2L.js} +1 -1
- package/browser/chunk-LOOAI7QV.js +125 -0
- package/browser/{chunk-I4HXIYOM.js → chunk-LOOZU2KI.js} +1 -1
- package/browser/{chunk-2JXQKW4J.js → chunk-LSMHOEEJ.js} +1 -1
- package/browser/{chunk-GAO5Z2TO.js → chunk-M24G6C74.js} +1 -1
- package/browser/{chunk-RMPEAMU7.js → chunk-M2HT3MNZ.js} +1 -1
- package/browser/{chunk-BMAU6N5H.js → chunk-M5LR2E34.js} +1 -1
- package/browser/{chunk-C4LUL5KJ.js → chunk-M6GBM6JE.js} +2 -2
- package/browser/{chunk-7BU64MD2.js → chunk-M7EO4UVO.js} +1 -1
- package/browser/{chunk-TBQI2P7D.js → chunk-MEFUUTBS.js} +1 -1
- package/browser/{chunk-ECQX76DP.js → chunk-MTVFHEYO.js} +1 -1
- package/browser/{chunk-H5CUR2V6.js → chunk-MYMQ5FSS.js} +1 -1
- package/browser/{chunk-MIOD33IS.js → chunk-NAWIOWEP.js} +1 -1
- package/browser/{chunk-KUUYZ5UQ.js → chunk-NDM2ODJP.js} +1 -1
- package/browser/{chunk-ZU22CVVV.js → chunk-NHTMJTLV.js} +1 -1
- package/browser/{chunk-VETGCCN5.js → chunk-NLPDFOMQ.js} +1 -1
- package/browser/{chunk-SNB2E7OE.js → chunk-NOLZQTM4.js} +1 -1
- package/browser/{chunk-DA2JCXEB.js → chunk-NQ2TILK7.js} +1 -1
- package/browser/{chunk-SGEVH47J.js → chunk-NQTQPZ6C.js} +1 -1
- package/browser/{chunk-C73IEBHE.js → chunk-NW73SHIZ.js} +1 -1
- package/browser/{chunk-YOKPVEGO.js → chunk-O5PHF6GW.js} +1 -1
- package/browser/chunk-OC2FT6HQ.js +1 -0
- package/browser/{chunk-LAHTI3RX.js → chunk-OC76LLTB.js} +1 -1
- package/browser/{chunk-TLOTIYIE.js → chunk-OE7PM4Y4.js} +1 -1
- package/browser/{chunk-NOHORPPM.js → chunk-OHZN3Z7O.js} +1 -1
- package/browser/{chunk-52EOLV7I.js → chunk-OI2RWAOV.js} +1 -1
- package/browser/{chunk-TYLM2YM3.js → chunk-OMVUFMMZ.js} +1 -1
- package/browser/{chunk-XCYDPBY2.js → chunk-ONJEHKSI.js} +1 -1
- package/browser/{chunk-OLALZT3L.js → chunk-OPCIBNIJ.js} +1 -1
- package/browser/chunk-OQABAMLZ.js +1 -0
- package/browser/{chunk-C6ARCDXZ.js → chunk-OQCGVZVB.js} +1 -1
- package/browser/{chunk-CGLLB7US.js → chunk-P74V2E4B.js} +1 -1
- package/browser/{chunk-PKSFDPQL.js → chunk-PDV6AI5F.js} +1 -1
- package/browser/{chunk-IZL4EXFB.js → chunk-PMVLWI3N.js} +1 -1
- package/browser/{chunk-XX6Z7QPA.js → chunk-PNM3PGBM.js} +1 -1
- package/browser/{chunk-6N4AU5UX.js → chunk-PRKAXHSJ.js} +1 -1
- package/browser/{chunk-WU2F67XH.js → chunk-PV3NX34D.js} +1 -1
- package/browser/{chunk-ZPX3JQLX.js → chunk-PZVW2B3A.js} +1 -1
- package/browser/{chunk-CSGP6E2Y.js → chunk-Q4EIRSXE.js} +1 -1
- package/browser/{chunk-I7VBCYOO.js → chunk-QCBXPOJL.js} +1 -1
- package/browser/{chunk-LNGGJ44D.js → chunk-QETBCVAT.js} +1 -1
- package/browser/{chunk-SLC7LAI3.js → chunk-QGGIOQJT.js} +1 -1
- package/browser/{chunk-DYCGOJEI.js → chunk-QGNOVY53.js} +1 -1
- package/browser/{chunk-VQ7WKMGF.js → chunk-QMCAG2HX.js} +1 -1
- package/browser/{chunk-M3ZKWNV5.js → chunk-QMCLGLNR.js} +1 -1
- package/browser/{chunk-ZT4RBJMM.js → chunk-QTAOV4NJ.js} +1 -1
- package/browser/{chunk-O7MCO2N7.js → chunk-QWZ5AM3L.js} +1 -1
- package/browser/{chunk-SHFOA2UU.js → chunk-R3RNGCN5.js} +1 -1
- package/browser/{chunk-34DM3UGK.js → chunk-R4LM2FUG.js} +1 -1
- package/browser/{chunk-P5PNY2PR.js → chunk-R7MOZHCP.js} +1 -1
- package/browser/{chunk-GHKPWAVT.js → chunk-RA3DDH4S.js} +2 -2
- package/browser/{chunk-3TVSUUBD.js → chunk-RAWC3LA6.js} +1 -1
- package/browser/{chunk-567HXZXC.js → chunk-REQUYIUO.js} +1 -1
- package/browser/{chunk-6GDGY3QJ.js → chunk-ROG4PCGU.js} +1 -1
- package/browser/{chunk-DMBA7X3J.js → chunk-RQEBYX3F.js} +1 -1
- package/browser/{chunk-PR7RNYJZ.js → chunk-RRPDIZ3O.js} +1 -1
- package/browser/{chunk-H7WJLWSG.js → chunk-RSPANR5I.js} +1 -1
- package/browser/{chunk-OCIWZUYR.js → chunk-RWRT75NX.js} +1 -1
- package/browser/{chunk-W4E3XWPN.js → chunk-SF2N5AY3.js} +1 -1
- package/browser/{chunk-RT3VKQMM.js → chunk-SGVMHJSS.js} +1 -1
- package/browser/{chunk-CFUU3EHR.js → chunk-SOM7CDGS.js} +1 -1
- package/browser/{chunk-CGESXTHC.js → chunk-T2PMKO3M.js} +1 -1
- package/browser/{chunk-JKYTSC2D.js → chunk-T2PXIPKB.js} +1 -1
- package/browser/{chunk-OBNSNZON.js → chunk-T6MTT57B.js} +1 -1
- package/browser/chunk-TIJTCUAQ.js +1 -0
- package/browser/{chunk-AHCRE4GP.js → chunk-TKBUOGER.js} +1 -1
- package/browser/chunk-TLANLIUC.js +1 -0
- package/browser/{chunk-2MWJFITN.js → chunk-TRNJQNNU.js} +1 -1
- package/browser/{chunk-IDC6L6JH.js → chunk-U5ERES6W.js} +1 -1
- package/browser/{chunk-4GQXMRUO.js → chunk-U7UGBRW4.js} +1 -1
- package/browser/{chunk-FD5YMPRL.js → chunk-UAI7BPPY.js} +1 -1
- package/browser/{chunk-CBMNFMAH.js → chunk-UEYIRK5F.js} +1 -1
- package/browser/{chunk-E6HIYDN6.js → chunk-UNGORYVO.js} +4 -4
- package/browser/{chunk-S33TYRYA.js → chunk-UZ25ROGJ.js} +1 -1
- package/browser/chunk-V5YVPSDN.js +1 -0
- package/browser/{chunk-736JCGLJ.js → chunk-V6OEZRUP.js} +1 -1
- package/browser/{chunk-FAIQRIIW.js → chunk-VLWQGO7J.js} +1 -1
- package/browser/{chunk-U4JITHEB.js → chunk-VOC7I5E7.js} +1 -1
- package/browser/{chunk-JSN4HB24.js → chunk-VPJV65HV.js} +1 -1
- package/browser/{chunk-KVSCR7WW.js → chunk-VPLAJK5S.js} +1 -1
- package/browser/{chunk-GLXNXL3M.js → chunk-VSDXDXYG.js} +1 -1
- package/browser/{chunk-EO34FGSE.js → chunk-VULOVOPY.js} +1 -1
- package/browser/{chunk-FY72UF62.js → chunk-VYFU4BSG.js} +1 -1
- package/browser/{chunk-VJQGRCCE.js → chunk-WDC6EOX3.js} +1 -1
- package/browser/{chunk-X7FAMNA4.js → chunk-WFTWYIDX.js} +1 -1
- package/browser/{chunk-XNGSDIQN.js → chunk-WQZRIM6G.js} +1 -1
- package/browser/{chunk-YMXIO4RH.js → chunk-WSXU6K3F.js} +1 -1
- package/browser/{chunk-5JT4MRR4.js → chunk-WUDGY4TW.js} +1 -1
- package/browser/{chunk-CIBQBSM6.js → chunk-XOQ4SW2R.js} +1 -1
- package/browser/{chunk-DBX3G54S.js → chunk-XPSHJW3T.js} +1 -1
- package/browser/{chunk-VEA62MJP.js → chunk-XSFFDKMT.js} +1 -1
- package/browser/{chunk-LHP3ECFW.js → chunk-XZQMVGBQ.js} +1 -1
- package/browser/{chunk-DS4FO4PF.js → chunk-Y24USACE.js} +1 -1
- package/browser/chunk-Y2XNBH64.js +57 -0
- package/browser/{chunk-ZB5TZ4QM.js → chunk-YAHLQ7AI.js} +1 -1
- package/browser/{chunk-RKDFRND6.js → chunk-YBYLFCJT.js} +1 -1
- package/browser/chunk-YCGOXELE.js +1 -0
- package/browser/{chunk-L3O2ASVB.js → chunk-YK34HYBV.js} +1 -1
- package/browser/{chunk-HARALEZH.js → chunk-YLEMIFBY.js} +1 -1
- package/browser/{chunk-THRGCK26.js → chunk-YM7SBYD5.js} +1 -1
- package/browser/{chunk-AW3RJSE6.js → chunk-YTUAP6TP.js} +2 -2
- package/browser/{chunk-F3QNQDQZ.js → chunk-Z76AR3IW.js} +1 -1
- package/browser/chunk-Z7Z65PNB.js +1 -0
- package/browser/{chunk-SX7VXZQI.js → chunk-ZBYQ3WOC.js} +1 -1
- package/browser/{chunk-VZLT2MGB.js → chunk-ZEZ2K35X.js} +1 -1
- package/browser/{chunk-HRXM4W6Y.js → chunk-ZFYF7PEH.js} +1 -1
- package/browser/{chunk-7B7GNMTJ.js → chunk-ZGRWIAQ2.js} +2 -2
- package/browser/{chunk-VGFYQPBS.js → chunk-ZHDKGVTO.js} +1 -1
- package/browser/{chunk-G7MHJB7B.js → chunk-ZINLH2FL.js} +1 -1
- package/browser/{chunk-NW5AJUUW.js → chunk-ZKMJRNCL.js} +1 -1
- package/browser/{chunk-N2CLDG3C.js → chunk-ZKOMV4BY.js} +1 -1
- package/browser/{chunk-JQN6H3DD.js → chunk-ZPAWI5X7.js} +1 -1
- package/browser/{chunk-I46S3P6Y.js → chunk-ZXI2VI4Z.js} +1 -1
- package/browser/{chunk-A6YCCT6G.js → chunk-ZY3EJSWW.js} +1 -1
- package/browser/index.html +2 -2
- package/browser/main-NDFZJNIA.js +3 -0
- package/package.json +1 -1
- package/browser/chunk-3KUJU5BU.js +0 -1
- package/browser/chunk-4CARUV4H.js +0 -125
- package/browser/chunk-6SK3XWNT.js +0 -1
- package/browser/chunk-BKPYLOWM.js +0 -1
- package/browser/chunk-C5OAHNCU.js +0 -1
- package/browser/chunk-FQFTJVIA.js +0 -5
- package/browser/chunk-G6C77ZXY.js +0 -1
- package/browser/chunk-H5ASSFZI.js +0 -1
- package/browser/chunk-HZNLV6RA.js +0 -1
- package/browser/chunk-IVP3GL2V.js +0 -1
- package/browser/chunk-LWUZB66X.js +0 -1
- package/browser/chunk-NGB4NIKA.js +0 -1
- package/browser/chunk-NGZ77ZI3.js +0 -57
- package/browser/chunk-OJHT6ADV.js +0 -1
- package/browser/chunk-QF2FN7R2.js +0 -1
- package/browser/chunk-SQURNPXM.js +0 -112
- package/browser/chunk-TEFNN3TY.js +0 -1
- package/browser/chunk-VNYLCXAG.js +0 -82
- package/browser/chunk-X5SJKYJF.js +0 -1
- package/browser/chunk-ZCSQ4WB2.js +0 -1
- package/browser/main-N6Y6NF7J.js +0 -3
- /package/browser/{chunk-HBNFET4C.js → chunk-4USQPLEW.js} +0 -0
- /package/browser/{chunk-6365PJN3.js → chunk-5UDUWK67.js} +0 -0
- /package/browser/{chunk-JLWKTGB2.js → chunk-5ZMTBZT3.js} +0 -0
- /package/browser/{chunk-DZT5XHBQ.js → chunk-DJOHANFC.js} +0 -0
- /package/browser/{chunk-GSLPZSSX.js → chunk-HBAQBI6Z.js} +0 -0
- /package/browser/{chunk-3PXI2XBC.js → chunk-J6U6UYNI.js} +0 -0
- /package/browser/{chunk-NPJ272AZ.js → chunk-JFLT7NX3.js} +0 -0
- /package/browser/{chunk-I4MJUIXL.js → chunk-NQKVYQ6V.js} +0 -0
- /package/browser/{chunk-SE7OFLAL.js → chunk-NQX7EX5A.js} +0 -0
- /package/browser/{chunk-WLRXTHLM.js → chunk-P3KIIKY4.js} +0 -0
- /package/browser/{chunk-B5FODXLM.js → chunk-PF33HK6M.js} +0 -0
- /package/browser/{chunk-6L6CIH5M.js → chunk-YTGZYBEI.js} +0 -0
- /package/browser/{chunk-TK5H65DN.js → chunk-YXCPHYC5.js} +0 -0
- /package/browser/{chunk-2IT6TVBI.js → chunk-Z3E24JZW.js} +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as Ce}from"./chunk-7GPICHCI.js";import{a as Me}from"./chunk-O7MCO2N7.js";import{a as Pe}from"./chunk-GAO5Z2TO.js";import{a as ve}from"./chunk-5UL73W4S.js";import{b as be,c as Se}from"./chunk-CIBQBSM6.js";import{a as ue}from"./chunk-ZT4RBJMM.js";import"./chunk-GIKR6Y2K.js";import"./chunk-567HXZXC.js";import{F as he,b as de,h as me,o as fe}from"./chunk-2RSBMS36.js";import{a as T,c as h}from"./chunk-MHKRUO7I.js";import{a as ge}from"./chunk-M3ZKWNV5.js";import{a as M,d as I}from"./chunk-AHCRE4GP.js";import{a as ce}from"./chunk-SUFPFQV3.js";import{$ as H,$a as c,Bc as te,E,Ib as o,Jb as s,Kb as p,Nd as oe,Pd as ae,Qb as C,Qd as b,Rb as Q,Rd as se,Sd as le,Td as B,Vb as Z,Vd as pe,Wa as J,Wc as ie,Yc as ne,d as G,da as D,db as v,ec as m,fc as V,gc as $,ja as d,jd as re,ka as y,kb as q,lb as x,ma as _,na as l,qb as j,rc as K,sc as X,ub as Y,vb as f,xb as W,zb as F,zc as ee}from"./chunk-DZT5XHBQ.js";import"./chunk-7DCB7DB2.js";var r=class e{constructor(i,t){this.authService=i;this.router=t}canLoad(i,t){return this.authService.isTokenExpired()?(this.authService.returnUrl=this.getUrlRedirect(t),this.router.navigate(["/"]),!1):!0}getUrlRedirect(i){let t="/menu";i.forEach(a=>t+=`/${a.path}`);let n=this.router.getCurrentNavigation().extractedUrl.queryParams;return Object.keys(n).forEach((a,g)=>{g==0?t=`${t}?${a}=${n[a]}`:t=`${t}&${a}=${n[a]}`}),t}static \u0275fac=function(t){return new(t||e)(_(h),_(b))};static \u0275prov=d({token:e,factory:e.\u0275fac,providedIn:"root"})};var w=class e{constructor(i){this.toastrService=i;this.initPermissionToastr=!1}isPermissionGranted;initPermissionToastr;initPermission(){try{this.initPermissionToastr||Notification.requestPermission().then(t=>{this.isPermissionGranted=!1,t=="granted"&&(this.isPermissionGranted=!0),this.initPermissionToastr=!0})}catch(i){console.error(i)}}showAlert(i,t,n,u){let a=6e4;if(this.isPermissionGranted)try{let g=new Notification(t,{body:i,icon:u});g.onerror=R=>{this.toastrService.info(this.setBody(i,n),t,{timeOut:a,enableHtml:this.hasUrl(n)})}}catch(g){console.error(g)}else this.toastrService.info(this.setBody(i,n),t,{timeOut:a,enableHtml:this.hasUrl(n)})}setBody(i,t){return this.hasUrl(t)&&(i=`<a href="${t}" target="_blank" class="ps-0">${i}</a>`),i}hasUrl(i){return!!(i&&i.length!==0)}static \u0275fac=function(t){return new(t||e)(_(pe))};static \u0275prov=d({token:e,factory:e.\u0275fac,providedIn:"root"})};var _e=[{T:"Dashboard",U:"/menu/Dashboard",I:"fa-solid fa-chart-pie"},{T:"Products",U:"/menu/Products",I:"fa-solid fa-tag"},{T:"Estimate",U:"/menu/Estimate",I:"fa-solid fa-clipboard"},{T:"Sell",U:"/menu/Sell",I:"fa-solid fa-cart-shopping"},{T:"Shift",U:"/menu/Shift/",I:"fa-solid fa-user-clock"},{T:"Reports",U:"/menu/Reports",I:"fa-solid fa-chart-area"},{T:"Contacts",U:"/menu/Contacts",I:"fas fa-address-book"},{T:"Orders",U:"/menu/Orders",I:"fas fa-file-invoice"},{T:"Payment",U:"/menu/Payment",I:"fas fa-money-bill-alt"},{T:"Debt",U:"/menu/Debt",I:"fas fa-dollar-sign"},{T:"Inventory",U:"/menu/Inventory",I:"fas fa-archive"},{T:"Adjustment",U:"/menu/Adjustment",I:"fas fa-scanner-gun"},{T:"Buy",U:"/menu/Buy",I:"fa-solid fa-cart-arrow-down"},{T:"Logistics",U:"/menu/Logistics",I:"fas fa-truck"},{T:"Fulfillment",U:"/menu/Fulfillment",I:"fas fa-dolly"},{T:"Manufacture",U:"/menu/Manufacture",I:"fas fa-industry"},{T:"Prepaid Package",U:"/menu/Prepaid_Package",I:"fa-solid fa-id-card"},{T:"Promotion",U:"/menu/Promotion",I:"fas fa-bullhorn"},{T:"Users",U:"/menu/Users",I:"fas fa-user"},{T:"Outlets",U:"/menu/Outlets",I:"fas fa-map-marker-alt"},{T:"Setup",U:"/menu/Setup",I:"fas fa-gear"},{T:"Developer",U:"/menu/Developer",I:"fas fa-code"}];var k=class e{role=l(I);authService=l(h);menu=_e;filteredMenu=[];initFilteredMenu(){this.filteredMenu=this.menu.filter(i=>i.T==="Dashboard"?this.role.dashboard.View:i.T==="Products"?this.role.product.View:i.T==="Estimate"?this.role.estimate.Create:i.T==="Sell"?this.role.sell.Create:i.T==="Shift"?this.role.sell.Create:i.T==="Reports"?this.role.report.View:i.T==="Contacts"?this.role.contact.View:i.T==="Orders"?this.role.order.View:i.T==="Payment"?this.role.payment.View:i.T==="Debt"?this.role.debt.View:i.T==="Inventory"?this.role.inventory.View:i.T==="Adjustment"?this.role.adjustment.View:i.T==="Buy"?this.role.buy.Create:i.T==="Logistics"?this.role.logistic.View:i.T==="Manufacture"?this.role.manufacture.View:i.T==="Fulfillment"?this.role.fulfillment.View:i.T==="Prepaid Package"?this.role.prepaidPackage.View:i.T==="Promotion"?this.role.promotion.View:i.T==="Users"?this.role.users.View:i.T==="Outlets"?this.role.outlets.View:i.T==="Setup"?this.role.setup.View:i.T==="Developer"?this.role.developer.View:!0),this.filterBySubscriptionStatus()}filterBySubscriptionStatus(){let i=this.authService.getSubscriptionStatus();this.filteredMenu=this.filteredMenu.filter(t=>{switch(i){case 2:return t.T=="Sell"||t.T=="Shift";case 3:return!1;default:return!0}})}static \u0275fac=function(t){return new(t||e)};static \u0275prov=d({token:e,factory:e.\u0275fac,providedIn:"root"})};var Oe=[{T:"My Profile",U:"Profile/Main/My_Profile",I:"fas fa-user"},{T:"My Subscription",U:"Profile/Main/My_Subscription",I:"fa-solid fa-credit-card"},{T:"Notification",U:"Profile/Notification/Push",I:"fas fa-bell"},{T:"My Sales",U:"Profile/Main/My_Sales",I:"fas fa-history"}];var A=class e{role=l(I);authService=l(h);filteredMenu=[];initFilteredMenu(){let i=this.authService.getSubscriptionStatus();this.filteredMenu=Oe.filter(t=>t.T=="My Profile"?this.role.profile.View:t.T=="My Subscription"?this.role.profile.Subscription:t.T=="Notification"?this.role.profile.Notification&&i!=2&&i!=3:t.T=="My Sales"?i!=2&&i!=3:!0)}static \u0275fac=function(t){return new(t||e)};static \u0275prov=d({token:e,factory:e.\u0275fac,providedIn:"root"})};var Le=(e,i)=>({"full-container":e,"subscription-bar-visible":i}),Ue=e=>[e];function Ne(e,i){if(e&1&&(o(0,"a",35),p(1,"i",36),o(2,"span"),m(3),s()()),e&2){let t=i.$implicit;f("routerLink",t==null?null:t.U),c(),F((t==null?null:t.I)+" me-2"),c(2),V(t==null?null:t.T)}}function Re(e,i){if(e&1&&(o(0,"li",37,0)(2,"a",38),p(3,"i"),o(4,"p"),m(5),s()()()),e&2){let t=i.$implicit,n=Q();f("routerLinkActiveOptions",n.isActiveMatchOptions),Y("data-cy",t==null?null:t.T),c(2),f("matTooltip",n.toggleSideMenu?t==null?null:t.T:"")("routerLink",K(7,Ue,t==null?null:t.U)),c(),F(t==null?null:t.I),c(2),V(t==null?null:t.T)}}var P=class e{constructor(i,t,n,u,a,g,R,z){this.toggleSidebar=i;this.signalRClientService=t;this.notificationAlertService=n;this.router=u;this.authService=a;this.intercomService=g;R.initFilteredMenu(),z.initFilteredMenu(),this.leftSidebarMenu=R.filteredMenu,this.topMenu=z.filteredMenu,this.accountInfo=JSON.parse(localStorage.getItem("AccountInfo")),this.toggleSidebar.toggleState$.subscribe(xe=>this.isNavOpen=xe),this.destroy$=new G,this.initNotificationPermission()}isActiveMatchOptions={matrixParams:"subset",queryParams:"subset",paths:"subset",fragment:"exact"};toggleSideMenu=!1;isNavOpen;destroy$;activeMenu;appVersion=ce.version;currentSubStatus;subsStatusEnum=T;isFullContainer=!1;isHideIntercomLauncher;leftSidebarMenu;topMenu;accountInfo;ngOnInit(){this.subscribeToPushNotification(),this.getCurrentSubscriptionStatus(),this.initFullContainer()}initFullContainer(){this.router.events.pipe(E(i=>i instanceof oe),H(null),D(this.destroy$)).subscribe(i=>{this.isFullContainer=!1,(this.router.url.includes("Sell")&&!this.router.url.includes("v2")&&!this.router.url.includes("Offline")||this.router.url.includes("Buy")||this.router.url.includes("menu/Estimate")||this.router.url.includes("Transfer_Order/Form")||this.router.url.includes("Adjustment/Archive/Form")||this.router.url.includes("Job_Order/Archive/Form")||this.router.url.includes("/menu/Debt/Debt/Join_Invoice/Form")||this.router.url.includes("/menu/Debt/Debt/Join_Bill/New_Join_Bill"))&&(this.isFullContainer=!0)})}initNotificationPermission(){this.notificationAlertService.initPermission()}getCurrentSubscriptionStatus(){this.currentSubStatus=this.authService.getSubscriptionStatus()}subscribeToPushNotification(){let i=localStorage.getItem("NotificationOutletID");M.IsNotEmpty(i)&&M.isGuid(i)?this.signalRClientService.SubscribeGroup(i):this.signalRClientService.startConnection(),this.signalRClientService.OnReceivePushNotification.pipe(D(this.destroy$),E(t=>M.IsNotEmpty(t))).subscribe(t=>{if(M.IsNotEmpty(t)){let n=JSON.parse(t),u="//res.cloudinary.com/pos/image/upload/v1657006791/icons/info-new.png";M.IsNotEmpty(n.Icon)&&(u=n.Icon),this.notificationAlertService.showAlert(n.Body,n.Header,n.URL,u)}})}ngAfterViewInit(){this.intercomService.inititalizeIntercom()}toggleMenu(){this.toggleSideMenu=!this.toggleSideMenu}logout(){this.authService.logout()}isNotEmpty(i){return M.IsNotEmpty(i)}onShowDropdown(){this.isHideIntercomLauncher=this.intercomService.isHideLauncher()}chatToggleChange(){this.isHideIntercomLauncher==!1?this.intercomService.hideLauncher():this.intercomService.showLauncher(),this.onShowDropdown()}ngOnDestroy(){this.destroy$.next(!0),this.destroy$.complete()}static \u0275fac=function(t){return new(t||e)(v(ve),v(ue),v(w),v(b),v(h),v(ge),v(k),v(A))};static \u0275cmp=q({type:e,selectors:[["POS-menu-master"]],standalone:!1,decls:52,vars:19,consts:[["rla","routerLinkActive"],[1,"wrapper"],["data-color","blue",1,"sidebar",3,"ngClass"],[1,"btn-minimize","d-lg-block","d-none","p-0","border-0","bg-white",3,"click"],[1,"fa-solid",3,"ngClass"],[1,"logo"],[1,"navbar","dropdown","bg-transparent","border-0"],["data-cy","companyName","data-bs-toggle","dropdown","aria-expanded","false","matTooltipPosition","above",1,"simple-text","text-start","dropdown-toggle","d-flex","align-items-center","justify-content-center",2,"cursor","pointer",3,"click","matTooltip"],[1,"dropdown-menu"],[1,"dropdown-header","text-dark","border-bottom"],[1,"divider","m-0"],["class","dropdown-item h5",3,"routerLink",4,"ngFor","ngForOf"],[1,"dropdown-item","h5",2,"cursor","pointer"],[1,"d-flex","align-items-center","justify-content-between"],[1,"fa-solid","fa-comment-dots","me-2"],[1,"checkbox_toggle","ms-3",3,"click"],["type","checkbox","id","chatToggle","name","ChatToggle",3,"ngModelChange","ngModel"],["for","chatToggle",1,"position-relative","rounded-pill","pointer"],[1,"dropdown-item","h5",2,"cursor","pointer",3,"click"],["aria-hidden","true",1,"fa-solid","fa-sign-out-alt","me-2"],[1,"divider"],[1,"dropdown-header","border-top"],["target","_blank",1,"dropdown-item","h5","changelog",3,"href"],["aria-hidden","true",1,"fa-solid","fa-sparkles","me-2"],[1,"fa-solid","fa-circle-exclamation","ms-2",2,"font-size","16px"],["target","_blank","href","http://support.dealpos.com",1,"dropdown-item","h5"],["aria-hidden","true",1,"fa-solid","fa-book","me-2"],["target","_blank","href","https://www.dealpos.app/",1,"dropdown-item","h5"],["aria-hidden","true",1,"fa-solid","fa-table-cells-large","me-2"],["target","_blank","href","http://blog.dealpos.com",1,"dropdown-item","h5"],["aria-hidden","true",1,"fa-brands","fa-blogger","me-2"],[1,"sidebar-wrapper"],[1,"nav"],["routerLinkActive","active",3,"routerLinkActiveOptions",4,"ngFor","ngForOf"],["id","full-container",1,"main-panel",3,"ngClass"],[1,"dropdown-item","h5",3,"routerLink"],["aria-hidden","true"],["routerLinkActive","active",3,"routerLinkActiveOptions"],["matTooltipPosition","above",1,"nav-link","position-relative","d-block",3,"matTooltip","routerLink"]],template:function(t,n){t&1&&(o(0,"div",1)(1,"div",2)(2,"button",3),C("click",function(){return n.toggleMenu()}),p(3,"i",4),s(),o(4,"div",5)(5,"div",6)(6,"a",7),C("click",function(){return n.onShowDropdown()}),m(7),ee(8,"limitText"),s(),o(9,"div",8)(10,"div",9),m(11),s(),p(12,"div",10),j(13,Ne,4,4,"a",11),o(14,"a",12)(15,"div",13)(16,"div"),p(17,"i",14),o(18,"span"),m(19,"Chat Support"),s()(),o(20,"div",15),C("click",function(a){return a.stopPropagation()}),o(21,"input",16),C("ngModelChange",function(){return n.chatToggleChange()}),s(),p(22,"label",17),s()()(),o(23,"a",18),C("click",function(){return n.logout()}),p(24,"i",19),o(25,"span"),m(26,"Log Out"),s()(),p(27,"div",20),o(28,"div",21),m(29," Links "),s(),o(30,"a",22),p(31,"i",23),o(32,"span"),m(33,"What's New"),p(34,"i",24),s()(),o(35,"a",25),p(36,"i",26),o(37,"span"),m(38,"Help Center"),s()(),o(39,"a",27),p(40,"i",28),o(41,"span"),m(42,"App Store"),s()(),o(43,"a",29),p(44,"i",30),o(45,"span"),m(46,"Company Blog"),s()()()()(),o(47,"div",31)(48,"ul",32),j(49,Re,6,9,"li",33),s()()(),o(50,"div",34),p(51,"router-outlet"),s()()),t&2&&(W("nav-open",n.isNavOpen),c(),f("ngClass",n.toggleSideMenu?"collapses":""),c(2),f("ngClass",n.toggleSideMenu?"fa-angle-left cursor":"fa-angle-right cursor"),c(3),f("matTooltip",n.accountInfo==null?null:n.accountInfo.BrandName),c(),$(" ",te(8,13,n.accountInfo==null?null:n.accountInfo.BrandName,12)," "),c(4),$("",n.accountInfo==null?null:n.accountInfo.UserName," "),c(2),f("ngForOf",n.topMenu),c(8),f("ngModel",!n.isHideIntercomLauncher),c(9),Z("href","https://changelog.dealpos.com/?categories=cat_gAZdRhBYU7QVl&view=complete&v=",n.appVersion,"",J),c(19),f("ngForOf",n.leftSidebarMenu),c(),f("ngClass",X(16,Le,n.isFullContainer,n.isNotEmpty(n.currentSubStatus)&&n.currentSubStatus!==n.subsStatusEnum.PAID)))},dependencies:[be,ae,se,le,de,me,fe,ie,ne,Me],styles:['.sidebar[_ngcontent-%COMP%] .nav[_ngcontent-%COMP%] li[_ngcontent-%COMP%] .nav-link[_ngcontent-%COMP%], body[_ngcontent-%COMP%] > .navbar-collapse[_ngcontent-%COMP%] .nav[_ngcontent-%COMP%] li[_ngcontent-%COMP%] .nav-link[_ngcontent-%COMP%]{padding:10px 0 10px 10px!important}.sidebar-wrapper[_ngcontent-%COMP%]{max-height:calc(100% - 61px)!important;min-height:calc(100% - 61px)!important}@media (max-width: 991px){.sidebar-wrapper[_ngcontent-%COMP%]{overflow-y:scroll!important}}@media (pointer: coarse){.sidebar-wrapper[_ngcontent-%COMP%]{overflow-y:scroll!important}}@media (max-width: 468px){.navbar[_ngcontent-%COMP%] .navbar-brand[_ngcontent-%COMP%]{white-space:nowrap;max-width:7em;overflow:hidden;text-overflow:ellipsis}}@media only screen and (min-width: 992px){.sidebar[_ngcontent-%COMP%]{z-index:1050!important;transition:all .3s}.sidebar[_ngcontent-%COMP%] .sidebar-wrapper[_ngcontent-%COMP%]{transition:all .3s}.sidebar[_ngcontent-%COMP%] + .main-panel[_ngcontent-%COMP%]{transition:all .3s}.sidebar[_ngcontent-%COMP%] + .main-panel[_ngcontent-%COMP%] .navbar.fixed-top[_ngcontent-%COMP%]{transition:all .3s}.sidebar.collapses[_ngcontent-%COMP%], .sidebar.collapses[_ngcontent-%COMP%] .sidebar-wrapper[_ngcontent-%COMP%]{width:70px;transition:all .3s}.sidebar.collapses[_ngcontent-%COMP%] .logo[_ngcontent-%COMP%] .simple-text[_ngcontent-%COMP%]{background-color:#ffffff3b;border-radius:20px;height:40px;width:40px}.sidebar.collapses[_ngcontent-%COMP%] .nav[_ngcontent-%COMP%] li[_ngcontent-%COMP%] .nav-link[_ngcontent-%COMP%]{padding:10px 0 10px 10px!important;height:50px;text-align:center;margin:10px}.sidebar.collapses[_ngcontent-%COMP%] .nav[_ngcontent-%COMP%] li[_ngcontent-%COMP%] .nav-link[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{display:none}.sidebar.collapses[_ngcontent-%COMP%] + .main-panel[_ngcontent-%COMP%]{padding-left:70px}.sidebar.collapses[_ngcontent-%COMP%] + .main-panel[_ngcontent-%COMP%] .navbar.fixed-top[_ngcontent-%COMP%]{left:70px!important;transition:all .3s}.sidebar[_ngcontent-%COMP%] .btn-minimize[_ngcontent-%COMP%]{position:absolute;top:17px;right:-20px;z-index:7;-webkit-transform:rotate(180deg);-ms-transform:rotate(180deg);transform:rotate(180deg);border-radius:50%;box-shadow:0 0 0 1px #091e4214,0 2px 4px 1px #091e4214;color:#000;cursor:pointer;height:24px;opacity:0;outline:0;width:24px;-webkit-transform-origin:7px;-ms-transform-origin:7px;transform-origin:7px;transition:opacity .5s;-webkit-transition:opacity .5s}.sidebar[_ngcontent-%COMP%] .btn-minimize[_ngcontent-%COMP%]:hover{color:#2996cc}.sidebar[_ngcontent-%COMP%]:hover .btn-minimize[_ngcontent-%COMP%]{opacity:1;background-color:#fff;position:absolute;top:17px;right:-20px;z-index:7;-webkit-transform:rotate(180deg);-ms-transform:rotate(180deg);transform:rotate(180deg);border:0;border-radius:50%;box-shadow:0 0 0 1px #091e4214,0 2px 4px 1px #091e4214;color:#000;cursor:pointer;height:24px;opacity:0;outline:0;padding:0;width:24px;-webkit-transform-origin:7px;-ms-transform-origin:7px;transform-origin:7px;transition:opacity .5s;-webkit-transition:opacity .5s}.sidebar[_ngcontent-%COMP%]:hover .btn-minimize[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{cursor:pointer}.sidebar[_ngcontent-%COMP%]:hover .btn-minimize[_ngcontent-%COMP%]:hover{color:#2996cc}.sidebar[_ngcontent-%COMP%]:hover:hover .btn-minimize[_ngcontent-%COMP%]{opacity:1}}.full-container[_ngcontent-%COMP%]{padding-top:0!important}.changelog[_ngcontent-%COMP%]{color:#0006b1!important}.changelog[_ngcontent-%COMP%]:visited{color:#2e2e2e!important}.changelog[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{position:relative}.changelog[_ngcontent-%COMP%] span[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{color:#fe3a00!important;position:absolute;top:-4px;right:-18px}.changelog[_ngcontent-%COMP%]:visited span[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{color:#fff!important;position:absolute;top:-4px;right:-18px}.changelog[_ngcontent-%COMP%]:visited:hover span[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{color:#e9ecef!important;position:absolute;top:-4px;right:-18px}.subscription-bar-visible[_ngcontent-%COMP%]{padding-top:98px}.checkbox_toggle[_ngcontent-%COMP%]{position:relative}.checkbox_toggle[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{color:#868686;display:inline-block;padding-right:38px}.checkbox_toggle[_ngcontent-%COMP%] label[_ngcontent-%COMP%]{width:23px;height:14px;background-color:#ccc;top:2.2px;right:0}.checkbox_toggle[_ngcontent-%COMP%] input[type=checkbox][_ngcontent-%COMP%]{display:none}.checkbox_toggle[_ngcontent-%COMP%] input[type=checkbox][_ngcontent-%COMP%]:checked + label[_ngcontent-%COMP%]{background-color:#1f77d0}.checkbox_toggle[_ngcontent-%COMP%] input[type=checkbox][_ngcontent-%COMP%]:checked + label[_ngcontent-%COMP%]:after{left:10px}.checkbox_toggle[_ngcontent-%COMP%] label[_ngcontent-%COMP%]:after{content:"";width:12px;height:12px;border-radius:50%;position:absolute;top:.8px;left:1px;transition:all .1s;background-color:#fff}']})};function Ee(e){let i=l(b),t="/menu";e.forEach(a=>t+=`/${a.path}`);let n=i.getCurrentNavigation().extractedUrl.queryParams;return Object.keys(n).forEach((a,g)=>{g==0?t=`${t}?${a}=${n[a]}`:t=`${t}&${a}=${n[a]}`}),t}var O=(e,i)=>{let t=l(h),n=t.isTokenExpired(),u=l(b);return n?(t.returnUrl=Ee(i),u.navigate(["/"]),!1):e.path=="Dashboard"?De():!0};function De(){let e=l(b),i=l(h),t=!1,n=i.getRedirectUrl();return t=n.includes("Dashboard"),t==!1&&e.navigate([n]),t}var L=class e{paymentStorageService=l(Ce);canActivate(i,t){return this.paymentStorageService.clear(),!0}static \u0275fac=function(t){return new(t||e)};static \u0275prov=d({token:e,factory:e.\u0275fac,providedIn:"root"})};var U=class e{reportService=l(Pe);canActivate(i,t){return this.reportService.resetFilter(),!0}static \u0275fac=function(t){return new(t||e)};static \u0275prov=d({token:e,factory:e.\u0275fac,providedIn:"root"})};var je=[{path:"",component:P,children:[{path:"Inventory",loadChildren:()=>import("./chunk-2C6MWHDS.js").then(e=>e.InventoryModule),canLoad:[r]},{path:"Reports",loadChildren:()=>import("./chunk-SQURNPXM.js").then(e=>e.ReportsModule),canLoad:[r],canActivate:[U]},{path:"Sell",loadChildren:()=>import("./chunk-NGZ77ZI3.js").then(e=>e.routes),canLoad:[r]},{path:"Print",loadChildren:()=>import("./chunk-H5ASSFZI.js").then(e=>e.PrintModule),canLoad:[r]},{path:"Buy",loadComponent:()=>import("./chunk-CGLLB7US.js").then(e=>e.BuyV2Component),canMatch:[O]},{path:"Sell/V2",loadComponent:()=>import("./chunk-LMDLCZHL.js").then(e=>e.SellV2Component),canMatch:[O]},{path:"Dashboard",loadComponent:()=>import("./chunk-AMX24G23.js").then(e=>e.DashboardV2Component),canMatch:[O]},{path:"Products",loadChildren:()=>import("./chunk-4CARUV4H.js").then(e=>e.ProductModule),canLoad:[r]},{path:"Shift",loadChildren:()=>import("./chunk-ZPX3JQLX.js").then(e=>e.ShiftModule),canLoad:[r]},{path:"Debt",loadChildren:()=>import("./chunk-PIOHEDRB.js").then(e=>e.DebtModule),canLoad:[r]},{path:"Logistics",loadChildren:()=>import("./chunk-GHKPWAVT.js").then(e=>e.DeliveryModule),canLoad:[r]},{path:"Users",loadChildren:()=>import("./chunk-FQFTJVIA.js").then(e=>e.UsersModule),canLoad:[r]},{path:"Setup",loadChildren:()=>import("./chunk-AW3RJSE6.js").then(e=>e.SetupModule),canLoad:[r]},{path:"Developer",loadChildren:()=>import("./chunk-X5WM5BVA.js").then(e=>e.DeveloperModule),canLoad:[r]},{path:"Contacts",loadChildren:()=>import("./chunk-H7WJLWSG.js").then(e=>e.ContactsModule),canLoad:[r]},{path:"Outlets",loadChildren:()=>import("./chunk-7B7GNMTJ.js").then(e=>e.OutletsModule),canLoad:[r]},{path:"Orders",loadChildren:()=>import("./chunk-4GWH3ZCR.js").then(e=>e.OrdersModule),canLoad:[r]},{path:"Profile",loadChildren:()=>import("./chunk-XGGDC3Z6.js").then(e=>e.ProfileModule),canLoad:[r]},{path:"Estimate",loadComponent:()=>import("./chunk-LWUZB66X.js").then(e=>e.EstimateV2Component),canMatch:[O]},{path:"Adjustment",loadChildren:()=>import("./chunk-NEIYR7P7.js").then(e=>e.AdjustmentModule),canLoad:[r]},{path:"Payment",loadChildren:()=>import("./chunk-BNMCFXUM.js").then(e=>e.PaymentModule),canLoad:[r],canActivate:[L]},{path:"Promotion",loadChildren:()=>import("./chunk-736JCGLJ.js").then(e=>e.PromotionModule),canLoad:[r]},{path:"Manufacture",loadChildren:()=>import("./chunk-VTNMEIUX.js").then(e=>e.ManufactureModule),canLoad:[r]},{path:"Prepaid_Package",loadChildren:()=>import("./chunk-3KUJU5BU.js").then(e=>e.PrepaidPackageModule),canLoad:[r]},{path:"Fulfillment",loadChildren:()=>import("./chunk-C4LUL5KJ.js").then(e=>e.FulfillmentModule),canLoad:[r]},{path:"Unauthorized",loadChildren:()=>import("./chunk-SNB2E7OE.js").then(e=>e.UnauthorizedModule),canLoad:[r]},{path:"Not_Found",loadChildren:()=>import("./chunk-NGB4NIKA.js").then(e=>e.NotFoundModule),canLoad:[r]},{path:"",redirectTo:"/menu/Dashboard",pathMatch:"full"},{path:"**",redirectTo:"Not_Found"}]}],N=class e{static \u0275fac=function(t){return new(t||e)};static \u0275mod=x({type:e});static \u0275inj=y({imports:[B.forChild(je),B]})};var ye=class e{constructor(){}static \u0275fac=function(t){return new(t||e)};static \u0275mod=x({type:e,bootstrap:[P]});static \u0275inj=y({imports:[Se,N,he,re]})};export{ye as MenuMasterModule};
|
|
1
|
+
import{a as Ce}from"./chunk-36RSCYDI.js";import{a as Me}from"./chunk-QWZ5AM3L.js";import{a as Pe}from"./chunk-M24G6C74.js";import{a as ve}from"./chunk-7LXPGNYF.js";import{b as be,c as Se}from"./chunk-XOQ4SW2R.js";import{a as ue}from"./chunk-QTAOV4NJ.js";import"./chunk-GIKR6Y2K.js";import"./chunk-REQUYIUO.js";import{F as he,b as de,h as me,o as fe}from"./chunk-CB33ZMNF.js";import{a as T,c as h}from"./chunk-473FVTPP.js";import{a as ge}from"./chunk-QMCLGLNR.js";import{a as M,d as I}from"./chunk-TKBUOGER.js";import{a as ce}from"./chunk-EVXMHULS.js";import{$ as H,$a as c,Bc as te,E,Ib as o,Jb as s,Kb as p,Nd as oe,Pd as ae,Qb as C,Qd as b,Rb as Q,Rd as se,Sd as le,Td as B,Vb as Z,Vd as pe,Wa as J,Wc as ie,Yc as ne,d as G,da as D,db as v,ec as m,fc as V,gc as $,ja as d,jd as re,ka as y,kb as q,lb as x,ma as _,na as l,qb as j,rc as K,sc as X,ub as Y,vb as f,xb as W,zb as F,zc as ee}from"./chunk-DJOHANFC.js";import"./chunk-7DCB7DB2.js";var r=class e{constructor(i,t){this.authService=i;this.router=t}canLoad(i,t){return this.authService.isTokenExpired()?(this.authService.returnUrl=this.getUrlRedirect(t),this.router.navigate(["/"]),!1):!0}getUrlRedirect(i){let t="/menu";i.forEach(a=>t+=`/${a.path}`);let n=this.router.getCurrentNavigation().extractedUrl.queryParams;return Object.keys(n).forEach((a,g)=>{g==0?t=`${t}?${a}=${n[a]}`:t=`${t}&${a}=${n[a]}`}),t}static \u0275fac=function(t){return new(t||e)(_(h),_(b))};static \u0275prov=d({token:e,factory:e.\u0275fac,providedIn:"root"})};var w=class e{constructor(i){this.toastrService=i;this.initPermissionToastr=!1}isPermissionGranted;initPermissionToastr;initPermission(){try{this.initPermissionToastr||Notification.requestPermission().then(t=>{this.isPermissionGranted=!1,t=="granted"&&(this.isPermissionGranted=!0),this.initPermissionToastr=!0})}catch(i){console.error(i)}}showAlert(i,t,n,u){let a=6e4;if(this.isPermissionGranted)try{let g=new Notification(t,{body:i,icon:u});g.onerror=R=>{this.toastrService.info(this.setBody(i,n),t,{timeOut:a,enableHtml:this.hasUrl(n)})}}catch(g){console.error(g)}else this.toastrService.info(this.setBody(i,n),t,{timeOut:a,enableHtml:this.hasUrl(n)})}setBody(i,t){return this.hasUrl(t)&&(i=`<a href="${t}" target="_blank" class="ps-0">${i}</a>`),i}hasUrl(i){return!!(i&&i.length!==0)}static \u0275fac=function(t){return new(t||e)(_(pe))};static \u0275prov=d({token:e,factory:e.\u0275fac,providedIn:"root"})};var _e=[{T:"Dashboard",U:"/menu/Dashboard",I:"fa-solid fa-chart-pie"},{T:"Products",U:"/menu/Products",I:"fa-solid fa-tag"},{T:"Estimate",U:"/menu/Estimate",I:"fa-solid fa-clipboard"},{T:"Sell",U:"/menu/Sell",I:"fa-solid fa-cart-shopping"},{T:"Shift",U:"/menu/Shift/",I:"fa-solid fa-user-clock"},{T:"Reports",U:"/menu/Reports",I:"fa-solid fa-chart-area"},{T:"Contacts",U:"/menu/Contacts",I:"fas fa-address-book"},{T:"Orders",U:"/menu/Orders",I:"fas fa-file-invoice"},{T:"Payment",U:"/menu/Payment",I:"fas fa-money-bill-alt"},{T:"Debt",U:"/menu/Debt",I:"fas fa-dollar-sign"},{T:"Inventory",U:"/menu/Inventory",I:"fas fa-archive"},{T:"Adjustment",U:"/menu/Adjustment",I:"fas fa-scanner-gun"},{T:"Buy",U:"/menu/Buy",I:"fa-solid fa-cart-arrow-down"},{T:"Logistics",U:"/menu/Logistics",I:"fas fa-truck"},{T:"Fulfillment",U:"/menu/Fulfillment",I:"fas fa-dolly"},{T:"Manufacture",U:"/menu/Manufacture",I:"fas fa-industry"},{T:"Prepaid Package",U:"/menu/Prepaid_Package",I:"fa-solid fa-id-card"},{T:"Promotion",U:"/menu/Promotion",I:"fas fa-bullhorn"},{T:"Users",U:"/menu/Users",I:"fas fa-user"},{T:"Outlets",U:"/menu/Outlets",I:"fas fa-map-marker-alt"},{T:"Setup",U:"/menu/Setup",I:"fas fa-gear"},{T:"Developer",U:"/menu/Developer",I:"fas fa-code"}];var k=class e{role=l(I);authService=l(h);menu=_e;filteredMenu=[];initFilteredMenu(){this.filteredMenu=this.menu.filter(i=>i.T==="Dashboard"?this.role.dashboard.View:i.T==="Products"?this.role.product.View:i.T==="Estimate"?this.role.estimate.Create:i.T==="Sell"?this.role.sell.Create:i.T==="Shift"?this.role.sell.Create:i.T==="Reports"?this.role.report.View:i.T==="Contacts"?this.role.contact.View:i.T==="Orders"?this.role.order.View:i.T==="Payment"?this.role.payment.View:i.T==="Debt"?this.role.debt.View:i.T==="Inventory"?this.role.inventory.View:i.T==="Adjustment"?this.role.adjustment.View:i.T==="Buy"?this.role.buy.Create:i.T==="Logistics"?this.role.logistic.View:i.T==="Manufacture"?this.role.manufacture.View:i.T==="Fulfillment"?this.role.fulfillment.View:i.T==="Prepaid Package"?this.role.prepaidPackage.View:i.T==="Promotion"?this.role.promotion.View:i.T==="Users"?this.role.users.View:i.T==="Outlets"?this.role.outlets.View:i.T==="Setup"?this.role.setup.View:i.T==="Developer"?this.role.developer.View:!0),this.filterBySubscriptionStatus()}filterBySubscriptionStatus(){let i=this.authService.getSubscriptionStatus();this.filteredMenu=this.filteredMenu.filter(t=>{switch(i){case 2:return t.T=="Sell"||t.T=="Shift";case 3:return!1;default:return!0}})}static \u0275fac=function(t){return new(t||e)};static \u0275prov=d({token:e,factory:e.\u0275fac,providedIn:"root"})};var Oe=[{T:"My Profile",U:"Profile/Main/My_Profile",I:"fas fa-user"},{T:"My Subscription",U:"Profile/Main/My_Subscription",I:"fa-solid fa-credit-card"},{T:"Notification",U:"Profile/Notification/Push",I:"fas fa-bell"},{T:"My Sales",U:"Profile/Main/My_Sales",I:"fas fa-history"}];var A=class e{role=l(I);authService=l(h);filteredMenu=[];initFilteredMenu(){let i=this.authService.getSubscriptionStatus();this.filteredMenu=Oe.filter(t=>t.T=="My Profile"?this.role.profile.View:t.T=="My Subscription"?this.role.profile.Subscription:t.T=="Notification"?this.role.profile.Notification&&i!=2&&i!=3:t.T=="My Sales"?i!=2&&i!=3:!0)}static \u0275fac=function(t){return new(t||e)};static \u0275prov=d({token:e,factory:e.\u0275fac,providedIn:"root"})};var Le=(e,i)=>({"full-container":e,"subscription-bar-visible":i}),Ue=e=>[e];function Ne(e,i){if(e&1&&(o(0,"a",35),p(1,"i",36),o(2,"span"),m(3),s()()),e&2){let t=i.$implicit;f("routerLink",t==null?null:t.U),c(),F((t==null?null:t.I)+" me-2"),c(2),V(t==null?null:t.T)}}function Re(e,i){if(e&1&&(o(0,"li",37,0)(2,"a",38),p(3,"i"),o(4,"p"),m(5),s()()()),e&2){let t=i.$implicit,n=Q();f("routerLinkActiveOptions",n.isActiveMatchOptions),Y("data-cy",t==null?null:t.T),c(2),f("matTooltip",n.toggleSideMenu?t==null?null:t.T:"")("routerLink",K(7,Ue,t==null?null:t.U)),c(),F(t==null?null:t.I),c(2),V(t==null?null:t.T)}}var P=class e{constructor(i,t,n,u,a,g,R,z){this.toggleSidebar=i;this.signalRClientService=t;this.notificationAlertService=n;this.router=u;this.authService=a;this.intercomService=g;R.initFilteredMenu(),z.initFilteredMenu(),this.leftSidebarMenu=R.filteredMenu,this.topMenu=z.filteredMenu,this.accountInfo=JSON.parse(localStorage.getItem("AccountInfo")),this.toggleSidebar.toggleState$.subscribe(xe=>this.isNavOpen=xe),this.destroy$=new G,this.initNotificationPermission()}isActiveMatchOptions={matrixParams:"subset",queryParams:"subset",paths:"subset",fragment:"exact"};toggleSideMenu=!1;isNavOpen;destroy$;activeMenu;appVersion=ce.version;currentSubStatus;subsStatusEnum=T;isFullContainer=!1;isHideIntercomLauncher;leftSidebarMenu;topMenu;accountInfo;ngOnInit(){this.subscribeToPushNotification(),this.getCurrentSubscriptionStatus(),this.initFullContainer()}initFullContainer(){this.router.events.pipe(E(i=>i instanceof oe),H(null),D(this.destroy$)).subscribe(i=>{this.isFullContainer=!1,(this.router.url.includes("Sell")&&!this.router.url.includes("v2")&&!this.router.url.includes("Offline")||this.router.url.includes("Buy")||this.router.url.includes("menu/Estimate")||this.router.url.includes("Transfer_Order/Form")||this.router.url.includes("Adjustment/Archive/Form")||this.router.url.includes("Job_Order/Archive/Form")||this.router.url.includes("/menu/Debt/Debt/Join_Invoice/Form")||this.router.url.includes("/menu/Debt/Debt/Join_Bill/New_Join_Bill"))&&(this.isFullContainer=!0)})}initNotificationPermission(){this.notificationAlertService.initPermission()}getCurrentSubscriptionStatus(){this.currentSubStatus=this.authService.getSubscriptionStatus()}subscribeToPushNotification(){let i=localStorage.getItem("NotificationOutletID");M.IsNotEmpty(i)&&M.isGuid(i)?this.signalRClientService.SubscribeGroup(i):this.signalRClientService.startConnection(),this.signalRClientService.OnReceivePushNotification.pipe(D(this.destroy$),E(t=>M.IsNotEmpty(t))).subscribe(t=>{if(M.IsNotEmpty(t)){let n=JSON.parse(t),u="//res.cloudinary.com/pos/image/upload/v1657006791/icons/info-new.png";M.IsNotEmpty(n.Icon)&&(u=n.Icon),this.notificationAlertService.showAlert(n.Body,n.Header,n.URL,u)}})}ngAfterViewInit(){this.intercomService.inititalizeIntercom()}toggleMenu(){this.toggleSideMenu=!this.toggleSideMenu}logout(){this.authService.logout()}isNotEmpty(i){return M.IsNotEmpty(i)}onShowDropdown(){this.isHideIntercomLauncher=this.intercomService.isHideLauncher()}chatToggleChange(){this.isHideIntercomLauncher==!1?this.intercomService.hideLauncher():this.intercomService.showLauncher(),this.onShowDropdown()}ngOnDestroy(){this.destroy$.next(!0),this.destroy$.complete()}static \u0275fac=function(t){return new(t||e)(v(ve),v(ue),v(w),v(b),v(h),v(ge),v(k),v(A))};static \u0275cmp=q({type:e,selectors:[["POS-menu-master"]],standalone:!1,decls:52,vars:19,consts:[["rla","routerLinkActive"],[1,"wrapper"],["data-color","blue",1,"sidebar",3,"ngClass"],[1,"btn-minimize","d-lg-block","d-none","p-0","border-0","bg-white",3,"click"],[1,"fa-solid",3,"ngClass"],[1,"logo"],[1,"navbar","dropdown","bg-transparent","border-0"],["data-cy","companyName","data-bs-toggle","dropdown","aria-expanded","false","matTooltipPosition","above",1,"simple-text","text-start","dropdown-toggle","d-flex","align-items-center","justify-content-center",2,"cursor","pointer",3,"click","matTooltip"],[1,"dropdown-menu"],[1,"dropdown-header","text-dark","border-bottom"],[1,"divider","m-0"],["class","dropdown-item h5",3,"routerLink",4,"ngFor","ngForOf"],[1,"dropdown-item","h5",2,"cursor","pointer"],[1,"d-flex","align-items-center","justify-content-between"],[1,"fa-solid","fa-comment-dots","me-2"],[1,"checkbox_toggle","ms-3",3,"click"],["type","checkbox","id","chatToggle","name","ChatToggle",3,"ngModelChange","ngModel"],["for","chatToggle",1,"position-relative","rounded-pill","pointer"],[1,"dropdown-item","h5",2,"cursor","pointer",3,"click"],["aria-hidden","true",1,"fa-solid","fa-sign-out-alt","me-2"],[1,"divider"],[1,"dropdown-header","border-top"],["target","_blank",1,"dropdown-item","h5","changelog",3,"href"],["aria-hidden","true",1,"fa-solid","fa-sparkles","me-2"],[1,"fa-solid","fa-circle-exclamation","ms-2",2,"font-size","16px"],["target","_blank","href","http://support.dealpos.com",1,"dropdown-item","h5"],["aria-hidden","true",1,"fa-solid","fa-book","me-2"],["target","_blank","href","https://www.dealpos.app/",1,"dropdown-item","h5"],["aria-hidden","true",1,"fa-solid","fa-table-cells-large","me-2"],["target","_blank","href","http://blog.dealpos.com",1,"dropdown-item","h5"],["aria-hidden","true",1,"fa-brands","fa-blogger","me-2"],[1,"sidebar-wrapper"],[1,"nav"],["routerLinkActive","active",3,"routerLinkActiveOptions",4,"ngFor","ngForOf"],["id","full-container",1,"main-panel",3,"ngClass"],[1,"dropdown-item","h5",3,"routerLink"],["aria-hidden","true"],["routerLinkActive","active",3,"routerLinkActiveOptions"],["matTooltipPosition","above",1,"nav-link","position-relative","d-block",3,"matTooltip","routerLink"]],template:function(t,n){t&1&&(o(0,"div",1)(1,"div",2)(2,"button",3),C("click",function(){return n.toggleMenu()}),p(3,"i",4),s(),o(4,"div",5)(5,"div",6)(6,"a",7),C("click",function(){return n.onShowDropdown()}),m(7),ee(8,"limitText"),s(),o(9,"div",8)(10,"div",9),m(11),s(),p(12,"div",10),j(13,Ne,4,4,"a",11),o(14,"a",12)(15,"div",13)(16,"div"),p(17,"i",14),o(18,"span"),m(19,"Chat Support"),s()(),o(20,"div",15),C("click",function(a){return a.stopPropagation()}),o(21,"input",16),C("ngModelChange",function(){return n.chatToggleChange()}),s(),p(22,"label",17),s()()(),o(23,"a",18),C("click",function(){return n.logout()}),p(24,"i",19),o(25,"span"),m(26,"Log Out"),s()(),p(27,"div",20),o(28,"div",21),m(29," Links "),s(),o(30,"a",22),p(31,"i",23),o(32,"span"),m(33,"What's New"),p(34,"i",24),s()(),o(35,"a",25),p(36,"i",26),o(37,"span"),m(38,"Help Center"),s()(),o(39,"a",27),p(40,"i",28),o(41,"span"),m(42,"App Store"),s()(),o(43,"a",29),p(44,"i",30),o(45,"span"),m(46,"Company Blog"),s()()()()(),o(47,"div",31)(48,"ul",32),j(49,Re,6,9,"li",33),s()()(),o(50,"div",34),p(51,"router-outlet"),s()()),t&2&&(W("nav-open",n.isNavOpen),c(),f("ngClass",n.toggleSideMenu?"collapses":""),c(2),f("ngClass",n.toggleSideMenu?"fa-angle-left cursor":"fa-angle-right cursor"),c(3),f("matTooltip",n.accountInfo==null?null:n.accountInfo.BrandName),c(),$(" ",te(8,13,n.accountInfo==null?null:n.accountInfo.BrandName,12)," "),c(4),$("",n.accountInfo==null?null:n.accountInfo.UserName," "),c(2),f("ngForOf",n.topMenu),c(8),f("ngModel",!n.isHideIntercomLauncher),c(9),Z("href","https://changelog.dealpos.com/?categories=cat_gAZdRhBYU7QVl&view=complete&v=",n.appVersion,"",J),c(19),f("ngForOf",n.leftSidebarMenu),c(),f("ngClass",X(16,Le,n.isFullContainer,n.isNotEmpty(n.currentSubStatus)&&n.currentSubStatus!==n.subsStatusEnum.PAID)))},dependencies:[be,ae,se,le,de,me,fe,ie,ne,Me],styles:['.sidebar[_ngcontent-%COMP%] .nav[_ngcontent-%COMP%] li[_ngcontent-%COMP%] .nav-link[_ngcontent-%COMP%], body[_ngcontent-%COMP%] > .navbar-collapse[_ngcontent-%COMP%] .nav[_ngcontent-%COMP%] li[_ngcontent-%COMP%] .nav-link[_ngcontent-%COMP%]{padding:10px 0 10px 10px!important}.sidebar-wrapper[_ngcontent-%COMP%]{max-height:calc(100% - 61px)!important;min-height:calc(100% - 61px)!important}@media (max-width: 991px){.sidebar-wrapper[_ngcontent-%COMP%]{overflow-y:scroll!important}}@media (pointer: coarse){.sidebar-wrapper[_ngcontent-%COMP%]{overflow-y:scroll!important}}@media (max-width: 468px){.navbar[_ngcontent-%COMP%] .navbar-brand[_ngcontent-%COMP%]{white-space:nowrap;max-width:7em;overflow:hidden;text-overflow:ellipsis}}@media only screen and (min-width: 992px){.sidebar[_ngcontent-%COMP%]{z-index:1050!important;transition:all .3s}.sidebar[_ngcontent-%COMP%] .sidebar-wrapper[_ngcontent-%COMP%]{transition:all .3s}.sidebar[_ngcontent-%COMP%] + .main-panel[_ngcontent-%COMP%]{transition:all .3s}.sidebar[_ngcontent-%COMP%] + .main-panel[_ngcontent-%COMP%] .navbar.fixed-top[_ngcontent-%COMP%]{transition:all .3s}.sidebar.collapses[_ngcontent-%COMP%], .sidebar.collapses[_ngcontent-%COMP%] .sidebar-wrapper[_ngcontent-%COMP%]{width:70px;transition:all .3s}.sidebar.collapses[_ngcontent-%COMP%] .logo[_ngcontent-%COMP%] .simple-text[_ngcontent-%COMP%]{background-color:#ffffff3b;border-radius:20px;height:40px;width:40px}.sidebar.collapses[_ngcontent-%COMP%] .nav[_ngcontent-%COMP%] li[_ngcontent-%COMP%] .nav-link[_ngcontent-%COMP%]{padding:10px 0 10px 10px!important;height:50px;text-align:center;margin:10px}.sidebar.collapses[_ngcontent-%COMP%] .nav[_ngcontent-%COMP%] li[_ngcontent-%COMP%] .nav-link[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{display:none}.sidebar.collapses[_ngcontent-%COMP%] + .main-panel[_ngcontent-%COMP%]{padding-left:70px}.sidebar.collapses[_ngcontent-%COMP%] + .main-panel[_ngcontent-%COMP%] .navbar.fixed-top[_ngcontent-%COMP%]{left:70px!important;transition:all .3s}.sidebar[_ngcontent-%COMP%] .btn-minimize[_ngcontent-%COMP%]{position:absolute;top:17px;right:-20px;z-index:7;-webkit-transform:rotate(180deg);-ms-transform:rotate(180deg);transform:rotate(180deg);border-radius:50%;box-shadow:0 0 0 1px #091e4214,0 2px 4px 1px #091e4214;color:#000;cursor:pointer;height:24px;opacity:0;outline:0;width:24px;-webkit-transform-origin:7px;-ms-transform-origin:7px;transform-origin:7px;transition:opacity .5s;-webkit-transition:opacity .5s}.sidebar[_ngcontent-%COMP%] .btn-minimize[_ngcontent-%COMP%]:hover{color:#2996cc}.sidebar[_ngcontent-%COMP%]:hover .btn-minimize[_ngcontent-%COMP%]{opacity:1;background-color:#fff;position:absolute;top:17px;right:-20px;z-index:7;-webkit-transform:rotate(180deg);-ms-transform:rotate(180deg);transform:rotate(180deg);border:0;border-radius:50%;box-shadow:0 0 0 1px #091e4214,0 2px 4px 1px #091e4214;color:#000;cursor:pointer;height:24px;opacity:0;outline:0;padding:0;width:24px;-webkit-transform-origin:7px;-ms-transform-origin:7px;transform-origin:7px;transition:opacity .5s;-webkit-transition:opacity .5s}.sidebar[_ngcontent-%COMP%]:hover .btn-minimize[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{cursor:pointer}.sidebar[_ngcontent-%COMP%]:hover .btn-minimize[_ngcontent-%COMP%]:hover{color:#2996cc}.sidebar[_ngcontent-%COMP%]:hover:hover .btn-minimize[_ngcontent-%COMP%]{opacity:1}}.full-container[_ngcontent-%COMP%]{padding-top:0!important}.changelog[_ngcontent-%COMP%]{color:#0006b1!important}.changelog[_ngcontent-%COMP%]:visited{color:#2e2e2e!important}.changelog[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{position:relative}.changelog[_ngcontent-%COMP%] span[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{color:#fe3a00!important;position:absolute;top:-4px;right:-18px}.changelog[_ngcontent-%COMP%]:visited span[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{color:#fff!important;position:absolute;top:-4px;right:-18px}.changelog[_ngcontent-%COMP%]:visited:hover span[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{color:#e9ecef!important;position:absolute;top:-4px;right:-18px}.subscription-bar-visible[_ngcontent-%COMP%]{padding-top:98px}.checkbox_toggle[_ngcontent-%COMP%]{position:relative}.checkbox_toggle[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{color:#868686;display:inline-block;padding-right:38px}.checkbox_toggle[_ngcontent-%COMP%] label[_ngcontent-%COMP%]{width:23px;height:14px;background-color:#ccc;top:2.2px;right:0}.checkbox_toggle[_ngcontent-%COMP%] input[type=checkbox][_ngcontent-%COMP%]{display:none}.checkbox_toggle[_ngcontent-%COMP%] input[type=checkbox][_ngcontent-%COMP%]:checked + label[_ngcontent-%COMP%]{background-color:#1f77d0}.checkbox_toggle[_ngcontent-%COMP%] input[type=checkbox][_ngcontent-%COMP%]:checked + label[_ngcontent-%COMP%]:after{left:10px}.checkbox_toggle[_ngcontent-%COMP%] label[_ngcontent-%COMP%]:after{content:"";width:12px;height:12px;border-radius:50%;position:absolute;top:.8px;left:1px;transition:all .1s;background-color:#fff}']})};function Ee(e){let i=l(b),t="/menu";e.forEach(a=>t+=`/${a.path}`);let n=i.getCurrentNavigation().extractedUrl.queryParams;return Object.keys(n).forEach((a,g)=>{g==0?t=`${t}?${a}=${n[a]}`:t=`${t}&${a}=${n[a]}`}),t}var O=(e,i)=>{let t=l(h),n=t.isTokenExpired(),u=l(b);return n?(t.returnUrl=Ee(i),u.navigate(["/"]),!1):e.path=="Dashboard"?De():!0};function De(){let e=l(b),i=l(h),t=!1,n=i.getRedirectUrl();return t=n.includes("Dashboard"),t==!1&&e.navigate([n]),t}var L=class e{paymentStorageService=l(Ce);canActivate(i,t){return this.paymentStorageService.clear(),!0}static \u0275fac=function(t){return new(t||e)};static \u0275prov=d({token:e,factory:e.\u0275fac,providedIn:"root"})};var U=class e{reportService=l(Pe);canActivate(i,t){return this.reportService.resetFilter(),!0}static \u0275fac=function(t){return new(t||e)};static \u0275prov=d({token:e,factory:e.\u0275fac,providedIn:"root"})};var je=[{path:"",component:P,children:[{path:"Inventory",loadChildren:()=>import("./chunk-BZY5WYGN.js").then(e=>e.InventoryModule),canLoad:[r]},{path:"Reports",loadChildren:()=>import("./chunk-5SWKPDLG.js").then(e=>e.ReportsModule),canLoad:[r],canActivate:[U]},{path:"Sell",loadChildren:()=>import("./chunk-Y2XNBH64.js").then(e=>e.routes),canLoad:[r]},{path:"Print",loadChildren:()=>import("./chunk-OQABAMLZ.js").then(e=>e.PrintModule),canLoad:[r]},{path:"Buy",loadComponent:()=>import("./chunk-P74V2E4B.js").then(e=>e.BuyV2Component),canMatch:[O]},{path:"Sell/V2",loadComponent:()=>import("./chunk-3WK2KXRV.js").then(e=>e.SellV2Component),canMatch:[O]},{path:"Dashboard",loadComponent:()=>import("./chunk-EIIIFOPI.js").then(e=>e.DashboardV2Component),canMatch:[O]},{path:"Products",loadChildren:()=>import("./chunk-LOOAI7QV.js").then(e=>e.ProductModule),canLoad:[r]},{path:"Shift",loadChildren:()=>import("./chunk-PZVW2B3A.js").then(e=>e.ShiftModule),canLoad:[r]},{path:"Debt",loadChildren:()=>import("./chunk-LL5JZI2L.js").then(e=>e.DebtModule),canLoad:[r]},{path:"Logistics",loadChildren:()=>import("./chunk-RA3DDH4S.js").then(e=>e.DeliveryModule),canLoad:[r]},{path:"Users",loadChildren:()=>import("./chunk-KEYOSYRP.js").then(e=>e.UsersModule),canLoad:[r]},{path:"Setup",loadChildren:()=>import("./chunk-YTUAP6TP.js").then(e=>e.SetupModule),canLoad:[r]},{path:"Developer",loadChildren:()=>import("./chunk-35KDSBX6.js").then(e=>e.DeveloperModule),canLoad:[r]},{path:"Contacts",loadChildren:()=>import("./chunk-RSPANR5I.js").then(e=>e.ContactsModule),canLoad:[r]},{path:"Outlets",loadChildren:()=>import("./chunk-ZGRWIAQ2.js").then(e=>e.OutletsModule),canLoad:[r]},{path:"Orders",loadChildren:()=>import("./chunk-72ELHSCV.js").then(e=>e.OrdersModule),canLoad:[r]},{path:"Profile",loadChildren:()=>import("./chunk-GKJIHA2W.js").then(e=>e.ProfileModule),canLoad:[r]},{path:"Estimate",loadComponent:()=>import("./chunk-G7VXLE7P.js").then(e=>e.EstimateV2Component),canMatch:[O]},{path:"Adjustment",loadChildren:()=>import("./chunk-KQI2NIA5.js").then(e=>e.AdjustmentModule),canLoad:[r]},{path:"Payment",loadChildren:()=>import("./chunk-DSMI2L5T.js").then(e=>e.PaymentModule),canLoad:[r],canActivate:[L]},{path:"Promotion",loadChildren:()=>import("./chunk-V6OEZRUP.js").then(e=>e.PromotionModule),canLoad:[r]},{path:"Manufacture",loadChildren:()=>import("./chunk-HDDWNOWD.js").then(e=>e.ManufactureModule),canLoad:[r]},{path:"Prepaid_Package",loadChildren:()=>import("./chunk-YCGOXELE.js").then(e=>e.PrepaidPackageModule),canLoad:[r]},{path:"Fulfillment",loadChildren:()=>import("./chunk-M6GBM6JE.js").then(e=>e.FulfillmentModule),canLoad:[r]},{path:"Unauthorized",loadChildren:()=>import("./chunk-NOLZQTM4.js").then(e=>e.UnauthorizedModule),canLoad:[r]},{path:"Not_Found",loadChildren:()=>import("./chunk-V5YVPSDN.js").then(e=>e.NotFoundModule),canLoad:[r]},{path:"",redirectTo:"/menu/Dashboard",pathMatch:"full"},{path:"**",redirectTo:"Not_Found"}]}],N=class e{static \u0275fac=function(t){return new(t||e)};static \u0275mod=x({type:e});static \u0275inj=y({imports:[B.forChild(je),B]})};var ye=class e{constructor(){}static \u0275fac=function(t){return new(t||e)};static \u0275mod=x({type:e,bootstrap:[P]});static \u0275inj=y({imports:[Se,N,he,re]})};export{ye as MenuMasterModule};
|