@genesislcap/grid-pro 14.42.0 → 14.42.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.
@@ -3184,6 +3184,13 @@
3184
3184
  "text": "number"
3185
3185
  }
3186
3186
  },
3187
+ {
3188
+ "kind": "field",
3189
+ "name": "pollingInterval",
3190
+ "type": {
3191
+ "text": "number"
3192
+ }
3193
+ },
3187
3194
  {
3188
3195
  "kind": "field",
3189
3196
  "name": "movingView",
@@ -3241,7 +3248,8 @@
3241
3248
  },
3242
3249
  {
3243
3250
  "kind": "field",
3244
- "name": "rowId"
3251
+ "name": "rowIdAttr",
3252
+ "description": "Attribute to set an unique identifier for the row.\n\nDefaults to `ROW_REF` or `RECORD_ID` depending on the resource type."
3245
3253
  },
3246
3254
  {
3247
3255
  "kind": "field",
@@ -3365,7 +3373,7 @@
3365
3373
  },
3366
3374
  {
3367
3375
  "kind": "field",
3368
- "name": "rowIdByResourceType",
3376
+ "name": "rowId",
3369
3377
  "type": {
3370
3378
  "text": "string"
3371
3379
  },
@@ -3622,6 +3630,13 @@
3622
3630
  },
3623
3631
  "fieldName": "maxView"
3624
3632
  },
3633
+ {
3634
+ "name": "polling-interval",
3635
+ "type": {
3636
+ "text": "number"
3637
+ },
3638
+ "fieldName": "pollingInterval"
3639
+ },
3625
3640
  {
3626
3641
  "name": "moving-view",
3627
3642
  "type": {
@@ -3653,7 +3668,8 @@
3653
3668
  },
3654
3669
  {
3655
3670
  "name": "row-id",
3656
- "fieldName": "rowId"
3671
+ "description": "Attribute to set an unique identifier for the row.\n\nDefaults to `ROW_REF` or `RECORD_ID` depending on the resource type.",
3672
+ "fieldName": "rowIdAttr"
3657
3673
  },
3658
3674
  {
3659
3675
  "name": "restart-on-reconnection",
@@ -6,7 +6,12 @@ declare const GridProGenesisDatasource_base: (new (...args: any[]) => {
6
6
  cloneNode(deep?: boolean): Node;
7
7
  deepClone(): Node;
8
8
  readonly shouldRunDisconnect: boolean;
9
- readonly shouldRunConnect: boolean;
9
+ readonly shouldRunConnect: boolean; /**
10
+ * Attribute to set an unique identifier for the row.
11
+ *
12
+ * Defaults to `ROW_REF` or `RECORD_ID` depending on the resource type.
13
+ * @privateRemarks Attribute-only, not to be used as a property. Use `rowId` getter instead.
14
+ */
10
15
  "__#1@#_tryFindContainingLayout"(e: Element): import("@genesislcap/foundation-utils").FoundationLayoutContainer | import("@genesislcap/foundation-utils").LayoutCacheContainer | import("@genesislcap/foundation-utils").DOMContainer;
11
16
  connectedCallback(): void;
12
17
  readonly $fastController: import("@microsoft/fast-element").Controller;
@@ -41,7 +46,11 @@ declare const GridProGenesisDatasource_base: (new (...args: any[]) => {
41
46
  readonly classList: DOMTokenList;
42
47
  className: string;
43
48
  readonly clientHeight: number;
44
- readonly clientLeft: number;
49
+ readonly clientLeft: number; /**
50
+ * Initializes the datasource.
51
+ * @public
52
+ * @remarks This method is called automatically when the element is connected to the DOM.
53
+ */
45
54
  readonly clientTop: number;
46
55
  readonly clientWidth: number;
47
56
  id: string;
@@ -336,13 +345,20 @@ export declare class GridProGenesisDatasource extends GridProGenesisDatasource_b
336
345
  isSnapshot: boolean;
337
346
  maxRows: number;
338
347
  maxView: number;
348
+ pollingInterval: number;
339
349
  movingView: boolean;
340
350
  orderBy: string;
341
351
  request: any;
342
352
  resourceName: string;
343
353
  resourceNameChanged(oldValue: string, newValue: string): void;
344
354
  reverse: boolean;
345
- rowId: any;
355
+ /**
356
+ * Attribute to set an unique identifier for the row.
357
+ *
358
+ * Defaults to `ROW_REF` or `RECORD_ID` depending on the resource type.
359
+ * @privateRemarks Attribute-only, not to be used as a property. Use `rowId` getter instead.
360
+ */
361
+ rowIdAttr: any;
346
362
  restartOnReconnection: boolean;
347
363
  private dataSub;
348
364
  private updateSub;
@@ -359,7 +375,7 @@ export declare class GridProGenesisDatasource extends GridProGenesisDatasource_b
359
375
  disconnectedCallback(): void;
360
376
  deepClone(): Node;
361
377
  private get agGrid();
362
- private get rowIdByResourceType();
378
+ private get rowId();
363
379
  /**
364
380
  * Initializes the datasource.
365
381
  * @public
@@ -384,7 +400,7 @@ export declare class GridProGenesisDatasource extends GridProGenesisDatasource_b
384
400
  restart(): void;
385
401
  /**
386
402
  * Sends a DATA_LOGOFF when the resource is an active stream
387
- * @remarks Will only happen for DATASERER resources.
403
+ * @remarks Will only happen for streaming DATASERER resources.
388
404
  * @internal
389
405
  */
390
406
  private dataLogoff;
@@ -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,EAYX,MAAM,+BAA+B,CAAC;AAGvC,OAAO,EAAE,iBAAiB,EAAE,MAAM,4BAA4B,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAiB/D;;;;GAIG;AACH,qBAGa,wBAAyB,SAAQ,6BAAiC;IACpE,OAAO,EAAG,OAAO,CAAC;IACf,UAAU,EAAG,UAAU,CAAC;IAExB,mBAAmB,EAAE,WAAW,CAAC;IACvC,QAAQ,EAAE,MAAM,CAAC;IACvB,eAAe,CAAC,WAAW,EAAE,MAAM,EAAE,WAAW,EAAE,MAAM;IAalD,MAAM,EAAE,MAAM,CAAC;IACgC,UAAU,U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A0CvB,OAAO,CAAC,aAAa;IAMd,SAAS,CAAC,SAAS,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM;IAK9C,YAAY,CAAC,SAAS,EAAE,MAAM;CAItC"}
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,EAYX,MAAM,+BAA+B,CAAC;AAGvC,OAAO,EAAE,iBAAiB,EAAE,MAAM,4BAA4B,CAAC;;;;;;wCA6D7D;;;;;OAKG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iCAuEH;;;;OAIG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA5HL;;;;GAIG;AACH,qBAGa,wBAAyB,SAAQ,6BAAiC;IACpE,OAAO,EAAG,OAAO,CAAC;IACf,UAAU,EAAG,UAAU,CAAC;IAExB,mBAAmB,EAAE,WAAW,CAAC;IACvC,QAAQ,EAAE,MAAM,CAAC;IACvB,eAAe,CAAC,WAAW,EAAE,MAAM,EAAE,WAAW,EAAE,MAAM;IAalD,MAAM,EAAE,MAAM,CAAC;IACgC,UAAU,UAAS;IACvC,OAAO,EAAE,MAAM,CAAmC;IAClD,OAAO,EAAE,MAAM,CAAoC;IAC3C,eAAe,EAAE,MAAM,CACf;IACI,UAAU,UAAS;IACvC,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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.restartOnReconnection = false;
@@ -55,7 +56,7 @@ let GridProGenesisDatasource = class GridProGenesisDatasource extends LifecycleM
55
56
  return;
56
57
  this.init();
57
58
  });
58
- this.connectionSub = this.connect.isConnectedSubject.subscribe((isConnected) => {
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) {
@@ -86,9 +87,9 @@ let GridProGenesisDatasource = class GridProGenesisDatasource extends LifecycleM
86
87
  return this.parentElement;
87
88
  }
88
89
  // Genesis Specific
89
- get rowIdByResourceType() {
90
- if (this.rowId)
91
- return this.rowId; // Allow user to override
90
+ get rowId() {
91
+ if (this.rowIdAttr)
92
+ return this.rowIdAttr; // Allow user to override
92
93
  if (this.isRequestServer)
93
94
  return 'RECORD_ID'; // REQUEST_SERVER default record id
94
95
  return 'ROW_REF'; // DATASERVER default record id
@@ -105,7 +106,6 @@ let GridProGenesisDatasource = class GridProGenesisDatasource extends LifecycleM
105
106
  this.connect.isConnected) {
106
107
  const meta = yield this.connect.getMetadata(this.resourceName);
107
108
  this.isRequestServer = meta.TYPE === ResourceType.REQUEST_SERVER;
108
- this.rowId = this.rowIdByResourceType;
109
109
  const gridOptions = Object.assign({ getRowId: (params) => params.data[this.rowId] }, this.deferredGridOptions);
110
110
  this.agGrid.gridOptions = Object.assign({}, gridOptions);
111
111
  this.agGrid.addEventListener('onGridReady', () => __awaiter(this, void 0, void 0, function* () {
@@ -166,14 +166,14 @@ let GridProGenesisDatasource = class GridProGenesisDatasource extends LifecycleM
166
166
  }
167
167
  /**
168
168
  * Sends a DATA_LOGOFF when the resource is an active stream
169
- * @remarks Will only happen for DATASERER resources.
169
+ * @remarks Will only happen for streaming DATASERER resources.
170
170
  * @internal
171
171
  */
172
172
  dataLogoff() {
173
- if (this.sourceRef) {
173
+ if (this.sourceRef && !this.isRequestServer && !this.isSnapshot) {
174
174
  this.connect.dataLogoff(this.sourceRef);
175
- this.sourceRef = undefined;
176
175
  }
176
+ this.sourceRef = undefined;
177
177
  }
178
178
  clearRowData() {
179
179
  var _a, _b;
@@ -251,6 +251,7 @@ let GridProGenesisDatasource = class GridProGenesisDatasource extends LifecycleM
251
251
  reverse: this.reverse,
252
252
  maxRows: this.maxRows,
253
253
  maxView: this.maxView,
254
+ pollingInterval: this.pollingInterval,
254
255
  movingView: this.movingView,
255
256
  };
256
257
  }
@@ -412,6 +413,9 @@ __decorate([
412
413
  __decorate([
413
414
  attr({ attribute: 'max-view' })
414
415
  ], GridProGenesisDatasource.prototype, "maxView", void 0);
416
+ __decorate([
417
+ attr({ attribute: 'polling-interval' })
418
+ ], GridProGenesisDatasource.prototype, "pollingInterval", void 0);
415
419
  __decorate([
416
420
  attr({ mode: 'boolean', attribute: 'moving-view' })
417
421
  ], GridProGenesisDatasource.prototype, "movingView", void 0);
@@ -429,7 +433,7 @@ __decorate([
429
433
  ], GridProGenesisDatasource.prototype, "reverse", void 0);
430
434
  __decorate([
431
435
  attr({ attribute: 'row-id' })
432
- ], GridProGenesisDatasource.prototype, "rowId", void 0);
436
+ ], GridProGenesisDatasource.prototype, "rowIdAttr", void 0);
433
437
  __decorate([
434
438
  attr({ mode: 'boolean', attribute: 'restart-on-reconnection' })
435
439
  ], GridProGenesisDatasource.prototype, "restartOnReconnection", void 0);
@@ -6939,6 +6939,36 @@
6939
6939
  "isProtected": false,
6940
6940
  "isAbstract": false
6941
6941
  },
6942
+ {
6943
+ "kind": "Property",
6944
+ "canonicalReference": "@genesislcap/grid-pro!GridProGenesisDatasource#pollingInterval:member",
6945
+ "docComment": "",
6946
+ "excerptTokens": [
6947
+ {
6948
+ "kind": "Content",
6949
+ "text": "pollingInterval: "
6950
+ },
6951
+ {
6952
+ "kind": "Content",
6953
+ "text": "number"
6954
+ },
6955
+ {
6956
+ "kind": "Content",
6957
+ "text": ";"
6958
+ }
6959
+ ],
6960
+ "isReadonly": false,
6961
+ "isOptional": false,
6962
+ "releaseTag": "Public",
6963
+ "name": "pollingInterval",
6964
+ "propertyTypeTokenRange": {
6965
+ "startIndex": 1,
6966
+ "endIndex": 2
6967
+ },
6968
+ "isStatic": false,
6969
+ "isProtected": false,
6970
+ "isAbstract": false
6971
+ },
6942
6972
  {
6943
6973
  "kind": "Method",
6944
6974
  "canonicalReference": "@genesislcap/grid-pro!GridProGenesisDatasource#removeFilter:member(1)",
@@ -7235,12 +7265,12 @@
7235
7265
  },
7236
7266
  {
7237
7267
  "kind": "Property",
7238
- "canonicalReference": "@genesislcap/grid-pro!GridProGenesisDatasource#rowId:member",
7239
- "docComment": "",
7268
+ "canonicalReference": "@genesislcap/grid-pro!GridProGenesisDatasource#rowIdAttr:member",
7269
+ "docComment": "/**\n * Attribute to set an unique identifier for the row.\n *\n * Defaults to `ROW_REF` or `RECORD_ID` depending on the resource type.\n */\n",
7240
7270
  "excerptTokens": [
7241
7271
  {
7242
7272
  "kind": "Content",
7243
- "text": "rowId: "
7273
+ "text": "rowIdAttr: "
7244
7274
  },
7245
7275
  {
7246
7276
  "kind": "Content",
@@ -7254,7 +7284,7 @@
7254
7284
  "isReadonly": false,
7255
7285
  "isOptional": false,
7256
7286
  "releaseTag": "Public",
7257
- "name": "rowId",
7287
+ "name": "rowIdAttr",
7258
7288
  "propertyTypeTokenRange": {
7259
7289
  "startIndex": 1,
7260
7290
  "endIndex": 2
@@ -1201,13 +1201,20 @@ export declare class GridProGenesisDatasource extends GridProGenesisDatasource_b
1201
1201
  isSnapshot: boolean;
1202
1202
  maxRows: number;
1203
1203
  maxView: number;
1204
+ pollingInterval: number;
1204
1205
  movingView: boolean;
1205
1206
  orderBy: string;
1206
1207
  request: any;
1207
1208
  resourceName: string;
1208
1209
  resourceNameChanged(oldValue: string, newValue: string): void;
1209
1210
  reverse: boolean;
1210
- rowId: any;
1211
+ /**
1212
+ * Attribute to set an unique identifier for the row.
1213
+ *
1214
+ * Defaults to `ROW_REF` or `RECORD_ID` depending on the resource type.
1215
+ * @privateRemarks Attribute-only, not to be used as a property. Use `rowId` getter instead.
1216
+ */
1217
+ rowIdAttr: any;
1211
1218
  restartOnReconnection: boolean;
1212
1219
  private dataSub;
1213
1220
  private updateSub;
@@ -1224,7 +1231,7 @@ export declare class GridProGenesisDatasource extends GridProGenesisDatasource_b
1224
1231
  disconnectedCallback(): void;
1225
1232
  deepClone(): Node;
1226
1233
  private get agGrid();
1227
- private get rowIdByResourceType();
1234
+ private get rowId();
1228
1235
  /**
1229
1236
  * Initializes the datasource.
1230
1237
  * @public
@@ -1249,7 +1256,7 @@ export declare class GridProGenesisDatasource extends GridProGenesisDatasource_b
1249
1256
  restart(): void;
1250
1257
  /**
1251
1258
  * Sends a DATA_LOGOFF when the resource is an active stream
1252
- * @remarks Will only happen for DATASERER resources.
1259
+ * @remarks Will only happen for streaming DATASERER resources.
1253
1260
  * @internal
1254
1261
  */
1255
1262
  private dataLogoff;
@@ -1275,7 +1282,12 @@ declare const GridProGenesisDatasource_base: (new (...args: any[]) => {
1275
1282
  cloneNode(deep?: boolean): Node;
1276
1283
  deepClone(): Node;
1277
1284
  readonly shouldRunDisconnect: boolean;
1278
- readonly shouldRunConnect: boolean;
1285
+ readonly shouldRunConnect: boolean; /**
1286
+ * Attribute to set an unique identifier for the row.
1287
+ *
1288
+ * Defaults to `ROW_REF` or `RECORD_ID` depending on the resource type.
1289
+ * @privateRemarks Attribute-only, not to be used as a property. Use `rowId` getter instead.
1290
+ */
1279
1291
  "__#1@#_tryFindContainingLayout"(e: Element): FoundationLayoutContainer | LayoutCacheContainer | DOMContainer;
1280
1292
  connectedCallback(): void;
1281
1293
  readonly $fastController: Controller;
@@ -1310,7 +1322,11 @@ declare const GridProGenesisDatasource_base: (new (...args: any[]) => {
1310
1322
  readonly classList: DOMTokenList;
1311
1323
  className: string;
1312
1324
  readonly clientHeight: number;
1313
- readonly clientLeft: number;
1325
+ readonly clientLeft: number; /**
1326
+ * Initializes the datasource.
1327
+ * @public
1328
+ * @remarks This method is called automatically when the element is connected to the DOM.
1329
+ */
1314
1330
  readonly clientTop: number;
1315
1331
  readonly clientWidth: number;
1316
1332
  id: string;
@@ -31,11 +31,12 @@ 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 | |
37
38
  | [reverse](./grid-pro.gridprogenesisdatasource.reverse.md) | | boolean | |
38
- | [rowId](./grid-pro.gridprogenesisdatasource.rowid.md) | | any | |
39
+ | [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> |
39
40
 
40
41
  ## Methods
41
42
 
@@ -1,11 +1,11 @@
1
1
  <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
2
 
3
- [Home](./index.md) &gt; [@genesislcap/grid-pro](./grid-pro.md) &gt; [GridProGenesisDatasource](./grid-pro.gridprogenesisdatasource.md) &gt; [rowId](./grid-pro.gridprogenesisdatasource.rowid.md)
3
+ [Home](./index.md) &gt; [@genesislcap/grid-pro](./grid-pro.md) &gt; [GridProGenesisDatasource](./grid-pro.gridprogenesisdatasource.md) &gt; [pollingInterval](./grid-pro.gridprogenesisdatasource.pollinginterval.md)
4
4
 
5
- ## GridProGenesisDatasource.rowId property
5
+ ## GridProGenesisDatasource.pollingInterval property
6
6
 
7
7
  **Signature:**
8
8
 
9
9
  ```typescript
10
- rowId: any;
10
+ pollingInterval: number;
11
11
  ```
@@ -0,0 +1,15 @@
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; [rowIdAttr](./grid-pro.gridprogenesisdatasource.rowidattr.md)
4
+
5
+ ## GridProGenesisDatasource.rowIdAttr property
6
+
7
+ Attribute to set an unique identifier for the row.
8
+
9
+ Defaults to `ROW_REF` or `RECORD_ID` depending on the resource type.
10
+
11
+ **Signature:**
12
+
13
+ ```typescript
14
+ rowIdAttr: any;
15
+ ```
@@ -651,6 +651,8 @@ export class GridProGenesisDatasource extends GridProGenesisDatasource_base {
651
651
  // (undocumented)
652
652
  orderBy: string;
653
653
  // (undocumented)
654
+ pollingInterval: number;
655
+ // (undocumented)
654
656
  removeFilter(fieldName: string): void;
655
657
  // (undocumented)
656
658
  request: any;
@@ -665,8 +667,7 @@ export class GridProGenesisDatasource extends GridProGenesisDatasource_base {
665
667
  restartOnReconnection: boolean;
666
668
  // (undocumented)
667
669
  reverse: boolean;
668
- // (undocumented)
669
- rowId: any;
670
+ rowIdAttr: any;
670
671
  // (undocumented)
671
672
  setFilter(fieldName: string, newFilter: string): void;
672
673
  }
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.42.0",
4
+ "version": "14.42.1",
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": "^14.42.0",
25
- "@genesislcap/genx": "^14.42.0",
24
+ "@genesislcap/foundation-testing": "^14.42.1",
25
+ "@genesislcap/genx": "^14.42.1",
26
26
  "bulma": "^0.9.3"
27
27
  },
28
28
  "dependencies": {
29
- "@genesislcap/foundation-comms": "^14.42.0",
30
- "@genesislcap/foundation-ui": "^14.42.0",
31
- "@genesislcap/foundation-utils": "^14.42.0",
29
+ "@genesislcap/foundation-comms": "^14.42.1",
30
+ "@genesislcap/foundation-ui": "^14.42.1",
31
+ "@genesislcap/foundation-utils": "^14.42.1",
32
32
  "@microsoft/fast-colors": "^5.1.4",
33
33
  "@microsoft/fast-components": "^2.21.3",
34
34
  "@microsoft/fast-element": "^1.7.0",
@@ -51,5 +51,5 @@
51
51
  "access": "public"
52
52
  },
53
53
  "customElements": "dist/custom-elements.json",
54
- "gitHead": "233ab7c726775767ca8c0f514e0c047ccea9a099"
54
+ "gitHead": "b688084443149d167ad4173e19d444f2bdeccab8"
55
55
  }