@osovitny/anatoly 3.16.66 → 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.
@@ -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 SignInButtonComponent_span_4_Template(rf, ctx) { if (rf & 1) {
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
- const _c0 = ["*"];
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 {
31
64
  url;
65
+ external = false;
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: 5, vars: 5, consts: [[3, "routerLink"], ["ref", ""], [4, "ngIf"]], template: function SignInButtonComponent_Template(rf, ctx) { if (rf & 1) {
38
- i0.ɵɵprojectionDef();
39
- i0.ɵɵelementStart(0, "a", 0)(1, "span", null, 1);
40
- i0.ɵɵprojection(3);
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
- const _r0 = i0.ɵɵreference(2);
46
- i0.ɵɵclassMap(ctx.classes);
47
- i0.ɵɵproperty("routerLink", ctx.url);
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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2lnbmluLWJ1dHRvbi5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9hbmF0b2x5L3NyYy9saWIvdWkvY29tcG9uZW50cy9pZGVudGl0eS9zaWduaW4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mLmlubmVySFRNTC50cmltKClcIj5TaWduIEluPC9zcGFuPlxyXG48L2E+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 SignOutButtonComponent_span_4_Template(rf, ctx) { if (rf & 1) {
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
- const _c0 = ["*"];
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: 5, vars: 5, consts: [[3, "routerLink"], ["ref", ""], [4, "ngIf"]], template: function SignOutButtonComponent_Template(rf, ctx) { if (rf & 1) {
38
- i0.ɵɵprojectionDef();
39
- i0.ɵɵelementStart(0, "a", 0)(1, "span", null, 1);
40
- i0.ɵɵprojection(3);
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
- const _r0 = i0.ɵɵreference(2);
46
- i0.ɵɵclassMap(ctx.classes);
47
- i0.ɵɵproperty("routerLink", ctx.url);
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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2lnbm91dC1idXR0b24uY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvYW5hdG9seS9zcmMvbGliL3VpL2NvbXBvbmVudHMvaWRlbnRpdHkvc2lnbm91dC1idXR0b24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dJZj1cIiFyZWYuaW5uZXJIVE1MLnRyaW0oKVwiPlNpZ24gT3V0PC9zcGFuPlxyXG48L2E+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 SignUpButtonComponent_span_4_Template(rf, ctx) { if (rf & 1) {
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
- const _c0 = ["*"];
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: 5, vars: 5, consts: [[3, "routerLink"], ["ref", ""], [4, "ngIf"]], template: function SignUpButtonComponent_Template(rf, ctx) { if (rf & 1) {
38
- i0.ɵɵprojectionDef();
39
- i0.ɵɵelementStart(0, "a", 0)(1, "span", null, 1);
40
- i0.ɵɵprojection(3);
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
- const _r0 = i0.ɵɵreference(2);
46
- i0.ɵɵclassMap(ctx.classes);
47
- i0.ɵɵproperty("routerLink", ctx.url);
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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2lnbnVwLWJ1dHRvbi5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9hbmF0b2x5L3NyYy9saWIvdWkvY29tcG9uZW50cy9pZGVudG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W4gKm5nSWY9XCIhcmVmLmlubmVySFRNTC50cmltKClcIj5TaWduIFVwPC9zcGFuPlxyXG48L2E+XHJcbiJdfQ==
@@ -3589,37 +3589,67 @@ class PagedPageBase extends PageBase {
3589
3589
  </file>
3590
3590
  */
3591
3591
  //Node
3592
- function SignUpButtonComponent_span_4_Template(rf, ctx) { if (rf & 1) {
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
- const _c0$e = ["*"];
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: 5, vars: 5, consts: [[3, "routerLink"], ["ref", ""], [4, "ngIf"]], template: function SignUpButtonComponent_Template(rf, ctx) { if (rf & 1) {
3606
- i0.ɵɵprojectionDef();
3607
- i0.ɵɵelementStart(0, "a", 0)(1, "span", null, 1);
3608
- i0.ɵɵprojection(3);
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
- const _r0 = i0.ɵɵreference(2);
3614
- i0.ɵɵclassMap(ctx.classes);
3615
- i0.ɵɵproperty("routerLink", ctx.url);
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
  /*
@@ -3989,37 +4019,67 @@ class DatapagerComponent {
3989
4019
  </file>
3990
4020
  */
3991
4021
  //Node
3992
- function SignInButtonComponent_span_4_Template(rf, ctx) { if (rf & 1) {
4022
+ function SignInButtonComponent_a_0_span_4_Template(rf, ctx) { if (rf & 1) {
4023
+ i0.ɵɵelementStart(0, "span");
4024
+ i0.ɵɵtext(1, "Sign In");
4025
+ i0.ɵɵelementEnd();
4026
+ } }
4027
+ function SignInButtonComponent_a_0_Template(rf, ctx) { if (rf & 1) {
4028
+ i0.ɵɵelementStart(0, "a", 2)(1, "span", null, 3);
4029
+ i0.ɵɵprojection(3);
4030
+ i0.ɵɵelementEnd();
4031
+ i0.ɵɵtemplate(4, SignInButtonComponent_a_0_span_4_Template, 2, 0, "span", 4);
4032
+ i0.ɵɵelementEnd();
4033
+ } if (rf & 2) {
4034
+ const _r2 = i0.ɵɵreference(2);
4035
+ const ctx_r0 = i0.ɵɵnextContext();
4036
+ i0.ɵɵclassMap(ctx_r0.classes);
4037
+ i0.ɵɵproperty("href", ctx_r0.url, i0.ɵɵsanitizeUrl);
4038
+ i0.ɵɵadvance(4);
4039
+ i0.ɵɵproperty("ngIf", !_r2.innerHTML.trim());
4040
+ } }
4041
+ function SignInButtonComponent_a_1_span_4_Template(rf, ctx) { if (rf & 1) {
3993
4042
  i0.ɵɵelementStart(0, "span");
3994
4043
  i0.ɵɵtext(1, "Sign In");
3995
4044
  i0.ɵɵelementEnd();
3996
4045
  } }
3997
- const _c0$c = ["*"];
4046
+ function SignInButtonComponent_a_1_Template(rf, ctx) { if (rf & 1) {
4047
+ i0.ɵɵelementStart(0, "a", 5)(1, "span", null, 3);
4048
+ i0.ɵɵprojection(3, 1);
4049
+ i0.ɵɵelementEnd();
4050
+ i0.ɵɵtemplate(4, SignInButtonComponent_a_1_span_4_Template, 2, 0, "span", 4);
4051
+ i0.ɵɵelementEnd();
4052
+ } if (rf & 2) {
4053
+ const _r4 = i0.ɵɵreference(2);
4054
+ const ctx_r1 = i0.ɵɵnextContext();
4055
+ i0.ɵɵclassMap(ctx_r1.classes);
4056
+ i0.ɵɵproperty("routerLink", ctx_r1.url);
4057
+ i0.ɵɵadvance(4);
4058
+ i0.ɵɵproperty("ngIf", !_r4.innerHTML.trim());
4059
+ } }
4060
+ const _c0$c = ["*", "*"];
3998
4061
  class SignInButtonComponent extends ComponentBase {
3999
4062
  url;
4063
+ external = false;
4000
4064
  constructor() {
4001
4065
  super();
4002
4066
  this.url = MSALConfig.ui.signin;
4067
+ this.external = this.url?.indexOf('http') > -1;
4003
4068
  }
4004
4069
  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: 5, vars: 5, consts: [[3, "routerLink"], ["ref", ""], [4, "ngIf"]], template: function SignInButtonComponent_Template(rf, ctx) { if (rf & 1) {
4006
- i0.ɵɵprojectionDef();
4007
- i0.ɵɵelementStart(0, "a", 0)(1, "span", null, 1);
4008
- i0.ɵɵprojection(3);
4009
- i0.ɵɵelementEnd();
4010
- i0.ɵɵtemplate(4, SignInButtonComponent_span_4_Template, 2, 0, "span", 2);
4011
- i0.ɵɵelementEnd();
4070
+ 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) {
4071
+ i0.ɵɵprojectionDef(_c0$c);
4072
+ i0.ɵɵtemplate(0, SignInButtonComponent_a_0_Template, 5, 5, "a", 0);
4073
+ i0.ɵɵtemplate(1, SignInButtonComponent_a_1_Template, 5, 5, "a", 1);
4012
4074
  } if (rf & 2) {
4013
- const _r0 = i0.ɵɵreference(2);
4014
- i0.ɵɵclassMap(ctx.classes);
4015
- i0.ɵɵproperty("routerLink", ctx.url);
4016
- i0.ɵɵadvance(4);
4017
- i0.ɵɵproperty("ngIf", !_r0.innerHTML.trim());
4075
+ i0.ɵɵproperty("ngIf", ctx.external);
4076
+ i0.ɵɵadvance(1);
4077
+ i0.ɵɵproperty("ngIf", !ctx.external);
4018
4078
  } }, dependencies: [i1$2.NgIf, i1.RouterLink], encapsulation: 2 });
4019
4079
  }
4020
4080
  (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SignInButtonComponent, [{
4021
4081
  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" }]
4082
+ 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
4083
  }], function () { return []; }, null); })();
4024
4084
 
4025
4085
  /*
@@ -4038,37 +4098,67 @@ class SignInButtonComponent extends ComponentBase {
4038
4098
  </file>
4039
4099
  */
4040
4100
  //Node
4041
- function SignOutButtonComponent_span_4_Template(rf, ctx) { if (rf & 1) {
4101
+ function SignOutButtonComponent_a_0_span_4_Template(rf, ctx) { if (rf & 1) {
4042
4102
  i0.ɵɵelementStart(0, "span");
4043
4103
  i0.ɵɵtext(1, "Sign Out");
4044
4104
  i0.ɵɵelementEnd();
4045
4105
  } }
4046
- const _c0$b = ["*"];
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 = ["*", "*"];
4047
4140
  class SignOutButtonComponent extends ComponentBase {
4048
4141
  url;
4142
+ external = false;
4049
4143
  constructor() {
4050
4144
  super();
4051
4145
  this.url = MSALConfig.ui.signout;
4146
+ this.external = this.url?.indexOf('http') > -1;
4052
4147
  }
4053
4148
  static ɵfac = function SignOutButtonComponent_Factory(t) { return new (t || SignOutButtonComponent)(); };
4054
- static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: SignOutButtonComponent, selectors: [["anatoly-signout-button"]], features: [i0.ɵɵInheritDefinitionFeature], ngContentSelectors: _c0$b, decls: 5, vars: 5, consts: [[3, "routerLink"], ["ref", ""], [4, "ngIf"]], template: function SignOutButtonComponent_Template(rf, ctx) { if (rf & 1) {
4055
- i0.ɵɵprojectionDef();
4056
- i0.ɵɵelementStart(0, "a", 0)(1, "span", null, 1);
4057
- i0.ɵɵprojection(3);
4058
- i0.ɵɵelementEnd();
4059
- i0.ɵɵtemplate(4, SignOutButtonComponent_span_4_Template, 2, 0, "span", 2);
4060
- 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);
4061
4153
  } if (rf & 2) {
4062
- const _r0 = i0.ɵɵreference(2);
4063
- i0.ɵɵclassMap(ctx.classes);
4064
- i0.ɵɵproperty("routerLink", ctx.url);
4065
- i0.ɵɵadvance(4);
4066
- i0.ɵɵproperty("ngIf", !_r0.innerHTML.trim());
4154
+ i0.ɵɵproperty("ngIf", ctx.external);
4155
+ i0.ɵɵadvance(1);
4156
+ i0.ɵɵproperty("ngIf", !ctx.external);
4067
4157
  } }, dependencies: [i1$2.NgIf, i1.RouterLink], encapsulation: 2 });
4068
4158
  }
4069
4159
  (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SignOutButtonComponent, [{
4070
4160
  type: Component,
4071
- 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" }]
4072
4162
  }], function () { return []; }, null); })();
4073
4163
 
4074
4164
  /*