@osovitny/anatoly 3.16.67 → 3.16.68
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/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 +46 -16
- package/fesm2022/osovitny-anatoly.mjs +91 -31
- 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 +2 -1
- package/package.json +1 -1
|
@@ -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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2lnbmluLWJ1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|
|
|
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
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lNpZ24gT3V0PC9zcGFuPlxyXG48L2E+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 SignUpButtonComponent_a_0_span_4_Template(rf, ctx) { if (rf & 1) {
|
|
25
25
|
i0.ɵɵelementStart(0, "span");
|
|
26
26
|
i0.ɵɵtext(1, "Sign Up");
|
|
27
27
|
i0.ɵɵelementEnd();
|
|
28
28
|
} }
|
|
29
|
-
|
|
29
|
+
function SignUpButtonComponent_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, SignUpButtonComponent_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 SignUpButtonComponent_a_1_span_4_Template(rf, ctx) { if (rf & 1) {
|
|
44
|
+
i0.ɵɵelementStart(0, "span");
|
|
45
|
+
i0.ɵɵtext(1, "Sign Up");
|
|
46
|
+
i0.ɵɵelementEnd();
|
|
47
|
+
} }
|
|
48
|
+
function SignUpButtonComponent_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, SignUpButtonComponent_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 SignUpButtonComponent extends ComponentBase {
|
|
31
64
|
url;
|
|
65
|
+
external = false;
|
|
32
66
|
constructor() {
|
|
33
67
|
super();
|
|
34
68
|
this.url = MSALConfig.ui.signup;
|
|
69
|
+
this.external = this.url?.indexOf('http') > -1;
|
|
35
70
|
}
|
|
36
71
|
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:
|
|
38
|
-
i0.ɵɵprojectionDef();
|
|
39
|
-
i0.ɵɵ
|
|
40
|
-
i0.ɵɵ
|
|
41
|
-
i0.ɵɵelementEnd();
|
|
42
|
-
i0.ɵɵtemplate(4, SignUpButtonComponent_span_4_Template, 2, 0, "span", 2);
|
|
43
|
-
i0.ɵɵelementEnd();
|
|
72
|
+
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: SignUpButtonComponent, selectors: [["anatoly-signup-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 SignUpButtonComponent_Template(rf, ctx) { if (rf & 1) {
|
|
73
|
+
i0.ɵɵprojectionDef(_c0);
|
|
74
|
+
i0.ɵɵtemplate(0, SignUpButtonComponent_a_0_Template, 5, 5, "a", 0);
|
|
75
|
+
i0.ɵɵtemplate(1, SignUpButtonComponent_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(SignUpButtonComponent, [{
|
|
53
83
|
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</a>\r\n" }]
|
|
84
|
+
args: [{ selector: "anatoly-signup-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 Up</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 Up</span>\r\n</a>\r\n" }]
|
|
55
85
|
}], function () { return []; }, null); })();
|
|
56
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
86
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2lnbnVwLWJ1dHRvbi5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9hbmF0b2x5L3NyYy9saWIvdWkvY29tcG9uZW50cy9pZGVudGl0eS9zaWdudXAtYnV0dG9uLmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2FuYXRvbHkvc3JjL2xpYi91aS9jb21wb25lbnRzL2lkZW50aXR5L3NpZ251cC1idXR0b24uY29tcG9uZW50Lmh0bWwiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUE7Ozs7Ozs7Ozs7Ozs7O0VBY0U7QUFFRixNQUFNO0FBQ04sT0FBTyxFQUFFLFNBQVMsRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUUxQyxLQUFLO0FBQ0wsT0FBTyxFQUFFLGFBQWEsRUFBRSxNQUFNLG1CQUFtQixDQUFDO0FBQ2xELE9BQU8sRUFBRSxVQUFVLEVBQUUsTUFBTSxxQkFBcUIsQ0FBQzs7Ozs7SUNuQi9DLDRCQUFvQztJQUFBLHVCQUFPO0lBQUEsaUJBQU87OztJQUZwRCw0QkFBdUQsb0JBQUE7SUFDMUMsa0JBQXlCO0lBQUEsaUJBQU87SUFDM0MsNEVBQWtEO0lBQ3BELGlCQUFJOzs7O0lBSFksNkJBQXFCO0lBQWxDLG1EQUFZO0lBRU4sZUFBMkI7SUFBM0IsNENBQTJCOzs7SUFLbEMsNEJBQW9DO0lBQUEsdUJBQU87SUFBQSxpQkFBTzs7O0lBRnBELDRCQUE4RCxvQkFBQTtJQUNqRCxxQkFBeUI7SUFBQSxpQkFB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ctY29udGVudD48L3NwYW4+XHJcbiAgPHNwYW4gKm5nSWY9XCIhcmVmLmlubmVySFRNTC50cmltKClcIj5TaWduIFVwPC9zcGFuPlxyXG48L2E+XHJcbiJdfQ==
|
|
@@ -3589,37 +3589,67 @@ class PagedPageBase extends PageBase {
|
|
|
3589
3589
|
</file>
|
|
3590
3590
|
*/
|
|
3591
3591
|
//Node
|
|
3592
|
-
function
|
|
3592
|
+
function SignUpButtonComponent_a_0_span_4_Template(rf, ctx) { if (rf & 1) {
|
|
3593
3593
|
i0.ɵɵelementStart(0, "span");
|
|
3594
3594
|
i0.ɵɵtext(1, "Sign Up");
|
|
3595
3595
|
i0.ɵɵelementEnd();
|
|
3596
3596
|
} }
|
|
3597
|
-
|
|
3597
|
+
function SignUpButtonComponent_a_0_Template(rf, ctx) { if (rf & 1) {
|
|
3598
|
+
i0.ɵɵelementStart(0, "a", 2)(1, "span", null, 3);
|
|
3599
|
+
i0.ɵɵprojection(3);
|
|
3600
|
+
i0.ɵɵelementEnd();
|
|
3601
|
+
i0.ɵɵtemplate(4, SignUpButtonComponent_a_0_span_4_Template, 2, 0, "span", 4);
|
|
3602
|
+
i0.ɵɵelementEnd();
|
|
3603
|
+
} if (rf & 2) {
|
|
3604
|
+
const _r2 = i0.ɵɵreference(2);
|
|
3605
|
+
const ctx_r0 = i0.ɵɵnextContext();
|
|
3606
|
+
i0.ɵɵclassMap(ctx_r0.classes);
|
|
3607
|
+
i0.ɵɵproperty("href", ctx_r0.url, i0.ɵɵsanitizeUrl);
|
|
3608
|
+
i0.ɵɵadvance(4);
|
|
3609
|
+
i0.ɵɵproperty("ngIf", !_r2.innerHTML.trim());
|
|
3610
|
+
} }
|
|
3611
|
+
function SignUpButtonComponent_a_1_span_4_Template(rf, ctx) { if (rf & 1) {
|
|
3612
|
+
i0.ɵɵelementStart(0, "span");
|
|
3613
|
+
i0.ɵɵtext(1, "Sign Up");
|
|
3614
|
+
i0.ɵɵelementEnd();
|
|
3615
|
+
} }
|
|
3616
|
+
function SignUpButtonComponent_a_1_Template(rf, ctx) { if (rf & 1) {
|
|
3617
|
+
i0.ɵɵelementStart(0, "a", 5)(1, "span", null, 3);
|
|
3618
|
+
i0.ɵɵprojection(3, 1);
|
|
3619
|
+
i0.ɵɵelementEnd();
|
|
3620
|
+
i0.ɵɵtemplate(4, SignUpButtonComponent_a_1_span_4_Template, 2, 0, "span", 4);
|
|
3621
|
+
i0.ɵɵelementEnd();
|
|
3622
|
+
} if (rf & 2) {
|
|
3623
|
+
const _r4 = i0.ɵɵreference(2);
|
|
3624
|
+
const ctx_r1 = i0.ɵɵnextContext();
|
|
3625
|
+
i0.ɵɵclassMap(ctx_r1.classes);
|
|
3626
|
+
i0.ɵɵproperty("routerLink", ctx_r1.url);
|
|
3627
|
+
i0.ɵɵadvance(4);
|
|
3628
|
+
i0.ɵɵproperty("ngIf", !_r4.innerHTML.trim());
|
|
3629
|
+
} }
|
|
3630
|
+
const _c0$e = ["*", "*"];
|
|
3598
3631
|
class SignUpButtonComponent extends ComponentBase {
|
|
3599
3632
|
url;
|
|
3633
|
+
external = false;
|
|
3600
3634
|
constructor() {
|
|
3601
3635
|
super();
|
|
3602
3636
|
this.url = MSALConfig.ui.signup;
|
|
3637
|
+
this.external = this.url?.indexOf('http') > -1;
|
|
3603
3638
|
}
|
|
3604
3639
|
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:
|
|
3606
|
-
i0.ɵɵprojectionDef();
|
|
3607
|
-
i0.ɵɵ
|
|
3608
|
-
i0.ɵɵ
|
|
3609
|
-
i0.ɵɵelementEnd();
|
|
3610
|
-
i0.ɵɵtemplate(4, SignUpButtonComponent_span_4_Template, 2, 0, "span", 2);
|
|
3611
|
-
i0.ɵɵelementEnd();
|
|
3640
|
+
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: SignUpButtonComponent, selectors: [["anatoly-signup-button"]], features: [i0.ɵɵInheritDefinitionFeature], ngContentSelectors: _c0$e, decls: 2, vars: 2, consts: [[3, "href", "class", 4, "ngIf"], [3, "routerLink", "class", 4, "ngIf"], [3, "href"], ["ref", ""], [4, "ngIf"], [3, "routerLink"]], template: function SignUpButtonComponent_Template(rf, ctx) { if (rf & 1) {
|
|
3641
|
+
i0.ɵɵprojectionDef(_c0$e);
|
|
3642
|
+
i0.ɵɵtemplate(0, SignUpButtonComponent_a_0_Template, 5, 5, "a", 0);
|
|
3643
|
+
i0.ɵɵtemplate(1, SignUpButtonComponent_a_1_Template, 5, 5, "a", 1);
|
|
3612
3644
|
} if (rf & 2) {
|
|
3613
|
-
|
|
3614
|
-
i0.ɵɵ
|
|
3615
|
-
i0.ɵɵproperty("
|
|
3616
|
-
i0.ɵɵadvance(4);
|
|
3617
|
-
i0.ɵɵproperty("ngIf", !_r0.innerHTML.trim());
|
|
3645
|
+
i0.ɵɵproperty("ngIf", ctx.external);
|
|
3646
|
+
i0.ɵɵadvance(1);
|
|
3647
|
+
i0.ɵɵproperty("ngIf", !ctx.external);
|
|
3618
3648
|
} }, dependencies: [i1$2.NgIf, i1.RouterLink], encapsulation: 2 });
|
|
3619
3649
|
}
|
|
3620
3650
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SignUpButtonComponent, [{
|
|
3621
3651
|
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</a>\r\n" }]
|
|
3652
|
+
args: [{ selector: "anatoly-signup-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 Up</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 Up</span>\r\n</a>\r\n" }]
|
|
3623
3653
|
}], function () { return []; }, null); })();
|
|
3624
3654
|
|
|
3625
3655
|
/*
|
|
@@ -4029,8 +4059,8 @@ function SignInButtonComponent_a_1_Template(rf, ctx) { if (rf & 1) {
|
|
|
4029
4059
|
} }
|
|
4030
4060
|
const _c0$c = ["*", "*"];
|
|
4031
4061
|
class SignInButtonComponent extends ComponentBase {
|
|
4032
|
-
external = false;
|
|
4033
4062
|
url;
|
|
4063
|
+
external = false;
|
|
4034
4064
|
constructor() {
|
|
4035
4065
|
super();
|
|
4036
4066
|
this.url = MSALConfig.ui.signin;
|
|
@@ -4068,37 +4098,67 @@ class SignInButtonComponent extends ComponentBase {
|
|
|
4068
4098
|
</file>
|
|
4069
4099
|
*/
|
|
4070
4100
|
//Node
|
|
4071
|
-
function
|
|
4101
|
+
function SignOutButtonComponent_a_0_span_4_Template(rf, ctx) { if (rf & 1) {
|
|
4072
4102
|
i0.ɵɵelementStart(0, "span");
|
|
4073
4103
|
i0.ɵɵtext(1, "Sign Out");
|
|
4074
4104
|
i0.ɵɵelementEnd();
|
|
4075
4105
|
} }
|
|
4076
|
-
|
|
4106
|
+
function SignOutButtonComponent_a_0_Template(rf, ctx) { if (rf & 1) {
|
|
4107
|
+
i0.ɵɵelementStart(0, "a", 2)(1, "span", null, 3);
|
|
4108
|
+
i0.ɵɵprojection(3);
|
|
4109
|
+
i0.ɵɵelementEnd();
|
|
4110
|
+
i0.ɵɵtemplate(4, SignOutButtonComponent_a_0_span_4_Template, 2, 0, "span", 4);
|
|
4111
|
+
i0.ɵɵelementEnd();
|
|
4112
|
+
} if (rf & 2) {
|
|
4113
|
+
const _r2 = i0.ɵɵreference(2);
|
|
4114
|
+
const ctx_r0 = i0.ɵɵnextContext();
|
|
4115
|
+
i0.ɵɵclassMap(ctx_r0.classes);
|
|
4116
|
+
i0.ɵɵproperty("href", ctx_r0.url, i0.ɵɵsanitizeUrl);
|
|
4117
|
+
i0.ɵɵadvance(4);
|
|
4118
|
+
i0.ɵɵproperty("ngIf", !_r2.innerHTML.trim());
|
|
4119
|
+
} }
|
|
4120
|
+
function SignOutButtonComponent_a_1_span_4_Template(rf, ctx) { if (rf & 1) {
|
|
4121
|
+
i0.ɵɵelementStart(0, "span");
|
|
4122
|
+
i0.ɵɵtext(1, "Sign Out");
|
|
4123
|
+
i0.ɵɵelementEnd();
|
|
4124
|
+
} }
|
|
4125
|
+
function SignOutButtonComponent_a_1_Template(rf, ctx) { if (rf & 1) {
|
|
4126
|
+
i0.ɵɵelementStart(0, "a", 5)(1, "span", null, 3);
|
|
4127
|
+
i0.ɵɵprojection(3, 1);
|
|
4128
|
+
i0.ɵɵelementEnd();
|
|
4129
|
+
i0.ɵɵtemplate(4, SignOutButtonComponent_a_1_span_4_Template, 2, 0, "span", 4);
|
|
4130
|
+
i0.ɵɵelementEnd();
|
|
4131
|
+
} if (rf & 2) {
|
|
4132
|
+
const _r4 = i0.ɵɵreference(2);
|
|
4133
|
+
const ctx_r1 = i0.ɵɵnextContext();
|
|
4134
|
+
i0.ɵɵclassMap(ctx_r1.classes);
|
|
4135
|
+
i0.ɵɵproperty("routerLink", ctx_r1.url);
|
|
4136
|
+
i0.ɵɵadvance(4);
|
|
4137
|
+
i0.ɵɵproperty("ngIf", !_r4.innerHTML.trim());
|
|
4138
|
+
} }
|
|
4139
|
+
const _c0$b = ["*", "*"];
|
|
4077
4140
|
class SignOutButtonComponent extends ComponentBase {
|
|
4078
4141
|
url;
|
|
4142
|
+
external = false;
|
|
4079
4143
|
constructor() {
|
|
4080
4144
|
super();
|
|
4081
4145
|
this.url = MSALConfig.ui.signout;
|
|
4146
|
+
this.external = this.url?.indexOf('http') > -1;
|
|
4082
4147
|
}
|
|
4083
4148
|
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();
|
|
4149
|
+
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) {
|
|
4150
|
+
i0.ɵɵprojectionDef(_c0$b);
|
|
4151
|
+
i0.ɵɵtemplate(0, SignOutButtonComponent_a_0_Template, 5, 5, "a", 0);
|
|
4152
|
+
i0.ɵɵtemplate(1, SignOutButtonComponent_a_1_Template, 5, 5, "a", 1);
|
|
4091
4153
|
} if (rf & 2) {
|
|
4092
|
-
|
|
4093
|
-
i0.ɵɵ
|
|
4094
|
-
i0.ɵɵproperty("
|
|
4095
|
-
i0.ɵɵadvance(4);
|
|
4096
|
-
i0.ɵɵproperty("ngIf", !_r0.innerHTML.trim());
|
|
4154
|
+
i0.ɵɵproperty("ngIf", ctx.external);
|
|
4155
|
+
i0.ɵɵadvance(1);
|
|
4156
|
+
i0.ɵɵproperty("ngIf", !ctx.external);
|
|
4097
4157
|
} }, dependencies: [i1$2.NgIf, i1.RouterLink], encapsulation: 2 });
|
|
4098
4158
|
}
|
|
4099
4159
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SignOutButtonComponent, [{
|
|
4100
4160
|
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" }]
|
|
4161
|
+
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
4162
|
}], function () { return []; }, null); })();
|
|
4103
4163
|
|
|
4104
4164
|
/*
|