@abgov/angular-components 4.10.0-dev.11 → 4.10.0-dev.13

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.
@@ -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,22 +5470,30 @@ 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
5499
  class GoabTable extends GoabBaseComponent {
@@ -6189,9 +6203,62 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImpo
6189
6203
  type: Input
6190
6204
  }] } });
6191
6205
 
6206
+ class GoabxWorkSideMenuGroup {
6207
+ constructor(cdr) {
6208
+ this.cdr = cdr;
6209
+ this.isReady = false;
6210
+ }
6211
+ ngOnInit() {
6212
+ // For Angular 20, we need to delay rendering the web component
6213
+ // to ensure all attributes are properly bound before the component initializes
6214
+ setTimeout(() => {
6215
+ this.isReady = true;
6216
+ this.cdr.detectChanges();
6217
+ }, 0);
6218
+ }
6219
+ 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 }); }
6220
+ 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: `
6221
+ <goa-work-side-menu-group
6222
+ *ngIf="isReady"
6223
+ [attr.heading]="heading"
6224
+ [attr.icon]="icon"
6225
+ [attr.testid]="testId"
6226
+ >
6227
+ <ng-content />
6228
+ </goa-work-side-menu-group>
6229
+ `, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] }); }
6230
+ }
6231
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: GoabxWorkSideMenuGroup, decorators: [{
6232
+ type: Component,
6233
+ args: [{
6234
+ standalone: true,
6235
+ selector: "goabx-work-side-menu-group", // eslint-disable-line
6236
+ imports: [CommonModule],
6237
+ template: `
6238
+ <goa-work-side-menu-group
6239
+ *ngIf="isReady"
6240
+ [attr.heading]="heading"
6241
+ [attr.icon]="icon"
6242
+ [attr.testid]="testId"
6243
+ >
6244
+ <ng-content />
6245
+ </goa-work-side-menu-group>
6246
+ `,
6247
+ schemas: [CUSTOM_ELEMENTS_SCHEMA],
6248
+ }]
6249
+ }], ctorParameters: () => [{ type: i0.ChangeDetectorRef }], propDecorators: { heading: [{
6250
+ type: Input,
6251
+ args: [{ required: true }]
6252
+ }], icon: [{
6253
+ type: Input,
6254
+ args: [{ required: true }]
6255
+ }], testId: [{
6256
+ type: Input
6257
+ }] } });
6258
+
6192
6259
  /**
6193
6260
  * Generated bundle index. Do not edit.
6194
6261
  */
6195
6262
 
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 };
6263
+ 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, GoabxWorkSideMenuGroup, GoabxWorkSideMenuItem, ValueDirective, ValueListDirective };
6197
6264
  //# sourceMappingURL=abgov-angular-components.mjs.map