@adaptabletools/adaptable 15.0.0-canary.0 → 15.0.0-canary.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.
Files changed (54) hide show
  1. package/bundle.cjs.js +202 -217
  2. package/package.json +2 -2
  3. package/publishTimestamp.d.ts +1 -1
  4. package/publishTimestamp.js +1 -1
  5. package/src/AdaptableInterfaces/IAdaptable.d.ts +42 -42
  6. package/src/AdaptableOptions/ActionOptions.d.ts +5 -5
  7. package/src/AdaptableOptions/UserInterfaceOptions.d.ts +2 -2
  8. package/src/Api/ChartingApi.d.ts +6 -1
  9. package/src/Api/ColumnApi.d.ts +3 -3
  10. package/src/Api/Events/ActionRowSubmitted.d.ts +4 -4
  11. package/src/Api/Events/GridDataChanged.d.ts +2 -2
  12. package/src/Api/FilterApi.d.ts +2 -2
  13. package/src/Api/FinanceApi.d.ts +9 -9
  14. package/src/Api/FormatColumnApi.d.ts +6 -6
  15. package/src/Api/FreeTextColumnApi.d.ts +3 -3
  16. package/src/Api/GridApi.d.ts +28 -28
  17. package/src/Api/Implementation/ChartingApiImpl.d.ts +2 -1
  18. package/src/Api/Implementation/ChartingApiImpl.js +4 -1
  19. package/src/Api/Implementation/ColumnApiImpl.d.ts +3 -3
  20. package/src/Api/Implementation/FilterApiImpl.d.ts +2 -2
  21. package/src/Api/Implementation/FormatColumnApiImpl.d.ts +6 -6
  22. package/src/Api/Implementation/FreeTextColumnApiImpl.d.ts +3 -3
  23. package/src/Api/Implementation/GridApiImpl.d.ts +29 -29
  24. package/src/Api/Internal/ActionInternalApi.d.ts +3 -3
  25. package/src/Api/Internal/AdaptableInternalApi.d.ts +3 -3
  26. package/src/Api/Internal/AlertInternalApi.d.ts +3 -3
  27. package/src/Api/Internal/FilterInternalApi.d.ts +2 -2
  28. package/src/Api/Internal/FormatColumnInternalApi.d.ts +7 -7
  29. package/src/Api/Internal/GridInternalApi.d.ts +4 -4
  30. package/src/Api/Internal/StyledColumnInternalApi.d.ts +3 -3
  31. package/src/PredefinedConfig/Common/AdaptableComparerFunction.d.ts +3 -4
  32. package/src/PredefinedConfig/Common/AdaptablePredicate.d.ts +2 -2
  33. package/src/PredefinedConfig/Common/CellDataChangedInfo.d.ts +2 -2
  34. package/src/PredefinedConfig/Common/Menu.d.ts +2 -2
  35. package/src/PredefinedConfig/Selection/GridCell.d.ts +2 -2
  36. package/src/PredefinedConfig/Selection/GridRow.d.ts +2 -2
  37. package/src/Redux/ActionsReducers/GridRedux.d.ts +3 -3
  38. package/src/Utilities/ExpressionFunctions/aggregatedScalarExpressionFunctions.d.ts +3 -3
  39. package/src/Utilities/Interface/Preview.d.ts +2 -2
  40. package/src/Utilities/ObjectFactory.d.ts +2 -2
  41. package/src/Utilities/Services/AggregatedScalarLiveValue.d.ts +2 -2
  42. package/src/Utilities/Services/CalculatedColumnExpressionService.d.ts +2 -2
  43. package/src/Utilities/Services/Interface/ICalculatedColumnExpressionService.d.ts +2 -2
  44. package/src/Utilities/Services/Interface/IQueryLanguageService.d.ts +3 -3
  45. package/src/Utilities/Services/Interface/IReportService.d.ts +3 -3
  46. package/src/Utilities/Services/QueryLanguageService.d.ts +2 -2
  47. package/src/Utilities/Services/ReportService.d.ts +4 -4
  48. package/src/View/DataChangeHistory/buildActionColumnButton.d.ts +2 -2
  49. package/src/agGrid/ActionColumnRenderer.js +1 -0
  50. package/src/agGrid/Adaptable.d.ts +41 -41
  51. package/src/agGrid/Adaptable.js +13 -11
  52. package/src/metamodel/adaptable.metamodel.js +1 -1
  53. package/version.d.ts +1 -1
  54. package/version.js +1 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adaptabletools/adaptable",
3
- "version": "15.0.0-canary.0",
3
+ "version": "15.0.0-canary.1",
4
4
  "description": "Powerful data-agnostic HTML5 AG Grid extension which provides advanced, cutting-edge functionality to meet all DataGrid requirements",
5
5
  "keywords": [
6
6
  "web-components",
@@ -56,6 +56,6 @@
56
56
  "uuid": "^3.3.2"
57
57
  },
58
58
  "peerDependencies": {
59
- "@ag-grid-community/core": ">=28.2.1"
59
+ "@ag-grid-community/core": ">=29.0.0"
60
60
  }
61
61
  }
@@ -1,2 +1,2 @@
1
- declare const _default: 1675776314787;
1
+ declare const _default: 1675780258346;
2
2
  export default _default;
@@ -1,3 +1,3 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.default = 1675776314787;
3
+ exports.default = 1675780258346;
@@ -1,4 +1,4 @@
1
- import { ChartModel, ChartRef, Column, GridOptions, ModuleNames, RowNode } from '@ag-grid-community/core';
1
+ import { ChartModel, ChartRef, Column, GridOptions, ModuleNames, IRowNode } from '@ag-grid-community/core';
2
2
  import { AdaptableApi } from '../Api/AdaptableApi';
3
3
  import { AdaptableColumn } from '../PredefinedConfig/Common/AdaptableColumn';
4
4
  import { ColumnSort } from '../PredefinedConfig/Common/ColumnSort';
@@ -126,23 +126,23 @@ export interface IAdaptable {
126
126
  redrawBody(): void;
127
127
  redrawRenderedRows(): void;
128
128
  redrawHeader(): void;
129
- redrawRow(rowNode: RowNode): void;
130
- redrawRows(rowNodes: RowNode[]): void;
131
- refreshCells(rowNodes: RowNode[], columns: (string | any)[], forceUpdate: boolean, suppressFlash?: boolean): void;
129
+ redrawRow(rowNode: IRowNode): void;
130
+ redrawRows(rowNodes: IRowNode[]): void;
131
+ refreshCells(rowNodes: IRowNode[], columns: (string | any)[], forceUpdate: boolean, suppressFlash?: boolean): void;
132
132
  refreshColumns(columns: (string | Column)[], forceUpdate: boolean, suppressFlash?: boolean): void;
133
133
  setSelectedCells(): SelectedCellInfo | undefined;
134
134
  setSelectedRows(): SelectedRowInfo | undefined;
135
- jumpToRow(rowNode: RowNode): void;
135
+ jumpToRow(rowNode: IRowNode): void;
136
136
  jumpToColumn(columnId: string): void;
137
- jumpToCell(columnId: string, rowNode: RowNode): void;
137
+ jumpToCell(columnId: string, rowNode: IRowNode): void;
138
138
  getAgGridContainerElement(): HTMLElement | null;
139
139
  setDataSource(dataSource: any): void;
140
140
  getGridData(): any[];
141
141
  getFilteredData(): any[];
142
142
  loadDataSource(dataSource: any): void;
143
- updateRows(dataRows: any[], dataUpdateConfig?: DataUpdateConfig): Promise<RowNode[]>;
144
- addRows(dataRows: any[], dataUpdateConfig?: DataUpdateConfig): Promise<RowNode[]>;
145
- deleteRows(dataRows: any[], dataUpdateConfig?: DataUpdateConfig): Promise<RowNode[]>;
143
+ updateRows(dataRows: any[], dataUpdateConfig?: DataUpdateConfig): Promise<IRowNode[]>;
144
+ addRows(dataRows: any[], dataUpdateConfig?: DataUpdateConfig): Promise<IRowNode[]>;
145
+ deleteRows(dataRows: any[], dataUpdateConfig?: DataUpdateConfig): Promise<IRowNode[]>;
146
146
  selectColumn(columnId: string, config?: {
147
147
  keepExistingSelection?: boolean;
148
148
  }): void;
@@ -158,60 +158,60 @@ export interface IAdaptable {
158
158
  autoSizeAllColumns(): void;
159
159
  updateColumnsIntoStore(): void;
160
160
  setColumnOrder(visibleColumnList: string[]): void;
161
- getPrimaryKeyValueFromRowNode(rowNode: RowNode): any;
161
+ getPrimaryKeyValueFromRowNode(rowNode: IRowNode): any;
162
162
  getColumnValueDisplayValuePairList(columnId: string, visibleRowsOnly: boolean, onlyIncludeIds?: {
163
163
  [key: string]: boolean;
164
164
  }): any[];
165
- getDistinctValuesForColumn(column: AdaptableColumn, visibleRowsOnly: boolean, skipRowNode?: RowNode): GridCell[];
166
- getDistinctFilterValuesForColumn(column: AdaptableColumn, visibleRowsOnly: boolean, filter: string, skipRowNode?: RowNode): Promise<{
165
+ getDistinctValuesForColumn(column: AdaptableColumn, visibleRowsOnly: boolean, skipRowNode?: IRowNode): GridCell[];
166
+ getDistinctFilterValuesForColumn(column: AdaptableColumn, visibleRowsOnly: boolean, filter: string, skipRowNode?: IRowNode): Promise<{
167
167
  gridCells: GridCell[];
168
168
  suppressClientSideFilter?: boolean;
169
169
  }>;
170
- getDistinctCustomSortValuesForColumn(column: AdaptableColumn, visibleRowsOnly: boolean, skipRowNode?: RowNode): Promise<GridCell[]>;
171
- getDistinctBulkUpdateValuesForColumn(column: AdaptableColumn, visibleRowsOnly: boolean, selectedGridCells: GridCell[], skipRowNode?: RowNode): Promise<GridCell[]>;
170
+ getDistinctCustomSortValuesForColumn(column: AdaptableColumn, visibleRowsOnly: boolean, skipRowNode?: IRowNode): Promise<GridCell[]>;
171
+ getDistinctBulkUpdateValuesForColumn(column: AdaptableColumn, visibleRowsOnly: boolean, selectedGridCells: GridCell[], skipRowNode?: IRowNode): Promise<GridCell[]>;
172
172
  getDisplayValue(id: any, columnId: string): string | undefined;
173
- getGridCellFromRowNode(rowNode: RowNode, columnId: string): GridCell | undefined;
174
- getRawValueFromRowNode(rowNode: RowNode, columnId: string): any;
175
- getDisplayValueFromRowNode(rowNode: RowNode, columnId: string): string | undefined;
176
- getDisplayValueFromRawValue(rowNode: RowNode, columnId: string, rawValue: any): string | undefined;
173
+ getGridCellFromRowNode(rowNode: IRowNode, columnId: string): GridCell | undefined;
174
+ getRawValueFromRowNode(rowNode: IRowNode, columnId: string): any;
175
+ getDisplayValueFromRowNode(rowNode: IRowNode, columnId: string): string | undefined;
176
+ getDisplayValueFromRawValue(rowNode: IRowNode, columnId: string, rawValue: any): string | undefined;
177
177
  getNormalisedValueFromRawValue(rawValue: any, column: AdaptableColumn): string | number | boolean | Date | unknown;
178
- getDataRowFromRowNode(rowNode: RowNode): any;
179
- getRowNodesForPrimaryKeys(primaryKeyValues: any[]): RowNode[];
180
- getRowNodeForPrimaryKey(primaryKeyValue: any): RowNode;
181
- getRowNodeByIndex(index: number): RowNode;
178
+ getDataRowFromRowNode(rowNode: IRowNode): any;
179
+ getRowNodesForPrimaryKeys(primaryKeyValues: any[]): IRowNode[];
180
+ getRowNodeForPrimaryKey(primaryKeyValue: any): IRowNode;
181
+ getRowNodeByIndex(index: number): IRowNode;
182
182
  getAgGridStatusPanels(): GridOptions['statusBar']['statusPanels'];
183
183
  forPlugins(callback: (plugin: AdaptablePlugin) => any): void;
184
184
  lookupPlugins(propertyName: string, ...args: any): any;
185
185
  getPluginProperty(pluginId: string, propertyName: string, ...args: any): any;
186
186
  getPlugin(pluginId: string): AdaptablePlugin;
187
- setDataValue(value: any, column: AdaptableColumn, primaryKeyValue: any, rowNode?: RowNode): void;
187
+ setDataValue(value: any, column: AdaptableColumn, primaryKeyValue: any, rowNode?: IRowNode): void;
188
188
  setCellValue(cellDataChangedInfo: CellDataChangedInfo): void;
189
189
  cancelEdit(): any;
190
- isCellEditable(rowNode: RowNode, column: Column): boolean;
191
- getFirstRowNode(): RowNode;
192
- getFirstDisplayedRowNode(): RowNode;
193
- forAllRowNodesDo(func: (rowNode: RowNode) => void, config?: {
190
+ isCellEditable(rowNode: IRowNode, column: Column): boolean;
191
+ getFirstRowNode(): IRowNode;
192
+ getFirstDisplayedRowNode(): IRowNode;
193
+ forAllRowNodesDo(func: (rowNode: IRowNode) => void, config?: {
194
194
  includeGroupRows?: boolean;
195
- filterFn?: (rowNode: RowNode) => boolean;
195
+ filterFn?: (rowNode: IRowNode) => boolean;
196
196
  }): void;
197
- forAllVisibleRowNodesDo(func: (rowNode: RowNode) => void): void;
198
- getVisibleRowNodes(): RowNode[];
197
+ forAllVisibleRowNodesDo(func: (rowNode: IRowNode) => void): void;
198
+ getVisibleRowNodes(): IRowNode[];
199
199
  getAllRowNodes(config?: {
200
200
  includeGroupRows?: boolean;
201
- filterFn?: (rowNode: RowNode) => boolean;
202
- }): RowNode[];
203
- getRowsInViewport(): RowNode[];
204
- isGroupRowNode(rowNode: RowNode): boolean;
205
- isVisibleNode(rowNode: RowNode): boolean;
206
- selectNodes(rowNodes: RowNode[], clearSelection: boolean): void;
207
- deSelectNodes(rowNodes: RowNode[], clearSelection: boolean): void;
208
- selectNode(rowNode: RowNode, clearSelection: boolean): void;
209
- deSelectNode(rowNode: RowNode, clearSelection: boolean): void;
210
- selectCells(columnIds: string[], startNode: RowNode, endNode: RowNode, clearSelection?: boolean): void;
201
+ filterFn?: (rowNode: IRowNode) => boolean;
202
+ }): IRowNode[];
203
+ getRowsInViewport(): IRowNode[];
204
+ isGroupRowNode(rowNode: IRowNode): boolean;
205
+ isVisibleNode(rowNode: IRowNode): boolean;
206
+ selectNodes(rowNodes: IRowNode[], clearSelection: boolean): void;
207
+ deSelectNodes(rowNodes: IRowNode[], clearSelection: boolean): void;
208
+ selectNode(rowNode: IRowNode, clearSelection: boolean): void;
209
+ deSelectNode(rowNode: IRowNode, clearSelection: boolean): void;
210
+ selectCells(columnIds: string[], startNode: IRowNode, endNode: IRowNode, clearSelection?: boolean): void;
211
211
  getFirstGroupedColumn(): AdaptableColumn | undefined;
212
- isRowNodeVisible(rowNode: RowNode): boolean;
212
+ isRowNodeVisible(rowNode: IRowNode): boolean;
213
213
  getAgGridColumnType(columnId: string): string | string[];
214
- getActiveColumnComparator(columnId: string, customSort?: CustomSort, customSortComparer?: ColumnValuesComparer): (valueA: any, valueB: any, nodeA?: RowNode, nodeB?: RowNode, isInverted?: boolean) => number | undefined;
214
+ getActiveColumnComparator(columnId: string, customSort?: CustomSort, customSortComparer?: ColumnValuesComparer): (valueA: any, valueB: any, nodeA?: IRowNode, nodeB?: IRowNode, isInverted?: boolean) => number | undefined;
215
215
  setColumnSort(columnSorts: ColumnSort[]): void;
216
216
  clearColumnSort(): void;
217
217
  hideFilterForm(): void;
@@ -1,4 +1,4 @@
1
- import { RowNode } from '@ag-grid-community/core';
1
+ import { IRowNode } from '@ag-grid-community/core';
2
2
  import { ActionRowSubmittedInfo, ActionRowType, AdaptableButton, AdaptableColumn, AdaptableObject, BaseContext, FormContext } from '../types';
3
3
  /**
4
4
  * Options related to Action Columns and Buttons in Adaptable.
@@ -66,7 +66,7 @@ export interface ActionColumnContext extends BaseContext {
66
66
  /**
67
67
  * Current AG Grid Row Node
68
68
  */
69
- rowNode: RowNode;
69
+ rowNode: IRowNode;
70
70
  /**
71
71
  * The current row's data
72
72
  */
@@ -172,7 +172,7 @@ export interface CreateActionRowFormContext extends FormContext {
172
172
  /**
173
173
  * The RowNode being cloned
174
174
  */
175
- clonedRowNode?: RowNode;
175
+ clonedRowNode?: IRowNode;
176
176
  }
177
177
  /**
178
178
  * Context used in an Edit Row Form
@@ -185,14 +185,14 @@ export interface EditActionRowFormContext extends FormContext {
185
185
  /**
186
186
  * The RowNode being edited
187
187
  */
188
- rowNode: RowNode;
188
+ rowNode: IRowNode;
189
189
  }
190
190
  /**
191
191
  * Context used for overriding Title and Description of Action Row Form
192
192
  */
193
193
  export interface ActionRowParamContext extends BaseContext {
194
194
  type: Extract<ActionRowType, 'rowEdited' | 'rowCreated'>;
195
- rowNode?: RowNode;
195
+ rowNode?: IRowNode;
196
196
  }
197
197
  /**
198
198
  * Context used for overriding Field elements in Action Row Form
@@ -5,7 +5,7 @@ import { AdaptableColumn } from '../PredefinedConfig/Common/AdaptableColumn';
5
5
  import { AdaptableObjectTag } from '../PredefinedConfig/Common/AdaptableObject';
6
6
  import { AdaptableStyle } from '../PredefinedConfig/Common/AdaptableStyle';
7
7
  import { BaseContext, GridCell } from '../../types';
8
- import { RowNode } from '@ag-grid-community/core';
8
+ import { IRowNode } from '@ag-grid-community/core';
9
9
  /**
10
10
  * Options for managing the User Interface of AdapTable
11
11
  */
@@ -228,5 +228,5 @@ export interface CustomDisplayFormatterContext extends BaseContext {
228
228
  /**
229
229
  * Node where Custom Display Format will apply
230
230
  */
231
- rowNode: RowNode;
231
+ rowNode: IRowNode;
232
232
  }
@@ -70,7 +70,12 @@ export interface ChartingApi {
70
70
  * Marks chart as readonly
71
71
  * @param chartDefinition charting definition
72
72
  */
73
- setMakeReadOnly(chartDefinition: ChartDefinition): void;
73
+ setChartReadOnly(chartDefinition: ChartDefinition): void;
74
+ /**
75
+ * Marks chart as editable (NOT readonly)
76
+ * @param chartDefinition charting definition
77
+ */
78
+ setChartEditable(chartDefinition: ChartDefinition): void;
74
79
  /**
75
80
  * Add new Chart Definition
76
81
  * @param chartDefinition Chart Definition to add
@@ -1,4 +1,4 @@
1
- import { Column, RowNode } from '@ag-grid-community/core';
1
+ import { Column, IRowNode } from '@ag-grid-community/core';
2
2
  import { AdaptableColumn, AdaptableColumnDataType, GridCell } from '../../types';
3
3
  /**
4
4
  * Provides run-time access to Adaptable Column related features
@@ -334,11 +334,11 @@ export interface ColumnApi {
334
334
  /**
335
335
  * @deprecated internal method, will be removed in next major release
336
336
  */
337
- getDistinctRawValuesForColumn(columnId: string, skipRowNode?: RowNode): any[];
337
+ getDistinctRawValuesForColumn(columnId: string, skipRowNode?: IRowNode): any[];
338
338
  /**
339
339
  * @deprecated internal method, will be removed in next major release
340
340
  */
341
- getUnsortedDistinctRawValuesForColumn(columnId: string, skipRowNode?: RowNode): any[];
341
+ getUnsortedDistinctRawValuesForColumn(columnId: string, skipRowNode?: IRowNode): any[];
342
342
  /**
343
343
  * @deprecated internal method, will be removed in next major release
344
344
  */
@@ -1,6 +1,6 @@
1
1
  import { BaseEventInfo } from './BaseEventInfo';
2
2
  import { AdaptableFormData } from '../../PredefinedConfig/Common/AdaptableForm';
3
- import { RowNode } from '@ag-grid-community/core';
3
+ import { IRowNode } from '@ag-grid-community/core';
4
4
  /**
5
5
  * Info passed into ActionRowSubmitted Event - can be `CreatedActionRowInfo` or `EditedActionRowInfo` or `DeletedActionRowInfo`
6
6
  */
@@ -24,7 +24,7 @@ export interface CreatedActionRowInfo extends BaseEventInfo {
24
24
  /**
25
25
  * Node being cloned
26
26
  */
27
- clonedRowNode?: RowNode;
27
+ clonedRowNode?: IRowNode;
28
28
  }
29
29
  /**
30
30
  * Info passed into ActionRowSubmitted Event for Edited Rows
@@ -41,7 +41,7 @@ export interface EditedActionRowInfo extends BaseEventInfo {
41
41
  /**
42
42
  * Node being edited
43
43
  */
44
- rowNode: RowNode;
44
+ rowNode: IRowNode;
45
45
  }
46
46
  /**
47
47
  * Info passed into ActionRowSubmitted Event for Deleted Rows
@@ -54,5 +54,5 @@ export interface DeletedActionRowInfo extends BaseEventInfo {
54
54
  /**
55
55
  * Node being deleted
56
56
  */
57
- rowNode: RowNode;
57
+ rowNode: IRowNode;
58
58
  }
@@ -1,4 +1,4 @@
1
- import { RowNode } from '@ag-grid-community/core';
1
+ import { IRowNode } from '@ag-grid-community/core';
2
2
  import { BaseEventInfo } from './BaseEventInfo';
3
3
  /**
4
4
  * EventInfo returned by GridDataChanged event
@@ -19,5 +19,5 @@ export interface GridDataChangedInfo extends BaseEventInfo {
19
19
  /**
20
20
  * Row Nodes that were affected by this change
21
21
  */
22
- rowNodes: RowNode[];
22
+ rowNodes: IRowNode[];
23
23
  }
@@ -1,7 +1,7 @@
1
1
  import { AdaptableColumn, ColumnFilter, GridCell } from '../types';
2
2
  import * as Redux from 'redux';
3
3
  import { AdaptablePredicateDef, ColumnFilterDef } from '../PredefinedConfig/Common/AdaptablePredicate';
4
- import { RowNode } from '@ag-grid-community/core';
4
+ import { IRowNode } from '@ag-grid-community/core';
5
5
  import { LayoutColumnFilterAction } from '../Redux/ActionsReducers/LayoutRedux';
6
6
  /**
7
7
  * Provides run-time access to Filter section of Adaptable State.
@@ -164,7 +164,7 @@ export interface FilterApi {
164
164
  /**
165
165
  * @deprecated internal method, will be removed in next major release
166
166
  */
167
- evaluateColumnFilter(columnFilter: ColumnFilter, node: RowNode): boolean;
167
+ evaluateColumnFilter(columnFilter: ColumnFilter, node: IRowNode): boolean;
168
168
  /**
169
169
  * @deprecated internal method, will be removed in next major release
170
170
  */
@@ -1,4 +1,4 @@
1
- import { RowNode } from '@ag-grid-community/core';
1
+ import { IRowNode } from '@ag-grid-community/core';
2
2
  import { ContactColumn, ContactIntent, CountryColumn, CustomFDC3Column, CustomFDC3Intent, FDC3Intent, FinancePluginOptions, InstrumentColumn, InstrumentIntent, OrganizationColumn, PositionColumn, PositionIntent } from '../AdaptableOptions/FinancePluginOptions';
3
3
  import { ContactContext, ContactListContext, ContextData, CountryContext, FDC3Context, InstrumentContext, InstrumentListContext, OrganizationContext, PortfolioContext, PositionContext } from '../types';
4
4
  /**
@@ -15,56 +15,56 @@ export interface FinanceApi {
15
15
  * @param rowNode Row Node to use for Context Data
16
16
  * @param data custom Context Data
17
17
  */
18
- createFDC3InstrumentContext(instrumentColumn: InstrumentColumn, rowNode: RowNode, data?: ContextData): InstrumentContext;
18
+ createFDC3InstrumentContext(instrumentColumn: InstrumentColumn, rowNode: IRowNode, data?: ContextData): InstrumentContext;
19
19
  /**
20
20
  * Creates FDC3 Instrumentlist Context
21
21
  * @param instrumentColumn Instrument Column to create Context For
22
22
  * @param rowNode Row Nodes to use for Context Data
23
23
  * @param data custom Context Data
24
24
  */
25
- createFDC3InstrumentListContext(instrumentColumn: InstrumentColumn, rowNodes: RowNode[], data?: ContextData): InstrumentListContext;
25
+ createFDC3InstrumentListContext(instrumentColumn: InstrumentColumn, rowNodes: IRowNode[], data?: ContextData): InstrumentListContext;
26
26
  /**
27
27
  * Creates FDC3 Position Context
28
28
  * @param instrumentColumn Position Column to create Context For
29
29
  * @param rowNode Row Node to use for Context Data
30
30
  * @param data custom Context Data
31
31
  */
32
- createFDC3PositionContext(positionColumn: PositionColumn, rowNode: RowNode, data?: ContextData): PositionContext;
32
+ createFDC3PositionContext(positionColumn: PositionColumn, rowNode: IRowNode, data?: ContextData): PositionContext;
33
33
  /**
34
34
  * Creates FDC3 Portfolio Context
35
35
  * @param instrumentColumn Position Column to create Context For
36
36
  * @param rowNode Row Nodes to use for Context Data
37
37
  * @param data custom Context Data
38
38
  */
39
- createFDC3PortfolioContext(positionColumn: PositionColumn, rowNodes: RowNode[], data?: ContextData): PortfolioContext;
39
+ createFDC3PortfolioContext(positionColumn: PositionColumn, rowNodes: IRowNode[], data?: ContextData): PortfolioContext;
40
40
  /**
41
41
  * Creates FDC3 Contact Context
42
42
  * @param instrumentColumn Contact Column to create Context For
43
43
  * @param rowNode Row Node to use for Context Data
44
44
  * @param data custom Context Data
45
45
  */
46
- createFDC3ContactContext(contactColumn: ContactColumn, rowNode: RowNode, data?: ContextData): ContactContext;
46
+ createFDC3ContactContext(contactColumn: ContactColumn, rowNode: IRowNode, data?: ContextData): ContactContext;
47
47
  /**
48
48
  * Creates FDC3 Contact List Context
49
49
  * @param instrumentColumn Contact Column to create Context For
50
50
  * @param rowNode Row Nodes to use for Context Data
51
51
  * @param data custom Context Data
52
52
  */
53
- createFDC3ContactListContext(contactColumn: ContactColumn, rowNodes: RowNode[], data?: ContextData): ContactListContext;
53
+ createFDC3ContactListContext(contactColumn: ContactColumn, rowNodes: IRowNode[], data?: ContextData): ContactListContext;
54
54
  /**
55
55
  * Creates FDC3 Organization Context
56
56
  * @param instrumentColumn Organization Column to create Context For
57
57
  * @param rowNode Row Node to use for Context Data
58
58
  * @param data custom Context Data
59
59
  */
60
- createFDC3OrganizationContext(organizationColumn: OrganizationColumn, rowNode: RowNode, data?: ContextData): OrganizationContext;
60
+ createFDC3OrganizationContext(organizationColumn: OrganizationColumn, rowNode: IRowNode, data?: ContextData): OrganizationContext;
61
61
  /**
62
62
  * Creates FDC3 Country Context
63
63
  * @param instrumentColumn Country Column to create Context For
64
64
  * @param rowNode Row Node to use for Context Data
65
65
  * @param data custom Context Data
66
66
  */
67
- createFDC3CountryContext(countryColumn: CountryColumn, rowNode: RowNode, data?: ContextData): CountryContext;
67
+ createFDC3CountryContext(countryColumn: CountryColumn, rowNode: IRowNode, data?: ContextData): CountryContext;
68
68
  /**
69
69
  * Gets Instrument Column with given Id
70
70
  * @param instrumentColumnId Column to Look
@@ -1,6 +1,6 @@
1
1
  import { FormatColumn, FormatColumnState } from '../PredefinedConfig/FormatColumnState';
2
2
  import { AdaptableColumn, AdaptableFormat, AdaptableObjectLookupCriteria, AdaptablePredicateDef, AdaptableScope } from '../types';
3
- import { RowNode } from '@ag-grid-community/core';
3
+ import { IRowNode } from '@ag-grid-community/core';
4
4
  /**
5
5
  * Provides run-time access to the Format Column Module and associated state
6
6
  */
@@ -169,15 +169,15 @@ export interface FormatColumnApi {
169
169
  /**
170
170
  * @deprecated internal method, will be removed in next major release
171
171
  */
172
- getNumberFormattedValue(value: any, node: RowNode, abColumn: AdaptableColumn, options: AdaptableFormat['Options']): any;
172
+ getNumberFormattedValue(value: any, node: IRowNode, abColumn: AdaptableColumn, options: AdaptableFormat['Options']): any;
173
173
  /**
174
174
  * @deprecated internal method, will be removed in next major release
175
175
  */
176
- getStringFormattedValue(value: any, node: RowNode, abColumn: AdaptableColumn, options: AdaptableFormat['Options']): string;
176
+ getStringFormattedValue(value: any, node: IRowNode, abColumn: AdaptableColumn, options: AdaptableFormat['Options']): string;
177
177
  /**
178
178
  * @deprecated internal method, will be removed in next major release
179
179
  */
180
- getDateFormattedValue(value: any, node: RowNode, abColumn: AdaptableColumn, options: AdaptableFormat['Options']): string;
180
+ getDateFormattedValue(value: any, node: IRowNode, abColumn: AdaptableColumn, options: AdaptableFormat['Options']): string;
181
181
  /**
182
182
  * @deprecated internal method, will be removed in next major release
183
183
  */
@@ -186,14 +186,14 @@ export interface FormatColumnApi {
186
186
  * @deprecated internal method, will be removed in next major release
187
187
  */
188
188
  isFormatColumnRelevantForColumn(formatColumn: FormatColumn, column: AdaptableColumn, params: {
189
- node: RowNode;
189
+ node: IRowNode;
190
190
  value: any;
191
191
  }): boolean;
192
192
  /**
193
193
  * @deprecated internal method, will be removed in next major release
194
194
  */
195
195
  getFormatColumnsRelevantForColumn(formatColumns: FormatColumn[], column: AdaptableColumn, params: {
196
- node: RowNode;
196
+ node: IRowNode;
197
197
  value: any;
198
198
  }): FormatColumn[];
199
199
  /**
@@ -1,6 +1,6 @@
1
1
  import { FreeTextColumn, FreeTextColumnState, FreeTextStoredValue } from '../PredefinedConfig/FreeTextColumnState';
2
2
  import { CellDataChangedInfo } from '../PredefinedConfig/Common/CellDataChangedInfo';
3
- import { RowNode } from '@ag-grid-community/core';
3
+ import { IRowNode } from '@ag-grid-community/core';
4
4
  /**
5
5
  * Provides run-time access to FreeTextColumn Module and associated state
6
6
  */
@@ -69,7 +69,7 @@ export interface FreeTextColumnApi {
69
69
  * @param freeTextColumn column to lookup
70
70
  * @param rowNode row to lookup
71
71
  */
72
- getFreeTextColumnValueForRowNode(freeTextColumn: FreeTextColumn, rowNode: RowNode): any;
72
+ getFreeTextColumnValueForRowNode(freeTextColumn: FreeTextColumn, rowNode: IRowNode): any;
73
73
  /**
74
74
  * Opens Settings Panel with Free Text Column section selected and visible
75
75
  */
@@ -92,7 +92,7 @@ export interface FreeTextColumnApi {
92
92
  /**
93
93
  * @deprecated use `getFreeTextColumnValueForRowNode()` instead
94
94
  */
95
- getFreeTextColumnValueFromRowNode(freeTextColumn: FreeTextColumn, rowNode: RowNode): any;
95
+ getFreeTextColumnValueFromRowNode(freeTextColumn: FreeTextColumn, rowNode: IRowNode): any;
96
96
  /**
97
97
  * @deprecated internal method, will be removed in next major release
98
98
  */