@genesislcap/foundation-entity-management 14.144.1 → 14.145.0
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 +69 -60
- package/dist/dts/entities/entities.d.ts.map +1 -1
- package/dist/dts/users/users.d.ts +7 -22
- 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 +1 -0
- package/dist/esm/users/users.js +4 -0
- package/dist/esm/users/users.template.js +1 -0
- package/dist/foundation-entity-management.api.json +31 -0
- package/dist/foundation-entity-management.d.ts +6 -22
- package/docs/api/foundation-entity-management.users.gridoptions.md +13 -0
- package/docs/api/foundation-entity-management.users.md +1 -0
- package/docs/api-report.md +1 -0
- package/package.json +16 -16
|
@@ -2383,7 +2383,7 @@
|
|
|
2383
2383
|
"type": {
|
|
2384
2384
|
"text": "ViewTemplate"
|
|
2385
2385
|
},
|
|
2386
|
-
"default": "html<Users>`\n <entity-management\n resourceName=${(x) => x.resourceName}\n title=\"User Management\"\n entityLabel=\"User\"\n createEvent=\"${(x) => x.createEvent}\"\n :readEventFn=${(x) => (user) => x.readUserData(user)}\n updateEvent=\"${(x) => x.updateEvent}\"\n deleteEvent=\"${(x) => x.deleteEvent}\"\n entityLabel=\"User Details\"\n :updateFormUiSchema=${(x) =>\n editUserSchema(\n true,\n x.allAccessType,\n x.entityID,\n x.entityLabel,\n x.entityLabelKey,\n x.availableEntitiesEndpoint,\n x.additionalUpdateFields,\n )}\n :createFormUiSchema=${(x) =>\n editUserSchema(\n false,\n x.allAccessType,\n x.entityID,\n x.entityLabel,\n x.entityLabelKey,\n x.availableEntitiesEndpoint,\n x.additionalCreateFields,\n )}\n persist-column-state-key=${(x) => x.persistColumnStateKey}\n size-columns-to-fit\n :columns=${(x) => [...x.columns, ...x.entityColumn(), x.statusColumn()]}\n :datasourceConfig=${(x) => x.datasourceConfig}\n ></entity-management>\n`"
|
|
2386
|
+
"default": "html<Users>`\n <entity-management\n resourceName=${(x) => x.resourceName}\n title=\"User Management\"\n :gridOptions=${(x) => x.gridOptions}\n entityLabel=\"User\"\n createEvent=\"${(x) => x.createEvent}\"\n :readEventFn=${(x) => (user) => x.readUserData(user)}\n updateEvent=\"${(x) => x.updateEvent}\"\n deleteEvent=\"${(x) => x.deleteEvent}\"\n entityLabel=\"User Details\"\n :updateFormUiSchema=${(x) =>\n editUserSchema(\n true,\n x.allAccessType,\n x.entityID,\n x.entityLabel,\n x.entityLabelKey,\n x.availableEntitiesEndpoint,\n x.additionalUpdateFields,\n )}\n :createFormUiSchema=${(x) =>\n editUserSchema(\n false,\n x.allAccessType,\n x.entityID,\n x.entityLabel,\n x.entityLabelKey,\n x.availableEntitiesEndpoint,\n x.additionalCreateFields,\n )}\n persist-column-state-key=${(x) => x.persistColumnStateKey}\n size-columns-to-fit\n :columns=${(x) => [...x.columns, ...x.entityColumn(), x.statusColumn()]}\n :datasourceConfig=${(x) => x.datasourceConfig}\n ></entity-management>\n`"
|
|
2387
2387
|
}
|
|
2388
2388
|
],
|
|
2389
2389
|
"exports": [
|
|
@@ -2426,6 +2426,15 @@
|
|
|
2426
2426
|
"description": "This attribute controls whether and how the user manager stores the state of the columns when the user edits them. Defaulted to `entity_users_management`.",
|
|
2427
2427
|
"privacy": "public"
|
|
2428
2428
|
},
|
|
2429
|
+
{
|
|
2430
|
+
"kind": "field",
|
|
2431
|
+
"name": "gridOptions",
|
|
2432
|
+
"type": {
|
|
2433
|
+
"text": "GridOptions"
|
|
2434
|
+
},
|
|
2435
|
+
"description": "GridOptions to be passed down from application",
|
|
2436
|
+
"privacy": "public"
|
|
2437
|
+
},
|
|
2429
2438
|
{
|
|
2430
2439
|
"kind": "field",
|
|
2431
2440
|
"name": "columns",
|
|
@@ -2552,65 +2561,6 @@
|
|
|
2552
2561
|
}
|
|
2553
2562
|
]
|
|
2554
2563
|
},
|
|
2555
|
-
{
|
|
2556
|
-
"kind": "javascript-module",
|
|
2557
|
-
"path": "src/routes/demo/entity-management.template.ts",
|
|
2558
|
-
"declarations": [
|
|
2559
|
-
{
|
|
2560
|
-
"kind": "variable",
|
|
2561
|
-
"name": "EntityManagementDemoTemplate",
|
|
2562
|
-
"type": {
|
|
2563
|
-
"text": "ViewTemplate"
|
|
2564
|
-
},
|
|
2565
|
-
"default": "html<EntityManagementDemo>`\n <zero-tabs>\n <span slot=\"start\">Entity Management</span>\n <zero-tab data-test-id=\"profiles\" slot=\"tab\">Counterparty</zero-tab>\n <zero-tab-panel slot=\"tabpanel\">\n <zero-notification-listener>\n <entity-management\n resourceName=\"ALL_COUNTERPARTYS\"\n title=\"Counterparty Management\"\n updateEvent=\"EVENT_COUNTERPARTY_MODIFY\"\n deleteEvent=\"EVENT_COUNTERPARTY_DELETE\"\n createEvent=\"EVENT_COUNTERPARTY_INSERT\"\n ></entity-management>\n </zero-notification-listener>\n </zero-tab-panel>\n </zero-tabs>\n`"
|
|
2566
|
-
}
|
|
2567
|
-
],
|
|
2568
|
-
"exports": [
|
|
2569
|
-
{
|
|
2570
|
-
"kind": "js",
|
|
2571
|
-
"name": "EntityManagementDemoTemplate",
|
|
2572
|
-
"declaration": {
|
|
2573
|
-
"name": "EntityManagementDemoTemplate",
|
|
2574
|
-
"module": "src/routes/demo/entity-management.template.ts"
|
|
2575
|
-
}
|
|
2576
|
-
}
|
|
2577
|
-
]
|
|
2578
|
-
},
|
|
2579
|
-
{
|
|
2580
|
-
"kind": "javascript-module",
|
|
2581
|
-
"path": "src/routes/demo/entity-management.ts",
|
|
2582
|
-
"declarations": [
|
|
2583
|
-
{
|
|
2584
|
-
"kind": "class",
|
|
2585
|
-
"description": "",
|
|
2586
|
-
"name": "EntityManagementDemo",
|
|
2587
|
-
"superclass": {
|
|
2588
|
-
"name": "FASTElement",
|
|
2589
|
-
"package": "@microsoft/fast-element"
|
|
2590
|
-
},
|
|
2591
|
-
"tagName": "entity-management-demo",
|
|
2592
|
-
"customElement": true
|
|
2593
|
-
}
|
|
2594
|
-
],
|
|
2595
|
-
"exports": [
|
|
2596
|
-
{
|
|
2597
|
-
"kind": "js",
|
|
2598
|
-
"name": "EntityManagementDemo",
|
|
2599
|
-
"declaration": {
|
|
2600
|
-
"name": "EntityManagementDemo",
|
|
2601
|
-
"module": "src/routes/demo/entity-management.ts"
|
|
2602
|
-
}
|
|
2603
|
-
},
|
|
2604
|
-
{
|
|
2605
|
-
"kind": "custom-element-definition",
|
|
2606
|
-
"name": "entity-management-demo",
|
|
2607
|
-
"declaration": {
|
|
2608
|
-
"name": "EntityManagementDemo",
|
|
2609
|
-
"module": "src/routes/demo/entity-management.ts"
|
|
2610
|
-
}
|
|
2611
|
-
}
|
|
2612
|
-
]
|
|
2613
|
-
},
|
|
2614
2564
|
{
|
|
2615
2565
|
"kind": "javascript-module",
|
|
2616
2566
|
"path": "src/utils/formatting.ts",
|
|
@@ -2726,6 +2676,65 @@
|
|
|
2726
2676
|
}
|
|
2727
2677
|
}
|
|
2728
2678
|
]
|
|
2679
|
+
},
|
|
2680
|
+
{
|
|
2681
|
+
"kind": "javascript-module",
|
|
2682
|
+
"path": "src/routes/demo/entity-management.template.ts",
|
|
2683
|
+
"declarations": [
|
|
2684
|
+
{
|
|
2685
|
+
"kind": "variable",
|
|
2686
|
+
"name": "EntityManagementDemoTemplate",
|
|
2687
|
+
"type": {
|
|
2688
|
+
"text": "ViewTemplate"
|
|
2689
|
+
},
|
|
2690
|
+
"default": "html<EntityManagementDemo>`\n <zero-tabs>\n <span slot=\"start\">Entity Management</span>\n <zero-tab data-test-id=\"profiles\" slot=\"tab\">Counterparty</zero-tab>\n <zero-tab-panel slot=\"tabpanel\">\n <zero-notification-listener>\n <entity-management\n resourceName=\"ALL_COUNTERPARTYS\"\n title=\"Counterparty Management\"\n updateEvent=\"EVENT_COUNTERPARTY_MODIFY\"\n deleteEvent=\"EVENT_COUNTERPARTY_DELETE\"\n createEvent=\"EVENT_COUNTERPARTY_INSERT\"\n ></entity-management>\n </zero-notification-listener>\n </zero-tab-panel>\n </zero-tabs>\n`"
|
|
2691
|
+
}
|
|
2692
|
+
],
|
|
2693
|
+
"exports": [
|
|
2694
|
+
{
|
|
2695
|
+
"kind": "js",
|
|
2696
|
+
"name": "EntityManagementDemoTemplate",
|
|
2697
|
+
"declaration": {
|
|
2698
|
+
"name": "EntityManagementDemoTemplate",
|
|
2699
|
+
"module": "src/routes/demo/entity-management.template.ts"
|
|
2700
|
+
}
|
|
2701
|
+
}
|
|
2702
|
+
]
|
|
2703
|
+
},
|
|
2704
|
+
{
|
|
2705
|
+
"kind": "javascript-module",
|
|
2706
|
+
"path": "src/routes/demo/entity-management.ts",
|
|
2707
|
+
"declarations": [
|
|
2708
|
+
{
|
|
2709
|
+
"kind": "class",
|
|
2710
|
+
"description": "",
|
|
2711
|
+
"name": "EntityManagementDemo",
|
|
2712
|
+
"superclass": {
|
|
2713
|
+
"name": "FASTElement",
|
|
2714
|
+
"package": "@microsoft/fast-element"
|
|
2715
|
+
},
|
|
2716
|
+
"tagName": "entity-management-demo",
|
|
2717
|
+
"customElement": true
|
|
2718
|
+
}
|
|
2719
|
+
],
|
|
2720
|
+
"exports": [
|
|
2721
|
+
{
|
|
2722
|
+
"kind": "js",
|
|
2723
|
+
"name": "EntityManagementDemo",
|
|
2724
|
+
"declaration": {
|
|
2725
|
+
"name": "EntityManagementDemo",
|
|
2726
|
+
"module": "src/routes/demo/entity-management.ts"
|
|
2727
|
+
}
|
|
2728
|
+
},
|
|
2729
|
+
{
|
|
2730
|
+
"kind": "custom-element-definition",
|
|
2731
|
+
"name": "entity-management-demo",
|
|
2732
|
+
"declaration": {
|
|
2733
|
+
"name": "EntityManagementDemo",
|
|
2734
|
+
"module": "src/routes/demo/entity-management.ts"
|
|
2735
|
+
}
|
|
2736
|
+
}
|
|
2737
|
+
]
|
|
2729
2738
|
}
|
|
2730
2739
|
]
|
|
2731
2740
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"entities.d.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,eAAe,EAAE,OAAO,CAAC;IACjC,QAAQ,EAAE,OAAO,CAAS;IACxB,UAAU,EAAE,OAAO,CAAS;IACtB,eAAe,EAAE,OAAO,CAAS;IAEhF,eAAe,EAAE,eAAe,EAAE,CAAC;IAE/C;;;OAGG;IACoC,aAAa,EAAE,QAAQ,GAAG,MAAM,GAAG,OAAO,CAAW;IAE5F;;;OAGG;IACG,iBAAiB;IAevB;;;OAGG;IACM,SAAS,IAAI,IAAI;IAmB1B;;;;;;;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;IAmBvD,eAAe,CAAC,CAAC,EAAE,WAAW,CAAC,MAAM,CAAC;IAItC,yBAAyB,CAAC,CAAC,EAAE,WAAW;IAiC/C;;;;;OAKG;IACG,YAAY,CAAC,CAAC,EAAE,WAAW;IAK3B,aAAa;IAoBnB,OAAO,CAAC,sBAAsB;IAc9B;;;OAGG;IACI,WAAW,CAAC,OAAO,KAAA;CAkB3B"}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { GridOptions } from '@ag-grid-community/core';
|
|
1
2
|
import { GridProRendererTypes } from '@genesislcap/foundation-zero-grid-pro';
|
|
2
3
|
import { FASTElement } from '@microsoft/fast-element';
|
|
3
4
|
import { DatasourceConfiguration } from '../entities';
|
|
@@ -36,18 +37,7 @@ declare const Users_base: (new (...args: any[]) => {
|
|
|
36
37
|
cloneNode(deep?: boolean): Node;
|
|
37
38
|
deepClone(): Node;
|
|
38
39
|
readonly shouldRunDisconnect: boolean;
|
|
39
|
-
|
|
40
|
-
* The configuration which is used when interacting with the resource on the backend
|
|
41
|
-
*
|
|
42
|
-
* @remarks
|
|
43
|
-
*
|
|
44
|
-
* Handles the configuration such as how many rows of entities to fetch at a time
|
|
45
|
-
* @internal
|
|
46
|
-
*/
|
|
47
|
-
readonly shouldRunConnect: boolean; /**
|
|
48
|
-
* Configuring the resourceName from the entity-management, set to manage the users resource specifically
|
|
49
|
-
* @internal
|
|
50
|
-
*/
|
|
40
|
+
readonly shouldRunConnect: boolean;
|
|
51
41
|
"__#1@#_blockLifecycleDueToTokenChange"(lifecycleType: "connect" | "disconnect" | "reconnect"): boolean;
|
|
52
42
|
"__#1@#_tryFindContainingLayout"(e: Element): import("@genesislcap/foundation-utils").FoundationLayoutContainer | import("@genesislcap/foundation-utils").LayoutCacheContainer | import("@genesislcap/foundation-utils").DOMContainer;
|
|
53
43
|
connectedCallback(): void;
|
|
@@ -67,12 +57,6 @@ declare const Users_base: (new (...args: any[]) => {
|
|
|
67
57
|
readonly offsetHeight: number;
|
|
68
58
|
readonly offsetLeft: number;
|
|
69
59
|
readonly offsetParent: Element;
|
|
70
|
-
/**
|
|
71
|
-
* Returns the config for an entity column if the entityID attribute is defined
|
|
72
|
-
*
|
|
73
|
-
* @returns Config for an entity column if the entityID is defined, else an empty array
|
|
74
|
-
* @internal
|
|
75
|
-
*/
|
|
76
60
|
readonly offsetTop: number;
|
|
77
61
|
readonly offsetWidth: number;
|
|
78
62
|
outerText: string;
|
|
@@ -132,10 +116,6 @@ declare const Users_base: (new (...args: any[]) => {
|
|
|
132
116
|
hasPointerCapture(pointerId: number): boolean;
|
|
133
117
|
insertAdjacentElement(where: InsertPosition, element: Element): Element;
|
|
134
118
|
insertAdjacentHTML(position: InsertPosition, text: string): void;
|
|
135
|
-
/**
|
|
136
|
-
* Used as the callback function in {@link Users.statusColumn}
|
|
137
|
-
* @internal
|
|
138
|
-
*/
|
|
139
119
|
insertAdjacentText(where: InsertPosition, data: string): void;
|
|
140
120
|
matches(selectors: string): boolean;
|
|
141
121
|
releasePointerCapture(pointerId: number): void;
|
|
@@ -462,6 +442,11 @@ export declare class Users extends Users_base {
|
|
|
462
442
|
* @public
|
|
463
443
|
*/
|
|
464
444
|
persistColumnStateKey: string;
|
|
445
|
+
/**
|
|
446
|
+
* GridOptions to be passed down from application
|
|
447
|
+
* @public
|
|
448
|
+
*/
|
|
449
|
+
gridOptions: GridOptions;
|
|
465
450
|
/**
|
|
466
451
|
* Returns a configuration for an optional status column
|
|
467
452
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"users.d.ts","sourceRoot":"","sources":["../../../src/users/users.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"users.d.ts","sourceRoot":"","sources":["../../../src/users/users.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AAItD,OAAO,EAAE,oBAAoB,EAAE,MAAM,uCAAuC,CAAC;AAC7E,OAAO,EAA4B,WAAW,EAAc,MAAM,yBAAyB,CAAC;AAC5F,OAAO,EAAE,uBAAuB,EAAE,MAAM,aAAa,CAAC;AAWtD;;;;;;;GAOG;AACH,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;IAoC7B,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAoCG;AACH,qBASa,KAAM,SAAQ,UAA2B;IACpD;;;;;;;;OA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,eAAO,MAAM,aAAa,EAAE,
|
|
1
|
+
{"version":3,"file":"users.template.d.ts","sourceRoot":"","sources":["../../../src/users/users.template.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,yBAAyB,CAAC;AAqF5D,eAAO,MAAM,aAAa,EAAE,YAoC3B,CAAC"}
|
|
@@ -138,6 +138,7 @@ let EntityManagement = class EntityManagement extends LifecycleMixin(FASTElement
|
|
|
138
138
|
const copy = super.deepClone();
|
|
139
139
|
copy.createFormUiSchema = structuredClone(this.createFormUiSchema);
|
|
140
140
|
copy.datasourceConfig = structuredClone(this.datasourceConfig);
|
|
141
|
+
copy.gridOptions = structuredClone(this.gridOptions);
|
|
141
142
|
copy.editDialogTitle = structuredClone(this.editDialogTitle);
|
|
142
143
|
copy.editModalVisible = structuredClone(this.editModalVisible);
|
|
143
144
|
copy.formResourceName = structuredClone(this.formResourceName);
|
package/dist/esm/users/users.js
CHANGED
|
@@ -170,6 +170,7 @@ let Users = class Users extends LifecycleMixin(FASTElement) {
|
|
|
170
170
|
const copy = super.deepClone();
|
|
171
171
|
copy.additionalCreateFields = structuredClone(this.additionalCreateFields);
|
|
172
172
|
copy.additionalUpdateFields = structuredClone(this.additionalUpdateFields);
|
|
173
|
+
copy.gridOptions = structuredClone(this.gridOptions);
|
|
173
174
|
copy.allAccessType = structuredClone(this.allAccessType);
|
|
174
175
|
copy.createEvent = structuredClone(this.createEvent);
|
|
175
176
|
copy.datasourceConfig = structuredClone(this.datasourceConfig);
|
|
@@ -266,6 +267,9 @@ __decorate([
|
|
|
266
267
|
__decorate([
|
|
267
268
|
attr({ attribute: 'persist-column-state-key' })
|
|
268
269
|
], Users.prototype, "persistColumnStateKey", void 0);
|
|
270
|
+
__decorate([
|
|
271
|
+
observable
|
|
272
|
+
], Users.prototype, "gridOptions", void 0);
|
|
269
273
|
__decorate([
|
|
270
274
|
observable
|
|
271
275
|
], Users.prototype, "columns", void 0);
|
|
@@ -74,6 +74,7 @@ export const UsersTemplate = html `
|
|
|
74
74
|
<entity-management
|
|
75
75
|
resourceName=${(x) => x.resourceName}
|
|
76
76
|
title="User Management"
|
|
77
|
+
:gridOptions=${(x) => x.gridOptions}
|
|
77
78
|
entityLabel="User"
|
|
78
79
|
createEvent="${(x) => x.createEvent}"
|
|
79
80
|
:readEventFn=${(x) => (user) => x.readUserData(user)}
|
|
@@ -2673,6 +2673,37 @@
|
|
|
2673
2673
|
"isProtected": false,
|
|
2674
2674
|
"isAbstract": false
|
|
2675
2675
|
},
|
|
2676
|
+
{
|
|
2677
|
+
"kind": "Property",
|
|
2678
|
+
"canonicalReference": "@genesislcap/foundation-entity-management!Users#gridOptions:member",
|
|
2679
|
+
"docComment": "/**\n * GridOptions to be passed down from application\n *\n * @public\n */\n",
|
|
2680
|
+
"excerptTokens": [
|
|
2681
|
+
{
|
|
2682
|
+
"kind": "Content",
|
|
2683
|
+
"text": "gridOptions: "
|
|
2684
|
+
},
|
|
2685
|
+
{
|
|
2686
|
+
"kind": "Reference",
|
|
2687
|
+
"text": "GridOptions",
|
|
2688
|
+
"canonicalReference": "@ag-grid-community/core!GridOptions:interface"
|
|
2689
|
+
},
|
|
2690
|
+
{
|
|
2691
|
+
"kind": "Content",
|
|
2692
|
+
"text": ";"
|
|
2693
|
+
}
|
|
2694
|
+
],
|
|
2695
|
+
"isReadonly": false,
|
|
2696
|
+
"isOptional": false,
|
|
2697
|
+
"releaseTag": "Public",
|
|
2698
|
+
"name": "gridOptions",
|
|
2699
|
+
"propertyTypeTokenRange": {
|
|
2700
|
+
"startIndex": 1,
|
|
2701
|
+
"endIndex": 2
|
|
2702
|
+
},
|
|
2703
|
+
"isStatic": false,
|
|
2704
|
+
"isProtected": false,
|
|
2705
|
+
"isAbstract": false
|
|
2706
|
+
},
|
|
2676
2707
|
{
|
|
2677
2708
|
"kind": "Property",
|
|
2678
2709
|
"canonicalReference": "@genesislcap/foundation-entity-management!Users#persistColumnStateKey:member",
|
|
@@ -817,6 +817,11 @@ export declare class Users extends Users_base {
|
|
|
817
817
|
* @public
|
|
818
818
|
*/
|
|
819
819
|
persistColumnStateKey: string;
|
|
820
|
+
/**
|
|
821
|
+
* GridOptions to be passed down from application
|
|
822
|
+
* @public
|
|
823
|
+
*/
|
|
824
|
+
gridOptions: GridOptions;
|
|
820
825
|
/**
|
|
821
826
|
* Returns a configuration for an optional status column
|
|
822
827
|
*
|
|
@@ -946,18 +951,7 @@ declare const Users_base: (new (...args: any[]) => {
|
|
|
946
951
|
cloneNode(deep?: boolean): Node;
|
|
947
952
|
deepClone(): Node;
|
|
948
953
|
readonly shouldRunDisconnect: boolean;
|
|
949
|
-
|
|
950
|
-
* The configuration which is used when interacting with the resource on the backend
|
|
951
|
-
*
|
|
952
|
-
* @remarks
|
|
953
|
-
*
|
|
954
|
-
* Handles the configuration such as how many rows of entities to fetch at a time
|
|
955
|
-
* @internal
|
|
956
|
-
*/
|
|
957
|
-
readonly shouldRunConnect: boolean; /**
|
|
958
|
-
* Configuring the resourceName from the entity-management, set to manage the users resource specifically
|
|
959
|
-
* @internal
|
|
960
|
-
*/
|
|
954
|
+
readonly shouldRunConnect: boolean;
|
|
961
955
|
"__#1@#_blockLifecycleDueToTokenChange"(lifecycleType: "connect" | "disconnect" | "reconnect"): boolean;
|
|
962
956
|
"__#1@#_tryFindContainingLayout"(e: Element): FoundationLayoutContainer | LayoutCacheContainer | DOMContainer;
|
|
963
957
|
connectedCallback(): void;
|
|
@@ -977,12 +971,6 @@ declare const Users_base: (new (...args: any[]) => {
|
|
|
977
971
|
readonly offsetHeight: number;
|
|
978
972
|
readonly offsetLeft: number;
|
|
979
973
|
readonly offsetParent: Element;
|
|
980
|
-
/**
|
|
981
|
-
* Returns the config for an entity column if the entityID attribute is defined
|
|
982
|
-
*
|
|
983
|
-
* @returns Config for an entity column if the entityID is defined, else an empty array
|
|
984
|
-
* @internal
|
|
985
|
-
*/
|
|
986
974
|
readonly offsetTop: number;
|
|
987
975
|
readonly offsetWidth: number;
|
|
988
976
|
outerText: string;
|
|
@@ -1042,10 +1030,6 @@ declare const Users_base: (new (...args: any[]) => {
|
|
|
1042
1030
|
hasPointerCapture(pointerId: number): boolean;
|
|
1043
1031
|
insertAdjacentElement(where: InsertPosition, element: Element): Element;
|
|
1044
1032
|
insertAdjacentHTML(position: InsertPosition, text: string): void;
|
|
1045
|
-
/**
|
|
1046
|
-
* Used as the callback function in {@link Users.statusColumn}
|
|
1047
|
-
* @internal
|
|
1048
|
-
*/
|
|
1049
1033
|
insertAdjacentText(where: InsertPosition, data: string): void;
|
|
1050
1034
|
matches(selectors: string): boolean;
|
|
1051
1035
|
releasePointerCapture(pointerId: number): void;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
+
|
|
3
|
+
[Home](./index.md) > [@genesislcap/foundation-entity-management](./foundation-entity-management.md) > [Users](./foundation-entity-management.users.md) > [gridOptions](./foundation-entity-management.users.gridoptions.md)
|
|
4
|
+
|
|
5
|
+
## Users.gridOptions property
|
|
6
|
+
|
|
7
|
+
GridOptions to be passed down from application
|
|
8
|
+
|
|
9
|
+
**Signature:**
|
|
10
|
+
|
|
11
|
+
```typescript
|
|
12
|
+
gridOptions: GridOptions;
|
|
13
|
+
```
|
|
@@ -58,6 +58,7 @@ const userColumns = [
|
|
|
58
58
|
| [columns](./foundation-entity-management.users.columns.md) | | any | Column definition, default to the UsersColumnConfig |
|
|
59
59
|
| [createEvent](./foundation-entity-management.users.createevent.md) | | string | String which contains event if we have permission to insert user of empty string if not |
|
|
60
60
|
| [deleteEvent](./foundation-entity-management.users.deleteevent.md) | | string | String which contains event if we have permission to delete user of empty string if not |
|
|
61
|
+
| [gridOptions](./foundation-entity-management.users.gridoptions.md) | | GridOptions | GridOptions to be passed down from application |
|
|
61
62
|
| [persistColumnStateKey](./foundation-entity-management.users.persistcolumnstatekey.md) | | string | This attribute controls whether and how the user manager stores the state of the columns when the user edits them. Defaulted to <code>entity_users_management</code>. |
|
|
62
63
|
| [updateEvent](./foundation-entity-management.users.updateevent.md) | | string | String which contains event if we have permission to update user of empty string if not |
|
|
63
64
|
|
package/docs/api-report.md
CHANGED
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.
|
|
4
|
+
"version": "14.145.0",
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"license": "SEE LICENSE IN license.txt",
|
|
7
7
|
"main": "dist/esm/index.js",
|
|
@@ -43,24 +43,24 @@
|
|
|
43
43
|
"test:debug": "genx test --debug"
|
|
44
44
|
},
|
|
45
45
|
"devDependencies": {
|
|
46
|
-
"@genesislcap/foundation-testing": "14.
|
|
47
|
-
"@genesislcap/genx": "14.
|
|
46
|
+
"@genesislcap/foundation-testing": "14.145.0",
|
|
47
|
+
"@genesislcap/genx": "14.145.0",
|
|
48
48
|
"rimraf": "^3.0.2"
|
|
49
49
|
},
|
|
50
50
|
"dependencies": {
|
|
51
51
|
"@ag-grid-community/core": "29.2.0",
|
|
52
|
-
"@genesislcap/foundation-comms": "14.
|
|
53
|
-
"@genesislcap/foundation-errors": "14.
|
|
54
|
-
"@genesislcap/foundation-events": "14.
|
|
55
|
-
"@genesislcap/foundation-forms": "14.
|
|
56
|
-
"@genesislcap/foundation-logger": "14.
|
|
57
|
-
"@genesislcap/foundation-login": "14.
|
|
58
|
-
"@genesislcap/foundation-notifications": "14.
|
|
59
|
-
"@genesislcap/foundation-ui": "14.
|
|
60
|
-
"@genesislcap/foundation-utils": "14.
|
|
61
|
-
"@genesislcap/foundation-zero": "14.
|
|
62
|
-
"@genesislcap/foundation-zero-grid-pro": "14.
|
|
63
|
-
"@genesislcap/grid-pro": "14.
|
|
52
|
+
"@genesislcap/foundation-comms": "14.145.0",
|
|
53
|
+
"@genesislcap/foundation-errors": "14.145.0",
|
|
54
|
+
"@genesislcap/foundation-events": "14.145.0",
|
|
55
|
+
"@genesislcap/foundation-forms": "14.145.0",
|
|
56
|
+
"@genesislcap/foundation-logger": "14.145.0",
|
|
57
|
+
"@genesislcap/foundation-login": "14.145.0",
|
|
58
|
+
"@genesislcap/foundation-notifications": "14.145.0",
|
|
59
|
+
"@genesislcap/foundation-ui": "14.145.0",
|
|
60
|
+
"@genesislcap/foundation-utils": "14.145.0",
|
|
61
|
+
"@genesislcap/foundation-zero": "14.145.0",
|
|
62
|
+
"@genesislcap/foundation-zero-grid-pro": "14.145.0",
|
|
63
|
+
"@genesislcap/grid-pro": "14.145.0",
|
|
64
64
|
"@microsoft/fast-components": "^2.30.6",
|
|
65
65
|
"@microsoft/fast-element": "^1.12.0",
|
|
66
66
|
"@microsoft/fast-foundation": "^2.49.4",
|
|
@@ -76,5 +76,5 @@
|
|
|
76
76
|
"access": "public"
|
|
77
77
|
},
|
|
78
78
|
"customElements": "dist/custom-elements.json",
|
|
79
|
-
"gitHead": "
|
|
79
|
+
"gitHead": "6af8e057bf423c3045239449edad01d15153bf0b"
|
|
80
80
|
}
|