marketplacepos 2.4.8 → 2.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Marketplace/162.380fb02c77fa6ec0.js +1 -0
- package/Marketplace/174.d9e54ac6a8d68fed.js +1 -0
- package/Marketplace/180.bfed0f08b5cdbbde.js +1 -0
- package/Marketplace/25.5e00713dbd080b64.js +1 -0
- package/Marketplace/32.9c83cc1dfc19e37d.js +1 -0
- package/Marketplace/360.4fa1f449dc516500.js +1 -0
- package/Marketplace/369.9e98af5ff042d408.js +1 -0
- package/Marketplace/397.017f0dd05d9d37c5.js +1 -0
- package/Marketplace/3rdpartylicenses.txt +568 -0
- package/Marketplace/455.fc7663306b753727.js +1 -0
- package/Marketplace/463.7140b32660c473a4.js +1 -0
- package/Marketplace/512.96a1a3c8c51a8727.js +1 -0
- package/Marketplace/516.f335756d88de781a.js +1 -0
- package/Marketplace/585.9e916b668a91cc94.js +1 -0
- package/Marketplace/6.fc79ecc0c0a33462.js +1 -0
- package/Marketplace/616.fb179a9605c3e98c.js +1 -0
- package/Marketplace/716.65e3e9a36c3e8be6.js +1 -0
- package/Marketplace/717.ea775a267d795788.js +1 -0
- package/Marketplace/739.82b92600f9519019.js +1 -0
- package/Marketplace/785.e0040d021febffb1.js +1 -0
- package/Marketplace/796.d34bd45b5a924fca.js +1 -0
- package/Marketplace/832.6082371d3ebb95a0.js +1 -0
- package/Marketplace/874.472e0cd7c75127ca.js +1 -0
- package/Marketplace/common.3f5874655db24424.js +1 -0
- package/Marketplace/index.html +22 -23
- package/Marketplace/main.5d7fbf88ea2e3736.js +1 -0
- package/Marketplace/polyfills.8d85b0533e3f867a.js +1 -0
- package/Marketplace/runtime.7fbde9d6c7315628.js +1 -0
- package/Marketplace/scripts.09af772bfa77d50d.js +1 -0
- package/Marketplace/styles.dff58ae3c0783953.css +20 -0
- package/package.json +1 -1
- package/Marketplace/common.js +0 -238
- package/Marketplace/common.js.map +0 -1
- package/Marketplace/default-node_modules_angular_forms_fesm2020_forms_mjs.js +0 -9551
- package/Marketplace/default-node_modules_angular_forms_fesm2020_forms_mjs.js.map +0 -1
- package/Marketplace/default-node_modules_angular_material_fesm2020_paginator_mjs.js +0 -797
- package/Marketplace/default-node_modules_angular_material_fesm2020_paginator_mjs.js.map +0 -1
- package/Marketplace/default-node_modules_angular_material_fesm2020_slide-toggle_mjs.js +0 -669
- package/Marketplace/default-node_modules_angular_material_fesm2020_slide-toggle_mjs.js.map +0 -1
- package/Marketplace/default-node_modules_ng-select_ng-select_fesm2020_ng-select-ng-select_mjs.js +0 -4632
- package/Marketplace/default-node_modules_ng-select_ng-select_fesm2020_ng-select-ng-select_mjs.js.map +0 -1
- package/Marketplace/default-src_app_menu_nav-tab_nav-tab_component_ts-node_modules_angular_material_fesm2020_date-e7a231.js +0 -6841
- package/Marketplace/default-src_app_menu_nav-tab_nav-tab_component_ts-node_modules_angular_material_fesm2020_date-e7a231.js.map +0 -1
- package/Marketplace/default-src_app_menu_nav-tab_nav-tab_component_ts-src_app_services_biggerPicture_service_ts-s-b16afe.js +0 -3316
- package/Marketplace/default-src_app_menu_nav-tab_nav-tab_component_ts-src_app_services_biggerPicture_service_ts-s-b16afe.js.map +0 -1
- package/Marketplace/default-src_app_model_enums_FilterType_enum_ts-src_app_sharing-module_table_table_component_ts.js +0 -6219
- package/Marketplace/default-src_app_model_enums_FilterType_enum_ts-src_app_sharing-module_table_table_component_ts.js.map +0 -1
- package/Marketplace/default-src_app_sharing-module_datepicker_datepicker_component_ts.js +0 -19965
- package/Marketplace/default-src_app_sharing-module_datepicker_datepicker_component_ts.js.map +0 -1
- package/Marketplace/main.js +0 -622
- package/Marketplace/main.js.map +0 -1
- package/Marketplace/polyfills.js +0 -3398
- package/Marketplace/polyfills.js.map +0 -1
- package/Marketplace/runtime.js +0 -346
- package/Marketplace/runtime.js.map +0 -1
- package/Marketplace/scripts.js +0 -9
- package/Marketplace/scripts.js.map +0 -1
- package/Marketplace/src_app_login_login_module_ts.js +0 -651
- package/Marketplace/src_app_login_login_module_ts.js.map +0 -1
- package/Marketplace/src_app_menu_ReportOrder_order_order_module_ts.js +0 -872
- package/Marketplace/src_app_menu_ReportOrder_order_order_module_ts.js.map +0 -1
- package/Marketplace/src_app_menu_ReportOrder_product-statistic_product-statistic_module_ts.js +0 -422
- package/Marketplace/src_app_menu_ReportOrder_product-statistic_product-statistic_module_ts.js.map +0 -1
- package/Marketplace/src_app_menu_ReportOrder_report_module_ts.js +0 -283
- package/Marketplace/src_app_menu_ReportOrder_report_module_ts.js.map +0 -1
- package/Marketplace/src_app_menu_channels_channels_module_ts.js +0 -9605
- package/Marketplace/src_app_menu_channels_channels_module_ts.js.map +0 -1
- package/Marketplace/src_app_menu_inventory_inventory_module_ts.js +0 -1547
- package/Marketplace/src_app_menu_inventory_inventory_module_ts.js.map +0 -1
- package/Marketplace/src_app_menu_logistic_logistic_module_ts.js +0 -245
- package/Marketplace/src_app_menu_logistic_logistic_module_ts.js.map +0 -1
- package/Marketplace/src_app_menu_menu_module_ts.js +0 -40326
- package/Marketplace/src_app_menu_menu_module_ts.js.map +0 -1
- package/Marketplace/src_app_menu_notification_notification_module_ts.js +0 -285
- package/Marketplace/src_app_menu_notification_notification_module_ts.js.map +0 -1
- package/Marketplace/src_app_menu_object-log_logs_module_ts.js +0 -1817
- package/Marketplace/src_app_menu_object-log_logs_module_ts.js.map +0 -1
- package/Marketplace/src_app_menu_orders_orders_module_ts.js +0 -4867
- package/Marketplace/src_app_menu_orders_orders_module_ts.js.map +0 -1
- package/Marketplace/src_app_menu_price_price_module_ts.js +0 -1885
- package/Marketplace/src_app_menu_price_price_module_ts.js.map +0 -1
- package/Marketplace/src_app_menu_products_product_module_ts.js +0 -2692
- package/Marketplace/src_app_menu_products_product_module_ts.js.map +0 -1
- package/Marketplace/styles.css +0 -16565
- package/Marketplace/styles.css.map +0 -1
- package/Marketplace/vendor.js +0 -71624
- package/Marketplace/vendor.js.map +0 -1
|
@@ -1,1547 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
(self["webpackChunkpos_marketplace"] = self["webpackChunkpos_marketplace"] || []).push([["src_app_menu_inventory_inventory_module_ts"],{
|
|
3
|
-
|
|
4
|
-
/***/ 9902:
|
|
5
|
-
/*!************************************************************!*\
|
|
6
|
-
!*** ./src/app/menu/inventory/inventory-routing.module.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 */ "InventoryRoutingModule": () => (/* binding */ InventoryRoutingModule)
|
|
13
|
-
/* harmony export */ });
|
|
14
|
-
/* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @angular/common */ 4666);
|
|
15
|
-
/* harmony import */ var _inventory_component__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./inventory.component */ 9306);
|
|
16
|
-
/* harmony import */ var _angular_router__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @angular/router */ 124);
|
|
17
|
-
/* harmony import */ var _multi_channel_comparison_multi_channel_comparison_component__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./multi-channel-comparison/multi-channel-comparison.component */ 5802);
|
|
18
|
-
/* harmony import */ var _single_channel_comparison_single_channel_comparison_component__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./single-channel-comparison/single-channel-comparison.component */ 8759);
|
|
19
|
-
/* harmony import */ var src_app_services_auth_guard__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! src/app/services/auth.guard */ 8063);
|
|
20
|
-
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @angular/core */ 2560);
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
const routes = [
|
|
30
|
-
{
|
|
31
|
-
path: "",
|
|
32
|
-
component: _inventory_component__WEBPACK_IMPORTED_MODULE_0__.InventoryComponent,
|
|
33
|
-
children: [
|
|
34
|
-
{
|
|
35
|
-
path: "",
|
|
36
|
-
redirectTo: "bychannel",
|
|
37
|
-
pathMatch: "full",
|
|
38
|
-
},
|
|
39
|
-
{
|
|
40
|
-
path: "pos",
|
|
41
|
-
component: _multi_channel_comparison_multi_channel_comparison_component__WEBPACK_IMPORTED_MODULE_1__.MultiChannelComparison,
|
|
42
|
-
canActivate: [src_app_services_auth_guard__WEBPACK_IMPORTED_MODULE_3__.AuthGuard],
|
|
43
|
-
data: { title: "Inventory Comparison" },
|
|
44
|
-
},
|
|
45
|
-
{
|
|
46
|
-
path: "bychannel",
|
|
47
|
-
component: _single_channel_comparison_single_channel_comparison_component__WEBPACK_IMPORTED_MODULE_2__.SingleChannelComparisonComponent,
|
|
48
|
-
canActivate: [src_app_services_auth_guard__WEBPACK_IMPORTED_MODULE_3__.AuthGuard],
|
|
49
|
-
data: { title: "Inventory Comparison" },
|
|
50
|
-
},
|
|
51
|
-
],
|
|
52
|
-
},
|
|
53
|
-
];
|
|
54
|
-
class InventoryRoutingModule {
|
|
55
|
-
}
|
|
56
|
-
InventoryRoutingModule.ɵfac = function InventoryRoutingModule_Factory(t) { return new (t || InventoryRoutingModule)(); };
|
|
57
|
-
InventoryRoutingModule.ɵmod = /*@__PURE__*/ _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵdefineNgModule"]({ type: InventoryRoutingModule });
|
|
58
|
-
InventoryRoutingModule.ɵinj = /*@__PURE__*/ _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵdefineInjector"]({ imports: [_angular_common__WEBPACK_IMPORTED_MODULE_5__.CommonModule,
|
|
59
|
-
_angular_router__WEBPACK_IMPORTED_MODULE_6__.RouterModule.forChild(routes)] });
|
|
60
|
-
(function () { (typeof ngJitMode === "undefined" || ngJitMode) && _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵsetNgModuleScope"](InventoryRoutingModule, { imports: [_angular_common__WEBPACK_IMPORTED_MODULE_5__.CommonModule, _angular_router__WEBPACK_IMPORTED_MODULE_6__.RouterModule] }); })();
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
/***/ }),
|
|
64
|
-
|
|
65
|
-
/***/ 9306:
|
|
66
|
-
/*!*******************************************************!*\
|
|
67
|
-
!*** ./src/app/menu/inventory/inventory.component.ts ***!
|
|
68
|
-
\*******************************************************/
|
|
69
|
-
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
70
|
-
|
|
71
|
-
__webpack_require__.r(__webpack_exports__);
|
|
72
|
-
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
73
|
-
/* harmony export */ "InventoryComponent": () => (/* binding */ InventoryComponent)
|
|
74
|
-
/* harmony export */ });
|
|
75
|
-
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/core */ 2560);
|
|
76
|
-
/* harmony import */ var _angular_router__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @angular/router */ 124);
|
|
77
|
-
/* harmony import */ var _nav_tab_nav_tab_component__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../nav-tab/nav-tab.component */ 7398);
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
class InventoryComponent {
|
|
82
|
-
constructor() {
|
|
83
|
-
this.inventoryTabs = [
|
|
84
|
-
{ Title: 'Single Channel Comparison', Url: '/menu/inventory/bychannel' },
|
|
85
|
-
{ Title: 'Multi Channel Comparison', Url: '/menu/inventory/pos' }
|
|
86
|
-
];
|
|
87
|
-
}
|
|
88
|
-
}
|
|
89
|
-
InventoryComponent.ɵfac = function InventoryComponent_Factory(t) { return new (t || InventoryComponent)(); };
|
|
90
|
-
InventoryComponent.ɵcmp = /*@__PURE__*/ _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdefineComponent"]({ type: InventoryComponent, selectors: [["app-inventory"]], decls: 5, vars: 1, consts: [[1, "navbar", "page-nav", "navbar-default", "py-0", "navbar-expand-lg"], [1, "container-fluid"], [3, "Tabs"]], template: function InventoryComponent_Template(rf, ctx) { if (rf & 1) {
|
|
91
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "nav", 0)(1, "div", 1)(2, "div");
|
|
92
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](3, "nav-tab", 2);
|
|
93
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]()()();
|
|
94
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](4, "router-outlet");
|
|
95
|
-
} if (rf & 2) {
|
|
96
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](3);
|
|
97
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("Tabs", ctx.inventoryTabs);
|
|
98
|
-
} }, dependencies: [_angular_router__WEBPACK_IMPORTED_MODULE_2__.RouterOutlet, _nav_tab_nav_tab_component__WEBPACK_IMPORTED_MODULE_0__.NavTabComponent], styles: ["\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsImZpbGUiOiJpbnZlbnRvcnkuY29tcG9uZW50LnNjc3MifQ== */"] });
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
/***/ }),
|
|
102
|
-
|
|
103
|
-
/***/ 4077:
|
|
104
|
-
/*!****************************************************!*\
|
|
105
|
-
!*** ./src/app/menu/inventory/inventory.module.ts ***!
|
|
106
|
-
\****************************************************/
|
|
107
|
-
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
108
|
-
|
|
109
|
-
__webpack_require__.r(__webpack_exports__);
|
|
110
|
-
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
111
|
-
/* harmony export */ "InventoryModule": () => (/* binding */ InventoryModule)
|
|
112
|
-
/* harmony export */ });
|
|
113
|
-
/* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @angular/common */ 4666);
|
|
114
|
-
/* harmony import */ var _inventory_component__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./inventory.component */ 9306);
|
|
115
|
-
/* harmony import */ var _inventory_routing_module__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./inventory-routing.module */ 9902);
|
|
116
|
-
/* harmony import */ var _single_channel_comparison_single_channel_comparison_component__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./single-channel-comparison/single-channel-comparison.component */ 8759);
|
|
117
|
-
/* harmony import */ var _multi_channel_comparison_multi_channel_comparison_component__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./multi-channel-comparison/multi-channel-comparison.component */ 5802);
|
|
118
|
-
/* harmony import */ var _angular_router__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @angular/router */ 124);
|
|
119
|
-
/* harmony import */ var _nav_tab_nav_tab_component__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../nav-tab/nav-tab.component */ 7398);
|
|
120
|
-
/* harmony import */ var _angular_forms__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! @angular/forms */ 2508);
|
|
121
|
-
/* harmony import */ var _ng_select_ng_select__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! @ng-select/ng-select */ 3054);
|
|
122
|
-
/* harmony import */ var _angular_material_slide_toggle__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! @angular/material/slide-toggle */ 4714);
|
|
123
|
-
/* harmony import */ var _main_panel_main_panel_component__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../main-panel/main-panel.component */ 7481);
|
|
124
|
-
/* harmony import */ var src_app_sharing_module_table_table_component__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! src/app/sharing-module/table/table.component */ 6114);
|
|
125
|
-
/* harmony import */ var _angular_material_tooltip__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! @angular/material/tooltip */ 6896);
|
|
126
|
-
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @angular/core */ 2560);
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
class InventoryModule {
|
|
142
|
-
}
|
|
143
|
-
InventoryModule.ɵfac = function InventoryModule_Factory(t) { return new (t || InventoryModule)(); };
|
|
144
|
-
InventoryModule.ɵmod = /*@__PURE__*/ _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵdefineNgModule"]({ type: InventoryModule });
|
|
145
|
-
InventoryModule.ɵinj = /*@__PURE__*/ _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵdefineInjector"]({ imports: [_angular_common__WEBPACK_IMPORTED_MODULE_8__.CommonModule,
|
|
146
|
-
_inventory_routing_module__WEBPACK_IMPORTED_MODULE_1__.InventoryRoutingModule,
|
|
147
|
-
_angular_router__WEBPACK_IMPORTED_MODULE_9__.RouterModule,
|
|
148
|
-
_nav_tab_nav_tab_component__WEBPACK_IMPORTED_MODULE_4__.NavTabModule,
|
|
149
|
-
_angular_forms__WEBPACK_IMPORTED_MODULE_10__.FormsModule,
|
|
150
|
-
_ng_select_ng_select__WEBPACK_IMPORTED_MODULE_11__.NgSelectModule,
|
|
151
|
-
_angular_material_slide_toggle__WEBPACK_IMPORTED_MODULE_12__.MatSlideToggleModule,
|
|
152
|
-
_main_panel_main_panel_component__WEBPACK_IMPORTED_MODULE_5__.MainPanelModule,
|
|
153
|
-
src_app_sharing_module_table_table_component__WEBPACK_IMPORTED_MODULE_6__.TableModule,
|
|
154
|
-
_angular_material_tooltip__WEBPACK_IMPORTED_MODULE_13__.MatTooltipModule] });
|
|
155
|
-
(function () { (typeof ngJitMode === "undefined" || ngJitMode) && _angular_core__WEBPACK_IMPORTED_MODULE_7__["ɵɵsetNgModuleScope"](InventoryModule, { declarations: [_inventory_component__WEBPACK_IMPORTED_MODULE_0__.InventoryComponent,
|
|
156
|
-
_single_channel_comparison_single_channel_comparison_component__WEBPACK_IMPORTED_MODULE_2__.SingleChannelComparisonComponent,
|
|
157
|
-
_multi_channel_comparison_multi_channel_comparison_component__WEBPACK_IMPORTED_MODULE_3__.MultiChannelComparison], imports: [_angular_common__WEBPACK_IMPORTED_MODULE_8__.CommonModule,
|
|
158
|
-
_inventory_routing_module__WEBPACK_IMPORTED_MODULE_1__.InventoryRoutingModule,
|
|
159
|
-
_angular_router__WEBPACK_IMPORTED_MODULE_9__.RouterModule,
|
|
160
|
-
_nav_tab_nav_tab_component__WEBPACK_IMPORTED_MODULE_4__.NavTabModule,
|
|
161
|
-
_angular_forms__WEBPACK_IMPORTED_MODULE_10__.FormsModule,
|
|
162
|
-
_ng_select_ng_select__WEBPACK_IMPORTED_MODULE_11__.NgSelectModule,
|
|
163
|
-
_angular_material_slide_toggle__WEBPACK_IMPORTED_MODULE_12__.MatSlideToggleModule,
|
|
164
|
-
_main_panel_main_panel_component__WEBPACK_IMPORTED_MODULE_5__.MainPanelModule,
|
|
165
|
-
src_app_sharing_module_table_table_component__WEBPACK_IMPORTED_MODULE_6__.TableModule,
|
|
166
|
-
_angular_material_tooltip__WEBPACK_IMPORTED_MODULE_13__.MatTooltipModule] }); })();
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
/***/ }),
|
|
170
|
-
|
|
171
|
-
/***/ 5802:
|
|
172
|
-
/*!***********************************************************************************************!*\
|
|
173
|
-
!*** ./src/app/menu/inventory/multi-channel-comparison/multi-channel-comparison.component.ts ***!
|
|
174
|
-
\***********************************************************************************************/
|
|
175
|
-
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
176
|
-
|
|
177
|
-
__webpack_require__.r(__webpack_exports__);
|
|
178
|
-
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
179
|
-
/* harmony export */ "MultiChannelComparison": () => (/* binding */ MultiChannelComparison)
|
|
180
|
-
/* harmony export */ });
|
|
181
|
-
/* harmony import */ var _modals_scan_dialog_scan_dialog_component__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../modals/scan-dialog/scan-dialog.component */ 8231);
|
|
182
|
-
/* harmony import */ var _modals_modal_update_channels_modal_update_channels_component__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../modals/modal-update-channels/modal-update-channels.component */ 6304);
|
|
183
|
-
/* harmony import */ var rxjs__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! rxjs */ 9337);
|
|
184
|
-
/* harmony import */ var rxjs__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! rxjs */ 116);
|
|
185
|
-
/* harmony import */ var src_app_model_Constants__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! src/app/model/Constants */ 1889);
|
|
186
|
-
/* harmony import */ var src_app_model_enums_FilterType_enum__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! src/app/model/enums/FilterType.enum */ 8705);
|
|
187
|
-
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @angular/core */ 2560);
|
|
188
|
-
/* harmony import */ var _services_http_service__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../../services/http.service */ 6858);
|
|
189
|
-
/* harmony import */ var ngx_toastr__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ngx-toastr */ 4817);
|
|
190
|
-
/* harmony import */ var _angular_material_dialog__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! @angular/material/dialog */ 1484);
|
|
191
|
-
/* harmony import */ var src_app_services_infinite_pagination_infinite_pagination_service__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! src/app/services/infinite-pagination/infinite-pagination.service */ 4660);
|
|
192
|
-
/* harmony import */ var src_app_services_product_service__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! src/app/services/product.service */ 6082);
|
|
193
|
-
/* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! @angular/common */ 4666);
|
|
194
|
-
/* harmony import */ var _main_panel_main_panel_component__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../../main-panel/main-panel.component */ 7481);
|
|
195
|
-
/* harmony import */ var _sharing_module_table_table_component__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../../../sharing-module/table/table.component */ 6114);
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
function MultiChannelComparison_mainpanel_0_actions_1_button_3_Template(rf, ctx) {
|
|
212
|
-
if (rf & 1) {
|
|
213
|
-
const _r12 = _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵgetCurrentView"]();
|
|
214
|
-
|
|
215
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementStart"](0, "button", 17);
|
|
216
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵlistener"]("click", function MultiChannelComparison_mainpanel_0_actions_1_button_3_Template_button_click_0_listener() {
|
|
217
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵrestoreView"](_r12);
|
|
218
|
-
const ctx_r11 = _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵnextContext"](3);
|
|
219
|
-
return _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵresetView"](ctx_r11.openScanDialog());
|
|
220
|
-
});
|
|
221
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelement"](1, "i", 18);
|
|
222
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtext"](2, " Scan Channel ");
|
|
223
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementEnd"]();
|
|
224
|
-
}
|
|
225
|
-
}
|
|
226
|
-
|
|
227
|
-
function MultiChannelComparison_mainpanel_0_actions_1_button_4_Template(rf, ctx) {
|
|
228
|
-
if (rf & 1) {
|
|
229
|
-
const _r15 = _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵgetCurrentView"]();
|
|
230
|
-
|
|
231
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementStart"](0, "button", 19);
|
|
232
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵlistener"]("click", function MultiChannelComparison_mainpanel_0_actions_1_button_4_Template_button_click_0_listener() {
|
|
233
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵrestoreView"](_r15);
|
|
234
|
-
const data_r8 = _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵnextContext"]().ngIf;
|
|
235
|
-
const ctx_r13 = _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵnextContext"](2);
|
|
236
|
-
return _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵresetView"](ctx_r13.onUpdateItems(data_r8));
|
|
237
|
-
});
|
|
238
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelement"](1, "i", 20);
|
|
239
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtext"](2, " Update ");
|
|
240
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementEnd"]();
|
|
241
|
-
}
|
|
242
|
-
}
|
|
243
|
-
|
|
244
|
-
function MultiChannelComparison_mainpanel_0_actions_1_Template(rf, ctx) {
|
|
245
|
-
if (rf & 1) {
|
|
246
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementStart"](0, "actions")(1, "div", 14)(2, "div");
|
|
247
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtemplate"](3, MultiChannelComparison_mainpanel_0_actions_1_button_3_Template, 3, 0, "button", 15);
|
|
248
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtemplate"](4, MultiChannelComparison_mainpanel_0_actions_1_button_4_Template, 3, 0, "button", 16);
|
|
249
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementEnd"]()()();
|
|
250
|
-
}
|
|
251
|
-
|
|
252
|
-
if (rf & 2) {
|
|
253
|
-
const data_r8 = ctx.ngIf;
|
|
254
|
-
const ctx_r2 = _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵnextContext"](2);
|
|
255
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵadvance"](3);
|
|
256
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵproperty"]("ngIf", !ctx_r2.productService.hasSelectionVariant(data_r8));
|
|
257
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵadvance"](1);
|
|
258
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵproperty"]("ngIf", ctx_r2.productService.hasSelectionVariant(data_r8));
|
|
259
|
-
}
|
|
260
|
-
}
|
|
261
|
-
|
|
262
|
-
function MultiChannelComparison_mainpanel_0_app_table_7_Template(rf, ctx) {
|
|
263
|
-
if (rf & 1) {
|
|
264
|
-
const _r18 = _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵgetCurrentView"]();
|
|
265
|
-
|
|
266
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementStart"](0, "app-table", 21);
|
|
267
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵlistener"]("onToggle", function MultiChannelComparison_mainpanel_0_app_table_7_Template_app_table_onToggle_0_listener($event) {
|
|
268
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵrestoreView"](_r18);
|
|
269
|
-
const ctx_r17 = _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵnextContext"](2);
|
|
270
|
-
return _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵresetView"](ctx_r17.onShowDifferenceStock($event));
|
|
271
|
-
})("onSubmit", function MultiChannelComparison_mainpanel_0_app_table_7_Template_app_table_onSubmit_0_listener($event) {
|
|
272
|
-
const restoredCtx = _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵrestoreView"](_r18);
|
|
273
|
-
const data_r16 = restoredCtx.ngIf;
|
|
274
|
-
const ctx_r19 = _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵnextContext"](2);
|
|
275
|
-
return _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵresetView"](ctx_r19.updateStockByVariant($event, data_r16));
|
|
276
|
-
});
|
|
277
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementEnd"]();
|
|
278
|
-
}
|
|
279
|
-
|
|
280
|
-
if (rf & 2) {
|
|
281
|
-
const data_r16 = ctx.ngIf;
|
|
282
|
-
const ctx_r3 = _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵnextContext"](2);
|
|
283
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵproperty"]("data", data_r16)("channel", ctx_r3.channelOptions)("showProductToggle", true)("filter", ctx_r3.searchFilter);
|
|
284
|
-
}
|
|
285
|
-
}
|
|
286
|
-
|
|
287
|
-
function MultiChannelComparison_mainpanel_0_span_16_Template(rf, ctx) {
|
|
288
|
-
if (rf & 1) {
|
|
289
|
-
const _r21 = _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵgetCurrentView"]();
|
|
290
|
-
|
|
291
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementStart"](0, "span", 22);
|
|
292
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵlistener"]("click", function MultiChannelComparison_mainpanel_0_span_16_Template_span_click_0_listener() {
|
|
293
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵrestoreView"](_r21);
|
|
294
|
-
const ctx_r20 = _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵnextContext"](2);
|
|
295
|
-
return _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵresetView"](ctx_r20.getRowCount());
|
|
296
|
-
});
|
|
297
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementStart"](1, "i", 23);
|
|
298
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtext"](2, "?");
|
|
299
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementEnd"]()();
|
|
300
|
-
}
|
|
301
|
-
}
|
|
302
|
-
|
|
303
|
-
function MultiChannelComparison_mainpanel_0_span_17_Template(rf, ctx) {
|
|
304
|
-
if (rf & 1) {
|
|
305
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementStart"](0, "span");
|
|
306
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtext"](1);
|
|
307
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵpipe"](2, "number");
|
|
308
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementEnd"]();
|
|
309
|
-
}
|
|
310
|
-
|
|
311
|
-
if (rf & 2) {
|
|
312
|
-
const allDataCount_r22 = ctx.ngIf;
|
|
313
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵadvance"](1);
|
|
314
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtextInterpolate"](_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵpipeBind1"](2, 1, allDataCount_r22));
|
|
315
|
-
}
|
|
316
|
-
}
|
|
317
|
-
|
|
318
|
-
function MultiChannelComparison_mainpanel_0_a_21_Template(rf, ctx) {
|
|
319
|
-
if (rf & 1) {
|
|
320
|
-
const _r24 = _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵgetCurrentView"]();
|
|
321
|
-
|
|
322
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementStart"](0, "a", 24);
|
|
323
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵlistener"]("click", function MultiChannelComparison_mainpanel_0_a_21_Template_a_click_0_listener() {
|
|
324
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵrestoreView"](_r24);
|
|
325
|
-
const ctx_r23 = _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵnextContext"](2);
|
|
326
|
-
return _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵresetView"](ctx_r23.nextPage());
|
|
327
|
-
});
|
|
328
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelement"](1, "i", 25);
|
|
329
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtext"](2, " Next");
|
|
330
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementEnd"]();
|
|
331
|
-
}
|
|
332
|
-
}
|
|
333
|
-
|
|
334
|
-
function MultiChannelComparison_mainpanel_0_a_22_Template(rf, ctx) {
|
|
335
|
-
if (rf & 1) {
|
|
336
|
-
const _r26 = _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵgetCurrentView"]();
|
|
337
|
-
|
|
338
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementStart"](0, "a", 26);
|
|
339
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵlistener"]("click", function MultiChannelComparison_mainpanel_0_a_22_Template_a_click_0_listener() {
|
|
340
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵrestoreView"](_r26);
|
|
341
|
-
const ctx_r25 = _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵnextContext"](2);
|
|
342
|
-
return _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵresetView"](ctx_r25.getAllData());
|
|
343
|
-
});
|
|
344
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelement"](1, "i", 27);
|
|
345
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtext"](2, " Last");
|
|
346
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementEnd"]();
|
|
347
|
-
}
|
|
348
|
-
}
|
|
349
|
-
|
|
350
|
-
function MultiChannelComparison_mainpanel_0_Template(rf, ctx) {
|
|
351
|
-
if (rf & 1) {
|
|
352
|
-
const _r28 = _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵgetCurrentView"]();
|
|
353
|
-
|
|
354
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementStart"](0, "mainpanel", 1);
|
|
355
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵlistener"]("onSubmit", function MultiChannelComparison_mainpanel_0_Template_mainpanel_onSubmit_0_listener($event) {
|
|
356
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵrestoreView"](_r28);
|
|
357
|
-
const ctx_r27 = _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵnextContext"]();
|
|
358
|
-
return _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵresetView"](ctx_r27.onSearch($event));
|
|
359
|
-
});
|
|
360
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtemplate"](1, MultiChannelComparison_mainpanel_0_actions_1_Template, 5, 2, "actions", 2);
|
|
361
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵpipe"](2, "async");
|
|
362
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementStart"](3, "content")(4, "div", 3)(5, "div", 4)(6, "div", 5);
|
|
363
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtemplate"](7, MultiChannelComparison_mainpanel_0_app_table_7_Template, 1, 4, "app-table", 6);
|
|
364
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵpipe"](8, "async");
|
|
365
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementContainerStart"](9);
|
|
366
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementStart"](10, "div", 7)(11, "div", 8)(12, "div", 9);
|
|
367
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtext"](13);
|
|
368
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵpipe"](14, "number");
|
|
369
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵpipe"](15, "async");
|
|
370
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtemplate"](16, MultiChannelComparison_mainpanel_0_span_16_Template, 3, 0, "span", 10);
|
|
371
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtemplate"](17, MultiChannelComparison_mainpanel_0_span_17_Template, 3, 3, "span", 2);
|
|
372
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵpipe"](18, "async");
|
|
373
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtext"](19);
|
|
374
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementEnd"]()();
|
|
375
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementStart"](20, "div", 11);
|
|
376
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtemplate"](21, MultiChannelComparison_mainpanel_0_a_21_Template, 3, 0, "a", 12);
|
|
377
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtemplate"](22, MultiChannelComparison_mainpanel_0_a_22_Template, 3, 0, "a", 13);
|
|
378
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementEnd"]()();
|
|
379
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementContainerEnd"]();
|
|
380
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementEnd"]()()()()();
|
|
381
|
-
}
|
|
382
|
-
|
|
383
|
-
if (rf & 2) {
|
|
384
|
-
const ctx_r0 = _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵnextContext"]();
|
|
385
|
-
let tmp_6_0;
|
|
386
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵproperty"]("pageData", ctx_r0.pageData)("hideSearchBox", false)("hideSearchDropdown", true)("textButton", "Search");
|
|
387
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵadvance"](1);
|
|
388
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵproperty"]("ngIf", _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵpipeBind1"](2, 12, ctx_r0.paginationService.data$));
|
|
389
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵadvance"](6);
|
|
390
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵproperty"]("ngIf", _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵpipeBind1"](8, 14, ctx_r0.paginationService.data$));
|
|
391
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵadvance"](6);
|
|
392
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtextInterpolate1"](" Showing 1 - ", _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵpipeBind1"](14, 16, (tmp_6_0 = _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵpipeBind1"](15, 18, ctx_r0.paginationService.data$)) == null ? null : tmp_6_0.length), " of ");
|
|
393
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵadvance"](3);
|
|
394
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵproperty"]("ngIf", ctx_r0.paginationService.hideCount);
|
|
395
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵadvance"](1);
|
|
396
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵproperty"]("ngIf", _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵpipeBind1"](18, 20, !ctx_r0.paginationService.hideCount && ctx_r0.allDataCount$));
|
|
397
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵadvance"](2);
|
|
398
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtextInterpolate1"](" records ~ ", ctx_r0.paginationService.footerPageNumber, " Page ");
|
|
399
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵadvance"](2);
|
|
400
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵproperty"]("ngIf", ctx_r0.paginationService.disableNextButton && !ctx_r0.paginationService.goToLastPage);
|
|
401
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵadvance"](1);
|
|
402
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵproperty"]("ngIf", ctx_r0.paginationService.disableNextButton && !ctx_r0.paginationService.goToLastPage);
|
|
403
|
-
}
|
|
404
|
-
}
|
|
405
|
-
|
|
406
|
-
class MultiChannelComparison {
|
|
407
|
-
constructor(http, toastr, dialog, paginationService, productService) {
|
|
408
|
-
this.http = http;
|
|
409
|
-
this.toastr = toastr;
|
|
410
|
-
this.dialog = dialog;
|
|
411
|
-
this.paginationService = paginationService;
|
|
412
|
-
this.productService = productService;
|
|
413
|
-
this.loaderEndpoint = "InventoryLoader/GetMultipleInventoryComparison";
|
|
414
|
-
this.dataEndpoint = "Inventory/GetMultipleChannelComparison";
|
|
415
|
-
this.allDataCountEndpoint = "Inventory/GetMultipleChannelComparisonRowCount";
|
|
416
|
-
this.filterTypeOptions = [{
|
|
417
|
-
Key: 1,
|
|
418
|
-
Value: "All"
|
|
419
|
-
}, {
|
|
420
|
-
Key: 3,
|
|
421
|
-
Value: "Difference"
|
|
422
|
-
}];
|
|
423
|
-
this.pageData = {
|
|
424
|
-
Title: "Inventory",
|
|
425
|
-
Nav: [{
|
|
426
|
-
Title: "Inventory Cache",
|
|
427
|
-
Url: "/menu/inventory/pos",
|
|
428
|
-
Active: true
|
|
429
|
-
}, {
|
|
430
|
-
Title: "Inventory Realtime",
|
|
431
|
-
Url: "/menu/inventory/realtime",
|
|
432
|
-
Active: false
|
|
433
|
-
}]
|
|
434
|
-
};
|
|
435
|
-
}
|
|
436
|
-
|
|
437
|
-
ngOnInit() {
|
|
438
|
-
this.initPageLoader();
|
|
439
|
-
}
|
|
440
|
-
|
|
441
|
-
initPageLoader() {
|
|
442
|
-
this.paginationService.fetchDataEndpoint = this.dataEndpoint;
|
|
443
|
-
this.loader$ = this.http.post(`/API/${this.loaderEndpoint}`, {}).pipe((0,rxjs__WEBPACK_IMPORTED_MODULE_10__.tap)(loader => {
|
|
444
|
-
this.channelOptions = loader.Options.Channel;
|
|
445
|
-
loader.Filter = {
|
|
446
|
-
PageNumber: loader.Filter.PageNumber,
|
|
447
|
-
filterModel: src_app_model_enums_FilterType_enum__WEBPACK_IMPORTED_MODULE_3__.FilterType.ALL,
|
|
448
|
-
RowCount: loader.Filter.PageSize,
|
|
449
|
-
HiddenIPOSInventory: loader.Filter.HiddenIPOSInventory
|
|
450
|
-
};
|
|
451
|
-
this.searchFilter = loader.Filter;
|
|
452
|
-
this.paginationService.resetToFirstPage(this.searchFilter);
|
|
453
|
-
}));
|
|
454
|
-
}
|
|
455
|
-
|
|
456
|
-
onSearch(text) {
|
|
457
|
-
this.searchFilter.text = text;
|
|
458
|
-
this.paginationService.resetToFirstPage(this.searchFilter);
|
|
459
|
-
}
|
|
460
|
-
|
|
461
|
-
updateStock(products, channels) {
|
|
462
|
-
let listSelected = this.productService.selectedVariantProduct(products);
|
|
463
|
-
|
|
464
|
-
if (listSelected.length > 0) {
|
|
465
|
-
let request = listSelected.map(val => {
|
|
466
|
-
return {
|
|
467
|
-
ID: val.ID,
|
|
468
|
-
Code: val.Code,
|
|
469
|
-
Inventory: val.Inventory
|
|
470
|
-
};
|
|
471
|
-
});
|
|
472
|
-
var selectedID = channels.filter(channel => {
|
|
473
|
-
return channel["selected"];
|
|
474
|
-
}).map(channel => channel.ID);
|
|
475
|
-
let params = {
|
|
476
|
-
ListChannelID: selectedID,
|
|
477
|
-
List: request
|
|
478
|
-
};
|
|
479
|
-
this.http.post("/api/Inventory/UpdateChannel", params).subscribe(result => {
|
|
480
|
-
this.paginationService.resetToFirstPage(this.searchFilter);
|
|
481
|
-
this.toastr.success("Successfully updated " + params.List.length + " variants in " + params.ListChannelID.length + " channels", "Success");
|
|
482
|
-
});
|
|
483
|
-
}
|
|
484
|
-
}
|
|
485
|
-
/**
|
|
486
|
-
* Opens the scan dialog and pass the Channel list and the filter variable
|
|
487
|
-
* It will return the modified filter and will run the scan function that the user has selected (full or quick)
|
|
488
|
-
*/
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
openScanDialog() {
|
|
492
|
-
let dialogFilter = JSON.parse(JSON.stringify(this.searchFilter));
|
|
493
|
-
const dialogRef = this.dialog.open(_modals_scan_dialog_scan_dialog_component__WEBPACK_IMPORTED_MODULE_0__.ScanDialogComponent, {
|
|
494
|
-
data: {
|
|
495
|
-
filter: dialogFilter,
|
|
496
|
-
channelOptions: this.channelOptions
|
|
497
|
-
},
|
|
498
|
-
width: "40%"
|
|
499
|
-
});
|
|
500
|
-
dialogRef.afterClosed().pipe((0,rxjs__WEBPACK_IMPORTED_MODULE_11__.filter)(result => src_app_model_Constants__WEBPACK_IMPORTED_MODULE_2__.Constants.IsNotEmpty(result))).subscribe(result => {
|
|
501
|
-
this.searchFilter.ScanFull = result.ScanFull;
|
|
502
|
-
this.searchFilter.ChannelID = result.ChannelID;
|
|
503
|
-
this.searchFilter.UpdatedProduct = result.UpdatedProduct;
|
|
504
|
-
this.searchFilter.Async = result.Async;
|
|
505
|
-
this.scanAll();
|
|
506
|
-
});
|
|
507
|
-
}
|
|
508
|
-
|
|
509
|
-
scanAll() {
|
|
510
|
-
this.productService.scanAll(this.searchFilter.ChannelID, this.searchFilter.ScanFull, this.searchFilter.UpdatedProduct, this.searchFilter.Async).subscribe(result => {
|
|
511
|
-
if (this.searchFilter.Async) {
|
|
512
|
-
this.toastr.warning("You will be notified when the scan is completed.", "Scan In Progress", {
|
|
513
|
-
toastClass: 'ngx-toastr toast-waiting'
|
|
514
|
-
});
|
|
515
|
-
} else {
|
|
516
|
-
let channel = this.productService.findChannelById(this.searchFilter.ChannelID, this.channelOptions);
|
|
517
|
-
this.productService.successToastrScanAllProduct(result, channel, !this.searchFilter.UpdatedProduct); // init loader to get last sync date and get new data after scan
|
|
518
|
-
|
|
519
|
-
this.initPageLoader();
|
|
520
|
-
}
|
|
521
|
-
|
|
522
|
-
this.searchFilter.ChannelID = src_app_model_Constants__WEBPACK_IMPORTED_MODULE_2__.Constants.GuidEMpty;
|
|
523
|
-
});
|
|
524
|
-
}
|
|
525
|
-
|
|
526
|
-
updateStockByVariant(item, products) {
|
|
527
|
-
let params = {
|
|
528
|
-
ID: item.ChannelID,
|
|
529
|
-
ChannelItemID: item.ChannelItemID,
|
|
530
|
-
ChannelVariantID: item.ChannelVariationID,
|
|
531
|
-
NewQuantity: parseFloat(item.Inventory),
|
|
532
|
-
VariantID: item.ID,
|
|
533
|
-
SKU: item.Sku
|
|
534
|
-
};
|
|
535
|
-
this.http.post("/api/Inventory/UpdateQuantityByItem", params).subscribe(result => {
|
|
536
|
-
let channel = this.productService.findChannelById(params.ID, this.channelOptions);
|
|
537
|
-
this.toastr.success("Successfully updated " + item.ItemName + "(" + item.VarName + ") inventory in " + channel.Name + " to " + params.NewQuantity, "Success");
|
|
538
|
-
});
|
|
539
|
-
}
|
|
540
|
-
|
|
541
|
-
onShowDifferenceStock(event) {
|
|
542
|
-
if (event) {
|
|
543
|
-
this.searchFilter.filterModel = src_app_model_enums_FilterType_enum__WEBPACK_IMPORTED_MODULE_3__.FilterType.DIFFERENCE;
|
|
544
|
-
} else {
|
|
545
|
-
this.searchFilter.filterModel = src_app_model_enums_FilterType_enum__WEBPACK_IMPORTED_MODULE_3__.FilterType.ALL;
|
|
546
|
-
}
|
|
547
|
-
|
|
548
|
-
this.paginationService.resetToFirstPage(this.searchFilter);
|
|
549
|
-
}
|
|
550
|
-
|
|
551
|
-
onUpdateItems(products) {
|
|
552
|
-
const selectedItems = this.productService.selectedVariantProduct(products);
|
|
553
|
-
this.dialog.open(_modals_modal_update_channels_modal_update_channels_component__WEBPACK_IMPORTED_MODULE_1__.ModalUpdateChannelsComponent, {
|
|
554
|
-
data: {
|
|
555
|
-
selectedItems: selectedItems,
|
|
556
|
-
channels: JSON.parse(JSON.stringify(this.channelOptions))
|
|
557
|
-
},
|
|
558
|
-
width: "40%"
|
|
559
|
-
}).afterClosed().pipe((0,rxjs__WEBPACK_IMPORTED_MODULE_11__.filter)(result => src_app_model_Constants__WEBPACK_IMPORTED_MODULE_2__.Constants.IsNotEmpty(result))).subscribe(result => {
|
|
560
|
-
this.updateStock(products, result);
|
|
561
|
-
});
|
|
562
|
-
}
|
|
563
|
-
|
|
564
|
-
getRowCount() {
|
|
565
|
-
this.paginationService.hideCount = false;
|
|
566
|
-
const payload = {
|
|
567
|
-
text: this.searchFilter.text
|
|
568
|
-
};
|
|
569
|
-
this.allDataCount$ = this.http.post(`/API/${this.allDataCountEndpoint}`, payload);
|
|
570
|
-
}
|
|
571
|
-
|
|
572
|
-
nextPage() {
|
|
573
|
-
this.paginationService.onNextPage(this.searchFilter);
|
|
574
|
-
}
|
|
575
|
-
|
|
576
|
-
getAllData() {
|
|
577
|
-
this.http.post(`/API/${this.allDataCountEndpoint}`, {}).subscribe({
|
|
578
|
-
next: response => {
|
|
579
|
-
this.searchFilter.PageNumber = 1;
|
|
580
|
-
this.paginationService.getAllData(this.searchFilter, response);
|
|
581
|
-
}
|
|
582
|
-
});
|
|
583
|
-
}
|
|
584
|
-
|
|
585
|
-
ngOnDestroy() {
|
|
586
|
-
this.paginationService.destroy();
|
|
587
|
-
}
|
|
588
|
-
|
|
589
|
-
}
|
|
590
|
-
|
|
591
|
-
MultiChannelComparison.ɵfac = function MultiChannelComparison_Factory(t) {
|
|
592
|
-
return new (t || MultiChannelComparison)(_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵdirectiveInject"](_services_http_service__WEBPACK_IMPORTED_MODULE_4__.HttpService), _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵdirectiveInject"](ngx_toastr__WEBPACK_IMPORTED_MODULE_12__.ToastrService), _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵdirectiveInject"](_angular_material_dialog__WEBPACK_IMPORTED_MODULE_13__.MatDialog), _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵdirectiveInject"](src_app_services_infinite_pagination_infinite_pagination_service__WEBPACK_IMPORTED_MODULE_5__.InfinitePaginationService), _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵdirectiveInject"](src_app_services_product_service__WEBPACK_IMPORTED_MODULE_6__.ProductService));
|
|
593
|
-
};
|
|
594
|
-
|
|
595
|
-
MultiChannelComparison.ɵcmp = /*@__PURE__*/_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵdefineComponent"]({
|
|
596
|
-
type: MultiChannelComparison,
|
|
597
|
-
selectors: [["app-multi-channel-comparison"]],
|
|
598
|
-
decls: 2,
|
|
599
|
-
vars: 3,
|
|
600
|
-
consts: [["headerTitle", "Inventory Comparison", 3, "pageData", "hideSearchBox", "hideSearchDropdown", "textButton", "onSubmit", 4, "ngIf"], ["headerTitle", "Inventory Comparison", 3, "pageData", "hideSearchBox", "hideSearchDropdown", "textButton", "onSubmit"], [4, "ngIf"], [1, "container-fluid", "mt-3"], [1, "row"], [1, "col-md-12"], ["table", "inventory", 3, "data", "channel", "showProductToggle", "filter", "onToggle", "onSubmit", 4, "ngIf"], [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"], [1, "btn-group"], ["role", "button", "class", "btn btn-outline-secondary btn-sm text-primary", "title", "Load more for 20 products", 3, "click", 4, "ngIf"], ["role", "button", "class", "btn btn-outline-secondary btn-sm text-primary", "title", "Load all products", 3, "click", 4, "ngIf"], [1, "d-flex"], ["type", "button", "data-cy", "scanInPos", "class", "btn btn-outline-secondary shadow rounded me-3", 3, "click", 4, "ngIf"], ["type", "button", "class", "btn btn-success shadow-sm rounded me-3", 3, "click", 4, "ngIf"], ["type", "button", "data-cy", "scanInPos", 1, "btn", "btn-outline-secondary", "shadow", "rounded", "me-3", 3, "click"], [1, "fas", "fa-lg", "fa-crosshairs"], ["type", "button", 1, "btn", "btn-success", "shadow-sm", "rounded", "me-3", 3, "click"], [1, "fas", "fa-chevron-circle-up"], ["table", "inventory", 3, "data", "channel", "showProductToggle", "filter", "onToggle", "onSubmit"], [2, "cursor", "pointer", 3, "click"], ["title", "Retreive rows count", 1, "border", "p-3"], ["role", "button", "title", "Load more for 20 products", 1, "btn", "btn-outline-secondary", "btn-sm", "text-primary", 3, "click"], [1, "fas", "fa-arrow-right"], ["role", "button", "title", "Load all products", 1, "btn", "btn-outline-secondary", "btn-sm", "text-primary", 3, "click"], [1, "fas", "fa-share"]],
|
|
601
|
-
template: function MultiChannelComparison_Template(rf, ctx) {
|
|
602
|
-
if (rf & 1) {
|
|
603
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtemplate"](0, MultiChannelComparison_mainpanel_0_Template, 23, 22, "mainpanel", 0);
|
|
604
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵpipe"](1, "async");
|
|
605
|
-
}
|
|
606
|
-
|
|
607
|
-
if (rf & 2) {
|
|
608
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵproperty"]("ngIf", _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵpipeBind1"](1, 1, ctx.loader$));
|
|
609
|
-
}
|
|
610
|
-
},
|
|
611
|
-
dependencies: [_angular_common__WEBPACK_IMPORTED_MODULE_14__.NgIf, _main_panel_main_panel_component__WEBPACK_IMPORTED_MODULE_7__.MainPanelComponent, _sharing_module_table_table_component__WEBPACK_IMPORTED_MODULE_8__.TableComponent, _angular_common__WEBPACK_IMPORTED_MODULE_14__.AsyncPipe, _angular_common__WEBPACK_IMPORTED_MODULE_14__.DecimalPipe],
|
|
612
|
-
styles: [".no-bullet[_ngcontent-%COMP%] {\n list-style-type: none;\n}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIm11bHRpLWNoYW5uZWwtY29tcGFyaXNvbi5jb21wb25lbnQuc2NzcyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTtFQUNJLHFCQUFBO0FBQ0oiLCJmaWxlIjoibXVsdGktY2hhbm5lbC1jb21wYXJpc29uLmNvbXBvbmVudC5zY3NzIiwic291cmNlc0NvbnRlbnQiOlsiLm5vLWJ1bGxldHtcclxuICAgIGxpc3Qtc3R5bGUtdHlwZTpub25lO1xyXG59XHJcbiJdfQ== */"]
|
|
613
|
-
});
|
|
614
|
-
|
|
615
|
-
/***/ }),
|
|
616
|
-
|
|
617
|
-
/***/ 8759:
|
|
618
|
-
/*!*************************************************************************************************!*\
|
|
619
|
-
!*** ./src/app/menu/inventory/single-channel-comparison/single-channel-comparison.component.ts ***!
|
|
620
|
-
\*************************************************************************************************/
|
|
621
|
-
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
622
|
-
|
|
623
|
-
__webpack_require__.r(__webpack_exports__);
|
|
624
|
-
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
625
|
-
/* harmony export */ "SingleChannelComparisonComponent": () => (/* binding */ SingleChannelComparisonComponent)
|
|
626
|
-
/* harmony export */ });
|
|
627
|
-
/* harmony import */ var _modals_scan_dialog_scan_dialog_component__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../modals/scan-dialog/scan-dialog.component */ 8231);
|
|
628
|
-
/* harmony import */ var src_app_sharing_module_table_table_dialog_table_dialog_component__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! src/app/sharing-module/table/table-dialog/table-dialog.component */ 9411);
|
|
629
|
-
/* harmony import */ var rxjs__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! rxjs */ 9337);
|
|
630
|
-
/* harmony import */ var rxjs__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! rxjs */ 116);
|
|
631
|
-
/* harmony import */ var src_app_model_Constants__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! src/app/model/Constants */ 1889);
|
|
632
|
-
/* harmony import */ var src_app_model_enums_FilterType_enum__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! src/app/model/enums/FilterType.enum */ 8705);
|
|
633
|
-
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @angular/core */ 2560);
|
|
634
|
-
/* harmony import */ var _services_http_service__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../../services/http.service */ 6858);
|
|
635
|
-
/* harmony import */ var ngx_toastr__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ngx-toastr */ 4817);
|
|
636
|
-
/* harmony import */ var _angular_material_dialog__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! @angular/material/dialog */ 1484);
|
|
637
|
-
/* harmony import */ var src_app_services_infinite_pagination_infinite_pagination_service__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! src/app/services/infinite-pagination/infinite-pagination.service */ 4660);
|
|
638
|
-
/* harmony import */ var src_app_services_product_service__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! src/app/services/product.service */ 6082);
|
|
639
|
-
/* harmony import */ var src_app_services_biggerPicture_service__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! src/app/services/biggerPicture.service */ 886);
|
|
640
|
-
/* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! @angular/common */ 4666);
|
|
641
|
-
/* harmony import */ var _angular_forms__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! @angular/forms */ 2508);
|
|
642
|
-
/* harmony import */ var _ng_select_ng_select__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! @ng-select/ng-select */ 3054);
|
|
643
|
-
/* harmony import */ var _angular_material_slide_toggle__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! @angular/material/slide-toggle */ 4714);
|
|
644
|
-
/* harmony import */ var _main_panel_main_panel_component__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../../main-panel/main-panel.component */ 7481);
|
|
645
|
-
/* harmony import */ var _angular_material_tooltip__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! @angular/material/tooltip */ 6896);
|
|
646
|
-
|
|
647
|
-
|
|
648
|
-
|
|
649
|
-
|
|
650
|
-
|
|
651
|
-
|
|
652
|
-
|
|
653
|
-
|
|
654
|
-
|
|
655
|
-
|
|
656
|
-
|
|
657
|
-
|
|
658
|
-
|
|
659
|
-
|
|
660
|
-
|
|
661
|
-
|
|
662
|
-
|
|
663
|
-
|
|
664
|
-
|
|
665
|
-
function SingleChannelComparisonComponent_mainpanel_0_div_3_button_1_Template(rf, ctx) {
|
|
666
|
-
if (rf & 1) {
|
|
667
|
-
const _r15 = _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵgetCurrentView"]();
|
|
668
|
-
|
|
669
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementStart"](0, "button", 33);
|
|
670
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵlistener"]("click", function SingleChannelComparisonComponent_mainpanel_0_div_3_button_1_Template_button_click_0_listener() {
|
|
671
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵrestoreView"](_r15);
|
|
672
|
-
const loader_r1 = _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵnextContext"](2).ngIf;
|
|
673
|
-
const ctx_r13 = _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵnextContext"]();
|
|
674
|
-
return _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵresetView"](ctx_r13.openScanDialog(loader_r1));
|
|
675
|
-
});
|
|
676
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelement"](1, "i", 34);
|
|
677
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtext"](2, " Scan Channel ");
|
|
678
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementEnd"]();
|
|
679
|
-
}
|
|
680
|
-
}
|
|
681
|
-
|
|
682
|
-
function SingleChannelComparisonComponent_mainpanel_0_div_3_button_2_Template(rf, ctx) {
|
|
683
|
-
if (rf & 1) {
|
|
684
|
-
const _r18 = _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵgetCurrentView"]();
|
|
685
|
-
|
|
686
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementStart"](0, "button", 35);
|
|
687
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵlistener"]("click", function SingleChannelComparisonComponent_mainpanel_0_div_3_button_2_Template_button_click_0_listener() {
|
|
688
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵrestoreView"](_r18);
|
|
689
|
-
const data_r10 = _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵnextContext"]().ngIf;
|
|
690
|
-
const ctx_r16 = _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵnextContext"](2);
|
|
691
|
-
return _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵresetView"](ctx_r16.updateStock(data_r10));
|
|
692
|
-
});
|
|
693
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelement"](1, "i", 36);
|
|
694
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtext"](2, " Update");
|
|
695
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementEnd"]();
|
|
696
|
-
}
|
|
697
|
-
}
|
|
698
|
-
|
|
699
|
-
function SingleChannelComparisonComponent_mainpanel_0_div_3_Template(rf, ctx) {
|
|
700
|
-
if (rf & 1) {
|
|
701
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementStart"](0, "div");
|
|
702
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtemplate"](1, SingleChannelComparisonComponent_mainpanel_0_div_3_button_1_Template, 3, 0, "button", 31);
|
|
703
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtemplate"](2, SingleChannelComparisonComponent_mainpanel_0_div_3_button_2_Template, 3, 0, "button", 32);
|
|
704
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementEnd"]();
|
|
705
|
-
}
|
|
706
|
-
|
|
707
|
-
if (rf & 2) {
|
|
708
|
-
const data_r10 = ctx.ngIf;
|
|
709
|
-
const ctx_r2 = _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵnextContext"](2);
|
|
710
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵadvance"](1);
|
|
711
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵproperty"]("ngIf", !ctx_r2.productService.hasSelectionVariant(data_r10));
|
|
712
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵadvance"](1);
|
|
713
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵproperty"]("ngIf", ctx_r2.productService.hasSelectionVariant(data_r10));
|
|
714
|
-
}
|
|
715
|
-
}
|
|
716
|
-
|
|
717
|
-
function SingleChannelComparisonComponent_mainpanel_0_div_20_Template(rf, ctx) {
|
|
718
|
-
if (rf & 1) {
|
|
719
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementStart"](0, "div", 37)(1, "span");
|
|
720
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtext"](2, " showing only different stock, please press next to populate more data ");
|
|
721
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementEnd"]()();
|
|
722
|
-
}
|
|
723
|
-
}
|
|
724
|
-
|
|
725
|
-
function SingleChannelComparisonComponent_mainpanel_0_th_34_Template(rf, ctx) {
|
|
726
|
-
if (rf & 1) {
|
|
727
|
-
const _r21 = _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵgetCurrentView"]();
|
|
728
|
-
|
|
729
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementStart"](0, "th")(1, "input", 38);
|
|
730
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵlistener"]("ngModelChange", function SingleChannelComparisonComponent_mainpanel_0_th_34_Template_input_ngModelChange_1_listener($event) {
|
|
731
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵrestoreView"](_r21);
|
|
732
|
-
const ctx_r20 = _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵnextContext"](2);
|
|
733
|
-
return _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵresetView"](ctx_r20.checkboxState = $event);
|
|
734
|
-
})("ngModelChange", function SingleChannelComparisonComponent_mainpanel_0_th_34_Template_input_ngModelChange_1_listener() {
|
|
735
|
-
const restoredCtx = _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵrestoreView"](_r21);
|
|
736
|
-
const data_r19 = restoredCtx.ngIf;
|
|
737
|
-
const ctx_r22 = _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵnextContext"](2);
|
|
738
|
-
return _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵresetView"](ctx_r22.onCheckboxStateChange(data_r19));
|
|
739
|
-
});
|
|
740
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementEnd"]()();
|
|
741
|
-
}
|
|
742
|
-
|
|
743
|
-
if (rf & 2) {
|
|
744
|
-
const ctx_r4 = _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵnextContext"](2);
|
|
745
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵadvance"](1);
|
|
746
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵproperty"]("ngModel", ctx_r4.checkboxState);
|
|
747
|
-
}
|
|
748
|
-
}
|
|
749
|
-
|
|
750
|
-
function SingleChannelComparisonComponent_mainpanel_0_ng_option_40_Template(rf, ctx) {
|
|
751
|
-
if (rf & 1) {
|
|
752
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementStart"](0, "ng-option", 39);
|
|
753
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelement"](1, "img", 40);
|
|
754
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtext"](2);
|
|
755
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementEnd"]();
|
|
756
|
-
}
|
|
757
|
-
|
|
758
|
-
if (rf & 2) {
|
|
759
|
-
const c_r23 = ctx.$implicit;
|
|
760
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵproperty"]("value", c_r23.ID);
|
|
761
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵadvance"](1);
|
|
762
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵpropertyInterpolate"]("src", c_r23.Img, _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵsanitizeUrl"]);
|
|
763
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵadvance"](1);
|
|
764
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtextInterpolate1"]("", c_r23.Name, " ");
|
|
765
|
-
}
|
|
766
|
-
}
|
|
767
|
-
|
|
768
|
-
function SingleChannelComparisonComponent_mainpanel_0_tbody_44_tr_1_ng_container_1_input_3_Template(rf, ctx) {
|
|
769
|
-
if (rf & 1) {
|
|
770
|
-
const _r43 = _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵgetCurrentView"]();
|
|
771
|
-
|
|
772
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementStart"](0, "input", 64);
|
|
773
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵlistener"]("ngModelChange", function SingleChannelComparisonComponent_mainpanel_0_tbody_44_tr_1_ng_container_1_input_3_Template_input_ngModelChange_0_listener($event) {
|
|
774
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵrestoreView"](_r43);
|
|
775
|
-
const item_r24 = _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵnextContext"](3).$implicit;
|
|
776
|
-
return _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵresetView"](item_r24.selected = $event);
|
|
777
|
-
})("ngModelChange", function SingleChannelComparisonComponent_mainpanel_0_tbody_44_tr_1_ng_container_1_input_3_Template_input_ngModelChange_0_listener() {
|
|
778
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵrestoreView"](_r43);
|
|
779
|
-
const item_r24 = _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵnextContext"](3).$implicit;
|
|
780
|
-
const ctx_r44 = _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵnextContext"](2);
|
|
781
|
-
return _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵresetView"](ctx_r44.onCheckboxStateProduct(item_r24));
|
|
782
|
-
});
|
|
783
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementEnd"]();
|
|
784
|
-
}
|
|
785
|
-
|
|
786
|
-
if (rf & 2) {
|
|
787
|
-
const item_r24 = _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵnextContext"](3).$implicit;
|
|
788
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵproperty"]("ngModel", item_r24.selected);
|
|
789
|
-
}
|
|
790
|
-
}
|
|
791
|
-
|
|
792
|
-
function SingleChannelComparisonComponent_mainpanel_0_tbody_44_tr_1_ng_container_1_img_4_Template(rf, ctx) {
|
|
793
|
-
if (rf & 1) {
|
|
794
|
-
const _r49 = _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵgetCurrentView"]();
|
|
795
|
-
|
|
796
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementStart"](0, "img", 65);
|
|
797
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵlistener"]("click", function SingleChannelComparisonComponent_mainpanel_0_tbody_44_tr_1_ng_container_1_img_4_Template_img_click_0_listener($event) {
|
|
798
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵrestoreView"](_r49);
|
|
799
|
-
const item_r24 = _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵnextContext"](3).$implicit;
|
|
800
|
-
const ctx_r47 = _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵnextContext"](2);
|
|
801
|
-
return _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵresetView"](ctx_r47.onZoomImage($event, item_r24 == null ? null : item_r24.ImageUrl));
|
|
802
|
-
});
|
|
803
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementEnd"]();
|
|
804
|
-
}
|
|
805
|
-
|
|
806
|
-
if (rf & 2) {
|
|
807
|
-
const item_r24 = _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵnextContext"](3).$implicit;
|
|
808
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵpropertyInterpolate"]("src", item_r24 == null ? null : item_r24.ThumbnailUrl, _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵsanitizeUrl"]);
|
|
809
|
-
}
|
|
810
|
-
}
|
|
811
|
-
|
|
812
|
-
function SingleChannelComparisonComponent_mainpanel_0_tbody_44_tr_1_ng_container_1_ng_template_5_Template(rf, ctx) {
|
|
813
|
-
if (rf & 1) {
|
|
814
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelement"](0, "img", 66);
|
|
815
|
-
}
|
|
816
|
-
}
|
|
817
|
-
|
|
818
|
-
function SingleChannelComparisonComponent_mainpanel_0_tbody_44_tr_1_ng_container_1_Template(rf, ctx) {
|
|
819
|
-
if (rf & 1) {
|
|
820
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementContainerStart"](0);
|
|
821
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementStart"](1, "td", 55)(2, "div", 56);
|
|
822
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtemplate"](3, SingleChannelComparisonComponent_mainpanel_0_tbody_44_tr_1_ng_container_1_input_3_Template, 1, 1, "input", 57);
|
|
823
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtemplate"](4, SingleChannelComparisonComponent_mainpanel_0_tbody_44_tr_1_ng_container_1_img_4_Template, 1, 1, "img", 58);
|
|
824
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtemplate"](5, SingleChannelComparisonComponent_mainpanel_0_tbody_44_tr_1_ng_container_1_ng_template_5_Template, 1, 0, "ng-template", null, 59, _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtemplateRefExtractor"]);
|
|
825
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementEnd"]()();
|
|
826
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementStart"](7, "td", 60)(8, "span", 61);
|
|
827
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtext"](9);
|
|
828
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementEnd"]();
|
|
829
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelement"](10, "br");
|
|
830
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementStart"](11, "div", 62);
|
|
831
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelement"](12, "i", 63);
|
|
832
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementStart"](13, "small");
|
|
833
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtext"](14);
|
|
834
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementEnd"]()()();
|
|
835
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementContainerEnd"]();
|
|
836
|
-
}
|
|
837
|
-
|
|
838
|
-
if (rf & 2) {
|
|
839
|
-
const _r39 = _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵreference"](6);
|
|
840
|
-
|
|
841
|
-
const v_r27 = _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵnextContext"]().$implicit;
|
|
842
|
-
const item_r24 = _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵnextContext"]().$implicit;
|
|
843
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵadvance"](1);
|
|
844
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵproperty"]("rowSpan", item_r24 == null ? null : item_r24.Variants.length);
|
|
845
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵadvance"](2);
|
|
846
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵproperty"]("ngIf", (v_r27 == null ? null : v_r27.Inventory) >= 0 || item_r24.Variants.length > 1);
|
|
847
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵadvance"](1);
|
|
848
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵproperty"]("ngIf", item_r24 == null ? null : item_r24.ThumbnailUrl)("ngIfElse", _r39);
|
|
849
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵadvance"](3);
|
|
850
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵproperty"]("rowSpan", item_r24 == null ? null : item_r24.Variants.length);
|
|
851
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵadvance"](2);
|
|
852
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtextInterpolate"](item_r24 == null ? null : item_r24.Name);
|
|
853
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵadvance"](5);
|
|
854
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtextInterpolate1"]("(", item_r24 == null ? null : item_r24.Category, ")");
|
|
855
|
-
}
|
|
856
|
-
}
|
|
857
|
-
|
|
858
|
-
function SingleChannelComparisonComponent_mainpanel_0_tbody_44_tr_1_input_12_Template(rf, ctx) {
|
|
859
|
-
if (rf & 1) {
|
|
860
|
-
const _r55 = _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵgetCurrentView"]();
|
|
861
|
-
|
|
862
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementStart"](0, "input", 38);
|
|
863
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵlistener"]("ngModelChange", function SingleChannelComparisonComponent_mainpanel_0_tbody_44_tr_1_input_12_Template_input_ngModelChange_0_listener($event) {
|
|
864
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵrestoreView"](_r55);
|
|
865
|
-
const v_r27 = _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵnextContext"]().$implicit;
|
|
866
|
-
return _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵresetView"](v_r27.selected = $event);
|
|
867
|
-
});
|
|
868
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementEnd"]();
|
|
869
|
-
}
|
|
870
|
-
|
|
871
|
-
if (rf & 2) {
|
|
872
|
-
const v_r27 = _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵnextContext"]().$implicit;
|
|
873
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵproperty"]("ngModel", v_r27.selected);
|
|
874
|
-
}
|
|
875
|
-
}
|
|
876
|
-
|
|
877
|
-
function SingleChannelComparisonComponent_mainpanel_0_tbody_44_tr_1_span_14_Template(rf, ctx) {
|
|
878
|
-
if (rf & 1) {
|
|
879
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementStart"](0, "span")(1, "span", 67);
|
|
880
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtext"](2);
|
|
881
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵpipe"](3, "number");
|
|
882
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementEnd"]();
|
|
883
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtext"](4, " => ");
|
|
884
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementStart"](5, "span", 68);
|
|
885
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtext"](6);
|
|
886
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵpipe"](7, "number");
|
|
887
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementEnd"]()();
|
|
888
|
-
}
|
|
889
|
-
|
|
890
|
-
if (rf & 2) {
|
|
891
|
-
const v_r27 = _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵnextContext"]().$implicit;
|
|
892
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵadvance"](2);
|
|
893
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtextInterpolate1"](" ", _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵpipeBind1"](3, 2, v_r27 == null ? null : v_r27.I == null ? null : v_r27.I.Available), "");
|
|
894
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵadvance"](4);
|
|
895
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtextInterpolate"](_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵpipeBind1"](7, 4, v_r27 == null ? null : v_r27.Inventory));
|
|
896
|
-
}
|
|
897
|
-
}
|
|
898
|
-
|
|
899
|
-
function SingleChannelComparisonComponent_mainpanel_0_tbody_44_tr_1_span_15_Template(rf, ctx) {
|
|
900
|
-
if (rf & 1) {
|
|
901
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementStart"](0, "span");
|
|
902
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtext"](1);
|
|
903
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵpipe"](2, "number");
|
|
904
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementEnd"]();
|
|
905
|
-
}
|
|
906
|
-
|
|
907
|
-
if (rf & 2) {
|
|
908
|
-
const v_r27 = _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵnextContext"]().$implicit;
|
|
909
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵadvance"](1);
|
|
910
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtextInterpolate1"](" ", _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵpipeBind1"](2, 1, v_r27 == null ? null : v_r27.Inventory), " ");
|
|
911
|
-
}
|
|
912
|
-
}
|
|
913
|
-
|
|
914
|
-
const _c0 = function (a0) {
|
|
915
|
-
return {
|
|
916
|
-
"bg-gradient-warning": a0
|
|
917
|
-
};
|
|
918
|
-
};
|
|
919
|
-
|
|
920
|
-
function SingleChannelComparisonComponent_mainpanel_0_tbody_44_tr_1_td_16_Template(rf, ctx) {
|
|
921
|
-
if (rf & 1) {
|
|
922
|
-
const _r61 = _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵgetCurrentView"]();
|
|
923
|
-
|
|
924
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementStart"](0, "td", 69)(1, "div", 70)(2, "div", 71);
|
|
925
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵlistener"]("click", function SingleChannelComparisonComponent_mainpanel_0_tbody_44_tr_1_td_16_Template_div_click_2_listener() {
|
|
926
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵrestoreView"](_r61);
|
|
927
|
-
const v_r27 = _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵnextContext"]().$implicit;
|
|
928
|
-
const ctx_r60 = _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵnextContext"]();
|
|
929
|
-
const item_r24 = ctx_r60.$implicit;
|
|
930
|
-
const data_r25 = ctx_r60.ngForOf;
|
|
931
|
-
const ctx_r59 = _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵnextContext"](2);
|
|
932
|
-
return _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵresetView"](ctx_r59.openTableDialog(item_r24, v_r27, data_r25));
|
|
933
|
-
});
|
|
934
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementStart"](3, "span");
|
|
935
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtext"](4);
|
|
936
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵpipe"](5, "number");
|
|
937
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementEnd"]()()()();
|
|
938
|
-
}
|
|
939
|
-
|
|
940
|
-
if (rf & 2) {
|
|
941
|
-
const v_r27 = _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵnextContext"]().$implicit;
|
|
942
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵproperty"]("ngClass", _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵpureFunction1"](4, _c0, (v_r27 == null ? null : v_r27.Inventory) != (v_r27 == null ? null : v_r27.Channel[0] == null ? null : v_r27.Channel[0].Inventory)));
|
|
943
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵadvance"](4);
|
|
944
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtextInterpolate1"](" ", _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵpipeBind1"](5, 2, v_r27 == null ? null : v_r27.Channel[0] == null ? null : v_r27.Channel[0].Inventory), " ");
|
|
945
|
-
}
|
|
946
|
-
}
|
|
947
|
-
|
|
948
|
-
function SingleChannelComparisonComponent_mainpanel_0_tbody_44_tr_1_ng_container_18_Template(rf, ctx) {
|
|
949
|
-
if (rf & 1) {
|
|
950
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementContainerStart"](0);
|
|
951
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtext"](1, " - ");
|
|
952
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementContainerEnd"]();
|
|
953
|
-
}
|
|
954
|
-
}
|
|
955
|
-
|
|
956
|
-
function SingleChannelComparisonComponent_mainpanel_0_tbody_44_tr_1_ng_template_19_Template(rf, ctx) {
|
|
957
|
-
if (rf & 1) {
|
|
958
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementStart"](0, "span", 72);
|
|
959
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵpipe"](1, "date");
|
|
960
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtext"](2);
|
|
961
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵpipe"](3, "date");
|
|
962
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementEnd"]();
|
|
963
|
-
}
|
|
964
|
-
|
|
965
|
-
if (rf & 2) {
|
|
966
|
-
const v_r27 = _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵnextContext"]().$implicit;
|
|
967
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵproperty"]("matTooltip", _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵpipeBind2"](1, 2, v_r27 == null ? null : v_r27.Channel[0] == null ? null : v_r27.Channel[0].LastInventorySync, "dd MMMM yyyy HH:mm:ss"));
|
|
968
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵadvance"](2);
|
|
969
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtextInterpolate1"](" ", _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵpipeBind2"](3, 5, v_r27 == null ? null : v_r27.Channel[0] == null ? null : v_r27.Channel[0].LastInventorySync, "dd MMM yy HH:mm"), " ");
|
|
970
|
-
}
|
|
971
|
-
}
|
|
972
|
-
|
|
973
|
-
function SingleChannelComparisonComponent_mainpanel_0_tbody_44_tr_1_Template(rf, ctx) {
|
|
974
|
-
if (rf & 1) {
|
|
975
|
-
const _r66 = _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵgetCurrentView"]();
|
|
976
|
-
|
|
977
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementStart"](0, "tr");
|
|
978
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtemplate"](1, SingleChannelComparisonComponent_mainpanel_0_tbody_44_tr_1_ng_container_1_Template, 15, 7, "ng-container", 3);
|
|
979
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementStart"](2, "td", 41);
|
|
980
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtext"](3);
|
|
981
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementEnd"]();
|
|
982
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementStart"](4, "td", 42)(5, "div", 43)(6, "span");
|
|
983
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtext"](7);
|
|
984
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementEnd"]();
|
|
985
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementStart"](8, "span", 44)(9, "a", 45);
|
|
986
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelement"](10, "i", 46);
|
|
987
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementEnd"]()()()();
|
|
988
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementStart"](11, "td", 47);
|
|
989
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtemplate"](12, SingleChannelComparisonComponent_mainpanel_0_tbody_44_tr_1_input_12_Template, 1, 1, "input", 48);
|
|
990
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementEnd"]();
|
|
991
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementStart"](13, "td", 42);
|
|
992
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtemplate"](14, SingleChannelComparisonComponent_mainpanel_0_tbody_44_tr_1_span_14_Template, 8, 6, "span", 3);
|
|
993
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtemplate"](15, SingleChannelComparisonComponent_mainpanel_0_tbody_44_tr_1_span_15_Template, 3, 3, "span", 3);
|
|
994
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementEnd"]();
|
|
995
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtemplate"](16, SingleChannelComparisonComponent_mainpanel_0_tbody_44_tr_1_td_16_Template, 6, 6, "td", 49);
|
|
996
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementStart"](17, "td", 23);
|
|
997
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtemplate"](18, SingleChannelComparisonComponent_mainpanel_0_tbody_44_tr_1_ng_container_18_Template, 2, 0, "ng-container", 50);
|
|
998
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtemplate"](19, SingleChannelComparisonComponent_mainpanel_0_tbody_44_tr_1_ng_template_19_Template, 4, 8, "ng-template", null, 51, _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtemplateRefExtractor"]);
|
|
999
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementEnd"]();
|
|
1000
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementStart"](21, "td")(22, "div", 10)(23, "div", 52)(24, "a", 45);
|
|
1001
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelement"](25, "i", 46);
|
|
1002
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementEnd"]();
|
|
1003
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtext"](26, " \u00A0\u00A0 ");
|
|
1004
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementStart"](27, "span", 53);
|
|
1005
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵlistener"]("click", function SingleChannelComparisonComponent_mainpanel_0_tbody_44_tr_1_Template_span_click_27_listener() {
|
|
1006
|
-
const restoredCtx = _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵrestoreView"](_r66);
|
|
1007
|
-
const v_r27 = restoredCtx.$implicit;
|
|
1008
|
-
const ctx_r65 = _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵnextContext"](3);
|
|
1009
|
-
return _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵresetView"](ctx_r65.refreshInventory(v_r27 == null ? null : v_r27.Channel[0] == null ? null : v_r27.Channel[0].ChannelItemID, v_r27 == null ? null : v_r27.Channel[0] == null ? null : v_r27.Channel[0].ChannelVariationID, v_r27 == null ? null : v_r27.Channel[0] == null ? null : v_r27.Channel[0].ChannelID, v_r27 == null ? null : v_r27.ID));
|
|
1010
|
-
});
|
|
1011
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelement"](28, "i", 54);
|
|
1012
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementEnd"]()()()()();
|
|
1013
|
-
}
|
|
1014
|
-
|
|
1015
|
-
if (rf & 2) {
|
|
1016
|
-
const v_r27 = ctx.$implicit;
|
|
1017
|
-
const i_r28 = ctx.index;
|
|
1018
|
-
|
|
1019
|
-
const _r35 = _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵreference"](20);
|
|
1020
|
-
|
|
1021
|
-
const ctx_r26 = _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵnextContext"](3);
|
|
1022
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵadvance"](1);
|
|
1023
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵproperty"]("ngIf", i_r28 == 0);
|
|
1024
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵadvance"](2);
|
|
1025
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtextInterpolate"](v_r27 == null ? null : v_r27.Model);
|
|
1026
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵadvance"](4);
|
|
1027
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtextInterpolate"](v_r27 == null ? null : v_r27.Code);
|
|
1028
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵadvance"](2);
|
|
1029
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵproperty"]("href", "https://" + ctx_r26.hostName + "/menu/Products/Catalog/Variants/Info?ID=" + (v_r27 == null ? null : v_r27.ID), _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵsanitizeUrl"]);
|
|
1030
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵadvance"](3);
|
|
1031
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵproperty"]("ngIf", (v_r27 == null ? null : v_r27.Inventory) >= 0);
|
|
1032
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵadvance"](2);
|
|
1033
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵproperty"]("ngIf", (v_r27 == null ? null : v_r27.Inventory) != (v_r27 == null ? null : v_r27.I == null ? null : v_r27.I.Available));
|
|
1034
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵadvance"](1);
|
|
1035
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵproperty"]("ngIf", (v_r27 == null ? null : v_r27.Inventory) == (v_r27 == null ? null : v_r27.I == null ? null : v_r27.I.Available));
|
|
1036
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵadvance"](1);
|
|
1037
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵproperty"]("ngIf", v_r27 == null ? null : v_r27.Channel);
|
|
1038
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵadvance"](2);
|
|
1039
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵproperty"]("ngIf", (v_r27 == null ? null : v_r27.Channel[0] == null ? null : v_r27.Channel[0].LastInventorySync) == ctx_r26.minDate)("ngIfElse", _r35);
|
|
1040
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵadvance"](6);
|
|
1041
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵproperty"]("href", v_r27 == null ? null : v_r27.Channel[0] == null ? null : v_r27.Channel[0].Url, _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵsanitizeUrl"]);
|
|
1042
|
-
}
|
|
1043
|
-
}
|
|
1044
|
-
|
|
1045
|
-
function SingleChannelComparisonComponent_mainpanel_0_tbody_44_Template(rf, ctx) {
|
|
1046
|
-
if (rf & 1) {
|
|
1047
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementStart"](0, "tbody");
|
|
1048
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtemplate"](1, SingleChannelComparisonComponent_mainpanel_0_tbody_44_tr_1_Template, 29, 11, "tr", 25);
|
|
1049
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementEnd"]();
|
|
1050
|
-
}
|
|
1051
|
-
|
|
1052
|
-
if (rf & 2) {
|
|
1053
|
-
const item_r24 = ctx.$implicit;
|
|
1054
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵadvance"](1);
|
|
1055
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵproperty"]("ngForOf", item_r24.Variants);
|
|
1056
|
-
}
|
|
1057
|
-
}
|
|
1058
|
-
|
|
1059
|
-
function SingleChannelComparisonComponent_mainpanel_0_span_52_Template(rf, ctx) {
|
|
1060
|
-
if (rf & 1) {
|
|
1061
|
-
const _r68 = _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵgetCurrentView"]();
|
|
1062
|
-
|
|
1063
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementStart"](0, "span", 73);
|
|
1064
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵlistener"]("click", function SingleChannelComparisonComponent_mainpanel_0_span_52_Template_span_click_0_listener() {
|
|
1065
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵrestoreView"](_r68);
|
|
1066
|
-
const ctx_r67 = _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵnextContext"](2);
|
|
1067
|
-
return _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵresetView"](ctx_r67.getRowCount());
|
|
1068
|
-
});
|
|
1069
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementStart"](1, "i", 74);
|
|
1070
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtext"](2, "?");
|
|
1071
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementEnd"]()();
|
|
1072
|
-
}
|
|
1073
|
-
}
|
|
1074
|
-
|
|
1075
|
-
function SingleChannelComparisonComponent_mainpanel_0_span_53_Template(rf, ctx) {
|
|
1076
|
-
if (rf & 1) {
|
|
1077
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementStart"](0, "span");
|
|
1078
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtext"](1);
|
|
1079
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵpipe"](2, "number");
|
|
1080
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementEnd"]();
|
|
1081
|
-
}
|
|
1082
|
-
|
|
1083
|
-
if (rf & 2) {
|
|
1084
|
-
const rowCount_r69 = ctx.ngIf;
|
|
1085
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵadvance"](1);
|
|
1086
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtextInterpolate"](_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵpipeBind1"](2, 1, rowCount_r69 == null ? null : rowCount_r69.Total));
|
|
1087
|
-
}
|
|
1088
|
-
}
|
|
1089
|
-
|
|
1090
|
-
function SingleChannelComparisonComponent_mainpanel_0_div_56_a_1_Template(rf, ctx) {
|
|
1091
|
-
if (rf & 1) {
|
|
1092
|
-
const _r73 = _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵgetCurrentView"]();
|
|
1093
|
-
|
|
1094
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementStart"](0, "a", 78);
|
|
1095
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵlistener"]("click", function SingleChannelComparisonComponent_mainpanel_0_div_56_a_1_Template_a_click_0_listener() {
|
|
1096
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵrestoreView"](_r73);
|
|
1097
|
-
const ctx_r72 = _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵnextContext"](3);
|
|
1098
|
-
return _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵresetView"](ctx_r72.onNextPage());
|
|
1099
|
-
});
|
|
1100
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelement"](1, "i", 79);
|
|
1101
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtext"](2, " Next");
|
|
1102
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementEnd"]();
|
|
1103
|
-
}
|
|
1104
|
-
}
|
|
1105
|
-
|
|
1106
|
-
function SingleChannelComparisonComponent_mainpanel_0_div_56_a_2_Template(rf, ctx) {
|
|
1107
|
-
if (rf & 1) {
|
|
1108
|
-
const _r75 = _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵgetCurrentView"]();
|
|
1109
|
-
|
|
1110
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementStart"](0, "a", 80);
|
|
1111
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵlistener"]("click", function SingleChannelComparisonComponent_mainpanel_0_div_56_a_2_Template_a_click_0_listener() {
|
|
1112
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵrestoreView"](_r75);
|
|
1113
|
-
const ctx_r74 = _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵnextContext"](3);
|
|
1114
|
-
return _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵresetView"](ctx_r74.onLastPage());
|
|
1115
|
-
});
|
|
1116
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelement"](1, "i", 81);
|
|
1117
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtext"](2, " Last");
|
|
1118
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementEnd"]();
|
|
1119
|
-
}
|
|
1120
|
-
}
|
|
1121
|
-
|
|
1122
|
-
function SingleChannelComparisonComponent_mainpanel_0_div_56_Template(rf, ctx) {
|
|
1123
|
-
if (rf & 1) {
|
|
1124
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementStart"](0, "div", 75);
|
|
1125
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtemplate"](1, SingleChannelComparisonComponent_mainpanel_0_div_56_a_1_Template, 3, 0, "a", 76);
|
|
1126
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtemplate"](2, SingleChannelComparisonComponent_mainpanel_0_div_56_a_2_Template, 3, 0, "a", 77);
|
|
1127
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementEnd"]();
|
|
1128
|
-
}
|
|
1129
|
-
|
|
1130
|
-
if (rf & 2) {
|
|
1131
|
-
const ctx_r9 = _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵnextContext"](2);
|
|
1132
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵadvance"](1);
|
|
1133
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵproperty"]("ngIf", ctx_r9.paginationService.disableNextButton && !ctx_r9.paginationService.goToLastPage);
|
|
1134
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵadvance"](1);
|
|
1135
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵproperty"]("ngIf", ctx_r9.paginationService.disableNextButton && !ctx_r9.paginationService.goToLastPage);
|
|
1136
|
-
}
|
|
1137
|
-
}
|
|
1138
|
-
|
|
1139
|
-
function SingleChannelComparisonComponent_mainpanel_0_Template(rf, ctx) {
|
|
1140
|
-
if (rf & 1) {
|
|
1141
|
-
const _r77 = _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵgetCurrentView"]();
|
|
1142
|
-
|
|
1143
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementStart"](0, "mainpanel", 1);
|
|
1144
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵlistener"]("onSubmit", function SingleChannelComparisonComponent_mainpanel_0_Template_mainpanel_onSubmit_0_listener($event) {
|
|
1145
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵrestoreView"](_r77);
|
|
1146
|
-
const ctx_r76 = _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵnextContext"]();
|
|
1147
|
-
return _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵresetView"](ctx_r76.onSearch($event));
|
|
1148
|
-
});
|
|
1149
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementStart"](1, "actions")(2, "div", 2);
|
|
1150
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtemplate"](3, SingleChannelComparisonComponent_mainpanel_0_div_3_Template, 3, 2, "div", 3);
|
|
1151
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵpipe"](4, "async");
|
|
1152
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementEnd"]()();
|
|
1153
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementStart"](5, "filters")(6, "div", 2)(7, "div", 4)(8, "div")(9, "label", 5);
|
|
1154
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtext"](10, "PageNumber");
|
|
1155
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementEnd"]();
|
|
1156
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementStart"](11, "input", 6);
|
|
1157
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵlistener"]("ngModelChange", function SingleChannelComparisonComponent_mainpanel_0_Template_input_ngModelChange_11_listener($event) {
|
|
1158
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵrestoreView"](_r77);
|
|
1159
|
-
const ctx_r78 = _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵnextContext"]();
|
|
1160
|
-
return _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵresetView"](ctx_r78.searchFilter.PageNumber = $event);
|
|
1161
|
-
});
|
|
1162
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementEnd"]()();
|
|
1163
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementStart"](12, "div")(13, "label", 7);
|
|
1164
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtext"](14, "Page Size");
|
|
1165
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementEnd"]();
|
|
1166
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementStart"](15, "input", 8);
|
|
1167
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵlistener"]("ngModelChange", function SingleChannelComparisonComponent_mainpanel_0_Template_input_ngModelChange_15_listener($event) {
|
|
1168
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵrestoreView"](_r77);
|
|
1169
|
-
const ctx_r79 = _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵnextContext"]();
|
|
1170
|
-
return _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵresetView"](ctx_r79.searchFilter.RowCount = $event);
|
|
1171
|
-
});
|
|
1172
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementEnd"]()()()()();
|
|
1173
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementStart"](16, "content")(17, "div", 9)(18, "div", 10)(19, "div", 11);
|
|
1174
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtemplate"](20, SingleChannelComparisonComponent_mainpanel_0_div_20_Template, 3, 0, "div", 12);
|
|
1175
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementStart"](21, "table", 13)(22, "thead", 14)(23, "tr")(24, "th", 15);
|
|
1176
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtext"](25, "Product ");
|
|
1177
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelement"](26, "br");
|
|
1178
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementStart"](27, "mat-slide-toggle", 16);
|
|
1179
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵlistener"]("toggleChange", function SingleChannelComparisonComponent_mainpanel_0_Template_mat_slide_toggle_toggleChange_27_listener() {
|
|
1180
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵrestoreView"](_r77);
|
|
1181
|
-
const ctx_r80 = _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵnextContext"]();
|
|
1182
|
-
ctx_r80.showDifferenceStock = !ctx_r80.showDifferenceStock;
|
|
1183
|
-
return _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵresetView"](ctx_r80.onShowDifferenceStock());
|
|
1184
|
-
});
|
|
1185
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementStart"](28, "small", 17);
|
|
1186
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtext"](29, "Filter Different Inventory");
|
|
1187
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementEnd"]()()();
|
|
1188
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementStart"](30, "th", 18);
|
|
1189
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtext"](31, "Variant");
|
|
1190
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementEnd"]();
|
|
1191
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementStart"](32, "th", 19);
|
|
1192
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtext"](33, "SKU");
|
|
1193
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementEnd"]();
|
|
1194
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtemplate"](34, SingleChannelComparisonComponent_mainpanel_0_th_34_Template, 2, 1, "th", 3);
|
|
1195
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵpipe"](35, "async");
|
|
1196
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementStart"](36, "th", 20);
|
|
1197
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtext"](37, "POS");
|
|
1198
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementEnd"]();
|
|
1199
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementStart"](38, "th")(39, "ng-select", 21);
|
|
1200
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵlistener"]("change", function SingleChannelComparisonComponent_mainpanel_0_Template_ng_select_change_39_listener($event) {
|
|
1201
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵrestoreView"](_r77);
|
|
1202
|
-
const ctx_r81 = _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵnextContext"]();
|
|
1203
|
-
return _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵresetView"](ctx_r81.onFilterChannel($event));
|
|
1204
|
-
})("ngModelChange", function SingleChannelComparisonComponent_mainpanel_0_Template_ng_select_ngModelChange_39_listener($event) {
|
|
1205
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵrestoreView"](_r77);
|
|
1206
|
-
const ctx_r82 = _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵnextContext"]();
|
|
1207
|
-
return _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵresetView"](ctx_r82.searchFilter.ChannelID = $event);
|
|
1208
|
-
});
|
|
1209
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtemplate"](40, SingleChannelComparisonComponent_mainpanel_0_ng_option_40_Template, 3, 3, "ng-option", 22);
|
|
1210
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementEnd"]()();
|
|
1211
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementStart"](41, "th", 23);
|
|
1212
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtext"](42, "Last Sync");
|
|
1213
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementEnd"]();
|
|
1214
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelement"](43, "th", 24);
|
|
1215
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementEnd"]()();
|
|
1216
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtemplate"](44, SingleChannelComparisonComponent_mainpanel_0_tbody_44_Template, 2, 1, "tbody", 25);
|
|
1217
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵpipe"](45, "async");
|
|
1218
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementEnd"]();
|
|
1219
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementStart"](46, "div", 26)(47, "div", 27)(48, "div", 28);
|
|
1220
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtext"](49);
|
|
1221
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵpipe"](50, "number");
|
|
1222
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵpipe"](51, "async");
|
|
1223
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtemplate"](52, SingleChannelComparisonComponent_mainpanel_0_span_52_Template, 3, 0, "span", 29);
|
|
1224
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtemplate"](53, SingleChannelComparisonComponent_mainpanel_0_span_53_Template, 3, 3, "span", 3);
|
|
1225
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵpipe"](54, "async");
|
|
1226
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtext"](55);
|
|
1227
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementEnd"]()();
|
|
1228
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtemplate"](56, SingleChannelComparisonComponent_mainpanel_0_div_56_Template, 3, 2, "div", 30);
|
|
1229
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵpipe"](57, "async");
|
|
1230
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵelementEnd"]()()()()()();
|
|
1231
|
-
}
|
|
1232
|
-
|
|
1233
|
-
if (rf & 2) {
|
|
1234
|
-
const loader_r1 = ctx.ngIf;
|
|
1235
|
-
const ctx_r0 = _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵnextContext"]();
|
|
1236
|
-
let tmp_12_0;
|
|
1237
|
-
let tmp_16_0;
|
|
1238
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵproperty"]("headerTitle", "Inventory Comparison")("pageData", ctx_r0.pageData)("hideSearchBox", false);
|
|
1239
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵadvance"](3);
|
|
1240
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵproperty"]("ngIf", _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵpipeBind1"](4, 17, ctx_r0.paginationService.data$));
|
|
1241
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵadvance"](8);
|
|
1242
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵproperty"]("ngModel", ctx_r0.searchFilter.PageNumber);
|
|
1243
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵadvance"](4);
|
|
1244
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵproperty"]("ngModel", ctx_r0.searchFilter.RowCount);
|
|
1245
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵadvance"](5);
|
|
1246
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵproperty"]("ngIf", (ctx_r0.searchFilter == null ? null : ctx_r0.searchFilter.filterModel) == 3);
|
|
1247
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵadvance"](14);
|
|
1248
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵproperty"]("ngIf", _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵpipeBind1"](35, 19, ctx_r0.paginationService.data$));
|
|
1249
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵadvance"](5);
|
|
1250
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵproperty"]("clearable", false)("ngModel", ctx_r0.searchFilter.ChannelID);
|
|
1251
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵadvance"](1);
|
|
1252
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵproperty"]("ngForOf", loader_r1.Options.Channel);
|
|
1253
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵadvance"](4);
|
|
1254
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵproperty"]("ngForOf", _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵpipeBind1"](45, 21, ctx_r0.paginationService.data$));
|
|
1255
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵadvance"](5);
|
|
1256
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtextInterpolate1"](" Showing 1 - ", _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵpipeBind1"](50, 23, (tmp_12_0 = _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵpipeBind1"](51, 25, ctx_r0.paginationService.data$)) == null ? null : tmp_12_0.length), " of ");
|
|
1257
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵadvance"](3);
|
|
1258
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵproperty"]("ngIf", ctx_r0.paginationService.hideCount);
|
|
1259
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵadvance"](1);
|
|
1260
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵproperty"]("ngIf", _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵpipeBind1"](54, 27, !ctx_r0.paginationService.hideCount && ctx_r0.rowCount$));
|
|
1261
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵadvance"](2);
|
|
1262
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtextInterpolate1"](" records ~ ", ctx_r0.paginationService.footerPageNumber, " Page ");
|
|
1263
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵadvance"](1);
|
|
1264
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵproperty"]("ngIf", ((tmp_16_0 = _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵpipeBind1"](57, 29, ctx_r0.paginationService.data$)) == null ? null : tmp_16_0.length) > 0);
|
|
1265
|
-
}
|
|
1266
|
-
}
|
|
1267
|
-
|
|
1268
|
-
class SingleChannelComparisonComponent {
|
|
1269
|
-
constructor(http, toastr, dialog, paginationService, productService, biggerPictureService) {
|
|
1270
|
-
this.http = http;
|
|
1271
|
-
this.toastr = toastr;
|
|
1272
|
-
this.dialog = dialog;
|
|
1273
|
-
this.paginationService = paginationService;
|
|
1274
|
-
this.productService = productService;
|
|
1275
|
-
this.biggerPictureService = biggerPictureService;
|
|
1276
|
-
this.checkboxState = false;
|
|
1277
|
-
this.showDifferenceStock = false;
|
|
1278
|
-
this.loaderApi = "/api/InventoryLoader/Load";
|
|
1279
|
-
this.rowCountApi = "/api/Inventory/GetInventoryByChannelRowCount";
|
|
1280
|
-
this.minDate = src_app_model_Constants__WEBPACK_IMPORTED_MODULE_2__.Constants.MinDate;
|
|
1281
|
-
this.Options = [{
|
|
1282
|
-
Key: 1,
|
|
1283
|
-
Value: "All"
|
|
1284
|
-
}, {
|
|
1285
|
-
Key: 3,
|
|
1286
|
-
Value: "Difference"
|
|
1287
|
-
}];
|
|
1288
|
-
this.pageData = {
|
|
1289
|
-
Title: "Inventory Realtime",
|
|
1290
|
-
Nav: [{
|
|
1291
|
-
Title: "Inventory Cache",
|
|
1292
|
-
Url: "/menu/inventory",
|
|
1293
|
-
Active: false
|
|
1294
|
-
}, {
|
|
1295
|
-
Title: "Inventory Realtime",
|
|
1296
|
-
Url: "/menu/inventory/realtime",
|
|
1297
|
-
Active: true
|
|
1298
|
-
}]
|
|
1299
|
-
};
|
|
1300
|
-
this.hostName = productService.getHostName();
|
|
1301
|
-
}
|
|
1302
|
-
|
|
1303
|
-
ngOnInit() {
|
|
1304
|
-
this.initPageLoader();
|
|
1305
|
-
}
|
|
1306
|
-
|
|
1307
|
-
initPageLoader() {
|
|
1308
|
-
this.paginationService.fetchDataEndpoint = "Inventory/GetSingleChannelComparison";
|
|
1309
|
-
this.loader$ = this.http.post(this.loaderApi, {}).pipe((0,rxjs__WEBPACK_IMPORTED_MODULE_10__.tap)(loader => {
|
|
1310
|
-
this.channelOptions = loader.Options.Channel;
|
|
1311
|
-
this.searchFilter = {
|
|
1312
|
-
RowCount: loader.Filter.PageSize,
|
|
1313
|
-
filterModel: 1,
|
|
1314
|
-
PageNumber: 1,
|
|
1315
|
-
ChannelID: loader.Filter.ChannelID
|
|
1316
|
-
};
|
|
1317
|
-
this.paginationService.resetToFirstPage(this.searchFilter);
|
|
1318
|
-
|
|
1319
|
-
if (!loader.Filter.IsMarketplaceAppActive) {
|
|
1320
|
-
let msg = "Automatic inventory sync disabled." + "\n" + " Please enable Dealpos X Marketplace Apps integration in POS Configuration";
|
|
1321
|
-
this.toastr.warning(msg, "Warning");
|
|
1322
|
-
}
|
|
1323
|
-
}));
|
|
1324
|
-
}
|
|
1325
|
-
|
|
1326
|
-
onSearch(text) {
|
|
1327
|
-
this.searchFilter.text = text;
|
|
1328
|
-
this.paginationService.resetToFirstPage(this.searchFilter);
|
|
1329
|
-
}
|
|
1330
|
-
|
|
1331
|
-
onFilterChannel(channelId) {
|
|
1332
|
-
this.searchFilter.ChannelID = channelId;
|
|
1333
|
-
this.searchFilter.PageNumber = 1;
|
|
1334
|
-
this.paginationService.resetToFirstPage(this.searchFilter);
|
|
1335
|
-
}
|
|
1336
|
-
|
|
1337
|
-
updateStock(products) {
|
|
1338
|
-
const selectedVariants = this.productService.selectedVariantProduct(products);
|
|
1339
|
-
|
|
1340
|
-
if (selectedVariants.length > 0) {
|
|
1341
|
-
let listVariantMapping = selectedVariants.map(variant => {
|
|
1342
|
-
return {
|
|
1343
|
-
ID: variant.ID,
|
|
1344
|
-
Code: variant.Code,
|
|
1345
|
-
Inventory: variant.Inventory
|
|
1346
|
-
};
|
|
1347
|
-
});
|
|
1348
|
-
let params = {
|
|
1349
|
-
ListChannelID: [this.searchFilter.ChannelID],
|
|
1350
|
-
List: listVariantMapping
|
|
1351
|
-
};
|
|
1352
|
-
this.http.post("/api/Inventory/UpdateChannel", params).subscribe(result => {
|
|
1353
|
-
this.searchFilter.PageNumber = 1;
|
|
1354
|
-
this.paginationService.resetToFirstPage(this.searchFilter);
|
|
1355
|
-
this.toastr.success("Successfully updated " + params.List.length + " variants in " + params.ListChannelID.length + " channels", "Success");
|
|
1356
|
-
this.checkboxState = false;
|
|
1357
|
-
});
|
|
1358
|
-
}
|
|
1359
|
-
}
|
|
1360
|
-
/**
|
|
1361
|
-
* Opens the scan dialog and pass the Channel list and the filter variable
|
|
1362
|
-
* It will return the modified filter and will run the scan function that the user has selected (full or quick)
|
|
1363
|
-
*/
|
|
1364
|
-
|
|
1365
|
-
|
|
1366
|
-
openScanDialog(loader) {
|
|
1367
|
-
const dialogFilter = JSON.parse(JSON.stringify(this.searchFilter));
|
|
1368
|
-
dialogFilter.ChannelID = src_app_model_Constants__WEBPACK_IMPORTED_MODULE_2__.Constants.GuidEMpty;
|
|
1369
|
-
const dialogRef = this.dialog.open(_modals_scan_dialog_scan_dialog_component__WEBPACK_IMPORTED_MODULE_0__.ScanDialogComponent, {
|
|
1370
|
-
data: {
|
|
1371
|
-
filter: dialogFilter,
|
|
1372
|
-
channelOptions: loader.Options.Channel
|
|
1373
|
-
},
|
|
1374
|
-
width: "40%"
|
|
1375
|
-
});
|
|
1376
|
-
dialogRef.afterClosed().pipe((0,rxjs__WEBPACK_IMPORTED_MODULE_11__.filter)(result => src_app_model_Constants__WEBPACK_IMPORTED_MODULE_2__.Constants.IsNotEmpty(result))).subscribe(result => {
|
|
1377
|
-
this.searchFilter.ChannelID = result.ChannelID;
|
|
1378
|
-
this.searchFilter.ScanFull = result.ScanFull;
|
|
1379
|
-
this.searchFilter.UpdatedProduct = result.UpdatedProduct;
|
|
1380
|
-
this.searchFilter.Async = result.Async;
|
|
1381
|
-
this.scannALl(loader);
|
|
1382
|
-
});
|
|
1383
|
-
}
|
|
1384
|
-
|
|
1385
|
-
scannALl(loader) {
|
|
1386
|
-
const channel = this.productService.findChannelById(this.searchFilter.ChannelID, loader.Options.Channel);
|
|
1387
|
-
this.productService.scanAll(this.searchFilter.ChannelID, this.searchFilter.ScanFull, this.searchFilter.UpdatedProduct, this.searchFilter.Async).subscribe(result => {
|
|
1388
|
-
if (this.searchFilter.Async) {
|
|
1389
|
-
this.toastr.warning("You will be notified when the scan is completed.", "Scan In Progress", {
|
|
1390
|
-
toastClass: 'ngx-toastr toast-waiting'
|
|
1391
|
-
});
|
|
1392
|
-
} else {
|
|
1393
|
-
//reset filter
|
|
1394
|
-
this.searchFilter.ScanFull = false; // init loader to get last sync date and get new data after scan
|
|
1395
|
-
|
|
1396
|
-
this.initPageLoader();
|
|
1397
|
-
this.toastr.success("Successfully scanned from " + channel?.Name, "Success");
|
|
1398
|
-
}
|
|
1399
|
-
});
|
|
1400
|
-
}
|
|
1401
|
-
|
|
1402
|
-
refreshInventory(ChannelItemID, ChannelVariationID, ChannelID, VariantID) {
|
|
1403
|
-
let params = {
|
|
1404
|
-
ChannelItemID: ChannelItemID,
|
|
1405
|
-
ChannelVariationID: ChannelVariationID,
|
|
1406
|
-
ChannelID: ChannelID,
|
|
1407
|
-
VariantID: VariantID
|
|
1408
|
-
};
|
|
1409
|
-
this.http.post("/api/Inventory/RefreshInventoryChannel", params).subscribe(result => {
|
|
1410
|
-
this.toastr.success("Successfully updated", "Success");
|
|
1411
|
-
this.paginationService.resetToFirstPage(this.searchFilter);
|
|
1412
|
-
});
|
|
1413
|
-
}
|
|
1414
|
-
|
|
1415
|
-
onCheckboxStateProduct(selectedProduct) {
|
|
1416
|
-
selectedProduct.Variants = selectedProduct.Variants.map(variant => {
|
|
1417
|
-
if (variant.Inventory >= 0) {
|
|
1418
|
-
variant.selected = selectedProduct.selected;
|
|
1419
|
-
}
|
|
1420
|
-
|
|
1421
|
-
return variant;
|
|
1422
|
-
});
|
|
1423
|
-
}
|
|
1424
|
-
|
|
1425
|
-
onCheckboxStateChange(products) {
|
|
1426
|
-
products = products.map(product => {
|
|
1427
|
-
product.Variants = product.Variants.map(variant => {
|
|
1428
|
-
variant.selected = this.checkboxState;
|
|
1429
|
-
return variant;
|
|
1430
|
-
});
|
|
1431
|
-
return product;
|
|
1432
|
-
});
|
|
1433
|
-
}
|
|
1434
|
-
|
|
1435
|
-
openTableDialog(product, variant, products) {
|
|
1436
|
-
const dialogRef = this.dialog.open(src_app_sharing_module_table_table_dialog_table_dialog_component__WEBPACK_IMPORTED_MODULE_1__.TableDialogComponent, {
|
|
1437
|
-
data: {
|
|
1438
|
-
Name: product.Name,
|
|
1439
|
-
Variant: variant,
|
|
1440
|
-
ChannelID: variant?.Channel[0].ChannelID,
|
|
1441
|
-
Table: "inventory",
|
|
1442
|
-
ChannelItemID: product.ChannelItemID
|
|
1443
|
-
}
|
|
1444
|
-
});
|
|
1445
|
-
dialogRef.afterClosed().pipe((0,rxjs__WEBPACK_IMPORTED_MODULE_11__.filter)(result => src_app_model_Constants__WEBPACK_IMPORTED_MODULE_2__.Constants.IsNotEmpty(result))).subscribe(result => {
|
|
1446
|
-
this.updateItemAfterDialog(result, products);
|
|
1447
|
-
});
|
|
1448
|
-
}
|
|
1449
|
-
/**
|
|
1450
|
-
* Is called after closing table dialog
|
|
1451
|
-
* originally UpdateStockByVariant() from iventory-pos
|
|
1452
|
-
* This component also has UpdateStockByVariant(), but it calls a different API, don't know why
|
|
1453
|
-
*
|
|
1454
|
-
* @param item result after closing table dialog
|
|
1455
|
-
*/
|
|
1456
|
-
|
|
1457
|
-
|
|
1458
|
-
updateItemAfterDialog(item, products) {
|
|
1459
|
-
let params = {
|
|
1460
|
-
ID: item.ChannelID,
|
|
1461
|
-
ChannelItemID: item.ChannelItemID,
|
|
1462
|
-
ChannelVariantID: item.ChannelVariationID,
|
|
1463
|
-
NewQuantity: parseFloat(item.Inventory),
|
|
1464
|
-
VariantID: item.ID,
|
|
1465
|
-
SKU: item.Sku
|
|
1466
|
-
};
|
|
1467
|
-
const channel = this.productService.findChannelById(this.searchFilter.ChannelID, this.channelOptions);
|
|
1468
|
-
this.http.post("/api/Inventory/UpdateQuantityByItem", params).subscribe(result => {
|
|
1469
|
-
this.toastr.success("Successfully updated " + item.ItemName + "(" + item.VarName + ") inventory in " + channel?.Name + " to " + params.NewQuantity, "Success");
|
|
1470
|
-
});
|
|
1471
|
-
}
|
|
1472
|
-
|
|
1473
|
-
onShowDifferenceStock() {
|
|
1474
|
-
if (this.showDifferenceStock) {
|
|
1475
|
-
this.searchFilter.filterModel = src_app_model_enums_FilterType_enum__WEBPACK_IMPORTED_MODULE_3__.FilterType.DIFFERENCE;
|
|
1476
|
-
} else {
|
|
1477
|
-
this.searchFilter.filterModel = src_app_model_enums_FilterType_enum__WEBPACK_IMPORTED_MODULE_3__.FilterType.ALL;
|
|
1478
|
-
}
|
|
1479
|
-
|
|
1480
|
-
this.paginationService.resetToFirstPage(this.searchFilter);
|
|
1481
|
-
}
|
|
1482
|
-
|
|
1483
|
-
onNextPage() {
|
|
1484
|
-
this.paginationService.onNextPage(this.searchFilter);
|
|
1485
|
-
}
|
|
1486
|
-
|
|
1487
|
-
getRowCount() {
|
|
1488
|
-
const params = {
|
|
1489
|
-
ChannelID: this.searchFilter.ChannelID,
|
|
1490
|
-
PageNumber: 1,
|
|
1491
|
-
text: this.searchFilter.text
|
|
1492
|
-
};
|
|
1493
|
-
this.paginationService.hideCount = false;
|
|
1494
|
-
this.rowCount$ = this.http.post(`${this.rowCountApi}`, params);
|
|
1495
|
-
}
|
|
1496
|
-
|
|
1497
|
-
onLastPage() {
|
|
1498
|
-
const params = {
|
|
1499
|
-
ChannelID: this.searchFilter.ChannelID,
|
|
1500
|
-
PageNumber: 1
|
|
1501
|
-
};
|
|
1502
|
-
this.http.post(`${this.rowCountApi}`, params).subscribe({
|
|
1503
|
-
next: response => {
|
|
1504
|
-
this.searchFilter.PageNumber = 1;
|
|
1505
|
-
this.paginationService.getAllData(this.searchFilter, response.Total);
|
|
1506
|
-
}
|
|
1507
|
-
});
|
|
1508
|
-
}
|
|
1509
|
-
|
|
1510
|
-
onZoomImage(ev, imageUrl) {
|
|
1511
|
-
this.biggerPictureService.openBiggerPicture(ev, imageUrl);
|
|
1512
|
-
}
|
|
1513
|
-
|
|
1514
|
-
ngOnDestroy() {
|
|
1515
|
-
this.paginationService.destroy();
|
|
1516
|
-
}
|
|
1517
|
-
|
|
1518
|
-
}
|
|
1519
|
-
|
|
1520
|
-
SingleChannelComparisonComponent.ɵfac = function SingleChannelComparisonComponent_Factory(t) {
|
|
1521
|
-
return new (t || SingleChannelComparisonComponent)(_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵdirectiveInject"](_services_http_service__WEBPACK_IMPORTED_MODULE_4__.HttpService), _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵdirectiveInject"](ngx_toastr__WEBPACK_IMPORTED_MODULE_12__.ToastrService), _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵdirectiveInject"](_angular_material_dialog__WEBPACK_IMPORTED_MODULE_13__.MatDialog), _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵdirectiveInject"](src_app_services_infinite_pagination_infinite_pagination_service__WEBPACK_IMPORTED_MODULE_5__.InfinitePaginationService), _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵdirectiveInject"](src_app_services_product_service__WEBPACK_IMPORTED_MODULE_6__.ProductService), _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵdirectiveInject"](src_app_services_biggerPicture_service__WEBPACK_IMPORTED_MODULE_7__.BiggerPictureService));
|
|
1522
|
-
};
|
|
1523
|
-
|
|
1524
|
-
SingleChannelComparisonComponent.ɵcmp = /*@__PURE__*/_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵdefineComponent"]({
|
|
1525
|
-
type: SingleChannelComparisonComponent,
|
|
1526
|
-
selectors: [["app-single-channel-comparison"]],
|
|
1527
|
-
decls: 2,
|
|
1528
|
-
vars: 3,
|
|
1529
|
-
consts: [["textButton", "Search", 3, "headerTitle", "pageData", "hideSearchBox", "onSubmit", 4, "ngIf"], ["textButton", "Search", 3, "headerTitle", "pageData", "hideSearchBox", "onSubmit"], [1, "d-flex"], [4, "ngIf"], ["container", ""], ["for", "PageNumber"], ["type", "number", "id", "PageNumber", "placeholder", "PageNumber", "name", "PageNumber", "data-toggle", "tooltip", "matTooltip", "Page Number", 1, "form-control", 3, "ngModel", "ngModelChange"], ["for", "RowCount"], ["type", "number", "id", "RowCount", "placeholder", "Page Size", "name", "RowCount", "data-toggle", "tooltip", "matTooltip", "Page Size", 1, "form-control", 3, "ngModel", "ngModelChange"], [1, "container-fluid", "mt-3"], [1, "row"], [1, "col-md-12"], ["class", "alert alert-warning d-flex justify-content-between text-dark", "role", "alert", 4, "ngIf"], [1, "table", "border-bottom"], [1, "thead-light", "sticky-top-thead"], ["scope", "col", "colspan", "2", 1, "text-center", "ps-12", 2, "width", "25%"], [3, "toggleChange"], [1, "fw-bold"], ["scope", "col", 1, "text-start"], ["scope", "col", 1, "text-end", 2, "width", "10%"], ["scope", "col", 1, "text-end", "w-10", 2, "width", "8%"], [3, "clearable", "ngModel", "change", "ngModelChange"], [3, "value", 4, "ngFor", "ngForOf"], [1, "text-center"], [2, "width", "4%"], [4, "ngFor", "ngForOf"], [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"], ["class", "btn-group", 4, "ngIf"], ["type", "button", "data-cy", "scanInPos", "class", "btn btn-outline-secondary shadow rounded me-3", 3, "click", 4, "ngIf"], ["class", "btn btn-success", 3, "click", 4, "ngIf"], ["type", "button", "data-cy", "scanInPos", 1, "btn", "btn-outline-secondary", "shadow", "rounded", "me-3", 3, "click"], [1, "fas", "fa-lg", "fa-crosshairs"], [1, "btn", "btn-success", 3, "click"], [1, "fas", "fa-chevron-circle-up"], ["role", "alert", 1, "alert", "alert-warning", "d-flex", "justify-content-between", "text-dark"], ["type", "checkbox", 3, "ngModel", "ngModelChange"], [3, "value"], [2, "width", "18px", "margin-right", "10px", 3, "src"], [1, "text-start"], [1, "text-end"], [1, "d-flex", "align-items-center", "justify-content-end"], [1, "ms-2"], ["target", "_blank", 3, "href"], [1, "fas", "fa-lg", "fa-external-link-alt", "external-link-custom"], [1, "align-middle"], ["type", "checkbox", 3, "ngModel", "ngModelChange", 4, "ngIf"], ["class", "text-end", 3, "ngClass", 4, "ngIf"], [4, "ngIf", "ngIfElse"], ["SYNCDATE", ""], [1, "col-12", "ps-0", "d-flex", "justify-content-between"], ["matTooltip", "Refresh stock according to seller center", 1, "pl-5", "cursor-pointer", 2, "color", "var(--bs-link-color)", 3, "click"], [1, "fas", "fa-sync", "fa-lg", "external-link-custom"], [1, "text-start", 2, "width", "0%", 3, "rowSpan"], [1, "d-flex", "align-items-center", "justify-content-start"], ["type", "checkbox", "class", "me-3", 3, "ngModel", "ngModelChange", 4, "ngIf"], ["class", "border rounded w-img cursor-pointer", "style", "margin-left: 20px", 3, "src", "click", 4, "ngIf", "ngIfElse"], ["elsePic", ""], [1, "text-start", 3, "rowSpan"], [1, "item-name", "mb-0"], [1, "d-flex", "align-items-center"], ["title", "Category", 1, "fa-solid", "fa-tags", "me-2", 2, "opacity", "60%"], ["type", "checkbox", 1, "me-3", 3, "ngModel", "ngModelChange"], [1, "border", "rounded", "w-img", "cursor-pointer", 2, "margin-left", "20px", 3, "src", "click"], ["src", "//res.cloudinary.com/pos/image/upload/w_40/POS/Images/Icon/products_thumb.png", 1, "border", "rounded", "w-img", 2, "margin-left", "20px"], ["title", "Allocated"], ["title", "Inventory below minimum inventory"], [1, "text-end", 3, "ngClass"], [1, "row", "justify-content-end", "me-0"], [1, "col-12", "pe-12", "text-end", 3, "click"], ["matTooltipShowDelay", "500", 3, "matTooltip"], [2, "cursor", "pointer", 3, "click"], ["title", "Retreive rows count", 1, "border", "p-3"], [1, "btn-group"], ["role", "button", "class", "btn btn-outline-secondary btn-sm text-primary", "title", "Load more for 20 products", 3, "click", 4, "ngIf"], ["role", "button", "class", "btn btn-outline-secondary btn-sm text-primary", "title", "Load all products", 3, "click", 4, "ngIf"], ["role", "button", "title", "Load more for 20 products", 1, "btn", "btn-outline-secondary", "btn-sm", "text-primary", 3, "click"], [1, "fas", "fa-arrow-right"], ["role", "button", "title", "Load all products", 1, "btn", "btn-outline-secondary", "btn-sm", "text-primary", 3, "click"], [1, "fas", "fa-share"]],
|
|
1530
|
-
template: function SingleChannelComparisonComponent_Template(rf, ctx) {
|
|
1531
|
-
if (rf & 1) {
|
|
1532
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵtemplate"](0, SingleChannelComparisonComponent_mainpanel_0_Template, 58, 31, "mainpanel", 0);
|
|
1533
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵpipe"](1, "async");
|
|
1534
|
-
}
|
|
1535
|
-
|
|
1536
|
-
if (rf & 2) {
|
|
1537
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵproperty"]("ngIf", _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵpipeBind1"](1, 1, ctx.loader$));
|
|
1538
|
-
}
|
|
1539
|
-
},
|
|
1540
|
-
dependencies: [_angular_common__WEBPACK_IMPORTED_MODULE_14__.NgClass, _angular_common__WEBPACK_IMPORTED_MODULE_14__.NgForOf, _angular_common__WEBPACK_IMPORTED_MODULE_14__.NgIf, _angular_forms__WEBPACK_IMPORTED_MODULE_15__.DefaultValueAccessor, _angular_forms__WEBPACK_IMPORTED_MODULE_15__.NumberValueAccessor, _angular_forms__WEBPACK_IMPORTED_MODULE_15__.CheckboxControlValueAccessor, _angular_forms__WEBPACK_IMPORTED_MODULE_15__.NgControlStatus, _angular_forms__WEBPACK_IMPORTED_MODULE_15__.NgModel, _ng_select_ng_select__WEBPACK_IMPORTED_MODULE_16__.NgSelectComponent, _ng_select_ng_select__WEBPACK_IMPORTED_MODULE_16__.NgOptionComponent, _angular_material_slide_toggle__WEBPACK_IMPORTED_MODULE_17__.MatSlideToggle, _main_panel_main_panel_component__WEBPACK_IMPORTED_MODULE_8__.MainPanelComponent, _angular_material_tooltip__WEBPACK_IMPORTED_MODULE_18__.MatTooltip, _angular_common__WEBPACK_IMPORTED_MODULE_14__.AsyncPipe, _angular_common__WEBPACK_IMPORTED_MODULE_14__.DecimalPipe, _angular_common__WEBPACK_IMPORTED_MODULE_14__.DatePipe],
|
|
1541
|
-
styles: [".w-10[_ngcontent-%COMP%] {\n width: 10%;\n}\n\n.w-img[_ngcontent-%COMP%] {\n width: 40px;\n height: 40px;\n}\n\n.item-name[_ngcontent-%COMP%] {\n margin-bottom: -14px !important;\n font-size: larger;\n}\n\ninput[type=checkbox][_ngcontent-%COMP%] {\n width: 15px;\n height: 15px;\n}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInNpbmdsZS1jaGFubmVsLWNvbXBhcmlzb24uY29tcG9uZW50LnNjc3MiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUE7RUFDSSxVQUFBO0FBQ0o7O0FBRUE7RUFDSSxXQUFBO0VBQ0EsWUFBQTtBQUNKOztBQUVBO0VBQ0ksK0JBQUE7RUFDQSxpQkFBQTtBQUNKOztBQUVBO0VBQ0ksV0FBQTtFQUNBLFlBQUE7QUFDSiIsImZpbGUiOiJzaW5nbGUtY2hhbm5lbC1jb21wYXJpc29uLmNvbXBvbmVudC5zY3NzIiwic291cmNlc0NvbnRlbnQiOlsiLnctMTAge1xyXG4gICAgd2lkdGg6MTAlO1xyXG59XHJcblxyXG4udy1pbWcge1xyXG4gICAgd2lkdGg6NDBweDtcclxuICAgIGhlaWdodDo0MHB4O1xyXG59XHJcblxyXG4uaXRlbS1uYW1lIHtcclxuICAgIG1hcmdpbi1ib3R0b206IC0xNHB4IWltcG9ydGFudDtcclxuICAgIGZvbnQtc2l6ZTogbGFyZ2VyO1xyXG59XHJcblxyXG5pbnB1dFt0eXBlPVwiY2hlY2tib3hcIl0ge1xyXG4gICAgd2lkdGg6IDE1cHg7XHJcbiAgICBoZWlnaHQ6IDE1cHhcclxufVxyXG4iXX0= */"]
|
|
1542
|
-
});
|
|
1543
|
-
|
|
1544
|
-
/***/ })
|
|
1545
|
-
|
|
1546
|
-
}]);
|
|
1547
|
-
//# sourceMappingURL=src_app_menu_inventory_inventory_module_ts.js.map
|