vc-error-handlers 0.2.4 → 0.2.6
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/esm2022/lib/shared/components/component-level-server-error/component-level-server-error.component.mjs +8 -15
- package/esm2022/lib/shared/components/page-not-found/page-not-found.component.mjs +10 -19
- package/esm2022/lib/shared/components/server-error/server-error.component.mjs +10 -19
- package/esm2022/lib/shared/components/unauthorized/unauthorized.component.mjs +10 -19
- package/esm2022/lib/shared/constants/api-config.constants.mjs +49 -1
- package/esm2022/lib/shared/constants/assets.constants.mjs +5 -4
- package/esm2022/lib/shared/services/global-error.service.mjs +5 -2
- package/esm2022/lib/shared/services/util.service.mjs +6 -1
- package/fesm2022/vc-error-handlers.mjs +111 -104
- package/fesm2022/vc-error-handlers.mjs.map +1 -1
- package/lib/shared/components/component-level-server-error/component-level-server-error.component.d.ts +0 -5
- package/lib/shared/components/page-not-found/page-not-found.component.d.ts +1 -6
- package/lib/shared/components/server-error/server-error.component.d.ts +0 -6
- package/lib/shared/components/unauthorized/unauthorized.component.d.ts +0 -6
- package/package.json +1 -1
- package/esm2022/lib/shared/services/assets-url.service.mjs +0 -23
- package/lib/shared/services/assets-url.service.d.ts +0 -9
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import { Injectable, Component,
|
|
2
|
+
import { Injectable, Component, Input, Directive, ViewChild, NgModule, EventEmitter, Output, Optional, InjectionToken, ErrorHandler } from '@angular/core';
|
|
3
3
|
import { Subject, throwError } from 'rxjs';
|
|
4
4
|
import * as i3 from '@angular/router';
|
|
5
5
|
import { NavigationStart, NavigationEnd, NavigationError } from '@angular/router';
|
|
6
|
-
import * as
|
|
6
|
+
import * as i1 from '@angular/common';
|
|
7
7
|
import { CommonModule, NgOptimizedImage } from '@angular/common';
|
|
8
|
-
import * as i1 from '@vcomply/authorizer';
|
|
9
|
-
import * as i1$
|
|
8
|
+
import * as i1$1 from '@vcomply/authorizer';
|
|
9
|
+
import * as i1$2 from '@angular/common/http';
|
|
10
10
|
import { HttpResponse, HTTP_INTERCEPTORS } from '@angular/common/http';
|
|
11
11
|
import { retry, timeout, tap, catchError } from 'rxjs/operators';
|
|
12
12
|
import * as Sentry from '@sentry/angular-ivy';
|
|
@@ -457,6 +457,54 @@ const COMPONENT_LEVEL_API_CONFIG = [
|
|
|
457
457
|
query: null,
|
|
458
458
|
body: null,
|
|
459
459
|
},
|
|
460
|
+
{
|
|
461
|
+
method: 'POST',
|
|
462
|
+
path: '/policy_post/?mode=dashboard/statusOverview',
|
|
463
|
+
query: null,
|
|
464
|
+
body: null,
|
|
465
|
+
},
|
|
466
|
+
{
|
|
467
|
+
method: 'GET',
|
|
468
|
+
path: '/policy/?mode=category/listForPortal&type=dashboard',
|
|
469
|
+
query: null,
|
|
470
|
+
body: null,
|
|
471
|
+
},
|
|
472
|
+
{
|
|
473
|
+
method: 'GET',
|
|
474
|
+
path: '/policy/?mode=announcements/listAll&type=past',
|
|
475
|
+
query: null,
|
|
476
|
+
body: null,
|
|
477
|
+
},
|
|
478
|
+
{
|
|
479
|
+
method: 'GET',
|
|
480
|
+
path: '/policy/?mode=announcements/listAll&type=current',
|
|
481
|
+
query: null,
|
|
482
|
+
body: null,
|
|
483
|
+
},
|
|
484
|
+
{
|
|
485
|
+
method: 'GET',
|
|
486
|
+
path: '/policy/?mode=announcements/list',
|
|
487
|
+
query: null,
|
|
488
|
+
body: null,
|
|
489
|
+
},
|
|
490
|
+
{
|
|
491
|
+
method: 'POST',
|
|
492
|
+
path: '/policy_post/?mode=dashboard/overdue/attestation',
|
|
493
|
+
query: null,
|
|
494
|
+
body: null,
|
|
495
|
+
},
|
|
496
|
+
{
|
|
497
|
+
method: 'POST',
|
|
498
|
+
path: '/policy_post/?mode=dashboard/overdue/review',
|
|
499
|
+
query: null,
|
|
500
|
+
body: null,
|
|
501
|
+
},
|
|
502
|
+
{
|
|
503
|
+
method: 'GET',
|
|
504
|
+
path: '/policy/?mode=dashboard/calendar&date',
|
|
505
|
+
query: null,
|
|
506
|
+
body: null,
|
|
507
|
+
},
|
|
460
508
|
];
|
|
461
509
|
|
|
462
510
|
class SnackBarService {
|
|
@@ -506,14 +554,19 @@ class UtilsService {
|
|
|
506
554
|
return query;
|
|
507
555
|
}
|
|
508
556
|
isStringEqual(apiMethod, requestMethod) {
|
|
557
|
+
console.log('apiMethod', apiMethod === requestMethod);
|
|
509
558
|
return apiMethod === requestMethod;
|
|
510
559
|
}
|
|
511
560
|
isSubstringInString(apiPath, requestPath) {
|
|
561
|
+
console.log('requestPath', requestPath.includes(apiPath));
|
|
562
|
+
console.log('apiPath', apiPath);
|
|
563
|
+
console.log('requestPath22', requestPath);
|
|
512
564
|
return requestPath.includes(apiPath);
|
|
513
565
|
}
|
|
514
566
|
isSubsetOfObject(apiQuery, requestQuery) {
|
|
515
567
|
if (!apiQuery)
|
|
516
568
|
return true;
|
|
569
|
+
console.log('apiQuery', this.isJsonSubset(requestQuery, apiQuery));
|
|
517
570
|
return this.isJsonSubset(requestQuery, apiQuery);
|
|
518
571
|
}
|
|
519
572
|
isSubsetOfArray(apiBody, requestBody) {
|
|
@@ -545,7 +598,10 @@ class GlobalErrorService {
|
|
|
545
598
|
this.componentLevelApiConfig = COMPONENT_LEVEL_API_CONFIG;
|
|
546
599
|
}
|
|
547
600
|
handleSoftErrors(event) {
|
|
548
|
-
|
|
601
|
+
if (!event.headers?.get) {
|
|
602
|
+
return;
|
|
603
|
+
}
|
|
604
|
+
const xData = event?.headers?.get('X-Data');
|
|
549
605
|
if (xData) {
|
|
550
606
|
const parsedData = JSON.parse(xData);
|
|
551
607
|
const statusCode = parsedData.statusCode;
|
|
@@ -658,10 +714,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
658
714
|
}]
|
|
659
715
|
}] });
|
|
660
716
|
|
|
717
|
+
const BASE_URL = 'https://cdn.v-comply.com';
|
|
661
718
|
const ASSETS = {
|
|
662
|
-
VCOMPLY_LOGO:
|
|
663
|
-
ERROR_IMAGE:
|
|
664
|
-
COMPONENT_ERROR_IMAGE:
|
|
719
|
+
VCOMPLY_LOGO: `${BASE_URL}/logo/prod/v-logo.svg`,
|
|
720
|
+
ERROR_IMAGE: `${BASE_URL}/application/images/Error-page-illustration.svg`,
|
|
721
|
+
COMPONENT_ERROR_IMAGE: `${BASE_URL}/application/images/sad-emoji-icon.svg`,
|
|
665
722
|
};
|
|
666
723
|
|
|
667
724
|
const VCOMPLY_LOGO_URL = ASSETS.VCOMPLY_LOGO;
|
|
@@ -772,65 +829,30 @@ class SnackBarComponent {
|
|
|
772
829
|
this.snackbarSubscription.unsubscribe();
|
|
773
830
|
}
|
|
774
831
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SnackBarComponent, deps: [{ token: SnackBarService }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
775
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: SnackBarComponent, selector: "app-snack-bar", ngImport: i0, template: "<div class=\"workflow-snackbar\" *ngIf=\"show\">\r\n <div class=\"workflow-snackbar-inner\">\r\n <div class=\"workflow-snackbarText\">\r\n <!--  -->\r\n <i class=\"icons\" [class]=\"type\" [innerHTML]=\"icon\"></i> <span [innerHTML]=\"message\">{{ message }}</span>\r\n </div>\r\n <button (click)=\"close()\">[ <span>Close</span> ]</button>\r\n </div>\r\n </div>", styles: ["::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;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%{transform:translateY(-100%);opacity:0}to{transform:translateY(0);opacity:1}}\n"], dependencies: [{ kind: "directive", type:
|
|
832
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: SnackBarComponent, selector: "app-snack-bar", ngImport: i0, template: "<div class=\"workflow-snackbar\" *ngIf=\"show\">\r\n <div class=\"workflow-snackbar-inner\">\r\n <div class=\"workflow-snackbarText\">\r\n <!--  -->\r\n <i class=\"icons\" [class]=\"type\" [innerHTML]=\"icon\"></i> <span [innerHTML]=\"message\">{{ message }}</span>\r\n </div>\r\n <button (click)=\"close()\">[ <span>Close</span> ]</button>\r\n </div>\r\n </div>", styles: ["::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;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%{transform:translateY(-100%);opacity:0}to{transform:translateY(0);opacity:1}}\n"], dependencies: [{ kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] }); }
|
|
776
833
|
}
|
|
777
834
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SnackBarComponent, decorators: [{
|
|
778
835
|
type: Component,
|
|
779
836
|
args: [{ selector: 'app-snack-bar', template: "<div class=\"workflow-snackbar\" *ngIf=\"show\">\r\n <div class=\"workflow-snackbar-inner\">\r\n <div class=\"workflow-snackbarText\">\r\n <!--  -->\r\n <i class=\"icons\" [class]=\"type\" [innerHTML]=\"icon\"></i> <span [innerHTML]=\"message\">{{ message }}</span>\r\n </div>\r\n <button (click)=\"close()\">[ <span>Close</span> ]</button>\r\n </div>\r\n </div>", styles: ["::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;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%{transform:translateY(-100%);opacity:0}to{transform:translateY(0);opacity:1}}\n"] }]
|
|
780
837
|
}], ctorParameters: function () { return [{ type: SnackBarService }]; } });
|
|
781
838
|
|
|
782
|
-
class Configurations {
|
|
783
|
-
constructor() {
|
|
784
|
-
this.sentryConfig = {};
|
|
785
|
-
this.envConfig = {};
|
|
786
|
-
}
|
|
787
|
-
}
|
|
788
|
-
|
|
789
|
-
class AssetUrlService {
|
|
790
|
-
constructor(config) {
|
|
791
|
-
this.BASE_URL = '';
|
|
792
|
-
this.BASE_URL = config?.envConfig?.cdnUrl || '';
|
|
793
|
-
}
|
|
794
|
-
getFullUrl(relativePath) {
|
|
795
|
-
return `${this.BASE_URL}${relativePath}`;
|
|
796
|
-
}
|
|
797
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: AssetUrlService, deps: [{ token: Configurations, optional: true }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
798
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: AssetUrlService, providedIn: 'root' }); }
|
|
799
|
-
}
|
|
800
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: AssetUrlService, decorators: [{
|
|
801
|
-
type: Injectable,
|
|
802
|
-
args: [{
|
|
803
|
-
providedIn: 'root',
|
|
804
|
-
}]
|
|
805
|
-
}], ctorParameters: function () { return [{ type: Configurations, decorators: [{
|
|
806
|
-
type: Optional
|
|
807
|
-
}] }]; } });
|
|
808
|
-
|
|
809
839
|
class UnauthorizedComponent {
|
|
810
|
-
constructor(
|
|
811
|
-
this.assetUrlService = assetUrlService;
|
|
840
|
+
constructor() {
|
|
812
841
|
this.currentYear = new Date().getFullYear();
|
|
813
842
|
this.errorConfig = ERROR_CONFIG.UNAUTHORIZED;
|
|
814
843
|
this.VcomplyLogo = VCOMPLY_LOGO_URL;
|
|
815
844
|
this.altImageText = ALT_IMAGE_TEXT;
|
|
816
845
|
this.organisationName = ORGANISATION_NAME;
|
|
817
|
-
this.fullVcomplyLogo = '';
|
|
818
|
-
this.fullErrorImageUrl = '';
|
|
819
|
-
this.getAssetsUrl();
|
|
820
|
-
}
|
|
821
|
-
getAssetsUrl() {
|
|
822
|
-
this.fullVcomplyLogo = this.assetUrlService.getFullUrl(this.VcomplyLogo);
|
|
823
|
-
this.fullErrorImageUrl = this.assetUrlService.getFullUrl(this.errorConfig.imageUrl);
|
|
824
846
|
}
|
|
825
847
|
redirectToSupport() {
|
|
826
848
|
window.location.href = this.errorConfig.mail;
|
|
827
849
|
}
|
|
828
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: UnauthorizedComponent, deps: [
|
|
850
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: UnauthorizedComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
829
851
|
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: UnauthorizedComponent, selector: "lib-vc-error-unauthorized", ngImport: i0, template: `
|
|
830
852
|
<div class="errorPage">
|
|
831
853
|
<div class="errorPage-top">
|
|
832
854
|
<img
|
|
833
|
-
[ngSrc]="
|
|
855
|
+
[ngSrc]="VcomplyLogo"
|
|
834
856
|
[alt]="altImageText.VCOMPLY_LOGO"
|
|
835
857
|
width="24"
|
|
836
858
|
height="24"
|
|
@@ -840,7 +862,7 @@ class UnauthorizedComponent {
|
|
|
840
862
|
<div class="errorPage-inner">
|
|
841
863
|
<div class="errorPage-inner-image">
|
|
842
864
|
<img
|
|
843
|
-
[ngSrc]="
|
|
865
|
+
[ngSrc]="errorConfig.imageUrl"
|
|
844
866
|
[alt]="altImageText.ERROR_IMAGE"
|
|
845
867
|
width="246"
|
|
846
868
|
height="178"
|
|
@@ -866,7 +888,7 @@ class UnauthorizedComponent {
|
|
|
866
888
|
</div>
|
|
867
889
|
</div>
|
|
868
890
|
</div>
|
|
869
|
-
`, 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}.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:
|
|
891
|
+
`, 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}.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: i1.NgOptimizedImage, selector: "img[ngSrc]", inputs: ["ngSrc", "ngSrcset", "sizes", "width", "height", "loading", "priority", "loaderParams", "disableOptimizedSrcset", "fill", "src", "srcset"] }] }); }
|
|
870
892
|
}
|
|
871
893
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: UnauthorizedComponent, decorators: [{
|
|
872
894
|
type: Component,
|
|
@@ -874,7 +896,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
874
896
|
<div class="errorPage">
|
|
875
897
|
<div class="errorPage-top">
|
|
876
898
|
<img
|
|
877
|
-
[ngSrc]="
|
|
899
|
+
[ngSrc]="VcomplyLogo"
|
|
878
900
|
[alt]="altImageText.VCOMPLY_LOGO"
|
|
879
901
|
width="24"
|
|
880
902
|
height="24"
|
|
@@ -884,7 +906,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
884
906
|
<div class="errorPage-inner">
|
|
885
907
|
<div class="errorPage-inner-image">
|
|
886
908
|
<img
|
|
887
|
-
[ngSrc]="
|
|
909
|
+
[ngSrc]="errorConfig.imageUrl"
|
|
888
910
|
[alt]="altImageText.ERROR_IMAGE"
|
|
889
911
|
width="246"
|
|
890
912
|
height="178"
|
|
@@ -911,7 +933,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
911
933
|
</div>
|
|
912
934
|
</div>
|
|
913
935
|
`, 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}.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"] }]
|
|
914
|
-
}]
|
|
936
|
+
}] });
|
|
915
937
|
|
|
916
938
|
class DialogConfig {
|
|
917
939
|
}
|
|
@@ -944,7 +966,7 @@ class ErrorModalComponent {
|
|
|
944
966
|
break;
|
|
945
967
|
}
|
|
946
968
|
}
|
|
947
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ErrorModalComponent, deps: [{ token: i1.AuthorizerService }, { token: DialogConfig }, { token: RouterService }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
969
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ErrorModalComponent, deps: [{ token: i1$1.AuthorizerService }, { token: DialogConfig }, { token: RouterService }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
948
970
|
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: ErrorModalComponent, selector: "lib-vc-error-modal", inputs: { errorType: "errorType" }, ngImport: i0, template: ` <div class="error-dialog-box">
|
|
949
971
|
<div class="error-dialog-box-top">{{ data.heading }}</div>
|
|
950
972
|
<div class="error-dialog-box-mid">
|
|
@@ -970,7 +992,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
970
992
|
</button>
|
|
971
993
|
</div>
|
|
972
994
|
</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"] }]
|
|
973
|
-
}], ctorParameters: function () { return [{ type: i1.AuthorizerService }, { type: DialogConfig }, { type: RouterService }]; }, propDecorators: { errorType: [{
|
|
995
|
+
}], ctorParameters: function () { return [{ type: i1$1.AuthorizerService }, { type: DialogConfig }, { type: RouterService }]; }, propDecorators: { errorType: [{
|
|
974
996
|
type: Input
|
|
975
997
|
}] } });
|
|
976
998
|
|
|
@@ -1065,7 +1087,7 @@ class DialogComponent {
|
|
|
1065
1087
|
document.body.style.overflow = 'auto';
|
|
1066
1088
|
}
|
|
1067
1089
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DialogComponent, deps: [{ token: i0.ComponentFactoryResolver }, { token: i0.ChangeDetectorRef }, { token: DialogRef }, { token: DialogConfig }, { token: i3.Router }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1068
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: DialogComponent, selector: "app-dialog", viewQueries: [{ propertyName: "insertionPoint", first: true, predicate: InsertionDirective, descendants: true, static: true }], ngImport: i0, template: "<div\r\n class=\"overlay\"\r\n (click)=\"onOverlayClicked($event)\"\r\n [ngClass]=\"{\r\n top: position === 'TOP',\r\n right: position === 'RIGHT',\r\n bottom: position === 'BOTTOM',\r\n left: position === 'LEFT',\r\n center: position === 'CENTER',\r\n black: background === 'black',\r\n whiteBlur: background === 'whiteBlur'\r\n }\" [class.pointer-none]=\"pointer === 'none'\"\r\n>\r\n <div\r\n class=\"dialog\"\r\n [class.animate]=\"animation\"\r\n (click)=\"onDialogClicked($event)\"\r\n [ngClass]=\"{\r\n top: position === 'TOP',\r\n right: position === 'RIGHT',\r\n bottom: position === 'BOTTOM',\r\n left: position === 'LEFT',\r\n center: position === 'CENTER'\r\n }\"\r\n >\r\n <ng-template appInsertion></ng-template>\r\n </div>\r\n</div>\r\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"], dependencies: [{ kind: "directive", type:
|
|
1090
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: DialogComponent, selector: "app-dialog", viewQueries: [{ propertyName: "insertionPoint", first: true, predicate: InsertionDirective, descendants: true, static: true }], ngImport: i0, template: "<div\r\n class=\"overlay\"\r\n (click)=\"onOverlayClicked($event)\"\r\n [ngClass]=\"{\r\n top: position === 'TOP',\r\n right: position === 'RIGHT',\r\n bottom: position === 'BOTTOM',\r\n left: position === 'LEFT',\r\n center: position === 'CENTER',\r\n black: background === 'black',\r\n whiteBlur: background === 'whiteBlur'\r\n }\" [class.pointer-none]=\"pointer === 'none'\"\r\n>\r\n <div\r\n class=\"dialog\"\r\n [class.animate]=\"animation\"\r\n (click)=\"onDialogClicked($event)\"\r\n [ngClass]=\"{\r\n top: position === 'TOP',\r\n right: position === 'RIGHT',\r\n bottom: position === 'BOTTOM',\r\n left: position === 'LEFT',\r\n center: position === 'CENTER'\r\n }\"\r\n >\r\n <ng-template appInsertion></ng-template>\r\n </div>\r\n</div>\r\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"], dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: InsertionDirective, selector: "[appInsertion]" }] }); }
|
|
1069
1091
|
}
|
|
1070
1092
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DialogComponent, decorators: [{
|
|
1071
1093
|
type: Component,
|
|
@@ -1211,28 +1233,20 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
1211
1233
|
}], ctorParameters: function () { return [{ type: DialogService }]; } });
|
|
1212
1234
|
|
|
1213
1235
|
class ServerErrorComponent {
|
|
1214
|
-
constructor(
|
|
1215
|
-
this.assetUrlService = assetUrlService;
|
|
1236
|
+
constructor() {
|
|
1216
1237
|
this.errorConfig = ERROR_CONFIG.SERVER_ERROR;
|
|
1217
1238
|
this.VcomplyLogo = VCOMPLY_LOGO_URL;
|
|
1218
1239
|
this.altImageText = ALT_IMAGE_TEXT;
|
|
1219
|
-
this.fullVcomplyLogo = '';
|
|
1220
|
-
this.fullErrorImageUrl = '';
|
|
1221
|
-
this.getAssetsUrl();
|
|
1222
|
-
}
|
|
1223
|
-
getAssetsUrl() {
|
|
1224
|
-
this.fullVcomplyLogo = this.assetUrlService.getFullUrl(this.VcomplyLogo);
|
|
1225
|
-
this.fullErrorImageUrl = this.assetUrlService.getFullUrl(this.errorConfig.imageUrl);
|
|
1226
1240
|
}
|
|
1227
1241
|
refreshPage() {
|
|
1228
1242
|
window.location.reload();
|
|
1229
1243
|
}
|
|
1230
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ServerErrorComponent, deps: [
|
|
1244
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ServerErrorComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1231
1245
|
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: ServerErrorComponent, selector: "lib-vc-error-server-error", ngImport: i0, template: `
|
|
1232
1246
|
<div class="errorPage">
|
|
1233
1247
|
<div class="errorPage-top">
|
|
1234
1248
|
<img
|
|
1235
|
-
[ngSrc]="
|
|
1249
|
+
[ngSrc]="VcomplyLogo"
|
|
1236
1250
|
[alt]="altImageText.VCOMPLY_LOGO"
|
|
1237
1251
|
width="24"
|
|
1238
1252
|
height="24"
|
|
@@ -1242,7 +1256,7 @@ class ServerErrorComponent {
|
|
|
1242
1256
|
<div class="errorPage-inner">
|
|
1243
1257
|
<div class="errorPage-inner-image">
|
|
1244
1258
|
<img
|
|
1245
|
-
[ngSrc]="
|
|
1259
|
+
[ngSrc]="errorConfig.imageUrl"
|
|
1246
1260
|
[alt]="altImageText.ERROR_IMAGE"
|
|
1247
1261
|
width="246"
|
|
1248
1262
|
height="178"
|
|
@@ -1259,7 +1273,7 @@ class ServerErrorComponent {
|
|
|
1259
1273
|
</div>
|
|
1260
1274
|
</div>
|
|
1261
1275
|
</div>
|
|
1262
|
-
`, 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}.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:
|
|
1276
|
+
`, 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}.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: i1.NgOptimizedImage, selector: "img[ngSrc]", inputs: ["ngSrc", "ngSrcset", "sizes", "width", "height", "loading", "priority", "loaderParams", "disableOptimizedSrcset", "fill", "src", "srcset"] }] }); }
|
|
1263
1277
|
}
|
|
1264
1278
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ServerErrorComponent, decorators: [{
|
|
1265
1279
|
type: Component,
|
|
@@ -1267,7 +1281,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
1267
1281
|
<div class="errorPage">
|
|
1268
1282
|
<div class="errorPage-top">
|
|
1269
1283
|
<img
|
|
1270
|
-
[ngSrc]="
|
|
1284
|
+
[ngSrc]="VcomplyLogo"
|
|
1271
1285
|
[alt]="altImageText.VCOMPLY_LOGO"
|
|
1272
1286
|
width="24"
|
|
1273
1287
|
height="24"
|
|
@@ -1277,7 +1291,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
1277
1291
|
<div class="errorPage-inner">
|
|
1278
1292
|
<div class="errorPage-inner-image">
|
|
1279
1293
|
<img
|
|
1280
|
-
[ngSrc]="
|
|
1294
|
+
[ngSrc]="errorConfig.imageUrl"
|
|
1281
1295
|
[alt]="altImageText.ERROR_IMAGE"
|
|
1282
1296
|
width="246"
|
|
1283
1297
|
height="178"
|
|
@@ -1295,7 +1309,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
1295
1309
|
</div>
|
|
1296
1310
|
</div>
|
|
1297
1311
|
`, 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}.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"] }]
|
|
1298
|
-
}]
|
|
1312
|
+
}] });
|
|
1299
1313
|
|
|
1300
1314
|
class VcErrorHandlersComponent {
|
|
1301
1315
|
constructor(errorService, snackBarService) {
|
|
@@ -1369,7 +1383,7 @@ class VcErrorHandlersComponent {
|
|
|
1369
1383
|
*ngIf="chunkUnavailable"
|
|
1370
1384
|
></lib-vc-error-chunk-unavailable>
|
|
1371
1385
|
<lib-vc-error-server-error *ngIf="serverError"></lib-vc-error-server-error>
|
|
1372
|
-
`, isInline: true, dependencies: [{ kind: "directive", type:
|
|
1386
|
+
`, isInline: true, dependencies: [{ kind: "directive", type: i1.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" }] }); }
|
|
1373
1387
|
}
|
|
1374
1388
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: VcErrorHandlersComponent, decorators: [{
|
|
1375
1389
|
type: Component,
|
|
@@ -1390,22 +1404,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
1390
1404
|
}], ctorParameters: function () { return [{ type: GlobalErrorService }, { type: SnackBarService }]; } });
|
|
1391
1405
|
|
|
1392
1406
|
class PageNotFoundComponent {
|
|
1393
|
-
constructor(route
|
|
1407
|
+
constructor(route) {
|
|
1394
1408
|
this.route = route;
|
|
1395
|
-
this.assetUrlService = assetUrlService;
|
|
1396
1409
|
this.errorConfig = ERROR_CONFIG.PAGE_NOT_FOUND;
|
|
1397
1410
|
this.VcomplyLogo = VCOMPLY_LOGO_URL;
|
|
1398
1411
|
this.altImageText = ALT_IMAGE_TEXT;
|
|
1399
1412
|
this.currentYear = new Date().getFullYear();
|
|
1400
1413
|
this.redirectionUrl = REDIRECTION_URL;
|
|
1401
1414
|
this.organisationName = ORGANISATION_NAME;
|
|
1402
|
-
this.fullVcomplyLogo = '';
|
|
1403
|
-
this.fullErrorImageUrl = '';
|
|
1404
|
-
this.getAssetUrl();
|
|
1405
|
-
}
|
|
1406
|
-
getAssetUrl() {
|
|
1407
|
-
this.fullVcomplyLogo = this.assetUrlService.getFullUrl(VCOMPLY_LOGO_URL);
|
|
1408
|
-
this.fullErrorImageUrl = this.assetUrlService.getFullUrl(this.errorConfig.imageUrl);
|
|
1409
1415
|
}
|
|
1410
1416
|
redirectToHome() {
|
|
1411
1417
|
const module_name = this.route.snapshot.data['page_path'];
|
|
@@ -1423,12 +1429,12 @@ class PageNotFoundComponent {
|
|
|
1423
1429
|
}
|
|
1424
1430
|
window.location.replace(targetPath);
|
|
1425
1431
|
}
|
|
1426
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: PageNotFoundComponent, deps: [{ token: i3.ActivatedRoute }
|
|
1432
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: PageNotFoundComponent, deps: [{ token: i3.ActivatedRoute }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1427
1433
|
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: PageNotFoundComponent, selector: "lib-vc-error-page-not-found", ngImport: i0, template: `
|
|
1428
1434
|
<div class="errorPage">
|
|
1429
1435
|
<div class="errorPage-top">
|
|
1430
1436
|
<img
|
|
1431
|
-
[ngSrc]="
|
|
1437
|
+
[ngSrc]="VcomplyLogo"
|
|
1432
1438
|
[alt]="altImageText.VCOMPLY_LOGO"
|
|
1433
1439
|
width="24"
|
|
1434
1440
|
height="24"
|
|
@@ -1438,7 +1444,7 @@ class PageNotFoundComponent {
|
|
|
1438
1444
|
<div class="errorPage-inner">
|
|
1439
1445
|
<div class="errorPage-inner-image">
|
|
1440
1446
|
<img
|
|
1441
|
-
[ngSrc]="
|
|
1447
|
+
[ngSrc]="errorConfig.imageUrl"
|
|
1442
1448
|
[alt]="altImageText.ERROR_IMAGE"
|
|
1443
1449
|
width="246"
|
|
1444
1450
|
height="178"
|
|
@@ -1458,7 +1464,7 @@ class PageNotFoundComponent {
|
|
|
1458
1464
|
</div>
|
|
1459
1465
|
</div>
|
|
1460
1466
|
</div>
|
|
1461
|
-
`, 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}.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:
|
|
1467
|
+
`, 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}.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: i1.NgOptimizedImage, selector: "img[ngSrc]", inputs: ["ngSrc", "ngSrcset", "sizes", "width", "height", "loading", "priority", "loaderParams", "disableOptimizedSrcset", "fill", "src", "srcset"] }] }); }
|
|
1462
1468
|
}
|
|
1463
1469
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: PageNotFoundComponent, decorators: [{
|
|
1464
1470
|
type: Component,
|
|
@@ -1466,7 +1472,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
1466
1472
|
<div class="errorPage">
|
|
1467
1473
|
<div class="errorPage-top">
|
|
1468
1474
|
<img
|
|
1469
|
-
[ngSrc]="
|
|
1475
|
+
[ngSrc]="VcomplyLogo"
|
|
1470
1476
|
[alt]="altImageText.VCOMPLY_LOGO"
|
|
1471
1477
|
width="24"
|
|
1472
1478
|
height="24"
|
|
@@ -1476,7 +1482,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
1476
1482
|
<div class="errorPage-inner">
|
|
1477
1483
|
<div class="errorPage-inner-image">
|
|
1478
1484
|
<img
|
|
1479
|
-
[ngSrc]="
|
|
1485
|
+
[ngSrc]="errorConfig.imageUrl"
|
|
1480
1486
|
[alt]="altImageText.ERROR_IMAGE"
|
|
1481
1487
|
width="246"
|
|
1482
1488
|
height="178"
|
|
@@ -1497,27 +1503,21 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
1497
1503
|
</div>
|
|
1498
1504
|
</div>
|
|
1499
1505
|
`, 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}.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"] }]
|
|
1500
|
-
}], ctorParameters: function () { return [{ type: i3.ActivatedRoute }
|
|
1506
|
+
}], ctorParameters: function () { return [{ type: i3.ActivatedRoute }]; } });
|
|
1501
1507
|
|
|
1502
1508
|
class ComponentLevelServerErrorComponent {
|
|
1503
|
-
constructor(
|
|
1504
|
-
this.assetUrlService = assetUrlService;
|
|
1509
|
+
constructor() {
|
|
1505
1510
|
this.errorConfig = ERROR_CONFIG.COMPONENT_LEVEL_SERVER_ERROR;
|
|
1506
1511
|
this.altImageText = ALT_IMAGE_TEXT;
|
|
1507
|
-
this.fullErrorImageUrl = '';
|
|
1508
1512
|
this.onClick = new EventEmitter();
|
|
1509
|
-
this.getAssetsUrl();
|
|
1510
|
-
}
|
|
1511
|
-
getAssetsUrl() {
|
|
1512
|
-
this.fullErrorImageUrl = this.assetUrlService.getFullUrl(this.errorConfig.imageUrl);
|
|
1513
1513
|
}
|
|
1514
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ComponentLevelServerErrorComponent, deps: [
|
|
1514
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ComponentLevelServerErrorComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1515
1515
|
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: ComponentLevelServerErrorComponent, selector: "lib-vc-error-component-server-error", outputs: { onClick: "onClick" }, ngImport: i0, template: `
|
|
1516
1516
|
<div class="serverError">
|
|
1517
1517
|
<div class="serverError-inner">
|
|
1518
1518
|
<div class="serverError-inner-image">
|
|
1519
1519
|
<img
|
|
1520
|
-
[ngSrc]="
|
|
1520
|
+
[ngSrc]="errorConfig.imageUrl"
|
|
1521
1521
|
[alt]="altImageText.ERROR_IMAGE"
|
|
1522
1522
|
width="106"
|
|
1523
1523
|
height="76"
|
|
@@ -1534,7 +1534,7 @@ class ComponentLevelServerErrorComponent {
|
|
|
1534
1534
|
</div>
|
|
1535
1535
|
</div>
|
|
1536
1536
|
</div>
|
|
1537
|
-
`, 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:
|
|
1537
|
+
`, 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: i1.NgOptimizedImage, selector: "img[ngSrc]", inputs: ["ngSrc", "ngSrcset", "sizes", "width", "height", "loading", "priority", "loaderParams", "disableOptimizedSrcset", "fill", "src", "srcset"] }] }); }
|
|
1538
1538
|
}
|
|
1539
1539
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ComponentLevelServerErrorComponent, decorators: [{
|
|
1540
1540
|
type: Component,
|
|
@@ -1543,7 +1543,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
1543
1543
|
<div class="serverError-inner">
|
|
1544
1544
|
<div class="serverError-inner-image">
|
|
1545
1545
|
<img
|
|
1546
|
-
[ngSrc]="
|
|
1546
|
+
[ngSrc]="errorConfig.imageUrl"
|
|
1547
1547
|
[alt]="altImageText.ERROR_IMAGE"
|
|
1548
1548
|
width="106"
|
|
1549
1549
|
height="76"
|
|
@@ -1561,7 +1561,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
1561
1561
|
</div>
|
|
1562
1562
|
</div>
|
|
1563
1563
|
`, 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"] }]
|
|
1564
|
-
}],
|
|
1564
|
+
}], propDecorators: { onClick: [{
|
|
1565
1565
|
type: Output
|
|
1566
1566
|
}] } });
|
|
1567
1567
|
|
|
@@ -1579,6 +1579,13 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
1579
1579
|
}]
|
|
1580
1580
|
}] });
|
|
1581
1581
|
|
|
1582
|
+
class Configurations {
|
|
1583
|
+
constructor() {
|
|
1584
|
+
this.sentryConfig = {};
|
|
1585
|
+
this.envConfig = {};
|
|
1586
|
+
}
|
|
1587
|
+
}
|
|
1588
|
+
|
|
1582
1589
|
class FeatureFlagService {
|
|
1583
1590
|
constructor(http, authorizer, config) {
|
|
1584
1591
|
this.http = http;
|
|
@@ -1659,7 +1666,7 @@ class FeatureFlagService {
|
|
|
1659
1666
|
return true;
|
|
1660
1667
|
}
|
|
1661
1668
|
}
|
|
1662
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: FeatureFlagService, deps: [{ token: i1$
|
|
1669
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: FeatureFlagService, deps: [{ token: i1$2.HttpClient }, { token: i1$1.AuthorizerService }, { token: Configurations, optional: true }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1663
1670
|
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: FeatureFlagService, providedIn: 'root' }); }
|
|
1664
1671
|
}
|
|
1665
1672
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: FeatureFlagService, decorators: [{
|
|
@@ -1667,7 +1674,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
1667
1674
|
args: [{
|
|
1668
1675
|
providedIn: 'root',
|
|
1669
1676
|
}]
|
|
1670
|
-
}], ctorParameters: function () { return [{ type: i1$
|
|
1677
|
+
}], ctorParameters: function () { return [{ type: i1$2.HttpClient }, { type: i1$1.AuthorizerService }, { type: Configurations, decorators: [{
|
|
1671
1678
|
type: Optional
|
|
1672
1679
|
}] }]; } });
|
|
1673
1680
|
|
|
@@ -1743,12 +1750,12 @@ class SentryErrorHandler {
|
|
|
1743
1750
|
window.location.reload();
|
|
1744
1751
|
}
|
|
1745
1752
|
}
|
|
1746
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SentryErrorHandler, deps: [{ token: i1.AuthorizerService }, { token: GlobalErrorService }, { token: Configurations, optional: true }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1753
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SentryErrorHandler, deps: [{ token: i1$1.AuthorizerService }, { token: GlobalErrorService }, { token: Configurations, optional: true }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1747
1754
|
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SentryErrorHandler }); }
|
|
1748
1755
|
}
|
|
1749
1756
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SentryErrorHandler, decorators: [{
|
|
1750
1757
|
type: Injectable
|
|
1751
|
-
}], ctorParameters: function () { return [{ type: i1.AuthorizerService }, { type: GlobalErrorService }, { type: Configurations, decorators: [{
|
|
1758
|
+
}], ctorParameters: function () { return [{ type: i1$1.AuthorizerService }, { type: GlobalErrorService }, { type: Configurations, decorators: [{
|
|
1752
1759
|
type: Optional
|
|
1753
1760
|
}] }]; } });
|
|
1754
1761
|
|