@genesislcap/grid-pro 14.194.1-alpha-d6fd42b.0 → 14.194.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.
@@ -523,15 +523,6 @@
523
523
  }
524
524
  ]
525
525
  },
526
- {
527
- "kind": "field",
528
- "name": "blockScrollingOnContextMenu",
529
- "type": {
530
- "text": "boolean"
531
- },
532
- "default": "false",
533
- "description": "If true, will block scrolling when context menu is open and keep the grid in the same position without scrolling to new records"
534
- },
535
526
  {
536
527
  "kind": "field",
537
528
  "name": "classNames",
@@ -663,20 +654,6 @@
663
654
  }
664
655
  ]
665
656
  },
666
- {
667
- "kind": "field",
668
- "name": "selectedRowId",
669
- "type": {
670
- "text": "string"
671
- }
672
- },
673
- {
674
- "kind": "field",
675
- "name": "selectedColId",
676
- "type": {
677
- "text": "string"
678
- }
679
- },
680
657
  {
681
658
  "kind": "field",
682
659
  "name": "gridOptionsConfig",
@@ -1304,15 +1281,6 @@
1304
1281
  "text": "string"
1305
1282
  },
1306
1283
  "fieldName": "theme"
1307
- },
1308
- {
1309
- "name": "block-scrolling-on-context-menu",
1310
- "type": {
1311
- "text": "boolean"
1312
- },
1313
- "default": "false",
1314
- "description": "If true, will block scrolling when context menu is open and keep the grid in the same position without scrolling to new records",
1315
- "fieldName": "blockScrollingOnContextMenu"
1316
1284
  }
1317
1285
  ],
1318
1286
  "mixins": [
@@ -6318,11 +6286,6 @@
6318
6286
  }
6319
6287
  ]
6320
6288
  },
6321
- {
6322
- "kind": "method",
6323
- "name": "setPreviouslySelectedCell",
6324
- "privacy": "private"
6325
- },
6326
6289
  {
6327
6290
  "kind": "method",
6328
6291
  "name": "applyTransaction",
@@ -7750,15 +7713,6 @@
7750
7713
  "module": "src/datasource/base.datasource.ts"
7751
7714
  }
7752
7715
  },
7753
- {
7754
- "kind": "method",
7755
- "name": "setPreviouslySelectedCell",
7756
- "privacy": "private",
7757
- "inheritedFrom": {
7758
- "name": "GridProBaseDatasource",
7759
- "module": "src/datasource/base.datasource.ts"
7760
- }
7761
- },
7762
7716
  {
7763
7717
  "kind": "method",
7764
7718
  "name": "mapTransaction",
@@ -9192,15 +9146,6 @@
9192
9146
  "module": "src/datasource/base.datasource.ts"
9193
9147
  }
9194
9148
  },
9195
- {
9196
- "kind": "method",
9197
- "name": "setPreviouslySelectedCell",
9198
- "privacy": "private",
9199
- "inheritedFrom": {
9200
- "name": "GridProBaseDatasource",
9201
- "module": "src/datasource/base.datasource.ts"
9202
- }
9203
- },
9204
9149
  {
9205
9150
  "kind": "method",
9206
9151
  "name": "mapTransaction",
@@ -10748,15 +10693,6 @@
10748
10693
  "module": "src/datasource/base.datasource.ts"
10749
10694
  }
10750
10695
  },
10751
- {
10752
- "kind": "method",
10753
- "name": "setPreviouslySelectedCell",
10754
- "privacy": "private",
10755
- "inheritedFrom": {
10756
- "name": "GridProBaseDatasource",
10757
- "module": "src/datasource/base.datasource.ts"
10758
- }
10759
- },
10760
10696
  {
10761
10697
  "kind": "method",
10762
10698
  "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 { DatasourceStatus, FieldMetadata } from '@genesislcap/foundation-comms';
3
3
  import { Connect } from '@genesislcap/foundation-comms';
4
4
  import type { GridPro } from '../grid-pro';
@@ -10,10 +10,6 @@ declare const GenesisGridDatasourceElement_base: new () => {
10
10
  connectedCallback(): void;
11
11
  disconnectedCallback(): void;
12
12
  accessKey: string;
13
- /**
14
- * Returns whether the `row-id` attribute is the default one, depending on the resource type.
15
- * @internal
16
- */
17
13
  readonly accessKeyLabel: string;
18
14
  autocapitalize: string;
19
15
  dir: string;
@@ -382,7 +378,6 @@ export declare class GridProBaseDatasource extends GenesisGridDatasourceElement
382
378
  protected applyAllAgTransactions(): void;
383
379
  private flashAddedCells;
384
380
  private applyMappedAgTransaction;
385
- private setPreviouslySelectedCell;
386
381
  protected applyTransaction(agTransaction: RowDataTransaction): any;
387
382
  protected applyTransactionAsync(agTransaction: RowDataTransaction, callback?: (res: any) => void): void;
388
383
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"base.datasource.d.ts","sourceRoot":"","sources":["../../../src/datasource/base.datasource.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,MAAM,EACN,WAAW,EAEX,WAAW,EACX,kBAAkB,EAClB,qBAAqB,EACtB,MAAM,yBAAyB,CAAC;AACjC,OAAO,EAGL,gBAAgB,EAChB,aAAa,EAId,MAAM,+BAA+B,CAAC;AACvC,OAAO,EAAE,OAAO,EAAE,MAAM,+BAA+B,CAAC;AAIxD,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,aAAa,CAAC;;;;;;;;;IAgDzC;;;OAGG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA1CL,qBAAa,4BAA6B,SAAQ,iCAAyC;IAChF,OAAO,EAAG,OAAO,CAAC;IAEf,mBAAmB,EAAE,WAAW,CAAC;IACjC,oBAAoB,EAAE,WAAW,EAAE,CAAC;IAEhD;;OAEG;IACS,aAAa,EAAE,QAAQ,CAAC;IAE9B,QAAQ,EAAE,MAAM,CAAC;IACjB,MAAM,EAAE,MAAM,CAAC;IACgC,UAAU,UAAS;IACvC,OAAO,EAAE,MAAM,CAAmC;IAClD,OAAO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W,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"}
@@ -169,11 +169,7 @@ declare const GridPro_base: (new (...args: any[]) => {
169
169
  readonly TEXT_NODE: number;
170
170
  dispatchEvent(event: Event): boolean;
171
171
  ariaAtomic: string;
172
- ariaAutoComplete: string; /**
173
- * Because we try and resize the grid to fit using callbacks on events, this will cause
174
- * a stack overflow of calls to resize, so we need to debounce it.
175
- * @internal
176
- */
172
+ ariaAutoComplete: string;
177
173
  ariaBusy: string;
178
174
  ariaChecked: string;
179
175
  ariaColCount: string;
@@ -290,6 +286,13 @@ declare const GridPro_base: (new (...args: any[]) => {
290
286
  onmousemove: (this: GlobalEventHandlers, ev: MouseEvent) => any;
291
287
  onmouseout: (this: GlobalEventHandlers, ev: MouseEvent) => any;
292
288
  onmouseover: (this: GlobalEventHandlers, ev: MouseEvent) => any;
289
+ /**
290
+ * Will merge templated column definitions with `columnDefs` plus localStorage's column state or `deferredColumnStates`.
291
+ * @deprecated use `applyTemplateDefinitions` instead.
292
+ * @param columnDefs - The column definitions to apply to the grid.
293
+ * @param deferredColumnDefsOrState - If true, will merge the column definitions with the saved column state or the `deferredColumnStates` property on the `grid-pro-genesis-datasource` element.
294
+ * @returns The merged column definitions.
295
+ */
293
296
  onmouseup: (this: GlobalEventHandlers, ev: MouseEvent) => any;
294
297
  onpause: (this: GlobalEventHandlers, ev: Event) => any;
295
298
  onplay: (this: GlobalEventHandlers, ev: Event) => any;
@@ -425,12 +428,6 @@ export declare class GridPro extends GridPro_base {
425
428
  rowHeight: number;
426
429
  theme: string;
427
430
  themeChanged(oldValue: string, newValue: string): void;
428
- /**
429
- * If true, will block scrolling when context menu is open and keep the grid in the same position without scrolling to new records
430
- * @remarks Defaults to false
431
- * @alpha
432
- */
433
- blockScrollingOnContextMenu: boolean;
434
431
  classNames: string;
435
432
  agGrid: Grid;
436
433
  gridSlot: HTMLSlotElement;
@@ -452,8 +449,6 @@ export declare class GridPro extends GridPro_base {
452
449
  setFilterModel(value: {
453
450
  [key: string]: any;
454
451
  }): Promise<void>;
455
- selectedRowId: string;
456
- selectedColId: string;
457
452
  /**
458
453
  * Injectable config that allows to change grid options on an app level basis
459
454
  * 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,EAAE,WAAW,EAAiB,IAAI,EAAkB,MAAM,yBAAyB,CAAC;AAC3F,OAAO,KAAK,EACV,MAAM,EACN,SAAS,EAET,OAAO,EACP,WAAW,EACX,UAAU,EAEX,MAAM,yBAAyB,CAAC;AAQjC,OAAO,EAAE,iBAAiB,EAAE,MAAM,4BAA4B,CAAC;AAoB/D,OAAO,EAAE,2BAA2B,EAAE,2BAA2B,EAAE,MAAM,cAAc,CAAC;AAExF,OAAO,EACL,wBAAwB,EAEzB,MAAM,+BAA+B,CAAC;AAQvC,OAAO,EAKL,cAAc,EAId,iBAAiB,EACjB,eAAe,EAEf,gBAAgB,EAChB,iBAAiB,EAElB,MAAM,kBAAkB,CAAC;AAC1B,OAAO,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AAcvD;;;GAGG;AACH,eAAO,MAAM,iBAAiB,szRAA8D,CAAC;;;;;;;;;;;;;;;;;;;;;;wBAyE3F;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WAAW,CAE7B;IAED;;OAEG;IACH,IAAI,UAAU,IAAI,UAAU,CAI3B;IAED;;;;OAIG;IACH,IAAI,iBAAiB,IACjB,wBAAwB,GACxB,2BAA2B,GAC3B,2BAA2B,CAM9B;IAED,IAAI,WAAW,CAAC,OAAO,EAAE,WAAW,EA2FnC;IAED,OAAO,CAAC,mBAAmB;IAO3B,OAAO,CAAC,QAAQ;IAehB;;;;;;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,aAarB;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, DatasourceEventHandler, FieldTypeEnum, logger, ResourceType, } 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';
@@ -236,35 +235,12 @@ export class GridProBaseDatasource extends GenesisGridDatasourceElement {
236
235
  this.applyTransactionAsync(this.mapTransaction(agTransaction, [operation]), (changedNodes) => {
237
236
  this.flashAddedCells(changedNodes.add);
238
237
  });
239
- if (this.agGrid.blockScrollingOnContextMenu) {
240
- const listenerEvent = (e) => {
241
- e.results.forEach((result) => {
242
- if (result.add.length || result.remove.length) {
243
- this.setPreviouslySelectedCell();
244
- }
245
- });
246
- };
247
- this.agGrid.gridApi.addEventListener(Events.EVENT_ASYNC_TRANSACTIONS_FLUSHED, listenerEvent);
248
- }
249
238
  }
250
239
  else {
251
240
  const changedNodes = this.applyTransaction(this.mapTransaction(agTransaction, [operation]));
252
241
  this.flashAddedCells(changedNodes.add);
253
- if (this.agGrid.blockScrollingOnContextMenu) {
254
- this.setPreviouslySelectedCell();
255
- }
256
242
  }
257
243
  }
258
- setPreviouslySelectedCell() {
259
- const previouslySelectedRowNode = this.agGrid.gridApi.getRowNode(this.agGrid.selectedRowId);
260
- const previouslySelectedColId = this.agGrid.selectedColId;
261
- if (!previouslySelectedRowNode || !previouslySelectedColId)
262
- return;
263
- DOM.queueUpdate(() => {
264
- this.agGrid.gridApi.setFocusedCell(previouslySelectedRowNode.rowIndex, previouslySelectedColId);
265
- this.agGrid.gridApi.ensureIndexVisible(previouslySelectedRowNode.rowIndex, 'middle');
266
- });
267
- }
268
244
  applyTransaction(agTransaction) {
269
245
  throw new Error('Method not implemented.');
270
246
  }
@@ -121,12 +121,6 @@ export class GridPro extends LifecycleMixin(FoundationElement) {
121
121
  this.gridFontFace = defaultAgGridFontFace;
122
122
  this.columnComponentName = 'grid-pro-column';
123
123
  this.theme = AgGridTheme.alpine;
124
- /**
125
- * If true, will block scrolling when context menu is open and keep the grid in the same position without scrolling to new records
126
- * @remarks Defaults to false
127
- * @alpha
128
- */
129
- this.blockScrollingOnContextMenu = false;
130
124
  this.rehydrationAttempted = false;
131
125
  this.rootEventsListeners = [];
132
126
  this.gridEventsQueue = [];
@@ -341,26 +335,8 @@ export class GridPro extends LifecycleMixin(FoundationElement) {
341
335
  return;
342
336
  this.agAttributes[attrName] = attribute.value;
343
337
  });
344
- const { columnDefs, components, defaultColDef, getRowId, onCellContextMenu, onFilterChanged, onGridReady } = options, rest = __rest(options, ["columnDefs", "components", "defaultColDef", "getRowId", "onCellContextMenu", "onFilterChanged", "onGridReady"]);
345
- 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), { onCellContextMenu: (event) => {
346
- if (this.blockScrollingOnContextMenu) {
347
- debugger;
348
- this.selectedRowId = event.node.id;
349
- this.selectedColId = event.colDef.colId;
350
- this.addEventListener('click', (e) => {
351
- this.selectedRowId = undefined;
352
- this.selectedColId = undefined;
353
- }, { once: true });
354
- }
355
- if (onCellContextMenu) {
356
- onCellContextMenu(event);
357
- }
358
- }, onColumnPinned: gridOnChangeCallback, onColumnResized: gridOnChangeCallback, onColumnMoved: gridOnChangeCallback, onDisplayedColumnsChanged: gridOnChangeCallback, onFilterChanged: (filterChangedEvent) => {
359
- debouceSaveFiltermodel();
360
- if (onFilterChanged) {
361
- onFilterChanged(filterChangedEvent);
362
- }
363
- }, onGridReady: (event) => {
338
+ const { columnDefs, components, defaultColDef, getRowId, onGridReady, onFilterChanged } = options, rest = __rest(options, ["columnDefs", "components", "defaultColDef", "getRowId", "onGridReady", "onFilterChanged"]);
339
+ 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) => {
364
340
  var _a, _b;
365
341
  this.gridApi = (_a = options.api) !== null && _a !== void 0 ? _a : event.api;
366
342
  this.columnApi = (_b = options.columnApi) !== null && _b !== void 0 ? _b : event.columnApi;
@@ -381,6 +357,11 @@ export class GridPro extends LifecycleMixin(FoundationElement) {
381
357
  });
382
358
  this.restoreColumnState.bind(this)();
383
359
  this.debouncedColumnAutosize.bind(this)();
360
+ }, onColumnPinned: gridOnChangeCallback, onColumnResized: gridOnChangeCallback, onColumnMoved: gridOnChangeCallback, onDisplayedColumnsChanged: gridOnChangeCallback, onFilterChanged: (filterChangedEvent) => {
361
+ debouceSaveFiltermodel();
362
+ if (onFilterChanged) {
363
+ onFilterChanged(filterChangedEvent);
364
+ }
384
365
  }, onGridSizeChanged: gridOnChangeCallback, onSortChanged: gridOnChangeCallback }), rest);
385
366
  if (this.gridProDatasource) {
386
367
  derivedOptions.columnDefs = columnDefs;
@@ -626,9 +607,6 @@ __decorate([
626
607
  __decorate([
627
608
  attr
628
609
  ], GridPro.prototype, "theme", void 0);
629
- __decorate([
630
- attr({ attribute: 'block-scrolling-on-context-menu', mode: 'boolean' })
631
- ], GridPro.prototype, "blockScrollingOnContextMenu", void 0);
632
610
  __decorate([
633
611
  observable
634
612
  ], GridPro.prototype, "classNames", void 0);
@@ -9424,66 +9424,6 @@
9424
9424
  "isProtected": false,
9425
9425
  "isAbstract": false
9426
9426
  },
9427
- {
9428
- "kind": "Property",
9429
- "canonicalReference": "@genesislcap/grid-pro!GridPro#selectedColId:member",
9430
- "docComment": "",
9431
- "excerptTokens": [
9432
- {
9433
- "kind": "Content",
9434
- "text": "selectedColId: "
9435
- },
9436
- {
9437
- "kind": "Content",
9438
- "text": "string"
9439
- },
9440
- {
9441
- "kind": "Content",
9442
- "text": ";"
9443
- }
9444
- ],
9445
- "isReadonly": false,
9446
- "isOptional": false,
9447
- "releaseTag": "Public",
9448
- "name": "selectedColId",
9449
- "propertyTypeTokenRange": {
9450
- "startIndex": 1,
9451
- "endIndex": 2
9452
- },
9453
- "isStatic": false,
9454
- "isProtected": false,
9455
- "isAbstract": false
9456
- },
9457
- {
9458
- "kind": "Property",
9459
- "canonicalReference": "@genesislcap/grid-pro!GridPro#selectedRowId:member",
9460
- "docComment": "",
9461
- "excerptTokens": [
9462
- {
9463
- "kind": "Content",
9464
- "text": "selectedRowId: "
9465
- },
9466
- {
9467
- "kind": "Content",
9468
- "text": "string"
9469
- },
9470
- {
9471
- "kind": "Content",
9472
- "text": ";"
9473
- }
9474
- ],
9475
- "isReadonly": false,
9476
- "isOptional": false,
9477
- "releaseTag": "Public",
9478
- "name": "selectedRowId",
9479
- "propertyTypeTokenRange": {
9480
- "startIndex": 1,
9481
- "endIndex": 2
9482
- },
9483
- "isStatic": false,
9484
- "isProtected": false,
9485
- "isAbstract": false
9486
- },
9487
9427
  {
9488
9428
  "kind": "Method",
9489
9429
  "canonicalReference": "@genesislcap/grid-pro!GridPro#setFilterModel:member(1)",
@@ -42,9 +42,9 @@ import { LayoutCacheContainer } from '@genesislcap/foundation-utils';
42
42
  import { Logger } from '@genesislcap/foundation-logger';
43
43
  import { MetadataDetail } from '@genesislcap/foundation-comms';
44
44
  import { OverrideFoundationElementDefinition } from '@microsoft/fast-foundation';
45
- import { RowDataTransaction } from '@ag-grid-community/core';
45
+ import type { RowDataTransaction } from '@ag-grid-community/core';
46
46
  import type { RowNodeTransaction } from '@ag-grid-community/core';
47
- import { ServerSideTransaction } from '@ag-grid-community/core';
47
+ import type { ServerSideTransaction } from '@ag-grid-community/core';
48
48
  import type { ServerSideTransactionResult } from '@ag-grid-community/core';
49
49
  import { Session } from '@genesislcap/foundation-comms';
50
50
  import { SocketObservable } from '@genesislcap/foundation-comms';
@@ -1011,10 +1011,6 @@ declare const GenesisGridDatasourceElement_base: new () => {
1011
1011
  connectedCallback(): void;
1012
1012
  disconnectedCallback(): void;
1013
1013
  accessKey: string;
1014
- /**
1015
- * Returns whether the `row-id` attribute is the default one, depending on the resource type.
1016
- * @internal
1017
- */
1018
1014
  readonly accessKeyLabel: string;
1019
1015
  autocapitalize: string;
1020
1016
  dir: string;
@@ -1595,12 +1591,6 @@ export declare class GridPro extends GridPro_base {
1595
1591
  rowHeight: number;
1596
1592
  theme: string;
1597
1593
  themeChanged(oldValue: string, newValue: string): void;
1598
- /**
1599
- * If true, will block scrolling when context menu is open and keep the grid in the same position without scrolling to new records
1600
- * @remarks Defaults to false
1601
- * @alpha
1602
- */
1603
- blockScrollingOnContextMenu: boolean;
1604
1594
  classNames: string;
1605
1595
  agGrid: Grid;
1606
1596
  gridSlot: HTMLSlotElement;
@@ -1622,8 +1612,6 @@ export declare class GridPro extends GridPro_base {
1622
1612
  setFilterModel(value: {
1623
1613
  [key: string]: any;
1624
1614
  }): Promise<void>;
1625
- selectedRowId: string;
1626
- selectedColId: string;
1627
1615
  /**
1628
1616
  * Injectable config that allows to change grid options on an app level basis
1629
1617
  * To modify options, register instance of the config in DOM container that is
@@ -1872,11 +1860,7 @@ declare const GridPro_base: (new (...args: any[]) => {
1872
1860
  readonly TEXT_NODE: number;
1873
1861
  dispatchEvent(event: Event): boolean;
1874
1862
  ariaAtomic: string;
1875
- ariaAutoComplete: string; /**
1876
- * Because we try and resize the grid to fit using callbacks on events, this will cause
1877
- * a stack overflow of calls to resize, so we need to debounce it.
1878
- * @internal
1879
- */
1863
+ ariaAutoComplete: string;
1880
1864
  ariaBusy: string;
1881
1865
  ariaChecked: string;
1882
1866
  ariaColCount: string;
@@ -1993,6 +1977,13 @@ declare const GridPro_base: (new (...args: any[]) => {
1993
1977
  onmousemove: (this: GlobalEventHandlers, ev: MouseEvent) => any;
1994
1978
  onmouseout: (this: GlobalEventHandlers, ev: MouseEvent) => any;
1995
1979
  onmouseover: (this: GlobalEventHandlers, ev: MouseEvent) => any;
1980
+ /**
1981
+ * Will merge templated column definitions with `columnDefs` plus localStorage's column state or `deferredColumnStates`.
1982
+ * @deprecated use `applyTemplateDefinitions` instead.
1983
+ * @param columnDefs - The column definitions to apply to the grid.
1984
+ * @param deferredColumnDefsOrState - If true, will merge the column definitions with the saved column state or the `deferredColumnStates` property on the `grid-pro-genesis-datasource` element.
1985
+ * @returns The merged column definitions.
1986
+ */
1996
1987
  onmouseup: (this: GlobalEventHandlers, ev: MouseEvent) => any;
1997
1988
  onpause: (this: GlobalEventHandlers, ev: Event) => any;
1998
1989
  onplay: (this: GlobalEventHandlers, ev: Event) => any;
@@ -2058,7 +2049,6 @@ declare class GridProBaseDatasource extends GenesisGridDatasourceElement {
2058
2049
  protected applyAllAgTransactions(): void;
2059
2050
  private flashAddedCells;
2060
2051
  private applyMappedAgTransaction;
2061
- private setPreviouslySelectedCell;
2062
2052
  protected applyTransaction(agTransaction: RowDataTransaction): any;
2063
2053
  protected applyTransactionAsync(agTransaction: RowDataTransaction, callback?: (res: any) => void): void;
2064
2054
  /**
@@ -62,8 +62,6 @@ Grid Pro is a Web Component wrapper around the AG Grid Community library.
62
62
  | [persistFilterModelKey](./grid-pro.gridpro.persistfiltermodelkey.md) | | string | The key to use for persisting the filter model in local browser or KV storage. |
63
63
  | [rowData](./grid-pro.gridpro.rowdata.md) | | any\[\] | The row data to display in the grid. |
64
64
  | [rowHeight](./grid-pro.gridpro.rowheight.md) | | number | |
65
- | [selectedColId](./grid-pro.gridpro.selectedcolid.md) | | string | |
66
- | [selectedRowId](./grid-pro.gridpro.selectedrowid.md) | | string | |
67
65
  | [statePersistence](./grid-pro.gridpro.statepersistence.md) | | [StatePersistence](./grid-pro.statepersistence.md) | |
68
66
  | [theme](./grid-pro.gridpro.theme.md) | | string | |
69
67
 
@@ -48,9 +48,9 @@ import { LayoutCacheContainer } from '@genesislcap/foundation-utils';
48
48
  import { Logger } from '@genesislcap/foundation-logger';
49
49
  import { MetadataDetail } from '@genesislcap/foundation-comms';
50
50
  import { OverrideFoundationElementDefinition } from '@microsoft/fast-foundation';
51
- import { RowDataTransaction } from '@ag-grid-community/core';
51
+ import type { RowDataTransaction } from '@ag-grid-community/core';
52
52
  import type { RowNodeTransaction } from '@ag-grid-community/core';
53
- import { ServerSideTransaction } from '@ag-grid-community/core';
53
+ import type { ServerSideTransaction } from '@ag-grid-community/core';
54
54
  import type { ServerSideTransactionResult } from '@ag-grid-community/core';
55
55
  import { Session } from '@genesislcap/foundation-comms';
56
56
  import { SocketObservable } from '@genesislcap/foundation-comms';
@@ -825,8 +825,6 @@ export class GridPro extends GridPro_base {
825
825
  asyncUpdate: boolean;
826
826
  // (undocumented)
827
827
  autoCellRendererByType: boolean;
828
- // @alpha
829
- blockScrollingOnContextMenu: boolean;
830
828
  // (undocumented)
831
829
  classNames: string;
832
830
  // (undocumented)
@@ -895,10 +893,6 @@ export class GridPro extends GridPro_base {
895
893
  // (undocumented)
896
894
  rowHeight: number;
897
895
  // (undocumented)
898
- selectedColId: string;
899
- // (undocumented)
900
- selectedRowId: string;
901
- // (undocumented)
902
896
  setFilterModel(value: {
903
897
  [key: string]: any;
904
898
  }): 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.194.1-alpha-d6fd42b.0",
4
+ "version": "14.194.1",
5
5
  "sideEffects": false,
6
6
  "license": "SEE LICENSE IN license.txt",
7
7
  "main": "dist/esm/index.js",
@@ -38,20 +38,20 @@
38
38
  }
39
39
  },
40
40
  "devDependencies": {
41
- "@genesislcap/foundation-testing": "14.194.1-alpha-d6fd42b.0",
42
- "@genesislcap/genx": "14.194.1-alpha-d6fd42b.0",
43
- "@genesislcap/rollup-builder": "14.194.1-alpha-d6fd42b.0",
44
- "@genesislcap/ts-builder": "14.194.1-alpha-d6fd42b.0",
45
- "@genesislcap/uvu-playwright-builder": "14.194.1-alpha-d6fd42b.0",
46
- "@genesislcap/vite-builder": "14.194.1-alpha-d6fd42b.0",
47
- "@genesislcap/webpack-builder": "14.194.1-alpha-d6fd42b.0",
41
+ "@genesislcap/foundation-testing": "14.194.1",
42
+ "@genesislcap/genx": "14.194.1",
43
+ "@genesislcap/rollup-builder": "14.194.1",
44
+ "@genesislcap/ts-builder": "14.194.1",
45
+ "@genesislcap/uvu-playwright-builder": "14.194.1",
46
+ "@genesislcap/vite-builder": "14.194.1",
47
+ "@genesislcap/webpack-builder": "14.194.1",
48
48
  "rimraf": "^5.0.0"
49
49
  },
50
50
  "dependencies": {
51
- "@genesislcap/foundation-comms": "14.194.1-alpha-d6fd42b.0",
52
- "@genesislcap/foundation-logger": "14.194.1-alpha-d6fd42b.0",
53
- "@genesislcap/foundation-ui": "14.194.1-alpha-d6fd42b.0",
54
- "@genesislcap/foundation-utils": "14.194.1-alpha-d6fd42b.0",
51
+ "@genesislcap/foundation-comms": "14.194.1",
52
+ "@genesislcap/foundation-logger": "14.194.1",
53
+ "@genesislcap/foundation-ui": "14.194.1",
54
+ "@genesislcap/foundation-utils": "14.194.1",
55
55
  "@microsoft/fast-colors": "^5.3.1",
56
56
  "@microsoft/fast-components": "^2.30.6",
57
57
  "@microsoft/fast-element": "^1.12.0",
@@ -77,5 +77,5 @@
77
77
  "access": "public"
78
78
  },
79
79
  "customElements": "dist/custom-elements.json",
80
- "gitHead": "26de38b3c3751ed3ac03f0738602ad19960b0f27"
80
+ "gitHead": "fd89966869cd72af9e24ef5692e41ff8235f7136"
81
81
  }
@@ -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
- ```