vc-error-handlers 0.5.12 → 1.0.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/fesm2022/vc-error-handlers.mjs +142 -129
- package/fesm2022/vc-error-handlers.mjs.map +1 -1
- package/index.d.ts +440 -5
- package/package.json +3 -5
- package/esm2022/lib/configuration.mjs +0 -8
- package/esm2022/lib/featureFlag/feature-flag.directive.mjs +0 -27
- package/esm2022/lib/featureFlag/feature-flag.module.mjs +0 -20
- package/esm2022/lib/featureFlag/feature-flag.service.mjs +0 -98
- package/esm2022/lib/shared/components/chunk-unavailable/chunk-unavailable.component.mjs +0 -35
- package/esm2022/lib/shared/components/component-level-server-error/component-level-server-error.component.mjs +0 -64
- package/esm2022/lib/shared/components/error-modal/error-modal.component.mjs +0 -64
- package/esm2022/lib/shared/components/page-not-found/page-not-found.component.mjs +0 -120
- package/esm2022/lib/shared/components/server-error/server-error.component.mjs +0 -83
- package/esm2022/lib/shared/components/session-expired/session-expired.component.mjs +0 -35
- package/esm2022/lib/shared/components/unauthorized/unauthorized.component.mjs +0 -132
- package/esm2022/lib/shared/constants/api-config.constants.mjs +0 -942
- package/esm2022/lib/shared/constants/assets.constants.mjs +0 -7
- package/esm2022/lib/shared/constants/error-handling.constants.mjs +0 -75
- package/esm2022/lib/shared/constants/exclude-api-config.constants.mjs +0 -57
- package/esm2022/lib/shared/errorhandler/chunk-error.handler.mjs +0 -18
- package/esm2022/lib/shared/errorhandler/sentry-error.handler.mjs +0 -47
- package/esm2022/lib/shared/interceptors/http.interceptor.mjs +0 -31
- package/esm2022/lib/shared/services/global-error.service.mjs +0 -128
- package/esm2022/lib/shared/services/router.service.mjs +0 -48
- package/esm2022/lib/shared/services/util.service.mjs +0 -48
- package/esm2022/lib/shared/types/global-error.types.mjs +0 -16
- package/esm2022/lib/ui-kit/dialog/dialog-config.mjs +0 -3
- package/esm2022/lib/ui-kit/dialog/dialog-injector.mjs +0 -15
- package/esm2022/lib/ui-kit/dialog/dialog-ref.mjs +0 -13
- package/esm2022/lib/ui-kit/dialog/dialog.component.mjs +0 -85
- package/esm2022/lib/ui-kit/dialog/dialog.module.mjs +0 -21
- package/esm2022/lib/ui-kit/dialog/dialog.service.mjs +0 -52
- package/esm2022/lib/ui-kit/dialog/insertion.directive.mjs +0 -16
- package/esm2022/lib/ui-kit/snack-bar/snack-bar/snack-bar.component.mjs +0 -50
- package/esm2022/lib/ui-kit/snack-bar/snack-bar.module.mjs +0 -18
- package/esm2022/lib/ui-kit/snack-bar/snack-bar.service.mjs +0 -32
- package/esm2022/lib/ui-kit/tooltip/tooltip.directive.mjs +0 -156
- package/esm2022/lib/ui-kit/tooltip/tooltip.module.mjs +0 -18
- package/esm2022/lib/vc-error-handlers.component.mjs +0 -116
- package/esm2022/lib/vc-error-handlers.module.mjs +0 -105
- package/esm2022/lib/vc-error-handlers.service.mjs +0 -14
- package/esm2022/public-api.mjs +0 -17
- package/esm2022/vc-error-handlers.mjs +0 -5
- package/lib/configuration.d.ts +0 -6
- package/lib/featureFlag/feature-flag.directive.d.ts +0 -13
- package/lib/featureFlag/feature-flag.module.d.ts +0 -8
- package/lib/featureFlag/feature-flag.service.d.ts +0 -21
- package/lib/shared/components/chunk-unavailable/chunk-unavailable.component.d.ts +0 -20
- package/lib/shared/components/component-level-server-error/component-level-server-error.component.d.ts +0 -18
- package/lib/shared/components/error-modal/error-modal.component.d.ts +0 -21
- package/lib/shared/components/page-not-found/page-not-found.component.d.ts +0 -26
- package/lib/shared/components/server-error/server-error.component.d.ts +0 -19
- package/lib/shared/components/session-expired/session-expired.component.d.ts +0 -20
- package/lib/shared/components/unauthorized/unauthorized.component.d.ts +0 -29
- package/lib/shared/constants/api-config.constants.d.ts +0 -20
- package/lib/shared/constants/assets.constants.d.ts +0 -5
- package/lib/shared/constants/error-handling.constants.d.ts +0 -73
- package/lib/shared/constants/exclude-api-config.constants.d.ts +0 -6
- package/lib/shared/errorhandler/chunk-error.handler.d.ts +0 -7
- package/lib/shared/errorhandler/sentry-error.handler.d.ts +0 -14
- package/lib/shared/interceptors/http.interceptor.d.ts +0 -11
- package/lib/shared/services/global-error.service.d.ts +0 -33
- package/lib/shared/services/router.service.d.ts +0 -10
- package/lib/shared/services/util.service.d.ts +0 -15
- package/lib/shared/types/global-error.types.d.ts +0 -27
- package/lib/ui-kit/dialog/dialog-config.d.ts +0 -6
- package/lib/ui-kit/dialog/dialog-injector.d.ts +0 -7
- package/lib/ui-kit/dialog/dialog-ref.d.ts +0 -7
- package/lib/ui-kit/dialog/dialog.component.d.ts +0 -33
- package/lib/ui-kit/dialog/dialog.module.d.ts +0 -9
- package/lib/ui-kit/dialog/dialog.service.d.ts +0 -17
- package/lib/ui-kit/dialog/insertion.directive.d.ts +0 -8
- package/lib/ui-kit/snack-bar/snack-bar/snack-bar.component.d.ts +0 -20
- package/lib/ui-kit/snack-bar/snack-bar.module.d.ts +0 -8
- package/lib/ui-kit/snack-bar/snack-bar.service.d.ts +0 -11
- package/lib/ui-kit/tooltip/tooltip.directive.d.ts +0 -27
- package/lib/ui-kit/tooltip/tooltip.module.d.ts +0 -8
- package/lib/vc-error-handlers.component.d.ts +0 -31
- package/lib/vc-error-handlers.module.d.ts +0 -27
- package/lib/vc-error-handlers.service.d.ts +0 -6
- package/public-api.d.ts +0 -13
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import { Injectable, Optional, Component,
|
|
2
|
+
import { Injectable, Optional, Component, HostListener, Input, Directive, ViewChild, NgModule, EventEmitter, Output, InjectionToken, ErrorHandler } from '@angular/core';
|
|
3
3
|
import * as i1 from '@angular/common/http';
|
|
4
4
|
import { HttpResponse, HTTP_INTERCEPTORS } from '@angular/common/http';
|
|
5
5
|
import { Subject, throwError } from 'rxjs';
|
|
@@ -13,15 +13,15 @@ import * as Sentry from '@sentry/angular-ivy';
|
|
|
13
13
|
|
|
14
14
|
class VcErrorHandlersService {
|
|
15
15
|
constructor() { }
|
|
16
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
17
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
16
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.19", ngImport: i0, type: VcErrorHandlersService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
17
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.19", ngImport: i0, type: VcErrorHandlersService, providedIn: 'root' }); }
|
|
18
18
|
}
|
|
19
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
19
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.19", ngImport: i0, type: VcErrorHandlersService, decorators: [{
|
|
20
20
|
type: Injectable,
|
|
21
21
|
args: [{
|
|
22
22
|
providedIn: 'root'
|
|
23
23
|
}]
|
|
24
|
-
}], ctorParameters:
|
|
24
|
+
}], ctorParameters: () => [] });
|
|
25
25
|
|
|
26
26
|
var ErrorStatusCode;
|
|
27
27
|
(function (ErrorStatusCode) {
|
|
@@ -47,6 +47,13 @@ const PAGE_LEVEL_API_CONFIG = [
|
|
|
47
47
|
body: null,
|
|
48
48
|
pageCodes: ['SAP'],
|
|
49
49
|
},
|
|
50
|
+
{
|
|
51
|
+
method: 'GET',
|
|
52
|
+
path: 'compliance/?mode=reports/reportDetailsById',
|
|
53
|
+
query: null,
|
|
54
|
+
body: null,
|
|
55
|
+
pageCodes: ['SAP'],
|
|
56
|
+
},
|
|
50
57
|
];
|
|
51
58
|
const COMPONENT_LEVEL_API_CONFIG = [
|
|
52
59
|
{
|
|
@@ -1057,15 +1064,15 @@ class SnackBarService {
|
|
|
1057
1064
|
icon: '',
|
|
1058
1065
|
});
|
|
1059
1066
|
}
|
|
1060
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1061
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
1067
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.19", ngImport: i0, type: SnackBarService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1068
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.19", ngImport: i0, type: SnackBarService, providedIn: 'root' }); }
|
|
1062
1069
|
}
|
|
1063
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1070
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.19", ngImport: i0, type: SnackBarService, decorators: [{
|
|
1064
1071
|
type: Injectable,
|
|
1065
1072
|
args: [{
|
|
1066
1073
|
providedIn: 'root',
|
|
1067
1074
|
}]
|
|
1068
|
-
}], ctorParameters:
|
|
1075
|
+
}], ctorParameters: () => [] });
|
|
1069
1076
|
|
|
1070
1077
|
class UtilsService {
|
|
1071
1078
|
isJsonSubset(parentJson, subsetJson) {
|
|
@@ -1103,10 +1110,10 @@ class UtilsService {
|
|
|
1103
1110
|
isValueInArray(apiPageCodes, pageCode) {
|
|
1104
1111
|
return apiPageCodes.includes(pageCode);
|
|
1105
1112
|
}
|
|
1106
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1107
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
1113
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.19", ngImport: i0, type: UtilsService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1114
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.19", ngImport: i0, type: UtilsService, providedIn: 'root' }); }
|
|
1108
1115
|
}
|
|
1109
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1116
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.19", ngImport: i0, type: UtilsService, decorators: [{
|
|
1110
1117
|
type: Injectable,
|
|
1111
1118
|
args: [{
|
|
1112
1119
|
providedIn: 'root',
|
|
@@ -1133,7 +1140,7 @@ class GlobalErrorService {
|
|
|
1133
1140
|
const message = responseBody?.message;
|
|
1134
1141
|
const statusCode = event?.status;
|
|
1135
1142
|
if (success === false && statusCode && statusCode !== 0) {
|
|
1136
|
-
this.snackBarService.show(message || 'Error occurred', '
|
|
1143
|
+
this.snackBarService.show(message || 'Error occurred', 'alert');
|
|
1137
1144
|
}
|
|
1138
1145
|
}
|
|
1139
1146
|
handleError(error, request) {
|
|
@@ -1221,15 +1228,15 @@ class GlobalErrorService {
|
|
|
1221
1228
|
(!apiConfig.pageCodes ||
|
|
1222
1229
|
this.utilService.isValueInArray(apiConfig.pageCodes, requestDetails.pageCode || '')));
|
|
1223
1230
|
}
|
|
1224
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1225
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
1231
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.19", ngImport: i0, type: GlobalErrorService, deps: [{ token: SnackBarService }, { token: UtilsService }, { token: i3.Router }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1232
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.19", ngImport: i0, type: GlobalErrorService, providedIn: 'root' }); }
|
|
1226
1233
|
}
|
|
1227
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1234
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.19", ngImport: i0, type: GlobalErrorService, decorators: [{
|
|
1228
1235
|
type: Injectable,
|
|
1229
1236
|
args: [{
|
|
1230
1237
|
providedIn: 'root',
|
|
1231
1238
|
}]
|
|
1232
|
-
}], ctorParameters:
|
|
1239
|
+
}], ctorParameters: () => [{ type: SnackBarService }, { type: UtilsService }, { type: i3.Router }] });
|
|
1233
1240
|
|
|
1234
1241
|
const BASE_URL = 'https://cdn.v-comply.com';
|
|
1235
1242
|
const ASSETS = {
|
|
@@ -1347,21 +1354,21 @@ class RouterService {
|
|
|
1347
1354
|
}
|
|
1348
1355
|
window.location.replace(targetPath);
|
|
1349
1356
|
}
|
|
1350
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1351
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
1357
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.19", ngImport: i0, type: RouterService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1358
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.19", ngImport: i0, type: RouterService, providedIn: 'root' }); }
|
|
1352
1359
|
}
|
|
1353
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1360
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.19", ngImport: i0, type: RouterService, decorators: [{
|
|
1354
1361
|
type: Injectable,
|
|
1355
1362
|
args: [{
|
|
1356
1363
|
providedIn: 'root',
|
|
1357
1364
|
}]
|
|
1358
|
-
}], ctorParameters:
|
|
1365
|
+
}], ctorParameters: () => [] });
|
|
1359
1366
|
|
|
1360
1367
|
class Configurations {
|
|
1361
1368
|
constructor() {
|
|
1362
1369
|
this.sentryConfig = {};
|
|
1363
1370
|
this.envConfig = {};
|
|
1364
|
-
this.
|
|
1371
|
+
this.isErrorInterceptorEnabled = false;
|
|
1365
1372
|
}
|
|
1366
1373
|
}
|
|
1367
1374
|
|
|
@@ -1395,9 +1402,9 @@ class FeatureFlagService {
|
|
|
1395
1402
|
}
|
|
1396
1403
|
},
|
|
1397
1404
|
error: (err) => {
|
|
1398
|
-
reject(
|
|
1405
|
+
reject(new Error(err?.message || 'An error occurred while fetching feature flags'));
|
|
1399
1406
|
this.flagFetchError = true;
|
|
1400
|
-
console.
|
|
1407
|
+
console.error('An error occurred while fetching feature flags', err);
|
|
1401
1408
|
},
|
|
1402
1409
|
});
|
|
1403
1410
|
});
|
|
@@ -1445,17 +1452,17 @@ class FeatureFlagService {
|
|
|
1445
1452
|
return true;
|
|
1446
1453
|
}
|
|
1447
1454
|
}
|
|
1448
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1449
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
1455
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.19", ngImport: i0, type: FeatureFlagService, deps: [{ token: i1.HttpClient }, { token: i1$1.AuthorizerService }, { token: Configurations, optional: true }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1456
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.19", ngImport: i0, type: FeatureFlagService, providedIn: 'root' }); }
|
|
1450
1457
|
}
|
|
1451
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1458
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.19", ngImport: i0, type: FeatureFlagService, decorators: [{
|
|
1452
1459
|
type: Injectable,
|
|
1453
1460
|
args: [{
|
|
1454
1461
|
providedIn: 'root',
|
|
1455
1462
|
}]
|
|
1456
|
-
}], ctorParameters:
|
|
1463
|
+
}], ctorParameters: () => [{ type: i1.HttpClient }, { type: i1$1.AuthorizerService }, { type: Configurations, decorators: [{
|
|
1457
1464
|
type: Optional
|
|
1458
|
-
}] }]
|
|
1465
|
+
}] }] });
|
|
1459
1466
|
|
|
1460
1467
|
class SnackBarComponent {
|
|
1461
1468
|
constructor(snackbarService) {
|
|
@@ -1495,13 +1502,13 @@ class SnackBarComponent {
|
|
|
1495
1502
|
ngOnDestroy() {
|
|
1496
1503
|
this.snackbarSubscription.unsubscribe();
|
|
1497
1504
|
}
|
|
1498
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1499
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
1505
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.19", ngImport: i0, type: SnackBarComponent, deps: [{ token: SnackBarService }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1506
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.19", type: SnackBarComponent, isStandalone: false, selector: "app-snack-bar", ngImport: i0, template: "<div class=\"workflow-snackbar\" *ngIf=\"show\">\n <div class=\"workflow-snackbar-inner\">\n <div class=\"workflow-snackbarText\">\n <!--  -->\n <i class=\"icons\" [class]=\"type\" [innerHTML]=\"icon\"></i> <span [innerHTML]=\"message\">{{ message }}</span>\n </div>\n <button (click)=\"close()\">[ <span>Close</span> ]</button>\n </div>\n </div>", styles: ["@import\"https://cdn.v-comply.com/design-system/css/icons/icons.css\";::ng-deep .workflow-snackbar{position:fixed;top:20px;left:0;right:0;display:flex;align-items:center;justify-content:center;z-index:2147483647!important;pointer-events:none;-webkit-animation:slide-top .3s cubic-bezier(.25,.46,.45,.94) both;animation:slide-top .3s cubic-bezier(.25,.46,.45,.94) both}::ng-deep .workflow-snackbar.white{background-color:#fff;color:#000;z-index:20}::ng-deep .workflow-snackbar.white button{color:#f6882f;font-size:11px;font-weight:400;pointer-events:all}::ng-deep .workflow-snackbar .workflow-snackbar-inner{display:flex;max-width:500px;min-width:450px;align-items:center;justify-content:space-between;padding:10px;background:#fff;border-radius:3px;box-shadow:0 0 10px #0003;min-height:55px;pointer-events:auto}::ng-deep .workflow-snackbar .workflow-snackbar-inner .workflow-snackbarText{color:#161b2f;font-size:13px;display:flex;align-items:center;width:calc(100% - 70px)}::ng-deep .workflow-snackbar .workflow-snackbar-inner .workflow-snackbarText i{background:#f1f1f1;color:#d93b41;border-radius:50px;font-size:16px;width:30px;height:30px;text-align:center;line-height:28px;margin-right:10px;min-width:30px}::ng-deep .workflow-snackbar .workflow-snackbar-inner .workflow-snackbarText i.success{color:#34aa44}::ng-deep .workflow-snackbar .workflow-snackbar-inner .workflow-snackbarText i.warning{color:#f0b819}::ng-deep .workflow-snackbar .workflow-snackbar-inner .workflow-snackbarText i.info{color:#1e5dd3}::ng-deep .workflow-snackbar .workflow-snackbar-inner .workflow-snackbarText i.alert{color:#d93b41}::ng-deep .workflow-snackbar .workflow-snackbar-inner .workflow-snackbarText i.error{color:#d93b41}::ng-deep .workflow-snackbar .workflow-snackbar-inner button{background:transparent;border:none;font-size:11px;padding:0;position:relative;color:#747576;width:65px;text-align:right;cursor:pointer;text-transform:uppercase}::ng-deep .workflow-snackbar .workflow-snackbar-inner button span{color:#1e5dd3;font-weight:500}::ng-deep .workflow-snackbar .workflow-snackbar-inner button:focus{outline:none}@keyframes slide-top{0%{-webkit-transform:translateY(-100%);transform:translateY(-100%);opacity:0}to{-webkit-transform:translateY(0);transform:translateY(0);opacity:1}}\n"], dependencies: [{ kind: "directive", type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] }); }
|
|
1500
1507
|
}
|
|
1501
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1508
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.19", ngImport: i0, type: SnackBarComponent, decorators: [{
|
|
1502
1509
|
type: Component,
|
|
1503
|
-
args: [{ selector: 'app-snack-bar', template: "<div class=\"workflow-snackbar\" *ngIf=\"show\">\n <div class=\"workflow-snackbar-inner\">\n <div class=\"workflow-snackbarText\">\n <!--  -->\n <i class=\"icons\" [class]=\"type\" [innerHTML]=\"icon\"></i> <span [innerHTML]=\"message\">{{ message }}</span>\n </div>\n <button (click)=\"close()\">[ <span>Close</span> ]</button>\n </div>\n </div>", styles: ["
|
|
1504
|
-
}], ctorParameters:
|
|
1510
|
+
args: [{ standalone: false, selector: 'app-snack-bar', template: "<div class=\"workflow-snackbar\" *ngIf=\"show\">\n <div class=\"workflow-snackbar-inner\">\n <div class=\"workflow-snackbarText\">\n <!--  -->\n <i class=\"icons\" [class]=\"type\" [innerHTML]=\"icon\"></i> <span [innerHTML]=\"message\">{{ message }}</span>\n </div>\n <button (click)=\"close()\">[ <span>Close</span> ]</button>\n </div>\n </div>", styles: ["@import\"https://cdn.v-comply.com/design-system/css/icons/icons.css\";::ng-deep .workflow-snackbar{position:fixed;top:20px;left:0;right:0;display:flex;align-items:center;justify-content:center;z-index:2147483647!important;pointer-events:none;-webkit-animation:slide-top .3s cubic-bezier(.25,.46,.45,.94) both;animation:slide-top .3s cubic-bezier(.25,.46,.45,.94) both}::ng-deep .workflow-snackbar.white{background-color:#fff;color:#000;z-index:20}::ng-deep .workflow-snackbar.white button{color:#f6882f;font-size:11px;font-weight:400;pointer-events:all}::ng-deep .workflow-snackbar .workflow-snackbar-inner{display:flex;max-width:500px;min-width:450px;align-items:center;justify-content:space-between;padding:10px;background:#fff;border-radius:3px;box-shadow:0 0 10px #0003;min-height:55px;pointer-events:auto}::ng-deep .workflow-snackbar .workflow-snackbar-inner .workflow-snackbarText{color:#161b2f;font-size:13px;display:flex;align-items:center;width:calc(100% - 70px)}::ng-deep .workflow-snackbar .workflow-snackbar-inner .workflow-snackbarText i{background:#f1f1f1;color:#d93b41;border-radius:50px;font-size:16px;width:30px;height:30px;text-align:center;line-height:28px;margin-right:10px;min-width:30px}::ng-deep .workflow-snackbar .workflow-snackbar-inner .workflow-snackbarText i.success{color:#34aa44}::ng-deep .workflow-snackbar .workflow-snackbar-inner .workflow-snackbarText i.warning{color:#f0b819}::ng-deep .workflow-snackbar .workflow-snackbar-inner .workflow-snackbarText i.info{color:#1e5dd3}::ng-deep .workflow-snackbar .workflow-snackbar-inner .workflow-snackbarText i.alert{color:#d93b41}::ng-deep .workflow-snackbar .workflow-snackbar-inner .workflow-snackbarText i.error{color:#d93b41}::ng-deep .workflow-snackbar .workflow-snackbar-inner button{background:transparent;border:none;font-size:11px;padding:0;position:relative;color:#747576;width:65px;text-align:right;cursor:pointer;text-transform:uppercase}::ng-deep .workflow-snackbar .workflow-snackbar-inner button span{color:#1e5dd3;font-weight:500}::ng-deep .workflow-snackbar .workflow-snackbar-inner button:focus{outline:none}@keyframes slide-top{0%{-webkit-transform:translateY(-100%);transform:translateY(-100%);opacity:0}to{-webkit-transform:translateY(0);transform:translateY(0);opacity:1}}\n"] }]
|
|
1511
|
+
}], ctorParameters: () => [{ type: SnackBarService }] });
|
|
1505
1512
|
|
|
1506
1513
|
class ToolTipDirective {
|
|
1507
1514
|
constructor(el, renderer) {
|
|
@@ -1619,15 +1626,16 @@ class ToolTipDirective {
|
|
|
1619
1626
|
this.renderer.setStyle(this.tooltip, 'top', `${top + scrollPos}px`);
|
|
1620
1627
|
this.renderer.setStyle(this.tooltip, 'left', `${left}px`);
|
|
1621
1628
|
}
|
|
1622
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1623
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
1629
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.19", ngImport: i0, type: ToolTipDirective, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
1630
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.19", type: ToolTipDirective, isStandalone: false, selector: "[arTooltip]", inputs: { tooltipTitle: ["arTooltip", "tooltipTitle"], placement: "placement", type: "type", tooltipMandatory: "tooltipMandatory", showTooltip: "showTooltip", animate: "animate" }, host: { listeners: { "mouseenter": "onMouseEnter()", "mouseover": "onMouseOver()", "mouseleave": "onMouseLeave()", "mouseout": "onMouseOut()", "click": "onClick()" } }, ngImport: i0 }); }
|
|
1624
1631
|
}
|
|
1625
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1632
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.19", ngImport: i0, type: ToolTipDirective, decorators: [{
|
|
1626
1633
|
type: Directive,
|
|
1627
1634
|
args: [{
|
|
1635
|
+
standalone: false,
|
|
1628
1636
|
selector: '[arTooltip]',
|
|
1629
1637
|
}]
|
|
1630
|
-
}], ctorParameters:
|
|
1638
|
+
}], ctorParameters: () => [{ type: i0.ElementRef }, { type: i0.Renderer2 }], propDecorators: { tooltipTitle: [{
|
|
1631
1639
|
type: Input,
|
|
1632
1640
|
args: ['arTooltip']
|
|
1633
1641
|
}], placement: [{
|
|
@@ -1672,13 +1680,13 @@ class UnauthorizedComponent {
|
|
|
1672
1680
|
const module_name = this.route.snapshot.data['page_path'];
|
|
1673
1681
|
this.routerService.redirectToHome(module_name);
|
|
1674
1682
|
}
|
|
1675
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1676
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
1683
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.19", ngImport: i0, type: UnauthorizedComponent, deps: [{ token: i3.ActivatedRoute }, { token: RouterService }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1684
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.19", type: UnauthorizedComponent, isStandalone: false, selector: "lib-vc-error-unauthorized", ngImport: i0, template: `
|
|
1677
1685
|
<div class="errorPage">
|
|
1678
1686
|
<div class="errorPage-top" (click)="redirectToDashboard()">
|
|
1679
1687
|
<a
|
|
1680
1688
|
class="product-logo vx-d-flex vx-align-center vx-justify-center vx-mr-3"
|
|
1681
|
-
[arTooltip]="
|
|
1689
|
+
[arTooltip]="errorConfig.buttonText"
|
|
1682
1690
|
placement="right"
|
|
1683
1691
|
type="white"
|
|
1684
1692
|
delay="0"
|
|
@@ -1724,16 +1732,16 @@ class UnauthorizedComponent {
|
|
|
1724
1732
|
</div>
|
|
1725
1733
|
</div>
|
|
1726
1734
|
</div>
|
|
1727
|
-
`, isInline: true, styles: ["@import\"https://cdn.v-comply.com/design-system/css/icons/icons.css\";.errorPage{background:#161b2f;position:fixed;top:0;left:0;width:100vw;height:100vh;z-index:9999}.errorPage-top{width:100%;height:3rem;display:flex;align-items:center;padding-left:.75rem;cursor:pointer}.errorPage-container{background:#f2f2f5;border-radius:.75rem;border:1px solid #e3e3e9;box-shadow:0 4px 8px #1d5dd31a;height:calc(100vh - 3.75rem);display:flex;align-items:center;justify-content:center;padding:0 4rem;margin:0 .75rem;position:relative}.errorPage-inner{display:flex;align-items:center}.errorPage-inner-image{width:16rem}.errorPage-inner-right{margin-left:2rem;width:calc(100% - 18rem)}.errorPage-inner-right .errorPage-heading{-webkit-text-fill-color:#e3e3e9;-webkit-text-stroke-color:#a9aab6;-webkit-text-stroke-width:1px;color:#e3e3e9;font-size:78px;font-weight:700;line-height:110px;margin-bottom:1.5rem}.errorPage-inner-right .errorPage-text{color:#141724;font-size:19px;font-weight:500;line-height:1.75rem;margin-bottom:.5rem}.errorPage-inner-right .errorPage-details{color:#565a6f;font-size:13px;line-height:20px;margin-bottom:1.75rem}.errorPage-inner-right .errorPage-btn{background:#1e5dd3;border-radius:.25rem;border:none;color:#fff;display:inline-flex;align-items:center;font-size:11px;font-weight:500;line-height:2rem;padding:0 1rem}.errorPage-inner-right .errorPage-btn i{font-size:14px;margin-left:.25rem}.errorPage-copyright{font-size:11px;color:#787a8c;font-weight:500;position:absolute;bottom:8px;right:16px;line-height:16px}\n"], dependencies: [{ kind: "directive", type: i4.NgOptimizedImage, selector: "img[ngSrc]", inputs: ["ngSrc", "ngSrcset", "sizes", "width", "height", "loading", "priority", "loaderParams", "disableOptimizedSrcset", "fill", "src", "srcset"] }, { kind: "directive", type: ToolTipDirective, selector: "[arTooltip]", inputs: ["arTooltip", "placement", "type", "tooltipMandatory", "showTooltip", "animate"] }] }); }
|
|
1735
|
+
`, isInline: true, styles: ["@import\"https://cdn.v-comply.com/design-system/css/icons/icons.css\";.errorPage{background:#161b2f;position:fixed;top:0;left:0;width:100vw;height:100vh;z-index:9999}.errorPage-top{width:100%;height:3rem;display:flex;align-items:center;padding-left:.75rem;cursor:pointer}.errorPage-container{background:#f2f2f5;border-radius:.75rem;border:1px solid #e3e3e9;box-shadow:0 4px 8px #1d5dd31a;height:calc(100vh - 3.75rem);display:flex;align-items:center;justify-content:center;padding:0 4rem;margin:0 .75rem;position:relative}.errorPage-inner{display:flex;align-items:center}.errorPage-inner-image{width:16rem}.errorPage-inner-right{margin-left:2rem;width:calc(100% - 18rem)}.errorPage-inner-right .errorPage-heading{-webkit-text-fill-color:#e3e3e9;-webkit-text-stroke-color:#a9aab6;-webkit-text-stroke-width:1px;color:#e3e3e9;font-size:78px;font-weight:700;line-height:110px;margin-bottom:1.5rem}.errorPage-inner-right .errorPage-text{color:#141724;font-size:19px;font-weight:500;line-height:1.75rem;margin-bottom:.5rem}.errorPage-inner-right .errorPage-details{color:#565a6f;font-size:13px;line-height:20px;margin-bottom:1.75rem}.errorPage-inner-right .errorPage-btn{background:#1e5dd3;border-radius:.25rem;border:none;color:#fff;display:inline-flex;align-items:center;font-size:11px;font-weight:500;line-height:2rem;padding:0 1rem}.errorPage-inner-right .errorPage-btn i{font-size:14px;margin-left:.25rem}.errorPage-copyright{font-size:11px;color:#787a8c;font-weight:500;position:absolute;bottom:8px;right:16px;line-height:16px}\n"], dependencies: [{ kind: "directive", type: i4.NgOptimizedImage, selector: "img[ngSrc]", inputs: ["ngSrc", "ngSrcset", "sizes", "width", "height", "decoding", "loading", "priority", "loaderParams", "disableOptimizedSrcset", "fill", "placeholder", "placeholderConfig", "src", "srcset"] }, { kind: "directive", type: ToolTipDirective, selector: "[arTooltip]", inputs: ["arTooltip", "placement", "type", "tooltipMandatory", "showTooltip", "animate"] }] }); }
|
|
1728
1736
|
}
|
|
1729
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1737
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.19", ngImport: i0, type: UnauthorizedComponent, decorators: [{
|
|
1730
1738
|
type: Component,
|
|
1731
|
-
args: [{ selector: 'lib-vc-error-unauthorized', template: `
|
|
1739
|
+
args: [{ standalone: false, selector: 'lib-vc-error-unauthorized', template: `
|
|
1732
1740
|
<div class="errorPage">
|
|
1733
1741
|
<div class="errorPage-top" (click)="redirectToDashboard()">
|
|
1734
1742
|
<a
|
|
1735
1743
|
class="product-logo vx-d-flex vx-align-center vx-justify-center vx-mr-3"
|
|
1736
|
-
[arTooltip]="
|
|
1744
|
+
[arTooltip]="errorConfig.buttonText"
|
|
1737
1745
|
placement="right"
|
|
1738
1746
|
type="white"
|
|
1739
1747
|
delay="0"
|
|
@@ -1780,7 +1788,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
1780
1788
|
</div>
|
|
1781
1789
|
</div>
|
|
1782
1790
|
`, styles: ["@import\"https://cdn.v-comply.com/design-system/css/icons/icons.css\";.errorPage{background:#161b2f;position:fixed;top:0;left:0;width:100vw;height:100vh;z-index:9999}.errorPage-top{width:100%;height:3rem;display:flex;align-items:center;padding-left:.75rem;cursor:pointer}.errorPage-container{background:#f2f2f5;border-radius:.75rem;border:1px solid #e3e3e9;box-shadow:0 4px 8px #1d5dd31a;height:calc(100vh - 3.75rem);display:flex;align-items:center;justify-content:center;padding:0 4rem;margin:0 .75rem;position:relative}.errorPage-inner{display:flex;align-items:center}.errorPage-inner-image{width:16rem}.errorPage-inner-right{margin-left:2rem;width:calc(100% - 18rem)}.errorPage-inner-right .errorPage-heading{-webkit-text-fill-color:#e3e3e9;-webkit-text-stroke-color:#a9aab6;-webkit-text-stroke-width:1px;color:#e3e3e9;font-size:78px;font-weight:700;line-height:110px;margin-bottom:1.5rem}.errorPage-inner-right .errorPage-text{color:#141724;font-size:19px;font-weight:500;line-height:1.75rem;margin-bottom:.5rem}.errorPage-inner-right .errorPage-details{color:#565a6f;font-size:13px;line-height:20px;margin-bottom:1.75rem}.errorPage-inner-right .errorPage-btn{background:#1e5dd3;border-radius:.25rem;border:none;color:#fff;display:inline-flex;align-items:center;font-size:11px;font-weight:500;line-height:2rem;padding:0 1rem}.errorPage-inner-right .errorPage-btn i{font-size:14px;margin-left:.25rem}.errorPage-copyright{font-size:11px;color:#787a8c;font-weight:500;position:absolute;bottom:8px;right:16px;line-height:16px}\n"] }]
|
|
1783
|
-
}], ctorParameters:
|
|
1791
|
+
}], ctorParameters: () => [{ type: i3.ActivatedRoute }, { type: RouterService }] });
|
|
1784
1792
|
|
|
1785
1793
|
class DialogConfig {
|
|
1786
1794
|
}
|
|
@@ -1813,8 +1821,8 @@ class ErrorModalComponent {
|
|
|
1813
1821
|
break;
|
|
1814
1822
|
}
|
|
1815
1823
|
}
|
|
1816
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1817
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
1824
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.19", ngImport: i0, type: ErrorModalComponent, deps: [{ token: i1$1.AuthorizerService }, { token: DialogConfig }, { token: RouterService }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1825
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.19", type: ErrorModalComponent, isStandalone: false, selector: "lib-vc-error-modal", inputs: { errorType: "errorType" }, ngImport: i0, template: ` <div class="error-dialog-box">
|
|
1818
1826
|
<div class="error-dialog-box-top">{{ data.heading }}</div>
|
|
1819
1827
|
<div class="error-dialog-box-mid">
|
|
1820
1828
|
{{ data.description }}
|
|
@@ -1826,9 +1834,9 @@ class ErrorModalComponent {
|
|
|
1826
1834
|
</div>
|
|
1827
1835
|
</div>`, isInline: true, styles: [".error-dialog-box{background:#fff;border-radius:.75rem;box-shadow:0 1px 10px #0003;width:27rem}.error-dialog-box-top{color:#000;font-size:16px;font-weight:500;border-radius:.75rem .75rem 0 0;display:flex;align-items:center;height:3.375rem;padding:0 1rem;margin-bottom:1rem}.error-dialog-box-mid{color:#565a6f;font-size:13px;min-height:5.5rem;padding:0 1rem}.error-dialog-box-bottom{display:flex;justify-content:end;padding:1rem}.error-dialog-box-bottom button.logIn-btn{background:#1e5dd3;border-radius:.125rem;border:none;color:#fff;cursor:pointer;font-size:11px;height:2rem;padding:.5rem .75rem}\n"] }); }
|
|
1828
1836
|
}
|
|
1829
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1837
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.19", ngImport: i0, type: ErrorModalComponent, decorators: [{
|
|
1830
1838
|
type: Component,
|
|
1831
|
-
args: [{ selector: 'lib-vc-error-modal', template: ` <div class="error-dialog-box">
|
|
1839
|
+
args: [{ standalone: false, selector: 'lib-vc-error-modal', template: ` <div class="error-dialog-box">
|
|
1832
1840
|
<div class="error-dialog-box-top">{{ data.heading }}</div>
|
|
1833
1841
|
<div class="error-dialog-box-mid">
|
|
1834
1842
|
{{ data.description }}
|
|
@@ -1839,7 +1847,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
1839
1847
|
</button>
|
|
1840
1848
|
</div>
|
|
1841
1849
|
</div>`, styles: [".error-dialog-box{background:#fff;border-radius:.75rem;box-shadow:0 1px 10px #0003;width:27rem}.error-dialog-box-top{color:#000;font-size:16px;font-weight:500;border-radius:.75rem .75rem 0 0;display:flex;align-items:center;height:3.375rem;padding:0 1rem;margin-bottom:1rem}.error-dialog-box-mid{color:#565a6f;font-size:13px;min-height:5.5rem;padding:0 1rem}.error-dialog-box-bottom{display:flex;justify-content:end;padding:1rem}.error-dialog-box-bottom button.logIn-btn{background:#1e5dd3;border-radius:.125rem;border:none;color:#fff;cursor:pointer;font-size:11px;height:2rem;padding:.5rem .75rem}\n"] }]
|
|
1842
|
-
}], ctorParameters:
|
|
1850
|
+
}], ctorParameters: () => [{ type: i1$1.AuthorizerService }, { type: DialogConfig }, { type: RouterService }], propDecorators: { errorType: [{
|
|
1843
1851
|
type: Input
|
|
1844
1852
|
}] } });
|
|
1845
1853
|
|
|
@@ -1847,15 +1855,16 @@ class InsertionDirective {
|
|
|
1847
1855
|
constructor(viewContainerRef) {
|
|
1848
1856
|
this.viewContainerRef = viewContainerRef;
|
|
1849
1857
|
}
|
|
1850
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1851
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
1858
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.19", ngImport: i0, type: InsertionDirective, deps: [{ token: i0.ViewContainerRef }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
1859
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.19", type: InsertionDirective, isStandalone: false, selector: "[appInsertion]", ngImport: i0 }); }
|
|
1852
1860
|
}
|
|
1853
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1861
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.19", ngImport: i0, type: InsertionDirective, decorators: [{
|
|
1854
1862
|
type: Directive,
|
|
1855
1863
|
args: [{
|
|
1864
|
+
standalone: false,
|
|
1856
1865
|
selector: '[appInsertion]',
|
|
1857
1866
|
}]
|
|
1858
|
-
}], ctorParameters:
|
|
1867
|
+
}], ctorParameters: () => [{ type: i0.ViewContainerRef }] });
|
|
1859
1868
|
|
|
1860
1869
|
class DialogRef {
|
|
1861
1870
|
constructor() {
|
|
@@ -1933,23 +1942,23 @@ class DialogComponent {
|
|
|
1933
1942
|
this.onDialogClose.next(data);
|
|
1934
1943
|
document.body.style.overflow = 'auto';
|
|
1935
1944
|
}
|
|
1936
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1937
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
1945
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.19", ngImport: i0, type: DialogComponent, deps: [{ token: i0.ComponentFactoryResolver }, { token: i0.ChangeDetectorRef }, { token: DialogRef }, { token: DialogConfig }, { token: i3.Router }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1946
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.19", type: DialogComponent, isStandalone: false, selector: "app-dialog", viewQueries: [{ propertyName: "insertionPoint", first: true, predicate: InsertionDirective, descendants: true, static: true }], ngImport: i0, template: "<div\n class=\"overlay\"\n (click)=\"onOverlayClicked($event)\"\n [ngClass]=\"{\n top: position === 'TOP',\n right: position === 'RIGHT',\n bottom: position === 'BOTTOM',\n left: position === 'LEFT',\n center: position === 'CENTER',\n black: background === 'black',\n whiteBlur: background === 'whiteBlur'\n }\" [class.pointer-none]=\"pointer === 'none'\"\n>\n <div\n class=\"dialog\"\n [class.animate]=\"animation\"\n (click)=\"onDialogClicked($event)\"\n [ngClass]=\"{\n top: position === 'TOP',\n right: position === 'RIGHT',\n bottom: position === 'BOTTOM',\n left: position === 'LEFT',\n center: position === 'CENTER'\n }\"\n >\n <ng-template appInsertion></ng-template>\n </div>\n</div>\n", styles: [".overlay{display:flex;position:fixed;inset:0;align-items:center;justify-content:center;z-index:2147483009!important}.overlay.low{z-index:1}.overlay.black{background:#161b2fcc}.overlay.whiteBlur{-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}.overlay.top{align-items:flex-start}.overlay.right{justify-content:flex-end}.overlay.bottom{align-items:flex-end}.overlay.left{justify-content:flex-start}.dialog{position:relative}.dialog.animate.top{-webkit-animation:animate-top .2s cubic-bezier(.25,.46,.45,.94) both;animation:animate-top .2s cubic-bezier(.25,.46,.45,.94) both}@-webkit-keyframes animate-top{0%{-webkit-transform:translateY(-100px);transform:translateY(-100px)}to{-webkit-transform:translateY(0);transform:translateY(0)}}@keyframes animate-top{0%{-webkit-transform:translateY(-100px);transform:translateY(-100px)}to{-webkit-transform:translateY(0);transform:translateY(0)}}.dialog.animate.right{-webkit-animation:animate-right .2s cubic-bezier(.25,.46,.45,.94) both;animation:animate-right .2s cubic-bezier(.25,.46,.45,.94) both}@-webkit-keyframes animate-right{0%{-webkit-transform:translateX(100%);transform:translate(100%)}to{-webkit-transform:translateX(0);transform:translate(0)}}@keyframes animate-right{0%{-webkit-transform:translateX(100%);transform:translate(100%)}to{-webkit-transform:translateX(0);transform:translate(0)}}.pointer-none{pointer-events:none}\n"], dependencies: [{ kind: "directive", type: i4.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: InsertionDirective, selector: "[appInsertion]" }] }); }
|
|
1938
1947
|
}
|
|
1939
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1948
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.19", ngImport: i0, type: DialogComponent, decorators: [{
|
|
1940
1949
|
type: Component,
|
|
1941
|
-
args: [{ selector: 'app-dialog', template: "<div\n class=\"overlay\"\n (click)=\"onOverlayClicked($event)\"\n [ngClass]=\"{\n top: position === 'TOP',\n right: position === 'RIGHT',\n bottom: position === 'BOTTOM',\n left: position === 'LEFT',\n center: position === 'CENTER',\n black: background === 'black',\n whiteBlur: background === 'whiteBlur'\n }\" [class.pointer-none]=\"pointer === 'none'\"\n>\n <div\n class=\"dialog\"\n [class.animate]=\"animation\"\n (click)=\"onDialogClicked($event)\"\n [ngClass]=\"{\n top: position === 'TOP',\n right: position === 'RIGHT',\n bottom: position === 'BOTTOM',\n left: position === 'LEFT',\n center: position === 'CENTER'\n }\"\n >\n <ng-template appInsertion></ng-template>\n </div>\n</div>\n", styles: [".overlay{display:flex;position:fixed;inset:0;align-items:center;justify-content:center;z-index:2147483009!important}.overlay.low{z-index:1}.overlay.black{background:#161b2fcc}.overlay.whiteBlur{-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}.overlay.top{align-items:flex-start}.overlay.right{justify-content:flex-end}.overlay.bottom{align-items:flex-end}.overlay.left{justify-content:flex-start}.dialog{position:relative}.dialog.animate.top{animation:animate-top .2s cubic-bezier(.25,.46,.45,.94) both}@keyframes animate-top{0%{transform:translateY(-100px)}to{transform:translateY(0)}}.dialog.animate.right{animation:animate-right .2s cubic-bezier(.25,.46,.45,.94) both}@keyframes animate-right{0%{transform:translate(100%)}to{transform:translate(0)}}.pointer-none{pointer-events:none}\n"] }]
|
|
1942
|
-
}], ctorParameters:
|
|
1950
|
+
args: [{ standalone: false, selector: 'app-dialog', template: "<div\n class=\"overlay\"\n (click)=\"onOverlayClicked($event)\"\n [ngClass]=\"{\n top: position === 'TOP',\n right: position === 'RIGHT',\n bottom: position === 'BOTTOM',\n left: position === 'LEFT',\n center: position === 'CENTER',\n black: background === 'black',\n whiteBlur: background === 'whiteBlur'\n }\" [class.pointer-none]=\"pointer === 'none'\"\n>\n <div\n class=\"dialog\"\n [class.animate]=\"animation\"\n (click)=\"onDialogClicked($event)\"\n [ngClass]=\"{\n top: position === 'TOP',\n right: position === 'RIGHT',\n bottom: position === 'BOTTOM',\n left: position === 'LEFT',\n center: position === 'CENTER'\n }\"\n >\n <ng-template appInsertion></ng-template>\n </div>\n</div>\n", styles: [".overlay{display:flex;position:fixed;inset:0;align-items:center;justify-content:center;z-index:2147483009!important}.overlay.low{z-index:1}.overlay.black{background:#161b2fcc}.overlay.whiteBlur{-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}.overlay.top{align-items:flex-start}.overlay.right{justify-content:flex-end}.overlay.bottom{align-items:flex-end}.overlay.left{justify-content:flex-start}.dialog{position:relative}.dialog.animate.top{-webkit-animation:animate-top .2s cubic-bezier(.25,.46,.45,.94) both;animation:animate-top .2s cubic-bezier(.25,.46,.45,.94) both}@-webkit-keyframes animate-top{0%{-webkit-transform:translateY(-100px);transform:translateY(-100px)}to{-webkit-transform:translateY(0);transform:translateY(0)}}@keyframes animate-top{0%{-webkit-transform:translateY(-100px);transform:translateY(-100px)}to{-webkit-transform:translateY(0);transform:translateY(0)}}.dialog.animate.right{-webkit-animation:animate-right .2s cubic-bezier(.25,.46,.45,.94) both;animation:animate-right .2s cubic-bezier(.25,.46,.45,.94) both}@-webkit-keyframes animate-right{0%{-webkit-transform:translateX(100%);transform:translate(100%)}to{-webkit-transform:translateX(0);transform:translate(0)}}@keyframes animate-right{0%{-webkit-transform:translateX(100%);transform:translate(100%)}to{-webkit-transform:translateX(0);transform:translate(0)}}.pointer-none{pointer-events:none}\n"] }]
|
|
1951
|
+
}], ctorParameters: () => [{ type: i0.ComponentFactoryResolver }, { type: i0.ChangeDetectorRef }, { type: DialogRef }, { type: DialogConfig }, { type: i3.Router }], propDecorators: { insertionPoint: [{
|
|
1943
1952
|
type: ViewChild,
|
|
1944
1953
|
args: [InsertionDirective, { static: true }]
|
|
1945
1954
|
}] } });
|
|
1946
1955
|
|
|
1947
1956
|
class DialogModule {
|
|
1948
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1949
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
1950
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
1957
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.19", ngImport: i0, type: DialogModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
1958
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.3.19", ngImport: i0, type: DialogModule, declarations: [DialogComponent, InsertionDirective], imports: [CommonModule], exports: [DialogComponent] }); }
|
|
1959
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.3.19", ngImport: i0, type: DialogModule, providers: [DialogRef], imports: [CommonModule] }); }
|
|
1951
1960
|
}
|
|
1952
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1961
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.19", ngImport: i0, type: DialogModule, decorators: [{
|
|
1953
1962
|
type: NgModule,
|
|
1954
1963
|
args: [{
|
|
1955
1964
|
imports: [CommonModule],
|
|
@@ -2009,15 +2018,15 @@ class DialogService {
|
|
|
2009
2018
|
this.appRef.detachView(this.dialogComponentRef.hostView);
|
|
2010
2019
|
this.dialogComponentRef.destroy();
|
|
2011
2020
|
}
|
|
2012
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2013
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
2021
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.19", ngImport: i0, type: DialogService, deps: [{ token: i0.ComponentFactoryResolver }, { token: i0.ApplicationRef }, { token: i0.Injector }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
2022
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.19", ngImport: i0, type: DialogService, providedIn: DialogModule }); }
|
|
2014
2023
|
}
|
|
2015
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2024
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.19", ngImport: i0, type: DialogService, decorators: [{
|
|
2016
2025
|
type: Injectable,
|
|
2017
2026
|
args: [{
|
|
2018
2027
|
providedIn: DialogModule,
|
|
2019
2028
|
}]
|
|
2020
|
-
}], ctorParameters:
|
|
2029
|
+
}], ctorParameters: () => [{ type: i0.ComponentFactoryResolver }, { type: i0.ApplicationRef }, { type: i0.Injector }] });
|
|
2021
2030
|
|
|
2022
2031
|
class SessionExpiredComponent {
|
|
2023
2032
|
constructor(dialogService) {
|
|
@@ -2038,16 +2047,17 @@ class SessionExpiredComponent {
|
|
|
2038
2047
|
background: 'whiteBlur',
|
|
2039
2048
|
});
|
|
2040
2049
|
}
|
|
2041
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2042
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
2050
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.19", ngImport: i0, type: SessionExpiredComponent, deps: [{ token: DialogService }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
2051
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.19", type: SessionExpiredComponent, isStandalone: false, selector: "lib-vc-error-session-expired", ngImport: i0, template: ``, isInline: true }); }
|
|
2043
2052
|
}
|
|
2044
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2053
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.19", ngImport: i0, type: SessionExpiredComponent, decorators: [{
|
|
2045
2054
|
type: Component,
|
|
2046
2055
|
args: [{
|
|
2056
|
+
standalone: false,
|
|
2047
2057
|
selector: 'lib-vc-error-session-expired',
|
|
2048
2058
|
template: ``,
|
|
2049
2059
|
}]
|
|
2050
|
-
}], ctorParameters:
|
|
2060
|
+
}], ctorParameters: () => [{ type: DialogService }] });
|
|
2051
2061
|
|
|
2052
2062
|
class ChunkUnavailableComponent {
|
|
2053
2063
|
constructor(dialogService) {
|
|
@@ -2068,16 +2078,17 @@ class ChunkUnavailableComponent {
|
|
|
2068
2078
|
background: 'whiteBlur',
|
|
2069
2079
|
});
|
|
2070
2080
|
}
|
|
2071
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2072
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
2081
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.19", ngImport: i0, type: ChunkUnavailableComponent, deps: [{ token: DialogService }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
2082
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.19", type: ChunkUnavailableComponent, isStandalone: false, selector: "lib-vc-error-chunk-unavailable", ngImport: i0, template: ``, isInline: true }); }
|
|
2073
2083
|
}
|
|
2074
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2084
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.19", ngImport: i0, type: ChunkUnavailableComponent, decorators: [{
|
|
2075
2085
|
type: Component,
|
|
2076
2086
|
args: [{
|
|
2087
|
+
standalone: false,
|
|
2077
2088
|
selector: 'lib-vc-error-chunk-unavailable',
|
|
2078
2089
|
template: ``,
|
|
2079
2090
|
}]
|
|
2080
|
-
}], ctorParameters:
|
|
2091
|
+
}], ctorParameters: () => [{ type: DialogService }] });
|
|
2081
2092
|
|
|
2082
2093
|
class ServerErrorComponent {
|
|
2083
2094
|
constructor() {
|
|
@@ -2088,8 +2099,8 @@ class ServerErrorComponent {
|
|
|
2088
2099
|
refreshPage() {
|
|
2089
2100
|
window.location.reload();
|
|
2090
2101
|
}
|
|
2091
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2092
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
2102
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.19", ngImport: i0, type: ServerErrorComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
2103
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.19", type: ServerErrorComponent, isStandalone: false, selector: "lib-vc-error-server-error", ngImport: i0, template: `
|
|
2093
2104
|
<div class="errorPage">
|
|
2094
2105
|
<div class="errorPage-top">
|
|
2095
2106
|
<img
|
|
@@ -2120,11 +2131,11 @@ class ServerErrorComponent {
|
|
|
2120
2131
|
</div>
|
|
2121
2132
|
</div>
|
|
2122
2133
|
</div>
|
|
2123
|
-
`, isInline: true, styles: ["@import\"https://cdn.v-comply.com/design-system/css/icons/icons.css\";.errorPage{background:#161b2f;position:fixed;top:0;left:0;width:100vw;height:100vh;z-index:9999}.errorPage-top{width:100%;height:3rem;display:flex;align-items:center;padding-left:.75rem;cursor:pointer}.errorPage-container{background:#f2f2f5;border-radius:.75rem;border:1px solid #e3e3e9;box-shadow:0 4px 8px #1d5dd31a;height:calc(100vh - 3.75rem);display:flex;align-items:center;justify-content:center;padding:0 4rem;margin:0 .75rem;position:relative}.errorPage-inner{display:flex;align-items:center}.errorPage-inner-image{width:16rem}.errorPage-inner-right{margin-left:2rem;width:calc(100% - 18rem)}.errorPage-inner-right .errorPage-heading{-webkit-text-fill-color:#e3e3e9;-webkit-text-stroke-color:#a9aab6;-webkit-text-stroke-width:1px;color:#e3e3e9;font-size:78px;font-weight:700;line-height:110px;margin-bottom:1.5rem}.errorPage-inner-right .errorPage-text{color:#141724;font-size:19px;font-weight:500;line-height:1.75rem;margin-bottom:.5rem}.errorPage-inner-right .errorPage-details{color:#565a6f;font-size:13px;line-height:20px;margin-bottom:1.75rem}.errorPage-inner-right .errorPage-btn{background:#1e5dd3;border-radius:.25rem;border:none;color:#fff;display:inline-flex;align-items:center;font-size:11px;font-weight:500;line-height:2rem;padding:0 1rem}.errorPage-inner-right .errorPage-btn i{font-size:14px;margin-left:.25rem}.errorPage-copyright{font-size:11px;color:#787a8c;font-weight:500;position:absolute;bottom:8px;right:16px;line-height:16px}\n"], dependencies: [{ kind: "directive", type: i4.NgOptimizedImage, selector: "img[ngSrc]", inputs: ["ngSrc", "ngSrcset", "sizes", "width", "height", "loading", "priority", "loaderParams", "disableOptimizedSrcset", "fill", "src", "srcset"] }] }); }
|
|
2134
|
+
`, isInline: true, styles: ["@import\"https://cdn.v-comply.com/design-system/css/icons/icons.css\";.errorPage{background:#161b2f;position:fixed;top:0;left:0;width:100vw;height:100vh;z-index:9999}.errorPage-top{width:100%;height:3rem;display:flex;align-items:center;padding-left:.75rem;cursor:pointer}.errorPage-container{background:#f2f2f5;border-radius:.75rem;border:1px solid #e3e3e9;box-shadow:0 4px 8px #1d5dd31a;height:calc(100vh - 3.75rem);display:flex;align-items:center;justify-content:center;padding:0 4rem;margin:0 .75rem;position:relative}.errorPage-inner{display:flex;align-items:center}.errorPage-inner-image{width:16rem}.errorPage-inner-right{margin-left:2rem;width:calc(100% - 18rem)}.errorPage-inner-right .errorPage-heading{-webkit-text-fill-color:#e3e3e9;-webkit-text-stroke-color:#a9aab6;-webkit-text-stroke-width:1px;color:#e3e3e9;font-size:78px;font-weight:700;line-height:110px;margin-bottom:1.5rem}.errorPage-inner-right .errorPage-text{color:#141724;font-size:19px;font-weight:500;line-height:1.75rem;margin-bottom:.5rem}.errorPage-inner-right .errorPage-details{color:#565a6f;font-size:13px;line-height:20px;margin-bottom:1.75rem}.errorPage-inner-right .errorPage-btn{background:#1e5dd3;border-radius:.25rem;border:none;color:#fff;display:inline-flex;align-items:center;font-size:11px;font-weight:500;line-height:2rem;padding:0 1rem}.errorPage-inner-right .errorPage-btn i{font-size:14px;margin-left:.25rem}.errorPage-copyright{font-size:11px;color:#787a8c;font-weight:500;position:absolute;bottom:8px;right:16px;line-height:16px}\n"], dependencies: [{ kind: "directive", type: i4.NgOptimizedImage, selector: "img[ngSrc]", inputs: ["ngSrc", "ngSrcset", "sizes", "width", "height", "decoding", "loading", "priority", "loaderParams", "disableOptimizedSrcset", "fill", "placeholder", "placeholderConfig", "src", "srcset"] }] }); }
|
|
2124
2135
|
}
|
|
2125
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2136
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.19", ngImport: i0, type: ServerErrorComponent, decorators: [{
|
|
2126
2137
|
type: Component,
|
|
2127
|
-
args: [{ selector: 'lib-vc-error-server-error', template: `
|
|
2138
|
+
args: [{ standalone: false, selector: 'lib-vc-error-server-error', template: `
|
|
2128
2139
|
<div class="errorPage">
|
|
2129
2140
|
<div class="errorPage-top">
|
|
2130
2141
|
<img
|
|
@@ -2224,8 +2235,8 @@ class VcErrorHandlersComponent {
|
|
|
2224
2235
|
hideSnackBar() {
|
|
2225
2236
|
this.snackBarService.hide();
|
|
2226
2237
|
}
|
|
2227
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2228
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
2238
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.19", ngImport: i0, type: VcErrorHandlersComponent, deps: [{ token: GlobalErrorService }, { token: SnackBarService }, { token: FeatureFlagService }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
2239
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.19", type: VcErrorHandlersComponent, isStandalone: false, selector: "lib-vc-error-handlers", inputs: { disableSnackBar: "disableSnackBar", feature: "feature" }, ngImport: i0, template: `
|
|
2229
2240
|
<app-snack-bar></app-snack-bar>
|
|
2230
2241
|
<lib-vc-error-session-expired
|
|
2231
2242
|
*ngIf="sessionExpired"
|
|
@@ -2238,9 +2249,10 @@ class VcErrorHandlersComponent {
|
|
|
2238
2249
|
<lib-vc-error-server-error *ngIf="serverError"></lib-vc-error-server-error>
|
|
2239
2250
|
`, isInline: true, dependencies: [{ kind: "directive", type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: SnackBarComponent, selector: "app-snack-bar" }, { kind: "component", type: UnauthorizedComponent, selector: "lib-vc-error-unauthorized" }, { kind: "component", type: SessionExpiredComponent, selector: "lib-vc-error-session-expired" }, { kind: "component", type: ChunkUnavailableComponent, selector: "lib-vc-error-chunk-unavailable" }, { kind: "component", type: ServerErrorComponent, selector: "lib-vc-error-server-error" }] }); }
|
|
2240
2251
|
}
|
|
2241
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2252
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.19", ngImport: i0, type: VcErrorHandlersComponent, decorators: [{
|
|
2242
2253
|
type: Component,
|
|
2243
2254
|
args: [{
|
|
2255
|
+
standalone: false,
|
|
2244
2256
|
selector: 'lib-vc-error-handlers',
|
|
2245
2257
|
template: `
|
|
2246
2258
|
<app-snack-bar></app-snack-bar>
|
|
@@ -2255,7 +2267,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
2255
2267
|
<lib-vc-error-server-error *ngIf="serverError"></lib-vc-error-server-error>
|
|
2256
2268
|
`,
|
|
2257
2269
|
}]
|
|
2258
|
-
}], ctorParameters:
|
|
2270
|
+
}], ctorParameters: () => [{ type: GlobalErrorService }, { type: SnackBarService }, { type: FeatureFlagService }], propDecorators: { disableSnackBar: [{
|
|
2259
2271
|
type: Input
|
|
2260
2272
|
}], feature: [{
|
|
2261
2273
|
type: Input
|
|
@@ -2276,13 +2288,13 @@ class PageNotFoundComponent {
|
|
|
2276
2288
|
const module_name = this.route.snapshot.data['page_path'];
|
|
2277
2289
|
this.routerService.redirectToHome(module_name);
|
|
2278
2290
|
}
|
|
2279
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2280
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
2291
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.19", ngImport: i0, type: PageNotFoundComponent, deps: [{ token: i3.ActivatedRoute }, { token: RouterService }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
2292
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.19", type: PageNotFoundComponent, isStandalone: false, selector: "lib-vc-error-page-not-found", ngImport: i0, template: `
|
|
2281
2293
|
<div class="errorPage">
|
|
2282
2294
|
<div class="errorPage-top" (click)="redirectToDashboard()">
|
|
2283
2295
|
<a
|
|
2284
2296
|
class="product-logo vx-d-flex vx-align-center vx-justify-center vx-mr-3"
|
|
2285
|
-
[arTooltip]="
|
|
2297
|
+
[arTooltip]="errorConfig.buttonText"
|
|
2286
2298
|
placement="right"
|
|
2287
2299
|
type="white"
|
|
2288
2300
|
delay="0"
|
|
@@ -2322,16 +2334,16 @@ class PageNotFoundComponent {
|
|
|
2322
2334
|
</div>
|
|
2323
2335
|
</div>
|
|
2324
2336
|
</div>
|
|
2325
|
-
`, isInline: true, styles: ["@import\"https://cdn.v-comply.com/design-system/css/icons/icons.css\";.errorPage{background:#161b2f;position:fixed;top:0;left:0;width:100vw;height:100vh;z-index:9999}.errorPage-top{width:100%;height:3rem;display:flex;align-items:center;padding-left:.75rem;cursor:pointer}.errorPage-container{background:#f2f2f5;border-radius:.75rem;border:1px solid #e3e3e9;box-shadow:0 4px 8px #1d5dd31a;height:calc(100vh - 3.75rem);display:flex;align-items:center;justify-content:center;padding:0 4rem;margin:0 .75rem;position:relative}.errorPage-inner{display:flex;align-items:center}.errorPage-inner-image{width:16rem}.errorPage-inner-right{margin-left:2rem;width:calc(100% - 18rem)}.errorPage-inner-right .errorPage-heading{-webkit-text-fill-color:#e3e3e9;-webkit-text-stroke-color:#a9aab6;-webkit-text-stroke-width:1px;color:#e3e3e9;font-size:78px;font-weight:700;line-height:110px;margin-bottom:1.5rem}.errorPage-inner-right .errorPage-text{color:#141724;font-size:19px;font-weight:500;line-height:1.75rem;margin-bottom:.5rem}.errorPage-inner-right .errorPage-details{color:#565a6f;font-size:13px;line-height:20px;margin-bottom:1.75rem}.errorPage-inner-right .errorPage-btn{background:#1e5dd3;border-radius:.25rem;border:none;color:#fff;display:inline-flex;align-items:center;font-size:11px;font-weight:500;line-height:2rem;padding:0 1rem}.errorPage-inner-right .errorPage-btn i{font-size:14px;margin-left:.25rem}.errorPage-copyright{font-size:11px;color:#787a8c;font-weight:500;position:absolute;bottom:8px;right:16px;line-height:16px}\n"], dependencies: [{ kind: "directive", type: i4.NgOptimizedImage, selector: "img[ngSrc]", inputs: ["ngSrc", "ngSrcset", "sizes", "width", "height", "loading", "priority", "loaderParams", "disableOptimizedSrcset", "fill", "src", "srcset"] }, { kind: "directive", type: ToolTipDirective, selector: "[arTooltip]", inputs: ["arTooltip", "placement", "type", "tooltipMandatory", "showTooltip", "animate"] }] }); }
|
|
2337
|
+
`, isInline: true, styles: ["@import\"https://cdn.v-comply.com/design-system/css/icons/icons.css\";.errorPage{background:#161b2f;position:fixed;top:0;left:0;width:100vw;height:100vh;z-index:9999}.errorPage-top{width:100%;height:3rem;display:flex;align-items:center;padding-left:.75rem;cursor:pointer}.errorPage-container{background:#f2f2f5;border-radius:.75rem;border:1px solid #e3e3e9;box-shadow:0 4px 8px #1d5dd31a;height:calc(100vh - 3.75rem);display:flex;align-items:center;justify-content:center;padding:0 4rem;margin:0 .75rem;position:relative}.errorPage-inner{display:flex;align-items:center}.errorPage-inner-image{width:16rem}.errorPage-inner-right{margin-left:2rem;width:calc(100% - 18rem)}.errorPage-inner-right .errorPage-heading{-webkit-text-fill-color:#e3e3e9;-webkit-text-stroke-color:#a9aab6;-webkit-text-stroke-width:1px;color:#e3e3e9;font-size:78px;font-weight:700;line-height:110px;margin-bottom:1.5rem}.errorPage-inner-right .errorPage-text{color:#141724;font-size:19px;font-weight:500;line-height:1.75rem;margin-bottom:.5rem}.errorPage-inner-right .errorPage-details{color:#565a6f;font-size:13px;line-height:20px;margin-bottom:1.75rem}.errorPage-inner-right .errorPage-btn{background:#1e5dd3;border-radius:.25rem;border:none;color:#fff;display:inline-flex;align-items:center;font-size:11px;font-weight:500;line-height:2rem;padding:0 1rem}.errorPage-inner-right .errorPage-btn i{font-size:14px;margin-left:.25rem}.errorPage-copyright{font-size:11px;color:#787a8c;font-weight:500;position:absolute;bottom:8px;right:16px;line-height:16px}\n"], dependencies: [{ kind: "directive", type: i4.NgOptimizedImage, selector: "img[ngSrc]", inputs: ["ngSrc", "ngSrcset", "sizes", "width", "height", "decoding", "loading", "priority", "loaderParams", "disableOptimizedSrcset", "fill", "placeholder", "placeholderConfig", "src", "srcset"] }, { kind: "directive", type: ToolTipDirective, selector: "[arTooltip]", inputs: ["arTooltip", "placement", "type", "tooltipMandatory", "showTooltip", "animate"] }] }); }
|
|
2326
2338
|
}
|
|
2327
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2339
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.19", ngImport: i0, type: PageNotFoundComponent, decorators: [{
|
|
2328
2340
|
type: Component,
|
|
2329
|
-
args: [{ selector: 'lib-vc-error-page-not-found', template: `
|
|
2341
|
+
args: [{ standalone: false, selector: 'lib-vc-error-page-not-found', template: `
|
|
2330
2342
|
<div class="errorPage">
|
|
2331
2343
|
<div class="errorPage-top" (click)="redirectToDashboard()">
|
|
2332
2344
|
<a
|
|
2333
2345
|
class="product-logo vx-d-flex vx-align-center vx-justify-center vx-mr-3"
|
|
2334
|
-
[arTooltip]="
|
|
2346
|
+
[arTooltip]="errorConfig.buttonText"
|
|
2335
2347
|
placement="right"
|
|
2336
2348
|
type="white"
|
|
2337
2349
|
delay="0"
|
|
@@ -2372,7 +2384,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
2372
2384
|
</div>
|
|
2373
2385
|
</div>
|
|
2374
2386
|
`, styles: ["@import\"https://cdn.v-comply.com/design-system/css/icons/icons.css\";.errorPage{background:#161b2f;position:fixed;top:0;left:0;width:100vw;height:100vh;z-index:9999}.errorPage-top{width:100%;height:3rem;display:flex;align-items:center;padding-left:.75rem;cursor:pointer}.errorPage-container{background:#f2f2f5;border-radius:.75rem;border:1px solid #e3e3e9;box-shadow:0 4px 8px #1d5dd31a;height:calc(100vh - 3.75rem);display:flex;align-items:center;justify-content:center;padding:0 4rem;margin:0 .75rem;position:relative}.errorPage-inner{display:flex;align-items:center}.errorPage-inner-image{width:16rem}.errorPage-inner-right{margin-left:2rem;width:calc(100% - 18rem)}.errorPage-inner-right .errorPage-heading{-webkit-text-fill-color:#e3e3e9;-webkit-text-stroke-color:#a9aab6;-webkit-text-stroke-width:1px;color:#e3e3e9;font-size:78px;font-weight:700;line-height:110px;margin-bottom:1.5rem}.errorPage-inner-right .errorPage-text{color:#141724;font-size:19px;font-weight:500;line-height:1.75rem;margin-bottom:.5rem}.errorPage-inner-right .errorPage-details{color:#565a6f;font-size:13px;line-height:20px;margin-bottom:1.75rem}.errorPage-inner-right .errorPage-btn{background:#1e5dd3;border-radius:.25rem;border:none;color:#fff;display:inline-flex;align-items:center;font-size:11px;font-weight:500;line-height:2rem;padding:0 1rem}.errorPage-inner-right .errorPage-btn i{font-size:14px;margin-left:.25rem}.errorPage-copyright{font-size:11px;color:#787a8c;font-weight:500;position:absolute;bottom:8px;right:16px;line-height:16px}\n"] }]
|
|
2375
|
-
}], ctorParameters:
|
|
2387
|
+
}], ctorParameters: () => [{ type: i3.ActivatedRoute }, { type: RouterService }] });
|
|
2376
2388
|
|
|
2377
2389
|
class ComponentLevelServerErrorComponent {
|
|
2378
2390
|
constructor() {
|
|
@@ -2380,8 +2392,8 @@ class ComponentLevelServerErrorComponent {
|
|
|
2380
2392
|
this.altImageText = ALT_IMAGE_TEXT;
|
|
2381
2393
|
this.onClick = new EventEmitter();
|
|
2382
2394
|
}
|
|
2383
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2384
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
2395
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.19", ngImport: i0, type: ComponentLevelServerErrorComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
2396
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.19", type: ComponentLevelServerErrorComponent, isStandalone: false, selector: "lib-vc-error-component-server-error", outputs: { onClick: "onClick" }, ngImport: i0, template: `
|
|
2385
2397
|
<div class="serverError">
|
|
2386
2398
|
<div class="serverError-inner">
|
|
2387
2399
|
<div class="serverError-inner-image">
|
|
@@ -2403,11 +2415,11 @@ class ComponentLevelServerErrorComponent {
|
|
|
2403
2415
|
</div>
|
|
2404
2416
|
</div>
|
|
2405
2417
|
</div>
|
|
2406
|
-
`, isInline: true, styles: ["@import\"https://cdn.v-comply.com/design-system/css/icons/icons.css\";.serverError{background:#fff;display:flex;align-items:center;justify-content:center;border-radius:2px;width:100%;height:100%}.serverError-inner{text-align:center}.serverError-inner-image{width:16rem;margin:0 auto}.serverError-inner-bottom{margin-top:1rem}.serverError-inner-bottom .serverError-heading{-webkit-text-fill-color:#e3e3e9;-webkit-text-stroke-color:#a9aab6;-webkit-text-stroke-width:1px;color:#e3e3e9;font-size:40px;font-weight:700;line-height:56px;margin-bottom:1.5rem}.serverError-inner-bottom .serverError-text{color:#141724;font-size:19px;font-weight:500;line-height:1.75rem;margin-bottom:.5rem}.serverError-inner-bottom .serverError-details{color:#565a6f;font-size:13px;line-height:20px;margin-bottom:2rem}.serverError-inner-bottom .serverError-btn{background:#1e5dd3;border-radius:.25rem;border:none;color:#fff;display:inline-flex;align-items:center;font-size:11px;font-weight:500;line-height:2rem;padding:0 1rem}.serverError-inner-bottom .serverError-btn i{font-size:12px;margin-left:8px}\n"], dependencies: [{ kind: "directive", type: i4.NgOptimizedImage, selector: "img[ngSrc]", inputs: ["ngSrc", "ngSrcset", "sizes", "width", "height", "loading", "priority", "loaderParams", "disableOptimizedSrcset", "fill", "src", "srcset"] }] }); }
|
|
2418
|
+
`, isInline: true, styles: ["@import\"https://cdn.v-comply.com/design-system/css/icons/icons.css\";.serverError{background:#fff;display:flex;align-items:center;justify-content:center;border-radius:2px;width:100%;height:100%}.serverError-inner{text-align:center}.serverError-inner-image{width:16rem;margin:0 auto}.serverError-inner-bottom{margin-top:1rem}.serverError-inner-bottom .serverError-heading{-webkit-text-fill-color:#e3e3e9;-webkit-text-stroke-color:#a9aab6;-webkit-text-stroke-width:1px;color:#e3e3e9;font-size:40px;font-weight:700;line-height:56px;margin-bottom:1.5rem}.serverError-inner-bottom .serverError-text{color:#141724;font-size:19px;font-weight:500;line-height:1.75rem;margin-bottom:.5rem}.serverError-inner-bottom .serverError-details{color:#565a6f;font-size:13px;line-height:20px;margin-bottom:2rem}.serverError-inner-bottom .serverError-btn{background:#1e5dd3;border-radius:.25rem;border:none;color:#fff;display:inline-flex;align-items:center;font-size:11px;font-weight:500;line-height:2rem;padding:0 1rem}.serverError-inner-bottom .serverError-btn i{font-size:12px;margin-left:8px}\n"], dependencies: [{ kind: "directive", type: i4.NgOptimizedImage, selector: "img[ngSrc]", inputs: ["ngSrc", "ngSrcset", "sizes", "width", "height", "decoding", "loading", "priority", "loaderParams", "disableOptimizedSrcset", "fill", "placeholder", "placeholderConfig", "src", "srcset"] }] }); }
|
|
2407
2419
|
}
|
|
2408
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2420
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.19", ngImport: i0, type: ComponentLevelServerErrorComponent, decorators: [{
|
|
2409
2421
|
type: Component,
|
|
2410
|
-
args: [{ selector: 'lib-vc-error-component-server-error', template: `
|
|
2422
|
+
args: [{ standalone: false, selector: 'lib-vc-error-component-server-error', template: `
|
|
2411
2423
|
<div class="serverError">
|
|
2412
2424
|
<div class="serverError-inner">
|
|
2413
2425
|
<div class="serverError-inner-image">
|
|
@@ -2446,24 +2458,25 @@ class FeatureFlagDirective {
|
|
|
2446
2458
|
this.vcr.createEmbeddedView(this.tpl);
|
|
2447
2459
|
}
|
|
2448
2460
|
}
|
|
2449
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2450
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
2461
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.19", ngImport: i0, type: FeatureFlagDirective, deps: [{ token: i0.TemplateRef }, { token: i0.ViewContainerRef }, { token: FeatureFlagService }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
2462
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.19", type: FeatureFlagDirective, isStandalone: false, selector: "[featureFlag]", inputs: { featureFlag: "featureFlag" }, ngImport: i0 }); }
|
|
2451
2463
|
}
|
|
2452
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2464
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.19", ngImport: i0, type: FeatureFlagDirective, decorators: [{
|
|
2453
2465
|
type: Directive,
|
|
2454
2466
|
args: [{
|
|
2467
|
+
standalone: false,
|
|
2455
2468
|
selector: "[featureFlag]"
|
|
2456
2469
|
}]
|
|
2457
|
-
}], ctorParameters:
|
|
2470
|
+
}], ctorParameters: () => [{ type: i0.TemplateRef }, { type: i0.ViewContainerRef }, { type: FeatureFlagService }], propDecorators: { featureFlag: [{
|
|
2458
2471
|
type: Input
|
|
2459
2472
|
}] } });
|
|
2460
2473
|
|
|
2461
2474
|
class FeatureFlagModule {
|
|
2462
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2463
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
2464
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
2475
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.19", ngImport: i0, type: FeatureFlagModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
2476
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.3.19", ngImport: i0, type: FeatureFlagModule, declarations: [FeatureFlagDirective], imports: [CommonModule], exports: [FeatureFlagDirective] }); }
|
|
2477
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.3.19", ngImport: i0, type: FeatureFlagModule, imports: [CommonModule] }); }
|
|
2465
2478
|
}
|
|
2466
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2479
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.19", ngImport: i0, type: FeatureFlagModule, decorators: [{
|
|
2467
2480
|
type: NgModule,
|
|
2468
2481
|
args: [{
|
|
2469
2482
|
declarations: [FeatureFlagDirective],
|
|
@@ -2475,11 +2488,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
2475
2488
|
}] });
|
|
2476
2489
|
|
|
2477
2490
|
class SnackBarModule {
|
|
2478
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2479
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
2480
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
2491
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.19", ngImport: i0, type: SnackBarModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
2492
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.3.19", ngImport: i0, type: SnackBarModule, declarations: [SnackBarComponent], imports: [CommonModule], exports: [SnackBarComponent] }); }
|
|
2493
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.3.19", ngImport: i0, type: SnackBarModule, imports: [CommonModule] }); }
|
|
2481
2494
|
}
|
|
2482
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2495
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.19", ngImport: i0, type: SnackBarModule, decorators: [{
|
|
2483
2496
|
type: NgModule,
|
|
2484
2497
|
args: [{
|
|
2485
2498
|
declarations: [SnackBarComponent],
|
|
@@ -2489,11 +2502,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
2489
2502
|
}] });
|
|
2490
2503
|
|
|
2491
2504
|
class TooltipModule {
|
|
2492
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2493
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
2494
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
2505
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.19", ngImport: i0, type: TooltipModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
2506
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.3.19", ngImport: i0, type: TooltipModule, declarations: [ToolTipDirective], imports: [CommonModule], exports: [ToolTipDirective] }); }
|
|
2507
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.3.19", ngImport: i0, type: TooltipModule, imports: [CommonModule] }); }
|
|
2495
2508
|
}
|
|
2496
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2509
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.19", ngImport: i0, type: TooltipModule, decorators: [{
|
|
2497
2510
|
type: NgModule,
|
|
2498
2511
|
args: [{
|
|
2499
2512
|
declarations: [ToolTipDirective],
|
|
@@ -2534,14 +2547,14 @@ class SentryErrorHandler {
|
|
|
2534
2547
|
window.location.reload();
|
|
2535
2548
|
}
|
|
2536
2549
|
}
|
|
2537
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2538
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
2550
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.19", ngImport: i0, type: SentryErrorHandler, deps: [{ token: i1$1.AuthorizerService }, { token: GlobalErrorService }, { token: Configurations, optional: true }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
2551
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.19", ngImport: i0, type: SentryErrorHandler }); }
|
|
2539
2552
|
}
|
|
2540
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2553
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.19", ngImport: i0, type: SentryErrorHandler, decorators: [{
|
|
2541
2554
|
type: Injectable
|
|
2542
|
-
}], ctorParameters:
|
|
2555
|
+
}], ctorParameters: () => [{ type: i1$1.AuthorizerService }, { type: GlobalErrorService }, { type: Configurations, decorators: [{
|
|
2543
2556
|
type: Optional
|
|
2544
|
-
}] }]
|
|
2557
|
+
}] }] });
|
|
2545
2558
|
|
|
2546
2559
|
class HttpReqInterceptor {
|
|
2547
2560
|
constructor(errorService) {
|
|
@@ -2560,12 +2573,12 @@ class HttpReqInterceptor {
|
|
|
2560
2573
|
return throwError(error);
|
|
2561
2574
|
}));
|
|
2562
2575
|
}
|
|
2563
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2564
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
2576
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.19", ngImport: i0, type: HttpReqInterceptor, deps: [{ token: GlobalErrorService }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
2577
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.19", ngImport: i0, type: HttpReqInterceptor }); }
|
|
2565
2578
|
}
|
|
2566
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2579
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.19", ngImport: i0, type: HttpReqInterceptor, decorators: [{
|
|
2567
2580
|
type: Injectable
|
|
2568
|
-
}], ctorParameters:
|
|
2581
|
+
}], ctorParameters: () => [{ type: GlobalErrorService }] });
|
|
2569
2582
|
|
|
2570
2583
|
const FOR_ROOT_SENTRY_OPTIONS_TOKEN = new InjectionToken('forRoot() SentryErrorHandler options');
|
|
2571
2584
|
class VcErrorHandlersModule {
|
|
@@ -2578,7 +2591,7 @@ class VcErrorHandlersModule {
|
|
|
2578
2591
|
{ provide: Configurations, useValue: environmentConfig },
|
|
2579
2592
|
{ provide: ErrorHandler, useClass: SentryErrorHandler },
|
|
2580
2593
|
];
|
|
2581
|
-
if (environmentConfig.
|
|
2594
|
+
if (environmentConfig.isErrorInterceptorEnabled) {
|
|
2582
2595
|
providers.push({
|
|
2583
2596
|
provide: HTTP_INTERCEPTORS,
|
|
2584
2597
|
useClass: HttpReqInterceptor,
|
|
@@ -2590,8 +2603,8 @@ class VcErrorHandlersModule {
|
|
|
2590
2603
|
providers: providers,
|
|
2591
2604
|
};
|
|
2592
2605
|
}
|
|
2593
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2594
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
2606
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.19", ngImport: i0, type: VcErrorHandlersModule, deps: [{ token: FeatureFlagService }], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
2607
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.3.19", ngImport: i0, type: VcErrorHandlersModule, bootstrap: [VcErrorHandlersComponent], declarations: [VcErrorHandlersComponent,
|
|
2595
2608
|
PageNotFoundComponent,
|
|
2596
2609
|
UnauthorizedComponent,
|
|
2597
2610
|
SessionExpiredComponent,
|
|
@@ -2611,13 +2624,13 @@ class VcErrorHandlersModule {
|
|
|
2611
2624
|
ServerErrorComponent,
|
|
2612
2625
|
ErrorModalComponent,
|
|
2613
2626
|
ComponentLevelServerErrorComponent] }); }
|
|
2614
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
2627
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.3.19", ngImport: i0, type: VcErrorHandlersModule, imports: [CommonModule,
|
|
2615
2628
|
DialogModule,
|
|
2616
2629
|
FeatureFlagModule,
|
|
2617
2630
|
SnackBarModule,
|
|
2618
2631
|
TooltipModule] }); }
|
|
2619
2632
|
}
|
|
2620
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2633
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.19", ngImport: i0, type: VcErrorHandlersModule, decorators: [{
|
|
2621
2634
|
type: NgModule,
|
|
2622
2635
|
args: [{
|
|
2623
2636
|
declarations: [
|
|
@@ -2650,7 +2663,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
2650
2663
|
],
|
|
2651
2664
|
bootstrap: [VcErrorHandlersComponent],
|
|
2652
2665
|
}]
|
|
2653
|
-
}], ctorParameters:
|
|
2666
|
+
}], ctorParameters: () => [{ type: FeatureFlagService }] });
|
|
2654
2667
|
|
|
2655
2668
|
/*
|
|
2656
2669
|
* Public API Surface of vc-error-handlers
|