marketplacepos 5.41.3 → 5.43.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (219) hide show
  1. package/Marketplace/3rdpartylicenses.txt +123 -123
  2. package/Marketplace/chunk-24DT5FN2.js +1 -0
  3. package/Marketplace/{chunk-5MRT2EFE.js → chunk-25OT4I3W.js} +1 -1
  4. package/Marketplace/chunk-2BUABOHG.js +1 -0
  5. package/Marketplace/{chunk-7GQIIDFF.js → chunk-2DJWDXTZ.js} +1 -1
  6. package/Marketplace/chunk-2EL3WEWS.js +1 -0
  7. package/Marketplace/chunk-2SXRC4IG.js +1 -0
  8. package/Marketplace/{chunk-KXZCGKQW.js → chunk-2TZBEYNY.js} +1 -1
  9. package/Marketplace/chunk-2ZTDLZVZ.js +1 -0
  10. package/Marketplace/chunk-33IXC6UG.js +1 -0
  11. package/Marketplace/chunk-3Y6LJS2H.js +1 -0
  12. package/Marketplace/{chunk-7477X7LJ.js → chunk-4CTORK4F.js} +1 -1
  13. package/Marketplace/{chunk-BUFEIJAI.js → chunk-4M63ID5T.js} +1 -1
  14. package/Marketplace/chunk-4PZ5Q3HI.js +1 -0
  15. package/Marketplace/{chunk-RVYGL22E.js → chunk-55OI2SUF.js} +1 -1
  16. package/Marketplace/chunk-5DIRXS7I.js +1 -0
  17. package/Marketplace/chunk-5EQNOCXP.js +1 -0
  18. package/Marketplace/chunk-5QAURMZF.js +222 -0
  19. package/Marketplace/{chunk-V2OJQHE3.js → chunk-5XI7HWS5.js} +2 -2
  20. package/Marketplace/chunk-66YHNWRR.js +1 -0
  21. package/Marketplace/chunk-6BFXOKCB.js +1 -0
  22. package/Marketplace/chunk-6DZKFXDF.js +1 -0
  23. package/Marketplace/chunk-6IFZ2TO6.js +1 -0
  24. package/Marketplace/{chunk-Q72ZXPDP.js → chunk-6LH7FSOW.js} +1 -1
  25. package/Marketplace/chunk-6LULIB2P.js +2 -0
  26. package/Marketplace/{chunk-OLSC6KHB.js → chunk-6MPSYC77.js} +1 -1
  27. package/Marketplace/chunk-6QGSDBR7.js +1 -0
  28. package/Marketplace/{chunk-BIQHA7UA.js → chunk-6X2OBNJQ.js} +4 -4
  29. package/Marketplace/chunk-736E275F.js +1 -0
  30. package/Marketplace/{chunk-IYYVZ6B6.js → chunk-A2YNWIX6.js} +1 -1
  31. package/Marketplace/chunk-A4F37V57.js +1 -0
  32. package/Marketplace/{chunk-NMJGLMWI.js → chunk-ABQG3LB5.js} +1 -1
  33. package/Marketplace/{chunk-77IUCPIQ.js → chunk-ACIMXBIC.js} +1 -1
  34. package/Marketplace/chunk-AGRVVEIR.js +397 -0
  35. package/Marketplace/chunk-ALKC77XL.js +78 -0
  36. package/Marketplace/chunk-ARZ2S6YD.js +1 -0
  37. package/Marketplace/chunk-AVEGIEYT.js +193 -0
  38. package/Marketplace/chunk-AVVPZ3NI.js +1 -0
  39. package/Marketplace/chunk-AZ2FLWCK.js +266 -0
  40. package/Marketplace/chunk-BAYW2AHI.js +1 -0
  41. package/Marketplace/chunk-BCM6WRZR.js +5 -0
  42. package/Marketplace/chunk-BQTUAYGY.js +1 -0
  43. package/Marketplace/chunk-CFC5CQ3V.js +1 -0
  44. package/Marketplace/chunk-CLDURV35.js +2 -0
  45. package/Marketplace/chunk-CRZOIZUQ.js +1 -0
  46. package/Marketplace/chunk-CSSG7NAJ.js +1 -0
  47. package/Marketplace/chunk-D66XCOBY.js +1 -0
  48. package/Marketplace/chunk-DIUEZVRG.js +1 -0
  49. package/Marketplace/chunk-DJILLV4M.js +1 -0
  50. package/Marketplace/chunk-DLSU35PZ.js +5 -0
  51. package/Marketplace/chunk-DMW4DWIM.js +1 -0
  52. package/Marketplace/{chunk-ZD5LURJS.js → chunk-E2CS7ZMC.js} +1 -1
  53. package/Marketplace/chunk-ECN3QRMT.js +1 -0
  54. package/Marketplace/chunk-EU2KAMEK.js +1 -0
  55. package/Marketplace/chunk-F4GMWHYJ.js +33 -0
  56. package/Marketplace/chunk-F4HFUSVI.js +1 -0
  57. package/Marketplace/{chunk-RGR34QZ3.js → chunk-FBZW4Y3J.js} +1 -1
  58. package/Marketplace/{chunk-6NNAICJE.js → chunk-FWG4H3QG.js} +1 -1
  59. package/Marketplace/chunk-G4OF4YLE.js +2 -0
  60. package/Marketplace/chunk-GCECFUOP.js +1 -0
  61. package/Marketplace/{chunk-UBMI3NQH.js → chunk-GHBGGQNM.js} +1 -1
  62. package/Marketplace/chunk-GMGCY3OL.js +1 -0
  63. package/Marketplace/chunk-GOS4RIF2.js +1 -0
  64. package/Marketplace/{chunk-IEYFOHME.js → chunk-GPC4DECX.js} +1 -1
  65. package/Marketplace/chunk-GZXQUJKX.js +1 -0
  66. package/Marketplace/{chunk-TMFFA26Y.js → chunk-HFKKITEW.js} +1 -1
  67. package/Marketplace/{chunk-KHWTOD6H.js → chunk-HPYTL6TX.js} +1 -1
  68. package/Marketplace/chunk-HTQJCQ32.js +1 -0
  69. package/Marketplace/chunk-I5IZPTXZ.js +1 -0
  70. package/Marketplace/{chunk-GBABJLPQ.js → chunk-IKPRRD5D.js} +1 -1
  71. package/Marketplace/chunk-IR5OMZTZ.js +1 -0
  72. package/Marketplace/chunk-ITTTKW6F.js +1 -0
  73. package/Marketplace/chunk-IUWXRFDI.js +1 -0
  74. package/Marketplace/{chunk-EGTYAIU5.js → chunk-JOBWFOGC.js} +1 -1
  75. package/Marketplace/{chunk-PPDHTO44.js → chunk-JRWFZQ5K.js} +1 -1
  76. package/Marketplace/chunk-JRXB6762.js +252 -0
  77. package/Marketplace/chunk-JS55A2RS.js +7 -0
  78. package/Marketplace/chunk-JV4MMNGD.js +79 -0
  79. package/Marketplace/chunk-K654EZ3I.js +1 -0
  80. package/Marketplace/chunk-KC3C62UO.js +4 -0
  81. package/Marketplace/{chunk-GBXNTL4E.js → chunk-KQQCKHF3.js} +1 -1
  82. package/Marketplace/chunk-KR2UT3GA.js +1 -0
  83. package/Marketplace/chunk-KWQS4KX7.js +1 -0
  84. package/Marketplace/{chunk-COBHWPGI.js → chunk-KX5AWR75.js} +1 -1
  85. package/Marketplace/chunk-KXS76PRS.js +70 -0
  86. package/Marketplace/chunk-KYIY3VQ6.js +141 -0
  87. package/Marketplace/{chunk-J7AGLBPL.js → chunk-LHD7CYML.js} +1 -1
  88. package/Marketplace/chunk-LR4UZ2OS.js +30 -0
  89. package/Marketplace/{chunk-M3SJUKTG.js → chunk-LSXUXG54.js} +1 -1
  90. package/Marketplace/chunk-LWSRD5LF.js +1 -0
  91. package/Marketplace/{chunk-Q2OEJFVT.js → chunk-M5IQRAHV.js} +1 -1
  92. package/Marketplace/chunk-MKOJVMRR.js +1 -0
  93. package/Marketplace/chunk-MMT3VFZZ.js +1 -0
  94. package/Marketplace/{chunk-RIHLYYZU.js → chunk-MQXPOHBV.js} +1 -1
  95. package/Marketplace/chunk-MTUIRWOB.js +2 -0
  96. package/Marketplace/chunk-MZI5AYCE.js +1 -0
  97. package/Marketplace/chunk-NB5XHM62.js +1 -0
  98. package/Marketplace/{chunk-JBKHY4HH.js → chunk-NRCXYGO3.js} +5 -5
  99. package/Marketplace/chunk-NTW6FBP5.js +1 -0
  100. package/Marketplace/chunk-NZA4BEER.js +102 -0
  101. package/Marketplace/chunk-O55KM5KY.js +1 -0
  102. package/Marketplace/chunk-O6U5QCHJ.js +1 -0
  103. package/Marketplace/chunk-OJWFYXZX.js +1 -0
  104. package/Marketplace/{chunk-G6EG5QJS.js → chunk-OKAPL3YZ.js} +1 -1
  105. package/Marketplace/chunk-OTFACGUB.js +1 -0
  106. package/Marketplace/{chunk-WAW37FIG.js → chunk-OZ77CAJD.js} +1 -1
  107. package/Marketplace/chunk-OZ7LWNOK.js +15 -0
  108. package/Marketplace/chunk-PB2SJSML.js +1 -0
  109. package/Marketplace/chunk-PE5AFID4.js +1 -0
  110. package/Marketplace/{chunk-7TWBIV3T.js → chunk-PO7JVKK3.js} +1 -1
  111. package/Marketplace/chunk-PW42BQIY.js +1 -0
  112. package/Marketplace/chunk-PZ4PSWYM.js +3 -0
  113. package/Marketplace/chunk-QACWANJT.js +1 -0
  114. package/Marketplace/chunk-QUXUEWEF.js +1 -0
  115. package/Marketplace/chunk-R22TUWCL.js +15 -0
  116. package/Marketplace/{chunk-75BDXSG3.js → chunk-R76V3PTN.js} +10 -10
  117. package/Marketplace/chunk-RCRPQNNW.js +1 -0
  118. package/Marketplace/chunk-SACERVTF.js +1 -0
  119. package/Marketplace/chunk-SDKAJBVB.js +1 -0
  120. package/Marketplace/{chunk-VGXQU74M.js → chunk-SH7KN2AS.js} +1 -1
  121. package/Marketplace/{chunk-CH2MLZU7.js → chunk-SIYMMMKQ.js} +1 -1
  122. package/Marketplace/chunk-SLQA5QBT.js +1 -0
  123. package/Marketplace/chunk-SMCI6XBO.js +1 -0
  124. package/Marketplace/chunk-SNDG7727.js +1 -0
  125. package/Marketplace/{chunk-QCZIDOKW.js → chunk-SXLKJLAE.js} +1 -1
  126. package/Marketplace/{chunk-6IAGGRZN.js → chunk-SYENQYR7.js} +1 -1
  127. package/Marketplace/chunk-T2IGESWD.js +1 -0
  128. package/Marketplace/chunk-T3Z5OMIZ.js +1 -0
  129. package/Marketplace/{chunk-V5WYSCVT.js → chunk-TGMCGROM.js} +1 -1
  130. package/Marketplace/chunk-TGN4NMQY.js +1 -0
  131. package/Marketplace/{chunk-OE2JYQHN.js → chunk-TNKPTRB3.js} +1 -1
  132. package/Marketplace/{chunk-DRSUXHAY.js → chunk-UBB6E4VL.js} +1 -1
  133. package/Marketplace/chunk-UDIAPGRB.js +1 -0
  134. package/Marketplace/chunk-UEWZXE4O.js +1 -0
  135. package/Marketplace/chunk-UF4FKEE7.js +93 -0
  136. package/Marketplace/chunk-UJYSVGLV.js +1 -0
  137. package/Marketplace/{chunk-5GX2GLRY.js → chunk-UMY6NG57.js} +1 -1
  138. package/Marketplace/{chunk-YXFTLQ5M.js → chunk-UPYS4A4M.js} +1 -1
  139. package/Marketplace/chunk-VRI3CYGG.js +1 -0
  140. package/Marketplace/{chunk-6XFYITUD.js → chunk-WGXUKTYP.js} +1 -1
  141. package/Marketplace/{chunk-ZZVNB72Q.js → chunk-WHZ44BAL.js} +1 -1
  142. package/Marketplace/chunk-WXQDF2MX.js +1 -0
  143. package/Marketplace/chunk-X5DJBQUZ.js +1 -0
  144. package/Marketplace/{chunk-MNFHFW3E.js → chunk-XEMNZHW6.js} +1 -1
  145. package/Marketplace/chunk-XENOOCI4.js +1 -0
  146. package/Marketplace/{chunk-J3P46Z53.js → chunk-XQGRC7V2.js} +1 -1
  147. package/Marketplace/{chunk-YR2WEZDG.js → chunk-YPVYJUXS.js} +1 -1
  148. package/Marketplace/{chunk-VWFLNITX.js → chunk-YR3PNRLA.js} +1 -1
  149. package/Marketplace/chunk-Z3ITXK3D.js +1 -0
  150. package/Marketplace/chunk-ZAVDOMSW.js +1 -0
  151. package/Marketplace/{chunk-GSPHYK6J.js → chunk-ZDYYX736.js} +11 -11
  152. package/Marketplace/chunk-ZFDUVL4I.js +1 -0
  153. package/Marketplace/{chunk-GHQH62TZ.js → chunk-ZIOAOUAM.js} +1 -1
  154. package/Marketplace/chunk-ZNDU44GH.js +51 -0
  155. package/Marketplace/{chunk-7FUVW73P.js → chunk-ZR5IXNXB.js} +1 -1
  156. package/Marketplace/index.html +3 -3
  157. package/Marketplace/main-OO7ZEZW4.js +1 -0
  158. package/Marketplace/{styles-NJFTKO3E.css → styles-X3FXEB7T.css} +1 -1
  159. package/package.json +1 -1
  160. package/Marketplace/chunk-26DZ5AMC.js +0 -1
  161. package/Marketplace/chunk-2BBMPSAE.js +0 -93
  162. package/Marketplace/chunk-2G6NLWKN.js +0 -1
  163. package/Marketplace/chunk-3E5FYRN4.js +0 -1
  164. package/Marketplace/chunk-3PNMJUYQ.js +0 -15
  165. package/Marketplace/chunk-4AMQ66FW.js +0 -1
  166. package/Marketplace/chunk-4ASUM4N5.js +0 -1
  167. package/Marketplace/chunk-4G3QN54S.js +0 -193
  168. package/Marketplace/chunk-4NRAXW65.js +0 -1
  169. package/Marketplace/chunk-4RTZASVJ.js +0 -1
  170. package/Marketplace/chunk-4XMCJ7I5.js +0 -1
  171. package/Marketplace/chunk-5KMCSNS6.js +0 -2
  172. package/Marketplace/chunk-5S6SIKR7.js +0 -1
  173. package/Marketplace/chunk-62PFQNHJ.js +0 -1
  174. package/Marketplace/chunk-6AKFGBPY.js +0 -4
  175. package/Marketplace/chunk-6ALHX2I4.js +0 -1
  176. package/Marketplace/chunk-7XREAR3H.js +0 -1
  177. package/Marketplace/chunk-AMXLXRQK.js +0 -1
  178. package/Marketplace/chunk-AWDLMHBL.js +0 -1
  179. package/Marketplace/chunk-CHZLFJFI.js +0 -3
  180. package/Marketplace/chunk-CMCNEAGC.js +0 -1
  181. package/Marketplace/chunk-CPAHXWMO.js +0 -1
  182. package/Marketplace/chunk-CTN7GW4H.js +0 -1
  183. package/Marketplace/chunk-CYZQNZDB.js +0 -1
  184. package/Marketplace/chunk-D54NUPYF.js +0 -153
  185. package/Marketplace/chunk-DI4V7KMK.js +0 -1
  186. package/Marketplace/chunk-DPLEMBB4.js +0 -1
  187. package/Marketplace/chunk-DZ2EE5MV.js +0 -1
  188. package/Marketplace/chunk-E3HMIPER.js +0 -2
  189. package/Marketplace/chunk-GJOCO2OS.js +0 -2
  190. package/Marketplace/chunk-GPEVUTDI.js +0 -2
  191. package/Marketplace/chunk-GSH5BYZ6.js +0 -1
  192. package/Marketplace/chunk-HKYVBAMV.js +0 -1
  193. package/Marketplace/chunk-IIJMZKPL.js +0 -1
  194. package/Marketplace/chunk-JDEKWXPV.js +0 -1
  195. package/Marketplace/chunk-JFJCXZD3.js +0 -1
  196. package/Marketplace/chunk-K2H6WANG.js +0 -1
  197. package/Marketplace/chunk-KQOYVGBL.js +0 -1
  198. package/Marketplace/chunk-KVP6OL4J.js +0 -2
  199. package/Marketplace/chunk-LPXBSHUI.js +0 -180
  200. package/Marketplace/chunk-MATSRG2L.js +0 -447
  201. package/Marketplace/chunk-PJ72KMDS.js +0 -1
  202. package/Marketplace/chunk-PVUSCHKJ.js +0 -1
  203. package/Marketplace/chunk-PXB4YEY3.js +0 -1
  204. package/Marketplace/chunk-Q2R4GEW5.js +0 -1
  205. package/Marketplace/chunk-RBC7ADJF.js +0 -1
  206. package/Marketplace/chunk-REFJUWLL.js +0 -5
  207. package/Marketplace/chunk-RIYAYANU.js +0 -1
  208. package/Marketplace/chunk-T5ONJF63.js +0 -7
  209. package/Marketplace/chunk-T6QOFDEE.js +0 -1
  210. package/Marketplace/chunk-U5VX6JLT.js +0 -1
  211. package/Marketplace/chunk-VAU6MFH7.js +0 -1
  212. package/Marketplace/chunk-VETHPEVU.js +0 -1
  213. package/Marketplace/chunk-VJKFHBPN.js +0 -5
  214. package/Marketplace/chunk-VSEWXNVC.js +0 -291
  215. package/Marketplace/chunk-X3LH2IJE.js +0 -1
  216. package/Marketplace/chunk-XM6GN4VF.js +0 -1
  217. package/Marketplace/chunk-YIUQQGOQ.js +0 -1
  218. package/Marketplace/chunk-ZHUHOS5T.js +0 -1
  219. package/Marketplace/main-CCWBPZQH.js +0 -1
@@ -30,37 +30,6 @@ Package: @dealpos-npm/ng-dealpos-library
30
30
  License: "ISC"
31
31
 
32
32
 
33
- --------------------------------------------------------------------------------
34
- Package: @angular/cdk
35
- License: "MIT"
36
-
37
- The MIT License
38
-
39
- Copyright (c) 2025 Google LLC.
40
-
41
- Permission is hereby granted, free of charge, to any person obtaining a copy
42
- of this software and associated documentation files (the "Software"), to deal
43
- in the Software without restriction, including without limitation the rights
44
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
45
- copies of the Software, and to permit persons to whom the Software is
46
- furnished to do so, subject to the following conditions:
47
-
48
- The above copyright notice and this permission notice shall be included in
49
- all copies or substantial portions of the Software.
50
-
51
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
52
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
53
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
54
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
55
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
56
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
57
- THE SOFTWARE.
58
-
59
- --------------------------------------------------------------------------------
60
- Package: @microsoft/signalr
61
- License: "MIT"
62
-
63
-
64
33
  --------------------------------------------------------------------------------
65
34
  Package: primeng
66
35
  License: "SEE LICENSE IN LICENSE.md"
@@ -143,6 +112,90 @@ The term “Software” includes all source and object code, in whole and/or par
143
112
  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
113
  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
114
 
115
+ --------------------------------------------------------------------------------
116
+ Package: @angular/cdk
117
+ License: "MIT"
118
+
119
+ The MIT License
120
+
121
+ Copyright (c) 2025 Google LLC.
122
+
123
+ Permission is hereby granted, free of charge, to any person obtaining a copy
124
+ of this software and associated documentation files (the "Software"), to deal
125
+ in the Software without restriction, including without limitation the rights
126
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
127
+ copies of the Software, and to permit persons to whom the Software is
128
+ furnished to do so, subject to the following conditions:
129
+
130
+ The above copyright notice and this permission notice shall be included in
131
+ all copies or substantial portions of the Software.
132
+
133
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
134
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
135
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
136
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
137
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
138
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
139
+ THE SOFTWARE.
140
+
141
+ --------------------------------------------------------------------------------
142
+ Package: @microsoft/signalr
143
+ License: "MIT"
144
+
145
+
146
+ --------------------------------------------------------------------------------
147
+ Package: moment
148
+ License: "MIT"
149
+
150
+ Copyright (c) JS Foundation and other contributors
151
+
152
+ Permission is hereby granted, free of charge, to any person
153
+ obtaining a copy of this software and associated documentation
154
+ files (the "Software"), to deal in the Software without
155
+ restriction, including without limitation the rights to use,
156
+ copy, modify, merge, publish, distribute, sublicense, and/or sell
157
+ copies of the Software, and to permit persons to whom the
158
+ Software is furnished to do so, subject to the following
159
+ conditions:
160
+
161
+ The above copyright notice and this permission notice shall be
162
+ included in all copies or substantial portions of the Software.
163
+
164
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
165
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
166
+ OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
167
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
168
+ HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
169
+ WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
170
+ FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
171
+ OTHER DEALINGS IN THE SOFTWARE.
172
+
173
+ --------------------------------------------------------------------------------
174
+ Package: @angular/material-moment-adapter
175
+ License: "MIT"
176
+
177
+ The MIT License
178
+
179
+ Copyright (c) 2025 Google LLC.
180
+
181
+ Permission is hereby granted, free of charge, to any person obtaining a copy
182
+ of this software and associated documentation files (the "Software"), to deal
183
+ in the Software without restriction, including without limitation the rights
184
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
185
+ copies of the Software, and to permit persons to whom the Software is
186
+ furnished to do so, subject to the following conditions:
187
+
188
+ The above copyright notice and this permission notice shall be included in
189
+ all copies or substantial portions of the Software.
190
+
191
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
192
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
193
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
194
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
195
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
196
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
197
+ THE SOFTWARE.
198
+
146
199
  --------------------------------------------------------------------------------
147
200
  Package: ng-http-loader
148
201
  License: "MIT"
@@ -338,59 +391,6 @@ CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
338
391
  TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
339
392
  SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
340
393
 
341
- --------------------------------------------------------------------------------
342
- Package: moment
343
- License: "MIT"
344
-
345
- Copyright (c) JS Foundation and other contributors
346
-
347
- Permission is hereby granted, free of charge, to any person
348
- obtaining a copy of this software and associated documentation
349
- files (the "Software"), to deal in the Software without
350
- restriction, including without limitation the rights to use,
351
- copy, modify, merge, publish, distribute, sublicense, and/or sell
352
- copies of the Software, and to permit persons to whom the
353
- Software is furnished to do so, subject to the following
354
- conditions:
355
-
356
- The above copyright notice and this permission notice shall be
357
- included in all copies or substantial portions of the Software.
358
-
359
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
360
- EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
361
- OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
362
- NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
363
- HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
364
- WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
365
- FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
366
- OTHER DEALINGS IN THE SOFTWARE.
367
-
368
- --------------------------------------------------------------------------------
369
- Package: @angular/material-moment-adapter
370
- License: "MIT"
371
-
372
- The MIT License
373
-
374
- Copyright (c) 2025 Google LLC.
375
-
376
- Permission is hereby granted, free of charge, to any person obtaining a copy
377
- of this software and associated documentation files (the "Software"), to deal
378
- in the Software without restriction, including without limitation the rights
379
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
380
- copies of the Software, and to permit persons to whom the Software is
381
- furnished to do so, subject to the following conditions:
382
-
383
- The above copyright notice and this permission notice shall be included in
384
- all copies or substantial portions of the Software.
385
-
386
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
387
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
388
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
389
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
390
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
391
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
392
- THE SOFTWARE.
393
-
394
394
  --------------------------------------------------------------------------------
395
395
  Package: autonumeric
396
396
  License: "MIT"
@@ -419,6 +419,11 @@ WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
419
419
  FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
420
420
  OTHER DEALINGS IN THE SOFTWARE.
421
421
 
422
+ --------------------------------------------------------------------------------
423
+ Package: bigger-picture
424
+ License: "MIT"
425
+
426
+
422
427
  --------------------------------------------------------------------------------
423
428
  Package: @primeuix/utils
424
429
  License: "MIT"
@@ -471,11 +476,6 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
471
476
  OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
472
477
  SOFTWARE.
473
478
 
474
- --------------------------------------------------------------------------------
475
- Package: bigger-picture
476
- License: "MIT"
477
-
478
-
479
479
  --------------------------------------------------------------------------------
480
480
  Package: @ng-select/ng-select
481
481
  License: "MIT"
@@ -519,32 +519,6 @@ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
519
519
  LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
520
520
  OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
521
521
  THE SOFTWARE.
522
- --------------------------------------------------------------------------------
523
- Package: ngx-toastr
524
- License: "MIT"
525
-
526
- The MIT License (MIT)
527
-
528
- Copyright (c) Scott Cooper <scttcper@gmail.com>
529
-
530
- Permission is hereby granted, free of charge, to any person obtaining a copy
531
- of this software and associated documentation files (the "Software"), to deal
532
- in the Software without restriction, including without limitation the rights
533
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
534
- copies of the Software, and to permit persons to whom the Software is
535
- furnished to do so, subject to the following conditions:
536
-
537
- The above copyright notice and this permission notice shall be included in all
538
- copies or substantial portions of the Software.
539
-
540
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
541
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
542
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
543
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
544
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
545
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
546
- SOFTWARE.
547
-
548
522
  --------------------------------------------------------------------------------
549
523
  Package: @firebase/util
550
524
  License: "Apache-2.0"
@@ -591,6 +565,32 @@ Package: @firebase/auth-compat
591
565
  License: "Apache-2.0"
592
566
 
593
567
 
568
+ --------------------------------------------------------------------------------
569
+ Package: ngx-toastr
570
+ License: "MIT"
571
+
572
+ The MIT License (MIT)
573
+
574
+ Copyright (c) Scott Cooper <scttcper@gmail.com>
575
+
576
+ Permission is hereby granted, free of charge, to any person obtaining a copy
577
+ of this software and associated documentation files (the "Software"), to deal
578
+ in the Software without restriction, including without limitation the rights
579
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
580
+ copies of the Software, and to permit persons to whom the Software is
581
+ furnished to do so, subject to the following conditions:
582
+
583
+ The above copyright notice and this permission notice shall be included in all
584
+ copies or substantial portions of the Software.
585
+
586
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
587
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
588
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
589
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
590
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
591
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
592
+ SOFTWARE.
593
+
594
594
  --------------------------------------------------------------------------------
595
595
  Package: @angular/forms
596
596
  License: "MIT"
@@ -618,12 +618,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
618
618
  THE SOFTWARE.
619
619
 
620
620
  --------------------------------------------------------------------------------
621
- Package: ngx-permissions
622
- License: "MIT"
623
-
624
-
625
- --------------------------------------------------------------------------------
626
- Package: @angular/common
621
+ Package: @angular/core
627
622
  License: "MIT"
628
623
 
629
624
  The MIT License
@@ -649,7 +644,12 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
649
644
  THE SOFTWARE.
650
645
 
651
646
  --------------------------------------------------------------------------------
652
- Package: @angular/router
647
+ Package: ngx-permissions
648
+ License: "MIT"
649
+
650
+
651
+ --------------------------------------------------------------------------------
652
+ Package: @angular/common
653
653
  License: "MIT"
654
654
 
655
655
  The MIT License
@@ -675,7 +675,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
675
675
  THE SOFTWARE.
676
676
 
677
677
  --------------------------------------------------------------------------------
678
- Package: @angular/core
678
+ Package: @angular/router
679
679
  License: "MIT"
680
680
 
681
681
  The MIT License
@@ -0,0 +1 @@
1
+ import{b as we}from"./chunk-6IFZ2TO6.js";import"./chunk-UF4FKEE7.js";import"./chunk-2DJWDXTZ.js";import{b as De}from"./chunk-AGRVVEIR.js";import"./chunk-ZNDU44GH.js";import"./chunk-5XI7HWS5.js";import"./chunk-WGXUKTYP.js";import{a as Ne,b as Pe}from"./chunk-6MPSYC77.js";import{a as Fe,b as Ae}from"./chunk-KX5AWR75.js";import{a as ae,b as ke,c as Ee,d as ie,e as ne}from"./chunk-KR2UT3GA.js";import"./chunk-R76V3PTN.js";import{a as Me}from"./chunk-O55KM5KY.js";import"./chunk-6LH7FSOW.js";import"./chunk-XEMNZHW6.js";import"./chunk-FWG4H3QG.js";import"./chunk-NZA4BEER.js";import"./chunk-JV4MMNGD.js";import"./chunk-GZXQUJKX.js";import"./chunk-ALKC77XL.js";import"./chunk-NTW6FBP5.js";import"./chunk-LR4UZ2OS.js";import"./chunk-F4GMWHYJ.js";import"./chunk-WHZ44BAL.js";import"./chunk-JOBWFOGC.js";import"./chunk-PO7JVKK3.js";import"./chunk-LHD7CYML.js";import"./chunk-DJILLV4M.js";import"./chunk-SH7KN2AS.js";import"./chunk-OKAPL3YZ.js";import"./chunk-SDUUFQUI.js";import"./chunk-3RK6DDJD.js";import"./chunk-MQXPOHBV.js";import"./chunk-M5IQRAHV.js";import"./chunk-5DIRXS7I.js";import"./chunk-OZ7LWNOK.js";import"./chunk-VRI3CYGG.js";import"./chunk-AVEGIEYT.js";import{d as L,e as B}from"./chunk-SYENQYR7.js";import"./chunk-55OI2SUF.js";import"./chunk-2ZTDLZVZ.js";import"./chunk-2TZBEYNY.js";import"./chunk-SXLKJLAE.js";import"./chunk-PZ4PSWYM.js";import"./chunk-Z3ITXK3D.js";import"./chunk-ACIMXBIC.js";import"./chunk-TGMCGROM.js";import"./chunk-PB2SJSML.js";import{e as q}from"./chunk-4M63ID5T.js";import"./chunk-K5XRGNWG.js";import"./chunk-HPYTL6TX.js";import{b as ve,c as f}from"./chunk-PW42BQIY.js";import{m as Ie,n as Se}from"./chunk-6X2OBNJQ.js";import{A as U,c as te,e as be,h as V,i as H,m as ye,n as W,p as X,r as J,y as z,z as Q}from"./chunk-CSSG7NAJ.js";import"./chunk-MZI5AYCE.js";import"./chunk-UJYSVGLV.js";import{r as xe,s as Te}from"./chunk-HFKKITEW.js";import"./chunk-OZ77CAJD.js";import{g as O,j as x,n as T}from"./chunk-MTUIRWOB.js";import{$c as C,Gb as y,Gc as u,Hc as fe,Ic as Z,K as ue,Ka as M,Kc as he,Lc as ge,M as _e,Mb as h,Mc as Ce,Oa as re,Qc as v,Yb as s,Z as ee,ad as b,dc as D,ea as A,ec as $,gc as G,hc as Y,ic as l,ja as k,jc as r,kc as _,lc as N,mc as P,oc as w,pa as d,rb as p,tc as g,uc as a,v as F,xa as E,ya as I,za as S}from"./chunk-JS55A2RS.js";import"./chunk-EU2KAMEK.js";import"./chunk-66YHNWRR.js";var le=(()=>{class i{constructor(){this.httpService=d(q),this.formBuilder=d(z),this.uploadProductService=d(ne)}getAttributes(e,t){return this.httpService.get("api/product/tiktok/GetAttributes",[{key:"ID",value:e},{key:"CategoryID",value:t}]).pipe(ue(n=>this.uploadProductService.selectedProduct$.pipe(F(c=>(n=this.mappingAttributeSalesProperty(n,c),n)))))}mappingAttributeSalesProperty(e,t){let o=0;return e.filter(n=>(n.type=="SALES_PROPERTY"&&(o+=1),o>1?(o=0,!1):!0)).map(n=>(n.type=="SALES_PROPERTY"&&(n.name="Jenis Variant",n.is_multiple_selection=!1,n.is_required=this.isProductHasMoreVariant(t),n.values=[{id:"Warna",name:"Warna"},{id:"Ukuran",name:"Ukuran"}]),n))}isProductHasMoreVariant(e){let t=!1,o=[];return e.forEach(n=>{n.Variants&&o.push(n.Variants.length)}),t=o.some(n=>n>1),t}createFormGroup(e){let t=this.formBuilder.group({}),o=[];return e.forEach(n=>{o=[],n.is_required&&o.push(be.required),t.addControl(n.id,this.formBuilder.control(null,o))}),t}getFilteredAttributes(e,t){let o=JSON.parse(JSON.stringify(e)),n=Object.keys(t),c=o.filter(j=>n.findIndex(Re=>parseInt(Re)==j.id)!=-1);return c=this.filterSelectedAttributes(c,t),c}filterSelectedAttributes(e,t){return e.map(n=>(f.IsNotEmpty(n.values)?n.is_multiple_selection?n.values=n.values.filter(c=>t[n.id]?.includes(c.id)):n.values=n.values.filter(c=>c.id==t[n.id]):t[n.id]&&(n.values=[{id:null,name:t[n.id]}]),n)).filter(n=>n?.values?.length>0)}static{this.\u0275fac=function(t){return new(t||i)}}static{this.\u0275prov=k({token:i,factory:i.\u0275fac})}}return i})();function We(i,m){i&1&&(l(0,"span",5),u(1,"*"),r())}function Xe(i,m){if(i&1&&_(0,"ng-select",6),i&2){let e=a().$implicit;s("multiple",!0)("formControlName",e.id)("items",e.values)("placeholder","Pilih "+(e==null?null:e.name))}}function Je(i,m){if(i&1&&_(0,"ng-select",7),i&2){let e=a().$implicit;s("formControlName",e.id)("items",e.values)("placeholder","Pilih "+(e==null?null:e.name))}}function ze(i,m){if(i&1&&_(0,"input",8),i&2){let e=a().$implicit;s("formControlName",e.id)("placeholder",e==null?null:e.name)}}function Qe(i,m){if(i&1&&(l(0,"small",5),u(1),r()),i&2){let e=a().$implicit;p(),Z(" ",e==null?null:e.name," is mandatory ")}}function qe(i,m){if(i&1&&(l(0,"div",3)(1,"div",4),h(2,We,2,0,"span",5),l(3,"span"),u(4),r()(),h(5,Xe,1,4,"ng-select",6)(6,Je,1,3,"ng-select",7)(7,ze,1,2,"input",8)(8,Qe,2,1,"small",5),r()),i&2){let e=m.$implicit;p(2),D(e.is_required?2:-1),p(2),Z(" ",e==null?null:e.name," "),p(),D(e.is_multiple_selection?5:e.values!==null&&e.values.length>0?6:7),p(3),D(e.is_required?8:-1)}}function Ze(i,m){if(i&1&&(N(0),l(1,"form",1)(2,"div",2),G(3,qe,9,4,"div",3,$),r()(),P()),i&2){let e=m.ngIf,t=a();p(),s("formGroup",t.form),p(2),Y(e)}}var Ve=(()=>{class i{constructor(){this.tiktokAttributeFormService=d(le),this.attributesChanges=new M}ngOnChanges(){f.IsNotEmpty(this.categoryId)&&f.IsNotEmpty(this.channelId)&&(this.attributes$=this.tiktokAttributeFormService.getAttributes(this.channelId,this.categoryId).pipe(F(e=>e.filter(t=>!(t.type=="PRODUCT_PROPERTY"&&(f.IsEmpty(t.values)||t.values?.length==0)&&t.is_customizable==!1))),A(e=>{this.form=this.tiktokAttributeFormService.createFormGroup(e),this.listenToFormChange(e)}),ee(1)))}listenToFormChange(e){let t=[];this.formSubscription=this.form.valueChanges.subscribe(o=>{t=this.tiktokAttributeFormService.getFilteredAttributes(e,o),this.attributesChanges.emit(t)})}ngOnDestroy(){this.formSubscription&&this.formSubscription.unsubscribe()}static{this.\u0275fac=function(t){return new(t||i)}}static{this.\u0275cmp=y({type:i,selectors:[["tiktok-attribute-form"]],inputs:{channelId:"channelId",categoryId:"categoryId"},outputs:{attributesChanges:"attributesChanges"},features:[v([le]),E],decls:2,vars:3,consts:[[4,"ngIf"],[3,"formGroup"],[1,"row"],[1,"col-6","mb-3"],[1,"mb-1"],[1,"text-danger"],["bindLabel","name","bindValue","id",3,"multiple","formControlName","items","placeholder"],["bindLabel","name","bindValue","id",3,"formControlName","items","placeholder"],["type","text",1,"form-control",3,"formControlName","placeholder"]],template:function(t,o){t&1&&(h(0,Ze,5,1,"ng-container",0),C(1,"async")),t&2&&s("ngIf",b(1,1,o.attributes$))},dependencies:[T,O,x,B,L,U,W,te,V,H,X,J,Q],encapsulation:2})}}return i})();var se=(()=>{class i{constructor(){this.woocommerceUploadService=d(ie)}getAttributes(e,t){return this.woocommerceUploadService.getAttributes(e,t).pipe(F(o=>o.map(n=>({key:n.name,label:n.name}))))}static{this.\u0275fac=function(t){return new(t||i)}}static{this.\u0275prov=k({token:i,factory:i.\u0275fac})}}return i})();var Ue=(()=>{class i{constructor(){this.wooAttributeFormService=d(se),this.channelId=re(),this.categoryId=re(),this.attributesChanges=new M}ngOnChanges(){f.IsNotEmpty(this.categoryId())&&f.IsNotEmpty(this.channelId())&&(this.attributes$=this.wooAttributeFormService.getAttributes(this.channelId(),this.categoryId()))}onSelectAttribute(e){this.attributesChanges.emit([e.key])}static{this.\u0275fac=function(t){return new(t||i)}}static{this.\u0275cmp=y({type:i,selectors:[["wooocommerce-attribute-form"]],inputs:{channelId:[1,"channelId"],categoryId:[1,"categoryId"]},outputs:{attributesChanges:"attributesChanges"},features:[v([se]),E],decls:6,vars:3,consts:[[1,"row"],[1,"col-6"],[1,"mb-1"],["bindLabel","label","bindValue","id","placeholder","Pilih Atribut",3,"change","items"]],template:function(t,o){t&1&&(l(0,"div",0)(1,"div",1)(2,"div",2),u(3,"Atribut"),r(),l(4,"ng-select",3),C(5,"async"),g("change",function(c){return o.onSelectAttribute(c)}),r()()()),t&2&&(p(4),s("items",b(5,1,o.attributes$)))},dependencies:[T,x,Q,B,L,U],encapsulation:2})}}return i})();var me=(()=>{class i{constructor(){this.httpService=d(q),this.formBuilder=d(z)}getAttributes(e,t){return this.httpService.get("api/product/tokopedia/GetAttributes",[{key:"ID",value:e},{key:"CategoryID",value:t}]).pipe(F(n=>n))}createFormGroup(e){let t=this.formBuilder.group({});return e.forEach(o=>{t.addControl(o.variant,this.formBuilder.control(null))}),t}convertAttributes(e={}){return Object.values(e).filter(o=>o!==null).map(o=>JSON.stringify(o))}static{this.\u0275fac=function(t){return new(t||i)}}static{this.\u0275prov=k({token:i,factory:i.\u0275fac})}}return i})();function Ke(i,m){if(i&1&&(l(0,"div",3)(1,"div",4),u(2),r(),_(3,"ng-select",5),r()),i&2){let e=m.$implicit;p(2),Z(" ",e==null?null:e.variant," "),p(),s("formControlName",e.variant)("items",e.values)("placeholder","Pilih "+(e==null?null:e.variant))}}function et(i,m){if(i&1&&(N(0),l(1,"form",1)(2,"div",2),G(3,Ke,4,4,"div",3,$),r()(),P()),i&2){let e=m.ngIf,t=a();p(),s("formGroup",t.form),p(2),Y(e)}}var Le=(()=>{class i{constructor(){this.tokpedAttrFormService=d(me),this.attributesChanges=new M}ngOnInit(){}ngOnChanges(e){f.IsNotEmpty(this.categoryId)&&f.IsNotEmpty(this.channelId)&&(this.attributes$=this.tokpedAttrFormService.getAttributes(this.channelId,this.categoryId).pipe(A(t=>{this.form=this.tokpedAttrFormService.createFormGroup(t),this.listenToFormChange()})))}listenToFormChange(){let e=[];this.formSubscription=this.form.valueChanges.subscribe(t=>{e=this.tokpedAttrFormService.convertAttributes(t),this.attributesChanges.emit(e)})}ngOnDestroy(){this.formSubscription&&this.formSubscription.unsubscribe()}static{this.\u0275fac=function(t){return new(t||i)}}static{this.\u0275cmp=y({type:i,selectors:[["tokopedia-attribute-form"]],inputs:{channelId:"channelId",categoryId:"categoryId"},outputs:{attributesChanges:"attributesChanges"},features:[v([me]),E],decls:2,vars:3,consts:[[4,"ngIf"],[3,"formGroup"],[1,"row"],[1,"col-6","mb-3"],[1,"mb-1"],["bindLabel","name","bindValue","id",3,"formControlName","items","placeholder"]],template:function(t,o){t&1&&(h(0,et,5,1,"ng-container",0),C(1,"async")),t&2&&s("ngIf",b(1,1,o.attributes$))},dependencies:[T,O,x,B,L,U,W,V,H,X,J],encapsulation:2})}}return i})();var de=(()=>{class i{constructor(){this.httpService=d(q),this.formBuilder=d(z)}getAttributes(e){return this.httpService.get("api/product/shopify/GetAttributes",[{key:"ID",value:e}]).pipe(A(o=>(o.Options.StatusOptions=o.Options.Status.map(n=>({id:n,name:n})),o)))}createFormGroup(e){let t=this.formBuilder.group({});return Object.keys(e.Attribute).forEach(n=>{t.addControl(n,this.formBuilder.control(null))}),t}static{this.\u0275fac=function(t){return new(t||i)}}static{this.\u0275prov=k({token:i,factory:i.\u0275fac})}}return i})();function tt(i,m){if(i&1&&(N(0),l(1,"form",1)(2,"div",2)(3,"div",3)(4,"div",4),u(5," Brand "),r(),_(6,"input",5),r(),l(7,"div",6)(8,"div",4),u(9," Product Type "),r(),_(10,"input",7),r(),l(11,"div",6)(12,"div",4),u(13," Status "),r(),_(14,"ng-select",8),r()()(),P()),i&2){let e=m.ngIf,t=a();p(),s("formGroup",t.form),p(13),s("items",e.Options.StatusOptions)}}var Be=(()=>{class i{constructor(){this.attributesChanges=new M,this.shopifyFormService=d(de)}ngOnChanges(e){e.channelId&&(this.attributes$=this.shopifyFormService.getAttributes(this.channelId).pipe(A(t=>{this.form=this.shopifyFormService.createFormGroup(t),this.listenToFormChange()})))}listenToFormChange(){this.formSubscription=this.form.valueChanges.pipe(_e(500)).subscribe(e=>{this.attributesChanges.emit([e])})}ngOnDestroy(){this.formSubscription.unsubscribe()}static{this.\u0275fac=function(t){return new(t||i)}}static{this.\u0275cmp=y({type:i,selectors:[["shopify-attribute-form"]],inputs:{channelId:"channelId"},outputs:{attributesChanges:"attributesChanges"},features:[v([de]),E],decls:2,vars:3,consts:[[4,"ngIf"],[3,"formGroup"],[1,"row"],[1,"col-6","mb-3"],[1,"mb-1"],["formControlName","Brand","type","text","placeholder","brand",1,"form-control"],[1,"col-6"],["formControlName","ProductType","type","text","placeholder","Product Type",1,"form-control"],["formControlName","Status","bindLabel","name","bindValue","id","placeholder","Status",3,"items"]],template:function(t,o){t&1&&(h(0,tt,15,2,"ng-container",0),C(1,"async")),t&2&&s("ngIf",b(1,1,o.attributes$))},dependencies:[T,O,x,U,W,te,V,H,X,J,B,L],encapsulation:2})}}return i})();function it(i,m){if(i&1&&(l(0,"div",6),_(1,"app-product-card",9),r()),i&2){let e=m.$implicit;p(),s("productId",e==null?null:e.ID)("title",e==null?null:e.Name)("image",e==null?null:e.ThumbnailUrl)("description",(e==null||e.Variants==null?null:e.Variants.length)>1?(e==null||e.Variants==null?null:e.Variants.length)+" Variants":null)("imageForZoom",e==null?null:e.ImageUrl)("code",e==null||e.Variants[0]==null?null:e.Variants[0].Code)("showFooter",!1)}}function nt(i,m){if(i&1){let e=w();N(0),l(1,"mat-checkbox",21),Ce("ngModelChange",function(o){I(e);let n=a().$implicit;return ge(n.selected,o)||(n.selected=o),S(o)}),g("ngModelChange",function(){let o=I(e).ngIf,n=a(),c=n.$implicit,j=n.$index,K=a();return S(K.onSelectChannel(c,j,o))}),r(),P()}if(i&2){let e=a().$implicit;p(),he("ngModel",e.selected)}}function ot(i,m){if(i&1&&(l(0,"div",18),_(1,"input",22),r()),i&2){let e=a().$implicit,t=a();s("matTooltip",e.type==t.channelType.Shopify?"Cannot change category, please change category in admin.shopify.com":e.type==t.channelType.Plugo?"You can change the category after the product has been uploaded to the Plugo Dashboard.":"")}}function rt(i,m){if(i&1){let e=w();l(0,"app-channel-category-select",23),g("selectedCategory",function(o){I(e);let n=a().$index,c=a();return S(c.onCategoryChange(n,o))}),r()}if(i&2){let e=a().$implicit,t=a();s("disabled",!e.selected||e.selected&&e.type==t.channelType.Lazada)("channelId",e.id)("channelType",e.type)("categoryId",e.categoryId)}}function at(i,m){if(i&1){let e=w();l(0,"shopee-attribute-form",27),g("attributesChanges",function(o){I(e);let n=a(2).$index,c=a();return S(c.onAttributesChange(n,o))}),r()}if(i&2){let e=a(2).$implicit;s("categoryId",e.categoryId)("channelId",e.id)("channelType",e.type)}}function lt(i,m){if(i&1){let e=w();l(0,"tiktok-attribute-form",28),g("attributesChanges",function(o){I(e);let n=a(2).$index,c=a();return S(c.onAttributesChange(n,o))}),r()}if(i&2){let e=a(2).$implicit;s("categoryId",e.categoryId)("channelId",e.id)}}function ct(i,m){if(i&1){let e=w();l(0,"wooocommerce-attribute-form",28),g("attributesChanges",function(o){I(e);let n=a(2).$index,c=a();return S(c.onAttributesChange(n,o))}),r()}if(i&2){let e=a(2).$implicit;s("categoryId",e.categoryId)("channelId",e.id)}}function pt(i,m){if(i&1){let e=w();l(0,"tokopedia-attribute-form",28),g("attributesChanges",function(o){I(e);let n=a(2).$index,c=a();return S(c.onAttributesChange(n,o))}),r()}if(i&2){let e=a(2).$implicit;s("categoryId",e.categoryId)("channelId",e.id)}}function st(i,m){if(i&1&&(l(0,"div",20)(1,"div",24),h(2,at,1,3,"shopee-attribute-form",25)(3,lt,1,2,"tiktok-attribute-form",26)(4,ct,1,2,"wooocommerce-attribute-form",26)(5,pt,1,2,"tokopedia-attribute-form",26),r()()),i&2){let e,t=a().$implicit,o=a();p(2),D((e=t.type)===o.channelType.Shopee?2:e===o.channelType.Tiktok?3:e===o.channelType.WooCommerce?4:e===o.channelType.Tokopedia?5:-1)}}function mt(i,m){if(i&1){let e=w();l(0,"div",20)(1,"div",24)(2,"shopify-attribute-form",29),g("attributesChanges",function(o){I(e);let n=a().$index,c=a();return S(c.onAttributesChange(n,o))}),r()()()}if(i&2){let e=a().$implicit;p(2),s("channelId",e.id)}}function dt(i,m){if(i&1&&(l(0,"div",8)(1,"div",10)(2,"div",11)(3,"div",12)(4,"div",13)(5,"div"),h(6,nt,2,1,"ng-container",14),C(7,"async"),r(),l(8,"div"),_(9,"app-channel-logo",15),r(),l(10,"div",16)(11,"span"),u(12),r()()()(),l(13,"div",12)(14,"div",17),h(15,ot,2,1,"div",18)(16,rt,1,4,"app-channel-category-select",19),r()()(),h(17,st,6,1,"div",20)(18,mt,3,1,"div",20),r()()),i&2){let e=m.$implicit,t=a();p(6),s("ngIf",b(7,8,t.defaultCategories$)),p(3),s("typeId",e.type)("showChannelName",!1),p(),s("matTooltip",e.name)("matTooltipShowDelay",2500),p(2),fe(e.name),p(3),D(e.type==t.channelType.Shopify||e.type==t.channelType.Plugo?15:16),p(2),D(e.categoryId&&t.channelType.Lazada!=e.type&&e.selected?17:t.channelType.Shopify==e.type&&e.selected?18:-1)}}var Sn=(()=>{class i{constructor(){this.uploadProductService=d(ne),this.selectedProducts$=this.uploadProductService.selectedProduct$,this.channelProductUploads=this.uploadProductService.channelProductUpload,this.channelType=ve,this.defaultCategories$=this.uploadProductService.getDefaultCategory().pipe(ee(1))}onCategoryChange(e,t){this.channelProductUploads.update(o=>o.map((n,c)=>(c==e&&(n.categoryId=t,n.attributes=[]),n)))}onAttributesChange(e,t){this.channelProductUploads.update(o=>o.map((n,c)=>(c==e&&(n.attributes=t),n)))}onSelectChannel(e,t,o){this.channelProductUploads.update(n=>n.map((c,j)=>{if(j==t&&e.selected){let K=this.findCategoryByChannelId(e.id,o);c.categoryId=K?.DefaultCategoryID}return j==t&&!e.selected&&(c.categoryId=null),c}))}findCategoryByChannelId(e,t){return t.find(o=>o.ID===e)}onUploadProduct(){this.uploadProductService.onUploadProduct(this.channelProductUploads())}ngOnDestroy(){this.uploadProductService.clearSelectedProduct()}static{this.\u0275fac=function(t){return new(t||i)}}static{this.\u0275cmp=y({type:i,selectors:[["app-product-upload"]],features:[v([ae,ke,Ee,ie])],decls:17,vars:5,consts:[["headerTitle","Upload Product To Channel",3,"hideSearchBox","hideSearchDropdown"],[1,"btn","btn-light","shadow","rounded","ms-2",3,"click","disabled"],["aria-hidden","true",1,"fa","fa-upload"],[1,"container-fluid","mt-6"],[1,"ps-3","mt-8","pb-5","fw-medium"],[1,"row","mb-10","ps-3"],[1,"col-12","col-md-6","col-xl-4","px-3","my-3"],[1,"ps-3","mb-8","border-bottom","pb-5","fw-medium"],[1,"row","mb-6"],[3,"productId","title","image","description","imageForZoom","code","showFooter"],[1,"col-12"],[1,"row"],[1,"col-3"],[1,"d-flex","align-items-center"],[4,"ngIf"],[3,"typeId","showChannelName"],[2,"overflow","hidden","text-overflow","ellipsis","white-space","nowrap",3,"matTooltip","matTooltipShowDelay"],[1,"w-100"],["matTooltipPosition","above",3,"matTooltip"],[3,"disabled","channelId","channelType","categoryId"],[1,"row","my-3"],["color","primary",1,"example-margin",3,"ngModelChange","ngModel"],["disabled","","type","text","placeholder","Category Unavailable",1,"form-control","rounded-1",2,"height","35px"],[3,"selectedCategory","disabled","channelId","channelType","categoryId"],[1,"col-12","ps-11"],[3,"categoryId","channelId","channelType"],[3,"categoryId","channelId"],[3,"attributesChanges","categoryId","channelId","channelType"],[3,"attributesChanges","categoryId","channelId"],[3,"attributesChanges","channelId"]],template:function(t,o){if(t&1&&(l(0,"mainpanel",0)(1,"actions")(2,"button",1),g("click",function(){return o.onUploadProduct()}),_(3,"i",2),u(4," Upload "),r()(),l(5,"content")(6,"div",3)(7,"h3",4),u(8,"Product To Upload"),r(),l(9,"div",5),G(10,it,2,7,"div",6,$),C(12,"async"),r(),l(13,"h3",7),u(14,"Channel To Upload"),r(),G(15,dt,19,10,"div",8,$),r()()()),t&2){let n;s("hideSearchBox",!0)("hideSearchDropdown",!0),p(2),s("disabled",((n=o.channelProductUploads())==null?null:n.length)==0),p(8),Y(b(12,3,o.selectedProducts$)),p(5),Y(o.channelProductUploads())}},dependencies:[T,O,x,De,Se,Ie,Pe,Ne,Ae,Fe,Q,V,ye,Te,xe,Ve,Ue,Le,Be,Me,we],encapsulation:2})}}return i})();export{Sn as ProductUploadComponent};