@genesislcap/grid-pro 14.36.0 → 14.36.1-alpha-5c96caa.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 +14 -0
- package/dist/dts/grid-pro-genesis-datasource/grid-pro-genesis-datasource.d.ts +10 -1
- 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 +6 -1
- package/dist/grid-pro.api.json +30 -0
- package/dist/grid-pro.d.ts +10 -1
- package/docs/api/grid-pro.gridprogenesisdatasource.md +1 -0
- package/docs/api/grid-pro.gridprogenesisdatasource.pollinginterval.md +11 -0
- package/docs/api-report.md +2 -0
- package/package.json +7 -7
|
@@ -3232,6 +3232,13 @@
|
|
|
3232
3232
|
"text": "number"
|
|
3233
3233
|
}
|
|
3234
3234
|
},
|
|
3235
|
+
{
|
|
3236
|
+
"kind": "field",
|
|
3237
|
+
"name": "pollingInterval",
|
|
3238
|
+
"type": {
|
|
3239
|
+
"text": "number"
|
|
3240
|
+
}
|
|
3241
|
+
},
|
|
3235
3242
|
{
|
|
3236
3243
|
"kind": "field",
|
|
3237
3244
|
"name": "movingView",
|
|
@@ -3656,6 +3663,13 @@
|
|
|
3656
3663
|
},
|
|
3657
3664
|
"fieldName": "maxView"
|
|
3658
3665
|
},
|
|
3666
|
+
{
|
|
3667
|
+
"name": "polling-interval",
|
|
3668
|
+
"type": {
|
|
3669
|
+
"text": "number"
|
|
3670
|
+
},
|
|
3671
|
+
"fieldName": "pollingInterval"
|
|
3672
|
+
},
|
|
3659
3673
|
{
|
|
3660
3674
|
"name": "moving-view",
|
|
3661
3675
|
"type": {
|
|
@@ -54,11 +54,19 @@ declare const GridProGenesisDatasource_base: (new (...args: any[]) => {
|
|
|
54
54
|
readonly part: DOMTokenList;
|
|
55
55
|
readonly prefix: string;
|
|
56
56
|
readonly scrollHeight: number;
|
|
57
|
-
scrollLeft: number;
|
|
57
|
+
scrollLeft: number; /**
|
|
58
|
+
* Deinitialises the datasource, resetting it to its initial state.
|
|
59
|
+
* @public
|
|
60
|
+
*/
|
|
58
61
|
scrollTop: number;
|
|
59
62
|
readonly scrollWidth: number;
|
|
60
63
|
readonly shadowRoot: ShadowRoot;
|
|
61
64
|
slot: string;
|
|
65
|
+
/**
|
|
66
|
+
* Resets the datasource to its initial state.
|
|
67
|
+
* @public
|
|
68
|
+
* @deprecated Use `deinit` instead
|
|
69
|
+
*/
|
|
62
70
|
readonly tagName: string;
|
|
63
71
|
attachShadow(init: ShadowRootInit): ShadowRoot;
|
|
64
72
|
closest<K_2 extends keyof HTMLElementTagNameMap>(selector: K_2): HTMLElementTagNameMap[K_2];
|
|
@@ -336,6 +344,7 @@ export declare class GridProGenesisDatasource extends GridProGenesisDatasource_b
|
|
|
336
344
|
isSnapshot: boolean;
|
|
337
345
|
maxRows: number;
|
|
338
346
|
maxView: number;
|
|
347
|
+
pollingInterval: number;
|
|
339
348
|
movingView: boolean;
|
|
340
349
|
orderBy: string;
|
|
341
350
|
request: any;
|
|
@@ -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,CAA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mB,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;IAuBjB,oBAAoB;IASX,SAAS,IAAI,IAAI;IAO1B,OAAO,KAAK,MAAM,GAEjB;IAID;;;;OAIG;IACH,IAAI;IAkCJ;;;OAGG;IACH,MAAM;IAIN;;;;OAIG;IACH,KAAK;IA4BL;;;OAGG;IACH,OAAO;IAKP;;;;OAIG;IACH,OAAO,CAAC,UAAU;IAOlB,OAAO,CAAC,YAAY;IAMpB,OAAO,CAAC,aAAa;YAUP,gBAAgB;IAiD9B,OAAO,CAAC,cAAc;IActB,OAAO,CAAC,iBAAiB;IAgBzB,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;IAMd,SAAS,CAAC,SAAS,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM;IAK9C,YAAY,CAAC,SAAS,EAAE,MAAM;CAItC"}
|
|
@@ -22,6 +22,7 @@ let GridProGenesisDatasource = class GridProGenesisDatasource extends LifecycleM
|
|
|
22
22
|
this.isSnapshot = false;
|
|
23
23
|
this.maxRows = DatasourceDefaults.MAX_ROWS_250;
|
|
24
24
|
this.maxView = DatasourceDefaults.MAX_VIEW_1000;
|
|
25
|
+
this.pollingInterval = DatasourceDefaults.REQ_REP_POLLING_INTERVAL_MS;
|
|
25
26
|
this.movingView = false;
|
|
26
27
|
this.reverse = false;
|
|
27
28
|
this.rowId = 'ROW_REF';
|
|
@@ -55,7 +56,7 @@ let GridProGenesisDatasource = class GridProGenesisDatasource extends LifecycleM
|
|
|
55
56
|
return;
|
|
56
57
|
this.init();
|
|
57
58
|
});
|
|
58
|
-
this.connectionSub = this.connect.
|
|
59
|
+
this.connectionSub = this.connect.isConnected$.subscribe((isConnected) => {
|
|
59
60
|
if (isConnected && this.agGrid.attributes['ds-disconnected']) {
|
|
60
61
|
this.agGrid.removeAttribute('ds-disconnected');
|
|
61
62
|
if (this.restartOnReconnection) {
|
|
@@ -236,6 +237,7 @@ let GridProGenesisDatasource = class GridProGenesisDatasource extends LifecycleM
|
|
|
236
237
|
reverse: this.reverse,
|
|
237
238
|
maxRows: this.maxRows,
|
|
238
239
|
maxView: this.maxView,
|
|
240
|
+
pollingInterval: this.pollingInterval,
|
|
239
241
|
movingView: this.movingView,
|
|
240
242
|
};
|
|
241
243
|
}
|
|
@@ -389,6 +391,9 @@ __decorate([
|
|
|
389
391
|
__decorate([
|
|
390
392
|
attr({ attribute: 'max-view' })
|
|
391
393
|
], GridProGenesisDatasource.prototype, "maxView", void 0);
|
|
394
|
+
__decorate([
|
|
395
|
+
attr({ attribute: 'polling-interval' })
|
|
396
|
+
], GridProGenesisDatasource.prototype, "pollingInterval", void 0);
|
|
392
397
|
__decorate([
|
|
393
398
|
attr({ mode: 'boolean', attribute: 'moving-view' })
|
|
394
399
|
], GridProGenesisDatasource.prototype, "movingView", void 0);
|
package/dist/grid-pro.api.json
CHANGED
|
@@ -6934,6 +6934,36 @@
|
|
|
6934
6934
|
"isProtected": false,
|
|
6935
6935
|
"isAbstract": false
|
|
6936
6936
|
},
|
|
6937
|
+
{
|
|
6938
|
+
"kind": "Property",
|
|
6939
|
+
"canonicalReference": "@genesislcap/grid-pro!GridProGenesisDatasource#pollingInterval:member",
|
|
6940
|
+
"docComment": "",
|
|
6941
|
+
"excerptTokens": [
|
|
6942
|
+
{
|
|
6943
|
+
"kind": "Content",
|
|
6944
|
+
"text": "pollingInterval: "
|
|
6945
|
+
},
|
|
6946
|
+
{
|
|
6947
|
+
"kind": "Content",
|
|
6948
|
+
"text": "number"
|
|
6949
|
+
},
|
|
6950
|
+
{
|
|
6951
|
+
"kind": "Content",
|
|
6952
|
+
"text": ";"
|
|
6953
|
+
}
|
|
6954
|
+
],
|
|
6955
|
+
"isReadonly": false,
|
|
6956
|
+
"isOptional": false,
|
|
6957
|
+
"releaseTag": "Public",
|
|
6958
|
+
"name": "pollingInterval",
|
|
6959
|
+
"propertyTypeTokenRange": {
|
|
6960
|
+
"startIndex": 1,
|
|
6961
|
+
"endIndex": 2
|
|
6962
|
+
},
|
|
6963
|
+
"isStatic": false,
|
|
6964
|
+
"isProtected": false,
|
|
6965
|
+
"isAbstract": false
|
|
6966
|
+
},
|
|
6937
6967
|
{
|
|
6938
6968
|
"kind": "Method",
|
|
6939
6969
|
"canonicalReference": "@genesislcap/grid-pro!GridProGenesisDatasource#removeFilter:member(1)",
|
package/dist/grid-pro.d.ts
CHANGED
|
@@ -1219,6 +1219,7 @@ export declare class GridProGenesisDatasource extends GridProGenesisDatasource_b
|
|
|
1219
1219
|
isSnapshot: boolean;
|
|
1220
1220
|
maxRows: number;
|
|
1221
1221
|
maxView: number;
|
|
1222
|
+
pollingInterval: number;
|
|
1222
1223
|
movingView: boolean;
|
|
1223
1224
|
orderBy: string;
|
|
1224
1225
|
request: any;
|
|
@@ -1339,11 +1340,19 @@ declare const GridProGenesisDatasource_base: (new (...args: any[]) => {
|
|
|
1339
1340
|
readonly part: DOMTokenList;
|
|
1340
1341
|
readonly prefix: string;
|
|
1341
1342
|
readonly scrollHeight: number;
|
|
1342
|
-
scrollLeft: number;
|
|
1343
|
+
scrollLeft: number; /**
|
|
1344
|
+
* Deinitialises the datasource, resetting it to its initial state.
|
|
1345
|
+
* @public
|
|
1346
|
+
*/
|
|
1343
1347
|
scrollTop: number;
|
|
1344
1348
|
readonly scrollWidth: number;
|
|
1345
1349
|
readonly shadowRoot: ShadowRoot;
|
|
1346
1350
|
slot: string;
|
|
1351
|
+
/**
|
|
1352
|
+
* Resets the datasource to its initial state.
|
|
1353
|
+
* @public
|
|
1354
|
+
* @deprecated Use `deinit` instead
|
|
1355
|
+
*/
|
|
1347
1356
|
readonly tagName: string;
|
|
1348
1357
|
attachShadow(init: ShadowRootInit): ShadowRoot;
|
|
1349
1358
|
closest<K_2 extends keyof HTMLElementTagNameMap>(selector: K_2): HTMLElementTagNameMap[K_2];
|
|
@@ -31,6 +31,7 @@ Only supports Client-Side Row Model.
|
|
|
31
31
|
| [maxView](./grid-pro.gridprogenesisdatasource.maxview.md) | | number | |
|
|
32
32
|
| [movingView](./grid-pro.gridprogenesisdatasource.movingview.md) | | boolean | |
|
|
33
33
|
| [orderBy](./grid-pro.gridprogenesisdatasource.orderby.md) | | string | |
|
|
34
|
+
| [pollingInterval](./grid-pro.gridprogenesisdatasource.pollinginterval.md) | | number | |
|
|
34
35
|
| [request](./grid-pro.gridprogenesisdatasource.request.md) | | any | |
|
|
35
36
|
| [resourceName](./grid-pro.gridprogenesisdatasource.resourcename.md) | | string | |
|
|
36
37
|
| [restartOnReconnection](./grid-pro.gridprogenesisdatasource.restartonreconnection.md) | | boolean | |
|
|
@@ -0,0 +1,11 @@
|
|
|
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) > [pollingInterval](./grid-pro.gridprogenesisdatasource.pollinginterval.md)
|
|
4
|
+
|
|
5
|
+
## GridProGenesisDatasource.pollingInterval property
|
|
6
|
+
|
|
7
|
+
**Signature:**
|
|
8
|
+
|
|
9
|
+
```typescript
|
|
10
|
+
pollingInterval: number;
|
|
11
|
+
```
|
package/docs/api-report.md
CHANGED
|
@@ -669,6 +669,8 @@ export class GridProGenesisDatasource extends GridProGenesisDatasource_base {
|
|
|
669
669
|
// (undocumented)
|
|
670
670
|
orderBy: string;
|
|
671
671
|
// (undocumented)
|
|
672
|
+
pollingInterval: number;
|
|
673
|
+
// (undocumented)
|
|
672
674
|
removeFilter(fieldName: string): void;
|
|
673
675
|
// (undocumented)
|
|
674
676
|
request: any;
|
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.36.0",
|
|
4
|
+
"version": "14.36.1-alpha-5c96caa.0",
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"license": "SEE LICENSE IN license.txt",
|
|
7
7
|
"main": "dist/esm/index.js",
|
|
@@ -21,14 +21,14 @@
|
|
|
21
21
|
"serve": "genx serve"
|
|
22
22
|
},
|
|
23
23
|
"devDependencies": {
|
|
24
|
-
"@genesislcap/foundation-testing": "
|
|
25
|
-
"@genesislcap/genx": "
|
|
24
|
+
"@genesislcap/foundation-testing": "14.36.1-alpha-5c96caa.0",
|
|
25
|
+
"@genesislcap/genx": "14.36.1-alpha-5c96caa.0",
|
|
26
26
|
"bulma": "^0.9.3"
|
|
27
27
|
},
|
|
28
28
|
"dependencies": {
|
|
29
|
-
"@genesislcap/foundation-comms": "
|
|
30
|
-
"@genesislcap/foundation-ui": "
|
|
31
|
-
"@genesislcap/foundation-utils": "
|
|
29
|
+
"@genesislcap/foundation-comms": "14.36.1-alpha-5c96caa.0",
|
|
30
|
+
"@genesislcap/foundation-ui": "14.36.1-alpha-5c96caa.0",
|
|
31
|
+
"@genesislcap/foundation-utils": "14.36.1-alpha-5c96caa.0",
|
|
32
32
|
"@microsoft/fast-colors": "^5.1.4",
|
|
33
33
|
"@microsoft/fast-components": "^2.21.3",
|
|
34
34
|
"@microsoft/fast-element": "^1.7.0",
|
|
@@ -55,5 +55,5 @@
|
|
|
55
55
|
"access": "public"
|
|
56
56
|
},
|
|
57
57
|
"customElements": "dist/custom-elements.json",
|
|
58
|
-
"gitHead": "
|
|
58
|
+
"gitHead": "ad20d2c7beb089619c4a1b7c5c5762eabbfea974"
|
|
59
59
|
}
|