@genesislcap/grid-pro 14.228.1 → 14.228.2-alpha-16265c5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/custom-elements.json +38 -0
- package/dist/dts/grid-pro-genesis-datasource/grid-pro-genesis-datasource.d.ts +13 -5
- package/dist/dts/grid-pro-genesis-datasource/grid-pro-genesis-datasource.d.ts.map +1 -1
- package/dist/esm/grid-pro-genesis-datasource/grid-pro-genesis-datasource.js +67 -27
- package/dist/grid-pro.d.ts +13 -5
- package/package.json +13 -13
|
@@ -7486,6 +7486,29 @@
|
|
|
7486
7486
|
"module": "src/grid-pro-genesis-datasource/grid-pro-genesis-datasource.ts"
|
|
7487
7487
|
}
|
|
7488
7488
|
},
|
|
7489
|
+
{
|
|
7490
|
+
"kind": "field",
|
|
7491
|
+
"name": "loadingData",
|
|
7492
|
+
"type": {
|
|
7493
|
+
"text": "boolean"
|
|
7494
|
+
},
|
|
7495
|
+
"privacy": "private",
|
|
7496
|
+
"default": "false",
|
|
7497
|
+
"inheritedFrom": {
|
|
7498
|
+
"name": "GridProGenesisDatasource",
|
|
7499
|
+
"module": "src/grid-pro-genesis-datasource/grid-pro-genesis-datasource.ts"
|
|
7500
|
+
}
|
|
7501
|
+
},
|
|
7502
|
+
{
|
|
7503
|
+
"kind": "field",
|
|
7504
|
+
"name": "destroy$",
|
|
7505
|
+
"privacy": "private",
|
|
7506
|
+
"default": "new Subject<void>()",
|
|
7507
|
+
"inheritedFrom": {
|
|
7508
|
+
"name": "GridProGenesisDatasource",
|
|
7509
|
+
"module": "src/grid-pro-genesis-datasource/grid-pro-genesis-datasource.ts"
|
|
7510
|
+
}
|
|
7511
|
+
},
|
|
7489
7512
|
{
|
|
7490
7513
|
"kind": "method",
|
|
7491
7514
|
"name": "colDefsDeepClone",
|
|
@@ -11938,6 +11961,21 @@
|
|
|
11938
11961
|
"privacy": "private",
|
|
11939
11962
|
"default": "true"
|
|
11940
11963
|
},
|
|
11964
|
+
{
|
|
11965
|
+
"kind": "field",
|
|
11966
|
+
"name": "loadingData",
|
|
11967
|
+
"type": {
|
|
11968
|
+
"text": "boolean"
|
|
11969
|
+
},
|
|
11970
|
+
"privacy": "private",
|
|
11971
|
+
"default": "false"
|
|
11972
|
+
},
|
|
11973
|
+
{
|
|
11974
|
+
"kind": "field",
|
|
11975
|
+
"name": "destroy$",
|
|
11976
|
+
"privacy": "private",
|
|
11977
|
+
"default": "new Subject<void>()"
|
|
11978
|
+
},
|
|
11941
11979
|
{
|
|
11942
11980
|
"kind": "method",
|
|
11943
11981
|
"name": "deepClone",
|
|
@@ -45,10 +45,6 @@ declare const GridProGenesisDatasource_base: (new (...args: any[]) => {
|
|
|
45
45
|
readonly classList: DOMTokenList;
|
|
46
46
|
className: string;
|
|
47
47
|
readonly clientHeight: number;
|
|
48
|
-
/**
|
|
49
|
-
* Destroys the datasource, resetting it to its initial state.
|
|
50
|
-
* @public
|
|
51
|
-
*/
|
|
52
48
|
readonly clientLeft: number;
|
|
53
49
|
readonly clientTop: number;
|
|
54
50
|
readonly clientWidth: number;
|
|
@@ -60,6 +56,11 @@ declare const GridProGenesisDatasource_base: (new (...args: any[]) => {
|
|
|
60
56
|
outerHTML: string;
|
|
61
57
|
readonly ownerDocument: Document;
|
|
62
58
|
readonly part: DOMTokenList;
|
|
59
|
+
/**
|
|
60
|
+
* Deinitialises the datasource, resetting it to its initial state.
|
|
61
|
+
* @deprecated Use `destroy` instead
|
|
62
|
+
* @public
|
|
63
|
+
*/
|
|
63
64
|
readonly prefix: string;
|
|
64
65
|
readonly scrollHeight: number;
|
|
65
66
|
scrollLeft: number;
|
|
@@ -86,7 +87,12 @@ declare const GridProGenesisDatasource_base: (new (...args: any[]) => {
|
|
|
86
87
|
getElementsByTagNameNS(namespaceURI: "http://www.w3.org/1999/xhtml", localName: string): HTMLCollectionOf<HTMLElement>;
|
|
87
88
|
getElementsByTagNameNS(namespaceURI: "http://www.w3.org/2000/svg", localName: string): HTMLCollectionOf<SVGElement>;
|
|
88
89
|
getElementsByTagNameNS(namespace: string, localName: string): HTMLCollectionOf<Element>;
|
|
89
|
-
hasAttribute(qualifiedName: string): boolean;
|
|
90
|
+
hasAttribute(qualifiedName: string): boolean; /**
|
|
91
|
+
* Clears the rowData and columnDefs for the grid.
|
|
92
|
+
* @remarks This is called when `reloadResourceData` happens, on criteria and filters change or full `reset`.
|
|
93
|
+
* @param withColumnDefs - Whether to clear the columnDefs as well. Defaults to true.
|
|
94
|
+
* @internal
|
|
95
|
+
*/
|
|
90
96
|
hasAttributeNS(namespace: string, localName: string): boolean;
|
|
91
97
|
hasAttributes(): boolean;
|
|
92
98
|
hasPointerCapture(pointerId: number): boolean;
|
|
@@ -346,6 +352,8 @@ export declare class GridProGenesisDatasource extends GridProGenesisDatasource_b
|
|
|
346
352
|
private updateSub;
|
|
347
353
|
private connectionSub;
|
|
348
354
|
private requiresFullRowDataAndColDefs;
|
|
355
|
+
private loadingData;
|
|
356
|
+
private destroy$;
|
|
349
357
|
connectedCallback(): void;
|
|
350
358
|
disconnectedCallback(): void;
|
|
351
359
|
deepClone(): Node;
|
|
@@ -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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAqMvF;;;;OAIG;;;;;;;;;;;;;;;;;;;;;;;;;;;kDAwEH;;;;;OAKG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA5QL;;;;GAIG;AACH,qBAGa,wBAAyB,SAAQ,6BAAqC;IACjF,aAAa,SAAsB;IACnC,kBAAkB,SAA2B;IAG7C,eAAe,CAAC,WAAW,EAAE,MAAM,EAAE,WAAW,EAAE,MAAM;IASxD,cAAc,CAAC,UAAU,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM;IAQrD,mBAAmB,CAAC,QAAQ,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM;IAKW,qBAAqB,UAAS;IAG/F,yBAAyB,UAAS;IAElC,OAAO,CAAC,OAAO,CAAe;IAC9B,OAAO,CAAC,SAAS,CAAe;IAChC,OAAO,CAAC,aAAa,CAAe;IAEpC,OAAO,CAAC,6BAA6B,CAAQ;IAE7C,OAAO,CAAC,WAAW,CAAS;IAE5B,OAAO,CAAC,QAAQ,CAAuB;IAEvC,iBAAiB;IAuBjB,oBAAoB;IAmBX,SAAS,IAAI,IAAI;IAqB1B,OAAO,CAAC,gBAAgB;IAgBxB;;;;;;OAMG;IACG,IAAI,CAAC,iBAAiB,CAAC,EAAE,MAAM,EAAE,EAAE,YAAY,CAAC,EAAE,WAAW,EAAE;IA2CrE;;;OAGG;IACH,OAAO;IAIP;;;;OAIG;IACH,MAAM;IAIN;;;;OAIG;IACH,KAAK;IAuCL;;;OAGG;IACH,OAAO;IAYP;;OAEG;IACH,WAAW;IAIX;;;;;OAKG;IACH,OAAO,CAAC,YAAY;IAgBpB;;;;OAIG;YACW,UAAU;IAmCxB;;;;;OAKG;YACW,kBAAkB;IAyBhC;;;;;;OAMG;YACW,gBAAgB;IAkE9B,OAAO,CAAC,cAAc;IActB,YAAY,CAAC,MAAM,EAAE,MAAM,GAAG,GAAG,EAAE;IAyBnC,OAAO,CAAC,kBAAkB;IAY1B,OAAO,CAAC,sBAAsB;IAgE9B,OAAO,CAAC,mBAAmB;YAwCb,eAAe;IActB,SAAS,CAAC,SAAS,EAAE,MAAM,EAAE,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"}
|
|
@@ -3,8 +3,8 @@ import { Events, } from '@ag-grid-community/core';
|
|
|
3
3
|
import { MessageType, dataServerResultFilter, normaliseCriteria, } from '@genesislcap/foundation-comms';
|
|
4
4
|
import { LifecycleMixin } from '@genesislcap/foundation-utils';
|
|
5
5
|
import { DOM, attr, customElement } from '@microsoft/fast-element';
|
|
6
|
-
import { BehaviorSubject, EMPTY } from 'rxjs';
|
|
7
|
-
import { catchError, debounceTime, skip, tap } from 'rxjs/operators';
|
|
6
|
+
import { BehaviorSubject, EMPTY, Subject } from 'rxjs';
|
|
7
|
+
import { catchError, debounceTime, skip, tap, takeUntil } from 'rxjs/operators';
|
|
8
8
|
import { criteriaDelimiter, GridProBaseDatasource } from '../datasource/base.datasource';
|
|
9
9
|
import { getClientSideFilterParamsByFieldType } from '../datasource/client-side.grid-definitions';
|
|
10
10
|
import { logger } from '../utils/logger';
|
|
@@ -24,6 +24,8 @@ let GridProGenesisDatasource = class GridProGenesisDatasource extends LifecycleM
|
|
|
24
24
|
this.restartOnReconnection = false;
|
|
25
25
|
this.keepColDefsOnClearRowData = false;
|
|
26
26
|
this.requiresFullRowDataAndColDefs = true;
|
|
27
|
+
this.loadingData = false;
|
|
28
|
+
this.destroy$ = new Subject();
|
|
27
29
|
}
|
|
28
30
|
// DatasourceOptions
|
|
29
31
|
criteriaChanged(oldCriteria, newCriteria) {
|
|
@@ -70,7 +72,14 @@ let GridProGenesisDatasource = class GridProGenesisDatasource extends LifecycleM
|
|
|
70
72
|
DOM.queueUpdate(() => {
|
|
71
73
|
if (!shouldRunDisconnect)
|
|
72
74
|
return;
|
|
73
|
-
|
|
75
|
+
// Clear data before destroying
|
|
76
|
+
this.clearRowData();
|
|
77
|
+
try {
|
|
78
|
+
this.destroy();
|
|
79
|
+
}
|
|
80
|
+
catch (e) {
|
|
81
|
+
logger.debug('Error in disconnectedCallback:', e);
|
|
82
|
+
}
|
|
74
83
|
});
|
|
75
84
|
}
|
|
76
85
|
deepClone() {
|
|
@@ -129,10 +138,10 @@ let GridProGenesisDatasource = class GridProGenesisDatasource extends LifecycleM
|
|
|
129
138
|
}), { once: true });
|
|
130
139
|
const filterDebounceTime = 600;
|
|
131
140
|
this.updateSub = this.update
|
|
132
|
-
.pipe(skip(1), debounceTime(filterDebounceTime), tap((f) => logger.debug('filters (debounced): ', f)))
|
|
133
|
-
.subscribe((_) => {
|
|
134
|
-
this.reloadResourceData();
|
|
135
|
-
});
|
|
141
|
+
.pipe(skip(1), debounceTime(filterDebounceTime), tap((f) => logger.debug('filters (debounced): ', f)), takeUntil(this.destroy$))
|
|
142
|
+
.subscribe((_) => __awaiter(this, void 0, void 0, function* () {
|
|
143
|
+
yield this.reloadResourceData();
|
|
144
|
+
}));
|
|
136
145
|
return;
|
|
137
146
|
}
|
|
138
147
|
this.handleErrors('Application not connected or invalid resource name, datasource will not work. Falling back to local columnDefs/rowData.');
|
|
@@ -159,8 +168,10 @@ let GridProGenesisDatasource = class GridProGenesisDatasource extends LifecycleM
|
|
|
159
168
|
* @deprecated Use `destroy` instead
|
|
160
169
|
*/
|
|
161
170
|
reset() {
|
|
162
|
-
var _a;
|
|
163
171
|
logger.debug('GridProGenesisDatasource.reset()', this.resourceName);
|
|
172
|
+
this.destroy$.next();
|
|
173
|
+
this.destroy$.complete();
|
|
174
|
+
this.destroy$ = new Subject();
|
|
164
175
|
if (this.dataSub) {
|
|
165
176
|
this.dataSub.unsubscribe();
|
|
166
177
|
this.dataSub = undefined;
|
|
@@ -177,9 +188,11 @@ let GridProGenesisDatasource = class GridProGenesisDatasource extends LifecycleM
|
|
|
177
188
|
this.requiresFullRowDataAndColDefs = true;
|
|
178
189
|
this.dataSubWasLoggedOff = false;
|
|
179
190
|
this.criteriaFromFilters = new Map();
|
|
180
|
-
|
|
191
|
+
this.loadingData = false;
|
|
181
192
|
this.update = new BehaviorSubject(new Map());
|
|
182
|
-
this.agGrid
|
|
193
|
+
if (this.agGrid) {
|
|
194
|
+
this.agGrid.removeAttribute('ds-disconnected');
|
|
195
|
+
}
|
|
183
196
|
// TODO: There may need to be a full destroy path. Datasources need some love!
|
|
184
197
|
this.datasource.destroy();
|
|
185
198
|
}
|
|
@@ -210,13 +223,20 @@ let GridProGenesisDatasource = class GridProGenesisDatasource extends LifecycleM
|
|
|
210
223
|
* @internal
|
|
211
224
|
*/
|
|
212
225
|
clearRowData(withColumnDefs = true) {
|
|
213
|
-
var _a
|
|
226
|
+
var _a;
|
|
214
227
|
this.rowData = new Map();
|
|
215
228
|
this.agTransaction = undefined;
|
|
216
|
-
if (
|
|
217
|
-
|
|
229
|
+
if (!((_a = this.agGrid) === null || _a === void 0 ? void 0 : _a.gridApi))
|
|
230
|
+
return;
|
|
231
|
+
try {
|
|
232
|
+
this.agGrid.gridApi.setRowData([]);
|
|
233
|
+
if (withColumnDefs && !this.keepColDefsOnClearRowData) {
|
|
234
|
+
this.agGrid.gridApi.setColumnDefs([]);
|
|
235
|
+
}
|
|
236
|
+
}
|
|
237
|
+
catch (e) {
|
|
238
|
+
logger.debug('Error clearing grid data:', e);
|
|
218
239
|
}
|
|
219
|
-
(_d = (_c = this.agGrid) === null || _c === void 0 ? void 0 : _c.gridApi) === null || _d === void 0 ? void 0 : _d.setRowData([]);
|
|
220
240
|
}
|
|
221
241
|
/**
|
|
222
242
|
* Sets the columnDefs and rowData for the grid.
|
|
@@ -261,14 +281,24 @@ let GridProGenesisDatasource = class GridProGenesisDatasource extends LifecycleM
|
|
|
261
281
|
var _a, _b;
|
|
262
282
|
return __awaiter(this, void 0, void 0, function* () {
|
|
263
283
|
logger.debug('GridProGenesisDatasource.reloadResourceData()', this.resourceName);
|
|
264
|
-
if (this.
|
|
265
|
-
|
|
266
|
-
|
|
284
|
+
if (this.loadingData) {
|
|
285
|
+
logger.debug('Data loading in progress, skipping reload');
|
|
286
|
+
return;
|
|
287
|
+
}
|
|
288
|
+
this.loadingData = true;
|
|
289
|
+
try {
|
|
290
|
+
if (this.dataSub) {
|
|
291
|
+
this.dataSub.unsubscribe();
|
|
292
|
+
this.dataSub = undefined;
|
|
293
|
+
}
|
|
294
|
+
this.clearRowData(withoutColumnDefs);
|
|
295
|
+
(_b = (_a = this.agGrid) === null || _a === void 0 ? void 0 : _a.gridApi) === null || _b === void 0 ? void 0 : _b.showLoadingOverlay();
|
|
296
|
+
this.agGrid.removeAttribute('ds-disconnected');
|
|
297
|
+
yield this.loadResourceData(withoutFullInit);
|
|
298
|
+
}
|
|
299
|
+
finally {
|
|
300
|
+
this.loadingData = false;
|
|
267
301
|
}
|
|
268
|
-
this.clearRowData(withoutColumnDefs);
|
|
269
|
-
(_b = (_a = this.agGrid) === null || _a === void 0 ? void 0 : _a.gridApi) === null || _b === void 0 ? void 0 : _b.showLoadingOverlay();
|
|
270
|
-
this.agGrid.removeAttribute('ds-disconnected');
|
|
271
|
-
this.loadResourceData(withoutFullInit);
|
|
272
302
|
});
|
|
273
303
|
}
|
|
274
304
|
/**
|
|
@@ -299,7 +329,7 @@ let GridProGenesisDatasource = class GridProGenesisDatasource extends LifecycleM
|
|
|
299
329
|
}
|
|
300
330
|
logger.debug(`requesting stream for ${this.resourceName}`);
|
|
301
331
|
this.dataSub = this.datasource.stream
|
|
302
|
-
.pipe(catchError((err) => {
|
|
332
|
+
.pipe(takeUntil(this.destroy$), catchError((err) => {
|
|
303
333
|
var _a;
|
|
304
334
|
this.handleErrors((_a = err === null || err === void 0 ? void 0 : err.receivedMessage) === null || _a === void 0 ? void 0 : _a.ERROR);
|
|
305
335
|
return EMPTY;
|
|
@@ -370,8 +400,9 @@ let GridProGenesisDatasource = class GridProGenesisDatasource extends LifecycleM
|
|
|
370
400
|
}
|
|
371
401
|
}
|
|
372
402
|
handleStreamResult(result) {
|
|
373
|
-
if (!result)
|
|
403
|
+
if (!result || this.loadingData) {
|
|
374
404
|
return;
|
|
405
|
+
}
|
|
375
406
|
if (this.isRequestServer) {
|
|
376
407
|
this.applyRequestServerData(result);
|
|
377
408
|
}
|
|
@@ -429,11 +460,16 @@ let GridProGenesisDatasource = class GridProGenesisDatasource extends LifecycleM
|
|
|
429
460
|
this.handleSizeChanged(previousSize, this.rowData.size);
|
|
430
461
|
}
|
|
431
462
|
applyDataserverData(dataServerResult) {
|
|
432
|
-
var _a;
|
|
463
|
+
var _a, _b, _c;
|
|
433
464
|
const previousSize = this.rowData.size;
|
|
434
465
|
if (this.requiresFullRowDataAndColDefs) {
|
|
466
|
+
// Clear existing data before setting new data
|
|
467
|
+
this.rowData.clear();
|
|
435
468
|
(_a = dataServerResult.inserts) === null || _a === void 0 ? void 0 : _a.forEach((insertData) => {
|
|
436
|
-
|
|
469
|
+
const rowId = insertData[this.rowId];
|
|
470
|
+
if (rowId) {
|
|
471
|
+
this.rowData.set(rowId, insertData);
|
|
472
|
+
}
|
|
437
473
|
});
|
|
438
474
|
const rowData = Array.from(this.rowData.values());
|
|
439
475
|
this.setRowData(rowData);
|
|
@@ -441,9 +477,13 @@ let GridProGenesisDatasource = class GridProGenesisDatasource extends LifecycleM
|
|
|
441
477
|
return;
|
|
442
478
|
}
|
|
443
479
|
this.agTransaction = { add: [], remove: [], update: [] };
|
|
480
|
+
// Ensure we don't process updates/deletes for rows that don't exist
|
|
481
|
+
const validDeletes = (_b = dataServerResult.deletes) === null || _b === void 0 ? void 0 : _b.filter((data) => this.rowData.has(data[this.rowId]));
|
|
482
|
+
const validUpdates = (_c = dataServerResult.updates) === null || _c === void 0 ? void 0 : _c.filter((data) => this.rowData.has(data[this.rowId]));
|
|
483
|
+
// Process deletes first to avoid conflicts
|
|
484
|
+
this.handleStreamDeletes(validDeletes);
|
|
485
|
+
this.handleStreamUpdates(validUpdates);
|
|
444
486
|
this.handleStreamInserts(dataServerResult.inserts);
|
|
445
|
-
this.handleStreamDeletes(dataServerResult.deletes);
|
|
446
|
-
this.handleStreamUpdates(dataServerResult.updates);
|
|
447
487
|
this.applyAllAgTransactions();
|
|
448
488
|
this.handleSizeChanged(previousSize, this.rowData.size);
|
|
449
489
|
}
|
package/dist/grid-pro.d.ts
CHANGED
|
@@ -2550,6 +2550,8 @@ export declare class GridProGenesisDatasource extends GridProGenesisDatasource_b
|
|
|
2550
2550
|
private updateSub;
|
|
2551
2551
|
private connectionSub;
|
|
2552
2552
|
private requiresFullRowDataAndColDefs;
|
|
2553
|
+
private loadingData;
|
|
2554
|
+
private destroy$;
|
|
2553
2555
|
connectedCallback(): void;
|
|
2554
2556
|
disconnectedCallback(): void;
|
|
2555
2557
|
deepClone(): Node;
|
|
@@ -2674,10 +2676,6 @@ declare const GridProGenesisDatasource_base: (new (...args: any[]) => {
|
|
|
2674
2676
|
readonly classList: DOMTokenList;
|
|
2675
2677
|
className: string;
|
|
2676
2678
|
readonly clientHeight: number;
|
|
2677
|
-
/**
|
|
2678
|
-
* Destroys the datasource, resetting it to its initial state.
|
|
2679
|
-
* @public
|
|
2680
|
-
*/
|
|
2681
2679
|
readonly clientLeft: number;
|
|
2682
2680
|
readonly clientTop: number;
|
|
2683
2681
|
readonly clientWidth: number;
|
|
@@ -2689,6 +2687,11 @@ declare const GridProGenesisDatasource_base: (new (...args: any[]) => {
|
|
|
2689
2687
|
outerHTML: string;
|
|
2690
2688
|
readonly ownerDocument: Document;
|
|
2691
2689
|
readonly part: DOMTokenList;
|
|
2690
|
+
/**
|
|
2691
|
+
* Deinitialises the datasource, resetting it to its initial state.
|
|
2692
|
+
* @deprecated Use `destroy` instead
|
|
2693
|
+
* @public
|
|
2694
|
+
*/
|
|
2692
2695
|
readonly prefix: string;
|
|
2693
2696
|
readonly scrollHeight: number;
|
|
2694
2697
|
scrollLeft: number;
|
|
@@ -2715,7 +2718,12 @@ declare const GridProGenesisDatasource_base: (new (...args: any[]) => {
|
|
|
2715
2718
|
getElementsByTagNameNS(namespaceURI: "http://www.w3.org/1999/xhtml", localName: string): HTMLCollectionOf<HTMLElement>;
|
|
2716
2719
|
getElementsByTagNameNS(namespaceURI: "http://www.w3.org/2000/svg", localName: string): HTMLCollectionOf<SVGElement>;
|
|
2717
2720
|
getElementsByTagNameNS(namespace: string, localName: string): HTMLCollectionOf<Element>;
|
|
2718
|
-
hasAttribute(qualifiedName: string): boolean;
|
|
2721
|
+
hasAttribute(qualifiedName: string): boolean; /**
|
|
2722
|
+
* Clears the rowData and columnDefs for the grid.
|
|
2723
|
+
* @remarks This is called when `reloadResourceData` happens, on criteria and filters change or full `reset`.
|
|
2724
|
+
* @param withColumnDefs - Whether to clear the columnDefs as well. Defaults to true.
|
|
2725
|
+
* @internal
|
|
2726
|
+
*/
|
|
2719
2727
|
hasAttributeNS(namespace: string, localName: string): boolean;
|
|
2720
2728
|
hasAttributes(): boolean;
|
|
2721
2729
|
hasPointerCapture(pointerId: number): boolean;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@genesislcap/grid-pro",
|
|
3
3
|
"description": "Genesis Foundation AG Grid",
|
|
4
|
-
"version": "14.228.
|
|
4
|
+
"version": "14.228.2-alpha-16265c5.0",
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"license": "SEE LICENSE IN license.txt",
|
|
7
7
|
"main": "dist/esm/index.js",
|
|
@@ -38,20 +38,20 @@
|
|
|
38
38
|
}
|
|
39
39
|
},
|
|
40
40
|
"devDependencies": {
|
|
41
|
-
"@genesislcap/foundation-testing": "14.228.
|
|
42
|
-
"@genesislcap/genx": "14.228.
|
|
43
|
-
"@genesislcap/rollup-builder": "14.228.
|
|
44
|
-
"@genesislcap/ts-builder": "14.228.
|
|
45
|
-
"@genesislcap/uvu-playwright-builder": "14.228.
|
|
46
|
-
"@genesislcap/vite-builder": "14.228.
|
|
47
|
-
"@genesislcap/webpack-builder": "14.228.
|
|
41
|
+
"@genesislcap/foundation-testing": "14.228.2-alpha-16265c5.0",
|
|
42
|
+
"@genesislcap/genx": "14.228.2-alpha-16265c5.0",
|
|
43
|
+
"@genesislcap/rollup-builder": "14.228.2-alpha-16265c5.0",
|
|
44
|
+
"@genesislcap/ts-builder": "14.228.2-alpha-16265c5.0",
|
|
45
|
+
"@genesislcap/uvu-playwright-builder": "14.228.2-alpha-16265c5.0",
|
|
46
|
+
"@genesislcap/vite-builder": "14.228.2-alpha-16265c5.0",
|
|
47
|
+
"@genesislcap/webpack-builder": "14.228.2-alpha-16265c5.0",
|
|
48
48
|
"rimraf": "^5.0.0"
|
|
49
49
|
},
|
|
50
50
|
"dependencies": {
|
|
51
|
-
"@genesislcap/foundation-comms": "14.228.
|
|
52
|
-
"@genesislcap/foundation-logger": "14.228.
|
|
53
|
-
"@genesislcap/foundation-ui": "14.228.
|
|
54
|
-
"@genesislcap/foundation-utils": "14.228.
|
|
51
|
+
"@genesislcap/foundation-comms": "14.228.2-alpha-16265c5.0",
|
|
52
|
+
"@genesislcap/foundation-logger": "14.228.2-alpha-16265c5.0",
|
|
53
|
+
"@genesislcap/foundation-ui": "14.228.2-alpha-16265c5.0",
|
|
54
|
+
"@genesislcap/foundation-utils": "14.228.2-alpha-16265c5.0",
|
|
55
55
|
"@microsoft/fast-colors": "5.3.1",
|
|
56
56
|
"@microsoft/fast-components": "2.30.6",
|
|
57
57
|
"@microsoft/fast-element": "1.14.0",
|
|
@@ -77,5 +77,5 @@
|
|
|
77
77
|
"access": "public"
|
|
78
78
|
},
|
|
79
79
|
"customElements": "dist/custom-elements.json",
|
|
80
|
-
"gitHead": "
|
|
80
|
+
"gitHead": "68ea2e550c2f3f561cb894538eceb490f7a950cf"
|
|
81
81
|
}
|