@genesislcap/foundation-entity-management 14.433.1 → 14.434.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.
- package/dist/custom-elements.json +78 -198
- package/dist/dts/entities/entities.d.ts +67 -71
- package/dist/dts/entities/entities.d.ts.map +1 -1
- package/dist/dts/react.d.ts +0 -22
- package/dist/esm/entities/entities.js +30 -16
- package/dist/foundation-entity-management.api.json +72 -1
- package/dist/foundation-entity-management.d.ts +68 -71
- package/dist/react.cjs +4 -128
- package/dist/react.mjs +4 -128
- package/package.json +23 -23
|
@@ -227,8 +227,28 @@
|
|
|
227
227
|
"path": "src/entities/entities.ts",
|
|
228
228
|
"declarations": [
|
|
229
229
|
{
|
|
230
|
-
"kind": "
|
|
230
|
+
"kind": "function",
|
|
231
|
+
"name": "getActionNotificationTitleAndBody",
|
|
232
|
+
"parameters": [
|
|
233
|
+
{
|
|
234
|
+
"name": "type",
|
|
235
|
+
"type": {
|
|
236
|
+
"text": "ModalFormType | CrudAction.Delete | string"
|
|
237
|
+
}
|
|
238
|
+
},
|
|
239
|
+
{
|
|
240
|
+
"name": "label",
|
|
241
|
+
"type": {
|
|
242
|
+
"text": "string"
|
|
243
|
+
}
|
|
244
|
+
}
|
|
245
|
+
],
|
|
231
246
|
"description": "Main class which defines the entity management functionality",
|
|
247
|
+
"privacy": "public"
|
|
248
|
+
},
|
|
249
|
+
{
|
|
250
|
+
"kind": "class",
|
|
251
|
+
"description": "",
|
|
232
252
|
"name": "EntityManagement",
|
|
233
253
|
"members": [
|
|
234
254
|
{
|
|
@@ -864,56 +884,6 @@
|
|
|
864
884
|
"description": "Ensure any confirmation dialog anchored to the modal boundary is closed/removed"
|
|
865
885
|
}
|
|
866
886
|
],
|
|
867
|
-
"events": [
|
|
868
|
-
{
|
|
869
|
-
"description": "Fired when the request is changed",
|
|
870
|
-
"name": "request-changed"
|
|
871
|
-
},
|
|
872
|
-
{
|
|
873
|
-
"description": "Fired when the criteria is changed",
|
|
874
|
-
"name": "criteria-changed"
|
|
875
|
-
},
|
|
876
|
-
{
|
|
877
|
-
"description": "Fired when an entity is created",
|
|
878
|
-
"name": "create-entity"
|
|
879
|
-
},
|
|
880
|
-
{
|
|
881
|
-
"description": "Fired when an entity is edited",
|
|
882
|
-
"name": "edit-entity"
|
|
883
|
-
},
|
|
884
|
-
{
|
|
885
|
-
"description": "Fired when an entity is deleted Bubbled events from the child entity-list component",
|
|
886
|
-
"name": "delete-entity"
|
|
887
|
-
},
|
|
888
|
-
{
|
|
889
|
-
"description": "Fired when there is an error in a create, edit or delete operation",
|
|
890
|
-
"name": "submit-failure"
|
|
891
|
-
},
|
|
892
|
-
{
|
|
893
|
-
"description": "Fired when a create, edit or delete operation is completed successfully",
|
|
894
|
-
"name": "submit-success"
|
|
895
|
-
},
|
|
896
|
-
{
|
|
897
|
-
"description": "Fired when a row is clicked",
|
|
898
|
-
"name": "rowClick"
|
|
899
|
-
},
|
|
900
|
-
{
|
|
901
|
-
"description": "Fired when a row is double clicked",
|
|
902
|
-
"name": "rowDblClick"
|
|
903
|
-
},
|
|
904
|
-
{
|
|
905
|
-
"description": "Fired when a row is right clicked",
|
|
906
|
-
"name": "contextMenu"
|
|
907
|
-
},
|
|
908
|
-
{
|
|
909
|
-
"description": "Fired when a row is selected",
|
|
910
|
-
"name": "rowSelected"
|
|
911
|
-
},
|
|
912
|
-
{
|
|
913
|
-
"description": "Fired when grid selection changes (bubbled from entity-list)",
|
|
914
|
-
"name": "selectionChanged"
|
|
915
|
-
}
|
|
916
|
-
],
|
|
917
887
|
"attributes": [
|
|
918
888
|
{
|
|
919
889
|
"name": "design-system-prefix",
|
|
@@ -1210,6 +1180,14 @@
|
|
|
1210
1180
|
}
|
|
1211
1181
|
],
|
|
1212
1182
|
"exports": [
|
|
1183
|
+
{
|
|
1184
|
+
"kind": "js",
|
|
1185
|
+
"name": "getActionNotificationTitleAndBody",
|
|
1186
|
+
"declaration": {
|
|
1187
|
+
"name": "getActionNotificationTitleAndBody",
|
|
1188
|
+
"module": "src/entities/entities.ts"
|
|
1189
|
+
}
|
|
1190
|
+
},
|
|
1213
1191
|
{
|
|
1214
1192
|
"kind": "js",
|
|
1215
1193
|
"name": "EntityManagement",
|
|
@@ -2587,104 +2565,6 @@
|
|
|
2587
2565
|
"module": "src/entities/entities.ts"
|
|
2588
2566
|
}
|
|
2589
2567
|
}
|
|
2590
|
-
],
|
|
2591
|
-
"events": [
|
|
2592
|
-
{
|
|
2593
|
-
"description": "Fired when the request is changed",
|
|
2594
|
-
"name": "request-changed",
|
|
2595
|
-
"inheritedFrom": {
|
|
2596
|
-
"name": "EntityManagement",
|
|
2597
|
-
"module": "src/entities/entities.ts"
|
|
2598
|
-
}
|
|
2599
|
-
},
|
|
2600
|
-
{
|
|
2601
|
-
"description": "Fired when the criteria is changed",
|
|
2602
|
-
"name": "criteria-changed",
|
|
2603
|
-
"inheritedFrom": {
|
|
2604
|
-
"name": "EntityManagement",
|
|
2605
|
-
"module": "src/entities/entities.ts"
|
|
2606
|
-
}
|
|
2607
|
-
},
|
|
2608
|
-
{
|
|
2609
|
-
"description": "Fired when an entity is created",
|
|
2610
|
-
"name": "create-entity",
|
|
2611
|
-
"inheritedFrom": {
|
|
2612
|
-
"name": "EntityManagement",
|
|
2613
|
-
"module": "src/entities/entities.ts"
|
|
2614
|
-
}
|
|
2615
|
-
},
|
|
2616
|
-
{
|
|
2617
|
-
"description": "Fired when an entity is edited",
|
|
2618
|
-
"name": "edit-entity",
|
|
2619
|
-
"inheritedFrom": {
|
|
2620
|
-
"name": "EntityManagement",
|
|
2621
|
-
"module": "src/entities/entities.ts"
|
|
2622
|
-
}
|
|
2623
|
-
},
|
|
2624
|
-
{
|
|
2625
|
-
"description": "Fired when an entity is deleted Bubbled events from the child entity-list component",
|
|
2626
|
-
"name": "delete-entity",
|
|
2627
|
-
"inheritedFrom": {
|
|
2628
|
-
"name": "EntityManagement",
|
|
2629
|
-
"module": "src/entities/entities.ts"
|
|
2630
|
-
}
|
|
2631
|
-
},
|
|
2632
|
-
{
|
|
2633
|
-
"description": "Fired when there is an error in a create, edit or delete operation",
|
|
2634
|
-
"name": "submit-failure",
|
|
2635
|
-
"inheritedFrom": {
|
|
2636
|
-
"name": "EntityManagement",
|
|
2637
|
-
"module": "src/entities/entities.ts"
|
|
2638
|
-
}
|
|
2639
|
-
},
|
|
2640
|
-
{
|
|
2641
|
-
"description": "Fired when a create, edit or delete operation is completed successfully",
|
|
2642
|
-
"name": "submit-success",
|
|
2643
|
-
"inheritedFrom": {
|
|
2644
|
-
"name": "EntityManagement",
|
|
2645
|
-
"module": "src/entities/entities.ts"
|
|
2646
|
-
}
|
|
2647
|
-
},
|
|
2648
|
-
{
|
|
2649
|
-
"description": "Fired when a row is clicked",
|
|
2650
|
-
"name": "rowClick",
|
|
2651
|
-
"inheritedFrom": {
|
|
2652
|
-
"name": "EntityManagement",
|
|
2653
|
-
"module": "src/entities/entities.ts"
|
|
2654
|
-
}
|
|
2655
|
-
},
|
|
2656
|
-
{
|
|
2657
|
-
"description": "Fired when a row is double clicked",
|
|
2658
|
-
"name": "rowDblClick",
|
|
2659
|
-
"inheritedFrom": {
|
|
2660
|
-
"name": "EntityManagement",
|
|
2661
|
-
"module": "src/entities/entities.ts"
|
|
2662
|
-
}
|
|
2663
|
-
},
|
|
2664
|
-
{
|
|
2665
|
-
"description": "Fired when a row is right clicked",
|
|
2666
|
-
"name": "contextMenu",
|
|
2667
|
-
"inheritedFrom": {
|
|
2668
|
-
"name": "EntityManagement",
|
|
2669
|
-
"module": "src/entities/entities.ts"
|
|
2670
|
-
}
|
|
2671
|
-
},
|
|
2672
|
-
{
|
|
2673
|
-
"description": "Fired when a row is selected",
|
|
2674
|
-
"name": "rowSelected",
|
|
2675
|
-
"inheritedFrom": {
|
|
2676
|
-
"name": "EntityManagement",
|
|
2677
|
-
"module": "src/entities/entities.ts"
|
|
2678
|
-
}
|
|
2679
|
-
},
|
|
2680
|
-
{
|
|
2681
|
-
"description": "Fired when grid selection changes (bubbled from entity-list)",
|
|
2682
|
-
"name": "selectionChanged",
|
|
2683
|
-
"inheritedFrom": {
|
|
2684
|
-
"name": "EntityManagement",
|
|
2685
|
-
"module": "src/entities/entities.ts"
|
|
2686
|
-
}
|
|
2687
|
-
}
|
|
2688
2568
|
]
|
|
2689
2569
|
}
|
|
2690
2570
|
],
|
|
@@ -3480,6 +3360,55 @@
|
|
|
3480
3360
|
}
|
|
3481
3361
|
]
|
|
3482
3362
|
},
|
|
3363
|
+
{
|
|
3364
|
+
"kind": "javascript-module",
|
|
3365
|
+
"path": "src/layouts/default.ts",
|
|
3366
|
+
"declarations": [
|
|
3367
|
+
{
|
|
3368
|
+
"kind": "variable",
|
|
3369
|
+
"name": "loginLayout",
|
|
3370
|
+
"default": "new GenesisElementLayout(\n html`\n <div class=\"container\">\n <div class=\"content\">\n <slot></slot>\n </div>\n </div>\n `,\n baseLayoutCss,\n)"
|
|
3371
|
+
},
|
|
3372
|
+
{
|
|
3373
|
+
"kind": "variable",
|
|
3374
|
+
"name": "defaultLayout",
|
|
3375
|
+
"default": "new GenesisElementLayout(\n html`\n <div class=\"container\">\n <div class=\"content\">\n <slot></slot>\n </div>\n </div>\n `,\n css`\n ${baseLayoutCss}\n `,\n)"
|
|
3376
|
+
}
|
|
3377
|
+
],
|
|
3378
|
+
"exports": [
|
|
3379
|
+
{
|
|
3380
|
+
"kind": "js",
|
|
3381
|
+
"name": "loginLayout",
|
|
3382
|
+
"declaration": {
|
|
3383
|
+
"name": "loginLayout",
|
|
3384
|
+
"module": "src/layouts/default.ts"
|
|
3385
|
+
}
|
|
3386
|
+
},
|
|
3387
|
+
{
|
|
3388
|
+
"kind": "js",
|
|
3389
|
+
"name": "defaultLayout",
|
|
3390
|
+
"declaration": {
|
|
3391
|
+
"name": "defaultLayout",
|
|
3392
|
+
"module": "src/layouts/default.ts"
|
|
3393
|
+
}
|
|
3394
|
+
}
|
|
3395
|
+
]
|
|
3396
|
+
},
|
|
3397
|
+
{
|
|
3398
|
+
"kind": "javascript-module",
|
|
3399
|
+
"path": "src/layouts/index.ts",
|
|
3400
|
+
"declarations": [],
|
|
3401
|
+
"exports": [
|
|
3402
|
+
{
|
|
3403
|
+
"kind": "js",
|
|
3404
|
+
"name": "*",
|
|
3405
|
+
"declaration": {
|
|
3406
|
+
"name": "*",
|
|
3407
|
+
"package": "./default"
|
|
3408
|
+
}
|
|
3409
|
+
}
|
|
3410
|
+
]
|
|
3411
|
+
},
|
|
3483
3412
|
{
|
|
3484
3413
|
"kind": "javascript-module",
|
|
3485
3414
|
"path": "src/main/index.ts",
|
|
@@ -3624,55 +3553,6 @@
|
|
|
3624
3553
|
}
|
|
3625
3554
|
]
|
|
3626
3555
|
},
|
|
3627
|
-
{
|
|
3628
|
-
"kind": "javascript-module",
|
|
3629
|
-
"path": "src/layouts/default.ts",
|
|
3630
|
-
"declarations": [
|
|
3631
|
-
{
|
|
3632
|
-
"kind": "variable",
|
|
3633
|
-
"name": "loginLayout",
|
|
3634
|
-
"default": "new GenesisElementLayout(\n html`\n <div class=\"container\">\n <div class=\"content\">\n <slot></slot>\n </div>\n </div>\n `,\n baseLayoutCss,\n)"
|
|
3635
|
-
},
|
|
3636
|
-
{
|
|
3637
|
-
"kind": "variable",
|
|
3638
|
-
"name": "defaultLayout",
|
|
3639
|
-
"default": "new GenesisElementLayout(\n html`\n <div class=\"container\">\n <div class=\"content\">\n <slot></slot>\n </div>\n </div>\n `,\n css`\n ${baseLayoutCss}\n `,\n)"
|
|
3640
|
-
}
|
|
3641
|
-
],
|
|
3642
|
-
"exports": [
|
|
3643
|
-
{
|
|
3644
|
-
"kind": "js",
|
|
3645
|
-
"name": "loginLayout",
|
|
3646
|
-
"declaration": {
|
|
3647
|
-
"name": "loginLayout",
|
|
3648
|
-
"module": "src/layouts/default.ts"
|
|
3649
|
-
}
|
|
3650
|
-
},
|
|
3651
|
-
{
|
|
3652
|
-
"kind": "js",
|
|
3653
|
-
"name": "defaultLayout",
|
|
3654
|
-
"declaration": {
|
|
3655
|
-
"name": "defaultLayout",
|
|
3656
|
-
"module": "src/layouts/default.ts"
|
|
3657
|
-
}
|
|
3658
|
-
}
|
|
3659
|
-
]
|
|
3660
|
-
},
|
|
3661
|
-
{
|
|
3662
|
-
"kind": "javascript-module",
|
|
3663
|
-
"path": "src/layouts/index.ts",
|
|
3664
|
-
"declarations": [],
|
|
3665
|
-
"exports": [
|
|
3666
|
-
{
|
|
3667
|
-
"kind": "js",
|
|
3668
|
-
"name": "*",
|
|
3669
|
-
"declaration": {
|
|
3670
|
-
"name": "*",
|
|
3671
|
-
"package": "./default"
|
|
3672
|
-
}
|
|
3673
|
-
}
|
|
3674
|
-
]
|
|
3675
|
-
},
|
|
3676
3556
|
{
|
|
3677
3557
|
"kind": "javascript-module",
|
|
3678
3558
|
"path": "src/routes/config.ts",
|
|
@@ -101,6 +101,55 @@ import { ActionsMenuStyle, CrudAction, CrudMenuPosition, CustomAction, CustomAct
|
|
|
101
101
|
* ```
|
|
102
102
|
*/
|
|
103
103
|
export type DatasourceConfiguration = Omit<DatasourceOptions, 'resourceName'>;
|
|
104
|
+
/**
|
|
105
|
+
* Main class which defines the entity management functionality
|
|
106
|
+
*
|
|
107
|
+
* @remarks
|
|
108
|
+
*
|
|
109
|
+
* Connects to a backend resource and wraps up a grid which is populated
|
|
110
|
+
* with entities from that resource. The different interactions that the user
|
|
111
|
+
* can perform with the entities can be configured, examples being able to
|
|
112
|
+
* update and delete entities.
|
|
113
|
+
*
|
|
114
|
+
* @public
|
|
115
|
+
*
|
|
116
|
+
* @example
|
|
117
|
+
* Example of using the entity management system to handle counterparties
|
|
118
|
+
* ```
|
|
119
|
+
* <entity-management
|
|
120
|
+
* resourceName="ALL_COUNTERPARTYS"
|
|
121
|
+
* title="Counterparty Management"
|
|
122
|
+
* updateEvent="EVENT_COUNTERPARTY_MODIFY"
|
|
123
|
+
* deleteEvent="EVENT_COUNTERPARTY_DELETE"
|
|
124
|
+
* createEvent="EVENT_COUNTERPARTY_INSERT"
|
|
125
|
+
* ></entity-management>
|
|
126
|
+
* ```
|
|
127
|
+
* Where:<br />
|
|
128
|
+
* - the title of the grid is `Counterparty Management`<br />
|
|
129
|
+
* - the name of the resource in the database to manage is `ALL_COUNTERPARTYS`<br />
|
|
130
|
+
* - the name of the event handler for update events is `EVENT_COUNTERPARTY_MODIFY`<br />
|
|
131
|
+
* - the name of the event handler for create events is `EVENT_COUNTERPARTY_INSERT`<br />
|
|
132
|
+
* - the name of the event handler for delete events is `EVENT_COUNTERPARTY_DELETE`<br />
|
|
133
|
+
*
|
|
134
|
+
* @fires request-changed - Fired when the request is changed
|
|
135
|
+
* @fires criteria-changed - Fired when the criteria is changed
|
|
136
|
+
* @fires create-entity - Fired when an entity is created
|
|
137
|
+
* @fires edit-entity - Fired when an entity is edited
|
|
138
|
+
* @fires delete-entity - Fired when an entity is deleted
|
|
139
|
+
*
|
|
140
|
+
* Bubbled events from the child entity-list component
|
|
141
|
+
* @fires submit-failure - Fired when there is an error in a create, edit or delete operation
|
|
142
|
+
* @fires submit-success - Fired when a create, edit or delete operation is completed successfully
|
|
143
|
+
* @fires rowClick - Fired when a row is clicked
|
|
144
|
+
* @fires rowDblClick - Fired when a row is double clicked
|
|
145
|
+
* @fires contextMenu - Fired when a row is right clicked
|
|
146
|
+
* @fires rowSelected - Fired when a row is selected
|
|
147
|
+
* @fires selectionChanged - Fired when grid selection changes (bubbled from entity-list)
|
|
148
|
+
*/
|
|
149
|
+
export declare const getActionNotificationTitleAndBody: (type: ModalFormType | CrudAction.Delete | string, label: string) => {
|
|
150
|
+
title: string;
|
|
151
|
+
body: string;
|
|
152
|
+
};
|
|
104
153
|
declare const EntityManagement_base: (new (...args: any[]) => {
|
|
105
154
|
#_container: import("@genesislcap/foundation-utils").FoundationLayoutContainer | import("@genesislcap/foundation-utils").LayoutCacheContainer | import("@genesislcap/foundation-utils").DOMContainer;
|
|
106
155
|
#_latestTokenCode: string;
|
|
@@ -213,29 +262,7 @@ declare const EntityManagement_base: (new (...args: any[]) => {
|
|
|
213
262
|
removeAttributeNS(namespace: string | null, localName: string): void;
|
|
214
263
|
removeAttributeNode(attr: Attr): Attr;
|
|
215
264
|
requestFullscreen(options?: FullscreenOptions): Promise<void>;
|
|
216
|
-
requestPointerLock(options
|
|
217
|
-
/**
|
|
218
|
-
* This attribute controls whether and how the entity manager stores the state of the columns when the user edits them. Omit this attribute to disable the functionality, set it to a unique value to enable it.
|
|
219
|
-
*
|
|
220
|
-
* @remarks
|
|
221
|
-
*
|
|
222
|
-
* Setting this value will set the entity manager to persist the column states through page refreshes etc. An example of what is stored is when the user resizes or reorders columns.
|
|
223
|
-
* This value must be unique for each table in your app otherwise the persisted data will be corrupted.
|
|
224
|
-
* There is an option on the grid for the user to reset the table to the default layout if they wish.
|
|
225
|
-
* If you omit this attribute then nothing is persisted
|
|
226
|
-
* @public
|
|
227
|
-
*/
|
|
228
|
-
? /**
|
|
229
|
-
* This attribute controls whether and how the entity manager stores the state of the columns when the user edits them. Omit this attribute to disable the functionality, set it to a unique value to enable it.
|
|
230
|
-
*
|
|
231
|
-
* @remarks
|
|
232
|
-
*
|
|
233
|
-
* Setting this value will set the entity manager to persist the column states through page refreshes etc. An example of what is stored is when the user resizes or reorders columns.
|
|
234
|
-
* This value must be unique for each table in your app otherwise the persisted data will be corrupted.
|
|
235
|
-
* There is an option on the grid for the user to reset the table to the default layout if they wish.
|
|
236
|
-
* If you omit this attribute then nothing is persisted
|
|
237
|
-
* @public
|
|
238
|
-
*/: PointerLockOptions): Promise<void>;
|
|
265
|
+
requestPointerLock(options?: PointerLockOptions): Promise<void>;
|
|
239
266
|
scroll(options?: ScrollToOptions): void;
|
|
240
267
|
scroll(x: number, y: number): void;
|
|
241
268
|
scrollBy(options?: ScrollToOptions): void;
|
|
@@ -349,10 +376,23 @@ declare const EntityManagement_base: (new (...args: any[]) => {
|
|
|
349
376
|
ariaValueNow: string | null;
|
|
350
377
|
ariaValueText: string | null;
|
|
351
378
|
role: string | null;
|
|
352
|
-
animate(keyframes: Keyframe[] | PropertyIndexedKeyframes | null, options
|
|
379
|
+
animate(keyframes: Keyframe[] | PropertyIndexedKeyframes | null, options
|
|
380
|
+
/**
|
|
381
|
+
* Disables the form while enabled to stop the user dispatching a large number of duplicate events
|
|
382
|
+
* @internal
|
|
383
|
+
*/
|
|
384
|
+
?: number | KeyframeAnimationOptions): Animation;
|
|
353
385
|
getAnimations(options?: GetAnimationsOptions): Animation[];
|
|
354
386
|
after(...nodes: (Node | string)[]): void;
|
|
355
|
-
before(
|
|
387
|
+
before(
|
|
388
|
+
/**
|
|
389
|
+
* The default values to populate the form with when the user is adding an entity
|
|
390
|
+
* @public
|
|
391
|
+
*/
|
|
392
|
+
... /**
|
|
393
|
+
* The default values to populate the form with when the user is adding an entity
|
|
394
|
+
* @public
|
|
395
|
+
*/nodes: (Node | string)[]): void;
|
|
356
396
|
remove(): void;
|
|
357
397
|
replaceWith(...nodes: (Node | string)[]): void;
|
|
358
398
|
readonly nextElementSibling: Element | null;
|
|
@@ -495,51 +535,6 @@ declare const EntityManagement_base: (new (...args: any[]) => {
|
|
|
495
535
|
}>(BaseType: TBase): new () => InstanceType<TBase> & GenesisElement;
|
|
496
536
|
define<TType extends Function>(type: TType, nameOrDef?: string | import("@microsoft/fast-element").PartialFASTElementDefinition | undefined): TType;
|
|
497
537
|
};
|
|
498
|
-
/**
|
|
499
|
-
* Main class which defines the entity management functionality
|
|
500
|
-
*
|
|
501
|
-
* @remarks
|
|
502
|
-
*
|
|
503
|
-
* Connects to a backend resource and wraps up a grid which is populated
|
|
504
|
-
* with entities from that resource. The different interactions that the user
|
|
505
|
-
* can perform with the entities can be configured, examples being able to
|
|
506
|
-
* update and delete entities.
|
|
507
|
-
*
|
|
508
|
-
* @public
|
|
509
|
-
*
|
|
510
|
-
* @example
|
|
511
|
-
* Example of using the entity management system to handle counterparties
|
|
512
|
-
* ```
|
|
513
|
-
* <entity-management
|
|
514
|
-
* resourceName="ALL_COUNTERPARTYS"
|
|
515
|
-
* title="Counterparty Management"
|
|
516
|
-
* updateEvent="EVENT_COUNTERPARTY_MODIFY"
|
|
517
|
-
* deleteEvent="EVENT_COUNTERPARTY_DELETE"
|
|
518
|
-
* createEvent="EVENT_COUNTERPARTY_INSERT"
|
|
519
|
-
* ></entity-management>
|
|
520
|
-
* ```
|
|
521
|
-
* Where:<br />
|
|
522
|
-
* - the title of the grid is `Counterparty Management`<br />
|
|
523
|
-
* - the name of the resource in the database to manage is `ALL_COUNTERPARTYS`<br />
|
|
524
|
-
* - the name of the event handler for update events is `EVENT_COUNTERPARTY_MODIFY`<br />
|
|
525
|
-
* - the name of the event handler for create events is `EVENT_COUNTERPARTY_INSERT`<br />
|
|
526
|
-
* - the name of the event handler for delete events is `EVENT_COUNTERPARTY_DELETE`<br />
|
|
527
|
-
*
|
|
528
|
-
* @fires request-changed - Fired when the request is changed
|
|
529
|
-
* @fires criteria-changed - Fired when the criteria is changed
|
|
530
|
-
* @fires create-entity - Fired when an entity is created
|
|
531
|
-
* @fires edit-entity - Fired when an entity is edited
|
|
532
|
-
* @fires delete-entity - Fired when an entity is deleted
|
|
533
|
-
*
|
|
534
|
-
* Bubbled events from the child entity-list component
|
|
535
|
-
* @fires submit-failure - Fired when there is an error in a create, edit or delete operation
|
|
536
|
-
* @fires submit-success - Fired when a create, edit or delete operation is completed successfully
|
|
537
|
-
* @fires rowClick - Fired when a row is clicked
|
|
538
|
-
* @fires rowDblClick - Fired when a row is double clicked
|
|
539
|
-
* @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)
|
|
542
|
-
*/
|
|
543
538
|
export declare class EntityManagement extends EntityManagement_base {
|
|
544
539
|
/**
|
|
545
540
|
* DI connect object which is used to interact with the backend.
|
|
@@ -1191,9 +1186,10 @@ export declare class EntityManagement extends EntityManagement_base {
|
|
|
1191
1186
|
emitCrud(action: 'create' | 'edit' | 'delete'): void;
|
|
1192
1187
|
/**
|
|
1193
1188
|
* Show notifications after CRUD operations (success or failure).
|
|
1189
|
+
* @param type - ModalFormType, CrudAction.Delete, or a custom action name (string).
|
|
1194
1190
|
* @internal
|
|
1195
1191
|
*/
|
|
1196
|
-
handleNotify(type: ModalFormType | CrudAction.Delete, requestError?: MessageError[]): void;
|
|
1192
|
+
handleNotify(type: ModalFormType | CrudAction.Delete | string, requestError?: MessageError[]): void;
|
|
1197
1193
|
/**
|
|
1198
1194
|
* Clear the selected entity
|
|
1199
1195
|
* @internal
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"entities.d.ts","sourceRoot":"","sources":["../../../src/entities/entities.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,WAAW,EAAE,qBAAqB,EAAE,MAAM,yBAAyB,CAAC;AACrF,OAAO,EACL,OAAO,EACP,iBAAiB,EAGjB,YAAY,EAEb,MAAM,+BAA+B,CAAC;AACvC,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,+BAA+B,CAAC;AACpE,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,CAAC;AAChG,OAAO,EAIL,cAAc,EAGf,MAAM,uBAAuB,CAAC;AAE/B,OAAO,EAAE,IAAI,EAAE,MAAM,SAAS,CAAC;AAC/B,OAAO,EACL,gBAAgB,EAChB,UAAU,EACV,gBAAgB,EAChB,YAAY,EACZ,iBAAiB,EACjB,aAAa,EACd,MAAM,UAAU,CAAC;AAMlB;;;;;;;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;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/react.d.ts
CHANGED
|
@@ -42,17 +42,6 @@ export declare const EntityManagement: React.ForwardRefExoticComponent<
|
|
|
42
42
|
React.PropsWithChildren<
|
|
43
43
|
Omit<PublicOf<EntityManagementWC>, 'children' | 'style'> &
|
|
44
44
|
HTMLWCProps & {
|
|
45
|
-
onRequestChanged?: (event: CustomEvent<unknown>) => void;
|
|
46
|
-
onCriteriaChanged?: (event: CustomEvent<unknown>) => void;
|
|
47
|
-
onCreateEntity?: (event: CustomEvent<unknown>) => void;
|
|
48
|
-
onEditEntity?: (event: CustomEvent<unknown>) => void;
|
|
49
|
-
onDeleteEntity?: (event: CustomEvent<unknown>) => void;
|
|
50
|
-
onSubmitFailure?: (event: CustomEvent<unknown>) => void;
|
|
51
|
-
onSubmitSuccess?: (event: CustomEvent<unknown>) => void;
|
|
52
|
-
onRowClick?: (event: CustomEvent<unknown>) => void;
|
|
53
|
-
onRowDblClick?: (event: CustomEvent<unknown>) => void;
|
|
54
|
-
onRowSelected?: (event: CustomEvent<unknown>) => void;
|
|
55
|
-
onSelectionChanged?: (event: CustomEvent<unknown>) => void;
|
|
56
45
|
}
|
|
57
46
|
> & React.RefAttributes<EntityManagementWC>
|
|
58
47
|
>;
|
|
@@ -62,17 +51,6 @@ export declare const SmartFormModal: React.ForwardRefExoticComponent<
|
|
|
62
51
|
React.PropsWithChildren<
|
|
63
52
|
Omit<PublicOf<SmartFormModalWC>, 'children' | 'style'> &
|
|
64
53
|
HTMLWCProps & {
|
|
65
|
-
onRequestChanged?: (event: CustomEvent<unknown>) => void;
|
|
66
|
-
onCriteriaChanged?: (event: CustomEvent<unknown>) => void;
|
|
67
|
-
onCreateEntity?: (event: CustomEvent<unknown>) => void;
|
|
68
|
-
onEditEntity?: (event: CustomEvent<unknown>) => void;
|
|
69
|
-
onDeleteEntity?: (event: CustomEvent<unknown>) => void;
|
|
70
|
-
onSubmitFailure?: (event: CustomEvent<unknown>) => void;
|
|
71
|
-
onSubmitSuccess?: (event: CustomEvent<unknown>) => void;
|
|
72
|
-
onRowClick?: (event: CustomEvent<unknown>) => void;
|
|
73
|
-
onRowDblClick?: (event: CustomEvent<unknown>) => void;
|
|
74
|
-
onRowSelected?: (event: CustomEvent<unknown>) => void;
|
|
75
|
-
onSelectionChanged?: (event: CustomEvent<unknown>) => void;
|
|
76
54
|
}
|
|
77
55
|
> & React.RefAttributes<SmartFormModalWC>
|
|
78
56
|
>;
|
|
@@ -55,6 +55,32 @@ import { headerTemplate, template } from './entities.template';
|
|
|
55
55
|
* @fires rowSelected - Fired when a row is selected
|
|
56
56
|
* @fires selectionChanged - Fired when grid selection changes (bubbled from entity-list)
|
|
57
57
|
*/
|
|
58
|
+
export const getActionNotificationTitleAndBody = (type, label) => {
|
|
59
|
+
if (!type) {
|
|
60
|
+
return { title: '', body: '' };
|
|
61
|
+
}
|
|
62
|
+
return ({
|
|
63
|
+
[ModalFormType.Create]: {
|
|
64
|
+
title: `${label} Added`,
|
|
65
|
+
body: `The ${label} was successfully added`,
|
|
66
|
+
},
|
|
67
|
+
[ModalFormType.Update]: {
|
|
68
|
+
title: `${label} Updated`,
|
|
69
|
+
body: `The ${label} was successfully updated`,
|
|
70
|
+
},
|
|
71
|
+
[CrudAction.Delete]: {
|
|
72
|
+
title: `${label} Deleted`,
|
|
73
|
+
body: `The ${label} was successfully deleted`,
|
|
74
|
+
},
|
|
75
|
+
[ModalFormType.Read]: {
|
|
76
|
+
title: '',
|
|
77
|
+
body: '',
|
|
78
|
+
},
|
|
79
|
+
}[type] || {
|
|
80
|
+
title: `${changeCase.capitalCase(type)} completed`,
|
|
81
|
+
body: `The ${changeCase.capitalCase(type)} was completed successfully`,
|
|
82
|
+
});
|
|
83
|
+
};
|
|
58
84
|
let EntityManagement = class EntityManagement extends LifecycleMixin(GenesisElement) {
|
|
59
85
|
constructor() {
|
|
60
86
|
super(...arguments);
|
|
@@ -731,12 +757,12 @@ let EntityManagement = class EntityManagement extends LifecycleMixin(GenesisElem
|
|
|
731
757
|
submitEntityChanges() {
|
|
732
758
|
return __awaiter(this, void 0, void 0, function* () {
|
|
733
759
|
if (this.activeCustomAction) {
|
|
734
|
-
this.
|
|
760
|
+
this.handleNotify(this.activeCustomAction.name);
|
|
735
761
|
}
|
|
736
762
|
else {
|
|
737
763
|
this.handleNotify(this.modalFormType);
|
|
738
|
-
this.closeModal();
|
|
739
764
|
}
|
|
765
|
+
this.closeModal();
|
|
740
766
|
});
|
|
741
767
|
}
|
|
742
768
|
/**
|
|
@@ -980,6 +1006,7 @@ let EntityManagement = class EntityManagement extends LifecycleMixin(GenesisElem
|
|
|
980
1006
|
}
|
|
981
1007
|
/**
|
|
982
1008
|
* Show notifications after CRUD operations (success or failure).
|
|
1009
|
+
* @param type - ModalFormType, CrudAction.Delete, or a custom action name (string).
|
|
983
1010
|
* @internal
|
|
984
1011
|
*/
|
|
985
1012
|
handleNotify(type, requestError) {
|
|
@@ -998,20 +1025,7 @@ let EntityManagement = class EntityManagement extends LifecycleMixin(GenesisElem
|
|
|
998
1025
|
}
|
|
999
1026
|
else {
|
|
1000
1027
|
const label = this.entityLabel ? this.entityLabel : 'Entity';
|
|
1001
|
-
const titleAndBody =
|
|
1002
|
-
[ModalFormType.Create]: {
|
|
1003
|
-
title: `${label} Added`,
|
|
1004
|
-
body: `The ${label} was successfully added`,
|
|
1005
|
-
},
|
|
1006
|
-
[ModalFormType.Update]: {
|
|
1007
|
-
title: `${label} Updated`,
|
|
1008
|
-
body: `The ${label} was successfully updated`,
|
|
1009
|
-
},
|
|
1010
|
-
[CrudAction.Delete]: {
|
|
1011
|
-
title: `${label} Deleted`,
|
|
1012
|
-
body: `The ${label} was successfully deleted`,
|
|
1013
|
-
},
|
|
1014
|
-
}[type] || { title: '', body: '' };
|
|
1028
|
+
const titleAndBody = getActionNotificationTitleAndBody(type, label);
|
|
1015
1029
|
showNotification(Object.assign(Object.assign({}, titleAndBody), { config: {
|
|
1016
1030
|
toast: { type: 'success', autoClose: true, closeTimeout: notificationCloseTimeout },
|
|
1017
1031
|
} }), this.prefix);
|
|
@@ -1299,7 +1299,7 @@
|
|
|
1299
1299
|
{
|
|
1300
1300
|
"kind": "Class",
|
|
1301
1301
|
"canonicalReference": "@genesislcap/foundation-entity-management!EntityManagement:class",
|
|
1302
|
-
"docComment": "
|
|
1302
|
+
"docComment": "",
|
|
1303
1303
|
"excerptTokens": [
|
|
1304
1304
|
{
|
|
1305
1305
|
"kind": "Content",
|
|
@@ -2915,6 +2915,77 @@
|
|
|
2915
2915
|
},
|
|
2916
2916
|
"implementsTokenRanges": []
|
|
2917
2917
|
},
|
|
2918
|
+
{
|
|
2919
|
+
"kind": "Function",
|
|
2920
|
+
"canonicalReference": "@genesislcap/foundation-entity-management!getActionNotificationTitleAndBody:function(1)",
|
|
2921
|
+
"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",
|
|
2922
|
+
"excerptTokens": [
|
|
2923
|
+
{
|
|
2924
|
+
"kind": "Content",
|
|
2925
|
+
"text": "getActionNotificationTitleAndBody: (type: "
|
|
2926
|
+
},
|
|
2927
|
+
{
|
|
2928
|
+
"kind": "Reference",
|
|
2929
|
+
"text": "ModalFormType",
|
|
2930
|
+
"canonicalReference": "@genesislcap/foundation-entity-management!ModalFormType:enum"
|
|
2931
|
+
},
|
|
2932
|
+
{
|
|
2933
|
+
"kind": "Content",
|
|
2934
|
+
"text": " | "
|
|
2935
|
+
},
|
|
2936
|
+
{
|
|
2937
|
+
"kind": "Reference",
|
|
2938
|
+
"text": "CrudAction.Delete",
|
|
2939
|
+
"canonicalReference": "@genesislcap/foundation-entity-management!CrudAction.Delete:member"
|
|
2940
|
+
},
|
|
2941
|
+
{
|
|
2942
|
+
"kind": "Content",
|
|
2943
|
+
"text": " | string"
|
|
2944
|
+
},
|
|
2945
|
+
{
|
|
2946
|
+
"kind": "Content",
|
|
2947
|
+
"text": ", label: "
|
|
2948
|
+
},
|
|
2949
|
+
{
|
|
2950
|
+
"kind": "Content",
|
|
2951
|
+
"text": "string"
|
|
2952
|
+
},
|
|
2953
|
+
{
|
|
2954
|
+
"kind": "Content",
|
|
2955
|
+
"text": ") => "
|
|
2956
|
+
},
|
|
2957
|
+
{
|
|
2958
|
+
"kind": "Content",
|
|
2959
|
+
"text": "{\n title: string;\n body: string;\n}"
|
|
2960
|
+
}
|
|
2961
|
+
],
|
|
2962
|
+
"fileUrlPath": "src/entities/entities.ts",
|
|
2963
|
+
"returnTypeTokenRange": {
|
|
2964
|
+
"startIndex": 8,
|
|
2965
|
+
"endIndex": 9
|
|
2966
|
+
},
|
|
2967
|
+
"releaseTag": "Public",
|
|
2968
|
+
"overloadIndex": 1,
|
|
2969
|
+
"parameters": [
|
|
2970
|
+
{
|
|
2971
|
+
"parameterName": "type",
|
|
2972
|
+
"parameterTypeTokenRange": {
|
|
2973
|
+
"startIndex": 1,
|
|
2974
|
+
"endIndex": 5
|
|
2975
|
+
},
|
|
2976
|
+
"isOptional": false
|
|
2977
|
+
},
|
|
2978
|
+
{
|
|
2979
|
+
"parameterName": "label",
|
|
2980
|
+
"parameterTypeTokenRange": {
|
|
2981
|
+
"startIndex": 6,
|
|
2982
|
+
"endIndex": 7
|
|
2983
|
+
},
|
|
2984
|
+
"isOptional": false
|
|
2985
|
+
}
|
|
2986
|
+
],
|
|
2987
|
+
"name": "getActionNotificationTitleAndBody"
|
|
2988
|
+
},
|
|
2918
2989
|
{
|
|
2919
2990
|
"kind": "Function",
|
|
2920
2991
|
"canonicalReference": "@genesislcap/foundation-entity-management!getErrorFormat:function(1)",
|
|
@@ -229,51 +229,6 @@ export declare const DynamicTemplate: ViewTemplate_2<MainApplication>;
|
|
|
229
229
|
|
|
230
230
|
export declare const ENTITY_NAME: InterfaceSymbol<string>;
|
|
231
231
|
|
|
232
|
-
/**
|
|
233
|
-
* Main class which defines the entity management functionality
|
|
234
|
-
*
|
|
235
|
-
* @remarks
|
|
236
|
-
*
|
|
237
|
-
* Connects to a backend resource and wraps up a grid which is populated
|
|
238
|
-
* with entities from that resource. The different interactions that the user
|
|
239
|
-
* can perform with the entities can be configured, examples being able to
|
|
240
|
-
* update and delete entities.
|
|
241
|
-
*
|
|
242
|
-
* @public
|
|
243
|
-
*
|
|
244
|
-
* @example
|
|
245
|
-
* Example of using the entity management system to handle counterparties
|
|
246
|
-
* ```
|
|
247
|
-
* <entity-management
|
|
248
|
-
* resourceName="ALL_COUNTERPARTYS"
|
|
249
|
-
* title="Counterparty Management"
|
|
250
|
-
* updateEvent="EVENT_COUNTERPARTY_MODIFY"
|
|
251
|
-
* deleteEvent="EVENT_COUNTERPARTY_DELETE"
|
|
252
|
-
* createEvent="EVENT_COUNTERPARTY_INSERT"
|
|
253
|
-
* ></entity-management>
|
|
254
|
-
* ```
|
|
255
|
-
* Where:<br />
|
|
256
|
-
* - the title of the grid is `Counterparty Management`<br />
|
|
257
|
-
* - the name of the resource in the database to manage is `ALL_COUNTERPARTYS`<br />
|
|
258
|
-
* - the name of the event handler for update events is `EVENT_COUNTERPARTY_MODIFY`<br />
|
|
259
|
-
* - the name of the event handler for create events is `EVENT_COUNTERPARTY_INSERT`<br />
|
|
260
|
-
* - the name of the event handler for delete events is `EVENT_COUNTERPARTY_DELETE`<br />
|
|
261
|
-
*
|
|
262
|
-
* @fires request-changed - Fired when the request is changed
|
|
263
|
-
* @fires criteria-changed - Fired when the criteria is changed
|
|
264
|
-
* @fires create-entity - Fired when an entity is created
|
|
265
|
-
* @fires edit-entity - Fired when an entity is edited
|
|
266
|
-
* @fires delete-entity - Fired when an entity is deleted
|
|
267
|
-
*
|
|
268
|
-
* Bubbled events from the child entity-list component
|
|
269
|
-
* @fires submit-failure - Fired when there is an error in a create, edit or delete operation
|
|
270
|
-
* @fires submit-success - Fired when a create, edit or delete operation is completed successfully
|
|
271
|
-
* @fires rowClick - Fired when a row is clicked
|
|
272
|
-
* @fires rowDblClick - Fired when a row is double clicked
|
|
273
|
-
* @fires contextMenu - Fired when a row is right clicked
|
|
274
|
-
* @fires rowSelected - Fired when a row is selected
|
|
275
|
-
* @fires selectionChanged - Fired when grid selection changes (bubbled from entity-list)
|
|
276
|
-
*/
|
|
277
232
|
export declare class EntityManagement extends EntityManagement_base {
|
|
278
233
|
/**
|
|
279
234
|
* DI connect object which is used to interact with the backend.
|
|
@@ -925,9 +880,10 @@ export declare class EntityManagement extends EntityManagement_base {
|
|
|
925
880
|
emitCrud(action: 'create' | 'edit' | 'delete'): void;
|
|
926
881
|
/**
|
|
927
882
|
* Show notifications after CRUD operations (success or failure).
|
|
883
|
+
* @param type - ModalFormType, CrudAction.Delete, or a custom action name (string).
|
|
928
884
|
* @internal
|
|
929
885
|
*/
|
|
930
|
-
handleNotify(type: ModalFormType | CrudAction.Delete, requestError?: MessageError[]): void;
|
|
886
|
+
handleNotify(type: ModalFormType | CrudAction.Delete | string, requestError?: MessageError[]): void;
|
|
931
887
|
/**
|
|
932
888
|
* Clear the selected entity
|
|
933
889
|
* @internal
|
|
@@ -1072,29 +1028,7 @@ declare const EntityManagement_base: (new (...args: any[]) => {
|
|
|
1072
1028
|
removeAttributeNS(namespace: string | null, localName: string): void;
|
|
1073
1029
|
removeAttributeNode(attr: Attr): Attr;
|
|
1074
1030
|
requestFullscreen(options?: FullscreenOptions): Promise<void>;
|
|
1075
|
-
requestPointerLock(options
|
|
1076
|
-
/**
|
|
1077
|
-
* This attribute controls whether and how the entity manager stores the state of the columns when the user edits them. Omit this attribute to disable the functionality, set it to a unique value to enable it.
|
|
1078
|
-
*
|
|
1079
|
-
* @remarks
|
|
1080
|
-
*
|
|
1081
|
-
* Setting this value will set the entity manager to persist the column states through page refreshes etc. An example of what is stored is when the user resizes or reorders columns.
|
|
1082
|
-
* This value must be unique for each table in your app otherwise the persisted data will be corrupted.
|
|
1083
|
-
* There is an option on the grid for the user to reset the table to the default layout if they wish.
|
|
1084
|
-
* If you omit this attribute then nothing is persisted
|
|
1085
|
-
* @public
|
|
1086
|
-
*/
|
|
1087
|
-
? /**
|
|
1088
|
-
* This attribute controls whether and how the entity manager stores the state of the columns when the user edits them. Omit this attribute to disable the functionality, set it to a unique value to enable it.
|
|
1089
|
-
*
|
|
1090
|
-
* @remarks
|
|
1091
|
-
*
|
|
1092
|
-
* Setting this value will set the entity manager to persist the column states through page refreshes etc. An example of what is stored is when the user resizes or reorders columns.
|
|
1093
|
-
* This value must be unique for each table in your app otherwise the persisted data will be corrupted.
|
|
1094
|
-
* There is an option on the grid for the user to reset the table to the default layout if they wish.
|
|
1095
|
-
* If you omit this attribute then nothing is persisted
|
|
1096
|
-
* @public
|
|
1097
|
-
*/: PointerLockOptions): Promise<void>;
|
|
1031
|
+
requestPointerLock(options?: PointerLockOptions): Promise<void>;
|
|
1098
1032
|
scroll(options?: ScrollToOptions): void;
|
|
1099
1033
|
scroll(x: number, y: number): void;
|
|
1100
1034
|
scrollBy(options?: ScrollToOptions): void;
|
|
@@ -1208,10 +1142,23 @@ declare const EntityManagement_base: (new (...args: any[]) => {
|
|
|
1208
1142
|
ariaValueNow: string | null;
|
|
1209
1143
|
ariaValueText: string | null;
|
|
1210
1144
|
role: string | null;
|
|
1211
|
-
animate(keyframes: Keyframe[] | PropertyIndexedKeyframes | null, options
|
|
1145
|
+
animate(keyframes: Keyframe[] | PropertyIndexedKeyframes | null, options
|
|
1146
|
+
/**
|
|
1147
|
+
* Disables the form while enabled to stop the user dispatching a large number of duplicate events
|
|
1148
|
+
* @internal
|
|
1149
|
+
*/
|
|
1150
|
+
?: number | KeyframeAnimationOptions): Animation;
|
|
1212
1151
|
getAnimations(options?: GetAnimationsOptions): Animation[];
|
|
1213
1152
|
after(...nodes: (Node | string)[]): void;
|
|
1214
|
-
before(
|
|
1153
|
+
before(
|
|
1154
|
+
/**
|
|
1155
|
+
* The default values to populate the form with when the user is adding an entity
|
|
1156
|
+
* @public
|
|
1157
|
+
*/
|
|
1158
|
+
... /**
|
|
1159
|
+
* The default values to populate the form with when the user is adding an entity
|
|
1160
|
+
* @public
|
|
1161
|
+
*/nodes: (Node | string)[]): void;
|
|
1215
1162
|
remove(): void;
|
|
1216
1163
|
replaceWith(...nodes: (Node | string)[]): void;
|
|
1217
1164
|
readonly nextElementSibling: Element | null;
|
|
@@ -1355,6 +1302,56 @@ declare const EntityManagement_base: (new (...args: any[]) => {
|
|
|
1355
1302
|
define<TType extends Function>(type: TType, nameOrDef?: string | PartialFASTElementDefinition | undefined): TType;
|
|
1356
1303
|
};
|
|
1357
1304
|
|
|
1305
|
+
/**
|
|
1306
|
+
* Main class which defines the entity management functionality
|
|
1307
|
+
*
|
|
1308
|
+
* @remarks
|
|
1309
|
+
*
|
|
1310
|
+
* Connects to a backend resource and wraps up a grid which is populated
|
|
1311
|
+
* with entities from that resource. The different interactions that the user
|
|
1312
|
+
* can perform with the entities can be configured, examples being able to
|
|
1313
|
+
* update and delete entities.
|
|
1314
|
+
*
|
|
1315
|
+
* @public
|
|
1316
|
+
*
|
|
1317
|
+
* @example
|
|
1318
|
+
* Example of using the entity management system to handle counterparties
|
|
1319
|
+
* ```
|
|
1320
|
+
* <entity-management
|
|
1321
|
+
* resourceName="ALL_COUNTERPARTYS"
|
|
1322
|
+
* title="Counterparty Management"
|
|
1323
|
+
* updateEvent="EVENT_COUNTERPARTY_MODIFY"
|
|
1324
|
+
* deleteEvent="EVENT_COUNTERPARTY_DELETE"
|
|
1325
|
+
* createEvent="EVENT_COUNTERPARTY_INSERT"
|
|
1326
|
+
* ></entity-management>
|
|
1327
|
+
* ```
|
|
1328
|
+
* Where:<br />
|
|
1329
|
+
* - the title of the grid is `Counterparty Management`<br />
|
|
1330
|
+
* - the name of the resource in the database to manage is `ALL_COUNTERPARTYS`<br />
|
|
1331
|
+
* - the name of the event handler for update events is `EVENT_COUNTERPARTY_MODIFY`<br />
|
|
1332
|
+
* - the name of the event handler for create events is `EVENT_COUNTERPARTY_INSERT`<br />
|
|
1333
|
+
* - the name of the event handler for delete events is `EVENT_COUNTERPARTY_DELETE`<br />
|
|
1334
|
+
*
|
|
1335
|
+
* @fires request-changed - Fired when the request is changed
|
|
1336
|
+
* @fires criteria-changed - Fired when the criteria is changed
|
|
1337
|
+
* @fires create-entity - Fired when an entity is created
|
|
1338
|
+
* @fires edit-entity - Fired when an entity is edited
|
|
1339
|
+
* @fires delete-entity - Fired when an entity is deleted
|
|
1340
|
+
*
|
|
1341
|
+
* Bubbled events from the child entity-list component
|
|
1342
|
+
* @fires submit-failure - Fired when there is an error in a create, edit or delete operation
|
|
1343
|
+
* @fires submit-success - Fired when a create, edit or delete operation is completed successfully
|
|
1344
|
+
* @fires rowClick - Fired when a row is clicked
|
|
1345
|
+
* @fires rowDblClick - Fired when a row is double clicked
|
|
1346
|
+
* @fires contextMenu - Fired when a row is right clicked
|
|
1347
|
+
* @fires rowSelected - Fired when a row is selected
|
|
1348
|
+
* @fires selectionChanged - Fired when grid selection changes (bubbled from entity-list)
|
|
1349
|
+
*/
|
|
1350
|
+
export declare const getActionNotificationTitleAndBody: (type: ModalFormType | CrudAction.Delete | string, label: string) => {
|
|
1351
|
+
title: string;
|
|
1352
|
+
body: string;
|
|
1353
|
+
};
|
|
1354
|
+
|
|
1358
1355
|
/**
|
|
1359
1356
|
* Format the error as a string with a different format depending on whether
|
|
1360
1357
|
* `err` has a `FIELD` property or not
|
package/dist/react.cjs
CHANGED
|
@@ -21,137 +21,13 @@ function _mergeRefs(...refs) {
|
|
|
21
21
|
}
|
|
22
22
|
|
|
23
23
|
const EntityManagement = React.forwardRef(function EntityManagement(props, ref) {
|
|
24
|
-
const {
|
|
25
|
-
|
|
26
|
-
const _onRequestChangedRef = React.useRef(onRequestChanged);
|
|
27
|
-
_onRequestChangedRef.current = onRequestChanged;
|
|
28
|
-
const _onCriteriaChangedRef = React.useRef(onCriteriaChanged);
|
|
29
|
-
_onCriteriaChangedRef.current = onCriteriaChanged;
|
|
30
|
-
const _onCreateEntityRef = React.useRef(onCreateEntity);
|
|
31
|
-
_onCreateEntityRef.current = onCreateEntity;
|
|
32
|
-
const _onEditEntityRef = React.useRef(onEditEntity);
|
|
33
|
-
_onEditEntityRef.current = onEditEntity;
|
|
34
|
-
const _onDeleteEntityRef = React.useRef(onDeleteEntity);
|
|
35
|
-
_onDeleteEntityRef.current = onDeleteEntity;
|
|
36
|
-
const _onSubmitFailureRef = React.useRef(onSubmitFailure);
|
|
37
|
-
_onSubmitFailureRef.current = onSubmitFailure;
|
|
38
|
-
const _onSubmitSuccessRef = React.useRef(onSubmitSuccess);
|
|
39
|
-
_onSubmitSuccessRef.current = onSubmitSuccess;
|
|
40
|
-
const _onRowClickRef = React.useRef(onRowClick);
|
|
41
|
-
_onRowClickRef.current = onRowClick;
|
|
42
|
-
const _onRowDblClickRef = React.useRef(onRowDblClick);
|
|
43
|
-
_onRowDblClickRef.current = onRowDblClick;
|
|
44
|
-
const _onRowSelectedRef = React.useRef(onRowSelected);
|
|
45
|
-
_onRowSelectedRef.current = onRowSelected;
|
|
46
|
-
const _onSelectionChangedRef = React.useRef(onSelectionChanged);
|
|
47
|
-
_onSelectionChangedRef.current = onSelectionChanged;
|
|
48
|
-
React.useLayoutEffect(() => {
|
|
49
|
-
const el = _innerRef.current;
|
|
50
|
-
if (!el) return;
|
|
51
|
-
const _onRequestChangedFn = (e) => _onRequestChangedRef.current?.(e);
|
|
52
|
-
el.addEventListener('request-changed', _onRequestChangedFn);
|
|
53
|
-
const _onCriteriaChangedFn = (e) => _onCriteriaChangedRef.current?.(e);
|
|
54
|
-
el.addEventListener('criteria-changed', _onCriteriaChangedFn);
|
|
55
|
-
const _onCreateEntityFn = (e) => _onCreateEntityRef.current?.(e);
|
|
56
|
-
el.addEventListener('create-entity', _onCreateEntityFn);
|
|
57
|
-
const _onEditEntityFn = (e) => _onEditEntityRef.current?.(e);
|
|
58
|
-
el.addEventListener('edit-entity', _onEditEntityFn);
|
|
59
|
-
const _onDeleteEntityFn = (e) => _onDeleteEntityRef.current?.(e);
|
|
60
|
-
el.addEventListener('delete-entity', _onDeleteEntityFn);
|
|
61
|
-
const _onSubmitFailureFn = (e) => _onSubmitFailureRef.current?.(e);
|
|
62
|
-
el.addEventListener('submit-failure', _onSubmitFailureFn);
|
|
63
|
-
const _onSubmitSuccessFn = (e) => _onSubmitSuccessRef.current?.(e);
|
|
64
|
-
el.addEventListener('submit-success', _onSubmitSuccessFn);
|
|
65
|
-
const _onRowClickFn = (e) => _onRowClickRef.current?.(e);
|
|
66
|
-
el.addEventListener('rowClick', _onRowClickFn);
|
|
67
|
-
const _onRowDblClickFn = (e) => _onRowDblClickRef.current?.(e);
|
|
68
|
-
el.addEventListener('rowDblClick', _onRowDblClickFn);
|
|
69
|
-
const _onRowSelectedFn = (e) => _onRowSelectedRef.current?.(e);
|
|
70
|
-
el.addEventListener('rowSelected', _onRowSelectedFn);
|
|
71
|
-
const _onSelectionChangedFn = (e) => _onSelectionChangedRef.current?.(e);
|
|
72
|
-
el.addEventListener('selectionChanged', _onSelectionChangedFn);
|
|
73
|
-
return () => {
|
|
74
|
-
el.removeEventListener('request-changed', _onRequestChangedFn);
|
|
75
|
-
el.removeEventListener('criteria-changed', _onCriteriaChangedFn);
|
|
76
|
-
el.removeEventListener('create-entity', _onCreateEntityFn);
|
|
77
|
-
el.removeEventListener('edit-entity', _onEditEntityFn);
|
|
78
|
-
el.removeEventListener('delete-entity', _onDeleteEntityFn);
|
|
79
|
-
el.removeEventListener('submit-failure', _onSubmitFailureFn);
|
|
80
|
-
el.removeEventListener('submit-success', _onSubmitSuccessFn);
|
|
81
|
-
el.removeEventListener('rowClick', _onRowClickFn);
|
|
82
|
-
el.removeEventListener('rowDblClick', _onRowDblClickFn);
|
|
83
|
-
el.removeEventListener('rowSelected', _onRowSelectedFn);
|
|
84
|
-
el.removeEventListener('selectionChanged', _onSelectionChangedFn);
|
|
85
|
-
};
|
|
86
|
-
}, []);
|
|
87
|
-
return React.createElement(customElements.getName(EntityManagementWC) ?? 'entity-management', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
|
|
24
|
+
const { children, ...rest } = props;
|
|
25
|
+
return React.createElement(customElements.getName(EntityManagementWC) ?? 'entity-management', { ...rest, ref }, children);
|
|
88
26
|
});
|
|
89
27
|
|
|
90
28
|
const SmartFormModal = React.forwardRef(function SmartFormModal(props, ref) {
|
|
91
|
-
const {
|
|
92
|
-
|
|
93
|
-
const _onRequestChangedRef = React.useRef(onRequestChanged);
|
|
94
|
-
_onRequestChangedRef.current = onRequestChanged;
|
|
95
|
-
const _onCriteriaChangedRef = React.useRef(onCriteriaChanged);
|
|
96
|
-
_onCriteriaChangedRef.current = onCriteriaChanged;
|
|
97
|
-
const _onCreateEntityRef = React.useRef(onCreateEntity);
|
|
98
|
-
_onCreateEntityRef.current = onCreateEntity;
|
|
99
|
-
const _onEditEntityRef = React.useRef(onEditEntity);
|
|
100
|
-
_onEditEntityRef.current = onEditEntity;
|
|
101
|
-
const _onDeleteEntityRef = React.useRef(onDeleteEntity);
|
|
102
|
-
_onDeleteEntityRef.current = onDeleteEntity;
|
|
103
|
-
const _onSubmitFailureRef = React.useRef(onSubmitFailure);
|
|
104
|
-
_onSubmitFailureRef.current = onSubmitFailure;
|
|
105
|
-
const _onSubmitSuccessRef = React.useRef(onSubmitSuccess);
|
|
106
|
-
_onSubmitSuccessRef.current = onSubmitSuccess;
|
|
107
|
-
const _onRowClickRef = React.useRef(onRowClick);
|
|
108
|
-
_onRowClickRef.current = onRowClick;
|
|
109
|
-
const _onRowDblClickRef = React.useRef(onRowDblClick);
|
|
110
|
-
_onRowDblClickRef.current = onRowDblClick;
|
|
111
|
-
const _onRowSelectedRef = React.useRef(onRowSelected);
|
|
112
|
-
_onRowSelectedRef.current = onRowSelected;
|
|
113
|
-
const _onSelectionChangedRef = React.useRef(onSelectionChanged);
|
|
114
|
-
_onSelectionChangedRef.current = onSelectionChanged;
|
|
115
|
-
React.useLayoutEffect(() => {
|
|
116
|
-
const el = _innerRef.current;
|
|
117
|
-
if (!el) return;
|
|
118
|
-
const _onRequestChangedFn = (e) => _onRequestChangedRef.current?.(e);
|
|
119
|
-
el.addEventListener('request-changed', _onRequestChangedFn);
|
|
120
|
-
const _onCriteriaChangedFn = (e) => _onCriteriaChangedRef.current?.(e);
|
|
121
|
-
el.addEventListener('criteria-changed', _onCriteriaChangedFn);
|
|
122
|
-
const _onCreateEntityFn = (e) => _onCreateEntityRef.current?.(e);
|
|
123
|
-
el.addEventListener('create-entity', _onCreateEntityFn);
|
|
124
|
-
const _onEditEntityFn = (e) => _onEditEntityRef.current?.(e);
|
|
125
|
-
el.addEventListener('edit-entity', _onEditEntityFn);
|
|
126
|
-
const _onDeleteEntityFn = (e) => _onDeleteEntityRef.current?.(e);
|
|
127
|
-
el.addEventListener('delete-entity', _onDeleteEntityFn);
|
|
128
|
-
const _onSubmitFailureFn = (e) => _onSubmitFailureRef.current?.(e);
|
|
129
|
-
el.addEventListener('submit-failure', _onSubmitFailureFn);
|
|
130
|
-
const _onSubmitSuccessFn = (e) => _onSubmitSuccessRef.current?.(e);
|
|
131
|
-
el.addEventListener('submit-success', _onSubmitSuccessFn);
|
|
132
|
-
const _onRowClickFn = (e) => _onRowClickRef.current?.(e);
|
|
133
|
-
el.addEventListener('rowClick', _onRowClickFn);
|
|
134
|
-
const _onRowDblClickFn = (e) => _onRowDblClickRef.current?.(e);
|
|
135
|
-
el.addEventListener('rowDblClick', _onRowDblClickFn);
|
|
136
|
-
const _onRowSelectedFn = (e) => _onRowSelectedRef.current?.(e);
|
|
137
|
-
el.addEventListener('rowSelected', _onRowSelectedFn);
|
|
138
|
-
const _onSelectionChangedFn = (e) => _onSelectionChangedRef.current?.(e);
|
|
139
|
-
el.addEventListener('selectionChanged', _onSelectionChangedFn);
|
|
140
|
-
return () => {
|
|
141
|
-
el.removeEventListener('request-changed', _onRequestChangedFn);
|
|
142
|
-
el.removeEventListener('criteria-changed', _onCriteriaChangedFn);
|
|
143
|
-
el.removeEventListener('create-entity', _onCreateEntityFn);
|
|
144
|
-
el.removeEventListener('edit-entity', _onEditEntityFn);
|
|
145
|
-
el.removeEventListener('delete-entity', _onDeleteEntityFn);
|
|
146
|
-
el.removeEventListener('submit-failure', _onSubmitFailureFn);
|
|
147
|
-
el.removeEventListener('submit-success', _onSubmitSuccessFn);
|
|
148
|
-
el.removeEventListener('rowClick', _onRowClickFn);
|
|
149
|
-
el.removeEventListener('rowDblClick', _onRowDblClickFn);
|
|
150
|
-
el.removeEventListener('rowSelected', _onRowSelectedFn);
|
|
151
|
-
el.removeEventListener('selectionChanged', _onSelectionChangedFn);
|
|
152
|
-
};
|
|
153
|
-
}, []);
|
|
154
|
-
return React.createElement(customElements.getName(SmartFormModalWC) ?? 'smart-form-modal', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
|
|
29
|
+
const { children, ...rest } = props;
|
|
30
|
+
return React.createElement(customElements.getName(SmartFormModalWC) ?? 'smart-form-modal', { ...rest, ref }, children);
|
|
155
31
|
});
|
|
156
32
|
|
|
157
33
|
const List = React.forwardRef(function List(props, ref) {
|
package/dist/react.mjs
CHANGED
|
@@ -19,137 +19,13 @@ function _mergeRefs(...refs) {
|
|
|
19
19
|
}
|
|
20
20
|
|
|
21
21
|
export const EntityManagement = React.forwardRef(function EntityManagement(props, ref) {
|
|
22
|
-
const {
|
|
23
|
-
|
|
24
|
-
const _onRequestChangedRef = React.useRef(onRequestChanged);
|
|
25
|
-
_onRequestChangedRef.current = onRequestChanged;
|
|
26
|
-
const _onCriteriaChangedRef = React.useRef(onCriteriaChanged);
|
|
27
|
-
_onCriteriaChangedRef.current = onCriteriaChanged;
|
|
28
|
-
const _onCreateEntityRef = React.useRef(onCreateEntity);
|
|
29
|
-
_onCreateEntityRef.current = onCreateEntity;
|
|
30
|
-
const _onEditEntityRef = React.useRef(onEditEntity);
|
|
31
|
-
_onEditEntityRef.current = onEditEntity;
|
|
32
|
-
const _onDeleteEntityRef = React.useRef(onDeleteEntity);
|
|
33
|
-
_onDeleteEntityRef.current = onDeleteEntity;
|
|
34
|
-
const _onSubmitFailureRef = React.useRef(onSubmitFailure);
|
|
35
|
-
_onSubmitFailureRef.current = onSubmitFailure;
|
|
36
|
-
const _onSubmitSuccessRef = React.useRef(onSubmitSuccess);
|
|
37
|
-
_onSubmitSuccessRef.current = onSubmitSuccess;
|
|
38
|
-
const _onRowClickRef = React.useRef(onRowClick);
|
|
39
|
-
_onRowClickRef.current = onRowClick;
|
|
40
|
-
const _onRowDblClickRef = React.useRef(onRowDblClick);
|
|
41
|
-
_onRowDblClickRef.current = onRowDblClick;
|
|
42
|
-
const _onRowSelectedRef = React.useRef(onRowSelected);
|
|
43
|
-
_onRowSelectedRef.current = onRowSelected;
|
|
44
|
-
const _onSelectionChangedRef = React.useRef(onSelectionChanged);
|
|
45
|
-
_onSelectionChangedRef.current = onSelectionChanged;
|
|
46
|
-
React.useLayoutEffect(() => {
|
|
47
|
-
const el = _innerRef.current;
|
|
48
|
-
if (!el) return;
|
|
49
|
-
const _onRequestChangedFn = (e) => _onRequestChangedRef.current?.(e);
|
|
50
|
-
el.addEventListener('request-changed', _onRequestChangedFn);
|
|
51
|
-
const _onCriteriaChangedFn = (e) => _onCriteriaChangedRef.current?.(e);
|
|
52
|
-
el.addEventListener('criteria-changed', _onCriteriaChangedFn);
|
|
53
|
-
const _onCreateEntityFn = (e) => _onCreateEntityRef.current?.(e);
|
|
54
|
-
el.addEventListener('create-entity', _onCreateEntityFn);
|
|
55
|
-
const _onEditEntityFn = (e) => _onEditEntityRef.current?.(e);
|
|
56
|
-
el.addEventListener('edit-entity', _onEditEntityFn);
|
|
57
|
-
const _onDeleteEntityFn = (e) => _onDeleteEntityRef.current?.(e);
|
|
58
|
-
el.addEventListener('delete-entity', _onDeleteEntityFn);
|
|
59
|
-
const _onSubmitFailureFn = (e) => _onSubmitFailureRef.current?.(e);
|
|
60
|
-
el.addEventListener('submit-failure', _onSubmitFailureFn);
|
|
61
|
-
const _onSubmitSuccessFn = (e) => _onSubmitSuccessRef.current?.(e);
|
|
62
|
-
el.addEventListener('submit-success', _onSubmitSuccessFn);
|
|
63
|
-
const _onRowClickFn = (e) => _onRowClickRef.current?.(e);
|
|
64
|
-
el.addEventListener('rowClick', _onRowClickFn);
|
|
65
|
-
const _onRowDblClickFn = (e) => _onRowDblClickRef.current?.(e);
|
|
66
|
-
el.addEventListener('rowDblClick', _onRowDblClickFn);
|
|
67
|
-
const _onRowSelectedFn = (e) => _onRowSelectedRef.current?.(e);
|
|
68
|
-
el.addEventListener('rowSelected', _onRowSelectedFn);
|
|
69
|
-
const _onSelectionChangedFn = (e) => _onSelectionChangedRef.current?.(e);
|
|
70
|
-
el.addEventListener('selectionChanged', _onSelectionChangedFn);
|
|
71
|
-
return () => {
|
|
72
|
-
el.removeEventListener('request-changed', _onRequestChangedFn);
|
|
73
|
-
el.removeEventListener('criteria-changed', _onCriteriaChangedFn);
|
|
74
|
-
el.removeEventListener('create-entity', _onCreateEntityFn);
|
|
75
|
-
el.removeEventListener('edit-entity', _onEditEntityFn);
|
|
76
|
-
el.removeEventListener('delete-entity', _onDeleteEntityFn);
|
|
77
|
-
el.removeEventListener('submit-failure', _onSubmitFailureFn);
|
|
78
|
-
el.removeEventListener('submit-success', _onSubmitSuccessFn);
|
|
79
|
-
el.removeEventListener('rowClick', _onRowClickFn);
|
|
80
|
-
el.removeEventListener('rowDblClick', _onRowDblClickFn);
|
|
81
|
-
el.removeEventListener('rowSelected', _onRowSelectedFn);
|
|
82
|
-
el.removeEventListener('selectionChanged', _onSelectionChangedFn);
|
|
83
|
-
};
|
|
84
|
-
}, []);
|
|
85
|
-
return React.createElement(customElements.getName(EntityManagementWC) ?? 'entity-management', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
|
|
22
|
+
const { children, ...rest } = props;
|
|
23
|
+
return React.createElement(customElements.getName(EntityManagementWC) ?? 'entity-management', { ...rest, ref }, children);
|
|
86
24
|
});
|
|
87
25
|
|
|
88
26
|
export const SmartFormModal = React.forwardRef(function SmartFormModal(props, ref) {
|
|
89
|
-
const {
|
|
90
|
-
|
|
91
|
-
const _onRequestChangedRef = React.useRef(onRequestChanged);
|
|
92
|
-
_onRequestChangedRef.current = onRequestChanged;
|
|
93
|
-
const _onCriteriaChangedRef = React.useRef(onCriteriaChanged);
|
|
94
|
-
_onCriteriaChangedRef.current = onCriteriaChanged;
|
|
95
|
-
const _onCreateEntityRef = React.useRef(onCreateEntity);
|
|
96
|
-
_onCreateEntityRef.current = onCreateEntity;
|
|
97
|
-
const _onEditEntityRef = React.useRef(onEditEntity);
|
|
98
|
-
_onEditEntityRef.current = onEditEntity;
|
|
99
|
-
const _onDeleteEntityRef = React.useRef(onDeleteEntity);
|
|
100
|
-
_onDeleteEntityRef.current = onDeleteEntity;
|
|
101
|
-
const _onSubmitFailureRef = React.useRef(onSubmitFailure);
|
|
102
|
-
_onSubmitFailureRef.current = onSubmitFailure;
|
|
103
|
-
const _onSubmitSuccessRef = React.useRef(onSubmitSuccess);
|
|
104
|
-
_onSubmitSuccessRef.current = onSubmitSuccess;
|
|
105
|
-
const _onRowClickRef = React.useRef(onRowClick);
|
|
106
|
-
_onRowClickRef.current = onRowClick;
|
|
107
|
-
const _onRowDblClickRef = React.useRef(onRowDblClick);
|
|
108
|
-
_onRowDblClickRef.current = onRowDblClick;
|
|
109
|
-
const _onRowSelectedRef = React.useRef(onRowSelected);
|
|
110
|
-
_onRowSelectedRef.current = onRowSelected;
|
|
111
|
-
const _onSelectionChangedRef = React.useRef(onSelectionChanged);
|
|
112
|
-
_onSelectionChangedRef.current = onSelectionChanged;
|
|
113
|
-
React.useLayoutEffect(() => {
|
|
114
|
-
const el = _innerRef.current;
|
|
115
|
-
if (!el) return;
|
|
116
|
-
const _onRequestChangedFn = (e) => _onRequestChangedRef.current?.(e);
|
|
117
|
-
el.addEventListener('request-changed', _onRequestChangedFn);
|
|
118
|
-
const _onCriteriaChangedFn = (e) => _onCriteriaChangedRef.current?.(e);
|
|
119
|
-
el.addEventListener('criteria-changed', _onCriteriaChangedFn);
|
|
120
|
-
const _onCreateEntityFn = (e) => _onCreateEntityRef.current?.(e);
|
|
121
|
-
el.addEventListener('create-entity', _onCreateEntityFn);
|
|
122
|
-
const _onEditEntityFn = (e) => _onEditEntityRef.current?.(e);
|
|
123
|
-
el.addEventListener('edit-entity', _onEditEntityFn);
|
|
124
|
-
const _onDeleteEntityFn = (e) => _onDeleteEntityRef.current?.(e);
|
|
125
|
-
el.addEventListener('delete-entity', _onDeleteEntityFn);
|
|
126
|
-
const _onSubmitFailureFn = (e) => _onSubmitFailureRef.current?.(e);
|
|
127
|
-
el.addEventListener('submit-failure', _onSubmitFailureFn);
|
|
128
|
-
const _onSubmitSuccessFn = (e) => _onSubmitSuccessRef.current?.(e);
|
|
129
|
-
el.addEventListener('submit-success', _onSubmitSuccessFn);
|
|
130
|
-
const _onRowClickFn = (e) => _onRowClickRef.current?.(e);
|
|
131
|
-
el.addEventListener('rowClick', _onRowClickFn);
|
|
132
|
-
const _onRowDblClickFn = (e) => _onRowDblClickRef.current?.(e);
|
|
133
|
-
el.addEventListener('rowDblClick', _onRowDblClickFn);
|
|
134
|
-
const _onRowSelectedFn = (e) => _onRowSelectedRef.current?.(e);
|
|
135
|
-
el.addEventListener('rowSelected', _onRowSelectedFn);
|
|
136
|
-
const _onSelectionChangedFn = (e) => _onSelectionChangedRef.current?.(e);
|
|
137
|
-
el.addEventListener('selectionChanged', _onSelectionChangedFn);
|
|
138
|
-
return () => {
|
|
139
|
-
el.removeEventListener('request-changed', _onRequestChangedFn);
|
|
140
|
-
el.removeEventListener('criteria-changed', _onCriteriaChangedFn);
|
|
141
|
-
el.removeEventListener('create-entity', _onCreateEntityFn);
|
|
142
|
-
el.removeEventListener('edit-entity', _onEditEntityFn);
|
|
143
|
-
el.removeEventListener('delete-entity', _onDeleteEntityFn);
|
|
144
|
-
el.removeEventListener('submit-failure', _onSubmitFailureFn);
|
|
145
|
-
el.removeEventListener('submit-success', _onSubmitSuccessFn);
|
|
146
|
-
el.removeEventListener('rowClick', _onRowClickFn);
|
|
147
|
-
el.removeEventListener('rowDblClick', _onRowDblClickFn);
|
|
148
|
-
el.removeEventListener('rowSelected', _onRowSelectedFn);
|
|
149
|
-
el.removeEventListener('selectionChanged', _onSelectionChangedFn);
|
|
150
|
-
};
|
|
151
|
-
}, []);
|
|
152
|
-
return React.createElement(customElements.getName(SmartFormModalWC) ?? 'smart-form-modal', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
|
|
27
|
+
const { children, ...rest } = props;
|
|
28
|
+
return React.createElement(customElements.getName(SmartFormModalWC) ?? 'smart-form-modal', { ...rest, ref }, children);
|
|
153
29
|
});
|
|
154
30
|
|
|
155
31
|
export const List = React.forwardRef(function List(props, ref) {
|
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.
|
|
4
|
+
"version": "14.434.0",
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"license": "SEE LICENSE IN license.txt",
|
|
7
7
|
"main": "dist/esm/index.js",
|
|
@@ -54,32 +54,32 @@
|
|
|
54
54
|
}
|
|
55
55
|
},
|
|
56
56
|
"devDependencies": {
|
|
57
|
-
"@genesislcap/foundation-testing": "14.
|
|
58
|
-
"@genesislcap/genx": "14.
|
|
59
|
-
"@genesislcap/rollup-builder": "14.
|
|
60
|
-
"@genesislcap/ts-builder": "14.
|
|
61
|
-
"@genesislcap/uvu-playwright-builder": "14.
|
|
62
|
-
"@genesislcap/vite-builder": "14.
|
|
63
|
-
"@genesislcap/webpack-builder": "14.
|
|
57
|
+
"@genesislcap/foundation-testing": "14.434.0",
|
|
58
|
+
"@genesislcap/genx": "14.434.0",
|
|
59
|
+
"@genesislcap/rollup-builder": "14.434.0",
|
|
60
|
+
"@genesislcap/ts-builder": "14.434.0",
|
|
61
|
+
"@genesislcap/uvu-playwright-builder": "14.434.0",
|
|
62
|
+
"@genesislcap/vite-builder": "14.434.0",
|
|
63
|
+
"@genesislcap/webpack-builder": "14.434.0"
|
|
64
64
|
},
|
|
65
65
|
"peerDependencies": {
|
|
66
66
|
"@ag-grid-community/core": "29.2.0"
|
|
67
67
|
},
|
|
68
68
|
"dependencies": {
|
|
69
|
-
"@genesislcap/foundation-ai": "14.
|
|
70
|
-
"@genesislcap/foundation-comms": "14.
|
|
71
|
-
"@genesislcap/foundation-errors": "14.
|
|
72
|
-
"@genesislcap/foundation-events": "14.
|
|
73
|
-
"@genesislcap/foundation-forms": "14.
|
|
74
|
-
"@genesislcap/foundation-logger": "14.
|
|
75
|
-
"@genesislcap/foundation-login": "14.
|
|
76
|
-
"@genesislcap/foundation-notifications": "14.
|
|
77
|
-
"@genesislcap/foundation-ui": "14.
|
|
78
|
-
"@genesislcap/foundation-utils": "14.
|
|
79
|
-
"@genesislcap/foundation-zero": "14.
|
|
80
|
-
"@genesislcap/foundation-zero-grid-pro": "14.
|
|
81
|
-
"@genesislcap/grid-pro": "14.
|
|
82
|
-
"@genesislcap/web-core": "14.
|
|
69
|
+
"@genesislcap/foundation-ai": "14.434.0",
|
|
70
|
+
"@genesislcap/foundation-comms": "14.434.0",
|
|
71
|
+
"@genesislcap/foundation-errors": "14.434.0",
|
|
72
|
+
"@genesislcap/foundation-events": "14.434.0",
|
|
73
|
+
"@genesislcap/foundation-forms": "14.434.0",
|
|
74
|
+
"@genesislcap/foundation-logger": "14.434.0",
|
|
75
|
+
"@genesislcap/foundation-login": "14.434.0",
|
|
76
|
+
"@genesislcap/foundation-notifications": "14.434.0",
|
|
77
|
+
"@genesislcap/foundation-ui": "14.434.0",
|
|
78
|
+
"@genesislcap/foundation-utils": "14.434.0",
|
|
79
|
+
"@genesislcap/foundation-zero": "14.434.0",
|
|
80
|
+
"@genesislcap/foundation-zero-grid-pro": "14.434.0",
|
|
81
|
+
"@genesislcap/grid-pro": "14.434.0",
|
|
82
|
+
"@genesislcap/web-core": "14.434.0",
|
|
83
83
|
"change-case": "^4.1.2"
|
|
84
84
|
},
|
|
85
85
|
"repository": {
|
|
@@ -102,5 +102,5 @@
|
|
|
102
102
|
"require": "./dist/react.cjs"
|
|
103
103
|
}
|
|
104
104
|
},
|
|
105
|
-
"gitHead": "
|
|
105
|
+
"gitHead": "ba7b16060050e905ef549b8eed08d67fe4e732d2"
|
|
106
106
|
}
|