@osovitny/anatoly 3.17.118 → 3.17.119
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/esm2022/lib/billing/components/buttons/buyaccess-button.component.mjs +19 -30
- package/esm2022/lib/billing/components/buttons/subscribe-plan-button.component.mjs +21 -35
- package/fesm2022/osovitny-anatoly.mjs +452 -475
- package/fesm2022/osovitny-anatoly.mjs.map +1 -1
- package/lib/billing/components/buttons/buyaccess-button.component.d.ts +1 -3
- package/lib/billing/components/buttons/subscribe-plan-button.component.d.ts +1 -4
- package/lib/ui/components/index.d.ts +1 -1
- package/lib/ui/forms/index.d.ts +1 -1
- package/lib/ui/pipes/index.d.ts +1 -1
- package/package.json +1 -1
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import { Injectable,
|
|
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$
|
|
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$
|
|
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:
|
|
@@ -1155,12 +1364,12 @@ class GoServiceBase {
|
|
|
1155
1364
|
error500() {
|
|
1156
1365
|
this.navigate([this.rootRoute + '/errors/500']);
|
|
1157
1366
|
}
|
|
1158
|
-
static { this.ɵfac = function GoServiceBase_Factory(t) { return new (t || GoServiceBase)(i0.ɵɵinject(i1$
|
|
1367
|
+
static { this.ɵfac = function GoServiceBase_Factory(t) { return new (t || GoServiceBase)(i0.ɵɵinject(i1$2.ActivatedRoute), i0.ɵɵinject(i1$2.Router)); }; }
|
|
1159
1368
|
static { this.ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token: GoServiceBase, factory: GoServiceBase.ɵfac }); }
|
|
1160
1369
|
}
|
|
1161
1370
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(GoServiceBase, [{
|
|
1162
1371
|
type: Injectable
|
|
1163
|
-
}], () => [{ type: i1$
|
|
1372
|
+
}], () => [{ type: i1$2.ActivatedRoute }, { type: i1$2.Router }], null); })();
|
|
1164
1373
|
|
|
1165
1374
|
/*
|
|
1166
1375
|
<file>
|
|
@@ -1812,7 +2021,7 @@ class AuthService extends ApiServiceBase {
|
|
|
1812
2021
|
};
|
|
1813
2022
|
this.login(resetPasswordFlowRequest);
|
|
1814
2023
|
}
|
|
1815
|
-
static { this.ɵfac = function AuthService_Factory(t) { return new (t || AuthService)(i0.ɵɵinject(i1.HttpClient), i0.ɵɵinject(i1$
|
|
2024
|
+
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
2025
|
static { this.ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token: AuthService, factory: AuthService.ɵfac, providedIn: 'root' }); }
|
|
1817
2026
|
}
|
|
1818
2027
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(AuthService, [{
|
|
@@ -1820,7 +2029,7 @@ class AuthService extends ApiServiceBase {
|
|
|
1820
2029
|
args: [{
|
|
1821
2030
|
providedIn: 'root'
|
|
1822
2031
|
}]
|
|
1823
|
-
}], () => [{ type: i1.HttpClient }, { type: i1$
|
|
2032
|
+
}], () => [{ type: i1.HttpClient }, { type: i1$2.Router }, { type: AppContextService }, { type: undefined, decorators: [{
|
|
1824
2033
|
type: Inject,
|
|
1825
2034
|
args: [MSAL_GUARD_CONFIG]
|
|
1826
2035
|
}] }, { type: i4.MsalService }, { type: i4.MsalBroadcastService }], null); })();
|
|
@@ -1935,12 +2144,12 @@ class AppsGoServiceBase extends GoServiceBase {
|
|
|
1935
2144
|
}
|
|
1936
2145
|
}
|
|
1937
2146
|
}
|
|
1938
|
-
static { this.ɵfac = function AppsGoServiceBase_Factory(t) { return new (t || AppsGoServiceBase)(i0.ɵɵinject(i1$
|
|
2147
|
+
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
2148
|
static { this.ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token: AppsGoServiceBase, factory: AppsGoServiceBase.ɵfac }); }
|
|
1940
2149
|
}
|
|
1941
2150
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(AppsGoServiceBase, [{
|
|
1942
2151
|
type: Injectable
|
|
1943
|
-
}], () => [{ type: i1$
|
|
2152
|
+
}], () => [{ type: i1$2.ActivatedRoute }, { type: i1$2.Router }, { type: AuthService }, { type: LoggingService }], null); })();
|
|
1944
2153
|
|
|
1945
2154
|
/*
|
|
1946
2155
|
<file>
|
|
@@ -1997,7 +2206,7 @@ class AuthenticationGuard extends MsalGuard {
|
|
|
1997
2206
|
this.setInteractionType(route);
|
|
1998
2207
|
return super.canActivate(route, state);
|
|
1999
2208
|
}
|
|
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$
|
|
2209
|
+
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
2210
|
static { this.ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token: AuthenticationGuard, factory: AuthenticationGuard.ɵfac }); }
|
|
2002
2211
|
}
|
|
2003
2212
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(AuthenticationGuard, [{
|
|
@@ -2005,7 +2214,7 @@ class AuthenticationGuard extends MsalGuard {
|
|
|
2005
2214
|
}], () => [{ type: undefined, decorators: [{
|
|
2006
2215
|
type: Inject,
|
|
2007
2216
|
args: [MSAL_GUARD_CONFIG]
|
|
2008
|
-
}] }, { type: i4.MsalBroadcastService }, { type: i4.MsalService }, { type: i1$
|
|
2217
|
+
}] }, { type: i4.MsalBroadcastService }, { type: i4.MsalService }, { type: i1$1.Location }, { type: i1$2.Router }], null); })();
|
|
2009
2218
|
|
|
2010
2219
|
/*
|
|
2011
2220
|
<file>
|
|
@@ -3284,12 +3493,12 @@ class GoogleAnalyticsService {
|
|
|
3284
3493
|
let ga = window.gtag;
|
|
3285
3494
|
return ga;
|
|
3286
3495
|
}
|
|
3287
|
-
static { this.ɵfac = function GoogleAnalyticsService_Factory(t) { return new (t || GoogleAnalyticsService)(i0.ɵɵinject(i1$
|
|
3496
|
+
static { this.ɵfac = function GoogleAnalyticsService_Factory(t) { return new (t || GoogleAnalyticsService)(i0.ɵɵinject(i1$2.Router)); }; }
|
|
3288
3497
|
static { this.ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token: GoogleAnalyticsService, factory: GoogleAnalyticsService.ɵfac }); }
|
|
3289
3498
|
}
|
|
3290
3499
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(GoogleAnalyticsService, [{
|
|
3291
3500
|
type: Injectable
|
|
3292
|
-
}], () => [{ type: i1$
|
|
3501
|
+
}], () => [{ type: i1$2.Router }], null); })();
|
|
3293
3502
|
|
|
3294
3503
|
/*
|
|
3295
3504
|
<file>
|
|
@@ -3801,322 +4010,16 @@ class Utils {
|
|
|
3801
4010
|
"sgh-|shar|sie(-|m)|sk-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h-|v-|v )|" +
|
|
3802
4011
|
"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
4012
|
"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 }); })();
|
|
4013
|
+
"vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(-| )|webc|whit|wi(g |nc|nw)|" +
|
|
4014
|
+
"wmlb|wonu|x700|yas-|your|zeto|zte-", "i");
|
|
4015
|
+
const isMobileUserAgent = mobileRegex.test(userAgent);
|
|
4016
|
+
const isSmallScreen = window.innerWidth <= 800 && window.innerHeight <= 600;
|
|
4017
|
+
const isTabletRegex = new RegExp("ipad|android(?!.*mobile)|tablet|kindle|playbook|silk|nexus 7|nexus 10|Macintosh|" +
|
|
4018
|
+
"fire|sm-t|tab|gt-p|sch-i|xoom|sch-i|tf101|kftt|kfot|kfjw|kfsowi|a500|rim\\w", "i");
|
|
4019
|
+
const isTabletUserAgent = isTabletRegex.test(userAgent);
|
|
4020
|
+
return isMobileUserAgent && !isTabletUserAgent || isSmallScreen;
|
|
4021
|
+
}
|
|
4022
|
+
}
|
|
4120
4023
|
|
|
4121
4024
|
/*
|
|
4122
4025
|
<file>
|
|
@@ -4128,117 +4031,94 @@ class BuyAccessButtonComponent {
|
|
|
4128
4031
|
Anatoly Osovitny anatoly.osovitny@osovitny.com
|
|
4129
4032
|
|
|
4130
4033
|
Created:
|
|
4131
|
-
|
|
4034
|
+
2 Aug 2022
|
|
4035
|
+
|
|
4036
|
+
Copyright (c) 2016-2025 Osovitny Inc. All rights reserved.
|
|
4037
|
+
</file>
|
|
4038
|
+
*/
|
|
4039
|
+
//consts
|
|
4040
|
+
|
|
4041
|
+
/*
|
|
4042
|
+
<file>
|
|
4043
|
+
Project:
|
|
4044
|
+
@osovitny/anatoly
|
|
4045
|
+
|
|
4046
|
+
Authors:
|
|
4047
|
+
Vadim Osovitny vadim.osovitny@osovitny.com
|
|
4048
|
+
Anatoly Osovitny anatoly.osovitny@osovitny.com
|
|
4049
|
+
|
|
4050
|
+
Created:
|
|
4051
|
+
28 Aug 2018
|
|
4132
4052
|
|
|
4133
4053
|
Copyright (c) 2016-2025 Osovitny Inc. All rights reserved.
|
|
4134
4054
|
</file>
|
|
4135
4055
|
*/
|
|
4136
4056
|
//Node
|
|
4137
|
-
|
|
4138
|
-
|
|
4139
|
-
|
|
4140
|
-
|
|
4141
|
-
|
|
4142
|
-
|
|
4143
|
-
|
|
4144
|
-
|
|
4145
|
-
|
|
4146
|
-
|
|
4147
|
-
|
|
4148
|
-
|
|
4149
|
-
|
|
4150
|
-
|
|
4151
|
-
|
|
4152
|
-
|
|
4153
|
-
|
|
4154
|
-
|
|
4155
|
-
|
|
4156
|
-
|
|
4157
|
-
|
|
4158
|
-
|
|
4159
|
-
|
|
4160
|
-
|
|
4161
|
-
|
|
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();
|
|
4057
|
+
class ComponentBase {
|
|
4058
|
+
constructor() {
|
|
4059
|
+
this.isDevMode = false;
|
|
4060
|
+
this.subs = new Subs();
|
|
4061
|
+
//Component Data => usually loading from API
|
|
4062
|
+
this.dataLoading = true;
|
|
4063
|
+
this.dataLoaded = false;
|
|
4064
|
+
this.dataFound = false;
|
|
4065
|
+
this.applicationOneUrl = '/';
|
|
4066
|
+
this.title = '';
|
|
4067
|
+
this.isTitleVisible = true;
|
|
4068
|
+
this.isRequired = false;
|
|
4069
|
+
this.isDevMode = IsDevMode;
|
|
4070
|
+
this.applicationType = 1;
|
|
4071
|
+
this.applicationRoot = '/';
|
|
4072
|
+
if (AppSettings) {
|
|
4073
|
+
this.applicationType = AppSettings.id;
|
|
4074
|
+
if (AppSettings.root != '/') {
|
|
4075
|
+
this.applicationRoot = AppSettings.root;
|
|
4076
|
+
}
|
|
4077
|
+
let applicationOne = getAppSettingsById(1);
|
|
4078
|
+
if (applicationOne) {
|
|
4079
|
+
this.applicationOneUrl = applicationOne.baseUrl + applicationOne.root;
|
|
4080
|
+
}
|
|
4081
|
+
}
|
|
4195
4082
|
}
|
|
4196
4083
|
ngOnInit() {
|
|
4197
|
-
this.setDefaults();
|
|
4198
|
-
this.setValues();
|
|
4199
4084
|
}
|
|
4200
|
-
|
|
4085
|
+
ngOnDestroy() {
|
|
4086
|
+
this.subs.unsubscribe();
|
|
4201
4087
|
}
|
|
4202
|
-
|
|
4203
|
-
|
|
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
|
-
});
|
|
4088
|
+
getEntityId() {
|
|
4089
|
+
return QSUtils.getValueByName("id");
|
|
4217
4090
|
}
|
|
4218
|
-
|
|
4219
|
-
|
|
4220
|
-
this.
|
|
4091
|
+
dataStartedLoading() {
|
|
4092
|
+
this.dataLoading = true;
|
|
4093
|
+
this.dataLoaded = false;
|
|
4094
|
+
this.dataFound = false;
|
|
4221
4095
|
}
|
|
4222
|
-
|
|
4223
|
-
|
|
4224
|
-
|
|
4225
|
-
|
|
4226
|
-
|
|
4227
|
-
|
|
4096
|
+
dataLoadedAndNothingFound() {
|
|
4097
|
+
this.dataLoadedAndFound(false);
|
|
4098
|
+
}
|
|
4099
|
+
dataLoadedAndFound(found = true) {
|
|
4100
|
+
this.dataLoading = false;
|
|
4101
|
+
this.dataLoaded = true;
|
|
4102
|
+
this.dataFound = found;
|
|
4103
|
+
}
|
|
4104
|
+
static { this.ɵfac = function ComponentBase_Factory(t) { return new (t || ComponentBase)(); }; }
|
|
4105
|
+
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
4106
|
}
|
|
4229
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(
|
|
4107
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ComponentBase, [{
|
|
4230
4108
|
type: Component,
|
|
4231
|
-
args: [{
|
|
4232
|
-
|
|
4109
|
+
args: [{
|
|
4110
|
+
template: ''
|
|
4111
|
+
}]
|
|
4112
|
+
}], () => [], { classes: [{
|
|
4113
|
+
type: Input
|
|
4114
|
+
}], title: [{
|
|
4233
4115
|
type: Input
|
|
4234
|
-
}],
|
|
4116
|
+
}], isTitleVisible: [{
|
|
4235
4117
|
type: Input
|
|
4236
|
-
}],
|
|
4118
|
+
}], isRequired: [{
|
|
4237
4119
|
type: Input
|
|
4238
|
-
}], planselect: [{
|
|
4239
|
-
type: Output
|
|
4240
4120
|
}] }); })();
|
|
4241
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(
|
|
4121
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ComponentBase, { className: "ComponentBase", filePath: "lib\\ui\\components\\base\\components\\component.ts", lineNumber: 26 }); })();
|
|
4242
4122
|
|
|
4243
4123
|
/*
|
|
4244
4124
|
<file>
|
|
@@ -4512,7 +4392,7 @@ class DiscountCodesApiService extends ApiServiceBase {
|
|
|
4512
4392
|
</file>
|
|
4513
4393
|
*/
|
|
4514
4394
|
//Node
|
|
4515
|
-
const _c0$
|
|
4395
|
+
const _c0$h = a0 => ({ "show": a0 });
|
|
4516
4396
|
function OrderSummaryComponent_Conditional_17_Template(rf, ctx) { if (rf & 1) {
|
|
4517
4397
|
const _r2 = i0.ɵɵgetCurrentView();
|
|
4518
4398
|
i0.ɵɵelementStart(0, "div", 12)(1, "div", 13)(2, "input", 14);
|
|
@@ -4524,7 +4404,7 @@ function OrderSummaryComponent_Conditional_17_Template(rf, ctx) { if (rf & 1) {
|
|
|
4524
4404
|
i0.ɵɵelementEnd()()();
|
|
4525
4405
|
} if (rf & 2) {
|
|
4526
4406
|
const ctx_r0 = i0.ɵɵnextContext();
|
|
4527
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(2, _c0$
|
|
4407
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(2, _c0$h, ctx_r0.showPromoCode));
|
|
4528
4408
|
i0.ɵɵadvance(2);
|
|
4529
4409
|
i0.ɵɵproperty("ngModel", ctx_r0.promoCode);
|
|
4530
4410
|
} }
|
|
@@ -4623,14 +4503,14 @@ class OrderSummaryComponent extends ComponentBase {
|
|
|
4623
4503
|
i0.ɵɵadvance(12);
|
|
4624
4504
|
i0.ɵɵtextInterpolate1("$", ctx.ps.subtotal, "");
|
|
4625
4505
|
i0.ɵɵadvance(2);
|
|
4626
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(5, _c0$
|
|
4506
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(5, _c0$h, ctx.showPromoCode));
|
|
4627
4507
|
i0.ɵɵadvance(3);
|
|
4628
4508
|
i0.ɵɵconditional(17, ctx.showPromoCode ? 17 : -1);
|
|
4629
4509
|
i0.ɵɵadvance(6);
|
|
4630
4510
|
i0.ɵɵtextInterpolate(ctx.discount);
|
|
4631
4511
|
i0.ɵɵadvance(6);
|
|
4632
4512
|
i0.ɵɵtextInterpolate1("$", ctx.toTotal(), "");
|
|
4633
|
-
} }, dependencies: [i1$
|
|
4513
|
+
} }, dependencies: [i1$1.NgClass, i2.DefaultValueAccessor, i2.NgControlStatus, i2.NgModel], encapsulation: 2 }); }
|
|
4634
4514
|
}
|
|
4635
4515
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(OrderSummaryComponent, [{
|
|
4636
4516
|
type: Component,
|
|
@@ -4753,7 +4633,7 @@ class PaymentMethodsComponent extends ComponentBase {
|
|
|
4753
4633
|
</file>
|
|
4754
4634
|
*/
|
|
4755
4635
|
//Node
|
|
4756
|
-
const _c0$
|
|
4636
|
+
const _c0$g = a0 => ({ "active": a0 });
|
|
4757
4637
|
class PaymentOptionsComponent extends ComponentBase {
|
|
4758
4638
|
constructor(ps) {
|
|
4759
4639
|
super();
|
|
@@ -4802,16 +4682,16 @@ class PaymentOptionsComponent extends ComponentBase {
|
|
|
4802
4682
|
i0.ɵɵelementEnd()()();
|
|
4803
4683
|
} if (rf & 2) {
|
|
4804
4684
|
i0.ɵɵadvance(3);
|
|
4805
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(5, _c0$
|
|
4685
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(5, _c0$g, ctx.ps.selectedPaymentType == 2));
|
|
4806
4686
|
i0.ɵɵadvance(7);
|
|
4807
4687
|
i0.ɵɵtextInterpolate1("$", ctx.priceWeekly, "");
|
|
4808
4688
|
i0.ɵɵadvance();
|
|
4809
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(7, _c0$
|
|
4689
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(7, _c0$g, ctx.ps.selectedPaymentType == 1));
|
|
4810
4690
|
i0.ɵɵadvance(5);
|
|
4811
4691
|
i0.ɵɵtextInterpolate1("Covers the full ", ctx.numberOfWeeks, " weeks ");
|
|
4812
4692
|
i0.ɵɵadvance(2);
|
|
4813
4693
|
i0.ɵɵtextInterpolate1("$", ctx.priceUpfront, "");
|
|
4814
|
-
} }, dependencies: [i1$
|
|
4694
|
+
} }, dependencies: [i1$1.NgClass], encapsulation: 2 }); }
|
|
4815
4695
|
}
|
|
4816
4696
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(PaymentOptionsComponent, [{
|
|
4817
4697
|
type: Component,
|
|
@@ -5276,7 +5156,7 @@ class PayPalScriptService {
|
|
|
5276
5156
|
Copyright (c) 2016-2025 Osovitny Inc. All rights reserved.
|
|
5277
5157
|
</file>
|
|
5278
5158
|
*/
|
|
5279
|
-
const _c0$
|
|
5159
|
+
const _c0$f = ["payPalButtonContainer"];
|
|
5280
5160
|
class PayPalComponent {
|
|
5281
5161
|
set payPalButtonContainer(content) {
|
|
5282
5162
|
this.payPalButtonContainerElem = content;
|
|
@@ -5543,7 +5423,7 @@ class PayPalComponent {
|
|
|
5543
5423
|
}
|
|
5544
5424
|
static { this.ɵfac = function PayPalComponent_Factory(t) { return new (t || PayPalComponent)(i0.ɵɵdirectiveInject(PayPalScriptService), i0.ɵɵdirectiveInject(i0.ChangeDetectorRef), i0.ɵɵdirectiveInject(i0.NgZone)); }; }
|
|
5545
5425
|
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$
|
|
5426
|
+
i0.ɵɵviewQuery(_c0$f, 5);
|
|
5547
5427
|
} if (rf & 2) {
|
|
5548
5428
|
let _t;
|
|
5549
5429
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.payPalButtonContainer = _t.first);
|
|
@@ -6625,12 +6505,12 @@ class ListBase extends ComponentBase {
|
|
|
6625
6505
|
</file>
|
|
6626
6506
|
*/
|
|
6627
6507
|
//Node
|
|
6628
|
-
const _c0$
|
|
6508
|
+
const _c0$e = [[["card-header"]], [["card-body"]], "*", [["card-footer"]]];
|
|
6629
6509
|
const _c1 = ["card-header", "card-body", "*", "card-footer"];
|
|
6630
6510
|
class CardComponent extends ComponentBase {
|
|
6631
6511
|
static { this.ɵfac = /*@__PURE__*/ (() => { let ɵCardComponent_BaseFactory; return function CardComponent_Factory(t) { return (ɵCardComponent_BaseFactory || (ɵCardComponent_BaseFactory = i0.ɵɵgetInheritedFactory(CardComponent)))(t || CardComponent); }; })(); }
|
|
6632
6512
|
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$
|
|
6513
|
+
i0.ɵɵprojectionDef(_c0$e);
|
|
6634
6514
|
i0.ɵɵelementStart(0, "div");
|
|
6635
6515
|
i0.ɵɵprojection(1);
|
|
6636
6516
|
i0.ɵɵprojection(2, 1);
|
|
@@ -6671,10 +6551,10 @@ function CardHeaderComponent_h3_2_Template(rf, ctx) { if (rf & 1) {
|
|
|
6671
6551
|
i0.ɵɵadvance();
|
|
6672
6552
|
i0.ɵɵtextInterpolate(ctx_r0.title);
|
|
6673
6553
|
} }
|
|
6674
|
-
const _c0$
|
|
6554
|
+
const _c0$d = ["*"];
|
|
6675
6555
|
class CardHeaderComponent extends ComponentBase {
|
|
6676
6556
|
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$
|
|
6557
|
+
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
6558
|
i0.ɵɵprojectionDef();
|
|
6679
6559
|
i0.ɵɵelementStart(0, "div")(1, "div", 0);
|
|
6680
6560
|
i0.ɵɵtemplate(2, CardHeaderComponent_h3_2_Template, 2, 1, "h3", 1);
|
|
@@ -6685,7 +6565,7 @@ class CardHeaderComponent extends ComponentBase {
|
|
|
6685
6565
|
i0.ɵɵclassMapInterpolate1("card-header ", ctx.classes, "");
|
|
6686
6566
|
i0.ɵɵadvance(2);
|
|
6687
6567
|
i0.ɵɵproperty("ngIf", ctx.title);
|
|
6688
|
-
} }, dependencies: [i1$
|
|
6568
|
+
} }, dependencies: [i1$1.NgIf], encapsulation: 2 }); }
|
|
6689
6569
|
}
|
|
6690
6570
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CardHeaderComponent, [{
|
|
6691
6571
|
type: Component,
|
|
@@ -6708,10 +6588,10 @@ class CardHeaderComponent extends ComponentBase {
|
|
|
6708
6588
|
</file>
|
|
6709
6589
|
*/
|
|
6710
6590
|
//Node
|
|
6711
|
-
const _c0$
|
|
6591
|
+
const _c0$c = ["*"];
|
|
6712
6592
|
class CardBodyComponent extends ComponentBase {
|
|
6713
6593
|
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$
|
|
6594
|
+
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
6595
|
i0.ɵɵprojectionDef();
|
|
6716
6596
|
i0.ɵɵelementStart(0, "div");
|
|
6717
6597
|
i0.ɵɵprojection(1);
|
|
@@ -6741,10 +6621,10 @@ class CardBodyComponent extends ComponentBase {
|
|
|
6741
6621
|
</file>
|
|
6742
6622
|
*/
|
|
6743
6623
|
//Node
|
|
6744
|
-
const _c0$
|
|
6624
|
+
const _c0$b = ["*"];
|
|
6745
6625
|
class CardFooterComponent extends ComponentBase {
|
|
6746
6626
|
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$
|
|
6627
|
+
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
6628
|
i0.ɵɵprojectionDef();
|
|
6749
6629
|
i0.ɵɵelementStart(0, "div");
|
|
6750
6630
|
i0.ɵɵprojection(1);
|
|
@@ -6871,7 +6751,7 @@ class CountryDropdownlist extends EditComponentBase {
|
|
|
6871
6751
|
i0.ɵɵproperty("ngIf", ctx.isNgModelBased);
|
|
6872
6752
|
i0.ɵɵadvance();
|
|
6873
6753
|
i0.ɵɵproperty("ngIf", !ctx.isNgModelBased);
|
|
6874
|
-
} }, dependencies: [i1$
|
|
6754
|
+
} }, 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
6755
|
}
|
|
6876
6756
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CountryDropdownlist, [{
|
|
6877
6757
|
type: Component,
|
|
@@ -7054,7 +6934,7 @@ class ItemValidationSummaryComponent extends ValidationSummaryComponent {
|
|
|
7054
6934
|
i0.ɵɵtemplate(0, ItemValidationSummaryComponent_ul_0_Template, 2, 1, "ul", 0);
|
|
7055
6935
|
} if (rf & 2) {
|
|
7056
6936
|
i0.ɵɵproperty("ngIf", ctx.isControlInvalid(ctx.controlName));
|
|
7057
|
-
} }, dependencies: [i1$
|
|
6937
|
+
} }, dependencies: [i1$1.NgForOf, i1$1.NgIf], encapsulation: 2 }); }
|
|
7058
6938
|
}
|
|
7059
6939
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ItemValidationSummaryComponent, [{
|
|
7060
6940
|
type: Component,
|
|
@@ -7131,7 +7011,7 @@ class ModerationStatusDropdownlist extends EnumEditComponentBase {
|
|
|
7131
7011
|
i0.ɵɵproperty("ngIf", ctx.isNgModelBased);
|
|
7132
7012
|
i0.ɵɵadvance();
|
|
7133
7013
|
i0.ɵɵproperty("ngIf", !ctx.isNgModelBased);
|
|
7134
|
-
} }, dependencies: [i1$
|
|
7014
|
+
} }, dependencies: [i1$1.NgIf, i2.NgControlStatus, i2.NgControlStatusGroup, i2.FormGroupDirective, i2.FormControlName, i2.NgModel, i3.DropDownListComponent, i4$1.LabelComponent, NativeElementDirective, ItemValidationSummaryComponent], encapsulation: 2 }); }
|
|
7135
7015
|
}
|
|
7136
7016
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ModerationStatusDropdownlist, [{
|
|
7137
7017
|
type: Component,
|
|
@@ -7208,7 +7088,7 @@ class PublishStatusDropdownlist extends EnumEditComponentBase {
|
|
|
7208
7088
|
i0.ɵɵproperty("ngIf", ctx.isNgModelBased);
|
|
7209
7089
|
i0.ɵɵadvance();
|
|
7210
7090
|
i0.ɵɵproperty("ngIf", !ctx.isNgModelBased);
|
|
7211
|
-
} }, dependencies: [i1$
|
|
7091
|
+
} }, dependencies: [i1$1.NgIf, i2.NgControlStatus, i2.NgControlStatusGroup, i2.FormGroupDirective, i2.FormControlName, i2.NgModel, i3.DropDownListComponent, i4$1.LabelComponent, NativeElementDirective, ItemValidationSummaryComponent], encapsulation: 2 }); }
|
|
7212
7092
|
}
|
|
7213
7093
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(PublishStatusDropdownlist, [{
|
|
7214
7094
|
type: Component,
|
|
@@ -7311,7 +7191,7 @@ class TimezoneDropdownlist extends EditComponentBase {
|
|
|
7311
7191
|
i0.ɵɵproperty("ngIf", ctx.isNgModelBased);
|
|
7312
7192
|
i0.ɵɵadvance();
|
|
7313
7193
|
i0.ɵɵproperty("ngIf", !ctx.isNgModelBased);
|
|
7314
|
-
} }, dependencies: [i1$
|
|
7194
|
+
} }, 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
7195
|
}
|
|
7316
7196
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(TimezoneDropdownlist, [{
|
|
7317
7197
|
type: Component,
|
|
@@ -7589,7 +7469,7 @@ class HtmlEditorComponent extends HtmlEditorComponentBase {
|
|
|
7589
7469
|
i0.ɵɵproperty("ngIf", ctx.isNgModelBased);
|
|
7590
7470
|
i0.ɵɵadvance();
|
|
7591
7471
|
i0.ɵɵproperty("ngIf", !ctx.isNgModelBased);
|
|
7592
|
-
} }, dependencies: [i1$
|
|
7472
|
+
} }, 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
7473
|
}
|
|
7594
7474
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(HtmlEditorComponent, [{
|
|
7595
7475
|
type: Component,
|
|
@@ -7613,20 +7493,20 @@ class HtmlEditorComponent extends HtmlEditorComponentBase {
|
|
|
7613
7493
|
</file>
|
|
7614
7494
|
*/
|
|
7615
7495
|
//Node
|
|
7616
|
-
const _c0$
|
|
7496
|
+
const _c0$a = ["*"];
|
|
7617
7497
|
class CheckIconComponent {
|
|
7618
7498
|
constructor() {
|
|
7619
7499
|
//Inputs
|
|
7620
7500
|
this.checked = true;
|
|
7621
7501
|
}
|
|
7622
7502
|
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$
|
|
7503
|
+
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
7504
|
i0.ɵɵprojectionDef();
|
|
7625
7505
|
i0.ɵɵelement(0, "fa-icon", 0);
|
|
7626
7506
|
i0.ɵɵprojection(1);
|
|
7627
7507
|
} if (rf & 2) {
|
|
7628
7508
|
i0.ɵɵproperty("icon", ctx.checked ? "check-circle" : "circle-xmark")("ngClass", ctx.checked ? "text-success" : "text-danger");
|
|
7629
|
-
} }, dependencies: [i1$
|
|
7509
|
+
} }, dependencies: [i1$1.NgClass, i1$6.FaIconComponent], encapsulation: 2 }); }
|
|
7630
7510
|
}
|
|
7631
7511
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CheckIconComponent, [{
|
|
7632
7512
|
type: Component,
|
|
@@ -7673,7 +7553,7 @@ function ControlPanelComponent_Conditional_8_Conditional_10_Template(rf, ctx) {
|
|
|
7673
7553
|
i0.ɵɵelement(1, "fa-icon", 21);
|
|
7674
7554
|
i0.ɵɵelementEnd();
|
|
7675
7555
|
} }
|
|
7676
|
-
const _c0$
|
|
7556
|
+
const _c0$9 = a0 => ({ "active": a0 });
|
|
7677
7557
|
function ControlPanelComponent_Conditional_8_Template(rf, ctx) { if (rf & 1) {
|
|
7678
7558
|
const _r9 = i0.ɵɵgetCurrentView();
|
|
7679
7559
|
i0.ɵɵelementStart(0, "div", 11)(1, "a", 3);
|
|
@@ -7694,9 +7574,9 @@ function ControlPanelComponent_Conditional_8_Template(rf, ctx) { if (rf & 1) {
|
|
|
7694
7574
|
} if (rf & 2) {
|
|
7695
7575
|
const ctx_r1 = i0.ɵɵnextContext();
|
|
7696
7576
|
i0.ɵɵadvance();
|
|
7697
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(3, _c0$
|
|
7577
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(3, _c0$9, ctx_r1.viewType == "grid"));
|
|
7698
7578
|
i0.ɵɵadvance(6);
|
|
7699
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(5, _c0$
|
|
7579
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(5, _c0$9, ctx_r1.viewType == "list"));
|
|
7700
7580
|
i0.ɵɵadvance(3);
|
|
7701
7581
|
i0.ɵɵconditional(10, ctx_r1.addVisible ? 10 : -1);
|
|
7702
7582
|
} }
|
|
@@ -7765,12 +7645,12 @@ class ControlPanelComponent extends ComponentBase {
|
|
|
7765
7645
|
i0.ɵɵelementEnd()()();
|
|
7766
7646
|
} if (rf & 2) {
|
|
7767
7647
|
i0.ɵɵadvance(3);
|
|
7768
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(3, _c0$
|
|
7648
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(3, _c0$9, ctx.filterVisible));
|
|
7769
7649
|
i0.ɵɵadvance(4);
|
|
7770
7650
|
i0.ɵɵconditional(7, ctx.sortByVisible ? 7 : -1);
|
|
7771
7651
|
i0.ɵɵadvance();
|
|
7772
7652
|
i0.ɵɵconditional(8, ctx.viewTypeVisible ? 8 : -1);
|
|
7773
|
-
} }, dependencies: [i1$
|
|
7653
|
+
} }, dependencies: [i1$1.NgClass, i2.NgControlStatus, i2.NgModel, i1$6.FaIconComponent, i3.DropDownListComponent], encapsulation: 2 }); }
|
|
7774
7654
|
}
|
|
7775
7655
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ControlPanelComponent, [{
|
|
7776
7656
|
type: Component,
|
|
@@ -7943,7 +7823,7 @@ function SignInButtonComponent_ng_template_2_Template(rf, ctx) { if (rf & 1) {
|
|
|
7943
7823
|
i0.ɵɵadvance(3);
|
|
7944
7824
|
i0.ɵɵproperty("ngIf", !_r6.innerHTML.trim());
|
|
7945
7825
|
} }
|
|
7946
|
-
const _c0$
|
|
7826
|
+
const _c0$8 = ["*"];
|
|
7947
7827
|
class SignInButtonComponent extends ComponentBase {
|
|
7948
7828
|
constructor() {
|
|
7949
7829
|
super();
|
|
@@ -7962,14 +7842,14 @@ class SignInButtonComponent extends ComponentBase {
|
|
|
7962
7842
|
}
|
|
7963
7843
|
}
|
|
7964
7844
|
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$
|
|
7845
|
+
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
7846
|
i0.ɵɵprojectionDef();
|
|
7967
7847
|
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
7848
|
} if (rf & 2) {
|
|
7969
7849
|
i0.ɵɵproperty("ngIf", ctx.external);
|
|
7970
7850
|
i0.ɵɵadvance();
|
|
7971
7851
|
i0.ɵɵproperty("ngIf", !ctx.external);
|
|
7972
|
-
} }, dependencies: [i1$
|
|
7852
|
+
} }, dependencies: [i1$1.NgIf, i1$1.NgTemplateOutlet, i1$2.RouterLink], encapsulation: 2 }); }
|
|
7973
7853
|
}
|
|
7974
7854
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SignInButtonComponent, [{
|
|
7975
7855
|
type: Component,
|
|
@@ -8040,7 +7920,7 @@ function SignOutButtonComponent_ng_template_2_Template(rf, ctx) { if (rf & 1) {
|
|
|
8040
7920
|
i0.ɵɵadvance(3);
|
|
8041
7921
|
i0.ɵɵproperty("ngIf", !_r6.innerHTML.trim());
|
|
8042
7922
|
} }
|
|
8043
|
-
const _c0$
|
|
7923
|
+
const _c0$7 = ["*"];
|
|
8044
7924
|
class SignOutButtonComponent extends ComponentBase {
|
|
8045
7925
|
constructor() {
|
|
8046
7926
|
super();
|
|
@@ -8059,14 +7939,14 @@ class SignOutButtonComponent extends ComponentBase {
|
|
|
8059
7939
|
}
|
|
8060
7940
|
}
|
|
8061
7941
|
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$
|
|
7942
|
+
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
7943
|
i0.ɵɵprojectionDef();
|
|
8064
7944
|
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
7945
|
} if (rf & 2) {
|
|
8066
7946
|
i0.ɵɵproperty("ngIf", ctx.external);
|
|
8067
7947
|
i0.ɵɵadvance();
|
|
8068
7948
|
i0.ɵɵproperty("ngIf", !ctx.external);
|
|
8069
|
-
} }, dependencies: [i1$
|
|
7949
|
+
} }, dependencies: [i1$1.NgIf, i1$1.NgTemplateOutlet, i1$2.RouterLink], encapsulation: 2 }); }
|
|
8070
7950
|
}
|
|
8071
7951
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SignOutButtonComponent, [{
|
|
8072
7952
|
type: Component,
|
|
@@ -8076,6 +7956,103 @@ class SignOutButtonComponent extends ComponentBase {
|
|
|
8076
7956
|
}] }); })();
|
|
8077
7957
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(SignOutButtonComponent, { className: "SignOutButtonComponent", filePath: "lib\\ui\\components\\identity\\signout-button.component.ts", lineNumber: 28 }); })();
|
|
8078
7958
|
|
|
7959
|
+
/*
|
|
7960
|
+
<file>
|
|
7961
|
+
Project:
|
|
7962
|
+
@osovitny/anatoly
|
|
7963
|
+
|
|
7964
|
+
Authors:
|
|
7965
|
+
Vadim Osovitny vadim.osovitny@osovitny.com
|
|
7966
|
+
Anatoly Osovitny anatoly.osovitny@osovitny.com
|
|
7967
|
+
|
|
7968
|
+
Created:
|
|
7969
|
+
4 Jul 2018
|
|
7970
|
+
|
|
7971
|
+
Copyright (c) 2016-2025 Osovitny Inc. All rights reserved.
|
|
7972
|
+
</file>
|
|
7973
|
+
*/
|
|
7974
|
+
//Node
|
|
7975
|
+
function SignUpButtonComponent_a_0_ng_container_1_Template(rf, ctx) { if (rf & 1) {
|
|
7976
|
+
i0.ɵɵelementContainer(0);
|
|
7977
|
+
} }
|
|
7978
|
+
function SignUpButtonComponent_a_0_Template(rf, ctx) { if (rf & 1) {
|
|
7979
|
+
i0.ɵɵelementStart(0, "a", 3);
|
|
7980
|
+
i0.ɵɵtemplate(1, SignUpButtonComponent_a_0_ng_container_1_Template, 1, 0, "ng-container", 4);
|
|
7981
|
+
i0.ɵɵelementEnd();
|
|
7982
|
+
} if (rf & 2) {
|
|
7983
|
+
const ctx_r0 = i0.ɵɵnextContext();
|
|
7984
|
+
const _r3 = i0.ɵɵreference(3);
|
|
7985
|
+
i0.ɵɵclassMap(ctx_r0.classes);
|
|
7986
|
+
i0.ɵɵproperty("href", ctx_r0.url, i0.ɵɵsanitizeUrl);
|
|
7987
|
+
i0.ɵɵadvance();
|
|
7988
|
+
i0.ɵɵproperty("ngTemplateOutlet", _r3);
|
|
7989
|
+
} }
|
|
7990
|
+
function SignUpButtonComponent_a_1_ng_container_1_Template(rf, ctx) { if (rf & 1) {
|
|
7991
|
+
i0.ɵɵelementContainer(0);
|
|
7992
|
+
} }
|
|
7993
|
+
function SignUpButtonComponent_a_1_Template(rf, ctx) { if (rf & 1) {
|
|
7994
|
+
i0.ɵɵelementStart(0, "a", 5);
|
|
7995
|
+
i0.ɵɵtemplate(1, SignUpButtonComponent_a_1_ng_container_1_Template, 1, 0, "ng-container", 4);
|
|
7996
|
+
i0.ɵɵelementEnd();
|
|
7997
|
+
} if (rf & 2) {
|
|
7998
|
+
const ctx_r1 = i0.ɵɵnextContext();
|
|
7999
|
+
const _r3 = i0.ɵɵreference(3);
|
|
8000
|
+
i0.ɵɵclassMap(ctx_r1.classes);
|
|
8001
|
+
i0.ɵɵproperty("routerLink", ctx_r1.url);
|
|
8002
|
+
i0.ɵɵadvance();
|
|
8003
|
+
i0.ɵɵproperty("ngTemplateOutlet", _r3);
|
|
8004
|
+
} }
|
|
8005
|
+
function SignUpButtonComponent_ng_template_2_span_3_Template(rf, ctx) { if (rf & 1) {
|
|
8006
|
+
i0.ɵɵelementStart(0, "span");
|
|
8007
|
+
i0.ɵɵtext(1, "Sign Up");
|
|
8008
|
+
i0.ɵɵelementEnd();
|
|
8009
|
+
} }
|
|
8010
|
+
function SignUpButtonComponent_ng_template_2_Template(rf, ctx) { if (rf & 1) {
|
|
8011
|
+
i0.ɵɵelementStart(0, "span", null, 6);
|
|
8012
|
+
i0.ɵɵprojection(2);
|
|
8013
|
+
i0.ɵɵelementEnd();
|
|
8014
|
+
i0.ɵɵtemplate(3, SignUpButtonComponent_ng_template_2_span_3_Template, 2, 0, "span", 7);
|
|
8015
|
+
} if (rf & 2) {
|
|
8016
|
+
const _r6 = i0.ɵɵreference(1);
|
|
8017
|
+
i0.ɵɵadvance(3);
|
|
8018
|
+
i0.ɵɵproperty("ngIf", !_r6.innerHTML.trim());
|
|
8019
|
+
} }
|
|
8020
|
+
const _c0$6 = ["*"];
|
|
8021
|
+
class SignUpButtonComponent extends ComponentBase {
|
|
8022
|
+
constructor() {
|
|
8023
|
+
super();
|
|
8024
|
+
this.external = false;
|
|
8025
|
+
}
|
|
8026
|
+
ngOnInit() {
|
|
8027
|
+
let url = MSALConfig.ui.signup;
|
|
8028
|
+
if (url) {
|
|
8029
|
+
this.external = url.indexOf('http') > -1;
|
|
8030
|
+
if (this.external) {
|
|
8031
|
+
this.url = url + (this.qs ? '?' + this.qs : '');
|
|
8032
|
+
}
|
|
8033
|
+
else {
|
|
8034
|
+
this.url = url;
|
|
8035
|
+
}
|
|
8036
|
+
}
|
|
8037
|
+
}
|
|
8038
|
+
static { this.ɵfac = function SignUpButtonComponent_Factory(t) { return new (t || SignUpButtonComponent)(); }; }
|
|
8039
|
+
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) {
|
|
8040
|
+
i0.ɵɵprojectionDef();
|
|
8041
|
+
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);
|
|
8042
|
+
} if (rf & 2) {
|
|
8043
|
+
i0.ɵɵproperty("ngIf", ctx.external);
|
|
8044
|
+
i0.ɵɵadvance();
|
|
8045
|
+
i0.ɵɵproperty("ngIf", !ctx.external);
|
|
8046
|
+
} }, dependencies: [i1$1.NgIf, i1$1.NgTemplateOutlet, i1$2.RouterLink], encapsulation: 2 }); }
|
|
8047
|
+
}
|
|
8048
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SignUpButtonComponent, [{
|
|
8049
|
+
type: Component,
|
|
8050
|
+
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" }]
|
|
8051
|
+
}], () => [], { qs: [{
|
|
8052
|
+
type: Input
|
|
8053
|
+
}] }); })();
|
|
8054
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(SignUpButtonComponent, { className: "SignUpButtonComponent", filePath: "lib\\ui\\components\\identity\\signup-button.component.ts", lineNumber: 28 }); })();
|
|
8055
|
+
|
|
8079
8056
|
/*
|
|
8080
8057
|
<file>
|
|
8081
8058
|
Project:
|
|
@@ -8128,7 +8105,7 @@ class NodataComponent {
|
|
|
8128
8105
|
i0.ɵɵtemplate(0, NodataComponent_Conditional_0_Template, 6, 2, "div", 0);
|
|
8129
8106
|
} if (rf & 2) {
|
|
8130
8107
|
i0.ɵɵconditional(0, !ctx.dataLoading && ctx.dataLoaded && !ctx.dataFound ? 0 : -1);
|
|
8131
|
-
} }, dependencies: [i1$
|
|
8108
|
+
} }, dependencies: [i1$1.NgIf, i1$6.FaIconComponent], encapsulation: 2 }); }
|
|
8132
8109
|
}
|
|
8133
8110
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(NodataComponent, [{
|
|
8134
8111
|
type: Component,
|
|
@@ -8227,7 +8204,7 @@ class LoadingComponent extends ComponentBase {
|
|
|
8227
8204
|
i0.ɵɵtemplate(0, LoadingComponent_div_0_Template, 2, 0, "div", 0);
|
|
8228
8205
|
} if (rf & 2) {
|
|
8229
8206
|
i0.ɵɵproperty("ngIf", ctx.show);
|
|
8230
|
-
} }, dependencies: [i1$
|
|
8207
|
+
} }, dependencies: [i1$1.NgIf], encapsulation: 2 }); }
|
|
8231
8208
|
}
|
|
8232
8209
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(LoadingComponent, [{
|
|
8233
8210
|
type: Component,
|
|
@@ -8308,17 +8285,17 @@ class PageSpinnerComponent {
|
|
|
8308
8285
|
ngOnDestroy() {
|
|
8309
8286
|
this.isSpinnerVisible = false;
|
|
8310
8287
|
}
|
|
8311
|
-
static { this.ɵfac = function PageSpinnerComponent_Factory(t) { return new (t || PageSpinnerComponent)(i0.ɵɵdirectiveInject(i1$
|
|
8288
|
+
static { this.ɵfac = function PageSpinnerComponent_Factory(t) { return new (t || PageSpinnerComponent)(i0.ɵɵdirectiveInject(i1$2.Router)); }; }
|
|
8312
8289
|
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
8290
|
i0.ɵɵtemplate(0, PageSpinnerComponent_div_0_Template, 3, 1, "div", 0);
|
|
8314
8291
|
} if (rf & 2) {
|
|
8315
8292
|
i0.ɵɵproperty("ngIf", ctx.isSpinnerVisible);
|
|
8316
|
-
} }, dependencies: [i1$
|
|
8293
|
+
} }, dependencies: [i1$1.NgIf], encapsulation: 2 }); }
|
|
8317
8294
|
}
|
|
8318
8295
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(PageSpinnerComponent, [{
|
|
8319
8296
|
type: Component,
|
|
8320
8297
|
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$
|
|
8298
|
+
}], () => [{ type: i1$2.Router }], { backgroundColor: [{
|
|
8322
8299
|
type: Input
|
|
8323
8300
|
}], spinner: [{
|
|
8324
8301
|
type: Input
|
|
@@ -8478,7 +8455,7 @@ class UrlSlugComponent extends EditComponentBase {
|
|
|
8478
8455
|
i0.ɵɵproperty("formControlName", ctx.controlName);
|
|
8479
8456
|
i0.ɵɵadvance();
|
|
8480
8457
|
i0.ɵɵproperty("ngIf", ctx.isGoButtonVisible);
|
|
8481
|
-
} }, dependencies: [i1$
|
|
8458
|
+
} }, 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
8459
|
}
|
|
8483
8460
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(UrlSlugComponent, [{
|
|
8484
8461
|
type: Component,
|
|
@@ -8534,7 +8511,7 @@ class FeatureWillBeReadyComponent extends ComponentBase {
|
|
|
8534
8511
|
i0.ɵɵproperty("ngIf", ctx.readyDate);
|
|
8535
8512
|
i0.ɵɵadvance();
|
|
8536
8513
|
i0.ɵɵproperty("ngIf", !ctx.readyDate);
|
|
8537
|
-
} }, dependencies: [i1$
|
|
8514
|
+
} }, dependencies: [i1$1.NgIf], encapsulation: 2 }); }
|
|
8538
8515
|
}
|
|
8539
8516
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(FeatureWillBeReadyComponent, [{
|
|
8540
8517
|
type: Component,
|
|
@@ -8690,7 +8667,7 @@ class FormValidationSummaryComponent extends ValidationSummaryComponent {
|
|
|
8690
8667
|
i0.ɵɵtemplate(0, FormValidationSummaryComponent_div_0_Template, 5, 1, "div", 0);
|
|
8691
8668
|
} if (rf & 2) {
|
|
8692
8669
|
i0.ɵɵproperty("ngIf", ctx.visible);
|
|
8693
|
-
} }, dependencies: [i1$
|
|
8670
|
+
} }, dependencies: [i1$1.NgForOf, i1$1.NgIf], encapsulation: 2 }); }
|
|
8694
8671
|
}
|
|
8695
8672
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(FormValidationSummaryComponent, [{
|
|
8696
8673
|
type: Component,
|
|
@@ -8892,7 +8869,7 @@ class ContactUsForm extends EditComponentBase {
|
|
|
8892
8869
|
i0.ɵɵproperty("formGroup", ctx.formGroup)("formSubmitted", ctx.formSubmitted);
|
|
8893
8870
|
i0.ɵɵadvance(3);
|
|
8894
8871
|
i0.ɵɵproperty("ngIf", ctx.showActionButtons);
|
|
8895
|
-
} }, dependencies: [i1$
|
|
8872
|
+
} }, 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
8873
|
}
|
|
8897
8874
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ContactUsForm, [{
|
|
8898
8875
|
type: Component,
|
|
@@ -8964,7 +8941,7 @@ class ContactUsDialog extends DialogBase {
|
|
|
8964
8941
|
i0.ɵɵtemplate(0, ContactUsDialog_kendo_dialog_0_Template, 10, 2, "kendo-dialog", 0);
|
|
8965
8942
|
} if (rf & 2) {
|
|
8966
8943
|
i0.ɵɵproperty("ngIf", ctx.isOpen);
|
|
8967
|
-
} }, dependencies: [i1$
|
|
8944
|
+
} }, dependencies: [i1$1.NgIf, i2$1.DialogComponent, i2$1.DialogActionsComponent, ContactUsForm], encapsulation: 2 }); }
|
|
8968
8945
|
}
|
|
8969
8946
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ContactUsDialog, [{
|
|
8970
8947
|
type: Component,
|
|
@@ -9268,7 +9245,7 @@ class AddressComponent extends EditComponentBase {
|
|
|
9268
9245
|
i0.ɵɵproperty("ngForOf", ctx.countryData);
|
|
9269
9246
|
i0.ɵɵadvance();
|
|
9270
9247
|
i0.ɵɵproperty("formGroup", ctx.formGroup)("formSubmitted", ctx.formSubmitted);
|
|
9271
|
-
} }, dependencies: [i1$
|
|
9248
|
+
} }, 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
9249
|
}
|
|
9273
9250
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(AddressComponent, [{
|
|
9274
9251
|
type: Component,
|
|
@@ -9397,7 +9374,7 @@ class CompanyComponent extends EditComponentBase {
|
|
|
9397
9374
|
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(20, _c0, ctx.isControlInvalid("company_websiteUrl")));
|
|
9398
9375
|
i0.ɵɵadvance(4);
|
|
9399
9376
|
i0.ɵɵproperty("formGroup", ctx.formGroup)("formSubmitted", ctx.formSubmitted);
|
|
9400
|
-
} }, dependencies: [i1$
|
|
9377
|
+
} }, 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
9378
|
}
|
|
9402
9379
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CompanyComponent, [{
|
|
9403
9380
|
type: Component,
|
|
@@ -10089,7 +10066,7 @@ class AnatolyIAMPagesModule {
|
|
|
10089
10066
|
}], null, null); })();
|
|
10090
10067
|
(function () { (typeof ngJitMode === "undefined" || ngJitMode) && i0.ɵɵsetNgModuleScope(AnatolyIAMPagesModule, { declarations: [SignInPage, SignUpPage, SignOutPage], imports: [CommonModule,
|
|
10091
10068
|
RouterModule,
|
|
10092
|
-
HttpClientModule, i1$
|
|
10069
|
+
HttpClientModule, i1$2.RouterModule] }); })();
|
|
10093
10070
|
|
|
10094
10071
|
/*
|
|
10095
10072
|
<file>
|