@genesislcap/grid-pro 14.111.0 → 14.111.1-alpha-68aaf00.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.
@@ -5886,6 +5886,19 @@
5886
5886
  "module": "src/grid-pro-genesis-datasource/grid-pro-genesis-datasource.ts"
5887
5887
  }
5888
5888
  },
5889
+ {
5890
+ "kind": "field",
5891
+ "name": "requestServerReplyMapper",
5892
+ "type": {
5893
+ "text": "Function"
5894
+ },
5895
+ "description": "A function to map the REQUES_SERVER's `REPLY` data before applying it to the grid.",
5896
+ "privacy": "public",
5897
+ "inheritedFrom": {
5898
+ "name": "GridProGenesisDatasource",
5899
+ "module": "src/grid-pro-genesis-datasource/grid-pro-genesis-datasource.ts"
5900
+ }
5901
+ },
5889
5902
  {
5890
5903
  "kind": "field",
5891
5904
  "name": "restartOnReconnection",
@@ -5893,6 +5906,8 @@
5893
5906
  "text": "boolean"
5894
5907
  },
5895
5908
  "default": "false",
5909
+ "description": "Whether to restart the datasource when the application reconnects.",
5910
+ "privacy": "public",
5896
5911
  "inheritedFrom": {
5897
5912
  "name": "GridProGenesisDatasource",
5898
5913
  "module": "src/grid-pro-genesis-datasource/grid-pro-genesis-datasource.ts"
@@ -6682,6 +6697,7 @@
6682
6697
  "text": "boolean"
6683
6698
  },
6684
6699
  "default": "false",
6700
+ "description": "Whether to restart the datasource when the application reconnects.",
6685
6701
  "fieldName": "restartOnReconnection",
6686
6702
  "inheritedFrom": {
6687
6703
  "name": "GridProGenesisDatasource",
@@ -8184,13 +8200,24 @@
8184
8200
  "name": "rowIdAttr",
8185
8201
  "description": "Attribute to set an unique identifier for the row.\n\nDefaults to `ROW_REF` or `RECORD_ID` depending on the resource type."
8186
8202
  },
8203
+ {
8204
+ "kind": "field",
8205
+ "name": "requestServerReplyMapper",
8206
+ "type": {
8207
+ "text": "Function"
8208
+ },
8209
+ "description": "A function to map the REQUES_SERVER's `REPLY` data before applying it to the grid.",
8210
+ "privacy": "public"
8211
+ },
8187
8212
  {
8188
8213
  "kind": "field",
8189
8214
  "name": "restartOnReconnection",
8190
8215
  "type": {
8191
8216
  "text": "boolean"
8192
8217
  },
8193
- "default": "false"
8218
+ "default": "false",
8219
+ "description": "Whether to restart the datasource when the application reconnects.",
8220
+ "privacy": "public"
8194
8221
  },
8195
8222
  {
8196
8223
  "kind": "field",
@@ -8912,6 +8939,7 @@
8912
8939
  "text": "boolean"
8913
8940
  },
8914
8941
  "default": "false",
8942
+ "description": "Whether to restart the datasource when the application reconnects.",
8915
8943
  "fieldName": "restartOnReconnection"
8916
8944
  },
8917
8945
  {
@@ -34,7 +34,16 @@ declare const GridProGenesisDatasource_base: (new (...args: any[]) => {
34
34
  hidden: boolean;
35
35
  inert: boolean;
36
36
  innerText: string;
37
- lang: string;
37
+ /**
38
+ * Returns the row id attribute, depending on the resource type.
39
+ * @remarks Will favour the `row-id` attribute if set.
40
+ * @internal
41
+ */
42
+ lang: string; /**
43
+ * Returns the row id attribute, depending on the resource type.
44
+ * @remarks Will favour the `row-id` attribute if set.
45
+ * @internal
46
+ */
38
47
  readonly offsetHeight: number;
39
48
  readonly offsetLeft: number;
40
49
  readonly offsetParent: Element;
@@ -64,11 +73,19 @@ declare const GridProGenesisDatasource_base: (new (...args: any[]) => {
64
73
  onfullscreenerror: (this: Element, ev: Event) => any;
65
74
  outerHTML: string;
66
75
  readonly ownerDocument: Document;
67
- readonly part: DOMTokenList;
76
+ readonly part: DOMTokenList; /**
77
+ * Deinitialises the datasource, resetting it to its initial state.
78
+ * @public
79
+ */
68
80
  readonly prefix: string;
69
81
  readonly scrollHeight: number;
70
82
  scrollLeft: number;
71
83
  scrollTop: number;
84
+ /**
85
+ * Resets the datasource to its initial state.
86
+ * @public
87
+ * @deprecated Use `deinit` instead
88
+ */
72
89
  readonly scrollWidth: number;
73
90
  readonly shadowRoot: ShadowRoot;
74
91
  slot: string;
@@ -354,6 +371,17 @@ export declare class GridProGenesisDatasource extends GridProGenesisDatasource_b
354
371
  * @privateRemarks Attribute-only, not to be used as a property. Use `rowId` getter instead.
355
372
  */
356
373
  rowIdAttr: any;
374
+ /**
375
+ * A function to map the REQUES_SERVER's `REPLY` data before applying it to the grid.
376
+ * @remarks This is only used when the resource type is REQUEST_SERVER.
377
+ * @public
378
+ */
379
+ requestServerReplyMapper: Function;
380
+ /**
381
+ * Whether to restart the datasource when the application reconnects.
382
+ * @remarks Defaults to false.
383
+ * @public
384
+ */
357
385
  restartOnReconnection: boolean;
358
386
  /**
359
387
  * Allows grid data updates to be processed via and external function before applying in grid
@@ -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":"AACA,OAAO,EACL,IAAI,EACJ,UAAU,EAaX,MAAM,+BAA+B,CAAC;AAMvC,OAAO,EAAE,qBAAqB,EAAE,MAAM,+BAA+B,CAAC;AAgBtE;;;GAGG;AACH,oBAAY,aAAa;IACvB,GAAG,QAAQ;IACX,MAAM,WAAW;IACjB,MAAM,WAAW;CAClB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAED;;;;GAIG;AACH,qBAGa,wBAAyB,SAAQ,6BAAqC;IAC3E,IAAI,EAAG,IAAI,CAAC;IACN,UAAU,EAAG,UAAU,CAAC;IAGpC,eAAe,CAAC,WAAW,EAAE,MAAM,E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BtB,OAAO,CAAC,iBAAiB;IAiBzB,OAAO,CAAC,kBAAkB;IAU1B,OAAO,CAAC,sBAAsB;IA8C9B,OAAO,CAAC,mBAAmB;IAqB3B,OAAO,CAAC,sBAAsB;IAmC9B,OAAO,CAAC,eAAe;IAMvB,OAAO,CAAC,wBAAwB;IAqBhC;;;;;OAKG;IACH,OAAO,CAAC,cAAc;IAyBtB,OAAO,CAAC,mBAAmB;IAgB3B,OAAO,CAAC,mBAAmB;IAO3B,OAAO,CAAC,mBAAmB;IAW3B,OAAO,CAAC,eAAe;IAkEvB,OAAO,CAAC,aAAa;IAMd,SAAS,CAAC,SAAS,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM;IAK9C,YAAY,CAAC,SAAS,EAAE,MAAM;CAItC"}
@@ -32,6 +32,11 @@ let GridProGenesisDatasource = class GridProGenesisDatasource extends LifecycleM
32
32
  super(...arguments);
33
33
  this.pollingInterval = DatasourceDefaults.REQ_REP_POLLING_INTERVAL_MS;
34
34
  this.disablePolling = false;
35
+ /**
36
+ * Whether to restart the datasource when the application reconnects.
37
+ * @remarks Defaults to false.
38
+ * @public
39
+ */
35
40
  this.restartOnReconnection = false;
36
41
  this.isRequestServer = false;
37
42
  this.requiresFullRowDataAndColDefs = true;
@@ -292,7 +297,9 @@ let GridProGenesisDatasource = class GridProGenesisDatasource extends LifecycleM
292
297
  if (Array.isArray(result))
293
298
  return result;
294
299
  if (result.REPLY) {
295
- return result.REPLY;
300
+ return this.requestServerReplyMapper && result.REPLY.length > 0
301
+ ? this.requestServerReplyMapper(result.REPLY)
302
+ : result.REPLY;
296
303
  }
297
304
  if (result.ROW) {
298
305
  return dataServerResultFilter(result).inserts;
@@ -327,7 +334,9 @@ let GridProGenesisDatasource = class GridProGenesisDatasource extends LifecycleM
327
334
  }
328
335
  applyRequestServerData(requestServerResult) {
329
336
  var _a;
330
- const requestServerData = requestServerResult.REPLY;
337
+ const requestServerData = this.requestServerReplyMapper && requestServerResult.REPLY.length > 0
338
+ ? this.requestServerReplyMapper(requestServerResult.REPLY)
339
+ : requestServerResult.REPLY;
331
340
  if (!Array.isArray(requestServerData) ||
332
341
  !((_a = requestServerResult.MESSAGE_TYPE) === null || _a === void 0 ? void 0 : _a.startsWith('REP_'))) {
333
342
  logger.error('received invalid RequestServerResult', requestServerResult);
@@ -542,6 +551,9 @@ __decorate([
542
551
  __decorate([
543
552
  attr({ attribute: 'row-id' })
544
553
  ], GridProGenesisDatasource.prototype, "rowIdAttr", void 0);
554
+ __decorate([
555
+ observable
556
+ ], GridProGenesisDatasource.prototype, "requestServerReplyMapper", void 0);
545
557
  __decorate([
546
558
  attr({ mode: 'boolean', attribute: 'restart-on-reconnection' })
547
559
  ], GridProGenesisDatasource.prototype, "restartOnReconnection", void 0);
@@ -9828,6 +9828,37 @@
9828
9828
  "isProtected": false,
9829
9829
  "isAbstract": false
9830
9830
  },
9831
+ {
9832
+ "kind": "Property",
9833
+ "canonicalReference": "@genesislcap/grid-pro!GridProGenesisDatasource#requestServerReplyMapper:member",
9834
+ "docComment": "/**\n * A function to map the REQUES_SERVER's `REPLY` data before applying it to the grid.\n *\n * @remarks\n *\n * This is only used when the resource type is REQUEST_SERVER.\n *\n * @public\n */\n",
9835
+ "excerptTokens": [
9836
+ {
9837
+ "kind": "Content",
9838
+ "text": "requestServerReplyMapper: "
9839
+ },
9840
+ {
9841
+ "kind": "Reference",
9842
+ "text": "Function",
9843
+ "canonicalReference": "!Function:interface"
9844
+ },
9845
+ {
9846
+ "kind": "Content",
9847
+ "text": ";"
9848
+ }
9849
+ ],
9850
+ "isReadonly": false,
9851
+ "isOptional": false,
9852
+ "releaseTag": "Public",
9853
+ "name": "requestServerReplyMapper",
9854
+ "propertyTypeTokenRange": {
9855
+ "startIndex": 1,
9856
+ "endIndex": 2
9857
+ },
9858
+ "isStatic": false,
9859
+ "isProtected": false,
9860
+ "isAbstract": false
9861
+ },
9831
9862
  {
9832
9863
  "kind": "Method",
9833
9864
  "canonicalReference": "@genesislcap/grid-pro!GridProGenesisDatasource#reset:member(1)",
@@ -9957,7 +9988,7 @@
9957
9988
  {
9958
9989
  "kind": "Property",
9959
9990
  "canonicalReference": "@genesislcap/grid-pro!GridProGenesisDatasource#restartOnReconnection:member",
9960
- "docComment": "",
9991
+ "docComment": "/**\n * Whether to restart the datasource when the application reconnects.\n *\n * @remarks\n *\n * Defaults to false.\n *\n * @public\n */\n",
9961
9992
  "excerptTokens": [
9962
9993
  {
9963
9994
  "kind": "Content",
@@ -1615,6 +1615,17 @@ export declare class GridProGenesisDatasource extends GridProGenesisDatasource_b
1615
1615
  * @privateRemarks Attribute-only, not to be used as a property. Use `rowId` getter instead.
1616
1616
  */
1617
1617
  rowIdAttr: any;
1618
+ /**
1619
+ * A function to map the REQUES_SERVER's `REPLY` data before applying it to the grid.
1620
+ * @remarks This is only used when the resource type is REQUEST_SERVER.
1621
+ * @public
1622
+ */
1623
+ requestServerReplyMapper: Function;
1624
+ /**
1625
+ * Whether to restart the datasource when the application reconnects.
1626
+ * @remarks Defaults to false.
1627
+ * @public
1628
+ */
1618
1629
  restartOnReconnection: boolean;
1619
1630
  /**
1620
1631
  * Allows grid data updates to be processed via and external function before applying in grid
@@ -1750,7 +1761,16 @@ declare const GridProGenesisDatasource_base: (new (...args: any[]) => {
1750
1761
  hidden: boolean;
1751
1762
  inert: boolean;
1752
1763
  innerText: string;
1753
- lang: string;
1764
+ /**
1765
+ * Returns the row id attribute, depending on the resource type.
1766
+ * @remarks Will favour the `row-id` attribute if set.
1767
+ * @internal
1768
+ */
1769
+ lang: string; /**
1770
+ * Returns the row id attribute, depending on the resource type.
1771
+ * @remarks Will favour the `row-id` attribute if set.
1772
+ * @internal
1773
+ */
1754
1774
  readonly offsetHeight: number;
1755
1775
  readonly offsetLeft: number;
1756
1776
  readonly offsetParent: Element;
@@ -1780,11 +1800,19 @@ declare const GridProGenesisDatasource_base: (new (...args: any[]) => {
1780
1800
  onfullscreenerror: (this: Element, ev: Event) => any;
1781
1801
  outerHTML: string;
1782
1802
  readonly ownerDocument: Document;
1783
- readonly part: DOMTokenList;
1803
+ readonly part: DOMTokenList; /**
1804
+ * Deinitialises the datasource, resetting it to its initial state.
1805
+ * @public
1806
+ */
1784
1807
  readonly prefix: string;
1785
1808
  readonly scrollHeight: number;
1786
1809
  scrollLeft: number;
1787
1810
  scrollTop: number;
1811
+ /**
1812
+ * Resets the datasource to its initial state.
1813
+ * @public
1814
+ * @deprecated Use `deinit` instead
1815
+ */
1788
1816
  readonly scrollWidth: number;
1789
1817
  readonly shadowRoot: ShadowRoot;
1790
1818
  slot: string;
@@ -26,7 +26,8 @@ Only supports Client-Side Row Model.
26
26
  | [disablePolling](./grid-pro.gridprogenesisdatasource.disablepolling.md) | | boolean | |
27
27
  | [pollingInterval](./grid-pro.gridprogenesisdatasource.pollinginterval.md) | | number | |
28
28
  | [request](./grid-pro.gridprogenesisdatasource.request.md) | | any | |
29
- | [restartOnReconnection](./grid-pro.gridprogenesisdatasource.restartonreconnection.md) | | boolean | |
29
+ | [requestServerReplyMapper](./grid-pro.gridprogenesisdatasource.requestserverreplymapper.md) | | Function | A function to map the REQUES\_SERVER's <code>REPLY</code> data before applying it to the grid. |
30
+ | [restartOnReconnection](./grid-pro.gridprogenesisdatasource.restartonreconnection.md) | | boolean | Whether to restart the datasource when the application reconnects. |
30
31
  | [rowDataMapper](./grid-pro.gridprogenesisdatasource.rowdatamapper.md) | | Function | Allows grid data updates to be processed via and external function before applying in grid |
31
32
  | [rowIdAttr](./grid-pro.gridprogenesisdatasource.rowidattr.md) | | any | <p>Attribute to set an unique identifier for the row.</p><p>Defaults to <code>ROW_REF</code> or <code>RECORD_ID</code> depending on the resource type.</p> |
32
33
 
@@ -0,0 +1,18 @@
1
+ <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
+
3
+ [Home](./index.md) &gt; [@genesislcap/grid-pro](./grid-pro.md) &gt; [GridProGenesisDatasource](./grid-pro.gridprogenesisdatasource.md) &gt; [requestServerReplyMapper](./grid-pro.gridprogenesisdatasource.requestserverreplymapper.md)
4
+
5
+ ## GridProGenesisDatasource.requestServerReplyMapper property
6
+
7
+ A function to map the REQUES\_SERVER's `REPLY` data before applying it to the grid.
8
+
9
+ **Signature:**
10
+
11
+ ```typescript
12
+ requestServerReplyMapper: Function;
13
+ ```
14
+
15
+ ## Remarks
16
+
17
+ This is only used when the resource type is REQUEST\_SERVER.
18
+
@@ -4,8 +4,15 @@
4
4
 
5
5
  ## GridProGenesisDatasource.restartOnReconnection property
6
6
 
7
+ Whether to restart the datasource when the application reconnects.
8
+
7
9
  **Signature:**
8
10
 
9
11
  ```typescript
10
12
  restartOnReconnection: boolean;
11
13
  ```
14
+
15
+ ## Remarks
16
+
17
+ Defaults to false.
18
+
@@ -899,12 +899,12 @@ export class GridProGenesisDatasource extends GridProGenesisDatasource_base {
899
899
  removeFilter(fieldName: string): void;
900
900
  // (undocumented)
901
901
  request: any;
902
+ requestServerReplyMapper: Function;
902
903
  // @deprecated
903
904
  reset(): void;
904
905
  // (undocumented)
905
906
  resourceNameChanged(oldValue: string, newValue: string): void;
906
907
  restart(): void;
907
- // (undocumented)
908
908
  restartOnReconnection: boolean;
909
909
  rowDataMapper: Function;
910
910
  rowIdAttr: 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.111.0",
4
+ "version": "14.111.1-alpha-68aaf00.0",
5
5
  "sideEffects": false,
6
6
  "license": "SEE LICENSE IN license.txt",
7
7
  "main": "dist/esm/index.js",
@@ -30,15 +30,15 @@
30
30
  "test:debug": "genx test --debug"
31
31
  },
32
32
  "devDependencies": {
33
- "@genesislcap/foundation-testing": "14.111.0",
34
- "@genesislcap/genx": "14.111.0",
33
+ "@genesislcap/foundation-testing": "14.111.1-alpha-68aaf00.0",
34
+ "@genesislcap/genx": "14.111.1-alpha-68aaf00.0",
35
35
  "rimraf": "^3.0.2"
36
36
  },
37
37
  "dependencies": {
38
- "@genesislcap/foundation-comms": "14.111.0",
39
- "@genesislcap/foundation-logger": "14.111.0",
40
- "@genesislcap/foundation-ui": "14.111.0",
41
- "@genesislcap/foundation-utils": "14.111.0",
38
+ "@genesislcap/foundation-comms": "14.111.1-alpha-68aaf00.0",
39
+ "@genesislcap/foundation-logger": "14.111.1-alpha-68aaf00.0",
40
+ "@genesislcap/foundation-ui": "14.111.1-alpha-68aaf00.0",
41
+ "@genesislcap/foundation-utils": "14.111.1-alpha-68aaf00.0",
42
42
  "@microsoft/fast-colors": "^5.1.4",
43
43
  "@microsoft/fast-components": "^2.21.3",
44
44
  "@microsoft/fast-element": "^1.7.0",
@@ -62,5 +62,5 @@
62
62
  "access": "public"
63
63
  },
64
64
  "customElements": "dist/custom-elements.json",
65
- "gitHead": "0c31fba858b96301de66b943782474508db6a967"
65
+ "gitHead": "f0470fd221605dbea52d5db42eb83bb0cc4eae7d"
66
66
  }