marketplacepos 6.32.0 → 6.36.2

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 (339) hide show
  1. package/Marketplace/3rdpartylicenses.txt +55 -75
  2. package/Marketplace/{chunk-WMYEGCCH.js → chunk-22SZCQ7G.js} +1 -1
  3. package/Marketplace/chunk-263UWLK2.js +1 -0
  4. package/Marketplace/{chunk-625TQFQL.js → chunk-2767EOG5.js} +1 -1
  5. package/Marketplace/chunk-2DMZJZC4.js +1 -0
  6. package/Marketplace/chunk-2IYQDFGA.js +1 -0
  7. package/Marketplace/chunk-2P37VNQU.js +5 -0
  8. package/Marketplace/chunk-2PE276BX.js +1 -0
  9. package/Marketplace/{chunk-6VOSRCWX.js → chunk-2WNLMFBJ.js} +1 -1
  10. package/Marketplace/{chunk-KIA53ZRS.js → chunk-2ZILXTWC.js} +1 -1
  11. package/Marketplace/chunk-32JJARCP.js +1 -0
  12. package/Marketplace/chunk-33AEQ22L.js +1 -0
  13. package/Marketplace/{chunk-4XJV3CJ7.js → chunk-33Q4DTO2.js} +1 -1
  14. package/Marketplace/chunk-3CCS27RO.js +1 -0
  15. package/Marketplace/{chunk-ODW7HQHU.js → chunk-3E64KI3Y.js} +1 -1
  16. package/Marketplace/{chunk-WXQUJZQY.js → chunk-3KWKIGCG.js} +1 -1
  17. package/Marketplace/chunk-3MN4X7HW.js +1 -0
  18. package/Marketplace/{chunk-SEB36UUD.js → chunk-3OKDM6QC.js} +1 -1
  19. package/Marketplace/chunk-3UKM6LS7.js +1 -0
  20. package/Marketplace/chunk-3V3XNLNZ.js +1 -0
  21. package/Marketplace/{chunk-7BPJ55MA.js → chunk-4BQHKBID.js} +1 -1
  22. package/Marketplace/{chunk-HI5QPKQM.js → chunk-4IMPHM2L.js} +1 -1
  23. package/Marketplace/chunk-4J3MK6EF.js +1 -0
  24. package/Marketplace/chunk-4LSPDP5E.js +1 -0
  25. package/Marketplace/chunk-4TPJK54G.js +1 -0
  26. package/Marketplace/chunk-4ZDHG6SI.js +1 -0
  27. package/Marketplace/chunk-4ZYEP5TH.js +1 -0
  28. package/Marketplace/chunk-52B4VTZP.js +1 -0
  29. package/Marketplace/chunk-57OX7QKF.js +5 -0
  30. package/Marketplace/chunk-5BONDPXS.js +1 -0
  31. package/Marketplace/chunk-5HJUNSIL.js +1 -0
  32. package/Marketplace/{chunk-AMNY7JEF.js → chunk-5IGCPMYA.js} +1 -1
  33. package/Marketplace/chunk-5QF7B22N.js +2 -0
  34. package/Marketplace/{chunk-HHZM6PB4.js → chunk-5XFVP3GT.js} +1 -1
  35. package/Marketplace/{chunk-DJUUK6ON.js → chunk-64CG27TM.js} +1 -1
  36. package/Marketplace/chunk-67PLIDKU.js +1 -0
  37. package/Marketplace/chunk-67URAZUP.js +1 -0
  38. package/Marketplace/{chunk-2C6XBRGE.js → chunk-6EZURWCE.js} +1 -1
  39. package/Marketplace/{chunk-RDXDKWLL.js → chunk-6GXJ4SD6.js} +1 -1
  40. package/Marketplace/{chunk-TWIWWZUD.js → chunk-6IBSQ4O6.js} +1 -1
  41. package/Marketplace/chunk-6KDJ7QW2.js +1 -0
  42. package/Marketplace/chunk-6L26EFYG.js +1 -0
  43. package/Marketplace/chunk-6N6TWBA6.js +279 -0
  44. package/Marketplace/{chunk-EDNKI3WA.js → chunk-6UFKTBFI.js} +1 -1
  45. package/Marketplace/chunk-7AZA5UAP.js +1 -0
  46. package/Marketplace/{chunk-Y5RUW5VE.js → chunk-7USVXREC.js} +1 -1
  47. package/Marketplace/{chunk-I4LZO4NO.js → chunk-A2XS3PHL.js} +1 -1
  48. package/Marketplace/chunk-A2YYUZWU.js +1 -0
  49. package/Marketplace/chunk-A34RPI3X.js +1 -0
  50. package/Marketplace/chunk-ABRPVDVO.js +7 -0
  51. package/Marketplace/chunk-ADWNBIKB.js +5 -0
  52. package/Marketplace/chunk-AHCQ5LDR.js +1 -0
  53. package/Marketplace/chunk-AJF4SJ6X.js +1 -0
  54. package/Marketplace/chunk-AL7KWTNP.js +1 -0
  55. package/Marketplace/chunk-APUXEKJE.js +2 -0
  56. package/Marketplace/{chunk-ACIMXBIC.js → chunk-BGFEVOPZ.js} +1 -1
  57. package/Marketplace/chunk-BSUHNUUX.js +1 -0
  58. package/Marketplace/chunk-BUD75ZYK.js +1 -0
  59. package/Marketplace/chunk-C4HZRH34.js +1 -0
  60. package/Marketplace/chunk-CJ3JDJ3R.js +39 -0
  61. package/Marketplace/chunk-CKFYYQ5S.js +1 -0
  62. package/Marketplace/{chunk-FJYX7L63.js → chunk-CMUBD5R7.js} +1 -1
  63. package/Marketplace/chunk-CPPEDF2S.js +1 -0
  64. package/Marketplace/chunk-CZKJ4ZWT.js +1 -0
  65. package/Marketplace/{chunk-NSE4235Y.js → chunk-DA6VPJ2M.js} +1 -1
  66. package/Marketplace/{chunk-5QG5PZ7U.js → chunk-DIWXDN75.js} +1 -1
  67. package/Marketplace/chunk-DMQFN6K3.js +4 -0
  68. package/Marketplace/{chunk-GIPWMAZL.js → chunk-DOO32EL7.js} +1 -1
  69. package/Marketplace/{chunk-3DMH2UWS.js → chunk-DU3FSABC.js} +1 -1
  70. package/Marketplace/chunk-EAPRH7EP.js +2 -0
  71. package/Marketplace/{chunk-NMLU7LIO.js → chunk-EBP36E3A.js} +1 -1
  72. package/Marketplace/{chunk-4EWXCLF5.js → chunk-ED4KKCK5.js} +1 -1
  73. package/Marketplace/chunk-EEYIFY5R.js +1 -0
  74. package/Marketplace/chunk-EHFG3EIP.js +5 -0
  75. package/Marketplace/{chunk-QUJT3Y6X.js → chunk-EVJINRUI.js} +1 -1
  76. package/Marketplace/{chunk-CM45JN3C.js → chunk-EYRMOG2V.js} +1 -1
  77. package/Marketplace/{chunk-WU3SNCIC.js → chunk-F7U7V7F4.js} +1 -1
  78. package/Marketplace/{chunk-KMCVYMXQ.js → chunk-FBZA4TL3.js} +1 -1
  79. package/Marketplace/chunk-FDYMEIT7.js +1 -0
  80. package/Marketplace/chunk-FEMGL2YP.js +1 -0
  81. package/Marketplace/{chunk-GNGTW3QD.js → chunk-FFKIXFZP.js} +1 -1
  82. package/Marketplace/chunk-FGHJUGQM.js +1 -0
  83. package/Marketplace/chunk-FGKESPPZ.js +2 -0
  84. package/Marketplace/{chunk-2GINYFUG.js → chunk-FI7KHIPS.js} +1 -1
  85. package/Marketplace/chunk-FLHD7JFM.js +3 -0
  86. package/Marketplace/chunk-FQLH72J4.js +1 -0
  87. package/Marketplace/{chunk-MOVP6G2O.js → chunk-G24YLVF3.js} +2 -2
  88. package/Marketplace/chunk-G2YFPSZK.js +1 -0
  89. package/Marketplace/{chunk-52BVJZIG.js → chunk-G527C47T.js} +1 -1
  90. package/Marketplace/chunk-G6DXF6MT.js +1 -0
  91. package/Marketplace/{chunk-RUHYZ275.js → chunk-G7EFF2OH.js} +1 -1
  92. package/Marketplace/chunk-GCOTLHDB.js +1 -0
  93. package/Marketplace/chunk-GE7DDJPK.js +1 -0
  94. package/Marketplace/chunk-GEZFQI25.js +1 -0
  95. package/Marketplace/{chunk-5RV2CJGS.js → chunk-GMRSDMCF.js} +1 -1
  96. package/Marketplace/{chunk-QDKVYF6D.js → chunk-GRBY6A25.js} +1 -1
  97. package/Marketplace/chunk-GWQ73Y3L.js +1 -0
  98. package/Marketplace/{chunk-7BEOEYAC.js → chunk-H5YNAWK2.js} +1 -1
  99. package/Marketplace/{chunk-CHCLLSOR.js → chunk-H7BH5V5K.js} +1 -1
  100. package/Marketplace/{chunk-S3MYFAWN.js → chunk-HD5RAZOS.js} +1 -1
  101. package/Marketplace/{chunk-DEQSZUMF.js → chunk-HDNULDU2.js} +1 -1
  102. package/Marketplace/{chunk-XSXHGAXP.js → chunk-HHIYV6SY.js} +1 -1
  103. package/Marketplace/chunk-HHXAB5QS.js +1 -0
  104. package/Marketplace/chunk-HISGJYM7.js +1 -0
  105. package/Marketplace/{chunk-NXVGGZ6P.js → chunk-HRJKBANO.js} +1 -1
  106. package/Marketplace/chunk-HSFTVR6F.js +1 -0
  107. package/Marketplace/chunk-HWYSCJ43.js +1 -0
  108. package/Marketplace/chunk-HZRIS4FA.js +1 -0
  109. package/Marketplace/chunk-I2KOLUPT.js +1 -0
  110. package/Marketplace/chunk-I6GMRZAD.js +2 -0
  111. package/Marketplace/chunk-IGKHQEBZ.js +1 -0
  112. package/Marketplace/chunk-IQ2QCUYQ.js +1 -0
  113. package/Marketplace/chunk-ITXC7XVV.js +1 -0
  114. package/Marketplace/{chunk-3BV4FPZE.js → chunk-IUP257JK.js} +1 -1
  115. package/Marketplace/{chunk-BXA5YUTN.js → chunk-J7VARP7L.js} +1 -1
  116. package/Marketplace/chunk-JOTSMBFF.js +1 -0
  117. package/Marketplace/chunk-JTQIWQDJ.js +1 -0
  118. package/Marketplace/chunk-K4BDZSWZ.js +1 -0
  119. package/Marketplace/chunk-KKOMLQHA.js +1 -0
  120. package/Marketplace/{chunk-72AE6737.js → chunk-KLVAH3GT.js} +1 -1
  121. package/Marketplace/{chunk-W2CSYQ6H.js → chunk-KOBEFS2S.js} +1 -1
  122. package/Marketplace/{chunk-SPNVH2ST.js → chunk-KOOWEFV6.js} +1 -1
  123. package/Marketplace/chunk-KSLXGDOL.js +1 -0
  124. package/Marketplace/{chunk-2GKHARPI.js → chunk-KZ25EBRB.js} +1 -1
  125. package/Marketplace/{chunk-7KKV4BRH.js → chunk-KZWEUXCA.js} +1 -1
  126. package/Marketplace/{chunk-LZ4OSFKB.js → chunk-LAIE4H5H.js} +1 -1
  127. package/Marketplace/chunk-LECGPSC3.js +1 -0
  128. package/Marketplace/chunk-M2CRAQZF.js +5 -0
  129. package/Marketplace/chunk-MPCBKIGI.js +1 -0
  130. package/Marketplace/chunk-MVODFPIM.js +1 -0
  131. package/Marketplace/chunk-MXZNUKSS.js +1 -0
  132. package/Marketplace/{chunk-KYK2ZFUZ.js → chunk-MZNVUECO.js} +1 -1
  133. package/Marketplace/{chunk-47Z3CNAW.js → chunk-NCHJULNE.js} +1 -1
  134. package/Marketplace/chunk-NGMAPAHA.js +2 -0
  135. package/Marketplace/{chunk-6PI5PUIQ.js → chunk-NVFPEIBK.js} +1 -1
  136. package/Marketplace/chunk-NZPISKQV.js +1 -0
  137. package/Marketplace/chunk-O2GBNE2A.js +1 -0
  138. package/Marketplace/chunk-O2GI6NQ4.js +1 -0
  139. package/Marketplace/chunk-OE5JC2VK.js +1 -0
  140. package/Marketplace/chunk-ONV2VKP6.js +1 -0
  141. package/Marketplace/chunk-ONYZ4CDS.js +1 -0
  142. package/Marketplace/chunk-OO3CU22V.js +1 -0
  143. package/Marketplace/{chunk-4NAKX6WQ.js → chunk-OOGQ5PSL.js} +1 -1
  144. package/Marketplace/chunk-OP4J64JZ.js +1 -0
  145. package/Marketplace/{chunk-6GSJBXEE.js → chunk-OQVWI5RR.js} +1 -1
  146. package/Marketplace/chunk-P3XRMO2U.js +1 -0
  147. package/Marketplace/chunk-PH4PTFRX.js +1 -0
  148. package/Marketplace/{chunk-7ES2Z445.js → chunk-PTEWNZIV.js} +1 -1
  149. package/Marketplace/{chunk-MIMZDUDP.js → chunk-PXVJNGTD.js} +1 -1
  150. package/Marketplace/{chunk-67AXBZYF.js → chunk-Q3STYUEA.js} +1 -1
  151. package/Marketplace/chunk-Q4CLRUMM.js +1 -0
  152. package/Marketplace/chunk-Q4KEN7SJ.js +1 -0
  153. package/Marketplace/chunk-Q5PH4VIQ.js +1 -0
  154. package/Marketplace/chunk-QFI7LBJD.js +1 -0
  155. package/Marketplace/chunk-QTPS2MS5.js +1 -0
  156. package/Marketplace/{chunk-A32JPG5P.js → chunk-QUDI2RQN.js} +1 -1
  157. package/Marketplace/chunk-QW6OZBPC.js +1 -0
  158. package/Marketplace/{chunk-66YHNWRR.js → chunk-QWWW7GFA.js} +1 -1
  159. package/Marketplace/chunk-RGUHJFWI.js +2 -0
  160. package/Marketplace/chunk-RIB4DH2E.js +1 -0
  161. package/Marketplace/chunk-RIX56SWS.js +2 -0
  162. package/Marketplace/{chunk-SPE6G6R5.js → chunk-RNF3DKK3.js} +3 -3
  163. package/Marketplace/chunk-RPWJAOFD.js +1 -0
  164. package/Marketplace/chunk-S5QLFJEV.js +1 -0
  165. package/Marketplace/{chunk-D2THPOQ7.js → chunk-SJAF4YQS.js} +1 -1
  166. package/Marketplace/chunk-SQ6JVQ5G.js +1 -0
  167. package/Marketplace/{chunk-HSKAYNRW.js → chunk-T4HUNIQP.js} +1 -1
  168. package/Marketplace/chunk-TBTZ3FUB.js +2 -0
  169. package/Marketplace/{chunk-QGNTUEVO.js → chunk-TFHB3OE5.js} +1 -1
  170. package/Marketplace/{chunk-N4LXUHDH.js → chunk-TKQRI7TY.js} +1 -1
  171. package/Marketplace/chunk-TNOCS57G.js +2 -0
  172. package/Marketplace/chunk-TP7GPZVD.js +1 -0
  173. package/Marketplace/chunk-TUEV77P5.js +1 -0
  174. package/Marketplace/chunk-TWZGEC6C.js +1 -0
  175. package/Marketplace/chunk-TX4R4SIU.js +1 -0
  176. package/Marketplace/chunk-U5LGPDSJ.js +1 -0
  177. package/Marketplace/{chunk-45DFJJAO.js → chunk-UC7FUQNJ.js} +1 -1
  178. package/Marketplace/{chunk-ZAAQHZQ4.js → chunk-UH3D66C4.js} +1 -1
  179. package/Marketplace/chunk-UW7RDW7F.js +5 -0
  180. package/Marketplace/{chunk-ZEALEXSH.js → chunk-VOQ5S4Z6.js} +1 -1
  181. package/Marketplace/{chunk-Y7WXCJG3.js → chunk-VPFHKYWA.js} +1 -1
  182. package/Marketplace/chunk-VRGH76J2.js +1 -0
  183. package/Marketplace/{chunk-NIRJAWTX.js → chunk-VSXPCIHS.js} +1 -1
  184. package/Marketplace/{chunk-TWRFL73R.js → chunk-WFQ6MTNV.js} +1 -1
  185. package/Marketplace/{chunk-RWB2N7TQ.js → chunk-WTLVFSIF.js} +2 -2
  186. package/Marketplace/{chunk-MHV46BJA.js → chunk-X25CNJEY.js} +1 -1
  187. package/Marketplace/{chunk-GJXDRPAS.js → chunk-XE7FN7WV.js} +1 -1
  188. package/Marketplace/chunk-XFH62O5X.js +1 -0
  189. package/Marketplace/chunk-XIUQEWZD.js +1 -0
  190. package/Marketplace/{chunk-VAYLCOBC.js → chunk-XJ647P3Z.js} +1 -1
  191. package/Marketplace/{chunk-UB6CUSGA.js → chunk-XLR4OLMV.js} +4 -4
  192. package/Marketplace/chunk-XNBFYRRI.js +2 -0
  193. package/Marketplace/chunk-XOZLRHHL.js +1 -0
  194. package/Marketplace/{chunk-I4XJB7OG.js → chunk-XTKTVZ2A.js} +1 -1
  195. package/Marketplace/{chunk-TTMPMWUQ.js → chunk-XU7ZLD5O.js} +1 -1
  196. package/Marketplace/chunk-XWXDPONM.js +1 -0
  197. package/Marketplace/{chunk-FOIFO4IT.js → chunk-XZKAZQ76.js} +1 -1
  198. package/Marketplace/chunk-Y3LPTD5V.js +1 -0
  199. package/Marketplace/{chunk-UKTF73EK.js → chunk-Y5IAHFKC.js} +1 -1
  200. package/Marketplace/chunk-Y7CS5J4F.js +1 -0
  201. package/Marketplace/chunk-YFWWAZIP.js +1 -0
  202. package/Marketplace/{chunk-J3PHESB2.js → chunk-YGUGXTPW.js} +1 -1
  203. package/Marketplace/{chunk-DT7IVGJS.js → chunk-YJWJHM4H.js} +1 -1
  204. package/Marketplace/{chunk-26I3WOHT.js → chunk-YLDUJ4GY.js} +1 -1
  205. package/Marketplace/chunk-YPIXAXNT.js +1 -0
  206. package/Marketplace/chunk-YU6N3IVV.js +4 -0
  207. package/Marketplace/chunk-YXL5QN4Q.js +1 -0
  208. package/Marketplace/{chunk-WZDFB7PP.js → chunk-Z4OMCYBI.js} +1 -1
  209. package/Marketplace/{chunk-HOJXBBZE.js → chunk-Z6Q5KESS.js} +1 -1
  210. package/Marketplace/chunk-ZOV7OQE6.js +2 -0
  211. package/Marketplace/{chunk-E4UF3SPF.js → chunk-ZT47FUHT.js} +1 -1
  212. package/Marketplace/index.html +2 -2
  213. package/Marketplace/main-4EWC7FQU.js +13 -0
  214. package/package.json +1 -1
  215. package/Marketplace/chunk-23QF42EC.js +0 -1
  216. package/Marketplace/chunk-25B2S2RU.js +0 -1
  217. package/Marketplace/chunk-266EEWSE.js +0 -1
  218. package/Marketplace/chunk-2BS4VK45.js +0 -1
  219. package/Marketplace/chunk-2FIPIRGE.js +0 -1
  220. package/Marketplace/chunk-2FQFDKZG.js +0 -1
  221. package/Marketplace/chunk-2HR6ZBIJ.js +0 -1
  222. package/Marketplace/chunk-2IGRFJZH.js +0 -1
  223. package/Marketplace/chunk-34FX4M3J.js +0 -21
  224. package/Marketplace/chunk-3NYF3MRZ.js +0 -1
  225. package/Marketplace/chunk-3OJXLC33.js +0 -1
  226. package/Marketplace/chunk-437TOLUD.js +0 -1
  227. package/Marketplace/chunk-47GECTL6.js +0 -1
  228. package/Marketplace/chunk-47X3WRYV.js +0 -1
  229. package/Marketplace/chunk-4JTBEEYK.js +0 -1
  230. package/Marketplace/chunk-4TF3XWRL.js +0 -1
  231. package/Marketplace/chunk-5FO4RY4B.js +0 -7
  232. package/Marketplace/chunk-5J6UA4BV.js +0 -1
  233. package/Marketplace/chunk-6MQGXJKX.js +0 -1
  234. package/Marketplace/chunk-6PXRJOVB.js +0 -1
  235. package/Marketplace/chunk-6XQJQFDD.js +0 -1
  236. package/Marketplace/chunk-6YKQJSJX.js +0 -39
  237. package/Marketplace/chunk-7R55YTL6.js +0 -1
  238. package/Marketplace/chunk-AATHZXRD.js +0 -1
  239. package/Marketplace/chunk-ACOYH6QT.js +0 -1
  240. package/Marketplace/chunk-AQFSKIOT.js +0 -1
  241. package/Marketplace/chunk-AQG3WSR3.js +0 -2
  242. package/Marketplace/chunk-BBLSFVNH.js +0 -1
  243. package/Marketplace/chunk-BDJDA3UR.js +0 -1
  244. package/Marketplace/chunk-BMVBJQDF.js +0 -1
  245. package/Marketplace/chunk-BUBQQEYA.js +0 -1
  246. package/Marketplace/chunk-BZQNZCRX.js +0 -1
  247. package/Marketplace/chunk-CATPFRZT.js +0 -278
  248. package/Marketplace/chunk-CFH746DO.js +0 -2
  249. package/Marketplace/chunk-CQRUJPRW.js +0 -1
  250. package/Marketplace/chunk-CTMKVKBI.js +0 -1
  251. package/Marketplace/chunk-D4PB7CKB.js +0 -2
  252. package/Marketplace/chunk-DBH7LDYB.js +0 -1
  253. package/Marketplace/chunk-DBL74BPX.js +0 -1
  254. package/Marketplace/chunk-DCKVIQWI.js +0 -1
  255. package/Marketplace/chunk-DM53TQG3.js +0 -1
  256. package/Marketplace/chunk-DUQEV7V7.js +0 -4
  257. package/Marketplace/chunk-EAU4IG7O.js +0 -1
  258. package/Marketplace/chunk-EED2ISSH.js +0 -1
  259. package/Marketplace/chunk-EHDO475L.js +0 -1
  260. package/Marketplace/chunk-ELKXBB2L.js +0 -1
  261. package/Marketplace/chunk-EN7FW6EW.js +0 -1
  262. package/Marketplace/chunk-ENV5ILJK.js +0 -1
  263. package/Marketplace/chunk-ESU355JU.js +0 -1
  264. package/Marketplace/chunk-F5T43RIS.js +0 -1
  265. package/Marketplace/chunk-F5Z5BMMB.js +0 -1
  266. package/Marketplace/chunk-F7ZVBDGA.js +0 -1
  267. package/Marketplace/chunk-FEIOPBRJ.js +0 -5
  268. package/Marketplace/chunk-FKR5LVJP.js +0 -2
  269. package/Marketplace/chunk-G2XGQFY4.js +0 -1
  270. package/Marketplace/chunk-GBUDZCXK.js +0 -1
  271. package/Marketplace/chunk-H5HR53KH.js +0 -1
  272. package/Marketplace/chunk-H5JTGSWS.js +0 -3
  273. package/Marketplace/chunk-H5W3EMYB.js +0 -5
  274. package/Marketplace/chunk-HQLLBSXS.js +0 -1
  275. package/Marketplace/chunk-HYJGVYR3.js +0 -1
  276. package/Marketplace/chunk-I2LNUWKZ.js +0 -1
  277. package/Marketplace/chunk-IBZCREPJ.js +0 -5
  278. package/Marketplace/chunk-IF5TGEWC.js +0 -1
  279. package/Marketplace/chunk-IHWIDZBF.js +0 -1
  280. package/Marketplace/chunk-IKGBAFH7.js +0 -1
  281. package/Marketplace/chunk-IZRRQZQN.js +0 -1
  282. package/Marketplace/chunk-J3BUF2XZ.js +0 -1
  283. package/Marketplace/chunk-J5PTSESV.js +0 -2
  284. package/Marketplace/chunk-J6QZDOVJ.js +0 -1
  285. package/Marketplace/chunk-JDWZ6OPA.js +0 -1
  286. package/Marketplace/chunk-JHNZSQGY.js +0 -1
  287. package/Marketplace/chunk-JY726AM5.js +0 -1
  288. package/Marketplace/chunk-K2LH5OES.js +0 -1
  289. package/Marketplace/chunk-K5XOH3VV.js +0 -1
  290. package/Marketplace/chunk-KW7FOF5D.js +0 -1
  291. package/Marketplace/chunk-KXLYQDZR.js +0 -2
  292. package/Marketplace/chunk-KYXIG6CF.js +0 -1
  293. package/Marketplace/chunk-L2H7TFVM.js +0 -1
  294. package/Marketplace/chunk-L5FGHXKE.js +0 -1
  295. package/Marketplace/chunk-L7K2JAJV.js +0 -2
  296. package/Marketplace/chunk-LEVO5XO7.js +0 -1
  297. package/Marketplace/chunk-LWSYEG4D.js +0 -1
  298. package/Marketplace/chunk-MEJ26HC4.js +0 -1
  299. package/Marketplace/chunk-MFOJDYRW.js +0 -1
  300. package/Marketplace/chunk-MM2TEPZZ.js +0 -1
  301. package/Marketplace/chunk-MU7RI22T.js +0 -2
  302. package/Marketplace/chunk-MYT3P6BY.js +0 -1
  303. package/Marketplace/chunk-OEISJXA5.js +0 -1
  304. package/Marketplace/chunk-OF426VSL.js +0 -1
  305. package/Marketplace/chunk-OGUH5X2R.js +0 -1
  306. package/Marketplace/chunk-OIYTXYLO.js +0 -1
  307. package/Marketplace/chunk-OL7LL2JK.js +0 -1
  308. package/Marketplace/chunk-OPRZQ3AF.js +0 -2
  309. package/Marketplace/chunk-P5OAPFNC.js +0 -1
  310. package/Marketplace/chunk-PAWBVKZQ.js +0 -1
  311. package/Marketplace/chunk-PBJGE2HY.js +0 -1
  312. package/Marketplace/chunk-PDDRD4EU.js +0 -5
  313. package/Marketplace/chunk-QXY4FOJP.js +0 -1
  314. package/Marketplace/chunk-RBYZVK4L.js +0 -2
  315. package/Marketplace/chunk-RFA7CS6B.js +0 -1
  316. package/Marketplace/chunk-S6DGSFMG.js +0 -1
  317. package/Marketplace/chunk-SBLTWRFW.js +0 -5
  318. package/Marketplace/chunk-SSQ23ZNC.js +0 -1
  319. package/Marketplace/chunk-SUGYXB64.js +0 -1
  320. package/Marketplace/chunk-SWON3WKA.js +0 -1
  321. package/Marketplace/chunk-TEDENAMD.js +0 -1
  322. package/Marketplace/chunk-TQI5VPVU.js +0 -2
  323. package/Marketplace/chunk-UBS6I527.js +0 -1
  324. package/Marketplace/chunk-UGJ5XNLS.js +0 -1
  325. package/Marketplace/chunk-V457FNNR.js +0 -1
  326. package/Marketplace/chunk-VINT75RU.js +0 -2
  327. package/Marketplace/chunk-VVPKQD3A.js +0 -1
  328. package/Marketplace/chunk-WANHMLNX.js +0 -1
  329. package/Marketplace/chunk-WFMAM73Y.js +0 -1
  330. package/Marketplace/chunk-XTDWTHOT.js +0 -1
  331. package/Marketplace/chunk-Y3SRH4WV.js +0 -1
  332. package/Marketplace/chunk-Y7W7NN2Q.js +0 -1
  333. package/Marketplace/chunk-YJPGX6PH.js +0 -1
  334. package/Marketplace/chunk-YJZNPYOF.js +0 -1
  335. package/Marketplace/chunk-YLPMCVI6.js +0 -7
  336. package/Marketplace/chunk-YUHHLKCN.js +0 -1
  337. package/Marketplace/chunk-Z35LIB3M.js +0 -1
  338. package/Marketplace/chunk-ZPV56E2J.js +0 -4
  339. package/Marketplace/main-NGG6BP6I.js +0 -13
@@ -30,11 +30,6 @@ Package: highcharts
30
30
  License: "https://www.highcharts.com/license"
31
31
 
32
32
 
33
- --------------------------------------------------------------------------------
34
- Package: @dealpos-npm/ng-dealpos-library
35
- License: "ISC"
36
-
37
-
38
33
  --------------------------------------------------------------------------------
39
34
  Package: @primeuix/styles
40
35
  License: "MIT"
@@ -143,6 +138,11 @@ The term “Software” includes all source and object code, in whole and/or par
143
138
  9. **Indemnification:** Licensee hereby warrants to hold Licensor harmless and indemnify Licensor for any lawsuit brought against it in regards to Licensee’s use of The Software in means that violate, breach or otherwise circumvent this license, Licensor's intellectual property rights or Licensor's title in The Software. Licensor shall promptly notify Licensee in case of such legal action and request Licensee’s consent prior to any settlement in relation to such lawsuit or claim.
144
139
  10. **Governing Law, Jurisdiction:** Licensee hereby agrees not to initiate class-action lawsuits against Licensor in relation to this license and to compensate Licensor for any legal fees, cost or attorney fees should any claim brought by Licensee against Licensor be denied, in part or in full.
145
140
 
141
+ --------------------------------------------------------------------------------
142
+ Package: @dealpos-npm/ng-dealpos-library
143
+ License: "ISC"
144
+
145
+
146
146
  --------------------------------------------------------------------------------
147
147
  Package: @angular/cdk
148
148
  License: "MIT"
@@ -423,6 +423,11 @@ COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
423
423
  IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
424
424
  CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
425
425
 
426
+ --------------------------------------------------------------------------------
427
+ Package: firebase
428
+ License: "Apache-2.0"
429
+
430
+
426
431
  --------------------------------------------------------------------------------
427
432
  Package: moment
428
433
  License: "MIT"
@@ -583,7 +588,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
583
588
  SOFTWARE.
584
589
 
585
590
  --------------------------------------------------------------------------------
586
- Package: @angular/animations
591
+ Package: @angular/core
587
592
  License: "MIT"
588
593
 
589
594
  The MIT License
@@ -609,25 +614,12 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
609
614
  THE SOFTWARE.
610
615
 
611
616
  --------------------------------------------------------------------------------
612
- Package: firebase
613
- License: "Apache-2.0"
614
-
615
-
616
- --------------------------------------------------------------------------------
617
- Package: @angular/fire
617
+ Package: @angular/animations
618
618
  License: "MIT"
619
619
 
620
+ The MIT License
620
621
 
621
- --------------------------------------------------------------------------------
622
- Package: @firebase/app-check
623
- License: "Apache-2.0"
624
-
625
-
626
- --------------------------------------------------------------------------------
627
- Package: ngx-indexed-db
628
- License: "ISC"
629
-
630
- The MIT License (MIT)
622
+ Copyright (c) 2010-2025 Google LLC. https://angular.dev/license
631
623
 
632
624
  Permission is hereby granted, free of charge, to any person obtaining a copy
633
625
  of this software and associated documentation files (the "Software"), to deal
@@ -646,18 +638,43 @@ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
646
638
  LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
647
639
  OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
648
640
  THE SOFTWARE.
641
+
649
642
  --------------------------------------------------------------------------------
650
- Package: ngx-permissions
651
- License: "MIT"
643
+ Package: @firebase/util
644
+ License: "Apache-2.0"
652
645
 
653
646
 
654
647
  --------------------------------------------------------------------------------
655
- Package: @angular/forms
656
- License: "MIT"
648
+ Package: @firebase/component
649
+ License: "Apache-2.0"
657
650
 
658
- The MIT License
659
651
 
660
- Copyright (c) 2010-2025 Google LLC. https://angular.dev/license
652
+ --------------------------------------------------------------------------------
653
+ Package: @firebase/logger
654
+ License: "Apache-2.0"
655
+
656
+
657
+ --------------------------------------------------------------------------------
658
+ Package: @firebase/app
659
+ License: "Apache-2.0"
660
+
661
+
662
+ --------------------------------------------------------------------------------
663
+ Package: idb
664
+ License: "ISC"
665
+
666
+ ISC License (ISC)
667
+ Copyright (c) 2016, Jake Archibald <jaffathecake@gmail.com>
668
+
669
+ Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies.
670
+
671
+ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
672
+
673
+ --------------------------------------------------------------------------------
674
+ Package: ngx-indexed-db
675
+ License: "ISC"
676
+
677
+ The MIT License (MIT)
661
678
 
662
679
  Permission is hereby granted, free of charge, to any person obtaining a copy
663
680
  of this software and associated documentation files (the "Software"), to deal
@@ -676,9 +693,18 @@ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
676
693
  LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
677
694
  OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
678
695
  THE SOFTWARE.
696
+ --------------------------------------------------------------------------------
697
+ Package: @firebase/auth
698
+ License: "Apache-2.0"
699
+
679
700
 
680
701
  --------------------------------------------------------------------------------
681
- Package: @angular/core
702
+ Package: ngx-permissions
703
+ License: "MIT"
704
+
705
+
706
+ --------------------------------------------------------------------------------
707
+ Package: @angular/forms
682
708
  License: "MIT"
683
709
 
684
710
  The MIT License
@@ -703,52 +729,6 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
703
729
  OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
704
730
  THE SOFTWARE.
705
731
 
706
- --------------------------------------------------------------------------------
707
- Package: @firebase/util
708
- License: "Apache-2.0"
709
-
710
-
711
- --------------------------------------------------------------------------------
712
- Package: @firebase/component
713
- License: "Apache-2.0"
714
-
715
-
716
- --------------------------------------------------------------------------------
717
- Package: @firebase/app
718
- License: "Apache-2.0"
719
-
720
-
721
- --------------------------------------------------------------------------------
722
- Package: @firebase/logger
723
- License: "Apache-2.0"
724
-
725
-
726
- --------------------------------------------------------------------------------
727
- Package: idb
728
- License: "ISC"
729
-
730
- ISC License (ISC)
731
- Copyright (c) 2016, Jake Archibald <jaffathecake@gmail.com>
732
-
733
- Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies.
734
-
735
- THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
736
-
737
- --------------------------------------------------------------------------------
738
- Package: @firebase/app-compat
739
- License: "Apache-2.0"
740
-
741
-
742
- --------------------------------------------------------------------------------
743
- Package: @firebase/auth
744
- License: "Apache-2.0"
745
-
746
-
747
- --------------------------------------------------------------------------------
748
- Package: @firebase/auth-compat
749
- License: "Apache-2.0"
750
-
751
-
752
732
  --------------------------------------------------------------------------------
753
733
  Package: ngx-toastr
754
734
  License: "MIT"
@@ -1,3 +1,3 @@
1
- import{a as Ge,b as Ue}from"./chunk-RBYZVK4L.js";import{a as W}from"./chunk-QGNTUEVO.js";import{a as qe}from"./chunk-GBUDZCXK.js";import{d as je}from"./chunk-S3MYFAWN.js";import{b as $e}from"./chunk-BXA5YUTN.js";import{C as Pe,D as K,H as Ne,N as Qe,P as Be,Q as Ve,d as we,f as ze,j as Te,l as Oe,m as Re,v as Le,w as Fe,y as Ae}from"./chunk-7KKV4BRH.js";import{f as He}from"./chunk-BUBQQEYA.js";import{y as se}from"./chunk-4NAKX6WQ.js";import{$c as ne,Ac as F,Bc as A,Ca as I,Cc as w,Cd as U,Da as ge,Dc as j,Eb as k,Ec as m,Fb as H,Fc as h,Ga as f,Gb as b,Hd as z,Id as ke,Jb as R,Jc as ae,Kb as Q,Kc as Me,Lb as Ce,Lc as M,Ma as be,Na as te,Nc as q,Oc as y,Pa as T,Pc as x,Qa as O,X as C,Xb as L,Y as fe,Zc as De,_ as g,a as me,bc as _,bd as oe,d as P,dc as v,dd as Ie,fc as B,gc as V,hc as $,ia as _e,ic as u,ja as N,jc as p,kc as c,la as ve,lc as ie,mb as o,na as l,o as he,od as Ee,rc as S,sc as Se,sd as G,t as ue,tb as E,ua as X,va as ee,wb as ye,xc as re,zb as xe,zc as d}from"./chunk-ZPV56E2J.js";var Xe=["*"];function et(i,n){i&1&&A(0)}var le=(()=>{class i{_elementRef=l(T);constructor(){}focus(){this._elementRef.nativeElement.focus()}static \u0275fac=function(t){return new(t||i)};static \u0275dir=b({type:i,selectors:[["","cdkStepHeader",""]],hostAttrs:["role","tab"]})}return i})(),pe=(()=>{class i{template=l(E);constructor(){}static \u0275fac=function(t){return new(t||i)};static \u0275dir=b({type:i,selectors:[["","cdkStepLabel",""]]})}return i})();var D={NUMBER:"number",EDIT:"edit",DONE:"done",ERROR:"error"},tt=new ve("STEPPER_GLOBAL_OPTIONS"),Z=(()=>{class i{_stepperOptions;_stepper=l(Y);_displayDefaultIndicatorType;stepLabel;_childForms;content;stepControl;get interacted(){return this._interacted()}set interacted(e){this._interacted.set(e)}_interacted=f(!1);interactedStream=new I;label;errorMessage;ariaLabel;ariaLabelledby;get state(){return this._state()}set state(e){this._state.set(e)}_state=f(void 0);get editable(){return this._editable()}set editable(e){this._editable.set(e)}_editable=f(!0);optional=!1;get completed(){let e=this._completedOverride(),t=this._interacted();return e??(t&&(!this.stepControl||this.stepControl.valid))}set completed(e){this._completedOverride.set(e)}_completedOverride=f(null);index=f(-1);isSelected=G(()=>this._stepper.selectedIndex===this.index());indicatorType=G(()=>{let e=this.isSelected(),t=this.completed,r=this._state()??D.NUMBER,a=this._editable();return this._showError()&&this.hasError&&!e?D.ERROR:this._displayDefaultIndicatorType?!t||e?D.NUMBER:a?D.EDIT:D.DONE:t&&!e?D.DONE:t&&e?r:a&&e?D.EDIT:r});isNavigable=G(()=>{let e=this.isSelected();return this.completed||e||!this._stepper.linear});get hasError(){let e=this._customError();return e??this._getDefaultError()}set hasError(e){this._customError.set(e)}_customError=f(null);_getDefaultError(){return this.interacted&&!!this.stepControl?.invalid}constructor(){let e=l(tt,{optional:!0});this._stepperOptions=e||{},this._displayDefaultIndicatorType=this._stepperOptions.displayDefaultIndicatorType!==!1}select(){this._stepper.selected=this}reset(){this._interacted.set(!1),this._completedOverride()!=null&&this._completedOverride.set(!1),this._customError()!=null&&this._customError.set(!1),this.stepControl&&(this._childForms?.forEach(e=>e.resetForm?.()),this.stepControl.reset())}ngOnChanges(){this._stepper._stateChanged()}_markAsInteracted(){this._interacted()||(this._interacted.set(!0),this.interactedStream.emit(this))}_showError(){return this._stepperOptions.showError??this._customError()!=null}static \u0275fac=function(t){return new(t||i)};static \u0275cmp=k({type:i,selectors:[["cdk-step"]],contentQueries:function(t,r,a){if(t&1&&w(a,pe,5)(a,He,5),t&2){let s;m(s=h())&&(r.stepLabel=s.first),m(s=h())&&(r._childForms=s)}},viewQuery:function(t,r){if(t&1&&j(E,7),t&2){let a;m(a=h())&&(r.content=a.first)}},inputs:{stepControl:"stepControl",label:"label",errorMessage:"errorMessage",ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"],state:"state",editable:[2,"editable","editable",z],optional:[2,"optional","optional",z],completed:[2,"completed","completed",z],hasError:[2,"hasError","hasError",z]},outputs:{interactedStream:"interacted"},exportAs:["cdkStep"],features:[be],ngContentSelectors:Xe,decls:1,vars:0,template:function(t,r){t&1&&(F(),Ce(0,et,1,0,"ng-template"))},encapsulation:2,changeDetection:0})}return i})(),Y=(()=>{class i{_dir=l(Pe,{optional:!0});_changeDetectorRef=l(U);_elementRef=l(T);_destroyed=new P;_keyManager;_steps;steps=new O;_stepHeader;_sortedHeaders=new O;linear=!1;get selectedIndex(){return this._selectedIndex()}set selectedIndex(e){this._steps?(this._isValidIndex(e),this.selectedIndex!==e&&(this.selected?._markAsInteracted(),!this._anyControlsInvalidOrPending(e)&&(e>=this.selectedIndex||this.steps.toArray()[e].editable)&&this._updateSelectedItemIndex(e))):this._selectedIndex.set(e)}_selectedIndex=f(0);get selected(){return this.steps?this.steps.toArray()[this.selectedIndex]:void 0}set selected(e){this.selectedIndex=e&&this.steps?this.steps.toArray().indexOf(e):-1}selectionChange=new I;selectedIndexChange=new I;_groupId=l(Le).getId("cdk-stepper-");get orientation(){return this._orientation}set orientation(e){this._orientation=e,this._keyManager&&this._keyManager.withVerticalOrientation(e==="vertical")}_orientation="horizontal";constructor(){}ngAfterContentInit(){this._steps.changes.pipe(C(this._steps),g(this._destroyed)).subscribe(e=>{this.steps.reset(e.filter(t=>t._stepper===this)),this.steps.forEach((t,r)=>t.index.set(r)),this.steps.notifyOnChanges()})}ngAfterViewInit(){if(this._stepHeader.changes.pipe(C(this._stepHeader),g(this._destroyed)).subscribe(e=>{this._sortedHeaders.reset(e.toArray().sort((t,r)=>t._elementRef.nativeElement.compareDocumentPosition(r._elementRef.nativeElement)&Node.DOCUMENT_POSITION_FOLLOWING?-1:1)),this._sortedHeaders.notifyOnChanges()}),this._keyManager=new Ae(this._sortedHeaders).withWrap().withHomeAndEnd().withVerticalOrientation(this._orientation==="vertical"),this._keyManager.updateActiveItem(this.selectedIndex),(this._dir?this._dir.change:he()).pipe(C(this._layoutDirection()),g(this._destroyed)).subscribe(e=>this._keyManager?.withHorizontalOrientation(e)),this._keyManager.updateActiveItem(this.selectedIndex),this.steps.changes.subscribe(()=>{this.selected||this._selectedIndex.set(Math.max(this.selectedIndex-1,0))}),this._isValidIndex(this.selectedIndex)||this._selectedIndex.set(0),this.linear&&this.selectedIndex>0){let e=this.steps.toArray().slice(0,this._selectedIndex());for(let t of e)t._markAsInteracted()}}ngOnDestroy(){this._keyManager?.destroy(),this.steps.destroy(),this._sortedHeaders.destroy(),this._destroyed.next(),this._destroyed.complete()}next(){this.selectedIndex=Math.min(this._selectedIndex()+1,this.steps.length-1)}previous(){this.selectedIndex=Math.max(this._selectedIndex()-1,0)}reset(){this._updateSelectedItemIndex(0),this.steps.forEach(e=>e.reset()),this._stateChanged()}_getStepLabelId(e){return`${this._groupId}-label-${e}`}_getStepContentId(e){return`${this._groupId}-content-${e}`}_stateChanged(){this._changeDetectorRef.markForCheck()}_getAnimationDirection(e){let t=e-this._selectedIndex();return t<0?this._layoutDirection()==="rtl"?"next":"previous":t>0?this._layoutDirection()==="rtl"?"previous":"next":"current"}_getFocusIndex(){return this._keyManager?this._keyManager.activeItemIndex:this._selectedIndex()}_updateSelectedItemIndex(e){let t=this.steps.toArray(),r=this._selectedIndex();this.selectionChange.emit({selectedIndex:e,previouslySelectedIndex:r,selectedStep:t[e],previouslySelectedStep:t[r]}),this._keyManager&&(this._containsFocus()?this._keyManager.setActiveItem(e):this._keyManager.updateActiveItem(e)),this._selectedIndex.set(e),this.selectedIndexChange.emit(e),this._stateChanged()}_onKeydown(e){let t=Fe(e),r=e.keyCode,a=this._keyManager;a?.activeItemIndex!=null&&!t&&(r===32||r===13)?(this.selectedIndex=a.activeItemIndex,e.preventDefault()):a?.setFocusOrigin("keyboard").onKeydown(e)}_anyControlsInvalidOrPending(e){return this.linear&&e>=0?this.steps.toArray().slice(0,e).some(t=>{let r=t.stepControl;return(r?r.invalid||r.pending||!t.interacted:!t.completed)&&!t.optional&&!t._completedOverride()}):!1}_layoutDirection(){return this._dir&&this._dir.value==="rtl"?"rtl":"ltr"}_containsFocus(){let e=this._elementRef.nativeElement,t=we();return e===t||e.contains(t)}_isValidIndex(e){return e>-1&&(!this.steps||e<this.steps.length)}static \u0275fac=function(t){return new(t||i)};static \u0275dir=b({type:i,selectors:[["","cdkStepper",""]],contentQueries:function(t,r,a){if(t&1&&w(a,Z,5)(a,le,5),t&2){let s;m(s=h())&&(r._steps=s),m(s=h())&&(r._stepHeader=s)}},inputs:{linear:[2,"linear","linear",z],selectedIndex:[2,"selectedIndex","selectedIndex",ke],selected:"selected",orientation:"orientation"},outputs:{selectionChange:"selectionChange",selectedIndexChange:"selectedIndexChange"},exportAs:["cdkStepper"]})}return i})();var Ke=(()=>{class i{static \u0275fac=function(t){return new(t||i)};static \u0275mod=H({type:i});static \u0275inj=N({imports:[K]})}return i})();var it=(i,n,e)=>({index:i,active:n,optional:e});function rt(i,n){if(i&1&&S(0,2),i&2){let e=d();u("ngTemplateOutlet",e.iconOverrides[e.state])("ngTemplateOutletContext",Ie(2,it,e.index,e.active,e.optional))}}function at(i,n){if(i&1&&(p(0,"span",7),y(1),c()),i&2){let e=d(2);o(),x(e._getDefaultTextForState(e.state))}}function nt(i,n){if(i&1&&(p(0,"span",8),y(1),c()),i&2){let e=d(3);o(),x(e._intl.completedLabel)}}function ot(i,n){if(i&1&&(p(0,"span",8),y(1),c()),i&2){let e=d(3);o(),x(e._intl.editableLabel)}}function st(i,n){if(i&1&&(_(0,nt,2,1,"span",8)(1,ot,2,1,"span",8),p(2,"mat-icon",7),y(3),c()),i&2){let e=d(2);v(e.state==="done"?0:e.state==="edit"?1:-1),o(3),x(e._getDefaultTextForState(e.state))}}function lt(i,n){if(i&1&&_(0,at,2,1,"span",7)(1,st,4,2),i&2){let e,t=d();v((e=t.state)==="number"?0:1)}}function pt(i,n){i&1&&(p(0,"div",4),S(1,9),c()),i&2&&(o(),u("ngTemplateOutlet",n.template))}function dt(i,n){if(i&1&&(p(0,"div",4),y(1),c()),i&2){let e=d();o(),x(e.label)}}function ct(i,n){if(i&1&&(p(0,"div",5),y(1),c()),i&2){let e=d();o(),x(e._intl.optionalLabel)}}function mt(i,n){if(i&1&&(p(0,"div",6),y(1),c()),i&2){let e=d();o(),x(e.errorMessage)}}var We=["*"];function ht(i,n){}function ut(i,n){if(i&1&&(A(0),Q(1,ht,0,0,"ng-template",0)),i&2){let e=d();o(),u("cdkPortalOutlet",e._portal)}}var ft=["animatedContainer"],Ze=i=>({step:i});function _t(i,n){i&1&&A(0)}function vt(i,n){i&1&&ie(0,"div",8)}function gt(i,n){if(i&1&&(S(0,7),_(1,vt,1,0,"div",8)),i&2){let e=n.$implicit,t=n.$index,r=n.$count;d(2);let a=ae(4);u("ngTemplateOutlet",a)("ngTemplateOutletContext",oe(3,Ze,e)),o(),v(t!==r-1?1:-1)}}function bt(i,n){if(i&1&&(p(0,"div",9,1),S(2,10),c()),i&2){let e=n.$implicit,t=n.$index,r=d(2);q("mat-horizontal-stepper-content-"+r._getAnimationDirection(t)),u("id",r._getStepContentId(t)),L("aria-labelledby",r._getStepLabelId(t))("inert",r.selectedIndex===t?null:""),o(2),u("ngTemplateOutlet",e.content)}}function yt(i,n){if(i&1&&(p(0,"div",2)(1,"div",4),V(2,gt,2,5,null,null,B),c(),p(4,"div",5),V(5,bt,3,6,"div",6,B),c()()),i&2){let e=d();o(2),$(e.steps),o(3),$(e.steps)}}function xt(i,n){if(i&1&&(p(0,"div",11),S(1,7),p(2,"div",12,1)(4,"div",13)(5,"div",14),S(6,10),c()()()()),i&2){let e=n.$implicit,t=n.$index,r=n.$index,a=n.$count,s=d(2),J=ae(4);o(),u("ngTemplateOutlet",J)("ngTemplateOutletContext",oe(10,Ze,e)),o(),M("mat-stepper-vertical-line",r!==a-1)("mat-vertical-content-container-active",s.selectedIndex===t),L("inert",s.selectedIndex===t?null:""),o(2),u("id",s._getStepContentId(t)),L("aria-labelledby",s._getStepLabelId(t)),o(2),u("ngTemplateOutlet",e.content)}}function Ct(i,n){if(i&1&&(p(0,"div",3),V(1,xt,7,12,"div",11,B),c()),i&2){let e=d();o(),$(e.steps)}}function St(i,n){if(i&1){let e=Se();p(0,"mat-step-header",15),re("click",function(){let r=X(e).step;return ee(r.select())})("keydown",function(r){X(e);let a=d();return ee(a._onKeydown(r))}),c()}if(i&2){let e=n.step,t=d();M("mat-horizontal-stepper-header",t.orientation==="horizontal")("mat-vertical-stepper-header",t.orientation==="vertical"),u("tabIndex",t._getFocusIndex()===e.index()?0:-1)("id",t._getStepLabelId(e.index()))("index",e.index())("state",e.indicatorType())("label",e.stepLabel||e.label)("selected",e.isSelected())("active",e.isNavigable())("optional",e.optional)("errorMessage",e.errorMessage)("iconOverrides",t._iconOverrides)("disableRipple",t.disableRipple||!e.isNavigable())("color",e.color||t.color),L("role",t.orientation==="horizontal"?"tab":"button")("aria-posinset",t.orientation==="horizontal"?e.index()+1:null)("aria-setsize",t.orientation==="horizontal"?t.steps.length:null)("aria-selected",t.orientation==="horizontal"?e.isSelected():null)("aria-current",t.orientation==="vertical"&&e.isSelected()?"step":null)("aria-disabled",t.orientation==="vertical"&&e.isSelected()?"true":null)("aria-expanded",t.orientation==="vertical"?e.isSelected():null)("aria-controls",t._getStepContentId(e.index()))("aria-label",e.ariaLabel||null)("aria-labelledby",!e.ariaLabel&&e.ariaLabelledby?e.ariaLabelledby:null)("aria-disabled",e.isNavigable()?null:!0)}}var de=(()=>{class i extends pe{static \u0275fac=(()=>{let e;return function(r){return(e||(e=te(i)))(r||i)}})();static \u0275dir=b({type:i,selectors:[["","matStepLabel",""]],features:[R]})}return i})(),Mt=(()=>{class i{changes=new P;optionalLabel="Optional";completedLabel="Completed";editableLabel="Editable";static \u0275fac=function(t){return new(t||i)};static \u0275prov=_e({token:i,factory:i.\u0275fac,providedIn:"root"})}return i})(),ce=(()=>{class i extends le{_intl=l(Mt);_focusMonitor=l(Te);_intlSubscription;state;label;errorMessage;iconOverrides;index;selected;active;optional;disableRipple;color;constructor(){super();let e=l(Oe);e.load($e),e.load(Re);let t=l(U);this._intlSubscription=this._intl.changes.subscribe(()=>t.markForCheck())}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0)}ngOnDestroy(){this._intlSubscription.unsubscribe(),this._focusMonitor.stopMonitoring(this._elementRef)}focus(e,t){e?this._focusMonitor.focusVia(this._elementRef,e,t):this._elementRef.nativeElement.focus(t)}_stringLabel(){return this.label instanceof de?null:this.label}_templateLabel(){return this.label instanceof de?this.label:null}_getHostElement(){return this._elementRef.nativeElement}_getDefaultTextForState(e){return e=="number"?`${this.index+1}`:e=="edit"?"create":e=="error"?"warning":e}_hasEmptyLabel(){return!this._stringLabel()&&!this._templateLabel()&&!this._hasOptionalLabel()&&!this._hasErrorLabel()}_hasOptionalLabel(){return this.optional&&this.state!=="error"}_hasErrorLabel(){return this.state==="error"}static \u0275fac=function(t){return new(t||i)};static \u0275cmp=k({type:i,selectors:[["mat-step-header"]],hostAttrs:["role","",1,"mat-step-header"],hostVars:4,hostBindings:function(t,r){t&2&&(q("mat-"+(r.color||"primary")),M("mat-step-header-empty-label",r._hasEmptyLabel()))},inputs:{state:"state",label:"label",errorMessage:"errorMessage",iconOverrides:"iconOverrides",index:"index",selected:"selected",active:"active",optional:"optional",disableRipple:"disableRipple",color:"color"},features:[R],decls:10,vars:17,consts:[["matRipple","",1,"mat-step-header-ripple","mat-focus-indicator",3,"matRippleTrigger","matRippleDisabled"],[1,"mat-step-icon-content"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"mat-step-label"],[1,"mat-step-text-label"],[1,"mat-step-optional"],[1,"mat-step-sub-label-error"],["aria-hidden","true"],[1,"cdk-visually-hidden"],[3,"ngTemplateOutlet"]],template:function(t,r){if(t&1&&(ie(0,"div",0),p(1,"div")(2,"div",1),_(3,rt,1,6,"ng-container",2)(4,lt,2,1),c()(),p(5,"div",3),_(6,pt,2,1,"div",4)(7,dt,2,1,"div",4),_(8,ct,2,1,"div",5),_(9,mt,2,1,"div",6),c()),t&2){let a;u("matRippleTrigger",r._getHostElement())("matRippleDisabled",r.disableRipple),o(),q(De("mat-step-icon-state-",r.state," mat-step-icon")),M("mat-step-icon-selected",r.selected),o(2),v(r.iconOverrides&&r.iconOverrides[r.state]?3:4),o(2),M("mat-step-label-active",r.active)("mat-step-label-selected",r.selected)("mat-step-label-error",r.state=="error"),o(),v((a=r._templateLabel())?6:r._stringLabel()?7:-1,a),o(2),v(r._hasOptionalLabel()?8:-1),o(),v(r._hasErrorLabel()?9:-1)}},dependencies:[je,se,Ge],styles:[`.mat-step-header{overflow:hidden;outline:none;cursor:pointer;position:relative;box-sizing:content-box;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-step-header:focus .mat-focus-indicator::before{content:""}.mat-step-header:hover[aria-disabled=true]{cursor:default}.mat-step-header:hover:not([aria-disabled]),.mat-step-header:hover[aria-disabled=false]{background-color:var(--mat-stepper-header-hover-state-layer-color, color-mix(in srgb, var(--mat-sys-on-surface) calc(var(--mat-sys-hover-state-layer-opacity) * 100%), transparent));border-radius:var(--mat-stepper-header-hover-state-layer-shape, var(--mat-sys-corner-medium))}.mat-step-header.cdk-keyboard-focused,.mat-step-header.cdk-program-focused{background-color:var(--mat-stepper-header-focus-state-layer-color, color-mix(in srgb, var(--mat-sys-on-surface) calc(var(--mat-sys-focus-state-layer-opacity) * 100%), transparent));border-radius:var(--mat-stepper-header-focus-state-layer-shape, var(--mat-sys-corner-medium))}@media(hover: none){.mat-step-header:hover{background:none}}@media(forced-colors: active){.mat-step-header{outline:solid 1px}.mat-step-header[aria-selected=true] .mat-step-label{text-decoration:underline}.mat-step-header[aria-disabled=true]{outline-color:GrayText}.mat-step-header[aria-disabled=true] .mat-step-label,.mat-step-header[aria-disabled=true] .mat-step-icon,.mat-step-header[aria-disabled=true] .mat-step-optional{color:GrayText}}.mat-step-optional{font-size:12px;color:var(--mat-stepper-header-optional-label-text-color, var(--mat-sys-on-surface-variant))}.mat-step-sub-label-error{font-size:12px;font-weight:normal}.mat-step-icon{border-radius:50%;height:24px;width:24px;flex-shrink:0;position:relative;color:var(--mat-stepper-header-icon-foreground-color, var(--mat-sys-surface));background-color:var(--mat-stepper-header-icon-background-color, var(--mat-sys-on-surface-variant))}.mat-step-icon-content{position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);display:flex}.mat-step-icon .mat-icon{font-size:16px;height:16px;width:16px}.mat-step-icon-state-error{background-color:var(--mat-stepper-header-error-state-icon-background-color, transparent);color:var(--mat-stepper-header-error-state-icon-foreground-color, var(--mat-sys-error))}.mat-step-icon-state-error .mat-icon{font-size:24px;height:24px;width:24px}.mat-step-label{display:inline-block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:50px;vertical-align:middle;font-family:var(--mat-stepper-header-label-text-font, var(--mat-sys-title-small-font));font-size:var(--mat-stepper-header-label-text-size, var(--mat-sys-title-small-size));font-weight:var(--mat-stepper-header-label-text-weight, var(--mat-sys-title-small-weight));color:var(--mat-stepper-header-label-text-color, var(--mat-sys-on-surface-variant))}.mat-step-label.mat-step-label-active{color:var(--mat-stepper-header-selected-state-label-text-color, var(--mat-sys-on-surface-variant))}.mat-step-label.mat-step-label-error{color:var(--mat-stepper-header-error-state-label-text-color, var(--mat-sys-error));font-size:var(--mat-stepper-header-error-state-label-text-size, var(--mat-sys-title-small-size))}.mat-step-label.mat-step-label-selected{font-size:var(--mat-stepper-header-selected-state-label-text-size, var(--mat-sys-title-small-size));font-weight:var(--mat-stepper-header-selected-state-label-text-weight, var(--mat-sys-title-small-weight))}.mat-step-header-empty-label .mat-step-label{min-width:0}.mat-step-text-label{text-overflow:ellipsis;overflow:hidden}.mat-step-header .mat-step-header-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-step-icon-selected{background-color:var(--mat-stepper-header-selected-state-icon-background-color, var(--mat-sys-primary));color:var(--mat-stepper-header-selected-state-icon-foreground-color, var(--mat-sys-on-primary))}.mat-step-icon-state-done{background-color:var(--mat-stepper-header-done-state-icon-background-color, var(--mat-sys-primary));color:var(--mat-stepper-header-done-state-icon-foreground-color, var(--mat-sys-on-primary))}.mat-step-icon-state-edit{background-color:var(--mat-stepper-header-edit-state-icon-background-color, var(--mat-sys-primary));color:var(--mat-stepper-header-edit-state-icon-foreground-color, var(--mat-sys-on-primary))}
1
+ import{a as Ge,b as Ue}from"./chunk-RGUHJFWI.js";import{a as W}from"./chunk-TFHB3OE5.js";import{a as qe}from"./chunk-FQLH72J4.js";import{d as je}from"./chunk-HD5RAZOS.js";import{b as $e}from"./chunk-J7VARP7L.js";import{C as Pe,D as K,H as Ne,N as Qe,P as Be,Q as Ve,d as we,f as ze,j as Te,l as Oe,m as Re,v as Le,w as Fe,y as Ae}from"./chunk-KZWEUXCA.js";import{f as He}from"./chunk-NZPISKQV.js";import{y as se}from"./chunk-OOGQ5PSL.js";import{$b as $,Bb as R,Bc as ae,Bd as z,Cb as Q,Cc as Me,Cd as ke,Db as Ce,Dc as M,Ea as be,Fa as te,Fc as q,Gc as y,Ha as T,Hc as x,Ia as O,Pb as L,Rc as De,T as C,Tc as ne,U as fe,V as g,Vb as _,Vc as oe,Xb as v,Xc as Ie,Zb as B,_b as V,a as me,ac as u,ba as _e,bc as p,ca as N,cc as c,d as P,dc as ie,ea as ve,eb as o,ga as l,gd as Ee,jc as S,kc as Se,kd as G,l as he,lb as E,na as X,oa as ee,ob as ye,pc as re,q as ue,rb as xe,rc as d,sc as F,tc as A,uc as w,va as I,vc as j,wa as ge,wb as k,wc as m,wd as U,xb as H,xc as h,yb as b,za as f}from"./chunk-YU6N3IVV.js";var Xe=["*"];function et(i,n){i&1&&A(0)}var le=(()=>{class i{_elementRef=l(T);constructor(){}focus(){this._elementRef.nativeElement.focus()}static \u0275fac=function(t){return new(t||i)};static \u0275dir=b({type:i,selectors:[["","cdkStepHeader",""]],hostAttrs:["role","tab"]})}return i})(),pe=(()=>{class i{template=l(E);constructor(){}static \u0275fac=function(t){return new(t||i)};static \u0275dir=b({type:i,selectors:[["","cdkStepLabel",""]]})}return i})();var D={NUMBER:"number",EDIT:"edit",DONE:"done",ERROR:"error"},tt=new ve("STEPPER_GLOBAL_OPTIONS"),Z=(()=>{class i{_stepperOptions;_stepper=l(Y);_displayDefaultIndicatorType;stepLabel;_childForms;content;stepControl;get interacted(){return this._interacted()}set interacted(e){this._interacted.set(e)}_interacted=f(!1);interactedStream=new I;label;errorMessage;ariaLabel;ariaLabelledby;get state(){return this._state()}set state(e){this._state.set(e)}_state=f(void 0);get editable(){return this._editable()}set editable(e){this._editable.set(e)}_editable=f(!0);optional=!1;get completed(){let e=this._completedOverride(),t=this._interacted();return e??(t&&(!this.stepControl||this.stepControl.valid))}set completed(e){this._completedOverride.set(e)}_completedOverride=f(null);index=f(-1);isSelected=G(()=>this._stepper.selectedIndex===this.index());indicatorType=G(()=>{let e=this.isSelected(),t=this.completed,r=this._state()??D.NUMBER,a=this._editable();return this._showError()&&this.hasError&&!e?D.ERROR:this._displayDefaultIndicatorType?!t||e?D.NUMBER:a?D.EDIT:D.DONE:t&&!e?D.DONE:t&&e?r:a&&e?D.EDIT:r});isNavigable=G(()=>{let e=this.isSelected();return this.completed||e||!this._stepper.linear});get hasError(){let e=this._customError();return e??this._getDefaultError()}set hasError(e){this._customError.set(e)}_customError=f(null);_getDefaultError(){return this.interacted&&!!this.stepControl?.invalid}constructor(){let e=l(tt,{optional:!0});this._stepperOptions=e||{},this._displayDefaultIndicatorType=this._stepperOptions.displayDefaultIndicatorType!==!1}select(){this._stepper.selected=this}reset(){this._interacted.set(!1),this._completedOverride()!=null&&this._completedOverride.set(!1),this._customError()!=null&&this._customError.set(!1),this.stepControl&&(this._childForms?.forEach(e=>e.resetForm?.()),this.stepControl.reset())}ngOnChanges(){this._stepper._stateChanged()}_markAsInteracted(){this._interacted()||(this._interacted.set(!0),this.interactedStream.emit(this))}_showError(){return this._stepperOptions.showError??this._customError()!=null}static \u0275fac=function(t){return new(t||i)};static \u0275cmp=k({type:i,selectors:[["cdk-step"]],contentQueries:function(t,r,a){if(t&1&&w(a,pe,5)(a,He,5),t&2){let s;m(s=h())&&(r.stepLabel=s.first),m(s=h())&&(r._childForms=s)}},viewQuery:function(t,r){if(t&1&&j(E,7),t&2){let a;m(a=h())&&(r.content=a.first)}},inputs:{stepControl:"stepControl",label:"label",errorMessage:"errorMessage",ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"],state:"state",editable:[2,"editable","editable",z],optional:[2,"optional","optional",z],completed:[2,"completed","completed",z],hasError:[2,"hasError","hasError",z]},outputs:{interactedStream:"interacted"},exportAs:["cdkStep"],features:[be],ngContentSelectors:Xe,decls:1,vars:0,template:function(t,r){t&1&&(F(),Ce(0,et,1,0,"ng-template"))},encapsulation:2,changeDetection:0})}return i})(),Y=(()=>{class i{_dir=l(Pe,{optional:!0});_changeDetectorRef=l(U);_elementRef=l(T);_destroyed=new P;_keyManager;_steps;steps=new O;_stepHeader;_sortedHeaders=new O;linear=!1;get selectedIndex(){return this._selectedIndex()}set selectedIndex(e){this._steps?(this._isValidIndex(e),this.selectedIndex!==e&&(this.selected?._markAsInteracted(),!this._anyControlsInvalidOrPending(e)&&(e>=this.selectedIndex||this.steps.toArray()[e].editable)&&this._updateSelectedItemIndex(e))):this._selectedIndex.set(e)}_selectedIndex=f(0);get selected(){return this.steps?this.steps.toArray()[this.selectedIndex]:void 0}set selected(e){this.selectedIndex=e&&this.steps?this.steps.toArray().indexOf(e):-1}selectionChange=new I;selectedIndexChange=new I;_groupId=l(Le).getId("cdk-stepper-");get orientation(){return this._orientation}set orientation(e){this._orientation=e,this._keyManager&&this._keyManager.withVerticalOrientation(e==="vertical")}_orientation="horizontal";constructor(){}ngAfterContentInit(){this._steps.changes.pipe(C(this._steps),g(this._destroyed)).subscribe(e=>{this.steps.reset(e.filter(t=>t._stepper===this)),this.steps.forEach((t,r)=>t.index.set(r)),this.steps.notifyOnChanges()})}ngAfterViewInit(){if(this._stepHeader.changes.pipe(C(this._stepHeader),g(this._destroyed)).subscribe(e=>{this._sortedHeaders.reset(e.toArray().sort((t,r)=>t._elementRef.nativeElement.compareDocumentPosition(r._elementRef.nativeElement)&Node.DOCUMENT_POSITION_FOLLOWING?-1:1)),this._sortedHeaders.notifyOnChanges()}),this._keyManager=new Ae(this._sortedHeaders).withWrap().withHomeAndEnd().withVerticalOrientation(this._orientation==="vertical"),this._keyManager.updateActiveItem(this.selectedIndex),(this._dir?this._dir.change:he()).pipe(C(this._layoutDirection()),g(this._destroyed)).subscribe(e=>this._keyManager?.withHorizontalOrientation(e)),this._keyManager.updateActiveItem(this.selectedIndex),this.steps.changes.subscribe(()=>{this.selected||this._selectedIndex.set(Math.max(this.selectedIndex-1,0))}),this._isValidIndex(this.selectedIndex)||this._selectedIndex.set(0),this.linear&&this.selectedIndex>0){let e=this.steps.toArray().slice(0,this._selectedIndex());for(let t of e)t._markAsInteracted()}}ngOnDestroy(){this._keyManager?.destroy(),this.steps.destroy(),this._sortedHeaders.destroy(),this._destroyed.next(),this._destroyed.complete()}next(){this.selectedIndex=Math.min(this._selectedIndex()+1,this.steps.length-1)}previous(){this.selectedIndex=Math.max(this._selectedIndex()-1,0)}reset(){this._updateSelectedItemIndex(0),this.steps.forEach(e=>e.reset()),this._stateChanged()}_getStepLabelId(e){return`${this._groupId}-label-${e}`}_getStepContentId(e){return`${this._groupId}-content-${e}`}_stateChanged(){this._changeDetectorRef.markForCheck()}_getAnimationDirection(e){let t=e-this._selectedIndex();return t<0?this._layoutDirection()==="rtl"?"next":"previous":t>0?this._layoutDirection()==="rtl"?"previous":"next":"current"}_getFocusIndex(){return this._keyManager?this._keyManager.activeItemIndex:this._selectedIndex()}_updateSelectedItemIndex(e){let t=this.steps.toArray(),r=this._selectedIndex();this.selectionChange.emit({selectedIndex:e,previouslySelectedIndex:r,selectedStep:t[e],previouslySelectedStep:t[r]}),this._keyManager&&(this._containsFocus()?this._keyManager.setActiveItem(e):this._keyManager.updateActiveItem(e)),this._selectedIndex.set(e),this.selectedIndexChange.emit(e),this._stateChanged()}_onKeydown(e){let t=Fe(e),r=e.keyCode,a=this._keyManager;a?.activeItemIndex!=null&&!t&&(r===32||r===13)?(this.selectedIndex=a.activeItemIndex,e.preventDefault()):a?.setFocusOrigin("keyboard").onKeydown(e)}_anyControlsInvalidOrPending(e){return this.linear&&e>=0?this.steps.toArray().slice(0,e).some(t=>{let r=t.stepControl;return(r?r.invalid||r.pending||!t.interacted:!t.completed)&&!t.optional&&!t._completedOverride()}):!1}_layoutDirection(){return this._dir&&this._dir.value==="rtl"?"rtl":"ltr"}_containsFocus(){let e=this._elementRef.nativeElement,t=we();return e===t||e.contains(t)}_isValidIndex(e){return e>-1&&(!this.steps||e<this.steps.length)}static \u0275fac=function(t){return new(t||i)};static \u0275dir=b({type:i,selectors:[["","cdkStepper",""]],contentQueries:function(t,r,a){if(t&1&&w(a,Z,5)(a,le,5),t&2){let s;m(s=h())&&(r._steps=s),m(s=h())&&(r._stepHeader=s)}},inputs:{linear:[2,"linear","linear",z],selectedIndex:[2,"selectedIndex","selectedIndex",ke],selected:"selected",orientation:"orientation"},outputs:{selectionChange:"selectionChange",selectedIndexChange:"selectedIndexChange"},exportAs:["cdkStepper"]})}return i})();var Ke=(()=>{class i{static \u0275fac=function(t){return new(t||i)};static \u0275mod=H({type:i});static \u0275inj=N({imports:[K]})}return i})();var it=(i,n,e)=>({index:i,active:n,optional:e});function rt(i,n){if(i&1&&S(0,2),i&2){let e=d();u("ngTemplateOutlet",e.iconOverrides[e.state])("ngTemplateOutletContext",Ie(2,it,e.index,e.active,e.optional))}}function at(i,n){if(i&1&&(p(0,"span",7),y(1),c()),i&2){let e=d(2);o(),x(e._getDefaultTextForState(e.state))}}function nt(i,n){if(i&1&&(p(0,"span",8),y(1),c()),i&2){let e=d(3);o(),x(e._intl.completedLabel)}}function ot(i,n){if(i&1&&(p(0,"span",8),y(1),c()),i&2){let e=d(3);o(),x(e._intl.editableLabel)}}function st(i,n){if(i&1&&(_(0,nt,2,1,"span",8)(1,ot,2,1,"span",8),p(2,"mat-icon",7),y(3),c()),i&2){let e=d(2);v(e.state==="done"?0:e.state==="edit"?1:-1),o(3),x(e._getDefaultTextForState(e.state))}}function lt(i,n){if(i&1&&_(0,at,2,1,"span",7)(1,st,4,2),i&2){let e,t=d();v((e=t.state)==="number"?0:1)}}function pt(i,n){i&1&&(p(0,"div",4),S(1,9),c()),i&2&&(o(),u("ngTemplateOutlet",n.template))}function dt(i,n){if(i&1&&(p(0,"div",4),y(1),c()),i&2){let e=d();o(),x(e.label)}}function ct(i,n){if(i&1&&(p(0,"div",5),y(1),c()),i&2){let e=d();o(),x(e._intl.optionalLabel)}}function mt(i,n){if(i&1&&(p(0,"div",6),y(1),c()),i&2){let e=d();o(),x(e.errorMessage)}}var We=["*"];function ht(i,n){}function ut(i,n){if(i&1&&(A(0),Q(1,ht,0,0,"ng-template",0)),i&2){let e=d();o(),u("cdkPortalOutlet",e._portal)}}var ft=["animatedContainer"],Ze=i=>({step:i});function _t(i,n){i&1&&A(0)}function vt(i,n){i&1&&ie(0,"div",8)}function gt(i,n){if(i&1&&(S(0,7),_(1,vt,1,0,"div",8)),i&2){let e=n.$implicit,t=n.$index,r=n.$count;d(2);let a=ae(4);u("ngTemplateOutlet",a)("ngTemplateOutletContext",oe(3,Ze,e)),o(),v(t!==r-1?1:-1)}}function bt(i,n){if(i&1&&(p(0,"div",9,1),S(2,10),c()),i&2){let e=n.$implicit,t=n.$index,r=d(2);q("mat-horizontal-stepper-content-"+r._getAnimationDirection(t)),u("id",r._getStepContentId(t)),L("aria-labelledby",r._getStepLabelId(t))("inert",r.selectedIndex===t?null:""),o(2),u("ngTemplateOutlet",e.content)}}function yt(i,n){if(i&1&&(p(0,"div",2)(1,"div",4),V(2,gt,2,5,null,null,B),c(),p(4,"div",5),V(5,bt,3,6,"div",6,B),c()()),i&2){let e=d();o(2),$(e.steps),o(3),$(e.steps)}}function xt(i,n){if(i&1&&(p(0,"div",11),S(1,7),p(2,"div",12,1)(4,"div",13)(5,"div",14),S(6,10),c()()()()),i&2){let e=n.$implicit,t=n.$index,r=n.$index,a=n.$count,s=d(2),J=ae(4);o(),u("ngTemplateOutlet",J)("ngTemplateOutletContext",oe(10,Ze,e)),o(),M("mat-stepper-vertical-line",r!==a-1)("mat-vertical-content-container-active",s.selectedIndex===t),L("inert",s.selectedIndex===t?null:""),o(2),u("id",s._getStepContentId(t)),L("aria-labelledby",s._getStepLabelId(t)),o(2),u("ngTemplateOutlet",e.content)}}function Ct(i,n){if(i&1&&(p(0,"div",3),V(1,xt,7,12,"div",11,B),c()),i&2){let e=d();o(),$(e.steps)}}function St(i,n){if(i&1){let e=Se();p(0,"mat-step-header",15),re("click",function(){let r=X(e).step;return ee(r.select())})("keydown",function(r){X(e);let a=d();return ee(a._onKeydown(r))}),c()}if(i&2){let e=n.step,t=d();M("mat-horizontal-stepper-header",t.orientation==="horizontal")("mat-vertical-stepper-header",t.orientation==="vertical"),u("tabIndex",t._getFocusIndex()===e.index()?0:-1)("id",t._getStepLabelId(e.index()))("index",e.index())("state",e.indicatorType())("label",e.stepLabel||e.label)("selected",e.isSelected())("active",e.isNavigable())("optional",e.optional)("errorMessage",e.errorMessage)("iconOverrides",t._iconOverrides)("disableRipple",t.disableRipple||!e.isNavigable())("color",e.color||t.color),L("role",t.orientation==="horizontal"?"tab":"button")("aria-posinset",t.orientation==="horizontal"?e.index()+1:null)("aria-setsize",t.orientation==="horizontal"?t.steps.length:null)("aria-selected",t.orientation==="horizontal"?e.isSelected():null)("aria-current",t.orientation==="vertical"&&e.isSelected()?"step":null)("aria-disabled",t.orientation==="vertical"&&e.isSelected()?"true":null)("aria-expanded",t.orientation==="vertical"?e.isSelected():null)("aria-controls",t._getStepContentId(e.index()))("aria-label",e.ariaLabel||null)("aria-labelledby",!e.ariaLabel&&e.ariaLabelledby?e.ariaLabelledby:null)("aria-disabled",e.isNavigable()?null:!0)}}var de=(()=>{class i extends pe{static \u0275fac=(()=>{let e;return function(r){return(e||(e=te(i)))(r||i)}})();static \u0275dir=b({type:i,selectors:[["","matStepLabel",""]],features:[R]})}return i})(),Mt=(()=>{class i{changes=new P;optionalLabel="Optional";completedLabel="Completed";editableLabel="Editable";static \u0275fac=function(t){return new(t||i)};static \u0275prov=_e({token:i,factory:i.\u0275fac,providedIn:"root"})}return i})(),ce=(()=>{class i extends le{_intl=l(Mt);_focusMonitor=l(Te);_intlSubscription;state;label;errorMessage;iconOverrides;index;selected;active;optional;disableRipple;color;constructor(){super();let e=l(Oe);e.load($e),e.load(Re);let t=l(U);this._intlSubscription=this._intl.changes.subscribe(()=>t.markForCheck())}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0)}ngOnDestroy(){this._intlSubscription.unsubscribe(),this._focusMonitor.stopMonitoring(this._elementRef)}focus(e,t){e?this._focusMonitor.focusVia(this._elementRef,e,t):this._elementRef.nativeElement.focus(t)}_stringLabel(){return this.label instanceof de?null:this.label}_templateLabel(){return this.label instanceof de?this.label:null}_getHostElement(){return this._elementRef.nativeElement}_getDefaultTextForState(e){return e=="number"?`${this.index+1}`:e=="edit"?"create":e=="error"?"warning":e}_hasEmptyLabel(){return!this._stringLabel()&&!this._templateLabel()&&!this._hasOptionalLabel()&&!this._hasErrorLabel()}_hasOptionalLabel(){return this.optional&&this.state!=="error"}_hasErrorLabel(){return this.state==="error"}static \u0275fac=function(t){return new(t||i)};static \u0275cmp=k({type:i,selectors:[["mat-step-header"]],hostAttrs:["role","",1,"mat-step-header"],hostVars:4,hostBindings:function(t,r){t&2&&(q("mat-"+(r.color||"primary")),M("mat-step-header-empty-label",r._hasEmptyLabel()))},inputs:{state:"state",label:"label",errorMessage:"errorMessage",iconOverrides:"iconOverrides",index:"index",selected:"selected",active:"active",optional:"optional",disableRipple:"disableRipple",color:"color"},features:[R],decls:10,vars:17,consts:[["matRipple","",1,"mat-step-header-ripple","mat-focus-indicator",3,"matRippleTrigger","matRippleDisabled"],[1,"mat-step-icon-content"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"mat-step-label"],[1,"mat-step-text-label"],[1,"mat-step-optional"],[1,"mat-step-sub-label-error"],["aria-hidden","true"],[1,"cdk-visually-hidden"],[3,"ngTemplateOutlet"]],template:function(t,r){if(t&1&&(ie(0,"div",0),p(1,"div")(2,"div",1),_(3,rt,1,6,"ng-container",2)(4,lt,2,1),c()(),p(5,"div",3),_(6,pt,2,1,"div",4)(7,dt,2,1,"div",4),_(8,ct,2,1,"div",5),_(9,mt,2,1,"div",6),c()),t&2){let a;u("matRippleTrigger",r._getHostElement())("matRippleDisabled",r.disableRipple),o(),q(De("mat-step-icon-state-",r.state," mat-step-icon")),M("mat-step-icon-selected",r.selected),o(2),v(r.iconOverrides&&r.iconOverrides[r.state]?3:4),o(2),M("mat-step-label-active",r.active)("mat-step-label-selected",r.selected)("mat-step-label-error",r.state=="error"),o(),v((a=r._templateLabel())?6:r._stringLabel()?7:-1,a),o(2),v(r._hasOptionalLabel()?8:-1),o(),v(r._hasErrorLabel()?9:-1)}},dependencies:[je,se,Ge],styles:[`.mat-step-header{overflow:hidden;outline:none;cursor:pointer;position:relative;box-sizing:content-box;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-step-header:focus .mat-focus-indicator::before{content:""}.mat-step-header:hover[aria-disabled=true]{cursor:default}.mat-step-header:hover:not([aria-disabled]),.mat-step-header:hover[aria-disabled=false]{background-color:var(--mat-stepper-header-hover-state-layer-color, color-mix(in srgb, var(--mat-sys-on-surface) calc(var(--mat-sys-hover-state-layer-opacity) * 100%), transparent));border-radius:var(--mat-stepper-header-hover-state-layer-shape, var(--mat-sys-corner-medium))}.mat-step-header.cdk-keyboard-focused,.mat-step-header.cdk-program-focused{background-color:var(--mat-stepper-header-focus-state-layer-color, color-mix(in srgb, var(--mat-sys-on-surface) calc(var(--mat-sys-focus-state-layer-opacity) * 100%), transparent));border-radius:var(--mat-stepper-header-focus-state-layer-shape, var(--mat-sys-corner-medium))}@media(hover: none){.mat-step-header:hover{background:none}}@media(forced-colors: active){.mat-step-header{outline:solid 1px}.mat-step-header[aria-selected=true] .mat-step-label{text-decoration:underline}.mat-step-header[aria-disabled=true]{outline-color:GrayText}.mat-step-header[aria-disabled=true] .mat-step-label,.mat-step-header[aria-disabled=true] .mat-step-icon,.mat-step-header[aria-disabled=true] .mat-step-optional{color:GrayText}}.mat-step-optional{font-size:12px;color:var(--mat-stepper-header-optional-label-text-color, var(--mat-sys-on-surface-variant))}.mat-step-sub-label-error{font-size:12px;font-weight:normal}.mat-step-icon{border-radius:50%;height:24px;width:24px;flex-shrink:0;position:relative;color:var(--mat-stepper-header-icon-foreground-color, var(--mat-sys-surface));background-color:var(--mat-stepper-header-icon-background-color, var(--mat-sys-on-surface-variant))}.mat-step-icon-content{position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);display:flex}.mat-step-icon .mat-icon{font-size:16px;height:16px;width:16px}.mat-step-icon-state-error{background-color:var(--mat-stepper-header-error-state-icon-background-color, transparent);color:var(--mat-stepper-header-error-state-icon-foreground-color, var(--mat-sys-error))}.mat-step-icon-state-error .mat-icon{font-size:24px;height:24px;width:24px}.mat-step-label{display:inline-block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:50px;vertical-align:middle;font-family:var(--mat-stepper-header-label-text-font, var(--mat-sys-title-small-font));font-size:var(--mat-stepper-header-label-text-size, var(--mat-sys-title-small-size));font-weight:var(--mat-stepper-header-label-text-weight, var(--mat-sys-title-small-weight));color:var(--mat-stepper-header-label-text-color, var(--mat-sys-on-surface-variant))}.mat-step-label.mat-step-label-active{color:var(--mat-stepper-header-selected-state-label-text-color, var(--mat-sys-on-surface-variant))}.mat-step-label.mat-step-label-error{color:var(--mat-stepper-header-error-state-label-text-color, var(--mat-sys-error));font-size:var(--mat-stepper-header-error-state-label-text-size, var(--mat-sys-title-small-size))}.mat-step-label.mat-step-label-selected{font-size:var(--mat-stepper-header-selected-state-label-text-size, var(--mat-sys-title-small-size));font-weight:var(--mat-stepper-header-selected-state-label-text-weight, var(--mat-sys-title-small-weight))}.mat-step-header-empty-label .mat-step-label{min-width:0}.mat-step-text-label{text-overflow:ellipsis;overflow:hidden}.mat-step-header .mat-step-header-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-step-icon-selected{background-color:var(--mat-stepper-header-selected-state-icon-background-color, var(--mat-sys-primary));color:var(--mat-stepper-header-selected-state-icon-foreground-color, var(--mat-sys-on-primary))}.mat-step-icon-state-done{background-color:var(--mat-stepper-header-done-state-icon-background-color, var(--mat-sys-primary));color:var(--mat-stepper-header-done-state-icon-foreground-color, var(--mat-sys-on-primary))}.mat-step-icon-state-edit{background-color:var(--mat-stepper-header-edit-state-icon-background-color, var(--mat-sys-primary));color:var(--mat-stepper-header-edit-state-icon-foreground-color, var(--mat-sys-on-primary))}
2
2
  `],encapsulation:2,changeDetection:0})}return i})(),Dt=(()=>{class i{templateRef=l(E);name;constructor(){}static \u0275fac=function(t){return new(t||i)};static \u0275dir=b({type:i,selectors:[["ng-template","matStepperIcon",""]],inputs:{name:[0,"matStepperIcon","name"]}})}return i})(),It=(()=>{class i{_template=l(E);constructor(){}static \u0275fac=function(t){return new(t||i)};static \u0275dir=b({type:i,selectors:[["ng-template","matStepContent",""]]})}return i})(),Et=(()=>{class i extends Z{_errorStateMatcher=l(W,{skipSelf:!0});_viewContainerRef=l(xe);_isSelected=me.EMPTY;stepLabel=void 0;color;_lazyContent;_portal;ngAfterContentInit(){this._isSelected=this._stepper.steps.changes.pipe(fe(()=>this._stepper.selectionChange.pipe(ue(e=>e.selectedStep===this),C(this._stepper.selected===this)))).subscribe(e=>{e&&this._lazyContent&&!this._portal&&(this._portal=new Qe(this._lazyContent._template,this._viewContainerRef))})}ngOnDestroy(){this._isSelected.unsubscribe()}isErrorState(e,t){let r=this._errorStateMatcher.isErrorState(e,t),a=!!(e&&e.invalid&&this.interacted);return r||a}static \u0275fac=(()=>{let e;return function(r){return(e||(e=te(i)))(r||i)}})();static \u0275cmp=k({type:i,selectors:[["mat-step"]],contentQueries:function(t,r,a){if(t&1&&w(a,de,5)(a,It,5),t&2){let s;m(s=h())&&(r.stepLabel=s.first),m(s=h())&&(r._lazyContent=s.first)}},hostAttrs:["hidden",""],inputs:{color:"color"},exportAs:["matStep"],features:[ne([{provide:W,useExisting:i},{provide:Z,useExisting:i}]),R],ngContentSelectors:We,decls:1,vars:0,consts:[[3,"cdkPortalOutlet"]],template:function(t,r){t&1&&(F(),Q(0,ut,2,1,"ng-template"))},dependencies:[Be],encapsulation:2,changeDetection:0})}return i})(),kt=(()=>{class i extends Y{_ngZone=l(ge);_renderer=l(ye);_animationsDisabled=Ne();_cleanupTransition;_isAnimating=f(!1);_stepHeader=void 0;_animatedContainers;_steps=void 0;steps=new O;_icons;animationDone=new I;disableRipple;color;labelPosition="end";headerPosition="top";_iconOverrides={};get animationDuration(){return this._animationDuration}set animationDuration(e){this._animationDuration=/^\d+$/.test(e)?e+"ms":e}_animationDuration="";_isServer=!l(ze).isBrowser;constructor(){super();let t=l(T).nativeElement.nodeName.toLowerCase();this.orientation=t==="mat-vertical-stepper"?"vertical":"horizontal"}ngAfterContentInit(){super.ngAfterContentInit(),this._icons.forEach(({name:e,templateRef:t})=>this._iconOverrides[e]=t),this.steps.changes.pipe(g(this._destroyed)).subscribe(()=>this._stateChanged()),this.selectedIndexChange.pipe(g(this._destroyed)).subscribe(()=>{let e=this._getAnimationDuration();e==="0ms"||e==="0s"?this._onAnimationDone():this._isAnimating.set(!0)}),this._ngZone.runOutsideAngular(()=>{this._animationsDisabled||setTimeout(()=>{this._elementRef.nativeElement.classList.add("mat-stepper-animations-enabled"),this._cleanupTransition=this._renderer.listen(this._elementRef.nativeElement,"transitionend",this._handleTransitionend)},200)})}ngAfterViewInit(){if(super.ngAfterViewInit(),typeof queueMicrotask=="function"){let e=!1;this._animatedContainers.changes.pipe(C(null),g(this._destroyed)).subscribe(()=>queueMicrotask(()=>{e||(e=!0,this.animationDone.emit()),this._stateChanged()}))}}ngOnDestroy(){super.ngOnDestroy(),this._cleanupTransition?.()}_getAnimationDuration(){return this._animationsDisabled?"0ms":this.animationDuration?this.animationDuration:this.orientation==="horizontal"?"500ms":"225ms"}_handleTransitionend=e=>{let t=e.target;if(!t)return;let r=this.orientation==="horizontal"&&e.propertyName==="transform"&&t.classList.contains("mat-horizontal-stepper-content-current"),a=this.orientation==="vertical"&&e.propertyName==="grid-template-rows"&&t.classList.contains("mat-vertical-content-container-active");(r||a)&&this._animatedContainers.find(J=>J.nativeElement===t)&&this._onAnimationDone()};_onAnimationDone(){this._isAnimating.set(!1),this.animationDone.emit()}static \u0275fac=function(t){return new(t||i)};static \u0275cmp=k({type:i,selectors:[["mat-stepper"],["mat-vertical-stepper"],["mat-horizontal-stepper"],["","matStepper",""]],contentQueries:function(t,r,a){if(t&1&&w(a,Et,5)(a,Dt,5),t&2){let s;m(s=h())&&(r._steps=s),m(s=h())&&(r._icons=s)}},viewQuery:function(t,r){if(t&1&&j(ce,5)(ft,5),t&2){let a;m(a=h())&&(r._stepHeader=a),m(a=h())&&(r._animatedContainers=a)}},hostVars:14,hostBindings:function(t,r){t&2&&(Me("--mat-stepper-animation-duration",r._getAnimationDuration()),M("mat-stepper-horizontal",r.orientation==="horizontal")("mat-stepper-vertical",r.orientation==="vertical")("mat-stepper-label-position-end",r.orientation==="horizontal"&&r.labelPosition=="end")("mat-stepper-label-position-bottom",r.orientation==="horizontal"&&r.labelPosition=="bottom")("mat-stepper-header-position-bottom",r.headerPosition==="bottom")("mat-stepper-animating",r._isAnimating()))},inputs:{disableRipple:"disableRipple",color:"color",labelPosition:"labelPosition",headerPosition:"headerPosition",animationDuration:"animationDuration"},outputs:{animationDone:"animationDone"},exportAs:["matStepper","matVerticalStepper","matHorizontalStepper"],features:[ne([{provide:Y,useExisting:i}]),R],ngContentSelectors:We,decls:5,vars:2,consts:[["stepTemplate",""],["animatedContainer",""],[1,"mat-horizontal-stepper-wrapper"],[1,"mat-vertical-stepper-wrapper"],["aria-orientation","horizontal","role","tablist",1,"mat-horizontal-stepper-header-container"],[1,"mat-horizontal-content-container"],["role","tabpanel",1,"mat-horizontal-stepper-content",3,"id","class"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"mat-stepper-horizontal-line"],["role","tabpanel",1,"mat-horizontal-stepper-content",3,"id"],[3,"ngTemplateOutlet"],[1,"mat-step"],[1,"mat-vertical-content-container"],["role","region",1,"mat-vertical-stepper-content",3,"id"],[1,"mat-vertical-content"],[3,"click","keydown","tabIndex","id","index","state","label","selected","active","optional","errorMessage","iconOverrides","disableRipple","color"]],template:function(t,r){if(t&1&&(F(),_(0,_t,1,0),_(1,yt,7,0,"div",2)(2,Ct,3,0,"div",3),Q(3,St,1,27,"ng-template",null,0,Ee)),t&2){let a;v(r._isServer?0:-1),o(),v((a=r.orientation)==="horizontal"?1:a==="vertical"?2:-1)}},dependencies:[se,ce],styles:[`.mat-stepper-vertical,.mat-stepper-horizontal{display:block;font-family:var(--mat-stepper-container-text-font, var(--mat-sys-body-medium-font));background:var(--mat-stepper-container-color, var(--mat-sys-surface))}.mat-horizontal-stepper-header-container{white-space:nowrap;display:flex;align-items:center}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header-container{align-items:flex-start}.mat-stepper-header-position-bottom .mat-horizontal-stepper-header-container{order:1}.mat-stepper-horizontal-line{border-top-width:1px;border-top-style:solid;flex:auto;height:0;margin:0 -16px;min-width:32px;border-top-color:var(--mat-stepper-line-color, var(--mat-sys-outline))}.mat-stepper-label-position-bottom .mat-stepper-horizontal-line{margin:0;min-width:0;position:relative;top:calc(calc((var(--mat-stepper-header-height, 72px) - 24px) / 2) + 12px)}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:first-child)::before,[dir=rtl] .mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:last-child)::before,.mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:last-child)::after,[dir=rtl] .mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:first-child)::after{border-top-width:1px;border-top-style:solid;content:"";display:inline-block;height:0;position:absolute;width:calc(50% - 20px)}.mat-horizontal-stepper-header{display:flex;overflow:hidden;align-items:center;padding:0 24px;height:var(--mat-stepper-header-height, 72px)}.mat-horizontal-stepper-header .mat-step-icon{margin-right:8px;flex:none}[dir=rtl] .mat-horizontal-stepper-header .mat-step-icon{margin-right:0;margin-left:8px}.mat-horizontal-stepper-header.mat-step-header-empty-label .mat-step-icon{margin:0}.mat-horizontal-stepper-header::before,.mat-horizontal-stepper-header::after{border-top-color:var(--mat-stepper-line-color, var(--mat-sys-outline))}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header{padding:calc((var(--mat-stepper-header-height, 72px) - 24px) / 2) 24px}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header::before,.mat-stepper-label-position-bottom .mat-horizontal-stepper-header::after{top:calc(calc((var(--mat-stepper-header-height, 72px) - 24px) / 2) + 12px)}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header{box-sizing:border-box;flex-direction:column;height:auto}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:last-child)::after,[dir=rtl] .mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:first-child)::after{right:0}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:first-child)::before,[dir=rtl] .mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:last-child)::before{left:0}[dir=rtl] .mat-stepper-label-position-bottom .mat-horizontal-stepper-header:last-child::before,[dir=rtl] .mat-stepper-label-position-bottom .mat-horizontal-stepper-header:first-child::after{display:none}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header .mat-step-icon{margin-right:0;margin-left:0}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header .mat-step-label{padding:16px 0 0 0;text-align:center;width:100%}.mat-vertical-stepper-header{display:flex;align-items:center;height:24px;padding:calc((var(--mat-stepper-header-height, 72px) - 24px) / 2) 24px}.mat-vertical-stepper-header .mat-step-icon{margin-right:12px}[dir=rtl] .mat-vertical-stepper-header .mat-step-icon{margin-right:0;margin-left:12px}.mat-horizontal-stepper-wrapper{display:flex;flex-direction:column}.mat-horizontal-stepper-content{visibility:hidden;overflow:hidden;outline:0;height:0}.mat-stepper-animations-enabled .mat-horizontal-stepper-content{transition:transform var(--mat-stepper-animation-duration, 0) cubic-bezier(0.35, 0, 0.25, 1)}.mat-horizontal-stepper-content.mat-horizontal-stepper-content-previous{transform:translate3d(-100%, 0, 0)}.mat-horizontal-stepper-content.mat-horizontal-stepper-content-next{transform:translate3d(100%, 0, 0)}.mat-horizontal-stepper-content.mat-horizontal-stepper-content-current{visibility:visible;transform:none;height:auto}.mat-stepper-horizontal:not(.mat-stepper-animating) .mat-horizontal-stepper-content.mat-horizontal-stepper-content-current{overflow:visible}.mat-horizontal-content-container{overflow:hidden;padding:0 24px 24px 24px}@media(forced-colors: active){.mat-horizontal-content-container{outline:solid 1px}}.mat-stepper-header-position-bottom .mat-horizontal-content-container{padding:24px 24px 0 24px}.mat-vertical-content-container{display:grid;grid-template-rows:0fr;grid-template-columns:100%;margin-left:36px;border:0;position:relative}.mat-stepper-animations-enabled .mat-vertical-content-container{transition:grid-template-rows var(--mat-stepper-animation-duration, 0) cubic-bezier(0.4, 0, 0.2, 1)}.mat-vertical-content-container.mat-vertical-content-container-active{grid-template-rows:1fr}.mat-step:last-child .mat-vertical-content-container{border:none}@media(forced-colors: active){.mat-vertical-content-container{outline:solid 1px}}[dir=rtl] .mat-vertical-content-container{margin-left:0;margin-right:36px}@supports not (grid-template-rows: 0fr){.mat-vertical-content-container{height:0}.mat-vertical-content-container.mat-vertical-content-container-active{height:auto}}.mat-stepper-vertical-line::before{content:"";position:absolute;left:0;border-left-width:1px;border-left-style:solid;border-left-color:var(--mat-stepper-line-color, var(--mat-sys-outline));top:calc(8px - calc((var(--mat-stepper-header-height, 72px) - 24px) / 2));bottom:calc(8px - calc((var(--mat-stepper-header-height, 72px) - 24px) / 2))}[dir=rtl] .mat-stepper-vertical-line::before{left:auto;right:0}.mat-vertical-stepper-content{overflow:hidden;outline:0;visibility:hidden}.mat-stepper-animations-enabled .mat-vertical-stepper-content{transition:visibility var(--mat-stepper-animation-duration, 0) linear}.mat-vertical-content-container-active>.mat-vertical-stepper-content{visibility:visible}.mat-vertical-content{padding:0 24px 24px 24px}
3
3
  `],encapsulation:2,changeDetection:0})}return i})();var Ei=(()=>{class i{static \u0275fac=function(t){return new(t||i)};static \u0275mod=H({type:i});static \u0275inj=N({providers:[W],imports:[Ve,Ke,Ue,qe,kt,ce,K]})}return i})();export{tt as a,de as b,Dt as c,It as d,Et as e,kt as f,Ei as g};
@@ -0,0 +1 @@
1
+ import{a as re}from"./chunk-2ZILXTWC.js";import{a as E}from"./chunk-5XFVP3GT.js";import{a as ne}from"./chunk-RIX56SWS.js";import{a as ie}from"./chunk-4IMPHM2L.js";import{a as te}from"./chunk-IQ2QCUYQ.js";import"./chunk-OQVWI5RR.js";import"./chunk-6EZURWCE.js";import"./chunk-IUP257JK.js";import"./chunk-G7EFF2OH.js";import{a as ee}from"./chunk-WFQ6MTNV.js";import{a as $}from"./chunk-FBZA4TL3.js";import"./chunk-GRBY6A25.js";import"./chunk-XJ647P3Z.js";import"./chunk-NVFPEIBK.js";import"./chunk-2WNLMFBJ.js";import"./chunk-HHIYV6SY.js";import"./chunk-KOBEFS2S.js";import"./chunk-3E64KI3Y.js";import"./chunk-6IBSQ4O6.js";import"./chunk-BGFEVOPZ.js";import"./chunk-Q3STYUEA.js";import"./chunk-DIWXDN75.js";import"./chunk-MZNVUECO.js";import{b as Z}from"./chunk-ZOV7OQE6.js";import"./chunk-HDNULDU2.js";import"./chunk-VSXPCIHS.js";import{a as Y}from"./chunk-6GXJ4SD6.js";import"./chunk-FI7KHIPS.js";import"./chunk-2767EOG5.js";import"./chunk-6UFKTBFI.js";import"./chunk-EYRMOG2V.js";import"./chunk-H5YNAWK2.js";import"./chunk-F7U7V7F4.js";import"./chunk-QUDI2RQN.js";import"./chunk-Y3LPTD5V.js";import"./chunk-G6DXF6MT.js";import"./chunk-XU7ZLD5O.js";import"./chunk-GMRSDMCF.js";import"./chunk-TFHB3OE5.js";import"./chunk-XE7FN7WV.js";import"./chunk-FQLH72J4.js";import"./chunk-HD5RAZOS.js";import"./chunk-KOOWEFV6.js";import"./chunk-J7VARP7L.js";import"./chunk-U5LGPDSJ.js";import{b as X}from"./chunk-NCHJULNE.js";import"./chunk-KZWEUXCA.js";import"./chunk-EHFG3EIP.js";import"./chunk-O2GBNE2A.js";import"./chunk-QXRG5XYP.js";import"./chunk-HZRIS4FA.js";import"./chunk-Q5PH4VIQ.js";import"./chunk-NNVT5X6O.js";import{c as G,h as J,m as K,o as Q,z as U}from"./chunk-NZPISKQV.js";import"./chunk-UC7FUQNJ.js";import"./chunk-67URAZUP.js";import"./chunk-MXZNUKSS.js";import{B as j,D as q,z as R}from"./chunk-OOGQ5PSL.js";import"./chunk-ASFPLYOZ.js";import{$b as B,Gc as l,Hc as h,Kc as c,Lc as u,Mc as C,Nc as I,Oc as k,Pc as A,R as V,Tc as z,Vb as W,Xb as F,Yb as N,_b as L,ac as g,bc as e,cc as t,cd as w,dc as _,dd as x,eb as a,ed as H,ga as P,kc as b,na as p,oa as s,pc as v,rc as y,wb as D,za as O}from"./chunk-YU6N3IVV.js";import{a as M,b as T}from"./chunk-QWWW7GFA.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};
@@ -1,4 +1,4 @@
1
- import{a as Ze,b as Je,c as qt}from"./chunk-EDNKI3WA.js";import{b as D,c as Q}from"./chunk-CM45JN3C.js";import{a as Wt}from"./chunk-2BS4VK45.js";import{c as Mt,d as Ge,g as Kt}from"./chunk-TTMPMWUQ.js";import{a as jt}from"./chunk-QGNTUEVO.js";import{b as zt}from"./chunk-BXA5YUTN.js";import{b as Ht}from"./chunk-47Z3CNAW.js";import{C as q,D as At,F as kt,H as $e,L as It,M as Ue,P as Xe,Q as Ft,R as Rt,S as Tt,T as Ot,W as Yt,X as Pt,Y as Nt,_ as Lt,ba as Bt,d as qe,f as yt,k as Qe,l as le,m as Ee,s as Ct,u as wt,v as ce,w as H}from"./chunk-7KKV4BRH.js";import{a as xe,d as Ie,e as he,f as St,g as Vt,k as Et,s as xt}from"./chunk-BUBQQEYA.js";import{r as vt}from"./chunk-4NAKX6WQ.js";import{$c as Y,Ac as Ae,Bc as de,Ca as p,Cc as bt,Cd as x,D as te,Da as Be,Dc as B,E as ht,Eb as k,Ec as S,Fb as ft,Fc as V,Ga as u,Gb as O,Hd as F,Jb as L,Kb as Ke,Kc as ke,L as pt,Lc as E,Ma as T,Na as ne,Nc as je,Oc as b,Pa as N,Pc as I,Qc as W,Rc as We,Sc as Me,Tc as Se,Uc as Ve,X as De,Xb as v,a as A,bc as re,d as R,dc as se,gc as ye,ha as Pe,hc as Ce,ia as j,ic as _,ja as ut,jc as l,kc as h,la as Ne,lc as M,ma as ve,mb as d,na as s,o as be,sb as He,sc as oe,tc as we,td as Dt,ua as y,va as C,wa as ae,wb as ze,xa as Le,xc as f,ya as ie,yb as _t,za as mt,zb as gt,zc as m}from"./chunk-ZPV56E2J.js";var ha=["mat-calendar-body",""];function pa(n,o){return this._trackRow(o)}var ea=(n,o)=>o.id;function ua(n,o){if(n&1&&(l(0,"tr",0)(1,"td",3),b(2),h()()),n&2){let e=m();d(),ke("padding-top",e._cellPadding)("padding-bottom",e._cellPadding),v("colspan",e.numCols),d(),W(" ",e.label," ")}}function ma(n,o){if(n&1&&(l(0,"td",3),b(1),h()),n&2){let e=m(2);ke("padding-top",e._cellPadding)("padding-bottom",e._cellPadding),v("colspan",e._firstRowOffset),d(),W(" ",e._firstRowOffset>=e.labelMinRequiredCells?e.label:""," ")}}function _a(n,o){if(n&1){let e=oe();l(0,"td",6)(1,"button",7),f("click",function(t){let i=y(e).$implicit,r=m(2);return C(r._cellClicked(i,t))})("focus",function(t){let i=y(e).$implicit,r=m(2);return C(r._emitActiveDateChange(i,t))}),l(2,"span",8),b(3),h(),M(4,"span",9),h()()}if(n&2){let e=o.$implicit,a=o.$index,t=m().$index,i=m();ke("width",i._cellWidth)("padding-top",i._cellPadding)("padding-bottom",i._cellPadding),v("data-mat-row",t)("data-mat-col",a),d(),E("mat-calendar-body-disabled",!e.enabled)("mat-calendar-body-active",i._isActiveCell(t,a))("mat-calendar-body-range-start",i._isRangeStart(e.compareValue))("mat-calendar-body-range-end",i._isRangeEnd(e.compareValue))("mat-calendar-body-in-range",i._isInRange(e.compareValue))("mat-calendar-body-comparison-bridge-start",i._isComparisonBridgeStart(e.compareValue,t,a))("mat-calendar-body-comparison-bridge-end",i._isComparisonBridgeEnd(e.compareValue,t,a))("mat-calendar-body-comparison-start",i._isComparisonStart(e.compareValue))("mat-calendar-body-comparison-end",i._isComparisonEnd(e.compareValue))("mat-calendar-body-in-comparison-range",i._isInComparisonRange(e.compareValue))("mat-calendar-body-preview-start",i._isPreviewStart(e.compareValue))("mat-calendar-body-preview-end",i._isPreviewEnd(e.compareValue))("mat-calendar-body-in-preview",i._isInPreview(e.compareValue)),_("ngClass",e.cssClasses)("tabindex",i._isActiveCell(t,a)?0:-1),v("aria-label",e.ariaLabel)("aria-disabled",!e.enabled||null)("aria-pressed",i._isSelected(e.compareValue))("aria-current",i.todayValue===e.compareValue?"date":null)("aria-describedby",i._getDescribedby(e.compareValue)),d(),E("mat-calendar-body-selected",i._isSelected(e.compareValue))("mat-calendar-body-comparison-identical",i._isComparisonIdentical(e.compareValue))("mat-calendar-body-today",i.todayValue===e.compareValue),d(),W(" ",e.displayValue," ")}}function ga(n,o){if(n&1&&(l(0,"tr",1),re(1,ma,2,6,"td",4),ye(2,_a,5,48,"td",5,ea),h()),n&2){let e=o.$implicit,a=o.$index,t=m();d(),se(a===0&&t._firstRowOffset?1:-1),d(),Ce(e)}}function fa(n,o){if(n&1&&(l(0,"th",2)(1,"span",6),b(2),h(),l(3,"span",3),b(4),h()()),n&2){let e=o.$implicit;d(2),I(e.long),d(2),I(e.narrow)}}var ba=["*"];function Da(n,o){}function va(n,o){if(n&1){let e=oe();l(0,"mat-month-view",4),Ve("activeDateChange",function(t){y(e);let i=m();return Se(i.activeDate,t)||(i.activeDate=t),C(t)}),f("_userSelection",function(t){y(e);let i=m();return C(i._dateSelected(t))})("dragStarted",function(t){y(e);let i=m();return C(i._dragStarted(t))})("dragEnded",function(t){y(e);let i=m();return C(i._dragEnded(t))}),h()}if(n&2){let e=m();Me("activeDate",e.activeDate),_("selected",e.selected)("dateFilter",e.dateFilter)("maxDate",e.maxDate)("minDate",e.minDate)("dateClass",e.dateClass)("comparisonStart",e.comparisonStart)("comparisonEnd",e.comparisonEnd)("startDateAccessibleName",e.startDateAccessibleName)("endDateAccessibleName",e.endDateAccessibleName)("activeDrag",e._activeDrag)}}function ya(n,o){if(n&1){let e=oe();l(0,"mat-year-view",5),Ve("activeDateChange",function(t){y(e);let i=m();return Se(i.activeDate,t)||(i.activeDate=t),C(t)}),f("monthSelected",function(t){y(e);let i=m();return C(i._monthSelectedInYearView(t))})("selectedChange",function(t){y(e);let i=m();return C(i._goToDateInView(t,"month"))}),h()}if(n&2){let e=m();Me("activeDate",e.activeDate),_("selected",e.selected)("dateFilter",e.dateFilter)("maxDate",e.maxDate)("minDate",e.minDate)("dateClass",e.dateClass)}}function Ca(n,o){if(n&1){let e=oe();l(0,"mat-multi-year-view",6),Ve("activeDateChange",function(t){y(e);let i=m();return Se(i.activeDate,t)||(i.activeDate=t),C(t)}),f("yearSelected",function(t){y(e);let i=m();return C(i._yearSelectedInMultiYearView(t))})("selectedChange",function(t){y(e);let i=m();return C(i._goToDateInView(t,"year"))}),h()}if(n&2){let e=m();Me("activeDate",e.activeDate),_("selected",e.selected)("dateFilter",e.dateFilter)("maxDate",e.maxDate)("minDate",e.minDate)("dateClass",e.dateClass)}}function wa(n,o){}var Aa=["button"],ka=[[["","matDatepickerToggleIcon",""]]],Ma=["[matDatepickerToggleIcon]"];function Sa(n,o){n&1&&(ae(),l(0,"svg",2),M(1,"path",3),h())}var Va=[[["input","matStartDate",""]],[["input","matEndDate",""]]],Ea=["input[matStartDate]","input[matEndDate]"];var ee=(()=>{class n{changes=new R;calendarLabel="Calendar";openCalendarLabel="Open calendar";closeCalendarLabel="Close calendar";prevMonthLabel="Previous month";nextMonthLabel="Next month";prevYearLabel="Previous year";nextYearLabel="Next year";prevMultiYearLabel="Previous 24 years";nextMultiYearLabel="Next 24 years";switchToMonthViewLabel="Choose date";switchToMultiYearViewLabel="Choose month and year";startDateLabel="Start date";endDateLabel="End date";comparisonDateLabel="Comparison range";formatYearRange(e,a){return`${e} \u2013 ${a}`}formatYearRangeLabel(e,a){return`${e} to ${a}`}static \u0275fac=function(a){return new(a||n)};static \u0275prov=j({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})(),xa=0,me=class{value;displayValue;ariaLabel;enabled;cssClasses;compareValue;rawValue;id=xa++;constructor(o,e,a,t,i={},r=o,c){this.value=o,this.displayValue=e,this.ariaLabel=a,this.enabled=t,this.cssClasses=i,this.compareValue=r,this.rawValue=c}},Ia={passive:!1,capture:!0},Fe={passive:!0,capture:!0},Qt={passive:!0},X=(()=>{class n{_elementRef=s(N);_ngZone=s(Be);_platform=s(yt);_intl=s(ee);_eventCleanups;_skipNextFocus;_focusActiveCellAfterViewChecked=!1;label;rows;todayValue;startValue;endValue;labelMinRequiredCells;numCols=7;activeCell=0;ngAfterViewChecked(){this._focusActiveCellAfterViewChecked&&(this._focusActiveCell(),this._focusActiveCellAfterViewChecked=!1)}isRange=!1;cellAspectRatio=1;comparisonStart;comparisonEnd;previewStart=null;previewEnd=null;startDateAccessibleName;endDateAccessibleName;selectedValueChange=new p;previewChange=new p;activeDateChange=new p;dragStarted=new p;dragEnded=new p;_firstRowOffset;_cellPadding;_cellWidth;_startDateLabelId;_endDateLabelId;_comparisonStartDateLabelId;_comparisonEndDateLabelId;_didDragSinceMouseDown=!1;_injector=s(ie);comparisonDateAccessibleName=this._intl.comparisonDateLabel;_trackRow=e=>e;constructor(){let e=s(ze),a=s(ce);this._startDateLabelId=a.getId("mat-calendar-body-start-"),this._endDateLabelId=a.getId("mat-calendar-body-end-"),this._comparisonStartDateLabelId=a.getId("mat-calendar-body-comparison-start-"),this._comparisonEndDateLabelId=a.getId("mat-calendar-body-comparison-end-"),s(le).load(zt),this._ngZone.runOutsideAngular(()=>{let t=this._elementRef.nativeElement,i=[e.listen(t,"touchmove",this._touchmoveHandler,Ia),e.listen(t,"mouseenter",this._enterHandler,Fe),e.listen(t,"focus",this._enterHandler,Fe),e.listen(t,"mouseleave",this._leaveHandler,Fe),e.listen(t,"blur",this._leaveHandler,Fe),e.listen(t,"mousedown",this._mousedownHandler,Qt),e.listen(t,"touchstart",this._mousedownHandler,Qt)];this._platform.isBrowser&&i.push(e.listen("window","mouseup",this._mouseupHandler),e.listen("window","touchend",this._touchendHandler)),this._eventCleanups=i})}_cellClicked(e,a){this._didDragSinceMouseDown||e.enabled&&this.selectedValueChange.emit({value:e.value,event:a})}_emitActiveDateChange(e,a){e.enabled&&this.activeDateChange.emit({value:e.value,event:a})}_isSelected(e){return this.startValue===e||this.endValue===e}ngOnChanges(e){let a=e.numCols,{rows:t,numCols:i}=this;(e.rows||a)&&(this._firstRowOffset=t&&t.length&&t[0].length?i-t[0].length:0),(e.cellAspectRatio||a||!this._cellPadding)&&(this._cellPadding=`${50*this.cellAspectRatio/i}%`),(a||!this._cellWidth)&&(this._cellWidth=`${100/i}%`)}ngOnDestroy(){this._eventCleanups.forEach(e=>e())}_isActiveCell(e,a){let t=e*this.numCols+a;return e&&(t-=this._firstRowOffset),t==this.activeCell}_focusActiveCell(e=!0){He(()=>{setTimeout(()=>{let a=this._elementRef.nativeElement.querySelector(".mat-calendar-body-active");a&&(e||(this._skipNextFocus=!0),a.focus())})},{injector:this._injector})}_scheduleFocusActiveCellAfterViewChecked(){this._focusActiveCellAfterViewChecked=!0}_isRangeStart(e){return at(e,this.startValue,this.endValue)}_isRangeEnd(e){return it(e,this.startValue,this.endValue)}_isInRange(e){return nt(e,this.startValue,this.endValue,this.isRange)}_isComparisonStart(e){return at(e,this.comparisonStart,this.comparisonEnd)}_isComparisonBridgeStart(e,a,t){if(!this._isComparisonStart(e)||this._isRangeStart(e)||!this._isInRange(e))return!1;let i=this.rows[a][t-1];if(!i){let r=this.rows[a-1];i=r&&r[r.length-1]}return i&&!this._isRangeEnd(i.compareValue)}_isComparisonBridgeEnd(e,a,t){if(!this._isComparisonEnd(e)||this._isRangeEnd(e)||!this._isInRange(e))return!1;let i=this.rows[a][t+1];if(!i){let r=this.rows[a+1];i=r&&r[0]}return i&&!this._isRangeStart(i.compareValue)}_isComparisonEnd(e){return it(e,this.comparisonStart,this.comparisonEnd)}_isInComparisonRange(e){return nt(e,this.comparisonStart,this.comparisonEnd,this.isRange)}_isComparisonIdentical(e){return this.comparisonStart===this.comparisonEnd&&e===this.comparisonStart}_isPreviewStart(e){return at(e,this.previewStart,this.previewEnd)}_isPreviewEnd(e){return it(e,this.previewStart,this.previewEnd)}_isInPreview(e){return nt(e,this.previewStart,this.previewEnd,this.isRange)}_getDescribedby(e){if(!this.isRange)return null;if(this.startValue===e&&this.endValue===e)return`${this._startDateLabelId} ${this._endDateLabelId}`;if(this.startValue===e)return this._startDateLabelId;if(this.endValue===e)return this._endDateLabelId;if(this.comparisonStart!==null&&this.comparisonEnd!==null){if(e===this.comparisonStart&&e===this.comparisonEnd)return`${this._comparisonStartDateLabelId} ${this._comparisonEndDateLabelId}`;if(e===this.comparisonStart)return this._comparisonStartDateLabelId;if(e===this.comparisonEnd)return this._comparisonEndDateLabelId}return null}_enterHandler=e=>{if(this._skipNextFocus&&e.type==="focus"){this._skipNextFocus=!1;return}if(e.target&&this.isRange){let a=this._getCellFromElement(e.target);a&&this._ngZone.run(()=>this.previewChange.emit({value:a.enabled?a:null,event:e}))}};_touchmoveHandler=e=>{if(!this.isRange)return;let a=$t(e),t=a?this._getCellFromElement(a):null;a!==e.target&&(this._didDragSinceMouseDown=!0),tt(e.target)&&e.preventDefault(),this._ngZone.run(()=>this.previewChange.emit({value:t?.enabled?t:null,event:e}))};_leaveHandler=e=>{this.previewEnd!==null&&this.isRange&&(e.type!=="blur"&&(this._didDragSinceMouseDown=!0),e.target&&this._getCellFromElement(e.target)&&!(e.relatedTarget&&this._getCellFromElement(e.relatedTarget))&&this._ngZone.run(()=>this.previewChange.emit({value:null,event:e})))};_mousedownHandler=e=>{if(!this.isRange)return;this._didDragSinceMouseDown=!1;let a=e.target&&this._getCellFromElement(e.target);!a||!this._isInRange(a.compareValue)||this._ngZone.run(()=>{this.dragStarted.emit({value:a.rawValue,event:e})})};_mouseupHandler=e=>{if(!this.isRange)return;let a=tt(e.target);if(!a){this._ngZone.run(()=>{this.dragEnded.emit({value:null,event:e})});return}a.closest(".mat-calendar-body")===this._elementRef.nativeElement&&this._ngZone.run(()=>{let t=this._getCellFromElement(a);this.dragEnded.emit({value:t?.rawValue??null,event:e})})};_touchendHandler=e=>{let a=$t(e);a&&this._mouseupHandler({target:a})};_getCellFromElement(e){let a=tt(e);if(a){let t=a.getAttribute("data-mat-row"),i=a.getAttribute("data-mat-col");if(t&&i)return this.rows[parseInt(t)]?.[parseInt(i)]||null}return null}static \u0275fac=function(a){return new(a||n)};static \u0275cmp=k({type:n,selectors:[["","mat-calendar-body",""]],hostAttrs:[1,"mat-calendar-body"],inputs:{label:"label",rows:"rows",todayValue:"todayValue",startValue:"startValue",endValue:"endValue",labelMinRequiredCells:"labelMinRequiredCells",numCols:"numCols",activeCell:"activeCell",isRange:"isRange",cellAspectRatio:"cellAspectRatio",comparisonStart:"comparisonStart",comparisonEnd:"comparisonEnd",previewStart:"previewStart",previewEnd:"previewEnd",startDateAccessibleName:"startDateAccessibleName",endDateAccessibleName:"endDateAccessibleName"},outputs:{selectedValueChange:"selectedValueChange",previewChange:"previewChange",activeDateChange:"activeDateChange",dragStarted:"dragStarted",dragEnded:"dragEnded"},exportAs:["matCalendarBody"],features:[T],attrs:ha,decls:11,vars:11,consts:[["aria-hidden","true"],["role","row"],[1,"mat-calendar-body-hidden-label",3,"id"],[1,"mat-calendar-body-label"],[1,"mat-calendar-body-label",3,"paddingTop","paddingBottom"],["role","gridcell",1,"mat-calendar-body-cell-container",3,"width","paddingTop","paddingBottom"],["role","gridcell",1,"mat-calendar-body-cell-container"],["type","button",1,"mat-calendar-body-cell",3,"click","focus","ngClass","tabindex"],[1,"mat-calendar-body-cell-content","mat-focus-indicator"],["aria-hidden","true",1,"mat-calendar-body-cell-preview"]],template:function(a,t){a&1&&(re(0,ua,3,6,"tr",0),ye(1,ga,4,1,"tr",1,pa,!0),l(3,"span",2),b(4),h(),l(5,"span",2),b(6),h(),l(7,"span",2),b(8),h(),l(9,"span",2),b(10),h()),a&2&&(se(t._firstRowOffset<t.labelMinRequiredCells?0:-1),d(),Ce(t.rows),d(2),_("id",t._startDateLabelId),d(),W(" ",t.startDateAccessibleName,`
1
+ import{a as Ze,b as Je,c as qt}from"./chunk-6UFKTBFI.js";import{b as D,c as Q}from"./chunk-EYRMOG2V.js";import{a as Wt}from"./chunk-G6DXF6MT.js";import{c as Mt,d as Ge,g as Kt}from"./chunk-XU7ZLD5O.js";import{a as jt}from"./chunk-TFHB3OE5.js";import{b as zt}from"./chunk-J7VARP7L.js";import{b as Ht}from"./chunk-NCHJULNE.js";import{C as q,D as At,F as kt,H as $e,L as It,M as Ue,P as Xe,Q as Ft,R as Rt,S as Tt,T as Ot,W as Yt,X as Pt,Y as Nt,_ as Lt,ba as Bt,d as qe,f as yt,k as Qe,l as le,m as Ee,s as Ct,u as wt,v as ce,w as H}from"./chunk-KZWEUXCA.js";import{a as xe,d as Ie,e as he,f as St,g as Vt,k as Et,s as xt}from"./chunk-NZPISKQV.js";import{r as vt}from"./chunk-OOGQ5PSL.js";import{$b as Ce,A as te,B as ht,Bb as L,Bd as F,Cb as Ke,Cc as ke,Dc as E,Ea as T,Fa as ne,Fc as je,Gc as b,Ha as N,Hc as I,I as pt,Ic as W,Jc as We,Kc as Me,Lc as Se,Mc as Ve,Pb as v,T as De,Tc as Y,Vb as re,Xb as se,_b as ye,a as A,aa as Pe,ac as _,ba as j,bc as l,ca as ut,cc as h,d as R,dc as M,ea as Ne,eb as d,fa as ve,ga as s,kb as He,kc as oe,l as be,lc as we,na as y,nd as Dt,oa as C,ob as ze,pa as ae,pc as f,qa as Le,qb as _t,ra as ie,rb as gt,rc as m,sa as mt,sc as Ae,tc as de,uc as bt,va as p,vc as B,wa as Be,wb as k,wc as S,wd as x,xb as ft,xc as V,yb as O,za as u}from"./chunk-YU6N3IVV.js";var ha=["mat-calendar-body",""];function pa(n,o){return this._trackRow(o)}var ea=(n,o)=>o.id;function ua(n,o){if(n&1&&(l(0,"tr",0)(1,"td",3),b(2),h()()),n&2){let e=m();d(),ke("padding-top",e._cellPadding)("padding-bottom",e._cellPadding),v("colspan",e.numCols),d(),W(" ",e.label," ")}}function ma(n,o){if(n&1&&(l(0,"td",3),b(1),h()),n&2){let e=m(2);ke("padding-top",e._cellPadding)("padding-bottom",e._cellPadding),v("colspan",e._firstRowOffset),d(),W(" ",e._firstRowOffset>=e.labelMinRequiredCells?e.label:""," ")}}function _a(n,o){if(n&1){let e=oe();l(0,"td",6)(1,"button",7),f("click",function(t){let i=y(e).$implicit,r=m(2);return C(r._cellClicked(i,t))})("focus",function(t){let i=y(e).$implicit,r=m(2);return C(r._emitActiveDateChange(i,t))}),l(2,"span",8),b(3),h(),M(4,"span",9),h()()}if(n&2){let e=o.$implicit,a=o.$index,t=m().$index,i=m();ke("width",i._cellWidth)("padding-top",i._cellPadding)("padding-bottom",i._cellPadding),v("data-mat-row",t)("data-mat-col",a),d(),E("mat-calendar-body-disabled",!e.enabled)("mat-calendar-body-active",i._isActiveCell(t,a))("mat-calendar-body-range-start",i._isRangeStart(e.compareValue))("mat-calendar-body-range-end",i._isRangeEnd(e.compareValue))("mat-calendar-body-in-range",i._isInRange(e.compareValue))("mat-calendar-body-comparison-bridge-start",i._isComparisonBridgeStart(e.compareValue,t,a))("mat-calendar-body-comparison-bridge-end",i._isComparisonBridgeEnd(e.compareValue,t,a))("mat-calendar-body-comparison-start",i._isComparisonStart(e.compareValue))("mat-calendar-body-comparison-end",i._isComparisonEnd(e.compareValue))("mat-calendar-body-in-comparison-range",i._isInComparisonRange(e.compareValue))("mat-calendar-body-preview-start",i._isPreviewStart(e.compareValue))("mat-calendar-body-preview-end",i._isPreviewEnd(e.compareValue))("mat-calendar-body-in-preview",i._isInPreview(e.compareValue)),_("ngClass",e.cssClasses)("tabindex",i._isActiveCell(t,a)?0:-1),v("aria-label",e.ariaLabel)("aria-disabled",!e.enabled||null)("aria-pressed",i._isSelected(e.compareValue))("aria-current",i.todayValue===e.compareValue?"date":null)("aria-describedby",i._getDescribedby(e.compareValue)),d(),E("mat-calendar-body-selected",i._isSelected(e.compareValue))("mat-calendar-body-comparison-identical",i._isComparisonIdentical(e.compareValue))("mat-calendar-body-today",i.todayValue===e.compareValue),d(),W(" ",e.displayValue," ")}}function ga(n,o){if(n&1&&(l(0,"tr",1),re(1,ma,2,6,"td",4),ye(2,_a,5,48,"td",5,ea),h()),n&2){let e=o.$implicit,a=o.$index,t=m();d(),se(a===0&&t._firstRowOffset?1:-1),d(),Ce(e)}}function fa(n,o){if(n&1&&(l(0,"th",2)(1,"span",6),b(2),h(),l(3,"span",3),b(4),h()()),n&2){let e=o.$implicit;d(2),I(e.long),d(2),I(e.narrow)}}var ba=["*"];function Da(n,o){}function va(n,o){if(n&1){let e=oe();l(0,"mat-month-view",4),Ve("activeDateChange",function(t){y(e);let i=m();return Se(i.activeDate,t)||(i.activeDate=t),C(t)}),f("_userSelection",function(t){y(e);let i=m();return C(i._dateSelected(t))})("dragStarted",function(t){y(e);let i=m();return C(i._dragStarted(t))})("dragEnded",function(t){y(e);let i=m();return C(i._dragEnded(t))}),h()}if(n&2){let e=m();Me("activeDate",e.activeDate),_("selected",e.selected)("dateFilter",e.dateFilter)("maxDate",e.maxDate)("minDate",e.minDate)("dateClass",e.dateClass)("comparisonStart",e.comparisonStart)("comparisonEnd",e.comparisonEnd)("startDateAccessibleName",e.startDateAccessibleName)("endDateAccessibleName",e.endDateAccessibleName)("activeDrag",e._activeDrag)}}function ya(n,o){if(n&1){let e=oe();l(0,"mat-year-view",5),Ve("activeDateChange",function(t){y(e);let i=m();return Se(i.activeDate,t)||(i.activeDate=t),C(t)}),f("monthSelected",function(t){y(e);let i=m();return C(i._monthSelectedInYearView(t))})("selectedChange",function(t){y(e);let i=m();return C(i._goToDateInView(t,"month"))}),h()}if(n&2){let e=m();Me("activeDate",e.activeDate),_("selected",e.selected)("dateFilter",e.dateFilter)("maxDate",e.maxDate)("minDate",e.minDate)("dateClass",e.dateClass)}}function Ca(n,o){if(n&1){let e=oe();l(0,"mat-multi-year-view",6),Ve("activeDateChange",function(t){y(e);let i=m();return Se(i.activeDate,t)||(i.activeDate=t),C(t)}),f("yearSelected",function(t){y(e);let i=m();return C(i._yearSelectedInMultiYearView(t))})("selectedChange",function(t){y(e);let i=m();return C(i._goToDateInView(t,"year"))}),h()}if(n&2){let e=m();Me("activeDate",e.activeDate),_("selected",e.selected)("dateFilter",e.dateFilter)("maxDate",e.maxDate)("minDate",e.minDate)("dateClass",e.dateClass)}}function wa(n,o){}var Aa=["button"],ka=[[["","matDatepickerToggleIcon",""]]],Ma=["[matDatepickerToggleIcon]"];function Sa(n,o){n&1&&(ae(),l(0,"svg",2),M(1,"path",3),h())}var Va=[[["input","matStartDate",""]],[["input","matEndDate",""]]],Ea=["input[matStartDate]","input[matEndDate]"];var ee=(()=>{class n{changes=new R;calendarLabel="Calendar";openCalendarLabel="Open calendar";closeCalendarLabel="Close calendar";prevMonthLabel="Previous month";nextMonthLabel="Next month";prevYearLabel="Previous year";nextYearLabel="Next year";prevMultiYearLabel="Previous 24 years";nextMultiYearLabel="Next 24 years";switchToMonthViewLabel="Choose date";switchToMultiYearViewLabel="Choose month and year";startDateLabel="Start date";endDateLabel="End date";comparisonDateLabel="Comparison range";formatYearRange(e,a){return`${e} \u2013 ${a}`}formatYearRangeLabel(e,a){return`${e} to ${a}`}static \u0275fac=function(a){return new(a||n)};static \u0275prov=j({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})(),xa=0,me=class{value;displayValue;ariaLabel;enabled;cssClasses;compareValue;rawValue;id=xa++;constructor(o,e,a,t,i={},r=o,c){this.value=o,this.displayValue=e,this.ariaLabel=a,this.enabled=t,this.cssClasses=i,this.compareValue=r,this.rawValue=c}},Ia={passive:!1,capture:!0},Fe={passive:!0,capture:!0},Qt={passive:!0},X=(()=>{class n{_elementRef=s(N);_ngZone=s(Be);_platform=s(yt);_intl=s(ee);_eventCleanups;_skipNextFocus;_focusActiveCellAfterViewChecked=!1;label;rows;todayValue;startValue;endValue;labelMinRequiredCells;numCols=7;activeCell=0;ngAfterViewChecked(){this._focusActiveCellAfterViewChecked&&(this._focusActiveCell(),this._focusActiveCellAfterViewChecked=!1)}isRange=!1;cellAspectRatio=1;comparisonStart;comparisonEnd;previewStart=null;previewEnd=null;startDateAccessibleName;endDateAccessibleName;selectedValueChange=new p;previewChange=new p;activeDateChange=new p;dragStarted=new p;dragEnded=new p;_firstRowOffset;_cellPadding;_cellWidth;_startDateLabelId;_endDateLabelId;_comparisonStartDateLabelId;_comparisonEndDateLabelId;_didDragSinceMouseDown=!1;_injector=s(ie);comparisonDateAccessibleName=this._intl.comparisonDateLabel;_trackRow=e=>e;constructor(){let e=s(ze),a=s(ce);this._startDateLabelId=a.getId("mat-calendar-body-start-"),this._endDateLabelId=a.getId("mat-calendar-body-end-"),this._comparisonStartDateLabelId=a.getId("mat-calendar-body-comparison-start-"),this._comparisonEndDateLabelId=a.getId("mat-calendar-body-comparison-end-"),s(le).load(zt),this._ngZone.runOutsideAngular(()=>{let t=this._elementRef.nativeElement,i=[e.listen(t,"touchmove",this._touchmoveHandler,Ia),e.listen(t,"mouseenter",this._enterHandler,Fe),e.listen(t,"focus",this._enterHandler,Fe),e.listen(t,"mouseleave",this._leaveHandler,Fe),e.listen(t,"blur",this._leaveHandler,Fe),e.listen(t,"mousedown",this._mousedownHandler,Qt),e.listen(t,"touchstart",this._mousedownHandler,Qt)];this._platform.isBrowser&&i.push(e.listen("window","mouseup",this._mouseupHandler),e.listen("window","touchend",this._touchendHandler)),this._eventCleanups=i})}_cellClicked(e,a){this._didDragSinceMouseDown||e.enabled&&this.selectedValueChange.emit({value:e.value,event:a})}_emitActiveDateChange(e,a){e.enabled&&this.activeDateChange.emit({value:e.value,event:a})}_isSelected(e){return this.startValue===e||this.endValue===e}ngOnChanges(e){let a=e.numCols,{rows:t,numCols:i}=this;(e.rows||a)&&(this._firstRowOffset=t&&t.length&&t[0].length?i-t[0].length:0),(e.cellAspectRatio||a||!this._cellPadding)&&(this._cellPadding=`${50*this.cellAspectRatio/i}%`),(a||!this._cellWidth)&&(this._cellWidth=`${100/i}%`)}ngOnDestroy(){this._eventCleanups.forEach(e=>e())}_isActiveCell(e,a){let t=e*this.numCols+a;return e&&(t-=this._firstRowOffset),t==this.activeCell}_focusActiveCell(e=!0){He(()=>{setTimeout(()=>{let a=this._elementRef.nativeElement.querySelector(".mat-calendar-body-active");a&&(e||(this._skipNextFocus=!0),a.focus())})},{injector:this._injector})}_scheduleFocusActiveCellAfterViewChecked(){this._focusActiveCellAfterViewChecked=!0}_isRangeStart(e){return at(e,this.startValue,this.endValue)}_isRangeEnd(e){return it(e,this.startValue,this.endValue)}_isInRange(e){return nt(e,this.startValue,this.endValue,this.isRange)}_isComparisonStart(e){return at(e,this.comparisonStart,this.comparisonEnd)}_isComparisonBridgeStart(e,a,t){if(!this._isComparisonStart(e)||this._isRangeStart(e)||!this._isInRange(e))return!1;let i=this.rows[a][t-1];if(!i){let r=this.rows[a-1];i=r&&r[r.length-1]}return i&&!this._isRangeEnd(i.compareValue)}_isComparisonBridgeEnd(e,a,t){if(!this._isComparisonEnd(e)||this._isRangeEnd(e)||!this._isInRange(e))return!1;let i=this.rows[a][t+1];if(!i){let r=this.rows[a+1];i=r&&r[0]}return i&&!this._isRangeStart(i.compareValue)}_isComparisonEnd(e){return it(e,this.comparisonStart,this.comparisonEnd)}_isInComparisonRange(e){return nt(e,this.comparisonStart,this.comparisonEnd,this.isRange)}_isComparisonIdentical(e){return this.comparisonStart===this.comparisonEnd&&e===this.comparisonStart}_isPreviewStart(e){return at(e,this.previewStart,this.previewEnd)}_isPreviewEnd(e){return it(e,this.previewStart,this.previewEnd)}_isInPreview(e){return nt(e,this.previewStart,this.previewEnd,this.isRange)}_getDescribedby(e){if(!this.isRange)return null;if(this.startValue===e&&this.endValue===e)return`${this._startDateLabelId} ${this._endDateLabelId}`;if(this.startValue===e)return this._startDateLabelId;if(this.endValue===e)return this._endDateLabelId;if(this.comparisonStart!==null&&this.comparisonEnd!==null){if(e===this.comparisonStart&&e===this.comparisonEnd)return`${this._comparisonStartDateLabelId} ${this._comparisonEndDateLabelId}`;if(e===this.comparisonStart)return this._comparisonStartDateLabelId;if(e===this.comparisonEnd)return this._comparisonEndDateLabelId}return null}_enterHandler=e=>{if(this._skipNextFocus&&e.type==="focus"){this._skipNextFocus=!1;return}if(e.target&&this.isRange){let a=this._getCellFromElement(e.target);a&&this._ngZone.run(()=>this.previewChange.emit({value:a.enabled?a:null,event:e}))}};_touchmoveHandler=e=>{if(!this.isRange)return;let a=$t(e),t=a?this._getCellFromElement(a):null;a!==e.target&&(this._didDragSinceMouseDown=!0),tt(e.target)&&e.preventDefault(),this._ngZone.run(()=>this.previewChange.emit({value:t?.enabled?t:null,event:e}))};_leaveHandler=e=>{this.previewEnd!==null&&this.isRange&&(e.type!=="blur"&&(this._didDragSinceMouseDown=!0),e.target&&this._getCellFromElement(e.target)&&!(e.relatedTarget&&this._getCellFromElement(e.relatedTarget))&&this._ngZone.run(()=>this.previewChange.emit({value:null,event:e})))};_mousedownHandler=e=>{if(!this.isRange)return;this._didDragSinceMouseDown=!1;let a=e.target&&this._getCellFromElement(e.target);!a||!this._isInRange(a.compareValue)||this._ngZone.run(()=>{this.dragStarted.emit({value:a.rawValue,event:e})})};_mouseupHandler=e=>{if(!this.isRange)return;let a=tt(e.target);if(!a){this._ngZone.run(()=>{this.dragEnded.emit({value:null,event:e})});return}a.closest(".mat-calendar-body")===this._elementRef.nativeElement&&this._ngZone.run(()=>{let t=this._getCellFromElement(a);this.dragEnded.emit({value:t?.rawValue??null,event:e})})};_touchendHandler=e=>{let a=$t(e);a&&this._mouseupHandler({target:a})};_getCellFromElement(e){let a=tt(e);if(a){let t=a.getAttribute("data-mat-row"),i=a.getAttribute("data-mat-col");if(t&&i)return this.rows[parseInt(t)]?.[parseInt(i)]||null}return null}static \u0275fac=function(a){return new(a||n)};static \u0275cmp=k({type:n,selectors:[["","mat-calendar-body",""]],hostAttrs:[1,"mat-calendar-body"],inputs:{label:"label",rows:"rows",todayValue:"todayValue",startValue:"startValue",endValue:"endValue",labelMinRequiredCells:"labelMinRequiredCells",numCols:"numCols",activeCell:"activeCell",isRange:"isRange",cellAspectRatio:"cellAspectRatio",comparisonStart:"comparisonStart",comparisonEnd:"comparisonEnd",previewStart:"previewStart",previewEnd:"previewEnd",startDateAccessibleName:"startDateAccessibleName",endDateAccessibleName:"endDateAccessibleName"},outputs:{selectedValueChange:"selectedValueChange",previewChange:"previewChange",activeDateChange:"activeDateChange",dragStarted:"dragStarted",dragEnded:"dragEnded"},exportAs:["matCalendarBody"],features:[T],attrs:ha,decls:11,vars:11,consts:[["aria-hidden","true"],["role","row"],[1,"mat-calendar-body-hidden-label",3,"id"],[1,"mat-calendar-body-label"],[1,"mat-calendar-body-label",3,"paddingTop","paddingBottom"],["role","gridcell",1,"mat-calendar-body-cell-container",3,"width","paddingTop","paddingBottom"],["role","gridcell",1,"mat-calendar-body-cell-container"],["type","button",1,"mat-calendar-body-cell",3,"click","focus","ngClass","tabindex"],[1,"mat-calendar-body-cell-content","mat-focus-indicator"],["aria-hidden","true",1,"mat-calendar-body-cell-preview"]],template:function(a,t){a&1&&(re(0,ua,3,6,"tr",0),ye(1,ga,4,1,"tr",1,pa,!0),l(3,"span",2),b(4),h(),l(5,"span",2),b(6),h(),l(7,"span",2),b(8),h(),l(9,"span",2),b(10),h()),a&2&&(se(t._firstRowOffset<t.labelMinRequiredCells?0:-1),d(),Ce(t.rows),d(2),_("id",t._startDateLabelId),d(),W(" ",t.startDateAccessibleName,`
2
2
  `),d(),_("id",t._endDateLabelId),d(),W(" ",t.endDateAccessibleName,`
3
3
  `),d(),_("id",t._comparisonStartDateLabelId),d(),We(" ",t.comparisonDateAccessibleName," ",t.startDateAccessibleName,`
4
4
  `),d(),_("id",t._comparisonEndDateLabelId),d(),We(" ",t.comparisonDateAccessibleName," ",t.endDateAccessibleName,`
@@ -0,0 +1 @@
1
+ import{a as pe}from"./chunk-PXVJNGTD.js";import{a as se}from"./chunk-VOQ5S4Z6.js";import{a as de}from"./chunk-RIX56SWS.js";import"./chunk-YLDUJ4GY.js";import"./chunk-KLVAH3GT.js";import{a as le}from"./chunk-FBZA4TL3.js";import"./chunk-BGFEVOPZ.js";import{a as oe,b as ae,d as re}from"./chunk-EAPRH7EP.js";import{b as ie}from"./chunk-ZOV7OQE6.js";import"./chunk-HDNULDU2.js";import"./chunk-VSXPCIHS.js";import"./chunk-6GXJ4SD6.js";import"./chunk-FI7KHIPS.js";import"./chunk-2767EOG5.js";import"./chunk-6UFKTBFI.js";import"./chunk-EYRMOG2V.js";import"./chunk-H5YNAWK2.js";import"./chunk-F7U7V7F4.js";import"./chunk-QUDI2RQN.js";import"./chunk-Y3LPTD5V.js";import"./chunk-G6DXF6MT.js";import"./chunk-XU7ZLD5O.js";import"./chunk-GMRSDMCF.js";import"./chunk-TFHB3OE5.js";import"./chunk-XE7FN7WV.js";import"./chunk-FQLH72J4.js";import"./chunk-HD5RAZOS.js";import"./chunk-J7VARP7L.js";import{b as ne,c as T}from"./chunk-U5LGPDSJ.js";import{b as te}from"./chunk-NCHJULNE.js";import"./chunk-KZWEUXCA.js";import{h as K}from"./chunk-EHFG3EIP.js";import"./chunk-O2GBNE2A.js";import"./chunk-QXRG5XYP.js";import"./chunk-HZRIS4FA.js";import"./chunk-Q5PH4VIQ.js";import"./chunk-NNVT5X6O.js";import{c as U,h as J,m as Q,o as X,u as Y,v as Z,z as ee}from"./chunk-NZPISKQV.js";import{e as H}from"./chunk-UC7FUQNJ.js";import{b as $,e as j}from"./chunk-67URAZUP.js";import"./chunk-MXZNUKSS.js";import{B as G}from"./chunk-OOGQ5PSL.js";import"./chunk-ASFPLYOZ.js";import{$b as I,Ca as E,Cb as w,Da as O,Dc as F,Fc as A,Gc as l,Hc as b,Ic as v,Uc as L,Vb as h,Vc as V,X as M,Xb as _,Zb as P,_b as B,ac as p,bc as n,cb as R,cc as t,cd as k,dc as S,eb as o,ed as z,ga as f,kc as W,kd as q,na as x,oa as N,pc as m,rc as C,wb as D,za as g}from"./chunk-YU6N3IVV.js";import{a as c,b as y}from"./chunk-QWWW7GFA.js";var ge=()=>["/menu/log/order/detail-user"],ue=a=>({ID:a});function ce(a,u){if(a&1&&(n(0,"span",22),S(1,"img",23),t(),l(2)),a&2){let e=u.item;o(),p("src",e.Img,R)("alt",e.Name),o(),v(" ",e.Name," ")}}function he(a,u){a&1&&(n(0,"th")(1,"span",29),l(2," Response Body Warning "),t()())}function _e(a,u){a&1&&(n(0,"th")(1,"span",29),l(2," Number Override "),t()())}function Ce(a,u){if(a&1&&(n(0,"td",26)(1,"span",31),l(2),t()()),a&2){let e=C().$implicit;o(),F("bg-warning",e.responseBodyWarning!=null),o(),b(e.responseBodyWarning)}}function fe(a,u){if(a&1&&(n(0,"td"),l(1),t()),a&2){let e=C().$implicit;o(),v(" ",e.ResponseBodyWarningReference," ")}}function be(a,u){if(a&1&&(n(0,"tr")(1,"td")(2,"a",30),l(3),k(4,"date"),t()(),n(5,"td"),l(6),t(),n(7,"td"),l(8),t(),n(9,"td"),l(10),t(),n(11,"td",26)(12,"span",31),l(13),t()(),h(14,Ce,3,3,"td",26),h(15,fe,2,1,"td"),t()),a&2){let e=u.$implicit,d=C(2);o(2),p("routerLink",L(14,ge))("queryParams",V(15,ue,e.ID)),o(),v(" ",z(4,11,e.Created,"dd MMM yyyy HH:mm:ss")," "),o(3),b(e.ChannelName),o(2),b(e.POSActionTypeString),o(2),b(e.Number),o(2),A(e.ResponseCode===200||e.ResponseCode===202?"bg-success":"bg-warning"),o(),v(" ",e.ResponseCode," "),o(),_(d.responseBodyWarningVisible()?14:-1),o(),_(d.responseBodyWarningVisible()?15:-1)}}function ve(a,u){if(a&1){let e=W();n(0,"div",20)(1,"table",24)(2,"thead")(3,"tr",25)(4,"th"),l(5,"Date"),t(),n(6,"th"),l(7,"Channel"),t(),n(8,"th"),l(9,"Actions"),t(),n(10,"th"),l(11,"Number"),t(),n(12,"th",26)(13,"span",27),l(14," Response Code "),t()(),h(15,he,3,0,"th"),h(16,_e,3,0,"th"),t()(),n(17,"tbody"),B(18,be,16,17,"tr",null,P),t()(),n(20,"mat-paginator",28),m("page",function(i){x(e);let r=C();return N(r.changePage(i))}),t()()}if(a&2){let e=C();o(15),_(e.responseBodyWarningVisible()?15:-1),o(),_(e.responseBodyWarningVisible()?16:-1),o(2),I(e.Result()),o(2),p("length",e.paginationTotal())("pageSize",e.paginationPageSize())("pageIndex",e.filter().PageNumber==0?0:e.filter().PageNumber-1)}}function ye(a,u){a&1&&(n(0,"div",21),S(1,"app-empty-state"),t())}var qe=(()=>{class a{constructor(){this.http=f(H),this._RawLogService=f(pe),this.route=f($),this.authService=f(K),this.queryParams=ne(this.route.queryParams,{initialValue:{}}),this.responseCode=q(()=>this.queryParams()?.responseCode),this.Result=g([]),this.filter=g({RowCount:20,Number:"",PageNumber:1,ActionType:"",ChannelID:"",StatusCode:"",From:"",To:"",responseBodyWarning:""}),this.paginationTotal=g(0),this.paginationPageSize=g(0),this.Number=g(null),this.channelOptions=g(this.authService.getChannels()),this.ActionTypeList=g(null),this.responseBodyWarningVisible=g(!1),this.loader=T({params:()=>this.queryParams(),stream:({params:e})=>this.http.post("/api/OrdersLoader/Get",this.responseCode()!==void 0?e:{})}),this.reloadToken=g(0),this.resource=T({params:()=>this.reloadToken(),stream:()=>{let e=c(c({},this.filter()),this.responseCode()!==void 0?{responseCode:this.responseCode()}:{});return this.http.post("/api/Orders/Get",e).pipe(M(d=>{this._RawLogService.Data=d.hits;let i=[];for(let r of d.hits){r._source.log.responseBodyWarning!=null&&this.responseBodyWarningVisible.set(!0);let s={ID:r._id,Created:r._source["@timestamp_received"],shopId:r._source.shopId,MarketTypeString:r._source.log.type,ChannelName:r._source?.channelId!=null?this.channelOptions().find(me=>me.ID===r._source?.channelId)?.Name:"",POSActionTypeString:r._source.message,Number:r._source.log.number,ResponseCode:r._source.log.responseCode,responseBodyWarning:r._source.log.responseBodyWarning,ResponseBodyWarningReference:r._source.log.ResponseBodyWarningReference};i.push(s)}this.Result.set(i),this.paginationTotal.set(d.total.value),this.paginationPageSize.set(this.filter().RowCount>this.paginationTotal()?this.paginationTotal():this.filter().RowCount)}))}}),E(()=>{let e=this.loader.value();e&&(this.filter.update(d=>c(c({},d),e.Filter)),this.ActionTypeList.set(e.Options.ActionTypeList),O(()=>this.Get()))})}Get(e){this.filter.update(d=>y(c({},d),{Number:e})),this.reloadToken.update(d=>d+1)}changePage(e){this.filter.update(d=>y(c({},d),{PageNumber:e.pageIndex+1})),this.Get()}updateFilter(e,d){this.filter.update(i=>y(c({},i),{[e]:d}))}static{this.\u0275fac=function(d){return new(d||a)}}static{this.\u0275cmp=D({type:a,selectors:[["app-order"]],decls:42,vars:14,consts:[["headerTitle","Order Log","searchBoxPlaceHolder","Invoice Number..",3,"textChange","onSubmit","text"],[1,"fw-bold","mb-2"],["appendTo","body","bindLabel","Name","name","channelid","bindValue","ID","placeholder","Select Channel",1,"center-text",3,"ngModelChange","clearable","items","ngModel"],["ng-option-tmp","","ng-label-tmp",""],[1,"mt-5"],["bindLabel","Value","name","ActionType","bindValue","Key","placeholder","Action Type",1,"center-text",3,"ngModelChange","clearable","items","ngModel"],[1,"fw-bold","mb-1"],[1,"mb-4"],["name","From",3,"dateChange","date"],["name","To",3,"dateChange","date"],[1,"fw-bold"],["type","text","name","StatusCode",1,"w-100","mt-2","form-control",3,"ngModelChange","ngModel"],["type","text","name","responseBodyWarning","list","listresponseBodyWarning",1,"w-100","mt-2","form-control",3,"ngModelChange","ngModel"],["id","listresponseBodyWarning"],["value","number-override"],["type","number","name","PageNumber",1,"w-100","mt-2","form-control",3,"ngModelChange","ngModel"],["type","number","name","RowCount",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,"me-2"],[2,"width","18px",3,"src","alt"],[1,"table","table-hover"],[1,"table-light"],[1,"text-center"],["matTooltip","Http Status Code from developer.dealpos.com."],[3,"page","length","pageSize","pageIndex"],["matTooltip","ex: when payload.Number != response.Number value will be number-override"],[3,"routerLink","queryParams"],[1,"text-white","p-2","rounded","response-desc"]],template:function(d,i){if(d&1&&(n(0,"mainpanel",0),m("textChange",function(s){return i.Number.set(s)})("onSubmit",function(s){return i.Get(s)}),n(1,"filters")(2,"div")(3,"label",1),l(4,"Channel"),t(),n(5,"ng-select",2),m("ngModelChange",function(s){return i.updateFilter("ChannelID",s)}),w(6,ce,3,3,"ng-template",3),t()(),n(7,"div",4)(8,"label",1),l(9,"Action"),t(),n(10,"ng-select",5),m("ngModelChange",function(s){return i.updateFilter("ActionType",s)}),t()(),n(11,"div",4)(12,"label",6),l(13,"From/To"),t(),n(14,"div",7)(15,"datepicker",8),m("dateChange",function(s){return i.updateFilter("From",s)}),t()(),n(16,"div")(17,"datepicker",9),m("dateChange",function(s){return i.updateFilter("To",s)}),t()()(),n(18,"div",4)(19,"label",10),l(20,"Response Code"),t(),n(21,"input",11),m("ngModelChange",function(s){return i.updateFilter("StatusCode",s)}),t()(),n(22,"div",4)(23,"label",10),l(24,"Response Body Warning"),t(),n(25,"input",12),m("ngModelChange",function(s){return i.updateFilter("responseBodyWarning",s)}),t(),n(26,"datalist",13),S(27,"option",14),t()(),n(28,"div",4)(29,"label",10),l(30,"Page Number"),t(),n(31,"input",15),m("ngModelChange",function(s){return i.updateFilter("PageNumber",s)}),t()(),n(32,"div",4)(33,"label",10),l(34,"Page Size"),t(),n(35,"input",16),m("ngModelChange",function(s){return i.updateFilter("RowCount",s)}),t()()(),n(36,"content")(37,"div",17)(38,"div",18)(39,"div",19),h(40,ve,21,5,"div",20)(41,ye,2,0,"div",21),t()()()()()),d&2){let r;p("text",i.Number()),o(5),p("clearable",!0)("items",i.channelOptions())("ngModel",i.filter().ChannelID),o(5),p("clearable",!0)("items",i.ActionTypeList())("ngModel",i.filter().ActionType),o(5),p("date",i.filter().From),o(2),p("date",i.filter().To),o(4),p("ngModel",i.filter().StatusCode),o(4),p("ngModel",i.filter().responseBodyWarning),o(6),p("ngModel",i.filter().PageNumber),o(4),p("ngModel",i.filter().RowCount),o(5),_(((r=i.Result())==null?null:r.length)>0?40:41)}},dependencies:[ie,re,ee,Y,Z,U,X,J,Q,oe,ae,de,te,j,se,le,G],encapsulation:2,changeDetection:0})}}return a})();export{qe as OrderComponent};
@@ -0,0 +1 @@
1
+ import{c as M}from"./chunk-NNVT5X6O.js";import{e as Q}from"./chunk-UC7FUQNJ.js";import{e as V}from"./chunk-67URAZUP.js";import{D as B}from"./chunk-OOGQ5PSL.js";import{$b as f,Fc as P,Gc as p,Hc as y,Ic as N,Qc as S,Uc as L,Vb as v,Xb as E,Yb as k,Zb as b,Zc as U,_b as h,ac as g,ba as D,bc as a,cb as _,cc as o,cd as O,dc as T,dd as I,eb as n,fa as w,kd as R,qd as x,rc as d,wb as F,za as C}from"./chunk-YU6N3IVV.js";var A=class{};var te=(()=>{class i{constructor(e){this.http=e}GetLoader(){return this.http.post("/api/Report/GetLoader",{})}GetSyncOrder(e){return new Promise((t,r)=>{this.http.post("/api/Report/Salesorder",JSON.stringify(e)).subscribe(s=>{t(s)})})}GetSyncInvoice(e){return new Promise((t,r)=>{this.http.post("/api/Report/CreateInvoice",JSON.stringify(e)).subscribe(s=>{t(s)})})}GetSyncVoidInvoice(e){return new Promise((t,r)=>{this.http.post("/api/Report/Void",JSON.stringify(e)).subscribe(s=>{t(s)})})}GetSyncConvertInvoice(e){return new Promise((t,r)=>{this.http.post("/api/Report/ConvertToInvoice",JSON.stringify(e)).subscribe(s=>{t(s)})})}GetSyncDelivery(e){return new Promise((t,r)=>{this.http.post("/api/Report/Delivery",JSON.stringify(e)).subscribe(s=>{t(s)})})}GetSyncPayment(e){return new Promise((t,r)=>{this.http.post("/api/Report/Payment",JSON.stringify(e)).subscribe(s=>{t(s)})})}getAllReport(e){return this.http.post("/api/Report/all",JSON.stringify(e))}static{this.\u0275fac=function(t){return new(t||i)(w(Q))}}static{this.\u0275prov=D({token:i,factory:i.\u0275fac,providedIn:"root"})}}return i})();var c=(function(i){return i[i.OK=200]="OK",i[i.BAD_REQUEST=400]="BAD_REQUEST",i[i.CONFLICT=409]="CONFLICT",i[i.NOT_FOUND=404]="NOT_FOUND",i[i.INTERNAL_SERVER_ERROR=500]="INTERNAL_SERVER_ERROR",i})(c||{});var J=()=>["/menu/log/order"],G=(i,l,e,t,r)=>({responseCode:i,From:l,to:e,actionType:t,ChannelID:r});function $(i,l){if(i&1&&(a(0,"th",4)(1,"div",5)(2,"h4"),p(3),o(),a(4,"small",6),p(5),o()()()),i&2){let e=l.$implicit,t=d();n(3),y(e),n(),P(t.getTextBgColor(e)),n(),y(t.getHeaderStatusDesc(e))}}function z(i,l){if(i&1&&(a(0,"a",10),p(1),O(2,"number"),o()),i&2){let e=d().$implicit,t=d().$implicit,r=d();g("routerLink",L(5,J))("queryParams",U(6,G,e.Key,r.fromQueryParam(),r.toQueryParam(),r.type(),t.ChannelID)),n(),N(" ",I(2,3,e.Value)," ")}}function q(i,l){i&1&&(a(0,"span",11),p(1,"-"),o())}function H(i,l){if(i&1&&(a(0,"td",9),v(1,z,3,12,"a",10)(2,q,2,0,"span",11),o()),i&2){let e=l.$implicit;n(),E(e.Value?1:2)}}function W(i,l){if(i&1&&(a(0,"tr")(1,"td")(2,"a",7),T(3,"img",8),o()(),a(4,"td")(5,"div")(6,"a",7),p(7),o()(),a(8,"div"),p(9),o()(),h(10,H,3,1,"td",9,k),o()),i&2){let e=l.$implicit,t=d();n(2),g("href",S(e.Url),_),n(),g("src",t.getChannelLogo(e.Type),_),n(3),g("href",S(e.Url),_),n(),y(e.Name),n(2),y(e.Url),n(),f(e.list)}}function X(i,l){if(i&1&&(a(0,"td",9)(1,"div",14),p(2),O(3,"number"),o()()),i&2){let e=l.$implicit;n(2),N(" ",I(3,1,e.total)," ")}}function Y(i,l){if(i&1&&(a(0,"tfoot")(1,"tr")(2,"td",12)(3,"div",13),p(4,"Total"),o()(),h(5,X,4,3,"td",9,b),o()()),i&2){let e=d();n(5),f(e.logsCalculation())}}var me=(()=>{class i{constructor(){this.header=x([]),this.result=x([]),this.orderedHeader=R(()=>this.header().sort((e,t)=>e-t)),this.logsOrdered=R(()=>{let e=this.result();return e=e.map(t=>(this.orderedHeader().forEach(r=>{t.list.findIndex(m=>m.Key===r)===-1&&t.list.push({Key:r,Value:0}),t.list.sort((m,u)=>m.Key-u.Key)}),t)),e}),this.logsCalculation=R(()=>{let e=this.concatStatusCode(),t=[];return this.orderedHeader().forEach(r=>{let m=e.filter(u=>u.Key===r).reduce((u,K)=>u+K.Value,0);t.push({status:r,total:m})}),t}),this.fromQueryParam=C(""),this.toQueryParam=C(""),this.type=x(null),this.headerStatus=c,this.listCalculationStatusCode=C([])}set from(e){e&&this.fromQueryParam.set(new Date(e).toJSON().toString())}set to(e){e&&this.toQueryParam.set(new Date(e).toJSON().toString())}getHeaderStatusDesc(e){let t=null;switch(e){case c.BAD_REQUEST:t="BAD REQUEST";break;case c.CONFLICT:t="CONFLICT";break;case c.INTERNAL_SERVER_ERROR:t="INTERNAL SERVER ERROR";break;case c.NOT_FOUND:t="NOT FOUND";break;default:t="OK";break}return t}getTextBgColor(e){let t=null;switch(e){case c.OK:t="bg-success";break;case c.INTERNAL_SERVER_ERROR:t="bg-danger";break;default:t="bg-warning";break}return t}getChannelLogo(e){return M.getChannelLogoByTypeId(e)}concatStatusCode(){return this.logsOrdered().map(e=>e.list).reduce((e,t)=>[...e,...t],[])}static{this.\u0275fac=function(t){return new(t||i)}}static{this.\u0275cmp=F({type:i,selectors:[["app-table-report"]],inputs:{header:[1,"header"],result:[1,"result"],from:"from",to:"to",type:[1,"type"]},decls:12,vars:1,consts:[[1,"table"],[1,"thead-light","sticky-top-thead"],[2,"width","0%"],[2,"width","5%"],[1,"text-start",2,"width","10%"],[1,"d-block"],[1,"text-white","p-1","rounded","response-desc"],["target","_blank",3,"href"],[2,"width","24px","height","24px",3,"src"],[1,"text-start"],[1,"h3","text-primary","fw-bold","ms-1",3,"routerLink","queryParams"],[1,"h3","fw-bold","ms-1"],["colspan","2"],[1,"text-center","h3","fw-bold"],[1,"d-inline-block","h3","text-primary","fw-bold","ms-1"]],template:function(t,r){t&1&&(a(0,"table",0)(1,"thead",1)(2,"tr"),T(3,"th",2),a(4,"th",3),p(5,"Channel"),o(),h(6,$,6,4,"th",4,b),o()(),a(8,"tbody"),h(9,W,12,7,"tr",null,b),o(),v(11,Y,7,0,"tfoot"),o()),t&2&&(n(6),f(r.orderedHeader()),n(3),f(r.logsOrdered()),n(2),E(r.logsCalculation().length>0?11:-1))},dependencies:[V,B],styles:[".response-desc[_ngcontent-%COMP%]{font-size:12px}"],changeDetection:0})}}return i})();export{A as a,te as b,me as c};
@@ -0,0 +1,5 @@
1
+ import{a as fe,b as be,c as Ce,d as ve,e as we,f as Le,g as Re,h as Ne,j as Ve}from"./chunk-Z4OMCYBI.js";import"./chunk-CMUBD5R7.js";import{a as De,b as Pe}from"./chunk-XTKTVZ2A.js";import"./chunk-X25CNJEY.js";import{b as ze}from"./chunk-SJAF4YQS.js";import{a as Te}from"./chunk-3KWKIGCG.js";import{a as Ee}from"./chunk-DOO32EL7.js";import{a as Me}from"./chunk-IQ2QCUYQ.js";import"./chunk-OQVWI5RR.js";import"./chunk-6EZURWCE.js";import{a as ke}from"./chunk-IUP257JK.js";import"./chunk-G7EFF2OH.js";import"./chunk-GRBY6A25.js";import"./chunk-XJ647P3Z.js";import{a as xe}from"./chunk-NVFPEIBK.js";import{c as Se,g as Ie}from"./chunk-2WNLMFBJ.js";import{d as ye}from"./chunk-HHIYV6SY.js";import{a as _e}from"./chunk-KOBEFS2S.js";import"./chunk-3E64KI3Y.js";import"./chunk-6IBSQ4O6.js";import"./chunk-BGFEVOPZ.js";import"./chunk-Q3STYUEA.js";import"./chunk-DIWXDN75.js";import{f as ge}from"./chunk-MZNVUECO.js";import{b as me}from"./chunk-ZOV7OQE6.js";import"./chunk-HDNULDU2.js";import"./chunk-VSXPCIHS.js";import"./chunk-6GXJ4SD6.js";import{ra as G,sa as W}from"./chunk-KOOWEFV6.js";import{a as Q,c as ue}from"./chunk-U5LGPDSJ.js";import"./chunk-NCHJULNE.js";import"./chunk-KZWEUXCA.js";import{a as de}from"./chunk-ZSUWHVKX.js";import{h as se}from"./chunk-EHFG3EIP.js";import"./chunk-O2GBNE2A.js";import"./chunk-QXRG5XYP.js";import"./chunk-HZRIS4FA.js";import{b as re,c as ae}from"./chunk-Q5PH4VIQ.js";import{c as U}from"./chunk-NNVT5X6O.js";import{b as ce,h as pe,m as he,z as R}from"./chunk-NZPISKQV.js";import{b as oe,e as le}from"./chunk-UC7FUQNJ.js";import"./chunk-67URAZUP.js";import"./chunk-MXZNUKSS.js";import{D as ie,F as ne}from"./chunk-OOGQ5PSL.js";import"./chunk-ASFPLYOZ.js";import{$b as ee,Cb as T,Dc as C,Gc as d,Hc as te,Ic as g,Kc as O,Lc as H,Mc as K,Tc as A,Uc as L,Vb as D,Vc as k,X as V,Xb as P,Yb as Z,_b as Y,ac as h,ba as F,bc as o,ca as j,cb as z,cc as l,cd as w,dc as _,dd as S,eb as a,ga as v,gd as M,hc as I,ic as E,kc as y,na as u,oa as m,pc as b,q,rc as s,ta as J,wb as B,xb as X,za as x}from"./chunk-YU6N3IVV.js";import"./chunk-QWWW7GFA.js";var Be=(()=>{class i{static \u0275fac=function(n){return new(n||i)};static \u0275mod=X({type:i});static \u0275inj=j({imports:[ne,Le,Ie,Se,fe,be,Ce,we,ve,ze,_e,ye,Te,ke,W,R,ge,W]})}return i})();var $=(()=>{class i{constructor(){this.httpSerivice=v(le),this.toastrHandlingService=v(Ee),this.toastr=v(oe)}getChannelSummary$(e=[]){return this.httpSerivice.post("api/inventory/InventorySummary",{ListChannelID:e}).pipe(q(n=>n.Data.map((t,r)=>(t.id=r,t.Img=U.getChannelLogoByTypeId(t.Type),t.Groups=this.groupingProductByOutlet(t.Products),t.LocationNames=this.groupingLocationName(t.Groups),t))))}groupingProductByOutlet(e){let n=null;return U.IsNotEmpty(e[0].Outlet)&&(n=e.reduce((t,r)=>{let p=r.Outlet;return t[p]||(t[p]=[]),t[p].push(r),t},{})),n}groupingLocationName(e){let n=[];return e&&(n=Object.keys(e).map(t=>t)),n}refreshInventory(e,n){let t={ChannelItemID:e.ChannelItemID,ChannelVariationID:e.ChannelVariationID,ChannelID:n,VariantID:e.POSVariantID};return this.httpSerivice.post("/api/Inventory/RefreshInventoryChannel",t).pipe(V(()=>{this.toastr.success("Inventory refreshed successfully","Success")}))}updateChannelInventory(e){let n=this.mappingPayloadUpdateInventory(e);return this.httpSerivice.post("/api/Inventory/UpdateChannel",n).pipe(V(t=>{this.toastrHandlingService.showToastrUploadMultiple(t,this.customizeToastrMessage)}))}customizeToastrMessage(e,n){return`
2
+ <div>
3
+ Product ${e.Name} was <div class="d-inline fw-bold">successfully</div> updated to ${n}
4
+ </div>
5
+ `}mappingPayloadUpdateInventory(e){let n=[],t=[];return e.filter(p=>p.Products.some(f=>f.Selected)).forEach(p=>{p.Products.filter(f=>f.Selected).forEach(f=>{n.push({ChannelItemID:f.ChannelItemID,ChannelVariationID:f.ChannelVariationID,Inventory:f.InventoryPOS,LocationID:f.LocationID})}),t.push(p.ChannelID)}),{ListChannelID:t,List:n}}static{this.\u0275fac=function(n){return new(n||i)}}static{this.\u0275prov=F({token:i,factory:i.\u0275fac})}}return i})();var Oe=()=>[],He=()=>({"min-width":"60rem"}),N=i=>[i];function Ke(i,c){if(i&1){let e=y();o(0,"button",12),b("click",function(){let t=u(e),r=s(2);return m(r.onUpdateInventory(t))}),_(1,"i",13),d(2," Update "),l()}}function Ae(i,c){if(i&1&&D(0,Ke,3,0,"button",11),i&2){let e,n=s();P((e=n.inventories.value())?0:-1,e)}}function Ue(i,c){i&1&&(o(0,"tr"),_(1,"th",14),o(2,"th"),d(3,"Channel"),l(),o(4,"th",15),d(5,"Sold In Channel"),l(),o(6,"th",16),d(7," Different Inventory "),l()())}function Ge(i,c){if(i&1&&(o(0,"tr",17)(1,"td"),_(2,"p-button",18),l(),o(3,"td"),_(4,"img",19),o(5,"span"),d(6),l()(),o(7,"td",20),d(8),l(),o(9,"td",20),d(10),l()()),i&2){let e=c.$implicit,n=c.expanded;a(2),h("pRowToggler",e)("text",!0)("rounded",!0)("plain",!0)("icon",n?"fa-solid fa-chevron-down":"fa fa-chevron-right"),a(2),h("src",e.Img,z),a(2),g(" ",e.ChannelName," "),a(2),g(" ",e.SoldInChannel," "),a(2),g(" ",e==null||e.Products==null?null:e.Products.length," ")}}function We(i,c){if(i&1){let e=y();I(0),o(1,"th",29)(2,"div",30)(3,"input",31),b("change",function(t){u(e);let r=s(3).$implicit,p=s();return m(p.onCheckAllProduct(t==null||t.target==null?null:t.target.checked,r.Products))}),l()()(),E()}}function Qe(i,c){if(i&1&&(o(0,"tr"),T(1,We,4,0,"ng-container",25),o(2,"th"),d(3,"Product"),l(),o(4,"th",26),d(5,"Code"),l(),o(6,"th",27),d(7,"POS"),l(),o(8,"th",27),d(9," Reserved "),l(),o(10,"th",28),d(11," Channel "),l()()),i&2){let e=s(3);a(),h("ngxPermissionsOnly",k(1,N,e.inventoryUpdateRole))}}function $e(i,c){if(i&1){let e=y();I(0),o(1,"td")(2,"div",30)(3,"input",42),K("ngModelChange",function(t){u(e);let r=s().$implicit;return H(r.Selected,t)||(r.Selected=t),m(t)}),b("ngModelChange",function(){u(e);let t=s(4).$implicit,r=s();return m(r.onCheckProduct(t==null?null:t.Products))}),l()()(),E()}if(i&2){let e=s().$implicit;a(3),O("ngModel",e.Selected)}}function qe(i,c){if(i&1){let e=y();o(0,"tr"),T(1,$e,4,1,"ng-container",25),o(2,"td"),d(3),l(),o(4,"td"),d(5),l(),o(6,"td",20),d(7),w(8,"number"),l(),o(9,"td",20),d(10),w(11,"number"),l(),o(12,"td",35)(13,"div",36)(14,"div"),d(15),w(16,"number"),l(),o(17,"div",37)(18,"a",38),_(19,"i",39),l()(),o(20,"div",37)(21,"span",40),b("click",function(){let t=u(e).$implicit,r=s(3).$implicit,p=s();return m(p.onRefreshInventory(t,r==null?null:r.ChannelID))}),_(22,"i",41),l()()()()()}if(i&2){let e=c.$implicit,n=s().rowIndex,t=s(2).$implicit,r=s();C("child-border",n!==(t==null||t.Products==null?null:t.Products.length)-1),a(),h("ngxPermissionsOnly",k(15,N,r.inventoryUpdateRole)),a(2),te(e.Name),a(2),g(" ",e.Code," "),a(2),g(" ",S(8,9,e.InventoryPOS)," "),a(3),g(" ",S(11,11,e.InventoryReserved)," "),a(5),g(" ",S(16,13,e.InventoryChannel)," "),a(3),h("href",e==null?null:e.URL_External,z)}}function je(i,c){if(i&1&&(o(0,"tr")(1,"td",32)(2,"h4",33),d(3),l()()(),Y(4,qe,23,17,"tr",34,Z)),i&2){let e=c.$implicit,n=c.rowIndex,t=s(2).$implicit;C("child-border",n!==(t==null||t.Products==null?null:t.Products.length)-1),a(3),g(" ",e," "),a(),ee(t.Groups[e])}}function Je(i,c){if(i&1&&(o(0,"p-table",22),T(1,Qe,12,3,"ng-template",23)(2,je,6,3,"ng-template",24),l()),i&2){let e=s().$implicit;h("value",e.LocationNames)}}function Xe(i,c){if(i&1){let e=y();I(0),o(1,"th",29)(2,"div",30)(3,"input",31),b("change",function(t){u(e);let r=s(3).$implicit,p=s();return m(p.onCheckAllProduct(t==null||t.target==null?null:t.target.checked,r.Products))}),l()()(),E()}}function Ze(i,c){if(i&1&&(o(0,"tr"),T(1,Xe,4,0,"ng-container",25),o(2,"th"),d(3,"Product"),l(),o(4,"th",26),d(5,"Code"),l(),o(6,"th",27),d(7,"POS"),l(),o(8,"th",27),d(9," Reserved "),l(),o(10,"th",28),d(11," Channel "),l()()),i&2){let e=s(3);a(),h("ngxPermissionsOnly",k(1,N,e.inventoryUpdateRole))}}function Ye(i,c){if(i&1){let e=y();I(0),o(1,"td")(2,"div",30)(3,"input",42),K("ngModelChange",function(t){u(e);let r=s().$implicit;return H(r.Selected,t)||(r.Selected=t),m(t)}),b("ngModelChange",function(){u(e);let t=s(3).$implicit,r=s();return m(r.onCheckProduct(t==null?null:t.Products))}),l()()(),E()}if(i&2){let e=s(),n=e.$implicit,t=e.rowIndex,r=s(2).$implicit;a(),C("child-border",t==(r==null||r.Products==null?null:r.Products.length)-1),a(2),O("ngModel",n.Selected)}}function et(i,c){if(i&1){let e=y();o(0,"tr"),T(1,Ye,4,3,"ng-container",25),o(2,"td"),d(3),l(),o(4,"td"),d(5),l(),o(6,"td",20),d(7),w(8,"number"),l(),o(9,"td",20),d(10),w(11,"number"),l(),o(12,"td",35)(13,"div",36)(14,"div"),d(15),w(16,"number"),l(),o(17,"div",37)(18,"a",38),_(19,"i",39),l()(),o(20,"div",37)(21,"span",40),b("click",function(){let t=u(e).$implicit,r=s(2).$implicit,p=s();return m(p.onRefreshInventory(t,r==null?null:r.ChannelID))}),_(22,"i",41),l()()()()()}if(i&2){let e=c.$implicit,n=c.rowIndex,t=s(2).$implicit,r=s();C("child-border",n==(t==null||t.Products==null?null:t.Products.length)-1),a(),h("ngxPermissionsOnly",k(23,N,r.inventoryUpdateRole)),a(),C("child-border",n==(t==null||t.Products==null?null:t.Products.length)-1),a(),g(" ",e.Name," "),a(2),g(" ",e.Code," "),a(),C("child-border",n==(t==null||t.Products==null?null:t.Products.length)-1),a(),g(" ",S(8,17,e.InventoryPOS)," "),a(2),C("child-border",n==(t==null||t.Products==null?null:t.Products.length)-1),a(),g(" ",S(11,19,e.InventoryReserved)," "),a(2),C("child-border",n==(t==null||t.Products==null?null:t.Products.length)-1),a(3),g(" ",S(16,21,e.InventoryChannel)," "),a(3),h("href",e==null?null:e.URL_External,z)}}function tt(i,c){if(i&1&&(o(0,"p-table",22),T(1,Ze,12,3,"ng-template",23)(2,et,23,25,"ng-template",24),l()),i&2){let e=s().$implicit;h("value",e.Products)}}function it(i,c){if(i&1&&(o(0,"tr"),_(1,"td"),o(2,"td",21)(3,"div"),D(4,Je,3,1,"p-table",22)(5,tt,3,1,"p-table",22),l()()()),i&2){let e=c.$implicit;a(4),P(e.Groups?4:5)}}var Ti=(()=>{class i{constructor(){this.channelSummaryService=v($),this.authService=v(se),this.destroyRef=v(J),this.channelOptions=x(this.authService.getChannels()),this.filteredChannels=x([]),this.reloadToken=x(0),this.inventories=ue({params:()=>this.reloadToken(),stream:()=>this.channelSummaryService.getChannelSummary$(this.filteredChannels())}),this.inventoryUpdateRole=de.InventoryUpdate,this.hasSelectedProducts=x(!1),this.expandedRows=x({})}onCheckAllProduct(e,n){this.hasSelectedProducts.set(e),n=n.map(t=>t.Selected=e)}onCheckProduct(e=[]){this.hasSelectedProducts.set(e.some(n=>n.Selected))}onFilter(){this.reloadToken.update(e=>e+1)}onUpdateInventory(e){this.channelSummaryService.updateChannelInventory(e).pipe(Q(this.destroyRef)).subscribe(()=>this.reloadToken.update(n=>n+1))}onRefreshInventory(e,n){this.channelSummaryService.refreshInventory(e,n).pipe(Q(this.destroyRef)).subscribe(()=>this.reloadToken.update(t=>t+1))}static{this.\u0275fac=function(n){return new(n||i)}}static{this.\u0275cmp=B({type:i,selectors:[["app-channel-summary"]],features:[A([$])],decls:19,vars:9,consts:[["header",""],["body",""],["expandedrow",""],["headerTitle","Different Inventory",3,"onSubmit","hideSearchBox"],[1,"fw-bold","mb-2"],[3,"ngModelChange","multiple","ngModel"],[1,"container-fluid","mt-3"],[1,"row"],[1,"col-md-12"],["dataKey","id",3,"expandedRowKeysChange","value","tableStyle","expandedRowKeys"],["pTemplate","rowexpansion"],[1,"btn","btn-success"],[1,"btn","btn-success",3,"click"],[1,"fas","fa-chevron-circle-up"],[2,"width","10px"],[1,"text-end",2,"width","200px"],[1,"text-end",2,"width","432px"],[1,"parent-border-bottom"],["type","button","pRipple","",3,"pRowToggler","text","rounded","plain","icon"],[1,"me-2",2,"width","20px",3,"src"],[1,"text-end"],["colspan","3",1,"py-8",2,"padding-right","0px"],["dataKey","id",3,"value"],["pTemplate","header"],["pTemplate","body"],[4,"ngxPermissionsOnly"],[2,"width","270px"],[1,"text-end",2,"width","120px"],[1,"text-end",2,"width","270px"],[2,"width","1rem"],[1,"d-flex","align-items-center","justify-content-center"],["type","checkbox",3,"change"],["colspan","5"],[1,"w-100","text-center","fw-normal","text-uppercase"],[3,"child-border"],[1,"text-end","bg-gradient-warning"],[1,"d-flex","align-items-center","justify-content-end"],[1,"ms-3"],["target","_blank",3,"href"],[1,"fa-solid","fa-arrow-up-right-from-square","external-link-custom"],["matTooltip","Refresh stock according to seller center",1,"pl-5","cursor-pointer",2,"color","var(--bs-link-color)",3,"click"],[1,"fas","fa-sync","fa-lg","external-link-custom","pt-1"],["type","checkbox",3,"ngModelChange","ngModel"]],template:function(n,t){if(n&1){let r=y();o(0,"mainpanel",3),b("onSubmit",function(){return u(r),m(t.onFilter())}),o(1,"actions"),D(2,Ae,1,1),l(),o(3,"filters")(4,"div")(5,"label",4),d(6,"Channel"),l(),o(7,"app-channel-options-v2",5),b("ngModelChange",function(f){return u(r),m(t.filteredChannels.set(f))}),l()()(),o(8,"content")(9,"div",6)(10,"div",7)(11,"div",8)(12,"p-table",9),b("expandedRowKeysChange",function(f){return u(r),m(t.expandedRows.set(f))}),T(13,Ue,8,0,"ng-template",null,0,M)(15,Ge,11,9,"ng-template",null,1,M)(17,it,6,1,"ng-template",10,2,M),l()()()()()()}n&2&&(h("hideSearchBox",!0),a(2),P(t.hasSelectedProducts()?2:-1),a(5),h("multiple",!0)("ngModel",t.filteredChannels()),a(5),h("value",t.inventories.value()??L(7,Oe))("tableStyle",L(8,He))("expandedRowKeys",t.expandedRows()))},dependencies:[me,Ve,Re,G,Ne,Pe,De,R,ce,pe,he,xe,Be,ae,re,Me,ie],styles:[".p-datatable .p-datatable-thead>tr>th{color:#3b3b3b!important;font-size:12px!important;text-transform:uppercase!important;background:#f4f4f4!important;padding:.571rem .857rem!important;border-width:0} p-table .p-datatable-tbody>tr.parent-border-bottom{border-bottom-width:1px;border-color:#dee2e6} p-table .p-datatable-tbody>tr.child-border, td.child-border{border-bottom:none!important} p-table .p-datatable-tbody>tr>td{font-size:14px!important} p-table .p-datatable-tbody>tr>th{font-family:Roboto,system-ui!important;font-weight:400;font-style:normal} p-button .p-button-icon{font-size:.8rem!important}"],changeDetection:0})}}return i})();export{Ti as ChannelSummaryComponent};
@@ -0,0 +1 @@
1
+ import{a as Q,b as X,c as f}from"./chunk-YJWJHM4H.js";import"./chunk-4VNQYYVV.js";import{b as K}from"./chunk-ZOV7OQE6.js";import"./chunk-HDNULDU2.js";import"./chunk-VSXPCIHS.js";import"./chunk-6GXJ4SD6.js";import{a as y,c as q}from"./chunk-U5LGPDSJ.js";import{b as A}from"./chunk-NCHJULNE.js";import"./chunk-KZWEUXCA.js";import{a as z}from"./chunk-ZSUWHVKX.js";import"./chunk-HZRIS4FA.js";import{b as V,c as W}from"./chunk-Q5PH4VIQ.js";import"./chunk-NZPISKQV.js";import{b as j}from"./chunk-UC7FUQNJ.js";import{e as J}from"./chunk-67URAZUP.js";import"./chunk-MXZNUKSS.js";import{D as Y}from"./chunk-OOGQ5PSL.js";import"./chunk-ASFPLYOZ.js";import{$b as S,Ca as N,Cb as w,Gc as n,Hc as a,Ic as B,Uc as G,Vb as v,Vc as U,Xb as _,Zb as b,_b as h,ac as p,bc as e,cc as t,cd as $,dc as M,dd as H,eb as r,ga as u,pc as x,rc as d,ta as R,wb as F,za as L}from"./chunk-YU6N3IVV.js";import"./chunk-QWWW7GFA.js";var Z=i=>[i],ee=()=>["/menu/channel/pos/edit"];function te(i,s){i&1&&(e(0,"a",16),M(1,"i",17),n(2," Edit"),t()),i&2&&p("routerLink",G(1,ee))}function ne(i,s){if(i&1&&(e(0,"span",18),n(1),t()),i&2){let l=d().$implicit;p("matTooltip",l.desc),r(),a(l.label)}}function ie(i,s){if(i&1&&v(0,ne,2,2,"span",18),i&2){let l,m=s.$implicit,o=d();_(((l=o.form())==null?null:l.POSInventoryLog)==m.value?0:-1)}}function oe(i,s){if(i&1&&(e(0,"span",18),n(1),t()),i&2){let l=d().$implicit;p("matTooltip",l.desc),r(),a(l.label)}}function le(i,s){if(i&1&&v(0,oe,2,2,"span",18),i&2){let l,m=s.$implicit,o=d();_(((l=o.form())==null?null:l.ChannelInventoryLog)==m.value?0:-1)}}var ge=(()=>{class i{constructor(){this.toastr=u(j),this.posService=u(Q),this.destroyRef=u(R),this.form=L(new X),this.roleSetupEdit=z.ChannelEdit,this.loaderResource=q({params:()=>0,stream:()=>this.posService.getLoader()}),this.inventoryLogTypeOptions=[{value:f.NONE,label:"None",desc:"Not record any log from transaction"},{value:f.ERROR,label:"Error",desc:"Only record error log from transaction"},{value:f.FULL,label:"Full",desc:"Record all log from transaction"}],N(()=>{let l=this.loaderResource.value();l&&this.form.set(l.Form)})}onRefreshToken(){this.posService.refreshToken(this.form()).pipe(y(this.destroyRef)).subscribe(l=>{this.toastr.success("Token has been refreshed!","Success",{closeButton:!0,positionClass:"toast-bottom-right"})})}onTestChannel(){this.posService.testChannel(this.form()).pipe(y(this.destroyRef)).subscribe(l=>{this.toastr.success("Test was successful!","Success",{closeButton:!0,positionClass:"toast-bottom-right"})})}static{this.\u0275fac=function(m){return new(m||i)}}static{this.\u0275cmp=F({type:i,selectors:[["app-pos"]],decls:97,vars:17,consts:[["headerTitle","POS",3,"hideSearchBox","hideSearchDropdown"],["role","button",1,"btn","btn-outline-success","btn-lg","text-success","me-2",3,"click"],[3,"ngxPermissionsOnly"],[1,"container-fluid","mt-3"],[1,"row","mt-5"],[1,"col-md-6"],[1,"card"],[1,"card-header"],[1,"card-body","mt-8"],["matTooltipPosition","above",1,"info-label-group","w-100"],["matTooltipPosition","above",1,"info-label-group","w-100","d-flex","justify-content-between"],[1,"btn","btn-outline-success","ms-2","btn-sm",3,"click"],[1,"info-label-group"],["matTooltipPosition","above","matTooltip","Omni Inventory Webhook group by JOB ID",1,"info-label-group"],["matTooltipPosition","above","matTooltip","Omni Inventory Webhook group by Channel ID",1,"info-label-group"],["matTooltipPosition","above","matTooltip","Number of days to look back for orders",1,"info-label-group"],["role","button",1,"btn","btn-success","btn-fill","btn-lg","text-white",3,"routerLink"],[1,"fas","fa-edit",2,"font-size","20px"],["matTooltipPosition","above",3,"matTooltip"]],template:function(m,o){if(m&1&&(e(0,"mainpanel",0)(1,"actions")(2,"a",1),x("click",function(){return o.onRefreshToken()}),n(3,"Refresh Token"),t(),w(4,te,3,2,"ng-template",2),t(),e(5,"content")(6,"div",3)(7,"div",4)(8,"div",5)(9,"div",6)(10,"div",7)(11,"h4"),n(12,"Credentials"),t()(),e(13,"div",8)(14,"div",9)(15,"label"),n(16,"Host"),t(),e(17,"div")(18,"span"),n(19),t()()(),e(20,"div",9)(21,"label"),n(22,"Username "),e(23,"small"),n(24,"(deprecated)"),t()(),e(25,"div")(26,"span"),n(27),t()()(),e(28,"div",9)(29,"label"),n(30,"Client ID Guid "),t(),e(31,"div")(32,"span"),n(33),t()()(),e(34,"div",10)(35,"label"),n(36,"Client Secret Guid"),t(),e(37,"div")(38,"span"),n(39),t()(),e(40,"button",11),x("click",function(){return o.onTestChannel()}),n(41," Validate "),t()(),e(42,"div",9)(43,"label"),n(44,"Notification Email"),t(),e(45,"div")(46,"span"),n(47),t()()()()()(),e(48,"div",5)(49,"div",6)(50,"div",7)(51,"h4"),n(52,"Configuration"),t()(),e(53,"div",8)(54,"div",12)(55,"label"),n(56,"Composite Inventory"),t(),e(57,"div")(58,"span"),n(59),t()()(),e(60,"div",12)(61,"label"),n(62,"Include Parent"),t(),e(63,"div")(64,"span"),n(65),t()()(),e(66,"div",12)(67,"label"),n(68,"Include Child"),t(),e(69,"div")(70,"span"),n(71),t()()(),e(72,"div",12)(73,"label"),n(74,"Identify Order Channel by"),t(),e(75,"div")(76,"span"),n(77),t()()(),e(78,"div",13)(79,"label"),n(80,"Order Inventory Log (Job ID) Mode"),t(),e(81,"div"),h(82,ie,1,1,null,null,b),t()(),e(84,"div",14)(85,"label"),n(86,"Channel Inventory Log Mode"),t(),e(87,"div"),h(88,le,1,1,null,null,b),t()(),e(90,"div",15)(91,"label"),n(92,"Order From Default Days"),t(),e(93,"div")(94,"span"),n(95),$(96,"number"),t()()()()()()()()()()),m&2){let c,C,E,g,T,I,P,k,O,D;p("hideSearchBox",!0)("hideSearchDropdown",!0),r(4),p("ngxPermissionsOnly",U(15,Z,o.roleSetupEdit)),r(15),a((c=o.form())==null?null:c.Host),r(8),a((C=o.form())==null?null:C.Username),r(6),a((E=o.form())==null?null:E.ClientIDGuid),r(6),a((g=o.form())==null?null:g.ClientSecretGuid),r(8),a((T=o.form())==null?null:T.NotificationEmail),r(12),a((I=o.form())!=null&&I.CompositeVisible?"Yes":"No"),r(6),a((P=o.form())!=null&&P.IncludeChildrenInventory?"Yes":"No"),r(6),a((k=o.form())!=null&&k.IncludeParentInventory?"Yes":"No"),r(6),B(" ",((O=o.form())==null?null:O.InvoiceType)==0?"Outlet":"Tag"),r(5),S(o.inventoryLogTypeOptions),r(6),S(o.inventoryLogTypeOptions),r(7),a(H(96,13,(D=o.form())==null?null:D.OrderFromDefaultDays))}},dependencies:[K,W,V,J,A,Y],encapsulation:2,changeDetection:0})}}return i})();export{ge as PosComponent};
@@ -1,4 +1,4 @@
1
- import{c as Zt}from"./chunk-XSXHGAXP.js";import{a as qt}from"./chunk-ODW7HQHU.js";import{a as yt}from"./chunk-TWIWWZUD.js";import{b as gt,c as A,d as nt,e as _,f as _t}from"./chunk-KYK2ZFUZ.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-SPNVH2ST.js";import{g as Ut}from"./chunk-BUBQQEYA.js";import{F as et,H as St,t as Rt,u as At,x as Ht,y as jt}from"./chunk-4NAKX6WQ.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-ZPV56E2J.js";import{a as ct,b as vt}from"./chunk-66YHNWRR.js";var Gt=`
1
+ import{c as Zt}from"./chunk-HHIYV6SY.js";import{a as qt}from"./chunk-3E64KI3Y.js";import{a as yt}from"./chunk-6IBSQ4O6.js";import{b as gt,c as A,d as nt,e as _,f as _t}from"./chunk-MZNVUECO.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-KOOWEFV6.js";import{g as Ut}from"./chunk-NZPISKQV.js";import{F as et,H as St,t as Rt,u as At,x as Ht,y as jt}from"./chunk-OOGQ5PSL.js";import{Ab as M,Bb as x,Bc as ot,Bd as wt,Ca as Ct,Cb as w,Cc as Lt,Ec as Bt,Fa as I,Fc as T,Pb as P,Tc as k,Uc as Ot,Vc as ft,Wc as st,ac as m,ba as V,bc as ht,ca as U,cc as pt,dc as It,ea as D,eb as g,ec as G,fc as X,ga as f,gc as J,gd as lt,hc as N,ic as L,jc as K,kc as Mt,kd as kt,lc as ut,na as zt,oa as Et,pa as q,pb as Vt,pc as mt,qd as W,rc as v,sc as Y,tc as tt,uc as Pt,va as dt,vc as Nt,wa as Ft,wb as E,wc as B,xb as Z,xc as O,yb as Dt}from"./chunk-YU6N3IVV.js";import{a as ct,b as vt}from"./chunk-QWWW7GFA.js";var Gt=`
2
2
  .p-iconfield {
3
3
  position: relative;
4
4
  display: block;
@@ -1 +1 @@
1
- import{f as x}from"./chunk-5FO4RY4B.js";import{c as o}from"./chunk-NNVT5X6O.js";import{e as k,g as C}from"./chunk-OF426VSL.js";import{Eb as v,Oc as u,Qc as p,bc as b,cd as I,dc as D,ia as h,ic as s,jc as c,kb as g,kc as m,mb as l,na as i,sd as f,wd as _,zc as d}from"./chunk-ZPV56E2J.js";var y=(()=>{class e{constructor(){this.localDataService=i(x),this.baseUrl=this.localDataService.getHostName()}getBaseUrl(r){let t="";return o.IsNotEmpty(r.ID)?t=`https://${this.baseUrl}/menu/Orders/Orders/Customer_Invoice/Info?ID=${r.ID}`:t="/menu/Order/detail",t}static{this.\u0275fac=function(t){return new(t||e)}}static{this.\u0275prov=h({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();var L=(e,a)=>({Number:e,Outlet:a});function N(e,a){if(e&1&&(c(0,"a",0),u(1),m()),e&2){let r,t=d();s("href",t.baseUrl(),g),l(),p(" ",(r=t.order())==null?null:r.Number," ")}}function S(e,a){if(e&1&&(c(0,"a",1),u(1),m()),e&2){let r,t,n=d();s("routerLink",n.baseUrl())("queryParams",I(3,L,(r=n.order())==null?null:r.Number,(r=n.order())==null?null:r.Outlet)),l(),p(" ",(t=n.order())==null?null:t.Number," ")}}var z=(()=>{class e{constructor(){this.order=_(),this.generateLinkService=i(y),this.baseUrl=f(()=>this.generateLinkService.getBaseUrl(this.order())),this.hasOrderID=f(()=>o.IsNotEmpty(this.order()?.ID))}static{this.\u0275fac=function(t){return new(t||e)}}static{this.\u0275cmp=v({type:e,selectors:[["order-link"]],inputs:{order:[1,"order"]},decls:2,vars:1,consts:[["target","_blank",3,"href"],["target","_blank",3,"routerLink","queryParams"]],template:function(t,n){t&1&&b(0,N,2,2,"a",0)(1,S,2,6,"a",1),t&2&&D(n.hasOrderID()?0:1)},dependencies:[C,k],encapsulation:2,changeDetection:0})}}return e})();export{z as a};
1
+ import{f as x}from"./chunk-EHFG3EIP.js";import{c as o}from"./chunk-NNVT5X6O.js";import{e as k,g as C}from"./chunk-67URAZUP.js";import{Gc as u,Ic as p,Vb as b,Wc as I,Xb as D,ac as s,ba as h,bc as c,cb as g,cc as m,eb as l,ga as i,kd as f,qd as _,rc as d,wb as v}from"./chunk-YU6N3IVV.js";var y=(()=>{class e{constructor(){this.localDataService=i(x),this.baseUrl=this.localDataService.getHostName()}getBaseUrl(r){let t="";return o.IsNotEmpty(r.ID)?t=`https://${this.baseUrl}/menu/Orders/Orders/Customer_Invoice/Info?ID=${r.ID}`:t="/menu/Order/detail",t}static{this.\u0275fac=function(t){return new(t||e)}}static{this.\u0275prov=h({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();var L=(e,a)=>({Number:e,Outlet:a});function N(e,a){if(e&1&&(c(0,"a",0),u(1),m()),e&2){let r,t=d();s("href",t.baseUrl(),g),l(),p(" ",(r=t.order())==null?null:r.Number," ")}}function S(e,a){if(e&1&&(c(0,"a",1),u(1),m()),e&2){let r,t,n=d();s("routerLink",n.baseUrl())("queryParams",I(3,L,(r=n.order())==null?null:r.Number,(r=n.order())==null?null:r.Outlet)),l(),p(" ",(t=n.order())==null?null:t.Number," ")}}var z=(()=>{class e{constructor(){this.order=_(),this.generateLinkService=i(y),this.baseUrl=f(()=>this.generateLinkService.getBaseUrl(this.order())),this.hasOrderID=f(()=>o.IsNotEmpty(this.order()?.ID))}static{this.\u0275fac=function(t){return new(t||e)}}static{this.\u0275cmp=v({type:e,selectors:[["order-link"]],inputs:{order:[1,"order"]},decls:2,vars:1,consts:[["target","_blank",3,"href"],["target","_blank",3,"routerLink","queryParams"]],template:function(t,n){t&1&&b(0,N,2,2,"a",0)(1,S,2,6,"a",1),t&2&&D(n.hasOrderID()?0:1)},dependencies:[C,k],encapsulation:2,changeDetection:0})}}return e})();export{z as a};