marketplacepos 5.46.7 → 5.48.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (329) hide show
  1. package/Marketplace/3rdpartylicenses.txt +80 -28
  2. package/Marketplace/chunk-2F4DTZCZ.js +2 -0
  3. package/Marketplace/chunk-2J7P6ENI.js +1 -0
  4. package/Marketplace/chunk-2USFVKEX.js +1 -0
  5. package/Marketplace/chunk-327AAICB.js +1 -0
  6. package/Marketplace/chunk-36U7D4LI.js +1 -0
  7. package/Marketplace/chunk-3JRUKSV3.js +251 -0
  8. package/Marketplace/chunk-3L7Y6LG6.js +1 -0
  9. package/Marketplace/chunk-3LTTPECO.js +1 -0
  10. package/Marketplace/chunk-3TPMCGA5.js +1 -0
  11. package/Marketplace/chunk-3WRXJBHF.js +380 -0
  12. package/Marketplace/chunk-4ILDFTIG.js +34 -0
  13. package/Marketplace/chunk-4JDI3AL5.js +1 -0
  14. package/Marketplace/chunk-4RG5YR7N.js +54 -0
  15. package/Marketplace/chunk-4RLWHMI6.js +1 -0
  16. package/Marketplace/chunk-4VNQYYVV.js +1 -0
  17. package/Marketplace/chunk-4YCSITNV.js +1 -0
  18. package/Marketplace/chunk-5BSPSA4O.js +2 -0
  19. package/Marketplace/chunk-5G3OIF3V.js +1 -0
  20. package/Marketplace/chunk-5MV3UFJQ.js +88 -0
  21. package/Marketplace/chunk-5PMKN6PM.js +151 -0
  22. package/Marketplace/{chunk-7TI3OR34.js → chunk-5X2E3W32.js} +3 -3
  23. package/Marketplace/chunk-63I3I3MX.js +5 -0
  24. package/Marketplace/chunk-64EV3KZS.js +1 -0
  25. package/Marketplace/chunk-6EORXONU.js +4 -0
  26. package/Marketplace/chunk-6KWG6O5L.js +2 -0
  27. package/Marketplace/{chunk-63ANFYRV.js → chunk-6OJQRHIZ.js} +3 -3
  28. package/Marketplace/chunk-6PW6S7MI.js +2 -0
  29. package/Marketplace/{chunk-6L7TD5DW.js → chunk-6Q6L5NUD.js} +1 -1
  30. package/Marketplace/chunk-6XDT56RT.js +2 -0
  31. package/Marketplace/chunk-6Z2CE7TK.js +1 -0
  32. package/Marketplace/chunk-6ZE3KI6C.js +2 -0
  33. package/Marketplace/chunk-7GY4O2UX.js +157 -0
  34. package/Marketplace/chunk-7JQEF4XX.js +1 -0
  35. package/Marketplace/chunk-7WHUYSBD.js +1 -0
  36. package/Marketplace/chunk-A6QXXKPR.js +1 -0
  37. package/Marketplace/chunk-A7PUMY67.js +1 -0
  38. package/Marketplace/chunk-AAUBUT4Y.js +1 -0
  39. package/Marketplace/chunk-AFCA7VVG.js +1 -0
  40. package/Marketplace/chunk-AFDI4TD4.js +104 -0
  41. package/Marketplace/chunk-AFIF6VRM.js +4 -0
  42. package/Marketplace/chunk-AGBJEXIM.js +1 -0
  43. package/Marketplace/chunk-AZOCRKXK.js +1 -0
  44. package/Marketplace/chunk-BJH4EGMC.js +2 -0
  45. package/Marketplace/chunk-BKR7YPEW.js +1 -0
  46. package/Marketplace/chunk-BXYXVBXP.js +1 -0
  47. package/Marketplace/chunk-BYTWGXP7.js +1 -0
  48. package/Marketplace/chunk-C7N6EI73.js +1 -0
  49. package/Marketplace/chunk-CG7UNGPF.js +1413 -0
  50. package/Marketplace/{chunk-RNNH3EZC.js → chunk-CM3B2UZ7.js} +1 -1
  51. package/Marketplace/chunk-CT6UFONR.js +1 -0
  52. package/Marketplace/chunk-D3VVBQYY.js +1 -0
  53. package/Marketplace/chunk-DAUML5UD.js +2 -0
  54. package/Marketplace/chunk-DHPNXR6E.js +1 -0
  55. package/Marketplace/chunk-DTAHV4GM.js +1 -0
  56. package/Marketplace/chunk-DXYMG6QK.js +2 -0
  57. package/Marketplace/chunk-E3EBAWLJ.js +1 -0
  58. package/Marketplace/chunk-E66QUDQF.js +1 -0
  59. package/Marketplace/chunk-E6AMKEQR.js +149 -0
  60. package/Marketplace/chunk-E6ZWL77N.js +1 -0
  61. package/Marketplace/chunk-EDEZ3JLR.js +4 -0
  62. package/Marketplace/chunk-EYT2YJGK.js +1 -0
  63. package/Marketplace/chunk-FCEXPGTK.js +5 -0
  64. package/Marketplace/chunk-FHER4TFY.js +1 -0
  65. package/Marketplace/chunk-FKGKMEDE.js +2 -0
  66. package/Marketplace/{chunk-HVCIQI7B.js → chunk-FULVA6QB.js} +1 -1
  67. package/Marketplace/chunk-GF6B54DH.js +5 -0
  68. package/Marketplace/chunk-GG3MDS4C.js +1 -0
  69. package/Marketplace/chunk-GPHNPV7O.js +2 -0
  70. package/Marketplace/chunk-GTIJJRTW.js +1 -0
  71. package/Marketplace/chunk-GURSK3ZV.js +1 -0
  72. package/Marketplace/chunk-HK5FXZE4.js +40 -0
  73. package/Marketplace/{chunk-W3JTS22H.js → chunk-HPINZVE4.js} +1 -1
  74. package/Marketplace/chunk-HUECAZ5I.js +1 -0
  75. package/Marketplace/chunk-I3Q5TAIL.js +1 -0
  76. package/Marketplace/chunk-I7C6W3RB.js +1 -0
  77. package/Marketplace/chunk-IGKMJFKP.js +90 -0
  78. package/Marketplace/chunk-ILW6ZFFV.js +1 -0
  79. package/Marketplace/chunk-IM5M2CAI.js +1 -0
  80. package/Marketplace/chunk-IODYBTLK.js +1 -0
  81. package/Marketplace/chunk-ISMIPSYN.js +1 -0
  82. package/Marketplace/chunk-ITGVXYDV.js +1 -0
  83. package/Marketplace/chunk-IU36PH6K.js +1 -0
  84. package/Marketplace/chunk-IWFUFVCC.js +1 -0
  85. package/Marketplace/chunk-IX6JJ6BJ.js +1 -0
  86. package/Marketplace/chunk-IYDRCUIT.js +1 -0
  87. package/Marketplace/chunk-J6CZKQ53.js +264 -0
  88. package/Marketplace/chunk-JBEKD57G.js +1 -0
  89. package/Marketplace/chunk-JKRH5WGR.js +1 -0
  90. package/Marketplace/chunk-JW7NES7L.js +1 -0
  91. package/Marketplace/chunk-KB3CRZC5.js +1 -0
  92. package/Marketplace/chunk-KJE5GRQ4.js +1 -0
  93. package/Marketplace/chunk-KVDREHOE.js +1 -0
  94. package/Marketplace/chunk-L3W6SG2T.js +1 -0
  95. package/Marketplace/chunk-L76NLJD7.js +149 -0
  96. package/Marketplace/chunk-L7WZ6U4T.js +15 -0
  97. package/Marketplace/chunk-LNJUGHOX.js +2 -0
  98. package/Marketplace/chunk-LOWGZOML.js +1 -0
  99. package/Marketplace/chunk-M2BYW5SR.js +1 -0
  100. package/Marketplace/chunk-M4ZE35XK.js +61 -0
  101. package/Marketplace/chunk-MRT6ZM2A.js +1 -0
  102. package/Marketplace/{chunk-JVNHFIYT.js → chunk-N5AE5WMQ.js} +1 -1
  103. package/Marketplace/chunk-NCKPMA6Q.js +1 -0
  104. package/Marketplace/chunk-NSBKRFO7.js +1 -0
  105. package/Marketplace/chunk-NWB7EVME.js +112 -0
  106. package/Marketplace/chunk-O2YF5VGD.js +2 -0
  107. package/Marketplace/chunk-O4EO3YBL.js +1 -0
  108. package/Marketplace/chunk-OBF4XVU7.js +1 -0
  109. package/Marketplace/chunk-OPXITNRF.js +1 -0
  110. package/Marketplace/chunk-OXWPYJNB.js +1 -0
  111. package/Marketplace/chunk-PDCVMSLL.js +1 -0
  112. package/Marketplace/chunk-PMVDQ2OP.js +1 -0
  113. package/Marketplace/{chunk-KXU32D3B.js → chunk-PUUZQ4N5.js} +1 -1
  114. package/Marketplace/chunk-Q2QX5AAJ.js +1130 -0
  115. package/Marketplace/chunk-Q4AWQ7IC.js +7 -0
  116. package/Marketplace/chunk-Q4TAOZ73.js +1 -0
  117. package/Marketplace/chunk-Q7MU7DBD.js +2 -0
  118. package/Marketplace/chunk-QFSA7CU4.js +2 -0
  119. package/Marketplace/chunk-QSBCJIQ3.js +1 -0
  120. package/Marketplace/chunk-QXRG5XYP.js +1 -0
  121. package/Marketplace/chunk-R2XT5M5F.js +3 -0
  122. package/Marketplace/chunk-RASTACH2.js +1 -0
  123. package/Marketplace/chunk-RDS3OGH2.js +1 -0
  124. package/Marketplace/chunk-RNWHARPK.js +92 -0
  125. package/Marketplace/chunk-RQQWNLDZ.js +1 -0
  126. package/Marketplace/chunk-RUBV3KX2.js +149 -0
  127. package/Marketplace/{chunk-TGMCGROM.js → chunk-RXLMJGUY.js} +3 -3
  128. package/Marketplace/chunk-RXZ43ZSY.js +1 -0
  129. package/Marketplace/chunk-S5R6MCNP.js +5 -0
  130. package/Marketplace/chunk-S7CKRTJV.js +2 -0
  131. package/Marketplace/chunk-SFZDUON5.js +2 -0
  132. package/Marketplace/chunk-SGTGXMFX.js +1 -0
  133. package/Marketplace/{chunk-QS22J2SC.js → chunk-SHUYFOQI.js} +2 -2
  134. package/Marketplace/chunk-SJ5MC42H.js +257 -0
  135. package/Marketplace/chunk-SJT5OMJM.js +1 -0
  136. package/Marketplace/chunk-STYL7ETF.js +3 -0
  137. package/Marketplace/chunk-T7HRAMHR.js +1 -0
  138. package/Marketplace/chunk-TJYYRHZZ.js +1 -0
  139. package/Marketplace/chunk-TLPRODFI.js +1 -0
  140. package/Marketplace/chunk-TOATNIRC.js +1 -0
  141. package/Marketplace/chunk-TXOZULMZ.js +1 -0
  142. package/Marketplace/chunk-TYQY4WPY.js +1 -0
  143. package/Marketplace/chunk-UH5C5HXK.js +1 -0
  144. package/Marketplace/chunk-UIZJMH4U.js +1 -0
  145. package/Marketplace/chunk-VWX2IX64.js +1 -0
  146. package/Marketplace/chunk-WFMAM73Y.js +1 -0
  147. package/Marketplace/chunk-WHHW4IZT.js +2 -0
  148. package/Marketplace/chunk-WIYPRMVW.js +266 -0
  149. package/Marketplace/chunk-WNUTNP6I.js +39 -0
  150. package/Marketplace/chunk-X5X4R6MJ.js +1 -0
  151. package/Marketplace/chunk-XBIHN6D3.js +1 -0
  152. package/Marketplace/chunk-XF2QZL6C.js +1 -0
  153. package/Marketplace/chunk-XLIPGDSC.js +2 -0
  154. package/Marketplace/chunk-XLNRT52E.js +5 -0
  155. package/Marketplace/chunk-XRLXIT7I.js +1 -0
  156. package/Marketplace/chunk-YTHY4IFS.js +1 -0
  157. package/Marketplace/chunk-ZEF5FMYQ.js +1 -0
  158. package/Marketplace/chunk-ZETUYNFJ.js +1 -0
  159. package/Marketplace/chunk-ZKIO2ZQ6.js +2 -0
  160. package/Marketplace/chunk-ZME22WYI.js +1 -0
  161. package/Marketplace/chunk-ZRTEGBXK.js +7 -0
  162. package/Marketplace/chunk-ZSUWHVKX.js +1 -0
  163. package/Marketplace/chunk-ZTHO6JJM.js +2 -0
  164. package/Marketplace/chunk-ZVTFMONF.js +15 -0
  165. package/Marketplace/chunk-ZW2TMVZP.js +10 -0
  166. package/Marketplace/chunk-ZYJ6LAJ3.js +4 -0
  167. package/Marketplace/index.html +2 -2
  168. package/Marketplace/main-T7D6R6TU.js +1 -0
  169. package/Marketplace/{polyfills-BUUDEW7V.js → polyfills-5FDKUQTZ.js} +1 -1
  170. package/Marketplace/scripts-2STIAS5P.js +5 -0
  171. package/Marketplace/styles-ANCVZJP7.css +1 -0
  172. package/package.json +1 -1
  173. package/Marketplace/chunk-25345PS7.js +0 -257
  174. package/Marketplace/chunk-2UIK6NRS.js +0 -1
  175. package/Marketplace/chunk-37MIOA6D.js +0 -1
  176. package/Marketplace/chunk-3DCFDJVG.js +0 -1
  177. package/Marketplace/chunk-3GDM5JNY.js +0 -2
  178. package/Marketplace/chunk-3X5SEOLP.js +0 -1
  179. package/Marketplace/chunk-4G7SG2H6.js +0 -1
  180. package/Marketplace/chunk-4NEKWRL7.js +0 -1
  181. package/Marketplace/chunk-4RTDKHTN.js +0 -1
  182. package/Marketplace/chunk-4VJ3SIJF.js +0 -1
  183. package/Marketplace/chunk-5CKVZBHM.js +0 -102
  184. package/Marketplace/chunk-5EIQGYTB.js +0 -1
  185. package/Marketplace/chunk-5G3N7OU5.js +0 -1
  186. package/Marketplace/chunk-5KNFEBH5.js +0 -1
  187. package/Marketplace/chunk-5PS6ZS3N.js +0 -1
  188. package/Marketplace/chunk-5QO5B7YG.js +0 -1
  189. package/Marketplace/chunk-67HPC5Y3.js +0 -2
  190. package/Marketplace/chunk-6H2KAYSB.js +0 -1088
  191. package/Marketplace/chunk-6NRH3MJL.js +0 -1
  192. package/Marketplace/chunk-6OMSPZZC.js +0 -2
  193. package/Marketplace/chunk-6QFP63YQ.js +0 -1
  194. package/Marketplace/chunk-7G6GQTSH.js +0 -33
  195. package/Marketplace/chunk-7KN3UVZI.js +0 -1
  196. package/Marketplace/chunk-7L3UKJDU.js +0 -1
  197. package/Marketplace/chunk-A6PXM4YX.js +0 -1
  198. package/Marketplace/chunk-ABYG6YZT.js +0 -2
  199. package/Marketplace/chunk-ACIMXBIC.js +0 -1
  200. package/Marketplace/chunk-AGURPBGY.js +0 -5
  201. package/Marketplace/chunk-AGZCB65X.js +0 -1
  202. package/Marketplace/chunk-BDBETNFT.js +0 -137
  203. package/Marketplace/chunk-BKRCW7SH.js +0 -79
  204. package/Marketplace/chunk-BMYBLBSP.js +0 -3
  205. package/Marketplace/chunk-BTO76EDH.js +0 -1
  206. package/Marketplace/chunk-BVDLO6WD.js +0 -1235
  207. package/Marketplace/chunk-CGOB6Y3X.js +0 -1
  208. package/Marketplace/chunk-CMBQCMTZ.js +0 -1
  209. package/Marketplace/chunk-CVM573KF.js +0 -1
  210. package/Marketplace/chunk-CWNZ6HAV.js +0 -1
  211. package/Marketplace/chunk-CYG42H2K.js +0 -1
  212. package/Marketplace/chunk-DAXM2MPK.js +0 -1
  213. package/Marketplace/chunk-DNNH5AQJ.js +0 -1
  214. package/Marketplace/chunk-DPAQQ77L.js +0 -222
  215. package/Marketplace/chunk-DXPLB6OB.js +0 -252
  216. package/Marketplace/chunk-EAA6S4WB.js +0 -1
  217. package/Marketplace/chunk-EHBCYQSG.js +0 -1
  218. package/Marketplace/chunk-EHUVS2VB.js +0 -1
  219. package/Marketplace/chunk-ERXVXBTU.js +0 -1
  220. package/Marketplace/chunk-EU2KAMEK.js +0 -1
  221. package/Marketplace/chunk-EUYQST7Q.js +0 -1
  222. package/Marketplace/chunk-EYONZQ2W.js +0 -1
  223. package/Marketplace/chunk-F2T43CJB.js +0 -51
  224. package/Marketplace/chunk-F2XHUFJC.js +0 -157
  225. package/Marketplace/chunk-F4Z47C2S.js +0 -15
  226. package/Marketplace/chunk-FJYAC47U.js +0 -2
  227. package/Marketplace/chunk-FXQKRJWU.js +0 -2
  228. package/Marketplace/chunk-GCECFUOP.js +0 -1
  229. package/Marketplace/chunk-GH5FTODR.js +0 -1
  230. package/Marketplace/chunk-GHVAGYK3.js +0 -2
  231. package/Marketplace/chunk-GJTQNOXV.js +0 -1
  232. package/Marketplace/chunk-GRYGUILI.js +0 -2
  233. package/Marketplace/chunk-GUO3DTDP.js +0 -1
  234. package/Marketplace/chunk-GZKOMS4T.js +0 -2
  235. package/Marketplace/chunk-HBVCUV6A.js +0 -7
  236. package/Marketplace/chunk-HERZ7KEM.js +0 -1
  237. package/Marketplace/chunk-HIC5QC3Y.js +0 -1
  238. package/Marketplace/chunk-HJXYT6MI.js +0 -4
  239. package/Marketplace/chunk-HZKRKNLA.js +0 -5
  240. package/Marketplace/chunk-IHSGQFDX.js +0 -2
  241. package/Marketplace/chunk-IITU3NV6.js +0 -1
  242. package/Marketplace/chunk-IQ3ER4NM.js +0 -1
  243. package/Marketplace/chunk-JAWWMIGP.js +0 -1
  244. package/Marketplace/chunk-JBT7GBCM.js +0 -5
  245. package/Marketplace/chunk-JGEU4EJT.js +0 -1
  246. package/Marketplace/chunk-JP6HRQLK.js +0 -2
  247. package/Marketplace/chunk-JZC463X6.js +0 -1
  248. package/Marketplace/chunk-K4NTJPH5.js +0 -1
  249. package/Marketplace/chunk-KS7ACI26.js +0 -10
  250. package/Marketplace/chunk-KSHWHTCH.js +0 -2
  251. package/Marketplace/chunk-KTB223SK.js +0 -1
  252. package/Marketplace/chunk-KWHVCPX2.js +0 -1
  253. package/Marketplace/chunk-LBDA5KP3.js +0 -1
  254. package/Marketplace/chunk-LBMUKJV5.js +0 -1
  255. package/Marketplace/chunk-LDL3A7NM.js +0 -1
  256. package/Marketplace/chunk-LETC4UBH.js +0 -1
  257. package/Marketplace/chunk-LVZDOEKQ.js +0 -1
  258. package/Marketplace/chunk-LW3PTNRL.js +0 -1
  259. package/Marketplace/chunk-LYCCI55Z.js +0 -1
  260. package/Marketplace/chunk-LYPHZP72.js +0 -2
  261. package/Marketplace/chunk-MAQ6FWVP.js +0 -1
  262. package/Marketplace/chunk-MFMD6ZSP.js +0 -234
  263. package/Marketplace/chunk-MFQQEEHJ.js +0 -3
  264. package/Marketplace/chunk-MO53T3IK.js +0 -1
  265. package/Marketplace/chunk-MX5SR3SR.js +0 -94
  266. package/Marketplace/chunk-MYPTLVUU.js +0 -1
  267. package/Marketplace/chunk-NAGQF4JJ.js +0 -1
  268. package/Marketplace/chunk-NCLAP5OW.js +0 -1
  269. package/Marketplace/chunk-NFGFM7TW.js +0 -1
  270. package/Marketplace/chunk-NNOI3AG4.js +0 -1
  271. package/Marketplace/chunk-NTGU2UMX.js +0 -1
  272. package/Marketplace/chunk-NX4WQMFK.js +0 -1
  273. package/Marketplace/chunk-O2YNPIYM.js +0 -5
  274. package/Marketplace/chunk-O3ADJ3YS.js +0 -1
  275. package/Marketplace/chunk-OJMQBH6T.js +0 -7
  276. package/Marketplace/chunk-OMPJUICC.js +0 -1
  277. package/Marketplace/chunk-OR6TBLPO.js +0 -33
  278. package/Marketplace/chunk-OXWPLJEW.js +0 -93
  279. package/Marketplace/chunk-OZ7LWNOK.js +0 -15
  280. package/Marketplace/chunk-PE5AFID4.js +0 -1
  281. package/Marketplace/chunk-PFY5UG5D.js +0 -4
  282. package/Marketplace/chunk-PHUHUFYL.js +0 -2
  283. package/Marketplace/chunk-PIBVGTHJ.js +0 -1
  284. package/Marketplace/chunk-PYXL7UF7.js +0 -2
  285. package/Marketplace/chunk-Q4N2QUV6.js +0 -30
  286. package/Marketplace/chunk-QOP7KZK7.js +0 -1
  287. package/Marketplace/chunk-QPLUVWFA.js +0 -158
  288. package/Marketplace/chunk-QW4EOJRM.js +0 -1
  289. package/Marketplace/chunk-QWISVEBT.js +0 -141
  290. package/Marketplace/chunk-R5KKW4LC.js +0 -1
  291. package/Marketplace/chunk-RAQRGWCZ.js +0 -2
  292. package/Marketplace/chunk-RC5PUUVM.js +0 -193
  293. package/Marketplace/chunk-RGAWEFPQ.js +0 -1
  294. package/Marketplace/chunk-RGY4FVTG.js +0 -1
  295. package/Marketplace/chunk-RHHHL4OR.js +0 -5
  296. package/Marketplace/chunk-S3FZRSRP.js +0 -1
  297. package/Marketplace/chunk-SCHKXMJN.js +0 -2
  298. package/Marketplace/chunk-T27ABFCP.js +0 -1
  299. package/Marketplace/chunk-T2OSIFLN.js +0 -78
  300. package/Marketplace/chunk-TLEH7QMI.js +0 -1
  301. package/Marketplace/chunk-TUHKMG57.js +0 -1
  302. package/Marketplace/chunk-U7WCPDIV.js +0 -1
  303. package/Marketplace/chunk-UGYIOLBR.js +0 -1
  304. package/Marketplace/chunk-UMP6ZMEJ.js +0 -1
  305. package/Marketplace/chunk-UQWB6RQP.js +0 -2
  306. package/Marketplace/chunk-V3USB3ZU.js +0 -1
  307. package/Marketplace/chunk-VFATXJRG.js +0 -1
  308. package/Marketplace/chunk-VLF5RZ3X.js +0 -1
  309. package/Marketplace/chunk-VRPKQ2HJ.js +0 -1
  310. package/Marketplace/chunk-W3DTXPRM.js +0 -1
  311. package/Marketplace/chunk-WN5DZGA4.js +0 -1
  312. package/Marketplace/chunk-WRJFUNM3.js +0 -1
  313. package/Marketplace/chunk-WUKVYBD3.js +0 -1
  314. package/Marketplace/chunk-XHAXYWZ7.js +0 -1
  315. package/Marketplace/chunk-XONEJSCE.js +0 -1
  316. package/Marketplace/chunk-XPCRS7AL.js +0 -1
  317. package/Marketplace/chunk-XXT6F2ZS.js +0 -5
  318. package/Marketplace/chunk-YERZ6W22.js +0 -1
  319. package/Marketplace/chunk-YFDFIBAG.js +0 -1
  320. package/Marketplace/chunk-YHT4EYQJ.js +0 -397
  321. package/Marketplace/chunk-YQLOB7IQ.js +0 -70
  322. package/Marketplace/chunk-YTCIQBSO.js +0 -2
  323. package/Marketplace/chunk-YU2SDRUC.js +0 -1
  324. package/Marketplace/chunk-Z3ITXK3D.js +0 -1
  325. package/Marketplace/chunk-ZHPHANAW.js +0 -3
  326. package/Marketplace/main-HRVNLZTX.js +0 -1
  327. package/Marketplace/scripts-BTEOQWVQ.js +0 -5
  328. package/Marketplace/styles-EW2SXTVD.css +0 -1
  329. /package/Marketplace/{chunk-SDUUFQUI.js → chunk-D2J64VUP.js} +0 -0
@@ -0,0 +1,2 @@
1
+ import{a as Q,b as W}from"./chunk-ZKIO2ZQ6.js";import{c as K}from"./chunk-ZTHO6JJM.js";import{b as X,d as tt}from"./chunk-FCEXPGTK.js";import{f as J}from"./chunk-WHHW4IZT.js";import{v as Z,w as q}from"./chunk-STYL7ETF.js";import{E as Y}from"./chunk-XLIPGDSC.js";import{$b as m,Aa as k,Ad as H,Fd as y,Gb as E,Gd as P,Hb as R,Hc as $,La as B,Ma as F,Mc as x,Nc as U,Oc as I,Yb as N,Zb as c,bc as u,dc as V,ec as G,f as D,fc as j,gc as l,h as M,hc as n,ic as r,jc as v,ma as O,na as w,nb as o,pa as L,qc as z,ra as _,sb as A,vc as d,xa as h,xc as p,ya as b,za as f}from"./chunk-ZYJ6LAJ3.js";function et(i,g){if(i&1&&(n(0,"mat-option",17),x(1),r()),i&2){let t=g.$implicit;l("value",t),o(),I(" ",t," ")}}function it(i,g){if(i&1){let t=z();n(0,"mat-form-field",14)(1,"mat-select",16,0),d("selectionChange",function(e){h(t);let s=p(2);return b(s._changePageSize(e.value))}),G(3,et,2,2,"mat-option",17,V),r(),n(5,"div",18),d("click",function(){h(t);let e=$(2);return b(e.open())}),r()()}if(i&2){let t=p(2);l("appearance",t._formFieldAppearance)("color",t.color),o(),l("value",t.pageSize)("disabled",t.disabled),N("aria-labelledby",t._pageSizeLabelId),l("panelClass",t.selectConfig.panelClass||"")("disableOptionCentering",t.selectConfig.disableOptionCentering),o(2),j(t._displayedPageSizeOptions)}}function at(i,g){if(i&1&&(n(0,"div",15),x(1),r()),i&2){let t=p(2);o(),U(t.pageSize)}}function nt(i,g){if(i&1&&(n(0,"div",3)(1,"div",13),x(2),r(),m(3,it,6,7,"mat-form-field",14),m(4,at,2,1,"div",15),r()),i&2){let t=p();o(),c("id",t._pageSizeLabelId),o(),I(" ",t._intl.itemsPerPageLabel," "),o(),u(t._displayedPageSizeOptions.length>1?3:-1),o(),u(t._displayedPageSizeOptions.length<=1?4:-1)}}function ot(i,g){if(i&1){let t=z();n(0,"button",19),d("click",function(){h(t);let e=p();return b(e._buttonClicked(0,e._previousButtonsDisabled()))}),f(),n(1,"svg",8),v(2,"path",20),r()()}if(i&2){let t=p();l("matTooltip",t._intl.firstPageLabel)("matTooltipDisabled",t._previousButtonsDisabled())("disabled",t._previousButtonsDisabled())("tabindex",t._previousButtonsDisabled()?-1:null),c("aria-label",t._intl.firstPageLabel)}}function rt(i,g){if(i&1){let t=z();n(0,"button",21),d("click",function(){h(t);let e=p();return b(e._buttonClicked(e.getNumberOfPages()-1,e._nextButtonsDisabled()))}),f(),n(1,"svg",8),v(2,"path",22),r()()}if(i&2){let t=p();l("matTooltip",t._intl.lastPageLabel)("matTooltipDisabled",t._nextButtonsDisabled())("disabled",t._nextButtonsDisabled())("tabindex",t._nextButtonsDisabled()?-1:null),c("aria-label",t._intl.lastPageLabel)}}var C=(()=>{class i{changes=new D;itemsPerPageLabel="Items per page:";nextPageLabel="Next page";previousPageLabel="Previous page";firstPageLabel="First page";lastPageLabel="Last page";getRangeLabel=(t,a,e)=>{if(e==0||a==0)return`0 of ${e}`;e=Math.max(e,0);let s=t*a,S=s<e?Math.min(s+a,e):s+a;return`${s+1} \u2013 ${S} of ${e}`};static \u0275fac=function(a){return new(a||i)};static \u0275prov=O({token:i,factory:i.\u0275fac,providedIn:"root"})}return i})();function st(i){return i||new C}var lt={provide:C,deps:[[new B,new F,C]],useFactory:st},pt=50;var dt=new L("MAT_PAGINATOR_DEFAULT_OPTIONS"),gt=(()=>{class i{_intl=_(C);_changeDetectorRef=_(H);_formFieldAppearance;_pageSizeLabelId=_(Y).getId("mat-paginator-page-size-label-");_intlChanges;_isInitialized=!1;_initializedStream=new M(1);color;get pageIndex(){return this._pageIndex}set pageIndex(t){this._pageIndex=Math.max(t||0,0),this._changeDetectorRef.markForCheck()}_pageIndex=0;get length(){return this._length}set length(t){this._length=t||0,this._changeDetectorRef.markForCheck()}_length=0;get pageSize(){return this._pageSize}set pageSize(t){this._pageSize=Math.max(t||0,0),this._updateDisplayedPageSizeOptions()}_pageSize;get pageSizeOptions(){return this._pageSizeOptions}set pageSizeOptions(t){this._pageSizeOptions=(t||[]).map(a=>P(a,0)),this._updateDisplayedPageSizeOptions()}_pageSizeOptions=[];hidePageSize=!1;showFirstLastButtons=!1;selectConfig={};disabled=!1;page=new A;_displayedPageSizeOptions;initialized=this._initializedStream;constructor(){let t=this._intl,a=_(dt,{optional:!0});if(this._intlChanges=t.changes.subscribe(()=>this._changeDetectorRef.markForCheck()),a){let{pageSize:e,pageSizeOptions:s,hidePageSize:S,showFirstLastButtons:T}=a;e!=null&&(this._pageSize=e),s!=null&&(this._pageSizeOptions=s),S!=null&&(this.hidePageSize=S),T!=null&&(this.showFirstLastButtons=T)}this._formFieldAppearance=a?.formFieldAppearance||"outline"}ngOnInit(){this._isInitialized=!0,this._updateDisplayedPageSizeOptions(),this._initializedStream.next()}ngOnDestroy(){this._initializedStream.complete(),this._intlChanges.unsubscribe()}nextPage(){this.hasNextPage()&&this._navigate(this.pageIndex+1)}previousPage(){this.hasPreviousPage()&&this._navigate(this.pageIndex-1)}firstPage(){this.hasPreviousPage()&&this._navigate(0)}lastPage(){this.hasNextPage()&&this._navigate(this.getNumberOfPages()-1)}hasPreviousPage(){return this.pageIndex>=1&&this.pageSize!=0}hasNextPage(){let t=this.getNumberOfPages()-1;return this.pageIndex<t&&this.pageSize!=0}getNumberOfPages(){return this.pageSize?Math.ceil(this.length/this.pageSize):0}_changePageSize(t){let a=this.pageIndex*this.pageSize,e=this.pageIndex;this.pageIndex=Math.floor(a/t)||0,this.pageSize=t,this._emitPageEvent(e)}_nextButtonsDisabled(){return this.disabled||!this.hasNextPage()}_previousButtonsDisabled(){return this.disabled||!this.hasPreviousPage()}_updateDisplayedPageSizeOptions(){this._isInitialized&&(this.pageSize||(this._pageSize=this.pageSizeOptions.length!=0?this.pageSizeOptions[0]:pt),this._displayedPageSizeOptions=this.pageSizeOptions.slice(),this._displayedPageSizeOptions.indexOf(this.pageSize)===-1&&this._displayedPageSizeOptions.push(this.pageSize),this._displayedPageSizeOptions.sort((t,a)=>t-a),this._changeDetectorRef.markForCheck())}_emitPageEvent(t){this.page.emit({previousPageIndex:t,pageIndex:this.pageIndex,pageSize:this.pageSize,length:this.length})}_navigate(t){let a=this.pageIndex;t!==a&&(this.pageIndex=t,this._emitPageEvent(a))}_buttonClicked(t,a){a||this._navigate(t)}static \u0275fac=function(a){return new(a||i)};static \u0275cmp=E({type:i,selectors:[["mat-paginator"]],hostAttrs:["role","group",1,"mat-mdc-paginator"],inputs:{color:"color",pageIndex:[2,"pageIndex","pageIndex",P],length:[2,"length","length",P],pageSize:[2,"pageSize","pageSize",P],pageSizeOptions:"pageSizeOptions",hidePageSize:[2,"hidePageSize","hidePageSize",y],showFirstLastButtons:[2,"showFirstLastButtons","showFirstLastButtons",y],selectConfig:"selectConfig",disabled:[2,"disabled","disabled",y]},outputs:{page:"page"},exportAs:["matPaginator"],decls:14,vars:14,consts:[["selectRef",""],[1,"mat-mdc-paginator-outer-container"],[1,"mat-mdc-paginator-container"],[1,"mat-mdc-paginator-page-size"],[1,"mat-mdc-paginator-range-actions"],["aria-live","polite",1,"mat-mdc-paginator-range-label"],["matIconButton","","type","button","matTooltipPosition","above","disabledInteractive","",1,"mat-mdc-paginator-navigation-first",3,"matTooltip","matTooltipDisabled","disabled","tabindex"],["matIconButton","","type","button","matTooltipPosition","above","disabledInteractive","",1,"mat-mdc-paginator-navigation-previous",3,"click","matTooltip","matTooltipDisabled","disabled","tabindex"],["viewBox","0 0 24 24","focusable","false","aria-hidden","true",1,"mat-mdc-paginator-icon"],["d","M15.41 7.41L14 6l-6 6 6 6 1.41-1.41L10.83 12z"],["matIconButton","","type","button","matTooltipPosition","above","disabledInteractive","",1,"mat-mdc-paginator-navigation-next",3,"click","matTooltip","matTooltipDisabled","disabled","tabindex"],["d","M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"],["matIconButton","","type","button","matTooltipPosition","above","disabledInteractive","",1,"mat-mdc-paginator-navigation-last",3,"matTooltip","matTooltipDisabled","disabled","tabindex"],[1,"mat-mdc-paginator-page-size-label"],[1,"mat-mdc-paginator-page-size-select",3,"appearance","color"],[1,"mat-mdc-paginator-page-size-value"],["hideSingleSelectionIndicator","",3,"selectionChange","value","disabled","aria-labelledby","panelClass","disableOptionCentering"],[3,"value"],[1,"mat-mdc-paginator-touch-target",3,"click"],["matIconButton","","type","button","matTooltipPosition","above","disabledInteractive","",1,"mat-mdc-paginator-navigation-first",3,"click","matTooltip","matTooltipDisabled","disabled","tabindex"],["d","M18.41 16.59L13.82 12l4.59-4.59L17 6l-6 6 6 6zM6 6h2v12H6z"],["matIconButton","","type","button","matTooltipPosition","above","disabledInteractive","",1,"mat-mdc-paginator-navigation-last",3,"click","matTooltip","matTooltipDisabled","disabled","tabindex"],["d","M5.59 7.41L10.18 12l-4.59 4.59L7 18l6-6-6-6zM16 6h2v12h-2z"]],template:function(a,e){a&1&&(n(0,"div",1)(1,"div",2),m(2,nt,5,4,"div",3),n(3,"div",4)(4,"div",5),x(5),r(),m(6,ot,3,5,"button",6),n(7,"button",7),d("click",function(){return e._buttonClicked(e.pageIndex-1,e._previousButtonsDisabled())}),f(),n(8,"svg",8),v(9,"path",9),r()(),k(),n(10,"button",10),d("click",function(){return e._buttonClicked(e.pageIndex+1,e._nextButtonsDisabled())}),f(),n(11,"svg",8),v(12,"path",11),r()(),m(13,rt,3,5,"button",12),r()()()),a&2&&(o(2),u(e.hidePageSize?-1:2),o(3),I(" ",e._intl.getRangeLabel(e.pageIndex,e.pageSize,e.length)," "),o(),u(e.showFirstLastButtons?6:-1),o(),l("matTooltip",e._intl.previousPageLabel)("matTooltipDisabled",e._previousButtonsDisabled())("disabled",e._previousButtonsDisabled())("tabindex",e._previousButtonsDisabled()?-1:null),c("aria-label",e._intl.previousPageLabel),o(3),l("matTooltip",e._intl.nextPageLabel)("matTooltipDisabled",e._nextButtonsDisabled())("disabled",e._nextButtonsDisabled())("tabindex",e._nextButtonsDisabled()?-1:null),c("aria-label",e._intl.nextPageLabel),o(3),u(e.showFirstLastButtons?13:-1))},dependencies:[J,Q,K,X,Z],styles:[`.mat-mdc-paginator{display:block;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;color:var(--mat-paginator-container-text-color, var(--mat-sys-on-surface));background-color:var(--mat-paginator-container-background-color, var(--mat-sys-surface));font-family:var(--mat-paginator-container-text-font, var(--mat-sys-body-small-font));line-height:var(--mat-paginator-container-text-line-height, var(--mat-sys-body-small-line-height));font-size:var(--mat-paginator-container-text-size, var(--mat-sys-body-small-size));font-weight:var(--mat-paginator-container-text-weight, var(--mat-sys-body-small-weight));letter-spacing:var(--mat-paginator-container-text-tracking, var(--mat-sys-body-small-tracking));--mat-form-field-container-height: var(--mat-paginator-form-field-container-height, 40px);--mat-form-field-container-vertical-padding: var(--mat-paginator-form-field-container-vertical-padding, 8px)}.mat-mdc-paginator .mat-mdc-select-value{font-size:var(--mat-paginator-select-trigger-text-size, var(--mat-sys-body-small-size))}.mat-mdc-paginator .mat-mdc-form-field-subscript-wrapper{display:none}.mat-mdc-paginator .mat-mdc-select{line-height:1.5}.mat-mdc-paginator-outer-container{display:flex}.mat-mdc-paginator-container{display:flex;align-items:center;justify-content:flex-end;padding:0 8px;flex-wrap:wrap;width:100%;min-height:var(--mat-paginator-container-size, 56px)}.mat-mdc-paginator-page-size{display:flex;align-items:baseline;margin-right:8px}[dir=rtl] .mat-mdc-paginator-page-size{margin-right:0;margin-left:8px}.mat-mdc-paginator-page-size-label{margin:0 4px}.mat-mdc-paginator-page-size-select{margin:0 4px;width:var(--mat-paginator-page-size-select-width, 84px)}.mat-mdc-paginator-range-label{margin:0 32px 0 24px}.mat-mdc-paginator-range-actions{display:flex;align-items:center}.mat-mdc-paginator-icon{display:inline-block;width:28px;fill:var(--mat-paginator-enabled-icon-color, var(--mat-sys-on-surface-variant))}.mat-mdc-icon-button[aria-disabled] .mat-mdc-paginator-icon{fill:var(--mat-paginator-disabled-icon-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}[dir=rtl] .mat-mdc-paginator-icon{transform:rotate(180deg)}@media(forced-colors: active){.mat-mdc-icon-button[aria-disabled] .mat-mdc-paginator-icon,.mat-mdc-paginator-icon{fill:currentColor}.mat-mdc-paginator-range-actions .mat-mdc-icon-button{outline:solid 1px}.mat-mdc-paginator-range-actions .mat-mdc-icon-button[aria-disabled]{color:GrayText}}.mat-mdc-paginator-touch-target{display:var(--mat-paginator-touch-target-display, block);position:absolute;top:50%;left:50%;width:var(--mat-paginator-page-size-select-width, 84px);height:var(--mat-paginator-page-size-select-touch-target-height, 48px);background-color:rgba(0,0,0,0);transform:translate(-50%, -50%);cursor:pointer}
2
+ `],encapsulation:2,changeDetection:0})}return i})(),Ot=(()=>{class i{static \u0275fac=function(a){return new(a||i)};static \u0275mod=R({type:i});static \u0275inj=w({providers:[lt],imports:[tt,W,q,gt]})}return i})();export{gt as a,Ot as b};
@@ -1 +1 @@
1
- import{f as o,ja as l}from"./chunk-OJMQBH6T.js";var c=(()=>{class r{_listeners=[];notify(t,s){for(let n of this._listeners)n(t,s)}listen(t){return this._listeners.push(t),()=>{this._listeners=this._listeners.filter(s=>t!==s)}}ngOnDestroy(){this._listeners=[]}static \u0275fac=function(s){return new(s||r)};static \u0275prov=l({token:r,factory:r.\u0275fac,providedIn:"root"})}return r})();var h=class{_multiple;_emitChanges;compareWith;_selection=new Set;_deselectedToEmit=[];_selectedToEmit=[];_selected;get selected(){return this._selected||(this._selected=Array.from(this._selection.values())),this._selected}changed=new o;constructor(e=!1,t,s=!0,n){this._multiple=e,this._emitChanges=s,this.compareWith=n,t&&t.length&&(e?t.forEach(i=>this._markSelected(i)):this._markSelected(t[0]),this._selectedToEmit.length=0)}select(...e){this._verifyValueAssignment(e),e.forEach(s=>this._markSelected(s));let t=this._hasQueuedChanges();return this._emitChangeEvent(),t}deselect(...e){this._verifyValueAssignment(e),e.forEach(s=>this._unmarkSelected(s));let t=this._hasQueuedChanges();return this._emitChangeEvent(),t}setSelection(...e){this._verifyValueAssignment(e);let t=this.selected,s=new Set(e.map(i=>this._getConcreteValue(i)));e.forEach(i=>this._markSelected(i)),t.filter(i=>!s.has(this._getConcreteValue(i,s))).forEach(i=>this._unmarkSelected(i));let n=this._hasQueuedChanges();return this._emitChangeEvent(),n}toggle(e){return this.isSelected(e)?this.deselect(e):this.select(e)}clear(e=!0){this._unmarkAll();let t=this._hasQueuedChanges();return e&&this._emitChangeEvent(),t}isSelected(e){return this._selection.has(this._getConcreteValue(e))}isEmpty(){return this._selection.size===0}hasValue(){return!this.isEmpty()}sort(e){this._multiple&&this.selected&&this._selected.sort(e)}isMultipleSelection(){return this._multiple}_emitChangeEvent(){this._selected=null,(this._selectedToEmit.length||this._deselectedToEmit.length)&&(this.changed.next({source:this,added:this._selectedToEmit,removed:this._deselectedToEmit}),this._deselectedToEmit=[],this._selectedToEmit=[])}_markSelected(e){e=this._getConcreteValue(e),this.isSelected(e)||(this._multiple||this._unmarkAll(),this.isSelected(e)||this._selection.add(e),this._emitChanges&&this._selectedToEmit.push(e))}_unmarkSelected(e){e=this._getConcreteValue(e),this.isSelected(e)&&(this._selection.delete(e),this._emitChanges&&this._deselectedToEmit.push(e))}_unmarkAll(){this.isEmpty()||this._selection.forEach(e=>this._unmarkSelected(e))}_verifyValueAssignment(e){e.length>1&&this._multiple}_hasQueuedChanges(){return!!(this._deselectedToEmit.length||this._selectedToEmit.length)}_getConcreteValue(e,t){if(this.compareWith){t=t??this._selection;for(let s of t)if(this.compareWith(e,s))return s;return e}else return e}};export{c as a,h as b};
1
+ import{f as o,ma as l}from"./chunk-ZYJ6LAJ3.js";var c=(()=>{class r{_listeners=[];notify(t,i){for(let n of this._listeners)n(t,i)}listen(t){return this._listeners.push(t),()=>{this._listeners=this._listeners.filter(i=>t!==i)}}ngOnDestroy(){this._listeners=[]}static \u0275fac=function(i){return new(i||r)};static \u0275prov=l({token:r,factory:r.\u0275fac,providedIn:"root"})}return r})();var h=class{_multiple;_emitChanges;compareWith;_selection=new Set;_deselectedToEmit=[];_selectedToEmit=[];_selected;get selected(){return this._selected||(this._selected=Array.from(this._selection.values())),this._selected}changed=new o;constructor(e=!1,t,i=!0,n){this._multiple=e,this._emitChanges=i,this.compareWith=n,t&&t.length&&(e?t.forEach(s=>this._markSelected(s)):this._markSelected(t[0]),this._selectedToEmit.length=0)}select(...e){this._verifyValueAssignment(e),e.forEach(i=>this._markSelected(i));let t=this._hasQueuedChanges();return this._emitChangeEvent(),t}deselect(...e){this._verifyValueAssignment(e),e.forEach(i=>this._unmarkSelected(i));let t=this._hasQueuedChanges();return this._emitChangeEvent(),t}setSelection(...e){this._verifyValueAssignment(e);let t=this.selected,i=new Set(e.map(s=>this._getConcreteValue(s)));e.forEach(s=>this._markSelected(s)),t.filter(s=>!i.has(this._getConcreteValue(s,i))).forEach(s=>this._unmarkSelected(s));let n=this._hasQueuedChanges();return this._emitChangeEvent(),n}toggle(e){return this.isSelected(e)?this.deselect(e):this.select(e)}clear(e=!0){this._unmarkAll();let t=this._hasQueuedChanges();return e&&this._emitChangeEvent(),t}isSelected(e){return this._selection.has(this._getConcreteValue(e))}isEmpty(){return this._selection.size===0}hasValue(){return!this.isEmpty()}sort(e){this._multiple&&this.selected&&this._selected.sort(e)}isMultipleSelection(){return this._multiple}_emitChangeEvent(){this._selected=null,(this._selectedToEmit.length||this._deselectedToEmit.length)&&(this.changed.next({source:this,added:this._selectedToEmit,removed:this._deselectedToEmit}),this._deselectedToEmit=[],this._selectedToEmit=[])}_markSelected(e){e=this._getConcreteValue(e),this.isSelected(e)||(this._multiple||this._unmarkAll(),this.isSelected(e)||this._selection.add(e),this._emitChanges&&this._selectedToEmit.push(e))}_unmarkSelected(e){e=this._getConcreteValue(e),this.isSelected(e)&&(this._selection.delete(e),this._emitChanges&&this._deselectedToEmit.push(e))}_unmarkAll(){this.isEmpty()||this._selection.forEach(e=>this._unmarkSelected(e))}_verifyValueAssignment(e){e.length>1&&this._multiple}_hasQueuedChanges(){return!!(this._deselectedToEmit.length||this._selectedToEmit.length)}_getConcreteValue(e,t){if(this.compareWith){t=t??this._selection;for(let i of t)if(this.compareWith(e,i))return i;return e}else return e}};export{c as a,h as b};
@@ -0,0 +1,5 @@
1
+ import{a as ie,b as re,c as ae,d as le,e as pe,f as se,g as me}from"./chunk-R2XT5M5F.js";import{b as oe}from"./chunk-2F4DTZCZ.js";import{a as Y}from"./chunk-XF2QZL6C.js";import"./chunk-6Q6L5NUD.js";import"./chunk-C7N6EI73.js";import"./chunk-GPHNPV7O.js";import{a as Z,b as ee}from"./chunk-A7PUMY67.js";import"./chunk-N5AE5WMQ.js";import{i as X}from"./chunk-Q4AWQ7IC.js";import"./chunk-QXRG5XYP.js";import"./chunk-RXLMJGUY.js";import"./chunk-AGBJEXIM.js";import{e as Q}from"./chunk-OXWPYJNB.js";import"./chunk-XBIHN6D3.js";import"./chunk-JBEKD57G.js";import{m as te,n as ne}from"./chunk-EDEZ3JLR.js";import{A as J,c as z,h as K,m as q}from"./chunk-L3W6SG2T.js";import"./chunk-YTHY4IFS.js";import"./chunk-ZETUYNFJ.js";import"./chunk-STYL7ETF.js";import"./chunk-XLIPGDSC.js";import{E as j,G as $,I as G,g as H,m as W}from"./chunk-LNJUGHOX.js";import{$b as x,$c as T,Gb as h,Hb as L,Hc as D,Mb as v,Mc as p,Nc as R,Oc as O,Qc as P,Rc as F,Sc as V,Zc as A,bc as w,dc as g,ec as S,fc as C,gc as m,hc as i,ic as o,jc as c,kb as N,ma as M,na as U,nb as s,qc as _,ra as y,sb as B,td as E,vc as b,xa as u,xc as d,ya as f}from"./chunk-ZYJ6LAJ3.js";import"./chunk-WFMAM73Y.js";import"./chunk-66YHNWRR.js";var he=e=>[e];function ge(e,t){if(e&1&&(i(0,"a",8),p(1),o()),e&2){let a=t.$implicit;m("routerLink",T(2,he,a.url)),s(),O(" ",a.title)}}var ce=(()=>{let t=class t{constructor(){this.tabs=[{Title:"Download By Url",Url:"/menu/products/download/by-url",Description:"Download products information by product URL as a parameter"}],this.moreMenu=[{title:"Sold In Channel",url:"/menu/products/status/sold-in-channel"},{title:"In POS",url:"/menu/products/status/in-pos"},{title:"Not In Channel",url:"/menu/products/status/not-in-channel"},{title:"Duplicate SKU",url:"/menu/products/status/duplicate-sku"}]}};t.\u0275fac=function(r){return new(r||t)},t.\u0275cmp=h({type:t,selectors:[["app-download"]],standalone:!1,decls:13,vars:1,consts:[[1,"navbar","page-nav","navbar-default","py-0","navbar-expand-lg"],[1,"container-fluid","d-flex","align-items-center","justify-content-between"],[3,"Tabs"],[1,"dropdown","me-6"],["role","button","data-bs-toggle","dropdown","aria-expanded","false",1,"text-dark"],[1,"fa-solid","fa-bars","fa-lg"],[1,"dropdown-menu","dropdown-menu-end","row"],[1,"d-block"],[1,"dropdown-item",3,"routerLink"]],template:function(r,l){r&1&&(i(0,"nav",0)(1,"div",1)(2,"div"),c(3,"nav-tab",2),o()(),i(4,"div")(5,"div",3)(6,"a",4),c(7,"i",5),o(),i(8,"div",6)(9,"div",7),S(10,ge,2,4,"a",8,g),o()()()()(),c(12,"router-outlet")),r&2&&(s(3),m("Tabs",l.tabs),s(7),C(l.moreMenu))},dependencies:[Z,j,$],encapsulation:2});let e=t;return e})();var k=(()=>{let t=class t{constructor(){this.httpService=y(Q)}download(n){return this.httpService.post("/api/Product/downloadurl",n)}};t.\u0275fac=function(r){return new(r||t)},t.\u0275prov=M({token:t,factory:t.\u0275fac,providedIn:"root"});let e=t;return e})();var Se=e=>({"background-color":e});function Ce(e,t){if(e&1&&(i(0,"th"),p(1),o()),e&2){let a=t.$implicit;s(),R(a.column)}}function be(e,t){if(e&1&&(i(0,"td"),c(1,"span",4),o()),e&2){let a=t.$implicit,n=d().$implicit;s(),m("innerHTML",n[a.prop],N)}}function ye(e,t){if(e&1&&(i(0,"tr",3),S(1,be,2,1,"td",null,g),o()),e&2){let a=t.$implicit,n=d();m("ngStyle",T(1,Se,a.Status>200?"#F4D6D5":"#DEE9C9")),s(),C(n.configs())}}var de=(()=>{let t=class t{constructor(){this.configs=E([]),this.data=E([]),this.status=E(void 0),this.eventClose=new B}ngOnInit(){}onClose(){this.eventClose.emit()}};t.\u0275fac=function(r){return new(r||t)},t.\u0275cmp=h({type:t,selectors:[["app-response-api-list"]],inputs:{configs:[1,"configs"],data:[1,"data"],status:[1,"status"]},outputs:{eventClose:"onClose"},standalone:!1,decls:9,vars:0,consts:[[1,"table-responsive"],[1,"table"],[1,"thead-light"],[3,"ngStyle"],[3,"innerHTML"]],template:function(r,l){r&1&&(i(0,"div",0)(1,"table",1)(2,"thead",2)(3,"tr"),S(4,Ce,2,1,"th",null,g),o()(),i(6,"tbody"),S(7,ye,3,3,"tr",3,g),o()()()),r&2&&(s(4),C(l.configs()),s(3),C(l.data()))},dependencies:[H],encapsulation:2});let e=t;return e})();function xe(e,t){if(e&1){let a=_();i(0,"button",17),b("click",function(){u(a);let r=d(),l=D(11);return f(r.onNewStepperState(l))}),c(1,"i",18),p(2," New "),o()}}function we(e,t){if(e&1){let a=_();i(0,"button",17),b("click",function(){u(a),d();let r=D(11);return f(r.previous())}),p(1," Back "),o()}}function De(e,t){if(e&1){let a=_();i(0,"button",19),b("click",function(){u(a);let r=d(),l=D(11);return f(r.onStepperNext(l))}),p(1," Next "),o()}}function Te(e,t){if(e&1){let a=_();i(0,"button",20),b("click",function(){u(a);let r=d(),l=D(11);return f(r.onSubmit(l))}),p(1,"Download"),o()}if(e&2){let a=d();m("disabled",!a.urls)}}function Ee(e,t){e&1&&(c(0,"i",21),i(1,"span"),p(2,"Instruction"),o())}function Ie(e,t){e&1&&(i(0,"div",22)(1,"div",23)(2,"div",24)(3,"h4",25),p(4,"Note"),o()(),i(5,"div",26)(6,"ol",27)(7,"li"),p(8," Use this form to Download Products from Tokopedia using product URL "),o(),i(9,"li"),p(10," Copy Product URL from "),i(11,"a",28),p(12,"https://seller.tokopedia.com/ "),o(),p(13," and paste in this form "),o(),i(14,"li"),p(15," Use New Line when you want to input several product URLs "),o()()()()())}function ke(e,t){e&1&&(c(0,"i",29),i(1,"span"),p(2,"Download"),o())}function Me(e,t){if(e&1){let a=_();i(0,"div",22)(1,"textarea",30),V("ngModelChange",function(r){u(a);let l=d();return F(l.urls,r)||(l.urls=r),f(r)}),o()()}if(e&2){let a=d();s(),m("placeholder",a.urlPlaceholder),P("ngModel",a.urls)}}function Ue(e,t){e&1&&(c(0,"i",31),i(1,"span"),p(2,"Finish"),o())}function Ne(e,t){if(e&1&&(i(0,"div",22),c(1,"app-response-api-list",32),o()),e&2){let a=d();s(),m("data",a.downloadResponses)("configs",a.configs)}}function Be(e,t){e&1&&(i(0,"h6"),p(1,"1"),o())}function Le(e,t){e&1&&(i(0,"h6"),p(1,"2"),o())}function Re(e,t){e&1&&(i(0,"h6"),p(1,"3"),o())}var ue=(()=>{let t=class t{constructor(){this.downloadService=y(k),this.authService=y(X),this.configs=[{column:"Url",prop:"URL"},{column:"POS",prop:"Name"},{column:"Exception",prop:"Message"}],this.downloadResponses=[],this.stepperState="DOWNLOAD",this.urlPlaceholder=`https://tokopedia.com/tokoriyanadi/kaos-polos-biru
2
+ https://tokopedia.com/tokoriyanadi/Celana-Chinos-Coklat`,this.currentDomain=this.authService.getDomain()}onStepperChange(n){this.stepperState=n.selectedStep.state}onSubmit(n){let r=this.urls.split(/\r?\n/);this.downloadService.download(r).subscribe(l=>{this.downloadResponses=l,this.mappingLinkToProduct(),this.onStepperNext(n)})}mappingLinkToProduct(){this.downloadResponses=this.downloadResponses.map(n=>(n.Name=n?.Name?`<a href="${this.currentDomain}/menu/Products/Catalog/Products/Info?ID=${n.ID}" target="_blank">
3
+ ${n?.Name}
4
+ </a>`:"-",n))}onNewStepperState(n){this.downloadResponses=[],this.urls=null,this.stepperState="DOWNLOAD",n.reset(),this.onStepperNext(n)}onStepperNext(n){n.selected.completed=!0,n.next()}};t.\u0275fac=function(r){return new(r||t)},t.\u0275cmp=h({type:t,selectors:[["app-by-url"]],standalone:!1,features:[A([{provide:ie,useValue:{displayDefaultIndicatorType:!1}}])],decls:24,vars:11,consts:[["stepper",""],["headerTitle","Tokopedia - Product Download By Url",3,"hideSearchBox","hideSearchDropdown"],[1,"btn","btn-outline-secondary","btn-fill","btn-lg"],["type","button",1,"btn","btn-outline-secondary","btn-fill","btn-lg","ms-3"],["role","button",1,"btn","btn-success","btn-fill","btn-lg","text-white","ms-3",3,"disabled"],[1,"container-fluid","mt-3"],[1,"row"],[1,"col-12"],["linear","",1,"stepper-downloadByUrl",3,"selectionChange","selectedIndex"],["state","GUIDE",3,"editable","completed"],["matStepLabel",""],["matStepContent",""],["state","DOWNLOAD",3,"editable","completed"],["state","FINISH"],["matStepperIcon","GUIDE"],["matStepperIcon","DOWNLOAD"],["matStepperIcon","FINISH"],[1,"btn","btn-outline-secondary","btn-fill","btn-lg",3,"click"],["aria-hidden","true",1,"fa","fa-file-alt","me-2"],["type","button",1,"btn","btn-outline-secondary","btn-fill","btn-lg","ms-3",3,"click"],["role","button",1,"btn","btn-success","btn-fill","btn-lg","text-white","ms-3",3,"click","disabled"],[1,"fa-solid","fa-info","me-3"],[1,"mt-8"],[1,"card","border","w-50"],[1,"card-header","py-6"],[1,"text-primary"],[1,"card-body",2,"padding-left","0px"],[1,"mt-6"],["href","https://seller.tokopedia.com","target","_blank"],[1,"fa-solid","fa-download","me-3"],["name","url","cols","30","rows","25",1,"form-control",3,"ngModelChange","placeholder","ngModel"],[1,"fa-sharp","fa-solid","fa-flag","me-3"],["status","error",3,"data","configs"]],template:function(r,l){if(r&1){let fe=_();i(0,"mainpanel",1)(1,"actions"),x(2,xe,3,0,"button",2),x(3,we,2,0,"button",2),x(4,De,2,0,"button",3),x(5,Te,2,1,"button",4),o(),i(6,"content")(7,"div",5)(8,"div",6)(9,"div",7)(10,"mat-stepper",8,0),b("selectionChange",function(_e){return u(fe),f(l.onStepperChange(_e))}),i(12,"mat-step",9),v(13,Ee,3,0,"ng-template",10)(14,Ie,16,0,"ng-template",11),o(),i(15,"mat-step",12),v(16,ke,3,0,"ng-template",10)(17,Me,2,2,"ng-template",11),o(),i(18,"mat-step",13),v(19,Ue,3,0,"ng-template",10)(20,Ne,2,2,"ng-template",11),o(),v(21,Be,2,0,"ng-template",14)(22,Le,2,0,"ng-template",15)(23,Re,2,0,"ng-template",16),o()()()()()()}r&2&&(m("hideSearchBox",!0)("hideSearchDropdown",!0),s(2),w(l.stepperState=="FINISH"?2:-1),s(),w(l.stepperState=="DOWNLOAD"?3:-1),s(),w(l.stepperState=="GUIDE"?4:-1),s(),w(l.stepperState=="DOWNLOAD"?5:-1),s(5),m("selectedIndex",1),s(2),m("editable",l.stepperState!="FINISH")("completed",!0),s(3),m("editable",l.stepperState!="FINISH")("completed",!1))},dependencies:[z,K,q,te,pe,re,se,ae,le,de],styles:[`@import"https://fonts.googleapis.com/icon?family=Material+Icons";.card-header{background-color:#00000008}mat-stepper.stepper-downloadByUrl>div.mat-horizontal-stepper-wrapper>div.mat-horizontal-stepper-header-container{position:relative;width:60%;left:18%}
5
+ `],encapsulation:2});let e=t;return e})();var Oe=[{path:"",component:ce,children:[{path:"by-url",component:ue,data:{title:"Download Product By Url"},canActivate:[Y]},{pathMatch:"full",path:"",redirectTo:"by-url"}]}],St=(()=>{let t=class t{};t.\u0275fac=function(r){return new(r||t)},t.\u0275mod=L({type:t}),t.\u0275inj=U({providers:[k],imports:[W,J,ee,ne,me,oe,G.forChild(Oe)]});let e=t;return e})();export{St as DownloadModule};
@@ -0,0 +1 @@
1
+ import{a as E}from"./chunk-O2YF5VGD.js";import{b as A,c as D,j as P,k as R}from"./chunk-EDEZ3JLR.js";import{h as I,m as V}from"./chunk-L3W6SG2T.js";import{$b as M,Gb as u,Mc as C,Nc as O,Qc as T,Rc as b,Sc as U,bc as y,cc as w,ec as S,fc as v,gc as h,hc as o,ic as s,jc as x,lb as f,nb as r,qc as p,ra as d,vc as g,xa as c,xc as k,ya as m}from"./chunk-ZYJ6LAJ3.js";function F(l,n){if(l&1){let a=p();o(0,"span")(1,"mat-checkbox",4),g("change",function(e){c(a);let t=k();return m(t.onSelectAll(e==null?null:e.checked))}),o(2,"h5",5),C(3,"Select All"),s()()()}}function L(l,n){if(l&1){let a=p();o(0,"li")(1,"mat-checkbox",6),U("ngModelChange",function(e){let t=c(a).$implicit;return b(t.selected,e)||(t.selected=e),m(e)}),o(2,"div",7),x(3,"img",8),o(4,"h5",9),C(5),s()()()()}if(l&2){let a=n.$implicit;r(),T("ngModel",a.selected),r(2),h("src",a.Img,f),r(2),O(a.Name)}}var J=(()=>{let n=class n{constructor(){this.data=d(D),this.dialogRef=d(A),this.selectedItems=this.data.selectedItems,this.channels=this.data.channels}ngOnInit(){this.initModalConfig()}initModalConfig(){let i=this.data.title?this.data.title:"Updating Inventory";this.modalConfig=new P,this.modalConfig.title=i}onSelectAll(i){this.channels=this.channels.map(e=>(e.selected=i,e))}onOk(){this.dialogRef.close(this.channels)}onClose(){this.dialogRef.close()}get getSelectedChannel(){return this.channels.filter(i=>i.selected)}};n.\u0275fac=function(e){return new(e||n)},n.\u0275cmp=u({type:n,selectors:[["app-modal-update-channels"]],standalone:!1,decls:7,vars:3,consts:[[3,"onOk","onClose","onCancel","dynamicValidated","config"],["content",""],[2,"overflow-y","auto","max-height","28rem"],[1,"no-bullet",2,"margin-bottom","0px !important","overflow","hidden"],["color","primary",1,"me-6",3,"change"],[1,"fw-light"],["color","primary",3,"ngModelChange","ngModel"],[1,"d-flex","align-items-center"],[1,"channelLogo-md",3,"src"],[1,"fw-light","ms-2","my-auto"]],template:function(e,t){e&1&&(o(0,"modal-material",0),g("onOk",function(){return t.onOk()})("onClose",function(){return t.onClose()})("onCancel",function(){return t.onClose()}),o(1,"div",1)(2,"div",2),M(3,F,4,0,"span"),o(4,"ul",3),S(5,L,6,3,"li",null,w),s()()()()),e&2&&(h("dynamicValidated",(t.getSelectedChannel==null?null:t.getSelectedChannel.length)>0)("config",t.modalConfig),r(3),y((t.channels==null?null:t.channels.length)>1?3:-1),r(2),v(t.channels))},dependencies:[I,V,E,R],styles:[".no-bullet[_ngcontent-%COMP%]{list-style-type:none}mat-form-field[_ngcontent-%COMP%]{width:100%;height:100%}.mat-dialog-title[_ngcontent-%COMP%]{margin-bottom:0%;margin-left:24px}.vertical-radio[_ngcontent-%COMP%]{display:flex;flex-direction:column;margin:15px 0}"]});let l=n;return l})();export{J as a};
@@ -0,0 +1,2 @@
1
+ import{N as k,b as _,h as N,i as f,o as P,r as L,s as U,v as S}from"./chunk-XLIPGDSC.js";import{Ba as O,Gb as F,Ib as C,Jc as M,Qa as w,pa as y,ra as p,tb as A}from"./chunk-ZYJ6LAJ3.js";import{a}from"./chunk-66YHNWRR.js";var l=(function(s){return s[s.FADING_IN=0]="FADING_IN",s[s.VISIBLE=1]="VISIBLE",s[s.FADING_OUT=2]="FADING_OUT",s[s.HIDDEN=3]="HIDDEN",s})(l||{}),v=class{_renderer;element;config;_animationForciblyDisabledThroughCss;state=l.HIDDEN;constructor(t,e,i,n=!1){this._renderer=t,this.element=e,this.config=i,this._animationForciblyDisabledThroughCss=n}fadeOut(){this._renderer.fadeOutRipple(this)}},H=f({passive:!0,capture:!0}),E=class{_events=new Map;addHandler(t,e,i,n){let r=this._events.get(e);if(r){let d=r.get(i);d?d.add(n):r.set(i,new Set([n]))}else this._events.set(e,new Map([[i,new Set([n])]])),t.runOutsideAngular(()=>{document.addEventListener(e,this._delegateEventHandler,H)})}removeHandler(t,e,i){let n=this._events.get(t);if(!n)return;let r=n.get(e);r&&(r.delete(i),r.size===0&&n.delete(e),n.size===0&&(this._events.delete(t),document.removeEventListener(t,this._delegateEventHandler,H)))}_delegateEventHandler=t=>{let e=P(t);e&&this._events.get(t.type)?.forEach((i,n)=>{(n===e||n.contains(e))&&i.forEach(r=>r.handleEvent(t))})}},x={enterDuration:225,exitDuration:150},Y=800,G=f({passive:!0,capture:!0}),B=["mousedown","touchstart"],z=["mouseup","mouseleave","touchend","touchcancel"],j=(()=>{class s{static \u0275fac=function(i){return new(i||s)};static \u0275cmp=F({type:s,selectors:[["ng-component"]],hostAttrs:["mat-ripple-style-loader",""],decls:0,vars:0,template:function(i,n){},styles:[`.mat-ripple{overflow:hidden;position:relative}.mat-ripple:not(:empty){transform:translateZ(0)}.mat-ripple.mat-ripple-unbounded{overflow:visible}.mat-ripple-element{position:absolute;border-radius:50%;pointer-events:none;transition:opacity,transform 0ms cubic-bezier(0, 0, 0.2, 1);transform:scale3d(0, 0, 0);background-color:var(--mat-ripple-color, color-mix(in srgb, var(--mat-sys-on-surface) 10%, transparent))}@media(forced-colors: active){.mat-ripple-element{display:none}}.cdk-drag-preview .mat-ripple-element,.cdk-drag-placeholder .mat-ripple-element{display:none}
2
+ `],encapsulation:2,changeDetection:0})}return s})(),b=class s{_target;_ngZone;_platform;_containerElement;_triggerElement;_isPointerDown=!1;_activeRipples=new Map;_mostRecentTransientRipple;_lastTouchStartEvent;_pointerUpEventsRegistered=!1;_containerRect;static _eventManager=new E;constructor(t,e,i,n,r){this._target=t,this._ngZone=e,this._platform=n,n.isBrowser&&(this._containerElement=_(i)),r&&r.get(S).load(j)}fadeInRipple(t,e,i={}){let n=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),r=a(a({},x),i.animation);i.centered&&(t=n.left+n.width/2,e=n.top+n.height/2);let d=i.radius||X(t,e,n),Z=t-n.left,V=e-n.top,h=r.enterDuration,o=document.createElement("div");o.classList.add("mat-ripple-element"),o.style.left=`${Z-d}px`,o.style.top=`${V-d}px`,o.style.height=`${d*2}px`,o.style.width=`${d*2}px`,i.color!=null&&(o.style.backgroundColor=i.color),o.style.transitionDuration=`${h}ms`,this._containerElement.appendChild(o);let D=window.getComputedStyle(o),$=D.transitionProperty,T=D.transitionDuration,m=$==="none"||T==="0s"||T==="0s, 0s"||n.width===0&&n.height===0,c=new v(this,o,i,m);o.style.transform="scale3d(1, 1, 1)",c.state=l.FADING_IN,i.persistent||(this._mostRecentTransientRipple=c);let u=null;return!m&&(h||r.exitDuration)&&this._ngZone.runOutsideAngular(()=>{let R=()=>{u&&(u.fallbackTimer=null),clearTimeout(I),this._finishRippleTransition(c)},g=()=>this._destroyRipple(c),I=setTimeout(g,h+100);o.addEventListener("transitionend",R),o.addEventListener("transitioncancel",g),u={onTransitionEnd:R,onTransitionCancel:g,fallbackTimer:I}}),this._activeRipples.set(c,u),(m||!h)&&this._finishRippleTransition(c),c}fadeOutRipple(t){if(t.state===l.FADING_OUT||t.state===l.HIDDEN)return;let e=t.element,i=a(a({},x),t.config.animation);e.style.transitionDuration=`${i.exitDuration}ms`,e.style.opacity="0",t.state=l.FADING_OUT,(t._animationForciblyDisabledThroughCss||!i.exitDuration)&&this._finishRippleTransition(t)}fadeOutAll(){this._getActiveRipples().forEach(t=>t.fadeOut())}fadeOutAllNonPersistent(){this._getActiveRipples().forEach(t=>{t.config.persistent||t.fadeOut()})}setupTriggerEvents(t){let e=_(t);!this._platform.isBrowser||!e||e===this._triggerElement||(this._removeTriggerEvents(),this._triggerElement=e,B.forEach(i=>{s._eventManager.addHandler(this._ngZone,i,e,this)}))}handleEvent(t){t.type==="mousedown"?this._onMousedown(t):t.type==="touchstart"?this._onTouchStart(t):this._onPointerUp(),this._pointerUpEventsRegistered||(this._ngZone.runOutsideAngular(()=>{z.forEach(e=>{this._triggerElement.addEventListener(e,this,G)})}),this._pointerUpEventsRegistered=!0)}_finishRippleTransition(t){t.state===l.FADING_IN?this._startFadeOutTransition(t):t.state===l.FADING_OUT&&this._destroyRipple(t)}_startFadeOutTransition(t){let e=t===this._mostRecentTransientRipple,{persistent:i}=t.config;t.state=l.VISIBLE,!i&&(!e||!this._isPointerDown)&&t.fadeOut()}_destroyRipple(t){let e=this._activeRipples.get(t)??null;this._activeRipples.delete(t),this._activeRipples.size||(this._containerRect=null),t===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),t.state=l.HIDDEN,e!==null&&(t.element.removeEventListener("transitionend",e.onTransitionEnd),t.element.removeEventListener("transitioncancel",e.onTransitionCancel),e.fallbackTimer!==null&&clearTimeout(e.fallbackTimer)),t.element.remove()}_onMousedown(t){let e=L(t),i=this._lastTouchStartEvent&&Date.now()<this._lastTouchStartEvent+Y;!this._target.rippleDisabled&&!e&&!i&&(this._isPointerDown=!0,this.fadeInRipple(t.clientX,t.clientY,this._target.rippleConfig))}_onTouchStart(t){if(!this._target.rippleDisabled&&!U(t)){this._lastTouchStartEvent=Date.now(),this._isPointerDown=!0;let e=t.changedTouches;if(e)for(let i=0;i<e.length;i++)this.fadeInRipple(e[i].clientX,e[i].clientY,this._target.rippleConfig)}}_onPointerUp(){this._isPointerDown&&(this._isPointerDown=!1,this._getActiveRipples().forEach(t=>{let e=t.state===l.VISIBLE||t.config.terminateOnPointerUp&&t.state===l.FADING_IN;!t.config.persistent&&e&&t.fadeOut()}))}_getActiveRipples(){return Array.from(this._activeRipples.keys())}_removeTriggerEvents(){let t=this._triggerElement;t&&(B.forEach(e=>s._eventManager.removeHandler(e,t,this)),this._pointerUpEventsRegistered&&(z.forEach(e=>t.removeEventListener(e,this,G)),this._pointerUpEventsRegistered=!1))}};function X(s,t,e){let i=Math.max(Math.abs(s-e.left),Math.abs(s-e.right)),n=Math.max(Math.abs(t-e.top),Math.abs(t-e.bottom));return Math.sqrt(i*i+n*n)}var q=new y("mat-ripple-global-options"),lt=(()=>{class s{_elementRef=p(w);_animationsDisabled=k();color;unbounded;centered;radius=0;animation;get disabled(){return this._disabled}set disabled(e){e&&this.fadeOutAllNonPersistent(),this._disabled=e,this._setupTriggerEventsIfEnabled()}_disabled=!1;get trigger(){return this._trigger||this._elementRef.nativeElement}set trigger(e){this._trigger=e,this._setupTriggerEventsIfEnabled()}_trigger;_rippleRenderer;_globalOptions;_isInitialized=!1;constructor(){let e=p(A),i=p(N),n=p(q,{optional:!0}),r=p(O);this._globalOptions=n||{},this._rippleRenderer=new b(this,e,this._elementRef,i,r)}ngOnInit(){this._isInitialized=!0,this._setupTriggerEventsIfEnabled()}ngOnDestroy(){this._rippleRenderer._removeTriggerEvents()}fadeOutAll(){this._rippleRenderer.fadeOutAll()}fadeOutAllNonPersistent(){this._rippleRenderer.fadeOutAllNonPersistent()}get rippleConfig(){return{centered:this.centered,radius:this.radius,color:this.color,animation:a(a(a({},this._globalOptions.animation),this._animationsDisabled?{enterDuration:0,exitDuration:0}:{}),this.animation),terminateOnPointerUp:this._globalOptions.terminateOnPointerUp}}get rippleDisabled(){return this.disabled||!!this._globalOptions.disabled}_setupTriggerEventsIfEnabled(){!this.disabled&&this._isInitialized&&this._rippleRenderer.setupTriggerEvents(this.trigger)}launch(e,i=0,n){return typeof e=="number"?this._rippleRenderer.fadeInRipple(e,i,a(a({},this.rippleConfig),n)):this._rippleRenderer.fadeInRipple(0,0,a(a({},this.rippleConfig),e))}static \u0275fac=function(i){return new(i||s)};static \u0275dir=C({type:s,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(i,n){i&2&&M("mat-ripple-unbounded",n.unbounded)},inputs:{color:[0,"matRippleColor","color"],unbounded:[0,"matRippleUnbounded","unbounded"],centered:[0,"matRippleCentered","centered"],radius:[0,"matRippleRadius","radius"],animation:[0,"matRippleAnimation","animation"],disabled:[0,"matRippleDisabled","disabled"],trigger:[0,"matRippleTrigger","trigger"]},exportAs:["matRipple"]})}return s})();export{x as a,b,q as c,lt as d};
@@ -0,0 +1 @@
1
+ import{a as Fe,b as Ie}from"./chunk-L76NLJD7.js";import{a as Ee,b as Ve,c as Ae}from"./chunk-ILW6ZFFV.js";import{a as Ne}from"./chunk-IODYBTLK.js";import{a as j}from"./chunk-Q7MU7DBD.js";import{a as De}from"./chunk-S7CKRTJV.js";import"./chunk-EYT2YJGK.js";import"./chunk-RNWHARPK.js";import{a as Le}from"./chunk-7JQEF4XX.js";import"./chunk-AFIF6VRM.js";import"./chunk-ZW2TMVZP.js";import"./chunk-ZTHO6JJM.js";import"./chunk-SHUYFOQI.js";import"./chunk-FCEXPGTK.js";import"./chunk-QFSA7CU4.js";import"./chunk-OPXITNRF.js";import"./chunk-HPINZVE4.js";import"./chunk-D2J64VUP.js";import"./chunk-6Q6L5NUD.js";import"./chunk-C7N6EI73.js";import"./chunk-GPHNPV7O.js";import"./chunk-3RK6DDJD.js";import"./chunk-4YCSITNV.js";import"./chunk-WHHW4IZT.js";import"./chunk-N5AE5WMQ.js";import"./chunk-6OJQRHIZ.js";import"./chunk-6KWG6O5L.js";import{a as Pe}from"./chunk-BYTWGXP7.js";import"./chunk-3JRUKSV3.js";import"./chunk-SJ5MC42H.js";import"./chunk-4RLWHMI6.js";import"./chunk-NWB7EVME.js";import{a as Me}from"./chunk-PDCVMSLL.js";import"./chunk-AFDI4TD4.js";import"./chunk-4RG5YR7N.js";import"./chunk-5MV3UFJQ.js";import"./chunk-E6AMKEQR.js";import"./chunk-IGKMJFKP.js";import"./chunk-ITGVXYDV.js";import"./chunk-HK5FXZE4.js";import"./chunk-KJE5GRQ4.js";import"./chunk-4ILDFTIG.js";import"./chunk-A6QXXKPR.js";import"./chunk-Q4AWQ7IC.js";import"./chunk-QXRG5XYP.js";import"./chunk-RXLMJGUY.js";import"./chunk-M4ZE35XK.js";import"./chunk-L7WZ6U4T.js";import"./chunk-LOWGZOML.js";import"./chunk-5PMKN6PM.js";import{a as x}from"./chunk-AGBJEXIM.js";import{b as P,e as z}from"./chunk-OXWPYJNB.js";import"./chunk-XBIHN6D3.js";import{b as d,c as V}from"./chunk-JBEKD57G.js";import{b as Se,d as we,f as ve,g as ye,h as xe,m as ke,n as Te}from"./chunk-EDEZ3JLR.js";import{A as R,b as ge,c as fe,h as O,m as W,o as Ce}from"./chunk-L3W6SG2T.js";import"./chunk-YTHY4IFS.js";import"./chunk-ZETUYNFJ.js";import{v as _e,w as be}from"./chunk-STYL7ETF.js";import"./chunk-XLIPGDSC.js";import{i as ce,j as de,l as ue,m as he}from"./chunk-LNJUGHOX.js";import{$b as k,$c as pe,Bc as te,Cc as ie,Dc as ne,G,Gb as D,Ha as B,Lc as oe,Mc as c,Nc as L,Oc as N,Qc as S,Rc as w,Sc as v,Tc as re,Uc as ae,Vc as F,Z as J,Zc as le,aa as X,bc as T,cc as Z,ec as $,fc as ee,gc as y,hc as o,hd as E,ic as r,id as I,jc as _,jd as se,lb as Y,ma as A,nb as m,od as me,qc as M,ra as C,v as K,vc as b,xa as h,xc as f,ya as g}from"./chunk-ZYJ6LAJ3.js";import"./chunk-WFMAM73Y.js";import{a as Q,b as q}from"./chunk-66YHNWRR.js";var Oe=(()=>{let l=class l{constructor(){this.http=C(z),this.toastr=C(P)}printTokopediaShippingLabel(e,t=!1){let i={OrderNumber:e,Printed:t};return this.http.post(x.TokopediaPrintShippingLabel,i)}printTiktokShippingLabel(e,t){let i={ShopID:t,OrderNumber:e};return this.http.post(x.TiktokPrintShippingLabel,i)}printShopeeShippingLabel(e,t){let i={ShopID:t,OrderNumber:e};return this.http.post(x.ShopeePrintShippingLabel,i).pipe(K(p=>(p&&(p.Number=e),p)))}printLazadaShippingLabel(e,t){let i={ShopID:t,OrderNumber:e};return this.http.post(x.LazadaPrintShippingLabel,i)}handleShippingLabelResponse(e,t){switch(t){case d.Tokopedia:let u=window.open("about:blank","_blank");u.document.write(e.File),u.document.close();break;case d.Tiktok:e.data!=null?window.open(e.data.doc_url,"_blank"):this.toastr.error("Cannot Print the Shipping Label,The invoice Number is not set to Pickup","Cannot Print");break;case d.Shopee:var i=Uint8Array.from(atob(e.File),s=>s.charCodeAt(0)),p=new Blob([i],{type:"octet/stream"});V.openDownloadFile(p,`${e?.Number}.pdf`);break;case d.Lazada:e?.result?.data!=null?window.open(e?.result?.data?.pdf_url,"_blank"):this.toastr.error(e.message,"Cannot Print");break}}};l.\u0275fac=function(t){return new(t||l)},l.\u0275prov=A({token:l,factory:l.\u0275fac,providedIn:"root"});let a=l;return a})();var We=(()=>{let l=class l{constructor(){this.dialogRef=C(Se),this.tandaiSudahDicetak=!1}onCancel(){this.dialogRef.close()}onPrint(){this.dialogRef.close(this.tandaiSudahDicetak?1:0)}};l.\u0275fac=function(t){return new(t||l)},l.\u0275cmp=D({type:l,selectors:[["app-print-tokopedia"]],decls:17,vars:1,consts:[[1,"container-fluid"],[1,"text-center","mb-4","fw-bold","mt-6"],[1,"row"],[1,"col-12"],[1,"fs-5"],[1,"d-flex","align-items-center","text-center","justify-content-center","mb-8"],[1,"me-2",3,"ngModelChange","ngModel"],[1,"fs-5","pt-1"],[1,"d-flex","align-items-center","justify-content-center"],[1,"btn","btn-light-blue","text-primary","btn-lg","fw-bold","mx-3",3,"click"],[1,"btn","btn-light-blue","me-6","text-primary","btn-lg","fw-bold","mx-3",3,"click"]],template:function(t,i){t&1&&(o(0,"div",0)(1,"h2",1),c(2,"Cetak label pesanan"),r(),o(3,"mat-dialog-content")(4,"div",2)(5,"div",3)(6,"p",4),c(7,"Kamu akan mencetak label yang berisi detail pesanan"),r(),o(8,"div",5)(9,"mat-checkbox",6),v("ngModelChange",function(u){return w(i.tandaiSudahDicetak,u)||(i.tandaiSudahDicetak=u),u}),r(),o(10,"span",7),c(11,'Pesanan telah ditandai sebagai "Sudah Dicetak"'),r()()()()(),o(12,"mat-dialog-actions",8)(13,"button",9),b("click",function(){return i.onCancel()}),c(14,"Cancel"),r(),o(15,"button",10),b("click",function(){return i.onPrint()}),c(16,"Cetak Pesanan"),r()()()),t&2&&(m(9),S("ngModel",i.tandaiSudahDicetak))},dependencies:[R,O,W,xe,ye,ve],encapsulation:2});let a=l;return a})();var U=(()=>{let l=class l{constructor(){this.httpService=C(z),this.shippingLabelService=C(Oe),this.toastrService=C(P),this.dialog=C(we)}printShippingLabel(e){switch(e?.MarketType){case d.Shopee:this.shippingLabelService.printShopeeShippingLabel(e.Number,e.ShopID).subscribe(t=>this.shippingLabelService.handleShippingLabelResponse(t,d.Shopee));break;case d.Tiktok:this.shippingLabelService.printTiktokShippingLabel(e.Number,e.ShopID).subscribe(t=>this.shippingLabelService.handleShippingLabelResponse(t,d.Tiktok));break;case d.Tokopedia:this.dialog.open(We).afterClosed().pipe(G(t=>V.IsNotEmpty(t)),X(t=>this.shippingLabelService.printTokopediaShippingLabel(e.Number,t))).subscribe(t=>this.shippingLabelService.handleShippingLabelResponse(t,d.Tokopedia));break;case d.Lazada:this.shippingLabelService.printLazadaShippingLabel(e.Number,e.ShopID).subscribe(t=>this.shippingLabelService.handleShippingLabelResponse(t,d.Lazada));break;case d.Shopify:this.toastrService.error("Shopify not supported","Error Not supported");break}}printMultipleShippingLabel(e){let t=e.map(p=>({OrderNumber:p.Number,ShopID:p.ShopID})),i="";switch(e[0]?.MarketType){case d.Shopee:i=x.ShopeePrintMultipleShippingLabel;break;case d.Tiktok:i=x.TiktokPrintMultipleShippingLabel;break;case d.Lazada:i=x.LazadaPrintMultipleShippingLabel;break}this.httpService.post(i,t).subscribe(p=>{var u=Uint8Array.from(atob(p.File),Re=>Re.charCodeAt(0)),s=new Blob([u],{type:"octet/stream"});V.openDownloadFile(s,`${p?.Name}.pdf`)})}};l.\u0275fac=function(t){return new(t||l)},l.\u0275prov=A({token:l,factory:l.\u0275fac});let a=l;return a})();var Be=["contextMenu"],je=a=>({"td-cell-hover":a});function He(a,l){if(a&1){let n=M();o(0,"button",20),b("click",function(){h(n);let t=f(),i=F(0);return g(t.onDowloadShippingLabel(i))}),_(1,"i",21),o(2,"span"),c(3,"Download Shipping Label"),r()()}}function Ue(a,l){if(a&1){let n=M();o(0,"input",45),v("ngModelChange",function(t){h(n);let i=f().$implicit;return w(i.selected,t)||(i.selected=t),g(t)}),b("ngModelChange",function(){h(n);let t=f(3),i=F(0);return g(t.onSelectOrders(i))}),r()}if(a&2){let n=f().$implicit,e=f(2);S("ngModel",n.selected),y("disabled",e.selectedChannelType()!=null&&e.selectedChannelType()!=n.MarketType)}}function Qe(a,l){if(a&1&&_(0,"variants-dropdown",38),a&2){let n=f().$implicit;y("variants",n==null?null:n.Variants)}}function qe(a,l){if(a&1&&_(0,"variant-with-image",39),a&2){let n=f().$implicit;y("variant",n==null?null:n.Variants[0])}}function Ke(a,l){if(a&1&&(o(0,"span"),c(1),r()),a&2){let n=f().$implicit;m(),N("(",n.LogisticService==null?null:n.LogisticService.Option,")")}}function Ge(a,l){if(a&1){let n=M();o(0,"button",46),b("click",function(){h(n);let t=f().$implicit,i=f(2);return g(i.onPrintShippingLabel(t))}),_(1,"i",47),r()}}function Je(a,l){if(a&1){let n=M();o(0,"tr")(1,"td"),k(2,Ue,1,2,"input",30),r(),o(3,"td")(4,"div",31),_(5,"img",32),E(6,"channelImage"),o(7,"div",33)(8,"div"),c(9),r(),o(10,"small",34)(11,"span"),c(12),r()()()()(),o(13,"td")(14,"div",35)(15,"div",36)(16,"div"),_(17,"order-link",37),r()(),o(18,"small"),c(19),E(20,"date"),r()()(),o(21,"td"),c(22),r(),o(23,"td"),k(24,Qe,1,1,"variants-dropdown",38)(25,qe,1,1,"variant-with-image",39),r(),o(26,"td",40),c(27),E(28,"number"),r(),o(29,"td",41),b("mouseenter",function(t){let i=h(n).$implicit,p=f(2);return g(p.onMouseEnter(t,i))}),o(30,"div",42)(31,"div",35)(32,"div",36)(33,"span"),c(34),r(),k(35,Ke,2,1,"span"),r(),o(36,"small"),c(37),r()()()(),o(38,"td",43),k(39,Ge,2,0,"button",44),r()()}if(a&2){let n=l.$implicit,e=f(2);m(2),T((n==null?null:n.MarketType)!=e.channelType.WooCommerce?2:-1),m(3),y("src",I(6,16,n==null?null:n.MarketType),Y)("alt",n==null||n.Variants[0]==null?null:n.Variants[0].Name),m(4),L(n.Outlet),m(3),L(n.ChannelName),m(5),y("order",n),m(2),N(" ",se(20,18,n==null?null:n.Created,"dd/MM/yyyy HH:mm:ss")," "),m(3),L(n.Customer),m(),oe(pe(23,je,(n.Variants==null?null:n.Variants.length)>1)),m(),T((n.Variants==null?null:n.Variants.length)>1?24:25),m(3),L(I(28,21,n.Amount)),m(7),L(n.LogisticService!=null&&n.LogisticService.Name?n.LogisticService==null?null:n.LogisticService.Name:"-"),m(),T(n.LogisticService!=null&&n.LogisticService.Option&&(n.LogisticService==null?null:n.LogisticService.Option)!="Default"?35:-1),m(2),N(" ",n.ReferenceNumber?n.ReferenceNumber:"-"," "),m(2),T((n==null?null:n.MarketType)!=e.channelType.WooCommerce?39:-1)}}function Xe(a,l){if(a&1){let n=M();o(0,"div",17)(1,"table",22)(2,"thead",23)(3,"tr",24),_(4,"th",25),o(5,"th",26),c(6,"Outlet"),r(),o(7,"th",26),c(8,"Number"),r(),o(9,"th",26),c(10,"Customer"),r(),o(11,"th"),c(12,"Items"),r(),o(13,"th",27),c(14,"Amount"),r(),o(15,"th",26),c(16,"Shipping"),r(),_(17,"th",28),r()(),o(18,"tbody"),$(19,Je,40,25,"tr",null,Z),r()(),o(21,"app-custom-paginator",29),b("next",function(){h(n);let t=f();return g(t.initAwaitingCollection())})("previous",function(){h(n);let t=f();return g(t.initAwaitingCollection())}),r()()}if(a&2){let n=f(),e=F(0);m(19),ee(e),m(2),y("filter",n.filter())("totaldata",e==null?null:e.length)}}function Ye(a,l){a&1&&(o(0,"div",18),_(1,"app-empty-state"),r())}var Yt=(()=>{let l=class l{constructor(){this.printShippingService=C(U),this.orderService=C(j),this.toastr=C(P),this.fulfillmentService=C(Fe),this.channelType=d,this.selectedOrders=B([]),this.selectedChannelType=me(()=>{let e=null;return this.selectedOrders().length>0&&(e=this.selectedOrders()[0].MarketType),e}),this.filter=B({PageNumber:1,PageSize:20,ListChannelID:[],From:null,To:null,Number:null}),this.contextMenuItems=[{id:"refresh",label:"Refresh Shipping",icon:"fa-solid fa-arrows-rotate"},{id:"fulfillment",label:"Set Fulfillment",icon:"fa-solid fa-truck"}]}ngOnInit(){this.orderService.getOrderDefaultValue().subscribe({next:e=>{this.initFromDate(e)},error:e=>{console.error("Error fetching default date:",e),this.initFromDate(null)}})}initFromDate(e){this.filter.update(t=>q(Q({},t),{From:e})),this.initAwaitingCollection()}initAwaitingCollection(){this.awaitingCollections$=this.orderService.getAwaitingCollectionOrders(this.filter()).pipe(J(1))}onPrintShippingLabel(e){this.printShippingService.printShippingLabel(e)}onSelectOrders(e){let t=e.filter(i=>i.selected);this.selectedOrders.set(t)}onDowloadShippingLabel(e){e=e.map(t=>(t.selected=!1,t)),this.printShippingService.printMultipleShippingLabel(this.selectedOrders()),this.selectedOrders.set([])}onSetFulfillment(e){this.fulfillmentService.setFulfillmentOrder(e).subscribe(()=>{this.toastr.success("Fulfillment set successfully","Success"),this.initAwaitingCollection()})}refreshShippingAndRefNumber(e){this.orderService.refreshShippingCourier(e.ShopID,e.Number).subscribe(()=>{this.toastr.success("Shipping courier and reference number refreshed","Success"),this.initAwaitingCollection()})}onMouseEnter(e,t){(!t.LogisticService?.Name||!t.ReferenceNumber)&&this.contextMenuEl.show(e,t)}onSelectContextItem(e){e.item?.id==="refresh"?this.refreshShippingAndRefNumber(e.data):this.onSetFulfillment(e.data)}};l.\u0275fac=function(t){return new(t||l)},l.\u0275cmp=D({type:l,selectors:[["app-awaiting-collection"]],viewQuery:function(t,i){if(t&1&&te(Be,5),t&2){let p;ie(p=ne())&&(i.contextMenuEl=p.first)}},features:[le([j,U])],decls:37,vars:13,consts:[["contextMenu",""],["headerTitle","Awaiting Collection","searchBoxPlaceHolder","Order Number...",3,"onSubmit","textChange","text"],[1,"btn","btn-outline-secondary","shadow","rounded"],["href","https://ods.dealpos.app","target","_blank","matTooltip","Monitor your Order & Fulfillment in real-time from TV!",1,"btn","btn-outline-secondary","shadow","rounded","ms-3"],[1,"fa-regular","fa-tv","me-3"],[1,"fw-bold","mb-2"],[3,"ngModelChange","multiple","ngModel"],[1,"mt-5"],[1,"mb-4"],["name","From",3,"dateChange","date"],["name","To",3,"dateChange","date"],[1,"fw-bold"],["type","number","name","PageNumber",1,"w-100","mt-2","form-control",3,"ngModelChange","ngModel"],["type","number","name","PageSize",1,"w-100","mt-2","form-control",3,"ngModelChange","ngModel"],[1,"container-fluid","mt-3"],[1,"row"],[1,"col-md-12"],[1,"table-responsive"],[1,"d-flex","flex-column","justify-content-center","align-items-center",2,"margin-top","26vh"],[3,"onSelectItem","items"],[1,"btn","btn-outline-secondary","shadow","rounded",3,"click"],["aria-hidden","true",1,"fa-solid","fa-arrow-down-to-line","me-3"],[1,"table"],[1,"sticky-top-thead"],[1,"table-light"],[2,"width","5px"],[2,"width","200px"],[1,"text-end",2,"width","100px"],[2,"width","50px"],["rowCountApi","/api/orders/awaitingcollectioncount",3,"next","previous","filter","totaldata"],["type","checkbox",3,"ngModel","disabled"],[1,"d-flex","align-items-center","gap-3"],[2,"width","20px","height","20px",3,"src","alt"],[1,"lh-base"],[1,"d-flex","align-items-center","gap-2"],[1,"lh-sm"],[1,"d-flex","align-items-end","gap-2"],[2,"font-size","14px",3,"order"],[3,"variants"],[3,"variant"],[1,"text-end"],[3,"mouseenter"],[1,"d-flex","align-items-center","gap-6"],[1,"text-end","td-cell-hover"],["type","button","aria-label","Print order","title","Print","matTooltip","Download shipping label",1,"btn","p-0","border-0","bg-transparent"],["type","checkbox",3,"ngModelChange","ngModel","disabled"],["type","button","aria-label","Print order","title","Print","matTooltip","Download shipping label",1,"btn","p-0","border-0","bg-transparent",3,"click"],["aria-hidden","true",1,"fa-solid","fa-arrow-down-to-line"]],template:function(t,i){if(t&1){let p=M();re(0),E(1,"async"),o(2,"mainpanel",1),b("onSubmit",function(){return h(p),g(i.initAwaitingCollection())}),v("textChange",function(s){return h(p),w(i.filter().Number,s)||(i.filter().Number=s),g(s)}),o(3,"actions"),k(4,He,4,0,"button",2),o(5,"a",3),_(6,"i",4),o(7,"span"),c(8,"Order Fulfillment Display"),r()()(),o(9,"filters")(10,"div")(11,"label",5),c(12,"Channel"),r(),o(13,"app-channel-options-v2",6),v("ngModelChange",function(s){return h(p),w(i.filter().ListChannelID,s)||(i.filter().ListChannelID=s),g(s)}),r()(),o(14,"div",7)(15,"label",5),c(16,"From/To"),r(),o(17,"div",8)(18,"datepicker",9),v("dateChange",function(s){return h(p),w(i.filter().From,s)||(i.filter().From=s),g(s)}),r()(),o(19,"div")(20,"datepicker",10),v("dateChange",function(s){return h(p),w(i.filter().To,s)||(i.filter().To=s),g(s)}),r()()(),o(21,"div",7)(22,"label",11),c(23,"Page Number"),r(),o(24,"input",12),v("ngModelChange",function(s){return h(p),w(i.filter().PageNumber,s)||(i.filter().PageNumber=s),g(s)}),r()(),o(25,"div",7)(26,"label",11),c(27,"Page Size"),r(),o(28,"input",13),v("ngModelChange",function(s){return h(p),w(i.filter().PageSize,s)||(i.filter().PageSize=s),g(s)}),r()()(),o(29,"content")(30,"div",14)(31,"div",15)(32,"div",16),k(33,Xe,22,2,"div",17)(34,Ye,2,0,"div",18),r()()()()(),o(35,"app-context-menu",19,0),b("onSelectItem",function(s){return h(p),g(i.onSelectContextItem(s))}),r()}if(t&2){let p=ae(I(1,10,i.awaitingCollections$));m(2),S("text",i.filter().Number),m(2),T(i.selectedOrders().length>0?4:-1),m(9),y("multiple",!0),S("ngModel",i.filter().ListChannelID),m(5),S("date",i.filter().From),m(2),S("date",i.filter().To),m(4),S("ngModel",i.filter().PageNumber),m(4),S("ngModel",i.filter().PageSize),m(5),T((p==null?null:p.length)>0?33:34),m(2),y("items",i.contextMenuItems)}},dependencies:[he,Te,ke,Le,Me,R,fe,Ce,ge,O,W,Ve,Ae,De,be,_e,Ne,Ie,Pe,ce,ue,de,Ee],encapsulation:2});let a=l;return a})();export{Yt as AwaitingCollectionComponent};
@@ -0,0 +1 @@
1
+ import{a as l,b as d}from"./chunk-A7PUMY67.js";import"./chunk-ZETUYNFJ.js";import"./chunk-STYL7ETF.js";import"./chunk-XLIPGDSC.js";import{E as u,I as m}from"./chunk-LNJUGHOX.js";import{Gb as p,gc as s,hc as a,ic as i,jc as r,nb as n}from"./chunk-ZYJ6LAJ3.js";import"./chunk-WFMAM73Y.js";import"./chunk-66YHNWRR.js";var h=(()=>{let e=class e{constructor(){this.tabs=[{Title:"Users",Url:"/menu/users/users",Description:""},{Title:"Groups",Url:"/menu/users/groups",Description:""},{Title:"Setup",Url:"/menu/users/setup",Description:""}]}};e.\u0275fac=function(o){return new(o||e)},e.\u0275cmp=p({type:e,selectors:[["app-user-menu"]],decls:5,vars:2,consts:[[1,"navbar","page-nav","navbar-default","py-0","navbar-expand-lg"],[1,"container-fluid"],[3,"Tabs","usePermissions"]],template:function(o,c){o&1&&(a(0,"nav",0)(1,"div",1)(2,"div"),r(3,"nav-tab",2),i()()(),r(4,"router-outlet")),o&2&&(n(3),s("Tabs",c.tabs)("usePermissions",!0))},dependencies:[d,l,m,u],encapsulation:2});let t=e;return t})(),g=[{path:"",component:h,children:[{path:"users",loadComponent(){return import("./chunk-2USFVKEX.js").then(t=>t.UsersComponent)},data:{title:"Users"}},{path:"users/form",loadComponent(){return import("./chunk-WNUTNP6I.js").then(t=>t.UserFormComponent)},data:{title:"Users Form"}},{path:"users/info",loadComponent(){return import("./chunk-OBF4XVU7.js").then(t=>t.UserInfoComponent)},data:{title:"Users Info"}},{path:"groups",loadComponent(){return import("./chunk-J6CZKQ53.js").then(t=>t.GroupsComponent)},data:{title:"Groups"}},{path:"setup",loadComponent(){return import("./chunk-TJYYRHZZ.js").then(t=>t.SetupInfoComponent)},data:{title:"Setup Info"}},{path:"setup/form",loadComponent(){return import("./chunk-I7C6W3RB.js").then(t=>t.SetupFormComponent)},data:{title:"Setup Form"}},{path:"groups/form",loadComponent(){return import("./chunk-M2BYW5SR.js").then(t=>t.GroupsFormComponent)},data:{title:"Groups Form"}},{path:"groups/info",loadComponent(){return import("./chunk-NCKPMA6Q.js").then(t=>t.GroupInfoComponent)},data:{title:"Groups Info"}},{path:"**",redirectTo:"users",pathMatch:"full"},{path:"",pathMatch:"full",redirectTo:"users"}]}];export{h as UserMenuComponent,g as userRoutes};
@@ -0,0 +1,40 @@
1
+ import{d as M}from"./chunk-LOWGZOML.js";import{E as w,F as b,H as l,M as I,b as k,d as r,ja as L,m as D,z as a}from"./chunk-5PMKN6PM.js";import{n as v}from"./chunk-LNJUGHOX.js";import{Hb as f,Ib as h,Kb as u,Oa as c,Zc as g,ma as p,na as d,pd as y,ra as o,tb as m}from"./chunk-ZYJ6LAJ3.js";var x=`
2
+ .p-ink {
3
+ display: block;
4
+ position: absolute;
5
+ background: dt('ripple.background');
6
+ border-radius: 100%;
7
+ transform: scale(0);
8
+ pointer-events: none;
9
+ }
10
+
11
+ .p-ink-active {
12
+ animation: ripple 0.4s linear;
13
+ }
14
+
15
+ @keyframes ripple {
16
+ 100% {
17
+ opacity: 0;
18
+ transform: scale(2.5);
19
+ }
20
+ }
21
+ `;var C=`
22
+ ${x}
23
+
24
+ /* For PrimeNG */
25
+ .p-ripple {
26
+ overflow: hidden;
27
+ position: relative;
28
+ }
29
+
30
+ .p-ripple-disabled .p-ink {
31
+ display: none !important;
32
+ }
33
+
34
+ @keyframes ripple {
35
+ 100% {
36
+ opacity: 0;
37
+ transform: scale(2.5);
38
+ }
39
+ }
40
+ `,N={root:"p-ink"},E=(()=>{class i extends L{name="ripple";style=C;classes=N;static \u0275fac=(()=>{let e;return function(s){return(e||(e=c(i)))(s||i)}})();static \u0275prov=p({token:i,factory:i.\u0275fac})}return i})();var $=(()=>{class i extends M{zone=o(m);_componentStyle=o(E);animationListener;mouseDownListener;timeout;constructor(){super(),y(()=>{v(this.platformId)&&(this.config.ripple()?this.zone.runOutsideAngular(()=>{this.create(),this.mouseDownListener=this.renderer.listen(this.el.nativeElement,"mousedown",this.onMouseDown.bind(this))}):this.remove())})}onAfterViewInit(){}onMouseDown(e){let t=this.getInk();if(!t||this.document.defaultView?.getComputedStyle(t,null).display==="none")return;if(r(t,"p-ink-active"),!a(t)&&!l(t)){let n=Math.max(D(this.el.nativeElement),b(this.el.nativeElement));t.style.height=n+"px",t.style.width=n+"px"}let s=w(this.el.nativeElement),F=e.pageX-s.left+this.document.body.scrollTop-l(t)/2,A=e.pageY-s.top+this.document.body.scrollLeft-a(t)/2;this.renderer.setStyle(t,"top",A+"px"),this.renderer.setStyle(t,"left",F+"px"),k(t,"p-ink-active"),this.timeout=setTimeout(()=>{let n=this.getInk();n&&r(n,"p-ink-active")},401)}getInk(){let e=this.el.nativeElement.children;for(let t=0;t<e.length;t++)if(typeof e[t].className=="string"&&e[t].className.indexOf("p-ink")!==-1)return e[t];return null}resetInk(){let e=this.getInk();e&&r(e,"p-ink-active")}onAnimationEnd(e){this.timeout&&clearTimeout(this.timeout),r(e.currentTarget,"p-ink-active")}create(){let e=this.renderer.createElement("span");this.renderer.addClass(e,"p-ink"),this.renderer.appendChild(this.el.nativeElement,e),this.renderer.setAttribute(e,"aria-hidden","true"),this.renderer.setAttribute(e,"role","presentation"),this.animationListener||(this.animationListener=this.renderer.listen(e,"animationend",this.onAnimationEnd.bind(this)))}remove(){let e=this.getInk();e&&(this.mouseDownListener&&this.mouseDownListener(),this.animationListener&&this.animationListener(),this.mouseDownListener=null,this.animationListener=null,I(e))}onDestroy(){this.config&&this.config.ripple()&&this.remove()}static \u0275fac=function(t){return new(t||i)};static \u0275dir=h({type:i,selectors:[["","pRipple",""]],hostAttrs:[1,"p-ripple"],features:[g([E]),u]})}return i})(),G=(()=>{class i{static \u0275fac=function(t){return new(t||i)};static \u0275mod=f({type:i});static \u0275inj=d({})}return i})();export{$ as a,G as b};
@@ -1,2 +1,2 @@
1
- import{Gb as a,_b as l,vc as o,wc as r}from"./chunk-OJMQBH6T.js";var d=["mat-internal-form-field",""],m=["*"],g=(()=>{class i{labelPosition;static \u0275fac=function(t){return new(t||i)};static \u0275cmp=a({type:i,selectors:[["div","mat-internal-form-field",""]],hostAttrs:[1,"mdc-form-field","mat-internal-form-field"],hostVars:2,hostBindings:function(t,n){t&2&&l("mdc-form-field--align-end",n.labelPosition==="before")},inputs:{labelPosition:"labelPosition"},attrs:d,ngContentSelectors:m,decls:1,vars:0,template:function(t,n){t&1&&(o(),r(0))},styles:[`.mat-internal-form-field{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;display:inline-flex;align-items:center;vertical-align:middle}.mat-internal-form-field>label{margin-left:0;margin-right:auto;padding-left:4px;padding-right:0;order:0}[dir=rtl] .mat-internal-form-field>label{margin-left:auto;margin-right:0;padding-left:0;padding-right:4px}.mdc-form-field--align-end>label{margin-left:auto;margin-right:0;padding-left:0;padding-right:4px;order:-1}[dir=rtl] .mdc-form-field--align-end .mdc-form-field--align-end label{margin-left:0;margin-right:auto;padding-left:4px;padding-right:0}
1
+ import{Gb as a,Jc as r,yc as l,zc as o}from"./chunk-ZYJ6LAJ3.js";var d=["mat-internal-form-field",""],m=["*"],g=(()=>{class i{labelPosition;static \u0275fac=function(t){return new(t||i)};static \u0275cmp=a({type:i,selectors:[["div","mat-internal-form-field",""]],hostAttrs:[1,"mdc-form-field","mat-internal-form-field"],hostVars:2,hostBindings:function(t,n){t&2&&r("mdc-form-field--align-end",n.labelPosition==="before")},inputs:{labelPosition:"labelPosition"},attrs:d,ngContentSelectors:m,decls:1,vars:0,template:function(t,n){t&1&&(l(),o(0))},styles:[`.mat-internal-form-field{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;display:inline-flex;align-items:center;vertical-align:middle}.mat-internal-form-field>label{margin-left:0;margin-right:auto;padding-left:4px;padding-right:0;order:0}[dir=rtl] .mat-internal-form-field>label{margin-left:auto;margin-right:0;padding-left:0;padding-right:4px}.mdc-form-field--align-end>label{margin-left:auto;margin-right:0;padding-left:0;padding-right:4px;order:-1}[dir=rtl] .mdc-form-field--align-end .mdc-form-field--align-end label{margin-left:0;margin-right:auto;padding-left:4px;padding-right:0}
2
2
  `],encapsulation:2,changeDetection:0})}return i})();export{g as a};
@@ -0,0 +1 @@
1
+ import{a as b,b as st}from"./chunk-VWX2IX64.js";import"./chunk-BKR7YPEW.js";import{a as ct}from"./chunk-BYTWGXP7.js";import"./chunk-3JRUKSV3.js";import"./chunk-SJ5MC42H.js";import"./chunk-4RLWHMI6.js";import"./chunk-NWB7EVME.js";import{a as lt}from"./chunk-PDCVMSLL.js";import"./chunk-AFDI4TD4.js";import"./chunk-4RG5YR7N.js";import"./chunk-5MV3UFJQ.js";import"./chunk-E6AMKEQR.js";import"./chunk-IGKMJFKP.js";import"./chunk-ITGVXYDV.js";import"./chunk-HK5FXZE4.js";import"./chunk-KJE5GRQ4.js";import"./chunk-4ILDFTIG.js";import"./chunk-A6QXXKPR.js";import"./chunk-Q4AWQ7IC.js";import"./chunk-QXRG5XYP.js";import"./chunk-RXLMJGUY.js";import"./chunk-M4ZE35XK.js";import"./chunk-L7WZ6U4T.js";import"./chunk-LOWGZOML.js";import"./chunk-5PMKN6PM.js";import"./chunk-AGBJEXIM.js";import"./chunk-OXWPYJNB.js";import"./chunk-XBIHN6D3.js";import"./chunk-JBEKD57G.js";import{m as at,n as rt}from"./chunk-EDEZ3JLR.js";import{A as ot,h as it,m as nt}from"./chunk-L3W6SG2T.js";import"./chunk-YTHY4IFS.js";import"./chunk-ZETUYNFJ.js";import"./chunk-STYL7ETF.js";import"./chunk-XLIPGDSC.js";import{G as tt,I as et,c as Y,i as G,j as Q,l as X,m as Z}from"./chunk-LNJUGHOX.js";import{$b as f,$c as z,Gb as T,Ha as w,Lc as $,Mc as n,Nc as x,Oc as C,Pc as O,Qc as H,Rc as J,Sc as W,Tc as q,Z as P,Zc as A,_c as j,ad as K,bc as _,bd as U,cc as L,dc as k,ec as I,fc as N,gc as m,hc as e,hd as v,ic as i,id as y,jc as B,jd as D,lb as M,nb as l,qc as R,ra as F,v as E,vc as V,xa as p,xc as S,ya as u}from"./chunk-ZYJ6LAJ3.js";import"./chunk-WFMAM73Y.js";import"./chunk-66YHNWRR.js";var dt=(t,o)=>({"bg-gradient-danger":t,"bg-gradient-warning":o}),mt=()=>["/menu/products/status/notificationV2/detailV2"],pt=t=>({ID:t}),ut=(t,o,a)=>({"text-warning":t,"text-success":o,"text-danger":a});function ft(t,o){t&1&&(e(0,"div"),n(1," Scan in progress. You will be notified once it is complete. "),i())}function _t(t,o){if(t&1&&(e(0,"div"),n(1),v(2,"number"),i()),t&2){let a=o.$implicit;l(),O(" ",a.Key,": ",y(2,2,a.Value)," ")}}function St(t,o){if(t&1&&(e(0,"div",19)(1,"div",18),n(2,"Status Product:"),i(),I(3,_t,3,4,"div",null,L),i()),t&2){let a=S(2).$implicit;l(3),N(a.ParsedStatus)}}function Ct(t,o){if(t&1&&(e(0,"div",18),n(1),i(),e(2,"div"),n(3),i(),f(4,St,5,0,"div",19)),t&2){let a=S().$implicit;l(),C(" ",a.ProcessLabel," "),l(2),x(a.ProcessDescription),l(),_(a!=null&&a.ParsedStatus&&(a==null||a.ParsedStatus==null?null:a.ParsedStatus.length)>0?4:-1)}}function vt(t,o){if(t&1&&(n(0),v(1,"number"),e(2,"span"),n(3,"s"),i()),t&2){let a=S().$implicit;C(" ",D(1,1,a.DurationInSecond,"1.1-1")," ")}}function xt(t,o){t&1&&n(0," - ")}function gt(t,o){t&1&&n(0," In Progress ")}function ht(t,o){t&1&&n(0," Completed ")}function It(t,o){t&1&&n(0," Failed ")}function Nt(t,o){if(t&1&&(e(0,"tr",12)(1,"td")(2,"a",15),n(3),i()(),e(4,"td")(5,"div",16),B(6,"img",17),e(7,"span"),n(8),i()()(),e(9,"td"),f(10,ft,2,0,"div")(11,Ct,5,3),i(),e(12,"td"),f(13,vt,4,4)(14,xt,1,0),i(),e(15,"td")(16,"div",18),f(17,gt,1,0)(18,ht,1,0)(19,It,1,0),i()(),e(20,"td",19)(21,"div"),n(22),i(),e(23,"div"),n(24),v(25,"date"),i()()()),t&2){let a,r=o.$implicit,c=S();m("ngClass",K(16,dt,r.Status==1,r.Status==0)),l(2),m("routerLink",j(19,mt))("queryParams",z(20,pt,r.ID)),l(),C(" ",r.ID," "),l(3),m("src",r.Img,M),l(2),x(r.ChannelName),l(2),_(r.StateID==c.scanState.InProgress?10:11),l(3),_(r.DurationInSecond?13:14),l(3),$(U(22,ut,r.StateID==c.scanState.InProgress,r.StateID==c.scanState.Completed,r.StateID==c.scanState.Failed)),l(),_((a=r.StateID)===c.scanState.InProgress?17:a===c.scanState.Completed?18:a===c.scanState.Failed?19:-1),l(5),x(r.LoginID),l(2),C(" ",D(25,13,r.Created,"dd MMM yyyy HH:mm")," ")}}var Jt=(()=>{let o=class o{constructor(){this.notificationService=F(b),this.filter=w({RowCount:20,PageNumber:1,ChannelID:null}),this.scanState=st,this.initNotifications()}initNotifications(){this.notifications$=this.notificationService.getNotificationList(this.filter()).pipe(E(r=>(r.Data=r.Data.map(c=>(c.StatusProduct&&(c.ParsedStatus=JSON.parse(c.StatusProduct)),c)),r)),P(1))}onFilter(){this.initNotifications()}};o.\u0275fac=function(c){return new(c||o)},o.\u0275cmp=T({type:o,selectors:[["app-notificationV2"]],features:[A([b])],decls:37,vars:8,consts:[["headerTitle","Notification",3,"onSubmit","hideSearchBox"],["routerLink","/menu/products/status/notification",1,"btn","btn-outline-secondary","btn-lg"],[1,"fw-bold","mb-2"],[3,"ngModelChange","ngModel"],[1,"container-fluid","mt-3"],[1,"row"],[1,"col-md-12"],[1,"table-responsive"],[1,"table","table-hover"],[1,"sticky-top-thead"],[1,"table-light"],[2,"width","260px"],[3,"ngClass"],[1,"col-12"],[3,"next","previous","filter","totaldata","paginationTotal","hasClicked"],[3,"routerLink","queryParams"],[1,"d-flex","align-items-center","gap-3"],[1,"channelLogo-md",3,"src","alt"],[1,"fw-bold"],[1,"lh-base"]],template:function(c,d){if(c&1){let s=R();q(0),v(1,"async"),e(2,"mainpanel",0),V("onSubmit",function(){return p(s),u(d.onFilter())}),e(3,"actions")(4,"a",1),n(5," Scan Job V1 "),i()(),e(6,"filters")(7,"div")(8,"label",2),n(9,"Channel"),i(),e(10,"app-channel-options-v2",3),W("ngModelChange",function(h){return p(s),J(d.filter().ChannelID,h)||(d.filter().ChannelID=h),u(h)}),i()()(),e(11,"content")(12,"div",4)(13,"div",5)(14,"div",6)(15,"div",7)(16,"table",8)(17,"thead",9)(18,"tr",10)(19,"th",11),n(20,"Job ID"),i(),e(21,"th"),n(22,"Channel"),i(),e(23,"th"),n(24,"Process"),i(),e(25,"th"),n(26,"Duration"),i(),e(27,"th"),n(28,"Status"),i(),e(29,"th"),n(30,"Creator"),i()()(),e(31,"tbody"),I(32,Nt,26,26,"tr",12,k),i()()()()(),e(34,"div",5)(35,"div",13)(36,"app-custom-paginator",14),V("next",function(){return p(s),u(d.initNotifications())})("previous",function(){return p(s),u(d.initNotifications())}),i()()()()()()}if(c&2){let s=y(1,6,d.notifications$);l(2),m("hideSearchBox",!0),l(8),H("ngModel",d.filter().ChannelID),l(22),N(s==null?null:s.Data),l(4),m("filter",d.filter())("totaldata",s==null||s.Data==null?null:s.Data.length)("paginationTotal",s==null?null:s.Count)("hasClicked",!0)}},dependencies:[Z,Y,ot,it,nt,rt,at,lt,et,tt,ct,G,X,Q],encapsulation:2});let t=o;return t})();export{Jt as NotificationV2Component};
@@ -0,0 +1 @@
1
+ import{a as Y}from"./chunk-BYTWGXP7.js";import"./chunk-3JRUKSV3.js";import"./chunk-SJ5MC42H.js";import"./chunk-4RLWHMI6.js";import"./chunk-NWB7EVME.js";import"./chunk-AFDI4TD4.js";import"./chunk-4RG5YR7N.js";import"./chunk-5MV3UFJQ.js";import"./chunk-E6AMKEQR.js";import"./chunk-IGKMJFKP.js";import"./chunk-ITGVXYDV.js";import"./chunk-HK5FXZE4.js";import"./chunk-KJE5GRQ4.js";import"./chunk-4ILDFTIG.js";import"./chunk-A6QXXKPR.js";import"./chunk-Q4AWQ7IC.js";import"./chunk-QXRG5XYP.js";import"./chunk-RXLMJGUY.js";import"./chunk-M4ZE35XK.js";import"./chunk-L7WZ6U4T.js";import"./chunk-LOWGZOML.js";import"./chunk-5PMKN6PM.js";import{a as H}from"./chunk-AGBJEXIM.js";import{e as F}from"./chunk-OXWPYJNB.js";import"./chunk-XBIHN6D3.js";import"./chunk-JBEKD57G.js";import{m as J,n as G}from"./chunk-EDEZ3JLR.js";import{A as j,c as U,h as K,m as R,p as O}from"./chunk-L3W6SG2T.js";import"./chunk-YTHY4IFS.js";import"./chunk-ZETUYNFJ.js";import"./chunk-STYL7ETF.js";import"./chunk-XLIPGDSC.js";import{i as W,k as D,m as N}from"./chunk-LNJUGHOX.js";import{$b as S,Gb as V,Ha as w,Mc as d,Nc as A,Qc as g,Rc as C,Sc as y,Tc as L,Uc as T,Vc as P,Z as k,bc as x,gc as f,hc as i,hd as b,ic as t,id as B,jc as E,nb as c,qc as M,ra as I,vc as v,xa as m,xc as h,ya as u}from"./chunk-ZYJ6LAJ3.js";import"./chunk-WFMAM73Y.js";import"./chunk-66YHNWRR.js";function q(n,a){if(n&1){let p=M();i(0,"input",30),y("ngModelChange",function(o){m(p);let e=h();return C(e.sku,o)||(e.sku=o),u(o)}),t()}if(n&2){let p=h();g("ngModel",p.sku)}}function z(n,a){if(n&1){let p=M();i(0,"input",31),y("ngModelChange",function(o){m(p);let e=h();return C(e.itemId,o)||(e.itemId=o),u(o)}),t()}if(n&2){let p=h();g("ngModel",p.itemId)}}function Q(n,a){if(n&1&&(i(0,"pre",28),d(1),b(2,"json"),t()),n&2){h();let p=P(35);c(),A(B(2,1,p))}}function X(n,a){n&1&&(i(0,"p",29),d(1," Your data will be shown here once it's available "),t())}var me=(()=>{let a=class a{constructor(){this.httpService=I(F),this.selectedChannel=w(null),this.sku=w(null),this.itemId=w(null),this.searchBy="sku"}initProductLog(){let l={ChannelID:this.selectedChannel()};this.searchBy==="sku"?l.SKU=this.sku():l.ItemID=this.itemId(),this.productLog$=this.httpService.post(H.GetProductApiLog,l).pipe(k(1))}copyToClipboard(l){if(!l)return;let o=typeof l=="string"?l:JSON.stringify(l,null,2);navigator.clipboard.writeText(o),alert("Copied to clipboard!")}};a.\u0275fac=function(o){return new(o||a)},a.\u0275cmp=V({type:a,selectors:[["app-product-api"]],decls:50,vars:14,consts:[["headerTitle","Origin Product Api",3,"hideSearchBox","hideSearchDropdown"],[1,"btn","btn-success","btn-fill","me-3",3,"click"],[1,"fa","fa-search"],[1,"container-fluid","mt-8","px-10"],[1,"row"],[1,"col-7"],[1,"d-flex","align-items-center"],[1,"w-75"],[1,"mb-0","text-muted","fst-italic"],[1,"w-100"],[3,"ngModelChange","ngModel"],[1,"d-flex","align-items-center","mt-3"],[1,"mb-2"],[1,"form-check","form-check-inline"],["type","radio","name","searchBy","id","searchBySku",1,"form-check-input",3,"ngModelChange","ngModel","value"],["for","searchBySku",1,"form-check-label"],["type","radio","name","searchBy","id","searchByItemId",1,"form-check-input",3,"ngModelChange","ngModel","value"],["for","searchByItemId",1,"form-check-label"],["type","text","placeholder","Product Code / SKU",1,"form-control","rounded-1",2,"height","40px",3,"ngModel"],["type","text","placeholder","ItemID is Product id from seller center",1,"form-control","rounded-1",2,"height","40px",3,"ngModel"],[1,"row","mt-6"],[1,"col-12"],[1,"card"],[1,"card-header","d-flex","justify-content-between","align-items-center"],["type","button",1,"btn","btn-sm","btn-outline-primary",3,"click","disabled"],[1,"card-body"],[1,"col-sm-12"],[1,"form-group","position-relative"],["id","productLogText"],[1,"text-center","my-12","text-muted"],["type","text","placeholder","Product Code / SKU",1,"form-control","rounded-1",2,"height","40px",3,"ngModelChange","ngModel"],["type","text","placeholder","ItemID is Product id from seller center",1,"form-control","rounded-1",2,"height","40px",3,"ngModelChange","ngModel"]],template:function(o,e){if(o&1){let s=M();i(0,"mainpanel",0)(1,"actions")(2,"button",1),v("click",function(){return m(s),u(e.initProductLog())}),E(3,"i",2),d(4," Search "),t()(),i(5,"content")(6,"div",3)(7,"div",4)(8,"div",5)(9,"div",6)(10,"div",7)(11,"h6"),d(12,"Channel"),t(),i(13,"p",8),d(14," View logs related to Product API Detail "),t()(),i(15,"div",9)(16,"app-channel-options-v2",10),y("ngModelChange",function(r){return m(s),C(e.selectedChannel,r)||(e.selectedChannel=r),u(r)}),t()()(),i(17,"div",11)(18,"div",7)(19,"h6"),d(20,"Product Code / SKU"),t(),i(21,"p",8),d(22," Product SKU or Code from Channel Product "),t()(),i(23,"div",9)(24,"div",12)(25,"div",13)(26,"input",14),y("ngModelChange",function(r){return m(s),C(e.searchBy,r)||(e.searchBy=r),u(r)}),t(),i(27,"label",15),d(28,"Search by SKU"),t()(),i(29,"div",13)(30,"input",16),y("ngModelChange",function(r){return m(s),C(e.searchBy,r)||(e.searchBy=r),u(r)}),t(),i(31,"label",17),d(32,"Search by ItemID"),t()()(),S(33,q,1,1,"input",18),S(34,z,1,1,"input",19),t()()()(),L(35),b(36,"async"),i(37,"div",20)(38,"div",21)(39,"div",22)(40,"div",23)(41,"h5"),d(42,"Response"),t(),i(43,"button",24),v("click",function(){m(s);let r=P(35);return u(e.copyToClipboard(r))}),d(44," Copy "),t()(),i(45,"div",25)(46,"div",26)(47,"div",27),S(48,Q,3,3,"pre",28)(49,X,2,0,"p",29),t()()()()()()()()()}if(o&2){f("hideSearchBox",!0)("hideSearchDropdown",!0),c(16),g("ngModel",e.selectedChannel),c(10),g("ngModel",e.searchBy),f("value","sku"),c(4),g("ngModel",e.searchBy),f("value","itemid"),c(3),x(e.searchBy==="sku"?33:-1),c(),x(e.searchBy==="itemid"?34:-1),c();let s=T(B(36,11,e.productLog$));c(8),f("disabled",!s),c(5),x(s?48:49)}},dependencies:[N,j,U,O,K,R,G,J,Y,W,D],encapsulation:2});let n=a;return n})();export{me as ProductApiComponent};
@@ -0,0 +1 @@
1
+ import{a as v}from"./chunk-3L7Y6LG6.js";import{a as Y,b as Z,c as ee}from"./chunk-5BSPSA4O.js";import"./chunk-FULVA6QB.js";import"./chunk-HPINZVE4.js";import"./chunk-C7N6EI73.js";import"./chunk-GPHNPV7O.js";import"./chunk-N5AE5WMQ.js";import"./chunk-AGBJEXIM.js";import{b as q}from"./chunk-OXWPYJNB.js";import"./chunk-XBIHN6D3.js";import{m as U,n as X}from"./chunk-EDEZ3JLR.js";import{A as $,h as H,m as K}from"./chunk-L3W6SG2T.js";import"./chunk-YTHY4IFS.js";import{v as J,w as Q}from"./chunk-STYL7ETF.js";import"./chunk-XLIPGDSC.js";import{F as I,G as j,I as G,c as O,i as N,m as W}from"./chunk-LNJUGHOX.js";import{$b as y,$c as P,Gb as M,Mc as m,Oc as A,Qc as R,Rc as L,Sc as E,Tc as V,Uc as k,Vc as d,Z as _,Zc as z,bc as x,cc as F,ec as b,fc as w,gc as u,hc as n,hd as B,ic as r,id as D,nb as a,qc as C,ra as p,vc as T,xa as f,xc as h,ya as g}from"./chunk-ZYJ6LAJ3.js";import"./chunk-WFMAM73Y.js";import"./chunk-66YHNWRR.js";var te=e=>({empty:e});function oe(e,i){if(e&1&&(n(0,"mat-radio-button",14),m(1),r()),e&2){let t=i.$implicit;u("value",t.Key)("matTooltip",t.Value==="Legacy"?"Authentication and role assignments are inherited from POS":"Authentication and role assignments are managed directly from Omni.dealpos.app"),a(),A(" ",t.Value," ")}}function ie(e,i){if(e&1){let t=C();n(0,"div",10)(1,"label",11),m(2," Authorization Mode "),r(),n(3,"div",12)(4,"mat-radio-group",13),E("ngModelChange",function(o){f(t),h();let s=d(0);return L(s.Form.AuthorizationMode,o)||(s.Form.AuthorizationMode=o),g(o)}),b(5,oe,2,3,"mat-radio-button",14,F),r()()()}if(e&2){h();let t=d(0);u("ngClass",P(2,te,t==null||t.Form==null?null:t.Form.AuthorizationMode)),a(4),R("ngModel",t.Form.AuthorizationMode),a(),w(t.Options.AuthorizationMode)}}var Fe=(()=>{let i=class i{constructor(){this.setupService=p(v),this.toastr=p(q),this.route=p(I),this.setupData$=this.setupService.getConfig().pipe(_(1))}onSaveConfig(l){this.setupService.saveConfig(l).subscribe({next:o=>{console.log("Configuration saved successfully",o),this.toastr.success("Configuration saved successfully","Success"),this.route.navigate(["/menu/users/setup"])}})}};i.\u0275fac=function(o){return new(o||i)},i.\u0275cmp=M({type:i,selectors:[["app-setup-form"]],features:[z([v])],decls:17,vars:6,consts:[["headerTitle","Setup Form",3,"hideSearchBox","hideSearchDropdown"],["routerLink","/menu/users/setup",1,"btn","btn-secondary","me-3"],[1,"btn","btn-success",3,"click"],[1,"container-fluid","py-5"],[1,"row","mt-4"],[1,"col-12"],[1,"card"],[1,"card-body","mt-8"],[1,"row"],[1,"col-6"],[1,"form-label-group","radio",3,"ngClass"],[2,"top","-11px","background","white"],[1,"mt-3"],["name","AuthorizationMode",3,"ngModelChange","ngModel"],["matTooltipPosition","above",1,"me-5",3,"value","matTooltip"]],template:function(o,s){if(o&1){let c=C();V(0),B(1,"async"),n(2,"mainpanel",0)(3,"actions")(4,"a",1),m(5," Cancel "),r(),n(6,"button",2),T("click",function(){f(c);let S=d(0);return g(s.onSaveConfig(S==null?null:S.Form))}),m(7," Save "),r()(),n(8,"content")(9,"div",3)(10,"div",4)(11,"div",5)(12,"div",6)(13,"div",7)(14,"div",8)(15,"div",9),y(16,ie,7,4,"div",10),r()()()()()()()()()}if(o&2){let c=k(D(1,3,s.setupData$));a(2),u("hideSearchBox",!0)("hideSearchDropdown",!0),a(14),x(c?16:-1)}},dependencies:[W,O,X,U,Q,J,G,j,ee,Y,Z,$,H,K,N],encapsulation:2});let e=i;return e})();export{Fe as SetupFormComponent};
@@ -0,0 +1,90 @@
1
+ import{c as B}from"./chunk-ITGVXYDV.js";import{a as A}from"./chunk-KJE5GRQ4.js";import{a as P}from"./chunk-4ILDFTIG.js";import{b as S,c as z,e as p}from"./chunk-LOWGZOML.js";import{ja as w}from"./chunk-5PMKN6PM.js";import{g as F}from"./chunk-L3W6SG2T.js";import{Fd as c,Gb as h,Hb as b,Ib as C,Kb as a,Lb as I,Lc as D,Oa as d,Zb as y,Zc as N,kc as u,lc as l,ma as f,mc as s,na as x,nb as v,od as k,pa as g,pd as E,ra as o,rc as T,td as r,vc as M,za as m}from"./chunk-ZYJ6LAJ3.js";var U=["data-p-icon","spinner"],q=(()=>{class t extends P{pathId;onInit(){this.pathId="url(#"+S()+")"}static \u0275fac=(()=>{let e;return function(i){return(e||(e=d(t)))(i||t)}})();static \u0275cmp=h({type:t,selectors:[["","data-p-icon","spinner"]],features:[a],attrs:U,decls:5,vars:2,consts:[["d","M6.99701 14C5.85441 13.999 4.72939 13.7186 3.72012 13.1832C2.71084 12.6478 1.84795 11.8737 1.20673 10.9284C0.565504 9.98305 0.165424 8.89526 0.041387 7.75989C-0.0826496 6.62453 0.073125 5.47607 0.495122 4.4147C0.917119 3.35333 1.59252 2.4113 2.46241 1.67077C3.33229 0.930247 4.37024 0.413729 5.4857 0.166275C6.60117 -0.0811796 7.76026 -0.0520535 8.86188 0.251112C9.9635 0.554278 10.9742 1.12227 11.8057 1.90555C11.915 2.01493 11.9764 2.16319 11.9764 2.31778C11.9764 2.47236 11.915 2.62062 11.8057 2.73C11.7521 2.78503 11.688 2.82877 11.6171 2.85864C11.5463 2.8885 11.4702 2.90389 11.3933 2.90389C11.3165 2.90389 11.2404 2.8885 11.1695 2.85864C11.0987 2.82877 11.0346 2.78503 10.9809 2.73C9.9998 1.81273 8.73246 1.26138 7.39226 1.16876C6.05206 1.07615 4.72086 1.44794 3.62279 2.22152C2.52471 2.99511 1.72683 4.12325 1.36345 5.41602C1.00008 6.70879 1.09342 8.08723 1.62775 9.31926C2.16209 10.5513 3.10478 11.5617 4.29713 12.1803C5.48947 12.7989 6.85865 12.988 8.17414 12.7157C9.48963 12.4435 10.6711 11.7264 11.5196 10.6854C12.3681 9.64432 12.8319 8.34282 12.8328 7C12.8328 6.84529 12.8943 6.69692 13.0038 6.58752C13.1132 6.47812 13.2616 6.41667 13.4164 6.41667C13.5712 6.41667 13.7196 6.47812 13.8291 6.58752C13.9385 6.69692 14 6.84529 14 7C14 8.85651 13.2622 10.637 11.9489 11.9497C10.6356 13.2625 8.85432 14 6.99701 14Z","fill","currentColor"],[3,"id"],["width","14","height","14","fill","white"]],template:function(n,i){n&1&&(m(),u(0,"g"),s(1,"path",0),l(),u(2,"defs")(3,"clipPath",1),s(4,"rect",2),l()()),n&2&&(y("clip-path",i.pathId),v(3),T("id",i.pathId))},encapsulation:2})}return t})();var V=`
2
+ .p-inputtext {
3
+ font-family: inherit;
4
+ font-feature-settings: inherit;
5
+ font-size: 1rem;
6
+ color: dt('inputtext.color');
7
+ background: dt('inputtext.background');
8
+ padding-block: dt('inputtext.padding.y');
9
+ padding-inline: dt('inputtext.padding.x');
10
+ border: 1px solid dt('inputtext.border.color');
11
+ transition:
12
+ background dt('inputtext.transition.duration'),
13
+ color dt('inputtext.transition.duration'),
14
+ border-color dt('inputtext.transition.duration'),
15
+ outline-color dt('inputtext.transition.duration'),
16
+ box-shadow dt('inputtext.transition.duration');
17
+ appearance: none;
18
+ border-radius: dt('inputtext.border.radius');
19
+ outline-color: transparent;
20
+ box-shadow: dt('inputtext.shadow');
21
+ }
22
+
23
+ .p-inputtext:enabled:hover {
24
+ border-color: dt('inputtext.hover.border.color');
25
+ }
26
+
27
+ .p-inputtext:enabled:focus {
28
+ border-color: dt('inputtext.focus.border.color');
29
+ box-shadow: dt('inputtext.focus.ring.shadow');
30
+ outline: dt('inputtext.focus.ring.width') dt('inputtext.focus.ring.style') dt('inputtext.focus.ring.color');
31
+ outline-offset: dt('inputtext.focus.ring.offset');
32
+ }
33
+
34
+ .p-inputtext.p-invalid {
35
+ border-color: dt('inputtext.invalid.border.color');
36
+ }
37
+
38
+ .p-inputtext.p-variant-filled {
39
+ background: dt('inputtext.filled.background');
40
+ }
41
+
42
+ .p-inputtext.p-variant-filled:enabled:hover {
43
+ background: dt('inputtext.filled.hover.background');
44
+ }
45
+
46
+ .p-inputtext.p-variant-filled:enabled:focus {
47
+ background: dt('inputtext.filled.focus.background');
48
+ }
49
+
50
+ .p-inputtext:disabled {
51
+ opacity: 1;
52
+ background: dt('inputtext.disabled.background');
53
+ color: dt('inputtext.disabled.color');
54
+ }
55
+
56
+ .p-inputtext::placeholder {
57
+ color: dt('inputtext.placeholder.color');
58
+ }
59
+
60
+ .p-inputtext.p-invalid::placeholder {
61
+ color: dt('inputtext.invalid.placeholder.color');
62
+ }
63
+
64
+ .p-inputtext-sm {
65
+ font-size: dt('inputtext.sm.font.size');
66
+ padding-block: dt('inputtext.sm.padding.y');
67
+ padding-inline: dt('inputtext.sm.padding.x');
68
+ }
69
+
70
+ .p-inputtext-lg {
71
+ font-size: dt('inputtext.lg.font.size');
72
+ padding-block: dt('inputtext.lg.padding.y');
73
+ padding-inline: dt('inputtext.lg.padding.x');
74
+ }
75
+
76
+ .p-inputtext-fluid {
77
+ width: 100%;
78
+ }
79
+ `;var X=`
80
+ ${V}
81
+
82
+ /* For PrimeNG */
83
+ .p-inputtext.ng-invalid.ng-dirty {
84
+ border-color: dt('inputtext.invalid.border.color');
85
+ }
86
+
87
+ .p-inputtext.ng-invalid.ng-dirty::placeholder {
88
+ color: dt('inputtext.invalid.placeholder.color');
89
+ }
90
+ `,_={root:({instance:t})=>["p-inputtext p-component",{"p-filled":t.$filled(),"p-inputtext-sm":t.pSize==="small","p-inputtext-lg":t.pSize==="large","p-invalid":t.invalid(),"p-variant-filled":t.$variant()==="filled","p-inputtext-fluid":t.hasFluid}]},$=(()=>{class t extends w{name="inputtext";style=X;classes=_;static \u0275fac=(()=>{let e;return function(i){return(e||(e=d(t)))(i||t)}})();static \u0275prov=f({token:t,factory:t.\u0275fac})}return t})();var j=new g("INPUTTEXT_INSTANCE"),lt=(()=>{class t extends A{hostName="";ptInputText=r();bindDirectiveInstance=o(p,{self:!0});$pcInputText=o(j,{optional:!0,skipSelf:!0})??void 0;ngControl=o(F,{optional:!0,self:!0});pcFluid=o(B,{optional:!0,host:!0,skipSelf:!0});pSize;variant=r();fluid=r(void 0,{transform:c});invalid=r(void 0,{transform:c});$variant=k(()=>this.variant()||this.config.inputStyle()||this.config.inputVariant());_componentStyle=o($);constructor(){super(),E(()=>{this.ptInputText()&&this.directivePT.set(this.ptInputText())})}onAfterViewInit(){this.writeModelValue(this.ngControl?.value??this.el.nativeElement.value),this.cd.detectChanges()}onAfterViewChecked(){this.bindDirectiveInstance.setAttrs(this.ptm("root"))}onDoCheck(){this.writeModelValue(this.ngControl?.value??this.el.nativeElement.value)}onInput(){this.writeModelValue(this.ngControl?.value??this.el.nativeElement.value)}get hasFluid(){return this.fluid()??!!this.pcFluid}static \u0275fac=function(n){return new(n||t)};static \u0275dir=C({type:t,selectors:[["","pInputText",""]],hostVars:2,hostBindings:function(n,i){n&1&&M("input",function(H){return i.onInput(H)}),n&2&&D(i.cx("root"))},inputs:{hostName:"hostName",ptInputText:[1,"ptInputText"],pSize:"pSize",variant:[1,"variant"],fluid:[1,"fluid"],invalid:[1,"invalid"]},features:[N([$,{provide:j,useExisting:t},{provide:z,useExisting:t}]),I([p]),a]})}return t})(),st=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275mod=b({type:t});static \u0275inj=x({})}return t})();export{q as a,lt as b,st as c};
@@ -0,0 +1 @@
1
+ import{a as w}from"./chunk-6OJQRHIZ.js";import{c as L}from"./chunk-JBEKD57G.js";import{$b as h,$c as k,Gb as b,Jb as U,Kc as j,Mc as d,Nc as T,Oc as s,bc as x,cc as y,ec as I,fc as P,kc as a,lb as g,lc as o,mc as v,nb as r,qc as V,ra as f,rc as _,td as C,wc as E,xa as M,xc as u,ya as F}from"./chunk-ZYJ6LAJ3.js";var A=(()=>{let e=class e{transform(m){return L.getChannelLogoByTypeId(m)}};e.\u0275fac=function(n){return new(n||e)},e.\u0275pipe=U({name:"channelImage",type:e,pure:!0});let t=e;return t})();function R(t,e){if(t&1&&v(0,"img",8),t&2){let i=u().$implicit;_("src",i==null?null:i.ThumbnailURL,g)}}function z(t,e){t&1&&v(0,"img",9)}function B(t,e){if(t&1&&h(0,R,1,1,"img",8)(1,z,1,0,"img",9),t&2){let i=e.$implicit;x(i!=null&&i.ThumbnailURL?0:1)}}function O(t,e){if(t&1){let i=V();a(0,"img",17),E("click",function(n){M(i);let l=u().$implicit;return u().onZoomImage(n,l==null?null:l.ImageURL),F(n.stopPropagation())}),o()}if(t&2){let i=u().$implicit;_("src",i==null?null:i.ThumbnailURL,g)}}function $(t,e){t&1&&v(0,"img",13)}function N(t,e){if(t&1&&(a(0,"div",15),d(1),o()),t&2){let i=u().$implicit;r(),s("x",i.Quantity)}}function Z(t,e){if(t&1&&(a(0,"li")(1,"div",10)(2,"div",11),h(3,O,1,1,"img",12)(4,$,1,0,"img",13),a(5,"div",14)(6,"div",15),d(7),o(),a(8,"div",16),d(9),o()()(),h(10,N,2,1,"div",15),o()()),t&2){let i=e.$implicit;r(3),x(i!=null&&i.ThumbnailURL?3:4),r(4),T(i.Name),r(2),T(i.Code),r(),x(i.Quantity>1?10:-1)}}var X=(()=>{let e=class e{constructor(){this.variants=C(),this.biggerPictureService=f(w)}onZoomImage(m,n){this.biggerPictureService.openBiggerPicture(m,n)}};e.\u0275fac=function(n){return new(n||e)},e.\u0275cmp=b({type:e,selectors:[["variants-dropdown"]],inputs:{variants:[1,"variants"]},decls:15,vars:2,consts:[[1,"dropdown","pe-6"],["type","button","data-bs-toggle","dropdown","aria-expanded","false",1,"btn","dropdown-toggle","border-0","d-flex","align-items-center","justify-content-between","gap-4","w-100",2,"padding","0px"],[1,"text-start"],[1,"fs-6"],[1,"d-flex","align-items-center","gap-2"],[1,"fa-regular","fa-angle-down"],[1,"dropdown-menu","p-3"],[1,"ms-6","mt-3","text-black"],[1,"thumb-square","border","border-opacity-10",3,"src"],["src","https://cdn.dealpos.app/template/products_thumb.png",1,"border","border-opacity-10","thumb-square"],[1,"dropdown-item","d-flex","align-items-center","gap-5","justify-content-between",2,"padding-left","8px","padding-right","8px"],[1,"d-flex","align-items-center","justify-content-start","gap-5"],[1,"thumb-square-lg","border","border-opacity-10",2,"cursor","zoom-in",3,"src"],["src","https://cdn.dealpos.app/template/products_thumb.png",1,"thumb-square-lg","border","border-opacity-10"],[1,"lh-base"],[1,"text-black"],[1,"text-muted"],[1,"thumb-square-lg","border","border-opacity-10",2,"cursor","zoom-in",3,"click","src"]],template:function(n,l){if(n&1&&(a(0,"div",0)(1,"button",1)(2,"div",2)(3,"div",3),d(4),o(),a(5,"div",4),I(6,B,2,1,null,null,y),o()(),a(8,"div"),v(9,"i",5),o()(),a(10,"ul",6)(11,"h5",7),d(12),o(),I(13,Z,11,4,"li",null,y),o()()),n&2){let c,p;r(4),s("",(c=l.variants())==null?null:c.length," items"),r(2),P(l.variants()),r(6),s("",(p=l.variants())==null?null:p.length," Items"),r(),P(l.variants())}},styles:[".dropdown-toggle[_ngcontent-%COMP%]:after{display:none!important}.dropdown[_ngcontent-%COMP%] .dropdown-menu.show[_ngcontent-%COMP%]{top:unset!important}.thumb-square[_ngcontent-%COMP%]{width:26px;height:26px;object-fit:contain;object-position:center}.thumb-square-lg[_ngcontent-%COMP%]{width:50px;height:50px;object-fit:contain;object-position:center}"]});let t=e;return t})();var Q=t=>({cursor:t}),it=(()=>{let e=class e{constructor(){this.variant=C(),this.biggerPictureService=f(w)}onZoomImage(m){let n=this.variant()?.ImageURL;n&&this.biggerPictureService.openBiggerPicture(m,n)}};e.\u0275fac=function(n){return new(n||e)},e.\u0275cmp=b({type:e,selectors:[["variant-with-image"]],inputs:{variant:[1,"variant"]},decls:8,vars:7,consts:[[1,"d-flex","align-items-center","gap-5"],[1,"thumb-square-lg","border","border-opacity-10",2,"cursor","zoom-in",3,"click","src"],[1,"lh-base"],[1,"text-black"],[1,"text-muted"]],template:function(n,l){if(n&1&&(a(0,"div",0)(1,"div")(2,"img",1),E("click",function(p){return l.onZoomImage(p)}),o()(),a(3,"div",2)(4,"div",3),d(5),o(),a(6,"div",4),d(7),o()()()),n&2){let c,p,S,D;r(2),j(k(5,Q,(c=l.variant())!=null&&c.ImageURL?"zoom-in":"")),_("src",((p=l.variant())==null?null:p.ThumbnailURL)||"https://cdn.dealpos.app/template/products_thumb.png",g),r(3),s(" ",(S=l.variant())==null?null:S.Name," "),r(2),s(" ",(D=l.variant())==null?null:D.Code," ")}},styles:[".thumb-square-lg[_ngcontent-%COMP%]{width:50px;height:50px;object-fit:contain;object-position:center}"]});let t=e;return t})();export{A as a,X as b,it as c};
@@ -0,0 +1 @@
1
+ import{e as p}from"./chunk-OXWPYJNB.js";import{K as s,ea as o,g as n,ma as c,q as i,ra as h}from"./chunk-ZYJ6LAJ3.js";var v=(()=>{let t=class t{constructor(){this.httpService=h(p),this._channelTree=new n({isFirstLoad:!1,data:[]}),this.channelTree$=this._channelTree.asObservable()}getChannelTree$(){return this.channelTree$.pipe(s(e=>e.isFirstLoad?i(e.data):this.getChannelTree()))}getChannelTree(){return this.httpService.get("/api/InventoryLoader/Channel").pipe(o(a=>{this._channelTree.next({isFirstLoad:!0,data:a})}))}};t.\u0275fac=function(a){return new(a||t)},t.\u0275prov=c({token:t,factory:t.\u0275fac});let r=t;return r})();export{v as a};
@@ -0,0 +1 @@
1
+ import{f as _}from"./chunk-Q4AWQ7IC.js";import{c as a}from"./chunk-JBEKD57G.js";import{G as k,I as C}from"./chunk-LNJUGHOX.js";import{$b as I,Gb as v,Mc as u,Oc as p,ad as D,bc as g,gc as s,hc as c,ic as m,lb as b,ma as h,nb as l,od as f,ra as o,td as x,xc as d}from"./chunk-ZYJ6LAJ3.js";var y=(()=>{let e=class e{constructor(){this.localDataService=o(_),this.baseUrl=this.localDataService.getHostName()}getBaseUrl(n){let r="";return a.IsNotEmpty(n.ID)?r=`https://${this.baseUrl}/menu/Orders/Orders/Customer_Invoice/Info?ID=${n.ID}`:r="/menu/Order/detail",r}};e.\u0275fac=function(r){return new(r||e)},e.\u0275prov=h({token:e,factory:e.\u0275fac,providedIn:"root"});let t=e;return t})();var U=(t,e)=>({Number:t,Outlet:e});function L(t,e){if(t&1&&(c(0,"a",0),u(1),m()),t&2){let i,n=d();s("href",n.baseUrl(),b),l(),p(" ",(i=n.order())==null?null:i.Number," ")}}function S(t,e){if(t&1&&(c(0,"a",1),u(1),m()),t&2){let i,n,r=d();s("routerLink",r.baseUrl())("queryParams",D(3,U,(i=r.order())==null?null:i.Number,(i=r.order())==null?null:i.Outlet)),l(),p(" ",(n=r.order())==null?null:n.Number," ")}}var z=(()=>{let e=class e{constructor(){this.order=x(),this.generateLinkService=o(y),this.baseUrl=f(()=>this.generateLinkService.getBaseUrl(this.order())),this.hasOrderID=f(()=>a.IsNotEmpty(this.order()?.ID))}};e.\u0275fac=function(r){return new(r||e)},e.\u0275cmp=v({type:e,selectors:[["order-link"]],inputs:{order:[1,"order"]},decls:2,vars:1,consts:[["target","_blank",3,"href"],["target","_blank",3,"routerLink","queryParams"]],template:function(r,N){r&1&&I(0,L,2,2,"a",0)(1,S,2,6,"a",1),r&2&&g(N.hasOrderID()?0:1)},dependencies:[C,k],encapsulation:2});let t=e;return t})();export{z as a};
@@ -0,0 +1 @@
1
+ var L=(function(E){return E[E.ALL=1]="ALL",E[E.DIFFERENCE=3]="DIFFERENCE",E})(L||{});export{L as a};
@@ -0,0 +1 @@
1
+ import{a as l}from"./chunk-4ILDFTIG.js";import{a as j}from"./chunk-L7WZ6U4T.js";import{c as N,d as f,e as d}from"./chunk-LOWGZOML.js";import{ja as T}from"./chunk-5PMKN6PM.js";import{m as B,n as L}from"./chunk-LNJUGHOX.js";import{Ca as F,Gb as c,Hb as m,Ib as D,Kb as s,Lb as I,Lc as x,Oa as i,Qa as g,Va as y,Zc as A,ma as h,mc as u,na as p,pa as v,ra as r,yc as M,za as a,zc as E}from"./chunk-ZYJ6LAJ3.js";var $=(()=>{class e extends f{autofocus=!1;focused=!1;platformId=r(y);document=r(F);host=r(g);onAfterContentChecked(){this.autofocus===!1?this.host.nativeElement.removeAttribute("autofocus"):this.host.nativeElement.setAttribute("autofocus",!0),this.focused||this.autoFocus()}onAfterViewChecked(){this.focused||this.autoFocus()}autoFocus(){L(this.platformId)&&this.autofocus&&setTimeout(()=>{let t=j.getFocusableElements(this.host?.nativeElement);t.length===0&&this.host.nativeElement.focus(),t.length>0&&t[0].focus(),this.focused=!0})}static \u0275fac=(()=>{let t;return function(n){return(t||(t=i(e)))(n||e)}})();static \u0275dir=D({type:e,selectors:[["","pAutoFocus",""]],inputs:{autofocus:[0,"pAutoFocus","autofocus"]},features:[s]})}return e})(),q=(()=>{class e{static \u0275fac=function(o){return new(o||e)};static \u0275mod=m({type:e});static \u0275inj=p({})}return e})();var b=["*"],k={root:"p-fluid"},w=(()=>{class e extends T{name="fluid";classes=k;static \u0275fac=(()=>{let t;return function(n){return(t||(t=i(e)))(n||e)}})();static \u0275prov=h({token:e,factory:e.\u0275fac})}return e})();var S=new v("FLUID_INSTANCE"),re=(()=>{class e extends f{$pcFluid=r(S,{optional:!0,skipSelf:!0})??void 0;bindDirectiveInstance=r(d,{self:!0});onAfterViewChecked(){this.bindDirectiveInstance.setAttrs(this.ptms(["host","root"]))}_componentStyle=r(w);static \u0275fac=(()=>{let t;return function(n){return(t||(t=i(e)))(n||e)}})();static \u0275cmp=c({type:e,selectors:[["p-fluid"]],hostVars:2,hostBindings:function(o,n){o&2&&x(n.cx("root"))},features:[A([w,{provide:S,useExisting:e},{provide:N,useExisting:e}]),I([d]),s],ngContentSelectors:b,decls:1,vars:0,template:function(o,n){o&1&&(M(),E(0))},dependencies:[B],encapsulation:2,changeDetection:0})}return e})();var V=["data-p-icon","chevron-down"],ue=(()=>{class e extends l{static \u0275fac=(()=>{let t;return function(n){return(t||(t=i(e)))(n||e)}})();static \u0275cmp=c({type:e,selectors:[["","data-p-icon","chevron-down"]],features:[s],attrs:V,decls:1,vars:0,consts:[["d","M7.01744 10.398C6.91269 10.3985 6.8089 10.378 6.71215 10.3379C6.61541 10.2977 6.52766 10.2386 6.45405 10.1641L1.13907 4.84913C1.03306 4.69404 0.985221 4.5065 1.00399 4.31958C1.02276 4.13266 1.10693 3.95838 1.24166 3.82747C1.37639 3.69655 1.55301 3.61742 1.74039 3.60402C1.92777 3.59062 2.11386 3.64382 2.26584 3.75424L7.01744 8.47394L11.769 3.75424C11.9189 3.65709 12.097 3.61306 12.2748 3.62921C12.4527 3.64535 12.6199 3.72073 12.7498 3.84328C12.8797 3.96582 12.9647 4.12842 12.9912 4.30502C13.0177 4.48162 12.9841 4.662 12.8958 4.81724L7.58083 10.1322C7.50996 10.2125 7.42344 10.2775 7.32656 10.3232C7.22968 10.3689 7.12449 10.3944 7.01744 10.398Z","fill","currentColor"]],template:function(o,n){o&1&&(a(),u(0,"path",0))},encapsulation:2})}return e})();var P=["data-p-icon","times"],le=(()=>{class e extends l{static \u0275fac=(()=>{let t;return function(n){return(t||(t=i(e)))(n||e)}})();static \u0275cmp=c({type:e,selectors:[["","data-p-icon","times"]],features:[s],attrs:P,decls:1,vars:0,consts:[["d","M8.01186 7.00933L12.27 2.75116C12.341 2.68501 12.398 2.60524 12.4375 2.51661C12.4769 2.42798 12.4982 2.3323 12.4999 2.23529C12.5016 2.13827 12.4838 2.0419 12.4474 1.95194C12.4111 1.86197 12.357 1.78024 12.2884 1.71163C12.2198 1.64302 12.138 1.58893 12.0481 1.55259C11.9581 1.51625 11.8617 1.4984 11.7647 1.50011C11.6677 1.50182 11.572 1.52306 11.4834 1.56255C11.3948 1.60204 11.315 1.65898 11.2488 1.72997L6.99067 5.98814L2.7325 1.72997C2.59553 1.60234 2.41437 1.53286 2.22718 1.53616C2.03999 1.53946 1.8614 1.61529 1.72901 1.74767C1.59663 1.88006 1.5208 2.05865 1.5175 2.24584C1.5142 2.43303 1.58368 2.61419 1.71131 2.75116L5.96948 7.00933L1.71131 11.2675C1.576 11.403 1.5 11.5866 1.5 11.7781C1.5 11.9696 1.576 12.1532 1.71131 12.2887C1.84679 12.424 2.03043 12.5 2.2219 12.5C2.41338 12.5 2.59702 12.424 2.7325 12.2887L6.99067 8.03052L11.2488 12.2887C11.3843 12.424 11.568 12.5 11.7594 12.5C11.9509 12.5 12.1346 12.424 12.27 12.2887C12.4053 12.1532 12.4813 11.9696 12.4813 11.7781C12.4813 11.5866 12.4053 11.403 12.27 11.2675L8.01186 7.00933Z","fill","currentColor"]],template:function(o,n){o&1&&(a(),u(0,"path",0))},encapsulation:2})}return e})();export{$ as a,q as b,re as c,ue as d,le as e};
@@ -0,0 +1 @@
1
+ import{a as Q}from"./chunk-6OJQRHIZ.js";import{a as q}from"./chunk-FHER4TFY.js";import{a as X}from"./chunk-BYTWGXP7.js";import"./chunk-3JRUKSV3.js";import"./chunk-SJ5MC42H.js";import"./chunk-4RLWHMI6.js";import"./chunk-NWB7EVME.js";import{a as J}from"./chunk-PDCVMSLL.js";import"./chunk-AFDI4TD4.js";import"./chunk-4RG5YR7N.js";import"./chunk-5MV3UFJQ.js";import"./chunk-E6AMKEQR.js";import"./chunk-IGKMJFKP.js";import"./chunk-ITGVXYDV.js";import"./chunk-HK5FXZE4.js";import"./chunk-KJE5GRQ4.js";import"./chunk-4ILDFTIG.js";import"./chunk-A6QXXKPR.js";import"./chunk-Q4AWQ7IC.js";import"./chunk-QXRG5XYP.js";import"./chunk-RXLMJGUY.js";import"./chunk-M4ZE35XK.js";import"./chunk-L7WZ6U4T.js";import"./chunk-LOWGZOML.js";import"./chunk-5PMKN6PM.js";import{a as M}from"./chunk-AGBJEXIM.js";import{e as Z}from"./chunk-OXWPYJNB.js";import"./chunk-XBIHN6D3.js";import"./chunk-JBEKD57G.js";import{m as j,n as z}from"./chunk-EDEZ3JLR.js";import{A as H,h as $,m as G}from"./chunk-L3W6SG2T.js";import"./chunk-YTHY4IFS.js";import"./chunk-ZETUYNFJ.js";import"./chunk-STYL7ETF.js";import"./chunk-XLIPGDSC.js";import{G as O,I as W,i as N,l as R,m as F}from"./chunk-LNJUGHOX.js";import{$b as I,Gb as U,Ha as V,Mc as a,Nc as g,Qc as P,Rc as T,Sc as B,Tc as A,Z as b,bc as k,cc as E,ec as L,fc as K,gc as s,hc as e,hd as v,ic as t,id as y,jc as c,lb as D,nb as l,qc as w,ra as x,vc as h,xa as u,xc as S,ya as d}from"./chunk-ZYJ6LAJ3.js";import"./chunk-WFMAM73Y.js";import"./chunk-66YHNWRR.js";function Y(r,p){if(r&1){let o=w();e(0,"img",21),h("click",function(m){u(o);let i=S().$implicit,n=S();return d(n.onZoomImage(m,i==null?null:i.ImageUrl))}),t()}if(r&2){let o=S().$implicit;s("src",o==null?null:o.ThumbnailUrl,D)}}function ee(r,p){r&1&&c(0,"img",17)}function te(r,p){if(r&1&&(e(0,"tr")(1,"td")(2,"div",15),I(3,Y,1,1,"img",16)(4,ee,1,0,"img",17),t()(),e(5,"td"),a(6),t(),e(7,"td"),a(8),t(),e(9,"td")(10,"div",18),c(11,"app-channel-logo",19),e(12,"span"),a(13),t()()(),e(14,"td",20),a(15),v(16,"number"),t()()),r&2){let o=p.$implicit;l(3),k(o.ImageUrl?3:4),l(3),g(o.Name),l(2),g(o.SKU),l(3),s("typeId",o.TypeID),l(2),g(o.ChannelName),l(2),g(y(16,6,o.Count))}}var we=(()=>{let p=class p{constructor(){this.httpService=x(Z),this.biggerPictureService=x(Q),this.filter=V({PageNumber:1,RowCount:20,ListChannelID:[]}),this.rowCountApi=M.GetMultilistingSKUCount,this.initMultipleListingSKU()}initMultipleListingSKU(){this.multipleListingSKU$=this.httpService.post(M.GetMultiListingSKU,this.filter()).pipe(b(1))}onZoomImage(_,m){this.biggerPictureService.openBiggerPicture(_,m)}};p.\u0275fac=function(m){return new(m||p)},p.\u0275cmp=U({type:p,selectors:[["app-duplicate-sku-v2"]],decls:33,vars:8,consts:[["headerTitle","Duplicate SKU","description","SKU(s) which is listed more than one time (one to many)",3,"onSubmit","hideSearchBox"],["routerLink","/menu/products/status/duplicate-sku",1,"d-flex","align-items-center","gap-2","btn","btn-outline-secondary","btn-lg"],[1,"fa-solid","fa-credit-card"],[1,"fw-bold","mb-2"],[3,"ngModelChange","multiple","ngModel"],[1,"container-fluid"],[1,"row","mt-6"],[1,"col-12"],[1,"table"],[1,"thead-light","sticky-top-thead"],[2,"width","40px"],[2,"width","200px"],[2,"width","250px"],[1,"text-end",2,"width","50px"],[3,"next","previous","filter","totaldata","rowCountApi"],[2,"padding-right","0px"],[1,"border","rounded","cursor-pointer",2,"max-width","40px",3,"src"],["src","//res.cloudinary.com/pos/image/upload/w_40/POS/Images/Icon/products_thumb.png",1,"border","rounded",2,"max-width","40px"],[1,"d-flex","align-items-center"],[3,"typeId"],[1,"text-end"],[1,"border","rounded","cursor-pointer",2,"max-width","40px",3,"click","src"]],template:function(m,i){if(m&1){let n=w();A(0),v(1,"async"),e(2,"mainpanel",0),h("onSubmit",function(){return u(n),d(i.initMultipleListingSKU())}),e(3,"actions")(4,"a",1),c(5,"i",2),e(6,"span"),a(7,"Card View"),t()()(),e(8,"filters")(9,"div")(10,"label",3),a(11,"Channel"),t(),e(12,"app-channel-options-v2",4),B("ngModelChange",function(C){return u(n),T(i.filter().ListChannelID,C)||(i.filter().ListChannelID=C),d(C)}),t()()(),e(13,"content")(14,"div",5)(15,"div",6)(16,"div",7)(17,"table",8)(18,"thead",9)(19,"tr"),c(20,"th",10),e(21,"th"),a(22,"Product"),t(),e(23,"th",11),a(24,"SKU"),t(),e(25,"th",12),a(26,"Channel"),t(),e(27,"th",13),a(28,"Count"),t()()(),e(29,"tbody"),L(30,te,17,8,"tr",null,E),t()(),e(32,"app-custom-paginator",14),h("next",function(){return u(n),d(i.initMultipleListingSKU())})("previous",function(){return u(n),d(i.initMultipleListingSKU())}),t()()()()()()}if(m&2){let n=y(1,6,i.multipleListingSKU$);l(2),s("hideSearchBox",!0),l(10),s("multiple",!0),P("ngModel",i.filter().ListChannelID),l(18),K(n==null?null:n.Data),l(2),s("filter",i.filter())("totaldata",n==null||n.Data==null?null:n.Data.length)("rowCountApi",i.rowCountApi)}},dependencies:[F,z,j,J,W,O,q,X,H,$,G,N,R],encapsulation:2});let r=p;return r})();export{we as DuplicateSkuV2Component};
@@ -0,0 +1 @@
1
+ import{a as b}from"./chunk-S7CKRTJV.js";import"./chunk-AFIF6VRM.js";import"./chunk-ZW2TMVZP.js";import{a as I}from"./chunk-XF2QZL6C.js";import"./chunk-ZTHO6JJM.js";import"./chunk-SHUYFOQI.js";import"./chunk-FCEXPGTK.js";import"./chunk-QFSA7CU4.js";import"./chunk-OPXITNRF.js";import"./chunk-HPINZVE4.js";import"./chunk-D2J64VUP.js";import"./chunk-6Q6L5NUD.js";import"./chunk-C7N6EI73.js";import"./chunk-GPHNPV7O.js";import"./chunk-3RK6DDJD.js";import"./chunk-4YCSITNV.js";import"./chunk-WHHW4IZT.js";import{a as ce,b as fe}from"./chunk-A7PUMY67.js";import"./chunk-N5AE5WMQ.js";import"./chunk-A6QXXKPR.js";import"./chunk-Q4AWQ7IC.js";import"./chunk-QXRG5XYP.js";import"./chunk-RXLMJGUY.js";import"./chunk-AGBJEXIM.js";import{e as pe}from"./chunk-OXWPYJNB.js";import"./chunk-XBIHN6D3.js";import{c as f}from"./chunk-JBEKD57G.js";import{m as w,n as he}from"./chunk-EDEZ3JLR.js";import{A as se}from"./chunk-L3W6SG2T.js";import"./chunk-YTHY4IFS.js";import"./chunk-ZETUYNFJ.js";import"./chunk-STYL7ETF.js";import"./chunk-XLIPGDSC.js";import{E as le,G as me,I as de,i as oe,j as D,l as re,m as ae}from"./chunk-LNJUGHOX.js";import{$b as _,Gb as v,Hb as $,Lc as te,Mc as c,Nc as U,Oc as J,Qc as y,Rc as C,Sc as g,Wc as Q,Z as z,_c as ie,bc as S,cc as ee,dc as V,dd as ne,ea as q,ec as A,fc as G,gc as p,hc as r,hd as x,ic as l,id as k,jc as T,lb as j,ma as X,na as Y,nb as m,od as H,qa as Z,ra as h,td as K,vc as P,xc as u}from"./chunk-ZYJ6LAJ3.js";import"./chunk-WFMAM73Y.js";import"./chunk-66YHNWRR.js";var ue=(()=>{let o=class o{constructor(){this.reportTabs=[{Title:"1.Create Order",Url:"/menu/sync-log/order/sync-order"},{Title:"2.Convert Order To Invoice",Url:"/menu/sync-log/order/convert-to-invoice"},{Title:"3.Create Invoice",Url:"/menu/sync-log/order/invoice"},{Title:"4.Create Outbound Logistic",Url:"/menu/sync-log/order/delivery"},{Title:"5.Add Payment",Url:"/menu/sync-log/order/payment"},{Title:"6.Void Invoice",Url:"/menu/sync-log/order/void-invoice"},{Title:"All",Url:"/menu/sync-log/order/all"}]}};o.\u0275fac=function(t){return new(t||o)},o.\u0275cmp=v({type:o,selectors:[["app-order"]],standalone:!1,decls:5,vars:1,consts:[[1,"navbar","page-nav","navbar-default","py-0","navbar-expand-lg"],[1,"container-fluid"],[3,"Tabs"]],template:function(t,i){t&1&&(r(0,"nav",0)(1,"div",1)(2,"div"),T(3,"nav-tab",2),l()()(),T(4,"router-outlet")),t&2&&(m(3),p("Tabs",i.reportTabs))},dependencies:[ce,le],styles:[".dropdown[_ngcontent-%COMP%] .dropdown-menu.report.show[_ngcontent-%COMP%]{top:100%!important;transform:none!important;z-index:10000;cursor:pointer;right:-50%}"]});let n=o;return n})();var F=class{};var E=(()=>{let o=class o{constructor(e){this.http=e}GetLoader(){return this.http.post("/api/Report/GetLoader",{})}GetSyncOrder(e){return new Promise((t,i)=>{this.http.post("/api/Report/Salesorder",JSON.stringify(e)).subscribe(s=>{t(s)})})}GetSyncInvoice(e){return new Promise((t,i)=>{this.http.post("/api/Report/CreateInvoice",JSON.stringify(e)).subscribe(s=>{t(s)})})}GetSyncVoidInvoice(e){return new Promise((t,i)=>{this.http.post("/api/Report/Void",JSON.stringify(e)).subscribe(s=>{t(s)})})}GetSyncConvertInvoice(e){return new Promise((t,i)=>{this.http.post("/api/Report/ConvertToInvoice",JSON.stringify(e)).subscribe(s=>{t(s)})})}GetSyncDelivery(e){return new Promise((t,i)=>{this.http.post("/api/Report/Delivery",JSON.stringify(e)).subscribe(s=>{t(s)})})}GetSyncPayment(e){return new Promise((t,i)=>{this.http.post("/api/Report/Payment",JSON.stringify(e)).subscribe(s=>{t(s)})})}getAllReport(e){return this.http.post("/api/Report/all",JSON.stringify(e))}};o.\u0275fac=function(t){return new(t||o)(Z(pe))},o.\u0275prov=X({token:o,factory:o.\u0275fac,providedIn:"root"});let n=o;return n})();var O=(function(n){return n[n.OK=200]="OK",n[n.BAD_REQUEST=400]="BAD_REQUEST",n[n.CONFLICT=409]="CONFLICT",n[n.NOT_FOUND=404]="NOT_FOUND",n[n.INTERNAL_SERVER_ERROR=500]="INTERNAL_SERVER_ERROR",n})(O||{});var De=()=>["/menu/log/order"],we=(n,o,d,e,t)=>({responseCode:n,From:o,to:d,actionType:e,ChannelID:t});function Ee(n,o){if(n&1&&(r(0,"th",4)(1,"div",5)(2,"h4"),c(3),l(),r(4,"small",6),c(5),l()()()),n&2){let d=o.$implicit,e=u();m(3),U(d),m(),te(e.getTextBgColor(d)),m(),U(e.getHeaderStatusDesc(d))}}function Re(n,o){if(n&1&&(r(0,"a",10),c(1),x(2,"number"),l()),n&2){let d=u().$implicit,e=u().$implicit,t=u();p("routerLink",ie(5,De))("queryParams",ne(6,we,d.Key,t.fromQueryParam,t.toQueryParam,t.type(),e.ChannelID)),m(),J(" ",k(2,3,d.Value)," ")}}function Le(n,o){n&1&&(r(0,"span",11),c(1,"-"),l())}function Oe(n,o){if(n&1&&(r(0,"td",9),_(1,Re,3,12,"a",10)(2,Le,2,0,"span",11),l()),n&2){let d=o.$implicit;m(),S(d.Value?1:2)}}function Ie(n,o){if(n&1&&(r(0,"tr")(1,"td")(2,"a",7),T(3,"img",8),l()(),r(4,"td")(5,"div")(6,"a",7),c(7),l()(),r(8,"div"),c(9),l()(),A(10,Oe,3,1,"td",9,ee),l()),n&2){let d=o.$implicit,e=u();m(2),p("href",Q(d.Url),j),m(),p("src",e.getChannelLogo(d.Type),j),m(3),p("href",Q(d.Url),j),m(),U(d.Name),m(2),U(d.Url),m(),G(d.list)}}function Me(n,o){if(n&1&&(r(0,"td",9)(1,"div",14),c(2),x(3,"number"),l()()),n&2){let d=o.$implicit;m(2),J(" ",k(3,1,d.total)," ")}}function xe(n,o){if(n&1&&(r(0,"tfoot")(1,"tr")(2,"td",12)(3,"div",13),c(4,"Total"),l()(),A(5,Me,4,3,"td",9,V),l()()),n&2){let d=u();m(5),G(d.logsCalculation())}}var R=(()=>{let o=class o{constructor(){this.header=K([]),this.result=K([]),this.orderedHeader=H(()=>this.header().sort((e,t)=>e-t)),this.logsOrdered=H(()=>{let e=this.result();return e=e.map(t=>(this.orderedHeader().forEach(i=>{t.list.findIndex(a=>a.Key===i)===-1&&t.list.push({Key:i,Value:0}),t.list.sort((a,W)=>a.Key-W.Key)}),t)),e}),this.logsCalculation=H(()=>{let e=this.concatStatusCode(),t=[];return this.orderedHeader().forEach(i=>{let a=e.filter(W=>W.Key===i).reduce((W,be)=>W+be.Value,0);t.push({status:i,total:a})}),t}),this.type=K(null),this.headerStatus=O,this.listCalculationStatusCode=[]}set from(e){e&&(this.fromQueryParam=new Date(e).toJSON().toString())}set to(e){e&&(this.toQueryParam=new Date(e).toJSON().toString())}getHeaderStatusDesc(e){let t=null;switch(e){case O.BAD_REQUEST:t="BAD REQUEST";break;case O.CONFLICT:t="CONFLICT";break;case O.INTERNAL_SERVER_ERROR:t="INTERNAL SERVER ERROR";break;case O.NOT_FOUND:t="NOT FOUND";break;default:t="OK";break}return t}getTextBgColor(e){let t=null;switch(e){case O.OK:t="bg-success";break;case O.INTERNAL_SERVER_ERROR:t="bg-danger";break;default:t="bg-warning";break}return t}getChannelLogo(e){return f.getChannelLogoByTypeId(e)}concatStatusCode(){return this.logsOrdered().map(e=>e.list).reduce((e,t)=>[...e,...t],[])}};o.\u0275fac=function(t){return new(t||o)},o.\u0275cmp=v({type:o,selectors:[["app-table-report"]],inputs:{header:[1,"header"],result:[1,"result"],from:"from",to:"to",type:[1,"type"]},standalone:!1,decls:12,vars:1,consts:[[1,"table"],[1,"thead-light","sticky-top-thead"],[2,"width","0%"],[2,"width","5%"],[1,"text-start",2,"width","10%"],[1,"d-block"],[1,"text-white","p-1","rounded","response-desc"],["target","_blank",3,"href"],[2,"width","24px","height","24px",3,"src"],[1,"text-start"],[1,"h3","text-primary","fw-bold","ms-1",3,"routerLink","queryParams"],[1,"h3","fw-bold","ms-1"],["colspan","2"],[1,"text-center","h3","fw-bold"],[1,"d-inline-block","h3","text-primary","fw-bold","ms-1"]],template:function(t,i){t&1&&(r(0,"table",0)(1,"thead",1)(2,"tr"),T(3,"th",2),r(4,"th",3),c(5,"Channel"),l(),A(6,Ee,6,4,"th",4,V),l()(),r(8,"tbody"),A(9,Ie,12,7,"tr",null,V),l(),_(11,xe,7,0,"tfoot"),l()),t&2&&(m(6),G(i.orderedHeader()),m(3),G(i.logsOrdered()),m(2),S(i.logsCalculation().length>0?11:-1))},dependencies:[me,re],styles:[".response-desc[_ngcontent-%COMP%]{font-size:12px}"]});let n=o;return n})();function ke(n,o){if(n&1&&(r(0,"div",6)(1,"div",7),T(2,"app-table-report",8),l()()),n&2){let d=u();m(2),p("result",d.result)("header",d.header)("from",d.filter.From)("to",d.filter.To)("type",0)}}var ye=(()=>{let o=class o{constructor(){this.http=h(E),this.datePipe=h(D),this.filter=new F,this.pageTitle="New Order";let e=new Date;this.maxDate=e,this.minDate=f.addDays(e,6),this.filter.From=e,this.filter.To=e,this.updatePageTitle()}ngOnInit(){this.initPageLoader()}updatePageTitle(){let e=f.formatTitleFromDate(this.filter.From,this.filter.To),t=this.datePipe.transform(this.filter.From,e),i=this.datePipe.transform(this.filter.To,"dd MMM yyyy");this.pageTitle=`New Order (${e==null?"":t+"-"} ${i})`}initPageLoader(){this.http.GetLoader().subscribe(e=>{this.filter=e,this.getChannelLogs()})}getChannelLogs(){this.updatePageTitle(),this.http.GetSyncOrder(this.filter).then(e=>{this.header=e.Header,this.result=e.Body})}onFilter(){this.getChannelLogs()}};o.\u0275fac=function(t){return new(t||o)},o.\u0275cmp=v({type:o,selectors:[["app-sales-order"]],standalone:!1,decls:12,vars:5,consts:[[3,"onSubmit","headerTitle","hideSearchBox"],[1,"fw-bold","mb-1"],[1,"mb-4"],["name","From",3,"dateChange","date"],["name","To",3,"dateChange","date"],[1,"container-fluid"],[1,"row","mt-4"],[1,"col-md-12"],[3,"result","header","from","to","type"]],template:function(t,i){t&1&&(r(0,"mainpanel",0),P("onSubmit",function(){return i.getChannelLogs()}),r(1,"filters")(2,"div")(3,"label",1),c(4,"From/To"),l(),r(5,"div",2)(6,"datepicker",3),g("dateChange",function(a){return C(i.filter.From,a)||(i.filter.From=a),a}),l()(),r(7,"div")(8,"datepicker",4),g("dateChange",function(a){return C(i.filter.To,a)||(i.filter.To=a),a}),l()()()(),r(9,"content")(10,"div",5),_(11,ke,3,5,"div",6),l()()()),t&2&&(p("headerTitle",i.pageTitle)("hideSearchBox",!0),m(6),y("date",i.filter.From),m(2),y("date",i.filter.To),m(3),S(i.result?11:-1))},dependencies:[w,b,R],encapsulation:2});let n=o;return n})();function Be(n,o){if(n&1&&(r(0,"div",6)(1,"div",7),T(2,"app-table-report",8),l()()),n&2){let d=u();m(2),p("result",d.result)("header",d.header)("from",d.filter.From)("to",d.filter.To)("type",1)}}var Ce=(()=>{let o=class o{constructor(){this.http=h(E),this.datePipe=h(D),this.filter=new F,this.PageTitle="Ready to Ship";let e=new Date;this.maxDate=e,this.minDate=f.addDays(e,6),this.filter.From=e,this.filter.To=e,this.updatePageTitle()}ngOnInit(){this.initPageLoader()}updatePageTitle(){let e=f.formatTitleFromDate(this.filter.From,this.filter.To),t=this.datePipe.transform(this.filter.From,e),i=this.datePipe.transform(this.filter.To,"dd MMM yyyy");this.PageTitle=`Ready to Ship (${e==null?"":t+"-"} ${i})`}initPageLoader(){this.http.GetLoader().subscribe(e=>{this.filter=e,this.getChannelLogs()})}getChannelLogs(){this.updatePageTitle(),this.http.GetSyncInvoice(this.filter).then(e=>{this.header=e.Header,this.result=e.Body})}onFilter(){this.getChannelLogs()}};o.\u0275fac=function(t){return new(t||o)},o.\u0275cmp=v({type:o,selectors:[["app-invoice"]],standalone:!1,decls:12,vars:5,consts:[[3,"onSubmit","headerTitle","hideSearchBox"],[1,"fw-bold","mb-1"],[1,"mb-4"],["name","From",3,"dateChange","date"],["name","To",3,"dateChange","date"],[1,"container-fluid"],[1,"row","mt-4"],[1,"col-md-12"],[3,"result","header","from","to","type"]],template:function(t,i){t&1&&(r(0,"mainpanel",0),P("onSubmit",function(){return i.onFilter()}),r(1,"filters")(2,"div")(3,"label",1),c(4,"From/To"),l(),r(5,"div",2)(6,"datepicker",3),g("dateChange",function(a){return C(i.filter.From,a)||(i.filter.From=a),a}),l()(),r(7,"div")(8,"datepicker",4),g("dateChange",function(a){return C(i.filter.To,a)||(i.filter.To=a),a}),l()()()(),r(9,"content")(10,"div",5),_(11,Be,3,5,"div",6),l()()()),t&2&&(p("headerTitle",i.PageTitle)("hideSearchBox",!0),m(6),y("date",i.filter.From),m(2),y("date",i.filter.To),m(3),S(i.result?11:-1))},dependencies:[w,b,R],encapsulation:2});let n=o;return n})();function Ne(n,o){if(n&1&&(r(0,"div",7)(1,"div",8),T(2,"app-table-report",9),l()()),n&2){let d=u();m(2),p("result",d.result)("header",d.header)("from",d.filter.From)("to",d.filter.To)("type",3)}}var ge=(()=>{let o=class o{constructor(){this.http=h(E),this.datePipe=h(D),this.filter=new F;let e=new Date;this.maxDate=e,this.minDate=f.addDays(e,6),this.filter.From=e,this.filter.To=e,this.updatePageTitle()}ngOnInit(){this.initPageLoader()}updatePageTitle(){let e=f.formatTitleFromDate(this.filter.From,this.filter.To),t=this.datePipe.transform(this.filter.From,e),i=this.datePipe.transform(this.filter.To,"dd MMM yyyy");this.PageTitle=`Shipped (${e==null?"":t+"-"} ${i})`}initPageLoader(){this.http.GetLoader().subscribe(e=>{this.filter=e,this.getChannelLogs()})}getChannelLogs(){this.updatePageTitle(),this.http.GetSyncDelivery(this.filter).then(e=>{this.header=e.Header,this.result=e.Body})}onFilter(){this.getChannelLogs()}};o.\u0275fac=function(t){return new(t||o)},o.\u0275cmp=v({type:o,selectors:[["app-delivery"]],standalone:!1,decls:12,vars:5,consts:[[3,"onSubmit","headerTitle","hideSearchBox"],[1,"filterDate"],[1,"fw-bold","mb-1"],[1,"mb-4"],["name","From",3,"dateChange","date"],["name","To",3,"dateChange","date"],[1,"container-fluid"],[1,"row","mt-4"],[1,"col-md-12"],[3,"result","header","from","to","type"]],template:function(t,i){t&1&&(r(0,"mainpanel",0),P("onSubmit",function(){return i.onFilter()}),r(1,"filters")(2,"div",1)(3,"label",2),c(4,"From/To"),l(),r(5,"div",3)(6,"datepicker",4),g("dateChange",function(a){return C(i.filter.From,a)||(i.filter.From=a),a}),l()(),r(7,"div")(8,"datepicker",5),g("dateChange",function(a){return C(i.filter.To,a)||(i.filter.To=a),a}),l()()()(),r(9,"content")(10,"div",6),_(11,Ne,3,5,"div",7),l()()()),t&2&&(p("headerTitle",i.PageTitle)("hideSearchBox",!0),m(6),y("date",i.filter.From),m(2),y("date",i.filter.To),m(3),S(i.result?11:-1))},dependencies:[w,b,R],encapsulation:2});let n=o;return n})();function We(n,o){if(n&1&&(r(0,"div",6)(1,"div",7),T(2,"app-table-report",8),l()()),n&2){let d=u();m(2),p("result",d.result)("header",d.header)("from",d.filter.From)("to",d.filter.To)("type",4)}}var Te=(()=>{let o=class o{constructor(){this.http=h(E),this.datePipe=h(D),this.filter=new F,this.PageTitle="Completed";let e=new Date;this.minDate=f.addDays(e,6),this.filter.From=e,this.filter.To=e,this.updatePageTitle()}ngOnInit(){this.initPageLoader()}updatePageTitle(){let e=f.formatTitleFromDate(this.filter.From,this.filter.To),t=this.datePipe.transform(this.filter.From,e),i=this.datePipe.transform(this.filter.To,"dd MMM yyyy");this.PageTitle=`Completed (${e==null?"":t+"-"} ${i})`}initPageLoader(){this.http.GetLoader().subscribe(e=>{this.filter=e,this.getChannelLogs()})}getChannelLogs(){this.updatePageTitle(),this.http.GetSyncPayment(this.filter).then(e=>{this.header=e.Header,this.result=e.Body})}onFilter(){this.getChannelLogs()}};o.\u0275fac=function(t){return new(t||o)},o.\u0275cmp=v({type:o,selectors:[["app-payment"]],standalone:!1,decls:12,vars:5,consts:[[3,"onSubmit","headerTitle","hideSearchBox"],[1,"fw-bold","mb-1"],[1,"mb-4"],["name","From",3,"dateChange","date"],["name","To",3,"dateChange","date"],[1,"container-fluid"],[1,"row","mt-4"],[1,"col-md-12"],[3,"result","header","from","to","type"]],template:function(t,i){t&1&&(r(0,"mainpanel",0),P("onSubmit",function(){return i.onFilter()}),r(1,"filters")(2,"div")(3,"label",1),c(4,"From/To"),l(),r(5,"div",2)(6,"datepicker",3),g("dateChange",function(a){return C(i.filter.From,a)||(i.filter.From=a),a}),l()(),r(7,"div")(8,"datepicker",4),g("dateChange",function(a){return C(i.filter.To,a)||(i.filter.To=a),a}),l()()()(),r(9,"content")(10,"div",5),_(11,We,3,5,"div",6),l()()()),t&2&&(p("headerTitle",i.PageTitle)("hideSearchBox",!0),m(6),y("date",i.filter.From),m(2),y("date",i.filter.To),m(3),S(i.result?11:-1))},dependencies:[w,b,R],encapsulation:2});let n=o;return n})();function Ae(n,o){}function Ge(n,o){if(n&1&&(r(0,"div",6)(1,"div",7),T(2,"app-table-report",8),l()()),n&2){let d=o,e=u();m(2),p("result",d.Body)("header",d.Header)("from",e.filter==null?null:e.filter.From)("to",e.filter==null?null:e.filter.To)}}var ve=(()=>{let o=class o{constructor(){this.reportOrderService=h(E),this.datePipe=h(D),this.filter=new F}ngOnInit(){this.initFilter(),this.initLoader()}initFilter(){let e=new Date;this.minDate=f.addDays(e,6),this.filter.From=e,this.filter.To=e,this.updatePageTitle()}updatePageTitle(){let e=f.formatTitleFromDate(this.filter.From,this.filter.To),t=this.datePipe.transform(this.filter.From,e),i=this.datePipe.transform(this.filter.To,"dd MMM yyyy");this.pageTitle=`All (${e==null?"":t+"-"} ${i})`}initLoader(){this.pageLoader$=this.reportOrderService.GetLoader().pipe(q(e=>{this.filter=e,this.updatePageTitle(),this.initData()}))}initData(){this.reportData$=this.reportOrderService.getAllReport(this.filter).pipe(z())}onFilter(){this.updatePageTitle(),this.initData()}};o.\u0275fac=function(t){return new(t||o)},o.\u0275cmp=v({type:o,selectors:[["app-all"]],standalone:!1,decls:15,vars:10,consts:[[3,"onSubmit","headerTitle","hideSearchBox"],[1,"fw-bold","mb-1"],[1,"mb-4"],["name","From",3,"dateChange","date"],["name","To",3,"dateChange","date"],[1,"container-fluid"],[1,"row","mt-4"],[1,"col-md-12"],[3,"result","header","from","to"]],template:function(t,i){if(t&1&&(r(0,"mainpanel",0),P("onSubmit",function(){return i.onFilter()}),r(1,"filters")(2,"div")(3,"label",1),c(4,"From/To"),l(),r(5,"div",2)(6,"datepicker",3),g("dateChange",function(a){return C(i.filter.From,a)||(i.filter.From=a),a}),l()(),r(7,"div")(8,"datepicker",4),g("dateChange",function(a){return C(i.filter.To,a)||(i.filter.To=a),a}),l()()()(),r(9,"content")(10,"div",5),_(11,Ae,0,0),x(12,"async"),_(13,Ge,3,4,"div",6),x(14,"async"),l()()()),t&2){let s;p("headerTitle",i.pageTitle)("hideSearchBox",!0),m(6),y("date",i.filter.From),m(2),y("date",i.filter.To),m(3),S(k(12,6,i.pageLoader$)?11:-1),m(2),S((s=k(14,8,i.reportData$))?13:-1,s)}},dependencies:[w,b,R,oe],encapsulation:2});let n=o;return n})();function Ue(n,o){if(n&1&&(r(0,"div",6)(1,"div",7),T(2,"app-table-report",8),l()()),n&2){let d=u();m(2),p("result",d.result)("header",d.header)("from",d.filter.From)("to",d.filter.To)("type",1)}}var _e=(()=>{let o=class o{constructor(){this.http=h(E),this.datePipe=h(D),this.filter=new F,this.PageTitle="Convert Sales Order To Invoice";let e=new Date;this.maxDate=e,this.minDate=f.addDays(e,6),this.filter.From=e,this.filter.To=e,this.updatePageTitle()}ngOnInit(){this.initPageLoader()}updatePageTitle(){let e=f.formatTitleFromDate(this.filter.From,this.filter.To),t=this.datePipe.transform(this.filter.From,e),i=this.datePipe.transform(this.filter.To,"dd MMM yyyy");this.PageTitle=`Convert Sales Order To Invoice (${e==null?"":t+"-"} ${i})`}initPageLoader(){this.http.GetLoader().subscribe(e=>{this.filter=e,this.getChannelLogs()})}getChannelLogs(){this.updatePageTitle(),this.http.GetSyncInvoice(this.filter).then(e=>{this.header=e.Header,this.result=e.Body})}onFilter(){this.getChannelLogs()}};o.\u0275fac=function(t){return new(t||o)},o.\u0275cmp=v({type:o,selectors:[["app-convert-invoice"]],standalone:!1,decls:12,vars:5,consts:[[3,"onSubmit","headerTitle","hideSearchBox"],[1,"fw-bold","mb-1"],[1,"mb-4"],["name","From",3,"dateChange","date"],["name","To",3,"dateChange","date"],[1,"container-fluid"],[1,"row","mt-4"],[1,"col-md-12"],[3,"result","header","from","to","type"]],template:function(t,i){t&1&&(r(0,"mainpanel",0),P("onSubmit",function(){return i.onFilter()}),r(1,"filters")(2,"div")(3,"label",1),c(4,"From/To"),l(),r(5,"div",2)(6,"datepicker",3),g("dateChange",function(a){return C(i.filter.From,a)||(i.filter.From=a),a}),l()(),r(7,"div")(8,"datepicker",4),g("dateChange",function(a){return C(i.filter.To,a)||(i.filter.To=a),a}),l()()()(),r(9,"content")(10,"div",5),_(11,Ue,3,5,"div",6),l()()()),t&2&&(p("headerTitle",i.PageTitle)("hideSearchBox",!0),m(6),y("date",i.filter.From),m(2),y("date",i.filter.To),m(3),S(i.result?11:-1))},dependencies:[w,b,R],encapsulation:2});let n=o;return n})();function je(n,o){if(n&1&&(r(0,"div",6)(1,"div",7),T(2,"app-table-report",8),l()()),n&2){let d=u();m(2),p("result",d.result)("header",d.header)("from",d.filter.From)("to",d.filter.To)("type",1)}}var Se=(()=>{let o=class o{constructor(){this.http=h(E),this.datePipe=h(D),this.filter=new F,this.PageTitle="Ready to Ship";let e=new Date;this.maxDate=e,this.minDate=f.addDays(e,6),this.filter.From=e,this.filter.To=e,this.updatePageTitle()}ngOnInit(){this.initPageLoader()}updatePageTitle(){let e=f.formatTitleFromDate(this.filter.From,this.filter.To),t=this.datePipe.transform(this.filter.From,e),i=this.datePipe.transform(this.filter.To,"dd MMM yyyy");this.PageTitle=`Ready to Ship (${e==null?"":t+"-"} ${i})`}initPageLoader(){this.http.GetLoader().subscribe(e=>{this.filter=e,this.getChannelLogs()})}getChannelLogs(){this.updatePageTitle(),this.http.GetSyncInvoice(this.filter).then(e=>{this.header=e.Header,this.result=e.Body})}onFilter(){this.getChannelLogs()}};o.\u0275fac=function(t){return new(t||o)},o.\u0275cmp=v({type:o,selectors:[["app-void-invoice"]],standalone:!1,decls:12,vars:5,consts:[[3,"onSubmit","headerTitle","hideSearchBox"],[1,"fw-bold","mb-1"],[1,"mb-4"],["name","From",3,"dateChange","date"],["name","To",3,"dateChange","date"],[1,"container-fluid"],[1,"row","mt-4"],[1,"col-md-12"],[3,"result","header","from","to","type"]],template:function(t,i){t&1&&(r(0,"mainpanel",0),P("onSubmit",function(){return i.onFilter()}),r(1,"filters")(2,"div")(3,"label",1),c(4,"From/To"),l(),r(5,"div",2)(6,"datepicker",3),g("dateChange",function(a){return C(i.filter.From,a)||(i.filter.From=a),a}),l()(),r(7,"div")(8,"datepicker",4),g("dateChange",function(a){return C(i.filter.To,a)||(i.filter.To=a),a}),l()()()(),r(9,"content")(10,"div",5),_(11,je,3,5,"div",6),l()()()),t&2&&(p("headerTitle",i.PageTitle)("hideSearchBox",!0),m(6),y("date",i.filter.From),m(2),y("date",i.filter.To),m(3),S(i.result?11:-1))},dependencies:[w,b,R],encapsulation:2});let n=o;return n})();var Ve=[{path:"",component:ue,children:[{path:"",redirectTo:"all",pathMatch:"full"},{path:"sync-order",component:ye,canActivate:[I],data:{title:"Sync Order"}},{path:"convert-to-invoice",component:_e,canActivate:[I],data:{title:"Sync Convert to Invoice"}},{path:"invoice",component:Ce,canActivate:[I],data:{title:"Sync Invoice"}},{path:"delivery",component:ge,canActivate:[I],data:{title:"Sync Delivery"}},{path:"payment",component:Te,canActivate:[I],data:{title:"Sync Payment"}},{path:"void-invoice",component:Se,canActivate:[I],data:{title:"Sync void invoice"}},{path:"all",component:ve,canActivate:[I],data:{title:"All Report"}}]}],hi=(()=>{let o=class o{};o.\u0275fac=function(t){return new(t||o)},o.\u0275mod=$({type:o}),o.\u0275inj=Y({imports:[ae,fe,se,he,b,de.forChild(Ve)]});let n=o;return n})();export{hi as OrderModule};
@@ -0,0 +1 @@
1
+ import{a as f}from"./chunk-XF2QZL6C.js";import{b as l}from"./chunk-A7PUMY67.js";import"./chunk-Q4AWQ7IC.js";import"./chunk-QXRG5XYP.js";import"./chunk-RXLMJGUY.js";import"./chunk-AGBJEXIM.js";import"./chunk-OXWPYJNB.js";import"./chunk-XBIHN6D3.js";import"./chunk-JBEKD57G.js";import{n as u}from"./chunk-EDEZ3JLR.js";import{A as d}from"./chunk-L3W6SG2T.js";import"./chunk-YTHY4IFS.js";import"./chunk-ZETUYNFJ.js";import"./chunk-STYL7ETF.js";import"./chunk-XLIPGDSC.js";import{E as c,I as m,m as n}from"./chunk-LNJUGHOX.js";import{Gb as a,Hb as i,jc as s,na as r}from"./chunk-ZYJ6LAJ3.js";import"./chunk-WFMAM73Y.js";import"./chunk-66YHNWRR.js";var M=(()=>{let t=class t{constructor(){}};t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=a({type:t,selectors:[["app-report"]],standalone:!1,decls:1,vars:0,template:function(e,O){e&1&&s(0,"router-outlet")},dependencies:[c],styles:["ul[_ngcontent-%COMP%] > li.dropdown-item[_ngcontent-%COMP%]{font-size:.6875rem!important}"]});let o=t;return o})();var y=[{path:"",component:M,children:[{path:"",redirectTo:"order",pathMatch:"full"},{path:"order",loadChildren:()=>import("./chunk-IWFUFVCC.js").then(o=>o.OrderModule),canActivate:[f]}]}],C=(()=>{let t=class t{};t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=i({type:t}),t.\u0275inj=r({imports:[n,m.forChild(y)]});let o=t;return o})();var b=(()=>{let t=class t{};t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=i({type:t}),t.\u0275inj=r({imports:[n,l,C,d,u,m]});let o=t;return o})();export{b as ReportModule};
@@ -0,0 +1 @@
1
+ import{e as G}from"./chunk-6KWG6O5L.js";import{a as q}from"./chunk-BYTWGXP7.js";import"./chunk-3JRUKSV3.js";import"./chunk-SJ5MC42H.js";import"./chunk-4RLWHMI6.js";import"./chunk-NWB7EVME.js";import"./chunk-AFDI4TD4.js";import"./chunk-4RG5YR7N.js";import"./chunk-5MV3UFJQ.js";import"./chunk-E6AMKEQR.js";import"./chunk-IGKMJFKP.js";import"./chunk-ITGVXYDV.js";import"./chunk-HK5FXZE4.js";import"./chunk-KJE5GRQ4.js";import"./chunk-4ILDFTIG.js";import"./chunk-A6QXXKPR.js";import"./chunk-Q4AWQ7IC.js";import"./chunk-QXRG5XYP.js";import"./chunk-RXLMJGUY.js";import"./chunk-M4ZE35XK.js";import"./chunk-L7WZ6U4T.js";import"./chunk-LOWGZOML.js";import"./chunk-5PMKN6PM.js";import{a as J}from"./chunk-AGBJEXIM.js";import{b as F,e as H}from"./chunk-OXWPYJNB.js";import"./chunk-XBIHN6D3.js";import"./chunk-JBEKD57G.js";import{m as U,n as Y}from"./chunk-EDEZ3JLR.js";import{A as j,c as B,h as I,m as R}from"./chunk-L3W6SG2T.js";import"./chunk-YTHY4IFS.js";import"./chunk-ZETUYNFJ.js";import"./chunk-STYL7ETF.js";import"./chunk-XLIPGDSC.js";import{i as P,k as W,m as k}from"./chunk-LNJUGHOX.js";import{$b as N,Gb as M,Ha as g,Mc as i,Nc as T,Qc as b,Rc as v,Sc as _,Tc as V,Uc as D,Vc as S,Z as x,bc as O,gc as f,hc as e,hd as w,ic as t,id as y,jc as L,nb as d,qc as E,ra as h,vc as C,xa as s,xc as A,ya as c}from"./chunk-ZYJ6LAJ3.js";import"./chunk-WFMAM73Y.js";import"./chunk-66YHNWRR.js";function K(o,l){if(o&1&&(e(0,"pre",21),i(1),w(2,"json"),t()),o&2){A();let z=S(25);d(),T(y(2,1,z))}}function Q(o,l){o&1&&(e(0,"p",22),i(1," Your data will be shown here once it's available "),t())}var ue=(()=>{let l=class l{constructor(){this.httpService=h(H),this.toastr=h(F),this.selectedChannel=g(null),this.orderNumber=g(null)}fetchLog(){if(!this.selectedChannel()||!this.orderNumber()){this.toastr.warning("Please select a channel and enter an order number","Warning");return}this.orderLog$=this.httpService.post(J.GetOrderApiLog,{ChannelID:this.selectedChannel(),OrderNumber:this.orderNumber()}).pipe(x(1))}copyToClipboard(p){if(!p)return;let m=typeof p=="string"?p:JSON.stringify(p,null,2);navigator.clipboard.writeText(m),this.toastr.success("Copied to clipboard!","Success")}};l.\u0275fac=function(m){return new(m||l)},l.\u0275cmp=M({type:l,selectors:[["app-order-api"]],decls:40,vars:9,consts:[["headerTitle","Origin Order Api",3,"hideSearchBox","hideSearchDropdown"],[1,"btn","btn-success","btn-fill","me-3",3,"click"],[1,"fa","fa-search"],[1,"container-fluid","mt-8","px-10"],[1,"row"],[1,"col-7"],[1,"d-flex","align-items-center"],[1,"w-75"],[1,"mb-0","text-muted","fst-italic"],[1,"w-100"],[3,"ngModelChange","ngModel"],[1,"d-flex","align-items-center","mt-3"],["type","text","placeholder","Order Number or Invoice Number",1,"form-control","rounded-1",2,"height","40px",3,"ngModelChange","ngModel"],[1,"row","mt-6"],[1,"col-12"],[1,"card"],[1,"card-header","d-flex","justify-content-between","align-items-center"],["type","button",1,"btn","btn-sm","btn-outline-primary",3,"click","disabled"],[1,"card-body"],[1,"col-sm-12"],[1,"form-group","position-relative"],["id","orderLogText"],[1,"text-center","my-12","text-muted"]],template:function(m,n){if(m&1){let a=E();e(0,"mainpanel",0)(1,"actions")(2,"button",1),C("click",function(){return s(a),c(n.fetchLog())}),L(3,"i",2),i(4," Search "),t()(),e(5,"content")(6,"div",3)(7,"div",4)(8,"div",5)(9,"div",6)(10,"div",7)(11,"h6"),i(12,"Channel"),t(),e(13,"p",8),i(14," View logs related to Order API activities. "),t()(),e(15,"div",9)(16,"app-channel-options-v2",10),_("ngModelChange",function(r){return s(a),v(n.selectedChannel,r)||(n.selectedChannel=r),c(r)}),t()()(),e(17,"div",11)(18,"div",7)(19,"h6"),i(20,"Order Number"),t(),e(21,"p",8),i(22," Order or Invoice number from Channel. "),t()(),e(23,"div",9)(24,"input",12),_("ngModelChange",function(r){return s(a),v(n.orderNumber,r)||(n.orderNumber=r),c(r)}),t()()()()(),V(25),w(26,"async"),e(27,"div",13)(28,"div",14)(29,"div",15)(30,"div",16)(31,"h5"),i(32,"Response"),t(),e(33,"button",17),C("click",function(){s(a);let r=S(25);return c(n.copyToClipboard(r))}),i(34," Copy "),t()(),e(35,"div",18)(36,"div",19)(37,"div",20),N(38,K,3,3,"pre",21)(39,Q,2,0,"p",22),t()()()()()()()()()}if(m&2){f("hideSearchBox",!0)("hideSearchDropdown",!0),d(16),b("ngModel",n.selectedChannel),d(8),b("ngModel",n.orderNumber),d();let a=D(y(26,6,n.orderLog$));d(8),f("disabled",!a),d(5),O(a?38:39)}},dependencies:[k,Y,U,G,j,B,I,R,q,P,W],encapsulation:2});let o=l;return o})();export{ue as OrderApiComponent};