marketplacepos 2.4.6 → 2.4.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (88) hide show
  1. package/Marketplace/assets/lbd/_sidebar-and-main-panel.scss +1 -1
  2. package/Marketplace/assets/version-adjustment-v5.scss +9 -0
  3. package/Marketplace/common.js +238 -0
  4. package/Marketplace/common.js.map +1 -0
  5. package/Marketplace/default-node_modules_angular_forms_fesm2020_forms_mjs.js +9551 -0
  6. package/Marketplace/default-node_modules_angular_forms_fesm2020_forms_mjs.js.map +1 -0
  7. package/Marketplace/default-node_modules_angular_material_fesm2020_paginator_mjs.js +797 -0
  8. package/Marketplace/default-node_modules_angular_material_fesm2020_paginator_mjs.js.map +1 -0
  9. package/Marketplace/default-node_modules_angular_material_fesm2020_slide-toggle_mjs.js +669 -0
  10. package/Marketplace/default-node_modules_angular_material_fesm2020_slide-toggle_mjs.js.map +1 -0
  11. package/Marketplace/default-node_modules_ng-select_ng-select_fesm2020_ng-select-ng-select_mjs.js +4632 -0
  12. package/Marketplace/default-node_modules_ng-select_ng-select_fesm2020_ng-select-ng-select_mjs.js.map +1 -0
  13. package/Marketplace/default-src_app_menu_nav-tab_nav-tab_component_ts-node_modules_angular_material_fesm2020_date-e7a231.js +6841 -0
  14. package/Marketplace/default-src_app_menu_nav-tab_nav-tab_component_ts-node_modules_angular_material_fesm2020_date-e7a231.js.map +1 -0
  15. package/Marketplace/default-src_app_menu_nav-tab_nav-tab_component_ts-src_app_services_biggerPicture_service_ts-s-b16afe.js +3316 -0
  16. package/Marketplace/default-src_app_menu_nav-tab_nav-tab_component_ts-src_app_services_biggerPicture_service_ts-s-b16afe.js.map +1 -0
  17. package/Marketplace/default-src_app_model_enums_FilterType_enum_ts-src_app_sharing-module_table_table_component_ts.js +6219 -0
  18. package/Marketplace/default-src_app_model_enums_FilterType_enum_ts-src_app_sharing-module_table_table_component_ts.js.map +1 -0
  19. package/Marketplace/default-src_app_sharing-module_datepicker_datepicker_component_ts.js +19965 -0
  20. package/Marketplace/default-src_app_sharing-module_datepicker_datepicker_component_ts.js.map +1 -0
  21. package/Marketplace/index.html +23 -22
  22. package/Marketplace/main.js +622 -0
  23. package/Marketplace/main.js.map +1 -0
  24. package/Marketplace/polyfills.js +3398 -0
  25. package/Marketplace/polyfills.js.map +1 -0
  26. package/Marketplace/runtime.js +346 -0
  27. package/Marketplace/runtime.js.map +1 -0
  28. package/Marketplace/scripts.js +9 -0
  29. package/Marketplace/scripts.js.map +1 -0
  30. package/Marketplace/src_app_login_login_module_ts.js +651 -0
  31. package/Marketplace/src_app_login_login_module_ts.js.map +1 -0
  32. package/Marketplace/src_app_menu_ReportOrder_order_order_module_ts.js +872 -0
  33. package/Marketplace/src_app_menu_ReportOrder_order_order_module_ts.js.map +1 -0
  34. package/Marketplace/src_app_menu_ReportOrder_product-statistic_product-statistic_module_ts.js +422 -0
  35. package/Marketplace/src_app_menu_ReportOrder_product-statistic_product-statistic_module_ts.js.map +1 -0
  36. package/Marketplace/src_app_menu_ReportOrder_report_module_ts.js +283 -0
  37. package/Marketplace/src_app_menu_ReportOrder_report_module_ts.js.map +1 -0
  38. package/Marketplace/src_app_menu_channels_channels_module_ts.js +9605 -0
  39. package/Marketplace/src_app_menu_channels_channels_module_ts.js.map +1 -0
  40. package/Marketplace/src_app_menu_inventory_inventory_module_ts.js +1547 -0
  41. package/Marketplace/src_app_menu_inventory_inventory_module_ts.js.map +1 -0
  42. package/Marketplace/src_app_menu_logistic_logistic_module_ts.js +245 -0
  43. package/Marketplace/src_app_menu_logistic_logistic_module_ts.js.map +1 -0
  44. package/Marketplace/src_app_menu_menu_module_ts.js +40326 -0
  45. package/Marketplace/src_app_menu_menu_module_ts.js.map +1 -0
  46. package/Marketplace/src_app_menu_notification_notification_module_ts.js +285 -0
  47. package/Marketplace/src_app_menu_notification_notification_module_ts.js.map +1 -0
  48. package/Marketplace/src_app_menu_object-log_logs_module_ts.js +1817 -0
  49. package/Marketplace/src_app_menu_object-log_logs_module_ts.js.map +1 -0
  50. package/Marketplace/src_app_menu_orders_orders_module_ts.js +4867 -0
  51. package/Marketplace/src_app_menu_orders_orders_module_ts.js.map +1 -0
  52. package/Marketplace/src_app_menu_price_price_module_ts.js +1885 -0
  53. package/Marketplace/src_app_menu_price_price_module_ts.js.map +1 -0
  54. package/Marketplace/src_app_menu_products_product_module_ts.js +2692 -0
  55. package/Marketplace/src_app_menu_products_product_module_ts.js.map +1 -0
  56. package/Marketplace/styles.css +16565 -0
  57. package/Marketplace/styles.css.map +1 -0
  58. package/Marketplace/vendor.js +71624 -0
  59. package/Marketplace/vendor.js.map +1 -0
  60. package/package.json +1 -1
  61. package/Marketplace/162.4f60927eda97cc16.js +0 -1
  62. package/Marketplace/171.9284c660e58d6f8c.js +0 -1
  63. package/Marketplace/174.981a3e729681507b.js +0 -1
  64. package/Marketplace/25.ba3606ad0ea92b4a.js +0 -1
  65. package/Marketplace/360.4fa1f449dc516500.js +0 -1
  66. package/Marketplace/369.d711344db7113e55.js +0 -1
  67. package/Marketplace/387.6e9471375d261f28.js +0 -1
  68. package/Marketplace/3rdpartylicenses.txt +0 -568
  69. package/Marketplace/463.e1b8208c6f571003.js +0 -1
  70. package/Marketplace/512.96a1a3c8c51a8727.js +0 -1
  71. package/Marketplace/516.57bcab321d07d544.js +0 -1
  72. package/Marketplace/585.9e916b668a91cc94.js +0 -1
  73. package/Marketplace/6.fc79ecc0c0a33462.js +0 -1
  74. package/Marketplace/61.481724edf2d23475.js +0 -1
  75. package/Marketplace/616.fb179a9605c3e98c.js +0 -1
  76. package/Marketplace/716.8918af413ba6d384.js +0 -1
  77. package/Marketplace/717.03a2e00d3bca2d89.js +0 -1
  78. package/Marketplace/739.82b92600f9519019.js +0 -1
  79. package/Marketplace/796.d34bd45b5a924fca.js +0 -1
  80. package/Marketplace/832.40bafce037098f88.js +0 -1
  81. package/Marketplace/874.63ae9bf5eecf410e.js +0 -1
  82. package/Marketplace/983.e83c887fe86ec996.js +0 -1
  83. package/Marketplace/common.3f5874655db24424.js +0 -1
  84. package/Marketplace/main.f2cf6124e7df7f02.js +0 -1
  85. package/Marketplace/polyfills.8d85b0533e3f867a.js +0 -1
  86. package/Marketplace/runtime.ba9ecd190eb3a539.js +0 -1
  87. package/Marketplace/scripts.09af772bfa77d50d.js +0 -1
  88. package/Marketplace/styles.dc183203b654c19c.css +0 -20
@@ -0,0 +1,285 @@
1
+ "use strict";
2
+ (self["webpackChunkpos_marketplace"] = self["webpackChunkpos_marketplace"] || []).push([["src_app_menu_notification_notification_module_ts"],{
3
+
4
+ /***/ 9578:
5
+ /*!******************************************************************!*\
6
+ !*** ./src/app/menu/notification/notification-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 */ "NotificationRoutingModule": () => (/* binding */ NotificationRoutingModule)
13
+ /* harmony export */ });
14
+ /* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @angular/common */ 4666);
15
+ /* harmony import */ var _angular_router__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @angular/router */ 124);
16
+ /* harmony import */ var _notification_component__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./notification.component */ 7528);
17
+ /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/core */ 2560);
18
+
19
+
20
+
21
+
22
+
23
+ const routes = [
24
+ { path: "", component: _notification_component__WEBPACK_IMPORTED_MODULE_0__.NotificationComponent }
25
+ ];
26
+ class NotificationRoutingModule {
27
+ }
28
+ NotificationRoutingModule.ɵfac = function NotificationRoutingModule_Factory(t) { return new (t || NotificationRoutingModule)(); };
29
+ NotificationRoutingModule.ɵmod = /*@__PURE__*/ _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdefineNgModule"]({ type: NotificationRoutingModule });
30
+ NotificationRoutingModule.ɵinj = /*@__PURE__*/ _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdefineInjector"]({ imports: [_angular_common__WEBPACK_IMPORTED_MODULE_2__.CommonModule,
31
+ _angular_router__WEBPACK_IMPORTED_MODULE_3__.RouterModule.forChild(routes)] });
32
+ (function () { (typeof ngJitMode === "undefined" || ngJitMode) && _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵsetNgModuleScope"](NotificationRoutingModule, { imports: [_angular_common__WEBPACK_IMPORTED_MODULE_2__.CommonModule, _angular_router__WEBPACK_IMPORTED_MODULE_3__.RouterModule] }); })();
33
+
34
+
35
+ /***/ }),
36
+
37
+ /***/ 7528:
38
+ /*!*************************************************************!*\
39
+ !*** ./src/app/menu/notification/notification.component.ts ***!
40
+ \*************************************************************/
41
+ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
42
+
43
+ __webpack_require__.r(__webpack_exports__);
44
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
45
+ /* harmony export */ "NotificationComponent": () => (/* binding */ NotificationComponent)
46
+ /* harmony export */ });
47
+ /* harmony import */ var src_app_model_Constants__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! src/app/model/Constants */ 1889);
48
+ /* harmony import */ var src_app_model_ProductFilter__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! src/app/model/ProductFilter */ 1290);
49
+ /* harmony import */ var rxjs__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! rxjs */ 228);
50
+ /* harmony import */ var rxjs__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! rxjs */ 8951);
51
+ /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @angular/core */ 2560);
52
+ /* harmony import */ var _services_http_service__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../services/http.service */ 6858);
53
+ /* harmony import */ var src_app_services_notification_service__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! src/app/services/notification.service */ 2013);
54
+ /* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @angular/common */ 4666);
55
+ /* harmony import */ var _ng_select_ng_select__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! @ng-select/ng-select */ 3054);
56
+ /* harmony import */ var _angular_forms__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! @angular/forms */ 2508);
57
+ /* harmony import */ var _main_panel_main_panel_component__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../main-panel/main-panel.component */ 7481);
58
+ /* harmony import */ var _sharing_module_custom_paginator_custom_paginator_component__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../sharing-module/custom-paginator/custom-paginator.component */ 6732);
59
+
60
+
61
+
62
+
63
+
64
+
65
+
66
+
67
+
68
+
69
+
70
+ function NotificationComponent_tr_26_Template(rf, ctx) { if (rf & 1) {
71
+ _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵelementStart"](0, "tr")(1, "td");
72
+ _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵelement"](2, "img", 12);
73
+ _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵelementStart"](3, "span");
74
+ _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵtext"](4);
75
+ _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵelementEnd"]()();
76
+ _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵelementStart"](5, "td")(6, "b");
77
+ _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵtext"](7);
78
+ _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵelementEnd"]();
79
+ _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵelementStart"](8, "div");
80
+ _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵtext"](9);
81
+ _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵelementEnd"]()();
82
+ _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵelementStart"](10, "td");
83
+ _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵtext"](11);
84
+ _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵelementEnd"]();
85
+ _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵelementStart"](12, "td");
86
+ _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵtext"](13);
87
+ _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵelementEnd"]();
88
+ _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵelementStart"](14, "td");
89
+ _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵtext"](15);
90
+ _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵpipe"](16, "date");
91
+ _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵelementEnd"]()();
92
+ } if (rf & 2) {
93
+ const notification_r2 = ctx.$implicit;
94
+ _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵadvance"](2);
95
+ _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵpropertyInterpolate"]("src", notification_r2.Img, _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵsanitizeUrl"]);
96
+ _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵadvance"](2);
97
+ _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵtextInterpolate"](notification_r2.Name);
98
+ _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵadvance"](3);
99
+ _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵtextInterpolate"](notification_r2.Label);
100
+ _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵadvance"](2);
101
+ _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵtextInterpolate"](notification_r2.Message);
102
+ _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵadvance"](2);
103
+ _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵtextInterpolate"](notification_r2.Duration);
104
+ _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵadvance"](2);
105
+ _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵtextInterpolate"](notification_r2.StatusLabel);
106
+ _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵadvance"](2);
107
+ _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵtextInterpolate"](_angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵpipeBind2"](16, 7, notification_r2.Created, "dd MMM yyyy HH:mm"));
108
+ } }
109
+ function NotificationComponent_ng_container_27_Template(rf, ctx) { if (rf & 1) {
110
+ const _r4 = _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵgetCurrentView"]();
111
+ _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵelementContainerStart"](0);
112
+ _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵelementStart"](1, "div", 4)(2, "div", 13)(3, "app-custom-paginator", 14);
113
+ _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵlistener"]("total", function NotificationComponent_ng_container_27_Template_app_custom_paginator_total_3_listener() { _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵrestoreView"](_r4); const ctx_r3 = _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵnextContext"](); return _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵresetView"](ctx_r3.getRowCount()); })("next", function NotificationComponent_ng_container_27_Template_app_custom_paginator_next_3_listener() { _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵrestoreView"](_r4); const ctx_r5 = _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵnextContext"](); return _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵresetView"](ctx_r5.onNextPage()); })("previous", function NotificationComponent_ng_container_27_Template_app_custom_paginator_previous_3_listener() { _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵrestoreView"](_r4); const ctx_r6 = _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵnextContext"](); return _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵresetView"](ctx_r6.onPreviousPage()); });
114
+ _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵelementEnd"]()()();
115
+ _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵelementContainerEnd"]();
116
+ } if (rf & 2) {
117
+ const ctx_r1 = _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵnextContext"]();
118
+ _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵadvance"](3);
119
+ _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵproperty"]("filter", ctx_r1.filter)("totaldata", ctx_r1.notifications == null ? null : ctx_r1.notifications.length)("paginationTotal", ctx_r1.rowCount)("hasClicked", ctx_r1.hasClickRowCount);
120
+ } }
121
+ class NotificationComponent {
122
+ constructor(http, notificationService) {
123
+ this.http = http;
124
+ this.notificationService = notificationService;
125
+ this.filter = new src_app_model_ProductFilter__WEBPACK_IMPORTED_MODULE_1__.ProductFilter();
126
+ this.hasClickRowCount = false;
127
+ this.destroy$ = new rxjs__WEBPACK_IMPORTED_MODULE_7__.Subject();
128
+ }
129
+ ngOnInit() {
130
+ this.notificationService.clearNotification();
131
+ this.initPageLoader();
132
+ this.subscribeNotification();
133
+ }
134
+ subscribeNotification() {
135
+ this.notificationService.getNotification()
136
+ .pipe((0,rxjs__WEBPACK_IMPORTED_MODULE_8__.takeUntil)(this.destroy$))
137
+ .subscribe(result => {
138
+ if (result.length > 0) {
139
+ this.getNotifications();
140
+ this.notificationService.clearNotification();
141
+ }
142
+ });
143
+ }
144
+ initPageLoader() {
145
+ this.http.post('/api/notification/Load', {}).subscribe(result => {
146
+ this.filter = result.Filter;
147
+ this.filter.PageSize = this.filter.RowCount;
148
+ this.channelOptions = result.Options.Channel;
149
+ this.getNotifications();
150
+ });
151
+ }
152
+ onFilter() {
153
+ this.hasClickRowCount = false;
154
+ this.getNotifications();
155
+ }
156
+ getNotifications() {
157
+ const payload = {
158
+ ChannelID: this.filter.ChannelID,
159
+ RowCount: this.filter.PageSize,
160
+ PageNumber: this.filter.PageNumber
161
+ };
162
+ this.http.post('/api/notification/Get', payload).subscribe(data => {
163
+ this.notifications = data.Data;
164
+ this.setChannelLogoToNotifications();
165
+ });
166
+ }
167
+ setChannelLogoToNotifications() {
168
+ this.notifications = this.notifications.map(notif => {
169
+ notif.Img = src_app_model_Constants__WEBPACK_IMPORTED_MODULE_0__.Constants.getChannelLogoByTypeId(notif.TypeID);
170
+ return notif;
171
+ });
172
+ }
173
+ onNextPage() {
174
+ this.filter.PageNumber += 1;
175
+ this.getNotifications();
176
+ }
177
+ onPreviousPage() {
178
+ this.filter.PageNumber -= 1;
179
+ this.getNotifications();
180
+ }
181
+ getRowCount() {
182
+ const payload = {
183
+ ChannelID: this.filter.ChannelID
184
+ };
185
+ this.http.post('/api/notification/RowCount', payload)
186
+ .subscribe((result) => {
187
+ this.hasClickRowCount = true;
188
+ this.rowCount = result.Count;
189
+ });
190
+ }
191
+ ngOnDestroy() {
192
+ this.destroy$.next(true);
193
+ this.destroy$.complete();
194
+ }
195
+ }
196
+ NotificationComponent.ɵfac = function NotificationComponent_Factory(t) { return new (t || NotificationComponent)(_angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵdirectiveInject"](_services_http_service__WEBPACK_IMPORTED_MODULE_2__.HttpService), _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵdirectiveInject"](src_app_services_notification_service__WEBPACK_IMPORTED_MODULE_3__.NotificationService)); };
197
+ NotificationComponent.ɵcmp = /*@__PURE__*/ _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵdefineComponent"]({ type: NotificationComponent, selectors: [["app-notification"]], decls: 28, vars: 5, consts: [["headerTitle", "Notification", "hideSearchBox", "true", 3, "onSubmit"], ["container", ""], ["bindLabel", "Name", "name", "channelid", "bindValue", "ID", "placeholder", "Select Channel", 1, "center-text", 3, "clearable", "items", "ngModel", "ngModelChange"], [1, "container-fluid", "mt-3"], [1, "row"], [1, "col-md-12"], [1, "table-responsive"], [1, "table", "table-hover"], [1, "sticky-top-thead"], [1, "table-light"], [4, "ngFor", "ngForOf"], [4, "ngIf"], ["alt", "", 1, "channelLogo-md", "me-4", 3, "src"], [1, "col-12"], [3, "filter", "totaldata", "paginationTotal", "hasClicked", "total", "next", "previous"]], template: function NotificationComponent_Template(rf, ctx) { if (rf & 1) {
198
+ _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵelementStart"](0, "mainpanel", 0);
199
+ _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵlistener"]("onSubmit", function NotificationComponent_Template_mainpanel_onSubmit_0_listener() { return ctx.onFilter(); });
200
+ _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵelementStart"](1, "filters")(2, "div", 1)(3, "div")(4, "h6");
201
+ _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵtext"](5, "Channel");
202
+ _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵelementEnd"]();
203
+ _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵelementStart"](6, "ng-select", 2);
204
+ _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵlistener"]("ngModelChange", function NotificationComponent_Template_ng_select_ngModelChange_6_listener($event) { return ctx.filter.ChannelID = $event; });
205
+ _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵelementEnd"]()()()();
206
+ _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵelementStart"](7, "content")(8, "div", 3)(9, "div", 4)(10, "div", 5)(11, "div", 6)(12, "table", 7)(13, "thead", 8)(14, "tr", 9)(15, "th");
207
+ _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵtext"](16, "Channel");
208
+ _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵelementEnd"]();
209
+ _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵelementStart"](17, "th");
210
+ _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵtext"](18, "Process");
211
+ _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵelementEnd"]();
212
+ _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵelementStart"](19, "th");
213
+ _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵtext"](20, "Duration");
214
+ _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵelementEnd"]();
215
+ _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵelementStart"](21, "th");
216
+ _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵtext"](22, "Status");
217
+ _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵelementEnd"]();
218
+ _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵelementStart"](23, "th");
219
+ _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵtext"](24, "Created");
220
+ _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵelementEnd"]()()();
221
+ _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵelementStart"](25, "tbody");
222
+ _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵtemplate"](26, NotificationComponent_tr_26_Template, 17, 10, "tr", 10);
223
+ _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵelementEnd"]()()()()();
224
+ _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵtemplate"](27, NotificationComponent_ng_container_27_Template, 4, 4, "ng-container", 11);
225
+ _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵelementEnd"]()()();
226
+ } if (rf & 2) {
227
+ _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵadvance"](6);
228
+ _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵproperty"]("clearable", true)("items", ctx.channelOptions)("ngModel", ctx.filter.ChannelID);
229
+ _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵadvance"](20);
230
+ _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵproperty"]("ngForOf", ctx.notifications);
231
+ _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵadvance"](1);
232
+ _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵproperty"]("ngIf", (ctx.notifications == null ? null : ctx.notifications.length) > 0);
233
+ } }, dependencies: [_angular_common__WEBPACK_IMPORTED_MODULE_9__.NgForOf, _angular_common__WEBPACK_IMPORTED_MODULE_9__.NgIf, _ng_select_ng_select__WEBPACK_IMPORTED_MODULE_10__.NgSelectComponent, _angular_forms__WEBPACK_IMPORTED_MODULE_11__.NgControlStatus, _angular_forms__WEBPACK_IMPORTED_MODULE_11__.NgModel, _main_panel_main_panel_component__WEBPACK_IMPORTED_MODULE_4__.MainPanelComponent, _sharing_module_custom_paginator_custom_paginator_component__WEBPACK_IMPORTED_MODULE_5__.CustomPaginatorComponent, _angular_common__WEBPACK_IMPORTED_MODULE_9__.DatePipe], styles: ["\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsImZpbGUiOiJub3RpZmljYXRpb24uY29tcG9uZW50LnNjc3MifQ== */"] });
234
+
235
+
236
+ /***/ }),
237
+
238
+ /***/ 3698:
239
+ /*!**********************************************************!*\
240
+ !*** ./src/app/menu/notification/notification.module.ts ***!
241
+ \**********************************************************/
242
+ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
243
+
244
+ __webpack_require__.r(__webpack_exports__);
245
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
246
+ /* harmony export */ "NotificationModule": () => (/* binding */ NotificationModule)
247
+ /* harmony export */ });
248
+ /* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @angular/common */ 4666);
249
+ /* harmony import */ var _notification_component__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./notification.component */ 7528);
250
+ /* harmony import */ var _notification_routing_module__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./notification-routing.module */ 9578);
251
+ /* harmony import */ var _ng_select_ng_select__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @ng-select/ng-select */ 3054);
252
+ /* harmony import */ var _angular_forms__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @angular/forms */ 2508);
253
+ /* harmony import */ var _main_panel_main_panel_component__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../main-panel/main-panel.component */ 7481);
254
+ /* harmony import */ var src_app_sharing_module_custom_paginator_custom_paginator_module__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! src/app/sharing-module/custom-paginator/custom-paginator.module */ 7459);
255
+ /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @angular/core */ 2560);
256
+
257
+
258
+
259
+
260
+
261
+
262
+
263
+
264
+ class NotificationModule {
265
+ }
266
+ NotificationModule.ɵfac = function NotificationModule_Factory(t) { return new (t || NotificationModule)(); };
267
+ NotificationModule.ɵmod = /*@__PURE__*/ _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵdefineNgModule"]({ type: NotificationModule });
268
+ NotificationModule.ɵinj = /*@__PURE__*/ _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵdefineInjector"]({ imports: [_angular_common__WEBPACK_IMPORTED_MODULE_5__.CommonModule,
269
+ _notification_routing_module__WEBPACK_IMPORTED_MODULE_1__.NotificationRoutingModule,
270
+ _ng_select_ng_select__WEBPACK_IMPORTED_MODULE_6__.NgSelectModule,
271
+ _angular_forms__WEBPACK_IMPORTED_MODULE_7__.FormsModule,
272
+ _main_panel_main_panel_component__WEBPACK_IMPORTED_MODULE_2__.MainPanelModule,
273
+ src_app_sharing_module_custom_paginator_custom_paginator_module__WEBPACK_IMPORTED_MODULE_3__.CustomPaginatorModule] });
274
+ (function () { (typeof ngJitMode === "undefined" || ngJitMode) && _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵsetNgModuleScope"](NotificationModule, { declarations: [_notification_component__WEBPACK_IMPORTED_MODULE_0__.NotificationComponent], imports: [_angular_common__WEBPACK_IMPORTED_MODULE_5__.CommonModule,
275
+ _notification_routing_module__WEBPACK_IMPORTED_MODULE_1__.NotificationRoutingModule,
276
+ _ng_select_ng_select__WEBPACK_IMPORTED_MODULE_6__.NgSelectModule,
277
+ _angular_forms__WEBPACK_IMPORTED_MODULE_7__.FormsModule,
278
+ _main_panel_main_panel_component__WEBPACK_IMPORTED_MODULE_2__.MainPanelModule,
279
+ src_app_sharing_module_custom_paginator_custom_paginator_module__WEBPACK_IMPORTED_MODULE_3__.CustomPaginatorModule] }); })();
280
+
281
+
282
+ /***/ })
283
+
284
+ }]);
285
+ //# sourceMappingURL=src_app_menu_notification_notification_module_ts.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"src_app_menu_notification_notification_module_ts.js","mappings":";;;;;;;;;;;;;;;;;AAC+C;AACQ;AACU;;;AAEjE,MAAM,MAAM,GAAW;IACrB,EAAE,IAAI,EAAE,EAAE,EAAE,SAAS,EAAE,0EAAqB,EAAE;CAC/C;AAQM,MAAM,yBAAyB;;kGAAzB,yBAAyB;sHAAzB,yBAAyB;0HAJlC,yDAAY;QACZ,kEAAqB,CAAC,MAAM,CAAC;mIAGpB,yBAAyB,cAJlC,yDAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;ACVoC;AAEQ;AAGlB;;;;;;;;;;ICsBV,qEAA+C;IAEvC,qEAAmE;IACnE,uEAAM;IAAA,uDAAqB;IAAA,4DAAO;IAEtC,qEAAI;IACG,uDAAsB;IAAA,4DAAI;IAC7B,sEAAK;IAAA,uDAAwB;IAAA,4DAAM;IAEvC,sEAAI;IAAA,wDAAyB;IAAA,4D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ajG,MAAM,kBAAkB;;oFAAlB,kBAAkB;+GAAlB,kBAAkB;mHAV3B,yDAAY;QACZ,mFAAyB;QACzB,gEAAc;QACd,uDAAW;QACX,6EAAe;QACf,kHAAqB;mIAKZ,kBAAkB,mBAHd,0EAAqB,aAPlC,yDAAY;QACZ,mFAAyB;QACzB,gEAAc;QACd,uDAAW;QACX,6EAAe;QACf,kHAAqB","sources":["./src/app/menu/notification/notification-routing.module.ts","./src/app/menu/notification/notification.component.ts","./src/app/menu/notification/notification.component.html","./src/app/menu/notification/notification.module.ts"],"sourcesContent":["import { NgModule } from '@angular/core';\r\nimport { CommonModule } from '@angular/common';\r\nimport { RouterModule, Routes } from '@angular/router';\r\nimport { NotificationComponent } from './notification.component';\r\n\r\nconst routes: Routes = [\r\n { path: \"\", component: NotificationComponent }\r\n]\r\n\r\n@NgModule({\r\n imports: [\r\n CommonModule,\r\n RouterModule.forChild(routes)\r\n ]\r\n})\r\nexport class NotificationRoutingModule { }\r\n","import { Component, OnInit, OnDestroy } from '@angular/core';\r\nimport { Constants } from 'src/app/model/Constants';\r\nimport { Channel } from 'src/app/model/core/Channel';\r\nimport { ProductFilter } from 'src/app/model/ProductFilter';\r\nimport { NotificationService } from 'src/app/services/notification.service';\r\nimport { HttpService } from '../../services/http.service';\r\nimport { takeUntil, Subject } from 'rxjs';\r\n\r\n@Component({\r\n selector: 'app-notification',\r\n templateUrl: './notification.component.html',\r\n styleUrls: ['./notification.component.scss']\r\n})\r\nexport class NotificationComponent implements OnInit, OnDestroy {\r\n public notifications: any[];\r\n public channelOptions: Channel[];\r\n public filter: ProductFilter;\r\n public rowCount: number;\r\n public hasClickRowCount: boolean;\r\n private destroy$: Subject<boolean>;\r\n\r\n constructor(private http: HttpService, private notificationService: NotificationService) {\r\n this.filter = new ProductFilter();\r\n this.hasClickRowCount = false;\r\n this.destroy$ = new Subject();\r\n }\r\n\r\n ngOnInit(): void {\r\n this.notificationService.clearNotification();\r\n this.initPageLoader();\r\n this.subscribeNotification();\r\n }\r\n\r\n private subscribeNotification() {\r\n this.notificationService.getNotification()\r\n .pipe(takeUntil(this.destroy$))\r\n .subscribe(result => {\r\n if (result.length > 0) {\r\n this.getNotifications();\r\n this.notificationService.clearNotification();\r\n }\r\n })\r\n }\r\n\r\n private initPageLoader() : void{\r\n this.http.post<any>('/api/notification/Load',{}).subscribe(result=>{\r\n this.filter = result.Filter;\r\n this.filter.PageSize = this.filter.RowCount;\r\n this.channelOptions = result.Options.Channel;\r\n this.getNotifications();\r\n })\r\n }\r\n\r\n public onFilter() {\r\n this.hasClickRowCount = false;\r\n this.getNotifications();\r\n }\r\n\r\n public getNotifications() : void{\r\n const payload = {\r\n ChannelID: this.filter.ChannelID,\r\n RowCount: this.filter.PageSize,\r\n PageNumber: this.filter.PageNumber\r\n }\r\n this.http.post<any>('/api/notification/Get',payload).subscribe(data=>{ \r\n this.notifications = data.Data;\r\n this.setChannelLogoToNotifications();\r\n })\r\n }\r\n\r\n private setChannelLogoToNotifications() {\r\n this.notifications = this.notifications.map(notif => {\r\n notif.Img = Constants.getChannelLogoByTypeId(notif.TypeID);\r\n return notif;\r\n })\r\n }\r\n\r\n public onNextPage() {\r\n this.filter.PageNumber += 1;\r\n this.getNotifications();\r\n }\r\n\r\n public onPreviousPage() {\r\n this.filter.PageNumber -= 1;\r\n this.getNotifications();\r\n }\r\n\r\n public getRowCount() {\r\n const payload = {\r\n ChannelID: this.filter.ChannelID\r\n }\r\n this.http.post('/api/notification/RowCount', payload)\r\n .subscribe((result: {Count: number}) => {\r\n this.hasClickRowCount = true;\r\n this.rowCount = result.Count;\r\n })\r\n }\r\n\r\n ngOnDestroy(): void {\r\n this.destroy$.next(true);\r\n this.destroy$.complete();\r\n }\r\n}\r\n","<mainpanel headerTitle=\"Notification\" (onSubmit)=\"onFilter()\" hideSearchBox=\"true\">\r\n <filters>\r\n <div container>\r\n <div>\r\n <h6>Channel</h6>\r\n <ng-select class=\"center-text\" [clearable]=\"true\" [items]=\"channelOptions\" bindLabel=\"Name\"\r\n name=\"channelid\" bindValue=\"ID\" placeholder=\"Select Channel\" [(ngModel)]=\"filter.ChannelID\">\r\n </ng-select>\r\n </div>\r\n </div>\r\n </filters>\r\n <content>\r\n <div class=\"container-fluid mt-3\">\r\n <div class=\"row\">\r\n <div class=\"col-md-12\">\r\n <div class=\"table-responsive\">\r\n <table class=\"table table-hover\">\r\n <thead class=\"sticky-top-thead\">\r\n <tr class=\"table-light\">\r\n <th>Channel</th>\r\n <th>Process</th>\r\n <th>Duration</th>\r\n <th>Status</th>\r\n <th>Created</th>\r\n </tr>\r\n </thead>\r\n\r\n <tbody>\r\n <tr *ngFor=\"let notification of notifications\">\r\n <td>\r\n <img class=\"channelLogo-md me-4\" src=\"{{notification.Img}}\" alt=\"\">\r\n <span>{{notification.Name}}</span>\r\n </td>\r\n <td>\r\n <b>{{notification.Label}}</b>\r\n <div>{{notification.Message}}</div>\r\n </td>\r\n <td>{{notification.Duration}}</td>\r\n <td>{{notification.StatusLabel}}</td>\r\n <td>{{notification.Created | date : 'dd MMM yyyy HH:mm'}}</td>\r\n </tr>\r\n </tbody>\r\n </table>\r\n </div>\r\n </div>\r\n </div>\r\n <ng-container *ngIf=\"notifications?.length > 0\">\r\n <div class=\"row\">\r\n <div class=\"col-12\">\r\n <app-custom-paginator [filter]=\"filter\" [totaldata]=\"notifications?.length\"\r\n [paginationTotal]=\"rowCount\" [hasClicked]=\"hasClickRowCount\" (total)=\"getRowCount()\"\r\n (next)=\"onNextPage()\" (previous)=\"onPreviousPage()\"></app-custom-paginator>\r\n </div>\r\n </div>\r\n </ng-container>\r\n </div>\r\n </content>\r\n</mainpanel>","import { NgModule, NO_ERRORS_SCHEMA } from '@angular/core';\r\nimport { CommonModule } from '@angular/common';\r\nimport { NotificationComponent } from './notification.component';\r\nimport { NotificationRoutingModule } from './notification-routing.module';\r\nimport { NgSelectModule } from '@ng-select/ng-select';\r\nimport { FormsModule } from '@angular/forms';\r\nimport { MainPanelModule } from '../main-panel/main-panel.component';\r\nimport { CustomPaginatorModule } from 'src/app/sharing-module/custom-paginator/custom-paginator.module';\r\n@NgModule({\r\n imports: [\r\n CommonModule,\r\n NotificationRoutingModule,\r\n NgSelectModule,\r\n FormsModule,\r\n MainPanelModule,\r\n CustomPaginatorModule\r\n ],\r\n declarations: [NotificationComponent],\r\n schemas: [NO_ERRORS_SCHEMA]\r\n})\r\nexport class NotificationModule { }\r\n"],"names":[],"sourceRoot":"webpack:///"}