@osovitny/anatoly 3.20.30 → 3.20.32
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/fesm2022/osovitny-anatoly.mjs +513 -484
- package/fesm2022/osovitny-anatoly.mjs.map +1 -1
- package/index.d.ts +10 -4
- package/package.json +1 -1
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import { inject, Injectable,
|
|
2
|
+
import { inject, Injectable, Inject, EventEmitter, Output, Pipe, NgModule, Component, Input, Directive, ChangeDetectionStrategy, ViewChild, ViewEncapsulation, HostListener, HostBinding, provideAppInitializer } from '@angular/core';
|
|
3
3
|
import { BehaviorSubject, forkJoin, Subject, filter, takeUntil, map as map$1, catchError, of, merge, timer, fromEvent, firstValueFrom } from 'rxjs';
|
|
4
4
|
import { map, tap, mergeMap } from 'rxjs/operators';
|
|
5
5
|
import * as i1 from '@angular/common/http';
|
|
6
6
|
import { HttpClient, HttpBackend, HttpResponse, HTTP_INTERCEPTORS, provideHttpClient } from '@angular/common/http';
|
|
7
|
-
import * as i1$
|
|
7
|
+
import * as i1$2 from '@angular/common';
|
|
8
8
|
import { DOCUMENT, CommonModule } from '@angular/common';
|
|
9
9
|
import { format, formatDistance, formatDistanceToNow } from 'date-fns';
|
|
10
10
|
import js_beautify from 'js-beautify';
|
|
11
|
-
import * as i1$
|
|
11
|
+
import * as i1$1 from '@angular/router';
|
|
12
12
|
import { NavigationEnd, NavigationStart, NavigationCancel, NavigationError, RouterModule } from '@angular/router';
|
|
13
13
|
import { v4 } from 'uuid';
|
|
14
14
|
import * as i4 from '@azure/msal-angular';
|
|
@@ -378,6 +378,15 @@ class AppContextService extends ApiServiceBase {
|
|
|
378
378
|
this._standardJsonFilesLoaded = new BehaviorSubject(null);
|
|
379
379
|
this.standardJsonFilesLoaded$ = this._standardJsonFilesLoaded.asObservable();
|
|
380
380
|
this.baseUrl = `${ApiUrl}/app`;
|
|
381
|
+
this.internalInit();
|
|
382
|
+
}
|
|
383
|
+
internalInit() {
|
|
384
|
+
this.setDefaults();
|
|
385
|
+
this.setValues();
|
|
386
|
+
this.contextUpdated(this.current);
|
|
387
|
+
this.updated$.subscribe((context) => {
|
|
388
|
+
this.contextUpdated(context);
|
|
389
|
+
});
|
|
381
390
|
}
|
|
382
391
|
//fires
|
|
383
392
|
fireUpdated(data) {
|
|
@@ -600,215 +609,6 @@ class AppContextService extends ApiServiceBase {
|
|
|
600
609
|
type: Injectable
|
|
601
610
|
}], () => [{ type: i1.HttpClient }, { type: LocalStorageService }, { type: SessionStorageService }], null); })();
|
|
602
611
|
|
|
603
|
-
/*
|
|
604
|
-
<file>
|
|
605
|
-
Project:
|
|
606
|
-
@osovitny/anatoly
|
|
607
|
-
|
|
608
|
-
Authors:
|
|
609
|
-
Vadim Osovitny vadim.osovitny@osovitny.com
|
|
610
|
-
Anatoly Osovitny anatoly.osovitny@osovitny.com
|
|
611
|
-
|
|
612
|
-
Created:
|
|
613
|
-
14 Aug 2018
|
|
614
|
-
|
|
615
|
-
Copyright (c) 2016-2025 Osovitny Inc. All rights reserved.
|
|
616
|
-
</file>
|
|
617
|
-
*/
|
|
618
|
-
//Node
|
|
619
|
-
function BuyAccessButtonComponent_div_0_div_1_button_1_Template(rf, ctx) { if (rf & 1) {
|
|
620
|
-
i0.ɵɵelementStart(0, "button", 3);
|
|
621
|
-
i0.ɵɵtext(1, " Your Plan ");
|
|
622
|
-
i0.ɵɵelementEnd();
|
|
623
|
-
} }
|
|
624
|
-
function BuyAccessButtonComponent_div_0_div_1_button_2_Template(rf, ctx) { if (rf & 1) {
|
|
625
|
-
const _r1 = i0.ɵɵgetCurrentView();
|
|
626
|
-
i0.ɵɵelementStart(0, "button", 4);
|
|
627
|
-
i0.ɵɵlistener("click", function BuyAccessButtonComponent_div_0_div_1_button_2_Template_button_click_0_listener() { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r1.onPlanSelect()); });
|
|
628
|
-
i0.ɵɵtext(1, " Buy Now ");
|
|
629
|
-
i0.ɵɵelementEnd();
|
|
630
|
-
} }
|
|
631
|
-
function BuyAccessButtonComponent_div_0_div_1_Template(rf, ctx) { if (rf & 1) {
|
|
632
|
-
i0.ɵɵelementStart(0, "div");
|
|
633
|
-
i0.ɵɵtemplate(1, BuyAccessButtonComponent_div_0_div_1_button_1_Template, 2, 0, "button", 1)(2, BuyAccessButtonComponent_div_0_div_1_button_2_Template, 2, 0, "button", 2);
|
|
634
|
-
i0.ɵɵelementEnd();
|
|
635
|
-
} if (rf & 2) {
|
|
636
|
-
const ctx_r1 = i0.ɵɵnextContext(2);
|
|
637
|
-
i0.ɵɵadvance();
|
|
638
|
-
i0.ɵɵproperty("ngIf", ctx_r1.plan == ctx_r1.currentPlanId);
|
|
639
|
-
i0.ɵɵadvance();
|
|
640
|
-
i0.ɵɵproperty("ngIf", ctx_r1.plan != ctx_r1.currentPlanId);
|
|
641
|
-
} }
|
|
642
|
-
function BuyAccessButtonComponent_div_0_Template(rf, ctx) { if (rf & 1) {
|
|
643
|
-
i0.ɵɵelementStart(0, "div");
|
|
644
|
-
i0.ɵɵtemplate(1, BuyAccessButtonComponent_div_0_div_1_Template, 3, 2, "div", 0);
|
|
645
|
-
i0.ɵɵelementEnd();
|
|
646
|
-
} if (rf & 2) {
|
|
647
|
-
const ctx_r1 = i0.ɵɵnextContext();
|
|
648
|
-
i0.ɵɵadvance();
|
|
649
|
-
i0.ɵɵproperty("ngIf", ctx_r1.isUserSignedIn && ctx_r1.visibleIfUserSignedIn);
|
|
650
|
-
} }
|
|
651
|
-
class BuyAccessButtonComponent {
|
|
652
|
-
constructor(appContext) {
|
|
653
|
-
this.appContext = appContext;
|
|
654
|
-
this.contextUpdated = false;
|
|
655
|
-
this.isUserSignedIn = false;
|
|
656
|
-
this.currentPlanId = -1;
|
|
657
|
-
this.visibleIfUserSignedIn = false;
|
|
658
|
-
//Outputs
|
|
659
|
-
this.planselect = new EventEmitter();
|
|
660
|
-
}
|
|
661
|
-
ngOnInit() {
|
|
662
|
-
this.setDefaults();
|
|
663
|
-
this.setValues();
|
|
664
|
-
}
|
|
665
|
-
setDefaults() {
|
|
666
|
-
}
|
|
667
|
-
setValues() {
|
|
668
|
-
this.appContext.updated$.subscribe((context) => {
|
|
669
|
-
if (!context) {
|
|
670
|
-
return;
|
|
671
|
-
}
|
|
672
|
-
this.isUserSignedIn = context.isUserSignedIn;
|
|
673
|
-
if (this.isUserSignedIn) {
|
|
674
|
-
let profile = context.billing.profile;
|
|
675
|
-
this.currentPlanId = profile.planId;
|
|
676
|
-
}
|
|
677
|
-
this.contextUpdated = true;
|
|
678
|
-
});
|
|
679
|
-
}
|
|
680
|
-
//Events
|
|
681
|
-
onPlanSelect() {
|
|
682
|
-
this.planselect.emit(this.plan);
|
|
683
|
-
}
|
|
684
|
-
static { this.ɵfac = function BuyAccessButtonComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || BuyAccessButtonComponent)(i0.ɵɵdirectiveInject(AppContextService)); }; }
|
|
685
|
-
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: BuyAccessButtonComponent, selectors: [["anatoly-billing-buyaccess-button"]], inputs: { plan: "plan", visibleIfUserSignedIn: "visibleIfUserSignedIn" }, outputs: { planselect: "planselect" }, standalone: false, decls: 1, vars: 1, consts: [[4, "ngIf"], ["class", "btn btn-block btn-success selectPlan", 4, "ngIf"], ["class", "btn btn-block btn-warning selectPlan", 3, "click", 4, "ngIf"], [1, "btn", "btn-block", "btn-success", "selectPlan"], [1, "btn", "btn-block", "btn-warning", "selectPlan", 3, "click"]], template: function BuyAccessButtonComponent_Template(rf, ctx) { if (rf & 1) {
|
|
686
|
-
i0.ɵɵtemplate(0, BuyAccessButtonComponent_div_0_Template, 2, 1, "div", 0);
|
|
687
|
-
} if (rf & 2) {
|
|
688
|
-
i0.ɵɵproperty("ngIf", ctx.contextUpdated);
|
|
689
|
-
} }, dependencies: [i1$1.NgIf], encapsulation: 2 }); }
|
|
690
|
-
}
|
|
691
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(BuyAccessButtonComponent, [{
|
|
692
|
-
type: Component,
|
|
693
|
-
args: [{ selector: 'anatoly-billing-buyaccess-button', standalone: false, template: "<div *ngIf=\"contextUpdated\">\r\n <!--\r\n <div *ngIf=\"!isUserSignedIn\">\r\n <anatoly-signup-button classes=\"btn btn-block btn-primary\" />\r\n </div>\r\n -->\r\n\r\n <div *ngIf=\"isUserSignedIn && visibleIfUserSignedIn\">\r\n <button class=\"btn btn-block btn-success selectPlan\" *ngIf=\"plan == currentPlanId\">\r\n Your Plan\r\n </button>\r\n\r\n <button class=\"btn btn-block btn-warning selectPlan\" *ngIf=\"plan != currentPlanId\"\r\n (click)=\"onPlanSelect()\">\r\n Buy Now\r\n </button>\r\n </div>\r\n</div>\r\n" }]
|
|
694
|
-
}], () => [{ type: AppContextService }], { plan: [{
|
|
695
|
-
type: Input
|
|
696
|
-
}], visibleIfUserSignedIn: [{
|
|
697
|
-
type: Input
|
|
698
|
-
}], planselect: [{
|
|
699
|
-
type: Output
|
|
700
|
-
}] }); })();
|
|
701
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(BuyAccessButtonComponent, { className: "BuyAccessButtonComponent", filePath: "lib/billing/components/buttons/buyaccess-button.component.ts", lineNumber: 28 }); })();
|
|
702
|
-
|
|
703
|
-
/*
|
|
704
|
-
<file>
|
|
705
|
-
Project:
|
|
706
|
-
@osovitny/anatoly
|
|
707
|
-
|
|
708
|
-
Authors:
|
|
709
|
-
Vadim Osovitny vadim.osovitny@osovitny.com
|
|
710
|
-
Anatoly Osovitny anatoly.osovitny@osovitny.com
|
|
711
|
-
|
|
712
|
-
Created:
|
|
713
|
-
1 Jun 2018
|
|
714
|
-
|
|
715
|
-
Copyright (c) 2016-2025 Osovitny Inc. All rights reserved.
|
|
716
|
-
</file>
|
|
717
|
-
*/
|
|
718
|
-
//Node
|
|
719
|
-
function SubscribePlanButtonComponent_div_0_div_1_button_1_Template(rf, ctx) { if (rf & 1) {
|
|
720
|
-
i0.ɵɵelementStart(0, "button", 4);
|
|
721
|
-
i0.ɵɵtext(1, " Your Plan ");
|
|
722
|
-
i0.ɵɵelementEnd();
|
|
723
|
-
} }
|
|
724
|
-
function SubscribePlanButtonComponent_div_0_div_1_button_2_Template(rf, ctx) { if (rf & 1) {
|
|
725
|
-
i0.ɵɵelementStart(0, "button", 5);
|
|
726
|
-
i0.ɵɵtext(1, " Requested ");
|
|
727
|
-
i0.ɵɵelementEnd();
|
|
728
|
-
} }
|
|
729
|
-
function SubscribePlanButtonComponent_div_0_div_1_button_3_Template(rf, ctx) { if (rf & 1) {
|
|
730
|
-
const _r1 = i0.ɵɵgetCurrentView();
|
|
731
|
-
i0.ɵɵelementStart(0, "button", 6);
|
|
732
|
-
i0.ɵɵlistener("click", function SubscribePlanButtonComponent_div_0_div_1_button_3_Template_button_click_0_listener() { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r1.onPlanSelect()); });
|
|
733
|
-
i0.ɵɵtext(1, " Subscribe ");
|
|
734
|
-
i0.ɵɵelementEnd();
|
|
735
|
-
} }
|
|
736
|
-
function SubscribePlanButtonComponent_div_0_div_1_Template(rf, ctx) { if (rf & 1) {
|
|
737
|
-
i0.ɵɵelementStart(0, "div");
|
|
738
|
-
i0.ɵɵtemplate(1, SubscribePlanButtonComponent_div_0_div_1_button_1_Template, 2, 0, "button", 1)(2, SubscribePlanButtonComponent_div_0_div_1_button_2_Template, 2, 0, "button", 2)(3, SubscribePlanButtonComponent_div_0_div_1_button_3_Template, 2, 0, "button", 3);
|
|
739
|
-
i0.ɵɵelementEnd();
|
|
740
|
-
} if (rf & 2) {
|
|
741
|
-
const ctx_r1 = i0.ɵɵnextContext(2);
|
|
742
|
-
i0.ɵɵadvance();
|
|
743
|
-
i0.ɵɵproperty("ngIf", ctx_r1.plan == ctx_r1.currentPlanId);
|
|
744
|
-
i0.ɵɵadvance();
|
|
745
|
-
i0.ɵɵproperty("ngIf", ctx_r1.plan == ctx_r1.requestedPlanId);
|
|
746
|
-
i0.ɵɵadvance();
|
|
747
|
-
i0.ɵɵproperty("ngIf", ctx_r1.plan != ctx_r1.currentPlanId && ctx_r1.plan != ctx_r1.requestedPlanId);
|
|
748
|
-
} }
|
|
749
|
-
function SubscribePlanButtonComponent_div_0_Template(rf, ctx) { if (rf & 1) {
|
|
750
|
-
i0.ɵɵelementStart(0, "div");
|
|
751
|
-
i0.ɵɵtemplate(1, SubscribePlanButtonComponent_div_0_div_1_Template, 4, 3, "div", 0);
|
|
752
|
-
i0.ɵɵelementEnd();
|
|
753
|
-
} if (rf & 2) {
|
|
754
|
-
const ctx_r1 = i0.ɵɵnextContext();
|
|
755
|
-
i0.ɵɵadvance();
|
|
756
|
-
i0.ɵɵproperty("ngIf", ctx_r1.isUserSignedIn && ctx_r1.visibleIfUserSignedIn);
|
|
757
|
-
} }
|
|
758
|
-
class SubscribePlanButtonComponent {
|
|
759
|
-
constructor(appContext) {
|
|
760
|
-
this.appContext = appContext;
|
|
761
|
-
this.contextUpdated = false;
|
|
762
|
-
this.isUserSignedIn = false;
|
|
763
|
-
this.currentPlanId = -1;
|
|
764
|
-
this.requestedPlanId = -1;
|
|
765
|
-
this.visibleIfUserSignedIn = false;
|
|
766
|
-
//Outputs
|
|
767
|
-
this.planselect = new EventEmitter();
|
|
768
|
-
}
|
|
769
|
-
ngOnInit() {
|
|
770
|
-
this.setDefaults();
|
|
771
|
-
this.setValues();
|
|
772
|
-
}
|
|
773
|
-
setDefaults() {
|
|
774
|
-
}
|
|
775
|
-
setValues() {
|
|
776
|
-
this.appContext.updated$.subscribe((context) => {
|
|
777
|
-
if (!context) {
|
|
778
|
-
return;
|
|
779
|
-
}
|
|
780
|
-
this.isUserSignedIn = context.isUserSignedIn;
|
|
781
|
-
if (this.isUserSignedIn) {
|
|
782
|
-
let profile = context.billing.profile;
|
|
783
|
-
this.currentPlanId = profile.planId;
|
|
784
|
-
this.requestedPlanId = profile.requestedPlanId ?? -1;
|
|
785
|
-
}
|
|
786
|
-
this.contextUpdated = true;
|
|
787
|
-
});
|
|
788
|
-
}
|
|
789
|
-
//Events
|
|
790
|
-
onPlanSelect() {
|
|
791
|
-
this.planselect.emit(this.plan);
|
|
792
|
-
}
|
|
793
|
-
static { this.ɵfac = function SubscribePlanButtonComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || SubscribePlanButtonComponent)(i0.ɵɵdirectiveInject(AppContextService)); }; }
|
|
794
|
-
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: SubscribePlanButtonComponent, selectors: [["anatoly-billing-subscribe-plan-button"]], inputs: { plan: "plan", visibleIfUserSignedIn: "visibleIfUserSignedIn" }, outputs: { planselect: "planselect" }, standalone: false, decls: 1, vars: 1, consts: [[4, "ngIf"], ["class", "btn btn-block btn-success selectPlan", 4, "ngIf"], ["class", "btn btn-block btn-warning selectPlan", 4, "ngIf"], ["class", "btn btn-block btn-warning selectPlan", 3, "click", 4, "ngIf"], [1, "btn", "btn-block", "btn-success", "selectPlan"], [1, "btn", "btn-block", "btn-warning", "selectPlan"], [1, "btn", "btn-block", "btn-warning", "selectPlan", 3, "click"]], template: function SubscribePlanButtonComponent_Template(rf, ctx) { if (rf & 1) {
|
|
795
|
-
i0.ɵɵtemplate(0, SubscribePlanButtonComponent_div_0_Template, 2, 1, "div", 0);
|
|
796
|
-
} if (rf & 2) {
|
|
797
|
-
i0.ɵɵproperty("ngIf", ctx.contextUpdated);
|
|
798
|
-
} }, dependencies: [i1$1.NgIf], encapsulation: 2 }); }
|
|
799
|
-
}
|
|
800
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SubscribePlanButtonComponent, [{
|
|
801
|
-
type: Component,
|
|
802
|
-
args: [{ selector: 'anatoly-billing-subscribe-plan-button', standalone: false, template: "<div *ngIf=\"contextUpdated\">\r\n <!--\r\n <div *ngIf=\"!isUserSignedIn\">\r\n <anatoly-signup-button classes=\"btn btn-block btn-primary\" />\r\n </div>\r\n -->\r\n\r\n <div *ngIf=\"isUserSignedIn && visibleIfUserSignedIn\">\r\n <button class=\"btn btn-block btn-success selectPlan\" *ngIf=\"plan == currentPlanId\">\r\n Your Plan\r\n </button>\r\n\r\n <button class=\"btn btn-block btn-warning selectPlan\" *ngIf=\"plan == requestedPlanId\">\r\n Requested\r\n </button>\r\n\r\n <button class=\"btn btn-block btn-warning selectPlan\" *ngIf=\"plan != currentPlanId && plan != requestedPlanId\"\r\n (click)=\"onPlanSelect()\">\r\n Subscribe\r\n </button>\r\n </div>\r\n</div>\r\n" }]
|
|
803
|
-
}], () => [{ type: AppContextService }], { plan: [{
|
|
804
|
-
type: Input
|
|
805
|
-
}], visibleIfUserSignedIn: [{
|
|
806
|
-
type: Input
|
|
807
|
-
}], planselect: [{
|
|
808
|
-
type: Output
|
|
809
|
-
}] }); })();
|
|
810
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(SubscribePlanButtonComponent, { className: "SubscribePlanButtonComponent", filePath: "lib/billing/components/buttons/subscribe-plan-button.component.ts", lineNumber: 28 }); })();
|
|
811
|
-
|
|
812
612
|
/*
|
|
813
613
|
<file>
|
|
814
614
|
Project:
|
|
@@ -1602,12 +1402,12 @@ class GoServiceBase {
|
|
|
1602
1402
|
error500() {
|
|
1603
1403
|
this.navigate([this.currentApp.root + '/errors/500']);
|
|
1604
1404
|
}
|
|
1605
|
-
static { this.ɵfac = function GoServiceBase_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || GoServiceBase)(i0.ɵɵinject(i1$
|
|
1405
|
+
static { this.ɵfac = function GoServiceBase_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || GoServiceBase)(i0.ɵɵinject(i1$1.ActivatedRoute), i0.ɵɵinject(i1$1.Router)); }; }
|
|
1606
1406
|
static { this.ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token: GoServiceBase, factory: GoServiceBase.ɵfac }); }
|
|
1607
1407
|
}
|
|
1608
1408
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(GoServiceBase, [{
|
|
1609
1409
|
type: Injectable
|
|
1610
|
-
}], () => [{ type: i1$
|
|
1410
|
+
}], () => [{ type: i1$1.ActivatedRoute }, { type: i1$1.Router }], null); })();
|
|
1611
1411
|
|
|
1612
1412
|
/*
|
|
1613
1413
|
<file>
|
|
@@ -2266,7 +2066,7 @@ class AuthService extends ApiServiceBase {
|
|
|
2266
2066
|
};
|
|
2267
2067
|
this.login(resetPasswordFlowRequest);
|
|
2268
2068
|
}
|
|
2269
|
-
static { this.ɵfac = function AuthService_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || AuthService)(i0.ɵɵinject(i1.HttpClient), i0.ɵɵinject(i1$
|
|
2069
|
+
static { this.ɵfac = function AuthService_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || AuthService)(i0.ɵɵinject(i1.HttpClient), i0.ɵɵinject(i1$1.Router), i0.ɵɵinject(AppContextService), i0.ɵɵinject(MSAL_GUARD_CONFIG), i0.ɵɵinject(i4.MsalService), i0.ɵɵinject(i4.MsalBroadcastService)); }; }
|
|
2270
2070
|
static { this.ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token: AuthService, factory: AuthService.ɵfac, providedIn: 'root' }); }
|
|
2271
2071
|
}
|
|
2272
2072
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(AuthService, [{
|
|
@@ -2274,7 +2074,7 @@ class AuthService extends ApiServiceBase {
|
|
|
2274
2074
|
args: [{
|
|
2275
2075
|
providedIn: 'root'
|
|
2276
2076
|
}]
|
|
2277
|
-
}], () => [{ type: i1.HttpClient }, { type: i1$
|
|
2077
|
+
}], () => [{ type: i1.HttpClient }, { type: i1$1.Router }, { type: AppContextService }, { type: undefined, decorators: [{
|
|
2278
2078
|
type: Inject,
|
|
2279
2079
|
args: [MSAL_GUARD_CONFIG]
|
|
2280
2080
|
}] }, { type: i4.MsalService }, { type: i4.MsalBroadcastService }], null); })();
|
|
@@ -2389,12 +2189,12 @@ class AppsGoServiceBase extends GoServiceBase {
|
|
|
2389
2189
|
}
|
|
2390
2190
|
}
|
|
2391
2191
|
}
|
|
2392
|
-
static { this.ɵfac = function AppsGoServiceBase_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || AppsGoServiceBase)(i0.ɵɵinject(i1$
|
|
2192
|
+
static { this.ɵfac = function AppsGoServiceBase_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || AppsGoServiceBase)(i0.ɵɵinject(i1$1.ActivatedRoute), i0.ɵɵinject(i1$1.Router), i0.ɵɵinject(AuthService), i0.ɵɵinject(LoggingService)); }; }
|
|
2393
2193
|
static { this.ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token: AppsGoServiceBase, factory: AppsGoServiceBase.ɵfac }); }
|
|
2394
2194
|
}
|
|
2395
2195
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(AppsGoServiceBase, [{
|
|
2396
2196
|
type: Injectable
|
|
2397
|
-
}], () => [{ type: i1$
|
|
2197
|
+
}], () => [{ type: i1$1.ActivatedRoute }, { type: i1$1.Router }, { type: AuthService }, { type: LoggingService }], null); })();
|
|
2398
2198
|
|
|
2399
2199
|
/*
|
|
2400
2200
|
<file>
|
|
@@ -2451,7 +2251,7 @@ class AuthenticationGuard extends MsalGuard {
|
|
|
2451
2251
|
this.setInteractionType(route);
|
|
2452
2252
|
return super.canActivate(route, state);
|
|
2453
2253
|
}
|
|
2454
|
-
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$
|
|
2254
|
+
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$2.Location), i0.ɵɵinject(i1$1.Router)); }; }
|
|
2455
2255
|
static { this.ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token: AuthenticationGuard, factory: AuthenticationGuard.ɵfac }); }
|
|
2456
2256
|
}
|
|
2457
2257
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(AuthenticationGuard, [{
|
|
@@ -2459,7 +2259,7 @@ class AuthenticationGuard extends MsalGuard {
|
|
|
2459
2259
|
}], () => [{ type: undefined, decorators: [{
|
|
2460
2260
|
type: Inject,
|
|
2461
2261
|
args: [MSAL_GUARD_CONFIG]
|
|
2462
|
-
}] }, { type: i4.MsalBroadcastService }, { type: i4.MsalService }, { type: i1$
|
|
2262
|
+
}] }, { type: i4.MsalBroadcastService }, { type: i4.MsalService }, { type: i1$2.Location }, { type: i1$1.Router }], null); })();
|
|
2463
2263
|
|
|
2464
2264
|
/*
|
|
2465
2265
|
<file>
|
|
@@ -3784,12 +3584,12 @@ class GoogleAnalyticsService {
|
|
|
3784
3584
|
let ga = window.gtag;
|
|
3785
3585
|
return ga;
|
|
3786
3586
|
}
|
|
3787
|
-
static { this.ɵfac = function GoogleAnalyticsService_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || GoogleAnalyticsService)(i0.ɵɵinject(i1$
|
|
3587
|
+
static { this.ɵfac = function GoogleAnalyticsService_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || GoogleAnalyticsService)(i0.ɵɵinject(i1$1.Router)); }; }
|
|
3788
3588
|
static { this.ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token: GoogleAnalyticsService, factory: GoogleAnalyticsService.ɵfac }); }
|
|
3789
3589
|
}
|
|
3790
3590
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(GoogleAnalyticsService, [{
|
|
3791
3591
|
type: Injectable
|
|
3792
|
-
}], () => [{ type: i1$
|
|
3592
|
+
}], () => [{ type: i1$1.Router }], null); })();
|
|
3793
3593
|
|
|
3794
3594
|
/*
|
|
3795
3595
|
<file>
|
|
@@ -4323,45 +4123,456 @@ class ComponentBase {
|
|
|
4323
4123
|
}
|
|
4324
4124
|
ngOnInit() {
|
|
4325
4125
|
}
|
|
4326
|
-
ngOnDestroy() {
|
|
4327
|
-
this.subs.unsubscribe();
|
|
4328
|
-
}
|
|
4329
|
-
getEntityId() {
|
|
4330
|
-
return QSUtils.getValueByName("id");
|
|
4331
|
-
}
|
|
4332
|
-
dataStartedLoading() {
|
|
4333
|
-
this.dataLoading = true;
|
|
4334
|
-
this.dataLoaded = false;
|
|
4335
|
-
this.dataFound = false;
|
|
4126
|
+
ngOnDestroy() {
|
|
4127
|
+
this.subs.unsubscribe();
|
|
4128
|
+
}
|
|
4129
|
+
getEntityId() {
|
|
4130
|
+
return QSUtils.getValueByName("id");
|
|
4131
|
+
}
|
|
4132
|
+
dataStartedLoading() {
|
|
4133
|
+
this.dataLoading = true;
|
|
4134
|
+
this.dataLoaded = false;
|
|
4135
|
+
this.dataFound = false;
|
|
4136
|
+
}
|
|
4137
|
+
dataLoadedAndNothingFound() {
|
|
4138
|
+
this.dataLoadedAndFound(false);
|
|
4139
|
+
}
|
|
4140
|
+
dataLoadedAndFound(found = true) {
|
|
4141
|
+
this.dataLoading = false;
|
|
4142
|
+
this.dataLoaded = true;
|
|
4143
|
+
this.dataFound = found;
|
|
4144
|
+
}
|
|
4145
|
+
static { this.ɵfac = function ComponentBase_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || ComponentBase)(); }; }
|
|
4146
|
+
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: ComponentBase, selectors: [["ng-component"]], inputs: { mode: "mode", classes: "classes", title: "title", isTitleVisible: "isTitleVisible", isRequired: "isRequired" }, decls: 0, vars: 0, template: function ComponentBase_Template(rf, ctx) { }, encapsulation: 2 }); }
|
|
4147
|
+
}
|
|
4148
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ComponentBase, [{
|
|
4149
|
+
type: Component,
|
|
4150
|
+
args: [{
|
|
4151
|
+
template: ''
|
|
4152
|
+
}]
|
|
4153
|
+
}], () => [], { mode: [{
|
|
4154
|
+
type: Input
|
|
4155
|
+
}], classes: [{
|
|
4156
|
+
type: Input
|
|
4157
|
+
}], title: [{
|
|
4158
|
+
type: Input
|
|
4159
|
+
}], isTitleVisible: [{
|
|
4160
|
+
type: Input
|
|
4161
|
+
}], isRequired: [{
|
|
4162
|
+
type: Input
|
|
4163
|
+
}] }); })();
|
|
4164
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ComponentBase, { className: "ComponentBase", filePath: "lib/ui/components/base/components/component.ts", lineNumber: 26 }); })();
|
|
4165
|
+
|
|
4166
|
+
/*
|
|
4167
|
+
<file>
|
|
4168
|
+
Project:
|
|
4169
|
+
@osovitny/anatoly
|
|
4170
|
+
|
|
4171
|
+
Authors:
|
|
4172
|
+
Vadim Osovitny vadim.osovitny@osovitny.com
|
|
4173
|
+
|
|
4174
|
+
Created:
|
|
4175
|
+
19 May 2025
|
|
4176
|
+
|
|
4177
|
+
Copyright (c) 2016-2025 Osovitny Inc. All rights reserved.
|
|
4178
|
+
</file>
|
|
4179
|
+
*/
|
|
4180
|
+
//Node
|
|
4181
|
+
class ReplacerDirectiveBase {
|
|
4182
|
+
constructor(el, renderer) {
|
|
4183
|
+
this.el = el;
|
|
4184
|
+
this.renderer = renderer;
|
|
4185
|
+
}
|
|
4186
|
+
setUrlAttribute(name, url) {
|
|
4187
|
+
if (url) {
|
|
4188
|
+
let newUrl = formatUrl(url);
|
|
4189
|
+
this.setAttribute(name, newUrl);
|
|
4190
|
+
}
|
|
4191
|
+
}
|
|
4192
|
+
setAttribute(name, value) {
|
|
4193
|
+
this.renderer.setAttribute(this.el.nativeElement, name, value);
|
|
4194
|
+
}
|
|
4195
|
+
static { this.ɵfac = function ReplacerDirectiveBase_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || ReplacerDirectiveBase)(i0.ɵɵdirectiveInject(i0.ElementRef), i0.ɵɵdirectiveInject(i0.Renderer2)); }; }
|
|
4196
|
+
static { this.ɵdir = /*@__PURE__*/ i0.ɵɵdefineDirective({ type: ReplacerDirectiveBase }); }
|
|
4197
|
+
}
|
|
4198
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ReplacerDirectiveBase, [{
|
|
4199
|
+
type: Directive,
|
|
4200
|
+
args: [{}]
|
|
4201
|
+
}], () => [{ type: i0.ElementRef }, { type: i0.Renderer2 }], null); })();
|
|
4202
|
+
|
|
4203
|
+
/*
|
|
4204
|
+
<file>
|
|
4205
|
+
Project:
|
|
4206
|
+
@osovitny/anatoly
|
|
4207
|
+
|
|
4208
|
+
Authors:
|
|
4209
|
+
Vadim Osovitny vadim.osovitny@osovitny.com
|
|
4210
|
+
|
|
4211
|
+
Created:
|
|
4212
|
+
19 May 2025
|
|
4213
|
+
|
|
4214
|
+
Copyright (c) 2016-2025 Osovitny Inc. All rights reserved.
|
|
4215
|
+
</file>
|
|
4216
|
+
*/
|
|
4217
|
+
//Node
|
|
4218
|
+
class AReplacerDirective extends ReplacerDirectiveBase {
|
|
4219
|
+
ngOnInit() {
|
|
4220
|
+
this.setHref(this.href);
|
|
4221
|
+
}
|
|
4222
|
+
ngOnChanges(changes) {
|
|
4223
|
+
if (changes['href']) {
|
|
4224
|
+
this.setHref(changes['href'].currentValue);
|
|
4225
|
+
}
|
|
4226
|
+
}
|
|
4227
|
+
setHref(value) {
|
|
4228
|
+
if (value) {
|
|
4229
|
+
if (value.indexOf("assets") > -1) {
|
|
4230
|
+
this.setUrlAttribute('href', value);
|
|
4231
|
+
}
|
|
4232
|
+
else {
|
|
4233
|
+
this.setAttribute('href', value);
|
|
4234
|
+
}
|
|
4235
|
+
}
|
|
4236
|
+
}
|
|
4237
|
+
static { this.ɵfac = /*@__PURE__*/ (() => { let ɵAReplacerDirective_BaseFactory; return function AReplacerDirective_Factory(__ngFactoryType__) { return (ɵAReplacerDirective_BaseFactory || (ɵAReplacerDirective_BaseFactory = i0.ɵɵgetInheritedFactory(AReplacerDirective)))(__ngFactoryType__ || AReplacerDirective); }; })(); }
|
|
4238
|
+
static { this.ɵdir = /*@__PURE__*/ i0.ɵɵdefineDirective({ type: AReplacerDirective, selectors: [["a"]], inputs: { href: "href" }, standalone: false, features: [i0.ɵɵInheritDefinitionFeature, i0.ɵɵNgOnChangesFeature] }); }
|
|
4239
|
+
}
|
|
4240
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(AReplacerDirective, [{
|
|
4241
|
+
type: Directive,
|
|
4242
|
+
args: [{
|
|
4243
|
+
selector: 'a',
|
|
4244
|
+
standalone: false
|
|
4245
|
+
}]
|
|
4246
|
+
}], null, { href: [{
|
|
4247
|
+
type: Input,
|
|
4248
|
+
args: ['href']
|
|
4249
|
+
}] }); })();
|
|
4250
|
+
|
|
4251
|
+
/*
|
|
4252
|
+
<file>
|
|
4253
|
+
Project:
|
|
4254
|
+
@osovitny/anatoly
|
|
4255
|
+
|
|
4256
|
+
Authors:
|
|
4257
|
+
Vadim Osovitny vadim.osovitny@osovitny.com
|
|
4258
|
+
Anatoly Osovitny anatoly.osovitny@osovitny.com
|
|
4259
|
+
|
|
4260
|
+
Created:
|
|
4261
|
+
4 Jul 2018
|
|
4262
|
+
|
|
4263
|
+
Copyright (c) 2016-2025 Osovitny Inc. All rights reserved.
|
|
4264
|
+
</file>
|
|
4265
|
+
*/
|
|
4266
|
+
//Node
|
|
4267
|
+
const _c0$h = ["*"];
|
|
4268
|
+
function SignUpButtonComponent_a_0_ng_container_1_Template(rf, ctx) { if (rf & 1) {
|
|
4269
|
+
i0.ɵɵelementContainer(0);
|
|
4270
|
+
} }
|
|
4271
|
+
function SignUpButtonComponent_a_0_Template(rf, ctx) { if (rf & 1) {
|
|
4272
|
+
i0.ɵɵelementStart(0, "a", 4);
|
|
4273
|
+
i0.ɵɵtemplate(1, SignUpButtonComponent_a_0_ng_container_1_Template, 1, 0, "ng-container", 5);
|
|
4274
|
+
i0.ɵɵelementEnd();
|
|
4275
|
+
} if (rf & 2) {
|
|
4276
|
+
const ctx_r0 = i0.ɵɵnextContext();
|
|
4277
|
+
const contentTemplate_r2 = i0.ɵɵreference(3);
|
|
4278
|
+
i0.ɵɵclassMap(ctx_r0.classes);
|
|
4279
|
+
i0.ɵɵproperty("href", ctx_r0.url, i0.ɵɵsanitizeUrl);
|
|
4280
|
+
i0.ɵɵadvance();
|
|
4281
|
+
i0.ɵɵproperty("ngTemplateOutlet", contentTemplate_r2);
|
|
4282
|
+
} }
|
|
4283
|
+
function SignUpButtonComponent_a_1_ng_container_1_Template(rf, ctx) { if (rf & 1) {
|
|
4284
|
+
i0.ɵɵelementContainer(0);
|
|
4285
|
+
} }
|
|
4286
|
+
function SignUpButtonComponent_a_1_Template(rf, ctx) { if (rf & 1) {
|
|
4287
|
+
i0.ɵɵelementStart(0, "a", 6);
|
|
4288
|
+
i0.ɵɵtemplate(1, SignUpButtonComponent_a_1_ng_container_1_Template, 1, 0, "ng-container", 5);
|
|
4289
|
+
i0.ɵɵelementEnd();
|
|
4290
|
+
} if (rf & 2) {
|
|
4291
|
+
const ctx_r0 = i0.ɵɵnextContext();
|
|
4292
|
+
const contentTemplate_r2 = i0.ɵɵreference(3);
|
|
4293
|
+
i0.ɵɵclassMap(ctx_r0.classes);
|
|
4294
|
+
i0.ɵɵproperty("routerLink", ctx_r0.url);
|
|
4295
|
+
i0.ɵɵadvance();
|
|
4296
|
+
i0.ɵɵproperty("ngTemplateOutlet", contentTemplate_r2);
|
|
4297
|
+
} }
|
|
4298
|
+
function SignUpButtonComponent_ng_template_2_span_3_Template(rf, ctx) { if (rf & 1) {
|
|
4299
|
+
i0.ɵɵelementStart(0, "span");
|
|
4300
|
+
i0.ɵɵtext(1, "Sign Up");
|
|
4301
|
+
i0.ɵɵelementEnd();
|
|
4302
|
+
} }
|
|
4303
|
+
function SignUpButtonComponent_ng_template_2_Template(rf, ctx) { if (rf & 1) {
|
|
4304
|
+
i0.ɵɵelementStart(0, "span", null, 1);
|
|
4305
|
+
i0.ɵɵprojection(2);
|
|
4306
|
+
i0.ɵɵelementEnd();
|
|
4307
|
+
i0.ɵɵtemplate(3, SignUpButtonComponent_ng_template_2_span_3_Template, 2, 0, "span", 7);
|
|
4308
|
+
} if (rf & 2) {
|
|
4309
|
+
const ref_r3 = i0.ɵɵreference(1);
|
|
4310
|
+
i0.ɵɵadvance(3);
|
|
4311
|
+
i0.ɵɵproperty("ngIf", !ref_r3.innerHTML.trim());
|
|
4312
|
+
} }
|
|
4313
|
+
class SignUpButtonComponent extends ComponentBase {
|
|
4314
|
+
constructor() {
|
|
4315
|
+
super(...arguments);
|
|
4316
|
+
this.external = false;
|
|
4317
|
+
}
|
|
4318
|
+
ngOnInit() {
|
|
4319
|
+
let url = MSALConfig.ui.signup;
|
|
4320
|
+
if (url) {
|
|
4321
|
+
this.external = url.indexOf('http') > -1;
|
|
4322
|
+
if (this.external) {
|
|
4323
|
+
this.url = url + (this.qs ? '?' + this.qs : '');
|
|
4324
|
+
}
|
|
4325
|
+
else {
|
|
4326
|
+
this.url = url;
|
|
4327
|
+
}
|
|
4328
|
+
}
|
|
4329
|
+
}
|
|
4330
|
+
static { this.ɵfac = /*@__PURE__*/ (() => { let ɵSignUpButtonComponent_BaseFactory; return function SignUpButtonComponent_Factory(__ngFactoryType__) { return (ɵSignUpButtonComponent_BaseFactory || (ɵSignUpButtonComponent_BaseFactory = i0.ɵɵgetInheritedFactory(SignUpButtonComponent)))(__ngFactoryType__ || SignUpButtonComponent); }; })(); }
|
|
4331
|
+
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: SignUpButtonComponent, selectors: [["anatoly-signup-button"]], inputs: { qs: "qs" }, standalone: false, features: [i0.ɵɵInheritDefinitionFeature], ngContentSelectors: _c0$h, decls: 4, vars: 2, consts: [["contentTemplate", ""], ["ref", ""], [3, "href", "class", 4, "ngIf"], [3, "routerLink", "class", 4, "ngIf"], [3, "href"], [4, "ngTemplateOutlet"], [3, "routerLink"], [4, "ngIf"]], template: function SignUpButtonComponent_Template(rf, ctx) { if (rf & 1) {
|
|
4332
|
+
i0.ɵɵprojectionDef();
|
|
4333
|
+
i0.ɵɵtemplate(0, SignUpButtonComponent_a_0_Template, 2, 4, "a", 2)(1, SignUpButtonComponent_a_1_Template, 2, 4, "a", 3)(2, SignUpButtonComponent_ng_template_2_Template, 4, 1, "ng-template", null, 0, i0.ɵɵtemplateRefExtractor);
|
|
4334
|
+
} if (rf & 2) {
|
|
4335
|
+
i0.ɵɵproperty("ngIf", ctx.external);
|
|
4336
|
+
i0.ɵɵadvance();
|
|
4337
|
+
i0.ɵɵproperty("ngIf", !ctx.external);
|
|
4338
|
+
} }, dependencies: [i1$2.NgIf, i1$2.NgTemplateOutlet, i1$1.RouterLink, AReplacerDirective], encapsulation: 2 }); }
|
|
4339
|
+
}
|
|
4340
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SignUpButtonComponent, [{
|
|
4341
|
+
type: Component,
|
|
4342
|
+
args: [{ selector: "anatoly-signup-button", standalone: false, template: "<a [href]=\"url\" class=\"{{ classes }}\" *ngIf=\"external\">\r\n <ng-container *ngTemplateOutlet=\"contentTemplate\"></ng-container>\r\n</a>\r\n\r\n<a [routerLink]=\"url\" class=\"{{ classes }}\" *ngIf=\"!external\">\r\n <ng-container *ngTemplateOutlet=\"contentTemplate\"></ng-container>\r\n</a>\r\n\r\n<ng-template #contentTemplate>\r\n <span #ref><ng-content></ng-content></span>\r\n <span *ngIf=\"!ref.innerHTML.trim()\">Sign Up</span>\r\n</ng-template>\r\n" }]
|
|
4343
|
+
}], null, { qs: [{
|
|
4344
|
+
type: Input
|
|
4345
|
+
}] }); })();
|
|
4346
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(SignUpButtonComponent, { className: "SignUpButtonComponent", filePath: "lib/ui/components/identity/signup-button.component.ts", lineNumber: 29 }); })();
|
|
4347
|
+
|
|
4348
|
+
/*
|
|
4349
|
+
<file>
|
|
4350
|
+
Project:
|
|
4351
|
+
@osovitny/anatoly
|
|
4352
|
+
|
|
4353
|
+
Authors:
|
|
4354
|
+
Vadim Osovitny vadim.osovitny@osovitny.com
|
|
4355
|
+
Anatoly Osovitny anatoly.osovitny@osovitny.com
|
|
4356
|
+
|
|
4357
|
+
Created:
|
|
4358
|
+
14 Aug 2018
|
|
4359
|
+
|
|
4360
|
+
Copyright (c) 2016-2025 Osovitny Inc. All rights reserved.
|
|
4361
|
+
</file>
|
|
4362
|
+
*/
|
|
4363
|
+
//Node
|
|
4364
|
+
function BuyAccessButtonComponent_div_0_div_1_Template(rf, ctx) { if (rf & 1) {
|
|
4365
|
+
i0.ɵɵelementStart(0, "div");
|
|
4366
|
+
i0.ɵɵelement(1, "anatoly-signup-button", 3);
|
|
4367
|
+
i0.ɵɵelementEnd();
|
|
4368
|
+
} }
|
|
4369
|
+
function BuyAccessButtonComponent_div_0_div_2_button_1_Template(rf, ctx) { if (rf & 1) {
|
|
4370
|
+
i0.ɵɵelementStart(0, "button", 6);
|
|
4371
|
+
i0.ɵɵtext(1, " Your Plan ");
|
|
4372
|
+
i0.ɵɵelementEnd();
|
|
4373
|
+
} }
|
|
4374
|
+
function BuyAccessButtonComponent_div_0_div_2_button_2_Template(rf, ctx) { if (rf & 1) {
|
|
4375
|
+
const _r1 = i0.ɵɵgetCurrentView();
|
|
4376
|
+
i0.ɵɵelementStart(0, "button", 7);
|
|
4377
|
+
i0.ɵɵlistener("click", function BuyAccessButtonComponent_div_0_div_2_button_2_Template_button_click_0_listener() { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r1.onPlanSelect()); });
|
|
4378
|
+
i0.ɵɵtext(1, " Buy Now ");
|
|
4379
|
+
i0.ɵɵelementEnd();
|
|
4380
|
+
} }
|
|
4381
|
+
function BuyAccessButtonComponent_div_0_div_2_Template(rf, ctx) { if (rf & 1) {
|
|
4382
|
+
i0.ɵɵelementStart(0, "div");
|
|
4383
|
+
i0.ɵɵtemplate(1, BuyAccessButtonComponent_div_0_div_2_button_1_Template, 2, 0, "button", 4)(2, BuyAccessButtonComponent_div_0_div_2_button_2_Template, 2, 0, "button", 5);
|
|
4384
|
+
i0.ɵɵelementEnd();
|
|
4385
|
+
} if (rf & 2) {
|
|
4386
|
+
const ctx_r1 = i0.ɵɵnextContext(2);
|
|
4387
|
+
i0.ɵɵadvance();
|
|
4388
|
+
i0.ɵɵproperty("ngIf", ctx_r1.plan == ctx_r1.currentPlanId);
|
|
4389
|
+
i0.ɵɵadvance();
|
|
4390
|
+
i0.ɵɵproperty("ngIf", ctx_r1.plan != ctx_r1.currentPlanId);
|
|
4391
|
+
} }
|
|
4392
|
+
function BuyAccessButtonComponent_div_0_Template(rf, ctx) { if (rf & 1) {
|
|
4393
|
+
i0.ɵɵelementStart(0, "div", 1);
|
|
4394
|
+
i0.ɵɵtemplate(1, BuyAccessButtonComponent_div_0_div_1_Template, 2, 0, "div", 2)(2, BuyAccessButtonComponent_div_0_div_2_Template, 3, 2, "div", 2);
|
|
4395
|
+
i0.ɵɵelementEnd();
|
|
4396
|
+
} if (rf & 2) {
|
|
4397
|
+
const ctx_r1 = i0.ɵɵnextContext();
|
|
4398
|
+
i0.ɵɵadvance();
|
|
4399
|
+
i0.ɵɵproperty("ngIf", !ctx_r1.isUserSignedIn && ctx_r1.visibleSignup);
|
|
4400
|
+
i0.ɵɵadvance();
|
|
4401
|
+
i0.ɵɵproperty("ngIf", ctx_r1.isUserSignedIn && ctx_r1.visiblePlanStatus);
|
|
4402
|
+
} }
|
|
4403
|
+
class BuyAccessButtonComponent {
|
|
4404
|
+
constructor(appContext) {
|
|
4405
|
+
this.appContext = appContext;
|
|
4406
|
+
this.contextUpdated = false;
|
|
4407
|
+
this.isUserSignedIn = false;
|
|
4408
|
+
this.currentPlanId = -1;
|
|
4409
|
+
this.visiblePlanStatus = false;
|
|
4410
|
+
this.visibleSignup = false;
|
|
4411
|
+
//Outputs
|
|
4412
|
+
this.planselect = new EventEmitter();
|
|
4413
|
+
}
|
|
4414
|
+
ngOnInit() {
|
|
4415
|
+
this.setDefaults();
|
|
4416
|
+
this.setValues();
|
|
4417
|
+
}
|
|
4418
|
+
setDefaults() {
|
|
4419
|
+
}
|
|
4420
|
+
setValues() {
|
|
4421
|
+
this.appContext.updated$.subscribe((context) => {
|
|
4422
|
+
if (!context) {
|
|
4423
|
+
return;
|
|
4424
|
+
}
|
|
4425
|
+
this.isUserSignedIn = context.isUserSignedIn;
|
|
4426
|
+
if (this.isUserSignedIn) {
|
|
4427
|
+
let profile = context.billing.profile;
|
|
4428
|
+
this.currentPlanId = profile.planId;
|
|
4429
|
+
}
|
|
4430
|
+
this.contextUpdated = true;
|
|
4431
|
+
});
|
|
4432
|
+
}
|
|
4433
|
+
//Events
|
|
4434
|
+
onPlanSelect() {
|
|
4435
|
+
this.planselect.emit(this.plan);
|
|
4436
|
+
}
|
|
4437
|
+
static { this.ɵfac = function BuyAccessButtonComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || BuyAccessButtonComponent)(i0.ɵɵdirectiveInject(AppContextService)); }; }
|
|
4438
|
+
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: BuyAccessButtonComponent, selectors: [["anatoly-billing-buyaccess-button"]], inputs: { plan: "plan", visiblePlanStatus: "visiblePlanStatus", visibleSignup: "visibleSignup" }, outputs: { planselect: "planselect" }, standalone: false, decls: 1, vars: 1, consts: [["class", "actions", 4, "ngIf"], [1, "actions"], [4, "ngIf"], ["classes", "btn btn-block btn-primary"], ["class", "btn btn-block btn-success selectPlan", 4, "ngIf"], ["class", "btn btn-block btn-warning selectPlan", 3, "click", 4, "ngIf"], [1, "btn", "btn-block", "btn-success", "selectPlan"], [1, "btn", "btn-block", "btn-warning", "selectPlan", 3, "click"]], template: function BuyAccessButtonComponent_Template(rf, ctx) { if (rf & 1) {
|
|
4439
|
+
i0.ɵɵtemplate(0, BuyAccessButtonComponent_div_0_Template, 3, 2, "div", 0);
|
|
4440
|
+
} if (rf & 2) {
|
|
4441
|
+
i0.ɵɵproperty("ngIf", ctx.contextUpdated);
|
|
4442
|
+
} }, dependencies: [i1$2.NgIf, SignUpButtonComponent], encapsulation: 2 }); }
|
|
4443
|
+
}
|
|
4444
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(BuyAccessButtonComponent, [{
|
|
4445
|
+
type: Component,
|
|
4446
|
+
args: [{ selector: 'anatoly-billing-buyaccess-button', standalone: false, template: "<div class=\"actions\" *ngIf=\"contextUpdated\">\r\n <div *ngIf=\"!isUserSignedIn && visibleSignup\">\r\n <anatoly-signup-button classes=\"btn btn-block btn-primary\" />\r\n </div>\r\n\r\n <div *ngIf=\"isUserSignedIn && visiblePlanStatus\">\r\n <button class=\"btn btn-block btn-success selectPlan\" *ngIf=\"plan == currentPlanId\">\r\n Your Plan\r\n </button>\r\n\r\n <button class=\"btn btn-block btn-warning selectPlan\" *ngIf=\"plan != currentPlanId\"\r\n (click)=\"onPlanSelect()\">\r\n Buy Now\r\n </button>\r\n </div>\r\n</div>\r\n" }]
|
|
4447
|
+
}], () => [{ type: AppContextService }], { plan: [{
|
|
4448
|
+
type: Input
|
|
4449
|
+
}], visiblePlanStatus: [{
|
|
4450
|
+
type: Input
|
|
4451
|
+
}], visibleSignup: [{
|
|
4452
|
+
type: Input
|
|
4453
|
+
}], planselect: [{
|
|
4454
|
+
type: Output
|
|
4455
|
+
}] }); })();
|
|
4456
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(BuyAccessButtonComponent, { className: "BuyAccessButtonComponent", filePath: "lib/billing/components/buttons/buyaccess-button.component.ts", lineNumber: 28 }); })();
|
|
4457
|
+
|
|
4458
|
+
/*
|
|
4459
|
+
<file>
|
|
4460
|
+
Project:
|
|
4461
|
+
@osovitny/anatoly
|
|
4462
|
+
|
|
4463
|
+
Authors:
|
|
4464
|
+
Vadim Osovitny vadim.osovitny@osovitny.com
|
|
4465
|
+
Anatoly Osovitny anatoly.osovitny@osovitny.com
|
|
4466
|
+
|
|
4467
|
+
Created:
|
|
4468
|
+
1 Jun 2018
|
|
4469
|
+
|
|
4470
|
+
Copyright (c) 2016-2025 Osovitny Inc. All rights reserved.
|
|
4471
|
+
</file>
|
|
4472
|
+
*/
|
|
4473
|
+
//Node
|
|
4474
|
+
function SubscribePlanButtonComponent_div_0_div_1_Template(rf, ctx) { if (rf & 1) {
|
|
4475
|
+
i0.ɵɵelementStart(0, "div");
|
|
4476
|
+
i0.ɵɵelement(1, "anatoly-signup-button", 3);
|
|
4477
|
+
i0.ɵɵelementEnd();
|
|
4478
|
+
} }
|
|
4479
|
+
function SubscribePlanButtonComponent_div_0_div_2_button_1_Template(rf, ctx) { if (rf & 1) {
|
|
4480
|
+
i0.ɵɵelementStart(0, "button", 7);
|
|
4481
|
+
i0.ɵɵtext(1, " Your Plan ");
|
|
4482
|
+
i0.ɵɵelementEnd();
|
|
4483
|
+
} }
|
|
4484
|
+
function SubscribePlanButtonComponent_div_0_div_2_button_2_Template(rf, ctx) { if (rf & 1) {
|
|
4485
|
+
i0.ɵɵelementStart(0, "button", 8);
|
|
4486
|
+
i0.ɵɵtext(1, " Requested ");
|
|
4487
|
+
i0.ɵɵelementEnd();
|
|
4488
|
+
} }
|
|
4489
|
+
function SubscribePlanButtonComponent_div_0_div_2_button_3_Template(rf, ctx) { if (rf & 1) {
|
|
4490
|
+
const _r1 = i0.ɵɵgetCurrentView();
|
|
4491
|
+
i0.ɵɵelementStart(0, "button", 9);
|
|
4492
|
+
i0.ɵɵlistener("click", function SubscribePlanButtonComponent_div_0_div_2_button_3_Template_button_click_0_listener() { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r1.onPlanSelect()); });
|
|
4493
|
+
i0.ɵɵtext(1, " Subscribe ");
|
|
4494
|
+
i0.ɵɵelementEnd();
|
|
4495
|
+
} }
|
|
4496
|
+
function SubscribePlanButtonComponent_div_0_div_2_Template(rf, ctx) { if (rf & 1) {
|
|
4497
|
+
i0.ɵɵelementStart(0, "div");
|
|
4498
|
+
i0.ɵɵtemplate(1, SubscribePlanButtonComponent_div_0_div_2_button_1_Template, 2, 0, "button", 4)(2, SubscribePlanButtonComponent_div_0_div_2_button_2_Template, 2, 0, "button", 5)(3, SubscribePlanButtonComponent_div_0_div_2_button_3_Template, 2, 0, "button", 6);
|
|
4499
|
+
i0.ɵɵelementEnd();
|
|
4500
|
+
} if (rf & 2) {
|
|
4501
|
+
const ctx_r1 = i0.ɵɵnextContext(2);
|
|
4502
|
+
i0.ɵɵadvance();
|
|
4503
|
+
i0.ɵɵproperty("ngIf", ctx_r1.plan == ctx_r1.currentPlanId);
|
|
4504
|
+
i0.ɵɵadvance();
|
|
4505
|
+
i0.ɵɵproperty("ngIf", ctx_r1.plan == ctx_r1.requestedPlanId);
|
|
4506
|
+
i0.ɵɵadvance();
|
|
4507
|
+
i0.ɵɵproperty("ngIf", ctx_r1.plan != ctx_r1.currentPlanId && ctx_r1.plan != ctx_r1.requestedPlanId);
|
|
4508
|
+
} }
|
|
4509
|
+
function SubscribePlanButtonComponent_div_0_Template(rf, ctx) { if (rf & 1) {
|
|
4510
|
+
i0.ɵɵelementStart(0, "div", 1);
|
|
4511
|
+
i0.ɵɵtemplate(1, SubscribePlanButtonComponent_div_0_div_1_Template, 2, 0, "div", 2)(2, SubscribePlanButtonComponent_div_0_div_2_Template, 4, 3, "div", 2);
|
|
4512
|
+
i0.ɵɵelementEnd();
|
|
4513
|
+
} if (rf & 2) {
|
|
4514
|
+
const ctx_r1 = i0.ɵɵnextContext();
|
|
4515
|
+
i0.ɵɵadvance();
|
|
4516
|
+
i0.ɵɵproperty("ngIf", !ctx_r1.isUserSignedIn && ctx_r1.visibleSignup);
|
|
4517
|
+
i0.ɵɵadvance();
|
|
4518
|
+
i0.ɵɵproperty("ngIf", ctx_r1.isUserSignedIn && ctx_r1.visiblePlanStatus);
|
|
4519
|
+
} }
|
|
4520
|
+
class SubscribePlanButtonComponent {
|
|
4521
|
+
constructor(appContext) {
|
|
4522
|
+
this.appContext = appContext;
|
|
4523
|
+
this.contextUpdated = false;
|
|
4524
|
+
this.isUserSignedIn = false;
|
|
4525
|
+
this.currentPlanId = -1;
|
|
4526
|
+
this.requestedPlanId = -1;
|
|
4527
|
+
this.visiblePlanStatus = false;
|
|
4528
|
+
this.visibleSignup = false;
|
|
4529
|
+
//Outputs
|
|
4530
|
+
this.planselect = new EventEmitter();
|
|
4531
|
+
}
|
|
4532
|
+
ngOnInit() {
|
|
4533
|
+
this.setDefaults();
|
|
4534
|
+
this.setValues();
|
|
4535
|
+
}
|
|
4536
|
+
setDefaults() {
|
|
4336
4537
|
}
|
|
4337
|
-
|
|
4338
|
-
this.
|
|
4538
|
+
setValues() {
|
|
4539
|
+
this.appContext.updated$.subscribe((context) => {
|
|
4540
|
+
if (!context) {
|
|
4541
|
+
return;
|
|
4542
|
+
}
|
|
4543
|
+
this.isUserSignedIn = context.isUserSignedIn;
|
|
4544
|
+
if (this.isUserSignedIn) {
|
|
4545
|
+
let profile = context.billing.profile;
|
|
4546
|
+
this.currentPlanId = profile.planId;
|
|
4547
|
+
this.requestedPlanId = profile.requestedPlanId ?? -1;
|
|
4548
|
+
}
|
|
4549
|
+
this.contextUpdated = true;
|
|
4550
|
+
});
|
|
4339
4551
|
}
|
|
4340
|
-
|
|
4341
|
-
|
|
4342
|
-
this.
|
|
4343
|
-
this.dataFound = found;
|
|
4552
|
+
//Events
|
|
4553
|
+
onPlanSelect() {
|
|
4554
|
+
this.planselect.emit(this.plan);
|
|
4344
4555
|
}
|
|
4345
|
-
static { this.ɵfac = function
|
|
4346
|
-
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type:
|
|
4556
|
+
static { this.ɵfac = function SubscribePlanButtonComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || SubscribePlanButtonComponent)(i0.ɵɵdirectiveInject(AppContextService)); }; }
|
|
4557
|
+
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: SubscribePlanButtonComponent, selectors: [["anatoly-billing-subscribe-plan-button"]], inputs: { plan: "plan", visiblePlanStatus: "visiblePlanStatus", visibleSignup: "visibleSignup" }, outputs: { planselect: "planselect" }, standalone: false, decls: 1, vars: 1, consts: [["class", "actions", 4, "ngIf"], [1, "actions"], [4, "ngIf"], ["classes", "btn btn-block btn-primary"], ["class", "btn btn-block btn-success selectPlan", 4, "ngIf"], ["class", "btn btn-block btn-warning selectPlan", 4, "ngIf"], ["class", "btn btn-block btn-warning selectPlan", 3, "click", 4, "ngIf"], [1, "btn", "btn-block", "btn-success", "selectPlan"], [1, "btn", "btn-block", "btn-warning", "selectPlan"], [1, "btn", "btn-block", "btn-warning", "selectPlan", 3, "click"]], template: function SubscribePlanButtonComponent_Template(rf, ctx) { if (rf & 1) {
|
|
4558
|
+
i0.ɵɵtemplate(0, SubscribePlanButtonComponent_div_0_Template, 3, 2, "div", 0);
|
|
4559
|
+
} if (rf & 2) {
|
|
4560
|
+
i0.ɵɵproperty("ngIf", ctx.contextUpdated);
|
|
4561
|
+
} }, dependencies: [i1$2.NgIf, SignUpButtonComponent], encapsulation: 2 }); }
|
|
4347
4562
|
}
|
|
4348
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(
|
|
4563
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SubscribePlanButtonComponent, [{
|
|
4349
4564
|
type: Component,
|
|
4350
|
-
args: [{
|
|
4351
|
-
|
|
4352
|
-
}]
|
|
4353
|
-
}], () => [], { mode: [{
|
|
4354
|
-
type: Input
|
|
4355
|
-
}], classes: [{
|
|
4356
|
-
type: Input
|
|
4357
|
-
}], title: [{
|
|
4565
|
+
args: [{ selector: 'anatoly-billing-subscribe-plan-button', standalone: false, template: "<div class=\"actions\" *ngIf=\"contextUpdated\">\r\n <div *ngIf=\"!isUserSignedIn && visibleSignup\">\r\n <anatoly-signup-button classes=\"btn btn-block btn-primary\" />\r\n </div>\r\n\r\n <div *ngIf=\"isUserSignedIn && visiblePlanStatus\">\r\n <button class=\"btn btn-block btn-success selectPlan\" *ngIf=\"plan == currentPlanId\">\r\n Your Plan\r\n </button>\r\n\r\n <button class=\"btn btn-block btn-warning selectPlan\" *ngIf=\"plan == requestedPlanId\">\r\n Requested\r\n </button>\r\n\r\n <button class=\"btn btn-block btn-warning selectPlan\" *ngIf=\"plan != currentPlanId && plan != requestedPlanId\"\r\n (click)=\"onPlanSelect()\">\r\n Subscribe\r\n </button>\r\n </div>\r\n</div>\r\n" }]
|
|
4566
|
+
}], () => [{ type: AppContextService }], { plan: [{
|
|
4358
4567
|
type: Input
|
|
4359
|
-
}],
|
|
4568
|
+
}], visiblePlanStatus: [{
|
|
4360
4569
|
type: Input
|
|
4361
|
-
}],
|
|
4570
|
+
}], visibleSignup: [{
|
|
4362
4571
|
type: Input
|
|
4572
|
+
}], planselect: [{
|
|
4573
|
+
type: Output
|
|
4363
4574
|
}] }); })();
|
|
4364
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(
|
|
4575
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(SubscribePlanButtonComponent, { className: "SubscribePlanButtonComponent", filePath: "lib/billing/components/buttons/subscribe-plan-button.component.ts", lineNumber: 28 }); })();
|
|
4365
4576
|
|
|
4366
4577
|
/*
|
|
4367
4578
|
<file>
|
|
@@ -4519,7 +4730,7 @@ class PromoCodesApiService extends ApiServiceBase {
|
|
|
4519
4730
|
</file>
|
|
4520
4731
|
*/
|
|
4521
4732
|
//Node
|
|
4522
|
-
const _c0$
|
|
4733
|
+
const _c0$g = ["*"];
|
|
4523
4734
|
const _c1$2 = a0 => ({ "show": a0 });
|
|
4524
4735
|
function OrderSummaryComponent_Conditional_17_Template(rf, ctx) { if (rf & 1) {
|
|
4525
4736
|
const _r1 = i0.ɵɵgetCurrentView();
|
|
@@ -4594,7 +4805,7 @@ class OrderSummaryComponent extends ComponentBase {
|
|
|
4594
4805
|
});
|
|
4595
4806
|
}
|
|
4596
4807
|
static { this.ɵfac = function OrderSummaryComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || OrderSummaryComponent)(i0.ɵɵdirectiveInject(PaymentsService), i0.ɵɵdirectiveInject(PromoCodesApiService), i0.ɵɵdirectiveInject(NotificationService)); }; }
|
|
4597
|
-
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: OrderSummaryComponent, selectors: [["anatoly-billing-order-summary"]], standalone: false, features: [i0.ɵɵInheritDefinitionFeature], ngContentSelectors: _c0$
|
|
4808
|
+
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: OrderSummaryComponent, selectors: [["anatoly-billing-order-summary"]], standalone: false, features: [i0.ɵɵInheritDefinitionFeature], ngContentSelectors: _c0$g, decls: 30, vars: 7, consts: [[1, "card"], [1, "card-header"], [1, "card-title"], [1, "card-body"], [1, "order-summary"], [1, "subtotal"], [1, "divider"], [1, "add-promo-code", 3, "click", "ngClass"], [1, "has-arrow"], [1, "add-promo-code", 3, "ngClass"], [1, "discounts"], [1, "total"], [1, "promo-code"], ["type", "text", "placeholder", "Promo code", 1, "input-text", 3, "ngModelChange", "ngModel"], [1, "btn", 3, "click"]], template: function OrderSummaryComponent_Template(rf, ctx) { if (rf & 1) {
|
|
4598
4809
|
i0.ɵɵprojectionDef();
|
|
4599
4810
|
i0.ɵɵelementStart(0, "div", 0)(1, "div", 1)(2, "div", 2)(3, "h2");
|
|
4600
4811
|
i0.ɵɵtext(4, "Order Summary");
|
|
@@ -4639,7 +4850,7 @@ class OrderSummaryComponent extends ComponentBase {
|
|
|
4639
4850
|
i0.ɵɵtextInterpolate(ctx.discount);
|
|
4640
4851
|
i0.ɵɵadvance(6);
|
|
4641
4852
|
i0.ɵɵtextInterpolate1("$", ctx.toTotal());
|
|
4642
|
-
} }, dependencies: [i1$
|
|
4853
|
+
} }, dependencies: [i1$2.NgClass, i2.DefaultValueAccessor, i2.NgControlStatus, i2.NgModel], encapsulation: 2 }); }
|
|
4643
4854
|
}
|
|
4644
4855
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(OrderSummaryComponent, [{
|
|
4645
4856
|
type: Component,
|
|
@@ -4647,43 +4858,6 @@ class OrderSummaryComponent extends ComponentBase {
|
|
|
4647
4858
|
}], () => [{ type: PaymentsService }, { type: PromoCodesApiService }, { type: NotificationService }], null); })();
|
|
4648
4859
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(OrderSummaryComponent, { className: "OrderSummaryComponent", filePath: "lib/billing/components/order-summary/order-summary.component.ts", lineNumber: 32 }); })();
|
|
4649
4860
|
|
|
4650
|
-
/*
|
|
4651
|
-
<file>
|
|
4652
|
-
Project:
|
|
4653
|
-
@osovitny/anatoly
|
|
4654
|
-
|
|
4655
|
-
Authors:
|
|
4656
|
-
Vadim Osovitny vadim.osovitny@osovitny.com
|
|
4657
|
-
|
|
4658
|
-
Created:
|
|
4659
|
-
19 May 2025
|
|
4660
|
-
|
|
4661
|
-
Copyright (c) 2016-2025 Osovitny Inc. All rights reserved.
|
|
4662
|
-
</file>
|
|
4663
|
-
*/
|
|
4664
|
-
//Node
|
|
4665
|
-
class ReplacerDirectiveBase {
|
|
4666
|
-
constructor(el, renderer) {
|
|
4667
|
-
this.el = el;
|
|
4668
|
-
this.renderer = renderer;
|
|
4669
|
-
}
|
|
4670
|
-
setUrlAttribute(name, url) {
|
|
4671
|
-
if (url) {
|
|
4672
|
-
let newUrl = formatUrl(url);
|
|
4673
|
-
this.setAttribute(name, newUrl);
|
|
4674
|
-
}
|
|
4675
|
-
}
|
|
4676
|
-
setAttribute(name, value) {
|
|
4677
|
-
this.renderer.setAttribute(this.el.nativeElement, name, value);
|
|
4678
|
-
}
|
|
4679
|
-
static { this.ɵfac = function ReplacerDirectiveBase_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || ReplacerDirectiveBase)(i0.ɵɵdirectiveInject(i0.ElementRef), i0.ɵɵdirectiveInject(i0.Renderer2)); }; }
|
|
4680
|
-
static { this.ɵdir = /*@__PURE__*/ i0.ɵɵdefineDirective({ type: ReplacerDirectiveBase }); }
|
|
4681
|
-
}
|
|
4682
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ReplacerDirectiveBase, [{
|
|
4683
|
-
type: Directive,
|
|
4684
|
-
args: [{}]
|
|
4685
|
-
}], () => [{ type: i0.ElementRef }, { type: i0.Renderer2 }], null); })();
|
|
4686
|
-
|
|
4687
4861
|
/*
|
|
4688
4862
|
<file>
|
|
4689
4863
|
Project:
|
|
@@ -4840,7 +5014,7 @@ class PaymentMethodsComponent extends ComponentBase {
|
|
|
4840
5014
|
</file>
|
|
4841
5015
|
*/
|
|
4842
5016
|
//Node
|
|
4843
|
-
const _c0$
|
|
5017
|
+
const _c0$f = a0 => ({ "active": a0 });
|
|
4844
5018
|
class PaymentOptionsComponent extends ComponentBase {
|
|
4845
5019
|
constructor(ps) {
|
|
4846
5020
|
super();
|
|
@@ -4889,16 +5063,16 @@ class PaymentOptionsComponent extends ComponentBase {
|
|
|
4889
5063
|
i0.ɵɵelementEnd()()();
|
|
4890
5064
|
} if (rf & 2) {
|
|
4891
5065
|
i0.ɵɵadvance(3);
|
|
4892
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(5, _c0$
|
|
5066
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(5, _c0$f, ctx.ps.selectedPaymentType == 2));
|
|
4893
5067
|
i0.ɵɵadvance(7);
|
|
4894
5068
|
i0.ɵɵtextInterpolate1("$", ctx.priceWeekly);
|
|
4895
5069
|
i0.ɵɵadvance();
|
|
4896
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(7, _c0$
|
|
5070
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(7, _c0$f, ctx.ps.selectedPaymentType == 1));
|
|
4897
5071
|
i0.ɵɵadvance(5);
|
|
4898
5072
|
i0.ɵɵtextInterpolate1("Covers the full ", ctx.numberOfWeeks, " weeks ");
|
|
4899
5073
|
i0.ɵɵadvance(2);
|
|
4900
5074
|
i0.ɵɵtextInterpolate1("$", ctx.priceUpfront);
|
|
4901
|
-
} }, dependencies: [i1$
|
|
5075
|
+
} }, dependencies: [i1$2.NgClass], encapsulation: 2 }); }
|
|
4902
5076
|
}
|
|
4903
5077
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(PaymentOptionsComponent, [{
|
|
4904
5078
|
type: Component,
|
|
@@ -5612,7 +5786,7 @@ class PayPalScriptService {
|
|
|
5612
5786
|
Copyright (c) 2016-2025 Osovitny Inc. All rights reserved.
|
|
5613
5787
|
</file>
|
|
5614
5788
|
*/
|
|
5615
|
-
const _c0$
|
|
5789
|
+
const _c0$e = ["payPalButtonContainer"];
|
|
5616
5790
|
class PayPalComponent {
|
|
5617
5791
|
set payPalButtonContainer(content) {
|
|
5618
5792
|
this.payPalButtonContainerElem = content;
|
|
@@ -5880,7 +6054,7 @@ class PayPalComponent {
|
|
|
5880
6054
|
}
|
|
5881
6055
|
static { this.ɵfac = function PayPalComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || PayPalComponent)(i0.ɵɵdirectiveInject(PayPalScriptService), i0.ɵɵdirectiveInject(i0.ChangeDetectorRef), i0.ɵɵdirectiveInject(i0.NgZone)); }; }
|
|
5882
6056
|
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PayPalComponent, selectors: [["anatoly-billing-paypal-container"]], viewQuery: function PayPalComponent_Query(rf, ctx) { if (rf & 1) {
|
|
5883
|
-
i0.ɵɵviewQuery(_c0$
|
|
6057
|
+
i0.ɵɵviewQuery(_c0$e, 5);
|
|
5884
6058
|
} if (rf & 2) {
|
|
5885
6059
|
let _t;
|
|
5886
6060
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.payPalButtonContainer = _t.first);
|
|
@@ -7059,12 +7233,12 @@ class ListBase extends ComponentBase {
|
|
|
7059
7233
|
</file>
|
|
7060
7234
|
*/
|
|
7061
7235
|
//Node
|
|
7062
|
-
const _c0$
|
|
7236
|
+
const _c0$d = [[["card-header"]], [["card-body"]], "*", [["card-footer"]]];
|
|
7063
7237
|
const _c1$1 = ["card-header", "card-body", "*", "card-footer"];
|
|
7064
7238
|
class CardComponent extends ComponentBase {
|
|
7065
7239
|
static { this.ɵfac = /*@__PURE__*/ (() => { let ɵCardComponent_BaseFactory; return function CardComponent_Factory(__ngFactoryType__) { return (ɵCardComponent_BaseFactory || (ɵCardComponent_BaseFactory = i0.ɵɵgetInheritedFactory(CardComponent)))(__ngFactoryType__ || CardComponent); }; })(); }
|
|
7066
7240
|
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: CardComponent, selectors: [["anatoly-card"]], standalone: false, features: [i0.ɵɵInheritDefinitionFeature], ngContentSelectors: _c1$1, decls: 5, vars: 3, template: function CardComponent_Template(rf, ctx) { if (rf & 1) {
|
|
7067
|
-
i0.ɵɵprojectionDef(_c0$
|
|
7241
|
+
i0.ɵɵprojectionDef(_c0$d);
|
|
7068
7242
|
i0.ɵɵelementStart(0, "div");
|
|
7069
7243
|
i0.ɵɵprojection(1);
|
|
7070
7244
|
i0.ɵɵprojection(2, 1);
|
|
@@ -7096,7 +7270,7 @@ class CardComponent extends ComponentBase {
|
|
|
7096
7270
|
</file>
|
|
7097
7271
|
*/
|
|
7098
7272
|
//Node
|
|
7099
|
-
const _c0$
|
|
7273
|
+
const _c0$c = ["*"];
|
|
7100
7274
|
function CardHeaderComponent_h3_2_Template(rf, ctx) { if (rf & 1) {
|
|
7101
7275
|
i0.ɵɵelementStart(0, "h3");
|
|
7102
7276
|
i0.ɵɵtext(1);
|
|
@@ -7108,7 +7282,7 @@ function CardHeaderComponent_h3_2_Template(rf, ctx) { if (rf & 1) {
|
|
|
7108
7282
|
} }
|
|
7109
7283
|
class CardHeaderComponent extends ComponentBase {
|
|
7110
7284
|
static { this.ɵfac = /*@__PURE__*/ (() => { let ɵCardHeaderComponent_BaseFactory; return function CardHeaderComponent_Factory(__ngFactoryType__) { return (ɵCardHeaderComponent_BaseFactory || (ɵCardHeaderComponent_BaseFactory = i0.ɵɵgetInheritedFactory(CardHeaderComponent)))(__ngFactoryType__ || CardHeaderComponent); }; })(); }
|
|
7111
|
-
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: CardHeaderComponent, selectors: [["anatoly-card-header"]], standalone: false, features: [i0.ɵɵInheritDefinitionFeature], ngContentSelectors: _c0$
|
|
7285
|
+
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: CardHeaderComponent, selectors: [["anatoly-card-header"]], standalone: false, features: [i0.ɵɵInheritDefinitionFeature], ngContentSelectors: _c0$c, decls: 4, vars: 4, consts: [[1, "card-title"], [4, "ngIf"]], template: function CardHeaderComponent_Template(rf, ctx) { if (rf & 1) {
|
|
7112
7286
|
i0.ɵɵprojectionDef();
|
|
7113
7287
|
i0.ɵɵelementStart(0, "div")(1, "div", 0);
|
|
7114
7288
|
i0.ɵɵtemplate(2, CardHeaderComponent_h3_2_Template, 2, 1, "h3", 1);
|
|
@@ -7119,7 +7293,7 @@ class CardHeaderComponent extends ComponentBase {
|
|
|
7119
7293
|
i0.ɵɵclassMap(i0.ɵɵinterpolate1("card-header ", ctx.classes));
|
|
7120
7294
|
i0.ɵɵadvance(2);
|
|
7121
7295
|
i0.ɵɵproperty("ngIf", ctx.title);
|
|
7122
|
-
} }, dependencies: [i1$
|
|
7296
|
+
} }, dependencies: [i1$2.NgIf], encapsulation: 2 }); }
|
|
7123
7297
|
}
|
|
7124
7298
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CardHeaderComponent, [{
|
|
7125
7299
|
type: Component,
|
|
@@ -7142,10 +7316,10 @@ class CardHeaderComponent extends ComponentBase {
|
|
|
7142
7316
|
</file>
|
|
7143
7317
|
*/
|
|
7144
7318
|
//Node
|
|
7145
|
-
const _c0$
|
|
7319
|
+
const _c0$b = ["*"];
|
|
7146
7320
|
class CardBodyComponent extends ComponentBase {
|
|
7147
7321
|
static { this.ɵfac = /*@__PURE__*/ (() => { let ɵCardBodyComponent_BaseFactory; return function CardBodyComponent_Factory(__ngFactoryType__) { return (ɵCardBodyComponent_BaseFactory || (ɵCardBodyComponent_BaseFactory = i0.ɵɵgetInheritedFactory(CardBodyComponent)))(__ngFactoryType__ || CardBodyComponent); }; })(); }
|
|
7148
|
-
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: CardBodyComponent, selectors: [["anatoly-card-body"]], standalone: false, features: [i0.ɵɵInheritDefinitionFeature], ngContentSelectors: _c0$
|
|
7322
|
+
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: CardBodyComponent, selectors: [["anatoly-card-body"]], standalone: false, features: [i0.ɵɵInheritDefinitionFeature], ngContentSelectors: _c0$b, decls: 2, vars: 3, template: function CardBodyComponent_Template(rf, ctx) { if (rf & 1) {
|
|
7149
7323
|
i0.ɵɵprojectionDef();
|
|
7150
7324
|
i0.ɵɵelementStart(0, "div");
|
|
7151
7325
|
i0.ɵɵprojection(1);
|
|
@@ -7175,10 +7349,10 @@ class CardBodyComponent extends ComponentBase {
|
|
|
7175
7349
|
</file>
|
|
7176
7350
|
*/
|
|
7177
7351
|
//Node
|
|
7178
|
-
const _c0$
|
|
7352
|
+
const _c0$a = ["*"];
|
|
7179
7353
|
class CardFooterComponent extends ComponentBase {
|
|
7180
7354
|
static { this.ɵfac = /*@__PURE__*/ (() => { let ɵCardFooterComponent_BaseFactory; return function CardFooterComponent_Factory(__ngFactoryType__) { return (ɵCardFooterComponent_BaseFactory || (ɵCardFooterComponent_BaseFactory = i0.ɵɵgetInheritedFactory(CardFooterComponent)))(__ngFactoryType__ || CardFooterComponent); }; })(); }
|
|
7181
|
-
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: CardFooterComponent, selectors: [["anatoly-card-footer"]], standalone: false, features: [i0.ɵɵInheritDefinitionFeature], ngContentSelectors: _c0$
|
|
7355
|
+
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: CardFooterComponent, selectors: [["anatoly-card-footer"]], standalone: false, features: [i0.ɵɵInheritDefinitionFeature], ngContentSelectors: _c0$a, decls: 2, vars: 3, template: function CardFooterComponent_Template(rf, ctx) { if (rf & 1) {
|
|
7182
7356
|
i0.ɵɵprojectionDef();
|
|
7183
7357
|
i0.ɵɵelementStart(0, "div");
|
|
7184
7358
|
i0.ɵɵprojection(1);
|
|
@@ -7305,7 +7479,7 @@ class CountryDropdownlist extends EditComponentBase {
|
|
|
7305
7479
|
i0.ɵɵproperty("ngIf", ctx.isNgModelBased);
|
|
7306
7480
|
i0.ɵɵadvance();
|
|
7307
7481
|
i0.ɵɵproperty("ngIf", !ctx.isNgModelBased);
|
|
7308
|
-
} }, dependencies: [i1$
|
|
7482
|
+
} }, dependencies: [i1$2.NgForOf, i1$2.NgIf, i2.NgSelectOption, i2.ɵNgSelectMultipleOption, i2.SelectControlValueAccessor, i2.NgControlStatus, i2.NgControlStatusGroup, i2.FormGroupDirective, i2.FormControlName, i4$2.LabelComponent, NativeElementDirective], encapsulation: 2 }); }
|
|
7309
7483
|
}
|
|
7310
7484
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CountryDropdownlist, [{
|
|
7311
7485
|
type: Component,
|
|
@@ -7370,7 +7544,7 @@ class LanguageDropdownlist extends EditComponentBase {
|
|
|
7370
7544
|
i0.ɵɵproperty("ngIf", ctx.isNgModelBased);
|
|
7371
7545
|
i0.ɵɵadvance();
|
|
7372
7546
|
i0.ɵɵproperty("ngIf", !ctx.isNgModelBased);
|
|
7373
|
-
} }, dependencies: [i1$
|
|
7547
|
+
} }, dependencies: [i1$2.NgIf, i2.NgControlStatus, i2.NgControlStatusGroup, i2.FormGroupDirective, i2.FormControlName, i3.DropDownListComponent, i4$2.LabelComponent, NativeElementDirective], encapsulation: 2 }); }
|
|
7374
7548
|
}
|
|
7375
7549
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(LanguageDropdownlist, [{
|
|
7376
7550
|
type: Component,
|
|
@@ -7539,7 +7713,7 @@ class ItemValidationSummaryComponent extends ValidationSummaryComponent {
|
|
|
7539
7713
|
i0.ɵɵtemplate(0, ItemValidationSummaryComponent_ul_0_Template, 2, 1, "ul", 0);
|
|
7540
7714
|
} if (rf & 2) {
|
|
7541
7715
|
i0.ɵɵproperty("ngIf", ctx.isControlInvalid(ctx.controlName));
|
|
7542
|
-
} }, dependencies: [i1$
|
|
7716
|
+
} }, dependencies: [i1$2.NgForOf, i1$2.NgIf], encapsulation: 2 }); }
|
|
7543
7717
|
}
|
|
7544
7718
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ItemValidationSummaryComponent, [{
|
|
7545
7719
|
type: Component,
|
|
@@ -7618,7 +7792,7 @@ class ModerationStatusDropdownlist extends EnumEditComponentBase {
|
|
|
7618
7792
|
i0.ɵɵproperty("ngIf", ctx.isNgModelBased);
|
|
7619
7793
|
i0.ɵɵadvance();
|
|
7620
7794
|
i0.ɵɵproperty("ngIf", !ctx.isNgModelBased);
|
|
7621
|
-
} }, dependencies: [i1$
|
|
7795
|
+
} }, dependencies: [i1$2.NgIf, i2.NgControlStatus, i2.NgControlStatusGroup, i2.FormGroupDirective, i2.FormControlName, i2.NgModel, i3.DropDownListComponent, i4$2.LabelComponent, NativeElementDirective, ItemValidationSummaryComponent], encapsulation: 2 }); }
|
|
7622
7796
|
}
|
|
7623
7797
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ModerationStatusDropdownlist, [{
|
|
7624
7798
|
type: Component,
|
|
@@ -7697,7 +7871,7 @@ class PublishStatusDropdownlist extends EnumEditComponentBase {
|
|
|
7697
7871
|
i0.ɵɵproperty("ngIf", ctx.isNgModelBased);
|
|
7698
7872
|
i0.ɵɵadvance();
|
|
7699
7873
|
i0.ɵɵproperty("ngIf", !ctx.isNgModelBased);
|
|
7700
|
-
} }, dependencies: [i1$
|
|
7874
|
+
} }, dependencies: [i1$2.NgIf, i2.NgControlStatus, i2.NgControlStatusGroup, i2.FormGroupDirective, i2.FormControlName, i2.NgModel, i3.DropDownListComponent, i4$2.LabelComponent, NativeElementDirective, ItemValidationSummaryComponent], encapsulation: 2 }); }
|
|
7701
7875
|
}
|
|
7702
7876
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(PublishStatusDropdownlist, [{
|
|
7703
7877
|
type: Component,
|
|
@@ -7800,7 +7974,7 @@ class TimezoneDropdownlist extends EditComponentBase {
|
|
|
7800
7974
|
i0.ɵɵproperty("ngIf", ctx.isNgModelBased);
|
|
7801
7975
|
i0.ɵɵadvance();
|
|
7802
7976
|
i0.ɵɵproperty("ngIf", !ctx.isNgModelBased);
|
|
7803
|
-
} }, dependencies: [i1$
|
|
7977
|
+
} }, dependencies: [i1$2.NgForOf, i1$2.NgIf, i2.NgSelectOption, i2.ɵNgSelectMultipleOption, i2.SelectControlValueAccessor, i2.NgControlStatus, i2.NgControlStatusGroup, i2.FormGroupDirective, i2.FormControlName, NativeElementDirective], encapsulation: 2 }); }
|
|
7804
7978
|
}
|
|
7805
7979
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(TimezoneDropdownlist, [{
|
|
7806
7980
|
type: Component,
|
|
@@ -8074,7 +8248,7 @@ class HtmlEditorComponent extends HtmlEditorComponentBase {
|
|
|
8074
8248
|
i0.ɵɵproperty("ngIf", ctx.isNgModelBased);
|
|
8075
8249
|
i0.ɵɵadvance();
|
|
8076
8250
|
i0.ɵɵproperty("ngIf", !ctx.isNgModelBased);
|
|
8077
|
-
} }, dependencies: [i1$
|
|
8251
|
+
} }, dependencies: [i1$2.NgIf, i2.DefaultValueAccessor, i2.NgControlStatus, i2.NgControlStatusGroup, i2.FormGroupDirective, i2.FormControlName, i3$1.FroalaEditorDirective, i4$2.LabelComponent, NativeElementDirective, ItemValidationSummaryComponent], encapsulation: 2 }); }
|
|
8078
8252
|
}
|
|
8079
8253
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(HtmlEditorComponent, [{
|
|
8080
8254
|
type: Component,
|
|
@@ -8098,20 +8272,20 @@ class HtmlEditorComponent extends HtmlEditorComponentBase {
|
|
|
8098
8272
|
</file>
|
|
8099
8273
|
*/
|
|
8100
8274
|
//Node
|
|
8101
|
-
const _c0$
|
|
8275
|
+
const _c0$9 = ["*"];
|
|
8102
8276
|
class CheckIconComponent {
|
|
8103
8277
|
constructor() {
|
|
8104
8278
|
//Inputs
|
|
8105
8279
|
this.checked = true;
|
|
8106
8280
|
}
|
|
8107
8281
|
static { this.ɵfac = function CheckIconComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || CheckIconComponent)(); }; }
|
|
8108
|
-
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: CheckIconComponent, selectors: [["anatoly-check-icon"]], inputs: { checked: "checked" }, standalone: false, ngContentSelectors: _c0$
|
|
8282
|
+
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: CheckIconComponent, selectors: [["anatoly-check-icon"]], inputs: { checked: "checked" }, standalone: false, ngContentSelectors: _c0$9, decls: 2, vars: 2, consts: [[3, "icon", "ngClass"]], template: function CheckIconComponent_Template(rf, ctx) { if (rf & 1) {
|
|
8109
8283
|
i0.ɵɵprojectionDef();
|
|
8110
8284
|
i0.ɵɵelement(0, "fa-icon", 0);
|
|
8111
8285
|
i0.ɵɵprojection(1);
|
|
8112
8286
|
} if (rf & 2) {
|
|
8113
8287
|
i0.ɵɵproperty("icon", ctx.checked ? "check-circle" : "circle-xmark")("ngClass", ctx.checked ? "text-success" : "text-danger");
|
|
8114
|
-
} }, dependencies: [i1$
|
|
8288
|
+
} }, dependencies: [i1$2.NgClass, i1$7.FaIconComponent], encapsulation: 2 }); }
|
|
8115
8289
|
}
|
|
8116
8290
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CheckIconComponent, [{
|
|
8117
8291
|
type: Component,
|
|
@@ -8121,54 +8295,6 @@ class CheckIconComponent {
|
|
|
8121
8295
|
}] }); })();
|
|
8122
8296
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(CheckIconComponent, { className: "CheckIconComponent", filePath: "lib/ui/components/check-icon/check-icon.component.ts", lineNumber: 25 }); })();
|
|
8123
8297
|
|
|
8124
|
-
/*
|
|
8125
|
-
<file>
|
|
8126
|
-
Project:
|
|
8127
|
-
@osovitny/anatoly
|
|
8128
|
-
|
|
8129
|
-
Authors:
|
|
8130
|
-
Vadim Osovitny vadim.osovitny@osovitny.com
|
|
8131
|
-
|
|
8132
|
-
Created:
|
|
8133
|
-
19 May 2025
|
|
8134
|
-
|
|
8135
|
-
Copyright (c) 2016-2025 Osovitny Inc. All rights reserved.
|
|
8136
|
-
</file>
|
|
8137
|
-
*/
|
|
8138
|
-
//Node
|
|
8139
|
-
class AReplacerDirective extends ReplacerDirectiveBase {
|
|
8140
|
-
ngOnInit() {
|
|
8141
|
-
this.setHref(this.href);
|
|
8142
|
-
}
|
|
8143
|
-
ngOnChanges(changes) {
|
|
8144
|
-
if (changes['href']) {
|
|
8145
|
-
this.setHref(changes['href'].currentValue);
|
|
8146
|
-
}
|
|
8147
|
-
}
|
|
8148
|
-
setHref(value) {
|
|
8149
|
-
if (value) {
|
|
8150
|
-
if (value.indexOf("assets") > -1) {
|
|
8151
|
-
this.setUrlAttribute('href', value);
|
|
8152
|
-
}
|
|
8153
|
-
else {
|
|
8154
|
-
this.setAttribute('href', value);
|
|
8155
|
-
}
|
|
8156
|
-
}
|
|
8157
|
-
}
|
|
8158
|
-
static { this.ɵfac = /*@__PURE__*/ (() => { let ɵAReplacerDirective_BaseFactory; return function AReplacerDirective_Factory(__ngFactoryType__) { return (ɵAReplacerDirective_BaseFactory || (ɵAReplacerDirective_BaseFactory = i0.ɵɵgetInheritedFactory(AReplacerDirective)))(__ngFactoryType__ || AReplacerDirective); }; })(); }
|
|
8159
|
-
static { this.ɵdir = /*@__PURE__*/ i0.ɵɵdefineDirective({ type: AReplacerDirective, selectors: [["a"]], inputs: { href: "href" }, standalone: false, features: [i0.ɵɵInheritDefinitionFeature, i0.ɵɵNgOnChangesFeature] }); }
|
|
8160
|
-
}
|
|
8161
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(AReplacerDirective, [{
|
|
8162
|
-
type: Directive,
|
|
8163
|
-
args: [{
|
|
8164
|
-
selector: 'a',
|
|
8165
|
-
standalone: false
|
|
8166
|
-
}]
|
|
8167
|
-
}], null, { href: [{
|
|
8168
|
-
type: Input,
|
|
8169
|
-
args: ['href']
|
|
8170
|
-
}] }); })();
|
|
8171
|
-
|
|
8172
8298
|
/*
|
|
8173
8299
|
<file>
|
|
8174
8300
|
Project:
|
|
@@ -8184,7 +8310,7 @@ class AReplacerDirective extends ReplacerDirectiveBase {
|
|
|
8184
8310
|
</file>
|
|
8185
8311
|
*/
|
|
8186
8312
|
//Node
|
|
8187
|
-
const _c0$
|
|
8313
|
+
const _c0$8 = ["*"];
|
|
8188
8314
|
const _c1 = a0 => ({ "active": a0 });
|
|
8189
8315
|
function ControlPanelComponent_Conditional_2_Template(rf, ctx) { if (rf & 1) {
|
|
8190
8316
|
const _r1 = i0.ɵɵgetCurrentView();
|
|
@@ -8319,7 +8445,7 @@ class ControlPanelComponent extends ComponentBase {
|
|
|
8319
8445
|
this.fireAdd();
|
|
8320
8446
|
}
|
|
8321
8447
|
static { this.ɵfac = /*@__PURE__*/ (() => { let ɵControlPanelComponent_BaseFactory; return function ControlPanelComponent_Factory(__ngFactoryType__) { return (ɵControlPanelComponent_BaseFactory || (ɵControlPanelComponent_BaseFactory = i0.ɵɵgetInheritedFactory(ControlPanelComponent)))(__ngFactoryType__ || ControlPanelComponent); }; })(); }
|
|
8322
|
-
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: ControlPanelComponent, selectors: [["anatoly-data-grid-control-panel"]], inputs: { sortByItems: "sortByItems", viewType: "viewType", filterButtonVisible: "filterButtonVisible", sortByVisible: "sortByVisible", viewTypesVisible: "viewTypesVisible", addButtonVisible: "addButtonVisible" }, outputs: { settingsChange: "settingsChange", add: "add" }, standalone: false, features: [i0.ɵɵInheritDefinitionFeature], ngContentSelectors: _c0$
|
|
8448
|
+
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: ControlPanelComponent, selectors: [["anatoly-data-grid-control-panel"]], inputs: { sortByItems: "sortByItems", viewType: "viewType", filterButtonVisible: "filterButtonVisible", sortByVisible: "sortByVisible", viewTypesVisible: "viewTypesVisible", addButtonVisible: "addButtonVisible" }, outputs: { settingsChange: "settingsChange", add: "add" }, standalone: false, features: [i0.ɵɵInheritDefinitionFeature], ngContentSelectors: _c0$8, decls: 9, vars: 4, consts: [[1, "os-control-panel"], [1, "control-wrapper"], [1, "filter"], [1, "tools"], [1, "sort-by"], [1, "actions"], [1, "action-add"], ["href", "javascript:void(0)", 1, "btn", "btn-icon", "btn-primary", 3, "click", "ngClass"], ["height", "22", "viewBox", "0 0 32 32", "width", "20", "xmlns", "http://www.w3.org/2000/svg"], ["d", "M2 7h.142a3.981 3.981 0 0 0 7.716 0H30a1 1 0 0 0 0-2H9.858a3.981 3.981 0 0 0-7.716 0H2a1 1 0 0 0 0 2zm4-3a2 2 0 1 1-2 2 2 2 0 0 1 2-2zm24 11h-.142a3.981 3.981 0 0 0-7.716 0H2a1 1 0 0 0 0 2h20.142a3.981 3.981 0 0 0 7.716 0H30a1 1 0 0 0 0-2zm-4 3a2 2 0 1 1 2-2 2 2 0 0 1-2 2zm4 7H19.858a3.981 3.981 0 0 0-7.716 0H2a1 1 0 0 0 0 2h10.142a3.981 3.981 0 0 0 7.716 0H30a1 1 0 0 0 0-2zm-14 3a2 2 0 1 1 2-2 2 2 0 0 1-2 2z", "fill", "currentColor"], ["valueField", "value", "textField", "text", 3, "ngModelChange", "valueChange", "data", "valuePrimitive", "ngModel"], ["fill", "none", "height", "18", "viewBox", "0 0 18 18", "width", "18", "xmlns", "http://www.w3.org/2000/svg"], ["d", "M6 1H2C1.44772 1 1 1.44772 1 2V6C1 6.55228 1.44772 7 2 7H6C6.55228 7 7 6.55228 7 6V2C7 1.44772 6.55228 1 6 1Z", "stroke", "currentColor", "stroke-linecap", "round", "stroke-linejoin", "round", "stroke-width", "2"], ["d", "M16 1H12C11.4477 1 11 1.44772 11 2V6C11 6.55228 11.4477 7 12 7H16C16.5523 7 17 6.55228 17 6V2C17 1.44772 16.5523 1 16 1Z", "stroke", "currentColor", "stroke-linecap", "round", "stroke-linejoin", "round", "stroke-width", "2"], ["d", "M6 11H2C1.44772 11 1 11.4477 1 12V16C1 16.5523 1.44772 17 2 17H6C6.55228 17 7 16.5523 7 16V12C7 11.4477 6.55228 11 6 11Z", "stroke", "currentColor", "stroke-linecap", "round", "stroke-linejoin", "round", "stroke-width", "2"], ["d", "M16 11H12C11.4477 11 11 11.4477 11 12V16C11 16.5523 11.4477 17 12 17H16C16.5523 17 17 16.5523 17 16V12C17 11.4477 16.5523 11 16 11Z", "stroke", "currentColor", "stroke-linecap", "round", "stroke-linejoin", "round", "stroke-width", "2"], ["fill", "none", "height", "15", "viewBox", "0 0 19 15", "width", "19", "xmlns", "http://www.w3.org/2000/svg"], ["d", "M1.5 6C0.67 6 0 6.67 0 7.5C0 8.33 0.67 9 1.5 9C2.33 9 3 8.33 3 7.5C3 6.67 2.33 6 1.5 6ZM1.5 0C0.67 0 0 0.67 0 1.5C0 2.33 0.67 3 1.5 3C2.33 3 3 2.33 3 1.5C3 0.67 2.33 0 1.5 0ZM1.5 12C0.67 12 0 12.68 0 13.5C0 14.32 0.68 15 1.5 15C2.32 15 3 14.32 3 13.5C3 12.68 2.33 12 1.5 12ZM5.5 14.5H17.5C18.05 14.5 18.5 14.05 18.5 13.5C18.5 12.95 18.05 12.5 17.5 12.5H5.5C4.95 12.5 4.5 12.95 4.5 13.5C4.5 14.05 4.95 14.5 5.5 14.5ZM5.5 8.5H17.5C18.05 8.5 18.5 8.05 18.5 7.5C18.5 6.95 18.05 6.5 17.5 6.5H5.5C4.95 6.5 4.5 6.95 4.5 7.5C4.5 8.05 4.95 8.5 5.5 8.5ZM4.5 1.5C4.5 2.05 4.95 2.5 5.5 2.5H17.5C18.05 2.5 18.5 2.05 18.5 1.5C18.5 0.95 18.05 0.5 17.5 0.5H5.5C4.95 0.5 4.5 0.95 4.5 1.5Z", "fill", "currentColor"], ["xmlns", "http://www.w3.org/2000/svg", "viewBox", "0 0 512 512", "height", "20", "width", "20", "fill", "none"], ["d", "M64 256l0-96 160 0 0 96L64 256zm0 64l160 0 0 96L64 416l0-96zm224 96l0-96 160 0 0 96-160 0zM448 256l-160 0 0-96 160 0 0 96zM64 32C28.7 32 0 60.7 0 96L0 416c0 35.3 28.7 64 64 64l384 0c35.3 0 64-28.7 64-64l0-320c0-35.3-28.7-64-64-64L64 32z", "fill", "currentColor"], ["href", "javascript:void(0)", 1, "btn", "btn-icon", "btn-primary", 3, "click"], ["icon", "plus"]], template: function ControlPanelComponent_Template(rf, ctx) { if (rf & 1) {
|
|
8323
8449
|
i0.ɵɵprojectionDef();
|
|
8324
8450
|
i0.ɵɵelementStart(0, "div", 0)(1, "div", 1);
|
|
8325
8451
|
i0.ɵɵconditionalCreate(2, ControlPanelComponent_Conditional_2_Template, 4, 3, "div", 2);
|
|
@@ -8340,7 +8466,7 @@ class ControlPanelComponent extends ComponentBase {
|
|
|
8340
8466
|
i0.ɵɵconditional(ctx.viewTypesVisible ? 7 : -1);
|
|
8341
8467
|
i0.ɵɵadvance();
|
|
8342
8468
|
i0.ɵɵconditional(ctx.addButtonVisible ? 8 : -1);
|
|
8343
|
-
} }, dependencies: [i1$
|
|
8469
|
+
} }, dependencies: [i1$2.NgClass, i2.NgControlStatus, i2.NgModel, i1$7.FaIconComponent, i3.DropDownListComponent, AReplacerDirective], encapsulation: 2 }); }
|
|
8344
8470
|
}
|
|
8345
8471
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ControlPanelComponent, [{
|
|
8346
8472
|
type: Component,
|
|
@@ -8470,7 +8596,7 @@ class DataPagerComponent extends ComponentBase {
|
|
|
8470
8596
|
</file>
|
|
8471
8597
|
*/
|
|
8472
8598
|
//Node
|
|
8473
|
-
const _c0$
|
|
8599
|
+
const _c0$7 = ["*"];
|
|
8474
8600
|
function SignInButtonComponent_a_0_ng_container_1_Template(rf, ctx) { if (rf & 1) {
|
|
8475
8601
|
i0.ɵɵelementContainer(0);
|
|
8476
8602
|
} }
|
|
@@ -8534,14 +8660,14 @@ class SignInButtonComponent extends ComponentBase {
|
|
|
8534
8660
|
}
|
|
8535
8661
|
}
|
|
8536
8662
|
static { this.ɵfac = /*@__PURE__*/ (() => { let ɵSignInButtonComponent_BaseFactory; return function SignInButtonComponent_Factory(__ngFactoryType__) { return (ɵSignInButtonComponent_BaseFactory || (ɵSignInButtonComponent_BaseFactory = i0.ɵɵgetInheritedFactory(SignInButtonComponent)))(__ngFactoryType__ || SignInButtonComponent); }; })(); }
|
|
8537
|
-
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: SignInButtonComponent, selectors: [["anatoly-signin-button"]], inputs: { qs: "qs" }, standalone: false, features: [i0.ɵɵInheritDefinitionFeature], ngContentSelectors: _c0$
|
|
8663
|
+
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: SignInButtonComponent, selectors: [["anatoly-signin-button"]], inputs: { qs: "qs" }, standalone: false, features: [i0.ɵɵInheritDefinitionFeature], ngContentSelectors: _c0$7, decls: 4, vars: 2, consts: [["contentTemplate", ""], ["ref", ""], [3, "href", "class", 4, "ngIf"], [3, "routerLink", "class", 4, "ngIf"], [3, "href"], [4, "ngTemplateOutlet"], [3, "routerLink"], [4, "ngIf"]], template: function SignInButtonComponent_Template(rf, ctx) { if (rf & 1) {
|
|
8538
8664
|
i0.ɵɵprojectionDef();
|
|
8539
8665
|
i0.ɵɵtemplate(0, SignInButtonComponent_a_0_Template, 2, 4, "a", 2)(1, SignInButtonComponent_a_1_Template, 2, 4, "a", 3)(2, SignInButtonComponent_ng_template_2_Template, 4, 1, "ng-template", null, 0, i0.ɵɵtemplateRefExtractor);
|
|
8540
8666
|
} if (rf & 2) {
|
|
8541
8667
|
i0.ɵɵproperty("ngIf", ctx.external);
|
|
8542
8668
|
i0.ɵɵadvance();
|
|
8543
8669
|
i0.ɵɵproperty("ngIf", !ctx.external);
|
|
8544
|
-
} }, dependencies: [i1$
|
|
8670
|
+
} }, dependencies: [i1$2.NgIf, i1$2.NgTemplateOutlet, i1$1.RouterLink, AReplacerDirective], encapsulation: 2 }); }
|
|
8545
8671
|
}
|
|
8546
8672
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SignInButtonComponent, [{
|
|
8547
8673
|
type: Component,
|
|
@@ -8567,7 +8693,7 @@ class SignInButtonComponent extends ComponentBase {
|
|
|
8567
8693
|
</file>
|
|
8568
8694
|
*/
|
|
8569
8695
|
//Node
|
|
8570
|
-
const _c0$
|
|
8696
|
+
const _c0$6 = ["*"];
|
|
8571
8697
|
function SignOutButtonComponent_a_0_ng_container_1_Template(rf, ctx) { if (rf & 1) {
|
|
8572
8698
|
i0.ɵɵelementContainer(0);
|
|
8573
8699
|
} }
|
|
@@ -8631,14 +8757,14 @@ class SignOutButtonComponent extends ComponentBase {
|
|
|
8631
8757
|
}
|
|
8632
8758
|
}
|
|
8633
8759
|
static { this.ɵfac = /*@__PURE__*/ (() => { let ɵSignOutButtonComponent_BaseFactory; return function SignOutButtonComponent_Factory(__ngFactoryType__) { return (ɵSignOutButtonComponent_BaseFactory || (ɵSignOutButtonComponent_BaseFactory = i0.ɵɵgetInheritedFactory(SignOutButtonComponent)))(__ngFactoryType__ || SignOutButtonComponent); }; })(); }
|
|
8634
|
-
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: SignOutButtonComponent, selectors: [["anatoly-signout-button"]], inputs: { qs: "qs" }, standalone: false, features: [i0.ɵɵInheritDefinitionFeature], ngContentSelectors: _c0$
|
|
8760
|
+
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: SignOutButtonComponent, selectors: [["anatoly-signout-button"]], inputs: { qs: "qs" }, standalone: false, features: [i0.ɵɵInheritDefinitionFeature], ngContentSelectors: _c0$6, decls: 4, vars: 2, consts: [["contentTemplate", ""], ["ref", ""], [3, "href", "class", 4, "ngIf"], [3, "routerLink", "class", 4, "ngIf"], [3, "href"], [4, "ngTemplateOutlet"], [3, "routerLink"], [4, "ngIf"]], template: function SignOutButtonComponent_Template(rf, ctx) { if (rf & 1) {
|
|
8635
8761
|
i0.ɵɵprojectionDef();
|
|
8636
8762
|
i0.ɵɵtemplate(0, SignOutButtonComponent_a_0_Template, 2, 4, "a", 2)(1, SignOutButtonComponent_a_1_Template, 2, 4, "a", 3)(2, SignOutButtonComponent_ng_template_2_Template, 4, 1, "ng-template", null, 0, i0.ɵɵtemplateRefExtractor);
|
|
8637
8763
|
} if (rf & 2) {
|
|
8638
8764
|
i0.ɵɵproperty("ngIf", ctx.external);
|
|
8639
8765
|
i0.ɵɵadvance();
|
|
8640
8766
|
i0.ɵɵproperty("ngIf", !ctx.external);
|
|
8641
|
-
} }, dependencies: [i1$
|
|
8767
|
+
} }, dependencies: [i1$2.NgIf, i1$2.NgTemplateOutlet, i1$1.RouterLink, AReplacerDirective], encapsulation: 2 }); }
|
|
8642
8768
|
}
|
|
8643
8769
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SignOutButtonComponent, [{
|
|
8644
8770
|
type: Component,
|
|
@@ -8648,103 +8774,6 @@ class SignOutButtonComponent extends ComponentBase {
|
|
|
8648
8774
|
}] }); })();
|
|
8649
8775
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(SignOutButtonComponent, { className: "SignOutButtonComponent", filePath: "lib/ui/components/identity/signout-button.component.ts", lineNumber: 29 }); })();
|
|
8650
8776
|
|
|
8651
|
-
/*
|
|
8652
|
-
<file>
|
|
8653
|
-
Project:
|
|
8654
|
-
@osovitny/anatoly
|
|
8655
|
-
|
|
8656
|
-
Authors:
|
|
8657
|
-
Vadim Osovitny vadim.osovitny@osovitny.com
|
|
8658
|
-
Anatoly Osovitny anatoly.osovitny@osovitny.com
|
|
8659
|
-
|
|
8660
|
-
Created:
|
|
8661
|
-
4 Jul 2018
|
|
8662
|
-
|
|
8663
|
-
Copyright (c) 2016-2025 Osovitny Inc. All rights reserved.
|
|
8664
|
-
</file>
|
|
8665
|
-
*/
|
|
8666
|
-
//Node
|
|
8667
|
-
const _c0$6 = ["*"];
|
|
8668
|
-
function SignUpButtonComponent_a_0_ng_container_1_Template(rf, ctx) { if (rf & 1) {
|
|
8669
|
-
i0.ɵɵelementContainer(0);
|
|
8670
|
-
} }
|
|
8671
|
-
function SignUpButtonComponent_a_0_Template(rf, ctx) { if (rf & 1) {
|
|
8672
|
-
i0.ɵɵelementStart(0, "a", 4);
|
|
8673
|
-
i0.ɵɵtemplate(1, SignUpButtonComponent_a_0_ng_container_1_Template, 1, 0, "ng-container", 5);
|
|
8674
|
-
i0.ɵɵelementEnd();
|
|
8675
|
-
} if (rf & 2) {
|
|
8676
|
-
const ctx_r0 = i0.ɵɵnextContext();
|
|
8677
|
-
const contentTemplate_r2 = i0.ɵɵreference(3);
|
|
8678
|
-
i0.ɵɵclassMap(ctx_r0.classes);
|
|
8679
|
-
i0.ɵɵproperty("href", ctx_r0.url, i0.ɵɵsanitizeUrl);
|
|
8680
|
-
i0.ɵɵadvance();
|
|
8681
|
-
i0.ɵɵproperty("ngTemplateOutlet", contentTemplate_r2);
|
|
8682
|
-
} }
|
|
8683
|
-
function SignUpButtonComponent_a_1_ng_container_1_Template(rf, ctx) { if (rf & 1) {
|
|
8684
|
-
i0.ɵɵelementContainer(0);
|
|
8685
|
-
} }
|
|
8686
|
-
function SignUpButtonComponent_a_1_Template(rf, ctx) { if (rf & 1) {
|
|
8687
|
-
i0.ɵɵelementStart(0, "a", 6);
|
|
8688
|
-
i0.ɵɵtemplate(1, SignUpButtonComponent_a_1_ng_container_1_Template, 1, 0, "ng-container", 5);
|
|
8689
|
-
i0.ɵɵelementEnd();
|
|
8690
|
-
} if (rf & 2) {
|
|
8691
|
-
const ctx_r0 = i0.ɵɵnextContext();
|
|
8692
|
-
const contentTemplate_r2 = i0.ɵɵreference(3);
|
|
8693
|
-
i0.ɵɵclassMap(ctx_r0.classes);
|
|
8694
|
-
i0.ɵɵproperty("routerLink", ctx_r0.url);
|
|
8695
|
-
i0.ɵɵadvance();
|
|
8696
|
-
i0.ɵɵproperty("ngTemplateOutlet", contentTemplate_r2);
|
|
8697
|
-
} }
|
|
8698
|
-
function SignUpButtonComponent_ng_template_2_span_3_Template(rf, ctx) { if (rf & 1) {
|
|
8699
|
-
i0.ɵɵelementStart(0, "span");
|
|
8700
|
-
i0.ɵɵtext(1, "Sign Up");
|
|
8701
|
-
i0.ɵɵelementEnd();
|
|
8702
|
-
} }
|
|
8703
|
-
function SignUpButtonComponent_ng_template_2_Template(rf, ctx) { if (rf & 1) {
|
|
8704
|
-
i0.ɵɵelementStart(0, "span", null, 1);
|
|
8705
|
-
i0.ɵɵprojection(2);
|
|
8706
|
-
i0.ɵɵelementEnd();
|
|
8707
|
-
i0.ɵɵtemplate(3, SignUpButtonComponent_ng_template_2_span_3_Template, 2, 0, "span", 7);
|
|
8708
|
-
} if (rf & 2) {
|
|
8709
|
-
const ref_r3 = i0.ɵɵreference(1);
|
|
8710
|
-
i0.ɵɵadvance(3);
|
|
8711
|
-
i0.ɵɵproperty("ngIf", !ref_r3.innerHTML.trim());
|
|
8712
|
-
} }
|
|
8713
|
-
class SignUpButtonComponent extends ComponentBase {
|
|
8714
|
-
constructor() {
|
|
8715
|
-
super(...arguments);
|
|
8716
|
-
this.external = false;
|
|
8717
|
-
}
|
|
8718
|
-
ngOnInit() {
|
|
8719
|
-
let url = MSALConfig.ui.signup;
|
|
8720
|
-
if (url) {
|
|
8721
|
-
this.external = url.indexOf('http') > -1;
|
|
8722
|
-
if (this.external) {
|
|
8723
|
-
this.url = url + (this.qs ? '?' + this.qs : '');
|
|
8724
|
-
}
|
|
8725
|
-
else {
|
|
8726
|
-
this.url = url;
|
|
8727
|
-
}
|
|
8728
|
-
}
|
|
8729
|
-
}
|
|
8730
|
-
static { this.ɵfac = /*@__PURE__*/ (() => { let ɵSignUpButtonComponent_BaseFactory; return function SignUpButtonComponent_Factory(__ngFactoryType__) { return (ɵSignUpButtonComponent_BaseFactory || (ɵSignUpButtonComponent_BaseFactory = i0.ɵɵgetInheritedFactory(SignUpButtonComponent)))(__ngFactoryType__ || SignUpButtonComponent); }; })(); }
|
|
8731
|
-
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: SignUpButtonComponent, selectors: [["anatoly-signup-button"]], inputs: { qs: "qs" }, standalone: false, features: [i0.ɵɵInheritDefinitionFeature], ngContentSelectors: _c0$6, decls: 4, vars: 2, consts: [["contentTemplate", ""], ["ref", ""], [3, "href", "class", 4, "ngIf"], [3, "routerLink", "class", 4, "ngIf"], [3, "href"], [4, "ngTemplateOutlet"], [3, "routerLink"], [4, "ngIf"]], template: function SignUpButtonComponent_Template(rf, ctx) { if (rf & 1) {
|
|
8732
|
-
i0.ɵɵprojectionDef();
|
|
8733
|
-
i0.ɵɵtemplate(0, SignUpButtonComponent_a_0_Template, 2, 4, "a", 2)(1, SignUpButtonComponent_a_1_Template, 2, 4, "a", 3)(2, SignUpButtonComponent_ng_template_2_Template, 4, 1, "ng-template", null, 0, i0.ɵɵtemplateRefExtractor);
|
|
8734
|
-
} if (rf & 2) {
|
|
8735
|
-
i0.ɵɵproperty("ngIf", ctx.external);
|
|
8736
|
-
i0.ɵɵadvance();
|
|
8737
|
-
i0.ɵɵproperty("ngIf", !ctx.external);
|
|
8738
|
-
} }, dependencies: [i1$1.NgIf, i1$1.NgTemplateOutlet, i1$2.RouterLink, AReplacerDirective], encapsulation: 2 }); }
|
|
8739
|
-
}
|
|
8740
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SignUpButtonComponent, [{
|
|
8741
|
-
type: Component,
|
|
8742
|
-
args: [{ selector: "anatoly-signup-button", standalone: false, template: "<a [href]=\"url\" class=\"{{ classes }}\" *ngIf=\"external\">\r\n <ng-container *ngTemplateOutlet=\"contentTemplate\"></ng-container>\r\n</a>\r\n\r\n<a [routerLink]=\"url\" class=\"{{ classes }}\" *ngIf=\"!external\">\r\n <ng-container *ngTemplateOutlet=\"contentTemplate\"></ng-container>\r\n</a>\r\n\r\n<ng-template #contentTemplate>\r\n <span #ref><ng-content></ng-content></span>\r\n <span *ngIf=\"!ref.innerHTML.trim()\">Sign Up</span>\r\n</ng-template>\r\n" }]
|
|
8743
|
-
}], null, { qs: [{
|
|
8744
|
-
type: Input
|
|
8745
|
-
}] }); })();
|
|
8746
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(SignUpButtonComponent, { className: "SignUpButtonComponent", filePath: "lib/ui/components/identity/signup-button.component.ts", lineNumber: 29 }); })();
|
|
8747
|
-
|
|
8748
8777
|
/*
|
|
8749
8778
|
<file>
|
|
8750
8779
|
Project:
|
|
@@ -8797,7 +8826,7 @@ class NodataComponent {
|
|
|
8797
8826
|
i0.ɵɵconditionalCreate(0, NodataComponent_Conditional_0_Template, 6, 2, "div", 0);
|
|
8798
8827
|
} if (rf & 2) {
|
|
8799
8828
|
i0.ɵɵconditional(!ctx.dataLoading && ctx.dataLoaded && !ctx.dataFound ? 0 : -1);
|
|
8800
|
-
} }, dependencies: [i1$
|
|
8829
|
+
} }, dependencies: [i1$2.NgIf, i1$7.FaIconComponent], encapsulation: 2 }); }
|
|
8801
8830
|
}
|
|
8802
8831
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(NodataComponent, [{
|
|
8803
8832
|
type: Component,
|
|
@@ -8896,7 +8925,7 @@ class LoadingComponent extends ComponentBase {
|
|
|
8896
8925
|
i0.ɵɵtemplate(0, LoadingComponent_div_0_Template, 2, 0, "div", 0);
|
|
8897
8926
|
} if (rf & 2) {
|
|
8898
8927
|
i0.ɵɵproperty("ngIf", ctx.show);
|
|
8899
|
-
} }, dependencies: [i1$
|
|
8928
|
+
} }, dependencies: [i1$2.NgIf], encapsulation: 2 }); }
|
|
8900
8929
|
}
|
|
8901
8930
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(LoadingComponent, [{
|
|
8902
8931
|
type: Component,
|
|
@@ -8977,17 +9006,17 @@ class PageSpinnerComponent {
|
|
|
8977
9006
|
ngOnDestroy() {
|
|
8978
9007
|
this.isSpinnerVisible = false;
|
|
8979
9008
|
}
|
|
8980
|
-
static { this.ɵfac = function PageSpinnerComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || PageSpinnerComponent)(i0.ɵɵdirectiveInject(i1$
|
|
9009
|
+
static { this.ɵfac = function PageSpinnerComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || PageSpinnerComponent)(i0.ɵɵdirectiveInject(i1$1.Router)); }; }
|
|
8981
9010
|
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PageSpinnerComponent, selectors: [["anatoly-pagespinner"]], inputs: { backgroundColor: "backgroundColor", spinner: "spinner" }, standalone: false, decls: 1, vars: 1, consts: [["id", "http-loader", 4, "ngIf"], ["id", "http-loader"], [1, "loader-bg"], ["class", "sk-line-material", 3, "colored", 4, "ngIf"], [1, "sk-line-material"], [1, "sk-child", "sk-bounce1"]], template: function PageSpinnerComponent_Template(rf, ctx) { if (rf & 1) {
|
|
8982
9011
|
i0.ɵɵtemplate(0, PageSpinnerComponent_div_0_Template, 3, 1, "div", 0);
|
|
8983
9012
|
} if (rf & 2) {
|
|
8984
9013
|
i0.ɵɵproperty("ngIf", ctx.isSpinnerVisible);
|
|
8985
|
-
} }, dependencies: [i1$
|
|
9014
|
+
} }, dependencies: [i1$2.NgIf], encapsulation: 2 }); }
|
|
8986
9015
|
}
|
|
8987
9016
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(PageSpinnerComponent, [{
|
|
8988
9017
|
type: Component,
|
|
8989
9018
|
args: [{ selector: 'anatoly-pagespinner', standalone: false, encapsulation: ViewEncapsulation.None, template: "<div id=\"http-loader\" *ngIf=\"isSpinnerVisible\">\r\n <div class=\"loader-bg\">\r\n <div class=\"sk-line-material\" [class.colored]=\"!backgroundColor\" *ngIf=\"spinner === Spinkit.skLine\">\r\n <div class=\"sk-child sk-bounce1\" [style.background-color]='backgroundColor'></div>\r\n </div>\r\n </div>\r\n</div>\r\n" }]
|
|
8990
|
-
}], () => [{ type: i1$
|
|
9019
|
+
}], () => [{ type: i1$1.Router }], { backgroundColor: [{
|
|
8991
9020
|
type: Input
|
|
8992
9021
|
}], spinner: [{
|
|
8993
9022
|
type: Input
|
|
@@ -9147,7 +9176,7 @@ class UrlSlugComponent extends EditComponentBase {
|
|
|
9147
9176
|
i0.ɵɵproperty("formControlName", ctx.controlName);
|
|
9148
9177
|
i0.ɵɵadvance();
|
|
9149
9178
|
i0.ɵɵproperty("ngIf", ctx.isGoButtonVisible);
|
|
9150
|
-
} }, dependencies: [i1$
|
|
9179
|
+
} }, dependencies: [i1$2.NgClass, i1$2.NgIf, i2.DefaultValueAccessor, i2.NgControlStatus, i2.NgControlStatusGroup, i2.FormGroupDirective, i2.FormControlName, i4$2.LabelDirective, AReplacerDirective, NativeElementDirective, ItemValidationSummaryComponent], encapsulation: 2 }); }
|
|
9151
9180
|
}
|
|
9152
9181
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(UrlSlugComponent, [{
|
|
9153
9182
|
type: Component,
|
|
@@ -9203,7 +9232,7 @@ class FeatureWillBeReadyComponent extends ComponentBase {
|
|
|
9203
9232
|
i0.ɵɵproperty("ngIf", ctx.readyDate);
|
|
9204
9233
|
i0.ɵɵadvance();
|
|
9205
9234
|
i0.ɵɵproperty("ngIf", !ctx.readyDate);
|
|
9206
|
-
} }, dependencies: [i1$
|
|
9235
|
+
} }, dependencies: [i1$2.NgIf], encapsulation: 2 }); }
|
|
9207
9236
|
}
|
|
9208
9237
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(FeatureWillBeReadyComponent, [{
|
|
9209
9238
|
type: Component,
|
|
@@ -9359,7 +9388,7 @@ class FormValidationSummaryComponent extends ValidationSummaryComponent {
|
|
|
9359
9388
|
i0.ɵɵtemplate(0, FormValidationSummaryComponent_div_0_Template, 5, 1, "div", 0);
|
|
9360
9389
|
} if (rf & 2) {
|
|
9361
9390
|
i0.ɵɵproperty("ngIf", ctx.visible);
|
|
9362
|
-
} }, dependencies: [i1$
|
|
9391
|
+
} }, dependencies: [i1$2.NgForOf, i1$2.NgIf], encapsulation: 2 }); }
|
|
9363
9392
|
}
|
|
9364
9393
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(FormValidationSummaryComponent, [{
|
|
9365
9394
|
type: Component,
|
|
@@ -9561,7 +9590,7 @@ class ContactUsForm extends EditComponentBase {
|
|
|
9561
9590
|
i0.ɵɵproperty("formGroup", ctx.formGroup)("formSubmitted", ctx.formSubmitted);
|
|
9562
9591
|
i0.ɵɵadvance(3);
|
|
9563
9592
|
i0.ɵɵproperty("ngIf", ctx.showActionButtons);
|
|
9564
|
-
} }, dependencies: [i1$
|
|
9593
|
+
} }, dependencies: [i1$2.NgClass, i1$2.NgForOf, i1$2.NgIf, i2.ɵNgNoValidate, i2.NgSelectOption, i2.ɵNgSelectMultipleOption, i2.DefaultValueAccessor, i2.SelectControlValueAccessor, i2.NgControlStatus, i2.NgControlStatusGroup, i2.FormGroupDirective, i2.FormControlName, NativeElementDirective, FormValidationSummaryComponent, ItemValidationSummaryComponent], encapsulation: 2 }); }
|
|
9565
9594
|
}
|
|
9566
9595
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ContactUsForm, [{
|
|
9567
9596
|
type: Component,
|
|
@@ -9633,7 +9662,7 @@ class ContactUsDialog extends DialogBase {
|
|
|
9633
9662
|
i0.ɵɵtemplate(0, ContactUsDialog_kendo_dialog_0_Template, 10, 2, "kendo-dialog", 1);
|
|
9634
9663
|
} if (rf & 2) {
|
|
9635
9664
|
i0.ɵɵproperty("ngIf", ctx.isOpen);
|
|
9636
|
-
} }, dependencies: [i1$
|
|
9665
|
+
} }, dependencies: [i1$2.NgIf, i4$1.DialogComponent, i4$1.DialogActionsComponent, ContactUsForm], encapsulation: 2 }); }
|
|
9637
9666
|
}
|
|
9638
9667
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ContactUsDialog, [{
|
|
9639
9668
|
type: Component,
|
|
@@ -9934,7 +9963,7 @@ class AddressComponent extends EditComponentBase {
|
|
|
9934
9963
|
i0.ɵɵproperty("ngForOf", ctx.countryData);
|
|
9935
9964
|
i0.ɵɵadvance();
|
|
9936
9965
|
i0.ɵɵproperty("formGroup", ctx.formGroup)("formSubmitted", ctx.formSubmitted);
|
|
9937
|
-
} }, dependencies: [i1$
|
|
9966
|
+
} }, dependencies: [i1$2.NgClass, i1$2.NgForOf, i1$2.NgIf, i2.NgSelectOption, i2.ɵNgSelectMultipleOption, i2.DefaultValueAccessor, i2.SelectControlValueAccessor, i2.NgControlStatus, i2.NgControlStatusGroup, i2.FormGroupDirective, i2.FormControlName, CardComponent, CardHeaderComponent, CardBodyComponent, NativeElementDirective, ItemValidationSummaryComponent], encapsulation: 2 }); }
|
|
9938
9967
|
}
|
|
9939
9968
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(AddressComponent, [{
|
|
9940
9969
|
type: Component,
|
|
@@ -10063,7 +10092,7 @@ class CompanyComponent extends EditComponentBase {
|
|
|
10063
10092
|
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(20, _c0, ctx.isControlInvalid("company_websiteUrl")));
|
|
10064
10093
|
i0.ɵɵadvance(4);
|
|
10065
10094
|
i0.ɵɵproperty("formGroup", ctx.formGroup)("formSubmitted", ctx.formSubmitted);
|
|
10066
|
-
} }, dependencies: [i1$
|
|
10095
|
+
} }, dependencies: [i1$2.NgClass, i1$2.NgIf, i2.DefaultValueAccessor, i2.NgControlStatus, i2.NgControlStatusGroup, i2.PatternValidator, i2.FormGroupDirective, i2.FormControlName, CardComponent, CardHeaderComponent, CardBodyComponent, NativeElementDirective, ItemValidationSummaryComponent], encapsulation: 2 }); }
|
|
10067
10096
|
}
|
|
10068
10097
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CompanyComponent, [{
|
|
10069
10098
|
type: Component,
|
|
@@ -10748,7 +10777,7 @@ class AnatolyIAMPagesModule {
|
|
|
10748
10777
|
}]
|
|
10749
10778
|
}], null, null); })();
|
|
10750
10779
|
(function () { (typeof ngJitMode === "undefined" || ngJitMode) && i0.ɵɵsetNgModuleScope(AnatolyIAMPagesModule, { declarations: [SignInPage, SignUpPage, SignOutPage], imports: [CommonModule,
|
|
10751
|
-
RouterModule, i1$
|
|
10780
|
+
RouterModule, i1$1.RouterModule] }); })();
|
|
10752
10781
|
|
|
10753
10782
|
/*
|
|
10754
10783
|
<file>
|