@genesislcap/foundation-entity-management 14.194.4 → 14.194.5
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 +695 -699
- package/dist/dts/entities/entities.d.ts +26 -10
- package/dist/dts/entities/entities.d.ts.map +1 -1
- package/dist/dts/main/main.d.ts +1 -2
- package/dist/dts/main/main.d.ts.map +1 -1
- package/dist/dts/profiles/editProfileSchema.d.ts +2 -18
- package/dist/dts/profiles/editProfileSchema.d.ts.map +1 -1
- package/dist/dts/types.d.ts +13 -0
- package/dist/dts/types.d.ts.map +1 -1
- package/dist/dts/users/users.d.ts +16 -20
- package/dist/dts/users/users.d.ts.map +1 -1
- package/dist/dts/users/users.template.d.ts.map +1 -1
- package/dist/esm/entities/entities.js +2 -2
- package/dist/esm/main/main.js +0 -4
- package/dist/foundation-entity-management.api.json +71 -53
- package/dist/foundation-entity-management.d.ts +55 -31
- package/docs/api/foundation-entity-management.entitymanagement.createformuischema.md +1 -1
- package/docs/api/foundation-entity-management.entitymanagement.defaultentityvalues.md +3 -1
- package/docs/api/foundation-entity-management.entitymanagement.editedentity.md +1 -1
- package/docs/api/foundation-entity-management.entitymanagement.editentitymodal.md +1 -1
- package/docs/api/foundation-entity-management.entitymanagement.formuischema.md +1 -1
- package/docs/api/foundation-entity-management.entitymanagement.md +7 -7
- package/docs/api/foundation-entity-management.entitymanagement.selectedentity.md +1 -1
- package/docs/api/foundation-entity-management.entitymanagement.updateformuischema.md +1 -1
- package/docs/api/foundation-entity-management.mainapplication.md +1 -2
- package/docs/api/foundation-entity-management.mainapplication.provider.md +1 -1
- package/docs/api/foundation-entity-management.users.additionalcreatefields.md +1 -1
- package/docs/api/foundation-entity-management.users.additionalupdatefields.md +1 -1
- package/docs/api/foundation-entity-management.users.columns.md +1 -1
- package/docs/api/foundation-entity-management.users.md +3 -3
- package/docs/api-report.md +16 -14
- package/package.json +21 -21
- package/docs/api/foundation-entity-management.mainapplication.data.md +0 -11
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { Auth } from '@genesislcap/foundation-comms';
|
|
2
2
|
import { AvailableOption } from '@genesislcap/foundation-ui';
|
|
3
3
|
import { ColDef } from '@ag-grid-community/core';
|
|
4
|
+
import type { ColGroupDef } from '@ag-grid-community/core';
|
|
4
5
|
import { Connect } from '@genesislcap/foundation-comms';
|
|
5
6
|
import { Constructable } from '@microsoft/fast-element';
|
|
6
7
|
import { Container } from '@microsoft/fast-foundation';
|
|
@@ -15,13 +16,28 @@ import type { GridProCaseType } from '@genesislcap/grid-pro';
|
|
|
15
16
|
import { GridProRendererTypes } from '@genesislcap/foundation-zero-grid-pro';
|
|
16
17
|
import { LayoutCacheContainer } from '@genesislcap/foundation-utils';
|
|
17
18
|
import { Logger } from '@genesislcap/foundation-logger';
|
|
19
|
+
import type { Modal } from '@genesislcap/foundation-ui';
|
|
18
20
|
import { PartialFASTElementDefinition } from '@microsoft/fast-element';
|
|
19
21
|
import { RendererEntry } from '@genesislcap/foundation-forms';
|
|
20
22
|
import { RouterConfiguration } from '@microsoft/fast-router';
|
|
21
23
|
import { SelectedOption } from '@genesislcap/foundation-ui';
|
|
22
24
|
import { Session } from '@genesislcap/foundation-comms';
|
|
25
|
+
import { UiSchema } from '@genesislcap/foundation-forms';
|
|
23
26
|
import { ViewTemplate } from '@microsoft/fast-element';
|
|
24
27
|
|
|
28
|
+
declare type AdditionalEntry = string | UiSchema | {
|
|
29
|
+
type: 'Control';
|
|
30
|
+
scope: string;
|
|
31
|
+
label?: string;
|
|
32
|
+
options?: {
|
|
33
|
+
readonly?: boolean;
|
|
34
|
+
hidden?: boolean;
|
|
35
|
+
allOptionsResourceName?: string;
|
|
36
|
+
valueField?: string;
|
|
37
|
+
labelField?: string;
|
|
38
|
+
};
|
|
39
|
+
};
|
|
40
|
+
|
|
25
41
|
/**
|
|
26
42
|
* @public
|
|
27
43
|
*/
|
|
@@ -199,9 +215,9 @@ export declare class EntityManagement extends EntityManagement_base {
|
|
|
199
215
|
* @public
|
|
200
216
|
*/
|
|
201
217
|
datasourceConfig: DatasourceConfiguration;
|
|
202
|
-
formUiSchema:
|
|
203
|
-
createFormUiSchema:
|
|
204
|
-
updateFormUiSchema:
|
|
218
|
+
formUiSchema: UiSchema;
|
|
219
|
+
createFormUiSchema: UiSchema;
|
|
220
|
+
updateFormUiSchema: UiSchema;
|
|
205
221
|
/**
|
|
206
222
|
* The name of the resource in the backend to interact with when dispatching actions from the update/create modal
|
|
207
223
|
* @internal
|
|
@@ -220,21 +236,25 @@ export declare class EntityManagement extends EntityManagement_base {
|
|
|
220
236
|
* 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
|
|
221
237
|
* @public
|
|
222
238
|
*/
|
|
223
|
-
selectedEntity:
|
|
239
|
+
selectedEntity: Record<string, unknown>;
|
|
224
240
|
/**
|
|
225
241
|
* Disables the form while enabled to stop the user dispatching a large number of duplicate events
|
|
226
242
|
* @public
|
|
227
243
|
*/
|
|
228
|
-
editedEntity:
|
|
244
|
+
editedEntity: Record<string, unknown>;
|
|
245
|
+
/**
|
|
246
|
+
* The default values to populate the form with when the user is adding an entity
|
|
247
|
+
* @public
|
|
248
|
+
*/
|
|
249
|
+
defaultEntityValues: Record<string, unknown>;
|
|
229
250
|
submitting: boolean;
|
|
230
|
-
defaultEntityValues: any;
|
|
231
251
|
/**
|
|
232
252
|
* String which contains the text of the popup modal when the user is adding or editing an entity
|
|
233
253
|
*/
|
|
234
254
|
editDialogTitle: string;
|
|
235
255
|
editModalVisible: boolean;
|
|
236
256
|
editModalVisibleChanged(): void;
|
|
237
|
-
editEntityModal:
|
|
257
|
+
editEntityModal: Modal;
|
|
238
258
|
sizeColumnsToFit: boolean;
|
|
239
259
|
enableFilterBar: boolean;
|
|
240
260
|
hideEdit: boolean;
|
|
@@ -373,7 +393,10 @@ declare const EntityManagement_base: (new (...args: any[]) => {
|
|
|
373
393
|
readonly clientHeight: number;
|
|
374
394
|
readonly clientLeft: number;
|
|
375
395
|
readonly clientTop: number;
|
|
376
|
-
readonly clientWidth: number;
|
|
396
|
+
readonly clientWidth: number; /**
|
|
397
|
+
* Array which holds the column definitions.
|
|
398
|
+
* @public
|
|
399
|
+
*/
|
|
377
400
|
id: string;
|
|
378
401
|
readonly localName: string;
|
|
379
402
|
readonly namespaceURI: string;
|
|
@@ -399,7 +422,10 @@ declare const EntityManagement_base: (new (...args: any[]) => {
|
|
|
399
422
|
getAttributeNames(): string[];
|
|
400
423
|
getAttributeNode(qualifiedName: string): Attr;
|
|
401
424
|
getAttributeNodeNS(namespace: string, localName: string): Attr;
|
|
402
|
-
getBoundingClientRect(): DOMRect;
|
|
425
|
+
getBoundingClientRect(): DOMRect; /**
|
|
426
|
+
* Disables the form while enabled to stop the user dispatching a large number of duplicate events
|
|
427
|
+
* @public
|
|
428
|
+
*/
|
|
403
429
|
getClientRects(): DOMRectList;
|
|
404
430
|
getElementsByClassName(classNames: string): HTMLCollectionOf<Element>;
|
|
405
431
|
getElementsByTagName<K_4 extends keyof HTMLElementTagNameMap>(qualifiedName: K_4): HTMLCollectionOf<HTMLElementTagNameMap[K_4]>;
|
|
@@ -527,7 +553,11 @@ declare const EntityManagement_base: (new (...args: any[]) => {
|
|
|
527
553
|
after(...nodes: (string | Node)[]): void;
|
|
528
554
|
before(...nodes: (string | Node)[]): void;
|
|
529
555
|
remove(): void;
|
|
530
|
-
replaceWith(...nodes: (string | Node)[]): void;
|
|
556
|
+
replaceWith(...nodes: (string | Node)[]): void; /**
|
|
557
|
+
* Show the entity create form
|
|
558
|
+
* Sets the initial value on the form to be defaultEntityValues if present.
|
|
559
|
+
* @internal
|
|
560
|
+
*/
|
|
531
561
|
innerHTML: string;
|
|
532
562
|
readonly nextElementSibling: Element;
|
|
533
563
|
readonly previousElementSibling: Element;
|
|
@@ -683,9 +713,8 @@ export declare class MainApplication extends FASTElement {
|
|
|
683
713
|
connect: Connect;
|
|
684
714
|
session: Session;
|
|
685
715
|
container: Container;
|
|
686
|
-
provider:
|
|
716
|
+
provider: HTMLElement;
|
|
687
717
|
ready: boolean;
|
|
688
|
-
data: any;
|
|
689
718
|
connectedCallback(): void;
|
|
690
719
|
onLuminanceToggle(): void;
|
|
691
720
|
loadRemotes(): Promise<void>;
|
|
@@ -895,9 +924,9 @@ export declare class Users extends Users_base {
|
|
|
895
924
|
/**
|
|
896
925
|
* Column definition, default to the UsersColumnConfig
|
|
897
926
|
*/
|
|
898
|
-
columns: any;
|
|
899
|
-
additionalCreateFields:
|
|
900
|
-
additionalUpdateFields:
|
|
927
|
+
columns: (ColDef<any> | ColGroupDef<any>)[];
|
|
928
|
+
additionalCreateFields: AdditionalEntry[];
|
|
929
|
+
additionalUpdateFields: AdditionalEntry[];
|
|
901
930
|
allAccessType: boolean;
|
|
902
931
|
private entityIdValue;
|
|
903
932
|
/**
|
|
@@ -1013,6 +1042,10 @@ declare const Users_base: (new (...args: any[]) => {
|
|
|
1013
1042
|
readonly offsetTop: number;
|
|
1014
1043
|
readonly offsetWidth: number;
|
|
1015
1044
|
outerText: string;
|
|
1045
|
+
/**
|
|
1046
|
+
* GridOptions to be passed down from application
|
|
1047
|
+
* @public
|
|
1048
|
+
*/
|
|
1016
1049
|
spellcheck: boolean;
|
|
1017
1050
|
title: string;
|
|
1018
1051
|
translate: boolean;
|
|
@@ -1020,19 +1053,7 @@ declare const Users_base: (new (...args: any[]) => {
|
|
|
1020
1053
|
click(): void;
|
|
1021
1054
|
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
1022
1055
|
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
1023
|
-
/**
|
|
1024
|
-
* Returns the config for an entity column if the entityID attribute is defined
|
|
1025
|
-
*
|
|
1026
|
-
* @returns Config for an entity column if the entityID is defined, else an empty array
|
|
1027
|
-
* @internal
|
|
1028
|
-
*/
|
|
1029
1056
|
removeEventListener<K_1 extends keyof HTMLElementEventMap>(type: K_1, listener: (this: HTMLElement, ev: HTMLElementEventMap[K_1]) => any, options?: boolean | EventListenerOptions): void;
|
|
1030
|
-
/**
|
|
1031
|
-
* Returns the config for an entity column if the entityID attribute is defined
|
|
1032
|
-
*
|
|
1033
|
-
* @returns Config for an entity column if the entityID is defined, else an empty array
|
|
1034
|
-
* @internal
|
|
1035
|
-
*/
|
|
1036
1057
|
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
1037
1058
|
readonly attributes: NamedNodeMap;
|
|
1038
1059
|
readonly classList: DOMTokenList;
|
|
@@ -1055,6 +1076,9 @@ declare const Users_base: (new (...args: any[]) => {
|
|
|
1055
1076
|
scrollTop: number;
|
|
1056
1077
|
readonly scrollWidth: number;
|
|
1057
1078
|
readonly shadowRoot: ShadowRoot;
|
|
1079
|
+
/**
|
|
1080
|
+
* String which contains event if we have permission to update user of empty string if not
|
|
1081
|
+
*/
|
|
1058
1082
|
slot: string;
|
|
1059
1083
|
readonly tagName: string;
|
|
1060
1084
|
attachShadow(init: ShadowRootInit): ShadowRoot;
|
|
@@ -1099,7 +1123,10 @@ declare const Users_base: (new (...args: any[]) => {
|
|
|
1099
1123
|
setAttribute(qualifiedName: string, value: string): void;
|
|
1100
1124
|
setAttributeNS(namespace: string, qualifiedName: string, value: string): void;
|
|
1101
1125
|
setAttributeNode(attr: Attr): Attr;
|
|
1102
|
-
setAttributeNodeNS(attr: Attr): Attr;
|
|
1126
|
+
setAttributeNodeNS(attr: Attr): Attr; /**
|
|
1127
|
+
* Used as the callback function in {@link Users.statusColumn}
|
|
1128
|
+
* @internal
|
|
1129
|
+
*/
|
|
1103
1130
|
setPointerCapture(pointerId: number): void;
|
|
1104
1131
|
toggleAttribute(qualifiedName: string, force?: boolean): boolean;
|
|
1105
1132
|
webkitMatchesSelector(selectors: string): boolean;
|
|
@@ -1132,9 +1159,6 @@ declare const Users_base: (new (...args: any[]) => {
|
|
|
1132
1159
|
replaceChild<T_4 extends Node>(node: Node, child: T_4): T_4;
|
|
1133
1160
|
readonly ATTRIBUTE_NODE: number;
|
|
1134
1161
|
readonly CDATA_SECTION_NODE: number;
|
|
1135
|
-
/**
|
|
1136
|
-
* @internal
|
|
1137
|
-
*/
|
|
1138
1162
|
readonly COMMENT_NODE: number;
|
|
1139
1163
|
readonly DOCUMENT_FRAGMENT_NODE: number;
|
|
1140
1164
|
readonly DOCUMENT_NODE: number;
|
|
@@ -42,13 +42,13 @@ Where:<br /> - the title of the grid is `Counterparty Management`<br /> - the na
|
|
|
42
42
|
| [columns](./foundation-entity-management.entitymanagement.columns.md) | | ColDef\[\] | Array which holds the column definitions. |
|
|
43
43
|
| [connect](./foundation-entity-management.entitymanagement.connect.md) | <code>protected</code> | Connect | DI connect object which is used to interact with the backend. |
|
|
44
44
|
| [createEvent](./foundation-entity-management.entitymanagement.createevent.md) | | string | Name of the event handler on the Genesis server which handles creating an entity |
|
|
45
|
-
| [createFormUiSchema](./foundation-entity-management.entitymanagement.createformuischema.md) | |
|
|
45
|
+
| [createFormUiSchema](./foundation-entity-management.entitymanagement.createformuischema.md) | | UiSchema | |
|
|
46
46
|
| [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 |
|
|
47
|
-
| [defaultEntityValues](./foundation-entity-management.entitymanagement.defaultentityvalues.md) | |
|
|
47
|
+
| [defaultEntityValues](./foundation-entity-management.entitymanagement.defaultentityvalues.md) | | Record<string, unknown> | The default values to populate the form with when the user is adding an entity |
|
|
48
48
|
| [deleteEvent](./foundation-entity-management.entitymanagement.deleteevent.md) | | string | Name of the event handler on the Genesis server which handles deleting the entity |
|
|
49
49
|
| [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 |
|
|
50
|
-
| [editedEntity](./foundation-entity-management.entitymanagement.editedentity.md) | |
|
|
51
|
-
| [editEntityModal](./foundation-entity-management.entitymanagement.editentitymodal.md) | |
|
|
50
|
+
| [editedEntity](./foundation-entity-management.entitymanagement.editedentity.md) | | Record<string, unknown> | Disables the form while enabled to stop the user dispatching a large number of duplicate events |
|
|
51
|
+
| [editEntityModal](./foundation-entity-management.entitymanagement.editentitymodal.md) | | Modal | |
|
|
52
52
|
| [editModalVisible](./foundation-entity-management.entitymanagement.editmodalvisible.md) | | boolean | |
|
|
53
53
|
| [enableCellFlashing](./foundation-entity-management.entitymanagement.enablecellflashing.md) | | boolean | If false, will disable cell flashing for all cells by default, unless otherwise defined in custom colDef |
|
|
54
54
|
| [enableFilterBar](./foundation-entity-management.entitymanagement.enablefilterbar.md) | | boolean | |
|
|
@@ -56,7 +56,7 @@ Where:<br /> - the title of the grid is `Counterparty Management`<br /> - the na
|
|
|
56
56
|
| [enableSearchBar](./foundation-entity-management.entitymanagement.enablesearchbar.md) | | boolean | This attribute controls whether to enable the search-bar. |
|
|
57
57
|
| [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 |
|
|
58
58
|
| [formRenderers](./foundation-entity-management.entitymanagement.formrenderers.md) | | RendererEntry\[\] | Array with renderers used by foundation-forms |
|
|
59
|
-
| [formUiSchema](./foundation-entity-management.entitymanagement.formuischema.md) | |
|
|
59
|
+
| [formUiSchema](./foundation-entity-management.entitymanagement.formuischema.md) | | UiSchema | |
|
|
60
60
|
| [gridOptions](./foundation-entity-management.entitymanagement.gridoptions.md) | | GridOptions | GridOptions to be passed down from application |
|
|
61
61
|
| [headerCaseType](./foundation-entity-management.entitymanagement.headercasetype.md) | | GridProCaseType | The case type to use for the header names. If not set, the default CONSTANT\_CASE will be used. |
|
|
62
62
|
| [headerTempalate](./foundation-entity-management.entitymanagement.headertempalate.md) | <code>readonly</code> | import("@microsoft/fast-element").ViewTemplate<[EntityManagement](./foundation-entity-management.entitymanagement.md)<!-- -->, any> | |
|
|
@@ -71,12 +71,12 @@ Where:<br /> - the title of the grid is `Counterparty Management`<br /> - the na
|
|
|
71
71
|
| [resourceName](./foundation-entity-management.entitymanagement.resourcename.md) | | string | Name of the backend resource which contain the entities to manage |
|
|
72
72
|
| [rowSelection](./foundation-entity-management.entitymanagement.rowselection.md) | | string | This attribute allows you to change row-selection to 'single' or 'multiple' which will allow you to select single or multiple rows. |
|
|
73
73
|
| [searchBarConfig](./foundation-entity-management.entitymanagement.searchbarconfig.md) | | AvailableOption\[\] | |
|
|
74
|
-
| [selectedEntity](./foundation-entity-management.entitymanagement.selectedentity.md) | |
|
|
74
|
+
| [selectedEntity](./foundation-entity-management.entitymanagement.selectedentity.md) | | Record<string, unknown> | Reference to the currently selected entity from the grid. |
|
|
75
75
|
| [sizeColumnsToFit](./foundation-entity-management.entitymanagement.sizecolumnstofit.md) | | boolean | |
|
|
76
76
|
| [submitting](./foundation-entity-management.entitymanagement.submitting.md) | | boolean | |
|
|
77
77
|
| [title](./foundation-entity-management.entitymanagement.title.md) | | string | Title of the grid |
|
|
78
78
|
| [updateEvent](./foundation-entity-management.entitymanagement.updateevent.md) | | string | Name of the event handler on the Genesis server which handles updating the entity |
|
|
79
|
-
| [updateFormUiSchema](./foundation-entity-management.entitymanagement.updateformuischema.md) | |
|
|
79
|
+
| [updateFormUiSchema](./foundation-entity-management.entitymanagement.updateformuischema.md) | | UiSchema | |
|
|
80
80
|
|
|
81
81
|
## Methods
|
|
82
82
|
|
|
@@ -19,8 +19,7 @@ export declare class MainApplication extends FASTElement
|
|
|
19
19
|
| [config](./foundation-entity-management.mainapplication.config.md) | | MainRouterConfig | |
|
|
20
20
|
| [connect](./foundation-entity-management.mainapplication.connect.md) | | Connect | |
|
|
21
21
|
| [container](./foundation-entity-management.mainapplication.container.md) | | Container | |
|
|
22
|
-
| [
|
|
23
|
-
| [provider](./foundation-entity-management.mainapplication.provider.md) | | any | |
|
|
22
|
+
| [provider](./foundation-entity-management.mainapplication.provider.md) | | HTMLElement | |
|
|
24
23
|
| [ready](./foundation-entity-management.mainapplication.ready.md) | | boolean | |
|
|
25
24
|
| [session](./foundation-entity-management.mainapplication.session.md) | | Session | |
|
|
26
25
|
|
|
@@ -57,10 +57,10 @@ const userColumns = [
|
|
|
57
57
|
|
|
58
58
|
| Property | Modifiers | Type | Description |
|
|
59
59
|
| --- | --- | --- | --- |
|
|
60
|
-
| [additionalCreateFields](./foundation-entity-management.users.additionalcreatefields.md) | |
|
|
61
|
-
| [additionalUpdateFields](./foundation-entity-management.users.additionalupdatefields.md) | |
|
|
60
|
+
| [additionalCreateFields](./foundation-entity-management.users.additionalcreatefields.md) | | AdditionalEntry\[\] | |
|
|
61
|
+
| [additionalUpdateFields](./foundation-entity-management.users.additionalupdatefields.md) | | AdditionalEntry\[\] | |
|
|
62
62
|
| [allAccessType](./foundation-entity-management.users.allaccesstype.md) | | boolean | |
|
|
63
|
-
| [columns](./foundation-entity-management.users.columns.md) | | any | Column definition, default to the UsersColumnConfig |
|
|
63
|
+
| [columns](./foundation-entity-management.users.columns.md) | | (ColDef<any> \| ColGroupDef<any>)\[\] | Column definition, default to the UsersColumnConfig |
|
|
64
64
|
| [createEvent](./foundation-entity-management.users.createevent.md) | | string | String which contains event if we have permission to insert user of empty string if not |
|
|
65
65
|
| [deleteEvent](./foundation-entity-management.users.deleteevent.md) | | string | String which contains event if we have permission to delete user of empty string if not |
|
|
66
66
|
| [enableSearchBar](./foundation-entity-management.users.enablesearchbar.md) | | boolean | This attribute controls whether to enable the search-bar. |
|
package/docs/api-report.md
CHANGED
|
@@ -7,6 +7,7 @@
|
|
|
7
7
|
import { Auth } from '@genesislcap/foundation-comms';
|
|
8
8
|
import { AvailableOption } from '@genesislcap/foundation-ui';
|
|
9
9
|
import { ColDef } from '@ag-grid-community/core';
|
|
10
|
+
import type { ColGroupDef } from '@ag-grid-community/core';
|
|
10
11
|
import { Connect } from '@genesislcap/foundation-comms';
|
|
11
12
|
import { Constructable } from '@microsoft/fast-element';
|
|
12
13
|
import { Container } from '@microsoft/fast-foundation';
|
|
@@ -21,11 +22,13 @@ import type { GridProCaseType } from '@genesislcap/grid-pro';
|
|
|
21
22
|
import { GridProRendererTypes } from '@genesislcap/foundation-zero-grid-pro';
|
|
22
23
|
import { LayoutCacheContainer } from '@genesislcap/foundation-utils';
|
|
23
24
|
import { Logger } from '@genesislcap/foundation-logger';
|
|
25
|
+
import type { Modal } from '@genesislcap/foundation-ui';
|
|
24
26
|
import { PartialFASTElementDefinition } from '@microsoft/fast-element';
|
|
25
27
|
import { RendererEntry } from '@genesislcap/foundation-forms';
|
|
26
28
|
import { RouterConfiguration } from '@microsoft/fast-router';
|
|
27
29
|
import { SelectedOption } from '@genesislcap/foundation-ui';
|
|
28
30
|
import { Session } from '@genesislcap/foundation-comms';
|
|
31
|
+
import { UiSchema } from '@genesislcap/foundation-forms';
|
|
29
32
|
import { ViewTemplate } from '@microsoft/fast-element';
|
|
30
33
|
|
|
31
34
|
// @public (undocumented)
|
|
@@ -58,22 +61,21 @@ export class EntityManagement extends EntityManagement_base {
|
|
|
58
61
|
createEntity(): void;
|
|
59
62
|
createEvent: string;
|
|
60
63
|
// (undocumented)
|
|
61
|
-
createFormUiSchema:
|
|
64
|
+
createFormUiSchema: UiSchema;
|
|
62
65
|
// (undocumented)
|
|
63
66
|
criteriaChanged(e: CustomEvent<string>): void;
|
|
64
67
|
datasourceConfig: DatasourceConfiguration;
|
|
65
68
|
deepClone(): Node;
|
|
66
|
-
|
|
67
|
-
defaultEntityValues: any;
|
|
69
|
+
defaultEntityValues: Record<string, unknown>;
|
|
68
70
|
// @internal
|
|
69
71
|
deleteEntity(e: CustomEvent): Promise<void>;
|
|
70
72
|
deleteEvent: string;
|
|
71
73
|
// (undocumented)
|
|
72
74
|
disconnectedCallback(): Promise<void>;
|
|
73
75
|
editDialogTitle: string;
|
|
74
|
-
editedEntity:
|
|
76
|
+
editedEntity: Record<string, unknown>;
|
|
75
77
|
// (undocumented)
|
|
76
|
-
editEntityModal:
|
|
78
|
+
editEntityModal: Modal;
|
|
77
79
|
// (undocumented)
|
|
78
80
|
editModalVisible: boolean;
|
|
79
81
|
// (undocumented)
|
|
@@ -90,7 +92,7 @@ export class EntityManagement extends EntityManagement_base {
|
|
|
90
92
|
// @internal
|
|
91
93
|
formResourceName: string;
|
|
92
94
|
// (undocumented)
|
|
93
|
-
formUiSchema:
|
|
95
|
+
formUiSchema: UiSchema;
|
|
94
96
|
gridOptions: GridOptions;
|
|
95
97
|
headerCaseType: GridProCaseType;
|
|
96
98
|
// (undocumented)
|
|
@@ -120,7 +122,7 @@ export class EntityManagement extends EntityManagement_base {
|
|
|
120
122
|
searchBarReqServer(options: SelectedOption<string>[]): void;
|
|
121
123
|
// (undocumented)
|
|
122
124
|
searchChanged(event: CustomEvent<Array<SelectedOption>>): void;
|
|
123
|
-
selectedEntity:
|
|
125
|
+
selectedEntity: Record<string, unknown>;
|
|
124
126
|
// (undocumented)
|
|
125
127
|
sizeColumnsToFit: boolean;
|
|
126
128
|
submitEntityChanges(e: CustomEvent): Promise<void>;
|
|
@@ -131,7 +133,7 @@ export class EntityManagement extends EntityManagement_base {
|
|
|
131
133
|
title: string;
|
|
132
134
|
updateEvent: string;
|
|
133
135
|
// (undocumented)
|
|
134
|
-
updateFormUiSchema:
|
|
136
|
+
updateFormUiSchema: UiSchema;
|
|
135
137
|
}
|
|
136
138
|
|
|
137
139
|
// @public
|
|
@@ -158,13 +160,11 @@ export class MainApplication extends FASTElement {
|
|
|
158
160
|
// (undocumented)
|
|
159
161
|
container: Container;
|
|
160
162
|
// (undocumented)
|
|
161
|
-
data: any;
|
|
162
|
-
// (undocumented)
|
|
163
163
|
loadRemotes(): Promise<void>;
|
|
164
164
|
// (undocumented)
|
|
165
165
|
onLuminanceToggle(): void;
|
|
166
166
|
// (undocumented)
|
|
167
|
-
provider:
|
|
167
|
+
provider: HTMLElement;
|
|
168
168
|
// (undocumented)
|
|
169
169
|
ready: boolean;
|
|
170
170
|
// (undocumented)
|
|
@@ -196,17 +196,19 @@ export class Profiles extends EntityManagement {
|
|
|
196
196
|
// @public @deprecated
|
|
197
197
|
export class Users extends Users_base {
|
|
198
198
|
constructor();
|
|
199
|
+
// Warning: (ae-forgotten-export) The symbol "AdditionalEntry" needs to be exported by the entry point index.d.ts
|
|
200
|
+
//
|
|
199
201
|
// (undocumented)
|
|
200
|
-
additionalCreateFields:
|
|
202
|
+
additionalCreateFields: AdditionalEntry[];
|
|
201
203
|
// (undocumented)
|
|
202
|
-
additionalUpdateFields:
|
|
204
|
+
additionalUpdateFields: AdditionalEntry[];
|
|
203
205
|
// (undocumented)
|
|
204
206
|
allAccessType: boolean;
|
|
205
207
|
// @internal
|
|
206
208
|
availableEntitiesEndpoint: string;
|
|
207
209
|
// @internal
|
|
208
210
|
changeStatus(params: any): Promise<void>;
|
|
209
|
-
columns: any;
|
|
211
|
+
columns: (ColDef<any> | ColGroupDef<any>)[];
|
|
210
212
|
// (undocumented)
|
|
211
213
|
connectedCallback(): Promise<void>;
|
|
212
214
|
createEvent: 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.194.
|
|
4
|
+
"version": "14.194.5",
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"license": "SEE LICENSE IN license.txt",
|
|
7
7
|
"main": "dist/esm/index.js",
|
|
@@ -52,29 +52,29 @@
|
|
|
52
52
|
}
|
|
53
53
|
},
|
|
54
54
|
"devDependencies": {
|
|
55
|
-
"@genesislcap/foundation-testing": "14.194.
|
|
56
|
-
"@genesislcap/genx": "14.194.
|
|
57
|
-
"@genesislcap/rollup-builder": "14.194.
|
|
58
|
-
"@genesislcap/ts-builder": "14.194.
|
|
59
|
-
"@genesislcap/uvu-playwright-builder": "14.194.
|
|
60
|
-
"@genesislcap/vite-builder": "14.194.
|
|
61
|
-
"@genesislcap/webpack-builder": "14.194.
|
|
55
|
+
"@genesislcap/foundation-testing": "14.194.5",
|
|
56
|
+
"@genesislcap/genx": "14.194.5",
|
|
57
|
+
"@genesislcap/rollup-builder": "14.194.5",
|
|
58
|
+
"@genesislcap/ts-builder": "14.194.5",
|
|
59
|
+
"@genesislcap/uvu-playwright-builder": "14.194.5",
|
|
60
|
+
"@genesislcap/vite-builder": "14.194.5",
|
|
61
|
+
"@genesislcap/webpack-builder": "14.194.5",
|
|
62
62
|
"rimraf": "^5.0.0"
|
|
63
63
|
},
|
|
64
64
|
"dependencies": {
|
|
65
65
|
"@ag-grid-community/core": "29.2.0",
|
|
66
|
-
"@genesislcap/foundation-comms": "14.194.
|
|
67
|
-
"@genesislcap/foundation-errors": "14.194.
|
|
68
|
-
"@genesislcap/foundation-events": "14.194.
|
|
69
|
-
"@genesislcap/foundation-forms": "14.194.
|
|
70
|
-
"@genesislcap/foundation-logger": "14.194.
|
|
71
|
-
"@genesislcap/foundation-login": "14.194.
|
|
72
|
-
"@genesislcap/foundation-notifications": "14.194.
|
|
73
|
-
"@genesislcap/foundation-ui": "14.194.
|
|
74
|
-
"@genesislcap/foundation-utils": "14.194.
|
|
75
|
-
"@genesislcap/foundation-zero": "14.194.
|
|
76
|
-
"@genesislcap/foundation-zero-grid-pro": "14.194.
|
|
77
|
-
"@genesislcap/grid-pro": "14.194.
|
|
66
|
+
"@genesislcap/foundation-comms": "14.194.5",
|
|
67
|
+
"@genesislcap/foundation-errors": "14.194.5",
|
|
68
|
+
"@genesislcap/foundation-events": "14.194.5",
|
|
69
|
+
"@genesislcap/foundation-forms": "14.194.5",
|
|
70
|
+
"@genesislcap/foundation-logger": "14.194.5",
|
|
71
|
+
"@genesislcap/foundation-login": "14.194.5",
|
|
72
|
+
"@genesislcap/foundation-notifications": "14.194.5",
|
|
73
|
+
"@genesislcap/foundation-ui": "14.194.5",
|
|
74
|
+
"@genesislcap/foundation-utils": "14.194.5",
|
|
75
|
+
"@genesislcap/foundation-zero": "14.194.5",
|
|
76
|
+
"@genesislcap/foundation-zero-grid-pro": "14.194.5",
|
|
77
|
+
"@genesislcap/grid-pro": "14.194.5",
|
|
78
78
|
"@microsoft/fast-components": "^2.30.6",
|
|
79
79
|
"@microsoft/fast-element": "^1.12.0",
|
|
80
80
|
"@microsoft/fast-foundation": "^2.49.4",
|
|
@@ -90,5 +90,5 @@
|
|
|
90
90
|
"access": "public"
|
|
91
91
|
},
|
|
92
92
|
"customElements": "dist/custom-elements.json",
|
|
93
|
-
"gitHead": "
|
|
93
|
+
"gitHead": "8aea4a0c66bba7965936dc85a795b08dbfdabf1d"
|
|
94
94
|
}
|
|
@@ -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) > [MainApplication](./foundation-entity-management.mainapplication.md) > [data](./foundation-entity-management.mainapplication.data.md)
|
|
4
|
-
|
|
5
|
-
## MainApplication.data property
|
|
6
|
-
|
|
7
|
-
**Signature:**
|
|
8
|
-
|
|
9
|
-
```typescript
|
|
10
|
-
data: any;
|
|
11
|
-
```
|