@genesislcap/grid-pro 14.151.1 → 14.152.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.
Files changed (45) hide show
  1. package/dist/custom-elements.json +245 -9
  2. package/dist/dts/datasource/server-side.datasource.d.ts.map +1 -1
  3. package/dist/dts/grid-pro-genesis-datasource/grid-pro-genesis-datasource.d.ts.map +1 -1
  4. package/dist/dts/grid-pro.d.ts +22 -11
  5. package/dist/dts/grid-pro.d.ts.map +1 -1
  6. package/dist/dts/index.d.ts +1 -0
  7. package/dist/dts/index.d.ts.map +1 -1
  8. package/dist/dts/state-persistence/index.d.ts +4 -0
  9. package/dist/dts/state-persistence/index.d.ts.map +1 -0
  10. package/dist/dts/state-persistence/kv-state.d.ts +15 -0
  11. package/dist/dts/state-persistence/kv-state.d.ts.map +1 -0
  12. package/dist/dts/state-persistence/local-state.d.ts +13 -0
  13. package/dist/dts/state-persistence/local-state.d.ts.map +1 -0
  14. package/dist/dts/state-persistence/state-persistence.d.ts +24 -0
  15. package/dist/dts/state-persistence/state-persistence.d.ts.map +1 -0
  16. package/dist/esm/datasource/server-side.datasource.js +41 -39
  17. package/dist/esm/grid-pro-genesis-datasource/grid-pro-genesis-datasource.js +65 -61
  18. package/dist/esm/grid-pro.js +102 -90
  19. package/dist/esm/index.js +1 -0
  20. package/dist/esm/state-persistence/index.js +3 -0
  21. package/dist/esm/state-persistence/kv-state.js +58 -0
  22. package/dist/esm/state-persistence/local-state.js +30 -0
  23. package/dist/esm/state-persistence/state-persistence.js +7 -0
  24. package/dist/grid-pro.api.json +795 -158
  25. package/dist/grid-pro.d.ts +69 -11
  26. package/docs/api/grid-pro.gridpro.applytemplatedefinitions.md +2 -2
  27. package/docs/api/grid-pro.gridpro.getsavedcolumnstate.md +3 -3
  28. package/docs/api/grid-pro.gridpro.md +2 -1
  29. package/docs/api/grid-pro.gridpro.mergeallcolumndefsandstates.md +2 -2
  30. package/docs/api/grid-pro.gridpro.statepersistence.md +11 -0
  31. package/docs/api/grid-pro.kvstoragestatepersistence.getcolumnstate.md +22 -0
  32. package/docs/api/grid-pro.kvstoragestatepersistence.kvstorage.md +11 -0
  33. package/docs/api/grid-pro.kvstoragestatepersistence.md +29 -0
  34. package/docs/api/grid-pro.kvstoragestatepersistence.savecolumnstate.md +23 -0
  35. package/docs/api/grid-pro.kvstoragestatepersistence.session.md +11 -0
  36. package/docs/api/grid-pro.localstoragestatepersistence.getcolumnstate.md +22 -0
  37. package/docs/api/grid-pro.localstoragestatepersistence.md +28 -0
  38. package/docs/api/grid-pro.localstoragestatepersistence.savecolumnstate.md +23 -0
  39. package/docs/api/grid-pro.localstoragestatepersistence.session.md +11 -0
  40. package/docs/api/grid-pro.md +3 -0
  41. package/docs/api/grid-pro.statepersistence.getcolumnstate.md +24 -0
  42. package/docs/api/grid-pro.statepersistence.md +21 -0
  43. package/docs/api/grid-pro.statepersistence.savecolumnstate.md +25 -0
  44. package/docs/api-report.md +40 -3
  45. package/package.json +14 -13
@@ -7779,6 +7779,15 @@
7779
7779
  "kind": "Content",
7780
7780
  "text": "): "
7781
7781
  },
7782
+ {
7783
+ "kind": "Reference",
7784
+ "text": "Promise",
7785
+ "canonicalReference": "!Promise:interface"
7786
+ },
7787
+ {
7788
+ "kind": "Content",
7789
+ "text": "<"
7790
+ },
7782
7791
  {
7783
7792
  "kind": "Reference",
7784
7793
  "text": "ColDef",
@@ -7786,7 +7795,7 @@
7786
7795
  },
7787
7796
  {
7788
7797
  "kind": "Content",
7789
- "text": "<any>[]"
7798
+ "text": "<any>[]>"
7790
7799
  },
7791
7800
  {
7792
7801
  "kind": "Content",
@@ -7796,7 +7805,7 @@
7796
7805
  "isStatic": false,
7797
7806
  "returnTypeTokenRange": {
7798
7807
  "startIndex": 6,
7799
- "endIndex": 8
7808
+ "endIndex": 10
7800
7809
  },
7801
7810
  "releaseTag": "Public",
7802
7811
  "isProtected": false,
@@ -8269,12 +8278,21 @@
8269
8278
  {
8270
8279
  "kind": "Method",
8271
8280
  "canonicalReference": "@genesislcap/grid-pro!GridPro#getSavedColumnState:member(1)",
8272
- "docComment": "/**\n * Gets the saved grid ColumnState[] from local storage\n *\n * @remarks\n *\n * This is used to restore the grid state when the grid is rehydrated\n *\n * @public\n */\n",
8281
+ "docComment": "/**\n * Gets the saved grid ColumnState[] from storage\n *\n * @remarks\n *\n * This is used to restore the grid state when the grid is rehydrated\n *\n * @public\n */\n",
8273
8282
  "excerptTokens": [
8274
8283
  {
8275
8284
  "kind": "Content",
8276
8285
  "text": "getSavedColumnState(): "
8277
8286
  },
8287
+ {
8288
+ "kind": "Reference",
8289
+ "text": "Promise",
8290
+ "canonicalReference": "!Promise:interface"
8291
+ },
8292
+ {
8293
+ "kind": "Content",
8294
+ "text": "<"
8295
+ },
8278
8296
  {
8279
8297
  "kind": "Reference",
8280
8298
  "text": "ColumnState",
@@ -8282,7 +8300,7 @@
8282
8300
  },
8283
8301
  {
8284
8302
  "kind": "Content",
8285
- "text": "[]"
8303
+ "text": "[]>"
8286
8304
  },
8287
8305
  {
8288
8306
  "kind": "Content",
@@ -8292,7 +8310,7 @@
8292
8310
  "isStatic": false,
8293
8311
  "returnTypeTokenRange": {
8294
8312
  "startIndex": 1,
8295
- "endIndex": 3
8313
+ "endIndex": 5
8296
8314
  },
8297
8315
  "releaseTag": "Public",
8298
8316
  "isProtected": false,
@@ -8741,6 +8759,15 @@
8741
8759
  "kind": "Content",
8742
8760
  "text": "): "
8743
8761
  },
8762
+ {
8763
+ "kind": "Reference",
8764
+ "text": "Promise",
8765
+ "canonicalReference": "!Promise:interface"
8766
+ },
8767
+ {
8768
+ "kind": "Content",
8769
+ "text": "<"
8770
+ },
8744
8771
  {
8745
8772
  "kind": "Reference",
8746
8773
  "text": "ColDef",
@@ -8748,7 +8775,7 @@
8748
8775
  },
8749
8776
  {
8750
8777
  "kind": "Content",
8751
- "text": "<any>[]"
8778
+ "text": "<any>[]>"
8752
8779
  },
8753
8780
  {
8754
8781
  "kind": "Content",
@@ -8758,7 +8785,7 @@
8758
8785
  "isStatic": false,
8759
8786
  "returnTypeTokenRange": {
8760
8787
  "startIndex": 6,
8761
- "endIndex": 8
8788
+ "endIndex": 10
8762
8789
  },
8763
8790
  "releaseTag": "Public",
8764
8791
  "isProtected": false,
@@ -8936,6 +8963,37 @@
8936
8963
  "isAbstract": false,
8937
8964
  "name": "statePersistanceEnabled"
8938
8965
  },
8966
+ {
8967
+ "kind": "Property",
8968
+ "canonicalReference": "@genesislcap/grid-pro!GridPro#statePersistence:member",
8969
+ "docComment": "",
8970
+ "excerptTokens": [
8971
+ {
8972
+ "kind": "Content",
8973
+ "text": "statePersistence: "
8974
+ },
8975
+ {
8976
+ "kind": "Reference",
8977
+ "text": "StatePersistence",
8978
+ "canonicalReference": "@genesislcap/grid-pro!StatePersistence:interface"
8979
+ },
8980
+ {
8981
+ "kind": "Content",
8982
+ "text": ";"
8983
+ }
8984
+ ],
8985
+ "isReadonly": false,
8986
+ "isOptional": false,
8987
+ "releaseTag": "Public",
8988
+ "name": "statePersistence",
8989
+ "propertyTypeTokenRange": {
8990
+ "startIndex": 1,
8991
+ "endIndex": 2
8992
+ },
8993
+ "isStatic": false,
8994
+ "isProtected": false,
8995
+ "isAbstract": false
8996
+ },
8939
8997
  {
8940
8998
  "kind": "Property",
8941
8999
  "canonicalReference": "@genesislcap/grid-pro!GridPro#theme:member",
@@ -11116,164 +11174,65 @@
11116
11174
  "endIndex": 2
11117
11175
  }
11118
11176
  },
11119
- {
11120
- "kind": "Variable",
11121
- "canonicalReference": "@genesislcap/grid-pro!logger:var",
11122
- "docComment": "/**\n * Logger for the grid-pro package\n *\n * @public\n */\n",
11123
- "excerptTokens": [
11124
- {
11125
- "kind": "Content",
11126
- "text": "logger: "
11127
- },
11128
- {
11129
- "kind": "Content",
11130
- "text": "import(\"@genesislcap/foundation-logger\")."
11131
- },
11132
- {
11133
- "kind": "Reference",
11134
- "text": "Logger",
11135
- "canonicalReference": "@genesislcap/foundation-logger!Logger:interface"
11136
- }
11137
- ],
11138
- "fileUrlPath": "src/utils/logger.ts",
11139
- "isReadonly": true,
11140
- "releaseTag": "Public",
11141
- "name": "logger",
11142
- "variableTypeTokenRange": {
11143
- "startIndex": 1,
11144
- "endIndex": 3
11145
- }
11146
- },
11147
- {
11148
- "kind": "Function",
11149
- "canonicalReference": "@genesislcap/grid-pro!mergeAndDedupColDefWithColumnState:function(1)",
11150
- "docComment": "/**\n * Merges two arrays, one of `ColDef` and one of `ColumnState`, and deduplicates them.\n *\n * @remarks\n *\n * ColDef uses `field` and ColumnState uses `colId` to identify columns.\n *\n * @public\n */\n",
11151
- "excerptTokens": [
11152
- {
11153
- "kind": "Content",
11154
- "text": "export declare function mergeAndDedupColDefWithColumnState(colDefs: "
11155
- },
11156
- {
11157
- "kind": "Reference",
11158
- "text": "ColDef",
11159
- "canonicalReference": "@ag-grid-community/core!ColDef:interface"
11160
- },
11161
- {
11162
- "kind": "Content",
11163
- "text": "[]"
11164
- },
11165
- {
11166
- "kind": "Content",
11167
- "text": ", columnStates: "
11168
- },
11169
- {
11170
- "kind": "Reference",
11171
- "text": "ColumnState",
11172
- "canonicalReference": "@ag-grid-community/core!ColumnState:interface"
11173
- },
11174
- {
11175
- "kind": "Content",
11176
- "text": "[]"
11177
- },
11178
- {
11179
- "kind": "Content",
11180
- "text": "): "
11181
- },
11182
- {
11183
- "kind": "Reference",
11184
- "text": "ColDef",
11185
- "canonicalReference": "@ag-grid-community/core!ColDef:interface"
11186
- },
11187
- {
11188
- "kind": "Content",
11189
- "text": "[]"
11190
- },
11191
- {
11192
- "kind": "Content",
11193
- "text": ";"
11194
- }
11195
- ],
11196
- "fileUrlPath": "src/utils/array.ts",
11197
- "returnTypeTokenRange": {
11198
- "startIndex": 7,
11199
- "endIndex": 9
11200
- },
11201
- "releaseTag": "Public",
11202
- "overloadIndex": 1,
11203
- "parameters": [
11204
- {
11205
- "parameterName": "colDefs",
11206
- "parameterTypeTokenRange": {
11207
- "startIndex": 1,
11208
- "endIndex": 3
11209
- },
11210
- "isOptional": false
11211
- },
11212
- {
11213
- "parameterName": "columnStates",
11214
- "parameterTypeTokenRange": {
11215
- "startIndex": 4,
11216
- "endIndex": 6
11217
- },
11218
- "isOptional": false
11219
- }
11220
- ],
11221
- "name": "mergeAndDedupColDefWithColumnState"
11222
- },
11223
11177
  {
11224
11178
  "kind": "Class",
11225
- "canonicalReference": "@genesislcap/grid-pro!MultiselectEditor:class",
11226
- "docComment": "/**\n * The AG Multiselect Editor element.\n *\n * @tagname\n *\n * %%prefix%%-multiselect-editor\n *\n * @public\n */\n",
11179
+ "canonicalReference": "@genesislcap/grid-pro!KVStorageStatePersistence:class",
11180
+ "docComment": "/**\n * Implementation for the KV Storage State Persistence interface.\n *\n * @public\n */\n",
11227
11181
  "excerptTokens": [
11228
11182
  {
11229
11183
  "kind": "Content",
11230
- "text": "export declare class MultiselectEditor extends "
11231
- },
11232
- {
11233
- "kind": "Reference",
11234
- "text": "FoundationElement",
11235
- "canonicalReference": "@microsoft/fast-foundation!FoundationElement:class"
11236
- },
11237
- {
11238
- "kind": "Content",
11239
- "text": " implements "
11184
+ "text": "export declare class KVStorageStatePersistence implements "
11240
11185
  },
11241
11186
  {
11242
11187
  "kind": "Reference",
11243
- "text": "ICellEditorComp",
11244
- "canonicalReference": "@ag-grid-community/core!ICellEditorComp:interface"
11188
+ "text": "StatePersistence",
11189
+ "canonicalReference": "@genesislcap/grid-pro!StatePersistence:interface"
11245
11190
  },
11246
11191
  {
11247
11192
  "kind": "Content",
11248
11193
  "text": " "
11249
11194
  }
11250
11195
  ],
11251
- "fileUrlPath": "src/cell-editors/multiselect.editor.ts",
11196
+ "fileUrlPath": "src/state-persistence/kv-state.ts",
11252
11197
  "releaseTag": "Public",
11253
11198
  "isAbstract": false,
11254
- "name": "MultiselectEditor",
11199
+ "name": "KVStorageStatePersistence",
11255
11200
  "preserveMemberOrder": false,
11256
11201
  "members": [
11257
11202
  {
11258
11203
  "kind": "Method",
11259
- "canonicalReference": "@genesislcap/grid-pro!MultiselectEditor#changeHandler:member(1)",
11204
+ "canonicalReference": "@genesislcap/grid-pro!KVStorageStatePersistence#getColumnState:member(1)",
11260
11205
  "docComment": "",
11261
11206
  "excerptTokens": [
11262
11207
  {
11263
11208
  "kind": "Content",
11264
- "text": "changeHandler(event: "
11209
+ "text": "getColumnState(persistColumnStateKey: "
11265
11210
  },
11266
11211
  {
11267
11212
  "kind": "Content",
11268
- "text": "any"
11213
+ "text": "string"
11269
11214
  },
11270
11215
  {
11271
11216
  "kind": "Content",
11272
11217
  "text": "): "
11273
11218
  },
11219
+ {
11220
+ "kind": "Reference",
11221
+ "text": "Promise",
11222
+ "canonicalReference": "!Promise:interface"
11223
+ },
11274
11224
  {
11275
11225
  "kind": "Content",
11276
- "text": "void"
11226
+ "text": "<"
11227
+ },
11228
+ {
11229
+ "kind": "Reference",
11230
+ "text": "ColumnState",
11231
+ "canonicalReference": "@ag-grid-community/core!ColumnState:interface"
11232
+ },
11233
+ {
11234
+ "kind": "Content",
11235
+ "text": "[]>"
11277
11236
  },
11278
11237
  {
11279
11238
  "kind": "Content",
@@ -11283,14 +11242,14 @@
11283
11242
  "isStatic": false,
11284
11243
  "returnTypeTokenRange": {
11285
11244
  "startIndex": 3,
11286
- "endIndex": 4
11245
+ "endIndex": 7
11287
11246
  },
11288
11247
  "releaseTag": "Public",
11289
11248
  "isProtected": false,
11290
11249
  "overloadIndex": 1,
11291
11250
  "parameters": [
11292
11251
  {
11293
- "parameterName": "event",
11252
+ "parameterName": "persistColumnStateKey",
11294
11253
  "parameterTypeTokenRange": {
11295
11254
  "startIndex": 1,
11296
11255
  "endIndex": 2
@@ -11300,52 +11259,77 @@
11300
11259
  ],
11301
11260
  "isOptional": false,
11302
11261
  "isAbstract": false,
11303
- "name": "changeHandler"
11262
+ "name": "getColumnState"
11304
11263
  },
11305
11264
  {
11306
- "kind": "Method",
11307
- "canonicalReference": "@genesislcap/grid-pro!MultiselectEditor#destroy:member(1)",
11265
+ "kind": "Property",
11266
+ "canonicalReference": "@genesislcap/grid-pro!KVStorageStatePersistence#kvStorage:member",
11308
11267
  "docComment": "",
11309
11268
  "excerptTokens": [
11310
11269
  {
11311
11270
  "kind": "Content",
11312
- "text": "destroy(): "
11271
+ "text": "kvStorage: "
11313
11272
  },
11314
11273
  {
11315
- "kind": "Content",
11316
- "text": "void"
11274
+ "kind": "Reference",
11275
+ "text": "KVStorage",
11276
+ "canonicalReference": "@genesislcap/foundation-comms!KVStorage:interface"
11317
11277
  },
11318
11278
  {
11319
11279
  "kind": "Content",
11320
11280
  "text": ";"
11321
11281
  }
11322
11282
  ],
11323
- "isStatic": false,
11324
- "returnTypeTokenRange": {
11283
+ "isReadonly": false,
11284
+ "isOptional": false,
11285
+ "releaseTag": "Public",
11286
+ "name": "kvStorage",
11287
+ "propertyTypeTokenRange": {
11325
11288
  "startIndex": 1,
11326
11289
  "endIndex": 2
11327
11290
  },
11328
- "releaseTag": "Public",
11291
+ "isStatic": false,
11329
11292
  "isProtected": false,
11330
- "overloadIndex": 1,
11331
- "parameters": [],
11332
- "isOptional": false,
11333
- "isAbstract": false,
11334
- "name": "destroy"
11293
+ "isAbstract": false
11335
11294
  },
11336
11295
  {
11337
11296
  "kind": "Method",
11338
- "canonicalReference": "@genesislcap/grid-pro!MultiselectEditor#getGui:member(1)",
11297
+ "canonicalReference": "@genesislcap/grid-pro!KVStorageStatePersistence#saveColumnState:member(1)",
11339
11298
  "docComment": "",
11340
11299
  "excerptTokens": [
11341
11300
  {
11342
11301
  "kind": "Content",
11343
- "text": "getGui(): "
11302
+ "text": "saveColumnState(persistColumnStateKey: "
11303
+ },
11304
+ {
11305
+ "kind": "Content",
11306
+ "text": "string"
11307
+ },
11308
+ {
11309
+ "kind": "Content",
11310
+ "text": ", columnState: "
11344
11311
  },
11345
11312
  {
11346
11313
  "kind": "Reference",
11347
- "text": "HTMLElement",
11348
- "canonicalReference": "!HTMLElement:interface"
11314
+ "text": "ColumnState",
11315
+ "canonicalReference": "@ag-grid-community/core!ColumnState:interface"
11316
+ },
11317
+ {
11318
+ "kind": "Content",
11319
+ "text": "[]"
11320
+ },
11321
+ {
11322
+ "kind": "Content",
11323
+ "text": "): "
11324
+ },
11325
+ {
11326
+ "kind": "Reference",
11327
+ "text": "Promise",
11328
+ "canonicalReference": "!Promise:interface"
11329
+ },
11330
+ {
11331
+ "kind": "Content",
11332
+ "text": "<void>"
11349
11333
  },
11350
11334
  {
11351
11335
  "kind": "Content",
@@ -11354,17 +11338,522 @@
11354
11338
  ],
11355
11339
  "isStatic": false,
11356
11340
  "returnTypeTokenRange": {
11357
- "startIndex": 1,
11358
- "endIndex": 2
11341
+ "startIndex": 6,
11342
+ "endIndex": 8
11359
11343
  },
11360
11344
  "releaseTag": "Public",
11361
11345
  "isProtected": false,
11362
11346
  "overloadIndex": 1,
11363
- "parameters": [],
11364
- "isOptional": false,
11365
- "isAbstract": false,
11366
- "name": "getGui"
11367
- },
11347
+ "parameters": [
11348
+ {
11349
+ "parameterName": "persistColumnStateKey",
11350
+ "parameterTypeTokenRange": {
11351
+ "startIndex": 1,
11352
+ "endIndex": 2
11353
+ },
11354
+ "isOptional": false
11355
+ },
11356
+ {
11357
+ "parameterName": "columnState",
11358
+ "parameterTypeTokenRange": {
11359
+ "startIndex": 3,
11360
+ "endIndex": 5
11361
+ },
11362
+ "isOptional": false
11363
+ }
11364
+ ],
11365
+ "isOptional": false,
11366
+ "isAbstract": false,
11367
+ "name": "saveColumnState"
11368
+ },
11369
+ {
11370
+ "kind": "Property",
11371
+ "canonicalReference": "@genesislcap/grid-pro!KVStorageStatePersistence#session:member",
11372
+ "docComment": "",
11373
+ "excerptTokens": [
11374
+ {
11375
+ "kind": "Content",
11376
+ "text": "session: "
11377
+ },
11378
+ {
11379
+ "kind": "Reference",
11380
+ "text": "Session",
11381
+ "canonicalReference": "@genesislcap/foundation-comms!Session:interface"
11382
+ },
11383
+ {
11384
+ "kind": "Content",
11385
+ "text": ";"
11386
+ }
11387
+ ],
11388
+ "isReadonly": false,
11389
+ "isOptional": false,
11390
+ "releaseTag": "Public",
11391
+ "name": "session",
11392
+ "propertyTypeTokenRange": {
11393
+ "startIndex": 1,
11394
+ "endIndex": 2
11395
+ },
11396
+ "isStatic": false,
11397
+ "isProtected": false,
11398
+ "isAbstract": false
11399
+ }
11400
+ ],
11401
+ "implementsTokenRanges": [
11402
+ {
11403
+ "startIndex": 1,
11404
+ "endIndex": 2
11405
+ }
11406
+ ]
11407
+ },
11408
+ {
11409
+ "kind": "Class",
11410
+ "canonicalReference": "@genesislcap/grid-pro!LocalStorageStatePersistence:class",
11411
+ "docComment": "/**\n * Implementation for the Local Storage State Persistence interface.\n *\n * @public\n */\n",
11412
+ "excerptTokens": [
11413
+ {
11414
+ "kind": "Content",
11415
+ "text": "export declare class LocalStorageStatePersistence implements "
11416
+ },
11417
+ {
11418
+ "kind": "Reference",
11419
+ "text": "StatePersistence",
11420
+ "canonicalReference": "@genesislcap/grid-pro!StatePersistence:interface"
11421
+ },
11422
+ {
11423
+ "kind": "Content",
11424
+ "text": " "
11425
+ }
11426
+ ],
11427
+ "fileUrlPath": "src/state-persistence/local-state.ts",
11428
+ "releaseTag": "Public",
11429
+ "isAbstract": false,
11430
+ "name": "LocalStorageStatePersistence",
11431
+ "preserveMemberOrder": false,
11432
+ "members": [
11433
+ {
11434
+ "kind": "Method",
11435
+ "canonicalReference": "@genesislcap/grid-pro!LocalStorageStatePersistence#getColumnState:member(1)",
11436
+ "docComment": "",
11437
+ "excerptTokens": [
11438
+ {
11439
+ "kind": "Content",
11440
+ "text": "getColumnState(persistColumnStateKey: "
11441
+ },
11442
+ {
11443
+ "kind": "Content",
11444
+ "text": "string"
11445
+ },
11446
+ {
11447
+ "kind": "Content",
11448
+ "text": "): "
11449
+ },
11450
+ {
11451
+ "kind": "Reference",
11452
+ "text": "Promise",
11453
+ "canonicalReference": "!Promise:interface"
11454
+ },
11455
+ {
11456
+ "kind": "Content",
11457
+ "text": "<"
11458
+ },
11459
+ {
11460
+ "kind": "Reference",
11461
+ "text": "ColumnState",
11462
+ "canonicalReference": "@ag-grid-community/core!ColumnState:interface"
11463
+ },
11464
+ {
11465
+ "kind": "Content",
11466
+ "text": "[]>"
11467
+ },
11468
+ {
11469
+ "kind": "Content",
11470
+ "text": ";"
11471
+ }
11472
+ ],
11473
+ "isStatic": false,
11474
+ "returnTypeTokenRange": {
11475
+ "startIndex": 3,
11476
+ "endIndex": 7
11477
+ },
11478
+ "releaseTag": "Public",
11479
+ "isProtected": false,
11480
+ "overloadIndex": 1,
11481
+ "parameters": [
11482
+ {
11483
+ "parameterName": "persistColumnStateKey",
11484
+ "parameterTypeTokenRange": {
11485
+ "startIndex": 1,
11486
+ "endIndex": 2
11487
+ },
11488
+ "isOptional": false
11489
+ }
11490
+ ],
11491
+ "isOptional": false,
11492
+ "isAbstract": false,
11493
+ "name": "getColumnState"
11494
+ },
11495
+ {
11496
+ "kind": "Method",
11497
+ "canonicalReference": "@genesislcap/grid-pro!LocalStorageStatePersistence#saveColumnState:member(1)",
11498
+ "docComment": "",
11499
+ "excerptTokens": [
11500
+ {
11501
+ "kind": "Content",
11502
+ "text": "saveColumnState(persistColumnStateKey: "
11503
+ },
11504
+ {
11505
+ "kind": "Content",
11506
+ "text": "string"
11507
+ },
11508
+ {
11509
+ "kind": "Content",
11510
+ "text": ", columnState: "
11511
+ },
11512
+ {
11513
+ "kind": "Reference",
11514
+ "text": "ColumnState",
11515
+ "canonicalReference": "@ag-grid-community/core!ColumnState:interface"
11516
+ },
11517
+ {
11518
+ "kind": "Content",
11519
+ "text": "[]"
11520
+ },
11521
+ {
11522
+ "kind": "Content",
11523
+ "text": "): "
11524
+ },
11525
+ {
11526
+ "kind": "Reference",
11527
+ "text": "Promise",
11528
+ "canonicalReference": "!Promise:interface"
11529
+ },
11530
+ {
11531
+ "kind": "Content",
11532
+ "text": "<void>"
11533
+ },
11534
+ {
11535
+ "kind": "Content",
11536
+ "text": ";"
11537
+ }
11538
+ ],
11539
+ "isStatic": false,
11540
+ "returnTypeTokenRange": {
11541
+ "startIndex": 6,
11542
+ "endIndex": 8
11543
+ },
11544
+ "releaseTag": "Public",
11545
+ "isProtected": false,
11546
+ "overloadIndex": 1,
11547
+ "parameters": [
11548
+ {
11549
+ "parameterName": "persistColumnStateKey",
11550
+ "parameterTypeTokenRange": {
11551
+ "startIndex": 1,
11552
+ "endIndex": 2
11553
+ },
11554
+ "isOptional": false
11555
+ },
11556
+ {
11557
+ "parameterName": "columnState",
11558
+ "parameterTypeTokenRange": {
11559
+ "startIndex": 3,
11560
+ "endIndex": 5
11561
+ },
11562
+ "isOptional": false
11563
+ }
11564
+ ],
11565
+ "isOptional": false,
11566
+ "isAbstract": false,
11567
+ "name": "saveColumnState"
11568
+ },
11569
+ {
11570
+ "kind": "Property",
11571
+ "canonicalReference": "@genesislcap/grid-pro!LocalStorageStatePersistence#session:member",
11572
+ "docComment": "",
11573
+ "excerptTokens": [
11574
+ {
11575
+ "kind": "Content",
11576
+ "text": "session: "
11577
+ },
11578
+ {
11579
+ "kind": "Reference",
11580
+ "text": "Session",
11581
+ "canonicalReference": "@genesislcap/foundation-comms!Session:interface"
11582
+ },
11583
+ {
11584
+ "kind": "Content",
11585
+ "text": ";"
11586
+ }
11587
+ ],
11588
+ "isReadonly": false,
11589
+ "isOptional": false,
11590
+ "releaseTag": "Public",
11591
+ "name": "session",
11592
+ "propertyTypeTokenRange": {
11593
+ "startIndex": 1,
11594
+ "endIndex": 2
11595
+ },
11596
+ "isStatic": false,
11597
+ "isProtected": false,
11598
+ "isAbstract": false
11599
+ }
11600
+ ],
11601
+ "implementsTokenRanges": [
11602
+ {
11603
+ "startIndex": 1,
11604
+ "endIndex": 2
11605
+ }
11606
+ ]
11607
+ },
11608
+ {
11609
+ "kind": "Variable",
11610
+ "canonicalReference": "@genesislcap/grid-pro!logger:var",
11611
+ "docComment": "/**\n * Logger for the grid-pro package\n *\n * @public\n */\n",
11612
+ "excerptTokens": [
11613
+ {
11614
+ "kind": "Content",
11615
+ "text": "logger: "
11616
+ },
11617
+ {
11618
+ "kind": "Content",
11619
+ "text": "import(\"@genesislcap/foundation-logger\")."
11620
+ },
11621
+ {
11622
+ "kind": "Reference",
11623
+ "text": "Logger",
11624
+ "canonicalReference": "@genesislcap/foundation-logger!Logger:interface"
11625
+ }
11626
+ ],
11627
+ "fileUrlPath": "src/utils/logger.ts",
11628
+ "isReadonly": true,
11629
+ "releaseTag": "Public",
11630
+ "name": "logger",
11631
+ "variableTypeTokenRange": {
11632
+ "startIndex": 1,
11633
+ "endIndex": 3
11634
+ }
11635
+ },
11636
+ {
11637
+ "kind": "Function",
11638
+ "canonicalReference": "@genesislcap/grid-pro!mergeAndDedupColDefWithColumnState:function(1)",
11639
+ "docComment": "/**\n * Merges two arrays, one of `ColDef` and one of `ColumnState`, and deduplicates them.\n *\n * @remarks\n *\n * ColDef uses `field` and ColumnState uses `colId` to identify columns.\n *\n * @public\n */\n",
11640
+ "excerptTokens": [
11641
+ {
11642
+ "kind": "Content",
11643
+ "text": "export declare function mergeAndDedupColDefWithColumnState(colDefs: "
11644
+ },
11645
+ {
11646
+ "kind": "Reference",
11647
+ "text": "ColDef",
11648
+ "canonicalReference": "@ag-grid-community/core!ColDef:interface"
11649
+ },
11650
+ {
11651
+ "kind": "Content",
11652
+ "text": "[]"
11653
+ },
11654
+ {
11655
+ "kind": "Content",
11656
+ "text": ", columnStates: "
11657
+ },
11658
+ {
11659
+ "kind": "Reference",
11660
+ "text": "ColumnState",
11661
+ "canonicalReference": "@ag-grid-community/core!ColumnState:interface"
11662
+ },
11663
+ {
11664
+ "kind": "Content",
11665
+ "text": "[]"
11666
+ },
11667
+ {
11668
+ "kind": "Content",
11669
+ "text": "): "
11670
+ },
11671
+ {
11672
+ "kind": "Reference",
11673
+ "text": "ColDef",
11674
+ "canonicalReference": "@ag-grid-community/core!ColDef:interface"
11675
+ },
11676
+ {
11677
+ "kind": "Content",
11678
+ "text": "[]"
11679
+ },
11680
+ {
11681
+ "kind": "Content",
11682
+ "text": ";"
11683
+ }
11684
+ ],
11685
+ "fileUrlPath": "src/utils/array.ts",
11686
+ "returnTypeTokenRange": {
11687
+ "startIndex": 7,
11688
+ "endIndex": 9
11689
+ },
11690
+ "releaseTag": "Public",
11691
+ "overloadIndex": 1,
11692
+ "parameters": [
11693
+ {
11694
+ "parameterName": "colDefs",
11695
+ "parameterTypeTokenRange": {
11696
+ "startIndex": 1,
11697
+ "endIndex": 3
11698
+ },
11699
+ "isOptional": false
11700
+ },
11701
+ {
11702
+ "parameterName": "columnStates",
11703
+ "parameterTypeTokenRange": {
11704
+ "startIndex": 4,
11705
+ "endIndex": 6
11706
+ },
11707
+ "isOptional": false
11708
+ }
11709
+ ],
11710
+ "name": "mergeAndDedupColDefWithColumnState"
11711
+ },
11712
+ {
11713
+ "kind": "Class",
11714
+ "canonicalReference": "@genesislcap/grid-pro!MultiselectEditor:class",
11715
+ "docComment": "/**\n * The AG Multiselect Editor element.\n *\n * @tagname\n *\n * %%prefix%%-multiselect-editor\n *\n * @public\n */\n",
11716
+ "excerptTokens": [
11717
+ {
11718
+ "kind": "Content",
11719
+ "text": "export declare class MultiselectEditor extends "
11720
+ },
11721
+ {
11722
+ "kind": "Reference",
11723
+ "text": "FoundationElement",
11724
+ "canonicalReference": "@microsoft/fast-foundation!FoundationElement:class"
11725
+ },
11726
+ {
11727
+ "kind": "Content",
11728
+ "text": " implements "
11729
+ },
11730
+ {
11731
+ "kind": "Reference",
11732
+ "text": "ICellEditorComp",
11733
+ "canonicalReference": "@ag-grid-community/core!ICellEditorComp:interface"
11734
+ },
11735
+ {
11736
+ "kind": "Content",
11737
+ "text": " "
11738
+ }
11739
+ ],
11740
+ "fileUrlPath": "src/cell-editors/multiselect.editor.ts",
11741
+ "releaseTag": "Public",
11742
+ "isAbstract": false,
11743
+ "name": "MultiselectEditor",
11744
+ "preserveMemberOrder": false,
11745
+ "members": [
11746
+ {
11747
+ "kind": "Method",
11748
+ "canonicalReference": "@genesislcap/grid-pro!MultiselectEditor#changeHandler:member(1)",
11749
+ "docComment": "",
11750
+ "excerptTokens": [
11751
+ {
11752
+ "kind": "Content",
11753
+ "text": "changeHandler(event: "
11754
+ },
11755
+ {
11756
+ "kind": "Content",
11757
+ "text": "any"
11758
+ },
11759
+ {
11760
+ "kind": "Content",
11761
+ "text": "): "
11762
+ },
11763
+ {
11764
+ "kind": "Content",
11765
+ "text": "void"
11766
+ },
11767
+ {
11768
+ "kind": "Content",
11769
+ "text": ";"
11770
+ }
11771
+ ],
11772
+ "isStatic": false,
11773
+ "returnTypeTokenRange": {
11774
+ "startIndex": 3,
11775
+ "endIndex": 4
11776
+ },
11777
+ "releaseTag": "Public",
11778
+ "isProtected": false,
11779
+ "overloadIndex": 1,
11780
+ "parameters": [
11781
+ {
11782
+ "parameterName": "event",
11783
+ "parameterTypeTokenRange": {
11784
+ "startIndex": 1,
11785
+ "endIndex": 2
11786
+ },
11787
+ "isOptional": false
11788
+ }
11789
+ ],
11790
+ "isOptional": false,
11791
+ "isAbstract": false,
11792
+ "name": "changeHandler"
11793
+ },
11794
+ {
11795
+ "kind": "Method",
11796
+ "canonicalReference": "@genesislcap/grid-pro!MultiselectEditor#destroy:member(1)",
11797
+ "docComment": "",
11798
+ "excerptTokens": [
11799
+ {
11800
+ "kind": "Content",
11801
+ "text": "destroy(): "
11802
+ },
11803
+ {
11804
+ "kind": "Content",
11805
+ "text": "void"
11806
+ },
11807
+ {
11808
+ "kind": "Content",
11809
+ "text": ";"
11810
+ }
11811
+ ],
11812
+ "isStatic": false,
11813
+ "returnTypeTokenRange": {
11814
+ "startIndex": 1,
11815
+ "endIndex": 2
11816
+ },
11817
+ "releaseTag": "Public",
11818
+ "isProtected": false,
11819
+ "overloadIndex": 1,
11820
+ "parameters": [],
11821
+ "isOptional": false,
11822
+ "isAbstract": false,
11823
+ "name": "destroy"
11824
+ },
11825
+ {
11826
+ "kind": "Method",
11827
+ "canonicalReference": "@genesislcap/grid-pro!MultiselectEditor#getGui:member(1)",
11828
+ "docComment": "",
11829
+ "excerptTokens": [
11830
+ {
11831
+ "kind": "Content",
11832
+ "text": "getGui(): "
11833
+ },
11834
+ {
11835
+ "kind": "Reference",
11836
+ "text": "HTMLElement",
11837
+ "canonicalReference": "!HTMLElement:interface"
11838
+ },
11839
+ {
11840
+ "kind": "Content",
11841
+ "text": ";"
11842
+ }
11843
+ ],
11844
+ "isStatic": false,
11845
+ "returnTypeTokenRange": {
11846
+ "startIndex": 1,
11847
+ "endIndex": 2
11848
+ },
11849
+ "releaseTag": "Public",
11850
+ "isProtected": false,
11851
+ "overloadIndex": 1,
11852
+ "parameters": [],
11853
+ "isOptional": false,
11854
+ "isAbstract": false,
11855
+ "name": "getGui"
11856
+ },
11368
11857
  {
11369
11858
  "kind": "Method",
11370
11859
  "canonicalReference": "@genesislcap/grid-pro!MultiselectEditor#getValue:member(1)",
@@ -13439,6 +13928,154 @@
13439
13928
  }
13440
13929
  ]
13441
13930
  },
13931
+ {
13932
+ "kind": "Interface",
13933
+ "canonicalReference": "@genesislcap/grid-pro!StatePersistence:interface",
13934
+ "docComment": "/**\n * Represents a state persistence and its capabilities. Provides methods to set and get columns from the storage.\n *\n * @public\n */\n",
13935
+ "excerptTokens": [
13936
+ {
13937
+ "kind": "Content",
13938
+ "text": "export interface StatePersistence "
13939
+ }
13940
+ ],
13941
+ "fileUrlPath": "src/state-persistence/state-persistence.ts",
13942
+ "releaseTag": "Public",
13943
+ "name": "StatePersistence",
13944
+ "preserveMemberOrder": false,
13945
+ "members": [
13946
+ {
13947
+ "kind": "MethodSignature",
13948
+ "canonicalReference": "@genesislcap/grid-pro!StatePersistence#getColumnState:member(1)",
13949
+ "docComment": "/**\n * Returns the column state for the given key.\n *\n * @public\n */\n",
13950
+ "excerptTokens": [
13951
+ {
13952
+ "kind": "Content",
13953
+ "text": "getColumnState(persistColumnStateKey: "
13954
+ },
13955
+ {
13956
+ "kind": "Content",
13957
+ "text": "string"
13958
+ },
13959
+ {
13960
+ "kind": "Content",
13961
+ "text": "): "
13962
+ },
13963
+ {
13964
+ "kind": "Reference",
13965
+ "text": "Promise",
13966
+ "canonicalReference": "!Promise:interface"
13967
+ },
13968
+ {
13969
+ "kind": "Content",
13970
+ "text": "<"
13971
+ },
13972
+ {
13973
+ "kind": "Reference",
13974
+ "text": "ColumnState",
13975
+ "canonicalReference": "@ag-grid-community/core!ColumnState:interface"
13976
+ },
13977
+ {
13978
+ "kind": "Content",
13979
+ "text": "[]>"
13980
+ },
13981
+ {
13982
+ "kind": "Content",
13983
+ "text": ";"
13984
+ }
13985
+ ],
13986
+ "isOptional": false,
13987
+ "returnTypeTokenRange": {
13988
+ "startIndex": 3,
13989
+ "endIndex": 7
13990
+ },
13991
+ "releaseTag": "Public",
13992
+ "overloadIndex": 1,
13993
+ "parameters": [
13994
+ {
13995
+ "parameterName": "persistColumnStateKey",
13996
+ "parameterTypeTokenRange": {
13997
+ "startIndex": 1,
13998
+ "endIndex": 2
13999
+ },
14000
+ "isOptional": false
14001
+ }
14002
+ ],
14003
+ "name": "getColumnState"
14004
+ },
14005
+ {
14006
+ "kind": "MethodSignature",
14007
+ "canonicalReference": "@genesislcap/grid-pro!StatePersistence#saveColumnState:member(1)",
14008
+ "docComment": "/**\n * Saves the column state for the given key.\n *\n * @public\n */\n",
14009
+ "excerptTokens": [
14010
+ {
14011
+ "kind": "Content",
14012
+ "text": "saveColumnState(persistColumnStateKey: "
14013
+ },
14014
+ {
14015
+ "kind": "Content",
14016
+ "text": "string"
14017
+ },
14018
+ {
14019
+ "kind": "Content",
14020
+ "text": ", columnState: "
14021
+ },
14022
+ {
14023
+ "kind": "Reference",
14024
+ "text": "ColumnState",
14025
+ "canonicalReference": "@ag-grid-community/core!ColumnState:interface"
14026
+ },
14027
+ {
14028
+ "kind": "Content",
14029
+ "text": "[]"
14030
+ },
14031
+ {
14032
+ "kind": "Content",
14033
+ "text": "): "
14034
+ },
14035
+ {
14036
+ "kind": "Reference",
14037
+ "text": "Promise",
14038
+ "canonicalReference": "!Promise:interface"
14039
+ },
14040
+ {
14041
+ "kind": "Content",
14042
+ "text": "<void>"
14043
+ },
14044
+ {
14045
+ "kind": "Content",
14046
+ "text": ";"
14047
+ }
14048
+ ],
14049
+ "isOptional": false,
14050
+ "returnTypeTokenRange": {
14051
+ "startIndex": 6,
14052
+ "endIndex": 8
14053
+ },
14054
+ "releaseTag": "Public",
14055
+ "overloadIndex": 1,
14056
+ "parameters": [
14057
+ {
14058
+ "parameterName": "persistColumnStateKey",
14059
+ "parameterTypeTokenRange": {
14060
+ "startIndex": 1,
14061
+ "endIndex": 2
14062
+ },
14063
+ "isOptional": false
14064
+ },
14065
+ {
14066
+ "parameterName": "columnState",
14067
+ "parameterTypeTokenRange": {
14068
+ "startIndex": 3,
14069
+ "endIndex": 5
14070
+ },
14071
+ "isOptional": false
14072
+ }
14073
+ ],
14074
+ "name": "saveColumnState"
14075
+ }
14076
+ ],
14077
+ "extendsTokenRanges": []
14078
+ },
13442
14079
  {
13443
14080
  "kind": "Class",
13444
14081
  "canonicalReference": "@genesislcap/grid-pro!StringEditor:class",