@genesislcap/grid-pro 15.40.0-canary.1 → 15.41.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/custom-elements.json +0 -24
- package/dist/dts/grid-pro-genesis-datasource/grid-pro-genesis-datasource.d.ts +5 -8
- 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 +1 -13
- package/dist/grid-pro.d.ts +5 -8
- package/package.json +13 -13
|
@@ -12529,20 +12529,6 @@
|
|
|
12529
12529
|
"module": "src/grid-pro-genesis-datasource/grid-pro-genesis-datasource.ts"
|
|
12530
12530
|
}
|
|
12531
12531
|
},
|
|
12532
|
-
{
|
|
12533
|
-
"kind": "field",
|
|
12534
|
-
"name": "_appendIncomingRows",
|
|
12535
|
-
"type": {
|
|
12536
|
-
"text": "boolean"
|
|
12537
|
-
},
|
|
12538
|
-
"privacy": "private",
|
|
12539
|
-
"default": "false",
|
|
12540
|
-
"description": "Append this insert batch instead of putting it at index 0.\nTrue for an explicit more-rows page and for further messages of the initial\nsnapshot (SEQUENCE_ID <= 1), which arrive already ordered. A live row after\nthat snapshot (SEQUENCE_ID > 1) stays at index 0 so a reversed grid shows it on top.",
|
|
12541
|
-
"inheritedFrom": {
|
|
12542
|
-
"name": "GridProGenesisDatasource",
|
|
12543
|
-
"module": "src/grid-pro-genesis-datasource/grid-pro-genesis-datasource.ts"
|
|
12544
|
-
}
|
|
12545
|
-
},
|
|
12546
12532
|
{
|
|
12547
12533
|
"kind": "field",
|
|
12548
12534
|
"name": "_sourceRef",
|
|
@@ -21169,16 +21155,6 @@
|
|
|
21169
21155
|
"privacy": "private",
|
|
21170
21156
|
"default": "false"
|
|
21171
21157
|
},
|
|
21172
|
-
{
|
|
21173
|
-
"kind": "field",
|
|
21174
|
-
"name": "_appendIncomingRows",
|
|
21175
|
-
"type": {
|
|
21176
|
-
"text": "boolean"
|
|
21177
|
-
},
|
|
21178
|
-
"privacy": "private",
|
|
21179
|
-
"default": "false",
|
|
21180
|
-
"description": "Append this insert batch instead of putting it at index 0.\nTrue for an explicit more-rows page and for further messages of the initial\nsnapshot (SEQUENCE_ID <= 1), which arrive already ordered. A live row after\nthat snapshot (SEQUENCE_ID > 1) stays at index 0 so a reversed grid shows it on top."
|
|
21181
|
-
},
|
|
21182
21158
|
{
|
|
21183
21159
|
"kind": "field",
|
|
21184
21160
|
"name": "_sourceRef",
|
|
@@ -136,7 +136,11 @@ declare const GridProGenesisDatasource_base: (new (...args: any[]) => {
|
|
|
136
136
|
setAttributeNodeNS(attr: Attr): Attr | null;
|
|
137
137
|
setHTMLUnsafe(html: string): void;
|
|
138
138
|
setPointerCapture(pointerId: number): void;
|
|
139
|
-
toggleAttribute(qualifiedName: string, force
|
|
139
|
+
toggleAttribute(qualifiedName: string, force? /**
|
|
140
|
+
* Sets the columnDefs and rowData for the grid.
|
|
141
|
+
* @remarks This should only happen once, when the grid is first initialized. Follow up updates will use transactions.
|
|
142
|
+
* @internal
|
|
143
|
+
*/: boolean): boolean;
|
|
140
144
|
webkitMatchesSelector(selectors: string): boolean;
|
|
141
145
|
textContent: string;
|
|
142
146
|
readonly baseURI: string;
|
|
@@ -422,13 +426,6 @@ export declare class GridProGenesisDatasource extends GridProGenesisDatasource_b
|
|
|
422
426
|
private requiresFullRowDataAndColDefs;
|
|
423
427
|
private _lastMoreRows;
|
|
424
428
|
private _isMoreRowsResult;
|
|
425
|
-
/**
|
|
426
|
-
* Append this insert batch instead of putting it at index 0.
|
|
427
|
-
* True for an explicit more-rows page and for further messages of the initial
|
|
428
|
-
* snapshot (SEQUENCE_ID <= 1), which arrive already ordered. A live row after
|
|
429
|
-
* that snapshot (SEQUENCE_ID > 1) stays at index 0 so a reversed grid shows it on top.
|
|
430
|
-
*/
|
|
431
|
-
private _appendIncomingRows;
|
|
432
429
|
private _sourceRef;
|
|
433
430
|
private _nextOffset;
|
|
434
431
|
private _loadMoreCount;
|
|
@@ -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":"AACA,OAAO,EACL,iBAAiB,EAUlB,MAAM,+BAA+B,CAAC;AAKvC,OAAO,EAAE,qBAAqB,EAAqB,MAAM,+BAA+B,CAAC;AAwBzF;;GAEG;AACH,UAAU,eAAe;IACvB,GAAG,CAAC,EAAE,GAAG,EAAE,CAAC;IACZ,MAAM,CAAC,EAAE,GAAG,EAAE,CAAC;IACf,MAAM,CAAC,EAAE,GAAG,EAAE,CAAC;IACf,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB;;;;;;;;kBAwBwF,CAAC;;;;;;;;8BAiDjF,CAAC,cACN,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":"AACA,OAAO,EACL,iBAAiB,EAUlB,MAAM,+BAA+B,CAAC;AAKvC,OAAO,EAAE,qBAAqB,EAAqB,MAAM,+BAA+B,CAAC;AAwBzF;;GAEG;AACH,UAAU,eAAe;IACvB,GAAG,CAAC,EAAE,GAAG,EAAE,CAAC;IACZ,MAAM,CAAC,EAAE,GAAG,EAAE,CAAC;IACf,MAAM,CAAC,EAAE,GAAG,EAAE,CAAC;IACf,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB;;;;;;;;kBAwBwF,CAAC;;;;;;;;8BAiDjF,CAAC,cACN,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;yBAmCyC,CAAC;4IASpC,CAAA;wFAKL,CAAF;+IAE6D,CAAC;2FAE/B,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2BAiCA,CAAC;;;;;;;;;;;;;;;;;;;;;;;mB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;;;OAIG;IACH,OAAO,CAAC,2BAA2B;IAQnC;;;;;;OAMG;IACM,iBAAiB,CAAC,aAAa,EAAE,MAAM,EAAE;IAqBlD;;;OAGG;IACH,OAAO,CAAC,cAAc;IAQb,QAAQ;CA+BlB"}
|
|
@@ -60,13 +60,6 @@ let GridProGenesisDatasource = class GridProGenesisDatasource extends LifecycleM
|
|
|
60
60
|
this.requiresFullRowDataAndColDefs = true;
|
|
61
61
|
this._lastMoreRows = false;
|
|
62
62
|
this._isMoreRowsResult = false;
|
|
63
|
-
/**
|
|
64
|
-
* Append this insert batch instead of putting it at index 0.
|
|
65
|
-
* True for an explicit more-rows page and for further messages of the initial
|
|
66
|
-
* snapshot (SEQUENCE_ID <= 1), which arrive already ordered. A live row after
|
|
67
|
-
* that snapshot (SEQUENCE_ID > 1) stays at index 0 so a reversed grid shows it on top.
|
|
68
|
-
*/
|
|
69
|
-
this._appendIncomingRows = false;
|
|
70
63
|
this._nextOffset = 0;
|
|
71
64
|
this._loadMoreCount = 0;
|
|
72
65
|
this.onDatasourceReady = () => {
|
|
@@ -202,7 +195,6 @@ let GridProGenesisDatasource = class GridProGenesisDatasource extends LifecycleM
|
|
|
202
195
|
this.clearRowData();
|
|
203
196
|
this._lastMoreRows = false;
|
|
204
197
|
this._isMoreRowsResult = false;
|
|
205
|
-
this._appendIncomingRows = false;
|
|
206
198
|
this._nextOffset = 0;
|
|
207
199
|
this._loadMoreCount = 0;
|
|
208
200
|
this.$emit(datasourceEventNames.destroy);
|
|
@@ -394,9 +386,6 @@ let GridProGenesisDatasource = class GridProGenesisDatasource extends LifecycleM
|
|
|
394
386
|
const hasRowsCountInResult = 'ROWS_COUNT' in result;
|
|
395
387
|
const hasNextOffsetInResult = this.datasource.resourceType === ResourceType.REQUEST_SERVER && 'NEXT_OFFSET' in result;
|
|
396
388
|
this._isMoreRowsResult = hasMoreRowsInResult && !hasRowsCountInResult;
|
|
397
|
-
const sequenceId = result.SEQUENCE_ID;
|
|
398
|
-
this._appendIncomingRows =
|
|
399
|
-
this._isMoreRowsResult || (typeof sequenceId === 'number' && sequenceId <= 1);
|
|
400
389
|
// Store NEXT_OFFSET for RequestServer load more functionality
|
|
401
390
|
if (hasNextOffsetInResult) {
|
|
402
391
|
this._nextOffset = result.NEXT_OFFSET;
|
|
@@ -575,8 +564,7 @@ let GridProGenesisDatasource = class GridProGenesisDatasource extends LifecycleM
|
|
|
575
564
|
});
|
|
576
565
|
}
|
|
577
566
|
handleStreamInserts(inserts = []) {
|
|
578
|
-
|
|
579
|
-
super.handleStreamInserts(inserts, addIndex);
|
|
567
|
+
super.handleStreamInserts(inserts, this._isMoreRowsResult ? this.cachedRowArray.length : 0);
|
|
580
568
|
this.updateCachedRowArray();
|
|
581
569
|
}
|
|
582
570
|
handleStreamUpdates(updates = []) {
|
package/dist/grid-pro.d.ts
CHANGED
|
@@ -5235,13 +5235,6 @@ export declare class GridProGenesisDatasource extends GridProGenesisDatasource_b
|
|
|
5235
5235
|
private requiresFullRowDataAndColDefs;
|
|
5236
5236
|
private _lastMoreRows;
|
|
5237
5237
|
private _isMoreRowsResult;
|
|
5238
|
-
/**
|
|
5239
|
-
* Append this insert batch instead of putting it at index 0.
|
|
5240
|
-
* True for an explicit more-rows page and for further messages of the initial
|
|
5241
|
-
* snapshot (SEQUENCE_ID <= 1), which arrive already ordered. A live row after
|
|
5242
|
-
* that snapshot (SEQUENCE_ID > 1) stays at index 0 so a reversed grid shows it on top.
|
|
5243
|
-
*/
|
|
5244
|
-
private _appendIncomingRows;
|
|
5245
5238
|
private _sourceRef;
|
|
5246
5239
|
private _nextOffset;
|
|
5247
5240
|
private _loadMoreCount;
|
|
@@ -5516,7 +5509,11 @@ declare const GridProGenesisDatasource_base: (new (...args: any[]) => {
|
|
|
5516
5509
|
setAttributeNodeNS(attr: Attr): Attr | null;
|
|
5517
5510
|
setHTMLUnsafe(html: string): void;
|
|
5518
5511
|
setPointerCapture(pointerId: number): void;
|
|
5519
|
-
toggleAttribute(qualifiedName: string, force
|
|
5512
|
+
toggleAttribute(qualifiedName: string, force? /**
|
|
5513
|
+
* Sets the columnDefs and rowData for the grid.
|
|
5514
|
+
* @remarks This should only happen once, when the grid is first initialized. Follow up updates will use transactions.
|
|
5515
|
+
* @internal
|
|
5516
|
+
*/: boolean): boolean;
|
|
5520
5517
|
webkitMatchesSelector(selectors: string): boolean;
|
|
5521
5518
|
textContent: string;
|
|
5522
5519
|
readonly baseURI: string;
|
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": "15.
|
|
4
|
+
"version": "15.41.0",
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"license": "SEE LICENSE IN license.txt",
|
|
7
7
|
"main": "dist/esm/index.js",
|
|
@@ -40,20 +40,20 @@
|
|
|
40
40
|
}
|
|
41
41
|
},
|
|
42
42
|
"devDependencies": {
|
|
43
|
-
"@genesislcap/foundation-testing": "15.
|
|
44
|
-
"@genesislcap/genx": "15.
|
|
45
|
-
"@genesislcap/rollup-builder": "15.
|
|
46
|
-
"@genesislcap/ts-builder": "15.
|
|
47
|
-
"@genesislcap/uvu-playwright-builder": "15.
|
|
48
|
-
"@genesislcap/vite-builder": "15.
|
|
49
|
-
"@genesislcap/webpack-builder": "15.
|
|
43
|
+
"@genesislcap/foundation-testing": "15.41.0",
|
|
44
|
+
"@genesislcap/genx": "15.41.0",
|
|
45
|
+
"@genesislcap/rollup-builder": "15.41.0",
|
|
46
|
+
"@genesislcap/ts-builder": "15.41.0",
|
|
47
|
+
"@genesislcap/uvu-playwright-builder": "15.41.0",
|
|
48
|
+
"@genesislcap/vite-builder": "15.41.0",
|
|
49
|
+
"@genesislcap/webpack-builder": "15.41.0"
|
|
50
50
|
},
|
|
51
51
|
"dependencies": {
|
|
52
|
-
"@genesislcap/foundation-comms": "15.
|
|
53
|
-
"@genesislcap/foundation-criteria": "15.
|
|
54
|
-
"@genesislcap/foundation-logger": "15.
|
|
55
|
-
"@genesislcap/foundation-ui": "15.
|
|
56
|
-
"@genesislcap/foundation-utils": "15.
|
|
52
|
+
"@genesislcap/foundation-comms": "15.41.0",
|
|
53
|
+
"@genesislcap/foundation-criteria": "15.41.0",
|
|
54
|
+
"@genesislcap/foundation-logger": "15.41.0",
|
|
55
|
+
"@genesislcap/foundation-ui": "15.41.0",
|
|
56
|
+
"@genesislcap/foundation-utils": "15.41.0",
|
|
57
57
|
"@microsoft/fast-colors": "5.3.1",
|
|
58
58
|
"@microsoft/fast-components": "2.30.6",
|
|
59
59
|
"@microsoft/fast-element": "1.14.0",
|