@genesislcap/grid-pro 14.199.3-alpha-40ecfcd.0 → 14.200.0-FUI-2127.3
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 +111 -117
- package/dist/custom-elements.json +841 -2743
- package/dist/dts/datasource/base.datasource.d.ts +6 -22
- package/dist/dts/datasource/base.datasource.d.ts.map +1 -1
- package/dist/dts/datasource/server-side.datasource.d.ts +83 -27
- 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/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 +2 -16
- package/dist/dts/grid-pro.d.ts.map +1 -1
- package/dist/esm/datasource/base.datasource.js +9 -79
- package/dist/esm/datasource/client-side.grid-definitions.js +1 -1
- package/dist/esm/datasource/server-side.datasource.js +396 -220
- package/dist/esm/datasource/server-side.grid-definitions.js +7 -42
- package/dist/esm/grid-pro-genesis-datasource/grid-pro-genesis-datasource.js +61 -55
- package/dist/esm/grid-pro.js +4 -7
- package/dist/grid-pro.api.json +142 -21
- package/dist/grid-pro.d.ts +112 -77
- 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.destroy.md → grid-pro.gridprogenesisdatasource.auth.md} +3 -9
- package/docs/api/grid-pro.gridprogenesisdatasource.datasource.md +11 -0
- package/docs/api/grid-pro.gridprogenesisdatasource.deinit.md +0 -5
- package/docs/api/grid-pro.gridprogenesisdatasource.disablepolling.md +11 -0
- package/docs/api/grid-pro.gridprogenesisdatasource.handleerrors.md +2 -2
- package/docs/api/grid-pro.gridprogenesisdatasource.md +6 -2
- package/docs/api/grid-pro.gridprogenesisdatasource.pollinginterval.md +11 -0
- package/docs/api/grid-pro.gridprogenesisdatasource.request.md +11 -0
- package/docs/api/grid-pro.gridprogenesisdatasource.reset.md +1 -1
- package/docs/api-report.md +68 -19
- package/package.json +13 -13
- package/dist/dts/datasource/base.types.d.ts +0 -22
- package/dist/dts/datasource/base.types.d.ts.map +0 -1
- package/dist/dts/datasource/server-side.resource-base.d.ts +0 -55
- package/dist/dts/datasource/server-side.resource-base.d.ts.map +0 -1
- package/dist/dts/datasource/server-side.resource-dataserver.d.ts +0 -20
- package/dist/dts/datasource/server-side.resource-dataserver.d.ts.map +0 -1
- package/dist/dts/datasource/server-side.resource-reqrep.d.ts +0 -17
- package/dist/dts/datasource/server-side.resource-reqrep.d.ts.map +0 -1
- package/dist/esm/datasource/base.types.js +0 -1
- package/dist/esm/datasource/server-side.resource-base.js +0 -285
- package/dist/esm/datasource/server-side.resource-dataserver.js +0 -132
- package/dist/esm/datasource/server-side.resource-reqrep.js +0 -131
|
@@ -13,7 +13,7 @@ export function getServerSideFilterParamsByFieldType(type) {
|
|
|
13
13
|
buttons: ['reset', 'apply'],
|
|
14
14
|
closeOnApply: true,
|
|
15
15
|
closeOnClear: true,
|
|
16
|
-
|
|
16
|
+
suppressAndOrCondition: true,
|
|
17
17
|
filterOptions: [
|
|
18
18
|
'contains',
|
|
19
19
|
{
|
|
@@ -61,22 +61,9 @@ export function getServerSideFilterParamsByFieldType(type) {
|
|
|
61
61
|
buttons: ['reset', 'apply'],
|
|
62
62
|
closeOnApply: true,
|
|
63
63
|
closeOnClear: true,
|
|
64
|
-
|
|
64
|
+
suppressAndOrCondition: true,
|
|
65
65
|
browserDatePicker: true,
|
|
66
|
-
filterOptions: [
|
|
67
|
-
'equals',
|
|
68
|
-
'lessThan',
|
|
69
|
-
'greaterThan',
|
|
70
|
-
'inRange',
|
|
71
|
-
{
|
|
72
|
-
displayKey: 'isToday',
|
|
73
|
-
displayName: 'Is today',
|
|
74
|
-
numberOfInputs: 0,
|
|
75
|
-
predicate: () => true,
|
|
76
|
-
},
|
|
77
|
-
'blank',
|
|
78
|
-
'notBlank',
|
|
79
|
-
],
|
|
66
|
+
filterOptions: ['equals', 'lessThan', 'greaterThan'],
|
|
80
67
|
};
|
|
81
68
|
}
|
|
82
69
|
case FieldTypeEnum.NUMBER: {
|
|
@@ -84,18 +71,8 @@ export function getServerSideFilterParamsByFieldType(type) {
|
|
|
84
71
|
buttons: ['reset', 'apply'],
|
|
85
72
|
closeOnApply: true,
|
|
86
73
|
closeOnClear: true,
|
|
87
|
-
|
|
88
|
-
filterOptions: [
|
|
89
|
-
'equals',
|
|
90
|
-
'notEqual',
|
|
91
|
-
'greaterThan',
|
|
92
|
-
'greaterThanOrEqual',
|
|
93
|
-
'lessThan',
|
|
94
|
-
'lessThanOrEqual',
|
|
95
|
-
'inRange',
|
|
96
|
-
'blank',
|
|
97
|
-
'notBlank',
|
|
98
|
-
],
|
|
74
|
+
suppressAndOrCondition: true,
|
|
75
|
+
filterOptions: ['equals', 'lessThan', 'greaterThan'],
|
|
99
76
|
};
|
|
100
77
|
}
|
|
101
78
|
default: {
|
|
@@ -103,20 +80,8 @@ export function getServerSideFilterParamsByFieldType(type) {
|
|
|
103
80
|
buttons: ['reset', 'apply'],
|
|
104
81
|
closeOnApply: true,
|
|
105
82
|
closeOnClear: true,
|
|
106
|
-
|
|
107
|
-
filterOptions: [
|
|
108
|
-
'contains',
|
|
109
|
-
'equals',
|
|
110
|
-
'notEqual',
|
|
111
|
-
{
|
|
112
|
-
displayKey: 'wordStartsWith',
|
|
113
|
-
displayName: 'Word starts sith',
|
|
114
|
-
numberOfInputs: 1,
|
|
115
|
-
predicate: () => true,
|
|
116
|
-
},
|
|
117
|
-
'blank',
|
|
118
|
-
'notBlank',
|
|
119
|
-
],
|
|
83
|
+
suppressAndOrCondition: true,
|
|
84
|
+
filterOptions: ['contains', 'equals'],
|
|
120
85
|
};
|
|
121
86
|
}
|
|
122
87
|
}
|
|
@@ -1,14 +1,15 @@
|
|
|
1
1
|
import { __awaiter, __decorate } from "tslib";
|
|
2
|
-
import {
|
|
3
|
-
import { MessageType, dataServerResultFilter, normaliseCriteria, } from '@genesislcap/foundation-comms';
|
|
2
|
+
import { Auth, Datasource, DatasourceDefaults, MessageType, dataServerResultFilter, normaliseCriteria, } from '@genesislcap/foundation-comms';
|
|
4
3
|
import { LifecycleMixin } from '@genesislcap/foundation-utils';
|
|
5
|
-
import { DOM, attr, customElement } from '@microsoft/fast-element';
|
|
4
|
+
import { DOM, attr, customElement, observable } from '@microsoft/fast-element';
|
|
6
5
|
import { BehaviorSubject, EMPTY } from 'rxjs';
|
|
7
6
|
import { catchError, debounceTime, skip, tap } from 'rxjs/operators';
|
|
8
|
-
import {
|
|
7
|
+
import { GridProBaseDatasource } from '../datasource/base.datasource';
|
|
9
8
|
import { getClientSideFilterParamsByFieldType } from '../datasource/client-side.grid-definitions';
|
|
10
9
|
import { logger } from '../utils/logger';
|
|
11
10
|
import { gridProGenesisDatasourceEventNames } from './grid-pro-genesis-datasource.config';
|
|
11
|
+
const criteriaDelimiter = ';';
|
|
12
|
+
const criteriaJoin = ' && ';
|
|
12
13
|
const withoutFullInit = null;
|
|
13
14
|
const withoutColumnDefs = null;
|
|
14
15
|
/**
|
|
@@ -21,9 +22,13 @@ let GridProGenesisDatasource = class GridProGenesisDatasource extends LifecycleM
|
|
|
21
22
|
super(...arguments);
|
|
22
23
|
this.applyFuncName = 'applyTransaction';
|
|
23
24
|
this.applyAsyncFuncName = 'applyTransactionAsync';
|
|
25
|
+
this.pollingInterval = DatasourceDefaults.REQ_REP_POLLING_INTERVAL_MS;
|
|
26
|
+
this.disablePolling = false;
|
|
24
27
|
this.restartOnReconnection = false;
|
|
25
28
|
this.keepColDefsOnClearRowData = false;
|
|
26
29
|
this.requiresFullRowDataAndColDefs = true;
|
|
30
|
+
this.criteriaFromFilters = new Map();
|
|
31
|
+
this.update = new BehaviorSubject(new Map());
|
|
27
32
|
}
|
|
28
33
|
// DatasourceOptions
|
|
29
34
|
criteriaChanged(oldCriteria, newCriteria) {
|
|
@@ -70,7 +75,7 @@ let GridProGenesisDatasource = class GridProGenesisDatasource extends LifecycleM
|
|
|
70
75
|
DOM.queueUpdate(() => {
|
|
71
76
|
if (!shouldRunDisconnect)
|
|
72
77
|
return;
|
|
73
|
-
this.
|
|
78
|
+
this.deinit();
|
|
74
79
|
});
|
|
75
80
|
}
|
|
76
81
|
deepClone() {
|
|
@@ -117,11 +122,11 @@ let GridProGenesisDatasource = class GridProGenesisDatasource extends LifecycleM
|
|
|
117
122
|
*/
|
|
118
123
|
init(columnDefinitions, columnStates) {
|
|
119
124
|
return __awaiter(this, void 0, void 0, function* () {
|
|
120
|
-
if (this.agGrid) {
|
|
125
|
+
if (this.agGrid && this.datasource.validResourceName(this.resourceName)) {
|
|
121
126
|
const gridOptions = Object.assign(Object.assign(Object.assign({ getRowId: (params) => params.data[this.rowId] }, (columnDefinitions && { columnDefs: columnDefinitions })), this.agGrid['agGridOptions']), this.deferredGridOptions);
|
|
122
127
|
this.agGrid.gridOptions = Object.assign({}, gridOptions);
|
|
123
128
|
this.agGrid['initGrid']();
|
|
124
|
-
this.agGrid.addEventListener(
|
|
129
|
+
this.agGrid.addEventListener('onGridReady', () => __awaiter(this, void 0, void 0, function* () {
|
|
125
130
|
if (columnStates) {
|
|
126
131
|
this.agGrid.columnApi.applyColumnState({ state: columnStates });
|
|
127
132
|
}
|
|
@@ -138,16 +143,8 @@ let GridProGenesisDatasource = class GridProGenesisDatasource extends LifecycleM
|
|
|
138
143
|
this.handleErrors('Application not connected or invalid resource name, datasource will not work. Falling back to local columnDefs/rowData.');
|
|
139
144
|
});
|
|
140
145
|
}
|
|
141
|
-
/**
|
|
142
|
-
* Destroys the datasource, resetting it to its initial state.
|
|
143
|
-
* @public
|
|
144
|
-
*/
|
|
145
|
-
destroy() {
|
|
146
|
-
this.reset();
|
|
147
|
-
}
|
|
148
146
|
/**
|
|
149
147
|
* Deinitialises the datasource, resetting it to its initial state.
|
|
150
|
-
* @deprecated Use `destroy` instead
|
|
151
148
|
* @public
|
|
152
149
|
*/
|
|
153
150
|
deinit() {
|
|
@@ -156,7 +153,7 @@ let GridProGenesisDatasource = class GridProGenesisDatasource extends LifecycleM
|
|
|
156
153
|
/**
|
|
157
154
|
* Resets the datasource to its initial state.
|
|
158
155
|
* @public
|
|
159
|
-
* @deprecated Use `
|
|
156
|
+
* @deprecated Use `deinit` instead
|
|
160
157
|
*/
|
|
161
158
|
reset() {
|
|
162
159
|
var _a;
|
|
@@ -174,6 +171,7 @@ let GridProGenesisDatasource = class GridProGenesisDatasource extends LifecycleM
|
|
|
174
171
|
this.connectionSub = undefined;
|
|
175
172
|
}
|
|
176
173
|
this.clearRowData();
|
|
174
|
+
this.isRequestServer = false;
|
|
177
175
|
this.requiresFullRowDataAndColDefs = true;
|
|
178
176
|
this.dataSubWasLoggedOff = false;
|
|
179
177
|
this.criteriaFromFilters = new Map();
|
|
@@ -181,7 +179,7 @@ let GridProGenesisDatasource = class GridProGenesisDatasource extends LifecycleM
|
|
|
181
179
|
this.update = new BehaviorSubject(new Map());
|
|
182
180
|
this.agGrid.removeAttribute('ds-disconnected');
|
|
183
181
|
// TODO: There may need to be a full destroy path. Datasources need some love!
|
|
184
|
-
this.datasource.
|
|
182
|
+
this.datasource.deinit();
|
|
185
183
|
}
|
|
186
184
|
/**
|
|
187
185
|
* Restarts the datasource, uses `deinit` and `init` in sequence.
|
|
@@ -194,7 +192,7 @@ let GridProGenesisDatasource = class GridProGenesisDatasource extends LifecycleM
|
|
|
194
192
|
columnDefinitions = this.agGrid.gridApi.getColumnDefs();
|
|
195
193
|
columnStates = this.agGrid.columnApi.getColumnState();
|
|
196
194
|
}
|
|
197
|
-
this.
|
|
195
|
+
this.deinit();
|
|
198
196
|
this.init(columnDefinitions, columnStates);
|
|
199
197
|
}
|
|
200
198
|
/**
|
|
@@ -246,7 +244,7 @@ let GridProGenesisDatasource = class GridProGenesisDatasource extends LifecycleM
|
|
|
246
244
|
}
|
|
247
245
|
const data = this.rowDataMapper ? this.rowDataMapper(rowData) : rowData;
|
|
248
246
|
this.agGrid.restoreCachedFilterConfig();
|
|
249
|
-
this.agTransaction = { add:
|
|
247
|
+
this.agTransaction = { add: [...data], remove: [], update: [], addIndex: 0 };
|
|
250
248
|
this.applyAllAgTransactions();
|
|
251
249
|
this.requiresFullRowDataAndColDefs = false;
|
|
252
250
|
});
|
|
@@ -301,12 +299,12 @@ let GridProGenesisDatasource = class GridProGenesisDatasource extends LifecycleM
|
|
|
301
299
|
this.dataSub = this.datasource.stream
|
|
302
300
|
.pipe(catchError((err) => {
|
|
303
301
|
var _a;
|
|
304
|
-
this.handleErrors((_a = err === null || err === void 0 ? void 0 : err.receivedMessage) === null || _a === void 0 ? void 0 : _a.ERROR);
|
|
302
|
+
this.handleErrors((_a = err === null || err === void 0 ? void 0 : err.receivedMessage) === null || _a === void 0 ? void 0 : _a.ERROR.join(', '));
|
|
305
303
|
return EMPTY;
|
|
306
304
|
}))
|
|
307
305
|
.subscribe((result) => {
|
|
308
306
|
if (result === null || result === void 0 ? void 0 : result.ERROR) {
|
|
309
|
-
this.handleErrors(result.ERROR);
|
|
307
|
+
this.handleErrors(result.ERROR.join(', '));
|
|
310
308
|
}
|
|
311
309
|
const messageType = result.MESSAGE_TYPE;
|
|
312
310
|
if (messageType && messageType === MessageType.LOGOFF_ACK) {
|
|
@@ -345,30 +343,31 @@ let GridProGenesisDatasource = class GridProGenesisDatasource extends LifecycleM
|
|
|
345
343
|
}
|
|
346
344
|
return result.inserts;
|
|
347
345
|
}
|
|
348
|
-
handleErrors(
|
|
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
|
-
}
|
|
346
|
+
handleErrors(message) {
|
|
364
347
|
if (this.agGrid) {
|
|
365
348
|
this.agGrid.setAttribute('ds-disconnected', 'ds-disconnected');
|
|
366
349
|
}
|
|
367
350
|
if (message) {
|
|
368
|
-
logger.
|
|
351
|
+
logger.warn(message);
|
|
369
352
|
this.$emit(gridProGenesisDatasourceEventNames.error, { message });
|
|
370
353
|
}
|
|
371
354
|
}
|
|
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
|
+
}
|
|
372
371
|
handleStreamResult(result) {
|
|
373
372
|
if (!result)
|
|
374
373
|
return;
|
|
@@ -389,23 +388,9 @@ let GridProGenesisDatasource = class GridProGenesisDatasource extends LifecycleM
|
|
|
389
388
|
return;
|
|
390
389
|
}
|
|
391
390
|
if (this.requiresFullRowDataAndColDefs) {
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
if (!insertDataRowId) {
|
|
396
|
-
if (!noRowIdError) {
|
|
397
|
-
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.`;
|
|
398
|
-
logger.error(noRowIdMessage);
|
|
399
|
-
noRowIdError = true;
|
|
400
|
-
}
|
|
401
|
-
break;
|
|
402
|
-
}
|
|
403
|
-
this.rowData.set(insertDataRowId, insertData);
|
|
404
|
-
}
|
|
405
|
-
if (noRowIdError) {
|
|
406
|
-
this.destroy();
|
|
407
|
-
return;
|
|
408
|
-
}
|
|
391
|
+
requestServerData === null || requestServerData === void 0 ? void 0 : requestServerData.forEach((insertData) => {
|
|
392
|
+
this.rowData.set(insertData[this.rowId], insertData);
|
|
393
|
+
});
|
|
409
394
|
const rowData = this.rowData.size > 0 ? Array.from(this.rowData.values()) : requestServerData;
|
|
410
395
|
this.handleSizeChanged(previousSize, this.rowData.size);
|
|
411
396
|
this.setRowData(rowData);
|
|
@@ -455,6 +440,12 @@ let GridProGenesisDatasource = class GridProGenesisDatasource extends LifecycleM
|
|
|
455
440
|
return colDefsMergedWithTemplateDefs;
|
|
456
441
|
});
|
|
457
442
|
}
|
|
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
|
+
}
|
|
458
449
|
setFilter(fieldName, newFilter) {
|
|
459
450
|
this.criteriaFromFilters.set(fieldName, newFilter);
|
|
460
451
|
this.update.next(this.criteriaFromFilters);
|
|
@@ -478,6 +469,21 @@ let GridProGenesisDatasource = class GridProGenesisDatasource extends LifecycleM
|
|
|
478
469
|
});
|
|
479
470
|
}
|
|
480
471
|
};
|
|
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);
|
|
481
487
|
__decorate([
|
|
482
488
|
attr({ mode: 'boolean', attribute: 'restart-on-reconnection' })
|
|
483
489
|
], GridProGenesisDatasource.prototype, "restartOnReconnection", void 0);
|
package/dist/esm/grid-pro.js
CHANGED
|
@@ -138,10 +138,7 @@ export class GridPro extends LifecycleMixin(FoundationElement) {
|
|
|
138
138
|
action: this.handleError.bind(this, gridProErrorNames.datasource),
|
|
139
139
|
});
|
|
140
140
|
}
|
|
141
|
-
addEventListener(
|
|
142
|
-
const type = eventType.startsWith('on')
|
|
143
|
-
? eventType
|
|
144
|
-
: `on${eventType.charAt(0).toUpperCase() + eventType.slice(1)}`;
|
|
141
|
+
addEventListener(type, listener, options) {
|
|
145
142
|
super.addEventListener(type, listener, options);
|
|
146
143
|
if (ComponentUtil.PUBLIC_EVENTS.includes(type)) {
|
|
147
144
|
if (this.gridApi) {
|
|
@@ -152,9 +149,9 @@ export class GridPro extends LifecycleMixin(FoundationElement) {
|
|
|
152
149
|
}
|
|
153
150
|
}
|
|
154
151
|
}
|
|
155
|
-
addGridEventListener(
|
|
156
|
-
this.gridApi.addEventListener(
|
|
157
|
-
this.$emit(
|
|
152
|
+
addGridEventListener(type) {
|
|
153
|
+
this.gridApi.addEventListener(type, (e) => {
|
|
154
|
+
this.$emit(type, e);
|
|
158
155
|
});
|
|
159
156
|
}
|
|
160
157
|
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(type: "
|
|
7631
7631
|
},
|
|
7632
7632
|
{
|
|
7633
7633
|
"kind": "Content",
|
|
7634
|
-
"text": "
|
|
7634
|
+
"text": "any"
|
|
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": "type",
|
|
7681
7681
|
"parameterTypeTokenRange": {
|
|
7682
7682
|
"startIndex": 1,
|
|
7683
7683
|
"endIndex": 2
|
|
@@ -11036,6 +11036,37 @@
|
|
|
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
|
+
},
|
|
11039
11070
|
{
|
|
11040
11071
|
"kind": "Method",
|
|
11041
11072
|
"canonicalReference": "@genesislcap/grid-pro!GridProGenesisDatasource#connectedCallback:member(1)",
|
|
@@ -11131,6 +11162,37 @@
|
|
|
11131
11162
|
"isAbstract": false,
|
|
11132
11163
|
"name": "criteriaChanged"
|
|
11133
11164
|
},
|
|
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
|
+
},
|
|
11134
11196
|
{
|
|
11135
11197
|
"kind": "Method",
|
|
11136
11198
|
"canonicalReference": "@genesislcap/grid-pro!GridProGenesisDatasource#deepClone:member(1)",
|
|
@@ -11166,7 +11228,7 @@
|
|
|
11166
11228
|
{
|
|
11167
11229
|
"kind": "Method",
|
|
11168
11230
|
"canonicalReference": "@genesislcap/grid-pro!GridProGenesisDatasource#deinit:member(1)",
|
|
11169
|
-
"docComment": "/**\n * Deinitialises the datasource, resetting it to its initial state.\n *\n * @
|
|
11231
|
+
"docComment": "/**\n * Deinitialises the datasource, resetting it to its initial state.\n *\n * @public\n */\n",
|
|
11170
11232
|
"excerptTokens": [
|
|
11171
11233
|
{
|
|
11172
11234
|
"kind": "Content",
|
|
@@ -11195,35 +11257,34 @@
|
|
|
11195
11257
|
"name": "deinit"
|
|
11196
11258
|
},
|
|
11197
11259
|
{
|
|
11198
|
-
"kind": "
|
|
11199
|
-
"canonicalReference": "@genesislcap/grid-pro!GridProGenesisDatasource#
|
|
11200
|
-
"docComment": "
|
|
11260
|
+
"kind": "Property",
|
|
11261
|
+
"canonicalReference": "@genesislcap/grid-pro!GridProGenesisDatasource#disablePolling:member",
|
|
11262
|
+
"docComment": "",
|
|
11201
11263
|
"excerptTokens": [
|
|
11202
11264
|
{
|
|
11203
11265
|
"kind": "Content",
|
|
11204
|
-
"text": "
|
|
11266
|
+
"text": "disablePolling: "
|
|
11205
11267
|
},
|
|
11206
11268
|
{
|
|
11207
11269
|
"kind": "Content",
|
|
11208
|
-
"text": "
|
|
11270
|
+
"text": "boolean"
|
|
11209
11271
|
},
|
|
11210
11272
|
{
|
|
11211
11273
|
"kind": "Content",
|
|
11212
11274
|
"text": ";"
|
|
11213
11275
|
}
|
|
11214
11276
|
],
|
|
11215
|
-
"
|
|
11216
|
-
"
|
|
11277
|
+
"isReadonly": false,
|
|
11278
|
+
"isOptional": false,
|
|
11279
|
+
"releaseTag": "Public",
|
|
11280
|
+
"name": "disablePolling",
|
|
11281
|
+
"propertyTypeTokenRange": {
|
|
11217
11282
|
"startIndex": 1,
|
|
11218
11283
|
"endIndex": 2
|
|
11219
11284
|
},
|
|
11220
|
-
"
|
|
11285
|
+
"isStatic": false,
|
|
11221
11286
|
"isProtected": false,
|
|
11222
|
-
"
|
|
11223
|
-
"parameters": [],
|
|
11224
|
-
"isOptional": false,
|
|
11225
|
-
"isAbstract": false,
|
|
11226
|
-
"name": "destroy"
|
|
11287
|
+
"isAbstract": false
|
|
11227
11288
|
},
|
|
11228
11289
|
{
|
|
11229
11290
|
"kind": "Method",
|
|
@@ -11263,11 +11324,11 @@
|
|
|
11263
11324
|
"excerptTokens": [
|
|
11264
11325
|
{
|
|
11265
11326
|
"kind": "Content",
|
|
11266
|
-
"text": "handleErrors(
|
|
11327
|
+
"text": "handleErrors(message: "
|
|
11267
11328
|
},
|
|
11268
11329
|
{
|
|
11269
11330
|
"kind": "Content",
|
|
11270
|
-
"text": "string
|
|
11331
|
+
"text": "string"
|
|
11271
11332
|
},
|
|
11272
11333
|
{
|
|
11273
11334
|
"kind": "Content",
|
|
@@ -11292,7 +11353,7 @@
|
|
|
11292
11353
|
"overloadIndex": 1,
|
|
11293
11354
|
"parameters": [
|
|
11294
11355
|
{
|
|
11295
|
-
"parameterName": "
|
|
11356
|
+
"parameterName": "message",
|
|
11296
11357
|
"parameterTypeTokenRange": {
|
|
11297
11358
|
"startIndex": 1,
|
|
11298
11359
|
"endIndex": 2
|
|
@@ -11413,6 +11474,36 @@
|
|
|
11413
11474
|
"isProtected": false,
|
|
11414
11475
|
"isAbstract": false
|
|
11415
11476
|
},
|
|
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
|
+
},
|
|
11416
11507
|
{
|
|
11417
11508
|
"kind": "Method",
|
|
11418
11509
|
"canonicalReference": "@genesislcap/grid-pro!GridProGenesisDatasource#refreshRows:member(1)",
|
|
@@ -11492,6 +11583,36 @@
|
|
|
11492
11583
|
"isAbstract": false,
|
|
11493
11584
|
"name": "removeFilter"
|
|
11494
11585
|
},
|
|
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
|
+
},
|
|
11495
11616
|
{
|
|
11496
11617
|
"kind": "Method",
|
|
11497
11618
|
"canonicalReference": "@genesislcap/grid-pro!GridProGenesisDatasource#requestChanged:member(1)",
|
|
@@ -11559,7 +11680,7 @@
|
|
|
11559
11680
|
{
|
|
11560
11681
|
"kind": "Method",
|
|
11561
11682
|
"canonicalReference": "@genesislcap/grid-pro!GridProGenesisDatasource#reset:member(1)",
|
|
11562
|
-
"docComment": "/**\n * Resets the datasource to its initial state.\n *\n * @deprecated\n *\n * Use `
|
|
11683
|
+
"docComment": "/**\n * Resets the datasource to its initial state.\n *\n * @deprecated\n *\n * Use `deinit` instead\n *\n * @public\n */\n",
|
|
11563
11684
|
"excerptTokens": [
|
|
11564
11685
|
{
|
|
11565
11686
|
"kind": "Content",
|