@adaptabletools/adaptable 22.0.0-canary.1 → 22.0.0-canary.3
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/index.css +55 -37
- package/index.css.map +1 -1
- package/package.json +1 -1
- package/src/AdaptableInterfaces/IAdaptable.d.ts +2 -2
- package/src/AdaptableOptions/AdaptablePlugin.js +6 -1
- package/src/AdaptableOptions/ExportOptions.d.ts +1 -2
- package/src/AdaptableOptions/FilterOptions.d.ts +3 -0
- package/src/AdaptableState/Common/AdaptableColumn.d.ts +6 -0
- package/src/AdaptableState/Common/AdaptableStyle.d.ts +8 -0
- package/src/AdaptableState/Common/RowDataChangedInfo.d.ts +3 -0
- package/src/AdaptableState/FormatColumnState.d.ts +0 -8
- package/src/AdaptableState/InitialState.d.ts +1 -1
- package/src/AdaptableState/Selection/GridCell.d.ts +9 -0
- package/src/Api/DataSetApi.d.ts +1 -1
- package/src/Api/GridApi.d.ts +3 -3
- package/src/Api/Implementation/ActionColumnApiImpl.js +1 -0
- package/src/Api/Implementation/AdaptableApiImpl.js +52 -0
- package/src/Api/Implementation/AlertApiImpl.js +1 -0
- package/src/Api/Implementation/ApiBase.js +1 -0
- package/src/Api/Implementation/CalculatedColumnApiImpl.js +1 -0
- package/src/Api/Implementation/ChartingApiImpl.js +4 -0
- package/src/Api/Implementation/ColumnApiImpl.js +1 -0
- package/src/Api/Implementation/ColumnFilterApiImpl.js +1 -0
- package/src/Api/Implementation/CommentsApiImpl.js +1 -0
- package/src/Api/Implementation/CustomSortApiImpl.js +1 -0
- package/src/Api/Implementation/DashboardApiImpl.js +1 -0
- package/src/Api/Implementation/DataChangeHistoryApiImpl.js +12 -15
- package/src/Api/Implementation/DataImportApiImpl.js +1 -0
- package/src/Api/Implementation/DataSetApiImpl.js +1 -0
- package/src/Api/Implementation/EntitlementApiImpl.js +1 -0
- package/src/Api/Implementation/EventApiImpl.js +16 -14
- package/src/Api/Implementation/ExportApiImpl.js +1 -0
- package/src/Api/Implementation/ExpressionApiImpl.js +1 -0
- package/src/Api/Implementation/Fdc3ApiImpl.js +1 -0
- package/src/Api/Implementation/FilterApiImpl.js +3 -0
- package/src/Api/Implementation/FlashingCellApiImpl.js +1 -0
- package/src/Api/Implementation/FormatColumnApiImpl.js +1 -0
- package/src/Api/Implementation/FreeTextColumnApiImpl.js +1 -0
- package/src/Api/Implementation/GridApiImpl.d.ts +9 -9
- package/src/Api/Implementation/GridApiImpl.js +17 -16
- package/src/Api/Implementation/GridFilterApiImpl.js +1 -0
- package/src/Api/Implementation/LayoutApiImpl.js +1 -0
- package/src/Api/Implementation/NamedQueryApiImpl.js +1 -0
- package/src/Api/Implementation/NoteApiImpl.js +1 -0
- package/src/Api/Implementation/PredicateApiImpl.js +1 -0
- package/src/Api/Implementation/RowFormApiImpl.js +1 -0
- package/src/Api/Implementation/StyledColumnApiImpl.js +1 -0
- package/src/Api/Implementation/SystemStatusApiImpl.js +2 -0
- package/src/Api/Implementation/TeamSharingApiImpl.js +1 -0
- package/src/Api/Implementation/ThemeApiImpl.js +1 -0
- package/src/Api/Implementation/UserInterfaceApiImpl.js +2 -1
- package/src/Api/Internal/ColumnInternalApi.js +1 -1
- package/src/Api/Internal/FormatColumnInternalApi.d.ts +0 -10
- package/src/Api/Internal/FormatColumnInternalApi.js +1 -19
- package/src/Redux/ActionsReducers/NoteRedux.js +1 -1
- package/src/Redux/Store/AdaptableReduxLocalStorageEngine.js +6 -0
- package/src/Redux/Store/AdaptableStore.js +49 -43
- package/src/Strategy/AdaptableModuleBase.js +4 -0
- package/src/Strategy/AlertModule.js +1 -0
- package/src/Strategy/CalculatedColumnModule.js +1 -0
- package/src/Strategy/CellSummaryModule.js +1 -1
- package/src/Strategy/DataChangeHistoryModule.js +1 -0
- package/src/Strategy/FlashingCellModule.js +1 -0
- package/src/Strategy/FreeTextColumnModule.js +1 -0
- package/src/Strategy/LayoutModule.js +2 -1
- package/src/Strategy/PlusMinusModule.js +2 -0
- package/src/Strategy/ScheduleModule.js +1 -0
- package/src/Strategy/ShortcutModule.js +2 -0
- package/src/Strategy/TeamSharingModule.js +10 -10
- package/src/Strategy/Utilities/FormatColumn/getFormatColumnSettingsViewItems.js +0 -3
- package/src/Utilities/Constants/DocumentationLinkConstants.d.ts +3 -3
- package/src/Utilities/Constants/DocumentationLinkConstants.js +3 -3
- package/src/Utilities/ExpressionFunctions/deepMap.js +31 -31
- package/src/Utilities/ExpressionFunctions/scalarExpressionFunctions.js +3 -3
- package/src/Utilities/Helpers/StyleHelper.js +14 -0
- package/src/Utilities/MenuItem.js +18 -0
- package/src/Utilities/ObjectFactory.js +1 -1
- package/src/Utilities/Services/AggregatedScalarLiveValue.js +8 -0
- package/src/Utilities/Services/AlertService.js +6 -4
- package/src/Utilities/Services/AnnotationsService.js +4 -1
- package/src/Utilities/Services/CalculatedColumnExpressionService.js +2 -1
- package/src/Utilities/Services/ChartingService.js +1 -0
- package/src/Utilities/Services/DataService.js +10 -2
- package/src/Utilities/Services/Fdc3Service.js +5 -3
- package/src/Utilities/Services/FlashingCellService.js +5 -0
- package/src/Utilities/Services/LicenseService/index.js +1 -1
- package/src/Utilities/Services/MetamodelService.js +2 -2
- package/src/Utilities/Services/ModuleService.js +4 -3
- package/src/Utilities/Services/QueryLanguageService.js +6 -5
- package/src/Utilities/Services/RowFormService.js +1 -0
- package/src/Utilities/Services/RowSummaryService.js +10 -7
- package/src/Utilities/Services/TeamSharingService.js +3 -1
- package/src/Utilities/Services/ThemeService.js +11 -9
- package/src/Utilities/Services/ValidationService.js +1 -0
- package/src/Utilities/createAgStatusPanelComponent.js +3 -0
- package/src/View/AdaptablePopover/index.d.ts +1 -0
- package/src/View/AdaptablePopover/index.js +1 -1
- package/src/View/Alert/ActiveAlertsPanel.js +8 -0
- package/src/View/Alert/AlertViewPanel.js +13 -9
- package/src/View/Alert/Utilities/getAlertButtonStyle.d.ts +1 -0
- package/src/View/Alert/Utilities/getAlertButtonStyle.js +8 -0
- package/src/View/BulkUpdate/BulkUpdateViewPanel.js +24 -11
- package/src/View/CalculatedColumn/CalculatedColumnSummary.js +8 -8
- package/src/View/CalculatedColumn/Wizard/CalculatedColumnExpressionWizardSection.js +2 -2
- package/src/View/CellSummary/CellSummaryViewPanel.js +16 -17
- package/src/View/Components/AdaptableDateInput/index.js +1 -1
- package/src/View/Components/Buttons/ButtonApply.js +1 -1
- package/src/View/Components/Buttons/ButtonBase/index.js +9 -9
- package/src/View/Components/Buttons/ButtonClear.d.ts +1 -0
- package/src/View/Components/Buttons/EntityListActionButtons.js +18 -18
- package/src/View/Components/ColumnFilter/components/FloatingFilterValues.js +1 -1
- package/src/View/Components/ExpressionWizard.js +5 -5
- package/src/View/Components/Panels/PanelDashboard/index.js +8 -8
- package/src/View/Components/Panels/PanelToolPanel/index.js +7 -7
- package/src/View/Components/Selectors/BulkUpdateValueSelector.js +19 -18
- package/src/View/Components/StyleComponent.js +20 -1
- package/src/View/Components/ToolPanel/AdaptableToolPanel.js +2 -0
- package/src/View/CustomSort/CustomSortSummary.js +13 -13
- package/src/View/Dashboard/DashboardPopup.js +4 -5
- package/src/View/Export/ExportDestinationPicker.js +1 -1
- package/src/View/Export/ExportStatusBar.js +4 -2
- package/src/View/Export/ExportViewPanel.js +25 -18
- package/src/View/FormatColumn/FormatColumnSummary.js +13 -13
- package/src/View/FormatColumn/Wizard/FormatColumnSettingsWizardSection.js +0 -23
- package/src/View/FormatColumn/Wizard/FormatColumnStyleWizardSection.js +2 -2
- package/src/View/FreeTextColumn/FreeTextColumnSummary.js +13 -13
- package/src/View/GridInfo/GridInfoPopup/GridInfoPopup.js +57 -65
- package/src/View/QuickSearch/QuickSearchPopup.js +4 -1
- package/src/View/Schedule/Wizard/ScheduleSettingsWizard/ScheduleSettingsReminder.js +2 -2
- package/src/View/SmartEdit/SmartEditViewPanel.js +1 -0
- package/src/View/Theme/ThemePopup.js +13 -16
- package/src/View/UIHelper.d.ts +2 -0
- package/src/View/UIHelper.js +15 -0
- package/src/agGrid/Adaptable.js +4 -0
- package/src/agGrid/AdaptableAgGrid.d.ts +2 -2
- package/src/agGrid/AdaptableAgGrid.js +104 -38
- package/src/agGrid/AdaptableFilterHandler.js +4 -0
- package/src/agGrid/AdaptableLogger.d.ts +3 -0
- package/src/agGrid/AdaptableLogger.js +10 -0
- package/src/agGrid/AgGridAdapter.js +11 -1
- package/src/agGrid/AgGridColumnAdapter.js +5 -18
- package/src/agGrid/AgGridExportAdapter.js +10 -9
- package/src/agGrid/AgGridFilterAdapter.js +4 -0
- package/src/agGrid/AgGridFloatingFilterAdapter.js +3 -0
- package/src/agGrid/AgGridMenuAdapter.js +1 -0
- package/src/agGrid/AgGridModulesAdapter.js +2 -1
- package/src/agGrid/AgGridOptionsService.js +3 -0
- package/src/agGrid/AgGridThemeAdapter.js +2 -0
- package/src/agGrid/cellRenderers/ActionColumnRenderer.js +5 -0
- package/src/agGrid/cellRenderers/BadgeRenderer.js +2 -0
- package/src/agGrid/cellRenderers/PercentBarRenderer.js +1 -0
- package/src/agGrid/editors/AdaptableDateEditor/index.js +6 -3
- package/src/agGrid/editors/AdaptableNumberEditor/index.js +16 -12
- package/src/agGrid/editors/AdaptablePercentageEditor/index.js +17 -13
- package/src/agGrid/index.d.ts +6 -0
- package/src/agGrid/index.js +6 -0
- package/src/components/Dashboard/DashboardToolbar.js +1 -1
- package/src/components/Datepicker/index.js +1 -1
- package/src/components/ExpressionEditor/EditorInput.js +19 -3
- package/src/components/Tree/TreeDropdown/index.js +1 -1
- package/src/components/overlayBaseZIndex.js +1 -1
- package/src/components/utils/useContainerScrollObserver/index.js +17 -14
- package/src/devTools/index.js +54 -53
- package/src/env.js +2 -2
- package/src/layout-manager/src/LMEmitter.js +11 -11
- package/src/layout-manager/src/LMLogger.js +7 -0
- package/src/layout-manager/src/index.js +56 -51
- package/src/metamodel/adaptable.metamodel.d.ts +66 -7
- package/src/metamodel/adaptable.metamodel.js +1 -1
- package/src/migration/AdaptableUpgradeHelper.js +5 -0
- package/src/migration/VersionUpgrade.js +1 -0
- package/src/migration/VersionUpgrade17.js +1 -2
- package/src/migration/VersionUpgrade22.d.ts +6 -0
- package/src/migration/VersionUpgrade22.js +27 -0
- package/src/parser/src/ExpressionEvaluationError.js +1 -0
- package/src/types.d.ts +1 -1
- package/tsconfig.esm.tsbuildinfo +1 -1
|
@@ -38,4 +38,12 @@ export interface AdaptableStyle {
|
|
|
38
38
|
* Existing CSS Class; use instead of setting other object properties
|
|
39
39
|
*/
|
|
40
40
|
ClassName?: string;
|
|
41
|
+
/**
|
|
42
|
+
* Align to 'Left' or 'Right' or 'Center'
|
|
43
|
+
*/
|
|
44
|
+
Alignment?: Alignment;
|
|
41
45
|
}
|
|
46
|
+
/**
|
|
47
|
+
* Behaviour for aligning Cell contents
|
|
48
|
+
*/
|
|
49
|
+
export type Alignment = 'Left' | 'Right' | 'Center' | 'Default';
|
|
@@ -3,6 +3,9 @@ import { IRowNode } from 'ag-grid-enterprise';
|
|
|
3
3
|
* What row action triggered the Row Change: 'Add', 'Update', 'Delete' or 'Load'
|
|
4
4
|
*/
|
|
5
5
|
export type RowDataChangeTrigger = 'Add' | 'Update' | 'Delete' | 'Load';
|
|
6
|
+
/**
|
|
7
|
+
* Info for RowDataChangedEvent, which rows changed and why
|
|
8
|
+
*/
|
|
6
9
|
export interface RowDataChangedInfo<TData = any> {
|
|
7
10
|
/**
|
|
8
11
|
* Timestamp of change occurrence (in milliseconds)
|
|
@@ -43,10 +43,6 @@ export interface FormatColumn extends SuspendableObject {
|
|
|
43
43
|
* Display Format to apply to Column can be Numeric, String or Date
|
|
44
44
|
*/
|
|
45
45
|
DisplayFormat?: AdaptableFormat;
|
|
46
|
-
/**
|
|
47
|
-
* Align cells 'Left' or 'Right' or 'Center'
|
|
48
|
-
*/
|
|
49
|
-
CellAlignment?: CellAlignment;
|
|
50
46
|
/**
|
|
51
47
|
* Which types of Rows to apply format (data, grouped, summary, total)
|
|
52
48
|
*/
|
|
@@ -65,10 +61,6 @@ export type FormatColumnTarget = 'cell' | 'columnHeader';
|
|
|
65
61
|
* Defines Column Group Scope
|
|
66
62
|
*/
|
|
67
63
|
export type ColumnGroupScope = 'Expanded' | 'Collapsed' | 'Both';
|
|
68
|
-
/**
|
|
69
|
-
* Behaviour for aligning Cell contents
|
|
70
|
-
*/
|
|
71
|
-
export type CellAlignment = 'Left' | 'Right' | 'Center';
|
|
72
64
|
/**
|
|
73
65
|
* The Format Column Rule - can be either a Predicate or a BooleanExpression
|
|
74
66
|
*/
|
|
@@ -134,7 +134,7 @@ export interface PredefinedConfig {
|
|
|
134
134
|
*/
|
|
135
135
|
CustomSort?: CustomSortState;
|
|
136
136
|
/**
|
|
137
|
-
* Large series of properties to give users full control over the look and feel of the *Dashboard* - the section above the grid with toolbars and buttons
|
|
137
|
+
* Large series of properties to give users full control over the look and feel of the *Dashboard* - the section (typically above the grid) with toolbars and buttons
|
|
138
138
|
*/
|
|
139
139
|
Dashboard?: DashboardState;
|
|
140
140
|
/**
|
|
@@ -54,6 +54,9 @@ export interface GridCell<TData = any> {
|
|
|
54
54
|
*/
|
|
55
55
|
isRowGroupCell: boolean;
|
|
56
56
|
}
|
|
57
|
+
/**
|
|
58
|
+
* Extended GridCell, props to show how often appears in data source and how often visible
|
|
59
|
+
*/
|
|
57
60
|
export interface GridCellWithCount extends GridCell {
|
|
58
61
|
/**
|
|
59
62
|
* How many times Cell appears in Data Source
|
|
@@ -64,6 +67,9 @@ export interface GridCellWithCount extends GridCell {
|
|
|
64
67
|
*/
|
|
65
68
|
visibleCount?: number;
|
|
66
69
|
}
|
|
70
|
+
/**
|
|
71
|
+
* Grid Cell used in Grouped Rows
|
|
72
|
+
*/
|
|
67
73
|
export interface GridCellWithChildren extends GridCell {
|
|
68
74
|
/**
|
|
69
75
|
* Children of Cell
|
|
@@ -74,6 +80,9 @@ export interface GridCellWithChildren extends GridCell {
|
|
|
74
80
|
*/
|
|
75
81
|
leafChildrenCount?: number;
|
|
76
82
|
}
|
|
83
|
+
/**
|
|
84
|
+
* Defines a Unique Cell Value (incl. how many times it appears in Grid)
|
|
85
|
+
*/
|
|
77
86
|
export interface UniqueGridCell<TData = any> {
|
|
78
87
|
/**
|
|
79
88
|
* Raw value of Cell
|
package/src/Api/DataSetApi.d.ts
CHANGED
|
@@ -14,7 +14,7 @@ export interface DataSetApi {
|
|
|
14
14
|
*/
|
|
15
15
|
getCurrentDataSet(): DataSet | undefined;
|
|
16
16
|
/**
|
|
17
|
-
*
|
|
17
|
+
* Retrieves Data Set from State with given name
|
|
18
18
|
* @param dataSetName name of Data Set to retrieve
|
|
19
19
|
* @returns data Set
|
|
20
20
|
*/
|
package/src/Api/GridApi.d.ts
CHANGED
|
@@ -71,13 +71,13 @@ export interface GridApi {
|
|
|
71
71
|
deleteGridData(dataRows: any[], config?: DataUpdateConfig): Promise<IRowNode[]>;
|
|
72
72
|
/**
|
|
73
73
|
* Applies a data transaction (add, update, remove) to AdapTable (and AG Grid)
|
|
74
|
-
* @param
|
|
74
|
+
* @param dataRows - Rows to add, update or remove (via transaction)
|
|
75
75
|
* @param config - batch option and callback function to run post transaction
|
|
76
76
|
*/
|
|
77
|
-
|
|
77
|
+
manageGridData(dataRows: {
|
|
78
78
|
add?: any[];
|
|
79
79
|
update?: any[];
|
|
80
|
-
|
|
80
|
+
delete?: any[];
|
|
81
81
|
}, config?: DataUpdateConfig): Promise<{
|
|
82
82
|
addedRows: IRowNode[];
|
|
83
83
|
updatedRows: IRowNode[];
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { ApiBase } from './ApiBase';
|
|
2
2
|
import { ActionColumnInternalApi } from '../Internal/ActionColumnInternalApi';
|
|
3
3
|
export class ActionColumnApiImpl extends ApiBase {
|
|
4
|
+
internalApi;
|
|
4
5
|
constructor(_adaptable) {
|
|
5
6
|
super(_adaptable);
|
|
6
7
|
this.internalApi = new ActionColumnInternalApi(_adaptable);
|
|
@@ -49,6 +49,58 @@ import { ContextMenuApiImpl } from './ContextMenuApiImpl';
|
|
|
49
49
|
import { FilterApiImpl } from './FilterApiImpl';
|
|
50
50
|
import { RowFormApiImpl } from './RowFormApiImpl';
|
|
51
51
|
export class AdaptableApiImpl {
|
|
52
|
+
adaptable;
|
|
53
|
+
internalApi;
|
|
54
|
+
optionsApi;
|
|
55
|
+
actionColumnApi;
|
|
56
|
+
applicationApi;
|
|
57
|
+
alertApi;
|
|
58
|
+
flashingCellApi;
|
|
59
|
+
predicateApi;
|
|
60
|
+
bulkUpdateApi;
|
|
61
|
+
calendarApi;
|
|
62
|
+
calculatedColumnApi;
|
|
63
|
+
cellSummaryApi;
|
|
64
|
+
columnApi;
|
|
65
|
+
stateApi;
|
|
66
|
+
customSortApi;
|
|
67
|
+
dashboardApi;
|
|
68
|
+
dataSetApi;
|
|
69
|
+
entitlementApi;
|
|
70
|
+
eventApi;
|
|
71
|
+
exportApi;
|
|
72
|
+
formatColumnApi;
|
|
73
|
+
freeTextColumnApi;
|
|
74
|
+
gridApi;
|
|
75
|
+
layoutApi;
|
|
76
|
+
plusMinusApi;
|
|
77
|
+
quickSearchApi;
|
|
78
|
+
rowFormApi;
|
|
79
|
+
scheduleApi;
|
|
80
|
+
shortcutApi;
|
|
81
|
+
smartEditApi;
|
|
82
|
+
filterApi;
|
|
83
|
+
systemStatusApi;
|
|
84
|
+
pluginsApi;
|
|
85
|
+
themeApi;
|
|
86
|
+
userInterfaceApi;
|
|
87
|
+
expressionApi;
|
|
88
|
+
settingsPanelApi;
|
|
89
|
+
styledColumnApi;
|
|
90
|
+
toolPanelApi;
|
|
91
|
+
teamSharingApi;
|
|
92
|
+
columnScopeApi;
|
|
93
|
+
dataChangeHistoryApi;
|
|
94
|
+
chartingApi;
|
|
95
|
+
statusBarApi;
|
|
96
|
+
noteApi;
|
|
97
|
+
columnMenuApi;
|
|
98
|
+
contextMenuApi;
|
|
99
|
+
fdc3Api;
|
|
100
|
+
dataImportApi;
|
|
101
|
+
namedQueryApi;
|
|
102
|
+
commentApi;
|
|
103
|
+
destroyed;
|
|
52
104
|
constructor(adaptable) {
|
|
53
105
|
this.adaptable = adaptable;
|
|
54
106
|
this.destroyed = false;
|
|
@@ -8,6 +8,7 @@ import { isAdaptableCellChangedAlert, isAdaptableRowChangedAlert, } from '../../
|
|
|
8
8
|
import StringExtensions from '../../Utilities/Extensions/StringExtensions';
|
|
9
9
|
import { AlertInternalApi } from '../Internal/AlertInternalApi';
|
|
10
10
|
export class AlertApiImpl extends ApiBase {
|
|
11
|
+
internalApi;
|
|
11
12
|
constructor(_adaptable) {
|
|
12
13
|
super(_adaptable);
|
|
13
14
|
this.internalApi = new AlertInternalApi(_adaptable);
|
|
@@ -2,6 +2,7 @@ import Helper from '../../Utilities/Helpers/Helper';
|
|
|
2
2
|
import { createUuid } from '../../AdaptableState/Uuid';
|
|
3
3
|
// Base class for the Api - provides checking dispatching methods
|
|
4
4
|
export class ApiBase {
|
|
5
|
+
_adaptable;
|
|
5
6
|
/**
|
|
6
7
|
* Constructor for all the api classes which simply takes and assigns an instance of Adaptable
|
|
7
8
|
* @param _adaptable the core IAdaptable object
|
|
@@ -4,6 +4,7 @@ import * as ModuleConstants from '../../Utilities/Constants/ModuleConstants';
|
|
|
4
4
|
import { CalculatedColumnInternalApi } from '../Internal/CalculatedColumnInternalApi';
|
|
5
5
|
import ArrayExtensions from '../../Utilities/Extensions/ArrayExtensions';
|
|
6
6
|
export class CalculatedColumnApiImpl extends ApiBase {
|
|
7
|
+
internalApi;
|
|
7
8
|
constructor(_adaptable) {
|
|
8
9
|
super(_adaptable);
|
|
9
10
|
this.internalApi = new CalculatedColumnInternalApi(_adaptable);
|
|
@@ -5,6 +5,10 @@ import StringExtensions from '../../Utilities/Extensions/StringExtensions';
|
|
|
5
5
|
import { ChartingInternalApi } from '../Internal/ChartingInternalApi';
|
|
6
6
|
import ObjectFactory from '../../Utilities/ObjectFactory';
|
|
7
7
|
export class ChartingApiImpl extends ApiBase {
|
|
8
|
+
/**
|
|
9
|
+
* @internal
|
|
10
|
+
*/
|
|
11
|
+
internalApi;
|
|
8
12
|
constructor(_adaptable) {
|
|
9
13
|
super(_adaptable);
|
|
10
14
|
this.internalApi = new ChartingInternalApi(_adaptable);
|
|
@@ -109,6 +109,7 @@ export function isPivotGrandTotal(columnId) {
|
|
|
109
109
|
return columnId?.startsWith(GeneralConstants.AG_GRID_PIVOT_GRAND_TOTAL_COLUMN);
|
|
110
110
|
}
|
|
111
111
|
export class ColumnApiImpl extends ApiBase {
|
|
112
|
+
internalApi;
|
|
112
113
|
constructor(_adaptable) {
|
|
113
114
|
super(_adaptable);
|
|
114
115
|
this.internalApi = new ColumnInternalApi(_adaptable);
|
|
@@ -5,6 +5,7 @@ import ArrayExtensions from '../../Utilities/Extensions/ArrayExtensions';
|
|
|
5
5
|
import { ColumnFilterInternalApi } from '../Internal/ColumnFilterInternalApi';
|
|
6
6
|
import StringExtensions from '../../Utilities/Extensions/StringExtensions';
|
|
7
7
|
export class ColumnFilterApiImpl extends ApiBase {
|
|
8
|
+
internalApi;
|
|
8
9
|
constructor(_adaptable) {
|
|
9
10
|
super(_adaptable);
|
|
10
11
|
this.internalApi = new ColumnFilterInternalApi(_adaptable);
|
|
@@ -4,6 +4,7 @@ import ObjectFactory from '../../Utilities/ObjectFactory';
|
|
|
4
4
|
import AdaptableHelper from '../../Utilities/Helpers/AdaptableHelper';
|
|
5
5
|
import { CommentsInternalApi } from '../Internal/CommentsInternalApi';
|
|
6
6
|
export class CommentsApiImpl extends ApiBase {
|
|
7
|
+
internalApi;
|
|
7
8
|
constructor(_adaptable) {
|
|
8
9
|
super(_adaptable);
|
|
9
10
|
this.internalApi = new CommentsInternalApi(_adaptable);
|
|
@@ -3,6 +3,7 @@ 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
|
+
internalApi;
|
|
6
7
|
constructor(_adaptable) {
|
|
7
8
|
super(_adaptable);
|
|
8
9
|
this.internalApi = new CustomSortInternalApi(_adaptable);
|
|
@@ -5,6 +5,7 @@ import * as React from 'react';
|
|
|
5
5
|
import { DashboardRefresh } from '../../Redux/ActionsReducers/InternalRedux';
|
|
6
6
|
import { DashboardInternalApi } from '../Internal/DashboardInternalApi';
|
|
7
7
|
export class DashboardApiImpl extends ApiBase {
|
|
8
|
+
internalApi;
|
|
8
9
|
constructor(_adaptable) {
|
|
9
10
|
super(_adaptable);
|
|
10
11
|
this.internalApi = new DashboardInternalApi(_adaptable);
|
|
@@ -2,21 +2,6 @@ import { ApiBase } from './ApiBase';
|
|
|
2
2
|
import { DataChangeHistoryClearRow, DataChangeHistoryDisable, DataChangeHistoryEnable, DataChangeHistoryResume, DataChangeHistorySuspend, DataChangeHistoryUndo, DataChangeHistoryAdd, } from '../../Redux/ActionsReducers/InternalRedux';
|
|
3
3
|
import * as ModuleConstants from '../../Utilities/Constants/ModuleConstants';
|
|
4
4
|
export class DataChangeHistoryApiImpl extends ApiBase {
|
|
5
|
-
constructor() {
|
|
6
|
-
super(...arguments);
|
|
7
|
-
this.getDataChangeHistoryKey = (dataChangeInfo) => {
|
|
8
|
-
const columnId = dataChangeInfo.column.columnId;
|
|
9
|
-
const primaryKeyValue = dataChangeInfo.primaryKeyValue;
|
|
10
|
-
const changedAt = dataChangeInfo.changedAt;
|
|
11
|
-
const showLastDataChangeOnly = this.getDataChangeHistoryOptions().showLastDataChangeOnly;
|
|
12
|
-
if (showLastDataChangeOnly) {
|
|
13
|
-
return JSON.stringify({ columnId, primaryKeyValue });
|
|
14
|
-
}
|
|
15
|
-
else {
|
|
16
|
-
return JSON.stringify({ columnId, primaryKeyValue, changedAt });
|
|
17
|
-
}
|
|
18
|
-
};
|
|
19
|
-
}
|
|
20
5
|
getDataChangeHistoryMode() {
|
|
21
6
|
return this.getAdaptableState().Internal.DataChangeHistory.currentMode;
|
|
22
7
|
}
|
|
@@ -67,4 +52,16 @@ export class DataChangeHistoryApiImpl extends ApiBase {
|
|
|
67
52
|
openDataChangeHistorySettingsPanel() {
|
|
68
53
|
this.showModulePopup(ModuleConstants.DataChangeHistoryModuleId);
|
|
69
54
|
}
|
|
55
|
+
getDataChangeHistoryKey = (dataChangeInfo) => {
|
|
56
|
+
const columnId = dataChangeInfo.column.columnId;
|
|
57
|
+
const primaryKeyValue = dataChangeInfo.primaryKeyValue;
|
|
58
|
+
const changedAt = dataChangeInfo.changedAt;
|
|
59
|
+
const showLastDataChangeOnly = this.getDataChangeHistoryOptions().showLastDataChangeOnly;
|
|
60
|
+
if (showLastDataChangeOnly) {
|
|
61
|
+
return JSON.stringify({ columnId, primaryKeyValue });
|
|
62
|
+
}
|
|
63
|
+
else {
|
|
64
|
+
return JSON.stringify({ columnId, primaryKeyValue, changedAt });
|
|
65
|
+
}
|
|
66
|
+
};
|
|
70
67
|
}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { DataImportInternalApi } from '../Internal/DataImportInternalApi';
|
|
2
2
|
import { ApiBase } from './ApiBase';
|
|
3
3
|
export class DataImportApiImpl extends ApiBase {
|
|
4
|
+
internalApi;
|
|
4
5
|
constructor(_adaptable) {
|
|
5
6
|
super(_adaptable);
|
|
6
7
|
this.internalApi = new DataImportInternalApi(_adaptable);
|
|
@@ -3,6 +3,7 @@ import * as InternalRedux from '../../Redux/ActionsReducers/InternalRedux';
|
|
|
3
3
|
import { ApiBase } from './ApiBase';
|
|
4
4
|
import { DataSetInternalApi } from '../Internal/DataSetInternalApi';
|
|
5
5
|
export class DataSetApiImpl extends ApiBase {
|
|
6
|
+
internalApi;
|
|
6
7
|
constructor(_adaptable) {
|
|
7
8
|
super(_adaptable);
|
|
8
9
|
this.internalApi = new DataSetInternalApi(_adaptable);
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { ApiBase } from './ApiBase';
|
|
2
2
|
import { EntitlementInternalApi } from '../Internal/EntitlementInternalApi';
|
|
3
3
|
export class EntitlementApiImpl extends ApiBase {
|
|
4
|
+
internalApi;
|
|
4
5
|
constructor(_adaptable) {
|
|
5
6
|
super(_adaptable);
|
|
6
7
|
this.internalApi = new EntitlementInternalApi(_adaptable);
|
|
@@ -2,22 +2,10 @@ import { ApiBase } from './ApiBase';
|
|
|
2
2
|
import Emitter from '../../Utilities/Emitter';
|
|
3
3
|
import { EventInternalApi } from '../Internal/EventInternalApi';
|
|
4
4
|
export class EventApiImpl extends ApiBase {
|
|
5
|
+
emitter;
|
|
6
|
+
internalApi;
|
|
5
7
|
constructor(_adaptable) {
|
|
6
8
|
super(_adaptable);
|
|
7
|
-
this.on = (eventName, callback) => {
|
|
8
|
-
let result;
|
|
9
|
-
if (eventName === 'AdaptableReady') {
|
|
10
|
-
this.emitter.onIncludeFiredOnce(eventName).then(callback);
|
|
11
|
-
return () => { };
|
|
12
|
-
}
|
|
13
|
-
else {
|
|
14
|
-
result = this.emitter.on(eventName, callback);
|
|
15
|
-
}
|
|
16
|
-
return result;
|
|
17
|
-
};
|
|
18
|
-
this.off = (eventName, callback) => this.emitter.off(eventName, callback);
|
|
19
|
-
this.emit = (eventName, data) => this.emitter.emit(eventName, data);
|
|
20
|
-
this.emitSync = (eventName, data) => this.emitter.emitSync(eventName, data);
|
|
21
9
|
this.emitter = new Emitter();
|
|
22
10
|
this.internalApi = new EventInternalApi(_adaptable);
|
|
23
11
|
}
|
|
@@ -26,4 +14,18 @@ export class EventApiImpl extends ApiBase {
|
|
|
26
14
|
this.emitSync('AdaptableDestroy');
|
|
27
15
|
this.emitter.destroy();
|
|
28
16
|
}
|
|
17
|
+
on = (eventName, callback) => {
|
|
18
|
+
let result;
|
|
19
|
+
if (eventName === 'AdaptableReady') {
|
|
20
|
+
this.emitter.onIncludeFiredOnce(eventName).then(callback);
|
|
21
|
+
return () => { };
|
|
22
|
+
}
|
|
23
|
+
else {
|
|
24
|
+
result = this.emitter.on(eventName, callback);
|
|
25
|
+
}
|
|
26
|
+
return result;
|
|
27
|
+
};
|
|
28
|
+
off = (eventName, callback) => this.emitter.off(eventName, callback);
|
|
29
|
+
emit = (eventName, data) => this.emitter.emit(eventName, data);
|
|
30
|
+
emitSync = (eventName, data) => this.emitter.emitSync(eventName, data);
|
|
29
31
|
}
|
|
@@ -4,6 +4,7 @@ import * as ModuleConstants from '../../Utilities/Constants/ModuleConstants';
|
|
|
4
4
|
import { ExportInternalApi } from '../Internal/ExportInternalApi';
|
|
5
5
|
import { ALL_DATA_REPORT, CLIPBOARD_EXPORT_DESTINATION, DOWNLOAD_EXPORT_DESTINATION, EMPTY_STRING, SYSTEM_EXPORT_DESTINATIONS, SYSTEM_REPORT_FORMATS, SYSTEM_REPORT_NAMES, } from '../../Utilities/Constants/GeneralConstants';
|
|
6
6
|
export class ExportApiImpl extends ApiBase {
|
|
7
|
+
internalApi;
|
|
7
8
|
constructor(_adaptable) {
|
|
8
9
|
super(_adaptable);
|
|
9
10
|
this.internalApi = new ExportInternalApi(_adaptable);
|
|
@@ -2,6 +2,7 @@ import { ApiBase } from './ApiBase';
|
|
|
2
2
|
import * as parser from '../../parser/src';
|
|
3
3
|
import { ExpressionInternalApi } from '../Internal/ExpressionInternalApi';
|
|
4
4
|
export class ExpressionApiImpl extends ApiBase {
|
|
5
|
+
internalApi;
|
|
5
6
|
constructor(_adaptable) {
|
|
6
7
|
super(_adaptable);
|
|
7
8
|
this.internalApi = new ExpressionInternalApi(_adaptable);
|
|
@@ -2,6 +2,7 @@ import { ApiBase } from './ApiBase';
|
|
|
2
2
|
import { Fdc3InternalApi } from '../Internal/Fdc3InternalApi';
|
|
3
3
|
import { ContextConfiguration } from '../../AdaptableState/Common/Fdc3Context';
|
|
4
4
|
export class Fdc3ApiImpl extends ApiBase {
|
|
5
|
+
internalApi;
|
|
5
6
|
constructor(_adaptable) {
|
|
6
7
|
super(_adaptable);
|
|
7
8
|
this.internalApi = new Fdc3InternalApi(_adaptable);
|
|
@@ -3,6 +3,9 @@ import { FilterInternalApi } from '../Internal/FilterInternalApi';
|
|
|
3
3
|
import { ColumnFilterApiImpl } from './ColumnFilterApiImpl';
|
|
4
4
|
import { GridFilterApiImpl } from './GridFilterApiImpl';
|
|
5
5
|
export class FilterApiImpl extends ApiBase {
|
|
6
|
+
internalApi;
|
|
7
|
+
columnFilterApi;
|
|
8
|
+
gridFilterApi;
|
|
6
9
|
constructor(_adaptable) {
|
|
7
10
|
super(_adaptable);
|
|
8
11
|
this.internalApi = new FilterInternalApi(_adaptable);
|
|
@@ -2,6 +2,7 @@ import * as FlashingCellRedux from '../../Redux/ActionsReducers/FlashingCellRedu
|
|
|
2
2
|
import { ApiBase } from './ApiBase';
|
|
3
3
|
import { FlashingCellInternalApi } from '../Internal/FlashingCellInternalApi';
|
|
4
4
|
export class FlashingCellApiImpl extends ApiBase {
|
|
5
|
+
internalApi;
|
|
5
6
|
constructor(_adaptable) {
|
|
6
7
|
super(_adaptable);
|
|
7
8
|
this.internalApi = new FlashingCellInternalApi(_adaptable);
|
|
@@ -4,6 +4,7 @@ import * as ModuleConstants from '../../Utilities/Constants/ModuleConstants';
|
|
|
4
4
|
import { FormatColumnInternalApi } from '../Internal/FormatColumnInternalApi';
|
|
5
5
|
import ArrayExtensions from '../../Utilities/Extensions/ArrayExtensions';
|
|
6
6
|
export class FormatColumnApiImpl extends ApiBase {
|
|
7
|
+
internalApi;
|
|
7
8
|
constructor(_adaptable) {
|
|
8
9
|
super(_adaptable);
|
|
9
10
|
this.internalApi = new FormatColumnInternalApi(_adaptable);
|
|
@@ -4,6 +4,7 @@ import * as ModuleConstants from '../../Utilities/Constants/ModuleConstants';
|
|
|
4
4
|
import ArrayExtensions from '../../Utilities/Extensions/ArrayExtensions';
|
|
5
5
|
import { FreeTextColumnInternalApi } from '../Internal/FreeTextColumnInternalApi';
|
|
6
6
|
export class FreeTextColumnApiImpl extends ApiBase {
|
|
7
|
+
internalApi;
|
|
7
8
|
constructor(_adaptable) {
|
|
8
9
|
super(_adaptable);
|
|
9
10
|
this.internalApi = new FreeTextColumnInternalApi(_adaptable);
|
|
@@ -34,6 +34,15 @@ export declare class GridApiImpl extends ApiBase implements GridApi {
|
|
|
34
34
|
addGridData(dataRows: any[], dataUpdateConfig?: DataUpdateConfig): Promise<IRowNode[]>;
|
|
35
35
|
undoCellEdit(cellDataChangedInfo: CellDataChangedInfo): boolean;
|
|
36
36
|
deleteGridData(dataRows: any[], dataUpdateConfig?: DataUpdateConfig): Promise<IRowNode[]>;
|
|
37
|
+
manageGridData(dataRows: {
|
|
38
|
+
add?: any[];
|
|
39
|
+
update?: any[];
|
|
40
|
+
delete?: any[];
|
|
41
|
+
}, config?: DataUpdateConfig): Promise<{
|
|
42
|
+
addedRows: IRowNode[];
|
|
43
|
+
updatedRows: IRowNode[];
|
|
44
|
+
removedRows: IRowNode[];
|
|
45
|
+
}>;
|
|
37
46
|
setCellValue(cellUpdateRequest: CellUpdateRequest): void;
|
|
38
47
|
setCellValues(cellUpdateRequests: CellUpdateRequest[]): void;
|
|
39
48
|
getCellSummaryInfo(): CellSummmaryInfo;
|
|
@@ -151,13 +160,4 @@ export declare class GridApiImpl extends ApiBase implements GridApi {
|
|
|
151
160
|
updateAgGridColumnDefinitions(columnDefinitionsToBeUpdated: ColDefWithId[]): void;
|
|
152
161
|
removeAgGridColumnDefinition(columnId: string): void;
|
|
153
162
|
addAgGridColumnDefinition(newColumnDefinition: ColDefWithId): void;
|
|
154
|
-
applyGridDataTransaction(dataTransaction: {
|
|
155
|
-
add?: any[];
|
|
156
|
-
update?: any[];
|
|
157
|
-
remove?: any[];
|
|
158
|
-
}, config?: DataUpdateConfig): Promise<{
|
|
159
|
-
addedRows: IRowNode[];
|
|
160
|
-
updatedRows: IRowNode[];
|
|
161
|
-
removedRows: IRowNode[];
|
|
162
|
-
}>;
|
|
163
163
|
}
|
|
@@ -7,6 +7,7 @@ import { WINDOW_SHOW_TRANSPOSED_VIEW } from '../../View/Components/Popups/Window
|
|
|
7
7
|
import { ROW_SUMMARY_ROW_ID } from '../../AdaptableState/Common/RowSummary';
|
|
8
8
|
import { errorOnce } from '../../agGrid/AdaptableLogger';
|
|
9
9
|
export class GridApiImpl extends ApiBase {
|
|
10
|
+
internalApi;
|
|
10
11
|
constructor(_adaptable) {
|
|
11
12
|
super(_adaptable);
|
|
12
13
|
this.internalApi = new GridInternalApi(_adaptable);
|
|
@@ -94,6 +95,22 @@ export class GridApiImpl extends ApiBase {
|
|
|
94
95
|
}
|
|
95
96
|
return [];
|
|
96
97
|
}
|
|
98
|
+
async manageGridData(dataRows, config) {
|
|
99
|
+
const transactionResult = await this._adaptable.manageGridRows(dataRows, config);
|
|
100
|
+
if (Array.isArray(transactionResult.removedRows) && transactionResult.removedRows.length) {
|
|
101
|
+
const rowDataChangedInfo = this.getAdaptableInternalApi().buildRowDataChangedInfo(dataRows.delete, transactionResult.removedRows, 'Delete');
|
|
102
|
+
this.getAdaptableInternalApi().getDataService().CreateRowDataChangedEvent(rowDataChangedInfo);
|
|
103
|
+
}
|
|
104
|
+
if (Array.isArray(transactionResult.updatedRows) && transactionResult.updatedRows.length) {
|
|
105
|
+
const rowDataChangedInfo = this.getAdaptableInternalApi().buildRowDataChangedInfo(dataRows.update, transactionResult.updatedRows, 'Update');
|
|
106
|
+
this.getAdaptableInternalApi().getDataService().CreateRowDataChangedEvent(rowDataChangedInfo);
|
|
107
|
+
}
|
|
108
|
+
if (Array.isArray(transactionResult.addedRows) && transactionResult.addedRows.length) {
|
|
109
|
+
const rowDataChangedInfo = this.getAdaptableInternalApi().buildRowDataChangedInfo(dataRows.add, transactionResult.addedRows, 'Add');
|
|
110
|
+
this.getAdaptableInternalApi().getDataService().CreateRowDataChangedEvent(rowDataChangedInfo);
|
|
111
|
+
}
|
|
112
|
+
return transactionResult;
|
|
113
|
+
}
|
|
97
114
|
setCellValue(cellUpdateRequest) {
|
|
98
115
|
const abColumn = this.getColumnApi().getColumnWithColumnId(cellUpdateRequest.columnId);
|
|
99
116
|
if (!abColumn) {
|
|
@@ -683,20 +700,4 @@ export class GridApiImpl extends ApiBase {
|
|
|
683
700
|
.filter(Boolean);
|
|
684
701
|
this.setAgGridColumnDefinitions([...sanitizedColDefs, newColumnDefinition]);
|
|
685
702
|
}
|
|
686
|
-
async applyGridDataTransaction(dataTransaction, config) {
|
|
687
|
-
const transactionResult = await this._adaptable.applyGridDataTransaction(dataTransaction, config);
|
|
688
|
-
if (Array.isArray(transactionResult.removedRows) && transactionResult.removedRows.length) {
|
|
689
|
-
const rowDataChangedInfo = this.getAdaptableInternalApi().buildRowDataChangedInfo(dataTransaction.remove, transactionResult.removedRows, 'Delete');
|
|
690
|
-
this.getAdaptableInternalApi().getDataService().CreateRowDataChangedEvent(rowDataChangedInfo);
|
|
691
|
-
}
|
|
692
|
-
if (Array.isArray(transactionResult.updatedRows) && transactionResult.updatedRows.length) {
|
|
693
|
-
const rowDataChangedInfo = this.getAdaptableInternalApi().buildRowDataChangedInfo(dataTransaction.update, transactionResult.updatedRows, 'Update');
|
|
694
|
-
this.getAdaptableInternalApi().getDataService().CreateRowDataChangedEvent(rowDataChangedInfo);
|
|
695
|
-
}
|
|
696
|
-
if (Array.isArray(transactionResult.addedRows) && transactionResult.addedRows.length) {
|
|
697
|
-
const rowDataChangedInfo = this.getAdaptableInternalApi().buildRowDataChangedInfo(dataTransaction.add, transactionResult.addedRows, 'Add');
|
|
698
|
-
this.getAdaptableInternalApi().getDataService().CreateRowDataChangedEvent(rowDataChangedInfo);
|
|
699
|
-
}
|
|
700
|
-
return transactionResult;
|
|
701
|
-
}
|
|
702
703
|
}
|
|
@@ -4,6 +4,7 @@ import { GridFilterInternalApi } from '../Internal/GridFilterInternalApi';
|
|
|
4
4
|
import { ApiBase } from './ApiBase';
|
|
5
5
|
import * as ModuleConstants from '../../Utilities/Constants/ModuleConstants';
|
|
6
6
|
export class GridFilterApiImpl extends ApiBase {
|
|
7
|
+
internalApi;
|
|
7
8
|
constructor(_adaptable) {
|
|
8
9
|
super(_adaptable);
|
|
9
10
|
this.internalApi = new GridFilterInternalApi(_adaptable);
|
|
@@ -8,6 +8,7 @@ import { LayoutInternalApi } from '../Internal/LayoutInternalApi';
|
|
|
8
8
|
import { isPivotLayout, normalizeLayout } from './LayoutHelpers';
|
|
9
9
|
import { ERROR_LAYOUT } from '../../Utilities/Constants/GeneralConstants';
|
|
10
10
|
export class LayoutApiImpl extends ApiBase {
|
|
11
|
+
internalApi;
|
|
11
12
|
constructor(_adaptable) {
|
|
12
13
|
super(_adaptable);
|
|
13
14
|
this.internalApi = new LayoutInternalApi(_adaptable);
|
|
@@ -4,6 +4,7 @@ import { NamedQueryInternalApi } from '../Internal/NamedQueryInternalApi';
|
|
|
4
4
|
import { ApiBase } from './ApiBase';
|
|
5
5
|
import * as NamedQueryRedux from '../../Redux/ActionsReducers/NamedQueryRedux';
|
|
6
6
|
export class NamedQueryApiImpl extends ApiBase {
|
|
7
|
+
internalApi;
|
|
7
8
|
constructor(_adaptable) {
|
|
8
9
|
super(_adaptable);
|
|
9
10
|
this.internalApi = new NamedQueryInternalApi(_adaptable);
|
|
@@ -2,6 +2,7 @@ import { ApiBase } from './ApiBase';
|
|
|
2
2
|
import * as NoteRedux from '../../Redux/ActionsReducers/NoteRedux';
|
|
3
3
|
import { NoteInternalApi } from '../Internal/NoteInternalApi';
|
|
4
4
|
export class NoteApiImpl extends ApiBase {
|
|
5
|
+
internalApi;
|
|
5
6
|
constructor(_adaptable) {
|
|
6
7
|
super(_adaptable);
|
|
7
8
|
this.internalApi = new NoteInternalApi(_adaptable);
|
|
@@ -26,6 +26,7 @@ export const getTreeSelectionStateForPredicateInputs = (inputs, cache = treeSele
|
|
|
26
26
|
return newTreeSelectionState;
|
|
27
27
|
};
|
|
28
28
|
export class PredicateApiImpl extends ApiBase {
|
|
29
|
+
internalApi;
|
|
29
30
|
constructor(_adaptable) {
|
|
30
31
|
super(_adaptable);
|
|
31
32
|
this.internalApi = new PredicateInternalApi(_adaptable);
|
|
@@ -2,6 +2,7 @@ import { ApiBase } from './ApiBase';
|
|
|
2
2
|
import { RowFormInternalApi } from '../Internal/RowFormInternalApi';
|
|
3
3
|
import { PopupShowForm } from '../../Redux/ActionsReducers/PopupRedux';
|
|
4
4
|
export class RowFormApiImpl extends ApiBase {
|
|
5
|
+
internalApi;
|
|
5
6
|
constructor(_adaptable) {
|
|
6
7
|
super(_adaptable);
|
|
7
8
|
this.internalApi = new RowFormInternalApi(_adaptable);
|
|
@@ -3,6 +3,7 @@ import * as StyledColumnRedux from '../../Redux/ActionsReducers/StyledColumnRedu
|
|
|
3
3
|
import { StyledColumnInternalApi } from '../Internal/StyledColumnInternalApi';
|
|
4
4
|
import * as ModuleConstants from '../../Utilities/Constants/ModuleConstants';
|
|
5
5
|
export class StyledColumnApiImpl extends ApiBase {
|
|
6
|
+
internalApi;
|
|
6
7
|
constructor(_adaptable) {
|
|
7
8
|
super(_adaptable);
|
|
8
9
|
this.internalApi = new StyledColumnInternalApi(_adaptable);
|
|
@@ -8,6 +8,8 @@ import UIHelper from '../../View/UIHelper';
|
|
|
8
8
|
import StringExtensions from '../../Utilities/Extensions/StringExtensions';
|
|
9
9
|
import { SystemStatusInternalApi } from '../Internal/SystemStatusInternalApi';
|
|
10
10
|
export class SystemStatusApiImpl extends ApiBase {
|
|
11
|
+
systemStatusDiv;
|
|
12
|
+
internalApi;
|
|
11
13
|
constructor(_adaptable) {
|
|
12
14
|
super(_adaptable);
|
|
13
15
|
this.internalApi = new SystemStatusInternalApi(_adaptable);
|
|
@@ -5,6 +5,7 @@ import { TeamSharingCheckForUpdates } from '../../Redux/ActionsReducers/TeamShar
|
|
|
5
5
|
import { TeamSharingInternalApi } from '../Internal/TeamSharingInternalApi';
|
|
6
6
|
import { isAdaptableSharedEntity, isCustomSharedEntity, } from '../../AdaptableState/TeamSharingState';
|
|
7
7
|
export class TeamSharingApiImpl extends ApiBase {
|
|
8
|
+
internalApi;
|
|
8
9
|
constructor(_adaptable) {
|
|
9
10
|
super(_adaptable);
|
|
10
11
|
this.internalApi = new TeamSharingInternalApi(_adaptable);
|
|
@@ -6,6 +6,7 @@ import { ThemeInternalApi } from '../Internal/ThemeInternalApi';
|
|
|
6
6
|
import AdaptableHelper from '../../Utilities/Helpers/AdaptableHelper';
|
|
7
7
|
import { logDeprecation } from '../../Utilities/logDeprecation';
|
|
8
8
|
export class ThemeApiImpl extends ApiBase {
|
|
9
|
+
internalApi;
|
|
9
10
|
constructor(_adaptable) {
|
|
10
11
|
super(_adaptable);
|
|
11
12
|
this.internalApi = new ThemeInternalApi(_adaptable);
|
|
@@ -5,9 +5,10 @@ import { UserInterfaceInternalApi } from '../Internal/UserInterfaceInternalApi';
|
|
|
5
5
|
import { ApiBase } from './ApiBase';
|
|
6
6
|
import { ProgressIndicatorHide, ProgressIndicatorShow, } from '../../Redux/ActionsReducers/PopupRedux';
|
|
7
7
|
export class UserInterfaceApiImpl extends ApiBase {
|
|
8
|
+
internalApi;
|
|
9
|
+
showProgressIndicatorTimeout = null;
|
|
8
10
|
constructor(_adaptable) {
|
|
9
11
|
super(_adaptable);
|
|
10
|
-
this.showProgressIndicatorTimeout = null;
|
|
11
12
|
this.internalApi = new UserInterfaceInternalApi(_adaptable);
|
|
12
13
|
}
|
|
13
14
|
getColorPalette() {
|