marketplacepos 2.4.8 → 2.4.9

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 (87) hide show
  1. package/Marketplace/162.380fb02c77fa6ec0.js +1 -0
  2. package/Marketplace/174.d9e54ac6a8d68fed.js +1 -0
  3. package/Marketplace/180.bfed0f08b5cdbbde.js +1 -0
  4. package/Marketplace/25.5e00713dbd080b64.js +1 -0
  5. package/Marketplace/32.9c83cc1dfc19e37d.js +1 -0
  6. package/Marketplace/360.4fa1f449dc516500.js +1 -0
  7. package/Marketplace/369.16ffb7833f5f392e.js +1 -0
  8. package/Marketplace/397.5bc29c874039d3c8.js +1 -0
  9. package/Marketplace/3rdpartylicenses.txt +568 -0
  10. package/Marketplace/455.fc7663306b753727.js +1 -0
  11. package/Marketplace/463.7140b32660c473a4.js +1 -0
  12. package/Marketplace/512.96a1a3c8c51a8727.js +1 -0
  13. package/Marketplace/516.f335756d88de781a.js +1 -0
  14. package/Marketplace/585.9e916b668a91cc94.js +1 -0
  15. package/Marketplace/6.fc79ecc0c0a33462.js +1 -0
  16. package/Marketplace/616.fb179a9605c3e98c.js +1 -0
  17. package/Marketplace/716.65e3e9a36c3e8be6.js +1 -0
  18. package/Marketplace/717.c3d108362a36e597.js +1 -0
  19. package/Marketplace/739.82b92600f9519019.js +1 -0
  20. package/Marketplace/785.e0040d021febffb1.js +1 -0
  21. package/Marketplace/796.d34bd45b5a924fca.js +1 -0
  22. package/Marketplace/832.6082371d3ebb95a0.js +1 -0
  23. package/Marketplace/874.472e0cd7c75127ca.js +1 -0
  24. package/Marketplace/common.3f5874655db24424.js +1 -0
  25. package/Marketplace/index.html +22 -23
  26. package/Marketplace/main.195197d9958646d1.js +1 -0
  27. package/Marketplace/polyfills.8d85b0533e3f867a.js +1 -0
  28. package/Marketplace/runtime.a82898ac8aec5312.js +1 -0
  29. package/Marketplace/scripts.09af772bfa77d50d.js +1 -0
  30. package/Marketplace/styles.dff58ae3c0783953.css +20 -0
  31. package/package.json +1 -1
  32. package/Marketplace/common.js +0 -238
  33. package/Marketplace/common.js.map +0 -1
  34. package/Marketplace/default-node_modules_angular_forms_fesm2020_forms_mjs.js +0 -9551
  35. package/Marketplace/default-node_modules_angular_forms_fesm2020_forms_mjs.js.map +0 -1
  36. package/Marketplace/default-node_modules_angular_material_fesm2020_paginator_mjs.js +0 -797
  37. package/Marketplace/default-node_modules_angular_material_fesm2020_paginator_mjs.js.map +0 -1
  38. package/Marketplace/default-node_modules_angular_material_fesm2020_slide-toggle_mjs.js +0 -669
  39. package/Marketplace/default-node_modules_angular_material_fesm2020_slide-toggle_mjs.js.map +0 -1
  40. package/Marketplace/default-node_modules_ng-select_ng-select_fesm2020_ng-select-ng-select_mjs.js +0 -4632
  41. package/Marketplace/default-node_modules_ng-select_ng-select_fesm2020_ng-select-ng-select_mjs.js.map +0 -1
  42. package/Marketplace/default-src_app_menu_nav-tab_nav-tab_component_ts-node_modules_angular_material_fesm2020_date-e7a231.js +0 -6841
  43. package/Marketplace/default-src_app_menu_nav-tab_nav-tab_component_ts-node_modules_angular_material_fesm2020_date-e7a231.js.map +0 -1
  44. package/Marketplace/default-src_app_menu_nav-tab_nav-tab_component_ts-src_app_services_biggerPicture_service_ts-s-b16afe.js +0 -3316
  45. package/Marketplace/default-src_app_menu_nav-tab_nav-tab_component_ts-src_app_services_biggerPicture_service_ts-s-b16afe.js.map +0 -1
  46. package/Marketplace/default-src_app_model_enums_FilterType_enum_ts-src_app_sharing-module_table_table_component_ts.js +0 -6219
  47. package/Marketplace/default-src_app_model_enums_FilterType_enum_ts-src_app_sharing-module_table_table_component_ts.js.map +0 -1
  48. package/Marketplace/default-src_app_sharing-module_datepicker_datepicker_component_ts.js +0 -19965
  49. package/Marketplace/default-src_app_sharing-module_datepicker_datepicker_component_ts.js.map +0 -1
  50. package/Marketplace/main.js +0 -622
  51. package/Marketplace/main.js.map +0 -1
  52. package/Marketplace/polyfills.js +0 -3398
  53. package/Marketplace/polyfills.js.map +0 -1
  54. package/Marketplace/runtime.js +0 -346
  55. package/Marketplace/runtime.js.map +0 -1
  56. package/Marketplace/scripts.js +0 -9
  57. package/Marketplace/scripts.js.map +0 -1
  58. package/Marketplace/src_app_login_login_module_ts.js +0 -651
  59. package/Marketplace/src_app_login_login_module_ts.js.map +0 -1
  60. package/Marketplace/src_app_menu_ReportOrder_order_order_module_ts.js +0 -872
  61. package/Marketplace/src_app_menu_ReportOrder_order_order_module_ts.js.map +0 -1
  62. package/Marketplace/src_app_menu_ReportOrder_product-statistic_product-statistic_module_ts.js +0 -422
  63. package/Marketplace/src_app_menu_ReportOrder_product-statistic_product-statistic_module_ts.js.map +0 -1
  64. package/Marketplace/src_app_menu_ReportOrder_report_module_ts.js +0 -283
  65. package/Marketplace/src_app_menu_ReportOrder_report_module_ts.js.map +0 -1
  66. package/Marketplace/src_app_menu_channels_channels_module_ts.js +0 -9605
  67. package/Marketplace/src_app_menu_channels_channels_module_ts.js.map +0 -1
  68. package/Marketplace/src_app_menu_inventory_inventory_module_ts.js +0 -1547
  69. package/Marketplace/src_app_menu_inventory_inventory_module_ts.js.map +0 -1
  70. package/Marketplace/src_app_menu_logistic_logistic_module_ts.js +0 -245
  71. package/Marketplace/src_app_menu_logistic_logistic_module_ts.js.map +0 -1
  72. package/Marketplace/src_app_menu_menu_module_ts.js +0 -40326
  73. package/Marketplace/src_app_menu_menu_module_ts.js.map +0 -1
  74. package/Marketplace/src_app_menu_notification_notification_module_ts.js +0 -285
  75. package/Marketplace/src_app_menu_notification_notification_module_ts.js.map +0 -1
  76. package/Marketplace/src_app_menu_object-log_logs_module_ts.js +0 -1817
  77. package/Marketplace/src_app_menu_object-log_logs_module_ts.js.map +0 -1
  78. package/Marketplace/src_app_menu_orders_orders_module_ts.js +0 -4867
  79. package/Marketplace/src_app_menu_orders_orders_module_ts.js.map +0 -1
  80. package/Marketplace/src_app_menu_price_price_module_ts.js +0 -1885
  81. package/Marketplace/src_app_menu_price_price_module_ts.js.map +0 -1
  82. package/Marketplace/src_app_menu_products_product_module_ts.js +0 -2692
  83. package/Marketplace/src_app_menu_products_product_module_ts.js.map +0 -1
  84. package/Marketplace/styles.css +0 -16565
  85. package/Marketplace/styles.css.map +0 -1
  86. package/Marketplace/vendor.js +0 -71624
  87. package/Marketplace/vendor.js.map +0 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "marketplacepos",
3
- "version": "2.4.8",
3
+ "version": "2.4.9",
4
4
  "main": "index.js",
5
5
  "scripts": {
6
6
  "test": "echo \"Error: no test specified\" && exit 1"
@@ -1,238 +0,0 @@
1
- "use strict";
2
- (self["webpackChunkpos_marketplace"] = self["webpackChunkpos_marketplace"] || []).push([["common"],{
3
-
4
- /***/ 1290:
5
- /*!****************************************!*\
6
- !*** ./src/app/model/ProductFilter.ts ***!
7
- \****************************************/
8
- /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
9
-
10
- __webpack_require__.r(__webpack_exports__);
11
- /* harmony export */ __webpack_require__.d(__webpack_exports__, {
12
- /* harmony export */ "ProductFilter": () => (/* binding */ ProductFilter)
13
- /* harmony export */ });
14
- class ProductFilter {
15
- }
16
-
17
-
18
- /***/ }),
19
-
20
- /***/ 6732:
21
- /*!*******************************************************************************!*\
22
- !*** ./src/app/sharing-module/custom-paginator/custom-paginator.component.ts ***!
23
- \*******************************************************************************/
24
- /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
25
-
26
- __webpack_require__.r(__webpack_exports__);
27
- /* harmony export */ __webpack_require__.d(__webpack_exports__, {
28
- /* harmony export */ "CustomPaginatorComponent": () => (/* binding */ CustomPaginatorComponent)
29
- /* harmony export */ });
30
- /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ 2560);
31
- /* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/common */ 4666);
32
-
33
-
34
-
35
- function CustomPaginatorComponent_span_6_Template(rf, ctx) { if (rf & 1) {
36
- const _r3 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵgetCurrentView"]();
37
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "span", 10);
38
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("click", function CustomPaginatorComponent_span_6_Template_span_click_0_listener() { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r3); const ctx_r2 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](); return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵresetView"](ctx_r2.getTotal()); });
39
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](1, "i", 11);
40
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](2, "?");
41
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]()();
42
- } }
43
- function CustomPaginatorComponent_span_7_Template(rf, ctx) { if (rf & 1) {
44
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "span");
45
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](1);
46
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](2, "number");
47
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
48
- } if (rf & 2) {
49
- const ctx_r1 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();
50
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
51
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](2, 1, ctx_r1.paginationTotal));
52
- } }
53
- class CustomPaginatorComponent {
54
- constructor() {
55
- this.get = new _angular_core__WEBPACK_IMPORTED_MODULE_0__.EventEmitter();
56
- this.change = new _angular_core__WEBPACK_IMPORTED_MODULE_0__.EventEmitter();
57
- this.next = new _angular_core__WEBPACK_IMPORTED_MODULE_0__.EventEmitter();
58
- this.previous = new _angular_core__WEBPACK_IMPORTED_MODULE_0__.EventEmitter();
59
- this.total = new _angular_core__WEBPACK_IMPORTED_MODULE_0__.EventEmitter();
60
- this.hasClicked = false;
61
- }
62
- changePage(pageEvent) {
63
- this.filter.PageNumber = pageEvent.pageIndex + 1;
64
- this.change.emit(this.filter);
65
- }
66
- getTotal() {
67
- this.total.emit();
68
- }
69
- PreviousPage() {
70
- this.previous.emit();
71
- }
72
- NextPage() {
73
- this.next.emit();
74
- }
75
- }
76
- CustomPaginatorComponent.ɵfac = function CustomPaginatorComponent_Factory(t) { return new (t || CustomPaginatorComponent)(); };
77
- CustomPaginatorComponent.ɵcmp = /*@__PURE__*/ _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineComponent"]({ type: CustomPaginatorComponent, selectors: [["app-custom-paginator"]], inputs: { filter: "filter", paginationTotal: "paginationTotal", totaldata: "totaldata", hasClicked: "hasClicked" }, outputs: { get: "get", change: "change", next: "next", previous: "previous", total: "total" }, decls: 16, vars: 11, consts: [[1, "d-flex", "justify-content-between", "mt-5"], [1, "me-auto", "d-sm-block", "collapse", "mt-3"], [1, "font-weight-bold", "font-italic", "hidden-xxs"], ["style", "cursor: pointer", 3, "click", 4, "ngIf"], [4, "ngIf"], [1, "btn-group"], ["role", "button", "title", "Load all products", 1, "btn", "btn-outline-secondary", "btn-sm", "text-primary", 3, "hidden", "click"], [1, "fas", "fa-arrow-left"], ["role", "button", "title", "Load more for 20 products", 1, "btn", "btn-outline-secondary", "btn-sm", "text-primary", 3, "hidden", "click"], [1, "fas", "fa-arrow-right"], [2, "cursor", "pointer", 3, "click"], ["title", "Retreive rows count", 1, "border", "p-3"]], template: function CustomPaginatorComponent_Template(rf, ctx) { if (rf & 1) {
78
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "div", 0)(1, "div", 1)(2, "div", 2);
79
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](3);
80
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](4, "number");
81
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](5, "number");
82
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](6, CustomPaginatorComponent_span_6_Template, 3, 0, "span", 3);
83
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](7, CustomPaginatorComponent_span_7_Template, 3, 3, "span", 4);
84
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](8);
85
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]()();
86
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](9, "div", 5)(10, "a", 6);
87
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("click", function CustomPaginatorComponent_Template_a_click_10_listener() { return ctx.PreviousPage(); });
88
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](11, "i", 7);
89
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](12, " Prev");
90
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
91
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](13, "a", 8);
92
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("click", function CustomPaginatorComponent_Template_a_click_13_listener() { return ctx.NextPage(); });
93
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](14, "i", 9);
94
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](15, " Next");
95
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]()()();
96
- } if (rf & 2) {
97
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](3);
98
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate2"](" Showing ", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](4, 7, ctx.filter.PageSize * (ctx.filter.PageNumber - 1) + 1), " - ", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](5, 9, ctx.filter.PageSize * (ctx.filter.PageNumber - 1) + ctx.totaldata), " of ");
99
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](3);
100
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", !ctx.hasClicked);
101
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
102
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", ctx.hasClicked);
103
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
104
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate1"](" records ~ ", ctx.filter.PageNumber, " Page ");
105
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
106
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("hidden", ctx.filter.PageNumber == 1);
107
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](3);
108
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("hidden", ctx.filter.PageSize * (ctx.filter.PageNumber - 1) + ctx.totaldata == ctx.paginationTotal || ctx.totaldata < ctx.filter.PageSize);
109
- } }, dependencies: [_angular_common__WEBPACK_IMPORTED_MODULE_1__.NgIf, _angular_common__WEBPACK_IMPORTED_MODULE_1__.DecimalPipe], styles: ["\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsImZpbGUiOiJjdXN0b20tcGFnaW5hdG9yLmNvbXBvbmVudC5zY3NzIn0= */"] });
110
-
111
-
112
- /***/ }),
113
-
114
- /***/ 7459:
115
- /*!****************************************************************************!*\
116
- !*** ./src/app/sharing-module/custom-paginator/custom-paginator.module.ts ***!
117
- \****************************************************************************/
118
- /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
119
-
120
- __webpack_require__.r(__webpack_exports__);
121
- /* harmony export */ __webpack_require__.d(__webpack_exports__, {
122
- /* harmony export */ "CustomPaginatorModule": () => (/* binding */ CustomPaginatorModule)
123
- /* harmony export */ });
124
- /* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @angular/common */ 4666);
125
- /* harmony import */ var _custom_paginator_component__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./custom-paginator.component */ 6732);
126
- /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/core */ 2560);
127
-
128
-
129
-
130
- class CustomPaginatorModule {
131
- }
132
- CustomPaginatorModule.ɵfac = function CustomPaginatorModule_Factory(t) { return new (t || CustomPaginatorModule)(); };
133
- CustomPaginatorModule.ɵmod = /*@__PURE__*/ _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdefineNgModule"]({ type: CustomPaginatorModule });
134
- CustomPaginatorModule.ɵinj = /*@__PURE__*/ _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdefineInjector"]({ imports: [_angular_common__WEBPACK_IMPORTED_MODULE_2__.CommonModule] });
135
- (function () { (typeof ngJitMode === "undefined" || ngJitMode) && _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵsetNgModuleScope"](CustomPaginatorModule, { declarations: [_custom_paginator_component__WEBPACK_IMPORTED_MODULE_0__.CustomPaginatorComponent], imports: [_angular_common__WEBPACK_IMPORTED_MODULE_2__.CommonModule], exports: [_custom_paginator_component__WEBPACK_IMPORTED_MODULE_0__.CustomPaginatorComponent] }); })();
136
-
137
-
138
- /***/ }),
139
-
140
- /***/ 2594:
141
- /*!*******************************************************************************************!*\
142
- !*** ./src/app/sharing-module/mat-paginator-no-count/mat-paginator-no-count.component.ts ***!
143
- \*******************************************************************************************/
144
- /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
145
-
146
- __webpack_require__.r(__webpack_exports__);
147
- /* harmony export */ __webpack_require__.d(__webpack_exports__, {
148
- /* harmony export */ "MatPaginatorNoCountComponent": () => (/* binding */ MatPaginatorNoCountComponent),
149
- /* harmony export */ "MatPaginatorNoCountModule": () => (/* binding */ MatPaginatorNoCountModule)
150
- /* harmony export */ });
151
- /* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/common */ 4666);
152
- /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ 2560);
153
-
154
-
155
-
156
-
157
- function MatPaginatorNoCountComponent_span_6_Template(rf, ctx) { if (rf & 1) {
158
- const _r3 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵgetCurrentView"]();
159
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "span", 10);
160
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("click", function MatPaginatorNoCountComponent_span_6_Template_span_click_0_listener() { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r3); const ctx_r2 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](); ctx_r2.getTotal(); return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵresetView"](ctx_r2.hasClicked = true); });
161
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](1, "i", 11);
162
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](2, "?");
163
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]()();
164
- } }
165
- function MatPaginatorNoCountComponent_span_7_Template(rf, ctx) { if (rf & 1) {
166
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "span");
167
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](1);
168
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](2, "number");
169
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
170
- } if (rf & 2) {
171
- const ctx_r1 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();
172
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
173
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](2, 1, ctx_r1.paginationTotal));
174
- } }
175
- class MatPaginatorNoCountComponent {
176
- constructor() {
177
- this.get = new _angular_core__WEBPACK_IMPORTED_MODULE_0__.EventEmitter();
178
- this.change = new _angular_core__WEBPACK_IMPORTED_MODULE_0__.EventEmitter();
179
- this.next = new _angular_core__WEBPACK_IMPORTED_MODULE_0__.EventEmitter();
180
- this.previous = new _angular_core__WEBPACK_IMPORTED_MODULE_0__.EventEmitter();
181
- this.total = new _angular_core__WEBPACK_IMPORTED_MODULE_0__.EventEmitter();
182
- this.hasClicked = false;
183
- }
184
- changePage(pageEvent) {
185
- this.filter.PageNumber = pageEvent.pageIndex + 1;
186
- this.change.emit(this.filter);
187
- }
188
- getTotal() {
189
- this.total.emit();
190
- }
191
- PreviousPage() {
192
- this.previous.emit();
193
- }
194
- NextPage() {
195
- this.next.emit();
196
- }
197
- }
198
- MatPaginatorNoCountComponent.ɵfac = function MatPaginatorNoCountComponent_Factory(t) { return new (t || MatPaginatorNoCountComponent)(); };
199
- MatPaginatorNoCountComponent.ɵcmp = /*@__PURE__*/ _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineComponent"]({ type: MatPaginatorNoCountComponent, selectors: [["app-mat-paginator-no-count"]], inputs: { filter: "filter", paginationTotal: "paginationTotal", totaldata: "totaldata", hasClicked: "hasClicked" }, 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", 1, "btn", "btn-outline-secondary", "btn-sm", "me-3", "border-0", 3, "disabled", "click"], [1, "fas", "fa-chevron-left"], ["role", "button", 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 MatPaginatorNoCountComponent_Template(rf, ctx) { if (rf & 1) {
200
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "div", 0)(1, "div", 1)(2, "div", 2);
201
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](3);
202
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](4, "number");
203
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](5, "number");
204
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](6, MatPaginatorNoCountComponent_span_6_Template, 3, 0, "span", 3);
205
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](7, MatPaginatorNoCountComponent_span_7_Template, 3, 3, "span", 4);
206
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]()();
207
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](8, "div", 5)(9, "button", 6);
208
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("click", function MatPaginatorNoCountComponent_Template_button_click_9_listener() { return ctx.PreviousPage(); });
209
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](10, "i", 7);
210
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
211
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](11, "button", 8);
212
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("click", function MatPaginatorNoCountComponent_Template_button_click_11_listener() { return ctx.NextPage(); });
213
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](12, "i", 9);
214
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]()()();
215
- } if (rf & 2) {
216
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](3);
217
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate2"](" Showing ", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](4, 6, ctx.filter.PageSize * (ctx.filter.PageNumber - 1) + 1), " - ", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](5, 8, ctx.filter.PageSize * (ctx.filter.PageNumber - 1) + ctx.totaldata), " of ");
218
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](3);
219
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", !ctx.hasClicked);
220
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
221
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", ctx.hasClicked);
222
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
223
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("disabled", ctx.filter.PageNumber == 1);
224
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
225
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("disabled", ctx.filter.PageSize * (ctx.filter.PageNumber - 1) + ctx.totaldata == ctx.paginationTotal || ctx.totaldata < ctx.filter.PageSize);
226
- } }, dependencies: [_angular_common__WEBPACK_IMPORTED_MODULE_1__.NgIf, _angular_common__WEBPACK_IMPORTED_MODULE_1__.DecimalPipe], styles: ["\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsImZpbGUiOiJtYXQtcGFnaW5hdG9yLW5vLWNvdW50LmNvbXBvbmVudC5zY3NzIn0= */"] });
227
- class MatPaginatorNoCountModule {
228
- }
229
- MatPaginatorNoCountModule.ɵfac = function MatPaginatorNoCountModule_Factory(t) { return new (t || MatPaginatorNoCountModule)(); };
230
- MatPaginatorNoCountModule.ɵmod = /*@__PURE__*/ _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineNgModule"]({ type: MatPaginatorNoCountModule });
231
- MatPaginatorNoCountModule.ɵinj = /*@__PURE__*/ _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineInjector"]({ imports: [_angular_common__WEBPACK_IMPORTED_MODULE_1__.CommonModule] });
232
- (function () { (typeof ngJitMode === "undefined" || ngJitMode) && _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵsetNgModuleScope"](MatPaginatorNoCountModule, { declarations: [MatPaginatorNoCountComponent], imports: [_angular_common__WEBPACK_IMPORTED_MODULE_1__.CommonModule], exports: [MatPaginatorNoCountComponent] }); })();
233
-
234
-
235
- /***/ })
236
-
237
- }]);
238
- //# sourceMappingURL=common.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"common.js","mappings":";;;;;;;;;;;;;AAAO,MAAM,aAAa;CAgBzB;;;;;;;;;;;;;;;;;AChBsE;;;;;ICMjE,2EACG;IAD+C,qSAAS,2EAAU,KAAC;IACnE,wEAAkD;IAAA,4DAAC;IAAA,4DAAI;;;IAE1D,uEAAyB;IAAA,uDAA8B;;IAAA,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,IAAC;QAAC,mEAAoC;QAC7D,4DAAS;;QAfL,0DAEG;QAFH,wVAEG;QAA8B,0DAAiB;QAAjB,iFAAiB;QAG7C,0DAAgB;QAAhB,gFAAgB;QAIqD,0DAAmC;QAAnC,gGAAmC;QAIzG,0DAAyH;QAAzH,qMAAyH;;ADiClI,MAAM,yBAAyB;;kGAAzB,yBAAyB;sHAAzB,yBAAyB;0HANlC,yDAAY;mIAMH,yBAAyB,mBAzCzB,4BAA4B,aAmCrC,yDAAY,aAnCH,4BAA4B","sources":["./src/app/model/ProductFilter.ts","./src/app/sharing-module/custom-paginator/custom-paginator.component.ts","./src/app/sharing-module/custom-paginator/custom-paginator.component.html","./src/app/sharing-module/custom-paginator/custom-paginator.module.ts","./src/app/sharing-module/mat-paginator-no-count/mat-paginator-no-count.component.ts","./src/app/sharing-module/mat-paginator-no-count/mat-paginator-no-count.component.html"],"sourcesContent":["export class ProductFilter {\r\n ChannelID : string;\r\n PageNumber : number;\r\n RowCount: number;\r\n mode?: number;\r\n ScanFull?:boolean;\r\n text?:string;\r\n PageSize?: number;\r\n UpdatedProduct?: boolean;\r\n Item_id?:string;\r\n HiddenIPOSInventory?: boolean\r\n Async?: boolean;\r\n HaveSku?:number;\r\n ListChannelID?:Array<string>\r\n\r\n \r\n}","import { Component, EventEmitter, Input, Output } from '@angular/core';\r\n\r\n@Component({\r\n selector: 'app-custom-paginator',\r\n templateUrl: './custom-paginator.component.html',\r\n styleUrls: ['./custom-paginator.component.scss']\r\n})\r\nexport class CustomPaginatorComponent {\r\n\r\n @Input() filter: any;\r\n @Input() paginationTotal?: any;\r\n @Input() totaldata : any;\r\n\r\n @Output() get = new EventEmitter<any>();\r\n @Output() change = new EventEmitter<any>();\r\n\r\n @Output() next = new EventEmitter<any>();\r\n @Output() previous = new EventEmitter<any>();\r\n\r\n @Output() total = new EventEmitter<any>();\r\n\r\n @Input() hasClicked : boolean = false;\r\n\r\n changePage(pageEvent): void {\r\n this.filter.PageNumber = pageEvent.pageIndex + 1;\r\n this.change.emit(this.filter);\r\n }\r\n\r\n getTotal(){\r\n this.total.emit();\r\n }\r\n\r\n PreviousPage(){\r\n this.previous.emit();\r\n }\r\n\r\n NextPage(){\r\n this.next.emit();\r\n }\r\n}\r\n","<div class=\"d-flex justify-content-between mt-5\">\r\n <div class=\"me-auto d-sm-block collapse mt-3\">\r\n <div class=\"font-weight-bold font-italic hidden-xxs\">\r\n Showing {{ filter.PageSize * (filter.PageNumber - 1) + 1 | number }} -\r\n {{ filter.PageSize * (filter.PageNumber - 1) + totaldata | number }}\r\n of\r\n <span style=\"cursor: pointer\" *ngIf=\"!hasClicked\" (click)=\"getTotal()\"\r\n ><i title=\"Retreive rows count\" class=\"border p-3\">?</i>\r\n </span>\r\n <span *ngIf=\"hasClicked\">{{ paginationTotal | number }}</span>\r\n records ~ {{ filter.PageNumber }} Page\r\n </div>\r\n </div>\r\n <div class=\"btn-group\">\r\n <a\r\n role=\"button\"\r\n class=\"btn btn-outline-secondary btn-sm text-primary\"\r\n [hidden]=\"filter.PageNumber == 1\"\r\n (click)=\"PreviousPage()\"\r\n title=\"Load all products\"\r\n ><i class=\"fas fa-arrow-left\"></i> Prev</a\r\n >\r\n <a\r\n role=\"button\"\r\n class=\"btn btn-outline-secondary btn-sm text-primary\"\r\n [hidden]=\"\r\n (filter.PageSize * (filter.PageNumber - 1) + totaldata ==\r\n paginationTotal || totaldata < filter.PageSize)\r\n \"\r\n (click)=\"NextPage()\"\r\n title=\"Load more for 20 products\"\r\n ><i class=\"fas fa-arrow-right\"></i> Next</a\r\n >\r\n </div>\r\n</div>\r\n","import { NgModule } from '@angular/core';\r\nimport { CommonModule } from '@angular/common';\r\nimport { CustomPaginatorComponent } from './custom-paginator.component';\r\n\r\n@NgModule({\r\n imports: [\r\n CommonModule\r\n ],\r\n declarations: [CustomPaginatorComponent],\r\n exports: [\r\n CustomPaginatorComponent\r\n ]\r\n})\r\nexport class CustomPaginatorModule { }\r\n","import { CommonModule } from '@angular/common';\r\nimport { Component, EventEmitter, Input, NgModule, NO_ERRORS_SCHEMA, Output } from '@angular/core';\r\n\r\n@Component({\r\n selector: 'app-mat-paginator-no-count',\r\n templateUrl: './mat-paginator-no-count.component.html',\r\n styleUrls: ['./mat-paginator-no-count.component.scss']\r\n})\r\nexport class MatPaginatorNoCountComponent {\r\n\r\n @Input() filter: any;\r\n @Input() paginationTotal?: any;\r\n @Input() totaldata : any;\r\n\r\n @Output() get = new EventEmitter<any>();\r\n @Output() change = new EventEmitter<any>();\r\n\r\n @Output() next = new EventEmitter<any>();\r\n @Output() previous = new EventEmitter<any>();\r\n\r\n @Output() total = new EventEmitter<any>();\r\n\r\n @Input() hasClicked : boolean = false;\r\n\r\n changePage(pageEvent): void {\r\n this.filter.PageNumber = pageEvent.pageIndex + 1;\r\n this.change.emit(this.filter);\r\n }\r\n\r\n getTotal(){\r\n this.total.emit();\r\n }\r\n\r\n PreviousPage(){\r\n this.previous.emit();\r\n }\r\n\r\n NextPage(){\r\n this.next.emit();\r\n }\r\n}\r\n@NgModule({\r\n imports: [\r\n CommonModule\r\n ],\r\n declarations: [MatPaginatorNoCountComponent],\r\n exports: [MatPaginatorNoCountComponent],\r\n schemas: [NO_ERRORS_SCHEMA]\r\n})\r\nexport class MatPaginatorNoCountModule {}","<div class=\"d-flex justify-content-end mt-5\">\r\n <div class=\"d-sm-block collapse mt-3 me-5\">\r\n <div class=\"text-dark hidden-xxs\">\r\n Showing {{ ( filter.PageSize * ( filter.PageNumber - 1)) + 1 | number}} -\r\n {{ ( filter.PageSize * ( filter.PageNumber - 1)) + totaldata | number}}\r\n of <span style=\"cursor:pointer\" *ngIf=\"!hasClicked\"\r\n (click)=\"getTotal();hasClicked = true;\"> <i\r\n title=\"Retreive rows count\" class=\"border p-3\">?</i> </span><span\r\n *ngIf=\"hasClicked\">{{ paginationTotal | number }}</span>\r\n </div>\r\n </div>\r\n <div class=\"btn-group\">\r\n <button role=\"button\" class=\"btn btn-outline-secondary btn-sm me-3 border-0\" [disabled]=\"filter.PageNumber == 1\"\r\n (click)=\"PreviousPage()\"><i class=\"fas fa-chevron-left\"></i>\r\n </button>\r\n\r\n <button [disabled]=\"((filter.PageSize * ( filter.PageNumber - 1)) + totaldata == paginationTotal) || totaldata < filter.PageSize\" role=\"button\" class=\"btn btn-outline-secondary btn-sm border-0\" \r\n (click)=\"NextPage()\"><i class=\"fas fa-chevron-right\"></i>\r\n </button>\r\n </div>\r\n</div>"],"names":[],"sourceRoot":"webpack:///"}