@genesislcap/foundation-errors 14.408.0 → 14.409.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.
Files changed (74) hide show
  1. package/README.md +6 -48
  2. package/package.json +10 -10
  3. package/docs/api/foundation-errors.confirmingaction.action.md +0 -11
  4. package/docs/api/foundation-errors.confirmingaction.label.md +0 -11
  5. package/docs/api/foundation-errors.confirmingaction.md +0 -77
  6. package/docs/api/foundation-errors.dismissingaction.action.md +0 -11
  7. package/docs/api/foundation-errors.dismissingaction.label.md +0 -11
  8. package/docs/api/foundation-errors.dismissingaction.md +0 -79
  9. package/docs/api/foundation-errors.errorbanner.confirmingactions.md +0 -11
  10. package/docs/api/foundation-errors.errorbanner.dismissingaction.md +0 -11
  11. package/docs/api/foundation-errors.errorbanner.md +0 -81
  12. package/docs/api/foundation-errors.errorbannerbuilder.build.md +0 -19
  13. package/docs/api/foundation-errors.errorbannerbuilder.md +0 -76
  14. package/docs/api/foundation-errors.errorbannerbuilder.withconfirmingaction.md +0 -55
  15. package/docs/api/foundation-errors.errorbannerbuilder.withdismissingaction.md +0 -55
  16. package/docs/api/foundation-errors.errorboundaryevent.md +0 -48
  17. package/docs/api/foundation-errors.errorbuilder.build.md +0 -18
  18. package/docs/api/foundation-errors.errorbuilder.md +0 -160
  19. package/docs/api/foundation-errors.errorbuilder.withalert.md +0 -55
  20. package/docs/api/foundation-errors.errorbuilder.withbanner.md +0 -55
  21. package/docs/api/foundation-errors.errorbuilder.withdialog.md +0 -55
  22. package/docs/api/foundation-errors.errorbuilder.witherrordetails.md +0 -55
  23. package/docs/api/foundation-errors.errorbuilder.withloglevel.md +0 -53
  24. package/docs/api/foundation-errors.errorbuilder.withnotification.md +0 -55
  25. package/docs/api/foundation-errors.errorbuilder.withsnackbar.md +0 -55
  26. package/docs/api/foundation-errors.errorbuilder.withtitle.md +0 -55
  27. package/docs/api/foundation-errors.errordialog.confirmingactions.md +0 -11
  28. package/docs/api/foundation-errors.errordialog.dismissingaction.md +0 -11
  29. package/docs/api/foundation-errors.errordialog.md +0 -81
  30. package/docs/api/foundation-errors.errordialogbuilder.build.md +0 -19
  31. package/docs/api/foundation-errors.errordialogbuilder.md +0 -76
  32. package/docs/api/foundation-errors.errordialogbuilder.withconfirmingaction.md +0 -55
  33. package/docs/api/foundation-errors.errordialogbuilder.withdismissingaction.md +0 -55
  34. package/docs/api/foundation-errors.errornotification.autoclose.md +0 -11
  35. package/docs/api/foundation-errors.errornotification.closetimeout.md +0 -11
  36. package/docs/api/foundation-errors.errornotification.md +0 -123
  37. package/docs/api/foundation-errors.errornotification.position.md +0 -11
  38. package/docs/api/foundation-errors.errornotification.type.md +0 -11
  39. package/docs/api/foundation-errors.errornotificationposition.md +0 -13
  40. package/docs/api/foundation-errors.errornotificationtype.md +0 -13
  41. package/docs/api/foundation-errors.errorstructure.config.md +0 -18
  42. package/docs/api/foundation-errors.errorstructure.errordetails.md +0 -11
  43. package/docs/api/foundation-errors.errorstructure.loglevel.md +0 -11
  44. package/docs/api/foundation-errors.errorstructure.md +0 -119
  45. package/docs/api/foundation-errors.errorstructure.title.md +0 -11
  46. package/docs/api/foundation-errors.geterrorbanneranchor.md +0 -55
  47. package/docs/api/foundation-errors.geterrorbannerbuilder.md +0 -17
  48. package/docs/api/foundation-errors.geterrorbuilder.md +0 -17
  49. package/docs/api/foundation-errors.geterrorcontainer.md +0 -71
  50. package/docs/api/foundation-errors.geterrordetails.md +0 -56
  51. package/docs/api/foundation-errors.geterrordialogbuilder.md +0 -17
  52. package/docs/api/foundation-errors.getloglevel.md +0 -56
  53. package/docs/api/foundation-errors.getnotificationbuilder.md +0 -17
  54. package/docs/api/foundation-errors.getsnackbarbuilder.md +0 -17
  55. package/docs/api/foundation-errors.md +0 -378
  56. package/docs/api/foundation-errors.notificationbuilder.build.md +0 -19
  57. package/docs/api/foundation-errors.notificationbuilder.md +0 -104
  58. package/docs/api/foundation-errors.notificationbuilder.withautoclose.md +0 -55
  59. package/docs/api/foundation-errors.notificationbuilder.withclosetimeout.md +0 -55
  60. package/docs/api/foundation-errors.notificationbuilder.withposition.md +0 -55
  61. package/docs/api/foundation-errors.notificationbuilder.withtype.md +0 -55
  62. package/docs/api/foundation-errors.showbanner.md +0 -85
  63. package/docs/api/foundation-errors.showerror.md +0 -87
  64. package/docs/api/foundation-errors.snackbar.confirmingactions.md +0 -11
  65. package/docs/api/foundation-errors.snackbar.md +0 -81
  66. package/docs/api/foundation-errors.snackbar.type.md +0 -11
  67. package/docs/api/foundation-errors.snackbarbuilder.build.md +0 -19
  68. package/docs/api/foundation-errors.snackbarbuilder.md +0 -76
  69. package/docs/api/foundation-errors.snackbarbuilder.withconfirmingaction.md +0 -55
  70. package/docs/api/foundation-errors.snackbarbuilder.withtype.md +0 -55
  71. package/docs/api/foundation-errors.snackbartype.md +0 -13
  72. package/docs/api/index.md +0 -30
  73. package/docs/api-report copy.md +0 -202
  74. package/docs/api-report.md.api.md +0 -202
@@ -1,76 +0,0 @@
1
- <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
-
3
- [Home](./index.md) &gt; [@genesislcap/foundation-errors](./foundation-errors.md) &gt; [SnackbarBuilder](./foundation-errors.snackbarbuilder.md)
4
-
5
- ## SnackbarBuilder class
6
-
7
- SnackbarBuilder to build Snackbar
8
-
9
- **Signature:**
10
-
11
- ```typescript
12
- export declare class SnackbarBuilder
13
- ```
14
-
15
- ## Methods
16
-
17
- <table><thead><tr><th>
18
-
19
- Method
20
-
21
-
22
- </th><th>
23
-
24
- Modifiers
25
-
26
-
27
- </th><th>
28
-
29
- Description
30
-
31
-
32
- </th></tr></thead>
33
- <tbody><tr><td>
34
-
35
- [build()](./foundation-errors.snackbarbuilder.build.md)
36
-
37
-
38
- </td><td>
39
-
40
-
41
- </td><td>
42
-
43
- Build snackbar
44
-
45
-
46
- </td></tr>
47
- <tr><td>
48
-
49
- [withConfirmingAction(confirmingAction)](./foundation-errors.snackbarbuilder.withconfirmingaction.md)
50
-
51
-
52
- </td><td>
53
-
54
-
55
- </td><td>
56
-
57
- Add confirming action to snackbar
58
-
59
-
60
- </td></tr>
61
- <tr><td>
62
-
63
- [withType(type)](./foundation-errors.snackbarbuilder.withtype.md)
64
-
65
-
66
- </td><td>
67
-
68
-
69
- </td><td>
70
-
71
- Add type to snackbar, if the type is anything other than 'error' do not add it
72
-
73
-
74
- </td></tr>
75
- </tbody></table>
76
-
@@ -1,55 +0,0 @@
1
- <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
-
3
- [Home](./index.md) &gt; [@genesislcap/foundation-errors](./foundation-errors.md) &gt; [SnackbarBuilder](./foundation-errors.snackbarbuilder.md) &gt; [withConfirmingAction](./foundation-errors.snackbarbuilder.withconfirmingaction.md)
4
-
5
- ## SnackbarBuilder.withConfirmingAction() method
6
-
7
- Add confirming action to snackbar
8
-
9
- **Signature:**
10
-
11
- ```typescript
12
- withConfirmingAction(confirmingAction: ConfirmingAction): SnackbarBuilder;
13
- ```
14
-
15
- ## Parameters
16
-
17
- <table><thead><tr><th>
18
-
19
- Parameter
20
-
21
-
22
- </th><th>
23
-
24
- Type
25
-
26
-
27
- </th><th>
28
-
29
- Description
30
-
31
-
32
- </th></tr></thead>
33
- <tbody><tr><td>
34
-
35
- confirmingAction
36
-
37
-
38
- </td><td>
39
-
40
- [ConfirmingAction](./foundation-errors.confirmingaction.md)
41
-
42
-
43
- </td><td>
44
-
45
- [ConfirmingAction](./foundation-errors.confirmingaction.md)
46
-
47
-
48
- </td></tr>
49
- </tbody></table>
50
-
51
- **Returns:**
52
-
53
- [SnackbarBuilder](./foundation-errors.snackbarbuilder.md)
54
-
55
-
@@ -1,55 +0,0 @@
1
- <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
-
3
- [Home](./index.md) &gt; [@genesislcap/foundation-errors](./foundation-errors.md) &gt; [SnackbarBuilder](./foundation-errors.snackbarbuilder.md) &gt; [withType](./foundation-errors.snackbarbuilder.withtype.md)
4
-
5
- ## SnackbarBuilder.withType() method
6
-
7
- Add type to snackbar, if the type is anything other than 'error' do not add it
8
-
9
- **Signature:**
10
-
11
- ```typescript
12
- withType(type: SnackbarType): SnackbarBuilder;
13
- ```
14
-
15
- ## Parameters
16
-
17
- <table><thead><tr><th>
18
-
19
- Parameter
20
-
21
-
22
- </th><th>
23
-
24
- Type
25
-
26
-
27
- </th><th>
28
-
29
- Description
30
-
31
-
32
- </th></tr></thead>
33
- <tbody><tr><td>
34
-
35
- type
36
-
37
-
38
- </td><td>
39
-
40
- [SnackbarType](./foundation-errors.snackbartype.md)
41
-
42
-
43
- </td><td>
44
-
45
- [SnackbarType](./foundation-errors.snackbartype.md)
46
-
47
-
48
- </td></tr>
49
- </tbody></table>
50
-
51
- **Returns:**
52
-
53
- [SnackbarBuilder](./foundation-errors.snackbarbuilder.md)
54
-
55
-
@@ -1,13 +0,0 @@
1
- <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
-
3
- [Home](./index.md) &gt; [@genesislcap/foundation-errors](./foundation-errors.md) &gt; [SnackbarType](./foundation-errors.snackbartype.md)
4
-
5
- ## SnackbarType type
6
-
7
- type for snackbar type
8
-
9
- **Signature:**
10
-
11
- ```typescript
12
- export type SnackbarType = 'error' | 'success';
13
- ```
package/docs/api/index.md DELETED
@@ -1,30 +0,0 @@
1
- <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
-
3
- [Home](./index.md)
4
-
5
- ## API Reference
6
-
7
- ## Packages
8
-
9
- <table><thead><tr><th>
10
-
11
- Package
12
-
13
-
14
- </th><th>
15
-
16
- Description
17
-
18
-
19
- </th></tr></thead>
20
- <tbody><tr><td>
21
-
22
- [@genesislcap/foundation-errors](./foundation-errors.md)
23
-
24
-
25
- </td><td>
26
-
27
-
28
- </td></tr>
29
- </tbody></table>
30
-
@@ -1,202 +0,0 @@
1
- ## API Report File for "@genesislcap/foundation-errors"
2
-
3
- > Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/).
4
-
5
- ```ts
6
-
7
- import { LogLevel } from '@genesislcap/foundation-logger';
8
-
9
- // @public
10
- export interface ConfirmingAction {
11
- // (undocumented)
12
- readonly action: Function;
13
- // (undocumented)
14
- readonly label: String;
15
- }
16
-
17
- // @public
18
- export interface DismissingAction {
19
- // (undocumented)
20
- readonly action?: Function;
21
- // (undocumented)
22
- readonly label: String;
23
- }
24
-
25
- // @public
26
- export interface ErrorBanner {
27
- // (undocumented)
28
- readonly confirmingActions?: Array<ConfirmingAction>;
29
- // (undocumented)
30
- readonly dismissingAction?: DismissingAction;
31
- }
32
-
33
- // @public
34
- export class ErrorBannerBuilder {
35
- build(): ErrorBanner;
36
- withConfirmingAction(confirmingAction: ConfirmingAction): ErrorBannerBuilder;
37
- withDismissingAction(dismissingAction: DismissingAction): ErrorBannerBuilder;
38
- }
39
-
40
- // @public
41
- export enum ErrorBoundaryEvent {
42
- // (undocumented)
43
- ERROR_BOUNDARY_EVENT = "error-boundary-event"
44
- }
45
-
46
- // @public
47
- export class ErrorBuilder {
48
- build(): ErrorStructure;
49
- withAlert(alert: boolean): ErrorBuilder;
50
- withBanner(banner: ErrorBanner): ErrorBuilder;
51
- withDialog(dialog: ErrorDialog): ErrorBuilder;
52
- withErrorDetails(errorDetails: string): ErrorBuilder;
53
- withLogLevel(logLevel: LogLevel): ErrorBuilder;
54
- withNotification(notification: ErrorNotification): ErrorBuilder;
55
- withSnackbar(snackbar: Snackbar): ErrorBuilder;
56
- withTitle(title: string): ErrorBuilder;
57
- }
58
-
59
- // @public
60
- export interface ErrorDialog {
61
- // (undocumented)
62
- readonly confirmingActions?: Array<ConfirmingAction>;
63
- // (undocumented)
64
- readonly dismissingAction?: DismissingAction;
65
- }
66
-
67
- // @public
68
- export class ErrorDialogBuilder {
69
- build(): ErrorDialog;
70
- withConfirmingAction(confirmingAction: ConfirmingAction): ErrorDialogBuilder;
71
- withDismissingAction(dismissingAction: DismissingAction): ErrorDialogBuilder;
72
- }
73
-
74
- // Warning: (ae-internal-missing-underscore) The name "ErrorDialogElement" should be prefixed with an underscore because the declaration is marked as @internal
75
- //
76
- // @internal (undocumented)
77
- export type ErrorDialogElement = ErrorElement & {
78
- show: Function;
79
- };
80
-
81
- // Warning: (ae-internal-missing-underscore) The name "ErrorElement" should be prefixed with an underscore because the declaration is marked as @internal
82
- //
83
- // @internal (undocumented)
84
- export type ErrorElement = HTMLElement & {
85
- error: ErrorStructure;
86
- };
87
-
88
- // @public
89
- export interface ErrorNotification {
90
- // (undocumented)
91
- readonly autoClose?: boolean;
92
- // (undocumented)
93
- readonly closeTimeout?: number;
94
- // (undocumented)
95
- readonly position?: ErrorNotificationPosition;
96
- // (undocumented)
97
- readonly type?: ErrorNotificationType;
98
- }
99
-
100
- // @public
101
- export type ErrorNotificationPosition = 'top-left' | 'top-right' | 'bottom-left' | 'bottom-right';
102
-
103
- // @public
104
- export type ErrorNotificationType = 'warning' | 'success';
105
-
106
- // @public
107
- export interface ErrorStructure {
108
- // (undocumented)
109
- readonly config?: {
110
- readonly logLevel?: LogLevel;
111
- readonly alert?: boolean;
112
- readonly notification?: ErrorNotification;
113
- readonly banner?: ErrorBanner;
114
- readonly snackbar?: Snackbar;
115
- readonly dialog?: ErrorDialog;
116
- };
117
- // (undocumented)
118
- readonly errorDetails: string;
119
- // (undocumented)
120
- readonly logLevel?: LogLevel;
121
- // (undocumented)
122
- readonly title: string;
123
- }
124
-
125
- // @public
126
- export const getErrorBannerAnchor: (element: any) => HTMLElement | null;
127
-
128
- // @public
129
- export const getErrorBannerBuilder: () => ErrorBannerBuilder;
130
-
131
- // @public
132
- export const getErrorBuilder: () => ErrorBuilder;
133
-
134
- // @public
135
- export const getErrorContainer: (id: string, tagName: String) => HTMLElement;
136
-
137
- // @public
138
- export const getErrorDetails: (details: ErrorStructure) => string;
139
-
140
- // @public
141
- export const getErrorDialogBuilder: () => ErrorDialogBuilder;
142
-
143
- // @public
144
- export const getLoglevel: (details: ErrorStructure) => LogLevel;
145
-
146
- // @public
147
- export const getNotificationBuilder: () => NotificationBuilder;
148
-
149
- // @public
150
- export const getSnackbarBuilder: () => SnackbarBuilder;
151
-
152
- // @public
153
- export class NotificationBuilder {
154
- build(): ErrorNotification;
155
- withAutoClose(autoClose: boolean): NotificationBuilder;
156
- withCloseTimeout(closeTimeout: number): NotificationBuilder;
157
- withPosition(position: ErrorNotificationPosition): NotificationBuilder;
158
- withType(type: ErrorNotificationType): NotificationBuilder;
159
- }
160
-
161
- // @public
162
- export const showBanner: (error: ErrorStructure, tagName: String, errorBoundary: HTMLElement) => void;
163
-
164
- // Warning: (ae-internal-missing-underscore) The name "showDialog" should be prefixed with an underscore because the declaration is marked as @internal
165
- //
166
- // @internal
167
- export const showDialog: (error: ErrorStructure, tagName: String) => void;
168
-
169
- // @public
170
- export const showError: (error: ErrorStructure, tagName: String, errorBoundary?: HTMLElement) => void;
171
-
172
- // Warning: (ae-internal-missing-underscore) The name "showNotification" should be prefixed with an underscore because the declaration is marked as @internal
173
- //
174
- // @internal
175
- export const showNotification: (error: ErrorStructure, tagName: String) => void;
176
-
177
- // Warning: (ae-internal-missing-underscore) The name "showSnackbar" should be prefixed with an underscore because the declaration is marked as @internal
178
- //
179
- // @internal
180
- export const showSnackbar: (error: ErrorStructure, tagName: String) => void;
181
-
182
- // @public
183
- export interface Snackbar {
184
- // (undocumented)
185
- readonly confirmingActions?: Array<ConfirmingAction>;
186
- // (undocumented)
187
- readonly type?: SnackbarType;
188
- }
189
-
190
- // @public
191
- export class SnackbarBuilder {
192
- build(): Snackbar;
193
- withConfirmingAction(confirmingAction: ConfirmingAction): SnackbarBuilder;
194
- withType(type: SnackbarType): SnackbarBuilder;
195
- }
196
-
197
- // @public
198
- export type SnackbarType = 'error';
199
-
200
- // (No @packageDocumentation comment for this package)
201
-
202
- ```
@@ -1,202 +0,0 @@
1
- ## API Report File for "@genesislcap/foundation-errors"
2
-
3
- > Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/).
4
-
5
- ```ts
6
-
7
- import { LogLevel } from '@genesislcap/foundation-logger';
8
-
9
- // @public
10
- export interface ConfirmingAction {
11
- // (undocumented)
12
- readonly action: Function;
13
- // (undocumented)
14
- readonly label: String;
15
- }
16
-
17
- // @public
18
- export interface DismissingAction {
19
- // (undocumented)
20
- readonly action?: Function;
21
- // (undocumented)
22
- readonly label: String;
23
- }
24
-
25
- // @public
26
- export interface ErrorBanner {
27
- // (undocumented)
28
- readonly confirmingActions?: Array<ConfirmingAction>;
29
- // (undocumented)
30
- readonly dismissingAction?: DismissingAction;
31
- }
32
-
33
- // @public
34
- export class ErrorBannerBuilder {
35
- build(): ErrorBanner;
36
- withConfirmingAction(confirmingAction: ConfirmingAction): ErrorBannerBuilder;
37
- withDismissingAction(dismissingAction: DismissingAction): ErrorBannerBuilder;
38
- }
39
-
40
- // @public
41
- export enum ErrorBoundaryEvent {
42
- // (undocumented)
43
- ERROR_BOUNDARY_EVENT = "error-boundary-event"
44
- }
45
-
46
- // @public
47
- export class ErrorBuilder {
48
- build(): ErrorStructure;
49
- withAlert(alert: boolean): ErrorBuilder;
50
- withBanner(banner: ErrorBanner): ErrorBuilder;
51
- withDialog(dialog: ErrorDialog): ErrorBuilder;
52
- withErrorDetails(errorDetails: string): ErrorBuilder;
53
- withLogLevel(logLevel: LogLevel): ErrorBuilder;
54
- withNotification(notification: ErrorNotification): ErrorBuilder;
55
- withSnackbar(snackbar: Snackbar): ErrorBuilder;
56
- withTitle(title: string): ErrorBuilder;
57
- }
58
-
59
- // @public
60
- export interface ErrorDialog {
61
- // (undocumented)
62
- readonly confirmingActions?: Array<ConfirmingAction>;
63
- // (undocumented)
64
- readonly dismissingAction?: DismissingAction;
65
- }
66
-
67
- // @public
68
- export class ErrorDialogBuilder {
69
- build(): ErrorDialog;
70
- withConfirmingAction(confirmingAction: ConfirmingAction): ErrorDialogBuilder;
71
- withDismissingAction(dismissingAction: DismissingAction): ErrorDialogBuilder;
72
- }
73
-
74
- // Warning: (ae-internal-missing-underscore) The name "ErrorDialogElement" should be prefixed with an underscore because the declaration is marked as @internal
75
- //
76
- // @internal (undocumented)
77
- export type ErrorDialogElement = ErrorElement & {
78
- show: Function;
79
- };
80
-
81
- // Warning: (ae-internal-missing-underscore) The name "ErrorElement" should be prefixed with an underscore because the declaration is marked as @internal
82
- //
83
- // @internal (undocumented)
84
- export type ErrorElement = HTMLElement & {
85
- error: ErrorStructure;
86
- };
87
-
88
- // @public
89
- export interface ErrorNotification {
90
- // (undocumented)
91
- readonly autoClose?: boolean;
92
- // (undocumented)
93
- readonly closeTimeout?: number;
94
- // (undocumented)
95
- readonly position?: ErrorNotificationPosition;
96
- // (undocumented)
97
- readonly type?: ErrorNotificationType;
98
- }
99
-
100
- // @public
101
- export type ErrorNotificationPosition = 'top-left' | 'top-right' | 'bottom-left' | 'bottom-right';
102
-
103
- // @public
104
- export type ErrorNotificationType = 'warning' | 'success';
105
-
106
- // @public
107
- export interface ErrorStructure {
108
- // (undocumented)
109
- readonly config?: {
110
- readonly logLevel?: LogLevel;
111
- readonly alert?: boolean;
112
- readonly notification?: ErrorNotification;
113
- readonly banner?: ErrorBanner;
114
- readonly snackbar?: Snackbar;
115
- readonly dialog?: ErrorDialog;
116
- };
117
- // (undocumented)
118
- readonly errorDetails: string;
119
- // (undocumented)
120
- readonly logLevel?: LogLevel;
121
- // (undocumented)
122
- readonly title: string;
123
- }
124
-
125
- // @public
126
- export const getErrorBannerAnchor: (element: any) => HTMLElement | null;
127
-
128
- // @public
129
- export const getErrorBannerBuilder: () => ErrorBannerBuilder;
130
-
131
- // @public
132
- export const getErrorBuilder: () => ErrorBuilder;
133
-
134
- // @public
135
- export const getErrorContainer: (id: string, tagName: String) => HTMLElement;
136
-
137
- // @public
138
- export const getErrorDetails: (details: ErrorStructure) => string;
139
-
140
- // @public
141
- export const getErrorDialogBuilder: () => ErrorDialogBuilder;
142
-
143
- // @public
144
- export const getLoglevel: (details: ErrorStructure) => LogLevel;
145
-
146
- // @public
147
- export const getNotificationBuilder: () => NotificationBuilder;
148
-
149
- // @public
150
- export const getSnackbarBuilder: () => SnackbarBuilder;
151
-
152
- // @public
153
- export class NotificationBuilder {
154
- build(): ErrorNotification;
155
- withAutoClose(autoClose: boolean): NotificationBuilder;
156
- withCloseTimeout(closeTimeout: number): NotificationBuilder;
157
- withPosition(position: ErrorNotificationPosition): NotificationBuilder;
158
- withType(type: ErrorNotificationType): NotificationBuilder;
159
- }
160
-
161
- // @public
162
- export const showBanner: (error: ErrorStructure, tagName: String, errorBoundary: HTMLElement) => void;
163
-
164
- // Warning: (ae-internal-missing-underscore) The name "showDialog" should be prefixed with an underscore because the declaration is marked as @internal
165
- //
166
- // @internal
167
- export const showDialog: (error: ErrorStructure, tagName: String) => void;
168
-
169
- // @public
170
- export const showError: (error: ErrorStructure, tagName: String, errorBoundary?: HTMLElement) => void;
171
-
172
- // Warning: (ae-internal-missing-underscore) The name "showNotification" should be prefixed with an underscore because the declaration is marked as @internal
173
- //
174
- // @internal
175
- export const showNotification: (error: ErrorStructure, tagName: String) => void;
176
-
177
- // Warning: (ae-internal-missing-underscore) The name "showSnackbar" should be prefixed with an underscore because the declaration is marked as @internal
178
- //
179
- // @internal
180
- export const showSnackbar: (error: ErrorStructure, tagName: String) => void;
181
-
182
- // @public
183
- export interface Snackbar {
184
- // (undocumented)
185
- readonly confirmingActions?: Array<ConfirmingAction>;
186
- // (undocumented)
187
- readonly type?: SnackbarType;
188
- }
189
-
190
- // @public
191
- export class SnackbarBuilder {
192
- build(): Snackbar;
193
- withConfirmingAction(confirmingAction: ConfirmingAction): SnackbarBuilder;
194
- withType(type: SnackbarType): SnackbarBuilder;
195
- }
196
-
197
- // @public
198
- export type SnackbarType = 'error' | 'success';
199
-
200
- // (No @packageDocumentation comment for this package)
201
-
202
- ```