@abgov/angular-components 4.6.0-alpha.3 → 4.6.0-alpha.5
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/esm2022/lib/components/form/fieldset.mjs +2 -11
- package/esm2022/lib/components/form/public-form-page.mjs +2 -47
- package/esm2022/lib/components/form/task-list.mjs +13 -4
- package/esm2022/lib/components/index.mjs +4 -1
- package/esm2022/lib/components/page-block/page-block.mjs +34 -0
- package/esm2022/lib/components/temporary-notification/temporary-notification.mjs +62 -0
- package/esm2022/lib/components/temporary-notification-ctrl/temporary-notification-ctrl.mjs +40 -0
- package/fesm2022/abgov-angular-components.mjs +144 -60
- package/fesm2022/abgov-angular-components.mjs.map +1 -1
- package/lib/components/form/fieldset.d.ts +2 -4
- package/lib/components/form/public-form-page.d.ts +2 -19
- package/lib/components/form/task-list.d.ts +2 -1
- package/lib/components/index.d.ts +3 -0
- package/lib/components/page-block/page-block.d.ts +8 -0
- package/lib/components/temporary-notification/temporary-notification.d.ts +16 -0
- package/lib/components/temporary-notification-ctrl/temporary-notification-ctrl.d.ts +11 -0
- package/package.json +1 -1
|
@@ -1,14 +1,12 @@
|
|
|
1
1
|
import { EventEmitter } from "@angular/core";
|
|
2
|
-
import { GoabFormDispatchOn,
|
|
2
|
+
import { GoabFormDispatchOn, GoabFieldsetOnContinueDetail } from "@abgov/ui-components-common";
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
export declare class GoabFieldset {
|
|
5
5
|
id?: string;
|
|
6
6
|
sectionTitle?: string;
|
|
7
7
|
dispatchOn: GoabFormDispatchOn;
|
|
8
|
-
onChange: EventEmitter<GoabFieldsetOnChangeDetail>;
|
|
9
8
|
onContinue: EventEmitter<GoabFieldsetOnContinueDetail>;
|
|
10
|
-
_onChange(event: Event): void;
|
|
11
9
|
_onContinue(event: Event): void;
|
|
12
10
|
static ɵfac: i0.ɵɵFactoryDeclaration<GoabFieldset, never>;
|
|
13
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<GoabFieldset, "goab-fieldset", never, { "id": { "alias": "id"; "required": false; }; "sectionTitle": { "alias": "sectionTitle"; "required": false; }; "dispatchOn": { "alias": "dispatchOn"; "required": false; }; }, { "
|
|
11
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<GoabFieldset, "goab-fieldset", never, { "id": { "alias": "id"; "required": false; }; "sectionTitle": { "alias": "sectionTitle"; "required": false; }; "dispatchOn": { "alias": "dispatchOn"; "required": false; }; }, { "onContinue": "onContinue"; }, never, ["*"], true, never>;
|
|
14
12
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { EventEmitter } from "@angular/core";
|
|
2
2
|
import { GoabBaseComponent } from "../base.component";
|
|
3
|
-
import { GoabPublicFormPageButtonVisibility,
|
|
3
|
+
import { GoabPublicFormPageButtonVisibility, GoabPublicFormPageStep } from "@abgov/ui-components-common";
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
5
|
export declare class GoabPublicFormPage extends GoabBaseComponent {
|
|
6
6
|
id: string;
|
|
@@ -12,28 +12,11 @@ export declare class GoabPublicFormPage extends GoabBaseComponent {
|
|
|
12
12
|
type: GoabPublicFormPageStep;
|
|
13
13
|
buttonText: string;
|
|
14
14
|
buttonVisibility: GoabPublicFormPageButtonVisibility;
|
|
15
|
-
first: boolean;
|
|
16
|
-
last: boolean;
|
|
17
15
|
/**
|
|
18
16
|
* triggers when the form page continues to the next step
|
|
19
17
|
*/
|
|
20
18
|
onContinue: EventEmitter<Event>;
|
|
21
|
-
/**
|
|
22
|
-
* triggers when the user clicks the back link
|
|
23
|
-
*/
|
|
24
|
-
onBack: EventEmitter<Event>;
|
|
25
|
-
/**
|
|
26
|
-
* triggers when the form fieldset content changes
|
|
27
|
-
*/
|
|
28
|
-
onFieldsetChange: EventEmitter<GoabPublicFormPageOnFieldsetChangeDetail>;
|
|
29
|
-
/**
|
|
30
|
-
* triggers when the form is completed
|
|
31
|
-
*/
|
|
32
|
-
onComplete: EventEmitter<GoabPublicFormPageOnCompleteDetail>;
|
|
33
19
|
_onContinue(event: Event): void;
|
|
34
|
-
_onBack(event: Event): void;
|
|
35
|
-
_onFieldsetChange(event: Event): void;
|
|
36
|
-
_onComplete(event: Event): void;
|
|
37
20
|
static ɵfac: i0.ɵɵFactoryDeclaration<GoabPublicFormPage, never>;
|
|
38
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<GoabPublicFormPage, "goab-public-form-page", never, { "id": { "alias": "id"; "required": false; }; "heading": { "alias": "heading"; "required": false; }; "subHeading": { "alias": "subHeading"; "required": false; }; "summaryHeading": { "alias": "summaryHeading"; "required": false; }; "sectionTitle": { "alias": "sectionTitle"; "required": false; }; "backUrl": { "alias": "backUrl"; "required": false; }; "type": { "alias": "type"; "required": false; }; "buttonText": { "alias": "buttonText"; "required": false; }; "buttonVisibility": { "alias": "buttonVisibility"; "required": false; };
|
|
21
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<GoabPublicFormPage, "goab-public-form-page", never, { "id": { "alias": "id"; "required": false; }; "heading": { "alias": "heading"; "required": false; }; "subHeading": { "alias": "subHeading"; "required": false; }; "summaryHeading": { "alias": "summaryHeading"; "required": false; }; "sectionTitle": { "alias": "sectionTitle"; "required": false; }; "backUrl": { "alias": "backUrl"; "required": false; }; "type": { "alias": "type"; "required": false; }; "buttonText": { "alias": "buttonText"; "required": false; }; "buttonVisibility": { "alias": "buttonVisibility"; "required": false; }; }, { "onContinue": "onContinue"; }, never, ["*"], true, never>;
|
|
39
22
|
}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
+
import { GoabBaseComponent } from "../base.component";
|
|
1
2
|
import * as i0 from "@angular/core";
|
|
2
|
-
export declare class GoabPublicFormTaskList {
|
|
3
|
+
export declare class GoabPublicFormTaskList extends GoabBaseComponent {
|
|
3
4
|
heading?: string;
|
|
4
5
|
static ɵfac: i0.ɵɵFactoryDeclaration<GoabPublicFormTaskList, never>;
|
|
5
6
|
static ɵcmp: i0.ɵɵComponentDeclaration<GoabPublicFormTaskList, "goab-public-form-task-list", never, { "heading": { "alias": "heading"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
@@ -51,6 +51,7 @@ export * from "./link/link";
|
|
|
51
51
|
export * from "./microsite-header/microsite-header";
|
|
52
52
|
export * from "./modal/modal";
|
|
53
53
|
export * from "./notification/notification";
|
|
54
|
+
export * from "./page-block/page-block";
|
|
54
55
|
export * from "./pages/pages";
|
|
55
56
|
export * from "./pagination/pagination";
|
|
56
57
|
export * from "./popover/popover";
|
|
@@ -65,6 +66,8 @@ export * from "./tab/tab";
|
|
|
65
66
|
export * from "./table/table";
|
|
66
67
|
export * from "./table-sort-header/table-sort-header";
|
|
67
68
|
export * from "./tabs/tabs";
|
|
69
|
+
export * from "./temporary-notification/temporary-notification";
|
|
70
|
+
export * from "./temporary-notification-ctrl/temporary-notification-ctrl";
|
|
68
71
|
export * from "./text/text";
|
|
69
72
|
export * from "./textarea/textarea";
|
|
70
73
|
export * from "./tooltip/tooltip";
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { GoabPageBlockSize } from "@abgov/ui-components-common";
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class GoabPageBlock {
|
|
4
|
+
width?: GoabPageBlockSize;
|
|
5
|
+
testId?: string;
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<GoabPageBlock, never>;
|
|
7
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<GoabPageBlock, "goab-page-block", never, { "width": { "alias": "width"; "required": false; }; "testId": { "alias": "testId"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
8
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
type SnackbarType = "basic" | "success" | "failure";
|
|
3
|
+
type AnimationDirection = "up" | "down";
|
|
4
|
+
export declare class GoabTemporaryNotification {
|
|
5
|
+
message: string;
|
|
6
|
+
type: SnackbarType;
|
|
7
|
+
duration?: number;
|
|
8
|
+
progress?: number;
|
|
9
|
+
testId?: string;
|
|
10
|
+
actionText?: string;
|
|
11
|
+
visible: boolean;
|
|
12
|
+
animationDirection: AnimationDirection;
|
|
13
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<GoabTemporaryNotification, never>;
|
|
14
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<GoabTemporaryNotification, "goab-temporary-notification", never, { "message": { "alias": "message"; "required": false; }; "type": { "alias": "type"; "required": false; }; "duration": { "alias": "duration"; "required": false; }; "progress": { "alias": "progress"; "required": false; }; "testId": { "alias": "testId"; "required": false; }; "actionText": { "alias": "actionText"; "required": false; }; "visible": { "alias": "visible"; "required": false; }; "animationDirection": { "alias": "animationDirection"; "required": false; }; }, {}, never, never, true, never>;
|
|
15
|
+
}
|
|
16
|
+
export {};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
type SnackbarVerticalPosition = "top" | "bottom";
|
|
3
|
+
type SnackbarHorizontalPosition = "left" | "center" | "right";
|
|
4
|
+
export declare class GoabTemporaryNotificationCtrl {
|
|
5
|
+
verticalPosition: SnackbarVerticalPosition;
|
|
6
|
+
horizontalPosition: SnackbarHorizontalPosition;
|
|
7
|
+
testId?: string;
|
|
8
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<GoabTemporaryNotificationCtrl, never>;
|
|
9
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<GoabTemporaryNotificationCtrl, "goab-temporary-notification-ctrl", never, { "verticalPosition": { "alias": "verticalPosition"; "required": false; }; "horizontalPosition": { "alias": "horizontalPosition"; "required": false; }; "testId": { "alias": "testId"; "required": false; }; }, {}, never, never, true, never>;
|
|
10
|
+
}
|
|
11
|
+
export {};
|