marketplacepos 2.2.9 → 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.
Files changed (74) hide show
  1. package/Marketplace/126.cdcda87dcc3da677.js +1 -0
  2. package/Marketplace/170.f2067bfd5ecb2a86.js +1 -0
  3. package/Marketplace/22.738096d8317ec65b.js +1 -0
  4. package/Marketplace/231.adb8d56e26375a9c.js +1 -0
  5. package/Marketplace/285.17f6cbef78acd327.js +1 -0
  6. package/Marketplace/3rdpartylicenses.txt +490 -0
  7. package/Marketplace/46.8652d978a45ce5ab.js +1 -0
  8. package/Marketplace/472.519965afdb7a160d.js +1 -0
  9. package/Marketplace/512.eddb4675a9016de6.js +1 -0
  10. package/Marketplace/518.aff0cf9876e146d2.js +1 -0
  11. package/Marketplace/585.c93552ac67f4550c.js +1 -0
  12. package/Marketplace/6.fc79ecc0c0a33462.js +1 -0
  13. package/Marketplace/616.507588c0a5d7b9e1.js +1 -0
  14. package/Marketplace/717.62ca448a74adc1c2.js +1 -0
  15. package/Marketplace/739.82b92600f9519019.js +1 -0
  16. package/Marketplace/763.42fa4c0d665819d3.js +1 -0
  17. package/Marketplace/767.0ce42314dea8dfea.js +1 -0
  18. package/Marketplace/796.3be8ad424aad7864.js +1 -0
  19. package/Marketplace/common.34d3e7dcd2b85c7a.js +1 -0
  20. package/Marketplace/index.html +22 -23
  21. package/Marketplace/main.6481a1f35d927562.js +1 -0
  22. package/Marketplace/polyfills.8d85b0533e3f867a.js +1 -0
  23. package/Marketplace/runtime.ba5c4b46d4312c5e.js +1 -0
  24. package/Marketplace/scripts.512baec01df5d79f.js +1 -0
  25. package/Marketplace/styles.d8aa52b2e9cd02ae.css +39 -0
  26. package/package.json +1 -1
  27. package/Marketplace/common.js +0 -46
  28. package/Marketplace/common.js.map +0 -1
  29. package/Marketplace/default-node_modules_angular_forms_fesm2020_forms_mjs.js +0 -9551
  30. package/Marketplace/default-node_modules_angular_forms_fesm2020_forms_mjs.js.map +0 -1
  31. package/Marketplace/default-node_modules_angular_material_fesm2020_paginator_mjs.js +0 -797
  32. package/Marketplace/default-node_modules_angular_material_fesm2020_paginator_mjs.js.map +0 -1
  33. package/Marketplace/default-node_modules_ng-select_ng-select_fesm2020_ng-select-ng-select_mjs.js +0 -4632
  34. package/Marketplace/default-node_modules_ng-select_ng-select_fesm2020_ng-select-ng-select_mjs.js.map +0 -1
  35. package/Marketplace/default-src_app_menu_nav-tab_nav-tab_component_ts-node_modules_angular_material_fesm2020_date-e7a231.js +0 -6836
  36. package/Marketplace/default-src_app_menu_nav-tab_nav-tab_component_ts-node_modules_angular_material_fesm2020_date-e7a231.js.map +0 -1
  37. package/Marketplace/default-src_app_menu_nav-tab_nav-tab_component_ts-node_modules_angular_material_fesm2020_slid-566c11.js +0 -722
  38. package/Marketplace/default-src_app_menu_nav-tab_nav-tab_component_ts-node_modules_angular_material_fesm2020_slid-566c11.js.map +0 -1
  39. package/Marketplace/default-src_app_sharing-module_datepicker_datepicker_component_ts.js +0 -19951
  40. package/Marketplace/default-src_app_sharing-module_datepicker_datepicker_component_ts.js.map +0 -1
  41. package/Marketplace/main.js +0 -617
  42. package/Marketplace/main.js.map +0 -1
  43. package/Marketplace/polyfills.js +0 -3398
  44. package/Marketplace/polyfills.js.map +0 -1
  45. package/Marketplace/runtime.js +0 -346
  46. package/Marketplace/runtime.js.map +0 -1
  47. package/Marketplace/scripts.js +0 -2634
  48. package/Marketplace/scripts.js.map +0 -1
  49. package/Marketplace/src_app_login_login_module_ts.js +0 -538
  50. package/Marketplace/src_app_login_login_module_ts.js.map +0 -1
  51. package/Marketplace/src_app_menu_ReportOrder_report_module_ts.js +0 -1060
  52. package/Marketplace/src_app_menu_ReportOrder_report_module_ts.js.map +0 -1
  53. package/Marketplace/src_app_menu_channels_channels_module_ts.js +0 -9710
  54. package/Marketplace/src_app_menu_channels_channels_module_ts.js.map +0 -1
  55. package/Marketplace/src_app_menu_inventory_inventory_module_ts.js +0 -1069
  56. package/Marketplace/src_app_menu_inventory_inventory_module_ts.js.map +0 -1
  57. package/Marketplace/src_app_menu_logistic_logistic_module_ts.js +0 -232
  58. package/Marketplace/src_app_menu_logistic_logistic_module_ts.js.map +0 -1
  59. package/Marketplace/src_app_menu_menu_module_ts.js +0 -38973
  60. package/Marketplace/src_app_menu_menu_module_ts.js.map +0 -1
  61. package/Marketplace/src_app_menu_notification_notification_module_ts.js +0 -192
  62. package/Marketplace/src_app_menu_notification_notification_module_ts.js.map +0 -1
  63. package/Marketplace/src_app_menu_object-log_logs_module_ts.js +0 -1997
  64. package/Marketplace/src_app_menu_object-log_logs_module_ts.js.map +0 -1
  65. package/Marketplace/src_app_menu_orders_orders_module_ts.js +0 -2449
  66. package/Marketplace/src_app_menu_orders_orders_module_ts.js.map +0 -1
  67. package/Marketplace/src_app_menu_price_price_module_ts.js +0 -1713
  68. package/Marketplace/src_app_menu_price_price_module_ts.js.map +0 -1
  69. package/Marketplace/src_app_menu_products_product_module_ts.js +0 -2196
  70. package/Marketplace/src_app_menu_products_product_module_ts.js.map +0 -1
  71. package/Marketplace/styles.css +0 -30612
  72. package/Marketplace/styles.css.map +0 -1
  73. package/Marketplace/vendor.js +0 -71753
  74. package/Marketplace/vendor.js.map +0 -1
@@ -1,617 +0,0 @@
1
- "use strict";
2
- (self["webpackChunkpos_marketplace"] = self["webpackChunkpos_marketplace"] || []).push([["main"],{
3
-
4
- /***/ 158:
5
- /*!***************************************!*\
6
- !*** ./src/app/app-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 */ "AppRoutingModule": () => (/* binding */ AppRoutingModule)
13
- /* harmony export */ });
14
- /* harmony import */ var _angular_router__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/router */ 124);
15
- /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ 2560);
16
-
17
-
18
-
19
- const routes = [
20
- { path: '', loadChildren: () => Promise.all(/*! import() */[__webpack_require__.e("default-node_modules_angular_forms_fesm2020_forms_mjs"), __webpack_require__.e("common"), __webpack_require__.e("src_app_login_login_module_ts")]).then(__webpack_require__.bind(__webpack_require__, /*! ./login/login.module */ 107)).then(m => m.LoginModule) },
21
- { path: 'menu', loadChildren: () => Promise.all(/*! import() */[__webpack_require__.e("default-node_modules_angular_forms_fesm2020_forms_mjs"), __webpack_require__.e("src_app_menu_menu_module_ts")]).then(__webpack_require__.bind(__webpack_require__, /*! ./menu/menu.module */ 2825)).then(m => m.MenuModule) },
22
- { path: '**', redirectTo: '', pathMatch: 'full' }
23
- ];
24
- class AppRoutingModule {
25
- }
26
- AppRoutingModule.ɵfac = function AppRoutingModule_Factory(t) { return new (t || AppRoutingModule)(); };
27
- AppRoutingModule.ɵmod = /*@__PURE__*/ _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineNgModule"]({ type: AppRoutingModule });
28
- AppRoutingModule.ɵinj = /*@__PURE__*/ _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineInjector"]({ imports: [_angular_router__WEBPACK_IMPORTED_MODULE_1__.RouterModule.forRoot(routes, { relativeLinkResolution: 'legacy' }), _angular_router__WEBPACK_IMPORTED_MODULE_1__.RouterModule] });
29
- (function () { (typeof ngJitMode === "undefined" || ngJitMode) && _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵsetNgModuleScope"](AppRoutingModule, { imports: [_angular_router__WEBPACK_IMPORTED_MODULE_1__.RouterModule], exports: [_angular_router__WEBPACK_IMPORTED_MODULE_1__.RouterModule] }); })();
30
-
31
-
32
- /***/ }),
33
-
34
- /***/ 5041:
35
- /*!**********************************!*\
36
- !*** ./src/app/app.component.ts ***!
37
- \**********************************/
38
- /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
39
-
40
- __webpack_require__.r(__webpack_exports__);
41
- /* harmony export */ __webpack_require__.d(__webpack_exports__, {
42
- /* harmony export */ "AppComponent": () => (/* binding */ AppComponent)
43
- /* harmony export */ });
44
- /* harmony import */ var _angular_router__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/router */ 124);
45
- /* harmony import */ var rxjs_operators__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! rxjs/operators */ 116);
46
- /* harmony import */ var rxjs_operators__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! rxjs/operators */ 635);
47
- /* harmony import */ var rxjs_operators__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! rxjs/operators */ 1353);
48
- /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @angular/core */ 2560);
49
- /* harmony import */ var _angular_platform_browser__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @angular/platform-browser */ 4497);
50
- /* harmony import */ var ng_http_loader__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ng-http-loader */ 6298);
51
-
52
-
53
-
54
-
55
-
56
-
57
- class AppComponent {
58
- constructor(_router, titleService, activatedRoute) {
59
- this._router = _router;
60
- this.titleService = titleService;
61
- this.activatedRoute = activatedRoute;
62
- }
63
- ngOnInit() {
64
- this.overrideDateToJsonFunction();
65
- // Dynamic Page title : https://ultimatecourses.com/blog/dynamic-page-titles-angular-2-router-events
66
- this._router.events.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_0__.filter)((event) => event instanceof _angular_router__WEBPACK_IMPORTED_MODULE_1__.NavigationEnd))
67
- .pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_2__.map)(() => this.activatedRoute), (0,rxjs_operators__WEBPACK_IMPORTED_MODULE_2__.map)((route) => {
68
- while (route.firstChild) {
69
- route = route.firstChild;
70
- }
71
- return route;
72
- }), (0,rxjs_operators__WEBPACK_IMPORTED_MODULE_0__.filter)((route) => route.outlet === 'primary'), (0,rxjs_operators__WEBPACK_IMPORTED_MODULE_3__.mergeMap)((route) => route.data))
73
- .subscribe((event) => {
74
- let webName = " | Marketplace";
75
- if (event.title == "Dealpos x Marketplace") {
76
- webName = "";
77
- }
78
- this.titleService.setTitle(event['title'] + webName);
79
- });
80
- }
81
- overrideDateToJsonFunction() {
82
- //Date json serialization override
83
- Date.prototype.toJSON = function () {
84
- let v = this.getFullYear() +
85
- '-' + pad(this.getMonth() + 1) +
86
- '-' + pad(this.getDate()) +
87
- 'T' + pad(this.getHours()) +
88
- ':' + pad(this.getMinutes()) +
89
- ':' + pad(this.getSeconds()) +
90
- '.' + '000';
91
- return v;
92
- };
93
- function pad(number) {
94
- if (number < 10) {
95
- return '0' + number;
96
- }
97
- return number;
98
- }
99
- }
100
- }
101
- AppComponent.ɵfac = function AppComponent_Factory(t) { return new (t || AppComponent)(_angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵdirectiveInject"](_angular_router__WEBPACK_IMPORTED_MODULE_1__.Router), _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵdirectiveInject"](_angular_platform_browser__WEBPACK_IMPORTED_MODULE_5__.Title), _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵdirectiveInject"](_angular_router__WEBPACK_IMPORTED_MODULE_1__.ActivatedRoute)); };
102
- AppComponent.ɵcmp = /*@__PURE__*/ _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵdefineComponent"]({ type: AppComponent, selectors: [["app-root"]], decls: 2, vars: 0, template: function AppComponent_Template(rf, ctx) { if (rf & 1) {
103
- _angular_core__WEBPACK_IMPORTED_MODULE_4__["ɵɵelement"](0, "router-outlet")(1, "ng-http-loader");
104
- } }, dependencies: [_angular_router__WEBPACK_IMPORTED_MODULE_1__.RouterOutlet, ng_http_loader__WEBPACK_IMPORTED_MODULE_6__.NgHttpLoaderComponent], styles: ["\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsImZpbGUiOiJhcHAuY29tcG9uZW50LnNjc3MifQ== */"] });
105
-
106
-
107
- /***/ }),
108
-
109
- /***/ 6747:
110
- /*!*******************************!*\
111
- !*** ./src/app/app.module.ts ***!
112
- \*******************************/
113
- /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
114
-
115
- __webpack_require__.r(__webpack_exports__);
116
- /* harmony export */ __webpack_require__.d(__webpack_exports__, {
117
- /* harmony export */ "AppModule": () => (/* binding */ AppModule)
118
- /* harmony export */ });
119
- /* harmony import */ var _angular_platform_browser__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @angular/platform-browser */ 4497);
120
- /* harmony import */ var _angular_common_http__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @angular/common/http */ 8987);
121
- /* harmony import */ var ng_http_loader__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ng-http-loader */ 6298);
122
- /* harmony import */ var _services_http_service__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./services/http.service */ 6858);
123
- /* harmony import */ var _services_token_decode_service__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./services/token-decode.service */ 8002);
124
- /* harmony import */ var _app_routing_module__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./app-routing.module */ 158);
125
- /* harmony import */ var _app_component__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./app.component */ 5041);
126
- /* harmony import */ var _angular_platform_browser_animations__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @angular/platform-browser/animations */ 7146);
127
- /* harmony import */ var _services_token_interceptor__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./services/token.interceptor */ 3643);
128
- /* harmony import */ var ngx_toastr__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ngx-toastr */ 4817);
129
- /* harmony import */ var _sharing_module_custom_toast_custom_toast_component__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./sharing-module/custom-toast/custom-toast.component */ 3149);
130
- /* harmony import */ var ngx_indexed_db__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ngx-indexed-db */ 9879);
131
- /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @angular/core */ 2560);
132
-
133
-
134
- //spinner
135
-
136
-
137
-
138
-
139
-
140
-
141
-
142
-
143
-
144
-
145
-
146
-
147
-
148
-
149
- const dbConfig = {
150
- name: 'MarketplaceDB',
151
- version: 1,
152
- objectStoresMeta: [{
153
- store: 'Categories',
154
- storeConfig: { keyPath: null, autoIncrement: true },
155
- storeSchema: []
156
- }]
157
- };
158
- class AppModule {
159
- }
160
- AppModule.ɵfac = function AppModule_Factory(t) { return new (t || AppModule)(); };
161
- AppModule.ɵmod = /*@__PURE__*/ _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵdefineNgModule"]({ type: AppModule, bootstrap: [_app_component__WEBPACK_IMPORTED_MODULE_3__.AppComponent] });
162
- AppModule.ɵinj = /*@__PURE__*/ _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵdefineInjector"]({ providers: [{
163
- provide: _angular_common_http__WEBPACK_IMPORTED_MODULE_7__.HTTP_INTERCEPTORS,
164
- useClass: _services_token_interceptor__WEBPACK_IMPORTED_MODULE_4__.TokenInterceptor,
165
- multi: true
166
- }, _services_http_service__WEBPACK_IMPORTED_MODULE_0__.HttpService, _services_token_decode_service__WEBPACK_IMPORTED_MODULE_1__.TokenDecodeService], imports: [_angular_platform_browser__WEBPACK_IMPORTED_MODULE_8__.BrowserModule,
167
- _app_routing_module__WEBPACK_IMPORTED_MODULE_2__.AppRoutingModule,
168
- _angular_platform_browser_animations__WEBPACK_IMPORTED_MODULE_9__.BrowserAnimationsModule,
169
- ngx_toastr__WEBPACK_IMPORTED_MODULE_10__.ToastrModule.forRoot({
170
- toastComponent: _sharing_module_custom_toast_custom_toast_component__WEBPACK_IMPORTED_MODULE_5__.CustomToastComponent,
171
- positionClass: "toast-bottom-right",
172
- closeButton: true
173
- }),
174
- _angular_common_http__WEBPACK_IMPORTED_MODULE_7__.HttpClientModule,
175
- ngx_indexed_db__WEBPACK_IMPORTED_MODULE_11__.NgxIndexedDBModule.forRoot(dbConfig),
176
- ng_http_loader__WEBPACK_IMPORTED_MODULE_12__.NgHttpLoaderModule.forRoot()] });
177
- (function () { (typeof ngJitMode === "undefined" || ngJitMode) && _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵsetNgModuleScope"](AppModule, { declarations: [_app_component__WEBPACK_IMPORTED_MODULE_3__.AppComponent,
178
- _sharing_module_custom_toast_custom_toast_component__WEBPACK_IMPORTED_MODULE_5__.CustomToastComponent], imports: [_angular_platform_browser__WEBPACK_IMPORTED_MODULE_8__.BrowserModule,
179
- _app_routing_module__WEBPACK_IMPORTED_MODULE_2__.AppRoutingModule,
180
- _angular_platform_browser_animations__WEBPACK_IMPORTED_MODULE_9__.BrowserAnimationsModule, ngx_toastr__WEBPACK_IMPORTED_MODULE_10__.ToastrModule, _angular_common_http__WEBPACK_IMPORTED_MODULE_7__.HttpClientModule, ngx_indexed_db__WEBPACK_IMPORTED_MODULE_11__.NgxIndexedDBModule, ng_http_loader__WEBPACK_IMPORTED_MODULE_12__.NgHttpLoaderModule] }); })();
181
-
182
-
183
- /***/ }),
184
-
185
- /***/ 6858:
186
- /*!******************************************!*\
187
- !*** ./src/app/services/http.service.ts ***!
188
- \******************************************/
189
- /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
190
-
191
- __webpack_require__.r(__webpack_exports__);
192
- /* harmony export */ __webpack_require__.d(__webpack_exports__, {
193
- /* harmony export */ "HttpService": () => (/* binding */ HttpService)
194
- /* harmony export */ });
195
- /* harmony import */ var rxjs__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! rxjs */ 6317);
196
- /* harmony import */ var rxjs__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! rxjs */ 833);
197
- /* harmony import */ var rxjs_operators__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! rxjs/operators */ 7580);
198
- /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @angular/core */ 2560);
199
- /* harmony import */ var _angular_common_http__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @angular/common/http */ 8987);
200
- /* harmony import */ var ngx_toastr__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ngx-toastr */ 4817);
201
-
202
-
203
-
204
-
205
-
206
- class HttpService {
207
- constructor(http, toastr) {
208
- this.http = http;
209
- this.toastr = toastr;
210
- this._serverUrl = "";
211
- this.currentRequest = new rxjs__WEBPACK_IMPORTED_MODULE_0__.BehaviorSubject(0);
212
- }
213
- get serverUrl() {
214
- return this._serverUrl;
215
- }
216
- set serverUrl(value) {
217
- this._serverUrl = value;
218
- }
219
- addRequest() {
220
- this.currentRequest.next(this.currentRequest.value + 1);
221
- }
222
- removeRequest() {
223
- this.currentRequest.next(this.currentRequest.value - 1);
224
- }
225
- post(url, data, time = 100000) {
226
- return new rxjs__WEBPACK_IMPORTED_MODULE_1__.Observable((observer) => {
227
- this.addRequest();
228
- this.http
229
- .post(url, data)
230
- .pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_2__.timeout)(time))
231
- .subscribe((result) => {
232
- this.removeRequest();
233
- observer.next(result);
234
- observer.complete();
235
- }, (err) => {
236
- //Exception Handling
237
- this.removeRequest();
238
- if (err.status == 200) {
239
- //when Response is not application/json ex: some API return text/csv
240
- observer.next(err.error.text);
241
- observer.complete();
242
- }
243
- else {
244
- let unauthorized = this.unauthorizedErrorHandling(err);
245
- if (!unauthorized) {
246
- let errMessage = this.errorMessageHandling(err);
247
- this.toastr.error(errMessage.message != ""
248
- ? errMessage.message
249
- : "An unknown error has occured!", errMessage.header, { enableHtml: true });
250
- }
251
- observer.error(err);
252
- }
253
- });
254
- });
255
- }
256
- unauthorizedErrorHandling(err) {
257
- let retVal = false;
258
- if (err.status == 401) {
259
- //Unauthorized Error Handling
260
- let token = localStorage.getItem("Token");
261
- if (token) {
262
- window.location.href = "/A/Unauthorized/Main/Unauthorized";
263
- }
264
- else {
265
- //redirect to Login page if there is no JWT TOKEN available
266
- window.location.href = "/";
267
- }
268
- retVal = true;
269
- }
270
- return retVal;
271
- }
272
- errorMessageHandling(err) {
273
- let header = "API Error";
274
- let message = "Exception Message";
275
- if (err.error) {
276
- //Handle 4XX error and 5XX Error
277
- header = "API Error - " + err.status;
278
- if (err.error.Message) {
279
- if (err.error.Message.indexOf("Message") != -1) {
280
- let msg = JSON.parse(err.error.Message);
281
- message = msg.Message;
282
- }
283
- else {
284
- message = err.error.Message;
285
- }
286
- }
287
- }
288
- else {
289
- if (err.message) {
290
- //Handle timeout scenario we do not receive HTTP StatusCode
291
- header = "API Error - " + err.name;
292
- message = err.message;
293
- }
294
- }
295
- return { header: header, message: message };
296
- }
297
- }
298
- HttpService.ɵfac = function HttpService_Factory(t) { return new (t || HttpService)(_angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵinject"](_angular_common_http__WEBPACK_IMPORTED_MODULE_4__.HttpClient), _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵinject"](ngx_toastr__WEBPACK_IMPORTED_MODULE_5__.ToastrService)); };
299
- HttpService.ɵprov = /*@__PURE__*/ _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵdefineInjectable"]({ token: HttpService, factory: HttpService.ɵfac, providedIn: "root" });
300
-
301
-
302
- /***/ }),
303
-
304
- /***/ 8002:
305
- /*!**************************************************!*\
306
- !*** ./src/app/services/token-decode.service.ts ***!
307
- \**************************************************/
308
- /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
309
-
310
- __webpack_require__.r(__webpack_exports__);
311
- /* harmony export */ __webpack_require__.d(__webpack_exports__, {
312
- /* harmony export */ "TokenDecodeService": () => (/* binding */ TokenDecodeService)
313
- /* harmony export */ });
314
- /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ 2560);
315
-
316
- class TokenDecodeService {
317
- constructor() { }
318
- GetNamePOS() {
319
- let jsontoken = JSON.parse(window.localStorage.getItem('user'));
320
- return this.ParseToken(jsontoken.Token.access_token);
321
- }
322
- ParseToken(token) {
323
- try {
324
- // Get Token Header
325
- const base64HeaderUrl = token.split('.')[0];
326
- const base64Header = base64HeaderUrl.replace('-', '+').replace('_', '/');
327
- const headerData = JSON.parse(window.atob(base64Header));
328
- // Get Token payload and date's
329
- const base64Url = token.split('.')[1];
330
- const base64 = base64Url.replace('-', '+').replace('_', '/');
331
- const dataJWT = JSON.parse(window.atob(base64));
332
- dataJWT.header = headerData;
333
- // TODO: add expiration at check ...
334
- return dataJWT;
335
- }
336
- catch (err) {
337
- return false;
338
- }
339
- }
340
- }
341
- TokenDecodeService.ɵfac = function TokenDecodeService_Factory(t) { return new (t || TokenDecodeService)(); };
342
- TokenDecodeService.ɵprov = /*@__PURE__*/ _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineInjectable"]({ token: TokenDecodeService, factory: TokenDecodeService.ɵfac, providedIn: 'root' });
343
-
344
-
345
- /***/ }),
346
-
347
- /***/ 3643:
348
- /*!***********************************************!*\
349
- !*** ./src/app/services/token.interceptor.ts ***!
350
- \***********************************************/
351
- /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
352
-
353
- __webpack_require__.r(__webpack_exports__);
354
- /* harmony export */ __webpack_require__.d(__webpack_exports__, {
355
- /* harmony export */ "TokenInterceptor": () => (/* binding */ TokenInterceptor)
356
- /* harmony export */ });
357
- /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ 2560);
358
- /* harmony import */ var _angular_router__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/router */ 124);
359
-
360
-
361
- class TokenInterceptor {
362
- constructor(_router) {
363
- this._router = _router;
364
- }
365
- intercept(request, next) {
366
- let jsontoken = JSON.parse(window.localStorage.getItem('user'));
367
- let now = new Date();
368
- if (jsontoken != null) {
369
- let expired = new Date(jsontoken.Token.expiredAt);
370
- if (now < expired) {
371
- request = request.clone({
372
- setHeaders: {
373
- 'Content-Type': 'application/json',
374
- Authorization: `Bearer ${jsontoken.Token.access_token}`
375
- }
376
- });
377
- }
378
- else {
379
- request = request.clone({
380
- setHeaders: {
381
- 'Content-Type': 'application/json'
382
- }
383
- });
384
- }
385
- }
386
- else {
387
- request = request.clone({
388
- setHeaders: {
389
- 'Content-Type': 'application/json'
390
- }
391
- });
392
- }
393
- return next.handle(request);
394
- }
395
- }
396
- TokenInterceptor.ɵfac = function TokenInterceptor_Factory(t) { return new (t || TokenInterceptor)(_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵinject"](_angular_router__WEBPACK_IMPORTED_MODULE_1__.Router)); };
397
- TokenInterceptor.ɵprov = /*@__PURE__*/ _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineInjectable"]({ token: TokenInterceptor, factory: TokenInterceptor.ɵfac });
398
-
399
-
400
- /***/ }),
401
-
402
- /***/ 3149:
403
- /*!***********************************************************************!*\
404
- !*** ./src/app/sharing-module/custom-toast/custom-toast.component.ts ***!
405
- \***********************************************************************/
406
- /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
407
-
408
- __webpack_require__.r(__webpack_exports__);
409
- /* harmony export */ __webpack_require__.d(__webpack_exports__, {
410
- /* harmony export */ "CustomToastComponent": () => (/* binding */ CustomToastComponent)
411
- /* harmony export */ });
412
- /* harmony import */ var _angular_animations__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @angular/animations */ 4851);
413
- /* harmony import */ var ngx_toastr__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ngx-toastr */ 4817);
414
- /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ 2560);
415
- /* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @angular/common */ 4666);
416
-
417
-
418
-
419
-
420
-
421
- const _c0 = ["custom-toast-component", ""];
422
- function CustomToastComponent_div_1_a_6_Template(rf, ctx) { if (rf & 1) {
423
- const _r7 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵgetCurrentView"]();
424
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "a", 10);
425
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("click", function CustomToastComponent_div_1_a_6_Template_a_click_0_listener() { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r7); const ctx_r6 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](2); return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵresetView"](ctx_r6.remove()); });
426
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](1, " x ");
427
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
428
- } }
429
- function CustomToastComponent_div_1_Template(rf, ctx) { if (rf & 1) {
430
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "div", 6)(1, "div", 7)(2, "div")(3, "h4");
431
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](4);
432
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]()()();
433
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](5, "div", 8);
434
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](6, CustomToastComponent_div_1_a_6_Template, 2, 0, "a", 9);
435
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]()();
436
- } if (rf & 2) {
437
- const ctx_r0 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();
438
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵstyleProp"]("display", ctx_r0.state.value === "inactive" ? "none" : "");
439
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
440
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵclassMap"](ctx_r0.options.titleClass);
441
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵattribute"]("aria-label", ctx_r0.title);
442
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
443
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](ctx_r0.title);
444
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
445
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", ctx_r0.options.closeButton);
446
- } }
447
- const _c1 = function (a0) { return { "notitle": a0 }; };
448
- function CustomToastComponent_div_2_Template(rf, ctx) { if (rf & 1) {
449
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](0, "div", 11);
450
- } if (rf & 2) {
451
- const ctx_r1 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();
452
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵclassMap"](ctx_r1.options.messageClass);
453
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngClass", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpureFunction1"](4, _c1, ctx_r1.title == null))("innerHTML", ctx_r1.message, _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵsanitizeHtml"]);
454
- } }
455
- function CustomToastComponent_div_3_Template(rf, ctx) { if (rf & 1) {
456
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "div", 12);
457
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](1);
458
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
459
- } if (rf & 2) {
460
- const ctx_r2 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();
461
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵclassMap"](ctx_r2.options.messageClass);
462
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngClass", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpureFunction1"](5, _c1, ctx_r2.title == null));
463
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵattribute"]("aria-label", ctx_r2.message);
464
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
465
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate1"](" ", ctx_r2.message, " ");
466
- } }
467
- function CustomToastComponent_a_4_Template(rf, ctx) { if (rf & 1) {
468
- const _r9 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵgetCurrentView"]();
469
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "a", 10);
470
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("click", function CustomToastComponent_a_4_Template_a_click_0_listener() { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r9); const ctx_r8 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](); return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵresetView"](ctx_r8.remove()); });
471
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](1, " x ");
472
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
473
- } }
474
- function CustomToastComponent_div_5_Template(rf, ctx) { if (rf & 1) {
475
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "div");
476
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](1, "div", 13);
477
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
478
- } if (rf & 2) {
479
- const ctx_r4 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();
480
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
481
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵstyleProp"]("width", ctx_r4.width + "%");
482
- } }
483
- class CustomToastComponent extends ngx_toastr__WEBPACK_IMPORTED_MODULE_1__.Toast {
484
- // constructor is only necessary when not using AoT
485
- constructor(toastrService, toastPackage) {
486
- super(toastrService, toastPackage);
487
- this.toastrService = toastrService;
488
- this.toastPackage = toastPackage;
489
- }
490
- ngOnInit() {
491
- //Called after the constructor, initializing input properties, and the first call to ngOnChanges.
492
- //Add 'implements OnInit' to the class.
493
- }
494
- action(event) {
495
- event.stopPropagation();
496
- this.toastPackage.triggerAction();
497
- return false;
498
- }
499
- }
500
- CustomToastComponent.ɵfac = function CustomToastComponent_Factory(t) { return new (t || CustomToastComponent)(_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](ngx_toastr__WEBPACK_IMPORTED_MODULE_1__.ToastrService), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](ngx_toastr__WEBPACK_IMPORTED_MODULE_1__.ToastPackage)); };
501
- CustomToastComponent.ɵcmp = /*@__PURE__*/ _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineComponent"]({ type: CustomToastComponent, selectors: [["", "custom-toast-component", ""]], features: [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵInheritDefinitionFeature"]], attrs: _c0, decls: 6, vars: 5, consts: [[1, "toast-case"], ["class", "row toast-header", 3, "display", 4, "ngIf"], ["class", "row toast-body", "role", "alert", "aria-live", "polite", 3, "ngClass", "class", "innerHTML", 4, "ngIf"], ["class", "row toast-body", "role", "alert", "aria-live", "polite", 3, "ngClass", "class", 4, "ngIf"], ["class", "btn toast-close-button btn-sm ", 3, "click", 4, "ngIf"], [4, "ngIf"], [1, "row", "toast-header"], [1, "col-9", "px-0"], [1, "col-auto", "mt-5", "pe-0"], ["class", "btn toast-close-button btn-sm", 3, "click", 4, "ngIf"], [1, "btn", "toast-close-button", "btn-sm", 3, "click"], ["role", "alert", "aria-live", "polite", 1, "row", "toast-body", 3, "ngClass", "innerHTML"], ["role", "alert", "aria-live", "polite", 1, "row", "toast-body", 3, "ngClass"], [1, "toast-progress"]], template: function CustomToastComponent_Template(rf, ctx) { if (rf & 1) {
502
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "div", 0);
503
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](1, CustomToastComponent_div_1_Template, 7, 7, "div", 1);
504
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](2, CustomToastComponent_div_2_Template, 1, 6, "div", 2);
505
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](3, CustomToastComponent_div_3_Template, 2, 7, "div", 3);
506
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](4, CustomToastComponent_a_4_Template, 2, 0, "a", 4);
507
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](5, CustomToastComponent_div_5_Template, 2, 2, "div", 5);
508
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
509
- } if (rf & 2) {
510
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
511
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", ctx.title);
512
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
513
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", ctx.message && ctx.options.enableHtml);
514
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
515
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", ctx.message && !ctx.options.enableHtml);
516
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
517
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", ctx.options.closeButton && ctx.title == null);
518
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
519
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", ctx.options.progressBar);
520
- } }, dependencies: [_angular_common__WEBPACK_IMPORTED_MODULE_2__.NgClass, _angular_common__WEBPACK_IMPORTED_MODULE_2__.NgIf], styles: ["[_nghost-%COMP%] {\n background-color: white;\n position: relative;\n overflow: hidden;\n margin: 0 0 6px;\n width: 300px;\n border-radius: 3px 3px 3px 3px;\n color: #141414;\n pointer-events: all;\n cursor: pointer;\n}\n\n.toast-success[_nghost-%COMP%] {\n border: 1.8px solid rgb(81, 163, 81);\n}\n\n.toast-info[_nghost-%COMP%] {\n border: 1.8px solid rgb(47, 150, 180);\n}\n\n.toast-error[_nghost-%COMP%] {\n border: 1.8px solid rgb(189, 54, 47);\n}\n\n.toast-warning[_nghost-%COMP%] {\n border: 1.8px solid rgb(248, 148, 6);\n}\n\n.toast-case[_ngcontent-%COMP%] {\n margin-left: 10px;\n}\n\n.toast-header[_ngcontent-%COMP%] {\n background-clip: padding-box;\n border-bottom: solid;\n border-width: 1px;\n padding-bottom: 0rem;\n padding-top: 0rem;\n padding-right: 0px;\n}\n\n.toast-title[_ngcontent-%COMP%] {\n color: black;\n}\n\n.toast-body[_ngcontent-%COMP%] {\n padding-top: 0.6rem;\n}\n\n.notitle[_ngcontent-%COMP%] {\n margin-bottom: -1rem;\n}\n\n.toast-close-button-custom[_ngcontent-%COMP%] {\n right: 0.2em !important;\n top: -1.3em !important;\n}\n\n.toast-close-button-notitle[_ngcontent-%COMP%] {\n right: 0.1em !important;\n top: -1.3em !important;\n}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImN1c3RvbS10b2FzdC5jb21wb25lbnQuc2NzcyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTtFQUNJLHVCQUFBO0VBQ0Esa0JBQUE7RUFDQSxnQkFBQTtFQUNBLGVBQUE7RUFDQSxZQUFBO0VBQ0EsOEJBQUE7RUFDQSxjQUFBO0VBQ0EsbUJBQUE7RUFDQSxlQUFBO0FBQ0o7O0FBRUk7RUFDSSxvQ0FBQTtBQUNSOztBQUNJO0VBQ0kscUNBQUE7QUFFUjs7QUFBSTtFQUNJLG9DQUFBO0FBR1I7O0FBREk7RUFDSSxvQ0FBQTtBQUlSOztBQURFO0VBQ0UsaUJBQUE7QUFJSjs7QUFERTtFQUNFLDRCQUFBO0VBQ0Esb0JBQUE7RUFDQSxpQkFBQTtFQUNBLG9CQUFBO0VBQ0EsaUJBQUE7RUFDQSxrQkFBQTtBQUlKOztBQURFO0VBQ0ksWUFBQTtBQUlOOztBQURFO0VBQ0UsbUJBQUE7QUFJSjs7QUFERTtFQUNFLG9CQUFBO0FBSUo7O0FBREU7RUFDRSx1QkFBQTtFQUNBLHNCQUFBO0FBSUo7O0FBREU7RUFDQSx1QkFBQTtFQUNBLHNCQUFBO0FBSUYiLCJmaWxlIjoiY3VzdG9tLXRvYXN0LmNvbXBvbmVudC5zY3NzIiwic291cmNlc0NvbnRlbnQiOlsiOmhvc3Qge1xyXG4gICAgYmFja2dyb3VuZC1jb2xvcjogd2hpdGU7XHJcbiAgICBwb3NpdGlvbjogcmVsYXRpdmU7XHJcbiAgICBvdmVyZmxvdzogaGlkZGVuO1xyXG4gICAgbWFyZ2luOiAwIDAgNnB4O1xyXG4gICAgd2lkdGg6IDMwMHB4O1xyXG4gICAgYm9yZGVyLXJhZGl1czogM3B4IDNweCAzcHggM3B4O1xyXG4gICAgY29sb3I6ICMxNDE0MTQ7XHJcbiAgICBwb2ludGVyLWV2ZW50czogYWxsO1xyXG4gICAgY3Vyc29yOiBwb2ludGVyO1xyXG4gICAgfVxyXG5cclxuICAgIDpob3N0KC50b2FzdC1zdWNjZXNzKXtcclxuICAgICAgICBib3JkZXI6IDEuOHB4IHNvbGlkIHJnYig4MSwgMTYzLCA4MSk7XHJcbiAgICB9XHJcbiAgICA6aG9zdCgudG9hc3QtaW5mbyl7XHJcbiAgICAgICAgYm9yZGVyOiAxLjhweCBzb2xpZCByZ2IoNDcsIDE1MCwgMTgwKTtcclxuICAgIH1cclxuICAgIDpob3N0KC50b2FzdC1lcnJvcil7XHJcbiAgICAgICAgYm9yZGVyOiAxLjhweCBzb2xpZCByZ2IoMTg5LCA1NCwgNDcpO1xyXG4gICAgfVxyXG4gICAgOmhvc3QoLnRvYXN0LXdhcm5pbmcpe1xyXG4gICAgICAgIGJvcmRlcjogMS44cHggc29saWQgcmdiKDI0OCwgMTQ4LCA2KTtcclxuICAgIH1cclxuXHJcbiAgLnRvYXN0LWNhc2V7XHJcbiAgICBtYXJnaW4tbGVmdDogMTBweDtcclxuICAgIH1cclxuXHJcbiAgLnRvYXN0LWhlYWRlciB7XHJcbiAgICBiYWNrZ3JvdW5kLWNsaXA6IHBhZGRpbmctYm94O1xyXG4gICAgYm9yZGVyLWJvdHRvbTogc29saWQgO1xyXG4gICAgYm9yZGVyLXdpZHRoOiAxcHg7XHJcbiAgICBwYWRkaW5nLWJvdHRvbTogMHJlbTtcclxuICAgIHBhZGRpbmctdG9wOiAwcmVtO1xyXG4gICAgcGFkZGluZy1yaWdodDogMHB4O1xyXG4gIH1cclxuXHJcbiAgLnRvYXN0LXRpdGxlIHtcclxuICAgICAgY29sb3I6IGJsYWNrO1xyXG4gIH1cclxuICBcclxuICAudG9hc3QtYm9keSB7XHJcbiAgICBwYWRkaW5nLXRvcDogMC42cmVtO1xyXG4gIH1cclxuICBcclxuICAubm90aXRsZSB7XHJcbiAgICBtYXJnaW4tYm90dG9tOiAtMXJlbTtcclxuICB9XHJcbiAgXHJcbiAgLnRvYXN0LWNsb3NlLWJ1dHRvbi1jdXN0b20ge1xyXG4gICAgcmlnaHQ6IDAuMmVtICFpbXBvcnRhbnQ7IFxyXG4gICAgdG9wOiAtMS4zZW0gIWltcG9ydGFudDtcclxuICB9XHJcbiAgXHJcbiAgLnRvYXN0LWNsb3NlLWJ1dHRvbi1ub3RpdGxlIHtcclxuICByaWdodDogMC4xZW0gIWltcG9ydGFudDtcclxuICB0b3A6IC0xLjNlbSAhaW1wb3J0YW50XHJcbiAgfVxyXG4gICJdfQ== */"], data: { animation: [
521
- (0,_angular_animations__WEBPACK_IMPORTED_MODULE_3__.trigger)('flyInOut', [
522
- (0,_angular_animations__WEBPACK_IMPORTED_MODULE_3__.state)('inactive', (0,_angular_animations__WEBPACK_IMPORTED_MODULE_3__.style)({
523
- opacity: 0,
524
- })),
525
- (0,_angular_animations__WEBPACK_IMPORTED_MODULE_3__.transition)('inactive => active', (0,_angular_animations__WEBPACK_IMPORTED_MODULE_3__.animate)('400ms ease-out', (0,_angular_animations__WEBPACK_IMPORTED_MODULE_3__.keyframes)([
526
- (0,_angular_animations__WEBPACK_IMPORTED_MODULE_3__.style)({
527
- transform: 'translate3d(100%, 0, 0) skewX(-30deg)',
528
- opacity: 0,
529
- }),
530
- (0,_angular_animations__WEBPACK_IMPORTED_MODULE_3__.style)({
531
- transform: 'skewX(20deg)',
532
- opacity: 1,
533
- }),
534
- (0,_angular_animations__WEBPACK_IMPORTED_MODULE_3__.style)({
535
- transform: 'skewX(-5deg)',
536
- opacity: 1,
537
- }),
538
- (0,_angular_animations__WEBPACK_IMPORTED_MODULE_3__.style)({
539
- transform: 'none',
540
- opacity: 1,
541
- }),
542
- ]))),
543
- (0,_angular_animations__WEBPACK_IMPORTED_MODULE_3__.transition)('active => removed', (0,_angular_animations__WEBPACK_IMPORTED_MODULE_3__.animate)('400ms ease-out', (0,_angular_animations__WEBPACK_IMPORTED_MODULE_3__.keyframes)([
544
- (0,_angular_animations__WEBPACK_IMPORTED_MODULE_3__.style)({
545
- opacity: 1,
546
- }),
547
- (0,_angular_animations__WEBPACK_IMPORTED_MODULE_3__.style)({
548
- transform: 'translate3d(100%, 0, 0) skewX(30deg)',
549
- opacity: 0,
550
- }),
551
- ]))),
552
- ]),
553
- ] } });
554
-
555
-
556
- /***/ }),
557
-
558
- /***/ 2340:
559
- /*!*****************************************!*\
560
- !*** ./src/environments/environment.ts ***!
561
- \*****************************************/
562
- /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
563
-
564
- __webpack_require__.r(__webpack_exports__);
565
- /* harmony export */ __webpack_require__.d(__webpack_exports__, {
566
- /* harmony export */ "environment": () => (/* binding */ environment)
567
- /* harmony export */ });
568
- // This file can be replaced during build by using the `fileReplacements` array.
569
- // `ng build --prod` replaces `environment.ts` with `environment.prod.ts`.
570
- // The list of file replacements can be found in `angular.json`.
571
- const environment = {
572
- production: false
573
- };
574
- /*
575
- * For easier debugging in development mode, you can import the following file
576
- * to ignore zone related error stack frames such as `zone.run`, `zoneDelegate.invokeTask`.
577
- *
578
- * This import should be commented out in production mode because it will have a negative impact
579
- * on performance if an error is thrown.
580
- */
581
- // import 'zone.js/plugins/zone-error'; // Included with Angular CLI.
582
-
583
-
584
- /***/ }),
585
-
586
- /***/ 4431:
587
- /*!*********************!*\
588
- !*** ./src/main.ts ***!
589
- \*********************/
590
- /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
591
-
592
- __webpack_require__.r(__webpack_exports__);
593
- /* harmony import */ var _angular_platform_browser__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @angular/platform-browser */ 4497);
594
- /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @angular/core */ 2560);
595
- /* harmony import */ var _app_app_module__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./app/app.module */ 6747);
596
- /* harmony import */ var _environments_environment__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./environments/environment */ 2340);
597
-
598
-
599
-
600
-
601
- if (_environments_environment__WEBPACK_IMPORTED_MODULE_1__.environment.production) {
602
- (0,_angular_core__WEBPACK_IMPORTED_MODULE_2__.enableProdMode)();
603
- }
604
- _angular_platform_browser__WEBPACK_IMPORTED_MODULE_3__.platformBrowser().bootstrapModule(_app_app_module__WEBPACK_IMPORTED_MODULE_0__.AppModule)
605
- .catch(err => console.error(err));
606
-
607
-
608
- /***/ })
609
-
610
- },
611
- /******/ __webpack_require__ => { // webpackRuntimeModules
612
- /******/ var __webpack_exec__ = (moduleId) => (__webpack_require__(__webpack_require__.s = moduleId))
613
- /******/ __webpack_require__.O(0, ["vendor"], () => (__webpack_exec__(4431)));
614
- /******/ var __webpack_exports__ = __webpack_require__.O();
615
- /******/ }
616
- ]);
617
- //# sourceMappingURL=main.js.map