@genesislcap/grid-pro 14.78.1-alpha-b86a5e4.0 → 14.78.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.
@@ -348,19 +348,7 @@
348
348
  "name": "persistColumnStateKey",
349
349
  "type": {
350
350
  "text": "string"
351
- },
352
- "description": "The key to use for persisting the grid state in local/session storage.",
353
- "privacy": "public"
354
- },
355
- {
356
- "kind": "field",
357
- "name": "columnStateStorageType",
358
- "type": {
359
- "text": "StorageType"
360
- },
361
- "default": "'session'",
362
- "description": "The type of storage to use for persisting the column state.",
363
- "privacy": "public"
351
+ }
364
352
  },
365
353
  {
366
354
  "kind": "field",
@@ -910,18 +898,8 @@
910
898
  "type": {
911
899
  "text": "string"
912
900
  },
913
- "description": "The key to use for persisting the grid state in local/session storage.",
914
901
  "fieldName": "persistColumnStateKey"
915
902
  },
916
- {
917
- "name": "column-state-storage-type",
918
- "type": {
919
- "text": "StorageType"
920
- },
921
- "default": "'session'",
922
- "description": "The type of storage to use for persisting the column state.",
923
- "fieldName": "columnStateStorageType"
924
- },
925
903
  {
926
904
  "name": "grid-autosizing",
927
905
  "type": {
@@ -1,6 +1,5 @@
1
1
  import type { ColDef, ColumnApi, ColumnState, GridApi, GridOptions } from '@ag-grid-community/core';
2
2
  import { Grid } from '@ag-grid-community/core';
3
- import { StorageType } from '@genesislcap/foundation-comms';
4
3
  import { FoundationElement } from '@microsoft/fast-foundation';
5
4
  import { GridProGenesisDatasource } from './grid-pro-genesis-datasource';
6
5
  import { GridComponents } from './grid-pro.types';
@@ -353,16 +352,7 @@ export declare class GridPro extends GridPro_base {
353
352
  * If true, will enable cell flashing for all cell renderers, unless otherwise defined in custom colDef
354
353
  */
355
354
  enableCellFlashing: boolean;
356
- /**
357
- * The key to use for persisting the grid state in local/session storage.
358
- * @public
359
- */
360
355
  persistColumnStateKey: string;
361
- /**
362
- * The type of storage to use for persisting the column state.
363
- * @public
364
- */
365
- columnStateStorageType: StorageType;
366
356
  /**
367
357
  * Boolean attribute to control whether the grid autosizes the columns upon interaction.
368
358
  * This will disable the column widths from being manually set, and doesn't save the widths
@@ -1 +1 @@
1
- {"version":3,"file":"grid-pro.d.ts","sourceRoot":"","sources":["../../src/grid-pro.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EACV,MAAM,EACN,SAAS,EACT,WAAW,EAEX,OAAO,EACP,WAAW,EAEZ,MAAM,yBAAyB,CAAC;AACjC,OAAO,EAIL,IAAI,EAEL,MAAM,yBAAyB,CAAC;AAEjC,OAAO,EAAW,WAAW,EAAE,MAAM,+BAA+B,CAAC;AAOrE,OAAO,EAAE,iBAAiB,EAAE,MAAM,4BAA4B,CAAC;AAO/D,OAAO,EACL,wBAAwB,EAEzB,MAAM,+BAA+B,CAAC;AAIvC,OAAO,EAKL,cAAc,EACf,MAAM,kBAAkB,CAAC;AAU1B;;;;;GAKG;AACH,eAAO,MAAM,kBAAkB,UAAW,MAAM,WACa,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAM9D;;;;;GAKG;AACH,qBAAa,OAAQ,SAAQ,YAAiC;IAChD,SAAS,EAAG,SAAS,CAAC;IACtB,OAAO,EAAG,OAAO,CAAC;IACrB,OAAO,CAAC,OAAO,CAAU;IAIlC,sBAAsB,EAAE,OAAO,CAAS;IACwB,mBAAmB,EAAE,OAAO,CACpF;IACmB,kBAAkB,EAAE,OAA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B;;;;;;;;;;kBAM5B,CAAC"}
@@ -280,7 +280,6 @@ let GridProGenesisDatasourceNext = class GridProGenesisDatasourceNext extends Li
280
280
  onSortChanged: (params) => { }, // TODO: confirm FUI-512
281
281
  };
282
282
  this.agGrid.addEventListener('onGridReady', () => __awaiter(this, void 0, void 0, function* () {
283
- var _a, _b;
284
283
  const meta = yield this.connect
285
284
  .getMetadata(this.resourceName)
286
285
  .catch((e) => logger.error(e));
@@ -290,7 +289,7 @@ let GridProGenesisDatasourceNext = class GridProGenesisDatasourceNext extends Li
290
289
  this.originalFieldDef = extractFieldDefinitions(meta);
291
290
  const fieldMetadata = toFieldMetadata(this.originalFieldDef);
292
291
  const agColumnDefs = this.getAgColumnDefs(fieldMetadata);
293
- (_a = this.agGrid.gridApi) === null || _a === void 0 ? void 0 : _a.setColumnDefs(agColumnDefs);
292
+ this.agGrid.gridApi.setColumnDefs(agColumnDefs);
294
293
  const dataserverStream = yield this.createDataserverStream();
295
294
  this.dataserverStream = new StreamDatasource({
296
295
  stream: dataserverStream,
@@ -303,18 +302,17 @@ let GridProGenesisDatasourceNext = class GridProGenesisDatasourceNext extends Li
303
302
  rowId: this.rowId,
304
303
  pagination: this.pagination,
305
304
  });
306
- (_b = this.agGrid.gridApi) === null || _b === void 0 ? void 0 : _b.setServerSideDatasource(this.dataserverStream);
305
+ this.agGrid.gridApi.setServerSideDatasource(this.dataserverStream);
307
306
  }), { once: true });
308
307
  return;
309
308
  }
310
309
  logger.warn(`Application not connected, falling back to local columnDefs/rowData`);
311
310
  }
312
311
  reset() {
313
- var _a;
314
312
  this.clearRowData();
315
313
  this.dataserverStream = undefined;
316
314
  this.originalFieldDef = undefined;
317
- (_a = this.agGrid.gridApi) === null || _a === void 0 ? void 0 : _a.setServerSideDatasource(this.dataserverStream);
315
+ this.agGrid.gridApi.setServerSideDatasource(this.dataserverStream);
318
316
  }
319
317
  restart() {
320
318
  this.reset();
@@ -55,11 +55,6 @@ export class GridPro extends LifecycleMixin(FoundationElement) {
55
55
  * If true, will enable cell flashing for all cell renderers, unless otherwise defined in custom colDef
56
56
  */
57
57
  this.enableCellFlashing = false;
58
- /**
59
- * The type of storage to use for persisting the column state.
60
- * @public
61
- */
62
- this.columnStateStorageType = 'session';
63
58
  /**
64
59
  * Boolean attribute to control whether the grid autosizes the columns upon interaction.
65
60
  * This will disable the column widths from being manually set, and doesn't save the widths
@@ -109,7 +104,6 @@ export class GridPro extends LifecycleMixin(FoundationElement) {
109
104
  if (!this.shouldRunDisconnect)
110
105
  return;
111
106
  (_a = this.gridApi) === null || _a === void 0 ? void 0 : _a.destroy();
112
- this.gridApi = null;
113
107
  }
114
108
  combineAllGridComponents(gridOptionsComponents) {
115
109
  const defaultFoundationAgComponents = {
@@ -151,7 +145,7 @@ export class GridPro extends LifecycleMixin(FoundationElement) {
151
145
  }
152
146
  saveColumnState() {
153
147
  if (this.rehydrationAttempted && this.statePersistanceEnabled()) {
154
- const existingOptions = JSON.parse(this.session.getCurrentUserItem('gridOptions', this.columnStateStorageType) || '{}');
148
+ const existingOptions = JSON.parse(this.session.getLocalStorageItem('gridOptions') || '{}');
155
149
  let colState = this.columnApi.getColumnState();
156
150
  colState = this.gridAutosizingEnabled
157
151
  ? this.removeConfigWidthsToAutosize(colState)
@@ -159,7 +153,7 @@ export class GridPro extends LifecycleMixin(FoundationElement) {
159
153
  if (colState.length === 0)
160
154
  return;
161
155
  existingOptions[this.persistColumnStateKey] = JSON.stringify(colState);
162
- this.session.setCurrentUserItem('gridOptions', JSON.stringify(existingOptions), this.columnStateStorageType);
156
+ this.session.setLocalStorageItem('gridOptions', JSON.stringify(existingOptions));
163
157
  }
164
158
  }
165
159
  /**
@@ -169,9 +163,9 @@ export class GridPro extends LifecycleMixin(FoundationElement) {
169
163
  * @public
170
164
  */
171
165
  getSavedColumnState() {
172
- const storedGridOptions = this.session.getCurrentUserItem('gridOptions', this.columnStateStorageType);
173
- if (this.statePersistanceEnabled() && storedGridOptions) {
174
- const allGridOptions = JSON.parse(storedGridOptions);
166
+ const localStorageGridOptions = this.session.getLocalStorageItem('gridOptions');
167
+ if (this.statePersistanceEnabled() && localStorageGridOptions) {
168
+ const allGridOptions = JSON.parse(localStorageGridOptions);
175
169
  if (this.persistColumnStateKey in allGridOptions) {
176
170
  return JSON.parse(allGridOptions[this.persistColumnStateKey]);
177
171
  }
@@ -392,9 +386,6 @@ __decorate([
392
386
  __decorate([
393
387
  attr({ attribute: 'persist-column-state-key' })
394
388
  ], GridPro.prototype, "persistColumnStateKey", void 0);
395
- __decorate([
396
- attr({ attribute: 'column-state-storage-type' })
397
- ], GridPro.prototype, "columnStateStorageType", void 0);
398
389
  __decorate([
399
390
  attr({ mode: 'boolean', attribute: 'grid-autosizing' })
400
391
  ], GridPro.prototype, "gridAutosizingEnabled", void 0);
@@ -5195,37 +5195,6 @@
5195
5195
  "isProtected": false,
5196
5196
  "isAbstract": false
5197
5197
  },
5198
- {
5199
- "kind": "Property",
5200
- "canonicalReference": "@genesislcap/grid-pro!GridPro#columnStateStorageType:member",
5201
- "docComment": "/**\n * The type of storage to use for persisting the column state.\n *\n * @public\n */\n",
5202
- "excerptTokens": [
5203
- {
5204
- "kind": "Content",
5205
- "text": "columnStateStorageType: "
5206
- },
5207
- {
5208
- "kind": "Reference",
5209
- "text": "StorageType",
5210
- "canonicalReference": "@genesislcap/foundation-comms!StorageType:type"
5211
- },
5212
- {
5213
- "kind": "Content",
5214
- "text": ";"
5215
- }
5216
- ],
5217
- "isReadonly": false,
5218
- "isOptional": false,
5219
- "releaseTag": "Public",
5220
- "name": "columnStateStorageType",
5221
- "propertyTypeTokenRange": {
5222
- "startIndex": 1,
5223
- "endIndex": 2
5224
- },
5225
- "isStatic": false,
5226
- "isProtected": false,
5227
- "isAbstract": false
5228
- },
5229
5198
  {
5230
5199
  "kind": "Method",
5231
5200
  "canonicalReference": "@genesislcap/grid-pro!GridPro#combineAllGridComponents:member(1)",
@@ -5874,7 +5843,7 @@
5874
5843
  {
5875
5844
  "kind": "Property",
5876
5845
  "canonicalReference": "@genesislcap/grid-pro!GridPro#persistColumnStateKey:member",
5877
- "docComment": "/**\n * The key to use for persisting the grid state in local/session storage.\n *\n * @public\n */\n",
5846
+ "docComment": "",
5878
5847
  "excerptTokens": [
5879
5848
  {
5880
5849
  "kind": "Content",
@@ -30,7 +30,6 @@ import { Logger } from '@genesislcap/foundation-utils';
30
30
  import { MetadataDetail } from '@genesislcap/foundation-comms';
31
31
  import { OverrideFoundationElementDefinition } from '@microsoft/fast-foundation';
32
32
  import { SocketObservable } from '@genesislcap/foundation-comms';
33
- import { StorageType } from '@genesislcap/foundation-comms';
34
33
  import { Swatch } from '@microsoft/fast-components';
35
34
  import { SwatchRGB } from '@microsoft/fast-components';
36
35
  import { TextField } from '@genesislcap/foundation-ui';
@@ -791,16 +790,7 @@ export declare class GridPro extends GridPro_base {
791
790
  * If true, will enable cell flashing for all cell renderers, unless otherwise defined in custom colDef
792
791
  */
793
792
  enableCellFlashing: boolean;
794
- /**
795
- * The key to use for persisting the grid state in local/session storage.
796
- * @public
797
- */
798
793
  persistColumnStateKey: string;
799
- /**
800
- * The type of storage to use for persisting the column state.
801
- * @public
802
- */
803
- columnStateStorageType: StorageType;
804
794
  /**
805
795
  * Boolean attribute to control whether the grid autosizes the columns upon interaction.
806
796
  * This will disable the column widths from being manually set, and doesn't save the widths
@@ -35,7 +35,6 @@ Grid Pro is a Web Component wrapper around the AG Grid Community library.
35
35
  | [classNames](./grid-pro.gridpro.classnames.md) | | string | |
36
36
  | [columnApi](./grid-pro.gridpro.columnapi.md) | | ColumnApi | |
37
37
  | [columnComponentName](./grid-pro.gridpro.columncomponentname.md) | | string | |
38
- | [columnStateStorageType](./grid-pro.gridpro.columnstatestoragetype.md) | | StorageType | The type of storage to use for persisting the column state. |
39
38
  | [enableCellFlashing](./grid-pro.gridpro.enablecellflashing.md) | | boolean | If true, will enable cell flashing for all cell renderers, unless otherwise defined in custom colDef |
40
39
  | [enabledRowFlashing](./grid-pro.gridpro.enabledrowflashing.md) | | boolean | |
41
40
  | [eventsAndCallbacks](./grid-pro.gridpro.eventsandcallbacks.md) | | any | |
@@ -50,7 +49,7 @@ Grid Pro is a Web Component wrapper around the AG Grid Community library.
50
49
  | [initialised](./grid-pro.gridpro.initialised.md) | <code>protected</code> | boolean | |
51
50
  | [observedAttributes](./grid-pro.gridpro.observedattributes.md) | <code>readonly</code> | string\[\] | |
52
51
  | [onlyTemplateColDefs](./grid-pro.gridpro.onlytemplatecoldefs.md) | | boolean | |
53
- | [persistColumnStateKey](./grid-pro.gridpro.persistcolumnstatekey.md) | | string | The key to use for persisting the grid state in local/session storage. |
52
+ | [persistColumnStateKey](./grid-pro.gridpro.persistcolumnstatekey.md) | | string | |
54
53
  | [rowHeight](./grid-pro.gridpro.rowheight.md) | | number | |
55
54
  | [theme](./grid-pro.gridpro.theme.md) | | string | |
56
55
 
@@ -4,8 +4,6 @@
4
4
 
5
5
  ## GridPro.persistColumnStateKey property
6
6
 
7
- The key to use for persisting the grid state in local/session storage.
8
-
9
7
  **Signature:**
10
8
 
11
9
  ```typescript
@@ -36,7 +36,6 @@ import { Logger } from '@genesislcap/foundation-utils';
36
36
  import { MetadataDetail } from '@genesislcap/foundation-comms';
37
37
  import { OverrideFoundationElementDefinition } from '@microsoft/fast-foundation';
38
38
  import { SocketObservable } from '@genesislcap/foundation-comms';
39
- import { StorageType } from '@genesislcap/foundation-comms';
40
39
  import { Swatch } from '@microsoft/fast-components';
41
40
  import { SwatchRGB } from '@microsoft/fast-components';
42
41
  import { TextField } from '@genesislcap/foundation-ui';
@@ -551,7 +550,6 @@ export class GridPro extends GridPro_base {
551
550
  columnApi: ColumnApi;
552
551
  // (undocumented)
553
552
  columnComponentName: string;
554
- columnStateStorageType: StorageType;
555
553
  // (undocumented)
556
554
  combineAllGridComponents(gridOptionsComponents: GridComponents): GridComponents;
557
555
  // (undocumented)
@@ -590,6 +588,7 @@ export class GridPro extends GridPro_base {
590
588
  get observedAttributes(): string[];
591
589
  // (undocumented)
592
590
  onlyTemplateColDefs: boolean;
591
+ // (undocumented)
593
592
  persistColumnStateKey: string;
594
593
  // (undocumented)
595
594
  rowHeight: number;
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.78.1-alpha-b86a5e4.0",
4
+ "version": "14.78.1",
5
5
  "sideEffects": false,
6
6
  "license": "SEE LICENSE IN license.txt",
7
7
  "main": "dist/esm/index.js",
@@ -28,14 +28,14 @@
28
28
  "test:debug": "genx test --debug"
29
29
  },
30
30
  "devDependencies": {
31
- "@genesislcap/foundation-testing": "14.78.1-alpha-b86a5e4.0",
32
- "@genesislcap/genx": "14.78.1-alpha-b86a5e4.0",
31
+ "@genesislcap/foundation-testing": "14.78.1",
32
+ "@genesislcap/genx": "14.78.1",
33
33
  "rimraf": "^3.0.2"
34
34
  },
35
35
  "dependencies": {
36
- "@genesislcap/foundation-comms": "14.78.1-alpha-b86a5e4.0",
37
- "@genesislcap/foundation-ui": "14.78.1-alpha-b86a5e4.0",
38
- "@genesislcap/foundation-utils": "14.78.1-alpha-b86a5e4.0",
36
+ "@genesislcap/foundation-comms": "14.78.1",
37
+ "@genesislcap/foundation-ui": "14.78.1",
38
+ "@genesislcap/foundation-utils": "14.78.1",
39
39
  "@microsoft/fast-colors": "^5.1.4",
40
40
  "@microsoft/fast-components": "^2.21.3",
41
41
  "@microsoft/fast-element": "^1.7.0",
@@ -58,5 +58,5 @@
58
58
  "access": "public"
59
59
  },
60
60
  "customElements": "dist/custom-elements.json",
61
- "gitHead": "5ddc1035be29486a88c0c4e019ca5ace6b5d6224"
61
+ "gitHead": "8a551336faba5c35eaadecd33f073de0f8e182b8"
62
62
  }
@@ -1,13 +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; [columnStateStorageType](./grid-pro.gridpro.columnstatestoragetype.md)
4
-
5
- ## GridPro.columnStateStorageType property
6
-
7
- The type of storage to use for persisting the column state.
8
-
9
- **Signature:**
10
-
11
- ```typescript
12
- columnStateStorageType: StorageType;
13
- ```