@genesislcap/foundation-entity-management 14.26.4 → 14.26.5-canary.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/custom-elements.json +264 -190
- package/dist/dts/entities/entities.d.ts +20 -4
- package/dist/dts/entities/entities.d.ts.map +1 -1
- package/dist/dts/entities/entities.styles.d.ts.map +1 -1
- package/dist/dts/entities/entities.template.d.ts.map +1 -1
- package/dist/dts/list/list.d.ts +0 -2
- package/dist/dts/list/list.d.ts.map +1 -1
- package/dist/dts/list/list.styles.d.ts.map +1 -1
- package/dist/dts/list/list.template.d.ts +0 -23
- package/dist/dts/list/list.template.d.ts.map +1 -1
- package/dist/dts/utils/index.d.ts +26 -0
- package/dist/dts/utils/index.d.ts.map +1 -1
- package/dist/esm/entities/entities.js +31 -9
- package/dist/esm/entities/entities.styles.js +6 -0
- package/dist/esm/entities/entities.template.js +17 -3
- package/dist/esm/list/list.js +2 -7
- package/dist/esm/list/list.styles.js +0 -6
- package/dist/esm/list/list.template.js +0 -35
- package/dist/esm/utils/index.js +25 -0
- package/dist/foundation-entity-management.api.json +114 -0
- package/dist/foundation-entity-management.d.ts +47 -4
- package/docs/api/foundation-entity-management.buttoncellrenderer.md +34 -0
- package/docs/api/foundation-entity-management.entitymanagement.defaultentityvalues.md +11 -0
- package/docs/api/foundation-entity-management.entitymanagement.editentityform.md +11 -0
- package/docs/api/foundation-entity-management.entitymanagement.md +3 -0
- package/docs/api/foundation-entity-management.entitymanagement.modalposition.md +13 -0
- package/docs/api/foundation-entity-management.md +1 -0
- package/docs/api-report.md +33 -0
- package/package.json +13 -13
|
@@ -0,0 +1,11 @@
|
|
|
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
|
+
```
|
|
@@ -41,15 +41,18 @@ Where:<br /> - the title of the grid is `Counterparty Management`<br /> - the na
|
|
|
41
41
|
| [createEvent](./foundation-entity-management.entitymanagement.createevent.md) | | string | Name of the event handler on the Genesis server which handles creating an entity |
|
|
42
42
|
| [createFormUiSchema](./foundation-entity-management.entitymanagement.createformuischema.md) | | any | |
|
|
43
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
|
+
| [defaultEntityValues](./foundation-entity-management.entitymanagement.defaultentityvalues.md) | | any | |
|
|
44
45
|
| [deleteEvent](./foundation-entity-management.entitymanagement.deleteevent.md) | | string | Name of the event handler on the Genesis server which handles deleting the entity |
|
|
45
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 |
|
|
46
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 | |
|
|
47
49
|
| [editEntityModal](./foundation-entity-management.entitymanagement.editentitymodal.md) | | any | |
|
|
48
50
|
| [editModalVisible](./foundation-entity-management.entitymanagement.editmodalvisible.md) | | boolean | |
|
|
49
51
|
| [enableCellFlashing](./foundation-entity-management.entitymanagement.enablecellflashing.md) | | boolean | |
|
|
50
52
|
| [enableFilterBar](./foundation-entity-management.entitymanagement.enablefilterbar.md) | | boolean | |
|
|
51
53
|
| [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
54
|
| [formUiSchema](./foundation-entity-management.entitymanagement.formuischema.md) | | any | |
|
|
55
|
+
| [modalPosition](./foundation-entity-management.entitymanagement.modalposition.md) | | 'centre' \| 'left' \| 'right' | Determines where the modal dialog will appear on screen |
|
|
53
56
|
| [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
57
|
| [readEvent](./foundation-entity-management.entitymanagement.readevent.md) | | string | |
|
|
55
58
|
| [readEventFn](./foundation-entity-management.entitymanagement.readeventfn.md) | | (...args: any\[\]) => {} | |
|
|
@@ -0,0 +1,13 @@
|
|
|
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) > [modalPosition](./foundation-entity-management.entitymanagement.modalposition.md)
|
|
4
|
+
|
|
5
|
+
## EntityManagement.modalPosition property
|
|
6
|
+
|
|
7
|
+
Determines where the modal dialog will appear on screen
|
|
8
|
+
|
|
9
|
+
**Signature:**
|
|
10
|
+
|
|
11
|
+
```typescript
|
|
12
|
+
modalPosition: 'centre' | 'left' | 'right';
|
|
13
|
+
```
|
|
@@ -17,6 +17,7 @@
|
|
|
17
17
|
|
|
18
18
|
| Variable | Description |
|
|
19
19
|
| --- | --- |
|
|
20
|
+
| [buttonCellRenderer](./foundation-entity-management.buttoncellrenderer.md) | |
|
|
20
21
|
| [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 |
|
|
21
22
|
| [logger](./foundation-entity-management.logger.md) | |
|
|
22
23
|
| [UsersColumnConfig](./foundation-entity-management.userscolumnconfig.md) | Defines the default columns which are present on the user management component |
|
package/docs/api-report.md
CHANGED
|
@@ -13,6 +13,7 @@ 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';
|
|
16
17
|
import { FoundationAnalytics } from '@genesislcap/foundation-comms';
|
|
17
18
|
import { FoundationLayoutContainer } from '@genesislcap/foundation-utils';
|
|
18
19
|
import { GridProRendererTypes } from '@genesislcap/grid-pro';
|
|
@@ -24,6 +25,31 @@ import { RouterConfiguration } from '@microsoft/fast-router';
|
|
|
24
25
|
import { Session } from '@genesislcap/foundation-comms';
|
|
25
26
|
import { ViewTemplate } from '@microsoft/fast-element';
|
|
26
27
|
|
|
28
|
+
// @public (undocumented)
|
|
29
|
+
export const buttonCellRenderer: (title: any, clickHandler: any) => {
|
|
30
|
+
width: number;
|
|
31
|
+
pinned: string;
|
|
32
|
+
enableCellChangeFlash: boolean;
|
|
33
|
+
cellStyle: {
|
|
34
|
+
padding: string;
|
|
35
|
+
lineHeight: string;
|
|
36
|
+
};
|
|
37
|
+
filter: boolean;
|
|
38
|
+
suppressFiltersToolPanel: boolean;
|
|
39
|
+
suppressColumnsToolPanel: boolean;
|
|
40
|
+
headerName: string;
|
|
41
|
+
minWidth: number;
|
|
42
|
+
maxWidth: number;
|
|
43
|
+
cellRendererSelector: (params: any) => {
|
|
44
|
+
component: string;
|
|
45
|
+
params: {
|
|
46
|
+
actionClick: any;
|
|
47
|
+
actionName: any;
|
|
48
|
+
appearance: string;
|
|
49
|
+
};
|
|
50
|
+
};
|
|
51
|
+
};
|
|
52
|
+
|
|
27
53
|
// @public
|
|
28
54
|
export type DatasourceConfiguration = Omit<DatasourceOptions, 'resourceName' | 'request'>;
|
|
29
55
|
|
|
@@ -44,17 +70,23 @@ export class EntityManagement extends EntityManagement_base {
|
|
|
44
70
|
protected connect: Connect;
|
|
45
71
|
// @internal
|
|
46
72
|
connectedCallback(): Promise<void>;
|
|
73
|
+
// @internal
|
|
74
|
+
createEntity(): void;
|
|
47
75
|
createEvent: string;
|
|
48
76
|
// (undocumented)
|
|
49
77
|
createFormUiSchema: any;
|
|
50
78
|
datasourceConfig: DatasourceConfiguration;
|
|
51
79
|
deepClone(): Node;
|
|
80
|
+
// (undocumented)
|
|
81
|
+
defaultEntityValues: any;
|
|
52
82
|
// @internal
|
|
53
83
|
deleteEntity(e: CustomEvent): Promise<void>;
|
|
54
84
|
deleteEvent: string;
|
|
55
85
|
editDialogTitle: string;
|
|
56
86
|
editedEntity: any;
|
|
57
87
|
// (undocumented)
|
|
88
|
+
editEntityForm: Form;
|
|
89
|
+
// (undocumented)
|
|
58
90
|
editEntityModal: any;
|
|
59
91
|
// (undocumented)
|
|
60
92
|
editModalVisible: boolean;
|
|
@@ -73,6 +105,7 @@ export class EntityManagement extends EntityManagement_base {
|
|
|
73
105
|
formResourceName: string;
|
|
74
106
|
// (undocumented)
|
|
75
107
|
formUiSchema: any;
|
|
108
|
+
modalPosition: 'centre' | 'left' | 'right';
|
|
76
109
|
persistColumnStateKey: string;
|
|
77
110
|
// (undocumented)
|
|
78
111
|
readEvent: string;
|
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.26.
|
|
4
|
+
"version": "14.26.5-canary.1",
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"license": "SEE LICENSE IN license.txt",
|
|
7
7
|
"main": "dist/esm/index.js",
|
|
@@ -38,8 +38,8 @@
|
|
|
38
38
|
"test:unit:watch": "watchlist src test -- npm run test:unit"
|
|
39
39
|
},
|
|
40
40
|
"devDependencies": {
|
|
41
|
-
"@genesislcap/foundation-testing": "
|
|
42
|
-
"@genesislcap/genx": "
|
|
41
|
+
"@genesislcap/foundation-testing": "14.26.5-canary.1",
|
|
42
|
+
"@genesislcap/genx": "14.26.5-canary.1",
|
|
43
43
|
"@playwright/test": "^1.18.1",
|
|
44
44
|
"bulma": "^0.9.3",
|
|
45
45
|
"c8": "^7.11.0",
|
|
@@ -55,15 +55,15 @@
|
|
|
55
55
|
"watchlist": "^0.3.1"
|
|
56
56
|
},
|
|
57
57
|
"dependencies": {
|
|
58
|
-
"@genesislcap/foundation-comms": "
|
|
59
|
-
"@genesislcap/foundation-errors": "
|
|
60
|
-
"@genesislcap/foundation-forms": "
|
|
61
|
-
"@genesislcap/foundation-login": "
|
|
62
|
-
"@genesislcap/foundation-ui": "
|
|
63
|
-
"@genesislcap/foundation-utils": "
|
|
64
|
-
"@genesislcap/foundation-zero": "
|
|
65
|
-
"@genesislcap/foundation-zero-grid-pro": "
|
|
66
|
-
"@genesislcap/grid-pro": "
|
|
58
|
+
"@genesislcap/foundation-comms": "14.26.5-canary.1",
|
|
59
|
+
"@genesislcap/foundation-errors": "14.26.5-canary.1",
|
|
60
|
+
"@genesislcap/foundation-forms": "14.26.5-canary.1",
|
|
61
|
+
"@genesislcap/foundation-login": "14.26.5-canary.1",
|
|
62
|
+
"@genesislcap/foundation-ui": "14.26.5-canary.1",
|
|
63
|
+
"@genesislcap/foundation-utils": "14.26.5-canary.1",
|
|
64
|
+
"@genesislcap/foundation-zero": "14.26.5-canary.1",
|
|
65
|
+
"@genesislcap/foundation-zero-grid-pro": "14.26.5-canary.1",
|
|
66
|
+
"@genesislcap/grid-pro": "14.26.5-canary.1",
|
|
67
67
|
"@microsoft/fast-components": "^2.21.3",
|
|
68
68
|
"@microsoft/fast-element": "^1.7.0",
|
|
69
69
|
"@microsoft/fast-foundation": "^2.33.2",
|
|
@@ -88,5 +88,5 @@
|
|
|
88
88
|
"access": "public"
|
|
89
89
|
},
|
|
90
90
|
"customElements": "dist/custom-elements.json",
|
|
91
|
-
"gitHead": "
|
|
91
|
+
"gitHead": "45ea1934d49dd02f0b66c333c19fae32d6789d09"
|
|
92
92
|
}
|