@abgov/angular-components 4.10.0-dev.1 → 4.10.0-dev.11
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/index.d.ts
CHANGED
|
@@ -2,7 +2,7 @@ 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
4
|
import * as i1 from '@angular/common';
|
|
5
|
-
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, GoabTabsOnChangeDetail, GoabTextTextElement, GoabTextHeadingElement, GoabTextSize, GoabTextMaxWidth, GoabTextColor, GoabTextAreaCountBy, GoabTextAreaOnChangeDetail, GoabTextAreaOnKeyPressDetail, GoabTextAreaOnBlurDetail, GoabTooltipPosition, GoabTooltipHorizontalAlignment } from '@abgov/ui-components-common';
|
|
5
|
+
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, GoabWorkSideMenuItemType } from '@abgov/ui-components-common';
|
|
6
6
|
export * from '@abgov/ui-components-common';
|
|
7
7
|
|
|
8
8
|
declare class ValueDirective implements ControlValueAccessor {
|
|
@@ -173,11 +173,14 @@ declare class GoabBlock extends GoabBaseComponent implements OnInit {
|
|
|
173
173
|
gap?: Spacing;
|
|
174
174
|
direction?: GoabBlockDirection;
|
|
175
175
|
alignment?: GoabBlockAlignment;
|
|
176
|
+
width?: string;
|
|
177
|
+
minWidth?: string;
|
|
178
|
+
maxWidth?: string;
|
|
176
179
|
isReady: boolean;
|
|
177
180
|
constructor(cdr: ChangeDetectorRef);
|
|
178
181
|
ngOnInit(): void;
|
|
179
182
|
static ɵfac: i0.ɵɵFactoryDeclaration<GoabBlock, never>;
|
|
180
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<GoabBlock, "goab-block", never, { "gap": { "alias": "gap"; "required": false; }; "direction": { "alias": "direction"; "required": false; }; "alignment": { "alias": "alignment"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
183
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<GoabBlock, "goab-block", never, { "gap": { "alias": "gap"; "required": false; }; "direction": { "alias": "direction"; "required": false; }; "alignment": { "alias": "alignment"; "required": false; }; "width": { "alias": "width"; "required": false; }; "minWidth": { "alias": "minWidth"; "required": false; }; "maxWidth": { "alias": "maxWidth"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
181
184
|
}
|
|
182
185
|
|
|
183
186
|
declare class GoabButton extends GoabBaseComponent implements OnInit {
|
|
@@ -379,13 +382,27 @@ declare class GoabContainer extends GoabBaseComponent implements OnInit {
|
|
|
379
382
|
padding?: GoabContainerPadding;
|
|
380
383
|
width?: GoabContainerWidth;
|
|
381
384
|
maxWidth?: string;
|
|
385
|
+
minHeight?: string;
|
|
386
|
+
maxHeight?: string;
|
|
382
387
|
title: TemplateRef<any>;
|
|
383
388
|
actions: TemplateRef<any>;
|
|
384
389
|
isReady: boolean;
|
|
385
390
|
constructor(cdr: ChangeDetectorRef);
|
|
386
391
|
ngOnInit(): void;
|
|
387
392
|
static ɵfac: i0.ɵɵFactoryDeclaration<GoabContainer, never>;
|
|
388
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<GoabContainer, "goab-container", never, { "type": { "alias": "type"; "required": false; }; "accent": { "alias": "accent"; "required": false; }; "padding": { "alias": "padding"; "required": false; }; "width": { "alias": "width"; "required": false; }; "maxWidth": { "alias": "maxWidth"; "required": false; }; "title": { "alias": "title"; "required": false; }; "actions": { "alias": "actions"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
393
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<GoabContainer, "goab-container", never, { "type": { "alias": "type"; "required": false; }; "accent": { "alias": "accent"; "required": false; }; "padding": { "alias": "padding"; "required": false; }; "width": { "alias": "width"; "required": false; }; "maxWidth": { "alias": "maxWidth"; "required": false; }; "minHeight": { "alias": "minHeight"; "required": false; }; "maxHeight": { "alias": "maxHeight"; "required": false; }; "title": { "alias": "title"; "required": false; }; "actions": { "alias": "actions"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
394
|
+
}
|
|
395
|
+
|
|
396
|
+
declare class GoabDataGrid implements OnInit {
|
|
397
|
+
private cdr;
|
|
398
|
+
keyboardIconVisibility: "visible" | "hidden";
|
|
399
|
+
keyboardIconPosition: "left" | "right";
|
|
400
|
+
keyboardNav: "layout" | "table";
|
|
401
|
+
isReady: boolean;
|
|
402
|
+
constructor(cdr: ChangeDetectorRef);
|
|
403
|
+
ngOnInit(): void;
|
|
404
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<GoabDataGrid, never>;
|
|
405
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<GoabDataGrid, "goab-data-grid", never, { "keyboardIconVisibility": { "alias": "keyboardIconVisibility"; "required": false; }; "keyboardIconPosition": { "alias": "keyboardIconPosition"; "required": false; }; "keyboardNav": { "alias": "keyboardNav"; "required": true; }; }, {}, never, ["*"], true, never>;
|
|
389
406
|
}
|
|
390
407
|
|
|
391
408
|
declare class GoabDatePicker extends GoabControlValueAccessor implements OnInit {
|
|
@@ -513,8 +530,8 @@ declare class GoabFileUploadCard implements OnInit {
|
|
|
513
530
|
isReady: boolean;
|
|
514
531
|
constructor(cdr: ChangeDetectorRef);
|
|
515
532
|
ngOnInit(): void;
|
|
516
|
-
_onCancel(): void;
|
|
517
|
-
_onDelete(): void;
|
|
533
|
+
_onCancel(event: Event): void;
|
|
534
|
+
_onDelete(event: Event): void;
|
|
518
535
|
static ɵfac: i0.ɵɵFactoryDeclaration<GoabFileUploadCard, never>;
|
|
519
536
|
static ɵcmp: i0.ɵɵComponentDeclaration<GoabFileUploadCard, "goab-file-upload-card", never, { "filename": { "alias": "filename"; "required": true; }; "size": { "alias": "size"; "required": false; }; "type": { "alias": "type"; "required": false; }; "progress": { "alias": "progress"; "required": false; }; "error": { "alias": "error"; "required": false; }; "testId": { "alias": "testId"; "required": false; }; }, { "onCancel": "onCancel"; "onDelete": "onDelete"; }, never, never, true, never>;
|
|
520
537
|
static ngAcceptInputType_size: unknown;
|
|
@@ -950,6 +967,20 @@ declare class GoabInputNumber implements ControlValueAccessor, OnInit {
|
|
|
950
967
|
static ngAcceptInputType_step: unknown;
|
|
951
968
|
}
|
|
952
969
|
|
|
970
|
+
declare class GoabLinearProgress implements OnInit {
|
|
971
|
+
private cdr;
|
|
972
|
+
progress?: number | null | undefined;
|
|
973
|
+
percentVisibility?: "visible" | "hidden" | undefined;
|
|
974
|
+
ariaLabel?: string;
|
|
975
|
+
ariaLabelledBy?: string;
|
|
976
|
+
testid?: string;
|
|
977
|
+
isReady: boolean;
|
|
978
|
+
constructor(cdr: ChangeDetectorRef);
|
|
979
|
+
ngOnInit(): void;
|
|
980
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<GoabLinearProgress, never>;
|
|
981
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<GoabLinearProgress, "goab-linear-progress", never, { "progress": { "alias": "progress"; "required": false; }; "percentVisibility": { "alias": "percentVisibility"; "required": false; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; }; "ariaLabelledBy": { "alias": "ariaLabelledBy"; "required": false; }; "testid": { "alias": "testid"; "required": false; }; }, {}, never, never, true, never>;
|
|
982
|
+
}
|
|
983
|
+
|
|
953
984
|
declare class GoabLink implements OnInit {
|
|
954
985
|
private cdr;
|
|
955
986
|
isReady: boolean;
|
|
@@ -1020,11 +1051,13 @@ declare class GoabModal implements OnInit {
|
|
|
1020
1051
|
declare class GoabMenuButton {
|
|
1021
1052
|
text?: string;
|
|
1022
1053
|
type?: GoabButtonType;
|
|
1054
|
+
maxWidth?: string;
|
|
1055
|
+
leadingIcon?: GoabIconType;
|
|
1023
1056
|
testId?: string;
|
|
1024
1057
|
onAction: EventEmitter<GoabMenuButtonOnActionDetail>;
|
|
1025
1058
|
_onAction(e: Event): void;
|
|
1026
1059
|
static ɵfac: i0.ɵɵFactoryDeclaration<GoabMenuButton, never>;
|
|
1027
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<GoabMenuButton, "goab-menu-button", never, { "text": { "alias": "text"; "required": false; }; "type": { "alias": "type"; "required": false; }; "testId": { "alias": "testId"; "required": false; }; }, { "onAction": "onAction"; }, never, ["*"], true, never>;
|
|
1060
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<GoabMenuButton, "goab-menu-button", never, { "text": { "alias": "text"; "required": false; }; "type": { "alias": "type"; "required": false; }; "maxWidth": { "alias": "maxWidth"; "required": false; }; "leadingIcon": { "alias": "leadingIcon"; "required": false; }; "testId": { "alias": "testId"; "required": false; }; }, { "onAction": "onAction"; }, never, ["*"], true, never>;
|
|
1028
1061
|
}
|
|
1029
1062
|
|
|
1030
1063
|
declare class GoabMenuAction {
|
|
@@ -1208,12 +1241,14 @@ declare class GoabTab implements OnInit {
|
|
|
1208
1241
|
private cdr;
|
|
1209
1242
|
isReady: boolean;
|
|
1210
1243
|
heading: string | TemplateRef<any>;
|
|
1244
|
+
disabled?: boolean;
|
|
1211
1245
|
constructor(cdr: ChangeDetectorRef);
|
|
1212
1246
|
ngOnInit(): void;
|
|
1213
1247
|
getHeadingAsString(): string;
|
|
1214
1248
|
getHeadingAsTemplate(): TemplateRef<any> | null;
|
|
1215
1249
|
static ɵfac: i0.ɵɵFactoryDeclaration<GoabTab, never>;
|
|
1216
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<GoabTab, "goab-tab", never, { "heading": { "alias": "heading"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
1250
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<GoabTab, "goab-tab", never, { "heading": { "alias": "heading"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
1251
|
+
static ngAcceptInputType_disabled: unknown;
|
|
1217
1252
|
}
|
|
1218
1253
|
|
|
1219
1254
|
declare class GoabTable extends GoabBaseComponent implements OnInit {
|
|
@@ -1245,12 +1280,13 @@ declare class GoabTabs implements OnInit {
|
|
|
1245
1280
|
isReady: boolean;
|
|
1246
1281
|
initialTab?: number;
|
|
1247
1282
|
testId?: string;
|
|
1283
|
+
variant?: GoabTabsVariant;
|
|
1248
1284
|
constructor(cdr: ChangeDetectorRef);
|
|
1249
1285
|
ngOnInit(): void;
|
|
1250
1286
|
onChange: EventEmitter<GoabTabsOnChangeDetail>;
|
|
1251
1287
|
_onChange(e: Event): void;
|
|
1252
1288
|
static ɵfac: i0.ɵɵFactoryDeclaration<GoabTabs, never>;
|
|
1253
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<GoabTabs, "goab-tabs", never, { "initialTab": { "alias": "initialTab"; "required": false; }; "testId": { "alias": "testId"; "required": false; }; }, { "onChange": "onChange"; }, never, ["*"], true, never>;
|
|
1289
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<GoabTabs, "goab-tabs", never, { "initialTab": { "alias": "initialTab"; "required": false; }; "testId": { "alias": "testId"; "required": false; }; "variant": { "alias": "variant"; "required": false; }; }, { "onChange": "onChange"; }, never, ["*"], true, never>;
|
|
1254
1290
|
static ngAcceptInputType_initialTab: unknown;
|
|
1255
1291
|
}
|
|
1256
1292
|
|
|
@@ -1329,5 +1365,43 @@ declare class GoabTooltip extends GoabBaseComponent implements OnInit {
|
|
|
1329
1365
|
static ɵcmp: i0.ɵɵComponentDeclaration<GoabTooltip, "goab-tooltip", never, { "position": { "alias": "position"; "required": false; }; "content": { "alias": "content"; "required": false; }; "hAlign": { "alias": "hAlign"; "required": false; }; "maxWidth": { "alias": "maxWidth"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
1330
1366
|
}
|
|
1331
1367
|
|
|
1332
|
-
|
|
1368
|
+
declare class GoabxWorkSideMenu implements OnInit {
|
|
1369
|
+
private cdr;
|
|
1370
|
+
heading: string;
|
|
1371
|
+
url: string;
|
|
1372
|
+
userName?: string;
|
|
1373
|
+
userSecondaryText?: string;
|
|
1374
|
+
open?: boolean;
|
|
1375
|
+
testId?: string;
|
|
1376
|
+
primaryContent: TemplateRef<any>;
|
|
1377
|
+
secondaryContent: TemplateRef<any>;
|
|
1378
|
+
accountContent: TemplateRef<any>;
|
|
1379
|
+
onToggle: EventEmitter<any>;
|
|
1380
|
+
isReady: boolean;
|
|
1381
|
+
constructor(cdr: ChangeDetectorRef);
|
|
1382
|
+
ngOnInit(): void;
|
|
1383
|
+
_onToggle(): void;
|
|
1384
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<GoabxWorkSideMenu, never>;
|
|
1385
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<GoabxWorkSideMenu, "goabx-work-side-menu", never, { "heading": { "alias": "heading"; "required": true; }; "url": { "alias": "url"; "required": true; }; "userName": { "alias": "userName"; "required": false; }; "userSecondaryText": { "alias": "userSecondaryText"; "required": false; }; "open": { "alias": "open"; "required": false; }; "testId": { "alias": "testId"; "required": false; }; "primaryContent": { "alias": "primaryContent"; "required": false; }; "secondaryContent": { "alias": "secondaryContent"; "required": false; }; "accountContent": { "alias": "accountContent"; "required": false; }; }, { "onToggle": "onToggle"; }, never, never, true, never>;
|
|
1386
|
+
static ngAcceptInputType_open: unknown;
|
|
1387
|
+
}
|
|
1388
|
+
|
|
1389
|
+
declare class GoabxWorkSideMenuItem implements OnInit {
|
|
1390
|
+
private cdr;
|
|
1391
|
+
label: string;
|
|
1392
|
+
url: string;
|
|
1393
|
+
badge?: string;
|
|
1394
|
+
current?: boolean;
|
|
1395
|
+
divider?: boolean;
|
|
1396
|
+
icon?: string;
|
|
1397
|
+
testId?: string;
|
|
1398
|
+
type?: GoabWorkSideMenuItemType;
|
|
1399
|
+
isReady: boolean;
|
|
1400
|
+
constructor(cdr: ChangeDetectorRef);
|
|
1401
|
+
ngOnInit(): void;
|
|
1402
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<GoabxWorkSideMenuItem, never>;
|
|
1403
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<GoabxWorkSideMenuItem, "goabx-work-side-menu-item", never, { "label": { "alias": "label"; "required": true; }; "url": { "alias": "url"; "required": true; }; "badge": { "alias": "badge"; "required": false; }; "current": { "alias": "current"; "required": false; }; "divider": { "alias": "divider"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; "testId": { "alias": "testId"; "required": false; }; "type": { "alias": "type"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
1404
|
+
}
|
|
1405
|
+
|
|
1406
|
+
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 };
|
|
1333
1407
|
export type { IgnoreMe };
|