@abgov/angular-components 4.10.0 → 4.11.0-dev.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.
@@ -210,11 +210,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImpo
210
210
  }]
211
211
  }] });
212
212
 
213
- class GoabBaseComponent {
213
+ let GoabBaseComponent$1 = class GoabBaseComponent {
214
214
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: GoabBaseComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
215
215
  static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.16", type: GoabBaseComponent, isStandalone: true, selector: "ng-component", inputs: { mt: "mt", mb: "mb", ml: "ml", mr: "mr", testId: "testId" }, ngImport: i0, template: ``, isInline: true }); }
216
- }
217
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: GoabBaseComponent, decorators: [{
216
+ };
217
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: GoabBaseComponent$1, decorators: [{
218
218
  type: Component,
219
219
  args: [{
220
220
  standalone: true,
@@ -278,7 +278,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImpo
278
278
  * - `fcChange?`: A function to handle changes in the form control value.
279
279
  * - `fcTouched?`: A function to handle touch events on the form control.
280
280
  */
281
- class GoabControlValueAccessor extends GoabBaseComponent {
281
+ let GoabControlValueAccessor$1 = class GoabControlValueAccessor extends GoabBaseComponent$1 {
282
282
  /**
283
283
  * Marks the component as touched. If the component is not already marked as touched,
284
284
  * it triggers the `fcTouched` callback (if defined) and sets the `touched` property to `true`.
@@ -342,8 +342,8 @@ class GoabControlValueAccessor extends GoabBaseComponent {
342
342
  }
343
343
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: GoabControlValueAccessor, deps: [{ token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Component }); }
344
344
  static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "20.3.16", type: GoabControlValueAccessor, isStandalone: true, selector: "ng-component", inputs: { id: "id", disabled: ["disabled", "disabled", booleanAttribute], error: ["error", "error", booleanAttribute], value: "value" }, viewQueries: [{ propertyName: "goaComponentRef", first: true, predicate: ["goaComponentRef"], descendants: true, read: ElementRef }], usesInheritance: true, ngImport: i0, template: ``, isInline: true }); }
345
- }
346
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: GoabControlValueAccessor, decorators: [{
345
+ };
346
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: GoabControlValueAccessor$1, decorators: [{
347
347
  type: Component,
348
348
  args: [{
349
349
  standalone: true,
@@ -364,7 +364,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImpo
364
364
  args: ["goaComponentRef", { static: false, read: ElementRef }]
365
365
  }] } });
366
366
 
367
- class GoabAccordion extends GoabBaseComponent {
367
+ class GoabAccordion extends GoabBaseComponent$1 {
368
368
  constructor(cdr) {
369
369
  super();
370
370
  this.cdr = cdr;
@@ -456,7 +456,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImpo
456
456
  type: Output
457
457
  }] } });
458
458
 
459
- class GoabBadge extends GoabBaseComponent {
459
+ class GoabBadge extends GoabBaseComponent$1 {
460
460
  constructor(cdr) {
461
461
  super();
462
462
  this.cdr = cdr;
@@ -519,7 +519,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImpo
519
519
  type: Input
520
520
  }] } });
521
521
 
522
- class GoabBlock extends GoabBaseComponent {
522
+ class GoabBlock extends GoabBaseComponent$1 {
523
523
  constructor(cdr) {
524
524
  super();
525
525
  this.cdr = cdr;
@@ -593,7 +593,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImpo
593
593
  type: Input
594
594
  }] } });
595
595
 
596
- class GoabButton extends GoabBaseComponent {
596
+ class GoabButton extends GoabBaseComponent$1 {
597
597
  constructor(cdr) {
598
598
  super();
599
599
  this.cdr = cdr;
@@ -694,7 +694,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImpo
694
694
  type: Output
695
695
  }] } });
696
696
 
697
- class GoabButtonGroup extends GoabBaseComponent {
697
+ class GoabButtonGroup extends GoabBaseComponent$1 {
698
698
  constructor(cdr) {
699
699
  super();
700
700
  this.cdr = cdr;
@@ -752,7 +752,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImpo
752
752
  type: Input
753
753
  }] } });
754
754
 
755
- class GoabCalendar extends GoabBaseComponent {
755
+ class GoabCalendar extends GoabBaseComponent$1 {
756
756
  constructor(cdr) {
757
757
  super();
758
758
  this.cdr = cdr;
@@ -827,7 +827,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImpo
827
827
  type: Output
828
828
  }] } });
829
829
 
830
- class GoabCallout extends GoabBaseComponent {
830
+ class GoabCallout extends GoabBaseComponent$1 {
831
831
  constructor(cdr) {
832
832
  super();
833
833
  this.cdr = cdr;
@@ -906,7 +906,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImpo
906
906
  type: Input
907
907
  }] } });
908
908
 
909
- class GoabCard extends GoabBaseComponent {
909
+ class GoabCard extends GoabBaseComponent$1 {
910
910
  constructor(cdr) {
911
911
  super();
912
912
  this.cdr = cdr;
@@ -1084,7 +1084,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImpo
1084
1084
  args: [{ required: true }]
1085
1085
  }] } });
1086
1086
 
1087
- class GoabCheckbox extends GoabControlValueAccessor {
1087
+ class GoabCheckbox extends GoabControlValueAccessor$1 {
1088
1088
  constructor(cdr, renderer) {
1089
1089
  super(renderer);
1090
1090
  this.cdr = cdr;
@@ -1232,7 +1232,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImpo
1232
1232
  type: Output
1233
1233
  }] } });
1234
1234
 
1235
- class GoabCheckboxList extends GoabControlValueAccessor {
1235
+ class GoabCheckboxList extends GoabControlValueAccessor$1 {
1236
1236
  constructor(cdr, renderer) {
1237
1237
  super(renderer);
1238
1238
  this.cdr = cdr;
@@ -1338,7 +1338,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImpo
1338
1338
  type: Output
1339
1339
  }] } });
1340
1340
 
1341
- class GoabChip extends GoabBaseComponent {
1341
+ class GoabChip extends GoabBaseComponent$1 {
1342
1342
  constructor(cdr) {
1343
1343
  super();
1344
1344
  this.cdr = cdr;
@@ -1518,7 +1518,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImpo
1518
1518
  }]
1519
1519
  }], ctorParameters: () => [{ type: i0.ChangeDetectorRef }] });
1520
1520
 
1521
- class GoabContainer extends GoabBaseComponent {
1521
+ class GoabContainer extends GoabBaseComponent$1 {
1522
1522
  constructor(cdr) {
1523
1523
  super();
1524
1524
  this.cdr = cdr;
@@ -1666,7 +1666,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImpo
1666
1666
  args: [{ required: true }]
1667
1667
  }] } });
1668
1668
 
1669
- class GoabDatePicker extends GoabControlValueAccessor {
1669
+ class GoabDatePicker extends GoabControlValueAccessor$1 {
1670
1670
  formatValue(val) {
1671
1671
  if (!val)
1672
1672
  return "";
@@ -1802,7 +1802,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImpo
1802
1802
  args: ["disabledChange", ["$event.detail.disabled"]]
1803
1803
  }] } });
1804
1804
 
1805
- class GoabDetails extends GoabBaseComponent {
1805
+ class GoabDetails extends GoabBaseComponent$1 {
1806
1806
  constructor(cdr) {
1807
1807
  super();
1808
1808
  this.cdr = cdr;
@@ -1866,7 +1866,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImpo
1866
1866
  type: Input
1867
1867
  }] } });
1868
1868
 
1869
- class GoabDivider extends GoabBaseComponent {
1869
+ class GoabDivider extends GoabBaseComponent$1 {
1870
1870
  constructor(cdr) {
1871
1871
  super();
1872
1872
  this.cdr = cdr;
@@ -2006,7 +2006,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImpo
2006
2006
  }] } });
2007
2007
 
2008
2008
  // "disabled", "value", "id" is an exposed property of HTMLInputElement, no need to bind with attr
2009
- class GoabDropdown extends GoabControlValueAccessor {
2009
+ class GoabDropdown extends GoabControlValueAccessor$1 {
2010
2010
  constructor(cdr, renderer) {
2011
2011
  super(renderer);
2012
2012
  this.cdr = cdr;
@@ -2280,7 +2280,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImpo
2280
2280
  type: Output
2281
2281
  }] } });
2282
2282
 
2283
- class GoabFileUploadInput extends GoabBaseComponent {
2283
+ class GoabFileUploadInput extends GoabBaseComponent$1 {
2284
2284
  constructor(cdr) {
2285
2285
  super();
2286
2286
  this.cdr = cdr;
@@ -2352,7 +2352,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImpo
2352
2352
  type: Output
2353
2353
  }] } });
2354
2354
 
2355
- class GoabFilterChip extends GoabBaseComponent {
2355
+ class GoabFilterChip extends GoabBaseComponent$1 {
2356
2356
  constructor(cdr) {
2357
2357
  super();
2358
2358
  this.cdr = cdr;
@@ -2622,7 +2622,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImpo
2622
2622
  type: Output
2623
2623
  }] } });
2624
2624
 
2625
- class GoabPublicFormPage extends GoabBaseComponent {
2625
+ class GoabPublicFormPage extends GoabBaseComponent$1 {
2626
2626
  constructor() {
2627
2627
  super(...arguments);
2628
2628
  this.id = "";
@@ -2741,7 +2741,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImpo
2741
2741
  type: Input
2742
2742
  }] } });
2743
2743
 
2744
- class GoabPublicSubform extends GoabBaseComponent {
2744
+ class GoabPublicSubform extends GoabBaseComponent$1 {
2745
2745
  constructor() {
2746
2746
  super(...arguments);
2747
2747
  this.id = "";
@@ -2807,7 +2807,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImpo
2807
2807
  type: Output
2808
2808
  }] } });
2809
2809
 
2810
- class GoabPublicSubformIndex extends GoabBaseComponent {
2810
+ class GoabPublicSubformIndex extends GoabBaseComponent$1 {
2811
2811
  constructor() {
2812
2812
  super(...arguments);
2813
2813
  this.heading = "";
@@ -2893,7 +2893,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImpo
2893
2893
  type: Input
2894
2894
  }] } });
2895
2895
 
2896
- class GoabPublicFormTaskList extends GoabBaseComponent {
2896
+ class GoabPublicFormTaskList extends GoabBaseComponent$1 {
2897
2897
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: GoabPublicFormTaskList, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
2898
2898
  static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.16", type: GoabPublicFormTaskList, isStandalone: true, selector: "goab-public-form-task-list", inputs: { heading: "heading" }, usesInheritance: true, ngImport: i0, template: `
2899
2899
  <goa-public-form-task-list
@@ -2975,7 +2975,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImpo
2975
2975
  type: Output
2976
2976
  }] } });
2977
2977
 
2978
- class GoabFormItem extends GoabBaseComponent {
2978
+ class GoabFormItem extends GoabBaseComponent$1 {
2979
2979
  constructor(cdr) {
2980
2980
  super();
2981
2981
  this.cdr = cdr;
@@ -3124,7 +3124,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImpo
3124
3124
  type: Input
3125
3125
  }] } });
3126
3126
 
3127
- class GoabFormStepper extends GoabBaseComponent {
3127
+ class GoabFormStepper extends GoabBaseComponent$1 {
3128
3128
  constructor(cdr) {
3129
3129
  super();
3130
3130
  this.cdr = cdr;
@@ -3186,7 +3186,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImpo
3186
3186
  type: Output
3187
3187
  }] } });
3188
3188
 
3189
- class GoabGrid extends GoabBaseComponent {
3189
+ class GoabGrid extends GoabBaseComponent$1 {
3190
3190
  constructor(cdr) {
3191
3191
  super();
3192
3192
  this.cdr = cdr;
@@ -3433,7 +3433,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImpo
3433
3433
  type: Input
3434
3434
  }] } });
3435
3435
 
3436
- class GoabIcon extends GoabBaseComponent {
3436
+ class GoabIcon extends GoabBaseComponent$1 {
3437
3437
  constructor(cdr) {
3438
3438
  super();
3439
3439
  this.cdr = cdr;
@@ -3510,7 +3510,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImpo
3510
3510
  type: Input
3511
3511
  }] } });
3512
3512
 
3513
- class GoabIconButton extends GoabBaseComponent {
3513
+ class GoabIconButton extends GoabBaseComponent$1 {
3514
3514
  constructor(cdr) {
3515
3515
  super();
3516
3516
  this.cdr = cdr;
@@ -3606,7 +3606,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImpo
3606
3606
  type: Output
3607
3607
  }] } });
3608
3608
 
3609
- class GoabInput extends GoabControlValueAccessor {
3609
+ class GoabInput extends GoabControlValueAccessor$1 {
3610
3610
  constructor(cdr, renderer) {
3611
3611
  super(renderer);
3612
3612
  this.cdr = cdr;
@@ -4759,7 +4759,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImpo
4759
4759
  type: Input
4760
4760
  }] } });
4761
4761
 
4762
- class GoabPages extends GoabBaseComponent {
4762
+ class GoabPages extends GoabBaseComponent$1 {
4763
4763
  constructor(cdr) {
4764
4764
  super();
4765
4765
  this.cdr = cdr;
@@ -4810,7 +4810,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImpo
4810
4810
  args: [{ transform: numberAttribute }]
4811
4811
  }] } });
4812
4812
 
4813
- class GoabPagination extends GoabBaseComponent {
4813
+ class GoabPagination extends GoabBaseComponent$1 {
4814
4814
  constructor(cdr) {
4815
4815
  super();
4816
4816
  this.cdr = cdr;
@@ -4885,7 +4885,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImpo
4885
4885
  type: Output
4886
4886
  }] } });
4887
4887
 
4888
- class GoabPopover extends GoabBaseComponent {
4888
+ class GoabPopover extends GoabBaseComponent$1 {
4889
4889
  constructor(cdr) {
4890
4890
  super();
4891
4891
  this.cdr = cdr;
@@ -4964,7 +4964,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImpo
4964
4964
  args: [{ required: true }]
4965
4965
  }] } });
4966
4966
 
4967
- class GoabRadioGroup extends GoabControlValueAccessor {
4967
+ class GoabRadioGroup extends GoabControlValueAccessor$1 {
4968
4968
  constructor(cdr, renderer) {
4969
4969
  super(renderer);
4970
4970
  this.cdr = cdr;
@@ -5058,7 +5058,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImpo
5058
5058
  type: Output
5059
5059
  }] } });
5060
5060
 
5061
- class GoabRadioItem extends GoabBaseComponent {
5061
+ class GoabRadioItem extends GoabBaseComponent$1 {
5062
5062
  constructor(cdr) {
5063
5063
  super();
5064
5064
  this.cdr = cdr;
@@ -5214,7 +5214,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImpo
5214
5214
  type: Input
5215
5215
  }] } });
5216
5216
 
5217
- class GoabSideMenuGroup extends GoabBaseComponent {
5217
+ class GoabSideMenuGroup extends GoabBaseComponent$1 {
5218
5218
  constructor(cdr) {
5219
5219
  super();
5220
5220
  this.cdr = cdr;
@@ -5316,7 +5316,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImpo
5316
5316
  type: Input
5317
5317
  }] } });
5318
5318
 
5319
- class GoabSkeleton extends GoabBaseComponent {
5319
+ class GoabSkeleton extends GoabBaseComponent$1 {
5320
5320
  constructor(cdr) {
5321
5321
  super();
5322
5322
  this.cdr = cdr;
@@ -5448,13 +5448,19 @@ class GoabTab {
5448
5448
  return this.heading instanceof TemplateRef ? this.heading : null;
5449
5449
  }
5450
5450
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: GoabTab, deps: [{ token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component }); }
5451
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "20.3.16", type: GoabTab, isStandalone: true, selector: "goab-tab", inputs: { heading: "heading", disabled: ["disabled", "disabled", booleanAttribute] }, ngImport: i0, template: `
5452
- <goa-tab *ngIf="isReady" [attr.disabled]="disabled || null">
5451
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.16", type: GoabTab, isStandalone: true, selector: "goab-tab", inputs: { heading: "heading", disabled: ["disabled", "disabled", booleanAttribute], slug: "slug" }, ngImport: i0, template: `
5452
+ <goa-tab
5453
+ *ngIf="isReady"
5454
+ [attr.slug]="slug"
5455
+ [attr.disabled]="disabled || null"
5456
+ [attr.heading]="getHeadingAsString()"
5457
+ >
5453
5458
  <ng-content />
5454
- <div slot="heading">
5455
- <ng-container [ngTemplateOutlet]="getHeadingAsTemplate()"></ng-container>
5456
- {{getHeadingAsString()}}
5457
- </div>
5459
+ @if (typeof heading !== "string") {
5460
+ <div slot="heading">
5461
+ <ng-container [ngTemplateOutlet]="getHeadingAsTemplate()"></ng-container>
5462
+ </div>
5463
+ }
5458
5464
  </goa-tab>
5459
5465
  `, isInline: true, dependencies: [{ kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] }); }
5460
5466
  }
@@ -5464,25 +5470,33 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImpo
5464
5470
  standalone: true,
5465
5471
  selector: "goab-tab",
5466
5472
  template: `
5467
- <goa-tab *ngIf="isReady" [attr.disabled]="disabled || null">
5473
+ <goa-tab
5474
+ *ngIf="isReady"
5475
+ [attr.slug]="slug"
5476
+ [attr.disabled]="disabled || null"
5477
+ [attr.heading]="getHeadingAsString()"
5478
+ >
5468
5479
  <ng-content />
5469
- <div slot="heading">
5470
- <ng-container [ngTemplateOutlet]="getHeadingAsTemplate()"></ng-container>
5471
- {{getHeadingAsString()}}
5472
- </div>
5480
+ @if (typeof heading !== "string") {
5481
+ <div slot="heading">
5482
+ <ng-container [ngTemplateOutlet]="getHeadingAsTemplate()"></ng-container>
5483
+ </div>
5484
+ }
5473
5485
  </goa-tab>
5474
5486
  `,
5475
5487
  schemas: [CUSTOM_ELEMENTS_SCHEMA],
5476
- imports: [NgTemplateOutlet, CommonModule]
5488
+ imports: [NgTemplateOutlet, CommonModule],
5477
5489
  }]
5478
5490
  }], ctorParameters: () => [{ type: i0.ChangeDetectorRef }], propDecorators: { heading: [{
5479
5491
  type: Input
5480
5492
  }], disabled: [{
5481
5493
  type: Input,
5482
5494
  args: [{ transform: booleanAttribute }]
5495
+ }], slug: [{
5496
+ type: Input
5483
5497
  }] } });
5484
5498
 
5485
- class GoabTable extends GoabBaseComponent {
5499
+ class GoabTable extends GoabBaseComponent$1 {
5486
5500
  constructor(cdr) {
5487
5501
  super();
5488
5502
  this.cdr = cdr;
@@ -5788,7 +5802,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImpo
5788
5802
  type: Input
5789
5803
  }] } });
5790
5804
 
5791
- class GoabTextArea extends GoabControlValueAccessor {
5805
+ class GoabTextArea extends GoabControlValueAccessor$1 {
5792
5806
  constructor(cdr, renderer) {
5793
5807
  super(renderer);
5794
5808
  this.cdr = cdr;
@@ -5933,7 +5947,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImpo
5933
5947
  type: Output
5934
5948
  }] } });
5935
5949
 
5936
- class GoabTooltip extends GoabBaseComponent {
5950
+ class GoabTooltip extends GoabBaseComponent$1 {
5937
5951
  constructor(cdr) {
5938
5952
  super();
5939
5953
  this.cdr = cdr;
@@ -6019,107 +6033,168 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImpo
6019
6033
  type: Input
6020
6034
  }] } });
6021
6035
 
6022
- class GoabxWorkSideMenu {
6023
- constructor(cdr) {
6024
- this.cdr = cdr;
6025
- this.onToggle = new EventEmitter();
6026
- this.isReady = false;
6036
+ class GoabBaseComponent {
6037
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: GoabBaseComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
6038
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.16", type: GoabBaseComponent, isStandalone: true, selector: "ng-component", inputs: { mt: "mt", mb: "mb", ml: "ml", mr: "mr", testId: "testId" }, ngImport: i0, template: ``, isInline: true }); }
6039
+ }
6040
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: GoabBaseComponent, decorators: [{
6041
+ type: Component,
6042
+ args: [{
6043
+ standalone: true,
6044
+ template: ``, //** IMPLEMENT IN SUBCLASS
6045
+ }]
6046
+ }], propDecorators: { mt: [{
6047
+ type: Input
6048
+ }], mb: [{
6049
+ type: Input
6050
+ }], ml: [{
6051
+ type: Input
6052
+ }], mr: [{
6053
+ type: Input
6054
+ }], testId: [{
6055
+ type: Input
6056
+ }] } });
6057
+ /**
6058
+ * An abstract base class that extends `GoabBaseComponent` and implements the `ControlValueAccessor` interface.
6059
+ * This class provides a foundation for creating custom form controls in Angular, enabling them to integrate
6060
+ * seamlessly with Angular forms. It includes support for handling value changes, touch events, and disabled states.
6061
+ *
6062
+ * ## Features
6063
+ * - Supports `disabled="true"` and `error="true` attribute bindings for convenience.
6064
+ * - Handles form control value changes and touch events via `ControlValueAccessor` methods.
6065
+ * - Allows for flexible value types (`unknown`), making it suitable for various data types like integers, dates, or booleans.
6066
+ * - Uses ViewChild to capture a reference to the native GOA web component element via `#goaComponentRef`.
6067
+ * - Uses Renderer2 for safe DOM manipulation (compatible with SSR and security best practices).
6068
+ *
6069
+ * ## Usage
6070
+ * Extend this class to create custom form controls. Child components must:
6071
+ * 1. Add `#goaComponentRef` template reference to their `goa-*` element in the template
6072
+ * 2. Inject `Renderer2` in their constructor and pass it to `super(renderer)`
6073
+ *
6074
+ * ### Example:
6075
+ * ```typescript
6076
+ * @Component({
6077
+ * template: `<goa-input #goaComponentRef [value]="value" ...></goa-input>`
6078
+ * })
6079
+ * export class GoabInput extends GoabControlValueAccessor {
6080
+ * constructor(private cdr: ChangeDetectorRef, renderer: Renderer2) {
6081
+ * super(renderer); // Required: pass Renderer2 to base class
6082
+ * }
6083
+ * }
6084
+ * ```
6085
+ *
6086
+ * ## Properties
6087
+ * - `id?`: An optional identifier for the component.
6088
+ * - `disabled?`: A boolean indicating whether the component is disabled.
6089
+ * - `error?`: A boolean indicating whether the component is in an error state.
6090
+ * - `value?`: The current value of the component, which can be of any type.
6091
+ *
6092
+ * ## Methods
6093
+ * - `markAsTouched()`: Marks the component as touched and triggers the `fcTouched` callback if defined.
6094
+ * - `writeValue(value: unknown)`: Writes a new value to the form control (can be overridden for special behavior like checkbox).
6095
+ * - `registerOnChange(fn: any)`: Registers a function to handle changes in the form control value.
6096
+ * - `registerOnTouched(fn: any)`: Registers a function to handle touch events on the form control.
6097
+ * - `setDisabledState?(isDisabled: boolean)`: Sets the disabled state of the component.
6098
+ * - `convertValueToString(value: unknown)`: Converts a value to a string for DOM attribute assignment (can be overridden).
6099
+ *
6100
+ * ## Callbacks
6101
+ * - `fcChange?`: A function to handle changes in the form control value.
6102
+ * - `fcTouched?`: A function to handle touch events on the form control.
6103
+ */
6104
+ class GoabControlValueAccessor extends GoabBaseComponent {
6105
+ /**
6106
+ * Marks the component as touched. If the component is not already marked as touched,
6107
+ * it triggers the `fcTouched` callback (if defined) and sets the `touched` property to `true`.
6108
+ */
6109
+ markAsTouched() {
6110
+ if (!this.touched) {
6111
+ this.fcTouched?.();
6112
+ this.touched = true;
6113
+ }
6027
6114
  }
6028
- ngOnInit() {
6029
- // For Angular 20, we need to delay rendering the web component
6030
- // to ensure all attributes are properly bound before the component initializes
6031
- setTimeout(() => {
6032
- this.isReady = true;
6033
- this.cdr.detectChanges();
6034
- }, 0);
6115
+ constructor(renderer) {
6116
+ super();
6117
+ this.renderer = renderer;
6118
+ this.touched = false;
6035
6119
  }
6036
- _onToggle() {
6037
- this.onToggle.emit();
6120
+ /**
6121
+ * Convert an arbitrary value into a string for DOM attribute assignment.
6122
+ * Child classes can override when they need special formatting.
6123
+ * @param value The value to convert
6124
+ * @returns string representation or empty string for nullish/empty
6125
+ */
6126
+ convertValueToString(value) {
6127
+ if (value === null || value === undefined || value === "") {
6128
+ return "";
6129
+ }
6130
+ return String(value);
6038
6131
  }
6039
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: GoabxWorkSideMenu, deps: [{ token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component }); }
6040
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "20.3.16", type: GoabxWorkSideMenu, isStandalone: true, selector: "goabx-work-side-menu", inputs: { heading: "heading", url: "url", userName: "userName", userSecondaryText: "userSecondaryText", open: ["open", "open", booleanAttribute], testId: "testId", primaryContent: "primaryContent", secondaryContent: "secondaryContent", accountContent: "accountContent" }, outputs: { onToggle: "onToggle" }, ngImport: i0, template: `
6041
- <goa-work-side-menu
6042
- *ngIf="isReady"
6043
- [open]="open ?? false"
6044
- [attr.heading]="heading"
6045
- [attr.url]="url"
6046
- [attr.user-name]="userName"
6047
- [attr.user-secondary-text]="userSecondaryText"
6048
- [attr.testid]="testId"
6049
- (_toggle)="_onToggle()"
6050
- >
6051
- <div slot="primary">
6052
- <ng-container [ngTemplateOutlet]="primaryContent"></ng-container>
6053
- </div>
6054
- <div slot="secondary">
6055
- <ng-container [ngTemplateOutlet]="secondaryContent"></ng-container>
6056
- </div>
6057
- <div slot="account">
6058
- <ng-container [ngTemplateOutlet]="accountContent"></ng-container>
6059
- </div>
6060
- </goa-work-side-menu>
6061
- `, isInline: true, dependencies: [{ kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] }); }
6132
+ /**
6133
+ * Writes a new value to the form control.
6134
+ * @param {unknown} value - The value to write.
6135
+ */
6136
+ writeValue(value) {
6137
+ this.value = value;
6138
+ const el = this.goaComponentRef?.nativeElement;
6139
+ if (el) {
6140
+ const stringValue = this.convertValueToString(value);
6141
+ this.renderer.setAttribute(el, "value", stringValue);
6142
+ }
6143
+ }
6144
+ /**
6145
+ * Registers a function to call when the form control value changes.
6146
+ * @param {function} fn - The function to call.
6147
+ */
6148
+ registerOnChange(fn) {
6149
+ this.fcChange = fn;
6150
+ }
6151
+ /**
6152
+ * Registers a function to call when the form control is touched.
6153
+ * @param {function} fn - The function to call.
6154
+ */
6155
+ registerOnTouched(fn) {
6156
+ this.fcTouched = fn;
6157
+ }
6158
+ /**
6159
+ * Sets the disabled state of the component.
6160
+ *
6161
+ * @param isDisabled - A boolean indicating whether the component should be disabled.
6162
+ */
6163
+ setDisabledState(isDisabled) {
6164
+ this.disabled = isDisabled;
6165
+ }
6166
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: GoabControlValueAccessor, deps: [{ token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Component }); }
6167
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "20.3.16", type: GoabControlValueAccessor, isStandalone: true, selector: "ng-component", inputs: { id: "id", disabled: ["disabled", "disabled", booleanAttribute], error: ["error", "error", booleanAttribute], value: "value" }, viewQueries: [{ propertyName: "goaComponentRef", first: true, predicate: ["goaComponentRef"], descendants: true, read: ElementRef }], usesInheritance: true, ngImport: i0, template: ``, isInline: true }); }
6062
6168
  }
6063
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: GoabxWorkSideMenu, decorators: [{
6169
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: GoabControlValueAccessor, decorators: [{
6064
6170
  type: Component,
6065
6171
  args: [{
6066
6172
  standalone: true,
6067
- selector: "goabx-work-side-menu", // eslint-disable-line
6068
- imports: [NgTemplateOutlet, CommonModule],
6069
- template: `
6070
- <goa-work-side-menu
6071
- *ngIf="isReady"
6072
- [open]="open ?? false"
6073
- [attr.heading]="heading"
6074
- [attr.url]="url"
6075
- [attr.user-name]="userName"
6076
- [attr.user-secondary-text]="userSecondaryText"
6077
- [attr.testid]="testId"
6078
- (_toggle)="_onToggle()"
6079
- >
6080
- <div slot="primary">
6081
- <ng-container [ngTemplateOutlet]="primaryContent"></ng-container>
6082
- </div>
6083
- <div slot="secondary">
6084
- <ng-container [ngTemplateOutlet]="secondaryContent"></ng-container>
6085
- </div>
6086
- <div slot="account">
6087
- <ng-container [ngTemplateOutlet]="accountContent"></ng-container>
6088
- </div>
6089
- </goa-work-side-menu>
6090
- `,
6091
- schemas: [CUSTOM_ELEMENTS_SCHEMA],
6173
+ template: ``, //** IMPLEMENT IN SUBCLASS
6092
6174
  }]
6093
- }], ctorParameters: () => [{ type: i0.ChangeDetectorRef }], propDecorators: { heading: [{
6094
- type: Input,
6095
- args: [{ required: true }]
6096
- }], url: [{
6097
- type: Input,
6098
- args: [{ required: true }]
6099
- }], userName: [{
6100
- type: Input
6101
- }], userSecondaryText: [{
6175
+ }], ctorParameters: () => [{ type: i0.Renderer2 }], propDecorators: { id: [{
6102
6176
  type: Input
6103
- }], open: [{
6177
+ }], disabled: [{
6104
6178
  type: Input,
6105
6179
  args: [{ transform: booleanAttribute }]
6106
- }], testId: [{
6107
- type: Input
6108
- }], primaryContent: [{
6109
- type: Input
6110
- }], secondaryContent: [{
6111
- type: Input
6112
- }], accountContent: [{
6180
+ }], error: [{
6181
+ type: Input,
6182
+ args: [{ transform: booleanAttribute }]
6183
+ }], value: [{
6113
6184
  type: Input
6114
- }], onToggle: [{
6115
- type: Output
6185
+ }], goaComponentRef: [{
6186
+ type: ViewChild,
6187
+ args: ["goaComponentRef", { static: false, read: ElementRef }]
6116
6188
  }] } });
6117
6189
 
6118
- class GoabxWorkSideMenuItem {
6190
+ class GoabxBadge extends GoabBaseComponent {
6119
6191
  constructor(cdr) {
6192
+ super();
6120
6193
  this.cdr = cdr;
6121
- this.type = "normal";
6194
+ this.size = "medium";
6195
+ this.emphasis = "strong";
6122
6196
  this.isReady = false;
6197
+ this.version = "2";
6123
6198
  }
6124
6199
  ngOnInit() {
6125
6200
  // For Angular 20, we need to delay rendering the web component
@@ -6129,16 +6204,2851 @@ class GoabxWorkSideMenuItem {
6129
6204
  this.cdr.detectChanges();
6130
6205
  }, 0);
6131
6206
  }
6132
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: GoabxWorkSideMenuItem, deps: [{ token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component }); }
6133
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.16", type: GoabxWorkSideMenuItem, isStandalone: true, selector: "goabx-work-side-menu-item", inputs: { label: "label", url: "url", badge: "badge", current: "current", divider: "divider", icon: "icon", testId: "testId", type: "type" }, ngImport: i0, template: `
6134
- <goa-work-side-menu-item
6207
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: GoabxBadge, deps: [{ token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component }); }
6208
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "20.3.16", type: GoabxBadge, isStandalone: true, selector: "goabx-badge", inputs: { type: "type", content: "content", icon: ["icon", "icon", booleanAttribute], iconType: "iconType", size: "size", emphasis: "emphasis", ariaLabel: "ariaLabel" }, usesInheritance: true, ngImport: i0, template: `
6209
+ <goa-badge
6135
6210
  *ngIf="isReady"
6136
- [attr.label]="label"
6137
- [attr.url]="url"
6138
- [attr.badge]="badge"
6139
- [attr.current]="current"
6140
- [attr.divider]="divider"
6141
- [attr.icon]="icon"
6211
+ [attr.version]="version"
6212
+ [attr.size]="size"
6213
+ [attr.emphasis]="emphasis"
6214
+ [attr.type]="type"
6215
+ [attr.icon]="icon ? 'true' : 'false'"
6216
+ [attr.icontype]="iconType"
6217
+ [attr.arialabel]="ariaLabel"
6218
+ [attr.content]="content"
6219
+ [attr.testid]="testId"
6220
+ [attr.mt]="mt"
6221
+ [attr.mb]="mb"
6222
+ [attr.ml]="ml"
6223
+ [attr.mr]="mr"
6224
+ >
6225
+ </goa-badge>
6226
+ `, isInline: true, styles: [":host{display:contents}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] }); }
6227
+ }
6228
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: GoabxBadge, decorators: [{
6229
+ type: Component,
6230
+ args: [{ standalone: true, selector: "goabx-badge", template: `
6231
+ <goa-badge
6232
+ *ngIf="isReady"
6233
+ [attr.version]="version"
6234
+ [attr.size]="size"
6235
+ [attr.emphasis]="emphasis"
6236
+ [attr.type]="type"
6237
+ [attr.icon]="icon ? 'true' : 'false'"
6238
+ [attr.icontype]="iconType"
6239
+ [attr.arialabel]="ariaLabel"
6240
+ [attr.content]="content"
6241
+ [attr.testid]="testId"
6242
+ [attr.mt]="mt"
6243
+ [attr.mb]="mb"
6244
+ [attr.ml]="ml"
6245
+ [attr.mr]="mr"
6246
+ >
6247
+ </goa-badge>
6248
+ `, schemas: [CUSTOM_ELEMENTS_SCHEMA], imports: [CommonModule], styles: [":host{display:contents}\n"] }]
6249
+ }], ctorParameters: () => [{ type: i0.ChangeDetectorRef }], propDecorators: { type: [{
6250
+ type: Input
6251
+ }], content: [{
6252
+ type: Input
6253
+ }], icon: [{
6254
+ type: Input,
6255
+ args: [{ transform: booleanAttribute }]
6256
+ }], iconType: [{
6257
+ type: Input
6258
+ }], size: [{
6259
+ type: Input
6260
+ }], emphasis: [{
6261
+ type: Input
6262
+ }], ariaLabel: [{
6263
+ type: Input
6264
+ }] } });
6265
+
6266
+ class GoabxButton extends GoabBaseComponent {
6267
+ constructor(cdr) {
6268
+ super();
6269
+ this.cdr = cdr;
6270
+ this.type = "primary";
6271
+ this.onClick = new EventEmitter();
6272
+ this.isReady = false;
6273
+ this.version = "2";
6274
+ this.JSON = JSON;
6275
+ }
6276
+ ngOnInit() {
6277
+ // For Angular 20, we need to delay rendering the web component
6278
+ // to ensure all attributes are properly bound before the component initializes
6279
+ setTimeout(() => {
6280
+ this.isReady = true;
6281
+ this.cdr.detectChanges();
6282
+ }, 0);
6283
+ }
6284
+ _onClick() {
6285
+ this.onClick.emit();
6286
+ }
6287
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: GoabxButton, deps: [{ token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component }); }
6288
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "20.3.16", type: GoabxButton, isStandalone: true, selector: "goabx-button", inputs: { type: "type", size: "size", variant: "variant", disabled: ["disabled", "disabled", booleanAttribute], leadingIcon: "leadingIcon", trailingIcon: "trailingIcon", width: "width", action: "action", actionArg: "actionArg", actionArgs: "actionArgs" }, outputs: { onClick: "onClick" }, usesInheritance: true, ngImport: i0, template: `
6289
+ <goa-button
6290
+ *ngIf="isReady"
6291
+ [attr.version]="version"
6292
+ [attr.type]="type"
6293
+ [attr.size]="size"
6294
+ [attr.variant]="variant"
6295
+ [disabled]="disabled"
6296
+ [attr.leadingicon]="leadingIcon"
6297
+ [attr.trailingicon]="trailingIcon"
6298
+ [attr.width]="width"
6299
+ [attr.testid]="testId"
6300
+ [attr.action]="action"
6301
+ [attr.action-arg]="actionArg"
6302
+ [attr.action-args]="JSON.stringify(actionArgs)"
6303
+ [attr.mt]="mt"
6304
+ [attr.mb]="mb"
6305
+ [attr.ml]="ml"
6306
+ [attr.mr]="mr"
6307
+ (_click)="_onClick()"
6308
+ >
6309
+ <ng-content />
6310
+ </goa-button>
6311
+ `, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] }); }
6312
+ }
6313
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: GoabxButton, decorators: [{
6314
+ type: Component,
6315
+ args: [{
6316
+ standalone: true,
6317
+ selector: "goabx-button",
6318
+ imports: [CommonModule],
6319
+ template: `
6320
+ <goa-button
6321
+ *ngIf="isReady"
6322
+ [attr.version]="version"
6323
+ [attr.type]="type"
6324
+ [attr.size]="size"
6325
+ [attr.variant]="variant"
6326
+ [disabled]="disabled"
6327
+ [attr.leadingicon]="leadingIcon"
6328
+ [attr.trailingicon]="trailingIcon"
6329
+ [attr.width]="width"
6330
+ [attr.testid]="testId"
6331
+ [attr.action]="action"
6332
+ [attr.action-arg]="actionArg"
6333
+ [attr.action-args]="JSON.stringify(actionArgs)"
6334
+ [attr.mt]="mt"
6335
+ [attr.mb]="mb"
6336
+ [attr.ml]="ml"
6337
+ [attr.mr]="mr"
6338
+ (_click)="_onClick()"
6339
+ >
6340
+ <ng-content />
6341
+ </goa-button>
6342
+ `,
6343
+ schemas: [CUSTOM_ELEMENTS_SCHEMA],
6344
+ }]
6345
+ }], ctorParameters: () => [{ type: i0.ChangeDetectorRef }], propDecorators: { type: [{
6346
+ type: Input
6347
+ }], size: [{
6348
+ type: Input
6349
+ }], variant: [{
6350
+ type: Input
6351
+ }], disabled: [{
6352
+ type: Input,
6353
+ args: [{ transform: booleanAttribute }]
6354
+ }], leadingIcon: [{
6355
+ type: Input
6356
+ }], trailingIcon: [{
6357
+ type: Input
6358
+ }], width: [{
6359
+ type: Input
6360
+ }], action: [{
6361
+ type: Input
6362
+ }], actionArg: [{
6363
+ type: Input
6364
+ }], actionArgs: [{
6365
+ type: Input
6366
+ }], onClick: [{
6367
+ type: Output
6368
+ }] } });
6369
+
6370
+ class GoabxCalendar extends GoabBaseComponent {
6371
+ constructor(cdr) {
6372
+ super();
6373
+ this.cdr = cdr;
6374
+ this.version = 2;
6375
+ this.onChange = new EventEmitter();
6376
+ this.isReady = false;
6377
+ }
6378
+ ngOnInit() {
6379
+ // For Angular 20, we need to delay rendering the web component
6380
+ // to ensure all attributes are properly bound before the component initializes
6381
+ setTimeout(() => {
6382
+ this.isReady = true;
6383
+ this.cdr.detectChanges();
6384
+ }, 0);
6385
+ }
6386
+ _onChange(e) {
6387
+ const details = e.detail;
6388
+ this.onChange.emit(details);
6389
+ }
6390
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: GoabxCalendar, deps: [{ token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component }); }
6391
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.16", type: GoabxCalendar, isStandalone: true, selector: "goabx-calendar", inputs: { name: "name", value: "value", min: "min", max: "max" }, outputs: { onChange: "onChange" }, usesInheritance: true, ngImport: i0, template: `
6392
+ <goa-calendar
6393
+ *ngIf="isReady"
6394
+ [attr.name]="name"
6395
+ [value]="value"
6396
+ [attr.min]="min"
6397
+ [attr.max]="max"
6398
+ [attr.testid]="testId"
6399
+ [attr.mt]="mt"
6400
+ [attr.mb]="mb"
6401
+ [attr.ml]="ml"
6402
+ [attr.mr]="mr"
6403
+ [attr.version]="version"
6404
+ (_change)="_onChange($event)"
6405
+ >
6406
+ <ng-content />
6407
+ </goa-calendar>
6408
+ `, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] }); }
6409
+ }
6410
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: GoabxCalendar, decorators: [{
6411
+ type: Component,
6412
+ args: [{
6413
+ standalone: true,
6414
+ selector: "goabx-calendar",
6415
+ imports: [CommonModule],
6416
+ template: `
6417
+ <goa-calendar
6418
+ *ngIf="isReady"
6419
+ [attr.name]="name"
6420
+ [value]="value"
6421
+ [attr.min]="min"
6422
+ [attr.max]="max"
6423
+ [attr.testid]="testId"
6424
+ [attr.mt]="mt"
6425
+ [attr.mb]="mb"
6426
+ [attr.ml]="ml"
6427
+ [attr.mr]="mr"
6428
+ [attr.version]="version"
6429
+ (_change)="_onChange($event)"
6430
+ >
6431
+ <ng-content />
6432
+ </goa-calendar>
6433
+ `,
6434
+ schemas: [CUSTOM_ELEMENTS_SCHEMA],
6435
+ }]
6436
+ }], ctorParameters: () => [{ type: i0.ChangeDetectorRef }], propDecorators: { name: [{
6437
+ type: Input
6438
+ }], value: [{
6439
+ type: Input
6440
+ }], min: [{
6441
+ type: Input
6442
+ }], max: [{
6443
+ type: Input
6444
+ }], onChange: [{
6445
+ type: Output
6446
+ }] } });
6447
+
6448
+ class GoabxCallout extends GoabBaseComponent {
6449
+ constructor(cdr) {
6450
+ super();
6451
+ this.cdr = cdr;
6452
+ this.isReady = false;
6453
+ this.version = "2";
6454
+ this.type = "information";
6455
+ this.heading = "";
6456
+ this.size = "large";
6457
+ this.ariaLive = "off";
6458
+ this.iconTheme = "outline";
6459
+ this.emphasis = "medium";
6460
+ }
6461
+ ngOnInit() {
6462
+ // For Angular 20, we need to delay rendering the web component
6463
+ // to ensure all attributes are properly bound before the component initializes
6464
+ setTimeout(() => {
6465
+ this.isReady = true;
6466
+ this.cdr.detectChanges();
6467
+ }, 0);
6468
+ }
6469
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: GoabxCallout, deps: [{ token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component }); }
6470
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.16", type: GoabxCallout, isStandalone: true, selector: "goabx-callout", inputs: { type: "type", heading: "heading", size: "size", maxWidth: "maxWidth", ariaLive: "ariaLive", iconTheme: "iconTheme", emphasis: "emphasis" }, usesInheritance: true, ngImport: i0, template: `
6471
+ <goa-callout
6472
+ *ngIf="isReady"
6473
+ [attr.version]="version"
6474
+ [attr.type]="type"
6475
+ [attr.heading]="heading"
6476
+ [attr.size]="size"
6477
+ [attr.maxwidth]="maxWidth"
6478
+ [attr.arialive]="ariaLive"
6479
+ [attr.icontheme]="iconTheme"
6480
+ [attr.emphasis]="emphasis"
6481
+ [attr.testid]="testId"
6482
+ [attr.mt]="mt"
6483
+ [attr.mb]="mb"
6484
+ [attr.ml]="ml"
6485
+ [attr.mr]="mr"
6486
+ >
6487
+ <ng-content />
6488
+ </goa-callout>
6489
+ `, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] }); }
6490
+ }
6491
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: GoabxCallout, decorators: [{
6492
+ type: Component,
6493
+ args: [{
6494
+ standalone: true,
6495
+ selector: "goabx-callout",
6496
+ imports: [CommonModule],
6497
+ template: `
6498
+ <goa-callout
6499
+ *ngIf="isReady"
6500
+ [attr.version]="version"
6501
+ [attr.type]="type"
6502
+ [attr.heading]="heading"
6503
+ [attr.size]="size"
6504
+ [attr.maxwidth]="maxWidth"
6505
+ [attr.arialive]="ariaLive"
6506
+ [attr.icontheme]="iconTheme"
6507
+ [attr.emphasis]="emphasis"
6508
+ [attr.testid]="testId"
6509
+ [attr.mt]="mt"
6510
+ [attr.mb]="mb"
6511
+ [attr.ml]="ml"
6512
+ [attr.mr]="mr"
6513
+ >
6514
+ <ng-content />
6515
+ </goa-callout>
6516
+ `,
6517
+ schemas: [CUSTOM_ELEMENTS_SCHEMA],
6518
+ }]
6519
+ }], ctorParameters: () => [{ type: i0.ChangeDetectorRef }], propDecorators: { type: [{
6520
+ type: Input
6521
+ }], heading: [{
6522
+ type: Input
6523
+ }], size: [{
6524
+ type: Input
6525
+ }], maxWidth: [{
6526
+ type: Input
6527
+ }], ariaLive: [{
6528
+ type: Input
6529
+ }], iconTheme: [{
6530
+ type: Input
6531
+ }], emphasis: [{
6532
+ type: Input
6533
+ }] } });
6534
+
6535
+ class GoabxCheckbox extends GoabControlValueAccessor {
6536
+ constructor(cdr, renderer) {
6537
+ super(renderer);
6538
+ this.cdr = cdr;
6539
+ this.isReady = false;
6540
+ this.version = "2";
6541
+ this.size = "default";
6542
+ this.onChange = new EventEmitter();
6543
+ }
6544
+ ngOnInit() {
6545
+ // For Angular 20, we need to delay rendering the web component
6546
+ // to ensure all attributes are properly bound before the component initializes
6547
+ setTimeout(() => {
6548
+ this.isReady = true;
6549
+ this.cdr.detectChanges();
6550
+ }, 0);
6551
+ }
6552
+ getDescriptionAsString() {
6553
+ return typeof this.description === "string" ? this.description : "";
6554
+ }
6555
+ getDescriptionAsTemplate() {
6556
+ if (this.description) {
6557
+ return typeof this.description === "string" ? null : this.description;
6558
+ }
6559
+ return null;
6560
+ }
6561
+ _onChange(e) {
6562
+ const detail = { ...e.detail, event: e };
6563
+ this.onChange.emit(detail);
6564
+ this.markAsTouched();
6565
+ this.fcChange?.(detail.binding === "check" ? detail.checked : detail.value || "");
6566
+ }
6567
+ // Checkbox is a special case: it uses `checked` instead of `value`.
6568
+ writeValue(value) {
6569
+ this.value = value;
6570
+ this.checked = !!value;
6571
+ const el = this.goaComponentRef?.nativeElement;
6572
+ if (el) {
6573
+ this.renderer.setAttribute(el, "checked", this.checked ? "true" : "false");
6574
+ }
6575
+ }
6576
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: GoabxCheckbox, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Component }); }
6577
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "20.3.16", type: GoabxCheckbox, isStandalone: true, selector: "goabx-checkbox", inputs: { name: "name", checked: ["checked", "checked", booleanAttribute], indeterminate: ["indeterminate", "indeterminate", booleanAttribute], text: "text", value: "value", ariaLabel: "ariaLabel", description: "description", reveal: "reveal", revealArialLabel: "revealArialLabel", maxWidth: "maxWidth", size: "size" }, outputs: { onChange: "onChange" }, providers: [
6578
+ {
6579
+ provide: NG_VALUE_ACCESSOR,
6580
+ multi: true,
6581
+ useExisting: forwardRef(() => GoabxCheckbox),
6582
+ },
6583
+ ], usesInheritance: true, ngImport: i0, template: ` <goa-checkbox
6584
+ #goaComponentRef
6585
+ *ngIf="isReady"
6586
+ [attr.version]="version"
6587
+ [attr.name]="name"
6588
+ [checked]="checked"
6589
+ [disabled]="disabled"
6590
+ [attr.indeterminate]="indeterminate ? 'true' : undefined"
6591
+ [attr.error]="error"
6592
+ [attr.text]="text"
6593
+ [value]="value"
6594
+ [attr.testid]="testId"
6595
+ [attr.arialabel]="ariaLabel"
6596
+ [attr.description]="getDescriptionAsString()"
6597
+ [attr.revealarialabel]="revealArialLabel"
6598
+ [id]="id"
6599
+ [attr.maxwidth]="maxWidth"
6600
+ [attr.size]="size"
6601
+ [attr.mt]="mt"
6602
+ [attr.mb]="mb"
6603
+ [attr.ml]="ml"
6604
+ [attr.mr]="mr"
6605
+ (_change)="_onChange($event)"
6606
+ >
6607
+ <ng-content />
6608
+ <div slot="description">
6609
+ <ng-container [ngTemplateOutlet]="getDescriptionAsTemplate()"></ng-container>
6610
+ </div>
6611
+ <div slot="reveal">
6612
+ <ng-container *ngIf="reveal" [ngTemplateOutlet]="reveal"></ng-container>
6613
+ </div>
6614
+ </goa-checkbox>`, isInline: true, dependencies: [{ kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] }); }
6615
+ }
6616
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: GoabxCheckbox, decorators: [{
6617
+ type: Component,
6618
+ args: [{
6619
+ standalone: true,
6620
+ selector: "goabx-checkbox",
6621
+ template: ` <goa-checkbox
6622
+ #goaComponentRef
6623
+ *ngIf="isReady"
6624
+ [attr.version]="version"
6625
+ [attr.name]="name"
6626
+ [checked]="checked"
6627
+ [disabled]="disabled"
6628
+ [attr.indeterminate]="indeterminate ? 'true' : undefined"
6629
+ [attr.error]="error"
6630
+ [attr.text]="text"
6631
+ [value]="value"
6632
+ [attr.testid]="testId"
6633
+ [attr.arialabel]="ariaLabel"
6634
+ [attr.description]="getDescriptionAsString()"
6635
+ [attr.revealarialabel]="revealArialLabel"
6636
+ [id]="id"
6637
+ [attr.maxwidth]="maxWidth"
6638
+ [attr.size]="size"
6639
+ [attr.mt]="mt"
6640
+ [attr.mb]="mb"
6641
+ [attr.ml]="ml"
6642
+ [attr.mr]="mr"
6643
+ (_change)="_onChange($event)"
6644
+ >
6645
+ <ng-content />
6646
+ <div slot="description">
6647
+ <ng-container [ngTemplateOutlet]="getDescriptionAsTemplate()"></ng-container>
6648
+ </div>
6649
+ <div slot="reveal">
6650
+ <ng-container *ngIf="reveal" [ngTemplateOutlet]="reveal"></ng-container>
6651
+ </div>
6652
+ </goa-checkbox>`,
6653
+ schemas: [CUSTOM_ELEMENTS_SCHEMA],
6654
+ providers: [
6655
+ {
6656
+ provide: NG_VALUE_ACCESSOR,
6657
+ multi: true,
6658
+ useExisting: forwardRef(() => GoabxCheckbox),
6659
+ },
6660
+ ],
6661
+ imports: [NgTemplateOutlet, CommonModule],
6662
+ }]
6663
+ }], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.Renderer2 }], propDecorators: { name: [{
6664
+ type: Input
6665
+ }], checked: [{
6666
+ type: Input,
6667
+ args: [{ transform: booleanAttribute }]
6668
+ }], indeterminate: [{
6669
+ type: Input,
6670
+ args: [{ transform: booleanAttribute }]
6671
+ }], text: [{
6672
+ type: Input
6673
+ }], value: [{
6674
+ type: Input
6675
+ }], ariaLabel: [{
6676
+ type: Input
6677
+ }], description: [{
6678
+ type: Input
6679
+ }], reveal: [{
6680
+ type: Input
6681
+ }], revealArialLabel: [{
6682
+ type: Input
6683
+ }], maxWidth: [{
6684
+ type: Input
6685
+ }], size: [{
6686
+ type: Input
6687
+ }], onChange: [{
6688
+ type: Output
6689
+ }] } });
6690
+
6691
+ class GoabxDatePicker extends GoabControlValueAccessor {
6692
+ formatValue(val) {
6693
+ if (!val)
6694
+ return "";
6695
+ if (val instanceof Date) {
6696
+ return val.toISOString();
6697
+ }
6698
+ return val;
6699
+ }
6700
+ _onChange(e) {
6701
+ const detail = { ...e.detail, event: e };
6702
+ this.onChange.emit(detail);
6703
+ this.markAsTouched();
6704
+ this.fcChange?.(detail.value);
6705
+ }
6706
+ constructor(elementRef, cdr, renderer) {
6707
+ super(renderer);
6708
+ this.elementRef = elementRef;
6709
+ this.cdr = cdr;
6710
+ this.isReady = false;
6711
+ this.version = 2;
6712
+ this.onChange = new EventEmitter();
6713
+ }
6714
+ ngOnInit() {
6715
+ // For Angular 20, we need to delay rendering the web component
6716
+ // to ensure all attributes are properly bound before the component initializes
6717
+ setTimeout(() => {
6718
+ this.isReady = true;
6719
+ this.cdr.detectChanges();
6720
+ }, 0);
6721
+ if (this.value && typeof this.value !== "string") {
6722
+ console.warn("Using a `Date` type for value is deprecated. Instead use a string of the format `yyyy-mm-dd`");
6723
+ }
6724
+ }
6725
+ setDisabledState(isDisabled) {
6726
+ this.disabled = isDisabled;
6727
+ this.elementRef.nativeElement.disabled = isDisabled;
6728
+ }
6729
+ listenDisabledChange(isDisabled) {
6730
+ this.setDisabledState(isDisabled);
6731
+ }
6732
+ writeValue(value) {
6733
+ this.value = value;
6734
+ const datePickerEl = this.goaComponentRef?.nativeElement;
6735
+ if (datePickerEl) {
6736
+ if (!value) {
6737
+ this.renderer.setAttribute(datePickerEl, "value", "");
6738
+ }
6739
+ else {
6740
+ this.renderer.setAttribute(datePickerEl, "value", value instanceof Date ? value.toISOString() : value);
6741
+ }
6742
+ }
6743
+ }
6744
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: GoabxDatePicker, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Component }); }
6745
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.16", type: GoabxDatePicker, isStandalone: true, selector: "goabx-date-picker", inputs: { name: "name", value: "value", min: "min", max: "max", type: "type", relative: "relative", width: "width" }, outputs: { onChange: "onChange" }, host: { listeners: { "disabledChange": "listenDisabledChange($event.detail.disabled)" } }, providers: [
6746
+ {
6747
+ provide: NG_VALUE_ACCESSOR,
6748
+ multi: true,
6749
+ useExisting: forwardRef(() => GoabxDatePicker),
6750
+ },
6751
+ ], usesInheritance: true, ngImport: i0, template: ` <goa-date-picker
6752
+ #goaComponentRef
6753
+ *ngIf="isReady"
6754
+ [attr.name]="name"
6755
+ [attr.value]="formatValue(value)"
6756
+ [attr.min]="min"
6757
+ [attr.max]="max"
6758
+ [attr.error]="error"
6759
+ [attr.disabled]="disabled"
6760
+ [attr.relative]="relative"
6761
+ [attr.type]="type"
6762
+ [attr.testid]="testId"
6763
+ [attr.width]="width"
6764
+ [attr.mt]="mt"
6765
+ [attr.mb]="mb"
6766
+ [attr.ml]="ml"
6767
+ [attr.mr]="mr"
6768
+ [attr.version]="version"
6769
+ (_change)="_onChange($event)"
6770
+ >
6771
+ </goa-date-picker>`, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] }); }
6772
+ }
6773
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: GoabxDatePicker, decorators: [{
6774
+ type: Component,
6775
+ args: [{
6776
+ standalone: true,
6777
+ selector: "goabx-date-picker",
6778
+ imports: [CommonModule],
6779
+ template: ` <goa-date-picker
6780
+ #goaComponentRef
6781
+ *ngIf="isReady"
6782
+ [attr.name]="name"
6783
+ [attr.value]="formatValue(value)"
6784
+ [attr.min]="min"
6785
+ [attr.max]="max"
6786
+ [attr.error]="error"
6787
+ [attr.disabled]="disabled"
6788
+ [attr.relative]="relative"
6789
+ [attr.type]="type"
6790
+ [attr.testid]="testId"
6791
+ [attr.width]="width"
6792
+ [attr.mt]="mt"
6793
+ [attr.mb]="mb"
6794
+ [attr.ml]="ml"
6795
+ [attr.mr]="mr"
6796
+ [attr.version]="version"
6797
+ (_change)="_onChange($event)"
6798
+ >
6799
+ </goa-date-picker>`,
6800
+ schemas: [CUSTOM_ELEMENTS_SCHEMA],
6801
+ providers: [
6802
+ {
6803
+ provide: NG_VALUE_ACCESSOR,
6804
+ multi: true,
6805
+ useExisting: forwardRef(() => GoabxDatePicker),
6806
+ },
6807
+ ],
6808
+ }]
6809
+ }], ctorParameters: () => [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }, { type: i0.Renderer2 }], propDecorators: { name: [{
6810
+ type: Input
6811
+ }], value: [{
6812
+ type: Input
6813
+ }], min: [{
6814
+ type: Input
6815
+ }], max: [{
6816
+ type: Input
6817
+ }], type: [{
6818
+ type: Input
6819
+ }], relative: [{
6820
+ type: Input
6821
+ }], width: [{
6822
+ type: Input
6823
+ }], onChange: [{
6824
+ type: Output
6825
+ }], listenDisabledChange: [{
6826
+ type: HostListener,
6827
+ args: ["disabledChange", ["$event.detail.disabled"]]
6828
+ }] } });
6829
+
6830
+ class GoabxDrawer {
6831
+ constructor(cdr) {
6832
+ this.cdr = cdr;
6833
+ this.version = "2";
6834
+ this.onClose = new EventEmitter();
6835
+ this.isReady = false;
6836
+ }
6837
+ ngOnInit() {
6838
+ // For Angular 20, we need to delay rendering the web component
6839
+ // to ensure all attributes are properly bound before the component initializes
6840
+ setTimeout(() => {
6841
+ this.isReady = true;
6842
+ this.cdr.detectChanges();
6843
+ }, 0);
6844
+ }
6845
+ _onClose() {
6846
+ this.onClose.emit();
6847
+ }
6848
+ getHeadingAsString() {
6849
+ return this.heading instanceof TemplateRef ? "" : this.heading;
6850
+ }
6851
+ getHeadingAsTemplate() {
6852
+ if (!this.heading)
6853
+ return null;
6854
+ return this.heading instanceof TemplateRef ? this.heading : null;
6855
+ }
6856
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: GoabxDrawer, deps: [{ token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component }); }
6857
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "20.3.16", type: GoabxDrawer, isStandalone: true, selector: "goabx-drawer", inputs: { open: ["open", "open", booleanAttribute], position: "position", heading: "heading", maxSize: "maxSize", testId: "testId", actions: "actions" }, outputs: { onClose: "onClose" }, ngImport: i0, template: `
6858
+ <goa-drawer
6859
+ *ngIf="isReady"
6860
+ [open]="open"
6861
+ [attr.position]="position"
6862
+ [attr.heading]="getHeadingAsString()"
6863
+ [attr.maxsize]="maxSize"
6864
+ [attr.testid]="testId"
6865
+ [attr.version]="version"
6866
+ (_close)="_onClose()"
6867
+ >
6868
+ <ng-content></ng-content>
6869
+ <div slot="heading">
6870
+ <ng-container [ngTemplateOutlet]="getHeadingAsTemplate()"></ng-container>
6871
+ </div>
6872
+ <div slot="actions">
6873
+ <ng-container [ngTemplateOutlet]="actions"></ng-container>
6874
+ </div>
6875
+ </goa-drawer>
6876
+ `, isInline: true, dependencies: [{ kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] }); }
6877
+ }
6878
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: GoabxDrawer, decorators: [{
6879
+ type: Component,
6880
+ args: [{
6881
+ standalone: true,
6882
+ selector: "goabx-drawer",
6883
+ imports: [NgTemplateOutlet, CommonModule],
6884
+ template: `
6885
+ <goa-drawer
6886
+ *ngIf="isReady"
6887
+ [open]="open"
6888
+ [attr.position]="position"
6889
+ [attr.heading]="getHeadingAsString()"
6890
+ [attr.maxsize]="maxSize"
6891
+ [attr.testid]="testId"
6892
+ [attr.version]="version"
6893
+ (_close)="_onClose()"
6894
+ >
6895
+ <ng-content></ng-content>
6896
+ <div slot="heading">
6897
+ <ng-container [ngTemplateOutlet]="getHeadingAsTemplate()"></ng-container>
6898
+ </div>
6899
+ <div slot="actions">
6900
+ <ng-container [ngTemplateOutlet]="actions"></ng-container>
6901
+ </div>
6902
+ </goa-drawer>
6903
+ `,
6904
+ schemas: [CUSTOM_ELEMENTS_SCHEMA],
6905
+ }]
6906
+ }], ctorParameters: () => [{ type: i0.ChangeDetectorRef }], propDecorators: { open: [{
6907
+ type: Input,
6908
+ args: [{ required: true, transform: booleanAttribute }]
6909
+ }], position: [{
6910
+ type: Input,
6911
+ args: [{ required: true }]
6912
+ }], heading: [{
6913
+ type: Input
6914
+ }], maxSize: [{
6915
+ type: Input
6916
+ }], testId: [{
6917
+ type: Input
6918
+ }], actions: [{
6919
+ type: Input
6920
+ }], onClose: [{
6921
+ type: Output
6922
+ }] } });
6923
+
6924
+ // "disabled", "value", "id" is an exposed property of HTMLInputElement, no need to bind with attr
6925
+ class GoabxDropdown extends GoabControlValueAccessor {
6926
+ constructor(cdr, renderer) {
6927
+ super(renderer);
6928
+ this.cdr = cdr;
6929
+ this.size = "default";
6930
+ this.onChange = new EventEmitter();
6931
+ this.isReady = false;
6932
+ this.version = "2";
6933
+ }
6934
+ ngOnInit() {
6935
+ // For Angular 20, we need to delay rendering the web component
6936
+ // to ensure all attributes are properly bound before the component initializes
6937
+ setTimeout(() => {
6938
+ this.isReady = true;
6939
+ this.cdr.detectChanges();
6940
+ }, 0);
6941
+ }
6942
+ _onChange(e) {
6943
+ const detail = { ...e.detail, event: e };
6944
+ // Keep local value in sync with emitted detail
6945
+ this.value = detail.value || null;
6946
+ this.onChange.emit(detail);
6947
+ this.markAsTouched();
6948
+ this.fcChange?.(detail.value || "");
6949
+ }
6950
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: GoabxDropdown, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Component }); }
6951
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "20.3.16", type: GoabxDropdown, isStandalone: true, selector: "goabx-dropdown", inputs: { name: "name", ariaLabel: "ariaLabel", ariaLabelledBy: "ariaLabelledBy", filterable: ["filterable", "filterable", booleanAttribute], leadingIcon: "leadingIcon", maxHeight: "maxHeight", multiselect: ["multiselect", "multiselect", booleanAttribute], native: ["native", "native", booleanAttribute], placeholder: "placeholder", width: "width", maxWidth: "maxWidth", autoComplete: "autoComplete", size: "size", relative: "relative" }, outputs: { onChange: "onChange" }, providers: [
6952
+ {
6953
+ provide: NG_VALUE_ACCESSOR,
6954
+ multi: true,
6955
+ useExisting: forwardRef(() => GoabxDropdown),
6956
+ },
6957
+ ], usesInheritance: true, ngImport: i0, template: `
6958
+ <goa-dropdown
6959
+ #goaComponentRef
6960
+ *ngIf="isReady"
6961
+ [attr.version]="version"
6962
+ [attr.name]="name"
6963
+ [value]="value"
6964
+ [attr.arialabel]="ariaLabel"
6965
+ [attr.arialabelledby]="ariaLabelledBy"
6966
+ [disabled]="disabled"
6967
+ [attr.error]="error"
6968
+ [attr.filterable]="filterable"
6969
+ [attr.leadingicon]="leadingIcon"
6970
+ [attr.maxheight]="maxHeight"
6971
+ [attr.mb]="mb"
6972
+ [attr.ml]="ml"
6973
+ [attr.mr]="mr"
6974
+ [attr.mt]="mt"
6975
+ [attr.multiselect]="multiselect"
6976
+ [attr.native]="native"
6977
+ [attr.placeholder]="placeholder"
6978
+ [attr.testid]="testId"
6979
+ [attr.width]="width"
6980
+ [attr.maxwidth]="maxWidth"
6981
+ [attr.relative]="relative"
6982
+ [attr.autocomplete]="autoComplete"
6983
+ [attr.size]="size"
6984
+ [id]="id"
6985
+ (_change)="_onChange($event)"
6986
+ >
6987
+ <ng-content />
6988
+ </goa-dropdown>
6989
+ `, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] }); }
6990
+ }
6991
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: GoabxDropdown, decorators: [{
6992
+ type: Component,
6993
+ args: [{
6994
+ standalone: true,
6995
+ selector: "goabx-dropdown",
6996
+ imports: [CommonModule],
6997
+ template: `
6998
+ <goa-dropdown
6999
+ #goaComponentRef
7000
+ *ngIf="isReady"
7001
+ [attr.version]="version"
7002
+ [attr.name]="name"
7003
+ [value]="value"
7004
+ [attr.arialabel]="ariaLabel"
7005
+ [attr.arialabelledby]="ariaLabelledBy"
7006
+ [disabled]="disabled"
7007
+ [attr.error]="error"
7008
+ [attr.filterable]="filterable"
7009
+ [attr.leadingicon]="leadingIcon"
7010
+ [attr.maxheight]="maxHeight"
7011
+ [attr.mb]="mb"
7012
+ [attr.ml]="ml"
7013
+ [attr.mr]="mr"
7014
+ [attr.mt]="mt"
7015
+ [attr.multiselect]="multiselect"
7016
+ [attr.native]="native"
7017
+ [attr.placeholder]="placeholder"
7018
+ [attr.testid]="testId"
7019
+ [attr.width]="width"
7020
+ [attr.maxwidth]="maxWidth"
7021
+ [attr.relative]="relative"
7022
+ [attr.autocomplete]="autoComplete"
7023
+ [attr.size]="size"
7024
+ [id]="id"
7025
+ (_change)="_onChange($event)"
7026
+ >
7027
+ <ng-content />
7028
+ </goa-dropdown>
7029
+ `,
7030
+ schemas: [CUSTOM_ELEMENTS_SCHEMA],
7031
+ providers: [
7032
+ {
7033
+ provide: NG_VALUE_ACCESSOR,
7034
+ multi: true,
7035
+ useExisting: forwardRef(() => GoabxDropdown),
7036
+ },
7037
+ ],
7038
+ }]
7039
+ }], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.Renderer2 }], propDecorators: { name: [{
7040
+ type: Input
7041
+ }], ariaLabel: [{
7042
+ type: Input
7043
+ }], ariaLabelledBy: [{
7044
+ type: Input
7045
+ }], filterable: [{
7046
+ type: Input,
7047
+ args: [{ transform: booleanAttribute }]
7048
+ }], leadingIcon: [{
7049
+ type: Input
7050
+ }], maxHeight: [{
7051
+ type: Input
7052
+ }], multiselect: [{
7053
+ type: Input,
7054
+ args: [{ transform: booleanAttribute }]
7055
+ }], native: [{
7056
+ type: Input,
7057
+ args: [{ transform: booleanAttribute }]
7058
+ }], placeholder: [{
7059
+ type: Input
7060
+ }], width: [{
7061
+ type: Input
7062
+ }], maxWidth: [{
7063
+ type: Input
7064
+ }], autoComplete: [{
7065
+ type: Input
7066
+ }], size: [{
7067
+ type: Input
7068
+ }], relative: [{
7069
+ type: Input
7070
+ }], onChange: [{
7071
+ type: Output
7072
+ }] } });
7073
+
7074
+ class GoabxDropdownItem {
7075
+ constructor(cdr) {
7076
+ this.cdr = cdr;
7077
+ this.isReady = false;
7078
+ }
7079
+ ngOnInit() {
7080
+ // For Angular 20, we need to delay rendering the web component
7081
+ // to ensure all attributes are properly bound before the component initializes
7082
+ setTimeout(() => {
7083
+ this.isReady = true;
7084
+ this.cdr.detectChanges();
7085
+ }, 0);
7086
+ }
7087
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: GoabxDropdownItem, deps: [{ token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component }); }
7088
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.16", type: GoabxDropdownItem, isStandalone: true, selector: "goabx-dropdown-item", inputs: { value: "value", filter: "filter", label: "label", name: "name", mountType: "mountType" }, ngImport: i0, template: `
7089
+ <goa-dropdown-item
7090
+ *ngIf="isReady"
7091
+ [value]="value"
7092
+ [label]="label"
7093
+ [attr.filter]="filter"
7094
+ [attr.name]="name"
7095
+ [attr.mount]="mountType"
7096
+ >
7097
+ </goa-dropdown-item>
7098
+ `, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] }); }
7099
+ }
7100
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: GoabxDropdownItem, decorators: [{
7101
+ type: Component,
7102
+ args: [{
7103
+ standalone: true,
7104
+ selector: "goabx-dropdown-item",
7105
+ template: `
7106
+ <goa-dropdown-item
7107
+ *ngIf="isReady"
7108
+ [value]="value"
7109
+ [label]="label"
7110
+ [attr.filter]="filter"
7111
+ [attr.name]="name"
7112
+ [attr.mount]="mountType"
7113
+ >
7114
+ </goa-dropdown-item>
7115
+ `,
7116
+ schemas: [CUSTOM_ELEMENTS_SCHEMA],
7117
+ imports: [CommonModule],
7118
+ }]
7119
+ }], ctorParameters: () => [{ type: i0.ChangeDetectorRef }], propDecorators: { value: [{
7120
+ type: Input
7121
+ }], filter: [{
7122
+ type: Input
7123
+ }], label: [{
7124
+ type: Input
7125
+ }], name: [{
7126
+ type: Input
7127
+ }], mountType: [{
7128
+ type: Input
7129
+ }] } });
7130
+
7131
+ class GoabxFileUploadCard {
7132
+ constructor(cdr) {
7133
+ this.cdr = cdr;
7134
+ this.onCancel = new EventEmitter();
7135
+ this.onDelete = new EventEmitter();
7136
+ this.isReady = false;
7137
+ this.version = "2";
7138
+ }
7139
+ ngOnInit() {
7140
+ // For Angular 20, we need to delay rendering the web component
7141
+ // to ensure all attributes are properly bound before the component initializes
7142
+ setTimeout(() => {
7143
+ this.isReady = true;
7144
+ this.cdr.detectChanges();
7145
+ }, 0);
7146
+ }
7147
+ _onCancel(event) {
7148
+ this.onCancel.emit({ filename: this.filename, event });
7149
+ }
7150
+ _onDelete(event) {
7151
+ this.onDelete.emit({ filename: this.filename, event });
7152
+ }
7153
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: GoabxFileUploadCard, deps: [{ token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component }); }
7154
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "20.3.16", type: GoabxFileUploadCard, isStandalone: true, selector: "goabx-file-upload-card", inputs: { filename: "filename", size: ["size", "size", numberAttribute], type: "type", progress: ["progress", "progress", numberAttribute], error: "error", testId: "testId" }, outputs: { onCancel: "onCancel", onDelete: "onDelete" }, ngImport: i0, template: `<goa-file-upload-card
7155
+ *ngIf="isReady"
7156
+ [attr.version]="version"
7157
+ [attr.filename]="filename"
7158
+ [attr.size]="size"
7159
+ [attr.type]="type"
7160
+ [attr.progress]="progress"
7161
+ [attr.error]="error"
7162
+ [attr.testid]="testId"
7163
+ (_cancel)="_onCancel($event)"
7164
+ (_delete)="_onDelete($event)"
7165
+ >
7166
+ </goa-file-upload-card>`, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] }); }
7167
+ }
7168
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: GoabxFileUploadCard, decorators: [{
7169
+ type: Component,
7170
+ args: [{
7171
+ standalone: true,
7172
+ selector: "goabx-file-upload-card",
7173
+ template: `<goa-file-upload-card
7174
+ *ngIf="isReady"
7175
+ [attr.version]="version"
7176
+ [attr.filename]="filename"
7177
+ [attr.size]="size"
7178
+ [attr.type]="type"
7179
+ [attr.progress]="progress"
7180
+ [attr.error]="error"
7181
+ [attr.testid]="testId"
7182
+ (_cancel)="_onCancel($event)"
7183
+ (_delete)="_onDelete($event)"
7184
+ >
7185
+ </goa-file-upload-card>`,
7186
+ schemas: [CUSTOM_ELEMENTS_SCHEMA],
7187
+ imports: [CommonModule],
7188
+ }]
7189
+ }], ctorParameters: () => [{ type: i0.ChangeDetectorRef }], propDecorators: { filename: [{
7190
+ type: Input,
7191
+ args: [{ required: true }]
7192
+ }], size: [{
7193
+ type: Input,
7194
+ args: [{ transform: numberAttribute }]
7195
+ }], type: [{
7196
+ type: Input
7197
+ }], progress: [{
7198
+ type: Input,
7199
+ args: [{ transform: numberAttribute }]
7200
+ }], error: [{
7201
+ type: Input
7202
+ }], testId: [{
7203
+ type: Input
7204
+ }], onCancel: [{
7205
+ type: Output
7206
+ }], onDelete: [{
7207
+ type: Output
7208
+ }] } });
7209
+
7210
+ class GoabxFileUploadInput extends GoabBaseComponent {
7211
+ constructor(cdr) {
7212
+ super();
7213
+ this.cdr = cdr;
7214
+ this.id = "";
7215
+ this.maxFileSize = "5MB";
7216
+ this.onSelectFile = new EventEmitter();
7217
+ this.isReady = false;
7218
+ this.version = "2";
7219
+ }
7220
+ ngOnInit() {
7221
+ // For Angular 20, we need to delay rendering the web component
7222
+ // to ensure all attributes are properly bound before the component initializes
7223
+ setTimeout(() => {
7224
+ this.isReady = true;
7225
+ this.cdr.detectChanges();
7226
+ }, 0);
7227
+ }
7228
+ _onSelectFile(e) {
7229
+ const detail = { ...e.detail, event: e };
7230
+ this.onSelectFile.emit(detail);
7231
+ }
7232
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: GoabxFileUploadInput, deps: [{ token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component }); }
7233
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.16", type: GoabxFileUploadInput, isStandalone: true, selector: "goabx-file-upload-input", inputs: { id: "id", variant: "variant", maxFileSize: "maxFileSize", accept: "accept" }, outputs: { onSelectFile: "onSelectFile" }, usesInheritance: true, ngImport: i0, template: `<goa-file-upload-input
7234
+ *ngIf="isReady"
7235
+ [attr.version]="version"
7236
+ [attr.variant]="variant"
7237
+ [attr.accept]="accept"
7238
+ [attr.maxfilesize]="maxFileSize"
7239
+ [attr.testid]="testId"
7240
+ [id]="id"
7241
+ [attr.mt]="mt"
7242
+ [attr.mb]="mb"
7243
+ [attr.mr]="mr"
7244
+ [attr.ml]="ml"
7245
+ (_selectFile)="_onSelectFile($event)"
7246
+ >
7247
+ </goa-file-upload-input>`, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] }); }
7248
+ }
7249
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: GoabxFileUploadInput, decorators: [{
7250
+ type: Component,
7251
+ args: [{
7252
+ standalone: true,
7253
+ selector: "goabx-file-upload-input",
7254
+ template: `<goa-file-upload-input
7255
+ *ngIf="isReady"
7256
+ [attr.version]="version"
7257
+ [attr.variant]="variant"
7258
+ [attr.accept]="accept"
7259
+ [attr.maxfilesize]="maxFileSize"
7260
+ [attr.testid]="testId"
7261
+ [id]="id"
7262
+ [attr.mt]="mt"
7263
+ [attr.mb]="mb"
7264
+ [attr.mr]="mr"
7265
+ [attr.ml]="ml"
7266
+ (_selectFile)="_onSelectFile($event)"
7267
+ >
7268
+ </goa-file-upload-input>`,
7269
+ schemas: [CUSTOM_ELEMENTS_SCHEMA],
7270
+ imports: [CommonModule],
7271
+ }]
7272
+ }], ctorParameters: () => [{ type: i0.ChangeDetectorRef }], propDecorators: { id: [{
7273
+ type: Input
7274
+ }], variant: [{
7275
+ type: Input,
7276
+ args: [{ required: true }]
7277
+ }], maxFileSize: [{
7278
+ type: Input
7279
+ }], accept: [{
7280
+ type: Input
7281
+ }], onSelectFile: [{
7282
+ type: Output
7283
+ }] } });
7284
+
7285
+ class GoabxFilterChip extends GoabBaseComponent {
7286
+ constructor(cdr) {
7287
+ super();
7288
+ this.cdr = cdr;
7289
+ this.content = "";
7290
+ this.secondaryText = "";
7291
+ this.leadingIcon = null;
7292
+ this.onClick = new EventEmitter();
7293
+ this.isReady = false;
7294
+ this.version = "2";
7295
+ }
7296
+ ngOnInit() {
7297
+ // For Angular 20, we need to delay rendering the web component
7298
+ // to ensure all attributes are properly bound before the component initializes
7299
+ setTimeout(() => {
7300
+ this.isReady = true;
7301
+ this.cdr.detectChanges();
7302
+ }, 0);
7303
+ }
7304
+ _onClick() {
7305
+ this.onClick.emit();
7306
+ }
7307
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: GoabxFilterChip, deps: [{ token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component }); }
7308
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "20.3.16", type: GoabxFilterChip, isStandalone: true, selector: "goabx-filter-chip", inputs: { error: ["error", "error", booleanAttribute], deletable: ["deletable", "deletable", booleanAttribute], content: "content", iconTheme: "iconTheme", secondaryText: "secondaryText", leadingIcon: "leadingIcon" }, outputs: { onClick: "onClick" }, usesInheritance: true, ngImport: i0, template: `<goa-filter-chip
7309
+ *ngIf="isReady"
7310
+ [attr.version]="version"
7311
+ [attr.error]="error"
7312
+ [attr.icontheme]="iconTheme"
7313
+ [attr.content]="content"
7314
+ [attr.secondarytext]="secondaryText"
7315
+ [attr.leadingicon]="leadingIcon"
7316
+ [attr.testid]="testId"
7317
+ [attr.mt]="mt"
7318
+ [attr.mb]="mb"
7319
+ [attr.ml]="ml"
7320
+ [attr.mr]="mr"
7321
+ (_click)="_onClick()"
7322
+ >
7323
+ <ng-content />
7324
+ </goa-filter-chip>`, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] }); }
7325
+ }
7326
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: GoabxFilterChip, decorators: [{
7327
+ type: Component,
7328
+ args: [{
7329
+ standalone: true,
7330
+ selector: "goabx-filter-chip",
7331
+ template: `<goa-filter-chip
7332
+ *ngIf="isReady"
7333
+ [attr.version]="version"
7334
+ [attr.error]="error"
7335
+ [attr.icontheme]="iconTheme"
7336
+ [attr.content]="content"
7337
+ [attr.secondarytext]="secondaryText"
7338
+ [attr.leadingicon]="leadingIcon"
7339
+ [attr.testid]="testId"
7340
+ [attr.mt]="mt"
7341
+ [attr.mb]="mb"
7342
+ [attr.ml]="ml"
7343
+ [attr.mr]="mr"
7344
+ (_click)="_onClick()"
7345
+ >
7346
+ <ng-content />
7347
+ </goa-filter-chip>`,
7348
+ schemas: [CUSTOM_ELEMENTS_SCHEMA],
7349
+ imports: [CommonModule],
7350
+ }]
7351
+ }], ctorParameters: () => [{ type: i0.ChangeDetectorRef }], propDecorators: { error: [{
7352
+ type: Input,
7353
+ args: [{ transform: booleanAttribute }]
7354
+ }], deletable: [{
7355
+ type: Input,
7356
+ args: [{ transform: booleanAttribute }]
7357
+ }], content: [{
7358
+ type: Input
7359
+ }], iconTheme: [{
7360
+ type: Input
7361
+ }], secondaryText: [{
7362
+ type: Input
7363
+ }], leadingIcon: [{
7364
+ type: Input
7365
+ }], onClick: [{
7366
+ type: Output
7367
+ }] } });
7368
+
7369
+ class GoabxFormItem extends GoabBaseComponent {
7370
+ constructor(cdr) {
7371
+ super();
7372
+ this.cdr = cdr;
7373
+ this.type = "";
7374
+ this.isReady = false;
7375
+ this.version = "2";
7376
+ }
7377
+ ngOnInit() {
7378
+ // For Angular 20, we need to delay rendering the web component
7379
+ // to ensure all attributes are properly bound before the component initializes
7380
+ setTimeout(() => {
7381
+ this.isReady = true;
7382
+ this.cdr.detectChanges();
7383
+ }, 0);
7384
+ }
7385
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: GoabxFormItem, deps: [{ token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component }); }
7386
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.16", type: GoabxFormItem, isStandalone: true, selector: "goabx-form-item", inputs: { label: "label", labelSize: "labelSize", helpText: "helpText", error: "error", requirement: "requirement", maxWidth: "maxWidth", id: "id", type: "type", publicFormSummaryOrder: "publicFormSummaryOrder", name: "name" }, usesInheritance: true, ngImport: i0, template: `
7387
+ <goa-form-item
7388
+ *ngIf="isReady"
7389
+ [attr.version]="version"
7390
+ [attr.label]="label"
7391
+ [attr.labelsize]="labelSize"
7392
+ [attr.helptext]="helpText"
7393
+ [attr.error]="error"
7394
+ [attr.testid]="testId"
7395
+ [attr.type]="type"
7396
+ [id]="id"
7397
+ [attr.name]="name"
7398
+ [attr.requirement]="requirement"
7399
+ [attr.maxwidth]="maxWidth"
7400
+ [attr.public-form-summary-order]="publicFormSummaryOrder"
7401
+ [attr.mt]="mt"
7402
+ [attr.mb]="mb"
7403
+ [attr.mr]="mr"
7404
+ [attr.ml]="ml"
7405
+ >
7406
+ <ng-content />
7407
+ <ng-content select="goab-form-item-slot"></ng-content>
7408
+ </goa-form-item>
7409
+ `, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] }); }
7410
+ }
7411
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: GoabxFormItem, decorators: [{
7412
+ type: Component,
7413
+ args: [{
7414
+ standalone: true,
7415
+ selector: "goabx-form-item",
7416
+ template: `
7417
+ <goa-form-item
7418
+ *ngIf="isReady"
7419
+ [attr.version]="version"
7420
+ [attr.label]="label"
7421
+ [attr.labelsize]="labelSize"
7422
+ [attr.helptext]="helpText"
7423
+ [attr.error]="error"
7424
+ [attr.testid]="testId"
7425
+ [attr.type]="type"
7426
+ [id]="id"
7427
+ [attr.name]="name"
7428
+ [attr.requirement]="requirement"
7429
+ [attr.maxwidth]="maxWidth"
7430
+ [attr.public-form-summary-order]="publicFormSummaryOrder"
7431
+ [attr.mt]="mt"
7432
+ [attr.mb]="mb"
7433
+ [attr.mr]="mr"
7434
+ [attr.ml]="ml"
7435
+ >
7436
+ <ng-content />
7437
+ <ng-content select="goab-form-item-slot"></ng-content>
7438
+ </goa-form-item>
7439
+ `,
7440
+ schemas: [CUSTOM_ELEMENTS_SCHEMA],
7441
+ imports: [CommonModule],
7442
+ }]
7443
+ }], ctorParameters: () => [{ type: i0.ChangeDetectorRef }], propDecorators: { label: [{
7444
+ type: Input
7445
+ }], labelSize: [{
7446
+ type: Input
7447
+ }], helpText: [{
7448
+ type: Input
7449
+ }], error: [{
7450
+ type: Input
7451
+ }], requirement: [{
7452
+ type: Input
7453
+ }], maxWidth: [{
7454
+ type: Input
7455
+ }], id: [{
7456
+ type: Input
7457
+ }], type: [{
7458
+ type: Input
7459
+ }], publicFormSummaryOrder: [{
7460
+ type: Input
7461
+ }], name: [{
7462
+ type: Input
7463
+ }] } });
7464
+
7465
+ class GoabxAppFooter {
7466
+ constructor(cdr) {
7467
+ this.cdr = cdr;
7468
+ this.isReady = false;
7469
+ this.version = 2;
7470
+ }
7471
+ ngOnInit() {
7472
+ // For Angular 20, we need to delay rendering the web component
7473
+ // to ensure all attributes are properly bound before the component initializes
7474
+ setTimeout(() => {
7475
+ this.isReady = true;
7476
+ this.cdr.detectChanges();
7477
+ }, 0);
7478
+ }
7479
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: GoabxAppFooter, deps: [{ token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component }); }
7480
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.16", type: GoabxAppFooter, isStandalone: true, selector: "goabx-app-footer", inputs: { maxContentWidth: "maxContentWidth", testId: "testId", url: "url" }, ngImport: i0, template: `
7481
+ <goa-app-footer
7482
+ *ngIf="isReady"
7483
+ [attr.maxcontentwidth]="maxContentWidth"
7484
+ [attr.url]="url"
7485
+ [attr.testid]="testId"
7486
+ [attr.version]="version"
7487
+ >
7488
+ <ng-content select="[slot=nav]" />
7489
+ <ng-content select="goabx-app-footer-meta-section"></ng-content>
7490
+ <ng-content></ng-content>
7491
+ </goa-app-footer>
7492
+ `, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] }); }
7493
+ }
7494
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: GoabxAppFooter, decorators: [{
7495
+ type: Component,
7496
+ args: [{
7497
+ standalone: true,
7498
+ selector: "goabx-app-footer",
7499
+ template: `
7500
+ <goa-app-footer
7501
+ *ngIf="isReady"
7502
+ [attr.maxcontentwidth]="maxContentWidth"
7503
+ [attr.url]="url"
7504
+ [attr.testid]="testId"
7505
+ [attr.version]="version"
7506
+ >
7507
+ <ng-content select="[slot=nav]" />
7508
+ <ng-content select="goabx-app-footer-meta-section"></ng-content>
7509
+ <ng-content></ng-content>
7510
+ </goa-app-footer>
7511
+ `,
7512
+ schemas: [CUSTOM_ELEMENTS_SCHEMA],
7513
+ imports: [CommonModule],
7514
+ }]
7515
+ }], ctorParameters: () => [{ type: i0.ChangeDetectorRef }], propDecorators: { maxContentWidth: [{
7516
+ type: Input
7517
+ }], testId: [{
7518
+ type: Input
7519
+ }], url: [{
7520
+ type: Input
7521
+ }] } });
7522
+
7523
+ class GoabxAppFooterMetaSection {
7524
+ constructor(cdr) {
7525
+ this.cdr = cdr;
7526
+ this.isReady = false;
7527
+ }
7528
+ ngOnInit() {
7529
+ // For Angular 20, we need to delay rendering the web component
7530
+ // to ensure all attributes are properly bound before the component initializes
7531
+ setTimeout(() => {
7532
+ this.isReady = true;
7533
+ this.cdr.detectChanges();
7534
+ }, 0);
7535
+ }
7536
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: GoabxAppFooterMetaSection, deps: [{ token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component }); }
7537
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.16", type: GoabxAppFooterMetaSection, isStandalone: true, selector: "goabx-app-footer-meta-section", inputs: { testId: "testId", slot: "slot" }, ngImport: i0, template: `
7538
+ <goa-app-footer-meta-section *ngIf="isReady" [attr.testid]="testId">
7539
+ <ng-content />
7540
+ </goa-app-footer-meta-section>
7541
+ `, isInline: true, styles: [":host{width:100%}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] }); }
7542
+ }
7543
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: GoabxAppFooterMetaSection, decorators: [{
7544
+ type: Component,
7545
+ args: [{ standalone: true, selector: "goabx-app-footer-meta-section", template: `
7546
+ <goa-app-footer-meta-section *ngIf="isReady" [attr.testid]="testId">
7547
+ <ng-content />
7548
+ </goa-app-footer-meta-section>
7549
+ `, schemas: [CUSTOM_ELEMENTS_SCHEMA], imports: [CommonModule], styles: [":host{width:100%}\n"] }]
7550
+ }], ctorParameters: () => [{ type: i0.ChangeDetectorRef }], propDecorators: { testId: [{
7551
+ type: Input
7552
+ }], slot: [{
7553
+ type: Input,
7554
+ args: [{ required: true }]
7555
+ }] } });
7556
+
7557
+ class GoabxAppFooterNavSection {
7558
+ constructor(cdr) {
7559
+ this.cdr = cdr;
7560
+ this.maxColumnCount = 1;
7561
+ this.isReady = false;
7562
+ }
7563
+ ngOnInit() {
7564
+ // For Angular 20, we need to delay rendering the web component
7565
+ // to ensure all attributes are properly bound before the component initializes
7566
+ setTimeout(() => {
7567
+ this.isReady = true;
7568
+ this.cdr.detectChanges();
7569
+ }, 0);
7570
+ }
7571
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: GoabxAppFooterNavSection, deps: [{ token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component }); }
7572
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.16", type: GoabxAppFooterNavSection, isStandalone: true, selector: "goabx-app-footer-nav-section", inputs: { heading: "heading", maxColumnCount: "maxColumnCount", testId: "testId", slot: "slot" }, ngImport: i0, template: `
7573
+ <goa-app-footer-nav-section
7574
+ *ngIf="isReady"
7575
+ [attr.maxcolumncount]="maxColumnCount"
7576
+ [attr.heading]="heading"
7577
+ [attr.testid]="testId"
7578
+ >
7579
+ <ng-content />
7580
+ </goa-app-footer-nav-section>
7581
+ `, isInline: true, styles: [":host{width:100%}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] }); }
7582
+ }
7583
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: GoabxAppFooterNavSection, decorators: [{
7584
+ type: Component,
7585
+ args: [{ standalone: true, selector: "goabx-app-footer-nav-section", template: `
7586
+ <goa-app-footer-nav-section
7587
+ *ngIf="isReady"
7588
+ [attr.maxcolumncount]="maxColumnCount"
7589
+ [attr.heading]="heading"
7590
+ [attr.testid]="testId"
7591
+ >
7592
+ <ng-content />
7593
+ </goa-app-footer-nav-section>
7594
+ `, schemas: [CUSTOM_ELEMENTS_SCHEMA], imports: [CommonModule], styles: [":host{width:100%}\n"] }]
7595
+ }], ctorParameters: () => [{ type: i0.ChangeDetectorRef }], propDecorators: { heading: [{
7596
+ type: Input
7597
+ }], maxColumnCount: [{
7598
+ type: Input
7599
+ }], testId: [{
7600
+ type: Input
7601
+ }], slot: [{
7602
+ type: Input,
7603
+ args: [{ required: true }]
7604
+ }] } });
7605
+
7606
+ class GoabxInput extends GoabControlValueAccessor {
7607
+ constructor(cdr, renderer) {
7608
+ super(renderer);
7609
+ this.cdr = cdr;
7610
+ this.type = "text";
7611
+ this.textAlign = "left";
7612
+ this.size = "default";
7613
+ this.onTrailingIconClick = new EventEmitter();
7614
+ this.onFocus = new EventEmitter();
7615
+ this.onBlur = new EventEmitter();
7616
+ this.onKeyPress = new EventEmitter();
7617
+ this.onChange = new EventEmitter();
7618
+ this.isReady = false;
7619
+ this.version = "2";
7620
+ this.handleTrailingIconClick = false;
7621
+ }
7622
+ ngOnInit() {
7623
+ // For Angular 20, we need to delay rendering the web component
7624
+ // to ensure all attributes are properly bound before the component initializes
7625
+ setTimeout(() => {
7626
+ this.isReady = true;
7627
+ this.cdr.detectChanges();
7628
+ }, 0);
7629
+ this.handleTrailingIconClick = this.onTrailingIconClick.observed;
7630
+ if (typeof this.value === "number") {
7631
+ console.warn("For numeric values use goab-input-number.");
7632
+ }
7633
+ }
7634
+ _onTrailingIconClick(_) {
7635
+ if (this.handleTrailingIconClick) {
7636
+ this.onTrailingIconClick.emit();
7637
+ }
7638
+ }
7639
+ _onChange(e) {
7640
+ this.markAsTouched();
7641
+ const detail = { ...e.detail, event: e };
7642
+ this.onChange.emit(detail);
7643
+ this.fcChange?.(detail.value);
7644
+ }
7645
+ _onKeyPress(e) {
7646
+ this.markAsTouched();
7647
+ const detail = { ...e.detail, event: e };
7648
+ this.onKeyPress.emit(detail);
7649
+ this.fcTouched?.();
7650
+ }
7651
+ _onFocus(e) {
7652
+ this.markAsTouched();
7653
+ const detail = { ...e.detail, event: e };
7654
+ this.onFocus.emit(detail);
7655
+ }
7656
+ _onBlur(e) {
7657
+ const detail = { ...e.detail, event: e };
7658
+ this.onBlur.emit(detail);
7659
+ }
7660
+ getLeadingContentAsString() {
7661
+ return this.leadingContent instanceof TemplateRef ? "" : this.leadingContent;
7662
+ }
7663
+ getLeadingContentAsTemplate() {
7664
+ if (!this.leadingContent)
7665
+ return null;
7666
+ return this.leadingContent instanceof TemplateRef ? this.leadingContent : null;
7667
+ }
7668
+ getTrailingContentAsString() {
7669
+ return this.trailingContent instanceof TemplateRef ? "" : this.trailingContent;
7670
+ }
7671
+ getTrailingContentAsTemplate() {
7672
+ if (!this.trailingContent)
7673
+ return null;
7674
+ return this.trailingContent instanceof TemplateRef ? this.trailingContent : null;
7675
+ }
7676
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: GoabxInput, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Component }); }
7677
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "20.3.16", type: GoabxInput, isStandalone: true, selector: "goabx-input", inputs: { type: "type", name: "name", debounce: ["debounce", "debounce", numberAttribute], autoCapitalize: "autoCapitalize", autoComplete: "autoComplete", placeholder: "placeholder", leadingIcon: "leadingIcon", trailingIcon: "trailingIcon", variant: "variant", focused: ["focused", "focused", booleanAttribute], readonly: ["readonly", "readonly", booleanAttribute], width: "width", prefix: "prefix", suffix: "suffix", ariaLabel: "ariaLabel", maxLength: ["maxLength", "maxLength", numberAttribute], min: "min", max: "max", step: ["step", "step", numberAttribute], ariaLabelledBy: "ariaLabelledBy", trailingIconAriaLabel: "trailingIconAriaLabel", textAlign: "textAlign", leadingContent: "leadingContent", trailingContent: "trailingContent", size: "size" }, outputs: { onTrailingIconClick: "onTrailingIconClick", onFocus: "onFocus", onBlur: "onBlur", onKeyPress: "onKeyPress", onChange: "onChange" }, providers: [
7678
+ {
7679
+ provide: NG_VALUE_ACCESSOR,
7680
+ multi: true,
7681
+ useExisting: forwardRef(() => GoabxInput),
7682
+ },
7683
+ ], usesInheritance: true, ngImport: i0, template: `
7684
+ <goa-input
7685
+ #goaComponentRef
7686
+ *ngIf="isReady"
7687
+ [attr.version]="version"
7688
+ [attr.type]="type"
7689
+ [attr.name]="name"
7690
+ [attr.focused]="focused"
7691
+ [attr.value]="value"
7692
+ [attr.autocapitalize]="autoCapitalize"
7693
+ [attr.autocomplete]="autoComplete"
7694
+ [attr.placeholder]="placeholder"
7695
+ [attr.leadingicon]="leadingIcon"
7696
+ [attr.trailingicon]="trailingIcon"
7697
+ [attr.variant]="variant"
7698
+ [disabled]="disabled"
7699
+ [attr.readonly]="readonly"
7700
+ [attr.error]="error"
7701
+ [attr.data-testid]="testId"
7702
+ [attr.width]="width"
7703
+ [attr.arialabel]="ariaLabel"
7704
+ [attr.arialabelledby]="ariaLabelledBy"
7705
+ [attr.min]="min"
7706
+ [attr.max]="max"
7707
+ [attr.step]="step"
7708
+ [attr.prefix]="prefix"
7709
+ [attr.suffix]="suffix"
7710
+ [attr.debounce]="debounce"
7711
+ [attr.maxlength]="maxLength"
7712
+ [attr.id]="id"
7713
+ [attr.mt]="mt"
7714
+ [attr.mr]="mr"
7715
+ [attr.mb]="mb"
7716
+ [attr.ml]="ml"
7717
+ [attr.handletrailingiconclick]="handleTrailingIconClick"
7718
+ [attr.textalign]="textAlign"
7719
+ [attr.size]="size"
7720
+ (_trailingIconClick)="_onTrailingIconClick($event)"
7721
+ (_change)="_onChange($event)"
7722
+ (_focus)="_onFocus($event)"
7723
+ (_blur)="_onBlur($event)"
7724
+ (_keyPress)="_onKeyPress($event)"
7725
+ [attr.trailingiconarialabel]="trailingIconAriaLabel"
7726
+ >
7727
+ <div slot="leadingContent">
7728
+ <ng-container *ngIf="leadingContent">
7729
+ <ng-container *ngIf="getLeadingContentAsTemplate(); else stringLeading">
7730
+ <ng-container
7731
+ [ngTemplateOutlet]="getLeadingContentAsTemplate()"
7732
+ ></ng-container>
7733
+ </ng-container>
7734
+ <ng-template #stringLeading>{{ getLeadingContentAsString() }}</ng-template>
7735
+ </ng-container>
7736
+ </div>
7737
+
7738
+ <ng-content />
7739
+
7740
+ <div slot="trailingContent">
7741
+ <ng-container *ngIf="trailingContent">
7742
+ <ng-container *ngIf="getTrailingContentAsTemplate(); else stringTrailing">
7743
+ <ng-container
7744
+ [ngTemplateOutlet]="getTrailingContentAsTemplate()"
7745
+ ></ng-container>
7746
+ </ng-container>
7747
+ <ng-template #stringTrailing>{{ getTrailingContentAsString() }}</ng-template>
7748
+ </ng-container>
7749
+ </div>
7750
+ </goa-input>
7751
+ `, isInline: true, dependencies: [{ kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "ngmodule", type: CommonModule }] }); }
7752
+ }
7753
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: GoabxInput, decorators: [{
7754
+ type: Component,
7755
+ args: [{
7756
+ standalone: true,
7757
+ selector: "goabx-input",
7758
+ imports: [NgIf, NgTemplateOutlet, CommonModule],
7759
+ template: `
7760
+ <goa-input
7761
+ #goaComponentRef
7762
+ *ngIf="isReady"
7763
+ [attr.version]="version"
7764
+ [attr.type]="type"
7765
+ [attr.name]="name"
7766
+ [attr.focused]="focused"
7767
+ [attr.value]="value"
7768
+ [attr.autocapitalize]="autoCapitalize"
7769
+ [attr.autocomplete]="autoComplete"
7770
+ [attr.placeholder]="placeholder"
7771
+ [attr.leadingicon]="leadingIcon"
7772
+ [attr.trailingicon]="trailingIcon"
7773
+ [attr.variant]="variant"
7774
+ [disabled]="disabled"
7775
+ [attr.readonly]="readonly"
7776
+ [attr.error]="error"
7777
+ [attr.data-testid]="testId"
7778
+ [attr.width]="width"
7779
+ [attr.arialabel]="ariaLabel"
7780
+ [attr.arialabelledby]="ariaLabelledBy"
7781
+ [attr.min]="min"
7782
+ [attr.max]="max"
7783
+ [attr.step]="step"
7784
+ [attr.prefix]="prefix"
7785
+ [attr.suffix]="suffix"
7786
+ [attr.debounce]="debounce"
7787
+ [attr.maxlength]="maxLength"
7788
+ [attr.id]="id"
7789
+ [attr.mt]="mt"
7790
+ [attr.mr]="mr"
7791
+ [attr.mb]="mb"
7792
+ [attr.ml]="ml"
7793
+ [attr.handletrailingiconclick]="handleTrailingIconClick"
7794
+ [attr.textalign]="textAlign"
7795
+ [attr.size]="size"
7796
+ (_trailingIconClick)="_onTrailingIconClick($event)"
7797
+ (_change)="_onChange($event)"
7798
+ (_focus)="_onFocus($event)"
7799
+ (_blur)="_onBlur($event)"
7800
+ (_keyPress)="_onKeyPress($event)"
7801
+ [attr.trailingiconarialabel]="trailingIconAriaLabel"
7802
+ >
7803
+ <div slot="leadingContent">
7804
+ <ng-container *ngIf="leadingContent">
7805
+ <ng-container *ngIf="getLeadingContentAsTemplate(); else stringLeading">
7806
+ <ng-container
7807
+ [ngTemplateOutlet]="getLeadingContentAsTemplate()"
7808
+ ></ng-container>
7809
+ </ng-container>
7810
+ <ng-template #stringLeading>{{ getLeadingContentAsString() }}</ng-template>
7811
+ </ng-container>
7812
+ </div>
7813
+
7814
+ <ng-content />
7815
+
7816
+ <div slot="trailingContent">
7817
+ <ng-container *ngIf="trailingContent">
7818
+ <ng-container *ngIf="getTrailingContentAsTemplate(); else stringTrailing">
7819
+ <ng-container
7820
+ [ngTemplateOutlet]="getTrailingContentAsTemplate()"
7821
+ ></ng-container>
7822
+ </ng-container>
7823
+ <ng-template #stringTrailing>{{ getTrailingContentAsString() }}</ng-template>
7824
+ </ng-container>
7825
+ </div>
7826
+ </goa-input>
7827
+ `,
7828
+ schemas: [CUSTOM_ELEMENTS_SCHEMA],
7829
+ providers: [
7830
+ {
7831
+ provide: NG_VALUE_ACCESSOR,
7832
+ multi: true,
7833
+ useExisting: forwardRef(() => GoabxInput),
7834
+ },
7835
+ ],
7836
+ }]
7837
+ }], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.Renderer2 }], propDecorators: { type: [{
7838
+ type: Input
7839
+ }], name: [{
7840
+ type: Input
7841
+ }], debounce: [{
7842
+ type: Input,
7843
+ args: [{ transform: numberAttribute }]
7844
+ }], autoCapitalize: [{
7845
+ type: Input
7846
+ }], autoComplete: [{
7847
+ type: Input
7848
+ }], placeholder: [{
7849
+ type: Input
7850
+ }], leadingIcon: [{
7851
+ type: Input
7852
+ }], trailingIcon: [{
7853
+ type: Input
7854
+ }], variant: [{
7855
+ type: Input
7856
+ }], focused: [{
7857
+ type: Input,
7858
+ args: [{ transform: booleanAttribute }]
7859
+ }], readonly: [{
7860
+ type: Input,
7861
+ args: [{ transform: booleanAttribute }]
7862
+ }], width: [{
7863
+ type: Input
7864
+ }], prefix: [{
7865
+ type: Input
7866
+ }], suffix: [{
7867
+ type: Input
7868
+ }], ariaLabel: [{
7869
+ type: Input
7870
+ }], maxLength: [{
7871
+ type: Input,
7872
+ args: [{ transform: numberAttribute }]
7873
+ }], min: [{
7874
+ type: Input
7875
+ }], max: [{
7876
+ type: Input
7877
+ }], step: [{
7878
+ type: Input,
7879
+ args: [{ transform: numberAttribute }]
7880
+ }], ariaLabelledBy: [{
7881
+ type: Input
7882
+ }], trailingIconAriaLabel: [{
7883
+ type: Input
7884
+ }], textAlign: [{
7885
+ type: Input
7886
+ }], leadingContent: [{
7887
+ type: Input
7888
+ }], trailingContent: [{
7889
+ type: Input
7890
+ }], size: [{
7891
+ type: Input
7892
+ }], onTrailingIconClick: [{
7893
+ type: Output
7894
+ }], onFocus: [{
7895
+ type: Output
7896
+ }], onBlur: [{
7897
+ type: Output
7898
+ }], onKeyPress: [{
7899
+ type: Output
7900
+ }], onChange: [{
7901
+ type: Output
7902
+ }] } });
7903
+
7904
+ class GoabxLink {
7905
+ constructor(cdr) {
7906
+ this.cdr = cdr;
7907
+ this.isReady = false;
7908
+ this.color = "interactive";
7909
+ this.size = "medium";
7910
+ this.JSON = JSON;
7911
+ }
7912
+ ngOnInit() {
7913
+ setTimeout(() => {
7914
+ this.isReady = true;
7915
+ this.cdr.detectChanges();
7916
+ });
7917
+ }
7918
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: GoabxLink, deps: [{ token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component }); }
7919
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.16", type: GoabxLink, isStandalone: true, selector: "goabx-link", inputs: { leadingIcon: "leadingIcon", trailingIcon: "trailingIcon", testId: "testId", action: "action", color: "color", size: "size", actionArg: "actionArg", actionArgs: "actionArgs", mt: "mt", mb: "mb", ml: "ml", mr: "mr" }, ngImport: i0, template: `
7920
+ <goa-link
7921
+ *ngIf="isReady"
7922
+ [attr.leadingicon]="leadingIcon"
7923
+ [attr.trailingicon]="trailingIcon"
7924
+ [attr.testid]="testId"
7925
+ [attr.action]="action"
7926
+ [attr.color]="color"
7927
+ [attr.size]="size"
7928
+ [attr.action-arg]="actionArg"
7929
+ [attr.action-args]="JSON.stringify(actionArgs)"
7930
+ [attr.mt]="mt"
7931
+ [attr.mb]="mb"
7932
+ [attr.ml]="ml"
7933
+ [attr.mr]="mr"
7934
+ >
7935
+ <ng-content />
7936
+ </goa-link>
7937
+ `, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] }); }
7938
+ }
7939
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: GoabxLink, decorators: [{
7940
+ type: Component,
7941
+ args: [{
7942
+ standalone: true,
7943
+ selector: "goabx-link",
7944
+ template: `
7945
+ <goa-link
7946
+ *ngIf="isReady"
7947
+ [attr.leadingicon]="leadingIcon"
7948
+ [attr.trailingicon]="trailingIcon"
7949
+ [attr.testid]="testId"
7950
+ [attr.action]="action"
7951
+ [attr.color]="color"
7952
+ [attr.size]="size"
7953
+ [attr.action-arg]="actionArg"
7954
+ [attr.action-args]="JSON.stringify(actionArgs)"
7955
+ [attr.mt]="mt"
7956
+ [attr.mb]="mb"
7957
+ [attr.ml]="ml"
7958
+ [attr.mr]="mr"
7959
+ >
7960
+ <ng-content />
7961
+ </goa-link>
7962
+ `,
7963
+ imports: [CommonModule],
7964
+ schemas: [CUSTOM_ELEMENTS_SCHEMA],
7965
+ }]
7966
+ }], ctorParameters: () => [{ type: i0.ChangeDetectorRef }], propDecorators: { leadingIcon: [{
7967
+ type: Input
7968
+ }], trailingIcon: [{
7969
+ type: Input
7970
+ }], testId: [{
7971
+ type: Input
7972
+ }], action: [{
7973
+ type: Input
7974
+ }], color: [{
7975
+ type: Input
7976
+ }], size: [{
7977
+ type: Input
7978
+ }], actionArg: [{
7979
+ type: Input
7980
+ }], actionArgs: [{
7981
+ type: Input
7982
+ }], mt: [{
7983
+ type: Input
7984
+ }], mb: [{
7985
+ type: Input
7986
+ }], ml: [{
7987
+ type: Input
7988
+ }], mr: [{
7989
+ type: Input
7990
+ }] } });
7991
+
7992
+ class GoabxModal {
7993
+ constructor(cdr) {
7994
+ this.cdr = cdr;
7995
+ this.isReady = false;
7996
+ this.version = "2";
7997
+ this.closable = false;
7998
+ this.onClose = new EventEmitter();
7999
+ }
8000
+ ngOnInit() {
8001
+ // For Angular 20, we need to delay rendering the web component
8002
+ // to ensure all attributes are properly bound before the component initializes
8003
+ setTimeout(() => {
8004
+ this.isReady = true;
8005
+ this.cdr.detectChanges();
8006
+ }, 0);
8007
+ }
8008
+ getHeadingAsString() {
8009
+ return this.heading instanceof TemplateRef ? "" : this.heading;
8010
+ }
8011
+ getHeadingAsTemplate() {
8012
+ if (!this.heading)
8013
+ return null;
8014
+ return this.heading instanceof TemplateRef ? this.heading : null;
8015
+ }
8016
+ _onClose() {
8017
+ this.onClose.emit();
8018
+ }
8019
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: GoabxModal, deps: [{ token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component }); }
8020
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "20.3.16", type: GoabxModal, isStandalone: true, selector: "goabx-modal", inputs: { calloutVariant: "calloutVariant", open: ["open", "open", booleanAttribute], maxWidth: "maxWidth", closable: "closable", transition: "transition", testId: "testId", role: "role", heading: "heading", actions: "actions" }, outputs: { onClose: "onClose" }, ngImport: i0, template: `
8021
+ <goa-modal
8022
+ *ngIf="isReady"
8023
+ [attr.version]="version"
8024
+ [attr.calloutvariant]="calloutVariant"
8025
+ [attr.open]="open"
8026
+ [attr.maxwidth]="maxWidth"
8027
+ [attr.testid]="testId"
8028
+ [attr.role]="role"
8029
+ [attr.closable]="closable"
8030
+ [attr.transition]="transition"
8031
+ [attr.heading]="getHeadingAsString()"
8032
+ (_close)="_onClose()"
8033
+ >
8034
+ <div slot="heading">
8035
+ <ng-container *ngIf="this.heading !== '' && getHeadingAsTemplate() !== null" [ngTemplateOutlet]="getHeadingAsTemplate()"></ng-container>
8036
+ </div>
8037
+
8038
+ <ng-content></ng-content>
8039
+
8040
+ <div slot="actions">
8041
+ <ng-container *ngIf="this.actions" [ngTemplateOutlet]="actions"></ng-container>
8042
+ </div>
8043
+ </goa-modal>
8044
+ `, isInline: true, dependencies: [{ kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] }); }
8045
+ }
8046
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: GoabxModal, decorators: [{
8047
+ type: Component,
8048
+ args: [{
8049
+ standalone: true,
8050
+ selector: "goabx-modal",
8051
+ imports: [NgTemplateOutlet, CommonModule],
8052
+ template: `
8053
+ <goa-modal
8054
+ *ngIf="isReady"
8055
+ [attr.version]="version"
8056
+ [attr.calloutvariant]="calloutVariant"
8057
+ [attr.open]="open"
8058
+ [attr.maxwidth]="maxWidth"
8059
+ [attr.testid]="testId"
8060
+ [attr.role]="role"
8061
+ [attr.closable]="closable"
8062
+ [attr.transition]="transition"
8063
+ [attr.heading]="getHeadingAsString()"
8064
+ (_close)="_onClose()"
8065
+ >
8066
+ <div slot="heading">
8067
+ <ng-container *ngIf="this.heading !== '' && getHeadingAsTemplate() !== null" [ngTemplateOutlet]="getHeadingAsTemplate()"></ng-container>
8068
+ </div>
8069
+
8070
+ <ng-content></ng-content>
8071
+
8072
+ <div slot="actions">
8073
+ <ng-container *ngIf="this.actions" [ngTemplateOutlet]="actions"></ng-container>
8074
+ </div>
8075
+ </goa-modal>
8076
+ `,
8077
+ schemas: [CUSTOM_ELEMENTS_SCHEMA],
8078
+ }]
8079
+ }], ctorParameters: () => [{ type: i0.ChangeDetectorRef }], propDecorators: { calloutVariant: [{
8080
+ type: Input
8081
+ }], open: [{
8082
+ type: Input,
8083
+ args: [{ transform: booleanAttribute }]
8084
+ }], maxWidth: [{
8085
+ type: Input
8086
+ }], closable: [{
8087
+ type: Input
8088
+ }], transition: [{
8089
+ type: Input
8090
+ }], testId: [{
8091
+ type: Input
8092
+ }], role: [{
8093
+ type: Input
8094
+ }], heading: [{
8095
+ type: Input
8096
+ }], actions: [{
8097
+ type: Input
8098
+ }], onClose: [{
8099
+ type: Output
8100
+ }] } });
8101
+
8102
+ class GoabxNotification {
8103
+ constructor(cdr) {
8104
+ this.cdr = cdr;
8105
+ this.isReady = false;
8106
+ this.version = "2";
8107
+ this.type = "information";
8108
+ this.emphasis = "high";
8109
+ this.onDismiss = new EventEmitter();
8110
+ }
8111
+ ngOnInit() {
8112
+ setTimeout(() => {
8113
+ this.isReady = true;
8114
+ this.cdr.detectChanges();
8115
+ });
8116
+ }
8117
+ _onDismiss() {
8118
+ this.onDismiss.emit();
8119
+ }
8120
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: GoabxNotification, deps: [{ token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component }); }
8121
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "20.3.16", type: GoabxNotification, isStandalone: true, selector: "goabx-notification", inputs: { type: "type", ariaLive: "ariaLive", maxContentWidth: "maxContentWidth", emphasis: "emphasis", compact: ["compact", "compact", booleanAttribute], testId: "testId" }, outputs: { onDismiss: "onDismiss" }, ngImport: i0, template: `
8122
+ <goa-notification
8123
+ *ngIf="isReady"
8124
+ [attr.version]="version"
8125
+ [attr.type]="type"
8126
+ [attr.arialive]="ariaLive"
8127
+ [attr.maxcontentwidth]="maxContentWidth"
8128
+ [attr.emphasis]="emphasis"
8129
+ [attr.compact]="compact"
8130
+ [attr.testid]="testId"
8131
+ (_dismiss)="_onDismiss()"
8132
+ >
8133
+ <ng-content />
8134
+ </goa-notification>
8135
+ `, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] }); }
8136
+ }
8137
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: GoabxNotification, decorators: [{
8138
+ type: Component,
8139
+ args: [{
8140
+ standalone: true,
8141
+ selector: "goabx-notification",
8142
+ template: `
8143
+ <goa-notification
8144
+ *ngIf="isReady"
8145
+ [attr.version]="version"
8146
+ [attr.type]="type"
8147
+ [attr.arialive]="ariaLive"
8148
+ [attr.maxcontentwidth]="maxContentWidth"
8149
+ [attr.emphasis]="emphasis"
8150
+ [attr.compact]="compact"
8151
+ [attr.testid]="testId"
8152
+ (_dismiss)="_onDismiss()"
8153
+ >
8154
+ <ng-content />
8155
+ </goa-notification>
8156
+ `,
8157
+ imports: [CommonModule],
8158
+ schemas: [CUSTOM_ELEMENTS_SCHEMA],
8159
+ }]
8160
+ }], ctorParameters: () => [{ type: i0.ChangeDetectorRef }], propDecorators: { type: [{
8161
+ type: Input
8162
+ }], ariaLive: [{
8163
+ type: Input
8164
+ }], maxContentWidth: [{
8165
+ type: Input
8166
+ }], emphasis: [{
8167
+ type: Input
8168
+ }], compact: [{
8169
+ type: Input,
8170
+ args: [{ transform: booleanAttribute }]
8171
+ }], testId: [{
8172
+ type: Input
8173
+ }], onDismiss: [{
8174
+ type: Output
8175
+ }] } });
8176
+
8177
+ class GoabxPagination extends GoabBaseComponent {
8178
+ constructor(cdr) {
8179
+ super();
8180
+ this.cdr = cdr;
8181
+ this.isReady = false;
8182
+ this.version = "2";
8183
+ this.perPageCount = 10;
8184
+ this.variant = "all";
8185
+ this.onChange = new EventEmitter();
8186
+ }
8187
+ ngOnInit() {
8188
+ setTimeout(() => {
8189
+ this.isReady = true;
8190
+ this.cdr.detectChanges();
8191
+ });
8192
+ }
8193
+ _onChange(e) {
8194
+ const detail = e.detail;
8195
+ this.onChange.emit(detail);
8196
+ }
8197
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: GoabxPagination, deps: [{ token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component }); }
8198
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.16", type: GoabxPagination, isStandalone: true, selector: "goabx-pagination", inputs: { itemCount: "itemCount", pageNumber: "pageNumber", perPageCount: "perPageCount", variant: "variant" }, outputs: { onChange: "onChange" }, usesInheritance: true, ngImport: i0, template: `
8199
+ <goa-pagination
8200
+ *ngIf="isReady"
8201
+ [attr.version]="version"
8202
+ [attr.itemcount]="itemCount"
8203
+ [attr.perpagecount]="perPageCount"
8204
+ [attr.pagenumber]="pageNumber"
8205
+ [attr.variant]="variant"
8206
+ [attr.testid]="testId"
8207
+ [attr.mt]="mt"
8208
+ [attr.mb]="mb"
8209
+ [attr.ml]="ml"
8210
+ [attr.mr]="mr"
8211
+ (_change)="_onChange($event)"
8212
+ >
8213
+ </goa-pagination>
8214
+ `, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] }); }
8215
+ }
8216
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: GoabxPagination, decorators: [{
8217
+ type: Component,
8218
+ args: [{
8219
+ standalone: true,
8220
+ selector: "goabx-pagination",
8221
+ template: `
8222
+ <goa-pagination
8223
+ *ngIf="isReady"
8224
+ [attr.version]="version"
8225
+ [attr.itemcount]="itemCount"
8226
+ [attr.perpagecount]="perPageCount"
8227
+ [attr.pagenumber]="pageNumber"
8228
+ [attr.variant]="variant"
8229
+ [attr.testid]="testId"
8230
+ [attr.mt]="mt"
8231
+ [attr.mb]="mb"
8232
+ [attr.ml]="ml"
8233
+ [attr.mr]="mr"
8234
+ (_change)="_onChange($event)"
8235
+ >
8236
+ </goa-pagination>
8237
+ `,
8238
+ imports: [CommonModule],
8239
+ schemas: [CUSTOM_ELEMENTS_SCHEMA],
8240
+ }]
8241
+ }], ctorParameters: () => [{ type: i0.ChangeDetectorRef }], propDecorators: { itemCount: [{
8242
+ type: Input,
8243
+ args: [{ required: true }]
8244
+ }], pageNumber: [{
8245
+ type: Input,
8246
+ args: [{ required: true }]
8247
+ }], perPageCount: [{
8248
+ type: Input
8249
+ }], variant: [{
8250
+ type: Input
8251
+ }], onChange: [{
8252
+ type: Output
8253
+ }] } });
8254
+
8255
+ class GoabxRadioGroup extends GoabControlValueAccessor {
8256
+ constructor(cdr, renderer) {
8257
+ super(renderer);
8258
+ this.cdr = cdr;
8259
+ this.isReady = false;
8260
+ this.version = "2";
8261
+ this.size = "default";
8262
+ this.onChange = new EventEmitter();
8263
+ }
8264
+ ngOnInit() {
8265
+ setTimeout(() => {
8266
+ this.isReady = true;
8267
+ this.cdr.detectChanges();
8268
+ });
8269
+ }
8270
+ _onChange(e) {
8271
+ const detail = { ...e.detail, event: e };
8272
+ this.markAsTouched();
8273
+ this.onChange.emit(detail);
8274
+ this.fcChange?.(detail.value);
8275
+ }
8276
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: GoabxRadioGroup, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Component }); }
8277
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.16", type: GoabxRadioGroup, isStandalone: true, selector: "goabx-radio-group", inputs: { name: "name", orientation: "orientation", ariaLabel: "ariaLabel", size: "size" }, outputs: { onChange: "onChange" }, providers: [
8278
+ {
8279
+ provide: NG_VALUE_ACCESSOR,
8280
+ multi: true,
8281
+ useExisting: forwardRef(() => GoabxRadioGroup),
8282
+ },
8283
+ ], usesInheritance: true, ngImport: i0, template: `
8284
+ <goa-radio-group
8285
+ #goaComponentRef
8286
+ *ngIf="isReady"
8287
+ [attr.version]="version"
8288
+ [attr.name]="name"
8289
+ [attr.value]="value"
8290
+ [disabled]="disabled"
8291
+ [attr.orientation]="orientation"
8292
+ [attr.error]="error"
8293
+ [attr.arialabel]="ariaLabel"
8294
+ [attr.size]="size"
8295
+ [id]="id"
8296
+ [attr.testid]="testId"
8297
+ [attr.mt]="mt"
8298
+ [attr.mb]="mb"
8299
+ [attr.ml]="ml"
8300
+ [attr.mr]="mr"
8301
+ (_change)="_onChange($event)"
8302
+ >
8303
+ <ng-content />
8304
+ </goa-radio-group>
8305
+ `, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] }); }
8306
+ }
8307
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: GoabxRadioGroup, decorators: [{
8308
+ type: Component,
8309
+ args: [{
8310
+ standalone: true,
8311
+ selector: "goabx-radio-group",
8312
+ template: `
8313
+ <goa-radio-group
8314
+ #goaComponentRef
8315
+ *ngIf="isReady"
8316
+ [attr.version]="version"
8317
+ [attr.name]="name"
8318
+ [attr.value]="value"
8319
+ [disabled]="disabled"
8320
+ [attr.orientation]="orientation"
8321
+ [attr.error]="error"
8322
+ [attr.arialabel]="ariaLabel"
8323
+ [attr.size]="size"
8324
+ [id]="id"
8325
+ [attr.testid]="testId"
8326
+ [attr.mt]="mt"
8327
+ [attr.mb]="mb"
8328
+ [attr.ml]="ml"
8329
+ [attr.mr]="mr"
8330
+ (_change)="_onChange($event)"
8331
+ >
8332
+ <ng-content />
8333
+ </goa-radio-group>
8334
+ `,
8335
+ imports: [CommonModule],
8336
+ schemas: [CUSTOM_ELEMENTS_SCHEMA],
8337
+ providers: [
8338
+ {
8339
+ provide: NG_VALUE_ACCESSOR,
8340
+ multi: true,
8341
+ useExisting: forwardRef(() => GoabxRadioGroup),
8342
+ },
8343
+ ],
8344
+ }]
8345
+ }], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.Renderer2 }], propDecorators: { name: [{
8346
+ type: Input
8347
+ }], orientation: [{
8348
+ type: Input
8349
+ }], ariaLabel: [{
8350
+ type: Input
8351
+ }], size: [{
8352
+ type: Input
8353
+ }], onChange: [{
8354
+ type: Output
8355
+ }] } });
8356
+
8357
+ class GoabxRadioItem extends GoabBaseComponent {
8358
+ constructor(cdr) {
8359
+ super();
8360
+ this.cdr = cdr;
8361
+ this.isReady = false;
8362
+ this.version = "2";
8363
+ }
8364
+ ngOnInit() {
8365
+ // For Angular 20, we need to delay rendering the web component
8366
+ // to ensure all attributes are properly bound before the component initializes
8367
+ setTimeout(() => {
8368
+ this.isReady = true;
8369
+ this.cdr.detectChanges();
8370
+ }, 0);
8371
+ }
8372
+ getDescriptionAsString() {
8373
+ return !this.description || this.description instanceof TemplateRef
8374
+ ? ""
8375
+ : this.description;
8376
+ }
8377
+ getDescriptionAsTemplate() {
8378
+ if (!this.description)
8379
+ return null;
8380
+ return this.description instanceof TemplateRef ? this.description : null;
8381
+ }
8382
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: GoabxRadioItem, deps: [{ token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component }); }
8383
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "20.3.16", type: GoabxRadioItem, isStandalone: true, selector: "goabx-radio-item", inputs: { value: "value", label: "label", name: "name", description: "description", reveal: "reveal", ariaLabel: "ariaLabel", revealAriaLabel: "revealAriaLabel", disabled: ["disabled", "disabled", booleanAttribute], checked: ["checked", "checked", booleanAttribute], error: ["error", "error", booleanAttribute], maxWidth: "maxWidth", compact: ["compact", "compact", booleanAttribute] }, usesInheritance: true, ngImport: i0, template: `
8384
+ <goa-radio-item
8385
+ *ngIf="isReady"
8386
+ [attr.version]="version"
8387
+ [attr.name]="name"
8388
+ [attr.value]="value"
8389
+ [attr.label]="label"
8390
+ [attr.description]="getDescriptionAsString()"
8391
+ [attr.arialabel]="ariaLabel"
8392
+ [attr.revealarialabel]="revealAriaLabel"
8393
+ [disabled]="disabled"
8394
+ [attr.compact]="compact"
8395
+ [attr.maxwidth]="maxWidth"
8396
+ [attr.checked]="checked"
8397
+ [attr.error]="error"
8398
+ [attr.mt]="mt"
8399
+ [attr.mb]="mb"
8400
+ [attr.ml]="ml"
8401
+ [attr.mr]="mr"
8402
+ >
8403
+ <ng-content />
8404
+ <div slot="description">
8405
+ <ng-container [ngTemplateOutlet]="getDescriptionAsTemplate()"></ng-container>
8406
+ </div>
8407
+ <div slot="reveal">
8408
+ <ng-container *ngIf="this.reveal" [ngTemplateOutlet]="reveal"></ng-container>
8409
+ </div>
8410
+ </goa-radio-item>
8411
+ `, isInline: true, dependencies: [{ kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] }); }
8412
+ }
8413
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: GoabxRadioItem, decorators: [{
8414
+ type: Component,
8415
+ args: [{
8416
+ standalone: true,
8417
+ selector: "goabx-radio-item",
8418
+ template: `
8419
+ <goa-radio-item
8420
+ *ngIf="isReady"
8421
+ [attr.version]="version"
8422
+ [attr.name]="name"
8423
+ [attr.value]="value"
8424
+ [attr.label]="label"
8425
+ [attr.description]="getDescriptionAsString()"
8426
+ [attr.arialabel]="ariaLabel"
8427
+ [attr.revealarialabel]="revealAriaLabel"
8428
+ [disabled]="disabled"
8429
+ [attr.compact]="compact"
8430
+ [attr.maxwidth]="maxWidth"
8431
+ [attr.checked]="checked"
8432
+ [attr.error]="error"
8433
+ [attr.mt]="mt"
8434
+ [attr.mb]="mb"
8435
+ [attr.ml]="ml"
8436
+ [attr.mr]="mr"
8437
+ >
8438
+ <ng-content />
8439
+ <div slot="description">
8440
+ <ng-container [ngTemplateOutlet]="getDescriptionAsTemplate()"></ng-container>
8441
+ </div>
8442
+ <div slot="reveal">
8443
+ <ng-container *ngIf="this.reveal" [ngTemplateOutlet]="reveal"></ng-container>
8444
+ </div>
8445
+ </goa-radio-item>
8446
+ `,
8447
+ imports: [NgTemplateOutlet, CommonModule],
8448
+ schemas: [CUSTOM_ELEMENTS_SCHEMA],
8449
+ }]
8450
+ }], ctorParameters: () => [{ type: i0.ChangeDetectorRef }], propDecorators: { value: [{
8451
+ type: Input
8452
+ }], label: [{
8453
+ type: Input
8454
+ }], name: [{
8455
+ type: Input
8456
+ }], description: [{
8457
+ type: Input
8458
+ }], reveal: [{
8459
+ type: Input
8460
+ }], ariaLabel: [{
8461
+ type: Input
8462
+ }], revealAriaLabel: [{
8463
+ type: Input
8464
+ }], disabled: [{
8465
+ type: Input,
8466
+ args: [{ transform: booleanAttribute }]
8467
+ }], checked: [{
8468
+ type: Input,
8469
+ args: [{ transform: booleanAttribute }]
8470
+ }], error: [{
8471
+ type: Input,
8472
+ args: [{ transform: booleanAttribute }]
8473
+ }], maxWidth: [{
8474
+ type: Input
8475
+ }], compact: [{
8476
+ type: Input,
8477
+ args: [{ transform: booleanAttribute }]
8478
+ }] } });
8479
+
8480
+ class GoabxSideMenu {
8481
+ constructor(cdr) {
8482
+ this.cdr = cdr;
8483
+ this.isReady = false;
8484
+ this.version = "2";
8485
+ }
8486
+ ngOnInit() {
8487
+ setTimeout(() => {
8488
+ this.isReady = true;
8489
+ this.cdr.detectChanges();
8490
+ });
8491
+ }
8492
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: GoabxSideMenu, deps: [{ token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component }); }
8493
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.16", type: GoabxSideMenu, isStandalone: true, selector: "goabx-side-menu", inputs: { testId: "testId" }, ngImport: i0, template: `
8494
+ <goa-side-menu
8495
+ *ngIf="isReady"
8496
+ [attr.version]="version"
8497
+ [attr.testid]="testId"
8498
+ >
8499
+ <ng-content />
8500
+ </goa-side-menu>
8501
+ `, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] }); }
8502
+ }
8503
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: GoabxSideMenu, decorators: [{
8504
+ type: Component,
8505
+ args: [{
8506
+ standalone: true,
8507
+ selector: "goabx-side-menu",
8508
+ template: `
8509
+ <goa-side-menu
8510
+ *ngIf="isReady"
8511
+ [attr.version]="version"
8512
+ [attr.testid]="testId"
8513
+ >
8514
+ <ng-content />
8515
+ </goa-side-menu>
8516
+ `,
8517
+ imports: [CommonModule],
8518
+ schemas: [CUSTOM_ELEMENTS_SCHEMA]
8519
+ }]
8520
+ }], ctorParameters: () => [{ type: i0.ChangeDetectorRef }], propDecorators: { testId: [{
8521
+ type: Input
8522
+ }] } });
8523
+
8524
+ class GoabxSideMenuGroup extends GoabBaseComponent {
8525
+ constructor(cdr) {
8526
+ super();
8527
+ this.cdr = cdr;
8528
+ this.isReady = false;
8529
+ this.version = "2";
8530
+ }
8531
+ ngOnInit() {
8532
+ setTimeout(() => {
8533
+ this.isReady = true;
8534
+ this.cdr.detectChanges();
8535
+ });
8536
+ }
8537
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: GoabxSideMenuGroup, deps: [{ token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component }); }
8538
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.16", type: GoabxSideMenuGroup, isStandalone: true, selector: "goabx-side-menu-group", inputs: { heading: "heading", icon: "icon" }, usesInheritance: true, ngImport: i0, template: `
8539
+ <goa-side-menu-group
8540
+ *ngIf="isReady"
8541
+ [attr.version]="version"
8542
+ [attr.heading]="heading"
8543
+ [attr.testid]="testId"
8544
+ [attr.icon]="icon"
8545
+ [attr.mt]="mt"
8546
+ [attr.mb]="mb"
8547
+ [attr.ml]="ml"
8548
+ [attr.mr]="mr"
8549
+ >
8550
+ <ng-content />
8551
+ </goa-side-menu-group>
8552
+ `, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] }); }
8553
+ }
8554
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: GoabxSideMenuGroup, decorators: [{
8555
+ type: Component,
8556
+ args: [{
8557
+ standalone: true,
8558
+ selector: "goabx-side-menu-group",
8559
+ template: `
8560
+ <goa-side-menu-group
8561
+ *ngIf="isReady"
8562
+ [attr.version]="version"
8563
+ [attr.heading]="heading"
8564
+ [attr.testid]="testId"
8565
+ [attr.icon]="icon"
8566
+ [attr.mt]="mt"
8567
+ [attr.mb]="mb"
8568
+ [attr.ml]="ml"
8569
+ [attr.mr]="mr"
8570
+ >
8571
+ <ng-content />
8572
+ </goa-side-menu-group>
8573
+ `,
8574
+ imports: [CommonModule],
8575
+ schemas: [CUSTOM_ELEMENTS_SCHEMA],
8576
+ }]
8577
+ }], ctorParameters: () => [{ type: i0.ChangeDetectorRef }], propDecorators: { heading: [{
8578
+ type: Input,
8579
+ args: [{ required: true }]
8580
+ }], icon: [{
8581
+ type: Input
8582
+ }] } });
8583
+
8584
+ class GoabxSideMenuHeading {
8585
+ constructor(cdr) {
8586
+ this.cdr = cdr;
8587
+ this.isReady = false;
8588
+ this.version = "2";
8589
+ }
8590
+ ngOnInit() {
8591
+ setTimeout(() => {
8592
+ this.isReady = true;
8593
+ this.cdr.detectChanges();
8594
+ });
8595
+ }
8596
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: GoabxSideMenuHeading, deps: [{ token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component }); }
8597
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.16", type: GoabxSideMenuHeading, isStandalone: true, selector: "goabx-side-menu-heading", inputs: { icon: "icon", testId: "testId", meta: "meta" }, ngImport: i0, template: `
8598
+ <goa-side-menu-heading
8599
+ *ngIf="isReady"
8600
+ [attr.version]="version"
8601
+ [attr.testid]="testId"
8602
+ [attr.icon]="icon"
8603
+ >
8604
+ <ng-content />
8605
+ <span slot="meta">
8606
+ <ng-container [ngTemplateOutlet]="meta"></ng-container>
8607
+ </span>
8608
+ </goa-side-menu-heading>
8609
+ `, isInline: true, dependencies: [{ kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] }); }
8610
+ }
8611
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: GoabxSideMenuHeading, decorators: [{
8612
+ type: Component,
8613
+ args: [{
8614
+ standalone: true,
8615
+ selector: "goabx-side-menu-heading",
8616
+ imports: [NgTemplateOutlet, CommonModule],
8617
+ template: `
8618
+ <goa-side-menu-heading
8619
+ *ngIf="isReady"
8620
+ [attr.version]="version"
8621
+ [attr.testid]="testId"
8622
+ [attr.icon]="icon"
8623
+ >
8624
+ <ng-content />
8625
+ <span slot="meta">
8626
+ <ng-container [ngTemplateOutlet]="meta"></ng-container>
8627
+ </span>
8628
+ </goa-side-menu-heading>
8629
+ `,
8630
+ schemas: [CUSTOM_ELEMENTS_SCHEMA],
8631
+ }]
8632
+ }], ctorParameters: () => [{ type: i0.ChangeDetectorRef }], propDecorators: { icon: [{
8633
+ type: Input
8634
+ }], testId: [{
8635
+ type: Input
8636
+ }], meta: [{
8637
+ type: Input
8638
+ }] } });
8639
+
8640
+ class GoabxTable extends GoabBaseComponent {
8641
+ constructor(cdr) {
8642
+ super();
8643
+ this.cdr = cdr;
8644
+ this.isReady = false;
8645
+ this.version = "2";
8646
+ this.onSort = new EventEmitter();
8647
+ }
8648
+ ngOnInit() {
8649
+ setTimeout(() => {
8650
+ this.isReady = true;
8651
+ this.cdr.detectChanges();
8652
+ });
8653
+ }
8654
+ _onSort(e) {
8655
+ const detail = e.detail;
8656
+ this.onSort.emit(detail);
8657
+ }
8658
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: GoabxTable, deps: [{ token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component }); }
8659
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "20.3.16", type: GoabxTable, isStandalone: true, selector: "goabx-table", inputs: { width: "width", variant: "variant", striped: ["striped", "striped", booleanAttribute] }, outputs: { onSort: "onSort" }, usesInheritance: true, ngImport: i0, template: `
8660
+ <goa-table
8661
+ *ngIf="isReady"
8662
+ [attr.version]="version"
8663
+ [attr.width]="width"
8664
+ [attr.variant]="variant"
8665
+ [attr.striped]="striped"
8666
+ [attr.testid]="testId"
8667
+ [attr.mt]="mt"
8668
+ [attr.mb]="mb"
8669
+ [attr.ml]="ml"
8670
+ [attr.mr]="mr"
8671
+ (_sort)="_onSort($event)"
8672
+ >
8673
+ <table style="width: 100%;">
8674
+ <ng-content />
8675
+ </table>
8676
+ </goa-table>
8677
+ `, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] }); }
8678
+ }
8679
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: GoabxTable, decorators: [{
8680
+ type: Component,
8681
+ args: [{
8682
+ standalone: true,
8683
+ selector: "goabx-table",
8684
+ template: `
8685
+ <goa-table
8686
+ *ngIf="isReady"
8687
+ [attr.version]="version"
8688
+ [attr.width]="width"
8689
+ [attr.variant]="variant"
8690
+ [attr.striped]="striped"
8691
+ [attr.testid]="testId"
8692
+ [attr.mt]="mt"
8693
+ [attr.mb]="mb"
8694
+ [attr.ml]="ml"
8695
+ [attr.mr]="mr"
8696
+ (_sort)="_onSort($event)"
8697
+ >
8698
+ <table style="width: 100%;">
8699
+ <ng-content />
8700
+ </table>
8701
+ </goa-table>
8702
+ `,
8703
+ imports: [CommonModule],
8704
+ schemas: [CUSTOM_ELEMENTS_SCHEMA],
8705
+ }]
8706
+ }], ctorParameters: () => [{ type: i0.ChangeDetectorRef }], propDecorators: { width: [{
8707
+ type: Input
8708
+ }], variant: [{
8709
+ type: Input
8710
+ }], striped: [{
8711
+ type: Input,
8712
+ args: [{ transform: booleanAttribute }]
8713
+ }], onSort: [{
8714
+ type: Output
8715
+ }] } });
8716
+
8717
+ class GoabxTextArea extends GoabControlValueAccessor {
8718
+ constructor(cdr, renderer) {
8719
+ super(renderer);
8720
+ this.cdr = cdr;
8721
+ this.countBy = "";
8722
+ this.maxCount = -1;
8723
+ this.autoComplete = "on";
8724
+ this.size = "default";
8725
+ this.onChange = new EventEmitter();
8726
+ this.onKeyPress = new EventEmitter();
8727
+ this.onBlur = new EventEmitter();
8728
+ this.isReady = false;
8729
+ this.version = "2";
8730
+ }
8731
+ ngOnInit() {
8732
+ // For Angular 20, we need to delay rendering the web component
8733
+ // to ensure all attributes are properly bound before the component initializes
8734
+ setTimeout(() => {
8735
+ this.isReady = true;
8736
+ this.cdr.detectChanges();
8737
+ }, 0);
8738
+ }
8739
+ _onChange(e) {
8740
+ const detail = { ...e.detail, event: e };
8741
+ this.onChange.emit(detail);
8742
+ this.markAsTouched();
8743
+ this.fcChange?.(detail.value);
8744
+ }
8745
+ _onKeyPress(e) {
8746
+ const detail = { ...e.detail, event: e };
8747
+ this.markAsTouched();
8748
+ this.onKeyPress.emit(detail);
8749
+ }
8750
+ _onBlur(e) {
8751
+ const detail = { ...e.detail, event: e };
8752
+ this.markAsTouched();
8753
+ this.onBlur.emit(detail);
8754
+ }
8755
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: GoabxTextArea, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Component }); }
8756
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "20.3.16", type: GoabxTextArea, isStandalone: true, selector: "goabx-textarea", inputs: { name: "name", placeholder: "placeholder", rows: ["rows", "rows", numberAttribute], readOnly: ["readOnly", "readOnly", booleanAttribute], width: "width", ariaLabel: "ariaLabel", countBy: "countBy", maxCount: "maxCount", maxWidth: "maxWidth", autoComplete: "autoComplete", size: "size" }, outputs: { onChange: "onChange", onKeyPress: "onKeyPress", onBlur: "onBlur" }, providers: [
8757
+ {
8758
+ provide: NG_VALUE_ACCESSOR,
8759
+ multi: true,
8760
+ useExisting: forwardRef(() => GoabxTextArea),
8761
+ },
8762
+ ], usesInheritance: true, ngImport: i0, template: `
8763
+ <goa-textarea
8764
+ #goaComponentRef
8765
+ *ngIf="isReady"
8766
+ [attr.version]="version"
8767
+ [attr.name]="name"
8768
+ [attr.value]="value"
8769
+ [attr.placeholder]="placeholder"
8770
+ [attr.rows]="rows"
8771
+ [attr.error]="error"
8772
+ [disabled]="disabled"
8773
+ [attr.readonly]="readOnly"
8774
+ [attr.width]="width"
8775
+ [attr.maxwidth]="maxWidth"
8776
+ [attr.arialabel]="ariaLabel"
8777
+ [attr.countby]="countBy"
8778
+ [attr.maxcount]="maxCount"
8779
+ [attr.autocomplete]="autoComplete"
8780
+ [attr.size]="size"
8781
+ [attr.testid]="testId"
8782
+ [attr.mt]="mt"
8783
+ [attr.mb]="mb"
8784
+ [attr.ml]="ml"
8785
+ [attr.mr]="mr"
8786
+ (_change)="_onChange($event)"
8787
+ (_keyPress)="_onKeyPress($event)"
8788
+ (_blur)="_onBlur($event)"
8789
+ >
8790
+ </goa-textarea>
8791
+ `, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] }); }
8792
+ }
8793
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: GoabxTextArea, decorators: [{
8794
+ type: Component,
8795
+ args: [{
8796
+ standalone: true,
8797
+ selector: "goabx-textarea",
8798
+ imports: [CommonModule],
8799
+ template: `
8800
+ <goa-textarea
8801
+ #goaComponentRef
8802
+ *ngIf="isReady"
8803
+ [attr.version]="version"
8804
+ [attr.name]="name"
8805
+ [attr.value]="value"
8806
+ [attr.placeholder]="placeholder"
8807
+ [attr.rows]="rows"
8808
+ [attr.error]="error"
8809
+ [disabled]="disabled"
8810
+ [attr.readonly]="readOnly"
8811
+ [attr.width]="width"
8812
+ [attr.maxwidth]="maxWidth"
8813
+ [attr.arialabel]="ariaLabel"
8814
+ [attr.countby]="countBy"
8815
+ [attr.maxcount]="maxCount"
8816
+ [attr.autocomplete]="autoComplete"
8817
+ [attr.size]="size"
8818
+ [attr.testid]="testId"
8819
+ [attr.mt]="mt"
8820
+ [attr.mb]="mb"
8821
+ [attr.ml]="ml"
8822
+ [attr.mr]="mr"
8823
+ (_change)="_onChange($event)"
8824
+ (_keyPress)="_onKeyPress($event)"
8825
+ (_blur)="_onBlur($event)"
8826
+ >
8827
+ </goa-textarea>
8828
+ `,
8829
+ schemas: [CUSTOM_ELEMENTS_SCHEMA],
8830
+ providers: [
8831
+ {
8832
+ provide: NG_VALUE_ACCESSOR,
8833
+ multi: true,
8834
+ useExisting: forwardRef(() => GoabxTextArea),
8835
+ },
8836
+ ],
8837
+ }]
8838
+ }], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.Renderer2 }], propDecorators: { name: [{
8839
+ type: Input
8840
+ }], placeholder: [{
8841
+ type: Input
8842
+ }], rows: [{
8843
+ type: Input,
8844
+ args: [{ transform: numberAttribute }]
8845
+ }], readOnly: [{
8846
+ type: Input,
8847
+ args: [{ transform: booleanAttribute }]
8848
+ }], width: [{
8849
+ type: Input
8850
+ }], ariaLabel: [{
8851
+ type: Input
8852
+ }], countBy: [{
8853
+ type: Input
8854
+ }], maxCount: [{
8855
+ type: Input
8856
+ }], maxWidth: [{
8857
+ type: Input
8858
+ }], autoComplete: [{
8859
+ type: Input
8860
+ }], size: [{
8861
+ type: Input
8862
+ }], onChange: [{
8863
+ type: Output
8864
+ }], onKeyPress: [{
8865
+ type: Output
8866
+ }], onBlur: [{
8867
+ type: Output
8868
+ }] } });
8869
+
8870
+ class GoabxTabs {
8871
+ constructor(cdr) {
8872
+ this.cdr = cdr;
8873
+ this.isReady = false;
8874
+ this.version = "2";
8875
+ this.onChange = new EventEmitter();
8876
+ }
8877
+ ngOnInit() {
8878
+ setTimeout(() => {
8879
+ this.isReady = true;
8880
+ this.cdr.detectChanges();
8881
+ });
8882
+ }
8883
+ _onChange(e) {
8884
+ const detail = e.detail;
8885
+ this.onChange.emit(detail);
8886
+ }
8887
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: GoabxTabs, deps: [{ token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component }); }
8888
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "20.3.16", type: GoabxTabs, isStandalone: true, selector: "goabx-tabs", inputs: { initialTab: ["initialTab", "initialTab", numberAttribute], testId: "testId", variant: "variant" }, outputs: { onChange: "onChange" }, ngImport: i0, template: `
8889
+ <goa-tabs
8890
+ *ngIf="isReady"
8891
+ [attr.version]="version"
8892
+ [attr.initialtab]="initialTab"
8893
+ [attr.testid]="testId"
8894
+ [attr.variant]="variant"
8895
+ (_change)="_onChange($event)"
8896
+ >
8897
+ <ng-content />
8898
+ </goa-tabs>
8899
+ `, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] }); }
8900
+ }
8901
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: GoabxTabs, decorators: [{
8902
+ type: Component,
8903
+ args: [{
8904
+ standalone: true,
8905
+ selector: "goabx-tabs",
8906
+ template: `
8907
+ <goa-tabs
8908
+ *ngIf="isReady"
8909
+ [attr.version]="version"
8910
+ [attr.initialtab]="initialTab"
8911
+ [attr.testid]="testId"
8912
+ [attr.variant]="variant"
8913
+ (_change)="_onChange($event)"
8914
+ >
8915
+ <ng-content />
8916
+ </goa-tabs>
8917
+ `,
8918
+ imports: [CommonModule],
8919
+ schemas: [CUSTOM_ELEMENTS_SCHEMA],
8920
+ }]
8921
+ }], ctorParameters: () => [{ type: i0.ChangeDetectorRef }], propDecorators: { initialTab: [{
8922
+ type: Input,
8923
+ args: [{ transform: numberAttribute }]
8924
+ }], testId: [{
8925
+ type: Input
8926
+ }], variant: [{
8927
+ type: Input
8928
+ }], onChange: [{
8929
+ type: Output
8930
+ }] } });
8931
+
8932
+ class GoabxWorkSideMenu {
8933
+ constructor(cdr) {
8934
+ this.cdr = cdr;
8935
+ this.onToggle = new EventEmitter();
8936
+ this.isReady = false;
8937
+ }
8938
+ ngOnInit() {
8939
+ // For Angular 20, we need to delay rendering the web component
8940
+ // to ensure all attributes are properly bound before the component initializes
8941
+ setTimeout(() => {
8942
+ this.isReady = true;
8943
+ this.cdr.detectChanges();
8944
+ }, 0);
8945
+ }
8946
+ _onToggle() {
8947
+ this.onToggle.emit();
8948
+ }
8949
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: GoabxWorkSideMenu, deps: [{ token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component }); }
8950
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "20.3.16", type: GoabxWorkSideMenu, isStandalone: true, selector: "goabx-work-side-menu", inputs: { heading: "heading", url: "url", userName: "userName", userSecondaryText: "userSecondaryText", open: ["open", "open", booleanAttribute], testId: "testId", primaryContent: "primaryContent", secondaryContent: "secondaryContent", accountContent: "accountContent" }, outputs: { onToggle: "onToggle" }, ngImport: i0, template: `
8951
+ <goa-work-side-menu
8952
+ *ngIf="isReady"
8953
+ [open]="open ?? false"
8954
+ [attr.heading]="heading"
8955
+ [attr.url]="url"
8956
+ [attr.user-name]="userName"
8957
+ [attr.user-secondary-text]="userSecondaryText"
8958
+ [attr.testid]="testId"
8959
+ (_toggle)="_onToggle()"
8960
+ >
8961
+ <div slot="primary">
8962
+ <ng-container [ngTemplateOutlet]="primaryContent"></ng-container>
8963
+ </div>
8964
+ <div slot="secondary">
8965
+ <ng-container [ngTemplateOutlet]="secondaryContent"></ng-container>
8966
+ </div>
8967
+ <div slot="account">
8968
+ <ng-container [ngTemplateOutlet]="accountContent"></ng-container>
8969
+ </div>
8970
+ </goa-work-side-menu>
8971
+ `, isInline: true, dependencies: [{ kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] }); }
8972
+ }
8973
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: GoabxWorkSideMenu, decorators: [{
8974
+ type: Component,
8975
+ args: [{
8976
+ standalone: true,
8977
+ selector: "goabx-work-side-menu", // eslint-disable-line
8978
+ imports: [NgTemplateOutlet, CommonModule],
8979
+ template: `
8980
+ <goa-work-side-menu
8981
+ *ngIf="isReady"
8982
+ [open]="open ?? false"
8983
+ [attr.heading]="heading"
8984
+ [attr.url]="url"
8985
+ [attr.user-name]="userName"
8986
+ [attr.user-secondary-text]="userSecondaryText"
8987
+ [attr.testid]="testId"
8988
+ (_toggle)="_onToggle()"
8989
+ >
8990
+ <div slot="primary">
8991
+ <ng-container [ngTemplateOutlet]="primaryContent"></ng-container>
8992
+ </div>
8993
+ <div slot="secondary">
8994
+ <ng-container [ngTemplateOutlet]="secondaryContent"></ng-container>
8995
+ </div>
8996
+ <div slot="account">
8997
+ <ng-container [ngTemplateOutlet]="accountContent"></ng-container>
8998
+ </div>
8999
+ </goa-work-side-menu>
9000
+ `,
9001
+ schemas: [CUSTOM_ELEMENTS_SCHEMA],
9002
+ }]
9003
+ }], ctorParameters: () => [{ type: i0.ChangeDetectorRef }], propDecorators: { heading: [{
9004
+ type: Input,
9005
+ args: [{ required: true }]
9006
+ }], url: [{
9007
+ type: Input,
9008
+ args: [{ required: true }]
9009
+ }], userName: [{
9010
+ type: Input
9011
+ }], userSecondaryText: [{
9012
+ type: Input
9013
+ }], open: [{
9014
+ type: Input,
9015
+ args: [{ transform: booleanAttribute }]
9016
+ }], testId: [{
9017
+ type: Input
9018
+ }], primaryContent: [{
9019
+ type: Input
9020
+ }], secondaryContent: [{
9021
+ type: Input
9022
+ }], accountContent: [{
9023
+ type: Input
9024
+ }], onToggle: [{
9025
+ type: Output
9026
+ }] } });
9027
+
9028
+ class GoabxWorkSideMenuItem {
9029
+ constructor(cdr) {
9030
+ this.cdr = cdr;
9031
+ this.type = "normal";
9032
+ this.isReady = false;
9033
+ }
9034
+ ngOnInit() {
9035
+ // For Angular 20, we need to delay rendering the web component
9036
+ // to ensure all attributes are properly bound before the component initializes
9037
+ setTimeout(() => {
9038
+ this.isReady = true;
9039
+ this.cdr.detectChanges();
9040
+ }, 0);
9041
+ }
9042
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: GoabxWorkSideMenuItem, deps: [{ token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component }); }
9043
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.16", type: GoabxWorkSideMenuItem, isStandalone: true, selector: "goabx-work-side-menu-item", inputs: { label: "label", url: "url", badge: "badge", current: "current", divider: "divider", icon: "icon", testId: "testId", type: "type" }, ngImport: i0, template: `
9044
+ <goa-work-side-menu-item
9045
+ *ngIf="isReady"
9046
+ [attr.label]="label"
9047
+ [attr.url]="url"
9048
+ [attr.badge]="badge"
9049
+ [attr.current]="current"
9050
+ [attr.divider]="divider"
9051
+ [attr.icon]="icon"
6142
9052
  [attr.testid]="testId"
6143
9053
  [attr.type]="type"
6144
9054
  >
@@ -6189,9 +9099,62 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImpo
6189
9099
  type: Input
6190
9100
  }] } });
6191
9101
 
9102
+ class GoabxWorkSideMenuGroup {
9103
+ constructor(cdr) {
9104
+ this.cdr = cdr;
9105
+ this.isReady = false;
9106
+ }
9107
+ ngOnInit() {
9108
+ // For Angular 20, we need to delay rendering the web component
9109
+ // to ensure all attributes are properly bound before the component initializes
9110
+ setTimeout(() => {
9111
+ this.isReady = true;
9112
+ this.cdr.detectChanges();
9113
+ }, 0);
9114
+ }
9115
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: GoabxWorkSideMenuGroup, deps: [{ token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component }); }
9116
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.16", type: GoabxWorkSideMenuGroup, isStandalone: true, selector: "goabx-work-side-menu-group", inputs: { heading: "heading", icon: "icon", testId: "testId" }, ngImport: i0, template: `
9117
+ <goa-work-side-menu-group
9118
+ *ngIf="isReady"
9119
+ [attr.heading]="heading"
9120
+ [attr.icon]="icon"
9121
+ [attr.testid]="testId"
9122
+ >
9123
+ <ng-content />
9124
+ </goa-work-side-menu-group>
9125
+ `, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] }); }
9126
+ }
9127
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: GoabxWorkSideMenuGroup, decorators: [{
9128
+ type: Component,
9129
+ args: [{
9130
+ standalone: true,
9131
+ selector: "goabx-work-side-menu-group", // eslint-disable-line
9132
+ imports: [CommonModule],
9133
+ template: `
9134
+ <goa-work-side-menu-group
9135
+ *ngIf="isReady"
9136
+ [attr.heading]="heading"
9137
+ [attr.icon]="icon"
9138
+ [attr.testid]="testId"
9139
+ >
9140
+ <ng-content />
9141
+ </goa-work-side-menu-group>
9142
+ `,
9143
+ schemas: [CUSTOM_ELEMENTS_SCHEMA],
9144
+ }]
9145
+ }], ctorParameters: () => [{ type: i0.ChangeDetectorRef }], propDecorators: { heading: [{
9146
+ type: Input,
9147
+ args: [{ required: true }]
9148
+ }], icon: [{
9149
+ type: Input,
9150
+ args: [{ required: true }]
9151
+ }], testId: [{
9152
+ type: Input
9153
+ }] } });
9154
+
6192
9155
  /**
6193
9156
  * Generated bundle index. Do not edit.
6194
9157
  */
6195
9158
 
6196
- export { AngularComponentsModule, CheckedDirective, GoabAccordion, GoabAppFooter, GoabAppFooterMetaSection, GoabAppFooterNavSection, GoabAppHeader, GoabAppHeaderMenu, GoabBadge, GoabBlock, GoabButton, GoabButtonGroup, GoabCalendar, GoabCallout, GoabCard, GoabCardActions, GoabCardContent, GoabCardImage, GoabCheckbox, GoabCheckboxList, GoabChip, GoabCircularProgress, GoabColumnLayout, GoabContainer, GoabDataGrid, GoabDatePicker, GoabDetails, GoabDivider, GoabDrawer, GoabDropdown, GoabDropdownItem, GoabFieldset, GoabFileUploadCard, GoabFileUploadInput, GoabFilterChip, GoabFormItem, GoabFormItemSlot, GoabFormStep, GoabFormStepper, GoabGrid, GoabHeroBanner, GoabIcon, GoabIconButton, GoabInput, GoabInputNumber, GoabLinearProgress, GoabLink, GoabMenuAction, GoabMenuButton, GoabMicrositeHeader, GoabModal, GoabNotification, GoabPageBlock, GoabPages, GoabPagination, GoabPopover, GoabPublicForm, GoabPublicFormPage, GoabPublicFormSummary, GoabPublicFormTask, GoabPublicFormTaskList, GoabPublicSubform, GoabPublicSubformIndex, GoabRadioGroup, GoabRadioItem, GoabSideMenu, GoabSideMenuGroup, GoabSideMenuHeading, GoabSkeleton, GoabSpacer, GoabTab, GoabTable, GoabTableSortHeader, GoabTabs, GoabTemporaryNotificationCtrl, GoabText, GoabTextArea, GoabTooltip, GoabxWorkSideMenu, GoabxWorkSideMenuItem, ValueDirective, ValueListDirective };
9159
+ export { AngularComponentsModule, CheckedDirective, GoabAccordion, GoabAppFooter, GoabAppFooterMetaSection, GoabAppFooterNavSection, GoabAppHeader, GoabAppHeaderMenu, GoabBadge, GoabBlock, GoabButton, GoabButtonGroup, GoabCalendar, GoabCallout, GoabCard, GoabCardActions, GoabCardContent, GoabCardImage, GoabCheckbox, GoabCheckboxList, GoabChip, GoabCircularProgress, GoabColumnLayout, GoabContainer, GoabDataGrid, GoabDatePicker, GoabDetails, GoabDivider, GoabDrawer, GoabDropdown, GoabDropdownItem, GoabFieldset, GoabFileUploadCard, GoabFileUploadInput, GoabFilterChip, GoabFormItem, GoabFormItemSlot, GoabFormStep, GoabFormStepper, GoabGrid, GoabHeroBanner, GoabIcon, GoabIconButton, GoabInput, GoabInputNumber, GoabLinearProgress, GoabLink, GoabMenuAction, GoabMenuButton, GoabMicrositeHeader, GoabModal, GoabNotification, GoabPageBlock, GoabPages, GoabPagination, GoabPopover, GoabPublicForm, GoabPublicFormPage, GoabPublicFormSummary, GoabPublicFormTask, GoabPublicFormTaskList, GoabPublicSubform, GoabPublicSubformIndex, GoabRadioGroup, GoabRadioItem, GoabSideMenu, GoabSideMenuGroup, GoabSideMenuHeading, GoabSkeleton, GoabSpacer, GoabTab, GoabTable, GoabTableSortHeader, GoabTabs, GoabTemporaryNotificationCtrl, GoabText, GoabTextArea, GoabTooltip, GoabxAppFooter, GoabxAppFooterMetaSection, GoabxAppFooterNavSection, GoabxBadge, GoabxButton, GoabxCalendar, GoabxCallout, GoabxCheckbox, GoabxDatePicker, GoabxDrawer, GoabxDropdown, GoabxDropdownItem, GoabxFileUploadCard, GoabxFileUploadInput, GoabxFilterChip, GoabxFormItem, GoabxInput, GoabxLink, GoabxModal, GoabxNotification, GoabxPagination, GoabxRadioGroup, GoabxRadioItem, GoabxSideMenu, GoabxSideMenuGroup, GoabxSideMenuHeading, GoabxTable, GoabxTabs, GoabxTextArea, GoabxWorkSideMenu, GoabxWorkSideMenuGroup, GoabxWorkSideMenuItem, ValueDirective, ValueListDirective };
6197
9160
  //# sourceMappingURL=abgov-angular-components.mjs.map