@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,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; [getErrorBannerAnchor](./foundation-errors.geterrorbanneranchor.md)
4
-
5
- ## getErrorBannerAnchor() function
6
-
7
- Get the error banner anchor to attach the banner to
8
-
9
- **Signature:**
10
-
11
- ```typescript
12
- getErrorBannerAnchor: (element: any) => HTMLElement | null
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
- element
36
-
37
-
38
- </td><td>
39
-
40
- any
41
-
42
-
43
- </td><td>
44
-
45
- The element to start searching from
46
-
47
-
48
- </td></tr>
49
- </tbody></table>
50
-
51
- **Returns:**
52
-
53
- HTMLElement \| null
54
-
55
-
@@ -1,17 +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; [getErrorBannerBuilder](./foundation-errors.geterrorbannerbuilder.md)
4
-
5
- ## getErrorBannerBuilder() function
6
-
7
- Get error banner builder instance
8
-
9
- **Signature:**
10
-
11
- ```typescript
12
- getErrorBannerBuilder: () => ErrorBannerBuilder
13
- ```
14
- **Returns:**
15
-
16
- [ErrorBannerBuilder](./foundation-errors.errorbannerbuilder.md)
17
-
@@ -1,17 +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; [getErrorBuilder](./foundation-errors.geterrorbuilder.md)
4
-
5
- ## getErrorBuilder() function
6
-
7
- Returns a new ErrorBuilder instance
8
-
9
- **Signature:**
10
-
11
- ```typescript
12
- getErrorBuilder: () => ErrorBuilder
13
- ```
14
- **Returns:**
15
-
16
- [ErrorBuilder](./foundation-errors.errorbuilder.md)
17
-
@@ -1,71 +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; [getErrorContainer](./foundation-errors.geterrorcontainer.md)
4
-
5
- ## getErrorContainer() function
6
-
7
- Get/Create the error container in the DOM
8
-
9
- **Signature:**
10
-
11
- ```typescript
12
- getErrorContainer: (id: string, tagName: String) => HTMLElement
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
- id
36
-
37
-
38
- </td><td>
39
-
40
- string
41
-
42
-
43
- </td><td>
44
-
45
- The id of the container
46
-
47
-
48
- </td></tr>
49
- <tr><td>
50
-
51
- tagName
52
-
53
-
54
- </td><td>
55
-
56
- String
57
-
58
-
59
- </td><td>
60
-
61
- The tag name to create prefix for the design system provider
62
-
63
-
64
- </td></tr>
65
- </tbody></table>
66
-
67
- **Returns:**
68
-
69
- HTMLElement
70
-
71
-
@@ -1,56 +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; [getErrorDetails](./foundation-errors.geterrordetails.md)
4
-
5
- ## getErrorDetails() function
6
-
7
- Retrieves the error details from an ErrorStructure object
8
-
9
- **Signature:**
10
-
11
- ```typescript
12
- getErrorDetails: (details: ErrorStructure) => string
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
- details
36
-
37
-
38
- </td><td>
39
-
40
- [ErrorStructure](./foundation-errors.errorstructure.md)
41
-
42
-
43
- </td><td>
44
-
45
- The ErrorStructure object
46
-
47
-
48
- </td></tr>
49
- </tbody></table>
50
-
51
- **Returns:**
52
-
53
- string
54
-
55
- The title and error details concatenated as a string, or default values ('Error: Something went wrong') if not present
56
-
@@ -1,17 +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; [getErrorDialogBuilder](./foundation-errors.geterrordialogbuilder.md)
4
-
5
- ## getErrorDialogBuilder() function
6
-
7
- Returns an instance of ErrorDialogBuilder
8
-
9
- **Signature:**
10
-
11
- ```typescript
12
- getErrorDialogBuilder: () => ErrorDialogBuilder
13
- ```
14
- **Returns:**
15
-
16
- [ErrorDialogBuilder](./foundation-errors.errordialogbuilder.md)
17
-
@@ -1,56 +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; [getLoglevel](./foundation-errors.getloglevel.md)
4
-
5
- ## getLoglevel() function
6
-
7
- Retrieves the log level from an ErrorStructure object
8
-
9
- **Signature:**
10
-
11
- ```typescript
12
- getLoglevel: (details: ErrorStructure) => LogLevel
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
- details
36
-
37
-
38
- </td><td>
39
-
40
- [ErrorStructure](./foundation-errors.errorstructure.md)
41
-
42
-
43
- </td><td>
44
-
45
- The ErrorStructure object
46
-
47
-
48
- </td></tr>
49
- </tbody></table>
50
-
51
- **Returns:**
52
-
53
- LogLevel
54
-
55
- The log level or the default value (LogLevel.Error) if not present
56
-
@@ -1,17 +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; [getNotificationBuilder](./foundation-errors.getnotificationbuilder.md)
4
-
5
- ## getNotificationBuilder() function
6
-
7
- Get notification builder instance
8
-
9
- **Signature:**
10
-
11
- ```typescript
12
- getNotificationBuilder: () => NotificationBuilder
13
- ```
14
- **Returns:**
15
-
16
- [NotificationBuilder](./foundation-errors.notificationbuilder.md)
17
-
@@ -1,17 +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; [getSnackbarBuilder](./foundation-errors.getsnackbarbuilder.md)
4
-
5
- ## getSnackbarBuilder() function
6
-
7
- Get snackbar builder instance
8
-
9
- **Signature:**
10
-
11
- ```typescript
12
- getSnackbarBuilder: () => SnackbarBuilder
13
- ```
14
- **Returns:**
15
-
16
- [SnackbarBuilder](./foundation-errors.snackbarbuilder.md)
17
-
@@ -1,378 +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)
4
-
5
- ## foundation-errors package
6
-
7
- ## Classes
8
-
9
- <table><thead><tr><th>
10
-
11
- Class
12
-
13
-
14
- </th><th>
15
-
16
- Description
17
-
18
-
19
- </th></tr></thead>
20
- <tbody><tr><td>
21
-
22
- [ErrorBannerBuilder](./foundation-errors.errorbannerbuilder.md)
23
-
24
-
25
- </td><td>
26
-
27
- ErrorBannerBuilder to build ErrorBanner
28
-
29
-
30
- </td></tr>
31
- <tr><td>
32
-
33
- [ErrorBuilder](./foundation-errors.errorbuilder.md)
34
-
35
-
36
- </td><td>
37
-
38
- ErrorBuilder to build ErrorStructure
39
-
40
-
41
- </td></tr>
42
- <tr><td>
43
-
44
- [ErrorDialogBuilder](./foundation-errors.errordialogbuilder.md)
45
-
46
-
47
- </td><td>
48
-
49
- ErrorDialogBuilder class
50
-
51
-
52
- </td></tr>
53
- <tr><td>
54
-
55
- [NotificationBuilder](./foundation-errors.notificationbuilder.md)
56
-
57
-
58
- </td><td>
59
-
60
- NotificationBuilder to build ErrorNotification
61
-
62
-
63
- </td></tr>
64
- <tr><td>
65
-
66
- [SnackbarBuilder](./foundation-errors.snackbarbuilder.md)
67
-
68
-
69
- </td><td>
70
-
71
- SnackbarBuilder to build Snackbar
72
-
73
-
74
- </td></tr>
75
- </tbody></table>
76
-
77
- ## Enumerations
78
-
79
- <table><thead><tr><th>
80
-
81
- Enumeration
82
-
83
-
84
- </th><th>
85
-
86
- Description
87
-
88
-
89
- </th></tr></thead>
90
- <tbody><tr><td>
91
-
92
- [ErrorBoundaryEvent](./foundation-errors.errorboundaryevent.md)
93
-
94
-
95
- </td><td>
96
-
97
- enum for different types of error boundary events
98
-
99
-
100
- </td></tr>
101
- </tbody></table>
102
-
103
- ## Functions
104
-
105
- <table><thead><tr><th>
106
-
107
- Function
108
-
109
-
110
- </th><th>
111
-
112
- Description
113
-
114
-
115
- </th></tr></thead>
116
- <tbody><tr><td>
117
-
118
- [getErrorBannerAnchor(element)](./foundation-errors.geterrorbanneranchor.md)
119
-
120
-
121
- </td><td>
122
-
123
- Get the error banner anchor to attach the banner to
124
-
125
-
126
- </td></tr>
127
- <tr><td>
128
-
129
- [getErrorBannerBuilder()](./foundation-errors.geterrorbannerbuilder.md)
130
-
131
-
132
- </td><td>
133
-
134
- Get error banner builder instance
135
-
136
-
137
- </td></tr>
138
- <tr><td>
139
-
140
- [getErrorBuilder()](./foundation-errors.geterrorbuilder.md)
141
-
142
-
143
- </td><td>
144
-
145
- Returns a new ErrorBuilder instance
146
-
147
-
148
- </td></tr>
149
- <tr><td>
150
-
151
- [getErrorContainer(id, tagName)](./foundation-errors.geterrorcontainer.md)
152
-
153
-
154
- </td><td>
155
-
156
- Get/Create the error container in the DOM
157
-
158
-
159
- </td></tr>
160
- <tr><td>
161
-
162
- [getErrorDetails(details)](./foundation-errors.geterrordetails.md)
163
-
164
-
165
- </td><td>
166
-
167
- Retrieves the error details from an ErrorStructure object
168
-
169
-
170
- </td></tr>
171
- <tr><td>
172
-
173
- [getErrorDialogBuilder()](./foundation-errors.geterrordialogbuilder.md)
174
-
175
-
176
- </td><td>
177
-
178
- Returns an instance of ErrorDialogBuilder
179
-
180
-
181
- </td></tr>
182
- <tr><td>
183
-
184
- [getLoglevel(details)](./foundation-errors.getloglevel.md)
185
-
186
-
187
- </td><td>
188
-
189
- Retrieves the log level from an ErrorStructure object
190
-
191
-
192
- </td></tr>
193
- <tr><td>
194
-
195
- [getNotificationBuilder()](./foundation-errors.getnotificationbuilder.md)
196
-
197
-
198
- </td><td>
199
-
200
- Get notification builder instance
201
-
202
-
203
- </td></tr>
204
- <tr><td>
205
-
206
- [getSnackbarBuilder()](./foundation-errors.getsnackbarbuilder.md)
207
-
208
-
209
- </td><td>
210
-
211
- Get snackbar builder instance
212
-
213
-
214
- </td></tr>
215
- <tr><td>
216
-
217
- [showBanner(error, tagName, errorBoundary)](./foundation-errors.showbanner.md)
218
-
219
-
220
- </td><td>
221
-
222
- Shows the error dialog
223
-
224
-
225
- </td></tr>
226
- <tr><td>
227
-
228
- [showError(error, tagName, errorBoundary)](./foundation-errors.showerror.md)
229
-
230
-
231
- </td><td>
232
-
233
- Shows the error in the appropriate component
234
-
235
-
236
- </td></tr>
237
- </tbody></table>
238
-
239
- ## Interfaces
240
-
241
- <table><thead><tr><th>
242
-
243
- Interface
244
-
245
-
246
- </th><th>
247
-
248
- Description
249
-
250
-
251
- </th></tr></thead>
252
- <tbody><tr><td>
253
-
254
- [ConfirmingAction](./foundation-errors.confirmingaction.md)
255
-
256
-
257
- </td><td>
258
-
259
- Interface for Confirming Action configuration
260
-
261
-
262
- </td></tr>
263
- <tr><td>
264
-
265
- [DismissingAction](./foundation-errors.dismissingaction.md)
266
-
267
-
268
- </td><td>
269
-
270
- Interface for Dismissing Action configuration
271
-
272
-
273
- </td></tr>
274
- <tr><td>
275
-
276
- [ErrorBanner](./foundation-errors.errorbanner.md)
277
-
278
-
279
- </td><td>
280
-
281
- Interface for Error Banner configuration
282
-
283
-
284
- </td></tr>
285
- <tr><td>
286
-
287
- [ErrorDialog](./foundation-errors.errordialog.md)
288
-
289
-
290
- </td><td>
291
-
292
- Interface for Error Dialog configuration
293
-
294
-
295
- </td></tr>
296
- <tr><td>
297
-
298
- [ErrorNotification](./foundation-errors.errornotification.md)
299
-
300
-
301
- </td><td>
302
-
303
- Interface for Error Notification configuration
304
-
305
-
306
- </td></tr>
307
- <tr><td>
308
-
309
- [ErrorStructure](./foundation-errors.errorstructure.md)
310
-
311
-
312
- </td><td>
313
-
314
- Interface for Error Structure
315
-
316
-
317
- </td></tr>
318
- <tr><td>
319
-
320
- [Snackbar](./foundation-errors.snackbar.md)
321
-
322
-
323
- </td><td>
324
-
325
- Interface for Error Snackbar configuration
326
-
327
-
328
- </td></tr>
329
- </tbody></table>
330
-
331
- ## Type Aliases
332
-
333
- <table><thead><tr><th>
334
-
335
- Type Alias
336
-
337
-
338
- </th><th>
339
-
340
- Description
341
-
342
-
343
- </th></tr></thead>
344
- <tbody><tr><td>
345
-
346
- [ErrorNotificationPosition](./foundation-errors.errornotificationposition.md)
347
-
348
-
349
- </td><td>
350
-
351
- type for error notification position
352
-
353
-
354
- </td></tr>
355
- <tr><td>
356
-
357
- [ErrorNotificationType](./foundation-errors.errornotificationtype.md)
358
-
359
-
360
- </td><td>
361
-
362
- type for error notification type
363
-
364
-
365
- </td></tr>
366
- <tr><td>
367
-
368
- [SnackbarType](./foundation-errors.snackbartype.md)
369
-
370
-
371
- </td><td>
372
-
373
- type for snackbar type
374
-
375
-
376
- </td></tr>
377
- </tbody></table>
378
-