@genesislcap/foundation-errors 14.155.2-alpha-d9bfff1.0 → 14.156.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.
@@ -1,4 +1,4 @@
1
- import { ErrorDialog, DismissingAction, ConfirmingAction, DialogType } from '../types';
1
+ import { ErrorDialog, DismissingAction, ConfirmingAction } from '../types';
2
2
  /**
3
3
  * ErrorDialogBuilder class
4
4
  * @public
@@ -6,7 +6,6 @@ import { ErrorDialog, DismissingAction, ConfirmingAction, DialogType } from '../
6
6
  export declare class ErrorDialogBuilder {
7
7
  private dismissingAction;
8
8
  private confirmingActions;
9
- private dialogType;
10
9
  /**
11
10
  * Add dismissing action to ErrorDialog
12
11
  * @public
@@ -21,13 +20,6 @@ export declare class ErrorDialogBuilder {
21
20
  * @returns
22
21
  */
23
22
  withConfirmingAction(confirmingAction: ConfirmingAction): ErrorDialogBuilder;
24
- /**
25
- * Add type to ErrorDialog
26
- * @public
27
- * @param dialogType - {@link DialogType}
28
- * @returns
29
- */
30
- withDialogType(dialogType: DialogType): ErrorDialogBuilder;
31
23
  /**
32
24
  * Build ErrorDialog
33
25
  * @public
@@ -1 +1 @@
1
- {"version":3,"file":"error-dialog-builder.d.ts","sourceRoot":"","sources":["../../../src/dialog/error-dialog-builder.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,gBAAgB,EAAE,gBAAgB,EAAE,UAAU,EAAE,MAAM,UAAU,CAAC;AAEvF;;;GAGG;AACH,qBAAa,kBAAkB;IAC7B,OAAO,CAAC,gBAAgB,CAAmB;IAC3C,OAAO,CAAC,iBAAiB,CAA0B;IACnD,OAAO,CAAC,UAAU,CAAa;IAE/B;;;;;OAKG;IACI,oBAAoB,CAAC,gBAAgB,EAAE,gBAAgB,GAAG,kBAAkB;IAKnF;;;;;OAKG;IACI,oBAAoB,CAAC,gBAAgB,EAAE,gBAAgB,GAAG,kBAAkB;IAQnF;;;;;OAKG;IACI,cAAc,CAAC,UAAU,EAAE,UAAU,GAAG,kBAAkB;IAKjE;;;;OAIG;IACI,KAAK,IAAI,WAAW;CAU5B;AAED;;;GAGG;AACH,eAAO,MAAM,qBAAqB,QAAO,kBAA8C,CAAC"}
1
+ {"version":3,"file":"error-dialog-builder.d.ts","sourceRoot":"","sources":["../../../src/dialog/error-dialog-builder.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,gBAAgB,EAAE,gBAAgB,EAAE,MAAM,UAAU,CAAC;AAE3E;;;GAGG;AACH,qBAAa,kBAAkB;IAC7B,OAAO,CAAC,gBAAgB,CAAmB;IAC3C,OAAO,CAAC,iBAAiB,CAA0B;IAEnD;;;;;OAKG;IACI,oBAAoB,CAAC,gBAAgB,EAAE,gBAAgB,GAAG,kBAAkB;IAKnF;;;;;OAKG;IACI,oBAAoB,CAAC,gBAAgB,EAAE,gBAAgB,GAAG,kBAAkB;IAQnF;;;;OAIG;IACI,KAAK,IAAI,WAAW;CAU5B;AAED;;;GAGG;AACH,eAAO,MAAM,qBAAqB,QAAO,kBAA8C,CAAC"}
@@ -42,11 +42,6 @@ export interface ConfirmingAction {
42
42
  readonly label: String;
43
43
  readonly action: Function;
44
44
  }
45
- /**
46
- * @public
47
- * Type for dialog
48
- */
49
- export type DialogType = 'default' | 'error' | 'success';
50
45
  /**
51
46
  * Interface for Error Dialog configuration
52
47
  * @public
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,gCAAgC,CAAC;AAE1D;;;GAGG;AACH,oBAAY,kBAAkB;IAC5B,oBAAoB,yBAAyB;CAC9C;AAED;;;GAGG;AACH,MAAM,MAAM,qBAAqB,GAAG,SAAS,GAAG,SAAS,CAAC;AAE1D;;;GAGG;AACH,MAAM,MAAM,yBAAyB,GAAG,UAAU,GAAG,WAAW,GAAG,aAAa,GAAG,cAAc,CAAC;AAEl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,QAAQ,CAAC,YAAY,CAAC,EAAE,iBAAiB,CAAC;QAC1C,QAAQ,CAAC,MAAM,CAAC,EAAE,WAAW,CAAC;QAC9B,QAAQ,CAAC,QAAQ,CAAC,EAAE,QAAQ,CAAC;QAC7B,QAAQ,CAAC,MAAM,CAAC,EAAE,WAAW,CAAC;KAC/B,CAAC;CACH;AAED;;GAEG;AACH,MAAM,MAAM,YAAY,GAAG,WAAW,GAAG;IAAE,KAAK,EAAE,cAAc,CAAA;CAAE,CAAC;AAEnE;;GAEG;AACH,MAAM,MAAM,kBAAkB,GAAG,YAAY,GAAG;IAAE,IAAI,EAAE,QAAQ,CAAA;CAAE,CAAC"}
@@ -26,16 +26,6 @@ export class ErrorDialogBuilder {
26
26
  this.confirmingActions.push(confirmingAction);
27
27
  return this;
28
28
  }
29
- /**
30
- * Add type to ErrorDialog
31
- * @public
32
- * @param dialogType - {@link DialogType}
33
- * @returns
34
- */
35
- withDialogType(dialogType) {
36
- this.dialogType = dialogType;
37
- return this;
38
- }
39
29
  /**
40
30
  * Build ErrorDialog
41
31
  * @public
@@ -246,32 +246,6 @@
246
246
  ],
247
247
  "extendsTokenRanges": []
248
248
  },
249
- {
250
- "kind": "TypeAlias",
251
- "canonicalReference": "@genesislcap/foundation-errors!DialogType:type",
252
- "docComment": "/**\n * Type for dialog\n *\n * @public\n */\n",
253
- "excerptTokens": [
254
- {
255
- "kind": "Content",
256
- "text": "export type DialogType = "
257
- },
258
- {
259
- "kind": "Content",
260
- "text": "'default' | 'error' | 'success'"
261
- },
262
- {
263
- "kind": "Content",
264
- "text": ";"
265
- }
266
- ],
267
- "fileUrlPath": "src/types.ts",
268
- "releaseTag": "Public",
269
- "name": "DialogType",
270
- "typeTokenRange": {
271
- "startIndex": 1,
272
- "endIndex": 2
273
- }
274
- },
275
249
  {
276
250
  "kind": "Interface",
277
251
  "canonicalReference": "@genesislcap/foundation-errors!DismissingAction:interface",
@@ -1255,56 +1229,6 @@
1255
1229
  "isAbstract": false,
1256
1230
  "name": "withConfirmingAction"
1257
1231
  },
1258
- {
1259
- "kind": "Method",
1260
- "canonicalReference": "@genesislcap/foundation-errors!ErrorDialogBuilder#withDialogType:member(1)",
1261
- "docComment": "/**\n * Add type to ErrorDialog\n *\n * @param dialogType - {@link DialogType}\n *\n * @returns \n *\n * @public\n */\n",
1262
- "excerptTokens": [
1263
- {
1264
- "kind": "Content",
1265
- "text": "withDialogType(dialogType: "
1266
- },
1267
- {
1268
- "kind": "Reference",
1269
- "text": "DialogType",
1270
- "canonicalReference": "@genesislcap/foundation-errors!DialogType:type"
1271
- },
1272
- {
1273
- "kind": "Content",
1274
- "text": "): "
1275
- },
1276
- {
1277
- "kind": "Reference",
1278
- "text": "ErrorDialogBuilder",
1279
- "canonicalReference": "@genesislcap/foundation-errors!ErrorDialogBuilder:class"
1280
- },
1281
- {
1282
- "kind": "Content",
1283
- "text": ";"
1284
- }
1285
- ],
1286
- "isStatic": false,
1287
- "returnTypeTokenRange": {
1288
- "startIndex": 3,
1289
- "endIndex": 4
1290
- },
1291
- "releaseTag": "Public",
1292
- "isProtected": false,
1293
- "overloadIndex": 1,
1294
- "parameters": [
1295
- {
1296
- "parameterName": "dialogType",
1297
- "parameterTypeTokenRange": {
1298
- "startIndex": 1,
1299
- "endIndex": 2
1300
- },
1301
- "isOptional": false
1302
- }
1303
- ],
1304
- "isOptional": false,
1305
- "isAbstract": false,
1306
- "name": "withDialogType"
1307
- },
1308
1232
  {
1309
1233
  "kind": "Method",
1310
1234
  "canonicalReference": "@genesislcap/foundation-errors!ErrorDialogBuilder#withDismissingAction:member(1)",
@@ -9,12 +9,6 @@ export declare interface ConfirmingAction {
9
9
  readonly action: Function;
10
10
  }
11
11
 
12
- /**
13
- * @public
14
- * Type for dialog
15
- */
16
- export declare type DialogType = 'default' | 'error' | 'success';
17
-
18
12
  /**
19
13
  * Interface for Dismissing Action configuration
20
14
  * @public
@@ -162,7 +156,6 @@ export declare interface ErrorDialog {
162
156
  export declare class ErrorDialogBuilder {
163
157
  private dismissingAction;
164
158
  private confirmingActions;
165
- private dialogType;
166
159
  /**
167
160
  * Add dismissing action to ErrorDialog
168
161
  * @public
@@ -177,13 +170,6 @@ export declare class ErrorDialogBuilder {
177
170
  * @returns
178
171
  */
179
172
  withConfirmingAction(confirmingAction: ConfirmingAction): ErrorDialogBuilder;
180
- /**
181
- * Add type to ErrorDialog
182
- * @public
183
- * @param dialogType - {@link DialogType}
184
- * @returns
185
- */
186
- withDialogType(dialogType: DialogType): ErrorDialogBuilder;
187
173
  /**
188
174
  * Build ErrorDialog
189
175
  * @public
@@ -18,6 +18,5 @@ export declare class ErrorDialogBuilder
18
18
  | --- | --- | --- |
19
19
  | [build()](./foundation-errors.errordialogbuilder.build.md) | | Build ErrorDialog |
20
20
  | [withConfirmingAction(confirmingAction)](./foundation-errors.errordialogbuilder.withconfirmingaction.md) | | Add confirming action to ErrorDialog |
21
- | [withDialogType(dialogType)](./foundation-errors.errordialogbuilder.withdialogtype.md) | | Add type to ErrorDialog |
22
21
  | [withDismissingAction(dismissingAction)](./foundation-errors.errordialogbuilder.withdismissingaction.md) | | Add dismissing action to ErrorDialog |
23
22
 
@@ -52,7 +52,6 @@
52
52
 
53
53
  | Type Alias | Description |
54
54
  | --- | --- |
55
- | [DialogType](./foundation-errors.dialogtype.md) | Type for dialog |
56
55
  | [ErrorNotificationPosition](./foundation-errors.errornotificationposition.md) | type for error notification position |
57
56
  | [ErrorNotificationType](./foundation-errors.errornotificationtype.md) | type for error notification type |
58
57
  | [SnackbarType](./foundation-errors.snackbartype.md) | type for snackbar type |
@@ -14,9 +14,6 @@ export interface ConfirmingAction {
14
14
  readonly label: String;
15
15
  }
16
16
 
17
- // @public
18
- export type DialogType = 'default' | 'error' | 'success';
19
-
20
17
  // @public
21
18
  export interface DismissingAction {
22
19
  // (undocumented)
@@ -71,7 +68,6 @@ export interface ErrorDialog {
71
68
  export class ErrorDialogBuilder {
72
69
  build(): ErrorDialog;
73
70
  withConfirmingAction(confirmingAction: ConfirmingAction): ErrorDialogBuilder;
74
- withDialogType(dialogType: DialogType): ErrorDialogBuilder;
75
71
  withDismissingAction(dismissingAction: DismissingAction): ErrorDialogBuilder;
76
72
  }
77
73
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@genesislcap/foundation-errors",
3
3
  "description": "Genesis Foundation UI Error Utils",
4
- "version": "14.155.2-alpha-d9bfff1.0",
4
+ "version": "14.156.0",
5
5
  "sideEffects": false,
6
6
  "license": "SEE LICENSE IN license.txt",
7
7
  "main": "dist/esm/index.js",
@@ -40,17 +40,17 @@
40
40
  "test:debug": "genx test --debug"
41
41
  },
42
42
  "devDependencies": {
43
- "@genesislcap/foundation-testing": "14.155.2-alpha-d9bfff1.0",
44
- "@genesislcap/genx": "14.155.2-alpha-d9bfff1.0",
45
- "@genesislcap/rollup-builder": "14.155.2-alpha-d9bfff1.0",
46
- "@genesislcap/ts-builder": "14.155.2-alpha-d9bfff1.0",
47
- "@genesislcap/uvu-playwright-builder": "14.155.2-alpha-d9bfff1.0",
48
- "@genesislcap/vite-builder": "14.155.2-alpha-d9bfff1.0",
49
- "@genesislcap/webpack-builder": "14.155.2-alpha-d9bfff1.0",
43
+ "@genesislcap/foundation-testing": "14.156.0",
44
+ "@genesislcap/genx": "14.156.0",
45
+ "@genesislcap/rollup-builder": "14.156.0",
46
+ "@genesislcap/ts-builder": "14.156.0",
47
+ "@genesislcap/uvu-playwright-builder": "14.156.0",
48
+ "@genesislcap/vite-builder": "14.156.0",
49
+ "@genesislcap/webpack-builder": "14.156.0",
50
50
  "rimraf": "^3.0.2"
51
51
  },
52
52
  "dependencies": {
53
- "@genesislcap/foundation-logger": "14.155.2-alpha-d9bfff1.0",
53
+ "@genesislcap/foundation-logger": "14.156.0",
54
54
  "tslib": "^2.3.1"
55
55
  },
56
56
  "repository": {
@@ -61,5 +61,5 @@
61
61
  "publishConfig": {
62
62
  "access": "public"
63
63
  },
64
- "gitHead": "e438f9d706092a1c8b11c3a78f084b1f3c3ac091"
64
+ "gitHead": "248a54e595ec2ce241cb9ea5878092a5fec18fb1"
65
65
  }
@@ -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; [DialogType](./foundation-errors.dialogtype.md)
4
-
5
- ## DialogType type
6
-
7
- Type for dialog
8
-
9
- **Signature:**
10
-
11
- ```typescript
12
- export type DialogType = 'default' | 'error' | 'success';
13
- ```
@@ -1,25 +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; [ErrorDialogBuilder](./foundation-errors.errordialogbuilder.md) &gt; [withDialogType](./foundation-errors.errordialogbuilder.withdialogtype.md)
4
-
5
- ## ErrorDialogBuilder.withDialogType() method
6
-
7
- Add type to ErrorDialog
8
-
9
- **Signature:**
10
-
11
- ```typescript
12
- withDialogType(dialogType: DialogType): ErrorDialogBuilder;
13
- ```
14
-
15
- ## Parameters
16
-
17
- | Parameter | Type | Description |
18
- | --- | --- | --- |
19
- | dialogType | [DialogType](./foundation-errors.dialogtype.md) | [DialogType](./foundation-errors.dialogtype.md) |
20
-
21
- **Returns:**
22
-
23
- [ErrorDialogBuilder](./foundation-errors.errordialogbuilder.md)
24
-
25
-