@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.
- package/dist/custom-elements.json +30 -34
- 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
|
@@ -374,21 +374,21 @@
|
|
|
374
374
|
"kind": "field",
|
|
375
375
|
"name": "formUiSchema",
|
|
376
376
|
"type": {
|
|
377
|
-
"text": "
|
|
377
|
+
"text": "UiSchema"
|
|
378
378
|
}
|
|
379
379
|
},
|
|
380
380
|
{
|
|
381
381
|
"kind": "field",
|
|
382
382
|
"name": "createFormUiSchema",
|
|
383
383
|
"type": {
|
|
384
|
-
"text": "
|
|
384
|
+
"text": "UiSchema"
|
|
385
385
|
}
|
|
386
386
|
},
|
|
387
387
|
{
|
|
388
388
|
"kind": "field",
|
|
389
389
|
"name": "updateFormUiSchema",
|
|
390
390
|
"type": {
|
|
391
|
-
"text": "
|
|
391
|
+
"text": "UiSchema"
|
|
392
392
|
}
|
|
393
393
|
},
|
|
394
394
|
{
|
|
@@ -405,7 +405,7 @@
|
|
|
405
405
|
"kind": "field",
|
|
406
406
|
"name": "selectedEntity",
|
|
407
407
|
"type": {
|
|
408
|
-
"text": "
|
|
408
|
+
"text": "Record<string, unknown>"
|
|
409
409
|
},
|
|
410
410
|
"description": "Reference to the currently selected entity from the grid.",
|
|
411
411
|
"privacy": "public"
|
|
@@ -414,23 +414,25 @@
|
|
|
414
414
|
"kind": "field",
|
|
415
415
|
"name": "editedEntity",
|
|
416
416
|
"type": {
|
|
417
|
-
"text": "
|
|
417
|
+
"text": "Record<string, unknown>"
|
|
418
418
|
},
|
|
419
419
|
"description": "Disables the form while enabled to stop the user dispatching a large number of duplicate events",
|
|
420
420
|
"privacy": "public"
|
|
421
421
|
},
|
|
422
422
|
{
|
|
423
423
|
"kind": "field",
|
|
424
|
-
"name": "
|
|
424
|
+
"name": "defaultEntityValues",
|
|
425
425
|
"type": {
|
|
426
|
-
"text": "
|
|
427
|
-
}
|
|
426
|
+
"text": "Record<string, unknown>"
|
|
427
|
+
},
|
|
428
|
+
"description": "The default values to populate the form with when the user is adding an entity",
|
|
429
|
+
"privacy": "public"
|
|
428
430
|
},
|
|
429
431
|
{
|
|
430
432
|
"kind": "field",
|
|
431
|
-
"name": "
|
|
433
|
+
"name": "submitting",
|
|
432
434
|
"type": {
|
|
433
|
-
"text": "
|
|
435
|
+
"text": "boolean"
|
|
434
436
|
}
|
|
435
437
|
},
|
|
436
438
|
{
|
|
@@ -457,7 +459,7 @@
|
|
|
457
459
|
"kind": "field",
|
|
458
460
|
"name": "editEntityModal",
|
|
459
461
|
"type": {
|
|
460
|
-
"text": "
|
|
462
|
+
"text": "Modal"
|
|
461
463
|
},
|
|
462
464
|
"privacy": "public"
|
|
463
465
|
},
|
|
@@ -1520,7 +1522,7 @@
|
|
|
1520
1522
|
"kind": "field",
|
|
1521
1523
|
"name": "provider",
|
|
1522
1524
|
"type": {
|
|
1523
|
-
"text": "
|
|
1525
|
+
"text": "HTMLElement"
|
|
1524
1526
|
}
|
|
1525
1527
|
},
|
|
1526
1528
|
{
|
|
@@ -1531,14 +1533,6 @@
|
|
|
1531
1533
|
},
|
|
1532
1534
|
"default": "false"
|
|
1533
1535
|
},
|
|
1534
|
-
{
|
|
1535
|
-
"kind": "field",
|
|
1536
|
-
"name": "data",
|
|
1537
|
-
"type": {
|
|
1538
|
-
"text": "any"
|
|
1539
|
-
},
|
|
1540
|
-
"default": "null"
|
|
1541
|
-
},
|
|
1542
1536
|
{
|
|
1543
1537
|
"kind": "method",
|
|
1544
1538
|
"name": "onLuminanceToggle"
|
|
@@ -1590,7 +1584,7 @@
|
|
|
1590
1584
|
"kind": "variable",
|
|
1591
1585
|
"name": "editProfileFormSchema",
|
|
1592
1586
|
"type": {
|
|
1593
|
-
"text": "
|
|
1587
|
+
"text": "UiSchema"
|
|
1594
1588
|
},
|
|
1595
1589
|
"default": "{\n type: 'VerticalLayout',\n elements: [\n {\n type: 'Control',\n label: 'Name',\n scope: '#/properties/NAME',\n },\n {\n type: 'Control',\n label: 'Description',\n scope: '#/properties/DESCRIPTION',\n },\n {\n type: 'Control',\n label: 'Status',\n scope: '#/properties/STATUS',\n },\n {\n type: 'Control',\n label: 'Rights',\n scope: '#/properties/RIGHT_CODES',\n options: {\n allOptionsResourceName: 'RIGHT',\n valueField: 'CODE',\n labelField: 'CODE',\n },\n },\n {\n type: 'Control',\n label: 'Users',\n scope: '#/properties/USER_NAMES',\n options: {\n allOptionsResourceName: 'USER',\n valueField: 'USER_NAME',\n labelField: 'USER_NAME',\n },\n },\n ],\n}"
|
|
1596
1590
|
}
|
|
@@ -1690,7 +1684,7 @@
|
|
|
1690
1684
|
"kind": "field",
|
|
1691
1685
|
"name": "updateFormUiSchema",
|
|
1692
1686
|
"type": {
|
|
1693
|
-
"text": "
|
|
1687
|
+
"text": "UiSchema"
|
|
1694
1688
|
},
|
|
1695
1689
|
"default": "editProfileFormSchema",
|
|
1696
1690
|
"inheritedFrom": {
|
|
@@ -1702,7 +1696,7 @@
|
|
|
1702
1696
|
"kind": "field",
|
|
1703
1697
|
"name": "createFormUiSchema",
|
|
1704
1698
|
"type": {
|
|
1705
|
-
"text": "
|
|
1699
|
+
"text": "UiSchema"
|
|
1706
1700
|
},
|
|
1707
1701
|
"default": "editProfileFormSchema",
|
|
1708
1702
|
"inheritedFrom": {
|
|
@@ -1939,7 +1933,7 @@
|
|
|
1939
1933
|
"kind": "field",
|
|
1940
1934
|
"name": "formUiSchema",
|
|
1941
1935
|
"type": {
|
|
1942
|
-
"text": "
|
|
1936
|
+
"text": "UiSchema"
|
|
1943
1937
|
},
|
|
1944
1938
|
"inheritedFrom": {
|
|
1945
1939
|
"name": "EntityManagement",
|
|
@@ -1964,7 +1958,7 @@
|
|
|
1964
1958
|
"kind": "field",
|
|
1965
1959
|
"name": "selectedEntity",
|
|
1966
1960
|
"type": {
|
|
1967
|
-
"text": "
|
|
1961
|
+
"text": "Record<string, unknown>"
|
|
1968
1962
|
},
|
|
1969
1963
|
"description": "Reference to the currently selected entity from the grid.",
|
|
1970
1964
|
"privacy": "public",
|
|
@@ -1977,7 +1971,7 @@
|
|
|
1977
1971
|
"kind": "field",
|
|
1978
1972
|
"name": "editedEntity",
|
|
1979
1973
|
"type": {
|
|
1980
|
-
"text": "
|
|
1974
|
+
"text": "Record<string, unknown>"
|
|
1981
1975
|
},
|
|
1982
1976
|
"description": "Disables the form while enabled to stop the user dispatching a large number of duplicate events",
|
|
1983
1977
|
"privacy": "public",
|
|
@@ -1988,10 +1982,12 @@
|
|
|
1988
1982
|
},
|
|
1989
1983
|
{
|
|
1990
1984
|
"kind": "field",
|
|
1991
|
-
"name": "
|
|
1985
|
+
"name": "defaultEntityValues",
|
|
1992
1986
|
"type": {
|
|
1993
|
-
"text": "
|
|
1987
|
+
"text": "Record<string, unknown>"
|
|
1994
1988
|
},
|
|
1989
|
+
"description": "The default values to populate the form with when the user is adding an entity",
|
|
1990
|
+
"privacy": "public",
|
|
1995
1991
|
"inheritedFrom": {
|
|
1996
1992
|
"name": "EntityManagement",
|
|
1997
1993
|
"module": "src/entities/entities.ts"
|
|
@@ -1999,9 +1995,9 @@
|
|
|
1999
1995
|
},
|
|
2000
1996
|
{
|
|
2001
1997
|
"kind": "field",
|
|
2002
|
-
"name": "
|
|
1998
|
+
"name": "submitting",
|
|
2003
1999
|
"type": {
|
|
2004
|
-
"text": "
|
|
2000
|
+
"text": "boolean"
|
|
2005
2001
|
},
|
|
2006
2002
|
"inheritedFrom": {
|
|
2007
2003
|
"name": "EntityManagement",
|
|
@@ -2044,7 +2040,7 @@
|
|
|
2044
2040
|
"kind": "field",
|
|
2045
2041
|
"name": "editEntityModal",
|
|
2046
2042
|
"type": {
|
|
2047
|
-
"text": "
|
|
2043
|
+
"text": "Modal"
|
|
2048
2044
|
},
|
|
2049
2045
|
"privacy": "public",
|
|
2050
2046
|
"inheritedFrom": {
|
|
@@ -2748,7 +2744,7 @@
|
|
|
2748
2744
|
"kind": "field",
|
|
2749
2745
|
"name": "columns",
|
|
2750
2746
|
"type": {
|
|
2751
|
-
"text": "any"
|
|
2747
|
+
"text": "(ColDef<any> | ColGroupDef<any>)[]"
|
|
2752
2748
|
},
|
|
2753
2749
|
"default": "[\n {\n ...defaultColumnConfig,\n field: 'USER_NAME',\n headerName: 'Username',\n },\n {\n ...defaultColumnConfig,\n field: 'FIRST_NAME',\n headerName: 'First Name',\n },\n {\n ...defaultColumnConfig,\n field: 'LAST_NAME',\n headerName: 'Last Name',\n },\n {\n ...defaultColumnConfig,\n field: 'EMAIL_ADDRESS',\n headerName: 'Email',\n },\n {\n ...defaultColumnConfig,\n field: 'LAST_LOGIN',\n headerName: 'Last Login',\n valueFormatter: ({ value }) =>\n value\n ? new Intl.DateTimeFormat('default', {\n year: 'numeric',\n month: 'numeric',\n day: 'numeric',\n hour: 'numeric',\n minute: 'numeric',\n }).format(value)\n : '',\n },\n]",
|
|
2754
2750
|
"description": "Column definition, default to the UsersColumnConfig"
|
|
@@ -2757,7 +2753,7 @@
|
|
|
2757
2753
|
"kind": "field",
|
|
2758
2754
|
"name": "additionalCreateFields",
|
|
2759
2755
|
"type": {
|
|
2760
|
-
"text": "
|
|
2756
|
+
"text": "AdditionalEntry[]"
|
|
2761
2757
|
},
|
|
2762
2758
|
"default": "[]"
|
|
2763
2759
|
},
|
|
@@ -2765,7 +2761,7 @@
|
|
|
2765
2761
|
"kind": "field",
|
|
2766
2762
|
"name": "additionalUpdateFields",
|
|
2767
2763
|
"type": {
|
|
2768
|
-
"text": "
|
|
2764
|
+
"text": "AdditionalEntry[]"
|
|
2769
2765
|
},
|
|
2770
2766
|
"default": "[]"
|
|
2771
2767
|
},
|
|
@@ -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,MAAM,uBAAuB,GAAG,IAAI,CAAC,iBAAiB,EAAE,cAAc,CAAC,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kCA0J5E;;;OAGG;;;;;;;;;;;;;;;;;;;;;;;;;;sCAuCH;;;OAGG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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AC,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,MAAM,EAAE,WAAW,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AAIhF,OAAO,EAAE,oBAAoB,EAAE,MAAM,uCAAuC,CAAC;AAC7E,OAAO,EAAiC,WAAW,EAAc,MAAM,yBAAyB,CAAC;AACjG,OAAO,EAAE,uBAAuB,EAAE,MAAM,aAAa,CAAC;AACtD,OAAO,EAAE,eAAe,EAAE,MAAM,UAAU,CAAC;AAQ3C;;;;;;;GAOG;AACH,eAAO,MAAM,iBAAiB;;;;;;;;;;;IAoC7B,CAAC;;;;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B;;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,
|