@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,7 +1,9 @@
|
|
|
1
1
|
import { ColDef, GridOptions } from '@ag-grid-community/core';
|
|
2
2
|
import { Connect, DatasourceOptions } from '@genesislcap/foundation-comms';
|
|
3
3
|
import { RendererEntry } from '@genesislcap/foundation-forms';
|
|
4
|
+
import type { UiSchema } from '@genesislcap/foundation-forms';
|
|
4
5
|
import { AvailableOption, SelectedOption } from '@genesislcap/foundation-ui';
|
|
6
|
+
import type { Modal } from '@genesislcap/foundation-ui';
|
|
5
7
|
import type { GridProCaseType } from '@genesislcap/grid-pro';
|
|
6
8
|
import { FASTElement } from '@microsoft/fast-element';
|
|
7
9
|
/**
|
|
@@ -72,7 +74,10 @@ declare const EntityManagement_base: (new (...args: any[]) => {
|
|
|
72
74
|
readonly clientHeight: number;
|
|
73
75
|
readonly clientLeft: number;
|
|
74
76
|
readonly clientTop: number;
|
|
75
|
-
readonly clientWidth: number;
|
|
77
|
+
readonly clientWidth: number; /**
|
|
78
|
+
* Array which holds the column definitions.
|
|
79
|
+
* @public
|
|
80
|
+
*/
|
|
76
81
|
id: string;
|
|
77
82
|
readonly localName: string;
|
|
78
83
|
readonly namespaceURI: string;
|
|
@@ -98,7 +103,10 @@ declare const EntityManagement_base: (new (...args: any[]) => {
|
|
|
98
103
|
getAttributeNames(): string[];
|
|
99
104
|
getAttributeNode(qualifiedName: string): Attr;
|
|
100
105
|
getAttributeNodeNS(namespace: string, localName: string): Attr;
|
|
101
|
-
getBoundingClientRect(): DOMRect;
|
|
106
|
+
getBoundingClientRect(): DOMRect; /**
|
|
107
|
+
* Disables the form while enabled to stop the user dispatching a large number of duplicate events
|
|
108
|
+
* @public
|
|
109
|
+
*/
|
|
102
110
|
getClientRects(): DOMRectList;
|
|
103
111
|
getElementsByClassName(classNames: string): HTMLCollectionOf<Element>;
|
|
104
112
|
getElementsByTagName<K_4 extends keyof HTMLElementTagNameMap>(qualifiedName: K_4): HTMLCollectionOf<HTMLElementTagNameMap[K_4]>;
|
|
@@ -226,7 +234,11 @@ declare const EntityManagement_base: (new (...args: any[]) => {
|
|
|
226
234
|
after(...nodes: (string | Node)[]): void;
|
|
227
235
|
before(...nodes: (string | Node)[]): void;
|
|
228
236
|
remove(): void;
|
|
229
|
-
replaceWith(...nodes: (string | Node)[]): void;
|
|
237
|
+
replaceWith(...nodes: (string | Node)[]): void; /**
|
|
238
|
+
* Show the entity create form
|
|
239
|
+
* Sets the initial value on the form to be defaultEntityValues if present.
|
|
240
|
+
* @internal
|
|
241
|
+
*/
|
|
230
242
|
innerHTML: string;
|
|
231
243
|
readonly nextElementSibling: Element;
|
|
232
244
|
readonly previousElementSibling: Element;
|
|
@@ -501,9 +513,9 @@ export declare class EntityManagement extends EntityManagement_base {
|
|
|
501
513
|
* @public
|
|
502
514
|
*/
|
|
503
515
|
datasourceConfig: DatasourceConfiguration;
|
|
504
|
-
formUiSchema:
|
|
505
|
-
createFormUiSchema:
|
|
506
|
-
updateFormUiSchema:
|
|
516
|
+
formUiSchema: UiSchema;
|
|
517
|
+
createFormUiSchema: UiSchema;
|
|
518
|
+
updateFormUiSchema: UiSchema;
|
|
507
519
|
/**
|
|
508
520
|
* The name of the resource in the backend to interact with when dispatching actions from the update/create modal
|
|
509
521
|
* @internal
|
|
@@ -522,21 +534,25 @@ export declare class EntityManagement extends EntityManagement_base {
|
|
|
522
534
|
* 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
|
|
523
535
|
* @public
|
|
524
536
|
*/
|
|
525
|
-
selectedEntity:
|
|
537
|
+
selectedEntity: Record<string, unknown>;
|
|
526
538
|
/**
|
|
527
539
|
* Disables the form while enabled to stop the user dispatching a large number of duplicate events
|
|
528
540
|
* @public
|
|
529
541
|
*/
|
|
530
|
-
editedEntity:
|
|
542
|
+
editedEntity: Record<string, unknown>;
|
|
543
|
+
/**
|
|
544
|
+
* The default values to populate the form with when the user is adding an entity
|
|
545
|
+
* @public
|
|
546
|
+
*/
|
|
547
|
+
defaultEntityValues: Record<string, unknown>;
|
|
531
548
|
submitting: boolean;
|
|
532
|
-
defaultEntityValues: any;
|
|
533
549
|
/**
|
|
534
550
|
* String which contains the text of the popup modal when the user is adding or editing an entity
|
|
535
551
|
*/
|
|
536
552
|
editDialogTitle: string;
|
|
537
553
|
editModalVisible: boolean;
|
|
538
554
|
editModalVisibleChanged(): void;
|
|
539
|
-
editEntityModal:
|
|
555
|
+
editEntityModal: Modal;
|
|
540
556
|
sizeColumnsToFit: boolean;
|
|
541
557
|
enableFilterBar: boolean;
|
|
542
558
|
hideEdit: boolean;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"entities.d.ts","sourceRoot":"","sources":["../../../src/entities/entities.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AAC9D,OAAO,EACL,OAAO,EACP,iBAAiB,EAGlB,MAAM,+BAA+B,CAAC;AACvC,OAAO,EAAa,aAAa,EAAE,MAAM,+BAA+B,CAAC;
|
|
1
|
+
{"version":3,"file":"entities.d.ts","sourceRoot":"","sources":["../../../src/entities/entities.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AAC9D,OAAO,EACL,OAAO,EACP,iBAAiB,EAGlB,MAAM,+BAA+B,CAAC;AACvC,OAAO,EAAa,aAAa,EAAE,MAAM,+BAA+B,CAAC;AACzE,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,+BAA+B,CAAC;AAE9D,OAAO,EACL,eAAe,EAGf,cAAc,EACf,MAAM,4BAA4B,CAAC;AACpC,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,4BAA4B,CAAC;AAExD,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAC;AAC7D,OAAO,EAIL,WAAW,EAGZ,MAAM,yBAAyB,CAAC;AAKjC;;;;;;;;;;;;;;;;;;;GAmBG;AACH,MAAM,M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,IAAI,OAAO,CAAC,IAAI,CAAC;IAS3C;;;OAGG;YACW,yBAAyB;IAyBvC;;;OAGG;IACM,SAAS,IAAI,IAAI;IA4B1B;;;;;;;OAOG;IACU,mBAAmB,CAAC,CAAC,EAAE,WAAW;IAI/C;;;;;OAKG;IACH,OAAO,CAAC,YAAY,CAElB;IAEF;;;;OAIG;IACI,YAAY;IASnB;;;;;OAKG;YACW,UAAU;IA4BxB,OAAO,CAAC,UAAU;IAMX,UAAU;IAKjB,IACI,eAAe,0EAElB;IAEM,aAAa,CAAC,KAAK,EAAE,WAAW,CAAC,KAAK,CAAC,cAAc,CAAC,CAAC;IAe9D,kBAAkB,CAAC,OAAO,EAAE,cAAc,CAAC,MAAM,CAAC,EAAE;IAKpD,mBAAmB,CAAC,OAAO,EAAE,cAAc,CAAC,MAAM,CAAC,EAAE;IAiB9C,cAAc,CAAC,CAAC,EAAE,WAAW,CAAC,MAAM,CAAC;IAIrC,eAAe,CAAC,CAAC,EAAE,WAAW,CAAC,MAAM,CAAC;IAItC,yBAAyB,CAAC,CAAC,EAAE,WAAW;IAgC/C;;;;;OAKG;IACG,YAAY,CAAC,CAAC,EAAE,WAAW;IAK3B,aAAa;IAoBnB,OAAO,CAAC,sBAAsB;IAc9B;;;OAGG;IACI,WAAW,CAAC,OAAO,KAAA;CAkB3B"}
|
package/dist/dts/main/main.d.ts
CHANGED
|
@@ -10,9 +10,8 @@ export declare class MainApplication extends FASTElement {
|
|
|
10
10
|
connect: Connect;
|
|
11
11
|
session: Session;
|
|
12
12
|
container: Container;
|
|
13
|
-
provider:
|
|
13
|
+
provider: HTMLElement;
|
|
14
14
|
ready: boolean;
|
|
15
|
-
data: any;
|
|
16
15
|
connectedCallback(): void;
|
|
17
16
|
onLuminanceToggle(): void;
|
|
18
17
|
loadRemotes(): Promise<void>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"main.d.ts","sourceRoot":"","sources":["../../../src/main/main.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,OAAO,EAGP,OAAO,EAER,MAAM,+BAA+B,CAAC;AAEvC,OAAO,EAAE,WAAW,EAA6B,MAAM,yBAAyB,CAAC;AACjF,OAAO,EAAE,SAAS,EAAwB,MAAM,4BAA4B,CAAC;AAG7E,OAAO,EAAE,gBAAgB,EAAE,MAAM,WAAW,CAAC;AAM7C;;GAEG;AACH,qBAKa,eAAgB,SAAQ,WAAW;IACpB,MAAM,EAAG,gBAAgB,CAAC;IAC3C,OAAO,EAAG,OAAO,CAAC;IAClB,OAAO,EAAG,OAAO,CAAC;IAChB,SAAS,EAAG,SAAS,CAAC;IACrB,QAAQ,EAAG,
|
|
1
|
+
{"version":3,"file":"main.d.ts","sourceRoot":"","sources":["../../../src/main/main.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,OAAO,EAGP,OAAO,EAER,MAAM,+BAA+B,CAAC;AAEvC,OAAO,EAAE,WAAW,EAA6B,MAAM,yBAAyB,CAAC;AACjF,OAAO,EAAE,SAAS,EAAwB,MAAM,4BAA4B,CAAC;AAG7E,OAAO,EAAE,gBAAgB,EAAE,MAAM,WAAW,CAAC;AAM7C;;GAEG;AACH,qBAKa,eAAgB,SAAQ,WAAW;IACpB,MAAM,EAAG,gBAAgB,CAAC;IAC3C,OAAO,EAAG,OAAO,CAAC;IAClB,OAAO,EAAG,OAAO,CAAC;IAChB,SAAS,EAAG,SAAS,CAAC;IACrB,QAAQ,EAAG,WAAW,CAAC;IACvB,KAAK,EAAE,OAAO,CAAS;IAEnC,iBAAiB;IAOjB,iBAAiB;IASX,WAAW;IAKjB,cAAc;IAId,OAAO,CAAC,sBAAsB;CA6B/B"}
|
|
@@ -1,19 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
elements: ({
|
|
4
|
-
type: string;
|
|
5
|
-
label: string;
|
|
6
|
-
scope: string;
|
|
7
|
-
options?: undefined;
|
|
8
|
-
} | {
|
|
9
|
-
type: string;
|
|
10
|
-
label: string;
|
|
11
|
-
scope: string;
|
|
12
|
-
options: {
|
|
13
|
-
allOptionsResourceName: string;
|
|
14
|
-
valueField: string;
|
|
15
|
-
labelField: string;
|
|
16
|
-
};
|
|
17
|
-
})[];
|
|
18
|
-
};
|
|
1
|
+
import type { UiSchema } from '@genesislcap/foundation-forms';
|
|
2
|
+
export declare const editProfileFormSchema: UiSchema;
|
|
19
3
|
//# sourceMappingURL=editProfileSchema.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"editProfileSchema.d.ts","sourceRoot":"","sources":["../../../src/profiles/editProfileSchema.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,qBAAqB
|
|
1
|
+
{"version":3,"file":"editProfileSchema.d.ts","sourceRoot":"","sources":["../../../src/profiles/editProfileSchema.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,+BAA+B,CAAC;AAE9D,eAAO,MAAM,qBAAqB,EAAE,QAuCnC,CAAC"}
|
package/dist/dts/types.d.ts
CHANGED
|
@@ -1,3 +1,16 @@
|
|
|
1
|
+
import { UiSchema } from '@genesislcap/foundation-forms';
|
|
1
2
|
export declare const RESOURCE_NAME: import("@microsoft/fast-foundation").InterfaceSymbol<string>;
|
|
2
3
|
export declare const ENTITY_NAME: import("@microsoft/fast-foundation").InterfaceSymbol<string>;
|
|
4
|
+
export type AdditionalEntry = string | UiSchema | {
|
|
5
|
+
type: 'Control';
|
|
6
|
+
scope: string;
|
|
7
|
+
label?: string;
|
|
8
|
+
options?: {
|
|
9
|
+
readonly?: boolean;
|
|
10
|
+
hidden?: boolean;
|
|
11
|
+
allOptionsResourceName?: string;
|
|
12
|
+
valueField?: string;
|
|
13
|
+
labelField?: string;
|
|
14
|
+
};
|
|
15
|
+
};
|
|
3
16
|
//# sourceMappingURL=types.d.ts.map
|
package/dist/dts/types.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/types.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,+BAA+B,CAAC;AAGzD,eAAO,MAAM,aAAa,8DAA6C,CAAC;AACxE,eAAO,MAAM,WAAW,8DAA2C,CAAC;AAEpE,MAAM,MAAM,eAAe,GACvB,MAAM,GACN,QAAQ,GACR;IACE,IAAI,EAAE,SAAS,CAAC;IAChB,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,OAAO,CAAC,EAAE;QACR,QAAQ,CAAC,EAAE,OAAO,CAAC;QACnB,MAAM,CAAC,EAAE,OAAO,CAAC;QACjB,sBAAsB,CAAC,EAAE,MAAM,CAAC;QAChC,UAAU,CAAC,EAAE,MAAM,CAAC;QACpB,UAAU,CAAC,EAAE,MAAM,CAAC;KACrB,CAAC;CACH,CAAC"}
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
import { GridOptions } from '@ag-grid-community/core';
|
|
1
|
+
import type { ColDef, ColGroupDef, GridOptions } from '@ag-grid-community/core';
|
|
2
2
|
import { GridProRendererTypes } from '@genesislcap/foundation-zero-grid-pro';
|
|
3
3
|
import { FASTElement } from '@microsoft/fast-element';
|
|
4
4
|
import { DatasourceConfiguration } from '../entities';
|
|
5
|
+
import { AdditionalEntry } from '../types';
|
|
5
6
|
/**
|
|
6
7
|
* Defines the default columns which are present on the user management component
|
|
7
8
|
*
|
|
@@ -54,6 +55,10 @@ declare const Users_base: (new (...args: any[]) => {
|
|
|
54
55
|
readonly offsetTop: number;
|
|
55
56
|
readonly offsetWidth: number;
|
|
56
57
|
outerText: string;
|
|
58
|
+
/**
|
|
59
|
+
* GridOptions to be passed down from application
|
|
60
|
+
* @public
|
|
61
|
+
*/
|
|
57
62
|
spellcheck: boolean;
|
|
58
63
|
title: string;
|
|
59
64
|
translate: boolean;
|
|
@@ -61,19 +66,7 @@ declare const Users_base: (new (...args: any[]) => {
|
|
|
61
66
|
click(): void;
|
|
62
67
|
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
63
68
|
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
64
|
-
/**
|
|
65
|
-
* Returns the config for an entity column if the entityID attribute is defined
|
|
66
|
-
*
|
|
67
|
-
* @returns Config for an entity column if the entityID is defined, else an empty array
|
|
68
|
-
* @internal
|
|
69
|
-
*/
|
|
70
69
|
removeEventListener<K_1 extends keyof HTMLElementEventMap>(type: K_1, listener: (this: HTMLElement, ev: HTMLElementEventMap[K_1]) => any, options?: boolean | EventListenerOptions): void;
|
|
71
|
-
/**
|
|
72
|
-
* Returns the config for an entity column if the entityID attribute is defined
|
|
73
|
-
*
|
|
74
|
-
* @returns Config for an entity column if the entityID is defined, else an empty array
|
|
75
|
-
* @internal
|
|
76
|
-
*/
|
|
77
70
|
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
78
71
|
readonly attributes: NamedNodeMap;
|
|
79
72
|
readonly classList: DOMTokenList;
|
|
@@ -96,6 +89,9 @@ declare const Users_base: (new (...args: any[]) => {
|
|
|
96
89
|
scrollTop: number;
|
|
97
90
|
readonly scrollWidth: number;
|
|
98
91
|
readonly shadowRoot: ShadowRoot;
|
|
92
|
+
/**
|
|
93
|
+
* String which contains event if we have permission to update user of empty string if not
|
|
94
|
+
*/
|
|
99
95
|
slot: string;
|
|
100
96
|
readonly tagName: string;
|
|
101
97
|
attachShadow(init: ShadowRootInit): ShadowRoot;
|
|
@@ -140,7 +136,10 @@ declare const Users_base: (new (...args: any[]) => {
|
|
|
140
136
|
setAttribute(qualifiedName: string, value: string): void;
|
|
141
137
|
setAttributeNS(namespace: string, qualifiedName: string, value: string): void;
|
|
142
138
|
setAttributeNode(attr: Attr): Attr;
|
|
143
|
-
setAttributeNodeNS(attr: Attr): Attr;
|
|
139
|
+
setAttributeNodeNS(attr: Attr): Attr; /**
|
|
140
|
+
* Used as the callback function in {@link Users.statusColumn}
|
|
141
|
+
* @internal
|
|
142
|
+
*/
|
|
144
143
|
setPointerCapture(pointerId: number): void;
|
|
145
144
|
toggleAttribute(qualifiedName: string, force?: boolean): boolean;
|
|
146
145
|
webkitMatchesSelector(selectors: string): boolean;
|
|
@@ -173,9 +172,6 @@ declare const Users_base: (new (...args: any[]) => {
|
|
|
173
172
|
replaceChild<T_4 extends Node>(node: Node, child: T_4): T_4;
|
|
174
173
|
readonly ATTRIBUTE_NODE: number;
|
|
175
174
|
readonly CDATA_SECTION_NODE: number;
|
|
176
|
-
/**
|
|
177
|
-
* @internal
|
|
178
|
-
*/
|
|
179
175
|
readonly COMMENT_NODE: number;
|
|
180
176
|
readonly DOCUMENT_FRAGMENT_NODE: number;
|
|
181
177
|
readonly DOCUMENT_NODE: number;
|
|
@@ -496,9 +492,9 @@ export declare class Users extends Users_base {
|
|
|
496
492
|
/**
|
|
497
493
|
* Column definition, default to the UsersColumnConfig
|
|
498
494
|
*/
|
|
499
|
-
columns: any;
|
|
500
|
-
additionalCreateFields:
|
|
501
|
-
additionalUpdateFields:
|
|
495
|
+
columns: (ColDef<any> | ColGroupDef<any>)[];
|
|
496
|
+
additionalCreateFields: AdditionalEntry[];
|
|
497
|
+
additionalUpdateFields: AdditionalEntry[];
|
|
502
498
|
allAccessType: boolean;
|
|
503
499
|
private entityIdValue;
|
|
504
500
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"users.d.ts","sourceRoot":"","sources":["../../../src/users/users.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;
|
|
1
|
+
{"version":3,"file":"users.d.ts","sourceRoot":"","sources":["../../../src/users/users.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,M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AAW,CAAC;IAErC;;;;;OAKG;IACI,YAAY;;;;;;;;;IAYnB;;;;;OAKG;IACI,YAAY;;;;;IAYnB;;OAEG;IACS,OAAO,EAAE,CAAC,MAAM,CAAC,GAAG,CAAC,GAAG,WAAW,CAAC,GAAG,CAAC,CAAC,EAAE,CAAqB;IAEhE,sBAAsB,EAAE,eAAe,EAAE,CAAM;IAC/C,sBAAsB,EAAE,eAAe,EAAE,CAAM;IAE/C,aAAa,EAAE,OAAO,CAAC;IACnC,OAAO,CAAC,aAAa,CAAS;IAE9B;;OAEG;IACS,WAAW,EAAE,MAAM,CAAC;IAEhC;;OAEG;IACS,WAAW,EAAE,MAAM,CAAC;IAEhC;;OAEG;IACS,WAAW,EAAE,MAAM,CAAC;IAEhC;;;OAGG;IACG,QAAQ,EAAE,MAAM,CAAqB;IAE3C;;;OAGG;IACG,cAAc,EAAE,MAAM,CAAU;IAEtC;;;OAGG;IACG,WAAW,EAAE,MAAM,CAAkB;IAE3C;;;OAGG;IACG,yBAAyB,EAAE,MAAM,CAAuB;IAE9D;;OAEG;;IAaG,iBAAiB;IAgBjB,oBAAoB,IAAI,OAAO,CAAC,IAAI,CAAC;IASlC,SAAS,IAAI,IAAI;IAe1B;;;OAGG;IACH,sBAAsB,CAAC,MAAM,KAAA;;;;;;;;IAW7B;;;;;;;;OAQG;IACG,YAAY,CAAC,MAAM,KAAA;IAoCzB;;OAEG;IACG,YAAY,CAAC,IAAI,KAAA;;;;;;;;;;;;;;;CAwBxB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"users.template.d.ts","sourceRoot":"","sources":["../../../src/users/users.template.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"users.template.d.ts","sourceRoot":"","sources":["../../../src/users/users.template.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAoFrC,eAAO,MAAM,gBAAgB,6EAoC5B,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,aAAa,4DAEzB,CAAC"}
|
|
@@ -502,10 +502,10 @@ __decorate([
|
|
|
502
502
|
], EntityManagement.prototype, "editedEntity", void 0);
|
|
503
503
|
__decorate([
|
|
504
504
|
observable
|
|
505
|
-
], EntityManagement.prototype, "
|
|
505
|
+
], EntityManagement.prototype, "defaultEntityValues", void 0);
|
|
506
506
|
__decorate([
|
|
507
507
|
observable
|
|
508
|
-
], EntityManagement.prototype, "
|
|
508
|
+
], EntityManagement.prototype, "submitting", void 0);
|
|
509
509
|
__decorate([
|
|
510
510
|
observable
|
|
511
511
|
], EntityManagement.prototype, "editDialogTitle", void 0);
|
package/dist/esm/main/main.js
CHANGED
|
@@ -16,7 +16,6 @@ let MainApplication = class MainApplication extends FASTElement {
|
|
|
16
16
|
constructor() {
|
|
17
17
|
super(...arguments);
|
|
18
18
|
this.ready = false;
|
|
19
|
-
this.data = null;
|
|
20
19
|
}
|
|
21
20
|
connectedCallback() {
|
|
22
21
|
this.registerDIDependencies();
|
|
@@ -72,9 +71,6 @@ __decorate([
|
|
|
72
71
|
__decorate([
|
|
73
72
|
observable
|
|
74
73
|
], MainApplication.prototype, "ready", void 0);
|
|
75
|
-
__decorate([
|
|
76
|
-
observable
|
|
77
|
-
], MainApplication.prototype, "data", void 0);
|
|
78
74
|
MainApplication = __decorate([
|
|
79
75
|
customElement({
|
|
80
76
|
name,
|
|
@@ -528,8 +528,9 @@
|
|
|
528
528
|
"text": "createFormUiSchema: "
|
|
529
529
|
},
|
|
530
530
|
{
|
|
531
|
-
"kind": "
|
|
532
|
-
"text": "
|
|
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": "
|
|
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":
|
|
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": "
|
|
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":
|
|
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": "
|
|
834
|
-
"text": "
|
|
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": "
|
|
1110
|
-
"text": "
|
|
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": "
|
|
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":
|
|
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": "
|
|
2068
|
-
"text": "
|
|
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": "
|
|
2402
|
-
"text": "
|
|
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": "
|
|
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":
|
|
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": "
|
|
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":
|
|
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": "
|
|
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":
|
|
2846
|
+
"endIndex": 6
|
|
2829
2847
|
},
|
|
2830
2848
|
"isStatic": false,
|
|
2831
2849
|
"isProtected": false,
|