dealpos 12.65.5 → 12.65.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/POS/3rdpartylicenses.txt +19 -19
- package/POS/{chunk-DEHJXYET.js → chunk-26YXEYJK.js} +1 -1
- package/POS/{chunk-LZ4K7LEO.js → chunk-2FKYC63K.js} +1 -1
- package/POS/chunk-2JGKOLHE.js +1 -0
- package/POS/{chunk-2DCIBBFL.js → chunk-2OZMF5DL.js} +1 -1
- package/POS/{chunk-W4KRM6CT.js → chunk-2V3NZB4Z.js} +1 -1
- package/POS/{chunk-AACXGDIE.js → chunk-2W3MAOOP.js} +1 -1
- package/POS/{chunk-X3SD7CDO.js → chunk-33XCA4ER.js} +1 -1
- package/POS/{chunk-VUHXAXLW.js → chunk-35V3VL6F.js} +1 -1
- package/POS/{chunk-S2SCX4MW.js → chunk-3A7KA4YN.js} +1 -1
- package/POS/chunk-3B52FW2O.js +1 -0
- package/POS/chunk-3BODNSIH.js +1 -0
- package/POS/chunk-44OCSWFT.js +1 -0
- package/POS/{chunk-WOH5ZLZ6.js → chunk-47XCYTP5.js} +1 -1
- package/POS/{chunk-NH4J2YBL.js → chunk-4BDQDYVB.js} +1 -1
- package/POS/chunk-4BMPIEU3.js +8 -0
- package/POS/{chunk-UPX2YUOU.js → chunk-4DJ2U5KA.js} +1 -1
- package/POS/{chunk-CZQCLBIU.js → chunk-4G26RHGA.js} +1 -1
- package/POS/{chunk-7EDBEV4X.js → chunk-4UAHOTBD.js} +1 -1
- package/POS/chunk-5TFSXDRY.js +1 -0
- package/POS/{chunk-GV7Q27C3.js → chunk-5W7F4VJH.js} +1 -1
- package/POS/{chunk-57F2MEJI.js → chunk-64PDX5ZX.js} +1 -1
- package/POS/chunk-6BK6NSBH.js +1 -0
- package/POS/{chunk-N6UKDEBZ.js → chunk-6BQZINLH.js} +1 -1
- package/POS/{chunk-GKDPYBFG.js → chunk-6EQ4ABW4.js} +1 -1
- package/POS/{chunk-KC4GEIT2.js → chunk-6KPUMTOD.js} +5 -5
- package/POS/{chunk-TAZ47SCN.js → chunk-6MCGXFJL.js} +1 -1
- package/POS/{chunk-YDN7UNAE.js → chunk-6PXJEE4K.js} +1 -1
- package/POS/chunk-6REDLZZG.js +1 -0
- package/POS/{chunk-DRT5CGZL.js → chunk-6U2CCYHB.js} +1 -1
- package/POS/{chunk-WZA6HAX4.js → chunk-6UFLPHQ3.js} +1 -1
- package/POS/chunk-6WMYKQXA.js +1 -0
- package/POS/{chunk-FU6VHNLM.js → chunk-75STMWUR.js} +1 -1
- package/POS/chunk-76C33PK5.js +1 -0
- package/POS/{chunk-KZS5SLG6.js → chunk-7M6CWVRI.js} +1 -1
- package/POS/chunk-7QDKPCXL.js +1 -0
- package/POS/chunk-7RKBVQFQ.js +1 -0
- package/POS/{chunk-W2YXRZ4A.js → chunk-AJMKP7YZ.js} +1 -1
- package/POS/{chunk-AYJGPVGJ.js → chunk-AOJW6WJT.js} +1 -1
- package/POS/{chunk-L2SUTQIC.js → chunk-AOPKPEVH.js} +1 -1
- package/POS/{chunk-T6YBPCJH.js → chunk-APJK7OH2.js} +1 -1
- package/POS/{chunk-S5M5RA3R.js → chunk-APYNCJ2H.js} +1 -1
- package/POS/{chunk-LLE4P4W3.js → chunk-AURDBRKS.js} +1 -1
- package/POS/{chunk-FTKFGHLO.js → chunk-AV4BU3OB.js} +1 -1
- package/POS/{chunk-74ONAI7A.js → chunk-AVDGNFC7.js} +1 -1
- package/POS/{chunk-43LAFKZP.js → chunk-AWGZKLLY.js} +1 -1
- package/POS/{chunk-H32D4X26.js → chunk-B3Y7OIAY.js} +1 -1
- package/POS/chunk-B5FODXLM.js +1 -0
- package/POS/{chunk-UYVUT7EY.js → chunk-B7RM5KKA.js} +1 -1
- package/POS/{chunk-R7FZ2PRU.js → chunk-BCVO66L3.js} +1 -1
- package/POS/{chunk-NTY6L5CY.js → chunk-BETKNHFK.js} +1 -1
- package/POS/{chunk-NRHVCH2Y.js → chunk-BHXS5IA6.js} +1 -1
- package/POS/{chunk-GWWGYVTZ.js → chunk-BLZEDUEI.js} +1 -1
- package/POS/{chunk-HO6K5QDA.js → chunk-C43IYFVU.js} +1 -1
- package/POS/{chunk-AYY4Y7TX.js → chunk-CFIFFKWA.js} +1 -1
- package/POS/{chunk-C462TR74.js → chunk-CJO25BBP.js} +1 -1
- package/POS/{chunk-OJ5IEMTC.js → chunk-CLMNIEJW.js} +9 -9
- package/POS/chunk-CPW6IWAB.js +1 -0
- package/POS/{chunk-VRPJW5PY.js → chunk-CU3ORYNG.js} +1 -1
- package/POS/{chunk-UDRIZ2QS.js → chunk-CW27R4N3.js} +1 -1
- package/POS/{chunk-PPWKDTUJ.js → chunk-CXQJV4N2.js} +1 -1
- package/POS/{chunk-TFL7YDXA.js → chunk-D3PSSNCI.js} +1 -1
- package/POS/{chunk-DSEKOEZL.js → chunk-DKAP74H4.js} +1 -1
- package/POS/chunk-DV4YS6F2.js +1 -0
- package/POS/{chunk-HOKX4ZMY.js → chunk-ECMSF3OR.js} +1 -1
- package/POS/{chunk-PE7SHJAD.js → chunk-EOFWQEK7.js} +1 -1
- package/POS/chunk-EQOB7536.js +156 -0
- package/POS/{chunk-LBXMKGQ6.js → chunk-FBR7TAEJ.js} +3 -3
- package/POS/chunk-FDNSICK7.js +1 -0
- package/POS/{chunk-622ZSAJJ.js → chunk-FE5LZK5I.js} +1 -1
- package/POS/chunk-FJ2ZLNLY.js +1 -0
- package/POS/{chunk-SFOIVE3K.js → chunk-FOEYBSQT.js} +1 -1
- package/POS/{chunk-FJDSTU6F.js → chunk-FT4DV2QA.js} +1 -1
- package/POS/{chunk-RG3FOM3U.js → chunk-G4DDQBH4.js} +1 -1
- package/POS/{chunk-BMYOFRNP.js → chunk-GHQFOULJ.js} +1 -1
- package/POS/chunk-GJF7UYZ7.js +18 -0
- package/POS/chunk-GP7T4WAL.js +1 -0
- package/POS/chunk-GPQ3UEOR.js +1 -0
- package/POS/chunk-H55AJAX5.js +8 -0
- package/POS/chunk-HA3Q4ZQY.js +24 -0
- package/POS/{chunk-T2SMFYXF.js → chunk-HGD2QND5.js} +1 -1
- package/POS/{chunk-SVFV2DKS.js → chunk-HUOJ5H5G.js} +1 -1
- package/POS/{chunk-R6ZZA5UD.js → chunk-HWLG5F6M.js} +1 -1
- package/POS/{chunk-WR5FPI6T.js → chunk-I3CBHE7O.js} +1 -1
- package/POS/{chunk-6KFB5GKT.js → chunk-I4Q3M3BG.js} +1 -1
- package/POS/{chunk-JALWJL2D.js → chunk-I6CGSFEU.js} +1 -1
- package/POS/{chunk-W7XCEMYZ.js → chunk-I6YPWC52.js} +1 -1
- package/POS/{chunk-JIUMIECI.js → chunk-IE5R6YWY.js} +1 -1
- package/POS/{chunk-XYEMH5MF.js → chunk-IEYE2TDA.js} +1 -1
- package/POS/{chunk-CBASTM6V.js → chunk-IG64KRRX.js} +1 -1
- package/POS/{chunk-EDBEFHFL.js → chunk-IOQ3OION.js} +1 -1
- package/POS/{chunk-6OTHSXSO.js → chunk-IPER4TT5.js} +1 -1
- package/POS/{chunk-5VOMWB6C.js → chunk-IUKSWU5B.js} +1 -1
- package/POS/chunk-IY6EDHBT.js +1 -0
- package/POS/chunk-J3W6DQKW.js +1 -0
- package/POS/chunk-J45XSYI2.js +1 -0
- package/POS/{chunk-VB4NCHJD.js → chunk-J4TJNDZ4.js} +1 -1
- package/POS/{chunk-32C6DXWQ.js → chunk-JE25PNE3.js} +1 -1
- package/POS/{chunk-EMHD4S7Y.js → chunk-JFPQ5J5P.js} +1 -1
- package/POS/{chunk-3YP7WVVP.js → chunk-JKU2OINV.js} +1 -1
- package/POS/{chunk-Q2C25OYL.js → chunk-JNF4GW4O.js} +1 -1
- package/POS/{chunk-PP6JUTKR.js → chunk-JPEMR4V4.js} +1 -1
- package/POS/{chunk-QBFCZEPL.js → chunk-K5XVN3MT.js} +1 -1
- package/POS/{chunk-XSUPQCL5.js → chunk-KBQ5ZM55.js} +1 -1
- package/POS/{chunk-E7ULRR2Y.js → chunk-KC6Y3G4S.js} +1 -1
- package/POS/{chunk-JRSTEWYQ.js → chunk-KCNSCS4R.js} +1 -1
- package/POS/{chunk-7S4365GJ.js → chunk-KI2MQKDF.js} +1 -1
- package/POS/{chunk-G4P7VNGD.js → chunk-KNRLGMUT.js} +1 -1
- package/POS/{chunk-FLSFSV3U.js → chunk-KYX6U2UX.js} +1 -1
- package/POS/chunk-L3UWNQXB.js +1 -0
- package/POS/{chunk-HVAYZXQV.js → chunk-L4IBMXSZ.js} +1 -1
- package/POS/{chunk-RLSY7OSE.js → chunk-LADTUK7T.js} +3 -3
- package/POS/{chunk-CBC22ZC6.js → chunk-LHWN2J4H.js} +1 -1
- package/POS/chunk-LJUP6CCS.js +1 -0
- package/POS/{chunk-RK5GC2ZH.js → chunk-LLIA7ONA.js} +1 -1
- package/POS/chunk-M5ONTRWK.js +1 -0
- package/POS/{chunk-XKYCZ4KE.js → chunk-M737WTFV.js} +1 -1
- package/POS/chunk-MTCCMJNN.js +8 -0
- package/POS/{chunk-X7NNGCZ5.js → chunk-MWWGZRMN.js} +1 -1
- package/POS/chunk-NDAI7L23.js +1 -0
- package/POS/{chunk-UDH5GVVW.js → chunk-NN45GBW7.js} +1 -1
- package/POS/chunk-NUZ5K7GT.js +1 -0
- package/POS/chunk-O2PELRQA.js +1 -0
- package/POS/chunk-O7MQ2M6O.js +2 -0
- package/POS/{chunk-5NNVTG5V.js → chunk-OD5R5DOU.js} +1 -1
- package/POS/chunk-OI4OF545.js +1 -0
- package/POS/{chunk-PV42TDGW.js → chunk-ONQG45GV.js} +1 -1
- package/POS/{chunk-J766NEYV.js → chunk-OSMBDDOL.js} +1 -1
- package/POS/{chunk-X5EUNYCU.js → chunk-OSSR3QQI.js} +1 -1
- package/POS/chunk-OTUHLN3D.js +4 -0
- package/POS/{chunk-74DTEEHP.js → chunk-OUOP65JB.js} +1 -1
- package/POS/{chunk-3WNMNT2I.js → chunk-OXSD6KML.js} +1 -1
- package/POS/chunk-P7CC2U7E.js +40 -0
- package/POS/{chunk-34JIJTQB.js → chunk-PDTV6IYE.js} +1 -1
- package/POS/{chunk-2ALJZ3UU.js → chunk-PGBSBFW3.js} +1 -1
- package/POS/{chunk-IHTNOWJN.js → chunk-PLC4GZ67.js} +1 -1
- package/POS/chunk-PTXKBWBA.js +1 -0
- package/POS/{chunk-5TJV7Q5U.js → chunk-Q2TQBIZK.js} +1 -1
- package/POS/{chunk-SMLE7MG4.js → chunk-Q3SJOSAG.js} +1 -1
- package/POS/{chunk-APAJTYKC.js → chunk-Q5TSCRUV.js} +1 -1
- package/POS/chunk-QNF3FLJH.js +11 -0
- package/POS/{chunk-24EIBKVH.js → chunk-QO22HJ5J.js} +1 -1
- package/POS/{chunk-BKDUS4MA.js → chunk-QPFQXQ4R.js} +2 -2
- package/POS/{chunk-TWL2O3NJ.js → chunk-QZWOQRAM.js} +1 -1
- package/POS/{chunk-35YOH6ZE.js → chunk-RI76H6KV.js} +1 -1
- package/POS/{chunk-O7HMNCJT.js → chunk-RL3GYZVU.js} +1 -1
- package/POS/{chunk-NXYRXJWH.js → chunk-RRKCUSBB.js} +1 -1
- package/POS/{chunk-SFQMU4BE.js → chunk-RUEEJB2B.js} +1 -1
- package/POS/chunk-RX3RDMUF.js +1 -0
- package/POS/{chunk-Y237LVP4.js → chunk-SDH32O74.js} +1 -1
- package/POS/{chunk-VRUOH3D2.js → chunk-SEVYM4GA.js} +1 -1
- package/POS/chunk-SPNSBWKU.js +1 -0
- package/POS/{chunk-KY3555PC.js → chunk-SQTFAJPP.js} +1 -1
- package/POS/{chunk-DB43QV6T.js → chunk-TC6G6TOK.js} +1 -1
- package/POS/chunk-TG7PHWDC.js +1 -0
- package/POS/chunk-TK5H65DN.js +1 -0
- package/POS/chunk-TTHZH2UF.js +1 -0
- package/POS/{chunk-U56CB6MA.js → chunk-TVNDX4KA.js} +1 -1
- package/POS/chunk-TX6G2LAN.js +1 -0
- package/POS/{chunk-Z36MB7BN.js → chunk-U3O6FO5X.js} +1 -1
- package/POS/{chunk-W5KEDLVJ.js → chunk-UGP2IJ2C.js} +1 -1
- package/POS/chunk-UIOWYLN4.js +3 -0
- package/POS/chunk-UMWRXREL.js +1 -0
- package/POS/{chunk-S6EBX5SE.js → chunk-UPRH3DLS.js} +1 -1
- package/POS/{chunk-NVVJ2XVV.js → chunk-UQBZY67O.js} +1 -1
- package/POS/{chunk-VMFN2O7Z.js → chunk-UU27CUZO.js} +1 -1
- package/POS/chunk-UVFDCVT4.js +2 -0
- package/POS/{chunk-D4X5DKEW.js → chunk-V7F4VNZL.js} +1 -1
- package/POS/{chunk-KWOHAOAD.js → chunk-VGGNSOCP.js} +1 -1
- package/POS/{chunk-R7HHQPDB.js → chunk-VH7DOA2L.js} +1 -1
- package/POS/{chunk-WI6LTFND.js → chunk-VPAQFQA7.js} +1 -1
- package/POS/{chunk-RIES5LQL.js → chunk-VSMYP4AC.js} +1 -1
- package/POS/{chunk-PVEAXJK2.js → chunk-VXCP4DBC.js} +1 -1
- package/POS/chunk-W2AMDLNX.js +1 -0
- package/POS/{chunk-DVZIVX72.js → chunk-W7U3GDUS.js} +1 -1
- package/POS/{chunk-D44S5H6Y.js → chunk-WK4T26FX.js} +1 -1
- package/POS/{chunk-677AEG5P.js → chunk-XIGLLWLV.js} +1 -1
- package/POS/chunk-XIVURGJ6.js +6 -0
- package/POS/chunk-XP4X4OR3.js +3 -0
- package/POS/{chunk-ENL2OBEJ.js → chunk-XXBJFJX3.js} +1 -1
- package/POS/{chunk-3A6DP5NW.js → chunk-Y5LSQQK6.js} +1 -1
- package/POS/{chunk-2A5QXZEX.js → chunk-Y5SPDICN.js} +1 -1
- package/POS/{chunk-7EUBP7S5.js → chunk-YATUCULL.js} +1 -1
- package/POS/chunk-YED2FD5O.js +1 -0
- package/POS/{chunk-JMJ2LXNH.js → chunk-YHCFOJEX.js} +1 -1
- package/POS/{chunk-KAZGSVPW.js → chunk-YRHYSRBM.js} +1 -1
- package/POS/{chunk-CBXZR6NF.js → chunk-YXRRTX7W.js} +1 -1
- package/POS/{chunk-5XNDEK3D.js → chunk-Z426RGUL.js} +1 -1
- package/POS/{chunk-WMKMBGU6.js → chunk-Z5SOBCON.js} +1 -1
- package/POS/chunk-ZAYCKIPM.js +1 -0
- package/POS/{chunk-Q6D2EBBJ.js → chunk-ZFYYL5VP.js} +1 -1
- package/POS/{chunk-RPA7GPN4.js → chunk-ZGRVB4IB.js} +1 -1
- package/POS/{chunk-ZLGYVEJV.js → chunk-ZJ3TX62Q.js} +1 -1
- package/POS/{chunk-OPZKXXPM.js → chunk-ZQEQNDCP.js} +1 -1
- package/POS/{chunk-N2LEZJI5.js → chunk-ZVPEFRKA.js} +1 -1
- package/POS/{chunk-KFTFC2IH.js → chunk-ZVRRX7CY.js} +1 -1
- package/POS/{chunk-WGLZMTL4.js → chunk-ZZ4T2ZDH.js} +1 -1
- package/POS/index.html +3 -3
- package/POS/{main-RN3GQRTS.js → main-4CPPI7YI.js} +2 -2
- package/package.json +1 -1
- package/POS/chunk-24TA447D.js +0 -1
- package/POS/chunk-2ZXR7O3A.js +0 -1
- package/POS/chunk-37OPATVN.js +0 -1
- package/POS/chunk-44FSTE4D.js +0 -1
- package/POS/chunk-5AIQWH7G.js +0 -1
- package/POS/chunk-7FUX5WFY.js +0 -1
- package/POS/chunk-7GREVGYC.js +0 -1
- package/POS/chunk-7SJNJDD5.js +0 -1
- package/POS/chunk-7UC5D2SV.js +0 -1
- package/POS/chunk-7UCOLKIA.js +0 -1
- package/POS/chunk-BHGZU3QJ.js +0 -1
- package/POS/chunk-CZXB2QGS.js +0 -4
- package/POS/chunk-DGDL2XW6.js +0 -18
- package/POS/chunk-DM3TE5YI.js +0 -8
- package/POS/chunk-DTJ2AAHB.js +0 -3
- package/POS/chunk-DYL6WUTI.js +0 -40
- package/POS/chunk-E5AKJ6S4.js +0 -1
- package/POS/chunk-ETXF5TLA.js +0 -1
- package/POS/chunk-FCN2GDT3.js +0 -1
- package/POS/chunk-FENKJIN7.js +0 -1
- package/POS/chunk-HUUG73WO.js +0 -1
- package/POS/chunk-JXWQ7XGG.js +0 -1
- package/POS/chunk-L34ABWAU.js +0 -24
- package/POS/chunk-LEQB7CAS.js +0 -157
- package/POS/chunk-LHQT6RRK.js +0 -4
- package/POS/chunk-LQ2MNRAA.js +0 -8
- package/POS/chunk-N232U3ZH.js +0 -1
- package/POS/chunk-NNWXQUAX.js +0 -11
- package/POS/chunk-PCN2K62K.js +0 -1
- package/POS/chunk-PEA3LY2S.js +0 -1
- package/POS/chunk-QP6OEZ7R.js +0 -1
- package/POS/chunk-RBJGI24F.js +0 -1
- package/POS/chunk-RGFXNECK.js +0 -1
- package/POS/chunk-RV24ISNO.js +0 -3
- package/POS/chunk-SKFUWROB.js +0 -1
- package/POS/chunk-TCEPWZRO.js +0 -4
- package/POS/chunk-THI66H55.js +0 -1
- package/POS/chunk-TY66YM6S.js +0 -1
- package/POS/chunk-UWXJP6IK.js +0 -1
- package/POS/chunk-VJ4O77P3.js +0 -1
- package/POS/chunk-VRKGQFS6.js +0 -2
- package/POS/chunk-WLRFCEG2.js +0 -1
- package/POS/chunk-XQMMIYKH.js +0 -1
- package/POS/chunk-XYH7O6CE.js +0 -1
- package/POS/chunk-YSHZ2TF5.js +0 -1
- package/POS/chunk-ZK4SKVDK.js +0 -1
- package/template/ActivateCustomer.htm +0 -82
- package/template/AddNewOutlet.html +0 -32
- package/template/BirthdayMail.htm +0 -84
- package/template/ChangesPassword.htm +0 -17
- package/template/DeliveryMail.htm +0 -64
- package/template/EODMail.htm +0 -54
- package/template/ForgotPassword.htm +0 -45
- package/template/InvoiceBootstrapEmail.html +0 -157
- package/template/InvoiceBootstrapEmailInlined.html +0 -86
- package/template/InvoiceBootstrapEmailInlinedPaid.html +0 -86
- package/template/LoyaltyExpired.html +0 -56
- package/template/PaymentMail.htm +0 -89
- package/template/ReferAFriend.html +0 -7
- package/template/RequestOTP.htm +0 -20
- package/template/SalesOrderMail.htm +0 -147
- package/template/Spending.htm +0 -65
- package/template/SubmitError.htm +0 -50
- package/template/SubscriptionRequest.htm +0 -81
- package/template/WebHookLog.htm +0 -50
- package/template/onlyitemproduct.html +0 -57
- package/template/pos-receipt.html +0 -10
package/POS/3rdpartylicenses.txt
CHANGED
|
@@ -31,12 +31,19 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
|
31
31
|
SOFTWARE.
|
|
32
32
|
|
|
33
33
|
--------------------------------------------------------------------------------
|
|
34
|
-
Package:
|
|
34
|
+
Package: primeng
|
|
35
35
|
License: "MIT"
|
|
36
36
|
|
|
37
|
-
The MIT License
|
|
38
37
|
|
|
39
|
-
|
|
38
|
+
--------------------------------------------------------------------------------
|
|
39
|
+
Package: @bwip-js/browser
|
|
40
|
+
License: "MIT"
|
|
41
|
+
|
|
42
|
+
bwip-js : Barcode Writer in Pure JavaScript
|
|
43
|
+
|
|
44
|
+
Copyright (c) 2011-2024 Mark Warren
|
|
45
|
+
|
|
46
|
+
The MIT License
|
|
40
47
|
|
|
41
48
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
42
49
|
of this software and associated documentation files (the "Software"), to deal
|
|
@@ -57,7 +64,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
|
57
64
|
THE SOFTWARE.
|
|
58
65
|
|
|
59
66
|
--------------------------------------------------------------------------------
|
|
60
|
-
Package: @angular/
|
|
67
|
+
Package: @angular/cdk
|
|
61
68
|
License: "MIT"
|
|
62
69
|
|
|
63
70
|
The MIT License
|
|
@@ -83,20 +90,13 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
|
83
90
|
THE SOFTWARE.
|
|
84
91
|
|
|
85
92
|
--------------------------------------------------------------------------------
|
|
86
|
-
Package:
|
|
87
|
-
License: "MIT"
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
--------------------------------------------------------------------------------
|
|
91
|
-
Package: @bwip-js/browser
|
|
93
|
+
Package: @angular/material
|
|
92
94
|
License: "MIT"
|
|
93
95
|
|
|
94
|
-
bwip-js : Barcode Writer in Pure JavaScript
|
|
95
|
-
|
|
96
|
-
Copyright (c) 2011-2024 Mark Warren
|
|
97
|
-
|
|
98
96
|
The MIT License
|
|
99
97
|
|
|
98
|
+
Copyright (c) 2024 Google LLC.
|
|
99
|
+
|
|
100
100
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
101
101
|
of this software and associated documentation files (the "Software"), to deal
|
|
102
102
|
in the Software without restriction, including without limitation the rights
|
|
@@ -247,11 +247,6 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
|
247
247
|
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
248
248
|
SOFTWARE.
|
|
249
249
|
|
|
250
|
-
--------------------------------------------------------------------------------
|
|
251
|
-
Package: @tinymce/tinymce-angular
|
|
252
|
-
License: "MIT"
|
|
253
|
-
|
|
254
|
-
|
|
255
250
|
--------------------------------------------------------------------------------
|
|
256
251
|
Package: moment
|
|
257
252
|
License: "MIT"
|
|
@@ -305,6 +300,11 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
|
305
300
|
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
306
301
|
THE SOFTWARE.
|
|
307
302
|
|
|
303
|
+
--------------------------------------------------------------------------------
|
|
304
|
+
Package: @tinymce/tinymce-angular
|
|
305
|
+
License: "MIT"
|
|
306
|
+
|
|
307
|
+
|
|
308
308
|
--------------------------------------------------------------------------------
|
|
309
309
|
Package: @angular/animations
|
|
310
310
|
License: "MIT"
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{ha as l}from"./chunk-DM3TE5YI.js";import{a as c,b as p}from"./chunk-KW4B7WMB.js";var r=class a{static{this.emailRegex=/^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,}$/}static{this.phoneNumberRegex=/^\d+$/}static{this.GuidEmpty="00000000-0000-0000-0000-000000000000"}static{this.DecimalMinValue="-7.922816251426434e+28"}static{this.InputLockTimeSpan=500}static{this.MinDate="0001-01-01T00:00:00"}static{this.MinTime="00:00:00"}static{this.MinDecimal="-79228162514264337593543950335"}static StringFormat(t,...e){for(let i=0;i<e.length;i++)t=t.replace(`{${i}}`,e[i]);return t}static{this.isMobileDevice=/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)}static IsNotEmpty(t){return t!=""&&!a.containsOnlySpaces(t)&&t!=a.GuidEmpty&&t!=null&&t!=null}static IsEmpty(t){return!!(t==""||a.containsOnlySpaces(t)||t==null||t==null||t==a.GuidEmpty)}static isGuid(t){let e=/^[0-9a-fA-F]{8}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{12}$/gi,i=!1;return t&&(i=e.test(t)),i}static containsOnlySpaces(t){return/^\s*$/.test(t)}static FilterByID(t,e){try{let i=t.filter(s=>s.ID==e);if(i.length>0)return i[0]}catch{}return null}static{this.Months=[{ID:1,Label:"January"},{ID:2,Label:"February"},{ID:3,Label:"March"},{ID:4,Label:"April"},{ID:5,Label:"May"},{ID:6,Label:"June"},{ID:7,Label:"July"},{ID:8,Label:"August"},{ID:9,Label:"September"},{ID:10,Label:"October"},{ID:11,Label:"November"},{ID:12,Label:"December"}]}static GenerateYears(t,e,i){let s=-1;(e==null||e==null)&&(e=11),(i==null||i==null||!i)&&(s=1);let o=[];for(let n=0;n<e;n++)o.push(t+n*s);return o}static DateOnly(t){return t?new Date(new Date(t).toDateString()):new Date(new Date().toDateString())}static differentInDays(t,e){let i=e.getTime()-t.getTime();return Math.floor(i/(1e3*3600*24))}static minutesDiff(t,e){let i=(e.getTime()-t.getTime())/6e4;return Math.ceil(i)}static hoursDiff(t,e){let s=(e.getTime()-t.getTime())/(1e3*3600);return parseFloat(s.toFixed(1))}static Guid_NewGuid(){let t=new Date().getTime();return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(i){var s=(t+Math.random()*16)%16|0;return t=Math.floor(t/16),(i=="x"?s:s&3|8).toString(16)})}static parseJwt(t){var e=t.split(".")[1],i=e.replace(/-/g,"+").replace(/_/g,"/"),s=decodeURIComponent(atob(i).split("").map(function(o){return"%"+("00"+o.charCodeAt(0).toString(16)).slice(-2)}).join(""));return JSON.parse(s)}static numberOnly(t){let e=t.which?t.which:t.keyCode;return!(e>31&&(e<48||e>57))}static formatNumber(t){let e="",i="",s=Math.abs(t);return s>999&&s<1e6?(i="K",e=(s/1e3).toFixed(0)):s>=1e6?(i="M",e=(s/1e6).toFixed(0)):s<999&&(e=s.toString()),t<0&&(e="-"+e),e.replace(/\B(?=(\d{3})+(?!\d))/g,",")+i}static isToDay(t){if(t){let e=new Date;return e.setHours(0,0,0,0),e.getTime()==t.getTime()}return!1}static setToLatestTime(t){let e=new Date(t);return e.setHours(23,59,59),e}static setToFirstTime(t){let e=new Date(t);return e.setHours(0,0,0),e}static compare(t,e,i){return(t<e?-1:1)*(i?1:-1)}static generateSerialasNote(t=[]){let e="";return t&&t.length>0&&(e=`[${t.map((s,o)=>`${o>0?" ":""}${s.Number}${s.Quantity>1||s.Quantity<0?"*"+s.Quantity:""}`)}]`),e}static getDatesInRange(t,e){let i=new Date(t.getTime()),s=[];for(;i<=e;)s.push(new Date(i)),i.setDate(i.getDate()+1);return s}static getDaysBefore(t,e){return new Date(t.setDate(new Date().getDate()-e))}static getRangeDate(t,e){let i=new Date;i.setMonth(t),i.setFullYear(e);let s=new Date(i.getFullYear(),i.getMonth()-1,1),o=new Date(i.getFullYear(),i.getMonth(),0);return{firstDay:s,lastDay:o}}static setDateTime(t,e){let i=new Date;e&&(i=new Date(e));let s=t.split(":");return i.setHours(parseInt(s[0])),i.setMinutes(parseInt(s[1])),i}static isMaskingField(t=""){return t.includes("?")}static generateMaskingField(t=[]){let e={};return t.forEach((i,s)=>{i=i.split(" ")?.join(""),e=p(c({},e),{[i]:!0})}),e}static checkJSApiSupported(t){let e;return t in window?e=!0:e=!1,e}static cloneObject(t){let e;return this.checkJSApiSupported("structuredClone")?e=structuredClone(t):e=JSON.parse(JSON.stringify(t)),e}static formatTitleFromDate(t,e){let i=null,s=new Date(t),o=new Date(e);return s.getDate()!=o.getDate()&&(i="d"),s.getMonth()!=o.getMonth()&&(i="d MMM"),s.getFullYear()!=o.getFullYear()&&(i="d MMM yyyy"),i}};function y(a){return new Promise((t,e)=>{let i=new Image;i.src=a,i.decode().then(()=>{t({img:a,height:i.height,width:i.width})}).catch(()=>{e(new Error(`Image load error for ${a}`))})})}var u={dashboard:{View:"DashV"},estimate:{Create:"EstC",Edit:"EstE",Delete:"EstD"},report:{View:"Rep",Advanced:"RepA",Profit:"RepF"},shift:{View:"Shift",Create:"ShiftC",Edit:"ShiftE",Void:"ShiftVo"},contact:{View:"Con",Create:"ConC",Edit:"ConE",Delete:"ConD",LoyaltyPointEditor:"LoyPE",ContactDetail:"ContD",ContactImageEditor:"ContE",Supplier:"Supp",SalesPerson:"SalP"},sell:{Create:"Sell",PricebookSelector:"PricebS",Edit:"SellE",Delete:"SellD",Number:"NumE",SalesPerson:"SalesmanE",Return:"Return",Discount:"Disc",UnitPriceEditor:"UnitPE",Commission:"Comms",Tax:"Tax",CustomerInputLock:"CustL",Payment:"PayR",PriceVisible:"PriceV",PriceMinimum:"PriceM",Email:"Email",DeleteItem:"DelItm",Shipping:"Ship",PaymentCodeLock:"PayCL",EraseVoidOrd:"EraseVO",RestoreVoidOrd:"RestVO",RetrieveR:"RetrieveR",BundlingPrice:"BundlP",ClearCartRestriction:"ClearCartRestriction",CreditSalesLock:"CredSL",CouponInputLock:"CouponInputLock",Park:"Park"},orders:{View:"Ord",SupplierBill:"OrdB",VoidInvoice:"OrdVo",Print:"OrdRpr",NoteEditor:"OrdNe",Invoice:"OrdIr",Erase:"EraseVO"},product:{View:"Prod",Delete:"ProdD",ImageEditor:"ImgE",Create:"ProdC",Edit:"ProdE",Cost:"Cost",BarcodePrinting:"BarP",DeleteAllOutletPrice:"DeleteAllOutletPrice",Expense:"Expense",CommissionView:"CommV",Price:"PriceV"},payment:{View:"Pay",Delete:"PayD",Create:"PayC",Edit:"PayE"},adjustment:{View:"Adj",Delete:"AdjD",Create:"AdjC",Edit:"AdjE",Approval:"AdjApp",InventoryProductCount:"InvPC"},buy:{Delete:"BuyD",Create:"Buy",Edit:"BuyE",ShippingRestriction:"BuySh",Approval:"PurA",Report:"BuyR"},logistics:{View:"Del",Create:"DelC",Edit:"DelE",Delete:"DelD",TransferOrderEditor:"DelRE",Outbound:"FulF",TransferOrderApproval:"DelA",TransferOrderReceiver:"DelR"},debt:{View:"Debt",Delete:"DebtD",Create:"DebtC",Edit:"DebtE"},prepaidPackage:{View:"Tre",Create:"TreC",Edit:"TreE",Delete:"TreD",TreatmentIncentive:"TreI",SharePackageEditor:"SharPacE",TreatmentNote:"TreN",Doctor:"Doct"},inventory:{View:"Inv",Edit:"InvE"},promotion:{View:"Prom",Create:"PromC",Edit:"PromE",Delete:"PromD",Coupon:"Cou",Pricebook:"Pri"},accounting:{View:"Act",Create:"ActC",Edit:"ActE",Delete:"ActD",Report:"ActRep",Ledger:"ActL",EmptyOutlet:"ActEO",ClosingEditor:"ActCE",Advanced:"ActRA",Recurring:"ActRec"},users:{View:"Use",Create:"UseC",Edit:"UseE",Delete:"UseD",Groups:"Gro",LoginTimeRestriction:"LogTR",UserIPRestriction:"UseIR",GroupsRestriction:"UseG",LogRestriction:"LogResct"},outlets:{View:"Out",Create:"OutC",Edit:"OutE",Delete:"OutD"},setup:{View:"Stp",Create:"StpC",Edit:"StpE",Delete:"StpD",Webhook:"StpWh",Developer:"StpDev"},service:{View:"Serv"},myProfile:{View:"Prof",Notification:"Notf",Subscription:"Subs",Activity:"Actv"},customerDisplay:{View:"Disp"},orderDisplay:{View:"KitD"},global:{Export:"Export",Number:"NumE",Date:"DateE",Print:"OrdRpr",SensitiveField:"GlobalSF"},apps:{Marketplace:"Mrp",Jurnal:"Jurnal",Tools:"Tools"},fulfillment:{View:"Ful",Edit:"FulE",Create:"FulC",Delete:"FulD",Ship:"FulS"},manufacture:{View:"Man",Create:"ManC",Edit:"ManE",Delete:"ManD"},developer:{Api:"API",View:"Dev",Edit:"DevE"}};var m=class a{_roles=[];constructor(){this.parseJWTRoles()}parseJWTRoles(){let t=localStorage.getItem("Token");if(r.IsNotEmpty(t)){var e=r.parseJwt(t);this._roles=e["http://schemas.microsoft.com/ws/2008/06/identity/claims/role"]}}isInRole(t,e){let i={};return e.forEach((s,o)=>i[t[o]]=typeof s=="string"?this._roles.includes(s):s(this._roles)),i}isUserHasRole(t){return this._roles.includes(t)}_product;get product(){return r.IsEmpty(this._product)&&(this._product=this.setBulkRole("product")),this._product}_contact;get contact(){return r.IsEmpty(this._contact)&&(this._contact=this.setBulkRole("contact")),this._contact}_promotion;get promotion(){return r.IsEmpty(this._promotion)&&(this._promotion=this.setBulkRole("promotion")),this._promotion}_accounting;get accounting(){return r.IsEmpty(this._accounting)&&(this._accounting=this.setBulkRole("accounting")),this._accounting}_users;get users(){return r.IsEmpty(this._users)&&(this._users=this.setBulkRole("users")),this._users}_outlets;get outlets(){return r.IsEmpty(this._outlets)&&(this._outlets=this.setBulkRole("outlets")),this._outlets}_setup;get setup(){return r.IsEmpty(this._setup)&&(this._setup=this.setBulkRole("setup")),this._setup}_service;get service(){return r.IsEmpty(this._service)&&(this._service=this.setBulkRole("service")),this._service}_profile;get profile(){return r.IsEmpty(this._profile)&&(this._profile=this.setBulkRole("myProfile")),this._profile}_customerDisplay;get customerDisplay(){return r.IsEmpty(this._customerDisplay)&&(this._customerDisplay=this.setBulkRole("customerDisplay")),this._customerDisplay}_orderDisplay;get orderDisplay(){return r.IsEmpty(this._orderDisplay)&&(this._orderDisplay=this.setBulkRole("orderDisplay")),this._orderDisplay}_global;get global(){return r.IsEmpty(this._global)&&(this._global=this.setBulkRole("global")),this._global}_apps;get apps(){return r.IsEmpty(this._apps)&&(this._apps=this.setBulkRole("apps")),this._apps}_fulfillment;get fulfillment(){return r.IsEmpty(this._fulfillment)&&(this._fulfillment=this.setBulkRole("fulfillment")),this._fulfillment}_manufacture;get manufacture(){return r.IsEmpty(this._manufacture)&&(this._manufacture=this.setBulkRole("manufacture")),this._manufacture}_inventory;get inventory(){return r.IsEmpty(this._inventory)&&(this._inventory=this.setBulkRole("inventory")),this._inventory}_sell;get sell(){return r.IsEmpty(this._sell)&&(this._sell=this.setBulkRole("sell")),this._sell}_report;get report(){return r.IsEmpty(this._report)&&(this._report=this.setBulkRole("report")),this._report}_buy;get buy(){return r.IsEmpty(this._buy)&&(this._buy=this.setBulkRole("buy")),this._buy}_adjustment;get adjustment(){return r.IsEmpty(this._adjustment)&&(this._adjustment=this.setBulkRole("adjustment")),this._adjustment}_debt;get debt(){return r.IsEmpty(this._debt)&&(this._debt=this.setBulkRole("debt")),this._debt}_payment;get payment(){return r.IsEmpty(this._payment)&&(this._payment=this.setBulkRole("payment")),this._payment}_prepaidPackage;get prepaidPackage(){return r.IsEmpty(this._prepaidPackage)&&(this._prepaidPackage=this.setBulkRole("prepaidPackage")),this._prepaidPackage}_order;get order(){return r.IsEmpty(this._order)&&(this._order=this.setBulkRole("orders")),this._order}_logistic;get logistic(){return r.IsEmpty(this._logistic)&&(this._logistic=this.setBulkRole("logistics")),this._logistic}_estimate;get estimate(){return r.IsEmpty(this._estimate)&&(this._estimate=this.setBulkRole("estimate")),this._estimate}_shift;get shift(){return r.IsEmpty(this._shift)&&(this._shift=this.setBulkRole("shift")),this._shift}_developer;get developer(){return r.IsEmpty(this._developer)&&(this._developer=this.setBulkRole("developer")),this._developer}_dashboard;get dashboard(){return r.IsEmpty(this._dashboard)&&(this._dashboard=this.setBulkRole("dashboard")),this._dashboard}setBulkRole(t){let e={};for(let i in u[t])e[i]=this.isUserHasRole(u[t][i]);return e}get isSystemUser(){let t=localStorage.getItem("Token");return r.parseJwt(t).Type=="System"}resetRoles(){this._roles=[],this._accounting=null,this._adjustment=null,this._apps=null,this._buy=null,this._contact=null,this._customerDisplay=null,this._debt=null,this._fulfillment=null,this._estimate=null,this._global=null,this._inventory=null,this._logistic=null,this._manufacture=null,this._order=null,this._orderDisplay=null,this._outlets=null,this._payment=null,this._product=null,this._prepaidPackage=null,this._profile=null,this._promotion=null,this._report=null,this._sell=null,this._service=null,this._setup=null,this._shift=null,this._users=null,this._developer=null,this._dashboard=null}toJSON(){return{product:this.product,contact:this.contact,promotion:this.promotion,accounting:this.accounting,users:this.users,outlets:this.outlets,setup:this.setup,service:this.service,profile:this.profile,customerDisplay:this.customerDisplay,orderDisplay:this.orderDisplay,global:this.global,apps:this.apps,fulfillment:this.fulfillment,manufacture:this.manufacture,inventory:this.inventory,sell:this.sell,report:this.report,buy:this.buy,adjustment:this.adjustment,debt:this.debt,payment:this.payment,prepaidPackage:this.prepaidPackage,order:this.order,logistic:this.logistic,estimate:this.estimate,shift:this.shift,developer:this.developer,dashboard:this.dashboard}}static \u0275fac=function(e){return new(e||a)};static \u0275prov=l({token:a,factory:a.\u0275fac,providedIn:"root"})};var h=class a{quantity={minimumFraction:0,maximumFraction:0};amount={minimumFraction:0,maximumFraction:0};constructor(){let t=localStorage.getItem("quantityFraction"),e=localStorage.getItem("amountFraction");if(t){let i=JSON.parse(t);this.setQuantityFraction(i.Minimum,i.Maximum)}if(e){let i=JSON.parse(e);this.setAmountFraction(i.Minimum,i.Maximum)}}setQuantityFraction(t,e){this.quantity.minimumFraction=t,this.quantity.maximumFraction=e}setAmountFraction(t,e){this.amount.minimumFraction=t,this.amount.maximumFraction=e}static \u0275fac=function(e){return new(e||a)};static \u0275prov=l({token:a,factory:a.\u0275fac,providedIn:"root"})};export{r as a,y as b,u as c,m as d,h as e};
|
|
1
|
+
import{ha as l}from"./chunk-H55AJAX5.js";import{a as c,b as p}from"./chunk-KW4B7WMB.js";var r=class a{static{this.emailRegex=/^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,}$/}static{this.phoneNumberRegex=/^\d+$/}static{this.GuidEmpty="00000000-0000-0000-0000-000000000000"}static{this.DecimalMinValue="-7.922816251426434e+28"}static{this.InputLockTimeSpan=500}static{this.MinDate="0001-01-01T00:00:00"}static{this.MinTime="00:00:00"}static{this.MinDecimal="-79228162514264337593543950335"}static StringFormat(t,...e){for(let i=0;i<e.length;i++)t=t.replace(`{${i}}`,e[i]);return t}static{this.isMobileDevice=/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)}static IsNotEmpty(t){return t!=""&&!a.containsOnlySpaces(t)&&t!=a.GuidEmpty&&t!=null&&t!=null}static IsEmpty(t){return!!(t==""||a.containsOnlySpaces(t)||t==null||t==null||t==a.GuidEmpty)}static isGuid(t){let e=/^[0-9a-fA-F]{8}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{12}$/gi,i=!1;return t&&(i=e.test(t)),i}static containsOnlySpaces(t){return/^\s*$/.test(t)}static FilterByID(t,e){try{let i=t.filter(s=>s.ID==e);if(i.length>0)return i[0]}catch{}return null}static{this.Months=[{ID:1,Label:"January"},{ID:2,Label:"February"},{ID:3,Label:"March"},{ID:4,Label:"April"},{ID:5,Label:"May"},{ID:6,Label:"June"},{ID:7,Label:"July"},{ID:8,Label:"August"},{ID:9,Label:"September"},{ID:10,Label:"October"},{ID:11,Label:"November"},{ID:12,Label:"December"}]}static GenerateYears(t,e,i){let s=-1;(e==null||e==null)&&(e=11),(i==null||i==null||!i)&&(s=1);let o=[];for(let n=0;n<e;n++)o.push(t+n*s);return o}static DateOnly(t){return t?new Date(new Date(t).toDateString()):new Date(new Date().toDateString())}static differentInDays(t,e){let i=e.getTime()-t.getTime();return Math.floor(i/(1e3*3600*24))}static minutesDiff(t,e){let i=(e.getTime()-t.getTime())/6e4;return Math.ceil(i)}static hoursDiff(t,e){let s=(e.getTime()-t.getTime())/(1e3*3600);return parseFloat(s.toFixed(1))}static Guid_NewGuid(){let t=new Date().getTime();return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(i){var s=(t+Math.random()*16)%16|0;return t=Math.floor(t/16),(i=="x"?s:s&3|8).toString(16)})}static parseJwt(t){var e=t.split(".")[1],i=e.replace(/-/g,"+").replace(/_/g,"/"),s=decodeURIComponent(atob(i).split("").map(function(o){return"%"+("00"+o.charCodeAt(0).toString(16)).slice(-2)}).join(""));return JSON.parse(s)}static numberOnly(t){let e=t.which?t.which:t.keyCode;return!(e>31&&(e<48||e>57))}static formatNumber(t){let e="",i="",s=Math.abs(t);return s>999&&s<1e6?(i="K",e=(s/1e3).toFixed(0)):s>=1e6?(i="M",e=(s/1e6).toFixed(0)):s<999&&(e=s.toString()),t<0&&(e="-"+e),e.replace(/\B(?=(\d{3})+(?!\d))/g,",")+i}static isToDay(t){if(t){let e=new Date;return e.setHours(0,0,0,0),e.getTime()==t.getTime()}return!1}static setToLatestTime(t){let e=new Date(t);return e.setHours(23,59,59),e}static setToFirstTime(t){let e=new Date(t);return e.setHours(0,0,0),e}static compare(t,e,i){return(t<e?-1:1)*(i?1:-1)}static generateSerialasNote(t=[]){let e="";return t&&t.length>0&&(e=`[${t.map((s,o)=>`${o>0?" ":""}${s.Number}${s.Quantity>1||s.Quantity<0?"*"+s.Quantity:""}`)}]`),e}static getDatesInRange(t,e){let i=new Date(t.getTime()),s=[];for(;i<=e;)s.push(new Date(i)),i.setDate(i.getDate()+1);return s}static getDaysBefore(t,e){return new Date(t.setDate(new Date().getDate()-e))}static getRangeDate(t,e){let i=new Date;i.setMonth(t),i.setFullYear(e);let s=new Date(i.getFullYear(),i.getMonth()-1,1),o=new Date(i.getFullYear(),i.getMonth(),0);return{firstDay:s,lastDay:o}}static setDateTime(t,e){let i=new Date;e&&(i=new Date(e));let s=t.split(":");return i.setHours(parseInt(s[0])),i.setMinutes(parseInt(s[1])),i}static isMaskingField(t=""){return t.includes("?")}static generateMaskingField(t=[]){let e={};return t.forEach((i,s)=>{i=i.split(" ")?.join(""),e=p(c({},e),{[i]:!0})}),e}static checkJSApiSupported(t){let e;return t in window?e=!0:e=!1,e}static cloneObject(t){let e;return this.checkJSApiSupported("structuredClone")?e=structuredClone(t):e=JSON.parse(JSON.stringify(t)),e}static formatTitleFromDate(t,e){let i=null,s=new Date(t),o=new Date(e);return s.getDate()!=o.getDate()&&(i="d"),s.getMonth()!=o.getMonth()&&(i="d MMM"),s.getFullYear()!=o.getFullYear()&&(i="d MMM yyyy"),i}};function y(a){return new Promise((t,e)=>{let i=new Image;i.src=a,i.decode().then(()=>{t({img:a,height:i.height,width:i.width})}).catch(()=>{e(new Error(`Image load error for ${a}`))})})}var u={dashboard:{View:"DashV"},estimate:{Create:"EstC",Edit:"EstE",Delete:"EstD"},report:{View:"Rep",Advanced:"RepA",Profit:"RepF"},shift:{View:"Shift",Create:"ShiftC",Edit:"ShiftE",Void:"ShiftVo"},contact:{View:"Con",Create:"ConC",Edit:"ConE",Delete:"ConD",LoyaltyPointEditor:"LoyPE",ContactDetail:"ContD",ContactImageEditor:"ContE",Supplier:"Supp",SalesPerson:"SalP"},sell:{Create:"Sell",PricebookSelector:"PricebS",Edit:"SellE",Delete:"SellD",Number:"NumE",SalesPerson:"SalesmanE",Return:"Return",Discount:"Disc",UnitPriceEditor:"UnitPE",Commission:"Comms",Tax:"Tax",CustomerInputLock:"CustL",Payment:"PayR",PriceVisible:"PriceV",PriceMinimum:"PriceM",Email:"Email",DeleteItem:"DelItm",Shipping:"Ship",PaymentCodeLock:"PayCL",EraseVoidOrd:"EraseVO",RestoreVoidOrd:"RestVO",RetrieveR:"RetrieveR",BundlingPrice:"BundlP",ClearCartRestriction:"ClearCartRestriction",CreditSalesLock:"CredSL",CouponInputLock:"CouponInputLock",Park:"Park"},orders:{View:"Ord",SupplierBill:"OrdB",VoidInvoice:"OrdVo",Print:"OrdRpr",NoteEditor:"OrdNe",Invoice:"OrdIr",Erase:"EraseVO"},product:{View:"Prod",Delete:"ProdD",ImageEditor:"ImgE",Create:"ProdC",Edit:"ProdE",Cost:"Cost",BarcodePrinting:"BarP",DeleteAllOutletPrice:"DeleteAllOutletPrice",Expense:"Expense",CommissionView:"CommV",Price:"PriceV"},payment:{View:"Pay",Delete:"PayD",Create:"PayC",Edit:"PayE"},adjustment:{View:"Adj",Delete:"AdjD",Create:"AdjC",Edit:"AdjE",Approval:"AdjApp",InventoryProductCount:"InvPC"},buy:{Delete:"BuyD",Create:"Buy",Edit:"BuyE",ShippingRestriction:"BuySh",Approval:"PurA",Report:"BuyR"},logistics:{View:"Del",Create:"DelC",Edit:"DelE",Delete:"DelD",TransferOrderEditor:"DelRE",Outbound:"FulF",TransferOrderApproval:"DelA",TransferOrderReceiver:"DelR"},debt:{View:"Debt",Delete:"DebtD",Create:"DebtC",Edit:"DebtE"},prepaidPackage:{View:"Tre",Create:"TreC",Edit:"TreE",Delete:"TreD",TreatmentIncentive:"TreI",SharePackageEditor:"SharPacE",TreatmentNote:"TreN",Doctor:"Doct"},inventory:{View:"Inv",Edit:"InvE"},promotion:{View:"Prom",Create:"PromC",Edit:"PromE",Delete:"PromD",Coupon:"Cou",Pricebook:"Pri"},accounting:{View:"Act",Create:"ActC",Edit:"ActE",Delete:"ActD",Report:"ActRep",Ledger:"ActL",EmptyOutlet:"ActEO",ClosingEditor:"ActCE",Advanced:"ActRA",Recurring:"ActRec"},users:{View:"Use",Create:"UseC",Edit:"UseE",Delete:"UseD",Groups:"Gro",LoginTimeRestriction:"LogTR",UserIPRestriction:"UseIR",GroupsRestriction:"UseG",LogRestriction:"LogResct"},outlets:{View:"Out",Create:"OutC",Edit:"OutE",Delete:"OutD"},setup:{View:"Stp",Create:"StpC",Edit:"StpE",Delete:"StpD",Webhook:"StpWh",Developer:"StpDev"},service:{View:"Serv"},myProfile:{View:"Prof",Notification:"Notf",Subscription:"Subs",Activity:"Actv"},customerDisplay:{View:"Disp"},orderDisplay:{View:"KitD"},global:{Export:"Export",Number:"NumE",Date:"DateE",Print:"OrdRpr",SensitiveField:"GlobalSF"},apps:{Marketplace:"Mrp",Jurnal:"Jurnal",Tools:"Tools"},fulfillment:{View:"Ful",Edit:"FulE",Create:"FulC",Delete:"FulD",Ship:"FulS"},manufacture:{View:"Man",Create:"ManC",Edit:"ManE",Delete:"ManD"},developer:{Api:"API",View:"Dev",Edit:"DevE"}};var m=class a{_roles=[];constructor(){this.parseJWTRoles()}parseJWTRoles(){let t=localStorage.getItem("Token");if(r.IsNotEmpty(t)){var e=r.parseJwt(t);this._roles=e["http://schemas.microsoft.com/ws/2008/06/identity/claims/role"]}}isInRole(t,e){let i={};return e.forEach((s,o)=>i[t[o]]=typeof s=="string"?this._roles.includes(s):s(this._roles)),i}isUserHasRole(t){return this._roles.includes(t)}_product;get product(){return r.IsEmpty(this._product)&&(this._product=this.setBulkRole("product")),this._product}_contact;get contact(){return r.IsEmpty(this._contact)&&(this._contact=this.setBulkRole("contact")),this._contact}_promotion;get promotion(){return r.IsEmpty(this._promotion)&&(this._promotion=this.setBulkRole("promotion")),this._promotion}_accounting;get accounting(){return r.IsEmpty(this._accounting)&&(this._accounting=this.setBulkRole("accounting")),this._accounting}_users;get users(){return r.IsEmpty(this._users)&&(this._users=this.setBulkRole("users")),this._users}_outlets;get outlets(){return r.IsEmpty(this._outlets)&&(this._outlets=this.setBulkRole("outlets")),this._outlets}_setup;get setup(){return r.IsEmpty(this._setup)&&(this._setup=this.setBulkRole("setup")),this._setup}_service;get service(){return r.IsEmpty(this._service)&&(this._service=this.setBulkRole("service")),this._service}_profile;get profile(){return r.IsEmpty(this._profile)&&(this._profile=this.setBulkRole("myProfile")),this._profile}_customerDisplay;get customerDisplay(){return r.IsEmpty(this._customerDisplay)&&(this._customerDisplay=this.setBulkRole("customerDisplay")),this._customerDisplay}_orderDisplay;get orderDisplay(){return r.IsEmpty(this._orderDisplay)&&(this._orderDisplay=this.setBulkRole("orderDisplay")),this._orderDisplay}_global;get global(){return r.IsEmpty(this._global)&&(this._global=this.setBulkRole("global")),this._global}_apps;get apps(){return r.IsEmpty(this._apps)&&(this._apps=this.setBulkRole("apps")),this._apps}_fulfillment;get fulfillment(){return r.IsEmpty(this._fulfillment)&&(this._fulfillment=this.setBulkRole("fulfillment")),this._fulfillment}_manufacture;get manufacture(){return r.IsEmpty(this._manufacture)&&(this._manufacture=this.setBulkRole("manufacture")),this._manufacture}_inventory;get inventory(){return r.IsEmpty(this._inventory)&&(this._inventory=this.setBulkRole("inventory")),this._inventory}_sell;get sell(){return r.IsEmpty(this._sell)&&(this._sell=this.setBulkRole("sell")),this._sell}_report;get report(){return r.IsEmpty(this._report)&&(this._report=this.setBulkRole("report")),this._report}_buy;get buy(){return r.IsEmpty(this._buy)&&(this._buy=this.setBulkRole("buy")),this._buy}_adjustment;get adjustment(){return r.IsEmpty(this._adjustment)&&(this._adjustment=this.setBulkRole("adjustment")),this._adjustment}_debt;get debt(){return r.IsEmpty(this._debt)&&(this._debt=this.setBulkRole("debt")),this._debt}_payment;get payment(){return r.IsEmpty(this._payment)&&(this._payment=this.setBulkRole("payment")),this._payment}_prepaidPackage;get prepaidPackage(){return r.IsEmpty(this._prepaidPackage)&&(this._prepaidPackage=this.setBulkRole("prepaidPackage")),this._prepaidPackage}_order;get order(){return r.IsEmpty(this._order)&&(this._order=this.setBulkRole("orders")),this._order}_logistic;get logistic(){return r.IsEmpty(this._logistic)&&(this._logistic=this.setBulkRole("logistics")),this._logistic}_estimate;get estimate(){return r.IsEmpty(this._estimate)&&(this._estimate=this.setBulkRole("estimate")),this._estimate}_shift;get shift(){return r.IsEmpty(this._shift)&&(this._shift=this.setBulkRole("shift")),this._shift}_developer;get developer(){return r.IsEmpty(this._developer)&&(this._developer=this.setBulkRole("developer")),this._developer}_dashboard;get dashboard(){return r.IsEmpty(this._dashboard)&&(this._dashboard=this.setBulkRole("dashboard")),this._dashboard}setBulkRole(t){let e={};for(let i in u[t])e[i]=this.isUserHasRole(u[t][i]);return e}get isSystemUser(){let t=localStorage.getItem("Token");return r.parseJwt(t).Type=="System"}resetRoles(){this._roles=[],this._accounting=null,this._adjustment=null,this._apps=null,this._buy=null,this._contact=null,this._customerDisplay=null,this._debt=null,this._fulfillment=null,this._estimate=null,this._global=null,this._inventory=null,this._logistic=null,this._manufacture=null,this._order=null,this._orderDisplay=null,this._outlets=null,this._payment=null,this._product=null,this._prepaidPackage=null,this._profile=null,this._promotion=null,this._report=null,this._sell=null,this._service=null,this._setup=null,this._shift=null,this._users=null,this._developer=null,this._dashboard=null}toJSON(){return{product:this.product,contact:this.contact,promotion:this.promotion,accounting:this.accounting,users:this.users,outlets:this.outlets,setup:this.setup,service:this.service,profile:this.profile,customerDisplay:this.customerDisplay,orderDisplay:this.orderDisplay,global:this.global,apps:this.apps,fulfillment:this.fulfillment,manufacture:this.manufacture,inventory:this.inventory,sell:this.sell,report:this.report,buy:this.buy,adjustment:this.adjustment,debt:this.debt,payment:this.payment,prepaidPackage:this.prepaidPackage,order:this.order,logistic:this.logistic,estimate:this.estimate,shift:this.shift,developer:this.developer,dashboard:this.dashboard}}static \u0275fac=function(e){return new(e||a)};static \u0275prov=l({token:a,factory:a.\u0275fac,providedIn:"root"})};var h=class a{quantity={minimumFraction:0,maximumFraction:0};amount={minimumFraction:0,maximumFraction:0};constructor(){let t=localStorage.getItem("quantityFraction"),e=localStorage.getItem("amountFraction");if(t){let i=JSON.parse(t);this.setQuantityFraction(i.Minimum,i.Maximum)}if(e){let i=JSON.parse(e);this.setAmountFraction(i.Minimum,i.Maximum)}}setQuantityFraction(t,e){this.quantity.minimumFraction=t,this.quantity.maximumFraction=e}setAmountFraction(t,e){this.amount.minimumFraction=t,this.amount.maximumFraction=e}static \u0275fac=function(e){return new(e||a)};static \u0275prov=l({token:a,factory:a.\u0275fac,providedIn:"root"})};export{r as a,y as b,u as c,m as d,h as e};
|