@genesislcap/foundation-errors 10.3.1 → 11.3.1

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 (139) hide show
  1. package/README.md +57 -0
  2. package/dist/dts/banner/error-banner-builder.d.ts +25 -0
  3. package/dist/dts/banner/error-banner-builder.d.ts.map +1 -1
  4. package/dist/dts/dialog/error-dialog-builder.d.ts +25 -0
  5. package/dist/dts/dialog/error-dialog-builder.d.ts.map +1 -1
  6. package/dist/dts/dialog/error-dialog-launcher.d.ts +1 -1
  7. package/dist/dts/dialog/error-dialog-launcher.d.ts.map +1 -1
  8. package/dist/dts/error-builder.d.ts +60 -0
  9. package/dist/dts/error-builder.d.ts.map +1 -1
  10. package/dist/dts/error-launcher.d.ts.map +1 -1
  11. package/dist/dts/logger.d.ts.map +1 -1
  12. package/dist/dts/notification/notification-builder.d.ts +32 -2
  13. package/dist/dts/notification/notification-builder.d.ts.map +1 -1
  14. package/dist/dts/notification/notification-launcher.d.ts +1 -1
  15. package/dist/dts/notification/notification-launcher.d.ts.map +1 -1
  16. package/dist/dts/snackbar/snackbar-builder.d.ts +15 -7
  17. package/dist/dts/snackbar/snackbar-builder.d.ts.map +1 -1
  18. package/dist/dts/snackbar/snackbar-launcher.d.ts +1 -1
  19. package/dist/dts/snackbar/snackbar-launcher.d.ts.map +1 -1
  20. package/dist/dts/types.d.ts +50 -2
  21. package/dist/dts/types.d.ts.map +1 -1
  22. package/dist/esm/banner/error-banner-builder.js +25 -1
  23. package/dist/esm/banner/index.js +0 -1
  24. package/dist/esm/dialog/error-dialog-builder.js +25 -1
  25. package/dist/esm/dialog/error-dialog-launcher.js +1 -2
  26. package/dist/esm/dialog/index.js +0 -1
  27. package/dist/esm/error-builder.js +60 -1
  28. package/dist/esm/error-launcher.js +2 -3
  29. package/dist/esm/error-util.js +0 -1
  30. package/dist/esm/index.federated.js +0 -1
  31. package/dist/esm/index.js +0 -1
  32. package/dist/esm/logger.js +0 -1
  33. package/dist/esm/notification/index.js +0 -1
  34. package/dist/esm/notification/notification-builder.js +30 -1
  35. package/dist/esm/notification/notification-launcher.js +1 -2
  36. package/dist/esm/snackbar/index.js +0 -1
  37. package/dist/esm/snackbar/snackbar-builder.js +13 -6
  38. package/dist/esm/snackbar/snackbar-launcher.js +1 -2
  39. package/dist/esm/types.js +4 -1
  40. package/dist/foundation-errors.api.json +103 -250
  41. package/dist/foundation-errors.d.ts +210 -12
  42. package/docs/.gitattributes +2 -0
  43. package/docs/api/foundation-errors.confirmingaction.md +2 -0
  44. package/docs/api/foundation-errors.dismissingaction.md +2 -0
  45. package/docs/api/foundation-errors.errorbanner.md +2 -0
  46. package/docs/api/foundation-errors.errorbannerbuilder.build.md +4 -0
  47. package/docs/api/foundation-errors.errorbannerbuilder.md +5 -3
  48. package/docs/api/foundation-errors.errorbannerbuilder.withconfirmingaction.md +4 -1
  49. package/docs/api/foundation-errors.errorbannerbuilder.withdismissingaction.md +4 -1
  50. package/docs/api/foundation-errors.errorboundaryevent.md +2 -0
  51. package/docs/api/foundation-errors.errorbuilder.build.md +3 -0
  52. package/docs/api/foundation-errors.errorbuilder.md +11 -9
  53. package/docs/api/foundation-errors.errorbuilder.withalert.md +4 -1
  54. package/docs/api/foundation-errors.errorbuilder.withbanner.md +4 -1
  55. package/docs/api/foundation-errors.errorbuilder.withdialog.md +4 -1
  56. package/docs/api/foundation-errors.errorbuilder.witherrordetails.md +4 -1
  57. package/docs/api/foundation-errors.errorbuilder.withloglevel.md +3 -0
  58. package/docs/api/foundation-errors.errorbuilder.withnotification.md +4 -1
  59. package/docs/api/foundation-errors.errorbuilder.withsnackbar.md +4 -1
  60. package/docs/api/foundation-errors.errorbuilder.withtitle.md +4 -1
  61. package/docs/api/foundation-errors.errordialog.md +2 -0
  62. package/docs/api/foundation-errors.errordialogbuilder.build.md +4 -0
  63. package/docs/api/foundation-errors.errordialogbuilder.md +5 -3
  64. package/docs/api/foundation-errors.errordialogbuilder.withconfirmingaction.md +4 -1
  65. package/docs/api/foundation-errors.errordialogbuilder.withdismissingaction.md +4 -1
  66. package/docs/api/foundation-errors.errornotification.md +3 -1
  67. package/docs/api/foundation-errors.errornotification.type.md +1 -1
  68. package/docs/api/foundation-errors.errornotificationtype.md +13 -0
  69. package/docs/api/foundation-errors.errorstructure.md +2 -0
  70. package/docs/api/foundation-errors.geterrorbannerbuilder.md +2 -0
  71. package/docs/api/foundation-errors.geterrorbuilder.md +2 -0
  72. package/docs/api/foundation-errors.geterrordialogbuilder.md +2 -0
  73. package/docs/api/foundation-errors.getnotificationbuilder.md +2 -0
  74. package/docs/api/foundation-errors.getsnackbarbuilder.md +2 -0
  75. package/docs/api/foundation-errors.md +20 -23
  76. package/docs/api/foundation-errors.notificationbuilder.build.md +4 -0
  77. package/docs/api/foundation-errors.notificationbuilder.md +6 -4
  78. package/docs/api/foundation-errors.notificationbuilder.withautoclose.md +4 -1
  79. package/docs/api/foundation-errors.notificationbuilder.withclosetimeout.md +4 -1
  80. package/docs/api/foundation-errors.notificationbuilder.withtype.md +5 -2
  81. package/docs/api/foundation-errors.snackbar.md +3 -1
  82. package/docs/api/foundation-errors.snackbar.type.md +1 -1
  83. package/docs/api/foundation-errors.snackbarbuilder.md +3 -1
  84. package/docs/api/foundation-errors.snackbarbuilder.withconfirmingaction.md +1 -1
  85. package/docs/api/foundation-errors.snackbarbuilder.withtype.md +3 -3
  86. package/docs/api/foundation-errors.snackbartype.md +13 -0
  87. package/docs/api-report.md +43 -46
  88. package/package.json +8 -8
  89. package/dist/1.0.0.remoteEntry.js +0 -1
  90. package/dist/145.145.48c3a34dc8598a016d9b.js +0 -2
  91. package/dist/145.9debf52d04b6fdb805987fa6a56e9266.js.map +0 -1
  92. package/dist/191.191.da8a5884febca6f1a439.js +0 -2
  93. package/dist/191.efd2fea1a42a47cddbf6e6ab15fbf2bb.js.map +0 -1
  94. package/dist/366.366.82702b77300a9353fc87.js +0 -2
  95. package/dist/366.a181180b871f72ff9f4ad3e3f3ea3734.js.map +0 -1
  96. package/dist/755.62d9698f4e62142b980949b517fded3f.js.map +0 -1
  97. package/dist/755.755.f8db61516204a76477a8.js +0 -2
  98. package/dist/dashboard.json +0 -1
  99. package/dist/esm/banner/error-banner-builder.js.map +0 -1
  100. package/dist/esm/banner/index.js.map +0 -1
  101. package/dist/esm/dialog/error-dialog-builder.js.map +0 -1
  102. package/dist/esm/dialog/error-dialog-launcher.js.map +0 -1
  103. package/dist/esm/dialog/index.js.map +0 -1
  104. package/dist/esm/error-builder.js.map +0 -1
  105. package/dist/esm/error-launcher.js.map +0 -1
  106. package/dist/esm/error-util.js.map +0 -1
  107. package/dist/esm/index.federated.js.map +0 -1
  108. package/dist/esm/index.js.map +0 -1
  109. package/dist/esm/logger.js.map +0 -1
  110. package/dist/esm/notification/index.js.map +0 -1
  111. package/dist/esm/notification/notification-builder.js.map +0 -1
  112. package/dist/esm/notification/notification-launcher.js.map +0 -1
  113. package/dist/esm/snackbar/index.js.map +0 -1
  114. package/dist/esm/snackbar/snackbar-builder.js.map +0 -1
  115. package/dist/esm/snackbar/snackbar-launcher.js.map +0 -1
  116. package/dist/esm/types.js.map +0 -1
  117. package/dist/favicon.ico +0 -0
  118. package/dist/foundation-errors.iife.min.js +0 -1
  119. package/dist/foundation-errors.js +0 -1240
  120. package/dist/foundation-errors.min.js +0 -1
  121. package/dist/foundationErrors.2c93e6eb2ef9200237968325716b6236.js.map +0 -1
  122. package/dist/index.ejs +0 -23
  123. package/dist/index.html +0 -10
  124. package/dist/info.ejs +0 -13
  125. package/dist/info.html +0 -14
  126. package/dist/main.32b6b5ccbc4fb35f99c6.js +0 -2
  127. package/dist/main.48adf629bdf2e8347fb7dc199f202017.js.map +0 -1
  128. package/dist/npm.consola.713.6bcc5abc1500250af5f5.js +0 -2
  129. package/dist/npm.consola.de429dd64b8dd7d3424e047e422d6ee1.js.map +0 -1
  130. package/dist/npm.microsoft.127.821cbcff47e0a34e88c9.js +0 -3
  131. package/dist/npm.microsoft.127.821cbcff47e0a34e88c9.js.LICENSE.txt +0 -14
  132. package/dist/npm.microsoft.4ae729aafa2e074df718ae9a73d16fa1.js.map +0 -1
  133. package/dist/remoteEntry.js +0 -2
  134. package/dist/serve.json +0 -3
  135. package/docs/api/foundation-errors.errordialogelement.md +0 -15
  136. package/docs/api/foundation-errors.errorelement.md +0 -15
  137. package/docs/api/foundation-errors.showdialog.md +0 -13
  138. package/docs/api/foundation-errors.shownotification.md +0 -13
  139. package/docs/api/foundation-errors.showsnackbar.md +0 -13
@@ -175,7 +175,7 @@
175
175
  {
176
176
  "kind": "Interface",
177
177
  "canonicalReference": "@genesislcap/foundation-errors!ConfirmingAction:interface",
178
- "docComment": "",
178
+ "docComment": "/**\n * Interface for Confirming Action configuration\n *\n * @public\n */\n",
179
179
  "excerptTokens": [
180
180
  {
181
181
  "kind": "Content",
@@ -249,7 +249,7 @@
249
249
  {
250
250
  "kind": "Interface",
251
251
  "canonicalReference": "@genesislcap/foundation-errors!DismissingAction:interface",
252
- "docComment": "",
252
+ "docComment": "/**\n * Interface for Dismissing Action configuration\n *\n * @public\n */\n",
253
253
  "excerptTokens": [
254
254
  {
255
255
  "kind": "Content",
@@ -323,7 +323,7 @@
323
323
  {
324
324
  "kind": "Interface",
325
325
  "canonicalReference": "@genesislcap/foundation-errors!ErrorBanner:interface",
326
- "docComment": "",
326
+ "docComment": "/**\n * Interface for Error Banner configuration\n *\n * @public\n */\n",
327
327
  "excerptTokens": [
328
328
  {
329
329
  "kind": "Content",
@@ -410,7 +410,7 @@
410
410
  {
411
411
  "kind": "Class",
412
412
  "canonicalReference": "@genesislcap/foundation-errors!ErrorBannerBuilder:class",
413
- "docComment": "",
413
+ "docComment": "/**\n * ErrorBannerBuilder to build ErrorBanner\n *\n * @public\n */\n",
414
414
  "excerptTokens": [
415
415
  {
416
416
  "kind": "Content",
@@ -426,7 +426,7 @@
426
426
  {
427
427
  "kind": "Method",
428
428
  "canonicalReference": "@genesislcap/foundation-errors!ErrorBannerBuilder#build:member(1)",
429
- "docComment": "",
429
+ "docComment": "/**\n * Build ErrorBanner\n *\n * @returns ErrorBanner\n *\n * @public\n */\n",
430
430
  "excerptTokens": [
431
431
  {
432
432
  "kind": "Content",
@@ -458,7 +458,7 @@
458
458
  {
459
459
  "kind": "Method",
460
460
  "canonicalReference": "@genesislcap/foundation-errors!ErrorBannerBuilder#withConfirmingAction:member(1)",
461
- "docComment": "",
461
+ "docComment": "/**\n * Add confirming action to ErrorBanner\n *\n * @param confirmingAction - {@link ConfirmingAction}\n *\n * @returns \n *\n * @public\n */\n",
462
462
  "excerptTokens": [
463
463
  {
464
464
  "kind": "Content",
@@ -508,7 +508,7 @@
508
508
  {
509
509
  "kind": "Method",
510
510
  "canonicalReference": "@genesislcap/foundation-errors!ErrorBannerBuilder#withDismissingAction:member(1)",
511
- "docComment": "",
511
+ "docComment": "/**\n * Add dismissing action to ErrorBanner\n *\n * @param dismissingAction - {@link DismissingAction}\n *\n * @returns \n *\n * @public\n */\n",
512
512
  "excerptTokens": [
513
513
  {
514
514
  "kind": "Content",
@@ -561,7 +561,7 @@
561
561
  {
562
562
  "kind": "Enum",
563
563
  "canonicalReference": "@genesislcap/foundation-errors!ErrorBoundaryEvent:enum",
564
- "docComment": "",
564
+ "docComment": "/**\n * enum for different types of error boundary events\n *\n * @public\n */\n",
565
565
  "excerptTokens": [
566
566
  {
567
567
  "kind": "Content",
@@ -599,7 +599,7 @@
599
599
  {
600
600
  "kind": "Class",
601
601
  "canonicalReference": "@genesislcap/foundation-errors!ErrorBuilder:class",
602
- "docComment": "",
602
+ "docComment": "/**\n * ErrorBuilder to build ErrorStructure\n *\n * @public\n */\n",
603
603
  "excerptTokens": [
604
604
  {
605
605
  "kind": "Content",
@@ -615,7 +615,7 @@
615
615
  {
616
616
  "kind": "Method",
617
617
  "canonicalReference": "@genesislcap/foundation-errors!ErrorBuilder#build:member(1)",
618
- "docComment": "",
618
+ "docComment": "/**\n * Build ErrorStructure\n *\n * @returns \n *\n * @public\n */\n",
619
619
  "excerptTokens": [
620
620
  {
621
621
  "kind": "Content",
@@ -647,7 +647,7 @@
647
647
  {
648
648
  "kind": "Method",
649
649
  "canonicalReference": "@genesislcap/foundation-errors!ErrorBuilder#withAlert:member(1)",
650
- "docComment": "",
650
+ "docComment": "/**\n * Add alert to error\n *\n * @param alert - boolean\n *\n * @returns \n *\n * @public\n */\n",
651
651
  "excerptTokens": [
652
652
  {
653
653
  "kind": "Content",
@@ -696,7 +696,7 @@
696
696
  {
697
697
  "kind": "Method",
698
698
  "canonicalReference": "@genesislcap/foundation-errors!ErrorBuilder#withBanner:member(1)",
699
- "docComment": "",
699
+ "docComment": "/**\n * Add banner to error\n *\n * @param banner - {@link ErrorBanner}\n *\n * @returns \n *\n * @public\n */\n",
700
700
  "excerptTokens": [
701
701
  {
702
702
  "kind": "Content",
@@ -746,7 +746,7 @@
746
746
  {
747
747
  "kind": "Method",
748
748
  "canonicalReference": "@genesislcap/foundation-errors!ErrorBuilder#withDialog:member(1)",
749
- "docComment": "",
749
+ "docComment": "/**\n * Add dialog to error\n *\n * @param dialog - {@link ErrorDialog}\n *\n * @returns \n *\n * @public\n */\n",
750
750
  "excerptTokens": [
751
751
  {
752
752
  "kind": "Content",
@@ -796,7 +796,7 @@
796
796
  {
797
797
  "kind": "Method",
798
798
  "canonicalReference": "@genesislcap/foundation-errors!ErrorBuilder#withErrorDetails:member(1)",
799
- "docComment": "",
799
+ "docComment": "/**\n * Add error details to error\n *\n * @param errorDetails - string\n *\n * @returns \n *\n * @public\n */\n",
800
800
  "excerptTokens": [
801
801
  {
802
802
  "kind": "Content",
@@ -845,7 +845,7 @@
845
845
  {
846
846
  "kind": "Method",
847
847
  "canonicalReference": "@genesislcap/foundation-errors!ErrorBuilder#withLogLevel:member(1)",
848
- "docComment": "",
848
+ "docComment": "/**\n * Add log level to error\n *\n * @returns \n *\n * @public\n */\n",
849
849
  "excerptTokens": [
850
850
  {
851
851
  "kind": "Content",
@@ -895,7 +895,7 @@
895
895
  {
896
896
  "kind": "Method",
897
897
  "canonicalReference": "@genesislcap/foundation-errors!ErrorBuilder#withNotification:member(1)",
898
- "docComment": "",
898
+ "docComment": "/**\n * Add notification to error\n *\n * @param notification - {@link ErrorNotification}\n *\n * @returns \n *\n * @public\n */\n",
899
899
  "excerptTokens": [
900
900
  {
901
901
  "kind": "Content",
@@ -945,7 +945,7 @@
945
945
  {
946
946
  "kind": "Method",
947
947
  "canonicalReference": "@genesislcap/foundation-errors!ErrorBuilder#withSnackbar:member(1)",
948
- "docComment": "",
948
+ "docComment": "/**\n * Add snackbar to error\n *\n * @param snackbar - {@link Snackbar}\n *\n * @returns \n *\n * @public\n */\n",
949
949
  "excerptTokens": [
950
950
  {
951
951
  "kind": "Content",
@@ -995,7 +995,7 @@
995
995
  {
996
996
  "kind": "Method",
997
997
  "canonicalReference": "@genesislcap/foundation-errors!ErrorBuilder#withTitle:member(1)",
998
- "docComment": "",
998
+ "docComment": "/**\n * Add title to error\n *\n * @param title - string\n *\n * @returns \n *\n * @public\n */\n",
999
999
  "excerptTokens": [
1000
1000
  {
1001
1001
  "kind": "Content",
@@ -1047,7 +1047,7 @@
1047
1047
  {
1048
1048
  "kind": "Interface",
1049
1049
  "canonicalReference": "@genesislcap/foundation-errors!ErrorDialog:interface",
1050
- "docComment": "",
1050
+ "docComment": "/**\n * Interface for Error Dialog configuration\n *\n * @public\n */\n",
1051
1051
  "excerptTokens": [
1052
1052
  {
1053
1053
  "kind": "Content",
@@ -1134,7 +1134,7 @@
1134
1134
  {
1135
1135
  "kind": "Class",
1136
1136
  "canonicalReference": "@genesislcap/foundation-errors!ErrorDialogBuilder:class",
1137
- "docComment": "",
1137
+ "docComment": "/**\n * ErrorDialogBuilder class\n *\n * @public\n */\n",
1138
1138
  "excerptTokens": [
1139
1139
  {
1140
1140
  "kind": "Content",
@@ -1150,7 +1150,7 @@
1150
1150
  {
1151
1151
  "kind": "Method",
1152
1152
  "canonicalReference": "@genesislcap/foundation-errors!ErrorDialogBuilder#build:member(1)",
1153
- "docComment": "",
1153
+ "docComment": "/**\n * Build ErrorDialog\n *\n * @returns ErrorDialog\n *\n * @public\n */\n",
1154
1154
  "excerptTokens": [
1155
1155
  {
1156
1156
  "kind": "Content",
@@ -1182,7 +1182,7 @@
1182
1182
  {
1183
1183
  "kind": "Method",
1184
1184
  "canonicalReference": "@genesislcap/foundation-errors!ErrorDialogBuilder#withConfirmingAction:member(1)",
1185
- "docComment": "",
1185
+ "docComment": "/**\n * Add confirming action to ErrorDialog\n *\n * @param confirmingAction - {@link ConfirmingAction}\n *\n * @returns \n *\n * @public\n */\n",
1186
1186
  "excerptTokens": [
1187
1187
  {
1188
1188
  "kind": "Content",
@@ -1232,7 +1232,7 @@
1232
1232
  {
1233
1233
  "kind": "Method",
1234
1234
  "canonicalReference": "@genesislcap/foundation-errors!ErrorDialogBuilder#withDismissingAction:member(1)",
1235
- "docComment": "",
1235
+ "docComment": "/**\n * Add dismissing action to ErrorDialog\n *\n * @param dismissingAction - {@link DismissingAction}\n *\n * @returns \n *\n * @public\n */\n",
1236
1236
  "excerptTokens": [
1237
1237
  {
1238
1238
  "kind": "Content",
@@ -1282,90 +1282,10 @@
1282
1282
  ],
1283
1283
  "implementsTokenRanges": []
1284
1284
  },
1285
- {
1286
- "kind": "TypeAlias",
1287
- "canonicalReference": "@genesislcap/foundation-errors!ErrorDialogElement:type",
1288
- "docComment": "",
1289
- "excerptTokens": [
1290
- {
1291
- "kind": "Content",
1292
- "text": "export type ErrorDialogElement = "
1293
- },
1294
- {
1295
- "kind": "Reference",
1296
- "text": "ErrorElement",
1297
- "canonicalReference": "@genesislcap/foundation-errors!ErrorElement:type"
1298
- },
1299
- {
1300
- "kind": "Content",
1301
- "text": " & {\n show: "
1302
- },
1303
- {
1304
- "kind": "Reference",
1305
- "text": "Function",
1306
- "canonicalReference": "!Function:interface"
1307
- },
1308
- {
1309
- "kind": "Content",
1310
- "text": ";\n}"
1311
- },
1312
- {
1313
- "kind": "Content",
1314
- "text": ";"
1315
- }
1316
- ],
1317
- "fileUrlPath": "src/types.ts",
1318
- "releaseTag": "Public",
1319
- "name": "ErrorDialogElement",
1320
- "typeTokenRange": {
1321
- "startIndex": 1,
1322
- "endIndex": 5
1323
- }
1324
- },
1325
- {
1326
- "kind": "TypeAlias",
1327
- "canonicalReference": "@genesislcap/foundation-errors!ErrorElement:type",
1328
- "docComment": "",
1329
- "excerptTokens": [
1330
- {
1331
- "kind": "Content",
1332
- "text": "export type ErrorElement = "
1333
- },
1334
- {
1335
- "kind": "Reference",
1336
- "text": "HTMLElement",
1337
- "canonicalReference": "!HTMLElement:interface"
1338
- },
1339
- {
1340
- "kind": "Content",
1341
- "text": " & {\n error: "
1342
- },
1343
- {
1344
- "kind": "Reference",
1345
- "text": "ErrorStructure",
1346
- "canonicalReference": "@genesislcap/foundation-errors!ErrorStructure:interface"
1347
- },
1348
- {
1349
- "kind": "Content",
1350
- "text": ";\n}"
1351
- },
1352
- {
1353
- "kind": "Content",
1354
- "text": ";"
1355
- }
1356
- ],
1357
- "fileUrlPath": "src/types.ts",
1358
- "releaseTag": "Public",
1359
- "name": "ErrorElement",
1360
- "typeTokenRange": {
1361
- "startIndex": 1,
1362
- "endIndex": 5
1363
- }
1364
- },
1365
1285
  {
1366
1286
  "kind": "Interface",
1367
1287
  "canonicalReference": "@genesislcap/foundation-errors!ErrorNotification:interface",
1368
- "docComment": "",
1288
+ "docComment": "/**\n * Interface for Error Notification configuration\n *\n * @public\n */\n",
1369
1289
  "excerptTokens": [
1370
1290
  {
1371
1291
  "kind": "Content",
@@ -1441,8 +1361,9 @@
1441
1361
  "text": "readonly type?: "
1442
1362
  },
1443
1363
  {
1444
- "kind": "Content",
1445
- "text": "'warning' | 'success' | ''"
1364
+ "kind": "Reference",
1365
+ "text": "ErrorNotificationType",
1366
+ "canonicalReference": "@genesislcap/foundation-errors!ErrorNotificationType:type"
1446
1367
  },
1447
1368
  {
1448
1369
  "kind": "Content",
@@ -1461,10 +1382,36 @@
1461
1382
  ],
1462
1383
  "extendsTokenRanges": []
1463
1384
  },
1385
+ {
1386
+ "kind": "TypeAlias",
1387
+ "canonicalReference": "@genesislcap/foundation-errors!ErrorNotificationType:type",
1388
+ "docComment": "/**\n * type for error notification type\n *\n * @public\n */\n",
1389
+ "excerptTokens": [
1390
+ {
1391
+ "kind": "Content",
1392
+ "text": "export type ErrorNotificationType = "
1393
+ },
1394
+ {
1395
+ "kind": "Content",
1396
+ "text": "'warning' | 'success'"
1397
+ },
1398
+ {
1399
+ "kind": "Content",
1400
+ "text": ";"
1401
+ }
1402
+ ],
1403
+ "fileUrlPath": "src/types.ts",
1404
+ "releaseTag": "Public",
1405
+ "name": "ErrorNotificationType",
1406
+ "typeTokenRange": {
1407
+ "startIndex": 1,
1408
+ "endIndex": 2
1409
+ }
1410
+ },
1464
1411
  {
1465
1412
  "kind": "Interface",
1466
1413
  "canonicalReference": "@genesislcap/foundation-errors!ErrorStructure:interface",
1467
- "docComment": "",
1414
+ "docComment": "/**\n * Interface for Error Structure\n *\n * @public\n */\n",
1468
1415
  "excerptTokens": [
1469
1416
  {
1470
1417
  "kind": "Content",
@@ -1636,7 +1583,7 @@
1636
1583
  {
1637
1584
  "kind": "Variable",
1638
1585
  "canonicalReference": "@genesislcap/foundation-errors!getErrorBannerBuilder:var",
1639
- "docComment": "",
1586
+ "docComment": "/**\n * Get error banner builder instance\n *\n * @public\n */\n",
1640
1587
  "excerptTokens": [
1641
1588
  {
1642
1589
  "kind": "Content",
@@ -1664,7 +1611,7 @@
1664
1611
  {
1665
1612
  "kind": "Variable",
1666
1613
  "canonicalReference": "@genesislcap/foundation-errors!getErrorBuilder:var",
1667
- "docComment": "",
1614
+ "docComment": "/**\n * Returns a new ErrorBuilder instance\n *\n * @public\n */\n",
1668
1615
  "excerptTokens": [
1669
1616
  {
1670
1617
  "kind": "Content",
@@ -1761,7 +1708,7 @@
1761
1708
  {
1762
1709
  "kind": "Variable",
1763
1710
  "canonicalReference": "@genesislcap/foundation-errors!getErrorDialogBuilder:var",
1764
- "docComment": "",
1711
+ "docComment": "/**\n * Returns an instance of ErrorDialogBuilder\n *\n * @public\n */\n",
1765
1712
  "excerptTokens": [
1766
1713
  {
1767
1714
  "kind": "Content",
@@ -1826,7 +1773,7 @@
1826
1773
  {
1827
1774
  "kind": "Variable",
1828
1775
  "canonicalReference": "@genesislcap/foundation-errors!getNotificationBuilder:var",
1829
- "docComment": "",
1776
+ "docComment": "/**\n * Get notification builder instance\n *\n * @public\n */\n",
1830
1777
  "excerptTokens": [
1831
1778
  {
1832
1779
  "kind": "Content",
@@ -1854,7 +1801,7 @@
1854
1801
  {
1855
1802
  "kind": "Variable",
1856
1803
  "canonicalReference": "@genesislcap/foundation-errors!getSnackbarBuilder:var",
1857
- "docComment": "",
1804
+ "docComment": "/**\n * Get snackbar builder instance\n *\n * @public\n */\n",
1858
1805
  "excerptTokens": [
1859
1806
  {
1860
1807
  "kind": "Content",
@@ -1882,7 +1829,7 @@
1882
1829
  {
1883
1830
  "kind": "Class",
1884
1831
  "canonicalReference": "@genesislcap/foundation-errors!NotificationBuilder:class",
1885
- "docComment": "",
1832
+ "docComment": "/**\n * NotificationBuilder to build ErrorNotification\n *\n * @public\n */\n",
1886
1833
  "excerptTokens": [
1887
1834
  {
1888
1835
  "kind": "Content",
@@ -1898,7 +1845,7 @@
1898
1845
  {
1899
1846
  "kind": "Method",
1900
1847
  "canonicalReference": "@genesislcap/foundation-errors!NotificationBuilder#build:member(1)",
1901
- "docComment": "",
1848
+ "docComment": "/**\n * Build notification\n *\n * @returns ErrorNotification\n */\n",
1902
1849
  "excerptTokens": [
1903
1850
  {
1904
1851
  "kind": "Content",
@@ -1930,7 +1877,7 @@
1930
1877
  {
1931
1878
  "kind": "Method",
1932
1879
  "canonicalReference": "@genesislcap/foundation-errors!NotificationBuilder#withAutoClose:member(1)",
1933
- "docComment": "",
1880
+ "docComment": "/**\n * Add auto close to notification\n *\n * @param autoClose - boolean\n *\n * @returns \n *\n * @public\n */\n",
1934
1881
  "excerptTokens": [
1935
1882
  {
1936
1883
  "kind": "Content",
@@ -1979,7 +1926,7 @@
1979
1926
  {
1980
1927
  "kind": "Method",
1981
1928
  "canonicalReference": "@genesislcap/foundation-errors!NotificationBuilder#withCloseTimeout:member(1)",
1982
- "docComment": "",
1929
+ "docComment": "/**\n * Add close timeout to notification\n *\n * @param closeTimeout - number\n *\n * @returns \n *\n * @public\n */\n",
1983
1930
  "excerptTokens": [
1984
1931
  {
1985
1932
  "kind": "Content",
@@ -2028,15 +1975,16 @@
2028
1975
  {
2029
1976
  "kind": "Method",
2030
1977
  "canonicalReference": "@genesislcap/foundation-errors!NotificationBuilder#withType:member(1)",
2031
- "docComment": "",
1978
+ "docComment": "/**\n * Add type to notification, if the type is anything other than 'warning' or 'success' do not add it\n *\n * @param type - {@link ErrorNotificationType}\n *\n * @returns \n *\n * @public\n */\n",
2032
1979
  "excerptTokens": [
2033
1980
  {
2034
1981
  "kind": "Content",
2035
1982
  "text": "withType(type: "
2036
1983
  },
2037
1984
  {
2038
- "kind": "Content",
2039
- "text": "'warning' | 'success' | ''"
1985
+ "kind": "Reference",
1986
+ "text": "ErrorNotificationType",
1987
+ "canonicalReference": "@genesislcap/foundation-errors!ErrorNotificationType:type"
2040
1988
  },
2041
1989
  {
2042
1990
  "kind": "Content",
@@ -2077,47 +2025,6 @@
2077
2025
  ],
2078
2026
  "implementsTokenRanges": []
2079
2027
  },
2080
- {
2081
- "kind": "Variable",
2082
- "canonicalReference": "@genesislcap/foundation-errors!showDialog:var",
2083
- "docComment": "/**\n * Shows the error dialog\n *\n * @param error - The ErrorStructure object\n *\n * @param tagName - The tag name to create prefix for the design system provider & error component\n *\n * @returns \n *\n * @public\n */\n",
2084
- "excerptTokens": [
2085
- {
2086
- "kind": "Content",
2087
- "text": "showDialog: "
2088
- },
2089
- {
2090
- "kind": "Content",
2091
- "text": "(error: "
2092
- },
2093
- {
2094
- "kind": "Reference",
2095
- "text": "ErrorStructure",
2096
- "canonicalReference": "@genesislcap/foundation-errors!ErrorStructure:interface"
2097
- },
2098
- {
2099
- "kind": "Content",
2100
- "text": ", tagName: "
2101
- },
2102
- {
2103
- "kind": "Reference",
2104
- "text": "String",
2105
- "canonicalReference": "!String:interface"
2106
- },
2107
- {
2108
- "kind": "Content",
2109
- "text": ") => void"
2110
- }
2111
- ],
2112
- "fileUrlPath": "src/dialog/error-dialog-launcher.ts",
2113
- "isReadonly": true,
2114
- "releaseTag": "Public",
2115
- "name": "showDialog",
2116
- "variableTypeTokenRange": {
2117
- "startIndex": 1,
2118
- "endIndex": 6
2119
- }
2120
- },
2121
2028
  {
2122
2029
  "kind": "Variable",
2123
2030
  "canonicalReference": "@genesislcap/foundation-errors!showError:var",
@@ -2159,92 +2066,10 @@
2159
2066
  "endIndex": 6
2160
2067
  }
2161
2068
  },
2162
- {
2163
- "kind": "Variable",
2164
- "canonicalReference": "@genesislcap/foundation-errors!showNotification:var",
2165
- "docComment": "/**\n * Shows the error notification\n *\n * @param error - The ErrorStructure object\n *\n * @param tagName - The tag name to create prefix for the design system provider & error component\n *\n * @returns \n *\n * @public\n */\n",
2166
- "excerptTokens": [
2167
- {
2168
- "kind": "Content",
2169
- "text": "showNotification: "
2170
- },
2171
- {
2172
- "kind": "Content",
2173
- "text": "(error: "
2174
- },
2175
- {
2176
- "kind": "Reference",
2177
- "text": "ErrorStructure",
2178
- "canonicalReference": "@genesislcap/foundation-errors!ErrorStructure:interface"
2179
- },
2180
- {
2181
- "kind": "Content",
2182
- "text": ", tagName: "
2183
- },
2184
- {
2185
- "kind": "Reference",
2186
- "text": "String",
2187
- "canonicalReference": "!String:interface"
2188
- },
2189
- {
2190
- "kind": "Content",
2191
- "text": ") => void"
2192
- }
2193
- ],
2194
- "fileUrlPath": "src/notification/notification-launcher.ts",
2195
- "isReadonly": true,
2196
- "releaseTag": "Public",
2197
- "name": "showNotification",
2198
- "variableTypeTokenRange": {
2199
- "startIndex": 1,
2200
- "endIndex": 6
2201
- }
2202
- },
2203
- {
2204
- "kind": "Variable",
2205
- "canonicalReference": "@genesislcap/foundation-errors!showSnackbar:var",
2206
- "docComment": "/**\n * Shows the snackbar\n *\n * @param error - The ErrorStructure object\n *\n * @param tagName - The tag name to create prefix for the design system provider & error component\n *\n * @returns \n *\n * @public\n */\n",
2207
- "excerptTokens": [
2208
- {
2209
- "kind": "Content",
2210
- "text": "showSnackbar: "
2211
- },
2212
- {
2213
- "kind": "Content",
2214
- "text": "(error: "
2215
- },
2216
- {
2217
- "kind": "Reference",
2218
- "text": "ErrorStructure",
2219
- "canonicalReference": "@genesislcap/foundation-errors!ErrorStructure:interface"
2220
- },
2221
- {
2222
- "kind": "Content",
2223
- "text": ", tagName: "
2224
- },
2225
- {
2226
- "kind": "Reference",
2227
- "text": "String",
2228
- "canonicalReference": "!String:interface"
2229
- },
2230
- {
2231
- "kind": "Content",
2232
- "text": ") => void"
2233
- }
2234
- ],
2235
- "fileUrlPath": "src/snackbar/snackbar-launcher.ts",
2236
- "isReadonly": true,
2237
- "releaseTag": "Public",
2238
- "name": "showSnackbar",
2239
- "variableTypeTokenRange": {
2240
- "startIndex": 1,
2241
- "endIndex": 6
2242
- }
2243
- },
2244
2069
  {
2245
2070
  "kind": "Interface",
2246
2071
  "canonicalReference": "@genesislcap/foundation-errors!Snackbar:interface",
2247
- "docComment": "",
2072
+ "docComment": "/**\n * Interface for Error Snackbar configuration\n *\n * @public\n */\n",
2248
2073
  "excerptTokens": [
2249
2074
  {
2250
2075
  "kind": "Content",
@@ -2307,8 +2132,9 @@
2307
2132
  "text": "readonly type?: "
2308
2133
  },
2309
2134
  {
2310
- "kind": "Content",
2311
- "text": "'error' | ''"
2135
+ "kind": "Reference",
2136
+ "text": "SnackbarType",
2137
+ "canonicalReference": "@genesislcap/foundation-errors!SnackbarType:type"
2312
2138
  },
2313
2139
  {
2314
2140
  "kind": "Content",
@@ -2330,7 +2156,7 @@
2330
2156
  {
2331
2157
  "kind": "Class",
2332
2158
  "canonicalReference": "@genesislcap/foundation-errors!SnackbarBuilder:class",
2333
- "docComment": "",
2159
+ "docComment": "/**\n * SnackbarBuilder to build Snackbar\n *\n * @public\n */\n",
2334
2160
  "excerptTokens": [
2335
2161
  {
2336
2162
  "kind": "Content",
@@ -2378,7 +2204,7 @@
2378
2204
  {
2379
2205
  "kind": "Method",
2380
2206
  "canonicalReference": "@genesislcap/foundation-errors!SnackbarBuilder#withConfirmingAction:member(1)",
2381
- "docComment": "/**\n * Add confirming action to snackbar\n *\n * @param confirmingAction - \n *\n * @returns \n *\n * @public\n */\n",
2207
+ "docComment": "/**\n * Add confirming action to snackbar\n *\n * @param confirmingAction - {@link ConfirmingAction}\n *\n * @returns \n *\n * @public\n */\n",
2382
2208
  "excerptTokens": [
2383
2209
  {
2384
2210
  "kind": "Content",
@@ -2428,15 +2254,16 @@
2428
2254
  {
2429
2255
  "kind": "Method",
2430
2256
  "canonicalReference": "@genesislcap/foundation-errors!SnackbarBuilder#withType:member(1)",
2431
- "docComment": "/**\n * Add type to snackbar\n *\n * @param type - \n *\n * @returns \n *\n * @public\n */\n",
2257
+ "docComment": "/**\n * Add type to snackbar, if the type is anything other than 'error' do not add it\n *\n * @param type - {@link SnackbarType}\n *\n * @returns \n *\n * @public\n */\n",
2432
2258
  "excerptTokens": [
2433
2259
  {
2434
2260
  "kind": "Content",
2435
2261
  "text": "withType(type: "
2436
2262
  },
2437
2263
  {
2438
- "kind": "Content",
2439
- "text": "'error' | ''"
2264
+ "kind": "Reference",
2265
+ "text": "SnackbarType",
2266
+ "canonicalReference": "@genesislcap/foundation-errors!SnackbarType:type"
2440
2267
  },
2441
2268
  {
2442
2269
  "kind": "Content",
@@ -2476,6 +2303,32 @@
2476
2303
  }
2477
2304
  ],
2478
2305
  "implementsTokenRanges": []
2306
+ },
2307
+ {
2308
+ "kind": "TypeAlias",
2309
+ "canonicalReference": "@genesislcap/foundation-errors!SnackbarType:type",
2310
+ "docComment": "/**\n * type for snackbar type\n *\n * @public\n */\n",
2311
+ "excerptTokens": [
2312
+ {
2313
+ "kind": "Content",
2314
+ "text": "export type SnackbarType = "
2315
+ },
2316
+ {
2317
+ "kind": "Content",
2318
+ "text": "'error'"
2319
+ },
2320
+ {
2321
+ "kind": "Content",
2322
+ "text": ";"
2323
+ }
2324
+ ],
2325
+ "fileUrlPath": "src/types.ts",
2326
+ "releaseTag": "Public",
2327
+ "name": "SnackbarType",
2328
+ "typeTokenRange": {
2329
+ "startIndex": 1,
2330
+ "endIndex": 2
2331
+ }
2479
2332
  }
2480
2333
  ]
2481
2334
  }