@adaptabletools/adaptable 19.1.0 → 19.1.2-canary.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.
- package/package.json +1 -1
- package/src/AdaptableInterfaces/IAdaptable.d.ts +2 -5
- package/src/AdaptableOptions/AlertOptions.d.ts +3 -0
- package/src/AdaptableOptions/ColumnMenuOptions.d.ts +1 -1
- package/src/AdaptableOptions/CommentOptions.d.ts +2 -2
- package/src/AdaptableOptions/NoteOptions.d.ts +2 -2
- package/src/Api/AdaptableApi.d.ts +21 -11
- package/src/Api/Events/GridDataChanged.d.ts +3 -0
- package/src/Api/GridApi.d.ts +8 -3
- package/src/Api/Implementation/ActionColumnApiImpl.d.ts +0 -2
- package/src/Api/Implementation/ActionColumnApiImpl.js +1 -4
- package/src/Api/Implementation/ActionRowApiImpl.d.ts +1 -1
- package/src/Api/Implementation/ActionRowApiImpl.js +4 -4
- package/src/Api/Implementation/AdaptableApiImpl.d.ts +5 -6
- package/src/Api/Implementation/AdaptableApiImpl.js +7 -1
- package/src/Api/Implementation/AlertApiImpl.d.ts +1 -1
- package/src/Api/Implementation/AlertApiImpl.js +16 -15
- package/src/Api/Implementation/ApiBase.d.ts +12 -3
- package/src/Api/Implementation/ApiBase.js +39 -24
- package/src/Api/Implementation/CalculatedColumnApiImpl.d.ts +1 -1
- package/src/Api/Implementation/CalculatedColumnApiImpl.js +3 -3
- package/src/Api/Implementation/CalendarApiImpl.js +1 -1
- package/src/Api/Implementation/ChartingApiImpl.d.ts +1 -1
- package/src/Api/Implementation/ChartingApiImpl.js +9 -9
- package/src/Api/Implementation/ColumnApiImpl.d.ts +1 -1
- package/src/Api/Implementation/ColumnApiImpl.js +18 -18
- package/src/Api/Implementation/ColumnFilterApiImpl.d.ts +1 -1
- package/src/Api/Implementation/ColumnFilterApiImpl.js +7 -7
- package/src/Api/Implementation/ColumnMenuApiImpl.d.ts +0 -2
- package/src/Api/Implementation/ColumnMenuApiImpl.js +2 -5
- package/src/Api/Implementation/CommentsApiImpl.d.ts +1 -1
- package/src/Api/Implementation/CommentsApiImpl.js +6 -4
- package/src/Api/Implementation/ConfigApiImpl.js +23 -24
- package/src/Api/Implementation/ContextMenuApiImpl.d.ts +0 -2
- package/src/Api/Implementation/ContextMenuApiImpl.js +1 -4
- package/src/Api/Implementation/CustomSortApiImpl.d.ts +1 -1
- package/src/Api/Implementation/CustomSortApiImpl.js +3 -3
- package/src/Api/Implementation/DashboardApiImpl.d.ts +1 -1
- package/src/Api/Implementation/DashboardApiImpl.js +5 -5
- package/src/Api/Implementation/DataImportApiImpl.d.ts +1 -1
- package/src/Api/Implementation/DataImportApiImpl.js +3 -3
- package/src/Api/Implementation/DataSetApiImpl.d.ts +1 -1
- package/src/Api/Implementation/DataSetApiImpl.js +5 -5
- package/src/Api/Implementation/EntitlementApiImpl.d.ts +1 -1
- package/src/Api/Implementation/EntitlementApiImpl.js +5 -5
- package/src/Api/Implementation/EventApiImpl.d.ts +1 -1
- package/src/Api/Implementation/EventApiImpl.js +2 -2
- package/src/Api/Implementation/ExportApiImpl.d.ts +1 -1
- package/src/Api/Implementation/ExportApiImpl.js +7 -7
- package/src/Api/Implementation/ExpressionApiImpl.d.ts +1 -1
- package/src/Api/Implementation/ExpressionApiImpl.js +5 -5
- package/src/Api/Implementation/Fdc3ApiImpl.d.ts +1 -1
- package/src/Api/Implementation/Fdc3ApiImpl.js +4 -4
- package/src/Api/Implementation/FlashingCellApiImpl.d.ts +1 -1
- package/src/Api/Implementation/FlashingCellApiImpl.js +7 -7
- package/src/Api/Implementation/FormatColumnApiImpl.d.ts +1 -1
- package/src/Api/Implementation/FormatColumnApiImpl.js +4 -4
- package/src/Api/Implementation/FreeTextColumnApiImpl.d.ts +1 -1
- package/src/Api/Implementation/FreeTextColumnApiImpl.js +4 -4
- package/src/Api/Implementation/GridApiImpl.d.ts +3 -2
- package/src/Api/Implementation/GridApiImpl.js +108 -103
- package/src/Api/Implementation/GridFilterApiImpl.d.ts +1 -1
- package/src/Api/Implementation/GridFilterApiImpl.js +4 -4
- package/src/Api/Implementation/LayoutApiImpl.d.ts +1 -1
- package/src/Api/Implementation/LayoutApiImpl.js +3 -3
- package/src/Api/Implementation/NamedQueryApiImpl.d.ts +1 -1
- package/src/Api/Implementation/NamedQueryApiImpl.js +3 -3
- package/src/Api/Implementation/NoteApiImpl.d.ts +1 -1
- package/src/Api/Implementation/NoteApiImpl.js +3 -3
- package/src/Api/Implementation/OptionsApiImpl.js +7 -7
- package/src/Api/Implementation/PluginsApiImpl.js +1 -1
- package/src/Api/Implementation/PlusMinusApiImpl.js +1 -1
- package/src/Api/Implementation/PredicateApiImpl.d.ts +1 -1
- package/src/Api/Implementation/PredicateApiImpl.js +4 -4
- package/src/Api/Implementation/ScheduleApiImpl.d.ts +1 -1
- package/src/Api/Implementation/ScheduleApiImpl.js +3 -3
- package/src/Api/Implementation/SettingsPanelApiImpl.js +1 -1
- package/src/Api/Implementation/StatusBarApiImpl.js +1 -1
- package/src/Api/Implementation/StyledColumnApiImpl.d.ts +1 -1
- package/src/Api/Implementation/StyledColumnApiImpl.js +4 -4
- package/src/Api/Implementation/SystemStatusApiImpl.d.ts +1 -1
- package/src/Api/Implementation/SystemStatusApiImpl.js +4 -4
- package/src/Api/Implementation/TeamSharingApiImpl.d.ts +1 -1
- package/src/Api/Implementation/TeamSharingApiImpl.js +11 -11
- package/src/Api/Implementation/ThemeApiImpl.d.ts +1 -1
- package/src/Api/Implementation/ThemeApiImpl.js +8 -8
- package/src/Api/Implementation/ToolPanelApiImpl.js +2 -2
- package/src/Api/Implementation/UserInterfaceApiImpl.d.ts +1 -1
- package/src/Api/Implementation/UserInterfaceApiImpl.js +5 -5
- package/src/Api/Internal/ActionRowInternalApi.js +8 -8
- package/src/Api/Internal/AdaptableInternalApi.d.ts +2 -0
- package/src/Api/Internal/AdaptableInternalApi.js +55 -50
- package/src/Api/Internal/AlertInternalApi.js +9 -9
- package/src/Api/Internal/CalculatedColumnInternalApi.js +11 -9
- package/src/Api/Internal/ChartingInternalApi.js +1 -1
- package/src/Api/Internal/ColumnFilterInternalApi.js +7 -9
- package/src/Api/Internal/ColumnInternalApi.js +3 -3
- package/src/Api/Internal/CommentsInternalApi.d.ts +1 -0
- package/src/Api/Internal/CommentsInternalApi.js +4 -0
- package/src/Api/Internal/CustomSortInternalApi.js +3 -3
- package/src/Api/Internal/DashboardInternalApi.js +4 -3
- package/src/Api/Internal/DataImportInternalApi.js +2 -2
- package/src/Api/Internal/DataSetInternalApi.js +2 -2
- package/src/Api/Internal/ExportInternalApi.js +21 -22
- package/src/Api/Internal/ExpressionInternalApi.js +4 -4
- package/src/Api/Internal/Fdc3InternalApi.d.ts +0 -1
- package/src/Api/Internal/Fdc3InternalApi.js +9 -12
- package/src/Api/Internal/FlashingCellInternalApi.js +2 -2
- package/src/Api/Internal/FormatColumnInternalApi.js +2 -3
- package/src/Api/Internal/FreeTextColumnInternalApi.js +5 -2
- package/src/Api/Internal/GridFilterInternalApi.js +2 -2
- package/src/Api/Internal/GridInternalApi.js +26 -26
- package/src/Api/Internal/LayoutInternalApi.js +6 -5
- package/src/Api/Internal/NamedQueryInternalApi.js +2 -2
- package/src/Api/Internal/NoteInternalApi.d.ts +1 -0
- package/src/Api/Internal/NoteInternalApi.js +4 -0
- package/src/Api/Internal/PredicateInternalApi.js +5 -5
- package/src/Api/Internal/ScheduleInternalApi.js +1 -1
- package/src/Api/Internal/StyledColumnInternalApi.js +2 -2
- package/src/Api/Internal/SystemStatusInternalApi.js +1 -1
- package/src/Api/Internal/TeamSharingInternalApi.js +2 -2
- package/src/Api/Internal/ThemeInternalApi.js +1 -1
- package/src/PredefinedConfig/Common/ExtendedLayoutInfo.d.ts +15 -0
- package/src/PredefinedConfig/Common/FilterActionOnDataChange.d.ts +3 -0
- package/src/Strategy/NoteModule.d.ts +0 -1
- package/src/Strategy/NoteModule.js +4 -5
- package/src/Utilities/ExpressionFunctions/scalarExpressionFunctions.js +1 -1
- package/src/Utilities/Services/AggregatedScalarLiveValue.js +1 -1
- package/src/Utilities/Services/CellPopupService.js +4 -4
- package/src/Utilities/Services/Fdc3Service.js +1 -3
- package/src/Utilities/Services/FlashingCellService.d.ts +0 -2
- package/src/Utilities/Services/FlashingCellService.js +2 -3
- package/src/Utilities/Services/RowEditService.js +3 -5
- package/src/View/Alert/AlertStatusSubPanel.js +4 -4
- package/src/View/Charting/ShowChartButton.js +4 -4
- package/src/View/Comments/CommentsEditor.js +2 -2
- package/src/View/Comments/CommentsPopup.js +1 -4
- package/src/View/DataChangeHistory/DataChangeHistoryGrid.js +1 -1
- package/src/View/DataImport/DataImportWizard/DataImportWizard.js +14 -13
- package/src/View/Layout/TransposedPopup.js +2 -2
- package/src/View/Note/NotePopup.js +1 -4
- package/src/agGrid/AdaptableAgGrid.d.ts +2 -5
- package/src/agGrid/AdaptableAgGrid.js +47 -26
- package/src/agGrid/AgGridAdapter.js +3 -3
- package/src/agGrid/FloatingFilterWrapper.js +4 -3
- package/src/agGrid/defaultAdaptableOptions.js +100 -96
- package/src/components/Datepicker/index.d.ts +1 -1
- package/src/components/ExpressionEditor/DataTableEditor.js +3 -3
- package/src/components/ExpressionEditor/ExpressionPreview.js +4 -4
- package/src/env.js +2 -2
- package/src/metamodel/adaptable.metamodel.d.ts +32 -0
- package/src/metamodel/adaptable.metamodel.js +1 -1
- package/src/types.d.ts +1 -1
- package/tsconfig.esm.tsbuildinfo +1 -1
|
@@ -5,18 +5,18 @@ import ObjectFactory from '../../Utilities/ObjectFactory';
|
|
|
5
5
|
import StringExtensions from '../../Utilities/Extensions/StringExtensions';
|
|
6
6
|
import { ChartingInternalApi } from '../Internal/ChartingInternalApi';
|
|
7
7
|
export class ChartingApiImpl extends ApiBase {
|
|
8
|
-
constructor(
|
|
9
|
-
super(
|
|
10
|
-
this.internalApi = new ChartingInternalApi(
|
|
8
|
+
constructor(_adaptable) {
|
|
9
|
+
super(_adaptable);
|
|
10
|
+
this.internalApi = new ChartingInternalApi(_adaptable);
|
|
11
11
|
}
|
|
12
12
|
isChartingEnabled() {
|
|
13
|
-
return this.
|
|
13
|
+
return this._adaptable.canGenerateCharts();
|
|
14
14
|
}
|
|
15
15
|
getCurrentChartModels() {
|
|
16
|
-
return this.
|
|
16
|
+
return this._adaptable.getChartModels();
|
|
17
17
|
}
|
|
18
18
|
getChartRef(chartId) {
|
|
19
|
-
return this.
|
|
19
|
+
return this._adaptable.getChartRef(chartId);
|
|
20
20
|
}
|
|
21
21
|
saveCurrentCharts() {
|
|
22
22
|
const currentCharts = this.getCurrentChartModels();
|
|
@@ -45,14 +45,14 @@ export class ChartingApiImpl extends ApiBase {
|
|
|
45
45
|
}
|
|
46
46
|
}
|
|
47
47
|
showPersistedCharts() {
|
|
48
|
-
return this.
|
|
48
|
+
return this._adaptable.showCharts(this.getChartDefinitions());
|
|
49
49
|
}
|
|
50
50
|
showChartDefinition(chartDefiniton, container) {
|
|
51
51
|
let containerElement = container;
|
|
52
52
|
if (typeof containerElement === 'string') {
|
|
53
53
|
containerElement = this.internalApi.getContainerElemetnByName(containerElement);
|
|
54
54
|
}
|
|
55
|
-
return this.
|
|
55
|
+
return this._adaptable.showChart(chartDefiniton, containerElement);
|
|
56
56
|
}
|
|
57
57
|
showChartDefinitionOnce(chartDefinition, container) {
|
|
58
58
|
var _a;
|
|
@@ -73,7 +73,7 @@ export class ChartingApiImpl extends ApiBase {
|
|
|
73
73
|
this.updateAgChart(editedChartDefinition);
|
|
74
74
|
}
|
|
75
75
|
updateAgChart(chartDefinition) {
|
|
76
|
-
this.
|
|
76
|
+
this._adaptable.updateChart(chartDefinition);
|
|
77
77
|
}
|
|
78
78
|
addChartDefinition(chart) {
|
|
79
79
|
this.dispatchAction(ChartingRedux.ChartingAddChart(chart));
|
|
@@ -8,7 +8,7 @@ export declare function isAutoRowGroupColumn(columnId: string): boolean;
|
|
|
8
8
|
export declare function isAutoPivotColumn(columnId: string): boolean;
|
|
9
9
|
export declare class ColumnApiImpl extends ApiBase implements ColumnApi {
|
|
10
10
|
internalApi: ColumnInternalApi;
|
|
11
|
-
constructor(
|
|
11
|
+
constructor(_adaptable: IAdaptable);
|
|
12
12
|
getColumns(): AdaptableColumn[];
|
|
13
13
|
getStandardColumns(): AdaptableColumn[];
|
|
14
14
|
getNonSpecialColumns(): AdaptableColumn[];
|
|
@@ -17,9 +17,9 @@ export function isAutoPivotColumn(columnId) {
|
|
|
17
17
|
return columnId === null || columnId === void 0 ? void 0 : columnId.startsWith(GeneralConstants.AG_GRID_PIVOT_COLUMN);
|
|
18
18
|
}
|
|
19
19
|
export class ColumnApiImpl extends ApiBase {
|
|
20
|
-
constructor(
|
|
21
|
-
super(
|
|
22
|
-
this.internalApi = new ColumnInternalApi(
|
|
20
|
+
constructor(_adaptable) {
|
|
21
|
+
super(_adaptable);
|
|
22
|
+
this.internalApi = new ColumnInternalApi(_adaptable);
|
|
23
23
|
}
|
|
24
24
|
getColumns() {
|
|
25
25
|
var _a;
|
|
@@ -44,34 +44,34 @@ export class ColumnApiImpl extends ApiBase {
|
|
|
44
44
|
return this.getColumns().filter((c) => visibleCols[c.columnId]);
|
|
45
45
|
}
|
|
46
46
|
selectColumn(columnId) {
|
|
47
|
-
this.
|
|
47
|
+
this._adaptable.selectColumn(columnId);
|
|
48
48
|
}
|
|
49
49
|
selectColumns(columnIds) {
|
|
50
|
-
this.
|
|
50
|
+
this._adaptable.selectColumns(columnIds);
|
|
51
51
|
}
|
|
52
52
|
addColumnToSelection(columnId) {
|
|
53
|
-
this.
|
|
53
|
+
this._adaptable.selectColumn(columnId, { keepExistingSelection: true });
|
|
54
54
|
}
|
|
55
55
|
addColumnsToSelection(columnIds) {
|
|
56
|
-
this.
|
|
56
|
+
this._adaptable.selectColumns(columnIds, { keepExistingSelection: true });
|
|
57
57
|
}
|
|
58
58
|
selectAllColumns() {
|
|
59
|
-
this.
|
|
59
|
+
this._adaptable.selectAll();
|
|
60
60
|
}
|
|
61
61
|
autosizeColumn(columnId) {
|
|
62
|
-
this.
|
|
62
|
+
this._adaptable.autoSizeColumn(columnId);
|
|
63
63
|
}
|
|
64
64
|
autosizeColumns(columnIds) {
|
|
65
|
-
this.
|
|
65
|
+
this._adaptable.autoSizeColumns(columnIds);
|
|
66
66
|
}
|
|
67
67
|
autosizeAllColumns() {
|
|
68
|
-
this.
|
|
68
|
+
this._adaptable.autoSizeAllColumns();
|
|
69
69
|
}
|
|
70
70
|
hideColumn(columnId) {
|
|
71
|
-
this.
|
|
71
|
+
this._adaptable.hideColumn(columnId);
|
|
72
72
|
}
|
|
73
73
|
showColumn(columnId) {
|
|
74
|
-
this.
|
|
74
|
+
this._adaptable.showColumn(columnId);
|
|
75
75
|
}
|
|
76
76
|
isAutoRowGroupColumn(columnId) {
|
|
77
77
|
return isAutoRowGroupColumn(columnId);
|
|
@@ -328,7 +328,7 @@ export class ColumnApiImpl extends ApiBase {
|
|
|
328
328
|
return this.getColumns().filter((c) => c.exportable);
|
|
329
329
|
}
|
|
330
330
|
logMissingColumnWarning(columnId) {
|
|
331
|
-
if (this.
|
|
331
|
+
if (this.getColumnOptions().showMissingColumnsWarning === true) {
|
|
332
332
|
if (!this.isAutoRowGroupColumn(columnId) &&
|
|
333
333
|
!this.isCalculatedColumn(columnId) &&
|
|
334
334
|
!this.isFreeTextColumn(columnId) &&
|
|
@@ -338,7 +338,7 @@ export class ColumnApiImpl extends ApiBase {
|
|
|
338
338
|
}
|
|
339
339
|
}
|
|
340
340
|
getPrimaryKeyColumn() {
|
|
341
|
-
return this.getColumnWithColumnId(this.
|
|
341
|
+
return this.getColumnWithColumnId(this.getOptions().primaryKey);
|
|
342
342
|
}
|
|
343
343
|
getDefaultAggFunc(columnId) {
|
|
344
344
|
var _a, _b, _c;
|
|
@@ -385,15 +385,15 @@ export class ColumnApiImpl extends ApiBase {
|
|
|
385
385
|
return this.getAdaptableApi().layoutApi.setColumnCaption(columnId, caption);
|
|
386
386
|
}
|
|
387
387
|
updateColumnConfiguration(columnConfig) {
|
|
388
|
-
logDeprecationExternal(this.
|
|
388
|
+
logDeprecationExternal(this.getAdatableLogger(), 'ColumnApi', 'updateColumnConfiguration', 'GridApi', 'updateAgGridColumnState');
|
|
389
389
|
this.getGridApi().updateAgGridColumnState(columnConfig);
|
|
390
390
|
}
|
|
391
391
|
updateColumnConfigurations(columnConfigs) {
|
|
392
|
-
logDeprecationExternal(this.
|
|
392
|
+
logDeprecationExternal(this.getAdatableLogger(), 'ColumnApi', 'updateColumnConfigurations', 'GridApi', 'updateAgGridColumnStates');
|
|
393
393
|
this.getGridApi().updateAgGridColumnStates(columnConfigs);
|
|
394
394
|
}
|
|
395
395
|
setColumnDefinitions(columnDefinitions) {
|
|
396
|
-
logDeprecationExternal(this.
|
|
396
|
+
logDeprecationExternal(this.getAdatableLogger(), 'ColumnApi', 'setColumnDefinitions', 'GridApi', 'setAgGridColumnDefinitions');
|
|
397
397
|
this.getGridApi().setAgGridColumnDefinitions(columnDefinitions);
|
|
398
398
|
}
|
|
399
399
|
}
|
|
@@ -7,7 +7,7 @@ import { ColumnFilterInternalApi } from '../Internal/ColumnFilterInternalApi';
|
|
|
7
7
|
import { ColumnFilterApi } from '../ColumnFilterApi';
|
|
8
8
|
export declare class ColumnFilterApiImpl extends ApiBase implements ColumnFilterApi {
|
|
9
9
|
internalApi: ColumnFilterInternalApi;
|
|
10
|
-
constructor(
|
|
10
|
+
constructor(_adaptable: IAdaptable);
|
|
11
11
|
getFilterPredicateDefsForColumn(column: AdaptableColumn): AdaptablePredicateDef[];
|
|
12
12
|
getFilterPredicateDefsForColumnId(columnId: string): AdaptablePredicateDef[] | undefined;
|
|
13
13
|
showQuickFilterBar(): void;
|
|
@@ -4,9 +4,9 @@ import { ApiBase } from './ApiBase';
|
|
|
4
4
|
import ArrayExtensions from '../../Utilities/Extensions/ArrayExtensions';
|
|
5
5
|
import { ColumnFilterInternalApi } from '../Internal/ColumnFilterInternalApi';
|
|
6
6
|
export class ColumnFilterApiImpl extends ApiBase {
|
|
7
|
-
constructor(
|
|
8
|
-
super(
|
|
9
|
-
this.internalApi = new ColumnFilterInternalApi(
|
|
7
|
+
constructor(_adaptable) {
|
|
8
|
+
super(_adaptable);
|
|
9
|
+
this.internalApi = new ColumnFilterInternalApi(_adaptable);
|
|
10
10
|
}
|
|
11
11
|
getFilterPredicateDefsForColumn(column) {
|
|
12
12
|
const scope = {
|
|
@@ -27,11 +27,11 @@ export class ColumnFilterApiImpl extends ApiBase {
|
|
|
27
27
|
this.dispatchAction(SystemRedux.SystemQuickFilterBarHide());
|
|
28
28
|
}
|
|
29
29
|
isQuickFilterAvailable() {
|
|
30
|
-
return this.
|
|
30
|
+
return this._adaptable.isQuickFilterAvailable();
|
|
31
31
|
}
|
|
32
32
|
isQuickFilterVisible() {
|
|
33
33
|
return (this.isQuickFilterAvailable() &&
|
|
34
|
-
this.
|
|
34
|
+
this.getAdaptableInternalApi().getSystemState().IsQuickFilterVisible);
|
|
35
35
|
}
|
|
36
36
|
getColumnFilters() {
|
|
37
37
|
var _a;
|
|
@@ -91,7 +91,7 @@ export class ColumnFilterApiImpl extends ApiBase {
|
|
|
91
91
|
}
|
|
92
92
|
clearColumnFilters() {
|
|
93
93
|
this.dispatchAction(LayoutRedux.LayoutColumnFilterClearAll());
|
|
94
|
-
this.
|
|
94
|
+
this._adaptable.clearColumnFiltering();
|
|
95
95
|
}
|
|
96
96
|
clearAndSetColumnFilters(columnFilters) {
|
|
97
97
|
this.clearColumnFilters();
|
|
@@ -166,7 +166,7 @@ export class ColumnFilterApiImpl extends ApiBase {
|
|
|
166
166
|
let columnFilterForColumn = this.getColumnFilterForColumn(columnId);
|
|
167
167
|
if (columnFilterForColumn) {
|
|
168
168
|
this.dispatchAction(LayoutRedux.LayoutColumnFilterClear(columnFilterForColumn));
|
|
169
|
-
this.
|
|
169
|
+
this._adaptable.clearColumnFilteringForColumns([columnId]);
|
|
170
170
|
}
|
|
171
171
|
}
|
|
172
172
|
}
|
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
import { ColumnMenuApi } from '../ColumnMenuApi';
|
|
2
|
-
import { IAdaptable } from '../../AdaptableInterfaces/IAdaptable';
|
|
3
2
|
import { ApiBase } from './ApiBase';
|
|
4
3
|
export declare class ColumnMenuApiImpl extends ApiBase implements ColumnMenuApi {
|
|
5
|
-
constructor(adaptable: IAdaptable);
|
|
6
4
|
showColumnMenu(columnKey: string): void;
|
|
7
5
|
hideColumnMenu(): void;
|
|
8
6
|
}
|
|
@@ -1,12 +1,9 @@
|
|
|
1
1
|
import { ApiBase } from './ApiBase';
|
|
2
2
|
export class ColumnMenuApiImpl extends ApiBase {
|
|
3
|
-
constructor(adaptable) {
|
|
4
|
-
super(adaptable);
|
|
5
|
-
}
|
|
6
3
|
showColumnMenu(columnKey) {
|
|
7
|
-
this.
|
|
4
|
+
this.getAgGridApi().showColumnMenu(columnKey);
|
|
8
5
|
}
|
|
9
6
|
hideColumnMenu() {
|
|
10
|
-
this.
|
|
7
|
+
this.getAgGridApi().hidePopupMenu();
|
|
11
8
|
}
|
|
12
9
|
}
|
|
@@ -5,7 +5,7 @@ import { CommentsInternalApi } from '../Internal/CommentsInternalApi';
|
|
|
5
5
|
import { IAdaptable } from '../../AdaptableInterfaces/IAdaptable';
|
|
6
6
|
export declare class CommentsApiImpl extends ApiBase implements CommentApi {
|
|
7
7
|
internalApi: CommentsInternalApi;
|
|
8
|
-
constructor(
|
|
8
|
+
constructor(_adaptable: IAdaptable);
|
|
9
9
|
getCommentThread(address: CellAddress): CommentThread | undefined;
|
|
10
10
|
getGridComments(): CommentThread[];
|
|
11
11
|
editComment(comment: AdaptableComment, address: CellAddress): void;
|
|
@@ -3,10 +3,11 @@ import { ApiBase } from './ApiBase';
|
|
|
3
3
|
import ObjectFactory from '../../Utilities/ObjectFactory';
|
|
4
4
|
import AdaptableHelper from '../../Utilities/Helpers/AdaptableHelper';
|
|
5
5
|
import { CommentsInternalApi } from '../Internal/CommentsInternalApi';
|
|
6
|
+
import _ from 'lodash';
|
|
6
7
|
export class CommentsApiImpl extends ApiBase {
|
|
7
|
-
constructor(
|
|
8
|
-
super(
|
|
9
|
-
this.internalApi = new CommentsInternalApi(
|
|
8
|
+
constructor(_adaptable) {
|
|
9
|
+
super(_adaptable);
|
|
10
|
+
this.internalApi = new CommentsInternalApi(_adaptable);
|
|
10
11
|
}
|
|
11
12
|
getCommentThread(address) {
|
|
12
13
|
return CommentRedux.GetCellCommentSelector(this.getAdaptableState().Comment, address);
|
|
@@ -14,6 +15,7 @@ export class CommentsApiImpl extends ApiBase {
|
|
|
14
15
|
getGridComments() {
|
|
15
16
|
var _a;
|
|
16
17
|
return (_a = this.getAdaptableState().Comment.CommentThreads) !== null && _a !== void 0 ? _a : [];
|
|
18
|
+
_;
|
|
17
19
|
}
|
|
18
20
|
editComment(comment, address) {
|
|
19
21
|
this.dispatchAction(CommentRedux.CommentsEdit({ comment, cellAddress: address }));
|
|
@@ -45,6 +47,6 @@ export class CommentsApiImpl extends ApiBase {
|
|
|
45
47
|
this.setGridComments([]);
|
|
46
48
|
}
|
|
47
49
|
hideCommentsPopup() {
|
|
48
|
-
this.
|
|
50
|
+
this.getAdaptableInternalApi().getCellPopupService().hidePopup();
|
|
49
51
|
}
|
|
50
52
|
}
|
|
@@ -39,21 +39,21 @@ export class ConfigApiImpl extends ApiBase {
|
|
|
39
39
|
Helper.copyToClipboard(stringifiedState);
|
|
40
40
|
}
|
|
41
41
|
getPredefinedConfig() {
|
|
42
|
-
return this.
|
|
42
|
+
return this.getPredefinedConfig;
|
|
43
43
|
}
|
|
44
44
|
reloadPredefinedConfig(newPredefinedConfig) {
|
|
45
45
|
var _a;
|
|
46
|
-
const adaptableOptions = this.
|
|
46
|
+
const adaptableOptions = this.getOptions();
|
|
47
47
|
const oldState = this.getPersistedState();
|
|
48
48
|
// clearing filters so that AG Grid doesnt display the filter icon in a column header after grid reloads
|
|
49
49
|
// but this is a hack so would be nicer if there was a better way to do this
|
|
50
|
-
this.
|
|
50
|
+
this.getGridApi().clearGridFiltering();
|
|
51
51
|
const clearStateFn = ((_a = adaptableOptions.stateOptions) === null || _a === void 0 ? void 0 : _a.clearState) ||
|
|
52
52
|
(() => {
|
|
53
53
|
localStorage.removeItem(adaptableOptions.adaptableStateKey);
|
|
54
54
|
return Promise.resolve(true);
|
|
55
55
|
});
|
|
56
|
-
this.
|
|
56
|
+
this.getAdaptableSore().saveStateNow(this._adaptable).then(() => {
|
|
57
57
|
const promise = clearStateFn({
|
|
58
58
|
adaptableId: adaptableOptions.adaptableId,
|
|
59
59
|
adaptableStateKey: adaptableOptions.adaptableStateKey,
|
|
@@ -66,7 +66,7 @@ export class ConfigApiImpl extends ApiBase {
|
|
|
66
66
|
}).then(() => {
|
|
67
67
|
const newState = this.getPersistedState();
|
|
68
68
|
const stateReloadedInfo = Object.assign({ oldState,
|
|
69
|
-
newState, adaptableStateKey: adaptableOptions.adaptableStateKey }, this.
|
|
69
|
+
newState, adaptableStateKey: adaptableOptions.adaptableStateKey }, this.getAdaptableInternalApi().buildBaseContext());
|
|
70
70
|
this.getAdaptableApi().eventApi.emit('AdaptableStateReloaded', stateReloadedInfo);
|
|
71
71
|
});
|
|
72
72
|
});
|
|
@@ -77,15 +77,14 @@ export class ConfigApiImpl extends ApiBase {
|
|
|
77
77
|
}
|
|
78
78
|
getPersistedState() {
|
|
79
79
|
// no assertion should be required here as soon as we make order in our state typings
|
|
80
|
-
return this.
|
|
80
|
+
return this.getAdaptableSore().getCurrentStorageState();
|
|
81
81
|
}
|
|
82
82
|
getAllUserState() {
|
|
83
83
|
return Object.values(this.getPersistedState());
|
|
84
84
|
}
|
|
85
85
|
loadUserState(state) {
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
predefinedConfig: state || adaptableOptions.predefinedConfig,
|
|
86
|
+
this.setAdaptableStateKey(this.getOptions().adaptableStateKey, {
|
|
87
|
+
predefinedConfig: state || this.getOptions().predefinedConfig,
|
|
89
88
|
flushCurrentState: false,
|
|
90
89
|
});
|
|
91
90
|
}
|
|
@@ -114,40 +113,40 @@ export class ConfigApiImpl extends ApiBase {
|
|
|
114
113
|
setAdaptableStateKey(adaptableStateKey, config) {
|
|
115
114
|
return new Promise((resolve, reject) => {
|
|
116
115
|
var _a;
|
|
117
|
-
this.
|
|
116
|
+
this.getAdaptableInternalApi().executeWithProgressIndicator((_a = config === null || config === void 0 ? void 0 : config.progressIndicatorLabel) !== null && _a !== void 0 ? _a : `Initialising...`, () => {
|
|
118
117
|
const flushCurrentState = !config || config.flushCurrentState !== false;
|
|
119
118
|
// make sure we persist any "pending" changes to state - since stateOptions.debounceStateDelay can cause
|
|
120
119
|
// the state to be persisted with a delay, which we dont want in this case
|
|
121
120
|
const flushStatePromise = flushCurrentState
|
|
122
|
-
? this.
|
|
121
|
+
? this.getAdaptableSore().saveStateNow(this._adaptable)
|
|
123
122
|
: Promise.resolve(true);
|
|
124
123
|
flushStatePromise.then(() => {
|
|
125
|
-
this.
|
|
124
|
+
this.getOptions().adaptableStateKey = adaptableStateKey;
|
|
126
125
|
let predefinedConfig = config === null || config === void 0 ? void 0 : config.predefinedConfig;
|
|
127
126
|
if (predefinedConfig) {
|
|
128
127
|
predefinedConfig = initPredefinedConfigWithUuids(predefinedConfig);
|
|
129
128
|
}
|
|
130
|
-
const promise = this.
|
|
131
|
-
adaptable: this.
|
|
129
|
+
const promise = this.getAdaptableSore().loadStore({
|
|
130
|
+
adaptable: this._adaptable,
|
|
132
131
|
adaptableStateKey,
|
|
133
132
|
predefinedConfig,
|
|
134
133
|
postLoadHook: (state) => {
|
|
135
134
|
const agGridOptions = {
|
|
136
|
-
columnDefs: this.
|
|
137
|
-
autoGroupColumnDef: this.
|
|
138
|
-
rowModelType: this.
|
|
139
|
-
treeData: this.
|
|
135
|
+
columnDefs: this._adaptable.agGridAdapter.getGridOption('columnDefs'),
|
|
136
|
+
autoGroupColumnDef: this._adaptable.agGridAdapter.getGridOption('autoGroupColumnDef'),
|
|
137
|
+
rowModelType: this._adaptable.agGridAdapter.getGridOption('rowModelType'),
|
|
138
|
+
treeData: this._adaptable.agGridAdapter.getGridOption('treeData'),
|
|
140
139
|
};
|
|
141
|
-
return this.
|
|
140
|
+
return this._adaptable.normalizeAdaptableState(state, agGridOptions);
|
|
142
141
|
},
|
|
143
142
|
});
|
|
144
143
|
promise
|
|
145
144
|
.then(() => {
|
|
146
|
-
this.
|
|
145
|
+
this._adaptable.updateColumnModelAndRefreshGrid({
|
|
147
146
|
preemptiveColumnStateRefresh: true,
|
|
148
147
|
});
|
|
149
|
-
this.
|
|
150
|
-
this.
|
|
148
|
+
this._adaptable.setLayout();
|
|
149
|
+
this._adaptable.applyColumnFiltering();
|
|
151
150
|
})
|
|
152
151
|
.then(() => {
|
|
153
152
|
// resolve main(result) promise
|
|
@@ -167,10 +166,10 @@ export class ConfigApiImpl extends ApiBase {
|
|
|
167
166
|
});
|
|
168
167
|
}
|
|
169
168
|
getDescriptionForModule(module) {
|
|
170
|
-
return this.
|
|
169
|
+
return this._adaptable.ModuleService.getModuleInfoByModule(module).Description;
|
|
171
170
|
}
|
|
172
171
|
getHelpPageForModule(module) {
|
|
173
|
-
return this.
|
|
172
|
+
return this._adaptable.ModuleService.getModuleInfoByModule(module).HelpPage;
|
|
174
173
|
}
|
|
175
174
|
getUserStateByStateKey(stateKey, returnJson = false) {
|
|
176
175
|
switch (stateKey) {
|
|
@@ -1,7 +1,5 @@
|
|
|
1
1
|
import { ApiBase } from './ApiBase';
|
|
2
2
|
import { ContextMenuApi } from '../ContextMenuApi';
|
|
3
|
-
import { IAdaptable } from '../../AdaptableInterfaces/IAdaptable';
|
|
4
3
|
export declare class ContextMenuApiImpl extends ApiBase implements ContextMenuApi {
|
|
5
|
-
constructor(adaptable: IAdaptable);
|
|
6
4
|
hideContextMenu(): void;
|
|
7
5
|
}
|
|
@@ -1,9 +1,6 @@
|
|
|
1
1
|
import { ApiBase } from './ApiBase';
|
|
2
2
|
export class ContextMenuApiImpl extends ApiBase {
|
|
3
|
-
constructor(adaptable) {
|
|
4
|
-
super(adaptable);
|
|
5
|
-
}
|
|
6
3
|
hideContextMenu() {
|
|
7
|
-
this.
|
|
4
|
+
this.getAgGridApi().hidePopupMenu();
|
|
8
5
|
}
|
|
9
6
|
}
|
|
@@ -5,7 +5,7 @@ import { IAdaptable } from '../../AdaptableInterfaces/IAdaptable';
|
|
|
5
5
|
import { CustomSortInternalApi } from '../Internal/CustomSortInternalApi';
|
|
6
6
|
export declare class CustomSortApiImpl extends ApiBase implements CustomSortApi {
|
|
7
7
|
internalApi: CustomSortInternalApi;
|
|
8
|
-
constructor(
|
|
8
|
+
constructor(_adaptable: IAdaptable);
|
|
9
9
|
getCustomSortState(): CustomSortState;
|
|
10
10
|
getCustomSorts(config?: {
|
|
11
11
|
includeLayoutNotAssociatedObjects?: boolean;
|
|
@@ -3,9 +3,9 @@ import * as CustomSortRedux from '../../Redux/ActionsReducers/CustomSortRedux';
|
|
|
3
3
|
import { ApiBase } from './ApiBase';
|
|
4
4
|
import { CustomSortInternalApi } from '../Internal/CustomSortInternalApi';
|
|
5
5
|
export class CustomSortApiImpl extends ApiBase {
|
|
6
|
-
constructor(
|
|
7
|
-
super(
|
|
8
|
-
this.internalApi = new CustomSortInternalApi(
|
|
6
|
+
constructor(_adaptable) {
|
|
7
|
+
super(_adaptable);
|
|
8
|
+
this.internalApi = new CustomSortInternalApi(_adaptable);
|
|
9
9
|
}
|
|
10
10
|
getCustomSortState() {
|
|
11
11
|
return this.getAdaptableState().CustomSort;
|
|
@@ -8,7 +8,7 @@ import { IAdaptable } from '../../AdaptableInterfaces/IAdaptable';
|
|
|
8
8
|
import { DashboardInternalApi } from '../Internal/DashboardInternalApi';
|
|
9
9
|
export declare class DashboardApiImpl extends ApiBase implements DashboardApi {
|
|
10
10
|
internalApi: DashboardInternalApi;
|
|
11
|
-
constructor(
|
|
11
|
+
constructor(_adaptable: IAdaptable);
|
|
12
12
|
getDashboardState(): DashboardState;
|
|
13
13
|
getCustomToolbars(): CustomToolbar[];
|
|
14
14
|
getCustomDashboardButtons(): AdaptableButton<DashboardButtonContext>[];
|
|
@@ -5,9 +5,9 @@ import * as React from 'react';
|
|
|
5
5
|
import { SystemDashboardRefresh } from '../../Redux/ActionsReducers/SystemRedux';
|
|
6
6
|
import { DashboardInternalApi } from '../Internal/DashboardInternalApi';
|
|
7
7
|
export class DashboardApiImpl extends ApiBase {
|
|
8
|
-
constructor(
|
|
9
|
-
super(
|
|
10
|
-
this.internalApi = new DashboardInternalApi(
|
|
8
|
+
constructor(_adaptable) {
|
|
9
|
+
super(_adaptable);
|
|
10
|
+
this.internalApi = new DashboardInternalApi(_adaptable);
|
|
11
11
|
}
|
|
12
12
|
getDashboardState() {
|
|
13
13
|
return this.getAdaptableState().Dashboard;
|
|
@@ -20,7 +20,7 @@ export class DashboardApiImpl extends ApiBase {
|
|
|
20
20
|
}
|
|
21
21
|
getCustomDashboardButtonByLabel(buttonLabel) {
|
|
22
22
|
const api = this.getAdaptableApi();
|
|
23
|
-
const dashboardContext = Object.assign(Object.assign({}, this.
|
|
23
|
+
const dashboardContext = Object.assign(Object.assign({}, this.getAdaptableInternalApi().buildBaseContext()), { dashboardState: api.dashboardApi.getDashboardState() });
|
|
24
24
|
return this.getDashboardOptions().customDashboardButtons.find((cb) => {
|
|
25
25
|
api.internalApi.getLabelForButton(cb, dashboardContext) == buttonLabel;
|
|
26
26
|
});
|
|
@@ -52,7 +52,7 @@ export class DashboardApiImpl extends ApiBase {
|
|
|
52
52
|
setCustomToolbarHTMLContent(customToolbarName, htmlContent) {
|
|
53
53
|
let customRenderedContainer = this.getCustomToolbarHTMLElement(customToolbarName);
|
|
54
54
|
if (customRenderedContainer) {
|
|
55
|
-
this.
|
|
55
|
+
this._adaptable.renderReactRoot(React.createElement("div", { dangerouslySetInnerHTML: { __html: htmlContent } }), customRenderedContainer);
|
|
56
56
|
}
|
|
57
57
|
}
|
|
58
58
|
getCustomToolbarByName(customToolbarName) {
|
|
@@ -4,7 +4,7 @@ import { DataImportInternalApi } from '../Internal/DataImportInternalApi';
|
|
|
4
4
|
import { ApiBase } from './ApiBase';
|
|
5
5
|
export declare class DataImportApiImpl extends ApiBase implements DataImportApi {
|
|
6
6
|
internalApi: DataImportInternalApi;
|
|
7
|
-
constructor(
|
|
7
|
+
constructor(_adaptable: IAdaptable);
|
|
8
8
|
openImportWizard(): void;
|
|
9
9
|
importData(partialRows: any[]): void;
|
|
10
10
|
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { DataImportInternalApi } from '../Internal/DataImportInternalApi';
|
|
2
2
|
import { ApiBase } from './ApiBase';
|
|
3
3
|
export class DataImportApiImpl extends ApiBase {
|
|
4
|
-
constructor(
|
|
5
|
-
super(
|
|
6
|
-
this.internalApi = new DataImportInternalApi(
|
|
4
|
+
constructor(_adaptable) {
|
|
5
|
+
super(_adaptable);
|
|
6
|
+
this.internalApi = new DataImportInternalApi(_adaptable);
|
|
7
7
|
}
|
|
8
8
|
openImportWizard() {
|
|
9
9
|
this.getSettingsPanelApi().openSettingsPanel('DataImport');
|
|
@@ -5,7 +5,7 @@ import { IAdaptable } from '../../AdaptableInterfaces/IAdaptable';
|
|
|
5
5
|
import { DataSetInternalApi } from '../Internal/DataSetInternalApi';
|
|
6
6
|
export declare class DataSetApiImpl extends ApiBase implements DataSetApi {
|
|
7
7
|
internalApi: DataSetInternalApi;
|
|
8
|
-
constructor(
|
|
8
|
+
constructor(_adaptable: IAdaptable);
|
|
9
9
|
getDataSets(): DataSet[];
|
|
10
10
|
getCurrentDataSet(): DataSet | undefined;
|
|
11
11
|
getDataSetByName(dataSetName: string): DataSet | undefined;
|
|
@@ -3,13 +3,13 @@ import * as SystemRedux from '../../Redux/ActionsReducers/SystemRedux';
|
|
|
3
3
|
import { ApiBase } from './ApiBase';
|
|
4
4
|
import { DataSetInternalApi } from '../Internal/DataSetInternalApi';
|
|
5
5
|
export class DataSetApiImpl extends ApiBase {
|
|
6
|
-
constructor(
|
|
7
|
-
super(
|
|
8
|
-
this.internalApi = new DataSetInternalApi(
|
|
6
|
+
constructor(_adaptable) {
|
|
7
|
+
super(_adaptable);
|
|
8
|
+
this.internalApi = new DataSetInternalApi(_adaptable);
|
|
9
9
|
}
|
|
10
10
|
getDataSets() {
|
|
11
|
-
var _a, _b
|
|
12
|
-
return (
|
|
11
|
+
var _a, _b;
|
|
12
|
+
return (_b = (_a = this.getDataSetOptions()) === null || _a === void 0 ? void 0 : _a.dataSets) !== null && _b !== void 0 ? _b : [];
|
|
13
13
|
}
|
|
14
14
|
getCurrentDataSet() {
|
|
15
15
|
let currentDataSetName = this.getAdaptableState().System.CurrentDataSet;
|
|
@@ -5,7 +5,7 @@ import { EntitlementInternalApi } from '../Internal/EntitlementInternalApi';
|
|
|
5
5
|
import { IAdaptable } from '../../AdaptableInterfaces/IAdaptable';
|
|
6
6
|
export declare class EntitlementApiImpl extends ApiBase implements EntitlementApi {
|
|
7
7
|
internalApi: EntitlementInternalApi;
|
|
8
|
-
constructor(
|
|
8
|
+
constructor(_adaptable: IAdaptable);
|
|
9
9
|
getEntitlementAccessLevelForModule(adaptableModule: AdaptableModule): AccessLevel;
|
|
10
10
|
isObjectReadonly(object: AdaptableObject): boolean;
|
|
11
11
|
isModuleHiddenEntitlement(adaptableModule: AdaptableModule): boolean;
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import { ApiBase } from './ApiBase';
|
|
2
2
|
import { EntitlementInternalApi } from '../Internal/EntitlementInternalApi';
|
|
3
3
|
export class EntitlementApiImpl extends ApiBase {
|
|
4
|
-
constructor(
|
|
5
|
-
super(
|
|
6
|
-
this.internalApi = new EntitlementInternalApi(
|
|
4
|
+
constructor(_adaptable) {
|
|
5
|
+
super(_adaptable);
|
|
6
|
+
this.internalApi = new EntitlementInternalApi(_adaptable);
|
|
7
7
|
}
|
|
8
8
|
getEntitlementAccessLevelForModule(adaptableModule) {
|
|
9
9
|
let entitlementOptions = this.getEntitlementOptions();
|
|
10
10
|
if (entitlementOptions) {
|
|
11
|
-
const defaultAccessLevelContext = this.
|
|
11
|
+
const defaultAccessLevelContext = this.getAdaptableInternalApi().buildBaseContext();
|
|
12
12
|
const defaultAccessLevel = typeof entitlementOptions.defaultAccessLevel === 'function'
|
|
13
13
|
? entitlementOptions.defaultAccessLevel(defaultAccessLevelContext)
|
|
14
14
|
: entitlementOptions.defaultAccessLevel;
|
|
15
15
|
const moduleEntitlements = entitlementOptions.moduleEntitlements;
|
|
16
16
|
if (moduleEntitlements) {
|
|
17
17
|
if (typeof moduleEntitlements === 'function') {
|
|
18
|
-
const entitlementContext = Object.assign(Object.assign({ adaptableModule }, this.
|
|
18
|
+
const entitlementContext = Object.assign(Object.assign({ adaptableModule }, this.getAdaptableInternalApi().buildBaseContext()), { defaultAccessLevel });
|
|
19
19
|
const dynamicModuleEntitlement = moduleEntitlements(entitlementContext);
|
|
20
20
|
return dynamicModuleEntitlement !== null && dynamicModuleEntitlement !== void 0 ? dynamicModuleEntitlement : defaultAccessLevel;
|
|
21
21
|
}
|
|
@@ -4,7 +4,7 @@ import { EventApi } from '../EventApi';
|
|
|
4
4
|
import { EmitterCallback } from '../../Utilities/Emitter';
|
|
5
5
|
export declare class EventApiImpl extends ApiBase implements EventApi {
|
|
6
6
|
private emitter;
|
|
7
|
-
constructor(
|
|
7
|
+
constructor(_adaptable: IAdaptable);
|
|
8
8
|
destroy(): void;
|
|
9
9
|
on: (eventName: string, callback: EmitterCallback) => (() => void);
|
|
10
10
|
off: (eventName: string, callback: EmitterCallback) => void;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { ApiBase } from './ApiBase';
|
|
2
2
|
import Emitter from '../../Utilities/Emitter';
|
|
3
3
|
export class EventApiImpl extends ApiBase {
|
|
4
|
-
constructor(
|
|
5
|
-
super(
|
|
4
|
+
constructor(_adaptable) {
|
|
5
|
+
super(_adaptable);
|
|
6
6
|
this.on = (eventName, callback) => {
|
|
7
7
|
let result;
|
|
8
8
|
if (eventName === 'AdaptableReady') {
|
|
@@ -8,7 +8,7 @@ import { IAdaptable } from '../../AdaptableInterfaces/IAdaptable';
|
|
|
8
8
|
import { ExportInternalApi } from '../Internal/ExportInternalApi';
|
|
9
9
|
export declare class ExportApiImpl extends ApiBase implements ExportApi {
|
|
10
10
|
internalApi: ExportInternalApi;
|
|
11
|
-
constructor(
|
|
11
|
+
constructor(_adaptable: IAdaptable);
|
|
12
12
|
getExportState(): ExportState;
|
|
13
13
|
getCurrentReportName(): string;
|
|
14
14
|
getCurrentReport(): Report;
|