marketplacepos 6.19.0 → 6.22.0

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 (274) hide show
  1. package/Marketplace/{chunk-36LKCSM2.js → chunk-244VLQKF.js} +1 -1
  2. package/Marketplace/{chunk-QBRLS5J4.js → chunk-2G66XQCT.js} +1 -1
  3. package/Marketplace/chunk-2IHYISMS.js +1 -0
  4. package/Marketplace/{chunk-Z2JUFVEC.js → chunk-2L56RCRG.js} +1 -1
  5. package/Marketplace/chunk-2OISU56P.js +1 -0
  6. package/Marketplace/chunk-2PONPJQD.js +2 -0
  7. package/Marketplace/{chunk-IRD67CHJ.js → chunk-2QRSAAJG.js} +1 -1
  8. package/Marketplace/chunk-2SCD4QZY.js +193 -0
  9. package/Marketplace/{chunk-NGMSEBXY.js → chunk-2VWSIT3Y.js} +1 -1
  10. package/Marketplace/{chunk-VVW65V7P.js → chunk-2Y5AHQAF.js} +1 -1
  11. package/Marketplace/{chunk-QTPHQFF6.js → chunk-2YQUTPTY.js} +1 -1
  12. package/Marketplace/{chunk-NRLFWA4W.js → chunk-35NXZ6CO.js} +1 -1
  13. package/Marketplace/{chunk-AKXKYRV4.js → chunk-3ANHDTTL.js} +1 -1
  14. package/Marketplace/{chunk-Z7W2JO3S.js → chunk-3LVJIRWN.js} +1 -1
  15. package/Marketplace/chunk-3ST6WSBQ.js +5 -0
  16. package/Marketplace/{chunk-COWHSAON.js → chunk-3WG7LTIE.js} +1 -1
  17. package/Marketplace/{chunk-37OESP7B.js → chunk-3YUDY74I.js} +1 -1
  18. package/Marketplace/chunk-4524FIGX.js +1 -0
  19. package/Marketplace/{chunk-NTWBF7FL.js → chunk-45IJOZB6.js} +1 -1
  20. package/Marketplace/{chunk-YJQOSNK6.js → chunk-4AL6NJY5.js} +1 -1
  21. package/Marketplace/{chunk-RCAFDVFQ.js → chunk-4KZRIGX5.js} +1 -1
  22. package/Marketplace/{chunk-32HSZCBG.js → chunk-4MYXPN55.js} +1 -1
  23. package/Marketplace/{chunk-7BQYN4GT.js → chunk-4PIQA6ZR.js} +1 -1
  24. package/Marketplace/chunk-4W5KKUO4.js +1 -0
  25. package/Marketplace/{chunk-F3P5RHY4.js → chunk-4WJK345L.js} +1 -1
  26. package/Marketplace/{chunk-GOGRK2G4.js → chunk-4YZPQBFT.js} +1 -1
  27. package/Marketplace/{chunk-63LSQDMA.js → chunk-4ZN3KFH3.js} +1 -1
  28. package/Marketplace/{chunk-CLJK4GVI.js → chunk-56LJVP66.js} +1 -1
  29. package/Marketplace/{chunk-D5XV3F5J.js → chunk-56UGSRXX.js} +1 -1
  30. package/Marketplace/{chunk-YJISN3PE.js → chunk-57CKIZCD.js} +1 -1
  31. package/Marketplace/chunk-5CH6HZVM.js +1 -0
  32. package/Marketplace/chunk-5DREDFZJ.js +1 -0
  33. package/Marketplace/{chunk-G5DPFGUC.js → chunk-5DRZPE5O.js} +1 -1
  34. package/Marketplace/chunk-5NYVKJK6.js +1 -0
  35. package/Marketplace/{chunk-OKKGHENO.js → chunk-5YFF6ZKM.js} +1 -1
  36. package/Marketplace/{chunk-OCT64TN4.js → chunk-62RU3NV6.js} +1 -1
  37. package/Marketplace/{chunk-SGB73VYO.js → chunk-6FXTADPI.js} +1 -1
  38. package/Marketplace/chunk-6IWZMDNC.js +1 -0
  39. package/Marketplace/{chunk-5D44RPPS.js → chunk-6NVZHDBR.js} +1 -1
  40. package/Marketplace/{chunk-KOPZ4AUH.js → chunk-6SCWPWLK.js} +1 -1
  41. package/Marketplace/chunk-6SXNTYJP.js +1 -0
  42. package/Marketplace/{chunk-BPC3UE7K.js → chunk-7OQSPY2H.js} +1 -1
  43. package/Marketplace/chunk-7WOQFYPC.js +3 -0
  44. package/Marketplace/{chunk-2QSN46Q7.js → chunk-7YP3O2JY.js} +1 -1
  45. package/Marketplace/{chunk-42F2XHMN.js → chunk-A2K3CDHY.js} +1 -1
  46. package/Marketplace/{chunk-A7RDSABB.js → chunk-AC5VHQLG.js} +1 -1
  47. package/Marketplace/chunk-B34DYK6B.js +1 -0
  48. package/Marketplace/{chunk-B32YXHS3.js → chunk-BBTUZTLI.js} +1 -1
  49. package/Marketplace/chunk-BDLDA52S.js +1 -0
  50. package/Marketplace/{chunk-VFDR5NPN.js → chunk-BDUUVK5L.js} +1 -1
  51. package/Marketplace/{chunk-LTASTRU4.js → chunk-BKB3Y5UC.js} +1 -1
  52. package/Marketplace/{chunk-A2ISS3K6.js → chunk-BQCLUDBO.js} +1 -1
  53. package/Marketplace/{chunk-HTOHEGB7.js → chunk-C57MMZXM.js} +1 -1
  54. package/Marketplace/{chunk-NDIBZOU6.js → chunk-CB534HG5.js} +1 -1
  55. package/Marketplace/{chunk-7HJRODVG.js → chunk-CJTVOKLJ.js} +1 -1
  56. package/Marketplace/{chunk-56C34CV5.js → chunk-CKU644YK.js} +1 -1
  57. package/Marketplace/{chunk-BATP3UT2.js → chunk-CMVXOWNF.js} +1 -1
  58. package/Marketplace/{chunk-5NEIE5HB.js → chunk-CXGF2BT5.js} +1 -1
  59. package/Marketplace/chunk-CY46TZPM.js +1 -0
  60. package/Marketplace/{chunk-ZTKWKQRJ.js → chunk-D7WVAWLI.js} +1 -1
  61. package/Marketplace/{chunk-KHG2CM5S.js → chunk-DBO3A6IW.js} +1 -1
  62. package/Marketplace/{chunk-SW3PJVJ6.js → chunk-DGB7L5EQ.js} +1 -1
  63. package/Marketplace/chunk-DPTAAF3J.js +1 -0
  64. package/Marketplace/{chunk-UDRFFKP5.js → chunk-DR6WXVOU.js} +1 -1
  65. package/Marketplace/{chunk-IZAH5TUX.js → chunk-DRTTOWOD.js} +1 -1
  66. package/Marketplace/{chunk-F6BYXNHF.js → chunk-DWK5LWMW.js} +1 -1
  67. package/Marketplace/{chunk-BBDEOGZB.js → chunk-DWW6X4IM.js} +1 -1
  68. package/Marketplace/chunk-EDCMYDUE.js +1 -0
  69. package/Marketplace/{chunk-MMOZES77.js → chunk-EISQQYRT.js} +1 -1
  70. package/Marketplace/{chunk-XA2GD2PT.js → chunk-ES53NVZX.js} +1 -1
  71. package/Marketplace/chunk-F62HZQOU.js +1 -0
  72. package/Marketplace/{chunk-7Y3NVT7M.js → chunk-F7RHG53H.js} +1 -1
  73. package/Marketplace/{chunk-UPP7PYWV.js → chunk-FDYHLFQ3.js} +1 -1
  74. package/Marketplace/chunk-FKN5A6EJ.js +1 -0
  75. package/Marketplace/{chunk-365O4SS2.js → chunk-G6GWLK6Z.js} +1 -1
  76. package/Marketplace/{chunk-S5RARZKI.js → chunk-GDXMRTPG.js} +1 -1
  77. package/Marketplace/{chunk-JU6FJIOF.js → chunk-GF2RVIIT.js} +1 -1
  78. package/Marketplace/{chunk-OENELFWU.js → chunk-GK6WYUPQ.js} +1 -1
  79. package/Marketplace/{chunk-IJUOFCA2.js → chunk-GLL2GK36.js} +1 -1
  80. package/Marketplace/{chunk-P32P7ZKJ.js → chunk-GZ5PWFSY.js} +1 -1
  81. package/Marketplace/{chunk-2ZZNLHWW.js → chunk-HA5CI7HP.js} +1 -1
  82. package/Marketplace/chunk-HBI7IZYG.js +1 -0
  83. package/Marketplace/{chunk-7W2KUJR5.js → chunk-HH4B5NMB.js} +1 -1
  84. package/Marketplace/chunk-HK3HPBO6.js +5 -0
  85. package/Marketplace/{chunk-SZPHSLCO.js → chunk-HLHEFDRO.js} +2 -2
  86. package/Marketplace/chunk-HLXMHLKA.js +1 -0
  87. package/Marketplace/{chunk-ZDZED34Z.js → chunk-I3MUX5O7.js} +1 -1
  88. package/Marketplace/{chunk-SH7PSBLU.js → chunk-I4MUFYEG.js} +1 -1
  89. package/Marketplace/{chunk-DW5H6W2C.js → chunk-I5LMJBPL.js} +1 -1
  90. package/Marketplace/{chunk-VHO2MFOQ.js → chunk-I7CNRYKA.js} +1 -1
  91. package/Marketplace/{chunk-2SUANHOV.js → chunk-IFFI5CMD.js} +1 -1
  92. package/Marketplace/{chunk-ISOXSZIS.js → chunk-IR2SK4HW.js} +1 -1
  93. package/Marketplace/{chunk-LR2HY6YC.js → chunk-ISRTMJUH.js} +1 -1
  94. package/Marketplace/{chunk-4LHR7JAU.js → chunk-ITKXL7DT.js} +1 -1
  95. package/Marketplace/{chunk-54L2OUK3.js → chunk-IYP3FT4Q.js} +1 -1
  96. package/Marketplace/{chunk-OPYTMXMU.js → chunk-JHO4CEDK.js} +1 -1
  97. package/Marketplace/{chunk-NWHKY2P7.js → chunk-JLY2L5QD.js} +1 -1
  98. package/Marketplace/{chunk-3KO72EN7.js → chunk-JSFPYH26.js} +1 -1
  99. package/Marketplace/{chunk-7N33NRDX.js → chunk-JUQXSH2K.js} +1 -1
  100. package/Marketplace/chunk-JWM6OJIQ.js +1 -0
  101. package/Marketplace/chunk-JXTOHV3U.js +1 -0
  102. package/Marketplace/chunk-K227XGG2.js +88 -0
  103. package/Marketplace/{chunk-67HYWVMS.js → chunk-K6KO37S2.js} +1 -1
  104. package/Marketplace/chunk-KCXC4XYC.js +4 -0
  105. package/Marketplace/{chunk-A664VTNX.js → chunk-KMEVPGD4.js} +1 -1
  106. package/Marketplace/chunk-KUKJOHU7.js +5 -0
  107. package/Marketplace/chunk-KX3SCV5R.js +1 -0
  108. package/Marketplace/{chunk-RILPPD47.js → chunk-KYVPJVZX.js} +1 -1
  109. package/Marketplace/{chunk-24WQV4GR.js → chunk-L2ENNT5V.js} +1 -1
  110. package/Marketplace/{chunk-65B3CW4H.js → chunk-LCIOJHJ4.js} +1 -1
  111. package/Marketplace/{chunk-VSMFVCAN.js → chunk-LM6HVLKP.js} +1 -1
  112. package/Marketplace/chunk-LP7TJKZM.js +2 -0
  113. package/Marketplace/{chunk-JK3YUTMR.js → chunk-LYB6WC66.js} +1 -1
  114. package/Marketplace/{chunk-UB4NDUUT.js → chunk-M5YUVUTR.js} +1 -1
  115. package/Marketplace/{chunk-TZKJPNYV.js → chunk-M65GNQVQ.js} +1 -1
  116. package/Marketplace/chunk-MKENTZJA.js +258 -0
  117. package/Marketplace/chunk-MLQKT6FW.js +2 -0
  118. package/Marketplace/{chunk-ZF5KQSJ4.js → chunk-MMGI42DQ.js} +1 -1
  119. package/Marketplace/{chunk-TI7Z2DZM.js → chunk-MPZOVHE7.js} +1 -1
  120. package/Marketplace/{chunk-3ZLKAFXU.js → chunk-MWUZF6ZW.js} +1 -1
  121. package/Marketplace/{chunk-OKMFQVL4.js → chunk-MZRZ7VV3.js} +1 -1
  122. package/Marketplace/{chunk-2SOE3U6K.js → chunk-N5UVIRO3.js} +1 -1
  123. package/Marketplace/{chunk-U5MTAUWW.js → chunk-N77J6LFN.js} +1 -1
  124. package/Marketplace/{chunk-CXQKMNR2.js → chunk-NDOVDHNA.js} +1 -1
  125. package/Marketplace/{chunk-4JJE5JHZ.js → chunk-NHDG2POP.js} +1 -1
  126. package/Marketplace/chunk-NLKDWUN2.js +7 -0
  127. package/Marketplace/chunk-NNVT5X6O.js +1 -0
  128. package/Marketplace/{chunk-RW5XHGSL.js → chunk-NQE35LLP.js} +1 -1
  129. package/Marketplace/{chunk-YZL5QTHK.js → chunk-NYZCZKVR.js} +1 -1
  130. package/Marketplace/{chunk-ZU7IFJTM.js → chunk-O4XVR5MY.js} +1 -1
  131. package/Marketplace/{chunk-JQCO6BLN.js → chunk-ODLKDM5E.js} +1 -1
  132. package/Marketplace/{chunk-BFIQ4SOP.js → chunk-OHWWUHYC.js} +1 -1
  133. package/Marketplace/{chunk-TEPGHGSB.js → chunk-OJ4GCASY.js} +1 -1
  134. package/Marketplace/chunk-OKV4JO3H.js +1 -0
  135. package/Marketplace/chunk-OO3IAMEH.js +278 -0
  136. package/Marketplace/{chunk-32OSPXJU.js → chunk-OO4HXSYZ.js} +1 -1
  137. package/Marketplace/chunk-OSJJUMRX.js +1 -0
  138. package/Marketplace/chunk-OY5DRMBF.js +1 -0
  139. package/Marketplace/{chunk-IOSMSIMJ.js → chunk-P6BSXX22.js} +1 -1
  140. package/Marketplace/chunk-P6EDV7BS.js +1 -0
  141. package/Marketplace/chunk-PATNTVKG.js +2 -0
  142. package/Marketplace/chunk-PKKXSYCL.js +1 -0
  143. package/Marketplace/{chunk-OW72HS7D.js → chunk-PQ6DPGWV.js} +1 -1
  144. package/Marketplace/chunk-PQPEJIAL.js +1 -0
  145. package/Marketplace/{chunk-ISJ4LKGT.js → chunk-PRLMMKRO.js} +1 -1
  146. package/Marketplace/{chunk-UMLUJN5P.js → chunk-Q7UN5YVX.js} +1 -1
  147. package/Marketplace/{chunk-BARR5VVZ.js → chunk-Q7WVJNGW.js} +1 -1
  148. package/Marketplace/{chunk-T33JLUIT.js → chunk-QEDAXV24.js} +1 -1
  149. package/Marketplace/{chunk-TT6CCLM2.js → chunk-RCMEZOHR.js} +1 -1
  150. package/Marketplace/chunk-RLJV7KPA.js +2 -0
  151. package/Marketplace/{chunk-GGZDFRFZ.js → chunk-RP6G2CES.js} +1 -1
  152. package/Marketplace/{chunk-JLWI4DHM.js → chunk-RRBAJSPM.js} +1 -1
  153. package/Marketplace/chunk-RVHJIVQ5.js +1 -0
  154. package/Marketplace/chunk-S2WR2TK3.js +1 -0
  155. package/Marketplace/{chunk-P2PEXPLR.js → chunk-SDVLGBHM.js} +1 -1
  156. package/Marketplace/{chunk-DHKYJUQU.js → chunk-SHS3ZU2J.js} +1 -1
  157. package/Marketplace/{chunk-BLDOT3XP.js → chunk-SLWXAEF5.js} +1 -1
  158. package/Marketplace/{chunk-TLJY2ATV.js → chunk-SP6VEAD4.js} +1 -1
  159. package/Marketplace/chunk-SVHFUSF7.js +1 -0
  160. package/Marketplace/chunk-SXNXUPKF.js +1 -0
  161. package/Marketplace/chunk-TD3AK63C.js +1 -0
  162. package/Marketplace/{chunk-2JS4LVCG.js → chunk-TM7PL3CC.js} +1 -1
  163. package/Marketplace/chunk-TPJEJZPT.js +1 -0
  164. package/Marketplace/{chunk-5TH35CMP.js → chunk-TRTDBHQI.js} +1 -1
  165. package/Marketplace/chunk-TU36EMEQ.js +1 -0
  166. package/Marketplace/{chunk-AYV5TW7O.js → chunk-TVKTNDDY.js} +1 -1
  167. package/Marketplace/chunk-U3I763EU.js +1 -0
  168. package/Marketplace/{chunk-YG4NUBEY.js → chunk-UAAZUK72.js} +1 -1
  169. package/Marketplace/{chunk-GVNUAV72.js → chunk-UB22GZAR.js} +1 -1
  170. package/Marketplace/chunk-UEDA5PQ4.js +1 -0
  171. package/Marketplace/{chunk-2DV24JBD.js → chunk-UJUCV25K.js} +1 -1
  172. package/Marketplace/{chunk-NXRGI7CZ.js → chunk-URBCYMW2.js} +1 -1
  173. package/Marketplace/{chunk-G75V2E4K.js → chunk-URNP457I.js} +1 -1
  174. package/Marketplace/chunk-UW3QQ7BU.js +1 -0
  175. package/Marketplace/{chunk-CO4RYE2Z.js → chunk-V3PUPGL5.js} +1 -1
  176. package/Marketplace/{chunk-XVTWP76Q.js → chunk-VRASOOOY.js} +1 -1
  177. package/Marketplace/chunk-VXM5Y4GR.js +1 -0
  178. package/Marketplace/{chunk-RUUPFOQL.js → chunk-VZICRLRA.js} +1 -1
  179. package/Marketplace/chunk-W2AILV7A.js +1 -0
  180. package/Marketplace/{chunk-DCHKF6RJ.js → chunk-WDIDEDCE.js} +1 -1
  181. package/Marketplace/chunk-WMHHX2LJ.js +1 -0
  182. package/Marketplace/chunk-WNEB2NXG.js +1 -0
  183. package/Marketplace/{chunk-A5JZTVK5.js → chunk-WVBU7AQM.js} +1 -1
  184. package/Marketplace/{chunk-QJEZSBZH.js → chunk-WWNKS3RN.js} +1 -1
  185. package/Marketplace/{chunk-Q2SYKVKJ.js → chunk-WXZ5XRM6.js} +1 -1
  186. package/Marketplace/{chunk-ECSX5ZE4.js → chunk-WYCTV5VQ.js} +1 -1
  187. package/Marketplace/chunk-X22WXNSF.js +1 -0
  188. package/Marketplace/chunk-X6EJH5QJ.js +1 -0
  189. package/Marketplace/chunk-XDMW4WCU.js +1 -0
  190. package/Marketplace/{chunk-34ILCW6U.js → chunk-XDRKSCAR.js} +1 -1
  191. package/Marketplace/chunk-XP4L6ZIN.js +1 -0
  192. package/Marketplace/chunk-XPKA4JBS.js +1 -0
  193. package/Marketplace/chunk-XPMYA22A.js +1409 -0
  194. package/Marketplace/chunk-XS4UYWEQ.js +1 -0
  195. package/Marketplace/{chunk-42WHRMNF.js → chunk-XYZ53LBF.js} +1 -1
  196. package/Marketplace/{chunk-CHIKNMH5.js → chunk-YCWTJUQA.js} +1 -1
  197. package/Marketplace/{chunk-7X3SWRGG.js → chunk-YOYMZEPB.js} +1 -1
  198. package/Marketplace/{chunk-JE2WUBFR.js → chunk-YYY663CV.js} +1 -1
  199. package/Marketplace/chunk-Z55JNCKA.js +1 -0
  200. package/Marketplace/{chunk-VHZANZHX.js → chunk-ZA4X34GE.js} +1 -1
  201. package/Marketplace/chunk-ZELFDGUD.js +1 -0
  202. package/Marketplace/{chunk-XQP3JKDZ.js → chunk-ZPW7UOIC.js} +1 -1
  203. package/Marketplace/chunk-ZYM7WJMC.js +1 -0
  204. package/Marketplace/index.html +2 -2
  205. package/Marketplace/{main-TEMA7UIC.js → main-47GB3QAH.js} +2 -2
  206. package/package.json +1 -1
  207. package/Marketplace/chunk-2G2ZG7P4.js +0 -1
  208. package/Marketplace/chunk-2LTHZRWP.js +0 -1
  209. package/Marketplace/chunk-32SEKQJM.js +0 -4
  210. package/Marketplace/chunk-3GYZZ3EG.js +0 -1
  211. package/Marketplace/chunk-42BVLTJ4.js +0 -258
  212. package/Marketplace/chunk-4NNXFIUJ.js +0 -2
  213. package/Marketplace/chunk-4WC3IZRX.js +0 -1
  214. package/Marketplace/chunk-7EVPQZ6Q.js +0 -1
  215. package/Marketplace/chunk-7UHWXWA2.js +0 -1
  216. package/Marketplace/chunk-ANUE2E7J.js +0 -1
  217. package/Marketplace/chunk-BI4K5Y2V.js +0 -2
  218. package/Marketplace/chunk-BX3QTIHM.js +0 -1
  219. package/Marketplace/chunk-CN7KD52R.js +0 -1
  220. package/Marketplace/chunk-D2JA34H7.js +0 -1
  221. package/Marketplace/chunk-D5FA3NGH.js +0 -1413
  222. package/Marketplace/chunk-DDSBZSY4.js +0 -1
  223. package/Marketplace/chunk-EGTLH4SZ.js +0 -84
  224. package/Marketplace/chunk-ESO5REBW.js +0 -1
  225. package/Marketplace/chunk-F5Z5UY7J.js +0 -104
  226. package/Marketplace/chunk-FHIF25KA.js +0 -1
  227. package/Marketplace/chunk-FNTPBTTV.js +0 -1
  228. package/Marketplace/chunk-FUTK6QMY.js +0 -7
  229. package/Marketplace/chunk-FWUEMMUS.js +0 -1
  230. package/Marketplace/chunk-GBMLCFTT.js +0 -1
  231. package/Marketplace/chunk-GCSJ6NJM.js +0 -1
  232. package/Marketplace/chunk-H726YK3G.js +0 -3
  233. package/Marketplace/chunk-HRWFHHKF.js +0 -1
  234. package/Marketplace/chunk-IQR2WEDT.js +0 -1
  235. package/Marketplace/chunk-IYZVUNAY.js +0 -1
  236. package/Marketplace/chunk-JFGCW6ML.js +0 -2
  237. package/Marketplace/chunk-JJKP3GRX.js +0 -1
  238. package/Marketplace/chunk-K5T4OQRD.js +0 -2
  239. package/Marketplace/chunk-L63YO3M7.js +0 -1
  240. package/Marketplace/chunk-LU4HPRNF.js +0 -1
  241. package/Marketplace/chunk-LWQZVL5N.js +0 -5
  242. package/Marketplace/chunk-LZMNV472.js +0 -1
  243. package/Marketplace/chunk-M7NBK4HY.js +0 -1
  244. package/Marketplace/chunk-NDRU6FBJ.js +0 -1
  245. package/Marketplace/chunk-O6WEDFF6.js +0 -1
  246. package/Marketplace/chunk-OMH57KD7.js +0 -1
  247. package/Marketplace/chunk-OSVST5NN.js +0 -1
  248. package/Marketplace/chunk-OZQZGYOJ.js +0 -1
  249. package/Marketplace/chunk-PKFPPYOR.js +0 -1
  250. package/Marketplace/chunk-POKR5NDC.js +0 -1
  251. package/Marketplace/chunk-PUFSSODE.js +0 -1
  252. package/Marketplace/chunk-QJBMZORV.js +0 -1
  253. package/Marketplace/chunk-QOMGXG3D.js +0 -1
  254. package/Marketplace/chunk-QWTYBPTC.js +0 -1
  255. package/Marketplace/chunk-R4E2KUA4.js +0 -90
  256. package/Marketplace/chunk-REDZXDT4.js +0 -1
  257. package/Marketplace/chunk-RMM4HPQP.js +0 -1
  258. package/Marketplace/chunk-RSIF3XW6.js +0 -1
  259. package/Marketplace/chunk-RZ7XRGOD.js +0 -1
  260. package/Marketplace/chunk-S556CT7K.js +0 -5
  261. package/Marketplace/chunk-T6KWZJ5S.js +0 -1
  262. package/Marketplace/chunk-TACHWGFG.js +0 -1
  263. package/Marketplace/chunk-TAUSJXWP.js +0 -2
  264. package/Marketplace/chunk-TCEDNSUD.js +0 -5
  265. package/Marketplace/chunk-TOEAJ56H.js +0 -1
  266. package/Marketplace/chunk-TT3DAJWO.js +0 -1
  267. package/Marketplace/chunk-USQRFHZB.js +0 -1
  268. package/Marketplace/chunk-V66GUTDK.js +0 -1
  269. package/Marketplace/chunk-VTOHO6GD.js +0 -1
  270. package/Marketplace/chunk-WBJ6ZGVS.js +0 -278
  271. package/Marketplace/chunk-XBEUN56L.js +0 -1
  272. package/Marketplace/chunk-XMFNGNU5.js +0 -1
  273. package/Marketplace/chunk-Y3RBQXHH.js +0 -1
  274. package/Marketplace/chunk-YZVMGFZA.js +0 -1
@@ -1,4 +1,4 @@
1
- import{a as J,b as Zt}from"./chunk-REDZXDT4.js";import"./chunk-BKR7YPEW.js";import{b as zt}from"./chunk-G5DPFGUC.js";import"./chunk-OKMFQVL4.js";import"./chunk-TZKJPNYV.js";import"./chunk-3ZLKAFXU.js";import{b as Ht,c as qt}from"./chunk-YJQOSNK6.js";import"./chunk-LTASTRU4.js";import"./chunk-POKR5NDC.js";import"./chunk-LR2HY6YC.js";import"./chunk-JFGCW6ML.js";import"./chunk-L63YO3M7.js";import{b as Vt}from"./chunk-A2ISS3K6.js";import{D as Dt,G as Mt,H as K,M as Q,N as Pt,O as Rt,P as W,Q as Ot,T as Ft,Y as jt,_ as Nt,ba as Lt,f as kt,o as St,t as Tt,v as Et}from"./chunk-2JS4LVCG.js";import"./chunk-FDTKJPLI.js";import"./chunk-TACHWGFG.js";import"./chunk-IOSMSIMJ.js";import"./chunk-MMOZES77.js";import"./chunk-UB4NDUUT.js";import{b as wt,d as At,e as Bt,g as It}from"./chunk-JLWI4DHM.js";import"./chunk-ZTKWKQRJ.js";import{A as yt,B as gt,x as xt,z as Ct}from"./chunk-BI4K5Y2V.js";import"./chunk-ASFPLYOZ.js";import{$b as b,Bc as pt,Ca as rt,Cc as $,Da as N,Dc as G,Eb as I,Fb as L,Ga as z,Gb as E,Jb as lt,Jc as ut,Kb as dt,Lc as ft,Mc as r,Nc as u,Oc as C,Pa as st,V as nt,Wc as _t,Xb as mt,Y as at,Zc as ht,_ as ot,bc as v,bd as bt,cc as q,d as g,ec as Z,fc as U,gc as P,hc as o,hd as _,ia as O,ic as a,id as y,ja as F,jc as f,jd as V,la as A,mb as c,na as d,o as it,qc as D,sb as H,tb as ct,ua as S,va as T,vc as x,xc as p,ya as B,za as j,zd as vt}from"./chunk-32SEKQJM.js";import"./chunk-WFMAM73Y.js";import{a as k}from"./chunk-66YHNWRR.js";var X=class{_document;_textarea;constructor(l,t){this._document=t;let e=this._textarea=this._document.createElement("textarea"),n=e.style;n.position="fixed",n.top=n.opacity="0",n.left="-999em",e.setAttribute("aria-hidden","true"),e.value=l,e.readOnly=!0,(this._document.fullscreenElement||this._document.body).appendChild(e)}copy(){let l=this._textarea,t=!1;try{if(l){let e=this._document.activeElement;l.select(),l.setSelectionRange(0,l.value.length),t=this._document.execCommand("copy"),e&&e.focus()}}catch{}return t}destroy(){let l=this._textarea;l&&(l.remove(),this._textarea=void 0)}},Yt=(()=>{class i{_document=d(j);constructor(){}copy(t){let e=this.beginCopy(t),n=e.copy();return e.destroy(),n}beginCopy(t){return new X(t,this._document)}static \u0275fac=function(e){return new(e||i)};static \u0275prov=O({token:i,factory:i.\u0275fac,providedIn:"root"})}return i})(),te=new A("CDK_COPY_TO_CLIPBOARD_CONFIG"),$t=(()=>{class i{_clipboard=d(Yt);_ngZone=d(N);text="";attempts=1;copied=new rt;_pending=new Set;_destroyed;_currentTimeout;constructor(){let t=d(te,{optional:!0});t&&t.attempts!=null&&(this.attempts=t.attempts)}copy(t=this.attempts){if(t>1){let e=t,n=this._clipboard.beginCopy(this.text);this._pending.add(n);let s=()=>{let m=n.copy();!m&&--e&&!this._destroyed?this._currentTimeout=this._ngZone.runOutsideAngular(()=>setTimeout(s,1)):(this._currentTimeout=null,this._pending.delete(n),n.destroy(),this.copied.emit(m))};s()}else this.copied.emit(this._clipboard.copy(this.text))}ngOnDestroy(){this._currentTimeout&&clearTimeout(this._currentTimeout),this._pending.forEach(t=>t.destroy()),this._pending.clear(),this._destroyed=!0}static \u0275fac=function(e){return new(e||i)};static \u0275dir=E({type:i,selectors:[["","cdkCopyToClipboard",""]],hostBindings:function(e,n){e&1&&x("click",function(){return n.copy()})},inputs:{text:[0,"cdkCopyToClipboard","text"],attempts:[0,"cdkCopyToClipboardAttempts","attempts"]},outputs:{copied:"cdkCopyToClipboardCopied"}})}return i})(),Gt=(()=>{class i{static \u0275fac=function(e){return new(e||i)};static \u0275mod=L({type:i});static \u0275inj=F({})}return i})();function ie(i,l){if(i&1){let t=D();o(0,"div",1)(1,"button",2),x("click",function(){S(t);let n=p();return T(n.action())}),r(2),a()()}if(i&2){let t=p();c(2),C(" ",t.data.action," ")}}var ne=["label"];function ae(i,l){}var oe=Math.pow(2,31)-1,R=class{_overlayRef;instance;containerInstance;_afterDismissed=new g;_afterOpened=new g;_onAction=new g;_durationTimeoutId;_dismissedByAction=!1;constructor(l,t){this._overlayRef=t,this.containerInstance=l,l._onExit.subscribe(()=>this._finishDismiss())}dismiss(){this._afterDismissed.closed||this.containerInstance.exit(),clearTimeout(this._durationTimeoutId)}dismissWithAction(){this._onAction.closed||(this._dismissedByAction=!0,this._onAction.next(),this._onAction.complete(),this.dismiss()),clearTimeout(this._durationTimeoutId)}closeWithAction(){this.dismissWithAction()}_dismissAfter(l){this._durationTimeoutId=setTimeout(()=>this.dismiss(),Math.min(l,oe))}_open(){this._afterOpened.closed||(this._afterOpened.next(),this._afterOpened.complete())}_finishDismiss(){this._overlayRef.dispose(),this._onAction.closed||this._onAction.complete(),this._afterDismissed.next({dismissedByAction:this._dismissedByAction}),this._afterDismissed.complete(),this._dismissedByAction=!1}afterDismissed(){return this._afterDismissed}afterOpened(){return this.containerInstance._onEnter}onAction(){return this._onAction}},Kt=new A("MatSnackBarData"),M=class{politeness="polite";announcementMessage="";viewContainerRef;duration=0;panelClass;direction;data=null;horizontalPosition="center";verticalPosition="bottom"},re=(()=>{class i{static \u0275fac=function(e){return new(e||i)};static \u0275dir=E({type:i,selectors:[["","matSnackBarLabel",""]],hostAttrs:[1,"mat-mdc-snack-bar-label","mdc-snackbar__label"]})}return i})(),se=(()=>{class i{static \u0275fac=function(e){return new(e||i)};static \u0275dir=E({type:i,selectors:[["","matSnackBarActions",""]],hostAttrs:[1,"mat-mdc-snack-bar-actions","mdc-snackbar__actions"]})}return i})(),ce=(()=>{class i{static \u0275fac=function(e){return new(e||i)};static \u0275dir=E({type:i,selectors:[["","matSnackBarAction",""]],hostAttrs:[1,"mat-mdc-snack-bar-action","mdc-snackbar__action"]})}return i})(),Qt=(()=>{class i{snackBarRef=d(R);data=d(Kt);constructor(){}action(){this.snackBarRef.dismissWithAction()}get hasAction(){return!!this.data.action}static \u0275fac=function(e){return new(e||i)};static \u0275cmp=I({type:i,selectors:[["simple-snack-bar"]],hostAttrs:[1,"mat-mdc-simple-snack-bar"],exportAs:["matSnackBar"],decls:3,vars:2,consts:[["matSnackBarLabel",""],["matSnackBarActions",""],["matButton","","matSnackBarAction","",3,"click"]],template:function(e,n){e&1&&(o(0,"div",0),r(1),a(),b(2,ie,3,1,"div",1)),e&2&&(c(),C(" ",n.data.message,`
1
+ import{a as J,b as Zt}from"./chunk-JXTOHV3U.js";import"./chunk-5CH6HZVM.js";import"./chunk-BKR7YPEW.js";import{b as zt}from"./chunk-5DRZPE5O.js";import"./chunk-MZRZ7VV3.js";import"./chunk-M65GNQVQ.js";import"./chunk-MWUZF6ZW.js";import{b as Ht,c as qt}from"./chunk-4AL6NJY5.js";import"./chunk-BKB3Y5UC.js";import"./chunk-TPJEJZPT.js";import"./chunk-ISRTMJUH.js";import"./chunk-2PONPJQD.js";import{b as Vt}from"./chunk-BQCLUDBO.js";import{D as Dt,G as Mt,H as K,M as Q,N as Pt,O as Rt,P as W,Q as Ot,T as Ft,Y as jt,_ as Nt,ba as Lt,f as kt,o as St,t as Tt,v as Et}from"./chunk-TM7PL3CC.js";import"./chunk-FDTKJPLI.js";import"./chunk-NNVT5X6O.js";import"./chunk-P6BSXX22.js";import"./chunk-EISQQYRT.js";import"./chunk-M5YUVUTR.js";import{b as wt,d as At,e as Bt,g as It}from"./chunk-RRBAJSPM.js";import"./chunk-D7WVAWLI.js";import{B as Ct,C as yt,D as gt,z as xt}from"./chunk-MLQKT6FW.js";import"./chunk-ASFPLYOZ.js";import{$c as ht,Ca as rt,Cd as vt,Da as N,Dc as pt,Eb as I,Ec as $,Fb as L,Fc as G,Ga as z,Gb as E,Jb as lt,Kb as dt,Lc as ut,Nc as ft,Oc as r,Pa as st,Pc as u,Qc as C,V as nt,Xb as mt,Y as at,Yc as _t,_ as ot,bc as b,d as g,dc as v,dd as bt,ec as q,gc as Z,hc as U,ia as O,ic as P,ja as F,jc as o,kc as a,kd as _,la as A,lc as f,ld as y,mb as c,md as V,na as d,o as it,sb as H,sc as D,tb as ct,ua as S,va as T,xc as x,ya as B,za as j,zc as p}from"./chunk-KCXC4XYC.js";import"./chunk-WFMAM73Y.js";import{a as k}from"./chunk-66YHNWRR.js";var X=class{_document;_textarea;constructor(l,t){this._document=t;let e=this._textarea=this._document.createElement("textarea"),n=e.style;n.position="fixed",n.top=n.opacity="0",n.left="-999em",e.setAttribute("aria-hidden","true"),e.value=l,e.readOnly=!0,(this._document.fullscreenElement||this._document.body).appendChild(e)}copy(){let l=this._textarea,t=!1;try{if(l){let e=this._document.activeElement;l.select(),l.setSelectionRange(0,l.value.length),t=this._document.execCommand("copy"),e&&e.focus()}}catch{}return t}destroy(){let l=this._textarea;l&&(l.remove(),this._textarea=void 0)}},Yt=(()=>{class i{_document=d(j);constructor(){}copy(t){let e=this.beginCopy(t),n=e.copy();return e.destroy(),n}beginCopy(t){return new X(t,this._document)}static \u0275fac=function(e){return new(e||i)};static \u0275prov=O({token:i,factory:i.\u0275fac,providedIn:"root"})}return i})(),te=new A("CDK_COPY_TO_CLIPBOARD_CONFIG"),$t=(()=>{class i{_clipboard=d(Yt);_ngZone=d(N);text="";attempts=1;copied=new rt;_pending=new Set;_destroyed;_currentTimeout;constructor(){let t=d(te,{optional:!0});t&&t.attempts!=null&&(this.attempts=t.attempts)}copy(t=this.attempts){if(t>1){let e=t,n=this._clipboard.beginCopy(this.text);this._pending.add(n);let s=()=>{let m=n.copy();!m&&--e&&!this._destroyed?this._currentTimeout=this._ngZone.runOutsideAngular(()=>setTimeout(s,1)):(this._currentTimeout=null,this._pending.delete(n),n.destroy(),this.copied.emit(m))};s()}else this.copied.emit(this._clipboard.copy(this.text))}ngOnDestroy(){this._currentTimeout&&clearTimeout(this._currentTimeout),this._pending.forEach(t=>t.destroy()),this._pending.clear(),this._destroyed=!0}static \u0275fac=function(e){return new(e||i)};static \u0275dir=E({type:i,selectors:[["","cdkCopyToClipboard",""]],hostBindings:function(e,n){e&1&&x("click",function(){return n.copy()})},inputs:{text:[0,"cdkCopyToClipboard","text"],attempts:[0,"cdkCopyToClipboardAttempts","attempts"]},outputs:{copied:"cdkCopyToClipboardCopied"}})}return i})(),Gt=(()=>{class i{static \u0275fac=function(e){return new(e||i)};static \u0275mod=L({type:i});static \u0275inj=F({})}return i})();function ie(i,l){if(i&1){let t=D();o(0,"div",1)(1,"button",2),x("click",function(){S(t);let n=p();return T(n.action())}),r(2),a()()}if(i&2){let t=p();c(2),C(" ",t.data.action," ")}}var ne=["label"];function ae(i,l){}var oe=Math.pow(2,31)-1,R=class{_overlayRef;instance;containerInstance;_afterDismissed=new g;_afterOpened=new g;_onAction=new g;_durationTimeoutId;_dismissedByAction=!1;constructor(l,t){this._overlayRef=t,this.containerInstance=l,l._onExit.subscribe(()=>this._finishDismiss())}dismiss(){this._afterDismissed.closed||this.containerInstance.exit(),clearTimeout(this._durationTimeoutId)}dismissWithAction(){this._onAction.closed||(this._dismissedByAction=!0,this._onAction.next(),this._onAction.complete(),this.dismiss()),clearTimeout(this._durationTimeoutId)}closeWithAction(){this.dismissWithAction()}_dismissAfter(l){this._durationTimeoutId=setTimeout(()=>this.dismiss(),Math.min(l,oe))}_open(){this._afterOpened.closed||(this._afterOpened.next(),this._afterOpened.complete())}_finishDismiss(){this._overlayRef.dispose(),this._onAction.closed||this._onAction.complete(),this._afterDismissed.next({dismissedByAction:this._dismissedByAction}),this._afterDismissed.complete(),this._dismissedByAction=!1}afterDismissed(){return this._afterDismissed}afterOpened(){return this.containerInstance._onEnter}onAction(){return this._onAction}},Kt=new A("MatSnackBarData"),M=class{politeness="polite";announcementMessage="";viewContainerRef;duration=0;panelClass;direction;data=null;horizontalPosition="center";verticalPosition="bottom"},re=(()=>{class i{static \u0275fac=function(e){return new(e||i)};static \u0275dir=E({type:i,selectors:[["","matSnackBarLabel",""]],hostAttrs:[1,"mat-mdc-snack-bar-label","mdc-snackbar__label"]})}return i})(),se=(()=>{class i{static \u0275fac=function(e){return new(e||i)};static \u0275dir=E({type:i,selectors:[["","matSnackBarActions",""]],hostAttrs:[1,"mat-mdc-snack-bar-actions","mdc-snackbar__actions"]})}return i})(),ce=(()=>{class i{static \u0275fac=function(e){return new(e||i)};static \u0275dir=E({type:i,selectors:[["","matSnackBarAction",""]],hostAttrs:[1,"mat-mdc-snack-bar-action","mdc-snackbar__action"]})}return i})(),Qt=(()=>{class i{snackBarRef=d(R);data=d(Kt);constructor(){}action(){this.snackBarRef.dismissWithAction()}get hasAction(){return!!this.data.action}static \u0275fac=function(e){return new(e||i)};static \u0275cmp=I({type:i,selectors:[["simple-snack-bar"]],hostAttrs:[1,"mat-mdc-simple-snack-bar"],exportAs:["matSnackBar"],decls:3,vars:2,consts:[["matSnackBarLabel",""],["matSnackBarActions",""],["matButton","","matSnackBarAction","",3,"click"]],template:function(e,n){e&1&&(o(0,"div",0),r(1),a(),b(2,ie,3,1,"div",1)),e&2&&(c(),C(" ",n.data.message,`
2
2
  `),c(),v(n.hasAction?2:-1))},dependencies:[Ht,re,se,ce],styles:[`.mat-mdc-simple-snack-bar{display:flex}.mat-mdc-simple-snack-bar .mat-mdc-snack-bar-label{max-height:50vh;overflow:auto}
3
3
  `],encapsulation:2,changeDetection:0})}return i})(),Y="_mat-snack-bar-enter",tt="_mat-snack-bar-exit",le=(()=>{class i extends Rt{_ngZone=d(N);_elementRef=d(st);_changeDetectorRef=d(vt);_platform=d(kt);_animationsDisabled=K();snackBarConfig=d(M);_document=d(j);_trackedModals=new Set;_enterFallback;_exitFallback;_injector=d(B);_announceDelay=150;_announceTimeoutId;_destroyed=!1;_portalOutlet;_onAnnounce=new g;_onExit=new g;_onEnter=new g;_animationState="void";_live;_label;_role;_liveElementId=d(Et).getId("mat-snack-bar-container-live-");constructor(){super();let t=this.snackBarConfig;t.politeness==="assertive"&&!t.announcementMessage?this._live="assertive":t.politeness==="off"?this._live="off":this._live="polite",this._platform.FIREFOX&&(this._live==="polite"&&(this._role="status"),this._live==="assertive"&&(this._role="alert"))}attachComponentPortal(t){this._assertNotAttached();let e=this._portalOutlet.attachComponentPortal(t);return this._afterPortalAttached(),e}attachTemplatePortal(t){this._assertNotAttached();let e=this._portalOutlet.attachTemplatePortal(t);return this._afterPortalAttached(),e}attachDomPortal=t=>{this._assertNotAttached();let e=this._portalOutlet.attachDomPortal(t);return this._afterPortalAttached(),e};onAnimationEnd(t){t===tt?this._completeExit():t===Y&&(clearTimeout(this._enterFallback),this._ngZone.run(()=>{this._onEnter.next(),this._onEnter.complete()}))}enter(){this._destroyed||(this._animationState="visible",this._changeDetectorRef.markForCheck(),this._changeDetectorRef.detectChanges(),this._screenReaderAnnounce(),this._animationsDisabled?H(()=>{this._ngZone.run(()=>queueMicrotask(()=>this.onAnimationEnd(Y)))},{injector:this._injector}):(clearTimeout(this._enterFallback),this._enterFallback=setTimeout(()=>{this._elementRef.nativeElement.classList.add("mat-snack-bar-fallback-visible"),this.onAnimationEnd(Y)},200)))}exit(){return this._destroyed?it(void 0):(this._ngZone.run(()=>{this._animationState="hidden",this._changeDetectorRef.markForCheck(),this._elementRef.nativeElement.setAttribute("mat-exit",""),clearTimeout(this._announceTimeoutId),this._animationsDisabled?H(()=>{this._ngZone.run(()=>queueMicrotask(()=>this.onAnimationEnd(tt)))},{injector:this._injector}):(clearTimeout(this._exitFallback),this._exitFallback=setTimeout(()=>this.onAnimationEnd(tt),200))}),this._onExit)}ngOnDestroy(){this._destroyed=!0,this._clearFromModals(),this._completeExit()}_completeExit(){clearTimeout(this._exitFallback),queueMicrotask(()=>{this._onExit.next(),this._onExit.complete()})}_afterPortalAttached(){let t=this._elementRef.nativeElement,e=this.snackBarConfig.panelClass;e&&(Array.isArray(e)?e.forEach(m=>t.classList.add(m)):t.classList.add(e)),this._exposeToModals();let n=this._label.nativeElement,s="mdc-snackbar__label";n.classList.toggle(s,!n.querySelector(`.${s}`))}_exposeToModals(){let t=this._liveElementId,e=this._document.querySelectorAll('body > .cdk-overlay-container [aria-modal="true"]');for(let n=0;n<e.length;n++){let s=e[n],m=s.getAttribute("aria-owns");this._trackedModals.add(s),m?m.indexOf(t)===-1&&s.setAttribute("aria-owns",m+" "+t):s.setAttribute("aria-owns",t)}}_clearFromModals(){this._trackedModals.forEach(t=>{let e=t.getAttribute("aria-owns");if(e){let n=e.replace(this._liveElementId,"").trim();n.length>0?t.setAttribute("aria-owns",n):t.removeAttribute("aria-owns")}}),this._trackedModals.clear()}_assertNotAttached(){this._portalOutlet.hasAttached()}_screenReaderAnnounce(){this._announceTimeoutId||this._ngZone.runOutsideAngular(()=>{this._announceTimeoutId=setTimeout(()=>{if(this._destroyed)return;let t=this._elementRef.nativeElement,e=t.querySelector("[aria-hidden]"),n=t.querySelector("[aria-live]");if(e&&n){let s=null;this._platform.isBrowser&&document.activeElement instanceof HTMLElement&&e.contains(document.activeElement)&&(s=document.activeElement),e.removeAttribute("aria-hidden"),n.appendChild(e),s?.focus(),this._onAnnounce.next(),this._onAnnounce.complete()}},this._announceDelay)})}static \u0275fac=function(e){return new(e||i)};static \u0275cmp=I({type:i,selectors:[["mat-snack-bar-container"]],viewQuery:function(e,n){if(e&1&&pt(W,7)(ne,7),e&2){let s;$(s=G())&&(n._portalOutlet=s.first),$(s=G())&&(n._label=s.first)}},hostAttrs:[1,"mdc-snackbar","mat-mdc-snack-bar-container"],hostVars:6,hostBindings:function(e,n){e&1&&x("animationend",function(m){return n.onAnimationEnd(m.animationName)})("animationcancel",function(m){return n.onAnimationEnd(m.animationName)}),e&2&&ut("mat-snack-bar-container-enter",n._animationState==="visible")("mat-snack-bar-container-exit",n._animationState==="hidden")("mat-snack-bar-container-animations-enabled",!n._animationsDisabled)},features:[lt],decls:6,vars:3,consts:[["label",""],[1,"mdc-snackbar__surface","mat-mdc-snackbar-surface"],[1,"mat-mdc-snack-bar-label"],["aria-hidden","true"],["cdkPortalOutlet",""]],template:function(e,n){e&1&&(o(0,"div",1)(1,"div",2,0)(3,"div",3),dt(4,ae,0,0,"ng-template",4),a(),f(5,"div"),a()()),e&2&&(c(5),mt("aria-live",n._live)("role",n._role)("id",n._liveElementId))},dependencies:[W],styles:[`@keyframes _mat-snack-bar-enter{from{transform:scale(0.8);opacity:0}to{transform:scale(1);opacity:1}}@keyframes _mat-snack-bar-exit{from{opacity:1}to{opacity:0}}.mat-mdc-snack-bar-container{display:flex;align-items:center;justify-content:center;box-sizing:border-box;-webkit-tap-highlight-color:rgba(0,0,0,0);margin:8px}.mat-mdc-snack-bar-handset .mat-mdc-snack-bar-container{width:100vw}.mat-snack-bar-container-animations-enabled{opacity:0}.mat-snack-bar-container-animations-enabled.mat-snack-bar-fallback-visible{opacity:1}.mat-snack-bar-container-animations-enabled.mat-snack-bar-container-enter{animation:_mat-snack-bar-enter 150ms cubic-bezier(0, 0, 0.2, 1) forwards}.mat-snack-bar-container-animations-enabled.mat-snack-bar-container-exit{animation:_mat-snack-bar-exit 75ms cubic-bezier(0.4, 0, 1, 1) forwards}.mat-mdc-snackbar-surface{box-shadow:0px 3px 5px -1px rgba(0, 0, 0, 0.2), 0px 6px 10px 0px rgba(0, 0, 0, 0.14), 0px 1px 18px 0px rgba(0, 0, 0, 0.12);display:flex;align-items:center;justify-content:flex-start;box-sizing:border-box;padding-left:0;padding-right:8px}[dir=rtl] .mat-mdc-snackbar-surface{padding-right:0;padding-left:8px}.mat-mdc-snack-bar-container .mat-mdc-snackbar-surface{min-width:344px;max-width:672px}.mat-mdc-snack-bar-handset .mat-mdc-snackbar-surface{width:100%;min-width:0}@media(forced-colors: active){.mat-mdc-snackbar-surface{outline:solid 1px}}.mat-mdc-snack-bar-container .mat-mdc-snackbar-surface{color:var(--mat-snack-bar-supporting-text-color, var(--mat-sys-inverse-on-surface));border-radius:var(--mat-snack-bar-container-shape, var(--mat-sys-corner-extra-small));background-color:var(--mat-snack-bar-container-color, var(--mat-sys-inverse-surface))}.mdc-snackbar__label{width:100%;flex-grow:1;box-sizing:border-box;margin:0;padding:14px 8px 14px 16px}[dir=rtl] .mdc-snackbar__label{padding-left:8px;padding-right:16px}.mat-mdc-snack-bar-container .mdc-snackbar__label{font-family:var(--mat-snack-bar-supporting-text-font, var(--mat-sys-body-medium-font));font-size:var(--mat-snack-bar-supporting-text-size, var(--mat-sys-body-medium-size));font-weight:var(--mat-snack-bar-supporting-text-weight, var(--mat-sys-body-medium-weight));line-height:var(--mat-snack-bar-supporting-text-line-height, var(--mat-sys-body-medium-line-height))}.mat-mdc-snack-bar-actions{display:flex;flex-shrink:0;align-items:center;box-sizing:border-box}.mat-mdc-snack-bar-handset,.mat-mdc-snack-bar-container,.mat-mdc-snack-bar-label{flex:1 1 auto}.mat-mdc-snack-bar-container .mat-mdc-button.mat-mdc-snack-bar-action:not(:disabled){--mat-button-text-state-layer-color: currentColor;--mat-button-text-ripple-color: currentColor}.mat-mdc-snack-bar-container .mat-mdc-button.mat-mdc-snack-bar-action:not(:disabled).mat-unthemed{color:var(--mat-snack-bar-button-color, var(--mat-sys-inverse-primary))}.mat-mdc-snack-bar-container .mat-mdc-button.mat-mdc-snack-bar-action:not(:disabled) .mat-ripple-element{opacity:.1}
4
4
  `],encapsulation:2})}return i})(),de=new A("mat-snack-bar-default-options",{providedIn:"root",factory:()=>new M}),et=(()=>{class i{_live=d(Tt);_injector=d(B);_breakpointObserver=d(St);_parentSnackBar=d(i,{optional:!0,skipSelf:!0});_defaultConfig=d(de);_animationsDisabled=K();_snackBarRefAtThisLevel=null;simpleSnackBarComponent=Qt;snackBarContainerComponent=le;handsetCssClass="mat-mdc-snack-bar-handset";get _openedSnackBarRef(){let t=this._parentSnackBar;return t?t._openedSnackBarRef:this._snackBarRefAtThisLevel}set _openedSnackBarRef(t){this._parentSnackBar?this._parentSnackBar._openedSnackBarRef=t:this._snackBarRefAtThisLevel=t}constructor(){}openFromComponent(t,e){return this._attach(t,e)}openFromTemplate(t,e){return this._attach(t,e)}open(t,e="",n){let s=k(k({},this._defaultConfig),n);return s.data={message:t,action:e},s.announcementMessage===t&&(s.announcementMessage=void 0),this.openFromComponent(this.simpleSnackBarComponent,s)}dismiss(){this._openedSnackBarRef&&this._openedSnackBarRef.dismiss()}ngOnDestroy(){this._snackBarRefAtThisLevel&&this._snackBarRefAtThisLevel.dismiss()}_attachSnackBarContainer(t,e){let n=e&&e.viewContainerRef&&e.viewContainerRef.injector,s=B.create({parent:n||this._injector,providers:[{provide:M,useValue:e}]}),m=new Q(this.snackBarContainerComponent,e.viewContainerRef,s),h=t.attach(m);return h.instance.snackBarConfig=e,h.instance}_attach(t,e){let n=k(k(k({},new M),this._defaultConfig),e),s=this._createOverlay(n),m=this._attachSnackBarContainer(s,n),h=new R(m,s);if(t instanceof ct){let w=new Pt(t,null,{$implicit:n.data,snackBarRef:h});h.instance=m.attachTemplatePortal(w)}else{let w=this._createInjector(n,h),Jt=new Q(t,void 0,w),Xt=m.attachComponentPortal(Jt);h.instance=Xt.instance}return this._breakpointObserver.observe(Mt.HandsetPortrait).pipe(ot(s.detachments())).subscribe(w=>{s.overlayElement.classList.toggle(this.handsetCssClass,w.matches)}),n.announcementMessage&&m._onAnnounce.subscribe(()=>{this._live.announce(n.announcementMessage,n.politeness)}),this._animateSnackBar(h,n),this._openedSnackBarRef=h,this._openedSnackBarRef}_animateSnackBar(t,e){t.afterDismissed().subscribe(()=>{this._openedSnackBarRef==t&&(this._openedSnackBarRef=null),e.announcementMessage&&this._live.clear()}),e.duration&&e.duration>0&&t.afterOpened().subscribe(()=>t._dismissAfter(e.duration)),this._openedSnackBarRef?(this._openedSnackBarRef.afterDismissed().subscribe(()=>{t.containerInstance.enter()}),this._openedSnackBarRef.dismiss()):t.containerInstance.enter()}_createOverlay(t){let e=new Ft;e.direction=t.direction;let n=jt(this._injector),s=t.direction==="rtl",m=t.horizontalPosition==="left"||t.horizontalPosition==="start"&&!s||t.horizontalPosition==="end"&&s,h=!m&&t.horizontalPosition!=="center";return m?n.left("0"):h?n.right("0"):n.centerHorizontally(),t.verticalPosition==="top"?n.top("0"):n.bottom("0"),e.positionStrategy=n,e.disableAnimations=this._animationsDisabled,Nt(this._injector,e)}_createInjector(t,e){let n=t&&t.viewContainerRef&&t.viewContainerRef.injector;return B.create({parent:n||this._injector,providers:[{provide:R,useValue:e},{provide:Kt,useValue:t.data}]})}static \u0275fac=function(e){return new(e||i)};static \u0275prov=O({token:i,factory:i.\u0275fac,providedIn:"root"})}return i})();var Wt=(()=>{class i{static \u0275fac=function(e){return new(e||i)};static \u0275mod=L({type:i});static \u0275inj=F({providers:[et],imports:[Lt,Ot,qt,Qt,Dt]})}return i})();var me=(i,l,t)=>({"text-warning":i,"text-success":l,"text-danger":t});function pe(i,l){if(i&1&&(o(0,"div",10)(1,"span",11),r(2,"End Time"),a(),o(3,"span"),r(4),_(5,"date"),o(6,"span",8),r(7),a()()()),i&2){let t=p();c(4),C("",V(5,2,t.EndTime,"dd MMM yyyy hh:mm:ss a")," "),c(3),C("(",t.MillisecondToDisplay,")")}}function ue(i,l){i&1&&r(0," In Progress ")}function fe(i,l){i&1&&r(0," Completed ")}function _e(i,l){i&1&&r(0," Failed ")}function he(i,l){if(i&1&&(o(0,"tr")(1,"th",20)(2,"span"),r(3),a()(),o(4,"td"),r(5),a()()),i&2){let t=l.$implicit;c(3),C(" ",t.Key," "),c(2),u(t.Value)}}function be(i,l){if(i&1&&(o(0,"table",15)(1,"tbody"),Z(2,he,6,2,"tr",null,q),a()()),i&2){let t=p();c(2),U(t.ParsedStatus)}}function ve(i,l){if(i&1){let t=D();o(0,"div",4)(1,"div"),f(2,"i",21),a(),o(3,"div",13)(4,"div",22)(5,"h5",7),r(6,"Performance Log"),a(),o(7,"button",23),_(8,"json"),x("cdkCopyToClipboardCopied",function(){S(t);let n=p(2);return T(n.onCopied())}),f(9,"i",24),r(10," Copy to clipboard "),a()(),o(11,"div")(12,"pre",25),r(13),_(14,"json"),a()()()()}if(i&2){let t=p();c(7),P("cdkCopyToClipboard",y(8,2,t.ParsedPerfLog)),c(6),u(y(14,4,t.ParsedPerfLog))}}function xe(i,l){if(i&1&&(o(0,"tr")(1,"td"),r(2),_(3,"date"),a(),o(4,"td")(5,"span",32),r(6),a()(),o(7,"td"),r(8),a()()),i&2){let t=l.$implicit;c(2),u(V(3,5,t.Created,"hh:mm:ss a")),c(3),P("title",_t(t.Message)),c(),u(t.Message),c(2),u(t.DurationMs)}}function Ce(i,l){if(i&1){let t=D();o(0,"div",4)(1,"div"),f(2,"i",26),a(),o(3,"div",13)(4,"div",22)(5,"h5",7),r(6,"Activity"),a(),o(7,"button",27),x("click",function(){S(t);let n=p(2);return T(n.reload())}),f(8,"i",28),r(9," Refresh "),a()(),o(10,"div",29)(11,"table",30)(12,"thead")(13,"tr")(14,"th",31),r(15,"Time"),a(),o(16,"th"),r(17,"Message"),a(),o(18,"th"),r(19,"Duration (ms)"),a()()(),o(20,"tbody"),Z(21,xe,9,8,"tr",null,q),a()()()()()}if(i&2){let t=p();c(21),U(t.detail)}}function ye(i,l){if(i&1&&(o(0,"div",4)(1,"div"),f(2,"i",33),a(),o(3,"div")(4,"div",6)(5,"h5",7),r(6,"Message"),a()(),o(7,"div")(8,"pre",25),r(9),a()()()()),i&2){let t=p();c(9),u(t.Message)}}function ge(i,l){if(i&1){let t=D();o(0,"div",4)(1,"div"),f(2,"i",34),a(),o(3,"div",13)(4,"div",22)(5,"h5",7),r(6,"StackTrace"),a(),o(7,"button",23),_(8,"json"),x("cdkCopyToClipboardCopied",function(){S(t);let n=p(2);return T(n.onCopied())}),f(9,"i",24),r(10," Copy to clipboard "),a()(),o(11,"div")(12,"pre",25),r(13),_(14,"json"),a()()()()}if(i&2){let t=p();c(7),P("cdkCopyToClipboard",y(8,2,t.ParsedException)),c(6),u(y(14,4,t.ParsedException))}}function ke(i,l){if(i&1&&(o(0,"mainpanel",0)(1,"actions")(2,"a",1),r(3,"Back"),a()(),o(4,"content")(5,"div",2)(6,"div",3)(7,"div",4)(8,"div"),f(9,"i",5),a(),o(10,"div")(11,"div",6)(12,"h5",7),r(13," Job "),o(14,"small",8),r(15),a()()(),o(16,"div",9)(17,"div",10)(18,"span",11),r(19,"Channel Type"),a(),o(20,"span"),r(21),a()(),o(22,"div",10)(23,"span",11),r(24,"Start Time"),a(),o(25,"span"),r(26),_(27,"date"),a()(),b(28,pe,8,5,"div",10),o(29,"div",10)(30,"span",11),r(31,"User"),a(),o(32,"span"),r(33),a()(),o(34,"div",10)(35,"span",11),r(36,"Status"),a(),o(37,"span"),b(38,ue,1,0)(39,fe,1,0)(40,_e,1,0),a()()()()(),o(41,"div",4)(42,"div"),f(43,"i",12),a(),o(44,"div")(45,"div",6)(46,"h5",7),r(47,"Product Breakdown"),a()(),o(48,"div",13)(49,"div",14)(50,"table",15)(51,"thead",16)(52,"tr")(53,"th",17),r(54," Count "),a(),o(55,"th",18),r(56," Found "),a(),o(57,"th",19),r(58," NotFound "),a()()(),o(59,"tbody")(60,"tr")(61,"td"),r(62),_(63,"number"),a(),o(64,"td"),r(65),_(66,"number"),a(),o(67,"td"),r(68),_(69,"number"),a()()()(),b(70,be,4,0,"table",15),a()()()(),b(71,ve,15,6,"div",4),b(72,Ce,23,0,"div",4),b(73,ye,10,1,"div",4),b(74,ge,15,6,"div",4),a()()()()),i&2){let t,e=l,n=p();P("headerTitle",e.ChannelName+" - Job Details")("hideSearchBox",!0)("hideSearchDropdown",!0),c(15),C("(",e.ID,")"),c(6),u(e.Channel),c(5),u(V(27,19,e.Created,"dd MMM yyyy hh:mm:ss a")),c(2),v(e.StateID==n.scanState.Completed?28:-1),c(5),C(" ",e.LoginID," "),c(4),ft(bt(28,me,e.StateID==n.scanState.InProgress,e.StateID==n.scanState.Completed,e.StateID==n.scanState.Failed)),c(),v((t=e.StateID)===n.scanState.InProgress?38:t===n.scanState.Completed?39:t===n.scanState.Failed?40:-1),c(24),u(y(63,22,e.OriginGetCount)),c(3),u(y(66,24,e.SkuFoundCount)),c(3),u(y(69,26,e.SkuNotFoundCount)),c(2),v(e.ParsedStatus?70:-1),c(),v(e!=null&&e.PerfLog?71:-1),c(),v(e!=null&&e.detail&&e.detail.length>0?72:-1),c(),v(e!=null&&e.ParsedException?73:-1),c(),v(e!=null&&e.ParsedException?74:-1)}}var di=(()=>{class i{constructor(){this.notificationService=d(J),this.activatedRoute=d(wt),this.router=d(At),this.snackBar=d(et),this.scanState=Zt,this.copyToClipboardPerflog=z("Copy log to clipboard"),this.copyToClipboardMessage=z("Copy message to clipboard")}ngOnInit(){this.notification$=this.activatedRoute.queryParams.pipe(at(t=>{let e=t.ID;return this.notificationService.getNotificationDetail(e).pipe(nt(1))}))}reload(){let t=this.router.url;this.router.navigateByUrl("/").then(()=>this.router.navigateByUrl(t))}onCopied(){this.snackBar.open("Copied to clipboard!","",{duration:2e3,horizontalPosition:"center",verticalPosition:"top"})}copyMessageToClipboard(t){let e=this.notificationService.createMessageCopyText(t);navigator.clipboard.writeText(e||"").then(()=>{this.copyToClipboardMessage.set("Message copied!"),setTimeout(()=>{this.copyToClipboardMessage.set("Copy message to clipboard")},5e3)})}copyPerfLogToClipboard(t){navigator.clipboard.writeText(t.PerfLog||"").then(()=>{this.copyToClipboardPerflog.set("PerfLog copied!"),setTimeout(()=>{this.copyToClipboardPerflog.set("Copy log to clipboard")},5e3)})}static{this.\u0275fac=function(e){return new(e||i)}}static{this.\u0275cmp=I({type:i,selectors:[["app-detail"]],features:[ht([J])],decls:2,vars:3,consts:[[3,"headerTitle","hideSearchBox","hideSearchDropdown"],["role","button","routerLink","/menu/products/status/notificationV2",1,"btn","btn-secondary","btn-fill","btn-lg"],[1,"container-fluid","mt-8"],[1,"ps-8","d-flex","flex-column","gap-8","mt-8"],[1,"mb-4","d-flex","gap-2"],[1,"fa-solid","fa-gear","text-success"],[1,"d-flex","align-items-center","mb-6","gap-2"],[1,"mb-0"],[1,"text-muted"],[1,"d-flex","flex-column","gap-5"],[1,"d-flex"],[1,"text-muted",2,"width","150px"],[1,"fa-solid","fa-box-archive","text-success"],[1,"col-6"],[1,"d-flex","flex-column","gap-5",2,"width","19rem"],[1,"table","table-bordered","table-sm"],[1,"thead-light"],["matTooltip","Total Product in Seller Center","matTooltipPosition","above"],["matTooltip","Total Product Found in Sold in Channel","matTooltipPosition","above"],["matTooltip","Total Product Found in Not in POS","matTooltipPosition","above"],[2,"width","138px","background-color","#f6f6f6"],[1,"fa-solid","fa-code","text-success","pt-4"],[1,"d-flex","align-items-center","justify-content-between","mb-5"],["type","button",1,"btn","btn-sm","btn-outline-success","d-flex","align-items-center","gap-1",3,"cdkCopyToClipboardCopied","cdkCopyToClipboard"],[1,"fa","fa-copy"],[1,"border","p-3","rounded-1"],[1,"fa-clipboard-list","fas","text-success","pt-4"],["type","button",1,"btn","btn-sm","btn-outline-success","d-flex","align-items-center","gap-1",3,"click"],[1,"fas","fa-sync"],[1,"table-responsive","border","rounded-1","p-2"],[1,"table","table-striped","table-sm","mb-0"],[2,"width","180px"],[1,"activity-message",3,"title"],[1,"fa","fa-triangle-exclamation","text-warning"],[1,"fa","fa-triangle-exclamation","text-warning","pt-4"]],template:function(e,n){if(e&1&&(b(0,ke,75,32,"mainpanel",0),_(1,"async")),e&2){let s;v((s=y(1,1,n.notification$))?0:-1,s)}},dependencies:[zt,It,Bt,Vt,Gt,$t,Wt,xt,Ct,gt,yt],styles:[".activity-message[_ngcontent-%COMP%]{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;text-overflow:ellipsis;white-space:normal}@media(max-width:768px){.activity-message[_ngcontent-%COMP%]{-webkit-line-clamp:3}}"],changeDetection:0})}}return i})();export{di as DetailComponent};
@@ -1 +1 @@
1
- import{e as c}from"./chunk-UB4NDUUT.js";import{ia as s,na as p,t as i}from"./chunk-32SEKQJM.js";var I=(()=>{class t{constructor(){this.httpService=p(c)}getInventoryAsyncLog(r){return this.httpService.post("api/Inventory/GetAsyncLog",r).pipe(i(e=>(e.hits=e.hits.map(o=>{let n=JSON.parse(o._source?.log?.response);return o.DurationInSecond=parseInt(n.Duration)/1e3,o.respCode=n?.StatusCode,o}),e)))}getInventoryAsyncLogDetail(r){return this.httpService.post("api/Inventory/GetAsyncLogDetail",{ID:r})}static{this.\u0275fac=function(e){return new(e||t)}}static{this.\u0275prov=s({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();export{I as a};
1
+ import{e as c}from"./chunk-M5YUVUTR.js";import{ia as s,na as p,t as i}from"./chunk-KCXC4XYC.js";var I=(()=>{class t{constructor(){this.httpService=p(c)}getInventoryAsyncLog(r){return this.httpService.post("api/Inventory/GetAsyncLog",r).pipe(i(e=>(e.hits=e.hits.map(o=>{let n=JSON.parse(o._source?.log?.response);return o.DurationInSecond=parseInt(n.Duration)/1e3,o.respCode=n?.StatusCode,o}),e)))}getInventoryAsyncLogDetail(r){return this.httpService.post("api/Inventory/GetAsyncLogDetail",{ID:r})}static{this.\u0275fac=function(e){return new(e||t)}}static{this.\u0275prov=s({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();export{I as a};
@@ -0,0 +1 @@
1
+ import{a as q}from"./chunk-2G66XQCT.js";import{a as O,b as H}from"./chunk-7OQSPY2H.js";import{a as x}from"./chunk-4MYXPN55.js";import"./chunk-HH4B5NMB.js";import"./chunk-DBO3A6IW.js";import"./chunk-ACIMXBIC.js";import{b as J}from"./chunk-5DRZPE5O.js";import"./chunk-MZRZ7VV3.js";import"./chunk-M65GNQVQ.js";import"./chunk-MWUZF6ZW.js";import"./chunk-GF2RVIIT.js";import"./chunk-ITKXL7DT.js";import"./chunk-4AL6NJY5.js";import"./chunk-YOYMZEPB.js";import"./chunk-56UGSRXX.js";import"./chunk-UB22GZAR.js";import"./chunk-F7RHG53H.js";import"./chunk-X22WXNSF.js";import"./chunk-P6EDV7BS.js";import"./chunk-TVKTNDDY.js";import"./chunk-DGB7L5EQ.js";import"./chunk-7YP3O2JY.js";import"./chunk-BKB3Y5UC.js";import"./chunk-TPJEJZPT.js";import"./chunk-ISRTMJUH.js";import"./chunk-2PONPJQD.js";import"./chunk-BQCLUDBO.js";import"./chunk-TM7PL3CC.js";import{A as $,c as w,h as B,m as N}from"./chunk-P6BSXX22.js";import"./chunk-EISQQYRT.js";import"./chunk-M5YUVUTR.js";import{e as R,g as k}from"./chunk-RRBAJSPM.js";import"./chunk-D7WVAWLI.js";import{B as D,D as T,z as A}from"./chunk-MLQKT6FW.js";import"./chunk-ASFPLYOZ.js";import{Eb as b,Ga as S,Nc as E,Oc as a,Qc as c,V as C,ad as P,bd as F,fc as I,gc as M,hc as L,ic as m,jc as n,kc as i,kd as s,ld as g,mb as r,md as h,na as _,t as f,xc as d}from"./chunk-KCXC4XYC.js";import"./chunk-WFMAM73Y.js";import{a as y,b as v}from"./chunk-66YHNWRR.js";var j=()=>["/menu/log/inventory/detail"],V=l=>({ID:l});function G(l,z){if(l&1&&(n(0,"tr")(1,"td")(2,"a",17),a(3),s(4,"date"),i()(),n(5,"td"),a(6),s(7,"number"),i(),n(8,"td")(9,"span",18),a(10),i()()()),l&2){let t=z.$implicit;r(2),m("routerLink",P(13,j))("queryParams",F(14,V,t._id)),r(),c(" ",h(4,7,t==null?null:t._source["@timestamp"],"dd MMM yyyy HH:mm:ss")," "),r(3),c("",h(7,10,t.DurationInSecond,"1.1-1")," s"),r(3),E((t==null?null:t.respCode)===200||(t==null?null:t.respCode)===202?"bg-success":"bg-warning"),r(),c(" ",t==null?null:t.respCode," ")}}var me=(()=>{class l{constructor(){this.inventoryAsyncServiceLog=_(q),this.filters=S({PageNumber:1,RowCount:100,From:null,To:null,StatusCode:"",JobID:""})}ngOnInit(){this.initInventoryLog()}initInventoryLog(){let t=this.inventoryAsyncServiceLog.getInventoryAsyncLog(this.filters()).pipe(C(1));this.inventoryLog$=t.pipe(f(o=>o?.hits)),this.totalPagination$=t.pipe(f(o=>o?.total.value))}onPaginationChange(t){this.filters.update(o=>v(y({},o),{PageNumber:t.pageIndex+1})),this.initInventoryLog()}onSubmitFilter(){this.initInventoryLog()}updateFilter(t,o){this.filters.update(e=>v(y({},e),{[t]:o}))}static{this.\u0275fac=function(o){return new(o||l)}}static{this.\u0275cmp=b({type:l,selectors:[["app-inventory-async-log"]],decls:43,vars:16,consts:[["headerTitle","Order Inventory Sync Job",3,"onSubmit","hideSearchBox"],["role","button","routerLink","/menu/log/inventory/sync-inventory",1,"btn","btn-success"],["container",""],[1,"fw-bold","mb-1"],[1,"mb-4"],["name","From",3,"dateChange","date"],["name","To",3,"dateChange","date"],[1,"mt-5"],["type","text","name","StatusCode",1,"w-100","mt-2","form-control",3,"ngModelChange","ngModel"],["type","text","name","JobID",1,"w-100","mt-2","form-control",3,"ngModelChange","ngModel"],[1,"container-fluid","mt-3"],[1,"row"],[1,"col"],[1,"table-responsive"],[1,"table","table-hover"],[1,"table-light"],[3,"page","length","pageSize","pageIndex"],[3,"routerLink","queryParams"],[1,"text-white","p-2","rounded","response-desc"]],template:function(o,e){o&1&&(n(0,"mainpanel",0),d("onSubmit",function(){return e.onSubmitFilter()}),n(1,"actions")(2,"a",1),a(3," Channel Inventory Sync "),i()(),n(4,"filters")(5,"div",2)(6,"div")(7,"label",3),a(8,"From/To"),i(),n(9,"div",4)(10,"datepicker",5),d("dateChange",function(p){return e.updateFilter("From",p)}),i()(),n(11,"div")(12,"datepicker",6),d("dateChange",function(p){return e.updateFilter("To",p)}),i()()(),n(13,"div",7)(14,"label"),a(15,"Response Code"),i(),n(16,"input",8),d("ngModelChange",function(p){return e.updateFilter("StatusCode",p)}),i()(),n(17,"div",7)(18,"label"),a(19,"JobID"),i(),n(20,"input",9),d("ngModelChange",function(p){return e.updateFilter("JobID",p)}),i()()()(),n(21,"content")(22,"div",10)(23,"div",11)(24,"div",12)(25,"div",13)(26,"table",14)(27,"thead")(28,"tr",15)(29,"th"),a(30,"Created"),i(),n(31,"th"),a(32,"Duration"),i(),n(33,"th"),a(34,"Response code"),i()()(),n(35,"tbody"),M(36,G,11,16,"tr",null,I),s(38,"async"),i()(),n(39,"mat-paginator",16),s(40,"async"),s(41,"async"),s(42,"async"),d("page",function(p){return e.onPaginationChange(p)}),i()()()()()()()),o&2&&(m("hideSearchBox",!0),r(10),m("date",e.filters().From),r(2),m("date",e.filters().To),r(4),m("ngModel",e.filters().StatusCode),r(4),m("ngModel",e.filters().JobID),r(16),L(g(38,8,e.inventoryLog$)),r(3),m("length",g(40,10,e.totalPagination$))("pageSize",e.filters().RowCount>g(41,12,e.totalPagination$)?g(42,14,e.totalPagination$):e.filters().RowCount)("pageIndex",e.filters().PageNumber==0?0:e.filters().PageNumber-1))},dependencies:[$,w,B,N,J,H,O,x,k,R,A,D,T],encapsulation:2})}}return l})();export{me as InventoryAsyncLogComponent};
@@ -1 +1 @@
1
- import{a as w}from"./chunk-54L2OUK3.js";import{a as y}from"./chunk-2SOE3U6K.js";import"./chunk-3ZLKAFXU.js";import"./chunk-A2ISS3K6.js";import"./chunk-2JS4LVCG.js";import"./chunk-A664VTNX.js";import"./chunk-5NEIE5HB.js";import"./chunk-QXRG5XYP.js";import"./chunk-FDTKJPLI.js";import"./chunk-SH7PSBLU.js";import"./chunk-TACHWGFG.js";import"./chunk-MMOZES77.js";import"./chunk-34FX4M3J.js";import"./chunk-UB4NDUUT.js";import{c as b,e as h}from"./chunk-JLWI4DHM.js";import"./chunk-ZTKWKQRJ.js";import"./chunk-BI4K5Y2V.js";import"./chunk-ASFPLYOZ.js";import{$c as v,Eb as p,Mc as s,Oc as f,dc as u,ec as m,fc as c,gc as l,hc as t,ic as n,jc as i,mb as r}from"./chunk-32SEKQJM.js";import"./chunk-WFMAM73Y.js";import"./chunk-66YHNWRR.js";var g=e=>[e];function S(e,D){if(e&1&&(t(0,"a",8),s(1),n()),e&2){let o=D.$implicit;l("routerLink",v(2,g,o.url)),r(),f(" ",o.title)}}var C=(()=>{class e{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"}]}static{this.\u0275fac=function(a){return new(a||e)}}static{this.\u0275cmp=p({type:e,selectors:[["app-download"]],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(a,d){a&1&&(t(0,"nav",0)(1,"div",1)(2,"div"),i(3,"nav-tab",2),n()(),t(4,"div")(5,"div",3)(6,"a",4),i(7,"i",5),n(),t(8,"div",6)(9,"div",7),m(10,S,2,4,"a",8,u),n()()()()(),i(12,"router-outlet")),a&2&&(r(3),l("Tabs",d.tabs),r(7),c(d.moreMenu))},dependencies:[y,h,b],encapsulation:2,changeDetection:0})}}return e})();var _=[{path:"",component:C,children:[{path:"by-url",loadComponent(){return import("./chunk-H726YK3G.js").then(e=>e.ByUrlComponent)},data:{title:"Download Product By Url"},canActivate:[w]},{pathMatch:"full",path:"",redirectTo:"by-url"}]}];export{_ as routes};
1
+ import{a as w}from"./chunk-IYP3FT4Q.js";import{a as y}from"./chunk-N5UVIRO3.js";import"./chunk-MWUZF6ZW.js";import"./chunk-BQCLUDBO.js";import"./chunk-TM7PL3CC.js";import"./chunk-KMEVPGD4.js";import"./chunk-CXGF2BT5.js";import"./chunk-QXRG5XYP.js";import"./chunk-FDTKJPLI.js";import"./chunk-I4MUFYEG.js";import"./chunk-NNVT5X6O.js";import"./chunk-EISQQYRT.js";import"./chunk-34FX4M3J.js";import"./chunk-M5YUVUTR.js";import{c as b,e as h}from"./chunk-RRBAJSPM.js";import"./chunk-D7WVAWLI.js";import"./chunk-MLQKT6FW.js";import"./chunk-ASFPLYOZ.js";import{Eb as p,Oc as s,Qc as f,bd as v,fc as u,gc as m,hc as c,ic as l,jc as t,kc as n,lc as i,mb as r}from"./chunk-KCXC4XYC.js";import"./chunk-WFMAM73Y.js";import"./chunk-66YHNWRR.js";var g=e=>[e];function S(e,D){if(e&1&&(t(0,"a",8),s(1),n()),e&2){let o=D.$implicit;l("routerLink",v(2,g,o.url)),r(),f(" ",o.title)}}var C=(()=>{class e{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"}]}static{this.\u0275fac=function(a){return new(a||e)}}static{this.\u0275cmp=p({type:e,selectors:[["app-download"]],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(a,d){a&1&&(t(0,"nav",0)(1,"div",1)(2,"div"),i(3,"nav-tab",2),n()(),t(4,"div")(5,"div",3)(6,"a",4),i(7,"i",5),n(),t(8,"div",6)(9,"div",7),m(10,S,2,4,"a",8,u),n()()()()(),i(12,"router-outlet")),a&2&&(r(3),l("Tabs",d.tabs),r(7),c(d.moreMenu))},dependencies:[y,h,b],encapsulation:2,changeDetection:0})}}return e})();var _=[{path:"",component:C,children:[{path:"by-url",loadComponent(){return import("./chunk-7WOQFYPC.js").then(e=>e.ByUrlComponent)},data:{title:"Download Product By Url"},canActivate:[w]},{pathMatch:"full",path:"",redirectTo:"by-url"}]}];export{_ as routes};
@@ -0,0 +1 @@
1
+ import{a as re}from"./chunk-C57MMZXM.js";import{a as E}from"./chunk-URNP457I.js";import{a as ne}from"./chunk-4MYXPN55.js";import{a as ie}from"./chunk-WDIDEDCE.js";import{a as te}from"./chunk-W2AILV7A.js";import"./chunk-GK6WYUPQ.js";import"./chunk-WXZ5XRM6.js";import"./chunk-BDUUVK5L.js";import"./chunk-L2ENNT5V.js";import{a as ee}from"./chunk-ZA4X34GE.js";import{a as $}from"./chunk-OJ4GCASY.js";import"./chunk-RVHJIVQ5.js";import"./chunk-MKENTZJA.js";import"./chunk-V3PUPGL5.js";import"./chunk-2SCD4QZY.js";import"./chunk-K227XGG2.js";import"./chunk-PRLMMKRO.js";import"./chunk-MMGI42DQ.js";import"./chunk-2QRSAAJG.js";import"./chunk-ACIMXBIC.js";import"./chunk-3ANHDTTL.js";import"./chunk-YYY663CV.js";import"./chunk-N77J6LFN.js";import{b as Z}from"./chunk-5DRZPE5O.js";import"./chunk-MZRZ7VV3.js";import"./chunk-M65GNQVQ.js";import{a as Y}from"./chunk-MWUZF6ZW.js";import"./chunk-GF2RVIIT.js";import"./chunk-ITKXL7DT.js";import"./chunk-4AL6NJY5.js";import"./chunk-YOYMZEPB.js";import"./chunk-56UGSRXX.js";import"./chunk-UB22GZAR.js";import"./chunk-F7RHG53H.js";import"./chunk-X22WXNSF.js";import"./chunk-P6EDV7BS.js";import"./chunk-TVKTNDDY.js";import"./chunk-DGB7L5EQ.js";import"./chunk-7YP3O2JY.js";import"./chunk-BKB3Y5UC.js";import"./chunk-TPJEJZPT.js";import"./chunk-ISRTMJUH.js";import"./chunk-2VWSIT3Y.js";import"./chunk-2PONPJQD.js";import{b as X}from"./chunk-BQCLUDBO.js";import"./chunk-TM7PL3CC.js";import"./chunk-KMEVPGD4.js";import"./chunk-CXGF2BT5.js";import"./chunk-QXRG5XYP.js";import"./chunk-FDTKJPLI.js";import"./chunk-I4MUFYEG.js";import"./chunk-NNVT5X6O.js";import{A as U,c as G,h as J,m as K,o as Q}from"./chunk-P6BSXX22.js";import"./chunk-EISQQYRT.js";import"./chunk-34FX4M3J.js";import"./chunk-M5YUVUTR.js";import"./chunk-RRBAJSPM.js";import"./chunk-D7WVAWLI.js";import{B as j,D as q,z as R}from"./chunk-MLQKT6FW.js";import"./chunk-ASFPLYOZ.js";import{$c as z,Eb as D,Ga as O,Oc as l,Pc as h,Sc as c,Tc as u,Uc as C,V,Vc as I,Wc as k,Xc as A,bc as W,dc as F,ec as N,gc as L,hc as B,ic as g,jc as e,kc as t,kd as w,lc as _,ld as x,mb as a,md as H,na as P,sc as b,ua as p,va as s,xc as v,zc as y}from"./chunk-KCXC4XYC.js";import"./chunk-WFMAM73Y.js";import{a as M,b as T}from"./chunk-66YHNWRR.js";function ae(d,S){if(d&1&&(e(0,"tr")(1,"td"),l(2),t(),e(3,"td"),_(4,"order-link",26),t(),e(5,"td"),l(6),t(),e(7,"td"),l(8),w(9,"number"),t(),e(10,"td"),l(11),w(12,"date"),t(),e(13,"td"),_(14,"app-channel-logo",27),t()()),d&2){let r=S.$implicit;a(2),h(r.Outlet),a(2),g("order",r),a(2),h(r.Customer),a(2),h(x(9,6,r.Amount)),a(3),h(H(12,8,r.Created,"dd MMM yyyy HH:mm")),a(3),g("typeId",r==null?null:r.TypeID)}}function le(d,S){if(d&1){let r=b();e(0,"div",15)(1,"table",17)(2,"thead",18)(3,"tr",19)(4,"th",20),l(5,"Outlet"),t(),e(6,"th",21),l(7,"Order number"),t(),e(8,"th"),l(9,"Customer"),t(),e(10,"th",22),l(11,"Amount"),t(),e(12,"th",23),l(13," Created On "),t(),e(14,"th",24),l(15,"Channel"),t()()(),e(16,"tbody"),L(17,ae,15,11,"tr",null,N),t()(),e(19,"app-custom-paginator",25),v("next",function(){p(r);let i=y();return s(i.initCancelledOrders())})("previous",function(){p(r);let i=y();return s(i.initCancelledOrders())}),t()()}if(d&2){let r=y(),o=A(0);a(17),B(o),a(2),g("filter",r.filter())("totaldata",o==null?null:o.length)("paginationTotal",o==null?null:o.length)("hasClicked",!0)("nextButtonAlwaysVisible",!0)}}function oe(d,S){d&1&&(e(0,"div",16),_(1,"app-empty-state"),t())}var Te=(()=>{class d{constructor(){this.orderService=P(E),this.filter=O({PageNumber:1,PageSize:20,ListChannelID:[],From:null,To:null,Number:null})}ngOnInit(){this.orderService.getOrderDefaultValue().subscribe({next:r=>{this.initFromDate(r)},error:r=>{console.error("Error fetching default date:",r),this.initFromDate(null)}})}initFromDate(r){this.filter.update(o=>T(M({},o),{From:r})),this.initCancelledOrders()}initCancelledOrders(){this.cancelledOrders$=this.orderService.getCancelledOrders(this.filter()).pipe(V(1))}static{this.\u0275fac=function(o){return new(o||d)}}static{this.\u0275cmp=D({type:d,selectors:[["app-cancelled"]],features:[z([E])],decls:34,vars:11,consts:[["headerTitle","Cancelled","searchBoxPlaceHolder","Order Number...",3,"onSubmit","textChange","text"],["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-2"],[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"],[1,"table","table-hover"],[1,"sticky-top-thead"],[1,"table-light"],[2,"width","120px"],[2,"width","220px"],[2,"width","100px"],["mat-sort-header","created",2,"width","130px"],[2,"width","130px"],[3,"next","previous","filter","totaldata","paginationTotal","hasClicked","nextButtonAlwaysVisible"],[3,"order"],[3,"typeId"]],template:function(o,i){if(o&1){let m=b();I(0),w(1,"async"),e(2,"mainpanel",0),v("onSubmit",function(){return p(m),s(i.initCancelledOrders())}),C("textChange",function(n){return p(m),u(i.filter().Number,n)||(i.filter().Number=n),s(n)}),e(3,"actions")(4,"a",1),_(5,"i",2),e(6,"span"),l(7,"Order Fulfillment Display"),t()()(),e(8,"filters")(9,"div")(10,"label",3),l(11,"Channel"),t(),e(12,"app-channel-options-v2",4),C("ngModelChange",function(n){return p(m),u(i.filter().ListChannelID,n)||(i.filter().ListChannelID=n),s(n)}),t()(),e(13,"div",5)(14,"label",3),l(15,"From/To"),t(),e(16,"div",6)(17,"datepicker",7),C("dateChange",function(n){return p(m),u(i.filter().From,n)||(i.filter().From=n),s(n)}),t()(),e(18,"div")(19,"datepicker",8),C("dateChange",function(n){return p(m),u(i.filter().To,n)||(i.filter().To=n),s(n)}),t()()(),e(20,"div",5)(21,"label",9),l(22,"Page Number"),t(),e(23,"input",10),C("ngModelChange",function(n){return p(m),u(i.filter().PageNumber,n)||(i.filter().PageNumber=n),s(n)}),t()(),e(24,"div",5)(25,"label",9),l(26,"Page Size"),t(),e(27,"input",11),C("ngModelChange",function(n){return p(m),u(i.filter().PageSize,n)||(i.filter().PageSize=n),s(n)}),t()()(),e(28,"content")(29,"div",12)(30,"div",13)(31,"div",14),W(32,le,20,5,"div",15)(33,oe,2,0,"div",16),t()()()()()}if(o&2){let m=k(x(1,8,i.cancelledOrders$));a(2),c("text",i.filter().Number),a(10),g("multiple",!0),c("ngModel",i.filter().ListChannelID),a(5),c("date",i.filter().From),a(2),c("date",i.filter().To),a(4),c("ngModel",i.filter().PageNumber),a(4),c("ngModel",i.filter().PageSize),a(5),F((m==null?null:m.length)>0?32:33)}},dependencies:[Z,$,ee,U,G,Q,J,K,ne,Y,X,re,ie,te,R,j,q],encapsulation:2,changeDetection:0})}}return d})();export{Te as CancelledComponent};
@@ -0,0 +1,2 @@
1
+ import{Eb as r}from"./chunk-KCXC4XYC.js";var e;function a(){if(e===void 0&&(e=null,typeof window<"u")){let t=window;t.trustedTypes!==void 0&&(e=t.trustedTypes.createPolicy("angular#components",{createHTML:i=>i}))}return e}function u(t){return a()?.createHTML(t)||t}var y=(()=>{class t{static \u0275fac=function(o){return new(o||t)};static \u0275cmp=r({type:t,selectors:[["structural-styles"]],decls:0,vars:0,template:function(o,c){},styles:[`.mat-focus-indicator{position:relative}.mat-focus-indicator::before{top:0;left:0;right:0;bottom:0;position:absolute;box-sizing:border-box;pointer-events:none;display:var(--mat-focus-indicator-display, none);border-width:var(--mat-focus-indicator-border-width, 3px);border-style:var(--mat-focus-indicator-border-style, solid);border-color:var(--mat-focus-indicator-border-color, transparent);border-radius:var(--mat-focus-indicator-border-radius, 4px)}.mat-focus-indicator:focus::before{content:""}@media(forced-colors: active){html{--mat-focus-indicator-display: block}}
2
+ `],encapsulation:2,changeDetection:0})}return t})();export{u as a,y as b};
@@ -1,4 +1,4 @@
1
- import{a as g,d as y}from"./chunk-U5MTAUWW.js";import{Aa as u}from"./chunk-NGMSEBXY.js";import{Eb as a,Ed as d,Jb as c,Lc as l,Na as o,Zc as m,ia as r,na as s,yc as p,zc as f}from"./chunk-32SEKQJM.js";var v=["*"],b=`
1
+ import{a as g,d as y}from"./chunk-N77J6LFN.js";import{Aa as u}from"./chunk-2VWSIT3Y.js";import{$c as m,Ac as p,Bc as f,Eb as a,Hd as d,Jb as c,Na as o,Nc as l,ia as r,na as s}from"./chunk-KCXC4XYC.js";var v=["*"],b=`
2
2
  .p-icon {
3
3
  display: inline-block;
4
4
  vertical-align: baseline;
@@ -0,0 +1,193 @@
1
+ import{c as Zt}from"./chunk-K227XGG2.js";import{a as qt}from"./chunk-MMGI42DQ.js";import{a as yt}from"./chunk-2QRSAAJG.js";import{b as gt,c as A,d as nt,e as _,f as _t}from"./chunk-N77J6LFN.js";import{A as $,Aa as R,I as Q,L as xt,O as $t,ra as Qt,sa as it,v as Wt}from"./chunk-2VWSIT3Y.js";import{g as Ut}from"./chunk-P6BSXX22.js";import{F as et,H as St,t as Rt,u as At,x as Ht,y as jt}from"./chunk-MLQKT6FW.js";import{$c as k,Ac as Y,Bc as tt,Ca as dt,Cc as Pt,Da as Ft,Dc as Nt,Eb as E,Ec as B,Fb as Z,Fc as O,Gb as Dt,Hd as wt,Ib as M,Ja as Ct,Jb as x,Jc as ot,Kb as w,Kc as Lt,Mc as Bt,Na as I,Nc as T,Xb as P,ad as Ot,bd as ft,cd as st,ia as V,ic as m,ja as U,jc as ht,kc as pt,la as D,lc as It,mb as g,mc as G,na as f,nc as X,oc as J,od as lt,pc as N,qc as L,rc as K,sc as Mt,sd as kt,tc as ut,ua as zt,va as Et,wa as q,wd as W,xb as Vt,xc as mt,zc as v}from"./chunk-KCXC4XYC.js";import{a as ct,b as vt}from"./chunk-66YHNWRR.js";var Gt=`
2
+ .p-iconfield {
3
+ position: relative;
4
+ display: block;
5
+ }
6
+
7
+ .p-inputicon {
8
+ position: absolute;
9
+ top: 50%;
10
+ margin-top: calc(-1 * (dt('icon.size') / 2));
11
+ color: dt('iconfield.icon.color');
12
+ line-height: 1;
13
+ z-index: 1;
14
+ }
15
+
16
+ .p-iconfield .p-inputicon:first-child {
17
+ inset-inline-start: dt('form.field.padding.x');
18
+ }
19
+
20
+ .p-iconfield .p-inputicon:last-child {
21
+ inset-inline-end: dt('form.field.padding.x');
22
+ }
23
+
24
+ .p-iconfield .p-inputtext:not(:first-child),
25
+ .p-iconfield .p-inputwrapper:not(:first-child) .p-inputtext {
26
+ padding-inline-start: calc((dt('form.field.padding.x') * 2) + dt('icon.size'));
27
+ }
28
+
29
+ .p-iconfield .p-inputtext:not(:last-child) {
30
+ padding-inline-end: calc((dt('form.field.padding.x') * 2) + dt('icon.size'));
31
+ }
32
+
33
+ .p-iconfield:has(.p-inputfield-sm) .p-inputicon {
34
+ font-size: dt('form.field.sm.font.size');
35
+ width: dt('form.field.sm.font.size');
36
+ height: dt('form.field.sm.font.size');
37
+ margin-top: calc(-1 * (dt('form.field.sm.font.size') / 2));
38
+ }
39
+
40
+ .p-iconfield:has(.p-inputfield-lg) .p-inputicon {
41
+ font-size: dt('form.field.lg.font.size');
42
+ width: dt('form.field.lg.font.size');
43
+ height: dt('form.field.lg.font.size');
44
+ margin-top: calc(-1 * (dt('form.field.lg.font.size') / 2));
45
+ }
46
+ `;var ae=["*"],ce={root:({instance:e})=>["p-iconfield",{"p-iconfield-left":e.iconPosition=="left","p-iconfield-right":e.iconPosition=="right"}]},Xt=(()=>{class e extends R{name="iconfield";style=Gt;classes=ce;static \u0275fac=(()=>{let t;return function(n){return(t||(t=I(e)))(n||e)}})();static \u0275prov=V({token:e,factory:e.\u0275fac})}return e})();var Jt=new D("ICONFIELD_INSTANCE"),oi=(()=>{class e extends nt{hostName="";_componentStyle=f(Xt);$pcIconField=f(Jt,{optional:!0,skipSelf:!0})??void 0;bindDirectiveInstance=f(_,{self:!0});onAfterViewChecked(){this.bindDirectiveInstance.setAttrs(this.ptms(["host","root"]))}iconPosition="left";styleClass;static \u0275fac=(()=>{let t;return function(n){return(t||(t=I(e)))(n||e)}})();static \u0275cmp=E({type:e,selectors:[["p-iconfield"],["p-iconField"],["p-icon-field"]],hostVars:2,hostBindings:function(i,n){i&2&&T(n.cn(n.cx("root"),n.styleClass))},inputs:{hostName:"hostName",iconPosition:"iconPosition",styleClass:"styleClass"},features:[k([Xt,{provide:Jt,useExisting:e},{provide:A,useExisting:e}]),M([_]),x],ngContentSelectors:ae,decls:1,vars:0,template:function(i,n){i&1&&(Y(),tt(0))},dependencies:[et,_t],encapsulation:2,changeDetection:0})}return e})();var de=["data-p-icon","search"],ai=(()=>{class e extends yt{pathId;onInit(){this.pathId="url(#"+gt()+")"}static \u0275fac=(()=>{let t;return function(n){return(t||(t=I(e)))(n||e)}})();static \u0275cmp=E({type:e,selectors:[["","data-p-icon","search"]],features:[x],attrs:de,decls:5,vars:2,consts:[["fill-rule","evenodd","clip-rule","evenodd","d","M2.67602 11.0265C3.6661 11.688 4.83011 12.0411 6.02086 12.0411C6.81149 12.0411 7.59438 11.8854 8.32483 11.5828C8.87005 11.357 9.37808 11.0526 9.83317 10.6803L12.9769 13.8241C13.0323 13.8801 13.0983 13.9245 13.171 13.9548C13.2438 13.985 13.3219 14.0003 13.4007 14C13.4795 14.0003 13.5575 13.985 13.6303 13.9548C13.7031 13.9245 13.7691 13.8801 13.8244 13.8241C13.9367 13.7116 13.9998 13.5592 13.9998 13.4003C13.9998 13.2414 13.9367 13.089 13.8244 12.9765L10.6807 9.8328C11.053 9.37773 11.3573 8.86972 11.5831 8.32452C11.8857 7.59408 12.0414 6.81119 12.0414 6.02056C12.0414 4.8298 11.6883 3.66579 11.0268 2.67572C10.3652 1.68564 9.42494 0.913972 8.32483 0.45829C7.22472 0.00260857 6.01418 -0.116618 4.84631 0.115686C3.67844 0.34799 2.60568 0.921393 1.76369 1.76338C0.921698 2.60537 0.348296 3.67813 0.115991 4.84601C-0.116313 6.01388 0.00291375 7.22441 0.458595 8.32452C0.914277 9.42464 1.68595 10.3649 2.67602 11.0265ZM3.35565 2.0158C4.14456 1.48867 5.07206 1.20731 6.02086 1.20731C7.29317 1.20731 8.51338 1.71274 9.41304 2.6124C10.3127 3.51206 10.8181 4.73226 10.8181 6.00457C10.8181 6.95337 10.5368 7.88088 10.0096 8.66978C9.48251 9.45868 8.73328 10.0736 7.85669 10.4367C6.98011 10.7997 6.01554 10.8947 5.08496 10.7096C4.15439 10.5245 3.2996 10.0676 2.62869 9.39674C1.95778 8.72583 1.50089 7.87104 1.31579 6.94046C1.13068 6.00989 1.22568 5.04532 1.58878 4.16874C1.95187 3.29215 2.56675 2.54292 3.35565 2.0158Z","fill","currentColor"],[3,"id"],["width","14","height","14","fill","white"]],template:function(i,n){i&1&&(q(),G(0,"g"),J(1,"path",0),X(),G(2,"defs")(3,"clipPath",1),J(4,"rect",2),X()()),i&2&&(P("clip-path",n.pathId),g(3),ut("id",n.pathId))},encapsulation:2})}return e})();var he=["data-p-icon","spinner"],Kt=(()=>{class e extends yt{pathId;onInit(){this.pathId="url(#"+gt()+")"}static \u0275fac=(()=>{let t;return function(n){return(t||(t=I(e)))(n||e)}})();static \u0275cmp=E({type:e,selectors:[["","data-p-icon","spinner"]],features:[x],attrs:he,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(i,n){i&1&&(q(),G(0,"g"),J(1,"path",0),X(),G(2,"defs")(3,"clipPath",1),J(4,"rect",2),X()()),i&2&&(P("clip-path",n.pathId),g(3),ut("id",n.pathId))},encapsulation:2})}return e})();var pe=["*"],ue={root:"p-inputicon"},Yt=(()=>{class e extends R{name="inputicon";classes=ue;static \u0275fac=(()=>{let t;return function(n){return(t||(t=I(e)))(n||e)}})();static \u0275prov=V({token:e,factory:e.\u0275fac})}return e})(),te=new D("INPUTICON_INSTANCE"),Ti=(()=>{class e extends nt{hostName="";styleClass;_componentStyle=f(Yt);$pcInputIcon=f(te,{optional:!0,skipSelf:!0})??void 0;bindDirectiveInstance=f(_,{self:!0});onAfterViewChecked(){this.bindDirectiveInstance.setAttrs(this.ptms(["host","root"]))}static \u0275fac=(()=>{let t;return function(n){return(t||(t=I(e)))(n||e)}})();static \u0275cmp=E({type:e,selectors:[["p-inputicon"],["p-inputIcon"]],hostVars:2,hostBindings:function(i,n){i&2&&T(n.cn(n.cx("root"),n.styleClass))},inputs:{hostName:"hostName",styleClass:"styleClass"},features:[k([Yt,{provide:te,useExisting:e},{provide:A,useExisting:e}]),M([_]),x],ngContentSelectors:pe,decls:1,vars:0,template:function(i,n){i&1&&(Y(),tt(0))},dependencies:[et,it,_t],encapsulation:2,changeDetection:0})}return e})();var ee=`
47
+ .p-inputtext {
48
+ font-family: inherit;
49
+ font-feature-settings: inherit;
50
+ font-size: 1rem;
51
+ color: dt('inputtext.color');
52
+ background: dt('inputtext.background');
53
+ padding-block: dt('inputtext.padding.y');
54
+ padding-inline: dt('inputtext.padding.x');
55
+ border: 1px solid dt('inputtext.border.color');
56
+ transition:
57
+ background dt('inputtext.transition.duration'),
58
+ color dt('inputtext.transition.duration'),
59
+ border-color dt('inputtext.transition.duration'),
60
+ outline-color dt('inputtext.transition.duration'),
61
+ box-shadow dt('inputtext.transition.duration');
62
+ appearance: none;
63
+ border-radius: dt('inputtext.border.radius');
64
+ outline-color: transparent;
65
+ box-shadow: dt('inputtext.shadow');
66
+ }
67
+
68
+ .p-inputtext:enabled:hover {
69
+ border-color: dt('inputtext.hover.border.color');
70
+ }
71
+
72
+ .p-inputtext:enabled:focus {
73
+ border-color: dt('inputtext.focus.border.color');
74
+ box-shadow: dt('inputtext.focus.ring.shadow');
75
+ outline: dt('inputtext.focus.ring.width') dt('inputtext.focus.ring.style') dt('inputtext.focus.ring.color');
76
+ outline-offset: dt('inputtext.focus.ring.offset');
77
+ }
78
+
79
+ .p-inputtext.p-invalid {
80
+ border-color: dt('inputtext.invalid.border.color');
81
+ }
82
+
83
+ .p-inputtext.p-variant-filled {
84
+ background: dt('inputtext.filled.background');
85
+ }
86
+
87
+ .p-inputtext.p-variant-filled:enabled:hover {
88
+ background: dt('inputtext.filled.hover.background');
89
+ }
90
+
91
+ .p-inputtext.p-variant-filled:enabled:focus {
92
+ background: dt('inputtext.filled.focus.background');
93
+ }
94
+
95
+ .p-inputtext:disabled {
96
+ opacity: 1;
97
+ background: dt('inputtext.disabled.background');
98
+ color: dt('inputtext.disabled.color');
99
+ }
100
+
101
+ .p-inputtext::placeholder {
102
+ color: dt('inputtext.placeholder.color');
103
+ }
104
+
105
+ .p-inputtext.p-invalid::placeholder {
106
+ color: dt('inputtext.invalid.placeholder.color');
107
+ }
108
+
109
+ .p-inputtext-sm {
110
+ font-size: dt('inputtext.sm.font.size');
111
+ padding-block: dt('inputtext.sm.padding.y');
112
+ padding-inline: dt('inputtext.sm.padding.x');
113
+ }
114
+
115
+ .p-inputtext-lg {
116
+ font-size: dt('inputtext.lg.font.size');
117
+ padding-block: dt('inputtext.lg.padding.y');
118
+ padding-inline: dt('inputtext.lg.padding.x');
119
+ }
120
+
121
+ .p-inputtext-fluid {
122
+ width: 100%;
123
+ }
124
+ `;var me=`
125
+ ${ee}
126
+
127
+ /* For PrimeNG */
128
+ .p-inputtext.ng-invalid.ng-dirty {
129
+ border-color: dt('inputtext.invalid.border.color');
130
+ }
131
+
132
+ .p-inputtext.ng-invalid.ng-dirty::placeholder {
133
+ color: dt('inputtext.invalid.placeholder.color');
134
+ }
135
+ `,fe={root:({instance:e})=>["p-inputtext p-component",{"p-filled":e.$filled(),"p-inputtext-sm":e.pSize==="small","p-inputtext-lg":e.pSize==="large","p-invalid":e.invalid(),"p-variant-filled":e.$variant()==="filled","p-inputtext-fluid":e.hasFluid}]},ie=(()=>{class e extends R{name="inputtext";style=me;classes=fe;static \u0275fac=(()=>{let t;return function(n){return(t||(t=I(e)))(n||e)}})();static \u0275prov=V({token:e,factory:e.\u0275fac})}return e})();var ne=new D("INPUTTEXT_INSTANCE"),Hi=(()=>{class e extends qt{hostName="";ptInputText=W();pInputTextPT=W();pInputTextUnstyled=W();bindDirectiveInstance=f(_,{self:!0});$pcInputText=f(ne,{optional:!0,skipSelf:!0})??void 0;ngControl=f(Ut,{optional:!0,self:!0});pcFluid=f(Zt,{optional:!0,host:!0,skipSelf:!0});pSize;variant=W();fluid=W(void 0,{transform:wt});invalid=W(void 0,{transform:wt});$variant=kt(()=>this.variant()||this.config.inputStyle()||this.config.inputVariant());_componentStyle=f(ie);constructor(){super(),Ct(()=>{let t=this.ptInputText()||this.pInputTextPT();t&&this.directivePT.set(t)}),Ct(()=>{this.pInputTextUnstyled()&&this.directiveUnstyled.set(this.pInputTextUnstyled())})}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}get dataP(){return this.cn({invalid:this.invalid(),fluid:this.hasFluid,filled:this.$variant()==="filled",[this.pSize]:this.pSize})}static \u0275fac=function(i){return new(i||e)};static \u0275dir=Dt({type:e,selectors:[["","pInputText",""]],hostVars:3,hostBindings:function(i,n){i&1&&mt("input",function(){return n.onInput()}),i&2&&(P("data-p",n.dataP),T(n.cx("root")))},inputs:{hostName:"hostName",ptInputText:[1,"ptInputText"],pInputTextPT:[1,"pInputTextPT"],pInputTextUnstyled:[1,"pInputTextUnstyled"],pSize:"pSize",variant:[1,"variant"],fluid:[1,"fluid"],invalid:[1,"invalid"]},features:[k([ie,{provide:ne,useExisting:e},{provide:A,useExisting:e}]),M([_]),x]})}return e})(),ji=(()=>{class e{static \u0275fac=function(i){return new(i||e)};static \u0275mod=Z({type:e});static \u0275inj=U({})}return e})();var oe=["content"],ge=["item"],_e=["loader"],ye=["loadericon"],ve=["element"],Ce=["*"],bt=(e,d)=>({$implicit:e,options:d}),Ie=e=>({numCols:e}),re=e=>({options:e}),we=()=>({styleClass:"p-virtualscroller-loading-icon"}),Se=(e,d)=>({rows:e,columns:d});function xe(e,d){e&1&&K(0)}function Te(e,d){if(e&1&&(N(0),w(1,xe,1,0,"ng-container",10),L()),e&2){let t=v(2);g(),m("ngTemplateOutlet",t.contentTemplate||t._contentTemplate)("ngTemplateOutletContext",st(2,bt,t.loadedItems,t.getContentOptions()))}}function be(e,d){e&1&&K(0)}function ze(e,d){if(e&1&&(N(0),w(1,be,1,0,"ng-container",10),L()),e&2){let t=d.$implicit,i=d.index,n=v(3);g(),m("ngTemplateOutlet",n.itemTemplate||n._itemTemplate)("ngTemplateOutletContext",st(2,bt,t,n.getOptions(i)))}}function Ee(e,d){if(e&1&&(ht(0,"div",11,3),w(2,ze,2,5,"ng-container",12),pt()),e&2){let t=v(2);Bt(t.contentStyle),T(t.cn(t.cx("content"),t.contentStyleClass)),m("pBind",t.ptm("content")),g(2),m("ngForOf",t.loadedItems)("ngForTrackBy",t._trackBy)}}function Fe(e,d){if(e&1&&It(0,"div",13),e&2){let t=v(2);T(t.cx("spacer")),m("ngStyle",t.spacerStyle)("pBind",t.ptm("spacer"))}}function Ve(e,d){e&1&&K(0)}function De(e,d){if(e&1&&(N(0),w(1,Ve,1,0,"ng-container",10),L()),e&2){let t=d.index,i=v(4);g(),m("ngTemplateOutlet",i.loaderTemplate||i._loaderTemplate)("ngTemplateOutletContext",ft(4,re,i.getLoaderOptions(t,i.both&&ft(2,Ie,i.numItemsInViewport.cols))))}}function Me(e,d){if(e&1&&(N(0),w(1,De,2,6,"ng-container",14),L()),e&2){let t=v(3);g(),m("ngForOf",t.loaderArr)}}function Pe(e,d){e&1&&K(0)}function Ne(e,d){if(e&1&&(N(0),w(1,Pe,1,0,"ng-container",10),L()),e&2){let t=v(4);g(),m("ngTemplateOutlet",t.loaderIconTemplate||t._loaderIconTemplate)("ngTemplateOutletContext",ft(3,re,Ot(2,we)))}}function Le(e,d){if(e&1&&(q(),It(0,"svg",15)),e&2){let t=v(4);T(t.cx("loadingIcon")),m("spin",!0)("pBind",t.ptm("loadingIcon"))}}function Be(e,d){if(e&1&&w(0,Ne,2,5,"ng-container",6)(1,Le,1,4,"ng-template",null,5,lt),e&2){let t=ot(2),i=v(3);m("ngIf",i.loaderIconTemplate||i._loaderIconTemplate)("ngIfElse",t)}}function Oe(e,d){if(e&1&&(ht(0,"div",11),w(1,Me,2,1,"ng-container",6)(2,Be,3,2,"ng-template",null,4,lt),pt()),e&2){let t=ot(3),i=v(2);T(i.cx("loader")),m("pBind",i.ptm("loader")),g(),m("ngIf",i.loaderTemplate||i._loaderTemplate)("ngIfElse",t)}}function ke(e,d){if(e&1){let t=Mt();N(0),ht(1,"div",7,1),mt("scroll",function(n){zt(t);let o=v();return Et(o.onContainerScroll(n))}),w(3,Te,2,5,"ng-container",6)(4,Ee,3,7,"ng-template",null,2,lt)(6,Fe,1,4,"div",8)(7,Oe,4,5,"div",9),pt(),L()}if(e&2){let t=ot(5),i=v();g(),T(i.cn(i.cx("root"),i.styleClass)),m("ngStyle",i._style)("pBind",i.ptm("root")),P("id",i._id)("tabindex",i.tabindex),g(2),m("ngIf",i.contentTemplate||i._contentTemplate)("ngIfElse",t),g(3),m("ngIf",i._showSpacer),g(),m("ngIf",!i.loaderDisabled&&i._showLoader&&i.d_loading)}}function Re(e,d){e&1&&K(0)}function Ae(e,d){if(e&1&&(N(0),w(1,Re,1,0,"ng-container",10),L()),e&2){let t=v(2);g(),m("ngTemplateOutlet",t.contentTemplate||t._contentTemplate)("ngTemplateOutletContext",st(5,bt,t.items,st(2,Se,t._items,t.loadedColumns)))}}function He(e,d){if(e&1&&(tt(0),w(1,Ae,2,8,"ng-container",16)),e&2){let t=v();g(),m("ngIf",t.contentTemplate||t._contentTemplate)}}var je=`
136
+ .p-virtualscroller {
137
+ position: relative;
138
+ overflow: auto;
139
+ contain: strict;
140
+ transform: translateZ(0);
141
+ will-change: scroll-position;
142
+ outline: 0 none;
143
+ }
144
+
145
+ .p-virtualscroller-content {
146
+ position: absolute;
147
+ top: 0;
148
+ left: 0;
149
+ min-height: 100%;
150
+ min-width: 100%;
151
+ will-change: transform;
152
+ }
153
+
154
+ .p-virtualscroller-spacer {
155
+ position: absolute;
156
+ top: 0;
157
+ left: 0;
158
+ height: 1px;
159
+ width: 1px;
160
+ transform-origin: 0 0;
161
+ pointer-events: none;
162
+ }
163
+
164
+ .p-virtualscroller-loader {
165
+ position: sticky;
166
+ top: 0;
167
+ left: 0;
168
+ width: 100%;
169
+ height: 100%;
170
+ background: dt('virtualscroller.loader.mask.background');
171
+ color: dt('virtualscroller.loader.mask.color');
172
+ }
173
+
174
+ .p-virtualscroller-loader-mask {
175
+ display: flex;
176
+ align-items: center;
177
+ justify-content: center;
178
+ }
179
+
180
+ .p-virtualscroller-loading-icon {
181
+ font-size: dt('virtualscroller.loader.icon.size');
182
+ width: dt('virtualscroller.loader.icon.size');
183
+ height: dt('virtualscroller.loader.icon.size');
184
+ }
185
+
186
+ .p-virtualscroller-horizontal > .p-virtualscroller-content {
187
+ display: flex;
188
+ }
189
+
190
+ .p-virtualscroller-inline .p-virtualscroller-content {
191
+ position: static;
192
+ }
193
+ `,We={root:({instance:e})=>["p-virtualscroller",{"p-virtualscroller-inline":e.inline,"p-virtualscroller-both p-both-scroll":e.both,"p-virtualscroller-horizontal p-horizontal-scroll":e.horizontal}],content:"p-virtualscroller-content",spacer:"p-virtualscroller-spacer",loader:({instance:e})=>["p-virtualscroller-loader",{"p-virtualscroller-loader-mask":!e.loaderTemplate}],loadingIcon:"p-virtualscroller-loading-icon"},se=(()=>{class e extends R{name="virtualscroller";css=je;classes=We;static \u0275fac=(()=>{let t;return function(n){return(t||(t=I(e)))(n||e)}})();static \u0275prov=V({token:e,factory:e.\u0275fac})}return e})();var le=new D("SCROLLER_INSTANCE"),$e=(()=>{class e extends nt{zone;componentName="virtualScroller";bindDirectiveInstance=f(_,{self:!0});$pcScroller=f(le,{optional:!0,skipSelf:!0})??void 0;hostName="";get id(){return this._id}set id(t){this._id=t}get style(){return this._style}set style(t){this._style=t}get styleClass(){return this._styleClass}set styleClass(t){this._styleClass=t}get tabindex(){return this._tabindex}set tabindex(t){this._tabindex=t}get items(){return this._items}set items(t){this._items=t}get itemSize(){return this._itemSize}set itemSize(t){this._itemSize=t}get scrollHeight(){return this._scrollHeight}set scrollHeight(t){this._scrollHeight=t}get scrollWidth(){return this._scrollWidth}set scrollWidth(t){this._scrollWidth=t}get orientation(){return this._orientation}set orientation(t){this._orientation=t}get step(){return this._step}set step(t){this._step=t}get delay(){return this._delay}set delay(t){this._delay=t}get resizeDelay(){return this._resizeDelay}set resizeDelay(t){this._resizeDelay=t}get appendOnly(){return this._appendOnly}set appendOnly(t){this._appendOnly=t}get inline(){return this._inline}set inline(t){this._inline=t}get lazy(){return this._lazy}set lazy(t){this._lazy=t}get disabled(){return this._disabled}set disabled(t){this._disabled=t}get loaderDisabled(){return this._loaderDisabled}set loaderDisabled(t){this._loaderDisabled=t}get columns(){return this._columns}set columns(t){this._columns=t}get showSpacer(){return this._showSpacer}set showSpacer(t){this._showSpacer=t}get showLoader(){return this._showLoader}set showLoader(t){this._showLoader=t}get numToleratedItems(){return this._numToleratedItems}set numToleratedItems(t){this._numToleratedItems=t}get loading(){return this._loading}set loading(t){this._loading=t}get autoSize(){return this._autoSize}set autoSize(t){this._autoSize=t}get trackBy(){return this._trackBy}set trackBy(t){this._trackBy=t}get options(){return this._options}set options(t){this._options=t,t&&typeof t=="object"&&(Object.entries(t).forEach(([i,n])=>this[`_${i}`]!==n&&(this[`_${i}`]=n)),Object.entries(t).forEach(([i,n])=>this[`${i}`]!==n&&(this[`${i}`]=n)))}onLazyLoad=new dt;onScroll=new dt;onScrollIndexChange=new dt;elementViewChild;contentViewChild;height;_id;_style;_styleClass;_tabindex=0;_items;_itemSize=0;_scrollHeight;_scrollWidth;_orientation="vertical";_step=0;_delay=0;_resizeDelay=10;_appendOnly=!1;_inline=!1;_lazy=!1;_disabled=!1;_loaderDisabled=!1;_columns;_showSpacer=!0;_showLoader=!1;_numToleratedItems;_loading;_autoSize=!1;_trackBy;_options;d_loading=!1;d_numToleratedItems;contentEl;contentTemplate;itemTemplate;loaderTemplate;loaderIconTemplate;templates;_contentTemplate;_itemTemplate;_loaderTemplate;_loaderIconTemplate;first=0;last=0;page=0;isRangeChanged=!1;numItemsInViewport=0;lastScrollPos=0;lazyLoadState={};loaderArr=[];spacerStyle={};contentStyle={};scrollTimeout;resizeTimeout;initialized=!1;windowResizeListener;defaultWidth;defaultHeight;defaultContentWidth;defaultContentHeight;_contentStyleClass;get contentStyleClass(){return this._contentStyleClass}set contentStyleClass(t){this._contentStyleClass=t}get vertical(){return this._orientation==="vertical"}get horizontal(){return this._orientation==="horizontal"}get both(){return this._orientation==="both"}get loadedItems(){return this._items&&!this.d_loading?this.both?this._items.slice(this._appendOnly?0:this.first.rows,this.last.rows).map(t=>this._columns?t:Array.isArray(t)?t.slice(this._appendOnly?0:this.first.cols,this.last.cols):t):this.horizontal&&this._columns?this._items:this._items.slice(this._appendOnly?0:this.first,this.last):[]}get loadedRows(){return this.d_loading?this._loaderDisabled?this.loaderArr:[]:this.loadedItems}get loadedColumns(){return this._columns&&(this.both||this.horizontal)?this.d_loading&&this._loaderDisabled?this.both?this.loaderArr[0]:this.loaderArr:this._columns.slice(this.both?this.first.cols:this.first,this.both?this.last.cols:this.last):this._columns}_componentStyle=f(se);constructor(t){super(),this.zone=t}onInit(){this.setInitialState()}onChanges(t){let i=!1;if(this.scrollHeight=="100%"&&(this.height="100%"),t.loading){let{previousValue:n,currentValue:o}=t.loading;this.lazy&&n!==o&&o!==this.d_loading&&(this.d_loading=o,i=!0)}if(t.orientation&&(this.lastScrollPos=this.both?{top:0,left:0}:0),t.numToleratedItems){let{previousValue:n,currentValue:o}=t.numToleratedItems;n!==o&&o!==this.d_numToleratedItems&&(this.d_numToleratedItems=o)}if(t.options){let{previousValue:n,currentValue:o}=t.options;this.lazy&&n?.loading!==o?.loading&&o?.loading!==this.d_loading&&(this.d_loading=o.loading,i=!0),n?.numToleratedItems!==o?.numToleratedItems&&o?.numToleratedItems!==this.d_numToleratedItems&&(this.d_numToleratedItems=o.numToleratedItems)}this.initialized&&!i&&(t.items?.previousValue?.length!==t.items?.currentValue?.length||t.itemSize||t.scrollHeight||t.scrollWidth)&&(this.init(),this.calculateAutoSize())}onAfterContentInit(){this.templates.forEach(t=>{switch(t.getType()){case"content":this._contentTemplate=t.template;break;case"item":this._itemTemplate=t.template;break;case"loader":this._loaderTemplate=t.template;break;case"loadericon":this._loaderIconTemplate=t.template;break;default:this._itemTemplate=t.template;break}})}onAfterViewInit(){Promise.resolve().then(()=>{this.viewInit()})}onAfterViewChecked(){this.bindDirectiveInstance.setAttrs(this.ptm("host")),this.initialized||this.viewInit()}onDestroy(){this.unbindResizeListener(),this.contentEl=null,this.initialized=!1}viewInit(){St(this.platformId)&&!this.initialized&&xt(this.elementViewChild?.nativeElement)&&(this.setInitialState(),this.setContentEl(this.contentEl),this.init(),this.defaultWidth=Q(this.elementViewChild?.nativeElement),this.defaultHeight=$(this.elementViewChild?.nativeElement),this.defaultContentWidth=Q(this.contentEl),this.defaultContentHeight=$(this.contentEl),this.initialized=!0)}init(){this._disabled||(this.bindResizeListener(),setTimeout(()=>{this.setSpacerSize(),this.setSize(),this.calculateOptions(),this.cd.detectChanges()},1))}setContentEl(t){this.contentEl=t||this.contentViewChild?.nativeElement||Wt(this.elementViewChild?.nativeElement,".p-virtualscroller-content")}setInitialState(){this.first=this.both?{rows:0,cols:0}:0,this.last=this.both?{rows:0,cols:0}:0,this.numItemsInViewport=this.both?{rows:0,cols:0}:0,this.lastScrollPos=this.both?{top:0,left:0}:0,(this.d_loading===void 0||this.d_loading===!1)&&(this.d_loading=this._loading||!1),this.d_numToleratedItems=this._numToleratedItems,this.loaderArr=this.loaderArr.length>0?this.loaderArr:[]}getElementRef(){return this.elementViewChild}getPageByFirst(t){return Math.floor(((t??this.first)+this.d_numToleratedItems*4)/(this._step||1))}isPageChanged(t){return this._step?this.page!==this.getPageByFirst(t??this.first):!0}scrollTo(t){this.elementViewChild?.nativeElement?.scrollTo(t)}scrollToIndex(t,i="auto"){if(this.both?t.every(o=>o>-1):t>-1){let o=this.first,{scrollTop:s=0,scrollLeft:l=0}=this.elementViewChild?.nativeElement,{numToleratedItems:u}=this.calculateNumItems(),h=this.getContentPosition(),c=this.itemSize,S=(a=0,p)=>a<=p?0:a,y=(a,p,b)=>a*p+b,z=(a=0,p=0)=>this.scrollTo({left:a,top:p,behavior:i}),C=this.both?{rows:0,cols:0}:0,H=!1,r=!1;this.both?(C={rows:S(t[0],u[0]),cols:S(t[1],u[1])},z(y(C.cols,c[1],h.left),y(C.rows,c[0],h.top)),r=this.lastScrollPos.top!==s||this.lastScrollPos.left!==l,H=C.rows!==o.rows||C.cols!==o.cols):(C=S(t,u),this.horizontal?z(y(C,c,h.left),s):z(l,y(C,c,h.top)),r=this.lastScrollPos!==(this.horizontal?l:s),H=C!==o),this.isRangeChanged=H,r&&(this.first=C)}}scrollInView(t,i,n="auto"){if(i){let{first:o,viewport:s}=this.getRenderedRange(),l=(c=0,S=0)=>this.scrollTo({left:c,top:S,behavior:n}),u=i==="to-start",h=i==="to-end";if(u){if(this.both)s.first.rows-o.rows>t[0]?l(s.first.cols*this._itemSize[1],(s.first.rows-1)*this._itemSize[0]):s.first.cols-o.cols>t[1]&&l((s.first.cols-1)*this._itemSize[1],s.first.rows*this._itemSize[0]);else if(s.first-o>t){let c=(s.first-1)*this._itemSize;this.horizontal?l(c,0):l(0,c)}}else if(h){if(this.both)s.last.rows-o.rows<=t[0]+1?l(s.first.cols*this._itemSize[1],(s.first.rows+1)*this._itemSize[0]):s.last.cols-o.cols<=t[1]+1&&l((s.first.cols+1)*this._itemSize[1],s.first.rows*this._itemSize[0]);else if(s.last-o<=t+1){let c=(s.first+1)*this._itemSize;this.horizontal?l(c,0):l(0,c)}}}else this.scrollToIndex(t,n)}getRenderedRange(){let t=(o,s)=>s||o?Math.floor(o/(s||o)):0,i=this.first,n=0;if(this.elementViewChild?.nativeElement){let{scrollTop:o,scrollLeft:s}=this.elementViewChild.nativeElement;if(this.both)i={rows:t(o,this._itemSize[0]),cols:t(s,this._itemSize[1])},n={rows:i.rows+this.numItemsInViewport.rows,cols:i.cols+this.numItemsInViewport.cols};else{let l=this.horizontal?s:o;i=t(l,this._itemSize),n=i+this.numItemsInViewport}}return{first:this.first,last:this.last,viewport:{first:i,last:n}}}calculateNumItems(){let t=this.getContentPosition(),i=(this.elementViewChild?.nativeElement?this.elementViewChild.nativeElement.offsetWidth-t.left:0)||0,n=(this.elementViewChild?.nativeElement?this.elementViewChild.nativeElement.offsetHeight-t.top:0)||0,o=(h,c)=>c||h?Math.ceil(h/(c||h)):0,s=h=>Math.ceil(h/2),l=this.both?{rows:o(n,this._itemSize[0]),cols:o(i,this._itemSize[1])}:o(this.horizontal?i:n,this._itemSize),u=this.d_numToleratedItems||(this.both?[s(l.rows),s(l.cols)]:s(l));return{numItemsInViewport:l,numToleratedItems:u}}calculateOptions(){let{numItemsInViewport:t,numToleratedItems:i}=this.calculateNumItems(),n=(l,u,h,c=!1)=>this.getLast(l+u+(l<h?2:3)*h,c),o=this.first,s=this.both?{rows:n(this.first.rows,t.rows,i[0]),cols:n(this.first.cols,t.cols,i[1],!0)}:n(this.first,t,i);this.last=s,this.numItemsInViewport=t,this.d_numToleratedItems=i,this._showLoader&&(this.loaderArr=this.both?Array.from({length:t.rows}).map(()=>Array.from({length:t.cols})):Array.from({length:t})),this._lazy&&Promise.resolve().then(()=>{this.lazyLoadState={first:this._step?this.both?{rows:0,cols:o.cols}:0:o,last:Math.min(this._step?this._step:this.last,this._items.length)},this.handleEvents("onLazyLoad",this.lazyLoadState)})}calculateAutoSize(){this._autoSize&&!this.d_loading&&Promise.resolve().then(()=>{if(this.contentEl){this.contentEl.style.minHeight=this.contentEl.style.minWidth="auto",this.contentEl.style.position="relative",this.elementViewChild.nativeElement.style.contain="none";let[t,i]=[Q(this.contentEl),$(this.contentEl)];t!==this.defaultContentWidth&&(this.elementViewChild.nativeElement.style.width=""),i!==this.defaultContentHeight&&(this.elementViewChild.nativeElement.style.height="");let[n,o]=[Q(this.elementViewChild.nativeElement),$(this.elementViewChild.nativeElement)];(this.both||this.horizontal)&&(this.elementViewChild.nativeElement.style.width=n<this.defaultWidth?n+"px":this._scrollWidth||this.defaultWidth+"px"),(this.both||this.vertical)&&(this.elementViewChild.nativeElement.style.height=o<this.defaultHeight?o+"px":this._scrollHeight||this.defaultHeight+"px"),this.contentEl.style.minHeight=this.contentEl.style.minWidth="",this.contentEl.style.position="",this.elementViewChild.nativeElement.style.contain=""}})}getLast(t=0,i=!1){return this._items?Math.min(i?(this._columns||this._items[0]).length:this._items.length,t):0}getContentPosition(){if(this.contentEl){let t=getComputedStyle(this.contentEl),i=parseFloat(t.paddingLeft)+Math.max(parseFloat(t.left)||0,0),n=parseFloat(t.paddingRight)+Math.max(parseFloat(t.right)||0,0),o=parseFloat(t.paddingTop)+Math.max(parseFloat(t.top)||0,0),s=parseFloat(t.paddingBottom)+Math.max(parseFloat(t.bottom)||0,0);return{left:i,right:n,top:o,bottom:s,x:i+n,y:o+s}}return{left:0,right:0,top:0,bottom:0,x:0,y:0}}setSize(){if(this.elementViewChild?.nativeElement){let t=this.elementViewChild.nativeElement,i=t.parentElement?.parentElement,n=t.offsetWidth,o=i?.offsetWidth||0,s=this._scrollWidth||`${n||o}px`,l=t.offsetHeight,u=i?.offsetHeight||0,h=this._scrollHeight||`${l||u}px`,c=(S,y)=>t.style[S]=y;this.both||this.horizontal?(c("height",h),c("width",s)):c("height",h)}}setSpacerSize(){if(this._items){let t=this.getContentPosition(),i=(n,o,s,l=0)=>this.spacerStyle=vt(ct({},this.spacerStyle),{[`${n}`]:(o||[]).length*s+l+"px"});this.both?(i("height",this._items,this._itemSize[0],t.y),i("width",this._columns||this._items[1],this._itemSize[1],t.x)):this.horizontal?i("width",this._columns||this._items,this._itemSize,t.x):i("height",this._items,this._itemSize,t.y)}}setContentPosition(t){if(this.contentEl&&!this._appendOnly){let i=t?t.first:this.first,n=(s,l)=>s*l,o=(s=0,l=0)=>this.contentStyle=vt(ct({},this.contentStyle),{transform:`translate3d(${s}px, ${l}px, 0)`});if(this.both)o(n(i.cols,this._itemSize[1]),n(i.rows,this._itemSize[0]));else{let s=n(i,this._itemSize);this.horizontal?o(s,0):o(0,s)}}}onScrollPositionChange(t){let i=t.target;if(!i)throw new Error("Event target is null");let n=this.getContentPosition(),o=(r,a)=>r?r>a?r-a:r:0,s=(r,a)=>a||r?Math.floor(r/(a||r)):0,l=(r,a,p,b,F,j)=>r<=F?F:j?p-b-F:a+F-1,u=(r,a,p,b,F,j,at)=>r<=j?0:Math.max(0,at?r<a?p:r-j:r>a?p:r-2*j),h=(r,a,p,b,F,j=!1)=>{let at=a+b+2*F;return r>=F&&(at+=F+1),this.getLast(at,j)},c=o(i.scrollTop,n.top),S=o(i.scrollLeft,n.left),y=this.both?{rows:0,cols:0}:0,z=this.last,C=!1,H=this.lastScrollPos;if(this.both){let r=this.lastScrollPos.top<=c,a=this.lastScrollPos.left<=S;if(!this._appendOnly||this._appendOnly&&(r||a)){let p={rows:s(c,this._itemSize[0]),cols:s(S,this._itemSize[1])},b={rows:l(p.rows,this.first.rows,this.last.rows,this.numItemsInViewport.rows,this.d_numToleratedItems[0],r),cols:l(p.cols,this.first.cols,this.last.cols,this.numItemsInViewport.cols,this.d_numToleratedItems[1],a)};y={rows:u(p.rows,b.rows,this.first.rows,this.last.rows,this.numItemsInViewport.rows,this.d_numToleratedItems[0],r),cols:u(p.cols,b.cols,this.first.cols,this.last.cols,this.numItemsInViewport.cols,this.d_numToleratedItems[1],a)},z={rows:h(p.rows,y.rows,this.last.rows,this.numItemsInViewport.rows,this.d_numToleratedItems[0]),cols:h(p.cols,y.cols,this.last.cols,this.numItemsInViewport.cols,this.d_numToleratedItems[1],!0)},C=y.rows!==this.first.rows||z.rows!==this.last.rows||y.cols!==this.first.cols||z.cols!==this.last.cols||this.isRangeChanged,H={top:c,left:S}}}else{let r=this.horizontal?S:c,a=this.lastScrollPos<=r;if(!this._appendOnly||this._appendOnly&&a){let p=s(r,this._itemSize),b=l(p,this.first,this.last,this.numItemsInViewport,this.d_numToleratedItems,a);y=u(p,b,this.first,this.last,this.numItemsInViewport,this.d_numToleratedItems,a),z=h(p,y,this.last,this.numItemsInViewport,this.d_numToleratedItems),C=y!==this.first||z!==this.last||this.isRangeChanged,H=r}}return{first:y,last:z,isRangeChanged:C,scrollPos:H}}onScrollChange(t){let{first:i,last:n,isRangeChanged:o,scrollPos:s}=this.onScrollPositionChange(t);if(o){let l={first:i,last:n};if(this.setContentPosition(l),this.first=i,this.last=n,this.lastScrollPos=s,this.handleEvents("onScrollIndexChange",l),this._lazy&&this.isPageChanged(i)){let u={first:this._step?Math.min(this.getPageByFirst(i)*this._step,this._items.length-this._step):i,last:Math.min(this._step?(this.getPageByFirst(i)+1)*this._step:n,this._items.length)};(this.lazyLoadState.first!==u.first||this.lazyLoadState.last!==u.last)&&this.handleEvents("onLazyLoad",u),this.lazyLoadState=u}}}onContainerScroll(t){if(this.handleEvents("onScroll",{originalEvent:t}),this._delay){if(this.scrollTimeout&&clearTimeout(this.scrollTimeout),!this.d_loading&&this._showLoader){let{isRangeChanged:i}=this.onScrollPositionChange(t);(i||(this._step?this.isPageChanged():!1))&&(this.d_loading=!0,this.cd.detectChanges())}this.scrollTimeout=setTimeout(()=>{this.onScrollChange(t),this.d_loading&&this._showLoader&&(!this._lazy||this._loading===void 0)&&(this.d_loading=!1,this.page=this.getPageByFirst()),this.cd.detectChanges()},this._delay)}else!this.d_loading&&this.onScrollChange(t)}bindResizeListener(){St(this.platformId)&&(this.windowResizeListener||this.zone.runOutsideAngular(()=>{let t=this.document.defaultView,i=$t()?"orientationchange":"resize";this.windowResizeListener=this.renderer.listen(t,i,this.onWindowResize.bind(this))}))}unbindResizeListener(){this.windowResizeListener&&(this.windowResizeListener(),this.windowResizeListener=null)}onWindowResize(){this.resizeTimeout&&clearTimeout(this.resizeTimeout),this.resizeTimeout=setTimeout(()=>{if(xt(this.elementViewChild?.nativeElement)){let[t,i]=[Q(this.elementViewChild?.nativeElement),$(this.elementViewChild?.nativeElement)],[n,o]=[t!==this.defaultWidth,i!==this.defaultHeight];(this.both?n||o:this.horizontal?n:this.vertical?o:!1)&&this.zone.run(()=>{this.d_numToleratedItems=this._numToleratedItems,this.defaultWidth=t,this.defaultHeight=i,this.defaultContentWidth=Q(this.contentEl),this.defaultContentHeight=$(this.contentEl),this.init()})}},this._resizeDelay)}handleEvents(t,i){return this.options&&this.options[t]?this.options[t](i):this[t].emit(i)}getContentOptions(){return{contentStyleClass:`p-virtualscroller-content ${this.d_loading?"p-virtualscroller-loading":""}`,items:this.loadedItems,getItemOptions:t=>this.getOptions(t),loading:this.d_loading,getLoaderOptions:(t,i)=>this.getLoaderOptions(t,i),itemSize:this._itemSize,rows:this.loadedRows,columns:this.loadedColumns,spacerStyle:this.spacerStyle,contentStyle:this.contentStyle,vertical:this.vertical,horizontal:this.horizontal,both:this.both,scrollTo:this.scrollTo.bind(this),scrollToIndex:this.scrollToIndex.bind(this),orientation:this._orientation,scrollableElement:this.elementViewChild?.nativeElement}}getOptions(t){let i=(this._items||[]).length,n=this.both?this.first.rows+t:this.first+t;return{index:n,count:i,first:n===0,last:n===i-1,even:n%2===0,odd:n%2!==0}}getLoaderOptions(t,i){let n=this.loaderArr.length;return ct({index:t,count:n,first:t===0,last:t===n-1,even:t%2===0,odd:t%2!==0,loading:this.d_loading},i)}static \u0275fac=function(i){return new(i||e)(Vt(Ft))};static \u0275cmp=E({type:e,selectors:[["p-scroller"],["p-virtualscroller"],["p-virtual-scroller"],["p-virtualScroller"]],contentQueries:function(i,n,o){if(i&1&&Pt(o,oe,4)(o,ge,4)(o,_e,4)(o,ye,4)(o,Qt,4),i&2){let s;B(s=O())&&(n.contentTemplate=s.first),B(s=O())&&(n.itemTemplate=s.first),B(s=O())&&(n.loaderTemplate=s.first),B(s=O())&&(n.loaderIconTemplate=s.first),B(s=O())&&(n.templates=s)}},viewQuery:function(i,n){if(i&1&&Nt(ve,5)(oe,5),i&2){let o;B(o=O())&&(n.elementViewChild=o.first),B(o=O())&&(n.contentViewChild=o.first)}},hostVars:2,hostBindings:function(i,n){i&2&&Lt("height",n.height)},inputs:{hostName:"hostName",id:"id",style:"style",styleClass:"styleClass",tabindex:"tabindex",items:"items",itemSize:"itemSize",scrollHeight:"scrollHeight",scrollWidth:"scrollWidth",orientation:"orientation",step:"step",delay:"delay",resizeDelay:"resizeDelay",appendOnly:"appendOnly",inline:"inline",lazy:"lazy",disabled:"disabled",loaderDisabled:"loaderDisabled",columns:"columns",showSpacer:"showSpacer",showLoader:"showLoader",numToleratedItems:"numToleratedItems",loading:"loading",autoSize:"autoSize",trackBy:"trackBy",options:"options"},outputs:{onLazyLoad:"onLazyLoad",onScroll:"onScroll",onScrollIndexChange:"onScrollIndexChange"},features:[k([se,{provide:le,useExisting:e},{provide:A,useExisting:e}]),M([_]),x],ngContentSelectors:Ce,decls:3,vars:2,consts:[["disabledContainer",""],["element",""],["buildInContent",""],["content",""],["buildInLoader",""],["buildInLoaderIcon",""],[4,"ngIf","ngIfElse"],[3,"scroll","ngStyle","pBind"],[3,"class","ngStyle","pBind",4,"ngIf"],[3,"class","pBind",4,"ngIf"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],[3,"pBind"],[4,"ngFor","ngForOf","ngForTrackBy"],[3,"ngStyle","pBind"],[4,"ngFor","ngForOf"],["data-p-icon","spinner",3,"spin","pBind"],[4,"ngIf"]],template:function(i,n){if(i&1&&(Y(),w(0,ke,8,10,"ng-container",6)(1,He,2,1,"ng-template",null,0,lt)),i&2){let o=ot(2);m("ngIf",!n._disabled)("ngIfElse",o)}},dependencies:[et,Rt,At,jt,Ht,Kt,it,_],encapsulation:2})}return e})(),hn=(()=>{class e{static \u0275fac=function(i){return new(i||e)};static \u0275mod=Z({type:e});static \u0275inj=U({imports:[$e,it,it]})}return e})();export{oi as a,ai as b,Kt as c,Ti as d,Hi as e,ji as f,$e as g,hn as h};
@@ -1,4 +1,4 @@
1
- import{D as je}from"./chunk-BI4K5Y2V.js";import{Eb as he,Fb as He,Ga as C,Gb as Ue,Ja as me,Ka as xe,Na as Me,Tb as We,Ua as ke,d as M,ia as A,ja as Ie,la as Pe,na as P,oa as De,tb as Fe,xb as $e,yc as ge,za as ce,zc as ye}from"./chunk-32SEKQJM.js";import{a as I}from"./chunk-66YHNWRR.js";function Ft(e,i){return e?e.classList?e.classList.contains(i):new RegExp("(^| )"+i+"( |$)","gi").test(e.className):!1}function Be(e,i){if(e&&i){let t=n=>{Ft(e,n)||(e.classList?e.classList.add(n):e.className+=" "+n)};[i].flat().filter(Boolean).forEach(n=>n.split(" ").forEach(t))}}function $t(){return window.innerWidth-document.documentElement.offsetWidth}function fi(e){typeof e=="string"?Be(document.body,e||"p-overflow-hidden"):(e!=null&&e.variableName&&document.body.style.setProperty(e.variableName,$t()+"px"),Be(document.body,e?.className||"p-overflow-hidden"))}function Ve(e,i){if(e&&i){let t=n=>{e.classList?e.classList.remove(n):e.className=e.className.replace(new RegExp("(^|\\b)"+n.split(" ").join("|")+"(\\b|$)","gi")," ")};[i].flat().filter(Boolean).forEach(n=>n.split(" ").forEach(t))}}function mi(e){typeof e=="string"?Ve(document.body,e||"p-overflow-hidden"):(e!=null&&e.variableName&&document.body.style.removeProperty(e.variableName),Ve(document.body,e?.className||"p-overflow-hidden"))}function Ee(e){for(let i of document?.styleSheets)try{for(let t of i?.cssRules)for(let n of t?.style)if(e.test(n))return{name:n,value:t.style.getPropertyValue(n).trim()}}catch{}return null}function Ge(e){let i={width:0,height:0};if(e){let[t,n]=[e.style.visibility,e.style.display],r=e.getBoundingClientRect();e.style.visibility="hidden",e.style.display="block",i.width=r.width||e.offsetWidth,i.height=r.height||e.offsetHeight,e.style.display=n,e.style.visibility=t}return i}function Ke(){let e=window,i=document,t=i.documentElement,n=i.getElementsByTagName("body")[0],r=e.innerWidth||t.clientWidth||n.clientWidth,s=e.innerHeight||t.clientHeight||n.clientHeight;return{width:r,height:s}}function be(e){return e?Math.abs(e.scrollLeft):0}function Ht(){let e=document.documentElement;return(window.pageXOffset||be(e))-(e.clientLeft||0)}function Ut(){let e=document.documentElement;return(window.pageYOffset||e.scrollTop)-(e.clientTop||0)}function Wt(e){return e?getComputedStyle(e).direction==="rtl":!1}function hi(e,i,t=!0){var n,r,s,a;if(e){let o=e.offsetParent?{width:e.offsetWidth,height:e.offsetHeight}:Ge(e),l=o.height,c=o.width,p=i.offsetHeight,f=i.offsetWidth,u=i.getBoundingClientRect(),d=Ut(),m=Ht(),h=Ke(),g,E,b="top";u.top+p+l>h.height?(g=u.top+d-l,b="bottom",g<0&&(g=d)):g=p+u.top+d,u.left+c>h.width?E=Math.max(0,u.left+m+f-c):E=u.left+m,Wt(e)?e.style.insetInlineEnd=E+"px":e.style.insetInlineStart=E+"px",e.style.top=g+"px",e.style.transformOrigin=b,t&&(e.style.marginTop=b==="bottom"?`calc(${(r=(n=Ee(/-anchor-gutter$/))==null?void 0:n.value)!=null?r:"2px"} * -1)`:(a=(s=Ee(/-anchor-gutter$/))==null?void 0:s.value)!=null?a:"")}}function jt(e,i){e&&(typeof i=="string"?e.style.cssText=i:Object.entries(i||{}).forEach(([t,n])=>e.style[t]=n))}function gi(e,i){if(e instanceof HTMLElement){let t=e.offsetWidth;if(i){let n=getComputedStyle(e);t+=parseFloat(n.marginLeft)+parseFloat(n.marginRight)}return t}return 0}function yi(e,i,t=!0,n=void 0){var r;if(e){let s=e.offsetParent?{width:e.offsetWidth,height:e.offsetHeight}:Ge(e),a=i.offsetHeight,o=i.getBoundingClientRect(),l=Ke(),c,p,f=n??"top";if(!n&&o.top+a+s.height>l.height?(c=-1*s.height,f="bottom",o.top+c<0&&(c=-1*o.top)):c=a,s.width>l.width?p=o.left*-1:o.left+s.width>l.width?p=(o.left+s.width-l.width)*-1:p=0,e.style.top=c+"px",e.style.insetInlineStart=p+"px",e.style.transformOrigin=f,t){let u=(r=Ee(/-anchor-gutter$/))==null?void 0:r.value;e.style.marginTop=f==="bottom"?`calc(${u??"2px"} * -1)`:u??""}}}function qe(e){if(e){let i=e.parentNode;return i&&i instanceof ShadowRoot&&i.host&&(i=i.host),i}return null}function Bt(e){return!!(e!==null&&typeof e<"u"&&e.nodeName&&qe(e))}function $(e){return typeof Element<"u"?e instanceof Element:e!==null&&typeof e=="object"&&e.nodeType===1&&typeof e.nodeName=="string"}function Ye(e){let i=e;return e&&typeof e=="object"&&(Object.hasOwn(e,"current")?i=e.current:Object.hasOwn(e,"el")&&(Object.hasOwn(e.el,"nativeElement")?i=e.el.nativeElement:i=e.el)),$(i)?i:void 0}function Vt(e,i){var t,n,r;if(e)switch(e){case"document":return document;case"window":return window;case"body":return document.body;case"@next":return i?.nextElementSibling;case"@prev":return i?.previousElementSibling;case"@first":return i?.firstElementChild;case"@last":return i?.lastElementChild;case"@child":return(t=i?.children)==null?void 0:t[0];case"@parent":return i?.parentElement;case"@grandparent":return(n=i?.parentElement)==null?void 0:n.parentElement;default:{if(typeof e=="string"){let o=e.match(/^@child\[(\d+)]/);return o?((r=i?.children)==null?void 0:r[parseInt(o[1],10)])||null:document.querySelector(e)||null}let s=(o=>typeof o=="function"&&"call"in o&&"apply"in o)(e)?e():e,a=Ye(s);return Bt(a)?a:s?.nodeType===9?s:void 0}}}function Si(e,i){let t=Vt(e,i);if(t)t.appendChild(i);else throw new Error("Cannot append "+i+" to "+e)}var Se;function Ei(e){if(e){let i=getComputedStyle(e);return e.offsetWidth-e.clientWidth-parseFloat(i.borderLeftWidth)-parseFloat(i.borderRightWidth)}else{if(Se!=null)return Se;let i=document.createElement("div");jt(i,{width:"100px",height:"100px",overflow:"scroll",position:"absolute",top:"-9999px"}),document.body.appendChild(i);let t=i.offsetWidth-i.clientWidth;return document.body.removeChild(i),Se=t,t}}function pe(e,i={}){if($(e)){let t=(n,r)=>{var s,a;let o=(s=e?.$attrs)!=null&&s[n]?[(a=e?.$attrs)==null?void 0:a[n]]:[];return[r].flat().reduce((l,c)=>{if(c!=null){let p=typeof c;if(p==="string"||p==="number")l.push(c);else if(p==="object"){let f=Array.isArray(c)?t(n,c):Object.entries(c).map(([u,d])=>n==="style"&&(d||d===0)?`${u.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()}:${d}`:d?u:void 0);l=f.length?l.concat(f.filter(u=>!!u)):l}}return l},o)};Object.entries(i).forEach(([n,r])=>{if(r!=null){let s=n.match(/^on(.+)/);s?e.addEventListener(s[1].toLowerCase(),r):n==="p-bind"||n==="pBind"?pe(e,r):(r=n==="class"?[...new Set(t("class",r))].join(" ").trim():n==="style"?t("style",r).join(";").trim():r,(e.$attrs=e.$attrs||{})&&(e.$attrs[n]=r),e.setAttribute(n,r))}})}}function bi(e,i={},...t){if(e){let n=document.createElement(e);return pe(n,i),n.append(...t),n}}function vi(e,i){if(e){e.style.opacity="0";let t=+new Date,n="0",r=function(){n=`${+e.style.opacity+(new Date().getTime()-t)/i}`,e.style.opacity=n,t=+new Date,+n<1&&("requestAnimationFrame"in window?requestAnimationFrame(r):setTimeout(r,16))};r()}}function Gt(e,i){return $(e)?Array.from(e.querySelectorAll(i)):[]}function Ti(e,i){return $(e)?e.matches(i)?e:e.querySelector(i):null}function Oi(e,i){e&&document.activeElement!==e&&e.focus(i)}function Ai(e,i){if($(e)){let t=e.getAttribute(i);return isNaN(t)?t==="true"||t==="false"?t==="true":t:+t}}function ze(e,i=""){let t=Gt(e,`button:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])${i},
1
+ import{F as je}from"./chunk-MLQKT6FW.js";import{Ac as ge,Bc as ye,Eb as he,Fb as He,Ga as C,Gb as Ue,Ja as me,Ka as xe,Na as Me,Tb as We,Ua as ke,d as M,ia as A,ja as Ie,la as Pe,na as P,oa as De,tb as Fe,xb as $e,za as ce}from"./chunk-KCXC4XYC.js";import{a as I}from"./chunk-66YHNWRR.js";function Ft(e,i){return e?e.classList?e.classList.contains(i):new RegExp("(^| )"+i+"( |$)","gi").test(e.className):!1}function Be(e,i){if(e&&i){let t=n=>{Ft(e,n)||(e.classList?e.classList.add(n):e.className+=" "+n)};[i].flat().filter(Boolean).forEach(n=>n.split(" ").forEach(t))}}function $t(){return window.innerWidth-document.documentElement.offsetWidth}function fi(e){typeof e=="string"?Be(document.body,e||"p-overflow-hidden"):(e!=null&&e.variableName&&document.body.style.setProperty(e.variableName,$t()+"px"),Be(document.body,e?.className||"p-overflow-hidden"))}function Ve(e,i){if(e&&i){let t=n=>{e.classList?e.classList.remove(n):e.className=e.className.replace(new RegExp("(^|\\b)"+n.split(" ").join("|")+"(\\b|$)","gi")," ")};[i].flat().filter(Boolean).forEach(n=>n.split(" ").forEach(t))}}function mi(e){typeof e=="string"?Ve(document.body,e||"p-overflow-hidden"):(e!=null&&e.variableName&&document.body.style.removeProperty(e.variableName),Ve(document.body,e?.className||"p-overflow-hidden"))}function Ee(e){for(let i of document?.styleSheets)try{for(let t of i?.cssRules)for(let n of t?.style)if(e.test(n))return{name:n,value:t.style.getPropertyValue(n).trim()}}catch{}return null}function Ge(e){let i={width:0,height:0};if(e){let[t,n]=[e.style.visibility,e.style.display],r=e.getBoundingClientRect();e.style.visibility="hidden",e.style.display="block",i.width=r.width||e.offsetWidth,i.height=r.height||e.offsetHeight,e.style.display=n,e.style.visibility=t}return i}function Ke(){let e=window,i=document,t=i.documentElement,n=i.getElementsByTagName("body")[0],r=e.innerWidth||t.clientWidth||n.clientWidth,s=e.innerHeight||t.clientHeight||n.clientHeight;return{width:r,height:s}}function be(e){return e?Math.abs(e.scrollLeft):0}function Ht(){let e=document.documentElement;return(window.pageXOffset||be(e))-(e.clientLeft||0)}function Ut(){let e=document.documentElement;return(window.pageYOffset||e.scrollTop)-(e.clientTop||0)}function Wt(e){return e?getComputedStyle(e).direction==="rtl":!1}function hi(e,i,t=!0){var n,r,s,a;if(e){let o=e.offsetParent?{width:e.offsetWidth,height:e.offsetHeight}:Ge(e),l=o.height,c=o.width,p=i.offsetHeight,f=i.offsetWidth,u=i.getBoundingClientRect(),d=Ut(),m=Ht(),h=Ke(),g,E,b="top";u.top+p+l>h.height?(g=u.top+d-l,b="bottom",g<0&&(g=d)):g=p+u.top+d,u.left+c>h.width?E=Math.max(0,u.left+m+f-c):E=u.left+m,Wt(e)?e.style.insetInlineEnd=E+"px":e.style.insetInlineStart=E+"px",e.style.top=g+"px",e.style.transformOrigin=b,t&&(e.style.marginTop=b==="bottom"?`calc(${(r=(n=Ee(/-anchor-gutter$/))==null?void 0:n.value)!=null?r:"2px"} * -1)`:(a=(s=Ee(/-anchor-gutter$/))==null?void 0:s.value)!=null?a:"")}}function jt(e,i){e&&(typeof i=="string"?e.style.cssText=i:Object.entries(i||{}).forEach(([t,n])=>e.style[t]=n))}function gi(e,i){if(e instanceof HTMLElement){let t=e.offsetWidth;if(i){let n=getComputedStyle(e);t+=parseFloat(n.marginLeft)+parseFloat(n.marginRight)}return t}return 0}function yi(e,i,t=!0,n=void 0){var r;if(e){let s=e.offsetParent?{width:e.offsetWidth,height:e.offsetHeight}:Ge(e),a=i.offsetHeight,o=i.getBoundingClientRect(),l=Ke(),c,p,f=n??"top";if(!n&&o.top+a+s.height>l.height?(c=-1*s.height,f="bottom",o.top+c<0&&(c=-1*o.top)):c=a,s.width>l.width?p=o.left*-1:o.left+s.width>l.width?p=(o.left+s.width-l.width)*-1:p=0,e.style.top=c+"px",e.style.insetInlineStart=p+"px",e.style.transformOrigin=f,t){let u=(r=Ee(/-anchor-gutter$/))==null?void 0:r.value;e.style.marginTop=f==="bottom"?`calc(${u??"2px"} * -1)`:u??""}}}function qe(e){if(e){let i=e.parentNode;return i&&i instanceof ShadowRoot&&i.host&&(i=i.host),i}return null}function Bt(e){return!!(e!==null&&typeof e<"u"&&e.nodeName&&qe(e))}function $(e){return typeof Element<"u"?e instanceof Element:e!==null&&typeof e=="object"&&e.nodeType===1&&typeof e.nodeName=="string"}function Ye(e){let i=e;return e&&typeof e=="object"&&(Object.hasOwn(e,"current")?i=e.current:Object.hasOwn(e,"el")&&(Object.hasOwn(e.el,"nativeElement")?i=e.el.nativeElement:i=e.el)),$(i)?i:void 0}function Vt(e,i){var t,n,r;if(e)switch(e){case"document":return document;case"window":return window;case"body":return document.body;case"@next":return i?.nextElementSibling;case"@prev":return i?.previousElementSibling;case"@first":return i?.firstElementChild;case"@last":return i?.lastElementChild;case"@child":return(t=i?.children)==null?void 0:t[0];case"@parent":return i?.parentElement;case"@grandparent":return(n=i?.parentElement)==null?void 0:n.parentElement;default:{if(typeof e=="string"){let o=e.match(/^@child\[(\d+)]/);return o?((r=i?.children)==null?void 0:r[parseInt(o[1],10)])||null:document.querySelector(e)||null}let s=(o=>typeof o=="function"&&"call"in o&&"apply"in o)(e)?e():e,a=Ye(s);return Bt(a)?a:s?.nodeType===9?s:void 0}}}function Si(e,i){let t=Vt(e,i);if(t)t.appendChild(i);else throw new Error("Cannot append "+i+" to "+e)}var Se;function Ei(e){if(e){let i=getComputedStyle(e);return e.offsetWidth-e.clientWidth-parseFloat(i.borderLeftWidth)-parseFloat(i.borderRightWidth)}else{if(Se!=null)return Se;let i=document.createElement("div");jt(i,{width:"100px",height:"100px",overflow:"scroll",position:"absolute",top:"-9999px"}),document.body.appendChild(i);let t=i.offsetWidth-i.clientWidth;return document.body.removeChild(i),Se=t,t}}function pe(e,i={}){if($(e)){let t=(n,r)=>{var s,a;let o=(s=e?.$attrs)!=null&&s[n]?[(a=e?.$attrs)==null?void 0:a[n]]:[];return[r].flat().reduce((l,c)=>{if(c!=null){let p=typeof c;if(p==="string"||p==="number")l.push(c);else if(p==="object"){let f=Array.isArray(c)?t(n,c):Object.entries(c).map(([u,d])=>n==="style"&&(d||d===0)?`${u.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()}:${d}`:d?u:void 0);l=f.length?l.concat(f.filter(u=>!!u)):l}}return l},o)};Object.entries(i).forEach(([n,r])=>{if(r!=null){let s=n.match(/^on(.+)/);s?e.addEventListener(s[1].toLowerCase(),r):n==="p-bind"||n==="pBind"?pe(e,r):(r=n==="class"?[...new Set(t("class",r))].join(" ").trim():n==="style"?t("style",r).join(";").trim():r,(e.$attrs=e.$attrs||{})&&(e.$attrs[n]=r),e.setAttribute(n,r))}})}}function bi(e,i={},...t){if(e){let n=document.createElement(e);return pe(n,i),n.append(...t),n}}function vi(e,i){if(e){e.style.opacity="0";let t=+new Date,n="0",r=function(){n=`${+e.style.opacity+(new Date().getTime()-t)/i}`,e.style.opacity=n,t=+new Date,+n<1&&("requestAnimationFrame"in window?requestAnimationFrame(r):setTimeout(r,16))};r()}}function Gt(e,i){return $(e)?Array.from(e.querySelectorAll(i)):[]}function Ti(e,i){return $(e)?e.matches(i)?e:e.querySelector(i):null}function Oi(e,i){e&&document.activeElement!==e&&e.focus(i)}function Ai(e,i){if($(e)){let t=e.getAttribute(i);return isNaN(t)?t==="true"||t==="false"?t==="true":t:+t}}function ze(e,i=""){let t=Gt(e,`button:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])${i},
2
2
  [href]:not([tabindex = "-1"]):not([style*="display:none"]):not([hidden])${i},
3
3
  input:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])${i},
4
4
  select:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])${i},
@@ -1 +1 @@
1
- import{a as ot}from"./chunk-2SUANHOV.js";import{a as tt,b as nt,c as et,g as U,i as L,j as it}from"./chunk-TZKJPNYV.js";import{a as Y}from"./chunk-3ZLKAFXU.js";import{b as X}from"./chunk-A2ISS3K6.js";import{a as M}from"./chunk-ZSUWHVKX.js";import{b as K,c as W}from"./chunk-SH7PSBLU.js";import{c as I}from"./chunk-TACHWGFG.js";import{A as Q}from"./chunk-IOSMSIMJ.js";import{D as J,j as H,t as q,u as G}from"./chunk-BI4K5Y2V.js";import{$b as m,$c as y,Ca as S,Eb as O,Ga as E,Hc as R,Jc as z,Kb as w,Mc as s,Nc as k,Oc as B,ad as $,bc as p,cd as j,dc as V,ec as N,fc as F,gc as d,hc as l,ic as c,jc as _,kb as f,ld as A,mb as i,na as T,nc as v,oc as b,pd as Z,qc as x,td as C,ua as g,va as h,vc as u,xc as r}from"./chunk-32SEKQJM.js";function lt(n,o){if(n&1&&(l(0,"tr",6)(1,"td",7)(2,"div",8)(3,"a",9),_(4,"img",10),c(),l(5,"div",11),s(6),c()()(),l(7,"td",12)(8,"a",13),_(9,"i",14),l(10,"span",15),s(11,"View in Channel"),c()()()()),n&2){let t=o.$implicit,a=r();i(3),d("href",t==null?null:t.Url,f)("title",t==null?null:t.Name),i(),d("src",a.getChannelLogo(t),f),i(2),k((t==null?null:t.Name)||"-"),i(2),d("href",t==null?null:t.Url,f)}}function ct(n,o){n&1&&(l(0,"tr")(1,"td",16),s(2,"No channels found"),c()())}var at=(()=>{class n{constructor(){this.data=T(nt),this.dialogRef=T(tt),this.modalConfig=E(new L),this.channels=E([]),this.filterText=E(""),this.filteredChannels=Z(()=>{let t=this.filterText().toLowerCase().trim();return t?this.channels().filter(a=>(a?.Name||"").toString().toLowerCase().indexOf(t)!==-1):this.channels()}),Array.isArray(this.data)?this.channels.set(this.data||[]):this.channels.set(this.data?.channels||[])}ngOnInit(){let t=new L,a=Array.isArray(this.data)?void 0:this.data?.productTitle;t.title=a?`Channel List - ${a}`:"Channel List",t.bodyScrollable=!0,t.hideFooter=!0,t.customWidth="80vw",t.noPadding=!0,this.modalConfig.set(t),Array.isArray(this.data)?this.channels.set(this.data||[]):this.channels.set(this.data?.channels||[]),console.log("ProductChannelsDialogComponent injected data:",this.data),console.log("ProductChannelsDialogComponent channels():",this.channels())}close(){this.dialogRef.close()}getChannelLogo(t){return I.getChannelLogoByTypeId(t.TypeID)}static{this.\u0275fac=function(a){return new(a||n)}}static{this.\u0275cmp=O({type:n,selectors:[["app-product-channels-dialog"]],decls:7,vars:3,consts:[[3,"onClose","onCancel","config"],["content",""],[1,"channels-table-wrap"],[1,"table","mb-0","w-100"],["class","channel-row",4,"ngFor","ngForOf"],[4,"ngIf"],[1,"channel-row"],[1,"channel-col"],[1,"d-flex","align-items-center"],["target","_blank","rel","noopener",1,"d-inline-block","me-2",3,"href","title"],["alt","",1,"channel-logo",3,"src"],[1,"channel-name","text-ellipsis"],[1,"text-end"],["target","_blank",1,"btn","btn-small","btn-light","px-4","py-2",3,"href"],[1,"fa-solid","fa-external-link","me-2",2,"font-size","10px"],[1,"fs-6"],["colspan","2",1,"text-center","py-4"]],template:function(a,e){a&1&&(l(0,"modal-material",0),u("onClose",function(){return e.close()})("onCancel",function(){return e.close()}),l(1,"div",1)(2,"div",2)(3,"table",3)(4,"tbody"),w(5,lt,12,5,"tr",4)(6,ct,3,0,"tr",5),c()()()()()),a&2&&(d("config",e.modalConfig()),i(5),d("ngForOf",e.filteredChannels()),i(),d("ngIf",e.filteredChannels().length===0))},dependencies:[J,q,G,U,it],styles:["[_nghost-%COMP%] .mat-dialog-container{max-width:95vw!important;width:auto!important}[_nghost-%COMP%] .modal-material{width:70vw!important;max-width:600px!important;min-width:400px!important}[_nghost-%COMP%] .modal-content{max-width:none!important;width:100%!important}@media(max-width:1200px){[_nghost-%COMP%] .modal-material{width:70vw!important;min-width:500px!important}}@media(max-width:768px){[_nghost-%COMP%] .modal-material{width:70vw!important;min-width:320px!important}}.channels-table-wrap[_ngcontent-%COMP%]{padding:0;min-height:300px;width:100%;overflow-x:auto}.channels-thead[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{background:transparent;color:#6c757d;font-weight:600;padding:12px 20px}.channel-logo[_ngcontent-%COMP%]{width:22px;height:22px;object-fit:contain}.channel-name[_ngcontent-%COMP%]{max-width:none;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:500}.json-pre[_ngcontent-%COMP%]{max-height:180px;overflow:auto;background:#f8f9fa;padding:8px;border-radius:4px}.channels-table-wrap[_ngcontent-%COMP%] .table[_ngcontent-%COMP%]{margin-bottom:0;width:100%;min-width:500px;table-layout:auto}.channel-row[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{padding:12px 10px}"]})}}return n})();var dt=(n,o,t,a)=>[n,o,t,a],D=n=>[n],_t=(n,o)=>[n,o];function st(n,o){if(n&1){let t=x();l(0,"img",17),u("click",function(e){g(t);let P=r();return h(P.openBiggerPicture(e))}),c()}if(n&2){let t=r();d("src",t.image,f)}}function mt(n,o){n&1&&_(0,"img",9)}function pt(n,o){if(n&1&&(l(0,"span",19)(1,"a",20),_(2,"i",21),c()()),n&2){let t=r(2);i(),d("href",t.redirectUrl(),f)}}function ut(n,o){if(n&1&&(l(0,"div",12),_(1,"i",18),l(2,"span"),s(3),c(),m(4,pt,3,1,"span",19),c()),n&2){let t=r();i(3),k(t.code),i(),p(t.code!=="SKU not assigned"&&t.showRedirectIcon()?4:-1)}}function Ct(n,o){if(n&1){let t=x();l(0,"div",22),u("click",function(){g(t);let e=r();return h(e.onEventDesc())}),_(1,"i",23),l(2,"span"),s(3),c()()}if(n&2){let t=r();i(3),k(t.description)}}function gt(n,o){if(n&1){let t=x();l(0,"div",24)(1,"input",25),u("change",function(e){g(t);let P=r(2);return h(P.onCheck(e.target.checked))}),c()()}}function ht(n,o){if(n&1&&(v(0),m(1,gt,2,0,"div",24),b()),n&2){let t=r();i(),p(t.showCheckBox()?1:-1)}}function xt(n,o){if(n&1){let t=x();l(0,"button",29),u("click",function(){g(t);let e=r(3);return h(e.onDownload())}),_(1,"i",30),s(2,"Download "),c()}}function ft(n,o){if(n&1&&(v(0),m(1,xt,3,0,"button",28),b()),n&2){let t=r(2);i(),p(t.downloadButton()?1:-1)}}function wt(n,o){}function vt(n,o){if(n&1){let t=x();l(0,"li")(1,"a",37),u("click",function(){g(t);let e=r(6);return h(e.onScan())}),_(2,"i",38),s(3,"Scan "),c()()}}function bt(n,o){if(n&1&&(v(0),m(1,vt,4,0,"li"),b()),n&2){let t=r(5);i(),p(t.scanButton()?1:-1)}}function Pt(n,o){if(n&1){let t=x();l(0,"li")(1,"a",39),u("click",function(){g(t);let e=r(6);return h(e.onDetach())}),_(2,"i",40),s(3,"Detach "),c()()}}function yt(n,o){if(n&1&&(v(0),m(1,Pt,4,0,"li"),b()),n&2){let t=r(5);i(),p(t.detachButton()?1:-1)}}function Dt(n,o){if(n&1&&(v(0),l(1,"div",34),_(2,"button",35),l(3,"ul",36),w(4,bt,2,1,"ng-container",15)(5,yt,2,1,"ng-container",15),c()(),b()),n&2){let t=r(4);i(4),d("ngxPermissionsOnly",y(2,D,t.productScanRole)),i(),d("ngxPermissionsOnly",y(4,D,t.productDetachRole))}}function Tt(n,o){if(n&1){let t=x();l(0,"button",32),u("click",function(){g(t);let e=r(3);return h(e.onUpload())}),_(1,"i",33),s(2,"Upload "),c(),w(3,Dt,6,6,"ng-container",15)}if(n&2){let t=r(3);i(3),d("ngxPermissionsOnly",$(1,_t,t.productScanRole,t.productDetachRole))}}function St(n,o){if(n&1){let t=x();l(0,"button",29),u("click",function(){g(t);let e=r(5);return h(e.onScan())}),_(1,"i",41),s(2," Scan "),c()}}function Et(n,o){if(n&1&&(v(0),m(1,St,3,0,"button",28),b()),n&2){let t=r(4);i(),p(t.scanButton()?1:-1)}}function kt(n,o){if(n&1){let t=x();l(0,"button",43),u("click",function(){g(t);let e=r(5);return h(e.onDetach())}),_(1,"i",40),s(2,"Detach "),c()}}function Mt(n,o){if(n&1&&(v(0),m(1,kt,3,0,"button",42),b()),n&2){let t=r(4);i(),p(t.detachButton()?1:-1)}}function Ot(n,o){if(n&1&&w(0,Et,2,1,"ng-container",15)(1,Mt,2,1,"ng-container",15),n&2){let t=r(3);d("ngxPermissionsOnly",y(2,D,t.productScanRole)),i(),d("ngxPermissionsOnly",y(4,D,t.productDetachRole))}}function Bt(n,o){if(n&1&&(l(0,"div",26),w(1,wt,0,0,"ng-template",31)(2,Tt,4,4,"ng-template",null,0,A)(4,Ot,2,6,"ng-template",null,1,A),c()),n&2){let t=R(3),a=R(5),e=r(2);i(),d("ngxPermissionsOnly",y(3,D,e.productUploadRole))("ngxPermissionsOnlyThen",t)("ngxPermissionsOnlyElse",a)}}function It(n,o){if(n&1){let t=x();l(0,"button",29),u("click",function(){g(t);let e=r(4);return h(e.onScan())}),_(1,"i",41),s(2," Scan "),c()}}function Ut(n,o){if(n&1&&(v(0),m(1,It,3,0,"button",28),b()),n&2){let t=r(3);i(),p(t.scanButton()?1:-1)}}function Vt(n,o){if(n&1){let t=x();l(0,"button",44),u("click",function(){g(t);let e=r(4);return h(e.onDetach())}),_(1,"i",40),s(2,"Detach "),c()}}function Nt(n,o){if(n&1&&(v(0),m(1,Vt,3,0,"button",27),b()),n&2){let t=r(3);i(),p(t.detachButton()?1:-1)}}function Ft(n,o){if(n&1&&w(0,Ut,2,1,"ng-container",15)(1,Nt,2,1,"ng-container",15),n&2){let t=r(2);d("ngxPermissionsOnly",y(2,D,t.productScanRole)),i(),d("ngxPermissionsOnly",y(4,D,t.productDetachRole))}}function Rt(n,o){if(n&1&&(l(0,"a",46),_(1,"img",47),c()),n&2){let t=o.$implicit,a=o.$index,e=r(4);d("href",t==null?null:t.Url,f),i(),z("me-3",a!=e.channels.length-1),d("src",e.getChannelLogo(t),f)("matTooltip",t!=null&&t.Title?t==null?null:t.Title:t.Name)}}function zt(n,o){if(n&1&&N(0,Rt,2,5,"a",46,V),n&2){let t=r(3);F(t.channels)}}function At(n,o){if(n&1&&(l(0,"li")(1,"div",50)(2,"div")(3,"a",46),_(4,"img",51),l(5,"span",52),s(6),c()()()()()),n&2){let t=o.$implicit,a=o.$index,e=r(4);i(2),z("border-bottom",a!=e.channels.length-1)("pb-2",a!=e.channels.length-1),i(),d("href",t==null?null:t.Url,f),i(),d("src",e.getChannelLogo(t),f),i(2),k(t==null?null:t.Title)}}function Lt(n,o){if(n&1&&(l(0,"div",45)(1,"button",48),s(2),c(),l(3,"ul",49),N(4,At,7,7,"li",null,V),c()()),n&2){let t=r(3);i(2),B(" ",t.channels.length," CHANNELS "),i(2),F(t.channels)}}function $t(n,o){if(n&1&&(l(0,"div"),m(1,zt,2,0)(2,Lt,6,1,"div",45),c()),n&2){let t=r(2);i(),p(t.channels.length<4?1:2)}}function jt(n,o){if(n&1){let t=x();l(0,"button",44),u("click",function(){g(t);let e=r(2);return h(e.fetchChannels())}),s(1),c()}if(n&2){let t=r(2);i(),B(" ",t.channelCount()," CHANNELS")}}function Zt(n,o){if(n&1&&(l(0,"div",16)(1,"div"),w(2,ft,2,1,"ng-container",15),m(3,Bt,6,5,"div",26)(4,Ft,2,6),c(),m(5,$t,3,1,"div")(6,jt,2,1,"button",27),c()),n&2){let t=r();i(2),d("ngxPermissionsOnly",y(3,D,t.productDownloadRole)),i(),p(t.uploadButton()?3:4),i(2),p(t.channels&&(t.channels==null?null:t.channels.length)>0?5:6)}}var hn=(()=>{class n{constructor(){this.biggerPictureService=T(ot),this.http=T(H),this.dialog=T(et),this.productId=C(void 0),this.channelCount=C(0),this.uploadButton=C(!1),this.scanButton=C(!1),this.showCheckBox=C(!1),this.downloadButton=C(!1),this.showFooter=C(!0),this.detachButton=C(!1),this.title=C(void 0),this.check=C(void 0),this.imageForZoom=C(void 0),this.hasZoom=C(!0),this.showRedirectIcon=C(!0),this.redirectUrl=E(void 0),this.productUploadRole=M.ProductUpload,this.productScanRole=M.ProductScan,this.productDownloadRole=M.ProductDownload,this.productDetachRole=M.ProductDetach,this.onUploadEvent=new S,this.onScanEvent=new S,this.checkBoxChange=new S,this.onDescEvent=new S,this.onDownloadEvent=new S,this.onDetachEvent=new S}ngAfterContentInit(){this.initRedirectUrl()}initRedirectUrl(){let t=localStorage.getItem("Authorization"),a=JSON.parse(t)?.Host;this.redirectUrl.set(`https://${a}/menu/Products/Catalog/Products/Info?ID=${this.productId()}`)}onUpload(){this.onUploadEvent.emit()}onScan(){this.onScanEvent.emit()}onCheck(t){this.checkBoxChange.emit(t)}onEventDesc(){this.onDescEvent.emit()}onDownload(){this.onDownloadEvent.emit()}onDetach(){this.onDetachEvent.emit()}getChannelLogo(t){return I.getChannelLogoByTypeId(t.TypeID)}openBiggerPicture(t){this.biggerPictureService.openBiggerPicture(t,this.imageForZoom())}fetchChannels(){let t=this.productId();if(!t)return;let a=`/api/Product/GetChannelByProductID/${t}`;this.http.get(a).subscribe({next:e=>{this.channels=e,this.dialog.open(at,{data:{channels:e,productTitle:this.title()}})},error:e=>{console.error("Failed to fetch channels",e)}})}static{this.\u0275fac=function(a){return new(a||n)}}static{this.\u0275cmp=O({type:n,selectors:[["app-product-card"]],inputs:{productId:[1,"productId"],channelCount:[1,"channelCount"],uploadButton:[1,"uploadButton"],scanButton:[1,"scanButton"],showCheckBox:[1,"showCheckBox"],downloadButton:[1,"downloadButton"],showFooter:[1,"showFooter"],detachButton:[1,"detachButton"],image:"image",title:[1,"title"],code:"code",description:"description",channels:"channels",check:[1,"check"],imageForZoom:[1,"imageForZoom"],hasZoom:[1,"hasZoom"],showRedirectIcon:[1,"showRedirectIcon"]},outputs:{onUploadEvent:"onUpload",onScanEvent:"onScan",checkBoxChange:"onCheckBoxChange",onDescEvent:"onDescEvent",onDownloadEvent:"onDownload",onDetachEvent:"onDetach"},decls:17,vars:12,consts:[["thenBlock",""],["elseBlock",""],[1,"card",2,"margin-bottom","0px"],[1,"card-body","py-6"],[1,"row"],[1,"col-4"],[1,"productUpload_defaultSize","me-2","image-upload"],[1,"imgContainer"],[1,"rounded","imgUpload","float-left",3,"src"],["src","https://resc.cloudinary.com/pos/image/upload/w_110/POS/Images/Icon/products_thumb.png",1,"rounded","float-left","imgUpload"],[1,"col-7","d-inline-block","justify-content-between","gx-0",2,"padding-left","0px"],[1,"itemTitle","cursor-pointer",3,"click","matTooltip"],[1,"description","cursor-pointer"],[1,"col-1","gx-0","d-flex","justify-content-center"],[1,"text-end"],[4,"ngxPermissionsOnly"],[1,"card-footer","d-flex","justify-content-between","py-5","bg-footer","align-items-center",2,"border-top","0.1px solid rgb(220 220 220)"],[1,"rounded","imgUpload","float-left",3,"click","src"],[1,"fa","fa-barcode","me-2"],[1,"ms-2"],["target","_blank",2,"color","#0976b4",3,"href"],[1,"fa-solid","fa-arrow-up-right-from-square","external-link-custom"],[1,"description","cursor-pointer",3,"click"],[1,"fa","fa-tag","me-2"],[1,"text-end","gx-0"],["type","checkbox",3,"change"],["role","group","aria-label","Scan button with other button",1,"btn-group","btn-sm"],[1,"fs-6","btn","btn-light","btn-sm"],[1,"fs-6","btn","btn-light","btn-sm","me-3"],[1,"fs-6","btn","btn-light","btn-sm","me-3",3,"click"],["aria-hidden","true",1,"fa","fa-download","me-1"],[3,"ngxPermissionsOnly","ngxPermissionsOnlyThen","ngxPermissionsOnlyElse"],["type","button",1,"fs-6","btn","btn-light","btn-sm",3,"click"],["aria-hidden","true",1,"fa","fa-upload","me-1"],["role","group",1,"btn-group"],["type","button","data-bs-toggle","dropdown","aria-expanded","false",1,"fs-6","btn","btn-light","btn-sm","dropdown-toggle","ps-3"],[1,"dropdown-menu",2,"min-width","100px !important"],[1,"dropdown-item","cursor-pointer",3,"click"],[1,"fa","fa-spinner","me-2"],["matTooltip","Detaching a product with it's associated channel will stop inventory synchronization",1,"dropdown-item","cursor-pointer",3,"click"],[1,"fa-sharp","fa-link-slash","me-2"],[1,"fa","fa-spinner","me-1"],["matTooltip","Detaching a product with it's associated channel will stop inventory synchronization",1,"fs-6","btn","btn-light","btn-sm"],["matTooltip","Detaching a product with it's associated channel will stop inventory synchronization",1,"fs-6","btn","btn-light","btn-sm",3,"click"],[1,"fs-6","btn","btn-light","btn-sm",3,"click"],[1,"dropdown"],["target","_blank",3,"href"],["alt","",1,"img-logo",3,"src","matTooltip"],["type","button","id","dropdownMenuButton1","data-bs-toggle","dropdown","aria-expanded","false",1,"btn","fs-6","btn-sm","btn-light","dropdown-toggle"],[1,"dropdown-menu"],[1,"dropdown-item","py-2",2,"cursor","pointer"],[1,"img-logo",3,"src"],[1,"ms-4"]],template:function(a,e){if(a&1&&(l(0,"div",2)(1,"div",3)(2,"div",4)(3,"div",5)(4,"div",6)(5,"div",7),m(6,st,1,1,"img",8)(7,mt,1,0,"img",9),c()()(),l(8,"div",10)(9,"h4",11),u("click",function(){return e.onEventDesc()}),s(10),c(),m(11,ut,5,2,"div",12),m(12,Ct,4,1,"div",12),c(),l(13,"div",13)(14,"div",14),w(15,ht,2,1,"ng-container",15),c()()()(),m(16,Zt,7,5,"div",16),c()),a&2){let P;i(6),p(e.image?6:7),i(3),d("matTooltip",((P=e.title())==null?null:P.length)>25?e.title():""),i(),B(" ",e.title()," "),i(),p(e.code?11:-1),i(),p(e.description?12:-1),i(3),d("ngxPermissionsOnly",j(7,dt,e.productDownloadRole,e.productScanRole,e.productUploadRole,e.productDetachRole)),i(),p(e.showFooter()?16:-1)}},dependencies:[Q,Y,X,W,K,U],styles:[".img-logo[_ngcontent-%COMP%]{height:24px;width:24px}.itemTitle[_ngcontent-%COMP%]{text-overflow:ellipsis;white-space:nowrap;overflow:hidden;max-width:100%}.bg-footer[_ngcontent-%COMP%]{background-color:#ededed69}.description[_ngcontent-%COMP%]{font-weight:300;margin-left:2px}.productUpload_defaultSize[_ngcontent-%COMP%]{max-width:100px!important;max-height:100px!important;width:auto!important;height:auto!important}.image-upload[_ngcontent-%COMP%]{position:relative}.imgContainer[_ngcontent-%COMP%]{width:100%;height:100px}.imgUpload[_ngcontent-%COMP%]{width:100%;height:100%;object-fit:scale-down;cursor:pointer}.dropdown[_ngcontent-%COMP%] .dropdown-menu.show[_ngcontent-%COMP%]{top:unset!important}"],changeDetection:0})}}return n})();export{hn as a};
1
+ import{a as ot}from"./chunk-IFFI5CMD.js";import{a as tt,b as nt,c as et,g as U,i as L,j as it}from"./chunk-M65GNQVQ.js";import{a as Y}from"./chunk-MWUZF6ZW.js";import{b as X}from"./chunk-BQCLUDBO.js";import{a as M}from"./chunk-ZSUWHVKX.js";import{b as K,c as W}from"./chunk-I4MUFYEG.js";import{c as I}from"./chunk-NNVT5X6O.js";import{A as Q}from"./chunk-P6BSXX22.js";import{F as J,j as H,t as q,u as G}from"./chunk-MLQKT6FW.js";import{Ca as S,Eb as O,Ga as E,Jc as R,Kb as w,Lc as z,Oc as s,Pc as k,Qc as B,bc as m,bd as y,cd as $,dc as p,ed as j,fc as V,gc as N,hc as F,ic as d,jc as l,kb as f,kc as c,lc as _,mb as i,na as T,od as A,pc as v,qc as b,sc as x,sd as Z,ua as g,va as h,wd as C,xc as u,zc as r}from"./chunk-KCXC4XYC.js";function lt(n,o){if(n&1&&(l(0,"tr",6)(1,"td",7)(2,"div",8)(3,"a",9),_(4,"img",10),c(),l(5,"div",11),s(6),c()()(),l(7,"td",12)(8,"a",13),_(9,"i",14),l(10,"span",15),s(11,"View in Channel"),c()()()()),n&2){let t=o.$implicit,a=r();i(3),d("href",t==null?null:t.Url,f)("title",t==null?null:t.Name),i(),d("src",a.getChannelLogo(t),f),i(2),k((t==null?null:t.Name)||"-"),i(2),d("href",t==null?null:t.Url,f)}}function ct(n,o){n&1&&(l(0,"tr")(1,"td",16),s(2,"No channels found"),c()())}var at=(()=>{class n{constructor(){this.data=T(nt),this.dialogRef=T(tt),this.modalConfig=E(new L),this.channels=E([]),this.filterText=E(""),this.filteredChannels=Z(()=>{let t=this.filterText().toLowerCase().trim();return t?this.channels().filter(a=>(a?.Name||"").toString().toLowerCase().indexOf(t)!==-1):this.channels()}),Array.isArray(this.data)?this.channels.set(this.data||[]):this.channels.set(this.data?.channels||[])}ngOnInit(){let t=new L,a=Array.isArray(this.data)?void 0:this.data?.productTitle;t.title=a?`Channel List - ${a}`:"Channel List",t.bodyScrollable=!0,t.hideFooter=!0,t.customWidth="80vw",t.noPadding=!0,this.modalConfig.set(t),Array.isArray(this.data)?this.channels.set(this.data||[]):this.channels.set(this.data?.channels||[]),console.log("ProductChannelsDialogComponent injected data:",this.data),console.log("ProductChannelsDialogComponent channels():",this.channels())}close(){this.dialogRef.close()}getChannelLogo(t){return I.getChannelLogoByTypeId(t.TypeID)}static{this.\u0275fac=function(a){return new(a||n)}}static{this.\u0275cmp=O({type:n,selectors:[["app-product-channels-dialog"]],decls:7,vars:3,consts:[[3,"onClose","onCancel","config"],["content",""],[1,"channels-table-wrap"],[1,"table","mb-0","w-100"],["class","channel-row",4,"ngFor","ngForOf"],[4,"ngIf"],[1,"channel-row"],[1,"channel-col"],[1,"d-flex","align-items-center"],["target","_blank","rel","noopener",1,"d-inline-block","me-2",3,"href","title"],["alt","",1,"channel-logo",3,"src"],[1,"channel-name","text-ellipsis"],[1,"text-end"],["target","_blank",1,"btn","btn-small","btn-light","px-4","py-2",3,"href"],[1,"fa-solid","fa-external-link","me-2",2,"font-size","10px"],[1,"fs-6"],["colspan","2",1,"text-center","py-4"]],template:function(a,e){a&1&&(l(0,"modal-material",0),u("onClose",function(){return e.close()})("onCancel",function(){return e.close()}),l(1,"div",1)(2,"div",2)(3,"table",3)(4,"tbody"),w(5,lt,12,5,"tr",4)(6,ct,3,0,"tr",5),c()()()()()),a&2&&(d("config",e.modalConfig()),i(5),d("ngForOf",e.filteredChannels()),i(),d("ngIf",e.filteredChannels().length===0))},dependencies:[J,q,G,U,it],styles:["[_nghost-%COMP%] .mat-dialog-container{max-width:95vw!important;width:auto!important}[_nghost-%COMP%] .modal-material{width:70vw!important;max-width:600px!important;min-width:400px!important}[_nghost-%COMP%] .modal-content{max-width:none!important;width:100%!important}@media(max-width:1200px){[_nghost-%COMP%] .modal-material{width:70vw!important;min-width:500px!important}}@media(max-width:768px){[_nghost-%COMP%] .modal-material{width:70vw!important;min-width:320px!important}}.channels-table-wrap[_ngcontent-%COMP%]{padding:0;min-height:300px;width:100%;overflow-x:auto}.channels-thead[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{background:transparent;color:#6c757d;font-weight:600;padding:12px 20px}.channel-logo[_ngcontent-%COMP%]{width:22px;height:22px;object-fit:contain}.channel-name[_ngcontent-%COMP%]{max-width:none;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:500}.json-pre[_ngcontent-%COMP%]{max-height:180px;overflow:auto;background:#f8f9fa;padding:8px;border-radius:4px}.channels-table-wrap[_ngcontent-%COMP%] .table[_ngcontent-%COMP%]{margin-bottom:0;width:100%;min-width:500px;table-layout:auto}.channel-row[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{padding:12px 10px}"]})}}return n})();var dt=(n,o,t,a)=>[n,o,t,a],D=n=>[n],_t=(n,o)=>[n,o];function st(n,o){if(n&1){let t=x();l(0,"img",17),u("click",function(e){g(t);let P=r();return h(P.openBiggerPicture(e))}),c()}if(n&2){let t=r();d("src",t.image,f)}}function mt(n,o){n&1&&_(0,"img",9)}function pt(n,o){if(n&1&&(l(0,"span",19)(1,"a",20),_(2,"i",21),c()()),n&2){let t=r(2);i(),d("href",t.redirectUrl(),f)}}function ut(n,o){if(n&1&&(l(0,"div",12),_(1,"i",18),l(2,"span"),s(3),c(),m(4,pt,3,1,"span",19),c()),n&2){let t=r();i(3),k(t.code),i(),p(t.code!=="SKU not assigned"&&t.showRedirectIcon()?4:-1)}}function Ct(n,o){if(n&1){let t=x();l(0,"div",22),u("click",function(){g(t);let e=r();return h(e.onEventDesc())}),_(1,"i",23),l(2,"span"),s(3),c()()}if(n&2){let t=r();i(3),k(t.description)}}function gt(n,o){if(n&1){let t=x();l(0,"div",24)(1,"input",25),u("change",function(e){g(t);let P=r(2);return h(P.onCheck(e.target.checked))}),c()()}}function ht(n,o){if(n&1&&(v(0),m(1,gt,2,0,"div",24),b()),n&2){let t=r();i(),p(t.showCheckBox()?1:-1)}}function xt(n,o){if(n&1){let t=x();l(0,"button",29),u("click",function(){g(t);let e=r(3);return h(e.onDownload())}),_(1,"i",30),s(2,"Download "),c()}}function ft(n,o){if(n&1&&(v(0),m(1,xt,3,0,"button",28),b()),n&2){let t=r(2);i(),p(t.downloadButton()?1:-1)}}function wt(n,o){}function vt(n,o){if(n&1){let t=x();l(0,"li")(1,"a",37),u("click",function(){g(t);let e=r(6);return h(e.onScan())}),_(2,"i",38),s(3,"Scan "),c()()}}function bt(n,o){if(n&1&&(v(0),m(1,vt,4,0,"li"),b()),n&2){let t=r(5);i(),p(t.scanButton()?1:-1)}}function Pt(n,o){if(n&1){let t=x();l(0,"li")(1,"a",39),u("click",function(){g(t);let e=r(6);return h(e.onDetach())}),_(2,"i",40),s(3,"Detach "),c()()}}function yt(n,o){if(n&1&&(v(0),m(1,Pt,4,0,"li"),b()),n&2){let t=r(5);i(),p(t.detachButton()?1:-1)}}function Dt(n,o){if(n&1&&(v(0),l(1,"div",34),_(2,"button",35),l(3,"ul",36),w(4,bt,2,1,"ng-container",15)(5,yt,2,1,"ng-container",15),c()(),b()),n&2){let t=r(4);i(4),d("ngxPermissionsOnly",y(2,D,t.productScanRole)),i(),d("ngxPermissionsOnly",y(4,D,t.productDetachRole))}}function Tt(n,o){if(n&1){let t=x();l(0,"button",32),u("click",function(){g(t);let e=r(3);return h(e.onUpload())}),_(1,"i",33),s(2,"Upload "),c(),w(3,Dt,6,6,"ng-container",15)}if(n&2){let t=r(3);i(3),d("ngxPermissionsOnly",$(1,_t,t.productScanRole,t.productDetachRole))}}function St(n,o){if(n&1){let t=x();l(0,"button",29),u("click",function(){g(t);let e=r(5);return h(e.onScan())}),_(1,"i",41),s(2," Scan "),c()}}function Et(n,o){if(n&1&&(v(0),m(1,St,3,0,"button",28),b()),n&2){let t=r(4);i(),p(t.scanButton()?1:-1)}}function kt(n,o){if(n&1){let t=x();l(0,"button",43),u("click",function(){g(t);let e=r(5);return h(e.onDetach())}),_(1,"i",40),s(2,"Detach "),c()}}function Mt(n,o){if(n&1&&(v(0),m(1,kt,3,0,"button",42),b()),n&2){let t=r(4);i(),p(t.detachButton()?1:-1)}}function Ot(n,o){if(n&1&&w(0,Et,2,1,"ng-container",15)(1,Mt,2,1,"ng-container",15),n&2){let t=r(3);d("ngxPermissionsOnly",y(2,D,t.productScanRole)),i(),d("ngxPermissionsOnly",y(4,D,t.productDetachRole))}}function Bt(n,o){if(n&1&&(l(0,"div",26),w(1,wt,0,0,"ng-template",31)(2,Tt,4,4,"ng-template",null,0,A)(4,Ot,2,6,"ng-template",null,1,A),c()),n&2){let t=R(3),a=R(5),e=r(2);i(),d("ngxPermissionsOnly",y(3,D,e.productUploadRole))("ngxPermissionsOnlyThen",t)("ngxPermissionsOnlyElse",a)}}function It(n,o){if(n&1){let t=x();l(0,"button",29),u("click",function(){g(t);let e=r(4);return h(e.onScan())}),_(1,"i",41),s(2," Scan "),c()}}function Ut(n,o){if(n&1&&(v(0),m(1,It,3,0,"button",28),b()),n&2){let t=r(3);i(),p(t.scanButton()?1:-1)}}function Vt(n,o){if(n&1){let t=x();l(0,"button",44),u("click",function(){g(t);let e=r(4);return h(e.onDetach())}),_(1,"i",40),s(2,"Detach "),c()}}function Nt(n,o){if(n&1&&(v(0),m(1,Vt,3,0,"button",27),b()),n&2){let t=r(3);i(),p(t.detachButton()?1:-1)}}function Ft(n,o){if(n&1&&w(0,Ut,2,1,"ng-container",15)(1,Nt,2,1,"ng-container",15),n&2){let t=r(2);d("ngxPermissionsOnly",y(2,D,t.productScanRole)),i(),d("ngxPermissionsOnly",y(4,D,t.productDetachRole))}}function Rt(n,o){if(n&1&&(l(0,"a",46),_(1,"img",47),c()),n&2){let t=o.$implicit,a=o.$index,e=r(4);d("href",t==null?null:t.Url,f),i(),z("me-3",a!=e.channels.length-1),d("src",e.getChannelLogo(t),f)("matTooltip",t!=null&&t.Title?t==null?null:t.Title:t.Name)}}function zt(n,o){if(n&1&&N(0,Rt,2,5,"a",46,V),n&2){let t=r(3);F(t.channels)}}function At(n,o){if(n&1&&(l(0,"li")(1,"div",50)(2,"div")(3,"a",46),_(4,"img",51),l(5,"span",52),s(6),c()()()()()),n&2){let t=o.$implicit,a=o.$index,e=r(4);i(2),z("border-bottom",a!=e.channels.length-1)("pb-2",a!=e.channels.length-1),i(),d("href",t==null?null:t.Url,f),i(),d("src",e.getChannelLogo(t),f),i(2),k(t==null?null:t.Title)}}function Lt(n,o){if(n&1&&(l(0,"div",45)(1,"button",48),s(2),c(),l(3,"ul",49),N(4,At,7,7,"li",null,V),c()()),n&2){let t=r(3);i(2),B(" ",t.channels.length," CHANNELS "),i(2),F(t.channels)}}function $t(n,o){if(n&1&&(l(0,"div"),m(1,zt,2,0)(2,Lt,6,1,"div",45),c()),n&2){let t=r(2);i(),p(t.channels.length<4?1:2)}}function jt(n,o){if(n&1){let t=x();l(0,"button",44),u("click",function(){g(t);let e=r(2);return h(e.fetchChannels())}),s(1),c()}if(n&2){let t=r(2);i(),B(" ",t.channelCount()," CHANNELS")}}function Zt(n,o){if(n&1&&(l(0,"div",16)(1,"div"),w(2,ft,2,1,"ng-container",15),m(3,Bt,6,5,"div",26)(4,Ft,2,6),c(),m(5,$t,3,1,"div")(6,jt,2,1,"button",27),c()),n&2){let t=r();i(2),d("ngxPermissionsOnly",y(3,D,t.productDownloadRole)),i(),p(t.uploadButton()?3:4),i(2),p(t.channels&&(t.channels==null?null:t.channels.length)>0?5:6)}}var hn=(()=>{class n{constructor(){this.biggerPictureService=T(ot),this.http=T(H),this.dialog=T(et),this.productId=C(void 0),this.channelCount=C(0),this.uploadButton=C(!1),this.scanButton=C(!1),this.showCheckBox=C(!1),this.downloadButton=C(!1),this.showFooter=C(!0),this.detachButton=C(!1),this.title=C(void 0),this.check=C(void 0),this.imageForZoom=C(void 0),this.hasZoom=C(!0),this.showRedirectIcon=C(!0),this.redirectUrl=E(void 0),this.productUploadRole=M.ProductUpload,this.productScanRole=M.ProductScan,this.productDownloadRole=M.ProductDownload,this.productDetachRole=M.ProductDetach,this.onUploadEvent=new S,this.onScanEvent=new S,this.checkBoxChange=new S,this.onDescEvent=new S,this.onDownloadEvent=new S,this.onDetachEvent=new S}ngAfterContentInit(){this.initRedirectUrl()}initRedirectUrl(){let t=localStorage.getItem("Authorization"),a=JSON.parse(t)?.Host;this.redirectUrl.set(`https://${a}/menu/Products/Catalog/Products/Info?ID=${this.productId()}`)}onUpload(){this.onUploadEvent.emit()}onScan(){this.onScanEvent.emit()}onCheck(t){this.checkBoxChange.emit(t)}onEventDesc(){this.onDescEvent.emit()}onDownload(){this.onDownloadEvent.emit()}onDetach(){this.onDetachEvent.emit()}getChannelLogo(t){return I.getChannelLogoByTypeId(t.TypeID)}openBiggerPicture(t){this.biggerPictureService.openBiggerPicture(t,this.imageForZoom())}fetchChannels(){let t=this.productId();if(!t)return;let a=`/api/Product/GetChannelByProductID/${t}`;this.http.get(a).subscribe({next:e=>{this.channels=e,this.dialog.open(at,{data:{channels:e,productTitle:this.title()}})},error:e=>{console.error("Failed to fetch channels",e)}})}static{this.\u0275fac=function(a){return new(a||n)}}static{this.\u0275cmp=O({type:n,selectors:[["app-product-card"]],inputs:{productId:[1,"productId"],channelCount:[1,"channelCount"],uploadButton:[1,"uploadButton"],scanButton:[1,"scanButton"],showCheckBox:[1,"showCheckBox"],downloadButton:[1,"downloadButton"],showFooter:[1,"showFooter"],detachButton:[1,"detachButton"],image:"image",title:[1,"title"],code:"code",description:"description",channels:"channels",check:[1,"check"],imageForZoom:[1,"imageForZoom"],hasZoom:[1,"hasZoom"],showRedirectIcon:[1,"showRedirectIcon"]},outputs:{onUploadEvent:"onUpload",onScanEvent:"onScan",checkBoxChange:"onCheckBoxChange",onDescEvent:"onDescEvent",onDownloadEvent:"onDownload",onDetachEvent:"onDetach"},decls:17,vars:12,consts:[["thenBlock",""],["elseBlock",""],[1,"card",2,"margin-bottom","0px"],[1,"card-body","py-6"],[1,"row"],[1,"col-4"],[1,"productUpload_defaultSize","me-2","image-upload"],[1,"imgContainer"],[1,"rounded","imgUpload","float-left",3,"src"],["src","https://resc.cloudinary.com/pos/image/upload/w_110/POS/Images/Icon/products_thumb.png",1,"rounded","float-left","imgUpload"],[1,"col-7","d-inline-block","justify-content-between","gx-0",2,"padding-left","0px"],[1,"itemTitle","cursor-pointer",3,"click","matTooltip"],[1,"description","cursor-pointer"],[1,"col-1","gx-0","d-flex","justify-content-center"],[1,"text-end"],[4,"ngxPermissionsOnly"],[1,"card-footer","d-flex","justify-content-between","py-5","bg-footer","align-items-center",2,"border-top","0.1px solid rgb(220 220 220)"],[1,"rounded","imgUpload","float-left",3,"click","src"],[1,"fa","fa-barcode","me-2"],[1,"ms-2"],["target","_blank",2,"color","#0976b4",3,"href"],[1,"fa-solid","fa-arrow-up-right-from-square","external-link-custom"],[1,"description","cursor-pointer",3,"click"],[1,"fa","fa-tag","me-2"],[1,"text-end","gx-0"],["type","checkbox",3,"change"],["role","group","aria-label","Scan button with other button",1,"btn-group","btn-sm"],[1,"fs-6","btn","btn-light","btn-sm"],[1,"fs-6","btn","btn-light","btn-sm","me-3"],[1,"fs-6","btn","btn-light","btn-sm","me-3",3,"click"],["aria-hidden","true",1,"fa","fa-download","me-1"],[3,"ngxPermissionsOnly","ngxPermissionsOnlyThen","ngxPermissionsOnlyElse"],["type","button",1,"fs-6","btn","btn-light","btn-sm",3,"click"],["aria-hidden","true",1,"fa","fa-upload","me-1"],["role","group",1,"btn-group"],["type","button","data-bs-toggle","dropdown","aria-expanded","false",1,"fs-6","btn","btn-light","btn-sm","dropdown-toggle","ps-3"],[1,"dropdown-menu",2,"min-width","100px !important"],[1,"dropdown-item","cursor-pointer",3,"click"],[1,"fa","fa-spinner","me-2"],["matTooltip","Detaching a product with it's associated channel will stop inventory synchronization",1,"dropdown-item","cursor-pointer",3,"click"],[1,"fa-sharp","fa-link-slash","me-2"],[1,"fa","fa-spinner","me-1"],["matTooltip","Detaching a product with it's associated channel will stop inventory synchronization",1,"fs-6","btn","btn-light","btn-sm"],["matTooltip","Detaching a product with it's associated channel will stop inventory synchronization",1,"fs-6","btn","btn-light","btn-sm",3,"click"],[1,"fs-6","btn","btn-light","btn-sm",3,"click"],[1,"dropdown"],["target","_blank",3,"href"],["alt","",1,"img-logo",3,"src","matTooltip"],["type","button","id","dropdownMenuButton1","data-bs-toggle","dropdown","aria-expanded","false",1,"btn","fs-6","btn-sm","btn-light","dropdown-toggle"],[1,"dropdown-menu"],[1,"dropdown-item","py-2",2,"cursor","pointer"],[1,"img-logo",3,"src"],[1,"ms-4"]],template:function(a,e){if(a&1&&(l(0,"div",2)(1,"div",3)(2,"div",4)(3,"div",5)(4,"div",6)(5,"div",7),m(6,st,1,1,"img",8)(7,mt,1,0,"img",9),c()()(),l(8,"div",10)(9,"h4",11),u("click",function(){return e.onEventDesc()}),s(10),c(),m(11,ut,5,2,"div",12),m(12,Ct,4,1,"div",12),c(),l(13,"div",13)(14,"div",14),w(15,ht,2,1,"ng-container",15),c()()()(),m(16,Zt,7,5,"div",16),c()),a&2){let P;i(6),p(e.image?6:7),i(3),d("matTooltip",((P=e.title())==null?null:P.length)>25?e.title():""),i(),B(" ",e.title()," "),i(),p(e.code?11:-1),i(),p(e.description?12:-1),i(3),d("ngxPermissionsOnly",j(7,dt,e.productDownloadRole,e.productScanRole,e.productUploadRole,e.productDetachRole)),i(),p(e.showFooter()?16:-1)}},dependencies:[Q,Y,X,W,K,U],styles:[".img-logo[_ngcontent-%COMP%]{height:24px;width:24px}.itemTitle[_ngcontent-%COMP%]{text-overflow:ellipsis;white-space:nowrap;overflow:hidden;max-width:100%}.bg-footer[_ngcontent-%COMP%]{background-color:#ededed69}.description[_ngcontent-%COMP%]{font-weight:300;margin-left:2px}.productUpload_defaultSize[_ngcontent-%COMP%]{max-width:100px!important;max-height:100px!important;width:auto!important;height:auto!important}.image-upload[_ngcontent-%COMP%]{position:relative}.imgContainer[_ngcontent-%COMP%]{width:100%;height:100px}.imgUpload[_ngcontent-%COMP%]{width:100%;height:100%;object-fit:scale-down;cursor:pointer}.dropdown[_ngcontent-%COMP%] .dropdown-menu.show[_ngcontent-%COMP%]{top:unset!important}"],changeDetection:0})}}return n})();export{hn as a};
@@ -1 +1 @@
1
- import{a as r}from"./chunk-FDTKJPLI.js";import{e as p}from"./chunk-UB4NDUUT.js";import{ia as o,na as i}from"./chunk-32SEKQJM.js";var G=(()=>{class e{constructor(){this.httpService=i(p)}getGroupsLoader(){return this.httpService.get(r.GetGroupsLoader)}getGroups(t){return this.httpService.post(r.GetGroups,t)}getGroupsForm(t){return this.httpService.post(r.GetGroupFormLoader,{ID:t})}submitGroup(t){return this.httpService.post(r.SubmitGroup,t)}deleteGroups(t){return this.httpService.post(r.DeleteGroups,{ListID:t})}static{this.\u0275fac=function(s){return new(s||e)}}static{this.\u0275prov=o({token:e,factory:e.\u0275fac})}}return e})();export{G as a};
1
+ import{a as r}from"./chunk-FDTKJPLI.js";import{e as p}from"./chunk-M5YUVUTR.js";import{ia as o,na as i}from"./chunk-KCXC4XYC.js";var G=(()=>{class e{constructor(){this.httpService=i(p)}getGroupsLoader(){return this.httpService.get(r.GetGroupsLoader)}getGroups(t){return this.httpService.post(r.GetGroups,t)}getGroupsForm(t){return this.httpService.post(r.GetGroupFormLoader,{ID:t})}submitGroup(t){return this.httpService.post(r.SubmitGroup,t)}deleteGroups(t){return this.httpService.post(r.DeleteGroups,{ListID:t})}static{this.\u0275fac=function(s){return new(s||e)}}static{this.\u0275prov=o({token:e,factory:e.\u0275fac})}}return e})();export{G as a};