@genesislcap/grid-pro 14.464.1-alpha-6708f15.0 → 14.466.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 +4 -19
- package/dist/dts/datasource/server-side.datasource.d.ts +0 -1
- package/dist/dts/datasource/server-side.datasource.d.ts.map +1 -1
- package/dist/dts/datasource/server-side.resource-base.d.ts +1 -1
- package/dist/dts/datasource/server-side.resource-base.d.ts.map +1 -1
- package/dist/esm/datasource/server-side.datasource.js +21 -74
- package/dist/grid-pro.d.ts +0 -1
- package/package.json +14 -14
|
@@ -12139,24 +12139,6 @@
|
|
|
12139
12139
|
}
|
|
12140
12140
|
]
|
|
12141
12141
|
},
|
|
12142
|
-
{
|
|
12143
|
-
"kind": "method",
|
|
12144
|
-
"name": "applyLiveServerSideUpdate",
|
|
12145
|
-
"privacy": "private",
|
|
12146
|
-
"return": {
|
|
12147
|
-
"type": {
|
|
12148
|
-
"text": "void"
|
|
12149
|
-
}
|
|
12150
|
-
},
|
|
12151
|
-
"parameters": [
|
|
12152
|
-
{
|
|
12153
|
-
"name": "nextMessage",
|
|
12154
|
-
"type": {
|
|
12155
|
-
"text": "FilteredDataServerResult"
|
|
12156
|
-
}
|
|
12157
|
-
}
|
|
12158
|
-
]
|
|
12159
|
-
},
|
|
12160
12142
|
{
|
|
12161
12143
|
"kind": "method",
|
|
12162
12144
|
"name": "createDataserverStream",
|
|
@@ -12168,7 +12150,7 @@
|
|
|
12168
12150
|
},
|
|
12169
12151
|
"parameters": [
|
|
12170
12152
|
{
|
|
12171
|
-
"name": "
|
|
12153
|
+
"name": "existingParams",
|
|
12172
12154
|
"default": "null"
|
|
12173
12155
|
}
|
|
12174
12156
|
]
|
|
@@ -13622,6 +13604,7 @@
|
|
|
13622
13604
|
"type": {
|
|
13623
13605
|
"text": "Map<string, any>"
|
|
13624
13606
|
},
|
|
13607
|
+
"privacy": "protected",
|
|
13625
13608
|
"default": "new Map()"
|
|
13626
13609
|
},
|
|
13627
13610
|
{
|
|
@@ -14307,6 +14290,7 @@
|
|
|
14307
14290
|
"type": {
|
|
14308
14291
|
"text": "Map<string, any>"
|
|
14309
14292
|
},
|
|
14293
|
+
"privacy": "protected",
|
|
14310
14294
|
"default": "new Map()",
|
|
14311
14295
|
"inheritedFrom": {
|
|
14312
14296
|
"name": "BaseServerSideDatasource",
|
|
@@ -15317,6 +15301,7 @@
|
|
|
15317
15301
|
"type": {
|
|
15318
15302
|
"text": "Map<string, any>"
|
|
15319
15303
|
},
|
|
15304
|
+
"privacy": "protected",
|
|
15320
15305
|
"default": "new Map()",
|
|
15321
15306
|
"inheritedFrom": {
|
|
15322
15307
|
"name": "BaseServerSideDatasource",
|
|
@@ -506,7 +506,6 @@ export declare class GridProServerSideDatasource extends GridProServerSideDataso
|
|
|
506
506
|
* @internal
|
|
507
507
|
*/
|
|
508
508
|
private applyReqRepPollingUpdate;
|
|
509
|
-
private applyLiveServerSideUpdate;
|
|
510
509
|
private createDataserverStream;
|
|
511
510
|
private getAgColumnDefs;
|
|
512
511
|
applyTransaction(transaction: any): any;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"server-side.datasource.d.ts","sourceRoot":"","sources":["../../../src/datasource/server-side.datasource.ts"],"names":[],"mappings":"AACA,OAAO,EAEL,UAAU,EACV,iBAAiB,
|
|
1
|
+
{"version":3,"file":"server-side.datasource.d.ts","sourceRoot":"","sources":["../../../src/datasource/server-side.datasource.ts"],"names":[],"mappings":"AACA,OAAO,EAEL,UAAU,EACV,iBAAiB,EAWlB,MAAM,+BAA+B,CAAC;AACvC,OAAO,EAEL,cAAc,EAEf,MAAM,+BAA+B,CAAC;AAUvC,OAAO,EAAE,qBAAqB,EAAE,MAAM,mBAAmB,CAAC;AAC1D,OAAO,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;;;;;;;kBAyDxC,CAAC;;;;;;;;8BAoBI,CAAC,cAAc,CAAC;;;;;;;;;;;;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5D,mBAAmB,CAAC,QAAQ,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM;IAOtD,eAAe,CAAC,WAAW,EAAE,MAAM,EAAE,WAAW,EAAE,MAAM;IAaxD,iBAAiB;IAUjB,oBAAoB;IAUX,SAAS,IAAI,IAAI;IAO1B;;;;OAIG;IACG,kBAAkB,CAAC,MAAM,CAAC,EAAE,iBAAiB,GAAG,OAAO,CAAC,IAAI,CAAC;IAsCnE;;;OAGG;IACH,OAAO,CAAC,mCAAmC;IAc3C;;;OAGG;IACH,OAAO,CAAC,oCAAoC;IAWtC,IAAI;IAuIV,mBAAmB,CAAC,KAAK,EAAE,GAAG;IAMf,OAAO;IAmBP,OAAO;IAKtB,OAAO,CAAC,YAAY;IAmBpB,OAAO,CAAC,kBAAkB;YAgDZ,mBAAmB;IAKjC;;;;;;;;;;;;OAYG;YACW,kBAAkB;IA+BhC;;;;;;OAMG;IACH,OAAO,CAAC,kBAAkB,CAA+B;IAEzD;;;;;;;;;OASG;IACH,OAAO,CAAC,0BAA0B,CAAS;IAE3C;;;;;;OAMG;IACI,uBAAuB;IAM9B;;;;;;;;;;;OAWG;IACH,OAAO,CAAC,wBAAwB;YAsElB,sBAAsB;YAoDtB,eAAe;IAmBpB,gBAAgB,CAAC,WAAW,EAAE,GAAG,GAAG,GAAG;IAIvC,QAAQ;CAGlB"}
|
|
@@ -14,7 +14,7 @@ export declare abstract class BaseServerSideDatasource implements IServerSideDat
|
|
|
14
14
|
connect: Connect;
|
|
15
15
|
uuid: UUID;
|
|
16
16
|
protected rowId: string;
|
|
17
|
-
rowData: Map<string, any>;
|
|
17
|
+
protected rowData: Map<string, any>;
|
|
18
18
|
reloadResourceDataFunc: (params: DatasourceOptions) => Promise<void>;
|
|
19
19
|
errorHandlerFunc: (message: string, type: string) => void;
|
|
20
20
|
protected onNoDataAvailableFunc?: () => void;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"server-side.resource-base.d.ts","sourceRoot":"","sources":["../../../src/datasource/server-side.resource-base.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,qBAAqB,EACrB,iBAAiB,EACjB,cAAc,EACd,aAAa,EACb,wBAAwB,EACzB,MAAM,yBAAyB,CAAC;AACjC,OAAO,EACL,IAAI,EACJ,OAAO,EACP,cAAc,EAEd,iBAAiB,EAClB,MAAM,+BAA+B,CAAC;AACvC,OAAO,EAAE,IAAI,EAAE,MAAM,+BAA+B,CAAC;AACrD,OAAO,EAAE,2BAA2B,EAAE,MAAM,cAAc,CAAC;AAC3D,OAAO,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAEhD;;;;;GAKG;AACH,8BAAsB,wBAAyB,YAAW,qBAAqB;IACvE,IAAI,EAAG,IAAI,CAAC;IACT,OAAO,EAAG,OAAO,CAAC;IACrB,IAAI,EAAG,IAAI,CAAC;IAElB,SAAS,CAAC,KAAK,EAAE,MAAM,CAAC;IACxB,OAAO,EAAE,GAAG,CAAC,MAAM,EAAE,GAAG,CAAC,CAAa;
|
|
1
|
+
{"version":3,"file":"server-side.resource-base.d.ts","sourceRoot":"","sources":["../../../src/datasource/server-side.resource-base.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,qBAAqB,EACrB,iBAAiB,EACjB,cAAc,EACd,aAAa,EACb,wBAAwB,EACzB,MAAM,yBAAyB,CAAC;AACjC,OAAO,EACL,IAAI,EACJ,OAAO,EACP,cAAc,EAEd,iBAAiB,EAClB,MAAM,+BAA+B,CAAC;AACvC,OAAO,EAAE,IAAI,EAAE,MAAM,+BAA+B,CAAC;AACrD,OAAO,EAAE,2BAA2B,EAAE,MAAM,cAAc,CAAC;AAC3D,OAAO,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAEhD;;;;;GAKG;AACH,8BAAsB,wBAAyB,YAAW,qBAAqB;IACvE,IAAI,EAAG,IAAI,CAAC;IACT,OAAO,EAAG,OAAO,CAAC;IACrB,IAAI,EAAG,IAAI,CAAC;IAElB,SAAS,CAAC,KAAK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,sHAAsH;IACtH,SAAS,CAAC,mBAAmB,CAAC,MAAM,EAAE,wBAAwB,GAAG,IAAI;IAOrE,uFAAuF;IACvF,SAAS,CAAC,4BAA4B,CACpC,MAAM,EAAE,wBAAwB,EAChC,cAAc,EAAE,iBAAiB,GAChC,IAAI;IAWP,SAAS,CAAC,qBAAqB,IAAI,IAAI;IAIvC,SAAS,CAAC,mBAAmB,IAAI,IAAI;IAIrC;;OAEG;IACH,SAAS,CAAC,sBAAsB,IAAI,UAAU;CAgB/C"}
|
|
@@ -536,84 +536,31 @@ let GridProServerSideDatasource = class GridProServerSideDatasource extends Life
|
|
|
536
536
|
});
|
|
537
537
|
}
|
|
538
538
|
}
|
|
539
|
-
applyLiveServerSideUpdate(nextMessage) {
|
|
540
|
-
var _a, _b, _c;
|
|
541
|
-
const inserts = (_a = nextMessage.inserts) !== null && _a !== void 0 ? _a : [];
|
|
542
|
-
const updates = (_b = nextMessage.updates) !== null && _b !== void 0 ? _b : [];
|
|
543
|
-
const deletes = (_c = nextMessage.deletes) !== null && _c !== void 0 ? _c : [];
|
|
544
|
-
if (!inserts.length && !updates.length && !deletes.length) {
|
|
545
|
-
return;
|
|
546
|
-
}
|
|
547
|
-
const netRowChange = inserts.length - deletes.length;
|
|
548
|
-
if (this.ssrmDatasource) {
|
|
549
|
-
this.ssrmDatasource.serverRowsCount += netRowChange;
|
|
550
|
-
this.ssrmDatasource.clientRowsCount += netRowChange;
|
|
551
|
-
}
|
|
552
|
-
this.transactionData = { add: [], remove: [], update: [] };
|
|
553
|
-
this.handleStreamInserts(inserts);
|
|
554
|
-
this.handleStreamUpdates(updates);
|
|
555
|
-
this.handleStreamDeletes(deletes);
|
|
556
|
-
if (this.transactionData.add.length > 0) {
|
|
557
|
-
this.$emit(datasourceEventNames.applyServerSideTransaction, {
|
|
558
|
-
transaction: {
|
|
559
|
-
route: [],
|
|
560
|
-
add: this.transactionData.add,
|
|
561
|
-
addIndex: this.reverse ? 0 : this.transactionData.addIndex,
|
|
562
|
-
},
|
|
563
|
-
});
|
|
564
|
-
}
|
|
565
|
-
if (this.transactionData.update.length > 0 || this.transactionData.remove.length > 0) {
|
|
566
|
-
this.$emit(datasourceEventNames.applyServerSideTransaction, {
|
|
567
|
-
transaction: {
|
|
568
|
-
route: [],
|
|
569
|
-
update: this.transactionData.update,
|
|
570
|
-
remove: this.transactionData.remove,
|
|
571
|
-
},
|
|
572
|
-
});
|
|
573
|
-
}
|
|
574
|
-
}
|
|
575
539
|
createDataserverStream() {
|
|
576
|
-
return __awaiter(this, arguments, void 0, function* (
|
|
540
|
+
return __awaiter(this, arguments, void 0, function* (existingParams = null) {
|
|
577
541
|
if (this.liveUpdates) {
|
|
578
542
|
const streamOnMessage = (message) => __awaiter(this, void 0, void 0, function* () {
|
|
579
|
-
var _a;
|
|
543
|
+
var _a, _b, _c, _d, _e, _f, _g, _h;
|
|
580
544
|
const messageType = message.MESSAGE_TYPE;
|
|
581
|
-
if (messageType
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
if (!((_a = this.ssrmDatasource) === null || _a === void 0 ? void 0 : _a.sourceRef)) {
|
|
585
|
-
return;
|
|
586
|
-
}
|
|
587
|
-
if (message.SEQUENCE_ID !== undefined && message.SEQUENCE_ID <= 1) {
|
|
588
|
-
return;
|
|
589
|
-
}
|
|
590
|
-
const rawMessage = message;
|
|
591
|
-
const normalizedRows = Array.isArray(rawMessage.ROW)
|
|
592
|
-
? rawMessage.ROW
|
|
593
|
-
: rawMessage.ROW
|
|
594
|
-
? [rawMessage.ROW]
|
|
595
|
-
: [];
|
|
596
|
-
// Genesis sends only changed fields in MODIFY messages. Merge each partial row
|
|
597
|
-
// with the full cached row from ssrmDatasource.rowData so AG Grid always receives
|
|
598
|
-
// a complete row — without this, unchanged columns are cleared on every update.
|
|
599
|
-
const rowData = this.ssrmDatasource.rowData;
|
|
600
|
-
const mergedRows = normalizedRows.map((row) => {
|
|
601
|
-
var _a;
|
|
602
|
-
const details = (_a = row.DETAILS) !== null && _a !== void 0 ? _a : {};
|
|
603
|
-
const rowRef = details[this.rowId];
|
|
604
|
-
const existingRow = rowRef != null ? rowData === null || rowData === void 0 ? void 0 : rowData.get(rowRef) : undefined;
|
|
605
|
-
if (!existingRow)
|
|
606
|
-
return row;
|
|
607
|
-
const merged = Object.assign({}, existingRow);
|
|
608
|
-
for (const [key, value] of Object.entries(row)) {
|
|
609
|
-
if (key !== 'DETAILS' && value != null)
|
|
610
|
-
merged[key] = value;
|
|
545
|
+
if (messageType === MessageType.QUERY_UPDATE && message.ROW) {
|
|
546
|
+
if (!this.ssrmDatasource) {
|
|
547
|
+
return;
|
|
611
548
|
}
|
|
612
|
-
|
|
613
|
-
|
|
614
|
-
|
|
615
|
-
|
|
616
|
-
|
|
549
|
+
const nextMessage = dataServerResultFilter(message);
|
|
550
|
+
this.transactionData = { add: [], remove: [], update: [] };
|
|
551
|
+
this.handleStreamInserts(nextMessage.inserts);
|
|
552
|
+
this.handleStreamUpdates(nextMessage.updates);
|
|
553
|
+
this.handleStreamDeletes(nextMessage.deletes);
|
|
554
|
+
if (message.SEQUENCE_ID > 1) {
|
|
555
|
+
// Calculate net row count change (inserts - deletes)
|
|
556
|
+
const netRowChange = ((_b = (_a = nextMessage.inserts) === null || _a === void 0 ? void 0 : _a.length) !== null && _b !== void 0 ? _b : 0) - ((_d = (_c = nextMessage.deletes) === null || _c === void 0 ? void 0 : _c.length) !== null && _d !== void 0 ? _d : 0);
|
|
557
|
+
this.ssrmDatasource.serverRowsCount += netRowChange;
|
|
558
|
+
// Calculate net row count change for client (inserts - loaded deletes)
|
|
559
|
+
const clientNetRowChange = ((_f = (_e = nextMessage.inserts) === null || _e === void 0 ? void 0 : _e.length) !== null && _f !== void 0 ? _f : 0) - ((_h = (_g = nextMessage.deletes) === null || _g === void 0 ? void 0 : _g.length) !== null && _h !== void 0 ? _h : 0);
|
|
560
|
+
this.ssrmDatasource.clientRowsCount += clientNetRowChange;
|
|
561
|
+
this.applyAllTransactions();
|
|
562
|
+
}
|
|
563
|
+
}
|
|
617
564
|
});
|
|
618
565
|
const onError = (error) => {
|
|
619
566
|
var _a;
|
|
@@ -621,7 +568,7 @@ let GridProServerSideDatasource = class GridProServerSideDatasource extends Life
|
|
|
621
568
|
this.handleErrors(((_a = error.receivedMessage) === null || _a === void 0 ? void 0 : _a.ERROR) || error.message, 'stream');
|
|
622
569
|
};
|
|
623
570
|
this.liveUpdatesStream = this.connect
|
|
624
|
-
.stream(this.resourceName, () => { }, onError, this.datasource.dataserverOnlyParams)
|
|
571
|
+
.stream(this.resourceName, () => { }, onError, existingParams !== null && existingParams !== void 0 ? existingParams : this.datasource.dataserverOnlyParams)
|
|
625
572
|
.subscribe((message) => streamOnMessage(message));
|
|
626
573
|
}
|
|
627
574
|
yield this.datasource.startStream();
|
package/dist/grid-pro.d.ts
CHANGED
|
@@ -5057,7 +5057,6 @@ export declare class GridProServerSideDatasource extends GridProServerSideDataso
|
|
|
5057
5057
|
* @internal
|
|
5058
5058
|
*/
|
|
5059
5059
|
private applyReqRepPollingUpdate;
|
|
5060
|
-
private applyLiveServerSideUpdate;
|
|
5061
5060
|
private createDataserverStream;
|
|
5062
5061
|
private getAgColumnDefs;
|
|
5063
5062
|
applyTransaction(transaction: any): any;
|
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.
|
|
4
|
+
"version": "14.466.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": "14.
|
|
44
|
-
"@genesislcap/genx": "14.
|
|
45
|
-
"@genesislcap/rollup-builder": "14.
|
|
46
|
-
"@genesislcap/ts-builder": "14.
|
|
47
|
-
"@genesislcap/uvu-playwright-builder": "14.
|
|
48
|
-
"@genesislcap/vite-builder": "14.
|
|
49
|
-
"@genesislcap/webpack-builder": "14.
|
|
43
|
+
"@genesislcap/foundation-testing": "14.466.0",
|
|
44
|
+
"@genesislcap/genx": "14.466.0",
|
|
45
|
+
"@genesislcap/rollup-builder": "14.466.0",
|
|
46
|
+
"@genesislcap/ts-builder": "14.466.0",
|
|
47
|
+
"@genesislcap/uvu-playwright-builder": "14.466.0",
|
|
48
|
+
"@genesislcap/vite-builder": "14.466.0",
|
|
49
|
+
"@genesislcap/webpack-builder": "14.466.0"
|
|
50
50
|
},
|
|
51
51
|
"dependencies": {
|
|
52
|
-
"@genesislcap/foundation-comms": "14.
|
|
53
|
-
"@genesislcap/foundation-criteria": "14.
|
|
54
|
-
"@genesislcap/foundation-logger": "14.
|
|
55
|
-
"@genesislcap/foundation-ui": "14.
|
|
56
|
-
"@genesislcap/foundation-utils": "14.
|
|
52
|
+
"@genesislcap/foundation-comms": "14.466.0",
|
|
53
|
+
"@genesislcap/foundation-criteria": "14.466.0",
|
|
54
|
+
"@genesislcap/foundation-logger": "14.466.0",
|
|
55
|
+
"@genesislcap/foundation-ui": "14.466.0",
|
|
56
|
+
"@genesislcap/foundation-utils": "14.466.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",
|
|
@@ -91,5 +91,5 @@
|
|
|
91
91
|
"require": "./dist/react.cjs"
|
|
92
92
|
}
|
|
93
93
|
},
|
|
94
|
-
"gitHead": "
|
|
94
|
+
"gitHead": "a0ced1e97a07712305acd5675461d5f9273c8e51"
|
|
95
95
|
}
|