dealpos 25.48.2 → 25.48.4
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-IFOBYW26.js → chunk-25H27N7N.js} +1 -1
- package/browser/{chunk-BA3BDB5Y.js → chunk-26YFRPR2.js} +1 -1
- package/browser/{chunk-JEL3OND6.js → chunk-2CL5FM3P.js} +1 -1
- package/browser/chunk-2MPRVJXH.js +1 -0
- package/browser/{chunk-CA6YBQT3.js → chunk-2VE2WNSA.js} +1 -1
- package/browser/{chunk-MVUVDYGQ.js → chunk-32QBWLTN.js} +1 -1
- package/browser/chunk-335MTOI2.js +1 -0
- package/browser/{chunk-HL3ONSX6.js → chunk-363IDTE3.js} +1 -1
- package/browser/chunk-36GWLMZX.js +1 -0
- package/browser/chunk-3CSCTT6I.js +1 -0
- package/browser/{chunk-MFLQHYOR.js → chunk-3DSF6ERB.js} +1 -1
- package/browser/chunk-3HZIDGPN.js +1 -0
- package/browser/chunk-3R6XTRIS.js +1 -0
- package/browser/{chunk-R36QPCUA.js → chunk-443UJP4E.js} +1 -1
- package/browser/{chunk-534MIVWD.js → chunk-45E6XCHN.js} +1 -1
- package/browser/{chunk-UTAQ3FRE.js → chunk-4BXCIT62.js} +1 -1
- package/browser/{chunk-CFU6YCXT.js → chunk-4CPJUJ5L.js} +1 -1
- package/browser/{chunk-VP2ZEIJA.js → chunk-4CPRMZL6.js} +1 -1
- package/browser/{chunk-YV4LSCS5.js → chunk-4F7IU5IR.js} +1 -1
- package/browser/chunk-4HEJOI53.js +1 -0
- package/browser/chunk-4IBCJLJE.js +1 -0
- package/browser/{chunk-3OHHXDTW.js → chunk-4KGHH5FV.js} +1 -1
- package/browser/{chunk-QIJEAKQK.js → chunk-4OEDK7YE.js} +1 -1
- package/browser/{chunk-R4OHTTCT.js → chunk-4SRWAPD4.js} +1 -1
- package/browser/chunk-4W3WYXI2.js +1 -0
- package/browser/chunk-4XJWQAS6.js +1 -0
- package/browser/{chunk-SWPKQM2X.js → chunk-4ZITX27A.js} +1 -1
- package/browser/chunk-53VS5DA7.js +1 -0
- package/browser/chunk-57GKJ4WM.js +1 -0
- package/browser/{chunk-OTUYSGSK.js → chunk-5THS2GXN.js} +1 -1
- package/browser/{chunk-XACC6EMJ.js → chunk-5USF4MRW.js} +1 -1
- package/browser/chunk-5VQTC5KM.js +1 -0
- package/browser/{chunk-GN3HVOCN.js → chunk-5ZD6KTDH.js} +1 -1
- package/browser/chunk-6BXLBSVS.js +1 -0
- package/browser/{chunk-7NOKG3UC.js → chunk-6C2HPRJZ.js} +1 -1
- package/browser/chunk-6GBUH4A7.js +1 -0
- package/browser/{chunk-M43HNBJQ.js → chunk-6P2ASCNY.js} +1 -1
- package/browser/{chunk-LOD3JYZW.js → chunk-6WATOQG3.js} +1 -1
- package/browser/{chunk-CSFFF2YO.js → chunk-72RZBOHX.js} +1 -1
- package/browser/{chunk-6EJSHQWL.js → chunk-73R34UN3.js} +1 -1
- package/browser/chunk-7BQKGIZM.js +1 -0
- package/browser/chunk-7BVPHIEF.js +1 -0
- package/browser/chunk-7DAPNQYU.js +1 -0
- package/browser/{chunk-ZRYRGDGM.js → chunk-7F4QLFQQ.js} +1 -1
- package/browser/{chunk-5IAWFOXD.js → chunk-7JULWG2B.js} +1 -1
- package/browser/{chunk-NWSIPELM.js → chunk-7P3L3ODB.js} +1 -1
- package/browser/{chunk-X57HWGVJ.js → chunk-7YUPYNWQ.js} +1 -1
- package/browser/chunk-A2EVMYAR.js +1 -0
- package/browser/chunk-A2HQD76V.js +1 -0
- package/browser/{chunk-I7FZGSZZ.js → chunk-A2R2SRZS.js} +1 -1
- package/browser/{chunk-JCTDWAYQ.js → chunk-A565EUMD.js} +1 -1
- package/browser/{chunk-AEXXXOEQ.js → chunk-AQW4VS3Y.js} +1 -1
- package/browser/{chunk-4HPBSK4V.js → chunk-ARYZHNFV.js} +1 -1
- package/browser/{chunk-HVJHE6PQ.js → chunk-B36P4U32.js} +1 -1
- package/browser/{chunk-4HCSE44G.js → chunk-B5IABJO5.js} +1 -1
- package/browser/chunk-B7AC4RMR.js +1 -0
- package/browser/chunk-BNNKSBQ6.js +1 -0
- package/browser/{chunk-IWUWV3MS.js → chunk-BQUL7SGN.js} +1 -1
- package/browser/{chunk-RMB6IO7X.js → chunk-BRNU2JXC.js} +1 -1
- package/browser/{chunk-JUS6LLVX.js → chunk-BT7NN7PT.js} +1 -1
- package/browser/chunk-BYRR2B2X.js +1 -0
- package/browser/{chunk-JR5LAUIS.js → chunk-BYTV42NJ.js} +1 -1
- package/browser/{chunk-66MCBKC7.js → chunk-C2NCV7VC.js} +1 -1
- package/browser/{chunk-RNXOIUIO.js → chunk-C3STDN73.js} +1 -1
- package/browser/{chunk-O2LFJOK7.js → chunk-C5N3GKEC.js} +1 -1
- package/browser/chunk-CA34NNP2.js +1 -0
- package/browser/{chunk-IDOZYC3I.js → chunk-CAYYUGXV.js} +1 -1
- package/browser/{chunk-BILYIP7J.js → chunk-CCD6EYWH.js} +1 -1
- package/browser/{chunk-C5AIOCPM.js → chunk-CFWHBIM3.js} +1 -1
- package/browser/chunk-CKHIFDBW.js +1 -0
- package/browser/{chunk-I5W4NCFM.js → chunk-COA4UL2V.js} +1 -1
- package/browser/{chunk-ZJDY54VM.js → chunk-COGKLKKE.js} +1 -1
- package/browser/{chunk-IVJVUXLS.js → chunk-COHKLV67.js} +1 -1
- package/browser/{chunk-NVCUDJUL.js → chunk-CQLZHUT4.js} +1 -1
- package/browser/chunk-D45QKGTU.js +1 -0
- package/browser/{chunk-KKLNFVVN.js → chunk-D4FCXEV4.js} +1 -1
- package/browser/{chunk-YQUQYWX3.js → chunk-D7DUI5NF.js} +1 -1
- package/browser/{chunk-KYAKLZR7.js → chunk-DC3TCY6D.js} +1 -1
- package/browser/chunk-DF4DHBHG.js +1 -0
- package/browser/chunk-DI4JWRN2.js +1 -0
- package/browser/chunk-DLRH3QKL.js +1 -0
- package/browser/chunk-DOCQN2VL.js +1 -0
- package/browser/{chunk-H7XFYY6V.js → chunk-DTVCBHPA.js} +1 -1
- package/browser/{chunk-RNLSEEMX.js → chunk-DWZ5JTI2.js} +1 -1
- package/browser/chunk-E42VMBXZ.js +1 -0
- package/browser/{chunk-XEATJM6B.js → chunk-EHXF34TI.js} +1 -1
- package/browser/{chunk-7PN2DG6D.js → chunk-EN2Y56CS.js} +1 -1
- package/browser/chunk-EPINMFAX.js +1 -0
- package/browser/{chunk-3GPGJFQV.js → chunk-ESDXMFGP.js} +1 -1
- package/browser/chunk-F2I7C3M3.js +1 -0
- package/browser/{chunk-Q2A4MYK3.js → chunk-FAED643P.js} +1 -1
- package/browser/{chunk-ZW5E2GIN.js → chunk-FHB5KLDR.js} +1 -1
- package/browser/{chunk-LAZZHDUO.js → chunk-FPRM3L6U.js} +1 -1
- package/browser/{chunk-DEGB7PBB.js → chunk-FQZELIHB.js} +1 -1
- package/browser/chunk-FSSIO7GL.js +1 -0
- package/browser/{chunk-L76WVZW6.js → chunk-FU2ZGMX4.js} +1 -1
- package/browser/{chunk-J7YNB6YX.js → chunk-FW4OCSXV.js} +1 -1
- package/browser/{chunk-4ISL77CE.js → chunk-FZCOVHS7.js} +1 -1
- package/browser/{chunk-RJMVCGIG.js → chunk-GAMK6E3M.js} +1 -1
- package/browser/{chunk-BYFPLENU.js → chunk-GC6XKSVW.js} +2 -2
- package/browser/{chunk-X3UFVTIQ.js → chunk-GRT6SQUV.js} +1 -1
- package/browser/{chunk-3PC6CTVP.js → chunk-GTPQNPNO.js} +1 -1
- package/browser/{chunk-QEOGHVXA.js → chunk-GWKBJZYT.js} +1 -1
- package/browser/{chunk-WXH4A4T7.js → chunk-HAIP6P4F.js} +1 -1
- package/browser/{chunk-23PKMU5D.js → chunk-HGSF7LOB.js} +1 -1
- package/browser/chunk-HMEQKB3Z.js +1 -0
- package/browser/chunk-HMXHET62.js +1 -0
- package/browser/chunk-HNGDEK6A.js +1 -0
- package/browser/chunk-HNGOCAAQ.js +1 -0
- package/browser/{chunk-VAPCHGLS.js → chunk-HSIXOQO7.js} +1 -1
- package/browser/chunk-HSURS7A5.js +1 -0
- package/browser/{chunk-MJ2YN4R7.js → chunk-HWPSC7RE.js} +1 -1
- package/browser/chunk-IEVGW2RT.js +5 -0
- package/browser/{chunk-46GHEHUK.js → chunk-IFIH2CE2.js} +1 -1
- package/browser/chunk-IISHJIET.js +1 -0
- package/browser/{chunk-VX5HH3BW.js → chunk-IKKPP4JS.js} +1 -1
- package/browser/{chunk-GODXDKX5.js → chunk-IZLEZJ6U.js} +1 -1
- package/browser/{chunk-4QM23MMO.js → chunk-J6M7UWVR.js} +1 -1
- package/browser/{chunk-C4WJKF7R.js → chunk-JBS5UYZC.js} +1 -1
- package/browser/{chunk-WQMNK3UX.js → chunk-JQQXPIW7.js} +1 -1
- package/browser/{chunk-BJF3WGIP.js → chunk-JSYUX55K.js} +1 -1
- package/browser/{chunk-RONQFUCZ.js → chunk-JTZHHVPI.js} +1 -1
- package/browser/{chunk-BCUIYEEN.js → chunk-JXXYVM7W.js} +1 -1
- package/browser/{chunk-DHY5NYN2.js → chunk-K522UIWE.js} +1 -1
- package/browser/chunk-K6UBXXMV.js +2 -0
- package/browser/{chunk-OWGJVIYJ.js → chunk-KL7TZ4L3.js} +1 -1
- package/browser/chunk-KS4MCBAD.js +1 -0
- package/browser/{chunk-4Y2FYXDF.js → chunk-KUG5VVV4.js} +1 -1
- package/browser/{chunk-UFBRV4CF.js → chunk-KVMBRL53.js} +1 -1
- package/browser/chunk-KVYFWAXC.js +1 -0
- package/browser/chunk-KYXB2UQI.js +1 -0
- package/browser/{chunk-VYQEM4T2.js → chunk-KZFNI67M.js} +1 -1
- package/browser/{chunk-QFON23YX.js → chunk-L6PKNRWO.js} +1 -1
- package/browser/{chunk-IDQUQBKL.js → chunk-LGINK7BD.js} +1 -1
- package/browser/chunk-LGOSIAUC.js +1 -0
- package/browser/{chunk-CBSYYTXQ.js → chunk-LNDHYAFW.js} +1 -1
- package/browser/{chunk-3VQBBLWE.js → chunk-LOSZONX5.js} +1 -1
- package/browser/chunk-M3DKYPGC.js +1 -0
- package/browser/{chunk-LDTRYGRE.js → chunk-M4EQZHIE.js} +1 -1
- package/browser/chunk-MBB74QVL.js +1 -0
- package/browser/{chunk-2MQDNPCG.js → chunk-MLBTUOHX.js} +1 -1
- package/browser/{chunk-SVUUS5JD.js → chunk-MNJSQKLX.js} +1 -1
- package/browser/chunk-MSVDVTIV.js +1 -0
- package/browser/chunk-MTMXY32O.js +1 -0
- package/browser/{chunk-LLHBXZ6B.js → chunk-MU6SCZAC.js} +1 -1
- package/browser/chunk-N5UL5CKI.js +1 -0
- package/browser/chunk-NGBNFGPJ.js +1 -0
- package/browser/{chunk-6PR53KNR.js → chunk-NIA3RUK3.js} +1 -1
- package/browser/{chunk-DWNXML7N.js → chunk-NIT4LLPE.js} +1 -1
- package/browser/chunk-NL4ASITV.js +1 -0
- package/browser/{chunk-2KPICU7I.js → chunk-NM3IQUNN.js} +1 -1
- package/browser/{chunk-ZHPBIWMH.js → chunk-NOYC5PIT.js} +1 -1
- package/browser/{chunk-AUBQH6JY.js → chunk-O2VVATBW.js} +1 -1
- package/browser/chunk-OFSDKSGP.js +1 -0
- package/browser/{chunk-2RYEXHZV.js → chunk-OLKDSXBA.js} +1 -1
- package/browser/{chunk-76RLGANX.js → chunk-OXWQ7ZZS.js} +1 -1
- package/browser/{chunk-5BH2H4V6.js → chunk-OYGBAHVX.js} +1 -1
- package/browser/{chunk-DV63TLIP.js → chunk-PFCZZYN7.js} +1 -1
- package/browser/{chunk-KHR4NBM3.js → chunk-PHH2AA3W.js} +1 -1
- package/browser/{chunk-RAQ5KDLF.js → chunk-PJ3DTEH2.js} +1 -1
- package/browser/{chunk-C6YPXBIP.js → chunk-PPVORSJQ.js} +1 -1
- package/browser/chunk-PQ6W7KXC.js +1 -0
- package/browser/{chunk-5DQ4MJJT.js → chunk-PRVQ3NAP.js} +1 -1
- package/browser/chunk-PS7477UG.js +2 -0
- package/browser/{chunk-Z6RY34PQ.js → chunk-PXDS3HXW.js} +1 -1
- package/browser/chunk-QGWSDMHC.js +1 -0
- package/browser/{chunk-KI4BAWII.js → chunk-QI7I46MV.js} +1 -1
- package/browser/{chunk-64RUCACD.js → chunk-QJUU75N6.js} +1 -1
- package/browser/{chunk-5SFUSWFY.js → chunk-QPAUI5EG.js} +1 -1
- package/browser/chunk-QQ2YQAKU.js +1 -0
- package/browser/{chunk-F7KTXCW4.js → chunk-QWGF65NY.js} +2 -2
- package/browser/chunk-QZ5KTZ5O.js +1 -0
- package/browser/{chunk-XA4TVPAS.js → chunk-QZZ2NRA3.js} +1 -1
- package/browser/{chunk-CS6HBROS.js → chunk-R2GUMKAU.js} +1 -1
- package/browser/{chunk-DXBQR3VL.js → chunk-RACYAEOL.js} +1 -1
- package/browser/{chunk-W4W2KCYV.js → chunk-RESN2GAB.js} +1 -1
- package/browser/{chunk-7NEKXENA.js → chunk-RF626YRZ.js} +1 -1
- package/browser/chunk-RO6RY4AJ.js +5 -0
- package/browser/{chunk-BOLUBS5R.js → chunk-ROLD7LRS.js} +2 -2
- package/browser/{chunk-AQQHMGYE.js → chunk-RSNEHVIM.js} +1 -1
- package/browser/chunk-S27D5MBU.js +1 -0
- package/browser/{chunk-G4G5P6ZQ.js → chunk-S7F2VAOO.js} +1 -1
- package/browser/{chunk-6SGN7MNX.js → chunk-S7FOJJP2.js} +1 -1
- package/browser/{chunk-TGEQUV6Z.js → chunk-SIDUUVNA.js} +1 -1
- package/browser/{chunk-FIUZN6JU.js → chunk-SIQZO2WM.js} +1 -1
- package/browser/chunk-SLOQCSJQ.js +1 -0
- package/browser/{chunk-O5SLP4JK.js → chunk-SLX34TWD.js} +1 -1
- package/browser/{chunk-J76F72FK.js → chunk-SZCBZJWT.js} +1 -1
- package/browser/chunk-T4MU3R7Y.js +1 -0
- package/browser/{chunk-36NP63VM.js → chunk-T6O6272L.js} +2 -2
- package/browser/chunk-T7FNDCBZ.js +1 -0
- package/browser/{chunk-AFBBEIKR.js → chunk-T7XU5W5A.js} +1 -1
- package/browser/{chunk-KCOMWYKA.js → chunk-TCUCRGQD.js} +1 -1
- package/browser/{chunk-T25N3EEG.js → chunk-TEGIL5RZ.js} +1 -1
- package/browser/{chunk-P7BRWWWC.js → chunk-TFTQPXT2.js} +1 -1
- package/browser/{chunk-7TBS7SPQ.js → chunk-THT6CY5E.js} +1 -1
- package/browser/chunk-TNW4DJDF.js +1 -0
- package/browser/{chunk-HD2QU6GJ.js → chunk-TSH564VU.js} +1 -1
- package/browser/chunk-TX4QVA3F.js +1 -0
- package/browser/{chunk-B3STLAM7.js → chunk-TXJJUZ26.js} +1 -1
- package/browser/{chunk-2B5OZGVM.js → chunk-TYE7PH3R.js} +1 -1
- package/browser/{chunk-356KM5DR.js → chunk-U544TRDM.js} +1 -1
- package/browser/chunk-UIIVXERD.js +1 -0
- package/browser/{chunk-5I5IONRY.js → chunk-USD2ALDX.js} +1 -1
- package/browser/chunk-V2R4WJOF.js +1 -0
- package/browser/chunk-VFQB2MVW.js +1 -0
- package/browser/chunk-VKWSK452.js +1 -0
- package/browser/chunk-VM4K4MNV.js +1 -0
- package/browser/{chunk-ZEKZLSGA.js → chunk-VVWAYTKN.js} +1 -1
- package/browser/{chunk-PJCGIZLH.js → chunk-VVYRPW2Y.js} +1 -1
- package/browser/chunk-VXPORXGI.js +1 -0
- package/browser/{chunk-P3LNLMNH.js → chunk-VZBXT2TV.js} +1 -1
- package/browser/{chunk-K6CUAFH7.js → chunk-W3TN26PX.js} +13 -13
- package/browser/{chunk-7ZUYXNKP.js → chunk-WCIAQ44B.js} +2 -2
- package/browser/{chunk-6H5P35AP.js → chunk-WKM2QOAU.js} +1 -1
- package/browser/chunk-WM2DGNWH.js +1 -0
- package/browser/{chunk-QPOOLLKY.js → chunk-WMZLH4YK.js} +1 -1
- package/browser/chunk-WUV22SZ4.js +1 -0
- package/browser/{chunk-GCP2MGQL.js → chunk-X2JPG7JJ.js} +1 -1
- package/browser/chunk-X44CHNHS.js +1 -0
- package/browser/{chunk-E7AQSX2U.js → chunk-X7GD2PTG.js} +1 -1
- package/browser/{chunk-AAXXZ3RZ.js → chunk-XMZLK7EB.js} +1 -1
- package/browser/{chunk-6GLKD66N.js → chunk-XTCEZONP.js} +1 -1
- package/browser/chunk-XY3FCZN2.js +1 -0
- package/browser/chunk-Y23YZCOK.js +1 -0
- package/browser/chunk-Y2EBDHRL.js +1 -0
- package/browser/chunk-Y4V2WEIH.js +1 -0
- package/browser/chunk-Y54ES5RG.js +1 -0
- package/browser/chunk-Y6GA2S36.js +1 -0
- package/browser/chunk-YVBGB3JF.js +1 -0
- package/browser/chunk-YXVOA736.js +1 -0
- package/browser/chunk-Z6X5UYRZ.js +1 -0
- package/browser/{chunk-FO5ZTXDH.js → chunk-ZCQ45ILW.js} +1 -1
- package/browser/{chunk-SANNYTK4.js → chunk-ZCQDZKFQ.js} +1 -1
- package/browser/{chunk-7MD5PKPB.js → chunk-ZH54LQDR.js} +2 -2
- package/browser/{chunk-UGCO74DQ.js → chunk-ZKOARDC2.js} +1 -1
- package/browser/{chunk-DLNZDHGS.js → chunk-ZMJLTU5O.js} +1 -1
- package/browser/{chunk-A45GTZVV.js → chunk-ZTD4APMR.js} +1 -1
- package/browser/chunk-ZTU3TIGR.js +1 -0
- package/browser/{chunk-G4IW5GPY.js → chunk-ZZBF7AOW.js} +1 -1
- package/browser/index.html +2 -2
- package/browser/{main-BTMX7TBF.js → main-33B7R4OS.js} +2 -2
- package/package.json +1 -1
- package/browser/chunk-2LOWEWI4.js +0 -1
- package/browser/chunk-2MCEIRJY.js +0 -1
- package/browser/chunk-3DAJFE6H.js +0 -1
- package/browser/chunk-3ESMPFFS.js +0 -1
- package/browser/chunk-3G264AW4.js +0 -1
- package/browser/chunk-3KSZCJ6T.js +0 -1
- package/browser/chunk-3YHMSAWW.js +0 -1
- package/browser/chunk-4NNOZ2BP.js +0 -2
- package/browser/chunk-4VSJH5SL.js +0 -1
- package/browser/chunk-5K7KFVM3.js +0 -1
- package/browser/chunk-5TKXFIDJ.js +0 -1
- package/browser/chunk-6ONTAEOO.js +0 -1
- package/browser/chunk-6YHYVBRQ.js +0 -1
- package/browser/chunk-7HRIPBOK.js +0 -1
- package/browser/chunk-7V3SLYOQ.js +0 -1
- package/browser/chunk-ABNUBGXO.js +0 -1
- package/browser/chunk-AMONIKLC.js +0 -1
- package/browser/chunk-ANPUR4EP.js +0 -1
- package/browser/chunk-AVTYR2I6.js +0 -1
- package/browser/chunk-CLX7PIH6.js +0 -1
- package/browser/chunk-DJTAYVZN.js +0 -1
- package/browser/chunk-DPGY5YXC.js +0 -1
- package/browser/chunk-E55DAXRW.js +0 -1
- package/browser/chunk-E5IXDLDT.js +0 -1
- package/browser/chunk-E5XIALIA.js +0 -1
- package/browser/chunk-EIHC54J5.js +0 -1
- package/browser/chunk-EQR3RN5K.js +0 -1
- package/browser/chunk-FNH6K4S4.js +0 -1
- package/browser/chunk-G2VAG4V3.js +0 -1
- package/browser/chunk-HCCADOVL.js +0 -1
- package/browser/chunk-I3ABVEQL.js +0 -1
- package/browser/chunk-IVVSNJJ3.js +0 -1
- package/browser/chunk-JYZTRN6N.js +0 -5
- package/browser/chunk-KD24MXAU.js +0 -1
- package/browser/chunk-KPHOGUDM.js +0 -1
- package/browser/chunk-KRPYY55C.js +0 -1
- package/browser/chunk-KZBNUY2K.js +0 -1
- package/browser/chunk-LBQRCFLJ.js +0 -1
- package/browser/chunk-LELZTT7A.js +0 -2
- package/browser/chunk-LS5TMLIT.js +0 -1
- package/browser/chunk-MEG3XVPI.js +0 -5
- package/browser/chunk-N3L2CE6S.js +0 -1
- package/browser/chunk-NJD4GKTM.js +0 -1
- package/browser/chunk-NZ4SK6LY.js +0 -1
- package/browser/chunk-PIZRVCBM.js +0 -1
- package/browser/chunk-PSJRHKCL.js +0 -1
- package/browser/chunk-RJJYGGF6.js +0 -1
- package/browser/chunk-RLQLFW36.js +0 -1
- package/browser/chunk-S7X7547X.js +0 -1
- package/browser/chunk-SEOZWGYI.js +0 -1
- package/browser/chunk-SLDKONZE.js +0 -1
- package/browser/chunk-T2H2XAEJ.js +0 -1
- package/browser/chunk-TARA6KGA.js +0 -1
- package/browser/chunk-TON7E347.js +0 -1
- package/browser/chunk-TT2F5I7H.js +0 -1
- package/browser/chunk-U4N5AZIO.js +0 -1
- package/browser/chunk-U5LNORQV.js +0 -1
- package/browser/chunk-UAQU4IQS.js +0 -1
- package/browser/chunk-UCOXEQFM.js +0 -1
- package/browser/chunk-UQ5F3YKZ.js +0 -1
- package/browser/chunk-USJ6ILEE.js +0 -1
- package/browser/chunk-USMW7JHL.js +0 -1
- package/browser/chunk-UTTKPBED.js +0 -1
- package/browser/chunk-UZKEO2IO.js +0 -1
- package/browser/chunk-VNBCF2XF.js +0 -1
- package/browser/chunk-VVYOMXKJ.js +0 -1
- package/browser/chunk-WBFJWUUR.js +0 -1
- package/browser/chunk-WKXWWL55.js +0 -1
- package/browser/chunk-WNZKCNMC.js +0 -1
- package/browser/chunk-XL7XI3DY.js +0 -1
- package/browser/chunk-XSHCTIUH.js +0 -1
- package/browser/chunk-YBIA6E5J.js +0 -1
- package/browser/chunk-YBVDBTTE.js +0 -1
- package/browser/chunk-YQOU4WGG.js +0 -1
- package/browser/chunk-YRDGEYIV.js +0 -1
- package/browser/chunk-YV6MAUKK.js +0 -1
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{a as Ne}from"./chunk-IFOBYW26.js";import{d as Se,e as xe}from"./chunk-QPOOLLKY.js";import{B as V,D as L,u as Me,v as ye,w as ve}from"./chunk-BA3BDB5Y.js";import{N as we,O as q}from"./chunk-T25N3EEG.js";import{d as R}from"./chunk-7TBS7SPQ.js";import{e as be,f as he}from"./chunk-A45GTZVV.js";import{A as pe,B as ge,F as Ce,G as fe,c as re,h as ae,i as le,k as de,o as se,p as ce,x as me,y as ue}from"./chunk-RNLSEEMX.js";import{a as ne}from"./chunk-USJ6ILEE.js";import{$ as K,A as k,Ab as Z,Bb as $,Ca as J,Cb as c,D as U,Db as d,Eb as l,Fb as ee,Mb as v,Ob as O,Qb as g,Xa as a,_b as M,be as oe,cd as te,db as P,dc as m,e as j,ee as _e,fc as x,hb as Q,ib as X,ic as _,jc as b,kc as h,la as E,ma as z,oa as S,pc as B,q as A,rd as ie,t as w,ta as u,u as H,ua as p,uc as y,vb as C,xb as f,zb as Y}from"./chunk-JYZTRN6N.js";var F=class i{constructor(n,e){this.localDataService=n;this.toastr=e;this.initLocalDataConfig()}localConfig=new V;_offlineConfigSubject=new j(this.localConfig);offlineConfig$=this._offlineConfigSubject.asObservable();online$=U(k(window,"offline").pipe(w(()=>!1)),k(window,"online").pipe(w(()=>!0))).pipe(K(navigator.onLine));get isOnline(){return navigator.onLine}initLocalDataConfig(){this.localDataService.getOfflineConfig().subscribe({next:n=>{let e=new V(n.configUsingLocal,n.productUsingLocal,n.orderUsingLocal);this.pushNewValue(e),this.localConfig=e,this.updateOfflineConfigDB(n)},error:n=>{this.onErrorInitConfig()}})}onErrorInitConfig(){let n=new V;this.pushNewValue(n),this.localConfig=n,this.updateOfflineConfigDB(n)}getOnlineStatus$(){return H([this.offlineConfig$.pipe(w(n=>n.configUsingLocal)),this.online$]).pipe(w(n=>{let e=n[0],t=n[1],r;return e===!0?r=!1:r=t&&this.isOnline,r}))}pushNewValue(n){this._offlineConfigSubject.next(n)}updateOfflineConfigDB(n){this.localDataService.updateOfflineConfig(n).subscribe({next:e=>{this.pushNewValue(n)}})}static \u0275fac=function(e){return new(e||i)(S(L),S(oe))};static \u0275prov=E({token:i,factory:i.\u0275fac,providedIn:"root"})};var W=class i{constructor(n,e,t){this.httpService=n;this.LocalData=e;this._onlineStatusService=t}Data=new Ne;addCustomer(n,e){let t=[];n.Group&&t.push(n.Group),e&&(n.DebtLimit=e);let r={contact:n,groups:t};if(this._onlineStatusService.isOnline)return A(this.httpService.post("/API/Contact/Customer/Create",r)).catch(s=>Promise.reject(s))}findCustomerByCode(n){let e={Code:n};return this.httpService.post("/API/Contact/GetByCode",e)}GetPrivilegeByID(n,e){return this.httpService.get(q.GetCustomerPrivilegeByID,[{key:"ID",value:n},{key:"EntityID",value:e}],!0)}getCustomerSuggestionCode(){return this.httpService.get(q.GetCustomerSuggestionCode).pipe(w(n=>n.Code))}static \u0275fac=function(e){return new(e||i)(S(_e),S(L),S(F))};static \u0275prov=E({token:i,factory:i.\u0275fac,providedIn:"root"})};var T=i=>({selected:i}),Ve=i=>({"border border-danger":i}),I=i=>({"is-invalid":i}),Le=i=>({"is-invalid border border-danger":i}),Fe=i=>({"has-error":i});function We(i,n){if(i&1){let e=v();d(0,"a",12),O("click",function(){u(e);let r=g();return p(r.chooiceDetail("id"))}),m(1," ID "),l()}if(i&2){let e=g();c("ngClass",y(1,T,e.tabState=="id"))}}function ke(i,n){if(i&1&&ee(0,"option",21),i&2){let e=n.$implicit;c("value",e.Name)}}function Be(i,n){if(i&1&&(d(0,"div",24)(1,"i",47),m(2," Name is mandatory."),l()()),i&2){g();let e=M(26);c("ngClass",y(1,Fe,e.touched&&e.invalid))}}function Re(i,n){i&1&&(d(0,"div",40),m(1," Mobile Phone is mandatory "),l())}function qe(i,n){if(i&1&&(d(0,"div",40),m(1),l()),i&2){g(2);let e=M(38);a(),x(" ",e.errors==null||e.errors.minLength==null?null:e.errors.minLength.message," ")}}function Ge(i,n){if(i&1&&(C(0,Re,2,0,"div",40),C(1,qe,2,1,"div",40)),i&2){g();let e=M(38);f(e.getError("required")&&!e.getError("minLength")?0:-1),a(),f(e.getError("minLength")?1:-1)}}function je(i,n){i&1&&(d(0,"div",40),m(1," Email must be a valid email address "),l())}function Ae(i,n){i&1&&(d(0,"div",40),m(1,"Email is mandatory"),l())}function He(i,n){if(i&1&&(C(0,je,2,0,"div",40),C(1,Ae,2,0,"div",40)),i&2){g();let e=M(45);f(e.errors!=null&&e.errors.email?0:-1),a(),f(e.errors!=null&&e.errors.required?1:-1)}}function Ue(i,n){i&1&&(d(0,"div",40),m(1,"Birthdate is mandatory"),l())}function Ke(i,n){if(i&1&&C(0,Ue,2,0,"div",40),i&2){g();let e=M(3);f(e.invalid?0:-1)}}function ze(i,n){if(i&1){let e=v();d(0,"div",33)(1,"div",17)(2,"datepicker",48,6),h("ngModelChange",function(r){u(e);let s=g();return b(s.customer.Birthdate,r)||(s.customer.Birthdate=r),p(r)}),l(),C(4,Ke,1,1),l()()}if(i&2){let e=M(3),t=g();a(2),_("ngModel",t.customer.Birthdate),c("required",t.requiredField().Birthdate)("ngClass",y(4,I,e.invalid&&(e.dirty||e.touched))),a(2),f(e.dirty||e.touched?4:-1)}}function Je(i,n){if(i&1&&(d(0,"div",40),m(1),l()),i&2){let e=g(2);a(),x(" ",e.type=="supplier"?"Supplier":"Customer"," code is mandatory. ")}}function Qe(i,n){if(i&1){let e=v();d(0,"div",33)(1,"div",17)(2,"input",49,7),h("ngModelChange",function(r){u(e);let s=g();return b(s.customer.Code,r)||(s.customer.Code=r),p(r)}),l(),C(4,Je,2,1,"div",40),d(5,"label",50),m(6),l()()()}if(i&2){let e=M(3),t=g();a(2),c("placeholder",B("",t.type=="supplier"?"Supplier":"Member"," code")),_("ngModel",t.customer.Code),c("required",t.requiredField().Code)("ngClass",y(7,I,e.invalid&&(e.dirty||e.touched))),a(2),f(e.invalid&&(e.dirty||e.touched)?4:-1),a(2),x("",t.type=="supplier"?"Supplier":"Member"," Code")}}function Xe(i,n){if(i&1&&(d(0,"div",40),m(1),l()),i&2){let e=g(2);a(),x(" ",e.type=="supplier"?"Supplier":"Customer"," code is mandatory. ")}}function Ye(i,n){if(i&1){let e=v();d(0,"div",36)(1,"div",17)(2,"input",49,7),h("ngModelChange",function(r){u(e);let s=g();return b(s.customer.Code,r)||(s.customer.Code=r),p(r)}),l(),C(4,Xe,2,1,"div",40),d(5,"label",50),m(6),l()()()}if(i&2){let e=M(3),t=g();a(2),c("placeholder",B("",t.type=="supplier"?"Supplier":"Member"," code")),_("ngModel",t.customer.Code),c("required",t.requiredField().Code)("ngClass",y(7,I,e.invalid&&(e.dirty||e.touched))),a(2),f(e.invalid&&(e.dirty||e.touched)?4:-1),a(2),x("",t.type=="supplier"?"Supplier":"Member"," Code")}}function Ze(i,n){if(i&1){let e=v();d(0,"div",36)(1,"div",51)(2,"ng-select",52),h("ngModelChange",function(r){u(e);let s=g();return b(s.customer.Group,r)||(s.customer.Group=r),p(r)}),l(),d(3,"label",53),m(4,"Group"),l()()()}if(i&2){let e=g();a(),c("ngClass",y(3,T,e.isNotEmpty(e.customer.Group))),a(),_("ngModel",e.customer.Group),c("items",e.options==null?null:e.options.Groups)}}function $e(i,n){if(i&1){let e=v();d(0,"div",36)(1,"div",51)(2,"ng-select",54),h("ngModelChange",function(r){u(e);let s=g();return b(s.customer.City,r)||(s.customer.City=r),p(r)}),l(),d(3,"label",55),m(4,"City"),l()()()}if(i&2){let e=g();a(),c("ngClass",y(3,T,e.isNotEmpty(e.customer.City))),a(),_("ngModel",e.customer.City),c("items",e.options==null?null:e.options.Cities)}}function et(i,n){i&1&&(d(0,"div",40),m(1,"Address is mandatory."),l())}function tt(i,n){if(i&1&&(d(0,"div",40),m(1),l()),i&2){g();let e=M(68);a(),x(" ",e.errors==null||e.errors.minLength==null?null:e.errors.minLength.message," ")}}var Ie=class i{constructor(n,e,t){this.dialogRef=n;this.data=e;this._CustomerHttpService=t;this.modalConfig=new Me,this.modalConfig.title=this.data.title,this.modalConfig.customWidth="650px",this.options=this.data.options,this.options?.Genders||(this.options.Genders=[{Key:0,Value:"Male"},{Key:1,Value:"Female"}]),this.config=this.data.config,this.type=this.data.type}customer;options;type;config;more;modalConfig;detailVisible;tabState="general";requiredField=J({Mobile:!1,Email:!1,Code:!1,Address:!1,SignUpOutlet:!1,Birthdate:!1});ngOnInit(){this.customer=new G,this.initFirstName(),this.customer.Gender=this.config.DefaultValue.Gender,this.more=!1,this.initRequiredField()}initRequiredField(){let n=this.config.Advance?.RequiredFields;n&&this.type!="supplier"&&n.forEach(e=>{this.requiredField.update(t=>(t[e]=!0,t))})}initFirstName(){this.data&&this.data.inputTextName&&(this.customer.FirstName=this.data.inputTextName)}onOk(n){if(n.form?.markAllAsTouched(),n.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(n){this.tabState=n}isNotEmpty(n){return ne.IsNotEmpty(n)||n==0}static \u0275fac=function(e){return new(e||i)(P(be),P(he),P(W))};static \u0275cmp=Q({type:i,selectors:[["POS-modal-customer"]],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",1,"form-control",3,"ngModelChange","ngClass","ngModel","required"],[3,"ngClass"],["for","FirstName"],["type","text","id","LastName","name","LastName","placeholder","Last Name",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 r=v();d(0,"modal-material",8),O("onOk",function(){u(r);let o=M(4);return p(t.onOk(o))})("onCancel",function(){return u(r),p(t.dialogRef.close())})("onClose",function(){return u(r),p(t.dialogRef.close())}),d(1,"content")(2,"div",9)(3,"form",10,0)(5,"div",11)(6,"div")(7,"a",12),O("click",function(){return u(r),p(t.chooiceDetail("general"))}),m(8," General "),l(),d(9,"a",12),O("click",function(){return u(r),p(t.chooiceDetail("detail"))}),m(10," Detail "),l(),C(11,We,2,3,"a",13),l()(),d(12,"div")(13,"div",14)(14,"div",15)(15,"div",16)(16,"div",17)(17,"input",18),h("ngModelChange",function(o){return u(r),b(t.customer.Title,o)||(t.customer.Title=o),p(o)}),l(),d(18,"label",19),m(19,"Title"),l(),d(20,"datalist",20),Z(21,ke,1,1,"option",21,Y),l()()(),d(23,"div",22)(24,"div",17)(25,"input",23,1),h("ngModelChange",function(o){return u(r),b(t.customer.FirstName,o)||(t.customer.FirstName=o),p(o)}),l(),C(27,Be,3,3,"div",24),d(28,"label",25),m(29,"First Name"),l()()(),d(30,"div",22)(31,"div",17)(32,"input",26),h("ngModelChange",function(o){return u(r),b(t.customer.LastName,o)||(t.customer.LastName=o),p(o)}),l(),d(33,"label",27),m(34,"Last Name"),l()()(),d(35,"div",28)(36,"div",17)(37,"input",29,2),h("ngModelChange",function(o){return u(r),b(t.customer.Mobile,o)||(t.customer.Mobile=o),p(o)}),l(),C(39,Ge,2,2),d(40,"label",30),m(41,"Mobile"),l()()(),d(42,"div",28)(43,"div",17)(44,"input",31,3),h("ngModelChange",function(o){return u(r),b(t.customer.Email,o)||(t.customer.Email=o),p(o)}),l(),C(46,He,2,2),d(47,"label",32),m(48,"Email"),l()()(),C(49,ze,5,6,"div",33),C(50,Qe,7,9,"div",33),d(51,"div",28)(52,"ng-select",34),h("ngModelChange",function(o){return u(r),b(t.customer.Gender,o)||(t.customer.Gender=o),p(o)}),l()()(),d(53,"div",35),C(54,Ye,7,9,"div",36),C(55,Ze,5,5,"div",36),C(56,$e,5,5,"div",36),d(57,"div",37)(58,"div",17)(59,"textarea",38,4),h("ngModelChange",function(o){return u(r),b(t.customer.Address,o)||(t.customer.Address=o),p(o)}),l(),d(61,"label",39),m(62,"Address"),l(),C(63,et,2,0,"div",40),l()()(),d(64,"div",35)(65,"div",28)(66,"div",17)(67,"input",41,5),h("ngModelChange",function(o){return u(r),b(t.customer.NationalIDNumber,o)||(t.customer.NationalIDNumber=o),p(o)}),l(),C(69,tt,2,1,"div",40),d(70,"label",42),m(71,"National ID"),l()()(),d(72,"div",28)(73,"div",17)(74,"input",43),h("ngModelChange",function(o){return u(r),b(t.customer.TaxIDNumber,o)||(t.customer.TaxIDNumber=o),p(o)}),l(),d(75,"label",44),m(76,"Tax ID"),l()()(),d(77,"div",28)(78,"ng-select",45),h("ngModelChange",function(o){return u(r),b(t.customer.NationalityID,o)||(t.customer.NationalityID=o),p(o)}),l()(),d(79,"div",33)(80,"ng-select",46),h("ngModelChange",function(o){return u(r),b(t.customer.RaceID,o)||(t.customer.RaceID=o),p(o)}),l()()()()()()()()()}if(e&2){let r=M(26),s=M(38),o=M(45),N=M(60),D=M(68);c("config",t.modalConfig),a(7),c("ngClass",y(41,T,t.tabState=="general")),a(2),c("ngClass",y(43,T,t.tabState=="detail")),a(2),f(t.type!="supplier"?11:-1),a(3),c("hidden",t.tabState!="general"),a(3),_("ngModel",t.customer.Title),a(4),$(t.options==null?null:t.options.Titles),a(4),c("ngClass",y(45,Ve,r.touched&&r.invalid)),_("ngModel",t.customer.FirstName),c("required",!0),a(2),f(r.touched&&r.invalid?27:-1),a(5),_("ngModel",t.customer.LastName),a(5),_("ngModel",t.customer.Mobile),c("required",t.requiredField().Mobile)("ngClass",y(47,I,s.invalid&&(s.dirty||s.touched))),a(2),f(s.invalid&&(s.dirty||s.touched)?39:-1),a(5),c("ngClass",y(49,Le,o.invalid&&(o.dirty||o.touched))),_("ngModel",t.customer.Email),c("required",t.requiredField().Email),a(2),f(o.invalid&&(o.dirty||o.touched)?46:-1),a(3),f(t.type!="supplier"?49:-1),a(),f(t.type=="supplier"?50:-1),a(2),_("ngModel",t.customer.Gender),c("items",t.options==null?null:t.options.Genders),a(),c("hidden",t.tabState!="detail"),a(),f(t.type!="supplier"?54:-1),a(),f(t.type!="supplier"?55:-1),a(),f(t.type!="supplier"?56:-1),a(3),c("rows",t.type!="supplier"?6:9),_("ngModel",t.customer.Address),c("required",t.requiredField().Address)("ngClass",y(51,I,N.invalid&&(N.dirty||N.touched))),a(4),f(N.invalid&&(N.dirty||N.touched)?63:-1),a(),c("hidden",t.tabState!="id"),a(3),_("ngModel",t.customer.NationalIDNumber),c("ngClass",y(53,I,D.invalid&&(D.dirty||D.touched))),a(2),f(D.invalid&&(D.dirty||D.touched)?69:-1),a(5),_("ngModel",t.customer.TaxIDNumber),a(4),_("ngModel",t.customer.NationalityID),c("items",t.options==null?null:t.options.Nationalities),a(2),_("ngModel",t.customer.RaceID),c("items",t.options==null?null:t.options.Races)}},dependencies:()=>[te,ye,ce,me,ue,re,ae,le,pe,ge,se,de,Se,R],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}"]})},Oe=class i{static \u0275fac=function(e){return new(e||i)};static \u0275mod=X({type:i});static \u0275inj=z({imports:[ie,we,ve,Ce,fe,xe,R]})},G=class{Title;FirstName;LastName;Name;Gender;Mobile;Email;TaxIDNumber;TaxID;Group;Code;City;Address;Birthdate;MemberIdentification;NationalIDNumber;NationalityID;RaceID;CreatorEntityID};export{F as a,W as b,Ie as c,Oe as d,G as e};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{O as A}from"./chunk-T25N3EEG.js";import{$d as z,Ab as d,Bb as _,Cb as l,Db as a,Eb as r,Fd as T,Qb as P,Xa as o,Zd as S,cc as w,db as h,dc as c,ec as C,ee as I,hb as v,ib as u,kb as g,la as O,ma as f,pa as x,rd as k,uc as M,vb as b,xb as y,xc as m,zb as p}from"./chunk-JYZTRN6N.js";var F=t=>[t],R=(t,e,n,i)=>({ID:t,Template:e,Price:n,Print:i});function N(t,e){if(t&1&&(a(0,"div",4)(1,"a",5)(2,"small"),c(3),r()()()),t&2){let n=e.$implicit,i=e.$index;w(i>0?"border-start border-light":""),o(),l("routerLink",M(5,F,n.link))("queryParams",m(7,R,n.param.ID,n==null||n.param==null?null:n.param.Template,n.param.Price,n.param==null?null:n.param.Print)),o(2),C(n==null?null:n.label)}}function $(t,e){if(t&1&&(a(0,"div",0)(1,"div",2)(2,"small"),c(3,"Paper Size :"),r()(),d(4,N,4,12,"div",3,p),r()),t&2){let n=P();o(4),_(n.paperPrints)}}function H(t,e){if(t&1&&(a(0,"li")(1,"a",5)(2,"medium"),c(3),r()()()),t&2){let n=e.$implicit;o(),l("routerLink",M(3,F,n.link))("queryParams",m(5,R,n.param.ID,n==null||n.param==null?null:n.param.Template,n.param.Price,n.param.Print)),o(2),C(n==null?null:n.label)}}function q(t,e){if(t&1&&(a(0,"div",1)(1,"span"),c(2,"Paper Size :"),r(),a(3,"ul"),d(4,H,4,10,"li",null,p),r()()),t&2){let n=P();o(4),_(n.paperPrints)}}var D=class t{paperPrints;paperType;constructor(){}static \u0275fac=function(n){return new(n||t)};static \u0275cmp=v({type:t,selectors:[["POS-print-mode"]],inputs:{paperPrints:"paperPrints",paperType:"paperType"},standalone:!1,decls:2,vars:1,consts:[[1,"row","g-0","invoice_mini"],[1,"mode"],[1,"col-auto"],[1,"col-auto","ps-3","pe-3",3,"class"],[1,"col-auto","ps-3","pe-3"],[3,"routerLink","queryParams"]],template:function(n,i){n&1&&b(0,$,6,0,"div",0)(1,q,6,0,"div",1),n&2&&y(i.paperType=="mini"?0:1)},dependencies:[S],styles:['.invoice_mini[_ngcontent-%COMP%], .sales_order_mini[_ngcontent-%COMP%]{width:264px;margin:auto;padding:0 4px;color:#000;font-family:Arial!important}.invoice_mini[_ngcontent-%COMP%] h1[_ngcontent-%COMP%], .invoice_mini[_ngcontent-%COMP%] h2[_ngcontent-%COMP%], .invoice_mini[_ngcontent-%COMP%] h3[_ngcontent-%COMP%], .invoice_mini[_ngcontent-%COMP%] h4[_ngcontent-%COMP%], .invoice_mini[_ngcontent-%COMP%] h5[_ngcontent-%COMP%], .invoice_mini[_ngcontent-%COMP%] h6[_ngcontent-%COMP%], .sales_order_mini[_ngcontent-%COMP%] h1[_ngcontent-%COMP%], .sales_order_mini[_ngcontent-%COMP%] h2[_ngcontent-%COMP%], .sales_order_mini[_ngcontent-%COMP%] h3[_ngcontent-%COMP%], .sales_order_mini[_ngcontent-%COMP%] h4[_ngcontent-%COMP%], .sales_order_mini[_ngcontent-%COMP%] h5[_ngcontent-%COMP%], .sales_order_mini[_ngcontent-%COMP%] h6[_ngcontent-%COMP%]{font-family:Arial!important}.invoice_mini[_ngcontent-%COMP%] .text-danger[_ngcontent-%COMP%], .sales_order_mini[_ngcontent-%COMP%] .text-danger[_ngcontent-%COMP%]{color:red!important}.invoice_mini[_ngcontent-%COMP%] .border-y[_ngcontent-%COMP%], .sales_order_mini[_ngcontent-%COMP%] .border-y[_ngcontent-%COMP%]{padding:5px 0;border-top:1px solid #888}.invoice_mini[_ngcontent-%COMP%] .cartAmount[_ngcontent-%COMP%], .sales_order_mini[_ngcontent-%COMP%] .cartAmount[_ngcontent-%COMP%]{border-top:1px solid #888;border-bottom:1px solid #888}.invoice_mini[_ngcontent-%COMP%] .rightAuto[_ngcontent-%COMP%], .sales_order_mini[_ngcontent-%COMP%] .rightAuto[_ngcontent-%COMP%]{margin:0 0 0 auto}.invoice_mini[_ngcontent-%COMP%] span.point[_ngcontent-%COMP%] p[_ngcontent-%COMP%], .sales_order_mini[_ngcontent-%COMP%] span.point[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{margin:0 auto!important;padding:0!important}.invoice_mini[_ngcontent-%COMP%] .note[_ngcontent-%COMP%], .sales_order_mini[_ngcontent-%COMP%] .note[_ngcontent-%COMP%]{font-size:11px!important}.invoice_mini[_ngcontent-%COMP%] .note[_ngcontent-%COMP%] h6[_ngcontent-%COMP%], .sales_order_mini[_ngcontent-%COMP%] .note[_ngcontent-%COMP%] h6[_ngcontent-%COMP%]{font-size:.4375rem;padding:.4375rem}.invoice_mini[_ngcontent-%COMP%] .note[_ngcontent-%COMP%] > p[_ngcontent-%COMP%], .sales_order_mini[_ngcontent-%COMP%] .note[_ngcontent-%COMP%] > p[_ngcontent-%COMP%]{margin:0 auto!important;padding:0!important}.invoice_mini.lx300[_ngcontent-%COMP%] img[_ngcontent-%COMP%], .sales_order_mini.lx300[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{max-width:220px}.box[_ngcontent-%COMP%]{position:relative}.ribbon[_ngcontent-%COMP%]{width:170px;height:140px;overflow:hidden;position:absolute}.ribbon[_ngcontent-%COMP%] div[_ngcontent-%COMP%]{position:absolute;display:block;width:204px;padding:42px 31px;background-color:#3498db;box-shadow:0 5px 10px #0000001a;color:#fff;text-shadow:0 1px 1px rgba(0,0,0,.2);text-transform:uppercase;text-align:center;font-size:9px;line-height:17px}.ribbon-content[_ngcontent-%COMP%]{top:-10px;left:-45px}div.ribbon-content[_ngcontent-%COMP%]{right:47px;top:47px;transform:rotate(-45deg)}.invoice_mini.lx300[_ngcontent-%COMP%], .sales_order_mini.lx300[_ngcontent-%COMP%], .packingslip_container.lx300[_ngcontent-%COMP%]{margin:0 0 0 20px!important;width:520px!important;letter-spacing:3px!important}.invoice_mini.lx300[_ngcontent-%COMP%] h2[_ngcontent-%COMP%], .sales_order_mini.lx300[_ngcontent-%COMP%] h2[_ngcontent-%COMP%], .packingslip_container.lx300[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{letter-spacing:8px!important}@media print{print-mode[_ngcontent-%COMP%]{display:none;visibility:hidden;height:0px}.ribbon[_ngcontent-%COMP%] div[_ngcontent-%COMP%]{background-color:none!important;color:#000;opacity:.7;border-style:dotted none}.ribbon[_ngcontent-%COMP%] .ribbon-content[_ngcontent-%COMP%]:after, .ribbon[_ngcontent-%COMP%] .ribbon-content[_ngcontent-%COMP%]:before{display:none}.sales_order_mini[_ngcontent-%COMP%] > .invoiceHeader[_ngcontent-%COMP%], .sales_order_mini[_ngcontent-%COMP%] h6[_ngcontent-%COMP%], .sales_order_mini[_ngcontent-%COMP%] table[_ngcontent-%COMP%]{font-family:Arial,Helvetica,sans-serif!important}.toast[_ngcontent-%COMP%]{display:none!important}}body[_ngcontent-%COMP%]{padding:0;font-size:12px}a.linkMini[_ngcontent-%COMP%]{left:130px;position:absolute;top:.5px;text-decoration:none;color:#3b5998}div.print_container[_ngcontent-%COMP%]{margin:0 auto;width:900px;text-align:left;color:#000;position:relative}div.print_container[_ngcontent-%COMP%], div.print_container[_ngcontent-%COMP%] h1[_ngcontent-%COMP%], div.print_container[_ngcontent-%COMP%] h2[_ngcontent-%COMP%], div.print_container[_ngcontent-%COMP%] h3[_ngcontent-%COMP%], div.print_container[_ngcontent-%COMP%] h4[_ngcontent-%COMP%], div.print_container[_ngcontent-%COMP%] h5[_ngcontent-%COMP%], div.print_container[_ngcontent-%COMP%] h6[_ngcontent-%COMP%]{font-family:Arial!important;background-color:#fff}div.mode[_ngcontent-%COMP%]{color:gray;font-size:11px;text-align:right;height:20px;padding-top:2px}div.mode[_ngcontent-%COMP%] span[_ngcontent-%COMP%], div.mode[_ngcontent-%COMP%] ul[_ngcontent-%COMP%], div.mode[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{float:left;display:block;margin:0;padding:0}div.mode[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]:first-child{padding-right:5px;margin-right:5px;border-right:solid 1px gray}div.mode[_ngcontent-%COMP%] div.printer[_ngcontent-%COMP%]{float:left}div.mode[_ngcontent-%COMP%] div.template[_ngcontent-%COMP%]{float:right}div.mode[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{color:#3b5998;text-decoration:none}div.mode[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover{text-decoration:underline}div.mode[_ngcontent-%COMP%] a.active[_ngcontent-%COMP%]{color:gray}div.mode[_ngcontent-%COMP%] a.active[_ngcontent-%COMP%]:hover{text-decoration:none}div.mode[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{margin:0 5px}div.header_left[_ngcontent-%COMP%]{float:left;padding:5px 0 0 5px}div.header_left[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{margin:5px 0 0;padding:0;font-size:18px}div.header_right[_ngcontent-%COMP%]{float:right;padding:0 5px 0 0;max-width:425px}div.header_right[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{margin:0;padding:0;text-align:right}div.header_right[_ngcontent-%COMP%] h1[_ngcontent-%COMP%] strong[_ngcontent-%COMP%]{font-size:16px;font-weight:700;margin:0 5px 0 0;text-transform:uppercase}div.header_right[_ngcontent-%COMP%] h1[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{font-size:18px;font-weight:400}div.header_right[_ngcontent-%COMP%] table[_ngcontent-%COMP%]{float:right;border-collapse:collapse}div.header_right[_ngcontent-%COMP%] table[_ngcontent-%COMP%] th[_ngcontent-%COMP%], div.header_right[_ngcontent-%COMP%] table[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{border:solid 1px #9E9E9E;padding:4px}div.header_right[_ngcontent-%COMP%] table[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{background:#f6f6f6}div.header_right[_ngcontent-%COMP%] table[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{padding-bottom:6px}div.header[_ngcontent-%COMP%] img.float[_ngcontent-%COMP%]{margin:5px 0 0 5px;float:left}div.header[_ngcontent-%COMP%] div.company[_ngcontent-%COMP%]{width:100%;overflow:auto;margin:0 0 8px}div.header[_ngcontent-%COMP%] div.companyBody[_ngcontent-%COMP%]{float:left}div.header[_ngcontent-%COMP%] div.companyBody[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{font-size:18px;font-weight:700;margin:0;padding:0}div.header[_ngcontent-%COMP%] div.companyBody[_ngcontent-%COMP%] small[_ngcontent-%COMP%]{font-size:11px;text-align:left;font-weight:400}div.header[_ngcontent-%COMP%] div.companyBody[_ngcontent-%COMP%] div.contact_info[_ngcontent-%COMP%]{margin-top:3px}div.header[_ngcontent-%COMP%] div.companyBody[_ngcontent-%COMP%] div.contact_info[_ngcontent-%COMP%] div.address[_ngcontent-%COMP%]{float:left;min-width:125px}div.header[_ngcontent-%COMP%] div.companyBody[_ngcontent-%COMP%] div.contact_info[_ngcontent-%COMP%] div.number[_ngcontent-%COMP%]{margin-right:5px;min-width:160px}div.header[_ngcontent-%COMP%] div.contact[_ngcontent-%COMP%]{width:max-content;overflow:auto;border:solid 1px #9E9E9E;padding:5px}div.header[_ngcontent-%COMP%] div.contact[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{font-size:12px;margin:0 5px 0 0;padding:0;font-weight:700;float:left}div.cartItems[_ngcontent-%COMP%]{padding:10px 3px 2px 5px}div.copy[_ngcontent-%COMP%]{background-image:url(/Images/Print/copy_bg.png);background-repeat:no-repeat;background-position:50% 70px}div.topNote[_ngcontent-%COMP%]{clear:both;text-align:right}div.invoiceNote[_ngcontent-%COMP%]{padding:10px 0 0 7px}div.note[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{font-weight:700;font-size:12px;margin:0 0 3px;padding:0}div.note[_ngcontent-%COMP%] div.single[_ngcontent-%COMP%]{width:895px!important}div.note[_ngcontent-%COMP%] div.left[_ngcontent-%COMP%]{float:left;margin-left:5px;width:440px}div.note[_ngcontent-%COMP%] div.left[_ngcontent-%COMP%] ol[_ngcontent-%COMP%]{margin:5px 0 0;padding:0 0 0 20px}div.note[_ngcontent-%COMP%] div.left[_ngcontent-%COMP%] ol[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{margin:0 0 2px}div.note[_ngcontent-%COMP%] div.left[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{margin:2px 0 5px;padding:0 0 0 20px}div.note[_ngcontent-%COMP%] div.left[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{margin:0 0 2px}div.note[_ngcontent-%COMP%] div.right[_ngcontent-%COMP%]{float:right;width:440px;border-left:solid 1px #CACACA;padding-left:8px;margin-right:5px}div.note[_ngcontent-%COMP%] div.right[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{margin:0;padding:0;list-style:none}div.note[_ngcontent-%COMP%] div.right[_ngcontent-%COMP%] h3.closing[_ngcontent-%COMP%]{margin-top:10px;text-align:right}div.note-info[_ngcontent-%COMP%]{margin:auto;width:23%}table.info[_ngcontent-%COMP%]{border-collapse:collapse;margin-top:5px;margin-left:5px}table.info[_ngcontent-%COMP%] th[_ngcontent-%COMP%], table.info[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{padding:5px 7px;border:solid 1px #d8d8d8}table.info[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{background-color:#f6f6f6}div.fullContainer[_ngcontent-%COMP%] div.print_container[_ngcontent-%COMP%]{min-height:970px;position:relative}.clearfix[_ngcontent-%COMP%]:before, .clearfix[_ngcontent-%COMP%]:after{content:"";display:table}.clearfix[_ngcontent-%COMP%]:after{clear:both}.clearfix[_ngcontent-%COMP%]{zoom:1}div.reportMargin[_ngcontent-%COMP%]{margin:20px 0 0}@media print{div.mode[_ngcontent-%COMP%], .linkMini[_ngcontent-%COMP%]{display:none;visibility:hidden;height:0px}thead[_ngcontent-%COMP%]{display:table-header-group}}small.timestamp[_ngcontent-%COMP%], small.creator[_ngcontent-%COMP%], small.printed[_ngcontent-%COMP%]{font-size:12px;text-align:center;display:block;font-style:italic;padding:2px 0}small.creator[_ngcontent-%COMP%]{padding:2px 0 20px;font-style:normal}span.titleJB[_ngcontent-%COMP%]{font-weight:700;padding:10px 0 7px 8px;display:block}.topHolder[_ngcontent-%COMP%]{margin-top:15px!important}h1.jobOrderHeader[_ngcontent-%COMP%]{text-align:center}.shippingAddress[_ngcontent-%COMP%]{text-align:right;min-width:240px;clear:both}.shippingAddress[_ngcontent-%COMP%] div.box[_ngcontent-%COMP%] div[_ngcontent-%COMP%]:first-child{text-align:left;font-weight:700}.packingSlip[_ngcontent-%COMP%]{min-width:150px}.customer_info[_ngcontent-%COMP%]{min-width:310px}']})},E=class t{static \u0275fac=function(n){return new(n||t)};static \u0275mod=u({type:t});static \u0275inj=f({imports:[k,z]})};var U=class t{constructor(e){this.sanitizer=e}transform(e){if(this.isResourceUrl(e))return this.sanitizer.bypassSecurityTrustResourceUrl(e);{let i=`${window.location.origin}/${e}`;return this.sanitizer.bypassSecurityTrustResourceUrl(i)}}isResourceUrl(e){return/^(https?:\/\/|\/)/i.test(e)}static \u0275fac=function(n){return new(n||t)(h(T,16))};static \u0275pipe=g({name:"StylesheetSafeUrl",type:t,pure:!0})};var B=class t{httpService=x(I);updateLastPrintDateTime(e){return this.httpService.post(`${A.UpdateLastPrintDateTime}`,{InvoiceID:e})}static \u0275fac=function(n){return new(n||t)};static \u0275prov=O({token:t,factory:t.\u0275fac})};var j=class t{transform(e,n=1){if(e==null||n<=0)return e;let i=e.toString(),L=i.slice(-n);return"*".repeat(Math.max(0,i.length-n))+L}static \u0275fac=function(n){return new(n||t)};static \u0275pipe=g({name:"lastDigit",type:t,pure:!0})};export{U as a,D as b,E as c,B as d,j as e};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{a as S,b as o,c as v}from"./chunk-EQLHPWVB.js";import{a}from"./chunk-USJ6ILEE.js";import{I as l,N as u,be as g,d as n,e as i,la as b,n as h,oa as C,p as r}from"./chunk-JYZTRN6N.js";var f=class c{constructor(e){this.toastr=e;this.socketConnection=new v().withUrl("/POSHub").withAutomaticReconnect().configureLogging(S.Information).build(),this.registerEventHandler()}lastGroupID;OnPaymentReceived=new n;OnReceivePushNotification=new n;OnContactReceive=new n;OnPromotionEventChange=new n;_recacheOutlet=new i(!1);recacheOutlet$=this._recacheOutlet.asObservable();_recacheCategory=new i(!1);recacheCategory$=this._recacheCategory.asObservable();_recacheSalesPerson=new i(!1);recacheSalesPerson$=this._recacheSalesPerson.asObservable();socketConnection;connectionStateSubject=new n;startConnection(){this.socketConnection.state==o.Disconnected&&this.socketConnection.start().then(()=>{console.info("SignalR Connected"),this.connectionStateSubject.next(!0)}).catch(e=>{console.log(e)})}SubscribeGroup(e,t=null){e!=this.lastGroupID&&(this.socketConnection.state==o.Disconnected?this.socketConnection.start().then(()=>{this.invokeSubscribe(e,t)}).catch(s=>{this.toastr.error(s,"Error")}):this.socketConnection.state==o.Connecting?this.connectionStateSubject.pipe(u(1)).subscribe({next:()=>{this.invokeSubscribe(e,t)}}):this.socketConnection.state==o.Connected&&this.invokeSubscribe(e,t))}invokeSubscribe(e,t){let s={CurrentID:e,PreviousID:t};this.socketConnection.invoke("SubscribeGroup",s).then(()=>{console.info(`SignalR Subscribed to Group: [${e}]`),this.lastGroupID=e}).catch(p=>{console.error(p)})}registerEventHandler(){this.socketConnection.on("ReceiveMobilePaymentSignal",e=>{this.OnPaymentReceived.next(e)}),this.socketConnection.on("OnContactReceive",e=>{this.OnContactReceive.next(e)}),this.socketConnection.on("ReceiveNewPromotionSignal",e=>{this.OnPromotionEventChange.next(e)}),this.socketConnection.on("ReceivePushNotificationSignal",e=>{this.OnReceivePushNotification.next(e)}),this.socketConnection.on("ReceiveOutletChanges",()=>{this._recacheOutlet.next(!0)}),this.socketConnection.on("ReceiveProductCategoryChanges",()=>{this._recacheCategory.next(!0)}),this.socketConnection.on("ReceiveSalesPersonChanges",()=>{this._recacheSalesPerson.next(!0)})}isSocketConnected(){return a.IsEmpty(this.socketConnection)?!1:this.socketConnection.state==o.Connected&&a.IsNotEmpty(this.socketConnection.connectionId)}broadcast(e){return this.isSocketConnected()?h(this.socketConnection.invoke("BroadCast",e)).pipe(l(t=>(this.toastr.error(t,"Error"),r(()=>t)))):r(()=>"SignalR is not connected")}resetOutletCache(){this._recacheOutlet.next(!1)}resetCategoryCache(){this._recacheCategory.next(!1)}resetSalesPersonCache(){this._recacheSalesPerson.next(!1)}static \u0275fac=function(t){return new(t||c)(C(g))};static \u0275prov=b({token:c,factory:c.\u0275fac,providedIn:"root"})};export{f as a};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{a as ae,b as le}from"./chunk-I5W4NCFM.js";import"./chunk-MVUVDYGQ.js";import{a as ie}from"./chunk-LAZZHDUO.js";import"./chunk-WNZKCNMC.js";import"./chunk-6GLKD66N.js";import"./chunk-CBSYYTXQ.js";import{e as de,f as ce}from"./chunk-356KM5DR.js";import"./chunk-VYQEM4T2.js";import"./chunk-UTAQ3FRE.js";import"./chunk-IVJVUXLS.js";import{a as pe,b as me}from"./chunk-UQ5F3YKZ.js";import"./chunk-CS6HBROS.js";import"./chunk-JUS6LLVX.js";import"./chunk-BA3BDB5Y.js";import"./chunk-C4WJKF7R.js";import{O as H}from"./chunk-T25N3EEG.js";import{d as ue,e as se}from"./chunk-7TBS7SPQ.js";import{a as re}from"./chunk-A45GTZVV.js";import"./chunk-NWSIPELM.js";import"./chunk-L76WVZW6.js";import"./chunk-2FWFPV5I.js";import"./chunk-O5SLP4JK.js";import{F as te,c as Y,h as Z,o as ee}from"./chunk-RNLSEEMX.js";import"./chunk-U5LNORQV.js";import"./chunk-FO5ZTXDH.js";import{a as h,d as oe}from"./chunk-USJ6ILEE.js";import"./chunk-BJF3WGIP.js";import{$d as X,Ab as V,Bb as k,Bc as d,Ca as D,Cb as s,Cc as f,Db as o,Dc as A,Eb as r,Fb as O,Hc as j,Mb as w,Ob as G,Qa as L,Qb as u,Wd as K,Xa as l,Y as b,Zd as Q,db as M,dc as p,ec as g,ee as ne,fa as R,hb as U,ic as P,jc as I,kc as E,kd as q,lb as B,lc as N,md as z,nb as F,pa as v,rd as J,ta as c,tc as W,ua as _,uc as $,vb as y,xb as C,zb as T}from"./chunk-JYZTRN6N.js";import"./chunk-WFMAM73Y.js";import{a as x,b as S}from"./chunk-SNAKHGZS.js";var ge=()=>["/menu/Users/User/Groups/Info"],fe=i=>({ID:i});function he(i,m){if(i&1){let e=w();o(0,"div",9)(1,"h6"),p(2,"Group"),r(),o(3,"ng-select",10),E("ngModelChange",function(t){c(e);let a=u(2);return I(a.filter().GroupID,t)||(a.filter().GroupID=t),_(t)}),r(),o(4,"h6"),p(5,"Row Count"),r(),o(6,"input",11),E("ngModelChange",function(t){c(e);let a=u(2);return I(a.filter().RowCount,t)||(a.filter().RowCount=t),_(t)}),r()()}if(i&2){let e=u(2);l(3),s("items",e.options().Groups),P("ngModel",e.filter().GroupID),l(3),s("max",1e4),P("ngModel",e.filter().RowCount)}}function ye(i,m){if(i&1&&(o(0,"a",12),p(1),r()),i&2){let e=u().$implicit;s("routerLink",W(3,ge))("queryParams",$(4,fe,e._source==null||e._source.Log==null?null:e._source.Log.id)),l(),g(e._source==null||e._source.Log==null?null:e._source.Log.name)}}function Ce(i,m){if(i&1&&(o(0,"span"),p(1),r()),i&2){let e=u().$implicit;l(),g(e._source==null||e._source.Log==null?null:e._source.Log.name)}}function xe(i,m){if(i&1&&(o(0,"tr",7)(1,"td"),y(2,ye,2,6,"a",12),y(3,Ce,2,1,"span"),r(),o(4,"td"),p(5),d(6,"date"),r(),o(7,"td"),p(8),r(),O(9,"td",13),d(10,"newlines"),r()),i&2){let e=m.$implicit,n=u(2);l(2),C(n.role.users.Edit?2:-1),l(),C(n.role.users.Edit?-1:3),l(2),g(A(6,5,e._source["@timestamp"],"dd MMM yyyy HH:mm")),l(3),g(e._source==null||e._source.Log==null?null:e._source.Log.creator),l(),s("innerHtml",f(10,8,e._source==null||e._source.Log==null?null:e._source.Log.note),L)}}function Se(i,m){if(i&1){let e=w();o(0,"mainpanel-cmp",2),G("onSubmit",function(){c(e);let t=u();return _(t.initData())}),o(1,"filters"),F(2,he,7,4,"ng-template",null,0,j),r(),o(4,"content")(5,"div",3)(6,"div",4)(7,"table",5)(8,"thead",6)(9,"tr")(10,"th"),p(11,"Group"),r(),o(12,"th"),p(13,"Modified"),r(),o(14,"th"),p(15,"Modify By"),r(),o(16,"th"),p(17,"Note"),r()()(),o(18,"tbody"),V(19,xe,11,10,"tr",7,T),d(21,"async"),r()(),o(22,"div"),N(23),d(24,"async"),o(25,"mat-paginator",8),G("page",function(t){c(e);let a=u();return _(a.onPaginationChange(t))}),r()()()()()()}if(i&2){let e,n,t=u();s("pageData",t.menuData)("isFilterOnDropdown",!1)("hideSearchBox",!0),l(19),k((e=f(21,6,t.data$))==null||e.Data==null?null:e.Data.hits);let a=(n=f(24,8,t.data$))==null||n.Data==null||n.Data.hits==null?null:n.Data.hits.length;l(6),s("length",a)("pageSize",t.filter().RowCount)("pageIndex",t.filter().PageNumber==0?0:t.filter().PageNumber-1)}}var _e=class i extends pe{constructor(e,n){super(e);this.role=n;this.menuData$.pipe(re()).subscribe();let t=this.routeSnapshot.snapshot?.queryParams?.ID;h.IsNotEmpty(t)&&(this.filter.update(a=>S(x({},a),{GroupID:t})),this.initData())}httpService=v(ne);routeSnapshot=v(K);filter=D({PageNumber:1,RowCount:20,GroupID:h.GuidEmpty});options=D({Groups:[]});loader$=this.httpService.get(H.GroupHistoryLoader).pipe(R(e=>{this.options.set(e.Options),this.initData()}),b(1));data$;initData(){let e=h.IsNotEmpty(this.filter().GroupID)?this.filter().GroupID:h.GuidEmpty;this.data$=this.httpService.get(H.GroupHistoryData,[{key:"PageNumber",value:this.filter().PageNumber},{key:"RowCount",value:this.filter().RowCount},{key:"GroupID",value:e}]).pipe(b(1))}onPaginationChange(e){this.filter.update(n=>S(x({},n),{PageNumber:e.pageIndex+1})),this.initData()}static \u0275fac=function(n){return new(n||i)(M(me),M(oe))};static \u0275cmp=U({type:i,selectors:[["app-group-update-history"]],features:[B],decls:3,vars:3,consts:[["pageFilterTemplate",""],["searchBoxPlaceholder","Search Note...",3,"pageData","isFilterOnDropdown","hideSearchBox"],["searchBoxPlaceholder","Search Note...",3,"onSubmit","pageData","isFilterOnDropdown","hideSearchBox"],[1,"container-fluid","mt-5"],[1,"table-responsive"],["id","tableGrid",1,"table"],[1,"thead-light","sticky-top-thead"],[1,"border-bottom"],[3,"page","length","pageSize","pageIndex"],[1,"dialog-filter"],["bindLabel","Name","bindValue","ID","placeholder","Choose a group","appendTo","body",3,"ngModelChange","items","ngModel"],["type","text","autoNum","",1,"input-left","w-100","form-control","input-filter",3,"ngModelChange","max","ngModel"],[3,"routerLink","queryParams"],[3,"innerHtml"]],template:function(n,t){if(n&1&&(N(0),d(1,"async"),y(2,Se,26,10,"mainpanel-cmp",1)),n&2){let a=f(1,1,t.loader$);l(2),C(a?2:-1)}},dependencies:[J,ce,de,le,ae,X,Q,te,Y,Z,ee,se,ue,q,z,ie],encapsulation:2})};export{_e as GroupUpdateHistoryComponent};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{ha as e}from"./chunk-NWSIPELM.js";import{F as m}from"./chunk-RNLSEEMX.js";import{ib as r,ma as t,rd as i}from"./chunk-JYZTRN6N.js";var p=class o{static \u0275fac=function(f){return new(f||o)};static \u0275mod=r({type:o});static \u0275inj=t({imports:[i,m,e]})};export{p as a};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{a as V,b as W}from"./chunk-ZW5E2GIN.js";import{a as B}from"./chunk-R36QPCUA.js";import{e as J,f as q}from"./chunk-356KM5DR.js";import"./chunk-IVJVUXLS.js";import{b as I}from"./chunk-UQ5F3YKZ.js";import"./chunk-CS6HBROS.js";import"./chunk-JUS6LLVX.js";import"./chunk-BA3BDB5Y.js";import{b as E,c as P}from"./chunk-C4WJKF7R.js";import"./chunk-T25N3EEG.js";import"./chunk-A45GTZVV.js";import"./chunk-NWSIPELM.js";import"./chunk-L76WVZW6.js";import"./chunk-2FWFPV5I.js";import"./chunk-O5SLP4JK.js";import"./chunk-RNLSEEMX.js";import"./chunk-U5LNORQV.js";import"./chunk-FO5ZTXDH.js";import"./chunk-USJ6ILEE.js";import"./chunk-BJF3WGIP.js";import{Bc as d,Cb as r,Cc as D,Db as o,Dc as C,Eb as t,Fb as c,Mb as j,Ob as v,Qb as b,Wd as M,Xa as l,db as m,dc as a,ec as L,ee as T,fc as x,hb as f,lb as y,md as _,nd as k,od as w,rd as R,ta as u,ua as g,vb as h,xb as S}from"./chunk-JYZTRN6N.js";import"./chunk-WFMAM73Y.js";import"./chunk-SNAKHGZS.js";function A(p,i){if(p&1){let e=j();o(0,"mainpanel-cmp",0)(1,"content")(2,"div",1)(3,"div",2)(4,"div",3)(5,"div",4)(6,"div",5)(7,"h3"),a(8,"General"),t()(),o(9,"div",6)(10,"div",2)(11,"div",7),c(12,"floatinglabel",8),d(13,"date"),t(),o(14,"div",7),c(15,"floatinglabel",9),d(16,"number"),t()(),o(17,"div",2)(18,"div",7),c(19,"floatinglabel",10),t()()()()()(),o(20,"div",2)(21,"div",7)(22,"div",4)(23,"div",11)(24,"div",12)(25,"h3"),a(26,"Request"),t()(),o(27,"div",13)(28,"button",14),v("click",function(){u(e);let n=b();return g(n.copyClipboard(n.jobLogsDetail==null?null:n.jobLogsDetail.log.req,"Request"))}),a(29,"Copy Request to Clipboard"),t()()(),o(30,"div",6)(31,"pre",15),a(32),d(33,"json"),t()()()(),o(34,"div",7)(35,"div",4)(36,"div",11)(37,"div",12)(38,"h3"),a(39,"Response"),t()(),o(40,"div",13)(41,"button",16),v("click",function(){u(e);let n=b();return g(n.copyClipboard(n.jobLogsDetail==null||n.jobLogsDetail.log==null?null:n.jobLogsDetail.log.res,"Response"))}),a(42,"Copy Response to Clipboard"),t()()(),o(43,"div",6)(44,"pre",17),a(45),d(46,"json"),t()()()()()()()()}if(p&2){let e=b();r("pageData",e.menuData)("hideSearchDropdown",!0)("hideSearchBox",!0),l(12),r("model",C(13,10,e.jobLogsDetail["@timestamp_received"],"dd MMM yyyy")),l(3),r("model",C(16,13,e.jobLogsDetail==null?null:e.jobLogsDetail.DurationInSecond,"1.1-1")+" s"),l(4),r("model",e.jobLogsDetail==null||e.jobLogsDetail.log==null?null:e.jobLogsDetail.log.respCode),l(9),r("matTooltip",e.copyStatus?e.msgCopyClipboard:"Copy to clipboard"),l(4),L(D(33,16,e.jobLogsDetail==null||e.jobLogsDetail.log==null?null:e.jobLogsDetail.log.req)),l(9),r("matTooltip",e.copyStatus?e.msgCopyClipboard:"Copy to clipboard"),l(4),x('"',D(46,18,e.jobLogsDetail==null?null:e.jobLogsDetail.log.res),'"')}}var F=class p extends B{jobLogsDetail;copyStatus;msgCopyClipboard;constructor(i,e,s){super(i,e,"Developer/DeveloperSpace/Webhook/JobLogDetail",s)}postBindForm(i){this.jobLogsDetail=i?.hits[0]?._source,this.jobLogsDetail&&(this.jobLogsDetail.DurationInSecond=parseInt(this.jobLogsDetail?.Duration)/1e3)}copyClipboard(i,e){this.copyStatus=!0,this.msgCopyClipboard=e+" has been coppied to clipboard!",navigator.clipboard.writeText(JSON.stringify(i)),setTimeout(()=>{this.copyStatus=!1},3e3)}static \u0275fac=function(e){return new(e||p)(m(I),m(T),m(M))};static \u0275cmp=f({type:p,selectors:[["app-webhook-job-logs-detail"]],features:[y],decls:1,vars:1,consts:[[3,"pageData","hideSearchDropdown","hideSearchBox"],["id","webhook-logs",1,"container-fluid","pt-5"],[1,"row"],[1,"col-12"],[1,"card"],[1,"card-header"],[1,"card-body"],[1,"col-sm-6"],["label","Created",3,"model"],["label","Duration",3,"model"],["label","Response Code",3,"model"],[1,"card-header","d-lg-flex"],[1,"me-auto","mt-5"],[1,"d-sm-block","mt-2"],["id","btnCopyRequest","matTooltipPosition","above",1,"btn","btn-secondary","btn-sm",3,"click","matTooltip"],["id","requestValue",2,"font-size","13px"],["id","btnCopyResponse","matTooltipPosition","above",1,"btn","btn-secondary","btn-sm",3,"click","matTooltip"],["id","responseValue",2,"font-size","13px"]],template:function(e,s){e&1&&h(0,A,47,20,"mainpanel-cmp",0),e&2&&S(s.jobLogsDetail?0:-1)},dependencies:[R,q,J,W,V,P,E,k,w,_],encapsulation:2})};export{F as WebhookJobLogsDetailComponent};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{a as te,b as ie,c as oe}from"./chunk-VX5HH3BW.js";import{a as pe,c as ce}from"./chunk-KKLNFVVN.js";import{u as se,v as me,w as de}from"./chunk-BA3BDB5Y.js";import{b as Z,c as ee}from"./chunk-C4WJKF7R.js";import{a as le,d as re}from"./chunk-7TBS7SPQ.js";import{e as ne,f as ae}from"./chunk-A45GTZVV.js";import{F as Y,c as q,h as K,o as Q}from"./chunk-RNLSEEMX.js";import{Ab as X,Bb as H,Bc as M,Cb as u,Cc as v,Db as l,Eb as r,Fb as f,Mb as T,Ob as y,Qb as m,Xa as p,Y as F,aa as L,cc as z,d as I,db as _,dc as s,ec as O,ee as E,fa as w,fc as B,gc as G,hb as J,ic as R,jc as D,kc as A,kd as W,la as P,nb as k,oa as V,od as U,rd as $,t as b,ta as C,ua as h,vb as d,xb as c,zb as j}from"./chunk-JYZTRN6N.js";import{a as x,b as g}from"./chunk-SNAKHGZS.js";var S=class o{constructor(t){this.http=t}exportCSV(t,e){let i=g(x({},e),{Export:!0});this.downloadFile(t,i)}exportCustom(t,e,i){let a=g(x({},e),{Export:!0,FormatType:i});this.downloadFile(t,a)}exportCSVIds(t,e){this.downloadFile(t,e)}exportXlsx(t,e){let i=g(x({},e),{FormatType:1});this.downloadFile(t,i)}downloadFile(t,e){this.http.postFile(`/api/${t}`,e).subscribe(i=>{let a=window.URL.createObjectURL(i.file),n=document.createElement("a");n.download=this.getFilenameFromContentDisposition(i.title),n.href=a,n.click(),URL.revokeObjectURL(a),n.remove()})}getFilenameFromContentDisposition(t){let i=/filename[^;=\n]*=((['"]).*?\2|[^;\n]*)/.exec(t);return i!=null&&i[1]?i[1].replace(/['"]/g,""):""}exportJSON(t,e,i){this.http.post(`/api/${t}`,i).subscribe(a=>{var n=JSON.stringify(a,null," ");this.downloadJSON(n,e+".json")})}downloadJSON(t,e){var i=new Blob([t],{type:"data:application/json;charset=utf-8"}),a=document.createElement("a");a.setAttribute("href",window.URL.createObjectURL(i)),a.setAttribute("download",e),document.body.appendChild(a),a.click(),document.body.removeChild(a)}static \u0275fac=function(e){return new(e||o)(V(E))};static \u0275prov=P({token:o,factory:o.\u0275fac,providedIn:"root"})};function Ce(o,t){if(o&1&&(l(0,"div",13),s(1),r()),o&2){let e=t.item;u("matTooltip",e.Tooltip),p(),B(" ",e.Value," ")}}function he(o,t){if(o&1){let e=T();l(0,"div",9),s(1," Columns "),r(),l(2,"div",10)(3,"ng-select",11),A("ngModelChange",function(a){C(e);let n=m();return D(n.exportType,a)||(n.exportType=a),h(a)}),y("change",function(a){C(e);let n=m();return h(n.onChangeExportType(a))}),k(4,Ce,2,2,"ng-template",12),r()()}if(o&2){let e=m();p(3),u("items",e.exportTypes),R("ngModel",e.exportType)}}function _e(o,t){o&1&&(l(0,"mat-button-toggle",6),f(1,"i",14),s(2,"CSV"),r())}function ye(o,t){o&1&&(l(0,"mat-button-toggle",7),f(1,"i",15),s(2,"XLSX"),r())}function be(o,t){if(o&1&&(l(0,"mat-button-toggle",16),f(1,"i",17),s(2),r()),o&2){let e=m().$implicit;u("value",e.value),p(),z(e.icon),p(),O(e.label)}}function Te(o,t){if(o&1&&d(0,be,3,4,"mat-button-toggle",16),o&2){let e=m();c(e.allowTxtOption()||e.isTextOnly()?0:-1)}}function Me(o,t){o&1&&(l(0,"mat-button-toggle",8),f(1,"i",18),s(2,"JSON"),r())}function ve(o,t){if(o&1){let e=T();l(0,"i",26),y("click",function(){C(e);let a=m(3);return h(a.onGetAllDataLength())}),r()}}function Ee(o,t){if(o&1&&(l(0,"span"),s(1,"of "),d(2,ve,1,0,"i",24),l(3,"span",25),s(4),M(5,"async"),r(),s(6," page(s)"),r()),o&2){let e=m(2);p(2),c(e.calledApiCount?-1:2),p(2),O(e.calledApiCount?v(5,2,e.allDataLength$):"")}}function Se(o,t){if(o&1){let e=T();l(0,"div",3),s(1," Page "),r(),l(2,"div",19)(3,"input",20),y("ngModelChange",function(a){C(e);let n=m();return h(n.pageNumber=a)}),r(),d(4,Ee,7,4,"span"),r(),l(5,"div",21)(6,"div",22),f(7,"i",23),s(8),M(9,"number"),M(10,"number"),r()()}if(o&2){let e=m();p(3),u("ngModel",e.pageNumber),p(),c(e.getAllDataLengthAPI?4:-1),p(4),G(" Exporting data from ",v(9,4,e.displayedMinRangeRow)," - ",e.exportFormat=="JSON"?"1,000":v(10,6,e.displayedMaxRangeRow)," ")}}var xe=class o{constructor(t,e,i,a){this.data=t;this.dialogRef=e;this.exportHandler=a;this.config.title=`Export ${t.title}`,this.config.hideCancel=!0,this.config.customWidth="450px",this.exportTypes=t.exportTypes,this.exportType=this.exportTypes[0].ID,this.filterExport=t.filterExport,this.pagination=t.pagination,this.getAllDataLengthAPI=t.getAllDataLengthAPI,this.extraExportTypesOptions=t.extraExportTypesOptions,this.allDataLength$=this.onGetAllDataLength$.pipe(b(()=>this.exportTypes.find(n=>n.ID==this.exportType)?.Count??this.getAllDataLengthAPI),L(n=>i.post("/API/"+n,this.filterExport)),b(n=>typeof n=="number"?n:n.Count),w(n=>{n<this.displayedMaxRangeRow&&this.setMinMaxRangeDisplayedRow(n),this.calledApiCount=!0}),b(n=>{let N=this.exportFormat=="JSON"?1e3:this.pageSize;return Math.floor(n/N)+(n%N>0?1:0)}),F(1),w(console.log)),this.allDataLength$.subscribe()}pageNumber=1;pageSize=1e4;config=new se;exportTypes=[];exportType;exportFormat="CSV";_onGetAllDataLength=new I;onGetAllDataLength$=this._onGetAllDataLength.asObservable();allDataLength$;calledApiCount=!1;filterExport;displayedMaxRangeRow=this.pageSize;displayedMinRangeRow=this.pageNumber;pagination;getAllDataLengthAPI="";extraExportTypesOptions=[];onOk(){this.filterExport=g(x({},this.filterExport),{Export:!0}),this.pagination&&(this.filterExport=g(x({},this.filterExport),{ExportPageNumber:this.pageNumber,ExportRowCount:this.pageSize})),this.exportFormat=="CSV"?this.exportHandler.exportCSV(this.exportType,this.filterExport):this.exportFormat=="XLSX"?this.exportHandler.exportXlsx(this.exportType,this.filterExport):this.exportFormat=="JSON"?this.exportHandler.exportJSON(this.data.JSONAPI,this.data.JSONFileName,g(x({},this.filterExport),{ExportRowCount:1e3})):this.exportHandler.exportCustom(this.exportType,this.filterExport,2),this.dialogRef.close()}onGetAllDataLength(){this._onGetAllDataLength.next()}onChangePageNumber(){this.setDisplayedMinMaxRangeRow()}setMinMaxRangeDisplayedRow(t){for(;this.displayedMaxRangeRow>t&&this.pageNumber>1;)this.pageNumber-=1,this.setDisplayedMinMaxRangeRow();this.displayedMaxRangeRow=t}setDisplayedMinMaxRangeRow(){this.displayedMinRangeRow=this.pageNumber*this.pageSize-this.pageSize+1,this.displayedMaxRangeRow=this.pageNumber*this.pageSize}isTextOnly(){return this.exportTypes.find(t=>t.ID==this.exportType)?.TxtOnly}isExludeJsonType(){return this.exportTypes.find(t=>t.ID==this.exportType)?.ExcludeJsonType}allowTxtOption(){return this.exportTypes.find(t=>t.ID==this.exportType)?.AllowTxtOption}onChangeExportType(t){this.calledApiCount=!1,this.displayedMaxRangeRow=this.pageSize,this.displayedMinRangeRow=this.pageNumber,this.isTextOnly()?this.exportFormat="TXT":this.exportFormat="CSV"}static \u0275fac=function(e){return new(e||o)(_(ae),_(ne),_(E),_(S))};static \u0275cmp=J({type:o,selectors:[["POS-modal-complex-export"]],decls:15,vars:7,consts:[[3,"onCancel","onClose","onOk","config"],[1,"container-fluid"],[1,"row"],[1,"col-3","fw-bold","mt-8",2,"display","flex","align-items","center"],[1,"col-9","mt-8"],[3,"ngModelChange","ngModel"],["value","CSV"],["value","XLSX"],["value","JSON"],[1,"col-3","fw-bold",2,"display","flex","align-items","center"],[1,"col-9"],["appendTo","body","bindLabel","Value","bindValue","ID",3,"ngModelChange","change","items","ngModel"],["ng-option-tmp",""],["matTooltipPosition","right",3,"matTooltip"],[1,"fa-solid","fa-file-csv","me-3","mb-1"],[1,"fa-solid","fa-file-excel","me-3","mb-1"],[3,"value"],[1,"me-3","mb-1"],[1,"fa-solid","fa-brackets-curly","me-3","mb-1"],[1,"col-9","mt-8",2,"display","flex","align-items","center","column-gap","10px"],["type","text","autoNum","","name","pageNumber","id","pageNumber",1,"form-control","text-center",2,"width","50px",3,"ngModelChange","ngModel"],[1,"col-12","mt-8"],[1,"p-3",2,"background-color","#add8e6","border-radius","4px"],[1,"fa-solid","fa-circle-exclamation","mx-3"],[1,"fa-solid","fa-circle-question","mx-3"],[1,"fw-bold"],[1,"fa-solid","fa-circle-question","mx-3",3,"click"]],template:function(e,i){e&1&&(l(0,"modal-material",0),y("onCancel",function(){return i.dialogRef.close()})("onClose",function(){return i.dialogRef.close()})("onOk",function(){return i.onOk()}),l(1,"content")(2,"div",1)(3,"div",2),d(4,he,5,2),l(5,"div",3),s(6," Format "),r(),l(7,"div",4)(8,"mat-button-toggle-group",5),A("ngModelChange",function(n){return D(i.exportFormat,n)||(i.exportFormat=n),n}),d(9,_e,3,0,"mat-button-toggle",6),d(10,ye,3,0,"mat-button-toggle",7),X(11,Te,1,1,null,null,j),d(13,Me,3,0,"mat-button-toggle",8),r()(),d(14,Se,11,8),r()()()()),e&2&&(u("config",i.config),p(4),c(i.exportTypes.length>1?4:-1),p(4),R("ngModel",i.exportFormat),p(),c(i.isTextOnly()?-1:9),p(),c(i.isTextOnly()?-1:10),p(),H(i.extraExportTypesOptions),p(2),c(i.data.JSONAPI&&!i.isTextOnly()&&!i.isExludeJsonType()?13:-1),p(),c(i.pagination?14:-1))},dependencies:[de,me,re,Y,q,K,Q,$,pe,ce,oe,te,ie,ee,Z,le,W,U],styles:[".general[_ngcontent-%COMP%], .page[_ngcontent-%COMP%]{border:1px solid #dcdcdc;border-radius:3px;padding:10px 8px;position:relative}.general[_ngcontent-%COMP%]{margin-bottom:15px}.floating-title[_ngcontent-%COMP%]{position:absolute;top:-10.5px;background:#fff;color:gray;font-size:14px}.select-header[_ngcontent-%COMP%]{line-height:36px}.input-header[_ngcontent-%COMP%]{line-height:36.6px}.form-control[_ngcontent-%COMP%]{height:max-content!important;padding:.375rem .75rem!important}"]})};export{S as a,xe as b};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{c as W,d as X}from"./chunk-6EJSHQWL.js";import{a as Y,b as Z}from"./chunk-QFON23YX.js";import{b as Q,c as U}from"./chunk-C4WJKF7R.js";import{a as B}from"./chunk-RLQLFW36.js";import{oa as K}from"./chunk-O5SLP4JK.js";import{F as J,h as q,o as G}from"./chunk-RNLSEEMX.js";import{a as d}from"./chunk-USJ6ILEE.js";import{Bc as k,Cb as l,Cc as F,Db as c,Eb as m,Hc as N,Lb as L,Mb as j,Ob as E,Qb as n,Xa as _,Y as f,Ya as M,_b as I,ca as S,d as x,db as b,dc as v,ee as C,fa as T,fc as R,ga as u,hb as $,jd as P,kd as z,la as w,nb as a,o as h,oa as O,pa as D,rd as A,ta as p,ua as g,vb as H,xb as V}from"./chunk-JYZTRN6N.js";var y=class o{signalRClient=D(B);continuedCategories$;allCategories$;_onOpenTreeSelector=new x;onOpenTreeSelector$=this._onOpenTreeSelector.asObservable();constructor(t){this.continuedCategories$=this.onOpenTreeSelector$.pipe(u(this.signalRClient.recacheCategory$),S((e,[i,r])=>r||!e.length?(this.signalRClient.resetCategoryCache(),t.post("/api/catalog/product/GetProductStorageOptions")):h(e),[]),f(1)),this.allCategories$=this.onOpenTreeSelector$.pipe(u(this.signalRClient.recacheCategory$),S((e,[i,r])=>r||!e.length?t.get("/API/catalog/category/SelectOptions"):h(e),[]),f(1))}onOpenTreeSelector(){this._onOpenTreeSelector.next(!0)}forceLoadCategories(){this._onOpenTreeSelector.next(!0)}static \u0275fac=function(e){return new(e||o)(O(C))};static \u0275prov=w({token:o,factory:o.\u0275fac,providedIn:"root"})};function re(o,t){o&1&&L(0)}function ne(o,t){if(o&1&&(c(0,"p-floatLabel",1),a(1,re,1,0,"ng-container",2),c(2,"label",3),v(3,"Category"),m()()),o&2){n();let e=I(3);_(),l("ngTemplateOutlet",e)}}function ae(o,t){o&1&&L(0)}function le(o,t){if(o&1&&a(0,ae,1,0,"ng-container",2),o&2){n();let e=I(3);l("ngTemplateOutlet",e)}}function ce(o,t){if(o&1&&(c(0,"div",6),v(1),m()),o&2){let e=n(2);l("matTooltip",e.selectedCategoryLabel),_(),R(" ",e.selectedCategoryLabel," ")}}function se(o,t){if(o&1){let e=j();c(0,"p-treeSelect",4),k(1,"async"),E("click",function(){p(e);let r=n();return g(r.loadCategories())})("ngModelChange",function(r){p(e);let s=n();return g(s.onSelectCategory(r))})("onClear",function(){p(e);let r=n();return g(r.onClear())}),a(2,ce,2,2,"ng-template",5),m()}if(o&2){let e=n();l("options",F(1,4,e.categories$))("ngModel",e.selectedCategory)("showClear",e.showClear)("placeholder",e.placeholder)}}var ee=class o{constructor(t,e){this.http=t;this.treeSelector=e}continuedCategoriesOnly=!0;categories=[];showClear=!1;showLabel=!1;isInitializedCategoryLabel=!1;placeholder="Select Storage Location";selectedCategory;selectedCategoryID;selectedCategoryIDChange=new M;selectedCategoryLabel;top=0;isLoadCategories=!1;categories$;ngAfterViewInit(){let t=document.querySelector("body");this.top=t.getBoundingClientRect().top*-1}ngOnInit(){this.isInitializedCategoryLabel&&(d.IsEmpty(this.selectedCategoryID)&&d.IsNotEmpty(this.categories)&&(this.selectedCategoryID=this.categories[0]?.key),this.selectedCategory=this.findSelectedCategory(this.categories,this.selectedCategoryID),this.generateLabelSelectedCategory(this.selectedCategory)),this.categories$=this.continuedCategoriesOnly?this.treeSelector.continuedCategories$:this.treeSelector.allCategories$,this.categories$=this.categories$.pipe(T(t=>{this.selectedCategory=this.findSelectedCategory(t,this.selectedCategoryID),this.generateLabelSelectedCategory(this.selectedCategory)}))}onSelectCategory(t){this.selectedCategory=t,this.generateLabelSelectedCategory(this.selectedCategory),this.selectedCategoryID=t?.key,this.selectedCategoryIDChange.emit(this.selectedCategoryID)}generateLabelSelectedCategory(t){if(t){let e=[];this.selectedCategoryLabel="";do e=[...e,t.label],t=t.parent;while(t!==void 0);this.selectedCategoryLabel=e.reverse().join("/")}else this.selectedCategoryLabel=this.placeholder}findSelectedCategory(t,e){if(d.IsNotEmpty(e))for(let i of t){if(i.key===e)return i;{i.children=i.children?i.children:[],i.children=i.children.map(s=>(s.parent=i,s));let r=this.findSelectedCategory(i.children,e);if(r)return r}}else return null}loadCategories(){this.treeSelector.onOpenTreeSelector()}onClear(){this.selectedCategoryID=null,this.selectedCategoryIDChange.emit(this.selectedCategoryID)}static \u0275fac=function(e){return new(e||o)(b(C),b(y))};static \u0275cmp=$({type:o,selectors:[["POS-storage-location-select"]],inputs:{continuedCategoriesOnly:"continuedCategoriesOnly",categories:"categories",showClear:"showClear",showLabel:"showLabel",isInitializedCategoryLabel:"isInitializedCategoryLabel",placeholder:"placeholder",selectedCategoryID:"selectedCategoryID"},outputs:{selectedCategoryIDChange:"selectedCategoryIDChange"},decls:4,vars:1,consts:[["categorySelectTemplate",""],["variant","on",1,"w-100"],[4,"ngTemplateOutlet"],["for","selectCategory",1,"tree-category-label"],["appendTo","body","selectionMode","single","filter","true","filterInputAutoFocus","true","scrollHeight","250px","inputId","selectCategory",3,"click","ngModelChange","onClear","options","ngModel","showClear","placeholder"],["pTemplate","value"],["matTooltipPosition","above",3,"matTooltip"]],template:function(e,i){e&1&&(H(0,ne,4,1,"p-floatLabel",1)(1,le,1,1,"ng-container"),a(2,se,3,6,"ng-template",null,0,N)),e&2&&V(i.showLabel?0:1)},dependencies:[A,P,U,Q,X,W,K,J,q,G,Z,Y,z],styles:[".p-popover.p-component{z-index:10000000000000000000000!important} .p-treeselect-panel .p-treeselect-items-wrapper .p-tree{padding-left:4px!important} .p-float-label .p-inputwrapper-filled~label.tree-category-label{left:.5rem!important}"]})};export{ee as a};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{b as X}from"./chunk-I5W4NCFM.js";import"./chunk-MVUVDYGQ.js";import{d as se,e as ge}from"./chunk-QPOOLLKY.js";import"./chunk-CSFFF2YO.js";import"./chunk-3RK6DDJD.js";import"./chunk-WNZKCNMC.js";import"./chunk-LOD3JYZW.js";import"./chunk-3KSZCJ6T.js";import"./chunk-6GLKD66N.js";import"./chunk-CBSYYTXQ.js";import"./chunk-G4IW5GPY.js";import{a as me,b as ce}from"./chunk-I3ABVEQL.js";import{b as ie}from"./chunk-T2H2XAEJ.js";import{a as Z}from"./chunk-OWGJVIYJ.js";import"./chunk-DV63TLIP.js";import{a as ae}from"./chunk-4QM23MMO.js";import{e as pe,f as le}from"./chunk-356KM5DR.js";import"./chunk-VX5HH3BW.js";import"./chunk-VYQEM4T2.js";import"./chunk-UTAQ3FRE.js";import"./chunk-M43HNBJQ.js";import"./chunk-KKLNFVVN.js";import"./chunk-IVJVUXLS.js";import{b as ne}from"./chunk-UQ5F3YKZ.js";import"./chunk-CS6HBROS.js";import"./chunk-JUS6LLVX.js";import"./chunk-BA3BDB5Y.js";import"./chunk-C4WJKF7R.js";import{G as oe,N as re}from"./chunk-T25N3EEG.js";import{d as ee,e as te}from"./chunk-7TBS7SPQ.js";import{g as $}from"./chunk-A45GTZVV.js";import"./chunk-NWSIPELM.js";import"./chunk-L76WVZW6.js";import"./chunk-2FWFPV5I.js";import"./chunk-O5SLP4JK.js";import{F as Y,h as K,o as U}from"./chunk-RNLSEEMX.js";import"./chunk-U5LNORQV.js";import"./chunk-FO5ZTXDH.js";import{d as Q}from"./chunk-USJ6ILEE.js";import"./chunk-BJF3WGIP.js";import{$d as J,Ab as L,Bb as A,Bc as b,Cb as c,Db as n,Dc as v,Eb as i,Ed as R,Fb as F,Hc as j,Jb as y,Kb as h,Mb as D,Ob as I,Qb as m,Vc as B,Xa as p,Zd as H,be as q,db as C,dc as l,ec as f,ee as z,fc as W,fd as N,hb as E,ic as _,jc as d,kc as u,lb as P,nb as x,pa as w,rd as G,ta as s,tc as k,ua as g,uc as O,yb as V}from"./chunk-JYZTRN6N.js";import"./chunk-WFMAM73Y.js";import{a as T,b as M}from"./chunk-SNAKHGZS.js";var ue=()=>["/menu/Contacts/Contact/Customers/Info"],Se=o=>({ID:o});function Ce(o,S){if(o&1){let e=D();n(0,"button",9),I("click",function(){s(e);let t=m(2);return g(t.openExportModal())}),F(1,"i",10),l(2," Export "),i()}}function xe(o,S){if(o&1){let e=D();n(0,"div")(1,"div",11)(2,"h6"),l(3,"Status"),i(),n(4,"ng-select",12),u("ngModelChange",function(t){s(e);let a=m(2);return d(a.contactState,t)||(a.contactState=t),g(t)}),i(),n(5,"h6"),l(6,"Outlet Sign Up"),i(),n(7,"ng-select",13),u("ngModelChange",function(t){s(e);let a=m(2);return d(a.pageData.Filter.CreatorEntityID,t)||(a.pageData.Filter.CreatorEntityID=t),g(t)}),i(),n(8,"h6"),l(9,"Group"),i(),n(10,"ng-select",14),u("ngModelChange",function(t){s(e);let a=m(2);return d(a.pageData.Filter.GroupID,t)||(a.pageData.Filter.GroupID=t),g(t)}),i(),n(11,"h6"),l(12,"Join Date Range"),i(),n(13,"div")(14,"datepicker",15),u("dateChange",function(t){s(e);let a=m(2);return d(a.pageData.Filter.From,t)||(a.pageData.Filter.From=t),g(t)}),i()(),n(15,"div",16)(16,"datepicker",17),u("dateChange",function(t){s(e);let a=m(2);return d(a.pageData.Filter.To,t)||(a.pageData.Filter.To=t),g(t)}),i()(),n(17,"h6"),l(18,"Sign In Date Range"),i(),n(19,"div")(20,"datepicker",15),u("dateChange",function(t){s(e);let a=m(2);return d(a.pageData.Filter.SignFrom,t)||(a.pageData.Filter.SignFrom=t),g(t)}),i()(),n(21,"div",16)(22,"datepicker",17),u("dateChange",function(t){s(e);let a=m(2);return d(a.pageData.Filter.SignTo,t)||(a.pageData.Filter.SignTo=t),g(t)}),i()()()()}if(o&2){let e=m(2);p(4),_("ngModel",e.contactState),c("items",e.pageData.Options.ContactStates)("clearable",!1),p(3),_("ngModel",e.pageData.Filter.CreatorEntityID),c("items",e.pageData.Options.Entities),p(3),_("ngModel",e.pageData.Filter.GroupID),c("items",e.pageData.Options.Groups),p(4),c("isFloatingLabel",!1),_("date",e.pageData.Filter.From),p(2),c("isFloatingLabel",!1),_("date",e.pageData.Filter.To),p(4),c("isFloatingLabel",!1),_("date",e.pageData.Filter.SignFrom),p(2),c("isFloatingLabel",!1),_("date",e.pageData.Filter.SignTo)}}function fe(o,S){if(o&1&&(n(0,"tr")(1,"th")(2,"a",28),l(3),i()(),n(4,"td"),l(5),i(),n(6,"td"),l(7),i(),n(8,"td"),l(9),i(),n(10,"td"),l(11),b(12,"IsMinDate"),i(),n(13,"td"),l(14),b(15,"IsMinDate"),i()()),o&2){let e=S.$implicit;p(2),c("routerLink",k(14,ue))("queryParams",O(15,Se,e.ID)),p(),f(e.Name),p(2),f(e.Code),p(2),f(e.Mobile),p(2),f(e.Email),p(2),f(v(12,8,e.JoinDate,"dd MMM yyyy")),p(3),W(" ",v(15,11,e.AppLastSignIn,"dd MMM yyyy HH:mm")," ")}}function De(o,S){if(o&1){let e=D();n(0,"div",29)(1,"POS-complex-pagination",30),I("jumpToPage",function(){s(e);let t=m(3);return g(t.getListData())})("previousPage",function(){s(e);let t=m(3);return g(t.getListData())})("nextPage",function(){s(e);let t=m(3);return g(t.getListData())}),i()()}if(o&2){let e=m(3);p(),c("total",e.data.Data.length)("pageData",e.pageData)}}function ye(o,S){if(o&1&&(y(0,18),n(1,"div",19)(2,"div",20)(3,"table",21)(4,"thead",22)(5,"tr",23)(6,"th"),l(7,"Name"),i(),n(8,"th",24),l(9,"Code"),i(),n(10,"th",24),l(11,"Mobile"),i(),n(12,"th",25),l(13,"Email"),i(),n(14,"th",26),l(15,"Join Date"),i(),n(16,"th",24),l(17,"Last Sign In"),i()()(),n(18,"tbody"),L(19,fe,16,17,"tr",null,V),i()()(),x(21,De,2,2,"div",27),i(),h()),o&2){let e=m(2);p(19),A(e.data.Data),p(2),c("ngIf",e.pageData.Filter)}}function he(o,S){if(o&1){let e=D();n(0,"mainpanel-cmp",2),u("textChange",function(t){s(e);let a=m();return d(a.pageData.Filter.Text,t)||(a.pageData.Filter.Text=t),g(t)}),I("onSubmit",function(){s(e);let t=m();return g(t.searchFromPageOne())}),u("filterChange",function(t){s(e);let a=m();return d(a.pageData.Filter,t)||(a.pageData.Filter=t),g(t)}),y(1,3),n(2,"a",4),F(3,"i",5),l(4,"Get Your Brand Loyalty App "),i(),x(5,Ce,3,0,"button",6),h(),y(6,7),x(7,xe,23,15,"ng-template",null,0,j),h(),x(9,ye,22,1,"ng-container",8),i()}if(o&2){let e=m();c("pageData",e.menuData),_("text",e.pageData.Filter.Text),c("isFilterOnDropdown",!1),_("filter",e.pageData.Filter),p(5),c("ngIf",e.role.global.Export),p(4),c("ngIf",e.data&&e.data.Data)}}var _e=class o extends Z{constructor(e,r,t,a,de,Ie){super(e,r,"Contact/CustomerAppSignInList","ContactLoader/CustomerList",de);this.httpService=r;this.csvConverter=t;this.matDialog=a;this.role=Ie}cdr=w(B);title=w(R);contactState;ngOnInit(){let e=JSON.parse(localStorage.getItem("AccountInfo"));this.title.setTitle(e.BrandName+" POS | App Sign In")}postInit(e){this.menuData.H="App Sign In",this.cdr.markForCheck()}preInitList(){this.contactState=this.pageData.Filter.ContactStateID,this.pageData.Options.ContactStates=[{Key:0,Value:"All"},...this.pageData.Options.ContactStates],this.pageData.Filter=M(T({},this.pageData.Filter),{SignFrom:this.pageData.Filter.SignFrom?this.pageData.Filter.SignFrom:"0001-01-01T00:00:00",SignTo:this.pageData.Filter.SignTo?this.pageData.Filter.SignTo:"0001-01-01T00:00:00"})}openExportModal(){this.matDialog.open(ie,{data:{title:"Loyalty App Last Sign In",exportTypes:[{ID:"ContactExport/LoyaltyLastSignIn",Value:"Default",FileName:"LoyaltyAppLastSignIn"}],filterExport:this.pageData.Filter,getAllDataLengthAPI:"",pagination:!1}})}preGetList(){this.pageData.Filter.ContactStateID=this.contactState==0?null:this.contactState}static \u0275fac=function(r){return new(r||o)(C(ne),C(z),C(ae),C($),C(q),C(Q))};static \u0275cmp=E({type:o,selectors:[["pos-app-sign-in"]],features:[P],decls:1,vars:1,consts:[["pageFilterTemplate",""],[3,"pageData","text","isFilterOnDropdown","filter","textChange","onSubmit","filterChange",4,"ngIf"],[3,"textChange","onSubmit","filterChange","pageData","text","isFilterOnDropdown","filter"],["ngProjectAs","actions",5,["actions"]],["target","_blank","href","https://www.dealpos.co.id/tour/customer-loyalty-program",1,"btn","btn-outline-secondary"],[1,"fa-solid","fa-mobile","me-1"],["class","btn btn-outline-secondary",3,"click",4,"ngIf"],["ngProjectAs","filters",5,["filters"]],["ngProjectAs","content",5,["content"],4,"ngIf"],[1,"btn","btn-outline-secondary",3,"click"],["aria-hidden","true",1,"fa-solid","fa-upload"],[1,"dialog-filter"],["bindLabel","Value","bindValue","Key","placeholder","Choose Status",3,"ngModelChange","ngModel","items","clearable"],["appendTo","body","bindLabel","Name","bindValue","ID","placeholder","Choose an Outlet...",3,"ngModelChange","ngModel","items"],["bindLabel","Name","bindValue","ID","placeholder","Choose a Group...",3,"ngModelChange","ngModel","items"],["placeholder","From","appearance","outline","name","From",3,"dateChange","isFloatingLabel","date"],[1,"mt-4"],["placeholder","To","appearance","outline","name","To",3,"dateChange","isFloatingLabel","date"],["ngProjectAs","content",5,["content"]],[1,"container-fluid","mt-5"],[1,"table-responsive"],["id","tableGrid",1,"table","border-bottom"],[1,"thead-light","sticky-top-thead"],[1,"header"],[2,"width","150px"],[2,"width","200px"],[2,"width","100px"],["class","mt-2",4,"ngIf"],[1,"fw-normal",3,"routerLink","queryParams"],[1,"mt-2"],["api","Contact/CustomerAppSignInCount",3,"jumpToPage","previousPage","nextPage","total","pageData"]],template:function(r,t){r&1&&x(0,he,10,6,"mainpanel-cmp",1),r&2&&c("ngIf",t.pageData.Filter)},dependencies:[G,N,le,pe,ge,se,Y,K,U,J,H,X,te,ee,ce,me,re,oe],styles:["[_nghost-%COMP%]{display:block}"],changeDetection:0})};export{_e as AppSignInComponent};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{a as z}from"./chunk-HL3ONSX6.js";import{d as $,e as tt}from"./chunk-GN3HVOCN.js";import"./chunk-G4IW5GPY.js";import{a as k,b as G,c as A}from"./chunk-AEXXXOEQ.js";import{a as ot,b as nt}from"./chunk-I3ABVEQL.js";import{f as et}from"./chunk-6EJSHQWL.js";import{c as it}from"./chunk-MFLQHYOR.js";import{b as Q}from"./chunk-T2H2XAEJ.js";import{a as q}from"./chunk-OWGJVIYJ.js";import"./chunk-DV63TLIP.js";import"./chunk-QFON23YX.js";import"./chunk-FIUZN6JU.js";import{e as Y,f as Z}from"./chunk-356KM5DR.js";import"./chunk-P7BRWWWC.js";import"./chunk-JEL3OND6.js";import"./chunk-IDQUQBKL.js";import"./chunk-VX5HH3BW.js";import"./chunk-VYQEM4T2.js";import"./chunk-UTAQ3FRE.js";import"./chunk-M43HNBJQ.js";import"./chunk-KKLNFVVN.js";import"./chunk-X57HWGVJ.js";import"./chunk-5SFUSWFY.js";import"./chunk-534MIVWD.js";import"./chunk-TGEQUV6Z.js";import"./chunk-IVJVUXLS.js";import{b as K}from"./chunk-UQ5F3YKZ.js";import"./chunk-CS6HBROS.js";import"./chunk-JUS6LLVX.js";import"./chunk-BA3BDB5Y.js";import"./chunk-C4WJKF7R.js";import{N as X,g as U}from"./chunk-T25N3EEG.js";import"./chunk-7TBS7SPQ.js";import"./chunk-RLQLFW36.js";import"./chunk-EQLHPWVB.js";import{g as J}from"./chunk-A45GTZVV.js";import"./chunk-NWSIPELM.js";import"./chunk-6SGN7MNX.js";import"./chunk-L76WVZW6.js";import"./chunk-2FWFPV5I.js";import"./chunk-O5SLP4JK.js";import{F as W,h as B,o as R}from"./chunk-RNLSEEMX.js";import"./chunk-U5LNORQV.js";import"./chunk-FO5ZTXDH.js";import{d as H}from"./chunk-USJ6ILEE.js";import"./chunk-BJF3WGIP.js";import{Ab as T,Bb as V,Bc as y,Cb as s,Cc as L,Db as i,Dc as F,Eb as o,Fb as v,Hc as N,Mb as _,Ob as S,Qb as m,Xa as p,db as u,dc as l,ec as w,ee as j,fc as P,hb as b,ic as C,jc as x,kc as f,lb as I,nb as M,ta as c,ua as d,vb as D,xb as h,yb as O}from"./chunk-JYZTRN6N.js";import"./chunk-WFMAM73Y.js";import"./chunk-SNAKHGZS.js";function rt(r,g){if(r&1){let t=_();i(0,"button",5),S("click",function(){c(t);let e=m();return d(e.openExportModal())}),v(1,"i",6),l(2," Export "),o()}}function lt(r,g){if(r&1){let t=_();i(0,"h6"),l(1,"Outlet"),o(),i(2,"outlet-selector",7),f("ngModelChange",function(e){c(t);let a=m();return x(a.pageData.Filter.Outlet,e)||(a.pageData.Filter.Outlet=e),d(e)}),o(),i(3,"h6"),l(4,"Category"),o(),i(5,"POS-product-category-select",8),f("selectedCategoryIDChange",function(e){c(t);let a=m();return x(a.pageData.Filter.Category,e)||(a.pageData.Filter.Category=e),d(e)}),o(),i(6,"h6"),l(7,"Discontinued"),o(),i(8,"radio-options",9),f("modelChange",function(e){c(t);let a=m();return x(a.pageData.Filter.Discontinued,e)||(a.pageData.Filter.Discontinued=e),d(e)}),o()}if(r&2){let t=m();p(2),s("accessType",2),C("ngModel",t.pageData.Filter.Outlet),p(3),C("selectedCategoryID",t.pageData.Filter.Category),s("showClear",!0),p(3),s("options",t.pageData==null||t.pageData.Options==null?null:t.pageData.Options.Discontinued),C("model",t.pageData.Filter.Discontinued)}}function pt(r,g){if(r&1&&(i(0,"tr")(1,"td"),l(2),o(),i(3,"td"),l(4),o(),i(5,"td",19),l(6),y(7,"quantityFraction"),o()()),r&2){let t=g.$implicit;p(2),w(t.EntityName),p(2),w(t.Name),p(2),P(" ",L(7,3,t.Inventory)," ")}}function mt(r,g){if(r&1){let t=_();i(0,"div",4)(1,"div",10)(2,"table",11),S("matSortChange",function(e){c(t);let a=m();return d(a.onSortData(e))}),i(3,"thead",12)(4,"tr",13)(5,"th",14),l(6,"Outlet"),o(),i(7,"th",15),l(8,"Storage Location"),o(),i(9,"th",16),l(10," On Hand "),o()()(),i(11,"tbody"),T(12,pt,8,5,"tr",null,O),o(),i(14,"tfoot")(15,"tr",17),v(16,"td",18),i(17,"td",18),l(18,"Total :"),o(),i(19,"td",19),l(20),y(21,"sum"),y(22,"quantityFraction"),o()()()(),i(23,"POS-complex-pagination",20),S("jumpToPage",function(){c(t);let e=m();return d(e.getListData())})("previousPage",function(){c(t);let e=m();return d(e.getListData())})("nextPage",function(){c(t);let e=m();return d(e.getListData())}),o()()()}if(r&2){let t=m();p(12),V(t.data.Data),p(8),P(" ",L(22,6,F(21,3,t.data.Data,"Inventory"))," "),p(3),s("total",t.data.Data==null?null:t.data.Data.length)("pageData",t.pageData)}}var at=class r extends q{constructor(t,n,e,a){super(t,n,"Inventory/GetProductStorageLocation","InventoryLoader/InventoryReport");this.httpService=n;this.dialog=e;this.roleService=a}datasource;postInit(t){this.datasource=JSON.parse(JSON.stringify(t.Data))}openExportModal(){this.dialog.open(Q,{data:{title:"Storage Location",exportTypes:[{ID:"Inventory/GetProductStorageLocation",Value:"Default",FileName:"Storage Location"}],filterExport:this.pageData.Filter,getAllDataLengthAPI:"inventory/GetCountProductStorageLocation",pagination:!0}})}onSortData(t){let n=this.data.Data?.slice();if(!t.active||t.direction===""){this.data.Data=this.datasource;return}let e=t.direction==="asc";this.data.Data=n.sort((a,E)=>this.compare(a[t.active],E[t.active],e))}static \u0275fac=function(n){return new(n||r)(u(K),u(j),u(J),u(H))};static \u0275cmp=b({type:r,selectors:[["app-storage-location"]],features:[I],decls:9,vars:5,consts:[["pageFilterTemplate",""],[3,"onSubmit","pageData","hideSearchBox","isFilterOnDropdown"],[1,"d-flex"],[1,"btn","btn-outline-secondary","me-3"],[1,"container-fluid","mt-3"],[1,"btn","btn-outline-secondary","me-3",3,"click"],["aria-hidden","true",1,"fa-solid","fa-upload"],["placeholder","Choose an outlet","appendTo","body",3,"ngModelChange","accessType","ngModel"],[1,"tree-select-as-filter",3,"selectedCategoryIDChange","selectedCategoryID","showClear"],["name","Discontinued",3,"modelChange","options","model"],[1,"table-responsive"],["id","tableGrid","matSort","",1,"table",3,"matSortChange"],[1,"thead-light","sticky-top-thead"],[1,"header"],["mat-sort-header","EntityName",2,"width","450px"],["mat-sort-header","Brand"],["mat-sort-header","Inventory","arrowPosition","before",1,"text-end",2,"padding-right","100px","width","190px"],[1,"table-footer","fw-bold"],[1,"empty-column"],[1,"text-end",2,"padding-right","100px"],["api","inventory/GetCountProductStorageLocation",3,"jumpToPage","previousPage","nextPage","total","pageData"]],template:function(n,e){if(n&1){let a=_();i(0,"mainpanel-cmp",1),S("onSubmit",function(){return c(a),d(e.searchFromPageOne())}),i(1,"actions")(2,"div",2),D(3,rt,3,0,"button",3),o()(),i(4,"filters"),M(5,lt,9,6,"ng-template",null,0,N),o(),i(7,"content"),D(8,mt,24,8,"div",4),o()()}n&2&&(s("pageData",e.menuData)("hideSearchBox",!0)("isFilterOnDropdown",!1),p(3),h(e.roleService.global.Export?3:-1),p(5),h(e.data?8:-1))},dependencies:[Z,Y,X,tt,$,et,it,W,B,R,nt,ot,A,k,G,z,U],encapsulation:2})};export{at as StorageLocationComponent};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{a as $}from"./chunk-R36QPCUA.js";import{a as J,b as K}from"./chunk-MVUVDYGQ.js";import{a as G}from"./chunk-WNZKCNMC.js";import{e as Y,f as Z}from"./chunk-356KM5DR.js";import{a as Q,c as U}from"./chunk-KKLNFVVN.js";import{b as X}from"./chunk-UQ5F3YKZ.js";import{h as H,m as q,q as z}from"./chunk-BA3BDB5Y.js";import{b as R,c as j}from"./chunk-C4WJKF7R.js";import{a as V}from"./chunk-2FWFPV5I.js";import{F as k,c as A,h as v,o as b}from"./chunk-RNLSEEMX.js";import{Ab as P,Bb as w,Cb as p,Db as o,Eb as a,Mb as I,Ob as c,Pc as g,Qb as d,Wd as W,Xa as m,Ya as C,be as L,db as h,dc as r,ec as F,ee as B,hb as M,ic as T,jc as S,kc as E,lb as D,ta as u,ua as f,vb as N,xb as O,yb as y}from"./chunk-JYZTRN6N.js";var x=class s{stringPrefixMask=g();stringSuffixMask=g();stringPrefixMaskChange=new C;stringSuffixMaskChange=new C;onStringPrefixMaskChange(l){this.stringPrefixMaskChange.emit(l)}onStringSuffixMaskChange(l){this.stringSuffixMaskChange.emit(l)}static \u0275fac=function(e){return new(e||s)};static \u0275cmp=M({type:s,selectors:[["masking-config"]],inputs:{stringPrefixMask:[1,"stringPrefixMask"],stringSuffixMask:[1,"stringSuffixMask"]},outputs:{stringPrefixMaskChange:"stringPrefixMaskChange",stringSuffixMaskChange:"stringSuffixMaskChange"},decls:18,vars:2,consts:[[1,"row","my-10","ms-2"],[1,"col-md-2"],[1,"notes","text-muted"],[1,"col-md-10"],[1,"row"],[1,"col-6"],["matTooltipPosition","above","matTooltip","Sets the number of characters at the beginning of the sensitive field that remain visible",1,"form-floating-outline"],["type","text","id","name","placeholder","Max Visible Prefix","autoNum","",1,"form-control",3,"ngModelChange","ngModel"],["matTooltipPosition","above","matTooltip","Sets the number of characters at the end of the sensitive field that remain visible",1,"form-floating-outline"],["type","text","id","name","placeholder","Max Visible Suffix","autoNum","",1,"form-control",3,"ngModelChange","ngModel"]],template:function(e,i){e&1&&(o(0,"div",0)(1,"div",1)(2,"h5"),r(3,"Visible Masking Settings"),a(),o(4,"i",2),r(5," Configure how many characters at the beginning and end of sensitive fields remain visible. "),a()(),o(6,"div",3)(7,"div",4)(8,"div",5)(9,"div",6)(10,"input",7),c("ngModelChange",function(n){return i.onStringPrefixMaskChange(n)}),a(),o(11,"label"),r(12,"Max Visible Prefix"),a()()(),o(13,"div",5)(14,"div",8)(15,"input",9),c("ngModelChange",function(n){return i.onStringSuffixMaskChange(n)}),a(),o(16,"label"),r(17,"Max Visible Suffix"),a()()()()()()),e&2&&(m(10),p("ngModel",i.stringPrefixMask()),m(5),p("ngModel",i.stringSuffixMask()))},dependencies:[k,A,v,b,Q,U,j,R],encapsulation:2})};function oe(s,l){if(s&1&&(o(0,"mat-option",10),r(1),a()),s&2){let e=l.$implicit;p("value",e),m(),F(e)}}function ae(s,l){if(s&1&&(o(0,"mat-option",10),r(1),a()),s&2){let e=l.$implicit;p("value",e),m(),F(e)}}var _=class s{options=g();contacts=g([]);products=g([]);contactsChange=new C;productsChange=new C;onContactsChange(l){this.contactsChange.emit(l)}onProductsChange(l){this.productsChange.emit(l)}static \u0275fac=function(e){return new(e||s)};static \u0275cmp=M({type:s,selectors:[["masking-options"]],inputs:{options:[1,"options"],contacts:[1,"contacts"],products:[1,"products"]},outputs:{contactsChange:"contactsChange",productsChange:"productsChange"},decls:27,vars:2,consts:[[1,"row","my-10","ms-2"],[1,"col-md-2"],[1,"notes","text-muted"],["href","https://support.dealpos.com/en/articles/8278008-sensitive-field-roles-configuration-for-contacts","target","_blank"],[1,"col-md-10"],[1,"row"],[1,"col-6"],["appearance","outline",1,"w-100"],[1,"fs-4"],["placeholder","Product","multiple","",3,"ngModelChange","ngModel"],[3,"value"],["placeholder","Contact","multiple","",3,"ngModelChange","ngModel"]],template:function(e,i){if(e&1&&(o(0,"div",0)(1,"div",1)(2,"h5"),r(3,"Sensitive Field"),a(),o(4,"i",2),r(5,"When you mark a property as sensitive, the property value cannot be viewed to users without 'sensitive field' role. Please refer this "),o(6,"a",3),r(7,"Article"),a(),r(8," for more information"),a()(),o(9,"div",4)(10,"div",5)(11,"div",6)(12,"mat-form-field",7)(13,"mat-label")(14,"span",8),r(15,"Product"),a()(),o(16,"mat-select",9),c("ngModelChange",function(n){return i.onProductsChange(n)}),P(17,oe,2,2,"mat-option",10,y),a()()(),o(19,"div",6)(20,"mat-form-field",7)(21,"mat-label")(22,"span",8),r(23,"Contact"),a()(),o(24,"mat-select",11),c("ngModelChange",function(n){return i.onContactsChange(n)}),P(25,ae,2,2,"mat-option",10,y),a()()()()()()),e&2){let t,n;m(16),p("ngModel",i.products()),m(),w((t=i.options())==null?null:t.Product),m(7),p("ngModel",i.contacts()),m(),w((n=i.options())==null?null:n.Customer)}},dependencies:[K,q,H,J,z,G,k,v,b],encapsulation:2})};function re(s,l){if(s&1){let e=I();o(0,"mainpanel-cmp",0)(1,"actions")(2,"button",1),c("click",function(){u(e);let t=d();return f(t.onSubmit("Setup/Configuration/SubmitSensitiveFieldConfigurationV2"))}),r(3," Save "),a()(),o(4,"content")(5,"div",2)(6,"ul",3)(7,"li",4)(8,"button",5),r(9," Objects "),a()(),o(10,"li",4)(11,"button",6),r(12," Masking "),a()()(),o(13,"div",7)(14,"div",8)(15,"masking-options",9),E("productsChange",function(t){u(e);let n=d();return S(n.data.Form.Product,t)||(n.data.Form.Product=t),f(t)})("contactsChange",function(t){u(e);let n=d();return S(n.data.Form.Customer,t)||(n.data.Form.Customer=t),f(t)}),a()(),o(16,"div",10)(17,"masking-config",11),E("stringPrefixMaskChange",function(t){u(e);let n=d();return S(n.data.Form.Masking.StringPrefixMaskVisibleCharacterLength,t)||(n.data.Form.Masking.StringPrefixMaskVisibleCharacterLength=t),f(t)})("stringSuffixMaskChange",function(t){u(e);let n=d();return S(n.data.Form.Masking.StringSuffixMaskVisibleCharacterLength,t)||(n.data.Form.Masking.StringSuffixMaskVisibleCharacterLength=t),f(t)}),a()()()()()()}if(s&2){let e=d();p("pageData",e.menuData)("hideSearchDropdown",!0)("hideSearchBox",!0),m(15),p("options",e.data.Options),T("products",e.data.Form.Product)("contacts",e.data.Form.Customer),m(2),T("stringPrefixMask",e.data.Form.Masking.StringPrefixMaskVisibleCharacterLength)("stringSuffixMask",e.data.Form.Masking.StringSuffixMaskVisibleCharacterLength)}}var ie=class s extends ${constructor(e,i,t,n){super(e,i,"Setup/ConfigurationLoader/SensitiveFieldConfigurationV2",t);this.httpService=i;this.activatedRoute=t;this.toaster=n}onSubmitSuccess(e){e?.MessageWarning?this.toaster.warning(e.MessageWarning,V.Warning):this.toaster.success("Config has been updated succesfully!",V.Success)}static \u0275fac=function(i){return new(i||s)(h(X),h(B),h(W),h(L))};static \u0275cmp=M({type:s,selectors:[["app-sensitive-field"]],features:[D],decls:1,vars:1,consts:[[3,"pageData","hideSearchDropdown","hideSearchBox"],["type","button","role","button",1,"btn","btn-success",3,"click"],[1,"container-fluid","py-5","bg-light-white"],["id","myTab","role","tablist",1,"nav","nav-tabs"],[1,"nav-item"],["id","masking-options-tab","data-bs-toggle","tab","data-bs-target","#masking-options","role","tab","aria-controls","masking-options","aria-selected","true",1,"nav-link","active"],["id","masking-tab","data-bs-toggle","tab","data-bs-target","#masking","role","tab","aria-controls","masking","aria-selected","false",1,"nav-link"],["id","myTabContent",1,"tab-content","border-top-0","bg-white"],["id","masking-options","aria-labelledby","masking-options-tab","role","tabpanel",1,"tab-pane","fade","mt-0","p-7","show","active"],[3,"productsChange","contactsChange","options","products","contacts"],["id","masking","aria-labelledby","masking-tab","role","tabpanel",1,"tab-pane","fade","mt-0","p-7"],[3,"stringPrefixMaskChange","stringSuffixMaskChange","stringPrefixMask","stringSuffixMask"]],template:function(i,t){i&1&&N(0,re,18,8,"mainpanel-cmp",0),i&2&&O(t.formData?0:-1)},dependencies:[Z,Y,x,_],encapsulation:2})};export{ie as a};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{a as U}from"./chunk-FO5ZTXDH.js";import{a as f,d as R,e as O}from"./chunk-USJ6ILEE.js";import{Ma as v,Yd as C,ee as h,fa as S,la as u,oa as p,pa as g,sd as N,ya as d}from"./chunk-JYZTRN6N.js";var k=(t=>(t[t.PAID=0]="PAID",t[t.OVERDUE=1]="OVERDUE",t[t.SELL_ONLY=2]="SELL_ONLY",t[t.SUSPENDED=3]="SUSPENDED",t))(k||{});var D=(()=>{let e=class e{constructor(){this.document=g(d),this.platformId=g(v),this.documentIsAccessible=N(this.platformId)}static getCookieRegExp(i){let t=i.replace(/([[\]{}()|=;+?,.*^$\\])/gi,"\\$1");return new RegExp("(?:^"+t+"|;\\s*"+t+")=(.*?)(?:;|$)","g")}static safeDecodeURIComponent(i){try{return decodeURIComponent(i)}catch{return i}}check(i){return this.documentIsAccessible?(i=encodeURIComponent(i),e.getCookieRegExp(i).test(this.document.cookie)):!1}get(i){if(this.check(i)){i=encodeURIComponent(i);let n=e.getCookieRegExp(i).exec(this.document.cookie);return n?.[1]?e.safeDecodeURIComponent(n[1]):""}else return""}getAll(){if(!this.documentIsAccessible)return{};let i={},t=this.document;return t.cookie&&t.cookie!==""&&t.cookie.split(";").forEach(n=>{let[s,c]=n.split("=");i[e.safeDecodeURIComponent(s.replace(/^ /,""))]=e.safeDecodeURIComponent(c)}),i}set(i,t,n,s,c,l,T,b){if(!this.documentIsAccessible)return;if(typeof n=="number"||n instanceof Date||s||c||l||T){let I={expires:n,path:s,domain:c,secure:l,sameSite:T||"Lax",partitioned:b};this.set(i,t,I);return}let a=encodeURIComponent(i)+"="+encodeURIComponent(t)+";",r=n||{};if(r.expires)if(typeof r.expires=="number"){let I=new Date(new Date().getTime()+r.expires*1e3*60*60*24);a+="expires="+I.toUTCString()+";"}else a+="expires="+r.expires.toUTCString()+";";r.path&&(a+="path="+r.path+";"),r.domain&&(a+="domain="+r.domain+";"),r.secure===!1&&r.sameSite==="None"&&(r.secure=!0,console.warn(`[ngx-cookie-service] Cookie ${i} was forced with secure flag because sameSite=None.More details : https://github.com/stevermeister/ngx-cookie-service/issues/86#issuecomment-597720130`)),r.secure&&(a+="secure;"),r.sameSite||(r.sameSite="Lax"),a+="sameSite="+r.sameSite+";",r.partitioned&&(a+="Partitioned;"),this.document.cookie=a}delete(i,t,n,s,c="Lax"){if(!this.documentIsAccessible)return;let l=new Date("Thu, 01 Jan 1970 00:00:01 GMT");this.set(i,"",{expires:l,path:t,domain:n,secure:s,sameSite:c})}deleteAll(i,t,n,s="Lax"){if(!this.documentIsAccessible)return;let c=this.getAll();for(let l in c)c.hasOwnProperty(l)&&this.delete(l,i,t,n,s)}};e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=u({token:e,factory:e.\u0275fac,providedIn:"root"});let m=e;return m})();var E=class m{constructor(e,o,i,t,n,s){this.httpService=e;this.cookieService=o;this.router=i;this.roleService=t;this.intercomService=n;this.fraction=s}role=[];_returnUrl;_loginResponse;_jwtToken;set returnUrl(e){this._returnUrl=e}get returnUrl(){return this._returnUrl}login(e){return this.httpService.post("/api/Login/Web",e).pipe(S(o=>{this._loginResponse=o,o.Type=="geo"||o.Type=="totp"||this.saveLoginConfigToStorage(o)}))}loginLoader(){return this.httpService.get("/api/login/Loader")}getRedirectUrl(){let e=this.getSubscriptionStatus(),o=this.getRedirectUrlByRole();return(e==2||e==3)&&(o="/menu/Profile/Main/My_Subscription"),o}getRedirectUrlByRole(){let e,o=this.roleService;return o.dashboard.View?e="/menu/Dashboard":o.product.View?e="/menu/Products":e="/menu/Sell",e}logout(){localStorage.removeItem("ConfigData"),localStorage.removeItem("Token"),localStorage.removeItem("Roles"),localStorage.removeItem("AccountInfo"),localStorage.removeItem("CloudinaryConfig"),localStorage.removeItem("SubscriptionStatus"),this.cookieService.delete("ReportFilter","/"),this.intercomService.shutdown(),this._jwtToken=null,this.roleService.resetRoles(),this.router.navigate(["/"])}refreshToken(){this.httpService.post("/API/Authentication/RefreshToken",{}).subscribe(e=>{localStorage.removeItem("Token"),localStorage.setItem("Token",e.Token),this._jwtToken=null,this.roleService.resetRoles(),this.roleService.parseJWTRoles()})}isTokenExpired(){let e=localStorage.getItem("Token");if(e){let o=f.parseJwt(e),i=this.convertUnixTimesTamp(o.exp),t=new Date;if(i.getTime()-t.getTime()>0)return!1}return!0}isInRole(e){e.forEach(o=>o(this.role))}convertUnixTimesTamp(e){return new Date(e*1e3)}saveLoginConfigToStorage(e){localStorage.setItem("quantityFraction",JSON.stringify(e.UIConfig.Fraction.Quantity)),localStorage.setItem("amountFraction",JSON.stringify(e.UIConfig.Fraction.Amount)),this.fraction.setAmountFraction(e.UIConfig.Fraction.Amount.Minimum,e.UIConfig.Fraction.Amount.Maximum),this.fraction.setQuantityFraction(e.UIConfig.Fraction.Quantity.Minimum,e.UIConfig.Fraction.Quantity.Maximum),localStorage.setItem("AccountInfo",JSON.stringify(e?.AccountInfo)),localStorage.setItem("Token",e?.Token),localStorage.setItem("TinyMCEPlugins",e?.UIConfig.TinyMCE),this.intercomService.updateLocalStorage(e?.Intercom),localStorage.setItem("CloudinaryConfig",e?.UIConfig.CloudinaryConfig),localStorage.setItem("DataDaysRange",e?.UIConfig.DataDaysRange),localStorage.setItem("SubscriptionStatus",JSON.stringify(e?.SubscriptionStatus));let o=this.getParseToken();f.IsNotEmpty(o?.NotificationOutletID)&&localStorage.setItem("NotificationOutletID",o?.NotificationOutletID),this.roleService.parseJWTRoles(),this._loginResponse=null}getParseToken(){let e=localStorage.getItem("Token");return e&&!this._jwtToken&&(this._jwtToken=f.parseJwt(e)),this._jwtToken}get loginResponse(){return this._loginResponse}getSubscriptionStatus(){let e=localStorage.getItem("SubscriptionStatus");return e?parseInt(e):null}static \u0275fac=function(o){return new(o||m)(p(h),p(D),p(C),p(R),p(U),p(O))};static \u0275prov=u({token:m,factory:m.\u0275fac,providedIn:"root"})};export{k as a,D as b,E as c};
|