@genesislcap/grid-pro 14.199.1 → 14.199.2-alpha-6f7195d.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/README.md +117 -111
- package/dist/custom-elements.json +2741 -839
- package/dist/dts/datasource/base.datasource.d.ts +22 -6
- package/dist/dts/datasource/base.datasource.d.ts.map +1 -1
- package/dist/dts/datasource/base.types.d.ts +22 -0
- package/dist/dts/datasource/base.types.d.ts.map +1 -0
- package/dist/dts/datasource/server-side.datasource.d.ts +27 -83
- package/dist/dts/datasource/server-side.datasource.d.ts.map +1 -1
- package/dist/dts/datasource/server-side.grid-definitions.d.ts.map +1 -1
- package/dist/dts/datasource/server-side.resource-base.d.ts +55 -0
- package/dist/dts/datasource/server-side.resource-base.d.ts.map +1 -0
- package/dist/dts/datasource/server-side.resource-dataserver.d.ts +20 -0
- package/dist/dts/datasource/server-side.resource-dataserver.d.ts.map +1 -0
- package/dist/dts/datasource/server-side.resource-reqrep.d.ts +17 -0
- package/dist/dts/datasource/server-side.resource-reqrep.d.ts.map +1 -0
- package/dist/dts/grid-pro-genesis-datasource/grid-pro-genesis-datasource.d.ts +13 -13
- package/dist/dts/grid-pro-genesis-datasource/grid-pro-genesis-datasource.d.ts.map +1 -1
- package/dist/dts/grid-pro.d.ts +16 -2
- package/dist/dts/grid-pro.d.ts.map +1 -1
- package/dist/esm/datasource/base.datasource.js +80 -10
- package/dist/esm/datasource/base.types.js +1 -0
- package/dist/esm/datasource/client-side.grid-definitions.js +1 -1
- package/dist/esm/datasource/server-side.datasource.js +220 -396
- package/dist/esm/datasource/server-side.grid-definitions.js +42 -7
- package/dist/esm/datasource/server-side.resource-base.js +285 -0
- package/dist/esm/datasource/server-side.resource-dataserver.js +132 -0
- package/dist/esm/datasource/server-side.resource-reqrep.js +131 -0
- package/dist/esm/grid-pro-genesis-datasource/grid-pro-genesis-datasource.js +49 -57
- package/dist/esm/grid-pro.js +7 -4
- package/dist/grid-pro.api.json +21 -142
- package/dist/grid-pro.d.ts +77 -112
- package/docs/api/grid-pro.gridpro.addeventlistener.md +2 -2
- package/docs/api/grid-pro.gridpro.md +1 -1
- package/docs/api/grid-pro.gridprogenesisdatasource.deinit.md +5 -0
- package/docs/api/{grid-pro.gridprogenesisdatasource.auth.md → grid-pro.gridprogenesisdatasource.destroy.md} +9 -3
- package/docs/api/grid-pro.gridprogenesisdatasource.handleerrors.md +2 -2
- package/docs/api/grid-pro.gridprogenesisdatasource.md +2 -6
- package/docs/api/grid-pro.gridprogenesisdatasource.reset.md +1 -1
- package/docs/api-report.md +19 -68
- package/package.json +13 -13
- package/docs/api/grid-pro.gridprogenesisdatasource.datasource.md +0 -11
- package/docs/api/grid-pro.gridprogenesisdatasource.disablepolling.md +0 -11
- package/docs/api/grid-pro.gridprogenesisdatasource.pollinginterval.md +0 -11
- package/docs/api/grid-pro.gridprogenesisdatasource.request.md +0 -11
|
@@ -1,15 +1,14 @@
|
|
|
1
1
|
import { __awaiter, __decorate } from "tslib";
|
|
2
|
-
import {
|
|
2
|
+
import { Events, } from '@ag-grid-community/core';
|
|
3
|
+
import { MessageType, dataServerResultFilter, normaliseCriteria, } from '@genesislcap/foundation-comms';
|
|
3
4
|
import { LifecycleMixin } from '@genesislcap/foundation-utils';
|
|
4
|
-
import { DOM, attr, customElement
|
|
5
|
+
import { DOM, attr, customElement } from '@microsoft/fast-element';
|
|
5
6
|
import { BehaviorSubject, EMPTY } from 'rxjs';
|
|
6
7
|
import { catchError, debounceTime, skip, tap } from 'rxjs/operators';
|
|
7
|
-
import { GridProBaseDatasource } from '../datasource/base.datasource';
|
|
8
|
+
import { criteriaDelimiter, GridProBaseDatasource } from '../datasource/base.datasource';
|
|
8
9
|
import { getClientSideFilterParamsByFieldType } from '../datasource/client-side.grid-definitions';
|
|
9
10
|
import { logger } from '../utils/logger';
|
|
10
11
|
import { gridProGenesisDatasourceEventNames } from './grid-pro-genesis-datasource.config';
|
|
11
|
-
const criteriaDelimiter = ';';
|
|
12
|
-
const criteriaJoin = ' && ';
|
|
13
12
|
const withoutFullInit = null;
|
|
14
13
|
const withoutColumnDefs = null;
|
|
15
14
|
/**
|
|
@@ -22,13 +21,9 @@ let GridProGenesisDatasource = class GridProGenesisDatasource extends LifecycleM
|
|
|
22
21
|
super(...arguments);
|
|
23
22
|
this.applyFuncName = 'applyTransaction';
|
|
24
23
|
this.applyAsyncFuncName = 'applyTransactionAsync';
|
|
25
|
-
this.pollingInterval = DatasourceDefaults.REQ_REP_POLLING_INTERVAL_MS;
|
|
26
|
-
this.disablePolling = false;
|
|
27
24
|
this.restartOnReconnection = false;
|
|
28
25
|
this.keepColDefsOnClearRowData = false;
|
|
29
26
|
this.requiresFullRowDataAndColDefs = true;
|
|
30
|
-
this.criteriaFromFilters = new Map();
|
|
31
|
-
this.update = new BehaviorSubject(new Map());
|
|
32
27
|
}
|
|
33
28
|
// DatasourceOptions
|
|
34
29
|
criteriaChanged(oldCriteria, newCriteria) {
|
|
@@ -75,7 +70,7 @@ let GridProGenesisDatasource = class GridProGenesisDatasource extends LifecycleM
|
|
|
75
70
|
DOM.queueUpdate(() => {
|
|
76
71
|
if (!shouldRunDisconnect)
|
|
77
72
|
return;
|
|
78
|
-
this.
|
|
73
|
+
this.destroy();
|
|
79
74
|
});
|
|
80
75
|
}
|
|
81
76
|
deepClone() {
|
|
@@ -122,11 +117,11 @@ let GridProGenesisDatasource = class GridProGenesisDatasource extends LifecycleM
|
|
|
122
117
|
*/
|
|
123
118
|
init(columnDefinitions, columnStates) {
|
|
124
119
|
return __awaiter(this, void 0, void 0, function* () {
|
|
125
|
-
if (this.agGrid
|
|
120
|
+
if (this.agGrid) {
|
|
126
121
|
const gridOptions = Object.assign(Object.assign(Object.assign({ getRowId: (params) => params.data[this.rowId] }, (columnDefinitions && { columnDefs: columnDefinitions })), this.agGrid['agGridOptions']), this.deferredGridOptions);
|
|
127
122
|
this.agGrid.gridOptions = Object.assign({}, gridOptions);
|
|
128
123
|
this.agGrid['initGrid']();
|
|
129
|
-
this.agGrid.addEventListener(
|
|
124
|
+
this.agGrid.addEventListener(Events.EVENT_GRID_READY, () => __awaiter(this, void 0, void 0, function* () {
|
|
130
125
|
if (columnStates) {
|
|
131
126
|
this.agGrid.columnApi.applyColumnState({ state: columnStates });
|
|
132
127
|
}
|
|
@@ -143,8 +138,16 @@ let GridProGenesisDatasource = class GridProGenesisDatasource extends LifecycleM
|
|
|
143
138
|
this.handleErrors('Application not connected or invalid resource name, datasource will not work. Falling back to local columnDefs/rowData.');
|
|
144
139
|
});
|
|
145
140
|
}
|
|
141
|
+
/**
|
|
142
|
+
* Destroys the datasource, resetting it to its initial state.
|
|
143
|
+
* @public
|
|
144
|
+
*/
|
|
145
|
+
destroy() {
|
|
146
|
+
this.reset();
|
|
147
|
+
}
|
|
146
148
|
/**
|
|
147
149
|
* Deinitialises the datasource, resetting it to its initial state.
|
|
150
|
+
* @deprecated Use `destroy` instead
|
|
148
151
|
* @public
|
|
149
152
|
*/
|
|
150
153
|
deinit() {
|
|
@@ -153,7 +156,7 @@ let GridProGenesisDatasource = class GridProGenesisDatasource extends LifecycleM
|
|
|
153
156
|
/**
|
|
154
157
|
* Resets the datasource to its initial state.
|
|
155
158
|
* @public
|
|
156
|
-
* @deprecated Use `
|
|
159
|
+
* @deprecated Use `destroy` instead
|
|
157
160
|
*/
|
|
158
161
|
reset() {
|
|
159
162
|
var _a;
|
|
@@ -171,7 +174,6 @@ let GridProGenesisDatasource = class GridProGenesisDatasource extends LifecycleM
|
|
|
171
174
|
this.connectionSub = undefined;
|
|
172
175
|
}
|
|
173
176
|
this.clearRowData();
|
|
174
|
-
this.isRequestServer = false;
|
|
175
177
|
this.requiresFullRowDataAndColDefs = true;
|
|
176
178
|
this.dataSubWasLoggedOff = false;
|
|
177
179
|
this.criteriaFromFilters = new Map();
|
|
@@ -179,7 +181,7 @@ let GridProGenesisDatasource = class GridProGenesisDatasource extends LifecycleM
|
|
|
179
181
|
this.update = new BehaviorSubject(new Map());
|
|
180
182
|
this.agGrid.removeAttribute('ds-disconnected');
|
|
181
183
|
// TODO: There may need to be a full destroy path. Datasources need some love!
|
|
182
|
-
this.datasource.
|
|
184
|
+
this.datasource.destroy();
|
|
183
185
|
}
|
|
184
186
|
/**
|
|
185
187
|
* Restarts the datasource, uses `deinit` and `init` in sequence.
|
|
@@ -192,7 +194,7 @@ let GridProGenesisDatasource = class GridProGenesisDatasource extends LifecycleM
|
|
|
192
194
|
columnDefinitions = this.agGrid.gridApi.getColumnDefs();
|
|
193
195
|
columnStates = this.agGrid.columnApi.getColumnState();
|
|
194
196
|
}
|
|
195
|
-
this.
|
|
197
|
+
this.destroy();
|
|
196
198
|
this.init(columnDefinitions, columnStates);
|
|
197
199
|
}
|
|
198
200
|
/**
|
|
@@ -299,12 +301,12 @@ let GridProGenesisDatasource = class GridProGenesisDatasource extends LifecycleM
|
|
|
299
301
|
this.dataSub = this.datasource.stream
|
|
300
302
|
.pipe(catchError((err) => {
|
|
301
303
|
var _a;
|
|
302
|
-
this.handleErrors((_a = err === null || err === void 0 ? void 0 : err.receivedMessage) === null || _a === void 0 ? void 0 : _a.ERROR
|
|
304
|
+
this.handleErrors((_a = err === null || err === void 0 ? void 0 : err.receivedMessage) === null || _a === void 0 ? void 0 : _a.ERROR);
|
|
303
305
|
return EMPTY;
|
|
304
306
|
}))
|
|
305
307
|
.subscribe((result) => {
|
|
306
308
|
if (result === null || result === void 0 ? void 0 : result.ERROR) {
|
|
307
|
-
this.handleErrors(result.ERROR
|
|
309
|
+
this.handleErrors(result.ERROR);
|
|
308
310
|
}
|
|
309
311
|
const messageType = result.MESSAGE_TYPE;
|
|
310
312
|
if (messageType && messageType === MessageType.LOGOFF_ACK) {
|
|
@@ -343,31 +345,30 @@ let GridProGenesisDatasource = class GridProGenesisDatasource extends LifecycleM
|
|
|
343
345
|
}
|
|
344
346
|
return result.inserts;
|
|
345
347
|
}
|
|
346
|
-
handleErrors(
|
|
348
|
+
handleErrors(errors) {
|
|
349
|
+
let message;
|
|
350
|
+
if (Array.isArray(errors)) {
|
|
351
|
+
const stringArray = errors.map((item) => {
|
|
352
|
+
if (typeof item === 'string') {
|
|
353
|
+
return item;
|
|
354
|
+
}
|
|
355
|
+
else if (typeof item === 'object' && item !== null && 'TEXT' in item) {
|
|
356
|
+
return item.TEXT;
|
|
357
|
+
}
|
|
358
|
+
else {
|
|
359
|
+
throw new Error('Array contains invalid elements');
|
|
360
|
+
}
|
|
361
|
+
});
|
|
362
|
+
message = stringArray.join(', ');
|
|
363
|
+
}
|
|
347
364
|
if (this.agGrid) {
|
|
348
365
|
this.agGrid.setAttribute('ds-disconnected', 'ds-disconnected');
|
|
349
366
|
}
|
|
350
367
|
if (message) {
|
|
351
|
-
logger.
|
|
368
|
+
logger.error(message);
|
|
352
369
|
this.$emit(gridProGenesisDatasourceEventNames.error, { message });
|
|
353
370
|
}
|
|
354
371
|
}
|
|
355
|
-
datasourceOptions() {
|
|
356
|
-
return {
|
|
357
|
-
criteria: this.buildCriteria(),
|
|
358
|
-
fields: this.fields,
|
|
359
|
-
isSnapshot: this.isSnapshot,
|
|
360
|
-
maxRows: this.maxRows,
|
|
361
|
-
maxView: this.maxView,
|
|
362
|
-
movingView: this.movingView,
|
|
363
|
-
orderBy: this.orderBy,
|
|
364
|
-
pollingInterval: this.pollingInterval,
|
|
365
|
-
disablePolling: this.disablePolling,
|
|
366
|
-
request: this.request,
|
|
367
|
-
resourceName: this.resourceName,
|
|
368
|
-
reverse: this.reverse,
|
|
369
|
-
};
|
|
370
|
-
}
|
|
371
372
|
handleStreamResult(result) {
|
|
372
373
|
if (!result)
|
|
373
374
|
return;
|
|
@@ -388,9 +389,21 @@ let GridProGenesisDatasource = class GridProGenesisDatasource extends LifecycleM
|
|
|
388
389
|
return;
|
|
389
390
|
}
|
|
390
391
|
if (this.requiresFullRowDataAndColDefs) {
|
|
392
|
+
let noRowIdError = false;
|
|
391
393
|
requestServerData === null || requestServerData === void 0 ? void 0 : requestServerData.forEach((insertData) => {
|
|
394
|
+
const insertDataRowId = insertData[this.rowId];
|
|
392
395
|
this.rowData.set(insertData[this.rowId], insertData);
|
|
396
|
+
this.rowData.set(insertDataRowId, insertData);
|
|
397
|
+
if (!insertDataRowId && !noRowIdError) {
|
|
398
|
+
const noRowIdMessage = `The specified rowId (${this.rowId}) is not present in the data. Since this is not a snapshot (isSnapshot=false) the data will not be loaded. Please provide a valid 'row-id' attribute.`;
|
|
399
|
+
logger.error(noRowIdMessage);
|
|
400
|
+
noRowIdError = true;
|
|
401
|
+
}
|
|
393
402
|
});
|
|
403
|
+
if (noRowIdError) {
|
|
404
|
+
this.destroy();
|
|
405
|
+
return;
|
|
406
|
+
}
|
|
394
407
|
const rowData = this.rowData.size > 0 ? Array.from(this.rowData.values()) : requestServerData;
|
|
395
408
|
this.handleSizeChanged(previousSize, this.rowData.size);
|
|
396
409
|
this.setRowData(rowData);
|
|
@@ -440,12 +453,6 @@ let GridProGenesisDatasource = class GridProGenesisDatasource extends LifecycleM
|
|
|
440
453
|
return colDefsMergedWithTemplateDefs;
|
|
441
454
|
});
|
|
442
455
|
}
|
|
443
|
-
buildCriteria() {
|
|
444
|
-
var _a;
|
|
445
|
-
const initialCriteria = ((_a = this.criteria) === null || _a === void 0 ? void 0 : _a.split(criteriaDelimiter)) || [];
|
|
446
|
-
const criteria = initialCriteria.concat(Array.from(this.criteriaFromFilters.values()));
|
|
447
|
-
return normaliseCriteria(criteria.join(criteriaJoin), criteriaDelimiter);
|
|
448
|
-
}
|
|
449
456
|
setFilter(fieldName, newFilter) {
|
|
450
457
|
this.criteriaFromFilters.set(fieldName, newFilter);
|
|
451
458
|
this.update.next(this.criteriaFromFilters);
|
|
@@ -469,21 +476,6 @@ let GridProGenesisDatasource = class GridProGenesisDatasource extends LifecycleM
|
|
|
469
476
|
});
|
|
470
477
|
}
|
|
471
478
|
};
|
|
472
|
-
__decorate([
|
|
473
|
-
Auth
|
|
474
|
-
], GridProGenesisDatasource.prototype, "auth", void 0);
|
|
475
|
-
__decorate([
|
|
476
|
-
Datasource
|
|
477
|
-
], GridProGenesisDatasource.prototype, "datasource", void 0);
|
|
478
|
-
__decorate([
|
|
479
|
-
attr({ attribute: 'polling-interval' })
|
|
480
|
-
], GridProGenesisDatasource.prototype, "pollingInterval", void 0);
|
|
481
|
-
__decorate([
|
|
482
|
-
attr({ mode: 'boolean', attribute: 'disable-polling' })
|
|
483
|
-
], GridProGenesisDatasource.prototype, "disablePolling", void 0);
|
|
484
|
-
__decorate([
|
|
485
|
-
observable
|
|
486
|
-
], GridProGenesisDatasource.prototype, "request", void 0);
|
|
487
479
|
__decorate([
|
|
488
480
|
attr({ mode: 'boolean', attribute: 'restart-on-reconnection' })
|
|
489
481
|
], GridProGenesisDatasource.prototype, "restartOnReconnection", void 0);
|
package/dist/esm/grid-pro.js
CHANGED
|
@@ -138,7 +138,10 @@ export class GridPro extends LifecycleMixin(FoundationElement) {
|
|
|
138
138
|
action: this.handleError.bind(this, gridProErrorNames.datasource),
|
|
139
139
|
});
|
|
140
140
|
}
|
|
141
|
-
addEventListener(
|
|
141
|
+
addEventListener(eventType, listener, options) {
|
|
142
|
+
const type = eventType.startsWith('on')
|
|
143
|
+
? eventType
|
|
144
|
+
: `on${eventType.charAt(0).toUpperCase() + eventType.slice(1)}`;
|
|
142
145
|
super.addEventListener(type, listener, options);
|
|
143
146
|
if (ComponentUtil.PUBLIC_EVENTS.includes(type)) {
|
|
144
147
|
if (this.gridApi) {
|
|
@@ -149,9 +152,9 @@ export class GridPro extends LifecycleMixin(FoundationElement) {
|
|
|
149
152
|
}
|
|
150
153
|
}
|
|
151
154
|
}
|
|
152
|
-
addGridEventListener(
|
|
153
|
-
this.gridApi.addEventListener(
|
|
154
|
-
this.$emit(
|
|
155
|
+
addGridEventListener(eventType) {
|
|
156
|
+
this.gridApi.addEventListener(eventType, (e) => {
|
|
157
|
+
this.$emit(eventType, e);
|
|
155
158
|
});
|
|
156
159
|
}
|
|
157
160
|
handleError(type, event) {
|
package/dist/grid-pro.api.json
CHANGED
|
@@ -7627,11 +7627,11 @@
|
|
|
7627
7627
|
"excerptTokens": [
|
|
7628
7628
|
{
|
|
7629
7629
|
"kind": "Content",
|
|
7630
|
-
"text": "addEventListener(
|
|
7630
|
+
"text": "addEventListener(eventType: "
|
|
7631
7631
|
},
|
|
7632
7632
|
{
|
|
7633
7633
|
"kind": "Content",
|
|
7634
|
-
"text": "
|
|
7634
|
+
"text": "string"
|
|
7635
7635
|
},
|
|
7636
7636
|
{
|
|
7637
7637
|
"kind": "Content",
|
|
@@ -7677,7 +7677,7 @@
|
|
|
7677
7677
|
"overloadIndex": 1,
|
|
7678
7678
|
"parameters": [
|
|
7679
7679
|
{
|
|
7680
|
-
"parameterName": "
|
|
7680
|
+
"parameterName": "eventType",
|
|
7681
7681
|
"parameterTypeTokenRange": {
|
|
7682
7682
|
"startIndex": 1,
|
|
7683
7683
|
"endIndex": 2
|
|
@@ -11036,37 +11036,6 @@
|
|
|
11036
11036
|
"isAbstract": false,
|
|
11037
11037
|
"name": "applyTransactionAsync"
|
|
11038
11038
|
},
|
|
11039
|
-
{
|
|
11040
|
-
"kind": "Property",
|
|
11041
|
-
"canonicalReference": "@genesislcap/grid-pro!GridProGenesisDatasource#auth:member",
|
|
11042
|
-
"docComment": "",
|
|
11043
|
-
"excerptTokens": [
|
|
11044
|
-
{
|
|
11045
|
-
"kind": "Content",
|
|
11046
|
-
"text": "auth: "
|
|
11047
|
-
},
|
|
11048
|
-
{
|
|
11049
|
-
"kind": "Reference",
|
|
11050
|
-
"text": "Auth",
|
|
11051
|
-
"canonicalReference": "@genesislcap/foundation-comms!Auth:interface"
|
|
11052
|
-
},
|
|
11053
|
-
{
|
|
11054
|
-
"kind": "Content",
|
|
11055
|
-
"text": ";"
|
|
11056
|
-
}
|
|
11057
|
-
],
|
|
11058
|
-
"isReadonly": false,
|
|
11059
|
-
"isOptional": false,
|
|
11060
|
-
"releaseTag": "Public",
|
|
11061
|
-
"name": "auth",
|
|
11062
|
-
"propertyTypeTokenRange": {
|
|
11063
|
-
"startIndex": 1,
|
|
11064
|
-
"endIndex": 2
|
|
11065
|
-
},
|
|
11066
|
-
"isStatic": false,
|
|
11067
|
-
"isProtected": false,
|
|
11068
|
-
"isAbstract": false
|
|
11069
|
-
},
|
|
11070
11039
|
{
|
|
11071
11040
|
"kind": "Method",
|
|
11072
11041
|
"canonicalReference": "@genesislcap/grid-pro!GridProGenesisDatasource#connectedCallback:member(1)",
|
|
@@ -11162,37 +11131,6 @@
|
|
|
11162
11131
|
"isAbstract": false,
|
|
11163
11132
|
"name": "criteriaChanged"
|
|
11164
11133
|
},
|
|
11165
|
-
{
|
|
11166
|
-
"kind": "Property",
|
|
11167
|
-
"canonicalReference": "@genesislcap/grid-pro!GridProGenesisDatasource#datasource:member",
|
|
11168
|
-
"docComment": "",
|
|
11169
|
-
"excerptTokens": [
|
|
11170
|
-
{
|
|
11171
|
-
"kind": "Content",
|
|
11172
|
-
"text": "datasource: "
|
|
11173
|
-
},
|
|
11174
|
-
{
|
|
11175
|
-
"kind": "Reference",
|
|
11176
|
-
"text": "Datasource",
|
|
11177
|
-
"canonicalReference": "@genesislcap/foundation-comms!Datasource:interface"
|
|
11178
|
-
},
|
|
11179
|
-
{
|
|
11180
|
-
"kind": "Content",
|
|
11181
|
-
"text": ";"
|
|
11182
|
-
}
|
|
11183
|
-
],
|
|
11184
|
-
"isReadonly": false,
|
|
11185
|
-
"isOptional": false,
|
|
11186
|
-
"releaseTag": "Public",
|
|
11187
|
-
"name": "datasource",
|
|
11188
|
-
"propertyTypeTokenRange": {
|
|
11189
|
-
"startIndex": 1,
|
|
11190
|
-
"endIndex": 2
|
|
11191
|
-
},
|
|
11192
|
-
"isStatic": false,
|
|
11193
|
-
"isProtected": false,
|
|
11194
|
-
"isAbstract": false
|
|
11195
|
-
},
|
|
11196
11134
|
{
|
|
11197
11135
|
"kind": "Method",
|
|
11198
11136
|
"canonicalReference": "@genesislcap/grid-pro!GridProGenesisDatasource#deepClone:member(1)",
|
|
@@ -11228,7 +11166,7 @@
|
|
|
11228
11166
|
{
|
|
11229
11167
|
"kind": "Method",
|
|
11230
11168
|
"canonicalReference": "@genesislcap/grid-pro!GridProGenesisDatasource#deinit:member(1)",
|
|
11231
|
-
"docComment": "/**\n * Deinitialises the datasource, resetting it to its initial state.\n *\n * @public\n */\n",
|
|
11169
|
+
"docComment": "/**\n * Deinitialises the datasource, resetting it to its initial state.\n *\n * @deprecated\n *\n * Use `destroy` instead\n *\n * @public\n */\n",
|
|
11232
11170
|
"excerptTokens": [
|
|
11233
11171
|
{
|
|
11234
11172
|
"kind": "Content",
|
|
@@ -11257,34 +11195,35 @@
|
|
|
11257
11195
|
"name": "deinit"
|
|
11258
11196
|
},
|
|
11259
11197
|
{
|
|
11260
|
-
"kind": "
|
|
11261
|
-
"canonicalReference": "@genesislcap/grid-pro!GridProGenesisDatasource#
|
|
11262
|
-
"docComment": "",
|
|
11198
|
+
"kind": "Method",
|
|
11199
|
+
"canonicalReference": "@genesislcap/grid-pro!GridProGenesisDatasource#destroy:member(1)",
|
|
11200
|
+
"docComment": "/**\n * Destroys the datasource, resetting it to its initial state.\n *\n * @public\n */\n",
|
|
11263
11201
|
"excerptTokens": [
|
|
11264
11202
|
{
|
|
11265
11203
|
"kind": "Content",
|
|
11266
|
-
"text": "
|
|
11204
|
+
"text": "destroy(): "
|
|
11267
11205
|
},
|
|
11268
11206
|
{
|
|
11269
11207
|
"kind": "Content",
|
|
11270
|
-
"text": "
|
|
11208
|
+
"text": "void"
|
|
11271
11209
|
},
|
|
11272
11210
|
{
|
|
11273
11211
|
"kind": "Content",
|
|
11274
11212
|
"text": ";"
|
|
11275
11213
|
}
|
|
11276
11214
|
],
|
|
11277
|
-
"
|
|
11278
|
-
"
|
|
11279
|
-
"releaseTag": "Public",
|
|
11280
|
-
"name": "disablePolling",
|
|
11281
|
-
"propertyTypeTokenRange": {
|
|
11215
|
+
"isStatic": false,
|
|
11216
|
+
"returnTypeTokenRange": {
|
|
11282
11217
|
"startIndex": 1,
|
|
11283
11218
|
"endIndex": 2
|
|
11284
11219
|
},
|
|
11285
|
-
"
|
|
11220
|
+
"releaseTag": "Public",
|
|
11286
11221
|
"isProtected": false,
|
|
11287
|
-
"
|
|
11222
|
+
"overloadIndex": 1,
|
|
11223
|
+
"parameters": [],
|
|
11224
|
+
"isOptional": false,
|
|
11225
|
+
"isAbstract": false,
|
|
11226
|
+
"name": "destroy"
|
|
11288
11227
|
},
|
|
11289
11228
|
{
|
|
11290
11229
|
"kind": "Method",
|
|
@@ -11324,11 +11263,11 @@
|
|
|
11324
11263
|
"excerptTokens": [
|
|
11325
11264
|
{
|
|
11326
11265
|
"kind": "Content",
|
|
11327
|
-
"text": "handleErrors(
|
|
11266
|
+
"text": "handleErrors(errors: "
|
|
11328
11267
|
},
|
|
11329
11268
|
{
|
|
11330
11269
|
"kind": "Content",
|
|
11331
|
-
"text": "string"
|
|
11270
|
+
"text": "string | any[]"
|
|
11332
11271
|
},
|
|
11333
11272
|
{
|
|
11334
11273
|
"kind": "Content",
|
|
@@ -11353,7 +11292,7 @@
|
|
|
11353
11292
|
"overloadIndex": 1,
|
|
11354
11293
|
"parameters": [
|
|
11355
11294
|
{
|
|
11356
|
-
"parameterName": "
|
|
11295
|
+
"parameterName": "errors",
|
|
11357
11296
|
"parameterTypeTokenRange": {
|
|
11358
11297
|
"startIndex": 1,
|
|
11359
11298
|
"endIndex": 2
|
|
@@ -11474,36 +11413,6 @@
|
|
|
11474
11413
|
"isProtected": false,
|
|
11475
11414
|
"isAbstract": false
|
|
11476
11415
|
},
|
|
11477
|
-
{
|
|
11478
|
-
"kind": "Property",
|
|
11479
|
-
"canonicalReference": "@genesislcap/grid-pro!GridProGenesisDatasource#pollingInterval:member",
|
|
11480
|
-
"docComment": "",
|
|
11481
|
-
"excerptTokens": [
|
|
11482
|
-
{
|
|
11483
|
-
"kind": "Content",
|
|
11484
|
-
"text": "pollingInterval: "
|
|
11485
|
-
},
|
|
11486
|
-
{
|
|
11487
|
-
"kind": "Content",
|
|
11488
|
-
"text": "number"
|
|
11489
|
-
},
|
|
11490
|
-
{
|
|
11491
|
-
"kind": "Content",
|
|
11492
|
-
"text": ";"
|
|
11493
|
-
}
|
|
11494
|
-
],
|
|
11495
|
-
"isReadonly": false,
|
|
11496
|
-
"isOptional": false,
|
|
11497
|
-
"releaseTag": "Public",
|
|
11498
|
-
"name": "pollingInterval",
|
|
11499
|
-
"propertyTypeTokenRange": {
|
|
11500
|
-
"startIndex": 1,
|
|
11501
|
-
"endIndex": 2
|
|
11502
|
-
},
|
|
11503
|
-
"isStatic": false,
|
|
11504
|
-
"isProtected": false,
|
|
11505
|
-
"isAbstract": false
|
|
11506
|
-
},
|
|
11507
11416
|
{
|
|
11508
11417
|
"kind": "Method",
|
|
11509
11418
|
"canonicalReference": "@genesislcap/grid-pro!GridProGenesisDatasource#refreshRows:member(1)",
|
|
@@ -11583,36 +11492,6 @@
|
|
|
11583
11492
|
"isAbstract": false,
|
|
11584
11493
|
"name": "removeFilter"
|
|
11585
11494
|
},
|
|
11586
|
-
{
|
|
11587
|
-
"kind": "Property",
|
|
11588
|
-
"canonicalReference": "@genesislcap/grid-pro!GridProGenesisDatasource#request:member",
|
|
11589
|
-
"docComment": "",
|
|
11590
|
-
"excerptTokens": [
|
|
11591
|
-
{
|
|
11592
|
-
"kind": "Content",
|
|
11593
|
-
"text": "request: "
|
|
11594
|
-
},
|
|
11595
|
-
{
|
|
11596
|
-
"kind": "Content",
|
|
11597
|
-
"text": "any"
|
|
11598
|
-
},
|
|
11599
|
-
{
|
|
11600
|
-
"kind": "Content",
|
|
11601
|
-
"text": ";"
|
|
11602
|
-
}
|
|
11603
|
-
],
|
|
11604
|
-
"isReadonly": false,
|
|
11605
|
-
"isOptional": false,
|
|
11606
|
-
"releaseTag": "Public",
|
|
11607
|
-
"name": "request",
|
|
11608
|
-
"propertyTypeTokenRange": {
|
|
11609
|
-
"startIndex": 1,
|
|
11610
|
-
"endIndex": 2
|
|
11611
|
-
},
|
|
11612
|
-
"isStatic": false,
|
|
11613
|
-
"isProtected": false,
|
|
11614
|
-
"isAbstract": false
|
|
11615
|
-
},
|
|
11616
11495
|
{
|
|
11617
11496
|
"kind": "Method",
|
|
11618
11497
|
"canonicalReference": "@genesislcap/grid-pro!GridProGenesisDatasource#requestChanged:member(1)",
|
|
@@ -11680,7 +11559,7 @@
|
|
|
11680
11559
|
{
|
|
11681
11560
|
"kind": "Method",
|
|
11682
11561
|
"canonicalReference": "@genesislcap/grid-pro!GridProGenesisDatasource#reset:member(1)",
|
|
11683
|
-
"docComment": "/**\n * Resets the datasource to its initial state.\n *\n * @deprecated\n *\n * Use `
|
|
11562
|
+
"docComment": "/**\n * Resets the datasource to its initial state.\n *\n * @deprecated\n *\n * Use `destroy` instead\n *\n * @public\n */\n",
|
|
11684
11563
|
"excerptTokens": [
|
|
11685
11564
|
{
|
|
11686
11565
|
"kind": "Content",
|