@osovitny/anatoly 3.21.0 → 3.21.1

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.
@@ -4391,7 +4391,6 @@ class AReplacerDirective extends ReplacerDirectiveBase {
4391
4391
 
4392
4392
  Authors:
4393
4393
  Vadim Osovitny vadim.osovitny@osovitny.com
4394
- Anatoly Osovitny anatoly.osovitny@osovitny.com
4395
4394
 
4396
4395
  Created:
4397
4396
  4 Jul 2018
@@ -4401,36 +4400,9 @@ class AReplacerDirective extends ReplacerDirectiveBase {
4401
4400
  */
4402
4401
  //Node
4403
4402
  const _c0$i = ["*"];
4404
- function SignUpButtonComponent_Conditional_0_ng_container_1_Template(rf, ctx) { if (rf & 1) {
4403
+ function SignUpButtonComponent_ng_container_1_Template(rf, ctx) { if (rf & 1) {
4405
4404
  i0.ɵɵelementContainer(0);
4406
4405
  } }
4407
- function SignUpButtonComponent_Conditional_0_Template(rf, ctx) { if (rf & 1) {
4408
- i0.ɵɵelementStart(0, "a", 4);
4409
- i0.ɵɵtemplate(1, SignUpButtonComponent_Conditional_0_ng_container_1_Template, 1, 0, "ng-container", 5);
4410
- i0.ɵɵelementEnd();
4411
- } if (rf & 2) {
4412
- const ctx_r0 = i0.ɵɵnextContext();
4413
- const contentTemplate_r2 = i0.ɵɵreference(3);
4414
- i0.ɵɵclassMap(ctx_r0.classes);
4415
- i0.ɵɵproperty("href", ctx_r0.url, i0.ɵɵsanitizeUrl);
4416
- i0.ɵɵadvance();
4417
- i0.ɵɵproperty("ngTemplateOutlet", contentTemplate_r2);
4418
- } }
4419
- function SignUpButtonComponent_Conditional_1_ng_container_1_Template(rf, ctx) { if (rf & 1) {
4420
- i0.ɵɵelementContainer(0);
4421
- } }
4422
- function SignUpButtonComponent_Conditional_1_Template(rf, ctx) { if (rf & 1) {
4423
- i0.ɵɵelementStart(0, "a", 6);
4424
- i0.ɵɵtemplate(1, SignUpButtonComponent_Conditional_1_ng_container_1_Template, 1, 0, "ng-container", 5);
4425
- i0.ɵɵelementEnd();
4426
- } if (rf & 2) {
4427
- const ctx_r0 = i0.ɵɵnextContext();
4428
- const contentTemplate_r2 = i0.ɵɵreference(3);
4429
- i0.ɵɵclassMap(ctx_r0.classes);
4430
- i0.ɵɵproperty("routerLink", ctx_r0.url);
4431
- i0.ɵɵadvance();
4432
- i0.ɵɵproperty("ngTemplateOutlet", contentTemplate_r2);
4433
- } }
4434
4406
  function SignUpButtonComponent_ng_template_2_Conditional_3_Template(rf, ctx) { if (rf & 1) {
4435
4407
  i0.ɵɵelementStart(0, "span");
4436
4408
  i0.ɵɵtext(1, "Sign Up");
@@ -4442,46 +4414,39 @@ function SignUpButtonComponent_ng_template_2_Template(rf, ctx) { if (rf & 1) {
4442
4414
  i0.ɵɵelementEnd();
4443
4415
  i0.ɵɵconditionalCreate(3, SignUpButtonComponent_ng_template_2_Conditional_3_Template, 2, 0, "span");
4444
4416
  } if (rf & 2) {
4445
- const ref_r3 = i0.ɵɵreference(1);
4417
+ const ref_r1 = i0.ɵɵreference(1);
4446
4418
  i0.ɵɵadvance(3);
4447
- i0.ɵɵconditional(!ref_r3.innerHTML.trim() ? 3 : -1);
4419
+ i0.ɵɵconditional(!ref_r1.innerHTML.trim() ? 3 : -1);
4448
4420
  } }
4449
4421
  class SignUpButtonComponent extends ComponentBase {
4450
- constructor() {
4451
- super(...arguments);
4452
- this.external = false;
4453
- }
4454
4422
  ngOnInit() {
4455
- let url = MSALConfig.ui.signup;
4423
+ const url = MSALConfig.ui.signup;
4456
4424
  if (url) {
4457
- this.external = url.indexOf('http') > -1;
4458
- if (this.external) {
4459
- this.url = url + (this.qs ? '?' + this.qs : '');
4460
- }
4461
- else {
4462
- this.url = url;
4463
- }
4425
+ this.url = url + (this.qs ? '?' + this.qs : '');
4464
4426
  }
4465
4427
  }
4466
4428
  static { this.ɵfac = /*@__PURE__*/ (() => { let ɵSignUpButtonComponent_BaseFactory; return function SignUpButtonComponent_Factory(__ngFactoryType__) { return (ɵSignUpButtonComponent_BaseFactory || (ɵSignUpButtonComponent_BaseFactory = i0.ɵɵgetInheritedFactory(SignUpButtonComponent)))(__ngFactoryType__ || SignUpButtonComponent); }; })(); }
4467
- static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: SignUpButtonComponent, selectors: [["anatoly-signup-button"]], inputs: { qs: "qs" }, standalone: false, features: [i0.ɵɵInheritDefinitionFeature], ngContentSelectors: _c0$i, decls: 4, vars: 2, consts: [["contentTemplate", ""], ["ref", ""], [3, "href", "class"], [3, "routerLink", "class"], [3, "href"], [4, "ngTemplateOutlet"], [3, "routerLink"]], template: function SignUpButtonComponent_Template(rf, ctx) { if (rf & 1) {
4429
+ static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: SignUpButtonComponent, selectors: [["anatoly-signup-button"]], inputs: { qs: "qs" }, standalone: false, features: [i0.ɵɵInheritDefinitionFeature], ngContentSelectors: _c0$i, decls: 4, vars: 4, consts: [["contentTemplate", ""], ["ref", ""], [3, "href"], [4, "ngTemplateOutlet"]], template: function SignUpButtonComponent_Template(rf, ctx) { if (rf & 1) {
4468
4430
  i0.ɵɵprojectionDef();
4469
- i0.ɵɵconditionalCreate(0, SignUpButtonComponent_Conditional_0_Template, 2, 4, "a", 2);
4470
- i0.ɵɵconditionalCreate(1, SignUpButtonComponent_Conditional_1_Template, 2, 4, "a", 3);
4431
+ i0.ɵɵelementStart(0, "a", 2);
4432
+ i0.ɵɵtemplate(1, SignUpButtonComponent_ng_container_1_Template, 1, 0, "ng-container", 3);
4433
+ i0.ɵɵelementEnd();
4471
4434
  i0.ɵɵtemplate(2, SignUpButtonComponent_ng_template_2_Template, 4, 1, "ng-template", null, 0, i0.ɵɵtemplateRefExtractor);
4472
4435
  } if (rf & 2) {
4473
- i0.ɵɵconditional(ctx.external ? 0 : -1);
4436
+ const contentTemplate_r2 = i0.ɵɵreference(3);
4437
+ i0.ɵɵclassMap(ctx.classes);
4438
+ i0.ɵɵproperty("href", ctx.url, i0.ɵɵsanitizeUrl);
4474
4439
  i0.ɵɵadvance();
4475
- i0.ɵɵconditional(!ctx.external ? 1 : -1);
4476
- } }, dependencies: [i1$2.NgTemplateOutlet, i1$1.RouterLink, AReplacerDirective], encapsulation: 2 }); }
4440
+ i0.ɵɵproperty("ngTemplateOutlet", contentTemplate_r2);
4441
+ } }, dependencies: [i1$2.NgTemplateOutlet, AReplacerDirective], encapsulation: 2 }); }
4477
4442
  }
4478
4443
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SignUpButtonComponent, [{
4479
4444
  type: Component,
4480
- args: [{ selector: "anatoly-signup-button", standalone: false, template: "@if (external) {\n <a [href]=\"url\" class=\"{{ classes }}\">\n <ng-container *ngTemplateOutlet=\"contentTemplate\"></ng-container>\n </a>\n}\n\n@if (!external) {\n <a [routerLink]=\"url\" class=\"{{ classes }}\">\n <ng-container *ngTemplateOutlet=\"contentTemplate\"></ng-container>\n </a>\n}\n\n<ng-template #contentTemplate>\n <span #ref><ng-content></ng-content></span>\n @if (!ref.innerHTML.trim()) {\n <span>Sign Up</span>\n }\n</ng-template>\n" }]
4445
+ args: [{ selector: "anatoly-signup-button", standalone: false, template: "<a [href]=\"url\" class=\"{{ classes }}\">\n <ng-container *ngTemplateOutlet=\"contentTemplate\"></ng-container>\n</a>\n\n<ng-template #contentTemplate>\n <span #ref><ng-content></ng-content></span>\n @if (!ref.innerHTML.trim()) {\n <span>Sign Up</span>\n }\n</ng-template>\n" }]
4481
4446
  }], null, { qs: [{
4482
4447
  type: Input
4483
4448
  }] }); })();
4484
- (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(SignUpButtonComponent, { className: "SignUpButtonComponent", filePath: "lib/ui/components/identity/signup-button.component.ts", lineNumber: 29 }); })();
4449
+ (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(SignUpButtonComponent, { className: "SignUpButtonComponent", filePath: "lib/ui/components/identity/signup-button.component.ts", lineNumber: 28 }); })();
4485
4450
 
4486
4451
  /*
4487
4452
  <file>
@@ -8747,7 +8712,6 @@ class DataPagerComponent extends ComponentBase {
8747
8712
 
8748
8713
  Authors:
8749
8714
  Vadim Osovitny vadim.osovitny@osovitny.com
8750
- Anatoly Osovitny anatoly.osovitny@osovitny.com
8751
8715
 
8752
8716
  Created:
8753
8717
  4 Jul 2018
@@ -8757,36 +8721,9 @@ class DataPagerComponent extends ComponentBase {
8757
8721
  */
8758
8722
  //Node
8759
8723
  const _c0$8 = ["*"];
8760
- function SignInButtonComponent_Conditional_0_ng_container_1_Template(rf, ctx) { if (rf & 1) {
8761
- i0.ɵɵelementContainer(0);
8762
- } }
8763
- function SignInButtonComponent_Conditional_0_Template(rf, ctx) { if (rf & 1) {
8764
- i0.ɵɵelementStart(0, "a", 4);
8765
- i0.ɵɵtemplate(1, SignInButtonComponent_Conditional_0_ng_container_1_Template, 1, 0, "ng-container", 5);
8766
- i0.ɵɵelementEnd();
8767
- } if (rf & 2) {
8768
- const ctx_r0 = i0.ɵɵnextContext();
8769
- const contentTemplate_r2 = i0.ɵɵreference(3);
8770
- i0.ɵɵclassMap(ctx_r0.classes);
8771
- i0.ɵɵproperty("href", ctx_r0.url, i0.ɵɵsanitizeUrl);
8772
- i0.ɵɵadvance();
8773
- i0.ɵɵproperty("ngTemplateOutlet", contentTemplate_r2);
8774
- } }
8775
- function SignInButtonComponent_Conditional_1_ng_container_1_Template(rf, ctx) { if (rf & 1) {
8724
+ function SignInButtonComponent_ng_container_1_Template(rf, ctx) { if (rf & 1) {
8776
8725
  i0.ɵɵelementContainer(0);
8777
8726
  } }
8778
- function SignInButtonComponent_Conditional_1_Template(rf, ctx) { if (rf & 1) {
8779
- i0.ɵɵelementStart(0, "a", 6);
8780
- i0.ɵɵtemplate(1, SignInButtonComponent_Conditional_1_ng_container_1_Template, 1, 0, "ng-container", 5);
8781
- i0.ɵɵelementEnd();
8782
- } if (rf & 2) {
8783
- const ctx_r0 = i0.ɵɵnextContext();
8784
- const contentTemplate_r2 = i0.ɵɵreference(3);
8785
- i0.ɵɵclassMap(ctx_r0.classes);
8786
- i0.ɵɵproperty("routerLink", ctx_r0.url);
8787
- i0.ɵɵadvance();
8788
- i0.ɵɵproperty("ngTemplateOutlet", contentTemplate_r2);
8789
- } }
8790
8727
  function SignInButtonComponent_ng_template_2_Conditional_3_Template(rf, ctx) { if (rf & 1) {
8791
8728
  i0.ɵɵelementStart(0, "span");
8792
8729
  i0.ɵɵtext(1, "Sign In");
@@ -8798,46 +8735,39 @@ function SignInButtonComponent_ng_template_2_Template(rf, ctx) { if (rf & 1) {
8798
8735
  i0.ɵɵelementEnd();
8799
8736
  i0.ɵɵconditionalCreate(3, SignInButtonComponent_ng_template_2_Conditional_3_Template, 2, 0, "span");
8800
8737
  } if (rf & 2) {
8801
- const ref_r3 = i0.ɵɵreference(1);
8738
+ const ref_r1 = i0.ɵɵreference(1);
8802
8739
  i0.ɵɵadvance(3);
8803
- i0.ɵɵconditional(!ref_r3.innerHTML.trim() ? 3 : -1);
8740
+ i0.ɵɵconditional(!ref_r1.innerHTML.trim() ? 3 : -1);
8804
8741
  } }
8805
8742
  class SignInButtonComponent extends ComponentBase {
8806
- constructor() {
8807
- super(...arguments);
8808
- this.external = false;
8809
- }
8810
8743
  ngOnInit() {
8811
- let url = MSALConfig.ui.signin;
8744
+ const url = MSALConfig.ui.signin;
8812
8745
  if (url) {
8813
- this.external = url.indexOf('http') > -1;
8814
- if (this.external) {
8815
- this.url = url + (this.qs ? '?' + this.qs : '');
8816
- }
8817
- else {
8818
- this.url = url;
8819
- }
8746
+ this.url = url + (this.qs ? '?' + this.qs : '');
8820
8747
  }
8821
8748
  }
8822
8749
  static { this.ɵfac = /*@__PURE__*/ (() => { let ɵSignInButtonComponent_BaseFactory; return function SignInButtonComponent_Factory(__ngFactoryType__) { return (ɵSignInButtonComponent_BaseFactory || (ɵSignInButtonComponent_BaseFactory = i0.ɵɵgetInheritedFactory(SignInButtonComponent)))(__ngFactoryType__ || SignInButtonComponent); }; })(); }
8823
- static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: SignInButtonComponent, selectors: [["anatoly-signin-button"]], inputs: { qs: "qs" }, standalone: false, features: [i0.ɵɵInheritDefinitionFeature], ngContentSelectors: _c0$8, decls: 4, vars: 2, consts: [["contentTemplate", ""], ["ref", ""], [3, "href", "class"], [3, "routerLink", "class"], [3, "href"], [4, "ngTemplateOutlet"], [3, "routerLink"]], template: function SignInButtonComponent_Template(rf, ctx) { if (rf & 1) {
8750
+ static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: SignInButtonComponent, selectors: [["anatoly-signin-button"]], inputs: { qs: "qs" }, standalone: false, features: [i0.ɵɵInheritDefinitionFeature], ngContentSelectors: _c0$8, decls: 4, vars: 4, consts: [["contentTemplate", ""], ["ref", ""], [3, "href"], [4, "ngTemplateOutlet"]], template: function SignInButtonComponent_Template(rf, ctx) { if (rf & 1) {
8824
8751
  i0.ɵɵprojectionDef();
8825
- i0.ɵɵconditionalCreate(0, SignInButtonComponent_Conditional_0_Template, 2, 4, "a", 2);
8826
- i0.ɵɵconditionalCreate(1, SignInButtonComponent_Conditional_1_Template, 2, 4, "a", 3);
8752
+ i0.ɵɵelementStart(0, "a", 2);
8753
+ i0.ɵɵtemplate(1, SignInButtonComponent_ng_container_1_Template, 1, 0, "ng-container", 3);
8754
+ i0.ɵɵelementEnd();
8827
8755
  i0.ɵɵtemplate(2, SignInButtonComponent_ng_template_2_Template, 4, 1, "ng-template", null, 0, i0.ɵɵtemplateRefExtractor);
8828
8756
  } if (rf & 2) {
8829
- i0.ɵɵconditional(ctx.external ? 0 : -1);
8757
+ const contentTemplate_r2 = i0.ɵɵreference(3);
8758
+ i0.ɵɵclassMap(ctx.classes);
8759
+ i0.ɵɵproperty("href", ctx.url, i0.ɵɵsanitizeUrl);
8830
8760
  i0.ɵɵadvance();
8831
- i0.ɵɵconditional(!ctx.external ? 1 : -1);
8832
- } }, dependencies: [i1$2.NgTemplateOutlet, i1$1.RouterLink, AReplacerDirective], encapsulation: 2 }); }
8761
+ i0.ɵɵproperty("ngTemplateOutlet", contentTemplate_r2);
8762
+ } }, dependencies: [i1$2.NgTemplateOutlet, AReplacerDirective], encapsulation: 2 }); }
8833
8763
  }
8834
8764
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SignInButtonComponent, [{
8835
8765
  type: Component,
8836
- args: [{ selector: "anatoly-signin-button", standalone: false, template: "@if (external) {\n <a [href]=\"url\" class=\"{{ classes }}\">\n <ng-container *ngTemplateOutlet=\"contentTemplate\"></ng-container>\n </a>\n}\n\n@if (!external) {\n <a [routerLink]=\"url\" class=\"{{ classes }}\">\n <ng-container *ngTemplateOutlet=\"contentTemplate\"></ng-container>\n </a>\n}\n\n<ng-template #contentTemplate>\n <span #ref><ng-content></ng-content></span>\n @if (!ref.innerHTML.trim()) {\n <span>Sign In</span>\n }\n</ng-template>\n" }]
8766
+ args: [{ selector: "anatoly-signin-button", standalone: false, template: "<a [href]=\"url\" class=\"{{ classes }}\">\n <ng-container *ngTemplateOutlet=\"contentTemplate\"></ng-container>\n</a>\n\n<ng-template #contentTemplate>\n <span #ref><ng-content></ng-content></span>\n @if (!ref.innerHTML.trim()) {\n <span>Sign In</span>\n }\n</ng-template>\n" }]
8837
8767
  }], null, { qs: [{
8838
8768
  type: Input
8839
8769
  }] }); })();
8840
- (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(SignInButtonComponent, { className: "SignInButtonComponent", filePath: "lib/ui/components/identity/signin-button.component.ts", lineNumber: 29 }); })();
8770
+ (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(SignInButtonComponent, { className: "SignInButtonComponent", filePath: "lib/ui/components/identity/signin-button.component.ts", lineNumber: 28 }); })();
8841
8771
 
8842
8772
  /*
8843
8773
  <file>
@@ -8846,7 +8776,6 @@ class SignInButtonComponent extends ComponentBase {
8846
8776
 
8847
8777
  Authors:
8848
8778
  Vadim Osovitny vadim.osovitny@osovitny.com
8849
- Anatoly Osovitny anatoly.osovitny@osovitny.com
8850
8779
 
8851
8780
  Created:
8852
8781
  4 Jul 2018
@@ -8856,36 +8785,9 @@ class SignInButtonComponent extends ComponentBase {
8856
8785
  */
8857
8786
  //Node
8858
8787
  const _c0$7 = ["*"];
8859
- function SignOutButtonComponent_Conditional_0_ng_container_1_Template(rf, ctx) { if (rf & 1) {
8788
+ function SignOutButtonComponent_ng_container_1_Template(rf, ctx) { if (rf & 1) {
8860
8789
  i0.ɵɵelementContainer(0);
8861
8790
  } }
8862
- function SignOutButtonComponent_Conditional_0_Template(rf, ctx) { if (rf & 1) {
8863
- i0.ɵɵelementStart(0, "a", 4);
8864
- i0.ɵɵtemplate(1, SignOutButtonComponent_Conditional_0_ng_container_1_Template, 1, 0, "ng-container", 5);
8865
- i0.ɵɵelementEnd();
8866
- } if (rf & 2) {
8867
- const ctx_r0 = i0.ɵɵnextContext();
8868
- const contentTemplate_r2 = i0.ɵɵreference(3);
8869
- i0.ɵɵclassMap(ctx_r0.classes);
8870
- i0.ɵɵproperty("href", ctx_r0.url, i0.ɵɵsanitizeUrl);
8871
- i0.ɵɵadvance();
8872
- i0.ɵɵproperty("ngTemplateOutlet", contentTemplate_r2);
8873
- } }
8874
- function SignOutButtonComponent_Conditional_1_ng_container_1_Template(rf, ctx) { if (rf & 1) {
8875
- i0.ɵɵelementContainer(0);
8876
- } }
8877
- function SignOutButtonComponent_Conditional_1_Template(rf, ctx) { if (rf & 1) {
8878
- i0.ɵɵelementStart(0, "a", 6);
8879
- i0.ɵɵtemplate(1, SignOutButtonComponent_Conditional_1_ng_container_1_Template, 1, 0, "ng-container", 5);
8880
- i0.ɵɵelementEnd();
8881
- } if (rf & 2) {
8882
- const ctx_r0 = i0.ɵɵnextContext();
8883
- const contentTemplate_r2 = i0.ɵɵreference(3);
8884
- i0.ɵɵclassMap(ctx_r0.classes);
8885
- i0.ɵɵproperty("routerLink", ctx_r0.url);
8886
- i0.ɵɵadvance();
8887
- i0.ɵɵproperty("ngTemplateOutlet", contentTemplate_r2);
8888
- } }
8889
8791
  function SignOutButtonComponent_ng_template_2_Conditional_3_Template(rf, ctx) { if (rf & 1) {
8890
8792
  i0.ɵɵelementStart(0, "span");
8891
8793
  i0.ɵɵtext(1, "Sign Out");
@@ -8897,46 +8799,39 @@ function SignOutButtonComponent_ng_template_2_Template(rf, ctx) { if (rf & 1) {
8897
8799
  i0.ɵɵelementEnd();
8898
8800
  i0.ɵɵconditionalCreate(3, SignOutButtonComponent_ng_template_2_Conditional_3_Template, 2, 0, "span");
8899
8801
  } if (rf & 2) {
8900
- const ref_r3 = i0.ɵɵreference(1);
8802
+ const ref_r1 = i0.ɵɵreference(1);
8901
8803
  i0.ɵɵadvance(3);
8902
- i0.ɵɵconditional(!ref_r3.innerHTML.trim() ? 3 : -1);
8804
+ i0.ɵɵconditional(!ref_r1.innerHTML.trim() ? 3 : -1);
8903
8805
  } }
8904
8806
  class SignOutButtonComponent extends ComponentBase {
8905
- constructor() {
8906
- super(...arguments);
8907
- this.external = false;
8908
- }
8909
8807
  ngOnInit() {
8910
- let url = MSALConfig.ui.signout;
8808
+ const url = MSALConfig.ui.signout;
8911
8809
  if (url) {
8912
- this.external = url.indexOf('http') > -1;
8913
- if (this.external) {
8914
- this.url = url + (this.qs ? '?' + this.qs : '');
8915
- }
8916
- else {
8917
- this.url = url;
8918
- }
8810
+ this.url = url + (this.qs ? '?' + this.qs : '');
8919
8811
  }
8920
8812
  }
8921
8813
  static { this.ɵfac = /*@__PURE__*/ (() => { let ɵSignOutButtonComponent_BaseFactory; return function SignOutButtonComponent_Factory(__ngFactoryType__) { return (ɵSignOutButtonComponent_BaseFactory || (ɵSignOutButtonComponent_BaseFactory = i0.ɵɵgetInheritedFactory(SignOutButtonComponent)))(__ngFactoryType__ || SignOutButtonComponent); }; })(); }
8922
- static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: SignOutButtonComponent, selectors: [["anatoly-signout-button"]], inputs: { qs: "qs" }, standalone: false, features: [i0.ɵɵInheritDefinitionFeature], ngContentSelectors: _c0$7, decls: 4, vars: 2, consts: [["contentTemplate", ""], ["ref", ""], [3, "href", "class"], [3, "routerLink", "class"], [3, "href"], [4, "ngTemplateOutlet"], [3, "routerLink"]], template: function SignOutButtonComponent_Template(rf, ctx) { if (rf & 1) {
8814
+ static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: SignOutButtonComponent, selectors: [["anatoly-signout-button"]], inputs: { qs: "qs" }, standalone: false, features: [i0.ɵɵInheritDefinitionFeature], ngContentSelectors: _c0$7, decls: 4, vars: 4, consts: [["contentTemplate", ""], ["ref", ""], [3, "href"], [4, "ngTemplateOutlet"]], template: function SignOutButtonComponent_Template(rf, ctx) { if (rf & 1) {
8923
8815
  i0.ɵɵprojectionDef();
8924
- i0.ɵɵconditionalCreate(0, SignOutButtonComponent_Conditional_0_Template, 2, 4, "a", 2);
8925
- i0.ɵɵconditionalCreate(1, SignOutButtonComponent_Conditional_1_Template, 2, 4, "a", 3);
8816
+ i0.ɵɵelementStart(0, "a", 2);
8817
+ i0.ɵɵtemplate(1, SignOutButtonComponent_ng_container_1_Template, 1, 0, "ng-container", 3);
8818
+ i0.ɵɵelementEnd();
8926
8819
  i0.ɵɵtemplate(2, SignOutButtonComponent_ng_template_2_Template, 4, 1, "ng-template", null, 0, i0.ɵɵtemplateRefExtractor);
8927
8820
  } if (rf & 2) {
8928
- i0.ɵɵconditional(ctx.external ? 0 : -1);
8821
+ const contentTemplate_r2 = i0.ɵɵreference(3);
8822
+ i0.ɵɵclassMap(ctx.classes);
8823
+ i0.ɵɵproperty("href", ctx.url, i0.ɵɵsanitizeUrl);
8929
8824
  i0.ɵɵadvance();
8930
- i0.ɵɵconditional(!ctx.external ? 1 : -1);
8931
- } }, dependencies: [i1$2.NgTemplateOutlet, i1$1.RouterLink, AReplacerDirective], encapsulation: 2 }); }
8825
+ i0.ɵɵproperty("ngTemplateOutlet", contentTemplate_r2);
8826
+ } }, dependencies: [i1$2.NgTemplateOutlet, AReplacerDirective], encapsulation: 2 }); }
8932
8827
  }
8933
8828
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SignOutButtonComponent, [{
8934
8829
  type: Component,
8935
- args: [{ selector: "anatoly-signout-button", standalone: false, template: "@if (external) {\n <a [href]=\"url\" class=\"{{ classes }}\">\n <ng-container *ngTemplateOutlet=\"contentTemplate\"></ng-container>\n </a>\n}\n\n@if (!external) {\n <a [routerLink]=\"url\" class=\"{{ classes }}\">\n <ng-container *ngTemplateOutlet=\"contentTemplate\"></ng-container>\n </a>\n}\n\n<ng-template #contentTemplate>\n <span #ref><ng-content></ng-content></span>\n @if (!ref.innerHTML.trim()) {\n <span>Sign Out</span>\n }\n</ng-template>\n" }]
8830
+ args: [{ selector: "anatoly-signout-button", standalone: false, template: "<a [href]=\"url\" class=\"{{ classes }}\">\n <ng-container *ngTemplateOutlet=\"contentTemplate\"></ng-container>\n</a>\n\n<ng-template #contentTemplate>\n <span #ref><ng-content></ng-content></span>\n @if (!ref.innerHTML.trim()) {\n <span>Sign Out</span>\n }\n</ng-template>\n" }]
8936
8831
  }], null, { qs: [{
8937
8832
  type: Input
8938
8833
  }] }); })();
8939
- (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(SignOutButtonComponent, { className: "SignOutButtonComponent", filePath: "lib/ui/components/identity/signout-button.component.ts", lineNumber: 29 }); })();
8834
+ (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(SignOutButtonComponent, { className: "SignOutButtonComponent", filePath: "lib/ui/components/identity/signout-button.component.ts", lineNumber: 28 }); })();
8940
8835
 
8941
8836
  /*
8942
8837
  <file>