@genesislcap/foundation-entity-management 14.176.1-alpha-ed9e3d4.0 → 14.177.1
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 +55 -49
- package/dist/dts/entities/entities.d.ts +18 -28
- package/dist/dts/entities/entities.d.ts.map +1 -1
- package/dist/dts/list/list.d.ts +334 -2
- package/dist/dts/list/list.d.ts.map +1 -1
- package/dist/dts/users/users.d.ts +14 -6
- package/dist/dts/users/users.d.ts.map +1 -1
- package/dist/esm/entities/entities.js +14 -1
- package/dist/esm/list/list.js +18 -7
- package/dist/esm/users/users.js +16 -1
- package/dist/foundation-entity-management.api.json +72 -0
- package/dist/foundation-entity-management.d.ts +32 -34
- package/docs/api/foundation-entity-management.entitymanagement.disconnectedcallback.md +15 -0
- package/docs/api/foundation-entity-management.entitymanagement.md +1 -0
- package/docs/api/foundation-entity-management.users.disconnectedcallback.md +15 -0
- package/docs/api/foundation-entity-management.users.md +1 -0
- package/docs/api-report.md +4 -0
- package/package.json +21 -21
|
@@ -880,55 +880,6 @@
|
|
|
880
880
|
}
|
|
881
881
|
]
|
|
882
882
|
},
|
|
883
|
-
{
|
|
884
|
-
"kind": "javascript-module",
|
|
885
|
-
"path": "src/layouts/default.ts",
|
|
886
|
-
"declarations": [
|
|
887
|
-
{
|
|
888
|
-
"kind": "variable",
|
|
889
|
-
"name": "loginLayout",
|
|
890
|
-
"default": "new FASTElementLayout(\n html`\n <div class=\"container\">\n <div class=\"content\">\n <slot></slot>\n </div>\n </div>\n `,\n baseLayoutCss,\n)"
|
|
891
|
-
},
|
|
892
|
-
{
|
|
893
|
-
"kind": "variable",
|
|
894
|
-
"name": "defaultLayout",
|
|
895
|
-
"default": "new FASTElementLayout(\n html`\n <div class=\"container\">\n <div class=\"content\">\n <slot></slot>\n </div>\n </div>\n `,\n css`\n ${baseLayoutCss}\n `,\n)"
|
|
896
|
-
}
|
|
897
|
-
],
|
|
898
|
-
"exports": [
|
|
899
|
-
{
|
|
900
|
-
"kind": "js",
|
|
901
|
-
"name": "loginLayout",
|
|
902
|
-
"declaration": {
|
|
903
|
-
"name": "loginLayout",
|
|
904
|
-
"module": "src/layouts/default.ts"
|
|
905
|
-
}
|
|
906
|
-
},
|
|
907
|
-
{
|
|
908
|
-
"kind": "js",
|
|
909
|
-
"name": "defaultLayout",
|
|
910
|
-
"declaration": {
|
|
911
|
-
"name": "defaultLayout",
|
|
912
|
-
"module": "src/layouts/default.ts"
|
|
913
|
-
}
|
|
914
|
-
}
|
|
915
|
-
]
|
|
916
|
-
},
|
|
917
|
-
{
|
|
918
|
-
"kind": "javascript-module",
|
|
919
|
-
"path": "src/layouts/index.ts",
|
|
920
|
-
"declarations": [],
|
|
921
|
-
"exports": [
|
|
922
|
-
{
|
|
923
|
-
"kind": "js",
|
|
924
|
-
"name": "*",
|
|
925
|
-
"declaration": {
|
|
926
|
-
"name": "*",
|
|
927
|
-
"package": "./default"
|
|
928
|
-
}
|
|
929
|
-
}
|
|
930
|
-
]
|
|
931
|
-
},
|
|
932
883
|
{
|
|
933
884
|
"kind": "javascript-module",
|
|
934
885
|
"path": "src/list/index.ts",
|
|
@@ -1359,6 +1310,12 @@
|
|
|
1359
1310
|
"fieldName": "headerCaseType"
|
|
1360
1311
|
}
|
|
1361
1312
|
],
|
|
1313
|
+
"mixins": [
|
|
1314
|
+
{
|
|
1315
|
+
"name": "LifecycleMixin",
|
|
1316
|
+
"package": "@genesislcap/foundation-utils"
|
|
1317
|
+
}
|
|
1318
|
+
],
|
|
1362
1319
|
"superclass": {
|
|
1363
1320
|
"name": "FASTElement",
|
|
1364
1321
|
"package": "@microsoft/fast-element"
|
|
@@ -1386,6 +1343,55 @@
|
|
|
1386
1343
|
}
|
|
1387
1344
|
]
|
|
1388
1345
|
},
|
|
1346
|
+
{
|
|
1347
|
+
"kind": "javascript-module",
|
|
1348
|
+
"path": "src/layouts/default.ts",
|
|
1349
|
+
"declarations": [
|
|
1350
|
+
{
|
|
1351
|
+
"kind": "variable",
|
|
1352
|
+
"name": "loginLayout",
|
|
1353
|
+
"default": "new FASTElementLayout(\n html`\n <div class=\"container\">\n <div class=\"content\">\n <slot></slot>\n </div>\n </div>\n `,\n baseLayoutCss,\n)"
|
|
1354
|
+
},
|
|
1355
|
+
{
|
|
1356
|
+
"kind": "variable",
|
|
1357
|
+
"name": "defaultLayout",
|
|
1358
|
+
"default": "new FASTElementLayout(\n html`\n <div class=\"container\">\n <div class=\"content\">\n <slot></slot>\n </div>\n </div>\n `,\n css`\n ${baseLayoutCss}\n `,\n)"
|
|
1359
|
+
}
|
|
1360
|
+
],
|
|
1361
|
+
"exports": [
|
|
1362
|
+
{
|
|
1363
|
+
"kind": "js",
|
|
1364
|
+
"name": "loginLayout",
|
|
1365
|
+
"declaration": {
|
|
1366
|
+
"name": "loginLayout",
|
|
1367
|
+
"module": "src/layouts/default.ts"
|
|
1368
|
+
}
|
|
1369
|
+
},
|
|
1370
|
+
{
|
|
1371
|
+
"kind": "js",
|
|
1372
|
+
"name": "defaultLayout",
|
|
1373
|
+
"declaration": {
|
|
1374
|
+
"name": "defaultLayout",
|
|
1375
|
+
"module": "src/layouts/default.ts"
|
|
1376
|
+
}
|
|
1377
|
+
}
|
|
1378
|
+
]
|
|
1379
|
+
},
|
|
1380
|
+
{
|
|
1381
|
+
"kind": "javascript-module",
|
|
1382
|
+
"path": "src/layouts/index.ts",
|
|
1383
|
+
"declarations": [],
|
|
1384
|
+
"exports": [
|
|
1385
|
+
{
|
|
1386
|
+
"kind": "js",
|
|
1387
|
+
"name": "*",
|
|
1388
|
+
"declaration": {
|
|
1389
|
+
"name": "*",
|
|
1390
|
+
"package": "./default"
|
|
1391
|
+
}
|
|
1392
|
+
}
|
|
1393
|
+
]
|
|
1394
|
+
},
|
|
1389
1395
|
{
|
|
1390
1396
|
"kind": "javascript-module",
|
|
1391
1397
|
"path": "src/main/index.ts",
|
|
@@ -68,10 +68,7 @@ declare const EntityManagement_base: (new (...args: any[]) => {
|
|
|
68
68
|
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
69
69
|
readonly attributes: NamedNodeMap;
|
|
70
70
|
readonly classList: DOMTokenList;
|
|
71
|
-
className: string;
|
|
72
|
-
* Array which holds the column definitions.
|
|
73
|
-
* @public
|
|
74
|
-
*/
|
|
71
|
+
className: string;
|
|
75
72
|
readonly clientHeight: number;
|
|
76
73
|
readonly clientLeft: number;
|
|
77
74
|
readonly clientTop: number;
|
|
@@ -113,7 +110,11 @@ declare const EntityManagement_base: (new (...args: any[]) => {
|
|
|
113
110
|
hasAttribute(qualifiedName: string): boolean;
|
|
114
111
|
hasAttributeNS(namespace: string, localName: string): boolean;
|
|
115
112
|
hasAttributes(): boolean;
|
|
116
|
-
hasPointerCapture(pointerId: number): boolean;
|
|
113
|
+
hasPointerCapture(pointerId: number): boolean; /**
|
|
114
|
+
* The case type to use for the header names. If not set, the default CONSTANT_CASE will be used.
|
|
115
|
+
* @remarks Can be one of the following: camelCase, capitalCase, dotCase, headerCase, noCase, paramCase, pascalCase, pathCase, sentenceCase, snakeCase.
|
|
116
|
+
* @public
|
|
117
|
+
*/
|
|
117
118
|
insertAdjacentElement(where: InsertPosition, element: Element): Element;
|
|
118
119
|
insertAdjacentHTML(position: InsertPosition, text: string): void;
|
|
119
120
|
insertAdjacentText(where: InsertPosition, data: string): void;
|
|
@@ -122,10 +123,7 @@ declare const EntityManagement_base: (new (...args: any[]) => {
|
|
|
122
123
|
removeAttribute(qualifiedName: string): void;
|
|
123
124
|
removeAttributeNS(namespace: string, localName: string): void;
|
|
124
125
|
removeAttributeNode(attr: Attr): Attr;
|
|
125
|
-
requestFullscreen(options?: FullscreenOptions): Promise<void>;
|
|
126
|
-
* Set up the web component
|
|
127
|
-
* @internal
|
|
128
|
-
*/
|
|
126
|
+
requestFullscreen(options?: FullscreenOptions): Promise<void>;
|
|
129
127
|
requestPointerLock(): void;
|
|
130
128
|
scroll(options?: ScrollToOptions): void;
|
|
131
129
|
scroll(x: number, y: number): void;
|
|
@@ -187,14 +185,7 @@ declare const EntityManagement_base: (new (...args: any[]) => {
|
|
|
187
185
|
readonly PROCESSING_INSTRUCTION_NODE: number;
|
|
188
186
|
readonly TEXT_NODE: number;
|
|
189
187
|
dispatchEvent(event: Event): boolean;
|
|
190
|
-
ariaAtomic: string;
|
|
191
|
-
* Event handler for when the user submits the action for the currently open form, either editing or adding the entity
|
|
192
|
-
*
|
|
193
|
-
* @param e - CustomEvent which contains the payload for the entity to submit to the backend
|
|
194
|
-
*
|
|
195
|
-
* Emits an event upon error
|
|
196
|
-
* @public
|
|
197
|
-
*/
|
|
188
|
+
ariaAtomic: string;
|
|
198
189
|
ariaAutoComplete: string;
|
|
199
190
|
ariaBusy: string;
|
|
200
191
|
ariaChecked: string;
|
|
@@ -202,17 +193,18 @@ declare const EntityManagement_base: (new (...args: any[]) => {
|
|
|
202
193
|
ariaColIndex: string;
|
|
203
194
|
ariaColIndexText: string;
|
|
204
195
|
ariaColSpan: string;
|
|
205
|
-
ariaCurrent: string;
|
|
196
|
+
ariaCurrent: string; /**
|
|
197
|
+
* Event handler for when the user submits the action for the currently open form, either editing or adding the entity
|
|
198
|
+
*
|
|
199
|
+
* @param e - CustomEvent which contains the payload for the entity to submit to the backend
|
|
200
|
+
*
|
|
201
|
+
* Emits an event upon error
|
|
202
|
+
* @public
|
|
203
|
+
*/
|
|
206
204
|
ariaDisabled: string;
|
|
207
205
|
ariaExpanded: string;
|
|
208
206
|
ariaHasPopup: string;
|
|
209
207
|
ariaHidden: string;
|
|
210
|
-
/**
|
|
211
|
-
* Updates the reference to the current entity stored in the class. Added as an event listener on the class when receiving the `rowSelected` event.
|
|
212
|
-
*
|
|
213
|
-
* @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.
|
|
214
|
-
* @internal
|
|
215
|
-
*/
|
|
216
208
|
ariaInvalid: string;
|
|
217
209
|
ariaKeyShortcuts: string;
|
|
218
210
|
ariaLabel: string;
|
|
@@ -308,10 +300,7 @@ declare const EntityManagement_base: (new (...args: any[]) => {
|
|
|
308
300
|
onkeypress: (this: GlobalEventHandlers, ev: KeyboardEvent) => any;
|
|
309
301
|
onkeyup: (this: GlobalEventHandlers, ev: KeyboardEvent) => any;
|
|
310
302
|
onload: (this: GlobalEventHandlers, ev: Event) => any;
|
|
311
|
-
onloadeddata: (this: GlobalEventHandlers, ev: Event) => any;
|
|
312
|
-
* Show notifications if the executed event returned an error.
|
|
313
|
-
* @internal
|
|
314
|
-
*/
|
|
303
|
+
onloadeddata: (this: GlobalEventHandlers, ev: Event) => any;
|
|
315
304
|
onloadedmetadata: (this: GlobalEventHandlers, ev: Event) => any;
|
|
316
305
|
onloadstart: (this: GlobalEventHandlers, ev: Event) => any;
|
|
317
306
|
onlostpointercapture: (this: GlobalEventHandlers, ev: PointerEvent) => any;
|
|
@@ -585,6 +574,7 @@ export declare class EntityManagement extends EntityManagement_base {
|
|
|
585
574
|
* @internal
|
|
586
575
|
*/
|
|
587
576
|
connectedCallback(): Promise<void>;
|
|
577
|
+
disconnectedCallback(): Promise<void>;
|
|
588
578
|
/**
|
|
589
579
|
* Gets the default searchBarConfig if the user has not created their own.
|
|
590
580
|
* @internal
|
|
@@ -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,EAAE,OAAO,EAAE,iBAAiB,EAAkB,MAAM,+BAA+B,CAAC;AAC3F,OAAO,EAAa,aAAa,EAAE,MAAM,+BAA+B,CAAC;AAEzE,OAAO,EACL,eAAe,EAGf,cAAc,EACf,MAAM,4BAA4B,CAAC;AAEpC,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAC;AAC7D,OAAO,
|
|
1
|
+
{"version":3,"file":"entities.d.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,CAAC;IAC5B,eAAe,EAAE,OAAO,CAAC;IACjC,QAAQ,EAAE,OAAO,CAAS;IACxB,UAAU,EAAE,OAAO,CAAS;IACjF;;;OAGG;IACwD,eAAe,EAAE,OAAO,CAAS;IAE5F;;;;OAIG;IACsC,cAAc,EAAE,eAAe,CAAC;IAE7D,eAAe,EAAE,eAAe,EAAE,CAAC;IAE/C;;;OAGG;IACoC,aAAa,EAAE,QAAQ,GAAG,MAAM,GAAG,OAAO,CAAW;IAE5F;;;OAGG;IACG,iBAAiB;IAmBjB,oBAAoB,IAAI,OAAO,CAAC,IAAI,CAAC;IAS3C;;;OAGG;YACW,yBAAyB;IAwBvC;;;OAGG;IACM,SAAS,IAAI,IAAI;IA4B1B;;;;;;;OAOG;IACU,mBAAmB,CAAC,CAAC,EAAE,WAAW;IAI/C;;;;;OAKG;IACH,OAAO,CAAC,YAAY,CAElB;IAEF;;;;OAIG;IACI,YAAY;IASnB;;;;;OAKG;YACW,UAAU;IA4BxB,OAAO,CAAC,UAAU;IAMX,UAAU;IAKjB,IACI,eAAe,0EAElB;IAEM,aAAa,CAAC,KAAK,EAAE,WAAW,CAAC,KAAK,CAAC,cAAc,CAAC,CAAC;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"}
|
package/dist/dts/list/list.d.ts
CHANGED
|
@@ -4,7 +4,338 @@ import { GridProGenesisDatasource, ZeroGridPro } from '@genesislcap/foundation-z
|
|
|
4
4
|
import type { GridProCaseType } from '@genesislcap/grid-pro';
|
|
5
5
|
import { FASTElement } from '@microsoft/fast-element';
|
|
6
6
|
import { DatasourceConfiguration } from '../entities/entities';
|
|
7
|
-
|
|
7
|
+
declare const List_base: (new (...args: any[]) => {
|
|
8
|
+
"__#1@#_container": import("@genesislcap/foundation-utils").FoundationLayoutContainer | import("@genesislcap/foundation-utils").LayoutCacheContainer | import("@genesislcap/foundation-utils").DOMContainer;
|
|
9
|
+
"__#1@#_latestTokenCode": string;
|
|
10
|
+
"__#1@#_hasFirstLoaded": boolean;
|
|
11
|
+
"__#1@#_cleanupTimeout": NodeJS.Timeout;
|
|
12
|
+
"__#1@#_shouldForceLifecycle": boolean;
|
|
13
|
+
cloneNode(deep?: boolean): Node;
|
|
14
|
+
deepClone(): Node;
|
|
15
|
+
readonly shouldRunDisconnect: boolean;
|
|
16
|
+
readonly shouldRunConnect: boolean;
|
|
17
|
+
"__#1@#_blockLifecycleDueToTokenChange"(lifecycleType: "connect" | "disconnect" | "reconnect"): boolean;
|
|
18
|
+
"__#1@#_tryFindContainingLayout"(e: Element): import("@genesislcap/foundation-utils").FoundationLayoutContainer | import("@genesislcap/foundation-utils").LayoutCacheContainer | import("@genesislcap/foundation-utils").DOMContainer;
|
|
19
|
+
connectedCallback(): void;
|
|
20
|
+
readonly $fastController: import("@microsoft/fast-element").Controller;
|
|
21
|
+
$emit(type: string, detail?: any, options?: Omit<CustomEventInit<any>, "detail">): boolean | void;
|
|
22
|
+
disconnectedCallback(): void;
|
|
23
|
+
attributeChangedCallback(name: string, oldValue: string, newValue: string): void;
|
|
24
|
+
accessKey: string;
|
|
25
|
+
readonly accessKeyLabel: string;
|
|
26
|
+
autocapitalize: string;
|
|
27
|
+
dir: string;
|
|
28
|
+
draggable: boolean;
|
|
29
|
+
hidden: boolean;
|
|
30
|
+
inert: boolean;
|
|
31
|
+
innerText: string;
|
|
32
|
+
lang: string;
|
|
33
|
+
readonly offsetHeight: number;
|
|
34
|
+
readonly offsetLeft: number;
|
|
35
|
+
readonly offsetParent: Element;
|
|
36
|
+
readonly offsetTop: number;
|
|
37
|
+
readonly offsetWidth: number;
|
|
38
|
+
outerText: string;
|
|
39
|
+
spellcheck: boolean;
|
|
40
|
+
title: string;
|
|
41
|
+
translate: boolean;
|
|
42
|
+
attachInternals(): ElementInternals;
|
|
43
|
+
click(): void;
|
|
44
|
+
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
45
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
46
|
+
removeEventListener<K_1 extends keyof HTMLElementEventMap>(type: K_1, listener: (this: HTMLElement, ev: HTMLElementEventMap[K_1]) => any, options?: boolean | EventListenerOptions): void;
|
|
47
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
48
|
+
readonly attributes: NamedNodeMap;
|
|
49
|
+
readonly classList: DOMTokenList;
|
|
50
|
+
className: string;
|
|
51
|
+
readonly clientHeight: number;
|
|
52
|
+
readonly clientLeft: number;
|
|
53
|
+
readonly clientTop: number;
|
|
54
|
+
readonly clientWidth: number;
|
|
55
|
+
id: string;
|
|
56
|
+
readonly localName: string;
|
|
57
|
+
readonly namespaceURI: string;
|
|
58
|
+
onfullscreenchange: (this: Element, ev: Event) => any;
|
|
59
|
+
onfullscreenerror: (this: Element, ev: Event) => any;
|
|
60
|
+
outerHTML: string;
|
|
61
|
+
readonly ownerDocument: Document;
|
|
62
|
+
readonly part: DOMTokenList;
|
|
63
|
+
readonly prefix: string;
|
|
64
|
+
readonly scrollHeight: number;
|
|
65
|
+
scrollLeft: number;
|
|
66
|
+
scrollTop: number;
|
|
67
|
+
readonly scrollWidth: number;
|
|
68
|
+
readonly shadowRoot: ShadowRoot;
|
|
69
|
+
slot: string;
|
|
70
|
+
readonly tagName: string;
|
|
71
|
+
attachShadow(init: ShadowRootInit): ShadowRoot;
|
|
72
|
+
closest<K_2 extends keyof HTMLElementTagNameMap>(selector: K_2): HTMLElementTagNameMap[K_2];
|
|
73
|
+
closest<K_3 extends keyof SVGElementTagNameMap>(selector: K_3): SVGElementTagNameMap[K_3];
|
|
74
|
+
closest<E extends Element = Element>(selectors: string): E;
|
|
75
|
+
getAttribute(qualifiedName: string): string;
|
|
76
|
+
getAttributeNS(namespace: string, localName: string): string;
|
|
77
|
+
getAttributeNames(): string[];
|
|
78
|
+
getAttributeNode(qualifiedName: string): Attr;
|
|
79
|
+
getAttributeNodeNS(namespace: string, localName: string): Attr;
|
|
80
|
+
getBoundingClientRect(): DOMRect;
|
|
81
|
+
getClientRects(): DOMRectList;
|
|
82
|
+
getElementsByClassName(classNames: string): HTMLCollectionOf<Element>;
|
|
83
|
+
getElementsByTagName<K_4 extends keyof HTMLElementTagNameMap>(qualifiedName: K_4): HTMLCollectionOf<HTMLElementTagNameMap[K_4]>;
|
|
84
|
+
getElementsByTagName<K_5 extends keyof SVGElementTagNameMap>(qualifiedName: K_5): HTMLCollectionOf<SVGElementTagNameMap[K_5]>;
|
|
85
|
+
getElementsByTagName(qualifiedName: string): HTMLCollectionOf<Element>;
|
|
86
|
+
getElementsByTagNameNS(namespaceURI: "http://www.w3.org/1999/xhtml", localName: string): HTMLCollectionOf<HTMLElement>;
|
|
87
|
+
getElementsByTagNameNS(namespaceURI: "http://www.w3.org/2000/svg", localName: string): HTMLCollectionOf<SVGElement>;
|
|
88
|
+
getElementsByTagNameNS(namespace: string, localName: string): HTMLCollectionOf<Element>;
|
|
89
|
+
hasAttribute(qualifiedName: string): boolean;
|
|
90
|
+
hasAttributeNS(namespace: string, localName: string): boolean;
|
|
91
|
+
hasAttributes(): boolean;
|
|
92
|
+
hasPointerCapture(pointerId: number): boolean;
|
|
93
|
+
insertAdjacentElement(where: InsertPosition, element: Element): Element;
|
|
94
|
+
insertAdjacentHTML(position: InsertPosition, text: string): void;
|
|
95
|
+
insertAdjacentText(where: InsertPosition, data: string): void;
|
|
96
|
+
matches(selectors: string): boolean;
|
|
97
|
+
releasePointerCapture(pointerId: number): void;
|
|
98
|
+
removeAttribute(qualifiedName: string): void;
|
|
99
|
+
removeAttributeNS(namespace: string, localName: string): void;
|
|
100
|
+
removeAttributeNode(attr: Attr): Attr;
|
|
101
|
+
requestFullscreen(options?: FullscreenOptions): Promise<void>;
|
|
102
|
+
requestPointerLock(): void;
|
|
103
|
+
scroll(options?: ScrollToOptions): void;
|
|
104
|
+
scroll(x: number, y: number): void;
|
|
105
|
+
scrollBy(options?: ScrollToOptions): void;
|
|
106
|
+
scrollBy(x: number, y: number): void;
|
|
107
|
+
scrollIntoView(arg?: boolean | ScrollIntoViewOptions): void;
|
|
108
|
+
scrollTo(options?: ScrollToOptions): void;
|
|
109
|
+
scrollTo(x: number, y: number): void;
|
|
110
|
+
setAttribute(qualifiedName: string, value: string): void;
|
|
111
|
+
setAttributeNS(namespace: string, qualifiedName: string, value: string): void;
|
|
112
|
+
setAttributeNode(attr: Attr): Attr;
|
|
113
|
+
setAttributeNodeNS(attr: Attr): Attr;
|
|
114
|
+
setPointerCapture(pointerId: number): void;
|
|
115
|
+
toggleAttribute(qualifiedName: string, force?: boolean): boolean;
|
|
116
|
+
webkitMatchesSelector(selectors: string): boolean;
|
|
117
|
+
readonly baseURI: string;
|
|
118
|
+
readonly childNodes: NodeListOf<ChildNode>;
|
|
119
|
+
readonly firstChild: ChildNode;
|
|
120
|
+
readonly isConnected: boolean;
|
|
121
|
+
readonly lastChild: ChildNode;
|
|
122
|
+
readonly nextSibling: ChildNode;
|
|
123
|
+
readonly nodeName: string;
|
|
124
|
+
readonly nodeType: number;
|
|
125
|
+
nodeValue: string;
|
|
126
|
+
readonly parentElement: HTMLElement;
|
|
127
|
+
readonly parentNode: ParentNode;
|
|
128
|
+
readonly previousSibling: ChildNode;
|
|
129
|
+
textContent: string;
|
|
130
|
+
appendChild<T_1 extends Node>(node: T_1): T_1;
|
|
131
|
+
compareDocumentPosition(other: Node): number;
|
|
132
|
+
contains(other: Node): boolean;
|
|
133
|
+
getRootNode(options?: GetRootNodeOptions): Node;
|
|
134
|
+
hasChildNodes(): boolean;
|
|
135
|
+
insertBefore<T_2 extends Node>(node: T_2, child: Node): T_2;
|
|
136
|
+
isDefaultNamespace(namespace: string): boolean;
|
|
137
|
+
isEqualNode(otherNode: Node): boolean;
|
|
138
|
+
isSameNode(otherNode: Node): boolean;
|
|
139
|
+
lookupNamespaceURI(prefix: string): string;
|
|
140
|
+
lookupPrefix(namespace: string): string;
|
|
141
|
+
normalize(): void;
|
|
142
|
+
removeChild<T_3 extends Node>(child: T_3): T_3;
|
|
143
|
+
replaceChild<T_4 extends Node>(node: Node, child: T_4): T_4;
|
|
144
|
+
readonly ATTRIBUTE_NODE: number;
|
|
145
|
+
readonly CDATA_SECTION_NODE: number;
|
|
146
|
+
readonly COMMENT_NODE: number;
|
|
147
|
+
readonly DOCUMENT_FRAGMENT_NODE: number;
|
|
148
|
+
readonly DOCUMENT_NODE: number;
|
|
149
|
+
readonly DOCUMENT_POSITION_CONTAINED_BY: number;
|
|
150
|
+
readonly DOCUMENT_POSITION_CONTAINS: number;
|
|
151
|
+
readonly DOCUMENT_POSITION_DISCONNECTED: number;
|
|
152
|
+
readonly DOCUMENT_POSITION_FOLLOWING: number;
|
|
153
|
+
readonly DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC: number;
|
|
154
|
+
readonly DOCUMENT_POSITION_PRECEDING: number;
|
|
155
|
+
readonly DOCUMENT_TYPE_NODE: number;
|
|
156
|
+
readonly ELEMENT_NODE: number;
|
|
157
|
+
readonly ENTITY_NODE: number;
|
|
158
|
+
readonly ENTITY_REFERENCE_NODE: number;
|
|
159
|
+
readonly NOTATION_NODE: number;
|
|
160
|
+
readonly PROCESSING_INSTRUCTION_NODE: number;
|
|
161
|
+
readonly TEXT_NODE: number;
|
|
162
|
+
dispatchEvent(event: Event): boolean;
|
|
163
|
+
ariaAtomic: string;
|
|
164
|
+
ariaAutoComplete: string;
|
|
165
|
+
ariaBusy: string;
|
|
166
|
+
ariaChecked: string;
|
|
167
|
+
ariaColCount: string;
|
|
168
|
+
ariaColIndex: string;
|
|
169
|
+
ariaColIndexText: string;
|
|
170
|
+
ariaColSpan: string;
|
|
171
|
+
ariaCurrent: string;
|
|
172
|
+
ariaDisabled: string;
|
|
173
|
+
ariaExpanded: string;
|
|
174
|
+
ariaHasPopup: string;
|
|
175
|
+
ariaHidden: string;
|
|
176
|
+
ariaInvalid: string;
|
|
177
|
+
ariaKeyShortcuts: string;
|
|
178
|
+
ariaLabel: string;
|
|
179
|
+
ariaLevel: string;
|
|
180
|
+
ariaLive: string;
|
|
181
|
+
ariaModal: string;
|
|
182
|
+
ariaMultiLine: string;
|
|
183
|
+
ariaMultiSelectable: string;
|
|
184
|
+
ariaOrientation: string;
|
|
185
|
+
ariaPlaceholder: string;
|
|
186
|
+
ariaPosInSet: string;
|
|
187
|
+
ariaPressed: string;
|
|
188
|
+
ariaReadOnly: string;
|
|
189
|
+
ariaRequired: string;
|
|
190
|
+
ariaRoleDescription: string;
|
|
191
|
+
ariaRowCount: string;
|
|
192
|
+
ariaRowIndex: string;
|
|
193
|
+
ariaRowIndexText: string;
|
|
194
|
+
ariaRowSpan: string;
|
|
195
|
+
ariaSelected: string;
|
|
196
|
+
ariaSetSize: string;
|
|
197
|
+
ariaSort: string;
|
|
198
|
+
ariaValueMax: string;
|
|
199
|
+
ariaValueMin: string;
|
|
200
|
+
ariaValueNow: string;
|
|
201
|
+
ariaValueText: string;
|
|
202
|
+
role: string;
|
|
203
|
+
animate(keyframes: PropertyIndexedKeyframes | Keyframe[], options?: number | KeyframeAnimationOptions): Animation;
|
|
204
|
+
getAnimations(options?: GetAnimationsOptions): Animation[];
|
|
205
|
+
after(...nodes: (string | Node)[]): void;
|
|
206
|
+
before(...nodes: (string | Node)[]): void;
|
|
207
|
+
remove(): void;
|
|
208
|
+
replaceWith(...nodes: (string | Node)[]): void;
|
|
209
|
+
innerHTML: string;
|
|
210
|
+
readonly nextElementSibling: Element;
|
|
211
|
+
readonly previousElementSibling: Element;
|
|
212
|
+
readonly childElementCount: number;
|
|
213
|
+
readonly children: HTMLCollection;
|
|
214
|
+
readonly firstElementChild: Element;
|
|
215
|
+
readonly lastElementChild: Element;
|
|
216
|
+
append(...nodes: (string | Node)[]): void;
|
|
217
|
+
prepend(...nodes: (string | Node)[]): void;
|
|
218
|
+
querySelector<K_6 extends keyof HTMLElementTagNameMap>(selectors: K_6): HTMLElementTagNameMap[K_6];
|
|
219
|
+
querySelector<K_7 extends keyof SVGElementTagNameMap>(selectors: K_7): SVGElementTagNameMap[K_7];
|
|
220
|
+
querySelector<E_1 extends Element = Element>(selectors: string): E_1;
|
|
221
|
+
querySelectorAll<K_8 extends keyof HTMLElementTagNameMap>(selectors: K_8): NodeListOf<HTMLElementTagNameMap[K_8]>;
|
|
222
|
+
querySelectorAll<K_9 extends keyof SVGElementTagNameMap>(selectors: K_9): NodeListOf<SVGElementTagNameMap[K_9]>;
|
|
223
|
+
querySelectorAll<E_2 extends Element = Element>(selectors: string): NodeListOf<E_2>;
|
|
224
|
+
replaceChildren(...nodes: (string | Node)[]): void;
|
|
225
|
+
readonly assignedSlot: HTMLSlotElement;
|
|
226
|
+
oncopy: (this: DocumentAndElementEventHandlers, ev: ClipboardEvent) => any;
|
|
227
|
+
oncut: (this: DocumentAndElementEventHandlers, ev: ClipboardEvent) => any;
|
|
228
|
+
onpaste: (this: DocumentAndElementEventHandlers, ev: ClipboardEvent) => any;
|
|
229
|
+
readonly style: CSSStyleDeclaration;
|
|
230
|
+
contentEditable: string;
|
|
231
|
+
enterKeyHint: string;
|
|
232
|
+
inputMode: string;
|
|
233
|
+
readonly isContentEditable: boolean;
|
|
234
|
+
onabort: (this: GlobalEventHandlers, ev: UIEvent) => any;
|
|
235
|
+
onanimationcancel: (this: GlobalEventHandlers, ev: AnimationEvent) => any;
|
|
236
|
+
onanimationend: (this: GlobalEventHandlers, ev: AnimationEvent) => any;
|
|
237
|
+
onanimationiteration: (this: GlobalEventHandlers, ev: AnimationEvent) => any;
|
|
238
|
+
onanimationstart: (this: GlobalEventHandlers, ev: AnimationEvent) => any;
|
|
239
|
+
onauxclick: (this: GlobalEventHandlers, ev: MouseEvent) => any;
|
|
240
|
+
onbeforeinput: (this: GlobalEventHandlers, ev: InputEvent) => any;
|
|
241
|
+
onblur: (this: GlobalEventHandlers, ev: FocusEvent) => any;
|
|
242
|
+
oncancel: (this: GlobalEventHandlers, ev: Event) => any;
|
|
243
|
+
oncanplay: (this: GlobalEventHandlers, ev: Event) => any;
|
|
244
|
+
oncanplaythrough: (this: GlobalEventHandlers, ev: Event) => any;
|
|
245
|
+
onchange: (this: GlobalEventHandlers, ev: Event) => any;
|
|
246
|
+
onclick: (this: GlobalEventHandlers, ev: MouseEvent) => any;
|
|
247
|
+
onclose: (this: GlobalEventHandlers, ev: Event) => any;
|
|
248
|
+
oncontextmenu: (this: GlobalEventHandlers, ev: MouseEvent) => any;
|
|
249
|
+
oncuechange: (this: GlobalEventHandlers, ev: Event) => any;
|
|
250
|
+
ondblclick: (this: GlobalEventHandlers, ev: MouseEvent) => any;
|
|
251
|
+
ondrag: (this: GlobalEventHandlers, ev: DragEvent) => any;
|
|
252
|
+
ondragend: (this: GlobalEventHandlers, ev: DragEvent) => any;
|
|
253
|
+
ondragenter: (this: GlobalEventHandlers, ev: DragEvent) => any;
|
|
254
|
+
ondragleave: (this: GlobalEventHandlers, ev: DragEvent) => any;
|
|
255
|
+
ondragover: (this: GlobalEventHandlers, ev: DragEvent) => any;
|
|
256
|
+
ondragstart: (this: GlobalEventHandlers, ev: DragEvent) => any;
|
|
257
|
+
ondrop: (this: GlobalEventHandlers, ev: DragEvent) => any;
|
|
258
|
+
ondurationchange: (this: GlobalEventHandlers, ev: Event) => any;
|
|
259
|
+
onemptied: (this: GlobalEventHandlers, ev: Event) => any;
|
|
260
|
+
onended: (this: GlobalEventHandlers, ev: Event) => any;
|
|
261
|
+
onerror: OnErrorEventHandlerNonNull;
|
|
262
|
+
onfocus: (this: GlobalEventHandlers, ev: FocusEvent) => any;
|
|
263
|
+
onformdata: (this: GlobalEventHandlers, ev: FormDataEvent) => any;
|
|
264
|
+
ongotpointercapture: (this: GlobalEventHandlers, ev: PointerEvent) => any;
|
|
265
|
+
oninput: (this: GlobalEventHandlers, ev: Event) => any;
|
|
266
|
+
oninvalid: (this: GlobalEventHandlers, ev: Event) => any;
|
|
267
|
+
onkeydown: (this: GlobalEventHandlers, ev: KeyboardEvent) => any;
|
|
268
|
+
onkeypress: (this: GlobalEventHandlers, ev: KeyboardEvent) => any;
|
|
269
|
+
onkeyup: (this: GlobalEventHandlers, ev: KeyboardEvent) => any;
|
|
270
|
+
onload: (this: GlobalEventHandlers, ev: Event) => any;
|
|
271
|
+
onloadeddata: (this: GlobalEventHandlers, ev: Event) => any;
|
|
272
|
+
onloadedmetadata: (this: GlobalEventHandlers, ev: Event) => any;
|
|
273
|
+
onloadstart: (this: GlobalEventHandlers, ev: Event) => any;
|
|
274
|
+
onlostpointercapture: (this: GlobalEventHandlers, ev: PointerEvent) => any;
|
|
275
|
+
onmousedown: (this: GlobalEventHandlers, ev: MouseEvent) => any;
|
|
276
|
+
onmouseenter: (this: GlobalEventHandlers, ev: MouseEvent) => any;
|
|
277
|
+
onmouseleave: (this: GlobalEventHandlers, ev: MouseEvent) => any;
|
|
278
|
+
onmousemove: (this: GlobalEventHandlers, ev: MouseEvent) => any;
|
|
279
|
+
onmouseout: (this: GlobalEventHandlers, ev: MouseEvent) => any;
|
|
280
|
+
onmouseover: (this: GlobalEventHandlers, ev: MouseEvent) => any;
|
|
281
|
+
onmouseup: (this: GlobalEventHandlers, ev: MouseEvent) => any;
|
|
282
|
+
onpause: (this: GlobalEventHandlers, ev: Event) => any;
|
|
283
|
+
onplay: (this: GlobalEventHandlers, ev: Event) => any;
|
|
284
|
+
onplaying: (this: GlobalEventHandlers, ev: Event) => any;
|
|
285
|
+
onpointercancel: (this: GlobalEventHandlers, ev: PointerEvent) => any;
|
|
286
|
+
onpointerdown: (this: GlobalEventHandlers, ev: PointerEvent) => any;
|
|
287
|
+
onpointerenter: (this: GlobalEventHandlers, ev: PointerEvent) => any;
|
|
288
|
+
onpointerleave: (this: GlobalEventHandlers, ev: PointerEvent) => any;
|
|
289
|
+
onpointermove: (this: GlobalEventHandlers, ev: PointerEvent) => any;
|
|
290
|
+
onpointerout: (this: GlobalEventHandlers, ev: PointerEvent) => any;
|
|
291
|
+
onpointerover: (this: GlobalEventHandlers, ev: PointerEvent) => any;
|
|
292
|
+
onpointerup: (this: GlobalEventHandlers, ev: PointerEvent) => any;
|
|
293
|
+
onprogress: (this: GlobalEventHandlers, ev: ProgressEvent<EventTarget>) => any;
|
|
294
|
+
onratechange: (this: GlobalEventHandlers, ev: Event) => any;
|
|
295
|
+
onreset: (this: GlobalEventHandlers, ev: Event) => any;
|
|
296
|
+
onresize: (this: GlobalEventHandlers, ev: UIEvent) => any;
|
|
297
|
+
onscroll: (this: GlobalEventHandlers, ev: Event) => any;
|
|
298
|
+
onsecuritypolicyviolation: (this: GlobalEventHandlers, ev: SecurityPolicyViolationEvent) => any;
|
|
299
|
+
onseeked: (this: GlobalEventHandlers, ev: Event) => any;
|
|
300
|
+
onseeking: (this: GlobalEventHandlers, ev: Event) => any;
|
|
301
|
+
onselect: (this: GlobalEventHandlers, ev: Event) => any;
|
|
302
|
+
onselectionchange: (this: GlobalEventHandlers, ev: Event) => any;
|
|
303
|
+
onselectstart: (this: GlobalEventHandlers, ev: Event) => any;
|
|
304
|
+
onslotchange: (this: GlobalEventHandlers, ev: Event) => any;
|
|
305
|
+
onstalled: (this: GlobalEventHandlers, ev: Event) => any;
|
|
306
|
+
onsubmit: (this: GlobalEventHandlers, ev: SubmitEvent) => any;
|
|
307
|
+
onsuspend: (this: GlobalEventHandlers, ev: Event) => any;
|
|
308
|
+
ontimeupdate: (this: GlobalEventHandlers, ev: Event) => any;
|
|
309
|
+
ontoggle: (this: GlobalEventHandlers, ev: Event) => any;
|
|
310
|
+
ontouchcancel?: (this: GlobalEventHandlers, ev: TouchEvent) => any;
|
|
311
|
+
ontouchend?: (this: GlobalEventHandlers, ev: TouchEvent) => any;
|
|
312
|
+
ontouchmove?: (this: GlobalEventHandlers, ev: TouchEvent) => any;
|
|
313
|
+
ontouchstart?: (this: GlobalEventHandlers, ev: TouchEvent) => any;
|
|
314
|
+
ontransitioncancel: (this: GlobalEventHandlers, ev: TransitionEvent) => any;
|
|
315
|
+
ontransitionend: (this: GlobalEventHandlers, ev: TransitionEvent) => any;
|
|
316
|
+
ontransitionrun: (this: GlobalEventHandlers, ev: TransitionEvent) => any;
|
|
317
|
+
ontransitionstart: (this: GlobalEventHandlers, ev: TransitionEvent) => any;
|
|
318
|
+
onvolumechange: (this: GlobalEventHandlers, ev: Event) => any;
|
|
319
|
+
onwaiting: (this: GlobalEventHandlers, ev: Event) => any;
|
|
320
|
+
onwebkitanimationend: (this: GlobalEventHandlers, ev: Event) => any;
|
|
321
|
+
onwebkitanimationiteration: (this: GlobalEventHandlers, ev: Event) => any;
|
|
322
|
+
onwebkitanimationstart: (this: GlobalEventHandlers, ev: Event) => any;
|
|
323
|
+
onwebkittransitionend: (this: GlobalEventHandlers, ev: Event) => any;
|
|
324
|
+
onwheel: (this: GlobalEventHandlers, ev: WheelEvent) => any;
|
|
325
|
+
autofocus: boolean;
|
|
326
|
+
readonly dataset: DOMStringMap;
|
|
327
|
+
nonce?: string;
|
|
328
|
+
tabIndex: number;
|
|
329
|
+
blur(): void;
|
|
330
|
+
focus(options?: FocusOptions): void;
|
|
331
|
+
}) & (new () => HTMLElement & FASTElement) & {
|
|
332
|
+
from<TBase extends {
|
|
333
|
+
new (): HTMLElement;
|
|
334
|
+
prototype: HTMLElement;
|
|
335
|
+
}>(BaseType: TBase): new () => InstanceType<TBase> & FASTElement;
|
|
336
|
+
define<TType extends Function>(type: TType, nameOrDef?: string | import("@microsoft/fast-element").PartialFASTElementDefinition): TType;
|
|
337
|
+
};
|
|
338
|
+
export declare class List extends List_base {
|
|
8
339
|
/**
|
|
9
340
|
* Name of the design system prefix that will be used in renderers.
|
|
10
341
|
* @public
|
|
@@ -35,11 +366,12 @@ export declare class List extends FASTElement {
|
|
|
35
366
|
protected connect: Connect;
|
|
36
367
|
connectedCallback(): void;
|
|
37
368
|
private onCellEditingStopped;
|
|
38
|
-
disconnectedCallback(): void
|
|
369
|
+
disconnectedCallback(): Promise<void>;
|
|
39
370
|
private handleFilterChanged;
|
|
40
371
|
private handleFilterCleared;
|
|
41
372
|
private select;
|
|
42
373
|
private edit;
|
|
43
374
|
delete(e: any): Promise<void>;
|
|
44
375
|
}
|
|
376
|
+
export {};
|
|
45
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;
|
|
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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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ventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
63
63
|
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
|
+
*/
|
|
64
70
|
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
|
+
*/
|
|
65
77
|
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
66
78
|
readonly attributes: NamedNodeMap;
|
|
67
79
|
readonly classList: DOMTokenList;
|
|
@@ -80,9 +92,6 @@ declare const Users_base: (new (...args: any[]) => {
|
|
|
80
92
|
readonly part: DOMTokenList;
|
|
81
93
|
readonly prefix: string;
|
|
82
94
|
readonly scrollHeight: number;
|
|
83
|
-
/**
|
|
84
|
-
* String which contains event if we have permission to update user of empty string if not
|
|
85
|
-
*/
|
|
86
95
|
scrollLeft: number;
|
|
87
96
|
scrollTop: number;
|
|
88
97
|
readonly scrollWidth: number;
|
|
@@ -157,9 +166,7 @@ declare const Users_base: (new (...args: any[]) => {
|
|
|
157
166
|
isDefaultNamespace(namespace: string): boolean;
|
|
158
167
|
isEqualNode(otherNode: Node): boolean;
|
|
159
168
|
isSameNode(otherNode: Node): boolean;
|
|
160
|
-
lookupNamespaceURI(prefix: string): string;
|
|
161
|
-
* @internal
|
|
162
|
-
*/
|
|
169
|
+
lookupNamespaceURI(prefix: string): string;
|
|
163
170
|
lookupPrefix(namespace: string): string;
|
|
164
171
|
normalize(): void;
|
|
165
172
|
removeChild<T_3 extends Node>(child: T_3): T_3;
|
|
@@ -528,6 +535,7 @@ export declare class Users extends Users_base {
|
|
|
528
535
|
*/
|
|
529
536
|
constructor();
|
|
530
537
|
connectedCallback(): Promise<void>;
|
|
538
|
+
disconnectedCallback(): Promise<void>;
|
|
531
539
|
deepClone(): Node;
|
|
532
540
|
/**
|
|
533
541
|
* Used as the callback function in {@link Users.statusColumn}
|
|
@@ -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;AAItD,OAAO,EAAE,oBAAoB,EAAE,MAAM,uCAAuC,CAAC;AAC7E,OAAO,
|
|
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,EAAiC,WAAW,EAAc,MAAM,yBAAyB,CAAC;AACjG,OAAO,EAAE,uBAAuB,EAAE,MAAM,aAAa,CAAC;AAQtD;;;;;;;GAOG;AACH,eAAO,MAAM,iBAAiB;;;;;;;;;;;IAoC7B,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAyIA;;;;;OAKG;;IALH;;;;;OAKG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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ACH,sBAAsB,CAAC,MAAM,KAAA;;;;;;;;IAW7B;;;;;;;;OAQG;IACG,YAAY,CAAC,MAAM,KAAA;IAoCzB;;OAEG;IACG,YAAY,CAAC,IAAI,KAAA;;;;;;;;;;;;;;;CAwBxB"}
|
|
@@ -4,7 +4,7 @@ import { renderers } from '@genesislcap/foundation-forms';
|
|
|
4
4
|
import { showNotification, showNotificationDialog } from '@genesislcap/foundation-notifications';
|
|
5
5
|
import { getCriteriaBuilder, INPUT_MIN_LENGTH, } from '@genesislcap/foundation-ui';
|
|
6
6
|
import { LifecycleMixin } from '@genesislcap/foundation-utils';
|
|
7
|
-
import { attr, customElement, FASTElement, observable, volatile } from '@microsoft/fast-element';
|
|
7
|
+
import { attr, customElement, DOM, FASTElement, observable, volatile, } from '@microsoft/fast-element';
|
|
8
8
|
import { getErrorFormat, logger } from '../utils';
|
|
9
9
|
import { styles } from './entities.styles';
|
|
10
10
|
import { defaultHeader, searchBarHeader, template } from './entities.template';
|
|
@@ -149,6 +149,19 @@ let EntityManagement = class EntityManagement extends LifecycleMixin(FASTElement
|
|
|
149
149
|
}
|
|
150
150
|
});
|
|
151
151
|
}
|
|
152
|
+
disconnectedCallback() {
|
|
153
|
+
const _super = Object.create(null, {
|
|
154
|
+
disconnectedCallback: { get: () => super.disconnectedCallback }
|
|
155
|
+
});
|
|
156
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
157
|
+
const shouldRunDisconnect = this.shouldRunDisconnect;
|
|
158
|
+
DOM.queueUpdate(() => {
|
|
159
|
+
if (!shouldRunDisconnect)
|
|
160
|
+
return;
|
|
161
|
+
_super.disconnectedCallback.call(this);
|
|
162
|
+
});
|
|
163
|
+
});
|
|
164
|
+
}
|
|
152
165
|
/**
|
|
153
166
|
* Gets the default searchBarConfig if the user has not created their own.
|
|
154
167
|
* @internal
|
package/dist/esm/list/list.js
CHANGED
|
@@ -1,13 +1,14 @@
|
|
|
1
1
|
import { __awaiter, __decorate } from "tslib";
|
|
2
2
|
import { Events } from '@ag-grid-community/core';
|
|
3
3
|
import { Connect } from '@genesislcap/foundation-comms';
|
|
4
|
+
import { LifecycleMixin } from '@genesislcap/foundation-utils';
|
|
4
5
|
import { GRID_READY_EVENT, } from '@genesislcap/foundation-zero-grid-pro';
|
|
5
6
|
import { EDITED_COLUMN_FIELD, ERROR_COLUMN_FIELD } from '@genesislcap/grid-pro';
|
|
6
|
-
import { attr, customElement, FASTElement, html, observable } from '@microsoft/fast-element';
|
|
7
|
+
import { attr, customElement, DOM, FASTElement, html, observable } from '@microsoft/fast-element';
|
|
7
8
|
import { buttonCellRenderer } from '../utils';
|
|
8
9
|
import { listStyles } from './list.styles';
|
|
9
10
|
import { listTemplate } from './list.template';
|
|
10
|
-
let List = class List extends FASTElement {
|
|
11
|
+
let List = class List extends LifecycleMixin(FASTElement) {
|
|
11
12
|
constructor() {
|
|
12
13
|
super(...arguments);
|
|
13
14
|
/**
|
|
@@ -101,11 +102,21 @@ let List = class List extends FASTElement {
|
|
|
101
102
|
});
|
|
102
103
|
}
|
|
103
104
|
disconnectedCallback() {
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
105
|
+
const _super = Object.create(null, {
|
|
106
|
+
disconnectedCallback: { get: () => super.disconnectedCallback }
|
|
107
|
+
});
|
|
108
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
109
|
+
const shouldRunDisconnect = this.shouldRunDisconnect;
|
|
110
|
+
DOM.queueUpdate(() => {
|
|
111
|
+
if (!shouldRunDisconnect)
|
|
112
|
+
return;
|
|
113
|
+
_super.disconnectedCallback.call(this);
|
|
114
|
+
if (this.enableFilterBar) {
|
|
115
|
+
this.removeEventListener('filter-changed', this.handleFilterChanged);
|
|
116
|
+
this.removeEventListener('filter-cleared', this.handleFilterCleared);
|
|
117
|
+
}
|
|
118
|
+
});
|
|
119
|
+
});
|
|
109
120
|
}
|
|
110
121
|
handleFilterChanged(e) {
|
|
111
122
|
var _a, _b;
|
package/dist/esm/users/users.js
CHANGED
|
@@ -3,7 +3,7 @@ import { Auth, Connect } from '@genesislcap/foundation-comms';
|
|
|
3
3
|
import { showNotification } from '@genesislcap/foundation-notifications';
|
|
4
4
|
import { LifecycleMixin } from '@genesislcap/foundation-utils';
|
|
5
5
|
import { GridProRendererTypes } from '@genesislcap/foundation-zero-grid-pro';
|
|
6
|
-
import { attr, css, customElement, FASTElement, observable } from '@microsoft/fast-element';
|
|
6
|
+
import { attr, css, customElement, DOM, FASTElement, observable } from '@microsoft/fast-element';
|
|
7
7
|
import { getErrorFormat, logger } from '../utils';
|
|
8
8
|
import { UsersTemplate } from './users.template';
|
|
9
9
|
const defaultColumnConfig = {
|
|
@@ -164,6 +164,8 @@ let Users = class Users extends LifecycleMixin(FASTElement) {
|
|
|
164
164
|
});
|
|
165
165
|
return __awaiter(this, void 0, void 0, function* () {
|
|
166
166
|
_super.connectedCallback.call(this);
|
|
167
|
+
if (!this.shouldRunConnect)
|
|
168
|
+
return;
|
|
167
169
|
// retrieving access type of currently logged-in user
|
|
168
170
|
const userReq = yield this.connect.snapshot('ALL_USERS', {
|
|
169
171
|
CRITERIA_MATCH: `USER_NAME == '${this.auth.currentUser.username}'`,
|
|
@@ -174,6 +176,19 @@ let Users = class Users extends LifecycleMixin(FASTElement) {
|
|
|
174
176
|
}
|
|
175
177
|
});
|
|
176
178
|
}
|
|
179
|
+
disconnectedCallback() {
|
|
180
|
+
const _super = Object.create(null, {
|
|
181
|
+
disconnectedCallback: { get: () => super.disconnectedCallback }
|
|
182
|
+
});
|
|
183
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
184
|
+
const shouldRunDisconnect = this.shouldRunDisconnect;
|
|
185
|
+
DOM.queueUpdate(() => {
|
|
186
|
+
if (!shouldRunDisconnect)
|
|
187
|
+
return;
|
|
188
|
+
_super.disconnectedCallback.call(this);
|
|
189
|
+
});
|
|
190
|
+
});
|
|
191
|
+
}
|
|
177
192
|
deepClone() {
|
|
178
193
|
const copy = super.deepClone();
|
|
179
194
|
copy.additionalCreateFields = structuredClone(this.additionalCreateFields);
|
|
@@ -724,6 +724,42 @@
|
|
|
724
724
|
"isProtected": false,
|
|
725
725
|
"isAbstract": false
|
|
726
726
|
},
|
|
727
|
+
{
|
|
728
|
+
"kind": "Method",
|
|
729
|
+
"canonicalReference": "@genesislcap/foundation-entity-management!EntityManagement#disconnectedCallback:member(1)",
|
|
730
|
+
"docComment": "",
|
|
731
|
+
"excerptTokens": [
|
|
732
|
+
{
|
|
733
|
+
"kind": "Content",
|
|
734
|
+
"text": "disconnectedCallback(): "
|
|
735
|
+
},
|
|
736
|
+
{
|
|
737
|
+
"kind": "Reference",
|
|
738
|
+
"text": "Promise",
|
|
739
|
+
"canonicalReference": "!Promise:interface"
|
|
740
|
+
},
|
|
741
|
+
{
|
|
742
|
+
"kind": "Content",
|
|
743
|
+
"text": "<void>"
|
|
744
|
+
},
|
|
745
|
+
{
|
|
746
|
+
"kind": "Content",
|
|
747
|
+
"text": ";"
|
|
748
|
+
}
|
|
749
|
+
],
|
|
750
|
+
"isStatic": false,
|
|
751
|
+
"returnTypeTokenRange": {
|
|
752
|
+
"startIndex": 1,
|
|
753
|
+
"endIndex": 3
|
|
754
|
+
},
|
|
755
|
+
"releaseTag": "Public",
|
|
756
|
+
"isProtected": false,
|
|
757
|
+
"overloadIndex": 1,
|
|
758
|
+
"parameters": [],
|
|
759
|
+
"isOptional": false,
|
|
760
|
+
"isAbstract": false,
|
|
761
|
+
"name": "disconnectedCallback"
|
|
762
|
+
},
|
|
727
763
|
{
|
|
728
764
|
"kind": "Property",
|
|
729
765
|
"canonicalReference": "@genesislcap/foundation-entity-management!EntityManagement#editDialogTitle:member",
|
|
@@ -2764,6 +2800,42 @@
|
|
|
2764
2800
|
"isProtected": false,
|
|
2765
2801
|
"isAbstract": false
|
|
2766
2802
|
},
|
|
2803
|
+
{
|
|
2804
|
+
"kind": "Method",
|
|
2805
|
+
"canonicalReference": "@genesislcap/foundation-entity-management!Users#disconnectedCallback:member(1)",
|
|
2806
|
+
"docComment": "",
|
|
2807
|
+
"excerptTokens": [
|
|
2808
|
+
{
|
|
2809
|
+
"kind": "Content",
|
|
2810
|
+
"text": "disconnectedCallback(): "
|
|
2811
|
+
},
|
|
2812
|
+
{
|
|
2813
|
+
"kind": "Reference",
|
|
2814
|
+
"text": "Promise",
|
|
2815
|
+
"canonicalReference": "!Promise:interface"
|
|
2816
|
+
},
|
|
2817
|
+
{
|
|
2818
|
+
"kind": "Content",
|
|
2819
|
+
"text": "<void>"
|
|
2820
|
+
},
|
|
2821
|
+
{
|
|
2822
|
+
"kind": "Content",
|
|
2823
|
+
"text": ";"
|
|
2824
|
+
}
|
|
2825
|
+
],
|
|
2826
|
+
"isStatic": false,
|
|
2827
|
+
"returnTypeTokenRange": {
|
|
2828
|
+
"startIndex": 1,
|
|
2829
|
+
"endIndex": 3
|
|
2830
|
+
},
|
|
2831
|
+
"releaseTag": "Public",
|
|
2832
|
+
"isProtected": false,
|
|
2833
|
+
"overloadIndex": 1,
|
|
2834
|
+
"parameters": [],
|
|
2835
|
+
"isOptional": false,
|
|
2836
|
+
"isAbstract": false,
|
|
2837
|
+
"name": "disconnectedCallback"
|
|
2838
|
+
},
|
|
2767
2839
|
{
|
|
2768
2840
|
"kind": "Property",
|
|
2769
2841
|
"canonicalReference": "@genesislcap/foundation-entity-management!Users#enableSearchBar:member",
|
|
@@ -261,6 +261,7 @@ export declare class EntityManagement extends EntityManagement_base {
|
|
|
261
261
|
* @internal
|
|
262
262
|
*/
|
|
263
263
|
connectedCallback(): Promise<void>;
|
|
264
|
+
disconnectedCallback(): Promise<void>;
|
|
264
265
|
/**
|
|
265
266
|
* Gets the default searchBarConfig if the user has not created their own.
|
|
266
267
|
* @internal
|
|
@@ -365,10 +366,7 @@ declare const EntityManagement_base: (new (...args: any[]) => {
|
|
|
365
366
|
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
366
367
|
readonly attributes: NamedNodeMap;
|
|
367
368
|
readonly classList: DOMTokenList;
|
|
368
|
-
className: string;
|
|
369
|
-
* Array which holds the column definitions.
|
|
370
|
-
* @public
|
|
371
|
-
*/
|
|
369
|
+
className: string;
|
|
372
370
|
readonly clientHeight: number;
|
|
373
371
|
readonly clientLeft: number;
|
|
374
372
|
readonly clientTop: number;
|
|
@@ -410,7 +408,11 @@ declare const EntityManagement_base: (new (...args: any[]) => {
|
|
|
410
408
|
hasAttribute(qualifiedName: string): boolean;
|
|
411
409
|
hasAttributeNS(namespace: string, localName: string): boolean;
|
|
412
410
|
hasAttributes(): boolean;
|
|
413
|
-
hasPointerCapture(pointerId: number): boolean;
|
|
411
|
+
hasPointerCapture(pointerId: number): boolean; /**
|
|
412
|
+
* The case type to use for the header names. If not set, the default CONSTANT_CASE will be used.
|
|
413
|
+
* @remarks Can be one of the following: camelCase, capitalCase, dotCase, headerCase, noCase, paramCase, pascalCase, pathCase, sentenceCase, snakeCase.
|
|
414
|
+
* @public
|
|
415
|
+
*/
|
|
414
416
|
insertAdjacentElement(where: InsertPosition, element: Element): Element;
|
|
415
417
|
insertAdjacentHTML(position: InsertPosition, text: string): void;
|
|
416
418
|
insertAdjacentText(where: InsertPosition, data: string): void;
|
|
@@ -419,10 +421,7 @@ declare const EntityManagement_base: (new (...args: any[]) => {
|
|
|
419
421
|
removeAttribute(qualifiedName: string): void;
|
|
420
422
|
removeAttributeNS(namespace: string, localName: string): void;
|
|
421
423
|
removeAttributeNode(attr: Attr): Attr;
|
|
422
|
-
requestFullscreen(options?: FullscreenOptions): Promise<void>;
|
|
423
|
-
* Set up the web component
|
|
424
|
-
* @internal
|
|
425
|
-
*/
|
|
424
|
+
requestFullscreen(options?: FullscreenOptions): Promise<void>;
|
|
426
425
|
requestPointerLock(): void;
|
|
427
426
|
scroll(options?: ScrollToOptions): void;
|
|
428
427
|
scroll(x: number, y: number): void;
|
|
@@ -484,14 +483,7 @@ declare const EntityManagement_base: (new (...args: any[]) => {
|
|
|
484
483
|
readonly PROCESSING_INSTRUCTION_NODE: number;
|
|
485
484
|
readonly TEXT_NODE: number;
|
|
486
485
|
dispatchEvent(event: Event): boolean;
|
|
487
|
-
ariaAtomic: string;
|
|
488
|
-
* Event handler for when the user submits the action for the currently open form, either editing or adding the entity
|
|
489
|
-
*
|
|
490
|
-
* @param e - CustomEvent which contains the payload for the entity to submit to the backend
|
|
491
|
-
*
|
|
492
|
-
* Emits an event upon error
|
|
493
|
-
* @public
|
|
494
|
-
*/
|
|
486
|
+
ariaAtomic: string;
|
|
495
487
|
ariaAutoComplete: string;
|
|
496
488
|
ariaBusy: string;
|
|
497
489
|
ariaChecked: string;
|
|
@@ -499,17 +491,18 @@ declare const EntityManagement_base: (new (...args: any[]) => {
|
|
|
499
491
|
ariaColIndex: string;
|
|
500
492
|
ariaColIndexText: string;
|
|
501
493
|
ariaColSpan: string;
|
|
502
|
-
ariaCurrent: string;
|
|
494
|
+
ariaCurrent: string; /**
|
|
495
|
+
* Event handler for when the user submits the action for the currently open form, either editing or adding the entity
|
|
496
|
+
*
|
|
497
|
+
* @param e - CustomEvent which contains the payload for the entity to submit to the backend
|
|
498
|
+
*
|
|
499
|
+
* Emits an event upon error
|
|
500
|
+
* @public
|
|
501
|
+
*/
|
|
503
502
|
ariaDisabled: string;
|
|
504
503
|
ariaExpanded: string;
|
|
505
504
|
ariaHasPopup: string;
|
|
506
505
|
ariaHidden: string;
|
|
507
|
-
/**
|
|
508
|
-
* Updates the reference to the current entity stored in the class. Added as an event listener on the class when receiving the `rowSelected` event.
|
|
509
|
-
*
|
|
510
|
-
* @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.
|
|
511
|
-
* @internal
|
|
512
|
-
*/
|
|
513
506
|
ariaInvalid: string;
|
|
514
507
|
ariaKeyShortcuts: string;
|
|
515
508
|
ariaLabel: string;
|
|
@@ -605,10 +598,7 @@ declare const EntityManagement_base: (new (...args: any[]) => {
|
|
|
605
598
|
onkeypress: (this: GlobalEventHandlers, ev: KeyboardEvent) => any;
|
|
606
599
|
onkeyup: (this: GlobalEventHandlers, ev: KeyboardEvent) => any;
|
|
607
600
|
onload: (this: GlobalEventHandlers, ev: Event) => any;
|
|
608
|
-
onloadeddata: (this: GlobalEventHandlers, ev: Event) => any;
|
|
609
|
-
* Show notifications if the executed event returned an error.
|
|
610
|
-
* @internal
|
|
611
|
-
*/
|
|
601
|
+
onloadeddata: (this: GlobalEventHandlers, ev: Event) => any;
|
|
612
602
|
onloadedmetadata: (this: GlobalEventHandlers, ev: Event) => any;
|
|
613
603
|
onloadstart: (this: GlobalEventHandlers, ev: Event) => any;
|
|
614
604
|
onlostpointercapture: (this: GlobalEventHandlers, ev: PointerEvent) => any;
|
|
@@ -955,6 +945,7 @@ export declare class Users extends Users_base {
|
|
|
955
945
|
*/
|
|
956
946
|
constructor();
|
|
957
947
|
connectedCallback(): Promise<void>;
|
|
948
|
+
disconnectedCallback(): Promise<void>;
|
|
958
949
|
deepClone(): Node;
|
|
959
950
|
/**
|
|
960
951
|
* Used as the callback function in {@link Users.statusColumn}
|
|
@@ -1037,7 +1028,19 @@ declare const Users_base: (new (...args: any[]) => {
|
|
|
1037
1028
|
click(): void;
|
|
1038
1029
|
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
1039
1030
|
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
1031
|
+
/**
|
|
1032
|
+
* Returns the config for an entity column if the entityID attribute is defined
|
|
1033
|
+
*
|
|
1034
|
+
* @returns Config for an entity column if the entityID is defined, else an empty array
|
|
1035
|
+
* @internal
|
|
1036
|
+
*/
|
|
1040
1037
|
removeEventListener<K_1 extends keyof HTMLElementEventMap>(type: K_1, listener: (this: HTMLElement, ev: HTMLElementEventMap[K_1]) => any, options?: boolean | EventListenerOptions): void;
|
|
1038
|
+
/**
|
|
1039
|
+
* Returns the config for an entity column if the entityID attribute is defined
|
|
1040
|
+
*
|
|
1041
|
+
* @returns Config for an entity column if the entityID is defined, else an empty array
|
|
1042
|
+
* @internal
|
|
1043
|
+
*/
|
|
1041
1044
|
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
1042
1045
|
readonly attributes: NamedNodeMap;
|
|
1043
1046
|
readonly classList: DOMTokenList;
|
|
@@ -1056,9 +1059,6 @@ declare const Users_base: (new (...args: any[]) => {
|
|
|
1056
1059
|
readonly part: DOMTokenList;
|
|
1057
1060
|
readonly prefix: string;
|
|
1058
1061
|
readonly scrollHeight: number;
|
|
1059
|
-
/**
|
|
1060
|
-
* String which contains event if we have permission to update user of empty string if not
|
|
1061
|
-
*/
|
|
1062
1062
|
scrollLeft: number;
|
|
1063
1063
|
scrollTop: number;
|
|
1064
1064
|
readonly scrollWidth: number;
|
|
@@ -1133,9 +1133,7 @@ declare const Users_base: (new (...args: any[]) => {
|
|
|
1133
1133
|
isDefaultNamespace(namespace: string): boolean;
|
|
1134
1134
|
isEqualNode(otherNode: Node): boolean;
|
|
1135
1135
|
isSameNode(otherNode: Node): boolean;
|
|
1136
|
-
lookupNamespaceURI(prefix: string): string;
|
|
1137
|
-
* @internal
|
|
1138
|
-
*/
|
|
1136
|
+
lookupNamespaceURI(prefix: string): string;
|
|
1139
1137
|
lookupPrefix(namespace: string): string;
|
|
1140
1138
|
normalize(): void;
|
|
1141
1139
|
removeChild<T_3 extends Node>(child: T_3): T_3;
|
|
@@ -0,0 +1,15 @@
|
|
|
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) > [disconnectedCallback](./foundation-entity-management.entitymanagement.disconnectedcallback.md)
|
|
4
|
+
|
|
5
|
+
## EntityManagement.disconnectedCallback() method
|
|
6
|
+
|
|
7
|
+
**Signature:**
|
|
8
|
+
|
|
9
|
+
```typescript
|
|
10
|
+
disconnectedCallback(): Promise<void>;
|
|
11
|
+
```
|
|
12
|
+
**Returns:**
|
|
13
|
+
|
|
14
|
+
Promise<void>
|
|
15
|
+
|
|
@@ -86,6 +86,7 @@ Where:<br /> - the title of the grid is `Counterparty Management`<br /> - the na
|
|
|
86
86
|
| [confirmDelete()](./foundation-entity-management.entitymanagement.confirmdelete.md) | | |
|
|
87
87
|
| [criteriaChanged(e)](./foundation-entity-management.entitymanagement.criteriachanged.md) | | |
|
|
88
88
|
| [deepClone()](./foundation-entity-management.entitymanagement.deepclone.md) | | Override the deepClone method to ensure that observable attributes are cloned |
|
|
89
|
+
| [disconnectedCallback()](./foundation-entity-management.entitymanagement.disconnectedcallback.md) | | |
|
|
89
90
|
| [editModalVisibleChanged()](./foundation-entity-management.entitymanagement.editmodalvisiblechanged.md) | | |
|
|
90
91
|
| [searchChanged(event)](./foundation-entity-management.entitymanagement.searchchanged.md) | | |
|
|
91
92
|
| [submitEntityChanges(e)](./foundation-entity-management.entitymanagement.submitentitychanges.md) | | Event handler for when the user submits the action for the currently open form, either editing or adding the entity |
|
|
@@ -0,0 +1,15 @@
|
|
|
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) > [disconnectedCallback](./foundation-entity-management.users.disconnectedcallback.md)
|
|
4
|
+
|
|
5
|
+
## Users.disconnectedCallback() method
|
|
6
|
+
|
|
7
|
+
**Signature:**
|
|
8
|
+
|
|
9
|
+
```typescript
|
|
10
|
+
disconnectedCallback(): Promise<void>;
|
|
11
|
+
```
|
|
12
|
+
**Returns:**
|
|
13
|
+
|
|
14
|
+
Promise<void>
|
|
15
|
+
|
|
@@ -75,4 +75,5 @@ const userColumns = [
|
|
|
75
75
|
| --- | --- | --- |
|
|
76
76
|
| [connectedCallback()](./foundation-entity-management.users.connectedcallback.md) | | |
|
|
77
77
|
| [deepClone()](./foundation-entity-management.users.deepclone.md) | | |
|
|
78
|
+
| [disconnectedCallback()](./foundation-entity-management.users.disconnectedcallback.md) | | |
|
|
78
79
|
|
package/docs/api-report.md
CHANGED
|
@@ -68,6 +68,8 @@ export class EntityManagement extends EntityManagement_base {
|
|
|
68
68
|
// @internal
|
|
69
69
|
deleteEntity(e: CustomEvent): Promise<void>;
|
|
70
70
|
deleteEvent: string;
|
|
71
|
+
// (undocumented)
|
|
72
|
+
disconnectedCallback(): Promise<void>;
|
|
71
73
|
editDialogTitle: string;
|
|
72
74
|
editedEntity: any;
|
|
73
75
|
// (undocumented)
|
|
@@ -207,6 +209,8 @@ export class Users extends Users_base {
|
|
|
207
209
|
// (undocumented)
|
|
208
210
|
deepClone(): Node;
|
|
209
211
|
deleteEvent: string;
|
|
212
|
+
// (undocumented)
|
|
213
|
+
disconnectedCallback(): Promise<void>;
|
|
210
214
|
enableSearchBar: boolean;
|
|
211
215
|
// @internal
|
|
212
216
|
entityColumn(): {
|
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.177.1",
|
|
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.
|
|
47
|
-
"@genesislcap/genx": "14.
|
|
48
|
-
"@genesislcap/rollup-builder": "14.
|
|
49
|
-
"@genesislcap/ts-builder": "14.
|
|
50
|
-
"@genesislcap/uvu-playwright-builder": "14.
|
|
51
|
-
"@genesislcap/vite-builder": "14.
|
|
52
|
-
"@genesislcap/webpack-builder": "14.
|
|
46
|
+
"@genesislcap/foundation-testing": "14.177.1",
|
|
47
|
+
"@genesislcap/genx": "14.177.1",
|
|
48
|
+
"@genesislcap/rollup-builder": "14.177.1",
|
|
49
|
+
"@genesislcap/ts-builder": "14.177.1",
|
|
50
|
+
"@genesislcap/uvu-playwright-builder": "14.177.1",
|
|
51
|
+
"@genesislcap/vite-builder": "14.177.1",
|
|
52
|
+
"@genesislcap/webpack-builder": "14.177.1",
|
|
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.
|
|
58
|
-
"@genesislcap/foundation-errors": "14.
|
|
59
|
-
"@genesislcap/foundation-events": "14.
|
|
60
|
-
"@genesislcap/foundation-forms": "14.
|
|
61
|
-
"@genesislcap/foundation-logger": "14.
|
|
62
|
-
"@genesislcap/foundation-login": "14.
|
|
63
|
-
"@genesislcap/foundation-notifications": "14.
|
|
64
|
-
"@genesislcap/foundation-ui": "14.
|
|
65
|
-
"@genesislcap/foundation-utils": "14.
|
|
66
|
-
"@genesislcap/foundation-zero": "14.
|
|
67
|
-
"@genesislcap/foundation-zero-grid-pro": "14.
|
|
68
|
-
"@genesislcap/grid-pro": "14.
|
|
57
|
+
"@genesislcap/foundation-comms": "14.177.1",
|
|
58
|
+
"@genesislcap/foundation-errors": "14.177.1",
|
|
59
|
+
"@genesislcap/foundation-events": "14.177.1",
|
|
60
|
+
"@genesislcap/foundation-forms": "14.177.1",
|
|
61
|
+
"@genesislcap/foundation-logger": "14.177.1",
|
|
62
|
+
"@genesislcap/foundation-login": "14.177.1",
|
|
63
|
+
"@genesislcap/foundation-notifications": "14.177.1",
|
|
64
|
+
"@genesislcap/foundation-ui": "14.177.1",
|
|
65
|
+
"@genesislcap/foundation-utils": "14.177.1",
|
|
66
|
+
"@genesislcap/foundation-zero": "14.177.1",
|
|
67
|
+
"@genesislcap/foundation-zero-grid-pro": "14.177.1",
|
|
68
|
+
"@genesislcap/grid-pro": "14.177.1",
|
|
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": "c07c95144c7ef605e038161300877aea756dcc28"
|
|
85
85
|
}
|