@genesislcap/grid-pro 14.64.2 → 14.64.4-alpha-732a0c5.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.
@@ -3162,6 +3162,13 @@
3162
3162
  "description": "The Genesis Datasource element, for CSRM-compatible data fetching and used exclusively by the GridPro element.",
3163
3163
  "name": "GridProGenesisDatasource",
3164
3164
  "members": [
3165
+ {
3166
+ "kind": "field",
3167
+ "name": "auth",
3168
+ "type": {
3169
+ "text": "Auth"
3170
+ }
3171
+ },
3165
3172
  {
3166
3173
  "kind": "field",
3167
3174
  "name": "connect",
@@ -3831,14 +3838,6 @@
3831
3838
  "type": {
3832
3839
  "text": "ColumnState[]"
3833
3840
  }
3834
- },
3835
- {
3836
- "name": "arr1Field",
3837
- "default": "'field'"
3838
- },
3839
- {
3840
- "name": "arr2Field",
3841
- "default": "'colId'"
3842
3841
  }
3843
3842
  ],
3844
3843
  "description": "Merges two arrays, one of `ColDef` and one of `ColumnState`, and deduplicates them.",
@@ -1,5 +1,5 @@
1
1
  import { GridOptions } from '@ag-grid-community/core';
2
- import { Connect, Datasource } from '@genesislcap/foundation-comms';
2
+ import { Auth, Connect, Datasource } from '@genesislcap/foundation-comms';
3
3
  import { FoundationElement } from '@microsoft/fast-foundation';
4
4
  declare const GridProGenesisDatasource_base: (new (...args: any[]) => {
5
5
  "__#1@#_container": import("@genesislcap/foundation-utils").FoundationLayoutContainer | import("@genesislcap/foundation-utils").LayoutCacheContainer | import("@genesislcap/foundation-utils").DOMContainer;
@@ -72,21 +72,9 @@ declare const GridProGenesisDatasource_base: (new (...args: any[]) => {
72
72
  getBoundingClientRect(): DOMRect;
73
73
  getClientRects(): DOMRectList;
74
74
  getElementsByClassName(classNames: string): HTMLCollectionOf<Element>;
75
- getElementsByTagName<K_4 extends keyof HTMLElementTagNameMap>(qualifiedName: K_4): HTMLCollectionOf<HTMLElementTagNameMap[K_4]>; /**
76
- * Resets the datasource to its initial state.
77
- * @public
78
- * @deprecated Use `deinit` instead
79
- */
80
- getElementsByTagName<K_5 extends keyof SVGElementTagNameMap>(qualifiedName: K_5): HTMLCollectionOf<SVGElementTagNameMap[K_5]>; /**
81
- * Resets the datasource to its initial state.
82
- * @public
83
- * @deprecated Use `deinit` instead
84
- */
85
- getElementsByTagName(qualifiedName: string): HTMLCollectionOf<Element>; /**
86
- * Resets the datasource to its initial state.
87
- * @public
88
- * @deprecated Use `deinit` instead
89
- */
75
+ getElementsByTagName<K_4 extends keyof HTMLElementTagNameMap>(qualifiedName: K_4): HTMLCollectionOf<HTMLElementTagNameMap[K_4]>;
76
+ getElementsByTagName<K_5 extends keyof SVGElementTagNameMap>(qualifiedName: K_5): HTMLCollectionOf<SVGElementTagNameMap[K_5]>;
77
+ getElementsByTagName(qualifiedName: string): HTMLCollectionOf<Element>;
90
78
  getElementsByTagNameNS(namespaceURI: "http://www.w3.org/1999/xhtml", localName: string): HTMLCollectionOf<HTMLElement>;
91
79
  getElementsByTagNameNS(namespaceURI: "http://www.w3.org/2000/svg", localName: string): HTMLCollectionOf<SVGElement>;
92
80
  getElementsByTagNameNS(namespace: string, localName: string): HTMLCollectionOf<Element>;
@@ -98,6 +86,11 @@ declare const GridProGenesisDatasource_base: (new (...args: any[]) => {
98
86
  insertAdjacentHTML(position: InsertPosition, text: string): void;
99
87
  insertAdjacentText(where: InsertPosition, data: string): void;
100
88
  matches(selectors: string): boolean;
89
+ /**
90
+ * Sends a DATA_LOGOFF when the resource is an active stream
91
+ * @remarks Will only happen for streaming DATASERER resources.
92
+ * @internal
93
+ */
101
94
  releasePointerCapture(pointerId: number): void;
102
95
  removeAttribute(qualifiedName: string): void;
103
96
  removeAttributeNS(namespace: string, localName: string): void;
@@ -339,6 +332,7 @@ declare const GridProGenesisDatasource_base: (new (...args: any[]) => {
339
332
  * @public
340
333
  */
341
334
  export declare class GridProGenesisDatasource extends GridProGenesisDatasource_base {
335
+ auth: Auth;
342
336
  connect: Connect;
343
337
  datasource: Datasource;
344
338
  deferredGridOptions: GridOptions;
@@ -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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;qIAuM7D;;;;OAIG;mIAJH;;;;OAIG;4EAJH;;;;OAIG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAzLL;;;;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;IASlD,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,OAAO,EAAE,MAAM,CAAC;IACrC,OAAO,EAAE,GAAG,CAAC;IACa,YAAY,EAAE,MAA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BAAsB;IA2C9B,OAAO,CAAC,mBAAmB;IAqB3B,OAAO,CAAC,cAAc;IAatB,OAAO,CAAC,mBAAmB;IAgB3B,OAAO,CAAC,mBAAmB;IAO3B,OAAO,CAAC,mBAAmB;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"}
@@ -5,5 +5,5 @@ import { ColDef, ColumnState } from '@ag-grid-community/core';
5
5
  * @privateRemarks For restoring saved `ColumnState` but also keep custom renderers and other `ColDef` properties.
6
6
  * @public
7
7
  */
8
- export declare function mergeAndDedupColDefWithColumnState(colDefs: ColDef[], columnStates: ColumnState[], arr1Field?: string, arr2Field?: string): ColDef[];
8
+ export declare function mergeAndDedupColDefWithColumnState(colDefs: ColDef[], columnStates: ColumnState[]): ColDef[];
9
9
  //# sourceMappingURL=array.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"array.d.ts","sourceRoot":"","sources":["../../../src/utils/array.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AAE9D;;;;;GAKG;AACH,wBAAgB,kCAAkC,CAChD,OAAO,EAAE,MAAM,EAAE,EACjB,YAAY,EAAE,WAAW,EAAE,EAC3B,SAAS,SAAU,EACnB,SAAS,SAAU,GAClB,MAAM,EAAE,CAuBV"}
1
+ {"version":3,"file":"array.d.ts","sourceRoot":"","sources":["../../../src/utils/array.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AAE9D;;;;;GAKG;AACH,wBAAgB,kCAAkC,CAChD,OAAO,EAAE,MAAM,EAAE,EACjB,YAAY,EAAE,WAAW,EAAE,GAC1B,MAAM,EAAE,CA8BV"}
@@ -1,5 +1,5 @@
1
1
  import { __awaiter, __decorate } from "tslib";
2
- import { Connect, dataServerResultFilter, Datasource, DatasourceDefaults, FieldTypeEnum, MessageType, normaliseCriteria, ResourceType, } from '@genesislcap/foundation-comms';
2
+ import { Auth, Connect, dataServerResultFilter, Datasource, DatasourceDefaults, FieldTypeEnum, MessageType, normaliseCriteria, ResourceType, } from '@genesislcap/foundation-comms';
3
3
  import { LifecycleMixin } from '@genesislcap/foundation-utils';
4
4
  import { attr, customElement, DOM, observable } from '@microsoft/fast-element';
5
5
  import { FoundationElement } from '@microsoft/fast-foundation';
@@ -179,7 +179,8 @@ let GridProGenesisDatasource = class GridProGenesisDatasource extends LifecycleM
179
179
  * @internal
180
180
  */
181
181
  dataLogoff() {
182
- if (this.sourceRef && !this.isRequestServer && !this.isSnapshot) {
182
+ const shouldPerformDataLogoff = this.sourceRef && !this.isRequestServer && !this.isSnapshot;
183
+ if (shouldPerformDataLogoff && this.auth.isLoggedIn) {
183
184
  this.connect.dataLogoff(this.sourceRef);
184
185
  }
185
186
  this.sourceRef = undefined;
@@ -439,6 +440,9 @@ let GridProGenesisDatasource = class GridProGenesisDatasource extends LifecycleM
439
440
  this.update.next(this.criteriaFromFilters);
440
441
  }
441
442
  };
443
+ __decorate([
444
+ Auth
445
+ ], GridProGenesisDatasource.prototype, "auth", void 0);
442
446
  __decorate([
443
447
  Connect
444
448
  ], GridProGenesisDatasource.prototype, "connect", void 0);
@@ -4,22 +4,24 @@
4
4
  * @privateRemarks For restoring saved `ColumnState` but also keep custom renderers and other `ColDef` properties.
5
5
  * @public
6
6
  */
7
- export function mergeAndDedupColDefWithColumnState(colDefs, columnStates, arr1Field = 'field', arr2Field = 'colId') {
7
+ export function mergeAndDedupColDefWithColumnState(colDefs, columnStates) {
8
8
  const merged = {};
9
9
  const deduplicated = [];
10
+ const fieldProp = 'field';
11
+ const colIdProp = 'colId';
10
12
  columnStates.forEach((state) => {
11
- const matchingColDef = colDefs.find((item) => item[arr1Field] === state[arr2Field]);
13
+ const matchingColDef = colDefs.find((item) => item[fieldProp] === state[colIdProp] ||
14
+ (item[colIdProp] && item[colIdProp] === state[colIdProp]));
12
15
  if (matchingColDef) {
13
16
  const colDefStateMerge = Object.assign(Object.assign({}, matchingColDef), state);
14
- delete colDefStateMerge[arr2Field];
15
- merged[matchingColDef[arr1Field]] = colDefStateMerge;
17
+ merged[matchingColDef[fieldProp]] = colDefStateMerge;
16
18
  deduplicated.push(colDefStateMerge);
17
19
  }
18
20
  });
19
21
  colDefs.forEach((def) => {
20
- if (!merged.hasOwnProperty(def[arr1Field])) {
22
+ if (!merged.hasOwnProperty(def[fieldProp])) {
21
23
  const newObj = Object.assign({}, def);
22
- merged[def[arr1Field]] = newObj;
24
+ merged[def[fieldProp]] = newObj;
23
25
  deduplicated.push(newObj);
24
26
  }
25
27
  });
@@ -6527,6 +6527,37 @@
6527
6527
  "name": "GridProGenesisDatasource",
6528
6528
  "preserveMemberOrder": false,
6529
6529
  "members": [
6530
+ {
6531
+ "kind": "Property",
6532
+ "canonicalReference": "@genesislcap/grid-pro!GridProGenesisDatasource#auth:member",
6533
+ "docComment": "",
6534
+ "excerptTokens": [
6535
+ {
6536
+ "kind": "Content",
6537
+ "text": "auth: "
6538
+ },
6539
+ {
6540
+ "kind": "Reference",
6541
+ "text": "Auth",
6542
+ "canonicalReference": "@genesislcap/foundation-comms!Auth:interface"
6543
+ },
6544
+ {
6545
+ "kind": "Content",
6546
+ "text": ";"
6547
+ }
6548
+ ],
6549
+ "isReadonly": false,
6550
+ "isOptional": false,
6551
+ "releaseTag": "Public",
6552
+ "name": "auth",
6553
+ "propertyTypeTokenRange": {
6554
+ "startIndex": 1,
6555
+ "endIndex": 2
6556
+ },
6557
+ "isStatic": false,
6558
+ "isProtected": false,
6559
+ "isAbstract": false
6560
+ },
6530
6561
  {
6531
6562
  "kind": "Property",
6532
6563
  "canonicalReference": "@genesislcap/grid-pro!GridProGenesisDatasource#connect:member",
@@ -7747,22 +7778,6 @@
7747
7778
  "kind": "Content",
7748
7779
  "text": "[]"
7749
7780
  },
7750
- {
7751
- "kind": "Content",
7752
- "text": ", arr1Field?: "
7753
- },
7754
- {
7755
- "kind": "Content",
7756
- "text": "string"
7757
- },
7758
- {
7759
- "kind": "Content",
7760
- "text": ", arr2Field?: "
7761
- },
7762
- {
7763
- "kind": "Content",
7764
- "text": "string"
7765
- },
7766
7781
  {
7767
7782
  "kind": "Content",
7768
7783
  "text": "): "
@@ -7783,8 +7798,8 @@
7783
7798
  ],
7784
7799
  "fileUrlPath": "src/utils/array.ts",
7785
7800
  "returnTypeTokenRange": {
7786
- "startIndex": 11,
7787
- "endIndex": 13
7801
+ "startIndex": 7,
7802
+ "endIndex": 9
7788
7803
  },
7789
7804
  "releaseTag": "Public",
7790
7805
  "overloadIndex": 1,
@@ -7804,22 +7819,6 @@
7804
7819
  "endIndex": 6
7805
7820
  },
7806
7821
  "isOptional": false
7807
- },
7808
- {
7809
- "parameterName": "arr1Field",
7810
- "parameterTypeTokenRange": {
7811
- "startIndex": 7,
7812
- "endIndex": 8
7813
- },
7814
- "isOptional": true
7815
- },
7816
- {
7817
- "parameterName": "arr2Field",
7818
- "parameterTypeTokenRange": {
7819
- "startIndex": 9,
7820
- "endIndex": 10
7821
- },
7822
- "isOptional": true
7823
7822
  }
7824
7823
  ],
7825
7824
  "name": "mergeAndDedupColDefWithColumnState"
@@ -1,4 +1,5 @@
1
1
  import { ActionMenuItem } from '@genesislcap/foundation-ui';
2
+ import { Auth } from '@genesislcap/foundation-comms';
2
3
  import { Binding } from '@microsoft/fast-element';
3
4
  import { CaptureType } from '@microsoft/fast-element';
4
5
  import { ColDef } from '@ag-grid-community/core';
@@ -1218,6 +1219,7 @@ export declare function gridProColumns<TSource = any>(itemsBinding: Binding<TSou
1218
1219
  * @public
1219
1220
  */
1220
1221
  export declare class GridProGenesisDatasource extends GridProGenesisDatasource_base {
1222
+ auth: Auth;
1221
1223
  connect: Connect;
1222
1224
  datasource: Datasource;
1223
1225
  deferredGridOptions: GridOptions;
@@ -1413,21 +1415,9 @@ declare const GridProGenesisDatasource_base: (new (...args: any[]) => {
1413
1415
  getBoundingClientRect(): DOMRect;
1414
1416
  getClientRects(): DOMRectList;
1415
1417
  getElementsByClassName(classNames: string): HTMLCollectionOf<Element>;
1416
- getElementsByTagName<K_4 extends keyof HTMLElementTagNameMap>(qualifiedName: K_4): HTMLCollectionOf<HTMLElementTagNameMap[K_4]>; /**
1417
- * Resets the datasource to its initial state.
1418
- * @public
1419
- * @deprecated Use `deinit` instead
1420
- */
1421
- getElementsByTagName<K_5 extends keyof SVGElementTagNameMap>(qualifiedName: K_5): HTMLCollectionOf<SVGElementTagNameMap[K_5]>; /**
1422
- * Resets the datasource to its initial state.
1423
- * @public
1424
- * @deprecated Use `deinit` instead
1425
- */
1426
- getElementsByTagName(qualifiedName: string): HTMLCollectionOf<Element>; /**
1427
- * Resets the datasource to its initial state.
1428
- * @public
1429
- * @deprecated Use `deinit` instead
1430
- */
1418
+ getElementsByTagName<K_4 extends keyof HTMLElementTagNameMap>(qualifiedName: K_4): HTMLCollectionOf<HTMLElementTagNameMap[K_4]>;
1419
+ getElementsByTagName<K_5 extends keyof SVGElementTagNameMap>(qualifiedName: K_5): HTMLCollectionOf<SVGElementTagNameMap[K_5]>;
1420
+ getElementsByTagName(qualifiedName: string): HTMLCollectionOf<Element>;
1431
1421
  getElementsByTagNameNS(namespaceURI: "http://www.w3.org/1999/xhtml", localName: string): HTMLCollectionOf<HTMLElement>;
1432
1422
  getElementsByTagNameNS(namespaceURI: "http://www.w3.org/2000/svg", localName: string): HTMLCollectionOf<SVGElement>;
1433
1423
  getElementsByTagNameNS(namespace: string, localName: string): HTMLCollectionOf<Element>;
@@ -1439,6 +1429,11 @@ declare const GridProGenesisDatasource_base: (new (...args: any[]) => {
1439
1429
  insertAdjacentHTML(position: InsertPosition, text: string): void;
1440
1430
  insertAdjacentText(where: InsertPosition, data: string): void;
1441
1431
  matches(selectors: string): boolean;
1432
+ /**
1433
+ * Sends a DATA_LOGOFF when the resource is an active stream
1434
+ * @remarks Will only happen for streaming DATASERER resources.
1435
+ * @internal
1436
+ */
1442
1437
  releasePointerCapture(pointerId: number): void;
1443
1438
  removeAttribute(qualifiedName: string): void;
1444
1439
  removeAttributeNS(namespace: string, localName: string): void;
@@ -2062,7 +2057,7 @@ export declare const logger: Logger;
2062
2057
  * @privateRemarks For restoring saved `ColumnState` but also keep custom renderers and other `ColDef` properties.
2063
2058
  * @public
2064
2059
  */
2065
- export declare function mergeAndDedupColDefWithColumnState(colDefs: ColDef[], columnStates: ColumnState[], arr1Field?: string, arr2Field?: string): ColDef[];
2060
+ export declare function mergeAndDedupColDefWithColumnState(colDefs: ColDef[], columnStates: ColumnState[]): ColDef[];
2066
2061
 
2067
2062
  declare interface SelectCellRendererParams extends ICellRendererParams {
2068
2063
  accessor: string;
@@ -0,0 +1,11 @@
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; [auth](./grid-pro.gridprogenesisdatasource.auth.md)
4
+
5
+ ## GridProGenesisDatasource.auth property
6
+
7
+ **Signature:**
8
+
9
+ ```typescript
10
+ auth: Auth;
11
+ ```
@@ -21,6 +21,7 @@ Only supports Client-Side Row Model.
21
21
 
22
22
  | Property | Modifiers | Type | Description |
23
23
  | --- | --- | --- | --- |
24
+ | [auth](./grid-pro.gridprogenesisdatasource.auth.md) | | Auth | |
24
25
  | [connect](./grid-pro.gridprogenesisdatasource.connect.md) | | Connect | |
25
26
  | [criteria](./grid-pro.gridprogenesisdatasource.criteria.md) | | string | |
26
27
  | [datasource](./grid-pro.gridprogenesisdatasource.datasource.md) | | Datasource | |
@@ -34,7 +34,7 @@
34
34
  | [dateTimeValueFormatter({ value })](./grid-pro.datetimevalueformatter.md) | Returns a formatted date time value from the Grid Pro cell value. |
35
35
  | [dateValueFormatter({ value })](./grid-pro.datevalueformatter.md) | Returns a formatted date value from the Grid Pro cell value. |
36
36
  | [gridProColumns(itemsBinding, includeRenderers)](./grid-pro.gridprocolumns.md) | A directive that renders a set of grid-pro-column elements from a given input binding |
37
- | [mergeAndDedupColDefWithColumnState(colDefs, columnStates, arr1Field, arr2Field)](./grid-pro.mergeanddedupcoldefwithcolumnstate.md) | Merges two arrays, one of <code>ColDef</code> and one of <code>ColumnState</code>, and deduplicates them. |
37
+ | [mergeAndDedupColDefWithColumnState(colDefs, columnStates)](./grid-pro.mergeanddedupcoldefwithcolumnstate.md) | Merges two arrays, one of <code>ColDef</code> and one of <code>ColumnState</code>, and deduplicates them. |
38
38
 
39
39
  ## Variables
40
40
 
@@ -9,7 +9,7 @@ Merges two arrays, one of `ColDef` and one of `ColumnState`<!-- -->, and dedupli
9
9
  **Signature:**
10
10
 
11
11
  ```typescript
12
- export declare function mergeAndDedupColDefWithColumnState(colDefs: ColDef[], columnStates: ColumnState[], arr1Field?: string, arr2Field?: string): ColDef[];
12
+ export declare function mergeAndDedupColDefWithColumnState(colDefs: ColDef[], columnStates: ColumnState[]): ColDef[];
13
13
  ```
14
14
 
15
15
  ## Parameters
@@ -18,8 +18,6 @@ export declare function mergeAndDedupColDefWithColumnState(colDefs: ColDef[], co
18
18
  | --- | --- | --- |
19
19
  | colDefs | ColDef\[\] | |
20
20
  | columnStates | ColumnState\[\] | |
21
- | arr1Field | string | _(Optional)_ |
22
- | arr2Field | string | _(Optional)_ |
23
21
 
24
22
  **Returns:**
25
23
 
@@ -5,6 +5,7 @@
5
5
  ```ts
6
6
 
7
7
  import { ActionMenuItem } from '@genesislcap/foundation-ui';
8
+ import { Auth } from '@genesislcap/foundation-comms';
8
9
  import { Binding } from '@microsoft/fast-element';
9
10
  import { CaptureType } from '@microsoft/fast-element';
10
11
  import { ColDef } from '@ag-grid-community/core';
@@ -628,6 +629,8 @@ export function gridProColumns<TSource = any>(itemsBinding: Binding<TSource, rea
628
629
  //
629
630
  // @public
630
631
  export class GridProGenesisDatasource extends GridProGenesisDatasource_base {
632
+ // (undocumented)
633
+ auth: Auth;
631
634
  // (undocumented)
632
635
  connect: Connect;
633
636
  // (undocumented)
@@ -749,7 +752,7 @@ export const gridProTemplate: ViewTemplate;
749
752
  export const logger: Logger;
750
753
 
751
754
  // @public
752
- export function mergeAndDedupColDefWithColumnState(colDefs: ColDef[], columnStates: ColumnState[], arr1Field?: string, arr2Field?: string): ColDef[];
755
+ export function mergeAndDedupColDefWithColumnState(colDefs: ColDef[], columnStates: ColumnState[]): ColDef[];
753
756
 
754
757
  // @public
755
758
  export class SelectRenderer extends FoundationElement implements ICellRendererComp {
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.64.2",
4
+ "version": "14.64.4-alpha-732a0c5.0",
5
5
  "sideEffects": false,
6
6
  "license": "SEE LICENSE IN license.txt",
7
7
  "main": "dist/esm/index.js",
@@ -28,14 +28,14 @@
28
28
  "test:debug": "genx test --debug"
29
29
  },
30
30
  "devDependencies": {
31
- "@genesislcap/foundation-testing": "14.64.2",
32
- "@genesislcap/genx": "14.64.2",
31
+ "@genesislcap/foundation-testing": "14.64.4-alpha-732a0c5.0",
32
+ "@genesislcap/genx": "14.64.4-alpha-732a0c5.0",
33
33
  "rimraf": "^3.0.2"
34
34
  },
35
35
  "dependencies": {
36
- "@genesislcap/foundation-comms": "14.64.2",
37
- "@genesislcap/foundation-ui": "14.64.2",
38
- "@genesislcap/foundation-utils": "14.64.2",
36
+ "@genesislcap/foundation-comms": "14.64.4-alpha-732a0c5.0",
37
+ "@genesislcap/foundation-ui": "14.64.4-alpha-732a0c5.0",
38
+ "@genesislcap/foundation-utils": "14.64.4-alpha-732a0c5.0",
39
39
  "@microsoft/fast-colors": "^5.1.4",
40
40
  "@microsoft/fast-components": "^2.21.3",
41
41
  "@microsoft/fast-element": "^1.7.0",
@@ -58,5 +58,5 @@
58
58
  "access": "public"
59
59
  },
60
60
  "customElements": "dist/custom-elements.json",
61
- "gitHead": "7d637a02f221bf07914f0f3d8d34f97a676d18ab"
61
+ "gitHead": "200e750a61c62012f0dd942ffce072929549a263"
62
62
  }