@abgov/angular-components 4.11.0-dev.7 → 4.11.0-dev.9

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.
package/package.json CHANGED
@@ -5,7 +5,7 @@
5
5
  "url": "https://github.com/GovAlta/ui-components/issues"
6
6
  },
7
7
  "license": "Apache-2.0",
8
- "version": "4.11.0-dev.7",
8
+ "version": "4.11.0-dev.9",
9
9
  "keywords": [
10
10
  "Goab",
11
11
  "ui-components",
@@ -18,19 +18,19 @@
18
18
  },
19
19
  "peerDependencies": {
20
20
  "@abgov/ui-components-common": "^0.0.0 || ^1.0.0",
21
- "@angular/forms": "^17.0.0 || ^18.0.0 || ^19.0.0 || ^20.0.0",
22
- "@angular/common": "^17.0.0 || ^18.0.0 || ^19.0.0 || ^20.0.0",
23
- "@angular/core": "^17.0.0 || ^18.0.0 || ^19.0.0 || ^20.0.0"
21
+ "@angular/forms": "^17.0.0 || ^18.0.0 || ^19.0.0 || ^20.0.0 || ^21.0.0",
22
+ "@angular/common": "^17.0.0 || ^18.0.0 || ^19.0.0 || ^20.0.0 || ^21.0.0",
23
+ "@angular/core": "^17.0.0 || ^18.0.0 || ^19.0.0 || ^20.0.0 || ^21.0.0"
24
24
  },
25
25
  "sideEffects": false,
26
26
  "module": "fesm2022/abgov-angular-components.mjs",
27
- "typings": "index.d.ts",
27
+ "typings": "types/abgov-angular-components.d.ts",
28
28
  "exports": {
29
29
  "./package.json": {
30
30
  "default": "./package.json"
31
31
  },
32
32
  ".": {
33
- "types": "./index.d.ts",
33
+ "types": "./types/abgov-angular-components.d.ts",
34
34
  "default": "./fesm2022/abgov-angular-components.mjs"
35
35
  }
36
36
  },
@@ -1,7 +1,6 @@
1
1
  import * as i0 from '@angular/core';
2
2
  import { ElementRef, Renderer2, OnInit, TemplateRef, EventEmitter, ChangeDetectorRef } from '@angular/core';
3
3
  import { ControlValueAccessor, CheckboxControlValueAccessor } from '@angular/forms';
4
- import * as i1 from '@angular/common';
5
4
  import { Spacing, GoabAccordionHeadingSize, GoabAccordionIconPosition, GoabBadgeType, GoabIconType, GoabBlockDirection, GoabBlockAlignment, GoabButtonType, GoabButtonSize, GoabButtonVariant, GoabButtonGroupAlignment, GoabButtonGroupGap, GoabCalendarOnChangeDetail, GoabCalloutType, GoabCalloutSize, GoabCalloutAriaLive, GoabCalloutIconTheme, GoabCheckboxOnChangeDetail, GoabCheckboxListOnChangeDetail, GoabChipVariant, GoabChipTheme, GoabCircularProgressVariant, GoabCircularProgressSize, GoabContainerType, GoabContainerAccent, GoabContainerPadding, GoabContainerWidth, GoabDatePickerInputType, GoabDatePickerOnChangeDetail, GoabDrawerPosition, GoabDrawerSize, GoabDropdownOnChangeDetail, GoabDropdownItemMountType, GoabFileUploadOnCancelDetail, GoabFileUploadOnDeleteDetail, GoabFileUploadInputVariant, GoabFileUploadInputOnSelectFileDetail, GoabPublicFormStatus, GoabFormState, GoabPublicFormPageStep, GoabPublicFormPageButtonVisibility, GoabPublicFormTaskStatus, GoabFormDispatchOn, GoabFieldsetOnContinueDetail, GoabFormItemLabelSize, GoabFormItemRequirement, GoabFormStepStatus, GoabFormStepperOnChangeDetail, GoabIconOverridesType, GoabIconSize, GoabIconTheme, GoabIconButtonVariant, GoabInputType, GoabInputAutoCapitalize, GoabInputOnFocusDetail, GoabInputOnBlurDetail, GoabInputOnKeyPressDetail, GoabInputOnChangeDetail, GoabServiceLevel, GoabLinkTarget, GoabModalCalloutVariant, GoabModalTransition, GoabMenuButtonOnActionDetail, GoabNotificationType, GoabAriaLiveType, GoabPageBlockSize, GoabPaginationVariant, GoabPaginationOnChangeDetail, GoabPopoverPosition, GoabRadioGroupOrientation, GoabRadioGroupOnChangeDetail, GoabSkeletonType, GoabSkeletonSize, GoabSpacerHorizontalSpacing, GoabSpacerVerticalSpacing, GoabTableVariant, GoabTableOnSortDetail, GoabTableSortDirection, GoabTabsVariant, GoabTabsOnChangeDetail, GoabTextTextElement, GoabTextHeadingElement, GoabTextSize, GoabTextMaxWidth, GoabTextColor, GoabTextAreaCountBy, GoabTextAreaOnChangeDetail, GoabTextAreaOnKeyPressDetail, GoabTextAreaOnBlurDetail, GoabTooltipPosition, GoabTooltipHorizontalAlignment, GoabxBadgeType, GoabBadgeSize, GoabBadgeEmphasis, GoabCalloutEmphasis, GoabCheckboxSize, GoabDropdownSize, GoabFormItemType, GoabInputSize, GoabLinkColor, GoabLinkSize, GoabNotificationEmphasis, GoabRadioGroupSize, GoabTextAreaSize, GoabTabsOrientation, GoabWorkSideMenuItemType } from '@abgov/ui-components-common';
6
5
  export * from '@abgov/ui-components-common';
7
6
 
@@ -18,8 +17,8 @@ declare class ValueDirective implements ControlValueAccessor {
18
17
  registerOnTouched(fn: () => void): void;
19
18
  setDisabledState(isDisabled: boolean): void;
20
19
  constructor(elementRef: ElementRef);
21
- listenForValueChange(value: string): void;
22
- listenForDisabledChange(isDisabled: boolean): void;
20
+ listenForValueChange(event: Event): void;
21
+ listenForDisabledChange(event: Event): void;
23
22
  static ɵfac: i0.ɵɵFactoryDeclaration<ValueDirective, never>;
24
23
  static ɵdir: i0.ɵɵDirectiveDeclaration<ValueDirective, "[goaValue]", never, {}, {}, never, never, true, never>;
25
24
  }
@@ -34,7 +33,7 @@ declare class ValueListDirective implements ControlValueAccessor {
34
33
  registerOnChange(fn: () => void): void;
35
34
  registerOnTouched(fn: () => void): void;
36
35
  constructor(elementRef: ElementRef);
37
- listenForValueChange(value: string): void;
36
+ listenForValueChange(event: Event): void;
38
37
  _setValue(value?: string[]): void;
39
38
  static ɵfac: i0.ɵɵFactoryDeclaration<ValueListDirective, never>;
40
39
  static ɵdir: i0.ɵɵDirectiveDeclaration<ValueListDirective, "[goaValueList]", never, {}, {}, never, never, true, never>;
@@ -52,14 +51,14 @@ declare class CheckedDirective extends CheckboxControlValueAccessor {
52
51
  writeValue(checked: any): void;
53
52
  registerOnChange(fn: (_: any) => void): void;
54
53
  registerOnTouched(fn: () => void): void;
55
- listenForValueChange(checked: any): void;
54
+ listenForValueChange(event: Event): void;
56
55
  static ɵfac: i0.ɵɵFactoryDeclaration<CheckedDirective, never>;
57
56
  static ɵdir: i0.ɵɵDirectiveDeclaration<CheckedDirective, "[goaChecked]", never, {}, {}, never, never, true, never>;
58
57
  }
59
58
 
60
59
  declare class AngularComponentsModule {
61
60
  static ɵfac: i0.ɵɵFactoryDeclaration<AngularComponentsModule, never>;
62
- static ɵmod: i0.ɵɵNgModuleDeclaration<AngularComponentsModule, never, [typeof i1.CommonModule, typeof ValueDirective, typeof ValueListDirective, typeof CheckedDirective], [typeof ValueDirective, typeof ValueListDirective, typeof CheckedDirective]>;
61
+ static ɵmod: i0.ɵɵNgModuleDeclaration<AngularComponentsModule, never, [typeof ValueDirective, typeof ValueListDirective, typeof CheckedDirective], [typeof ValueDirective, typeof ValueListDirective, typeof CheckedDirective]>;
63
62
  static ɵinj: i0.ɵɵInjectorDeclaration<AngularComponentsModule>;
64
63
  }
65
64
 
@@ -425,7 +424,7 @@ declare class GoabDatePicker extends GoabControlValueAccessor$1 implements OnIni
425
424
  constructor(elementRef: ElementRef, cdr: ChangeDetectorRef, renderer: Renderer2);
426
425
  ngOnInit(): void;
427
426
  setDisabledState(isDisabled: boolean): void;
428
- listenDisabledChange(isDisabled: boolean): void;
427
+ listenDisabledChange(event: Event): void;
429
428
  writeValue(value: Date | null): void;
430
429
  static ɵfac: i0.ɵɵFactoryDeclaration<GoabDatePicker, never>;
431
430
  static ɵcmp: i0.ɵɵComponentDeclaration<GoabDatePicker, "goab-date-picker", never, { "name": { "alias": "name"; "required": false; }; "value": { "alias": "value"; "required": false; }; "min": { "alias": "min"; "required": false; }; "max": { "alias": "max"; "required": false; }; "type": { "alias": "type"; "required": false; }; "relative": { "alias": "relative"; "required": false; }; "width": { "alias": "width"; "required": false; }; }, { "onChange": "onChange"; }, never, never, true, never>;
@@ -1264,6 +1263,7 @@ declare class GoabTab implements OnInit {
1264
1263
  slug?: string;
1265
1264
  constructor(cdr: ChangeDetectorRef);
1266
1265
  ngOnInit(): void;
1266
+ isHeadingTemplate(): boolean;
1267
1267
  getHeadingAsString(): string;
1268
1268
  getHeadingAsTemplate(): TemplateRef<any> | null;
1269
1269
  static ɵfac: i0.ɵɵFactoryDeclaration<GoabTab, never>;
@@ -1559,6 +1559,23 @@ declare class GoabxCheckbox extends GoabControlValueAccessor implements OnInit {
1559
1559
  static ngAcceptInputType_indeterminate: unknown;
1560
1560
  }
1561
1561
 
1562
+ declare class GoabxCheckboxList extends GoabControlValueAccessor implements OnInit {
1563
+ private cdr;
1564
+ isReady: boolean;
1565
+ version: string;
1566
+ name: string;
1567
+ maxWidth?: string;
1568
+ size?: "default" | "compact";
1569
+ value?: string[];
1570
+ constructor(cdr: ChangeDetectorRef, renderer: Renderer2);
1571
+ ngOnInit(): void;
1572
+ onChange: EventEmitter<GoabCheckboxListOnChangeDetail>;
1573
+ _onChange(e: Event): void;
1574
+ writeValue(value: string[] | null): void;
1575
+ static ɵfac: i0.ɵɵFactoryDeclaration<GoabxCheckboxList, never>;
1576
+ static ɵcmp: i0.ɵɵComponentDeclaration<GoabxCheckboxList, "goabx-checkbox-list", never, { "name": { "alias": "name"; "required": false; }; "maxWidth": { "alias": "maxWidth"; "required": false; }; "size": { "alias": "size"; "required": false; }; "value": { "alias": "value"; "required": false; }; }, { "onChange": "onChange"; }, never, ["*"], true, never>;
1577
+ }
1578
+
1562
1579
  declare class GoabxDatePicker extends GoabControlValueAccessor implements OnInit {
1563
1580
  protected elementRef: ElementRef;
1564
1581
  private cdr;
@@ -1580,7 +1597,7 @@ declare class GoabxDatePicker extends GoabControlValueAccessor implements OnInit
1580
1597
  constructor(elementRef: ElementRef, cdr: ChangeDetectorRef, renderer: Renderer2);
1581
1598
  ngOnInit(): void;
1582
1599
  setDisabledState(isDisabled: boolean): void;
1583
- listenDisabledChange(isDisabled: boolean): void;
1600
+ listenDisabledChange(event: Event): void;
1584
1601
  writeValue(value: Date | null): void;
1585
1602
  static ɵfac: i0.ɵɵFactoryDeclaration<GoabxDatePicker, never>;
1586
1603
  static ɵcmp: i0.ɵɵComponentDeclaration<GoabxDatePicker, "goabx-date-picker", never, { "name": { "alias": "name"; "required": false; }; "value": { "alias": "value"; "required": false; }; "min": { "alias": "min"; "required": false; }; "max": { "alias": "max"; "required": false; }; "type": { "alias": "type"; "required": false; }; "relative": { "alias": "relative"; "required": false; }; "width": { "alias": "width"; "required": false; }; }, { "onChange": "onChange"; }, never, never, true, never>;
@@ -2159,5 +2176,5 @@ declare class GoabxWorkSideMenuGroup implements OnInit {
2159
2176
  static ɵcmp: i0.ɵɵComponentDeclaration<GoabxWorkSideMenuGroup, "goabx-work-side-menu-group", never, { "heading": { "alias": "heading"; "required": true; }; "icon": { "alias": "icon"; "required": true; }; "testId": { "alias": "testId"; "required": false; }; }, {}, never, ["*"], true, never>;
2160
2177
  }
2161
2178
 
2162
- 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, GoabxMenuAction, GoabxMenuButton, GoabxModal, GoabxNotification, GoabxPagination, GoabxRadioGroup, GoabxRadioItem, GoabxSideMenu, GoabxSideMenuGroup, GoabxSideMenuHeading, GoabxTab, GoabxTable, GoabxTableSortHeader, GoabxTabs, GoabxTextArea, GoabxWorkSideMenu, GoabxWorkSideMenuGroup, GoabxWorkSideMenuItem, ValueDirective, ValueListDirective };
2179
+ 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 };
2163
2180
  export type { IgnoreMe };