@genesislcap/grid-pro 14.162.2-alpha-37a3d46.0 → 14.162.2-alpha-3bdf355.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.
@@ -434,15 +434,6 @@
434
434
  }
435
435
  ]
436
436
  },
437
- {
438
- "kind": "field",
439
- "name": "blockScrollingOnContextMenu",
440
- "type": {
441
- "text": "boolean"
442
- },
443
- "default": "false",
444
- "description": "If true, will block scrolling when context menu is open and keep the grid in the same position without scrolling to new records"
445
- },
446
437
  {
447
438
  "kind": "field",
448
439
  "name": "classNames",
@@ -565,20 +556,6 @@
565
556
  }
566
557
  ]
567
558
  },
568
- {
569
- "kind": "field",
570
- "name": "selectedRowId",
571
- "type": {
572
- "text": "string"
573
- }
574
- },
575
- {
576
- "kind": "field",
577
- "name": "selectedColId",
578
- "type": {
579
- "text": "string"
580
- }
581
- },
582
559
  {
583
560
  "kind": "field",
584
561
  "name": "gridOptionsConfig",
@@ -1173,15 +1150,6 @@
1173
1150
  "text": "string"
1174
1151
  },
1175
1152
  "fieldName": "theme"
1176
- },
1177
- {
1178
- "name": "block-scrolling-on-context-menu",
1179
- "type": {
1180
- "text": "boolean"
1181
- },
1182
- "default": "false",
1183
- "description": "If true, will block scrolling when context menu is open and keep the grid in the same position without scrolling to new records",
1184
- "fieldName": "blockScrollingOnContextMenu"
1185
1153
  }
1186
1154
  ],
1187
1155
  "mixins": [
@@ -6009,11 +5977,6 @@
6009
5977
  }
6010
5978
  ]
6011
5979
  },
6012
- {
6013
- "kind": "method",
6014
- "name": "setPreviouslySelectedCell",
6015
- "privacy": "private"
6016
- },
6017
5980
  {
6018
5981
  "kind": "method",
6019
5982
  "name": "applyTransaction",
@@ -7347,15 +7310,6 @@
7347
7310
  "module": "src/datasource/base.datasource.ts"
7348
7311
  }
7349
7312
  },
7350
- {
7351
- "kind": "method",
7352
- "name": "setPreviouslySelectedCell",
7353
- "privacy": "private",
7354
- "inheritedFrom": {
7355
- "name": "GridProBaseDatasource",
7356
- "module": "src/datasource/base.datasource.ts"
7357
- }
7358
- },
7359
7313
  {
7360
7314
  "kind": "method",
7361
7315
  "name": "mapTransaction",
@@ -8734,15 +8688,6 @@
8734
8688
  "module": "src/datasource/base.datasource.ts"
8735
8689
  }
8736
8690
  },
8737
- {
8738
- "kind": "method",
8739
- "name": "setPreviouslySelectedCell",
8740
- "privacy": "private",
8741
- "inheritedFrom": {
8742
- "name": "GridProBaseDatasource",
8743
- "module": "src/datasource/base.datasource.ts"
8744
- }
8745
- },
8746
8691
  {
8747
8692
  "kind": "method",
8748
8693
  "name": "mapTransaction",
@@ -10204,15 +10149,6 @@
10204
10149
  "module": "src/datasource/base.datasource.ts"
10205
10150
  }
10206
10151
  },
10207
- {
10208
- "kind": "method",
10209
- "name": "setPreviouslySelectedCell",
10210
- "privacy": "private",
10211
- "inheritedFrom": {
10212
- "name": "GridProBaseDatasource",
10213
- "module": "src/datasource/base.datasource.ts"
10214
- }
10215
- },
10216
10152
  {
10217
10153
  "kind": "method",
10218
10154
  "name": "mapTransaction",
@@ -1,4 +1,4 @@
1
- import { ColDef, ColumnState, GridOptions, RowDataTransaction, ServerSideTransaction } from '@ag-grid-community/core';
1
+ import type { ColDef, ColumnState, GridOptions, RowDataTransaction, ServerSideTransaction } from '@ag-grid-community/core';
2
2
  import { FieldMetadata } from '@genesislcap/foundation-comms';
3
3
  import { Connect } from '@genesislcap/foundation-comms';
4
4
  import { FoundationElement } from '@microsoft/fast-foundation';
@@ -59,7 +59,6 @@ export declare class GridProBaseDatasource extends GenesisGridDatasourceElement
59
59
  protected applyAllAgTransactions(): void;
60
60
  private flashAddedCells;
61
61
  private applyMappedAgTransaction;
62
- private setPreviouslySelectedCell;
63
62
  protected applyTransaction(agTransaction: RowDataTransaction): any;
64
63
  protected applyTransactionAsync(agTransaction: RowDataTransaction, callback?: (res: any) => void): void;
65
64
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"base.datasource.d.ts","sourceRoot":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MAAM,EAAE;IAsEX,SAAS,CAAC,mBAAmB,CAAC,YAAY,EAAE,GAAG,EAAE;IAgBjD,SAAS,CAAC,mBAAmB,CAAC,WAAW,EAAE,GAAG,EAAE;IAgBhD,SAAS,CAAC,mBAAmB,CAAC,WAAW,EAAE,GAAG,EAAE;IAuBhD,SAAS,CAAC,sBAAsB;IAsChC,OAAO,CAAC,eAAe;IAMvB,OAAO,CAAC,wBAAwB;IAkBhC,SAAS,CAAC,gBAAgB,CAAC,aAAa,EAAE,kBAAkB,GAAG,GAAG;IAIlE,SAAS,CAAC,qBAAqB,CAAC,aAAa,EAAE,kBAAkB,EAAE,QAAQ,CAAC,EAAE,CAAC,GAAG,KAAA,KAAK,IAAI;IAI3F;;;;;OAKG;IACH,OAAO,CAAC,cAAc;CAwBvB;AAED,qBAAa,oBAAoB;IAC/B,SAAS,CAAC,KAAK,EAAE,MAAM,CAAC;IACxB,OAAO,EAAE,GAAG,CAAC,MAAM,EAAE,GAAG,CAAC,CAAa;CACvC"}
@@ -63,7 +63,20 @@ declare const GridPro_base: (new (...args: any[]) => {
63
63
  readonly scrollHeight: number;
64
64
  scrollLeft: number;
65
65
  scrollTop: number;
66
- readonly scrollWidth: number;
66
+ readonly scrollWidth: number; /**
67
+ * Injectable config that allows to change grid options on an app level basis
68
+ * To modify options, register instance of the config in DOM container that is
69
+ * above the grid or on the top level of the application, so it applies to all grids.
70
+ *
71
+ * @example
72
+ * ```
73
+ * DI.getOrCreateDOMContainer().register([
74
+ * Registration.instance<GridOptionsConfig>(GridOptionsConfig, {
75
+ * headerHeight: 50,
76
+ * }),
77
+ * ]);
78
+ * ```
79
+ */
67
80
  readonly shadowRoot: ShadowRoot;
68
81
  slot: string;
69
82
  readonly tagName: string;
@@ -123,11 +136,7 @@ declare const GridPro_base: (new (...args: any[]) => {
123
136
  readonly nodeType: number;
124
137
  nodeValue: string;
125
138
  readonly parentElement: HTMLElement;
126
- readonly parentNode: ParentNode; /**
127
- * Because we try and resize the grid to fit using callbacks on events, this will cause
128
- * a stack overflow of calls to resize, so we need to debounce it.
129
- * @internal
130
- */
139
+ readonly parentNode: ParentNode;
131
140
  readonly previousSibling: ChildNode;
132
141
  textContent: string;
133
142
  appendChild<T_1 extends Node>(node: T_1): T_1;
@@ -153,12 +162,7 @@ declare const GridPro_base: (new (...args: any[]) => {
153
162
  readonly DOCUMENT_POSITION_CONTAINS: number;
154
163
  readonly DOCUMENT_POSITION_DISCONNECTED: number;
155
164
  readonly DOCUMENT_POSITION_FOLLOWING: number;
156
- readonly DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC: number; /**
157
- * Gets the saved grid ColumnState[] from storage
158
- * @remarks This is used to restore the grid state when the grid is rehydrated
159
- * @privateRemarks Not using `columnApi.get|setColumnState()` for these flows as it doesn't work setting new columnDefs vs different ordering.
160
- * @public
161
- */
165
+ readonly DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC: number;
162
166
  readonly DOCUMENT_POSITION_PRECEDING: number;
163
167
  readonly DOCUMENT_TYPE_NODE: number;
164
168
  readonly ELEMENT_NODE: number;
@@ -277,15 +281,7 @@ declare const GridPro_base: (new (...args: any[]) => {
277
281
  onkeyup: (this: GlobalEventHandlers, ev: KeyboardEvent) => any;
278
282
  onload: (this: GlobalEventHandlers, ev: Event) => any;
279
283
  onloadeddata: (this: GlobalEventHandlers, ev: Event) => any;
280
- onloadedmetadata: (this: GlobalEventHandlers, ev: Event) => any; /**
281
- * Will merge templated column definitions with `columnDefs` plus localStorage's column state or `deferredColumnStates`.
282
- * @public
283
- * @remarks This will favor the column state from the browser's local storage over the `deferredColumnStates` property on the `grid-pro-genesis-datasource` element.
284
- * @param columnDefs - The column definitions to apply to the grid.
285
- * @param deferredColumnDefsOrState - If true, will merge the column definitions with the saved column state or the `deferredColumnStates` property
286
- * on the `grid-pro-genesis-datasource` element. Defaults to false but `grid-pro-genesis-datasource` will set this to true.
287
- * @returns The merged column definitions.
288
- */
284
+ onloadedmetadata: (this: GlobalEventHandlers, ev: Event) => any;
289
285
  onloadstart: (this: GlobalEventHandlers, ev: Event) => any;
290
286
  onlostpointercapture: (this: GlobalEventHandlers, ev: PointerEvent) => any;
291
287
  onmousedown: (this: GlobalEventHandlers, ev: MouseEvent) => any;
@@ -421,12 +417,6 @@ export declare class GridPro extends GridPro_base {
421
417
  rowHeight: number;
422
418
  theme: string;
423
419
  themeChanged(oldValue: string, newValue: string): void;
424
- /**
425
- * If true, will block scrolling when context menu is open and keep the grid in the same position without scrolling to new records
426
- * @remarks Defaults to false
427
- * @alpha
428
- */
429
- blockScrollingOnContextMenu: boolean;
430
420
  classNames: string;
431
421
  agGrid: Grid;
432
422
  gridSlot: HTMLSlotElement;
@@ -447,8 +437,6 @@ export declare class GridPro extends GridPro_base {
447
437
  setFilterModel(value: {
448
438
  [key: string]: any;
449
439
  }): Promise<void>;
450
- selectedRowId: string;
451
- selectedColId: string;
452
440
  /**
453
441
  * Injectable config that allows to change grid options on an app level basis
454
442
  * To modify options, register instance of the config in DOM container that is
@@ -1 +1 @@
1
- {"version":3,"file":"grid-pro.d.ts","sourceRoot":"","sources":["../../src/grid-pro.ts"],"names":[],"mappings":"AACA,OAAO,EACL,MAAM,EACN,SAAS,EACT,WAAW,EAGX,IAAI,EACJ,OAAO,EACP,WAAW,EAGZ,MAAM,yBAAyB,CAAC;AAQjC,OAAO,EAAE,iBAAiB,EAAE,MAAM,4BAA4B,CAAC;AAqB/D,OAAO,EAAE,qBAAqB,EAAE,MAAM,8BAA8B,CAAC;AAMrE,OAAO,EAKL,cAAc,EAId,iBAAiB,EACjB,eAAe,EAChB,MAAM,kBAAkB,CAAC;AAC1B,OAAO,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;qCAoRrD;;;;OAIG;;;;;;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;;;;OAIG;IACH,OAAO,CAAC,uBAAuB;IAW/B;;;OAGG;IACH,OAAO,CAAC,4BAA4B;YAItB,eAAe;IAc7B;;;;;OAKG;IACG,mBAAmB,IAAI,OAAO,CAAC,WAAW,EAAE,CAAC;YAUrC,kBAAkB;IAYhC,OAAO,CAAC,iBAAiB;IAInB,yBAAyB,IAAI,OAAO,CAAC,IAAI,CAAC;IAShD;;OAEG;IACH,IAAI,WAAW,IAAI,WAAW,CAE7B;IAED,IAAI,iBAAiB,IAAI,qBAAqB,CAM7C;IAED,IAAI,WAAW,CAAC,OAAO,EAAE,WAAW,EA+EnC;IAED,OAAO,CAAC,eAAe;IAwBvB;;;;;;OAMG;IACH,wBAAwB,CAAC,UAAU,EAAE,MAAM,EAAE,EAAE,yBAAyB,UAAQ;IAKhF;;;;;;;;OAQG;IACG,2BAA2B,CAAC,UAAU,EAAE,MAAM,EAAE,EAAE,yBAAyB,UAAQ;IAuFzF,IAAI,kBAAkB,aAerB;IAED,0BAA0B,CAAC,OAAO,KAAA,EAAE,QAAQ,KAAA,EAAE,QAAQ,KAAA;IAqBtD,mBAAmB,CAAC,SAAS,KAAA,EAAE,KAAK,KAAA;IAiBpC,OAAO,CAAC,eAAe,CAAa;IAEpC,OAAO,CAAC,cAAc;IAStB,OAAO,CAAC,eAAe;CAMxB;AAED;;;;;GAKG;AACH,eAAO,MAAM,8BAA8B,EAAE,cAA0B,CAAC;AAExE;;;GAGG;AACH,eAAO,MAAM,oBAAoB;;CAEhC,CAAC;AAEF;;;;;;GAMG;AACH,eAAO,MAAM,iBAAiB;;;;;;;;;;kBAM5B,CAAC"}
@@ -1,8 +1,7 @@
1
1
  import { __decorate } from "tslib";
2
- import { Events, } from '@ag-grid-community/core';
3
2
  import { DatasourceDefaults, FieldTypeEnum, logger, } from '@genesislcap/foundation-comms';
4
3
  import { Connect } from '@genesislcap/foundation-comms';
5
- import { attr, DOM, observable } from '@microsoft/fast-element';
4
+ import { attr, observable } from '@microsoft/fast-element';
6
5
  import { FoundationElement } from '@microsoft/fast-foundation';
7
6
  import { dateValueFormatter, dateTimeValueFormatter, getColumnType, getFilterByFieldType, } from '../grid-pro.definitions';
8
7
  import { GridProRendererTypes } from '../grid-pro.types';
@@ -233,35 +232,12 @@ export class GridProBaseDatasource extends GenesisGridDatasourceElement {
233
232
  this.applyTransactionAsync(this.mapTransaction(agTransaction, [operation]), (changedNodes) => {
234
233
  this.flashAddedCells(changedNodes.add);
235
234
  });
236
- if (this.agGrid.blockScrollingOnContextMenu) {
237
- const listenerEvent = (e) => {
238
- e.results.forEach((result) => {
239
- if (result.add.length || result.remove.length) {
240
- this.setPreviouslySelectedCell();
241
- }
242
- });
243
- };
244
- this.agGrid.gridApi.addEventListener(Events.EVENT_ASYNC_TRANSACTIONS_FLUSHED, listenerEvent);
245
- }
246
235
  }
247
236
  else {
248
237
  const changedNodes = this.applyTransaction(this.mapTransaction(agTransaction, [operation]));
249
238
  this.flashAddedCells(changedNodes.add);
250
- if (this.agGrid.blockScrollingOnContextMenu) {
251
- this.setPreviouslySelectedCell();
252
- }
253
239
  }
254
240
  }
255
- setPreviouslySelectedCell() {
256
- const previouslySelectedRowNode = this.agGrid.gridApi.getRowNode(this.agGrid.selectedRowId);
257
- const previouslySelectedColId = this.agGrid.selectedColId;
258
- if (!previouslySelectedRowNode || !previouslySelectedColId)
259
- return;
260
- DOM.queueUpdate(() => {
261
- this.agGrid.gridApi.setFocusedCell(previouslySelectedRowNode.rowIndex, previouslySelectedColId);
262
- this.agGrid.gridApi.ensureIndexVisible(previouslySelectedRowNode.rowIndex, 'middle');
263
- });
264
- }
265
241
  applyTransaction(agTransaction) {
266
242
  throw new Error('Method not implemented.');
267
243
  }
@@ -110,12 +110,6 @@ export class GridPro extends LifecycleMixin(FoundationElement) {
110
110
  this.gridFontFace = defaultAgGridFontFace;
111
111
  this.columnComponentName = 'grid-pro-column';
112
112
  this.theme = AgGridTheme.alpine;
113
- /**
114
- * If true, will block scrolling when context menu is open and keep the grid in the same position without scrolling to new records
115
- * @remarks Defaults to false
116
- * @alpha
117
- */
118
- this.blockScrollingOnContextMenu = false;
119
113
  this.rehydrationAttempted = false;
120
114
  this.gridEventsQueue = [];
121
115
  this._filterConfig = undefined;
@@ -300,7 +294,7 @@ export class GridPro extends LifecycleMixin(FoundationElement) {
300
294
  return;
301
295
  this.agAttributes[attrName] = attribute.value;
302
296
  });
303
- const { columnDefs, components, defaultColDef, onCellContextMenu, onGridReady, onFilterChanged } = options, rest = __rest(options, ["columnDefs", "components", "defaultColDef", "onCellContextMenu", "onGridReady", "onFilterChanged"]);
297
+ const { columnDefs, components, defaultColDef, onGridReady, onFilterChanged } = options, rest = __rest(options, ["columnDefs", "components", "defaultColDef", "onGridReady", "onFilterChanged"]);
304
298
  const derivedOptions = Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({}, this.gridOptionsConfig), { defaultColDef: Object.assign({ enableCellChangeFlash: this.enableCellFlashing, filter: true, resizable: true, sortable: true }, defaultColDef), components: this.combineAllGridComponents(components), suppressDragLeaveHidesColumns: true }), this.eventsAndCallbacks), { onGridReady: (event) => {
305
299
  var _a, _b;
306
300
  this.gridApi = (_a = options.api) !== null && _a !== void 0 ? _a : event.api;
@@ -324,20 +318,7 @@ export class GridPro extends LifecycleMixin(FoundationElement) {
324
318
  if (onFilterChanged) {
325
319
  onFilterChanged(filterChangedEvent);
326
320
  }
327
- }, onGridSizeChanged: gridOnChangeCallback, onSortChanged: gridOnChangeCallback, onCellContextMenu: (event) => {
328
- if (this.blockScrollingOnContextMenu) {
329
- debugger;
330
- this.selectedRowId = event.node.id;
331
- this.selectedColId = event.colDef.colId;
332
- this.addEventListener('click', (e) => {
333
- this.selectedRowId = undefined;
334
- this.selectedColId = undefined;
335
- }, { once: true });
336
- }
337
- if (onCellContextMenu) {
338
- onCellContextMenu(event);
339
- }
340
- } }), rest);
321
+ }, onGridSizeChanged: gridOnChangeCallback, onSortChanged: gridOnChangeCallback }), rest);
341
322
  if (this.gridProDatasource) {
342
323
  derivedOptions.columnDefs = columnDefs;
343
324
  this.initGridOptions(derivedOptions, globalEventListener);
@@ -574,9 +555,6 @@ __decorate([
574
555
  __decorate([
575
556
  attr
576
557
  ], GridPro.prototype, "theme", void 0);
577
- __decorate([
578
- attr({ attribute: 'block-scrolling-on-context-menu', mode: 'boolean' })
579
- ], GridPro.prototype, "blockScrollingOnContextMenu", void 0);
580
558
  __decorate([
581
559
  observable
582
560
  ], GridPro.prototype, "classNames", void 0);
@@ -9034,66 +9034,6 @@
9034
9034
  "isProtected": false,
9035
9035
  "isAbstract": false
9036
9036
  },
9037
- {
9038
- "kind": "Property",
9039
- "canonicalReference": "@genesislcap/grid-pro!GridPro#selectedColId:member",
9040
- "docComment": "",
9041
- "excerptTokens": [
9042
- {
9043
- "kind": "Content",
9044
- "text": "selectedColId: "
9045
- },
9046
- {
9047
- "kind": "Content",
9048
- "text": "string"
9049
- },
9050
- {
9051
- "kind": "Content",
9052
- "text": ";"
9053
- }
9054
- ],
9055
- "isReadonly": false,
9056
- "isOptional": false,
9057
- "releaseTag": "Public",
9058
- "name": "selectedColId",
9059
- "propertyTypeTokenRange": {
9060
- "startIndex": 1,
9061
- "endIndex": 2
9062
- },
9063
- "isStatic": false,
9064
- "isProtected": false,
9065
- "isAbstract": false
9066
- },
9067
- {
9068
- "kind": "Property",
9069
- "canonicalReference": "@genesislcap/grid-pro!GridPro#selectedRowId:member",
9070
- "docComment": "",
9071
- "excerptTokens": [
9072
- {
9073
- "kind": "Content",
9074
- "text": "selectedRowId: "
9075
- },
9076
- {
9077
- "kind": "Content",
9078
- "text": "string"
9079
- },
9080
- {
9081
- "kind": "Content",
9082
- "text": ";"
9083
- }
9084
- ],
9085
- "isReadonly": false,
9086
- "isOptional": false,
9087
- "releaseTag": "Public",
9088
- "name": "selectedRowId",
9089
- "propertyTypeTokenRange": {
9090
- "startIndex": 1,
9091
- "endIndex": 2
9092
- },
9093
- "isStatic": false,
9094
- "isProtected": false,
9095
- "isAbstract": false
9096
- },
9097
9037
  {
9098
9038
  "kind": "Method",
9099
9039
  "canonicalReference": "@genesislcap/grid-pro!GridPro#setFilterModel:member(1)",
@@ -39,9 +39,9 @@ import { LayoutCacheContainer } from '@genesislcap/foundation-utils';
39
39
  import { Logger } from '@genesislcap/foundation-logger';
40
40
  import { MetadataDetail } from '@genesislcap/foundation-comms';
41
41
  import { OverrideFoundationElementDefinition } from '@microsoft/fast-foundation';
42
- import { RowDataTransaction } from '@ag-grid-community/core';
42
+ import type { RowDataTransaction } from '@ag-grid-community/core';
43
43
  import type { RowNodeTransaction } from '@ag-grid-community/core';
44
- import { ServerSideTransaction } from '@ag-grid-community/core';
44
+ import type { ServerSideTransaction } from '@ag-grid-community/core';
45
45
  import type { ServerSideTransactionResult } from '@ag-grid-community/core';
46
46
  import { Session } from '@genesislcap/foundation-comms';
47
47
  import { SocketObservable } from '@genesislcap/foundation-comms';
@@ -1227,12 +1227,6 @@ export declare class GridPro extends GridPro_base {
1227
1227
  rowHeight: number;
1228
1228
  theme: string;
1229
1229
  themeChanged(oldValue: string, newValue: string): void;
1230
- /**
1231
- * If true, will block scrolling when context menu is open and keep the grid in the same position without scrolling to new records
1232
- * @remarks Defaults to false
1233
- * @alpha
1234
- */
1235
- blockScrollingOnContextMenu: boolean;
1236
1230
  classNames: string;
1237
1231
  agGrid: Grid;
1238
1232
  gridSlot: HTMLSlotElement;
@@ -1253,8 +1247,6 @@ export declare class GridPro extends GridPro_base {
1253
1247
  setFilterModel(value: {
1254
1248
  [key: string]: any;
1255
1249
  }): Promise<void>;
1256
- selectedRowId: string;
1257
- selectedColId: string;
1258
1250
  /**
1259
1251
  * Injectable config that allows to change grid options on an app level basis
1260
1252
  * To modify options, register instance of the config in DOM container that is
@@ -1392,7 +1384,20 @@ declare const GridPro_base: (new (...args: any[]) => {
1392
1384
  readonly scrollHeight: number;
1393
1385
  scrollLeft: number;
1394
1386
  scrollTop: number;
1395
- readonly scrollWidth: number;
1387
+ readonly scrollWidth: number; /**
1388
+ * Injectable config that allows to change grid options on an app level basis
1389
+ * To modify options, register instance of the config in DOM container that is
1390
+ * above the grid or on the top level of the application, so it applies to all grids.
1391
+ *
1392
+ * @example
1393
+ * ```
1394
+ * DI.getOrCreateDOMContainer().register([
1395
+ * Registration.instance<GridOptionsConfig>(GridOptionsConfig, {
1396
+ * headerHeight: 50,
1397
+ * }),
1398
+ * ]);
1399
+ * ```
1400
+ */
1396
1401
  readonly shadowRoot: ShadowRoot;
1397
1402
  slot: string;
1398
1403
  readonly tagName: string;
@@ -1452,11 +1457,7 @@ declare const GridPro_base: (new (...args: any[]) => {
1452
1457
  readonly nodeType: number;
1453
1458
  nodeValue: string;
1454
1459
  readonly parentElement: HTMLElement;
1455
- readonly parentNode: ParentNode; /**
1456
- * Because we try and resize the grid to fit using callbacks on events, this will cause
1457
- * a stack overflow of calls to resize, so we need to debounce it.
1458
- * @internal
1459
- */
1460
+ readonly parentNode: ParentNode;
1460
1461
  readonly previousSibling: ChildNode;
1461
1462
  textContent: string;
1462
1463
  appendChild<T_1 extends Node>(node: T_1): T_1;
@@ -1482,12 +1483,7 @@ declare const GridPro_base: (new (...args: any[]) => {
1482
1483
  readonly DOCUMENT_POSITION_CONTAINS: number;
1483
1484
  readonly DOCUMENT_POSITION_DISCONNECTED: number;
1484
1485
  readonly DOCUMENT_POSITION_FOLLOWING: number;
1485
- readonly DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC: number; /**
1486
- * Gets the saved grid ColumnState[] from storage
1487
- * @remarks This is used to restore the grid state when the grid is rehydrated
1488
- * @privateRemarks Not using `columnApi.get|setColumnState()` for these flows as it doesn't work setting new columnDefs vs different ordering.
1489
- * @public
1490
- */
1486
+ readonly DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC: number;
1491
1487
  readonly DOCUMENT_POSITION_PRECEDING: number;
1492
1488
  readonly DOCUMENT_TYPE_NODE: number;
1493
1489
  readonly ELEMENT_NODE: number;
@@ -1606,15 +1602,7 @@ declare const GridPro_base: (new (...args: any[]) => {
1606
1602
  onkeyup: (this: GlobalEventHandlers, ev: KeyboardEvent) => any;
1607
1603
  onload: (this: GlobalEventHandlers, ev: Event) => any;
1608
1604
  onloadeddata: (this: GlobalEventHandlers, ev: Event) => any;
1609
- onloadedmetadata: (this: GlobalEventHandlers, ev: Event) => any; /**
1610
- * Will merge templated column definitions with `columnDefs` plus localStorage's column state or `deferredColumnStates`.
1611
- * @public
1612
- * @remarks This will favor the column state from the browser's local storage over the `deferredColumnStates` property on the `grid-pro-genesis-datasource` element.
1613
- * @param columnDefs - The column definitions to apply to the grid.
1614
- * @param deferredColumnDefsOrState - If true, will merge the column definitions with the saved column state or the `deferredColumnStates` property
1615
- * on the `grid-pro-genesis-datasource` element. Defaults to false but `grid-pro-genesis-datasource` will set this to true.
1616
- * @returns The merged column definitions.
1617
- */
1605
+ onloadedmetadata: (this: GlobalEventHandlers, ev: Event) => any;
1618
1606
  onloadstart: (this: GlobalEventHandlers, ev: Event) => any;
1619
1607
  onlostpointercapture: (this: GlobalEventHandlers, ev: PointerEvent) => any;
1620
1608
  onmousedown: (this: GlobalEventHandlers, ev: MouseEvent) => any;
@@ -1688,7 +1676,6 @@ declare class GridProBaseDatasource extends GenesisGridDatasourceElement {
1688
1676
  protected applyAllAgTransactions(): void;
1689
1677
  private flashAddedCells;
1690
1678
  private applyMappedAgTransaction;
1691
- private setPreviouslySelectedCell;
1692
1679
  protected applyTransaction(agTransaction: RowDataTransaction): any;
1693
1680
  protected applyTransactionAsync(agTransaction: RowDataTransaction, callback?: (res: any) => void): void;
1694
1681
  /**
@@ -59,8 +59,6 @@ Grid Pro is a Web Component wrapper around the AG Grid Community library.
59
59
  | [persistColumnStateKey](./grid-pro.gridpro.persistcolumnstatekey.md) | | string | The key to use for persisting the column state in local broswer or KV storage. |
60
60
  | [persistFilterModelKey](./grid-pro.gridpro.persistfiltermodelkey.md) | | string | The key to use for persisting the filter model in local browser or KV storage. |
61
61
  | [rowHeight](./grid-pro.gridpro.rowheight.md) | | number | |
62
- | [selectedColId](./grid-pro.gridpro.selectedcolid.md) | | string | |
63
- | [selectedRowId](./grid-pro.gridpro.selectedrowid.md) | | string | |
64
62
  | [statePersistence](./grid-pro.gridpro.statepersistence.md) | | [StatePersistence](./grid-pro.statepersistence.md) | |
65
63
  | [theme](./grid-pro.gridpro.theme.md) | | string | |
66
64
 
@@ -45,9 +45,9 @@ import { LayoutCacheContainer } from '@genesislcap/foundation-utils';
45
45
  import { Logger } from '@genesislcap/foundation-logger';
46
46
  import { MetadataDetail } from '@genesislcap/foundation-comms';
47
47
  import { OverrideFoundationElementDefinition } from '@microsoft/fast-foundation';
48
- import { RowDataTransaction } from '@ag-grid-community/core';
48
+ import type { RowDataTransaction } from '@ag-grid-community/core';
49
49
  import type { RowNodeTransaction } from '@ag-grid-community/core';
50
- import { ServerSideTransaction } from '@ag-grid-community/core';
50
+ import type { ServerSideTransaction } from '@ag-grid-community/core';
51
51
  import type { ServerSideTransactionResult } from '@ag-grid-community/core';
52
52
  import { Session } from '@genesislcap/foundation-comms';
53
53
  import { SocketObservable } from '@genesislcap/foundation-comms';
@@ -804,8 +804,6 @@ export class GridPro extends GridPro_base {
804
804
  asyncUpdate: boolean;
805
805
  // (undocumented)
806
806
  autoCellRendererByType: boolean;
807
- // @alpha
808
- blockScrollingOnContextMenu: boolean;
809
807
  // (undocumented)
810
808
  classNames: string;
811
809
  // (undocumented)
@@ -867,10 +865,6 @@ export class GridPro extends GridPro_base {
867
865
  // (undocumented)
868
866
  rowHeight: number;
869
867
  // (undocumented)
870
- selectedColId: string;
871
- // (undocumented)
872
- selectedRowId: string;
873
- // (undocumented)
874
868
  setFilterModel(value: {
875
869
  [key: string]: any;
876
870
  }): Promise<void>;
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.162.2-alpha-37a3d46.0",
4
+ "version": "14.162.2-alpha-3bdf355.0",
5
5
  "sideEffects": false,
6
6
  "license": "SEE LICENSE IN license.txt",
7
7
  "main": "dist/esm/index.js",
@@ -30,20 +30,20 @@
30
30
  "test:debug": "genx test --debug"
31
31
  },
32
32
  "devDependencies": {
33
- "@genesislcap/foundation-testing": "14.162.2-alpha-37a3d46.0",
34
- "@genesislcap/genx": "14.162.2-alpha-37a3d46.0",
35
- "@genesislcap/rollup-builder": "14.162.2-alpha-37a3d46.0",
36
- "@genesislcap/ts-builder": "14.162.2-alpha-37a3d46.0",
37
- "@genesislcap/uvu-playwright-builder": "14.162.2-alpha-37a3d46.0",
38
- "@genesislcap/vite-builder": "14.162.2-alpha-37a3d46.0",
39
- "@genesislcap/webpack-builder": "14.162.2-alpha-37a3d46.0",
33
+ "@genesislcap/foundation-testing": "14.162.2-alpha-3bdf355.0",
34
+ "@genesislcap/genx": "14.162.2-alpha-3bdf355.0",
35
+ "@genesislcap/rollup-builder": "14.162.2-alpha-3bdf355.0",
36
+ "@genesislcap/ts-builder": "14.162.2-alpha-3bdf355.0",
37
+ "@genesislcap/uvu-playwright-builder": "14.162.2-alpha-3bdf355.0",
38
+ "@genesislcap/vite-builder": "14.162.2-alpha-3bdf355.0",
39
+ "@genesislcap/webpack-builder": "14.162.2-alpha-3bdf355.0",
40
40
  "rimraf": "^3.0.2"
41
41
  },
42
42
  "dependencies": {
43
- "@genesislcap/foundation-comms": "14.162.2-alpha-37a3d46.0",
44
- "@genesislcap/foundation-logger": "14.162.2-alpha-37a3d46.0",
45
- "@genesislcap/foundation-ui": "14.162.2-alpha-37a3d46.0",
46
- "@genesislcap/foundation-utils": "14.162.2-alpha-37a3d46.0",
43
+ "@genesislcap/foundation-comms": "14.162.2-alpha-3bdf355.0",
44
+ "@genesislcap/foundation-logger": "14.162.2-alpha-3bdf355.0",
45
+ "@genesislcap/foundation-ui": "14.162.2-alpha-3bdf355.0",
46
+ "@genesislcap/foundation-utils": "14.162.2-alpha-3bdf355.0",
47
47
  "@microsoft/fast-colors": "^5.3.1",
48
48
  "@microsoft/fast-components": "^2.30.6",
49
49
  "@microsoft/fast-element": "^1.12.0",
@@ -69,5 +69,5 @@
69
69
  "access": "public"
70
70
  },
71
71
  "customElements": "dist/custom-elements.json",
72
- "gitHead": "1ca1f5a8c54489a32e5bf7ca9cb0182a7822eaa0"
72
+ "gitHead": "d076373b92d17c4c8d5f0e504b6ee97f28b5b787"
73
73
  }
@@ -1,11 +0,0 @@
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; [GridPro](./grid-pro.gridpro.md) &gt; [selectedColId](./grid-pro.gridpro.selectedcolid.md)
4
-
5
- ## GridPro.selectedColId property
6
-
7
- **Signature:**
8
-
9
- ```typescript
10
- selectedColId: string;
11
- ```
@@ -1,11 +0,0 @@
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; [GridPro](./grid-pro.gridpro.md) &gt; [selectedRowId](./grid-pro.gridpro.selectedrowid.md)
4
-
5
- ## GridPro.selectedRowId property
6
-
7
- **Signature:**
8
-
9
- ```typescript
10
- selectedRowId: string;
11
- ```