@genesislcap/grid-pro 14.20.0-bny.19 → 14.20.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/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 +0 -3
- 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 +0 -4
- 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
|
@@ -4438,13 +4438,6 @@
|
|
|
4438
4438
|
},
|
|
4439
4439
|
"default": "false"
|
|
4440
4440
|
},
|
|
4441
|
-
{
|
|
4442
|
-
"kind": "field",
|
|
4443
|
-
"name": "rowDataMapper",
|
|
4444
|
-
"type": {
|
|
4445
|
-
"text": "Function"
|
|
4446
|
-
}
|
|
4447
|
-
},
|
|
4448
4441
|
{
|
|
4449
4442
|
"kind": "field",
|
|
4450
4443
|
"name": "dataSub",
|
|
@@ -4571,10 +4564,6 @@
|
|
|
4571
4564
|
"kind": "method",
|
|
4572
4565
|
"name": "restart"
|
|
4573
4566
|
},
|
|
4574
|
-
{
|
|
4575
|
-
"kind": "method",
|
|
4576
|
-
"name": "refreshRows"
|
|
4577
|
-
},
|
|
4578
4567
|
{
|
|
4579
4568
|
"kind": "method",
|
|
4580
4569
|
"name": "clearRowData",
|
|
@@ -4665,19 +4654,6 @@
|
|
|
4665
4654
|
}
|
|
4666
4655
|
]
|
|
4667
4656
|
},
|
|
4668
|
-
{
|
|
4669
|
-
"kind": "method",
|
|
4670
|
-
"name": "mapTransaction",
|
|
4671
|
-
"privacy": "private",
|
|
4672
|
-
"parameters": [
|
|
4673
|
-
{
|
|
4674
|
-
"name": "transaction",
|
|
4675
|
-
"type": {
|
|
4676
|
-
"text": "RowDataTransaction"
|
|
4677
|
-
}
|
|
4678
|
-
}
|
|
4679
|
-
]
|
|
4680
|
-
},
|
|
4681
4657
|
{
|
|
4682
4658
|
"kind": "method",
|
|
4683
4659
|
"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"}
|
|
@@ -354,7 +354,6 @@ export declare class GridProGenesisDatasource extends GridProGenesisDatasource_b
|
|
|
354
354
|
reverse: boolean;
|
|
355
355
|
rowId: string;
|
|
356
356
|
restartOnReconnection: boolean;
|
|
357
|
-
rowDataMapper: Function;
|
|
358
357
|
private dataSub;
|
|
359
358
|
private updateSub;
|
|
360
359
|
private connectionSub;
|
|
@@ -380,7 +379,6 @@ export declare class GridProGenesisDatasource extends GridProGenesisDatasource_b
|
|
|
380
379
|
*/
|
|
381
380
|
reset(): void;
|
|
382
381
|
restart(): void;
|
|
383
|
-
refreshRows(): void;
|
|
384
382
|
private clearRowData;
|
|
385
383
|
private updateRowData;
|
|
386
384
|
private loadResourceData;
|
|
@@ -389,7 +387,6 @@ export declare class GridProGenesisDatasource extends GridProGenesisDatasource_b
|
|
|
389
387
|
private handleStreamResult;
|
|
390
388
|
private applyRequestServerData;
|
|
391
389
|
private applyDataserverData;
|
|
392
|
-
private mapTransaction;
|
|
393
390
|
private handleStreamInserts;
|
|
394
391
|
private handleStreamDeletes;
|
|
395
392
|
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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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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"}
|
|
@@ -123,9 +123,6 @@ let GridProGenesisDatasource = class GridProGenesisDatasource extends LifecycleM
|
|
|
123
123
|
this.deinit();
|
|
124
124
|
this.init();
|
|
125
125
|
}
|
|
126
|
-
refreshRows() {
|
|
127
|
-
this.updateRowData(Array.from(this.rows.values()));
|
|
128
|
-
}
|
|
129
126
|
clearRowData() {
|
|
130
127
|
var _a, _b;
|
|
131
128
|
this.rows = new Map();
|
|
@@ -137,11 +134,7 @@ let GridProGenesisDatasource = class GridProGenesisDatasource extends LifecycleM
|
|
|
137
134
|
if (agColumnDefs) {
|
|
138
135
|
this.agGrid.gridApi.setColumnDefs(agColumnDefs);
|
|
139
136
|
}
|
|
140
|
-
|
|
141
|
-
const data = this.rowDataMapper && typeof this.rowDataMapper === 'function'
|
|
142
|
-
? this.rowDataMapper(rowData)
|
|
143
|
-
: rowData;
|
|
144
|
-
this.agGrid.gridApi.setRowData(data);
|
|
137
|
+
this.agGrid.gridApi.setRowData(rowData);
|
|
145
138
|
this.requiresFullRowDataAndColDefs = false;
|
|
146
139
|
}
|
|
147
140
|
loadResourceData(withFullInit = true) {
|
|
@@ -241,10 +234,7 @@ let GridProGenesisDatasource = class GridProGenesisDatasource extends LifecycleM
|
|
|
241
234
|
this.handleStreamInserts(requestServerResult.REPLY);
|
|
242
235
|
const rowsToDelete = Array.from(this.rows.values()).filter((row) => !requestServerResult.REPLY.includes(row));
|
|
243
236
|
this.handleStreamDeletes(rowsToDelete);
|
|
244
|
-
|
|
245
|
-
? this.mapTransaction(this.agTransaction)
|
|
246
|
-
: this.agTransaction;
|
|
247
|
-
this.agGrid.gridApi.applyTransactionAsync(transaction);
|
|
237
|
+
this.agGrid.gridApi.applyTransactionAsync(this.agTransaction);
|
|
248
238
|
}
|
|
249
239
|
applyDataserverData(dataServerResult) {
|
|
250
240
|
var _a;
|
|
@@ -260,13 +250,7 @@ let GridProGenesisDatasource = class GridProGenesisDatasource extends LifecycleM
|
|
|
260
250
|
this.handleStreamInserts(dataServerResult.inserts);
|
|
261
251
|
this.handleStreamDeletes(dataServerResult.deletes);
|
|
262
252
|
this.handleStreamUpdates(dataServerResult.updates);
|
|
263
|
-
this.agGrid.gridApi.applyTransactionAsync(this.
|
|
264
|
-
}
|
|
265
|
-
mapTransaction(transaction) {
|
|
266
|
-
if (!this.rowDataMapper) {
|
|
267
|
-
return transaction;
|
|
268
|
-
}
|
|
269
|
-
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) });
|
|
253
|
+
this.agGrid.gridApi.applyTransactionAsync(this.agTransaction);
|
|
270
254
|
}
|
|
271
255
|
handleStreamInserts(insertedRows) {
|
|
272
256
|
insertedRows === null || insertedRows === void 0 ? void 0 : insertedRows.forEach((insertData) => {
|
|
@@ -396,9 +380,6 @@ __decorate([
|
|
|
396
380
|
__decorate([
|
|
397
381
|
attr({ mode: 'boolean', attribute: 'restart-on-reconnection' })
|
|
398
382
|
], GridProGenesisDatasource.prototype, "restartOnReconnection", void 0);
|
|
399
|
-
__decorate([
|
|
400
|
-
observable
|
|
401
|
-
], GridProGenesisDatasource.prototype, "rowDataMapper", void 0);
|
|
402
383
|
GridProGenesisDatasource = __decorate([
|
|
403
384
|
customElement({
|
|
404
385
|
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",
|
|
@@ -6925,37 +6925,6 @@
|
|
|
6925
6925
|
"isProtected": false,
|
|
6926
6926
|
"isAbstract": false
|
|
6927
6927
|
},
|
|
6928
|
-
{
|
|
6929
|
-
"kind": "Method",
|
|
6930
|
-
"canonicalReference": "@genesislcap/grid-pro!GridProGenesisDatasource#refreshRows:member(1)",
|
|
6931
|
-
"docComment": "",
|
|
6932
|
-
"excerptTokens": [
|
|
6933
|
-
{
|
|
6934
|
-
"kind": "Content",
|
|
6935
|
-
"text": "refreshRows(): "
|
|
6936
|
-
},
|
|
6937
|
-
{
|
|
6938
|
-
"kind": "Content",
|
|
6939
|
-
"text": "void"
|
|
6940
|
-
},
|
|
6941
|
-
{
|
|
6942
|
-
"kind": "Content",
|
|
6943
|
-
"text": ";"
|
|
6944
|
-
}
|
|
6945
|
-
],
|
|
6946
|
-
"isStatic": false,
|
|
6947
|
-
"returnTypeTokenRange": {
|
|
6948
|
-
"startIndex": 1,
|
|
6949
|
-
"endIndex": 2
|
|
6950
|
-
},
|
|
6951
|
-
"releaseTag": "Public",
|
|
6952
|
-
"isProtected": false,
|
|
6953
|
-
"overloadIndex": 1,
|
|
6954
|
-
"parameters": [],
|
|
6955
|
-
"isOptional": false,
|
|
6956
|
-
"isAbstract": false,
|
|
6957
|
-
"name": "refreshRows"
|
|
6958
|
-
},
|
|
6959
6928
|
{
|
|
6960
6929
|
"kind": "Method",
|
|
6961
6930
|
"canonicalReference": "@genesislcap/grid-pro!GridProGenesisDatasource#removeFilter:member(1)",
|
|
@@ -7250,37 +7219,6 @@
|
|
|
7250
7219
|
"isProtected": false,
|
|
7251
7220
|
"isAbstract": false
|
|
7252
7221
|
},
|
|
7253
|
-
{
|
|
7254
|
-
"kind": "Property",
|
|
7255
|
-
"canonicalReference": "@genesislcap/grid-pro!GridProGenesisDatasource#rowDataMapper:member",
|
|
7256
|
-
"docComment": "",
|
|
7257
|
-
"excerptTokens": [
|
|
7258
|
-
{
|
|
7259
|
-
"kind": "Content",
|
|
7260
|
-
"text": "rowDataMapper: "
|
|
7261
|
-
},
|
|
7262
|
-
{
|
|
7263
|
-
"kind": "Reference",
|
|
7264
|
-
"text": "Function",
|
|
7265
|
-
"canonicalReference": "!Function:interface"
|
|
7266
|
-
},
|
|
7267
|
-
{
|
|
7268
|
-
"kind": "Content",
|
|
7269
|
-
"text": ";"
|
|
7270
|
-
}
|
|
7271
|
-
],
|
|
7272
|
-
"isReadonly": false,
|
|
7273
|
-
"isOptional": false,
|
|
7274
|
-
"releaseTag": "Public",
|
|
7275
|
-
"name": "rowDataMapper",
|
|
7276
|
-
"propertyTypeTokenRange": {
|
|
7277
|
-
"startIndex": 1,
|
|
7278
|
-
"endIndex": 2
|
|
7279
|
-
},
|
|
7280
|
-
"isStatic": false,
|
|
7281
|
-
"isProtected": false,
|
|
7282
|
-
"isAbstract": false
|
|
7283
|
-
},
|
|
7284
7222
|
{
|
|
7285
7223
|
"kind": "Property",
|
|
7286
7224
|
"canonicalReference": "@genesislcap/grid-pro!GridProGenesisDatasource#rowId:member",
|
package/dist/grid-pro.d.ts
CHANGED
|
@@ -94,7 +94,6 @@ export declare type ActionRendererParams = {
|
|
|
94
94
|
* A unique field name used to identify the action button used for E2E testing, so that the data-testid attribute value can be unique.
|
|
95
95
|
*/
|
|
96
96
|
uniqueFieldName?: string;
|
|
97
|
-
contentTemplate?: string;
|
|
98
97
|
};
|
|
99
98
|
|
|
100
99
|
/**
|
|
@@ -1218,7 +1217,6 @@ export declare class GridProGenesisDatasource extends GridProGenesisDatasource_b
|
|
|
1218
1217
|
reverse: boolean;
|
|
1219
1218
|
rowId: string;
|
|
1220
1219
|
restartOnReconnection: boolean;
|
|
1221
|
-
rowDataMapper: Function;
|
|
1222
1220
|
private dataSub;
|
|
1223
1221
|
private updateSub;
|
|
1224
1222
|
private connectionSub;
|
|
@@ -1244,7 +1242,6 @@ export declare class GridProGenesisDatasource extends GridProGenesisDatasource_b
|
|
|
1244
1242
|
*/
|
|
1245
1243
|
reset(): void;
|
|
1246
1244
|
restart(): void;
|
|
1247
|
-
refreshRows(): void;
|
|
1248
1245
|
private clearRowData;
|
|
1249
1246
|
private updateRowData;
|
|
1250
1247
|
private loadResourceData;
|
|
@@ -1253,7 +1250,6 @@ export declare class GridProGenesisDatasource extends GridProGenesisDatasource_b
|
|
|
1253
1250
|
private handleStreamResult;
|
|
1254
1251
|
private applyRequestServerData;
|
|
1255
1252
|
private applyDataserverData;
|
|
1256
|
-
private mapTransaction;
|
|
1257
1253
|
private handleStreamInserts;
|
|
1258
1254
|
private handleStreamDeletes;
|
|
1259
1255
|
private handleStreamUpdates;
|
|
@@ -29,7 +29,6 @@ export declare class GridProGenesisDatasource extends GridProGenesisDatasource_b
|
|
|
29
29
|
| [resourceName](./grid-pro.gridprogenesisdatasource.resourcename.md) | | string | |
|
|
30
30
|
| [restartOnReconnection](./grid-pro.gridprogenesisdatasource.restartonreconnection.md) | | boolean | |
|
|
31
31
|
| [reverse](./grid-pro.gridprogenesisdatasource.reverse.md) | | boolean | |
|
|
32
|
-
| [rowDataMapper](./grid-pro.gridprogenesisdatasource.rowdatamapper.md) | | Function | |
|
|
33
32
|
| [rowId](./grid-pro.gridprogenesisdatasource.rowid.md) | | string | |
|
|
34
33
|
|
|
35
34
|
## Methods
|
|
@@ -42,7 +41,6 @@ export declare class GridProGenesisDatasource extends GridProGenesisDatasource_b
|
|
|
42
41
|
| [deinit()](./grid-pro.gridprogenesisdatasource.deinit.md) | | |
|
|
43
42
|
| [disconnectedCallback()](./grid-pro.gridprogenesisdatasource.disconnectedcallback.md) | | |
|
|
44
43
|
| [init()](./grid-pro.gridprogenesisdatasource.init.md) | | |
|
|
45
|
-
| [refreshRows()](./grid-pro.gridprogenesisdatasource.refreshrows.md) | | |
|
|
46
44
|
| [removeFilter(fieldName)](./grid-pro.gridprogenesisdatasource.removefilter.md) | | |
|
|
47
45
|
| [reset()](./grid-pro.gridprogenesisdatasource.reset.md) | | Use instead |
|
|
48
46
|
| [resourceNameChanged(oldValue, newValue)](./grid-pro.gridprogenesisdatasource.resourcenamechanged.md) | | |
|
package/docs/api-report.md
CHANGED
|
@@ -74,7 +74,6 @@ export type ActionRendererParams = {
|
|
|
74
74
|
dataTestId?: string;
|
|
75
75
|
isDisabled?: (rowData: any) => boolean;
|
|
76
76
|
uniqueFieldName?: string;
|
|
77
|
-
contentTemplate?: string;
|
|
78
77
|
};
|
|
79
78
|
|
|
80
79
|
// @public
|
|
@@ -668,8 +667,6 @@ export class GridProGenesisDatasource extends GridProGenesisDatasource_base {
|
|
|
668
667
|
// (undocumented)
|
|
669
668
|
orderBy: string;
|
|
670
669
|
// (undocumented)
|
|
671
|
-
refreshRows(): void;
|
|
672
|
-
// (undocumented)
|
|
673
670
|
removeFilter(fieldName: string): void;
|
|
674
671
|
// (undocumented)
|
|
675
672
|
request: any;
|
|
@@ -686,8 +683,6 @@ export class GridProGenesisDatasource extends GridProGenesisDatasource_base {
|
|
|
686
683
|
// (undocumented)
|
|
687
684
|
reverse: boolean;
|
|
688
685
|
// (undocumented)
|
|
689
|
-
rowDataMapper: Function;
|
|
690
|
-
// (undocumented)
|
|
691
686
|
rowId: string;
|
|
692
687
|
// (undocumented)
|
|
693
688
|
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.20.0
|
|
4
|
+
"version": "14.20.0",
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"license": "SEE LICENSE IN license.txt",
|
|
7
7
|
"main": "dist/esm/index.js",
|
|
@@ -30,8 +30,8 @@
|
|
|
30
30
|
},
|
|
31
31
|
"devDependencies": {
|
|
32
32
|
"@custom-elements-manifest/analyzer": "^0.8.2",
|
|
33
|
-
"@genesislcap/foundation-testing": "14.20.0
|
|
34
|
-
"@genesislcap/genx": "14.20.0
|
|
33
|
+
"@genesislcap/foundation-testing": "^14.20.0",
|
|
34
|
+
"@genesislcap/genx": "^14.20.0",
|
|
35
35
|
"@playwright/test": "^1.18.1",
|
|
36
36
|
"@rollup/plugin-commonjs": "^21.0.1",
|
|
37
37
|
"@rollup/plugin-node-resolve": "^13.1.3",
|
|
@@ -81,9 +81,9 @@
|
|
|
81
81
|
"webpack-merge": "^5.7.3"
|
|
82
82
|
},
|
|
83
83
|
"dependencies": {
|
|
84
|
-
"@genesislcap/foundation-comms": "14.20.0
|
|
85
|
-
"@genesislcap/foundation-ui": "14.20.0
|
|
86
|
-
"@genesislcap/foundation-utils": "14.20.0
|
|
84
|
+
"@genesislcap/foundation-comms": "^14.20.0",
|
|
85
|
+
"@genesislcap/foundation-ui": "^14.20.0",
|
|
86
|
+
"@genesislcap/foundation-utils": "^14.20.0",
|
|
87
87
|
"@microsoft/fast-colors": "^5.1.4",
|
|
88
88
|
"@microsoft/fast-components": "^2.21.3",
|
|
89
89
|
"@microsoft/fast-element": "^1.7.0",
|
|
@@ -105,5 +105,5 @@
|
|
|
105
105
|
"access": "public"
|
|
106
106
|
},
|
|
107
107
|
"customElements": "dist/custom-elements.json",
|
|
108
|
-
"gitHead": "
|
|
108
|
+
"gitHead": "2bbc3006120ed45f50a4542012562f1a5d620e57"
|
|
109
109
|
}
|
|
@@ -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
|
-
```
|