@osovitny/anatoly 3.20.20 → 3.20.22

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.
@@ -11,35 +11,35 @@ import js_beautify from 'js-beautify';
11
11
  import * as i1$2 from '@angular/router';
12
12
  import { NavigationEnd, NavigationStart, NavigationCancel, NavigationError, RouterModule } from '@angular/router';
13
13
  import { v4 } from 'uuid';
14
- import * as i1$3 from '@azure/msal-angular';
15
- import { MSAL_GUARD_CONFIG, MsalGuard, MsalService, MsalBroadcastService, MsalInterceptor, MsalModule } from '@azure/msal-angular';
14
+ import * as i4 from '@azure/msal-angular';
15
+ import { MSAL_GUARD_CONFIG, MsalGuard, MsalService, MsalBroadcastService, MsalInterceptor, MSAL_INSTANCE, MSAL_INTERCEPTOR_CONFIG, MsalModule } from '@azure/msal-angular';
16
16
  import { BrowserUtils, EventType, InteractionStatus, InteractionType, InteractionRequiredAuthError, PromptValue, PublicClientApplication, LogLevel } from '@azure/msal-browser';
17
17
  import { enUS } from 'date-fns/locale/en-US';
18
- import * as i1$4 from '@ngx-translate/core';
18
+ import * as i1$3 from '@ngx-translate/core';
19
19
  import { TranslateModule, TranslateLoader, TranslateService } from '@ngx-translate/core';
20
20
  import { TranslateHttpLoader } from '@ngx-translate/http-loader';
21
21
  import Swal from 'sweetalert2';
22
- import * as i1$5 from 'ngx-toastr';
22
+ import * as i1$4 from 'ngx-toastr';
23
23
  import { ToastrModule } from 'ngx-toastr';
24
- import * as i1$6 from '@angular/cdk/platform';
25
- import * as i1$7 from '@angular/platform-browser';
24
+ import * as i1$5 from '@angular/cdk/platform';
25
+ import * as i1$6 from '@angular/platform-browser';
26
26
  import * as i2 from '@angular/forms';
27
27
  import { FormControl, Validators, ReactiveFormsModule, FormsModule } from '@angular/forms';
28
28
  import * as dropin from 'braintree-web-drop-in';
29
- import * as i4 from '@progress/kendo-angular-dialog';
29
+ import * as i4$1 from '@progress/kendo-angular-dialog';
30
30
  import { DialogsModule } from '@progress/kendo-angular-dialog';
31
31
  import { loadStripe } from '@stripe/stripe-js';
32
- import * as i4$1 from '@progress/kendo-angular-label';
32
+ import * as i4$2 from '@progress/kendo-angular-label';
33
33
  import { LabelModule } from '@progress/kendo-angular-label';
34
34
  import * as i3 from '@progress/kendo-angular-dropdowns';
35
35
  import { DropDownsModule } from '@progress/kendo-angular-dropdowns';
36
36
  import * as i3$1 from 'angular-froala-wysiwyg';
37
37
  import { FERootModule } from 'angular-froala-wysiwyg';
38
- import * as i1$8 from '@fortawesome/angular-fontawesome';
38
+ import * as i1$7 from '@fortawesome/angular-fontawesome';
39
39
  import { FontAwesomeModule } from '@fortawesome/angular-fontawesome';
40
- import * as i1$9 from '@progress/kendo-angular-pager';
40
+ import * as i1$8 from '@progress/kendo-angular-pager';
41
41
  import { PagerModule } from '@progress/kendo-angular-pager';
42
- import * as i1$a from 'ngx-captcha';
42
+ import * as i1$9 from 'ngx-captcha';
43
43
  import { NgxCaptchaModule } from 'ngx-captcha';
44
44
  import { faCheckCircle, faCircleXmark, faDatabase, faCopy } from '@fortawesome/free-solid-svg-icons';
45
45
  import { ButtonsModule } from '@progress/kendo-angular-buttons';
@@ -1712,10 +1712,20 @@ class MSALRedirect {
1712
1712
  Copyright (c) 2016-2025 Osovitny Inc. All rights reserved.
1713
1713
  </file>
1714
1714
  */
1715
- let msalSettings = document.getElementById("msalSettings").getAttribute('data-msalsettings');
1716
- let MSALConfig = JSON.parse(msalSettings);
1717
- let MSALApiConfig = MSALConfig?.api;
1718
- let MSALB2CConfig = MSALConfig?.b2c;
1715
+ //App
1716
+ function getMsalSettings() {
1717
+ const json = sessionStorage.getItem(SessionStorageKeys.appMSALSettings);
1718
+ return json ? JSON.parse(json) : null;
1719
+ }
1720
+ function resetMsalSettings() {
1721
+ let msalSettings = getMsalSettings();
1722
+ MSALConfig = msalSettings;
1723
+ MSALApiConfig = MSALConfig?.api;
1724
+ MSALB2CConfig = MSALConfig?.b2c;
1725
+ }
1726
+ let MSALConfig;
1727
+ let MSALApiConfig;
1728
+ let MSALB2CConfig;
1719
1729
 
1720
1730
  /*
1721
1731
  <file>
@@ -2247,7 +2257,7 @@ class AuthService extends ApiServiceBase {
2247
2257
  };
2248
2258
  this.login(resetPasswordFlowRequest);
2249
2259
  }
2250
- static { this.ɵfac = function AuthService_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || AuthService)(i0.ɵɵinject(i1.HttpClient), i0.ɵɵinject(i1$2.Router), i0.ɵɵinject(AppContextService), i0.ɵɵinject(MSAL_GUARD_CONFIG), i0.ɵɵinject(i1$3.MsalService), i0.ɵɵinject(i1$3.MsalBroadcastService)); }; }
2260
+ static { this.ɵfac = function AuthService_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || AuthService)(i0.ɵɵinject(i1.HttpClient), i0.ɵɵinject(i1$2.Router), i0.ɵɵinject(AppContextService), i0.ɵɵinject(MSAL_GUARD_CONFIG), i0.ɵɵinject(i4.MsalService), i0.ɵɵinject(i4.MsalBroadcastService)); }; }
2251
2261
  static { this.ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token: AuthService, factory: AuthService.ɵfac, providedIn: 'root' }); }
2252
2262
  }
2253
2263
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(AuthService, [{
@@ -2258,7 +2268,7 @@ class AuthService extends ApiServiceBase {
2258
2268
  }], () => [{ type: i1.HttpClient }, { type: i1$2.Router }, { type: AppContextService }, { type: undefined, decorators: [{
2259
2269
  type: Inject,
2260
2270
  args: [MSAL_GUARD_CONFIG]
2261
- }] }, { type: i1$3.MsalService }, { type: i1$3.MsalBroadcastService }], null); })();
2271
+ }] }, { type: i4.MsalService }, { type: i4.MsalBroadcastService }], null); })();
2262
2272
 
2263
2273
  /*
2264
2274
  <file>
@@ -2432,7 +2442,7 @@ class AuthenticationGuard extends MsalGuard {
2432
2442
  this.setInteractionType(route);
2433
2443
  return super.canActivate(route, state);
2434
2444
  }
2435
- static { this.ɵfac = function AuthenticationGuard_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || AuthenticationGuard)(i0.ɵɵinject(MSAL_GUARD_CONFIG), i0.ɵɵinject(i1$3.MsalBroadcastService), i0.ɵɵinject(i1$3.MsalService), i0.ɵɵinject(i1$1.Location), i0.ɵɵinject(i1$2.Router)); }; }
2445
+ static { this.ɵfac = function AuthenticationGuard_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || AuthenticationGuard)(i0.ɵɵinject(MSAL_GUARD_CONFIG), i0.ɵɵinject(i4.MsalBroadcastService), i0.ɵɵinject(i4.MsalService), i0.ɵɵinject(i1$1.Location), i0.ɵɵinject(i1$2.Router)); }; }
2436
2446
  static { this.ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token: AuthenticationGuard, factory: AuthenticationGuard.ɵfac }); }
2437
2447
  }
2438
2448
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(AuthenticationGuard, [{
@@ -2440,7 +2450,7 @@ class AuthenticationGuard extends MsalGuard {
2440
2450
  }], () => [{ type: undefined, decorators: [{
2441
2451
  type: Inject,
2442
2452
  args: [MSAL_GUARD_CONFIG]
2443
- }] }, { type: i1$3.MsalBroadcastService }, { type: i1$3.MsalService }, { type: i1$1.Location }, { type: i1$2.Router }], null); })();
2453
+ }] }, { type: i4.MsalBroadcastService }, { type: i4.MsalService }, { type: i1$1.Location }, { type: i1$2.Router }], null); })();
2444
2454
 
2445
2455
  /*
2446
2456
  <file>
@@ -3018,7 +3028,7 @@ class LocalizationService {
3018
3028
  }
3019
3029
  return formatDistanceToNow(d, this.dateFnsLocale);
3020
3030
  }
3021
- static { this.ɵfac = function LocalizationService_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || LocalizationService)(i0.ɵɵinject(i1$4.TranslateService)); }; }
3031
+ static { this.ɵfac = function LocalizationService_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || LocalizationService)(i0.ɵɵinject(i1$3.TranslateService)); }; }
3022
3032
  static { this.ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token: LocalizationService, factory: LocalizationService.ɵfac, providedIn: 'root' }); }
3023
3033
  }
3024
3034
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(LocalizationService, [{
@@ -3026,7 +3036,7 @@ class LocalizationService {
3026
3036
  args: [{
3027
3037
  providedIn: 'root'
3028
3038
  }]
3029
- }], () => [{ type: i1$4.TranslateService }], { langchange: [{
3039
+ }], () => [{ type: i1$3.TranslateService }], { langchange: [{
3030
3040
  type: Output
3031
3041
  }] }); })();
3032
3042
 
@@ -3186,7 +3196,7 @@ class LocalizationModule {
3186
3196
  ]
3187
3197
  }]
3188
3198
  }], () => [{ type: i0.Injector }], null); })();
3189
- (function () { (typeof ngJitMode === "undefined" || ngJitMode) && i0.ɵɵsetNgModuleScope(LocalizationModule, { declarations: [LocalizePipe], imports: [i1$4.TranslateModule], exports: [TranslateModule,
3199
+ (function () { (typeof ngJitMode === "undefined" || ngJitMode) && i0.ɵɵsetNgModuleScope(LocalizationModule, { declarations: [LocalizePipe], imports: [i1$3.TranslateModule], exports: [TranslateModule,
3190
3200
  LocalizePipe] }); })();
3191
3201
 
3192
3202
  /*
@@ -3463,13 +3473,13 @@ class NotificationService {
3463
3473
  let title = 'Authentication Required';
3464
3474
  this.warning(text, null, title);
3465
3475
  }
3466
- static { this.ɵfac = function NotificationService_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || NotificationService)(i0.ɵɵinject(i1$5.ToastrService)); }; }
3476
+ static { this.ɵfac = function NotificationService_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || NotificationService)(i0.ɵɵinject(i1$4.ToastrService)); }; }
3467
3477
  static { this.ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token: NotificationService, factory: NotificationService.ɵfac, providedIn: 'root' }); }
3468
3478
  }
3469
3479
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(NotificationService, [{
3470
3480
  type: Injectable,
3471
3481
  args: [{ providedIn: 'root' }]
3472
- }], () => [{ type: i1$5.ToastrService }], null); })();
3482
+ }], () => [{ type: i1$4.ToastrService }], null); })();
3473
3483
 
3474
3484
  class BrowserService {
3475
3485
  constructor(platform) {
@@ -3547,7 +3557,7 @@ class BrowserService {
3547
3557
  get userAgent() {
3548
3558
  return navigator.userAgent.toLowerCase();
3549
3559
  }
3550
- static { this.ɵfac = function BrowserService_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || BrowserService)(i0.ɵɵinject(i1$6.Platform)); }; }
3560
+ static { this.ɵfac = function BrowserService_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || BrowserService)(i0.ɵɵinject(i1$5.Platform)); }; }
3551
3561
  static { this.ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token: BrowserService, factory: BrowserService.ɵfac, providedIn: 'root' }); }
3552
3562
  }
3553
3563
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(BrowserService, [{
@@ -3555,7 +3565,7 @@ class BrowserService {
3555
3565
  args: [{
3556
3566
  providedIn: 'root'
3557
3567
  }]
3558
- }], () => [{ type: i1$6.Platform }], null); })();
3568
+ }], () => [{ type: i1$5.Platform }], null); })();
3559
3569
 
3560
3570
  /*
3561
3571
  <file>
@@ -3688,7 +3698,7 @@ class DigitalMarketingService {
3688
3698
  this.meta.removeTag(selector);
3689
3699
  });
3690
3700
  }
3691
- static { this.ɵfac = function DigitalMarketingService_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || DigitalMarketingService)(i0.ɵɵinject(i1$7.Title), i0.ɵɵinject(i1$7.Meta), i0.ɵɵinject(DOCUMENT)); }; }
3701
+ static { this.ɵfac = function DigitalMarketingService_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || DigitalMarketingService)(i0.ɵɵinject(i1$6.Title), i0.ɵɵinject(i1$6.Meta), i0.ɵɵinject(DOCUMENT)); }; }
3692
3702
  static { this.ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token: DigitalMarketingService, factory: DigitalMarketingService.ɵfac, providedIn: 'root' }); }
3693
3703
  }
3694
3704
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(DigitalMarketingService, [{
@@ -3696,7 +3706,7 @@ class DigitalMarketingService {
3696
3706
  args: [{
3697
3707
  providedIn: 'root'
3698
3708
  }]
3699
- }], () => [{ type: i1$7.Title }, { type: i1$7.Meta }, { type: undefined, decorators: [{
3709
+ }], () => [{ type: i1$6.Title }, { type: i1$6.Meta }, { type: undefined, decorators: [{
3700
3710
  type: Inject,
3701
3711
  args: [DOCUMENT]
3702
3712
  }] }], null); })();
@@ -5470,7 +5480,7 @@ class BraintreeDialog extends DialogBase {
5470
5480
  i0.ɵɵconditionalCreate(0, BraintreeDialog_Conditional_0_Template, 11, 3, "div", 0);
5471
5481
  } if (rf & 2) {
5472
5482
  i0.ɵɵconditional(ctx.visible ? 0 : -1);
5473
- } }, dependencies: [i4.DialogComponent, i4.DialogTitleBarComponent, i4.DialogActionsComponent], encapsulation: 2 }); }
5483
+ } }, dependencies: [i4$1.DialogComponent, i4$1.DialogTitleBarComponent, i4$1.DialogActionsComponent], encapsulation: 2 }); }
5474
5484
  }
5475
5485
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(BraintreeDialog, [{
5476
5486
  type: Component,
@@ -6255,7 +6265,7 @@ class StripeDialog extends DialogBase {
6255
6265
  i0.ɵɵconditionalCreate(0, StripeDialog_Conditional_0_Template, 6, 3, "div", 0);
6256
6266
  } if (rf & 2) {
6257
6267
  i0.ɵɵconditional(ctx.visible ? 0 : -1);
6258
- } }, dependencies: [i4.DialogComponent, i4.DialogTitleBarComponent], encapsulation: 2 }); }
6268
+ } }, dependencies: [i4$1.DialogComponent, i4$1.DialogTitleBarComponent], encapsulation: 2 }); }
6259
6269
  }
6260
6270
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(StripeDialog, [{
6261
6271
  type: Component,
@@ -7275,7 +7285,7 @@ class CountryDropdownlist extends EditComponentBase {
7275
7285
  i0.ɵɵproperty("ngIf", ctx.isNgModelBased);
7276
7286
  i0.ɵɵadvance();
7277
7287
  i0.ɵɵproperty("ngIf", !ctx.isNgModelBased);
7278
- } }, dependencies: [i1$1.NgForOf, i1$1.NgIf, i2.NgSelectOption, i2.ɵNgSelectMultipleOption, i2.SelectControlValueAccessor, i2.NgControlStatus, i2.NgControlStatusGroup, i2.FormGroupDirective, i2.FormControlName, i4$1.LabelComponent, NativeElementDirective], encapsulation: 2 }); }
7288
+ } }, dependencies: [i1$1.NgForOf, i1$1.NgIf, i2.NgSelectOption, i2.ɵNgSelectMultipleOption, i2.SelectControlValueAccessor, i2.NgControlStatus, i2.NgControlStatusGroup, i2.FormGroupDirective, i2.FormControlName, i4$2.LabelComponent, NativeElementDirective], encapsulation: 2 }); }
7279
7289
  }
7280
7290
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CountryDropdownlist, [{
7281
7291
  type: Component,
@@ -7340,7 +7350,7 @@ class LanguageDropdownlist extends EditComponentBase {
7340
7350
  i0.ɵɵproperty("ngIf", ctx.isNgModelBased);
7341
7351
  i0.ɵɵadvance();
7342
7352
  i0.ɵɵproperty("ngIf", !ctx.isNgModelBased);
7343
- } }, dependencies: [i1$1.NgIf, i2.NgControlStatus, i2.NgControlStatusGroup, i2.FormGroupDirective, i2.FormControlName, i3.DropDownListComponent, i4$1.LabelComponent, NativeElementDirective], encapsulation: 2 }); }
7353
+ } }, dependencies: [i1$1.NgIf, i2.NgControlStatus, i2.NgControlStatusGroup, i2.FormGroupDirective, i2.FormControlName, i3.DropDownListComponent, i4$2.LabelComponent, NativeElementDirective], encapsulation: 2 }); }
7344
7354
  }
7345
7355
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(LanguageDropdownlist, [{
7346
7356
  type: Component,
@@ -7588,7 +7598,7 @@ class ModerationStatusDropdownlist extends EnumEditComponentBase {
7588
7598
  i0.ɵɵproperty("ngIf", ctx.isNgModelBased);
7589
7599
  i0.ɵɵadvance();
7590
7600
  i0.ɵɵproperty("ngIf", !ctx.isNgModelBased);
7591
- } }, dependencies: [i1$1.NgIf, i2.NgControlStatus, i2.NgControlStatusGroup, i2.FormGroupDirective, i2.FormControlName, i2.NgModel, i3.DropDownListComponent, i4$1.LabelComponent, NativeElementDirective, ItemValidationSummaryComponent], encapsulation: 2 }); }
7601
+ } }, dependencies: [i1$1.NgIf, i2.NgControlStatus, i2.NgControlStatusGroup, i2.FormGroupDirective, i2.FormControlName, i2.NgModel, i3.DropDownListComponent, i4$2.LabelComponent, NativeElementDirective, ItemValidationSummaryComponent], encapsulation: 2 }); }
7592
7602
  }
7593
7603
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ModerationStatusDropdownlist, [{
7594
7604
  type: Component,
@@ -7667,7 +7677,7 @@ class PublishStatusDropdownlist extends EnumEditComponentBase {
7667
7677
  i0.ɵɵproperty("ngIf", ctx.isNgModelBased);
7668
7678
  i0.ɵɵadvance();
7669
7679
  i0.ɵɵproperty("ngIf", !ctx.isNgModelBased);
7670
- } }, dependencies: [i1$1.NgIf, i2.NgControlStatus, i2.NgControlStatusGroup, i2.FormGroupDirective, i2.FormControlName, i2.NgModel, i3.DropDownListComponent, i4$1.LabelComponent, NativeElementDirective, ItemValidationSummaryComponent], encapsulation: 2 }); }
7680
+ } }, dependencies: [i1$1.NgIf, i2.NgControlStatus, i2.NgControlStatusGroup, i2.FormGroupDirective, i2.FormControlName, i2.NgModel, i3.DropDownListComponent, i4$2.LabelComponent, NativeElementDirective, ItemValidationSummaryComponent], encapsulation: 2 }); }
7671
7681
  }
7672
7682
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(PublishStatusDropdownlist, [{
7673
7683
  type: Component,
@@ -8051,7 +8061,7 @@ class HtmlEditorComponent extends HtmlEditorComponentBase {
8051
8061
  i0.ɵɵproperty("ngIf", ctx.isNgModelBased);
8052
8062
  i0.ɵɵadvance();
8053
8063
  i0.ɵɵproperty("ngIf", !ctx.isNgModelBased);
8054
- } }, dependencies: [i1$1.NgIf, i2.DefaultValueAccessor, i2.NgControlStatus, i2.NgControlStatusGroup, i2.FormGroupDirective, i2.FormControlName, i3$1.FroalaEditorDirective, i4$1.LabelComponent, NativeElementDirective, ItemValidationSummaryComponent], encapsulation: 2 }); }
8064
+ } }, dependencies: [i1$1.NgIf, i2.DefaultValueAccessor, i2.NgControlStatus, i2.NgControlStatusGroup, i2.FormGroupDirective, i2.FormControlName, i3$1.FroalaEditorDirective, i4$2.LabelComponent, NativeElementDirective, ItemValidationSummaryComponent], encapsulation: 2 }); }
8055
8065
  }
8056
8066
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(HtmlEditorComponent, [{
8057
8067
  type: Component,
@@ -8088,7 +8098,7 @@ class CheckIconComponent {
8088
8098
  i0.ɵɵprojection(1);
8089
8099
  } if (rf & 2) {
8090
8100
  i0.ɵɵproperty("icon", ctx.checked ? "check-circle" : "circle-xmark")("ngClass", ctx.checked ? "text-success" : "text-danger");
8091
- } }, dependencies: [i1$1.NgClass, i1$8.FaIconComponent], encapsulation: 2 }); }
8101
+ } }, dependencies: [i1$1.NgClass, i1$7.FaIconComponent], encapsulation: 2 }); }
8092
8102
  }
8093
8103
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CheckIconComponent, [{
8094
8104
  type: Component,
@@ -8317,7 +8327,7 @@ class ControlPanelComponent extends ComponentBase {
8317
8327
  i0.ɵɵconditional(ctx.viewTypesVisible ? 7 : -1);
8318
8328
  i0.ɵɵadvance();
8319
8329
  i0.ɵɵconditional(ctx.addButtonVisible ? 8 : -1);
8320
- } }, dependencies: [i1$1.NgClass, i2.NgControlStatus, i2.NgModel, i1$8.FaIconComponent, i3.DropDownListComponent, AReplacerDirective], encapsulation: 2 }); }
8330
+ } }, dependencies: [i1$1.NgClass, i2.NgControlStatus, i2.NgModel, i1$7.FaIconComponent, i3.DropDownListComponent, AReplacerDirective], encapsulation: 2 }); }
8321
8331
  }
8322
8332
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ControlPanelComponent, [{
8323
8333
  type: Component,
@@ -8409,7 +8419,7 @@ class DataPagerComponent extends ComponentBase {
8409
8419
  i0.ɵɵadvance();
8410
8420
  i0.ɵɵstyleMap(ctx.style);
8411
8421
  i0.ɵɵproperty("total", ctx.totalItems)("pageSize", ctx.pageSize)("pageSizeValues", ctx.pageSizes)("skip", ctx.skipItems);
8412
- } }, dependencies: [i1$9.PagerComponent], encapsulation: 2 }); }
8422
+ } }, dependencies: [i1$8.PagerComponent], encapsulation: 2 }); }
8413
8423
  }
8414
8424
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(DataPagerComponent, [{
8415
8425
  type: Component,
@@ -8774,7 +8784,7 @@ class NodataComponent {
8774
8784
  i0.ɵɵconditionalCreate(0, NodataComponent_Conditional_0_Template, 6, 2, "div", 0);
8775
8785
  } if (rf & 2) {
8776
8786
  i0.ɵɵconditional(!ctx.dataLoading && ctx.dataLoaded && !ctx.dataFound ? 0 : -1);
8777
- } }, dependencies: [i1$1.NgIf, i1$8.FaIconComponent], encapsulation: 2 }); }
8787
+ } }, dependencies: [i1$1.NgIf, i1$7.FaIconComponent], encapsulation: 2 }); }
8778
8788
  }
8779
8789
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(NodataComponent, [{
8780
8790
  type: Component,
@@ -9009,7 +9019,7 @@ class Copy2ClipboardComponent extends ComponentBase {
9009
9019
  i0.ɵɵelementEnd();
9010
9020
  } if (rf & 2) {
9011
9021
  i0.ɵɵclassMap(i0.ɵɵinterpolate1("btn btn-icon ", ctx.classes));
9012
- } }, dependencies: [i1$8.FaIconComponent, AReplacerDirective], encapsulation: 2 }); }
9022
+ } }, dependencies: [i1$7.FaIconComponent, AReplacerDirective], encapsulation: 2 }); }
9013
9023
  }
9014
9024
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(Copy2ClipboardComponent, [{
9015
9025
  type: Component,
@@ -9124,7 +9134,7 @@ class UrlSlugComponent extends EditComponentBase {
9124
9134
  i0.ɵɵproperty("formControlName", ctx.controlName);
9125
9135
  i0.ɵɵadvance();
9126
9136
  i0.ɵɵproperty("ngIf", ctx.isGoButtonVisible);
9127
- } }, dependencies: [i1$1.NgClass, i1$1.NgIf, i2.DefaultValueAccessor, i2.NgControlStatus, i2.NgControlStatusGroup, i2.FormGroupDirective, i2.FormControlName, i4$1.LabelDirective, AReplacerDirective, NativeElementDirective, ItemValidationSummaryComponent], encapsulation: 2 }); }
9137
+ } }, dependencies: [i1$1.NgClass, i1$1.NgIf, i2.DefaultValueAccessor, i2.NgControlStatus, i2.NgControlStatusGroup, i2.FormGroupDirective, i2.FormControlName, i4$2.LabelDirective, AReplacerDirective, NativeElementDirective, ItemValidationSummaryComponent], encapsulation: 2 }); }
9128
9138
  }
9129
9139
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(UrlSlugComponent, [{
9130
9140
  type: Component,
@@ -9466,7 +9476,7 @@ class ContactUsForm extends EditComponentBase {
9466
9476
  onTopicChange(event) {
9467
9477
  this.selectedTopic = event.target.value;
9468
9478
  }
9469
- static { this.ɵfac = function ContactUsForm_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || ContactUsForm)(i0.ɵɵdirectiveInject(i1$a.ReCaptchaV3Service), i0.ɵɵdirectiveInject(i2.FormBuilder), i0.ɵɵdirectiveInject(AppContextService), i0.ɵɵdirectiveInject(EmailsApiService), i0.ɵɵdirectiveInject(NotificationService)); }; }
9479
+ static { this.ɵfac = function ContactUsForm_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || ContactUsForm)(i0.ɵɵdirectiveInject(i1$9.ReCaptchaV3Service), i0.ɵɵdirectiveInject(i2.FormBuilder), i0.ɵɵdirectiveInject(AppContextService), i0.ɵɵdirectiveInject(EmailsApiService), i0.ɵɵdirectiveInject(NotificationService)); }; }
9470
9480
  static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: ContactUsForm, selectors: [["anatoly-forms-contactus-form"]], inputs: { showActionButtons: "showActionButtons" }, outputs: { submit: "submit" }, standalone: false, features: [i0.ɵɵInheritDefinitionFeature], decls: 39, vars: 31, consts: [["novalidate", "", 3, "ngSubmit", "formGroup"], [3, "formGroup", "visible"], [1, "contact-us"], [1, "row"], [1, "form-fields", "col-6"], [1, "form-topic", 3, "ngClass"], [1, "form-select-wrapper"], [1, "assistive-text"], ["formControlName", "topic", 1, "form-select", 3, "change"], [3, "value", 4, "ngFor", "ngForOf"], ["controlName", "topic", "controlTitle", "topic", 3, "formGroup", "formSubmitted"], [1, "form-name", 3, "ngClass"], ["formControlName", "name", "placeholder", "Name *", "type", "text", 1, "form-control"], ["controlName", "name", "controlTitle", "name", 3, "formGroup", "formSubmitted"], [1, "form-email", 3, "ngClass"], ["formControlName", "email", "placeholder", "E-mail *", "type", "text", 1, "form-control"], [4, "ngIf"], ["controlName", "email", "controlTitle", "email", 3, "formGroup", "formSubmitted"], [1, "form-subject", 3, "ngClass"], ["formControlName", "subject", "placeholder", "Subject *", "type", "text", 1, "form-control"], ["controlName", "subject", "controlTitle", "subject", 3, "formGroup", "formSubmitted"], [1, "col-6"], [1, "form-message", 3, "ngClass"], ["formControlName", "message", "name", "message", "placeholder", "Message *", "rows", "4", "type", "text"], ["controlName", "message", "controlTitle", "message", 3, "formGroup", "formSubmitted"], [1, "row", "form-footer"], [1, "col"], ["class", "btn btn-success", "type", "submit", 3, "btn-primary", 4, "ngIf"], [3, "value"], ["type", "submit", 1, "btn", "btn-success"]], template: function ContactUsForm_Template(rf, ctx) { if (rf & 1) {
9471
9481
  i0.ɵɵelementStart(0, "form", 0);
9472
9482
  i0.ɵɵlistener("ngSubmit", function ContactUsForm_Template_form_ngSubmit_0_listener() { return ctx.onSubmit(); });
@@ -9543,7 +9553,7 @@ class ContactUsForm extends EditComponentBase {
9543
9553
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ContactUsForm, [{
9544
9554
  type: Component,
9545
9555
  args: [{ selector: 'anatoly-forms-contactus-form', standalone: false, template: "<form (ngSubmit)='onSubmit()' [formGroup]='formGroup' novalidate>\r\n <anatoly-form-validation-summary [formGroup]='formGroup'\r\n [visible]='formSubmitted && formGroup.invalid'></anatoly-form-validation-summary>\r\n\r\n <div class='contact-us'>\r\n <div class=\"row\">\r\n <div class='form-fields col-6'>\r\n <p>What can we help you with?</p>\r\n <div [ngClass]=\"{'has-error': isControlInvalid('topic') }\" class='form-topic'>\r\n <div class='form-select-wrapper'>\r\n <label class='assistive-text'>Topic *</label>\r\n <select (change)='onTopicChange($event)' class='form-select' formControlName='topic'>\r\n <option *ngFor='let topic of topicList' [value]='topic.value'>{{ topic.value }} </option>\r\n </select>\r\n <anatoly-item-validation-summary [formGroup]='formGroup'\r\n [formSubmitted]='formSubmitted'\r\n controlName='topic'\r\n controlTitle='topic'>\r\n </anatoly-item-validation-summary>\r\n </div>\r\n </div>\r\n <div [ngClass]=\"{'has-error': isControlInvalid('name') }\" class='form-name'>\r\n <label class='assistive-text'>Name *</label>\r\n <input class='form-control' formControlName='name' placeholder='Name *' type='text'>\r\n <anatoly-item-validation-summary [formGroup]='formGroup'\r\n [formSubmitted]='formSubmitted'\r\n controlName='name'\r\n controlTitle='name'>\r\n </anatoly-item-validation-summary>\r\n </div>\r\n <div [ngClass]=\"{'has-error': isControlInvalid('email') }\" class='form-email'>\r\n <label class='assistive-text'>E-mail * </label>\r\n <input class='form-control' formControlName='email' placeholder='E-mail *' type='text' />\r\n <p *ngIf='!isUserSignedIn'>Please indicate the email used for your MailEx login if you already have an account</p>\r\n <anatoly-item-validation-summary [formGroup]='formGroup'\r\n [formSubmitted]='formSubmitted'\r\n controlName='email'\r\n controlTitle='email'>\r\n </anatoly-item-validation-summary>\r\n </div>\r\n <div [ngClass]=\"{'has-error': isControlInvalid('subject') }\" class='form-subject'>\r\n <label class='assistive-text'>Subject *</label>\r\n <input class='form-control' formControlName='subject' placeholder='Subject *' type='text' />\r\n <anatoly-item-validation-summary [formGroup]='formGroup'\r\n [formSubmitted]='formSubmitted'\r\n controlName='subject'\r\n controlTitle='subject'>\r\n </anatoly-item-validation-summary>\r\n </div>\r\n\r\n </div>\r\n <div class='col-6'>\r\n <div [ngClass]=\"{'has-error': isControlInvalid('message') }\" class='form-message'>\r\n <label class='assistive-text'>Message *</label>\r\n <textarea formControlName='message' name='message' placeholder='Message *' rows='4'\r\n type='text'></textarea>\r\n <anatoly-item-validation-summary [formGroup]='formGroup'\r\n [formSubmitted]='formSubmitted'\r\n controlName='message'\r\n controlTitle='message'>\r\n </anatoly-item-validation-summary>\r\n </div>\r\n </div>\r\n </div>\r\n <div class=\"row form-footer\">\r\n <div class=\"col\">\r\n <button *ngIf='showActionButtons'\r\n [class.btn-primary]='!formGroup.invalid'\r\n class='btn btn-success'\r\n type='submit'>\r\n Submit\r\n </button>\r\n </div>\r\n </div>\r\n </div>\r\n</form>\r\n" }]
9546
- }], () => [{ type: i1$a.ReCaptchaV3Service }, { type: i2.FormBuilder }, { type: AppContextService }, { type: EmailsApiService }, { type: NotificationService }], { showActionButtons: [{
9556
+ }], () => [{ type: i1$9.ReCaptchaV3Service }, { type: i2.FormBuilder }, { type: AppContextService }, { type: EmailsApiService }, { type: NotificationService }], { showActionButtons: [{
9547
9557
  type: Input
9548
9558
  }], submit: [{
9549
9559
  type: Output
@@ -9610,7 +9620,7 @@ class ContactUsDialog extends DialogBase {
9610
9620
  i0.ɵɵtemplate(0, ContactUsDialog_kendo_dialog_0_Template, 10, 2, "kendo-dialog", 1);
9611
9621
  } if (rf & 2) {
9612
9622
  i0.ɵɵproperty("ngIf", ctx.isOpen);
9613
- } }, dependencies: [i1$1.NgIf, i4.DialogComponent, i4.DialogActionsComponent, ContactUsForm], encapsulation: 2 }); }
9623
+ } }, dependencies: [i1$1.NgIf, i4$1.DialogComponent, i4$1.DialogActionsComponent, ContactUsForm], encapsulation: 2 }); }
9614
9624
  }
9615
9625
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ContactUsDialog, [{
9616
9626
  type: Component,
@@ -10166,7 +10176,7 @@ class SafeHtmlPipe {
10166
10176
  transform(value) {
10167
10177
  return this.sanitized.bypassSecurityTrustHtml(value);
10168
10178
  }
10169
- static { this.ɵfac = function SafeHtmlPipe_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || SafeHtmlPipe)(i0.ɵɵdirectiveInject(i1$7.DomSanitizer, 16)); }; }
10179
+ static { this.ɵfac = function SafeHtmlPipe_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || SafeHtmlPipe)(i0.ɵɵdirectiveInject(i1$6.DomSanitizer, 16)); }; }
10170
10180
  static { this.ɵpipe = /*@__PURE__*/ i0.ɵɵdefinePipe({ name: "safeHtml", type: SafeHtmlPipe, pure: true, standalone: false }); }
10171
10181
  }
10172
10182
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SafeHtmlPipe, [{
@@ -10175,7 +10185,7 @@ class SafeHtmlPipe {
10175
10185
  name: 'safeHtml',
10176
10186
  standalone: false
10177
10187
  }]
10178
- }], () => [{ type: i1$7.DomSanitizer }], null); })();
10188
+ }], () => [{ type: i1$6.DomSanitizer }], null); })();
10179
10189
 
10180
10190
  /*
10181
10191
  <file>
@@ -10304,7 +10314,7 @@ class AnatolyCoreModule {
10304
10314
  }]
10305
10315
  }], () => [{ type: i0.Injector }], null); })();
10306
10316
  (function () { (typeof ngJitMode === "undefined" || ngJitMode) && i0.ɵɵsetNgModuleScope(AnatolyCoreModule, { imports: [CommonModule,
10307
- RouterModule, i1$5.ToastrModule, LocalizationModule], exports: [RouterModule,
10317
+ RouterModule, i1$4.ToastrModule, LocalizationModule], exports: [RouterModule,
10308
10318
  LocalizationModule] }); })();
10309
10319
 
10310
10320
  /*
@@ -10490,6 +10500,20 @@ const MSALProviders = [
10490
10500
  useClass: MsalInterceptor,
10491
10501
  multi: true
10492
10502
  },
10503
+ {
10504
+ provide: MSAL_INSTANCE,
10505
+ //useValue: MSALInstanceFactory(),
10506
+ useFactory: MSALInstanceFactory,
10507
+ deps: [HttpClient]
10508
+ },
10509
+ {
10510
+ provide: MSAL_GUARD_CONFIG,
10511
+ useValue: MSALGuardConfigFactory(),
10512
+ },
10513
+ {
10514
+ provide: MSAL_INTERCEPTOR_CONFIG,
10515
+ useValue: MSALInterceptorConfigFactory(),
10516
+ },
10493
10517
  //App
10494
10518
  AuthService,
10495
10519
  AuthenticationGuard,
@@ -10503,7 +10527,7 @@ class AnatolyIAMModule {
10503
10527
  ...MSALProviders
10504
10528
  ], imports: [CommonModule,
10505
10529
  RouterModule,
10506
- MsalModule.forRoot(MSALInstanceFactory(), MSALGuardConfigFactory(), MSALInterceptorConfigFactory())] }); }
10530
+ MsalModule] }); }
10507
10531
  }
10508
10532
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(AnatolyIAMModule, [{
10509
10533
  type: NgModule,
@@ -10511,7 +10535,7 @@ class AnatolyIAMModule {
10511
10535
  imports: [
10512
10536
  CommonModule,
10513
10537
  RouterModule,
10514
- MsalModule.forRoot(MSALInstanceFactory(), MSALGuardConfigFactory(), MSALInterceptorConfigFactory())
10538
+ MsalModule
10515
10539
  ],
10516
10540
  exports: [],
10517
10541
  providers: [
@@ -10521,7 +10545,8 @@ class AnatolyIAMModule {
10521
10545
  }]
10522
10546
  }], null, null); })();
10523
10547
  (function () { (typeof ngJitMode === "undefined" || ngJitMode) && i0.ɵɵsetNgModuleScope(AnatolyIAMModule, { imports: [CommonModule,
10524
- RouterModule, i1$3.MsalModule] }); })();
10548
+ RouterModule,
10549
+ MsalModule] }); })();
10525
10550
 
10526
10551
  /*
10527
10552
  <file>
@@ -10733,7 +10758,7 @@ class FaModule {
10733
10758
  constructor(library) {
10734
10759
  library.addIcons(faCheckCircle, faCircleXmark, faDatabase, faCopy);
10735
10760
  }
10736
- static { this.ɵfac = function FaModule_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || FaModule)(i0.ɵɵinject(i1$8.FaIconLibrary)); }; }
10761
+ static { this.ɵfac = function FaModule_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || FaModule)(i0.ɵɵinject(i1$7.FaIconLibrary)); }; }
10737
10762
  static { this.ɵmod = /*@__PURE__*/ i0.ɵɵdefineNgModule({ type: FaModule }); }
10738
10763
  static { this.ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ imports: [CommonModule,
10739
10764
  FontAwesomeModule, FontAwesomeModule] }); }
@@ -10749,7 +10774,7 @@ class FaModule {
10749
10774
  FontAwesomeModule
10750
10775
  ]
10751
10776
  }]
10752
- }], () => [{ type: i1$8.FaIconLibrary }], null); })();
10777
+ }], () => [{ type: i1$7.FaIconLibrary }], null); })();
10753
10778
  (function () { (typeof ngJitMode === "undefined" || ngJitMode) && i0.ɵɵsetNgModuleScope(FaModule, { imports: [CommonModule,
10754
10779
  FontAwesomeModule], exports: [FontAwesomeModule] }); })();
10755
10780
 
@@ -11235,6 +11260,7 @@ class AppService extends ApiServiceBase {
11235
11260
  sessionStorage.setItem(SessionStorageKeys.appCoreSettings, appCoreSettings);
11236
11261
  sessionStorage.setItem(SessionStorageKeys.appMSALSettings, appMSALSettings);
11237
11262
  resetAppCoreSettings();
11263
+ resetMsalSettings();
11238
11264
  }
11239
11265
  }));
11240
11266
  }