@genesislcap/foundation-entity-management 14.182.0-pa-1226.2 → 14.182.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 +0 -138
- package/dist/dts/entities/entities.d.ts +16 -26
- package/dist/dts/entities/entities.d.ts.map +1 -1
- package/dist/dts/entities/entities.template.d.ts.map +1 -1
- package/dist/dts/list/list.d.ts +1 -3
- package/dist/dts/list/list.d.ts.map +1 -1
- package/dist/esm/entities/entities.js +0 -23
- package/dist/esm/entities/entities.template.js +0 -2
- package/dist/esm/list/list.js +0 -11
- package/dist/foundation-entity-management.api.json +0 -146
- package/dist/foundation-entity-management.d.ts +16 -400
- package/docs/api/foundation-entity-management.entitymanagement.md +0 -3
- package/docs/api-report.md +0 -10
- package/package.json +21 -21
- package/docs/api/foundation-entity-management.entitymanagement.addeventlistener.md +0 -24
- package/docs/api/foundation-entity-management.entitymanagement.entitylist.md +0 -11
- package/docs/api/foundation-entity-management.entitymanagement.grideventsqueue.md +0 -11
|
@@ -527,56 +527,6 @@
|
|
|
527
527
|
"description": "Determines where the modal dialog will appear on screen",
|
|
528
528
|
"privacy": "public"
|
|
529
529
|
},
|
|
530
|
-
{
|
|
531
|
-
"kind": "field",
|
|
532
|
-
"name": "entityList",
|
|
533
|
-
"type": {
|
|
534
|
-
"text": "List"
|
|
535
|
-
}
|
|
536
|
-
},
|
|
537
|
-
{
|
|
538
|
-
"kind": "field",
|
|
539
|
-
"name": "gridEventsQueue",
|
|
540
|
-
"type": {
|
|
541
|
-
"text": "string[]"
|
|
542
|
-
},
|
|
543
|
-
"default": "[]"
|
|
544
|
-
},
|
|
545
|
-
{
|
|
546
|
-
"kind": "method",
|
|
547
|
-
"name": "addEventListener",
|
|
548
|
-
"parameters": [
|
|
549
|
-
{
|
|
550
|
-
"name": "type",
|
|
551
|
-
"type": {
|
|
552
|
-
"text": "any"
|
|
553
|
-
}
|
|
554
|
-
},
|
|
555
|
-
{
|
|
556
|
-
"name": "listener"
|
|
557
|
-
},
|
|
558
|
-
{
|
|
559
|
-
"name": "options",
|
|
560
|
-
"optional": true,
|
|
561
|
-
"type": {
|
|
562
|
-
"text": "boolean | AddEventListenerOptions"
|
|
563
|
-
}
|
|
564
|
-
}
|
|
565
|
-
]
|
|
566
|
-
},
|
|
567
|
-
{
|
|
568
|
-
"kind": "method",
|
|
569
|
-
"name": "addGridEventListener",
|
|
570
|
-
"privacy": "private",
|
|
571
|
-
"parameters": [
|
|
572
|
-
{
|
|
573
|
-
"name": "type",
|
|
574
|
-
"type": {
|
|
575
|
-
"text": "string"
|
|
576
|
-
}
|
|
577
|
-
}
|
|
578
|
-
]
|
|
579
|
-
},
|
|
580
530
|
{
|
|
581
531
|
"kind": "method",
|
|
582
532
|
"name": "deepClone",
|
|
@@ -1270,15 +1220,6 @@
|
|
|
1270
1220
|
},
|
|
1271
1221
|
"privacy": "protected"
|
|
1272
1222
|
},
|
|
1273
|
-
{
|
|
1274
|
-
"kind": "field",
|
|
1275
|
-
"name": "gridEventsQueue",
|
|
1276
|
-
"type": {
|
|
1277
|
-
"text": "string[]"
|
|
1278
|
-
},
|
|
1279
|
-
"privacy": "private",
|
|
1280
|
-
"default": "[]"
|
|
1281
|
-
},
|
|
1282
1223
|
{
|
|
1283
1224
|
"kind": "method",
|
|
1284
1225
|
"name": "onCellEditingStopped",
|
|
@@ -1335,19 +1276,6 @@
|
|
|
1335
1276
|
"name": "e"
|
|
1336
1277
|
}
|
|
1337
1278
|
]
|
|
1338
|
-
},
|
|
1339
|
-
{
|
|
1340
|
-
"kind": "method",
|
|
1341
|
-
"name": "addGridEventListener",
|
|
1342
|
-
"privacy": "private",
|
|
1343
|
-
"parameters": [
|
|
1344
|
-
{
|
|
1345
|
-
"name": "type",
|
|
1346
|
-
"type": {
|
|
1347
|
-
"text": "string"
|
|
1348
|
-
}
|
|
1349
|
-
}
|
|
1350
|
-
]
|
|
1351
1279
|
}
|
|
1352
1280
|
],
|
|
1353
1281
|
"attributes": [
|
|
@@ -2222,72 +2150,6 @@
|
|
|
2222
2150
|
"module": "src/entities/entities.ts"
|
|
2223
2151
|
}
|
|
2224
2152
|
},
|
|
2225
|
-
{
|
|
2226
|
-
"kind": "field",
|
|
2227
|
-
"name": "entityList",
|
|
2228
|
-
"type": {
|
|
2229
|
-
"text": "List"
|
|
2230
|
-
},
|
|
2231
|
-
"inheritedFrom": {
|
|
2232
|
-
"name": "EntityManagement",
|
|
2233
|
-
"module": "src/entities/entities.ts"
|
|
2234
|
-
}
|
|
2235
|
-
},
|
|
2236
|
-
{
|
|
2237
|
-
"kind": "field",
|
|
2238
|
-
"name": "gridEventsQueue",
|
|
2239
|
-
"type": {
|
|
2240
|
-
"text": "string[]"
|
|
2241
|
-
},
|
|
2242
|
-
"default": "[]",
|
|
2243
|
-
"inheritedFrom": {
|
|
2244
|
-
"name": "EntityManagement",
|
|
2245
|
-
"module": "src/entities/entities.ts"
|
|
2246
|
-
}
|
|
2247
|
-
},
|
|
2248
|
-
{
|
|
2249
|
-
"kind": "method",
|
|
2250
|
-
"name": "addEventListener",
|
|
2251
|
-
"parameters": [
|
|
2252
|
-
{
|
|
2253
|
-
"name": "type",
|
|
2254
|
-
"type": {
|
|
2255
|
-
"text": "any"
|
|
2256
|
-
}
|
|
2257
|
-
},
|
|
2258
|
-
{
|
|
2259
|
-
"name": "listener"
|
|
2260
|
-
},
|
|
2261
|
-
{
|
|
2262
|
-
"name": "options",
|
|
2263
|
-
"optional": true,
|
|
2264
|
-
"type": {
|
|
2265
|
-
"text": "boolean | AddEventListenerOptions"
|
|
2266
|
-
}
|
|
2267
|
-
}
|
|
2268
|
-
],
|
|
2269
|
-
"inheritedFrom": {
|
|
2270
|
-
"name": "EntityManagement",
|
|
2271
|
-
"module": "src/entities/entities.ts"
|
|
2272
|
-
}
|
|
2273
|
-
},
|
|
2274
|
-
{
|
|
2275
|
-
"kind": "method",
|
|
2276
|
-
"name": "addGridEventListener",
|
|
2277
|
-
"privacy": "private",
|
|
2278
|
-
"parameters": [
|
|
2279
|
-
{
|
|
2280
|
-
"name": "type",
|
|
2281
|
-
"type": {
|
|
2282
|
-
"text": "string"
|
|
2283
|
-
}
|
|
2284
|
-
}
|
|
2285
|
-
],
|
|
2286
|
-
"inheritedFrom": {
|
|
2287
|
-
"name": "EntityManagement",
|
|
2288
|
-
"module": "src/entities/entities.ts"
|
|
2289
|
-
}
|
|
2290
|
-
},
|
|
2291
2153
|
{
|
|
2292
2154
|
"kind": "method",
|
|
2293
2155
|
"name": "deepClone",
|
|
@@ -4,7 +4,6 @@ import { RendererEntry } from '@genesislcap/foundation-forms';
|
|
|
4
4
|
import { AvailableOption, SelectedOption } from '@genesislcap/foundation-ui';
|
|
5
5
|
import type { GridProCaseType } from '@genesislcap/grid-pro';
|
|
6
6
|
import { FASTElement } from '@microsoft/fast-element';
|
|
7
|
-
import { List } from '../list';
|
|
8
7
|
/**
|
|
9
8
|
* The attribute which is set to configure the resource that the entity manager is working with
|
|
10
9
|
*
|
|
@@ -60,17 +59,7 @@ declare const EntityManagement_base: (new (...args: any[]) => {
|
|
|
60
59
|
outerText: string;
|
|
61
60
|
spellcheck: boolean;
|
|
62
61
|
title: string;
|
|
63
|
-
translate: boolean;
|
|
64
|
-
* This attribute controls whether and how the entity manager stores the state of the columns when the user edits them. Omit this attribute to disable the functionality, set it to a unique value to enable it.
|
|
65
|
-
*
|
|
66
|
-
* @remarks
|
|
67
|
-
*
|
|
68
|
-
* Setting this value will set the entity manager to persist the column states through page refreshes etc. An example of what is stored is when the user resizes or reorders columns.
|
|
69
|
-
* This value must be unique for each table in your app otherwise the persisted data will be corrupted.
|
|
70
|
-
* There is an option on the grid for the user to reset the table to the default layout if they wish.
|
|
71
|
-
* If you omit this attribute then nothing is persisted
|
|
72
|
-
* @public
|
|
73
|
-
*/
|
|
62
|
+
translate: boolean;
|
|
74
63
|
attachInternals(): ElementInternals;
|
|
75
64
|
click(): void;
|
|
76
65
|
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
@@ -81,10 +70,7 @@ declare const EntityManagement_base: (new (...args: any[]) => {
|
|
|
81
70
|
readonly classList: DOMTokenList;
|
|
82
71
|
className: string;
|
|
83
72
|
readonly clientHeight: number;
|
|
84
|
-
readonly clientLeft: number;
|
|
85
|
-
* Array which holds the column definitions.
|
|
86
|
-
* @public
|
|
87
|
-
*/
|
|
73
|
+
readonly clientLeft: number;
|
|
88
74
|
readonly clientTop: number;
|
|
89
75
|
readonly clientWidth: number;
|
|
90
76
|
id: string;
|
|
@@ -168,10 +154,6 @@ declare const EntityManagement_base: (new (...args: any[]) => {
|
|
|
168
154
|
getRootNode(options?: GetRootNodeOptions): Node;
|
|
169
155
|
hasChildNodes(): boolean;
|
|
170
156
|
insertBefore<T_2 extends Node>(node: T_2, child: Node): T_2;
|
|
171
|
-
/**
|
|
172
|
-
* Gets the default searchBarConfig if the user has not created their own.
|
|
173
|
-
* @internal
|
|
174
|
-
*/
|
|
175
157
|
isDefaultNamespace(namespace: string): boolean;
|
|
176
158
|
isEqualNode(otherNode: Node): boolean;
|
|
177
159
|
isSameNode(otherNode: Node): boolean;
|
|
@@ -212,7 +194,14 @@ declare const EntityManagement_base: (new (...args: any[]) => {
|
|
|
212
194
|
ariaExpanded: string;
|
|
213
195
|
ariaHasPopup: string;
|
|
214
196
|
ariaHidden: string;
|
|
215
|
-
ariaInvalid: string;
|
|
197
|
+
ariaInvalid: string; /**
|
|
198
|
+
* Event handler for when the user submits the action for the currently open form, either editing or adding the entity
|
|
199
|
+
*
|
|
200
|
+
* @param e - CustomEvent which contains the payload for the entity to submit to the backend
|
|
201
|
+
*
|
|
202
|
+
* Emits an event upon error
|
|
203
|
+
* @public
|
|
204
|
+
*/
|
|
216
205
|
ariaKeyShortcuts: string;
|
|
217
206
|
ariaLabel: string;
|
|
218
207
|
ariaLevel: string;
|
|
@@ -224,7 +213,12 @@ declare const EntityManagement_base: (new (...args: any[]) => {
|
|
|
224
213
|
ariaPlaceholder: string;
|
|
225
214
|
ariaPosInSet: string;
|
|
226
215
|
ariaPressed: string;
|
|
227
|
-
ariaReadOnly: string;
|
|
216
|
+
ariaReadOnly: string; /**
|
|
217
|
+
* Updates the reference to the current entity stored in the class. Added as an event listener on the class when receiving the `rowSelected` event.
|
|
218
|
+
*
|
|
219
|
+
* @param e - CustomEvent which contains data about the selected entity. If the row is not selected then the reference will be set to an empty object.
|
|
220
|
+
* @internal
|
|
221
|
+
*/
|
|
228
222
|
ariaRequired: string;
|
|
229
223
|
ariaRoleDescription: string;
|
|
230
224
|
ariaRowCount: string;
|
|
@@ -576,16 +570,12 @@ export declare class EntityManagement extends EntityManagement_base {
|
|
|
576
570
|
* @public
|
|
577
571
|
*/
|
|
578
572
|
modalPosition: 'centre' | 'left' | 'right';
|
|
579
|
-
entityList: List;
|
|
580
|
-
gridEventsQueue: string[];
|
|
581
573
|
/**
|
|
582
574
|
* Set up the web component
|
|
583
575
|
* @internal
|
|
584
576
|
*/
|
|
585
577
|
connectedCallback(): Promise<void>;
|
|
586
578
|
disconnectedCallback(): Promise<void>;
|
|
587
|
-
addEventListener(type: any, listener: any, options?: boolean | AddEventListenerOptions): void;
|
|
588
|
-
private addGridEventListener;
|
|
589
579
|
/**
|
|
590
580
|
* Gets the default searchBarConfig if the user has not created their own.
|
|
591
581
|
* @internal
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"entities.d.ts","sourceRoot":"","sources":["../../../src/entities/entities.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"entities.d.ts","sourceRoot":"","sources":["../../../src/entities/entities.ts"],"names":[],"mappings":"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"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"entities.template.d.ts","sourceRoot":"","sources":["../../../src/entities/entities.template.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,gBAAgB,EAAE,MAAM,YAAY,CAAC;AAK9C;;;GAGG;AACH,eAAO,MAAM,aAAa,wFAWzB,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,eAAe,wFAiB3B,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,mBAAmB,
|
|
1
|
+
{"version":3,"file":"entities.template.d.ts","sourceRoot":"","sources":["../../../src/entities/entities.template.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,gBAAgB,EAAE,MAAM,YAAY,CAAC;AAK9C;;;GAGG;AACH,eAAO,MAAM,aAAa,wFAWzB,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,eAAe,wFAiB3B,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,mBAAmB,wFAwD/B,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,QAAQ,uEAEpB,CAAC"}
|
package/dist/dts/list/list.d.ts
CHANGED
|
@@ -3,7 +3,7 @@ import { Connect } from '@genesislcap/foundation-comms';
|
|
|
3
3
|
import { GridProGenesisDatasource, ZeroGridPro } from '@genesislcap/foundation-zero-grid-pro';
|
|
4
4
|
import type { GridProCaseType } from '@genesislcap/grid-pro';
|
|
5
5
|
import { FASTElement } from '@microsoft/fast-element';
|
|
6
|
-
import { DatasourceConfiguration } from '../entities';
|
|
6
|
+
import { DatasourceConfiguration } from '../entities/entities';
|
|
7
7
|
declare const List_base: (new (...args: any[]) => {
|
|
8
8
|
"__#1@#_container": import("@genesislcap/foundation-utils").FoundationLayoutContainer | import("@genesislcap/foundation-utils").LayoutCacheContainer | import("@genesislcap/foundation-utils").DOMContainer;
|
|
9
9
|
"__#1@#_latestTokenCode": string;
|
|
@@ -364,7 +364,6 @@ export declare class List extends List_base {
|
|
|
364
364
|
deleteEvent: string;
|
|
365
365
|
updateEvent: string;
|
|
366
366
|
protected connect: Connect;
|
|
367
|
-
private gridEventsQueue;
|
|
368
367
|
connectedCallback(): void;
|
|
369
368
|
private onCellEditingStopped;
|
|
370
369
|
disconnectedCallback(): Promise<void>;
|
|
@@ -373,7 +372,6 @@ export declare class List extends List_base {
|
|
|
373
372
|
private select;
|
|
374
373
|
private edit;
|
|
375
374
|
delete(e: any): Promise<void>;
|
|
376
|
-
private addGridEventListener;
|
|
377
375
|
}
|
|
378
376
|
export {};
|
|
379
377
|
//# sourceMappingURL=list.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list.d.ts","sourceRoot":"","sources":["../../../src/list/list.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AAEnE,OAAO,EAAE,OAAO,EAAE,MAAM,+BAA+B,CAAC;AAExD,OAAO,EAEL,wBAAwB,EACxB,WAAW,EACZ,MAAM,uCAAuC,CAAC;AAC/C,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAC;AAE7D,OAAO,EAA4B,WAAW,EAAoB,MAAM,yBAAyB,CAAC;AAClG,OAAO,EAAE,uBAAuB,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"list.d.ts","sourceRoot":"","sources":["../../../src/list/list.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AAEnE,OAAO,EAAE,OAAO,EAAE,MAAM,+BAA+B,CAAC;AAExD,OAAO,EAEL,wBAAwB,EACxB,WAAW,EACZ,MAAM,uCAAuC,CAAC;AAC/C,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAC;AAE7D,OAAO,EAA4B,WAAW,EAAoB,MAAM,yBAAyB,CAAC;AAClG,OAAO,EAAE,uBAAuB,EAAE,MAAM,sBAAsB,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAK/D,qBAKa,IAAK,SAAQ,SAA2B;IACnD;;;OAGG;IAC0C,MAAM,EAAE,MAAM,CAAU;IAE/D,YAAY,EAAE,MAAM,CAAM;IAC1B,KAAK,EAAE,MAAM,CAAM;IACwB,qBAAqB,EAAE,MAAM,CAAC;IAClB,gBAAgB,EAAE,OAAO,CAAC;IACjD,YAAY,EAAE,MAAM,CAAC;IACA,eAAe,EAAE,OAAO,CAAC;IACjC,QAAQ,UAAS;IACd,WAAW,UAAS;IACpB,WAAW,UAAQ;IACX,kBAAkB,UAAS;IAC5B,iBAAiB,UAAS;IACpC,QAAQ,UAAS;IACf,UAAU,UAAS;IAC/B,cAAc,EAAE,eAAe,CAAC;IAClE,IAAI,EAAG,WAAW,CAAC;IACnB,UAAU,EAAG,wBAAwB,CAAC;IACjC,WAAW,EAAE,WAAW,CAAC;IACzB,OAAO,EAAE,MAAM,EAAE,CAAC;IAClB,gBAAgB,EAAE,uBAAuB,CAAC;IAC1C,mBAAmB,QAAM;IACzB,WAAW,EAAE,MAAM,CAAC;IACpB,WAAW,EAAE,MAAM,CAAC;IAEvB,SAAS,CAAC,OAAO,EAAG,OAAO,CAAC;IAErC,iBAAiB;YA6DH,oBAAoB;IA+C5B,oBAAoB,IAAI,OAAO,CAAC,IAAI,CAAC;IAa3C,OAAO,CAAC,mBAAmB;IAM3B,OAAO,CAAC,mBAAmB;IAK3B,OAAO,CAAC,MAAM;IAId,OAAO,CAAC,IAAI,CAEV;IAEI,MAAM,CAAC,CAAC,KAAA;CAGf"}
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { __awaiter, __decorate, __rest } from "tslib";
|
|
2
|
-
import { ComponentUtil } from '@ag-grid-community/core';
|
|
3
2
|
import { Connect, ResourceType, } from '@genesislcap/foundation-comms';
|
|
4
3
|
import { renderers } from '@genesislcap/foundation-forms';
|
|
5
4
|
import { showNotification, showNotificationDialog } from '@genesislcap/foundation-notifications';
|
|
@@ -106,7 +105,6 @@ let EntityManagement = class EntityManagement extends LifecycleMixin(FASTElement
|
|
|
106
105
|
* @public
|
|
107
106
|
*/
|
|
108
107
|
this.modalPosition = 'right';
|
|
109
|
-
this.gridEventsQueue = [];
|
|
110
108
|
/**
|
|
111
109
|
* Updates the reference to the current entity stored in the class. Added as an event listener on the class when receiving the `rowSelected` event.
|
|
112
110
|
*
|
|
@@ -165,24 +163,6 @@ let EntityManagement = class EntityManagement extends LifecycleMixin(FASTElement
|
|
|
165
163
|
});
|
|
166
164
|
});
|
|
167
165
|
}
|
|
168
|
-
addEventListener(type, listener, options) {
|
|
169
|
-
var _a, _b;
|
|
170
|
-
super.addEventListener(type, listener, options);
|
|
171
|
-
if (ComponentUtil.PUBLIC_EVENTS.includes(type)) {
|
|
172
|
-
if ((_b = (_a = this.entityList) === null || _a === void 0 ? void 0 : _a.grid) === null || _b === void 0 ? void 0 : _b.gridApi) {
|
|
173
|
-
this.addGridEventListener(type);
|
|
174
|
-
}
|
|
175
|
-
else {
|
|
176
|
-
this.gridEventsQueue.push(type);
|
|
177
|
-
}
|
|
178
|
-
}
|
|
179
|
-
}
|
|
180
|
-
addGridEventListener(type) {
|
|
181
|
-
var _a;
|
|
182
|
-
(_a = this.entityList) === null || _a === void 0 ? void 0 : _a.grid.gridApi.addEventListener(type, (e) => {
|
|
183
|
-
this.$emit(type, e);
|
|
184
|
-
});
|
|
185
|
-
}
|
|
186
166
|
/**
|
|
187
167
|
* Gets the default searchBarConfig if the user has not created their own.
|
|
188
168
|
* @internal
|
|
@@ -556,9 +536,6 @@ __decorate([
|
|
|
556
536
|
__decorate([
|
|
557
537
|
attr({ attribute: 'modal-position' })
|
|
558
538
|
], EntityManagement.prototype, "modalPosition", void 0);
|
|
559
|
-
__decorate([
|
|
560
|
-
observable
|
|
561
|
-
], EntityManagement.prototype, "gridEventsQueue", void 0);
|
|
562
539
|
__decorate([
|
|
563
540
|
volatile
|
|
564
541
|
], EntityManagement.prototype, "headerTempalate", null);
|
|
@@ -44,9 +44,7 @@ export const getPrefixedEntities = (prefix) => html `
|
|
|
44
44
|
<div class="container">
|
|
45
45
|
<slot name="header" part="header">${(x) => x.headerTempalate}</slot>
|
|
46
46
|
<entity-list
|
|
47
|
-
${ref('entityList')}
|
|
48
47
|
title=${(x) => x.title}
|
|
49
|
-
:gridEventsQueue="${(x) => x.gridEventsQueue}"
|
|
50
48
|
async-add=${(x) => x.asyncAdd}
|
|
51
49
|
async-remove=${(x) => x.asyncRemove}
|
|
52
50
|
async-update=${(x) => x.asyncUpdate}
|
package/dist/esm/list/list.js
CHANGED
|
@@ -26,7 +26,6 @@ let List = class List extends LifecycleMixin(FASTElement) {
|
|
|
26
26
|
this.hideEdit = false;
|
|
27
27
|
this.hideDelete = false;
|
|
28
28
|
this.actionButtonsConfig = [];
|
|
29
|
-
this.gridEventsQueue = [];
|
|
30
29
|
this.edit = (e) => {
|
|
31
30
|
this.$emit('edit-entity', e);
|
|
32
31
|
};
|
|
@@ -39,11 +38,6 @@ let List = class List extends LifecycleMixin(FASTElement) {
|
|
|
39
38
|
this.grid.gridApi.sizeColumnsToFit();
|
|
40
39
|
}
|
|
41
40
|
});
|
|
42
|
-
if (this.gridEventsQueue.length) {
|
|
43
|
-
this.gridEventsQueue.forEach((type) => {
|
|
44
|
-
this.addGridEventListener(type);
|
|
45
|
-
});
|
|
46
|
-
}
|
|
47
41
|
this.grid.gridApi.addEventListener(Events.EVENT_ROW_CLICKED, (e) => this.select(e));
|
|
48
42
|
if (this.updateEvent) {
|
|
49
43
|
this.grid.gridApi.addEventListener(Events.EVENT_CELL_EDIT_REQUEST, (e) => this.onCellEditingStopped(e));
|
|
@@ -143,11 +137,6 @@ let List = class List extends LifecycleMixin(FASTElement) {
|
|
|
143
137
|
this.$emit('delete-entity', e);
|
|
144
138
|
});
|
|
145
139
|
}
|
|
146
|
-
addGridEventListener(type) {
|
|
147
|
-
this.grid.gridApi.addEventListener(type, (e) => {
|
|
148
|
-
this.$emit(type, e);
|
|
149
|
-
});
|
|
150
|
-
}
|
|
151
140
|
};
|
|
152
141
|
__decorate([
|
|
153
142
|
attr({ attribute: 'design-system-prefix' })
|
|
@@ -265,91 +265,6 @@
|
|
|
265
265
|
"name": "EntityManagement",
|
|
266
266
|
"preserveMemberOrder": false,
|
|
267
267
|
"members": [
|
|
268
|
-
{
|
|
269
|
-
"kind": "Method",
|
|
270
|
-
"canonicalReference": "@genesislcap/foundation-entity-management!EntityManagement#addEventListener:member(1)",
|
|
271
|
-
"docComment": "",
|
|
272
|
-
"excerptTokens": [
|
|
273
|
-
{
|
|
274
|
-
"kind": "Content",
|
|
275
|
-
"text": "addEventListener(type: "
|
|
276
|
-
},
|
|
277
|
-
{
|
|
278
|
-
"kind": "Content",
|
|
279
|
-
"text": "any"
|
|
280
|
-
},
|
|
281
|
-
{
|
|
282
|
-
"kind": "Content",
|
|
283
|
-
"text": ", listener: "
|
|
284
|
-
},
|
|
285
|
-
{
|
|
286
|
-
"kind": "Content",
|
|
287
|
-
"text": "any"
|
|
288
|
-
},
|
|
289
|
-
{
|
|
290
|
-
"kind": "Content",
|
|
291
|
-
"text": ", options?: "
|
|
292
|
-
},
|
|
293
|
-
{
|
|
294
|
-
"kind": "Content",
|
|
295
|
-
"text": "boolean | "
|
|
296
|
-
},
|
|
297
|
-
{
|
|
298
|
-
"kind": "Reference",
|
|
299
|
-
"text": "AddEventListenerOptions",
|
|
300
|
-
"canonicalReference": "!AddEventListenerOptions:interface"
|
|
301
|
-
},
|
|
302
|
-
{
|
|
303
|
-
"kind": "Content",
|
|
304
|
-
"text": "): "
|
|
305
|
-
},
|
|
306
|
-
{
|
|
307
|
-
"kind": "Content",
|
|
308
|
-
"text": "void"
|
|
309
|
-
},
|
|
310
|
-
{
|
|
311
|
-
"kind": "Content",
|
|
312
|
-
"text": ";"
|
|
313
|
-
}
|
|
314
|
-
],
|
|
315
|
-
"isStatic": false,
|
|
316
|
-
"returnTypeTokenRange": {
|
|
317
|
-
"startIndex": 8,
|
|
318
|
-
"endIndex": 9
|
|
319
|
-
},
|
|
320
|
-
"releaseTag": "Public",
|
|
321
|
-
"isProtected": false,
|
|
322
|
-
"overloadIndex": 1,
|
|
323
|
-
"parameters": [
|
|
324
|
-
{
|
|
325
|
-
"parameterName": "type",
|
|
326
|
-
"parameterTypeTokenRange": {
|
|
327
|
-
"startIndex": 1,
|
|
328
|
-
"endIndex": 2
|
|
329
|
-
},
|
|
330
|
-
"isOptional": false
|
|
331
|
-
},
|
|
332
|
-
{
|
|
333
|
-
"parameterName": "listener",
|
|
334
|
-
"parameterTypeTokenRange": {
|
|
335
|
-
"startIndex": 3,
|
|
336
|
-
"endIndex": 4
|
|
337
|
-
},
|
|
338
|
-
"isOptional": false
|
|
339
|
-
},
|
|
340
|
-
{
|
|
341
|
-
"parameterName": "options",
|
|
342
|
-
"parameterTypeTokenRange": {
|
|
343
|
-
"startIndex": 5,
|
|
344
|
-
"endIndex": 7
|
|
345
|
-
},
|
|
346
|
-
"isOptional": true
|
|
347
|
-
}
|
|
348
|
-
],
|
|
349
|
-
"isOptional": false,
|
|
350
|
-
"isAbstract": false,
|
|
351
|
-
"name": "addEventListener"
|
|
352
|
-
},
|
|
353
268
|
{
|
|
354
269
|
"kind": "Property",
|
|
355
270
|
"canonicalReference": "@genesislcap/foundation-entity-management!EntityManagement#asyncAdd:member",
|
|
@@ -1146,37 +1061,6 @@
|
|
|
1146
1061
|
"isProtected": false,
|
|
1147
1062
|
"isAbstract": false
|
|
1148
1063
|
},
|
|
1149
|
-
{
|
|
1150
|
-
"kind": "Property",
|
|
1151
|
-
"canonicalReference": "@genesislcap/foundation-entity-management!EntityManagement#entityList:member",
|
|
1152
|
-
"docComment": "",
|
|
1153
|
-
"excerptTokens": [
|
|
1154
|
-
{
|
|
1155
|
-
"kind": "Content",
|
|
1156
|
-
"text": "entityList: "
|
|
1157
|
-
},
|
|
1158
|
-
{
|
|
1159
|
-
"kind": "Reference",
|
|
1160
|
-
"text": "List",
|
|
1161
|
-
"canonicalReference": "@genesislcap/foundation-entity-management!~List:class"
|
|
1162
|
-
},
|
|
1163
|
-
{
|
|
1164
|
-
"kind": "Content",
|
|
1165
|
-
"text": ";"
|
|
1166
|
-
}
|
|
1167
|
-
],
|
|
1168
|
-
"isReadonly": false,
|
|
1169
|
-
"isOptional": false,
|
|
1170
|
-
"releaseTag": "Public",
|
|
1171
|
-
"name": "entityList",
|
|
1172
|
-
"propertyTypeTokenRange": {
|
|
1173
|
-
"startIndex": 1,
|
|
1174
|
-
"endIndex": 2
|
|
1175
|
-
},
|
|
1176
|
-
"isStatic": false,
|
|
1177
|
-
"isProtected": false,
|
|
1178
|
-
"isAbstract": false
|
|
1179
|
-
},
|
|
1180
1064
|
{
|
|
1181
1065
|
"kind": "Property",
|
|
1182
1066
|
"canonicalReference": "@genesislcap/foundation-entity-management!EntityManagement#formRenderers:member",
|
|
@@ -1242,36 +1126,6 @@
|
|
|
1242
1126
|
"isProtected": false,
|
|
1243
1127
|
"isAbstract": false
|
|
1244
1128
|
},
|
|
1245
|
-
{
|
|
1246
|
-
"kind": "Property",
|
|
1247
|
-
"canonicalReference": "@genesislcap/foundation-entity-management!EntityManagement#gridEventsQueue:member",
|
|
1248
|
-
"docComment": "",
|
|
1249
|
-
"excerptTokens": [
|
|
1250
|
-
{
|
|
1251
|
-
"kind": "Content",
|
|
1252
|
-
"text": "gridEventsQueue: "
|
|
1253
|
-
},
|
|
1254
|
-
{
|
|
1255
|
-
"kind": "Content",
|
|
1256
|
-
"text": "string[]"
|
|
1257
|
-
},
|
|
1258
|
-
{
|
|
1259
|
-
"kind": "Content",
|
|
1260
|
-
"text": ";"
|
|
1261
|
-
}
|
|
1262
|
-
],
|
|
1263
|
-
"isReadonly": false,
|
|
1264
|
-
"isOptional": false,
|
|
1265
|
-
"releaseTag": "Public",
|
|
1266
|
-
"name": "gridEventsQueue",
|
|
1267
|
-
"propertyTypeTokenRange": {
|
|
1268
|
-
"startIndex": 1,
|
|
1269
|
-
"endIndex": 2
|
|
1270
|
-
},
|
|
1271
|
-
"isStatic": false,
|
|
1272
|
-
"isProtected": false,
|
|
1273
|
-
"isAbstract": false
|
|
1274
|
-
},
|
|
1275
1129
|
{
|
|
1276
1130
|
"kind": "Property",
|
|
1277
1131
|
"canonicalReference": "@genesislcap/foundation-entity-management!EntityManagement#gridOptions:member",
|
|
@@ -12,7 +12,6 @@ import { FoundationAnalytics } from '@genesislcap/foundation-comms';
|
|
|
12
12
|
import { FoundationLayoutContainer } from '@genesislcap/foundation-utils';
|
|
13
13
|
import { GridOptions } from '@ag-grid-community/core';
|
|
14
14
|
import type { GridProCaseType } from '@genesislcap/grid-pro';
|
|
15
|
-
import { GridProGenesisDatasource } from '@genesislcap/foundation-zero-grid-pro';
|
|
16
15
|
import { GridProRendererTypes } from '@genesislcap/foundation-zero-grid-pro';
|
|
17
16
|
import { LayoutCacheContainer } from '@genesislcap/foundation-utils';
|
|
18
17
|
import { Logger } from '@genesislcap/foundation-logger';
|
|
@@ -22,7 +21,6 @@ import { RouterConfiguration } from '@microsoft/fast-router';
|
|
|
22
21
|
import { SelectedOption } from '@genesislcap/foundation-ui';
|
|
23
22
|
import { Session } from '@genesislcap/foundation-comms';
|
|
24
23
|
import { ViewTemplate } from '@microsoft/fast-element';
|
|
25
|
-
import { ZeroGridPro } from '@genesislcap/foundation-zero-grid-pro';
|
|
26
24
|
|
|
27
25
|
/**
|
|
28
26
|
* @public
|
|
@@ -258,16 +256,12 @@ export declare class EntityManagement extends EntityManagement_base {
|
|
|
258
256
|
* @public
|
|
259
257
|
*/
|
|
260
258
|
modalPosition: 'centre' | 'left' | 'right';
|
|
261
|
-
entityList: List;
|
|
262
|
-
gridEventsQueue: string[];
|
|
263
259
|
/**
|
|
264
260
|
* Set up the web component
|
|
265
261
|
* @internal
|
|
266
262
|
*/
|
|
267
263
|
connectedCallback(): Promise<void>;
|
|
268
264
|
disconnectedCallback(): Promise<void>;
|
|
269
|
-
addEventListener(type: any, listener: any, options?: boolean | AddEventListenerOptions): void;
|
|
270
|
-
private addGridEventListener;
|
|
271
265
|
/**
|
|
272
266
|
* Gets the default searchBarConfig if the user has not created their own.
|
|
273
267
|
* @internal
|
|
@@ -366,17 +360,7 @@ declare const EntityManagement_base: (new (...args: any[]) => {
|
|
|
366
360
|
outerText: string;
|
|
367
361
|
spellcheck: boolean;
|
|
368
362
|
title: string;
|
|
369
|
-
translate: boolean;
|
|
370
|
-
* This attribute controls whether and how the entity manager stores the state of the columns when the user edits them. Omit this attribute to disable the functionality, set it to a unique value to enable it.
|
|
371
|
-
*
|
|
372
|
-
* @remarks
|
|
373
|
-
*
|
|
374
|
-
* Setting this value will set the entity manager to persist the column states through page refreshes etc. An example of what is stored is when the user resizes or reorders columns.
|
|
375
|
-
* This value must be unique for each table in your app otherwise the persisted data will be corrupted.
|
|
376
|
-
* There is an option on the grid for the user to reset the table to the default layout if they wish.
|
|
377
|
-
* If you omit this attribute then nothing is persisted
|
|
378
|
-
* @public
|
|
379
|
-
*/
|
|
363
|
+
translate: boolean;
|
|
380
364
|
attachInternals(): ElementInternals;
|
|
381
365
|
click(): void;
|
|
382
366
|
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
@@ -387,10 +371,7 @@ declare const EntityManagement_base: (new (...args: any[]) => {
|
|
|
387
371
|
readonly classList: DOMTokenList;
|
|
388
372
|
className: string;
|
|
389
373
|
readonly clientHeight: number;
|
|
390
|
-
readonly clientLeft: number;
|
|
391
|
-
* Array which holds the column definitions.
|
|
392
|
-
* @public
|
|
393
|
-
*/
|
|
374
|
+
readonly clientLeft: number;
|
|
394
375
|
readonly clientTop: number;
|
|
395
376
|
readonly clientWidth: number;
|
|
396
377
|
id: string;
|
|
@@ -474,10 +455,6 @@ declare const EntityManagement_base: (new (...args: any[]) => {
|
|
|
474
455
|
getRootNode(options?: GetRootNodeOptions): Node;
|
|
475
456
|
hasChildNodes(): boolean;
|
|
476
457
|
insertBefore<T_2 extends Node>(node: T_2, child: Node): T_2;
|
|
477
|
-
/**
|
|
478
|
-
* Gets the default searchBarConfig if the user has not created their own.
|
|
479
|
-
* @internal
|
|
480
|
-
*/
|
|
481
458
|
isDefaultNamespace(namespace: string): boolean;
|
|
482
459
|
isEqualNode(otherNode: Node): boolean;
|
|
483
460
|
isSameNode(otherNode: Node): boolean;
|
|
@@ -518,7 +495,14 @@ declare const EntityManagement_base: (new (...args: any[]) => {
|
|
|
518
495
|
ariaExpanded: string;
|
|
519
496
|
ariaHasPopup: string;
|
|
520
497
|
ariaHidden: string;
|
|
521
|
-
ariaInvalid: string;
|
|
498
|
+
ariaInvalid: string; /**
|
|
499
|
+
* Event handler for when the user submits the action for the currently open form, either editing or adding the entity
|
|
500
|
+
*
|
|
501
|
+
* @param e - CustomEvent which contains the payload for the entity to submit to the backend
|
|
502
|
+
*
|
|
503
|
+
* Emits an event upon error
|
|
504
|
+
* @public
|
|
505
|
+
*/
|
|
522
506
|
ariaKeyShortcuts: string;
|
|
523
507
|
ariaLabel: string;
|
|
524
508
|
ariaLevel: string;
|
|
@@ -530,7 +514,12 @@ declare const EntityManagement_base: (new (...args: any[]) => {
|
|
|
530
514
|
ariaPlaceholder: string;
|
|
531
515
|
ariaPosInSet: string;
|
|
532
516
|
ariaPressed: string;
|
|
533
|
-
ariaReadOnly: string;
|
|
517
|
+
ariaReadOnly: string; /**
|
|
518
|
+
* Updates the reference to the current entity stored in the class. Added as an event listener on the class when receiving the `rowSelected` event.
|
|
519
|
+
*
|
|
520
|
+
* @param e - CustomEvent which contains data about the selected entity. If the row is not selected then the reference will be set to an empty object.
|
|
521
|
+
* @internal
|
|
522
|
+
*/
|
|
534
523
|
ariaRequired: string;
|
|
535
524
|
ariaRoleDescription: string;
|
|
536
525
|
ariaRowCount: string;
|
|
@@ -688,379 +677,6 @@ declare const EntityManagement_base: (new (...args: any[]) => {
|
|
|
688
677
|
*/
|
|
689
678
|
export declare const getErrorFormat: (err: any) => string;
|
|
690
679
|
|
|
691
|
-
declare class List extends List_base {
|
|
692
|
-
/**
|
|
693
|
-
* Name of the design system prefix that will be used in renderers.
|
|
694
|
-
* @public
|
|
695
|
-
*/
|
|
696
|
-
prefix: string;
|
|
697
|
-
resourceName: string;
|
|
698
|
-
title: string;
|
|
699
|
-
persistColumnStateKey: string;
|
|
700
|
-
sizeColumnsToFit: boolean;
|
|
701
|
-
rowSelection: string;
|
|
702
|
-
enableFilterBar: boolean;
|
|
703
|
-
asyncAdd: boolean;
|
|
704
|
-
asyncRemove: boolean;
|
|
705
|
-
asyncUpdate: boolean;
|
|
706
|
-
enableCellFlashing: boolean;
|
|
707
|
-
enableRowFlashing: boolean;
|
|
708
|
-
hideEdit: boolean;
|
|
709
|
-
hideDelete: boolean;
|
|
710
|
-
headerCaseType: GridProCaseType;
|
|
711
|
-
grid: ZeroGridPro;
|
|
712
|
-
datasource: GridProGenesisDatasource;
|
|
713
|
-
gridOptions: GridOptions;
|
|
714
|
-
columns: ColDef[];
|
|
715
|
-
datasourceConfig: DatasourceConfiguration;
|
|
716
|
-
actionButtonsConfig: any[];
|
|
717
|
-
deleteEvent: string;
|
|
718
|
-
updateEvent: string;
|
|
719
|
-
protected connect: Connect;
|
|
720
|
-
private gridEventsQueue;
|
|
721
|
-
connectedCallback(): void;
|
|
722
|
-
private onCellEditingStopped;
|
|
723
|
-
disconnectedCallback(): Promise<void>;
|
|
724
|
-
private handleFilterChanged;
|
|
725
|
-
private handleFilterCleared;
|
|
726
|
-
private select;
|
|
727
|
-
private edit;
|
|
728
|
-
delete(e: any): Promise<void>;
|
|
729
|
-
private addGridEventListener;
|
|
730
|
-
}
|
|
731
|
-
|
|
732
|
-
declare const List_base: (new (...args: any[]) => {
|
|
733
|
-
"__#1@#_container": FoundationLayoutContainer | LayoutCacheContainer | DOMContainer;
|
|
734
|
-
"__#1@#_latestTokenCode": string;
|
|
735
|
-
"__#1@#_hasFirstLoaded": boolean;
|
|
736
|
-
"__#1@#_cleanupTimeout": NodeJS.Timeout;
|
|
737
|
-
"__#1@#_shouldForceLifecycle": boolean;
|
|
738
|
-
cloneNode(deep?: boolean): Node;
|
|
739
|
-
deepClone(): Node;
|
|
740
|
-
readonly shouldRunDisconnect: boolean;
|
|
741
|
-
readonly shouldRunConnect: boolean;
|
|
742
|
-
"__#1@#_blockLifecycleDueToTokenChange"(lifecycleType: "connect" | "disconnect" | "reconnect"): boolean;
|
|
743
|
-
"__#1@#_tryFindContainingLayout"(e: Element): FoundationLayoutContainer | LayoutCacheContainer | DOMContainer;
|
|
744
|
-
connectedCallback(): void;
|
|
745
|
-
readonly $fastController: Controller;
|
|
746
|
-
$emit(type: string, detail?: any, options?: Omit<CustomEventInit<any>, "detail">): boolean | void;
|
|
747
|
-
disconnectedCallback(): void;
|
|
748
|
-
attributeChangedCallback(name: string, oldValue: string, newValue: string): void;
|
|
749
|
-
accessKey: string;
|
|
750
|
-
readonly accessKeyLabel: string;
|
|
751
|
-
autocapitalize: string;
|
|
752
|
-
dir: string;
|
|
753
|
-
draggable: boolean;
|
|
754
|
-
hidden: boolean;
|
|
755
|
-
inert: boolean;
|
|
756
|
-
innerText: string;
|
|
757
|
-
lang: string;
|
|
758
|
-
readonly offsetHeight: number;
|
|
759
|
-
readonly offsetLeft: number;
|
|
760
|
-
readonly offsetParent: Element;
|
|
761
|
-
readonly offsetTop: number;
|
|
762
|
-
readonly offsetWidth: number;
|
|
763
|
-
outerText: string;
|
|
764
|
-
spellcheck: boolean;
|
|
765
|
-
title: string;
|
|
766
|
-
translate: boolean;
|
|
767
|
-
attachInternals(): ElementInternals;
|
|
768
|
-
click(): void;
|
|
769
|
-
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
770
|
-
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
771
|
-
removeEventListener<K_1 extends keyof HTMLElementEventMap>(type: K_1, listener: (this: HTMLElement, ev: HTMLElementEventMap[K_1]) => any, options?: boolean | EventListenerOptions): void;
|
|
772
|
-
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
773
|
-
readonly attributes: NamedNodeMap;
|
|
774
|
-
readonly classList: DOMTokenList;
|
|
775
|
-
className: string;
|
|
776
|
-
readonly clientHeight: number;
|
|
777
|
-
readonly clientLeft: number;
|
|
778
|
-
readonly clientTop: number;
|
|
779
|
-
readonly clientWidth: number;
|
|
780
|
-
id: string;
|
|
781
|
-
readonly localName: string;
|
|
782
|
-
readonly namespaceURI: string;
|
|
783
|
-
onfullscreenchange: (this: Element, ev: Event) => any;
|
|
784
|
-
onfullscreenerror: (this: Element, ev: Event) => any;
|
|
785
|
-
outerHTML: string;
|
|
786
|
-
readonly ownerDocument: Document;
|
|
787
|
-
readonly part: DOMTokenList;
|
|
788
|
-
readonly prefix: string;
|
|
789
|
-
readonly scrollHeight: number;
|
|
790
|
-
scrollLeft: number;
|
|
791
|
-
scrollTop: number;
|
|
792
|
-
readonly scrollWidth: number;
|
|
793
|
-
readonly shadowRoot: ShadowRoot;
|
|
794
|
-
slot: string;
|
|
795
|
-
readonly tagName: string;
|
|
796
|
-
attachShadow(init: ShadowRootInit): ShadowRoot;
|
|
797
|
-
closest<K_2 extends keyof HTMLElementTagNameMap>(selector: K_2): HTMLElementTagNameMap[K_2];
|
|
798
|
-
closest<K_3 extends keyof SVGElementTagNameMap>(selector: K_3): SVGElementTagNameMap[K_3];
|
|
799
|
-
closest<E extends Element = Element>(selectors: string): E;
|
|
800
|
-
getAttribute(qualifiedName: string): string;
|
|
801
|
-
getAttributeNS(namespace: string, localName: string): string;
|
|
802
|
-
getAttributeNames(): string[];
|
|
803
|
-
getAttributeNode(qualifiedName: string): Attr;
|
|
804
|
-
getAttributeNodeNS(namespace: string, localName: string): Attr;
|
|
805
|
-
getBoundingClientRect(): DOMRect;
|
|
806
|
-
getClientRects(): DOMRectList;
|
|
807
|
-
getElementsByClassName(classNames: string): HTMLCollectionOf<Element>;
|
|
808
|
-
getElementsByTagName<K_4 extends keyof HTMLElementTagNameMap>(qualifiedName: K_4): HTMLCollectionOf<HTMLElementTagNameMap[K_4]>;
|
|
809
|
-
getElementsByTagName<K_5 extends keyof SVGElementTagNameMap>(qualifiedName: K_5): HTMLCollectionOf<SVGElementTagNameMap[K_5]>;
|
|
810
|
-
getElementsByTagName(qualifiedName: string): HTMLCollectionOf<Element>;
|
|
811
|
-
getElementsByTagNameNS(namespaceURI: "http://www.w3.org/1999/xhtml", localName: string): HTMLCollectionOf<HTMLElement>;
|
|
812
|
-
getElementsByTagNameNS(namespaceURI: "http://www.w3.org/2000/svg", localName: string): HTMLCollectionOf<SVGElement>;
|
|
813
|
-
getElementsByTagNameNS(namespace: string, localName: string): HTMLCollectionOf<Element>;
|
|
814
|
-
hasAttribute(qualifiedName: string): boolean;
|
|
815
|
-
hasAttributeNS(namespace: string, localName: string): boolean;
|
|
816
|
-
hasAttributes(): boolean;
|
|
817
|
-
hasPointerCapture(pointerId: number): boolean;
|
|
818
|
-
insertAdjacentElement(where: InsertPosition, element: Element): Element;
|
|
819
|
-
insertAdjacentHTML(position: InsertPosition, text: string): void;
|
|
820
|
-
insertAdjacentText(where: InsertPosition, data: string): void;
|
|
821
|
-
matches(selectors: string): boolean;
|
|
822
|
-
releasePointerCapture(pointerId: number): void;
|
|
823
|
-
removeAttribute(qualifiedName: string): void;
|
|
824
|
-
removeAttributeNS(namespace: string, localName: string): void;
|
|
825
|
-
removeAttributeNode(attr: Attr): Attr;
|
|
826
|
-
requestFullscreen(options?: FullscreenOptions): Promise<void>;
|
|
827
|
-
requestPointerLock(): void;
|
|
828
|
-
scroll(options?: ScrollToOptions): void;
|
|
829
|
-
scroll(x: number, y: number): void;
|
|
830
|
-
scrollBy(options?: ScrollToOptions): void;
|
|
831
|
-
scrollBy(x: number, y: number): void;
|
|
832
|
-
scrollIntoView(arg?: boolean | ScrollIntoViewOptions): void;
|
|
833
|
-
scrollTo(options?: ScrollToOptions): void;
|
|
834
|
-
scrollTo(x: number, y: number): void;
|
|
835
|
-
setAttribute(qualifiedName: string, value: string): void;
|
|
836
|
-
setAttributeNS(namespace: string, qualifiedName: string, value: string): void;
|
|
837
|
-
setAttributeNode(attr: Attr): Attr;
|
|
838
|
-
setAttributeNodeNS(attr: Attr): Attr;
|
|
839
|
-
setPointerCapture(pointerId: number): void;
|
|
840
|
-
toggleAttribute(qualifiedName: string, force?: boolean): boolean;
|
|
841
|
-
webkitMatchesSelector(selectors: string): boolean;
|
|
842
|
-
readonly baseURI: string;
|
|
843
|
-
readonly childNodes: NodeListOf<ChildNode>;
|
|
844
|
-
readonly firstChild: ChildNode;
|
|
845
|
-
readonly isConnected: boolean;
|
|
846
|
-
readonly lastChild: ChildNode;
|
|
847
|
-
readonly nextSibling: ChildNode;
|
|
848
|
-
readonly nodeName: string;
|
|
849
|
-
readonly nodeType: number;
|
|
850
|
-
nodeValue: string;
|
|
851
|
-
readonly parentElement: HTMLElement;
|
|
852
|
-
readonly parentNode: ParentNode;
|
|
853
|
-
readonly previousSibling: ChildNode;
|
|
854
|
-
textContent: string;
|
|
855
|
-
appendChild<T_1 extends Node>(node: T_1): T_1;
|
|
856
|
-
compareDocumentPosition(other: Node): number;
|
|
857
|
-
contains(other: Node): boolean;
|
|
858
|
-
getRootNode(options?: GetRootNodeOptions): Node;
|
|
859
|
-
hasChildNodes(): boolean;
|
|
860
|
-
insertBefore<T_2 extends Node>(node: T_2, child: Node): T_2;
|
|
861
|
-
isDefaultNamespace(namespace: string): boolean;
|
|
862
|
-
isEqualNode(otherNode: Node): boolean;
|
|
863
|
-
isSameNode(otherNode: Node): boolean;
|
|
864
|
-
lookupNamespaceURI(prefix: string): string;
|
|
865
|
-
lookupPrefix(namespace: string): string;
|
|
866
|
-
normalize(): void;
|
|
867
|
-
removeChild<T_3 extends Node>(child: T_3): T_3;
|
|
868
|
-
replaceChild<T_4 extends Node>(node: Node, child: T_4): T_4;
|
|
869
|
-
readonly ATTRIBUTE_NODE: number;
|
|
870
|
-
readonly CDATA_SECTION_NODE: number;
|
|
871
|
-
readonly COMMENT_NODE: number;
|
|
872
|
-
readonly DOCUMENT_FRAGMENT_NODE: number;
|
|
873
|
-
readonly DOCUMENT_NODE: number;
|
|
874
|
-
readonly DOCUMENT_POSITION_CONTAINED_BY: number;
|
|
875
|
-
readonly DOCUMENT_POSITION_CONTAINS: number;
|
|
876
|
-
readonly DOCUMENT_POSITION_DISCONNECTED: number;
|
|
877
|
-
readonly DOCUMENT_POSITION_FOLLOWING: number;
|
|
878
|
-
readonly DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC: number;
|
|
879
|
-
readonly DOCUMENT_POSITION_PRECEDING: number;
|
|
880
|
-
readonly DOCUMENT_TYPE_NODE: number;
|
|
881
|
-
readonly ELEMENT_NODE: number;
|
|
882
|
-
readonly ENTITY_NODE: number;
|
|
883
|
-
readonly ENTITY_REFERENCE_NODE: number;
|
|
884
|
-
readonly NOTATION_NODE: number;
|
|
885
|
-
readonly PROCESSING_INSTRUCTION_NODE: number;
|
|
886
|
-
readonly TEXT_NODE: number;
|
|
887
|
-
dispatchEvent(event: Event): boolean;
|
|
888
|
-
ariaAtomic: string;
|
|
889
|
-
ariaAutoComplete: string;
|
|
890
|
-
ariaBusy: string;
|
|
891
|
-
ariaChecked: string;
|
|
892
|
-
ariaColCount: string;
|
|
893
|
-
ariaColIndex: string;
|
|
894
|
-
ariaColIndexText: string;
|
|
895
|
-
ariaColSpan: string;
|
|
896
|
-
ariaCurrent: string;
|
|
897
|
-
ariaDisabled: string;
|
|
898
|
-
ariaExpanded: string;
|
|
899
|
-
ariaHasPopup: string;
|
|
900
|
-
ariaHidden: string;
|
|
901
|
-
ariaInvalid: string;
|
|
902
|
-
ariaKeyShortcuts: string;
|
|
903
|
-
ariaLabel: string;
|
|
904
|
-
ariaLevel: string;
|
|
905
|
-
ariaLive: string;
|
|
906
|
-
ariaModal: string;
|
|
907
|
-
ariaMultiLine: string;
|
|
908
|
-
ariaMultiSelectable: string;
|
|
909
|
-
ariaOrientation: string;
|
|
910
|
-
ariaPlaceholder: string;
|
|
911
|
-
ariaPosInSet: string;
|
|
912
|
-
ariaPressed: string;
|
|
913
|
-
ariaReadOnly: string;
|
|
914
|
-
ariaRequired: string;
|
|
915
|
-
ariaRoleDescription: string;
|
|
916
|
-
ariaRowCount: string;
|
|
917
|
-
ariaRowIndex: string;
|
|
918
|
-
ariaRowIndexText: string;
|
|
919
|
-
ariaRowSpan: string;
|
|
920
|
-
ariaSelected: string;
|
|
921
|
-
ariaSetSize: string;
|
|
922
|
-
ariaSort: string;
|
|
923
|
-
ariaValueMax: string;
|
|
924
|
-
ariaValueMin: string;
|
|
925
|
-
ariaValueNow: string;
|
|
926
|
-
ariaValueText: string;
|
|
927
|
-
role: string;
|
|
928
|
-
animate(keyframes: PropertyIndexedKeyframes | Keyframe[], options?: number | KeyframeAnimationOptions): Animation;
|
|
929
|
-
getAnimations(options?: GetAnimationsOptions): Animation[];
|
|
930
|
-
after(...nodes: (string | Node)[]): void;
|
|
931
|
-
before(...nodes: (string | Node)[]): void;
|
|
932
|
-
remove(): void;
|
|
933
|
-
replaceWith(...nodes: (string | Node)[]): void;
|
|
934
|
-
innerHTML: string;
|
|
935
|
-
readonly nextElementSibling: Element;
|
|
936
|
-
readonly previousElementSibling: Element;
|
|
937
|
-
readonly childElementCount: number;
|
|
938
|
-
readonly children: HTMLCollection;
|
|
939
|
-
readonly firstElementChild: Element;
|
|
940
|
-
readonly lastElementChild: Element;
|
|
941
|
-
append(...nodes: (string | Node)[]): void;
|
|
942
|
-
prepend(...nodes: (string | Node)[]): void;
|
|
943
|
-
querySelector<K_6 extends keyof HTMLElementTagNameMap>(selectors: K_6): HTMLElementTagNameMap[K_6];
|
|
944
|
-
querySelector<K_7 extends keyof SVGElementTagNameMap>(selectors: K_7): SVGElementTagNameMap[K_7];
|
|
945
|
-
querySelector<E_1 extends Element = Element>(selectors: string): E_1;
|
|
946
|
-
querySelectorAll<K_8 extends keyof HTMLElementTagNameMap>(selectors: K_8): NodeListOf<HTMLElementTagNameMap[K_8]>;
|
|
947
|
-
querySelectorAll<K_9 extends keyof SVGElementTagNameMap>(selectors: K_9): NodeListOf<SVGElementTagNameMap[K_9]>;
|
|
948
|
-
querySelectorAll<E_2 extends Element = Element>(selectors: string): NodeListOf<E_2>;
|
|
949
|
-
replaceChildren(...nodes: (string | Node)[]): void;
|
|
950
|
-
readonly assignedSlot: HTMLSlotElement;
|
|
951
|
-
oncopy: (this: DocumentAndElementEventHandlers, ev: ClipboardEvent) => any;
|
|
952
|
-
oncut: (this: DocumentAndElementEventHandlers, ev: ClipboardEvent) => any;
|
|
953
|
-
onpaste: (this: DocumentAndElementEventHandlers, ev: ClipboardEvent) => any;
|
|
954
|
-
readonly style: CSSStyleDeclaration;
|
|
955
|
-
contentEditable: string;
|
|
956
|
-
enterKeyHint: string;
|
|
957
|
-
inputMode: string;
|
|
958
|
-
readonly isContentEditable: boolean;
|
|
959
|
-
onabort: (this: GlobalEventHandlers, ev: UIEvent) => any;
|
|
960
|
-
onanimationcancel: (this: GlobalEventHandlers, ev: AnimationEvent) => any;
|
|
961
|
-
onanimationend: (this: GlobalEventHandlers, ev: AnimationEvent) => any;
|
|
962
|
-
onanimationiteration: (this: GlobalEventHandlers, ev: AnimationEvent) => any;
|
|
963
|
-
onanimationstart: (this: GlobalEventHandlers, ev: AnimationEvent) => any;
|
|
964
|
-
onauxclick: (this: GlobalEventHandlers, ev: MouseEvent) => any;
|
|
965
|
-
onbeforeinput: (this: GlobalEventHandlers, ev: InputEvent) => any;
|
|
966
|
-
onblur: (this: GlobalEventHandlers, ev: FocusEvent) => any;
|
|
967
|
-
oncancel: (this: GlobalEventHandlers, ev: Event) => any;
|
|
968
|
-
oncanplay: (this: GlobalEventHandlers, ev: Event) => any;
|
|
969
|
-
oncanplaythrough: (this: GlobalEventHandlers, ev: Event) => any;
|
|
970
|
-
onchange: (this: GlobalEventHandlers, ev: Event) => any;
|
|
971
|
-
onclick: (this: GlobalEventHandlers, ev: MouseEvent) => any;
|
|
972
|
-
onclose: (this: GlobalEventHandlers, ev: Event) => any;
|
|
973
|
-
oncontextmenu: (this: GlobalEventHandlers, ev: MouseEvent) => any;
|
|
974
|
-
oncuechange: (this: GlobalEventHandlers, ev: Event) => any;
|
|
975
|
-
ondblclick: (this: GlobalEventHandlers, ev: MouseEvent) => any;
|
|
976
|
-
ondrag: (this: GlobalEventHandlers, ev: DragEvent) => any;
|
|
977
|
-
ondragend: (this: GlobalEventHandlers, ev: DragEvent) => any;
|
|
978
|
-
ondragenter: (this: GlobalEventHandlers, ev: DragEvent) => any;
|
|
979
|
-
ondragleave: (this: GlobalEventHandlers, ev: DragEvent) => any;
|
|
980
|
-
ondragover: (this: GlobalEventHandlers, ev: DragEvent) => any;
|
|
981
|
-
ondragstart: (this: GlobalEventHandlers, ev: DragEvent) => any;
|
|
982
|
-
ondrop: (this: GlobalEventHandlers, ev: DragEvent) => any;
|
|
983
|
-
ondurationchange: (this: GlobalEventHandlers, ev: Event) => any;
|
|
984
|
-
onemptied: (this: GlobalEventHandlers, ev: Event) => any;
|
|
985
|
-
onended: (this: GlobalEventHandlers, ev: Event) => any;
|
|
986
|
-
onerror: OnErrorEventHandlerNonNull;
|
|
987
|
-
onfocus: (this: GlobalEventHandlers, ev: FocusEvent) => any;
|
|
988
|
-
onformdata: (this: GlobalEventHandlers, ev: FormDataEvent) => any;
|
|
989
|
-
ongotpointercapture: (this: GlobalEventHandlers, ev: PointerEvent) => any;
|
|
990
|
-
oninput: (this: GlobalEventHandlers, ev: Event) => any;
|
|
991
|
-
oninvalid: (this: GlobalEventHandlers, ev: Event) => any;
|
|
992
|
-
onkeydown: (this: GlobalEventHandlers, ev: KeyboardEvent) => any;
|
|
993
|
-
onkeypress: (this: GlobalEventHandlers, ev: KeyboardEvent) => any;
|
|
994
|
-
onkeyup: (this: GlobalEventHandlers, ev: KeyboardEvent) => any;
|
|
995
|
-
onload: (this: GlobalEventHandlers, ev: Event) => any;
|
|
996
|
-
onloadeddata: (this: GlobalEventHandlers, ev: Event) => any;
|
|
997
|
-
onloadedmetadata: (this: GlobalEventHandlers, ev: Event) => any;
|
|
998
|
-
onloadstart: (this: GlobalEventHandlers, ev: Event) => any;
|
|
999
|
-
onlostpointercapture: (this: GlobalEventHandlers, ev: PointerEvent) => any;
|
|
1000
|
-
onmousedown: (this: GlobalEventHandlers, ev: MouseEvent) => any;
|
|
1001
|
-
onmouseenter: (this: GlobalEventHandlers, ev: MouseEvent) => any;
|
|
1002
|
-
onmouseleave: (this: GlobalEventHandlers, ev: MouseEvent) => any;
|
|
1003
|
-
onmousemove: (this: GlobalEventHandlers, ev: MouseEvent) => any;
|
|
1004
|
-
onmouseout: (this: GlobalEventHandlers, ev: MouseEvent) => any;
|
|
1005
|
-
onmouseover: (this: GlobalEventHandlers, ev: MouseEvent) => any;
|
|
1006
|
-
onmouseup: (this: GlobalEventHandlers, ev: MouseEvent) => any;
|
|
1007
|
-
onpause: (this: GlobalEventHandlers, ev: Event) => any;
|
|
1008
|
-
onplay: (this: GlobalEventHandlers, ev: Event) => any;
|
|
1009
|
-
onplaying: (this: GlobalEventHandlers, ev: Event) => any;
|
|
1010
|
-
onpointercancel: (this: GlobalEventHandlers, ev: PointerEvent) => any;
|
|
1011
|
-
onpointerdown: (this: GlobalEventHandlers, ev: PointerEvent) => any;
|
|
1012
|
-
onpointerenter: (this: GlobalEventHandlers, ev: PointerEvent) => any;
|
|
1013
|
-
onpointerleave: (this: GlobalEventHandlers, ev: PointerEvent) => any;
|
|
1014
|
-
onpointermove: (this: GlobalEventHandlers, ev: PointerEvent) => any;
|
|
1015
|
-
onpointerout: (this: GlobalEventHandlers, ev: PointerEvent) => any;
|
|
1016
|
-
onpointerover: (this: GlobalEventHandlers, ev: PointerEvent) => any;
|
|
1017
|
-
onpointerup: (this: GlobalEventHandlers, ev: PointerEvent) => any;
|
|
1018
|
-
onprogress: (this: GlobalEventHandlers, ev: ProgressEvent<EventTarget>) => any;
|
|
1019
|
-
onratechange: (this: GlobalEventHandlers, ev: Event) => any;
|
|
1020
|
-
onreset: (this: GlobalEventHandlers, ev: Event) => any;
|
|
1021
|
-
onresize: (this: GlobalEventHandlers, ev: UIEvent) => any;
|
|
1022
|
-
onscroll: (this: GlobalEventHandlers, ev: Event) => any;
|
|
1023
|
-
onsecuritypolicyviolation: (this: GlobalEventHandlers, ev: SecurityPolicyViolationEvent) => any;
|
|
1024
|
-
onseeked: (this: GlobalEventHandlers, ev: Event) => any;
|
|
1025
|
-
onseeking: (this: GlobalEventHandlers, ev: Event) => any;
|
|
1026
|
-
onselect: (this: GlobalEventHandlers, ev: Event) => any;
|
|
1027
|
-
onselectionchange: (this: GlobalEventHandlers, ev: Event) => any;
|
|
1028
|
-
onselectstart: (this: GlobalEventHandlers, ev: Event) => any;
|
|
1029
|
-
onslotchange: (this: GlobalEventHandlers, ev: Event) => any;
|
|
1030
|
-
onstalled: (this: GlobalEventHandlers, ev: Event) => any;
|
|
1031
|
-
onsubmit: (this: GlobalEventHandlers, ev: SubmitEvent) => any;
|
|
1032
|
-
onsuspend: (this: GlobalEventHandlers, ev: Event) => any;
|
|
1033
|
-
ontimeupdate: (this: GlobalEventHandlers, ev: Event) => any;
|
|
1034
|
-
ontoggle: (this: GlobalEventHandlers, ev: Event) => any;
|
|
1035
|
-
ontouchcancel?: (this: GlobalEventHandlers, ev: TouchEvent) => any;
|
|
1036
|
-
ontouchend?: (this: GlobalEventHandlers, ev: TouchEvent) => any;
|
|
1037
|
-
ontouchmove?: (this: GlobalEventHandlers, ev: TouchEvent) => any;
|
|
1038
|
-
ontouchstart?: (this: GlobalEventHandlers, ev: TouchEvent) => any;
|
|
1039
|
-
ontransitioncancel: (this: GlobalEventHandlers, ev: TransitionEvent) => any;
|
|
1040
|
-
ontransitionend: (this: GlobalEventHandlers, ev: TransitionEvent) => any;
|
|
1041
|
-
ontransitionrun: (this: GlobalEventHandlers, ev: TransitionEvent) => any;
|
|
1042
|
-
ontransitionstart: (this: GlobalEventHandlers, ev: TransitionEvent) => any;
|
|
1043
|
-
onvolumechange: (this: GlobalEventHandlers, ev: Event) => any;
|
|
1044
|
-
onwaiting: (this: GlobalEventHandlers, ev: Event) => any;
|
|
1045
|
-
onwebkitanimationend: (this: GlobalEventHandlers, ev: Event) => any;
|
|
1046
|
-
onwebkitanimationiteration: (this: GlobalEventHandlers, ev: Event) => any;
|
|
1047
|
-
onwebkitanimationstart: (this: GlobalEventHandlers, ev: Event) => any;
|
|
1048
|
-
onwebkittransitionend: (this: GlobalEventHandlers, ev: Event) => any;
|
|
1049
|
-
onwheel: (this: GlobalEventHandlers, ev: WheelEvent) => any;
|
|
1050
|
-
autofocus: boolean;
|
|
1051
|
-
readonly dataset: DOMStringMap;
|
|
1052
|
-
nonce?: string;
|
|
1053
|
-
tabIndex: number;
|
|
1054
|
-
blur(): void;
|
|
1055
|
-
focus(options?: FocusOptions): void;
|
|
1056
|
-
}) & (new () => HTMLElement & FASTElement) & {
|
|
1057
|
-
from<TBase extends {
|
|
1058
|
-
new (): HTMLElement;
|
|
1059
|
-
prototype: HTMLElement;
|
|
1060
|
-
}>(BaseType: TBase): new () => InstanceType<TBase> & FASTElement;
|
|
1061
|
-
define<TType extends Function>(type: TType, nameOrDef?: string | PartialFASTElementDefinition): TType;
|
|
1062
|
-
};
|
|
1063
|
-
|
|
1064
680
|
/**
|
|
1065
681
|
* @internal
|
|
1066
682
|
*/
|
|
@@ -55,10 +55,8 @@ Where:<br /> - the title of the grid is `Counterparty Management`<br /> - the na
|
|
|
55
55
|
| [enableRowFlashing](./foundation-entity-management.entitymanagement.enablerowflashing.md) | | boolean | If true, will enable row flashing for all rows for <code>add</code> transactions |
|
|
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
|
-
| [entityList](./foundation-entity-management.entitymanagement.entitylist.md) | | List | |
|
|
59
58
|
| [formRenderers](./foundation-entity-management.entitymanagement.formrenderers.md) | | RendererEntry\[\] | Array with renderers used by foundation-forms |
|
|
60
59
|
| [formUiSchema](./foundation-entity-management.entitymanagement.formuischema.md) | | any | |
|
|
61
|
-
| [gridEventsQueue](./foundation-entity-management.entitymanagement.grideventsqueue.md) | | string\[\] | |
|
|
62
60
|
| [gridOptions](./foundation-entity-management.entitymanagement.gridoptions.md) | | GridOptions | GridOptions to be passed down from application |
|
|
63
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. |
|
|
64
62
|
| [headerTempalate](./foundation-entity-management.entitymanagement.headertempalate.md) | <code>readonly</code> | import("@microsoft/fast-element").ViewTemplate<[EntityManagement](./foundation-entity-management.entitymanagement.md)<!-- -->, any> | |
|
|
@@ -84,7 +82,6 @@ Where:<br /> - the title of the grid is `Counterparty Management`<br /> - the na
|
|
|
84
82
|
|
|
85
83
|
| Method | Modifiers | Description |
|
|
86
84
|
| --- | --- | --- |
|
|
87
|
-
| [addEventListener(type, listener, options)](./foundation-entity-management.entitymanagement.addeventlistener.md) | | |
|
|
88
85
|
| [closeModal()](./foundation-entity-management.entitymanagement.closemodal.md) | | |
|
|
89
86
|
| [confirmDelete()](./foundation-entity-management.entitymanagement.confirmdelete.md) | | |
|
|
90
87
|
| [criteriaChanged(e)](./foundation-entity-management.entitymanagement.criteriachanged.md) | | |
|
package/docs/api-report.md
CHANGED
|
@@ -18,7 +18,6 @@ import { FoundationAnalytics } from '@genesislcap/foundation-comms';
|
|
|
18
18
|
import { FoundationLayoutContainer } from '@genesislcap/foundation-utils';
|
|
19
19
|
import { GridOptions } from '@ag-grid-community/core';
|
|
20
20
|
import type { GridProCaseType } from '@genesislcap/grid-pro';
|
|
21
|
-
import { GridProGenesisDatasource } from '@genesislcap/foundation-zero-grid-pro';
|
|
22
21
|
import { GridProRendererTypes } from '@genesislcap/foundation-zero-grid-pro';
|
|
23
22
|
import { LayoutCacheContainer } from '@genesislcap/foundation-utils';
|
|
24
23
|
import { Logger } from '@genesislcap/foundation-logger';
|
|
@@ -28,7 +27,6 @@ import { RouterConfiguration } from '@microsoft/fast-router';
|
|
|
28
27
|
import { SelectedOption } from '@genesislcap/foundation-ui';
|
|
29
28
|
import { Session } from '@genesislcap/foundation-comms';
|
|
30
29
|
import { ViewTemplate } from '@microsoft/fast-element';
|
|
31
|
-
import { ZeroGridPro } from '@genesislcap/foundation-zero-grid-pro';
|
|
32
30
|
|
|
33
31
|
// @public (undocumented)
|
|
34
32
|
export const buttonCellRenderer: (title: any, clickHandler: any, contentTemplate: any) => ColDef;
|
|
@@ -45,8 +43,6 @@ export const DynamicTemplate: ViewTemplate<MainApplication>;
|
|
|
45
43
|
//
|
|
46
44
|
// @public
|
|
47
45
|
export class EntityManagement extends EntityManagement_base {
|
|
48
|
-
// (undocumented)
|
|
49
|
-
addEventListener(type: any, listener: any, options?: boolean | AddEventListenerOptions): void;
|
|
50
46
|
asyncAdd: boolean;
|
|
51
47
|
asyncRemove: boolean;
|
|
52
48
|
asyncUpdate: boolean;
|
|
@@ -88,10 +84,6 @@ export class EntityManagement extends EntityManagement_base {
|
|
|
88
84
|
enableRowFlashing: boolean;
|
|
89
85
|
enableSearchBar: boolean;
|
|
90
86
|
entityLabel: string;
|
|
91
|
-
// Warning: (ae-forgotten-export) The symbol "List" needs to be exported by the entry point index.d.ts
|
|
92
|
-
//
|
|
93
|
-
// (undocumented)
|
|
94
|
-
entityList: List;
|
|
95
87
|
// @internal
|
|
96
88
|
errorNotify(request: any): void;
|
|
97
89
|
formRenderers: RendererEntry[];
|
|
@@ -99,8 +91,6 @@ export class EntityManagement extends EntityManagement_base {
|
|
|
99
91
|
formResourceName: string;
|
|
100
92
|
// (undocumented)
|
|
101
93
|
formUiSchema: any;
|
|
102
|
-
// (undocumented)
|
|
103
|
-
gridEventsQueue: string[];
|
|
104
94
|
gridOptions: GridOptions;
|
|
105
95
|
headerCaseType: GridProCaseType;
|
|
106
96
|
// (undocumented)
|
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.182.0
|
|
4
|
+
"version": "14.182.0",
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"license": "SEE LICENSE IN license.txt",
|
|
7
7
|
"main": "dist/esm/index.js",
|
|
@@ -43,29 +43,29 @@
|
|
|
43
43
|
"test:debug": "genx test --debug"
|
|
44
44
|
},
|
|
45
45
|
"devDependencies": {
|
|
46
|
-
"@genesislcap/foundation-testing": "14.182.0
|
|
47
|
-
"@genesislcap/genx": "14.182.0
|
|
48
|
-
"@genesislcap/rollup-builder": "14.182.0
|
|
49
|
-
"@genesislcap/ts-builder": "14.182.0
|
|
50
|
-
"@genesislcap/uvu-playwright-builder": "14.182.0
|
|
51
|
-
"@genesislcap/vite-builder": "14.182.0
|
|
52
|
-
"@genesislcap/webpack-builder": "14.182.0
|
|
46
|
+
"@genesislcap/foundation-testing": "14.182.0",
|
|
47
|
+
"@genesislcap/genx": "14.182.0",
|
|
48
|
+
"@genesislcap/rollup-builder": "14.182.0",
|
|
49
|
+
"@genesislcap/ts-builder": "14.182.0",
|
|
50
|
+
"@genesislcap/uvu-playwright-builder": "14.182.0",
|
|
51
|
+
"@genesislcap/vite-builder": "14.182.0",
|
|
52
|
+
"@genesislcap/webpack-builder": "14.182.0",
|
|
53
53
|
"rimraf": "^3.0.2"
|
|
54
54
|
},
|
|
55
55
|
"dependencies": {
|
|
56
56
|
"@ag-grid-community/core": "29.2.0",
|
|
57
|
-
"@genesislcap/foundation-comms": "14.182.0
|
|
58
|
-
"@genesislcap/foundation-errors": "14.182.0
|
|
59
|
-
"@genesislcap/foundation-events": "14.182.0
|
|
60
|
-
"@genesislcap/foundation-forms": "14.182.0
|
|
61
|
-
"@genesislcap/foundation-logger": "14.182.0
|
|
62
|
-
"@genesislcap/foundation-login": "14.182.0
|
|
63
|
-
"@genesislcap/foundation-notifications": "14.182.0
|
|
64
|
-
"@genesislcap/foundation-ui": "14.182.0
|
|
65
|
-
"@genesislcap/foundation-utils": "14.182.0
|
|
66
|
-
"@genesislcap/foundation-zero": "14.182.0
|
|
67
|
-
"@genesislcap/foundation-zero-grid-pro": "14.182.0
|
|
68
|
-
"@genesislcap/grid-pro": "14.182.0
|
|
57
|
+
"@genesislcap/foundation-comms": "14.182.0",
|
|
58
|
+
"@genesislcap/foundation-errors": "14.182.0",
|
|
59
|
+
"@genesislcap/foundation-events": "14.182.0",
|
|
60
|
+
"@genesislcap/foundation-forms": "14.182.0",
|
|
61
|
+
"@genesislcap/foundation-logger": "14.182.0",
|
|
62
|
+
"@genesislcap/foundation-login": "14.182.0",
|
|
63
|
+
"@genesislcap/foundation-notifications": "14.182.0",
|
|
64
|
+
"@genesislcap/foundation-ui": "14.182.0",
|
|
65
|
+
"@genesislcap/foundation-utils": "14.182.0",
|
|
66
|
+
"@genesislcap/foundation-zero": "14.182.0",
|
|
67
|
+
"@genesislcap/foundation-zero-grid-pro": "14.182.0",
|
|
68
|
+
"@genesislcap/grid-pro": "14.182.0",
|
|
69
69
|
"@microsoft/fast-components": "^2.30.6",
|
|
70
70
|
"@microsoft/fast-element": "^1.12.0",
|
|
71
71
|
"@microsoft/fast-foundation": "^2.49.4",
|
|
@@ -81,5 +81,5 @@
|
|
|
81
81
|
"access": "public"
|
|
82
82
|
},
|
|
83
83
|
"customElements": "dist/custom-elements.json",
|
|
84
|
-
"gitHead": "
|
|
84
|
+
"gitHead": "869ecb0a766ed455393c6b1b050b47edd592918e"
|
|
85
85
|
}
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
-
|
|
3
|
-
[Home](./index.md) > [@genesislcap/foundation-entity-management](./foundation-entity-management.md) > [EntityManagement](./foundation-entity-management.entitymanagement.md) > [addEventListener](./foundation-entity-management.entitymanagement.addeventlistener.md)
|
|
4
|
-
|
|
5
|
-
## EntityManagement.addEventListener() method
|
|
6
|
-
|
|
7
|
-
**Signature:**
|
|
8
|
-
|
|
9
|
-
```typescript
|
|
10
|
-
addEventListener(type: any, listener: any, options?: boolean | AddEventListenerOptions): void;
|
|
11
|
-
```
|
|
12
|
-
|
|
13
|
-
## Parameters
|
|
14
|
-
|
|
15
|
-
| Parameter | Type | Description |
|
|
16
|
-
| --- | --- | --- |
|
|
17
|
-
| type | any | |
|
|
18
|
-
| listener | any | |
|
|
19
|
-
| options | boolean \| AddEventListenerOptions | _(Optional)_ |
|
|
20
|
-
|
|
21
|
-
**Returns:**
|
|
22
|
-
|
|
23
|
-
void
|
|
24
|
-
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
-
|
|
3
|
-
[Home](./index.md) > [@genesislcap/foundation-entity-management](./foundation-entity-management.md) > [EntityManagement](./foundation-entity-management.entitymanagement.md) > [entityList](./foundation-entity-management.entitymanagement.entitylist.md)
|
|
4
|
-
|
|
5
|
-
## EntityManagement.entityList property
|
|
6
|
-
|
|
7
|
-
**Signature:**
|
|
8
|
-
|
|
9
|
-
```typescript
|
|
10
|
-
entityList: List;
|
|
11
|
-
```
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
-
|
|
3
|
-
[Home](./index.md) > [@genesislcap/foundation-entity-management](./foundation-entity-management.md) > [EntityManagement](./foundation-entity-management.entitymanagement.md) > [gridEventsQueue](./foundation-entity-management.entitymanagement.grideventsqueue.md)
|
|
4
|
-
|
|
5
|
-
## EntityManagement.gridEventsQueue property
|
|
6
|
-
|
|
7
|
-
**Signature:**
|
|
8
|
-
|
|
9
|
-
```typescript
|
|
10
|
-
gridEventsQueue: string[];
|
|
11
|
-
```
|