@abgov/angular-components 4.11.0-dev.5 → 4.11.0-dev.6

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.
@@ -9015,6 +9015,74 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImpo
9015
9015
  type: Output
9016
9016
  }] } });
9017
9017
 
9018
+ class GoabxTab {
9019
+ constructor(cdr) {
9020
+ this.cdr = cdr;
9021
+ this.isReady = false;
9022
+ }
9023
+ ngOnInit() {
9024
+ setTimeout(() => {
9025
+ this.isReady = true;
9026
+ this.cdr.detectChanges();
9027
+ });
9028
+ }
9029
+ getHeadingAsString() {
9030
+ return this.heading instanceof TemplateRef ? "" : this.heading;
9031
+ }
9032
+ getHeadingAsTemplate() {
9033
+ if (!this.heading)
9034
+ return null;
9035
+ return this.heading instanceof TemplateRef ? this.heading : null;
9036
+ }
9037
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: GoabxTab, deps: [{ token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component }); }
9038
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.16", type: GoabxTab, isStandalone: true, selector: "goabx-tab", inputs: { heading: "heading", disabled: ["disabled", "disabled", booleanAttribute], slug: "slug" }, ngImport: i0, template: `
9039
+ <goa-tab
9040
+ *ngIf="isReady"
9041
+ [attr.slug]="slug"
9042
+ [attr.disabled]="disabled || null"
9043
+ [attr.heading]="getHeadingAsString()"
9044
+ >
9045
+ <ng-content />
9046
+ @if (typeof heading !== "string") {
9047
+ <div slot="heading">
9048
+ <ng-container [ngTemplateOutlet]="getHeadingAsTemplate()"></ng-container>
9049
+ </div>
9050
+ }
9051
+ </goa-tab>
9052
+ `, 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"] }] }); }
9053
+ }
9054
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: GoabxTab, decorators: [{
9055
+ type: Component,
9056
+ args: [{
9057
+ standalone: true,
9058
+ selector: "goabx-tab",
9059
+ template: `
9060
+ <goa-tab
9061
+ *ngIf="isReady"
9062
+ [attr.slug]="slug"
9063
+ [attr.disabled]="disabled || null"
9064
+ [attr.heading]="getHeadingAsString()"
9065
+ >
9066
+ <ng-content />
9067
+ @if (typeof heading !== "string") {
9068
+ <div slot="heading">
9069
+ <ng-container [ngTemplateOutlet]="getHeadingAsTemplate()"></ng-container>
9070
+ </div>
9071
+ }
9072
+ </goa-tab>
9073
+ `,
9074
+ schemas: [CUSTOM_ELEMENTS_SCHEMA],
9075
+ imports: [NgTemplateOutlet, CommonModule],
9076
+ }]
9077
+ }], ctorParameters: () => [{ type: i0.ChangeDetectorRef }], propDecorators: { heading: [{
9078
+ type: Input
9079
+ }], disabled: [{
9080
+ type: Input,
9081
+ args: [{ transform: booleanAttribute }]
9082
+ }], slug: [{
9083
+ type: Input
9084
+ }] } });
9085
+
9018
9086
  class GoabxTabs {
9019
9087
  constructor(cdr) {
9020
9088
  this.cdr = cdr;
@@ -9033,13 +9101,14 @@ class GoabxTabs {
9033
9101
  this.onChange.emit(detail);
9034
9102
  }
9035
9103
  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 }); }
9036
- 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: `
9104
+ 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", orientation: "orientation" }, outputs: { onChange: "onChange" }, ngImport: i0, template: `
9037
9105
  <goa-tabs
9038
9106
  *ngIf="isReady"
9039
9107
  [attr.version]="version"
9040
9108
  [attr.initialtab]="initialTab"
9041
9109
  [attr.testid]="testId"
9042
9110
  [attr.variant]="variant"
9111
+ [attr.orientation]="orientation"
9043
9112
  (_change)="_onChange($event)"
9044
9113
  >
9045
9114
  <ng-content />
@@ -9058,6 +9127,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImpo
9058
9127
  [attr.initialtab]="initialTab"
9059
9128
  [attr.testid]="testId"
9060
9129
  [attr.variant]="variant"
9130
+ [attr.orientation]="orientation"
9061
9131
  (_change)="_onChange($event)"
9062
9132
  >
9063
9133
  <ng-content />
@@ -9073,6 +9143,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImpo
9073
9143
  type: Input
9074
9144
  }], variant: [{
9075
9145
  type: Input
9146
+ }], orientation: [{
9147
+ type: Input
9076
9148
  }], onChange: [{
9077
9149
  type: Output
9078
9150
  }] } });
@@ -9304,5 +9376,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImpo
9304
9376
  * Generated bundle index. Do not edit.
9305
9377
  */
9306
9378
 
9307
- 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, GoabPushDrawer, 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 };
9379
+ 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, GoabPushDrawer, 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, GoabxTab, GoabxTable, GoabxTableSortHeader, GoabxTabs, GoabxTextArea, GoabxWorkSideMenu, GoabxWorkSideMenuGroup, GoabxWorkSideMenuItem, ValueDirective, ValueListDirective };
9308
9380
  //# sourceMappingURL=abgov-angular-components.mjs.map