@abgov/angular-components 4.6.0-alpha.3 → 4.6.0-alpha.4

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.
@@ -1,14 +1,12 @@
1
1
  import { EventEmitter } from "@angular/core";
2
- import { GoabFormDispatchOn, GoabFieldsetOnChangeDetail, GoabFieldsetOnContinueDetail } from "@abgov/ui-components-common";
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; }; }, { "onChange": "onChange"; "onContinue": "onContinue"; }, never, ["*"], true, never>;
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, GoabPublicFormPageOnFieldsetChangeDetail, GoabPublicFormPageOnCompleteDetail, GoabPublicFormPageStep } from "@abgov/ui-components-common";
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; }; "first": { "alias": "first"; "required": false; }; "last": { "alias": "last"; "required": false; }; }, { "onContinue": "onContinue"; "onBack": "onBack"; "onFieldsetChange": "onFieldsetChange"; "onComplete": "onComplete"; }, never, ["*"], true, never>;
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>;
@@ -65,6 +65,8 @@ export * from "./tab/tab";
65
65
  export * from "./table/table";
66
66
  export * from "./table-sort-header/table-sort-header";
67
67
  export * from "./tabs/tabs";
68
+ export * from "./temporary-notification/temporary-notification";
69
+ export * from "./temporary-notification-ctrl/temporary-notification-ctrl";
68
70
  export * from "./text/text";
69
71
  export * from "./textarea/textarea";
70
72
  export * from "./tooltip/tooltip";
@@ -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 {};
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.6.0-alpha.3",
8
+ "version": "4.6.0-alpha.4",
9
9
  "keywords": [
10
10
  "Goab",
11
11
  "ui-components",