@abgov/angular-components 4.11.0-dev.8 → 4.11.0

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.
@@ -6790,109 +6790,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImpo
6790
6790
  type: Output
6791
6791
  }] } });
6792
6792
 
6793
- class GoabxCheckboxList extends GoabControlValueAccessor {
6794
- constructor(cdr, renderer) {
6795
- super(renderer);
6796
- this.cdr = cdr;
6797
- this.isReady = false;
6798
- this.version = "2";
6799
- this.size = "default";
6800
- this.onChange = new EventEmitter();
6801
- }
6802
- ngOnInit() {
6803
- setTimeout(() => {
6804
- this.isReady = true;
6805
- this.cdr.detectChanges();
6806
- });
6807
- }
6808
- _onChange(e) {
6809
- const detail = { ...e.detail, event: e };
6810
- this.onChange.emit(detail);
6811
- this.markAsTouched();
6812
- // Update the form control with the selected values
6813
- const selectedValues = detail.value || [];
6814
- // clone to ensure a new reference so the underlying web component updates
6815
- this.value = [...selectedValues];
6816
- this.fcChange?.([...selectedValues]);
6817
- }
6818
- // Simplified writeValue - expects array input directly
6819
- writeValue(value) {
6820
- // clone to ensure a new reference and trigger downstream updates
6821
- this.value = Array.isArray(value) ? [...value] : [];
6822
- }
6823
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: GoabxCheckboxList, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Component }); }
6824
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.16", type: GoabxCheckboxList, isStandalone: true, selector: "goabx-checkbox-list", inputs: { name: "name", maxWidth: "maxWidth", size: "size", value: "value" }, outputs: { onChange: "onChange" }, providers: [
6825
- {
6826
- provide: NG_VALUE_ACCESSOR,
6827
- multi: true,
6828
- useExisting: forwardRef(() => GoabxCheckboxList),
6829
- },
6830
- ], usesInheritance: true, ngImport: i0, template: ` <goa-checkbox-list
6831
- *ngIf="isReady"
6832
- [attr.name]="name"
6833
- [value]="value"
6834
- [disabled]="disabled"
6835
- [attr.error]="error"
6836
- [attr.testid]="testId"
6837
- [id]="id"
6838
- [attr.maxwidth]="maxWidth"
6839
- [attr.version]="version"
6840
- [attr.size]="size"
6841
- [attr.mt]="mt"
6842
- [attr.mb]="mb"
6843
- [attr.ml]="ml"
6844
- [attr.mr]="mr"
6845
- (_change)="_onChange($event)"
6846
- >
6847
- <ng-content />
6848
- </goa-checkbox-list>`, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] }); }
6849
- }
6850
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: GoabxCheckboxList, decorators: [{
6851
- type: Component,
6852
- args: [{
6853
- standalone: true,
6854
- selector: "goabx-checkbox-list",
6855
- template: ` <goa-checkbox-list
6856
- *ngIf="isReady"
6857
- [attr.name]="name"
6858
- [value]="value"
6859
- [disabled]="disabled"
6860
- [attr.error]="error"
6861
- [attr.testid]="testId"
6862
- [id]="id"
6863
- [attr.maxwidth]="maxWidth"
6864
- [attr.version]="version"
6865
- [attr.size]="size"
6866
- [attr.mt]="mt"
6867
- [attr.mb]="mb"
6868
- [attr.ml]="ml"
6869
- [attr.mr]="mr"
6870
- (_change)="_onChange($event)"
6871
- >
6872
- <ng-content />
6873
- </goa-checkbox-list>`,
6874
- schemas: [CUSTOM_ELEMENTS_SCHEMA],
6875
- imports: [CommonModule],
6876
- providers: [
6877
- {
6878
- provide: NG_VALUE_ACCESSOR,
6879
- multi: true,
6880
- useExisting: forwardRef(() => GoabxCheckboxList),
6881
- },
6882
- ],
6883
- }]
6884
- }], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.Renderer2 }], propDecorators: { name: [{
6885
- type: Input
6886
- }], maxWidth: [{
6887
- type: Input
6888
- }], size: [{
6889
- type: Input
6890
- }], value: [{
6891
- type: Input
6892
- }], onChange: [{
6893
- type: Output
6894
- }] } });
6895
-
6896
6793
  class GoabxDatePicker extends GoabControlValueAccessor {
6897
6794
  formatValue(val) {
6898
6795
  if (!val)
@@ -8194,115 +8091,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImpo
8194
8091
  type: Input
8195
8092
  }] } });
8196
8093
 
8197
- class GoabxMenuAction {
8198
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: GoabxMenuAction, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
8199
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.16", type: GoabxMenuAction, isStandalone: true, selector: "goabx-menu-action", inputs: { text: "text", action: "action", icon: "icon", testId: "testId" }, ngImport: i0, template: `
8200
- <goa-menu-action
8201
- [attr.text]="text"
8202
- [attr.action]="action"
8203
- [attr.icon]="icon"
8204
- [attr.testid]="testId"
8205
- >
8206
- </goa-menu-action>
8207
- `, isInline: true }); }
8208
- }
8209
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: GoabxMenuAction, decorators: [{
8210
- type: Component,
8211
- args: [{
8212
- standalone: true,
8213
- selector: "goabx-menu-action",
8214
- template: `
8215
- <goa-menu-action
8216
- [attr.text]="text"
8217
- [attr.action]="action"
8218
- [attr.icon]="icon"
8219
- [attr.testid]="testId"
8220
- >
8221
- </goa-menu-action>
8222
- `,
8223
- schemas: [CUSTOM_ELEMENTS_SCHEMA],
8224
- }]
8225
- }], propDecorators: { text: [{
8226
- type: Input,
8227
- args: [{ required: true }]
8228
- }], action: [{
8229
- type: Input,
8230
- args: [{ required: true }]
8231
- }], icon: [{
8232
- type: Input
8233
- }], testId: [{
8234
- type: Input
8235
- }] } });
8236
-
8237
- class GoabxMenuButton {
8238
- constructor() {
8239
- this.onAction = new EventEmitter();
8240
- }
8241
- _onAction(e) {
8242
- const detail = e.detail;
8243
- this.onAction.emit(detail);
8244
- }
8245
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: GoabxMenuButton, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
8246
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.16", type: GoabxMenuButton, isStandalone: true, selector: "goabx-menu-button", inputs: { text: "text", type: "type", size: "size", variant: "variant", maxWidth: "maxWidth", leadingIcon: "leadingIcon", ariaLabel: "ariaLabel", testId: "testId" }, outputs: { onAction: "onAction" }, ngImport: i0, template: `
8247
- <goa-menu-button
8248
- [attr.text]="text"
8249
- [attr.type]="type"
8250
- [attr.size]="size"
8251
- [attr.variant]="variant"
8252
- version="2"
8253
- [attr.max-width]="maxWidth"
8254
- [attr.leading-icon]="leadingIcon"
8255
- [attr.aria-label]="ariaLabel"
8256
- [attr.testid]="testId"
8257
- (_action)="_onAction($event)"
8258
- >
8259
- <ng-content></ng-content>
8260
- </goa-menu-button>
8261
- `, isInline: true }); }
8262
- }
8263
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: GoabxMenuButton, decorators: [{
8264
- type: Component,
8265
- args: [{
8266
- standalone: true,
8267
- selector: "goabx-menu-button",
8268
- template: `
8269
- <goa-menu-button
8270
- [attr.text]="text"
8271
- [attr.type]="type"
8272
- [attr.size]="size"
8273
- [attr.variant]="variant"
8274
- version="2"
8275
- [attr.max-width]="maxWidth"
8276
- [attr.leading-icon]="leadingIcon"
8277
- [attr.aria-label]="ariaLabel"
8278
- [attr.testid]="testId"
8279
- (_action)="_onAction($event)"
8280
- >
8281
- <ng-content></ng-content>
8282
- </goa-menu-button>
8283
- `,
8284
- schemas: [CUSTOM_ELEMENTS_SCHEMA],
8285
- }]
8286
- }], propDecorators: { text: [{
8287
- type: Input
8288
- }], type: [{
8289
- type: Input
8290
- }], size: [{
8291
- type: Input
8292
- }], variant: [{
8293
- type: Input
8294
- }], maxWidth: [{
8295
- type: Input
8296
- }], leadingIcon: [{
8297
- type: Input
8298
- }], ariaLabel: [{
8299
- type: Input
8300
- }], testId: [{
8301
- type: Input
8302
- }], onAction: [{
8303
- type: Output
8304
- }] } });
8305
-
8306
8094
  class GoabxModal {
8307
8095
  constructor(cdr) {
8308
8096
  this.cdr = cdr;
@@ -9227,74 +9015,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImpo
9227
9015
  type: Output
9228
9016
  }] } });
9229
9017
 
9230
- class GoabxTab {
9231
- constructor(cdr) {
9232
- this.cdr = cdr;
9233
- this.isReady = false;
9234
- }
9235
- ngOnInit() {
9236
- setTimeout(() => {
9237
- this.isReady = true;
9238
- this.cdr.detectChanges();
9239
- });
9240
- }
9241
- getHeadingAsString() {
9242
- return this.heading instanceof TemplateRef ? "" : this.heading;
9243
- }
9244
- getHeadingAsTemplate() {
9245
- if (!this.heading)
9246
- return null;
9247
- return this.heading instanceof TemplateRef ? this.heading : null;
9248
- }
9249
- 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 }); }
9250
- 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: `
9251
- <goa-tab
9252
- *ngIf="isReady"
9253
- [attr.slug]="slug"
9254
- [attr.disabled]="disabled || null"
9255
- [attr.heading]="getHeadingAsString()"
9256
- >
9257
- <ng-content />
9258
- @if (typeof heading !== "string") {
9259
- <div slot="heading">
9260
- <ng-container [ngTemplateOutlet]="getHeadingAsTemplate()"></ng-container>
9261
- </div>
9262
- }
9263
- </goa-tab>
9264
- `, 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"] }] }); }
9265
- }
9266
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: GoabxTab, decorators: [{
9267
- type: Component,
9268
- args: [{
9269
- standalone: true,
9270
- selector: "goabx-tab",
9271
- template: `
9272
- <goa-tab
9273
- *ngIf="isReady"
9274
- [attr.slug]="slug"
9275
- [attr.disabled]="disabled || null"
9276
- [attr.heading]="getHeadingAsString()"
9277
- >
9278
- <ng-content />
9279
- @if (typeof heading !== "string") {
9280
- <div slot="heading">
9281
- <ng-container [ngTemplateOutlet]="getHeadingAsTemplate()"></ng-container>
9282
- </div>
9283
- }
9284
- </goa-tab>
9285
- `,
9286
- schemas: [CUSTOM_ELEMENTS_SCHEMA],
9287
- imports: [NgTemplateOutlet, CommonModule],
9288
- }]
9289
- }], ctorParameters: () => [{ type: i0.ChangeDetectorRef }], propDecorators: { heading: [{
9290
- type: Input
9291
- }], disabled: [{
9292
- type: Input,
9293
- args: [{ transform: booleanAttribute }]
9294
- }], slug: [{
9295
- type: Input
9296
- }] } });
9297
-
9298
9018
  class GoabxTabs {
9299
9019
  constructor(cdr) {
9300
9020
  this.cdr = cdr;
@@ -9313,14 +9033,13 @@ class GoabxTabs {
9313
9033
  this.onChange.emit(detail);
9314
9034
  }
9315
9035
  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 }); }
9316
- 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: `
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: `
9317
9037
  <goa-tabs
9318
9038
  *ngIf="isReady"
9319
9039
  [attr.version]="version"
9320
9040
  [attr.initialtab]="initialTab"
9321
9041
  [attr.testid]="testId"
9322
9042
  [attr.variant]="variant"
9323
- [attr.orientation]="orientation"
9324
9043
  (_change)="_onChange($event)"
9325
9044
  >
9326
9045
  <ng-content />
@@ -9339,7 +9058,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImpo
9339
9058
  [attr.initialtab]="initialTab"
9340
9059
  [attr.testid]="testId"
9341
9060
  [attr.variant]="variant"
9342
- [attr.orientation]="orientation"
9343
9061
  (_change)="_onChange($event)"
9344
9062
  >
9345
9063
  <ng-content />
@@ -9355,8 +9073,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImpo
9355
9073
  type: Input
9356
9074
  }], variant: [{
9357
9075
  type: Input
9358
- }], orientation: [{
9359
- type: Input
9360
9076
  }], onChange: [{
9361
9077
  type: Output
9362
9078
  }] } });
@@ -9588,5 +9304,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImpo
9588
9304
  * Generated bundle index. Do not edit.
9589
9305
  */
9590
9306
 
9591
- 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, GoabxCheckboxList, GoabxDatePicker, GoabxDrawer, GoabxDropdown, GoabxDropdownItem, GoabxFileUploadCard, GoabxFileUploadInput, GoabxFilterChip, GoabxFormItem, GoabxInput, GoabxLink, GoabxMenuAction, GoabxMenuButton, GoabxModal, GoabxNotification, GoabxPagination, GoabxRadioGroup, GoabxRadioItem, GoabxSideMenu, GoabxSideMenuGroup, GoabxSideMenuHeading, GoabxTab, GoabxTable, GoabxTableSortHeader, GoabxTabs, GoabxTextArea, GoabxWorkSideMenu, GoabxWorkSideMenuGroup, GoabxWorkSideMenuItem, ValueDirective, ValueListDirective };
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 };
9592
9308
  //# sourceMappingURL=abgov-angular-components.mjs.map