@genesislcap/foundation-entity-management 11.3.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.
Files changed (114) hide show
  1. package/README.md +266 -0
  2. package/dist/dts/entities/entities.d.ts +550 -0
  3. package/dist/dts/entities/entities.d.ts.map +1 -0
  4. package/dist/dts/entities/entities.styles.d.ts +10 -0
  5. package/dist/dts/entities/entities.styles.d.ts.map +1 -0
  6. package/dist/dts/entities/entities.template.d.ts +7 -0
  7. package/dist/dts/entities/entities.template.d.ts.map +1 -0
  8. package/dist/dts/entities/index.d.ts +4 -0
  9. package/dist/dts/entities/index.d.ts.map +1 -0
  10. package/dist/dts/index.d.ts +5 -0
  11. package/dist/dts/index.d.ts.map +1 -0
  12. package/dist/dts/index.federated.d.ts +1 -0
  13. package/dist/dts/index.federated.d.ts.map +1 -0
  14. package/dist/dts/list/index.d.ts +2 -0
  15. package/dist/dts/list/index.d.ts.map +1 -0
  16. package/dist/dts/list/list.d.ts +29 -0
  17. package/dist/dts/list/list.d.ts.map +1 -0
  18. package/dist/dts/list/list.styles.d.ts +2 -0
  19. package/dist/dts/list/list.styles.d.ts.map +1 -0
  20. package/dist/dts/list/list.template.d.ts +26 -0
  21. package/dist/dts/list/list.template.d.ts.map +1 -0
  22. package/dist/dts/profiles/editProfileSchema.d.ts +19 -0
  23. package/dist/dts/profiles/editProfileSchema.d.ts.map +1 -0
  24. package/dist/dts/profiles/profiles.d.ts +43 -0
  25. package/dist/dts/profiles/profiles.d.ts.map +1 -0
  26. package/dist/dts/types.d.ts +3 -0
  27. package/dist/dts/types.d.ts.map +1 -0
  28. package/dist/dts/users/users.d.ts +566 -0
  29. package/dist/dts/users/users.d.ts.map +1 -0
  30. package/dist/dts/users/users.template.d.ts +3 -0
  31. package/dist/dts/users/users.template.d.ts.map +1 -0
  32. package/dist/dts/utils/formatting.d.ts +7 -0
  33. package/dist/dts/utils/formatting.d.ts.map +1 -0
  34. package/dist/dts/utils/index.d.ts +2 -0
  35. package/dist/dts/utils/index.d.ts.map +1 -0
  36. package/dist/esm/entities/entities.js +296 -0
  37. package/dist/esm/entities/entities.styles.js +29 -0
  38. package/dist/esm/entities/entities.template.js +43 -0
  39. package/dist/esm/entities/index.js +3 -0
  40. package/dist/esm/index.federated.js +1 -0
  41. package/dist/esm/index.js +4 -0
  42. package/dist/esm/list/index.js +1 -0
  43. package/dist/esm/list/list.js +111 -0
  44. package/dist/esm/list/list.styles.js +27 -0
  45. package/dist/esm/list/list.template.js +77 -0
  46. package/dist/esm/profiles/editProfileSchema.js +40 -0
  47. package/dist/esm/profiles/profiles.js +88 -0
  48. package/dist/esm/types.js +3 -0
  49. package/dist/esm/users/users.js +302 -0
  50. package/dist/esm/users/users.template.js +90 -0
  51. package/dist/esm/utils/formatting.js +6 -0
  52. package/dist/esm/utils/index.js +1 -0
  53. package/dist/foundation-entity-management.api.json +1727 -0
  54. package/dist/foundation-entity-management.d.ts +1172 -0
  55. package/dist/tsdoc-metadata.json +11 -0
  56. package/docs/.gitattributes +2 -0
  57. package/docs/api/foundation-entity-management.datasourceconfiguration.md +29 -0
  58. package/docs/api/foundation-entity-management.entitymanagement.closemodal.md +15 -0
  59. package/docs/api/foundation-entity-management.entitymanagement.columns.md +13 -0
  60. package/docs/api/foundation-entity-management.entitymanagement.connect.md +18 -0
  61. package/docs/api/foundation-entity-management.entitymanagement.createevent.md +13 -0
  62. package/docs/api/foundation-entity-management.entitymanagement.createformuischema.md +11 -0
  63. package/docs/api/foundation-entity-management.entitymanagement.datasourceconfig.md +18 -0
  64. package/docs/api/foundation-entity-management.entitymanagement.deepclone.md +17 -0
  65. package/docs/api/foundation-entity-management.entitymanagement.deleteevent.md +13 -0
  66. package/docs/api/foundation-entity-management.entitymanagement.editdialogtitle.md +13 -0
  67. package/docs/api/foundation-entity-management.entitymanagement.editedentity.md +13 -0
  68. package/docs/api/foundation-entity-management.entitymanagement.editentitymodal.md +11 -0
  69. package/docs/api/foundation-entity-management.entitymanagement.editmodalvisible.md +11 -0
  70. package/docs/api/foundation-entity-management.entitymanagement.editmodalvisiblechanged.md +15 -0
  71. package/docs/api/foundation-entity-management.entitymanagement.enablecellflashing.md +11 -0
  72. package/docs/api/foundation-entity-management.entitymanagement.enablefilterbar.md +11 -0
  73. package/docs/api/foundation-entity-management.entitymanagement.entitylabel.md +13 -0
  74. package/docs/api/foundation-entity-management.entitymanagement.errornotify.md +24 -0
  75. package/docs/api/foundation-entity-management.entitymanagement.formuischema.md +11 -0
  76. package/docs/api/foundation-entity-management.entitymanagement.md +74 -0
  77. package/docs/api/foundation-entity-management.entitymanagement.persistcolumnstatekey.md +18 -0
  78. package/docs/api/foundation-entity-management.entitymanagement.readevent.md +11 -0
  79. package/docs/api/foundation-entity-management.entitymanagement.readeventfn.md +11 -0
  80. package/docs/api/foundation-entity-management.entitymanagement.readonly.md +11 -0
  81. package/docs/api/foundation-entity-management.entitymanagement.resourcename.md +13 -0
  82. package/docs/api/foundation-entity-management.entitymanagement.selectedentity.md +18 -0
  83. package/docs/api/foundation-entity-management.entitymanagement.sizecolumnstofit.md +11 -0
  84. package/docs/api/foundation-entity-management.entitymanagement.submitentitychanges.md +24 -0
  85. package/docs/api/foundation-entity-management.entitymanagement.submitting.md +11 -0
  86. package/docs/api/foundation-entity-management.entitymanagement.title.md +13 -0
  87. package/docs/api/foundation-entity-management.entitymanagement.updateevent.md +13 -0
  88. package/docs/api/foundation-entity-management.entitymanagement.updateformuischema.md +11 -0
  89. package/docs/api/foundation-entity-management.geterrorformat.md +13 -0
  90. package/docs/api/foundation-entity-management.md +27 -0
  91. package/docs/api/foundation-entity-management.profiles._constructor_.md +13 -0
  92. package/docs/api/foundation-entity-management.profiles.deleteentity.md +22 -0
  93. package/docs/api/foundation-entity-management.profiles.md +40 -0
  94. package/docs/api/foundation-entity-management.profiles.readprofiledata.md +26 -0
  95. package/docs/api/foundation-entity-management.users._constructor_.md +13 -0
  96. package/docs/api/foundation-entity-management.users.additionalcreatefields.md +11 -0
  97. package/docs/api/foundation-entity-management.users.additionalupdatefields.md +11 -0
  98. package/docs/api/foundation-entity-management.users.allaccesstype.md +11 -0
  99. package/docs/api/foundation-entity-management.users.columns.md +13 -0
  100. package/docs/api/foundation-entity-management.users.connectedcallback.md +15 -0
  101. package/docs/api/foundation-entity-management.users.createevent.md +13 -0
  102. package/docs/api/foundation-entity-management.users.deepclone.md +15 -0
  103. package/docs/api/foundation-entity-management.users.deleteevent.md +13 -0
  104. package/docs/api/foundation-entity-management.users.md +69 -0
  105. package/docs/api/foundation-entity-management.users.updateevent.md +13 -0
  106. package/docs/api/foundation-entity-management.userscolumnconfig.md +35 -0
  107. package/docs/api/index.md +12 -0
  108. package/docs/api-report.md +200 -0
  109. package/docs/img/foundation-entity-management-form.png +0 -0
  110. package/docs/img/foundation-entity-management-grid.png +0 -0
  111. package/docs/img/foundation-profile-management.png +0 -0
  112. package/docs/img/foundation-user-management.png +0 -0
  113. package/license.txt +46 -0
  114. package/package.json +123 -0
@@ -0,0 +1,11 @@
1
+ // This file is read by tools that parse documentation comments conforming to the TSDoc standard.
2
+ // It should be published with your NPM package. It should not be tracked by Git.
3
+ {
4
+ "tsdocVersion": "0.12",
5
+ "toolPackages": [
6
+ {
7
+ "packageName": "@microsoft/api-extractor",
8
+ "packageVersion": "7.34.4"
9
+ }
10
+ ]
11
+ }
@@ -0,0 +1,2 @@
1
+ *.md -diff
2
+ *.md linguist-generated
@@ -0,0 +1,29 @@
1
+ <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
+
3
+ [Home](./index.md) &gt; [@genesislcap/foundation-entity-management](./foundation-entity-management.md) &gt; [DatasourceConfiguration](./foundation-entity-management.datasourceconfiguration.md)
4
+
5
+ ## DatasourceConfiguration type
6
+
7
+ The attribute which is set to configure the resource that the entity manager is working with
8
+
9
+ **Signature:**
10
+
11
+ ```typescript
12
+ export type DatasourceConfiguration = Omit<DatasourceOptions, 'resourceName' | 'request'>;
13
+ ```
14
+
15
+ ## Example
16
+
17
+
18
+ ```javascript
19
+ type DatasourceConfiguration = {
20
+ criteria?: string;
21
+ fields?: string;
22
+ isSnapshot?: boolean;
23
+ maxRows?: number;
24
+ maxView?: number;
25
+ orderBy?: string;
26
+ reverse?: boolean;
27
+ }
28
+ ```
29
+
@@ -0,0 +1,15 @@
1
+ <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
+
3
+ [Home](./index.md) &gt; [@genesislcap/foundation-entity-management](./foundation-entity-management.md) &gt; [EntityManagement](./foundation-entity-management.entitymanagement.md) &gt; [closeModal](./foundation-entity-management.entitymanagement.closemodal.md)
4
+
5
+ ## EntityManagement.closeModal() method
6
+
7
+ **Signature:**
8
+
9
+ ```typescript
10
+ closeModal(): void;
11
+ ```
12
+ **Returns:**
13
+
14
+ void
15
+
@@ -0,0 +1,13 @@
1
+ <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
+
3
+ [Home](./index.md) &gt; [@genesislcap/foundation-entity-management](./foundation-entity-management.md) &gt; [EntityManagement](./foundation-entity-management.entitymanagement.md) &gt; [columns](./foundation-entity-management.entitymanagement.columns.md)
4
+
5
+ ## EntityManagement.columns property
6
+
7
+ Array which holds the column definitions.
8
+
9
+ **Signature:**
10
+
11
+ ```typescript
12
+ columns: ColDef[];
13
+ ```
@@ -0,0 +1,18 @@
1
+ <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
+
3
+ [Home](./index.md) &gt; [@genesislcap/foundation-entity-management](./foundation-entity-management.md) &gt; [EntityManagement](./foundation-entity-management.entitymanagement.md) &gt; [connect](./foundation-entity-management.entitymanagement.connect.md)
4
+
5
+ ## EntityManagement.connect property
6
+
7
+ DI connect object which is used to interact with the backend.
8
+
9
+ **Signature:**
10
+
11
+ ```typescript
12
+ protected connect: Connect;
13
+ ```
14
+
15
+ ## Remarks
16
+
17
+ Requires to be registered with the DI container
18
+
@@ -0,0 +1,13 @@
1
+ <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
+
3
+ [Home](./index.md) &gt; [@genesislcap/foundation-entity-management](./foundation-entity-management.md) &gt; [EntityManagement](./foundation-entity-management.entitymanagement.md) &gt; [createEvent](./foundation-entity-management.entitymanagement.createevent.md)
4
+
5
+ ## EntityManagement.createEvent property
6
+
7
+ Name of the event handler on the Genesis server which handles creating an entity
8
+
9
+ **Signature:**
10
+
11
+ ```typescript
12
+ createEvent: string;
13
+ ```
@@ -0,0 +1,11 @@
1
+ <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
+
3
+ [Home](./index.md) &gt; [@genesislcap/foundation-entity-management](./foundation-entity-management.md) &gt; [EntityManagement](./foundation-entity-management.entitymanagement.md) &gt; [createFormUiSchema](./foundation-entity-management.entitymanagement.createformuischema.md)
4
+
5
+ ## EntityManagement.createFormUiSchema property
6
+
7
+ **Signature:**
8
+
9
+ ```typescript
10
+ createFormUiSchema: any;
11
+ ```
@@ -0,0 +1,18 @@
1
+ <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
+
3
+ [Home](./index.md) &gt; [@genesislcap/foundation-entity-management](./foundation-entity-management.md) &gt; [EntityManagement](./foundation-entity-management.entitymanagement.md) &gt; [datasourceConfig](./foundation-entity-management.entitymanagement.datasourceconfig.md)
4
+
5
+ ## EntityManagement.datasourceConfig property
6
+
7
+ The configuration which is used when interacting with the resource on the backend
8
+
9
+ **Signature:**
10
+
11
+ ```typescript
12
+ datasourceConfig: DatasourceConfiguration;
13
+ ```
14
+
15
+ ## Remarks
16
+
17
+ Handles the configuration such as how many rows of entities to fetch at a time
18
+
@@ -0,0 +1,17 @@
1
+ <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
+
3
+ [Home](./index.md) &gt; [@genesislcap/foundation-entity-management](./foundation-entity-management.md) &gt; [EntityManagement](./foundation-entity-management.entitymanagement.md) &gt; [deepClone](./foundation-entity-management.entitymanagement.deepclone.md)
4
+
5
+ ## EntityManagement.deepClone() method
6
+
7
+ Override the deepClone method to ensure that observable attributes are cloned
8
+
9
+ **Signature:**
10
+
11
+ ```typescript
12
+ deepClone(): Node;
13
+ ```
14
+ **Returns:**
15
+
16
+ Node
17
+
@@ -0,0 +1,13 @@
1
+ <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
+
3
+ [Home](./index.md) &gt; [@genesislcap/foundation-entity-management](./foundation-entity-management.md) &gt; [EntityManagement](./foundation-entity-management.entitymanagement.md) &gt; [deleteEvent](./foundation-entity-management.entitymanagement.deleteevent.md)
4
+
5
+ ## EntityManagement.deleteEvent property
6
+
7
+ Name of the event handler on the Genesis server which handles deleting the entity
8
+
9
+ **Signature:**
10
+
11
+ ```typescript
12
+ deleteEvent: string;
13
+ ```
@@ -0,0 +1,13 @@
1
+ <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
+
3
+ [Home](./index.md) &gt; [@genesislcap/foundation-entity-management](./foundation-entity-management.md) &gt; [EntityManagement](./foundation-entity-management.entitymanagement.md) &gt; [editDialogTitle](./foundation-entity-management.entitymanagement.editdialogtitle.md)
4
+
5
+ ## EntityManagement.editDialogTitle property
6
+
7
+ String which contains the text of the popup modal when the user is adding or editing an entity
8
+
9
+ **Signature:**
10
+
11
+ ```typescript
12
+ editDialogTitle: string;
13
+ ```
@@ -0,0 +1,13 @@
1
+ <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
+
3
+ [Home](./index.md) &gt; [@genesislcap/foundation-entity-management](./foundation-entity-management.md) &gt; [EntityManagement](./foundation-entity-management.entitymanagement.md) &gt; [editedEntity](./foundation-entity-management.entitymanagement.editedentity.md)
4
+
5
+ ## EntityManagement.editedEntity property
6
+
7
+ Disables the form while enabled to stop the user dispatching a large number of duplicate events
8
+
9
+ **Signature:**
10
+
11
+ ```typescript
12
+ editedEntity: any;
13
+ ```
@@ -0,0 +1,11 @@
1
+ <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
+
3
+ [Home](./index.md) &gt; [@genesislcap/foundation-entity-management](./foundation-entity-management.md) &gt; [EntityManagement](./foundation-entity-management.entitymanagement.md) &gt; [editEntityModal](./foundation-entity-management.entitymanagement.editentitymodal.md)
4
+
5
+ ## EntityManagement.editEntityModal property
6
+
7
+ **Signature:**
8
+
9
+ ```typescript
10
+ editEntityModal: any;
11
+ ```
@@ -0,0 +1,11 @@
1
+ <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
+
3
+ [Home](./index.md) &gt; [@genesislcap/foundation-entity-management](./foundation-entity-management.md) &gt; [EntityManagement](./foundation-entity-management.entitymanagement.md) &gt; [editModalVisible](./foundation-entity-management.entitymanagement.editmodalvisible.md)
4
+
5
+ ## EntityManagement.editModalVisible property
6
+
7
+ **Signature:**
8
+
9
+ ```typescript
10
+ editModalVisible: boolean;
11
+ ```
@@ -0,0 +1,15 @@
1
+ <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
+
3
+ [Home](./index.md) &gt; [@genesislcap/foundation-entity-management](./foundation-entity-management.md) &gt; [EntityManagement](./foundation-entity-management.entitymanagement.md) &gt; [editModalVisibleChanged](./foundation-entity-management.entitymanagement.editmodalvisiblechanged.md)
4
+
5
+ ## EntityManagement.editModalVisibleChanged() method
6
+
7
+ **Signature:**
8
+
9
+ ```typescript
10
+ editModalVisibleChanged(): void;
11
+ ```
12
+ **Returns:**
13
+
14
+ void
15
+
@@ -0,0 +1,11 @@
1
+ <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
+
3
+ [Home](./index.md) &gt; [@genesislcap/foundation-entity-management](./foundation-entity-management.md) &gt; [EntityManagement](./foundation-entity-management.entitymanagement.md) &gt; [enableCellFlashing](./foundation-entity-management.entitymanagement.enablecellflashing.md)
4
+
5
+ ## EntityManagement.enableCellFlashing property
6
+
7
+ **Signature:**
8
+
9
+ ```typescript
10
+ enableCellFlashing: boolean;
11
+ ```
@@ -0,0 +1,11 @@
1
+ <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
+
3
+ [Home](./index.md) &gt; [@genesislcap/foundation-entity-management](./foundation-entity-management.md) &gt; [EntityManagement](./foundation-entity-management.entitymanagement.md) &gt; [enableFilterBar](./foundation-entity-management.entitymanagement.enablefilterbar.md)
4
+
5
+ ## EntityManagement.enableFilterBar property
6
+
7
+ **Signature:**
8
+
9
+ ```typescript
10
+ enableFilterBar: boolean;
11
+ ```
@@ -0,0 +1,13 @@
1
+ <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
+
3
+ [Home](./index.md) &gt; [@genesislcap/foundation-entity-management](./foundation-entity-management.md) &gt; [EntityManagement](./foundation-entity-management.entitymanagement.md) &gt; [entityLabel](./foundation-entity-management.entitymanagement.entitylabel.md)
4
+
5
+ ## EntityManagement.entityLabel property
6
+
7
+ Label for the entity which has usages such as being shown in the title of the modal wen editing the entity
8
+
9
+ **Signature:**
10
+
11
+ ```typescript
12
+ entityLabel: string;
13
+ ```
@@ -0,0 +1,24 @@
1
+ <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
+
3
+ [Home](./index.md) &gt; [@genesislcap/foundation-entity-management](./foundation-entity-management.md) &gt; [EntityManagement](./foundation-entity-management.entitymanagement.md) &gt; [errorNotify](./foundation-entity-management.entitymanagement.errornotify.md)
4
+
5
+ ## EntityManagement.errorNotify() method
6
+
7
+ Show notifications if the executed event returned an error.
8
+
9
+ **Signature:**
10
+
11
+ ```typescript
12
+ errorNotify(request: any): void;
13
+ ```
14
+
15
+ ## Parameters
16
+
17
+ | Parameter | Type | Description |
18
+ | --- | --- | --- |
19
+ | request | any | |
20
+
21
+ **Returns:**
22
+
23
+ void
24
+
@@ -0,0 +1,11 @@
1
+ <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
+
3
+ [Home](./index.md) &gt; [@genesislcap/foundation-entity-management](./foundation-entity-management.md) &gt; [EntityManagement](./foundation-entity-management.entitymanagement.md) &gt; [formUiSchema](./foundation-entity-management.entitymanagement.formuischema.md)
4
+
5
+ ## EntityManagement.formUiSchema property
6
+
7
+ **Signature:**
8
+
9
+ ```typescript
10
+ formUiSchema: any;
11
+ ```
@@ -0,0 +1,74 @@
1
+ <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
+
3
+ [Home](./index.md) &gt; [@genesislcap/foundation-entity-management](./foundation-entity-management.md) &gt; [EntityManagement](./foundation-entity-management.entitymanagement.md)
4
+
5
+ ## EntityManagement class
6
+
7
+ Main class which defines the entity management functionality
8
+
9
+ **Signature:**
10
+
11
+ ```typescript
12
+ export declare class EntityManagement extends EntityManagement_base
13
+ ```
14
+ **Extends:** EntityManagement\_base
15
+
16
+ ## Remarks
17
+
18
+ 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.
19
+
20
+ ## Example
21
+
22
+ Example of using the entity management system to handle counterparties
23
+
24
+ ```
25
+ <entity-management
26
+ resourceName="ALL_COUNTERPARTYS"
27
+ title="Counterparty Management"
28
+ updateEvent="EVENT_COUNTERPARTY_MODIFY"
29
+ deleteEvent="EVENT_COUNTERPARTY_DELETE"
30
+ createEvent="EVENT_COUNTERPARTY_INSERT"
31
+ ></entity-management>
32
+ ```
33
+ 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 />
34
+
35
+ ## Properties
36
+
37
+ | Property | Modifiers | Type | Description |
38
+ | --- | --- | --- | --- |
39
+ | [columns](./foundation-entity-management.entitymanagement.columns.md) | | ColDef\[\] | Array which holds the column definitions. |
40
+ | [connect](./foundation-entity-management.entitymanagement.connect.md) | <code>protected</code> | Connect | DI connect object which is used to interact with the backend. |
41
+ | [createEvent](./foundation-entity-management.entitymanagement.createevent.md) | | string | Name of the event handler on the Genesis server which handles creating an entity |
42
+ | [createFormUiSchema](./foundation-entity-management.entitymanagement.createformuischema.md) | | any | |
43
+ | [datasourceConfig](./foundation-entity-management.entitymanagement.datasourceconfig.md) | | [DatasourceConfiguration](./foundation-entity-management.datasourceconfiguration.md) | The configuration which is used when interacting with the resource on the backend |
44
+ | [deleteEvent](./foundation-entity-management.entitymanagement.deleteevent.md) | | string | Name of the event handler on the Genesis server which handles deleting the entity |
45
+ | [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 |
46
+ | [editedEntity](./foundation-entity-management.entitymanagement.editedentity.md) | | any | Disables the form while enabled to stop the user dispatching a large number of duplicate events |
47
+ | [editEntityModal](./foundation-entity-management.entitymanagement.editentitymodal.md) | | any | |
48
+ | [editModalVisible](./foundation-entity-management.entitymanagement.editmodalvisible.md) | | boolean | |
49
+ | [enableCellFlashing](./foundation-entity-management.entitymanagement.enablecellflashing.md) | | boolean | |
50
+ | [enableFilterBar](./foundation-entity-management.entitymanagement.enablefilterbar.md) | | boolean | |
51
+ | [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 |
52
+ | [formUiSchema](./foundation-entity-management.entitymanagement.formuischema.md) | | any | |
53
+ | [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. |
54
+ | [readEvent](./foundation-entity-management.entitymanagement.readevent.md) | | string | |
55
+ | [readEventFn](./foundation-entity-management.entitymanagement.readeventfn.md) | | (...args: any\[\]) =&gt; {} | |
56
+ | [readonly](./foundation-entity-management.entitymanagement.readonly.md) | | boolean | |
57
+ | [resourceName](./foundation-entity-management.entitymanagement.resourcename.md) | | string | Name of the backend resource which contain the entities to manage |
58
+ | [selectedEntity](./foundation-entity-management.entitymanagement.selectedentity.md) | | any | Reference to the currently selected entity from the grid. |
59
+ | [sizeColumnsToFit](./foundation-entity-management.entitymanagement.sizecolumnstofit.md) | | boolean | |
60
+ | [submitting](./foundation-entity-management.entitymanagement.submitting.md) | | boolean | |
61
+ | [title](./foundation-entity-management.entitymanagement.title.md) | | string | Title of the grid |
62
+ | [updateEvent](./foundation-entity-management.entitymanagement.updateevent.md) | | string | Name of the event handler on the Genesis server which handles updating the entity |
63
+ | [updateFormUiSchema](./foundation-entity-management.entitymanagement.updateformuischema.md) | | any | |
64
+
65
+ ## Methods
66
+
67
+ | Method | Modifiers | Description |
68
+ | --- | --- | --- |
69
+ | [closeModal()](./foundation-entity-management.entitymanagement.closemodal.md) | | |
70
+ | [deepClone()](./foundation-entity-management.entitymanagement.deepclone.md) | | Override the deepClone method to ensure that observable attributes are cloned |
71
+ | [editModalVisibleChanged()](./foundation-entity-management.entitymanagement.editmodalvisiblechanged.md) | | |
72
+ | [errorNotify(request)](./foundation-entity-management.entitymanagement.errornotify.md) | | Show notifications if the executed event returned an error. |
73
+ | [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 |
74
+
@@ -0,0 +1,18 @@
1
+ <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
+
3
+ [Home](./index.md) &gt; [@genesislcap/foundation-entity-management](./foundation-entity-management.md) &gt; [EntityManagement](./foundation-entity-management.entitymanagement.md) &gt; [persistColumnStateKey](./foundation-entity-management.entitymanagement.persistcolumnstatekey.md)
4
+
5
+ ## EntityManagement.persistColumnStateKey property
6
+
7
+ 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.
8
+
9
+ **Signature:**
10
+
11
+ ```typescript
12
+ persistColumnStateKey: string;
13
+ ```
14
+
15
+ ## Remarks
16
+
17
+ 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. This value must be unique for each table in your app otherwise the persisted data will be corrupted. There is an option on the grid for the user to reset the table to the default layout if they wish. If you omit this attribute then nothing is persisted
18
+
@@ -0,0 +1,11 @@
1
+ <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
+
3
+ [Home](./index.md) &gt; [@genesislcap/foundation-entity-management](./foundation-entity-management.md) &gt; [EntityManagement](./foundation-entity-management.entitymanagement.md) &gt; [readEvent](./foundation-entity-management.entitymanagement.readevent.md)
4
+
5
+ ## EntityManagement.readEvent property
6
+
7
+ **Signature:**
8
+
9
+ ```typescript
10
+ readEvent: string;
11
+ ```
@@ -0,0 +1,11 @@
1
+ <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
+
3
+ [Home](./index.md) &gt; [@genesislcap/foundation-entity-management](./foundation-entity-management.md) &gt; [EntityManagement](./foundation-entity-management.entitymanagement.md) &gt; [readEventFn](./foundation-entity-management.entitymanagement.readeventfn.md)
4
+
5
+ ## EntityManagement.readEventFn property
6
+
7
+ **Signature:**
8
+
9
+ ```typescript
10
+ readEventFn: (...args: any[]) => {};
11
+ ```
@@ -0,0 +1,11 @@
1
+ <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
+
3
+ [Home](./index.md) &gt; [@genesislcap/foundation-entity-management](./foundation-entity-management.md) &gt; [EntityManagement](./foundation-entity-management.entitymanagement.md) &gt; [readonly](./foundation-entity-management.entitymanagement.readonly.md)
4
+
5
+ ## EntityManagement.readonly property
6
+
7
+ **Signature:**
8
+
9
+ ```typescript
10
+ readonly: boolean;
11
+ ```
@@ -0,0 +1,13 @@
1
+ <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
+
3
+ [Home](./index.md) &gt; [@genesislcap/foundation-entity-management](./foundation-entity-management.md) &gt; [EntityManagement](./foundation-entity-management.entitymanagement.md) &gt; [resourceName](./foundation-entity-management.entitymanagement.resourcename.md)
4
+
5
+ ## EntityManagement.resourceName property
6
+
7
+ Name of the backend resource which contain the entities to manage
8
+
9
+ **Signature:**
10
+
11
+ ```typescript
12
+ resourceName: string;
13
+ ```
@@ -0,0 +1,18 @@
1
+ <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
+
3
+ [Home](./index.md) &gt; [@genesislcap/foundation-entity-management](./foundation-entity-management.md) &gt; [EntityManagement](./foundation-entity-management.entitymanagement.md) &gt; [selectedEntity](./foundation-entity-management.entitymanagement.selectedentity.md)
4
+
5
+ ## EntityManagement.selectedEntity property
6
+
7
+ Reference to the currently selected entity from the grid.
8
+
9
+ **Signature:**
10
+
11
+ ```typescript
12
+ selectedEntity: any;
13
+ ```
14
+
15
+ ## Remarks
16
+
17
+ When the user attempts to initiate functionality such as deleting or editing an entity, the entity which will be deleted/edited is the one which is referenced by this variable
18
+
@@ -0,0 +1,11 @@
1
+ <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
+
3
+ [Home](./index.md) &gt; [@genesislcap/foundation-entity-management](./foundation-entity-management.md) &gt; [EntityManagement](./foundation-entity-management.entitymanagement.md) &gt; [sizeColumnsToFit](./foundation-entity-management.entitymanagement.sizecolumnstofit.md)
4
+
5
+ ## EntityManagement.sizeColumnsToFit property
6
+
7
+ **Signature:**
8
+
9
+ ```typescript
10
+ sizeColumnsToFit: boolean;
11
+ ```
@@ -0,0 +1,24 @@
1
+ <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
+
3
+ [Home](./index.md) &gt; [@genesislcap/foundation-entity-management](./foundation-entity-management.md) &gt; [EntityManagement](./foundation-entity-management.entitymanagement.md) &gt; [submitEntityChanges](./foundation-entity-management.entitymanagement.submitentitychanges.md)
4
+
5
+ ## EntityManagement.submitEntityChanges() method
6
+
7
+ Event handler for when the user submits the action for the currently open form, either editing or adding the entity
8
+
9
+ **Signature:**
10
+
11
+ ```typescript
12
+ submitEntityChanges(e: CustomEvent): Promise<void>;
13
+ ```
14
+
15
+ ## Parameters
16
+
17
+ | Parameter | Type | Description |
18
+ | --- | --- | --- |
19
+ | e | CustomEvent | <p>CustomEvent which contains the payload for the entity to submit to the backend</p><p>Emits an event upon error</p> |
20
+
21
+ **Returns:**
22
+
23
+ Promise&lt;void&gt;
24
+
@@ -0,0 +1,11 @@
1
+ <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
+
3
+ [Home](./index.md) &gt; [@genesislcap/foundation-entity-management](./foundation-entity-management.md) &gt; [EntityManagement](./foundation-entity-management.entitymanagement.md) &gt; [submitting](./foundation-entity-management.entitymanagement.submitting.md)
4
+
5
+ ## EntityManagement.submitting property
6
+
7
+ **Signature:**
8
+
9
+ ```typescript
10
+ submitting: boolean;
11
+ ```
@@ -0,0 +1,13 @@
1
+ <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
+
3
+ [Home](./index.md) &gt; [@genesislcap/foundation-entity-management](./foundation-entity-management.md) &gt; [EntityManagement](./foundation-entity-management.entitymanagement.md) &gt; [title](./foundation-entity-management.entitymanagement.title.md)
4
+
5
+ ## EntityManagement.title property
6
+
7
+ Title of the grid
8
+
9
+ **Signature:**
10
+
11
+ ```typescript
12
+ title: string;
13
+ ```
@@ -0,0 +1,13 @@
1
+ <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
+
3
+ [Home](./index.md) &gt; [@genesislcap/foundation-entity-management](./foundation-entity-management.md) &gt; [EntityManagement](./foundation-entity-management.entitymanagement.md) &gt; [updateEvent](./foundation-entity-management.entitymanagement.updateevent.md)
4
+
5
+ ## EntityManagement.updateEvent property
6
+
7
+ Name of the event handler on the Genesis server which handles updating the entity
8
+
9
+ **Signature:**
10
+
11
+ ```typescript
12
+ updateEvent: string;
13
+ ```
@@ -0,0 +1,11 @@
1
+ <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
+
3
+ [Home](./index.md) &gt; [@genesislcap/foundation-entity-management](./foundation-entity-management.md) &gt; [EntityManagement](./foundation-entity-management.entitymanagement.md) &gt; [updateFormUiSchema](./foundation-entity-management.entitymanagement.updateformuischema.md)
4
+
5
+ ## EntityManagement.updateFormUiSchema property
6
+
7
+ **Signature:**
8
+
9
+ ```typescript
10
+ updateFormUiSchema: any;
11
+ ```
@@ -0,0 +1,13 @@
1
+ <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
+
3
+ [Home](./index.md) &gt; [@genesislcap/foundation-entity-management](./foundation-entity-management.md) &gt; [getErrorFormat](./foundation-entity-management.geterrorformat.md)
4
+
5
+ ## getErrorFormat variable
6
+
7
+ Format the error as a string with a different format depending on whether `err` has a `FIELD` property or not
8
+
9
+ **Signature:**
10
+
11
+ ```typescript
12
+ getErrorFormat: (err: any) => string
13
+ ```
@@ -0,0 +1,27 @@
1
+ <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
+
3
+ [Home](./index.md) &gt; [@genesislcap/foundation-entity-management](./foundation-entity-management.md)
4
+
5
+ ## foundation-entity-management package
6
+
7
+ ## Classes
8
+
9
+ | Class | Description |
10
+ | --- | --- |
11
+ | [EntityManagement](./foundation-entity-management.entitymanagement.md) | Main class which defines the entity management functionality |
12
+ | [Profiles](./foundation-entity-management.profiles.md) | Main class which defined the profile management functionality |
13
+ | [Users](./foundation-entity-management.users.md) | Main class which defines the user management functionality |
14
+
15
+ ## Variables
16
+
17
+ | Variable | Description |
18
+ | --- | --- |
19
+ | [getErrorFormat](./foundation-entity-management.geterrorformat.md) | Format the error as a string with a different format depending on whether <code>err</code> has a <code>FIELD</code> property or not |
20
+ | [UsersColumnConfig](./foundation-entity-management.userscolumnconfig.md) | Defines the default columns which are present on the user management component |
21
+
22
+ ## Type Aliases
23
+
24
+ | Type Alias | Description |
25
+ | --- | --- |
26
+ | [DatasourceConfiguration](./foundation-entity-management.datasourceconfiguration.md) | The attribute which is set to configure the resource that the entity manager is working with |
27
+