@genesislcap/grid-pro 14.225.1 → 14.225.2-alpha-a51f60c.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/dts/column/column.d.ts +46 -29
- package/dist/dts/column/column.d.ts.map +1 -1
- package/dist/dts/datasource/base.datasource.d.ts +45 -29
- package/dist/dts/datasource/base.datasource.d.ts.map +1 -1
- package/dist/dts/datasource/server-side.datasource.d.ts +46 -29
- package/dist/dts/datasource/server-side.datasource.d.ts.map +1 -1
- package/dist/dts/grid-pro-genesis-datasource/grid-pro-genesis-datasource.d.ts +59 -34
- package/dist/dts/grid-pro-genesis-datasource/grid-pro-genesis-datasource.d.ts.map +1 -1
- package/dist/dts/grid-pro.d.ts +49 -36
- package/dist/dts/grid-pro.d.ts.map +1 -1
- package/dist/dts/grid-pro.types.d.ts +1 -1
- package/dist/dts/grid-pro.types.d.ts.map +1 -1
- package/dist/dts/tsdoc-metadata.json +1 -1
- package/dist/esm/cell-renderers/select.renderer.js +1 -1
- package/dist/esm/datasource/server-side.datasource.js +6 -6
- package/dist/esm/datasource/server-side.resource-base.js +1 -1
- package/dist/esm/datasource/server-side.resource-dataserver.js +1 -1
- package/dist/esm/datasource/server-side.resource-reqrep.js +1 -1
- package/dist/esm/grid-pro-genesis-datasource/grid-pro-genesis-datasource.js +4 -4
- package/dist/esm/grid-pro.js +5 -5
- package/dist/esm/state-persistence/kv-state.js +3 -3
- package/dist/grid-pro.api.json +1303 -317
- package/dist/grid-pro.d.ts +244 -158
- package/docs/api/grid-pro.agthemefontsid.md +13 -1
- package/docs/api/grid-pro.agthemetokenmapclassname.md +13 -1
- package/docs/api/grid-pro.agthemetokenmapcss.md +14 -1
- package/docs/api/grid-pro.converttokebabcase.md +14 -1
- package/docs/api/grid-pro.formatdateextra.md +34 -0
- package/docs/api/grid-pro.foundationagbooleanrenderer.md +11 -1
- package/docs/api/grid-pro.foundationageditablerenderer.md +11 -1
- package/docs/api/grid-pro.foundationagselectrenderer.md +11 -1
- package/docs/api/grid-pro.foundationagtextfieldrenderer.md +11 -1
- package/docs/api/grid-pro.foundationagtextrenderer.md +11 -1
- package/docs/api/grid-pro.foundationdateeditor.md +11 -1
- package/docs/api/grid-pro.foundationgridpro.md +11 -1
- package/docs/api/grid-pro.foundationgridproactionrenderer.md +11 -1
- package/docs/api/grid-pro.foundationgridproactionsmenurenderer.md +11 -1
- package/docs/api/grid-pro.foundationmultiselecteditor.md +11 -1
- package/docs/api/grid-pro.foundationnumbereditor.md +11 -1
- package/docs/api/grid-pro.foundationselecteditor.md +11 -1
- package/docs/api/grid-pro.foundationstringeditor.md +11 -1
- package/docs/api/grid-pro.getactionsmenudef.md +17 -1
- package/docs/api/grid-pro.getagbooleanrenderertemplate.md +14 -1
- package/docs/api/grid-pro.getageditablerenderertemplate.md +14 -1
- package/docs/api/grid-pro.getcolumntype.md +33 -0
- package/docs/api/grid-pro.getdateeditortemplate.md +14 -1
- package/docs/api/grid-pro.getfilterbyfieldtype.md +33 -0
- package/docs/api/grid-pro.getgridprotemplate.md +14 -1
- package/docs/api/grid-pro.getmultiselecteditortemplate.md +14 -1
- package/docs/api/grid-pro.getnumbereditortemplate.md +14 -1
- package/docs/api/grid-pro.getselecteditortemplate.md +14 -1
- package/docs/api/grid-pro.getselectrenderertemplate.md +14 -1
- package/docs/api/grid-pro.getstringeditortemplate.md +14 -1
- package/docs/api/grid-pro.gettextfieldrenderertemplate.md +14 -1
- package/docs/api/grid-pro.gettextrenderertemplate.md +12 -1
- package/docs/api/grid-pro.gridpro.md +1 -1
- package/docs/api/grid-pro.gridproserversidedatasource.applyasyncfuncname.md +14 -0
- package/docs/api/grid-pro.gridproserversidedatasource.applyfuncname.md +14 -0
- package/docs/api/grid-pro.gridproserversidedatasource.liveupdates.md +21 -0
- package/docs/api/grid-pro.gridproserversidedatasource.md +35 -0
- package/docs/api/grid-pro.gridproserversidedatasource.pagination.md +14 -0
- package/docs/api/grid-pro.gridproserversidedatasource.params.md +14 -0
- package/docs/api/grid-pro.gridproserversidedatasource.request.md +14 -0
- package/docs/api/grid-pro.gridproserversidedatasource.rowmodel.md +14 -0
- package/docs/api/grid-pro.gridproserversidedatasource.zerobasedviewnumber.md +21 -0
- package/docs/api/grid-pro.md +33 -29
- package/docs/{api-report.md → api-report.md.api.md} +3 -1
- package/package.json +14 -14
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
/// <reference types="node" />
|
|
1
2
|
import { ColDef, ColumnState, RowDataTransaction, RowNodeTransaction } from '@ag-grid-community/core';
|
|
2
3
|
import { GridProBaseDatasource } from '../datasource/base.datasource';
|
|
3
4
|
declare const GridProGenesisDatasource_base: (new (...args: any[]) => {
|
|
@@ -12,6 +13,13 @@ declare const GridProGenesisDatasource_base: (new (...args: any[]) => {
|
|
|
12
13
|
readonly shouldRunConnect: boolean;
|
|
13
14
|
"__#1@#_blockLifecycleDueToTokenChange"(lifecycleType: "connect" | "disconnect" | "reconnect"): boolean;
|
|
14
15
|
"__#1@#_tryFindContainingLayout"(e: Element): import("@genesislcap/foundation-utils").FoundationLayoutContainer | import("@genesislcap/foundation-utils").LayoutCacheContainer | import("@genesislcap/foundation-utils").DOMContainer;
|
|
16
|
+
/**
|
|
17
|
+
* Initializes the datasource.
|
|
18
|
+
* @public
|
|
19
|
+
* @param columnDefinitions - Optionally set the `gridOptions` up with column definitions
|
|
20
|
+
* @param columnStates - Optionally set the grid up with column state
|
|
21
|
+
* @remarks This method is called automatically when the element is connected to the DOM.
|
|
22
|
+
*/
|
|
15
23
|
connectedCallback(): void;
|
|
16
24
|
readonly $fastController: import("@microsoft/fast-element").Controller;
|
|
17
25
|
$emit(type: string, detail?: any, options?: Omit<CustomEventInit<any>, "detail">): boolean | void;
|
|
@@ -32,11 +40,15 @@ declare const GridProGenesisDatasource_base: (new (...args: any[]) => {
|
|
|
32
40
|
readonly offsetTop: number;
|
|
33
41
|
readonly offsetWidth: number;
|
|
34
42
|
outerText: string;
|
|
43
|
+
popover: string;
|
|
35
44
|
spellcheck: boolean;
|
|
36
45
|
title: string;
|
|
37
46
|
translate: boolean;
|
|
38
47
|
attachInternals(): ElementInternals;
|
|
39
48
|
click(): void;
|
|
49
|
+
hidePopover(): void;
|
|
50
|
+
showPopover(): void;
|
|
51
|
+
togglePopover(force?: boolean): boolean;
|
|
40
52
|
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
41
53
|
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
42
54
|
removeEventListener<K_1 extends keyof HTMLElementEventMap>(type: K_1, listener: (this: HTMLElement, ev: HTMLElementEventMap[K_1]) => any, options?: boolean | EventListenerOptions): void;
|
|
@@ -45,10 +57,6 @@ declare const GridProGenesisDatasource_base: (new (...args: any[]) => {
|
|
|
45
57
|
readonly classList: DOMTokenList;
|
|
46
58
|
className: string;
|
|
47
59
|
readonly clientHeight: number;
|
|
48
|
-
/**
|
|
49
|
-
* Destroys the datasource, resetting it to its initial state.
|
|
50
|
-
* @public
|
|
51
|
-
*/
|
|
52
60
|
readonly clientLeft: number;
|
|
53
61
|
readonly clientTop: number;
|
|
54
62
|
readonly clientWidth: number;
|
|
@@ -69,22 +77,33 @@ declare const GridProGenesisDatasource_base: (new (...args: any[]) => {
|
|
|
69
77
|
slot: string;
|
|
70
78
|
readonly tagName: string;
|
|
71
79
|
attachShadow(init: ShadowRootInit): ShadowRoot;
|
|
80
|
+
checkVisibility(options?: CheckVisibilityOptions): boolean;
|
|
72
81
|
closest<K_2 extends keyof HTMLElementTagNameMap>(selector: K_2): HTMLElementTagNameMap[K_2];
|
|
73
82
|
closest<K_3 extends keyof SVGElementTagNameMap>(selector: K_3): SVGElementTagNameMap[K_3];
|
|
83
|
+
closest<K_4 extends keyof MathMLElementTagNameMap>(selector: K_4): MathMLElementTagNameMap[K_4];
|
|
74
84
|
closest<E extends Element = Element>(selectors: string): E;
|
|
85
|
+
computedStyleMap(): StylePropertyMapReadOnly;
|
|
75
86
|
getAttribute(qualifiedName: string): string;
|
|
76
87
|
getAttributeNS(namespace: string, localName: string): string;
|
|
77
88
|
getAttributeNames(): string[];
|
|
78
|
-
getAttributeNode(qualifiedName: string): Attr;
|
|
89
|
+
getAttributeNode(qualifiedName: string): Attr; /**
|
|
90
|
+
* Clears the rowData and columnDefs for the grid.
|
|
91
|
+
* @remarks This is called when `reloadResourceData` happens, on criteria and filters change or full `reset`.
|
|
92
|
+
* @param withColumnDefs - Whether to clear the columnDefs as well. Defaults to true.
|
|
93
|
+
* @internal
|
|
94
|
+
*/
|
|
79
95
|
getAttributeNodeNS(namespace: string, localName: string): Attr;
|
|
80
96
|
getBoundingClientRect(): DOMRect;
|
|
81
97
|
getClientRects(): DOMRectList;
|
|
82
98
|
getElementsByClassName(classNames: string): HTMLCollectionOf<Element>;
|
|
83
|
-
getElementsByTagName<
|
|
84
|
-
getElementsByTagName<
|
|
99
|
+
getElementsByTagName<K_5 extends keyof HTMLElementTagNameMap>(qualifiedName: K_5): HTMLCollectionOf<HTMLElementTagNameMap[K_5]>;
|
|
100
|
+
getElementsByTagName<K_6 extends keyof SVGElementTagNameMap>(qualifiedName: K_6): HTMLCollectionOf<SVGElementTagNameMap[K_6]>;
|
|
101
|
+
getElementsByTagName<K_7 extends keyof MathMLElementTagNameMap>(qualifiedName: K_7): HTMLCollectionOf<MathMLElementTagNameMap[K_7]>;
|
|
102
|
+
getElementsByTagName<K_8 extends keyof HTMLElementDeprecatedTagNameMap>(qualifiedName: K_8): HTMLCollectionOf<HTMLElementDeprecatedTagNameMap[K_8]>;
|
|
85
103
|
getElementsByTagName(qualifiedName: string): HTMLCollectionOf<Element>;
|
|
86
104
|
getElementsByTagNameNS(namespaceURI: "http://www.w3.org/1999/xhtml", localName: string): HTMLCollectionOf<HTMLElement>;
|
|
87
105
|
getElementsByTagNameNS(namespaceURI: "http://www.w3.org/2000/svg", localName: string): HTMLCollectionOf<SVGElement>;
|
|
106
|
+
getElementsByTagNameNS(namespaceURI: "http://www.w3.org/1998/Math/MathML", localName: string): HTMLCollectionOf<MathMLElement>;
|
|
88
107
|
getElementsByTagNameNS(namespace: string, localName: string): HTMLCollectionOf<Element>;
|
|
89
108
|
hasAttribute(qualifiedName: string): boolean;
|
|
90
109
|
hasAttributeNS(namespace: string, localName: string): boolean;
|
|
@@ -141,24 +160,24 @@ declare const GridProGenesisDatasource_base: (new (...args: any[]) => {
|
|
|
141
160
|
normalize(): void;
|
|
142
161
|
removeChild<T_3 extends Node>(child: T_3): T_3;
|
|
143
162
|
replaceChild<T_4 extends Node>(node: Node, child: T_4): T_4;
|
|
144
|
-
readonly
|
|
145
|
-
readonly
|
|
146
|
-
readonly
|
|
147
|
-
readonly
|
|
148
|
-
readonly
|
|
149
|
-
readonly
|
|
150
|
-
readonly
|
|
151
|
-
readonly
|
|
152
|
-
readonly
|
|
153
|
-
readonly
|
|
154
|
-
readonly
|
|
155
|
-
readonly
|
|
156
|
-
readonly
|
|
157
|
-
readonly
|
|
158
|
-
readonly
|
|
159
|
-
readonly
|
|
160
|
-
readonly
|
|
161
|
-
readonly
|
|
163
|
+
readonly ELEMENT_NODE: 1;
|
|
164
|
+
readonly ATTRIBUTE_NODE: 2;
|
|
165
|
+
readonly TEXT_NODE: 3;
|
|
166
|
+
readonly CDATA_SECTION_NODE: 4;
|
|
167
|
+
readonly ENTITY_REFERENCE_NODE: 5;
|
|
168
|
+
readonly ENTITY_NODE: 6;
|
|
169
|
+
readonly PROCESSING_INSTRUCTION_NODE: 7;
|
|
170
|
+
readonly COMMENT_NODE: 8;
|
|
171
|
+
readonly DOCUMENT_NODE: 9;
|
|
172
|
+
readonly DOCUMENT_TYPE_NODE: 10;
|
|
173
|
+
readonly DOCUMENT_FRAGMENT_NODE: 11;
|
|
174
|
+
readonly NOTATION_NODE: 12;
|
|
175
|
+
readonly DOCUMENT_POSITION_DISCONNECTED: 1;
|
|
176
|
+
readonly DOCUMENT_POSITION_PRECEDING: 2;
|
|
177
|
+
readonly DOCUMENT_POSITION_FOLLOWING: 4;
|
|
178
|
+
readonly DOCUMENT_POSITION_CONTAINS: 8;
|
|
179
|
+
readonly DOCUMENT_POSITION_CONTAINED_BY: 16;
|
|
180
|
+
readonly DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC: 32;
|
|
162
181
|
dispatchEvent(event: Event): boolean;
|
|
163
182
|
ariaAtomic: string;
|
|
164
183
|
ariaAutoComplete: string;
|
|
@@ -166,9 +185,9 @@ declare const GridProGenesisDatasource_base: (new (...args: any[]) => {
|
|
|
166
185
|
ariaChecked: string;
|
|
167
186
|
ariaColCount: string;
|
|
168
187
|
ariaColIndex: string;
|
|
169
|
-
ariaColIndexText: string;
|
|
170
188
|
ariaColSpan: string;
|
|
171
189
|
ariaCurrent: string;
|
|
190
|
+
ariaDescription: string;
|
|
172
191
|
ariaDisabled: string;
|
|
173
192
|
ariaExpanded: string;
|
|
174
193
|
ariaHasPopup: string;
|
|
@@ -190,7 +209,6 @@ declare const GridProGenesisDatasource_base: (new (...args: any[]) => {
|
|
|
190
209
|
ariaRoleDescription: string;
|
|
191
210
|
ariaRowCount: string;
|
|
192
211
|
ariaRowIndex: string;
|
|
193
|
-
ariaRowIndexText: string;
|
|
194
212
|
ariaRowSpan: string;
|
|
195
213
|
ariaSelected: string;
|
|
196
214
|
ariaSetSize: string;
|
|
@@ -215,17 +233,19 @@ declare const GridProGenesisDatasource_base: (new (...args: any[]) => {
|
|
|
215
233
|
readonly lastElementChild: Element;
|
|
216
234
|
append(...nodes: (string | Node)[]): void;
|
|
217
235
|
prepend(...nodes: (string | Node)[]): void;
|
|
218
|
-
querySelector<
|
|
219
|
-
querySelector<
|
|
236
|
+
querySelector<K_9 extends keyof HTMLElementTagNameMap>(selectors: K_9): HTMLElementTagNameMap[K_9];
|
|
237
|
+
querySelector<K_10 extends keyof SVGElementTagNameMap>(selectors: K_10): SVGElementTagNameMap[K_10];
|
|
238
|
+
querySelector<K_11 extends keyof MathMLElementTagNameMap>(selectors: K_11): MathMLElementTagNameMap[K_11];
|
|
239
|
+
querySelector<K_12 extends keyof HTMLElementDeprecatedTagNameMap>(selectors: K_12): HTMLElementDeprecatedTagNameMap[K_12];
|
|
220
240
|
querySelector<E_1 extends Element = Element>(selectors: string): E_1;
|
|
221
|
-
querySelectorAll<
|
|
222
|
-
querySelectorAll<
|
|
241
|
+
querySelectorAll<K_13 extends keyof HTMLElementTagNameMap>(selectors: K_13): NodeListOf<HTMLElementTagNameMap[K_13]>;
|
|
242
|
+
querySelectorAll<K_14 extends keyof SVGElementTagNameMap>(selectors: K_14): NodeListOf<SVGElementTagNameMap[K_14]>;
|
|
243
|
+
querySelectorAll<K_15 extends keyof MathMLElementTagNameMap>(selectors: K_15): NodeListOf<MathMLElementTagNameMap[K_15]>;
|
|
244
|
+
querySelectorAll<K_16 extends keyof HTMLElementDeprecatedTagNameMap>(selectors: K_16): NodeListOf<HTMLElementDeprecatedTagNameMap[K_16]>;
|
|
223
245
|
querySelectorAll<E_2 extends Element = Element>(selectors: string): NodeListOf<E_2>;
|
|
224
246
|
replaceChildren(...nodes: (string | Node)[]): void;
|
|
225
247
|
readonly assignedSlot: HTMLSlotElement;
|
|
226
|
-
|
|
227
|
-
oncut: (this: DocumentAndElementEventHandlers, ev: ClipboardEvent) => any;
|
|
228
|
-
onpaste: (this: DocumentAndElementEventHandlers, ev: ClipboardEvent) => any;
|
|
248
|
+
readonly attributeStyleMap: StylePropertyMap;
|
|
229
249
|
readonly style: CSSStyleDeclaration;
|
|
230
250
|
contentEditable: string;
|
|
231
251
|
enterKeyHint: string;
|
|
@@ -238,6 +258,7 @@ declare const GridProGenesisDatasource_base: (new (...args: any[]) => {
|
|
|
238
258
|
onanimationstart: (this: GlobalEventHandlers, ev: AnimationEvent) => any;
|
|
239
259
|
onauxclick: (this: GlobalEventHandlers, ev: MouseEvent) => any;
|
|
240
260
|
onbeforeinput: (this: GlobalEventHandlers, ev: InputEvent) => any;
|
|
261
|
+
onbeforetoggle: (this: GlobalEventHandlers, ev: Event) => any;
|
|
241
262
|
onblur: (this: GlobalEventHandlers, ev: FocusEvent) => any;
|
|
242
263
|
oncancel: (this: GlobalEventHandlers, ev: Event) => any;
|
|
243
264
|
oncanplay: (this: GlobalEventHandlers, ev: Event) => any;
|
|
@@ -246,7 +267,9 @@ declare const GridProGenesisDatasource_base: (new (...args: any[]) => {
|
|
|
246
267
|
onclick: (this: GlobalEventHandlers, ev: MouseEvent) => any;
|
|
247
268
|
onclose: (this: GlobalEventHandlers, ev: Event) => any;
|
|
248
269
|
oncontextmenu: (this: GlobalEventHandlers, ev: MouseEvent) => any;
|
|
270
|
+
oncopy: (this: GlobalEventHandlers, ev: ClipboardEvent) => any;
|
|
249
271
|
oncuechange: (this: GlobalEventHandlers, ev: Event) => any;
|
|
272
|
+
oncut: (this: GlobalEventHandlers, ev: ClipboardEvent) => any;
|
|
250
273
|
ondblclick: (this: GlobalEventHandlers, ev: MouseEvent) => any;
|
|
251
274
|
ondrag: (this: GlobalEventHandlers, ev: DragEvent) => any;
|
|
252
275
|
ondragend: (this: GlobalEventHandlers, ev: DragEvent) => any;
|
|
@@ -279,6 +302,7 @@ declare const GridProGenesisDatasource_base: (new (...args: any[]) => {
|
|
|
279
302
|
onmouseout: (this: GlobalEventHandlers, ev: MouseEvent) => any;
|
|
280
303
|
onmouseover: (this: GlobalEventHandlers, ev: MouseEvent) => any;
|
|
281
304
|
onmouseup: (this: GlobalEventHandlers, ev: MouseEvent) => any;
|
|
305
|
+
onpaste: (this: GlobalEventHandlers, ev: ClipboardEvent) => any;
|
|
282
306
|
onpause: (this: GlobalEventHandlers, ev: Event) => any;
|
|
283
307
|
onplay: (this: GlobalEventHandlers, ev: Event) => any;
|
|
284
308
|
onplaying: (this: GlobalEventHandlers, ev: Event) => any;
|
|
@@ -295,6 +319,7 @@ declare const GridProGenesisDatasource_base: (new (...args: any[]) => {
|
|
|
295
319
|
onreset: (this: GlobalEventHandlers, ev: Event) => any;
|
|
296
320
|
onresize: (this: GlobalEventHandlers, ev: UIEvent) => any;
|
|
297
321
|
onscroll: (this: GlobalEventHandlers, ev: Event) => any;
|
|
322
|
+
onscrollend: (this: GlobalEventHandlers, ev: Event) => any;
|
|
298
323
|
onsecuritypolicyviolation: (this: GlobalEventHandlers, ev: SecurityPolicyViolationEvent) => any;
|
|
299
324
|
onseeked: (this: GlobalEventHandlers, ev: Event) => any;
|
|
300
325
|
onseeking: (this: GlobalEventHandlers, ev: Event) => any;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"grid-pro-genesis-datasource.d.ts","sourceRoot":"","sources":["../../../src/grid-pro-genesis-datasource/grid-pro-genesis-datasource.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,MAAM,EACN,WAAW,EAGX,kBAAkB,EAClB,kBAAkB,EACnB,MAAM,yBAAyB,CAAC;AAejC,OAAO,EAAqB,qBAAqB,EAAE,MAAM,+BAA+B,CAAC
|
|
1
|
+
{"version":3,"file":"grid-pro-genesis-datasource.d.ts","sourceRoot":"","sources":["../../../src/grid-pro-genesis-datasource/grid-pro-genesis-datasource.ts"],"names":[],"mappings":";AAAA,OAAO,EACL,MAAM,EACN,WAAW,EAGX,kBAAkB,EAClB,kBAAkB,EACnB,MAAM,yBAAyB,CAAC;AAejC,OAAO,EAAqB,qBAAqB,EAAE,MAAM,+BAA+B,CAAC;;;;;;;;;;;;;IA+HvF;;;;;;OAMG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;mDAyHH;;;;;OAKG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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AE,SAAS,EAAE,MAAM;IAK9C,YAAY,CAAC,SAAS,EAAE,MAAM;IAK5B,gBAAgB,CACvB,aAAa,EAAE,kBAAkB,GAChC,kBAAkB,GAAG,IAAI,GAAG,SAAS;IAI/B,qBAAqB,CAC5B,aAAa,EAAE,kBAAkB,EACjC,QAAQ,CAAC,EAAE,CAAC,GAAG,EAAE,kBAAkB,KAAK,IAAI,GAC3C,IAAI;IAIP,OAAO,CAAC,iBAAiB;CAO1B"}
|
package/dist/dts/grid-pro.d.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
/// <reference types="node" />
|
|
1
2
|
import { ColumnState, Grid } from '@ag-grid-community/core';
|
|
2
3
|
import type { ColDef, ColumnApi, GridApi, GridOptions, GridParams } from '@ag-grid-community/core';
|
|
3
4
|
import { FoundationElement } from '@microsoft/fast-foundation';
|
|
@@ -21,6 +22,9 @@ declare const GridPro_base: (new (...args: any[]) => {
|
|
|
21
22
|
cloneNode(deep?: boolean): Node;
|
|
22
23
|
deepClone(): Node;
|
|
23
24
|
readonly shouldRunDisconnect: boolean;
|
|
25
|
+
/**
|
|
26
|
+
* The index to add new rows to when using `applyTransaction` or `applyTransactionAsync`
|
|
27
|
+
*/
|
|
24
28
|
readonly shouldRunConnect: boolean;
|
|
25
29
|
"__#1@#_blockLifecycleDueToTokenChange"(lifecycleType: "connect" | "disconnect" | "reconnect"): boolean;
|
|
26
30
|
"__#1@#_tryFindContainingLayout"(e: Element): import("@genesislcap/foundation-utils").FoundationLayoutContainer | import("@genesislcap/foundation-utils").LayoutCacheContainer | import("@genesislcap/foundation-utils").DOMContainer;
|
|
@@ -33,9 +37,6 @@ declare const GridPro_base: (new (...args: any[]) => {
|
|
|
33
37
|
readonly accessKeyLabel: string;
|
|
34
38
|
autocapitalize: string;
|
|
35
39
|
dir: string;
|
|
36
|
-
/**
|
|
37
|
-
* If true, will enable row flashing for all rows for `add` async transactions
|
|
38
|
-
*/
|
|
39
40
|
draggable: boolean;
|
|
40
41
|
hidden: boolean;
|
|
41
42
|
inert: boolean;
|
|
@@ -47,11 +48,15 @@ declare const GridPro_base: (new (...args: any[]) => {
|
|
|
47
48
|
readonly offsetTop: number;
|
|
48
49
|
readonly offsetWidth: number;
|
|
49
50
|
outerText: string;
|
|
51
|
+
popover: string;
|
|
50
52
|
spellcheck: boolean;
|
|
51
53
|
title: string;
|
|
52
54
|
translate: boolean;
|
|
53
55
|
attachInternals(): ElementInternals;
|
|
54
56
|
click(): void;
|
|
57
|
+
hidePopover(): void;
|
|
58
|
+
showPopover(): void;
|
|
59
|
+
togglePopover(force?: boolean): boolean;
|
|
55
60
|
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
56
61
|
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
57
62
|
removeEventListener<K_1 extends keyof HTMLElementEventMap>(type: K_1, listener: (this: HTMLElement, ev: HTMLElementEventMap[K_1]) => any, options?: boolean | EventListenerOptions): void;
|
|
@@ -80,9 +85,12 @@ declare const GridPro_base: (new (...args: any[]) => {
|
|
|
80
85
|
slot: string;
|
|
81
86
|
readonly tagName: string;
|
|
82
87
|
attachShadow(init: ShadowRootInit): ShadowRoot;
|
|
88
|
+
checkVisibility(options?: CheckVisibilityOptions): boolean;
|
|
83
89
|
closest<K_2 extends keyof HTMLElementTagNameMap>(selector: K_2): HTMLElementTagNameMap[K_2];
|
|
84
90
|
closest<K_3 extends keyof SVGElementTagNameMap>(selector: K_3): SVGElementTagNameMap[K_3];
|
|
91
|
+
closest<K_4 extends keyof MathMLElementTagNameMap>(selector: K_4): MathMLElementTagNameMap[K_4];
|
|
85
92
|
closest<E extends Element = Element>(selectors: string): E;
|
|
93
|
+
computedStyleMap(): StylePropertyMapReadOnly;
|
|
86
94
|
getAttribute(qualifiedName: string): string;
|
|
87
95
|
getAttributeNS(namespace: string, localName: string): string;
|
|
88
96
|
getAttributeNames(): string[];
|
|
@@ -91,11 +99,14 @@ declare const GridPro_base: (new (...args: any[]) => {
|
|
|
91
99
|
getBoundingClientRect(): DOMRect;
|
|
92
100
|
getClientRects(): DOMRectList;
|
|
93
101
|
getElementsByClassName(classNames: string): HTMLCollectionOf<Element>;
|
|
94
|
-
getElementsByTagName<
|
|
95
|
-
getElementsByTagName<
|
|
102
|
+
getElementsByTagName<K_5 extends keyof HTMLElementTagNameMap>(qualifiedName: K_5): HTMLCollectionOf<HTMLElementTagNameMap[K_5]>;
|
|
103
|
+
getElementsByTagName<K_6 extends keyof SVGElementTagNameMap>(qualifiedName: K_6): HTMLCollectionOf<SVGElementTagNameMap[K_6]>;
|
|
104
|
+
getElementsByTagName<K_7 extends keyof MathMLElementTagNameMap>(qualifiedName: K_7): HTMLCollectionOf<MathMLElementTagNameMap[K_7]>;
|
|
105
|
+
getElementsByTagName<K_8 extends keyof HTMLElementDeprecatedTagNameMap>(qualifiedName: K_8): HTMLCollectionOf<HTMLElementDeprecatedTagNameMap[K_8]>;
|
|
96
106
|
getElementsByTagName(qualifiedName: string): HTMLCollectionOf<Element>;
|
|
97
107
|
getElementsByTagNameNS(namespaceURI: "http://www.w3.org/1999/xhtml", localName: string): HTMLCollectionOf<HTMLElement>;
|
|
98
108
|
getElementsByTagNameNS(namespaceURI: "http://www.w3.org/2000/svg", localName: string): HTMLCollectionOf<SVGElement>;
|
|
109
|
+
getElementsByTagNameNS(namespaceURI: "http://www.w3.org/1998/Math/MathML", localName: string): HTMLCollectionOf<MathMLElement>;
|
|
99
110
|
getElementsByTagNameNS(namespace: string, localName: string): HTMLCollectionOf<Element>;
|
|
100
111
|
hasAttribute(qualifiedName: string): boolean;
|
|
101
112
|
hasAttributeNS(namespace: string, localName: string): boolean;
|
|
@@ -152,24 +163,24 @@ declare const GridPro_base: (new (...args: any[]) => {
|
|
|
152
163
|
normalize(): void;
|
|
153
164
|
removeChild<T_3 extends Node>(child: T_3): T_3;
|
|
154
165
|
replaceChild<T_4 extends Node>(node: Node, child: T_4): T_4;
|
|
155
|
-
readonly
|
|
156
|
-
readonly
|
|
157
|
-
readonly
|
|
158
|
-
readonly
|
|
159
|
-
readonly
|
|
160
|
-
readonly
|
|
161
|
-
readonly
|
|
162
|
-
readonly
|
|
163
|
-
readonly
|
|
164
|
-
readonly
|
|
165
|
-
readonly
|
|
166
|
-
readonly
|
|
167
|
-
readonly
|
|
168
|
-
readonly
|
|
169
|
-
readonly
|
|
170
|
-
readonly
|
|
171
|
-
readonly
|
|
172
|
-
readonly
|
|
166
|
+
readonly ELEMENT_NODE: 1;
|
|
167
|
+
readonly ATTRIBUTE_NODE: 2;
|
|
168
|
+
readonly TEXT_NODE: 3;
|
|
169
|
+
readonly CDATA_SECTION_NODE: 4;
|
|
170
|
+
readonly ENTITY_REFERENCE_NODE: 5;
|
|
171
|
+
readonly ENTITY_NODE: 6;
|
|
172
|
+
readonly PROCESSING_INSTRUCTION_NODE: 7;
|
|
173
|
+
readonly COMMENT_NODE: 8;
|
|
174
|
+
readonly DOCUMENT_NODE: 9;
|
|
175
|
+
readonly DOCUMENT_TYPE_NODE: 10;
|
|
176
|
+
readonly DOCUMENT_FRAGMENT_NODE: 11;
|
|
177
|
+
readonly NOTATION_NODE: 12;
|
|
178
|
+
readonly DOCUMENT_POSITION_DISCONNECTED: 1;
|
|
179
|
+
readonly DOCUMENT_POSITION_PRECEDING: 2;
|
|
180
|
+
readonly DOCUMENT_POSITION_FOLLOWING: 4;
|
|
181
|
+
readonly DOCUMENT_POSITION_CONTAINS: 8;
|
|
182
|
+
readonly DOCUMENT_POSITION_CONTAINED_BY: 16;
|
|
183
|
+
readonly DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC: 32;
|
|
173
184
|
dispatchEvent(event: Event): boolean;
|
|
174
185
|
ariaAtomic: string;
|
|
175
186
|
ariaAutoComplete: string;
|
|
@@ -177,9 +188,9 @@ declare const GridPro_base: (new (...args: any[]) => {
|
|
|
177
188
|
ariaChecked: string;
|
|
178
189
|
ariaColCount: string;
|
|
179
190
|
ariaColIndex: string;
|
|
180
|
-
ariaColIndexText: string;
|
|
181
191
|
ariaColSpan: string;
|
|
182
192
|
ariaCurrent: string;
|
|
193
|
+
ariaDescription: string;
|
|
183
194
|
ariaDisabled: string;
|
|
184
195
|
ariaExpanded: string;
|
|
185
196
|
ariaHasPopup: string;
|
|
@@ -199,13 +210,8 @@ declare const GridPro_base: (new (...args: any[]) => {
|
|
|
199
210
|
ariaReadOnly: string;
|
|
200
211
|
ariaRequired: string;
|
|
201
212
|
ariaRoleDescription: string;
|
|
202
|
-
/**
|
|
203
|
-
* If {@link @genesislcap/grid-pro#GridPro.gridAutosizingEnabled} is true, will remove the widths from the column states.
|
|
204
|
-
* @internal
|
|
205
|
-
*/
|
|
206
213
|
ariaRowCount: string;
|
|
207
214
|
ariaRowIndex: string;
|
|
208
|
-
ariaRowIndexText: string;
|
|
209
215
|
ariaRowSpan: string;
|
|
210
216
|
ariaSelected: string;
|
|
211
217
|
ariaSetSize: string;
|
|
@@ -230,17 +236,19 @@ declare const GridPro_base: (new (...args: any[]) => {
|
|
|
230
236
|
readonly lastElementChild: Element;
|
|
231
237
|
append(...nodes: (string | Node)[]): void;
|
|
232
238
|
prepend(...nodes: (string | Node)[]): void;
|
|
233
|
-
querySelector<
|
|
234
|
-
querySelector<
|
|
239
|
+
querySelector<K_9 extends keyof HTMLElementTagNameMap>(selectors: K_9): HTMLElementTagNameMap[K_9];
|
|
240
|
+
querySelector<K_10 extends keyof SVGElementTagNameMap>(selectors: K_10): SVGElementTagNameMap[K_10];
|
|
241
|
+
querySelector<K_11 extends keyof MathMLElementTagNameMap>(selectors: K_11): MathMLElementTagNameMap[K_11];
|
|
242
|
+
querySelector<K_12 extends keyof HTMLElementDeprecatedTagNameMap>(selectors: K_12): HTMLElementDeprecatedTagNameMap[K_12];
|
|
235
243
|
querySelector<E_1 extends Element = Element>(selectors: string): E_1;
|
|
236
|
-
querySelectorAll<
|
|
237
|
-
querySelectorAll<
|
|
244
|
+
querySelectorAll<K_13 extends keyof HTMLElementTagNameMap>(selectors: K_13): NodeListOf<HTMLElementTagNameMap[K_13]>;
|
|
245
|
+
querySelectorAll<K_14 extends keyof SVGElementTagNameMap>(selectors: K_14): NodeListOf<SVGElementTagNameMap[K_14]>;
|
|
246
|
+
querySelectorAll<K_15 extends keyof MathMLElementTagNameMap>(selectors: K_15): NodeListOf<MathMLElementTagNameMap[K_15]>;
|
|
247
|
+
querySelectorAll<K_16 extends keyof HTMLElementDeprecatedTagNameMap>(selectors: K_16): NodeListOf<HTMLElementDeprecatedTagNameMap[K_16]>;
|
|
238
248
|
querySelectorAll<E_2 extends Element = Element>(selectors: string): NodeListOf<E_2>;
|
|
239
249
|
replaceChildren(...nodes: (string | Node)[]): void;
|
|
240
250
|
readonly assignedSlot: HTMLSlotElement;
|
|
241
|
-
|
|
242
|
-
oncut: (this: DocumentAndElementEventHandlers, ev: ClipboardEvent) => any;
|
|
243
|
-
onpaste: (this: DocumentAndElementEventHandlers, ev: ClipboardEvent) => any;
|
|
251
|
+
readonly attributeStyleMap: StylePropertyMap;
|
|
244
252
|
readonly style: CSSStyleDeclaration;
|
|
245
253
|
contentEditable: string;
|
|
246
254
|
enterKeyHint: string;
|
|
@@ -253,6 +261,7 @@ declare const GridPro_base: (new (...args: any[]) => {
|
|
|
253
261
|
onanimationstart: (this: GlobalEventHandlers, ev: AnimationEvent) => any;
|
|
254
262
|
onauxclick: (this: GlobalEventHandlers, ev: MouseEvent) => any;
|
|
255
263
|
onbeforeinput: (this: GlobalEventHandlers, ev: InputEvent) => any;
|
|
264
|
+
onbeforetoggle: (this: GlobalEventHandlers, ev: Event) => any;
|
|
256
265
|
onblur: (this: GlobalEventHandlers, ev: FocusEvent) => any;
|
|
257
266
|
oncancel: (this: GlobalEventHandlers, ev: Event) => any;
|
|
258
267
|
oncanplay: (this: GlobalEventHandlers, ev: Event) => any;
|
|
@@ -261,7 +270,9 @@ declare const GridPro_base: (new (...args: any[]) => {
|
|
|
261
270
|
onclick: (this: GlobalEventHandlers, ev: MouseEvent) => any;
|
|
262
271
|
onclose: (this: GlobalEventHandlers, ev: Event) => any;
|
|
263
272
|
oncontextmenu: (this: GlobalEventHandlers, ev: MouseEvent) => any;
|
|
273
|
+
oncopy: (this: GlobalEventHandlers, ev: ClipboardEvent) => any;
|
|
264
274
|
oncuechange: (this: GlobalEventHandlers, ev: Event) => any;
|
|
275
|
+
oncut: (this: GlobalEventHandlers, ev: ClipboardEvent) => any;
|
|
265
276
|
ondblclick: (this: GlobalEventHandlers, ev: MouseEvent) => any;
|
|
266
277
|
ondrag: (this: GlobalEventHandlers, ev: DragEvent) => any;
|
|
267
278
|
ondragend: (this: GlobalEventHandlers, ev: DragEvent) => any;
|
|
@@ -294,6 +305,7 @@ declare const GridPro_base: (new (...args: any[]) => {
|
|
|
294
305
|
onmouseout: (this: GlobalEventHandlers, ev: MouseEvent) => any;
|
|
295
306
|
onmouseover: (this: GlobalEventHandlers, ev: MouseEvent) => any;
|
|
296
307
|
onmouseup: (this: GlobalEventHandlers, ev: MouseEvent) => any;
|
|
308
|
+
onpaste: (this: GlobalEventHandlers, ev: ClipboardEvent) => any;
|
|
297
309
|
onpause: (this: GlobalEventHandlers, ev: Event) => any;
|
|
298
310
|
onplay: (this: GlobalEventHandlers, ev: Event) => any;
|
|
299
311
|
onplaying: (this: GlobalEventHandlers, ev: Event) => any;
|
|
@@ -310,6 +322,7 @@ declare const GridPro_base: (new (...args: any[]) => {
|
|
|
310
322
|
onreset: (this: GlobalEventHandlers, ev: Event) => any;
|
|
311
323
|
onresize: (this: GlobalEventHandlers, ev: UIEvent) => any;
|
|
312
324
|
onscroll: (this: GlobalEventHandlers, ev: Event) => any;
|
|
325
|
+
onscrollend: (this: GlobalEventHandlers, ev: Event) => any;
|
|
313
326
|
onsecuritypolicyviolation: (this: GlobalEventHandlers, ev: SecurityPolicyViolationEvent) => any;
|
|
314
327
|
onseeked: (this: GlobalEventHandlers, ev: Event) => any;
|
|
315
328
|
onseeking: (this: GlobalEventHandlers, ev: Event) => any;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"grid-pro.d.ts","sourceRoot":"","sources":["../../src/grid-pro.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,WAAW,EAAyB,IAAI,EAAkB,MAAM,yBAAyB,CAAC;AACnG,OAAO,KAAK,EACV,MAAM,EACN,SAAS,EAET,OAAO,EACP,WAAW,EACX,UAAU,EAEX,MAAM,yBAAyB,CAAC;AAQjC,OAAO,EAAE,iBAAiB,EAAE,MAAM,4BAA4B,CAAC;AAoB/D,OAAO,EAAE,2BAA2B,EAAE,2BAA2B,EAAE,MAAM,cAAc,CAAC;AAExF,OAAO,EACL,wBAAwB,EAEzB,MAAM,+BAA+B,CAAC;AAQvC,OAAO,EAML,iBAAiB,EAGlB,MAAM,kBAAkB,CAAC;AAC1B,OAAO,KAAK,EACV,cAAc,EACd,eAAe,EAEf,gBAAgB,EAChB,iBAAiB,EAEjB,yBAAyB,EAC1B,MAAM,kBAAkB,CAAC;AAC1B,OAAO,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AAcvD;;;;GAIG;AACH,eAAO,MAAM,aAAa,szRAA8D,CAAC
|
|
1
|
+
{"version":3,"file":"grid-pro.d.ts","sourceRoot":"","sources":["../../src/grid-pro.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,WAAW,EAAyB,IAAI,EAAkB,MAAM,yBAAyB,CAAC;AACnG,OAAO,KAAK,EACV,MAAM,EACN,SAAS,EAET,OAAO,EACP,WAAW,EACX,UAAU,EAEX,MAAM,yBAAyB,CAAC;AAQjC,OAAO,EAAE,iBAAiB,EAAE,MAAM,4BAA4B,CAAC;AAoB/D,OAAO,EAAE,2BAA2B,EAAE,2BAA2B,EAAE,MAAM,cAAc,CAAC;AAExF,OAAO,EACL,wBAAwB,EAEzB,MAAM,+BAA+B,CAAC;AAQvC,OAAO,EAML,iB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KAAA,EAAE,QAAQ,KAAA;IAqBtD,mBAAmB,CAAC,SAAS,KAAA,EAAE,KAAK,KAAA;IAiBpC,OAAO,CAAC,eAAe,CAAa;IAEpC,OAAO,CAAC,cAAc;IAStB,OAAO,CAAC,eAAe;CAMxB;AAED;;;;;GAKG;AACH,eAAO,MAAM,8BAA8B,EAAE,cAA0B,CAAC;AAExE;;;GAGG;AACH,eAAO,MAAM,oBAAoB;;CAEhC,CAAC;AAEF;;;;;;GAMG;AACH,eAAO,MAAM,iBAAiB;;;;;;;;;;kBAM5B,CAAC"}
|
|
@@ -128,7 +128,7 @@ export declare enum GridProRendererTypes {
|
|
|
128
128
|
actionsMenu = "actionsMenu",
|
|
129
129
|
boolean = "boolean",
|
|
130
130
|
editable = "editable",
|
|
131
|
-
text = "text"
|
|
131
|
+
text = "text",// TODO: textField :(
|
|
132
132
|
select = "select",
|
|
133
133
|
dateEditor = "dateEditor",
|
|
134
134
|
selectEditor = "selectEditor",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"grid-pro.types.d.ts","sourceRoot":"","sources":["../../src/grid-pro.types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AACtD,OAAO,EAAsB,cAAc,EAAE,MAAM,4BAA4B,CAAC;AAGhF,OAAO,KAAK,EAAE,kCAAkC,EAAE,MAAM,iEAAiE,CAAC;AAC1H,OAAO,EAAE,iBAAiB,EAAE,MAAM,wBAAwB,CAAC;AAE3D;;;GAGG;AACH,oBAAY,aAAa;IACvB,eAAe,0BAA0B;IACzC,SAAS,oBAAoB;IAC7B,wBAAwB,oCAAoC;IAC5D,qBAAqB,iCAAiC;IACtD,uBAAuB,mCAAmC;IAC1D,eAAe,0BAA0B;IACzC,qBAAqB,iCAAiC;IACtD,wBAAwB,oCAAoC;IAC5D,+BAA+B,4CAA4C;IAC3E,2BAA2B,wCAAwC;IACnE,0BAA0B,uCAAuC;IACjE,qBAAqB,kCAAk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CAAC,CAAC,CAAC;CACvD,CAAC;AAEF;;;;GAIG;AACH,MAAM,MAAM,yBAAyB,GAAG,aAAa,CAAC,kBAAkB,CAAC,WAAW,CAAC,CAAC,CAAC"}
|
|
@@ -99,7 +99,7 @@ export const getSelectRendererTemplate = (designSystem = 'foundation') => {
|
|
|
99
99
|
* HTML Element: \<foundation-select-renderer\>
|
|
100
100
|
*/
|
|
101
101
|
export const foundationAgSelectRenderer = SelectRenderer.compose({
|
|
102
|
-
baseName: 'select-renderer',
|
|
102
|
+
baseName: 'select-renderer', // TODO: others have 'grid-pro' in the name, why not this one?
|
|
103
103
|
styles: agSelectRendererStyles,
|
|
104
104
|
template: getSelectRendererTemplate(),
|
|
105
105
|
});
|
|
@@ -80,8 +80,8 @@ let GridProServerSideDatasource = class GridProServerSideDatasource extends Life
|
|
|
80
80
|
* @internal
|
|
81
81
|
*/
|
|
82
82
|
reloadResourceData(params) {
|
|
83
|
-
var _a, _b, _c, _d, _e, _f;
|
|
84
83
|
return __awaiter(this, void 0, void 0, function* () {
|
|
84
|
+
var _a, _b, _c, _d, _e, _f;
|
|
85
85
|
this.datasource.destroy();
|
|
86
86
|
(_a = this.liveUpdatesStream) === null || _a === void 0 ? void 0 : _a.unsubscribe();
|
|
87
87
|
this.liveUpdatesStream = undefined;
|
|
@@ -183,8 +183,8 @@ let GridProServerSideDatasource = class GridProServerSideDatasource extends Life
|
|
|
183
183
|
}
|
|
184
184
|
}
|
|
185
185
|
destroy() {
|
|
186
|
-
var _a, _b, _c;
|
|
187
186
|
return __awaiter(this, void 0, void 0, function* () {
|
|
187
|
+
var _a, _b, _c;
|
|
188
188
|
this.datasource.destroy();
|
|
189
189
|
(_a = this.liveUpdatesStream) === null || _a === void 0 ? void 0 : _a.unsubscribe();
|
|
190
190
|
this.liveUpdatesStream = undefined;
|
|
@@ -248,14 +248,14 @@ let GridProServerSideDatasource = class GridProServerSideDatasource extends Life
|
|
|
248
248
|
get rowModel() {
|
|
249
249
|
return this.agGrid.gridApi.getModel();
|
|
250
250
|
}
|
|
251
|
-
createReqRepRequest(
|
|
252
|
-
return __awaiter(this,
|
|
251
|
+
createReqRepRequest() {
|
|
252
|
+
return __awaiter(this, arguments, void 0, function* (existingParams = null) {
|
|
253
253
|
const reqRep = yield this.datasource.snapshot(existingParams);
|
|
254
254
|
return reqRep;
|
|
255
255
|
});
|
|
256
256
|
}
|
|
257
|
-
createDataserverStream(
|
|
258
|
-
return __awaiter(this,
|
|
257
|
+
createDataserverStream() {
|
|
258
|
+
return __awaiter(this, arguments, void 0, function* (existingParams = null) {
|
|
259
259
|
if (this.liveUpdates) {
|
|
260
260
|
const streamOnMessage = (message) => __awaiter(this, void 0, void 0, function* () {
|
|
261
261
|
var _a, _b;
|
|
@@ -34,8 +34,8 @@ export class BaseServerSideDatasource {
|
|
|
34
34
|
throw new Error('Method not implemented.');
|
|
35
35
|
}
|
|
36
36
|
setupFilteringAndSorting(params) {
|
|
37
|
-
var _a;
|
|
38
37
|
return __awaiter(this, void 0, void 0, function* () {
|
|
38
|
+
var _a;
|
|
39
39
|
const filterModelBeingApplied = params.request.filterModel;
|
|
40
40
|
const filtersAreBeingApplied = Object.keys(filterModelBeingApplied).length > 0;
|
|
41
41
|
const filtersAreGettingCleaned = Object.keys(filterModelBeingApplied).length === 0;
|
|
@@ -110,8 +110,8 @@ export class DataserverServerSideDatasource extends BaseServerSideDatasource {
|
|
|
110
110
|
const _super = Object.create(null, {
|
|
111
111
|
destroy: { get: () => super.destroy }
|
|
112
112
|
});
|
|
113
|
-
var _a;
|
|
114
113
|
return __awaiter(this, void 0, void 0, function* () {
|
|
114
|
+
var _a;
|
|
115
115
|
this.dataserverStream = undefined;
|
|
116
116
|
(_a = this.dataserverStreamSubscription) === null || _a === void 0 ? void 0 : _a.unsubscribe();
|
|
117
117
|
this.dataserverStreamSubscription = undefined;
|
|
@@ -16,8 +16,8 @@ export class ReqRepServerSideDatasource extends BaseServerSideDatasource {
|
|
|
16
16
|
}
|
|
17
17
|
}
|
|
18
18
|
getRows(params) {
|
|
19
|
-
var _a;
|
|
20
19
|
return __awaiter(this, void 0, void 0, function* () {
|
|
20
|
+
var _a;
|
|
21
21
|
yield this.setupFilteringAndSorting(params);
|
|
22
22
|
if (this.pagination && !this.isNewPageSize && this.currentSequenceId > 0) {
|
|
23
23
|
params.success(this.lastSuccessRowData);
|
|
@@ -224,8 +224,8 @@ let GridProGenesisDatasource = class GridProGenesisDatasource extends LifecycleM
|
|
|
224
224
|
* @internal
|
|
225
225
|
*/
|
|
226
226
|
setRowData(rowData) {
|
|
227
|
-
var _a;
|
|
228
227
|
return __awaiter(this, void 0, void 0, function* () {
|
|
228
|
+
var _a;
|
|
229
229
|
const preSetColumnDefs = (_a = this.agGrid.gridApi) === null || _a === void 0 ? void 0 : _a.getColumnDefs();
|
|
230
230
|
if (!preSetColumnDefs || preSetColumnDefs.length === 0) {
|
|
231
231
|
const agColumnDefs = yield this.getAgColumnDefs(this.datasource.fieldMetadata);
|
|
@@ -258,8 +258,8 @@ let GridProGenesisDatasource = class GridProGenesisDatasource extends LifecycleM
|
|
|
258
258
|
* @internal
|
|
259
259
|
*/
|
|
260
260
|
reloadResourceData() {
|
|
261
|
-
var _a, _b;
|
|
262
261
|
return __awaiter(this, void 0, void 0, function* () {
|
|
262
|
+
var _a, _b;
|
|
263
263
|
logger.debug('GridProGenesisDatasource.reloadResourceData()', this.resourceName);
|
|
264
264
|
if (this.dataSub) {
|
|
265
265
|
this.dataSub.unsubscribe();
|
|
@@ -278,8 +278,8 @@ let GridProGenesisDatasource = class GridProGenesisDatasource extends LifecycleM
|
|
|
278
278
|
* @param withFullInit - if true, will call datasource.init() with requiresMetadataFetch = true, fetching fresh metadata
|
|
279
279
|
* @internal
|
|
280
280
|
*/
|
|
281
|
-
loadResourceData(
|
|
282
|
-
return __awaiter(this,
|
|
281
|
+
loadResourceData() {
|
|
282
|
+
return __awaiter(this, arguments, void 0, function* (withFullInit = true) {
|
|
283
283
|
const requiresMetadataFetch = withFullInit || !this.datasource.initialized;
|
|
284
284
|
try {
|
|
285
285
|
const initOK = yield this.datasource.init(this.datasourceOptions(), requiresMetadataFetch);
|
package/dist/esm/grid-pro.js
CHANGED
|
@@ -281,8 +281,8 @@ export class GridPro extends LifecycleMixin(FoundationElement) {
|
|
|
281
281
|
});
|
|
282
282
|
}
|
|
283
283
|
restoreColumnState() {
|
|
284
|
-
var _a;
|
|
285
284
|
return __awaiter(this, void 0, void 0, function* () {
|
|
285
|
+
var _a;
|
|
286
286
|
this.rehydrationAttempted = true;
|
|
287
287
|
const colState = yield this.getSavedColumnState();
|
|
288
288
|
if (colState && colState.length > 0) {
|
|
@@ -298,8 +298,8 @@ export class GridPro extends LifecycleMixin(FoundationElement) {
|
|
|
298
298
|
this.setFilterModel(((_a = this.gridApi) === null || _a === void 0 ? void 0 : _a.getFilterModel()) || undefined);
|
|
299
299
|
}
|
|
300
300
|
restoreCachedFilterConfig() {
|
|
301
|
-
var _a, _b;
|
|
302
301
|
return __awaiter(this, void 0, void 0, function* () {
|
|
302
|
+
var _a, _b;
|
|
303
303
|
const filterModel = yield this.getfilterModel();
|
|
304
304
|
if (typeof filterModel !== 'undefined') {
|
|
305
305
|
(_a = this.gridApi) === null || _a === void 0 ? void 0 : _a.setFilterModel(filterModel);
|
|
@@ -426,9 +426,9 @@ export class GridPro extends LifecycleMixin(FoundationElement) {
|
|
|
426
426
|
* on the `grid-pro-genesis-datasource` element. Defaults to false but `grid-pro-genesis-datasource` will set this to true.
|
|
427
427
|
* @returns The merged column definitions.
|
|
428
428
|
*/
|
|
429
|
-
mergeAllColumnDefsAndStates(
|
|
430
|
-
|
|
431
|
-
|
|
429
|
+
mergeAllColumnDefsAndStates(columnDefs_1) {
|
|
430
|
+
return __awaiter(this, arguments, void 0, function* (columnDefs, deferredColumnDefsOrState = false) {
|
|
431
|
+
var _a;
|
|
432
432
|
const columnDefinitionsFromMetadata = columnDefs || [];
|
|
433
433
|
columnDefinitionsFromMetadata.forEach((colDefFromMetadata) => {
|
|
434
434
|
if (this.headerCaseType && colDefFromMetadata.field && !colDefFromMetadata.headerName) {
|