marketplacepos 2.2.7 → 2.3.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/126.cdcda87dcc3da677.js +1 -0
- package/Marketplace/170.f2067bfd5ecb2a86.js +1 -0
- package/Marketplace/22.738096d8317ec65b.js +1 -0
- package/Marketplace/231.adb8d56e26375a9c.js +1 -0
- package/Marketplace/285.17f6cbef78acd327.js +1 -0
- package/Marketplace/3rdpartylicenses.txt +490 -0
- package/Marketplace/46.8652d978a45ce5ab.js +1 -0
- package/Marketplace/472.519965afdb7a160d.js +1 -0
- package/Marketplace/512.eddb4675a9016de6.js +1 -0
- package/Marketplace/518.aff0cf9876e146d2.js +1 -0
- package/Marketplace/585.c93552ac67f4550c.js +1 -0
- package/Marketplace/6.fc79ecc0c0a33462.js +1 -0
- package/Marketplace/616.507588c0a5d7b9e1.js +1 -0
- package/Marketplace/717.62ca448a74adc1c2.js +1 -0
- package/Marketplace/739.82b92600f9519019.js +1 -0
- package/Marketplace/763.42fa4c0d665819d3.js +1 -0
- package/Marketplace/767.0ce42314dea8dfea.js +1 -0
- package/Marketplace/796.3be8ad424aad7864.js +1 -0
- package/Marketplace/common.34d3e7dcd2b85c7a.js +1 -0
- package/Marketplace/index.html +22 -23
- package/Marketplace/main.6481a1f35d927562.js +1 -0
- package/Marketplace/polyfills.8d85b0533e3f867a.js +1 -0
- package/Marketplace/runtime.ba5c4b46d4312c5e.js +1 -0
- package/Marketplace/scripts.512baec01df5d79f.js +1 -0
- package/Marketplace/styles.d8aa52b2e9cd02ae.css +39 -0
- package/package.json +1 -1
- package/Marketplace/common.js +0 -46
- 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_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 -6836
- 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-node_modules_angular_material_fesm2020_slid-566c11.js +0 -722
- package/Marketplace/default-src_app_menu_nav-tab_nav-tab_component_ts-node_modules_angular_material_fesm2020_slid-566c11.js.map +0 -1
- package/Marketplace/default-src_app_sharing-module_datepicker_datepicker_component_ts.js +0 -19951
- package/Marketplace/default-src_app_sharing-module_datepicker_datepicker_component_ts.js.map +0 -1
- package/Marketplace/main.js +0 -617
- 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 -2634
- package/Marketplace/scripts.js.map +0 -1
- package/Marketplace/src_app_login_login_module_ts.js +0 -538
- package/Marketplace/src_app_login_login_module_ts.js.map +0 -1
- package/Marketplace/src_app_menu_ReportOrder_report_module_ts.js +0 -1060
- package/Marketplace/src_app_menu_ReportOrder_report_module_ts.js.map +0 -1
- package/Marketplace/src_app_menu_channels_channels_module_ts.js +0 -9710
- package/Marketplace/src_app_menu_channels_channels_module_ts.js.map +0 -1
- package/Marketplace/src_app_menu_inventory_inventory_module_ts.js +0 -1069
- package/Marketplace/src_app_menu_inventory_inventory_module_ts.js.map +0 -1
- package/Marketplace/src_app_menu_logistic_logistic_module_ts.js +0 -232
- package/Marketplace/src_app_menu_logistic_logistic_module_ts.js.map +0 -1
- package/Marketplace/src_app_menu_menu_module_ts.js +0 -38973
- package/Marketplace/src_app_menu_menu_module_ts.js.map +0 -1
- package/Marketplace/src_app_menu_notification_notification_module_ts.js +0 -192
- 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 -1997
- 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 -2449
- package/Marketplace/src_app_menu_orders_orders_module_ts.js.map +0 -1
- package/Marketplace/src_app_menu_price_price_module_ts.js +0 -1713
- package/Marketplace/src_app_menu_price_price_module_ts.js.map +0 -1
- package/Marketplace/src_app_menu_products_product_module_ts.js +0 -2196
- package/Marketplace/src_app_menu_products_product_module_ts.js.map +0 -1
- package/Marketplace/styles.css +0 -30612
- package/Marketplace/styles.css.map +0 -1
- package/Marketplace/vendor.js +0 -71753
- package/Marketplace/vendor.js.map +0 -1
|
@@ -1,192 +0,0 @@
|
|
|
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 _angular_core__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @angular/core */ 2560);
|
|
48
|
-
/* harmony import */ var _services_http_service__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../services/http.service */ 6858);
|
|
49
|
-
/* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @angular/common */ 4666);
|
|
50
|
-
/* harmony import */ var _ng_select_ng_select__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @ng-select/ng-select */ 3054);
|
|
51
|
-
/* harmony import */ var _angular_forms__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @angular/forms */ 2508);
|
|
52
|
-
/* harmony import */ var _main_panel_main_panel_component__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../main-panel/main-panel.component */ 7481);
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
function NotificationComponent_tr_24_Template(rf, ctx) { if (rf & 1) {
|
|
60
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵelementStart"](0, "tr")(1, "td");
|
|
61
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵtext"](2);
|
|
62
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵpipe"](3, "date");
|
|
63
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵelementEnd"]();
|
|
64
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵelementStart"](4, "td");
|
|
65
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵtext"](5);
|
|
66
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵelementEnd"]();
|
|
67
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵelementStart"](6, "td");
|
|
68
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵtext"](7);
|
|
69
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵelementEnd"]();
|
|
70
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵelementStart"](8, "td");
|
|
71
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵtext"](9);
|
|
72
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵelementEnd"]()();
|
|
73
|
-
} if (rf & 2) {
|
|
74
|
-
const item_r1 = ctx.$implicit;
|
|
75
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵadvance"](2);
|
|
76
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵtextInterpolate"](_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵpipeBind2"](3, 4, item_r1.Created, "dd MMM yyyy hh:mm"));
|
|
77
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵadvance"](3);
|
|
78
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵtextInterpolate"](item_r1.Name);
|
|
79
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵadvance"](2);
|
|
80
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵtextInterpolate"](item_r1.Body);
|
|
81
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵadvance"](2);
|
|
82
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵtextInterpolate"](item_r1.URL);
|
|
83
|
-
} }
|
|
84
|
-
class NotificationComponent {
|
|
85
|
-
constructor(http) {
|
|
86
|
-
this.http = http;
|
|
87
|
-
this.filter = {
|
|
88
|
-
ChannelID: ''
|
|
89
|
-
};
|
|
90
|
-
this.Load();
|
|
91
|
-
}
|
|
92
|
-
ngOnInit() {
|
|
93
|
-
}
|
|
94
|
-
Load() {
|
|
95
|
-
this.http.post('/api/OrdersLoader/Get', {}).subscribe(result => {
|
|
96
|
-
this.filter = result.Filter;
|
|
97
|
-
this.Channel = result.Options.Channel;
|
|
98
|
-
this.Get();
|
|
99
|
-
});
|
|
100
|
-
}
|
|
101
|
-
Get() {
|
|
102
|
-
this.http.post('/api/Orders/GetPushNotification', this.filter).subscribe(data => {
|
|
103
|
-
this.data = data.Data;
|
|
104
|
-
for (let item of this.data) {
|
|
105
|
-
let options = this.Channel.find(x => x.ID === item.ChannelID);
|
|
106
|
-
if (options != null) {
|
|
107
|
-
item.Name = options.Name;
|
|
108
|
-
}
|
|
109
|
-
}
|
|
110
|
-
});
|
|
111
|
-
}
|
|
112
|
-
}
|
|
113
|
-
NotificationComponent.ɵfac = function NotificationComponent_Factory(t) { return new (t || NotificationComponent)(_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdirectiveInject"](_services_http_service__WEBPACK_IMPORTED_MODULE_0__.HttpService)); };
|
|
114
|
-
NotificationComponent.ɵcmp = /*@__PURE__*/ _angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵdefineComponent"]({ type: NotificationComponent, selectors: [["app-notification"]], decls: 25, vars: 5, consts: [["hideSearchBox", "true", "searchBoxPlaceHolder", "Enter Number...", 3, "Title", "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, "table-light"], [4, "ngFor", "ngForOf"]], template: function NotificationComponent_Template(rf, ctx) { if (rf & 1) {
|
|
115
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵelementStart"](0, "mainpanel", 0);
|
|
116
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵlistener"]("onSubmit", function NotificationComponent_Template_mainpanel_onSubmit_0_listener() { return ctx.Get(); });
|
|
117
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵelementStart"](1, "filters")(2, "div", 1)(3, "div")(4, "h6");
|
|
118
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵtext"](5, "Channel");
|
|
119
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵelementEnd"]();
|
|
120
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵelementStart"](6, "ng-select", 2);
|
|
121
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵlistener"]("ngModelChange", function NotificationComponent_Template_ng_select_ngModelChange_6_listener($event) { return ctx.filter.ChannelID = $event; });
|
|
122
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵelementEnd"]()()()();
|
|
123
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵelementStart"](7, "content")(8, "div", 3)(9, "div", 4)(10, "div", 5)(11, "div", 6)(12, "table", 7)(13, "thead")(14, "tr", 8)(15, "th");
|
|
124
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵtext"](16, "Created");
|
|
125
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵelementEnd"]();
|
|
126
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵelementStart"](17, "th");
|
|
127
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵtext"](18, "Channel");
|
|
128
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵelementEnd"]();
|
|
129
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵelementStart"](19, "th");
|
|
130
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵtext"](20, "Body");
|
|
131
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵelementEnd"]();
|
|
132
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵelementStart"](21, "th");
|
|
133
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵtext"](22, "Url");
|
|
134
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵelementEnd"]()()();
|
|
135
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵelementStart"](23, "tbody");
|
|
136
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵtemplate"](24, NotificationComponent_tr_24_Template, 10, 7, "tr", 9);
|
|
137
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵelementEnd"]()()()()()()()();
|
|
138
|
-
} if (rf & 2) {
|
|
139
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵproperty"]("Title", "Notification");
|
|
140
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵadvance"](6);
|
|
141
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵproperty"]("clearable", true)("items", ctx.Channel)("ngModel", ctx.filter.ChannelID);
|
|
142
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵadvance"](18);
|
|
143
|
-
_angular_core__WEBPACK_IMPORTED_MODULE_2__["ɵɵproperty"]("ngForOf", ctx.data);
|
|
144
|
-
} }, dependencies: [_angular_common__WEBPACK_IMPORTED_MODULE_3__.NgForOf, _ng_select_ng_select__WEBPACK_IMPORTED_MODULE_4__.NgSelectComponent, _angular_forms__WEBPACK_IMPORTED_MODULE_5__.NgControlStatus, _angular_forms__WEBPACK_IMPORTED_MODULE_5__.NgModel, _main_panel_main_panel_component__WEBPACK_IMPORTED_MODULE_1__.MainPanelComponent, _angular_common__WEBPACK_IMPORTED_MODULE_3__.DatePipe], styles: ["\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsImZpbGUiOiJub3RpZmljYXRpb24uY29tcG9uZW50LnNjc3MifQ== */"] });
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
/***/ }),
|
|
148
|
-
|
|
149
|
-
/***/ 3698:
|
|
150
|
-
/*!**********************************************************!*\
|
|
151
|
-
!*** ./src/app/menu/notification/notification.module.ts ***!
|
|
152
|
-
\**********************************************************/
|
|
153
|
-
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
154
|
-
|
|
155
|
-
__webpack_require__.r(__webpack_exports__);
|
|
156
|
-
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
157
|
-
/* harmony export */ "NotificationModule": () => (/* binding */ NotificationModule)
|
|
158
|
-
/* harmony export */ });
|
|
159
|
-
/* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @angular/common */ 4666);
|
|
160
|
-
/* harmony import */ var _notification_component__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./notification.component */ 7528);
|
|
161
|
-
/* harmony import */ var _notification_routing_module__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./notification-routing.module */ 9578);
|
|
162
|
-
/* harmony import */ var _ng_select_ng_select__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @ng-select/ng-select */ 3054);
|
|
163
|
-
/* harmony import */ var _angular_forms__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @angular/forms */ 2508);
|
|
164
|
-
/* harmony import */ var _main_panel_main_panel_component__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../main-panel/main-panel.component */ 7481);
|
|
165
|
-
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @angular/core */ 2560);
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
class NotificationModule {
|
|
174
|
-
}
|
|
175
|
-
NotificationModule.ɵfac = function NotificationModule_Factory(t) { return new (t || NotificationModule)(); };
|
|
176
|
-
NotificationModule.ɵmod = /*@__PURE__*/ _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵdefineNgModule"]({ type: NotificationModule });
|
|
177
|
-
NotificationModule.ɵinj = /*@__PURE__*/ _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵdefineInjector"]({ imports: [_angular_common__WEBPACK_IMPORTED_MODULE_4__.CommonModule,
|
|
178
|
-
_notification_routing_module__WEBPACK_IMPORTED_MODULE_1__.NotificationRoutingModule,
|
|
179
|
-
_ng_select_ng_select__WEBPACK_IMPORTED_MODULE_5__.NgSelectModule,
|
|
180
|
-
_angular_forms__WEBPACK_IMPORTED_MODULE_6__.FormsModule,
|
|
181
|
-
_main_panel_main_panel_component__WEBPACK_IMPORTED_MODULE_2__.MainPanelModule] });
|
|
182
|
-
(function () { (typeof ngJitMode === "undefined" || ngJitMode) && _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵsetNgModuleScope"](NotificationModule, { declarations: [_notification_component__WEBPACK_IMPORTED_MODULE_0__.NotificationComponent], imports: [_angular_common__WEBPACK_IMPORTED_MODULE_4__.CommonModule,
|
|
183
|
-
_notification_routing_module__WEBPACK_IMPORTED_MODULE_1__.NotificationRoutingModule,
|
|
184
|
-
_ng_select_ng_select__WEBPACK_IMPORTED_MODULE_5__.NgSelectModule,
|
|
185
|
-
_angular_forms__WEBPACK_IMPORTED_MODULE_6__.FormsModule,
|
|
186
|
-
_main_panel_main_panel_component__WEBPACK_IMPORTED_MODULE_2__.MainPanelModule] }); })();
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
/***/ })
|
|
190
|
-
|
|
191
|
-
}]);
|
|
192
|
-
//# sourceMappingURL=src_app_menu_notification_notification_module_ts.js.map
|
|
@@ -1 +0,0 @@
|
|
|
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;;;;;;;;;;;;;;;;;;;;;;;;;;;;IEiBgB,qEAA8B;IACtB,uDAA6C;;IAAA,4DAAK;IACtD,qEAAI;IAAA,uDAAa;IAAA,4DAAK;IACtB,qEAAI;IAAA,uDAAa;IAAA,4DAAK;IACtB,qEAAI;IAAA,uDAAY;IAAA,4DAAK;;;IAHjB,0DAA6C;IAA7C,sKAA6C;IAC7C,0DAAa;IAAb,6EAAa;IACb,0DAAa;IAAb,6EAAa;IACb,0DAAY;IAAZ,4EAAY;;ADxB7C,MAAM,qBAAqB;IAQhC,YAAoB,IAAiB;QAAjB,SAAI,GAAJ,IAAI,CAAa;QALrC,WAAM,GAAE;YACN,SAAS,EAAG,EAAE;SACf,CAAC;QAIA,IAAI,CAAC,IAAI,EAAE,CAAC;IACb,CAAC;IAEF,QAAQ;IACR,CAAC;IAED,IAAI;QACF,IAAI,CAAC,IAAI,CAAC,IAAI,CAAM,uBAAuB,EAAC,EAAE,CAAC,CAAC,SAAS,CAAC,MAAM,GAAE;YAChE,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC,MAAM,CAAC;YAC5B,IAAI,CAAC,OAAO,GAAG,MAAM,CAAC,OAAO,CAAC,OAAO,CAAC;YACtC,IAAI,CAAC,GAAG,EAAE,CAAC;QACb,CAAC,CAAC;IACJ,CAAC;IAED,GAAG;QACD,IAAI,CAAC,IAAI,CAAC,IAAI,CAAM,iCAAiC,EAAC,IAAI,CAAC,MAAM,CAAC,CAAC,SAAS,CAAC,IAAI,GAAE;YACjF,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC,IAAI,CAAC;YACtB,KAAI,IAAI,IAAI,IAAI,IAAI,CAAC,IAAI,EACzB;gBACE,IAAI,OAAO,GAAG,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC,GAAE,CAAC,CAAC,CAAC,EAAE,KAAK,IAAI,CAAC,SAAS,CAAC,CAAC;gBAC7D,IAAG,OAAO,IAAI,IAAI,EAClB;oBACE,IAAI,CAAC,IAAI,GAAG,OAAO,CAAC,IAAI,CAAC;iBAC1B;aACF;QACH,CAAC,CAAC;IACJ,CAAC;;0FAnCU,qBAAqB;mHAArB,qBAAqB;QCRlC,+EAAoH;QAAhF,sJAAY,SAAK,IAAC;QAClD,0EAAS;QAGO,kEAAO;QAAA,4DAAK;QAChB,+EAC+B;QAA/B,uMAA8B;QAC9B,4DAAY;QAIxB,0EAAS;QAS2B,mEAAO;QAAA,4DAAK;QAChB,sEAAI;QAAA,mEAAO;QAAA,4DAAK;QAChB,sEAAI;QAAA,gEAAI;QAAA,4DAAK;QACb,sEAAI;QAAA,+DAAG;QAAA,4DAAK;QAIpB,yEAAO;QACH,kHAKK;QACT,4DAAQ;;QAlCzB,iFAAwB;QAKY,0DAAkB;QAAlB,2EAAkB;QAuBZ,2DAAO;QAAP,6EAAO;;;;;;;;;;;;;;;;;;;;;;;AC3Bb;AACkB;AACS;AACpB;AACT;AACwB;;AAa9D,MAAM,kBAAkB;;oFAAlB,kBAAkB;+GAAlB,kBAAkB;mHAT3B,yDAAY;QACZ,mFAAyB;QACzB,gEAAc;QACd,uDAAW;QACX,6EAAe;mIAKN,kBAAkB,mBAHd,0EAAqB,aANlC,yDAAY;QACZ,mFAAyB;QACzB,gEAAc;QACd,uDAAW;QACX,6EAAe","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 } from '@angular/core';\r\nimport { HttpService } from '../../services/http.service';\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 {\r\n data : any;\r\n\r\n filter ={\r\n ChannelID : ''\r\n };\r\n\r\n Channel :any;\r\n constructor(private http: HttpService) {\r\n this.Load();\r\n }\r\n\r\n ngOnInit(): void {\r\n }\r\n\r\n Load() : void{\r\n this.http.post<any>('/api/OrdersLoader/Get',{}).subscribe(result=>{\r\n this.filter = result.Filter;\r\n this.Channel = result.Options.Channel;\r\n this.Get();\r\n })\r\n }\r\n\r\n Get() : void{\r\n this.http.post<any>('/api/Orders/GetPushNotification',this.filter).subscribe(data=>{ \r\n this.data = data.Data;\r\n for(let item of this.data)\r\n {\r\n let options = this.Channel.find(x=> x.ID === item.ChannelID);\r\n if(options != null)\r\n {\r\n item.Name = options.Name;\r\n }\r\n }\r\n })\r\n }\r\n\r\n}\r\n","<mainpanel [Title]=\"'Notification'\" (onSubmit)=\"Get()\" hideSearchBox=\"true\" searchBoxPlaceHolder=\"Enter Number...\">\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]=\"Channel\" bindLabel=\"Name\" name=\"channelid\" bindValue=\"ID\" placeholder=\"Select Channel\"\r\n [(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 \r\n <table class=\"table table-hover\">\r\n <thead>\r\n <tr class=\"table-light\">\r\n <th>Created</th>\r\n <th>Channel</th>\r\n <th>Body</th>\r\n <th>Url</th>\r\n </tr>\r\n </thead>\r\n \r\n <tbody>\r\n <tr *ngFor=\"let item of data\">\r\n <td>{{item.Created | date : 'dd MMM yyyy hh:mm'}}</td>\r\n <td>{{item.Name}}</td>\r\n <td>{{item.Body}}</td>\r\n <td>{{item.URL}}</td>\r\n </tr>\r\n </tbody>\r\n </table>\r\n\r\n </div>\r\n </div>\r\n \r\n </div>\r\n </div>\r\n </content>\r\n</mainpanel>\r\n\r\n\r\n\r\n","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\n\r\n@NgModule({\r\n imports: [\r\n CommonModule,\r\n NotificationRoutingModule,\r\n NgSelectModule,\r\n FormsModule,\r\n MainPanelModule\r\n ],\r\n declarations: [NotificationComponent],\r\n schemas: [NO_ERRORS_SCHEMA]\r\n})\r\nexport class NotificationModule { }\r\n"],"names":[],"sourceRoot":"webpack:///"}
|