@genesislcap/grid-pro 14.146.1-alpha-0d80785.0 → 14.147.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.
@@ -406,6 +406,15 @@
406
406
  },
407
407
  "description": "The key to use for persisting the column state in local storage."
408
408
  },
409
+ {
410
+ "kind": "field",
411
+ "name": "headerCaseType",
412
+ "type": {
413
+ "text": "GridProCaseType"
414
+ },
415
+ "description": "The case type to use for the header names. If not set, the default CONSTANT_CASE will be used.",
416
+ "privacy": "public"
417
+ },
409
418
  {
410
419
  "kind": "field",
411
420
  "name": "gridFontFace",
@@ -465,15 +474,6 @@
465
474
  }
466
475
  ]
467
476
  },
468
- {
469
- "kind": "field",
470
- "name": "blockScrollingOnContextMenu",
471
- "type": {
472
- "text": "boolean"
473
- },
474
- "default": "false",
475
- "description": "If true, will block scrolling when context menu is open and keep the grid in the same position without scrolling to new records"
476
- },
477
477
  {
478
478
  "kind": "field",
479
479
  "name": "classNames",
@@ -562,20 +562,6 @@
562
562
  "privacy": "private",
563
563
  "default": "undefined"
564
564
  },
565
- {
566
- "kind": "field",
567
- "name": "selectedRowId",
568
- "type": {
569
- "text": "string"
570
- }
571
- },
572
- {
573
- "kind": "field",
574
- "name": "selectedColId",
575
- "type": {
576
- "text": "string"
577
- }
578
- },
579
565
  {
580
566
  "kind": "field",
581
567
  "name": "gridOptionsConfig",
@@ -1108,6 +1094,14 @@
1108
1094
  "description": "The key to use for persisting the column state in local storage.",
1109
1095
  "fieldName": "persistColumnStateKey"
1110
1096
  },
1097
+ {
1098
+ "name": "header-case-type",
1099
+ "type": {
1100
+ "text": "GridProCaseType"
1101
+ },
1102
+ "description": "The case type to use for the header names. If not set, the default CONSTANT_CASE will be used.",
1103
+ "fieldName": "headerCaseType"
1104
+ },
1111
1105
  {
1112
1106
  "name": "columnComponentName",
1113
1107
  "type": {
@@ -1136,15 +1130,6 @@
1136
1130
  "text": "string"
1137
1131
  },
1138
1132
  "fieldName": "theme"
1139
- },
1140
- {
1141
- "name": "block-scrolling-on-context-menu",
1142
- "type": {
1143
- "text": "boolean"
1144
- },
1145
- "default": "false",
1146
- "description": "If true, will block scrolling when context menu is open and keep the grid in the same position without scrolling to new records",
1147
- "fieldName": "blockScrollingOnContextMenu"
1148
1133
  }
1149
1134
  ],
1150
1135
  "mixins": [
@@ -5948,11 +5933,6 @@
5948
5933
  }
5949
5934
  ]
5950
5935
  },
5951
- {
5952
- "kind": "method",
5953
- "name": "setPreviouslySelectedCell",
5954
- "privacy": "private"
5955
- },
5956
5936
  {
5957
5937
  "kind": "method",
5958
5938
  "name": "applyTransaction",
@@ -7236,15 +7216,6 @@
7236
7216
  "module": "src/datasource/base.datasource.ts"
7237
7217
  }
7238
7218
  },
7239
- {
7240
- "kind": "method",
7241
- "name": "setPreviouslySelectedCell",
7242
- "privacy": "private",
7243
- "inheritedFrom": {
7244
- "name": "GridProBaseDatasource",
7245
- "module": "src/datasource/base.datasource.ts"
7246
- }
7247
- },
7248
7219
  {
7249
7220
  "kind": "method",
7250
7221
  "name": "mapTransaction",
@@ -8530,15 +8501,6 @@
8530
8501
  "module": "src/datasource/base.datasource.ts"
8531
8502
  }
8532
8503
  },
8533
- {
8534
- "kind": "method",
8535
- "name": "setPreviouslySelectedCell",
8536
- "privacy": "private",
8537
- "inheritedFrom": {
8538
- "name": "GridProBaseDatasource",
8539
- "module": "src/datasource/base.datasource.ts"
8540
- }
8541
- },
8542
8504
  {
8543
8505
  "kind": "method",
8544
8506
  "name": "mapTransaction",
@@ -10008,15 +9970,6 @@
10008
9970
  "module": "src/datasource/base.datasource.ts"
10009
9971
  }
10010
9972
  },
10011
- {
10012
- "kind": "method",
10013
- "name": "setPreviouslySelectedCell",
10014
- "privacy": "private",
10015
- "inheritedFrom": {
10016
- "name": "GridProBaseDatasource",
10017
- "module": "src/datasource/base.datasource.ts"
10018
- }
10019
- },
10020
9973
  {
10021
9974
  "kind": "method",
10022
9975
  "name": "mapTransaction",
@@ -1,4 +1,4 @@
1
- import { ColumnState, GridOptions, RowDataTransaction, ServerSideTransaction } from '@ag-grid-community/core';
1
+ import type { ColumnState, GridOptions, RowDataTransaction, ServerSideTransaction } from '@ag-grid-community/core';
2
2
  import { Connect } from '@genesislcap/foundation-comms';
3
3
  import { FoundationElement } from '@microsoft/fast-foundation';
4
4
  import { GridPro } from '../grid-pro';
@@ -57,7 +57,6 @@ export declare class GridProBaseDatasource extends GenesisGridDatasourceElement
57
57
  protected applyAllAgTransactions(): void;
58
58
  private flashAddedCells;
59
59
  private applyMappedAgTransaction;
60
- private setPreviouslySelectedCell;
61
60
  protected applyTransaction(agTransaction: RowDataTransaction): any;
62
61
  protected applyTransactionAsync(agTransaction: RowDataTransaction, callback?: (res: any) => void): void;
63
62
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"base.datasource.d.ts","sourceRoot":"","sources":["../../../src/datasource/base.datasource.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,WAAW,EAEX,WAAW,EACX,kBAAkB,EAClB,qBAAqB,EACtB,MAAM,yBAAyB,CAAC;AAEjC,OAAO,EAAE,OAAO,EAAE,MAAM,+BAA+B,CAAC;AAExD,OAAO,EAAE,iBAAiB,EAAE,MAAM,4BAA4B,CAAC;AAC/D,OAAO,EAAE,OAAO,EAAE,MAAM,aAAa,CAAC;AAEtC,qBAAa,4BAA6B,SAAQ,iBAAiB;IACxD,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,EAAE,MAAM,CAAoC;IAC/B,UAAU,UAAS;IACvC,OAAO,EAAE,MAAM,CAAC;IACX,YAAY,EAAE,MAAM,CAAC;IACh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AAmB,UAAS;IAEtC,OAAO,EAAE,GAAG,CAAC,MAAM,EAAE,GAAG,CAAC,CAAa;IAEtC,SAAS,CAAC,aAAa,EAAE,kBAAkB,GAAG,qBAAqB,CAIjE;IAEF,SAAS,CAAC,aAAa,EAAE,MAAM,CAAC;IAChC,SAAS,CAAC,kBAAkB,EAAE,MAAM,CAAC;IAErC,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"}
@@ -1,7 +1,7 @@
1
1
  import { ColDef, ColumnApi, ColumnState, Grid, GridApi, GridOptions } from '@ag-grid-community/core';
2
2
  import { FoundationElement } from '@microsoft/fast-foundation';
3
3
  import { GridProBaseDatasource } from './datasource/base.datasource';
4
- import { GridComponents, GridOptionsConfig } from './grid-pro.types';
4
+ import { GridComponents, GridOptionsConfig, GridProCaseType } from './grid-pro.types';
5
5
  /**
6
6
  * Convert string values from 'camelCase' to 'kebab-case'
7
7
  * @param value - The value to convert to Kebab case.
@@ -140,6 +140,12 @@ declare const GridPro_base: (new (...args: any[]) => {
140
140
  insertBefore<T_2 extends Node>(node: T_2, child: Node): T_2;
141
141
  isDefaultNamespace(namespace: string): boolean;
142
142
  isEqualNode(otherNode: Node): boolean;
143
+ /**
144
+ * Gets the saved grid ColumnState[] from local storage
145
+ * @remarks This is used to restore the grid state when the grid is rehydrated
146
+ * @privateRemarks Not using `columnApi.get|setColumnState()` for these flows as it doesn't work setting new columnDefs vs different ordering.
147
+ * @public
148
+ */
143
149
  isSameNode(otherNode: Node): boolean;
144
150
  lookupNamespaceURI(prefix: string): string;
145
151
  lookupPrefix(namespace: string): string;
@@ -393,6 +399,12 @@ export declare class GridPro extends GridPro_base {
393
399
  * The key to use for persisting the column state in local storage.
394
400
  */
395
401
  persistColumnStateKey: string;
402
+ /**
403
+ * The case type to use for the header names. If not set, the default CONSTANT_CASE will be used.
404
+ * @remarks Can be one of the following: camelCase, capitalCase, dotCase, headerCase, noCase, paramCase, pascalCase, pathCase, sentenceCase, snakeCase.
405
+ * @public
406
+ */
407
+ headerCaseType: GridProCaseType;
396
408
  gridFontFace: string;
397
409
  columnComponentName: string;
398
410
  eventsAndCallbacks: any;
@@ -400,12 +412,6 @@ export declare class GridPro extends GridPro_base {
400
412
  rowHeight: number;
401
413
  theme: string;
402
414
  themeChanged(oldValue: string, newValue: string): void;
403
- /**
404
- * If true, will block scrolling when context menu is open and keep the grid in the same position without scrolling to new records
405
- * @remarks Defaults to false
406
- * @alpha
407
- */
408
- blockScrollingOnContextMenu: boolean;
409
415
  classNames: string;
410
416
  agGrid: Grid;
411
417
  gridSlot: HTMLSlotElement;
@@ -419,8 +425,6 @@ export declare class GridPro extends GridPro_base {
419
425
  private rehydrationAttempted;
420
426
  private gridEventsQueue;
421
427
  private filterConfig;
422
- selectedRowId: string;
423
- selectedColId: string;
424
428
  /**
425
429
  * Injectable config that allows to change grid options on an app level basis
426
430
  * 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,E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AAO,CAAC,yBAAyB;IAOjC;;OAEG;IACH,IAAI,WAAW,IAAI,WAAW,CAE7B;IAED,IAAI,iBAAiB,IAAI,qBAAqB,CAM7C;IAED,IAAI,WAAW,CAAC,OAAO,EAAE,WAAW,EA6FnC;IAED;;;;;;OAMG;IACH,wBAAwB,CAAC,UAAU,EAAE,MAAM,EAAE,EAAE,yBAAyB,UAAQ;IAKhF;;;;;;;;OAQG;IACH,2BAA2B,CAAC,UAAU,EAAE,MAAM,EAAE,EAAE,yBAAyB,UAAQ;IAwFnF,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"}
@@ -165,4 +165,20 @@ export declare const defaultGridOptionsConfig: GridOptionsConfig;
165
165
  * @internal
166
166
  */
167
167
  export declare const GridOptionsConfig: import("@microsoft/fast-foundation").InterfaceSymbol<GridOptionsConfig>;
168
+ /**
169
+ * The available Grid Pro header case types
170
+ * @public
171
+ */
172
+ export declare enum GridProCaseType {
173
+ camelCase = "camelCase",
174
+ capitalCase = "capitalCase",
175
+ dotCase = "dotCase",
176
+ headerCase = "headerCase",
177
+ noCase = "noCase",
178
+ paramCase = "paramCase",
179
+ pascalCase = "pascalCase",
180
+ pathCase = "pathCase",
181
+ sentenceCase = "sentenceCase",
182
+ snakeCase = "snakeCase"
183
+ }
168
184
  //# sourceMappingURL=grid-pro.types.d.ts.map
@@ -1 +1 @@
1
- {"version":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slib";
2
- import { Events, } from '@ag-grid-community/core';
3
2
  import { DatasourceDefaults } 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
  export class GenesisGridDatasourceElement extends FoundationElement {
8
7
  constructor() {
@@ -178,35 +177,12 @@ export class GridProBaseDatasource extends GenesisGridDatasourceElement {
178
177
  this.applyTransactionAsync(this.mapTransaction(agTransaction, [operation]), (changedNodes) => {
179
178
  this.flashAddedCells(changedNodes.add);
180
179
  });
181
- if (this.agGrid.blockScrollingOnContextMenu) {
182
- const listenerEvent = (e) => {
183
- e.results.forEach((result) => {
184
- if (result.add.length || result.remove.length) {
185
- this.setPreviouslySelectedCell();
186
- }
187
- });
188
- };
189
- this.agGrid.gridApi.addEventListener(Events.EVENT_ASYNC_TRANSACTIONS_FLUSHED, listenerEvent);
190
- }
191
180
  }
192
181
  else {
193
182
  const changedNodes = this.applyTransaction(this.mapTransaction(agTransaction, [operation]));
194
183
  this.flashAddedCells(changedNodes.add);
195
- if (this.agGrid.blockScrollingOnContextMenu) {
196
- this.setPreviouslySelectedCell();
197
- }
198
184
  }
199
185
  }
200
- setPreviouslySelectedCell() {
201
- const previouslySelectedRowNode = this.agGrid.gridApi.getRowNode(this.agGrid.selectedRowId);
202
- const previouslySelectedColId = this.agGrid.selectedColId;
203
- if (!previouslySelectedRowNode || !previouslySelectedColId)
204
- return;
205
- DOM.queueUpdate(() => {
206
- this.agGrid.gridApi.setFocusedCell(previouslySelectedRowNode.rowIndex, previouslySelectedColId);
207
- this.agGrid.gridApi.ensureIndexVisible(previouslySelectedRowNode.rowIndex, 'middle');
208
- });
209
- }
210
186
  applyTransaction(agTransaction) {
211
187
  throw new Error('Method not implemented.');
212
188
  }
@@ -7,6 +7,7 @@ import { insertDocumentCSSRule, LifecycleMixin, respondToVisibility, } from '@ge
7
7
  import { attr, DOM, observable } from '@microsoft/fast-element';
8
8
  import { FoundationElement } from '@microsoft/fast-foundation';
9
9
  import { classNames } from '@microsoft/fast-web-utilities';
10
+ import * as changeCase from 'change-case';
10
11
  import { GridProCell } from './cell';
11
12
  import { SelectEditor, NumberEditor, MultiselectEditor, DateEditor, StringEditor, } from './cell-editors';
12
13
  import { ActionRenderer, ActionsMenuRenderer, BooleanRenderer, EditableRenderer, } from './cell-renderers';
@@ -96,12 +97,6 @@ export class GridPro extends LifecycleMixin(FoundationElement) {
96
97
  this.gridFontFace = defaultAgGridFontFace;
97
98
  this.columnComponentName = 'grid-pro-column';
98
99
  this.theme = AgGridTheme.alpine;
99
- /**
100
- * If true, will block scrolling when context menu is open and keep the grid in the same position without scrolling to new records
101
- * @remarks Defaults to false
102
- * @alpha
103
- */
104
- this.blockScrollingOnContextMenu = false;
105
100
  this.rehydrationAttempted = false;
106
101
  this.gridEventsQueue = [];
107
102
  this.filterConfig = undefined;
@@ -278,7 +273,7 @@ export class GridPro extends LifecycleMixin(FoundationElement) {
278
273
  return;
279
274
  this.agAttributes[attrName] = attribute.value;
280
275
  });
281
- const { columnDefs, components, defaultColDef, onCellContextMenu, onGridReady, onFirstDataRendered } = options, rest = __rest(options, ["columnDefs", "components", "defaultColDef", "onCellContextMenu", "onGridReady", "onFirstDataRendered"]);
276
+ const { columnDefs, components, defaultColDef, onGridReady, onFirstDataRendered } = options, rest = __rest(options, ["columnDefs", "components", "defaultColDef", "onGridReady", "onFirstDataRendered"]);
282
277
  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) => {
283
278
  var _a, _b;
284
279
  this.gridApi = (_a = options.api) !== null && _a !== void 0 ? _a : event.api;
@@ -302,20 +297,7 @@ export class GridPro extends LifecycleMixin(FoundationElement) {
302
297
  if (onFirstDataRendered) {
303
298
  onFirstDataRendered(event);
304
299
  }
305
- }, onColumnPinned: gridOnChangeCallback, onColumnResized: gridOnChangeCallback, onColumnMoved: gridOnChangeCallback, onDisplayedColumnsChanged: gridOnChangeCallback, onFilterChanged: gridOnChangeCallback, onGridSizeChanged: gridOnChangeCallback, onSortChanged: gridOnChangeCallback, onCellContextMenu: (event) => {
306
- if (this.blockScrollingOnContextMenu) {
307
- debugger;
308
- this.selectedRowId = event.node.id;
309
- this.selectedColId = event.colDef.colId;
310
- this.addEventListener('click', (e) => {
311
- this.selectedRowId = undefined;
312
- this.selectedColId = undefined;
313
- }, { once: true });
314
- }
315
- if (onCellContextMenu) {
316
- onCellContextMenu(event);
317
- }
318
- } }), rest);
300
+ }, onColumnPinned: gridOnChangeCallback, onColumnResized: gridOnChangeCallback, onColumnMoved: gridOnChangeCallback, onDisplayedColumnsChanged: gridOnChangeCallback, onFilterChanged: gridOnChangeCallback, onGridSizeChanged: gridOnChangeCallback, onSortChanged: gridOnChangeCallback }), rest);
319
301
  if (this.gridProDatasource) {
320
302
  derivedOptions.columnDefs = columnDefs;
321
303
  }
@@ -361,6 +343,17 @@ export class GridPro extends LifecycleMixin(FoundationElement) {
361
343
  mergeAllColumnDefsAndStates(columnDefs, deferredColumnDefsOrState = false) {
362
344
  var _a;
363
345
  const columnDefinitionsFromMetadata = columnDefs || [];
346
+ columnDefinitionsFromMetadata.forEach((colDefFromMetadata) => {
347
+ if (this.headerCaseType && colDefFromMetadata.field && !colDefFromMetadata.headerName) {
348
+ const changeCaseByType = changeCase[this.headerCaseType];
349
+ if (changeCaseByType) {
350
+ colDefFromMetadata.headerName = changeCaseByType(colDefFromMetadata.field);
351
+ }
352
+ else {
353
+ logger.warn(`Invalid header-case-type attribute value: ${this.headerCaseType}. Please use one of the following: camelCase, capitalCase, dotCase, headerCase, noCase, paramCase, pascalCase, pathCase, sentenceCase, snakeCase.`);
354
+ }
355
+ }
356
+ });
364
357
  const templateColumnDefs = Array.from(this.querySelectorAll(this.columnComponentName))
365
358
  .map((templateColumn) => templateColumn.definition)
366
359
  .map((columnDef) => {
@@ -509,6 +502,9 @@ __decorate([
509
502
  __decorate([
510
503
  attr({ attribute: 'persist-column-state-key' })
511
504
  ], GridPro.prototype, "persistColumnStateKey", void 0);
505
+ __decorate([
506
+ attr({ attribute: 'header-case-type' })
507
+ ], GridPro.prototype, "headerCaseType", void 0);
512
508
  __decorate([
513
509
  observable
514
510
  ], GridPro.prototype, "gridFontFace", void 0);
@@ -527,9 +523,6 @@ __decorate([
527
523
  __decorate([
528
524
  attr
529
525
  ], GridPro.prototype, "theme", void 0);
530
- __decorate([
531
- attr({ attribute: 'block-scrolling-on-context-menu', mode: 'boolean' })
532
- ], GridPro.prototype, "blockScrollingOnContextMenu", void 0);
533
526
  __decorate([
534
527
  observable
535
528
  ], GridPro.prototype, "classNames", void 0);
@@ -160,3 +160,20 @@ export const defaultGridOptionsConfig = {};
160
160
  * @internal
161
161
  */
162
162
  export const GridOptionsConfig = DI.createInterface((x) => x.instance(defaultGridOptionsConfig));
163
+ /**
164
+ * The available Grid Pro header case types
165
+ * @public
166
+ */
167
+ export var GridProCaseType;
168
+ (function (GridProCaseType) {
169
+ GridProCaseType["camelCase"] = "camelCase";
170
+ GridProCaseType["capitalCase"] = "capitalCase";
171
+ GridProCaseType["dotCase"] = "dotCase";
172
+ GridProCaseType["headerCase"] = "headerCase";
173
+ GridProCaseType["noCase"] = "noCase";
174
+ GridProCaseType["paramCase"] = "paramCase";
175
+ GridProCaseType["pascalCase"] = "pascalCase";
176
+ GridProCaseType["pathCase"] = "pathCase";
177
+ GridProCaseType["sentenceCase"] = "sentenceCase";
178
+ GridProCaseType["snakeCase"] = "snakeCase";
179
+ })(GridProCaseType || (GridProCaseType = {}));
@@ -8520,6 +8520,37 @@
8520
8520
  "isProtected": false,
8521
8521
  "isAbstract": false
8522
8522
  },
8523
+ {
8524
+ "kind": "Property",
8525
+ "canonicalReference": "@genesislcap/grid-pro!GridPro#headerCaseType:member",
8526
+ "docComment": "/**\n * The case type to use for the header names. If not set, the default CONSTANT_CASE will be used.\n *\n * @remarks\n *\n * Can be one of the following: camelCase, capitalCase, dotCase, headerCase, noCase, paramCase, pascalCase, pathCase, sentenceCase, snakeCase.\n *\n * @public\n */\n",
8527
+ "excerptTokens": [
8528
+ {
8529
+ "kind": "Content",
8530
+ "text": "headerCaseType: "
8531
+ },
8532
+ {
8533
+ "kind": "Reference",
8534
+ "text": "GridProCaseType",
8535
+ "canonicalReference": "@genesislcap/grid-pro!GridProCaseType:enum"
8536
+ },
8537
+ {
8538
+ "kind": "Content",
8539
+ "text": ";"
8540
+ }
8541
+ ],
8542
+ "isReadonly": false,
8543
+ "isOptional": false,
8544
+ "releaseTag": "Public",
8545
+ "name": "headerCaseType",
8546
+ "propertyTypeTokenRange": {
8547
+ "startIndex": 1,
8548
+ "endIndex": 2
8549
+ },
8550
+ "isStatic": false,
8551
+ "isProtected": false,
8552
+ "isAbstract": false
8553
+ },
8523
8554
  {
8524
8555
  "kind": "Property",
8525
8556
  "canonicalReference": "@genesislcap/grid-pro!GridPro#headerHeight:member",
@@ -8774,66 +8805,6 @@
8774
8805
  "isProtected": false,
8775
8806
  "isAbstract": false
8776
8807
  },
8777
- {
8778
- "kind": "Property",
8779
- "canonicalReference": "@genesislcap/grid-pro!GridPro#selectedColId:member",
8780
- "docComment": "",
8781
- "excerptTokens": [
8782
- {
8783
- "kind": "Content",
8784
- "text": "selectedColId: "
8785
- },
8786
- {
8787
- "kind": "Content",
8788
- "text": "string"
8789
- },
8790
- {
8791
- "kind": "Content",
8792
- "text": ";"
8793
- }
8794
- ],
8795
- "isReadonly": false,
8796
- "isOptional": false,
8797
- "releaseTag": "Public",
8798
- "name": "selectedColId",
8799
- "propertyTypeTokenRange": {
8800
- "startIndex": 1,
8801
- "endIndex": 2
8802
- },
8803
- "isStatic": false,
8804
- "isProtected": false,
8805
- "isAbstract": false
8806
- },
8807
- {
8808
- "kind": "Property",
8809
- "canonicalReference": "@genesislcap/grid-pro!GridPro#selectedRowId:member",
8810
- "docComment": "",
8811
- "excerptTokens": [
8812
- {
8813
- "kind": "Content",
8814
- "text": "selectedRowId: "
8815
- },
8816
- {
8817
- "kind": "Content",
8818
- "text": "string"
8819
- },
8820
- {
8821
- "kind": "Content",
8822
- "text": ";"
8823
- }
8824
- ],
8825
- "isReadonly": false,
8826
- "isOptional": false,
8827
- "releaseTag": "Public",
8828
- "name": "selectedRowId",
8829
- "propertyTypeTokenRange": {
8830
- "startIndex": 1,
8831
- "endIndex": 2
8832
- },
8833
- "isStatic": false,
8834
- "isProtected": false,
8835
- "isAbstract": false
8836
- },
8837
8808
  {
8838
8809
  "kind": "Method",
8839
8810
  "canonicalReference": "@genesislcap/grid-pro!GridPro#statePersistanceEnabled:member(1)",
@@ -8966,6 +8937,233 @@
8966
8937
  },
8967
8938
  "implementsTokenRanges": []
8968
8939
  },
8940
+ {
8941
+ "kind": "Enum",
8942
+ "canonicalReference": "@genesislcap/grid-pro!GridProCaseType:enum",
8943
+ "docComment": "/**\n * The available Grid Pro header case types\n *\n * @public\n */\n",
8944
+ "excerptTokens": [
8945
+ {
8946
+ "kind": "Content",
8947
+ "text": "export declare enum GridProCaseType "
8948
+ }
8949
+ ],
8950
+ "fileUrlPath": "src/grid-pro.types.ts",
8951
+ "releaseTag": "Public",
8952
+ "name": "GridProCaseType",
8953
+ "preserveMemberOrder": false,
8954
+ "members": [
8955
+ {
8956
+ "kind": "EnumMember",
8957
+ "canonicalReference": "@genesislcap/grid-pro!GridProCaseType.camelCase:member",
8958
+ "docComment": "",
8959
+ "excerptTokens": [
8960
+ {
8961
+ "kind": "Content",
8962
+ "text": "camelCase = "
8963
+ },
8964
+ {
8965
+ "kind": "Content",
8966
+ "text": "\"camelCase\""
8967
+ }
8968
+ ],
8969
+ "initializerTokenRange": {
8970
+ "startIndex": 1,
8971
+ "endIndex": 2
8972
+ },
8973
+ "releaseTag": "Public",
8974
+ "name": "camelCase"
8975
+ },
8976
+ {
8977
+ "kind": "EnumMember",
8978
+ "canonicalReference": "@genesislcap/grid-pro!GridProCaseType.capitalCase:member",
8979
+ "docComment": "",
8980
+ "excerptTokens": [
8981
+ {
8982
+ "kind": "Content",
8983
+ "text": "capitalCase = "
8984
+ },
8985
+ {
8986
+ "kind": "Content",
8987
+ "text": "\"capitalCase\""
8988
+ }
8989
+ ],
8990
+ "initializerTokenRange": {
8991
+ "startIndex": 1,
8992
+ "endIndex": 2
8993
+ },
8994
+ "releaseTag": "Public",
8995
+ "name": "capitalCase"
8996
+ },
8997
+ {
8998
+ "kind": "EnumMember",
8999
+ "canonicalReference": "@genesislcap/grid-pro!GridProCaseType.dotCase:member",
9000
+ "docComment": "",
9001
+ "excerptTokens": [
9002
+ {
9003
+ "kind": "Content",
9004
+ "text": "dotCase = "
9005
+ },
9006
+ {
9007
+ "kind": "Content",
9008
+ "text": "\"dotCase\""
9009
+ }
9010
+ ],
9011
+ "initializerTokenRange": {
9012
+ "startIndex": 1,
9013
+ "endIndex": 2
9014
+ },
9015
+ "releaseTag": "Public",
9016
+ "name": "dotCase"
9017
+ },
9018
+ {
9019
+ "kind": "EnumMember",
9020
+ "canonicalReference": "@genesislcap/grid-pro!GridProCaseType.headerCase:member",
9021
+ "docComment": "",
9022
+ "excerptTokens": [
9023
+ {
9024
+ "kind": "Content",
9025
+ "text": "headerCase = "
9026
+ },
9027
+ {
9028
+ "kind": "Content",
9029
+ "text": "\"headerCase\""
9030
+ }
9031
+ ],
9032
+ "initializerTokenRange": {
9033
+ "startIndex": 1,
9034
+ "endIndex": 2
9035
+ },
9036
+ "releaseTag": "Public",
9037
+ "name": "headerCase"
9038
+ },
9039
+ {
9040
+ "kind": "EnumMember",
9041
+ "canonicalReference": "@genesislcap/grid-pro!GridProCaseType.noCase:member",
9042
+ "docComment": "",
9043
+ "excerptTokens": [
9044
+ {
9045
+ "kind": "Content",
9046
+ "text": "noCase = "
9047
+ },
9048
+ {
9049
+ "kind": "Content",
9050
+ "text": "\"noCase\""
9051
+ }
9052
+ ],
9053
+ "initializerTokenRange": {
9054
+ "startIndex": 1,
9055
+ "endIndex": 2
9056
+ },
9057
+ "releaseTag": "Public",
9058
+ "name": "noCase"
9059
+ },
9060
+ {
9061
+ "kind": "EnumMember",
9062
+ "canonicalReference": "@genesislcap/grid-pro!GridProCaseType.paramCase:member",
9063
+ "docComment": "",
9064
+ "excerptTokens": [
9065
+ {
9066
+ "kind": "Content",
9067
+ "text": "paramCase = "
9068
+ },
9069
+ {
9070
+ "kind": "Content",
9071
+ "text": "\"paramCase\""
9072
+ }
9073
+ ],
9074
+ "initializerTokenRange": {
9075
+ "startIndex": 1,
9076
+ "endIndex": 2
9077
+ },
9078
+ "releaseTag": "Public",
9079
+ "name": "paramCase"
9080
+ },
9081
+ {
9082
+ "kind": "EnumMember",
9083
+ "canonicalReference": "@genesislcap/grid-pro!GridProCaseType.pascalCase:member",
9084
+ "docComment": "",
9085
+ "excerptTokens": [
9086
+ {
9087
+ "kind": "Content",
9088
+ "text": "pascalCase = "
9089
+ },
9090
+ {
9091
+ "kind": "Content",
9092
+ "text": "\"pascalCase\""
9093
+ }
9094
+ ],
9095
+ "initializerTokenRange": {
9096
+ "startIndex": 1,
9097
+ "endIndex": 2
9098
+ },
9099
+ "releaseTag": "Public",
9100
+ "name": "pascalCase"
9101
+ },
9102
+ {
9103
+ "kind": "EnumMember",
9104
+ "canonicalReference": "@genesislcap/grid-pro!GridProCaseType.pathCase:member",
9105
+ "docComment": "",
9106
+ "excerptTokens": [
9107
+ {
9108
+ "kind": "Content",
9109
+ "text": "pathCase = "
9110
+ },
9111
+ {
9112
+ "kind": "Content",
9113
+ "text": "\"pathCase\""
9114
+ }
9115
+ ],
9116
+ "initializerTokenRange": {
9117
+ "startIndex": 1,
9118
+ "endIndex": 2
9119
+ },
9120
+ "releaseTag": "Public",
9121
+ "name": "pathCase"
9122
+ },
9123
+ {
9124
+ "kind": "EnumMember",
9125
+ "canonicalReference": "@genesislcap/grid-pro!GridProCaseType.sentenceCase:member",
9126
+ "docComment": "",
9127
+ "excerptTokens": [
9128
+ {
9129
+ "kind": "Content",
9130
+ "text": "sentenceCase = "
9131
+ },
9132
+ {
9133
+ "kind": "Content",
9134
+ "text": "\"sentenceCase\""
9135
+ }
9136
+ ],
9137
+ "initializerTokenRange": {
9138
+ "startIndex": 1,
9139
+ "endIndex": 2
9140
+ },
9141
+ "releaseTag": "Public",
9142
+ "name": "sentenceCase"
9143
+ },
9144
+ {
9145
+ "kind": "EnumMember",
9146
+ "canonicalReference": "@genesislcap/grid-pro!GridProCaseType.snakeCase:member",
9147
+ "docComment": "",
9148
+ "excerptTokens": [
9149
+ {
9150
+ "kind": "Content",
9151
+ "text": "snakeCase = "
9152
+ },
9153
+ {
9154
+ "kind": "Content",
9155
+ "text": "\"snakeCase\""
9156
+ }
9157
+ ],
9158
+ "initializerTokenRange": {
9159
+ "startIndex": 1,
9160
+ "endIndex": 2
9161
+ },
9162
+ "releaseTag": "Public",
9163
+ "name": "snakeCase"
9164
+ }
9165
+ ]
9166
+ },
8969
9167
  {
8970
9168
  "kind": "Class",
8971
9169
  "canonicalReference": "@genesislcap/grid-pro!GridProCell:class",
@@ -37,9 +37,9 @@ import { LayoutCacheContainer } from '@genesislcap/foundation-utils';
37
37
  import { Logger } from '@genesislcap/foundation-logger';
38
38
  import { MetadataDetail } from '@genesislcap/foundation-comms';
39
39
  import { OverrideFoundationElementDefinition } from '@microsoft/fast-foundation';
40
- import { RowDataTransaction } from '@ag-grid-community/core';
40
+ import type { RowDataTransaction } from '@ag-grid-community/core';
41
41
  import type { RowNodeTransaction } from '@ag-grid-community/core';
42
- import { ServerSideTransaction } from '@ag-grid-community/core';
42
+ import type { ServerSideTransaction } from '@ag-grid-community/core';
43
43
  import type { ServerSideTransactionResult } from '@ag-grid-community/core';
44
44
  import { SocketObservable } from '@genesislcap/foundation-comms';
45
45
  import { Swatch } from '@microsoft/fast-components';
@@ -1198,6 +1198,12 @@ export declare class GridPro extends GridPro_base {
1198
1198
  * The key to use for persisting the column state in local storage.
1199
1199
  */
1200
1200
  persistColumnStateKey: string;
1201
+ /**
1202
+ * The case type to use for the header names. If not set, the default CONSTANT_CASE will be used.
1203
+ * @remarks Can be one of the following: camelCase, capitalCase, dotCase, headerCase, noCase, paramCase, pascalCase, pathCase, sentenceCase, snakeCase.
1204
+ * @public
1205
+ */
1206
+ headerCaseType: GridProCaseType;
1201
1207
  gridFontFace: string;
1202
1208
  columnComponentName: string;
1203
1209
  eventsAndCallbacks: any;
@@ -1205,12 +1211,6 @@ export declare class GridPro extends GridPro_base {
1205
1211
  rowHeight: number;
1206
1212
  theme: string;
1207
1213
  themeChanged(oldValue: string, newValue: string): void;
1208
- /**
1209
- * If true, will block scrolling when context menu is open and keep the grid in the same position without scrolling to new records
1210
- * @remarks Defaults to false
1211
- * @alpha
1212
- */
1213
- blockScrollingOnContextMenu: boolean;
1214
1214
  classNames: string;
1215
1215
  agGrid: Grid;
1216
1216
  gridSlot: HTMLSlotElement;
@@ -1224,8 +1224,6 @@ export declare class GridPro extends GridPro_base {
1224
1224
  private rehydrationAttempted;
1225
1225
  private gridEventsQueue;
1226
1226
  private filterConfig;
1227
- selectedRowId: string;
1228
- selectedColId: string;
1229
1227
  /**
1230
1228
  * Injectable config that allows to change grid options on an app level basis
1231
1229
  * To modify options, register instance of the config in DOM container that is
@@ -1433,6 +1431,12 @@ declare const GridPro_base: (new (...args: any[]) => {
1433
1431
  insertBefore<T_2 extends Node>(node: T_2, child: Node): T_2;
1434
1432
  isDefaultNamespace(namespace: string): boolean;
1435
1433
  isEqualNode(otherNode: Node): boolean;
1434
+ /**
1435
+ * Gets the saved grid ColumnState[] from local storage
1436
+ * @remarks This is used to restore the grid state when the grid is rehydrated
1437
+ * @privateRemarks Not using `columnApi.get|setColumnState()` for these flows as it doesn't work setting new columnDefs vs different ordering.
1438
+ * @public
1439
+ */
1436
1440
  isSameNode(otherNode: Node): boolean;
1437
1441
  lookupNamespaceURI(prefix: string): string;
1438
1442
  lookupPrefix(namespace: string): string;
@@ -1640,7 +1644,6 @@ declare class GridProBaseDatasource extends GenesisGridDatasourceElement {
1640
1644
  protected applyAllAgTransactions(): void;
1641
1645
  private flashAddedCells;
1642
1646
  private applyMappedAgTransaction;
1643
- private setPreviouslySelectedCell;
1644
1647
  protected applyTransaction(agTransaction: RowDataTransaction): any;
1645
1648
  protected applyTransactionAsync(agTransaction: RowDataTransaction, callback?: (res: any) => void): void;
1646
1649
  /**
@@ -1652,6 +1655,23 @@ declare class GridProBaseDatasource extends GenesisGridDatasourceElement {
1652
1655
  private mapTransaction;
1653
1656
  }
1654
1657
 
1658
+ /**
1659
+ * The available Grid Pro header case types
1660
+ * @public
1661
+ */
1662
+ export declare enum GridProCaseType {
1663
+ camelCase = "camelCase",
1664
+ capitalCase = "capitalCase",
1665
+ dotCase = "dotCase",
1666
+ headerCase = "headerCase",
1667
+ noCase = "noCase",
1668
+ paramCase = "paramCase",
1669
+ pascalCase = "pascalCase",
1670
+ pathCase = "pathCase",
1671
+ sentenceCase = "sentenceCase",
1672
+ snakeCase = "snakeCase"
1673
+ }
1674
+
1655
1675
  /**
1656
1676
  * The Grid Pro Cell element.
1657
1677
  * @remarks Used inside the Grid Pro Column element, to define a cell renderer from the template.
@@ -0,0 +1,18 @@
1
+ <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
+
3
+ [Home](./index.md) &gt; [@genesislcap/grid-pro](./grid-pro.md) &gt; [GridPro](./grid-pro.gridpro.md) &gt; [headerCaseType](./grid-pro.gridpro.headercasetype.md)
4
+
5
+ ## GridPro.headerCaseType property
6
+
7
+ The case type to use for the header names. If not set, the default CONSTANT\_CASE will be used.
8
+
9
+ **Signature:**
10
+
11
+ ```typescript
12
+ headerCaseType: GridProCaseType;
13
+ ```
14
+
15
+ ## Remarks
16
+
17
+ Can be one of the following: camelCase, capitalCase, dotCase, headerCase, noCase, paramCase, pascalCase, pathCase, sentenceCase, snakeCase.
18
+
@@ -51,14 +51,13 @@ Grid Pro is a Web Component wrapper around the AG Grid Community library.
51
51
  | [gridOptionsConfig](./grid-pro.gridpro.gridoptionsconfig.md) | | [GridOptionsConfig](./grid-pro.gridoptionsconfig.md) | Injectable config that allows to change grid options on an app level basis To modify options, register instance of the config in DOM container that is above the grid or on the top level of the application, so it applies to all grids. |
52
52
  | [gridProDatasource](./grid-pro.gridpro.gridprodatasource.md) | <code>readonly</code> | GridProBaseDatasource | |
53
53
  | [gridSlot](./grid-pro.gridpro.gridslot.md) | | HTMLSlotElement | |
54
+ | [headerCaseType](./grid-pro.gridpro.headercasetype.md) | | [GridProCaseType](./grid-pro.gridprocasetype.md) | The case type to use for the header names. If not set, the default CONSTANT\_CASE will be used. |
54
55
  | [headerHeight](./grid-pro.gridpro.headerheight.md) | | number | |
55
56
  | [initialised](./grid-pro.gridpro.initialised.md) | <code>protected</code> | boolean | |
56
57
  | [observedAttributes](./grid-pro.gridpro.observedattributes.md) | <code>readonly</code> | string\[\] | |
57
58
  | [onlyTemplateColDefs](./grid-pro.gridpro.onlytemplatecoldefs.md) | | boolean | |
58
59
  | [persistColumnStateKey](./grid-pro.gridpro.persistcolumnstatekey.md) | | string | The key to use for persisting the column state in local storage. |
59
60
  | [rowHeight](./grid-pro.gridpro.rowheight.md) | | number | |
60
- | [selectedColId](./grid-pro.gridpro.selectedcolid.md) | | string | |
61
- | [selectedRowId](./grid-pro.gridpro.selectedrowid.md) | | string | |
62
61
  | [theme](./grid-pro.gridpro.theme.md) | | string | |
63
62
 
64
63
  ## Methods
@@ -0,0 +1,29 @@
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; [GridProCaseType](./grid-pro.gridprocasetype.md)
4
+
5
+ ## GridProCaseType enum
6
+
7
+ The available Grid Pro header case types
8
+
9
+ **Signature:**
10
+
11
+ ```typescript
12
+ export declare enum GridProCaseType
13
+ ```
14
+
15
+ ## Enumeration Members
16
+
17
+ | Member | Value | Description |
18
+ | --- | --- | --- |
19
+ | camelCase | <code>&quot;camelCase&quot;</code> | |
20
+ | capitalCase | <code>&quot;capitalCase&quot;</code> | |
21
+ | dotCase | <code>&quot;dotCase&quot;</code> | |
22
+ | headerCase | <code>&quot;headerCase&quot;</code> | |
23
+ | noCase | <code>&quot;noCase&quot;</code> | |
24
+ | paramCase | <code>&quot;paramCase&quot;</code> | |
25
+ | pascalCase | <code>&quot;pascalCase&quot;</code> | |
26
+ | pathCase | <code>&quot;pathCase&quot;</code> | |
27
+ | sentenceCase | <code>&quot;sentenceCase&quot;</code> | |
28
+ | snakeCase | <code>&quot;snakeCase&quot;</code> | |
29
+
@@ -32,6 +32,7 @@
32
32
  | --- | --- |
33
33
  | [AgGridCSSVars](./grid-pro.aggridcssvars.md) | All official AG CSS variables |
34
34
  | [AgGridTheme](./grid-pro.aggridtheme.md) | The available Grid Pro themes. |
35
+ | [GridProCaseType](./grid-pro.gridprocasetype.md) | The available Grid Pro header case types |
35
36
  | [GridProRendererTypes](./grid-pro.gridprorenderertypes.md) | The available Grid Pro Renderer Types |
36
37
 
37
38
  ## Functions
@@ -43,9 +43,9 @@ import { LayoutCacheContainer } from '@genesislcap/foundation-utils';
43
43
  import { Logger } from '@genesislcap/foundation-logger';
44
44
  import { MetadataDetail } from '@genesislcap/foundation-comms';
45
45
  import { OverrideFoundationElementDefinition } from '@microsoft/fast-foundation';
46
- import { RowDataTransaction } from '@ag-grid-community/core';
46
+ import type { RowDataTransaction } from '@ag-grid-community/core';
47
47
  import type { RowNodeTransaction } from '@ag-grid-community/core';
48
- import { ServerSideTransaction } from '@ag-grid-community/core';
48
+ import type { ServerSideTransaction } from '@ag-grid-community/core';
49
49
  import type { ServerSideTransactionResult } from '@ag-grid-community/core';
50
50
  import { SocketObservable } from '@genesislcap/foundation-comms';
51
51
  import { Swatch } from '@microsoft/fast-components';
@@ -798,8 +798,6 @@ export class GridPro extends GridPro_base {
798
798
  asyncUpdate: boolean;
799
799
  // (undocumented)
800
800
  autoCellRendererByType: boolean;
801
- // @alpha
802
- blockScrollingOnContextMenu: boolean;
803
801
  // (undocumented)
804
802
  classNames: string;
805
803
  // (undocumented)
@@ -840,6 +838,7 @@ export class GridPro extends GridPro_base {
840
838
  get gridProDatasource(): GridProBaseDatasource;
841
839
  // (undocumented)
842
840
  gridSlot: HTMLSlotElement;
841
+ headerCaseType: GridProCaseType;
843
842
  // (undocumented)
844
843
  headerHeight: number;
845
844
  // (undocumented)
@@ -853,10 +852,6 @@ export class GridPro extends GridPro_base {
853
852
  // (undocumented)
854
853
  rowHeight: number;
855
854
  // (undocumented)
856
- selectedColId: string;
857
- // (undocumented)
858
- selectedRowId: string;
859
- // (undocumented)
860
855
  statePersistanceEnabled(): boolean;
861
856
  // (undocumented)
862
857
  theme: string;
@@ -864,6 +859,30 @@ export class GridPro extends GridPro_base {
864
859
  themeChanged(oldValue: string, newValue: string): void;
865
860
  }
866
861
 
862
+ // @public
863
+ export enum GridProCaseType {
864
+ // (undocumented)
865
+ camelCase = "camelCase",
866
+ // (undocumented)
867
+ capitalCase = "capitalCase",
868
+ // (undocumented)
869
+ dotCase = "dotCase",
870
+ // (undocumented)
871
+ headerCase = "headerCase",
872
+ // (undocumented)
873
+ noCase = "noCase",
874
+ // (undocumented)
875
+ paramCase = "paramCase",
876
+ // (undocumented)
877
+ pascalCase = "pascalCase",
878
+ // (undocumented)
879
+ pathCase = "pathCase",
880
+ // (undocumented)
881
+ sentenceCase = "sentenceCase",
882
+ // (undocumented)
883
+ snakeCase = "snakeCase"
884
+ }
885
+
867
886
  // @public
868
887
  export class GridProCell extends FoundationElement implements ICellRendererComp {
869
888
  // (undocumented)
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.146.1-alpha-0d80785.0",
4
+ "version": "14.147.0",
5
5
  "sideEffects": false,
6
6
  "license": "SEE LICENSE IN license.txt",
7
7
  "main": "dist/esm/index.js",
@@ -30,20 +30,26 @@
30
30
  "test:debug": "genx test --debug"
31
31
  },
32
32
  "devDependencies": {
33
- "@genesislcap/foundation-testing": "14.146.1-alpha-0d80785.0",
34
- "@genesislcap/genx": "14.146.1-alpha-0d80785.0",
33
+ "@genesislcap/foundation-testing": "14.147.0",
34
+ "@genesislcap/genx": "14.147.0",
35
+ "@genesislcap/rollup-builder": "14.147.0",
36
+ "@genesislcap/ts-builder": "14.147.0",
37
+ "@genesislcap/uvu-playwright-builder": "14.147.0",
38
+ "@genesislcap/vite-builder": "14.147.0",
39
+ "@genesislcap/webpack-builder": "14.147.0",
35
40
  "rimraf": "^3.0.2"
36
41
  },
37
42
  "dependencies": {
38
- "@genesislcap/foundation-comms": "14.146.1-alpha-0d80785.0",
39
- "@genesislcap/foundation-logger": "14.146.1-alpha-0d80785.0",
40
- "@genesislcap/foundation-ui": "14.146.1-alpha-0d80785.0",
41
- "@genesislcap/foundation-utils": "14.146.1-alpha-0d80785.0",
43
+ "@genesislcap/foundation-comms": "14.147.0",
44
+ "@genesislcap/foundation-logger": "14.147.0",
45
+ "@genesislcap/foundation-ui": "14.147.0",
46
+ "@genesislcap/foundation-utils": "14.147.0",
42
47
  "@microsoft/fast-colors": "^5.3.1",
43
48
  "@microsoft/fast-components": "^2.30.6",
44
49
  "@microsoft/fast-element": "^1.12.0",
45
50
  "@microsoft/fast-foundation": "^2.49.4",
46
51
  "@microsoft/fast-web-utilities": "^5.4.1",
52
+ "change-case": "^4.1.2",
47
53
  "dayjs": "^1.11.7",
48
54
  "rxjs": "^7.5.4",
49
55
  "tslib": "^2.3.1"
@@ -62,5 +68,5 @@
62
68
  "access": "public"
63
69
  },
64
70
  "customElements": "dist/custom-elements.json",
65
- "gitHead": "b760ba8b18511c09ecbf85ed241be59c7d8fd8d4"
71
+ "gitHead": "b0d8376acf8f71736cfcedb43fba7311e5d77331"
66
72
  }
@@ -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
- ```