marketplacepos 2.2.9 → 2.3.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 (75) hide show
  1. package/Marketplace/1.b49e619a73fb2a86.js +1 -0
  2. package/Marketplace/115.44f051b23469a3a3.js +1 -0
  3. package/Marketplace/22.3829c474fb5bad35.js +1 -0
  4. package/Marketplace/285.17f6cbef78acd327.js +1 -0
  5. package/Marketplace/3rdpartylicenses.txt +517 -0
  6. package/Marketplace/46.3815daacf4a89802.js +1 -0
  7. package/Marketplace/466.fd29b7965d5e28a4.js +1 -0
  8. package/Marketplace/472.8a5a65585a8eae0d.js +1 -0
  9. package/Marketplace/512.eddb4675a9016de6.js +1 -0
  10. package/Marketplace/518.c5dbfdd31a6ddcfc.js +1 -0
  11. package/Marketplace/585.c93552ac67f4550c.js +1 -0
  12. package/Marketplace/6.fc79ecc0c0a33462.js +1 -0
  13. package/Marketplace/61.6bf2570c9c03e65d.js +1 -0
  14. package/Marketplace/616.507588c0a5d7b9e1.js +1 -0
  15. package/Marketplace/717.62ca448a74adc1c2.js +1 -0
  16. package/Marketplace/739.82b92600f9519019.js +1 -0
  17. package/Marketplace/763.698000c82516136b.js +1 -0
  18. package/Marketplace/767.0ce42314dea8dfea.js +1 -0
  19. package/Marketplace/796.3be8ad424aad7864.js +1 -0
  20. package/Marketplace/common.34d3e7dcd2b85c7a.js +1 -0
  21. package/Marketplace/index.html +22 -23
  22. package/Marketplace/main.efbf88d695aa7333.js +1 -0
  23. package/Marketplace/polyfills.8d85b0533e3f867a.js +1 -0
  24. package/Marketplace/runtime.483da6b9bc6293f4.js +1 -0
  25. package/Marketplace/scripts.512baec01df5d79f.js +1 -0
  26. package/Marketplace/styles.44d414097ff92971.css +39 -0
  27. package/package.json +1 -1
  28. package/Marketplace/common.js +0 -46
  29. package/Marketplace/common.js.map +0 -1
  30. package/Marketplace/default-node_modules_angular_forms_fesm2020_forms_mjs.js +0 -9551
  31. package/Marketplace/default-node_modules_angular_forms_fesm2020_forms_mjs.js.map +0 -1
  32. package/Marketplace/default-node_modules_angular_material_fesm2020_paginator_mjs.js +0 -797
  33. package/Marketplace/default-node_modules_angular_material_fesm2020_paginator_mjs.js.map +0 -1
  34. package/Marketplace/default-node_modules_ng-select_ng-select_fesm2020_ng-select-ng-select_mjs.js +0 -4632
  35. package/Marketplace/default-node_modules_ng-select_ng-select_fesm2020_ng-select-ng-select_mjs.js.map +0 -1
  36. package/Marketplace/default-src_app_menu_nav-tab_nav-tab_component_ts-node_modules_angular_material_fesm2020_date-e7a231.js +0 -6836
  37. package/Marketplace/default-src_app_menu_nav-tab_nav-tab_component_ts-node_modules_angular_material_fesm2020_date-e7a231.js.map +0 -1
  38. package/Marketplace/default-src_app_menu_nav-tab_nav-tab_component_ts-node_modules_angular_material_fesm2020_slid-566c11.js +0 -722
  39. package/Marketplace/default-src_app_menu_nav-tab_nav-tab_component_ts-node_modules_angular_material_fesm2020_slid-566c11.js.map +0 -1
  40. package/Marketplace/default-src_app_sharing-module_datepicker_datepicker_component_ts.js +0 -19951
  41. package/Marketplace/default-src_app_sharing-module_datepicker_datepicker_component_ts.js.map +0 -1
  42. package/Marketplace/main.js +0 -617
  43. package/Marketplace/main.js.map +0 -1
  44. package/Marketplace/polyfills.js +0 -3398
  45. package/Marketplace/polyfills.js.map +0 -1
  46. package/Marketplace/runtime.js +0 -346
  47. package/Marketplace/runtime.js.map +0 -1
  48. package/Marketplace/scripts.js +0 -2634
  49. package/Marketplace/scripts.js.map +0 -1
  50. package/Marketplace/src_app_login_login_module_ts.js +0 -538
  51. package/Marketplace/src_app_login_login_module_ts.js.map +0 -1
  52. package/Marketplace/src_app_menu_ReportOrder_report_module_ts.js +0 -1060
  53. package/Marketplace/src_app_menu_ReportOrder_report_module_ts.js.map +0 -1
  54. package/Marketplace/src_app_menu_channels_channels_module_ts.js +0 -9710
  55. package/Marketplace/src_app_menu_channels_channels_module_ts.js.map +0 -1
  56. package/Marketplace/src_app_menu_inventory_inventory_module_ts.js +0 -1069
  57. package/Marketplace/src_app_menu_inventory_inventory_module_ts.js.map +0 -1
  58. package/Marketplace/src_app_menu_logistic_logistic_module_ts.js +0 -232
  59. package/Marketplace/src_app_menu_logistic_logistic_module_ts.js.map +0 -1
  60. package/Marketplace/src_app_menu_menu_module_ts.js +0 -38973
  61. package/Marketplace/src_app_menu_menu_module_ts.js.map +0 -1
  62. package/Marketplace/src_app_menu_notification_notification_module_ts.js +0 -192
  63. package/Marketplace/src_app_menu_notification_notification_module_ts.js.map +0 -1
  64. package/Marketplace/src_app_menu_object-log_logs_module_ts.js +0 -1997
  65. package/Marketplace/src_app_menu_object-log_logs_module_ts.js.map +0 -1
  66. package/Marketplace/src_app_menu_orders_orders_module_ts.js +0 -2449
  67. package/Marketplace/src_app_menu_orders_orders_module_ts.js.map +0 -1
  68. package/Marketplace/src_app_menu_price_price_module_ts.js +0 -1713
  69. package/Marketplace/src_app_menu_price_price_module_ts.js.map +0 -1
  70. package/Marketplace/src_app_menu_products_product_module_ts.js +0 -2196
  71. package/Marketplace/src_app_menu_products_product_module_ts.js.map +0 -1
  72. package/Marketplace/styles.css +0 -30612
  73. package/Marketplace/styles.css.map +0 -1
  74. package/Marketplace/vendor.js +0 -71753
  75. package/Marketplace/vendor.js.map +0 -1
@@ -0,0 +1,517 @@
1
+ @angular/animations
2
+ MIT
3
+
4
+ @angular/cdk
5
+ MIT
6
+ The MIT License
7
+
8
+ Copyright (c) 2022 Google LLC.
9
+
10
+ Permission is hereby granted, free of charge, to any person obtaining a copy
11
+ of this software and associated documentation files (the "Software"), to deal
12
+ in the Software without restriction, including without limitation the rights
13
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
14
+ copies of the Software, and to permit persons to whom the Software is
15
+ furnished to do so, subject to the following conditions:
16
+
17
+ The above copyright notice and this permission notice shall be included in
18
+ all copies or substantial portions of the Software.
19
+
20
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
21
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
22
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
23
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
24
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
25
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
26
+ THE SOFTWARE.
27
+
28
+
29
+ @angular/common
30
+ MIT
31
+
32
+ @angular/core
33
+ MIT
34
+
35
+ @angular/forms
36
+ MIT
37
+
38
+ @angular/material
39
+ MIT
40
+ The MIT License
41
+
42
+ Copyright (c) 2022 Google LLC.
43
+
44
+ Permission is hereby granted, free of charge, to any person obtaining a copy
45
+ of this software and associated documentation files (the "Software"), to deal
46
+ in the Software without restriction, including without limitation the rights
47
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
48
+ copies of the Software, and to permit persons to whom the Software is
49
+ furnished to do so, subject to the following conditions:
50
+
51
+ The above copyright notice and this permission notice shall be included in
52
+ all copies or substantial portions of the Software.
53
+
54
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
55
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
56
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
57
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
58
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
59
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
60
+ THE SOFTWARE.
61
+
62
+
63
+ @angular/material-moment-adapter
64
+ MIT
65
+ The MIT License
66
+
67
+ Copyright (c) 2022 Google LLC.
68
+
69
+ Permission is hereby granted, free of charge, to any person obtaining a copy
70
+ of this software and associated documentation files (the "Software"), to deal
71
+ in the Software without restriction, including without limitation the rights
72
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
73
+ copies of the Software, and to permit persons to whom the Software is
74
+ furnished to do so, subject to the following conditions:
75
+
76
+ The above copyright notice and this permission notice shall be included in
77
+ all copies or substantial portions of the Software.
78
+
79
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
80
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
81
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
82
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
83
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
84
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
85
+ THE SOFTWARE.
86
+
87
+
88
+ @angular/platform-browser
89
+ MIT
90
+
91
+ @angular/router
92
+ MIT
93
+
94
+ @microsoft/signalr
95
+ Apache-2.0
96
+
97
+ @ng-select/ng-select
98
+ MIT
99
+
100
+ autonumeric
101
+ MIT
102
+ Copyright 2009 Robert J. Knothe <bob@decorplanit.com> and contributors
103
+
104
+
105
+ Permission is hereby granted, free of charge, to any person
106
+ obtaining a copy of this software and associated documentation
107
+ files (the "Software"), to deal in the Software without
108
+ restriction, including without limitation the rights to use,
109
+ copy, modify, merge, publish, distribute, sub license, and/or sell
110
+ copies of the Software, and to permit persons to whom the
111
+ Software is furnished to do so, subject to the following
112
+ conditions:
113
+
114
+ The above copyright notice and this permission notice shall be
115
+ included in all copies or substantial portions of the Software.
116
+
117
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
118
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
119
+ OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
120
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
121
+ HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
122
+ WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
123
+ FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
124
+ OTHER DEALINGS IN THE SOFTWARE.
125
+
126
+
127
+ moment
128
+ MIT
129
+ Copyright (c) JS Foundation and other contributors
130
+
131
+ Permission is hereby granted, free of charge, to any person
132
+ obtaining a copy of this software and associated documentation
133
+ files (the "Software"), to deal in the Software without
134
+ restriction, including without limitation the rights to use,
135
+ copy, modify, merge, publish, distribute, sublicense, and/or sell
136
+ copies of the Software, and to permit persons to whom the
137
+ Software is furnished to do so, subject to the following
138
+ conditions:
139
+
140
+ The above copyright notice and this permission notice shall be
141
+ included in all copies or substantial portions of the Software.
142
+
143
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
144
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
145
+ OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
146
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
147
+ HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
148
+ WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
149
+ FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
150
+ OTHER DEALINGS IN THE SOFTWARE.
151
+
152
+
153
+ ng-http-loader
154
+ MIT
155
+ The MIT License (MIT)
156
+
157
+ Copyright (c) 2017-2021 mpalourdio
158
+
159
+ Permission is hereby granted, free of charge, to any person obtaining a copy of
160
+ this software and associated documentation files (the "Software"), to deal in
161
+ the Software without restriction, including without limitation the rights to
162
+ use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
163
+ the Software, and to permit persons to whom the Software is furnished to do so,
164
+ subject to the following conditions:
165
+
166
+ The above copyright notice and this permission notice shall be included in all
167
+ copies or substantial portions of the Software.
168
+
169
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
170
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
171
+ FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
172
+ COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
173
+ IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
174
+ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
175
+
176
+
177
+ ng-mat-select-infinite-scroll
178
+ MIT
179
+ MIT License
180
+
181
+ Copyright (c) 2021 Haidar Zeineddine
182
+
183
+ Permission is hereby granted, free of charge, to any person obtaining a copy
184
+ of this software and associated documentation files (the "Software"), to deal
185
+ in the Software without restriction, including without limitation the rights
186
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
187
+ copies of the Software, and to permit persons to whom the Software is
188
+ furnished to do so, subject to the following conditions:
189
+
190
+ The above copyright notice and this permission notice shall be included in all
191
+ copies or substantial portions of the Software.
192
+
193
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
194
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
195
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
196
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
197
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
198
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
199
+ SOFTWARE.
200
+
201
+
202
+ ngx-indexed-db
203
+ ISC
204
+ The MIT License (MIT)
205
+
206
+ Permission is hereby granted, free of charge, to any person obtaining a copy
207
+ of this software and associated documentation files (the "Software"), to deal
208
+ in the Software without restriction, including without limitation the rights
209
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
210
+ copies of the Software, and to permit persons to whom the Software is
211
+ furnished to do so, subject to the following conditions:
212
+
213
+ The above copyright notice and this permission notice shall be included in
214
+ all copies or substantial portions of the Software.
215
+
216
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
217
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
218
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
219
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
220
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
221
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
222
+ THE SOFTWARE.
223
+
224
+ ngx-mat-select-search
225
+ MIT
226
+ MIT License
227
+
228
+ Copyright (c) 2018 Bithost GmbH
229
+
230
+ Permission is hereby granted, free of charge, to any person obtaining a copy
231
+ of this software and associated documentation files (the "Software"), to deal
232
+ in the Software without restriction, including without limitation the rights
233
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
234
+ copies of the Software, and to permit persons to whom the Software is
235
+ furnished to do so, subject to the following conditions:
236
+
237
+ The above copyright notice and this permission notice shall be included in all
238
+ copies or substantial portions of the Software.
239
+
240
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
241
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
242
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
243
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
244
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
245
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
246
+ SOFTWARE.
247
+
248
+
249
+ ngx-toastr
250
+ MIT
251
+ The MIT License (MIT)
252
+
253
+ Copyright (c) Scott Cooper <scttcper@gmail.com>
254
+
255
+ Permission is hereby granted, free of charge, to any person obtaining a copy
256
+ of this software and associated documentation files (the "Software"), to deal
257
+ in the Software without restriction, including without limitation the rights
258
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
259
+ copies of the Software, and to permit persons to whom the Software is
260
+ furnished to do so, subject to the following conditions:
261
+
262
+ The above copyright notice and this permission notice shall be included in all
263
+ copies or substantial portions of the Software.
264
+
265
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
266
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
267
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
268
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
269
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
270
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
271
+ SOFTWARE.
272
+
273
+
274
+ rxjs
275
+ Apache-2.0
276
+ Apache License
277
+ Version 2.0, January 2004
278
+ http://www.apache.org/licenses/
279
+
280
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
281
+
282
+ 1. Definitions.
283
+
284
+ "License" shall mean the terms and conditions for use, reproduction,
285
+ and distribution as defined by Sections 1 through 9 of this document.
286
+
287
+ "Licensor" shall mean the copyright owner or entity authorized by
288
+ the copyright owner that is granting the License.
289
+
290
+ "Legal Entity" shall mean the union of the acting entity and all
291
+ other entities that control, are controlled by, or are under common
292
+ control with that entity. For the purposes of this definition,
293
+ "control" means (i) the power, direct or indirect, to cause the
294
+ direction or management of such entity, whether by contract or
295
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
296
+ outstanding shares, or (iii) beneficial ownership of such entity.
297
+
298
+ "You" (or "Your") shall mean an individual or Legal Entity
299
+ exercising permissions granted by this License.
300
+
301
+ "Source" form shall mean the preferred form for making modifications,
302
+ including but not limited to software source code, documentation
303
+ source, and configuration files.
304
+
305
+ "Object" form shall mean any form resulting from mechanical
306
+ transformation or translation of a Source form, including but
307
+ not limited to compiled object code, generated documentation,
308
+ and conversions to other media types.
309
+
310
+ "Work" shall mean the work of authorship, whether in Source or
311
+ Object form, made available under the License, as indicated by a
312
+ copyright notice that is included in or attached to the work
313
+ (an example is provided in the Appendix below).
314
+
315
+ "Derivative Works" shall mean any work, whether in Source or Object
316
+ form, that is based on (or derived from) the Work and for which the
317
+ editorial revisions, annotations, elaborations, or other modifications
318
+ represent, as a whole, an original work of authorship. For the purposes
319
+ of this License, Derivative Works shall not include works that remain
320
+ separable from, or merely link (or bind by name) to the interfaces of,
321
+ the Work and Derivative Works thereof.
322
+
323
+ "Contribution" shall mean any work of authorship, including
324
+ the original version of the Work and any modifications or additions
325
+ to that Work or Derivative Works thereof, that is intentionally
326
+ submitted to Licensor for inclusion in the Work by the copyright owner
327
+ or by an individual or Legal Entity authorized to submit on behalf of
328
+ the copyright owner. For the purposes of this definition, "submitted"
329
+ means any form of electronic, verbal, or written communication sent
330
+ to the Licensor or its representatives, including but not limited to
331
+ communication on electronic mailing lists, source code control systems,
332
+ and issue tracking systems that are managed by, or on behalf of, the
333
+ Licensor for the purpose of discussing and improving the Work, but
334
+ excluding communication that is conspicuously marked or otherwise
335
+ designated in writing by the copyright owner as "Not a Contribution."
336
+
337
+ "Contributor" shall mean Licensor and any individual or Legal Entity
338
+ on behalf of whom a Contribution has been received by Licensor and
339
+ subsequently incorporated within the Work.
340
+
341
+ 2. Grant of Copyright License. Subject to the terms and conditions of
342
+ this License, each Contributor hereby grants to You a perpetual,
343
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
344
+ copyright license to reproduce, prepare Derivative Works of,
345
+ publicly display, publicly perform, sublicense, and distribute the
346
+ Work and such Derivative Works in Source or Object form.
347
+
348
+ 3. Grant of Patent License. Subject to the terms and conditions of
349
+ this License, each Contributor hereby grants to You a perpetual,
350
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
351
+ (except as stated in this section) patent license to make, have made,
352
+ use, offer to sell, sell, import, and otherwise transfer the Work,
353
+ where such license applies only to those patent claims licensable
354
+ by such Contributor that are necessarily infringed by their
355
+ Contribution(s) alone or by combination of their Contribution(s)
356
+ with the Work to which such Contribution(s) was submitted. If You
357
+ institute patent litigation against any entity (including a
358
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
359
+ or a Contribution incorporated within the Work constitutes direct
360
+ or contributory patent infringement, then any patent licenses
361
+ granted to You under this License for that Work shall terminate
362
+ as of the date such litigation is filed.
363
+
364
+ 4. Redistribution. You may reproduce and distribute copies of the
365
+ Work or Derivative Works thereof in any medium, with or without
366
+ modifications, and in Source or Object form, provided that You
367
+ meet the following conditions:
368
+
369
+ (a) You must give any other recipients of the Work or
370
+ Derivative Works a copy of this License; and
371
+
372
+ (b) You must cause any modified files to carry prominent notices
373
+ stating that You changed the files; and
374
+
375
+ (c) You must retain, in the Source form of any Derivative Works
376
+ that You distribute, all copyright, patent, trademark, and
377
+ attribution notices from the Source form of the Work,
378
+ excluding those notices that do not pertain to any part of
379
+ the Derivative Works; and
380
+
381
+ (d) If the Work includes a "NOTICE" text file as part of its
382
+ distribution, then any Derivative Works that You distribute must
383
+ include a readable copy of the attribution notices contained
384
+ within such NOTICE file, excluding those notices that do not
385
+ pertain to any part of the Derivative Works, in at least one
386
+ of the following places: within a NOTICE text file distributed
387
+ as part of the Derivative Works; within the Source form or
388
+ documentation, if provided along with the Derivative Works; or,
389
+ within a display generated by the Derivative Works, if and
390
+ wherever such third-party notices normally appear. The contents
391
+ of the NOTICE file are for informational purposes only and
392
+ do not modify the License. You may add Your own attribution
393
+ notices within Derivative Works that You distribute, alongside
394
+ or as an addendum to the NOTICE text from the Work, provided
395
+ that such additional attribution notices cannot be construed
396
+ as modifying the License.
397
+
398
+ You may add Your own copyright statement to Your modifications and
399
+ may provide additional or different license terms and conditions
400
+ for use, reproduction, or distribution of Your modifications, or
401
+ for any such Derivative Works as a whole, provided Your use,
402
+ reproduction, and distribution of the Work otherwise complies with
403
+ the conditions stated in this License.
404
+
405
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
406
+ any Contribution intentionally submitted for inclusion in the Work
407
+ by You to the Licensor shall be under the terms and conditions of
408
+ this License, without any additional terms or conditions.
409
+ Notwithstanding the above, nothing herein shall supersede or modify
410
+ the terms of any separate license agreement you may have executed
411
+ with Licensor regarding such Contributions.
412
+
413
+ 6. Trademarks. This License does not grant permission to use the trade
414
+ names, trademarks, service marks, or product names of the Licensor,
415
+ except as required for reasonable and customary use in describing the
416
+ origin of the Work and reproducing the content of the NOTICE file.
417
+
418
+ 7. Disclaimer of Warranty. Unless required by applicable law or
419
+ agreed to in writing, Licensor provides the Work (and each
420
+ Contributor provides its Contributions) on an "AS IS" BASIS,
421
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
422
+ implied, including, without limitation, any warranties or conditions
423
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
424
+ PARTICULAR PURPOSE. You are solely responsible for determining the
425
+ appropriateness of using or redistributing the Work and assume any
426
+ risks associated with Your exercise of permissions under this License.
427
+
428
+ 8. Limitation of Liability. In no event and under no legal theory,
429
+ whether in tort (including negligence), contract, or otherwise,
430
+ unless required by applicable law (such as deliberate and grossly
431
+ negligent acts) or agreed to in writing, shall any Contributor be
432
+ liable to You for damages, including any direct, indirect, special,
433
+ incidental, or consequential damages of any character arising as a
434
+ result of this License or out of the use or inability to use the
435
+ Work (including but not limited to damages for loss of goodwill,
436
+ work stoppage, computer failure or malfunction, or any and all
437
+ other commercial damages or losses), even if such Contributor
438
+ has been advised of the possibility of such damages.
439
+
440
+ 9. Accepting Warranty or Additional Liability. While redistributing
441
+ the Work or Derivative Works thereof, You may choose to offer,
442
+ and charge a fee for, acceptance of support, warranty, indemnity,
443
+ or other liability obligations and/or rights consistent with this
444
+ License. However, in accepting such obligations, You may act only
445
+ on Your own behalf and on Your sole responsibility, not on behalf
446
+ of any other Contributor, and only if You agree to indemnify,
447
+ defend, and hold each Contributor harmless for any liability
448
+ incurred by, or claims asserted against, such Contributor by reason
449
+ of your accepting any such warranty or additional liability.
450
+
451
+ END OF TERMS AND CONDITIONS
452
+
453
+ APPENDIX: How to apply the Apache License to your work.
454
+
455
+ To apply the Apache License to your work, attach the following
456
+ boilerplate notice, with the fields enclosed by brackets "[]"
457
+ replaced with your own identifying information. (Don't include
458
+ the brackets!) The text should be enclosed in the appropriate
459
+ comment syntax for the file format. We also recommend that a
460
+ file or class name and description of purpose be included on the
461
+ same "printed page" as the copyright notice for easier
462
+ identification within third-party archives.
463
+
464
+ Copyright (c) 2015-2018 Google, Inc., Netflix, Inc., Microsoft Corp. and contributors
465
+
466
+ Licensed under the Apache License, Version 2.0 (the "License");
467
+ you may not use this file except in compliance with the License.
468
+ You may obtain a copy of the License at
469
+
470
+ http://www.apache.org/licenses/LICENSE-2.0
471
+
472
+ Unless required by applicable law or agreed to in writing, software
473
+ distributed under the License is distributed on an "AS IS" BASIS,
474
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
475
+ See the License for the specific language governing permissions and
476
+ limitations under the License.
477
+
478
+
479
+
480
+ tslib
481
+ 0BSD
482
+ Copyright (c) Microsoft Corporation.
483
+
484
+ Permission to use, copy, modify, and/or distribute this software for any
485
+ purpose with or without fee is hereby granted.
486
+
487
+ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
488
+ REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
489
+ AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
490
+ INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
491
+ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
492
+ OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
493
+ PERFORMANCE OF THIS SOFTWARE.
494
+
495
+ zone.js
496
+ MIT
497
+ The MIT License
498
+
499
+ Copyright (c) 2010-2022 Google LLC. https://angular.io/license
500
+
501
+ Permission is hereby granted, free of charge, to any person obtaining a copy
502
+ of this software and associated documentation files (the "Software"), to deal
503
+ in the Software without restriction, including without limitation the rights
504
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
505
+ copies of the Software, and to permit persons to whom the Software is
506
+ furnished to do so, subject to the following conditions:
507
+
508
+ The above copyright notice and this permission notice shall be included in
509
+ all copies or substantial portions of the Software.
510
+
511
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
512
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
513
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
514
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
515
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
516
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
517
+ THE SOFTWARE.
@@ -0,0 +1 @@
1
+ "use strict";(self.webpackChunkpos_marketplace=self.webpackChunkpos_marketplace||[]).push([[46],{7046:(C,f,d)=>{d.r(f),d.d(f,{OrdersModule:()=>be});var r=d(6895),u=d(8252),e=d(4650),T=d(7398);let v=(()=>{class a{constructor(){this.ObjectOrderTabs=[{Title:"1 - New Order",Url:"/menu/Order/new"},{Title:"2 - Ready to Ship",Url:"/menu/Order/ready_to_ship"},{Title:"3 - Shipped",Url:"/menu/Order/Shipped"},{Title:"4 - Completed",Url:"/menu/Order/Delivered"},{Title:"All",Url:"/menu/Order/All"},{Title:"99 - Cancelled",Url:"/menu/Order/Cancelled"},{Title:"Download",Url:"/menu/Order/Download"}]}ngOnInit(){}}return a.\u0275fac=function(t){return new(t||a)},a.\u0275cmp=e.Xpm({type:a,selectors:[["app-orders"]],decls:5,vars:1,consts:[[1,"navbar","page-nav","navbar-default","py-0","navbar-expand-lg"],[1,"container-fluid"],[3,"Tabs"]],template:function(t,n){1&t&&(e.TgZ(0,"nav",0)(1,"div",1)(2,"div"),e._UZ(3,"nav-tab",2),e.qZA()()(),e._UZ(4,"router-outlet")),2&t&&(e.xp6(3),e.Q6J("Tabs",n.ObjectOrderTabs))},dependencies:[T.e,u.lC]}),a})();var h=d(1318),Z=d(7185),s=d(4006),p=d(7481),g=d(8796);function O(a,o){if(1&a){const t=e.EpF();e.TgZ(0,"span",10),e.NdJ("click",function(){e.CHM(t);const i=e.oxw();return i.getTotal(),e.KtG(i.hasClicked=!0)}),e.TgZ(1,"i",11),e._uU(2,"?"),e.qZA()()}}function A(a,o){if(1&a&&(e.TgZ(0,"span"),e._uU(1),e.ALo(2,"number"),e.qZA()),2&a){const t=e.oxw();e.xp6(1),e.Oqu(e.lcZ(2,1,t.paginationTotal))}}let m=(()=>{class a{constructor(){this.get=new e.vpe,this.change=new e.vpe,this.next=new e.vpe,this.previous=new e.vpe,this.total=new e.vpe,this.hasClicked=!1}changePage(t){this.filter.PageNumber=t.pageIndex+1,this.change.emit(this.filter)}getTotal(){this.total.emit()}PreviousPage(){this.previous.emit()}NextPage(){this.next.emit()}}return a.\u0275fac=function(t){return new(t||a)},a.\u0275cmp=e.Xpm({type:a,selectors:[["app-mat-paginator-no-count"]],inputs:{filter:"filter",paginationTotal:"paginationTotal",totaldata:"totaldata"},outputs:{get:"get",change:"change",next:"next",previous:"previous",total:"total"},decls:13,vars:10,consts:[[1,"d-flex","justify-content-end","mt-5"],[1,"d-sm-block","collapse","mt-3","me-5"],[1,"text-dark","hidden-xxs"],["style","cursor:pointer",3,"click",4,"ngIf"],[4,"ngIf"],[1,"btn-group"],["role","button","title","Load more for 500 variants",1,"btn","btn-outline-secondary","btn-sm","me-3","border-0",3,"disabled","click"],[1,"fas","fa-chevron-left"],["role","button","title","Load more for 500 variants",1,"btn","btn-outline-secondary","btn-sm","border-0",3,"disabled","click"],[1,"fas","fa-chevron-right"],[2,"cursor","pointer",3,"click"],["title","Retreive rows count",1,"border","p-3"]],template:function(t,n){1&t&&(e.TgZ(0,"div",0)(1,"div",1)(2,"div",2),e._uU(3),e.ALo(4,"number"),e.ALo(5,"number"),e.YNc(6,O,3,0,"span",3),e.YNc(7,A,3,3,"span",4),e.qZA()(),e.TgZ(8,"div",5)(9,"button",6),e.NdJ("click",function(){return n.PreviousPage()}),e._UZ(10,"i",7),e.qZA(),e.TgZ(11,"button",8),e.NdJ("click",function(){return n.NextPage()}),e._UZ(12,"i",9),e.qZA()()()),2&t&&(e.xp6(3),e.AsE(" Showing ",e.lcZ(4,6,n.filter.PageSize*(n.filter.PageNumber-1)+1)," - ",e.lcZ(5,8,n.filter.PageSize*(n.filter.PageNumber-1)+n.totaldata)," of "),e.xp6(3),e.Q6J("ngIf",!n.hasClicked),e.xp6(1),e.Q6J("ngIf",n.hasClicked),e.xp6(2),e.Q6J("disabled",1==n.filter.PageNumber),e.xp6(2),e.Q6J("disabled",n.filter.PageSize*(n.filter.PageNumber-1)+n.totaldata==n.paginationTotal||n.totaldata<n.filter.PageSize))},dependencies:[r.O5,r.JJ]}),a})(),P=(()=>{class a{}return a.\u0275fac=function(t){return new(t||a)},a.\u0275mod=e.oAB({type:a}),a.\u0275inj=e.cJS({imports:[r.ez]}),a})();function N(a,o){if(1&a&&(e.TgZ(0,"tr")(1,"td"),e._uU(2),e.qZA(),e.TgZ(3,"td"),e._uU(4),e.qZA(),e.TgZ(5,"td"),e._uU(6),e.qZA(),e.TgZ(7,"td"),e._uU(8),e.ALo(9,"number"),e.qZA(),e.TgZ(10,"td"),e._uU(11),e.ALo(12,"date"),e.qZA()()),2&a){const t=o.$implicit;e.xp6(2),e.Oqu(t.Outlet),e.xp6(2),e.Oqu(t.Number),e.xp6(2),e.Oqu(t.Customer),e.xp6(2),e.Oqu(e.lcZ(9,5,t.Amount)),e.xp6(3),e.Oqu(e.xi3(12,7,t.Created,"dd MMM yyyy HH:mm"))}}let S=(()=>{class a{constructor(t,n){this.http=t,this.toastr=n,this.filter={PageNumber:null,PageSize:null},this.totaldata=0,this.paginationTotal=0,this.checkboxState=!1}ngOnInit(){this.Load()}Load(){this.http.post("/api/ordersLoader/GetOrder",{}).subscribe(t=>{this.filter.PageNumber=t.Filter.PageNumber,this.filter.PageSize=t.Filter.RowCount,this.outlets=t.Options.Outlet,this.Get()})}Get(t){this.http.post("api/orders/GetNewOrder",{Number:t,PageNumber:this.filter.PageNumber,PageSize:this.filter.PageSize,Outlet:null!=this.selectedOutlets?this.selectedOutlets:this.outlets}).subscribe(i=>{this.data=i.Data,this.totaldata=this.data.length})}changePage(t){}UpdateDelivery(){let t=this.getSelected();if(t.length>0){let n=[];t.forEach(i=>n.push(i)),this.http.post("/api/Orders/UpdateStateDelivery",n).subscribe(i=>{this.toastr.success("Successfully updated","Success")})}}StoreRowsCountAPIResult(){this.http.post("api/orders/GetRowCount",{PaymentState:"Unpaid",DeliveryState:"Unsent",Outlet:null!=this.selectedOutlets?this.selectedOutlets:this.outlets}).subscribe(n=>{this.paginationTotal=n.Total})}onCheckboxStateProduct(t){let n=this.data.filter(i=>i.Number==t);if(n.length>0)for(let i of n)i.selected=i.selected}onCheckboxStateChange(){for(let t of this.data)t.selected=this.checkboxState}getSelected(){let t=[];if(this.data){for(let n of this.data)n.selected&&t.push(n);return t}return[]}hasSelection(){return!!this.data&&this.getSelected().length>0}NextPage(){this.filter.PageNumber=this.filter.PageNumber+1,this.Get()}PreviousPage(){this.filter.PageNumber=this.filter.PageNumber-1,this.Get()}}return a.\u0275fac=function(t){return new(t||a)(e.Y36(h.O),e.Y36(Z._W))},a.\u0275cmp=e.Xpm({type:a,selectors:[["app-new-order"]],decls:37,vars:11,consts:[["searchBoxPlaceHolder","Search Orders...",3,"Title","hideSearchBox","onSubmit"],["container","",1,""],["bindLabel","Name","bindValue","ID","placeholder","Choose...",1,"outlet-multiple",3,"multiple","ngModel","items","ngModelChange"],["type","number","name","PageNumber",1,"w-100",3,"ngModel","ngModelChange"],["type","number","name","PageSize",1,"w-100",3,"ngModel","ngModelChange"],[1,"container-fluid","mt-3"],[1,"row"],[1,"col-md-12"],[1,"table-responsive"],[1,"table","table-hover"],[1,"sticky-top-thead"],[1,"table-light"],[4,"ngFor","ngForOf"],[3,"filter","totaldata","paginationTotal","total","next","previous"]],template:function(t,n){1&t&&(e.TgZ(0,"mainpanel",0),e.NdJ("onSubmit",function(l){return n.Get(l)}),e.TgZ(1,"filters")(2,"div",1)(3,"div")(4,"h6"),e._uU(5,"Outlet"),e.qZA(),e.TgZ(6,"ng-select",2),e.NdJ("ngModelChange",function(l){return n.selectedOutlets=l}),e.qZA()(),e.TgZ(7,"div")(8,"h6"),e._uU(9,"Page Number"),e.qZA(),e.TgZ(10,"input",3),e.NdJ("ngModelChange",function(l){return n.filter.PageNumber=l}),e.qZA()(),e.TgZ(11,"div")(12,"h6"),e._uU(13,"Page Size"),e.qZA(),e.TgZ(14,"input",4),e.NdJ("ngModelChange",function(l){return n.filter.PageSize=l}),e.qZA()()()(),e._UZ(15,"actions"),e.TgZ(16,"content")(17,"div",5)(18,"div",6)(19,"div",7)(20,"div",8)(21,"table",9)(22,"thead",10)(23,"tr",11)(24,"th"),e._uU(25,"Outlet"),e.qZA(),e.TgZ(26,"th"),e._uU(27,"Order number"),e.qZA(),e.TgZ(28,"th"),e._uU(29,"Customer"),e.qZA(),e.TgZ(30,"th"),e._uU(31,"Amount"),e.qZA(),e.TgZ(32,"th"),e._uU(33,"Created On"),e.qZA()()(),e.TgZ(34,"tbody"),e.YNc(35,N,13,10,"tr",12),e.qZA()(),e.TgZ(36,"app-mat-paginator-no-count",13),e.NdJ("total",function(){return n.StoreRowsCountAPIResult()})("next",function(){return n.NextPage()})("previous",function(){return n.PreviousPage()}),e.qZA()()()()()()()),2&t&&(e.Q6J("Title","1 - New Order")("hideSearchBox",!0),e.xp6(6),e.Q6J("multiple",!0)("ngModel",n.selectedOutlets)("items",n.outlets),e.xp6(4),e.Q6J("ngModel",n.filter.PageNumber),e.xp6(4),e.Q6J("ngModel",n.filter.PageSize),e.xp6(21),e.Q6J("ngForOf",n.data),e.xp6(1),e.Q6J("filter",n.filter)("totaldata",n.totaldata)("paginationTotal",n.paginationTotal))},dependencies:[r.sg,s.Fj,s.wV,s.JJ,s.On,p.p,g.w9,m,r.JJ,r.uU]}),a})();function y(a,o){if(1&a&&(e.TgZ(0,"tr")(1,"td"),e._uU(2),e.qZA(),e.TgZ(3,"td"),e._uU(4),e.ALo(5,"number"),e.qZA(),e.TgZ(6,"td"),e._uU(7),e.ALo(8,"number"),e.qZA()()),2&a){const t=o.$implicit;e.xp6(2),e.Oqu(t.Code),e.xp6(2),e.Oqu(e.lcZ(5,3,t.Quantity)),e.xp6(3),e.Oqu(e.lcZ(8,5,t.Price))}}const q=function(){return["/menu/Order"]};let w=(()=>{class a{constructor(t,n){this.http=t,this.url=n,this.number=this.url.snapshot.queryParams.Number,this.outlet=this.url.snapshot.queryParams.Outlet}ngOnInit(){this.Load()}Load(){this.http.post("/api/orders/GetInvoiceDetail",{Number:this.number,Outlet:this.outlet}).subscribe(n=>{this.model=n})}}return a.\u0275fac=function(t){return new(t||a)(e.Y36(h.O),e.Y36(u.gz))},a.\u0275cmp=e.Xpm({type:a,selectors:[["app-detail-order"]],decls:73,vars:20,consts:[[3,"Title","hideSearchBox","hideSearchDropdown"],["role","button",1,"btn","btn-secondary","btn-fill","btn-lg","me-3",3,"routerLink"],[1,"container"],[1,"row"],[1,"col-4"],[1,"border","my-3","py-3","col-12"],[1,"row","m-2"],[1,"text-center"],[1,"col"],[1,"col-8"],[1,"text-center","my-3","py-3"],[1,"table-responsive"],[1,"table"],[1,"sticky-top-thead"],[1,"table-light"],[4,"ngFor","ngForOf"]],template:function(t,n){1&t&&(e.TgZ(0,"mainpanel",0)(1,"actions")(2,"a",1),e._uU(3,"Back"),e.qZA()(),e.TgZ(4,"content")(5,"div",2)(6,"div",3)(7,"div",4)(8,"div",5)(9,"div",6)(10,"h3",7),e._uU(11,"Outlet Info"),e.qZA()(),e.TgZ(12,"div",3)(13,"div",8),e._uU(14," Outlet : "),e.qZA(),e.TgZ(15,"div",8),e._uU(16),e.qZA()(),e.TgZ(17,"div",3)(18,"div",8),e._uU(19," Date : "),e.qZA(),e.TgZ(20,"div",8),e._uU(21),e.ALo(22,"date"),e.qZA()(),e.TgZ(23,"div",3)(24,"div",8),e._uU(25," Status : "),e.qZA(),e.TgZ(26,"div",8),e._uU(27),e.qZA()(),e.TgZ(28,"div",3)(29,"div",8),e._uU(30," Tax Type : "),e.qZA(),e.TgZ(31,"div",8),e._uU(32),e.qZA()(),e.TgZ(33,"div",3)(34,"div",8),e._uU(35," Due Date : "),e.qZA(),e.TgZ(36,"div",8),e._uU(37),e.ALo(38,"date"),e.qZA()()(),e.TgZ(39,"div",5)(40,"div",6)(41,"h3",7),e._uU(42,"Customer Info"),e.qZA()(),e.TgZ(43,"div",3)(44,"div",8),e._uU(45," Name : "),e.qZA(),e.TgZ(46,"div",8),e._uU(47),e.qZA()(),e.TgZ(48,"div",3)(49,"div",8),e._uU(50," Email : "),e.qZA(),e.TgZ(51,"div",8),e._uU(52),e.qZA()(),e.TgZ(53,"div",3)(54,"div",8),e._uU(55," Mobile : "),e.qZA(),e.TgZ(56,"div",8),e._uU(57),e.qZA()()()(),e.TgZ(58,"div",9)(59,"h3",10),e._uU(60,"Products Sold"),e.qZA(),e.TgZ(61,"div",11)(62,"table",12)(63,"thead",13)(64,"tr",14)(65,"th"),e._uU(66,"Code"),e.qZA(),e.TgZ(67,"th"),e._uU(68,"Quantity"),e.qZA(),e.TgZ(69,"th"),e._uU(70,"Price"),e.qZA()()(),e.TgZ(71,"tbody"),e.YNc(72,y,9,7,"tr",15),e.qZA()()()()()()()()),2&t&&(e.Q6J("Title","Order #"+n.number)("hideSearchBox",!0)("hideSearchDropdown",!0),e.xp6(2),e.Q6J("routerLink",e.DdM(19,q)),e.xp6(14),e.hij(" ",n.model.Outlet," "),e.xp6(5),e.hij(" ",e.xi3(22,13,n.model.Date,"dd MMM yyyy")," "),e.xp6(6),e.hij(" ",n.model.Delivery," "),e.xp6(5),e.hij(" ",n.model.TaxType," "),e.xp6(5),e.hij(" ",e.xi3(38,16,n.model.DueDate,"dd MMM yyyy")," "),e.xp6(10),e.hij(" ",n.model.Customer.Name," "),e.xp6(5),e.hij(" ",n.model.Customer.Email," "),e.xp6(5),e.hij(" ",n.model.Customer.Mobile," "),e.xp6(15),e.Q6J("ngForOf",n.model.Variants))},dependencies:[r.sg,p.p,u.yS,r.JJ,r.uU]}),a})();const M=function(){return["/menu/Order/detail"]},D=function(a,o){return{Number:a,Outlet:o}};function U(a,o){if(1&a){const t=e.EpF();e.TgZ(0,"tr")(1,"td")(2,"input",17),e.NdJ("ngModelChange",function(i){const b=e.CHM(t).$implicit;return e.KtG(b.selected=i)})("ngModelChange",function(){const l=e.CHM(t).$implicit,b=e.oxw();return e.KtG(b.onCheckboxStateProduct(l.Number))}),e.qZA()(),e.TgZ(3,"td"),e._uU(4),e.qZA(),e.TgZ(5,"td")(6,"a",18),e._uU(7),e.qZA()(),e.TgZ(8,"td"),e._uU(9),e.qZA(),e.TgZ(10,"td"),e._uU(11),e.ALo(12,"number"),e.qZA(),e.TgZ(13,"td"),e._uU(14),e.ALo(15,"date"),e.qZA()()}if(2&a){const t=o.$implicit;e.xp6(2),e.Q6J("ngModel",t.selected),e.xp6(2),e.Oqu(t.Outlet),e.xp6(2),e.Q6J("routerLink",e.DdM(13,M))("queryParams",e.WLB(14,D,t.Number,t.Outlet)),e.xp6(1),e.Oqu(t.Number),e.xp6(2),e.Oqu(t.Customer),e.xp6(2),e.Oqu(e.lcZ(12,8,t.Amount)),e.xp6(3),e.Oqu(e.xi3(15,10,t.Created,"dd MMM yyyy HH:mm"))}}let x=(()=>{class a{constructor(t,n){this.http=t,this.toastr=n,this.filter={PageNumber:null,PageSize:null},this.totaldata=0,this.paginationTotal=0,this.checkboxState=!1}ngOnInit(){this.Load()}Load(){this.http.post("/api/ordersLoader/GetOrder",{}).subscribe(t=>{this.filter.PageNumber=t.Filter.PageNumber,this.filter.PageSize=t.Filter.RowCount,this.outlets=t.Options.Outlet,this.Get()})}Get(t){this.http.post("api/orders/GetReadyToShip",{Number:t,PageNumber:this.filter.PageNumber,PageSize:this.filter.PageSize,Outlet:null!=this.selectedOutlets?this.selectedOutlets:this.outlets}).subscribe(i=>{this.data=i.Data,this.totaldata=this.data.length})}changePage(t){}UpdateDelivery(){let t=this.getSelected();if(t.length>0){let n=[];t.forEach(i=>n.push(i)),this.http.post("/api/Orders/UpdateStateDelivery",n).subscribe(i=>{this.toastr.success("Successfully updated","Success")})}}StoreRowsCountAPIResult(){this.http.post("api/orders/GetRowCount",{PaymentState:"Paid",DeliveryState:"Unsent",Outlet:null!=this.selectedOutlets?this.selectedOutlets:this.outlets}).subscribe(n=>{this.paginationTotal=n.Total})}onCheckboxStateProduct(t){let n=this.data.filter(i=>i.Number==t);if(n.length>0)for(let i of n)i.selected=i.selected}onCheckboxStateChange(){for(let t of this.data)t.selected=this.checkboxState}getSelected(){let t=[];if(this.data){for(let n of this.data)n.selected&&t.push(n);return t}return[]}hasSelection(){return!!this.data&&this.getSelected().length>0}NextPage(){this.filter.PageNumber=this.filter.PageNumber+1,this.Get()}PreviousPage(){this.filter.PageNumber=this.filter.PageNumber-1,this.Get()}}return a.\u0275fac=function(t){return new(t||a)(e.Y36(h.O),e.Y36(Z._W))},a.\u0275cmp=e.Xpm({type:a,selectors:[["app-ready-to-ship"]],decls:41,vars:12,consts:[["searchBoxPlaceHolder","Search Ready To Ship...",3,"Title","onSubmit"],["container","",1,""],["bindLabel","Name","bindValue","ID","placeholder","Choose...",1,"outlet-multiple",3,"multiple","ngModel","items","ngModelChange"],["type","number","name","PageNumber",1,"w-100",3,"ngModel","ngModelChange"],["type","number","name","PageSize",1,"w-100",3,"ngModel","ngModelChange"],["type","button",1,"btn","btn-success","shadow-sm","rounded","me-3",3,"hidden","click"],[1,"container-fluid","mt-3"],[1,"row"],[1,"col-md-12"],[1,"table-responsive"],[1,"table","table-hover"],[1,"sticky-top-thead"],[1,"table-light"],[2,"width","5px"],["type","checkbox",3,"ngModel","ngModelChange"],[4,"ngFor","ngForOf"],[3,"filter","totaldata","paginationTotal","total","next","previous"],["type","checkbox",1,"me-3",3,"ngModel","ngModelChange"],[3,"routerLink","queryParams"]],template:function(t,n){1&t&&(e.TgZ(0,"mainpanel",0),e.NdJ("onSubmit",function(l){return n.Get(l)}),e.TgZ(1,"filters")(2,"div",1)(3,"div")(4,"h6"),e._uU(5,"Outlet"),e.qZA(),e.TgZ(6,"ng-select",2),e.NdJ("ngModelChange",function(l){return n.selectedOutlets=l}),e.qZA()(),e.TgZ(7,"div")(8,"h6"),e._uU(9,"Page Number"),e.qZA(),e.TgZ(10,"input",3),e.NdJ("ngModelChange",function(l){return n.filter.PageNumber=l}),e.qZA()(),e.TgZ(11,"div")(12,"h6"),e._uU(13,"Page Size"),e.qZA(),e.TgZ(14,"input",4),e.NdJ("ngModelChange",function(l){return n.filter.PageSize=l}),e.qZA()()()(),e.TgZ(15,"actions")(16,"button",5),e.NdJ("click",function(){return n.UpdateDelivery()}),e._uU(17," Dispatch "),e.qZA()(),e.TgZ(18,"content")(19,"div",6)(20,"div",7)(21,"div",8)(22,"div",9)(23,"table",10)(24,"thead",11)(25,"tr",12)(26,"th",13)(27,"input",14),e.NdJ("ngModelChange",function(l){return n.checkboxState=l})("ngModelChange",function(){return n.onCheckboxStateChange()}),e.qZA()(),e.TgZ(28,"th"),e._uU(29,"Outlet"),e.qZA(),e.TgZ(30,"th"),e._uU(31,"Order number"),e.qZA(),e.TgZ(32,"th"),e._uU(33,"Customer"),e.qZA(),e.TgZ(34,"th"),e._uU(35,"Amount"),e.qZA(),e.TgZ(36,"th"),e._uU(37,"Created On"),e.qZA()()(),e.TgZ(38,"tbody"),e.YNc(39,U,16,17,"tr",15),e.qZA()(),e.TgZ(40,"app-mat-paginator-no-count",16),e.NdJ("total",function(){return n.StoreRowsCountAPIResult()})("next",function(){return n.NextPage()})("previous",function(){return n.PreviousPage()}),e.qZA()()()()()()()),2&t&&(e.Q6J("Title","2 - Ready to Ship"),e.xp6(6),e.Q6J("multiple",!0)("ngModel",n.selectedOutlets)("items",n.outlets),e.xp6(4),e.Q6J("ngModel",n.filter.PageNumber),e.xp6(4),e.Q6J("ngModel",n.filter.PageSize),e.xp6(2),e.Q6J("hidden",!n.hasSelection()),e.xp6(11),e.Q6J("ngModel",n.checkboxState),e.xp6(12),e.Q6J("ngForOf",n.data),e.xp6(1),e.Q6J("filter",n.filter)("totaldata",n.totaldata)("paginationTotal",n.paginationTotal))},dependencies:[r.sg,s.Fj,s.wV,s.Wl,s.JJ,s.On,p.p,u.yS,g.w9,m,r.JJ,r.uU]}),a})();const J=function(){return["/menu/Order/detail"]},k=function(a,o){return{Number:a,Outlet:o}};function Q(a,o){if(1&a&&(e.TgZ(0,"tr")(1,"td"),e._uU(2),e.qZA(),e.TgZ(3,"td")(4,"a",14),e._uU(5),e.qZA()(),e.TgZ(6,"td"),e._uU(7),e.qZA(),e.TgZ(8,"td"),e._uU(9),e.ALo(10,"number"),e.qZA(),e.TgZ(11,"td"),e._uU(12),e.ALo(13,"date"),e.qZA()()),2&a){const t=o.$implicit;e.xp6(2),e.Oqu(t.Outlet),e.xp6(2),e.Q6J("routerLink",e.DdM(12,J))("queryParams",e.WLB(13,k,t.Number,t.Outlet)),e.xp6(1),e.Oqu(t.Number),e.xp6(2),e.Oqu(t.Customer),e.xp6(2),e.Oqu(e.lcZ(10,7,t.Amount)),e.xp6(3),e.Oqu(e.xi3(13,9,t.Created,"dd MMM yyyy HH:mm"))}}let I=(()=>{class a{constructor(t){this.http=t,this.filter={PageNumber:null,PageSize:null},this.totaldata=0,this.paginationTotal=0}ngOnInit(){this.Load()}Load(){this.http.post("/api/ordersLoader/GetOrder",{}).subscribe(t=>{this.filter.PageNumber=t.Filter.PageNumber,this.filter.PageSize=t.Filter.RowCount,this.outlets=t.Options.Outlet,this.Get()})}Get(t){this.http.post("api/orders/GetShipped",{Number:t,PageNumber:this.filter.PageNumber,PageSize:this.filter.PageSize,Outlet:null!=this.selectedOutlets?this.selectedOutlets:this.outlets}).subscribe(i=>{this.data=i.Data,this.totaldata=this.data.length})}changePage(t){this.filter.PageNumber=t.pageIndex+1,this.Get()}StoreRowsCountAPIResult(){this.http.post("api/orders/GetRowCount",{PaymentState:"Unpaid",DeliveryState:"Sent",Outlet:null!=this.selectedOutlets?this.selectedOutlets:this.outlets}).subscribe(n=>{this.paginationTotal=n.Total})}NextPage(){this.filter.PageNumber=this.filter.PageNumber+1,this.Get()}PreviousPage(){this.filter.PageNumber=this.filter.PageNumber-1,this.Get()}}return a.\u0275fac=function(t){return new(t||a)(e.Y36(h.O))},a.\u0275cmp=e.Xpm({type:a,selectors:[["app-shipped"]],decls:36,vars:10,consts:[["searchBoxPlaceHolder","Search Orders...",3,"Title","onSubmit"],["container",""],["bindLabel","Name","bindValue","ID","placeholder","Choose...",1,"outlet-multiple",3,"multiple","ngModel","items","ngModelChange"],["type","number","name","PageNumber",1,"w-100",3,"ngModel","ngModelChange"],["type","number","name","PageSize",1,"w-100",3,"ngModel","ngModelChange"],[1,"container-fluid","mt-3"],[1,"row"],[1,"col-md-12"],[1,"table-responsive"],[1,"table","table-hover"],[1,"sticky-top-thead"],[1,"table-light"],[4,"ngFor","ngForOf"],[3,"filter","totaldata","paginationTotal","total","next","previous"],[3,"routerLink","queryParams"]],template:function(t,n){1&t&&(e.TgZ(0,"mainpanel",0),e.NdJ("onSubmit",function(l){return n.Get(l)}),e.TgZ(1,"filters")(2,"div",1)(3,"div")(4,"h6"),e._uU(5,"Outlet"),e.qZA(),e.TgZ(6,"ng-select",2),e.NdJ("ngModelChange",function(l){return n.selectedOutlets=l}),e.qZA()(),e.TgZ(7,"div")(8,"h6"),e._uU(9,"Page Number"),e.qZA(),e.TgZ(10,"input",3),e.NdJ("ngModelChange",function(l){return n.filter.PageNumber=l}),e.qZA()(),e.TgZ(11,"div")(12,"h6"),e._uU(13,"Page Size"),e.qZA(),e.TgZ(14,"input",4),e.NdJ("ngModelChange",function(l){return n.filter.PageSize=l}),e.qZA()()()(),e.TgZ(15,"content")(16,"div",5)(17,"div",6)(18,"div",7)(19,"div",8)(20,"table",9)(21,"thead",10)(22,"tr",11)(23,"th"),e._uU(24,"Outlet"),e.qZA(),e.TgZ(25,"th"),e._uU(26,"Order number"),e.qZA(),e.TgZ(27,"th"),e._uU(28,"Customer"),e.qZA(),e.TgZ(29,"th"),e._uU(30,"Amount"),e.qZA(),e.TgZ(31,"th"),e._uU(32,"Created On"),e.qZA()()(),e.TgZ(33,"tbody"),e.YNc(34,Q,14,16,"tr",12),e.qZA()(),e.TgZ(35,"app-mat-paginator-no-count",13),e.NdJ("total",function(){return n.StoreRowsCountAPIResult()})("next",function(){return n.NextPage()})("previous",function(){return n.PreviousPage()}),e.qZA()()()()()()()),2&t&&(e.Q6J("Title","3 - Shipped"),e.xp6(6),e.Q6J("multiple",!0)("ngModel",n.selectedOutlets)("items",n.outlets),e.xp6(4),e.Q6J("ngModel",n.filter.PageNumber),e.xp6(4),e.Q6J("ngModel",n.filter.PageSize),e.xp6(20),e.Q6J("ngForOf",n.data),e.xp6(1),e.Q6J("filter",n.filter)("totaldata",n.totaldata)("paginationTotal",n.paginationTotal))},dependencies:[r.sg,s.Fj,s.wV,s.JJ,s.On,p.p,u.yS,g.w9,m,r.JJ,r.uU]}),a})();const F=function(){return["/menu/Order/detail"]},L=function(a,o){return{Number:a,Outlet:o}};function G(a,o){if(1&a&&(e.TgZ(0,"tr")(1,"td"),e._uU(2),e.qZA(),e.TgZ(3,"td")(4,"a",14),e._uU(5),e.qZA()(),e.TgZ(6,"td"),e._uU(7),e.qZA(),e.TgZ(8,"td"),e._uU(9),e.ALo(10,"number"),e.qZA(),e.TgZ(11,"td"),e._uU(12),e.ALo(13,"date"),e.qZA()()),2&a){const t=o.$implicit;e.xp6(2),e.Oqu(t.Outlet),e.xp6(2),e.Q6J("routerLink",e.DdM(12,F))("queryParams",e.WLB(13,L,t.Number,t.Outlet)),e.xp6(1),e.Oqu(t.Number),e.xp6(2),e.Oqu(t.Customer),e.xp6(2),e.Oqu(e.lcZ(10,7,t.Amount)),e.xp6(3),e.Oqu(e.xi3(13,9,t.Created,"dd MMM yyyy HH:mm"))}}let R=(()=>{class a{constructor(t){this.http=t,this.filter={PageNumber:null,PageSize:null},this.totaldata=0,this.paginationTotal=0}ngOnInit(){this.Load()}Load(){this.http.post("/api/ordersLoader/GetOrder",{}).subscribe(t=>{this.filter.PageNumber=t.Filter.PageNumber,this.filter.PageSize=t.Filter.RowCount,this.outlets=t.Options.Outlet,this.Get()})}Get(t){this.http.post("api/orders/GetDelivered ",{Number:t,PageNumber:this.filter.PageNumber,PageSize:this.filter.PageSize,Outlet:null!=this.selectedOutlets?this.selectedOutlets:this.outlets}).subscribe(i=>{this.data=i.Data,this.totaldata=this.data.length})}changePage(t){this.filter.PageNumber=t.pageIndex+1,this.Get()}StoreRowsCountAPIResult(){this.http.post("api/orders/GetRowCount",{PaymentState:"Paid",DeliveryState:"Sent",Outlet:null!=this.selectedOutlets?this.selectedOutlets:this.outlets}).subscribe(n=>{this.paginationTotal=n.Total})}NextPage(){this.filter.PageNumber=this.filter.PageNumber+1,this.Get()}PreviousPage(){this.filter.PageNumber=this.filter.PageNumber-1,this.Get()}}return a.\u0275fac=function(t){return new(t||a)(e.Y36(h.O))},a.\u0275cmp=e.Xpm({type:a,selectors:[["app-delivered"]],decls:36,vars:11,consts:[["searchBoxPlaceHolder","Search Orders...",3,"Title","hideSearchBox","onSubmit"],["container","",1,""],["bindLabel","Name","bindValue","ID","placeholder","Choose...",1,"outlet-multiple",3,"multiple","ngModel","items","ngModelChange"],["type","number","name","PageNumber",1,"w-100",3,"ngModel","ngModelChange"],["type","number","name","PageSize",1,"w-100",3,"ngModel","ngModelChange"],[1,"container-fluid","mt-3"],[1,"row"],[1,"col-md-12"],[1,"table-responsive"],[1,"table","table-hover"],[1,"sticky-top-thead"],[1,"table-light"],[4,"ngFor","ngForOf"],[3,"filter","totaldata","paginationTotal","total","next","previous"],[3,"routerLink","queryParams"]],template:function(t,n){1&t&&(e.TgZ(0,"mainpanel",0),e.NdJ("onSubmit",function(l){return n.Get(l)}),e.TgZ(1,"filters")(2,"div",1)(3,"div")(4,"h6"),e._uU(5,"Outlet"),e.qZA(),e.TgZ(6,"ng-select",2),e.NdJ("ngModelChange",function(l){return n.selectedOutlets=l}),e.qZA()(),e.TgZ(7,"div")(8,"h6"),e._uU(9,"Page Number"),e.qZA(),e.TgZ(10,"input",3),e.NdJ("ngModelChange",function(l){return n.filter.PageNumber=l}),e.qZA()(),e.TgZ(11,"div")(12,"h6"),e._uU(13,"Page Size"),e.qZA(),e.TgZ(14,"input",4),e.NdJ("ngModelChange",function(l){return n.filter.PageSize=l}),e.qZA()()()(),e.TgZ(15,"content")(16,"div",5)(17,"div",6)(18,"div",7)(19,"div",8)(20,"table",9)(21,"thead",10)(22,"tr",11)(23,"th"),e._uU(24,"Outlet"),e.qZA(),e.TgZ(25,"th"),e._uU(26,"Order number"),e.qZA(),e.TgZ(27,"th"),e._uU(28,"Customer"),e.qZA(),e.TgZ(29,"th"),e._uU(30,"Amount"),e.qZA(),e.TgZ(31,"th"),e._uU(32,"Created On"),e.qZA()()(),e.TgZ(33,"tbody"),e.YNc(34,G,14,16,"tr",12),e.qZA()(),e.TgZ(35,"app-mat-paginator-no-count",13),e.NdJ("total",function(){return n.StoreRowsCountAPIResult()})("next",function(){return n.NextPage()})("previous",function(){return n.PreviousPage()}),e.qZA()()()()()()()),2&t&&(e.Q6J("Title","4 - Completed")("hideSearchBox",!0),e.xp6(6),e.Q6J("multiple",!0)("ngModel",n.selectedOutlets)("items",n.outlets),e.xp6(4),e.Q6J("ngModel",n.filter.PageNumber),e.xp6(4),e.Q6J("ngModel",n.filter.PageSize),e.xp6(20),e.Q6J("ngForOf",n.data),e.xp6(1),e.Q6J("filter",n.filter)("totaldata",n.totaldata)("paginationTotal",n.paginationTotal))},dependencies:[r.sg,s.Fj,s.wV,s.JJ,s.On,p.p,u.yS,g.w9,m,r.JJ,r.uU]}),a})();const z=function(){return["/menu/Order/detail"]},Y=function(a,o){return{Number:a,Outlet:o}};function B(a,o){if(1&a&&(e.TgZ(0,"tr")(1,"td"),e._uU(2),e.qZA(),e.TgZ(3,"td")(4,"a",14),e._uU(5),e.qZA()(),e.TgZ(6,"td"),e._uU(7),e.qZA(),e.TgZ(8,"td"),e._uU(9),e.ALo(10,"number"),e.qZA(),e.TgZ(11,"td"),e._uU(12),e.ALo(13,"date"),e.qZA(),e.TgZ(14,"td"),e._uU(15),e.qZA()()),2&a){const t=o.$implicit;e.xp6(2),e.Oqu(t.Outlet),e.xp6(2),e.Q6J("routerLink",e.DdM(13,z))("queryParams",e.WLB(14,Y,t.Number,t.Outlet)),e.xp6(1),e.Oqu(t.Number),e.xp6(2),e.Oqu(t.Customer),e.xp6(2),e.Oqu(e.lcZ(10,8,t.Amount)),e.xp6(3),e.Oqu(e.xi3(13,10,t.Created,"dd MMM yyyy HH:mm")),e.xp6(3),e.Oqu(t.State)}}let H=(()=>{class a{constructor(t){this.http=t,this.filter={PageNumber:null,PageSize:null},this.totaldata=0,this.paginationTotal=0}ngOnInit(){this.Load()}Load(){this.http.post("/api/ordersLoader/GetOrder",{}).subscribe(t=>{this.filter.PageNumber=t.Filter.PageNumber,this.filter.PageSize=t.Filter.RowCount,this.outlets=t.Options.Outlet,this.Get()})}Get(t){this.http.post("api/orders/GetAll ",{Number:t,PageNumber:this.filter.PageNumber,PageSize:this.filter.PageSize,Outlet:null!=this.selectedOutlets?this.selectedOutlets:this.outlets}).subscribe(i=>{this.data=i.Data,this.totaldata=this.data.length})}changePage(t){this.filter=t,this.Get()}StoreRowsCountAPIResult(){this.http.post("api/orders/GetRowCount",{PaymentState:"",DeliveryState:"",Bin:!1,Outlet:null!=this.selectedOutlets?this.selectedOutlets:this.outlets}).subscribe(n=>{this.paginationTotal=n.Total})}NextPage(){this.filter.PageNumber=this.filter.PageNumber+1,this.Get()}PreviousPage(){this.filter.PageNumber=this.filter.PageNumber-1,this.Get()}}return a.\u0275fac=function(t){return new(t||a)(e.Y36(h.O))},a.\u0275cmp=e.Xpm({type:a,selectors:[["app-all-order"]],decls:38,vars:10,consts:[["searchBoxPlaceHolder","Search Orders...",3,"Title","onSubmit"],["container","",1,""],["bindLabel","Name","bindValue","ID","placeholder","Choose...",1,"outlet-multiple",3,"multiple","ngModel","items","ngModelChange"],["type","number","name","PageNumber",1,"w-100",3,"ngModel","ngModelChange"],["type","number","name","PageSize",1,"w-100",3,"ngModel","ngModelChange"],[1,"container-fluid","mt-3"],[1,"row"],[1,"col-md-12"],[1,"table-responsive"],[1,"table","table-hover"],[1,"sticky-top-thead"],[1,"table-light"],[4,"ngFor","ngForOf"],[3,"filter","totaldata","paginationTotal","total","next","previous"],[3,"routerLink","queryParams"]],template:function(t,n){1&t&&(e.TgZ(0,"mainpanel",0),e.NdJ("onSubmit",function(l){return n.Get(l)}),e.TgZ(1,"filters")(2,"div",1)(3,"div")(4,"h6"),e._uU(5,"Outlet"),e.qZA(),e.TgZ(6,"ng-select",2),e.NdJ("ngModelChange",function(l){return n.selectedOutlets=l}),e.qZA()(),e.TgZ(7,"div")(8,"h6"),e._uU(9,"Page Number"),e.qZA(),e.TgZ(10,"input",3),e.NdJ("ngModelChange",function(l){return n.filter.PageNumber=l}),e.qZA()(),e.TgZ(11,"div")(12,"h6"),e._uU(13,"Page Size"),e.qZA(),e.TgZ(14,"input",4),e.NdJ("ngModelChange",function(l){return n.filter.PageSize=l}),e.qZA()()()(),e.TgZ(15,"content")(16,"div",5)(17,"div",6)(18,"div",7)(19,"div",8)(20,"table",9)(21,"thead",10)(22,"tr",11)(23,"th"),e._uU(24,"Outlet"),e.qZA(),e.TgZ(25,"th"),e._uU(26,"Order number"),e.qZA(),e.TgZ(27,"th"),e._uU(28,"Customer"),e.qZA(),e.TgZ(29,"th"),e._uU(30,"Amount"),e.qZA(),e.TgZ(31,"th"),e._uU(32,"Created On"),e.qZA(),e.TgZ(33,"th"),e._uU(34,"Status"),e.qZA()()(),e.TgZ(35,"tbody"),e.YNc(36,B,16,17,"tr",12),e.qZA()(),e.TgZ(37,"app-mat-paginator-no-count",13),e.NdJ("total",function(){return n.StoreRowsCountAPIResult()})("next",function(){return n.NextPage()})("previous",function(){return n.PreviousPage()}),e.qZA()()()()()()()),2&t&&(e.Q6J("Title","All"),e.xp6(6),e.Q6J("multiple",!0)("ngModel",n.selectedOutlets)("items",n.outlets),e.xp6(4),e.Q6J("ngModel",n.filter.PageNumber),e.xp6(4),e.Q6J("ngModel",n.filter.PageSize),e.xp6(22),e.Q6J("ngForOf",n.data),e.xp6(1),e.Q6J("filter",n.filter)("totaldata",n.totaldata)("paginationTotal",n.paginationTotal))},dependencies:[r.sg,s.Fj,s.wV,s.JJ,s.On,p.p,u.yS,g.w9,m,r.JJ,r.uU]}),a})();const j=function(){return["/menu/Order/detail"]},E=function(a,o){return{Number:a,Outlet:o}};function K(a,o){if(1&a&&(e.TgZ(0,"tr")(1,"td"),e._uU(2),e.qZA(),e.TgZ(3,"td")(4,"a",14),e._uU(5),e.qZA()(),e.TgZ(6,"td"),e._uU(7),e.qZA(),e.TgZ(8,"td"),e._uU(9),e.ALo(10,"number"),e.qZA(),e.TgZ(11,"td"),e._uU(12),e.ALo(13,"date"),e.qZA()()),2&a){const t=o.$implicit;e.xp6(2),e.Oqu(t.Outlet),e.xp6(2),e.Q6J("routerLink",e.DdM(12,j))("queryParams",e.WLB(13,E,t.Number,t.Outlet)),e.xp6(1),e.Oqu(t.Number),e.xp6(2),e.Oqu(t.Customer),e.xp6(2),e.Oqu(e.lcZ(10,7,t.Amount)),e.xp6(3),e.Oqu(e.xi3(13,9,t.Created,"dd MMM yyyy HH:mm"))}}let V=(()=>{class a{constructor(t){this.http=t,this.filter={PageNumber:null,PageSize:null},this.totaldata=0,this.paginationTotal=0}ngOnInit(){this.Load()}Load(){this.http.post("/api/ordersLoader/GetOrder",{}).subscribe(t=>{this.filter.PageNumber=t.Filter.PageNumber,this.filter.PageSize=t.Filter.RowCount,this.outlets=t.Options.Outlet,this.Get()})}Get(t){this.http.post("api/orders/GetCancelled ",{Number:t,PageNumber:this.filter.PageNumber,PageSize:this.filter.PageSize,Outlet:null!=this.selectedOutlets?this.selectedOutlets:this.outlets}).subscribe(i=>{this.data=i.Data,this.totaldata=this.data.length})}changePage(t){this.filter.PageNumber=t.pageIndex+1,this.Get()}StoreRowsCountAPIResult(){this.http.post("api/orders/GetRowCount",{PaymentState:"",DeliveryState:"",Bin:!0,Outlet:null!=this.selectedOutlets?this.selectedOutlets:this.outlets}).subscribe(n=>{this.paginationTotal=n.Total})}NextPage(){this.filter.PageNumber=this.filter.PageNumber+1,this.Get()}PreviousPage(){this.filter.PageNumber=this.filter.PageNumber-1,this.Get()}}return a.\u0275fac=function(t){return new(t||a)(e.Y36(h.O))},a.\u0275cmp=e.Xpm({type:a,selectors:[["app-cancelled"]],decls:36,vars:10,consts:[["searchBoxPlaceHolder","Search Orders...",3,"Title","onSubmit"],["container","",1,""],["bindLabel","Name","bindValue","ID","placeholder","Choose...",1,"outlet-multiple",3,"multiple","ngModel","items","ngModelChange"],["type","number","name","PageNumber",1,"w-100",3,"ngModel","ngModelChange"],["type","number","name","PageSize",1,"w-100",3,"ngModel","ngModelChange"],[1,"container-fluid","mt-3"],[1,"row"],[1,"col-md-12"],[1,"table-responsive"],[1,"table","table-hover"],[1,"sticky-top-thead"],[1,"table-light"],[4,"ngFor","ngForOf"],[3,"filter","totaldata","paginationTotal","total","next","previous"],[3,"routerLink","queryParams"]],template:function(t,n){1&t&&(e.TgZ(0,"mainpanel",0),e.NdJ("onSubmit",function(l){return n.Get(l)}),e.TgZ(1,"filters")(2,"div",1)(3,"div")(4,"h6"),e._uU(5,"Outlet"),e.qZA(),e.TgZ(6,"ng-select",2),e.NdJ("ngModelChange",function(l){return n.selectedOutlets=l}),e.qZA()(),e.TgZ(7,"div")(8,"h6"),e._uU(9,"Page Number"),e.qZA(),e.TgZ(10,"input",3),e.NdJ("ngModelChange",function(l){return n.filter.PageNumber=l}),e.qZA()(),e.TgZ(11,"div")(12,"h6"),e._uU(13,"Page Size"),e.qZA(),e.TgZ(14,"input",4),e.NdJ("ngModelChange",function(l){return n.filter.PageSize=l}),e.qZA()()()(),e.TgZ(15,"content")(16,"div",5)(17,"div",6)(18,"div",7)(19,"div",8)(20,"table",9)(21,"thead",10)(22,"tr",11)(23,"th"),e._uU(24,"Outlet"),e.qZA(),e.TgZ(25,"th"),e._uU(26,"Order number"),e.qZA(),e.TgZ(27,"th"),e._uU(28,"Customer"),e.qZA(),e.TgZ(29,"th"),e._uU(30,"Amount"),e.qZA(),e.TgZ(31,"th"),e._uU(32,"Created On"),e.qZA()()(),e.TgZ(33,"tbody"),e.YNc(34,K,14,16,"tr",12),e.qZA()(),e.TgZ(35,"app-mat-paginator-no-count",13),e.NdJ("total",function(){return n.StoreRowsCountAPIResult()})("next",function(){return n.NextPage()})("previous",function(){return n.PreviousPage()}),e.qZA()()()()()()()),2&t&&(e.Q6J("Title","99 - Cancelled"),e.xp6(6),e.Q6J("multiple",!0)("ngModel",n.selectedOutlets)("items",n.outlets),e.xp6(4),e.Q6J("ngModel",n.filter.PageNumber),e.xp6(4),e.Q6J("ngModel",n.filter.PageSize),e.xp6(20),e.Q6J("ngForOf",n.data),e.xp6(1),e.Q6J("filter",n.filter)("totaldata",n.totaldata)("paginationTotal",n.paginationTotal))},dependencies:[r.sg,s.Fj,s.wV,s.JJ,s.On,p.p,u.yS,g.w9,m,r.JJ,r.uU]}),a})();var $=d(9694),_=d(9602);function W(a,o){if(1&a){const t=e.EpF();e.TgZ(0,"button",8),e.NdJ("click",function(){e.CHM(t);const i=e.oxw();return e.KtG(i.preview())}),e._UZ(1,"i",9),e._uU(2," Preview"),e.qZA()}}function X(a,o){if(1&a){const t=e.EpF();e.TgZ(0,"button",10),e.NdJ("click",function(){e.CHM(t);const i=e.oxw();return e.KtG(i.download())}),e._UZ(1,"i",11),e._uU(2," Download "),e.qZA()}}function ee(a,o){if(1&a&&(e.TgZ(0,"ng-option",25),e._UZ(1,"img",26),e._uU(2),e.qZA()),2&a){const t=o.$implicit;e.Q6J("value",t.ID),e.xp6(1),e.s9C("src",t.Img,e.LSH),e.xp6(1),e.Oqu(t.Name)}}function te(a,o){if(1&a){const t=e.EpF();e.TgZ(0,"div",12)(1,"div",13)(2,"div",12)(3,"div",14)(4,"div")(5,"label",15)(6,"h5"),e._uU(7,"Select a Channel"),e.qZA()(),e.TgZ(8,"ng-select",16),e.NdJ("ngModelChange",function(i){e.CHM(t);const l=e.oxw();return e.KtG(l.ChannelID=i)}),e.YNc(9,ee,3,3,"ng-option",17),e.qZA()()()(),e.TgZ(10,"div",18)(11,"div",19)(12,"label",20)(13,"h5"),e._uU(14,"Enter date range "),e.TgZ(15,"small"),e._uU(16,"(Maximum two weeks)"),e.qZA()()()(),e.TgZ(17,"div",19)(18,"mat-date-range-input",21)(19,"input",22),e.NdJ("ngModelChange",function(i){e.CHM(t);const l=e.oxw();return e.KtG(l.startDate=i)})("click",function(){e.CHM(t);const i=e.MAs(22);return e.KtG(i.open())}),e.qZA(),e.TgZ(20,"input",23),e.NdJ("ngModelChange",function(i){e.CHM(t);const l=e.oxw();return e.KtG(l.endDate=i)})("click",function(){e.CHM(t);const i=e.MAs(22);return e.KtG(i.open())}),e.qZA()(),e._UZ(21,"mat-date-range-picker",null,24),e.qZA()()()()}if(2&a){const t=e.MAs(22),n=e.oxw();e.xp6(8),e.Q6J("clearable",!1)("ngModel",n.ChannelID),e.xp6(1),e.Q6J("ngForOf",n.Channel),e.xp6(9),e.Q6J("rangePicker",t),e.xp6(1),e.Q6J("ngModel",n.startDate),e.xp6(1),e.Q6J("ngModel",n.endDate)}}const ne=function(a){return{"over-due":a}};function ae(a,o){if(1&a&&(e.TgZ(0,"tr",33)(1,"td"),e._uU(2),e.qZA(),e.TgZ(3,"td"),e._uU(4),e.qZA(),e.TgZ(5,"td"),e._uU(6),e.qZA(),e.TgZ(7,"td"),e._uU(8),e.qZA()()),2&a){const t=o.$implicit,n=o.index;e.Q6J("ngClass",e.VKq(5,ne,t.Exception)),e.xp6(2),e.Oqu(n+1),e.xp6(2),e.Oqu(t.Number),e.xp6(2),e.Oqu(t.Status),e.xp6(2),e.Oqu(t.Exception)}}function ie(a,o){if(1&a&&(e.TgZ(0,"div",27)(1,"div",28)(2,"table",29)(3,"thead",30)(4,"tr"),e._UZ(5,"th",31),e.TgZ(6,"th"),e._uU(7,"Order Number"),e.qZA(),e.TgZ(8,"th"),e._uU(9,"Status"),e.qZA(),e.TgZ(10,"th"),e._uU(11,"Exception"),e.qZA()()(),e.TgZ(12,"tbody"),e.YNc(13,ae,9,7,"tr",32),e.qZA()()()()),2&a){const t=e.oxw();e.xp6(13),e.Q6J("ngForOf",t.infodownload)}}function oe(a,o){if(1&a&&(e.TgZ(0,"th",43),e._uU(1),e.qZA()),2&a){const t=e.oxw(2);e.xp6(1),e.Oqu(0==t.getTypeID()?"Last Status Update":"Created Date")}}function le(a,o){if(1&a&&(e.TgZ(0,"td"),e._uU(1),e.ALo(2,"date"),e.qZA()),2&a){const t=e.oxw().$implicit;e.xp6(1),e.Oqu(e.xi3(2,1,t.Date,"dd MMM yyyy HH:mm:ss"))}}function re(a,o){if(1&a&&(e.TgZ(0,"span"),e._uU(1),e.qZA()),2&a){const t=e.oxw().$implicit;e.xp6(1),e.hij(" ",t.ActionString," ")}}function se(a,o){if(1&a&&(e.TgZ(0,"li"),e._uU(1),e.qZA()),2&a){const t=o.$implicit;e.xp6(1),e.Oqu(t)}}function ue(a,o){if(1&a&&(e.TgZ(0,"ul",47),e.YNc(1,se,2,1,"li",42),e.qZA()),2&a){const t=e.oxw().$implicit;e.xp6(1),e.Q6J("ngForOf",t.ActionString)}}function de(a,o){if(1&a&&(e.TgZ(0,"span",48),e._UZ(1,"i",49),e.qZA()),2&a){const t=e.oxw().$implicit;e.hYB("title","Delivery : ",t.DeliveryState," \nPayment : ",t.PaymentState,"")}}const pe=function(a,o){return{"over-due-today":a,"over-due":o}};function ge(a,o){if(1&a&&(e.TgZ(0,"tr")(1,"td"),e._uU(2),e.qZA(),e.TgZ(3,"td"),e._uU(4),e.qZA(),e.YNc(5,le,3,4,"td",44),e.TgZ(6,"td")(7,"span"),e._uU(8),e.qZA(),e._uU(9),e.qZA(),e.TgZ(10,"td",33)(11,"span"),e._uU(12),e.qZA(),e._uU(13),e.qZA(),e.TgZ(14,"td"),e.YNc(15,re,2,1,"span",44),e.YNc(16,ue,2,1,"ul",45),e.qZA(),e.TgZ(17,"td"),e.YNc(18,de,2,2,"span",46),e.qZA()()),2&a){const t=o.$implicit,n=o.index,i=e.oxw(2);e.xp6(2),e.Oqu(n+1),e.xp6(2),e.Oqu(t.Number),e.xp6(1),e.Q6J("ngIf",i.getTypeID()!=i.channelType.ShopeeV2),e.xp6(3),e.hij("",t.ChannelStatus," - "),e.xp6(1),e.Oqu(t.ChannelStatusDescription),e.xp6(1),e.Q6J("ngClass",e.WLB(11,pe,t.Update,t.Create)),e.xp6(2),e.hij("",t.POSStatus," - "),e.xp6(1),e.Oqu(t.POSStatusDescription),e.xp6(2),e.Q6J("ngIf",1==t.ActionString.length),e.xp6(1),e.Q6J("ngIf",t.ActionString.length>1),e.xp6(2),e.Q6J("ngIf",99!=t.ChannelStatus&&99!=t.POSStatus)}}function he(a,o){if(1&a){const t=e.EpF();e.TgZ(0,"div",12)(1,"div",28)(2,"div",34)(3,"ul",35)(4,"li",36)(5,"button",37),e.NdJ("click",function(){e.CHM(t);const i=e.oxw();return e.KtG(i.filter("all"))}),e._uU(6),e.qZA()(),e.TgZ(7,"li",36)(8,"button",37),e.NdJ("click",function(){e.CHM(t);const i=e.oxw();return e.KtG(i.filter("sync"))}),e._uU(9),e.qZA()(),e.TgZ(10,"li",36)(11,"button",37),e.NdJ("click",function(){e.CHM(t);const i=e.oxw();return e.KtG(i.filter("wrong"))}),e._uU(12),e.qZA()(),e.TgZ(13,"li",36)(14,"button",37),e.NdJ("click",function(){e.CHM(t);const i=e.oxw();return e.KtG(i.filter("unsync"))}),e._uU(15),e.qZA()()()(),e.TgZ(16,"table",29)(17,"thead",38)(18,"tr"),e._UZ(19,"th",31),e.TgZ(20,"th",39),e._uU(21,"Number"),e.qZA(),e.YNc(22,oe,2,1,"th",40),e.TgZ(23,"th",41),e._uU(24,"Channel Status"),e.qZA(),e.TgZ(25,"th",41),e._uU(26,"POS Status"),e.qZA(),e.TgZ(27,"th"),e._uU(28,"Action"),e.qZA(),e._UZ(29,"th",31),e.qZA()(),e.TgZ(30,"tbody"),e.YNc(31,ge,19,14,"tr",42),e.qZA()()()()}if(2&a){const t=e.oxw();e.xp6(5),e.Q6J("ngClass","all"==t.pillStatus?"btn-secondary text-white":"btn-outline-dark"),e.xp6(1),e.hij("All (",t.data.length,")"),e.xp6(2),e.Q6J("ngClass","sync"==t.pillStatus?"btn-success":"btn-outline-success"),e.xp6(1),e.hij("Existing (",t.data.length-t.updateQty-t.createQty,")"),e.xp6(2),e.Q6J("ngClass","wrong"==t.pillStatus?"btn-warning text-white":"btn-outline-warning"),e.xp6(1),e.hij("Wrong Status (",t.updateQty,")"),e.xp6(2),e.Q6J("ngClass","unsync"==t.pillStatus?"btn-danger":"btn-outline-danger"),e.xp6(1),e.hij("Missing (",t.createQty,")"),e.xp6(7),e.Q6J("ngIf",t.getTypeID()!=t.channelType.ShopeeV2),e.xp6(9),e.Q6J("ngForOf",t.displayData)}}let ce=(()=>{class a{constructor(t,n,i,l){this.http=t,this.toastr=n,this.datePipe=i,this.url=l,this.ispreview=!1,this.isresult=!1,this.PageTitle="Download to POS",this.pillStatus="all",this.filterfromDashboard=!1,this.downloadOrderData=[],this.channelType=$.x,this.filterfromDashboard=!1}ngOnInit(){this.maxDate=new Date,this.async=!0,this.loadChannel(),this.url.queryParams.subscribe(t=>{this.ChannelID=t.ChannelID,this.startDate=new Date(t.Date),this.endDate=new Date(t.Date),this.async=!1,this.filterfromDashboard=!0,this.LoadPreview()})}loadChannel(){this.http.post("/api/product/Load",{}).subscribe(t=>{this.Channel=t.Options.Channel})}getDayDiff(t,n){return(n.getTime()-t.getTime())/864e5}download(){this.callApi("Download")}LoadPreview(){this.async=!1,this.filterfromDashboard=!1,!isNaN(this.startDate)&&!isNaN(this.endDate)&&this.callApi("Preview")}preview(){this.async=!1,this.filterfromDashboard=!1,isNaN(this.startDate)||isNaN(this.endDate)?this.toastr.warning("please select a date and outlet","Information"):this.callApi("Preview")}getTypeID(){return this.Channel.find(n=>n.ID==this.ChannelID).TypeID??0}callApi(t){if(null==this.ChannelID&&this.filterfromDashboard)return void this.toastr.warning("Channel cannot be empty!","Failed");if(null==this.startDate||null==this.endDate)return void this.toastr.warning("Please enter both the start and end dates!","Failed");if(this.getDayDiff(this.startDate,this.endDate)>14)return void this.toastr.warning("Dates cannot be more than 14 days apart!","Failed");let n=null;n="Download"==t?{ID:this.ChannelID,From:this.startDate,To:this.endDate,Async:this.async,ListPreview:this.downloadOrderData}:{ID:this.ChannelID,From:this.startDate,To:this.endDate,Async:this.async},this.http.post("/api/Orders/"+t,n).subscribe(i=>{if(this.async)this.toastr.success("Download is successful","Success!"),this.new();else if(this.ispreview)this.infodownload=i.Body,this.data=null,this.isresult=!0,this.ispreview=!1,this.PageTitle="Result ("+this.datePipe.transform(this.startDate,"dd MMM yyyy")+" - "+this.datePipe.transform(this.endDate,"dd MMM yyyy)");else{if(0==i.length&&"Preview"==t)return void this.toastr.info("There is no orders from "+this.datePipe.transform(this.startDate,"dd MMM yyyy")+" to "+this.datePipe.transform(this.endDate,"dd MMM yyyy")+" !","No Orders!");this.updateQty=0,this.createQty=0,this.data=i,this.displayData=i,this.hasAction=this.data.some(l=>"Do Nothing"!=l.ActionString);for(let l of this.data)1===l.Action&&(l.Create=!0,l.Update=!1,this.createQty++),l.Action>1&&(l.Create=!1,l.Update=!0,this.updateQty++);this.ispreview=!0,this.isresult=!1,this.PageTitle="Preview ("+this.datePipe.transform(this.startDate,"dd MMM yyyy")+" - "+this.datePipe.transform(this.endDate,"dd MMM yyyy)")}"Preview"==t&&this.filterDownloadedOrder()})}filterDownloadedOrder(){let t=this.filterDataByStatus("unsync"),n=this.filterDataByStatus("wrong");this.downloadOrderData=[...t,...n]}new(){this.ispreview=!1,this.isresult=!1,this.data=null,this.infodownload=null,this.ChannelID=null,this.startDate=null,this.endDate=null,this.hasAction=!0,this.PageTitle="Download to POS"}filter(t){this.pillStatus=t,this.displayData=this.filterDataByStatus(t)}filterDataByStatus(t){let n=[];switch(t){case"all":n=this.data;break;case"sync":n=this.data.filter(i=>!i.Update&&!i.Create);break;case"wrong":n=this.data.filter(i=>i.Update);break;case"unsync":n=this.data.filter(i=>i.Create)}return n}}return a.\u0275fac=function(t){return new(t||a)(e.Y36(h.O),e.Y36(Z._W),e.Y36(r.uU),e.Y36(u.gz))},a.\u0275cmp=e.Xpm({type:a,selectors:[["app-download"]],decls:12,vars:8,consts:[[3,"Title","hideSearchBox","hideSearchDropdown"],["class","btn btn-success btn-fill btn-lg text-white",3,"click",4,"ngIf"],["class","btn btn-success btn-fill btn-lg text-white","type","button",3,"click",4,"ngIf"],[1,"btn","btn-outline-secondary","btn-fill","btn-lg","ms-2",3,"click"],["aria-hidden","true",1,"fa","fa-file-alt","me-2"],[1,"container-fluid","pt-5","mt-5"],["class","row",4,"ngIf"],["class","row mt-4",4,"ngIf"],[1,"btn","btn-success","btn-fill","btn-lg","text-white",3,"click"],[1,"fas","fa-search"],["type","button",1,"btn","btn-success","btn-fill","btn-lg","text-white",3,"click"],["aria-hidden","true",1,"fa","fa-download","me-2"],[1,"row"],[1,"col-6"],[1,"col"],["for","channelSelect"],[3,"clearable","ngModel","ngModelChange"],[3,"value",4,"ngFor","ngForOf"],[1,"row","mt-1rem"],[1,"col-12"],["for","dates"],["id","dates",1,"form-control","rounded","dateRange","w-75",3,"rangePicker"],["matStartDate","","placeholder","Start date",3,"ngModel","ngModelChange","click"],["matEndDate","","placeholder","End date",3,"ngModel","ngModelChange","click"],["picker",""],[3,"value"],[2,"width","18px","margin-right","10px",3,"src"],[1,"row","mt-4"],[1,"col-md-12"],[1,"table"],[1,"thead-light","sticky-top-thead"],["width","1%"],[3,"ngClass",4,"ngFor","ngForOf"],[3,"ngClass"],[1,"row","mx-1","mb-5"],[1,"nav","nav-pills"],[1,"nav-item","mx-3"],[1,"btn","btn-sm","rounded-pill",3,"ngClass","click"],[1,"thead-light"],["width","25%"],["width","15%",4,"ngIf"],["width","10%"],[4,"ngFor","ngForOf"],["width","15%"],[4,"ngIf"],["class","ps-5",4,"ngIf"],[3,"title",4,"ngIf"],[1,"ps-5"],[3,"title"],[1,"fas","fa-info-circle","ms-2"]],template:function(t,n){1&t&&(e.TgZ(0,"mainpanel",0)(1,"actions"),e.YNc(2,W,3,0,"button",1),e.YNc(3,X,3,0,"button",2),e.TgZ(4,"button",3),e.NdJ("click",function(){return n.new()}),e._UZ(5,"i",4),e._uU(6," New "),e.qZA()(),e.TgZ(7,"content")(8,"div",5),e.YNc(9,te,23,6,"div",6),e.YNc(10,ie,14,1,"div",7),e.YNc(11,he,32,10,"div",6),e.qZA()()()),2&t&&(e.Q6J("Title",n.PageTitle)("hideSearchBox",!0)("hideSearchDropdown",!0),e.xp6(2),e.Q6J("ngIf",!n.ispreview&&!n.isresult),e.xp6(1),e.Q6J("ngIf",n.ispreview&&n.hasAction&&0!==n.downloadOrderData.length),e.xp6(6),e.Q6J("ngIf",!n.ispreview&&!n.isresult),e.xp6(1),e.Q6J("ngIf",n.isresult),e.xp6(1),e.Q6J("ngIf",n.ispreview))},dependencies:[r.mk,r.sg,r.O5,s.Fj,s.JJ,s.On,p.p,g.w9,g.jq,_.wx,_.zY,_.By,_._g,r.uU],styles:[".vertical-radio[_ngcontent-%COMP%]{display:flex;flex-direction:column;margin:15px 0}.mt-1rem[_ngcontent-%COMP%]{margin-top:1rem}.dateRange[_ngcontent-%COMP%]{padding-top:.8rem;padding-bottom:.8rem}"]}),a})();var c=d(8063);const me=[{path:"",component:v,children:[{path:"",redirectTo:"new",pathMatch:"full"},{path:"new",component:S,canActivate:[c.a],data:{title:"New Order"}},{path:"detail",component:w,canActivate:[c.a],data:{title:"Orders detail"}},{path:"ready_to_ship",component:x,canActivate:[c.a],data:{title:"Ready To Ship"}},{path:"Shipped",component:I,canActivate:[c.a],data:{title:"Shipped"}},{path:"Delivered",component:R,canActivate:[c.a],data:{title:"Delivered"}},{path:"All",component:H,canActivate:[c.a],data:{title:"All Order"}},{path:"Cancelled",component:V,canActivate:[c.a],data:{title:"Cancelled"}},{path:"Download",component:ce,canActivate:[c.a],data:{title:"Download"}}]}];let _e=(()=>{class a{}return a.\u0275fac=function(t){return new(t||a)},a.\u0275mod=e.oAB({type:a}),a.\u0275inj=e.cJS({imports:[r.ez,u.Bz.forChild(me)]}),a})();var fe=d(8739),Ze=d(3238);let be=(()=>{class a{}return a.\u0275fac=function(t){return new(t||a)},a.\u0275mod=e.oAB({type:a}),a.\u0275inj=e.cJS({imports:[r.ez,s.u5,_e,T.Z,p.R,fe.TU,u.Bz,g.A0,_.FA,Ze.XK,P]}),a})()},9694:(C,f,d)=>{d.d(f,{x:()=>r});var r=(()=>{return(u=r||(r={}))[u.Shopee=0]="Shopee",u[u.Tokopedia=1]="Tokopedia",u[u.WooCommerce=2]="WooCommerce",u[u.None=3]="None",u[u.KalCare=4]="KalCare",u[u.ShopeeV2=5]="ShopeeV2",u[u.Tiktok=6]="Tiktok",u[u.Lazada=7]="Lazada",r;var u})()}}]);