@genesislcap/foundation-entity-management 14.194.4 → 14.194.6

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 (33) hide show
  1. package/dist/custom-elements.json +30 -34
  2. package/dist/dts/entities/entities.d.ts +26 -10
  3. package/dist/dts/entities/entities.d.ts.map +1 -1
  4. package/dist/dts/main/main.d.ts +1 -2
  5. package/dist/dts/main/main.d.ts.map +1 -1
  6. package/dist/dts/profiles/editProfileSchema.d.ts +2 -18
  7. package/dist/dts/profiles/editProfileSchema.d.ts.map +1 -1
  8. package/dist/dts/types.d.ts +13 -0
  9. package/dist/dts/types.d.ts.map +1 -1
  10. package/dist/dts/users/users.d.ts +16 -20
  11. package/dist/dts/users/users.d.ts.map +1 -1
  12. package/dist/dts/users/users.template.d.ts.map +1 -1
  13. package/dist/esm/entities/entities.js +2 -2
  14. package/dist/esm/main/main.js +0 -4
  15. package/dist/foundation-entity-management.api.json +71 -53
  16. package/dist/foundation-entity-management.d.ts +55 -31
  17. package/docs/api/foundation-entity-management.entitymanagement.createformuischema.md +1 -1
  18. package/docs/api/foundation-entity-management.entitymanagement.defaultentityvalues.md +3 -1
  19. package/docs/api/foundation-entity-management.entitymanagement.editedentity.md +1 -1
  20. package/docs/api/foundation-entity-management.entitymanagement.editentitymodal.md +1 -1
  21. package/docs/api/foundation-entity-management.entitymanagement.formuischema.md +1 -1
  22. package/docs/api/foundation-entity-management.entitymanagement.md +7 -7
  23. package/docs/api/foundation-entity-management.entitymanagement.selectedentity.md +1 -1
  24. package/docs/api/foundation-entity-management.entitymanagement.updateformuischema.md +1 -1
  25. package/docs/api/foundation-entity-management.mainapplication.md +1 -2
  26. package/docs/api/foundation-entity-management.mainapplication.provider.md +1 -1
  27. package/docs/api/foundation-entity-management.users.additionalcreatefields.md +1 -1
  28. package/docs/api/foundation-entity-management.users.additionalupdatefields.md +1 -1
  29. package/docs/api/foundation-entity-management.users.columns.md +1 -1
  30. package/docs/api/foundation-entity-management.users.md +3 -3
  31. package/docs/api-report.md +16 -14
  32. package/package.json +21 -21
  33. package/docs/api/foundation-entity-management.mainapplication.data.md +0 -11
@@ -528,8 +528,9 @@
528
528
  "text": "createFormUiSchema: "
529
529
  },
530
530
  {
531
- "kind": "Content",
532
- "text": "any"
531
+ "kind": "Reference",
532
+ "text": "UiSchema",
533
+ "canonicalReference": "@genesislcap/foundation-forms!UiSchema:type"
533
534
  },
534
535
  {
535
536
  "kind": "Content",
@@ -667,15 +668,20 @@
667
668
  {
668
669
  "kind": "Property",
669
670
  "canonicalReference": "@genesislcap/foundation-entity-management!EntityManagement#defaultEntityValues:member",
670
- "docComment": "",
671
+ "docComment": "/**\n * The default values to populate the form with when the user is adding an entity\n *\n * @public\n */\n",
671
672
  "excerptTokens": [
672
673
  {
673
674
  "kind": "Content",
674
675
  "text": "defaultEntityValues: "
675
676
  },
677
+ {
678
+ "kind": "Reference",
679
+ "text": "Record",
680
+ "canonicalReference": "!Record:type"
681
+ },
676
682
  {
677
683
  "kind": "Content",
678
- "text": "any"
684
+ "text": "<string, unknown>"
679
685
  },
680
686
  {
681
687
  "kind": "Content",
@@ -688,7 +694,7 @@
688
694
  "name": "defaultEntityValues",
689
695
  "propertyTypeTokenRange": {
690
696
  "startIndex": 1,
691
- "endIndex": 2
697
+ "endIndex": 3
692
698
  },
693
699
  "isStatic": false,
694
700
  "isProtected": false,
@@ -799,9 +805,14 @@
799
805
  "kind": "Content",
800
806
  "text": "editedEntity: "
801
807
  },
808
+ {
809
+ "kind": "Reference",
810
+ "text": "Record",
811
+ "canonicalReference": "!Record:type"
812
+ },
802
813
  {
803
814
  "kind": "Content",
804
- "text": "any"
815
+ "text": "<string, unknown>"
805
816
  },
806
817
  {
807
818
  "kind": "Content",
@@ -814,7 +825,7 @@
814
825
  "name": "editedEntity",
815
826
  "propertyTypeTokenRange": {
816
827
  "startIndex": 1,
817
- "endIndex": 2
828
+ "endIndex": 3
818
829
  },
819
830
  "isStatic": false,
820
831
  "isProtected": false,
@@ -830,8 +841,9 @@
830
841
  "text": "editEntityModal: "
831
842
  },
832
843
  {
833
- "kind": "Content",
834
- "text": "any"
844
+ "kind": "Reference",
845
+ "text": "Modal",
846
+ "canonicalReference": "@genesislcap/foundation-ui!Modal:class"
835
847
  },
836
848
  {
837
849
  "kind": "Content",
@@ -1106,8 +1118,9 @@
1106
1118
  "text": "formUiSchema: "
1107
1119
  },
1108
1120
  {
1109
- "kind": "Content",
1110
- "text": "any"
1121
+ "kind": "Reference",
1122
+ "text": "UiSchema",
1123
+ "canonicalReference": "@genesislcap/foundation-forms!UiSchema:type"
1111
1124
  },
1112
1125
  {
1113
1126
  "kind": "Content",
@@ -1810,9 +1823,14 @@
1810
1823
  "kind": "Content",
1811
1824
  "text": "selectedEntity: "
1812
1825
  },
1826
+ {
1827
+ "kind": "Reference",
1828
+ "text": "Record",
1829
+ "canonicalReference": "!Record:type"
1830
+ },
1813
1831
  {
1814
1832
  "kind": "Content",
1815
- "text": "any"
1833
+ "text": "<string, unknown>"
1816
1834
  },
1817
1835
  {
1818
1836
  "kind": "Content",
@@ -1825,7 +1843,7 @@
1825
1843
  "name": "selectedEntity",
1826
1844
  "propertyTypeTokenRange": {
1827
1845
  "startIndex": 1,
1828
- "endIndex": 2
1846
+ "endIndex": 3
1829
1847
  },
1830
1848
  "isStatic": false,
1831
1849
  "isProtected": false,
@@ -2064,8 +2082,9 @@
2064
2082
  "text": "updateFormUiSchema: "
2065
2083
  },
2066
2084
  {
2067
- "kind": "Content",
2068
- "text": "any"
2085
+ "kind": "Reference",
2086
+ "text": "UiSchema",
2087
+ "canonicalReference": "@genesislcap/foundation-forms!UiSchema:type"
2069
2088
  },
2070
2089
  {
2071
2090
  "kind": "Content",
@@ -2291,36 +2310,6 @@
2291
2310
  "isProtected": false,
2292
2311
  "isAbstract": false
2293
2312
  },
2294
- {
2295
- "kind": "Property",
2296
- "canonicalReference": "@genesislcap/foundation-entity-management!MainApplication#data:member",
2297
- "docComment": "",
2298
- "excerptTokens": [
2299
- {
2300
- "kind": "Content",
2301
- "text": "data: "
2302
- },
2303
- {
2304
- "kind": "Content",
2305
- "text": "any"
2306
- },
2307
- {
2308
- "kind": "Content",
2309
- "text": ";"
2310
- }
2311
- ],
2312
- "isReadonly": false,
2313
- "isOptional": false,
2314
- "releaseTag": "Public",
2315
- "name": "data",
2316
- "propertyTypeTokenRange": {
2317
- "startIndex": 1,
2318
- "endIndex": 2
2319
- },
2320
- "isStatic": false,
2321
- "isProtected": false,
2322
- "isAbstract": false
2323
- },
2324
2313
  {
2325
2314
  "kind": "Method",
2326
2315
  "canonicalReference": "@genesislcap/foundation-entity-management!MainApplication#loadRemotes:member(1)",
@@ -2398,8 +2387,9 @@
2398
2387
  "text": "provider: "
2399
2388
  },
2400
2389
  {
2401
- "kind": "Content",
2402
- "text": "any"
2390
+ "kind": "Reference",
2391
+ "text": "HTMLElement",
2392
+ "canonicalReference": "!HTMLElement:interface"
2403
2393
  },
2404
2394
  {
2405
2395
  "kind": "Content",
@@ -2720,9 +2710,14 @@
2720
2710
  "kind": "Content",
2721
2711
  "text": "additionalCreateFields: "
2722
2712
  },
2713
+ {
2714
+ "kind": "Reference",
2715
+ "text": "AdditionalEntry",
2716
+ "canonicalReference": "@genesislcap/foundation-entity-management!~AdditionalEntry:type"
2717
+ },
2723
2718
  {
2724
2719
  "kind": "Content",
2725
- "text": "any"
2720
+ "text": "[]"
2726
2721
  },
2727
2722
  {
2728
2723
  "kind": "Content",
@@ -2735,7 +2730,7 @@
2735
2730
  "name": "additionalCreateFields",
2736
2731
  "propertyTypeTokenRange": {
2737
2732
  "startIndex": 1,
2738
- "endIndex": 2
2733
+ "endIndex": 3
2739
2734
  },
2740
2735
  "isStatic": false,
2741
2736
  "isProtected": false,
@@ -2750,9 +2745,14 @@
2750
2745
  "kind": "Content",
2751
2746
  "text": "additionalUpdateFields: "
2752
2747
  },
2748
+ {
2749
+ "kind": "Reference",
2750
+ "text": "AdditionalEntry",
2751
+ "canonicalReference": "@genesislcap/foundation-entity-management!~AdditionalEntry:type"
2752
+ },
2753
2753
  {
2754
2754
  "kind": "Content",
2755
- "text": "any"
2755
+ "text": "[]"
2756
2756
  },
2757
2757
  {
2758
2758
  "kind": "Content",
@@ -2765,7 +2765,7 @@
2765
2765
  "name": "additionalUpdateFields",
2766
2766
  "propertyTypeTokenRange": {
2767
2767
  "startIndex": 1,
2768
- "endIndex": 2
2768
+ "endIndex": 3
2769
2769
  },
2770
2770
  "isStatic": false,
2771
2771
  "isProtected": false,
@@ -2812,7 +2812,25 @@
2812
2812
  },
2813
2813
  {
2814
2814
  "kind": "Content",
2815
- "text": "any"
2815
+ "text": "("
2816
+ },
2817
+ {
2818
+ "kind": "Reference",
2819
+ "text": "ColDef",
2820
+ "canonicalReference": "@ag-grid-community/core!ColDef:interface"
2821
+ },
2822
+ {
2823
+ "kind": "Content",
2824
+ "text": "<any> | "
2825
+ },
2826
+ {
2827
+ "kind": "Reference",
2828
+ "text": "ColGroupDef",
2829
+ "canonicalReference": "@ag-grid-community/core!ColGroupDef:interface"
2830
+ },
2831
+ {
2832
+ "kind": "Content",
2833
+ "text": "<any>)[]"
2816
2834
  },
2817
2835
  {
2818
2836
  "kind": "Content",
@@ -2825,7 +2843,7 @@
2825
2843
  "name": "columns",
2826
2844
  "propertyTypeTokenRange": {
2827
2845
  "startIndex": 1,
2828
- "endIndex": 2
2846
+ "endIndex": 6
2829
2847
  },
2830
2848
  "isStatic": false,
2831
2849
  "isProtected": false,
@@ -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: any;
203
- createFormUiSchema: any;
204
- updateFormUiSchema: any;
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: any;
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: any;
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: any;
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: any;
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: any;
900
- additionalUpdateFields: any;
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;
@@ -7,5 +7,5 @@
7
7
  **Signature:**
8
8
 
9
9
  ```typescript
10
- createFormUiSchema: any;
10
+ createFormUiSchema: UiSchema;
11
11
  ```
@@ -4,8 +4,10 @@
4
4
 
5
5
  ## EntityManagement.defaultEntityValues property
6
6
 
7
+ The default values to populate the form with when the user is adding an entity
8
+
7
9
  **Signature:**
8
10
 
9
11
  ```typescript
10
- defaultEntityValues: any;
12
+ defaultEntityValues: Record<string, unknown>;
11
13
  ```
@@ -9,5 +9,5 @@ Disables the form while enabled to stop the user dispatching a large number of d
9
9
  **Signature:**
10
10
 
11
11
  ```typescript
12
- editedEntity: any;
12
+ editedEntity: Record<string, unknown>;
13
13
  ```
@@ -7,5 +7,5 @@
7
7
  **Signature:**
8
8
 
9
9
  ```typescript
10
- editEntityModal: any;
10
+ editEntityModal: Modal;
11
11
  ```
@@ -7,5 +7,5 @@
7
7
  **Signature:**
8
8
 
9
9
  ```typescript
10
- formUiSchema: any;
10
+ formUiSchema: UiSchema;
11
11
  ```
@@ -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) | | any | |
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) | | any | |
47
+ | [defaultEntityValues](./foundation-entity-management.entitymanagement.defaultentityvalues.md) | | Record&lt;string, unknown&gt; | 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) | | any | Disables the form while enabled to stop the user dispatching a large number of duplicate events |
51
- | [editEntityModal](./foundation-entity-management.entitymanagement.editentitymodal.md) | | any | |
50
+ | [editedEntity](./foundation-entity-management.entitymanagement.editedentity.md) | | Record&lt;string, unknown&gt; | 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) | | any | |
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&lt;[EntityManagement](./foundation-entity-management.entitymanagement.md)<!-- -->, any&gt; | |
@@ -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) | | any | Reference to the currently selected entity from the grid. |
74
+ | [selectedEntity](./foundation-entity-management.entitymanagement.selectedentity.md) | | Record&lt;string, unknown&gt; | 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) | | any | |
79
+ | [updateFormUiSchema](./foundation-entity-management.entitymanagement.updateformuischema.md) | | UiSchema | |
80
80
 
81
81
  ## Methods
82
82
 
@@ -9,7 +9,7 @@ Reference to the currently selected entity from the grid.
9
9
  **Signature:**
10
10
 
11
11
  ```typescript
12
- selectedEntity: any;
12
+ selectedEntity: Record<string, unknown>;
13
13
  ```
14
14
 
15
15
  ## Remarks
@@ -7,5 +7,5 @@
7
7
  **Signature:**
8
8
 
9
9
  ```typescript
10
- updateFormUiSchema: any;
10
+ updateFormUiSchema: UiSchema;
11
11
  ```
@@ -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
- | [data](./foundation-entity-management.mainapplication.data.md) | | any | |
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
 
@@ -7,5 +7,5 @@
7
7
  **Signature:**
8
8
 
9
9
  ```typescript
10
- provider: any;
10
+ provider: HTMLElement;
11
11
  ```
@@ -7,5 +7,5 @@
7
7
  **Signature:**
8
8
 
9
9
  ```typescript
10
- additionalCreateFields: any;
10
+ additionalCreateFields: AdditionalEntry[];
11
11
  ```
@@ -7,5 +7,5 @@
7
7
  **Signature:**
8
8
 
9
9
  ```typescript
10
- additionalUpdateFields: any;
10
+ additionalUpdateFields: AdditionalEntry[];
11
11
  ```
@@ -9,5 +9,5 @@ Column definition, default to the UsersColumnConfig
9
9
  **Signature:**
10
10
 
11
11
  ```typescript
12
- columns: any;
12
+ columns: (ColDef<any> | ColGroupDef<any>)[];
13
13
  ```
@@ -57,10 +57,10 @@ const userColumns = [
57
57
 
58
58
  | Property | Modifiers | Type | Description |
59
59
  | --- | --- | --- | --- |
60
- | [additionalCreateFields](./foundation-entity-management.users.additionalcreatefields.md) | | any | |
61
- | [additionalUpdateFields](./foundation-entity-management.users.additionalupdatefields.md) | | any | |
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&lt;any&gt; \| ColGroupDef&lt;any&gt;)\[\] | 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. |