@osovitny/anatoly 3.20.31 → 3.20.33
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 +509 -486
- package/fesm2022/osovitny-anatoly.mjs.map +1 -1
- package/index.d.ts +7 -5
- 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';
|
|
@@ -609,215 +609,6 @@ class AppContextService extends ApiServiceBase {
|
|
|
609
609
|
type: Injectable
|
|
610
610
|
}], () => [{ type: i1.HttpClient }, { type: LocalStorageService }, { type: SessionStorageService }], null); })();
|
|
611
611
|
|
|
612
|
-
/*
|
|
613
|
-
<file>
|
|
614
|
-
Project:
|
|
615
|
-
@osovitny/anatoly
|
|
616
|
-
|
|
617
|
-
Authors:
|
|
618
|
-
Vadim Osovitny vadim.osovitny@osovitny.com
|
|
619
|
-
Anatoly Osovitny anatoly.osovitny@osovitny.com
|
|
620
|
-
|
|
621
|
-
Created:
|
|
622
|
-
14 Aug 2018
|
|
623
|
-
|
|
624
|
-
Copyright (c) 2016-2025 Osovitny Inc. All rights reserved.
|
|
625
|
-
</file>
|
|
626
|
-
*/
|
|
627
|
-
//Node
|
|
628
|
-
function BuyAccessButtonComponent_div_0_div_1_button_1_Template(rf, ctx) { if (rf & 1) {
|
|
629
|
-
i0.ɵɵelementStart(0, "button", 3);
|
|
630
|
-
i0.ɵɵtext(1, " Your Plan ");
|
|
631
|
-
i0.ɵɵelementEnd();
|
|
632
|
-
} }
|
|
633
|
-
function BuyAccessButtonComponent_div_0_div_1_button_2_Template(rf, ctx) { if (rf & 1) {
|
|
634
|
-
const _r1 = i0.ɵɵgetCurrentView();
|
|
635
|
-
i0.ɵɵelementStart(0, "button", 4);
|
|
636
|
-
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()); });
|
|
637
|
-
i0.ɵɵtext(1, " Buy Now ");
|
|
638
|
-
i0.ɵɵelementEnd();
|
|
639
|
-
} }
|
|
640
|
-
function BuyAccessButtonComponent_div_0_div_1_Template(rf, ctx) { if (rf & 1) {
|
|
641
|
-
i0.ɵɵelementStart(0, "div");
|
|
642
|
-
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);
|
|
643
|
-
i0.ɵɵelementEnd();
|
|
644
|
-
} if (rf & 2) {
|
|
645
|
-
const ctx_r1 = i0.ɵɵnextContext(2);
|
|
646
|
-
i0.ɵɵadvance();
|
|
647
|
-
i0.ɵɵproperty("ngIf", ctx_r1.plan == ctx_r1.currentPlanId);
|
|
648
|
-
i0.ɵɵadvance();
|
|
649
|
-
i0.ɵɵproperty("ngIf", ctx_r1.plan != ctx_r1.currentPlanId);
|
|
650
|
-
} }
|
|
651
|
-
function BuyAccessButtonComponent_div_0_Template(rf, ctx) { if (rf & 1) {
|
|
652
|
-
i0.ɵɵelementStart(0, "div");
|
|
653
|
-
i0.ɵɵtemplate(1, BuyAccessButtonComponent_div_0_div_1_Template, 3, 2, "div", 0);
|
|
654
|
-
i0.ɵɵelementEnd();
|
|
655
|
-
} if (rf & 2) {
|
|
656
|
-
const ctx_r1 = i0.ɵɵnextContext();
|
|
657
|
-
i0.ɵɵadvance();
|
|
658
|
-
i0.ɵɵproperty("ngIf", ctx_r1.isUserSignedIn && ctx_r1.visibleIfUserSignedIn);
|
|
659
|
-
} }
|
|
660
|
-
class BuyAccessButtonComponent {
|
|
661
|
-
constructor(appContext) {
|
|
662
|
-
this.appContext = appContext;
|
|
663
|
-
this.contextUpdated = false;
|
|
664
|
-
this.isUserSignedIn = false;
|
|
665
|
-
this.currentPlanId = -1;
|
|
666
|
-
this.visibleIfUserSignedIn = false;
|
|
667
|
-
//Outputs
|
|
668
|
-
this.planselect = new EventEmitter();
|
|
669
|
-
}
|
|
670
|
-
ngOnInit() {
|
|
671
|
-
this.setDefaults();
|
|
672
|
-
this.setValues();
|
|
673
|
-
}
|
|
674
|
-
setDefaults() {
|
|
675
|
-
}
|
|
676
|
-
setValues() {
|
|
677
|
-
this.appContext.updated$.subscribe((context) => {
|
|
678
|
-
if (!context) {
|
|
679
|
-
return;
|
|
680
|
-
}
|
|
681
|
-
this.isUserSignedIn = context.isUserSignedIn;
|
|
682
|
-
if (this.isUserSignedIn) {
|
|
683
|
-
let profile = context.billing.profile;
|
|
684
|
-
this.currentPlanId = profile.planId;
|
|
685
|
-
}
|
|
686
|
-
this.contextUpdated = true;
|
|
687
|
-
});
|
|
688
|
-
}
|
|
689
|
-
//Events
|
|
690
|
-
onPlanSelect() {
|
|
691
|
-
this.planselect.emit(this.plan);
|
|
692
|
-
}
|
|
693
|
-
static { this.ɵfac = function BuyAccessButtonComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || BuyAccessButtonComponent)(i0.ɵɵdirectiveInject(AppContextService)); }; }
|
|
694
|
-
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) {
|
|
695
|
-
i0.ɵɵtemplate(0, BuyAccessButtonComponent_div_0_Template, 2, 1, "div", 0);
|
|
696
|
-
} if (rf & 2) {
|
|
697
|
-
i0.ɵɵproperty("ngIf", ctx.contextUpdated);
|
|
698
|
-
} }, dependencies: [i1$1.NgIf], encapsulation: 2 }); }
|
|
699
|
-
}
|
|
700
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(BuyAccessButtonComponent, [{
|
|
701
|
-
type: Component,
|
|
702
|
-
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" }]
|
|
703
|
-
}], () => [{ type: AppContextService }], { plan: [{
|
|
704
|
-
type: Input
|
|
705
|
-
}], visibleIfUserSignedIn: [{
|
|
706
|
-
type: Input
|
|
707
|
-
}], planselect: [{
|
|
708
|
-
type: Output
|
|
709
|
-
}] }); })();
|
|
710
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(BuyAccessButtonComponent, { className: "BuyAccessButtonComponent", filePath: "lib/billing/components/buttons/buyaccess-button.component.ts", lineNumber: 28 }); })();
|
|
711
|
-
|
|
712
|
-
/*
|
|
713
|
-
<file>
|
|
714
|
-
Project:
|
|
715
|
-
@osovitny/anatoly
|
|
716
|
-
|
|
717
|
-
Authors:
|
|
718
|
-
Vadim Osovitny vadim.osovitny@osovitny.com
|
|
719
|
-
Anatoly Osovitny anatoly.osovitny@osovitny.com
|
|
720
|
-
|
|
721
|
-
Created:
|
|
722
|
-
1 Jun 2018
|
|
723
|
-
|
|
724
|
-
Copyright (c) 2016-2025 Osovitny Inc. All rights reserved.
|
|
725
|
-
</file>
|
|
726
|
-
*/
|
|
727
|
-
//Node
|
|
728
|
-
function SubscribePlanButtonComponent_div_0_div_1_button_1_Template(rf, ctx) { if (rf & 1) {
|
|
729
|
-
i0.ɵɵelementStart(0, "button", 4);
|
|
730
|
-
i0.ɵɵtext(1, " Your Plan ");
|
|
731
|
-
i0.ɵɵelementEnd();
|
|
732
|
-
} }
|
|
733
|
-
function SubscribePlanButtonComponent_div_0_div_1_button_2_Template(rf, ctx) { if (rf & 1) {
|
|
734
|
-
i0.ɵɵelementStart(0, "button", 5);
|
|
735
|
-
i0.ɵɵtext(1, " Requested ");
|
|
736
|
-
i0.ɵɵelementEnd();
|
|
737
|
-
} }
|
|
738
|
-
function SubscribePlanButtonComponent_div_0_div_1_button_3_Template(rf, ctx) { if (rf & 1) {
|
|
739
|
-
const _r1 = i0.ɵɵgetCurrentView();
|
|
740
|
-
i0.ɵɵelementStart(0, "button", 6);
|
|
741
|
-
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()); });
|
|
742
|
-
i0.ɵɵtext(1, " Subscribe ");
|
|
743
|
-
i0.ɵɵelementEnd();
|
|
744
|
-
} }
|
|
745
|
-
function SubscribePlanButtonComponent_div_0_div_1_Template(rf, ctx) { if (rf & 1) {
|
|
746
|
-
i0.ɵɵelementStart(0, "div");
|
|
747
|
-
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);
|
|
748
|
-
i0.ɵɵelementEnd();
|
|
749
|
-
} if (rf & 2) {
|
|
750
|
-
const ctx_r1 = i0.ɵɵnextContext(2);
|
|
751
|
-
i0.ɵɵadvance();
|
|
752
|
-
i0.ɵɵproperty("ngIf", ctx_r1.plan == ctx_r1.currentPlanId);
|
|
753
|
-
i0.ɵɵadvance();
|
|
754
|
-
i0.ɵɵproperty("ngIf", ctx_r1.plan == ctx_r1.requestedPlanId);
|
|
755
|
-
i0.ɵɵadvance();
|
|
756
|
-
i0.ɵɵproperty("ngIf", ctx_r1.plan != ctx_r1.currentPlanId && ctx_r1.plan != ctx_r1.requestedPlanId);
|
|
757
|
-
} }
|
|
758
|
-
function SubscribePlanButtonComponent_div_0_Template(rf, ctx) { if (rf & 1) {
|
|
759
|
-
i0.ɵɵelementStart(0, "div");
|
|
760
|
-
i0.ɵɵtemplate(1, SubscribePlanButtonComponent_div_0_div_1_Template, 4, 3, "div", 0);
|
|
761
|
-
i0.ɵɵelementEnd();
|
|
762
|
-
} if (rf & 2) {
|
|
763
|
-
const ctx_r1 = i0.ɵɵnextContext();
|
|
764
|
-
i0.ɵɵadvance();
|
|
765
|
-
i0.ɵɵproperty("ngIf", ctx_r1.isUserSignedIn && ctx_r1.visibleIfUserSignedIn);
|
|
766
|
-
} }
|
|
767
|
-
class SubscribePlanButtonComponent {
|
|
768
|
-
constructor(appContext) {
|
|
769
|
-
this.appContext = appContext;
|
|
770
|
-
this.contextUpdated = false;
|
|
771
|
-
this.isUserSignedIn = false;
|
|
772
|
-
this.currentPlanId = -1;
|
|
773
|
-
this.requestedPlanId = -1;
|
|
774
|
-
this.visibleIfUserSignedIn = false;
|
|
775
|
-
//Outputs
|
|
776
|
-
this.planselect = new EventEmitter();
|
|
777
|
-
}
|
|
778
|
-
ngOnInit() {
|
|
779
|
-
this.setDefaults();
|
|
780
|
-
this.setValues();
|
|
781
|
-
}
|
|
782
|
-
setDefaults() {
|
|
783
|
-
}
|
|
784
|
-
setValues() {
|
|
785
|
-
this.appContext.updated$.subscribe((context) => {
|
|
786
|
-
if (!context) {
|
|
787
|
-
return;
|
|
788
|
-
}
|
|
789
|
-
this.isUserSignedIn = context.isUserSignedIn;
|
|
790
|
-
if (this.isUserSignedIn) {
|
|
791
|
-
let profile = context.billing.profile;
|
|
792
|
-
this.currentPlanId = profile.planId;
|
|
793
|
-
this.requestedPlanId = profile.requestedPlanId ?? -1;
|
|
794
|
-
}
|
|
795
|
-
this.contextUpdated = true;
|
|
796
|
-
});
|
|
797
|
-
}
|
|
798
|
-
//Events
|
|
799
|
-
onPlanSelect() {
|
|
800
|
-
this.planselect.emit(this.plan);
|
|
801
|
-
}
|
|
802
|
-
static { this.ɵfac = function SubscribePlanButtonComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || SubscribePlanButtonComponent)(i0.ɵɵdirectiveInject(AppContextService)); }; }
|
|
803
|
-
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) {
|
|
804
|
-
i0.ɵɵtemplate(0, SubscribePlanButtonComponent_div_0_Template, 2, 1, "div", 0);
|
|
805
|
-
} if (rf & 2) {
|
|
806
|
-
i0.ɵɵproperty("ngIf", ctx.contextUpdated);
|
|
807
|
-
} }, dependencies: [i1$1.NgIf], encapsulation: 2 }); }
|
|
808
|
-
}
|
|
809
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SubscribePlanButtonComponent, [{
|
|
810
|
-
type: Component,
|
|
811
|
-
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" }]
|
|
812
|
-
}], () => [{ type: AppContextService }], { plan: [{
|
|
813
|
-
type: Input
|
|
814
|
-
}], visibleIfUserSignedIn: [{
|
|
815
|
-
type: Input
|
|
816
|
-
}], planselect: [{
|
|
817
|
-
type: Output
|
|
818
|
-
}] }); })();
|
|
819
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(SubscribePlanButtonComponent, { className: "SubscribePlanButtonComponent", filePath: "lib/billing/components/buttons/subscribe-plan-button.component.ts", lineNumber: 28 }); })();
|
|
820
|
-
|
|
821
612
|
/*
|
|
822
613
|
<file>
|
|
823
614
|
Project:
|
|
@@ -1611,12 +1402,12 @@ class GoServiceBase {
|
|
|
1611
1402
|
error500() {
|
|
1612
1403
|
this.navigate([this.currentApp.root + '/errors/500']);
|
|
1613
1404
|
}
|
|
1614
|
-
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)); }; }
|
|
1615
1406
|
static { this.ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token: GoServiceBase, factory: GoServiceBase.ɵfac }); }
|
|
1616
1407
|
}
|
|
1617
1408
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(GoServiceBase, [{
|
|
1618
1409
|
type: Injectable
|
|
1619
|
-
}], () => [{ type: i1$
|
|
1410
|
+
}], () => [{ type: i1$1.ActivatedRoute }, { type: i1$1.Router }], null); })();
|
|
1620
1411
|
|
|
1621
1412
|
/*
|
|
1622
1413
|
<file>
|
|
@@ -2275,7 +2066,7 @@ class AuthService extends ApiServiceBase {
|
|
|
2275
2066
|
};
|
|
2276
2067
|
this.login(resetPasswordFlowRequest);
|
|
2277
2068
|
}
|
|
2278
|
-
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)); }; }
|
|
2279
2070
|
static { this.ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token: AuthService, factory: AuthService.ɵfac, providedIn: 'root' }); }
|
|
2280
2071
|
}
|
|
2281
2072
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(AuthService, [{
|
|
@@ -2283,7 +2074,7 @@ class AuthService extends ApiServiceBase {
|
|
|
2283
2074
|
args: [{
|
|
2284
2075
|
providedIn: 'root'
|
|
2285
2076
|
}]
|
|
2286
|
-
}], () => [{ type: i1.HttpClient }, { type: i1$
|
|
2077
|
+
}], () => [{ type: i1.HttpClient }, { type: i1$1.Router }, { type: AppContextService }, { type: undefined, decorators: [{
|
|
2287
2078
|
type: Inject,
|
|
2288
2079
|
args: [MSAL_GUARD_CONFIG]
|
|
2289
2080
|
}] }, { type: i4.MsalService }, { type: i4.MsalBroadcastService }], null); })();
|
|
@@ -2398,12 +2189,12 @@ class AppsGoServiceBase extends GoServiceBase {
|
|
|
2398
2189
|
}
|
|
2399
2190
|
}
|
|
2400
2191
|
}
|
|
2401
|
-
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)); }; }
|
|
2402
2193
|
static { this.ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token: AppsGoServiceBase, factory: AppsGoServiceBase.ɵfac }); }
|
|
2403
2194
|
}
|
|
2404
2195
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(AppsGoServiceBase, [{
|
|
2405
2196
|
type: Injectable
|
|
2406
|
-
}], () => [{ type: i1$
|
|
2197
|
+
}], () => [{ type: i1$1.ActivatedRoute }, { type: i1$1.Router }, { type: AuthService }, { type: LoggingService }], null); })();
|
|
2407
2198
|
|
|
2408
2199
|
/*
|
|
2409
2200
|
<file>
|
|
@@ -2460,7 +2251,7 @@ class AuthenticationGuard extends MsalGuard {
|
|
|
2460
2251
|
this.setInteractionType(route);
|
|
2461
2252
|
return super.canActivate(route, state);
|
|
2462
2253
|
}
|
|
2463
|
-
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)); }; }
|
|
2464
2255
|
static { this.ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token: AuthenticationGuard, factory: AuthenticationGuard.ɵfac }); }
|
|
2465
2256
|
}
|
|
2466
2257
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(AuthenticationGuard, [{
|
|
@@ -2468,7 +2259,7 @@ class AuthenticationGuard extends MsalGuard {
|
|
|
2468
2259
|
}], () => [{ type: undefined, decorators: [{
|
|
2469
2260
|
type: Inject,
|
|
2470
2261
|
args: [MSAL_GUARD_CONFIG]
|
|
2471
|
-
}] }, { type: i4.MsalBroadcastService }, { type: i4.MsalService }, { type: i1$
|
|
2262
|
+
}] }, { type: i4.MsalBroadcastService }, { type: i4.MsalService }, { type: i1$2.Location }, { type: i1$1.Router }], null); })();
|
|
2472
2263
|
|
|
2473
2264
|
/*
|
|
2474
2265
|
<file>
|
|
@@ -3793,12 +3584,12 @@ class GoogleAnalyticsService {
|
|
|
3793
3584
|
let ga = window.gtag;
|
|
3794
3585
|
return ga;
|
|
3795
3586
|
}
|
|
3796
|
-
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)); }; }
|
|
3797
3588
|
static { this.ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token: GoogleAnalyticsService, factory: GoogleAnalyticsService.ɵfac }); }
|
|
3798
3589
|
}
|
|
3799
3590
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(GoogleAnalyticsService, [{
|
|
3800
3591
|
type: Injectable
|
|
3801
|
-
}], () => [{ type: i1$
|
|
3592
|
+
}], () => [{ type: i1$1.Router }], null); })();
|
|
3802
3593
|
|
|
3803
3594
|
/*
|
|
3804
3595
|
<file>
|
|
@@ -4332,45 +4123,456 @@ class ComponentBase {
|
|
|
4332
4123
|
}
|
|
4333
4124
|
ngOnInit() {
|
|
4334
4125
|
}
|
|
4335
|
-
ngOnDestroy() {
|
|
4336
|
-
this.subs.unsubscribe();
|
|
4337
|
-
}
|
|
4338
|
-
getEntityId() {
|
|
4339
|
-
return QSUtils.getValueByName("id");
|
|
4340
|
-
}
|
|
4341
|
-
dataStartedLoading() {
|
|
4342
|
-
this.dataLoading = true;
|
|
4343
|
-
this.dataLoaded = false;
|
|
4344
|
-
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() {
|
|
4345
4537
|
}
|
|
4346
|
-
|
|
4347
|
-
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
|
+
});
|
|
4348
4551
|
}
|
|
4349
|
-
|
|
4350
|
-
|
|
4351
|
-
this.
|
|
4352
|
-
this.dataFound = found;
|
|
4552
|
+
//Events
|
|
4553
|
+
onPlanSelect() {
|
|
4554
|
+
this.planselect.emit(this.plan);
|
|
4353
4555
|
}
|
|
4354
|
-
static { this.ɵfac = function
|
|
4355
|
-
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 }); }
|
|
4356
4562
|
}
|
|
4357
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(
|
|
4563
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SubscribePlanButtonComponent, [{
|
|
4358
4564
|
type: Component,
|
|
4359
|
-
args: [{
|
|
4360
|
-
|
|
4361
|
-
}]
|
|
4362
|
-
}], () => [], { mode: [{
|
|
4363
|
-
type: Input
|
|
4364
|
-
}], classes: [{
|
|
4365
|
-
type: Input
|
|
4366
|
-
}], 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: [{
|
|
4367
4567
|
type: Input
|
|
4368
|
-
}],
|
|
4568
|
+
}], visiblePlanStatus: [{
|
|
4369
4569
|
type: Input
|
|
4370
|
-
}],
|
|
4570
|
+
}], visibleSignup: [{
|
|
4371
4571
|
type: Input
|
|
4572
|
+
}], planselect: [{
|
|
4573
|
+
type: Output
|
|
4372
4574
|
}] }); })();
|
|
4373
|
-
(() => { (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 }); })();
|
|
4374
4576
|
|
|
4375
4577
|
/*
|
|
4376
4578
|
<file>
|
|
@@ -4528,7 +4730,7 @@ class PromoCodesApiService extends ApiServiceBase {
|
|
|
4528
4730
|
</file>
|
|
4529
4731
|
*/
|
|
4530
4732
|
//Node
|
|
4531
|
-
const _c0$
|
|
4733
|
+
const _c0$g = ["*"];
|
|
4532
4734
|
const _c1$2 = a0 => ({ "show": a0 });
|
|
4533
4735
|
function OrderSummaryComponent_Conditional_17_Template(rf, ctx) { if (rf & 1) {
|
|
4534
4736
|
const _r1 = i0.ɵɵgetCurrentView();
|
|
@@ -4603,7 +4805,7 @@ class OrderSummaryComponent extends ComponentBase {
|
|
|
4603
4805
|
});
|
|
4604
4806
|
}
|
|
4605
4807
|
static { this.ɵfac = function OrderSummaryComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || OrderSummaryComponent)(i0.ɵɵdirectiveInject(PaymentsService), i0.ɵɵdirectiveInject(PromoCodesApiService), i0.ɵɵdirectiveInject(NotificationService)); }; }
|
|
4606
|
-
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) {
|
|
4607
4809
|
i0.ɵɵprojectionDef();
|
|
4608
4810
|
i0.ɵɵelementStart(0, "div", 0)(1, "div", 1)(2, "div", 2)(3, "h2");
|
|
4609
4811
|
i0.ɵɵtext(4, "Order Summary");
|
|
@@ -4648,7 +4850,7 @@ class OrderSummaryComponent extends ComponentBase {
|
|
|
4648
4850
|
i0.ɵɵtextInterpolate(ctx.discount);
|
|
4649
4851
|
i0.ɵɵadvance(6);
|
|
4650
4852
|
i0.ɵɵtextInterpolate1("$", ctx.toTotal());
|
|
4651
|
-
} }, dependencies: [i1$
|
|
4853
|
+
} }, dependencies: [i1$2.NgClass, i2.DefaultValueAccessor, i2.NgControlStatus, i2.NgModel], encapsulation: 2 }); }
|
|
4652
4854
|
}
|
|
4653
4855
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(OrderSummaryComponent, [{
|
|
4654
4856
|
type: Component,
|
|
@@ -4656,43 +4858,6 @@ class OrderSummaryComponent extends ComponentBase {
|
|
|
4656
4858
|
}], () => [{ type: PaymentsService }, { type: PromoCodesApiService }, { type: NotificationService }], null); })();
|
|
4657
4859
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(OrderSummaryComponent, { className: "OrderSummaryComponent", filePath: "lib/billing/components/order-summary/order-summary.component.ts", lineNumber: 32 }); })();
|
|
4658
4860
|
|
|
4659
|
-
/*
|
|
4660
|
-
<file>
|
|
4661
|
-
Project:
|
|
4662
|
-
@osovitny/anatoly
|
|
4663
|
-
|
|
4664
|
-
Authors:
|
|
4665
|
-
Vadim Osovitny vadim.osovitny@osovitny.com
|
|
4666
|
-
|
|
4667
|
-
Created:
|
|
4668
|
-
19 May 2025
|
|
4669
|
-
|
|
4670
|
-
Copyright (c) 2016-2025 Osovitny Inc. All rights reserved.
|
|
4671
|
-
</file>
|
|
4672
|
-
*/
|
|
4673
|
-
//Node
|
|
4674
|
-
class ReplacerDirectiveBase {
|
|
4675
|
-
constructor(el, renderer) {
|
|
4676
|
-
this.el = el;
|
|
4677
|
-
this.renderer = renderer;
|
|
4678
|
-
}
|
|
4679
|
-
setUrlAttribute(name, url) {
|
|
4680
|
-
if (url) {
|
|
4681
|
-
let newUrl = formatUrl(url);
|
|
4682
|
-
this.setAttribute(name, newUrl);
|
|
4683
|
-
}
|
|
4684
|
-
}
|
|
4685
|
-
setAttribute(name, value) {
|
|
4686
|
-
this.renderer.setAttribute(this.el.nativeElement, name, value);
|
|
4687
|
-
}
|
|
4688
|
-
static { this.ɵfac = function ReplacerDirectiveBase_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || ReplacerDirectiveBase)(i0.ɵɵdirectiveInject(i0.ElementRef), i0.ɵɵdirectiveInject(i0.Renderer2)); }; }
|
|
4689
|
-
static { this.ɵdir = /*@__PURE__*/ i0.ɵɵdefineDirective({ type: ReplacerDirectiveBase }); }
|
|
4690
|
-
}
|
|
4691
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ReplacerDirectiveBase, [{
|
|
4692
|
-
type: Directive,
|
|
4693
|
-
args: [{}]
|
|
4694
|
-
}], () => [{ type: i0.ElementRef }, { type: i0.Renderer2 }], null); })();
|
|
4695
|
-
|
|
4696
4861
|
/*
|
|
4697
4862
|
<file>
|
|
4698
4863
|
Project:
|
|
@@ -4849,7 +5014,7 @@ class PaymentMethodsComponent extends ComponentBase {
|
|
|
4849
5014
|
</file>
|
|
4850
5015
|
*/
|
|
4851
5016
|
//Node
|
|
4852
|
-
const _c0$
|
|
5017
|
+
const _c0$f = a0 => ({ "active": a0 });
|
|
4853
5018
|
class PaymentOptionsComponent extends ComponentBase {
|
|
4854
5019
|
constructor(ps) {
|
|
4855
5020
|
super();
|
|
@@ -4898,16 +5063,16 @@ class PaymentOptionsComponent extends ComponentBase {
|
|
|
4898
5063
|
i0.ɵɵelementEnd()()();
|
|
4899
5064
|
} if (rf & 2) {
|
|
4900
5065
|
i0.ɵɵadvance(3);
|
|
4901
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(5, _c0$
|
|
5066
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(5, _c0$f, ctx.ps.selectedPaymentType == 2));
|
|
4902
5067
|
i0.ɵɵadvance(7);
|
|
4903
5068
|
i0.ɵɵtextInterpolate1("$", ctx.priceWeekly);
|
|
4904
5069
|
i0.ɵɵadvance();
|
|
4905
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(7, _c0$
|
|
5070
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(7, _c0$f, ctx.ps.selectedPaymentType == 1));
|
|
4906
5071
|
i0.ɵɵadvance(5);
|
|
4907
5072
|
i0.ɵɵtextInterpolate1("Covers the full ", ctx.numberOfWeeks, " weeks ");
|
|
4908
5073
|
i0.ɵɵadvance(2);
|
|
4909
5074
|
i0.ɵɵtextInterpolate1("$", ctx.priceUpfront);
|
|
4910
|
-
} }, dependencies: [i1$
|
|
5075
|
+
} }, dependencies: [i1$2.NgClass], encapsulation: 2 }); }
|
|
4911
5076
|
}
|
|
4912
5077
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(PaymentOptionsComponent, [{
|
|
4913
5078
|
type: Component,
|
|
@@ -5531,6 +5696,9 @@ class BraintreeDialog extends DialogBase {
|
|
|
5531
5696
|
Created:
|
|
5532
5697
|
14 Jun 2024
|
|
5533
5698
|
|
|
5699
|
+
SDK:
|
|
5700
|
+
https://developer.paypal.com/sdk/js/configuration/#query-parameters
|
|
5701
|
+
|
|
5534
5702
|
Copyright (c) 2016-2025 Osovitny Inc. All rights reserved.
|
|
5535
5703
|
</file>
|
|
5536
5704
|
*/
|
|
@@ -5621,7 +5789,7 @@ class PayPalScriptService {
|
|
|
5621
5789
|
Copyright (c) 2016-2025 Osovitny Inc. All rights reserved.
|
|
5622
5790
|
</file>
|
|
5623
5791
|
*/
|
|
5624
|
-
const _c0$
|
|
5792
|
+
const _c0$e = ["payPalButtonContainer"];
|
|
5625
5793
|
class PayPalComponent {
|
|
5626
5794
|
set payPalButtonContainer(content) {
|
|
5627
5795
|
this.payPalButtonContainerElem = content;
|
|
@@ -5889,7 +6057,7 @@ class PayPalComponent {
|
|
|
5889
6057
|
}
|
|
5890
6058
|
static { this.ɵfac = function PayPalComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || PayPalComponent)(i0.ɵɵdirectiveInject(PayPalScriptService), i0.ɵɵdirectiveInject(i0.ChangeDetectorRef), i0.ɵɵdirectiveInject(i0.NgZone)); }; }
|
|
5891
6059
|
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PayPalComponent, selectors: [["anatoly-billing-paypal-container"]], viewQuery: function PayPalComponent_Query(rf, ctx) { if (rf & 1) {
|
|
5892
|
-
i0.ɵɵviewQuery(_c0$
|
|
6060
|
+
i0.ɵɵviewQuery(_c0$e, 5);
|
|
5893
6061
|
} if (rf & 2) {
|
|
5894
6062
|
let _t;
|
|
5895
6063
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.payPalButtonContainer = _t.first);
|
|
@@ -5980,7 +6148,7 @@ class PaypalButtonComponent extends ComponentBase {
|
|
|
5980
6148
|
let totalPrice = this.ps.getTotal().toString();
|
|
5981
6149
|
let currency = this.ps.currency;
|
|
5982
6150
|
this.payPalConfig = {
|
|
5983
|
-
intent: '
|
|
6151
|
+
intent: 'capture',
|
|
5984
6152
|
clientId: clientId,
|
|
5985
6153
|
currency: currency,
|
|
5986
6154
|
advanced: {
|
|
@@ -5996,7 +6164,7 @@ class PaypalButtonComponent extends ComponentBase {
|
|
|
5996
6164
|
color: 'white'
|
|
5997
6165
|
},
|
|
5998
6166
|
createOrderOnClient: (data) => ({
|
|
5999
|
-
intent: '
|
|
6167
|
+
intent: 'capture',
|
|
6000
6168
|
application_context: {
|
|
6001
6169
|
shipping_preference: "NO_SHIPPING"
|
|
6002
6170
|
},
|
|
@@ -7068,12 +7236,12 @@ class ListBase extends ComponentBase {
|
|
|
7068
7236
|
</file>
|
|
7069
7237
|
*/
|
|
7070
7238
|
//Node
|
|
7071
|
-
const _c0$
|
|
7239
|
+
const _c0$d = [[["card-header"]], [["card-body"]], "*", [["card-footer"]]];
|
|
7072
7240
|
const _c1$1 = ["card-header", "card-body", "*", "card-footer"];
|
|
7073
7241
|
class CardComponent extends ComponentBase {
|
|
7074
7242
|
static { this.ɵfac = /*@__PURE__*/ (() => { let ɵCardComponent_BaseFactory; return function CardComponent_Factory(__ngFactoryType__) { return (ɵCardComponent_BaseFactory || (ɵCardComponent_BaseFactory = i0.ɵɵgetInheritedFactory(CardComponent)))(__ngFactoryType__ || CardComponent); }; })(); }
|
|
7075
7243
|
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) {
|
|
7076
|
-
i0.ɵɵprojectionDef(_c0$
|
|
7244
|
+
i0.ɵɵprojectionDef(_c0$d);
|
|
7077
7245
|
i0.ɵɵelementStart(0, "div");
|
|
7078
7246
|
i0.ɵɵprojection(1);
|
|
7079
7247
|
i0.ɵɵprojection(2, 1);
|
|
@@ -7105,7 +7273,7 @@ class CardComponent extends ComponentBase {
|
|
|
7105
7273
|
</file>
|
|
7106
7274
|
*/
|
|
7107
7275
|
//Node
|
|
7108
|
-
const _c0$
|
|
7276
|
+
const _c0$c = ["*"];
|
|
7109
7277
|
function CardHeaderComponent_h3_2_Template(rf, ctx) { if (rf & 1) {
|
|
7110
7278
|
i0.ɵɵelementStart(0, "h3");
|
|
7111
7279
|
i0.ɵɵtext(1);
|
|
@@ -7117,7 +7285,7 @@ function CardHeaderComponent_h3_2_Template(rf, ctx) { if (rf & 1) {
|
|
|
7117
7285
|
} }
|
|
7118
7286
|
class CardHeaderComponent extends ComponentBase {
|
|
7119
7287
|
static { this.ɵfac = /*@__PURE__*/ (() => { let ɵCardHeaderComponent_BaseFactory; return function CardHeaderComponent_Factory(__ngFactoryType__) { return (ɵCardHeaderComponent_BaseFactory || (ɵCardHeaderComponent_BaseFactory = i0.ɵɵgetInheritedFactory(CardHeaderComponent)))(__ngFactoryType__ || CardHeaderComponent); }; })(); }
|
|
7120
|
-
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: CardHeaderComponent, selectors: [["anatoly-card-header"]], standalone: false, features: [i0.ɵɵInheritDefinitionFeature], ngContentSelectors: _c0$
|
|
7288
|
+
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) {
|
|
7121
7289
|
i0.ɵɵprojectionDef();
|
|
7122
7290
|
i0.ɵɵelementStart(0, "div")(1, "div", 0);
|
|
7123
7291
|
i0.ɵɵtemplate(2, CardHeaderComponent_h3_2_Template, 2, 1, "h3", 1);
|
|
@@ -7128,7 +7296,7 @@ class CardHeaderComponent extends ComponentBase {
|
|
|
7128
7296
|
i0.ɵɵclassMap(i0.ɵɵinterpolate1("card-header ", ctx.classes));
|
|
7129
7297
|
i0.ɵɵadvance(2);
|
|
7130
7298
|
i0.ɵɵproperty("ngIf", ctx.title);
|
|
7131
|
-
} }, dependencies: [i1$
|
|
7299
|
+
} }, dependencies: [i1$2.NgIf], encapsulation: 2 }); }
|
|
7132
7300
|
}
|
|
7133
7301
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CardHeaderComponent, [{
|
|
7134
7302
|
type: Component,
|
|
@@ -7151,10 +7319,10 @@ class CardHeaderComponent extends ComponentBase {
|
|
|
7151
7319
|
</file>
|
|
7152
7320
|
*/
|
|
7153
7321
|
//Node
|
|
7154
|
-
const _c0$
|
|
7322
|
+
const _c0$b = ["*"];
|
|
7155
7323
|
class CardBodyComponent extends ComponentBase {
|
|
7156
7324
|
static { this.ɵfac = /*@__PURE__*/ (() => { let ɵCardBodyComponent_BaseFactory; return function CardBodyComponent_Factory(__ngFactoryType__) { return (ɵCardBodyComponent_BaseFactory || (ɵCardBodyComponent_BaseFactory = i0.ɵɵgetInheritedFactory(CardBodyComponent)))(__ngFactoryType__ || CardBodyComponent); }; })(); }
|
|
7157
|
-
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: CardBodyComponent, selectors: [["anatoly-card-body"]], standalone: false, features: [i0.ɵɵInheritDefinitionFeature], ngContentSelectors: _c0$
|
|
7325
|
+
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) {
|
|
7158
7326
|
i0.ɵɵprojectionDef();
|
|
7159
7327
|
i0.ɵɵelementStart(0, "div");
|
|
7160
7328
|
i0.ɵɵprojection(1);
|
|
@@ -7184,10 +7352,10 @@ class CardBodyComponent extends ComponentBase {
|
|
|
7184
7352
|
</file>
|
|
7185
7353
|
*/
|
|
7186
7354
|
//Node
|
|
7187
|
-
const _c0$
|
|
7355
|
+
const _c0$a = ["*"];
|
|
7188
7356
|
class CardFooterComponent extends ComponentBase {
|
|
7189
7357
|
static { this.ɵfac = /*@__PURE__*/ (() => { let ɵCardFooterComponent_BaseFactory; return function CardFooterComponent_Factory(__ngFactoryType__) { return (ɵCardFooterComponent_BaseFactory || (ɵCardFooterComponent_BaseFactory = i0.ɵɵgetInheritedFactory(CardFooterComponent)))(__ngFactoryType__ || CardFooterComponent); }; })(); }
|
|
7190
|
-
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: CardFooterComponent, selectors: [["anatoly-card-footer"]], standalone: false, features: [i0.ɵɵInheritDefinitionFeature], ngContentSelectors: _c0$
|
|
7358
|
+
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) {
|
|
7191
7359
|
i0.ɵɵprojectionDef();
|
|
7192
7360
|
i0.ɵɵelementStart(0, "div");
|
|
7193
7361
|
i0.ɵɵprojection(1);
|
|
@@ -7314,7 +7482,7 @@ class CountryDropdownlist extends EditComponentBase {
|
|
|
7314
7482
|
i0.ɵɵproperty("ngIf", ctx.isNgModelBased);
|
|
7315
7483
|
i0.ɵɵadvance();
|
|
7316
7484
|
i0.ɵɵproperty("ngIf", !ctx.isNgModelBased);
|
|
7317
|
-
} }, dependencies: [i1$
|
|
7485
|
+
} }, 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 }); }
|
|
7318
7486
|
}
|
|
7319
7487
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CountryDropdownlist, [{
|
|
7320
7488
|
type: Component,
|
|
@@ -7379,7 +7547,7 @@ class LanguageDropdownlist extends EditComponentBase {
|
|
|
7379
7547
|
i0.ɵɵproperty("ngIf", ctx.isNgModelBased);
|
|
7380
7548
|
i0.ɵɵadvance();
|
|
7381
7549
|
i0.ɵɵproperty("ngIf", !ctx.isNgModelBased);
|
|
7382
|
-
} }, dependencies: [i1$
|
|
7550
|
+
} }, dependencies: [i1$2.NgIf, i2.NgControlStatus, i2.NgControlStatusGroup, i2.FormGroupDirective, i2.FormControlName, i3.DropDownListComponent, i4$2.LabelComponent, NativeElementDirective], encapsulation: 2 }); }
|
|
7383
7551
|
}
|
|
7384
7552
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(LanguageDropdownlist, [{
|
|
7385
7553
|
type: Component,
|
|
@@ -7548,7 +7716,7 @@ class ItemValidationSummaryComponent extends ValidationSummaryComponent {
|
|
|
7548
7716
|
i0.ɵɵtemplate(0, ItemValidationSummaryComponent_ul_0_Template, 2, 1, "ul", 0);
|
|
7549
7717
|
} if (rf & 2) {
|
|
7550
7718
|
i0.ɵɵproperty("ngIf", ctx.isControlInvalid(ctx.controlName));
|
|
7551
|
-
} }, dependencies: [i1$
|
|
7719
|
+
} }, dependencies: [i1$2.NgForOf, i1$2.NgIf], encapsulation: 2 }); }
|
|
7552
7720
|
}
|
|
7553
7721
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ItemValidationSummaryComponent, [{
|
|
7554
7722
|
type: Component,
|
|
@@ -7627,7 +7795,7 @@ class ModerationStatusDropdownlist extends EnumEditComponentBase {
|
|
|
7627
7795
|
i0.ɵɵproperty("ngIf", ctx.isNgModelBased);
|
|
7628
7796
|
i0.ɵɵadvance();
|
|
7629
7797
|
i0.ɵɵproperty("ngIf", !ctx.isNgModelBased);
|
|
7630
|
-
} }, dependencies: [i1$
|
|
7798
|
+
} }, dependencies: [i1$2.NgIf, i2.NgControlStatus, i2.NgControlStatusGroup, i2.FormGroupDirective, i2.FormControlName, i2.NgModel, i3.DropDownListComponent, i4$2.LabelComponent, NativeElementDirective, ItemValidationSummaryComponent], encapsulation: 2 }); }
|
|
7631
7799
|
}
|
|
7632
7800
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ModerationStatusDropdownlist, [{
|
|
7633
7801
|
type: Component,
|
|
@@ -7706,7 +7874,7 @@ class PublishStatusDropdownlist extends EnumEditComponentBase {
|
|
|
7706
7874
|
i0.ɵɵproperty("ngIf", ctx.isNgModelBased);
|
|
7707
7875
|
i0.ɵɵadvance();
|
|
7708
7876
|
i0.ɵɵproperty("ngIf", !ctx.isNgModelBased);
|
|
7709
|
-
} }, dependencies: [i1$
|
|
7877
|
+
} }, dependencies: [i1$2.NgIf, i2.NgControlStatus, i2.NgControlStatusGroup, i2.FormGroupDirective, i2.FormControlName, i2.NgModel, i3.DropDownListComponent, i4$2.LabelComponent, NativeElementDirective, ItemValidationSummaryComponent], encapsulation: 2 }); }
|
|
7710
7878
|
}
|
|
7711
7879
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(PublishStatusDropdownlist, [{
|
|
7712
7880
|
type: Component,
|
|
@@ -7809,7 +7977,7 @@ class TimezoneDropdownlist extends EditComponentBase {
|
|
|
7809
7977
|
i0.ɵɵproperty("ngIf", ctx.isNgModelBased);
|
|
7810
7978
|
i0.ɵɵadvance();
|
|
7811
7979
|
i0.ɵɵproperty("ngIf", !ctx.isNgModelBased);
|
|
7812
|
-
} }, dependencies: [i1$
|
|
7980
|
+
} }, dependencies: [i1$2.NgForOf, i1$2.NgIf, i2.NgSelectOption, i2.ɵNgSelectMultipleOption, i2.SelectControlValueAccessor, i2.NgControlStatus, i2.NgControlStatusGroup, i2.FormGroupDirective, i2.FormControlName, NativeElementDirective], encapsulation: 2 }); }
|
|
7813
7981
|
}
|
|
7814
7982
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(TimezoneDropdownlist, [{
|
|
7815
7983
|
type: Component,
|
|
@@ -8083,7 +8251,7 @@ class HtmlEditorComponent extends HtmlEditorComponentBase {
|
|
|
8083
8251
|
i0.ɵɵproperty("ngIf", ctx.isNgModelBased);
|
|
8084
8252
|
i0.ɵɵadvance();
|
|
8085
8253
|
i0.ɵɵproperty("ngIf", !ctx.isNgModelBased);
|
|
8086
|
-
} }, dependencies: [i1$
|
|
8254
|
+
} }, dependencies: [i1$2.NgIf, i2.DefaultValueAccessor, i2.NgControlStatus, i2.NgControlStatusGroup, i2.FormGroupDirective, i2.FormControlName, i3$1.FroalaEditorDirective, i4$2.LabelComponent, NativeElementDirective, ItemValidationSummaryComponent], encapsulation: 2 }); }
|
|
8087
8255
|
}
|
|
8088
8256
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(HtmlEditorComponent, [{
|
|
8089
8257
|
type: Component,
|
|
@@ -8107,20 +8275,20 @@ class HtmlEditorComponent extends HtmlEditorComponentBase {
|
|
|
8107
8275
|
</file>
|
|
8108
8276
|
*/
|
|
8109
8277
|
//Node
|
|
8110
|
-
const _c0$
|
|
8278
|
+
const _c0$9 = ["*"];
|
|
8111
8279
|
class CheckIconComponent {
|
|
8112
8280
|
constructor() {
|
|
8113
8281
|
//Inputs
|
|
8114
8282
|
this.checked = true;
|
|
8115
8283
|
}
|
|
8116
8284
|
static { this.ɵfac = function CheckIconComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || CheckIconComponent)(); }; }
|
|
8117
|
-
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: CheckIconComponent, selectors: [["anatoly-check-icon"]], inputs: { checked: "checked" }, standalone: false, ngContentSelectors: _c0$
|
|
8285
|
+
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) {
|
|
8118
8286
|
i0.ɵɵprojectionDef();
|
|
8119
8287
|
i0.ɵɵelement(0, "fa-icon", 0);
|
|
8120
8288
|
i0.ɵɵprojection(1);
|
|
8121
8289
|
} if (rf & 2) {
|
|
8122
8290
|
i0.ɵɵproperty("icon", ctx.checked ? "check-circle" : "circle-xmark")("ngClass", ctx.checked ? "text-success" : "text-danger");
|
|
8123
|
-
} }, dependencies: [i1$
|
|
8291
|
+
} }, dependencies: [i1$2.NgClass, i1$7.FaIconComponent], encapsulation: 2 }); }
|
|
8124
8292
|
}
|
|
8125
8293
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CheckIconComponent, [{
|
|
8126
8294
|
type: Component,
|
|
@@ -8130,54 +8298,6 @@ class CheckIconComponent {
|
|
|
8130
8298
|
}] }); })();
|
|
8131
8299
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(CheckIconComponent, { className: "CheckIconComponent", filePath: "lib/ui/components/check-icon/check-icon.component.ts", lineNumber: 25 }); })();
|
|
8132
8300
|
|
|
8133
|
-
/*
|
|
8134
|
-
<file>
|
|
8135
|
-
Project:
|
|
8136
|
-
@osovitny/anatoly
|
|
8137
|
-
|
|
8138
|
-
Authors:
|
|
8139
|
-
Vadim Osovitny vadim.osovitny@osovitny.com
|
|
8140
|
-
|
|
8141
|
-
Created:
|
|
8142
|
-
19 May 2025
|
|
8143
|
-
|
|
8144
|
-
Copyright (c) 2016-2025 Osovitny Inc. All rights reserved.
|
|
8145
|
-
</file>
|
|
8146
|
-
*/
|
|
8147
|
-
//Node
|
|
8148
|
-
class AReplacerDirective extends ReplacerDirectiveBase {
|
|
8149
|
-
ngOnInit() {
|
|
8150
|
-
this.setHref(this.href);
|
|
8151
|
-
}
|
|
8152
|
-
ngOnChanges(changes) {
|
|
8153
|
-
if (changes['href']) {
|
|
8154
|
-
this.setHref(changes['href'].currentValue);
|
|
8155
|
-
}
|
|
8156
|
-
}
|
|
8157
|
-
setHref(value) {
|
|
8158
|
-
if (value) {
|
|
8159
|
-
if (value.indexOf("assets") > -1) {
|
|
8160
|
-
this.setUrlAttribute('href', value);
|
|
8161
|
-
}
|
|
8162
|
-
else {
|
|
8163
|
-
this.setAttribute('href', value);
|
|
8164
|
-
}
|
|
8165
|
-
}
|
|
8166
|
-
}
|
|
8167
|
-
static { this.ɵfac = /*@__PURE__*/ (() => { let ɵAReplacerDirective_BaseFactory; return function AReplacerDirective_Factory(__ngFactoryType__) { return (ɵAReplacerDirective_BaseFactory || (ɵAReplacerDirective_BaseFactory = i0.ɵɵgetInheritedFactory(AReplacerDirective)))(__ngFactoryType__ || AReplacerDirective); }; })(); }
|
|
8168
|
-
static { this.ɵdir = /*@__PURE__*/ i0.ɵɵdefineDirective({ type: AReplacerDirective, selectors: [["a"]], inputs: { href: "href" }, standalone: false, features: [i0.ɵɵInheritDefinitionFeature, i0.ɵɵNgOnChangesFeature] }); }
|
|
8169
|
-
}
|
|
8170
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(AReplacerDirective, [{
|
|
8171
|
-
type: Directive,
|
|
8172
|
-
args: [{
|
|
8173
|
-
selector: 'a',
|
|
8174
|
-
standalone: false
|
|
8175
|
-
}]
|
|
8176
|
-
}], null, { href: [{
|
|
8177
|
-
type: Input,
|
|
8178
|
-
args: ['href']
|
|
8179
|
-
}] }); })();
|
|
8180
|
-
|
|
8181
8301
|
/*
|
|
8182
8302
|
<file>
|
|
8183
8303
|
Project:
|
|
@@ -8193,7 +8313,7 @@ class AReplacerDirective extends ReplacerDirectiveBase {
|
|
|
8193
8313
|
</file>
|
|
8194
8314
|
*/
|
|
8195
8315
|
//Node
|
|
8196
|
-
const _c0$
|
|
8316
|
+
const _c0$8 = ["*"];
|
|
8197
8317
|
const _c1 = a0 => ({ "active": a0 });
|
|
8198
8318
|
function ControlPanelComponent_Conditional_2_Template(rf, ctx) { if (rf & 1) {
|
|
8199
8319
|
const _r1 = i0.ɵɵgetCurrentView();
|
|
@@ -8328,7 +8448,7 @@ class ControlPanelComponent extends ComponentBase {
|
|
|
8328
8448
|
this.fireAdd();
|
|
8329
8449
|
}
|
|
8330
8450
|
static { this.ɵfac = /*@__PURE__*/ (() => { let ɵControlPanelComponent_BaseFactory; return function ControlPanelComponent_Factory(__ngFactoryType__) { return (ɵControlPanelComponent_BaseFactory || (ɵControlPanelComponent_BaseFactory = i0.ɵɵgetInheritedFactory(ControlPanelComponent)))(__ngFactoryType__ || ControlPanelComponent); }; })(); }
|
|
8331
|
-
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$
|
|
8451
|
+
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) {
|
|
8332
8452
|
i0.ɵɵprojectionDef();
|
|
8333
8453
|
i0.ɵɵelementStart(0, "div", 0)(1, "div", 1);
|
|
8334
8454
|
i0.ɵɵconditionalCreate(2, ControlPanelComponent_Conditional_2_Template, 4, 3, "div", 2);
|
|
@@ -8349,7 +8469,7 @@ class ControlPanelComponent extends ComponentBase {
|
|
|
8349
8469
|
i0.ɵɵconditional(ctx.viewTypesVisible ? 7 : -1);
|
|
8350
8470
|
i0.ɵɵadvance();
|
|
8351
8471
|
i0.ɵɵconditional(ctx.addButtonVisible ? 8 : -1);
|
|
8352
|
-
} }, dependencies: [i1$
|
|
8472
|
+
} }, dependencies: [i1$2.NgClass, i2.NgControlStatus, i2.NgModel, i1$7.FaIconComponent, i3.DropDownListComponent, AReplacerDirective], encapsulation: 2 }); }
|
|
8353
8473
|
}
|
|
8354
8474
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ControlPanelComponent, [{
|
|
8355
8475
|
type: Component,
|
|
@@ -8479,7 +8599,7 @@ class DataPagerComponent extends ComponentBase {
|
|
|
8479
8599
|
</file>
|
|
8480
8600
|
*/
|
|
8481
8601
|
//Node
|
|
8482
|
-
const _c0$
|
|
8602
|
+
const _c0$7 = ["*"];
|
|
8483
8603
|
function SignInButtonComponent_a_0_ng_container_1_Template(rf, ctx) { if (rf & 1) {
|
|
8484
8604
|
i0.ɵɵelementContainer(0);
|
|
8485
8605
|
} }
|
|
@@ -8543,14 +8663,14 @@ class SignInButtonComponent extends ComponentBase {
|
|
|
8543
8663
|
}
|
|
8544
8664
|
}
|
|
8545
8665
|
static { this.ɵfac = /*@__PURE__*/ (() => { let ɵSignInButtonComponent_BaseFactory; return function SignInButtonComponent_Factory(__ngFactoryType__) { return (ɵSignInButtonComponent_BaseFactory || (ɵSignInButtonComponent_BaseFactory = i0.ɵɵgetInheritedFactory(SignInButtonComponent)))(__ngFactoryType__ || SignInButtonComponent); }; })(); }
|
|
8546
|
-
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: SignInButtonComponent, selectors: [["anatoly-signin-button"]], inputs: { qs: "qs" }, standalone: false, features: [i0.ɵɵInheritDefinitionFeature], ngContentSelectors: _c0$
|
|
8666
|
+
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) {
|
|
8547
8667
|
i0.ɵɵprojectionDef();
|
|
8548
8668
|
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);
|
|
8549
8669
|
} if (rf & 2) {
|
|
8550
8670
|
i0.ɵɵproperty("ngIf", ctx.external);
|
|
8551
8671
|
i0.ɵɵadvance();
|
|
8552
8672
|
i0.ɵɵproperty("ngIf", !ctx.external);
|
|
8553
|
-
} }, dependencies: [i1$
|
|
8673
|
+
} }, dependencies: [i1$2.NgIf, i1$2.NgTemplateOutlet, i1$1.RouterLink, AReplacerDirective], encapsulation: 2 }); }
|
|
8554
8674
|
}
|
|
8555
8675
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SignInButtonComponent, [{
|
|
8556
8676
|
type: Component,
|
|
@@ -8576,7 +8696,7 @@ class SignInButtonComponent extends ComponentBase {
|
|
|
8576
8696
|
</file>
|
|
8577
8697
|
*/
|
|
8578
8698
|
//Node
|
|
8579
|
-
const _c0$
|
|
8699
|
+
const _c0$6 = ["*"];
|
|
8580
8700
|
function SignOutButtonComponent_a_0_ng_container_1_Template(rf, ctx) { if (rf & 1) {
|
|
8581
8701
|
i0.ɵɵelementContainer(0);
|
|
8582
8702
|
} }
|
|
@@ -8640,14 +8760,14 @@ class SignOutButtonComponent extends ComponentBase {
|
|
|
8640
8760
|
}
|
|
8641
8761
|
}
|
|
8642
8762
|
static { this.ɵfac = /*@__PURE__*/ (() => { let ɵSignOutButtonComponent_BaseFactory; return function SignOutButtonComponent_Factory(__ngFactoryType__) { return (ɵSignOutButtonComponent_BaseFactory || (ɵSignOutButtonComponent_BaseFactory = i0.ɵɵgetInheritedFactory(SignOutButtonComponent)))(__ngFactoryType__ || SignOutButtonComponent); }; })(); }
|
|
8643
|
-
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: SignOutButtonComponent, selectors: [["anatoly-signout-button"]], inputs: { qs: "qs" }, standalone: false, features: [i0.ɵɵInheritDefinitionFeature], ngContentSelectors: _c0$
|
|
8763
|
+
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) {
|
|
8644
8764
|
i0.ɵɵprojectionDef();
|
|
8645
8765
|
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);
|
|
8646
8766
|
} if (rf & 2) {
|
|
8647
8767
|
i0.ɵɵproperty("ngIf", ctx.external);
|
|
8648
8768
|
i0.ɵɵadvance();
|
|
8649
8769
|
i0.ɵɵproperty("ngIf", !ctx.external);
|
|
8650
|
-
} }, dependencies: [i1$
|
|
8770
|
+
} }, dependencies: [i1$2.NgIf, i1$2.NgTemplateOutlet, i1$1.RouterLink, AReplacerDirective], encapsulation: 2 }); }
|
|
8651
8771
|
}
|
|
8652
8772
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SignOutButtonComponent, [{
|
|
8653
8773
|
type: Component,
|
|
@@ -8657,103 +8777,6 @@ class SignOutButtonComponent extends ComponentBase {
|
|
|
8657
8777
|
}] }); })();
|
|
8658
8778
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(SignOutButtonComponent, { className: "SignOutButtonComponent", filePath: "lib/ui/components/identity/signout-button.component.ts", lineNumber: 29 }); })();
|
|
8659
8779
|
|
|
8660
|
-
/*
|
|
8661
|
-
<file>
|
|
8662
|
-
Project:
|
|
8663
|
-
@osovitny/anatoly
|
|
8664
|
-
|
|
8665
|
-
Authors:
|
|
8666
|
-
Vadim Osovitny vadim.osovitny@osovitny.com
|
|
8667
|
-
Anatoly Osovitny anatoly.osovitny@osovitny.com
|
|
8668
|
-
|
|
8669
|
-
Created:
|
|
8670
|
-
4 Jul 2018
|
|
8671
|
-
|
|
8672
|
-
Copyright (c) 2016-2025 Osovitny Inc. All rights reserved.
|
|
8673
|
-
</file>
|
|
8674
|
-
*/
|
|
8675
|
-
//Node
|
|
8676
|
-
const _c0$6 = ["*"];
|
|
8677
|
-
function SignUpButtonComponent_a_0_ng_container_1_Template(rf, ctx) { if (rf & 1) {
|
|
8678
|
-
i0.ɵɵelementContainer(0);
|
|
8679
|
-
} }
|
|
8680
|
-
function SignUpButtonComponent_a_0_Template(rf, ctx) { if (rf & 1) {
|
|
8681
|
-
i0.ɵɵelementStart(0, "a", 4);
|
|
8682
|
-
i0.ɵɵtemplate(1, SignUpButtonComponent_a_0_ng_container_1_Template, 1, 0, "ng-container", 5);
|
|
8683
|
-
i0.ɵɵelementEnd();
|
|
8684
|
-
} if (rf & 2) {
|
|
8685
|
-
const ctx_r0 = i0.ɵɵnextContext();
|
|
8686
|
-
const contentTemplate_r2 = i0.ɵɵreference(3);
|
|
8687
|
-
i0.ɵɵclassMap(ctx_r0.classes);
|
|
8688
|
-
i0.ɵɵproperty("href", ctx_r0.url, i0.ɵɵsanitizeUrl);
|
|
8689
|
-
i0.ɵɵadvance();
|
|
8690
|
-
i0.ɵɵproperty("ngTemplateOutlet", contentTemplate_r2);
|
|
8691
|
-
} }
|
|
8692
|
-
function SignUpButtonComponent_a_1_ng_container_1_Template(rf, ctx) { if (rf & 1) {
|
|
8693
|
-
i0.ɵɵelementContainer(0);
|
|
8694
|
-
} }
|
|
8695
|
-
function SignUpButtonComponent_a_1_Template(rf, ctx) { if (rf & 1) {
|
|
8696
|
-
i0.ɵɵelementStart(0, "a", 6);
|
|
8697
|
-
i0.ɵɵtemplate(1, SignUpButtonComponent_a_1_ng_container_1_Template, 1, 0, "ng-container", 5);
|
|
8698
|
-
i0.ɵɵelementEnd();
|
|
8699
|
-
} if (rf & 2) {
|
|
8700
|
-
const ctx_r0 = i0.ɵɵnextContext();
|
|
8701
|
-
const contentTemplate_r2 = i0.ɵɵreference(3);
|
|
8702
|
-
i0.ɵɵclassMap(ctx_r0.classes);
|
|
8703
|
-
i0.ɵɵproperty("routerLink", ctx_r0.url);
|
|
8704
|
-
i0.ɵɵadvance();
|
|
8705
|
-
i0.ɵɵproperty("ngTemplateOutlet", contentTemplate_r2);
|
|
8706
|
-
} }
|
|
8707
|
-
function SignUpButtonComponent_ng_template_2_span_3_Template(rf, ctx) { if (rf & 1) {
|
|
8708
|
-
i0.ɵɵelementStart(0, "span");
|
|
8709
|
-
i0.ɵɵtext(1, "Sign Up");
|
|
8710
|
-
i0.ɵɵelementEnd();
|
|
8711
|
-
} }
|
|
8712
|
-
function SignUpButtonComponent_ng_template_2_Template(rf, ctx) { if (rf & 1) {
|
|
8713
|
-
i0.ɵɵelementStart(0, "span", null, 1);
|
|
8714
|
-
i0.ɵɵprojection(2);
|
|
8715
|
-
i0.ɵɵelementEnd();
|
|
8716
|
-
i0.ɵɵtemplate(3, SignUpButtonComponent_ng_template_2_span_3_Template, 2, 0, "span", 7);
|
|
8717
|
-
} if (rf & 2) {
|
|
8718
|
-
const ref_r3 = i0.ɵɵreference(1);
|
|
8719
|
-
i0.ɵɵadvance(3);
|
|
8720
|
-
i0.ɵɵproperty("ngIf", !ref_r3.innerHTML.trim());
|
|
8721
|
-
} }
|
|
8722
|
-
class SignUpButtonComponent extends ComponentBase {
|
|
8723
|
-
constructor() {
|
|
8724
|
-
super(...arguments);
|
|
8725
|
-
this.external = false;
|
|
8726
|
-
}
|
|
8727
|
-
ngOnInit() {
|
|
8728
|
-
let url = MSALConfig.ui.signup;
|
|
8729
|
-
if (url) {
|
|
8730
|
-
this.external = url.indexOf('http') > -1;
|
|
8731
|
-
if (this.external) {
|
|
8732
|
-
this.url = url + (this.qs ? '?' + this.qs : '');
|
|
8733
|
-
}
|
|
8734
|
-
else {
|
|
8735
|
-
this.url = url;
|
|
8736
|
-
}
|
|
8737
|
-
}
|
|
8738
|
-
}
|
|
8739
|
-
static { this.ɵfac = /*@__PURE__*/ (() => { let ɵSignUpButtonComponent_BaseFactory; return function SignUpButtonComponent_Factory(__ngFactoryType__) { return (ɵSignUpButtonComponent_BaseFactory || (ɵSignUpButtonComponent_BaseFactory = i0.ɵɵgetInheritedFactory(SignUpButtonComponent)))(__ngFactoryType__ || SignUpButtonComponent); }; })(); }
|
|
8740
|
-
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) {
|
|
8741
|
-
i0.ɵɵprojectionDef();
|
|
8742
|
-
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);
|
|
8743
|
-
} if (rf & 2) {
|
|
8744
|
-
i0.ɵɵproperty("ngIf", ctx.external);
|
|
8745
|
-
i0.ɵɵadvance();
|
|
8746
|
-
i0.ɵɵproperty("ngIf", !ctx.external);
|
|
8747
|
-
} }, dependencies: [i1$1.NgIf, i1$1.NgTemplateOutlet, i1$2.RouterLink, AReplacerDirective], encapsulation: 2 }); }
|
|
8748
|
-
}
|
|
8749
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SignUpButtonComponent, [{
|
|
8750
|
-
type: Component,
|
|
8751
|
-
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" }]
|
|
8752
|
-
}], null, { qs: [{
|
|
8753
|
-
type: Input
|
|
8754
|
-
}] }); })();
|
|
8755
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(SignUpButtonComponent, { className: "SignUpButtonComponent", filePath: "lib/ui/components/identity/signup-button.component.ts", lineNumber: 29 }); })();
|
|
8756
|
-
|
|
8757
8780
|
/*
|
|
8758
8781
|
<file>
|
|
8759
8782
|
Project:
|
|
@@ -8806,7 +8829,7 @@ class NodataComponent {
|
|
|
8806
8829
|
i0.ɵɵconditionalCreate(0, NodataComponent_Conditional_0_Template, 6, 2, "div", 0);
|
|
8807
8830
|
} if (rf & 2) {
|
|
8808
8831
|
i0.ɵɵconditional(!ctx.dataLoading && ctx.dataLoaded && !ctx.dataFound ? 0 : -1);
|
|
8809
|
-
} }, dependencies: [i1$
|
|
8832
|
+
} }, dependencies: [i1$2.NgIf, i1$7.FaIconComponent], encapsulation: 2 }); }
|
|
8810
8833
|
}
|
|
8811
8834
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(NodataComponent, [{
|
|
8812
8835
|
type: Component,
|
|
@@ -8905,7 +8928,7 @@ class LoadingComponent extends ComponentBase {
|
|
|
8905
8928
|
i0.ɵɵtemplate(0, LoadingComponent_div_0_Template, 2, 0, "div", 0);
|
|
8906
8929
|
} if (rf & 2) {
|
|
8907
8930
|
i0.ɵɵproperty("ngIf", ctx.show);
|
|
8908
|
-
} }, dependencies: [i1$
|
|
8931
|
+
} }, dependencies: [i1$2.NgIf], encapsulation: 2 }); }
|
|
8909
8932
|
}
|
|
8910
8933
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(LoadingComponent, [{
|
|
8911
8934
|
type: Component,
|
|
@@ -8986,17 +9009,17 @@ class PageSpinnerComponent {
|
|
|
8986
9009
|
ngOnDestroy() {
|
|
8987
9010
|
this.isSpinnerVisible = false;
|
|
8988
9011
|
}
|
|
8989
|
-
static { this.ɵfac = function PageSpinnerComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || PageSpinnerComponent)(i0.ɵɵdirectiveInject(i1$
|
|
9012
|
+
static { this.ɵfac = function PageSpinnerComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || PageSpinnerComponent)(i0.ɵɵdirectiveInject(i1$1.Router)); }; }
|
|
8990
9013
|
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) {
|
|
8991
9014
|
i0.ɵɵtemplate(0, PageSpinnerComponent_div_0_Template, 3, 1, "div", 0);
|
|
8992
9015
|
} if (rf & 2) {
|
|
8993
9016
|
i0.ɵɵproperty("ngIf", ctx.isSpinnerVisible);
|
|
8994
|
-
} }, dependencies: [i1$
|
|
9017
|
+
} }, dependencies: [i1$2.NgIf], encapsulation: 2 }); }
|
|
8995
9018
|
}
|
|
8996
9019
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(PageSpinnerComponent, [{
|
|
8997
9020
|
type: Component,
|
|
8998
9021
|
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" }]
|
|
8999
|
-
}], () => [{ type: i1$
|
|
9022
|
+
}], () => [{ type: i1$1.Router }], { backgroundColor: [{
|
|
9000
9023
|
type: Input
|
|
9001
9024
|
}], spinner: [{
|
|
9002
9025
|
type: Input
|
|
@@ -9156,7 +9179,7 @@ class UrlSlugComponent extends EditComponentBase {
|
|
|
9156
9179
|
i0.ɵɵproperty("formControlName", ctx.controlName);
|
|
9157
9180
|
i0.ɵɵadvance();
|
|
9158
9181
|
i0.ɵɵproperty("ngIf", ctx.isGoButtonVisible);
|
|
9159
|
-
} }, dependencies: [i1$
|
|
9182
|
+
} }, 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 }); }
|
|
9160
9183
|
}
|
|
9161
9184
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(UrlSlugComponent, [{
|
|
9162
9185
|
type: Component,
|
|
@@ -9212,7 +9235,7 @@ class FeatureWillBeReadyComponent extends ComponentBase {
|
|
|
9212
9235
|
i0.ɵɵproperty("ngIf", ctx.readyDate);
|
|
9213
9236
|
i0.ɵɵadvance();
|
|
9214
9237
|
i0.ɵɵproperty("ngIf", !ctx.readyDate);
|
|
9215
|
-
} }, dependencies: [i1$
|
|
9238
|
+
} }, dependencies: [i1$2.NgIf], encapsulation: 2 }); }
|
|
9216
9239
|
}
|
|
9217
9240
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(FeatureWillBeReadyComponent, [{
|
|
9218
9241
|
type: Component,
|
|
@@ -9368,7 +9391,7 @@ class FormValidationSummaryComponent extends ValidationSummaryComponent {
|
|
|
9368
9391
|
i0.ɵɵtemplate(0, FormValidationSummaryComponent_div_0_Template, 5, 1, "div", 0);
|
|
9369
9392
|
} if (rf & 2) {
|
|
9370
9393
|
i0.ɵɵproperty("ngIf", ctx.visible);
|
|
9371
|
-
} }, dependencies: [i1$
|
|
9394
|
+
} }, dependencies: [i1$2.NgForOf, i1$2.NgIf], encapsulation: 2 }); }
|
|
9372
9395
|
}
|
|
9373
9396
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(FormValidationSummaryComponent, [{
|
|
9374
9397
|
type: Component,
|
|
@@ -9570,7 +9593,7 @@ class ContactUsForm extends EditComponentBase {
|
|
|
9570
9593
|
i0.ɵɵproperty("formGroup", ctx.formGroup)("formSubmitted", ctx.formSubmitted);
|
|
9571
9594
|
i0.ɵɵadvance(3);
|
|
9572
9595
|
i0.ɵɵproperty("ngIf", ctx.showActionButtons);
|
|
9573
|
-
} }, dependencies: [i1$
|
|
9596
|
+
} }, 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 }); }
|
|
9574
9597
|
}
|
|
9575
9598
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ContactUsForm, [{
|
|
9576
9599
|
type: Component,
|
|
@@ -9642,7 +9665,7 @@ class ContactUsDialog extends DialogBase {
|
|
|
9642
9665
|
i0.ɵɵtemplate(0, ContactUsDialog_kendo_dialog_0_Template, 10, 2, "kendo-dialog", 1);
|
|
9643
9666
|
} if (rf & 2) {
|
|
9644
9667
|
i0.ɵɵproperty("ngIf", ctx.isOpen);
|
|
9645
|
-
} }, dependencies: [i1$
|
|
9668
|
+
} }, dependencies: [i1$2.NgIf, i4$1.DialogComponent, i4$1.DialogActionsComponent, ContactUsForm], encapsulation: 2 }); }
|
|
9646
9669
|
}
|
|
9647
9670
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ContactUsDialog, [{
|
|
9648
9671
|
type: Component,
|
|
@@ -9943,7 +9966,7 @@ class AddressComponent extends EditComponentBase {
|
|
|
9943
9966
|
i0.ɵɵproperty("ngForOf", ctx.countryData);
|
|
9944
9967
|
i0.ɵɵadvance();
|
|
9945
9968
|
i0.ɵɵproperty("formGroup", ctx.formGroup)("formSubmitted", ctx.formSubmitted);
|
|
9946
|
-
} }, dependencies: [i1$
|
|
9969
|
+
} }, 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 }); }
|
|
9947
9970
|
}
|
|
9948
9971
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(AddressComponent, [{
|
|
9949
9972
|
type: Component,
|
|
@@ -10072,7 +10095,7 @@ class CompanyComponent extends EditComponentBase {
|
|
|
10072
10095
|
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(20, _c0, ctx.isControlInvalid("company_websiteUrl")));
|
|
10073
10096
|
i0.ɵɵadvance(4);
|
|
10074
10097
|
i0.ɵɵproperty("formGroup", ctx.formGroup)("formSubmitted", ctx.formSubmitted);
|
|
10075
|
-
} }, dependencies: [i1$
|
|
10098
|
+
} }, 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 }); }
|
|
10076
10099
|
}
|
|
10077
10100
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CompanyComponent, [{
|
|
10078
10101
|
type: Component,
|
|
@@ -10757,7 +10780,7 @@ class AnatolyIAMPagesModule {
|
|
|
10757
10780
|
}]
|
|
10758
10781
|
}], null, null); })();
|
|
10759
10782
|
(function () { (typeof ngJitMode === "undefined" || ngJitMode) && i0.ɵɵsetNgModuleScope(AnatolyIAMPagesModule, { declarations: [SignInPage, SignUpPage, SignOutPage], imports: [CommonModule,
|
|
10760
|
-
RouterModule, i1$
|
|
10783
|
+
RouterModule, i1$1.RouterModule] }); })();
|
|
10761
10784
|
|
|
10762
10785
|
/*
|
|
10763
10786
|
<file>
|