@osovitny/anatoly 3.16.66 → 3.16.67
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.
|
@@ -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 SignInButtonComponent_a_0_span_4_Template(rf, ctx) { if (rf & 1) {
|
|
25
25
|
i0.ɵɵelementStart(0, "span");
|
|
26
26
|
i0.ɵɵtext(1, "Sign In");
|
|
27
27
|
i0.ɵɵelementEnd();
|
|
28
28
|
} }
|
|
29
|
-
|
|
29
|
+
function SignInButtonComponent_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, SignInButtonComponent_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 SignInButtonComponent_a_1_span_4_Template(rf, ctx) { if (rf & 1) {
|
|
44
|
+
i0.ɵɵelementStart(0, "span");
|
|
45
|
+
i0.ɵɵtext(1, "Sign In");
|
|
46
|
+
i0.ɵɵelementEnd();
|
|
47
|
+
} }
|
|
48
|
+
function SignInButtonComponent_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, SignInButtonComponent_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 SignInButtonComponent extends ComponentBase {
|
|
64
|
+
external = false;
|
|
31
65
|
url;
|
|
32
66
|
constructor() {
|
|
33
67
|
super();
|
|
34
68
|
this.url = MSALConfig.ui.signin;
|
|
69
|
+
this.external = this.url?.indexOf('http') > -1;
|
|
35
70
|
}
|
|
36
71
|
static ɵfac = function SignInButtonComponent_Factory(t) { return new (t || SignInButtonComponent)(); };
|
|
37
|
-
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: SignInButtonComponent, selectors: [["anatoly-signin-button"]], features: [i0.ɵɵInheritDefinitionFeature], ngContentSelectors: _c0, decls:
|
|
38
|
-
i0.ɵɵprojectionDef();
|
|
39
|
-
i0.ɵɵ
|
|
40
|
-
i0.ɵɵ
|
|
41
|
-
i0.ɵɵelementEnd();
|
|
42
|
-
i0.ɵɵtemplate(4, SignInButtonComponent_span_4_Template, 2, 0, "span", 2);
|
|
43
|
-
i0.ɵɵelementEnd();
|
|
72
|
+
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: SignInButtonComponent, selectors: [["anatoly-signin-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 SignInButtonComponent_Template(rf, ctx) { if (rf & 1) {
|
|
73
|
+
i0.ɵɵprojectionDef(_c0);
|
|
74
|
+
i0.ɵɵtemplate(0, SignInButtonComponent_a_0_Template, 5, 5, "a", 0);
|
|
75
|
+
i0.ɵɵtemplate(1, SignInButtonComponent_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(SignInButtonComponent, [{
|
|
53
83
|
type: Component,
|
|
54
|
-
args: [{ selector: "anatoly-signin-button", template: "<a [routerLink]=\"url\" class=\"{{ classes }}\">\r\n <span #ref><ng-content></ng-content></span>\r\n <span *ngIf=\"!ref.innerHTML.trim()\">Sign In</span>\r\n</a>\r\n" }]
|
|
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" }]
|
|
55
85
|
}], function () { return []; }, null); })();
|
|
56
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
86
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2lnbmluLWJ1dHRvbi5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9hbmF0b2x5L3NyYy9saWIvdWkvY29tcG9uZW50cy9pZGVudGl0eS9zaWduaW4tYnV0dG9uLmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2FuYXRvbHkvc3JjL2xpYi91aS9jb21wb25lbnRzL2lkZW50aXR5L3NpZ25pbi1idXR0b24uY29tcG9uZW50Lmh0bWwiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUE7Ozs7Ozs7Ozs7Ozs7O0VBY0U7QUFFRixNQUFNO0FBQ04sT0FBTyxFQUFFLFNBQVMsRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUUxQyxLQUFLO0FBQ0wsT0FBTyxFQUFFLGFBQWEsRUFBRSxNQUFNLG1CQUFtQixDQUFDO0FBQ2xELE9BQU8sRUFBRSxVQUFVLEVBQUUsTUFBTSxxQkFBcUIsQ0FBQzs7Ozs7SUNuQi9DLDRCQUFvQztJQUFBLHVCQUFPO0lBQUEsaUJBQU87OztJQUZwRCw0QkFBdUQsb0JBQUE7SUFDMUMsa0JBQXlCO0lBQUEsaUJBQU87SUFDM0MsNEVBQWtEO0lBQ3BELGlCQUFJOzs7O0lBSFksNkJBQXFCO0lBQWxDLG1EQUFZO0lBRU4sZUFBMkI7SUFBM0IsNENBQTJCOzs7SUFLbEMsNEJBQW9DO0lBQUEsdUJBQU87SUFBQSxpQkFBTzs7O0lBRnBELDRCQUE4RCxvQkFBQTtJ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hbiAjcmVmPjxuZy1jb250ZW50PjwvbmctY29udGVudD48L3NwYW4+XHJcbiAgPHNwYW4gKm5nSWY9XCIhcmVmLmlubmVySFRNTC50cmltKClcIj5TaWduIEluPC9zcGFuPlxyXG48L2E+XHJcbiJdfQ==
|
|
@@ -3989,37 +3989,67 @@ class DatapagerComponent {
|
|
|
3989
3989
|
</file>
|
|
3990
3990
|
*/
|
|
3991
3991
|
//Node
|
|
3992
|
-
function
|
|
3992
|
+
function SignInButtonComponent_a_0_span_4_Template(rf, ctx) { if (rf & 1) {
|
|
3993
3993
|
i0.ɵɵelementStart(0, "span");
|
|
3994
3994
|
i0.ɵɵtext(1, "Sign In");
|
|
3995
3995
|
i0.ɵɵelementEnd();
|
|
3996
3996
|
} }
|
|
3997
|
-
|
|
3997
|
+
function SignInButtonComponent_a_0_Template(rf, ctx) { if (rf & 1) {
|
|
3998
|
+
i0.ɵɵelementStart(0, "a", 2)(1, "span", null, 3);
|
|
3999
|
+
i0.ɵɵprojection(3);
|
|
4000
|
+
i0.ɵɵelementEnd();
|
|
4001
|
+
i0.ɵɵtemplate(4, SignInButtonComponent_a_0_span_4_Template, 2, 0, "span", 4);
|
|
4002
|
+
i0.ɵɵelementEnd();
|
|
4003
|
+
} if (rf & 2) {
|
|
4004
|
+
const _r2 = i0.ɵɵreference(2);
|
|
4005
|
+
const ctx_r0 = i0.ɵɵnextContext();
|
|
4006
|
+
i0.ɵɵclassMap(ctx_r0.classes);
|
|
4007
|
+
i0.ɵɵproperty("href", ctx_r0.url, i0.ɵɵsanitizeUrl);
|
|
4008
|
+
i0.ɵɵadvance(4);
|
|
4009
|
+
i0.ɵɵproperty("ngIf", !_r2.innerHTML.trim());
|
|
4010
|
+
} }
|
|
4011
|
+
function SignInButtonComponent_a_1_span_4_Template(rf, ctx) { if (rf & 1) {
|
|
4012
|
+
i0.ɵɵelementStart(0, "span");
|
|
4013
|
+
i0.ɵɵtext(1, "Sign In");
|
|
4014
|
+
i0.ɵɵelementEnd();
|
|
4015
|
+
} }
|
|
4016
|
+
function SignInButtonComponent_a_1_Template(rf, ctx) { if (rf & 1) {
|
|
4017
|
+
i0.ɵɵelementStart(0, "a", 5)(1, "span", null, 3);
|
|
4018
|
+
i0.ɵɵprojection(3, 1);
|
|
4019
|
+
i0.ɵɵelementEnd();
|
|
4020
|
+
i0.ɵɵtemplate(4, SignInButtonComponent_a_1_span_4_Template, 2, 0, "span", 4);
|
|
4021
|
+
i0.ɵɵelementEnd();
|
|
4022
|
+
} if (rf & 2) {
|
|
4023
|
+
const _r4 = i0.ɵɵreference(2);
|
|
4024
|
+
const ctx_r1 = i0.ɵɵnextContext();
|
|
4025
|
+
i0.ɵɵclassMap(ctx_r1.classes);
|
|
4026
|
+
i0.ɵɵproperty("routerLink", ctx_r1.url);
|
|
4027
|
+
i0.ɵɵadvance(4);
|
|
4028
|
+
i0.ɵɵproperty("ngIf", !_r4.innerHTML.trim());
|
|
4029
|
+
} }
|
|
4030
|
+
const _c0$c = ["*", "*"];
|
|
3998
4031
|
class SignInButtonComponent extends ComponentBase {
|
|
4032
|
+
external = false;
|
|
3999
4033
|
url;
|
|
4000
4034
|
constructor() {
|
|
4001
4035
|
super();
|
|
4002
4036
|
this.url = MSALConfig.ui.signin;
|
|
4037
|
+
this.external = this.url?.indexOf('http') > -1;
|
|
4003
4038
|
}
|
|
4004
4039
|
static ɵfac = function SignInButtonComponent_Factory(t) { return new (t || SignInButtonComponent)(); };
|
|
4005
|
-
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: SignInButtonComponent, selectors: [["anatoly-signin-button"]], features: [i0.ɵɵInheritDefinitionFeature], ngContentSelectors: _c0$c, decls:
|
|
4006
|
-
i0.ɵɵprojectionDef();
|
|
4007
|
-
i0.ɵɵ
|
|
4008
|
-
i0.ɵɵ
|
|
4009
|
-
i0.ɵɵelementEnd();
|
|
4010
|
-
i0.ɵɵtemplate(4, SignInButtonComponent_span_4_Template, 2, 0, "span", 2);
|
|
4011
|
-
i0.ɵɵelementEnd();
|
|
4040
|
+
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: SignInButtonComponent, selectors: [["anatoly-signin-button"]], features: [i0.ɵɵInheritDefinitionFeature], ngContentSelectors: _c0$c, decls: 2, vars: 2, consts: [[3, "href", "class", 4, "ngIf"], [3, "routerLink", "class", 4, "ngIf"], [3, "href"], ["ref", ""], [4, "ngIf"], [3, "routerLink"]], template: function SignInButtonComponent_Template(rf, ctx) { if (rf & 1) {
|
|
4041
|
+
i0.ɵɵprojectionDef(_c0$c);
|
|
4042
|
+
i0.ɵɵtemplate(0, SignInButtonComponent_a_0_Template, 5, 5, "a", 0);
|
|
4043
|
+
i0.ɵɵtemplate(1, SignInButtonComponent_a_1_Template, 5, 5, "a", 1);
|
|
4012
4044
|
} if (rf & 2) {
|
|
4013
|
-
|
|
4014
|
-
i0.ɵɵ
|
|
4015
|
-
i0.ɵɵproperty("
|
|
4016
|
-
i0.ɵɵadvance(4);
|
|
4017
|
-
i0.ɵɵproperty("ngIf", !_r0.innerHTML.trim());
|
|
4045
|
+
i0.ɵɵproperty("ngIf", ctx.external);
|
|
4046
|
+
i0.ɵɵadvance(1);
|
|
4047
|
+
i0.ɵɵproperty("ngIf", !ctx.external);
|
|
4018
4048
|
} }, dependencies: [i1$2.NgIf, i1.RouterLink], encapsulation: 2 });
|
|
4019
4049
|
}
|
|
4020
4050
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SignInButtonComponent, [{
|
|
4021
4051
|
type: Component,
|
|
4022
|
-
args: [{ selector: "anatoly-signin-button", template: "<a [routerLink]=\"url\" class=\"{{ classes }}\">\r\n <span #ref><ng-content></ng-content></span>\r\n <span *ngIf=\"!ref.innerHTML.trim()\">Sign In</span>\r\n</a>\r\n" }]
|
|
4052
|
+
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" }]
|
|
4023
4053
|
}], function () { return []; }, null); })();
|
|
4024
4054
|
|
|
4025
4055
|
/*
|