dealpos 26.34.0 → 26.34.50
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-77B5VTEY.js → chunk-22QIJBFT.js} +1 -1
- package/browser/{chunk-JATJNKS5.js → chunk-2F7KZZBQ.js} +1 -1
- package/browser/chunk-2FHNR5H2.js +1 -0
- package/browser/{chunk-YPK2NZOX.js → chunk-2KB7PWTK.js} +1 -1
- package/browser/{chunk-L6LVX24R.js → chunk-2NWAKRXT.js} +1 -1
- package/browser/{chunk-NT3CD4FJ.js → chunk-2OEVSEUD.js} +1 -1
- package/browser/{chunk-K6TI2SAO.js → chunk-2QLK4ALR.js} +1 -1
- package/browser/{chunk-NB3SST6K.js → chunk-2UVSCMKZ.js} +1 -1
- package/browser/chunk-3APSQ3EL.js +1 -0
- package/browser/chunk-3GBRXCMR.js +1 -0
- package/browser/{chunk-F73ERLJR.js → chunk-3IMY7VQP.js} +1 -1
- package/browser/{chunk-MHAHPBTM.js → chunk-3KSE3K6Q.js} +1 -1
- package/browser/{chunk-QFGAHSFN.js → chunk-3LW5ONLC.js} +1 -1
- package/browser/{chunk-YLKEPYFF.js → chunk-3QD2FY3I.js} +1 -1
- package/browser/{chunk-2DBBLG6D.js → chunk-3T5PJQNQ.js} +1 -1
- package/browser/{chunk-ZD6GJKYE.js → chunk-3TKG5AOV.js} +1 -1
- package/browser/{chunk-JLVFPWD5.js → chunk-3YDTV742.js} +1 -1
- package/browser/{chunk-6CW55ZMK.js → chunk-43G7QM63.js} +1 -1
- package/browser/chunk-447VGGKO.js +1 -0
- package/browser/{chunk-PISME4IC.js → chunk-453CD2GB.js} +1 -1
- package/browser/{chunk-2QGC7OBV.js → chunk-46URYII4.js} +2 -2
- package/browser/{chunk-VKEUSILH.js → chunk-4EA2QRAL.js} +1 -1
- package/browser/chunk-4FSHQLDB.js +1 -0
- package/browser/{chunk-FZION52N.js → chunk-4V4WDXU2.js} +1 -1
- package/browser/{chunk-NRO23IIB.js → chunk-4YGM4JKY.js} +1 -1
- package/browser/chunk-55I5MDRZ.js +1 -0
- package/browser/{chunk-P7IUXZRS.js → chunk-56FQWQUP.js} +1 -1
- package/browser/chunk-5CNGMZOH.js +1 -0
- package/browser/{chunk-IO3KXPQJ.js → chunk-5F34LWYW.js} +1 -1
- package/browser/{chunk-CJIJFRMY.js → chunk-5IBNBBML.js} +1 -1
- package/browser/chunk-5IPMF2C4.js +1 -0
- package/browser/{chunk-D4T4VHJB.js → chunk-5IYMQN5W.js} +1 -1
- package/browser/{chunk-X6YLB6XJ.js → chunk-5KDG7MQM.js} +1 -1
- package/browser/{chunk-HLFD5GXE.js → chunk-5ORLD6EZ.js} +1 -1
- package/browser/{chunk-PF7YRPMK.js → chunk-5P3EBZG5.js} +1 -1
- package/browser/chunk-5PW7WUUQ.js +1 -0
- package/browser/{chunk-EPAWNX6I.js → chunk-5ZNQE5TO.js} +1 -1
- package/browser/chunk-62N2H6EP.js +1 -0
- package/browser/{chunk-PHLDVLOT.js → chunk-63KXUIAX.js} +1 -1
- package/browser/{chunk-L7J462FI.js → chunk-65NGIM3F.js} +1 -1
- package/browser/{chunk-7EWFX4XB.js → chunk-67TENIWQ.js} +1 -1
- package/browser/{chunk-WIK4TZNX.js → chunk-6AT47FYZ.js} +1 -1
- package/browser/{chunk-OQGBLRIB.js → chunk-6B26OWWQ.js} +1 -1
- package/browser/{chunk-CQM5NRFE.js → chunk-6BORWSA6.js} +1 -1
- package/browser/{chunk-RWCJABSR.js → chunk-6CTNPC7M.js} +1 -1
- package/browser/{chunk-ESDNZZCV.js → chunk-6DLCMZ6T.js} +1 -1
- package/browser/chunk-6N5FEZF5.js +1 -0
- package/browser/{chunk-CIUQDVIW.js → chunk-6N77I4OS.js} +1 -1
- package/browser/{chunk-LFOV6B2E.js → chunk-6Q3G5RRG.js} +1 -1
- package/browser/{chunk-VEIIHAZC.js → chunk-6SKIOU7U.js} +1 -1
- package/browser/chunk-6TCXJK4F.js +1 -0
- package/browser/{chunk-KMLPRIFB.js → chunk-6WAYH2OP.js} +1 -1
- package/browser/{chunk-6WU3WQMH.js → chunk-732MADJ3.js} +1 -1
- package/browser/{chunk-ZAN7BTPZ.js → chunk-7EYHJG3O.js} +1 -1
- package/browser/{chunk-ALWBMWZA.js → chunk-7K6C5CQW.js} +1 -1
- package/browser/{chunk-YGCGJLGT.js → chunk-7M4AGBVA.js} +1 -1
- package/browser/{chunk-4ACTJQRN.js → chunk-7MCFNTVN.js} +1 -1
- package/browser/{chunk-NYJAAT2H.js → chunk-7MVKNRBR.js} +1 -1
- package/browser/{chunk-SU7SMJWA.js → chunk-7QTAKCUB.js} +1 -1
- package/browser/chunk-7RFOTCBL.js +57 -0
- package/browser/{chunk-VQWGL535.js → chunk-7RKBQNTO.js} +1 -1
- package/browser/{chunk-IVB7IRPI.js → chunk-7T2LU37B.js} +1 -1
- package/browser/{chunk-V753BTPL.js → chunk-7TKSHACA.js} +1 -1
- package/browser/{chunk-5WEGGY7K.js → chunk-7VTFFGG2.js} +1 -1
- package/browser/chunk-7W3Y7VIJ.js +1 -0
- package/browser/{chunk-3GEOW44K.js → chunk-7YBIV4K5.js} +1 -1
- package/browser/{chunk-TVF5WSZ3.js → chunk-7ZY57RR2.js} +1 -1
- package/browser/{chunk-5QQBII3Q.js → chunk-A5C4BIHD.js} +1 -1
- package/browser/{chunk-SNYR7ZLE.js → chunk-A76KHYX6.js} +1 -1
- package/browser/{chunk-L2EY4IQM.js → chunk-AAXY6ODV.js} +1 -1
- package/browser/{chunk-MGQAOIYS.js → chunk-AGWZRLGB.js} +1 -1
- package/browser/chunk-AHK5RBJW.js +1 -0
- package/browser/chunk-ALH2JPOZ.js +1 -0
- package/browser/chunk-AN77J6Q5.js +1 -0
- package/browser/chunk-ARRXBP5U.js +1 -0
- package/browser/{chunk-OICPWHBE.js → chunk-ATR75CQA.js} +1 -1
- package/browser/{chunk-6HAO7FHW.js → chunk-AUCTFIHK.js} +1 -1
- package/browser/{chunk-HT7WRRRC.js → chunk-AUYG4PJ6.js} +1 -1
- package/browser/chunk-AW2AGRKR.js +1 -0
- package/browser/chunk-B227YYCQ.js +106 -0
- package/browser/{chunk-WK5DMQOG.js → chunk-B2DF7JTL.js} +1 -1
- package/browser/{chunk-HQHLRVXV.js → chunk-B42LUPX5.js} +1 -1
- package/browser/{chunk-GEZMMUZZ.js → chunk-B4DBRHTI.js} +1 -1
- package/browser/{chunk-IUQ4QX3D.js → chunk-B4OM3QW4.js} +1 -1
- package/browser/chunk-BBLWK3OC.js +1 -0
- package/browser/{chunk-PV3RIURQ.js → chunk-BDWMQKQP.js} +1 -1
- package/browser/{chunk-R44QXR63.js → chunk-BG4LR34Y.js} +1 -1
- package/browser/chunk-BHYV5KOD.js +1 -0
- package/browser/{chunk-PKLL2VUK.js → chunk-BJU2SIDD.js} +1 -1
- package/browser/{chunk-E4CX4KGW.js → chunk-BKSYGR6U.js} +2 -2
- package/browser/chunk-BUTFQ43B.js +216 -0
- package/browser/{chunk-6KR56SBQ.js → chunk-C5LO2BFM.js} +1 -1
- package/browser/{chunk-P3G6E5NB.js → chunk-C6RO7UB6.js} +1 -1
- package/browser/{chunk-QPE7FBDW.js → chunk-CBTVMSAO.js} +1 -1
- package/browser/{chunk-QYVLBMOX.js → chunk-COUS3BOC.js} +1 -1
- package/browser/{chunk-3K4YTVTK.js → chunk-CW7AYYTO.js} +1 -1
- package/browser/chunk-CXQXQNRG.js +2 -0
- package/browser/chunk-CZ4D3CGF.js +11 -0
- package/browser/{chunk-YILLGIFP.js → chunk-D2RYYRFL.js} +1 -1
- package/browser/{chunk-Q6C7CXDN.js → chunk-D44DHD4Z.js} +1 -1
- package/browser/{chunk-QGODPAMX.js → chunk-D6LXYGZ4.js} +1 -1
- package/browser/{chunk-O4AFNUYQ.js → chunk-DB237FRB.js} +1 -1
- package/browser/chunk-DBD5AC44.js +1 -0
- package/browser/{chunk-VXKAELIW.js → chunk-DBEO4KRX.js} +1 -1
- package/browser/{chunk-FMN6CZAX.js → chunk-DCMF67Y6.js} +1 -1
- package/browser/{chunk-2HZPAPNJ.js → chunk-DDM4AJ5W.js} +1 -1
- package/browser/chunk-DFSDMNKR.js +1 -0
- package/browser/{chunk-PNLMRTPK.js → chunk-DHIS3QSM.js} +1 -1
- package/browser/{chunk-5FOSDRT2.js → chunk-DJXVAHRZ.js} +1 -1
- package/browser/{chunk-RC7DSC5L.js → chunk-DLMFDHVE.js} +1 -1
- package/browser/{chunk-JQTAWCP7.js → chunk-DMS3LB53.js} +1 -1
- package/browser/{chunk-I3VN25XW.js → chunk-DSVTARFL.js} +1 -1
- package/browser/{chunk-LFSG3DBR.js → chunk-DUKZEV2X.js} +1 -1
- package/browser/chunk-DWESIDTM.js +1 -0
- package/browser/chunk-DZUUYVYY.js +1 -0
- package/browser/{chunk-6M57MPC5.js → chunk-E2QICZB2.js} +1 -1
- package/browser/chunk-E6LLDJ6V.js +1 -0
- package/browser/{chunk-ZDTZBYMW.js → chunk-EGTCOFED.js} +1 -1
- package/browser/{chunk-7PYC6NA7.js → chunk-EI2Q27OG.js} +1 -1
- package/browser/chunk-ENE2K4SE.js +149 -0
- package/browser/{chunk-PKA2YBWQ.js → chunk-EO6PYBA2.js} +1 -1
- package/browser/{chunk-RYAJANOD.js → chunk-EPUKE2LN.js} +1 -1
- package/browser/{chunk-C7OXYN2X.js → chunk-EVOMMNG4.js} +1 -1
- package/browser/chunk-EW2MRZFT.js +1 -0
- package/browser/{chunk-CXFPGQEQ.js → chunk-EXHXBF4O.js} +1 -1
- package/browser/{chunk-5OILEOCC.js → chunk-FGQOFQC2.js} +1 -1
- package/browser/{chunk-FLNBVBFV.js → chunk-FLPACNCE.js} +1 -1
- package/browser/{chunk-MPBTKIIG.js → chunk-FR7SCHHE.js} +1 -1
- package/browser/{chunk-YKWJJMSX.js → chunk-FSFBI74K.js} +1 -1
- package/browser/chunk-G4EWP7T4.js +1 -0
- package/browser/{chunk-73D2A2M6.js → chunk-G5DAWROD.js} +1 -1
- package/browser/{chunk-RROYF7V7.js → chunk-G7PU5UAV.js} +1 -1
- package/browser/{chunk-XDSOLQIF.js → chunk-GDH44UJW.js} +1 -1
- package/browser/{chunk-G2RIVW3B.js → chunk-GEAPD2GY.js} +1 -1
- package/browser/{chunk-GPDQXA5R.js → chunk-GFBF2YZ6.js} +1 -1
- package/browser/chunk-GSKZW67V.js +2 -0
- package/browser/{chunk-BCM5Q3YM.js → chunk-GU73TXC3.js} +1 -1
- package/browser/{chunk-GIWWDL7A.js → chunk-GXDVZABG.js} +1 -1
- package/browser/chunk-H3CWU4PM.js +1 -0
- package/browser/{chunk-TTJX5HGK.js → chunk-HCYTXZ5W.js} +1 -1
- package/browser/chunk-HFWYGVFY.js +1 -0
- package/browser/{chunk-H2BSORHO.js → chunk-HH4GA5HP.js} +1 -1
- package/browser/{chunk-SNGR6DNU.js → chunk-HPCBI72U.js} +1 -1
- package/browser/chunk-HPGDUC2I.js +1 -0
- package/browser/chunk-HQDRQXYL.js +1 -0
- package/browser/{chunk-RJ2JHVQR.js → chunk-HVLWQWDG.js} +1 -1
- package/browser/{chunk-IZNYQ464.js → chunk-HVVCA7ML.js} +1 -1
- package/browser/{chunk-VHU3TYCK.js → chunk-HWU7QNUA.js} +1 -1
- package/browser/{chunk-ILZ4JH2Z.js → chunk-HWWEML7Y.js} +1 -1
- package/browser/{chunk-44EJI6A7.js → chunk-HYLXXK3U.js} +1 -1
- package/browser/{chunk-Q6JJINVO.js → chunk-HZUIWLPC.js} +1 -1
- package/browser/chunk-IC4PAONM.js +1 -0
- package/browser/chunk-IDLN5VU7.js +1 -0
- package/browser/{chunk-FPTMOFHU.js → chunk-ILSFAXUS.js} +1 -1
- package/browser/{chunk-POVBY4VZ.js → chunk-IMWO7Z3Y.js} +1 -1
- package/browser/chunk-IN4HKJRR.js +1 -0
- package/browser/{chunk-UNQYK64E.js → chunk-IQMIK7JD.js} +1 -1
- package/browser/chunk-IRAFJJOG.js +1 -0
- package/browser/{chunk-UGTEDA45.js → chunk-ITG36PKM.js} +1 -1
- package/browser/{chunk-R746IYUS.js → chunk-IZCUHEJR.js} +1 -1
- package/browser/{chunk-A77TI7PX.js → chunk-JARCRQXD.js} +1 -1
- package/browser/{chunk-77JPECDL.js → chunk-JC65TUJ5.js} +2 -2
- package/browser/{chunk-SOUE2BBG.js → chunk-JHHOID44.js} +1 -1
- package/browser/{chunk-IE7MDXIH.js → chunk-JKUX52MU.js} +1 -1
- package/browser/{chunk-CWCFOXYW.js → chunk-JLZKKQMV.js} +1 -1
- package/browser/{chunk-5KHYCW2C.js → chunk-JTA624MR.js} +1 -1
- package/browser/{chunk-WEOFPH6V.js → chunk-JUDVF3KA.js} +1 -1
- package/browser/{chunk-PLT74VWN.js → chunk-JUGJCYIH.js} +1 -1
- package/browser/chunk-K2WO4457.js +1 -0
- package/browser/chunk-K3VWGHFE.js +218 -0
- package/browser/chunk-K6B4NXR6.js +1 -0
- package/browser/{chunk-N5C5ZHMO.js → chunk-KNB7T7FZ.js} +1 -1
- package/browser/{chunk-3DHMAISV.js → chunk-L2B4W5UQ.js} +1 -1
- package/browser/{chunk-ZUN3LMBK.js → chunk-L4O5N7CB.js} +1 -1
- package/browser/{chunk-WKY5AZSI.js → chunk-L5XNJS3B.js} +1 -1
- package/browser/{chunk-CZDWVZQ7.js → chunk-L65VE4ZY.js} +1 -1
- package/browser/{chunk-TDSO6AO3.js → chunk-L7MG2DTL.js} +1 -1
- package/browser/{chunk-XAWOFSQP.js → chunk-LA52TV3N.js} +1 -1
- package/browser/{chunk-HW42E6Q3.js → chunk-LBSWNV55.js} +3 -3
- package/browser/chunk-LGIF2MHJ.js +1 -0
- package/browser/chunk-LHGZNLNL.js +1 -0
- package/browser/chunk-LI3F3CIW.js +1 -0
- package/browser/{chunk-N6ZKSHLO.js → chunk-LJ5DRMVJ.js} +1 -1
- package/browser/{chunk-IUUNN5TF.js → chunk-LJSWE6HK.js} +1 -1
- package/browser/{chunk-HB7436B2.js → chunk-LP276D6X.js} +1 -1
- package/browser/{chunk-SMZJXUMJ.js → chunk-LSM5ZY23.js} +1 -1
- package/browser/{chunk-44KERJRQ.js → chunk-LT7DCGX6.js} +1 -1
- package/browser/{chunk-M7VH4SSC.js → chunk-LWPIQ6W4.js} +1 -1
- package/browser/{chunk-AECGWU7H.js → chunk-LZO6ISMY.js} +1 -1
- package/browser/{chunk-TA7MCO76.js → chunk-M5SYFBDG.js} +1 -1
- package/browser/{chunk-GENU4R7S.js → chunk-MAQHFOMI.js} +1 -1
- package/browser/{chunk-ZDMAE2CW.js → chunk-MCZ5QVWD.js} +1 -1
- package/browser/{chunk-H2FBYMOF.js → chunk-ML6DPPHS.js} +1 -1
- package/browser/{chunk-RZ4WHN74.js → chunk-MNV62FMP.js} +1 -1
- package/browser/{chunk-6TSWY4U7.js → chunk-MNZYLEQU.js} +1 -1
- package/browser/{chunk-G2U3WDX4.js → chunk-MOCI3CFK.js} +1 -1
- package/browser/{chunk-VBD2SO5Q.js → chunk-MRISYCO3.js} +1 -1
- package/browser/{chunk-BWPOZS6P.js → chunk-MVCIIAEV.js} +1 -1
- package/browser/chunk-MVZATUQD.js +1 -0
- package/browser/chunk-MWAF6S4P.js +11 -0
- package/browser/chunk-MYPR7WVE.js +1 -0
- package/browser/{chunk-FVZ323D5.js → chunk-N5VO24L2.js} +1 -1
- package/browser/{chunk-IOC7LZWL.js → chunk-NDPVLOOD.js} +1 -1
- package/browser/{chunk-PCTBALVK.js → chunk-NFKY7RUZ.js} +1 -1
- package/browser/{chunk-Z3W63F6G.js → chunk-NFZWRCG7.js} +1 -1
- package/browser/{chunk-WGF2DWRU.js → chunk-NH56FAHA.js} +1 -1
- package/browser/{chunk-MDB3IOJI.js → chunk-NK3GO5AO.js} +1 -1
- package/browser/{chunk-J5CX7YIL.js → chunk-NL6JK6F2.js} +1 -1
- package/browser/{chunk-3X2MGE4S.js → chunk-NQGDL3EO.js} +1 -1
- package/browser/chunk-NQKL7EW6.js +1 -0
- package/browser/{chunk-ESRDT4O4.js → chunk-NSLL5AAZ.js} +1 -1
- package/browser/chunk-NSWZDGCA.js +2 -0
- package/browser/chunk-NWDTLEE4.js +1 -0
- package/browser/{chunk-SE73OGQM.js → chunk-NZFPGRBB.js} +1 -1
- package/browser/{chunk-6ETDOI74.js → chunk-O7YC5GON.js} +1 -1
- package/browser/chunk-OA377BLK.js +1 -0
- package/browser/{chunk-QCK47TNY.js → chunk-OC4DT5KZ.js} +1 -1
- package/browser/{chunk-UPYSVEUF.js → chunk-OHENX3GP.js} +1 -1
- package/browser/{chunk-RHKK37ZL.js → chunk-OJRAYIOC.js} +1 -1
- package/browser/{chunk-DQ2UI33P.js → chunk-OJSVXBC3.js} +1 -1
- package/browser/{chunk-3YGAS427.js → chunk-OL4YEE5E.js} +1 -1
- package/browser/{chunk-RBT7RUCH.js → chunk-OVVLMMLF.js} +1 -1
- package/browser/{chunk-QZAPILAF.js → chunk-P3FDGJ63.js} +1 -1
- package/browser/{chunk-OOP6XLKQ.js → chunk-P7WNCSM7.js} +1 -1
- package/browser/{chunk-LLJHI4JF.js → chunk-PBG3OYMR.js} +2 -2
- package/browser/{chunk-JHZ3R74W.js → chunk-PERJAD42.js} +1 -1
- package/browser/{chunk-N4LSUTY7.js → chunk-PFAGVLDW.js} +1 -1
- package/browser/{chunk-33HBIRT7.js → chunk-PFPW6CKZ.js} +1 -1
- package/browser/{chunk-HQTDTWOM.js → chunk-PFUUYSMT.js} +1 -1
- package/browser/{chunk-NKB2XKGV.js → chunk-PFYYDARX.js} +1 -1
- package/browser/{chunk-NPIPEDNF.js → chunk-PK4SVM2F.js} +1 -1
- package/browser/{chunk-YXHYKK5D.js → chunk-PMTYI64P.js} +1 -1
- package/browser/{chunk-C3UME2MF.js → chunk-PQMTSGFA.js} +1 -1
- package/browser/{chunk-U7MSEY2J.js → chunk-PRJRTH5V.js} +1 -1
- package/browser/{chunk-N2GXBBJZ.js → chunk-PSTQQ3BG.js} +1 -1
- package/browser/{chunk-YRKWFXQW.js → chunk-PUP6QKJ7.js} +1 -1
- package/browser/{chunk-O4P6BMXT.js → chunk-PX6BB7IG.js} +1 -1
- package/browser/chunk-PZHPOXGM.js +1 -0
- package/browser/{chunk-X6Z7MJUZ.js → chunk-Q3OWCGSJ.js} +1 -1
- package/browser/{chunk-UJYQL2A7.js → chunk-Q5TEHIA3.js} +1 -1
- package/browser/{chunk-V2QCJIGY.js → chunk-Q5WOFWLC.js} +1 -1
- package/browser/chunk-Q7R72WOI.js +1 -0
- package/browser/{chunk-UJW36IT2.js → chunk-QAT324RA.js} +1 -1
- package/browser/chunk-QBMANGZA.js +1 -0
- package/browser/{chunk-QWEZYZJ6.js → chunk-QC5IBQ6K.js} +2 -2
- package/browser/chunk-QCQEYXET.js +1 -0
- package/browser/{chunk-KLISU3L3.js → chunk-QEFSVDT5.js} +1 -1
- package/browser/{chunk-VUKHME3G.js → chunk-QGD6NBZ5.js} +1 -1
- package/browser/chunk-QH67R6UZ.js +1 -0
- package/browser/{chunk-JH3TWY45.js → chunk-QKYSTJL6.js} +1 -1
- package/browser/{chunk-IPQ3Z2BQ.js → chunk-QOGCB24B.js} +1 -1
- package/browser/{chunk-FWGQZF34.js → chunk-QOUAHAGW.js} +1 -1
- package/browser/{chunk-VKQVNDWA.js → chunk-QXHPRUBR.js} +4 -4
- package/browser/{chunk-AZCFNO4M.js → chunk-QZFN6EZD.js} +1 -1
- package/browser/{chunk-O4GJ266W.js → chunk-R5D7GSWE.js} +1 -1
- package/browser/{chunk-JDS3Z45B.js → chunk-RBM2CMB6.js} +1 -1
- package/browser/{chunk-5UX75GPD.js → chunk-REF3QZ36.js} +1 -1
- package/browser/chunk-RFIMKXPO.js +1 -0
- package/browser/{chunk-XT24FW6I.js → chunk-RG4UOQVM.js} +1 -1
- package/browser/chunk-RHPURPCP.js +1 -0
- package/browser/{chunk-EPA44ZP7.js → chunk-RJYQW26Q.js} +1 -1
- package/browser/{chunk-M6Y6AXOF.js → chunk-RRTMGXQ6.js} +1 -1
- package/browser/{chunk-PJIKAPQ4.js → chunk-RWSTH5QT.js} +1 -1
- package/browser/{chunk-XWSBJNQW.js → chunk-S46HMYD3.js} +1 -1
- package/browser/{chunk-KTHJFSOM.js → chunk-S7ZGXV2D.js} +1 -1
- package/browser/{chunk-L2JJOSI2.js → chunk-SBGN4AFJ.js} +1 -1
- package/browser/{chunk-C42HDD4H.js → chunk-SCY42TYL.js} +1 -1
- package/browser/chunk-SE7EFHGK.js +1 -0
- package/browser/{chunk-4SMZIBY2.js → chunk-SEGZCOMR.js} +1 -1
- package/browser/{chunk-CJWXR46O.js → chunk-SFPWSQ7E.js} +1 -1
- package/browser/{chunk-E35IXUKA.js → chunk-SG7J27F2.js} +1 -1
- package/browser/{chunk-RBZXSFIF.js → chunk-SHGRKH6G.js} +1 -1
- package/browser/{chunk-WRZ7ADKJ.js → chunk-SKJBOEO2.js} +1 -1
- package/browser/{chunk-B4JLXIEC.js → chunk-SNGGQISW.js} +4 -4
- package/browser/chunk-SRSSDWLH.js +28 -0
- package/browser/chunk-SWEE6SIW.js +1 -0
- package/browser/{chunk-WQGZI7RH.js → chunk-T3HNAKXU.js} +1 -1
- package/browser/chunk-T6E2PBKF.js +1 -0
- package/browser/chunk-TD63ZHBZ.js +1 -0
- package/browser/{chunk-ZLNE5WE4.js → chunk-TFXHZ3MP.js} +1 -1
- package/browser/{chunk-E6U74EMI.js → chunk-TGNAXOEB.js} +1 -1
- package/browser/chunk-TI3AGVT3.js +18 -0
- package/browser/chunk-TMYBZXVC.js +190 -0
- package/browser/{chunk-2QP5NONI.js → chunk-TOSIAKSZ.js} +1 -1
- package/browser/{chunk-IWLV5CMF.js → chunk-TOUNLHR5.js} +1 -1
- package/browser/{chunk-KVCJEMUC.js → chunk-TQVY6ADZ.js} +1 -1
- package/browser/{chunk-FMYGTACV.js → chunk-TTSU36AE.js} +8 -8
- package/browser/chunk-TUJQTVKA.js +1 -0
- package/browser/chunk-TWTMVN6O.js +1 -0
- package/browser/{chunk-72ABUURB.js → chunk-U3YDUBQY.js} +1 -1
- package/browser/{chunk-LR4XVEWO.js → chunk-U5WZDFRA.js} +1 -1
- package/browser/{chunk-YIPEM4BI.js → chunk-UDQLWUH5.js} +1 -1
- package/browser/{chunk-BX7X32XY.js → chunk-UEFUBUBI.js} +1 -1
- package/browser/{chunk-WDZXE6BD.js → chunk-UHGAFGV3.js} +1 -1
- package/browser/{chunk-NO72KA52.js → chunk-UHRLZYRE.js} +1 -1
- package/browser/{chunk-DNMX2IC4.js → chunk-UHXW46KZ.js} +1 -1
- package/browser/{chunk-2IT5IWPU.js → chunk-UJULBYX5.js} +1 -1
- package/browser/chunk-UKZAME2M.js +1 -0
- package/browser/{chunk-2RLPB7SD.js → chunk-ULGCIT3T.js} +1 -1
- package/browser/{chunk-QVWLAQVN.js → chunk-UPWKEEUY.js} +1 -1
- package/browser/{chunk-IY6JVHXQ.js → chunk-URMKUHDP.js} +1 -1
- package/browser/chunk-UXQ2ULGO.js +1 -0
- package/browser/{chunk-LAE6SMHK.js → chunk-V2VGYS72.js} +1 -1
- package/browser/{chunk-6B47WAG6.js → chunk-V32E5PHC.js} +1 -1
- package/browser/{chunk-2S2JSIPZ.js → chunk-VDT72Z6D.js} +1 -1
- package/browser/{chunk-DU7NID63.js → chunk-VJWZZPEI.js} +1 -1
- package/browser/chunk-VM4J7CVL.js +1 -0
- package/browser/{chunk-MTUBHLOV.js → chunk-VR7TSKSX.js} +1 -1
- package/browser/chunk-VTUHVKHM.js +37 -0
- package/browser/{chunk-52FL62MG.js → chunk-VV66OW4S.js} +1 -1
- package/browser/{chunk-JD4PB5II.js → chunk-VY37JHMN.js} +1 -1
- package/browser/{chunk-GWY7SM4J.js → chunk-VY5LQV2O.js} +1 -1
- package/browser/{chunk-LKAKGYXU.js → chunk-VZP5RDDT.js} +1 -1
- package/browser/{chunk-RHRTIX7N.js → chunk-W5EUCAUG.js} +2 -2
- package/browser/chunk-WMISRWUK.js +1 -0
- package/browser/{chunk-D3YG67GM.js → chunk-WMXGRHYG.js} +1 -1
- package/browser/{chunk-UGZHR6TH.js → chunk-WT5VEXX4.js} +1 -1
- package/browser/chunk-WV7KUILK.js +1 -0
- package/browser/{chunk-NLPCJ6S7.js → chunk-WW7BJXRD.js} +1 -1
- package/browser/{chunk-AS6L7ERX.js → chunk-X3KQMPWV.js} +1 -1
- package/browser/chunk-X57U7UOP.js +1 -0
- package/browser/{chunk-6XUSPJPG.js → chunk-X5JXWDY4.js} +1 -1
- package/browser/{chunk-E6HRLULV.js → chunk-X7PYX457.js} +1 -1
- package/browser/chunk-XAVJJLWV.js +1 -0
- package/browser/{chunk-KVGQTIPW.js → chunk-XB5DYRF3.js} +1 -1
- package/browser/chunk-XDLYOB56.js +3 -0
- package/browser/chunk-XEY4DVV6.js +1 -0
- package/browser/chunk-XFBD4EZF.js +1 -0
- package/browser/{chunk-5QKCGJTV.js → chunk-XSBZBBVE.js} +1 -1
- package/browser/{chunk-PI5K5AGU.js → chunk-XUH6LKCM.js} +1 -1
- package/browser/chunk-XVQEGXF7.js +1 -0
- package/browser/{chunk-H3HLCMIY.js → chunk-XXCNXIPQ.js} +1 -1
- package/browser/{chunk-UJQL4AGT.js → chunk-XYW3YLDE.js} +1 -1
- package/browser/{chunk-JJCP4MEQ.js → chunk-XZPZ6O3Q.js} +1 -1
- package/browser/chunk-Y5KRA53X.js +1 -0
- package/browser/{chunk-H7X7XY54.js → chunk-YCJS263H.js} +1 -1
- package/browser/{chunk-FZK4CVWY.js → chunk-YH5XTWBB.js} +1 -1
- package/browser/{chunk-7D52CDIZ.js → chunk-YPQEXWB4.js} +1 -1
- package/browser/{chunk-QIVOWCL6.js → chunk-YW44BON3.js} +1 -1
- package/browser/chunk-YZTNXMNL.js +4 -0
- package/browser/{chunk-GNNUO3MJ.js → chunk-YZUBRNYH.js} +1 -1
- package/browser/{chunk-XNFLW7C2.js → chunk-ZANECT5J.js} +1 -1
- package/browser/{chunk-LCK25PGG.js → chunk-ZAWDCRD4.js} +1 -1
- package/browser/{chunk-TD5WRHZB.js → chunk-ZCBK3VYK.js} +1 -1
- package/browser/{chunk-3T3OJ3Y5.js → chunk-ZCHZEVTH.js} +1 -1
- package/browser/{chunk-LV7FC6IH.js → chunk-ZD4OZMGZ.js} +1 -1
- package/browser/{chunk-VOJLWM2C.js → chunk-ZDEUH7UQ.js} +1 -1
- package/browser/{chunk-LBJMDQID.js → chunk-ZHHDCODE.js} +1 -1
- package/browser/{chunk-LHIDT6E7.js → chunk-ZK5RB5DW.js} +1 -1
- package/browser/{chunk-3AN3L5MI.js → chunk-ZLZYFK3L.js} +1 -1
- package/browser/{chunk-56EEOGR3.js → chunk-ZMCXWLET.js} +1 -1
- package/browser/{chunk-PZ32564R.js → chunk-ZNPTJE3D.js} +1 -1
- package/browser/chunk-ZOSNMLHG.js +1 -0
- package/browser/{chunk-TMZMLQC6.js → chunk-ZPSY5LRS.js} +1 -1
- package/browser/{chunk-FO6CC7UB.js → chunk-ZWA22C4U.js} +1 -1
- package/browser/{chunk-6GEZ2KMC.js → chunk-ZYVGSHM6.js} +1 -1
- package/browser/index.html +103 -49
- package/browser/main-SJ2SEIPD.js +289 -0
- package/browser/ngsw-worker.js +2289 -0
- package/browser/ngsw.json +958 -0
- package/browser/safety-worker.js +30 -0
- package/browser/worker-basic.min.js +30 -0
- package/package.json +1 -1
- package/browser/chunk-2J4SAKNE.js +0 -1
- package/browser/chunk-2SU2UTKP.js +0 -1
- package/browser/chunk-2V5PV2SU.js +0 -1
- package/browser/chunk-3EZKRDVP.js +0 -1
- package/browser/chunk-3KCZL4RZ.js +0 -1
- package/browser/chunk-3T67UJ3B.js +0 -2
- package/browser/chunk-3UAB4UVQ.js +0 -1
- package/browser/chunk-3VXKHFLQ.js +0 -1
- package/browser/chunk-4CUBGAGC.js +0 -1
- package/browser/chunk-55MOB6SX.js +0 -1
- package/browser/chunk-5JT4HUU4.js +0 -11
- package/browser/chunk-5PHA4WZQ.js +0 -1
- package/browser/chunk-5T4NR6TZ.js +0 -1
- package/browser/chunk-62HMS4Z2.js +0 -1
- package/browser/chunk-6DVTXVTX.js +0 -57
- package/browser/chunk-6T4W24RO.js +0 -1
- package/browser/chunk-6XKP4GLN.js +0 -1
- package/browser/chunk-76S7KNUA.js +0 -1
- package/browser/chunk-7IWRU5BC.js +0 -190
- package/browser/chunk-7OIHTQ43.js +0 -1
- package/browser/chunk-AX3UQF7I.js +0 -1
- package/browser/chunk-AYDGLKEY.js +0 -1
- package/browser/chunk-B3QRHNPO.js +0 -37
- package/browser/chunk-BF24AMNA.js +0 -1
- package/browser/chunk-BMSUBRBS.js +0 -1
- package/browser/chunk-BN7VHFSY.js +0 -1
- package/browser/chunk-BQLGA2UG.js +0 -1
- package/browser/chunk-BY2YV5PB.js +0 -1
- package/browser/chunk-CV7GVY6I.js +0 -1
- package/browser/chunk-D6BLXBMN.js +0 -1
- package/browser/chunk-DK6ONJHH.js +0 -1
- package/browser/chunk-E2R4RGWU.js +0 -1
- package/browser/chunk-E3DPZZGV.js +0 -1
- package/browser/chunk-EFIIHBBK.js +0 -1
- package/browser/chunk-FKGWWSUB.js +0 -1
- package/browser/chunk-FOBV2D7L.js +0 -1
- package/browser/chunk-FWOGUFIF.js +0 -1
- package/browser/chunk-GBBUYTCB.js +0 -1
- package/browser/chunk-GTWWG777.js +0 -1
- package/browser/chunk-HFJ3MIPU.js +0 -1
- package/browser/chunk-HRERBE7G.js +0 -18
- package/browser/chunk-HUNPKK63.js +0 -1
- package/browser/chunk-IEMARA32.js +0 -28
- package/browser/chunk-IKUZPBZJ.js +0 -1
- package/browser/chunk-IMDCGH2M.js +0 -11
- package/browser/chunk-JH3HOQAI.js +0 -1
- package/browser/chunk-JYYOVXPU.js +0 -218
- package/browser/chunk-K4GA7MPU.js +0 -1
- package/browser/chunk-KL5YC6M2.js +0 -1
- package/browser/chunk-LB2ZADXF.js +0 -2
- package/browser/chunk-LNPJ2D7B.js +0 -1
- package/browser/chunk-LP47HRBI.js +0 -1
- package/browser/chunk-LP4N3PCE.js +0 -1
- package/browser/chunk-LSCGSKNB.js +0 -1
- package/browser/chunk-MFMXF74M.js +0 -1
- package/browser/chunk-MTK526VJ.js +0 -1
- package/browser/chunk-MUJIB3R2.js +0 -1
- package/browser/chunk-MZC6RWX7.js +0 -1
- package/browser/chunk-NBVEREBF.js +0 -106
- package/browser/chunk-O7TAVMX7.js +0 -1
- package/browser/chunk-OKLDTC6C.js +0 -1
- package/browser/chunk-PM4IPGLK.js +0 -1
- package/browser/chunk-Q5CPICKQ.js +0 -1
- package/browser/chunk-QHSP67RW.js +0 -159
- package/browser/chunk-QKI7GH7V.js +0 -2
- package/browser/chunk-RIMMMOSN.js +0 -1
- package/browser/chunk-RKWWWBIJ.js +0 -1
- package/browser/chunk-SWZOVP4A.js +0 -1
- package/browser/chunk-TC3E4PC4.js +0 -1
- package/browser/chunk-TCOXFW5B.js +0 -4
- package/browser/chunk-TG2U46IT.js +0 -1
- package/browser/chunk-U6LVI7D4.js +0 -1
- package/browser/chunk-UFGJZR4N.js +0 -1
- package/browser/chunk-USKO2BDP.js +0 -1
- package/browser/chunk-VDBQXOPS.js +0 -1
- package/browser/chunk-VIZSMAH4.js +0 -3
- package/browser/chunk-VJLGDMNZ.js +0 -1
- package/browser/chunk-VZBGCU6W.js +0 -149
- package/browser/chunk-WEFCC4HB.js +0 -1
- package/browser/chunk-WRYOETK7.js +0 -1
- package/browser/chunk-XGQMF47D.js +0 -1
- package/browser/chunk-XPA7VCIR.js +0 -1
- package/browser/chunk-XS4YRZDR.js +0 -1
- package/browser/chunk-Y55O2G4X.js +0 -1
- package/browser/chunk-YSYXPIMB.js +0 -1
- package/browser/main-Y3ULTVY6.js +0 -289
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as M}from"./chunk-
|
|
1
|
+
import{a as M}from"./chunk-QZFN6EZD.js";import{a as y,b as D}from"./chunk-UPWKEEUY.js";import"./chunk-L2B4W5UQ.js";import"./chunk-XZPZ6O3Q.js";import"./chunk-NL6JK6F2.js";import"./chunk-PRJRTH5V.js";import"./chunk-ZNPTJE3D.js";import"./chunk-B227YYCQ.js";import"./chunk-PPMQE2JW.js";import"./chunk-BUTFQ43B.js";import"./chunk-5IYMQN5W.js";import"./chunk-DJXVAHRZ.js";import"./chunk-TOSIAKSZ.js";import"./chunk-S7ZGXV2D.js";import"./chunk-VR7TSKSX.js";import{F as b,h as C,p as h}from"./chunk-DUKZEV2X.js";import"./chunk-GEAPD2GY.js";import"./chunk-Q3OWCGSJ.js";import{Fb as m,Gb as p,Ha as i,Hb as l,Wa as r,fb as d,kb as s,oc as f,pc as g,qc as c,yd as u}from"./chunk-QXHPRUBR.js";import"./chunk-NF7PG5F2.js";var I=class o extends D{static \u0275fac=(()=>{let n;return function(e){return(n||(n=i(o)))(e||o)}})();static \u0275cmp=d({type:o,selectors:[["POS-dashboard"]],features:[s],decls:4,vars:4,consts:[["cardTitle","General","id","dashboardGeneral"],[1,"row"],[1,"col-12"],[3,"ngModelChange","label","description","defaultConfig","ngModel"]],template:function(t,e){t&1&&(p(0,"POS-card",0)(1,"div",1)(2,"div",2)(3,"POS-input-toggle",3),c("ngModelChange",function(a){return g(e.formData().IndexHint,a)||(e.formData().IndexHint=a),a}),l()()()()),t&2&&(r(3),m("label","Index Hint")("description","Use specific index for dashboard query")("defaultConfig",e.configDefault().IndexHint),f("ngModel",e.formData().IndexHint))},dependencies:[y,u,M,b,C,h],encapsulation:2})};export{I as DashboardComponent};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{Bc as L,
|
|
1
|
+
import{$b as V,Ab as g,Bc as x,Dc as L,Fb as C,Gb as l,Hb as d,Ib as y,Ob as T,Pa as M,Rb as u,Ub as p,Uc as f,Vc as O,Wa as a,Wb as r,Xb as S,Yb as b,Zb as E,ac as H,fb as k,fc as F,gc as B,ic as h,jc as j,kc as I,lb as P,qd as N,ta as c,ua as m,yb as s}from"./chunk-QXHPRUBR.js";var W=["modalContent"],K=[[["header"]],[["content"]],[["footer"]]],Q=["header","content","footer"],R=(e,i)=>({bodyScrollable:e,hideScrollbar:i}),z=(e,i,t,o)=>({"bg-success":e,"bg-warning":i,"bg-info":t,"bg-danger":o}),q=(e,i)=>({"show-footer":e,"p-0":i});function A(e,i){if(e&1){let t=u();l(0,"div",8),p("click",function(){c(t);let n=r();return m(n.onBack.emit(!1))}),l(1,"a",9),y(2,"i",10),d()()}}function G(e,i){if(e&1){let t=u();l(0,"div")(1,"a",11),p("click",function(){c(t);let n=r();return m(n.onClose.emit(""))}),y(2,"i",12),d()()}}function J(e,i){e&1&&T(0)}function U(e,i){if(e&1){let t=u();l(0,"a",15),p("click",function(){c(t);let n=r(2);return m(n.onCancel.emit(""))}),d()}if(e&2){let t=r(2);C("innerHTML",t.config!=null&&t.config.cancelText?t.config==null?null:t.config.cancelText:"Cancel",M)}}function X(e,i){if(e&1){let t=u();l(0,"button",16),p("click",function(){c(t);let n=r(2);return m(n.onOk.emit(""))})("keyup.F2",function(){c(t);let n=r(2);return m(n.onOk.emit(""))}),d()}if(e&2){let t=r(2);C("disabled",!(t.config!=null&&t.config.validated)||!t.dynamicValidated())("innerHTML",t.config!=null&&t.config.okText?t.config==null?null:t.config.okText:"Ok (F2)",M)}}function Y(e,i){if(e&1&&(l(0,"mat-dialog-actions",7),b(1,2),s(2,U,1,1,"a",13),s(3,X,1,2,"button",14),d()),e&2){let t=r();a(2),g(t.config!=null&&t.config.hideCancel?-1:2),a(),g(t.config!=null&&t.config.hideOk?-1:3)}}var D={Success:"Success",Info:"Info",Warning:"Warning",Error:"Error"},w=class{constructor(){this.title="New Modal",this.okText="Ok (F2)",this.cancelText="Cancel",this.hideFooter=!1,this.hideCancel=!1,this.hideOk=!1,this.hideClose=!1,this.backButton=!1,this.headerType=D.Success,this.validated=!0,this.customWidth="initial",this.bodyScrollable=!1,this.hideScrollbar=!1,this.disableKeyup=!1,this.noPadding=!1}},ln=(()=>{class e{constructor(){this.dynamicValidated=O(!0),this.preventEnterEvent=O(!1),this.onOk=f(),this.onCancel=f(),this.onClose=f(),this.onBack=f(),this.headerType=D}ngOnInit(){this.config==null&&(this.config=new w)}onKeyup(t){this.config?.disableKeyup||(t.code=="F2"&&this.onOk.emit("F2"),(t.code=="Enter"&&!this.preventEnterEvent()||t.code=="NumpadEnter")&&this.onOk.emit("Enter"))}static{this.\u0275fac=function(o){return new(o||e)}}static{this.\u0275cmp=k({type:e,selectors:[["modal-material"]],contentQueries:function(o,n,v){if(o&1&&E(v,W,5),o&2){let _;V(_=H())&&(n.modalContent=_.first)}},inputs:{config:"config",dynamicValidated:[1,"dynamicValidated"],preventEnterEvent:[1,"preventEnterEvent"]},outputs:{onOk:"onOk",onCancel:"onCancel",onClose:"onClose",onBack:"onBack"},ngContentSelectors:Q,decls:12,vars:26,consts:[["id","modal_material",1,"modal-material","d-flex","align-items-start","flex-column","position-relative","maxHeight",3,"keyup"],["mat-dialog-title","",1,"d-flex","w-100","justify-content-between","modal-header","position-relative"],[1,"back-button","position-absolute","pointer","d-print-none"],[1,"d-flex","flex-row","d-print-none","align-items-center"],[1,"fw-normal"],[1,"modal-body","w-100"],[4,"ngTemplateOutlet"],[1,"w-100","py-7","border-top","d-flex","justify-content-end","d-print-none"],[1,"back-button","position-absolute","pointer","d-print-none",3,"click"],[1,"btn","back-button"],[1,"fa-solid","fa-arrow-left"],[1,"btn-light-blue","btn-sm","pointer","close",3,"click"],[1,"fa-solid","fa-xmark","fa-lg","text-primary"],[1,"btn","btn-light-blue","text-primary","btn-lg","fw-bold","mx-3",3,"innerHTML"],["data-cy","btn-ok",1,"btn","btn-light-blue","me-6","text-primary","btn-lg","fw-bold","mx-3",3,"disabled","innerHTML"],[1,"btn","btn-light-blue","text-primary","btn-lg","fw-bold","mx-3",3,"click","innerHTML"],["data-cy","btn-ok",1,"btn","btn-light-blue","me-6","text-primary","btn-lg","fw-bold","mx-3",3,"click","keyup.F2","disabled","innerHTML"]],template:function(o,n){o&1&&(S(K),l(0,"div",0),p("keyup",function(_){return n.onKeyup(_)}),l(1,"div",1),s(2,A,3,0,"div",2),l(3,"div",3)(4,"h4",4),j(5),d(),b(6),d(),s(7,G,3,0,"div"),d(),l(8,"mat-dialog-content",5),b(9,1),P(10,J,1,0,"ng-container",6),d(),s(11,Y,4,2,"mat-dialog-actions",7),d()),o&2&&(h(x(15,R,n.config==null?null:n.config.bodyScrollable,n.config==null?null:n.config.hideScrollbar)),F("width",n.config==null?null:n.config.customWidth),a(),h(L(18,z,n.headerType.Success==(n.config==null?null:n.config.headerType),n.headerType.Warning==(n.config==null?null:n.config.headerType),n.headerType.Info==(n.config==null?null:n.config.headerType),n.headerType.Error==(n.config==null?null:n.config.headerType))),a(),g(n.config!=null&&n.config.backButton?2:-1),a(),B("mx-auto",n.config==null?null:n.config.backButton),a(2),I(n.config==null?null:n.config.title),a(2),g(n.config!=null&&n.config.hideClose?-1:7),a(),h(x(23,q,!(n.config!=null&&n.config.hideFooter),n.config==null?null:n.config.noPadding)),a(2),C("ngTemplateOutlet",n.modalContent),a(),g(n.config!=null&&n.config.hideFooter?-1:11))},dependencies:[N],styles:[".mat-mdc-dialog-container{padding:0!important;border-radius:4px!important;overflow:visible!important} .mat-mdc-dialog-container [mat-dialog-title]{color:#fff;padding:15px;border:none}@media print{ .mat-mdc-dialog-container{box-shadow:unset;width:100vw}}@media print{ .cdk-overlay-pane{position:absolute!important;top:-30px;max-width:100vw!important}.modal-body[_ngcontent-%COMP%]{width:100vw!important}}body.modal-body[_ngcontent-%COMP%]{height:100%}mat-dialog-actions[_ngcontent-%COMP%]{bottom:15px}mat-dialog-actions[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{padding:15px!important;margin-right:12px}mat-dialog-actions[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{padding:15px!important}mat-dialog-actions[_ngcontent-%COMP%] .more[_ngcontent-%COMP%]{margin-right:auto;margin-top:-1rem;padding-top:.4rem!important;margin-left:1rem}.back-button[_ngcontent-%COMP%]{top:5px;left:0}.close[_ngcontent-%COMP%]{padding:.4rem .5rem}.no-padding[_ngcontent-%COMP%]{padding:0}.modal-material[_ngcontent-%COMP%]{width:40vw}@media(max-width:992px){.modal-material[_ngcontent-%COMP%]{width:50vw!important}}@media(max-width:576px){ .dialog-filter .modal-material, .column-toggle .modal-material{width:100%!important} .dialog-filter mat-dialog-actions, .column-toggle mat-dialog-actions{position:sticky;bottom:0;background:#fff} .dialog-filter .modal-material.d-flex.align-items-start.flex-column.position-relative.maxHeight.bodyScrollable.maxHeight.bodyScrollable .modal-body, .column-toggle .modal-material.d-flex.align-items-start.flex-column.position-relative.maxHeight.bodyScrollable.maxHeight.bodyScrollable .modal-body{max-height:100%!important;overflow-y:auto}}.maxHeight.bodyScrollable[_ngcontent-%COMP%] .modal-body[_ngcontent-%COMP%]{max-height:70vh;overflow-y:auto}.maxHeight.hideScrollbar[_ngcontent-%COMP%] .modal-body[_ngcontent-%COMP%]{overflow-y:hidden}.modal-header[_ngcontent-%COMP%], .modal-footer[_ngcontent-%COMP%], .modal-footer[_ngcontent-%COMP%] .btn[_ngcontent-%COMP%]{padding:15px}.modal-dialog[_ngcontent-%COMP%]{max-width:none}.modal-content[_ngcontent-%COMP%]{width:auto;margin:auto;max-width:850px}.maxHeight[_ngcontent-%COMP%] .modal-body[_ngcontent-%COMP%]{max-height:70vh;overflow:auto}.modal-body[_ngcontent-%COMP%]{padding:1rem}.modal-body[_ngcontent-%COMP%] strong[_ngcontent-%COMP%]{display:block}.modal-body[_ngcontent-%COMP%] .more[_ngcontent-%COMP%]{margin:0;position:absolute;bottom:-20px}.modal-body[_ngcontent-%COMP%] input[type=text][_ngcontent-%COMP%], .modal-body[_ngcontent-%COMP%] textarea[_ngcontent-%COMP%], .modal-body[_ngcontent-%COMP%] input[type=password][_ngcontent-%COMP%]{border:1px solid #c8d3df;padding:5px 7px}.modal-body[_ngcontent-%COMP%] table[_ngcontent-%COMP%] textarea[_ngcontent-%COMP%]{width:330px;height:90px}"]})}}return e})();export{D as a,w as b,ln as c};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{fa as o}from"./chunk-QXHPRUBR.js";function b(e="emit"){return r=>r.pipe(o(n=>console.log(`${e}`,n)))}export{b as a};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as M}from"./chunk-
|
|
1
|
+
import{a as M}from"./chunk-JC65TUJ5.js";import{a as D}from"./chunk-U5WZDFRA.js";import{a as S,b as h}from"./chunk-UPWKEEUY.js";import"./chunk-L2B4W5UQ.js";import"./chunk-FR7SCHHE.js";import"./chunk-3T5PJQNQ.js";import"./chunk-S46HMYD3.js";import"./chunk-EPUKE2LN.js";import"./chunk-VY5LQV2O.js";import"./chunk-5IBNBBML.js";import"./chunk-B227YYCQ.js";import"./chunk-PPMQE2JW.js";import"./chunk-JUGJCYIH.js";import"./chunk-XSBZBBVE.js";import"./chunk-BUTFQ43B.js";import"./chunk-X5JXWDY4.js";import"./chunk-G7PU5UAV.js";import"./chunk-5IYMQN5W.js";import"./chunk-DJXVAHRZ.js";import"./chunk-TOSIAKSZ.js";import"./chunk-S7ZGXV2D.js";import"./chunk-VR7TSKSX.js";import{F as C,h as O,p as _}from"./chunk-DUKZEV2X.js";import"./chunk-GEAPD2GY.js";import"./chunk-PPTZHIIZ.js";import"./chunk-Q3OWCGSJ.js";import{Fb as i,Gb as a,Ha as y,Hb as n,Wa as r,fb as g,kb as u,oc as o,pc as l,qc as d}from"./chunk-QXHPRUBR.js";import"./chunk-NF7PG5F2.js";var P=class m extends h{static \u0275fac=(()=>{let s;return function(t){return(s||(s=y(m)))(t||m)}})();static \u0275cmp=g({type:m,selectors:[["POS-others"]],features:[u],decls:22,vars:35,consts:[["cardTitle","Header","id","headerOthers"],[1,"row"],[1,"col-6"],[3,"ngModelChange","label","tooltip","type","ngModel"],["cardTitle","Modified Header Label","id","modifiedHeaderLabelOthers"],["cardTitle","Order","id","orderOthers"],[1,"col-12"],[3,"ngModelChange","label","options","keyLabel","keyValue","ngModel","defaultConfig","description"]],template:function(f,t){f&1&&(a(0,"POS-card",0)(1,"div",1)(2,"div",2)(3,"POS-input-field",3),d("ngModelChange",function(e){return l(t.formData().Header.EstimateTitle,e)||(t.formData().Header.EstimateTitle=e),e}),n()(),a(4,"div",2)(5,"POS-input-field",3),d("ngModelChange",function(e){return l(t.formData().Header.SalesOrderTitle,e)||(t.formData().Header.SalesOrderTitle=e),e}),n()(),a(6,"div",2)(7,"POS-input-field",3),d("ngModelChange",function(e){return l(t.formData().Header.SalesReturnTitle,e)||(t.formData().Header.SalesReturnTitle=e),e}),n()(),a(8,"div",2)(9,"POS-input-field",3),d("ngModelChange",function(e){return l(t.formData().Header.WorkOrderTitle,e)||(t.formData().Header.WorkOrderTitle=e),e}),n()(),a(10,"div",2)(11,"POS-input-field",3),d("ngModelChange",function(e){return l(t.formData().Header.PackingReceiptTitle,e)||(t.formData().Header.PackingReceiptTitle=e),e}),n()()()(),a(12,"POS-card",4)(13,"div",1)(14,"div",2)(15,"POS-input-field",3),d("ngModelChange",function(e){return l(t.formData().Modified.WorkOrder,e)||(t.formData().Modified.WorkOrder=e),e}),n()(),a(16,"div",2)(17,"POS-input-field",3),d("ngModelChange",function(e){return l(t.formData().Modified.CustomerDelivery,e)||(t.formData().Modified.CustomerDelivery=e),e}),n()()()(),a(18,"POS-card",5)(19,"div",1)(20,"div",6)(21,"POS-button-group",7),d("ngModelChange",function(e){return l(t.formData().OrderCartDisplayedField,e)||(t.formData().OrderCartDisplayedField=e),e}),n()()()()),f&2&&(r(3),i("label","Estimate")("tooltip","Default Label on Estimate Print Header")("type","text"),o("ngModel",t.formData().Header.EstimateTitle),r(2),i("label","Sales Order")("tooltip","Default Label on Sales Order Print Header")("type","text"),o("ngModel",t.formData().Header.SalesOrderTitle),r(2),i("label","Sales Return")("tooltip","Default Label on Sales Return Print Header")("type","text"),o("ngModel",t.formData().Header.SalesReturnTitle),r(2),i("label","Work Order")("tooltip","Default Label on Work Order Print Header")("type","text"),o("ngModel",t.formData().Header.WorkOrderTitle),r(2),i("label","Packing Receipt")("tooltip","Default Label on Packing Receipt Print Header")("type","text"),o("ngModel",t.formData().Header.PackingReceiptTitle),r(4),i("label","Work Order")("tooltip","Default Label on Work Order Slip Print Header")("type","text"),o("ngModel",t.formData().Modified.WorkOrder),r(2),i("label","Outbound Logistics")("tooltip","Default Label on Outbound Logistics")("type","text"),o("ngModel",t.formData().Modified.CustomerDelivery),r(4),i("label","Cart Displayed Field")("options",t.options().OrderCartDisplayedField)("keyLabel","Value")("keyValue","Key"),o("ngModel",t.formData().OrderCartDisplayedField),i("defaultConfig",t.configDefault().OrderCartDisplayedField)("description","Show variant Name or Variant Model in LXA4"))},dependencies:[S,D,M,C,O,_],encapsulation:2})};export{P as OthersComponent};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as f}from"./chunk-PPTZHIIZ.js";import{
|
|
1
|
+
import{a as f}from"./chunk-PPTZHIIZ.js";import{Ia as h,Ub as g,Vc as m,ab as o,bb as a,hb as c}from"./chunk-QXHPRUBR.js";var p=class d{constructor(e,n){this.el=e;this.renderer=n}el;renderer;linkTarget="_blank";brokenImageIconFailSafeClass="broken-image-placeholder";redirectUrl=null;redirectOnClickBrokenImage=m(!0);initialWidth=null;initialHeight=null;ngOnInit(){let e=this.el.nativeElement;this.initialWidth=e.style.width||e.getAttribute("width"),this.initialHeight=e.style.height||e.getAttribute("height"),!this.initialWidth&&e.clientWidth>0&&(this.initialWidth=`${e.clientWidth}px`),!this.initialHeight&&e.clientHeight>0&&(this.initialHeight=`${e.clientHeight}px`)}onError(){let e=this.el.nativeElement,n=this.renderer.parentNode(e),l=e.getAttribute("src");if(n){let t=this.renderer.createElement("a");if(this.brokenImageIconFailSafeClass.split(" ").filter(r=>r.trim()!=="").forEach(r=>{this.renderer.addClass(t,r)}),f.IsNotEmpty(l)){let r=this.renderer.createElement("i");this.renderer.addClass(r,"fa-solid"),this.renderer.addClass(r,"fa-image-slash"),this.renderer.setAttribute(r,"title","Broken Image");let s;if(this.redirectUrl){let i=this.renderer.createElement("a");this.renderer.setAttribute(i,"href",this.redirectUrl),this.renderer.setAttribute(i,"target",this.linkTarget),this.renderer.setAttribute(i,"rel","noopener noreferrer"),this.renderer.setStyle(i,"display","flex"),this.renderer.setStyle(i,"align-items","center"),this.renderer.setStyle(i,"justify-content","center"),this.renderer.setStyle(i,"width","100%"),this.renderer.setStyle(i,"height","100%"),this.renderer.setStyle(i,"text-decoration","none"),this.renderer.setStyle(i,"color","inherit"),this.renderer.appendChild(i,r),s=i}else s=t,this.renderer.appendChild(s,r),this.redirectOnClickBrokenImage()&&(t.setAttribute("href",l||""),t.setAttribute("target",this.linkTarget));s!==t&&this.renderer.appendChild(t,s),this.setImgDimensions(t)}else{let r=this.renderer.createElement("img");this.renderer.setAttribute(r,"src","https://cdn.dealpos.app/template/products_thumb.png"),this.renderer.setAttribute(r,"alt","No Image"),this.renderer.setStyle(r,"width","100%"),this.renderer.setStyle(r,"height","100%"),this.renderer.setStyle(r,"object-fit","contain"),this.renderer.appendChild(t,r)}this.renderer.setStyle(t,"display","flex"),this.renderer.setStyle(t,"align-items","center"),this.renderer.setStyle(t,"justify-content","center"),this.renderer.setStyle(t,"background-color","#f0f0f0"),this.renderer.setStyle(t,"border","1px solid #ccc"),this.renderer.setStyle(t,"color","#666"),this.renderer.setStyle(t,"font-size","24px"),this.renderer.setStyle(t,"border-radius","4px"),this.renderer.setStyle(t,"box-sizing","border-box"),this.renderer.setStyle(t,"overflow","hidden"),this.renderer.insertBefore(n,t,e),this.renderer.removeChild(n,e)}}setImgDimensions(e){this.initialWidth?this.renderer.setStyle(e,"width",this.initialWidth):this.renderer.setStyle(e,"width","50px"),this.initialHeight?this.renderer.setStyle(e,"height",this.initialHeight):this.renderer.setStyle(e,"height",this.initialWidth||"50px")}static \u0275fac=function(n){return new(n||d)(a(h),a(o))};static \u0275dir=c({type:d,selectors:[["","brokenImageIconFailSafe",""]],hostBindings:function(n,l){n&1&&g("error",function(){return l.onError()})},inputs:{linkTarget:"linkTarget",brokenImageIconFailSafeClass:"brokenImageIconFailSafeClass",redirectUrl:"redirectUrl",redirectOnClickBrokenImage:[1,"redirectOnClickBrokenImage"]}})};export{p as a};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{b as Me}from"./chunk-E2R4RGWU.js";import{p as j}from"./chunk-5UX75GPD.js";import{N as he}from"./chunk-SE73OGQM.js";import{d as H}from"./chunk-UGZHR6TH.js";import{a as be,b as ye}from"./chunk-IUUNN5TF.js";import{b as G,c as A}from"./chunk-JATJNKS5.js";import{A as ge,B as Ce,F as _e,G as fe,c as re,g as ae,h as le,i as de,l as se,p as me,q as ce,y as ue,z as pe}from"./chunk-LFSG3DBR.js";import{a as oe}from"./chunk-PPTZHIIZ.js";import{$a as F,Ab as Y,Ba as v,Bb as Z,Cb as $,Db as m,Eb as d,Fb as l,Ga as z,Gb as ee,Pb as w,Sb as x,Tc as L,Ua as o,Ub as u,Xc as te,cc as h,db as J,eb as Q,fb as X,hc as c,id as ne,jc as N,ka as U,mc as f,na as q,nc as b,oc as y,ra as C,sa as _,tc as R,vd as ie,wb as p,yb as g,yc as M}from"./chunk-VKQVNDWA.js";import{a as D,b as V}from"./chunk-NF7PG5F2.js";var k=class n{elementRef=q(z);control=q(ae,{optional:!0,self:!0});trimInputPrefix=L(null);trimInputSuffix=L(null);trimInputWhitespace=L(!0);onBlur(){let r=this.elementRef.nativeElement;if(!r)return;let e=r.value??"",t=e,a=this.trimInputPrefix(),s=this.trimInputSuffix(),i=this.trimInputWhitespace();i&&(e=e.trim()),a&&e.startsWith(a)&&(e=e.slice(a.length)),s&&e.endsWith(s)&&(e=e.slice(0,e.length-s.length)),i&&(e=e.trim()),e!==t&&(r.value=e,this.control?.control?(this.control.control.setValue(e,{emitEvent:!1}),this.control.control.updateValueAndValidity()):r.dispatchEvent(new Event("input",{bubbles:!0})))}static \u0275fac=function(e){return new(e||n)};static \u0275dir=X({type:n,selectors:[["","trimInput",""]],hostBindings:function(e,t){e&1&&x("blur",function(){return t.onBlur()})},inputs:{trimInputPrefix:[1,"trimInputPrefix"],trimInputSuffix:[1,"trimInputSuffix"],trimInputWhitespace:[1,"trimInputWhitespace"]}})};var O=n=>({selected:n}),Se=n=>({"border border-danger":n}),P=n=>({"is-invalid":n}),Ie=n=>({"is-invalid border border-danger":n}),Te=n=>({"has-error":n});function Ee(n,r){if(n&1){let e=w();d(0,"a",12),x("click",function(){C(e);let a=u();return _(a.chooiceDetail("id"))}),c(1," ID "),l()}if(n&2){let e=u();m("ngClass",M(1,O,e.tabState()=="id"))}}function Pe(n,r){if(n&1&&ee(0,"option",21),n&2){let e=r.$implicit;m("value",e.Name)}}function De(n,r){if(n&1&&(d(0,"div",24)(1,"i",47),c(2," Name is mandatory."),l()()),n&2){u();let e=h(26);m("ngClass",M(1,Te,e.touched&&e.invalid))}}function Ve(n,r){n&1&&(d(0,"div",40),c(1," Mobile Phone is mandatory "),l())}function Oe(n,r){if(n&1&&(d(0,"div",40),c(1),l()),n&2){u(2);let e=h(38);o(),N(" ",e.errors==null||e.errors.minLength==null?null:e.errors.minLength.message," ")}}function We(n,r){if(n&1&&(p(0,Ve,2,0,"div",40),p(1,Oe,2,1,"div",40)),n&2){u();let e=h(38);g(e.getError("required")&&!e.getError("minLength")?0:-1),o(),g(e.getError("minLength")?1:-1)}}function Fe(n,r){n&1&&(d(0,"div",40),c(1," Email must be a valid email address "),l())}function Le(n,r){n&1&&(d(0,"div",40),c(1,"Email is mandatory"),l())}function ke(n,r){if(n&1&&(p(0,Fe,2,0,"div",40),p(1,Le,2,0,"div",40)),n&2){u();let e=h(45);g(e.errors!=null&&e.errors.email?0:-1),o(),g(e.errors!=null&&e.errors.required?1:-1)}}function Be(n,r){n&1&&(d(0,"div",40),c(1," Birthdate is mandatory "),l())}function qe(n,r){if(n&1&&p(0,Be,2,0,"div",40),n&2){u();let e=h(3);g(e.invalid?0:-1)}}function Re(n,r){if(n&1){let e=w();d(0,"div",33)(1,"div",17)(2,"datepicker",48,6),y("ngModelChange",function(a){C(e);let s=u();return b(s.customer().Birthdate,a)||(s.customer().Birthdate=a),_(a)}),l(),p(4,qe,1,1),l()()}if(n&2){let e=h(3),t=u();o(2),f("ngModel",t.customer().Birthdate),m("required",t.requiredField().Birthdate)("ngClass",M(4,P,e.invalid&&(e.dirty||e.touched))),o(2),g(e.dirty||e.touched?4:-1)}}function Ge(n,r){if(n&1&&(d(0,"div",40),c(1),l()),n&2){let e=u(2);o(),N(" ",e.type()=="supplier"?"Supplier":"Customer"," code is mandatory. ")}}function Ae(n,r){if(n&1){let e=w();d(0,"div",33)(1,"div",17)(2,"input",49,7),y("ngModelChange",function(a){C(e);let s=u();return b(s.customer().Code,a)||(s.customer().Code=a),_(a)}),l(),p(4,Ge,2,1,"div",40),d(5,"label",50),c(6),l()()()}if(n&2){let e=h(3),t=u();o(2),m("placeholder",R("",t.type()=="supplier"?"Supplier":"Member"," code")),f("ngModel",t.customer().Code),m("required",t.requiredField().Code)("ngClass",M(7,P,e.invalid&&(e.dirty||e.touched))),o(2),g(e.invalid&&(e.dirty||e.touched)?4:-1),o(2),N(" ",t.type()=="supplier"?"Supplier":"Member"," Code ")}}function He(n,r){if(n&1&&(d(0,"div",40),c(1),l()),n&2){let e=u(2);o(),N(" ",e.type()=="supplier"?"Supplier":"Customer"," code is mandatory. ")}}function je(n,r){if(n&1){let e=w();d(0,"div",36)(1,"div",17)(2,"input",49,7),y("ngModelChange",function(a){C(e);let s=u();return b(s.customer().Code,a)||(s.customer().Code=a),_(a)}),l(),p(4,He,2,1,"div",40),d(5,"label",50),c(6),l()()()}if(n&2){let e=h(3),t=u();o(2),m("placeholder",R("",t.type()=="supplier"?"Supplier":"Member"," code")),f("ngModel",t.customer().Code),m("required",t.requiredField().Code)("ngClass",M(7,P,e.invalid&&(e.dirty||e.touched))),o(2),g(e.invalid&&(e.dirty||e.touched)?4:-1),o(2),N(" ",t.type()=="supplier"?"Supplier":"Member"," Code ")}}function Ke(n,r){if(n&1){let e=w();d(0,"div",36)(1,"div",51)(2,"ng-select",52),y("ngModelChange",function(a){C(e);let s=u();return b(s.customer().Group,a)||(s.customer().Group=a),_(a)}),l(),d(3,"label",53),c(4,"Group"),l()()()}if(n&2){let e,t=u();o(),m("ngClass",M(3,O,t.isNotEmpty(t.customer().Group))),o(),f("ngModel",t.customer().Group),m("items",(e=t.options())==null?null:e.Groups)}}function Ue(n,r){if(n&1){let e=w();d(0,"div",36)(1,"div",51)(2,"ng-select",54),y("ngModelChange",function(a){C(e);let s=u();return b(s.customer().City,a)||(s.customer().City=a),_(a)}),l(),d(3,"label",55),c(4,"City"),l()()()}if(n&2){let e,t=u();o(),m("ngClass",M(3,O,t.isNotEmpty(t.customer().City))),o(),f("ngModel",t.customer().City),m("items",(e=t.options())==null?null:e.Cities)}}function ze(n,r){n&1&&(d(0,"div",40),c(1,"Address is mandatory."),l())}function Je(n,r){if(n&1&&(d(0,"div",40),c(1),l()),n&2){u();let e=h(68);o(),N(" ",e.errors==null||e.errors.minLength==null?null:e.errors.minLength.message," ")}}var ve=class n{constructor(r,e,t){this.dialogRef=r;this.data=e;this._CustomerHttpService=t;this.modalConfig.set(new G),this.modalConfig.update(a=>V(D({},a),{title:this.data.title,customWidth:"650px"})),this.options.set(this.data.options),this.options().Genders||this.options.update(a=>V(D({},a),{Genders:[{Key:0,Value:"Male"},{Key:1,Value:"Female"}]})),this.config.set(this.data.config),this.type.set(this.data.type)}dialogRef;data;_CustomerHttpService;customer=te(new B);options=v(null);type=v("");config=v(null);more=v(!1);modalConfig=v(new G);detailVisible=v(!1);tabState=v("general");requiredField=v({Mobile:!1,Email:!1,Code:!1,Address:!1,SignUpOutlet:!1,Birthdate:!1});ngOnInit(){this.customer.set(new B),this.initFirstName(),this.customer.update(r=>V(D({},r),{Gender:this.config().DefaultValue.Gender})),this.more.set(!1),this.initRequiredField()}initRequiredField(){let r=this.config().Advance?.RequiredFields;r&&this.type()!="supplier"&&r.forEach(e=>{this.requiredField.update(t=>(t[e]=!0,t))})}initFirstName(){this.data&&this.data.inputTextName&&this.customer.update(r=>V(D({},r),{FirstName:this.data.inputTextName}))}onOk(r){if(r.form?.markAllAsTouched(),r.form.invalid)return;let e=this.customer().Title?this.customer().Title:"";e+=" "+this.customer().FirstName,e+=" "+(this.customer().LastName?this.customer().LastName:""),e=e.trim(),this.customer().Name=e,this.type()=="customer"?this._CustomerHttpService.addCustomer(this.customer()).then(t=>{this.dialogRef.close({ContactName:e,CustomerID:t.ID})}).catch(t=>{this.dialogRef.close({Error:t})}):this.type()=="supplier"&&this.dialogRef.close({supplier:this.customer()})}chooiceDetail(r){this.tabState.set(r)}isNotEmpty(r){return oe.IsNotEmpty(r)||r==0}static \u0275fac=function(e){return new(e||n)(F(be),F(ye),F(Me))};static \u0275cmp=J({type:n,selectors:[["POS-modal-customer"]],inputs:{customer:[1,"customer"]},outputs:{customer:"customerChange"},standalone:!1,decls:81,vars:55,consts:[["f","ngForm"],["FirstName","ngModel"],["phoneNumber","ngModel"],["Email","ngModel"],["addressCtrl","ngModel"],["nationalId","ngModel"],["birthdateCtrl","ngModel"],["codeCtrl","ngModel"],[3,"onOk","onCancel","onClose","config"],[1,"container",2,"height","270px"],["name","form"],[1,"row","align-items-center","border-bottom"],[1,"btn","btn-link",3,"click","ngClass"],[1,"btn","btn-link",3,"ngClass"],[1,"mt-6"],[1,"row","g-4",3,"hidden"],[1,"col-md-2","mt-4"],[1,"form-floating-outline"],["list","cust-title","id","Title","name","Title","placeholder","Title",1,"form-control",3,"ngModelChange","ngModel"],["for","Title"],["id","cust-title"],[3,"value"],[1,"col-md-5","mt-4"],["type","text","id","FirstName","name","FirstName","placeholder","First Name","trimInput","",1,"form-control",3,"ngModelChange","ngClass","ngModel","required"],[3,"ngClass"],["for","FirstName"],["type","text","id","LastName","name","LastName","placeholder","Last Name","trimInput","",1,"form-control",3,"ngModelChange","ngModel"],["for","LastName"],[1,"col-md-6","mt-4"],["type","text","name","Phone","placeholder","Mobile",1,"form-control",3,"ngModelChange","ngModel","required","ngClass"],["for","Phone"],["type","email","name","Email","placeholder","Email","email","",1,"form-control",3,"ngModelChange","ngClass","ngModel","required"],["for","email"],[1,"col-6","mt-4"],["name","gender","bindLabel","Value","bindValue","Key","placeholder","Gender","dropdownPosition","buttom",1,"tall","outlet","auto-grow",3,"ngModelChange","ngModel","items"],[1,"row","g-4","mt-2",3,"hidden"],[1,"col-4","mt-4"],[1,"col-md-12","mt-4"],["id","address","name","address","placeholder","Address",1,"form-control","h-100",3,"ngModelChange","rows","ngModel","required","ngClass"],["for","address"],[1,"invalid-feedback"],["type","text","id","Identification","name","Identification","placeholder","NationalID","numericInputOnly","nationalId",1,"form-control",3,"ngModelChange","ngModel","ngClass"],["for","Identification"],["type","text","id","TaxId","name","TaxId","placeholder","TaxID",1,"form-control",3,"ngModelChange","ngModel"],["for","TaxId"],["name","NationalityID","bindLabel","Name","bindValue","ID","placeholder","Nationality","appendTo","body",1,"tall","outlet","auto-grow",3,"ngModelChange","ngModel","items"],["name","race","bindLabel","Name","bindValue","ID","placeholder","Race","appendTo","body",1,"tall","outlet","auto-grow",3,"ngModelChange","ngModel","items"],[1,"control-label","text-danger"],["placeholder","Birthdate","name","birthDate",3,"ngModelChange","ngModel","required","ngClass"],["type","text","name","code","id","code",1,"form-control",3,"ngModelChange","ngModel","placeholder","required","ngClass"],["for","code"],[1,"form-floating-outline","flexRow",3,"ngClass"],["id","customerGroup","bindLabel","Name","bindValue","ID","name","customerGroup","appendTo","body",1,"productform","tall",3,"ngModelChange","ngModel","items"],["for","customerGroup",1,"ng-select"],["id","city","bindLabel","Name","bindValue","ID","name","city","appendTo","body",1,"productform","tall",3,"ngModelChange","ngModel","items"],["for","city",1,"ng-select"]],template:function(e,t){if(e&1){let a=w();d(0,"modal-material",8),x("onOk",function(){C(a);let i=h(4);return _(t.onOk(i))})("onCancel",function(){return t.dialogRef.close()})("onClose",function(){return t.dialogRef.close()}),d(1,"content")(2,"div",9)(3,"form",10,0)(5,"div",11)(6,"div")(7,"a",12),x("click",function(){return t.chooiceDetail("general")}),c(8," General "),l(),d(9,"a",12),x("click",function(){return t.chooiceDetail("detail")}),c(10," Detail "),l(),p(11,Ee,2,3,"a",13),l()(),d(12,"div")(13,"div",14)(14,"div",15)(15,"div",16)(16,"div",17)(17,"input",18),y("ngModelChange",function(i){return C(a),b(t.customer().Title,i)||(t.customer().Title=i),_(i)}),l(),d(18,"label",19),c(19,"Title"),l(),d(20,"datalist",20),Z(21,Pe,1,1,"option",21,Y),l()()(),d(23,"div",22)(24,"div",17)(25,"input",23,1),y("ngModelChange",function(i){return C(a),b(t.customer().FirstName,i)||(t.customer().FirstName=i),_(i)}),l(),p(27,De,3,3,"div",24),d(28,"label",25),c(29,"First Name"),l()()(),d(30,"div",22)(31,"div",17)(32,"input",26),y("ngModelChange",function(i){return C(a),b(t.customer().LastName,i)||(t.customer().LastName=i),_(i)}),l(),d(33,"label",27),c(34,"Last Name"),l()()(),d(35,"div",28)(36,"div",17)(37,"input",29,2),y("ngModelChange",function(i){return C(a),b(t.customer().Mobile,i)||(t.customer().Mobile=i),_(i)}),l(),p(39,We,2,2),d(40,"label",30),c(41,"Mobile"),l()()(),d(42,"div",28)(43,"div",17)(44,"input",31,3),y("ngModelChange",function(i){return C(a),b(t.customer().Email,i)||(t.customer().Email=i),_(i)}),l(),p(46,ke,2,2),d(47,"label",32),c(48,"Email"),l()()(),p(49,Re,5,6,"div",33),p(50,Ae,7,9,"div",33),d(51,"div",28)(52,"ng-select",34),y("ngModelChange",function(i){return C(a),b(t.customer().Gender,i)||(t.customer().Gender=i),_(i)}),l()()(),d(53,"div",35),p(54,je,7,9,"div",36),p(55,Ke,5,5,"div",36),p(56,Ue,5,5,"div",36),d(57,"div",37)(58,"div",17)(59,"textarea",38,4),y("ngModelChange",function(i){return C(a),b(t.customer().Address,i)||(t.customer().Address=i),_(i)}),l(),d(61,"label",39),c(62,"Address"),l(),p(63,ze,2,0,"div",40),l()()(),d(64,"div",35)(65,"div",28)(66,"div",17)(67,"input",41,5),y("ngModelChange",function(i){return C(a),b(t.customer().NationalIDNumber,i)||(t.customer().NationalIDNumber=i),_(i)}),l(),p(69,Je,2,1,"div",40),d(70,"label",42),c(71,"National ID"),l()()(),d(72,"div",28)(73,"div",17)(74,"input",43),y("ngModelChange",function(i){return C(a),b(t.customer().TaxIDNumber,i)||(t.customer().TaxIDNumber=i),_(i)}),l(),d(75,"label",44),c(76,"Tax ID"),l()()(),d(77,"div",28)(78,"ng-select",45),y("ngModelChange",function(i){return C(a),b(t.customer().NationalityID,i)||(t.customer().NationalityID=i),_(i)}),l()(),d(79,"div",33)(80,"ng-select",46),y("ngModelChange",function(i){return C(a),b(t.customer().RaceID,i)||(t.customer().RaceID=i),_(i)}),l()()()()()()()()()}if(e&2){let a,s,i,K,W=h(26),S=h(38),I=h(45),T=h(60),E=h(68);m("config",t.modalConfig()),o(7),m("ngClass",M(41,O,t.tabState()=="general")),o(2),m("ngClass",M(43,O,t.tabState()=="detail")),o(2),g(t.type()!="supplier"?11:-1),o(3),m("hidden",t.tabState()!="general"),o(3),f("ngModel",t.customer().Title),o(4),$((a=t.options())==null?null:a.Titles),o(4),m("ngClass",M(45,Se,W.touched&&W.invalid)),f("ngModel",t.customer().FirstName),m("required",!0),o(2),g(W.touched&&W.invalid?27:-1),o(5),f("ngModel",t.customer().LastName),o(5),f("ngModel",t.customer().Mobile),m("required",t.requiredField().Mobile)("ngClass",M(47,P,S.invalid&&(S.dirty||S.touched))),o(2),g(S.invalid&&(S.dirty||S.touched)?39:-1),o(5),m("ngClass",M(49,Ie,I.invalid&&(I.dirty||I.touched))),f("ngModel",t.customer().Email),m("required",t.requiredField().Email),o(2),g(I.invalid&&(I.dirty||I.touched)?46:-1),o(3),g(t.type()!="supplier"?49:-1),o(),g(t.type()=="supplier"?50:-1),o(2),f("ngModel",t.customer().Gender),m("items",(s=t.options())==null?null:s.Genders),o(),m("hidden",t.tabState()!="detail"),o(),g(t.type()!="supplier"?54:-1),o(),g(t.type()!="supplier"?55:-1),o(),g(t.type()!="supplier"?56:-1),o(3),m("rows",t.type()!="supplier"?6:9),f("ngModel",t.customer().Address),m("required",t.requiredField().Address)("ngClass",M(51,P,T.invalid&&(T.dirty||T.touched))),o(4),g(T.invalid&&(T.dirty||T.touched)?63:-1),o(),m("hidden",t.tabState()!="id"),o(3),f("ngModel",t.customer().NationalIDNumber),m("ngClass",M(53,P,E.invalid&&(E.dirty||E.touched))),o(2),g(E.invalid&&(E.dirty||E.touched)?69:-1),o(5),f("ngModel",t.customer().TaxIDNumber),o(4),f("ngModel",t.customer().NationalityID),m("items",(i=t.options())==null?null:i.Nationalities),o(2),f("ngModel",t.customer().RaceID),m("items",(K=t.options())==null?null:K.Races)}},dependencies:()=>[ne,A,ce,ue,pe,re,le,de,ge,Ce,me,se,j,H,k],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[_ngcontent-%COMP%]{padding-top:0;color:#868686;padding-bottom:8px;border-radius:unset;font-family:Roboto Slab,serif}.btn-link.selected[_ngcontent-%COMP%]{color:#3b3b3b;border-bottom:2px solid #07a519}.form-floating-outline[_ngcontent-%COMP%]{margin-bottom:.2rem!important}"]})},we=class n{static \u0275fac=function(e){return new(e||n)};static \u0275mod=Q({type:n});static \u0275inj=U({imports:[ie,he,A,_e,fe,j,H]})},B=class{Title;FirstName;LastName;Name;Gender;Mobile;Email;TaxIDNumber;TaxID;Group;Code;City;Address;Birthdate;MemberIdentification;NationalIDNumber;NationalityID;RaceID;CreatorEntityID};export{k as a,ve as b,we as c,B as d};
|
|
1
|
+
import{b as Me}from"./chunk-HPGDUC2I.js";import{p as j}from"./chunk-REF3QZ36.js";import{N as he}from"./chunk-NZFPGRBB.js";import{d as H}from"./chunk-WT5VEXX4.js";import{a as be,b as ye}from"./chunk-LJSWE6HK.js";import{b as G,c as A}from"./chunk-2F7KZZBQ.js";import{A as ge,B as Ce,F as _e,G as fe,c as re,g as ae,h as le,i as de,l as se,p as me,q as ce,y as ue,z as pe}from"./chunk-DUKZEV2X.js";import{a as oe}from"./chunk-PPTZHIIZ.js";import{Ab as g,Ac as M,Cb as Y,Da as v,Db as Z,Eb as $,Fb as m,Gb as d,Hb as l,Ia as z,Ib as ee,Rb as w,Ub as x,Vc as L,Wa as o,Wb as u,Zc as te,bb as F,ec as h,fb as J,gb as Q,hb as X,jc as c,lc as N,ld as ne,ma as U,oc as f,pa as q,pc as b,qc as y,ta as C,ua as _,vc as R,yb as p,yd as ie}from"./chunk-QXHPRUBR.js";import{a as D,b as V}from"./chunk-NF7PG5F2.js";var k=class n{elementRef=q(z);control=q(ae,{optional:!0,self:!0});trimInputPrefix=L(null);trimInputSuffix=L(null);trimInputWhitespace=L(!0);onBlur(){let r=this.elementRef.nativeElement;if(!r)return;let e=r.value??"",t=e,a=this.trimInputPrefix(),s=this.trimInputSuffix(),i=this.trimInputWhitespace();i&&(e=e.trim()),a&&e.startsWith(a)&&(e=e.slice(a.length)),s&&e.endsWith(s)&&(e=e.slice(0,e.length-s.length)),i&&(e=e.trim()),e!==t&&(r.value=e,this.control?.control?(this.control.control.setValue(e,{emitEvent:!1}),this.control.control.updateValueAndValidity()):r.dispatchEvent(new Event("input",{bubbles:!0})))}static \u0275fac=function(e){return new(e||n)};static \u0275dir=X({type:n,selectors:[["","trimInput",""]],hostBindings:function(e,t){e&1&&x("blur",function(){return t.onBlur()})},inputs:{trimInputPrefix:[1,"trimInputPrefix"],trimInputSuffix:[1,"trimInputSuffix"],trimInputWhitespace:[1,"trimInputWhitespace"]}})};var O=n=>({selected:n}),Se=n=>({"border border-danger":n}),P=n=>({"is-invalid":n}),Ie=n=>({"is-invalid border border-danger":n}),Te=n=>({"has-error":n});function Ee(n,r){if(n&1){let e=w();d(0,"a",12),x("click",function(){C(e);let a=u();return _(a.chooiceDetail("id"))}),c(1," ID "),l()}if(n&2){let e=u();m("ngClass",M(1,O,e.tabState()=="id"))}}function Pe(n,r){if(n&1&&ee(0,"option",21),n&2){let e=r.$implicit;m("value",e.Name)}}function De(n,r){if(n&1&&(d(0,"div",24)(1,"i",47),c(2," Name is mandatory."),l()()),n&2){u();let e=h(26);m("ngClass",M(1,Te,e.touched&&e.invalid))}}function Ve(n,r){n&1&&(d(0,"div",40),c(1," Mobile Phone is mandatory "),l())}function Oe(n,r){if(n&1&&(d(0,"div",40),c(1),l()),n&2){u(2);let e=h(38);o(),N(" ",e.errors==null||e.errors.minLength==null?null:e.errors.minLength.message," ")}}function We(n,r){if(n&1&&(p(0,Ve,2,0,"div",40),p(1,Oe,2,1,"div",40)),n&2){u();let e=h(38);g(e.getError("required")&&!e.getError("minLength")?0:-1),o(),g(e.getError("minLength")?1:-1)}}function Fe(n,r){n&1&&(d(0,"div",40),c(1," Email must be a valid email address "),l())}function Le(n,r){n&1&&(d(0,"div",40),c(1,"Email is mandatory"),l())}function ke(n,r){if(n&1&&(p(0,Fe,2,0,"div",40),p(1,Le,2,0,"div",40)),n&2){u();let e=h(45);g(e.errors!=null&&e.errors.email?0:-1),o(),g(e.errors!=null&&e.errors.required?1:-1)}}function Be(n,r){n&1&&(d(0,"div",40),c(1," Birthdate is mandatory "),l())}function qe(n,r){if(n&1&&p(0,Be,2,0,"div",40),n&2){u();let e=h(3);g(e.invalid?0:-1)}}function Re(n,r){if(n&1){let e=w();d(0,"div",33)(1,"div",17)(2,"datepicker",48,6),y("ngModelChange",function(a){C(e);let s=u();return b(s.customer().Birthdate,a)||(s.customer().Birthdate=a),_(a)}),l(),p(4,qe,1,1),l()()}if(n&2){let e=h(3),t=u();o(2),f("ngModel",t.customer().Birthdate),m("required",t.requiredField().Birthdate)("ngClass",M(4,P,e.invalid&&(e.dirty||e.touched))),o(2),g(e.dirty||e.touched?4:-1)}}function Ge(n,r){if(n&1&&(d(0,"div",40),c(1),l()),n&2){let e=u(2);o(),N(" ",e.type()=="supplier"?"Supplier":"Customer"," code is mandatory. ")}}function Ae(n,r){if(n&1){let e=w();d(0,"div",33)(1,"div",17)(2,"input",49,7),y("ngModelChange",function(a){C(e);let s=u();return b(s.customer().Code,a)||(s.customer().Code=a),_(a)}),l(),p(4,Ge,2,1,"div",40),d(5,"label",50),c(6),l()()()}if(n&2){let e=h(3),t=u();o(2),m("placeholder",R("",t.type()=="supplier"?"Supplier":"Member"," code")),f("ngModel",t.customer().Code),m("required",t.requiredField().Code)("ngClass",M(7,P,e.invalid&&(e.dirty||e.touched))),o(2),g(e.invalid&&(e.dirty||e.touched)?4:-1),o(2),N(" ",t.type()=="supplier"?"Supplier":"Member"," Code ")}}function He(n,r){if(n&1&&(d(0,"div",40),c(1),l()),n&2){let e=u(2);o(),N(" ",e.type()=="supplier"?"Supplier":"Customer"," code is mandatory. ")}}function je(n,r){if(n&1){let e=w();d(0,"div",36)(1,"div",17)(2,"input",49,7),y("ngModelChange",function(a){C(e);let s=u();return b(s.customer().Code,a)||(s.customer().Code=a),_(a)}),l(),p(4,He,2,1,"div",40),d(5,"label",50),c(6),l()()()}if(n&2){let e=h(3),t=u();o(2),m("placeholder",R("",t.type()=="supplier"?"Supplier":"Member"," code")),f("ngModel",t.customer().Code),m("required",t.requiredField().Code)("ngClass",M(7,P,e.invalid&&(e.dirty||e.touched))),o(2),g(e.invalid&&(e.dirty||e.touched)?4:-1),o(2),N(" ",t.type()=="supplier"?"Supplier":"Member"," Code ")}}function Ke(n,r){if(n&1){let e=w();d(0,"div",36)(1,"div",51)(2,"ng-select",52),y("ngModelChange",function(a){C(e);let s=u();return b(s.customer().Group,a)||(s.customer().Group=a),_(a)}),l(),d(3,"label",53),c(4,"Group"),l()()()}if(n&2){let e,t=u();o(),m("ngClass",M(3,O,t.isNotEmpty(t.customer().Group))),o(),f("ngModel",t.customer().Group),m("items",(e=t.options())==null?null:e.Groups)}}function Ue(n,r){if(n&1){let e=w();d(0,"div",36)(1,"div",51)(2,"ng-select",54),y("ngModelChange",function(a){C(e);let s=u();return b(s.customer().City,a)||(s.customer().City=a),_(a)}),l(),d(3,"label",55),c(4,"City"),l()()()}if(n&2){let e,t=u();o(),m("ngClass",M(3,O,t.isNotEmpty(t.customer().City))),o(),f("ngModel",t.customer().City),m("items",(e=t.options())==null?null:e.Cities)}}function ze(n,r){n&1&&(d(0,"div",40),c(1,"Address is mandatory."),l())}function Je(n,r){if(n&1&&(d(0,"div",40),c(1),l()),n&2){u();let e=h(68);o(),N(" ",e.errors==null||e.errors.minLength==null?null:e.errors.minLength.message," ")}}var ve=class n{constructor(r,e,t){this.dialogRef=r;this.data=e;this._CustomerHttpService=t;this.modalConfig.set(new G),this.modalConfig.update(a=>V(D({},a),{title:this.data.title,customWidth:"650px"})),this.options.set(this.data.options),this.options().Genders||this.options.update(a=>V(D({},a),{Genders:[{Key:0,Value:"Male"},{Key:1,Value:"Female"}]})),this.config.set(this.data.config),this.type.set(this.data.type)}dialogRef;data;_CustomerHttpService;customer=te(new B);options=v(null);type=v("");config=v(null);more=v(!1);modalConfig=v(new G);detailVisible=v(!1);tabState=v("general");requiredField=v({Mobile:!1,Email:!1,Code:!1,Address:!1,SignUpOutlet:!1,Birthdate:!1});ngOnInit(){this.customer.set(new B),this.initFirstName(),this.customer.update(r=>V(D({},r),{Gender:this.config().DefaultValue.Gender})),this.more.set(!1),this.initRequiredField()}initRequiredField(){let r=this.config().Advance?.RequiredFields;r&&this.type()!="supplier"&&r.forEach(e=>{this.requiredField.update(t=>(t[e]=!0,t))})}initFirstName(){this.data&&this.data.inputTextName&&this.customer.update(r=>V(D({},r),{FirstName:this.data.inputTextName}))}onOk(r){if(r.form?.markAllAsTouched(),r.form.invalid)return;let e=this.customer().Title?this.customer().Title:"";e+=" "+this.customer().FirstName,e+=" "+(this.customer().LastName?this.customer().LastName:""),e=e.trim(),this.customer().Name=e,this.type()=="customer"?this._CustomerHttpService.addCustomer(this.customer()).then(t=>{this.dialogRef.close({ContactName:e,CustomerID:t.ID})}).catch(t=>{this.dialogRef.close({Error:t})}):this.type()=="supplier"&&this.dialogRef.close({supplier:this.customer()})}chooiceDetail(r){this.tabState.set(r)}isNotEmpty(r){return oe.IsNotEmpty(r)||r==0}static \u0275fac=function(e){return new(e||n)(F(be),F(ye),F(Me))};static \u0275cmp=J({type:n,selectors:[["POS-modal-customer"]],inputs:{customer:[1,"customer"]},outputs:{customer:"customerChange"},standalone:!1,decls:81,vars:55,consts:[["f","ngForm"],["FirstName","ngModel"],["phoneNumber","ngModel"],["Email","ngModel"],["addressCtrl","ngModel"],["nationalId","ngModel"],["birthdateCtrl","ngModel"],["codeCtrl","ngModel"],[3,"onOk","onCancel","onClose","config"],[1,"container",2,"height","270px"],["name","form"],[1,"row","align-items-center","border-bottom"],[1,"btn","btn-link",3,"click","ngClass"],[1,"btn","btn-link",3,"ngClass"],[1,"mt-6"],[1,"row","g-4",3,"hidden"],[1,"col-md-2","mt-4"],[1,"form-floating-outline"],["list","cust-title","id","Title","name","Title","placeholder","Title",1,"form-control",3,"ngModelChange","ngModel"],["for","Title"],["id","cust-title"],[3,"value"],[1,"col-md-5","mt-4"],["type","text","id","FirstName","name","FirstName","placeholder","First Name","trimInput","",1,"form-control",3,"ngModelChange","ngClass","ngModel","required"],[3,"ngClass"],["for","FirstName"],["type","text","id","LastName","name","LastName","placeholder","Last Name","trimInput","",1,"form-control",3,"ngModelChange","ngModel"],["for","LastName"],[1,"col-md-6","mt-4"],["type","text","name","Phone","placeholder","Mobile",1,"form-control",3,"ngModelChange","ngModel","required","ngClass"],["for","Phone"],["type","email","name","Email","placeholder","Email","email","",1,"form-control",3,"ngModelChange","ngClass","ngModel","required"],["for","email"],[1,"col-6","mt-4"],["name","gender","bindLabel","Value","bindValue","Key","placeholder","Gender","dropdownPosition","buttom",1,"tall","outlet","auto-grow",3,"ngModelChange","ngModel","items"],[1,"row","g-4","mt-2",3,"hidden"],[1,"col-4","mt-4"],[1,"col-md-12","mt-4"],["id","address","name","address","placeholder","Address",1,"form-control","h-100",3,"ngModelChange","rows","ngModel","required","ngClass"],["for","address"],[1,"invalid-feedback"],["type","text","id","Identification","name","Identification","placeholder","NationalID","numericInputOnly","nationalId",1,"form-control",3,"ngModelChange","ngModel","ngClass"],["for","Identification"],["type","text","id","TaxId","name","TaxId","placeholder","TaxID",1,"form-control",3,"ngModelChange","ngModel"],["for","TaxId"],["name","NationalityID","bindLabel","Name","bindValue","ID","placeholder","Nationality","appendTo","body",1,"tall","outlet","auto-grow",3,"ngModelChange","ngModel","items"],["name","race","bindLabel","Name","bindValue","ID","placeholder","Race","appendTo","body",1,"tall","outlet","auto-grow",3,"ngModelChange","ngModel","items"],[1,"control-label","text-danger"],["placeholder","Birthdate","name","birthDate",3,"ngModelChange","ngModel","required","ngClass"],["type","text","name","code","id","code",1,"form-control",3,"ngModelChange","ngModel","placeholder","required","ngClass"],["for","code"],[1,"form-floating-outline","flexRow",3,"ngClass"],["id","customerGroup","bindLabel","Name","bindValue","ID","name","customerGroup","appendTo","body",1,"productform","tall",3,"ngModelChange","ngModel","items"],["for","customerGroup",1,"ng-select"],["id","city","bindLabel","Name","bindValue","ID","name","city","appendTo","body",1,"productform","tall",3,"ngModelChange","ngModel","items"],["for","city",1,"ng-select"]],template:function(e,t){if(e&1){let a=w();d(0,"modal-material",8),x("onOk",function(){C(a);let i=h(4);return _(t.onOk(i))})("onCancel",function(){return t.dialogRef.close()})("onClose",function(){return t.dialogRef.close()}),d(1,"content")(2,"div",9)(3,"form",10,0)(5,"div",11)(6,"div")(7,"a",12),x("click",function(){return t.chooiceDetail("general")}),c(8," General "),l(),d(9,"a",12),x("click",function(){return t.chooiceDetail("detail")}),c(10," Detail "),l(),p(11,Ee,2,3,"a",13),l()(),d(12,"div")(13,"div",14)(14,"div",15)(15,"div",16)(16,"div",17)(17,"input",18),y("ngModelChange",function(i){return C(a),b(t.customer().Title,i)||(t.customer().Title=i),_(i)}),l(),d(18,"label",19),c(19,"Title"),l(),d(20,"datalist",20),Z(21,Pe,1,1,"option",21,Y),l()()(),d(23,"div",22)(24,"div",17)(25,"input",23,1),y("ngModelChange",function(i){return C(a),b(t.customer().FirstName,i)||(t.customer().FirstName=i),_(i)}),l(),p(27,De,3,3,"div",24),d(28,"label",25),c(29,"First Name"),l()()(),d(30,"div",22)(31,"div",17)(32,"input",26),y("ngModelChange",function(i){return C(a),b(t.customer().LastName,i)||(t.customer().LastName=i),_(i)}),l(),d(33,"label",27),c(34,"Last Name"),l()()(),d(35,"div",28)(36,"div",17)(37,"input",29,2),y("ngModelChange",function(i){return C(a),b(t.customer().Mobile,i)||(t.customer().Mobile=i),_(i)}),l(),p(39,We,2,2),d(40,"label",30),c(41,"Mobile"),l()()(),d(42,"div",28)(43,"div",17)(44,"input",31,3),y("ngModelChange",function(i){return C(a),b(t.customer().Email,i)||(t.customer().Email=i),_(i)}),l(),p(46,ke,2,2),d(47,"label",32),c(48,"Email"),l()()(),p(49,Re,5,6,"div",33),p(50,Ae,7,9,"div",33),d(51,"div",28)(52,"ng-select",34),y("ngModelChange",function(i){return C(a),b(t.customer().Gender,i)||(t.customer().Gender=i),_(i)}),l()()(),d(53,"div",35),p(54,je,7,9,"div",36),p(55,Ke,5,5,"div",36),p(56,Ue,5,5,"div",36),d(57,"div",37)(58,"div",17)(59,"textarea",38,4),y("ngModelChange",function(i){return C(a),b(t.customer().Address,i)||(t.customer().Address=i),_(i)}),l(),d(61,"label",39),c(62,"Address"),l(),p(63,ze,2,0,"div",40),l()()(),d(64,"div",35)(65,"div",28)(66,"div",17)(67,"input",41,5),y("ngModelChange",function(i){return C(a),b(t.customer().NationalIDNumber,i)||(t.customer().NationalIDNumber=i),_(i)}),l(),p(69,Je,2,1,"div",40),d(70,"label",42),c(71,"National ID"),l()()(),d(72,"div",28)(73,"div",17)(74,"input",43),y("ngModelChange",function(i){return C(a),b(t.customer().TaxIDNumber,i)||(t.customer().TaxIDNumber=i),_(i)}),l(),d(75,"label",44),c(76,"Tax ID"),l()()(),d(77,"div",28)(78,"ng-select",45),y("ngModelChange",function(i){return C(a),b(t.customer().NationalityID,i)||(t.customer().NationalityID=i),_(i)}),l()(),d(79,"div",33)(80,"ng-select",46),y("ngModelChange",function(i){return C(a),b(t.customer().RaceID,i)||(t.customer().RaceID=i),_(i)}),l()()()()()()()()()}if(e&2){let a,s,i,K,W=h(26),S=h(38),I=h(45),T=h(60),E=h(68);m("config",t.modalConfig()),o(7),m("ngClass",M(41,O,t.tabState()=="general")),o(2),m("ngClass",M(43,O,t.tabState()=="detail")),o(2),g(t.type()!="supplier"?11:-1),o(3),m("hidden",t.tabState()!="general"),o(3),f("ngModel",t.customer().Title),o(4),$((a=t.options())==null?null:a.Titles),o(4),m("ngClass",M(45,Se,W.touched&&W.invalid)),f("ngModel",t.customer().FirstName),m("required",!0),o(2),g(W.touched&&W.invalid?27:-1),o(5),f("ngModel",t.customer().LastName),o(5),f("ngModel",t.customer().Mobile),m("required",t.requiredField().Mobile)("ngClass",M(47,P,S.invalid&&(S.dirty||S.touched))),o(2),g(S.invalid&&(S.dirty||S.touched)?39:-1),o(5),m("ngClass",M(49,Ie,I.invalid&&(I.dirty||I.touched))),f("ngModel",t.customer().Email),m("required",t.requiredField().Email),o(2),g(I.invalid&&(I.dirty||I.touched)?46:-1),o(3),g(t.type()!="supplier"?49:-1),o(),g(t.type()=="supplier"?50:-1),o(2),f("ngModel",t.customer().Gender),m("items",(s=t.options())==null?null:s.Genders),o(),m("hidden",t.tabState()!="detail"),o(),g(t.type()!="supplier"?54:-1),o(),g(t.type()!="supplier"?55:-1),o(),g(t.type()!="supplier"?56:-1),o(3),m("rows",t.type()!="supplier"?6:9),f("ngModel",t.customer().Address),m("required",t.requiredField().Address)("ngClass",M(51,P,T.invalid&&(T.dirty||T.touched))),o(4),g(T.invalid&&(T.dirty||T.touched)?63:-1),o(),m("hidden",t.tabState()!="id"),o(3),f("ngModel",t.customer().NationalIDNumber),m("ngClass",M(53,P,E.invalid&&(E.dirty||E.touched))),o(2),g(E.invalid&&(E.dirty||E.touched)?69:-1),o(5),f("ngModel",t.customer().TaxIDNumber),o(4),f("ngModel",t.customer().NationalityID),m("items",(i=t.options())==null?null:i.Nationalities),o(2),f("ngModel",t.customer().RaceID),m("items",(K=t.options())==null?null:K.Races)}},dependencies:()=>[ne,A,ce,ue,pe,re,le,de,ge,Ce,me,se,j,H,k],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[_ngcontent-%COMP%]{padding-top:0;color:#868686;padding-bottom:8px;border-radius:unset;font-family:Roboto Slab,serif}.btn-link.selected[_ngcontent-%COMP%]{color:#3b3b3b;border-bottom:2px solid #07a519}.form-floating-outline[_ngcontent-%COMP%]{margin-bottom:.2rem!important}"]})},we=class n{static \u0275fac=function(e){return new(e||n)};static \u0275mod=Q({type:n});static \u0275inj=U({imports:[ie,he,A,_e,fe,j,H]})},B=class{Title;FirstName;LastName;Name;Gender;Mobile;Email;TaxIDNumber;TaxID;Group;Code;City;Address;Birthdate;MemberIdentification;NationalIDNumber;NationalityID;RaceID;CreatorEntityID};export{k as a,ve as b,we as c,B as d};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{$
|
|
1
|
+
import{$c as Ye,Ab as He,Fb as Ve,Ga as Fe,Ib as Oe,Wb as Ke,bb as xe,db as De,fb as ke,gb as Ue,hb as ve,ic as Je,ma as _e,pd as Ge,yb as ze,yd as se}from"./chunk-QXHPRUBR.js";import{f as d,g as Xt,j as be}from"./chunk-NF7PG5F2.js";var Qe=d((Zn,je)=>{je.exports=function(){return typeof Promise=="function"&&Promise.prototype&&Promise.prototype.then}});var M=d(R=>{var ce,en=[0,26,44,70,100,134,172,196,242,292,346,404,466,532,581,655,733,815,901,991,1085,1156,1258,1364,1474,1588,1706,1828,1921,2051,2185,2323,2465,2611,2761,2876,3034,3196,3362,3532,3706];R.getSymbolSize=function(e){if(!e)throw new Error('"version" cannot be null or undefined');if(e<1||e>40)throw new Error('"version" should be in range from 1 to 40');return e*4+17};R.getSymbolTotalCodewords=function(e){return en[e]};R.getBCHDigit=function(n){let e=0;for(;n!==0;)e++,n>>>=1;return e};R.setToSJISFunction=function(e){if(typeof e!="function")throw new Error('"toSJISFunc" is not a valid function.');ce=e};R.isKanjiModeEnabled=function(){return typeof ce<"u"};R.toSJIS=function(e){return ce(e)}});var Y=d(p=>{p.L={bit:1};p.M={bit:0};p.Q={bit:3};p.H={bit:2};function tn(n){if(typeof n!="string")throw new Error("Param is not a string");switch(n.toLowerCase()){case"l":case"low":return p.L;case"m":case"medium":return p.M;case"q":case"quartile":return p.Q;case"h":case"high":return p.H;default:throw new Error("Unknown EC Level: "+n)}}p.isValid=function(e){return e&&typeof e.bit<"u"&&e.bit>=0&&e.bit<4};p.from=function(e,t){if(p.isValid(e))return e;try{return tn(e)}catch(r){return t}}});var Ze=d((tr,$e)=>{function We(){this.buffer=[],this.length=0}We.prototype={get:function(n){let e=Math.floor(n/8);return(this.buffer[e]>>>7-n%8&1)===1},put:function(n,e){for(let t=0;t<e;t++)this.putBit((n>>>e-t-1&1)===1)},getLengthInBits:function(){return this.length},putBit:function(n){let e=Math.floor(this.length/8);this.buffer.length<=e&&this.buffer.push(0),n&&(this.buffer[e]|=128>>>this.length%8),this.length++}};$e.exports=We});var et=d((nr,Xe)=>{function U(n){if(!n||n<1)throw new Error("BitMatrix size must be defined and greater than 0");this.size=n,this.data=new Uint8Array(n*n),this.reservedBit=new Uint8Array(n*n)}U.prototype.set=function(n,e,t,r){let o=n*this.size+e;this.data[o]=t,r&&(this.reservedBit[o]=!0)};U.prototype.get=function(n,e){return this.data[n*this.size+e]};U.prototype.xor=function(n,e,t){this.data[n*this.size+e]^=t};U.prototype.isReserved=function(n,e){return this.reservedBit[n*this.size+e]};Xe.exports=U});var tt=d(G=>{var nn=M().getSymbolSize;G.getRowColCoords=function(e){if(e===1)return[];let t=Math.floor(e/7)+2,r=nn(e),o=r===145?26:Math.ceil((r-13)/(2*t-2))*2,i=[r-7];for(let s=1;s<t-1;s++)i[s]=i[s-1]-o;return i.push(6),i.reverse()};G.getPositions=function(e){let t=[],r=G.getRowColCoords(e),o=r.length;for(let i=0;i<o;i++)for(let s=0;s<o;s++)i===0&&s===0||i===0&&s===o-1||i===o-1&&s===0||t.push([r[i],r[s]]);return t}});var ot=d(rt=>{var rn=M().getSymbolSize,nt=7;rt.getPositions=function(e){let t=rn(e);return[[0,0],[t-nt,0],[0,t-nt]]}});var it=d(g=>{g.Patterns={PATTERN000:0,PATTERN001:1,PATTERN010:2,PATTERN011:3,PATTERN100:4,PATTERN101:5,PATTERN110:6,PATTERN111:7};var q={N1:3,N2:3,N3:40,N4:10};g.isValid=function(e){return e!=null&&e!==""&&!isNaN(e)&&e>=0&&e<=7};g.from=function(e){return g.isValid(e)?parseInt(e,10):void 0};g.getPenaltyN1=function(e){let t=e.size,r=0,o=0,i=0,s=null,c=null;for(let a=0;a<t;a++){o=i=0,s=c=null;for(let l=0;l<t;l++){let u=e.get(a,l);u===s?o++:(o>=5&&(r+=q.N1+(o-5)),s=u,o=1),u=e.get(l,a),u===c?i++:(i>=5&&(r+=q.N1+(i-5)),c=u,i=1)}o>=5&&(r+=q.N1+(o-5)),i>=5&&(r+=q.N1+(i-5))}return r};g.getPenaltyN2=function(e){let t=e.size,r=0;for(let o=0;o<t-1;o++)for(let i=0;i<t-1;i++){let s=e.get(o,i)+e.get(o,i+1)+e.get(o+1,i)+e.get(o+1,i+1);(s===4||s===0)&&r++}return r*q.N2};g.getPenaltyN3=function(e){let t=e.size,r=0,o=0,i=0;for(let s=0;s<t;s++){o=i=0;for(let c=0;c<t;c++)o=o<<1&2047|e.get(s,c),c>=10&&(o===1488||o===93)&&r++,i=i<<1&2047|e.get(c,s),c>=10&&(i===1488||i===93)&&r++}return r*q.N3};g.getPenaltyN4=function(e){let t=0,r=e.data.length;for(let i=0;i<r;i++)t+=e.data[i];return Math.abs(Math.ceil(t*100/r/5)-10)*q.N4};function on(n,e,t){switch(n){case g.Patterns.PATTERN000:return(e+t)%2===0;case g.Patterns.PATTERN001:return e%2===0;case g.Patterns.PATTERN010:return t%3===0;case g.Patterns.PATTERN011:return(e+t)%3===0;case g.Patterns.PATTERN100:return(Math.floor(e/2)+Math.floor(t/3))%2===0;case g.Patterns.PATTERN101:return e*t%2+e*t%3===0;case g.Patterns.PATTERN110:return(e*t%2+e*t%3)%2===0;case g.Patterns.PATTERN111:return(e*t%3+(e+t)%2)%2===0;default:throw new Error("bad maskPattern:"+n)}}g.applyMask=function(e,t){let r=t.size;for(let o=0;o<r;o++)for(let i=0;i<r;i++)t.isReserved(i,o)||t.xor(i,o,on(e,i,o))};g.getBestMask=function(e,t){let r=Object.keys(g.Patterns).length,o=0,i=1/0;for(let s=0;s<r;s++){t(s),g.applyMask(s,e);let c=g.getPenaltyN1(e)+g.getPenaltyN2(e)+g.getPenaltyN3(e)+g.getPenaltyN4(e);g.applyMask(s,e),c<i&&(i=c,o=s)}return o}});var ue=d(ae=>{var S=Y(),j=[1,1,1,1,1,1,1,1,1,1,2,2,1,2,2,4,1,2,4,4,2,4,4,4,2,4,6,5,2,4,6,6,2,5,8,8,4,5,8,8,4,5,8,11,4,8,10,11,4,9,12,16,4,9,16,16,6,10,12,18,6,10,17,16,6,11,16,19,6,13,18,21,7,14,21,25,8,16,20,25,8,17,23,25,9,17,23,34,9,18,25,30,10,20,27,32,12,21,29,35,12,23,34,37,12,25,34,40,13,26,35,42,14,28,38,45,15,29,40,48,16,31,43,51,17,33,45,54,18,35,48,57,19,37,51,60,19,38,53,63,20,40,56,66,21,43,59,70,22,45,62,74,24,47,65,77,25,49,68,81],Q=[7,10,13,17,10,16,22,28,15,26,36,44,20,36,52,64,26,48,72,88,36,64,96,112,40,72,108,130,48,88,132,156,60,110,160,192,72,130,192,224,80,150,224,264,96,176,260,308,104,198,288,352,120,216,320,384,132,240,360,432,144,280,408,480,168,308,448,532,180,338,504,588,196,364,546,650,224,416,600,700,224,442,644,750,252,476,690,816,270,504,750,900,300,560,810,960,312,588,870,1050,336,644,952,1110,360,700,1020,1200,390,728,1050,1260,420,784,1140,1350,450,812,1200,1440,480,868,1290,1530,510,924,1350,1620,540,980,1440,1710,570,1036,1530,1800,570,1064,1590,1890,600,1120,1680,1980,630,1204,1770,2100,660,1260,1860,2220,720,1316,1950,2310,750,1372,2040,2430];ae.getBlocksCount=function(e,t){switch(t){case S.L:return j[(e-1)*4+0];case S.M:return j[(e-1)*4+1];case S.Q:return j[(e-1)*4+2];case S.H:return j[(e-1)*4+3];default:return}};ae.getTotalCodewordsCount=function(e,t){switch(t){case S.L:return Q[(e-1)*4+0];case S.M:return Q[(e-1)*4+1];case S.Q:return Q[(e-1)*4+2];case S.H:return Q[(e-1)*4+3];default:return}}});var st=d($=>{var v=new Uint8Array(512),W=new Uint8Array(256);(function(){let e=1;for(let t=0;t<255;t++)v[t]=e,W[e]=t,e<<=1,e&256&&(e^=285);for(let t=255;t<512;t++)v[t]=v[t-255]})();$.log=function(e){if(e<1)throw new Error("log("+e+")");return W[e]};$.exp=function(e){return v[e]};$.mul=function(e,t){return e===0||t===0?0:v[W[e]+W[t]]}});var ct=d(z=>{var le=st();z.mul=function(e,t){let r=new Uint8Array(e.length+t.length-1);for(let o=0;o<e.length;o++)for(let i=0;i<t.length;i++)r[o+i]^=le.mul(e[o],t[i]);return r};z.mod=function(e,t){let r=new Uint8Array(e);for(;r.length-t.length>=0;){let o=r[0];for(let s=0;s<t.length;s++)r[s]^=le.mul(t[s],o);let i=0;for(;i<r.length&&r[i]===0;)i++;r=r.slice(i)}return r};z.generateECPolynomial=function(e){let t=new Uint8Array([1]);for(let r=0;r<e;r++)t=z.mul(t,new Uint8Array([1,le.exp(r)]));return t}});var lt=d((ur,ut)=>{var at=ct();function fe(n){this.genPoly=void 0,this.degree=n,this.degree&&this.initialize(this.degree)}fe.prototype.initialize=function(e){this.degree=e,this.genPoly=at.generateECPolynomial(this.degree)};fe.prototype.encode=function(e){if(!this.genPoly)throw new Error("Encoder not initialized");let t=new Uint8Array(e.length+this.degree);t.set(e);let r=at.mod(t,this.genPoly),o=this.degree-r.length;if(o>0){let i=new Uint8Array(this.degree);return i.set(r,o),i}return r};ut.exports=fe});var de=d(ft=>{ft.isValid=function(e){return!isNaN(e)&&e>=1&&e<=40}});var ge=d(I=>{var dt="[0-9]+",sn="[A-Z $%*+\\-./:]+",H="(?:[u3000-u303F]|[u3040-u309F]|[u30A0-u30FF]|[uFF00-uFFEF]|[u4E00-u9FAF]|[u2605-u2606]|[u2190-u2195]|u203B|[u2010u2015u2018u2019u2025u2026u201Cu201Du2225u2260]|[u0391-u0451]|[u00A7u00A8u00B1u00B4u00D7u00F7])+";H=H.replace(/u/g,"\\u");var cn="(?:(?![A-Z0-9 $%*+\\-./:]|"+H+`)(?:.|[\r
|
|
2
2
|
]))+`;I.KANJI=new RegExp(H,"g");I.BYTE_KANJI=new RegExp("[^A-Z0-9 $%*+\\-./:]+","g");I.BYTE=new RegExp(cn,"g");I.NUMERIC=new RegExp(dt,"g");I.ALPHANUMERIC=new RegExp(sn,"g");var an=new RegExp("^"+H+"$"),un=new RegExp("^"+dt+"$"),ln=new RegExp("^[A-Z0-9 $%*+\\-./:]+$");I.testKanji=function(e){return an.test(e)};I.testNumeric=function(e){return un.test(e)};I.testAlphanumeric=function(e){return ln.test(e)}});var T=d(C=>{var fn=de(),he=ge();C.NUMERIC={id:"Numeric",bit:1,ccBits:[10,12,14]};C.ALPHANUMERIC={id:"Alphanumeric",bit:2,ccBits:[9,11,13]};C.BYTE={id:"Byte",bit:4,ccBits:[8,16,16]};C.KANJI={id:"Kanji",bit:8,ccBits:[8,10,12]};C.MIXED={bit:-1};C.getCharCountIndicator=function(e,t){if(!e.ccBits)throw new Error("Invalid mode: "+e);if(!fn.isValid(t))throw new Error("Invalid version: "+t);return t>=1&&t<10?e.ccBits[0]:t<27?e.ccBits[1]:e.ccBits[2]};C.getBestModeForData=function(e){return he.testNumeric(e)?C.NUMERIC:he.testAlphanumeric(e)?C.ALPHANUMERIC:he.testKanji(e)?C.KANJI:C.BYTE};C.toString=function(e){if(e&&e.id)return e.id;throw new Error("Invalid mode")};C.isValid=function(e){return e&&e.bit&&e.ccBits};function dn(n){if(typeof n!="string")throw new Error("Param is not a string");switch(n.toLowerCase()){case"numeric":return C.NUMERIC;case"alphanumeric":return C.ALPHANUMERIC;case"kanji":return C.KANJI;case"byte":return C.BYTE;default:throw new Error("Unknown mode: "+n)}}C.from=function(e,t){if(C.isValid(e))return e;try{return dn(e)}catch(r){return t}}});var pt=d(L=>{var Z=M(),gn=ue(),gt=Y(),N=T(),Ce=de(),Ct=7973,ht=Z.getBCHDigit(Ct);function hn(n,e,t){for(let r=1;r<=40;r++)if(e<=L.getCapacity(r,t,n))return r}function mt(n,e){return N.getCharCountIndicator(n,e)+4}function Cn(n,e){let t=0;return n.forEach(function(r){let o=mt(r.mode,e);t+=o+r.getBitsLength()}),t}function mn(n,e){for(let t=1;t<=40;t++)if(Cn(n,t)<=L.getCapacity(t,e,N.MIXED))return t}L.from=function(e,t){return Ce.isValid(e)?parseInt(e,10):t};L.getCapacity=function(e,t,r){if(!Ce.isValid(e))throw new Error("Invalid QR Code version");typeof r>"u"&&(r=N.BYTE);let o=Z.getSymbolTotalCodewords(e),i=gn.getTotalCodewordsCount(e,t),s=(o-i)*8;if(r===N.MIXED)return s;let c=s-mt(r,e);switch(r){case N.NUMERIC:return Math.floor(c/10*3);case N.ALPHANUMERIC:return Math.floor(c/11*2);case N.KANJI:return Math.floor(c/13);case N.BYTE:default:return Math.floor(c/8)}};L.getBestVersionForData=function(e,t){let r,o=gt.from(t,gt.M);if(Array.isArray(e)){if(e.length>1)return mn(e,o);if(e.length===0)return 1;r=e[0]}else r=e;return hn(r.mode,r.getLength(),o)};L.getEncodedBits=function(e){if(!Ce.isValid(e)||e<7)throw new Error("Invalid QR Code version");let t=e<<12;for(;Z.getBCHDigit(t)-ht>=0;)t^=Ct<<Z.getBCHDigit(t)-ht;return e<<12|t}});var It=d(yt=>{var me=M(),Et=1335,pn=21522,wt=me.getBCHDigit(Et);yt.getEncodedBits=function(e,t){let r=e.bit<<3|t,o=r<<10;for(;me.getBCHDigit(o)-wt>=0;)o^=Et<<me.getBCHDigit(o)-wt;return(r<<10|o)^pn}});var At=d((Cr,Bt)=>{var wn=T();function _(n){this.mode=wn.NUMERIC,this.data=n.toString()}_.getBitsLength=function(e){return 10*Math.floor(e/3)+(e%3?e%3*3+1:0)};_.prototype.getLength=function(){return this.data.length};_.prototype.getBitsLength=function(){return _.getBitsLength(this.data.length)};_.prototype.write=function(e){let t,r,o;for(t=0;t+3<=this.data.length;t+=3)r=this.data.substr(t,3),o=parseInt(r,10),e.put(o,10);let i=this.data.length-t;i>0&&(r=this.data.substr(t),o=parseInt(r,10),e.put(o,i*3+1))};Bt.exports=_});var St=d((mr,Mt)=>{var En=T(),pe=["0","1","2","3","4","5","6","7","8","9","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"," ","$","%","*","+","-",".","/",":"];function F(n){this.mode=En.ALPHANUMERIC,this.data=n}F.getBitsLength=function(e){return 11*Math.floor(e/2)+6*(e%2)};F.prototype.getLength=function(){return this.data.length};F.prototype.getBitsLength=function(){return F.getBitsLength(this.data.length)};F.prototype.write=function(e){let t;for(t=0;t+2<=this.data.length;t+=2){let r=pe.indexOf(this.data[t])*45;r+=pe.indexOf(this.data[t+1]),e.put(r,11)}this.data.length%2&&e.put(pe.indexOf(this.data[t]),6)};Mt.exports=F});var Nt=d((pr,Tt)=>{var yn=T();function x(n){this.mode=yn.BYTE,typeof n=="string"?this.data=new TextEncoder().encode(n):this.data=new Uint8Array(n)}x.getBitsLength=function(e){return e*8};x.prototype.getLength=function(){return this.data.length};x.prototype.getBitsLength=function(){return x.getBitsLength(this.data.length)};x.prototype.write=function(n){for(let e=0,t=this.data.length;e<t;e++)n.put(this.data[e],8)};Tt.exports=x});var qt=d((wr,Rt)=>{var In=T(),Bn=M();function D(n){this.mode=In.KANJI,this.data=n}D.getBitsLength=function(e){return e*13};D.prototype.getLength=function(){return this.data.length};D.prototype.getBitsLength=function(){return D.getBitsLength(this.data.length)};D.prototype.write=function(n){let e;for(e=0;e<this.data.length;e++){let t=Bn.toSJIS(this.data[e]);if(t>=33088&&t<=40956)t-=33088;else if(t>=57408&&t<=60351)t-=49472;else throw new Error("Invalid SJIS character: "+this.data[e]+`
|
|
3
3
|
Make sure your charset is UTF-8`);t=(t>>>8&255)*192+(t&255),n.put(t,13)}};Rt.exports=D});var Lt=d((Er,we)=>{"use strict";var V={single_source_shortest_paths:function(n,e,t){var r={},o={};o[e]=0;var i=V.PriorityQueue.make();i.push(e,0);for(var s,c,a,l,u,m,h,w,B;!i.empty();){s=i.pop(),c=s.value,l=s.cost,u=n[c]||{};for(a in u)u.hasOwnProperty(a)&&(m=u[a],h=l+m,w=o[a],B=typeof o[a]>"u",(B||w>h)&&(o[a]=h,i.push(a,h),r[a]=c))}if(typeof t<"u"&&typeof o[t]>"u"){var A=["Could not find a path from ",e," to ",t,"."].join("");throw new Error(A)}return r},extract_shortest_path_from_predecessor_list:function(n,e){for(var t=[],r=e,o;r;)t.push(r),o=n[r],r=n[r];return t.reverse(),t},find_path:function(n,e,t){var r=V.single_source_shortest_paths(n,e,t);return V.extract_shortest_path_from_predecessor_list(r,t)},PriorityQueue:{make:function(n){var e=V.PriorityQueue,t={},r;n=n||{};for(r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);return t.queue=[],t.sorter=n.sorter||e.default_sorter,t},default_sorter:function(n,e){return n.cost-e.cost},push:function(n,e){var t={value:n,cost:e};this.queue.push(t),this.queue.sort(this.sorter)},pop:function(){return this.queue.shift()},empty:function(){return this.queue.length===0}}};typeof we<"u"&&(we.exports=V)});var Ut=d(k=>{var f=T(),_t=At(),Ft=St(),xt=Nt(),Dt=qt(),O=ge(),X=M(),An=Lt();function Pt(n){return unescape(encodeURIComponent(n)).length}function K(n,e,t){let r=[],o;for(;(o=n.exec(t))!==null;)r.push({data:o[0],index:o.index,mode:e,length:o[0].length});return r}function kt(n){let e=K(O.NUMERIC,f.NUMERIC,n),t=K(O.ALPHANUMERIC,f.ALPHANUMERIC,n),r,o;return X.isKanjiModeEnabled()?(r=K(O.BYTE,f.BYTE,n),o=K(O.KANJI,f.KANJI,n)):(r=K(O.BYTE_KANJI,f.BYTE,n),o=[]),e.concat(t,r,o).sort(function(s,c){return s.index-c.index}).map(function(s){return{data:s.data,mode:s.mode,length:s.length}})}function Ee(n,e){switch(e){case f.NUMERIC:return _t.getBitsLength(n);case f.ALPHANUMERIC:return Ft.getBitsLength(n);case f.KANJI:return Dt.getBitsLength(n);case f.BYTE:return xt.getBitsLength(n)}}function Mn(n){return n.reduce(function(e,t){let r=e.length-1>=0?e[e.length-1]:null;return r&&r.mode===t.mode?(e[e.length-1].data+=t.data,e):(e.push(t),e)},[])}function Sn(n){let e=[];for(let t=0;t<n.length;t++){let r=n[t];switch(r.mode){case f.NUMERIC:e.push([r,{data:r.data,mode:f.ALPHANUMERIC,length:r.length},{data:r.data,mode:f.BYTE,length:r.length}]);break;case f.ALPHANUMERIC:e.push([r,{data:r.data,mode:f.BYTE,length:r.length}]);break;case f.KANJI:e.push([r,{data:r.data,mode:f.BYTE,length:Pt(r.data)}]);break;case f.BYTE:e.push([{data:r.data,mode:f.BYTE,length:Pt(r.data)}])}}return e}function Tn(n,e){let t={},r={start:{}},o=["start"];for(let i=0;i<n.length;i++){let s=n[i],c=[];for(let a=0;a<s.length;a++){let l=s[a],u=""+i+a;c.push(u),t[u]={node:l,lastCount:0},r[u]={};for(let m=0;m<o.length;m++){let h=o[m];t[h]&&t[h].node.mode===l.mode?(r[h][u]=Ee(t[h].lastCount+l.length,l.mode)-Ee(t[h].lastCount,l.mode),t[h].lastCount+=l.length):(t[h]&&(t[h].lastCount=l.length),r[h][u]=Ee(l.length,l.mode)+4+f.getCharCountIndicator(l.mode,e))}}o=c}for(let i=0;i<o.length;i++)r[o[i]].end=0;return{map:r,table:t}}function bt(n,e){let t,r=f.getBestModeForData(n);if(t=f.from(e,r),t!==f.BYTE&&t.bit<r.bit)throw new Error('"'+n+'" cannot be encoded with mode '+f.toString(t)+`.
|
|
4
4
|
Suggested mode is: `+f.toString(r));switch(t===f.KANJI&&!X.isKanjiModeEnabled()&&(t=f.BYTE),t){case f.NUMERIC:return new _t(n);case f.ALPHANUMERIC:return new Ft(n);case f.KANJI:return new Dt(n);case f.BYTE:return new xt(n)}}k.fromArray=function(e){return e.reduce(function(t,r){return typeof r=="string"?t.push(bt(r,null)):r.data&&t.push(bt(r.data,r.mode)),t},[])};k.fromString=function(e,t){let r=kt(e,X.isKanjiModeEnabled()),o=Sn(r),i=Tn(o,t),s=An.find_path(i.map,"start","end"),c=[];for(let a=1;a<s.length-1;a++)c.push(i.table[s[a]].node);return k.fromArray(Mn(c))};k.rawSplit=function(e){return k.fromArray(kt(e,X.isKanjiModeEnabled()))}});var zt=d(vt=>{var te=M(),ye=Y(),Nn=Ze(),Rn=et(),qn=tt(),Ln=ot(),Ae=it(),Me=ue(),Pn=lt(),ee=pt(),bn=It(),_n=T(),Ie=Ut();function Fn(n,e){let t=n.size,r=Ln.getPositions(e);for(let o=0;o<r.length;o++){let i=r[o][0],s=r[o][1];for(let c=-1;c<=7;c++)if(!(i+c<=-1||t<=i+c))for(let a=-1;a<=7;a++)s+a<=-1||t<=s+a||(c>=0&&c<=6&&(a===0||a===6)||a>=0&&a<=6&&(c===0||c===6)||c>=2&&c<=4&&a>=2&&a<=4?n.set(i+c,s+a,!0,!0):n.set(i+c,s+a,!1,!0))}}function xn(n){let e=n.size;for(let t=8;t<e-8;t++){let r=t%2===0;n.set(t,6,r,!0),n.set(6,t,r,!0)}}function Dn(n,e){let t=qn.getPositions(e);for(let r=0;r<t.length;r++){let o=t[r][0],i=t[r][1];for(let s=-2;s<=2;s++)for(let c=-2;c<=2;c++)s===-2||s===2||c===-2||c===2||s===0&&c===0?n.set(o+s,i+c,!0,!0):n.set(o+s,i+c,!1,!0)}}function kn(n,e){let t=n.size,r=ee.getEncodedBits(e),o,i,s;for(let c=0;c<18;c++)o=Math.floor(c/3),i=c%3+t-8-3,s=(r>>c&1)===1,n.set(o,i,s,!0),n.set(i,o,s,!0)}function Be(n,e,t){let r=n.size,o=bn.getEncodedBits(e,t),i,s;for(i=0;i<15;i++)s=(o>>i&1)===1,i<6?n.set(i,8,s,!0):i<8?n.set(i+1,8,s,!0):n.set(r-15+i,8,s,!0),i<8?n.set(8,r-i-1,s,!0):i<9?n.set(8,15-i-1+1,s,!0):n.set(8,15-i-1,s,!0);n.set(r-8,8,1,!0)}function Un(n,e){let t=n.size,r=-1,o=t-1,i=7,s=0;for(let c=t-1;c>0;c-=2)for(c===6&&c--;;){for(let a=0;a<2;a++)if(!n.isReserved(o,c-a)){let l=!1;s<e.length&&(l=(e[s]>>>i&1)===1),n.set(o,c-a,l),i--,i===-1&&(s++,i=7)}if(o+=r,o<0||t<=o){o-=r,r=-r;break}}}function vn(n,e,t){let r=new Nn;t.forEach(function(a){r.put(a.mode.bit,4),r.put(a.getLength(),_n.getCharCountIndicator(a.mode,n)),a.write(r)});let o=te.getSymbolTotalCodewords(n),i=Me.getTotalCodewordsCount(n,e),s=(o-i)*8;for(r.getLengthInBits()+4<=s&&r.put(0,4);r.getLengthInBits()%8!==0;)r.putBit(0);let c=(s-r.getLengthInBits())/8;for(let a=0;a<c;a++)r.put(a%2?17:236,8);return zn(r,n,e)}function zn(n,e,t){let r=te.getSymbolTotalCodewords(e),o=Me.getTotalCodewordsCount(e,t),i=r-o,s=Me.getBlocksCount(e,t),c=r%s,a=s-c,l=Math.floor(r/s),u=Math.floor(i/s),m=u+1,h=l-u,w=new Pn(h),B=0,A=new Array(s),Le=new Array(s),re=0,Zt=new Uint8Array(n.buffer);for(let b=0;b<s;b++){let ie=b<a?u:m;A[b]=Zt.slice(B,B+ie),Le[b]=w.encode(A[b]),B+=ie,re=Math.max(re,ie)}let oe=new Uint8Array(r),Pe=0,E,y;for(E=0;E<re;E++)for(y=0;y<s;y++)E<A[y].length&&(oe[Pe++]=A[y][E]);for(E=0;E<h;E++)for(y=0;y<s;y++)oe[Pe++]=Le[y][E];return oe}function Hn(n,e,t,r){let o;if(Array.isArray(n))o=Ie.fromArray(n);else if(typeof n=="string"){let l=e;if(!l){let u=Ie.rawSplit(n);l=ee.getBestVersionForData(u,t)}o=Ie.fromString(n,l||40)}else throw new Error("Invalid data");let i=ee.getBestVersionForData(o,t);if(!i)throw new Error("The amount of data is too big to be stored in a QR Code");if(!e)e=i;else if(e<i)throw new Error(`
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as J}from"./chunk-
|
|
1
|
+
import{a as J}from"./chunk-OC4DT5KZ.js";import{g as z,h as G}from"./chunk-6DLCMZ6T.js";import"./chunk-AUCTFIHK.js";import"./chunk-JHHOID44.js";import{a as H}from"./chunk-3GBRXCMR.js";import"./chunk-6TCXJK4F.js";import"./chunk-4EA2QRAL.js";import"./chunk-GSKZW67V.js";import"./chunk-4YGM4JKY.js";import"./chunk-ILSFAXUS.js";import"./chunk-ZNPTJE3D.js";import"./chunk-B227YYCQ.js";import"./chunk-PPMQE2JW.js";import"./chunk-NZFPGRBB.js";import"./chunk-CZ4D3CGF.js";import"./chunk-LJSWE6HK.js";import"./chunk-X7PYX457.js";import"./chunk-NFZWRCG7.js";import"./chunk-XSBZBBVE.js";import"./chunk-BUTFQ43B.js";import"./chunk-X57U7UOP.js";import"./chunk-EVOMMNG4.js";import{a as B}from"./chunk-2F7KZZBQ.js";import"./chunk-DJXVAHRZ.js";import"./chunk-TOSIAKSZ.js";import"./chunk-S7ZGXV2D.js";import"./chunk-VR7TSKSX.js";import{A as W,F as q,c as j,h as I,p as A}from"./chunk-DUKZEV2X.js";import"./chunk-QEFSVDT5.js";import"./chunk-EI2Q27OG.js";import"./chunk-GEAPD2GY.js";import"./chunk-3APSQ3EL.js";import"./chunk-PPTZHIIZ.js";import"./chunk-D2RYYRFL.js";import{n as V,q as k}from"./chunk-Q3OWCGSJ.js";import{Ab as f,Ac as h,Fb as l,Gb as a,Hb as o,Mb as _,Nb as v,Qd as O,Rb as L,Sd as P,Td as N,Ub as w,Vd as R,Wa as r,Wb as s,bb as c,ec as S,fb as M,jc as d,kb as D,ld as T,oc as y,pc as x,qc as b,ta as p,ua as u,yb as C,yd as E,zc as F}from"./chunk-QXHPRUBR.js";import"./chunk-NF7PG5F2.js";var U=()=>["/menu/Setup/Tag/Landed_Cost"],K=i=>({"is-invalid":i});function X(i,g){i&1&&(a(0,"div"),d(1,"Name is required"),o())}function Y(i,g){if(i&1&&(a(0,"div",17),C(1,X,2,0,"div"),o()),i&2){s();let e=S(20);r(),f(e.hasError("required")?1:-1)}}function Z(i,g){if(i&1){let e=L();a(0,"mainpanel-cmp",1),_(1,2),a(2,"div")(3,"a",3),d(4,"Cancel"),o(),a(5,"button",4),w("click",function(){p(e);let n=s();return u(n.onSubmit("Setup/Tag/SubmitLandedCostTag"))}),d(6," Save "),o()(),v(),_(7,5),a(8,"div",6)(9,"div",7)(10,"div",8)(11,"div",9)(12,"div",10)(13,"h3"),d(14,"General"),o()(),a(15,"div",11)(16,"div",12)(17,"div",13)(18,"div",14)(19,"input",15,0),b("ngModelChange",function(n){p(e);let m=s();return x(m.formData.Name,n)||(m.formData.Name=n),u(n)}),o(),a(21,"label",16),d(22,"Name"),o()(),C(23,Y,2,1,"div",17),o(),a(24,"div",13)(25,"div",18)(26,"textarea",19),b("ngModelChange",function(n){p(e);let m=s();return x(m.formData.Description,n)||(m.formData.Description=n),u(n)}),o(),a(27,"label",20),d(28,"Description"),o()()()()()()()()(),v(),o()}if(i&2){let e=S(20),t=s();l("pageData",t.menuData)("hideSearchDropdown",!0)("hideSearchBox",!0),r(3),l("routerLink",F(10,U)),r(2),l("disabled",!t.formData.Name),r(13),l("ngClass",h(11,K,e.invalid&&(e.dirty||e.touched))),r(),y("ngModel",t.formData.Name),l("ngClass",h(13,K,e.invalid&&(e.dirty||e.touched))),r(4),f(e.invalid&&(e.dirty||e.touched)?23:-1),r(3),y("ngModel",t.formData.Description)}}var Q=class i extends J{constructor(e,t,n,m,$){super(e,t,"Setup/Tag/LandedCostTagForm",n,"get");this.activatedRoute=n;this.router=m;this.toaster=$}activatedRoute;router;toaster;onSubmitSuccess(e){this.toaster.success("Success Submit Type Landed Cost Option Form",B.Success),this.router.navigate(["/menu/Setup/Tag/Landed_Cost"])}static \u0275fac=function(t){return new(t||i)(c(H),c(k),c(O),c(P),c(V))};static \u0275cmp=M({type:i,selectors:[["pos-landed-cost-option-form"]],features:[D],decls:1,vars:1,consts:[["name","ngModel"],[3,"pageData","hideSearchDropdown","hideSearchBox"],["ngProjectAs","actions",5,["actions"]],["role","button",1,"btn","btn-outline-secondary","me-5",3,"routerLink"],["type","button","role","button",1,"btn","btn-success",3,"click","disabled"],["ngProjectAs","content",5,["content"]],[1,"container-fluid","pt-10","pb-10","bg-light-gray","h-100"],[1,"row"],[1,"col-sm-7"],[1,"card"],[1,"card-header"],[1,"card-body"],[1,"row","d-flex","flex-column","gap-6"],[1,"col-sm-12"],[1,"form-floating-outline","mb-0",3,"ngClass"],["type","text","id","name","placeholder","Name","name","Name","required","",1,"form-control",3,"ngModelChange","ngModel","ngClass"],["for","name"],[1,"invalid-feedback"],[1,"form-floating-outline","mb-0"],["id","desc","placeholder","Description",1,"form-control","mb-3",2,"margin","0px",3,"ngModelChange","ngModel"],["for","desc"]],template:function(t,n){t&1&&C(0,Z,29,15,"mainpanel-cmp",1),t&2&&f(n.data&&n.formData?0:-1)},dependencies:[E,T,q,j,I,W,A,R,N,G,z],styles:["[_nghost-%COMP%]{display:block}input[_ngcontent-%COMP%], textarea[_ngcontent-%COMP%]{height:58px}textarea[_ngcontent-%COMP%]{resize:vertical}"]})};export{Q as LandedCostOptionFormComponent};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a as e}from"./chunk-PPTZHIIZ.js";import{la as n}from"./chunk-QXHPRUBR.js";var r={dashboard:{View:"DashV"},estimate:{Create:"EstC",Edit:"EstE",Delete:"EstD"},report:{View:"Rep",Advanced:"RepA",Profit:"RepF",Price:"RepP",Periodic:"RepPro",Purchase:"BuyR"},shift:{View:"Shift",Create:"ShiftC",Edit:"ShiftE",Void:"ShiftVo"},contact:{View:"Con",Create:"ConC",Edit:"ConE",Delete:"ConD",LoyaltyPointEditor:"LoyPE",ContactDetail:"ContD",ContactImageEditor:"ContE",Supplier:"Supp",SalesPerson:"SalP"},sell:{Create:"Sell",PricebookSelector:"PricebS",Edit:"SellE",Delete:"SellD",Number:"NumE",SalesPerson:"SalesmanE",Return:"Return",Discount:"Disc",UnitPriceEditor:"UnitPE",Commission:"Comms",Tax:"Tax",ProductInputLock:"ProductInputLock",CustomerInputLock:"CustL",Payment:"PayR",PriceVisible:"PriceV",PriceMinimum:"PriceM",Email:"Email",DeleteItem:"DelItm",Shipping:"Ship",PaymentCodeLock:"PayCL",EraseVoidOrd:"EraseVO",RestoreVoidOrd:"RestVO",RetrieveR:"RetrieveR",BundlingPrice:"BundlP",ClearCartRestriction:"ClearCartRestriction",CreditSalesLock:"CredSL",CouponInputLock:"CouponInputLock",Park:"Park"},orders:{View:"Ord",SupplierBill:"OrdB",VoidInvoice:"OrdVo",Print:"OrdRpr",NoteEditor:"OrdNe",Invoice:"OrdIr",Erase:"EraseVO",BinView:"OrdersBinView"},product:{View:"Prod",Delete:"ProdD",ImageEditor:"ImgE",Create:"ProdC",Edit:"ProdE",Cost:"Cost",BarcodePrinting:"BarP",DeleteAllOutletPrice:"DeleteAllOutletPrice",Expense:"Expense",CommissionView:"CommV",Price:"PriceV"},payment:{View:"Pay",Delete:"PayD",Create:"PayC",Edit:"PayE"},adjustment:{View:"Adj",Delete:"AdjD",Create:"AdjC",Edit:"AdjE",Approval:"AdjApp",InventoryProductCount:"InvPC"},buy:{Delete:"BuyD",Create:"Buy",Edit:"BuyE",Approval:"PurA",Report:"BuyR",RestoreVoidOrdB:"RestoreVoidOrdB"},buyRestriction:{CostMax:"CostMax",ShippingRestriction:"BuySh"},logistics:{View:"Del",Create:"DelC",Edit:"DelE",Delete:"DelD",TransferOrderEditor:"DelRE",Outbound:"FulF",TransferOrderApproval:"DelA",TransferOrderReceiver:"DelR",TransferOrderVoid:"DelV",LogisticScan:"LScan",AdvanceState:"DelS"},debt:{View:"Debt",Delete:"DebtD",Create:"DebtC",Edit:"DebtE"},prepaidPackage:{View:"Tre",Create:"TreC",Edit:"TreE",Delete:"TreD",TreatmentIncentive:"TreI",SharePackageEditor:"SharPacE",TreatmentNote:"TreN",Doctor:"Doct"},inventory:{View:"Inv",Edit:"InvE",Advanced:"InvAdv",Dashboard:"InvDas"},promotion:{View:"Prom",Create:"PromC",Edit:"PromE",Delete:"PromD",Coupon:"Cou",Pricebook:"Pri"},accounting:{View:"Act",Create:"ActC",Edit:"ActE",Delete:"ActD",Report:"ActRep",Ledger:"ActL",EmptyOutlet:"ActEO",ClosingEditor:"ActCE",Advanced:"ActRA",Recurring:"ActRec"},users:{View:"Use",Create:"UseC",Edit:"UseE",Delete:"UseD",Groups:"Gro",LoginTimeRestriction:"LogTR",UserIPRestriction:"UseIR",GroupsRestriction:"UseG",LogRestriction:"LogResct"},outlets:{View:"Out",Create:"OutC",Edit:"OutE",Delete:"OutD"},setup:{View:"Stp",Create:"StpC",Edit:"StpE",Delete:"StpD",Webhook:"StpWh",Developer:"StpDev"},service:{View:"Serv"},myProfile:{View:"Prof",Notification:"Notf",Subscription:"Subs",Activity:"Actv"},customerDisplay:{View:"Disp"},orderDisplay:{View:"KitD"},global:{Export:"Export",Number:"NumE",Date:"DateE",Print:"OrdRpr",SensitiveField:"GlobalSF"},apps:{Marketplace:"Mrp",Jurnal:"Jurnal",Tools:"Tools"},fulfillment:{View:"Ful",Edit:"FulE",Create:"FulC",Delete:"FulD",AdvanceState:"FulS"},manufacture:{View:"Man",Create:"ManC",Edit:"ManE",Delete:"ManD"},developer:{Api:"API",View:"Dev",Edit:"DevE"}};var u=class s{_roles=[];constructor(){this.parseJWTRoles()}parseJWTRoles(){let t=localStorage.getItem("Token");if(e.IsNotEmpty(t)){var l=e.parseJwt(t);this._roles=l["http://schemas.microsoft.com/ws/2008/06/identity/claims/role"]}}isInRole(t,l){let i={};return l.forEach((o,a)=>i[t[a]]=typeof o=="string"?this._roles.includes(o):o(this._roles)),i}isUserHasRole(t){return this._roles.includes(t)}_product=null;get product(){return e.IsEmpty(this._product)&&(this._product=this.setBulkRole("product")),this._product}_contact=null;get contact(){return e.IsEmpty(this._contact)&&(this._contact=this.setBulkRole("contact")),this._contact}_promotion=null;get promotion(){return e.IsEmpty(this._promotion)&&(this._promotion=this.setBulkRole("promotion")),this._promotion}_accounting=null;get accounting(){return e.IsEmpty(this._accounting)&&(this._accounting=this.setBulkRole("accounting")),this._accounting}_users=null;get users(){return e.IsEmpty(this._users)&&(this._users=this.setBulkRole("users")),this._users}_outlets=null;get outlets(){return e.IsEmpty(this._outlets)&&(this._outlets=this.setBulkRole("outlets")),this._outlets}_setup=null;get setup(){return e.IsEmpty(this._setup)&&(this._setup=this.setBulkRole("setup")),this._setup}_service=null;get service(){return e.IsEmpty(this._service)&&(this._service=this.setBulkRole("service")),this._service}_profile=null;get profile(){return e.IsEmpty(this._profile)&&(this._profile=this.setBulkRole("myProfile")),this._profile}_customerDisplay=null;get customerDisplay(){return e.IsEmpty(this._customerDisplay)&&(this._customerDisplay=this.setBulkRole("customerDisplay")),this._customerDisplay}_orderDisplay=null;get orderDisplay(){return e.IsEmpty(this._orderDisplay)&&(this._orderDisplay=this.setBulkRole("orderDisplay")),this._orderDisplay}_global=null;get global(){return e.IsEmpty(this._global)&&(this._global=this.setBulkRole("global")),this._global}_apps=null;get apps(){return e.IsEmpty(this._apps)&&(this._apps=this.setBulkRole("apps")),this._apps}_fulfillment=null;get fulfillment(){return e.IsEmpty(this._fulfillment)&&(this._fulfillment=this.setBulkRole("fulfillment")),this._fulfillment}_manufacture=null;get manufacture(){return e.IsEmpty(this._manufacture)&&(this._manufacture=this.setBulkRole("manufacture")),this._manufacture}_inventory=null;get inventory(){return e.IsEmpty(this._inventory)&&(this._inventory=this.setBulkRole("inventory")),this._inventory}_sell=null;get sell(){return e.IsEmpty(this._sell)&&(this._sell=this.setBulkRole("sell")),this._sell}_report=null;get report(){return e.IsEmpty(this._report)&&(this._report=this.setBulkRole("report")),this._report}_buy=null;get buy(){return e.IsEmpty(this._buy)&&(this._buy=this.setBulkRole("buy")),this._buy}_buyRestriction=null;get buyRestriction(){return e.IsEmpty(this._buyRestriction)&&(this._buyRestriction=this.setBulkRole("buyRestriction")),this._buyRestriction}_adjustment=null;get adjustment(){return e.IsEmpty(this._adjustment)&&(this._adjustment=this.setBulkRole("adjustment")),this._adjustment}_debt=null;get debt(){return e.IsEmpty(this._debt)&&(this._debt=this.setBulkRole("debt")),this._debt}_payment=null;get payment(){return e.IsEmpty(this._payment)&&(this._payment=this.setBulkRole("payment")),this._payment}_prepaidPackage=null;get prepaidPackage(){return e.IsEmpty(this._prepaidPackage)&&(this._prepaidPackage=this.setBulkRole("prepaidPackage")),this._prepaidPackage}_order=null;get order(){return e.IsEmpty(this._order)&&(this._order=this.setBulkRole("orders")),this._order}_logistic=null;get logistic(){return e.IsEmpty(this._logistic)&&(this._logistic=this.setBulkRole("logistics")),this._logistic}_estimate=null;get estimate(){return e.IsEmpty(this._estimate)&&(this._estimate=this.setBulkRole("estimate")),this._estimate}_shift=null;get shift(){return e.IsEmpty(this._shift)&&(this._shift=this.setBulkRole("shift")),this._shift}_developer=null;get developer(){return e.IsEmpty(this._developer)&&(this._developer=this.setBulkRole("developer")),this._developer}_dashboard=null;get dashboard(){return e.IsEmpty(this._dashboard)&&(this._dashboard=this.setBulkRole("dashboard")),this._dashboard}setBulkRole(t){let l={};for(let i in r[t])l[i]=this.isUserHasRole(r[t][i]);return l}get isSystemUser(){let t=localStorage.getItem("Token");return e.parseJwt(t).Type=="System"}resetRoles(){this._roles=[],this._accounting=null,this._adjustment=null,this._apps=null,this._buy=null,this._contact=null,this._customerDisplay=null,this._debt=null,this._fulfillment=null,this._estimate=null,this._global=null,this._inventory=null,this._logistic=null,this._manufacture=null,this._order=null,this._orderDisplay=null,this._outlets=null,this._payment=null,this._product=null,this._prepaidPackage=null,this._profile=null,this._promotion=null,this._report=null,this._sell=null,this._service=null,this._setup=null,this._shift=null,this._users=null,this._developer=null,this._dashboard=null,this._buyRestriction=null}toJSON(){return{product:this.product,contact:this.contact,promotion:this.promotion,accounting:this.accounting,users:this.users,outlets:this.outlets,setup:this.setup,service:this.service,profile:this.profile,customerDisplay:this.customerDisplay,orderDisplay:this.orderDisplay,global:this.global,apps:this.apps,fulfillment:this.fulfillment,manufacture:this.manufacture,inventory:this.inventory,sell:this.sell,report:this.report,buy:this.buy,adjustment:this.adjustment,debt:this.debt,payment:this.payment,prepaidPackage:this.prepaidPackage,order:this.order,logistic:this.logistic,estimate:this.estimate,shift:this.shift,developer:this.developer,dashboard:this.dashboard}}static \u0275fac=function(l){return new(l||s)};static \u0275prov=n({token:s,factory:s.\u0275fac,providedIn:"root"})};export{r as a,u as b};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a as re,b as oe,c as ie}from"./chunk-LJSWE6HK.js";import{a as e,b as I}from"./chunk-3APSQ3EL.js";import{a as Z}from"./chunk-PPTZHIIZ.js";import{a as ee}from"./chunk-D2RYYRFL.js";import{q as te}from"./chunk-Q3OWCGSJ.js";import{Ab as v,Cb as H,Db as w,Eb as G,J as Q,Jb as p,Kb as g,Lb as f,Md as X,Ra as O,Sb as M,Vb as z,Wa as l,Wb as C,ba as $,bb as E,fa as K,fb as Y,j as J,jc as b,kc as q,la as c,lc as j,m as P,oa as _,pa as T,t as W,ub as U,yb as R}from"./chunk-QXHPRUBR.js";import{a as k,b as L}from"./chunk-NF7PG5F2.js";function Ce(i,t){if(i&1&&f(0,"button",11),i&2){let r=C().$index;U("data-bs-slide-to",r)}}function Ie(i,t){if(i&1&&R(0,Ce,1,1,"button",11),i&2){let r=t.$index;v(r!=0?0:-1)}}function Ne(i,t){if(i&1&&(p(0,"div",3),f(1,"button",10),w(2,Ie,1,1,null,null,H),g()),i&2){let r=C();l(),U("data-bs-slide-to",0),l(),G(r.changelogs)}}function De(i,t){if(i&1&&(p(0,"div",12),f(1,"img",6),p(2,"div",7)(3,"h2")(4,"a",8),b(5),g()(),p(6,"p",9),b(7),g()()()),i&2){let r=C().$implicit;l(),M("src",r.ImageSource,O),l(3),M("href",r.Href,O),l(),q(r.Title),l(2),j(" ",r.Description," ")}}function Fe(i,t){if(i&1&&R(0,De,8,4,"div",12),i&2){let r=t.$index;v(r!=0?0:-1)}}var N=class i{constructor(t,r){this.dialogRef=r;this.changelogs=t}dialogRef;changelogs=[];close(){this.dialogRef.close()}static \u0275fac=function(r){return new(r||i)(E(oe),E(re))};static \u0275cmp=Y({type:i,selectors:[["POS-modal-changelog"]],decls:16,vars:5,consts:[[1,"changelog-container","h-100"],["mat-button","",1,"close",3,"click"],["id","carouselExampleIndicators","data-bs-ride","carousel",1,"carousel","slide"],[1,"carousel-indicators"],[1,"carousel-inner"],[1,"carousel-item","active"],["alt","",3,"src"],[1,"text-container",2,"height","150px","width","40vw","margin","0 auto"],["target","_blank",3,"href"],[1,"description"],["type","button","data-bs-target","#carouselExampleIndicators","aria-current","true",1,"active"],["type","button","data-bs-target","#carouselExampleIndicators","aria-current","true"],[1,"carousel-item"]],template:function(r,a){r&1&&(p(0,"div",0)(1,"button",1),z("click",function(){return a.close()}),b(2,"X"),g(),p(3,"div",2),R(4,Ne,4,1,"div",3),p(5,"div",4)(6,"div",5),f(7,"img",6),p(8,"div",7)(9,"h2")(10,"a",8),b(11),g()(),p(12,"p",9),b(13),g()()(),w(14,Fe,1,1,null,null,H),g()()()),r&2&&(l(4),v(a.changelogs.length>1?4:-1),l(3),M("src",a.changelogs[0].ImageSource,O),l(3),M("href",a.changelogs[0].Href,O),l(),q(a.changelogs[0].Title),l(2),j(" ",a.changelogs[0].Description," "),l(),G(a.changelogs))},styles:[".changelog-container[_ngcontent-%COMP%]{position:relative;text-align:center}.changelog-container[_ngcontent-%COMP%] .carousel.slide[_ngcontent-%COMP%]{height:100%}.changelog-container[_ngcontent-%COMP%] .carousel-indicators[_ngcontent-%COMP%] [data-bs-target][_ngcontent-%COMP%]{background-color:#dbdfea}.changelog-container[_ngcontent-%COMP%] .carousel-indicators[_ngcontent-%COMP%] .active[_ngcontent-%COMP%]{background-color:#19a7ce}.changelog-container[_ngcontent-%COMP%] .carousel-indicators[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{width:10px;height:10px;border-radius:10px;border:0}.changelog-container[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{aspect-ratio:16/9;max-height:55vh}@media(max-width:576px){.changelog-container[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{aspect-ratio:auto;width:100%}}.changelog-container[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{margin-top:20px}.changelog-container[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{margin-top:10px!important;margin-bottom:15px!important;max-width:700px;font-size:15px;margin:0 auto}.changelog-container[_ngcontent-%COMP%] .close[_ngcontent-%COMP%]{position:absolute;top:15px;right:20px;transform:translate(100%,-100%);background:#fff;padding:8px 13px;min-width:auto;border:none;border-radius:119px;z-index:2}@media(max-width:576px){.changelog-container[_ngcontent-%COMP%] .text-container[_ngcontent-%COMP%]{width:100%!important}}"]})};var Ae={headerTitle:"Adjustment",menu:[{label:"Archive",routerLink:"Adjustment/Adjustment/Archive",pageTitle:"Inventory Adjustment"},{label:"New Inventory Adjustment",routerLink:"Adjustment/Adjustment/Archive/Form",pageTitle:"New Inventory Adjustment",isNotTabOrSideMenu:!0},{label:"Adjustemnt",routerLink:"Adjustment/Adjustment/Archive/Info",pageTitle:"Inventory Adjustment Info",isNotTabOrSideMenu:!0},{label:"Stock Take by CSV",routerLink:"Adjustment/Adjustment/Stock_Take_by_CSV",pageTitle:"Stock Take By CSV"},{label:"Stock Take by CSV",routerLink:"Adjustment/Adjustment/Stock_Take_by_CSV/V1",pageTitle:"Stock Take By CSV",isNotTabOrSideMenu:!0},{label:"Stock Take by Web Spreadsheet",routerLink:"Adjustment/Adjustment/Stock_Take_by_Web_Spreadsheet",pageTitle:"Adjustment By Web Spreadsheet"}]},Be={headerTitle:"Tools",menu:[{label:"Count Product Inventory",routerLink:"Adjustment/Tools/Count_Product_Inventory",pageTitle:"Count Product Inventory"},{label:"Convert Unit to Parent",routerLink:"Adjustment/Tools/Convert_Inventory_to_Parent_UOM",pageTitle:"Convert Unit to Parent"},{label:"Product Sheet",routerLink:"Adjustment/Tools/Product_Sheet",pageTitle:"Product Sheet"}]},xe={headerTitle:"Report",menu:[{label:"Detail",routerLink:"Adjustment/Report/Adjustment",pageTitle:"Adjustment Report"},{label:"Last Count",routerLink:"Adjustment/Report/Last_Count",pageTitle:"Last Count"}]},Ve={headerTitle:"History",menu:[{label:"Variant Adjustment",routerLink:"Adjustment/History/Variant",pageTitle:"Variant Adjustment History"}]},ae=[Ae,Be,xe,Ve];var Ee={headerTitle:"Contact",menu:[{label:"Customers",routerLink:"Contacts/Contact/Customers",pageTitle:"Customers List"},{label:"Customer",routerLink:"Contacts/Contact/Customers/Form/Edit",pageTitle:"Customer Form",isNotTabOrSideMenu:!0},{label:"Customer",routerLink:"Contacts/Contact/Customers/Form/Create",pageTitle:"Customer Form",isNotTabOrSideMenu:!0},{label:"Import Customer",routerLink:"Contacts/Contact/Customers/Import",pageTitle:"Import Customer",isNotTabOrSideMenu:!0},{label:"Import Customer",routerLink:"Contacts/Contact/Customers/Import",pageTitle:"Import Customer",isNotTabOrSideMenu:!0},{label:"Suppliers",routerLink:"Contacts/Contact/Suppliers",pageTitle:"Suppliers List",role:"Supp"},{label:"New Supplier",routerLink:"Contacts/Contact/Suppliers/Form",pageTitle:"Supplier",isNotTabOrSideMenu:!0},{label:"Import Supplier",routerLink:"Contacts/Contact/Suppliers/Import",pageTitle:"Import Supplier",isNotTabOrSideMenu:!0},{label:"Supplier Info",routerLink:"Contacts/Contact/Suppliers/Info",pageTitle:"Supplier Info",isNotTabOrSideMenu:!0},{label:"Supplier Info",routerLink:"Contacts/Contact/Suppliers/Info/V2",pageTitle:"Supplier Info",isNotTabOrSideMenu:!0},{label:"Sales Person",routerLink:"Contacts/Contact/Sales_Person",pageTitle:"Sales Person",role:"SalP"},{label:"Sales",routerLink:"Contacts/Contact/Sales_Person/Form",pageTitle:"Sales",isNotTabOrSideMenu:!0},{label:"Import Sales Person",routerLink:"Contacts/Contact/Sales_Person/Import",pageTitle:"Import Sales Person",isNotTabOrSideMenu:!0},{label:"Import Sales Person",routerLink:"Contacts/Contact/Sales_Person/Import/V1",pageTitle:"Import Sales Person",isNotTabOrSideMenu:!0},{label:"Import Sales Person",routerLink:"Contacts/Contact/Sales_Person/Import/V2",pageTitle:"Import Sales Person",isNotTabOrSideMenu:!0},{label:"Sales Info",routerLink:"Contacts/Contact/Sales_Person/Info",pageTitle:"Sales Info",isNotTabOrSideMenu:!0},{label:"Feedback",routerLink:"Contacts/Contact/Feedback",pageTitle:"Feedback List"},{label:"App Sign In",routerLink:"Contacts/Contact/AppSignIn",pageTitle:"App Sign In"}]},Ue={headerTitle:"Loyalty",menu:[{label:"Current Point",routerLink:"Contacts/Loyalty/Current_Point",pageTitle:"Current Point"},{label:"Loyalty Point History",routerLink:"Contacts/Loyalty/Current_Point/Point_History",pageTitle:"Point History",isNotTabOrSideMenu:!0},{label:"Points Earned",routerLink:"Contacts/Loyalty/Earned_Point",pageTitle:"Points Earned"},{label:"Redeemed Point",routerLink:"Contacts/Loyalty/Redeemed_Point",pageTitle:"Loyalty Summary"},{label:"Loyalty Point Redemption",routerLink:"Contacts/Loyalty/Loyalty_Point_Redemption",pageTitle:"Daily Loyalty Point Redemption"}]},He={headerTitle:"Group",menu:[{label:"Customer Group",routerLink:"Contacts/Group/Customer_Group",pageTitle:"Customer Group"},{label:"Customer Group Form",routerLink:"Contacts/Group/Customer_Group/Form",pageTitle:"Customer Group Form",isNotTabOrSideMenu:!0},{label:"Sales Group",routerLink:"Contacts/Group/Sales_Group",pageTitle:"Sales Group"},{label:"Sales Group Form",routerLink:"Contacts/Group/Sales_Group/Form",pageTitle:"Sales Group Form",isNotTabOrSideMenu:!0},{label:"Expired Customer Group",routerLink:"Contacts/Group/Expired_Customer_Group",pageTitle:"Expired Customer Group"}]},we={headerTitle:"Option Values",menu:[{label:"Country",routerLink:"Contacts/Option_Values/Country",pageTitle:"Country List"},{label:"Country Form",routerLink:"Contacts/Option_Values/Country/Form",pageTitle:"Country Form",isNotTabOrSideMenu:!0},{label:"City",routerLink:"Contacts/Option_Values/City",pageTitle:"City List"},{label:"City Form",routerLink:"Contacts/Option_Values/City/Form",pageTitle:"City Form",isNotTabOrSideMenu:!0},{label:"Import City",routerLink:"Contacts/Option_Values/City/Import",pageTitle:"Import City",isNotTabOrSideMenu:!0},{label:"Nationality",routerLink:"Contacts/Option_Values/Nationality",pageTitle:"Nationality List"},{label:"Nationality Form",routerLink:"Contacts/Option_Values/Nationality/Form",pageTitle:"Nationality Form",isNotTabOrSideMenu:!0},{label:"Race",routerLink:"Contacts/Option_Values/Race",pageTitle:"Race List"},{label:"Race Form",routerLink:"Contacts/Option_Values/Race/Form",pageTitle:"Race Form",isNotTabOrSideMenu:!0},{label:"Acquisition Media",routerLink:"Contacts/Option_Values/Acqusition_Media",pageTitle:"Acquisition Media List"},{label:"Acquisition Media Form",routerLink:"Contacts/Option_Values/Acqusition_Media/Form",pageTitle:"Acquisition Media Form",isNotTabOrSideMenu:!0},{label:"Shipping Address",routerLink:"Contacts/Option_Values/Shipping_Address",pageTitle:"Shipping Address List"},{label:"Customer Title",routerLink:"Contacts/Option_Values/Customer_Title",pageTitle:"Customer Title List"},{label:"Customer Title Form",routerLink:"Contacts/Option_Values/Customer_Title/Form",pageTitle:"Customer Title Form",isNotTabOrSideMenu:!0}]},Ge={headerTitle:"Reports",menu:[{label:"New Customer Outlet",routerLink:"Contacts/Reports/New_Customer_Outlet",pageTitle:"New Customer Outlet"}]},ne=[Ee,Ue,He,we,Ge];var qe={headerTitle:"Delivery",menu:[{label:"New Order",routerLink:"Fulfillment/Delivery/New_Order",pageTitle:"New Order"},{label:"Pick",routerLink:"Fulfillment/Delivery/Pick",pageTitle:"Pick"},{label:"Pick Form",routerLink:"Fulfillment/Delivery/Pick/Form",pageTitle:"Pick Form",isNotTabOrSideMenu:!0},{label:"Assigned",routerLink:"Fulfillment/Delivery/Assigned",pageTitle:"Assigned"},{label:"Pack",routerLink:"Fulfillment/Delivery/Pack",pageTitle:"Pack"},{label:"Ship",routerLink:"Fulfillment/Delivery/Ship",pageTitle:"Ship"},{label:"All",routerLink:"Fulfillment/Delivery/All",pageTitle:"All"}]},je={headerTitle:"Allocated",menu:[{label:"Unfulfilled Products",routerLink:"Fulfillment/Allocated/Unfulfilled_Products",pageTitle:"Unfulfilled Products"},{label:"Unfulfilled Orders",routerLink:"Fulfillment/Allocated/Unfulfilled_Invoices",pageTitle:"Unfulfilled Orders"},{label:"Pick List Products",routerLink:"Fulfillment/Allocated/PickList_Products",pageTitle:"Pick List Products"}]},Je={headerTitle:"Awaiting",menu:[{label:"Products to Receive",routerLink:"Fulfillment/Awaiting/Products_To_Receive",pageTitle:"Products to Receive"}]},We={headerTitle:"Report",menu:[{label:"Outlet Performance",routerLink:"Fulfillment/Report/Outlet_Performance",pageTitle:"Outlet Performance"},{label:"Daily Fulfillment",routerLink:"Fulfillment/Report/Daily_Fulfillment",pageTitle:"Daily Fulfillment (Shipped)"},{label:"Employee Performance",routerLink:"Fulfillment/Report/Employee_Performance",pageTitle:"Employee Performance (Packed)"},{label:"Product",routerLink:"Fulfillment/Report/Product",pageTitle:"Product"}]},le=[qe,je,We,Je];var Qe={headerTitle:"Job Order",menu:[{label:"Archive",routerLink:"Manufacture/Job_Order/Archive",pageTitle:"Job Order List"},{label:"Job Order Form",routerLink:"Manufacture/Job_Order/Archive/Form",pageTitle:"Job Order Form",isNotTabOrSideMenu:!0},{label:"Job Order Form",routerLink:"Manufacture/Job_Order/Archive/FormV1",pageTitle:"Job Order Form",isNotTabOrSideMenu:!0},{label:"Job Order",routerLink:"Manufacture/Job_Order/Archive/Info",pageTitle:"Job Order Info",isNotTabOrSideMenu:!0},{label:"Report",routerLink:"Manufacture/Job_Order/Report",pageTitle:"Manufacture Production"},{label:"Detail",routerLink:"Manufacture/Job_Order/Report_Detail",pageTitle:"Manufacture Detail"}]},ue=[Qe];var $e={headerTitle:"Master",menu:[{label:"Outlets",routerLink:"Outlets/Master/Outlets",pageTitle:"Outlet List"},{label:"Import Outlet",routerLink:"Outlets/Master/Outlets/Import",pageTitle:"Import Outlet",isNotTabOrSideMenu:!0},{label:"Outlet Form",routerLink:"Outlets/Master/Outlets/Form",pageTitle:"New Outlet",isNotTabOrSideMenu:!0},{label:"Outlet Info",routerLink:"Outlets/Master/Outlets/Info",pageTitle:"Outlet Info",isNotTabOrSideMenu:!0},{label:"Registers",routerLink:"Outlets/Master/Registers",pageTitle:"Outlet Register List",isNotTabOrSideMenu:!1},{label:"Register Form",routerLink:"Outlets/Master/Registers/Form",pageTitle:"Register Form",isNotTabOrSideMenu:!0},{label:"Register Info",routerLink:"Outlets/Master/Registers/Info",pageTitle:"Register Info",isNotTabOrSideMenu:!0},{label:"Receipt Templates",routerLink:"Outlets/Master/Receipt_Templates",pageTitle:"Receipt Templates",isNotTabOrSideMenu:!1},{label:"Receipt Templates Form",routerLink:"Outlets/Master/Receipt_Templates/Form",pageTitle:"Receipt Templates Form",isNotTabOrSideMenu:!0},{label:"Receipt Templates Info",routerLink:"Outlets/Master/Receipt_Templates/Info",pageTitle:"Receipt Templates Info",isNotTabOrSideMenu:!0},{label:"Quick Key Templates",routerLink:"Outlets/Master/Quick_Key_Templates",pageTitle:"Quick Key Templates",isNotTabOrSideMenu:!1},{label:"Quick Key Form",routerLink:"Outlets/Master/Quick_Key_Templates/Form",pageTitle:"Quick Key Form",isNotTabOrSideMenu:!0},{label:"Quick Key Form",routerLink:"Outlets/Master/Quick_Key_Templates/Form/V2",pageTitle:"Quick Key Form",isNotTabOrSideMenu:!0},{label:"Park Layout Templates",routerLink:"Outlets/Master/Park_Layout_Templates",pageTitle:"Park Layout Templates",isNotTabOrSideMenu:!1},{label:"Park Layout Template Form",routerLink:"Outlets/Master/Park_Layout_Templates/Form",pageTitle:"Park Layout Template Form",isNotTabOrSideMenu:!0},{label:"Customer Display",routerLink:"Outlets/Master/Customer_Display",pageTitle:"Customer Display",isNotTabOrSideMenu:!1},{label:"Customer Display Form",routerLink:"Outlets/Master/Customer_Display/Form",pageTitle:"Customer Display Form",isNotTabOrSideMenu:!0}]},Ke={headerTitle:"Setup",menu:[{label:"Outlet Group",routerLink:"Outlets/Setup/List",pageTitle:"Outlet Group"},{label:"Outlet Group Form",routerLink:"Outlets/Setup/List/Form",pageTitle:"Outlet Group Form",isNotTabOrSideMenu:!0}]},se=[$e,Ke];var Ye={headerTitle:"Default",menu:[{label:"Received",routerLink:"Payment/Default/Received",pageTitle:"Received Payment"},{label:"Import Payment",routerLink:"Payment/Default/Received/Import_Payment",pageTitle:"Import Payment",isNotTabOrSideMenu:!0},{label:"Import Payment",routerLink:"Payment/Default/Received/Import_Payment/V2",pageTitle:"Import Payment",isNotTabOrSideMenu:!0},{label:"Import Payment",routerLink:"Payment/Default/Received/Import_Payment_Note",pageTitle:"Import Payment Note",isNotTabOrSideMenu:!0},{label:"Adding New Bulk Payment",routerLink:"Payment/Default/Received/Bulk_Payment",pageTitle:"Bulk Payment",isNotTabOrSideMenu:!0},{label:"Received Chart",routerLink:"Payment/Default/Received_Chart",pageTitle:"Payment Received Chart"},{label:"By Outlet",routerLink:"Payment/Default/Received_by_Outlet",pageTitle:"Payments Received By Group"},{label:"Daily",routerLink:"Payment/Default/Daily",pageTitle:"Daily Payment Received"},{label:"Detail",routerLink:"Payment/Default/Detail",pageTitle:"Record Payment Detail"},{label:"Daily Payment Received Detail",routerLink:"Payment/Default/Detail/TypeColumn",pageTitle:"Payment Received With Type Column",isNotTabOrSideMenu:!0},{label:"Method Analysis",routerLink:"Payment/Default/Top_Payment_Methods",pageTitle:"Top Payment Methods"},{label:"Payments Made",routerLink:"Payment/Default/Made",pageTitle:"Daily Payment Made"},{label:"Purchase Order Payment Detail",routerLink:"Payment/Default/Made/Detail",pageTitle:"Purchase Order Payment Detail",isNotTabOrSideMenu:!0},{label:"Write Off",routerLink:"Payment/Default/Write_Off",pageTitle:"Write Off"},{label:"Payment Gateway",routerLink:"Payment/Default/Payment_Gateway",pageTitle:"Payment Gateway"},{label:"Write Off Item",routerLink:"Payment/Default/Write_Off_Item",pageTitle:"Write Off Item"},{label:"Payment Gateway Daily Aggregate",routerLink:"Payment/Default/Payment_Gateway/Daily",pageTitle:"Payment Gateway Daily Aggregate",isNotTabOrSideMenu:!0}]},ze={headerTitle:"Advance",menu:[{label:"Received By User",routerLink:"Payment/Advance/Received_by_User",pageTitle:"Received By User"},{label:"Payments Difference",routerLink:"Payment/Advance/Payments_Difference",pageTitle:"Payments Difference Date"}]},pe=[Ye,ze];var Xe={headerTitle:"Catalog",menu:[{label:"Category",routerLink:"Products/Catalog/Categories",pageTitle:"Product Category Tree"},{label:"New Category",routerLink:"Products/Catalog/Categories/Form",pageTitle:"Product Category",isNotTabOrSideMenu:!0},{label:"Category Info",routerLink:"Products/Catalog/Categories/Info",pageTitle:"Categories Info",isNotTabOrSideMenu:!0},{label:"Products",routerLink:"Products/Catalog/Products",pageTitle:"Products"},{label:"New Product",routerLink:"Products/Catalog/Products/Form",pageTitle:"Product Form",isNotTabOrSideMenu:!0},{label:"New Product",routerLink:"Products/Catalog/Products/Form/Update",pageTitle:"Product Form",isNotTabOrSideMenu:!0},{label:"Product Inventory",routerLink:"Products/Catalog/Products/Inventory",pageTitle:"Product Inventory",isNotTabOrSideMenu:!0},{label:"Import Product",routerLink:"Products/Catalog/Products/Import",pageTitle:"Import Product",isNotTabOrSideMenu:!0},{label:"Import Product",routerLink:"Products/Catalog/Products/ImportV2",pageTitle:"Import Product",isNotTabOrSideMenu:!0},{label:"Import Product",routerLink:"Products/Catalog/Products/ImportV3",pageTitle:"Import Product",isNotTabOrSideMenu:!0},{label:"Variants",routerLink:"Products/Catalog/Variants",pageTitle:"Variants"},{label:"Variant Form",routerLink:"Products/Catalog/Variants/Form",pageTitle:"Variant Form",isNotTabOrSideMenu:!0},{label:"Variant Inventory Log",routerLink:"Products/Catalog/Variants/Log",pageTitle:"Stock Log",isNotTabOrSideMenu:!0},{label:"Serial",routerLink:"Products/Catalog/Serial",pageTitle:"Serial"},{label:"Serial Form",routerLink:"Products/Catalog/Serial/Form",pageTitle:"Serial Form",isNotTabOrSideMenu:!0},{label:"Serial Import",routerLink:"Products/Catalog/Serial/Import",pageTitle:"Serial Import",isNotTabOrSideMenu:!0},{label:"Serial Import",routerLink:"Products/Catalog/Serial/Import/V2",pageTitle:"Serial Import",isNotTabOrSideMenu:!0}]},Ze={headerTitle:"Price Editor",menu:[{label:"Custom Outlet Price",routerLink:"Products/Price_Editor/Custom_Outlet_Price",pageTitle:"Custom Outlet Price"}]},et={headerTitle:"Log",menu:[{label:"Variant History",routerLink:"Products/Log/Variant_History",pageTitle:"Variant Update History"},{label:"Product Update History",routerLink:"Products/Log/Product_History",pageTitle:"Product Update History"},{label:"Product Import Log",routerLink:"Products/Log/Product_Import_Log",pageTitle:"Product Import Log"}]},tt={headerTitle:"Setup",menu:[{label:"Brand",routerLink:"Products/Setup/Brand",pageTitle:"Brand"},{label:"Brand Form",routerLink:"Products/Setup/Brand/Brand_Form",pageTitle:"Brand Form",isNotTabOrSideMenu:!0},{label:"Brand Info",routerLink:"Products/Setup/Brand/Brand_Info",pageTitle:"Brand Info",isNotTabOrSideMenu:!0},{label:"Measurement",routerLink:"Products/Setup/Measurement",pageTitle:"Measurement List"},{label:"Measurement Form",routerLink:"Products/Setup/Measurement/Form",pageTitle:"Measurement Form",isNotTabOrSideMenu:!0},{label:"Tags",routerLink:"Products/Setup/Tags",pageTitle:"Tags"},{label:"Tags Form",routerLink:"Products/Setup/Tags/Tags_Form",pageTitle:"Tags Form",isNotTabOrSideMenu:!0},{label:"Tags Info",routerLink:"Products/Setup/Tags/Info",pageTitle:"Tags Info",isNotTabOrSideMenu:!0},{label:"Tags Form",routerLink:"Products/Setup/Tags/Form",pageTitle:"Tags Form",isNotTabOrSideMenu:!0},{label:"UOM",routerLink:"Products/Setup/UOM",pageTitle:"UOM List"},{label:"UOM Form",routerLink:"Products/Setup/UOM/Form",pageTitle:"UOM Form",isNotTabOrSideMenu:!0},{label:"Storage Location",routerLink:"Products/Setup/Storages",pageTitle:"Storage Location Option Tree"},{label:"New Storage",routerLink:"Products/Setup/Storages/Form",pageTitle:"Storage Location",isNotTabOrSideMenu:!0}]},de=[Xe,Ze,et,tt];var rt={headerTitle:"Main",menu:[{label:"Promotion Event",routerLink:"Promotion/Main/Event",pageTitle:"Promotion Event"},{label:"Info",routerLink:"Promotion/Main/Event/Info",pageTitle:"Info",isNotTabOrSideMenu:!0},{label:"Promotion Event Form",routerLink:"Promotion/Main/Event/Form",pageTitle:"Promotion Event Form",isNotTabOrSideMenu:!0},{label:"Promotion Coupon",routerLink:"Promotion/Main/Coupon",pageTitle:"Promotion Coupon"},{label:"Info",routerLink:"Promotion/Main/Coupon/Info",pageTitle:"Info",isNotTabOrSideMenu:!0},{label:"Generate Coupon",routerLink:"Promotion/Main/Coupon/Form",pageTitle:"Generate Coupon",isNotTabOrSideMenu:!0},{label:"Pricebook",routerLink:"Promotion/Main/Pricebook",pageTitle:"Pricebook"},{label:"Pricebook Info",routerLink:"Promotion/Main/Pricebook/Info",pageTitle:"Pricebook Info",isNotTabOrSideMenu:!0},{label:"Pricebook Form",routerLink:"Promotion/Main/Pricebook/Form",pageTitle:"Pricebook Form",isNotTabOrSideMenu:!0}]},ce=[rt];var ot={headerTitle:"Payment",menu:[{label:"Payment",routerLink:"Setup/Payment/Payment",pageTitle:"Payment Method List"},{label:"Payment Method Form",routerLink:"Setup/Payment/Payment/Form",pageTitle:"Payment Method Form",isNotTabOrSideMenu:!0},{label:"Tax",routerLink:"Setup/Payment/Tax",pageTitle:"Tax Type(S)"},{label:"Tax Form",routerLink:"Setup/Payment/Tax/Form",pageTitle:"Tax Type Form",isNotTabOrSideMenu:!0},{label:"Currency",routerLink:"Setup/Payment/Currency",pageTitle:"Currency List"},{label:"Currency Form",routerLink:"Setup/Payment/Currency/Form",pageTitle:"Currency Form",isNotTabOrSideMenu:!0},{label:"Bank Note",routerLink:"Setup/Payment/Bank_Note",pageTitle:"Bank Note List"},{label:"Bank Note Form",routerLink:"Setup/Payment/Bank_Note/Form",pageTitle:"Bank Note Form",isNotTabOrSideMenu:!0},{label:"Invoice Number",routerLink:"Setup/Payment/Invoice_Number",pageTitle:"Invoice Number List"}]},it={headerTitle:"Tag",menu:[{label:"Sales Order",routerLink:"Setup/Tag/Sales_Order",pageTitle:"Sales Order Tag(S)"},{label:"Sales Order Tag Form",routerLink:"Setup/Tag/Sales_Order/Form",pageTitle:"Sales Order Tag Form",isNotTabOrSideMenu:!0},{label:"Purchase Order",routerLink:"Setup/Tag/Purchase_Order",pageTitle:"Purchase Order Tag(S)"},{label:"Adjustment",routerLink:"Setup/Tag/Adjustment",pageTitle:"Adjustment Tag(S)"},{label:"Adjustment Tag Form",routerLink:"Setup/Tag/Adjustment/Form",pageTitle:"Adjustment Tag Form",isNotTabOrSideMenu:!0},{label:"Purchase Order Tag Form",routerLink:"Setup/Tag/Purchase_Order/Form",pageTitle:"Purchase Order Tag Form",isNotTabOrSideMenu:!0},{label:"Transfer Order",routerLink:"Setup/Tag/Transfer_Order",pageTitle:"Transfer Order Tag(S)"},{label:"Transfer Order Tag Form",routerLink:"Setup/Tag/Transfer_Order/Form",pageTitle:"Transfer Order Tag Form",isNotTabOrSideMenu:!0},{label:"Write Off Option",routerLink:"Setup/Tag/Write_Off_Option",pageTitle:"Write Off Option"},{label:"Write Off Option Form",routerLink:"Setup/Tag/Write_Off_Option/Form",pageTitle:"Write Off Option Form",isNotTabOrSideMenu:!0},{label:"Shift Expense",routerLink:"Setup/Tag/Shift_Expense_Option",pageTitle:"Shift Expense"},{label:"Shift Expense Form",routerLink:"Setup/Tag/Shift_Expense_Option/Form",pageTitle:"Shift Expense Form",isNotTabOrSideMenu:!0},{label:"Landed Cost",routerLink:"Setup/Tag/Landed_Cost",pageTitle:"Landed Cost"},{label:"Landed Cost Form",routerLink:"Setup/Tag/Landed_Cost/Form",pageTitle:"Landed Cost Form",isNotTabOrSideMenu:!0},{label:"PO Notes",routerLink:"Setup/Tag/PO_Notes",pageTitle:"PO Notes"},{label:"PO Notes Form",routerLink:"Setup/Tag/PO_Notes/Form",pageTitle:"PO Notes Form",isNotTabOrSideMenu:!0},{label:"Payment Method",routerLink:"Setup/Tag/Payment_Method",pageTitle:"Payment Method Tag"},{label:"Payment Method Form",routerLink:"Setup/Tag/Payment_Method/Form",pageTitle:"Payment Method Form",isNotTabOrSideMenu:!0},{label:"Logistics Service",routerLink:"Setup/Tag/Logistics_Service",pageTitle:"Logistics Service"},{label:"Logistics Service Form",routerLink:"Setup/Tag/Logistics_Service/Form",pageTitle:"Logistics Service Form",isNotTabOrSideMenu:!0},{label:"Logistics Service Info",routerLink:"Setup/Tag/Logistics_Service/Info",pageTitle:"Logistics Service Info",isNotTabOrSideMenu:!0}]},at={headerTitle:"Restriction",menu:[{label:"IP Restriction",routerLink:"Setup/Restriction/IP",pageTitle:"IP Restriction"},{label:"Time Restriction",routerLink:"Setup/Restriction/Time",pageTitle:"Time Restriction"},{label:"Geo Restriction",routerLink:"Setup/Restriction/Geo",pageTitle:"Geo Restriction"}]},nt={headerTitle:"Integration",menu:[{label:"Apps",routerLink:"Setup/Integration/Apps",pageTitle:"Apps"}]},lt={headerTitle:"Data",menu:[{label:"Format Data",routerLink:"Setup/Data/Format_Data",pageTitle:"Format Data"}]},ge=[ot,it,at,lt,nt];var ut={headerTitle:"Main",menu:[{label:"My Shift",routerLink:"Shift/Main/My_Shift",pageTitle:"My Shift"},{label:"Active Shift",routerLink:"Shift/Main/Active_Shift",pageTitle:"Active Shift"},{label:"Previous Shift",routerLink:"Shift/Main/Previous_Shift",pageTitle:"Previous Shift"},{label:"Shift Expense",routerLink:"Shift/Main/Expense",pageTitle:"Shift Expense"},{label:"Register Shift Form",routerLink:"Shift/Main/Previous_Shift/Register_Shift_Form",pageTitle:"Register Shift Form",isNotTabOrSideMenu:!0},{label:"Shift",routerLink:"Shift/Main/Previous_Shift/Register_Shift_Detail",pageTitle:"Register Shift Detail",isNotTabOrSideMenu:!0}]},st={headerTitle:"Recycle Bin",menu:[{label:"Shift",routerLink:"Shift/Recycle_Bin/Voided_Shift",pageTitle:"Voided Shift"}]},me=[ut,st];var pt={headerTitle:"User",menu:[{label:"Users",routerLink:"Users/User/Users",pageTitle:"User List"},{label:"New User Form",routerLink:"Users/User/Users/Form",pageTitle:"New User Form",isNotTabOrSideMenu:!0},{label:"User Info",routerLink:"Users/User/Users/Info",pageTitle:"User Info",isNotTabOrSideMenu:!0},{label:"Groups",routerLink:"Users/User/Groups",pageTitle:"Group List"},{label:"Group Info",routerLink:"Users/User/Groups/Info",pageTitle:"Group Info",isNotTabOrSideMenu:!0},{label:"New Group Form",routerLink:"Users/User/Groups/Form",pageTitle:"New Group Form",isNotTabOrSideMenu:!0},{label:"Roles",routerLink:"Users/User/Roles",pageTitle:"Role List"},{label:"Role Form",routerLink:"Users/User/Roles/Form",pageTitle:"Role Form",isNotTabOrSideMenu:!0},{label:"Role Info",routerLink:"Users/User/Roles/Info",pageTitle:"Role Info",isNotTabOrSideMenu:!0}]},dt={headerTitle:"History",menu:[{label:"Login History",routerLink:"Users/History/Login_History",pageTitle:"Login History List"},{label:"User Update History",routerLink:"Users/History/User_Update_History",pageTitle:"User Update History"},{label:"Group Update History",routerLink:"Users/History/Group_Update_History",pageTitle:"Group Update History"}]},Te=[pt,dt];var ct={headerTitle:"Orders",menu:[{label:"Customer Invoice",routerLink:"Orders/Orders/Customer_Invoice",pageTitle:"Customer Invoice",role:e.orders.Invoice},{label:"Customer Invoice",routerLink:"Orders/Orders/Customer_Invoice/Info",pageTitle:"Customer Invoice Info",isNotTabOrSideMenu:!0},{label:"Import Invoice",routerLink:"Orders/Orders/Customer_Invoice/Import",pageTitle:"Import Invoice",isNotTabOrSideMenu:!0},{label:"Import Order",routerLink:"Orders/Orders/Customer_Invoice/Import/V2",pageTitle:"Import Order",isNotTabOrSideMenu:!0},{label:"Import Payment Note",routerLink:"Orders/Orders/Customer_Invoice/Import_Payment_Note",pageTitle:"Import Payment Note",isNotTabOrSideMenu:!0},{label:"Supplier Bill",routerLink:"Orders/Orders/Supplier_Bill",pageTitle:"Supplier Bill",role:e.orders.SupplierBill},{label:"Supplier Bill Info",routerLink:"Orders/Orders/Supplier_Bill/Info",pageTitle:"Supplier Bill Info",isNotTabOrSideMenu:!0},{label:"Summary Delivery",routerLink:"Orders/Orders/Supplier_Bill/Summary",pageTitle:"Summary Delivery",isNotTabOrSideMenu:!0},{label:"Import Purchase Order",routerLink:"Orders/Orders/Supplier_Bill/Import",pageTitle:"Import Supplier Bill",isNotTabOrSideMenu:!0},{label:"Import Purchase Order",routerLink:"Orders/Orders/Supplier_Bill/Import/V1",pageTitle:"Import Purchase Order",isNotTabOrSideMenu:!0},{label:"Estimate",routerLink:"Orders/Orders/Estimate",pageTitle:"Estimate",role:e.estimate.Create},{label:"Estimate Info",routerLink:"Orders/Orders/Estimate/Info",pageTitle:"Estimate Info",isNotTabOrSideMenu:!0,role:e.estimate.Create},{label:"Import Estimate",routerLink:"Orders/Orders/Estimate/Import",pageTitle:"Import Estimate",isNotTabOrSideMenu:!0,role:e.estimate.Create},{label:"Import Estimate",routerLink:"Orders/Orders/Estimate/Import/V2",pageTitle:"Import Estimate",isNotTabOrSideMenu:!0,role:e.estimate.Create},{label:"Sales Return",routerLink:"Orders/Orders/Sales_Return",pageTitle:"Sales Return"},{label:"Sales Return Info",routerLink:"Orders/Orders/Sales_Return/Info",pageTitle:"Sales Return Info",isNotTabOrSideMenu:!0}]},gt={headerTitle:"Order",menu:[{label:"Sales Order",routerLink:"Orders/Order/Sales_Order",pageTitle:"Sales Order"},{label:"Sales Order Info",routerLink:"Orders/Order/Sales_Order/Info",pageTitle:"Sales Order Info",isNotTabOrSideMenu:!0},{label:"Purchase Order",routerLink:"Orders/Order/Purchase_Order",pageTitle:"Purchase Order"},{label:"Purchase Order Info",routerLink:"Orders/Order/Purchase_Order/Info",pageTitle:"Purchase Order Info",isNotTabOrSideMenu:!0},{label:"Parked Order",routerLink:"Orders/Order/Parked_Order",pageTitle:"Parked Order"},{label:"Parked Order Info",routerLink:"Orders/Order/Sales_Order/Info",pageTitle:"Parked Order Info",isNotTabOrSideMenu:!0},{label:"Client Number",routerLink:"Orders/Order/Client_Number",pageTitle:"Client Number"}]},mt={headerTitle:"Search",menu:[{label:"Search Serial",routerLink:"Orders/Search/Serial",pageTitle:"Search Serial"},{label:"Search Note",routerLink:"Orders/Search/Note",pageTitle:"Search Note"}]},Tt={headerTitle:"Advanced",menu:[{label:"Fulfillment Schedule",routerLink:"Orders/Advanced/Fulfillment_Schedule",pageTitle:"Fulfillment Schedule"},{label:"8cm Bulk Invoice",routerLink:"Orders/Advanced/Print/Bulk_Invoice",pageTitle:"8cm Bulk Invoice",role:"OrdRpr"},{label:"A4 Bulk Invoice",routerLink:"Orders/Advanced/Print/Bulk_Invoice_A4",pageTitle:"A4 Bulk Invoice",role:"OrdRpr"},{label:"Bulk Packing Slip",routerLink:"Orders/Advanced/Print/Bulk_PackingSlip",pageTitle:"Bulk Packing Slip",role:"OrdRpr"},{label:"Reprint History",routerLink:"Orders/Advanced/Reprint/History",pageTitle:"Reprint History",role:"OrdRpr"},{label:"Reprint History - Aggregate View",routerLink:"Orders/Advanced/Reprint/History/Aggregate",pageTitle:"Reprint History - Aggregate View",role:"OrdRpr",isNotTabOrSideMenu:!0}]},bt={headerTitle:"Log History",menu:[{label:"Invoice",routerLink:"Orders/Log_History/Update/Invoice_Update",pageTitle:"Invoice Update History"},{label:"Bill",routerLink:"Orders/Log_History/Update/SupplierInvoice_Update",pageTitle:"Bill Update History"}]},St={headerTitle:"Recycle Bin",requiredRoles:[e.orders.BinView],menu:[{label:"Invoice",routerLink:"Orders/Recycle_Bin/Invoice",pageTitle:"Voided Invoice"},{label:"Bill",routerLink:"Orders/Recycle_Bin/Supplier_Bill",pageTitle:"Voided Bill"},{label:"Sales Order",routerLink:"Orders/Recycle_Bin/Sales_Order",pageTitle:"Voided Sales Order"}]},be=[ct,gt,mt,bt,Tt,St];var yt={headerTitle:"Debt",menu:[{label:"Accounts Receiveable",routerLink:"Debt/Debt/Accounts_Receiveable/Dashboard",pageTitle:"Accounts Receiveable"},{label:"Accounts Receiveable",routerLink:"Debt/Debt/Accounts_Receiveable/Dashboard/List",pageTitle:"Accounts Receiveable",isNotTabOrSideMenu:!0},{label:"Accounts Receiveable Detail",routerLink:"Debt/Debt/Accounts_Receiveable/Dashboard/Accounts_Receiveable_Detail",pageTitle:"Accounts Receiveable Detail",isNotTabOrSideMenu:!0},{label:"Accounts Payable",routerLink:"Debt/Debt/Accounts_Payable/Dashboard",pageTitle:"Accounts Payable"},{label:"Accounts Payable",routerLink:"Debt/Debt/Accounts_Payable/Dashboard/List",pageTitle:"Accounts Payable",isNotTabOrSideMenu:!0},{label:"Accounts Payable Detail",routerLink:"Debt/Debt/Accounts_Payable/Dashboard/Accounts_Payable_Detail",pageTitle:"Accounts Payable Detail",isNotTabOrSideMenu:!0},{label:"Join Invoice",routerLink:"Debt/Debt/Join_Invoice",pageTitle:"Join Invoice"},{label:"New Join Invoice",routerLink:"Debt/Debt/Join_Invoice/Form",pageTitle:"New Join Invoice",isNotTabOrSideMenu:!0},{label:"AR Collection",routerLink:"Debt/Debt/Join_Invoice/New_Join_Invoice/Info",pageTitle:"Join Invoice Info",isNotTabOrSideMenu:!0},{label:"Join Bill",routerLink:"Debt/Debt/Join_Bill",pageTitle:"Join Bill"},{label:"New Join Bill",routerLink:"Debt/Debt/Join_Bill/New_Join_Bill",pageTitle:"New Join Bill",isNotTabOrSideMenu:!0},{label:"AP Collection",routerLink:"Debt/Debt/Join_Bill/New_Join_Bill/Info",pageTitle:"Join Bill Info",isNotTabOrSideMenu:!0}]},kt={headerTitle:"Report",menu:[{label:"Invoice Aging",routerLink:"Debt/Report/Invoice_Aging",pageTitle:"Customer Invoice Aging"},{label:"Bill Aging",routerLink:"Debt/Report/Bill_Aging",pageTitle:"Supplier Bill Aging"},{label:"AR History",routerLink:"Debt/Report/AR_History",pageTitle:"Account Receiveable History"}]},Lt={headerTitle:"Setup",menu:[{label:"Payment Discount Illustration Setup",routerLink:"Debt/Setup/Payment_Discount_Illustration_Setup",pageTitle:"Payment Discount Illustration Setup"},{label:"Payment Discount Illustration Setup Form",routerLink:"Debt/Setup/Payment_Discount_Illustration_Setup/Form",pageTitle:"Payment Discount Illustration Setup Form",isNotTabOrSideMenu:!0},{label:"Due Setup",routerLink:"Debt/Setup/Due_Setup",pageTitle:"Due Setup"},{label:"Payment Discount Illustration",routerLink:"Debt/Setup/Payment_Discount_Illustration",pageTitle:"A/R Statement"}]},Se=[yt,kt,Lt];var Pt={headerTitle:"Quantity",menu:[{label:"Dashboard",routerLink:"Inventory/Quantity/Dashboard",pageTitle:"Inventory Dashboard",requiredRoles:[e.inventory.Dashboard]},{label:"Dashboard Range",routerLink:"Inventory/Quantity/Dashboard/Range",pageTitle:"Dashboard Range Inventory",isNotTabOrSideMenu:!0,requiredRoles:[e.inventory.View]},{label:"Value",routerLink:"Inventory/Quantity/Valuation",pageTitle:"Inventory Value",requiredRoles:[e.inventory.View]},{label:"Category",routerLink:"Inventory/Quantity/Inventory_By_Category",pageTitle:"Inventory By Category",requiredRoles:[e.inventory.View]},{label:"Brand",routerLink:"Inventory/Quantity/Brand",pageTitle:"Inventory Summary By Brand",requiredRoles:[e.inventory.View]},{label:"Outlet",routerLink:"Inventory/Quantity/Outlet",pageTitle:"Inventory Summary By Outlet",requiredRoles:[e.inventory.View]},{label:"As Column",routerLink:"Inventory/Quantity/Product_By_Outlet",pageTitle:"Outlet As Column",requiredRoles:[e.inventory.View]},{label:"Outlet Group As Column",routerLink:"Inventory/Quantity/Product_By_Outlet/Product_By_Outlet_Group",pageTitle:"Outlet Group As Column",isNotTabOrSideMenu:!0},{label:"Category By Outlet",routerLink:"Inventory/Quantity/Product_By_Outlet/Category_By_Outlet",pageTitle:"Category By Outlet",isNotTabOrSideMenu:!0},{label:"Timeline",routerLink:"Inventory/Quantity/Timeline",pageTitle:"Inventory Timeline",requiredRoles:[e.inventory.Advanced]},{label:"Detailed Inventory Traffic Log",routerLink:"Inventory/Quantity/Timeline/Detailed_Inventory_Traffic_Log",pageTitle:"Detailed Inventory Traffic Log",isNotTabOrSideMenu:!0},{label:"Allocated",routerLink:"Inventory/Quantity/Allocated_Inventory",pageTitle:"Allocated Inventory",requiredRoles:[e.inventory.Advanced]},{label:"Awaiting",routerLink:"Inventory/Quantity/Awaiting_Inventory",pageTitle:"Awaiting Inventory",requiredRoles:[e.inventory.Advanced]},{label:"Low",routerLink:"Inventory/Quantity/Low_On_Stock",pageTitle:"Low Stock",requiredRoles:[e.inventory.Advanced]},{label:"Over",routerLink:"Inventory/Quantity/Inventory_Over_Max",pageTitle:"Over Stock",requiredRoles:[e.inventory.Advanced]},{label:"Highest",routerLink:"Inventory/Quantity/Highest_Quantity",pageTitle:"Inventory Count Rank",requiredRoles:[e.inventory.Advanced]},{label:"Transit",routerLink:"Inventory/Quantity/In_Transit",pageTitle:"In Transit Inventory",requiredRoles:[e.inventory.Advanced]},{label:"Days Of",routerLink:"Inventory/Quantity/Days_Of_Inventory",pageTitle:"Days of Inventory",requiredRoles:[e.inventory.Advanced]},{label:"Dead",routerLink:"Inventory/Quantity/Dead_Stock",pageTitle:"Dead Stock",requiredRoles:[e.inventory.Advanced]},{label:"Composite",routerLink:"Inventory/Quantity/Composite",pageTitle:"Composite Inventory",requiredRoles:[e.inventory.Advanced]}]},_t={headerTitle:"Inventory Traffic",menu:[{label:"Outlet Inventory Traffic",routerLink:"Inventory/Inventory_Traffic/Outlet_Inventory_Traffic",pageTitle:"Outlet Inventory Traffic"},{label:"Category Inventory Traffic",routerLink:"Inventory/Inventory_Traffic/Category_Inventory_Traffic",pageTitle:"Category Inventory Traffic"},{label:"Outlet Inventory Traffic Summary",routerLink:"Inventory/Inventory_Traffic/Outlet_Inventory_Traffic/Outlet_Inventory_Traffic_Summary",pageTitle:"Outlet Inventory Traffic Summary",isNotTabOrSideMenu:!0},{label:"Product Inventory Traffic",routerLink:"Inventory/Inventory_Traffic/Product_Inventory_Traffic",pageTitle:"Product Inventory Traffic"},{label:"Variant Inventory Traffic",routerLink:"Inventory/Inventory_Traffic/Variant_Inventory_Traffic",pageTitle:"Variant Inventory Traffic"}]},Ot={headerTitle:"Advanced",menu:[{label:"Serial Inventory",routerLink:"Inventory/Advanced/Serial_Inventory",pageTitle:"Serial Inventory"},{label:"Depleting Inventory",routerLink:"Inventory/Advanced/Depleting_Inventory",pageTitle:"Depleting Inventory"},{label:"Negative",routerLink:"Inventory/Advanced/Negative",pageTitle:"Negative Inventory"},{label:"Storage Location",routerLink:"Inventory/Advanced/Storage_Location",pageTitle:"Storage Inventory"},{label:"Order by Composite",routerLink:"Inventory/Advanced/Inventory_Order_By_Composite",pageTitle:"Order by Composite"}]},ye=[Pt,_t,Ot];var ft={headerTitle:"Archive",menu:[{label:"Transfer Order",routerLink:"Logistics/Archive/Transfer_Order",pageTitle:"Transfer Order"},{label:"New Transfer Order",routerLink:"Logistics/Archive/Transfer_Order/Form",pageTitle:"New Transfer Order",isNotTabOrSideMenu:!0},{label:"Transfer Order",routerLink:"Logistics/Archive/Transfer_Order/Info",pageTitle:"Transfer Order Info",isNotTabOrSideMenu:!0},{label:"Outbound Logistics",routerLink:"Logistics/Archive/Outbound_Logistics",pageTitle:"Outbound Logistics"},{label:"Outbound Logistics Form",routerLink:"Logistics/Archive/Outbound_Logistics/Form",pageTitle:"Outbound Logistics Form",isNotTabOrSideMenu:!0},{label:"Outbound Logistics",routerLink:"Logistics/Archive/Outbound_Logistics/Info",pageTitle:"Outbound Logistics Info",isNotTabOrSideMenu:!0},{label:"Inbound Logistics",routerLink:"Logistics/Archive/Inbound_Logistics",pageTitle:"Inbound Logistics"},{label:"Inbound Logistics",routerLink:"Logistics/Archive/Inbound_Logistics/Info",pageTitle:"Inbound Logistics Info",isNotTabOrSideMenu:!0},{label:"Inbound Logistics Form",routerLink:"Logistics/Archive/Inbound_Logistics/Form",pageTitle:"Inbound Logistics Form",isNotTabOrSideMenu:!0}]},Mt={headerTitle:"Report",children:[{headerTitle:"Outbound",menu:[{label:"Product",routerLink:"Logistics/Report/Outbound/Product",pageTitle:"Out Stock Report"},{label:"Detail",routerLink:"Logistics/Report/Outbound/Detail",pageTitle:"Outbound Goods By Logistics"},{label:"Logistics Service",routerLink:"Logistics/Report/Outbound/Logistics_Service",pageTitle:"Logistics Service Report"},{label:"Logistics Service Detail",routerLink:"Logistics/Report/Outbound/Logistics_Service/Detail",pageTitle:"Logistics Service Detail",isNotTabOrSideMenu:!0}]},{headerTitle:"Inbound",menu:[{label:"Product",routerLink:"Logistics/Report/Inbound/Product",pageTitle:"In Stock Report"},{label:"Detail",routerLink:"Logistics/Report/Inbound/Detail",pageTitle:"Inbound Goods By Logistics"}]},{headerTitle:"Transfer",menu:[{label:"Product",routerLink:"Logistics/Report/Transfer/Product",pageTitle:"Transfer Order Report By Product"},{label:"Detail",routerLink:"Logistics/Report/Transfer/Detail",pageTitle:"Transfer Order Detail"},{label:"History",routerLink:"Logistics/Report/Transfer/History",pageTitle:"Transfer Order Update History"}]}]},ht={headerTitle:"Setup",menu:[{label:"Courier",routerLink:"Logistics/Setup/Courier",pageTitle:"Courier"},{label:"Courier Form",routerLink:"Logistics/Setup/Courier/Form",pageTitle:"Courier Form",isNotTabOrSideMenu:!0},{label:"Courier Info",routerLink:"Logistics/Setup/Courier/Info",pageTitle:"Courier Info",isNotTabOrSideMenu:!0}]},Rt={headerTitle:"Recycle Bin",menu:[{label:"Transfer Order",routerLink:"Logistics/Recycle_Bin/Transfer_Order",pageTitle:"Voided Transfer Order"},{label:"Outbound Logistics",routerLink:"Logistics/Recycle_Bin/Outbound_Logistics",pageTitle:"Voided Outbound"}]},ke=[ft,Mt,ht,Rt];var vt={headerTitle:"Dashboard",menu:[{label:"Waiting Customer",routerLink:"Prepaid_Package/Dashboard/Waiting_Customer",pageTitle:"Waiting Customer"},{label:"My Incentive",routerLink:"Prepaid_Package/Dashboard/Waiting_Customer/My_Incentive",pageTitle:"My Incentive",isNotTabOrSideMenu:!0},{label:"Prepaid Form",routerLink:"Prepaid_Package/Dashboard/Waiting_Customer/Prepaid_Form",pageTitle:"Prepaid Form",isNotTabOrSideMenu:!0},{label:"History",routerLink:"Prepaid_Package/Dashboard/Prepaid_History",pageTitle:"Prepaid Archive"},{label:"Prepaid Form",routerLink:"Prepaid_Package/Dashboard/Prepaid_History/Info",pageTitle:"Prepaid Info",isNotTabOrSideMenu:!0},{label:"New Prepaid Registration",routerLink:"Prepaid_Package/Dashboard/Prepaid_History/Prepaid_Registration",pageTitle:"New Prepaid Registration",isNotTabOrSideMenu:!0},{label:"Prepaid History",routerLink:"Prepaid_Package/Dashboard/Prepaid_History/Prepaid",pageTitle:"Prepaid History",isNotTabOrSideMenu:!0},{label:"Package",routerLink:"Prepaid_Package/Dashboard/Prepaid_Package",pageTitle:"Prepaid Package"},{label:"History Point",routerLink:"Prepaid_Package/Dashboard/Prepaid_Package/History",pageTitle:"History Point",isNotTabOrSideMenu:!0},{label:"Sharing Form",routerLink:"Prepaid_Package/Package_Sharing/Sharing/Form",pageTitle:"Sharing Form",isNotTabOrSideMenu:!0},{label:"Last Visit",routerLink:"Prepaid_Package/Dashboard/Last_Visit",pageTitle:"Customer Visit Analytics"},{label:"Package Forecast",routerLink:"Prepaid_Package/Dashboard/Package_Forecast",pageTitle:"Package Forecast"}]},Ct={headerTitle:"Package Sharing",menu:[{label:"Sharing",routerLink:"Prepaid_Package/Package_Sharing/Sharing",pageTitle:"Sharing List"},{label:"Sharing List",routerLink:"Prepaid_Package/Package_Sharing/Sharing/Info",pageTitle:"Sharing List",isNotTabOrSideMenu:!0},{label:"Sharing Form",routerLink:"Prepaid_Package/Package_Sharing/Sharing/Form",pageTitle:"Sharing Form",isNotTabOrSideMenu:!0}]},It={headerTitle:"Report",children:[{headerTitle:"History",menu:[{label:"My History",routerLink:"Prepaid_Package/Report/History/My_Prepaid_History",pageTitle:"Doctor Prepaid History"}]},{headerTitle:"Accounting",menu:[{label:"Services Rendered",routerLink:"Prepaid_Package/Report/Accounting/Services_Rendered",pageTitle:"Services Rendered"},{label:"Services Rendered",routerLink:"Prepaid_Package/Report/Accounting/Services_Rendered/Services_Rendered",pageTitle:"Services Rendered",isNotTabOrSideMenu:!0},{label:"Deferred Revenue",routerLink:"Prepaid_Package/Report/Accounting/Deferred_Revenue",pageTitle:"Deferred Revenue"},{label:"Monthly Statistic",routerLink:"Prepaid_Package/Report/Accounting/Monthly_Statistic",pageTitle:"Monthly Statistic"}]},{headerTitle:"Prepaid",menu:[{label:"Daily Statistic",routerLink:"Prepaid_Package/Report/Prepaid/Daily_Statistic",pageTitle:"Daily Statistic"},{label:"Doctor Statistic",routerLink:"Prepaid_Package/Report/Prepaid/Doctor_Statistic",pageTitle:"Doctor Statistic"},{label:"Outlet Statistic",routerLink:"Prepaid_Package/Report/Prepaid/Outlet_Statistic",pageTitle:"Outlet Statistic"},{label:"Peak Hour",routerLink:"Prepaid_Package/Report/Prepaid/Peak_Hour",pageTitle:"Peak Hour"},{label:"Type Rank",routerLink:"Prepaid_Package/Report/Prepaid/Prepaid_Type_Rank",pageTitle:"Prepaid Type Rank"}]}]},Nt={headerTitle:"Setup",menu:[{label:"Administrator",routerLink:"Prepaid_Package/Setup/Prepaid_Administrator",pageTitle:"Prepaid Administrator"},{label:"Treatment Administrator Form",routerLink:"Prepaid_Package/Setup/Prepaid_Administrator/Form",pageTitle:"Treatment Administrator Form",isNotTabOrSideMenu:!0},{label:"Type",routerLink:"Prepaid_Package/Setup/Prepaid_Type",pageTitle:"Prepaid Type"},{label:"Prepaid Type Form",routerLink:"Prepaid_Package/Setup/Prepaid_Type/form",pageTitle:"Prepaid Type Form",isNotTabOrSideMenu:!0},{label:"Prepaid Type Info",routerLink:"Prepaid_Package/Setup/Prepaid_Type/Info",pageTitle:"Prepaid Type Info",isNotTabOrSideMenu:!0},{label:"Area",routerLink:"Prepaid_Package/Setup/Prepaid_Area",pageTitle:"Prepaid Area"},{label:"Prepaid Area Form",routerLink:"Prepaid_Package/Setup/Prepaid_Area/Form",pageTitle:"Prepaid Area Form",isNotTabOrSideMenu:!0}]},Le=[vt,Ct,It,Nt];var Dt={headerTitle:"Main",menu:[{label:"My Profile",routerLink:"Profile/Main/My_Profile",pageTitle:"My Profile",isNotTabOrSideMenu:!0},{label:"Choose Your Plan",routerLink:"Profile/Main/My_Subscription/Choose_your_plan",pageTitle:"Choose Your Plan",isNotTabOrSideMenu:!0},{label:"My Sales",routerLink:"Profile/Main/My_Sales",pageTitle:"My Sales",isNotTabOrSideMenu:!0}]},Ft={headerTitle:"Notification",menu:[{label:"Push Notification",routerLink:"Profile/Notification/Push",pageTitle:"Push Notification"},{label:"Async Notification",routerLink:"Profile/Notification/Async",pageTitle:"Async Notification"}]},Pe=[Dt,Ft];var At={headerTitle:"Webhook",menu:[{label:"Webhook",routerLink:"Developer/Webhook/URL",pageTitle:"Webhook URL"},{label:"Logs",routerLink:"Developer/Webhook/Logs",pageTitle:"Webhook Logs"},{label:"Logs Detail",routerLink:"Developer/Webhook/Logs/Detail",pageTitle:"Webhook Logs Detail",isNotTabOrSideMenu:!0},{label:"Job Logs",routerLink:"Developer/Webhook/Job_Logs",pageTitle:"Webhook Job Logs (Async)"},{label:"Job Logs Detail",routerLink:"Developer/Webhook/Job_Logs/Detail",pageTitle:"Webhook Job Logs Detail",isNotTabOrSideMenu:!0},{label:"Configuration",routerLink:"Developer/Webhook/Configuration",pageTitle:"Webhook Configuration"},{label:"Coupon Provider",routerLink:"Developer/Webhook/CouponProvider",pageTitle:"Coupon Provider"},{label:"Host Request Header",routerLink:"Developer/Webhook/request-header",pageTitle:"Host Request Header"}]},Bt={headerTitle:"API",menu:[{label:"Configuration",routerLink:"Developer/API/Configuration",pageTitle:"API Configuration"},{label:"Usage Activities",routerLink:"Developer/API/Usage_Activities",pageTitle:"Usage Activities"},{label:"Report",routerLink:"Developer/API/Report",pageTitle:"Report "}]},xt={headerTitle:"Developer",menu:[{label:"Developer Configuration",routerLink:"Developer/Developer/Developer_Configuration",pageTitle:"Developer Configuration"},{label:"Appconfig Editor",routerLink:"Developer/Developer/Appconfig_Editor",pageTitle:"Appconfig Editor"},{label:"Exception Log",routerLink:"Developer/Developer/Exception_Log",pageTitle:"Exception Log"},{label:"Clear Log",routerLink:"Developer/Developer/Maintenance",pageTitle:"Clear Log"},{label:"Exception Log Detail",routerLink:"Developer/Developer/Exception_Log/Detail",pageTitle:"Exception Log Detail",isNotTabOrSideMenu:!0}]},_e=[At,Bt,xt];var F=class i{role=T(I);purchasesReportSubMenu={headerTitle:"Purchases Report",menu:[{label:"Product",routerLink:"Reports/Purchases_Report/Product",pageTitle:"Product Bought"},{label:"Detail",routerLink:"Reports/Purchases_Report/Detail",pageTitle:"Purchase Transaction"},{label:"Summary",routerLink:"Reports/Purchases_Report/Summary",pageTitle:"Summary",requiredRoles:[e.buy.Report]},{label:"Supplier",routerLink:"Reports/Purchases_Report/Supplier",pageTitle:"Top Supplier"},{label:"Daily",routerLink:"Reports/Purchases_Report/Daily",pageTitle:"Daily Purchases"},{label:"Monthly Purchases",routerLink:"Reports/Purchases_Report/Daily/Monthly",pageTitle:"Monthly",isNotTabOrSideMenu:!0},{label:"Outlet",routerLink:"Reports/Purchases_Report/Outlet",pageTitle:"Outlet Performance"},{label:"Outlet Group Performance",routerLink:"Reports/Purchases_Report/Outlet/Outlet_Group_Performance",pageTitle:"Outlet Group Performance",isNotTabOrSideMenu:!0},{label:"Outlet Monthly Performance",routerLink:"Reports/Purchases_Report/Outlet/Outlet_Monthly_Perfomance",pageTitle:"Outlet Monthly Performance",isNotTabOrSideMenu:!0},{label:"History",routerLink:"Reports/Purchases_Report/History",pageTitle:"Purchase History"},{label:"Volume",routerLink:"Reports/Purchases_Report/Volume",pageTitle:"Purchase Volume"},{label:"Sales",routerLink:"Reports/Purchases_Report/Sales",pageTitle:"Purchase Sales Report"},{label:"Tax",routerLink:"Reports/Purchases_Report/Tax",pageTitle:"Purchase Tax Report"}]};salesReportSubMenu={headerTitle:"Sales Report",children:[{headerTitle:"Standard",menu:[{label:"Products",routerLink:"Reports/Sales_Report/Standard/Products_Sold",pageTitle:"Sales By Product",requiredRoles:[e.report.View]},{label:"Products Tags",routerLink:"Reports/Sales_Report/Standard/Products_Sold/Products_Tags",pageTitle:"Products Tags",isNotTabOrSideMenu:!0},{label:"Top Supplier",routerLink:"Reports/Sales_Report/Standard/Products_Sold/Top_Suppliers",pageTitle:"Top Supplier",isNotTabOrSideMenu:!0},{label:"Invoice Items",routerLink:"Reports/Sales_Report/Standard/Products_Sold/Invoice_Items",pageTitle:"Invoice Items",isNotTabOrSideMenu:!0},{label:"Sales Product-Outlet Matrix",routerLink:"Reports/Sales_Report/Standard/Products_Sold/Product_Sales_by_Outlet",pageTitle:"Sales Product-Outlet Matrix",isNotTabOrSideMenu:!0},{label:"Sales By Product by",routerLink:"Reports/Sales_Report/Standard/Products_Sold/Product_Sales",pageTitle:"Sales By Product",isNotTabOrSideMenu:!0},{label:"Product Sales Vs Logistics",routerLink:"Reports/Sales_Report/Standard/Products_Sold/Product_Sales_Vs_Logistics",pageTitle:"Product Sales Vs Logistics",isNotTabOrSideMenu:!0},{label:"Category",routerLink:"Reports/Sales_Report/Standard/Category_Sold/List",pageTitle:"Category Sold",isNotTabOrSideMenu:!0},{label:"Category Chart",routerLink:"Reports/Sales_Report/Standard/Category_Sold/Category",pageTitle:"Category Chart",isNotTabOrSideMenu:!0},{label:"Category",routerLink:"Reports/Sales_Report/Standard/Category_Sold",pageTitle:"Category Sales",requiredRoles:[e.report.View]},{label:"Category Sales By Outlet",routerLink:"Reports/Sales_Report/Standard/Category_Sold/Category_By_Outlet",pageTitle:"Category Sales By Outlet",isNotTabOrSideMenu:!0},{label:"Detail",routerLink:"Reports/Sales_Report/Standard/Detail",pageTitle:"Sales Transaction",requiredRoles:[e.report.View]},{label:"Brand Detail",routerLink:"Reports/Sales_Report/Standard/Detail/Brand",pageTitle:"Report Brand Details",isNotTabOrSideMenu:!0},{label:"Summary",routerLink:"Reports/Sales_Report/Standard/Summary",pageTitle:"Sales Summary",requiredRoles:[e.report.View]},{label:"Customers",routerLink:"Reports/Sales_Report/Standard/Top_Customers",pageTitle:"Top Customers",requiredRoles:[e.report.Advanced]},{label:"Sales By Customer Group",routerLink:"Reports/Sales_Report/Standard/Top_Customers/Customer_Group",pageTitle:"Sales By Customer Group",isNotTabOrSideMenu:!0},{label:"Sales By Regional",routerLink:"Reports/Sales_Report/Standard/Top_Customers/City",pageTitle:"Sales By Regional",isNotTabOrSideMenu:!0},{label:"Top Customers By Age",routerLink:"Reports/Sales_Report/Standard/Top_Customers/Top_Customers_By_Age",pageTitle:"Top Customers By Age",isNotTabOrSideMenu:!0},{label:"Top Customers By Gender",routerLink:"Reports/Sales_Report/Standard/Top_Customers/Top_Customers_By_Gender",pageTitle:"Top Customers By Gender",isNotTabOrSideMenu:!0},{label:"Last Purchase",routerLink:"Reports/Sales_Report/Standard/Top_Customers/By_Last_Purchase",pageTitle:"Last Purchase",isNotTabOrSideMenu:!0},{label:"Outlet",routerLink:"Reports/Sales_Report/Standard/Outlet_Performance",pageTitle:"Outlet Performance",requiredRoles:[e.report.Advanced]},{label:"Outlet Group Performance",routerLink:"Reports/Sales_Report/Standard/Outlet_Performance/Outlet_Group_Performance",pageTitle:"Outlet Group Performance",isNotTabOrSideMenu:!0},{label:"Outlet Monthly Performance",routerLink:"Reports/Sales_Report/Standard/Compare/Outlet_Monthly_Perfomance",pageTitle:"Outlet Monthly Performance",isNotTabOrSideMenu:!0},{label:"Outlet Performance Chart",routerLink:"Reports/Sales_Report/Standard/Outlet_Performance/Outlet_Graphic",pageTitle:"Outlet Performance Chart",isNotTabOrSideMenu:!0},{label:"Compare",routerLink:"Reports/Sales_Report/Standard/Compare",pageTitle:"Sales Compare By Outlet",requiredRoles:[e.report.Advanced]},{label:"Tag",routerLink:"Reports/Sales_Report/Standard/Sales_Order_Tag",pageTitle:"Group By Sales Order Tag",requiredRoles:[e.report.Advanced]},{label:"Person",routerLink:"Reports/Sales_Report/Standard/Person",pageTitle:"Sales Person",requiredRoles:[e.report.Advanced]},{label:"Sales Person Report By Outlet",routerLink:"Reports/Sales_Report/Standard/Person/Commission_Outlet",pageTitle:"Outlet Commission Report",isNotTabOrSideMenu:!0},{label:"Employee Commission Report",routerLink:"Reports/Sales_Report/Standard/Person/Commission_Report",pageTitle:"Person Commission Report",isNotTabOrSideMenu:!0},{label:"Employee Invoice Item Detail",routerLink:"Reports/Sales_Report/Standard/Person/Commission_Report/Commission_Report_Detail",pageTitle:"Person Commission Report",isNotTabOrSideMenu:!0},{label:"Sales Group",routerLink:"Reports/Sales_Report/Standard/Person/Sales_Group",pageTitle:"Sales Group Performance",isNotTabOrSideMenu:!0},{label:"Discount",routerLink:"Reports/Sales_Report/Standard/Discounted_Sales",pageTitle:"Discount",requiredRoles:[e.report.Advanced]},{label:"Price",routerLink:"Reports/Sales_Report/Standard/Price_Analysis",pageTitle:"Price Analysis",requiredRoles:[e.report.Advanced]},{label:"Brand",routerLink:"Reports/Sales_Report/Standard/Top_Brand",pageTitle:"Top Brand",requiredRoles:[e.report.Advanced]},{label:"Top Brand Chart",routerLink:"Reports/Sales_Report/Standard/Top_Brand/Top_Brand_Chart",pageTitle:"Top Brand Chart",isNotTabOrSideMenu:!0},{label:"Brand Sales Analysis",routerLink:"Reports/Sales_Report/Standard/Top_Brand/Brand_Sales_Analysis",pageTitle:"Brand Sales Analysis",isNotTabOrSideMenu:!0},{label:"Peak",routerLink:"Reports/Sales_Report/Standard/Peak",pageTitle:"Peak Hour Chart",requiredRoles:[e.report.Advanced]},{label:"Peak Hour Table",routerLink:"Reports/Sales_Report/Standard/Peak/Peak",pageTitle:"Peak Hour Table",isNotTabOrSideMenu:!0},{label:"Daily",routerLink:"Reports/Sales_Report/Standard/Daily",pageTitle:"Daily Sales Performance",requiredRoles:[e.report.Periodic]},{label:"Daily Report",routerLink:"Reports/Sales_Report/Standard/Daily/Daily_Table",pageTitle:"Daily Report",isNotTabOrSideMenu:!0},{label:"Daily Quantity",routerLink:"Reports/Sales_Report/Standard/Daily/Daily_Quantity",pageTitle:"Daily Quantity",isNotTabOrSideMenu:!0},{label:"Monthly Sales Volume",routerLink:"Reports/Sales_Report/Standard/Daily/Daily_Quantity/Monthly",pageTitle:"Monthly Sales Volume",isNotTabOrSideMenu:!0},{label:"Monthly",routerLink:"Reports/Sales_Report/Standard/Monthly",pageTitle:"Monthly",requiredRoles:[e.report.Periodic]},{label:"Monthly Report",routerLink:"Reports/Sales_Report/Standard/Monthly/Monthly_Table",pageTitle:"Monthly Report",isNotTabOrSideMenu:!0},{label:"Yearly",routerLink:"Reports/Sales_Report/Standard/Yearly",pageTitle:"Yearly",requiredRoles:[e.report.Periodic]},{label:"Monthly Sales Comparison",routerLink:"Reports/Sales_Report/Standard/Yearly/Comparison",pageTitle:"Monthly Sales Comparison",isNotTabOrSideMenu:!0}]},{headerTitle:"Group",menu:[]},{headerTitle:"Advanced",menu:[{label:"Tax Report",routerLink:"Reports/Sales_Report/Advanced/Tax_Report",pageTitle:"Tax Report"},{label:"Tax Report",routerLink:"Reports/Sales_Report/Advanced/Tax_Report/By_Outlet",pageTitle:"Tax Report by Outlet",isNotTabOrSideMenu:!0},{label:"Product Life Cycle",routerLink:"Reports/Sales_Report/Advanced/Product_Life_Cycle",pageTitle:"Product Life Cycle Report"},{label:"Product Profit",routerLink:"Reports/Sales_Report/Advanced/Product_Profit",pageTitle:"Product Profit Report",requiredRoles:[e.report.Profit,e.product.Cost]},{label:"Exchanged Sales",routerLink:"Reports/Sales_Report/Advanced/Exchanged_Sales",pageTitle:"Exchanged Sales"},{label:"Variant Model",routerLink:"Reports/Sales_Report/Advanced/Variant_Model_Rank",pageTitle:"Sales Rank By Variant Model"},{label:"Visitor",routerLink:"Reports/Sales_Report/Advanced/Visitor",pageTitle:"Visitor List"}]}]};returnSubMenu={headerTitle:"Return",requiredRoles:[e.report.View,e.report.Purchase],operator:"AND",menu:[{label:"Sales Return",routerLink:"Reports/Return/Sales_Return",pageTitle:"Sales Return",requiredRoles:[e.report.View]},{label:"Purchase Return",routerLink:"Reports/Return/Purchase_Return",pageTitle:"Purchase Return",requiredRoles:[e.report.Purchase]}]};reportMenu=[];constructor(){this.role.buy.Report?this.reportMenu=[this.purchasesReportSubMenu,this.salesReportSubMenu,this.returnSubMenu]:this.reportMenu=[this.salesReportSubMenu,this.returnSubMenu]}static \u0275fac=function(r){return new(r||i)};static \u0275prov=c({token:i,factory:i.\u0275fac,providedIn:"root"})};var A=class i{report=T(F);_menu=[];constructor(){this._menu.Products=de,this._menu.Shift=me,this._menu.Payment=pe,this._menu.Promotion=ce,this._menu.Outlets=se,this._menu.Users=Te,this._menu.Manufacture=ue,this._menu.Fulfillment=le,this._menu.Adjustment=ae,this._menu.Contacts=ne,this._menu.Setup=ge,this._menu.Orders=be,this._menu.Debt=Se,this._menu.Inventory=ye,this._menu.Logistics=ke,this._menu.Reports=this.report.reportMenu,this._menu.Prepaid_Package=Le,this._menu.Profile=Pe,this._menu.Developer=_e}static \u0275fac=function(r){return new(r||i)};static \u0275prov=c({token:i,factory:i.\u0275fac,providedIn:"root"})};var B=class i{role=T(I);menuService=T(A);hasRequiredRole(t,r){return!t||t.length===0?!0:r==="OR"?t.some(a=>this.role.isUserHasRole(a)):t.every(a=>this.role.isUserHasRole(a))}getFullRouteMenu(){let t=window.location.href;return t=t.split("menu/")[1]}getCurrentMainMenu(){try{return this.getFullRouteMenu().split("/")[0].split("?")?.[0]}catch(t){console.log(t)}}getCurrentSubMenu(){try{return this.getFullRouteMenu().split("/")[1].replace("_"," ")}catch(t){console.log(t)}}getCurrentSubTitleMenu(){try{return this.getFullRouteMenu().split("/")[2].replace("_"," ")}catch(t){console.log(t)}}getPageMenu(){let t=["Sell","Dashboard","Estimate","Buy","Settings"],r=this.getCurrentMainMenu();if(t.includes(r)){let S=JSON.parse(localStorage.getItem("AccountInfo"))?.BrandName+" POS | "+r,h=this.getFullRouteMenu()?.split("?")[0];return P({H:r,N:[],T:S,R:h,U:[]})}else{let a=this.getCurrentSubMenu(),u=this.getCurrentSubTitleMenu(),h=this.menuService._menu[r],d=h.filter(o=>o.headerTitle==a)[0];d?.children!=null&&(d=d.children.filter(o=>o.headerTitle==u)[0]);let y=[];h.forEach(o=>{o.children==null?o.headerTitle!=a&&(y=y.concat(o)):y=y.concat(L(k({},o),{headerTitle:o.headerTitle,children:o.children.filter(m=>m.headerTitle!=u)}))});let fe=d.menu?.map(o=>L(k({},o),{T:o.label,U:o.routerLink,isNotTabOrSideMenu:o.isNotTabOrSideMenu,operator:o.operator})).filter(o=>!o.isNotTabOrSideMenu).filter(o=>{let m=o.requiredRoles??o.roles;return this.hasRequiredRole(m,o.operator)}),Me=y.map(o=>{let m=o.requiredRoles??o.roles;return m&&m.length>0&&!this.hasRequiredRole(m,o.operator)?null:o.children?{T:o.headerTitle,SI:o.children.map(n=>({T:n.headerTitle,SI:n.menu?.map(s=>({T:s.label,U:s.routerLink,isNotTabOrSideMenu:s.isNotTabOrSideMenu,roles:s.requiredRoles??s.roles,operator:s.operator})).filter(s=>!s.isNotTabOrSideMenu).filter(s=>this.hasRequiredRole(s.roles,s.operator))}))}:{T:o.headerTitle,SI:o.menu?.map(n=>({T:n.label,U:n.routerLink,isNotTabOrSideMenu:n.isNotTabOrSideMenu,roles:n.requiredRoles??n.roles,operator:n.operator})).filter(n=>!n.isNotTabOrSideMenu).filter(n=>this.hasRequiredRole(n.roles,n.operator))}}).filter(o=>o!==null),x=this.getFullRouteMenu()?.includes("#")?this.getFullRouteMenu()?.split("#")[0]:this.getFullRouteMenu()?.split("?")[0],he=JSON.parse(localStorage.getItem("AccountInfo"))?.BrandName+" POS | ",V=d.menu?.filter(o=>o.routerLink==x)[0]?.pageTitle;d.children!=null&&(V=d.children.filter(o=>o.routerLink==x)[0]?.pageTitle);let Re=he+V;return P({H:V,ST:u,N:{TM:fe,SM:Me},T:Re,R:x,U:[]})}}static \u0275fac=function(r){return new(r||i)};static \u0275prov=c({token:i,factory:i.\u0275fac,providedIn:"root"})};var Oe=class i{constructor(t,r,a,u){this.http=t;this.matDialog=r;this.title=a;this.clientRoute=u}http;matDialog;title;clientRoute;menu$;setMenu$(){let t=ee.changelog,r=this.getCurrentFormattedRoute();this.menu$=this.clientRoute.getPageMenu().pipe(K(a=>this.title.setTitle(a.T)),W(a=>Z.IsNotEmpty(t.find(u=>u?.UrlPage===a.R))?L(k({},a),{U:t}):a),$(a=>{if(a.U.length>0){localStorage.getItem("mapRouteOpenChangelogDialog")||localStorage.setItem("mapRouteOpenChangelogDialog",JSON.stringify([]));let u=JSON.parse(localStorage.getItem("mapRouteOpenChangelogDialog")),S=r.split("?")[0];u.includes(S)||(u.push(S),localStorage.setItem("mapRouteOpenChangelogDialog",JSON.stringify(u)),this.matDialog.open(N,{panelClass:"changelog-dialog",data:a.U}))}return P(a)}),Q(()=>J))}getCurrentFormattedRoute(){try{let t=window.location.href;return t=t.split("menu/")[1],t=t.split(";")[0],t}catch(t){console.log(t)}}static \u0275fac=function(r){return new(r||i)(_(te),_(ie),_(X),_(B))};static \u0275prov=c({token:i,factory:i.\u0275fac,providedIn:"root"})};export{Oe as a};
|