@genesislcap/grid-pro 14.92.2 → 14.92.3-beta.a19c58d.1
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 +80 -0
- package/dist/dts/grid-pro-genesis-datasource/grid-pro-genesis-datasource.d.ts +15 -17
- 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 +12 -2
- package/dist/grid-pro.api.json +60 -0
- package/dist/grid-pro.d.ts +15 -17
- package/docs/api/grid-pro.gridprogenesisdatasource.disablepolling.md +11 -0
- package/docs/api/grid-pro.gridprogenesisdatasource.disablerequestconversion.md +11 -0
- package/docs/api/grid-pro.gridprogenesisdatasource.md +2 -0
- package/docs/api-report.md +4 -0
- package/package.json +9 -10
|
@@ -4891,6 +4891,22 @@
|
|
|
4891
4891
|
"text": "number"
|
|
4892
4892
|
}
|
|
4893
4893
|
},
|
|
4894
|
+
{
|
|
4895
|
+
"kind": "field",
|
|
4896
|
+
"name": "disablePolling",
|
|
4897
|
+
"type": {
|
|
4898
|
+
"text": "boolean"
|
|
4899
|
+
},
|
|
4900
|
+
"default": "false"
|
|
4901
|
+
},
|
|
4902
|
+
{
|
|
4903
|
+
"kind": "field",
|
|
4904
|
+
"name": "disableRequestConversion",
|
|
4905
|
+
"type": {
|
|
4906
|
+
"text": "boolean"
|
|
4907
|
+
},
|
|
4908
|
+
"default": "false"
|
|
4909
|
+
},
|
|
4894
4910
|
{
|
|
4895
4911
|
"kind": "field",
|
|
4896
4912
|
"name": "request",
|
|
@@ -5551,6 +5567,22 @@
|
|
|
5551
5567
|
},
|
|
5552
5568
|
"fieldName": "pollingInterval"
|
|
5553
5569
|
},
|
|
5570
|
+
{
|
|
5571
|
+
"name": "disable-polling",
|
|
5572
|
+
"type": {
|
|
5573
|
+
"text": "boolean"
|
|
5574
|
+
},
|
|
5575
|
+
"default": "false",
|
|
5576
|
+
"fieldName": "disablePolling"
|
|
5577
|
+
},
|
|
5578
|
+
{
|
|
5579
|
+
"name": "disable-request-conversion",
|
|
5580
|
+
"type": {
|
|
5581
|
+
"text": "boolean"
|
|
5582
|
+
},
|
|
5583
|
+
"default": "false",
|
|
5584
|
+
"fieldName": "disableRequestConversion"
|
|
5585
|
+
},
|
|
5554
5586
|
{
|
|
5555
5587
|
"name": "resource-name",
|
|
5556
5588
|
"type": {
|
|
@@ -5854,6 +5886,30 @@
|
|
|
5854
5886
|
"module": "src/grid-pro-genesis-datasource/grid-pro-genesis-datasource.ts"
|
|
5855
5887
|
}
|
|
5856
5888
|
},
|
|
5889
|
+
{
|
|
5890
|
+
"kind": "field",
|
|
5891
|
+
"name": "disablePolling",
|
|
5892
|
+
"type": {
|
|
5893
|
+
"text": "boolean"
|
|
5894
|
+
},
|
|
5895
|
+
"default": "false",
|
|
5896
|
+
"inheritedFrom": {
|
|
5897
|
+
"name": "GridProGenesisDatasource",
|
|
5898
|
+
"module": "src/grid-pro-genesis-datasource/grid-pro-genesis-datasource.ts"
|
|
5899
|
+
}
|
|
5900
|
+
},
|
|
5901
|
+
{
|
|
5902
|
+
"kind": "field",
|
|
5903
|
+
"name": "disableRequestConversion",
|
|
5904
|
+
"type": {
|
|
5905
|
+
"text": "boolean"
|
|
5906
|
+
},
|
|
5907
|
+
"default": "false",
|
|
5908
|
+
"inheritedFrom": {
|
|
5909
|
+
"name": "GridProGenesisDatasource",
|
|
5910
|
+
"module": "src/grid-pro-genesis-datasource/grid-pro-genesis-datasource.ts"
|
|
5911
|
+
}
|
|
5912
|
+
},
|
|
5857
5913
|
{
|
|
5858
5914
|
"kind": "field",
|
|
5859
5915
|
"name": "request",
|
|
@@ -6618,6 +6674,30 @@
|
|
|
6618
6674
|
"module": "src/grid-pro-genesis-datasource/grid-pro-genesis-datasource.ts"
|
|
6619
6675
|
}
|
|
6620
6676
|
},
|
|
6677
|
+
{
|
|
6678
|
+
"name": "disable-polling",
|
|
6679
|
+
"type": {
|
|
6680
|
+
"text": "boolean"
|
|
6681
|
+
},
|
|
6682
|
+
"default": "false",
|
|
6683
|
+
"fieldName": "disablePolling",
|
|
6684
|
+
"inheritedFrom": {
|
|
6685
|
+
"name": "GridProGenesisDatasource",
|
|
6686
|
+
"module": "src/grid-pro-genesis-datasource/grid-pro-genesis-datasource.ts"
|
|
6687
|
+
}
|
|
6688
|
+
},
|
|
6689
|
+
{
|
|
6690
|
+
"name": "disable-request-conversion",
|
|
6691
|
+
"type": {
|
|
6692
|
+
"text": "boolean"
|
|
6693
|
+
},
|
|
6694
|
+
"default": "false",
|
|
6695
|
+
"fieldName": "disableRequestConversion",
|
|
6696
|
+
"inheritedFrom": {
|
|
6697
|
+
"name": "GridProGenesisDatasource",
|
|
6698
|
+
"module": "src/grid-pro-genesis-datasource/grid-pro-genesis-datasource.ts"
|
|
6699
|
+
}
|
|
6700
|
+
},
|
|
6621
6701
|
{
|
|
6622
6702
|
"name": "resource-name",
|
|
6623
6703
|
"type": {
|
|
@@ -38,11 +38,6 @@ declare const GridProGenesisDatasource_base: (new (...args: any[]) => {
|
|
|
38
38
|
lang: string;
|
|
39
39
|
readonly offsetHeight: number;
|
|
40
40
|
readonly offsetLeft: number;
|
|
41
|
-
/**
|
|
42
|
-
* Returns the row id attribute, depending on the resource type.
|
|
43
|
-
* @remarks Will favour the `row-id` attribute if set.
|
|
44
|
-
* @internal
|
|
45
|
-
*/
|
|
46
41
|
readonly offsetParent: Element;
|
|
47
42
|
readonly offsetTop: number;
|
|
48
43
|
readonly offsetWidth: number;
|
|
@@ -77,11 +72,6 @@ declare const GridProGenesisDatasource_base: (new (...args: any[]) => {
|
|
|
77
72
|
scrollTop: number;
|
|
78
73
|
readonly scrollWidth: number;
|
|
79
74
|
readonly shadowRoot: ShadowRoot;
|
|
80
|
-
/**
|
|
81
|
-
* Resets the datasource to its initial state.
|
|
82
|
-
* @public
|
|
83
|
-
* @deprecated Use `deinit` instead
|
|
84
|
-
*/
|
|
85
75
|
slot: string;
|
|
86
76
|
readonly tagName: string;
|
|
87
77
|
attachShadow(init: ShadowRootInit): ShadowRoot;
|
|
@@ -109,11 +99,6 @@ declare const GridProGenesisDatasource_base: (new (...args: any[]) => {
|
|
|
109
99
|
insertAdjacentElement(where: InsertPosition, element: Element): Element;
|
|
110
100
|
insertAdjacentHTML(position: InsertPosition, text: string): void;
|
|
111
101
|
insertAdjacentText(where: InsertPosition, data: string): void;
|
|
112
|
-
/**
|
|
113
|
-
* Sets the columnDefs and rowData for the grid.
|
|
114
|
-
* @remarks This should only happen once, when the grid is first initialized. Follow up updates will use the agTransaction.
|
|
115
|
-
* @internal
|
|
116
|
-
*/
|
|
117
102
|
matches(selectors: string): boolean;
|
|
118
103
|
releasePointerCapture(pointerId: number): void;
|
|
119
104
|
removeAttribute(qualifiedName: string): void;
|
|
@@ -130,7 +115,12 @@ declare const GridProGenesisDatasource_base: (new (...args: any[]) => {
|
|
|
130
115
|
scrollTo(x: number, y: number): void;
|
|
131
116
|
setAttribute(qualifiedName: string, value: string): void;
|
|
132
117
|
setAttributeNS(namespace: string, qualifiedName: string, value: string): void;
|
|
133
|
-
setAttributeNode(attr: Attr): Attr;
|
|
118
|
+
setAttributeNode(attr: Attr): Attr; /**
|
|
119
|
+
* Resets the grid data while keeping columnDefs and sends a DATA_LOGOFF message if it's a stream.
|
|
120
|
+
* Proxies to {@link @genesislcap/grid-pro#GridProGenesisDatasource.loadResourceData} but without the full init (no metadata fetch).
|
|
121
|
+
* @remarks This is used when the grid is already initialized and we want to reload the data due to a criteria/filter change.
|
|
122
|
+
* @internal
|
|
123
|
+
*/
|
|
134
124
|
setAttributeNodeNS(attr: Attr): Attr;
|
|
135
125
|
setPointerCapture(pointerId: number): void;
|
|
136
126
|
toggleAttribute(qualifiedName: string, force?: boolean): boolean;
|
|
@@ -146,7 +136,13 @@ declare const GridProGenesisDatasource_base: (new (...args: any[]) => {
|
|
|
146
136
|
nodeValue: string;
|
|
147
137
|
readonly parentElement: HTMLElement;
|
|
148
138
|
readonly parentNode: ParentNode;
|
|
149
|
-
readonly previousSibling: ChildNode;
|
|
139
|
+
readonly previousSibling: ChildNode; /**
|
|
140
|
+
* Initializes the datasource and loads the data for the grid.
|
|
141
|
+
* Handles both snapshot and stream data (for both REQUEST_SERVER and DATASERVER resource types).
|
|
142
|
+
*
|
|
143
|
+
* @param withFullInit - if true, will call datasource.init() with requiresMetadataFetch = true, fetching fresh metadata
|
|
144
|
+
* @internal
|
|
145
|
+
*/
|
|
150
146
|
textContent: string;
|
|
151
147
|
appendChild<T_1 extends Node>(node: T_1): T_1;
|
|
152
148
|
compareDocumentPosition(other: Node): number;
|
|
@@ -370,6 +366,8 @@ export declare class GridProGenesisDatasource extends GridProGenesisDatasource_b
|
|
|
370
366
|
movingView: boolean;
|
|
371
367
|
orderBy: string;
|
|
372
368
|
pollingInterval: number;
|
|
369
|
+
disablePolling: boolean;
|
|
370
|
+
disableRequestConversion: boolean;
|
|
373
371
|
request: any;
|
|
374
372
|
resourceName: string;
|
|
375
373
|
resourceNameChanged(oldValue: string, newValue: string): void;
|
|
@@ -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,KAAK,EAAU,WAAW,EAAE,WAAW,EAAsB,MAAM,yBAAyB,CAAC;AACpG,OAAO,EACL,IAAI,EACJ,OAAO,
|
|
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,KAAK,EAAU,WAAW,EAAE,WAAW,EAAsB,MAAM,yBAAyB,CAAC;AACpG,OAAO,EACL,IAAI,EACJ,OAAO,EACP,UAAU,EAaX,MAAM,+BAA+B,CAAC;AAGvC,OAAO,EAAE,iBAAiB,EAAE,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AAmB;IAW3B,OAAO,CAAC,eAAe;IA6CvB,OAAO,CAAC,aAAa;IAMd,SAAS,CAAC,SAAS,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM;IAK9C,YAAY,CAAC,SAAS,EAAE,MAAM;CAItC;AAED;;;;GAIG;AACH,qBAGa,2BAA4B,SAAQ,wBAAwB;CAAG"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { __awaiter, __decorate } from "tslib";
|
|
2
|
-
import { Auth, Connect,
|
|
2
|
+
import { Auth, Connect, Datasource, DatasourceDefaults, FieldTypeEnum, MessageType, ResourceType, dataServerResultFilter, normaliseCriteria, } from '@genesislcap/foundation-comms';
|
|
3
3
|
import { LifecycleMixin } from '@genesislcap/foundation-utils';
|
|
4
|
-
import { attr, customElement,
|
|
4
|
+
import { DOM, attr, customElement, observable } from '@microsoft/fast-element';
|
|
5
5
|
import { FoundationElement } from '@microsoft/fast-foundation';
|
|
6
6
|
import { BehaviorSubject } from 'rxjs';
|
|
7
7
|
import { debounceTime, skip, tap } from 'rxjs/operators';
|
|
@@ -35,6 +35,8 @@ let GridProGenesisDatasource = class GridProGenesisDatasource extends LifecycleM
|
|
|
35
35
|
this.maxView = DatasourceDefaults.MAX_VIEW_1000;
|
|
36
36
|
this.movingView = false;
|
|
37
37
|
this.pollingInterval = DatasourceDefaults.REQ_REP_POLLING_INTERVAL_MS;
|
|
38
|
+
this.disablePolling = false;
|
|
39
|
+
this.disableRequestConversion = false;
|
|
38
40
|
this.reverse = false;
|
|
39
41
|
this.restartOnReconnection = false;
|
|
40
42
|
this.isRequestServer = false;
|
|
@@ -311,6 +313,8 @@ let GridProGenesisDatasource = class GridProGenesisDatasource extends LifecycleM
|
|
|
311
313
|
movingView: this.movingView,
|
|
312
314
|
orderBy: this.orderBy,
|
|
313
315
|
pollingInterval: this.pollingInterval,
|
|
316
|
+
disablePolling: this.disablePolling,
|
|
317
|
+
disableRequestConversion: this.disableRequestConversion,
|
|
314
318
|
request: this.request,
|
|
315
319
|
resourceName: this.resourceName,
|
|
316
320
|
reverse: this.reverse,
|
|
@@ -532,6 +536,12 @@ __decorate([
|
|
|
532
536
|
__decorate([
|
|
533
537
|
attr({ attribute: 'polling-interval' })
|
|
534
538
|
], GridProGenesisDatasource.prototype, "pollingInterval", void 0);
|
|
539
|
+
__decorate([
|
|
540
|
+
attr({ mode: 'boolean', attribute: 'disable-polling' })
|
|
541
|
+
], GridProGenesisDatasource.prototype, "disablePolling", void 0);
|
|
542
|
+
__decorate([
|
|
543
|
+
attr({ mode: 'boolean', attribute: 'disable-request-conversion' })
|
|
544
|
+
], GridProGenesisDatasource.prototype, "disableRequestConversion", void 0);
|
|
535
545
|
__decorate([
|
|
536
546
|
observable
|
|
537
547
|
], GridProGenesisDatasource.prototype, "request", void 0);
|
package/dist/grid-pro.api.json
CHANGED
|
@@ -7135,6 +7135,66 @@
|
|
|
7135
7135
|
"isAbstract": false,
|
|
7136
7136
|
"name": "deinit"
|
|
7137
7137
|
},
|
|
7138
|
+
{
|
|
7139
|
+
"kind": "Property",
|
|
7140
|
+
"canonicalReference": "@genesislcap/grid-pro!GridProGenesisDatasource#disablePolling:member",
|
|
7141
|
+
"docComment": "",
|
|
7142
|
+
"excerptTokens": [
|
|
7143
|
+
{
|
|
7144
|
+
"kind": "Content",
|
|
7145
|
+
"text": "disablePolling: "
|
|
7146
|
+
},
|
|
7147
|
+
{
|
|
7148
|
+
"kind": "Content",
|
|
7149
|
+
"text": "boolean"
|
|
7150
|
+
},
|
|
7151
|
+
{
|
|
7152
|
+
"kind": "Content",
|
|
7153
|
+
"text": ";"
|
|
7154
|
+
}
|
|
7155
|
+
],
|
|
7156
|
+
"isReadonly": false,
|
|
7157
|
+
"isOptional": false,
|
|
7158
|
+
"releaseTag": "Public",
|
|
7159
|
+
"name": "disablePolling",
|
|
7160
|
+
"propertyTypeTokenRange": {
|
|
7161
|
+
"startIndex": 1,
|
|
7162
|
+
"endIndex": 2
|
|
7163
|
+
},
|
|
7164
|
+
"isStatic": false,
|
|
7165
|
+
"isProtected": false,
|
|
7166
|
+
"isAbstract": false
|
|
7167
|
+
},
|
|
7168
|
+
{
|
|
7169
|
+
"kind": "Property",
|
|
7170
|
+
"canonicalReference": "@genesislcap/grid-pro!GridProGenesisDatasource#disableRequestConversion:member",
|
|
7171
|
+
"docComment": "",
|
|
7172
|
+
"excerptTokens": [
|
|
7173
|
+
{
|
|
7174
|
+
"kind": "Content",
|
|
7175
|
+
"text": "disableRequestConversion: "
|
|
7176
|
+
},
|
|
7177
|
+
{
|
|
7178
|
+
"kind": "Content",
|
|
7179
|
+
"text": "boolean"
|
|
7180
|
+
},
|
|
7181
|
+
{
|
|
7182
|
+
"kind": "Content",
|
|
7183
|
+
"text": ";"
|
|
7184
|
+
}
|
|
7185
|
+
],
|
|
7186
|
+
"isReadonly": false,
|
|
7187
|
+
"isOptional": false,
|
|
7188
|
+
"releaseTag": "Public",
|
|
7189
|
+
"name": "disableRequestConversion",
|
|
7190
|
+
"propertyTypeTokenRange": {
|
|
7191
|
+
"startIndex": 1,
|
|
7192
|
+
"endIndex": 2
|
|
7193
|
+
},
|
|
7194
|
+
"isStatic": false,
|
|
7195
|
+
"isProtected": false,
|
|
7196
|
+
"isAbstract": false
|
|
7197
|
+
},
|
|
7138
7198
|
{
|
|
7139
7199
|
"kind": "Method",
|
|
7140
7200
|
"canonicalReference": "@genesislcap/grid-pro!GridProGenesisDatasource#disconnectedCallback:member(1)",
|
package/dist/grid-pro.d.ts
CHANGED
|
@@ -1303,6 +1303,8 @@ export declare class GridProGenesisDatasource extends GridProGenesisDatasource_b
|
|
|
1303
1303
|
movingView: boolean;
|
|
1304
1304
|
orderBy: string;
|
|
1305
1305
|
pollingInterval: number;
|
|
1306
|
+
disablePolling: boolean;
|
|
1307
|
+
disableRequestConversion: boolean;
|
|
1306
1308
|
request: any;
|
|
1307
1309
|
resourceName: string;
|
|
1308
1310
|
resourceNameChanged(oldValue: string, newValue: string): void;
|
|
@@ -1451,11 +1453,6 @@ declare const GridProGenesisDatasource_base: (new (...args: any[]) => {
|
|
|
1451
1453
|
lang: string;
|
|
1452
1454
|
readonly offsetHeight: number;
|
|
1453
1455
|
readonly offsetLeft: number;
|
|
1454
|
-
/**
|
|
1455
|
-
* Returns the row id attribute, depending on the resource type.
|
|
1456
|
-
* @remarks Will favour the `row-id` attribute if set.
|
|
1457
|
-
* @internal
|
|
1458
|
-
*/
|
|
1459
1456
|
readonly offsetParent: Element;
|
|
1460
1457
|
readonly offsetTop: number;
|
|
1461
1458
|
readonly offsetWidth: number;
|
|
@@ -1490,11 +1487,6 @@ declare const GridProGenesisDatasource_base: (new (...args: any[]) => {
|
|
|
1490
1487
|
scrollTop: number;
|
|
1491
1488
|
readonly scrollWidth: number;
|
|
1492
1489
|
readonly shadowRoot: ShadowRoot;
|
|
1493
|
-
/**
|
|
1494
|
-
* Resets the datasource to its initial state.
|
|
1495
|
-
* @public
|
|
1496
|
-
* @deprecated Use `deinit` instead
|
|
1497
|
-
*/
|
|
1498
1490
|
slot: string;
|
|
1499
1491
|
readonly tagName: string;
|
|
1500
1492
|
attachShadow(init: ShadowRootInit): ShadowRoot;
|
|
@@ -1522,11 +1514,6 @@ declare const GridProGenesisDatasource_base: (new (...args: any[]) => {
|
|
|
1522
1514
|
insertAdjacentElement(where: InsertPosition, element: Element): Element;
|
|
1523
1515
|
insertAdjacentHTML(position: InsertPosition, text: string): void;
|
|
1524
1516
|
insertAdjacentText(where: InsertPosition, data: string): void;
|
|
1525
|
-
/**
|
|
1526
|
-
* Sets the columnDefs and rowData for the grid.
|
|
1527
|
-
* @remarks This should only happen once, when the grid is first initialized. Follow up updates will use the agTransaction.
|
|
1528
|
-
* @internal
|
|
1529
|
-
*/
|
|
1530
1517
|
matches(selectors: string): boolean;
|
|
1531
1518
|
releasePointerCapture(pointerId: number): void;
|
|
1532
1519
|
removeAttribute(qualifiedName: string): void;
|
|
@@ -1543,7 +1530,12 @@ declare const GridProGenesisDatasource_base: (new (...args: any[]) => {
|
|
|
1543
1530
|
scrollTo(x: number, y: number): void;
|
|
1544
1531
|
setAttribute(qualifiedName: string, value: string): void;
|
|
1545
1532
|
setAttributeNS(namespace: string, qualifiedName: string, value: string): void;
|
|
1546
|
-
setAttributeNode(attr: Attr): Attr;
|
|
1533
|
+
setAttributeNode(attr: Attr): Attr; /**
|
|
1534
|
+
* Resets the grid data while keeping columnDefs and sends a DATA_LOGOFF message if it's a stream.
|
|
1535
|
+
* Proxies to {@link @genesislcap/grid-pro#GridProGenesisDatasource.loadResourceData} but without the full init (no metadata fetch).
|
|
1536
|
+
* @remarks This is used when the grid is already initialized and we want to reload the data due to a criteria/filter change.
|
|
1537
|
+
* @internal
|
|
1538
|
+
*/
|
|
1547
1539
|
setAttributeNodeNS(attr: Attr): Attr;
|
|
1548
1540
|
setPointerCapture(pointerId: number): void;
|
|
1549
1541
|
toggleAttribute(qualifiedName: string, force?: boolean): boolean;
|
|
@@ -1559,7 +1551,13 @@ declare const GridProGenesisDatasource_base: (new (...args: any[]) => {
|
|
|
1559
1551
|
nodeValue: string;
|
|
1560
1552
|
readonly parentElement: HTMLElement;
|
|
1561
1553
|
readonly parentNode: ParentNode;
|
|
1562
|
-
readonly previousSibling: ChildNode;
|
|
1554
|
+
readonly previousSibling: ChildNode; /**
|
|
1555
|
+
* Initializes the datasource and loads the data for the grid.
|
|
1556
|
+
* Handles both snapshot and stream data (for both REQUEST_SERVER and DATASERVER resource types).
|
|
1557
|
+
*
|
|
1558
|
+
* @param withFullInit - if true, will call datasource.init() with requiresMetadataFetch = true, fetching fresh metadata
|
|
1559
|
+
* @internal
|
|
1560
|
+
*/
|
|
1563
1561
|
textContent: string;
|
|
1564
1562
|
appendChild<T_1 extends Node>(node: T_1): T_1;
|
|
1565
1563
|
compareDocumentPosition(other: Node): number;
|
|
@@ -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) > [disablePolling](./grid-pro.gridprogenesisdatasource.disablepolling.md)
|
|
4
|
+
|
|
5
|
+
## GridProGenesisDatasource.disablePolling property
|
|
6
|
+
|
|
7
|
+
**Signature:**
|
|
8
|
+
|
|
9
|
+
```typescript
|
|
10
|
+
disablePolling: boolean;
|
|
11
|
+
```
|
|
@@ -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) > [disableRequestConversion](./grid-pro.gridprogenesisdatasource.disablerequestconversion.md)
|
|
4
|
+
|
|
5
|
+
## GridProGenesisDatasource.disableRequestConversion property
|
|
6
|
+
|
|
7
|
+
**Signature:**
|
|
8
|
+
|
|
9
|
+
```typescript
|
|
10
|
+
disableRequestConversion: boolean;
|
|
11
|
+
```
|
|
@@ -27,6 +27,8 @@ Only supports Client-Side Row Model.
|
|
|
27
27
|
| [datasource](./grid-pro.gridprogenesisdatasource.datasource.md) | | Datasource | |
|
|
28
28
|
| [deferredColumnStates](./grid-pro.gridprogenesisdatasource.deferredcolumnstates.md) | | ColumnState\[\] | |
|
|
29
29
|
| [deferredGridOptions](./grid-pro.gridprogenesisdatasource.deferredgridoptions.md) | | GridOptions | |
|
|
30
|
+
| [disablePolling](./grid-pro.gridprogenesisdatasource.disablepolling.md) | | boolean | |
|
|
31
|
+
| [disableRequestConversion](./grid-pro.gridprogenesisdatasource.disablerequestconversion.md) | | boolean | |
|
|
30
32
|
| [fields](./grid-pro.gridprogenesisdatasource.fields.md) | | string | |
|
|
31
33
|
| [isSnapshot](./grid-pro.gridprogenesisdatasource.issnapshot.md) | | boolean | |
|
|
32
34
|
| [maxRows](./grid-pro.gridprogenesisdatasource.maxrows.md) | | number | |
|
package/docs/api-report.md
CHANGED
|
@@ -658,6 +658,10 @@ export class GridProGenesisDatasource extends GridProGenesisDatasource_base {
|
|
|
658
658
|
deferredGridOptions: GridOptions;
|
|
659
659
|
deinit(): void;
|
|
660
660
|
// (undocumented)
|
|
661
|
+
disablePolling: boolean;
|
|
662
|
+
// (undocumented)
|
|
663
|
+
disableRequestConversion: boolean;
|
|
664
|
+
// (undocumented)
|
|
661
665
|
disconnectedCallback(): void;
|
|
662
666
|
// (undocumented)
|
|
663
667
|
fields: string;
|
package/package.json
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@genesislcap/grid-pro",
|
|
3
3
|
"description": "Genesis Foundation AG Grid",
|
|
4
|
-
"version": "14.92.
|
|
4
|
+
"version": "14.92.3-beta.a19c58d.1",
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"license": "SEE LICENSE IN license.txt",
|
|
7
7
|
"main": "dist/esm/index.js",
|
|
8
8
|
"types": "dist/dts/index.d.ts",
|
|
9
9
|
"engines": {
|
|
10
|
-
"node": ">=
|
|
10
|
+
"node": ">=20.0.0"
|
|
11
11
|
},
|
|
12
12
|
"config": {
|
|
13
13
|
"PORT": 4020
|
|
@@ -23,7 +23,6 @@
|
|
|
23
23
|
"dev:webpack": "genx dev -b webpack",
|
|
24
24
|
"serve": "genx serve",
|
|
25
25
|
"test": "genx test --browser",
|
|
26
|
-
"test:coverage": "genx test --browser --coverage",
|
|
27
26
|
"test:coverage:browser": "genx test --coverage --browser",
|
|
28
27
|
"test:unit:browser": "genx test --browser",
|
|
29
28
|
"test:unit:browser:watch": "genx test --browser --watch",
|
|
@@ -31,15 +30,15 @@
|
|
|
31
30
|
"test:debug": "genx test --debug"
|
|
32
31
|
},
|
|
33
32
|
"devDependencies": {
|
|
34
|
-
"@genesislcap/foundation-testing": "14.92.
|
|
35
|
-
"@genesislcap/genx": "14.92.
|
|
33
|
+
"@genesislcap/foundation-testing": "14.92.3-beta.a19c58d.1",
|
|
34
|
+
"@genesislcap/genx": "14.92.3-beta.a19c58d.1",
|
|
36
35
|
"rimraf": "^3.0.2"
|
|
37
36
|
},
|
|
38
37
|
"dependencies": {
|
|
39
|
-
"@genesislcap/foundation-comms": "14.92.
|
|
40
|
-
"@genesislcap/foundation-logger": "14.92.
|
|
41
|
-
"@genesislcap/foundation-ui": "14.92.
|
|
42
|
-
"@genesislcap/foundation-utils": "14.92.
|
|
38
|
+
"@genesislcap/foundation-comms": "14.92.3-beta.a19c58d.1",
|
|
39
|
+
"@genesislcap/foundation-logger": "14.92.3-beta.a19c58d.1",
|
|
40
|
+
"@genesislcap/foundation-ui": "14.92.3-beta.a19c58d.1",
|
|
41
|
+
"@genesislcap/foundation-utils": "14.92.3-beta.a19c58d.1",
|
|
43
42
|
"@microsoft/fast-colors": "^5.1.4",
|
|
44
43
|
"@microsoft/fast-components": "^2.21.3",
|
|
45
44
|
"@microsoft/fast-element": "^1.7.0",
|
|
@@ -62,5 +61,5 @@
|
|
|
62
61
|
"access": "public"
|
|
63
62
|
},
|
|
64
63
|
"customElements": "dist/custom-elements.json",
|
|
65
|
-
"gitHead": "
|
|
64
|
+
"gitHead": "cff146f4f8b582b0992839560dc7538e923fd13e"
|
|
66
65
|
}
|