@osovitny/anatoly 3.17.118 → 3.17.120

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.
@@ -1,13 +1,13 @@
1
1
  import * as i0 from '@angular/core';
2
- import { Injectable, Inject, EventEmitter, Output, Pipe, APP_INITIALIZER, Injector, NgModule, Component, Input, ChangeDetectionStrategy, ViewChild, Directive, ViewEncapsulation, HostBinding, HostListener, Optional, SkipSelf } from '@angular/core';
2
+ import { Injectable, EventEmitter, Component, Input, Output, Inject, Pipe, APP_INITIALIZER, Injector, NgModule, ChangeDetectionStrategy, ViewChild, Directive, ViewEncapsulation, HostBinding, HostListener, Optional, SkipSelf } from '@angular/core';
3
3
  import { BehaviorSubject, Subject, filter, takeUntil, map as map$1, catchError, of, merge, forkJoin, 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 { HttpResponse, HttpClientModule, HttpClient, HTTP_INTERCEPTORS } from '@angular/common/http';
7
- import * as i1$2 from '@angular/common';
7
+ import * as i1$1 from '@angular/common';
8
8
  import { LOCATION_INITIALIZED, DOCUMENT, CommonModule } from '@angular/common';
9
9
  import js_beautify from 'js-beautify';
10
- import * as i1$1 from '@angular/router';
10
+ import * as i1$2 from '@angular/router';
11
11
  import { NavigationEnd, NavigationStart, NavigationCancel, NavigationError, RouterModule } from '@angular/router';
12
12
  import { v4 } from 'uuid';
13
13
  import * as i4 from '@azure/msal-angular';
@@ -487,6 +487,215 @@ class AppContextService extends ApiServiceBase {
487
487
  type: Injectable
488
488
  }], () => [{ type: i1.HttpClient }, { type: LocalStorageService }, { type: SessionStorageService }], null); })();
489
489
 
490
+ /*
491
+ <file>
492
+ Project:
493
+ @osovitny/anatoly
494
+
495
+ Authors:
496
+ Vadim Osovitny vadim.osovitny@osovitny.com
497
+ Anatoly Osovitny anatoly.osovitny@osovitny.com
498
+
499
+ Created:
500
+ 14 Aug 2018
501
+
502
+ Copyright (c) 2016-2025 Osovitny Inc. All rights reserved.
503
+ </file>
504
+ */
505
+ //Node
506
+ function BuyAccessButtonComponent_div_0_div_1_button_1_Template(rf, ctx) { if (rf & 1) {
507
+ i0.ɵɵelementStart(0, "button", 3);
508
+ i0.ɵɵtext(1, " Your Plan ");
509
+ i0.ɵɵelementEnd();
510
+ } }
511
+ function BuyAccessButtonComponent_div_0_div_1_button_2_Template(rf, ctx) { if (rf & 1) {
512
+ const _r5 = i0.ɵɵgetCurrentView();
513
+ i0.ɵɵelementStart(0, "button", 4);
514
+ i0.ɵɵlistener("click", function BuyAccessButtonComponent_div_0_div_1_button_2_Template_button_click_0_listener() { i0.ɵɵrestoreView(_r5); const ctx_r4 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r4.onPlanSelect()); });
515
+ i0.ɵɵtext(1, " Buy Now ");
516
+ i0.ɵɵelementEnd();
517
+ } }
518
+ function BuyAccessButtonComponent_div_0_div_1_Template(rf, ctx) { if (rf & 1) {
519
+ i0.ɵɵelementStart(0, "div");
520
+ 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);
521
+ i0.ɵɵelementEnd();
522
+ } if (rf & 2) {
523
+ const ctx_r1 = i0.ɵɵnextContext(2);
524
+ i0.ɵɵadvance();
525
+ i0.ɵɵproperty("ngIf", ctx_r1.plan == ctx_r1.currentPlan);
526
+ i0.ɵɵadvance();
527
+ i0.ɵɵproperty("ngIf", ctx_r1.plan != ctx_r1.currentPlan);
528
+ } }
529
+ function BuyAccessButtonComponent_div_0_Template(rf, ctx) { if (rf & 1) {
530
+ i0.ɵɵelementStart(0, "div");
531
+ i0.ɵɵtemplate(1, BuyAccessButtonComponent_div_0_div_1_Template, 3, 2, "div", 0);
532
+ i0.ɵɵelementEnd();
533
+ } if (rf & 2) {
534
+ const ctx_r0 = i0.ɵɵnextContext();
535
+ i0.ɵɵadvance();
536
+ i0.ɵɵproperty("ngIf", ctx_r0.isUserSignedIn && ctx_r0.visibleIfUserSignedIn);
537
+ } }
538
+ class BuyAccessButtonComponent {
539
+ constructor(appContext) {
540
+ this.appContext = appContext;
541
+ this.contextUpdated = false;
542
+ this.isUserSignedIn = false;
543
+ this.currentPlan = -1;
544
+ this.visibleIfUserSignedIn = false;
545
+ //Outputs
546
+ this.planselect = new EventEmitter();
547
+ }
548
+ ngOnInit() {
549
+ this.setDefaults();
550
+ this.setValues();
551
+ }
552
+ setDefaults() {
553
+ }
554
+ setValues() {
555
+ this.appContext.updated$.subscribe((context) => {
556
+ if (!context) {
557
+ return;
558
+ }
559
+ this.isUserSignedIn = context.isUserSignedIn;
560
+ if (this.isUserSignedIn) {
561
+ let billing = context.billing.profile;
562
+ this.currentPlan = billing.billingPlan;
563
+ }
564
+ this.contextUpdated = true;
565
+ });
566
+ }
567
+ //Events
568
+ onPlanSelect() {
569
+ this.planselect.emit(this.plan);
570
+ }
571
+ static { this.ɵfac = function BuyAccessButtonComponent_Factory(t) { return new (t || BuyAccessButtonComponent)(i0.ɵɵdirectiveInject(AppContextService)); }; }
572
+ static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: BuyAccessButtonComponent, selectors: [["anatoly-billing-buyaccess-button"]], inputs: { plan: "plan", visibleIfUserSignedIn: "visibleIfUserSignedIn" }, outputs: { planselect: "planselect" }, 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) {
573
+ i0.ɵɵtemplate(0, BuyAccessButtonComponent_div_0_Template, 2, 1, "div", 0);
574
+ } if (rf & 2) {
575
+ i0.ɵɵproperty("ngIf", ctx.contextUpdated);
576
+ } }, dependencies: [i1$1.NgIf], encapsulation: 2 }); }
577
+ }
578
+ (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(BuyAccessButtonComponent, [{
579
+ type: Component,
580
+ args: [{ selector: 'anatoly-billing-buyaccess-button', 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 == currentPlan\">\r\n Your Plan\r\n </button>\r\n\r\n <button class=\"btn btn-block btn-warning selectPlan\" *ngIf=\"plan != currentPlan\"\r\n (click)=\"onPlanSelect()\">\r\n Buy Now\r\n </button>\r\n </div>\r\n</div>\r\n" }]
581
+ }], () => [{ type: AppContextService }], { plan: [{
582
+ type: Input
583
+ }], visibleIfUserSignedIn: [{
584
+ type: Input
585
+ }], planselect: [{
586
+ type: Output
587
+ }] }); })();
588
+ (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(BuyAccessButtonComponent, { className: "BuyAccessButtonComponent", filePath: "lib\\billing\\components\\buttons\\buyaccess-button.component.ts", lineNumber: 27 }); })();
589
+
590
+ /*
591
+ <file>
592
+ Project:
593
+ @osovitny/anatoly
594
+
595
+ Authors:
596
+ Vadim Osovitny vadim.osovitny@osovitny.com
597
+ Anatoly Osovitny anatoly.osovitny@osovitny.com
598
+
599
+ Created:
600
+ 1 Jun 2018
601
+
602
+ Copyright (c) 2016-2025 Osovitny Inc. All rights reserved.
603
+ </file>
604
+ */
605
+ //Node
606
+ function SubscribePlanButtonComponent_div_0_div_1_button_1_Template(rf, ctx) { if (rf & 1) {
607
+ i0.ɵɵelementStart(0, "button", 4);
608
+ i0.ɵɵtext(1, " Your Plan ");
609
+ i0.ɵɵelementEnd();
610
+ } }
611
+ function SubscribePlanButtonComponent_div_0_div_1_button_2_Template(rf, ctx) { if (rf & 1) {
612
+ i0.ɵɵelementStart(0, "button", 5);
613
+ i0.ɵɵtext(1, " Requested ");
614
+ i0.ɵɵelementEnd();
615
+ } }
616
+ function SubscribePlanButtonComponent_div_0_div_1_button_3_Template(rf, ctx) { if (rf & 1) {
617
+ const _r6 = i0.ɵɵgetCurrentView();
618
+ i0.ɵɵelementStart(0, "button", 6);
619
+ i0.ɵɵlistener("click", function SubscribePlanButtonComponent_div_0_div_1_button_3_Template_button_click_0_listener() { i0.ɵɵrestoreView(_r6); const ctx_r5 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r5.onPlanSelect()); });
620
+ i0.ɵɵtext(1, " Subscribe ");
621
+ i0.ɵɵelementEnd();
622
+ } }
623
+ function SubscribePlanButtonComponent_div_0_div_1_Template(rf, ctx) { if (rf & 1) {
624
+ i0.ɵɵelementStart(0, "div");
625
+ 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);
626
+ i0.ɵɵelementEnd();
627
+ } if (rf & 2) {
628
+ const ctx_r1 = i0.ɵɵnextContext(2);
629
+ i0.ɵɵadvance();
630
+ i0.ɵɵproperty("ngIf", ctx_r1.plan == ctx_r1.currentPlan);
631
+ i0.ɵɵadvance();
632
+ i0.ɵɵproperty("ngIf", ctx_r1.plan == ctx_r1.requestedPlan);
633
+ i0.ɵɵadvance();
634
+ i0.ɵɵproperty("ngIf", ctx_r1.plan != ctx_r1.currentPlan && ctx_r1.plan != ctx_r1.requestedPlan);
635
+ } }
636
+ function SubscribePlanButtonComponent_div_0_Template(rf, ctx) { if (rf & 1) {
637
+ i0.ɵɵelementStart(0, "div");
638
+ i0.ɵɵtemplate(1, SubscribePlanButtonComponent_div_0_div_1_Template, 4, 3, "div", 0);
639
+ i0.ɵɵelementEnd();
640
+ } if (rf & 2) {
641
+ const ctx_r0 = i0.ɵɵnextContext();
642
+ i0.ɵɵadvance();
643
+ i0.ɵɵproperty("ngIf", ctx_r0.isUserSignedIn && ctx_r0.visibleIfUserSignedIn);
644
+ } }
645
+ class SubscribePlanButtonComponent {
646
+ constructor(appContext) {
647
+ this.appContext = appContext;
648
+ this.contextUpdated = false;
649
+ this.isUserSignedIn = false;
650
+ this.currentPlan = -1;
651
+ this.requestedPlan = -1;
652
+ this.visibleIfUserSignedIn = false;
653
+ //Outputs
654
+ this.planselect = new EventEmitter();
655
+ }
656
+ ngOnInit() {
657
+ this.setDefaults();
658
+ this.setValues();
659
+ }
660
+ setDefaults() {
661
+ }
662
+ setValues() {
663
+ this.appContext.updated$.subscribe((context) => {
664
+ if (!context) {
665
+ return;
666
+ }
667
+ this.isUserSignedIn = context.isUserSignedIn;
668
+ if (this.isUserSignedIn) {
669
+ let billing = context.billing.profile;
670
+ this.currentPlan = billing.billingPlan;
671
+ this.requestedPlan = billing.requestedBillingPlan ?? -1;
672
+ }
673
+ this.contextUpdated = true;
674
+ });
675
+ }
676
+ //Events
677
+ onPlanSelect() {
678
+ this.planselect.emit(this.plan);
679
+ }
680
+ static { this.ɵfac = function SubscribePlanButtonComponent_Factory(t) { return new (t || SubscribePlanButtonComponent)(i0.ɵɵdirectiveInject(AppContextService)); }; }
681
+ static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: SubscribePlanButtonComponent, selectors: [["anatoly-billing-subscribe-plan-button"]], inputs: { plan: "plan", visibleIfUserSignedIn: "visibleIfUserSignedIn" }, outputs: { planselect: "planselect" }, 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) {
682
+ i0.ɵɵtemplate(0, SubscribePlanButtonComponent_div_0_Template, 2, 1, "div", 0);
683
+ } if (rf & 2) {
684
+ i0.ɵɵproperty("ngIf", ctx.contextUpdated);
685
+ } }, dependencies: [i1$1.NgIf], encapsulation: 2 }); }
686
+ }
687
+ (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SubscribePlanButtonComponent, [{
688
+ type: Component,
689
+ args: [{ selector: 'anatoly-billing-subscribe-plan-button', 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 == currentPlan\">\r\n Your Plan\r\n </button>\r\n\r\n <button class=\"btn btn-block btn-warning selectPlan\" *ngIf=\"plan == requestedPlan\">\r\n Requested\r\n </button>\r\n\r\n <button class=\"btn btn-block btn-warning selectPlan\" *ngIf=\"plan != currentPlan && plan != requestedPlan\"\r\n (click)=\"onPlanSelect()\">\r\n Subscribe\r\n </button>\r\n </div>\r\n</div>\r\n" }]
690
+ }], () => [{ type: AppContextService }], { plan: [{
691
+ type: Input
692
+ }], visibleIfUserSignedIn: [{
693
+ type: Input
694
+ }], planselect: [{
695
+ type: Output
696
+ }] }); })();
697
+ (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(SubscribePlanButtonComponent, { className: "SubscribePlanButtonComponent", filePath: "lib\\billing\\components\\buttons\\subscribe-plan-button.component.ts", lineNumber: 27 }); })();
698
+
490
699
  /*
491
700
  <file>
492
701
  Project:
@@ -1043,6 +1252,11 @@ var PaymentStage;
1043
1252
  PaymentStage[PaymentStage["External"] = 1] = "External";
1044
1253
  PaymentStage[PaymentStage["Internal"] = 2] = "Internal";
1045
1254
  })(PaymentStage || (PaymentStage = {}));
1255
+ var SubscriptionProvider;
1256
+ (function (SubscriptionProvider) {
1257
+ SubscriptionProvider[SubscriptionProvider["PayPal"] = 1] = "PayPal";
1258
+ SubscriptionProvider[SubscriptionProvider["Stripe"] = 2] = "Stripe";
1259
+ })(SubscriptionProvider || (SubscriptionProvider = {}));
1046
1260
 
1047
1261
  /*
1048
1262
  <file>
@@ -1155,12 +1369,12 @@ class GoServiceBase {
1155
1369
  error500() {
1156
1370
  this.navigate([this.rootRoute + '/errors/500']);
1157
1371
  }
1158
- static { this.ɵfac = function GoServiceBase_Factory(t) { return new (t || GoServiceBase)(i0.ɵɵinject(i1$1.ActivatedRoute), i0.ɵɵinject(i1$1.Router)); }; }
1372
+ static { this.ɵfac = function GoServiceBase_Factory(t) { return new (t || GoServiceBase)(i0.ɵɵinject(i1$2.ActivatedRoute), i0.ɵɵinject(i1$2.Router)); }; }
1159
1373
  static { this.ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token: GoServiceBase, factory: GoServiceBase.ɵfac }); }
1160
1374
  }
1161
1375
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(GoServiceBase, [{
1162
1376
  type: Injectable
1163
- }], () => [{ type: i1$1.ActivatedRoute }, { type: i1$1.Router }], null); })();
1377
+ }], () => [{ type: i1$2.ActivatedRoute }, { type: i1$2.Router }], null); })();
1164
1378
 
1165
1379
  /*
1166
1380
  <file>
@@ -1812,7 +2026,7 @@ class AuthService extends ApiServiceBase {
1812
2026
  };
1813
2027
  this.login(resetPasswordFlowRequest);
1814
2028
  }
1815
- static { this.ɵfac = function AuthService_Factory(t) { return new (t || 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)); }; }
2029
+ static { this.ɵfac = function AuthService_Factory(t) { return new (t || AuthService)(i0.ɵɵinject(i1.HttpClient), i0.ɵɵinject(i1$2.Router), i0.ɵɵinject(AppContextService), i0.ɵɵinject(MSAL_GUARD_CONFIG), i0.ɵɵinject(i4.MsalService), i0.ɵɵinject(i4.MsalBroadcastService)); }; }
1816
2030
  static { this.ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token: AuthService, factory: AuthService.ɵfac, providedIn: 'root' }); }
1817
2031
  }
1818
2032
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(AuthService, [{
@@ -1820,7 +2034,7 @@ class AuthService extends ApiServiceBase {
1820
2034
  args: [{
1821
2035
  providedIn: 'root'
1822
2036
  }]
1823
- }], () => [{ type: i1.HttpClient }, { type: i1$1.Router }, { type: AppContextService }, { type: undefined, decorators: [{
2037
+ }], () => [{ type: i1.HttpClient }, { type: i1$2.Router }, { type: AppContextService }, { type: undefined, decorators: [{
1824
2038
  type: Inject,
1825
2039
  args: [MSAL_GUARD_CONFIG]
1826
2040
  }] }, { type: i4.MsalService }, { type: i4.MsalBroadcastService }], null); })();
@@ -1935,12 +2149,12 @@ class AppsGoServiceBase extends GoServiceBase {
1935
2149
  }
1936
2150
  }
1937
2151
  }
1938
- static { this.ɵfac = function AppsGoServiceBase_Factory(t) { return new (t || AppsGoServiceBase)(i0.ɵɵinject(i1$1.ActivatedRoute), i0.ɵɵinject(i1$1.Router), i0.ɵɵinject(AuthService), i0.ɵɵinject(LoggingService)); }; }
2152
+ static { this.ɵfac = function AppsGoServiceBase_Factory(t) { return new (t || AppsGoServiceBase)(i0.ɵɵinject(i1$2.ActivatedRoute), i0.ɵɵinject(i1$2.Router), i0.ɵɵinject(AuthService), i0.ɵɵinject(LoggingService)); }; }
1939
2153
  static { this.ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token: AppsGoServiceBase, factory: AppsGoServiceBase.ɵfac }); }
1940
2154
  }
1941
2155
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(AppsGoServiceBase, [{
1942
2156
  type: Injectable
1943
- }], () => [{ type: i1$1.ActivatedRoute }, { type: i1$1.Router }, { type: AuthService }, { type: LoggingService }], null); })();
2157
+ }], () => [{ type: i1$2.ActivatedRoute }, { type: i1$2.Router }, { type: AuthService }, { type: LoggingService }], null); })();
1944
2158
 
1945
2159
  /*
1946
2160
  <file>
@@ -1997,7 +2211,7 @@ class AuthenticationGuard extends MsalGuard {
1997
2211
  this.setInteractionType(route);
1998
2212
  return super.canActivate(route, state);
1999
2213
  }
2000
- static { this.ɵfac = function AuthenticationGuard_Factory(t) { return new (t || AuthenticationGuard)(i0.ɵɵinject(MSAL_GUARD_CONFIG), i0.ɵɵinject(i4.MsalBroadcastService), i0.ɵɵinject(i4.MsalService), i0.ɵɵinject(i1$2.Location), i0.ɵɵinject(i1$1.Router)); }; }
2214
+ static { this.ɵfac = function AuthenticationGuard_Factory(t) { return new (t || AuthenticationGuard)(i0.ɵɵinject(MSAL_GUARD_CONFIG), i0.ɵɵinject(i4.MsalBroadcastService), i0.ɵɵinject(i4.MsalService), i0.ɵɵinject(i1$1.Location), i0.ɵɵinject(i1$2.Router)); }; }
2001
2215
  static { this.ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token: AuthenticationGuard, factory: AuthenticationGuard.ɵfac }); }
2002
2216
  }
2003
2217
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(AuthenticationGuard, [{
@@ -2005,7 +2219,7 @@ class AuthenticationGuard extends MsalGuard {
2005
2219
  }], () => [{ type: undefined, decorators: [{
2006
2220
  type: Inject,
2007
2221
  args: [MSAL_GUARD_CONFIG]
2008
- }] }, { type: i4.MsalBroadcastService }, { type: i4.MsalService }, { type: i1$2.Location }, { type: i1$1.Router }], null); })();
2222
+ }] }, { type: i4.MsalBroadcastService }, { type: i4.MsalService }, { type: i1$1.Location }, { type: i1$2.Router }], null); })();
2009
2223
 
2010
2224
  /*
2011
2225
  <file>
@@ -3284,12 +3498,12 @@ class GoogleAnalyticsService {
3284
3498
  let ga = window.gtag;
3285
3499
  return ga;
3286
3500
  }
3287
- static { this.ɵfac = function GoogleAnalyticsService_Factory(t) { return new (t || GoogleAnalyticsService)(i0.ɵɵinject(i1$1.Router)); }; }
3501
+ static { this.ɵfac = function GoogleAnalyticsService_Factory(t) { return new (t || GoogleAnalyticsService)(i0.ɵɵinject(i1$2.Router)); }; }
3288
3502
  static { this.ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token: GoogleAnalyticsService, factory: GoogleAnalyticsService.ɵfac }); }
3289
3503
  }
3290
3504
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(GoogleAnalyticsService, [{
3291
3505
  type: Injectable
3292
- }], () => [{ type: i1$1.Router }], null); })();
3506
+ }], () => [{ type: i1$2.Router }], null); })();
3293
3507
 
3294
3508
  /*
3295
3509
  <file>
@@ -3801,322 +4015,16 @@ class Utils {
3801
4015
  "sgh-|shar|sie(-|m)|sk-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h-|v-|v )|" +
3802
4016
  "sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl-|tdg-|tel(i|m)|tim-|t-mo|to(pl|sh)|" +
3803
4017
  "ts(70|m-|m3|m5)|tx-9|up(\\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|-v)|" +
3804
- "vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(-| )|webc|whit|wi(g |nc|nw)|" +
3805
- "wmlb|wonu|x700|yas-|your|zeto|zte-", "i");
3806
- const isMobileUserAgent = mobileRegex.test(userAgent);
3807
- const isSmallScreen = window.innerWidth <= 800 && window.innerHeight <= 600;
3808
- const isTabletRegex = new RegExp("ipad|android(?!.*mobile)|tablet|kindle|playbook|silk|nexus 7|nexus 10|Macintosh|" +
3809
- "fire|sm-t|tab|gt-p|sch-i|xoom|sch-i|tf101|kftt|kfot|kfjw|kfsowi|a500|rim\\w", "i");
3810
- const isTabletUserAgent = isTabletRegex.test(userAgent);
3811
- return isMobileUserAgent && !isTabletUserAgent || isSmallScreen;
3812
- }
3813
- }
3814
-
3815
- /*
3816
- <file>
3817
- Project:
3818
- @osovitny/anatoly
3819
-
3820
- Authors:
3821
- Vadim Osovitny vadim.osovitny@osovitny.com
3822
- Anatoly Osovitny anatoly.osovitny@osovitny.com
3823
-
3824
- Created:
3825
- 2 Aug 2022
3826
-
3827
- Copyright (c) 2016-2025 Osovitny Inc. All rights reserved.
3828
- </file>
3829
- */
3830
- //consts
3831
-
3832
- /*
3833
- <file>
3834
- Project:
3835
- @osovitny/anatoly
3836
-
3837
- Authors:
3838
- Vadim Osovitny vadim.osovitny@osovitny.com
3839
- Anatoly Osovitny anatoly.osovitny@osovitny.com
3840
-
3841
- Created:
3842
- 28 Aug 2018
3843
-
3844
- Copyright (c) 2016-2025 Osovitny Inc. All rights reserved.
3845
- </file>
3846
- */
3847
- //Node
3848
- class ComponentBase {
3849
- constructor() {
3850
- this.isDevMode = false;
3851
- this.subs = new Subs();
3852
- //Component Data => usually loading from API
3853
- this.dataLoading = true;
3854
- this.dataLoaded = false;
3855
- this.dataFound = false;
3856
- this.applicationOneUrl = '/';
3857
- this.title = '';
3858
- this.isTitleVisible = true;
3859
- this.isRequired = false;
3860
- this.isDevMode = IsDevMode;
3861
- this.applicationType = 1;
3862
- this.applicationRoot = '/';
3863
- if (AppSettings) {
3864
- this.applicationType = AppSettings.id;
3865
- if (AppSettings.root != '/') {
3866
- this.applicationRoot = AppSettings.root;
3867
- }
3868
- let applicationOne = getAppSettingsById(1);
3869
- if (applicationOne) {
3870
- this.applicationOneUrl = applicationOne.baseUrl + applicationOne.root;
3871
- }
3872
- }
3873
- }
3874
- ngOnInit() {
3875
- }
3876
- ngOnDestroy() {
3877
- this.subs.unsubscribe();
3878
- }
3879
- getEntityId() {
3880
- return QSUtils.getValueByName("id");
3881
- }
3882
- dataStartedLoading() {
3883
- this.dataLoading = true;
3884
- this.dataLoaded = false;
3885
- this.dataFound = false;
3886
- }
3887
- dataLoadedAndNothingFound() {
3888
- this.dataLoadedAndFound(false);
3889
- }
3890
- dataLoadedAndFound(found = true) {
3891
- this.dataLoading = false;
3892
- this.dataLoaded = true;
3893
- this.dataFound = found;
3894
- }
3895
- static { this.ɵfac = function ComponentBase_Factory(t) { return new (t || ComponentBase)(); }; }
3896
- static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: ComponentBase, selectors: [["ng-component"]], inputs: { classes: "classes", title: "title", isTitleVisible: "isTitleVisible", isRequired: "isRequired" }, decls: 0, vars: 0, template: function ComponentBase_Template(rf, ctx) { }, encapsulation: 2 }); }
3897
- }
3898
- (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ComponentBase, [{
3899
- type: Component,
3900
- args: [{
3901
- template: ''
3902
- }]
3903
- }], () => [], { classes: [{
3904
- type: Input
3905
- }], title: [{
3906
- type: Input
3907
- }], isTitleVisible: [{
3908
- type: Input
3909
- }], isRequired: [{
3910
- type: Input
3911
- }] }); })();
3912
- (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ComponentBase, { className: "ComponentBase", filePath: "lib\\ui\\components\\base\\components\\component.ts", lineNumber: 26 }); })();
3913
-
3914
- /*
3915
- <file>
3916
- Project:
3917
- @osovitny/anatoly
3918
-
3919
- Authors:
3920
- Vadim Osovitny vadim.osovitny@osovitny.com
3921
- Anatoly Osovitny anatoly.osovitny@osovitny.com
3922
-
3923
- Created:
3924
- 4 Jul 2018
3925
-
3926
- Copyright (c) 2016-2025 Osovitny Inc. All rights reserved.
3927
- </file>
3928
- */
3929
- //Node
3930
- function SignUpButtonComponent_a_0_ng_container_1_Template(rf, ctx) { if (rf & 1) {
3931
- i0.ɵɵelementContainer(0);
3932
- } }
3933
- function SignUpButtonComponent_a_0_Template(rf, ctx) { if (rf & 1) {
3934
- i0.ɵɵelementStart(0, "a", 3);
3935
- i0.ɵɵtemplate(1, SignUpButtonComponent_a_0_ng_container_1_Template, 1, 0, "ng-container", 4);
3936
- i0.ɵɵelementEnd();
3937
- } if (rf & 2) {
3938
- const ctx_r0 = i0.ɵɵnextContext();
3939
- const _r3 = i0.ɵɵreference(3);
3940
- i0.ɵɵclassMap(ctx_r0.classes);
3941
- i0.ɵɵproperty("href", ctx_r0.url, i0.ɵɵsanitizeUrl);
3942
- i0.ɵɵadvance();
3943
- i0.ɵɵproperty("ngTemplateOutlet", _r3);
3944
- } }
3945
- function SignUpButtonComponent_a_1_ng_container_1_Template(rf, ctx) { if (rf & 1) {
3946
- i0.ɵɵelementContainer(0);
3947
- } }
3948
- function SignUpButtonComponent_a_1_Template(rf, ctx) { if (rf & 1) {
3949
- i0.ɵɵelementStart(0, "a", 5);
3950
- i0.ɵɵtemplate(1, SignUpButtonComponent_a_1_ng_container_1_Template, 1, 0, "ng-container", 4);
3951
- i0.ɵɵelementEnd();
3952
- } if (rf & 2) {
3953
- const ctx_r1 = i0.ɵɵnextContext();
3954
- const _r3 = i0.ɵɵreference(3);
3955
- i0.ɵɵclassMap(ctx_r1.classes);
3956
- i0.ɵɵproperty("routerLink", ctx_r1.url);
3957
- i0.ɵɵadvance();
3958
- i0.ɵɵproperty("ngTemplateOutlet", _r3);
3959
- } }
3960
- function SignUpButtonComponent_ng_template_2_span_3_Template(rf, ctx) { if (rf & 1) {
3961
- i0.ɵɵelementStart(0, "span");
3962
- i0.ɵɵtext(1, "Sign Up");
3963
- i0.ɵɵelementEnd();
3964
- } }
3965
- function SignUpButtonComponent_ng_template_2_Template(rf, ctx) { if (rf & 1) {
3966
- i0.ɵɵelementStart(0, "span", null, 6);
3967
- i0.ɵɵprojection(2);
3968
- i0.ɵɵelementEnd();
3969
- i0.ɵɵtemplate(3, SignUpButtonComponent_ng_template_2_span_3_Template, 2, 0, "span", 7);
3970
- } if (rf & 2) {
3971
- const _r6 = i0.ɵɵreference(1);
3972
- i0.ɵɵadvance(3);
3973
- i0.ɵɵproperty("ngIf", !_r6.innerHTML.trim());
3974
- } }
3975
- const _c0$h = ["*"];
3976
- class SignUpButtonComponent extends ComponentBase {
3977
- constructor() {
3978
- super();
3979
- this.external = false;
3980
- }
3981
- ngOnInit() {
3982
- let url = MSALConfig.ui.signup;
3983
- if (url) {
3984
- this.external = url.indexOf('http') > -1;
3985
- if (this.external) {
3986
- this.url = url + (this.qs ? '?' + this.qs : '');
3987
- }
3988
- else {
3989
- this.url = url;
3990
- }
3991
- }
3992
- }
3993
- static { this.ɵfac = function SignUpButtonComponent_Factory(t) { return new (t || SignUpButtonComponent)(); }; }
3994
- static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: SignUpButtonComponent, selectors: [["anatoly-signup-button"]], inputs: { qs: "qs" }, features: [i0.ɵɵInheritDefinitionFeature], ngContentSelectors: _c0$h, decls: 4, vars: 2, consts: [[3, "href", "class", 4, "ngIf"], [3, "routerLink", "class", 4, "ngIf"], ["contentTemplate", ""], [3, "href"], [4, "ngTemplateOutlet"], [3, "routerLink"], ["ref", ""], [4, "ngIf"]], template: function SignUpButtonComponent_Template(rf, ctx) { if (rf & 1) {
3995
- i0.ɵɵprojectionDef();
3996
- i0.ɵɵtemplate(0, SignUpButtonComponent_a_0_Template, 2, 5, "a", 0)(1, SignUpButtonComponent_a_1_Template, 2, 5, "a", 1)(2, SignUpButtonComponent_ng_template_2_Template, 4, 1, "ng-template", null, 2, i0.ɵɵtemplateRefExtractor);
3997
- } if (rf & 2) {
3998
- i0.ɵɵproperty("ngIf", ctx.external);
3999
- i0.ɵɵadvance();
4000
- i0.ɵɵproperty("ngIf", !ctx.external);
4001
- } }, dependencies: [i1$2.NgIf, i1$2.NgTemplateOutlet, i1$1.RouterLink], encapsulation: 2 }); }
4002
- }
4003
- (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SignUpButtonComponent, [{
4004
- type: Component,
4005
- args: [{ selector: "anatoly-signup-button", 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" }]
4006
- }], () => [], { qs: [{
4007
- type: Input
4008
- }] }); })();
4009
- (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(SignUpButtonComponent, { className: "SignUpButtonComponent", filePath: "lib\\ui\\components\\identity\\signup-button.component.ts", lineNumber: 28 }); })();
4010
-
4011
- /*
4012
- <file>
4013
- Project:
4014
- @osovitny/anatoly
4015
-
4016
- Authors:
4017
- Vadim Osovitny vadim.osovitny@osovitny.com
4018
- Anatoly Osovitny anatoly.osovitny@osovitny.com
4019
-
4020
- Created:
4021
- 14 Aug 2018
4022
-
4023
- Copyright (c) 2016-2025 Osovitny Inc. All rights reserved.
4024
- </file>
4025
- */
4026
- //Node
4027
- function BuyAccessButtonComponent_div_0_div_1_Template(rf, ctx) { if (rf & 1) {
4028
- i0.ɵɵelementStart(0, "div");
4029
- i0.ɵɵelement(1, "anatoly-signup-button", 1);
4030
- i0.ɵɵelementEnd();
4031
- } }
4032
- function BuyAccessButtonComponent_div_0_div_2_button_1_Template(rf, ctx) { if (rf & 1) {
4033
- i0.ɵɵelementStart(0, "button", 4);
4034
- i0.ɵɵtext(1, " Your Plan ");
4035
- i0.ɵɵelementEnd();
4036
- } }
4037
- function BuyAccessButtonComponent_div_0_div_2_button_2_Template(rf, ctx) { if (rf & 1) {
4038
- const _r6 = i0.ɵɵgetCurrentView();
4039
- i0.ɵɵelementStart(0, "button", 5);
4040
- i0.ɵɵlistener("click", function BuyAccessButtonComponent_div_0_div_2_button_2_Template_button_click_0_listener() { i0.ɵɵrestoreView(_r6); const ctx_r5 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r5.onPlanSelect()); });
4041
- i0.ɵɵtext(1, " Buy Now ");
4042
- i0.ɵɵelementEnd();
4043
- } }
4044
- function BuyAccessButtonComponent_div_0_div_2_Template(rf, ctx) { if (rf & 1) {
4045
- i0.ɵɵelementStart(0, "div");
4046
- i0.ɵɵtemplate(1, BuyAccessButtonComponent_div_0_div_2_button_1_Template, 2, 0, "button", 2)(2, BuyAccessButtonComponent_div_0_div_2_button_2_Template, 2, 0, "button", 3);
4047
- i0.ɵɵelementEnd();
4048
- } if (rf & 2) {
4049
- const ctx_r2 = i0.ɵɵnextContext(2);
4050
- i0.ɵɵadvance();
4051
- i0.ɵɵproperty("ngIf", ctx_r2.plan == ctx_r2.currentPlan);
4052
- i0.ɵɵadvance();
4053
- i0.ɵɵproperty("ngIf", ctx_r2.plan != ctx_r2.currentPlan && ctx_r2.currentPlan == 1);
4054
- } }
4055
- function BuyAccessButtonComponent_div_0_Template(rf, ctx) { if (rf & 1) {
4056
- i0.ɵɵelementStart(0, "div");
4057
- i0.ɵɵtemplate(1, BuyAccessButtonComponent_div_0_div_1_Template, 2, 0, "div", 0)(2, BuyAccessButtonComponent_div_0_div_2_Template, 3, 2, "div", 0);
4058
- i0.ɵɵelementEnd();
4059
- } if (rf & 2) {
4060
- const ctx_r0 = i0.ɵɵnextContext();
4061
- i0.ɵɵadvance();
4062
- i0.ɵɵproperty("ngIf", !ctx_r0.isUserSignedIn);
4063
- i0.ɵɵadvance();
4064
- i0.ɵɵproperty("ngIf", ctx_r0.isUserSignedIn && ctx_r0.visibleIfUserSignedIn);
4065
- } }
4066
- class BuyAccessButtonComponent {
4067
- constructor(appContext) {
4068
- this.appContext = appContext;
4069
- this.contextUpdated = false;
4070
- this.isUserSignedIn = false;
4071
- this.currentPlan = -1;
4072
- this.currentPlanTitle = '';
4073
- this.visibleIfUserSignedIn = false;
4074
- //Outputs
4075
- this.planselect = new EventEmitter();
4076
- }
4077
- ngOnInit() {
4078
- this.setDefaults();
4079
- this.setValues();
4080
- }
4081
- setDefaults() {
4082
- }
4083
- setValues() {
4084
- this.appContext.updated$.subscribe((context) => {
4085
- if (!context) {
4086
- return;
4087
- }
4088
- this.isUserSignedIn = context.isUserSignedIn;
4089
- if (this.isUserSignedIn) {
4090
- this.currentPlan = context.account.billingPlan;
4091
- this.currentPlanTitle = context.account.billingPlanAsString;
4092
- }
4093
- this.contextUpdated = true;
4094
- });
4095
- }
4096
- //Events
4097
- onPlanSelect() {
4098
- this.planselect.emit(this.plan);
4099
- }
4100
- static { this.ɵfac = function BuyAccessButtonComponent_Factory(t) { return new (t || BuyAccessButtonComponent)(i0.ɵɵdirectiveInject(AppContextService)); }; }
4101
- static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: BuyAccessButtonComponent, selectors: [["anatoly-billing-buyaccess-button"]], inputs: { plan: "plan", planTitle: "planTitle", visibleIfUserSignedIn: "visibleIfUserSignedIn" }, outputs: { planselect: "planselect" }, decls: 1, vars: 1, consts: [[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) {
4102
- i0.ɵɵtemplate(0, BuyAccessButtonComponent_div_0_Template, 3, 2, "div", 0);
4103
- } if (rf & 2) {
4104
- i0.ɵɵproperty("ngIf", ctx.contextUpdated);
4105
- } }, dependencies: [i1$2.NgIf, SignUpButtonComponent], encapsulation: 2 }); }
4106
- }
4107
- (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(BuyAccessButtonComponent, [{
4108
- type: Component,
4109
- args: [{ selector: 'anatoly-billing-buyaccess-button', template: "<div *ngIf=\"contextUpdated\">\r\n <div *ngIf=\"!isUserSignedIn\">\r\n <anatoly-signup-button classes=\"btn btn-block btn-primary\" />\r\n </div>\r\n\r\n <div *ngIf=\"isUserSignedIn && visibleIfUserSignedIn\">\r\n <button class=\"btn btn-block btn-success selectPlan\" *ngIf=\"plan == currentPlan\">\r\n Your Plan\r\n </button>\r\n\r\n <button class=\"btn btn-block btn-warning selectPlan\" *ngIf=\"plan != currentPlan && currentPlan == 1\"\r\n (click)=\"onPlanSelect()\">\r\n Buy Now\r\n </button>\r\n </div>\r\n</div>\r\n" }]
4110
- }], () => [{ type: AppContextService }], { plan: [{
4111
- type: Input
4112
- }], planTitle: [{
4113
- type: Input
4114
- }], visibleIfUserSignedIn: [{
4115
- type: Input
4116
- }], planselect: [{
4117
- type: Output
4118
- }] }); })();
4119
- (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(BuyAccessButtonComponent, { className: "BuyAccessButtonComponent", filePath: "lib\\billing\\components\\buttons\\buyaccess-button.component.ts", lineNumber: 27 }); })();
4018
+ "vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(-| )|webc|whit|wi(g |nc|nw)|" +
4019
+ "wmlb|wonu|x700|yas-|your|zeto|zte-", "i");
4020
+ const isMobileUserAgent = mobileRegex.test(userAgent);
4021
+ const isSmallScreen = window.innerWidth <= 800 && window.innerHeight <= 600;
4022
+ const isTabletRegex = new RegExp("ipad|android(?!.*mobile)|tablet|kindle|playbook|silk|nexus 7|nexus 10|Macintosh|" +
4023
+ "fire|sm-t|tab|gt-p|sch-i|xoom|sch-i|tf101|kftt|kfot|kfjw|kfsowi|a500|rim\\w", "i");
4024
+ const isTabletUserAgent = isTabletRegex.test(userAgent);
4025
+ return isMobileUserAgent && !isTabletUserAgent || isSmallScreen;
4026
+ }
4027
+ }
4120
4028
 
4121
4029
  /*
4122
4030
  <file>
@@ -4128,117 +4036,94 @@ class BuyAccessButtonComponent {
4128
4036
  Anatoly Osovitny anatoly.osovitny@osovitny.com
4129
4037
 
4130
4038
  Created:
4131
- 1 Jun 2018
4039
+ 2 Aug 2022
4040
+
4041
+ Copyright (c) 2016-2025 Osovitny Inc. All rights reserved.
4042
+ </file>
4043
+ */
4044
+ //consts
4045
+
4046
+ /*
4047
+ <file>
4048
+ Project:
4049
+ @osovitny/anatoly
4050
+
4051
+ Authors:
4052
+ Vadim Osovitny vadim.osovitny@osovitny.com
4053
+ Anatoly Osovitny anatoly.osovitny@osovitny.com
4054
+
4055
+ Created:
4056
+ 28 Aug 2018
4132
4057
 
4133
4058
  Copyright (c) 2016-2025 Osovitny Inc. All rights reserved.
4134
4059
  </file>
4135
4060
  */
4136
4061
  //Node
4137
- function SubscribePlanButtonComponent_div_0_div_1_Template(rf, ctx) { if (rf & 1) {
4138
- i0.ɵɵelementStart(0, "div");
4139
- i0.ɵɵelement(1, "anatoly-signup-button", 1);
4140
- i0.ɵɵelementEnd();
4141
- } }
4142
- function SubscribePlanButtonComponent_div_0_div_2_button_1_Template(rf, ctx) { if (rf & 1) {
4143
- i0.ɵɵelementStart(0, "button", 5);
4144
- i0.ɵɵtext(1, " Your Plan ");
4145
- i0.ɵɵelementEnd();
4146
- } }
4147
- function SubscribePlanButtonComponent_div_0_div_2_button_2_Template(rf, ctx) { if (rf & 1) {
4148
- i0.ɵɵelementStart(0, "button", 6);
4149
- i0.ɵɵtext(1, " Requested ");
4150
- i0.ɵɵelementEnd();
4151
- } }
4152
- function SubscribePlanButtonComponent_div_0_div_2_button_3_Template(rf, ctx) { if (rf & 1) {
4153
- const _r7 = i0.ɵɵgetCurrentView();
4154
- i0.ɵɵelementStart(0, "button", 7);
4155
- i0.ɵɵlistener("click", function SubscribePlanButtonComponent_div_0_div_2_button_3_Template_button_click_0_listener() { i0.ɵɵrestoreView(_r7); const ctx_r6 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r6.onPlanSelect()); });
4156
- i0.ɵɵtext(1, " Subscribe ");
4157
- i0.ɵɵelementEnd();
4158
- } }
4159
- function SubscribePlanButtonComponent_div_0_div_2_Template(rf, ctx) { if (rf & 1) {
4160
- i0.ɵɵelementStart(0, "div");
4161
- i0.ɵɵtemplate(1, SubscribePlanButtonComponent_div_0_div_2_button_1_Template, 2, 0, "button", 2)(2, SubscribePlanButtonComponent_div_0_div_2_button_2_Template, 2, 0, "button", 3)(3, SubscribePlanButtonComponent_div_0_div_2_button_3_Template, 2, 0, "button", 4);
4162
- i0.ɵɵelementEnd();
4163
- } if (rf & 2) {
4164
- const ctx_r2 = i0.ɵɵnextContext(2);
4165
- i0.ɵɵadvance();
4166
- i0.ɵɵproperty("ngIf", ctx_r2.plan == ctx_r2.currentPlan);
4167
- i0.ɵɵadvance();
4168
- i0.ɵɵproperty("ngIf", ctx_r2.plan == ctx_r2.requestedPlan);
4169
- i0.ɵɵadvance();
4170
- i0.ɵɵproperty("ngIf", ctx_r2.plan != ctx_r2.currentPlan && ctx_r2.plan != ctx_r2.requestedPlan);
4171
- } }
4172
- function SubscribePlanButtonComponent_div_0_Template(rf, ctx) { if (rf & 1) {
4173
- i0.ɵɵelementStart(0, "div");
4174
- i0.ɵɵtemplate(1, SubscribePlanButtonComponent_div_0_div_1_Template, 2, 0, "div", 0)(2, SubscribePlanButtonComponent_div_0_div_2_Template, 4, 3, "div", 0);
4175
- i0.ɵɵelementEnd();
4176
- } if (rf & 2) {
4177
- const ctx_r0 = i0.ɵɵnextContext();
4178
- i0.ɵɵadvance();
4179
- i0.ɵɵproperty("ngIf", !ctx_r0.isUserSignedIn);
4180
- i0.ɵɵadvance();
4181
- i0.ɵɵproperty("ngIf", ctx_r0.isUserSignedIn && ctx_r0.visibleIfUserSignedIn);
4182
- } }
4183
- class SubscribePlanButtonComponent {
4184
- constructor(appContext) {
4185
- this.appContext = appContext;
4186
- this.contextUpdated = false;
4187
- this.isUserSignedIn = false;
4188
- this.currentPlan = -1;
4189
- this.currentPlanTitle = "";
4190
- this.requestedPlan = -1;
4191
- this.requestedPlanTitle = "";
4192
- this.visibleIfUserSignedIn = false;
4193
- //Outputs
4194
- this.planselect = new EventEmitter();
4062
+ class ComponentBase {
4063
+ constructor() {
4064
+ this.isDevMode = false;
4065
+ this.subs = new Subs();
4066
+ //Component Data => usually loading from API
4067
+ this.dataLoading = true;
4068
+ this.dataLoaded = false;
4069
+ this.dataFound = false;
4070
+ this.applicationOneUrl = '/';
4071
+ this.title = '';
4072
+ this.isTitleVisible = true;
4073
+ this.isRequired = false;
4074
+ this.isDevMode = IsDevMode;
4075
+ this.applicationType = 1;
4076
+ this.applicationRoot = '/';
4077
+ if (AppSettings) {
4078
+ this.applicationType = AppSettings.id;
4079
+ if (AppSettings.root != '/') {
4080
+ this.applicationRoot = AppSettings.root;
4081
+ }
4082
+ let applicationOne = getAppSettingsById(1);
4083
+ if (applicationOne) {
4084
+ this.applicationOneUrl = applicationOne.baseUrl + applicationOne.root;
4085
+ }
4086
+ }
4195
4087
  }
4196
4088
  ngOnInit() {
4197
- this.setDefaults();
4198
- this.setValues();
4199
4089
  }
4200
- setDefaults() {
4090
+ ngOnDestroy() {
4091
+ this.subs.unsubscribe();
4201
4092
  }
4202
- setValues() {
4203
- this.appContext.updated$.subscribe((context) => {
4204
- if (!context) {
4205
- return;
4206
- }
4207
- this.isUserSignedIn = context.isUserSignedIn;
4208
- if (this.isUserSignedIn) {
4209
- let billing = context.billing.profile;
4210
- this.currentPlan = billing.billingPlan;
4211
- this.currentPlanTitle = billing.billingPlanAsString;
4212
- this.requestedPlan = billing.requestedBillingPlan;
4213
- this.requestedPlanTitle = billing.requestedBillingPlanAsString;
4214
- }
4215
- this.contextUpdated = true;
4216
- });
4093
+ getEntityId() {
4094
+ return QSUtils.getValueByName("id");
4217
4095
  }
4218
- //Events
4219
- onPlanSelect() {
4220
- this.planselect.emit(this.plan);
4096
+ dataStartedLoading() {
4097
+ this.dataLoading = true;
4098
+ this.dataLoaded = false;
4099
+ this.dataFound = false;
4221
4100
  }
4222
- static { this.ɵfac = function SubscribePlanButtonComponent_Factory(t) { return new (t || SubscribePlanButtonComponent)(i0.ɵɵdirectiveInject(AppContextService)); }; }
4223
- static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: SubscribePlanButtonComponent, selectors: [["anatoly-billing-subscribe-plan-button"]], inputs: { plan: "plan", planTitle: "planTitle", visibleIfUserSignedIn: "visibleIfUserSignedIn" }, outputs: { planselect: "planselect" }, decls: 1, vars: 1, consts: [[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) {
4224
- i0.ɵɵtemplate(0, SubscribePlanButtonComponent_div_0_Template, 3, 2, "div", 0);
4225
- } if (rf & 2) {
4226
- i0.ɵɵproperty("ngIf", ctx.contextUpdated);
4227
- } }, dependencies: [i1$2.NgIf, SignUpButtonComponent], encapsulation: 2 }); }
4101
+ dataLoadedAndNothingFound() {
4102
+ this.dataLoadedAndFound(false);
4103
+ }
4104
+ dataLoadedAndFound(found = true) {
4105
+ this.dataLoading = false;
4106
+ this.dataLoaded = true;
4107
+ this.dataFound = found;
4108
+ }
4109
+ static { this.ɵfac = function ComponentBase_Factory(t) { return new (t || ComponentBase)(); }; }
4110
+ static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: ComponentBase, selectors: [["ng-component"]], inputs: { classes: "classes", title: "title", isTitleVisible: "isTitleVisible", isRequired: "isRequired" }, decls: 0, vars: 0, template: function ComponentBase_Template(rf, ctx) { }, encapsulation: 2 }); }
4228
4111
  }
4229
- (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SubscribePlanButtonComponent, [{
4112
+ (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ComponentBase, [{
4230
4113
  type: Component,
4231
- args: [{ selector: 'anatoly-billing-subscribe-plan-button', template: "<div *ngIf=\"contextUpdated\">\r\n <div *ngIf=\"!isUserSignedIn\">\r\n <anatoly-signup-button classes=\"btn btn-block btn-primary\" />\r\n </div>\r\n\r\n <div *ngIf=\"isUserSignedIn && visibleIfUserSignedIn\">\r\n <button class=\"btn btn-block btn-success selectPlan\" *ngIf=\"plan == currentPlan\">\r\n Your Plan\r\n </button>\r\n\r\n <button class=\"btn btn-block btn-warning selectPlan\" *ngIf=\"plan == requestedPlan\">\r\n Requested\r\n </button>\r\n\r\n <button class=\"btn btn-block btn-warning selectPlan\"\r\n *ngIf=\"plan != currentPlan && plan != requestedPlan\"\r\n (click)=\"onPlanSelect()\">\r\n Subscribe\r\n </button>\r\n </div>\r\n</div>\r\n" }]
4232
- }], () => [{ type: AppContextService }], { plan: [{
4114
+ args: [{
4115
+ template: ''
4116
+ }]
4117
+ }], () => [], { classes: [{
4118
+ type: Input
4119
+ }], title: [{
4233
4120
  type: Input
4234
- }], planTitle: [{
4121
+ }], isTitleVisible: [{
4235
4122
  type: Input
4236
- }], visibleIfUserSignedIn: [{
4123
+ }], isRequired: [{
4237
4124
  type: Input
4238
- }], planselect: [{
4239
- type: Output
4240
4125
  }] }); })();
4241
- (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(SubscribePlanButtonComponent, { className: "SubscribePlanButtonComponent", filePath: "lib\\billing\\components\\buttons\\subscribe-plan-button.component.ts", lineNumber: 27 }); })();
4126
+ (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ComponentBase, { className: "ComponentBase", filePath: "lib\\ui\\components\\base\\components\\component.ts", lineNumber: 26 }); })();
4242
4127
 
4243
4128
  /*
4244
4129
  <file>
@@ -4512,7 +4397,7 @@ class DiscountCodesApiService extends ApiServiceBase {
4512
4397
  </file>
4513
4398
  */
4514
4399
  //Node
4515
- const _c0$g = a0 => ({ "show": a0 });
4400
+ const _c0$h = a0 => ({ "show": a0 });
4516
4401
  function OrderSummaryComponent_Conditional_17_Template(rf, ctx) { if (rf & 1) {
4517
4402
  const _r2 = i0.ɵɵgetCurrentView();
4518
4403
  i0.ɵɵelementStart(0, "div", 12)(1, "div", 13)(2, "input", 14);
@@ -4524,7 +4409,7 @@ function OrderSummaryComponent_Conditional_17_Template(rf, ctx) { if (rf & 1) {
4524
4409
  i0.ɵɵelementEnd()()();
4525
4410
  } if (rf & 2) {
4526
4411
  const ctx_r0 = i0.ɵɵnextContext();
4527
- i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(2, _c0$g, ctx_r0.showPromoCode));
4412
+ i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(2, _c0$h, ctx_r0.showPromoCode));
4528
4413
  i0.ɵɵadvance(2);
4529
4414
  i0.ɵɵproperty("ngModel", ctx_r0.promoCode);
4530
4415
  } }
@@ -4623,14 +4508,14 @@ class OrderSummaryComponent extends ComponentBase {
4623
4508
  i0.ɵɵadvance(12);
4624
4509
  i0.ɵɵtextInterpolate1("$", ctx.ps.subtotal, "");
4625
4510
  i0.ɵɵadvance(2);
4626
- i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(5, _c0$g, ctx.showPromoCode));
4511
+ i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(5, _c0$h, ctx.showPromoCode));
4627
4512
  i0.ɵɵadvance(3);
4628
4513
  i0.ɵɵconditional(17, ctx.showPromoCode ? 17 : -1);
4629
4514
  i0.ɵɵadvance(6);
4630
4515
  i0.ɵɵtextInterpolate(ctx.discount);
4631
4516
  i0.ɵɵadvance(6);
4632
4517
  i0.ɵɵtextInterpolate1("$", ctx.toTotal(), "");
4633
- } }, dependencies: [i1$2.NgClass, i2.DefaultValueAccessor, i2.NgControlStatus, i2.NgModel], encapsulation: 2 }); }
4518
+ } }, dependencies: [i1$1.NgClass, i2.DefaultValueAccessor, i2.NgControlStatus, i2.NgModel], encapsulation: 2 }); }
4634
4519
  }
4635
4520
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(OrderSummaryComponent, [{
4636
4521
  type: Component,
@@ -4753,7 +4638,7 @@ class PaymentMethodsComponent extends ComponentBase {
4753
4638
  </file>
4754
4639
  */
4755
4640
  //Node
4756
- const _c0$f = a0 => ({ "active": a0 });
4641
+ const _c0$g = a0 => ({ "active": a0 });
4757
4642
  class PaymentOptionsComponent extends ComponentBase {
4758
4643
  constructor(ps) {
4759
4644
  super();
@@ -4802,16 +4687,16 @@ class PaymentOptionsComponent extends ComponentBase {
4802
4687
  i0.ɵɵelementEnd()()();
4803
4688
  } if (rf & 2) {
4804
4689
  i0.ɵɵadvance(3);
4805
- i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(5, _c0$f, ctx.ps.selectedPaymentType == 2));
4690
+ i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(5, _c0$g, ctx.ps.selectedPaymentType == 2));
4806
4691
  i0.ɵɵadvance(7);
4807
4692
  i0.ɵɵtextInterpolate1("$", ctx.priceWeekly, "");
4808
4693
  i0.ɵɵadvance();
4809
- i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(7, _c0$f, ctx.ps.selectedPaymentType == 1));
4694
+ i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(7, _c0$g, ctx.ps.selectedPaymentType == 1));
4810
4695
  i0.ɵɵadvance(5);
4811
4696
  i0.ɵɵtextInterpolate1("Covers the full ", ctx.numberOfWeeks, " weeks ");
4812
4697
  i0.ɵɵadvance(2);
4813
4698
  i0.ɵɵtextInterpolate1("$", ctx.priceUpfront, "");
4814
- } }, dependencies: [i1$2.NgClass], encapsulation: 2 }); }
4699
+ } }, dependencies: [i1$1.NgClass], encapsulation: 2 }); }
4815
4700
  }
4816
4701
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(PaymentOptionsComponent, [{
4817
4702
  type: Component,
@@ -5276,7 +5161,7 @@ class PayPalScriptService {
5276
5161
  Copyright (c) 2016-2025 Osovitny Inc. All rights reserved.
5277
5162
  </file>
5278
5163
  */
5279
- const _c0$e = ["payPalButtonContainer"];
5164
+ const _c0$f = ["payPalButtonContainer"];
5280
5165
  class PayPalComponent {
5281
5166
  set payPalButtonContainer(content) {
5282
5167
  this.payPalButtonContainerElem = content;
@@ -5543,7 +5428,7 @@ class PayPalComponent {
5543
5428
  }
5544
5429
  static { this.ɵfac = function PayPalComponent_Factory(t) { return new (t || PayPalComponent)(i0.ɵɵdirectiveInject(PayPalScriptService), i0.ɵɵdirectiveInject(i0.ChangeDetectorRef), i0.ɵɵdirectiveInject(i0.NgZone)); }; }
5545
5430
  static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PayPalComponent, selectors: [["anatoly-billing-paypal-container"]], viewQuery: function PayPalComponent_Query(rf, ctx) { if (rf & 1) {
5546
- i0.ɵɵviewQuery(_c0$e, 5);
5431
+ i0.ɵɵviewQuery(_c0$f, 5);
5547
5432
  } if (rf & 2) {
5548
5433
  let _t;
5549
5434
  i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.payPalButtonContainer = _t.first);
@@ -6156,8 +6041,8 @@ class SubscriptionsApiService extends ApiServiceBase {
6156
6041
  getSubscriptions(data) {
6157
6042
  return this.get('getSubscriptions', data);
6158
6043
  }
6159
- addSubscription(billingPlan, currentSubscriptionId, newSubscriptionId, success, error) {
6160
- this.post('addSubscription', { billingPlan, currentSubscriptionId, newSubscriptionId }).subscribe({
6044
+ addSubscription(planId, subscriptionProvider, currentSubscriptionId, newSubscriptionId, success, error) {
6045
+ this.post('addSubscription', { planId, subscriptionProvider, currentSubscriptionId, newSubscriptionId }).subscribe({
6161
6046
  next: (data) => {
6162
6047
  if (success)
6163
6048
  success(data);
@@ -6625,12 +6510,12 @@ class ListBase extends ComponentBase {
6625
6510
  </file>
6626
6511
  */
6627
6512
  //Node
6628
- const _c0$d = [[["card-header"]], [["card-body"]], "*", [["card-footer"]]];
6513
+ const _c0$e = [[["card-header"]], [["card-body"]], "*", [["card-footer"]]];
6629
6514
  const _c1 = ["card-header", "card-body", "*", "card-footer"];
6630
6515
  class CardComponent extends ComponentBase {
6631
6516
  static { this.ɵfac = /*@__PURE__*/ (() => { let ɵCardComponent_BaseFactory; return function CardComponent_Factory(t) { return (ɵCardComponent_BaseFactory || (ɵCardComponent_BaseFactory = i0.ɵɵgetInheritedFactory(CardComponent)))(t || CardComponent); }; })(); }
6632
6517
  static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: CardComponent, selectors: [["anatoly-card"]], features: [i0.ɵɵInheritDefinitionFeature], ngContentSelectors: _c1, decls: 5, vars: 3, template: function CardComponent_Template(rf, ctx) { if (rf & 1) {
6633
- i0.ɵɵprojectionDef(_c0$d);
6518
+ i0.ɵɵprojectionDef(_c0$e);
6634
6519
  i0.ɵɵelementStart(0, "div");
6635
6520
  i0.ɵɵprojection(1);
6636
6521
  i0.ɵɵprojection(2, 1);
@@ -6671,10 +6556,10 @@ function CardHeaderComponent_h3_2_Template(rf, ctx) { if (rf & 1) {
6671
6556
  i0.ɵɵadvance();
6672
6557
  i0.ɵɵtextInterpolate(ctx_r0.title);
6673
6558
  } }
6674
- const _c0$c = ["*"];
6559
+ const _c0$d = ["*"];
6675
6560
  class CardHeaderComponent extends ComponentBase {
6676
6561
  static { this.ɵfac = /*@__PURE__*/ (() => { let ɵCardHeaderComponent_BaseFactory; return function CardHeaderComponent_Factory(t) { return (ɵCardHeaderComponent_BaseFactory || (ɵCardHeaderComponent_BaseFactory = i0.ɵɵgetInheritedFactory(CardHeaderComponent)))(t || CardHeaderComponent); }; })(); }
6677
- static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: CardHeaderComponent, selectors: [["anatoly-card-header"]], 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) {
6562
+ static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: CardHeaderComponent, selectors: [["anatoly-card-header"]], features: [i0.ɵɵInheritDefinitionFeature], ngContentSelectors: _c0$d, decls: 4, vars: 4, consts: [[1, "card-title"], [4, "ngIf"]], template: function CardHeaderComponent_Template(rf, ctx) { if (rf & 1) {
6678
6563
  i0.ɵɵprojectionDef();
6679
6564
  i0.ɵɵelementStart(0, "div")(1, "div", 0);
6680
6565
  i0.ɵɵtemplate(2, CardHeaderComponent_h3_2_Template, 2, 1, "h3", 1);
@@ -6685,7 +6570,7 @@ class CardHeaderComponent extends ComponentBase {
6685
6570
  i0.ɵɵclassMapInterpolate1("card-header ", ctx.classes, "");
6686
6571
  i0.ɵɵadvance(2);
6687
6572
  i0.ɵɵproperty("ngIf", ctx.title);
6688
- } }, dependencies: [i1$2.NgIf], encapsulation: 2 }); }
6573
+ } }, dependencies: [i1$1.NgIf], encapsulation: 2 }); }
6689
6574
  }
6690
6575
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CardHeaderComponent, [{
6691
6576
  type: Component,
@@ -6708,10 +6593,10 @@ class CardHeaderComponent extends ComponentBase {
6708
6593
  </file>
6709
6594
  */
6710
6595
  //Node
6711
- const _c0$b = ["*"];
6596
+ const _c0$c = ["*"];
6712
6597
  class CardBodyComponent extends ComponentBase {
6713
6598
  static { this.ɵfac = /*@__PURE__*/ (() => { let ɵCardBodyComponent_BaseFactory; return function CardBodyComponent_Factory(t) { return (ɵCardBodyComponent_BaseFactory || (ɵCardBodyComponent_BaseFactory = i0.ɵɵgetInheritedFactory(CardBodyComponent)))(t || CardBodyComponent); }; })(); }
6714
- static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: CardBodyComponent, selectors: [["anatoly-card-body"]], features: [i0.ɵɵInheritDefinitionFeature], ngContentSelectors: _c0$b, decls: 2, vars: 3, template: function CardBodyComponent_Template(rf, ctx) { if (rf & 1) {
6599
+ static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: CardBodyComponent, selectors: [["anatoly-card-body"]], features: [i0.ɵɵInheritDefinitionFeature], ngContentSelectors: _c0$c, decls: 2, vars: 3, template: function CardBodyComponent_Template(rf, ctx) { if (rf & 1) {
6715
6600
  i0.ɵɵprojectionDef();
6716
6601
  i0.ɵɵelementStart(0, "div");
6717
6602
  i0.ɵɵprojection(1);
@@ -6741,10 +6626,10 @@ class CardBodyComponent extends ComponentBase {
6741
6626
  </file>
6742
6627
  */
6743
6628
  //Node
6744
- const _c0$a = ["*"];
6629
+ const _c0$b = ["*"];
6745
6630
  class CardFooterComponent extends ComponentBase {
6746
6631
  static { this.ɵfac = /*@__PURE__*/ (() => { let ɵCardFooterComponent_BaseFactory; return function CardFooterComponent_Factory(t) { return (ɵCardFooterComponent_BaseFactory || (ɵCardFooterComponent_BaseFactory = i0.ɵɵgetInheritedFactory(CardFooterComponent)))(t || CardFooterComponent); }; })(); }
6747
- static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: CardFooterComponent, selectors: [["anatoly-card-footer"]], features: [i0.ɵɵInheritDefinitionFeature], ngContentSelectors: _c0$a, decls: 2, vars: 3, template: function CardFooterComponent_Template(rf, ctx) { if (rf & 1) {
6632
+ static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: CardFooterComponent, selectors: [["anatoly-card-footer"]], features: [i0.ɵɵInheritDefinitionFeature], ngContentSelectors: _c0$b, decls: 2, vars: 3, template: function CardFooterComponent_Template(rf, ctx) { if (rf & 1) {
6748
6633
  i0.ɵɵprojectionDef();
6749
6634
  i0.ɵɵelementStart(0, "div");
6750
6635
  i0.ɵɵprojection(1);
@@ -6871,7 +6756,7 @@ class CountryDropdownlist extends EditComponentBase {
6871
6756
  i0.ɵɵproperty("ngIf", ctx.isNgModelBased);
6872
6757
  i0.ɵɵadvance();
6873
6758
  i0.ɵɵproperty("ngIf", !ctx.isNgModelBased);
6874
- } }, dependencies: [i1$2.NgForOf, i1$2.NgIf, i2.NgSelectOption, i2.ɵNgSelectMultipleOption, i2.SelectControlValueAccessor, i2.NgControlStatus, i2.NgControlStatusGroup, i2.FormGroupDirective, i2.FormControlName, i4$1.LabelComponent, NativeElementDirective], encapsulation: 2 }); }
6759
+ } }, dependencies: [i1$1.NgForOf, i1$1.NgIf, i2.NgSelectOption, i2.ɵNgSelectMultipleOption, i2.SelectControlValueAccessor, i2.NgControlStatus, i2.NgControlStatusGroup, i2.FormGroupDirective, i2.FormControlName, i4$1.LabelComponent, NativeElementDirective], encapsulation: 2 }); }
6875
6760
  }
6876
6761
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CountryDropdownlist, [{
6877
6762
  type: Component,
@@ -7054,7 +6939,7 @@ class ItemValidationSummaryComponent extends ValidationSummaryComponent {
7054
6939
  i0.ɵɵtemplate(0, ItemValidationSummaryComponent_ul_0_Template, 2, 1, "ul", 0);
7055
6940
  } if (rf & 2) {
7056
6941
  i0.ɵɵproperty("ngIf", ctx.isControlInvalid(ctx.controlName));
7057
- } }, dependencies: [i1$2.NgForOf, i1$2.NgIf], encapsulation: 2 }); }
6942
+ } }, dependencies: [i1$1.NgForOf, i1$1.NgIf], encapsulation: 2 }); }
7058
6943
  }
7059
6944
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ItemValidationSummaryComponent, [{
7060
6945
  type: Component,
@@ -7131,7 +7016,7 @@ class ModerationStatusDropdownlist extends EnumEditComponentBase {
7131
7016
  i0.ɵɵproperty("ngIf", ctx.isNgModelBased);
7132
7017
  i0.ɵɵadvance();
7133
7018
  i0.ɵɵproperty("ngIf", !ctx.isNgModelBased);
7134
- } }, dependencies: [i1$2.NgIf, i2.NgControlStatus, i2.NgControlStatusGroup, i2.FormGroupDirective, i2.FormControlName, i2.NgModel, i3.DropDownListComponent, i4$1.LabelComponent, NativeElementDirective, ItemValidationSummaryComponent], encapsulation: 2 }); }
7019
+ } }, dependencies: [i1$1.NgIf, i2.NgControlStatus, i2.NgControlStatusGroup, i2.FormGroupDirective, i2.FormControlName, i2.NgModel, i3.DropDownListComponent, i4$1.LabelComponent, NativeElementDirective, ItemValidationSummaryComponent], encapsulation: 2 }); }
7135
7020
  }
7136
7021
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ModerationStatusDropdownlist, [{
7137
7022
  type: Component,
@@ -7208,7 +7093,7 @@ class PublishStatusDropdownlist extends EnumEditComponentBase {
7208
7093
  i0.ɵɵproperty("ngIf", ctx.isNgModelBased);
7209
7094
  i0.ɵɵadvance();
7210
7095
  i0.ɵɵproperty("ngIf", !ctx.isNgModelBased);
7211
- } }, dependencies: [i1$2.NgIf, i2.NgControlStatus, i2.NgControlStatusGroup, i2.FormGroupDirective, i2.FormControlName, i2.NgModel, i3.DropDownListComponent, i4$1.LabelComponent, NativeElementDirective, ItemValidationSummaryComponent], encapsulation: 2 }); }
7096
+ } }, dependencies: [i1$1.NgIf, i2.NgControlStatus, i2.NgControlStatusGroup, i2.FormGroupDirective, i2.FormControlName, i2.NgModel, i3.DropDownListComponent, i4$1.LabelComponent, NativeElementDirective, ItemValidationSummaryComponent], encapsulation: 2 }); }
7212
7097
  }
7213
7098
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(PublishStatusDropdownlist, [{
7214
7099
  type: Component,
@@ -7311,7 +7196,7 @@ class TimezoneDropdownlist extends EditComponentBase {
7311
7196
  i0.ɵɵproperty("ngIf", ctx.isNgModelBased);
7312
7197
  i0.ɵɵadvance();
7313
7198
  i0.ɵɵproperty("ngIf", !ctx.isNgModelBased);
7314
- } }, dependencies: [i1$2.NgForOf, i1$2.NgIf, i2.NgSelectOption, i2.ɵNgSelectMultipleOption, i2.SelectControlValueAccessor, i2.NgControlStatus, i2.NgControlStatusGroup, i2.FormGroupDirective, i2.FormControlName, NativeElementDirective], encapsulation: 2 }); }
7199
+ } }, dependencies: [i1$1.NgForOf, i1$1.NgIf, i2.NgSelectOption, i2.ɵNgSelectMultipleOption, i2.SelectControlValueAccessor, i2.NgControlStatus, i2.NgControlStatusGroup, i2.FormGroupDirective, i2.FormControlName, NativeElementDirective], encapsulation: 2 }); }
7315
7200
  }
7316
7201
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(TimezoneDropdownlist, [{
7317
7202
  type: Component,
@@ -7589,7 +7474,7 @@ class HtmlEditorComponent extends HtmlEditorComponentBase {
7589
7474
  i0.ɵɵproperty("ngIf", ctx.isNgModelBased);
7590
7475
  i0.ɵɵadvance();
7591
7476
  i0.ɵɵproperty("ngIf", !ctx.isNgModelBased);
7592
- } }, dependencies: [i1$2.NgIf, i2.DefaultValueAccessor, i2.NgControlStatus, i2.NgControlStatusGroup, i2.FormGroupDirective, i2.FormControlName, i3$1.FroalaEditorDirective, i4$1.LabelComponent, NativeElementDirective, ItemValidationSummaryComponent], encapsulation: 2 }); }
7477
+ } }, dependencies: [i1$1.NgIf, i2.DefaultValueAccessor, i2.NgControlStatus, i2.NgControlStatusGroup, i2.FormGroupDirective, i2.FormControlName, i3$1.FroalaEditorDirective, i4$1.LabelComponent, NativeElementDirective, ItemValidationSummaryComponent], encapsulation: 2 }); }
7593
7478
  }
7594
7479
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(HtmlEditorComponent, [{
7595
7480
  type: Component,
@@ -7613,20 +7498,20 @@ class HtmlEditorComponent extends HtmlEditorComponentBase {
7613
7498
  </file>
7614
7499
  */
7615
7500
  //Node
7616
- const _c0$9 = ["*"];
7501
+ const _c0$a = ["*"];
7617
7502
  class CheckIconComponent {
7618
7503
  constructor() {
7619
7504
  //Inputs
7620
7505
  this.checked = true;
7621
7506
  }
7622
7507
  static { this.ɵfac = function CheckIconComponent_Factory(t) { return new (t || CheckIconComponent)(); }; }
7623
- static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: CheckIconComponent, selectors: [["anatoly-check-icon"]], inputs: { checked: "checked" }, ngContentSelectors: _c0$9, decls: 2, vars: 2, consts: [[3, "icon", "ngClass"]], template: function CheckIconComponent_Template(rf, ctx) { if (rf & 1) {
7508
+ static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: CheckIconComponent, selectors: [["anatoly-check-icon"]], inputs: { checked: "checked" }, ngContentSelectors: _c0$a, decls: 2, vars: 2, consts: [[3, "icon", "ngClass"]], template: function CheckIconComponent_Template(rf, ctx) { if (rf & 1) {
7624
7509
  i0.ɵɵprojectionDef();
7625
7510
  i0.ɵɵelement(0, "fa-icon", 0);
7626
7511
  i0.ɵɵprojection(1);
7627
7512
  } if (rf & 2) {
7628
7513
  i0.ɵɵproperty("icon", ctx.checked ? "check-circle" : "circle-xmark")("ngClass", ctx.checked ? "text-success" : "text-danger");
7629
- } }, dependencies: [i1$2.NgClass, i1$6.FaIconComponent], encapsulation: 2 }); }
7514
+ } }, dependencies: [i1$1.NgClass, i1$6.FaIconComponent], encapsulation: 2 }); }
7630
7515
  }
7631
7516
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CheckIconComponent, [{
7632
7517
  type: Component,
@@ -7673,7 +7558,7 @@ function ControlPanelComponent_Conditional_8_Conditional_10_Template(rf, ctx) {
7673
7558
  i0.ɵɵelement(1, "fa-icon", 21);
7674
7559
  i0.ɵɵelementEnd();
7675
7560
  } }
7676
- const _c0$8 = a0 => ({ "active": a0 });
7561
+ const _c0$9 = a0 => ({ "active": a0 });
7677
7562
  function ControlPanelComponent_Conditional_8_Template(rf, ctx) { if (rf & 1) {
7678
7563
  const _r9 = i0.ɵɵgetCurrentView();
7679
7564
  i0.ɵɵelementStart(0, "div", 11)(1, "a", 3);
@@ -7694,9 +7579,9 @@ function ControlPanelComponent_Conditional_8_Template(rf, ctx) { if (rf & 1) {
7694
7579
  } if (rf & 2) {
7695
7580
  const ctx_r1 = i0.ɵɵnextContext();
7696
7581
  i0.ɵɵadvance();
7697
- i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(3, _c0$8, ctx_r1.viewType == "grid"));
7582
+ i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(3, _c0$9, ctx_r1.viewType == "grid"));
7698
7583
  i0.ɵɵadvance(6);
7699
- i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(5, _c0$8, ctx_r1.viewType == "list"));
7584
+ i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(5, _c0$9, ctx_r1.viewType == "list"));
7700
7585
  i0.ɵɵadvance(3);
7701
7586
  i0.ɵɵconditional(10, ctx_r1.addVisible ? 10 : -1);
7702
7587
  } }
@@ -7765,12 +7650,12 @@ class ControlPanelComponent extends ComponentBase {
7765
7650
  i0.ɵɵelementEnd()()();
7766
7651
  } if (rf & 2) {
7767
7652
  i0.ɵɵadvance(3);
7768
- i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(3, _c0$8, ctx.filterVisible));
7653
+ i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(3, _c0$9, ctx.filterVisible));
7769
7654
  i0.ɵɵadvance(4);
7770
7655
  i0.ɵɵconditional(7, ctx.sortByVisible ? 7 : -1);
7771
7656
  i0.ɵɵadvance();
7772
7657
  i0.ɵɵconditional(8, ctx.viewTypeVisible ? 8 : -1);
7773
- } }, dependencies: [i1$2.NgClass, i2.NgControlStatus, i2.NgModel, i1$6.FaIconComponent, i3.DropDownListComponent], encapsulation: 2 }); }
7658
+ } }, dependencies: [i1$1.NgClass, i2.NgControlStatus, i2.NgModel, i1$6.FaIconComponent, i3.DropDownListComponent], encapsulation: 2 }); }
7774
7659
  }
7775
7660
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ControlPanelComponent, [{
7776
7661
  type: Component,
@@ -7943,7 +7828,7 @@ function SignInButtonComponent_ng_template_2_Template(rf, ctx) { if (rf & 1) {
7943
7828
  i0.ɵɵadvance(3);
7944
7829
  i0.ɵɵproperty("ngIf", !_r6.innerHTML.trim());
7945
7830
  } }
7946
- const _c0$7 = ["*"];
7831
+ const _c0$8 = ["*"];
7947
7832
  class SignInButtonComponent extends ComponentBase {
7948
7833
  constructor() {
7949
7834
  super();
@@ -7962,14 +7847,14 @@ class SignInButtonComponent extends ComponentBase {
7962
7847
  }
7963
7848
  }
7964
7849
  static { this.ɵfac = function SignInButtonComponent_Factory(t) { return new (t || SignInButtonComponent)(); }; }
7965
- static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: SignInButtonComponent, selectors: [["anatoly-signin-button"]], inputs: { qs: "qs" }, features: [i0.ɵɵInheritDefinitionFeature], ngContentSelectors: _c0$7, decls: 4, vars: 2, consts: [[3, "href", "class", 4, "ngIf"], [3, "routerLink", "class", 4, "ngIf"], ["contentTemplate", ""], [3, "href"], [4, "ngTemplateOutlet"], [3, "routerLink"], ["ref", ""], [4, "ngIf"]], template: function SignInButtonComponent_Template(rf, ctx) { if (rf & 1) {
7850
+ static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: SignInButtonComponent, selectors: [["anatoly-signin-button"]], inputs: { qs: "qs" }, features: [i0.ɵɵInheritDefinitionFeature], ngContentSelectors: _c0$8, decls: 4, vars: 2, consts: [[3, "href", "class", 4, "ngIf"], [3, "routerLink", "class", 4, "ngIf"], ["contentTemplate", ""], [3, "href"], [4, "ngTemplateOutlet"], [3, "routerLink"], ["ref", ""], [4, "ngIf"]], template: function SignInButtonComponent_Template(rf, ctx) { if (rf & 1) {
7966
7851
  i0.ɵɵprojectionDef();
7967
7852
  i0.ɵɵtemplate(0, SignInButtonComponent_a_0_Template, 2, 5, "a", 0)(1, SignInButtonComponent_a_1_Template, 2, 5, "a", 1)(2, SignInButtonComponent_ng_template_2_Template, 4, 1, "ng-template", null, 2, i0.ɵɵtemplateRefExtractor);
7968
7853
  } if (rf & 2) {
7969
7854
  i0.ɵɵproperty("ngIf", ctx.external);
7970
7855
  i0.ɵɵadvance();
7971
7856
  i0.ɵɵproperty("ngIf", !ctx.external);
7972
- } }, dependencies: [i1$2.NgIf, i1$2.NgTemplateOutlet, i1$1.RouterLink], encapsulation: 2 }); }
7857
+ } }, dependencies: [i1$1.NgIf, i1$1.NgTemplateOutlet, i1$2.RouterLink], encapsulation: 2 }); }
7973
7858
  }
7974
7859
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SignInButtonComponent, [{
7975
7860
  type: Component,
@@ -8040,7 +7925,7 @@ function SignOutButtonComponent_ng_template_2_Template(rf, ctx) { if (rf & 1) {
8040
7925
  i0.ɵɵadvance(3);
8041
7926
  i0.ɵɵproperty("ngIf", !_r6.innerHTML.trim());
8042
7927
  } }
8043
- const _c0$6 = ["*"];
7928
+ const _c0$7 = ["*"];
8044
7929
  class SignOutButtonComponent extends ComponentBase {
8045
7930
  constructor() {
8046
7931
  super();
@@ -8059,14 +7944,14 @@ class SignOutButtonComponent extends ComponentBase {
8059
7944
  }
8060
7945
  }
8061
7946
  static { this.ɵfac = function SignOutButtonComponent_Factory(t) { return new (t || SignOutButtonComponent)(); }; }
8062
- static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: SignOutButtonComponent, selectors: [["anatoly-signout-button"]], inputs: { qs: "qs" }, features: [i0.ɵɵInheritDefinitionFeature], ngContentSelectors: _c0$6, decls: 4, vars: 2, consts: [[3, "href", "class", 4, "ngIf"], [3, "routerLink", "class", 4, "ngIf"], ["contentTemplate", ""], [3, "href"], [4, "ngTemplateOutlet"], [3, "routerLink"], ["ref", ""], [4, "ngIf"]], template: function SignOutButtonComponent_Template(rf, ctx) { if (rf & 1) {
7947
+ static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: SignOutButtonComponent, selectors: [["anatoly-signout-button"]], inputs: { qs: "qs" }, features: [i0.ɵɵInheritDefinitionFeature], ngContentSelectors: _c0$7, decls: 4, vars: 2, consts: [[3, "href", "class", 4, "ngIf"], [3, "routerLink", "class", 4, "ngIf"], ["contentTemplate", ""], [3, "href"], [4, "ngTemplateOutlet"], [3, "routerLink"], ["ref", ""], [4, "ngIf"]], template: function SignOutButtonComponent_Template(rf, ctx) { if (rf & 1) {
8063
7948
  i0.ɵɵprojectionDef();
8064
7949
  i0.ɵɵtemplate(0, SignOutButtonComponent_a_0_Template, 2, 5, "a", 0)(1, SignOutButtonComponent_a_1_Template, 2, 5, "a", 1)(2, SignOutButtonComponent_ng_template_2_Template, 4, 1, "ng-template", null, 2, i0.ɵɵtemplateRefExtractor);
8065
7950
  } if (rf & 2) {
8066
7951
  i0.ɵɵproperty("ngIf", ctx.external);
8067
7952
  i0.ɵɵadvance();
8068
7953
  i0.ɵɵproperty("ngIf", !ctx.external);
8069
- } }, dependencies: [i1$2.NgIf, i1$2.NgTemplateOutlet, i1$1.RouterLink], encapsulation: 2 }); }
7954
+ } }, dependencies: [i1$1.NgIf, i1$1.NgTemplateOutlet, i1$2.RouterLink], encapsulation: 2 }); }
8070
7955
  }
8071
7956
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SignOutButtonComponent, [{
8072
7957
  type: Component,
@@ -8076,6 +7961,103 @@ class SignOutButtonComponent extends ComponentBase {
8076
7961
  }] }); })();
8077
7962
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(SignOutButtonComponent, { className: "SignOutButtonComponent", filePath: "lib\\ui\\components\\identity\\signout-button.component.ts", lineNumber: 28 }); })();
8078
7963
 
7964
+ /*
7965
+ <file>
7966
+ Project:
7967
+ @osovitny/anatoly
7968
+
7969
+ Authors:
7970
+ Vadim Osovitny vadim.osovitny@osovitny.com
7971
+ Anatoly Osovitny anatoly.osovitny@osovitny.com
7972
+
7973
+ Created:
7974
+ 4 Jul 2018
7975
+
7976
+ Copyright (c) 2016-2025 Osovitny Inc. All rights reserved.
7977
+ </file>
7978
+ */
7979
+ //Node
7980
+ function SignUpButtonComponent_a_0_ng_container_1_Template(rf, ctx) { if (rf & 1) {
7981
+ i0.ɵɵelementContainer(0);
7982
+ } }
7983
+ function SignUpButtonComponent_a_0_Template(rf, ctx) { if (rf & 1) {
7984
+ i0.ɵɵelementStart(0, "a", 3);
7985
+ i0.ɵɵtemplate(1, SignUpButtonComponent_a_0_ng_container_1_Template, 1, 0, "ng-container", 4);
7986
+ i0.ɵɵelementEnd();
7987
+ } if (rf & 2) {
7988
+ const ctx_r0 = i0.ɵɵnextContext();
7989
+ const _r3 = i0.ɵɵreference(3);
7990
+ i0.ɵɵclassMap(ctx_r0.classes);
7991
+ i0.ɵɵproperty("href", ctx_r0.url, i0.ɵɵsanitizeUrl);
7992
+ i0.ɵɵadvance();
7993
+ i0.ɵɵproperty("ngTemplateOutlet", _r3);
7994
+ } }
7995
+ function SignUpButtonComponent_a_1_ng_container_1_Template(rf, ctx) { if (rf & 1) {
7996
+ i0.ɵɵelementContainer(0);
7997
+ } }
7998
+ function SignUpButtonComponent_a_1_Template(rf, ctx) { if (rf & 1) {
7999
+ i0.ɵɵelementStart(0, "a", 5);
8000
+ i0.ɵɵtemplate(1, SignUpButtonComponent_a_1_ng_container_1_Template, 1, 0, "ng-container", 4);
8001
+ i0.ɵɵelementEnd();
8002
+ } if (rf & 2) {
8003
+ const ctx_r1 = i0.ɵɵnextContext();
8004
+ const _r3 = i0.ɵɵreference(3);
8005
+ i0.ɵɵclassMap(ctx_r1.classes);
8006
+ i0.ɵɵproperty("routerLink", ctx_r1.url);
8007
+ i0.ɵɵadvance();
8008
+ i0.ɵɵproperty("ngTemplateOutlet", _r3);
8009
+ } }
8010
+ function SignUpButtonComponent_ng_template_2_span_3_Template(rf, ctx) { if (rf & 1) {
8011
+ i0.ɵɵelementStart(0, "span");
8012
+ i0.ɵɵtext(1, "Sign Up");
8013
+ i0.ɵɵelementEnd();
8014
+ } }
8015
+ function SignUpButtonComponent_ng_template_2_Template(rf, ctx) { if (rf & 1) {
8016
+ i0.ɵɵelementStart(0, "span", null, 6);
8017
+ i0.ɵɵprojection(2);
8018
+ i0.ɵɵelementEnd();
8019
+ i0.ɵɵtemplate(3, SignUpButtonComponent_ng_template_2_span_3_Template, 2, 0, "span", 7);
8020
+ } if (rf & 2) {
8021
+ const _r6 = i0.ɵɵreference(1);
8022
+ i0.ɵɵadvance(3);
8023
+ i0.ɵɵproperty("ngIf", !_r6.innerHTML.trim());
8024
+ } }
8025
+ const _c0$6 = ["*"];
8026
+ class SignUpButtonComponent extends ComponentBase {
8027
+ constructor() {
8028
+ super();
8029
+ this.external = false;
8030
+ }
8031
+ ngOnInit() {
8032
+ let url = MSALConfig.ui.signup;
8033
+ if (url) {
8034
+ this.external = url.indexOf('http') > -1;
8035
+ if (this.external) {
8036
+ this.url = url + (this.qs ? '?' + this.qs : '');
8037
+ }
8038
+ else {
8039
+ this.url = url;
8040
+ }
8041
+ }
8042
+ }
8043
+ static { this.ɵfac = function SignUpButtonComponent_Factory(t) { return new (t || SignUpButtonComponent)(); }; }
8044
+ static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: SignUpButtonComponent, selectors: [["anatoly-signup-button"]], inputs: { qs: "qs" }, features: [i0.ɵɵInheritDefinitionFeature], ngContentSelectors: _c0$6, decls: 4, vars: 2, consts: [[3, "href", "class", 4, "ngIf"], [3, "routerLink", "class", 4, "ngIf"], ["contentTemplate", ""], [3, "href"], [4, "ngTemplateOutlet"], [3, "routerLink"], ["ref", ""], [4, "ngIf"]], template: function SignUpButtonComponent_Template(rf, ctx) { if (rf & 1) {
8045
+ i0.ɵɵprojectionDef();
8046
+ i0.ɵɵtemplate(0, SignUpButtonComponent_a_0_Template, 2, 5, "a", 0)(1, SignUpButtonComponent_a_1_Template, 2, 5, "a", 1)(2, SignUpButtonComponent_ng_template_2_Template, 4, 1, "ng-template", null, 2, i0.ɵɵtemplateRefExtractor);
8047
+ } if (rf & 2) {
8048
+ i0.ɵɵproperty("ngIf", ctx.external);
8049
+ i0.ɵɵadvance();
8050
+ i0.ɵɵproperty("ngIf", !ctx.external);
8051
+ } }, dependencies: [i1$1.NgIf, i1$1.NgTemplateOutlet, i1$2.RouterLink], encapsulation: 2 }); }
8052
+ }
8053
+ (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SignUpButtonComponent, [{
8054
+ type: Component,
8055
+ args: [{ selector: "anatoly-signup-button", 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" }]
8056
+ }], () => [], { qs: [{
8057
+ type: Input
8058
+ }] }); })();
8059
+ (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(SignUpButtonComponent, { className: "SignUpButtonComponent", filePath: "lib\\ui\\components\\identity\\signup-button.component.ts", lineNumber: 28 }); })();
8060
+
8079
8061
  /*
8080
8062
  <file>
8081
8063
  Project:
@@ -8128,7 +8110,7 @@ class NodataComponent {
8128
8110
  i0.ɵɵtemplate(0, NodataComponent_Conditional_0_Template, 6, 2, "div", 0);
8129
8111
  } if (rf & 2) {
8130
8112
  i0.ɵɵconditional(0, !ctx.dataLoading && ctx.dataLoaded && !ctx.dataFound ? 0 : -1);
8131
- } }, dependencies: [i1$2.NgIf, i1$6.FaIconComponent], encapsulation: 2 }); }
8113
+ } }, dependencies: [i1$1.NgIf, i1$6.FaIconComponent], encapsulation: 2 }); }
8132
8114
  }
8133
8115
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(NodataComponent, [{
8134
8116
  type: Component,
@@ -8227,7 +8209,7 @@ class LoadingComponent extends ComponentBase {
8227
8209
  i0.ɵɵtemplate(0, LoadingComponent_div_0_Template, 2, 0, "div", 0);
8228
8210
  } if (rf & 2) {
8229
8211
  i0.ɵɵproperty("ngIf", ctx.show);
8230
- } }, dependencies: [i1$2.NgIf], encapsulation: 2 }); }
8212
+ } }, dependencies: [i1$1.NgIf], encapsulation: 2 }); }
8231
8213
  }
8232
8214
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(LoadingComponent, [{
8233
8215
  type: Component,
@@ -8308,17 +8290,17 @@ class PageSpinnerComponent {
8308
8290
  ngOnDestroy() {
8309
8291
  this.isSpinnerVisible = false;
8310
8292
  }
8311
- static { this.ɵfac = function PageSpinnerComponent_Factory(t) { return new (t || PageSpinnerComponent)(i0.ɵɵdirectiveInject(i1$1.Router)); }; }
8293
+ static { this.ɵfac = function PageSpinnerComponent_Factory(t) { return new (t || PageSpinnerComponent)(i0.ɵɵdirectiveInject(i1$2.Router)); }; }
8312
8294
  static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PageSpinnerComponent, selectors: [["anatoly-pagespinner"]], inputs: { backgroundColor: "backgroundColor", spinner: "spinner" }, 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) {
8313
8295
  i0.ɵɵtemplate(0, PageSpinnerComponent_div_0_Template, 3, 1, "div", 0);
8314
8296
  } if (rf & 2) {
8315
8297
  i0.ɵɵproperty("ngIf", ctx.isSpinnerVisible);
8316
- } }, dependencies: [i1$2.NgIf], encapsulation: 2 }); }
8298
+ } }, dependencies: [i1$1.NgIf], encapsulation: 2 }); }
8317
8299
  }
8318
8300
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(PageSpinnerComponent, [{
8319
8301
  type: Component,
8320
8302
  args: [{ selector: 'anatoly-pagespinner', 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" }]
8321
- }], () => [{ type: i1$1.Router }], { backgroundColor: [{
8303
+ }], () => [{ type: i1$2.Router }], { backgroundColor: [{
8322
8304
  type: Input
8323
8305
  }], spinner: [{
8324
8306
  type: Input
@@ -8478,7 +8460,7 @@ class UrlSlugComponent extends EditComponentBase {
8478
8460
  i0.ɵɵproperty("formControlName", ctx.controlName);
8479
8461
  i0.ɵɵadvance();
8480
8462
  i0.ɵɵproperty("ngIf", ctx.isGoButtonVisible);
8481
- } }, dependencies: [i1$2.NgClass, i1$2.NgIf, i2.DefaultValueAccessor, i2.NgControlStatus, i2.NgControlStatusGroup, i2.FormGroupDirective, i2.FormControlName, i4$1.LabelDirective, NativeElementDirective, ItemValidationSummaryComponent], encapsulation: 2 }); }
8463
+ } }, dependencies: [i1$1.NgClass, i1$1.NgIf, i2.DefaultValueAccessor, i2.NgControlStatus, i2.NgControlStatusGroup, i2.FormGroupDirective, i2.FormControlName, i4$1.LabelDirective, NativeElementDirective, ItemValidationSummaryComponent], encapsulation: 2 }); }
8482
8464
  }
8483
8465
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(UrlSlugComponent, [{
8484
8466
  type: Component,
@@ -8534,7 +8516,7 @@ class FeatureWillBeReadyComponent extends ComponentBase {
8534
8516
  i0.ɵɵproperty("ngIf", ctx.readyDate);
8535
8517
  i0.ɵɵadvance();
8536
8518
  i0.ɵɵproperty("ngIf", !ctx.readyDate);
8537
- } }, dependencies: [i1$2.NgIf], encapsulation: 2 }); }
8519
+ } }, dependencies: [i1$1.NgIf], encapsulation: 2 }); }
8538
8520
  }
8539
8521
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(FeatureWillBeReadyComponent, [{
8540
8522
  type: Component,
@@ -8690,7 +8672,7 @@ class FormValidationSummaryComponent extends ValidationSummaryComponent {
8690
8672
  i0.ɵɵtemplate(0, FormValidationSummaryComponent_div_0_Template, 5, 1, "div", 0);
8691
8673
  } if (rf & 2) {
8692
8674
  i0.ɵɵproperty("ngIf", ctx.visible);
8693
- } }, dependencies: [i1$2.NgForOf, i1$2.NgIf], encapsulation: 2 }); }
8675
+ } }, dependencies: [i1$1.NgForOf, i1$1.NgIf], encapsulation: 2 }); }
8694
8676
  }
8695
8677
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(FormValidationSummaryComponent, [{
8696
8678
  type: Component,
@@ -8892,7 +8874,7 @@ class ContactUsForm extends EditComponentBase {
8892
8874
  i0.ɵɵproperty("formGroup", ctx.formGroup)("formSubmitted", ctx.formSubmitted);
8893
8875
  i0.ɵɵadvance(3);
8894
8876
  i0.ɵɵproperty("ngIf", ctx.showActionButtons);
8895
- } }, 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 }); }
8877
+ } }, dependencies: [i1$1.NgClass, i1$1.NgForOf, i1$1.NgIf, i2.ɵNgNoValidate, i2.NgSelectOption, i2.ɵNgSelectMultipleOption, i2.DefaultValueAccessor, i2.SelectControlValueAccessor, i2.NgControlStatus, i2.NgControlStatusGroup, i2.FormGroupDirective, i2.FormControlName, NativeElementDirective, FormValidationSummaryComponent, ItemValidationSummaryComponent], encapsulation: 2 }); }
8896
8878
  }
8897
8879
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ContactUsForm, [{
8898
8880
  type: Component,
@@ -8964,7 +8946,7 @@ class ContactUsDialog extends DialogBase {
8964
8946
  i0.ɵɵtemplate(0, ContactUsDialog_kendo_dialog_0_Template, 10, 2, "kendo-dialog", 0);
8965
8947
  } if (rf & 2) {
8966
8948
  i0.ɵɵproperty("ngIf", ctx.isOpen);
8967
- } }, dependencies: [i1$2.NgIf, i2$1.DialogComponent, i2$1.DialogActionsComponent, ContactUsForm], encapsulation: 2 }); }
8949
+ } }, dependencies: [i1$1.NgIf, i2$1.DialogComponent, i2$1.DialogActionsComponent, ContactUsForm], encapsulation: 2 }); }
8968
8950
  }
8969
8951
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ContactUsDialog, [{
8970
8952
  type: Component,
@@ -9268,7 +9250,7 @@ class AddressComponent extends EditComponentBase {
9268
9250
  i0.ɵɵproperty("ngForOf", ctx.countryData);
9269
9251
  i0.ɵɵadvance();
9270
9252
  i0.ɵɵproperty("formGroup", ctx.formGroup)("formSubmitted", ctx.formSubmitted);
9271
- } }, 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 }); }
9253
+ } }, dependencies: [i1$1.NgClass, i1$1.NgForOf, i1$1.NgIf, i2.NgSelectOption, i2.ɵNgSelectMultipleOption, i2.DefaultValueAccessor, i2.SelectControlValueAccessor, i2.NgControlStatus, i2.NgControlStatusGroup, i2.FormGroupDirective, i2.FormControlName, CardComponent, CardHeaderComponent, CardBodyComponent, NativeElementDirective, ItemValidationSummaryComponent], encapsulation: 2 }); }
9272
9254
  }
9273
9255
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(AddressComponent, [{
9274
9256
  type: Component,
@@ -9397,7 +9379,7 @@ class CompanyComponent extends EditComponentBase {
9397
9379
  i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(20, _c0, ctx.isControlInvalid("company_websiteUrl")));
9398
9380
  i0.ɵɵadvance(4);
9399
9381
  i0.ɵɵproperty("formGroup", ctx.formGroup)("formSubmitted", ctx.formSubmitted);
9400
- } }, 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 }); }
9382
+ } }, dependencies: [i1$1.NgClass, i1$1.NgIf, i2.DefaultValueAccessor, i2.NgControlStatus, i2.NgControlStatusGroup, i2.PatternValidator, i2.FormGroupDirective, i2.FormControlName, CardComponent, CardHeaderComponent, CardBodyComponent, NativeElementDirective, ItemValidationSummaryComponent], encapsulation: 2 }); }
9401
9383
  }
9402
9384
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CompanyComponent, [{
9403
9385
  type: Component,
@@ -10089,7 +10071,7 @@ class AnatolyIAMPagesModule {
10089
10071
  }], null, null); })();
10090
10072
  (function () { (typeof ngJitMode === "undefined" || ngJitMode) && i0.ɵɵsetNgModuleScope(AnatolyIAMPagesModule, { declarations: [SignInPage, SignUpPage, SignOutPage], imports: [CommonModule,
10091
10073
  RouterModule,
10092
- HttpClientModule, i1$1.RouterModule] }); })();
10074
+ HttpClientModule, i1$2.RouterModule] }); })();
10093
10075
 
10094
10076
  /*
10095
10077
  <file>
@@ -10648,5 +10630,5 @@ class AnatolyModule {
10648
10630
  * Generated bundle index. Do not edit.
10649
10631
  */
10650
10632
 
10651
- export { AddressComponent, AdminGuard, Alerts, AnatolyBillingModule, AnatolyCoreModule, AnatolyDataModule, AnatolyHttpInterceptor, AnatolyIAMModule, AnatolyIAMPagesModule, AnatolyModule, AnatolyUIModule, ApiServiceBase, ApiUrl, AppContextService, AppCoreSettings, AppName, AppSettings, AppVersion, AppsGoServiceBase, AuthService, AuthenticationGuard, BillingUtils, BraintreeDialog, Browser, BuyAccessButtonComponent, CardBodyComponent, CardComponent, CardFooterComponent, CardHeaderComponent, CheckIconComponent, ClientApps, CompanyComponent, ComponentBase, ContactUsDialog, ContactUsForm, ControlPanelComponent, Convert, Copy2ClipboardComponent, CoreApiService, CountryDropdownlist, CurrenciesApiService, CurrenciesStorageService, DOM, DataPagerComponent, DataViewType, DateConvert, DefaultEditorOptions, DialogBase, DigitalMarketingService, DiscountCodeStatus, DiscountCodeType, DiscountCodesApiService, EditComponentBase, EditPageBase, EmailsApiService, EnumEditComponentBase, FeatureWillBeReadyComponent, FileSizePipe, FormValidationSummaryComponent, GABillingEvents, GAEvents, GlobalErrorHandler, GoServiceBase, GoogleAnalyticsService, GridEditServiceBase, GridReadServiceBase, Guid, HoveringDirective, HtmlEditorComponent, HtmlEditorComponentBase, IdleService, InjectorInstance, IsDevMode, IsProdMode, ItemValidationSummaryComponent, L10NUrl, L10nUtils, ListBase, LoadingComponent, LoadingService, LocalStorageService, LocalizationInjectorInstance, LocalizationModule, LocalizationService, LocalizationSettingsModule, LocalizePipe, LoggingService, MSALUtils, ModerationStatus, ModerationStatusDropdownlist, NativeElementDirective, NoMobileSupportComponent, NodataComponent, NotificationService, OrderSummaryComponent, PageBase, PageSpinnerComponent, PagedPageBase, PayPalComponent, PayPalScriptService, PaymentMethod, PaymentMethodsComponent, PaymentOptionsComponent, PaymentStage, PaymentType, PaymentsApiService, PaymentsService, PaypalButtonComponent, PublishStatus, PublishStatusDropdownlist, QSUtils, ReplaceTextPipe, SafeHtmlPipe, ScriptService, SessionStorageService, SignInButtonComponent, SignOutButtonComponent, SignUpButtonComponent, StarterGuard, StarterService, Stopwatch, StripeDialog, Subs, SubscribePlanButtonComponent, SubscriptionsApiService, TimezoneDropdownlist, TransactionsApiService, UrlSlugComponent, Utils, ValidationSummaryComponent, XmlFormatter, YouAgreeToOurTermsComponent, dateFormats, dateTimeFormats, getAppSettingsById, getAppSettingsByName, is, localizationInitializerFactory, throwIfAlreadyLoaded, timeFormats, translateLoaderFactory };
10633
+ export { AddressComponent, AdminGuard, Alerts, AnatolyBillingModule, AnatolyCoreModule, AnatolyDataModule, AnatolyHttpInterceptor, AnatolyIAMModule, AnatolyIAMPagesModule, AnatolyModule, AnatolyUIModule, ApiServiceBase, ApiUrl, AppContextService, AppCoreSettings, AppName, AppSettings, AppVersion, AppsGoServiceBase, AuthService, AuthenticationGuard, BillingUtils, BraintreeDialog, Browser, BuyAccessButtonComponent, CardBodyComponent, CardComponent, CardFooterComponent, CardHeaderComponent, CheckIconComponent, ClientApps, CompanyComponent, ComponentBase, ContactUsDialog, ContactUsForm, ControlPanelComponent, Convert, Copy2ClipboardComponent, CoreApiService, CountryDropdownlist, CurrenciesApiService, CurrenciesStorageService, DOM, DataPagerComponent, DataViewType, DateConvert, DefaultEditorOptions, DialogBase, DigitalMarketingService, DiscountCodeStatus, DiscountCodeType, DiscountCodesApiService, EditComponentBase, EditPageBase, EmailsApiService, EnumEditComponentBase, FeatureWillBeReadyComponent, FileSizePipe, FormValidationSummaryComponent, GABillingEvents, GAEvents, GlobalErrorHandler, GoServiceBase, GoogleAnalyticsService, GridEditServiceBase, GridReadServiceBase, Guid, HoveringDirective, HtmlEditorComponent, HtmlEditorComponentBase, IdleService, InjectorInstance, IsDevMode, IsProdMode, ItemValidationSummaryComponent, L10NUrl, L10nUtils, ListBase, LoadingComponent, LoadingService, LocalStorageService, LocalizationInjectorInstance, LocalizationModule, LocalizationService, LocalizationSettingsModule, LocalizePipe, LoggingService, MSALUtils, ModerationStatus, ModerationStatusDropdownlist, NativeElementDirective, NoMobileSupportComponent, NodataComponent, NotificationService, OrderSummaryComponent, PageBase, PageSpinnerComponent, PagedPageBase, PayPalComponent, PayPalScriptService, PaymentMethod, PaymentMethodsComponent, PaymentOptionsComponent, PaymentStage, PaymentType, PaymentsApiService, PaymentsService, PaypalButtonComponent, PublishStatus, PublishStatusDropdownlist, QSUtils, ReplaceTextPipe, SafeHtmlPipe, ScriptService, SessionStorageService, SignInButtonComponent, SignOutButtonComponent, SignUpButtonComponent, StarterGuard, StarterService, Stopwatch, StripeDialog, Subs, SubscribePlanButtonComponent, SubscriptionProvider, SubscriptionsApiService, TimezoneDropdownlist, TransactionsApiService, UrlSlugComponent, Utils, ValidationSummaryComponent, XmlFormatter, YouAgreeToOurTermsComponent, dateFormats, dateTimeFormats, getAppSettingsById, getAppSettingsByName, is, localizationInitializerFactory, throwIfAlreadyLoaded, timeFormats, translateLoaderFactory };
10652
10634
  //# sourceMappingURL=osovitny-anatoly.mjs.map