@osovitny/anatoly 3.16.69 → 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/identity/signin-button.component.mjs +38 -30
- package/esm2022/lib/ui/components/identity/signout-button.component.mjs +38 -30
- package/fesm2022/osovitny-anatoly.mjs +74 -58
- 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/package.json +1 -1
|
@@ -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 In");
|
|
27
|
-
i0.ɵɵelementEnd();
|
|
24
|
+
function SignInButtonComponent_a_0_ng_container_1_Template(rf, ctx) { if (rf & 1) {
|
|
25
|
+
i0.ɵɵelementContainer(0);
|
|
28
26
|
} }
|
|
29
27
|
function SignInButtonComponent_a_0_Template(rf, ctx) { if (rf & 1) {
|
|
30
|
-
i0.ɵɵelementStart(0, "a",
|
|
31
|
-
i0.ɵɵ
|
|
32
|
-
i0.ɵɵelementEnd();
|
|
33
|
-
i0.ɵɵtemplate(4, SignInButtonComponent_a_0_span_4_Template, 2, 0, "span", 4);
|
|
28
|
+
i0.ɵɵelementStart(0, "a", 3);
|
|
29
|
+
i0.ɵɵtemplate(1, SignInButtonComponent_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 In");
|
|
46
|
-
i0.ɵɵelementEnd();
|
|
39
|
+
function SignInButtonComponent_a_1_ng_container_1_Template(rf, ctx) { if (rf & 1) {
|
|
40
|
+
i0.ɵɵelementContainer(0);
|
|
47
41
|
} }
|
|
48
42
|
function SignInButtonComponent_a_1_Template(rf, ctx) { if (rf & 1) {
|
|
49
|
-
i0.ɵɵelementStart(0, "a", 5)
|
|
50
|
-
i0.ɵɵ
|
|
51
|
-
i0.ɵɵelementEnd();
|
|
52
|
-
i0.ɵɵtemplate(4, SignInButtonComponent_a_1_span_4_Template, 2, 0, "span", 4);
|
|
43
|
+
i0.ɵɵelementStart(0, "a", 5);
|
|
44
|
+
i0.ɵɵtemplate(1, SignInButtonComponent_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 SignInButtonComponent_ng_template_2_span_3_Template(rf, ctx) { if (rf & 1) {
|
|
55
|
+
i0.ɵɵelementStart(0, "span");
|
|
56
|
+
i0.ɵɵtext(1, "Sign In");
|
|
57
|
+
i0.ɵɵelementEnd();
|
|
58
|
+
} }
|
|
59
|
+
function SignInButtonComponent_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, SignInButtonComponent_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 SignInButtonComponent extends ComponentBase {
|
|
64
71
|
url;
|
|
65
72
|
external = false;
|
|
@@ -69,18 +76,19 @@ export class SignInButtonComponent extends ComponentBase {
|
|
|
69
76
|
this.external = this.url?.indexOf('http') > -1;
|
|
70
77
|
}
|
|
71
78
|
static ɵfac = function SignInButtonComponent_Factory(t) { return new (t || SignInButtonComponent)(); };
|
|
72
|
-
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: SignInButtonComponent, selectors: [["anatoly-signin-button"]], features: [i0.ɵɵInheritDefinitionFeature], ngContentSelectors: _c0, decls:
|
|
73
|
-
i0.ɵɵprojectionDef(
|
|
74
|
-
i0.ɵɵtemplate(0, SignInButtonComponent_a_0_Template,
|
|
75
|
-
i0.ɵɵtemplate(1, SignInButtonComponent_a_1_Template,
|
|
79
|
+
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: SignInButtonComponent, selectors: [["anatoly-signin-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 SignInButtonComponent_Template(rf, ctx) { if (rf & 1) {
|
|
80
|
+
i0.ɵɵprojectionDef();
|
|
81
|
+
i0.ɵɵtemplate(0, SignInButtonComponent_a_0_Template, 2, 5, "a", 0);
|
|
82
|
+
i0.ɵɵtemplate(1, SignInButtonComponent_a_1_Template, 2, 5, "a", 1);
|
|
83
|
+
i0.ɵɵtemplate(2, SignInButtonComponent_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(SignInButtonComponent, [{
|
|
83
91
|
type: Component,
|
|
84
|
-
args: [{ selector: "anatoly-signin-button", template: "<a [href]=\"url\" class=\"{{ classes }}\" *ngIf=\"external\">\r\n <
|
|
92
|
+
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" }]
|
|
85
93
|
}], function () { return []; }, null); })();
|
|
86
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
94
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2lnbmluLWJ1dHRvbi5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9hbmF0b2x5L3NyYy9saWIvdWkvY29tcG9uZW50cy9pZGVudGl0eS9zaWduaW4tYnV0dG9uLmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2FuYXRvbHkvc3JjL2xpYi91aS9jb21wb25lbnRzL2lkZW50aXR5L3NpZ25pbi1idXR0b24uY29tcG9uZW50Lmh0bWwiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUE7Ozs7Ozs7Ozs7Ozs7O0VBY0U7QUFFRixNQUFNO0FBQ04sT0FBTyxFQUFFLFNBQVMsRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUUxQyxLQUFLO0FBQ0wsT0FBTyxFQUFFLGFBQWEsRUFBRSxNQUFNLG1CQUFtQixDQUFDO0FBQ2xELE9BQU8sRUFBRSxVQUFVLEVBQUUsTUFBTSxxQkFBcUIsQ0FBQzs7Ozs7SUNwQi9DLHdCQUFpRTs7O0lBRG5FLDRCQUF1RDtJQUNyRCw0RkFBaUU7SUFDbkUsaUJBQUk7Ozs7SUFGWSw2QkFBcUI7SUFBbEMsbURBQVk7SUFDRSxlQUFpQztJQUFqQyxzQ0FBaUM7OztJQUloRCx3QkFBaUU7OztJQURuRSw0QkFBOEQ7SUFDNUQsNEZBQWlFO0lBQ25FLGlCQUFJOzs7O0lBRmtCLDZCQUFxQjtJQUF4Qyx1Q0FBa0I7SUFDSixlQUFpQztJQUFqQyxzQ0FBaUM7OztJQUtoRCw0QkFBb0M7S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W50VGVtcGxhdGVcIj48L25nLWNvbnRhaW5lcj5cclxuPC9hPlxyXG5cclxuPG5nLXRlbXBsYXRlICNjb250ZW50VGVtcGxhdGU+XHJcbiAgPHNwYW4gI3JlZj48bmctY29udGVudD48L25nLWNvbnRlbnQ+PC9zcGFuPlxyXG4gIDxzcGFuICpuZ0lmPVwiIXJlZi5pbm5lckhUTUwudHJpbSgpXCI+U2lnbiBJbjwvc3Bhbj5cclxuPC9uZy10ZW1wbGF0ZT5cclxuIl19
|
|
@@ -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 Out");
|
|
27
|
-
i0.ɵɵelementEnd();
|
|
24
|
+
function SignOutButtonComponent_a_0_ng_container_1_Template(rf, ctx) { if (rf & 1) {
|
|
25
|
+
i0.ɵɵelementContainer(0);
|
|
28
26
|
} }
|
|
29
27
|
function SignOutButtonComponent_a_0_Template(rf, ctx) { if (rf & 1) {
|
|
30
|
-
i0.ɵɵelementStart(0, "a",
|
|
31
|
-
i0.ɵɵ
|
|
32
|
-
i0.ɵɵelementEnd();
|
|
33
|
-
i0.ɵɵtemplate(4, SignOutButtonComponent_a_0_span_4_Template, 2, 0, "span", 4);
|
|
28
|
+
i0.ɵɵelementStart(0, "a", 3);
|
|
29
|
+
i0.ɵɵtemplate(1, SignOutButtonComponent_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 Out");
|
|
46
|
-
i0.ɵɵelementEnd();
|
|
39
|
+
function SignOutButtonComponent_a_1_ng_container_1_Template(rf, ctx) { if (rf & 1) {
|
|
40
|
+
i0.ɵɵelementContainer(0);
|
|
47
41
|
} }
|
|
48
42
|
function SignOutButtonComponent_a_1_Template(rf, ctx) { if (rf & 1) {
|
|
49
|
-
i0.ɵɵelementStart(0, "a", 5)
|
|
50
|
-
i0.ɵɵ
|
|
51
|
-
i0.ɵɵelementEnd();
|
|
52
|
-
i0.ɵɵtemplate(4, SignOutButtonComponent_a_1_span_4_Template, 2, 0, "span", 4);
|
|
43
|
+
i0.ɵɵelementStart(0, "a", 5);
|
|
44
|
+
i0.ɵɵtemplate(1, SignOutButtonComponent_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 SignOutButtonComponent_ng_template_2_span_3_Template(rf, ctx) { if (rf & 1) {
|
|
55
|
+
i0.ɵɵelementStart(0, "span");
|
|
56
|
+
i0.ɵɵtext(1, "Sign Out");
|
|
57
|
+
i0.ɵɵelementEnd();
|
|
58
|
+
} }
|
|
59
|
+
function SignOutButtonComponent_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, SignOutButtonComponent_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 SignOutButtonComponent extends ComponentBase {
|
|
64
71
|
url;
|
|
65
72
|
external = false;
|
|
@@ -69,18 +76,19 @@ export class SignOutButtonComponent extends ComponentBase {
|
|
|
69
76
|
this.external = this.url?.indexOf('http') > -1;
|
|
70
77
|
}
|
|
71
78
|
static ɵfac = function SignOutButtonComponent_Factory(t) { return new (t || SignOutButtonComponent)(); };
|
|
72
|
-
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: SignOutButtonComponent, selectors: [["anatoly-signout-button"]], features: [i0.ɵɵInheritDefinitionFeature], ngContentSelectors: _c0, decls:
|
|
73
|
-
i0.ɵɵprojectionDef(
|
|
74
|
-
i0.ɵɵtemplate(0, SignOutButtonComponent_a_0_Template,
|
|
75
|
-
i0.ɵɵtemplate(1, SignOutButtonComponent_a_1_Template,
|
|
79
|
+
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: SignOutButtonComponent, selectors: [["anatoly-signout-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 SignOutButtonComponent_Template(rf, ctx) { if (rf & 1) {
|
|
80
|
+
i0.ɵɵprojectionDef();
|
|
81
|
+
i0.ɵɵtemplate(0, SignOutButtonComponent_a_0_Template, 2, 5, "a", 0);
|
|
82
|
+
i0.ɵɵtemplate(1, SignOutButtonComponent_a_1_Template, 2, 5, "a", 1);
|
|
83
|
+
i0.ɵɵtemplate(2, SignOutButtonComponent_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(SignOutButtonComponent, [{
|
|
83
91
|
type: Component,
|
|
84
|
-
args: [{ selector: "anatoly-signout-button", template: "<a [href]=\"url\" class=\"{{ classes }}\" *ngIf=\"external\">\r\n <
|
|
92
|
+
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" }]
|
|
85
93
|
}], function () { return []; }, null); })();
|
|
86
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
94
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2lnbm91dC1idXR0b24uY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvYW5hdG9seS9zcmMvbGliL3VpL2NvbXBvbmVudHMvaWRlbnRpdHkvc2lnbm91dC1idXR0b24uY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvYW5hdG9seS9zcmMvbGliL3VpL2NvbXBvbmVudHMvaWRlbnRpdHkvc2lnbm91dC1idXR0b24uY29tcG9uZW50Lmh0bWwiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUE7Ozs7Ozs7Ozs7Ozs7O0VBY0U7QUFFRixNQUFNO0FBQ04sT0FBTyxFQUFFLFNBQVMsRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUUxQyxLQUFLO0FBQ0wsT0FBTyxFQUFFLGFBQWEsRUFBRSxNQUFNLG1CQUFtQixDQUFDO0FBQ2xELE9BQU8sRUFBRSxVQUFVLEVBQUUsTUFBTSxxQkFBcUIsQ0FBQzs7Ozs7SUNwQi9DLHdCQUFpRTs7O0lBRG5FLDRCQUF1RDtJQUNyRCw2RkFBaUU7SUFDbkUsaUJBQUk7Ozs7SUFGWSw2QkFBcUI7SUFBbEMsbURBQVk7SUFDRSxlQUFpQztJQUFqQyxzQ0FBaUM7OztJQUloRCx3QkFBaUU7OztJQURuRSw0QkFBOEQ7SUFDNUQsNkZBQWlFO0lBQ25FLGlCQUFJOzs7O0lBRmtCLDZCQUFxQjtJQUF4Qyx1Q0FBa0I7SUFDSixlQUFpQztJQUFqQyxzQ0FBaUM7OztJQUtoRCw0QkFBb0M7SUFBQSx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VudFRlbXBsYXRlXCI+PC9uZy1jb250YWluZXI+XHJcbjwvYT5cclxuXHJcbjxuZy10ZW1wbGF0ZSAjY29udGVudFRlbXBsYXRlPlxyXG4gIDxzcGFuICNyZWY+PG5nLWNvbnRlbnQ+PC9uZy1jb250ZW50Pjwvc3Bhbj5cclxuICA8c3BhbiAqbmdJZj1cIiFyZWYuaW5uZXJIVE1MLnRyaW0oKVwiPlNpZ24gT3V0PC9zcGFuPlxyXG48L25nLXRlbXBsYXRlPlxyXG4iXX0=
|
|
@@ -4027,45 +4027,52 @@ class DatapagerComponent {
|
|
|
4027
4027
|
</file>
|
|
4028
4028
|
*/
|
|
4029
4029
|
//Node
|
|
4030
|
-
function
|
|
4031
|
-
i0.ɵɵ
|
|
4032
|
-
i0.ɵɵtext(1, "Sign In");
|
|
4033
|
-
i0.ɵɵelementEnd();
|
|
4030
|
+
function SignInButtonComponent_a_0_ng_container_1_Template(rf, ctx) { if (rf & 1) {
|
|
4031
|
+
i0.ɵɵelementContainer(0);
|
|
4034
4032
|
} }
|
|
4035
4033
|
function SignInButtonComponent_a_0_Template(rf, ctx) { if (rf & 1) {
|
|
4036
|
-
i0.ɵɵelementStart(0, "a",
|
|
4037
|
-
i0.ɵɵ
|
|
4038
|
-
i0.ɵɵelementEnd();
|
|
4039
|
-
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);
|
|
4040
4036
|
i0.ɵɵelementEnd();
|
|
4041
4037
|
} if (rf & 2) {
|
|
4042
|
-
const _r2 = i0.ɵɵreference(2);
|
|
4043
4038
|
const ctx_r0 = i0.ɵɵnextContext();
|
|
4039
|
+
const _r2 = i0.ɵɵreference(3);
|
|
4044
4040
|
i0.ɵɵclassMap(ctx_r0.classes);
|
|
4045
4041
|
i0.ɵɵproperty("href", ctx_r0.url, i0.ɵɵsanitizeUrl);
|
|
4046
|
-
i0.ɵɵadvance(
|
|
4047
|
-
i0.ɵɵproperty("
|
|
4042
|
+
i0.ɵɵadvance(1);
|
|
4043
|
+
i0.ɵɵproperty("ngTemplateOutlet", _r2);
|
|
4048
4044
|
} }
|
|
4049
|
-
function
|
|
4050
|
-
i0.ɵɵ
|
|
4051
|
-
i0.ɵɵtext(1, "Sign In");
|
|
4052
|
-
i0.ɵɵelementEnd();
|
|
4045
|
+
function SignInButtonComponent_a_1_ng_container_1_Template(rf, ctx) { if (rf & 1) {
|
|
4046
|
+
i0.ɵɵelementContainer(0);
|
|
4053
4047
|
} }
|
|
4054
4048
|
function SignInButtonComponent_a_1_Template(rf, ctx) { if (rf & 1) {
|
|
4055
|
-
i0.ɵɵelementStart(0, "a", 5)
|
|
4056
|
-
i0.ɵɵ
|
|
4057
|
-
i0.ɵɵelementEnd();
|
|
4058
|
-
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);
|
|
4059
4051
|
i0.ɵɵelementEnd();
|
|
4060
4052
|
} if (rf & 2) {
|
|
4061
|
-
const _r4 = i0.ɵɵreference(2);
|
|
4062
4053
|
const ctx_r1 = i0.ɵɵnextContext();
|
|
4054
|
+
const _r2 = i0.ɵɵreference(3);
|
|
4063
4055
|
i0.ɵɵclassMap(ctx_r1.classes);
|
|
4064
4056
|
i0.ɵɵproperty("routerLink", ctx_r1.url);
|
|
4065
|
-
i0.ɵɵadvance(
|
|
4066
|
-
i0.ɵɵproperty("
|
|
4057
|
+
i0.ɵɵadvance(1);
|
|
4058
|
+
i0.ɵɵproperty("ngTemplateOutlet", _r2);
|
|
4067
4059
|
} }
|
|
4068
|
-
|
|
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());
|
|
4074
|
+
} }
|
|
4075
|
+
const _c0$c = ["*"];
|
|
4069
4076
|
class SignInButtonComponent extends ComponentBase {
|
|
4070
4077
|
url;
|
|
4071
4078
|
external = false;
|
|
@@ -4075,19 +4082,20 @@ class SignInButtonComponent extends ComponentBase {
|
|
|
4075
4082
|
this.external = this.url?.indexOf('http') > -1;
|
|
4076
4083
|
}
|
|
4077
4084
|
static ɵfac = function SignInButtonComponent_Factory(t) { return new (t || SignInButtonComponent)(); };
|
|
4078
|
-
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: SignInButtonComponent, selectors: [["anatoly-signin-button"]], features: [i0.ɵɵInheritDefinitionFeature], ngContentSelectors: _c0$c, decls:
|
|
4079
|
-
i0.ɵɵprojectionDef(
|
|
4080
|
-
i0.ɵɵtemplate(0, SignInButtonComponent_a_0_Template,
|
|
4081
|
-
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);
|
|
4082
4090
|
} if (rf & 2) {
|
|
4083
4091
|
i0.ɵɵproperty("ngIf", ctx.external);
|
|
4084
4092
|
i0.ɵɵadvance(1);
|
|
4085
4093
|
i0.ɵɵproperty("ngIf", !ctx.external);
|
|
4086
|
-
} }, dependencies: [i1$2.NgIf, i1.RouterLink], encapsulation: 2 });
|
|
4094
|
+
} }, dependencies: [i1$2.NgIf, i1$2.NgTemplateOutlet, i1.RouterLink], encapsulation: 2 });
|
|
4087
4095
|
}
|
|
4088
4096
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SignInButtonComponent, [{
|
|
4089
4097
|
type: Component,
|
|
4090
|
-
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" }]
|
|
4091
4099
|
}], function () { return []; }, null); })();
|
|
4092
4100
|
|
|
4093
4101
|
/*
|
|
@@ -4106,45 +4114,52 @@ class SignInButtonComponent extends ComponentBase {
|
|
|
4106
4114
|
</file>
|
|
4107
4115
|
*/
|
|
4108
4116
|
//Node
|
|
4109
|
-
function
|
|
4110
|
-
i0.ɵɵ
|
|
4111
|
-
i0.ɵɵtext(1, "Sign Out");
|
|
4112
|
-
i0.ɵɵelementEnd();
|
|
4117
|
+
function SignOutButtonComponent_a_0_ng_container_1_Template(rf, ctx) { if (rf & 1) {
|
|
4118
|
+
i0.ɵɵelementContainer(0);
|
|
4113
4119
|
} }
|
|
4114
4120
|
function SignOutButtonComponent_a_0_Template(rf, ctx) { if (rf & 1) {
|
|
4115
|
-
i0.ɵɵelementStart(0, "a",
|
|
4116
|
-
i0.ɵɵ
|
|
4117
|
-
i0.ɵɵelementEnd();
|
|
4118
|
-
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);
|
|
4119
4123
|
i0.ɵɵelementEnd();
|
|
4120
4124
|
} if (rf & 2) {
|
|
4121
|
-
const _r2 = i0.ɵɵreference(2);
|
|
4122
4125
|
const ctx_r0 = i0.ɵɵnextContext();
|
|
4126
|
+
const _r2 = i0.ɵɵreference(3);
|
|
4123
4127
|
i0.ɵɵclassMap(ctx_r0.classes);
|
|
4124
4128
|
i0.ɵɵproperty("href", ctx_r0.url, i0.ɵɵsanitizeUrl);
|
|
4125
|
-
i0.ɵɵadvance(
|
|
4126
|
-
i0.ɵɵproperty("
|
|
4129
|
+
i0.ɵɵadvance(1);
|
|
4130
|
+
i0.ɵɵproperty("ngTemplateOutlet", _r2);
|
|
4127
4131
|
} }
|
|
4128
|
-
function
|
|
4129
|
-
i0.ɵɵ
|
|
4130
|
-
i0.ɵɵtext(1, "Sign Out");
|
|
4131
|
-
i0.ɵɵelementEnd();
|
|
4132
|
+
function SignOutButtonComponent_a_1_ng_container_1_Template(rf, ctx) { if (rf & 1) {
|
|
4133
|
+
i0.ɵɵelementContainer(0);
|
|
4132
4134
|
} }
|
|
4133
4135
|
function SignOutButtonComponent_a_1_Template(rf, ctx) { if (rf & 1) {
|
|
4134
|
-
i0.ɵɵelementStart(0, "a", 5)
|
|
4135
|
-
i0.ɵɵ
|
|
4136
|
-
i0.ɵɵelementEnd();
|
|
4137
|
-
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);
|
|
4138
4138
|
i0.ɵɵelementEnd();
|
|
4139
4139
|
} if (rf & 2) {
|
|
4140
|
-
const _r4 = i0.ɵɵreference(2);
|
|
4141
4140
|
const ctx_r1 = i0.ɵɵnextContext();
|
|
4141
|
+
const _r2 = i0.ɵɵreference(3);
|
|
4142
4142
|
i0.ɵɵclassMap(ctx_r1.classes);
|
|
4143
4143
|
i0.ɵɵproperty("routerLink", ctx_r1.url);
|
|
4144
|
-
i0.ɵɵadvance(
|
|
4145
|
-
i0.ɵɵproperty("
|
|
4144
|
+
i0.ɵɵadvance(1);
|
|
4145
|
+
i0.ɵɵproperty("ngTemplateOutlet", _r2);
|
|
4146
4146
|
} }
|
|
4147
|
-
|
|
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 = ["*"];
|
|
4148
4163
|
class SignOutButtonComponent extends ComponentBase {
|
|
4149
4164
|
url;
|
|
4150
4165
|
external = false;
|
|
@@ -4154,19 +4169,20 @@ class SignOutButtonComponent extends ComponentBase {
|
|
|
4154
4169
|
this.external = this.url?.indexOf('http') > -1;
|
|
4155
4170
|
}
|
|
4156
4171
|
static ɵfac = function SignOutButtonComponent_Factory(t) { return new (t || SignOutButtonComponent)(); };
|
|
4157
|
-
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: SignOutButtonComponent, selectors: [["anatoly-signout-button"]], features: [i0.ɵɵInheritDefinitionFeature], ngContentSelectors: _c0$b, decls:
|
|
4158
|
-
i0.ɵɵprojectionDef(
|
|
4159
|
-
i0.ɵɵtemplate(0, SignOutButtonComponent_a_0_Template,
|
|
4160
|
-
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);
|
|
4161
4177
|
} if (rf & 2) {
|
|
4162
4178
|
i0.ɵɵproperty("ngIf", ctx.external);
|
|
4163
4179
|
i0.ɵɵadvance(1);
|
|
4164
4180
|
i0.ɵɵproperty("ngIf", !ctx.external);
|
|
4165
|
-
} }, dependencies: [i1$2.NgIf, i1.RouterLink], encapsulation: 2 });
|
|
4181
|
+
} }, dependencies: [i1$2.NgIf, i1$2.NgTemplateOutlet, i1.RouterLink], encapsulation: 2 });
|
|
4166
4182
|
}
|
|
4167
4183
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SignOutButtonComponent, [{
|
|
4168
4184
|
type: Component,
|
|
4169
|
-
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" }]
|
|
4170
4186
|
}], function () { return []; }, null); })();
|
|
4171
4187
|
|
|
4172
4188
|
/*
|