@genesislcap/foundation-entity-management 14.177.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.
@@ -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
- export declare class List extends FASTElement {
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;AACxD,OAAO,EAEL,wBAAwB,EACxB,WAAW,EACZ,MAAM,uCAAuC,CAAC;AAC/C,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAC;AAE7D,OAAO,EAAuB,WAAW,EAAoB,MAAM,yBAAyB,CAAC;AAC7F,OAAO,EAAE,uBAAuB,EAAE,MAAM,sBAAsB,CAAC;AAK/D,qBAKa,IAAK,SAAQ,WAAW;IACnC;;;OAGG;IAC0C,MAAM,EAAE,MAAM,CAAU;IAE/D,YAAY,EAAE,MAAM,CAAM;IAC1B,KAAK,EAAE,MAAM,CAAM;IACwB,q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C,MAAM;IAId,OAAO,CAAC,IAAI,CAEV;IAEI,MAAM,CAAC,CAAC,KAAA;CAGf"}
@@ -61,7 +61,19 @@ declare const Users_base: (new (...args: any[]) => {
61
61
  click(): void;
62
62
  addEventListener<K extends keyof HTMLElementEventMap>(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,EAA4B,WAAW,EAAc,MAAM,yBAAyB,CAAC;AAC5F,OAAO,EAAE,uBAAuB,EAAE,MAAM,aAAa,CAAC;AAQtD;;;;;;;GAOG;AACH,eAAO,MAAM,iBAAiB;;;;;;;;;;;IAoC7B,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAgLA;;OAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;gDAmIH;;OAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AArTL;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAqCG;AACH,qBASa,KAAM,SAAQ,UAA2B;IACpD;;;;;;;;OAQG;IACM,OAAO,CAAC,OAAO,CAAU;IAElC;;;;;;;;OAQG;IACG,OAAO,CAAC,IAAI,CAAO;IAEzB;;;;;;;OAOG;IACS,gBAAgB,EAAE,uBAAuB,CAAC;IAEtD;;;OAGG;IAC0C,MAAM,EAAE,M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AS;IAE9B;;OAEG;IACS,WAAW,EAAE,MAAM,CAAC;IAEhC;;OAEG;IACS,WAAW,EAAE,MAAM,CAAC;IAEhC;;OAEG;IACS,WAAW,EAAE,MAAM,CAAC;IAEhC;;;OAGG;IACG,QAAQ,EAAE,MAAM,CAAqB;IAE3C;;;OAGG;IACG,cAAc,EAAE,MAAM,CAAU;IAEtC;;;OAGG;IACG,WAAW,EAAE,MAAM,CAAkB;IAE3C;;;OAGG;IACG,yBAAyB,EAAE,MAAM,CAAuB;IAE9D;;OAEG;;IAaG,iBAAiB;IAgBjB,oBAAoB,IAAI,OAAO,CAAC,IAAI,CAAC;IASlC,SAAS,IAAI,IAAI;IAe1B;;;OAGG;IACH,sBAAsB,CAAC,MAAM,KAAA;;;;;;;;IAW7B;;;;;;;;OAQG;IACG,YAAY,CAAC,MAAM,KAAA;IAoCzB;;OAEG;IACG,YAAY,CAAC,IAAI,KAAA;;;;;;;;;;;;;;;CAwBxB"}
@@ -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
@@ -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
- super.disconnectedCallback();
105
- if (this.enableFilterBar) {
106
- this.removeEventListener('filter-changed', this.handleFilterChanged);
107
- this.removeEventListener('filter-cleared', this.handleFilterCleared);
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;
@@ -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",