@abgov/angular-components 4.11.0-dev.1 → 4.11.0-dev.2

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.
@@ -1537,7 +1537,7 @@ class GoabContainer extends GoabBaseComponent$1 {
1537
1537
  }, 0);
1538
1538
  }
1539
1539
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: GoabContainer, deps: [{ token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component }); }
1540
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.16", type: GoabContainer, isStandalone: true, selector: "goab-container", inputs: { type: "type", accent: "accent", padding: "padding", width: "width", maxWidth: "maxWidth", minHeight: "minHeight", maxHeight: "maxHeight", title: "title", actions: "actions" }, usesInheritance: true, ngImport: i0, template: `<goa-container
1540
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.16", type: GoabContainer, isStandalone: true, selector: "goab-container", inputs: { type: "type", accent: "accent", padding: "padding", width: "width", maxWidth: "maxWidth", minHeight: "minHeight", maxHeight: "maxHeight", title: "title", actions: "actions" }, usesInheritance: true, ngImport: i0, template: `<goa-container
1541
1541
  *ngIf="isReady"
1542
1542
  [attr.type]="type"
1543
1543
  [attr.accent]="accent"
@@ -1552,13 +1552,17 @@ class GoabContainer extends GoabBaseComponent$1 {
1552
1552
  [attr.ml]="ml"
1553
1553
  [attr.mr]="mr"
1554
1554
  >
1555
- <div slot="title">
1556
- <ng-container [ngTemplateOutlet]="title"></ng-container>
1557
- </div>
1555
+ @if (title) {
1556
+ <div slot="title">
1557
+ <ng-container [ngTemplateOutlet]="title"></ng-container>
1558
+ </div>
1559
+ }
1558
1560
  <ng-content />
1559
- <div slot="actions">
1560
- <ng-container [ngTemplateOutlet]="actions"></ng-container>
1561
- </div>
1561
+ @if (actions) {
1562
+ <div slot="actions">
1563
+ <ng-container [ngTemplateOutlet]="actions"></ng-container>
1564
+ </div>
1565
+ }
1562
1566
  </goa-container>`, 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"] }] }); }
1563
1567
  }
1564
1568
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: GoabContainer, decorators: [{
@@ -1582,13 +1586,17 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImpo
1582
1586
  [attr.ml]="ml"
1583
1587
  [attr.mr]="mr"
1584
1588
  >
1585
- <div slot="title">
1586
- <ng-container [ngTemplateOutlet]="title"></ng-container>
1587
- </div>
1589
+ @if (title) {
1590
+ <div slot="title">
1591
+ <ng-container [ngTemplateOutlet]="title"></ng-container>
1592
+ </div>
1593
+ }
1588
1594
  <ng-content />
1589
- <div slot="actions">
1590
- <ng-container [ngTemplateOutlet]="actions"></ng-container>
1591
- </div>
1595
+ @if (actions) {
1596
+ <div slot="actions">
1597
+ <ng-container [ngTemplateOutlet]="actions"></ng-container>
1598
+ </div>
1599
+ }
1592
1600
  </goa-container>`,
1593
1601
  schemas: [CUSTOM_ELEMENTS_SCHEMA],
1594
1602
  }]
@@ -8714,6 +8722,52 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImpo
8714
8722
  type: Output
8715
8723
  }] } });
8716
8724
 
8725
+ class GoabxTableSortHeader {
8726
+ constructor(cdr) {
8727
+ this.cdr = cdr;
8728
+ this.isReady = false;
8729
+ this.direction = "none";
8730
+ }
8731
+ ngOnInit() {
8732
+ setTimeout(() => {
8733
+ this.isReady = true;
8734
+ this.cdr.detectChanges();
8735
+ });
8736
+ }
8737
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: GoabxTableSortHeader, deps: [{ token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component }); }
8738
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.16", type: GoabxTableSortHeader, isStandalone: true, selector: "goabx-table-sort-header", inputs: { name: "name", direction: "direction" }, ngImport: i0, template: `
8739
+ <goa-table-sort-header
8740
+ *ngIf="isReady"
8741
+ [attr.name]="name"
8742
+ [attr.direction]="direction"
8743
+ >
8744
+ <ng-content />
8745
+ </goa-table-sort-header>
8746
+ `, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] }); }
8747
+ }
8748
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: GoabxTableSortHeader, decorators: [{
8749
+ type: Component,
8750
+ args: [{
8751
+ standalone: true,
8752
+ selector: "goabx-table-sort-header",
8753
+ template: `
8754
+ <goa-table-sort-header
8755
+ *ngIf="isReady"
8756
+ [attr.name]="name"
8757
+ [attr.direction]="direction"
8758
+ >
8759
+ <ng-content />
8760
+ </goa-table-sort-header>
8761
+ `,
8762
+ imports: [CommonModule],
8763
+ schemas: [CUSTOM_ELEMENTS_SCHEMA],
8764
+ }]
8765
+ }], ctorParameters: () => [{ type: i0.ChangeDetectorRef }], propDecorators: { name: [{
8766
+ type: Input
8767
+ }], direction: [{
8768
+ type: Input
8769
+ }] } });
8770
+
8717
8771
  class GoabxTextArea extends GoabControlValueAccessor {
8718
8772
  constructor(cdr, renderer) {
8719
8773
  super(renderer);
@@ -9156,5 +9210,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImpo
9156
9210
  * Generated bundle index. Do not edit.
9157
9211
  */
9158
9212
 
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 };
9213
+ 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, GoabxTableSortHeader, GoabxTabs, GoabxTextArea, GoabxWorkSideMenu, GoabxWorkSideMenuGroup, GoabxWorkSideMenuItem, ValueDirective, ValueListDirective };
9160
9214
  //# sourceMappingURL=abgov-angular-components.mjs.map