@genesislcap/grid-pro 14.24.4-bny.22 → 14.24.4
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/cell-renderers/action.renderer.d.ts +0 -1
- package/dist/dts/cell-renderers/action.renderer.d.ts.map +1 -1
- package/dist/dts/grid-pro-genesis-datasource/grid-pro-genesis-datasource.d.ts +4 -20
- 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 +3 -22
- package/dist/grid-pro.api.json +1 -63
- package/dist/grid-pro.d.ts +4 -21
- package/docs/api/grid-pro.actionrendererparams.md +0 -1
- package/docs/api/grid-pro.gridprogenesisdatasource.md +0 -2
- package/docs/api-report.md +0 -5
- package/package.json +7 -7
- package/docs/api/grid-pro.gridprogenesisdatasource.refreshrows.md +0 -15
- package/docs/api/grid-pro.gridprogenesisdatasource.rowdatamapper.md +0 -11
|
@@ -4446,13 +4446,6 @@
|
|
|
4446
4446
|
},
|
|
4447
4447
|
"default": "false"
|
|
4448
4448
|
},
|
|
4449
|
-
{
|
|
4450
|
-
"kind": "field",
|
|
4451
|
-
"name": "rowDataMapper",
|
|
4452
|
-
"type": {
|
|
4453
|
-
"text": "Function"
|
|
4454
|
-
}
|
|
4455
|
-
},
|
|
4456
4449
|
{
|
|
4457
4450
|
"kind": "field",
|
|
4458
4451
|
"name": "dataSub",
|
|
@@ -4585,10 +4578,6 @@
|
|
|
4585
4578
|
"description": "Restarts the datasource, uses `deinit` and `init` in sequence.",
|
|
4586
4579
|
"privacy": "public"
|
|
4587
4580
|
},
|
|
4588
|
-
{
|
|
4589
|
-
"kind": "method",
|
|
4590
|
-
"name": "refreshRows"
|
|
4591
|
-
},
|
|
4592
4581
|
{
|
|
4593
4582
|
"kind": "method",
|
|
4594
4583
|
"name": "clearRowData",
|
|
@@ -4679,19 +4668,6 @@
|
|
|
4679
4668
|
}
|
|
4680
4669
|
]
|
|
4681
4670
|
},
|
|
4682
|
-
{
|
|
4683
|
-
"kind": "method",
|
|
4684
|
-
"name": "mapTransaction",
|
|
4685
|
-
"privacy": "private",
|
|
4686
|
-
"parameters": [
|
|
4687
|
-
{
|
|
4688
|
-
"name": "transaction",
|
|
4689
|
-
"type": {
|
|
4690
|
-
"text": "RowDataTransaction"
|
|
4691
|
-
}
|
|
4692
|
-
}
|
|
4693
|
-
]
|
|
4694
|
-
},
|
|
4695
4671
|
{
|
|
4696
4672
|
"kind": "method",
|
|
4697
4673
|
"name": "handleStreamInserts",
|
|
@@ -34,7 +34,6 @@ export type ActionRendererParams = {
|
|
|
34
34
|
* A unique field name used to identify the action button used for E2E testing, so that the data-testid attribute value can be unique.
|
|
35
35
|
*/
|
|
36
36
|
uniqueFieldName?: string;
|
|
37
|
-
contentTemplate?: string;
|
|
38
37
|
};
|
|
39
38
|
/**
|
|
40
39
|
* The AG Action Renderer element.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"action.renderer.d.ts","sourceRoot":"","sources":["../../../src/cell-renderers/action.renderer.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,mBAAmB,EAAE,MAAM,yBAAyB,CAAC;AAEjF,OAAO,EAAe,iBAAiB,EAAE,MAAM,4BAA4B,CAAC;AAG5E;;;;GAIG;AACH,MAAM,MAAM,oBAAoB,GAAG;IACjC;;;OAGG;IACH,WAAW,CAAC,EAAE,CAAC,OAAO,EAAE,GAAG,KAAK,IAAI,CAAC;IAErC;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;IAEpB;;;OAGG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;IAEpB;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;IAEpB;;;;OAIG;IACH,UAAU,CAAC,EAAE,CAAC,OAAO,EAAE,GAAG,KAAK,OAAO,CAAC;IAEvC;;OAEG;IACH,eAAe,CAAC,EAAE,MAAM,CAAC;
|
|
1
|
+
{"version":3,"file":"action.renderer.d.ts","sourceRoot":"","sources":["../../../src/cell-renderers/action.renderer.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,mBAAmB,EAAE,MAAM,yBAAyB,CAAC;AAEjF,OAAO,EAAe,iBAAiB,EAAE,MAAM,4BAA4B,CAAC;AAG5E;;;;GAIG;AACH,MAAM,MAAM,oBAAoB,GAAG;IACjC;;;OAGG;IACH,WAAW,CAAC,EAAE,CAAC,OAAO,EAAE,GAAG,KAAK,IAAI,CAAC;IAErC;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;IAEpB;;;OAGG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;IAEpB;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;IAEpB;;;;OAIG;IACH,UAAU,CAAC,EAAE,CAAC,OAAO,EAAE,GAAG,KAAK,OAAO,CAAC;IAEvC;;OAEG;IACH,eAAe,CAAC,EAAE,MAAM,CAAC;CAC1B,CAAC;AAEF;;;;GAIG;AACH,qBAAa,cAAe,SAAQ,iBAAkB,YAAW,iBAAiB;IAEzE,MAAM,EAAE,mBAAmB,GAAG,oBAAoB,CAAC;IAGnD,aAAa,EAAE,OAAO,CAAC;IAEvB,IAAI,CAAC,MAAM,EAAE,mBAAmB,GAAG,oBAAoB;IAMvD,MAAM,IAAI,WAAW;IAIrB,OAAO,CAAC,MAAM,EAAE,mBAAmB;IAMnC,UAAU,CAAC,IAAI,KAAA,GAAG,OAAO;IAWnB,YAAY;IAMzB,IAAI,UAAU,WAMb;CACF;AAID;;;;GAIG;AACH,eAAO,MAAM,sBAAsB,6DAElC,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,sBAAsB,iDAelC,CAAC;AAEF;;;;;;GAMG;AACH,eAAO,MAAM,+BAA+B;;;;;;;;yBAe1C,CAAC"}
|
|
@@ -23,12 +23,12 @@ declare const GridProGenesisDatasource_base: (new (...args: any[]) => {
|
|
|
23
23
|
innerText: string;
|
|
24
24
|
lang: string;
|
|
25
25
|
readonly offsetHeight: number;
|
|
26
|
-
readonly offsetLeft: number;
|
|
27
26
|
/**
|
|
28
27
|
* Initializes the datasource.
|
|
29
28
|
* @public
|
|
30
29
|
* @remarks This method is called automatically when the element is connected to the DOM.
|
|
31
30
|
*/
|
|
31
|
+
readonly offsetLeft: number;
|
|
32
32
|
readonly offsetParent: Element;
|
|
33
33
|
readonly offsetTop: number;
|
|
34
34
|
readonly offsetWidth: number;
|
|
@@ -45,10 +45,6 @@ declare const GridProGenesisDatasource_base: (new (...args: any[]) => {
|
|
|
45
45
|
readonly attributes: NamedNodeMap;
|
|
46
46
|
readonly classList: DOMTokenList;
|
|
47
47
|
className: string;
|
|
48
|
-
/**
|
|
49
|
-
* Deinitialises the datasource, resetting it to its initial state.
|
|
50
|
-
* @public
|
|
51
|
-
*/
|
|
52
48
|
readonly clientHeight: number;
|
|
53
49
|
readonly clientLeft: number;
|
|
54
50
|
readonly clientTop: number;
|
|
@@ -70,18 +66,9 @@ declare const GridProGenesisDatasource_base: (new (...args: any[]) => {
|
|
|
70
66
|
slot: string;
|
|
71
67
|
readonly tagName: string;
|
|
72
68
|
attachShadow(init: ShadowRootInit): ShadowRoot;
|
|
73
|
-
closest<K_2 extends keyof HTMLElementTagNameMap>(selector: K_2): HTMLElementTagNameMap[K_2];
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
*/
|
|
77
|
-
closest<K_3 extends keyof SVGElementTagNameMap>(selector: K_3): SVGElementTagNameMap[K_3]; /**
|
|
78
|
-
* Restarts the datasource, uses `deinit` and `init` in sequence.
|
|
79
|
-
* @public
|
|
80
|
-
*/
|
|
81
|
-
closest<E extends Element = Element>(selectors: string): E; /**
|
|
82
|
-
* Restarts the datasource, uses `deinit` and `init` in sequence.
|
|
83
|
-
* @public
|
|
84
|
-
*/
|
|
69
|
+
closest<K_2 extends keyof HTMLElementTagNameMap>(selector: K_2): HTMLElementTagNameMap[K_2];
|
|
70
|
+
closest<K_3 extends keyof SVGElementTagNameMap>(selector: K_3): SVGElementTagNameMap[K_3];
|
|
71
|
+
closest<E extends Element = Element>(selectors: string): E;
|
|
85
72
|
getAttribute(qualifiedName: string): string;
|
|
86
73
|
getAttributeNS(namespace: string, localName: string): string;
|
|
87
74
|
getAttributeNames(): string[];
|
|
@@ -361,7 +348,6 @@ export declare class GridProGenesisDatasource extends GridProGenesisDatasource_b
|
|
|
361
348
|
reverse: boolean;
|
|
362
349
|
rowId: string;
|
|
363
350
|
restartOnReconnection: boolean;
|
|
364
|
-
rowDataMapper: Function;
|
|
365
351
|
private dataSub;
|
|
366
352
|
private updateSub;
|
|
367
353
|
private connectionSub;
|
|
@@ -398,7 +384,6 @@ export declare class GridProGenesisDatasource extends GridProGenesisDatasource_b
|
|
|
398
384
|
* @public
|
|
399
385
|
*/
|
|
400
386
|
restart(): void;
|
|
401
|
-
refreshRows(): void;
|
|
402
387
|
private clearRowData;
|
|
403
388
|
private updateRowData;
|
|
404
389
|
private loadResourceData;
|
|
@@ -407,7 +392,6 @@ export declare class GridProGenesisDatasource extends GridProGenesisDatasource_b
|
|
|
407
392
|
private handleStreamResult;
|
|
408
393
|
private applyRequestServerData;
|
|
409
394
|
private applyDataserverData;
|
|
410
|
-
private mapTransaction;
|
|
411
395
|
private handleStreamInserts;
|
|
412
396
|
private handleStreamDeletes;
|
|
413
397
|
private handleStreamUpdates;
|
|
@@ -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,EAAU,WAAW,EAAsB,MAAM,yBAAyB,CAAC;AAClF,OAAO,EACL,OAAO,EAEP,UAAU,EAWX,MAAM,+BAA+B,CAAC;AAGvC,OAAO,EAAE,iBAAiB,EAAE,MAAM,4BAA4B,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,EAAU,WAAW,EAAsB,MAAM,yBAAyB,CAAC;AAClF,OAAO,EACL,OAAO,EAEP,UAAU,EAWX,MAAM,+BAA+B,CAAC;AAGvC,OAAO,EAAE,iBAAiB,EAAE,MAAM,4BAA4B,CAAC;;;;;;;;;;;;;;;;;;;;;;;IA0G7D;;;;OAIG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA7FL;;;;GAIG;AACH,qBAGa,wBAAyB,SAAQ,6BAAiC;IACpE,OAAO,EAAG,OAAO,CAAC;IACf,UAAU,EAAG,UAAU,CAAC;IAExB,mBAAmB,EAAE,WAAW,CAAC;IACvC,QAAQ,EAAE,MAAM,CAAC;IACjB,MAAM,EAAE,MAAM,CAAC;IACgC,UAAU,UAAS;IACvC,OAAO,EAAE,MAAM,CAAmC;IAClD,OAAO,EAAE,MAAM,CAAoC;IAC/B,UAAU,UAAS;IACvC,OAAO,EAAE,MAAM,CAAC;IACrC,OAAO,EAAE,GAAG,CAAC;IACa,YAAY,EAAE,MAAM,CAAC;IAC3D,mBAAmB,CAAC,QAAQ,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM;IAK3B,OAAO,UAAS;IACZ,KAAK,SAAa;IACgB,qBAAqB,UAAS;IAE/F,OAAO,CAAC,OAAO,CAAe;IAC9B,OAAO,CAAC,SAAS,CAAe;IAChC,OAAO,CAAC,aAAa,CAAe;IAEpC,OAAO,CAAC,6BAA6B,CAAQ;IAC7C,OAAO,CAAC,mBAAmB,CAAS;IAEpC,OAAO,CAAC,IAAI,CAA+B;IAC3C,OAAO,CAAC,aAAa,CAAqB;IAE1C,OAAO,CAAC,SAAS,CAAS;IAE1B,OAAO,CAAC,mBAAmB,CAAkC;IAC7D,OAAO,CAAC,MAAM,CAAwE;IAEtF,iBAAiB;IAsBjB,oBAAoB;IAQX,SAAS,IAAI,IAAI;IAO1B,OAAO,KAAK,MAAM,GAEjB;IAID;;;;OAIG;IACH,IAAI;IAkCJ;;;OAGG;IACH,MAAM;IAIN;;;;OAIG;IACH,KAAK;IA8BL;;;OAGG;IACH,OAAO;IAKP,OAAO,CAAC,YAAY;IAMpB,OAAO,CAAC,aAAa;YAUP,gBAAgB;IAiD9B,OAAO,CAAC,cAAc;IActB,OAAO,CAAC,iBAAiB;IAezB,OAAO,CAAC,kBAAkB;IAY1B,OAAO,CAAC,sBAAsB;IAmC9B,OAAO,CAAC,mBAAmB;IAqB3B,OAAO,CAAC,mBAAmB;IAgB3B,OAAO,CAAC,mBAAmB;IAO3B,OAAO,CAAC,mBAAmB;IAW3B,OAAO,CAAC,eAAe;IA0CvB,OAAO,CAAC,aAAa;IAMrB,eAAe,CAAC,WAAW,EAAE,MAAM,EAAE,WAAW,EAAE,MAAM;IASjD,SAAS,CAAC,SAAS,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM;IAK9C,YAAY,CAAC,SAAS,EAAE,MAAM;CAItC"}
|
|
@@ -139,9 +139,6 @@ let GridProGenesisDatasource = class GridProGenesisDatasource extends LifecycleM
|
|
|
139
139
|
this.deinit();
|
|
140
140
|
this.init();
|
|
141
141
|
}
|
|
142
|
-
refreshRows() {
|
|
143
|
-
this.updateRowData(Array.from(this.rows.values()));
|
|
144
|
-
}
|
|
145
142
|
clearRowData() {
|
|
146
143
|
var _a, _b;
|
|
147
144
|
this.rows = new Map();
|
|
@@ -153,11 +150,7 @@ let GridProGenesisDatasource = class GridProGenesisDatasource extends LifecycleM
|
|
|
153
150
|
if (agColumnDefs) {
|
|
154
151
|
this.agGrid.gridApi.setColumnDefs(agColumnDefs);
|
|
155
152
|
}
|
|
156
|
-
|
|
157
|
-
const data = this.rowDataMapper && typeof this.rowDataMapper === 'function'
|
|
158
|
-
? this.rowDataMapper(rowData)
|
|
159
|
-
: rowData;
|
|
160
|
-
this.agGrid.gridApi.setRowData(data);
|
|
153
|
+
this.agGrid.gridApi.setRowData(rowData);
|
|
161
154
|
this.requiresFullRowDataAndColDefs = false;
|
|
162
155
|
}
|
|
163
156
|
loadResourceData(withFullInit = true) {
|
|
@@ -257,10 +250,7 @@ let GridProGenesisDatasource = class GridProGenesisDatasource extends LifecycleM
|
|
|
257
250
|
this.handleStreamInserts(requestServerResult.REPLY);
|
|
258
251
|
const rowsToDelete = Array.from(this.rows.values()).filter((row) => !requestServerResult.REPLY.includes(row));
|
|
259
252
|
this.handleStreamDeletes(rowsToDelete);
|
|
260
|
-
|
|
261
|
-
? this.mapTransaction(this.agTransaction)
|
|
262
|
-
: this.agTransaction;
|
|
263
|
-
this.agGrid.gridApi.applyTransactionAsync(transaction);
|
|
253
|
+
this.agGrid.gridApi.applyTransactionAsync(this.agTransaction);
|
|
264
254
|
}
|
|
265
255
|
applyDataserverData(dataServerResult) {
|
|
266
256
|
var _a;
|
|
@@ -276,13 +266,7 @@ let GridProGenesisDatasource = class GridProGenesisDatasource extends LifecycleM
|
|
|
276
266
|
this.handleStreamInserts(dataServerResult.inserts);
|
|
277
267
|
this.handleStreamDeletes(dataServerResult.deletes);
|
|
278
268
|
this.handleStreamUpdates(dataServerResult.updates);
|
|
279
|
-
this.agGrid.gridApi.applyTransactionAsync(this.
|
|
280
|
-
}
|
|
281
|
-
mapTransaction(transaction) {
|
|
282
|
-
if (!this.rowDataMapper) {
|
|
283
|
-
return transaction;
|
|
284
|
-
}
|
|
285
|
-
return Object.assign(Object.assign({}, transaction), { add: this.rowDataMapper(transaction.add, this.rows), update: this.rowDataMapper(transaction.update, this.rows), remove: this.rowDataMapper(transaction.remove, this.rows) });
|
|
269
|
+
this.agGrid.gridApi.applyTransactionAsync(this.agTransaction);
|
|
286
270
|
}
|
|
287
271
|
handleStreamInserts(insertedRows) {
|
|
288
272
|
insertedRows === null || insertedRows === void 0 ? void 0 : insertedRows.forEach((insertData) => {
|
|
@@ -412,9 +396,6 @@ __decorate([
|
|
|
412
396
|
__decorate([
|
|
413
397
|
attr({ mode: 'boolean', attribute: 'restart-on-reconnection' })
|
|
414
398
|
], GridProGenesisDatasource.prototype, "restartOnReconnection", void 0);
|
|
415
|
-
__decorate([
|
|
416
|
-
observable
|
|
417
|
-
], GridProGenesisDatasource.prototype, "rowDataMapper", void 0);
|
|
418
399
|
GridProGenesisDatasource = __decorate([
|
|
419
400
|
customElement({
|
|
420
401
|
name: 'grid-pro-genesis-datasource',
|
package/dist/grid-pro.api.json
CHANGED
|
@@ -590,7 +590,7 @@
|
|
|
590
590
|
},
|
|
591
591
|
{
|
|
592
592
|
"kind": "Content",
|
|
593
|
-
"text": "{\n actionClick?: (rowData: any) => void;\n actionName?: string;\n appearance?: string;\n dataTestId?: string;\n isDisabled?: (rowData: any) => boolean;\n uniqueFieldName?: string;\n
|
|
593
|
+
"text": "{\n actionClick?: (rowData: any) => void;\n actionName?: string;\n appearance?: string;\n dataTestId?: string;\n isDisabled?: (rowData: any) => boolean;\n uniqueFieldName?: string;\n}"
|
|
594
594
|
},
|
|
595
595
|
{
|
|
596
596
|
"kind": "Content",
|
|
@@ -6934,37 +6934,6 @@
|
|
|
6934
6934
|
"isProtected": false,
|
|
6935
6935
|
"isAbstract": false
|
|
6936
6936
|
},
|
|
6937
|
-
{
|
|
6938
|
-
"kind": "Method",
|
|
6939
|
-
"canonicalReference": "@genesislcap/grid-pro!GridProGenesisDatasource#refreshRows:member(1)",
|
|
6940
|
-
"docComment": "",
|
|
6941
|
-
"excerptTokens": [
|
|
6942
|
-
{
|
|
6943
|
-
"kind": "Content",
|
|
6944
|
-
"text": "refreshRows(): "
|
|
6945
|
-
},
|
|
6946
|
-
{
|
|
6947
|
-
"kind": "Content",
|
|
6948
|
-
"text": "void"
|
|
6949
|
-
},
|
|
6950
|
-
{
|
|
6951
|
-
"kind": "Content",
|
|
6952
|
-
"text": ";"
|
|
6953
|
-
}
|
|
6954
|
-
],
|
|
6955
|
-
"isStatic": false,
|
|
6956
|
-
"returnTypeTokenRange": {
|
|
6957
|
-
"startIndex": 1,
|
|
6958
|
-
"endIndex": 2
|
|
6959
|
-
},
|
|
6960
|
-
"releaseTag": "Public",
|
|
6961
|
-
"isProtected": false,
|
|
6962
|
-
"overloadIndex": 1,
|
|
6963
|
-
"parameters": [],
|
|
6964
|
-
"isOptional": false,
|
|
6965
|
-
"isAbstract": false,
|
|
6966
|
-
"name": "refreshRows"
|
|
6967
|
-
},
|
|
6968
6937
|
{
|
|
6969
6938
|
"kind": "Method",
|
|
6970
6939
|
"canonicalReference": "@genesislcap/grid-pro!GridProGenesisDatasource#removeFilter:member(1)",
|
|
@@ -7259,37 +7228,6 @@
|
|
|
7259
7228
|
"isProtected": false,
|
|
7260
7229
|
"isAbstract": false
|
|
7261
7230
|
},
|
|
7262
|
-
{
|
|
7263
|
-
"kind": "Property",
|
|
7264
|
-
"canonicalReference": "@genesislcap/grid-pro!GridProGenesisDatasource#rowDataMapper:member",
|
|
7265
|
-
"docComment": "",
|
|
7266
|
-
"excerptTokens": [
|
|
7267
|
-
{
|
|
7268
|
-
"kind": "Content",
|
|
7269
|
-
"text": "rowDataMapper: "
|
|
7270
|
-
},
|
|
7271
|
-
{
|
|
7272
|
-
"kind": "Reference",
|
|
7273
|
-
"text": "Function",
|
|
7274
|
-
"canonicalReference": "!Function:interface"
|
|
7275
|
-
},
|
|
7276
|
-
{
|
|
7277
|
-
"kind": "Content",
|
|
7278
|
-
"text": ";"
|
|
7279
|
-
}
|
|
7280
|
-
],
|
|
7281
|
-
"isReadonly": false,
|
|
7282
|
-
"isOptional": false,
|
|
7283
|
-
"releaseTag": "Public",
|
|
7284
|
-
"name": "rowDataMapper",
|
|
7285
|
-
"propertyTypeTokenRange": {
|
|
7286
|
-
"startIndex": 1,
|
|
7287
|
-
"endIndex": 2
|
|
7288
|
-
},
|
|
7289
|
-
"isStatic": false,
|
|
7290
|
-
"isProtected": false,
|
|
7291
|
-
"isAbstract": false
|
|
7292
|
-
},
|
|
7293
7231
|
{
|
|
7294
7232
|
"kind": "Property",
|
|
7295
7233
|
"canonicalReference": "@genesislcap/grid-pro!GridProGenesisDatasource#rowId:member",
|
package/dist/grid-pro.d.ts
CHANGED
|
@@ -97,7 +97,6 @@ export declare type ActionRendererParams = {
|
|
|
97
97
|
* A unique field name used to identify the action button used for E2E testing, so that the data-testid attribute value can be unique.
|
|
98
98
|
*/
|
|
99
99
|
uniqueFieldName?: string;
|
|
100
|
-
contentTemplate?: string;
|
|
101
100
|
};
|
|
102
101
|
|
|
103
102
|
/**
|
|
@@ -1227,7 +1226,6 @@ export declare class GridProGenesisDatasource extends GridProGenesisDatasource_b
|
|
|
1227
1226
|
reverse: boolean;
|
|
1228
1227
|
rowId: string;
|
|
1229
1228
|
restartOnReconnection: boolean;
|
|
1230
|
-
rowDataMapper: Function;
|
|
1231
1229
|
private dataSub;
|
|
1232
1230
|
private updateSub;
|
|
1233
1231
|
private connectionSub;
|
|
@@ -1264,7 +1262,6 @@ export declare class GridProGenesisDatasource extends GridProGenesisDatasource_b
|
|
|
1264
1262
|
* @public
|
|
1265
1263
|
*/
|
|
1266
1264
|
restart(): void;
|
|
1267
|
-
refreshRows(): void;
|
|
1268
1265
|
private clearRowData;
|
|
1269
1266
|
private updateRowData;
|
|
1270
1267
|
private loadResourceData;
|
|
@@ -1273,7 +1270,6 @@ export declare class GridProGenesisDatasource extends GridProGenesisDatasource_b
|
|
|
1273
1270
|
private handleStreamResult;
|
|
1274
1271
|
private applyRequestServerData;
|
|
1275
1272
|
private applyDataserverData;
|
|
1276
|
-
private mapTransaction;
|
|
1277
1273
|
private handleStreamInserts;
|
|
1278
1274
|
private handleStreamDeletes;
|
|
1279
1275
|
private handleStreamUpdates;
|
|
@@ -1306,12 +1302,12 @@ declare const GridProGenesisDatasource_base: (new (...args: any[]) => {
|
|
|
1306
1302
|
innerText: string;
|
|
1307
1303
|
lang: string;
|
|
1308
1304
|
readonly offsetHeight: number;
|
|
1309
|
-
readonly offsetLeft: number;
|
|
1310
1305
|
/**
|
|
1311
1306
|
* Initializes the datasource.
|
|
1312
1307
|
* @public
|
|
1313
1308
|
* @remarks This method is called automatically when the element is connected to the DOM.
|
|
1314
1309
|
*/
|
|
1310
|
+
readonly offsetLeft: number;
|
|
1315
1311
|
readonly offsetParent: Element;
|
|
1316
1312
|
readonly offsetTop: number;
|
|
1317
1313
|
readonly offsetWidth: number;
|
|
@@ -1328,10 +1324,6 @@ declare const GridProGenesisDatasource_base: (new (...args: any[]) => {
|
|
|
1328
1324
|
readonly attributes: NamedNodeMap;
|
|
1329
1325
|
readonly classList: DOMTokenList;
|
|
1330
1326
|
className: string;
|
|
1331
|
-
/**
|
|
1332
|
-
* Deinitialises the datasource, resetting it to its initial state.
|
|
1333
|
-
* @public
|
|
1334
|
-
*/
|
|
1335
1327
|
readonly clientHeight: number;
|
|
1336
1328
|
readonly clientLeft: number;
|
|
1337
1329
|
readonly clientTop: number;
|
|
@@ -1353,18 +1345,9 @@ declare const GridProGenesisDatasource_base: (new (...args: any[]) => {
|
|
|
1353
1345
|
slot: string;
|
|
1354
1346
|
readonly tagName: string;
|
|
1355
1347
|
attachShadow(init: ShadowRootInit): ShadowRoot;
|
|
1356
|
-
closest<K_2 extends keyof HTMLElementTagNameMap>(selector: K_2): HTMLElementTagNameMap[K_2];
|
|
1357
|
-
|
|
1358
|
-
|
|
1359
|
-
*/
|
|
1360
|
-
closest<K_3 extends keyof SVGElementTagNameMap>(selector: K_3): SVGElementTagNameMap[K_3]; /**
|
|
1361
|
-
* Restarts the datasource, uses `deinit` and `init` in sequence.
|
|
1362
|
-
* @public
|
|
1363
|
-
*/
|
|
1364
|
-
closest<E extends Element = Element>(selectors: string): E; /**
|
|
1365
|
-
* Restarts the datasource, uses `deinit` and `init` in sequence.
|
|
1366
|
-
* @public
|
|
1367
|
-
*/
|
|
1348
|
+
closest<K_2 extends keyof HTMLElementTagNameMap>(selector: K_2): HTMLElementTagNameMap[K_2];
|
|
1349
|
+
closest<K_3 extends keyof SVGElementTagNameMap>(selector: K_3): SVGElementTagNameMap[K_3];
|
|
1350
|
+
closest<E extends Element = Element>(selectors: string): E;
|
|
1368
1351
|
getAttribute(qualifiedName: string): string;
|
|
1369
1352
|
getAttributeNS(namespace: string, localName: string): string;
|
|
1370
1353
|
getAttributeNames(): string[];
|
|
@@ -35,7 +35,6 @@ Only supports Client-Side Row Model.
|
|
|
35
35
|
| [resourceName](./grid-pro.gridprogenesisdatasource.resourcename.md) | | string | |
|
|
36
36
|
| [restartOnReconnection](./grid-pro.gridprogenesisdatasource.restartonreconnection.md) | | boolean | |
|
|
37
37
|
| [reverse](./grid-pro.gridprogenesisdatasource.reverse.md) | | boolean | |
|
|
38
|
-
| [rowDataMapper](./grid-pro.gridprogenesisdatasource.rowdatamapper.md) | | Function | |
|
|
39
38
|
| [rowId](./grid-pro.gridprogenesisdatasource.rowid.md) | | string | |
|
|
40
39
|
|
|
41
40
|
## Methods
|
|
@@ -48,7 +47,6 @@ Only supports Client-Side Row Model.
|
|
|
48
47
|
| [deinit()](./grid-pro.gridprogenesisdatasource.deinit.md) | | Deinitialises the datasource, resetting it to its initial state. |
|
|
49
48
|
| [disconnectedCallback()](./grid-pro.gridprogenesisdatasource.disconnectedcallback.md) | | |
|
|
50
49
|
| [init()](./grid-pro.gridprogenesisdatasource.init.md) | | Initializes the datasource. |
|
|
51
|
-
| [refreshRows()](./grid-pro.gridprogenesisdatasource.refreshrows.md) | | |
|
|
52
50
|
| [removeFilter(fieldName)](./grid-pro.gridprogenesisdatasource.removefilter.md) | | |
|
|
53
51
|
| [reset()](./grid-pro.gridprogenesisdatasource.reset.md) | | Resets the datasource to its initial state. |
|
|
54
52
|
| [resourceNameChanged(oldValue, newValue)](./grid-pro.gridprogenesisdatasource.resourcenamechanged.md) | | |
|
package/docs/api-report.md
CHANGED
|
@@ -77,7 +77,6 @@ export type ActionRendererParams = {
|
|
|
77
77
|
dataTestId?: string;
|
|
78
78
|
isDisabled?: (rowData: any) => boolean;
|
|
79
79
|
uniqueFieldName?: string;
|
|
80
|
-
contentTemplate?: string;
|
|
81
80
|
};
|
|
82
81
|
|
|
83
82
|
// @public
|
|
@@ -670,8 +669,6 @@ export class GridProGenesisDatasource extends GridProGenesisDatasource_base {
|
|
|
670
669
|
// (undocumented)
|
|
671
670
|
orderBy: string;
|
|
672
671
|
// (undocumented)
|
|
673
|
-
refreshRows(): void;
|
|
674
|
-
// (undocumented)
|
|
675
672
|
removeFilter(fieldName: string): void;
|
|
676
673
|
// (undocumented)
|
|
677
674
|
request: any;
|
|
@@ -687,8 +684,6 @@ export class GridProGenesisDatasource extends GridProGenesisDatasource_base {
|
|
|
687
684
|
// (undocumented)
|
|
688
685
|
reverse: boolean;
|
|
689
686
|
// (undocumented)
|
|
690
|
-
rowDataMapper: Function;
|
|
691
|
-
// (undocumented)
|
|
692
687
|
rowId: string;
|
|
693
688
|
// (undocumented)
|
|
694
689
|
setFilter(fieldName: string, newFilter: string): void;
|
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.24.4
|
|
4
|
+
"version": "14.24.4",
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"license": "SEE LICENSE IN license.txt",
|
|
7
7
|
"main": "dist/esm/index.js",
|
|
@@ -23,8 +23,8 @@
|
|
|
23
23
|
"test": "echo \"Error: no test specified\""
|
|
24
24
|
},
|
|
25
25
|
"devDependencies": {
|
|
26
|
-
"@genesislcap/foundation-testing": "14.24.4
|
|
27
|
-
"@genesislcap/genx": "14.24.4
|
|
26
|
+
"@genesislcap/foundation-testing": "^14.24.4",
|
|
27
|
+
"@genesislcap/genx": "^14.24.4",
|
|
28
28
|
"@playwright/test": "^1.18.1",
|
|
29
29
|
"bulma": "^0.9.3",
|
|
30
30
|
"c8": "^7.11.0",
|
|
@@ -64,9 +64,9 @@
|
|
|
64
64
|
"webpack-merge": "^5.7.3"
|
|
65
65
|
},
|
|
66
66
|
"dependencies": {
|
|
67
|
-
"@genesislcap/foundation-comms": "14.24.4
|
|
68
|
-
"@genesislcap/foundation-ui": "14.24.4
|
|
69
|
-
"@genesislcap/foundation-utils": "14.24.4
|
|
67
|
+
"@genesislcap/foundation-comms": "^14.24.4",
|
|
68
|
+
"@genesislcap/foundation-ui": "^14.24.4",
|
|
69
|
+
"@genesislcap/foundation-utils": "^14.24.4",
|
|
70
70
|
"@microsoft/fast-colors": "^5.1.4",
|
|
71
71
|
"@microsoft/fast-components": "^2.21.3",
|
|
72
72
|
"@microsoft/fast-element": "^1.7.0",
|
|
@@ -92,5 +92,5 @@
|
|
|
92
92
|
"access": "public"
|
|
93
93
|
},
|
|
94
94
|
"customElements": "dist/custom-elements.json",
|
|
95
|
-
"gitHead": "
|
|
95
|
+
"gitHead": "f10d551ef1457c744c75d1a21f711b1930242f05"
|
|
96
96
|
}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
-
|
|
3
|
-
[Home](./index.md) > [@genesislcap/grid-pro](./grid-pro.md) > [GridProGenesisDatasource](./grid-pro.gridprogenesisdatasource.md) > [refreshRows](./grid-pro.gridprogenesisdatasource.refreshrows.md)
|
|
4
|
-
|
|
5
|
-
## GridProGenesisDatasource.refreshRows() method
|
|
6
|
-
|
|
7
|
-
**Signature:**
|
|
8
|
-
|
|
9
|
-
```typescript
|
|
10
|
-
refreshRows(): void;
|
|
11
|
-
```
|
|
12
|
-
**Returns:**
|
|
13
|
-
|
|
14
|
-
void
|
|
15
|
-
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
-
|
|
3
|
-
[Home](./index.md) > [@genesislcap/grid-pro](./grid-pro.md) > [GridProGenesisDatasource](./grid-pro.gridprogenesisdatasource.md) > [rowDataMapper](./grid-pro.gridprogenesisdatasource.rowdatamapper.md)
|
|
4
|
-
|
|
5
|
-
## GridProGenesisDatasource.rowDataMapper property
|
|
6
|
-
|
|
7
|
-
**Signature:**
|
|
8
|
-
|
|
9
|
-
```typescript
|
|
10
|
-
rowDataMapper: Function;
|
|
11
|
-
```
|