@genesislcap/grid-pro 14.30.2-bny.1 → 14.30.2
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
|
@@ -4521,13 +4521,6 @@
|
|
|
4521
4521
|
},
|
|
4522
4522
|
"default": "false"
|
|
4523
4523
|
},
|
|
4524
|
-
{
|
|
4525
|
-
"kind": "field",
|
|
4526
|
-
"name": "rowDataMapper",
|
|
4527
|
-
"type": {
|
|
4528
|
-
"text": "Function"
|
|
4529
|
-
}
|
|
4530
|
-
},
|
|
4531
4524
|
{
|
|
4532
4525
|
"kind": "field",
|
|
4533
4526
|
"name": "dataSub",
|
|
@@ -4660,10 +4653,6 @@
|
|
|
4660
4653
|
"description": "Restarts the datasource, uses `deinit` and `init` in sequence.",
|
|
4661
4654
|
"privacy": "public"
|
|
4662
4655
|
},
|
|
4663
|
-
{
|
|
4664
|
-
"kind": "method",
|
|
4665
|
-
"name": "refreshRows"
|
|
4666
|
-
},
|
|
4667
4656
|
{
|
|
4668
4657
|
"kind": "method",
|
|
4669
4658
|
"name": "clearRowData",
|
|
@@ -4757,19 +4746,6 @@
|
|
|
4757
4746
|
}
|
|
4758
4747
|
]
|
|
4759
4748
|
},
|
|
4760
|
-
{
|
|
4761
|
-
"kind": "method",
|
|
4762
|
-
"name": "mapTransaction",
|
|
4763
|
-
"privacy": "private",
|
|
4764
|
-
"parameters": [
|
|
4765
|
-
{
|
|
4766
|
-
"name": "transaction",
|
|
4767
|
-
"type": {
|
|
4768
|
-
"text": "RowDataTransaction"
|
|
4769
|
-
}
|
|
4770
|
-
}
|
|
4771
|
-
]
|
|
4772
|
-
},
|
|
4773
4749
|
{
|
|
4774
4750
|
"kind": "method",
|
|
4775
4751
|
"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"}
|
|
@@ -343,7 +343,6 @@ export declare class GridProGenesisDatasource extends GridProGenesisDatasource_b
|
|
|
343
343
|
reverse: boolean;
|
|
344
344
|
rowId: string;
|
|
345
345
|
restartOnReconnection: boolean;
|
|
346
|
-
rowDataMapper: Function;
|
|
347
346
|
private dataSub;
|
|
348
347
|
private updateSub;
|
|
349
348
|
private connectionSub;
|
|
@@ -380,7 +379,6 @@ export declare class GridProGenesisDatasource extends GridProGenesisDatasource_b
|
|
|
380
379
|
* @public
|
|
381
380
|
*/
|
|
382
381
|
restart(): void;
|
|
383
|
-
refreshRows(): void;
|
|
384
382
|
/**
|
|
385
383
|
* Sends a DATA_LOGOFF when the resource is an active stream
|
|
386
384
|
* @remarks Will only happen for DATASERER resources.
|
|
@@ -395,7 +393,6 @@ export declare class GridProGenesisDatasource extends GridProGenesisDatasource_b
|
|
|
395
393
|
private handleStreamResult;
|
|
396
394
|
private applyRequestServerData;
|
|
397
395
|
private applyDataserverData;
|
|
398
|
-
private mapTransaction;
|
|
399
396
|
private handleStreamInserts;
|
|
400
397
|
private handleStreamDeletes;
|
|
401
398
|
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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AAO,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;IAajD,SAAS,CAAC,SAAS,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM;IAK9C,YAAY,CAAC,SAAS,EAAE,MAAM;CAItC"}
|
|
@@ -138,9 +138,6 @@ let GridProGenesisDatasource = class GridProGenesisDatasource extends LifecycleM
|
|
|
138
138
|
this.deinit();
|
|
139
139
|
this.init();
|
|
140
140
|
}
|
|
141
|
-
refreshRows() {
|
|
142
|
-
this.updateRowData(Array.from(this.rows.values()));
|
|
143
|
-
}
|
|
144
141
|
/**
|
|
145
142
|
* Sends a DATA_LOGOFF when the resource is an active stream
|
|
146
143
|
* @remarks Will only happen for DATASERER resources.
|
|
@@ -163,11 +160,7 @@ let GridProGenesisDatasource = class GridProGenesisDatasource extends LifecycleM
|
|
|
163
160
|
if (agColumnDefs) {
|
|
164
161
|
this.agGrid.gridApi.setColumnDefs(agColumnDefs);
|
|
165
162
|
}
|
|
166
|
-
|
|
167
|
-
const data = this.rowDataMapper && typeof this.rowDataMapper === 'function'
|
|
168
|
-
? this.rowDataMapper(rowData)
|
|
169
|
-
: rowData;
|
|
170
|
-
this.agGrid.gridApi.setRowData(data);
|
|
163
|
+
this.agGrid.gridApi.setRowData(rowData);
|
|
171
164
|
this.requiresFullRowDataAndColDefs = false;
|
|
172
165
|
}
|
|
173
166
|
loadResourceData(withFullInit = true) {
|
|
@@ -267,10 +260,7 @@ let GridProGenesisDatasource = class GridProGenesisDatasource extends LifecycleM
|
|
|
267
260
|
this.handleStreamInserts(requestServerResult.REPLY);
|
|
268
261
|
const rowsToDelete = Array.from(this.rows.values()).filter((row) => !requestServerResult.REPLY.includes(row));
|
|
269
262
|
this.handleStreamDeletes(rowsToDelete);
|
|
270
|
-
|
|
271
|
-
? this.mapTransaction(this.agTransaction)
|
|
272
|
-
: this.agTransaction;
|
|
273
|
-
this.agGrid.gridApi.applyTransactionAsync(transaction);
|
|
263
|
+
this.agGrid.gridApi.applyTransaction(this.agTransaction);
|
|
274
264
|
}
|
|
275
265
|
applyDataserverData(dataServerResult) {
|
|
276
266
|
var _a;
|
|
@@ -286,13 +276,7 @@ let GridProGenesisDatasource = class GridProGenesisDatasource extends LifecycleM
|
|
|
286
276
|
this.handleStreamInserts(dataServerResult.inserts);
|
|
287
277
|
this.handleStreamDeletes(dataServerResult.deletes);
|
|
288
278
|
this.handleStreamUpdates(dataServerResult.updates);
|
|
289
|
-
this.agGrid.gridApi.
|
|
290
|
-
}
|
|
291
|
-
mapTransaction(transaction) {
|
|
292
|
-
if (!this.rowDataMapper) {
|
|
293
|
-
return transaction;
|
|
294
|
-
}
|
|
295
|
-
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) });
|
|
279
|
+
this.agGrid.gridApi.applyTransaction(this.agTransaction);
|
|
296
280
|
}
|
|
297
281
|
handleStreamInserts(insertedRows) {
|
|
298
282
|
insertedRows === null || insertedRows === void 0 ? void 0 : insertedRows.forEach((insertData) => {
|
|
@@ -426,9 +410,6 @@ __decorate([
|
|
|
426
410
|
__decorate([
|
|
427
411
|
attr({ mode: 'boolean', attribute: 'restart-on-reconnection' })
|
|
428
412
|
], GridProGenesisDatasource.prototype, "restartOnReconnection", void 0);
|
|
429
|
-
__decorate([
|
|
430
|
-
observable
|
|
431
|
-
], GridProGenesisDatasource.prototype, "rowDataMapper", void 0);
|
|
432
413
|
GridProGenesisDatasource = __decorate([
|
|
433
414
|
customElement({
|
|
434
415
|
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
|
/**
|
|
1269
1266
|
* Sends a DATA_LOGOFF when the resource is an active stream
|
|
1270
1267
|
* @remarks Will only happen for DATASERER resources.
|
|
@@ -1279,7 +1276,6 @@ export declare class GridProGenesisDatasource extends GridProGenesisDatasource_b
|
|
|
1279
1276
|
private handleStreamResult;
|
|
1280
1277
|
private applyRequestServerData;
|
|
1281
1278
|
private applyDataserverData;
|
|
1282
|
-
private mapTransaction;
|
|
1283
1279
|
private handleStreamInserts;
|
|
1284
1280
|
private handleStreamDeletes;
|
|
1285
1281
|
private handleStreamUpdates;
|
|
@@ -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.30.2
|
|
4
|
+
"version": "14.30.2",
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"license": "SEE LICENSE IN license.txt",
|
|
7
7
|
"main": "dist/esm/index.js",
|
|
@@ -21,8 +21,8 @@
|
|
|
21
21
|
"serve": "genx serve"
|
|
22
22
|
},
|
|
23
23
|
"devDependencies": {
|
|
24
|
-
"@genesislcap/foundation-testing": "14.30.2
|
|
25
|
-
"@genesislcap/genx": "14.30.2
|
|
24
|
+
"@genesislcap/foundation-testing": "^14.30.2",
|
|
25
|
+
"@genesislcap/genx": "^14.30.2",
|
|
26
26
|
"@playwright/test": "^1.18.1",
|
|
27
27
|
"bulma": "^0.9.3",
|
|
28
28
|
"c8": "^7.11.0",
|
|
@@ -38,9 +38,9 @@
|
|
|
38
38
|
"watchlist": "^0.3.1"
|
|
39
39
|
},
|
|
40
40
|
"dependencies": {
|
|
41
|
-
"@genesislcap/foundation-comms": "14.30.2
|
|
42
|
-
"@genesislcap/foundation-ui": "14.30.2
|
|
43
|
-
"@genesislcap/foundation-utils": "14.30.2
|
|
41
|
+
"@genesislcap/foundation-comms": "^14.30.2",
|
|
42
|
+
"@genesislcap/foundation-ui": "^14.30.2",
|
|
43
|
+
"@genesislcap/foundation-utils": "^14.30.2",
|
|
44
44
|
"@microsoft/fast-colors": "^5.1.4",
|
|
45
45
|
"@microsoft/fast-components": "^2.21.3",
|
|
46
46
|
"@microsoft/fast-element": "^1.7.0",
|
|
@@ -66,5 +66,5 @@
|
|
|
66
66
|
"access": "public"
|
|
67
67
|
},
|
|
68
68
|
"customElements": "dist/custom-elements.json",
|
|
69
|
-
"gitHead": "
|
|
69
|
+
"gitHead": "4ea8f548f55cde9b895b115a43f39f45c62d60af"
|
|
70
70
|
}
|
|
@@ -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
|
-
```
|