@osovitny/anatoly 3.16.67 → 3.16.69
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/ui/components/billing/buyaccess-button.component.mjs +3 -3
- package/esm2022/lib/ui/components/billing/subscribe-plan-button.component.mjs +3 -3
- package/esm2022/lib/ui/components/identity/signin-button.component.mjs +2 -2
- package/esm2022/lib/ui/components/identity/signout-button.component.mjs +46 -16
- package/esm2022/lib/ui/components/identity/signup-button.component.mjs +53 -15
- package/fesm2022/osovitny-anatoly.mjs +102 -34
- package/fesm2022/osovitny-anatoly.mjs.map +1 -1
- package/lib/ui/components/identity/signin-button.component.d.ts +1 -1
- package/lib/ui/components/identity/signout-button.component.d.ts +2 -1
- package/lib/ui/components/identity/signup-button.component.d.ts +1 -0
- package/package.json +1 -1
|
@@ -91,7 +91,7 @@ export class BuyAccessButtonComponent {
|
|
|
91
91
|
this.planselect.emit(this.plan);
|
|
92
92
|
}
|
|
93
93
|
static ɵfac = function BuyAccessButtonComponent_Factory(t) { return new (t || BuyAccessButtonComponent)(i0.ɵɵdirectiveInject(i1.AppContextService)); };
|
|
94
|
-
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: BuyAccessButtonComponent, selectors: [["anatoly-buyaccess-button"]], inputs: { plan: "plan", planTitle: "planTitle", visibleIfUserSignedIn: "visibleIfUserSignedIn" }, outputs: { planselect: "planselect" }, decls: 1, vars: 1, consts: [[4, "ngIf"], ["
|
|
94
|
+
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: BuyAccessButtonComponent, selectors: [["anatoly-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) {
|
|
95
95
|
i0.ɵɵtemplate(0, BuyAccessButtonComponent_div_0_Template, 3, 2, "div", 0);
|
|
96
96
|
} if (rf & 2) {
|
|
97
97
|
i0.ɵɵproperty("ngIf", ctx.contextUpdated);
|
|
@@ -99,7 +99,7 @@ export class BuyAccessButtonComponent {
|
|
|
99
99
|
}
|
|
100
100
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(BuyAccessButtonComponent, [{
|
|
101
101
|
type: Component,
|
|
102
|
-
args: [{ selector: 'anatoly-buyaccess-button', template: "<div *ngIf=\"contextUpdated\">\r\n <div *ngIf=\"!isUserSignedIn\">\r\n <anatoly-signup-button
|
|
102
|
+
args: [{ selector: 'anatoly-buyaccess-button', template: "<div *ngIf=\"contextUpdated\">\r\n <div *ngIf=\"!isUserSignedIn\">\r\n <anatoly-signup-button classes=\"btn btn-block btn-primary\"></anatoly-signup-button>\r\n </div>\r\n\r\n <div *ngIf=\"isUserSignedIn && visibleIfUserSignedIn\">\r\n <button class=\"btn btn-block btn-success selectPlan\"\r\n *ngIf=\"plan == currentPlan\">\r\n Your Plan\r\n </button>\r\n\r\n <button class=\"btn btn-block btn-warning selectPlan\"\r\n *ngIf=\"plan != currentPlan && currentPlan == 1\"\r\n (click)=\"onPlanSelect()\">\r\n Buy Now\r\n </button>\r\n </div>\r\n</div>\r\n" }]
|
|
103
103
|
}], function () { return [{ type: i1.AppContextService }]; }, { plan: [{
|
|
104
104
|
type: Input
|
|
105
105
|
}], planTitle: [{
|
|
@@ -109,4 +109,4 @@ export class BuyAccessButtonComponent {
|
|
|
109
109
|
}], planselect: [{
|
|
110
110
|
type: Output
|
|
111
111
|
}] }); })();
|
|
112
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
112
|
+
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uXHJcbiAgLy9FdmVudHNcclxuICBvblBsYW5TZWxlY3QoKSB7XHJcbiAgICB0aGlzLnBsYW5zZWxlY3QuZW1pdCh0aGlzLnBsYW4pO1xyXG4gIH1cclxufVxyXG4iLCI8ZGl2ICpuZ0lmPVwiY29udGV4dFVwZGF0ZWRcIj5cclxuICA8ZGl2ICpuZ0lmPVwiIWlzVXNlclNpZ25lZEluXCI+XHJcbiAgICA8YW5hdG9seS1zaWdudXAtYnV0dG9uIGNsYXNzZXM9XCJidG4gYnRuLWJsb2NrIGJ0bi1wcmltYXJ5XCI+PC9hbmF0b2x5LXNpZ251cC1idXR0b24+XHJcbiAgPC9kaXY+XHJcblxyXG4gIDxkaXYgKm5nSWY9XCJpc1VzZXJTaWduZWRJbiAmJiB2aXNpYmxlSWZVc2VyU2lnbmVkSW5cIj5cclxuICAgIDxidXR0b24gY2xhc3M9XCJidG4gYnRuLWJsb2NrIGJ0bi1zdWNjZXNzIHNlbGVjdFBsYW5cIlxyXG4gICAgICAgICAgICAqbmdJZj1cInBsYW4gPT0gY3VycmVudFBsYW5cIj5cclxuICAgICAgWW91ciBQbGFuXHJcbiAgICA8L2J1dHRvbj5cclxuXHJcbiAgICA8YnV0dG9uIGNsYXNzPVwiYnRuIGJ0bi1ibG9jayAgYnRuLXdhcm5pbmcgc2VsZWN0UGxhblwiXHJcbiAgICAgICAgICAgICpuZ0lmPVwicGxhbiAhPSBjdXJyZW50UGxhbiAmJiBjdXJyZW50UGxhbiA9PSAxXCJcclxuICAgICAgICAgICAgKGNsaWNrKT1cIm9uUGxhblNlbGVjdCgpXCI+XHJcbiAgICAgIEJ1eSBOb3dcclxuICAgIDwvYnV0dG9uPlxyXG4gIDwvZGl2PlxyXG48L2Rpdj5cclxuIl19
|
|
@@ -103,7 +103,7 @@ export class SubscribePlanButtonComponent {
|
|
|
103
103
|
this.planselect.emit(this.plan);
|
|
104
104
|
}
|
|
105
105
|
static ɵfac = function SubscribePlanButtonComponent_Factory(t) { return new (t || SubscribePlanButtonComponent)(i0.ɵɵdirectiveInject(i1.AppContextService)); };
|
|
106
|
-
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: SubscribePlanButtonComponent, selectors: [["anatoly-subscribe-plan-button"]], inputs: { plan: "plan", planTitle: "planTitle", visibleIfUserSignedIn: "visibleIfUserSignedIn" }, outputs: { planselect: "planselect" }, decls: 1, vars: 1, consts: [[4, "ngIf"], ["
|
|
106
|
+
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: SubscribePlanButtonComponent, selectors: [["anatoly-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) {
|
|
107
107
|
i0.ɵɵtemplate(0, SubscribePlanButtonComponent_div_0_Template, 3, 2, "div", 0);
|
|
108
108
|
} if (rf & 2) {
|
|
109
109
|
i0.ɵɵproperty("ngIf", ctx.contextUpdated);
|
|
@@ -111,7 +111,7 @@ export class SubscribePlanButtonComponent {
|
|
|
111
111
|
}
|
|
112
112
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SubscribePlanButtonComponent, [{
|
|
113
113
|
type: Component,
|
|
114
|
-
args: [{ selector: "anatoly-subscribe-plan-button", template: "<div *ngIf=\"contextUpdated\">\r\n <div *ngIf=\"!isUserSignedIn\">\r\n <anatoly-signup-button
|
|
114
|
+
args: [{ selector: "anatoly-subscribe-plan-button", template: "<div *ngIf=\"contextUpdated\">\r\n <div *ngIf=\"!isUserSignedIn\">\r\n <anatoly-signup-button classes=\"btn btn-block btn-primary\"></anatoly-signup-button>\r\n </div>\r\n\r\n <div *ngIf=\"isUserSignedIn && visibleIfUserSignedIn\">\r\n <button class=\"btn btn-block btn-success selectPlan\"\r\n *ngIf=\"plan == currentPlan\">\r\n Your Plan\r\n </button>\r\n\r\n <button class=\"btn btn-block btn-warning selectPlan\"\r\n *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" }]
|
|
115
115
|
}], function () { return [{ type: i1.AppContextService }]; }, { plan: [{
|
|
116
116
|
type: Input
|
|
117
117
|
}], planTitle: [{
|
|
@@ -121,4 +121,4 @@ export class SubscribePlanButtonComponent {
|
|
|
121
121
|
}], planselect: [{
|
|
122
122
|
type: Output
|
|
123
123
|
}] }); })();
|
|
124
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
124
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic3Vic2NyaWJlLXBsYW4tYnV0dG9uLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2FuYXRvbHkvc3JjL2xpYi91aS9jb21wb25lbnRzL2JpbGxpbmcvc3Vic2NyaWJlLXBsYW4tYnV0dG9uLmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2FuYXRvbHkvc3JjL2xpYi91aS9jb21wb25lbnRzL2JpbGxpbmcvc3Vic2NyaWJlLXBsYW4tYnV0dG9uLmNvbXBvbmVudC5odG1sIl0sIm5hbWVzIjp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yXG4gICAgPC9idXR0b24+XHJcblxyXG4gICAgPGJ1dHRvbiBjbGFzcz1cImJ0biBidG4tYmxvY2sgIGJ0bi13YXJuaW5nIHNlbGVjdFBsYW5cIlxyXG4gICAgICAgICAgICAqbmdJZj1cInBsYW4gIT0gY3VycmVudFBsYW4gJiYgcGxhbiAhPSByZXF1ZXN0ZWRQbGFuXCJcclxuICAgICAgICAgICAgKGNsaWNrKT1cIm9uUGxhblNlbGVjdCgpXCI+XHJcbiAgICAgIFN1YnNjcmliZVxyXG4gICAgPC9idXR0b24+XHJcbiAgPC9kaXY+XHJcbjwvZGl2PlxyXG4iXX0=
|
|
@@ -61,8 +61,8 @@ function SignInButtonComponent_a_1_Template(rf, ctx) { if (rf & 1) {
|
|
|
61
61
|
} }
|
|
62
62
|
const _c0 = ["*", "*"];
|
|
63
63
|
export class SignInButtonComponent extends ComponentBase {
|
|
64
|
-
external = false;
|
|
65
64
|
url;
|
|
65
|
+
external = false;
|
|
66
66
|
constructor() {
|
|
67
67
|
super();
|
|
68
68
|
this.url = MSALConfig.ui.signin;
|
|
@@ -83,4 +83,4 @@ export class SignInButtonComponent extends ComponentBase {
|
|
|
83
83
|
type: Component,
|
|
84
84
|
args: [{ selector: "anatoly-signin-button", template: "<a [href]=\"url\" class=\"{{ classes }}\" *ngIf=\"external\">\r\n <span #ref><ng-content></ng-content></span>\r\n <span *ngIf=\"!ref.innerHTML.trim()\">Sign In</span>\r\n</a>\r\n\r\n<a [routerLink]=\"url\" class=\"{{ classes }}\" *ngIf=\"!external\">\r\n <span #ref><ng-content></ng-content></span>\r\n <span *ngIf=\"!ref.innerHTML.trim()\">Sign In</span>\r\n</a>\r\n" }]
|
|
85
85
|
}], function () { return []; }, null); })();
|
|
86
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
86
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2lnbmluLWJ1dHRvbi5jb21wb25lbnQuanMiLCJzb3VyY2VS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bS9jb25zdHNcIjtcclxuXHJcbkBDb21wb25lbnQoe1xyXG4gIHNlbGVjdG9yOiBcImFuYXRvbHktc2lnbmluLWJ1dHRvblwiLFxyXG4gIHRlbXBsYXRlVXJsOiBcIi4vc2lnbmluLWJ1dHRvbi5jb21wb25lbnQuaHRtbFwiLFxyXG59KVxyXG5leHBvcnQgY2xhc3MgU2lnbkluQnV0dG9uQ29tcG9uZW50IGV4dGVuZHMgQ29tcG9uZW50QmFzZSB7XHJcbiAgdXJsO1xyXG4gIGV4dGVybmFsID0gZmFsc2U7XHJcblxyXG4gIGNvbnN0cnVjdG9yKCkge1xyXG4gICAgc3VwZXIoKTtcclxuICAgIHRoaXMudXJsID0gTVNBTENvbmZpZy51aS5zaWduaW47XHJcbiAgICB0aGlzLmV4dGVybmFsID0gdGhpcy51cmw/LmluZGV4T2YoJ2h0dHAnKSA+IC0xO1xyXG4gIH1cclxufVxyXG4iLCI8YSBbaHJlZl09XCJ1cmxcIiBjbGFzcz1cInt7IGNsYXNzZXMgfX1cIiAqbmdJZj1cImV4dGVybmFsXCI+XHJcbiAgPHNwYW4gI3JlZj48bmctY29udGVudD48L25nLWNvbnRlbnQ+PC9zcGFuPlxyXG4gIDxzcGFuICpuZ0lmPVwiIXJlZi5pbm5lckhUTUwudHJpbSgpXCI+U2lnbiBJbjwvc3Bhbj5cclxuPC9hPlxyXG5cclxuPGEgW3JvdXRlckxpbmtdPVwidXJsXCIgY2xhc3M9XCJ7eyBjbGFzc2VzIH19XCIgKm5nSWY9XCIhZXh0ZXJuYWxcIj5cclxuICA8c3BhbiAjcmVmPjxuZy1jb250ZW50PjwvbmctY29udGVudD48L3NwYW4+XHJcbiAgPHNwYW4gKm5nSWY9XCIhcmVmLmlubmVySFRNTC50cmltKClcIj5TaWduIEluPC9zcGFuPlxyXG48L2E+XHJcbiJdfQ==
|
|
@@ -21,36 +21,66 @@ import { MSALConfig } from "../../../iam/consts";
|
|
|
21
21
|
import * as i0 from "@angular/core";
|
|
22
22
|
import * as i1 from "@angular/common";
|
|
23
23
|
import * as i2 from "@angular/router";
|
|
24
|
-
function
|
|
24
|
+
function SignOutButtonComponent_a_0_span_4_Template(rf, ctx) { if (rf & 1) {
|
|
25
25
|
i0.ɵɵelementStart(0, "span");
|
|
26
26
|
i0.ɵɵtext(1, "Sign Out");
|
|
27
27
|
i0.ɵɵelementEnd();
|
|
28
28
|
} }
|
|
29
|
-
|
|
29
|
+
function SignOutButtonComponent_a_0_Template(rf, ctx) { if (rf & 1) {
|
|
30
|
+
i0.ɵɵelementStart(0, "a", 2)(1, "span", null, 3);
|
|
31
|
+
i0.ɵɵprojection(3);
|
|
32
|
+
i0.ɵɵelementEnd();
|
|
33
|
+
i0.ɵɵtemplate(4, SignOutButtonComponent_a_0_span_4_Template, 2, 0, "span", 4);
|
|
34
|
+
i0.ɵɵelementEnd();
|
|
35
|
+
} if (rf & 2) {
|
|
36
|
+
const _r2 = i0.ɵɵreference(2);
|
|
37
|
+
const ctx_r0 = i0.ɵɵnextContext();
|
|
38
|
+
i0.ɵɵclassMap(ctx_r0.classes);
|
|
39
|
+
i0.ɵɵproperty("href", ctx_r0.url, i0.ɵɵsanitizeUrl);
|
|
40
|
+
i0.ɵɵadvance(4);
|
|
41
|
+
i0.ɵɵproperty("ngIf", !_r2.innerHTML.trim());
|
|
42
|
+
} }
|
|
43
|
+
function SignOutButtonComponent_a_1_span_4_Template(rf, ctx) { if (rf & 1) {
|
|
44
|
+
i0.ɵɵelementStart(0, "span");
|
|
45
|
+
i0.ɵɵtext(1, "Sign Out");
|
|
46
|
+
i0.ɵɵelementEnd();
|
|
47
|
+
} }
|
|
48
|
+
function SignOutButtonComponent_a_1_Template(rf, ctx) { if (rf & 1) {
|
|
49
|
+
i0.ɵɵelementStart(0, "a", 5)(1, "span", null, 3);
|
|
50
|
+
i0.ɵɵprojection(3, 1);
|
|
51
|
+
i0.ɵɵelementEnd();
|
|
52
|
+
i0.ɵɵtemplate(4, SignOutButtonComponent_a_1_span_4_Template, 2, 0, "span", 4);
|
|
53
|
+
i0.ɵɵelementEnd();
|
|
54
|
+
} if (rf & 2) {
|
|
55
|
+
const _r4 = i0.ɵɵreference(2);
|
|
56
|
+
const ctx_r1 = i0.ɵɵnextContext();
|
|
57
|
+
i0.ɵɵclassMap(ctx_r1.classes);
|
|
58
|
+
i0.ɵɵproperty("routerLink", ctx_r1.url);
|
|
59
|
+
i0.ɵɵadvance(4);
|
|
60
|
+
i0.ɵɵproperty("ngIf", !_r4.innerHTML.trim());
|
|
61
|
+
} }
|
|
62
|
+
const _c0 = ["*", "*"];
|
|
30
63
|
export class SignOutButtonComponent extends ComponentBase {
|
|
31
64
|
url;
|
|
65
|
+
external = false;
|
|
32
66
|
constructor() {
|
|
33
67
|
super();
|
|
34
68
|
this.url = MSALConfig.ui.signout;
|
|
69
|
+
this.external = this.url?.indexOf('http') > -1;
|
|
35
70
|
}
|
|
36
71
|
static ɵfac = function SignOutButtonComponent_Factory(t) { return new (t || SignOutButtonComponent)(); };
|
|
37
|
-
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: SignOutButtonComponent, selectors: [["anatoly-signout-button"]], features: [i0.ɵɵInheritDefinitionFeature], ngContentSelectors: _c0, decls:
|
|
38
|
-
i0.ɵɵprojectionDef();
|
|
39
|
-
i0.ɵɵ
|
|
40
|
-
i0.ɵɵ
|
|
41
|
-
i0.ɵɵelementEnd();
|
|
42
|
-
i0.ɵɵtemplate(4, SignOutButtonComponent_span_4_Template, 2, 0, "span", 2);
|
|
43
|
-
i0.ɵɵelementEnd();
|
|
72
|
+
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: SignOutButtonComponent, selectors: [["anatoly-signout-button"]], features: [i0.ɵɵInheritDefinitionFeature], ngContentSelectors: _c0, decls: 2, vars: 2, consts: [[3, "href", "class", 4, "ngIf"], [3, "routerLink", "class", 4, "ngIf"], [3, "href"], ["ref", ""], [4, "ngIf"], [3, "routerLink"]], template: function SignOutButtonComponent_Template(rf, ctx) { if (rf & 1) {
|
|
73
|
+
i0.ɵɵprojectionDef(_c0);
|
|
74
|
+
i0.ɵɵtemplate(0, SignOutButtonComponent_a_0_Template, 5, 5, "a", 0);
|
|
75
|
+
i0.ɵɵtemplate(1, SignOutButtonComponent_a_1_Template, 5, 5, "a", 1);
|
|
44
76
|
} if (rf & 2) {
|
|
45
|
-
|
|
46
|
-
i0.ɵɵ
|
|
47
|
-
i0.ɵɵproperty("
|
|
48
|
-
i0.ɵɵadvance(4);
|
|
49
|
-
i0.ɵɵproperty("ngIf", !_r0.innerHTML.trim());
|
|
77
|
+
i0.ɵɵproperty("ngIf", ctx.external);
|
|
78
|
+
i0.ɵɵadvance(1);
|
|
79
|
+
i0.ɵɵproperty("ngIf", !ctx.external);
|
|
50
80
|
} }, dependencies: [i1.NgIf, i2.RouterLink], encapsulation: 2 });
|
|
51
81
|
}
|
|
52
82
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SignOutButtonComponent, [{
|
|
53
83
|
type: Component,
|
|
54
|
-
args: [{ selector: "anatoly-signout-button", template: "<a [routerLink]=\"url\" class=\"{{ classes }}\">\r\n <span #ref><ng-content></ng-content></span>\r\n <span *ngIf=\"!ref.innerHTML.trim()\">Sign Out</span>\r\n</a>\r\n" }]
|
|
84
|
+
args: [{ selector: "anatoly-signout-button", template: "<a [href]=\"url\" class=\"{{ classes }}\" *ngIf=\"external\">\r\n <span #ref><ng-content></ng-content></span>\r\n <span *ngIf=\"!ref.innerHTML.trim()\">Sign Out</span>\r\n</a>\r\n\r\n<a [routerLink]=\"url\" class=\"{{ classes }}\" *ngIf=\"!external\">\r\n <span #ref><ng-content></ng-content></span>\r\n <span *ngIf=\"!ref.innerHTML.trim()\">Sign Out</span>\r\n</a>\r\n" }]
|
|
55
85
|
}], function () { return []; }, null); })();
|
|
56
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
86
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJ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cbiJdfQ==
|
|
@@ -21,36 +21,74 @@ import { MSALConfig } from "../../../iam/consts";
|
|
|
21
21
|
import * as i0 from "@angular/core";
|
|
22
22
|
import * as i1 from "@angular/common";
|
|
23
23
|
import * as i2 from "@angular/router";
|
|
24
|
-
function
|
|
24
|
+
function SignUpButtonComponent_a_0_ng_container_1_Template(rf, ctx) { if (rf & 1) {
|
|
25
|
+
i0.ɵɵelementContainer(0);
|
|
26
|
+
} }
|
|
27
|
+
function SignUpButtonComponent_a_0_Template(rf, ctx) { if (rf & 1) {
|
|
28
|
+
i0.ɵɵelementStart(0, "a", 3);
|
|
29
|
+
i0.ɵɵtemplate(1, SignUpButtonComponent_a_0_ng_container_1_Template, 1, 0, "ng-container", 4);
|
|
30
|
+
i0.ɵɵelementEnd();
|
|
31
|
+
} if (rf & 2) {
|
|
32
|
+
const ctx_r0 = i0.ɵɵnextContext();
|
|
33
|
+
const _r2 = i0.ɵɵreference(3);
|
|
34
|
+
i0.ɵɵclassMap(ctx_r0.classes);
|
|
35
|
+
i0.ɵɵproperty("href", ctx_r0.url, i0.ɵɵsanitizeUrl);
|
|
36
|
+
i0.ɵɵadvance(1);
|
|
37
|
+
i0.ɵɵproperty("ngTemplateOutlet", _r2);
|
|
38
|
+
} }
|
|
39
|
+
function SignUpButtonComponent_a_1_ng_container_1_Template(rf, ctx) { if (rf & 1) {
|
|
40
|
+
i0.ɵɵelementContainer(0);
|
|
41
|
+
} }
|
|
42
|
+
function SignUpButtonComponent_a_1_Template(rf, ctx) { if (rf & 1) {
|
|
43
|
+
i0.ɵɵelementStart(0, "a", 5);
|
|
44
|
+
i0.ɵɵtemplate(1, SignUpButtonComponent_a_1_ng_container_1_Template, 1, 0, "ng-container", 4);
|
|
45
|
+
i0.ɵɵelementEnd();
|
|
46
|
+
} if (rf & 2) {
|
|
47
|
+
const ctx_r1 = i0.ɵɵnextContext();
|
|
48
|
+
const _r2 = i0.ɵɵreference(3);
|
|
49
|
+
i0.ɵɵclassMap(ctx_r1.classes);
|
|
50
|
+
i0.ɵɵproperty("routerLink", ctx_r1.url);
|
|
51
|
+
i0.ɵɵadvance(1);
|
|
52
|
+
i0.ɵɵproperty("ngTemplateOutlet", _r2);
|
|
53
|
+
} }
|
|
54
|
+
function SignUpButtonComponent_ng_template_2_span_3_Template(rf, ctx) { if (rf & 1) {
|
|
25
55
|
i0.ɵɵelementStart(0, "span");
|
|
26
56
|
i0.ɵɵtext(1, "Sign Up");
|
|
27
57
|
i0.ɵɵelementEnd();
|
|
28
58
|
} }
|
|
59
|
+
function SignUpButtonComponent_ng_template_2_Template(rf, ctx) { if (rf & 1) {
|
|
60
|
+
i0.ɵɵelementStart(0, "span", null, 6);
|
|
61
|
+
i0.ɵɵprojection(2);
|
|
62
|
+
i0.ɵɵelementEnd();
|
|
63
|
+
i0.ɵɵtemplate(3, SignUpButtonComponent_ng_template_2_span_3_Template, 2, 0, "span", 7);
|
|
64
|
+
} if (rf & 2) {
|
|
65
|
+
const _r6 = i0.ɵɵreference(1);
|
|
66
|
+
i0.ɵɵadvance(3);
|
|
67
|
+
i0.ɵɵproperty("ngIf", !_r6.innerHTML.trim());
|
|
68
|
+
} }
|
|
29
69
|
const _c0 = ["*"];
|
|
30
70
|
export class SignUpButtonComponent extends ComponentBase {
|
|
31
71
|
url;
|
|
72
|
+
external = false;
|
|
32
73
|
constructor() {
|
|
33
74
|
super();
|
|
34
75
|
this.url = MSALConfig.ui.signup;
|
|
76
|
+
this.external = this.url?.indexOf('http') > -1;
|
|
35
77
|
}
|
|
36
78
|
static ɵfac = function SignUpButtonComponent_Factory(t) { return new (t || SignUpButtonComponent)(); };
|
|
37
|
-
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: SignUpButtonComponent, selectors: [["anatoly-signup-button"]], features: [i0.ɵɵInheritDefinitionFeature], ngContentSelectors: _c0, decls:
|
|
79
|
+
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: SignUpButtonComponent, selectors: [["anatoly-signup-button"]], features: [i0.ɵɵInheritDefinitionFeature], ngContentSelectors: _c0, 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) {
|
|
38
80
|
i0.ɵɵprojectionDef();
|
|
39
|
-
i0.ɵɵ
|
|
40
|
-
i0.ɵɵ
|
|
41
|
-
i0.ɵɵ
|
|
42
|
-
i0.ɵɵtemplate(4, SignUpButtonComponent_span_4_Template, 2, 0, "span", 2);
|
|
43
|
-
i0.ɵɵelementEnd();
|
|
81
|
+
i0.ɵɵtemplate(0, SignUpButtonComponent_a_0_Template, 2, 5, "a", 0);
|
|
82
|
+
i0.ɵɵtemplate(1, SignUpButtonComponent_a_1_Template, 2, 5, "a", 1);
|
|
83
|
+
i0.ɵɵtemplate(2, SignUpButtonComponent_ng_template_2_Template, 4, 1, "ng-template", null, 2, i0.ɵɵtemplateRefExtractor);
|
|
44
84
|
} if (rf & 2) {
|
|
45
|
-
|
|
46
|
-
i0.ɵɵ
|
|
47
|
-
i0.ɵɵproperty("
|
|
48
|
-
|
|
49
|
-
i0.ɵɵproperty("ngIf", !_r0.innerHTML.trim());
|
|
50
|
-
} }, dependencies: [i1.NgIf, i2.RouterLink], encapsulation: 2 });
|
|
85
|
+
i0.ɵɵproperty("ngIf", ctx.external);
|
|
86
|
+
i0.ɵɵadvance(1);
|
|
87
|
+
i0.ɵɵproperty("ngIf", !ctx.external);
|
|
88
|
+
} }, dependencies: [i1.NgIf, i1.NgTemplateOutlet, i2.RouterLink], encapsulation: 2 });
|
|
51
89
|
}
|
|
52
90
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SignUpButtonComponent, [{
|
|
53
91
|
type: Component,
|
|
54
|
-
args: [{ selector: "anatoly-signup-button", template: "<a [routerLink]=\"url\" class=\"{{ classes }}\">\r\n <span #ref><ng-content></ng-content></span>\r\n <span *ngIf=\"!ref.innerHTML.trim()\">Sign Up</span>\r\n</
|
|
92
|
+
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" }]
|
|
55
93
|
}], function () { return []; }, null); })();
|
|
56
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
94
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2lnbnVwLWJ1dHRvbi5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9hbmF0b2x5L3NyYy9saWIvdWkvY29tcG9uZW50cy9pZGVudGl0eS9zaWdudXAtYnV0dG9uLmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2FuYXRvbHkvc3JjL2xpYi91aS9jb21wb25lbnRzL2lkZW50aXR5L3NpZ251cC1idXR0b24uY29tcG9uZW50Lmh0bWwiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUE7Ozs7Ozs7Ozs7Ozs7O0VBY0U7QUFFRixNQUFNO0FBQ04sT0FBTyxFQUFFLFNBQVMsRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUUxQyxLQUFLO0FBQ0wsT0FBTyxFQUFFLGFBQWEsRUFBRSxNQUFNLG1CQUFtQixDQUFDO0FBQ2xELE9B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C0xO1xyXG4gIH1cclxufVxyXG4iLCI8YSBbaHJlZl09XCJ1cmxcIiBjbGFzcz1cInt7IGNsYXNzZXMgfX1cIiAqbmdJZj1cImV4dGVybmFsXCI+XHJcbiAgPG5nLWNvbnRhaW5lciAqbmdUZW1wbGF0ZU91dGxldD1cImNvbnRlbnRUZW1wbGF0ZVwiPjwvbmctY29udGFpbmVyPlxyXG48L2E+XHJcblxyXG48YSBbcm91dGVyTGlua109XCJ1cmxcIiBjbGFzcz1cInt7IGNsYXNzZXMgfX1cIiAqbmdJZj1cIiFleHRlcm5hbFwiPlxyXG4gIDxuZy1jb250YWluZXIgKm5nVGVtcGxhdGVPdXRsZXQ9XCJjb250ZW50VGVtcGxhdGVcIj48L25nLWNvbnRhaW5lcj5cclxuPC9hPlxyXG5cclxuPG5nLXRlbXBsYXRlICNjb250ZW50VGVtcGxhdGU+XHJcbiAgPHNwYW4gI3JlZj48bmctY29udGVudD48L25nLWNvbnRlbnQ+PC9zcGFuPlxyXG4gIDxzcGFuICpuZ0lmPVwiIXJlZi5pbm5lckhUTUwudHJpbSgpXCI+U2lnbiBVcDwvc3Bhbj5cclxuPC9uZy10ZW1wbGF0ZT5cclxuIl19
|
|
@@ -3589,37 +3589,75 @@ class PagedPageBase extends PageBase {
|
|
|
3589
3589
|
</file>
|
|
3590
3590
|
*/
|
|
3591
3591
|
//Node
|
|
3592
|
-
function
|
|
3592
|
+
function SignUpButtonComponent_a_0_ng_container_1_Template(rf, ctx) { if (rf & 1) {
|
|
3593
|
+
i0.ɵɵelementContainer(0);
|
|
3594
|
+
} }
|
|
3595
|
+
function SignUpButtonComponent_a_0_Template(rf, ctx) { if (rf & 1) {
|
|
3596
|
+
i0.ɵɵelementStart(0, "a", 3);
|
|
3597
|
+
i0.ɵɵtemplate(1, SignUpButtonComponent_a_0_ng_container_1_Template, 1, 0, "ng-container", 4);
|
|
3598
|
+
i0.ɵɵelementEnd();
|
|
3599
|
+
} if (rf & 2) {
|
|
3600
|
+
const ctx_r0 = i0.ɵɵnextContext();
|
|
3601
|
+
const _r2 = i0.ɵɵreference(3);
|
|
3602
|
+
i0.ɵɵclassMap(ctx_r0.classes);
|
|
3603
|
+
i0.ɵɵproperty("href", ctx_r0.url, i0.ɵɵsanitizeUrl);
|
|
3604
|
+
i0.ɵɵadvance(1);
|
|
3605
|
+
i0.ɵɵproperty("ngTemplateOutlet", _r2);
|
|
3606
|
+
} }
|
|
3607
|
+
function SignUpButtonComponent_a_1_ng_container_1_Template(rf, ctx) { if (rf & 1) {
|
|
3608
|
+
i0.ɵɵelementContainer(0);
|
|
3609
|
+
} }
|
|
3610
|
+
function SignUpButtonComponent_a_1_Template(rf, ctx) { if (rf & 1) {
|
|
3611
|
+
i0.ɵɵelementStart(0, "a", 5);
|
|
3612
|
+
i0.ɵɵtemplate(1, SignUpButtonComponent_a_1_ng_container_1_Template, 1, 0, "ng-container", 4);
|
|
3613
|
+
i0.ɵɵelementEnd();
|
|
3614
|
+
} if (rf & 2) {
|
|
3615
|
+
const ctx_r1 = i0.ɵɵnextContext();
|
|
3616
|
+
const _r2 = i0.ɵɵreference(3);
|
|
3617
|
+
i0.ɵɵclassMap(ctx_r1.classes);
|
|
3618
|
+
i0.ɵɵproperty("routerLink", ctx_r1.url);
|
|
3619
|
+
i0.ɵɵadvance(1);
|
|
3620
|
+
i0.ɵɵproperty("ngTemplateOutlet", _r2);
|
|
3621
|
+
} }
|
|
3622
|
+
function SignUpButtonComponent_ng_template_2_span_3_Template(rf, ctx) { if (rf & 1) {
|
|
3593
3623
|
i0.ɵɵelementStart(0, "span");
|
|
3594
3624
|
i0.ɵɵtext(1, "Sign Up");
|
|
3595
3625
|
i0.ɵɵelementEnd();
|
|
3596
3626
|
} }
|
|
3627
|
+
function SignUpButtonComponent_ng_template_2_Template(rf, ctx) { if (rf & 1) {
|
|
3628
|
+
i0.ɵɵelementStart(0, "span", null, 6);
|
|
3629
|
+
i0.ɵɵprojection(2);
|
|
3630
|
+
i0.ɵɵelementEnd();
|
|
3631
|
+
i0.ɵɵtemplate(3, SignUpButtonComponent_ng_template_2_span_3_Template, 2, 0, "span", 7);
|
|
3632
|
+
} if (rf & 2) {
|
|
3633
|
+
const _r6 = i0.ɵɵreference(1);
|
|
3634
|
+
i0.ɵɵadvance(3);
|
|
3635
|
+
i0.ɵɵproperty("ngIf", !_r6.innerHTML.trim());
|
|
3636
|
+
} }
|
|
3597
3637
|
const _c0$e = ["*"];
|
|
3598
3638
|
class SignUpButtonComponent extends ComponentBase {
|
|
3599
3639
|
url;
|
|
3640
|
+
external = false;
|
|
3600
3641
|
constructor() {
|
|
3601
3642
|
super();
|
|
3602
3643
|
this.url = MSALConfig.ui.signup;
|
|
3644
|
+
this.external = this.url?.indexOf('http') > -1;
|
|
3603
3645
|
}
|
|
3604
3646
|
static ɵfac = function SignUpButtonComponent_Factory(t) { return new (t || SignUpButtonComponent)(); };
|
|
3605
|
-
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: SignUpButtonComponent, selectors: [["anatoly-signup-button"]], features: [i0.ɵɵInheritDefinitionFeature], ngContentSelectors: _c0$e, decls:
|
|
3647
|
+
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: SignUpButtonComponent, selectors: [["anatoly-signup-button"]], features: [i0.ɵɵInheritDefinitionFeature], ngContentSelectors: _c0$e, 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) {
|
|
3606
3648
|
i0.ɵɵprojectionDef();
|
|
3607
|
-
i0.ɵɵ
|
|
3608
|
-
i0.ɵɵ
|
|
3609
|
-
i0.ɵɵ
|
|
3610
|
-
i0.ɵɵtemplate(4, SignUpButtonComponent_span_4_Template, 2, 0, "span", 2);
|
|
3611
|
-
i0.ɵɵelementEnd();
|
|
3649
|
+
i0.ɵɵtemplate(0, SignUpButtonComponent_a_0_Template, 2, 5, "a", 0);
|
|
3650
|
+
i0.ɵɵtemplate(1, SignUpButtonComponent_a_1_Template, 2, 5, "a", 1);
|
|
3651
|
+
i0.ɵɵtemplate(2, SignUpButtonComponent_ng_template_2_Template, 4, 1, "ng-template", null, 2, i0.ɵɵtemplateRefExtractor);
|
|
3612
3652
|
} if (rf & 2) {
|
|
3613
|
-
|
|
3614
|
-
i0.ɵɵ
|
|
3615
|
-
i0.ɵɵproperty("
|
|
3616
|
-
|
|
3617
|
-
i0.ɵɵproperty("ngIf", !_r0.innerHTML.trim());
|
|
3618
|
-
} }, dependencies: [i1$2.NgIf, i1.RouterLink], encapsulation: 2 });
|
|
3653
|
+
i0.ɵɵproperty("ngIf", ctx.external);
|
|
3654
|
+
i0.ɵɵadvance(1);
|
|
3655
|
+
i0.ɵɵproperty("ngIf", !ctx.external);
|
|
3656
|
+
} }, dependencies: [i1$2.NgIf, i1$2.NgTemplateOutlet, i1.RouterLink], encapsulation: 2 });
|
|
3619
3657
|
}
|
|
3620
3658
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SignUpButtonComponent, [{
|
|
3621
3659
|
type: Component,
|
|
3622
|
-
args: [{ selector: "anatoly-signup-button", template: "<a [routerLink]=\"url\" class=\"{{ classes }}\">\r\n <span #ref><ng-content></ng-content></span>\r\n <span *ngIf=\"!ref.innerHTML.trim()\">Sign Up</span>\r\n</
|
|
3660
|
+
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" }]
|
|
3623
3661
|
}], function () { return []; }, null); })();
|
|
3624
3662
|
|
|
3625
3663
|
/*
|
|
@@ -3710,7 +3748,7 @@ class BuyAccessButtonComponent {
|
|
|
3710
3748
|
this.planselect.emit(this.plan);
|
|
3711
3749
|
}
|
|
3712
3750
|
static ɵfac = function BuyAccessButtonComponent_Factory(t) { return new (t || BuyAccessButtonComponent)(i0.ɵɵdirectiveInject(AppContextService)); };
|
|
3713
|
-
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: BuyAccessButtonComponent, selectors: [["anatoly-buyaccess-button"]], inputs: { plan: "plan", planTitle: "planTitle", visibleIfUserSignedIn: "visibleIfUserSignedIn" }, outputs: { planselect: "planselect" }, decls: 1, vars: 1, consts: [[4, "ngIf"], ["
|
|
3751
|
+
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: BuyAccessButtonComponent, selectors: [["anatoly-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) {
|
|
3714
3752
|
i0.ɵɵtemplate(0, BuyAccessButtonComponent_div_0_Template, 3, 2, "div", 0);
|
|
3715
3753
|
} if (rf & 2) {
|
|
3716
3754
|
i0.ɵɵproperty("ngIf", ctx.contextUpdated);
|
|
@@ -3718,7 +3756,7 @@ class BuyAccessButtonComponent {
|
|
|
3718
3756
|
}
|
|
3719
3757
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(BuyAccessButtonComponent, [{
|
|
3720
3758
|
type: Component,
|
|
3721
|
-
args: [{ selector: 'anatoly-buyaccess-button', template: "<div *ngIf=\"contextUpdated\">\r\n <div *ngIf=\"!isUserSignedIn\">\r\n <anatoly-signup-button
|
|
3759
|
+
args: [{ selector: 'anatoly-buyaccess-button', template: "<div *ngIf=\"contextUpdated\">\r\n <div *ngIf=\"!isUserSignedIn\">\r\n <anatoly-signup-button classes=\"btn btn-block btn-primary\"></anatoly-signup-button>\r\n </div>\r\n\r\n <div *ngIf=\"isUserSignedIn && visibleIfUserSignedIn\">\r\n <button class=\"btn btn-block btn-success selectPlan\"\r\n *ngIf=\"plan == currentPlan\">\r\n Your Plan\r\n </button>\r\n\r\n <button class=\"btn btn-block btn-warning selectPlan\"\r\n *ngIf=\"plan != currentPlan && currentPlan == 1\"\r\n (click)=\"onPlanSelect()\">\r\n Buy Now\r\n </button>\r\n </div>\r\n</div>\r\n" }]
|
|
3722
3760
|
}], function () { return [{ type: AppContextService }]; }, { plan: [{
|
|
3723
3761
|
type: Input
|
|
3724
3762
|
}], planTitle: [{
|
|
@@ -3829,7 +3867,7 @@ class SubscribePlanButtonComponent {
|
|
|
3829
3867
|
this.planselect.emit(this.plan);
|
|
3830
3868
|
}
|
|
3831
3869
|
static ɵfac = function SubscribePlanButtonComponent_Factory(t) { return new (t || SubscribePlanButtonComponent)(i0.ɵɵdirectiveInject(AppContextService)); };
|
|
3832
|
-
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: SubscribePlanButtonComponent, selectors: [["anatoly-subscribe-plan-button"]], inputs: { plan: "plan", planTitle: "planTitle", visibleIfUserSignedIn: "visibleIfUserSignedIn" }, outputs: { planselect: "planselect" }, decls: 1, vars: 1, consts: [[4, "ngIf"], ["
|
|
3870
|
+
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: SubscribePlanButtonComponent, selectors: [["anatoly-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) {
|
|
3833
3871
|
i0.ɵɵtemplate(0, SubscribePlanButtonComponent_div_0_Template, 3, 2, "div", 0);
|
|
3834
3872
|
} if (rf & 2) {
|
|
3835
3873
|
i0.ɵɵproperty("ngIf", ctx.contextUpdated);
|
|
@@ -3837,7 +3875,7 @@ class SubscribePlanButtonComponent {
|
|
|
3837
3875
|
}
|
|
3838
3876
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SubscribePlanButtonComponent, [{
|
|
3839
3877
|
type: Component,
|
|
3840
|
-
args: [{ selector: "anatoly-subscribe-plan-button", template: "<div *ngIf=\"contextUpdated\">\r\n <div *ngIf=\"!isUserSignedIn\">\r\n <anatoly-signup-button
|
|
3878
|
+
args: [{ selector: "anatoly-subscribe-plan-button", template: "<div *ngIf=\"contextUpdated\">\r\n <div *ngIf=\"!isUserSignedIn\">\r\n <anatoly-signup-button classes=\"btn btn-block btn-primary\"></anatoly-signup-button>\r\n </div>\r\n\r\n <div *ngIf=\"isUserSignedIn && visibleIfUserSignedIn\">\r\n <button class=\"btn btn-block btn-success selectPlan\"\r\n *ngIf=\"plan == currentPlan\">\r\n Your Plan\r\n </button>\r\n\r\n <button class=\"btn btn-block btn-warning selectPlan\"\r\n *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" }]
|
|
3841
3879
|
}], function () { return [{ type: AppContextService }]; }, { plan: [{
|
|
3842
3880
|
type: Input
|
|
3843
3881
|
}], planTitle: [{
|
|
@@ -4029,8 +4067,8 @@ function SignInButtonComponent_a_1_Template(rf, ctx) { if (rf & 1) {
|
|
|
4029
4067
|
} }
|
|
4030
4068
|
const _c0$c = ["*", "*"];
|
|
4031
4069
|
class SignInButtonComponent extends ComponentBase {
|
|
4032
|
-
external = false;
|
|
4033
4070
|
url;
|
|
4071
|
+
external = false;
|
|
4034
4072
|
constructor() {
|
|
4035
4073
|
super();
|
|
4036
4074
|
this.url = MSALConfig.ui.signin;
|
|
@@ -4068,37 +4106,67 @@ class SignInButtonComponent extends ComponentBase {
|
|
|
4068
4106
|
</file>
|
|
4069
4107
|
*/
|
|
4070
4108
|
//Node
|
|
4071
|
-
function
|
|
4109
|
+
function SignOutButtonComponent_a_0_span_4_Template(rf, ctx) { if (rf & 1) {
|
|
4110
|
+
i0.ɵɵelementStart(0, "span");
|
|
4111
|
+
i0.ɵɵtext(1, "Sign Out");
|
|
4112
|
+
i0.ɵɵelementEnd();
|
|
4113
|
+
} }
|
|
4114
|
+
function SignOutButtonComponent_a_0_Template(rf, ctx) { if (rf & 1) {
|
|
4115
|
+
i0.ɵɵelementStart(0, "a", 2)(1, "span", null, 3);
|
|
4116
|
+
i0.ɵɵprojection(3);
|
|
4117
|
+
i0.ɵɵelementEnd();
|
|
4118
|
+
i0.ɵɵtemplate(4, SignOutButtonComponent_a_0_span_4_Template, 2, 0, "span", 4);
|
|
4119
|
+
i0.ɵɵelementEnd();
|
|
4120
|
+
} if (rf & 2) {
|
|
4121
|
+
const _r2 = i0.ɵɵreference(2);
|
|
4122
|
+
const ctx_r0 = i0.ɵɵnextContext();
|
|
4123
|
+
i0.ɵɵclassMap(ctx_r0.classes);
|
|
4124
|
+
i0.ɵɵproperty("href", ctx_r0.url, i0.ɵɵsanitizeUrl);
|
|
4125
|
+
i0.ɵɵadvance(4);
|
|
4126
|
+
i0.ɵɵproperty("ngIf", !_r2.innerHTML.trim());
|
|
4127
|
+
} }
|
|
4128
|
+
function SignOutButtonComponent_a_1_span_4_Template(rf, ctx) { if (rf & 1) {
|
|
4072
4129
|
i0.ɵɵelementStart(0, "span");
|
|
4073
4130
|
i0.ɵɵtext(1, "Sign Out");
|
|
4074
4131
|
i0.ɵɵelementEnd();
|
|
4075
4132
|
} }
|
|
4076
|
-
|
|
4133
|
+
function SignOutButtonComponent_a_1_Template(rf, ctx) { if (rf & 1) {
|
|
4134
|
+
i0.ɵɵelementStart(0, "a", 5)(1, "span", null, 3);
|
|
4135
|
+
i0.ɵɵprojection(3, 1);
|
|
4136
|
+
i0.ɵɵelementEnd();
|
|
4137
|
+
i0.ɵɵtemplate(4, SignOutButtonComponent_a_1_span_4_Template, 2, 0, "span", 4);
|
|
4138
|
+
i0.ɵɵelementEnd();
|
|
4139
|
+
} if (rf & 2) {
|
|
4140
|
+
const _r4 = i0.ɵɵreference(2);
|
|
4141
|
+
const ctx_r1 = i0.ɵɵnextContext();
|
|
4142
|
+
i0.ɵɵclassMap(ctx_r1.classes);
|
|
4143
|
+
i0.ɵɵproperty("routerLink", ctx_r1.url);
|
|
4144
|
+
i0.ɵɵadvance(4);
|
|
4145
|
+
i0.ɵɵproperty("ngIf", !_r4.innerHTML.trim());
|
|
4146
|
+
} }
|
|
4147
|
+
const _c0$b = ["*", "*"];
|
|
4077
4148
|
class SignOutButtonComponent extends ComponentBase {
|
|
4078
4149
|
url;
|
|
4150
|
+
external = false;
|
|
4079
4151
|
constructor() {
|
|
4080
4152
|
super();
|
|
4081
4153
|
this.url = MSALConfig.ui.signout;
|
|
4154
|
+
this.external = this.url?.indexOf('http') > -1;
|
|
4082
4155
|
}
|
|
4083
4156
|
static ɵfac = function SignOutButtonComponent_Factory(t) { return new (t || SignOutButtonComponent)(); };
|
|
4084
|
-
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: SignOutButtonComponent, selectors: [["anatoly-signout-button"]], features: [i0.ɵɵInheritDefinitionFeature], ngContentSelectors: _c0$b, decls:
|
|
4085
|
-
i0.ɵɵprojectionDef();
|
|
4086
|
-
i0.ɵɵ
|
|
4087
|
-
i0.ɵɵ
|
|
4088
|
-
i0.ɵɵelementEnd();
|
|
4089
|
-
i0.ɵɵtemplate(4, SignOutButtonComponent_span_4_Template, 2, 0, "span", 2);
|
|
4090
|
-
i0.ɵɵelementEnd();
|
|
4157
|
+
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: SignOutButtonComponent, selectors: [["anatoly-signout-button"]], features: [i0.ɵɵInheritDefinitionFeature], ngContentSelectors: _c0$b, decls: 2, vars: 2, consts: [[3, "href", "class", 4, "ngIf"], [3, "routerLink", "class", 4, "ngIf"], [3, "href"], ["ref", ""], [4, "ngIf"], [3, "routerLink"]], template: function SignOutButtonComponent_Template(rf, ctx) { if (rf & 1) {
|
|
4158
|
+
i0.ɵɵprojectionDef(_c0$b);
|
|
4159
|
+
i0.ɵɵtemplate(0, SignOutButtonComponent_a_0_Template, 5, 5, "a", 0);
|
|
4160
|
+
i0.ɵɵtemplate(1, SignOutButtonComponent_a_1_Template, 5, 5, "a", 1);
|
|
4091
4161
|
} if (rf & 2) {
|
|
4092
|
-
|
|
4093
|
-
i0.ɵɵ
|
|
4094
|
-
i0.ɵɵproperty("
|
|
4095
|
-
i0.ɵɵadvance(4);
|
|
4096
|
-
i0.ɵɵproperty("ngIf", !_r0.innerHTML.trim());
|
|
4162
|
+
i0.ɵɵproperty("ngIf", ctx.external);
|
|
4163
|
+
i0.ɵɵadvance(1);
|
|
4164
|
+
i0.ɵɵproperty("ngIf", !ctx.external);
|
|
4097
4165
|
} }, dependencies: [i1$2.NgIf, i1.RouterLink], encapsulation: 2 });
|
|
4098
4166
|
}
|
|
4099
4167
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SignOutButtonComponent, [{
|
|
4100
4168
|
type: Component,
|
|
4101
|
-
args: [{ selector: "anatoly-signout-button", template: "<a [routerLink]=\"url\" class=\"{{ classes }}\">\r\n <span #ref><ng-content></ng-content></span>\r\n <span *ngIf=\"!ref.innerHTML.trim()\">Sign Out</span>\r\n</a>\r\n" }]
|
|
4169
|
+
args: [{ selector: "anatoly-signout-button", template: "<a [href]=\"url\" class=\"{{ classes }}\" *ngIf=\"external\">\r\n <span #ref><ng-content></ng-content></span>\r\n <span *ngIf=\"!ref.innerHTML.trim()\">Sign Out</span>\r\n</a>\r\n\r\n<a [routerLink]=\"url\" class=\"{{ classes }}\" *ngIf=\"!external\">\r\n <span #ref><ng-content></ng-content></span>\r\n <span *ngIf=\"!ref.innerHTML.trim()\">Sign Out</span>\r\n</a>\r\n" }]
|
|
4102
4170
|
}], function () { return []; }, null); })();
|
|
4103
4171
|
|
|
4104
4172
|
/*
|