vc-error-handlers 10.0.0 → 10.2.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.
@@ -1,15 +1,15 @@
1
1
  import * as i0 from "@angular/core";
2
- import { Component, Directive, ErrorHandler, EventEmitter, HostListener, Injectable, InjectionToken, Input, NgModule, Optional, Output, ViewChild, createComponent } from "@angular/core";
2
+ import { ChangeDetectionStrategy, Component, Directive, ErrorHandler, EventEmitter, HostListener, Injectable, InjectionToken, Input, NgModule, Optional, Output, ViewChild, createComponent } from "@angular/core";
3
3
  import * as i1 from "@angular/common/http";
4
4
  import { HTTP_INTERCEPTORS, HttpResponse } from "@angular/common/http";
5
5
  import { Subject, throwError } from "rxjs";
6
- import * as i3 from "@angular/router";
6
+ import * as i3$1 from "@angular/router";
7
7
  import { NavigationEnd, NavigationError, NavigationStart } from "@angular/router";
8
8
  import { catchError, retry, tap, timeout } from "rxjs/operators";
9
- import * as i2$1 from "@vcomply/authorizer";
10
- import * as i2 from "@angular/common";
9
+ import * as i2 from "@vcomply/authorizer";
10
+ import * as i3 from "@angular/common";
11
11
  import { CommonModule, NgOptimizedImage } from "@angular/common";
12
- import * as Sentry from "@sentry/angular-ivy";
12
+ import * as Sentry from "@sentry/angular";
13
13
  var VcErrorHandlersService = class VcErrorHandlersService {
14
14
  constructor() {}
15
15
  static {
@@ -1262,7 +1262,7 @@ var GlobalErrorService = class GlobalErrorService {
1262
1262
  deps: [
1263
1263
  { token: SnackBarService },
1264
1264
  { token: UtilsService },
1265
- { token: i3.Router }
1265
+ { token: i3$1.Router }
1266
1266
  ],
1267
1267
  target: i0.ɵɵFactoryTarget.Injectable
1268
1268
  });
@@ -1289,7 +1289,7 @@ i0.ɵɵngDeclareClassMetadata({
1289
1289
  ctorParameters: () => [
1290
1290
  { type: SnackBarService },
1291
1291
  { type: UtilsService },
1292
- { type: i3.Router }
1292
+ { type: i3$1.Router }
1293
1293
  ]
1294
1294
  });
1295
1295
  const BASE_URL = "https://cdn.v-comply.com";
@@ -1459,13 +1459,13 @@ var FeatureFlagService = class FeatureFlagService {
1459
1459
  this.AWSFlags = res;
1460
1460
  this.buildFeatureFlags(this.authorizer.getOrganizationId());
1461
1461
  } catch (error) {
1462
- reject(error);
1462
+ reject(error instanceof Error ? error : /* @__PURE__ */ new Error("An error occurred while fetching feature flags"));
1463
1463
  }
1464
1464
  },
1465
1465
  error: (err) => {
1466
- reject(new Error(err?.message || "An error occurred while fetching feature flags"));
1466
+ reject(err instanceof Error ? err : /* @__PURE__ */ new Error("An error occurred while fetching feature flags"));
1467
1467
  this.flagFetchError = true;
1468
- console.error("An error occurred while fetching feature flags", err);
1468
+ console.log("An error occurred while fetching feature flags", err);
1469
1469
  }
1470
1470
  });
1471
1471
  });
@@ -1499,7 +1499,7 @@ var FeatureFlagService = class FeatureFlagService {
1499
1499
  type: FeatureFlagService,
1500
1500
  deps: [
1501
1501
  { token: i1.HttpClient },
1502
- { token: i2$1.AuthorizerService },
1502
+ { token: i2.AuthorizerService },
1503
1503
  {
1504
1504
  token: Configurations,
1505
1505
  optional: true
@@ -1529,7 +1529,7 @@ i0.ɵɵngDeclareClassMetadata({
1529
1529
  }],
1530
1530
  ctorParameters: () => [
1531
1531
  { type: i1.HttpClient },
1532
- { type: i2$1.AuthorizerService },
1532
+ { type: i2.AuthorizerService },
1533
1533
  {
1534
1534
  type: Configurations,
1535
1535
  decorators: [{ type: Optional }]
@@ -1586,24 +1586,15 @@ var SnackBarComponent = class SnackBarComponent {
1586
1586
  }
1587
1587
  static {
1588
1588
  this.ɵcmp = i0.ɵɵngDeclareComponent({
1589
- minVersion: "14.0.0",
1589
+ minVersion: "17.0.0",
1590
1590
  version: "22.2.3",
1591
1591
  type: SnackBarComponent,
1592
1592
  isStandalone: false,
1593
1593
  selector: "app-snack-bar",
1594
1594
  ngImport: i0,
1595
- template: "<div class=\"workflow-snackbar\" *ngIf=\"show\">\r\n <div class=\"workflow-snackbar-inner\">\r\n <div class=\"workflow-snackbarText\">\r\n <!-- &#xe914; -->\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>",
1595
+ template: "@if (show) {\n <div class=\"workflow-snackbar\">\n <div class=\"workflow-snackbar-inner\">\n <div class=\"workflow-snackbarText\">\n <!-- &#xe914; -->\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>\n}",
1596
1596
  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"],
1597
- dependencies: [{
1598
- kind: "directive",
1599
- type: i2.NgIf,
1600
- selector: "[ngIf]",
1601
- inputs: [
1602
- "ngIf",
1603
- "ngIfThen",
1604
- "ngIfElse"
1605
- ]
1606
- }]
1597
+ changeDetection: i0.ChangeDetectionStrategy.Eager
1607
1598
  });
1608
1599
  }
1609
1600
  };
@@ -1615,9 +1606,10 @@ i0.ɵɵngDeclareClassMetadata({
1615
1606
  decorators: [{
1616
1607
  type: Component,
1617
1608
  args: [{
1618
- standalone: false,
1619
1609
  selector: "app-snack-bar",
1620
- template: "<div class=\"workflow-snackbar\" *ngIf=\"show\">\r\n <div class=\"workflow-snackbar-inner\">\r\n <div class=\"workflow-snackbarText\">\r\n <!-- &#xe914; -->\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>",
1610
+ changeDetection: ChangeDetectionStrategy.Eager,
1611
+ standalone: false,
1612
+ template: "@if (show) {\n <div class=\"workflow-snackbar\">\n <div class=\"workflow-snackbar-inner\">\n <div class=\"workflow-snackbarText\">\n <!-- &#xe914; -->\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>\n}",
1621
1613
  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"]
1622
1614
  }]
1623
1615
  }],
@@ -1630,6 +1622,7 @@ var ToolTipDirective = class ToolTipDirective {
1630
1622
  this.showTooltip = true;
1631
1623
  this.offset = 8;
1632
1624
  }
1625
+ ngOnInit() {}
1633
1626
  onMouseEnter() {
1634
1627
  this.hide();
1635
1628
  this.show();
@@ -1767,8 +1760,8 @@ i0.ɵɵngDeclareClassMetadata({
1767
1760
  decorators: [{
1768
1761
  type: Directive,
1769
1762
  args: [{
1770
- standalone: false,
1771
- selector: "[arTooltip]"
1763
+ selector: "[arTooltip]",
1764
+ standalone: false
1772
1765
  }]
1773
1766
  }],
1774
1767
  ctorParameters: () => [{ type: i0.ElementRef }, { type: i0.Renderer2 }],
@@ -1825,7 +1818,7 @@ var UnauthorizedComponent = class UnauthorizedComponent {
1825
1818
  version: "22.2.3",
1826
1819
  ngImport: i0,
1827
1820
  type: UnauthorizedComponent,
1828
- deps: [{ token: i3.ActivatedRoute }, { token: RouterService }],
1821
+ deps: [{ token: i3$1.ActivatedRoute }, { token: RouterService }],
1829
1822
  target: i0.ɵɵFactoryTarget.Component
1830
1823
  });
1831
1824
  }
@@ -1893,7 +1886,7 @@ var UnauthorizedComponent = class UnauthorizedComponent {
1893
1886
  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"],
1894
1887
  dependencies: [{
1895
1888
  kind: "directive",
1896
- type: i2.NgOptimizedImage,
1889
+ type: i3.NgOptimizedImage,
1897
1890
  selector: "img[ngSrc]",
1898
1891
  inputs: [
1899
1892
  "ngSrc",
@@ -1924,7 +1917,8 @@ var UnauthorizedComponent = class UnauthorizedComponent {
1924
1917
  "showTooltip",
1925
1918
  "animate"
1926
1919
  ]
1927
- }]
1920
+ }],
1921
+ changeDetection: i0.ChangeDetectionStrategy.Eager
1928
1922
  });
1929
1923
  }
1930
1924
  };
@@ -1936,7 +1930,6 @@ i0.ɵɵngDeclareClassMetadata({
1936
1930
  decorators: [{
1937
1931
  type: Component,
1938
1932
  args: [{
1939
- standalone: false,
1940
1933
  selector: "lib-vc-error-unauthorized",
1941
1934
  template: `
1942
1935
  <div class="errorPage">
@@ -1990,10 +1983,12 @@ i0.ɵɵngDeclareClassMetadata({
1990
1983
  </div>
1991
1984
  </div>
1992
1985
  `,
1986
+ changeDetection: ChangeDetectionStrategy.Eager,
1987
+ standalone: false,
1993
1988
  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"]
1994
1989
  }]
1995
1990
  }],
1996
- ctorParameters: () => [{ type: i3.ActivatedRoute }, { type: RouterService }]
1991
+ ctorParameters: () => [{ type: i3$1.ActivatedRoute }, { type: RouterService }]
1997
1992
  });
1998
1993
  var DialogConfig = class {};
1999
1994
  var ErrorModalComponent = class ErrorModalComponent {
@@ -2029,7 +2024,7 @@ var ErrorModalComponent = class ErrorModalComponent {
2029
2024
  ngImport: i0,
2030
2025
  type: ErrorModalComponent,
2031
2026
  deps: [
2032
- { token: i2$1.AuthorizerService },
2027
+ { token: i2.AuthorizerService },
2033
2028
  { token: DialogConfig },
2034
2029
  { token: RouterService }
2035
2030
  ],
@@ -2057,7 +2052,8 @@ var ErrorModalComponent = class ErrorModalComponent {
2057
2052
  </div>
2058
2053
  </div>`,
2059
2054
  isInline: true,
2060
- 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"]
2055
+ 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"],
2056
+ changeDetection: i0.ChangeDetectionStrategy.Eager
2061
2057
  });
2062
2058
  }
2063
2059
  };
@@ -2069,7 +2065,6 @@ i0.ɵɵngDeclareClassMetadata({
2069
2065
  decorators: [{
2070
2066
  type: Component,
2071
2067
  args: [{
2072
- standalone: false,
2073
2068
  selector: "lib-vc-error-modal",
2074
2069
  template: ` <div class="error-dialog-box">
2075
2070
  <div class="error-dialog-box-top">{{ data.heading }}</div>
@@ -2082,11 +2077,13 @@ i0.ɵɵngDeclareClassMetadata({
2082
2077
  </button>
2083
2078
  </div>
2084
2079
  </div>`,
2080
+ changeDetection: ChangeDetectionStrategy.Eager,
2081
+ standalone: false,
2085
2082
  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"]
2086
2083
  }]
2087
2084
  }],
2088
2085
  ctorParameters: () => [
2089
- { type: i2$1.AuthorizerService },
2086
+ { type: i2.AuthorizerService },
2090
2087
  { type: DialogConfig },
2091
2088
  { type: RouterService }
2092
2089
  ],
@@ -2125,8 +2122,8 @@ i0.ɵɵngDeclareClassMetadata({
2125
2122
  decorators: [{
2126
2123
  type: Directive,
2127
2124
  args: [{
2128
- standalone: false,
2129
- selector: "[appInsertion]"
2125
+ selector: "[appInsertion]",
2126
+ standalone: false
2130
2127
  }]
2131
2128
  }],
2132
2129
  ctorParameters: () => [{ type: i0.ViewContainerRef }]
@@ -2197,7 +2194,7 @@ var DialogComponent = class DialogComponent {
2197
2194
  { token: i0.ChangeDetectorRef },
2198
2195
  { token: DialogRef },
2199
2196
  { token: DialogConfig },
2200
- { token: i3.Router }
2197
+ { token: i3$1.Router }
2201
2198
  ],
2202
2199
  target: i0.ɵɵFactoryTarget.Component
2203
2200
  });
@@ -2217,18 +2214,19 @@ var DialogComponent = class DialogComponent {
2217
2214
  static: true
2218
2215
  }],
2219
2216
  ngImport: i0,
2220
- 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",
2217
+ 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",
2221
2218
  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"],
2222
2219
  dependencies: [{
2223
2220
  kind: "directive",
2224
- type: i2.NgClass,
2221
+ type: i3.NgClass,
2225
2222
  selector: "[ngClass]",
2226
2223
  inputs: ["class", "ngClass"]
2227
2224
  }, {
2228
2225
  kind: "directive",
2229
2226
  type: InsertionDirective,
2230
2227
  selector: "[appInsertion]"
2231
- }]
2228
+ }],
2229
+ changeDetection: i0.ChangeDetectionStrategy.Eager
2232
2230
  });
2233
2231
  }
2234
2232
  };
@@ -2240,9 +2238,10 @@ i0.ɵɵngDeclareClassMetadata({
2240
2238
  decorators: [{
2241
2239
  type: Component,
2242
2240
  args: [{
2243
- standalone: false,
2244
2241
  selector: "app-dialog",
2245
- 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",
2242
+ changeDetection: ChangeDetectionStrategy.Eager,
2243
+ standalone: false,
2244
+ 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",
2246
2245
  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"]
2247
2246
  }]
2248
2247
  }],
@@ -2250,7 +2249,7 @@ i0.ɵɵngDeclareClassMetadata({
2250
2249
  { type: i0.ChangeDetectorRef },
2251
2250
  { type: DialogRef },
2252
2251
  { type: DialogConfig },
2253
- { type: i3.Router }
2252
+ { type: i3$1.Router }
2254
2253
  ],
2255
2254
  propDecorators: { insertionPoint: [{
2256
2255
  type: ViewChild,
@@ -2317,10 +2316,9 @@ var DialogInjector = class {
2317
2316
  }
2318
2317
  };
2319
2318
  var DialogService = class DialogService {
2320
- constructor(appRef, injector, environmentInjector) {
2319
+ constructor(appRef, injector) {
2321
2320
  this.appRef = appRef;
2322
2321
  this.injector = injector;
2323
- this.environmentInjector = environmentInjector;
2324
2322
  }
2325
2323
  open(componentType, config) {
2326
2324
  const dialogRef = this.appendDialogComponentToBody(config);
@@ -2337,7 +2335,7 @@ var DialogService = class DialogService {
2337
2335
  sub.unsubscribe();
2338
2336
  });
2339
2337
  const componentRef = createComponent(DialogComponent, {
2340
- environmentInjector: this.environmentInjector,
2338
+ environmentInjector: this.appRef.injector,
2341
2339
  elementInjector: new DialogInjector(this.injector, map)
2342
2340
  });
2343
2341
  this.appRef.attachView(componentRef.hostView);
@@ -2359,11 +2357,7 @@ var DialogService = class DialogService {
2359
2357
  version: "22.2.3",
2360
2358
  ngImport: i0,
2361
2359
  type: DialogService,
2362
- deps: [
2363
- { token: i0.ApplicationRef },
2364
- { token: i0.Injector },
2365
- { token: i0.EnvironmentInjector }
2366
- ],
2360
+ deps: [{ token: i0.ApplicationRef }, { token: i0.Injector }],
2367
2361
  target: i0.ɵɵFactoryTarget.Injectable
2368
2362
  });
2369
2363
  }
@@ -2386,11 +2380,7 @@ i0.ɵɵngDeclareClassMetadata({
2386
2380
  type: Injectable,
2387
2381
  args: [{ providedIn: DialogModule }]
2388
2382
  }],
2389
- ctorParameters: () => [
2390
- { type: i0.ApplicationRef },
2391
- { type: i0.Injector },
2392
- { type: i0.EnvironmentInjector }
2393
- ]
2383
+ ctorParameters: () => [{ type: i0.ApplicationRef }, { type: i0.Injector }]
2394
2384
  });
2395
2385
  var SessionExpiredComponent = class SessionExpiredComponent {
2396
2386
  constructor(dialogService) {
@@ -2430,7 +2420,8 @@ var SessionExpiredComponent = class SessionExpiredComponent {
2430
2420
  selector: "lib-vc-error-session-expired",
2431
2421
  ngImport: i0,
2432
2422
  template: ``,
2433
- isInline: true
2423
+ isInline: true,
2424
+ changeDetection: i0.ChangeDetectionStrategy.Eager
2434
2425
  });
2435
2426
  }
2436
2427
  };
@@ -2442,9 +2433,10 @@ i0.ɵɵngDeclareClassMetadata({
2442
2433
  decorators: [{
2443
2434
  type: Component,
2444
2435
  args: [{
2445
- standalone: false,
2446
2436
  selector: "lib-vc-error-session-expired",
2447
- template: ``
2437
+ template: ``,
2438
+ changeDetection: ChangeDetectionStrategy.Eager,
2439
+ standalone: false
2448
2440
  }]
2449
2441
  }],
2450
2442
  ctorParameters: () => [{ type: DialogService }]
@@ -2487,7 +2479,8 @@ var ChunkUnavailableComponent = class ChunkUnavailableComponent {
2487
2479
  selector: "lib-vc-error-chunk-unavailable",
2488
2480
  ngImport: i0,
2489
2481
  template: ``,
2490
- isInline: true
2482
+ isInline: true,
2483
+ changeDetection: i0.ChangeDetectionStrategy.Eager
2491
2484
  });
2492
2485
  }
2493
2486
  };
@@ -2499,9 +2492,10 @@ i0.ɵɵngDeclareClassMetadata({
2499
2492
  decorators: [{
2500
2493
  type: Component,
2501
2494
  args: [{
2502
- standalone: false,
2503
2495
  selector: "lib-vc-error-chunk-unavailable",
2504
- template: ``
2496
+ template: ``,
2497
+ changeDetection: ChangeDetectionStrategy.Eager,
2498
+ standalone: false
2505
2499
  }]
2506
2500
  }],
2507
2501
  ctorParameters: () => [{ type: DialogService }]
@@ -2569,7 +2563,7 @@ var ServerErrorComponent = class ServerErrorComponent {
2569
2563
  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"],
2570
2564
  dependencies: [{
2571
2565
  kind: "directive",
2572
- type: i2.NgOptimizedImage,
2566
+ type: i3.NgOptimizedImage,
2573
2567
  selector: "img[ngSrc]",
2574
2568
  inputs: [
2575
2569
  "ngSrc",
@@ -2588,7 +2582,8 @@ var ServerErrorComponent = class ServerErrorComponent {
2588
2582
  "src",
2589
2583
  "srcset"
2590
2584
  ]
2591
- }]
2585
+ }],
2586
+ changeDetection: i0.ChangeDetectionStrategy.Eager
2592
2587
  });
2593
2588
  }
2594
2589
  };
@@ -2600,7 +2595,6 @@ i0.ɵɵngDeclareClassMetadata({
2600
2595
  decorators: [{
2601
2596
  type: Component,
2602
2597
  args: [{
2603
- standalone: false,
2604
2598
  selector: "lib-vc-error-server-error",
2605
2599
  template: `
2606
2600
  <div class="errorPage">
@@ -2634,6 +2628,8 @@ i0.ɵɵngDeclareClassMetadata({
2634
2628
  </div>
2635
2629
  </div>
2636
2630
  `,
2631
+ changeDetection: ChangeDetectionStrategy.Eager,
2632
+ standalone: false,
2637
2633
  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"]
2638
2634
  }]
2639
2635
  }]
@@ -2712,7 +2708,7 @@ var VcErrorHandlersComponent = class VcErrorHandlersComponent {
2712
2708
  }
2713
2709
  static {
2714
2710
  this.ɵcmp = i0.ɵɵngDeclareComponent({
2715
- minVersion: "14.0.0",
2711
+ minVersion: "17.0.0",
2716
2712
  version: "22.2.3",
2717
2713
  type: VcErrorHandlersComponent,
2718
2714
  isStandalone: false,
@@ -2724,28 +2720,24 @@ var VcErrorHandlersComponent = class VcErrorHandlersComponent {
2724
2720
  ngImport: i0,
2725
2721
  template: `
2726
2722
  <app-snack-bar></app-snack-bar>
2727
- <lib-vc-error-session-expired
2728
- *ngIf="sessionExpired"
2729
- ></lib-vc-error-session-expired>
2730
-
2731
- <lib-vc-error-unauthorized *ngIf="unauthorized"></lib-vc-error-unauthorized>
2732
- <lib-vc-error-chunk-unavailable
2733
- *ngIf="chunkUnavailable"
2734
- ></lib-vc-error-chunk-unavailable>
2735
- <lib-vc-error-server-error *ngIf="serverError"></lib-vc-error-server-error>
2736
- `,
2723
+ @if (sessionExpired) {
2724
+ <lib-vc-error-session-expired
2725
+ ></lib-vc-error-session-expired>
2726
+ }
2727
+
2728
+ @if (unauthorized) {
2729
+ <lib-vc-error-unauthorized></lib-vc-error-unauthorized>
2730
+ }
2731
+ @if (chunkUnavailable) {
2732
+ <lib-vc-error-chunk-unavailable
2733
+ ></lib-vc-error-chunk-unavailable>
2734
+ }
2735
+ @if (serverError) {
2736
+ <lib-vc-error-server-error></lib-vc-error-server-error>
2737
+ }
2738
+ `,
2737
2739
  isInline: true,
2738
2740
  dependencies: [
2739
- {
2740
- kind: "directive",
2741
- type: i2.NgIf,
2742
- selector: "[ngIf]",
2743
- inputs: [
2744
- "ngIf",
2745
- "ngIfThen",
2746
- "ngIfElse"
2747
- ]
2748
- },
2749
2741
  {
2750
2742
  kind: "component",
2751
2743
  type: SnackBarComponent,
@@ -2771,7 +2763,8 @@ var VcErrorHandlersComponent = class VcErrorHandlersComponent {
2771
2763
  type: ServerErrorComponent,
2772
2764
  selector: "lib-vc-error-server-error"
2773
2765
  }
2774
- ]
2766
+ ],
2767
+ changeDetection: i0.ChangeDetectionStrategy.Eager
2775
2768
  });
2776
2769
  }
2777
2770
  };
@@ -2783,20 +2776,27 @@ i0.ɵɵngDeclareClassMetadata({
2783
2776
  decorators: [{
2784
2777
  type: Component,
2785
2778
  args: [{
2786
- standalone: false,
2787
2779
  selector: "lib-vc-error-handlers",
2788
2780
  template: `
2789
2781
  <app-snack-bar></app-snack-bar>
2790
- <lib-vc-error-session-expired
2791
- *ngIf="sessionExpired"
2792
- ></lib-vc-error-session-expired>
2793
-
2794
- <lib-vc-error-unauthorized *ngIf="unauthorized"></lib-vc-error-unauthorized>
2795
- <lib-vc-error-chunk-unavailable
2796
- *ngIf="chunkUnavailable"
2797
- ></lib-vc-error-chunk-unavailable>
2798
- <lib-vc-error-server-error *ngIf="serverError"></lib-vc-error-server-error>
2799
- `
2782
+ @if (sessionExpired) {
2783
+ <lib-vc-error-session-expired
2784
+ ></lib-vc-error-session-expired>
2785
+ }
2786
+
2787
+ @if (unauthorized) {
2788
+ <lib-vc-error-unauthorized></lib-vc-error-unauthorized>
2789
+ }
2790
+ @if (chunkUnavailable) {
2791
+ <lib-vc-error-chunk-unavailable
2792
+ ></lib-vc-error-chunk-unavailable>
2793
+ }
2794
+ @if (serverError) {
2795
+ <lib-vc-error-server-error></lib-vc-error-server-error>
2796
+ }
2797
+ `,
2798
+ changeDetection: ChangeDetectionStrategy.Eager,
2799
+ standalone: false
2800
2800
  }]
2801
2801
  }],
2802
2802
  ctorParameters: () => [
@@ -2830,7 +2830,7 @@ var PageNotFoundComponent = class PageNotFoundComponent {
2830
2830
  version: "22.2.3",
2831
2831
  ngImport: i0,
2832
2832
  type: PageNotFoundComponent,
2833
- deps: [{ token: i3.ActivatedRoute }, { token: RouterService }],
2833
+ deps: [{ token: i3$1.ActivatedRoute }, { token: RouterService }],
2834
2834
  target: i0.ɵɵFactoryTarget.Component
2835
2835
  });
2836
2836
  }
@@ -2892,7 +2892,7 @@ var PageNotFoundComponent = class PageNotFoundComponent {
2892
2892
  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"],
2893
2893
  dependencies: [{
2894
2894
  kind: "directive",
2895
- type: i2.NgOptimizedImage,
2895
+ type: i3.NgOptimizedImage,
2896
2896
  selector: "img[ngSrc]",
2897
2897
  inputs: [
2898
2898
  "ngSrc",
@@ -2923,7 +2923,8 @@ var PageNotFoundComponent = class PageNotFoundComponent {
2923
2923
  "showTooltip",
2924
2924
  "animate"
2925
2925
  ]
2926
- }]
2926
+ }],
2927
+ changeDetection: i0.ChangeDetectionStrategy.Eager
2927
2928
  });
2928
2929
  }
2929
2930
  };
@@ -2935,7 +2936,6 @@ i0.ɵɵngDeclareClassMetadata({
2935
2936
  decorators: [{
2936
2937
  type: Component,
2937
2938
  args: [{
2938
- standalone: false,
2939
2939
  selector: "lib-vc-error-page-not-found",
2940
2940
  template: `
2941
2941
  <div class="errorPage">
@@ -2983,10 +2983,12 @@ i0.ɵɵngDeclareClassMetadata({
2983
2983
  </div>
2984
2984
  </div>
2985
2985
  `,
2986
+ changeDetection: ChangeDetectionStrategy.Eager,
2987
+ standalone: false,
2986
2988
  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"]
2987
2989
  }]
2988
2990
  }],
2989
- ctorParameters: () => [{ type: i3.ActivatedRoute }, { type: RouterService }]
2991
+ ctorParameters: () => [{ type: i3$1.ActivatedRoute }, { type: RouterService }]
2990
2992
  });
2991
2993
  var ComponentLevelServerErrorComponent = class ComponentLevelServerErrorComponent {
2992
2994
  constructor() {
@@ -3040,7 +3042,7 @@ var ComponentLevelServerErrorComponent = class ComponentLevelServerErrorComponen
3040
3042
  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"],
3041
3043
  dependencies: [{
3042
3044
  kind: "directive",
3043
- type: i2.NgOptimizedImage,
3045
+ type: i3.NgOptimizedImage,
3044
3046
  selector: "img[ngSrc]",
3045
3047
  inputs: [
3046
3048
  "ngSrc",
@@ -3059,7 +3061,8 @@ var ComponentLevelServerErrorComponent = class ComponentLevelServerErrorComponen
3059
3061
  "src",
3060
3062
  "srcset"
3061
3063
  ]
3062
- }]
3064
+ }],
3065
+ changeDetection: i0.ChangeDetectionStrategy.Eager
3063
3066
  });
3064
3067
  }
3065
3068
  };
@@ -3071,7 +3074,6 @@ i0.ɵɵngDeclareClassMetadata({
3071
3074
  decorators: [{
3072
3075
  type: Component,
3073
3076
  args: [{
3074
- standalone: false,
3075
3077
  selector: "lib-vc-error-component-server-error",
3076
3078
  template: `
3077
3079
  <div class="serverError">
@@ -3096,6 +3098,8 @@ i0.ɵɵngDeclareClassMetadata({
3096
3098
  </div>
3097
3099
  </div>
3098
3100
  `,
3101
+ changeDetection: ChangeDetectionStrategy.Eager,
3102
+ standalone: false,
3099
3103
  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"]
3100
3104
  }]
3101
3105
  }],
@@ -3144,8 +3148,8 @@ i0.ɵɵngDeclareClassMetadata({
3144
3148
  decorators: [{
3145
3149
  type: Directive,
3146
3150
  args: [{
3147
- standalone: false,
3148
- selector: "[featureFlag]"
3151
+ selector: "[featureFlag]",
3152
+ standalone: false
3149
3153
  }]
3150
3154
  }],
3151
3155
  ctorParameters: () => [
@@ -3299,12 +3303,12 @@ var SentryErrorHandler = class SentryErrorHandler {
3299
3303
  this.errorService = errorService;
3300
3304
  if (config?.sentryConfig) {
3301
3305
  const SENTRY_CONFIG = config.sentryConfig;
3306
+ const environment = config.envConfig?.environment || "production";
3302
3307
  Sentry.init({
3303
3308
  dsn: SENTRY_CONFIG?.DSN,
3304
- integrations: [new Sentry.BrowserTracing({
3305
- tracePropagationTargets: SENTRY_CONFIG.ALLOW_ORIGIN,
3306
- routingInstrumentation: Sentry.routingInstrumentation
3307
- })],
3309
+ environment,
3310
+ integrations: [Sentry.browserTracingIntegration()],
3311
+ tracePropagationTargets: SENTRY_CONFIG.ALLOW_ORIGIN,
3308
3312
  tracesSampleRate: SENTRY_CONFIG.TRACES_SAMPLE_RATE,
3309
3313
  replaysSessionSampleRate: SENTRY_CONFIG.REPLAY_SESSION_SAMPLE_RATE,
3310
3314
  replaysOnErrorSampleRate: SENTRY_CONFIG.REPLAY_ON_ERROR_SAMPLE_RATE
@@ -3327,7 +3331,7 @@ var SentryErrorHandler = class SentryErrorHandler {
3327
3331
  ngImport: i0,
3328
3332
  type: SentryErrorHandler,
3329
3333
  deps: [
3330
- { token: i2$1.AuthorizerService },
3334
+ { token: i2.AuthorizerService },
3331
3335
  { token: GlobalErrorService },
3332
3336
  {
3333
3337
  token: Configurations,
@@ -3353,7 +3357,7 @@ i0.ɵɵngDeclareClassMetadata({
3353
3357
  type: SentryErrorHandler,
3354
3358
  decorators: [{ type: Injectable }],
3355
3359
  ctorParameters: () => [
3356
- { type: i2$1.AuthorizerService },
3360
+ { type: i2.AuthorizerService },
3357
3361
  { type: GlobalErrorService },
3358
3362
  {
3359
3363
  type: Configurations,