@osovitny/anatoly 3.16.68 → 3.16.70
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 +38 -30
- package/esm2022/lib/ui/components/identity/signout-button.component.mjs +38 -30
- package/esm2022/lib/ui/components/identity/signup-button.component.mjs +38 -30
- package/fesm2022/osovitny-anatoly.mjs +115 -91
- 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 +1 -1
- package/lib/ui/components/identity/signup-button.component.d.ts +1 -1
- package/package.json +1 -1
|
@@ -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);
|
|
3621
|
+
} }
|
|
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();
|
|
3629
3626
|
} }
|
|
3630
|
-
|
|
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: [{
|
|
@@ -4019,45 +4027,52 @@ class DatapagerComponent {
|
|
|
4019
4027
|
</file>
|
|
4020
4028
|
*/
|
|
4021
4029
|
//Node
|
|
4022
|
-
function
|
|
4023
|
-
i0.ɵɵ
|
|
4024
|
-
i0.ɵɵtext(1, "Sign In");
|
|
4025
|
-
i0.ɵɵelementEnd();
|
|
4030
|
+
function SignInButtonComponent_a_0_ng_container_1_Template(rf, ctx) { if (rf & 1) {
|
|
4031
|
+
i0.ɵɵelementContainer(0);
|
|
4026
4032
|
} }
|
|
4027
4033
|
function SignInButtonComponent_a_0_Template(rf, ctx) { if (rf & 1) {
|
|
4028
|
-
i0.ɵɵelementStart(0, "a",
|
|
4029
|
-
i0.ɵɵ
|
|
4030
|
-
i0.ɵɵelementEnd();
|
|
4031
|
-
i0.ɵɵtemplate(4, SignInButtonComponent_a_0_span_4_Template, 2, 0, "span", 4);
|
|
4034
|
+
i0.ɵɵelementStart(0, "a", 3);
|
|
4035
|
+
i0.ɵɵtemplate(1, SignInButtonComponent_a_0_ng_container_1_Template, 1, 0, "ng-container", 4);
|
|
4032
4036
|
i0.ɵɵelementEnd();
|
|
4033
4037
|
} if (rf & 2) {
|
|
4034
|
-
const _r2 = i0.ɵɵreference(2);
|
|
4035
4038
|
const ctx_r0 = i0.ɵɵnextContext();
|
|
4039
|
+
const _r2 = i0.ɵɵreference(3);
|
|
4036
4040
|
i0.ɵɵclassMap(ctx_r0.classes);
|
|
4037
4041
|
i0.ɵɵproperty("href", ctx_r0.url, i0.ɵɵsanitizeUrl);
|
|
4038
|
-
i0.ɵɵadvance(
|
|
4039
|
-
i0.ɵɵproperty("
|
|
4042
|
+
i0.ɵɵadvance(1);
|
|
4043
|
+
i0.ɵɵproperty("ngTemplateOutlet", _r2);
|
|
4040
4044
|
} }
|
|
4041
|
-
function
|
|
4042
|
-
i0.ɵɵ
|
|
4043
|
-
i0.ɵɵtext(1, "Sign In");
|
|
4044
|
-
i0.ɵɵelementEnd();
|
|
4045
|
+
function SignInButtonComponent_a_1_ng_container_1_Template(rf, ctx) { if (rf & 1) {
|
|
4046
|
+
i0.ɵɵelementContainer(0);
|
|
4045
4047
|
} }
|
|
4046
4048
|
function SignInButtonComponent_a_1_Template(rf, ctx) { if (rf & 1) {
|
|
4047
|
-
i0.ɵɵelementStart(0, "a", 5)
|
|
4048
|
-
i0.ɵɵ
|
|
4049
|
-
i0.ɵɵelementEnd();
|
|
4050
|
-
i0.ɵɵtemplate(4, SignInButtonComponent_a_1_span_4_Template, 2, 0, "span", 4);
|
|
4049
|
+
i0.ɵɵelementStart(0, "a", 5);
|
|
4050
|
+
i0.ɵɵtemplate(1, SignInButtonComponent_a_1_ng_container_1_Template, 1, 0, "ng-container", 4);
|
|
4051
4051
|
i0.ɵɵelementEnd();
|
|
4052
4052
|
} if (rf & 2) {
|
|
4053
|
-
const _r4 = i0.ɵɵreference(2);
|
|
4054
4053
|
const ctx_r1 = i0.ɵɵnextContext();
|
|
4054
|
+
const _r2 = i0.ɵɵreference(3);
|
|
4055
4055
|
i0.ɵɵclassMap(ctx_r1.classes);
|
|
4056
4056
|
i0.ɵɵproperty("routerLink", ctx_r1.url);
|
|
4057
|
-
i0.ɵɵadvance(
|
|
4058
|
-
i0.ɵɵproperty("
|
|
4057
|
+
i0.ɵɵadvance(1);
|
|
4058
|
+
i0.ɵɵproperty("ngTemplateOutlet", _r2);
|
|
4059
|
+
} }
|
|
4060
|
+
function SignInButtonComponent_ng_template_2_span_3_Template(rf, ctx) { if (rf & 1) {
|
|
4061
|
+
i0.ɵɵelementStart(0, "span");
|
|
4062
|
+
i0.ɵɵtext(1, "Sign In");
|
|
4063
|
+
i0.ɵɵelementEnd();
|
|
4064
|
+
} }
|
|
4065
|
+
function SignInButtonComponent_ng_template_2_Template(rf, ctx) { if (rf & 1) {
|
|
4066
|
+
i0.ɵɵelementStart(0, "span", null, 6);
|
|
4067
|
+
i0.ɵɵprojection(2);
|
|
4068
|
+
i0.ɵɵelementEnd();
|
|
4069
|
+
i0.ɵɵtemplate(3, SignInButtonComponent_ng_template_2_span_3_Template, 2, 0, "span", 7);
|
|
4070
|
+
} if (rf & 2) {
|
|
4071
|
+
const _r6 = i0.ɵɵreference(1);
|
|
4072
|
+
i0.ɵɵadvance(3);
|
|
4073
|
+
i0.ɵɵproperty("ngIf", !_r6.innerHTML.trim());
|
|
4059
4074
|
} }
|
|
4060
|
-
const _c0$c = ["*"
|
|
4075
|
+
const _c0$c = ["*"];
|
|
4061
4076
|
class SignInButtonComponent extends ComponentBase {
|
|
4062
4077
|
url;
|
|
4063
4078
|
external = false;
|
|
@@ -4067,19 +4082,20 @@ class SignInButtonComponent extends ComponentBase {
|
|
|
4067
4082
|
this.external = this.url?.indexOf('http') > -1;
|
|
4068
4083
|
}
|
|
4069
4084
|
static ɵfac = function SignInButtonComponent_Factory(t) { return new (t || SignInButtonComponent)(); };
|
|
4070
|
-
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: SignInButtonComponent, selectors: [["anatoly-signin-button"]], features: [i0.ɵɵInheritDefinitionFeature], ngContentSelectors: _c0$c, decls:
|
|
4071
|
-
i0.ɵɵprojectionDef(
|
|
4072
|
-
i0.ɵɵtemplate(0, SignInButtonComponent_a_0_Template,
|
|
4073
|
-
i0.ɵɵtemplate(1, SignInButtonComponent_a_1_Template,
|
|
4085
|
+
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: SignInButtonComponent, selectors: [["anatoly-signin-button"]], features: [i0.ɵɵInheritDefinitionFeature], ngContentSelectors: _c0$c, 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) {
|
|
4086
|
+
i0.ɵɵprojectionDef();
|
|
4087
|
+
i0.ɵɵtemplate(0, SignInButtonComponent_a_0_Template, 2, 5, "a", 0);
|
|
4088
|
+
i0.ɵɵtemplate(1, SignInButtonComponent_a_1_Template, 2, 5, "a", 1);
|
|
4089
|
+
i0.ɵɵtemplate(2, SignInButtonComponent_ng_template_2_Template, 4, 1, "ng-template", null, 2, i0.ɵɵtemplateRefExtractor);
|
|
4074
4090
|
} if (rf & 2) {
|
|
4075
4091
|
i0.ɵɵproperty("ngIf", ctx.external);
|
|
4076
4092
|
i0.ɵɵadvance(1);
|
|
4077
4093
|
i0.ɵɵproperty("ngIf", !ctx.external);
|
|
4078
|
-
} }, dependencies: [i1$2.NgIf, i1.RouterLink], encapsulation: 2 });
|
|
4094
|
+
} }, dependencies: [i1$2.NgIf, i1$2.NgTemplateOutlet, i1.RouterLink], encapsulation: 2 });
|
|
4079
4095
|
}
|
|
4080
4096
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SignInButtonComponent, [{
|
|
4081
4097
|
type: Component,
|
|
4082
|
-
args: [{ selector: "anatoly-signin-button", template: "<a [href]=\"url\" class=\"{{ classes }}\" *ngIf=\"external\">\r\n <
|
|
4098
|
+
args: [{ selector: "anatoly-signin-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 In</span>\r\n</ng-template>\r\n" }]
|
|
4083
4099
|
}], function () { return []; }, null); })();
|
|
4084
4100
|
|
|
4085
4101
|
/*
|
|
@@ -4098,45 +4114,52 @@ class SignInButtonComponent extends ComponentBase {
|
|
|
4098
4114
|
</file>
|
|
4099
4115
|
*/
|
|
4100
4116
|
//Node
|
|
4101
|
-
function
|
|
4102
|
-
i0.ɵɵ
|
|
4103
|
-
i0.ɵɵtext(1, "Sign Out");
|
|
4104
|
-
i0.ɵɵelementEnd();
|
|
4117
|
+
function SignOutButtonComponent_a_0_ng_container_1_Template(rf, ctx) { if (rf & 1) {
|
|
4118
|
+
i0.ɵɵelementContainer(0);
|
|
4105
4119
|
} }
|
|
4106
4120
|
function SignOutButtonComponent_a_0_Template(rf, ctx) { if (rf & 1) {
|
|
4107
|
-
i0.ɵɵelementStart(0, "a",
|
|
4108
|
-
i0.ɵɵ
|
|
4109
|
-
i0.ɵɵelementEnd();
|
|
4110
|
-
i0.ɵɵtemplate(4, SignOutButtonComponent_a_0_span_4_Template, 2, 0, "span", 4);
|
|
4121
|
+
i0.ɵɵelementStart(0, "a", 3);
|
|
4122
|
+
i0.ɵɵtemplate(1, SignOutButtonComponent_a_0_ng_container_1_Template, 1, 0, "ng-container", 4);
|
|
4111
4123
|
i0.ɵɵelementEnd();
|
|
4112
4124
|
} if (rf & 2) {
|
|
4113
|
-
const _r2 = i0.ɵɵreference(2);
|
|
4114
4125
|
const ctx_r0 = i0.ɵɵnextContext();
|
|
4126
|
+
const _r2 = i0.ɵɵreference(3);
|
|
4115
4127
|
i0.ɵɵclassMap(ctx_r0.classes);
|
|
4116
4128
|
i0.ɵɵproperty("href", ctx_r0.url, i0.ɵɵsanitizeUrl);
|
|
4117
|
-
i0.ɵɵadvance(
|
|
4118
|
-
i0.ɵɵproperty("
|
|
4129
|
+
i0.ɵɵadvance(1);
|
|
4130
|
+
i0.ɵɵproperty("ngTemplateOutlet", _r2);
|
|
4119
4131
|
} }
|
|
4120
|
-
function
|
|
4121
|
-
i0.ɵɵ
|
|
4122
|
-
i0.ɵɵtext(1, "Sign Out");
|
|
4123
|
-
i0.ɵɵelementEnd();
|
|
4132
|
+
function SignOutButtonComponent_a_1_ng_container_1_Template(rf, ctx) { if (rf & 1) {
|
|
4133
|
+
i0.ɵɵelementContainer(0);
|
|
4124
4134
|
} }
|
|
4125
4135
|
function SignOutButtonComponent_a_1_Template(rf, ctx) { if (rf & 1) {
|
|
4126
|
-
i0.ɵɵelementStart(0, "a", 5)
|
|
4127
|
-
i0.ɵɵ
|
|
4128
|
-
i0.ɵɵelementEnd();
|
|
4129
|
-
i0.ɵɵtemplate(4, SignOutButtonComponent_a_1_span_4_Template, 2, 0, "span", 4);
|
|
4136
|
+
i0.ɵɵelementStart(0, "a", 5);
|
|
4137
|
+
i0.ɵɵtemplate(1, SignOutButtonComponent_a_1_ng_container_1_Template, 1, 0, "ng-container", 4);
|
|
4130
4138
|
i0.ɵɵelementEnd();
|
|
4131
4139
|
} if (rf & 2) {
|
|
4132
|
-
const _r4 = i0.ɵɵreference(2);
|
|
4133
4140
|
const ctx_r1 = i0.ɵɵnextContext();
|
|
4141
|
+
const _r2 = i0.ɵɵreference(3);
|
|
4134
4142
|
i0.ɵɵclassMap(ctx_r1.classes);
|
|
4135
4143
|
i0.ɵɵproperty("routerLink", ctx_r1.url);
|
|
4136
|
-
i0.ɵɵadvance(
|
|
4137
|
-
i0.ɵɵproperty("
|
|
4144
|
+
i0.ɵɵadvance(1);
|
|
4145
|
+
i0.ɵɵproperty("ngTemplateOutlet", _r2);
|
|
4138
4146
|
} }
|
|
4139
|
-
|
|
4147
|
+
function SignOutButtonComponent_ng_template_2_span_3_Template(rf, ctx) { if (rf & 1) {
|
|
4148
|
+
i0.ɵɵelementStart(0, "span");
|
|
4149
|
+
i0.ɵɵtext(1, "Sign Out");
|
|
4150
|
+
i0.ɵɵelementEnd();
|
|
4151
|
+
} }
|
|
4152
|
+
function SignOutButtonComponent_ng_template_2_Template(rf, ctx) { if (rf & 1) {
|
|
4153
|
+
i0.ɵɵelementStart(0, "span", null, 6);
|
|
4154
|
+
i0.ɵɵprojection(2);
|
|
4155
|
+
i0.ɵɵelementEnd();
|
|
4156
|
+
i0.ɵɵtemplate(3, SignOutButtonComponent_ng_template_2_span_3_Template, 2, 0, "span", 7);
|
|
4157
|
+
} if (rf & 2) {
|
|
4158
|
+
const _r6 = i0.ɵɵreference(1);
|
|
4159
|
+
i0.ɵɵadvance(3);
|
|
4160
|
+
i0.ɵɵproperty("ngIf", !_r6.innerHTML.trim());
|
|
4161
|
+
} }
|
|
4162
|
+
const _c0$b = ["*"];
|
|
4140
4163
|
class SignOutButtonComponent extends ComponentBase {
|
|
4141
4164
|
url;
|
|
4142
4165
|
external = false;
|
|
@@ -4146,19 +4169,20 @@ class SignOutButtonComponent extends ComponentBase {
|
|
|
4146
4169
|
this.external = this.url?.indexOf('http') > -1;
|
|
4147
4170
|
}
|
|
4148
4171
|
static ɵfac = function SignOutButtonComponent_Factory(t) { return new (t || SignOutButtonComponent)(); };
|
|
4149
|
-
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: SignOutButtonComponent, selectors: [["anatoly-signout-button"]], features: [i0.ɵɵInheritDefinitionFeature], ngContentSelectors: _c0$b, decls:
|
|
4150
|
-
i0.ɵɵprojectionDef(
|
|
4151
|
-
i0.ɵɵtemplate(0, SignOutButtonComponent_a_0_Template,
|
|
4152
|
-
i0.ɵɵtemplate(1, SignOutButtonComponent_a_1_Template,
|
|
4172
|
+
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: SignOutButtonComponent, selectors: [["anatoly-signout-button"]], features: [i0.ɵɵInheritDefinitionFeature], ngContentSelectors: _c0$b, 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) {
|
|
4173
|
+
i0.ɵɵprojectionDef();
|
|
4174
|
+
i0.ɵɵtemplate(0, SignOutButtonComponent_a_0_Template, 2, 5, "a", 0);
|
|
4175
|
+
i0.ɵɵtemplate(1, SignOutButtonComponent_a_1_Template, 2, 5, "a", 1);
|
|
4176
|
+
i0.ɵɵtemplate(2, SignOutButtonComponent_ng_template_2_Template, 4, 1, "ng-template", null, 2, i0.ɵɵtemplateRefExtractor);
|
|
4153
4177
|
} if (rf & 2) {
|
|
4154
4178
|
i0.ɵɵproperty("ngIf", ctx.external);
|
|
4155
4179
|
i0.ɵɵadvance(1);
|
|
4156
4180
|
i0.ɵɵproperty("ngIf", !ctx.external);
|
|
4157
|
-
} }, dependencies: [i1$2.NgIf, i1.RouterLink], encapsulation: 2 });
|
|
4181
|
+
} }, dependencies: [i1$2.NgIf, i1$2.NgTemplateOutlet, i1.RouterLink], encapsulation: 2 });
|
|
4158
4182
|
}
|
|
4159
4183
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SignOutButtonComponent, [{
|
|
4160
4184
|
type: Component,
|
|
4161
|
-
args: [{ selector: "anatoly-signout-button", template: "<a [href]=\"url\" class=\"{{ classes }}\" *ngIf=\"external\">\r\n <
|
|
4185
|
+
args: [{ selector: "anatoly-signout-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 Out</span>\r\n</ng-template>\r\n" }]
|
|
4162
4186
|
}], function () { return []; }, null); })();
|
|
4163
4187
|
|
|
4164
4188
|
/*
|