@genesislcap/foundation-entity-management 14.30.2-bny.1 → 14.30.2
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 +2 -81
- package/dist/dts/entities/entities.d.ts +7 -18
- package/dist/dts/entities/entities.d.ts.map +1 -1
- package/dist/dts/entities/entities.template.d.ts.map +1 -1
- package/dist/dts/list/list.d.ts +1 -2
- package/dist/dts/list/list.d.ts.map +1 -1
- package/dist/dts/list/list.template.d.ts.map +1 -1
- package/dist/esm/entities/entities.js +0 -11
- package/dist/esm/entities/entities.template.js +0 -2
- package/dist/esm/list/list.js +0 -3
- package/dist/esm/list/list.template.js +0 -1
- package/dist/foundation-entity-management.api.json +0 -115
- package/dist/foundation-entity-management.d.ts +6 -18
- package/docs/api/foundation-entity-management.entitymanagement.md +0 -3
- package/docs/api-report.md +0 -7
- package/package.json +13 -13
- package/docs/api/foundation-entity-management.entitymanagement.criteriachanged.md +0 -22
- package/docs/api/foundation-entity-management.entitymanagement.editentityform.md +0 -11
- package/docs/api/foundation-entity-management.entitymanagement.gridoptions.md +0 -13
|
@@ -151,7 +151,7 @@
|
|
|
151
151
|
{
|
|
152
152
|
"kind": "variable",
|
|
153
153
|
"name": "template",
|
|
154
|
-
"default": "html<EntityManagement>`\n <div class=\"container\">\n <slot name=\"header\" part=\"header\">${defaultHeader}</slot>\n <entity-list\n title=${(x) => x.title}\n persist-column-state-key=${(x) => x.persistColumnStateKey}\n size-columns-to-fit=${(x) => x.sizeColumnsToFit}\n enable-filter-bar=${(x) => x.enableFilterBar}\n resourceName=${(x) => x.resourceName}\n :deleteEvent=${(x) => x.deleteEvent}\n :updateEvent=${(x) => x.updateEvent}\n :
|
|
154
|
+
"default": "html<EntityManagement>`\n <div class=\"container\">\n <slot name=\"header\" part=\"header\">${defaultHeader}</slot>\n <entity-list\n title=${(x) => x.title}\n persist-column-state-key=${(x) => x.persistColumnStateKey}\n size-columns-to-fit=${(x) => x.sizeColumnsToFit}\n enable-filter-bar=${(x) => x.enableFilterBar}\n resourceName=${(x) => x.resourceName}\n :deleteEvent=${(x) => x.deleteEvent}\n :updateEvent=${(x) => x.updateEvent}\n :columns=${(x) => x.columns}\n :datasourceConfig=${(x) => x.datasourceConfig}\n data-test-id=\"entity-list\"\n >\n <slot name=\"header\" slot=\"header\">${defaultHeader}</slot>\n </entity-list>\n <zero-modal\n ${ref('editEntityModal')}\n position=${(x) => x.modalPosition}\n :onCloseCallback=${(x) => x.closeModal.bind(x)}\n data-test-id=\"edit-entity-modal\"\n >\n <div slot=\"top\" data-test-id=\"dialog-title\">${(x) => x.editDialogTitle}</div>\n\n <slot name=\"edit\">\n ${when(\n (x) => x.editModalVisible,\n html<EntityManagement>`\n <foundation-form\n part=\"form\"\n resourceName=${(x) => x.formResourceName}\n :data=${(x) => x.editedEntity}\n :uischema=${(x) => x.formUiSchema}\n @submit-success=${(x, c) => x.submitEntityChanges(c.event as CustomEvent)}\n @submit-failure=${(x, c) =>\n x.errorSnack((c.event as CustomEvent<{ errors: MessageError[] }>).detail.errors)}\n ></foundation-form>\n `\n )}\n </slot>\n </zero-modal>\n </div>\n`",
|
|
155
155
|
"description": "Defines the html of the entity component as a ViewTemplate object"
|
|
156
156
|
}
|
|
157
157
|
],
|
|
@@ -269,15 +269,6 @@
|
|
|
269
269
|
"description": "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.",
|
|
270
270
|
"privacy": "public"
|
|
271
271
|
},
|
|
272
|
-
{
|
|
273
|
-
"kind": "field",
|
|
274
|
-
"name": "gridOptions",
|
|
275
|
-
"type": {
|
|
276
|
-
"text": "GridOptions"
|
|
277
|
-
},
|
|
278
|
-
"description": "GridOptions to be passed down from application",
|
|
279
|
-
"privacy": "public"
|
|
280
|
-
},
|
|
281
272
|
{
|
|
282
273
|
"kind": "field",
|
|
283
274
|
"name": "columns",
|
|
@@ -377,14 +368,6 @@
|
|
|
377
368
|
},
|
|
378
369
|
"privacy": "public"
|
|
379
370
|
},
|
|
380
|
-
{
|
|
381
|
-
"kind": "field",
|
|
382
|
-
"name": "editEntityForm",
|
|
383
|
-
"type": {
|
|
384
|
-
"text": "Form"
|
|
385
|
-
},
|
|
386
|
-
"privacy": "public"
|
|
387
|
-
},
|
|
388
371
|
{
|
|
389
372
|
"kind": "field",
|
|
390
373
|
"name": "sizeColumnsToFit",
|
|
@@ -460,19 +443,6 @@
|
|
|
460
443
|
"name": "closeModal",
|
|
461
444
|
"privacy": "public"
|
|
462
445
|
},
|
|
463
|
-
{
|
|
464
|
-
"kind": "method",
|
|
465
|
-
"name": "criteriaChanged",
|
|
466
|
-
"privacy": "public",
|
|
467
|
-
"parameters": [
|
|
468
|
-
{
|
|
469
|
-
"name": "e",
|
|
470
|
-
"type": {
|
|
471
|
-
"text": "CustomEvent<string>"
|
|
472
|
-
}
|
|
473
|
-
}
|
|
474
|
-
]
|
|
475
|
-
},
|
|
476
446
|
{
|
|
477
447
|
"kind": "method",
|
|
478
448
|
"name": "confirmDelete"
|
|
@@ -741,7 +711,7 @@
|
|
|
741
711
|
{
|
|
742
712
|
"kind": "variable",
|
|
743
713
|
"name": "listTemplate",
|
|
744
|
-
"default": "html<List>`\n <div class=\"container\">\n ${when(\n (x) => x.enableFilterBar,\n html<List>`\n <zero-filter-bar\n resource=${(x) => x.resourceName}\n only=${(x) => x.columns?.map((colDef) => colDef.field).filter((field) => !!field)}\n labels=${(x) => x.columns?.map((colDef) => colDef.headerName || '')}\n target=\"datasource\"\n ></zero-filter-bar>\n `\n )}\n <zero-grid-pro\n ${ref('grid')}\n auto-cell-renderer-by-type\n rowSelection=\"single\"\n rowHeight=\"36\"\n headerHeight=\"36\"\n persist-column-state-key=${(x) => x.persistColumnStateKey}\n ?only-template-col-defs=${(x) => !!x.columns}\n suppressCellFocus=\"true\"\n suppressRowDeselection=\"true\"\n enable-cell-flashing=${(x) => x.enableCellFlashing}\n >\n <grid-pro-genesis-datasource\n ${ref('datasource')}\n
|
|
714
|
+
"default": "html<List>`\n <div class=\"container\">\n ${when(\n (x) => x.enableFilterBar,\n html<List>`\n <zero-filter-bar\n resource=${(x) => x.resourceName}\n only=${(x) => x.columns?.map((colDef) => colDef.field).filter((field) => !!field)}\n labels=${(x) => x.columns?.map((colDef) => colDef.headerName || '')}\n target=\"datasource\"\n ></zero-filter-bar>\n `\n )}\n <zero-grid-pro\n ${ref('grid')}\n auto-cell-renderer-by-type\n rowSelection=\"single\"\n rowHeight=\"36\"\n headerHeight=\"36\"\n persist-column-state-key=${(x) => x.persistColumnStateKey}\n ?only-template-col-defs=${(x) => !!x.columns}\n suppressCellFocus=\"true\"\n suppressRowDeselection=\"true\"\n enable-cell-flashing=${(x) => x.enableCellFlashing}\n >\n <grid-pro-genesis-datasource\n ${ref('datasource')}\n resource-name=${(x) => x.resourceName}\n criteria=${(x) => x.datasourceConfig?.criteria}\n fields=${(x) => x.datasourceConfig?.fields}\n is-snapshot=${(x) => x.datasourceConfig?.isSnapshot}\n max-rows=${(x) => x.datasourceConfig?.maxRows}\n max-view=${(x) => x.datasourceConfig?.maxView}\n order-by=${(x) => x.datasourceConfig?.orderBy}\n reverse=${(x) => x.datasourceConfig?.reverse}\n ></grid-pro-genesis-datasource>\n ${repeat(\n (x) => x.columns,\n html`\n <grid-pro-column :definition=${(x) => x}></grid-pro-column>\n `\n )}\n ${repeat(\n (x) => x.actionButtonsConfig,\n html`\n <grid-pro-column :definition=${(x) => x}></grid-pro-column>\n `\n )}\n </zero-grid-pro>\n </div>\n`"
|
|
745
715
|
}
|
|
746
716
|
],
|
|
747
717
|
"exports": [
|
|
@@ -824,13 +794,6 @@
|
|
|
824
794
|
},
|
|
825
795
|
"privacy": "public"
|
|
826
796
|
},
|
|
827
|
-
{
|
|
828
|
-
"kind": "field",
|
|
829
|
-
"name": "gridOptions",
|
|
830
|
-
"type": {
|
|
831
|
-
"text": "GridOptions"
|
|
832
|
-
}
|
|
833
|
-
},
|
|
834
797
|
{
|
|
835
798
|
"kind": "field",
|
|
836
799
|
"name": "columns",
|
|
@@ -1354,19 +1317,6 @@
|
|
|
1354
1317
|
"module": "src/entities/entities.ts"
|
|
1355
1318
|
}
|
|
1356
1319
|
},
|
|
1357
|
-
{
|
|
1358
|
-
"kind": "field",
|
|
1359
|
-
"name": "gridOptions",
|
|
1360
|
-
"type": {
|
|
1361
|
-
"text": "GridOptions"
|
|
1362
|
-
},
|
|
1363
|
-
"description": "GridOptions to be passed down from application",
|
|
1364
|
-
"privacy": "public",
|
|
1365
|
-
"inheritedFrom": {
|
|
1366
|
-
"name": "EntityManagement",
|
|
1367
|
-
"module": "src/entities/entities.ts"
|
|
1368
|
-
}
|
|
1369
|
-
},
|
|
1370
1320
|
{
|
|
1371
1321
|
"kind": "field",
|
|
1372
1322
|
"name": "columns",
|
|
@@ -1496,18 +1446,6 @@
|
|
|
1496
1446
|
"module": "src/entities/entities.ts"
|
|
1497
1447
|
}
|
|
1498
1448
|
},
|
|
1499
|
-
{
|
|
1500
|
-
"kind": "field",
|
|
1501
|
-
"name": "editEntityForm",
|
|
1502
|
-
"type": {
|
|
1503
|
-
"text": "Form"
|
|
1504
|
-
},
|
|
1505
|
-
"privacy": "public",
|
|
1506
|
-
"inheritedFrom": {
|
|
1507
|
-
"name": "EntityManagement",
|
|
1508
|
-
"module": "src/entities/entities.ts"
|
|
1509
|
-
}
|
|
1510
|
-
},
|
|
1511
1449
|
{
|
|
1512
1450
|
"kind": "field",
|
|
1513
1451
|
"name": "sizeColumnsToFit",
|
|
@@ -1615,23 +1553,6 @@
|
|
|
1615
1553
|
"module": "src/entities/entities.ts"
|
|
1616
1554
|
}
|
|
1617
1555
|
},
|
|
1618
|
-
{
|
|
1619
|
-
"kind": "method",
|
|
1620
|
-
"name": "criteriaChanged",
|
|
1621
|
-
"privacy": "public",
|
|
1622
|
-
"parameters": [
|
|
1623
|
-
{
|
|
1624
|
-
"name": "e",
|
|
1625
|
-
"type": {
|
|
1626
|
-
"text": "CustomEvent<string>"
|
|
1627
|
-
}
|
|
1628
|
-
}
|
|
1629
|
-
],
|
|
1630
|
-
"inheritedFrom": {
|
|
1631
|
-
"name": "EntityManagement",
|
|
1632
|
-
"module": "src/entities/entities.ts"
|
|
1633
|
-
}
|
|
1634
|
-
},
|
|
1635
1556
|
{
|
|
1636
1557
|
"kind": "method",
|
|
1637
1558
|
"name": "showDeleteConfirmation",
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
import { ColDef
|
|
1
|
+
import { ColDef } from '@ag-grid-community/core';
|
|
2
2
|
import { Connect, DatasourceOptions, MessageError } from '@genesislcap/foundation-comms';
|
|
3
3
|
import { FASTElement } from '@microsoft/fast-element';
|
|
4
|
-
import { Form } from '@genesislcap/foundation-forms';
|
|
5
4
|
/**
|
|
6
5
|
* The attribute which is set to configure the resource that the entity manager is working with
|
|
7
6
|
*
|
|
@@ -29,7 +28,10 @@ declare const EntityManagement_base: (new (...args: any[]) => {
|
|
|
29
28
|
readonly shouldRunConnect: boolean;
|
|
30
29
|
"__#1@#_tryFindContainingLayout"(e: Element): import("@genesislcap/foundation-utils").FoundationLayoutContainer | import("@genesislcap/foundation-utils").LayoutCacheContainer | import("@genesislcap/foundation-utils").DOMContainer;
|
|
31
30
|
connectedCallback(): void;
|
|
32
|
-
readonly $fastController: import("@microsoft/fast-element").Controller;
|
|
31
|
+
readonly $fastController: import("@microsoft/fast-element").Controller; /**
|
|
32
|
+
* Label for the entity which has usages such as being shown in the title of the modal wen editing the entity
|
|
33
|
+
* @public
|
|
34
|
+
*/
|
|
33
35
|
$emit(type: string, detail?: any, options?: Omit<CustomEventInit<any>, "detail">): boolean | void;
|
|
34
36
|
disconnectedCallback(): void;
|
|
35
37
|
attributeChangedCallback(name: string, oldValue: string, newValue: string): void;
|
|
@@ -53,14 +55,8 @@ declare const EntityManagement_base: (new (...args: any[]) => {
|
|
|
53
55
|
translate: boolean;
|
|
54
56
|
attachInternals(): ElementInternals;
|
|
55
57
|
click(): void;
|
|
56
|
-
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
57
|
-
|
|
58
|
-
* @public
|
|
59
|
-
*/
|
|
60
|
-
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; /**
|
|
61
|
-
* GridOptions to be passed down from application
|
|
62
|
-
* @public
|
|
63
|
-
*/
|
|
58
|
+
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
59
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
64
60
|
removeEventListener<K_1 extends keyof HTMLElementEventMap>(type: K_1, listener: (this: HTMLElement, ev: HTMLElementEventMap[K_1]) => any, options?: boolean | EventListenerOptions): void;
|
|
65
61
|
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
66
62
|
readonly attributes: NamedNodeMap;
|
|
@@ -439,11 +435,6 @@ export declare class EntityManagement extends EntityManagement_base {
|
|
|
439
435
|
* @public
|
|
440
436
|
*/
|
|
441
437
|
persistColumnStateKey: string;
|
|
442
|
-
/**
|
|
443
|
-
* GridOptions to be passed down from application
|
|
444
|
-
* @public
|
|
445
|
-
*/
|
|
446
|
-
gridOptions: GridOptions;
|
|
447
438
|
/**
|
|
448
439
|
* Array which holds the column definitions.
|
|
449
440
|
* @public
|
|
@@ -489,7 +480,6 @@ export declare class EntityManagement extends EntityManagement_base {
|
|
|
489
480
|
editModalVisible: boolean;
|
|
490
481
|
editModalVisibleChanged(): void;
|
|
491
482
|
editEntityModal: any;
|
|
492
|
-
editEntityForm: Form;
|
|
493
483
|
sizeColumnsToFit: boolean;
|
|
494
484
|
enableFilterBar: boolean;
|
|
495
485
|
enableCellFlashing: boolean;
|
|
@@ -539,7 +529,6 @@ export declare class EntityManagement extends EntityManagement_base {
|
|
|
539
529
|
private editEntity;
|
|
540
530
|
private readEntity;
|
|
541
531
|
closeModal(): void;
|
|
542
|
-
criteriaChanged(e: CustomEvent<string>): void;
|
|
543
532
|
/**
|
|
544
533
|
* Handler for deleting the entity. Added as an event listener on the class when receiving the `delete-entity` event.
|
|
545
534
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"entities.d.ts","sourceRoot":"","sources":["../../../src/entities/entities.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,
|
|
1
|
+
{"version":3,"file":"entities.d.ts","sourceRoot":"","sources":["../../../src/entities/entities.ts"],"names":[],"mappings":"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"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"entities.template.d.ts","sourceRoot":"","sources":["../../../src/entities/entities.template.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,gBAAgB,EAAE,MAAM,YAAY,CAAC;AAmB9C;;;GAGG;AACH,eAAO,MAAM,QAAQ,
|
|
1
|
+
{"version":3,"file":"entities.template.d.ts","sourceRoot":"","sources":["../../../src/entities/entities.template.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,gBAAgB,EAAE,MAAM,YAAY,CAAC;AAmB9C;;;GAGG;AACH,eAAO,MAAM,QAAQ,uEA2CpB,CAAC"}
|
package/dist/dts/list/list.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ColDef
|
|
1
|
+
import { ColDef } from '@ag-grid-community/core';
|
|
2
2
|
import { GridProGenesisDatasource, ZeroGridPro } from '@genesislcap/foundation-zero-grid-pro';
|
|
3
3
|
import { FASTElement } from '@microsoft/fast-element';
|
|
4
4
|
import { DatasourceConfiguration } from '../entities/entities';
|
|
@@ -11,7 +11,6 @@ export declare class List extends FASTElement {
|
|
|
11
11
|
enableCellFlashing: boolean;
|
|
12
12
|
grid: ZeroGridPro;
|
|
13
13
|
datasource: GridProGenesisDatasource;
|
|
14
|
-
gridOptions: GridOptions;
|
|
15
14
|
columns: ColDef[];
|
|
16
15
|
datasourceConfig: DatasourceConfiguration;
|
|
17
16
|
actionButtonsConfig: any[];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list.d.ts","sourceRoot":"","sources":["../../../src/list/list.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAU,
|
|
1
|
+
{"version":3,"file":"list.d.ts","sourceRoot":"","sources":["../../../src/list/list.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAU,MAAM,yBAAyB,CAAC;AACzD,OAAO,EAAE,wBAAwB,EAAE,WAAW,EAAE,MAAM,uCAAuC,CAAC;AAC9F,OAAO,EAAuB,WAAW,EAAc,MAAM,yBAAyB,CAAC;AACvF,OAAO,EAAE,uBAAuB,EAAE,MAAM,sBAAsB,CAAC;AAK/D,qBAKa,IAAK,SAAQ,WAAW;IAC7B,YAAY,EAAE,MAAM,CAAM;IAC1B,KAAK,EAAE,MAAM,CAAM;IACwB,qBAAqB,EAAE,MAAM,CAAC;IAClB,gBAAgB,EAAE,OAAO,CAAC;IAC5B,eAAe,EAAE,OAAO,CAAC;IACtB,kBAAkB,EAAE,OAAO,CAAC;IACnF,IAAI,EAAG,WAAW,CAAC;IACnB,UAAU,EAAG,wBAAwB,CAAC;IACjC,OAAO,EAAE,MAAM,EAAE,CAAC;IAClB,gBAAgB,EAAE,uBAAuB,CAAC;IAC1C,mBAAmB,QAAM;IACzB,WAAW,EAAE,MAAM,CAAC;IACpB,WAAW,EAAE,MAAM,CAAC;IAEhC,iBAAiB;IA4BjB,oBAAoB,IAAI,IAAI;IAQ5B,OAAO,CAAC,mBAAmB;IAM3B,OAAO,CAAC,mBAAmB;IAK3B,OAAO,CAAC,MAAM;IAId,OAAO,CAAC,IAAI,CAEV;IAEI,MAAM,CAAC,CAAC,KAAA;CAGf"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list.template.d.ts","sourceRoot":"","sources":["../../../src/list/list.template.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAE9B,eAAO,MAAM,YAAY,
|
|
1
|
+
{"version":3,"file":"list.template.d.ts","sourceRoot":"","sources":["../../../src/list/list.template.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAE9B,eAAO,MAAM,YAAY,2DAkDxB,CAAC"}
|
|
@@ -88,7 +88,6 @@ let EntityManagement = class EntityManagement extends LifecycleMixin(FASTElement
|
|
|
88
88
|
this.addEventListener('create-entity', this.createEntity);
|
|
89
89
|
this.addEventListener('edit-entity', this.editEntity);
|
|
90
90
|
this.addEventListener('read-entity', this.readEntity);
|
|
91
|
-
this.addEventListener('criteria-changed', this.criteriaChanged);
|
|
92
91
|
});
|
|
93
92
|
}
|
|
94
93
|
/**
|
|
@@ -159,9 +158,6 @@ let EntityManagement = class EntityManagement extends LifecycleMixin(FASTElement
|
|
|
159
158
|
this.editedEntity = Object.assign(Object.assign({}, this.editedEntity), readEventReq.REPLY[0]);
|
|
160
159
|
}
|
|
161
160
|
}
|
|
162
|
-
else {
|
|
163
|
-
this.editedEntity = Object.assign({}, this.defaultEntityValues);
|
|
164
|
-
}
|
|
165
161
|
this.editModalVisible = true;
|
|
166
162
|
});
|
|
167
163
|
}
|
|
@@ -171,13 +167,9 @@ let EntityManagement = class EntityManagement extends LifecycleMixin(FASTElement
|
|
|
171
167
|
this.editDialogTitle = '';
|
|
172
168
|
}
|
|
173
169
|
closeModal() {
|
|
174
|
-
this.editEntityForm.reset();
|
|
175
170
|
this.readonly = false;
|
|
176
171
|
this.editModalVisible = false;
|
|
177
172
|
}
|
|
178
|
-
criteriaChanged(e) {
|
|
179
|
-
this.datasourceConfig = Object.assign(Object.assign({}, this.datasourceConfig), { criteria: e.detail });
|
|
180
|
-
}
|
|
181
173
|
/**
|
|
182
174
|
* Handler for deleting the entity. Added as an event listener on the class when receiving the `delete-entity` event.
|
|
183
175
|
*
|
|
@@ -289,9 +281,6 @@ __decorate([
|
|
|
289
281
|
__decorate([
|
|
290
282
|
attr({ attribute: 'persist-column-state-key' })
|
|
291
283
|
], EntityManagement.prototype, "persistColumnStateKey", void 0);
|
|
292
|
-
__decorate([
|
|
293
|
-
observable
|
|
294
|
-
], EntityManagement.prototype, "gridOptions", void 0);
|
|
295
284
|
__decorate([
|
|
296
285
|
observable
|
|
297
286
|
], EntityManagement.prototype, "columns", void 0);
|
|
@@ -28,7 +28,6 @@ export const template = html `
|
|
|
28
28
|
resourceName=${(x) => x.resourceName}
|
|
29
29
|
:deleteEvent=${(x) => x.deleteEvent}
|
|
30
30
|
:updateEvent=${(x) => x.updateEvent}
|
|
31
|
-
:gridOptions=${(x) => x.gridOptions}
|
|
32
31
|
:columns=${(x) => x.columns}
|
|
33
32
|
:datasourceConfig=${(x) => x.datasourceConfig}
|
|
34
33
|
data-test-id="entity-list"
|
|
@@ -47,7 +46,6 @@ export const template = html `
|
|
|
47
46
|
${when((x) => x.editModalVisible, html `
|
|
48
47
|
<foundation-form
|
|
49
48
|
part="form"
|
|
50
|
-
${ref('editEntityForm')}
|
|
51
49
|
resourceName=${(x) => x.formResourceName}
|
|
52
50
|
:data=${(x) => x.editedEntity}
|
|
53
51
|
:uischema=${(x) => x.formUiSchema}
|
package/dist/esm/list/list.js
CHANGED
|
@@ -81,9 +81,6 @@ __decorate([
|
|
|
81
81
|
__decorate([
|
|
82
82
|
attr({ mode: 'boolean', attribute: 'enable-cell-flashing' })
|
|
83
83
|
], List.prototype, "enableCellFlashing", void 0);
|
|
84
|
-
__decorate([
|
|
85
|
-
observable
|
|
86
|
-
], List.prototype, "gridOptions", void 0);
|
|
87
84
|
__decorate([
|
|
88
85
|
observable
|
|
89
86
|
], List.prototype, "columns", void 0);
|
|
@@ -23,7 +23,6 @@ export const listTemplate = html `
|
|
|
23
23
|
>
|
|
24
24
|
<grid-pro-genesis-datasource
|
|
25
25
|
${ref('datasource')}
|
|
26
|
-
:deferredGridOptions=${(x) => x.gridOptions}
|
|
27
26
|
resource-name=${(x) => x.resourceName}
|
|
28
27
|
criteria=${(x) => { var _a; return (_a = x.datasourceConfig) === null || _a === void 0 ? void 0 : _a.criteria; }}
|
|
29
28
|
fields=${(x) => { var _a; return (_a = x.datasourceConfig) === null || _a === void 0 ? void 0 : _a.fields; }}
|
|
@@ -453,59 +453,6 @@
|
|
|
453
453
|
"isProtected": false,
|
|
454
454
|
"isAbstract": false
|
|
455
455
|
},
|
|
456
|
-
{
|
|
457
|
-
"kind": "Method",
|
|
458
|
-
"canonicalReference": "@genesislcap/foundation-entity-management!EntityManagement#criteriaChanged:member(1)",
|
|
459
|
-
"docComment": "",
|
|
460
|
-
"excerptTokens": [
|
|
461
|
-
{
|
|
462
|
-
"kind": "Content",
|
|
463
|
-
"text": "criteriaChanged(e: "
|
|
464
|
-
},
|
|
465
|
-
{
|
|
466
|
-
"kind": "Reference",
|
|
467
|
-
"text": "CustomEvent",
|
|
468
|
-
"canonicalReference": "!CustomEvent:interface"
|
|
469
|
-
},
|
|
470
|
-
{
|
|
471
|
-
"kind": "Content",
|
|
472
|
-
"text": "<string>"
|
|
473
|
-
},
|
|
474
|
-
{
|
|
475
|
-
"kind": "Content",
|
|
476
|
-
"text": "): "
|
|
477
|
-
},
|
|
478
|
-
{
|
|
479
|
-
"kind": "Content",
|
|
480
|
-
"text": "void"
|
|
481
|
-
},
|
|
482
|
-
{
|
|
483
|
-
"kind": "Content",
|
|
484
|
-
"text": ";"
|
|
485
|
-
}
|
|
486
|
-
],
|
|
487
|
-
"isStatic": false,
|
|
488
|
-
"returnTypeTokenRange": {
|
|
489
|
-
"startIndex": 4,
|
|
490
|
-
"endIndex": 5
|
|
491
|
-
},
|
|
492
|
-
"releaseTag": "Public",
|
|
493
|
-
"isProtected": false,
|
|
494
|
-
"overloadIndex": 1,
|
|
495
|
-
"parameters": [
|
|
496
|
-
{
|
|
497
|
-
"parameterName": "e",
|
|
498
|
-
"parameterTypeTokenRange": {
|
|
499
|
-
"startIndex": 1,
|
|
500
|
-
"endIndex": 3
|
|
501
|
-
},
|
|
502
|
-
"isOptional": false
|
|
503
|
-
}
|
|
504
|
-
],
|
|
505
|
-
"isOptional": false,
|
|
506
|
-
"isAbstract": false,
|
|
507
|
-
"name": "criteriaChanged"
|
|
508
|
-
},
|
|
509
456
|
{
|
|
510
457
|
"kind": "Property",
|
|
511
458
|
"canonicalReference": "@genesislcap/foundation-entity-management!EntityManagement#datasourceConfig:member",
|
|
@@ -689,37 +636,6 @@
|
|
|
689
636
|
"isProtected": false,
|
|
690
637
|
"isAbstract": false
|
|
691
638
|
},
|
|
692
|
-
{
|
|
693
|
-
"kind": "Property",
|
|
694
|
-
"canonicalReference": "@genesislcap/foundation-entity-management!EntityManagement#editEntityForm:member",
|
|
695
|
-
"docComment": "",
|
|
696
|
-
"excerptTokens": [
|
|
697
|
-
{
|
|
698
|
-
"kind": "Content",
|
|
699
|
-
"text": "editEntityForm: "
|
|
700
|
-
},
|
|
701
|
-
{
|
|
702
|
-
"kind": "Reference",
|
|
703
|
-
"text": "Form",
|
|
704
|
-
"canonicalReference": "@genesislcap/foundation-forms!Form:class"
|
|
705
|
-
},
|
|
706
|
-
{
|
|
707
|
-
"kind": "Content",
|
|
708
|
-
"text": ";"
|
|
709
|
-
}
|
|
710
|
-
],
|
|
711
|
-
"isReadonly": false,
|
|
712
|
-
"isOptional": false,
|
|
713
|
-
"releaseTag": "Public",
|
|
714
|
-
"name": "editEntityForm",
|
|
715
|
-
"propertyTypeTokenRange": {
|
|
716
|
-
"startIndex": 1,
|
|
717
|
-
"endIndex": 2
|
|
718
|
-
},
|
|
719
|
-
"isStatic": false,
|
|
720
|
-
"isProtected": false,
|
|
721
|
-
"isAbstract": false
|
|
722
|
-
},
|
|
723
639
|
{
|
|
724
640
|
"kind": "Property",
|
|
725
641
|
"canonicalReference": "@genesislcap/foundation-entity-management!EntityManagement#editEntityModal:member",
|
|
@@ -931,37 +847,6 @@
|
|
|
931
847
|
"isProtected": false,
|
|
932
848
|
"isAbstract": false
|
|
933
849
|
},
|
|
934
|
-
{
|
|
935
|
-
"kind": "Property",
|
|
936
|
-
"canonicalReference": "@genesislcap/foundation-entity-management!EntityManagement#gridOptions:member",
|
|
937
|
-
"docComment": "/**\n * GridOptions to be passed down from application\n *\n * @public\n */\n",
|
|
938
|
-
"excerptTokens": [
|
|
939
|
-
{
|
|
940
|
-
"kind": "Content",
|
|
941
|
-
"text": "gridOptions: "
|
|
942
|
-
},
|
|
943
|
-
{
|
|
944
|
-
"kind": "Reference",
|
|
945
|
-
"text": "GridOptions",
|
|
946
|
-
"canonicalReference": "@ag-grid-community/core!GridOptions:interface"
|
|
947
|
-
},
|
|
948
|
-
{
|
|
949
|
-
"kind": "Content",
|
|
950
|
-
"text": ";"
|
|
951
|
-
}
|
|
952
|
-
],
|
|
953
|
-
"isReadonly": false,
|
|
954
|
-
"isOptional": false,
|
|
955
|
-
"releaseTag": "Public",
|
|
956
|
-
"name": "gridOptions",
|
|
957
|
-
"propertyTypeTokenRange": {
|
|
958
|
-
"startIndex": 1,
|
|
959
|
-
"endIndex": 2
|
|
960
|
-
},
|
|
961
|
-
"isStatic": false,
|
|
962
|
-
"isProtected": false,
|
|
963
|
-
"isAbstract": false
|
|
964
|
-
},
|
|
965
850
|
{
|
|
966
851
|
"kind": "Property",
|
|
967
852
|
"canonicalReference": "@genesislcap/foundation-entity-management!EntityManagement#modalPosition:member",
|
|
@@ -7,10 +7,8 @@ import { Controller } from '@microsoft/fast-element';
|
|
|
7
7
|
import { DatasourceOptions } from '@genesislcap/foundation-comms';
|
|
8
8
|
import { DOMContainer } from '@genesislcap/foundation-utils';
|
|
9
9
|
import { FASTElement } from '@microsoft/fast-element';
|
|
10
|
-
import { Form } from '@genesislcap/foundation-forms';
|
|
11
10
|
import { FoundationAnalytics } from '@genesislcap/foundation-comms';
|
|
12
11
|
import { FoundationLayoutContainer } from '@genesislcap/foundation-utils';
|
|
13
|
-
import { GridOptions } from '@ag-grid-community/core';
|
|
14
12
|
import { GridProRendererTypes } from '@genesislcap/grid-pro';
|
|
15
13
|
import { LayoutCacheContainer } from '@genesislcap/foundation-utils';
|
|
16
14
|
import { Logger } from '@genesislcap/foundation-utils';
|
|
@@ -158,11 +156,6 @@ export declare class EntityManagement extends EntityManagement_base {
|
|
|
158
156
|
* @public
|
|
159
157
|
*/
|
|
160
158
|
persistColumnStateKey: string;
|
|
161
|
-
/**
|
|
162
|
-
* GridOptions to be passed down from application
|
|
163
|
-
* @public
|
|
164
|
-
*/
|
|
165
|
-
gridOptions: GridOptions;
|
|
166
159
|
/**
|
|
167
160
|
* Array which holds the column definitions.
|
|
168
161
|
* @public
|
|
@@ -208,7 +201,6 @@ export declare class EntityManagement extends EntityManagement_base {
|
|
|
208
201
|
editModalVisible: boolean;
|
|
209
202
|
editModalVisibleChanged(): void;
|
|
210
203
|
editEntityModal: any;
|
|
211
|
-
editEntityForm: Form;
|
|
212
204
|
sizeColumnsToFit: boolean;
|
|
213
205
|
enableFilterBar: boolean;
|
|
214
206
|
enableCellFlashing: boolean;
|
|
@@ -258,7 +250,6 @@ export declare class EntityManagement extends EntityManagement_base {
|
|
|
258
250
|
private editEntity;
|
|
259
251
|
private readEntity;
|
|
260
252
|
closeModal(): void;
|
|
261
|
-
criteriaChanged(e: CustomEvent<string>): void;
|
|
262
253
|
/**
|
|
263
254
|
* Handler for deleting the entity. Added as an event listener on the class when receiving the `delete-entity` event.
|
|
264
255
|
*
|
|
@@ -287,7 +278,10 @@ declare const EntityManagement_base: (new (...args: any[]) => {
|
|
|
287
278
|
readonly shouldRunConnect: boolean;
|
|
288
279
|
"__#1@#_tryFindContainingLayout"(e: Element): FoundationLayoutContainer | LayoutCacheContainer | DOMContainer;
|
|
289
280
|
connectedCallback(): void;
|
|
290
|
-
readonly $fastController: Controller;
|
|
281
|
+
readonly $fastController: Controller; /**
|
|
282
|
+
* Label for the entity which has usages such as being shown in the title of the modal wen editing the entity
|
|
283
|
+
* @public
|
|
284
|
+
*/
|
|
291
285
|
$emit(type: string, detail?: any, options?: Omit<CustomEventInit<any>, "detail">): boolean | void;
|
|
292
286
|
disconnectedCallback(): void;
|
|
293
287
|
attributeChangedCallback(name: string, oldValue: string, newValue: string): void;
|
|
@@ -311,14 +305,8 @@ declare const EntityManagement_base: (new (...args: any[]) => {
|
|
|
311
305
|
translate: boolean;
|
|
312
306
|
attachInternals(): ElementInternals;
|
|
313
307
|
click(): void;
|
|
314
|
-
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
315
|
-
|
|
316
|
-
* @public
|
|
317
|
-
*/
|
|
318
|
-
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; /**
|
|
319
|
-
* GridOptions to be passed down from application
|
|
320
|
-
* @public
|
|
321
|
-
*/
|
|
308
|
+
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
309
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
322
310
|
removeEventListener<K_1 extends keyof HTMLElementEventMap>(type: K_1, listener: (this: HTMLElement, ev: HTMLElementEventMap[K_1]) => any, options?: boolean | EventListenerOptions): void;
|
|
323
311
|
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
324
312
|
readonly attributes: NamedNodeMap;
|
|
@@ -45,14 +45,12 @@ Where:<br /> - the title of the grid is `Counterparty Management`<br /> - the na
|
|
|
45
45
|
| [deleteEvent](./foundation-entity-management.entitymanagement.deleteevent.md) | | string | Name of the event handler on the Genesis server which handles deleting the entity |
|
|
46
46
|
| [editDialogTitle](./foundation-entity-management.entitymanagement.editdialogtitle.md) | | string | String which contains the text of the popup modal when the user is adding or editing an entity |
|
|
47
47
|
| [editedEntity](./foundation-entity-management.entitymanagement.editedentity.md) | | any | Disables the form while enabled to stop the user dispatching a large number of duplicate events |
|
|
48
|
-
| [editEntityForm](./foundation-entity-management.entitymanagement.editentityform.md) | | Form | |
|
|
49
48
|
| [editEntityModal](./foundation-entity-management.entitymanagement.editentitymodal.md) | | any | |
|
|
50
49
|
| [editModalVisible](./foundation-entity-management.entitymanagement.editmodalvisible.md) | | boolean | |
|
|
51
50
|
| [enableCellFlashing](./foundation-entity-management.entitymanagement.enablecellflashing.md) | | boolean | |
|
|
52
51
|
| [enableFilterBar](./foundation-entity-management.entitymanagement.enablefilterbar.md) | | boolean | |
|
|
53
52
|
| [entityLabel](./foundation-entity-management.entitymanagement.entitylabel.md) | | string | Label for the entity which has usages such as being shown in the title of the modal wen editing the entity |
|
|
54
53
|
| [formUiSchema](./foundation-entity-management.entitymanagement.formuischema.md) | | any | |
|
|
55
|
-
| [gridOptions](./foundation-entity-management.entitymanagement.gridoptions.md) | | GridOptions | GridOptions to be passed down from application |
|
|
56
54
|
| [modalPosition](./foundation-entity-management.entitymanagement.modalposition.md) | | 'centre' \| 'left' \| 'right' | Determines where the modal dialog will appear on screen |
|
|
57
55
|
| [persistColumnStateKey](./foundation-entity-management.entitymanagement.persistcolumnstatekey.md) | | string | 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. |
|
|
58
56
|
| [readEvent](./foundation-entity-management.entitymanagement.readevent.md) | | string | |
|
|
@@ -72,7 +70,6 @@ Where:<br /> - the title of the grid is `Counterparty Management`<br /> - the na
|
|
|
72
70
|
| --- | --- | --- |
|
|
73
71
|
| [closeModal()](./foundation-entity-management.entitymanagement.closemodal.md) | | |
|
|
74
72
|
| [confirmDelete()](./foundation-entity-management.entitymanagement.confirmdelete.md) | | |
|
|
75
|
-
| [criteriaChanged(e)](./foundation-entity-management.entitymanagement.criteriachanged.md) | | |
|
|
76
73
|
| [deepClone()](./foundation-entity-management.entitymanagement.deepclone.md) | | Override the deepClone method to ensure that observable attributes are cloned |
|
|
77
74
|
| [editModalVisibleChanged()](./foundation-entity-management.entitymanagement.editmodalvisiblechanged.md) | | |
|
|
78
75
|
| [submitEntityChanges(e)](./foundation-entity-management.entitymanagement.submitentitychanges.md) | | Event handler for when the user submits the action for the currently open form, either editing or adding the entity |
|
package/docs/api-report.md
CHANGED
|
@@ -13,10 +13,8 @@ import { Controller } from '@microsoft/fast-element';
|
|
|
13
13
|
import { DatasourceOptions } from '@genesislcap/foundation-comms';
|
|
14
14
|
import { DOMContainer } from '@genesislcap/foundation-utils';
|
|
15
15
|
import { FASTElement } from '@microsoft/fast-element';
|
|
16
|
-
import { Form } from '@genesislcap/foundation-forms';
|
|
17
16
|
import { FoundationAnalytics } from '@genesislcap/foundation-comms';
|
|
18
17
|
import { FoundationLayoutContainer } from '@genesislcap/foundation-utils';
|
|
19
|
-
import { GridOptions } from '@ag-grid-community/core';
|
|
20
18
|
import { GridProRendererTypes } from '@genesislcap/grid-pro';
|
|
21
19
|
import { LayoutCacheContainer } from '@genesislcap/foundation-utils';
|
|
22
20
|
import { Logger } from '@genesislcap/foundation-utils';
|
|
@@ -76,8 +74,6 @@ export class EntityManagement extends EntityManagement_base {
|
|
|
76
74
|
createEvent: string;
|
|
77
75
|
// (undocumented)
|
|
78
76
|
createFormUiSchema: any;
|
|
79
|
-
// (undocumented)
|
|
80
|
-
criteriaChanged(e: CustomEvent<string>): void;
|
|
81
77
|
datasourceConfig: DatasourceConfiguration;
|
|
82
78
|
deepClone(): Node;
|
|
83
79
|
// (undocumented)
|
|
@@ -88,8 +84,6 @@ export class EntityManagement extends EntityManagement_base {
|
|
|
88
84
|
editDialogTitle: string;
|
|
89
85
|
editedEntity: any;
|
|
90
86
|
// (undocumented)
|
|
91
|
-
editEntityForm: Form;
|
|
92
|
-
// (undocumented)
|
|
93
87
|
editEntityModal: any;
|
|
94
88
|
// (undocumented)
|
|
95
89
|
editModalVisible: boolean;
|
|
@@ -108,7 +102,6 @@ export class EntityManagement extends EntityManagement_base {
|
|
|
108
102
|
formResourceName: string;
|
|
109
103
|
// (undocumented)
|
|
110
104
|
formUiSchema: any;
|
|
111
|
-
gridOptions: GridOptions;
|
|
112
105
|
modalPosition: 'centre' | 'left' | 'right';
|
|
113
106
|
persistColumnStateKey: string;
|
|
114
107
|
// (undocumented)
|
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.30.2
|
|
4
|
+
"version": "14.30.2",
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"license": "SEE LICENSE IN license.txt",
|
|
7
7
|
"main": "dist/esm/index.js",
|
|
@@ -48,8 +48,8 @@
|
|
|
48
48
|
"test:unit:watch": "watchlist src test -- npm run test:unit"
|
|
49
49
|
},
|
|
50
50
|
"devDependencies": {
|
|
51
|
-
"@genesislcap/foundation-testing": "14.30.2
|
|
52
|
-
"@genesislcap/genx": "14.30.2
|
|
51
|
+
"@genesislcap/foundation-testing": "^14.30.2",
|
|
52
|
+
"@genesislcap/genx": "^14.30.2",
|
|
53
53
|
"@playwright/test": "^1.18.1",
|
|
54
54
|
"bulma": "^0.9.3",
|
|
55
55
|
"c8": "^7.11.0",
|
|
@@ -65,15 +65,15 @@
|
|
|
65
65
|
"watchlist": "^0.3.1"
|
|
66
66
|
},
|
|
67
67
|
"dependencies": {
|
|
68
|
-
"@genesislcap/foundation-comms": "14.30.2
|
|
69
|
-
"@genesislcap/foundation-errors": "14.30.2
|
|
70
|
-
"@genesislcap/foundation-forms": "14.30.2
|
|
71
|
-
"@genesislcap/foundation-login": "14.30.2
|
|
72
|
-
"@genesislcap/foundation-ui": "14.30.2
|
|
73
|
-
"@genesislcap/foundation-utils": "14.30.2
|
|
74
|
-
"@genesislcap/foundation-zero": "14.30.2
|
|
75
|
-
"@genesislcap/foundation-zero-grid-pro": "14.30.2
|
|
76
|
-
"@genesislcap/grid-pro": "14.30.2
|
|
68
|
+
"@genesislcap/foundation-comms": "^14.30.2",
|
|
69
|
+
"@genesislcap/foundation-errors": "^14.30.2",
|
|
70
|
+
"@genesislcap/foundation-forms": "^14.30.2",
|
|
71
|
+
"@genesislcap/foundation-login": "^14.30.2",
|
|
72
|
+
"@genesislcap/foundation-ui": "^14.30.2",
|
|
73
|
+
"@genesislcap/foundation-utils": "^14.30.2",
|
|
74
|
+
"@genesislcap/foundation-zero": "^14.30.2",
|
|
75
|
+
"@genesislcap/foundation-zero-grid-pro": "^14.30.2",
|
|
76
|
+
"@genesislcap/grid-pro": "^14.30.2",
|
|
77
77
|
"@microsoft/fast-components": "^2.21.3",
|
|
78
78
|
"@microsoft/fast-element": "^1.7.0",
|
|
79
79
|
"@microsoft/fast-foundation": "^2.33.2",
|
|
@@ -98,5 +98,5 @@
|
|
|
98
98
|
"access": "public"
|
|
99
99
|
},
|
|
100
100
|
"customElements": "dist/custom-elements.json",
|
|
101
|
-
"gitHead": "
|
|
101
|
+
"gitHead": "4ea8f548f55cde9b895b115a43f39f45c62d60af"
|
|
102
102
|
}
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
-
|
|
3
|
-
[Home](./index.md) > [@genesislcap/foundation-entity-management](./foundation-entity-management.md) > [EntityManagement](./foundation-entity-management.entitymanagement.md) > [criteriaChanged](./foundation-entity-management.entitymanagement.criteriachanged.md)
|
|
4
|
-
|
|
5
|
-
## EntityManagement.criteriaChanged() method
|
|
6
|
-
|
|
7
|
-
**Signature:**
|
|
8
|
-
|
|
9
|
-
```typescript
|
|
10
|
-
criteriaChanged(e: CustomEvent<string>): void;
|
|
11
|
-
```
|
|
12
|
-
|
|
13
|
-
## Parameters
|
|
14
|
-
|
|
15
|
-
| Parameter | Type | Description |
|
|
16
|
-
| --- | --- | --- |
|
|
17
|
-
| e | CustomEvent<string> | |
|
|
18
|
-
|
|
19
|
-
**Returns:**
|
|
20
|
-
|
|
21
|
-
void
|
|
22
|
-
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
-
|
|
3
|
-
[Home](./index.md) > [@genesislcap/foundation-entity-management](./foundation-entity-management.md) > [EntityManagement](./foundation-entity-management.entitymanagement.md) > [editEntityForm](./foundation-entity-management.entitymanagement.editentityform.md)
|
|
4
|
-
|
|
5
|
-
## EntityManagement.editEntityForm property
|
|
6
|
-
|
|
7
|
-
**Signature:**
|
|
8
|
-
|
|
9
|
-
```typescript
|
|
10
|
-
editEntityForm: Form;
|
|
11
|
-
```
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
-
|
|
3
|
-
[Home](./index.md) > [@genesislcap/foundation-entity-management](./foundation-entity-management.md) > [EntityManagement](./foundation-entity-management.entitymanagement.md) > [gridOptions](./foundation-entity-management.entitymanagement.gridoptions.md)
|
|
4
|
-
|
|
5
|
-
## EntityManagement.gridOptions property
|
|
6
|
-
|
|
7
|
-
GridOptions to be passed down from application
|
|
8
|
-
|
|
9
|
-
**Signature:**
|
|
10
|
-
|
|
11
|
-
```typescript
|
|
12
|
-
gridOptions: GridOptions;
|
|
13
|
-
```
|