@osovitny/anatoly 3.20.26 → 3.20.28
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.
|
@@ -6999,8 +6999,10 @@ class ListBase extends ComponentBase {
|
|
|
6999
6999
|
}
|
|
7000
7000
|
}
|
|
7001
7001
|
setFilter(filter) {
|
|
7002
|
-
|
|
7003
|
-
|
|
7002
|
+
if (filter) {
|
|
7003
|
+
this.currentFilter = filter;
|
|
7004
|
+
this.loadPageOne();
|
|
7005
|
+
}
|
|
7004
7006
|
}
|
|
7005
7007
|
//Tos
|
|
7006
7008
|
toIndex(index) {
|
|
@@ -7630,19 +7632,19 @@ class ModerationStatusDropdownlist extends EnumEditComponentBase {
|
|
|
7630
7632
|
</file>
|
|
7631
7633
|
*/
|
|
7632
7634
|
//Node
|
|
7633
|
-
function
|
|
7635
|
+
function PublishStatusDropdownlist_div_1_kendo_label_1_Template(rf, ctx) { if (rf & 1) {
|
|
7634
7636
|
i0.ɵɵelement(0, "kendo-label", 4);
|
|
7635
7637
|
} if (rf & 2) {
|
|
7636
7638
|
const ctx_r1 = i0.ɵɵnextContext(2);
|
|
7637
7639
|
i0.ɵɵproperty("text", i0.ɵɵinterpolate(ctx_r1.title));
|
|
7638
7640
|
} }
|
|
7639
|
-
function
|
|
7641
|
+
function PublishStatusDropdownlist_div_1_Template(rf, ctx) { if (rf & 1) {
|
|
7640
7642
|
const _r1 = i0.ɵɵgetCurrentView();
|
|
7641
7643
|
i0.ɵɵelementStart(0, "div");
|
|
7642
|
-
i0.ɵɵtemplate(1,
|
|
7644
|
+
i0.ɵɵtemplate(1, PublishStatusDropdownlist_div_1_kendo_label_1_Template, 1, 2, "kendo-label", 2);
|
|
7643
7645
|
i0.ɵɵelementStart(2, "kendo-dropdownlist", 3);
|
|
7644
|
-
i0.ɵɵtwoWayListener("ngModelChange", function
|
|
7645
|
-
i0.ɵɵlistener("valueChange", function
|
|
7646
|
+
i0.ɵɵtwoWayListener("ngModelChange", function PublishStatusDropdownlist_div_1_Template_kendo_dropdownlist_ngModelChange_2_listener($event) { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(); i0.ɵɵtwoWayBindingSet(ctx_r1.sv, $event) || (ctx_r1.sv = $event); return i0.ɵɵresetView($event); });
|
|
7647
|
+
i0.ɵɵlistener("valueChange", function PublishStatusDropdownlist_div_1_Template_kendo_dropdownlist_valueChange_2_listener($event) { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.onChange($event)); });
|
|
7646
7648
|
i0.ɵɵelementEnd()();
|
|
7647
7649
|
} if (rf & 2) {
|
|
7648
7650
|
const ctx_r1 = i0.ɵɵnextContext();
|
|
@@ -7652,15 +7654,15 @@ function PublishStatusDropdownlist_div_0_Template(rf, ctx) { if (rf & 1) {
|
|
|
7652
7654
|
i0.ɵɵproperty("data", ctx_r1.items)("valuePrimitive", true);
|
|
7653
7655
|
i0.ɵɵtwoWayProperty("ngModel", ctx_r1.sv);
|
|
7654
7656
|
} }
|
|
7655
|
-
function
|
|
7657
|
+
function PublishStatusDropdownlist_div_2_kendo_label_1_Template(rf, ctx) { if (rf & 1) {
|
|
7656
7658
|
i0.ɵɵelement(0, "kendo-label", 4);
|
|
7657
7659
|
} if (rf & 2) {
|
|
7658
7660
|
const ctx_r1 = i0.ɵɵnextContext(2);
|
|
7659
7661
|
i0.ɵɵproperty("text", i0.ɵɵinterpolate(ctx_r1.title));
|
|
7660
7662
|
} }
|
|
7661
|
-
function
|
|
7663
|
+
function PublishStatusDropdownlist_div_2_Template(rf, ctx) { if (rf & 1) {
|
|
7662
7664
|
i0.ɵɵelementStart(0, "div", 5);
|
|
7663
|
-
i0.ɵɵtemplate(1,
|
|
7665
|
+
i0.ɵɵtemplate(1, PublishStatusDropdownlist_div_2_kendo_label_1_Template, 1, 2, "kendo-label", 2);
|
|
7664
7666
|
i0.ɵɵelement(2, "kendo-dropdownlist", 6)(3, "anatoly-item-validation-summary", 7);
|
|
7665
7667
|
i0.ɵɵelementEnd();
|
|
7666
7668
|
} if (rf & 2) {
|
|
@@ -7680,9 +7682,12 @@ class PublishStatusDropdownlist extends EnumEditComponentBase {
|
|
|
7680
7682
|
this.enumeration = PublishStatus;
|
|
7681
7683
|
}
|
|
7682
7684
|
static { this.ɵfac = function PublishStatusDropdownlist_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || PublishStatusDropdownlist)(); }; }
|
|
7683
|
-
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PublishStatusDropdownlist, selectors: [["anatoly-publishstatus-dropdownlist"]], standalone: false, features: [i0.ɵɵInheritDefinitionFeature], decls:
|
|
7684
|
-
i0.ɵɵ
|
|
7685
|
+
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PublishStatusDropdownlist, selectors: [["anatoly-publishstatus-dropdownlist"]], standalone: false, features: [i0.ɵɵInheritDefinitionFeature], decls: 3, vars: 2, consts: [[4, "ngIf"], [3, "formGroup", 4, "ngIf"], [3, "text", 4, "ngIf"], ["valueField", "value", "textField", "text", 3, "ngModelChange", "valueChange", "data", "valuePrimitive", "ngModel"], [3, "text"], [3, "formGroup"], ["valueField", "value", "textField", "text", 3, "data", "valuePrimitive", "formControlName"], [3, "formGroup", "formSubmitted", "controlName", "controlTitle"]], template: function PublishStatusDropdownlist_Template(rf, ctx) { if (rf & 1) {
|
|
7686
|
+
i0.ɵɵelementStart(0, "div");
|
|
7687
|
+
i0.ɵɵtemplate(1, PublishStatusDropdownlist_div_1_Template, 3, 4, "div", 0)(2, PublishStatusDropdownlist_div_2_Template, 4, 9, "div", 1);
|
|
7688
|
+
i0.ɵɵelementEnd();
|
|
7685
7689
|
} if (rf & 2) {
|
|
7690
|
+
i0.ɵɵadvance();
|
|
7686
7691
|
i0.ɵɵproperty("ngIf", ctx.isNgModelBased);
|
|
7687
7692
|
i0.ɵɵadvance();
|
|
7688
7693
|
i0.ɵɵproperty("ngIf", !ctx.isNgModelBased);
|
|
@@ -7690,7 +7695,7 @@ class PublishStatusDropdownlist extends EnumEditComponentBase {
|
|
|
7690
7695
|
}
|
|
7691
7696
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(PublishStatusDropdownlist, [{
|
|
7692
7697
|
type: Component,
|
|
7693
|
-
args: [{ selector: 'anatoly-publishstatus-dropdownlist', standalone: false, template: "<div *ngIf='isNgModelBased'>\r\n
|
|
7698
|
+
args: [{ selector: 'anatoly-publishstatus-dropdownlist', standalone: false, template: "<div>\r\n <div *ngIf='isNgModelBased'>\r\n <kendo-label text=\"{{ title }}\" *ngIf='isTitleVisible'></kendo-label>\r\n <kendo-dropdownlist [data]=\"items\"\r\n valueField=\"value\" textField=\"text\"\r\n [valuePrimitive]=\"true\"\r\n [(ngModel)]=\"sv\"\r\n (valueChange)=\"onChange($event)\" />\r\n </div>\r\n\r\n <div *ngIf='!isNgModelBased' [formGroup]='formGroup'>\r\n <kendo-label text=\"{{ title }}\" *ngIf='isTitleVisible'></kendo-label>\r\n <kendo-dropdownlist [data]=\"items\"\r\n valueField=\"value\" textField=\"text\"\r\n [valuePrimitive]=\"true\"\r\n [formControlName]='controlName' />\r\n <anatoly-item-validation-summary [formGroup]='formGroup'\r\n [formSubmitted]='formSubmitted'\r\n [controlName]='controlName'\r\n [controlTitle]='controlTitle' />\r\n </div>\r\n</div>" }]
|
|
7694
7699
|
}], () => [], null); })();
|
|
7695
7700
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(PublishStatusDropdownlist, { className: "PublishStatusDropdownlist", filePath: "lib/ui/components/dropdownlists/publishstatus/publishstatus.dropdownlist.ts", lineNumber: 28 }); })();
|
|
7696
7701
|
|
|
@@ -10482,42 +10487,6 @@ function loggerCallback(logLevel, message, containsPii) {
|
|
|
10482
10487
|
}
|
|
10483
10488
|
}
|
|
10484
10489
|
|
|
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
10490
|
/*
|
|
10522
10491
|
<file>
|
|
10523
10492
|
Project:
|
|
@@ -10538,8 +10507,6 @@ class AppService extends ApiServiceBase {
|
|
|
10538
10507
|
*/
|
|
10539
10508
|
//Node
|
|
10540
10509
|
const MSALProviders = [
|
|
10541
|
-
//Init
|
|
10542
|
-
AppService,
|
|
10543
10510
|
MsalService,
|
|
10544
10511
|
MsalBroadcastService,
|
|
10545
10512
|
{
|
|
@@ -10549,18 +10516,15 @@ const MSALProviders = [
|
|
|
10549
10516
|
},
|
|
10550
10517
|
{
|
|
10551
10518
|
provide: MSAL_INSTANCE,
|
|
10552
|
-
useFactory: MSALInstanceFactory
|
|
10553
|
-
deps: [AppService]
|
|
10519
|
+
useFactory: MSALInstanceFactory
|
|
10554
10520
|
},
|
|
10555
10521
|
{
|
|
10556
10522
|
provide: MSAL_GUARD_CONFIG,
|
|
10557
|
-
useFactory: MSALGuardConfigFactory
|
|
10558
|
-
deps: [AppService]
|
|
10523
|
+
useFactory: MSALGuardConfigFactory
|
|
10559
10524
|
},
|
|
10560
10525
|
{
|
|
10561
10526
|
provide: MSAL_INTERCEPTOR_CONFIG,
|
|
10562
|
-
useFactory: MSALInterceptorConfigFactory
|
|
10563
|
-
deps: [AppService]
|
|
10527
|
+
useFactory: MSALInterceptorConfigFactory
|
|
10564
10528
|
},
|
|
10565
10529
|
//App
|
|
10566
10530
|
AuthService,
|
|
@@ -11287,6 +11251,42 @@ class AnatolyBillingModule {
|
|
|
11287
11251
|
KendoModule,
|
|
11288
11252
|
AnatolyUIModule], exports: [BuyAccessButtonComponent, SubscribePlanButtonComponent, OrderSummaryComponent, PaymentMethodsComponent, PaymentOptionsComponent, BraintreeDialog, PaypalButtonComponent, PaypalSubscribeButtonComponent, PayPalComponent, StripeDialog] }); })();
|
|
11289
11253
|
|
|
11254
|
+
class AppService extends ApiServiceBase {
|
|
11255
|
+
constructor(http) {
|
|
11256
|
+
super(http);
|
|
11257
|
+
this.http = http;
|
|
11258
|
+
this.baseUrl = `${ApiUrl}/app`;
|
|
11259
|
+
this.ignoreInterceptors = true;
|
|
11260
|
+
}
|
|
11261
|
+
loadAppInitializerSettings() {
|
|
11262
|
+
//Logging
|
|
11263
|
+
let stopwatch = new Stopwatch("@osovitny/anatoly. AppService: loadAppInitializerSettings");
|
|
11264
|
+
stopwatch.start();
|
|
11265
|
+
return this.get('loadAppInitializerSettings').pipe(map$1(data => {
|
|
11266
|
+
//Logging
|
|
11267
|
+
stopwatch.stop();
|
|
11268
|
+
stopwatch.printElapsedAsMilliseconds();
|
|
11269
|
+
if (data) {
|
|
11270
|
+
let appCoreSettings = JSON.stringify(data.core);
|
|
11271
|
+
let appMSALSettings = JSON.stringify(data.msal);
|
|
11272
|
+
appCoreSettings = appCoreSettings.replace(/--APPNAME--/g, g_AppName);
|
|
11273
|
+
sessionStorage.setItem(SessionStorageKeys.appCoreSettings, appCoreSettings);
|
|
11274
|
+
sessionStorage.setItem(SessionStorageKeys.appMSALSettings, appMSALSettings);
|
|
11275
|
+
resetAppCoreSettings();
|
|
11276
|
+
resetMsalSettings();
|
|
11277
|
+
}
|
|
11278
|
+
}));
|
|
11279
|
+
}
|
|
11280
|
+
static { this.ɵfac = function AppService_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || AppService)(i0.ɵɵinject(i1.HttpClient)); }; }
|
|
11281
|
+
static { this.ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token: AppService, factory: AppService.ɵfac, providedIn: 'root' }); }
|
|
11282
|
+
}
|
|
11283
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(AppService, [{
|
|
11284
|
+
type: Injectable,
|
|
11285
|
+
args: [{
|
|
11286
|
+
providedIn: 'root'
|
|
11287
|
+
}]
|
|
11288
|
+
}], () => [{ type: i1.HttpClient }], null); })();
|
|
11289
|
+
|
|
11290
11290
|
/*
|
|
11291
11291
|
<file>
|
|
11292
11292
|
Project:
|