@osovitny/anatoly 3.16.68 → 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/signup-button.component.mjs +38 -30
- package/fesm2022/osovitny-anatoly.mjs +41 -33
- package/fesm2022/osovitny-anatoly.mjs.map +1 -1
- package/lib/ui/components/identity/signup-button.component.d.ts +1 -1
- 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
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYnV5YWNjZXNzLWJ1dHRvbi5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi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0lmPVwiY29udGV4dFVwZGF0ZWRcIj5cclxuICA8ZGl2ICpuZ0lmPVwiIWlzVXNlclNpZ25lZEluXCI+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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic3Vic2NyaWJlLXBsYW4tYnV0dG9uLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2FuYXRvbHkvc3JjL2xpYi91aS9jb21wb25lbnRzL2JpbGxpbmcvc3Vic2NyaWJlLXBsYW4tYnV0dG9uLmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2FuYXRvbHkvc3JjL2xpYi91aS9jb21wb25lbnRzL2JpbGxpbmcvc3Vic2NyaWJlLXBsYW4tYnV0dG9uLmNvbXBvbmVudC5odG1sIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBOzs7Ozs7Ozs7Ozs7OztFQWNFO0FBRUYsTUFBTTtBQUNOLE9BQU8sRUFBRSxTQUFTLEVBQUUsWUFBWSxFQUFFLEtBQUssRUFBVSxNQUFNLEV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BsYW4gIT0gY3VycmVudFBsYW4gJiYgcGxhbiAhPSByZXF1ZXN0ZWRQbGFuXCJcclxuICAgICAgICAgICAgKGNsaWNrKT1cIm9uUGxhblNlbGVjdCgpXCI+XHJcbiAgICAgIFN1YnNjcmliZVxyXG4gICAgPC9idXR0b24+XHJcbiAgPC9kaXY+XHJcbjwvZGl2PlxyXG4iXX0=
|
|
@@ -21,45 +21,52 @@ 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
|
|
25
|
-
i0.ɵɵ
|
|
26
|
-
i0.ɵɵtext(1, "Sign Up");
|
|
27
|
-
i0.ɵɵelementEnd();
|
|
24
|
+
function SignUpButtonComponent_a_0_ng_container_1_Template(rf, ctx) { if (rf & 1) {
|
|
25
|
+
i0.ɵɵelementContainer(0);
|
|
28
26
|
} }
|
|
29
27
|
function SignUpButtonComponent_a_0_Template(rf, ctx) { if (rf & 1) {
|
|
30
|
-
i0.ɵɵelementStart(0, "a",
|
|
31
|
-
i0.ɵɵ
|
|
32
|
-
i0.ɵɵelementEnd();
|
|
33
|
-
i0.ɵɵtemplate(4, SignUpButtonComponent_a_0_span_4_Template, 2, 0, "span", 4);
|
|
28
|
+
i0.ɵɵelementStart(0, "a", 3);
|
|
29
|
+
i0.ɵɵtemplate(1, SignUpButtonComponent_a_0_ng_container_1_Template, 1, 0, "ng-container", 4);
|
|
34
30
|
i0.ɵɵelementEnd();
|
|
35
31
|
} if (rf & 2) {
|
|
36
|
-
const _r2 = i0.ɵɵreference(2);
|
|
37
32
|
const ctx_r0 = i0.ɵɵnextContext();
|
|
33
|
+
const _r2 = i0.ɵɵreference(3);
|
|
38
34
|
i0.ɵɵclassMap(ctx_r0.classes);
|
|
39
35
|
i0.ɵɵproperty("href", ctx_r0.url, i0.ɵɵsanitizeUrl);
|
|
40
|
-
i0.ɵɵadvance(
|
|
41
|
-
i0.ɵɵproperty("
|
|
36
|
+
i0.ɵɵadvance(1);
|
|
37
|
+
i0.ɵɵproperty("ngTemplateOutlet", _r2);
|
|
42
38
|
} }
|
|
43
|
-
function
|
|
44
|
-
i0.ɵɵ
|
|
45
|
-
i0.ɵɵtext(1, "Sign Up");
|
|
46
|
-
i0.ɵɵelementEnd();
|
|
39
|
+
function SignUpButtonComponent_a_1_ng_container_1_Template(rf, ctx) { if (rf & 1) {
|
|
40
|
+
i0.ɵɵelementContainer(0);
|
|
47
41
|
} }
|
|
48
42
|
function SignUpButtonComponent_a_1_Template(rf, ctx) { if (rf & 1) {
|
|
49
|
-
i0.ɵɵelementStart(0, "a", 5)
|
|
50
|
-
i0.ɵɵ
|
|
51
|
-
i0.ɵɵelementEnd();
|
|
52
|
-
i0.ɵɵtemplate(4, SignUpButtonComponent_a_1_span_4_Template, 2, 0, "span", 4);
|
|
43
|
+
i0.ɵɵelementStart(0, "a", 5);
|
|
44
|
+
i0.ɵɵtemplate(1, SignUpButtonComponent_a_1_ng_container_1_Template, 1, 0, "ng-container", 4);
|
|
53
45
|
i0.ɵɵelementEnd();
|
|
54
46
|
} if (rf & 2) {
|
|
55
|
-
const _r4 = i0.ɵɵreference(2);
|
|
56
47
|
const ctx_r1 = i0.ɵɵnextContext();
|
|
48
|
+
const _r2 = i0.ɵɵreference(3);
|
|
57
49
|
i0.ɵɵclassMap(ctx_r1.classes);
|
|
58
50
|
i0.ɵɵproperty("routerLink", ctx_r1.url);
|
|
59
|
-
i0.ɵɵadvance(
|
|
60
|
-
i0.ɵɵproperty("
|
|
51
|
+
i0.ɵɵadvance(1);
|
|
52
|
+
i0.ɵɵproperty("ngTemplateOutlet", _r2);
|
|
53
|
+
} }
|
|
54
|
+
function SignUpButtonComponent_ng_template_2_span_3_Template(rf, ctx) { if (rf & 1) {
|
|
55
|
+
i0.ɵɵelementStart(0, "span");
|
|
56
|
+
i0.ɵɵtext(1, "Sign Up");
|
|
57
|
+
i0.ɵɵelementEnd();
|
|
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());
|
|
61
68
|
} }
|
|
62
|
-
const _c0 = ["*"
|
|
69
|
+
const _c0 = ["*"];
|
|
63
70
|
export class SignUpButtonComponent extends ComponentBase {
|
|
64
71
|
url;
|
|
65
72
|
external = false;
|
|
@@ -69,18 +76,19 @@ export class SignUpButtonComponent extends ComponentBase {
|
|
|
69
76
|
this.external = this.url?.indexOf('http') > -1;
|
|
70
77
|
}
|
|
71
78
|
static ɵfac = function SignUpButtonComponent_Factory(t) { return new (t || SignUpButtonComponent)(); };
|
|
72
|
-
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: SignUpButtonComponent, selectors: [["anatoly-signup-button"]], features: [i0.ɵɵInheritDefinitionFeature], ngContentSelectors: _c0, decls:
|
|
73
|
-
i0.ɵɵprojectionDef(
|
|
74
|
-
i0.ɵɵtemplate(0, SignUpButtonComponent_a_0_Template,
|
|
75
|
-
i0.ɵɵtemplate(1, SignUpButtonComponent_a_1_Template,
|
|
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) {
|
|
80
|
+
i0.ɵɵprojectionDef();
|
|
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);
|
|
76
84
|
} if (rf & 2) {
|
|
77
85
|
i0.ɵɵproperty("ngIf", ctx.external);
|
|
78
86
|
i0.ɵɵadvance(1);
|
|
79
87
|
i0.ɵɵproperty("ngIf", !ctx.external);
|
|
80
|
-
} }, dependencies: [i1.NgIf, i2.RouterLink], encapsulation: 2 });
|
|
88
|
+
} }, dependencies: [i1.NgIf, i1.NgTemplateOutlet, i2.RouterLink], encapsulation: 2 });
|
|
81
89
|
}
|
|
82
90
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SignUpButtonComponent, [{
|
|
83
91
|
type: Component,
|
|
84
|
-
args: [{ selector: "anatoly-signup-button", template: "<a [href]=\"url\" class=\"{{ classes }}\" *ngIf=\"external\">\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" }]
|
|
85
93
|
}], function () { return []; }, null); })();
|
|
86
|
-
//# sourceMapping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RlICNjb250ZW50VGVtcGxhdGU+XHJcbiAgPHNwYW4gI3JlZj48bmctY29udGVudD48L25nLWNvbnRlbnQ+PC9zcGFuPlxyXG4gIDxzcGFuICpuZ0lmPVwiIXJlZi5pbm5lckhUTUwudHJpbSgpXCI+U2lnbiBVcDwvc3Bhbj5cclxuPC9uZy10ZW1wbGF0ZT5cclxuIl19
|
|
@@ -3589,45 +3589,52 @@ class PagedPageBase extends PageBase {
|
|
|
3589
3589
|
</file>
|
|
3590
3590
|
*/
|
|
3591
3591
|
//Node
|
|
3592
|
-
function
|
|
3593
|
-
i0.ɵɵ
|
|
3594
|
-
i0.ɵɵtext(1, "Sign Up");
|
|
3595
|
-
i0.ɵɵelementEnd();
|
|
3592
|
+
function SignUpButtonComponent_a_0_ng_container_1_Template(rf, ctx) { if (rf & 1) {
|
|
3593
|
+
i0.ɵɵelementContainer(0);
|
|
3596
3594
|
} }
|
|
3597
3595
|
function SignUpButtonComponent_a_0_Template(rf, ctx) { if (rf & 1) {
|
|
3598
|
-
i0.ɵɵelementStart(0, "a",
|
|
3599
|
-
i0.ɵɵ
|
|
3600
|
-
i0.ɵɵelementEnd();
|
|
3601
|
-
i0.ɵɵtemplate(4, SignUpButtonComponent_a_0_span_4_Template, 2, 0, "span", 4);
|
|
3596
|
+
i0.ɵɵelementStart(0, "a", 3);
|
|
3597
|
+
i0.ɵɵtemplate(1, SignUpButtonComponent_a_0_ng_container_1_Template, 1, 0, "ng-container", 4);
|
|
3602
3598
|
i0.ɵɵelementEnd();
|
|
3603
3599
|
} if (rf & 2) {
|
|
3604
|
-
const _r2 = i0.ɵɵreference(2);
|
|
3605
3600
|
const ctx_r0 = i0.ɵɵnextContext();
|
|
3601
|
+
const _r2 = i0.ɵɵreference(3);
|
|
3606
3602
|
i0.ɵɵclassMap(ctx_r0.classes);
|
|
3607
3603
|
i0.ɵɵproperty("href", ctx_r0.url, i0.ɵɵsanitizeUrl);
|
|
3608
|
-
i0.ɵɵadvance(
|
|
3609
|
-
i0.ɵɵproperty("
|
|
3604
|
+
i0.ɵɵadvance(1);
|
|
3605
|
+
i0.ɵɵproperty("ngTemplateOutlet", _r2);
|
|
3610
3606
|
} }
|
|
3611
|
-
function
|
|
3612
|
-
i0.ɵɵ
|
|
3613
|
-
i0.ɵɵtext(1, "Sign Up");
|
|
3614
|
-
i0.ɵɵelementEnd();
|
|
3607
|
+
function SignUpButtonComponent_a_1_ng_container_1_Template(rf, ctx) { if (rf & 1) {
|
|
3608
|
+
i0.ɵɵelementContainer(0);
|
|
3615
3609
|
} }
|
|
3616
3610
|
function SignUpButtonComponent_a_1_Template(rf, ctx) { if (rf & 1) {
|
|
3617
|
-
i0.ɵɵelementStart(0, "a", 5)
|
|
3618
|
-
i0.ɵɵ
|
|
3619
|
-
i0.ɵɵelementEnd();
|
|
3620
|
-
i0.ɵɵtemplate(4, SignUpButtonComponent_a_1_span_4_Template, 2, 0, "span", 4);
|
|
3611
|
+
i0.ɵɵelementStart(0, "a", 5);
|
|
3612
|
+
i0.ɵɵtemplate(1, SignUpButtonComponent_a_1_ng_container_1_Template, 1, 0, "ng-container", 4);
|
|
3621
3613
|
i0.ɵɵelementEnd();
|
|
3622
3614
|
} if (rf & 2) {
|
|
3623
|
-
const _r4 = i0.ɵɵreference(2);
|
|
3624
3615
|
const ctx_r1 = i0.ɵɵnextContext();
|
|
3616
|
+
const _r2 = i0.ɵɵreference(3);
|
|
3625
3617
|
i0.ɵɵclassMap(ctx_r1.classes);
|
|
3626
3618
|
i0.ɵɵproperty("routerLink", ctx_r1.url);
|
|
3627
|
-
i0.ɵɵadvance(
|
|
3628
|
-
i0.ɵɵproperty("
|
|
3619
|
+
i0.ɵɵadvance(1);
|
|
3620
|
+
i0.ɵɵproperty("ngTemplateOutlet", _r2);
|
|
3629
3621
|
} }
|
|
3630
|
-
|
|
3622
|
+
function SignUpButtonComponent_ng_template_2_span_3_Template(rf, ctx) { if (rf & 1) {
|
|
3623
|
+
i0.ɵɵelementStart(0, "span");
|
|
3624
|
+
i0.ɵɵtext(1, "Sign Up");
|
|
3625
|
+
i0.ɵɵelementEnd();
|
|
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
|
+
} }
|
|
3637
|
+
const _c0$e = ["*"];
|
|
3631
3638
|
class SignUpButtonComponent extends ComponentBase {
|
|
3632
3639
|
url;
|
|
3633
3640
|
external = false;
|
|
@@ -3637,19 +3644,20 @@ class SignUpButtonComponent extends ComponentBase {
|
|
|
3637
3644
|
this.external = this.url?.indexOf('http') > -1;
|
|
3638
3645
|
}
|
|
3639
3646
|
static ɵfac = function SignUpButtonComponent_Factory(t) { return new (t || SignUpButtonComponent)(); };
|
|
3640
|
-
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: SignUpButtonComponent, selectors: [["anatoly-signup-button"]], features: [i0.ɵɵInheritDefinitionFeature], ngContentSelectors: _c0$e, decls:
|
|
3641
|
-
i0.ɵɵprojectionDef(
|
|
3642
|
-
i0.ɵɵtemplate(0, SignUpButtonComponent_a_0_Template,
|
|
3643
|
-
i0.ɵɵtemplate(1, SignUpButtonComponent_a_1_Template,
|
|
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) {
|
|
3648
|
+
i0.ɵɵprojectionDef();
|
|
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);
|
|
3644
3652
|
} if (rf & 2) {
|
|
3645
3653
|
i0.ɵɵproperty("ngIf", ctx.external);
|
|
3646
3654
|
i0.ɵɵadvance(1);
|
|
3647
3655
|
i0.ɵɵproperty("ngIf", !ctx.external);
|
|
3648
|
-
} }, dependencies: [i1$2.NgIf, i1.RouterLink], encapsulation: 2 });
|
|
3656
|
+
} }, dependencies: [i1$2.NgIf, i1$2.NgTemplateOutlet, i1.RouterLink], encapsulation: 2 });
|
|
3649
3657
|
}
|
|
3650
3658
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SignUpButtonComponent, [{
|
|
3651
3659
|
type: Component,
|
|
3652
|
-
args: [{ selector: "anatoly-signup-button", template: "<a [href]=\"url\" class=\"{{ classes }}\" *ngIf=\"external\">\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" }]
|
|
3653
3661
|
}], function () { return []; }, null); })();
|
|
3654
3662
|
|
|
3655
3663
|
/*
|
|
@@ -3740,7 +3748,7 @@ class BuyAccessButtonComponent {
|
|
|
3740
3748
|
this.planselect.emit(this.plan);
|
|
3741
3749
|
}
|
|
3742
3750
|
static ɵfac = function BuyAccessButtonComponent_Factory(t) { return new (t || BuyAccessButtonComponent)(i0.ɵɵdirectiveInject(AppContextService)); };
|
|
3743
|
-
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) {
|
|
3744
3752
|
i0.ɵɵtemplate(0, BuyAccessButtonComponent_div_0_Template, 3, 2, "div", 0);
|
|
3745
3753
|
} if (rf & 2) {
|
|
3746
3754
|
i0.ɵɵproperty("ngIf", ctx.contextUpdated);
|
|
@@ -3748,7 +3756,7 @@ class BuyAccessButtonComponent {
|
|
|
3748
3756
|
}
|
|
3749
3757
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(BuyAccessButtonComponent, [{
|
|
3750
3758
|
type: Component,
|
|
3751
|
-
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" }]
|
|
3752
3760
|
}], function () { return [{ type: AppContextService }]; }, { plan: [{
|
|
3753
3761
|
type: Input
|
|
3754
3762
|
}], planTitle: [{
|
|
@@ -3859,7 +3867,7 @@ class SubscribePlanButtonComponent {
|
|
|
3859
3867
|
this.planselect.emit(this.plan);
|
|
3860
3868
|
}
|
|
3861
3869
|
static ɵfac = function SubscribePlanButtonComponent_Factory(t) { return new (t || SubscribePlanButtonComponent)(i0.ɵɵdirectiveInject(AppContextService)); };
|
|
3862
|
-
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) {
|
|
3863
3871
|
i0.ɵɵtemplate(0, SubscribePlanButtonComponent_div_0_Template, 3, 2, "div", 0);
|
|
3864
3872
|
} if (rf & 2) {
|
|
3865
3873
|
i0.ɵɵproperty("ngIf", ctx.contextUpdated);
|
|
@@ -3867,7 +3875,7 @@ class SubscribePlanButtonComponent {
|
|
|
3867
3875
|
}
|
|
3868
3876
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SubscribePlanButtonComponent, [{
|
|
3869
3877
|
type: Component,
|
|
3870
|
-
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" }]
|
|
3871
3879
|
}], function () { return [{ type: AppContextService }]; }, { plan: [{
|
|
3872
3880
|
type: Input
|
|
3873
3881
|
}], planTitle: [{
|