@genesislcap/grid-pro 14.40.1-alpha-861eac3.0 → 14.40.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.
- package/dist/custom-elements.json +15 -174
- package/dist/dts/cell-renderers/actions-menu.renderer.d.ts +1 -1
- package/dist/dts/grid-pro-genesis-datasource/grid-pro-genesis-datasource.d.ts.map +1 -1
- package/dist/dts/grid-pro.d.ts +6 -22
- package/dist/dts/grid-pro.d.ts.map +1 -1
- package/dist/dts/index.d.ts +6 -34
- package/dist/dts/index.d.ts.map +1 -1
- package/dist/dts/tsdoc-metadata.json +1 -1
- package/dist/dts/utils/index.d.ts +0 -1
- package/dist/dts/utils/index.d.ts.map +1 -1
- package/dist/esm/cell-renderers/actions-menu.renderer.js +1 -1
- package/dist/esm/grid-pro-genesis-datasource/grid-pro-genesis-datasource.js +1 -1
- package/dist/esm/grid-pro.js +43 -80
- package/dist/esm/index.js +6 -34
- package/dist/esm/utils/index.js +0 -1
- package/dist/grid-pro.api.json +8 -232
- package/dist/grid-pro.d.ts +6 -49
- package/docs/api/grid-pro.getactionsmenudef.md +1 -1
- package/docs/api/grid-pro.gridpro.agattributes.md +1 -1
- package/docs/api/grid-pro.gridpro.agpropertiesmap.md +1 -1
- package/docs/api/grid-pro.gridpro.applytemplatedefinitions.md +1 -2
- package/docs/api/grid-pro.gridpro.md +3 -5
- package/docs/api/grid-pro.md +0 -2
- package/docs/api-report.md +3 -31
- package/externals.js +0 -4
- package/package.json +8 -12
- package/dist/dts/utils/array.d.ts +0 -9
- package/dist/dts/utils/array.d.ts.map +0 -1
- package/dist/esm/utils/array.js +0 -27
- package/docs/api/grid-pro.converttokebabcase.md +0 -13
- package/docs/api/grid-pro.gridpro.getsavedcolumnstate.md +0 -21
- package/docs/api/grid-pro.gridpro.gridprogenesisdatasource.md +0 -11
- package/docs/api/grid-pro.mergeanddedupcoldefwithcolumnstate.md +0 -31
package/dist/esm/grid-pro.js
CHANGED
|
@@ -16,19 +16,12 @@ import { DEBOUNCED_RESIZE_TIME } from './grid-pro.definitions';
|
|
|
16
16
|
import { foundationGridProStyles as styles } from './grid-pro.styles';
|
|
17
17
|
import { gridProTemplate as template } from './grid-pro.template';
|
|
18
18
|
import { AgGridTheme, GridProRendererTypes, agThemeFontsId, agThemeTokenMapClassname, } from './grid-pro.types';
|
|
19
|
-
import { mergeAndDedupColDefWithColumnState } from './utils';
|
|
20
19
|
GridProGenesisDatasource;
|
|
21
20
|
GridProGenesisDatasourceNext;
|
|
22
21
|
GridProCell;
|
|
23
22
|
GridColumn;
|
|
24
23
|
ModuleRegistry.registerModules([CsvExportModule, ClientSideRowModelModule]);
|
|
25
|
-
|
|
26
|
-
* Convert string values from 'camelCase' to 'kebab-case'
|
|
27
|
-
* @param value - The value to convert to Kebab case.
|
|
28
|
-
* @returns The Kebab case result.
|
|
29
|
-
* @public
|
|
30
|
-
*/
|
|
31
|
-
export const convertToKebabCase = (value) => value.replace(/([a-z])([A-Z])/g, '$1-$2').toLowerCase();
|
|
24
|
+
const hypenateAndLowercase = (property) => property.replace('/([a-z])([A-Z])/g', '$1-$2').toLowerCase();
|
|
32
25
|
/**
|
|
33
26
|
* The Grid Pro element.
|
|
34
27
|
* @remarks Grid Pro is a Web Component wrapper around the AG Grid Community library.
|
|
@@ -69,7 +62,7 @@ export class GridPro extends LifecycleMixin(FoundationElement) {
|
|
|
69
62
|
this.agAttributes = {};
|
|
70
63
|
this.agPropertiesMap = ComponentUtil.ALL_PROPERTIES.reduce((map, property) => {
|
|
71
64
|
map[property.toLowerCase()] = property;
|
|
72
|
-
map[
|
|
65
|
+
map[hypenateAndLowercase(property)] = property;
|
|
73
66
|
return map;
|
|
74
67
|
}, {});
|
|
75
68
|
}
|
|
@@ -141,45 +134,28 @@ export class GridPro extends LifecycleMixin(FoundationElement) {
|
|
|
141
134
|
removeConfigWidthsToAutosize(colState) {
|
|
142
135
|
return colState.map((col) => (Object.assign(Object.assign({}, col), { width: null })));
|
|
143
136
|
}
|
|
144
|
-
|
|
137
|
+
serialiseStoreTableConfig() {
|
|
145
138
|
if (this.rehydrationAttempted && this.statePersistanceEnabled()) {
|
|
146
139
|
const existingOptions = JSON.parse(this.session.getLocalStorageItem('gridOptions') || '{}');
|
|
147
|
-
let colState = this.columnApi.getColumnState();
|
|
140
|
+
let colState = this.agGridOptions.columnApi.getColumnState();
|
|
148
141
|
colState = this.gridAutosizingEnabled
|
|
149
142
|
? this.removeConfigWidthsToAutosize(colState)
|
|
150
143
|
: colState;
|
|
151
|
-
if (colState.length === 0)
|
|
152
|
-
return;
|
|
153
144
|
existingOptions[this.persistColumnStateKey] = JSON.stringify(colState);
|
|
154
145
|
this.session.setLocalStorageItem('gridOptions', JSON.stringify(existingOptions));
|
|
155
146
|
}
|
|
156
147
|
}
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
* @public
|
|
162
|
-
*/
|
|
163
|
-
getSavedColumnState() {
|
|
164
|
-
const localStorageGridOptions = this.session.getLocalStorageItem('gridOptions');
|
|
165
|
-
if (this.statePersistanceEnabled() && localStorageGridOptions) {
|
|
166
|
-
const allGridOptions = JSON.parse(localStorageGridOptions);
|
|
148
|
+
rehydrateTableConfig() {
|
|
149
|
+
this.rehydrationAttempted = true;
|
|
150
|
+
if (this.statePersistanceEnabled() && this.session.getLocalStorageItem('gridOptions')) {
|
|
151
|
+
const allGridOptions = JSON.parse(this.session.getLocalStorageItem('gridOptions'));
|
|
167
152
|
if (this.persistColumnStateKey in allGridOptions) {
|
|
168
|
-
|
|
153
|
+
this.agGridOptions.columnApi.applyColumnState({
|
|
154
|
+
state: JSON.parse(allGridOptions[this.persistColumnStateKey]),
|
|
155
|
+
applyOrder: true,
|
|
156
|
+
});
|
|
169
157
|
}
|
|
170
158
|
}
|
|
171
|
-
return [];
|
|
172
|
-
}
|
|
173
|
-
restoreColumnState() {
|
|
174
|
-
var _a;
|
|
175
|
-
this.rehydrationAttempted = true;
|
|
176
|
-
const colState = this.getSavedColumnState();
|
|
177
|
-
if (colState && colState.length > 0) {
|
|
178
|
-
(_a = this.columnApi) === null || _a === void 0 ? void 0 : _a.applyColumnState({
|
|
179
|
-
state: colState,
|
|
180
|
-
applyOrder: true,
|
|
181
|
-
});
|
|
182
|
-
}
|
|
183
159
|
}
|
|
184
160
|
/**
|
|
185
161
|
* @public
|
|
@@ -187,15 +163,13 @@ export class GridPro extends LifecycleMixin(FoundationElement) {
|
|
|
187
163
|
get gridOptions() {
|
|
188
164
|
return this.agGridOptions;
|
|
189
165
|
}
|
|
190
|
-
get gridProGenesisDatasource() {
|
|
191
|
-
return this.querySelector('grid-pro-genesis-datasource');
|
|
192
|
-
}
|
|
193
166
|
set gridOptions(options) {
|
|
194
167
|
const globalEventListener = this.globalEventListener.bind(this);
|
|
195
168
|
const gridOnChangeCallback = () => {
|
|
196
|
-
this.
|
|
169
|
+
this.serialiseStoreTableConfig.bind(this)();
|
|
197
170
|
this.debouncedColumnAutosize.bind(this)();
|
|
198
171
|
};
|
|
172
|
+
const rehydrateTableConfig = this.rehydrateTableConfig.bind(this);
|
|
199
173
|
Array.from(this.attributes).forEach((attribute) => {
|
|
200
174
|
const attrName = this.agPropertiesMap[attribute.name];
|
|
201
175
|
if (!attrName)
|
|
@@ -207,7 +181,7 @@ export class GridPro extends LifecycleMixin(FoundationElement) {
|
|
|
207
181
|
filter: true,
|
|
208
182
|
resizable: true,
|
|
209
183
|
sortable: true,
|
|
210
|
-
}, components: this.combineAllGridComponents(components), suppressDragLeaveHidesColumns: true }, this.eventsAndCallbacks), { onGridReady: (params) => {
|
|
184
|
+
}, columnDefs: this.applyTemplateDefinitions(columnDefs), components: this.combineAllGridComponents(components), suppressDragLeaveHidesColumns: true }, this.eventsAndCallbacks), { onGridReady: (params) => {
|
|
211
185
|
var _a, _b;
|
|
212
186
|
this.gridApi = (_a = options.api) !== null && _a !== void 0 ? _a : params.api;
|
|
213
187
|
this.columnApi = (_b = options.columnApi) !== null && _b !== void 0 ? _b : params.columnApi;
|
|
@@ -218,14 +192,11 @@ export class GridPro extends LifecycleMixin(FoundationElement) {
|
|
|
218
192
|
params,
|
|
219
193
|
gridId: this.id,
|
|
220
194
|
});
|
|
221
|
-
|
|
195
|
+
rehydrateTableConfig();
|
|
222
196
|
this.debouncedColumnAutosize.bind(this)();
|
|
223
197
|
}, onFirstDataRendered: () => {
|
|
224
|
-
this.enableFlashingRows.bind(this)
|
|
198
|
+
this.enableFlashingRows.bind(this);
|
|
225
199
|
}, onColumnPinned: gridOnChangeCallback, onColumnResized: gridOnChangeCallback, onColumnMoved: gridOnChangeCallback, onDisplayedColumnsChanged: gridOnChangeCallback, onFilterChanged: gridOnChangeCallback, onGridSizeChanged: gridOnChangeCallback, onSortChanged: gridOnChangeCallback }), rest);
|
|
226
|
-
if (!this.gridProGenesisDatasource) {
|
|
227
|
-
derivedOptions.columnDefs = this.applyTemplateDefinitions(columnDefs);
|
|
228
|
-
}
|
|
229
200
|
this.agGridOptions = Object.assign(Object.assign({}, this.agGridOptions), ComponentUtil.copyAttributesToGridOptions(derivedOptions, this.agAttributes));
|
|
230
201
|
const gridParams = {
|
|
231
202
|
globalEventListener: globalEventListener,
|
|
@@ -255,48 +226,40 @@ export class GridPro extends LifecycleMixin(FoundationElement) {
|
|
|
255
226
|
});
|
|
256
227
|
}
|
|
257
228
|
}
|
|
258
|
-
applyTemplateDefinitions(columnDefs = []
|
|
229
|
+
applyTemplateDefinitions(columnDefs = []) {
|
|
259
230
|
const agColumnNodes = this.querySelectorAll(this.columnComponentName);
|
|
260
231
|
const overrides = Array.from(agColumnNodes).map((x) => { var _a; return (_a = x.definition) === null || _a === void 0 ? void 0 : _a.field; });
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
// Applies the default valueformatter for given data type, if unspecified in user colDefs
|
|
274
|
-
// Skip if autoCellRendererByType is disabled
|
|
275
|
-
if (!this.autoCellRendererByType || x.definition.valueFormatter) {
|
|
276
|
-
return x.definition;
|
|
277
|
-
}
|
|
278
|
-
const typeValueFormatter = (_a = columnDefs === null || columnDefs === void 0 ? void 0 : columnDefs.find((colDef) => x.definition.field === colDef.field)) === null || _a === void 0 ? void 0 : _a.valueFormatter;
|
|
279
|
-
if (typeValueFormatter) {
|
|
280
|
-
x.definition.valueFormatter = typeValueFormatter;
|
|
281
|
-
}
|
|
232
|
+
if (agColumnNodes.length === 0)
|
|
233
|
+
return columnDefs;
|
|
234
|
+
const mergedColumnDefs = [
|
|
235
|
+
...(columnDefs ? columnDefs.filter((g) => !overrides.includes(g.field)) : []),
|
|
236
|
+
...Array.from(agColumnNodes).map((x) => {
|
|
237
|
+
var _a;
|
|
238
|
+
if (this.enableCellFlashing && x.definition.enableCellChangeFlash === undefined) {
|
|
239
|
+
x.definition.enableCellChangeFlash = true;
|
|
240
|
+
}
|
|
241
|
+
// Applies the default valueformatter for given data type, if unspecified in user colDefs
|
|
242
|
+
// Skip if autoCellRendererByType is disabled
|
|
243
|
+
if (!this.autoCellRendererByType || x.definition.valueFormatter) {
|
|
282
244
|
return x.definition;
|
|
283
|
-
}
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
245
|
+
}
|
|
246
|
+
const typeValueFormatter = (_a = columnDefs === null || columnDefs === void 0 ? void 0 : columnDefs.find((colDef) => x.definition.field === colDef.field)) === null || _a === void 0 ? void 0 : _a.valueFormatter;
|
|
247
|
+
if (typeValueFormatter) {
|
|
248
|
+
x.definition.valueFormatter = typeValueFormatter;
|
|
249
|
+
}
|
|
250
|
+
return x.definition;
|
|
251
|
+
}),
|
|
252
|
+
];
|
|
253
|
+
return mergedColumnDefs;
|
|
291
254
|
}
|
|
292
255
|
get observedAttributes() {
|
|
293
|
-
// allow properties to be supplied either lowercased or
|
|
256
|
+
// allow properties to be supplied either lowercased or hyphenated
|
|
294
257
|
// this allows the user to either supply (for example) enableSorting or enabled-sorting
|
|
295
258
|
// properties lowercased
|
|
296
259
|
const lowerCasedPropertyNames = ComponentUtil.ALL_PROPERTIES.map((property) => property.toLowerCase());
|
|
297
|
-
// properties
|
|
298
|
-
const
|
|
299
|
-
return lowerCasedPropertyNames.concat(
|
|
260
|
+
// properties hyphenated
|
|
261
|
+
const hyphenatedPropertyNames = ComponentUtil.ALL_PROPERTIES.map((property) => hypenateAndLowercase(property));
|
|
262
|
+
return lowerCasedPropertyNames.concat(hyphenatedPropertyNames);
|
|
300
263
|
}
|
|
301
264
|
agAttributeChangedCallback(attName, oldValue, newValue) {
|
|
302
265
|
if (oldValue === newValue) {
|
package/dist/esm/index.js
CHANGED
|
@@ -1,41 +1,13 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
export * from './cell';
|
|
2
|
+
export * from './cell-renderers';
|
|
3
|
+
export * from './column';
|
|
4
|
+
export * from './external';
|
|
5
|
+
export * from './grid-components';
|
|
5
6
|
export * from './grid-pro.definitions';
|
|
6
7
|
export * from './grid-pro.styles';
|
|
7
8
|
export * from './grid-pro.template';
|
|
8
9
|
export * from './grid-pro.types';
|
|
9
10
|
export * from './grid-pro';
|
|
10
|
-
export * from './external';
|
|
11
|
-
export * from './style';
|
|
12
|
-
export * from './cell';
|
|
13
|
-
export * from './cell-renderers';
|
|
14
|
-
export * from './column';
|
|
15
11
|
export * from './grid-pro-genesis-datasource';
|
|
16
|
-
export * from './
|
|
12
|
+
export * from './style';
|
|
17
13
|
export * from './utils';
|
|
18
|
-
/**
|
|
19
|
-
* Re-export of entire @ag-grid-community/core
|
|
20
|
-
*/
|
|
21
|
-
export { AgcCore };
|
|
22
|
-
/**
|
|
23
|
-
* Re-export of ClientSideRowModelModule from @ag-grid-community/client-side-row-model
|
|
24
|
-
*/
|
|
25
|
-
export { ClientSideRowModelModule as AgcCSRMModule } from '@ag-grid-community/client-side-row-model';
|
|
26
|
-
/**
|
|
27
|
-
* Re-export of entire @ag-grid-community/csv-export
|
|
28
|
-
*/
|
|
29
|
-
export { AgcCsvExport };
|
|
30
|
-
/**
|
|
31
|
-
* Re-export of entire @ag-grid-enterprise/core
|
|
32
|
-
*/
|
|
33
|
-
export { AgeCore };
|
|
34
|
-
/**
|
|
35
|
-
* Re-export of ServerSideRowModelModule from @ag-grid-enterprise/server-side-row-model
|
|
36
|
-
*/
|
|
37
|
-
export { ServerSideRowModelModule as AgeSSRMModule } from '@ag-grid-enterprise/server-side-row-model';
|
|
38
|
-
/**
|
|
39
|
-
* Re-export of entire @ag-grid-enterprise/excel-export
|
|
40
|
-
*/
|
|
41
|
-
export { AgeExcelExport };
|
package/dist/esm/utils/index.js
CHANGED
package/dist/grid-pro.api.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"metadata": {
|
|
3
3
|
"toolPackage": "@microsoft/api-extractor",
|
|
4
|
-
"toolVersion": "7.34.
|
|
4
|
+
"toolVersion": "7.34.9",
|
|
5
5
|
"schemaVersion": 1011,
|
|
6
6
|
"oldestForwardsCompatibleVersion": 1001,
|
|
7
7
|
"tsdocConfig": {
|
|
@@ -3035,29 +3035,6 @@
|
|
|
3035
3035
|
"endIndex": 6
|
|
3036
3036
|
}
|
|
3037
3037
|
},
|
|
3038
|
-
{
|
|
3039
|
-
"kind": "Variable",
|
|
3040
|
-
"canonicalReference": "@genesislcap/grid-pro!convertToKebabCase:var",
|
|
3041
|
-
"docComment": "/**\n * Convert string values from 'camelCase' to 'kebab-case'\n *\n * @param value - The value to convert to Kebab case.\n *\n * @returns The Kebab case result.\n *\n * @public\n */\n",
|
|
3042
|
-
"excerptTokens": [
|
|
3043
|
-
{
|
|
3044
|
-
"kind": "Content",
|
|
3045
|
-
"text": "convertToKebabCase: "
|
|
3046
|
-
},
|
|
3047
|
-
{
|
|
3048
|
-
"kind": "Content",
|
|
3049
|
-
"text": "(value: string) => string"
|
|
3050
|
-
}
|
|
3051
|
-
],
|
|
3052
|
-
"fileUrlPath": "src/grid-pro.ts",
|
|
3053
|
-
"isReadonly": true,
|
|
3054
|
-
"releaseTag": "Public",
|
|
3055
|
-
"name": "convertToKebabCase",
|
|
3056
|
-
"variableTypeTokenRange": {
|
|
3057
|
-
"startIndex": 1,
|
|
3058
|
-
"endIndex": 2
|
|
3059
|
-
}
|
|
3060
|
-
},
|
|
3061
3038
|
{
|
|
3062
3039
|
"kind": "Function",
|
|
3063
3040
|
"canonicalReference": "@genesislcap/grid-pro!dateTimeValueFormatter:function(1)",
|
|
@@ -4398,7 +4375,7 @@
|
|
|
4398
4375
|
{
|
|
4399
4376
|
"kind": "Variable",
|
|
4400
4377
|
"canonicalReference": "@genesislcap/grid-pro!getActionsMenuDef:var",
|
|
4401
|
-
"docComment": "/**\n * Helper function to get ColDef {@link https://www.ag-grid.com/javascript-data-grid/column-properties/} for Actions Menu Renderer. Will take the parameter values for a base ColDef and merge them with the overrideDef (if specified).\n *\n * @param actions - Array of {@link @genesislcap/foundation-ui#ActionMenuItem} to be displayed in the menu.\n *\n * @param overrideDef - Optional override for the ColDef. Will override any of the default values. Default is an empty object.\n *\n * @param customActionsOpenerName - Optional custom name for the button that opens the menu. Default is '⋮'.\n *\n * @param isVertical - Optional flag to display the menu vertically. Default is false (displays the menu horizontally, follow the rowHeight).\n *\n * @param buttonAppearance - Optional appearance for the button that opens the menu. Default is 'outline'.\n *\n * @returns Merged ColDef (base ColDef created from the parameters + overrideDef) for Actions Menu Renderer.\n *\n * @example\n * ```ts\n * public exampleActionsMenuDef:
|
|
4378
|
+
"docComment": "/**\n * Helper function to get ColDef {@link https://www.ag-grid.com/javascript-data-grid/column-properties/} for Actions Menu Renderer. Will take the parameter values for a base ColDef and merge them with the overrideDef (if specified).\n *\n * @param actions - Array of {@link @genesislcap/foundation-ui#ActionMenuItem} to be displayed in the menu.\n *\n * @param overrideDef - Optional override for the ColDef. Will override any of the default values. Default is an empty object.\n *\n * @param customActionsOpenerName - Optional custom name for the button that opens the menu. Default is '⋮'.\n *\n * @param isVertical - Optional flag to display the menu vertically. Default is false (displays the menu horizontally, follow the rowHeight).\n *\n * @param buttonAppearance - Optional appearance for the button that opens the menu. Default is 'outline'.\n *\n * @returns Merged ColDef (base ColDef created from the parameters + overrideDef) for Actions Menu Renderer.\n *\n * @example\n * ```ts\n * public exampleActionsMenuDef: ColDef = getActionsMenuDef(\n * [\n * {\n * name: 'View',\n * callback: (rowData) => logger.debug('VIEWW!!!', rowData),\n * },\n * {\n * name: 'Delete',\n * callback: (rowData) => logger.debug('DELETE!!!', rowData),\n * },\n * ],\n * {\n * headerName: 'Instrument Actions',\n * width: 180,\n * },\n * '+',\n * true,\n * 'primary-gradient'\n * );\n * ```\n *\n * @public\n */\n",
|
|
4402
4379
|
"excerptTokens": [
|
|
4403
4380
|
{
|
|
4404
4381
|
"kind": "Content",
|
|
@@ -4871,14 +4848,9 @@
|
|
|
4871
4848
|
"kind": "Content",
|
|
4872
4849
|
"text": "protected agAttributes: "
|
|
4873
4850
|
},
|
|
4874
|
-
{
|
|
4875
|
-
"kind": "Reference",
|
|
4876
|
-
"text": "Record",
|
|
4877
|
-
"canonicalReference": "!Record:type"
|
|
4878
|
-
},
|
|
4879
4851
|
{
|
|
4880
4852
|
"kind": "Content",
|
|
4881
|
-
"text": "
|
|
4853
|
+
"text": "any"
|
|
4882
4854
|
},
|
|
4883
4855
|
{
|
|
4884
4856
|
"kind": "Content",
|
|
@@ -4891,7 +4863,7 @@
|
|
|
4891
4863
|
"name": "agAttributes",
|
|
4892
4864
|
"propertyTypeTokenRange": {
|
|
4893
4865
|
"startIndex": 1,
|
|
4894
|
-
"endIndex":
|
|
4866
|
+
"endIndex": 2
|
|
4895
4867
|
},
|
|
4896
4868
|
"isStatic": false,
|
|
4897
4869
|
"isProtected": true,
|
|
@@ -4968,14 +4940,9 @@
|
|
|
4968
4940
|
"kind": "Content",
|
|
4969
4941
|
"text": "protected agPropertiesMap: "
|
|
4970
4942
|
},
|
|
4971
|
-
{
|
|
4972
|
-
"kind": "Reference",
|
|
4973
|
-
"text": "Record",
|
|
4974
|
-
"canonicalReference": "!Record:type"
|
|
4975
|
-
},
|
|
4976
4943
|
{
|
|
4977
4944
|
"kind": "Content",
|
|
4978
|
-
"text": "
|
|
4945
|
+
"text": "any"
|
|
4979
4946
|
},
|
|
4980
4947
|
{
|
|
4981
4948
|
"kind": "Content",
|
|
@@ -4988,7 +4955,7 @@
|
|
|
4988
4955
|
"name": "agPropertiesMap",
|
|
4989
4956
|
"propertyTypeTokenRange": {
|
|
4990
4957
|
"startIndex": 1,
|
|
4991
|
-
"endIndex":
|
|
4958
|
+
"endIndex": 2
|
|
4992
4959
|
},
|
|
4993
4960
|
"isStatic": false,
|
|
4994
4961
|
"isProtected": true,
|
|
@@ -5012,14 +4979,6 @@
|
|
|
5012
4979
|
"kind": "Content",
|
|
5013
4980
|
"text": "[]"
|
|
5014
4981
|
},
|
|
5015
|
-
{
|
|
5016
|
-
"kind": "Content",
|
|
5017
|
-
"text": ", deferredColumnDefs?: "
|
|
5018
|
-
},
|
|
5019
|
-
{
|
|
5020
|
-
"kind": "Content",
|
|
5021
|
-
"text": "boolean"
|
|
5022
|
-
},
|
|
5023
4982
|
{
|
|
5024
4983
|
"kind": "Content",
|
|
5025
4984
|
"text": "): "
|
|
@@ -5040,8 +4999,8 @@
|
|
|
5040
4999
|
],
|
|
5041
5000
|
"isStatic": false,
|
|
5042
5001
|
"returnTypeTokenRange": {
|
|
5043
|
-
"startIndex":
|
|
5044
|
-
"endIndex":
|
|
5002
|
+
"startIndex": 4,
|
|
5003
|
+
"endIndex": 6
|
|
5045
5004
|
},
|
|
5046
5005
|
"releaseTag": "Public",
|
|
5047
5006
|
"isProtected": false,
|
|
@@ -5054,14 +5013,6 @@
|
|
|
5054
5013
|
"endIndex": 3
|
|
5055
5014
|
},
|
|
5056
5015
|
"isOptional": true
|
|
5057
|
-
},
|
|
5058
|
-
{
|
|
5059
|
-
"parameterName": "deferredColumnDefs",
|
|
5060
|
-
"parameterTypeTokenRange": {
|
|
5061
|
-
"startIndex": 4,
|
|
5062
|
-
"endIndex": 5
|
|
5063
|
-
},
|
|
5064
|
-
"isOptional": true
|
|
5065
5016
|
}
|
|
5066
5017
|
],
|
|
5067
5018
|
"isOptional": false,
|
|
@@ -5391,42 +5342,6 @@
|
|
|
5391
5342
|
"isProtected": false,
|
|
5392
5343
|
"isAbstract": false
|
|
5393
5344
|
},
|
|
5394
|
-
{
|
|
5395
|
-
"kind": "Method",
|
|
5396
|
-
"canonicalReference": "@genesislcap/grid-pro!GridPro#getSavedColumnState:member(1)",
|
|
5397
|
-
"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",
|
|
5398
|
-
"excerptTokens": [
|
|
5399
|
-
{
|
|
5400
|
-
"kind": "Content",
|
|
5401
|
-
"text": "getSavedColumnState(): "
|
|
5402
|
-
},
|
|
5403
|
-
{
|
|
5404
|
-
"kind": "Reference",
|
|
5405
|
-
"text": "ColumnState",
|
|
5406
|
-
"canonicalReference": "@ag-grid-community/core!ColumnState:interface"
|
|
5407
|
-
},
|
|
5408
|
-
{
|
|
5409
|
-
"kind": "Content",
|
|
5410
|
-
"text": "[]"
|
|
5411
|
-
},
|
|
5412
|
-
{
|
|
5413
|
-
"kind": "Content",
|
|
5414
|
-
"text": ";"
|
|
5415
|
-
}
|
|
5416
|
-
],
|
|
5417
|
-
"isStatic": false,
|
|
5418
|
-
"returnTypeTokenRange": {
|
|
5419
|
-
"startIndex": 1,
|
|
5420
|
-
"endIndex": 3
|
|
5421
|
-
},
|
|
5422
|
-
"releaseTag": "Public",
|
|
5423
|
-
"isProtected": false,
|
|
5424
|
-
"overloadIndex": 1,
|
|
5425
|
-
"parameters": [],
|
|
5426
|
-
"isOptional": false,
|
|
5427
|
-
"isAbstract": false,
|
|
5428
|
-
"name": "getSavedColumnState"
|
|
5429
|
-
},
|
|
5430
5345
|
{
|
|
5431
5346
|
"kind": "Method",
|
|
5432
5347
|
"canonicalReference": "@genesislcap/grid-pro!GridPro#globalEventListener:member(1)",
|
|
@@ -5652,37 +5567,6 @@
|
|
|
5652
5567
|
"isProtected": false,
|
|
5653
5568
|
"isAbstract": false
|
|
5654
5569
|
},
|
|
5655
|
-
{
|
|
5656
|
-
"kind": "Property",
|
|
5657
|
-
"canonicalReference": "@genesislcap/grid-pro!GridPro#gridProGenesisDatasource:member",
|
|
5658
|
-
"docComment": "",
|
|
5659
|
-
"excerptTokens": [
|
|
5660
|
-
{
|
|
5661
|
-
"kind": "Content",
|
|
5662
|
-
"text": "get gridProGenesisDatasource(): "
|
|
5663
|
-
},
|
|
5664
|
-
{
|
|
5665
|
-
"kind": "Reference",
|
|
5666
|
-
"text": "GridProGenesisDatasource",
|
|
5667
|
-
"canonicalReference": "@genesislcap/grid-pro!GridProGenesisDatasource:class"
|
|
5668
|
-
},
|
|
5669
|
-
{
|
|
5670
|
-
"kind": "Content",
|
|
5671
|
-
"text": ";"
|
|
5672
|
-
}
|
|
5673
|
-
],
|
|
5674
|
-
"isReadonly": true,
|
|
5675
|
-
"isOptional": false,
|
|
5676
|
-
"releaseTag": "Public",
|
|
5677
|
-
"name": "gridProGenesisDatasource",
|
|
5678
|
-
"propertyTypeTokenRange": {
|
|
5679
|
-
"startIndex": 1,
|
|
5680
|
-
"endIndex": 2
|
|
5681
|
-
},
|
|
5682
|
-
"isStatic": false,
|
|
5683
|
-
"isProtected": false,
|
|
5684
|
-
"isAbstract": false
|
|
5685
|
-
},
|
|
5686
5570
|
{
|
|
5687
5571
|
"kind": "Property",
|
|
5688
5572
|
"canonicalReference": "@genesislcap/grid-pro!GridPro#gridSlot:member",
|
|
@@ -7619,114 +7503,6 @@
|
|
|
7619
7503
|
"endIndex": 3
|
|
7620
7504
|
}
|
|
7621
7505
|
},
|
|
7622
|
-
{
|
|
7623
|
-
"kind": "Function",
|
|
7624
|
-
"canonicalReference": "@genesislcap/grid-pro!mergeAndDedupColDefWithColumnState:function(1)",
|
|
7625
|
-
"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",
|
|
7626
|
-
"excerptTokens": [
|
|
7627
|
-
{
|
|
7628
|
-
"kind": "Content",
|
|
7629
|
-
"text": "export declare function mergeAndDedupColDefWithColumnState(colDefs: "
|
|
7630
|
-
},
|
|
7631
|
-
{
|
|
7632
|
-
"kind": "Reference",
|
|
7633
|
-
"text": "ColDef",
|
|
7634
|
-
"canonicalReference": "@ag-grid-community/core!ColDef:interface"
|
|
7635
|
-
},
|
|
7636
|
-
{
|
|
7637
|
-
"kind": "Content",
|
|
7638
|
-
"text": "[]"
|
|
7639
|
-
},
|
|
7640
|
-
{
|
|
7641
|
-
"kind": "Content",
|
|
7642
|
-
"text": ", columnStates: "
|
|
7643
|
-
},
|
|
7644
|
-
{
|
|
7645
|
-
"kind": "Reference",
|
|
7646
|
-
"text": "ColumnState",
|
|
7647
|
-
"canonicalReference": "@ag-grid-community/core!ColumnState:interface"
|
|
7648
|
-
},
|
|
7649
|
-
{
|
|
7650
|
-
"kind": "Content",
|
|
7651
|
-
"text": "[]"
|
|
7652
|
-
},
|
|
7653
|
-
{
|
|
7654
|
-
"kind": "Content",
|
|
7655
|
-
"text": ", arr1Field?: "
|
|
7656
|
-
},
|
|
7657
|
-
{
|
|
7658
|
-
"kind": "Content",
|
|
7659
|
-
"text": "string"
|
|
7660
|
-
},
|
|
7661
|
-
{
|
|
7662
|
-
"kind": "Content",
|
|
7663
|
-
"text": ", arr2Field?: "
|
|
7664
|
-
},
|
|
7665
|
-
{
|
|
7666
|
-
"kind": "Content",
|
|
7667
|
-
"text": "string"
|
|
7668
|
-
},
|
|
7669
|
-
{
|
|
7670
|
-
"kind": "Content",
|
|
7671
|
-
"text": "): "
|
|
7672
|
-
},
|
|
7673
|
-
{
|
|
7674
|
-
"kind": "Reference",
|
|
7675
|
-
"text": "ColDef",
|
|
7676
|
-
"canonicalReference": "@ag-grid-community/core!ColDef:interface"
|
|
7677
|
-
},
|
|
7678
|
-
{
|
|
7679
|
-
"kind": "Content",
|
|
7680
|
-
"text": "[]"
|
|
7681
|
-
},
|
|
7682
|
-
{
|
|
7683
|
-
"kind": "Content",
|
|
7684
|
-
"text": ";"
|
|
7685
|
-
}
|
|
7686
|
-
],
|
|
7687
|
-
"fileUrlPath": "src/utils/array.ts",
|
|
7688
|
-
"returnTypeTokenRange": {
|
|
7689
|
-
"startIndex": 11,
|
|
7690
|
-
"endIndex": 13
|
|
7691
|
-
},
|
|
7692
|
-
"releaseTag": "Public",
|
|
7693
|
-
"overloadIndex": 1,
|
|
7694
|
-
"parameters": [
|
|
7695
|
-
{
|
|
7696
|
-
"parameterName": "colDefs",
|
|
7697
|
-
"parameterTypeTokenRange": {
|
|
7698
|
-
"startIndex": 1,
|
|
7699
|
-
"endIndex": 3
|
|
7700
|
-
},
|
|
7701
|
-
"isOptional": false
|
|
7702
|
-
},
|
|
7703
|
-
{
|
|
7704
|
-
"parameterName": "columnStates",
|
|
7705
|
-
"parameterTypeTokenRange": {
|
|
7706
|
-
"startIndex": 4,
|
|
7707
|
-
"endIndex": 6
|
|
7708
|
-
},
|
|
7709
|
-
"isOptional": false
|
|
7710
|
-
},
|
|
7711
|
-
{
|
|
7712
|
-
"parameterName": "arr1Field",
|
|
7713
|
-
"parameterTypeTokenRange": {
|
|
7714
|
-
"startIndex": 7,
|
|
7715
|
-
"endIndex": 8
|
|
7716
|
-
},
|
|
7717
|
-
"isOptional": true
|
|
7718
|
-
},
|
|
7719
|
-
{
|
|
7720
|
-
"parameterName": "arr2Field",
|
|
7721
|
-
"parameterTypeTokenRange": {
|
|
7722
|
-
"startIndex": 9,
|
|
7723
|
-
"endIndex": 10
|
|
7724
|
-
},
|
|
7725
|
-
"isOptional": true
|
|
7726
|
-
}
|
|
7727
|
-
],
|
|
7728
|
-
"name": "mergeAndDedupColDefWithColumnState"
|
|
7729
|
-
},
|
|
7730
7506
|
{
|
|
7731
7507
|
"kind": "Class",
|
|
7732
7508
|
"canonicalReference": "@genesislcap/grid-pro!SelectRenderer:class",
|