@genesislcap/foundation-entity-management 14.483.1-alpha-aaddab2.0 → 14.483.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.
- package/dist/custom-elements.json +28 -28
- package/dist/dts/entities/entities.d.ts +16 -17
- package/dist/dts/entities/entities.d.ts.map +1 -1
- package/dist/dts/list/list.d.ts +4 -4
- package/dist/dts/list/list.d.ts.map +1 -1
- package/dist/dts/react.d.ts +6 -7
- package/dist/dts/types.d.ts.map +1 -1
- package/dist/esm/entities/entities.js +2 -2
- package/dist/esm/list/list.js +2 -2
- package/dist/foundation-entity-management.api.json +6 -19
- package/dist/foundation-entity-management.d.ts +19 -21
- package/package.json +24 -25
|
@@ -959,11 +959,11 @@
|
|
|
959
959
|
"name": "contextMenu"
|
|
960
960
|
},
|
|
961
961
|
{
|
|
962
|
-
"description": "Fired when a row is selected
|
|
962
|
+
"description": "Fired when a row is selected",
|
|
963
963
|
"name": "rowSelected"
|
|
964
964
|
},
|
|
965
965
|
{
|
|
966
|
-
"description": "Fired when grid selection changes (bubbled from entity-list)
|
|
966
|
+
"description": "Fired when grid selection changes (bubbled from entity-list)",
|
|
967
967
|
"name": "selectionChanged"
|
|
968
968
|
}
|
|
969
969
|
],
|
|
@@ -2462,7 +2462,7 @@
|
|
|
2462
2462
|
}
|
|
2463
2463
|
},
|
|
2464
2464
|
{
|
|
2465
|
-
"description": "Fired when a row is selected
|
|
2465
|
+
"description": "Fired when a row is selected",
|
|
2466
2466
|
"name": "rowSelected",
|
|
2467
2467
|
"inheritedFrom": {
|
|
2468
2468
|
"name": "EntityManagement",
|
|
@@ -2470,7 +2470,7 @@
|
|
|
2470
2470
|
}
|
|
2471
2471
|
},
|
|
2472
2472
|
{
|
|
2473
|
-
"description": "Fired when grid selection changes (bubbled from entity-list)
|
|
2473
|
+
"description": "Fired when grid selection changes (bubbled from entity-list)",
|
|
2474
2474
|
"name": "selectionChanged",
|
|
2475
2475
|
"inheritedFrom": {
|
|
2476
2476
|
"name": "EntityManagement",
|
|
@@ -3489,7 +3489,7 @@
|
|
|
3489
3489
|
{
|
|
3490
3490
|
"name": "e",
|
|
3491
3491
|
"type": {
|
|
3492
|
-
"text": "CustomEvent
|
|
3492
|
+
"text": "CustomEvent"
|
|
3493
3493
|
}
|
|
3494
3494
|
}
|
|
3495
3495
|
]
|
|
@@ -3548,11 +3548,11 @@
|
|
|
3548
3548
|
"name": "contextMenu"
|
|
3549
3549
|
},
|
|
3550
3550
|
{
|
|
3551
|
-
"description": "Fired when row selection changes (single)
|
|
3551
|
+
"description": "Fired when row selection changes (single)",
|
|
3552
3552
|
"name": "rowSelected"
|
|
3553
3553
|
},
|
|
3554
3554
|
{
|
|
3555
|
-
"description": "Fired when grid selection changes
|
|
3555
|
+
"description": "Fired when grid selection changes",
|
|
3556
3556
|
"name": "selectionChanged"
|
|
3557
3557
|
},
|
|
3558
3558
|
{
|
|
@@ -3895,6 +3895,27 @@
|
|
|
3895
3895
|
}
|
|
3896
3896
|
]
|
|
3897
3897
|
},
|
|
3898
|
+
{
|
|
3899
|
+
"kind": "javascript-module",
|
|
3900
|
+
"path": "src/routes/config.ts",
|
|
3901
|
+
"declarations": [],
|
|
3902
|
+
"exports": []
|
|
3903
|
+
},
|
|
3904
|
+
{
|
|
3905
|
+
"kind": "javascript-module",
|
|
3906
|
+
"path": "src/routes/index.ts",
|
|
3907
|
+
"declarations": [],
|
|
3908
|
+
"exports": [
|
|
3909
|
+
{
|
|
3910
|
+
"kind": "js",
|
|
3911
|
+
"name": "*",
|
|
3912
|
+
"declaration": {
|
|
3913
|
+
"name": "*",
|
|
3914
|
+
"package": "./config"
|
|
3915
|
+
}
|
|
3916
|
+
}
|
|
3917
|
+
]
|
|
3918
|
+
},
|
|
3898
3919
|
{
|
|
3899
3920
|
"kind": "javascript-module",
|
|
3900
3921
|
"path": "src/layouts/default.ts",
|
|
@@ -3944,27 +3965,6 @@
|
|
|
3944
3965
|
}
|
|
3945
3966
|
]
|
|
3946
3967
|
},
|
|
3947
|
-
{
|
|
3948
|
-
"kind": "javascript-module",
|
|
3949
|
-
"path": "src/routes/config.ts",
|
|
3950
|
-
"declarations": [],
|
|
3951
|
-
"exports": []
|
|
3952
|
-
},
|
|
3953
|
-
{
|
|
3954
|
-
"kind": "javascript-module",
|
|
3955
|
-
"path": "src/routes/index.ts",
|
|
3956
|
-
"declarations": [],
|
|
3957
|
-
"exports": [
|
|
3958
|
-
{
|
|
3959
|
-
"kind": "js",
|
|
3960
|
-
"name": "*",
|
|
3961
|
-
"declaration": {
|
|
3962
|
-
"name": "*",
|
|
3963
|
-
"package": "./config"
|
|
3964
|
-
}
|
|
3965
|
-
}
|
|
3966
|
-
]
|
|
3967
|
-
},
|
|
3968
3968
|
{
|
|
3969
3969
|
"kind": "javascript-module",
|
|
3970
3970
|
"path": "src/utils/custom-actions-utils.ts",
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { SelectionChangedEvent } from '@ag-grid-community/core';
|
|
1
2
|
import type { MetadataDetail } from '@genesislcap/foundation-comms';
|
|
2
3
|
import { Connect, DatasourceOptions, MessageError } from '@genesislcap/foundation-comms';
|
|
3
4
|
import type { UiSchema } from '@genesislcap/foundation-forms';
|
|
@@ -7,7 +8,6 @@ import { AvailableOption, Modal, SelectedOption } from '@genesislcap/foundation-
|
|
|
7
8
|
import { DatasourceType, GridProCaseType, GridProStatusBarConfig } from '@genesislcap/grid-pro';
|
|
8
9
|
import type { GridOptionsConfig } from '@genesislcap/grid-pro';
|
|
9
10
|
import { GenesisElement } from '@genesislcap/web-core';
|
|
10
|
-
import type { SelectionChangedEvent } from 'ag-grid-community';
|
|
11
11
|
import { List } from '../list';
|
|
12
12
|
import { ActionsMenuStyle, CrudAction, CrudMenuPosition, CustomAction, CustomActionState, GridColDef, ModalFormType } from '../types';
|
|
13
13
|
/**
|
|
@@ -227,13 +227,7 @@ declare const EntityManagement_base: (new (...args: any[]) => {
|
|
|
227
227
|
requestPointerLock(options?: PointerLockOptions): Promise<void>;
|
|
228
228
|
scroll(options?: ScrollToOptions): void;
|
|
229
229
|
scroll(x: number, y: number): void;
|
|
230
|
-
scrollBy(options
|
|
231
|
-
/**
|
|
232
|
-
* Custom label for the create button and modal title. When set, overrides the default "Add {entityLabel}" text.
|
|
233
|
-
* @example `create-label="Reject Price"` renders a "Reject Price" button instead of "+ Add"
|
|
234
|
-
* @public
|
|
235
|
-
*/
|
|
236
|
-
?: ScrollToOptions): void;
|
|
230
|
+
scrollBy(options?: ScrollToOptions): void;
|
|
237
231
|
scrollBy(x: number, y: number): void;
|
|
238
232
|
scrollIntoView(arg?: boolean | ScrollIntoViewOptions): void;
|
|
239
233
|
scrollTo(options?: ScrollToOptions): void;
|
|
@@ -244,7 +238,17 @@ declare const EntityManagement_base: (new (...args: any[]) => {
|
|
|
244
238
|
setAttributeNodeNS(attr: Attr): Attr | null;
|
|
245
239
|
setHTMLUnsafe(html: string): void;
|
|
246
240
|
setPointerCapture(pointerId: number): void;
|
|
247
|
-
toggleAttribute(qualifiedName: string, force
|
|
241
|
+
toggleAttribute(qualifiedName: string, force
|
|
242
|
+
/**
|
|
243
|
+
* Whether to use the `applyTransactionAsync` function for *update* transactions
|
|
244
|
+
* @remarks Defaults to true
|
|
245
|
+
* @internal
|
|
246
|
+
*/
|
|
247
|
+
? /**
|
|
248
|
+
* Whether to use the `applyTransactionAsync` function for *update* transactions
|
|
249
|
+
* @remarks Defaults to true
|
|
250
|
+
* @internal
|
|
251
|
+
*/: boolean): boolean;
|
|
248
252
|
webkitMatchesSelector(selectors: string): boolean;
|
|
249
253
|
textContent: string;
|
|
250
254
|
readonly baseURI: string;
|
|
@@ -262,12 +266,7 @@ declare const EntityManagement_base: (new (...args: any[]) => {
|
|
|
262
266
|
appendChild<T_1 extends Node>(node: T_1): T_1;
|
|
263
267
|
compareDocumentPosition(other: Node): number;
|
|
264
268
|
contains(other: Node | null): boolean;
|
|
265
|
-
getRootNode(options
|
|
266
|
-
/**
|
|
267
|
-
* If true, will enable row flashing for all rows for `add` transactions
|
|
268
|
-
* @public
|
|
269
|
-
*/
|
|
270
|
-
?: GetRootNodeOptions): Node;
|
|
269
|
+
getRootNode(options?: GetRootNodeOptions): Node;
|
|
271
270
|
hasChildNodes(): boolean;
|
|
272
271
|
insertBefore<T_1 extends Node>(node: T_1, child: Node | null): T_1;
|
|
273
272
|
isDefaultNamespace(namespace: string | null): boolean;
|
|
@@ -537,8 +536,8 @@ declare const EntityManagement_base: (new (...args: any[]) => {
|
|
|
537
536
|
* @fires rowClick - Fired when a row is clicked
|
|
538
537
|
* @fires rowDblClick - Fired when a row is double clicked
|
|
539
538
|
* @fires contextMenu - Fired when a row is right clicked
|
|
540
|
-
* @fires rowSelected - Fired when a row is selected
|
|
541
|
-
* @fires selectionChanged - Fired when grid selection changes (bubbled from entity-list)
|
|
539
|
+
* @fires rowSelected - Fired when a row is selected
|
|
540
|
+
* @fires selectionChanged - Fired when grid selection changes (bubbled from entity-list)
|
|
542
541
|
*/
|
|
543
542
|
export declare class EntityManagement extends EntityManagement_base {
|
|
544
543
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"entities.d.ts","sourceRoot":"","sources":["../../../src/entities/entities.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,+BAA+B,CAAC;AACpE,OAAO,EACL,OAAO,EACP,iBAAiB,EAGjB,YAAY,EAEb,MAAM,+BAA+B,CAAC;AACvC,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,+BAA+B,CAAC;AAC9D,OAAO,EAAE,aAAa,EAAa,MAAM,+BAA+B,CAAC;AACzE,OAAO,EAGL,KAAK,qBAAqB,EAC3B,MAAM,uCAAuC,CAAC;AAC/C,OAAO,EAEL,eAAe,EAEf,KAAK,EACL,cAAc,EACf,MAAM,4BAA4B,CAAC;AAMpC,OAAO,EAAE,cAAc,EAAE,eAAe,EAAE,sBAAsB,EAAE,MAAM,uBAAuB,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,YAAY,CAAC,EAAE,YAAY,EAAE;IAmC/B;;;OAGG;IACH,OAAO,CAAC,mBAAmB;IAI3B;;;;OAIG;IACH,OAAO,CAAC,uBAAuB;IA2C/B;;;OAGG;IACI,gBAAgB,CAAC,KAAK,EAAE,WAAW,CAAC,qBAAqB,CAAC;IAUjE;;;;OAIG;IACU,iBAAiB,CAAC,cAAc,GAAE,OAAc,GAAG,OAAO,CAAC,IAAI,CAAC;IAM7E;;;;OAIG;IACH,OAAO,CAAC,yBAAyB;IA6BjC,gBAAgB;IACV,eAAe;CAkCtB"}
|
package/dist/dts/list/list.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
+
import type { SelectionChangedEvent } from '@ag-grid-community/core';
|
|
1
2
|
import { CellEditRequestEvent } from '@ag-grid-community/core';
|
|
2
3
|
import { Connect } from '@genesislcap/foundation-comms';
|
|
3
4
|
import { GridProGenesisDatasource, ZeroGridPro } from '@genesislcap/foundation-zero-grid-pro';
|
|
4
5
|
import { DatasourceType } from '@genesislcap/grid-pro';
|
|
5
6
|
import type { GridProCaseType, GridProStatusBarConfig, GridOptionsConfig } from '@genesislcap/grid-pro';
|
|
6
7
|
import { GenesisElement } from '@genesislcap/web-core';
|
|
7
|
-
import type { RowSelectedEvent, SelectionChangedEvent } from 'ag-grid-community';
|
|
8
8
|
import type { DatasourceConfiguration } from '../entities/entities';
|
|
9
9
|
import type { CustomAction, GridColDef } from '../types';
|
|
10
10
|
declare const List_base: (new (...args: any[]) => {
|
|
@@ -388,8 +388,8 @@ declare const List_base: (new (...args: any[]) => {
|
|
|
388
388
|
* @fires rowClick - Fired when a row is clicked
|
|
389
389
|
* @fires rowDblClick - Fired when a row is double-clicked
|
|
390
390
|
* @fires contextMenu - Fired when a row context menu is opened
|
|
391
|
-
* @fires rowSelected - Fired when row selection changes (single)
|
|
392
|
-
* @fires selectionChanged - Fired when grid selection changes
|
|
391
|
+
* @fires rowSelected - Fired when row selection changes (single)
|
|
392
|
+
* @fires selectionChanged - Fired when grid selection changes
|
|
393
393
|
* @fires edit-entity - Fired when edit is requested
|
|
394
394
|
* @fires delete-entity - Fired when delete is requested
|
|
395
395
|
* @fires custom-action - Fired when a custom grid action runs
|
|
@@ -473,7 +473,7 @@ export declare class List extends List_base {
|
|
|
473
473
|
handleRowContextMenu(e: CustomEvent): void;
|
|
474
474
|
private handleFilterChanged;
|
|
475
475
|
private handleFilterCleared;
|
|
476
|
-
handleRowSelected(e: CustomEvent
|
|
476
|
+
handleRowSelected(e: CustomEvent): void;
|
|
477
477
|
handleSelectionChanged(e: CustomEvent<SelectionChangedEvent>): void;
|
|
478
478
|
private edit;
|
|
479
479
|
delete(e: any): Promise<void>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list.d.ts","sourceRoot":"","sources":["../../../src/list/list.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAU,MAAM,yBAAyB,CAAC;AACvE,OAAO,EAAE,OAAO,EAAE,MAAM,+BAA+B,CAAC;AAExD,OAAO,EAAE,wBAAwB,EAAE,WAAW,EAAE,MAAM,uCAAuC,CAAC;AAC9F,OAAO,EAAE,cAAc,EAA2C,MAAM,uBAAuB,CAAC;AAChG,OAAO,KAAK,EACV,eAAe,EACf,sBAAsB,EACtB,iBAAiB,EAClB,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EAIL,cAAc,EAIf,MAAM,uBAAuB,CAAC;AAC/B,OAAO,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"list.d.ts","sourceRoot":"","sources":["../../../src/list/list.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,yBAAyB,CAAC;AACrE,OAAO,EAAE,oBAAoB,EAAU,MAAM,yBAAyB,CAAC;AACvE,OAAO,EAAE,OAAO,EAAE,MAAM,+BAA+B,CAAC;AAExD,OAAO,EAAE,wBAAwB,EAAE,WAAW,EAAE,MAAM,uCAAuC,CAAC;AAC9F,OAAO,EA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AM,WAET;IAED,IACI,UAAU,YAEb;IAED,IACI,OAAO,WAEV;IAED,IACI,OAAO,WAEV;IAED,IACI,UAAU,YAEb;IAED,IACI,OAAO,WAEV;IAED,IACI,eAAe,WAElB;IAED,IACI,iBAAiB,aAEpB;IAED,IACI,OAAO,QAEV;IAED,IACI,OAAO,YAEV;IAED,IACI,UAAU,WAEb;IAED,IACI,cAAc,YAEjB;IAED,IACI,gBAAgB,YAEnB;IAED,gBAAgB,CAAC,CAAC,EAAE,WAAW,GAAG,IAAI;IAItC,mBAAmB,CAAC,CAAC,EAAE,WAAW,GAAG,IAAI;IAIzC,oBAAoB,CAAC,CAAC,EAAE,WAAW,GAAG,IAAI;IAI1C,OAAO,CAAC,mBAAmB;IAM3B,OAAO,CAAC,mBAAmB;IAK3B,iBAAiB,CAAC,CAAC,EAAE,WAAW;IAIhC,sBAAsB,CAAC,CAAC,EAAE,WAAW,CAAC,qBAAqB,CAAC;IAI5D,OAAO,CAAC,IAAI,CAEV;IAEI,MAAM,CAAC,CAAC,KAAA;IAId,OAAO,CAAC,kBAAkB,CAExB;CACH"}
|
package/dist/dts/react.d.ts
CHANGED
|
@@ -8,7 +8,6 @@ import type { EntityManagement as EntityManagementWC } from './entities/entities
|
|
|
8
8
|
import type { SmartFormModal as SmartFormModalWC } from './entities/smartFormModal';
|
|
9
9
|
import type { List as ListWC } from './list/list';
|
|
10
10
|
import type { EntityManagementDemo as EntityManagementDemoWC } from './routes/demo/entity-management';
|
|
11
|
-
import type { RowSelectedEvent, SelectionChangedEvent } from 'ag-grid-community';
|
|
12
11
|
|
|
13
12
|
/** @internal Maps a web component class to its public props only.
|
|
14
13
|
* keyof T skips private/protected members, so this avoids the TS error
|
|
@@ -52,8 +51,8 @@ export declare const EntityManagement: React.ForwardRefExoticComponent<
|
|
|
52
51
|
onSubmitSuccess?: (event: CustomEvent<unknown>) => void;
|
|
53
52
|
onRowClick?: (event: CustomEvent<unknown>) => void;
|
|
54
53
|
onRowDblClick?: (event: CustomEvent<unknown>) => void;
|
|
55
|
-
onRowSelected?: (event: CustomEvent<
|
|
56
|
-
onSelectionChanged?: (event: CustomEvent<
|
|
54
|
+
onRowSelected?: (event: CustomEvent<unknown>) => void;
|
|
55
|
+
onSelectionChanged?: (event: CustomEvent<unknown>) => void;
|
|
57
56
|
}
|
|
58
57
|
> & React.RefAttributes<EntityManagementWC>
|
|
59
58
|
>;
|
|
@@ -72,8 +71,8 @@ export declare const SmartFormModal: React.ForwardRefExoticComponent<
|
|
|
72
71
|
onDeleteEntity?: (event: CustomEvent<unknown>) => void;
|
|
73
72
|
onRowClick?: (event: CustomEvent<unknown>) => void;
|
|
74
73
|
onRowDblClick?: (event: CustomEvent<unknown>) => void;
|
|
75
|
-
onRowSelected?: (event: CustomEvent<
|
|
76
|
-
onSelectionChanged?: (event: CustomEvent<
|
|
74
|
+
onRowSelected?: (event: CustomEvent<unknown>) => void;
|
|
75
|
+
onSelectionChanged?: (event: CustomEvent<unknown>) => void;
|
|
77
76
|
}
|
|
78
77
|
> & React.RefAttributes<SmartFormModalWC>
|
|
79
78
|
>;
|
|
@@ -87,8 +86,8 @@ export declare const List: React.ForwardRefExoticComponent<
|
|
|
87
86
|
onSubmitSuccess?: (event: CustomEvent<unknown>) => void;
|
|
88
87
|
onRowClick?: (event: CustomEvent<unknown>) => void;
|
|
89
88
|
onRowDblClick?: (event: CustomEvent<unknown>) => void;
|
|
90
|
-
onRowSelected?: (event: CustomEvent<
|
|
91
|
-
onSelectionChanged?: (event: CustomEvent<
|
|
89
|
+
onRowSelected?: (event: CustomEvent<unknown>) => void;
|
|
90
|
+
onSelectionChanged?: (event: CustomEvent<unknown>) => void;
|
|
92
91
|
onEditEntity?: (event: CustomEvent<unknown>) => void;
|
|
93
92
|
onDeleteEntity?: (event: CustomEvent<unknown>) => void;
|
|
94
93
|
onCustomAction?: (event: CustomEvent<unknown>) => void;
|
package/dist/dts/types.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,IAAI,YAAY,EAAE,MAAM,yBAAyB,CAAC;AACjE,OAAO,EAAE,QAAQ,EAAE,MAAM,+BAA+B,CAAC;
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,IAAI,YAAY,EAAE,MAAM,yBAAyB,CAAC;AACjE,OAAO,EAAE,QAAQ,EAAE,MAAM,+BAA+B,CAAC;AAGzD,OAAO,EAAE,MAAM,EAAE,MAAM,mBAAmB,CAAC;AAE3C,MAAM,MAAM,UAAU,GAAG,MAAM,GAAG,YAAY,CAAC;AAE/C,eAAO,MAAM,aAAa,8DAA6C,CAAC;AACxE,eAAO,MAAM,WAAW,8DAA2C,CAAC;AAEpE,MAAM,MAAM,eAAe,GACvB,MAAM,GACN,QAAQ,GACR;IACE,IAAI,EAAE,SAAS,CAAC;IAChB,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,OAAO,CAAC,EAAE;QACR,QAAQ,CAAC,EAAE,OAAO,CAAC;QACnB,MAAM,CAAC,EAAE,OAAO,CAAC;QACjB,sBAAsB,CAAC,EAAE,MAAM,CAAC;QAChC,UAAU,CAAC,EAAE,MAAM,CAAC;QACpB,UAAU,CAAC,EAAE,MAAM,CAAC;KACrB,CAAC;CACH,CAAC;AAEN,oBAAY,gBAAgB;IAC1B,OAAO,YAAY;IACnB,eAAe,qBAAqB;IACpC,iBAAiB,uBAAuB;CACzC;AAED,oBAAY,gBAAgB;IAC1B,MAAM,WAAW;IACjB,GAAG,QAAQ;IACX,MAAM,WAAW;IACjB,MAAM,WAAW;IACjB,IAAI,SAAS;CACd;AAED,oBAAY,UAAU;IACpB,MAAM,WAAW;IACjB,IAAI,SAAS;IACb,MAAM,WAAW;IACjB,MAAM,WAAW;CAClB;AAED,oB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AAQ,CAAC,EAAE,CAAC,OAAO,EAAE,GAAG,KAAK,OAAO,CAAC;CACtC;AAED,MAAM,WAAW,iBAAiB;IAChC,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,GAAG,CAAC;CACd"}
|
|
@@ -84,8 +84,8 @@ export const getActionNotificationTitleAndBody = (type, label) => {
|
|
|
84
84
|
* @fires rowClick - Fired when a row is clicked
|
|
85
85
|
* @fires rowDblClick - Fired when a row is double clicked
|
|
86
86
|
* @fires contextMenu - Fired when a row is right clicked
|
|
87
|
-
* @fires rowSelected - Fired when a row is selected
|
|
88
|
-
* @fires selectionChanged - Fired when grid selection changes (bubbled from entity-list)
|
|
87
|
+
* @fires rowSelected - Fired when a row is selected
|
|
88
|
+
* @fires selectionChanged - Fired when grid selection changes (bubbled from entity-list)
|
|
89
89
|
*/
|
|
90
90
|
let EntityManagement = class EntityManagement extends LifecycleMixin(GenesisElement) {
|
|
91
91
|
constructor() {
|
package/dist/esm/list/list.js
CHANGED
|
@@ -17,8 +17,8 @@ import { listTemplate } from './list.template';
|
|
|
17
17
|
* @fires rowClick - Fired when a row is clicked
|
|
18
18
|
* @fires rowDblClick - Fired when a row is double-clicked
|
|
19
19
|
* @fires contextMenu - Fired when a row context menu is opened
|
|
20
|
-
* @fires rowSelected - Fired when row selection changes (single)
|
|
21
|
-
* @fires selectionChanged - Fired when grid selection changes
|
|
20
|
+
* @fires rowSelected - Fired when row selection changes (single)
|
|
21
|
+
* @fires selectionChanged - Fired when grid selection changes
|
|
22
22
|
* @fires edit-entity - Fired when edit is requested
|
|
23
23
|
* @fires delete-entity - Fired when delete is requested
|
|
24
24
|
* @fires custom-action - Fired when a custom grid action runs
|
|
@@ -1299,7 +1299,7 @@
|
|
|
1299
1299
|
{
|
|
1300
1300
|
"kind": "Class",
|
|
1301
1301
|
"canonicalReference": "@genesislcap/foundation-entity-management!EntityManagement:class",
|
|
1302
|
-
"docComment": "/**\n * Main class which defines the entity management functionality\n *\n * @remarks\n *\n * Connects to a backend resource and wraps up a grid which is populated with entities from that resource. The different interactions that the user can perform with the entities can be configured, examples being able to update and delete entities.\n *\n * @example\n *\n * Example of using the entity management system to handle counterparties\n * ```\n * <entity-management\n * resourceName=\"ALL_COUNTERPARTYS\"\n * title=\"Counterparty Management\"\n * updateEvent=\"EVENT_COUNTERPARTY_MODIFY\"\n * deleteEvent=\"EVENT_COUNTERPARTY_DELETE\"\n * createEvent=\"EVENT_COUNTERPARTY_INSERT\"\n * ></entity-management>\n * ```\n *\n * Where:<br /> - the title of the grid is `Counterparty Management`<br /> - the name of the resource in the database to manage is `ALL_COUNTERPARTYS`<br /> - the name of the event handler for update events is `EVENT_COUNTERPARTY_MODIFY`<br /> - the name of the event handler for create events is `EVENT_COUNTERPARTY_INSERT`<br /> - the name of the event handler for delete events is `EVENT_COUNTERPARTY_DELETE`<br />\n *\n * @fires\n *\n * request-changed - Fired when the request is changed\n *\n * @fires\n *\n * criteria-changed - Fired when the criteria is changed\n *\n * @fires\n *\n * create-entity - Fired when an entity is created\n *\n * @fires\n *\n * edit-entity - Fired when an entity is edited\n *\n * @fires\n *\n * delete-entity - Fired when an entity is deleted\n *\n * Bubbled events from the child entity-list component\n *\n * @fires\n *\n * submit-failure - Fired when there is an error in a create, edit or delete operation\n *\n * @fires\n *\n * submit-success - Fired when a create, edit or delete operation is completed successfully\n *\n * @fires\n *\n * rowClick - Fired when a row is clicked\n *\n * @fires\n *\n * rowDblClick - Fired when a row is double clicked\n *\n * @fires\n *\n * contextMenu - Fired when a row is right clicked\n *\n * @fires\n *\n * rowSelected - Fired when a row is selected
|
|
1302
|
+
"docComment": "/**\n * Main class which defines the entity management functionality\n *\n * @remarks\n *\n * Connects to a backend resource and wraps up a grid which is populated with entities from that resource. The different interactions that the user can perform with the entities can be configured, examples being able to update and delete entities.\n *\n * @example\n *\n * Example of using the entity management system to handle counterparties\n * ```\n * <entity-management\n * resourceName=\"ALL_COUNTERPARTYS\"\n * title=\"Counterparty Management\"\n * updateEvent=\"EVENT_COUNTERPARTY_MODIFY\"\n * deleteEvent=\"EVENT_COUNTERPARTY_DELETE\"\n * createEvent=\"EVENT_COUNTERPARTY_INSERT\"\n * ></entity-management>\n * ```\n *\n * Where:<br /> - the title of the grid is `Counterparty Management`<br /> - the name of the resource in the database to manage is `ALL_COUNTERPARTYS`<br /> - the name of the event handler for update events is `EVENT_COUNTERPARTY_MODIFY`<br /> - the name of the event handler for create events is `EVENT_COUNTERPARTY_INSERT`<br /> - the name of the event handler for delete events is `EVENT_COUNTERPARTY_DELETE`<br />\n *\n * @fires\n *\n * request-changed - Fired when the request is changed\n *\n * @fires\n *\n * criteria-changed - Fired when the criteria is changed\n *\n * @fires\n *\n * create-entity - Fired when an entity is created\n *\n * @fires\n *\n * edit-entity - Fired when an entity is edited\n *\n * @fires\n *\n * delete-entity - Fired when an entity is deleted\n *\n * Bubbled events from the child entity-list component\n *\n * @fires\n *\n * submit-failure - Fired when there is an error in a create, edit or delete operation\n *\n * @fires\n *\n * submit-success - Fired when a create, edit or delete operation is completed successfully\n *\n * @fires\n *\n * rowClick - Fired when a row is clicked\n *\n * @fires\n *\n * rowDblClick - Fired when a row is double clicked\n *\n * @fires\n *\n * contextMenu - Fired when a row is right clicked\n *\n * @fires\n *\n * rowSelected - Fired when a row is selected\n *\n * @fires\n *\n * selectionChanged - Fired when grid selection changes (bubbled from entity-list)\n *\n * @public\n */\n",
|
|
1303
1303
|
"excerptTokens": [
|
|
1304
1304
|
{
|
|
1305
1305
|
"kind": "Content",
|
|
@@ -3156,7 +3156,7 @@
|
|
|
3156
3156
|
{
|
|
3157
3157
|
"kind": "Class",
|
|
3158
3158
|
"canonicalReference": "@genesislcap/foundation-entity-management!List:class",
|
|
3159
|
-
"docComment": "/**\n * Entity list grid with CRUD and selection events.\n *\n * @fires\n *\n * submit-failure - Fired when an inline update submit fails\n *\n * @fires\n *\n * submit-success - Fired when an inline update succeeds\n *\n * @fires\n *\n * rowClick - Fired when a row is clicked\n *\n * @fires\n *\n * rowDblClick - Fired when a row is double-clicked\n *\n * @fires\n *\n * contextMenu - Fired when a row context menu is opened\n *\n * @fires\n *\n * rowSelected - Fired when row selection changes (single)
|
|
3159
|
+
"docComment": "/**\n * Entity list grid with CRUD and selection events.\n *\n * @fires\n *\n * submit-failure - Fired when an inline update submit fails\n *\n * @fires\n *\n * submit-success - Fired when an inline update succeeds\n *\n * @fires\n *\n * rowClick - Fired when a row is clicked\n *\n * @fires\n *\n * rowDblClick - Fired when a row is double-clicked\n *\n * @fires\n *\n * contextMenu - Fired when a row context menu is opened\n *\n * @fires\n *\n * rowSelected - Fired when row selection changes (single)\n *\n * @fires\n *\n * selectionChanged - Fired when grid selection changes\n *\n * @fires\n *\n * edit-entity - Fired when edit is requested\n *\n * @fires\n *\n * delete-entity - Fired when delete is requested\n *\n * @fires\n *\n * custom-action - Fired when a custom grid action runs\n *\n * @public\n */\n",
|
|
3160
3160
|
"excerptTokens": [
|
|
3161
3161
|
{
|
|
3162
3162
|
"kind": "Content",
|
|
@@ -4172,19 +4172,6 @@
|
|
|
4172
4172
|
"text": "CustomEvent",
|
|
4173
4173
|
"canonicalReference": "!CustomEvent:interface"
|
|
4174
4174
|
},
|
|
4175
|
-
{
|
|
4176
|
-
"kind": "Content",
|
|
4177
|
-
"text": "<"
|
|
4178
|
-
},
|
|
4179
|
-
{
|
|
4180
|
-
"kind": "Reference",
|
|
4181
|
-
"text": "RowSelectedEvent",
|
|
4182
|
-
"canonicalReference": "ag-grid-community!RowSelectedEvent:interface"
|
|
4183
|
-
},
|
|
4184
|
-
{
|
|
4185
|
-
"kind": "Content",
|
|
4186
|
-
"text": ">"
|
|
4187
|
-
},
|
|
4188
4175
|
{
|
|
4189
4176
|
"kind": "Content",
|
|
4190
4177
|
"text": "): "
|
|
@@ -4200,8 +4187,8 @@
|
|
|
4200
4187
|
],
|
|
4201
4188
|
"isStatic": false,
|
|
4202
4189
|
"returnTypeTokenRange": {
|
|
4203
|
-
"startIndex":
|
|
4204
|
-
"endIndex":
|
|
4190
|
+
"startIndex": 3,
|
|
4191
|
+
"endIndex": 4
|
|
4205
4192
|
},
|
|
4206
4193
|
"releaseTag": "Public",
|
|
4207
4194
|
"isProtected": false,
|
|
@@ -4211,7 +4198,7 @@
|
|
|
4211
4198
|
"parameterName": "e",
|
|
4212
4199
|
"parameterTypeTokenRange": {
|
|
4213
4200
|
"startIndex": 1,
|
|
4214
|
-
"endIndex":
|
|
4201
|
+
"endIndex": 2
|
|
4215
4202
|
},
|
|
4216
4203
|
"isOptional": false
|
|
4217
4204
|
}
|
|
@@ -4241,7 +4228,7 @@
|
|
|
4241
4228
|
{
|
|
4242
4229
|
"kind": "Reference",
|
|
4243
4230
|
"text": "SelectionChangedEvent",
|
|
4244
|
-
"canonicalReference": "ag-grid-community!SelectionChangedEvent:interface"
|
|
4231
|
+
"canonicalReference": "@ag-grid-community/core!SelectionChangedEvent:interface"
|
|
4245
4232
|
},
|
|
4246
4233
|
{
|
|
4247
4234
|
"kind": "Content",
|
|
@@ -26,9 +26,8 @@ import { Modal } from '@genesislcap/foundation-ui';
|
|
|
26
26
|
import { NotificationStructure } from '@genesislcap/foundation-notifications';
|
|
27
27
|
import { PartialFASTElementDefinition } from '@microsoft/fast-element';
|
|
28
28
|
import { RendererEntry } from '@genesislcap/foundation-forms';
|
|
29
|
-
import type { RowSelectedEvent } from 'ag-grid-community';
|
|
30
29
|
import { SelectedOption } from '@genesislcap/foundation-ui';
|
|
31
|
-
import
|
|
30
|
+
import { SelectionChangedEvent } from '@ag-grid-community/core';
|
|
32
31
|
import { Session } from '@genesislcap/foundation-comms';
|
|
33
32
|
import { UiSchema } from '@genesislcap/foundation-forms';
|
|
34
33
|
import { UiSchemaElement } from '@genesislcap/foundation-forms';
|
|
@@ -273,8 +272,8 @@ export declare const ENTITY_NAME: InterfaceSymbol<string>;
|
|
|
273
272
|
* @fires rowClick - Fired when a row is clicked
|
|
274
273
|
* @fires rowDblClick - Fired when a row is double clicked
|
|
275
274
|
* @fires contextMenu - Fired when a row is right clicked
|
|
276
|
-
* @fires rowSelected - Fired when a row is selected
|
|
277
|
-
* @fires selectionChanged - Fired when grid selection changes (bubbled from entity-list)
|
|
275
|
+
* @fires rowSelected - Fired when a row is selected
|
|
276
|
+
* @fires selectionChanged - Fired when grid selection changes (bubbled from entity-list)
|
|
278
277
|
*/
|
|
279
278
|
export declare class EntityManagement extends EntityManagement_base {
|
|
280
279
|
/**
|
|
@@ -1096,13 +1095,7 @@ declare const EntityManagement_base: (new (...args: any[]) => {
|
|
|
1096
1095
|
requestPointerLock(options?: PointerLockOptions): Promise<void>;
|
|
1097
1096
|
scroll(options?: ScrollToOptions): void;
|
|
1098
1097
|
scroll(x: number, y: number): void;
|
|
1099
|
-
scrollBy(options
|
|
1100
|
-
/**
|
|
1101
|
-
* Custom label for the create button and modal title. When set, overrides the default "Add {entityLabel}" text.
|
|
1102
|
-
* @example `create-label="Reject Price"` renders a "Reject Price" button instead of "+ Add"
|
|
1103
|
-
* @public
|
|
1104
|
-
*/
|
|
1105
|
-
?: ScrollToOptions): void;
|
|
1098
|
+
scrollBy(options?: ScrollToOptions): void;
|
|
1106
1099
|
scrollBy(x: number, y: number): void;
|
|
1107
1100
|
scrollIntoView(arg?: boolean | ScrollIntoViewOptions): void;
|
|
1108
1101
|
scrollTo(options?: ScrollToOptions): void;
|
|
@@ -1113,7 +1106,17 @@ declare const EntityManagement_base: (new (...args: any[]) => {
|
|
|
1113
1106
|
setAttributeNodeNS(attr: Attr): Attr | null;
|
|
1114
1107
|
setHTMLUnsafe(html: string): void;
|
|
1115
1108
|
setPointerCapture(pointerId: number): void;
|
|
1116
|
-
toggleAttribute(qualifiedName: string, force
|
|
1109
|
+
toggleAttribute(qualifiedName: string, force
|
|
1110
|
+
/**
|
|
1111
|
+
* Whether to use the `applyTransactionAsync` function for *update* transactions
|
|
1112
|
+
* @remarks Defaults to true
|
|
1113
|
+
* @internal
|
|
1114
|
+
*/
|
|
1115
|
+
? /**
|
|
1116
|
+
* Whether to use the `applyTransactionAsync` function for *update* transactions
|
|
1117
|
+
* @remarks Defaults to true
|
|
1118
|
+
* @internal
|
|
1119
|
+
*/: boolean): boolean;
|
|
1117
1120
|
webkitMatchesSelector(selectors: string): boolean;
|
|
1118
1121
|
textContent: string;
|
|
1119
1122
|
readonly baseURI: string;
|
|
@@ -1131,12 +1134,7 @@ declare const EntityManagement_base: (new (...args: any[]) => {
|
|
|
1131
1134
|
appendChild<T_1 extends Node>(node: T_1): T_1;
|
|
1132
1135
|
compareDocumentPosition(other: Node): number;
|
|
1133
1136
|
contains(other: Node | null): boolean;
|
|
1134
|
-
getRootNode(options
|
|
1135
|
-
/**
|
|
1136
|
-
* If true, will enable row flashing for all rows for `add` transactions
|
|
1137
|
-
* @public
|
|
1138
|
-
*/
|
|
1139
|
-
?: GetRootNodeOptions): Node;
|
|
1137
|
+
getRootNode(options?: GetRootNodeOptions): Node;
|
|
1140
1138
|
hasChildNodes(): boolean;
|
|
1141
1139
|
insertBefore<T_1 extends Node>(node: T_1, child: Node | null): T_1;
|
|
1142
1140
|
isDefaultNamespace(namespace: string | null): boolean;
|
|
@@ -1394,8 +1392,8 @@ export declare type GridColDef = ColDef | ColDef_2;
|
|
|
1394
1392
|
* @fires rowClick - Fired when a row is clicked
|
|
1395
1393
|
* @fires rowDblClick - Fired when a row is double-clicked
|
|
1396
1394
|
* @fires contextMenu - Fired when a row context menu is opened
|
|
1397
|
-
* @fires rowSelected - Fired when row selection changes (single)
|
|
1398
|
-
* @fires selectionChanged - Fired when grid selection changes
|
|
1395
|
+
* @fires rowSelected - Fired when row selection changes (single)
|
|
1396
|
+
* @fires selectionChanged - Fired when grid selection changes
|
|
1399
1397
|
* @fires edit-entity - Fired when edit is requested
|
|
1400
1398
|
* @fires delete-entity - Fired when delete is requested
|
|
1401
1399
|
* @fires custom-action - Fired when a custom grid action runs
|
|
@@ -1479,7 +1477,7 @@ export declare class List extends List_base {
|
|
|
1479
1477
|
handleRowContextMenu(e: CustomEvent): void;
|
|
1480
1478
|
private handleFilterChanged;
|
|
1481
1479
|
private handleFilterCleared;
|
|
1482
|
-
handleRowSelected(e: CustomEvent
|
|
1480
|
+
handleRowSelected(e: CustomEvent): void;
|
|
1483
1481
|
handleSelectionChanged(e: CustomEvent<SelectionChangedEvent>): void;
|
|
1484
1482
|
private edit;
|
|
1485
1483
|
delete(e: any): Promise<void>;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@genesislcap/foundation-entity-management",
|
|
3
3
|
"description": "Genesis Foundation Entity Management",
|
|
4
|
-
"version": "14.483.1
|
|
4
|
+
"version": "14.483.1",
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"license": "SEE LICENSE IN license.txt",
|
|
7
7
|
"main": "dist/esm/index.js",
|
|
@@ -54,33 +54,32 @@
|
|
|
54
54
|
}
|
|
55
55
|
},
|
|
56
56
|
"devDependencies": {
|
|
57
|
-
"@genesislcap/foundation-testing": "14.483.1
|
|
58
|
-
"@genesislcap/genx": "14.483.1
|
|
59
|
-
"@genesislcap/rollup-builder": "14.483.1
|
|
60
|
-
"@genesislcap/ts-builder": "14.483.1
|
|
61
|
-
"@genesislcap/uvu-playwright-builder": "14.483.1
|
|
62
|
-
"@genesislcap/vite-builder": "14.483.1
|
|
63
|
-
"@genesislcap/webpack-builder": "14.483.1
|
|
57
|
+
"@genesislcap/foundation-testing": "14.483.1",
|
|
58
|
+
"@genesislcap/genx": "14.483.1",
|
|
59
|
+
"@genesislcap/rollup-builder": "14.483.1",
|
|
60
|
+
"@genesislcap/ts-builder": "14.483.1",
|
|
61
|
+
"@genesislcap/uvu-playwright-builder": "14.483.1",
|
|
62
|
+
"@genesislcap/vite-builder": "14.483.1",
|
|
63
|
+
"@genesislcap/webpack-builder": "14.483.1"
|
|
64
64
|
},
|
|
65
65
|
"peerDependencies": {
|
|
66
|
-
"@ag-grid-community/core": "29.2.0"
|
|
67
|
-
"ag-grid-community": "36.0.0"
|
|
66
|
+
"@ag-grid-community/core": "29.2.0"
|
|
68
67
|
},
|
|
69
68
|
"dependencies": {
|
|
70
|
-
"@genesislcap/foundation-ai": "14.483.1
|
|
71
|
-
"@genesislcap/foundation-comms": "14.483.1
|
|
72
|
-
"@genesislcap/foundation-errors": "14.483.1
|
|
73
|
-
"@genesislcap/foundation-events": "14.483.1
|
|
74
|
-
"@genesislcap/foundation-forms": "14.483.1
|
|
75
|
-
"@genesislcap/foundation-logger": "14.483.1
|
|
76
|
-
"@genesislcap/foundation-login": "14.483.1
|
|
77
|
-
"@genesislcap/foundation-notifications": "14.483.1
|
|
78
|
-
"@genesislcap/foundation-ui": "14.483.1
|
|
79
|
-
"@genesislcap/foundation-utils": "14.483.1
|
|
80
|
-
"@genesislcap/foundation-zero": "14.483.1
|
|
81
|
-
"@genesislcap/foundation-zero-grid-pro": "14.483.1
|
|
82
|
-
"@genesislcap/grid-pro": "14.483.1
|
|
83
|
-
"@genesislcap/web-core": "14.483.1
|
|
69
|
+
"@genesislcap/foundation-ai": "14.483.1",
|
|
70
|
+
"@genesislcap/foundation-comms": "14.483.1",
|
|
71
|
+
"@genesislcap/foundation-errors": "14.483.1",
|
|
72
|
+
"@genesislcap/foundation-events": "14.483.1",
|
|
73
|
+
"@genesislcap/foundation-forms": "14.483.1",
|
|
74
|
+
"@genesislcap/foundation-logger": "14.483.1",
|
|
75
|
+
"@genesislcap/foundation-login": "14.483.1",
|
|
76
|
+
"@genesislcap/foundation-notifications": "14.483.1",
|
|
77
|
+
"@genesislcap/foundation-ui": "14.483.1",
|
|
78
|
+
"@genesislcap/foundation-utils": "14.483.1",
|
|
79
|
+
"@genesislcap/foundation-zero": "14.483.1",
|
|
80
|
+
"@genesislcap/foundation-zero-grid-pro": "14.483.1",
|
|
81
|
+
"@genesislcap/grid-pro": "14.483.1",
|
|
82
|
+
"@genesislcap/web-core": "14.483.1",
|
|
84
83
|
"change-case": "^4.1.2"
|
|
85
84
|
},
|
|
86
85
|
"repository": {
|
|
@@ -103,5 +102,5 @@
|
|
|
103
102
|
"require": "./dist/react.cjs"
|
|
104
103
|
}
|
|
105
104
|
},
|
|
106
|
-
"gitHead": "
|
|
105
|
+
"gitHead": "ce8da4bce9bc949e2c75a2c31e1c03b79a754715"
|
|
107
106
|
}
|