@osovitny/anatoly 3.20.26 → 3.20.27
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.
|
@@ -10482,42 +10482,6 @@ function loggerCallback(logLevel, message, containsPii) {
|
|
|
10482
10482
|
}
|
|
10483
10483
|
}
|
|
10484
10484
|
|
|
10485
|
-
class AppService extends ApiServiceBase {
|
|
10486
|
-
constructor(http) {
|
|
10487
|
-
super(http);
|
|
10488
|
-
this.http = http;
|
|
10489
|
-
this.baseUrl = `${ApiUrl}/app`;
|
|
10490
|
-
this.ignoreInterceptors = true;
|
|
10491
|
-
}
|
|
10492
|
-
loadAppInitializerSettings() {
|
|
10493
|
-
//Logging
|
|
10494
|
-
let stopwatch = new Stopwatch("@osovitny/anatoly. AppService: loadAppInitializerSettings");
|
|
10495
|
-
stopwatch.start();
|
|
10496
|
-
return this.get('loadAppInitializerSettings').pipe(map$1(data => {
|
|
10497
|
-
//Logging
|
|
10498
|
-
stopwatch.stop();
|
|
10499
|
-
stopwatch.printElapsedAsMilliseconds();
|
|
10500
|
-
if (data) {
|
|
10501
|
-
let appCoreSettings = JSON.stringify(data.core);
|
|
10502
|
-
let appMSALSettings = JSON.stringify(data.msal);
|
|
10503
|
-
appCoreSettings = appCoreSettings.replace(/--APPNAME--/g, g_AppName);
|
|
10504
|
-
sessionStorage.setItem(SessionStorageKeys.appCoreSettings, appCoreSettings);
|
|
10505
|
-
sessionStorage.setItem(SessionStorageKeys.appMSALSettings, appMSALSettings);
|
|
10506
|
-
resetAppCoreSettings();
|
|
10507
|
-
resetMsalSettings();
|
|
10508
|
-
}
|
|
10509
|
-
}));
|
|
10510
|
-
}
|
|
10511
|
-
static { this.ɵfac = function AppService_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || AppService)(i0.ɵɵinject(i1.HttpClient)); }; }
|
|
10512
|
-
static { this.ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token: AppService, factory: AppService.ɵfac, providedIn: 'root' }); }
|
|
10513
|
-
}
|
|
10514
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(AppService, [{
|
|
10515
|
-
type: Injectable,
|
|
10516
|
-
args: [{
|
|
10517
|
-
providedIn: 'root'
|
|
10518
|
-
}]
|
|
10519
|
-
}], () => [{ type: i1.HttpClient }], null); })();
|
|
10520
|
-
|
|
10521
10485
|
/*
|
|
10522
10486
|
<file>
|
|
10523
10487
|
Project:
|
|
@@ -10538,8 +10502,6 @@ class AppService extends ApiServiceBase {
|
|
|
10538
10502
|
*/
|
|
10539
10503
|
//Node
|
|
10540
10504
|
const MSALProviders = [
|
|
10541
|
-
//Init
|
|
10542
|
-
AppService,
|
|
10543
10505
|
MsalService,
|
|
10544
10506
|
MsalBroadcastService,
|
|
10545
10507
|
{
|
|
@@ -10549,18 +10511,15 @@ const MSALProviders = [
|
|
|
10549
10511
|
},
|
|
10550
10512
|
{
|
|
10551
10513
|
provide: MSAL_INSTANCE,
|
|
10552
|
-
useFactory: MSALInstanceFactory
|
|
10553
|
-
deps: [AppService]
|
|
10514
|
+
useFactory: MSALInstanceFactory
|
|
10554
10515
|
},
|
|
10555
10516
|
{
|
|
10556
10517
|
provide: MSAL_GUARD_CONFIG,
|
|
10557
|
-
useFactory: MSALGuardConfigFactory
|
|
10558
|
-
deps: [AppService]
|
|
10518
|
+
useFactory: MSALGuardConfigFactory
|
|
10559
10519
|
},
|
|
10560
10520
|
{
|
|
10561
10521
|
provide: MSAL_INTERCEPTOR_CONFIG,
|
|
10562
|
-
useFactory: MSALInterceptorConfigFactory
|
|
10563
|
-
deps: [AppService]
|
|
10522
|
+
useFactory: MSALInterceptorConfigFactory
|
|
10564
10523
|
},
|
|
10565
10524
|
//App
|
|
10566
10525
|
AuthService,
|
|
@@ -11287,6 +11246,42 @@ class AnatolyBillingModule {
|
|
|
11287
11246
|
KendoModule,
|
|
11288
11247
|
AnatolyUIModule], exports: [BuyAccessButtonComponent, SubscribePlanButtonComponent, OrderSummaryComponent, PaymentMethodsComponent, PaymentOptionsComponent, BraintreeDialog, PaypalButtonComponent, PaypalSubscribeButtonComponent, PayPalComponent, StripeDialog] }); })();
|
|
11289
11248
|
|
|
11249
|
+
class AppService extends ApiServiceBase {
|
|
11250
|
+
constructor(http) {
|
|
11251
|
+
super(http);
|
|
11252
|
+
this.http = http;
|
|
11253
|
+
this.baseUrl = `${ApiUrl}/app`;
|
|
11254
|
+
this.ignoreInterceptors = true;
|
|
11255
|
+
}
|
|
11256
|
+
loadAppInitializerSettings() {
|
|
11257
|
+
//Logging
|
|
11258
|
+
let stopwatch = new Stopwatch("@osovitny/anatoly. AppService: loadAppInitializerSettings");
|
|
11259
|
+
stopwatch.start();
|
|
11260
|
+
return this.get('loadAppInitializerSettings').pipe(map$1(data => {
|
|
11261
|
+
//Logging
|
|
11262
|
+
stopwatch.stop();
|
|
11263
|
+
stopwatch.printElapsedAsMilliseconds();
|
|
11264
|
+
if (data) {
|
|
11265
|
+
let appCoreSettings = JSON.stringify(data.core);
|
|
11266
|
+
let appMSALSettings = JSON.stringify(data.msal);
|
|
11267
|
+
appCoreSettings = appCoreSettings.replace(/--APPNAME--/g, g_AppName);
|
|
11268
|
+
sessionStorage.setItem(SessionStorageKeys.appCoreSettings, appCoreSettings);
|
|
11269
|
+
sessionStorage.setItem(SessionStorageKeys.appMSALSettings, appMSALSettings);
|
|
11270
|
+
resetAppCoreSettings();
|
|
11271
|
+
resetMsalSettings();
|
|
11272
|
+
}
|
|
11273
|
+
}));
|
|
11274
|
+
}
|
|
11275
|
+
static { this.ɵfac = function AppService_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || AppService)(i0.ɵɵinject(i1.HttpClient)); }; }
|
|
11276
|
+
static { this.ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token: AppService, factory: AppService.ɵfac, providedIn: 'root' }); }
|
|
11277
|
+
}
|
|
11278
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(AppService, [{
|
|
11279
|
+
type: Injectable,
|
|
11280
|
+
args: [{
|
|
11281
|
+
providedIn: 'root'
|
|
11282
|
+
}]
|
|
11283
|
+
}], () => [{ type: i1.HttpClient }], null); })();
|
|
11284
|
+
|
|
11290
11285
|
/*
|
|
11291
11286
|
<file>
|
|
11292
11287
|
Project:
|