@adaptabletools/adaptable 10.0.2 → 10.0.4-canary.2
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/LICENSE.md +1 -1
- package/README.md +1 -1
- package/base.css +84 -32
- package/bundle.cjs.js +350 -0
- package/index.css +100 -34
- package/package.json +1 -5
- package/publishTimestamp.d.ts +1 -1
- package/publishTimestamp.js +1 -1
- package/src/AdaptableInterfaces/AdaptableNoCodeWizard.d.ts +1 -1
- package/src/AdaptableInterfaces/IAdaptable.d.ts +24 -12
- package/src/AdaptableOptions/AdaptableOptions.d.ts +3 -3
- package/src/AdaptableOptions/ContainerOptions.d.ts +4 -5
- package/src/AdaptableOptions/DataChangeHistoryOptions.d.ts +1 -1
- package/src/AdaptableOptions/DateInputOptions.d.ts +5 -1
- package/src/AdaptableOptions/EditOptions.d.ts +2 -3
- package/src/AdaptableOptions/FilterOptions.d.ts +22 -15
- package/src/AdaptableOptions/GeneralOptions.d.ts +3 -2
- package/src/AdaptableOptions/LayoutOptions.d.ts +1 -1
- package/src/AdaptableOptions/MenuOptions.d.ts +11 -11
- package/src/AdaptableOptions/NotificationsOptions.d.ts +11 -1
- package/src/AdaptableOptions/ToolPanelOptions.d.ts +2 -2
- package/src/AdaptableOptions/UserInterfaceOptions.d.ts +108 -6
- package/src/Api/AdaptableApi.d.ts +12 -12
- package/src/Api/AlertApi.d.ts +1 -1
- package/src/Api/CalculatedColumnApi.d.ts +15 -0
- package/src/Api/ColumnApi.d.ts +49 -5
- package/src/Api/ConfigApi.d.ts +8 -0
- package/src/Api/EventApi.d.ts +1 -1
- package/src/Api/Events/AdaptableReady.d.ts +5 -8
- package/src/Api/Events/AdaptableStateChanged.d.ts +2 -1
- package/src/Api/Events/AlertFired.d.ts +2 -1
- package/src/Api/Events/BaseEventInfo.d.ts +10 -0
- package/src/{Utilities/Interface/ProgressIndicator.js → Api/Events/BaseEventInfo.js} +0 -0
- package/src/Api/Events/CellChanged.d.ts +2 -1
- package/src/Api/Events/ChexboxColumnClicked.d.ts +2 -1
- package/src/Api/Events/CustomToolbarConfigured.d.ts +2 -1
- package/src/Api/Events/DashboardChanged.d.ts +2 -1
- package/src/Api/Events/FlashingAlertFired.d.ts +2 -1
- package/src/Api/Events/GridDataChanged.d.ts +2 -1
- package/src/Api/Events/LayoutChanged.d.ts +2 -1
- package/src/Api/Events/LiveDataChanged.d.ts +2 -1
- package/src/Api/Events/SearchChanged.d.ts +2 -1
- package/src/Api/Events/SelectionChanged.d.ts +2 -1
- package/src/Api/Events/SystemStatusMessageDisplayed.d.ts +2 -1
- package/src/Api/Events/TeamSharingEntityChanged.d.ts +2 -1
- package/src/Api/Events/ThemeChanged.d.ts +2 -1
- package/src/Api/GridApi.d.ts +44 -18
- package/src/Api/Implementation/AlertApiImpl.d.ts +1 -1
- package/src/Api/Implementation/AlertApiImpl.js +22 -15
- package/src/Api/Implementation/CalculatedColumnApiImpl.d.ts +3 -0
- package/src/Api/Implementation/CalculatedColumnApiImpl.js +23 -0
- package/src/Api/Implementation/ColumnApiImpl.d.ts +12 -3
- package/src/Api/Implementation/ColumnApiImpl.js +79 -44
- package/src/Api/Implementation/ConfigApiImpl.d.ts +1 -1
- package/src/Api/Implementation/ConfigApiImpl.js +28 -41
- package/src/Api/Implementation/DashboardApiImpl.js +2 -1
- package/src/Api/Implementation/ExportApiImpl.js +4 -4
- package/src/Api/Implementation/FormatColumnApiImpl.js +2 -1
- package/src/Api/Implementation/FreeTextColumnApiImpl.js +9 -3
- package/src/Api/Implementation/GridApiImpl.d.ts +11 -2
- package/src/Api/Implementation/GridApiImpl.js +30 -13
- package/src/Api/Implementation/InternalApiImpl.d.ts +4 -2
- package/src/Api/Implementation/InternalApiImpl.js +21 -5
- package/src/Api/Implementation/LayoutApiImpl.d.ts +2 -0
- package/src/Api/Implementation/LayoutApiImpl.js +19 -3
- package/src/Api/Implementation/PluginsApiImpl.d.ts +2 -2
- package/src/Api/Implementation/PluginsApiImpl.js +1 -1
- package/src/Api/Implementation/ScheduleApiImpl.js +6 -6
- package/src/Api/Implementation/ScopeApiImpl.js +11 -11
- package/src/Api/Implementation/SystemStatusApiImpl.js +1 -0
- package/src/Api/Implementation/TeamSharingApiImpl.js +1 -0
- package/src/Api/Implementation/ThemeApiImpl.js +1 -0
- package/src/Api/Implementation/ToolPanelApiImpl.js +1 -1
- package/src/Api/Implementation/UserInterfaceApiImpl.d.ts +15 -11
- package/src/Api/Implementation/UserInterfaceApiImpl.js +73 -91
- package/src/Api/InternalApi.d.ts +4 -2
- package/src/Api/LayoutApi.d.ts +7 -0
- package/src/Api/PluginsApi.d.ts +1 -7
- package/src/Api/TeamSharingApi.d.ts +1 -1
- package/src/Api/ThemeApi.d.ts +2 -2
- package/src/Api/UserInterfaceApi.d.ts +19 -9
- package/src/PredefinedConfig/AdaptableState.d.ts +2 -10
- package/src/PredefinedConfig/AlertState.d.ts +5 -1
- package/src/PredefinedConfig/ApplicationState.d.ts +1 -1
- package/src/PredefinedConfig/CalculatedColumnState.d.ts +5 -38
- package/src/PredefinedConfig/Common/AdaptableButton.d.ts +1 -1
- package/src/PredefinedConfig/Common/AdaptableColumn.d.ts +36 -36
- package/src/PredefinedConfig/Common/AdaptableColumn.js +5 -5
- package/src/PredefinedConfig/Common/AdaptablePredicate.d.ts +4 -4
- package/src/PredefinedConfig/Common/AdaptablePredicate.js +19 -18
- package/src/PredefinedConfig/Common/AdaptableStyle.d.ts +7 -7
- package/src/PredefinedConfig/Common/DataChangedInfo.d.ts +4 -3
- package/src/PredefinedConfig/Common/DataUpdateConfig.d.ts +5 -1
- package/src/PredefinedConfig/Common/Menu.d.ts +40 -17
- package/src/PredefinedConfig/Common/SpecialColumnSettings.d.ts +49 -0
- package/src/PredefinedConfig/Common/SpecialColumnSettings.js +2 -0
- package/src/PredefinedConfig/Common/Types.d.ts +5 -5
- package/src/PredefinedConfig/Common/Types.js +9 -7
- package/src/PredefinedConfig/ConditionalStyleState.d.ts +1 -1
- package/src/PredefinedConfig/CustomSortState.d.ts +1 -1
- package/src/PredefinedConfig/DataSourceState.d.ts +1 -1
- package/src/PredefinedConfig/ExportState.d.ts +3 -3
- package/src/PredefinedConfig/FilterState.d.ts +3 -3
- package/src/PredefinedConfig/FormatColumnState.d.ts +1 -1
- package/src/PredefinedConfig/FreeTextColumnState.d.ts +11 -1
- package/src/PredefinedConfig/LayoutState.d.ts +1 -1
- package/src/PredefinedConfig/PredefinedConfig.d.ts +0 -40
- package/src/PredefinedConfig/QuickSearchState.d.ts +3 -3
- package/src/PredefinedConfig/ScheduleState.d.ts +1 -1
- package/src/PredefinedConfig/Selection/GridCell.d.ts +2 -1
- package/src/PredefinedConfig/Selection/GridRow.d.ts +12 -4
- package/src/PredefinedConfig/SystemState.d.ts +4 -1
- package/src/PredefinedConfig/ThemeState.d.ts +5 -1
- package/src/Redux/ActionsReducers/DashboardRedux.js +2 -1
- package/src/Redux/ActionsReducers/GridRedux.d.ts +3 -2
- package/src/Redux/ActionsReducers/GridRedux.js +2 -2
- package/src/Redux/ActionsReducers/LayoutRedux.d.ts +12 -2
- package/src/Redux/ActionsReducers/LayoutRedux.js +24 -1
- package/src/Redux/ActionsReducers/SystemRedux.js +1 -1
- package/src/Redux/DeadRedux.d.ts +4 -8
- package/src/Redux/Store/AdaptableReduxLocalStorageEngine.js +6 -1
- package/src/Redux/Store/AdaptableStore.d.ts +3 -3
- package/src/Redux/Store/AdaptableStore.js +25 -16
- package/src/Strategy/AdaptableModuleBase.d.ts +2 -2
- package/src/Strategy/AdaptableModuleBase.js +8 -8
- package/src/Strategy/AlertModule.d.ts +2 -2
- package/src/Strategy/AlertModule.js +13 -105
- package/src/Strategy/BulkUpdateModule.d.ts +2 -2
- package/src/Strategy/BulkUpdateModule.js +7 -7
- package/src/Strategy/CalculatedColumnModule.js +1 -1
- package/src/Strategy/CellSummaryModule.d.ts +2 -2
- package/src/Strategy/CellSummaryModule.js +3 -3
- package/src/Strategy/ConditionalStyleModule.js +3 -3
- package/src/Strategy/CustomSortModule.js +2 -2
- package/src/Strategy/DashboardModule.d.ts +2 -2
- package/src/Strategy/DataChangeHistoryModule.js +2 -2
- package/src/Strategy/ExportModule.d.ts +2 -4
- package/src/Strategy/ExportModule.js +59 -62
- package/src/Strategy/FilterModule.d.ts +2 -2
- package/src/Strategy/FilterModule.js +4 -4
- package/src/Strategy/FormatColumnModule.js +6 -6
- package/src/Strategy/FreeTextColumnModule.js +1 -1
- package/src/Strategy/GridInfoModule.d.ts +2 -2
- package/src/Strategy/Interface/IModule.d.ts +2 -2
- package/src/Strategy/LayoutModule.d.ts +2 -2
- package/src/Strategy/LayoutModule.js +22 -9
- package/src/Strategy/PlusMinusModule.js +8 -9
- package/src/Strategy/SmartEditModule.d.ts +2 -2
- package/src/Strategy/SmartEditModule.js +8 -9
- package/src/Strategy/SystemStatusModule.d.ts +2 -2
- package/src/Utilities/Constants/GeneralConstants.d.ts +1 -0
- package/src/Utilities/Constants/GeneralConstants.js +2 -1
- package/src/Utilities/Constants/ModuleConstants.d.ts +6 -6
- package/src/Utilities/Constants/ModuleConstants.js +7 -7
- package/src/Utilities/Defaults/DefaultAdaptableOptions.js +9 -7
- package/src/Utilities/ExpressionFunctions/booleanExpressionFunctions.js +1 -1
- package/src/Utilities/ExpressionFunctions/expressionFunctionUtils.js +2 -2
- package/src/Utilities/ExpressionFunctions/observableExpressionFunctions.js +3 -2
- package/src/Utilities/ExpressionFunctions/scalarExpressionFunctions.js +1 -1
- package/src/Utilities/Helpers/DateHelper.d.ts +2 -2
- package/src/Utilities/Helpers/DateHelper.js +30 -20
- package/src/Utilities/Helpers/PreviewHelper.js +2 -2
- package/src/Utilities/Interface/Preview.d.ts +2 -1
- package/src/Utilities/ObjectFactory.d.ts +1 -1
- package/src/Utilities/ObjectFactory.js +14 -2
- package/src/Utilities/Services/DataService.js +5 -5
- package/src/Utilities/Services/LicenseService.js +16 -2
- package/src/Utilities/Services/ReportService.js +13 -12
- package/src/Utilities/Services/ValidationService.js +4 -5
- package/src/Utilities/runIfNotResolvedIn.d.ts +8 -0
- package/src/Utilities/runIfNotResolvedIn.js +23 -0
- package/src/View/AdaptableView.js +1 -1
- package/src/View/AdaptableViewFactory.d.ts +2 -1
- package/src/View/AdaptableViewFactory.js +2 -0
- package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/ConfigurationForm.js +7 -7
- package/src/View/Alert/AlertPopup.js +1 -1
- package/src/View/Alert/Wizard/AlertDisplayWizardSection.js +19 -5
- package/src/View/Alert/Wizard/BaseAlertScopeWizardSection.js +1 -1
- package/src/View/BulkUpdate/BulkUpdatePopup.d.ts +2 -0
- package/src/View/BulkUpdate/BulkUpdatePopup.js +6 -4
- package/src/View/BulkUpdate/BulkUpdateViewPanel.d.ts +2 -0
- package/src/View/BulkUpdate/BulkUpdateViewPanel.js +3 -1
- package/src/View/CalculatedColumn/CalculatedColumnPopup.js +1 -1
- package/src/View/CalculatedColumn/CalculatedColumnSummary.js +1 -1
- package/src/View/CalculatedColumn/Wizard/CalculatedColumnSettingsWizardSection.js +1 -1
- package/src/View/CellSummary/CellSummaryViewPanel.js +2 -2
- package/src/View/Components/ColumnSelector/index.js +2 -2
- package/src/View/Components/FilterForm/FilterForm.d.ts +3 -51
- package/src/View/Components/FilterForm/FilterForm.js +57 -38
- package/src/View/Components/FilterForm/ListBoxFilterForm.d.ts +4 -1
- package/src/View/Components/FilterForm/ListBoxFilterForm.js +18 -9
- package/src/View/Components/FilterForm/QuickFilterForm.d.ts +3 -43
- package/src/View/Components/FilterForm/QuickFilterForm.js +74 -35
- package/src/View/Components/FilterForm/getDefaultColumnFilterPredicate.d.ts +3 -0
- package/src/View/Components/FilterForm/getDefaultColumnFilterPredicate.js +8 -0
- package/src/View/Components/NewScopeComponent.js +1 -1
- package/src/View/Components/Panels/FilterFormPanel.d.ts +1 -1
- package/src/View/Components/Panels/PanelWithImage.d.ts +423 -1
- package/src/View/Components/Popups/AdaptablePopup.d.ts +1 -1
- package/src/View/Components/Popups/AdaptablePopupAlert.js +23 -10
- package/src/View/Components/PreviewResultsPanel.js +1 -1
- package/src/View/Components/RangesComponent.js +2 -2
- package/src/View/Components/Selectors/ColumnSelector.js +5 -5
- package/src/View/Components/Selectors/ColumnValueSelector.d.ts +10 -2
- package/src/View/Components/Selectors/ColumnValueSelector.js +47 -15
- package/src/View/Components/ToolPanel/AdaptableToolPanel.js +10 -11
- package/src/View/Components/ToolPanel/CustomToolPanelContent.js +1 -1
- package/src/View/Components/ToolPanel/ToolPanelPopup.js +2 -3
- package/src/View/ConditionalStyle/ConditionalStylePopup.js +1 -1
- package/src/View/ConditionalStyle/ConditionalStyleSummary.js +1 -1
- package/src/View/CustomSort/CustomSortEntityRow.d.ts +3 -1
- package/src/View/CustomSort/CustomSortEntityRow.js +3 -3
- package/src/View/CustomSort/CustomSortPopup.js +2 -2
- package/src/View/CustomSort/CustomSortSummary.js +3 -3
- package/src/View/CustomSort/Wizard/CustomSortColumnWizardSection.js +4 -4
- package/src/View/CustomSort/Wizard/CustomSortValuesWizardSection.js +24 -6
- package/src/View/Dashboard/CustomToolbarWrapper.js +2 -1
- package/src/View/Dashboard/Dashboard.js +2 -3
- package/src/View/DataChangeHistory/DataChangeHistoryGrid.d.ts +1 -1
- package/src/View/DataChangeHistory/DataChangeHistoryGrid.js +11 -10
- package/src/View/DataChangeHistory/DataChangeHistoryPopup.js +6 -6
- package/src/View/Export/ExportCustomDestinationDialog.js +1 -1
- package/src/View/Export/ExportViewPanel.js +6 -6
- package/src/View/Filter/FilterSummary.js +2 -2
- package/src/View/FormatColumn/FormatColumnPopup.js +1 -1
- package/src/View/FormatColumn/FormatColumnSummary.js +1 -1
- package/src/View/FormatColumn/Wizard/FormatColumnFormatWizardSection.js +1 -1
- package/src/View/FreeTextColumn/FreeTextColumnPopup.js +4 -2
- package/src/View/FreeTextColumn/FreeTextColumnSummary.js +5 -3
- package/src/View/FreeTextColumn/Wizard/FreeTextColumnSettingsWizardSection.js +1 -1
- package/src/View/GridInfo/ColumnInfoComponent.js +16 -16
- package/src/View/GridInfo/GridInfoPopup.js +4 -1
- package/src/View/GridInfo/GridOptionsComponent.js +1 -1
- package/src/View/Layout/LayoutViewPanel.js +2 -2
- package/src/View/Layout/Wizard/LayoutEditor/ColumnList.js +6 -6
- package/src/View/Layout/Wizard/LayoutEditor/ColumnSortList.js +1 -1
- package/src/View/Layout/Wizard/LayoutEditor/PivotList.js +1 -1
- package/src/View/Layout/Wizard/LayoutEditor/RowGroupsList.js +1 -1
- package/src/View/Layout/Wizard/LayoutEditor/getItemStyle.js +2 -2
- package/src/View/Layout/Wizard/LayoutEditor/index.js +41 -41
- package/src/View/PlusMinus/PlusMinusPopup.js +1 -1
- package/src/View/PlusMinus/PlusMinusSummary.js +1 -1
- package/src/View/Query/QueryViewPanel.js +3 -3
- package/src/View/QuickSearch/useQuickSearchDebounced.js +2 -3
- package/src/View/Schedule/SchedulePopup.js +3 -3
- package/src/View/Schedule/Wizard/ScheduleSettingsWizard/ScheduleSettingsWizard.js +1 -1
- package/src/View/SmartEdit/SmartEditPopup.js +1 -1
- package/src/View/StateManagement/StateManagementPopup.d.ts +2 -12
- package/src/View/StateManagement/StateManagementPopup.js +21 -114
- package/src/View/StateManagement/StateManagementViewPanel.d.ts +5 -0
- package/src/View/StateManagement/StateManagementViewPanel.js +22 -0
- package/src/View/StateManagement/components/ClearButton.d.ts +6 -0
- package/src/View/StateManagement/components/ClearButton.js +9 -0
- package/src/View/StateManagement/components/ExportDropdown.d.ts +8 -0
- package/src/View/StateManagement/components/ExportDropdown.js +43 -0
- package/src/View/StateManagement/components/LoadButton.d.ts +7 -0
- package/src/View/StateManagement/components/LoadButton.js +38 -0
- package/src/View/StateManagement/handleExportState.d.ts +1 -0
- package/src/View/StateManagement/handleExportState.js +22 -0
- package/src/View/Theme/ThemeViewPanel.js +1 -1
- package/src/View/UIHelper.d.ts +2 -0
- package/src/View/UIHelper.js +10 -1
- package/src/agGrid/ActionColumnRenderer.d.ts +2 -1
- package/src/agGrid/ActionColumnRenderer.js +21 -4
- package/src/agGrid/Adaptable.d.ts +28 -11
- package/src/agGrid/Adaptable.js +326 -168
- package/src/agGrid/agGridHelper.d.ts +4 -4
- package/src/agGrid/agGridHelper.js +46 -46
- package/src/agGrid/agGridMenuHelper.d.ts +15 -13
- package/src/agGrid/agGridMenuHelper.js +55 -47
- package/src/agGrid/editors/AdaptableDateEditor/InternalAdaptableDateEditor.d.ts +1 -1
- package/src/agGrid/editors/AdaptableDateEditor/InternalAdaptableDateEditor.js +11 -6
- package/src/agGrid/editors/AdaptableDateEditor/index.d.ts +3 -2
- package/src/agGrid/editors/AdaptableDateEditor/index.js +16 -6
- package/src/agGrid/editors/AdaptableNumberEditor/index.d.ts +1 -0
- package/src/agGrid/editors/AdaptableNumberEditor/index.js +7 -2
- package/src/components/AdaptableFormComponent/AdaptableFormComponent.js +3 -3
- package/src/components/Dashboard/Dashboard.js +1 -1
- package/src/components/Datepicker/DatepickerContext.d.ts +2 -2
- package/src/components/Datepicker/index.js +9 -5
- package/src/components/DropdownButton/index.js +1 -1
- package/src/components/ExpressionEditor/index.js +7 -7
- package/src/components/Loader/Loader.d.ts +7 -0
- package/src/components/Loader/Loader.js +13 -0
- package/src/components/Loader/index.d.ts +2 -0
- package/src/components/Loader/index.js +7 -0
- package/src/components/Modal/index.d.ts +1 -1
- package/src/components/OverlayTrigger/index.js +3 -3
- package/src/components/OverlayTrigger/useAgGridClassName.d.ts +2 -0
- package/src/components/OverlayTrigger/{useVendorClassName.js → useAgGridClassName.js} +3 -3
- package/src/components/ProgressIndicator/ProgressIndicator.d.ts +2 -0
- package/src/components/ProgressIndicator/ProgressIndicator.js +54 -0
- package/src/components/icons/index.js +2 -0
- package/src/components/icons/upload.d.ts +3 -0
- package/src/components/icons/upload.js +8 -0
- package/src/metamodel/adaptable.metamodel.d.ts +176 -52
- package/src/metamodel/adaptable.metamodel.js +659 -366
- package/src/types.d.ts +5 -4
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/src/PredefinedConfig/DeprecatedState.d.ts +0 -82
- package/src/PredefinedConfig/DeprecatedState.js +0 -5
- package/src/Utilities/Interface/ProgressIndicator.d.ts +0 -4
- package/src/View/Export/ProgressIndicator.d.ts +0 -6
- package/src/View/Export/ProgressIndicator.js +0 -25
- package/src/components/OverlayTrigger/useVendorClassName.d.ts +0 -2
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
import { AlertButton, FlashingAlertProperties } from '../PredefinedConfig/AlertState';
|
|
1
|
+
import { AlertButton, AlertDefinition, FlashingAlertProperties } from '../PredefinedConfig/AlertState';
|
|
2
2
|
import { AdaptableAlert } from '../PredefinedConfig/Common/AdaptableAlert';
|
|
3
3
|
import { ButtonContext } from '../PredefinedConfig/Common/AdaptableButton';
|
|
4
4
|
import { AdaptableForm, AdaptableFormData } from '../PredefinedConfig/Common/AdaptableForm';
|
|
5
|
+
import { DataChangedInfo } from '../types';
|
|
5
6
|
/**
|
|
6
7
|
* Options related to Alerts, System Status Messages and Notifications in Adaptable.
|
|
7
8
|
*/
|
|
@@ -111,6 +112,15 @@ export interface NotificationsOptions {
|
|
|
111
112
|
* @gridInfoItem
|
|
112
113
|
*/
|
|
113
114
|
maxSystemMessagesInStore?: number;
|
|
115
|
+
/**
|
|
116
|
+
* Displays the application icon in Notifications (if provided in `UserInterfaceOptions`)
|
|
117
|
+
* @defaultValue false
|
|
118
|
+
*/
|
|
119
|
+
showApplicationIcon?: boolean;
|
|
120
|
+
/**
|
|
121
|
+
* Function providing Message to display in Alert; if empty, AdapTable provides dynamically
|
|
122
|
+
*/
|
|
123
|
+
alertMessageText?: (alertDefinition: AlertDefinition, dataChangedInfo?: DataChangedInfo) => string | undefined;
|
|
114
124
|
}
|
|
115
125
|
/**
|
|
116
126
|
* Handles a Form Button Action
|
|
@@ -49,9 +49,9 @@ export interface ToolPanelOptions {
|
|
|
49
49
|
/**
|
|
50
50
|
* Order of displayed ToolPanels in Sidebar
|
|
51
51
|
*
|
|
52
|
-
* @defaultValue ['filters', 'columns', '
|
|
52
|
+
* @defaultValue ['filters', 'columns', 'adaptable']
|
|
53
53
|
*/
|
|
54
|
-
toolPanelOrder?: ('
|
|
54
|
+
toolPanelOrder?: ('adaptable' | 'columns' | 'filters')[];
|
|
55
55
|
/**
|
|
56
56
|
* Display the Modules dropdown
|
|
57
57
|
*
|
|
@@ -6,6 +6,7 @@ import { AdaptableButton, ButtonContext } from '../PredefinedConfig/Common/Adapt
|
|
|
6
6
|
import { RowNode } from '@ag-grid-community/all-modules';
|
|
7
7
|
import { AdaptableObject } from '../PredefinedConfig/Common/AdaptableObject';
|
|
8
8
|
import { AdaptableStyle } from '../PredefinedConfig/Common/AdaptableStyle';
|
|
9
|
+
import { AdaptableApi, GridCell } from '../../types';
|
|
9
10
|
/**
|
|
10
11
|
* Options for managing the User Interface of AdapTable
|
|
11
12
|
*/
|
|
@@ -30,11 +31,27 @@ export interface UserInterfaceOptions {
|
|
|
30
31
|
/**
|
|
31
32
|
* List of values which are permitted (e.g. to show in filter)
|
|
32
33
|
*/
|
|
33
|
-
permittedValues?:
|
|
34
|
+
permittedValues?: PermittedValues[];
|
|
34
35
|
/**
|
|
35
|
-
* Dropdown values displayed when column is being edited
|
|
36
|
+
* Dropdown values displayed when column is being edited.
|
|
37
|
+
* When not defined it defaults to permittedValues.
|
|
36
38
|
*/
|
|
37
|
-
editLookUpItems?:
|
|
39
|
+
editLookUpItems?: EditLookUpPermittedValues[];
|
|
40
|
+
/**
|
|
41
|
+
* Dropdown values for filter options inside floating and header filter.
|
|
42
|
+
* When not defined it defaults to permittedValues.
|
|
43
|
+
*/
|
|
44
|
+
filterPermittedValues?: FilterPermittedValues[];
|
|
45
|
+
/**
|
|
46
|
+
* Custom column values for defining custom sort.
|
|
47
|
+
* When not defined it defaults to permittedValues.
|
|
48
|
+
*/
|
|
49
|
+
customSortPermittedValues?: CustomSortPermittedValues[];
|
|
50
|
+
/**
|
|
51
|
+
* Custom column values for editing via bulk-update.
|
|
52
|
+
* When not defined it defaults to permittedValues.
|
|
53
|
+
*/
|
|
54
|
+
bulkUpdatePermittedValues?: BulkUpdatePermittedValues[];
|
|
38
55
|
/**
|
|
39
56
|
* Colours to display in Colour Picker (in place of AdapTable's default set)
|
|
40
57
|
*/
|
|
@@ -65,16 +82,55 @@ export interface UserInterfaceOptions {
|
|
|
65
82
|
*/
|
|
66
83
|
showDocumentationLinks?: boolean;
|
|
67
84
|
}
|
|
68
|
-
export interface
|
|
85
|
+
export interface BasePermittedValues {
|
|
69
86
|
/**
|
|
70
87
|
* Scope where Values will appear (Mandatory property)
|
|
71
88
|
*/
|
|
72
89
|
scope: AdaptableScope;
|
|
90
|
+
}
|
|
91
|
+
/**
|
|
92
|
+
* Permitted/possible values, when column values can be selected (e.g. sort, bulk-update)
|
|
93
|
+
*/
|
|
94
|
+
export interface PermittedValues extends BasePermittedValues {
|
|
73
95
|
/**
|
|
74
96
|
* Values to display: either hardcoded list or a function
|
|
75
97
|
*/
|
|
76
|
-
values?: any[] | ((
|
|
98
|
+
values?: any[] | ((params: PermittedValuesParams) => any[]);
|
|
99
|
+
}
|
|
100
|
+
/**
|
|
101
|
+
* Used to define permitted values for inline column editor
|
|
102
|
+
*/
|
|
103
|
+
export interface EditLookUpPermittedValues extends BasePermittedValues {
|
|
104
|
+
values?: any[] | ((params: EditLookUpParams) => any[]);
|
|
105
|
+
}
|
|
106
|
+
/**
|
|
107
|
+
* Used to define values inside the floating filter and floating filter (quick filter)
|
|
108
|
+
*/
|
|
109
|
+
export interface FilterPermittedValues extends BasePermittedValues {
|
|
110
|
+
/**
|
|
111
|
+
* Prevents AdapTable from filtering the list of values client-side; When true, values is called each time the search bar is changed
|
|
112
|
+
* @default false
|
|
113
|
+
*/
|
|
114
|
+
suppressFilterSearchBar?: boolean;
|
|
115
|
+
values: (params: FilterPermittedValuesParams) => any[] | Promise<any[]>;
|
|
116
|
+
}
|
|
117
|
+
/**
|
|
118
|
+
* Custom column values for custom sort.
|
|
119
|
+
*/
|
|
120
|
+
export interface CustomSortPermittedValues extends BasePermittedValues {
|
|
121
|
+
values: (params: PermittedValuesParams) => any[] | Promise<any[]>;
|
|
122
|
+
}
|
|
123
|
+
/**
|
|
124
|
+
* User to define permitted values when updating cells via bulk update
|
|
125
|
+
*/
|
|
126
|
+
export interface BulkUpdatePermittedValues extends BasePermittedValues {
|
|
127
|
+
values: (params: BulkUpdatePermittedValuesParams) => any[] | Promise<any[]>;
|
|
77
128
|
}
|
|
129
|
+
/**
|
|
130
|
+
* Use PermittedValues instead
|
|
131
|
+
* @deprecated
|
|
132
|
+
*/
|
|
133
|
+
export declare type CellValuesList = PermittedValues;
|
|
78
134
|
/**
|
|
79
135
|
* A Special Column that wraps an AdapTable Button
|
|
80
136
|
*/
|
|
@@ -95,6 +151,10 @@ export interface ActionColumn extends AdaptableObject {
|
|
|
95
151
|
* Shows Action Column also in grouped rows
|
|
96
152
|
*/
|
|
97
153
|
includeGroupedRows?: boolean;
|
|
154
|
+
/**
|
|
155
|
+
* Additional optional properties for Column (e.g. filterable, resizable)
|
|
156
|
+
*/
|
|
157
|
+
actionColumnSettings?: ActionColumnSettings;
|
|
98
158
|
}
|
|
99
159
|
/**
|
|
100
160
|
* Context required by functions when using an Action Column Button
|
|
@@ -109,7 +169,49 @@ export interface ActionColumnButtonContext extends ButtonContext {
|
|
|
109
169
|
*/
|
|
110
170
|
primaryKeyValue: any;
|
|
111
171
|
/**
|
|
112
|
-
* Current Row Node
|
|
172
|
+
* Current AG Grid Row Node
|
|
113
173
|
*/
|
|
114
174
|
rowNode: RowNode;
|
|
115
175
|
}
|
|
176
|
+
/**
|
|
177
|
+
* Set of optional properties that define an Action Columns behaviour
|
|
178
|
+
*/
|
|
179
|
+
export interface ActionColumnSettings {
|
|
180
|
+
/**
|
|
181
|
+
* Preferred width (in pixels) for Column; if unset, calculated dynamically by AG Grid
|
|
182
|
+
*/
|
|
183
|
+
width?: number;
|
|
184
|
+
/**
|
|
185
|
+
* Whether Column can be resized (by dragging column header edges)
|
|
186
|
+
* @defaultValue true
|
|
187
|
+
*/
|
|
188
|
+
resizable?: boolean;
|
|
189
|
+
/**
|
|
190
|
+
* Whether no menu should be shown for this Column header.
|
|
191
|
+
* @defaultValue false
|
|
192
|
+
*/
|
|
193
|
+
suppressMenu?: boolean;
|
|
194
|
+
/**
|
|
195
|
+
* Whether if this Column should be movable via dragging
|
|
196
|
+
* @defaultValue false
|
|
197
|
+
*/
|
|
198
|
+
suppressMovable?: boolean;
|
|
199
|
+
}
|
|
200
|
+
export interface BaseParams {
|
|
201
|
+
adaptableApi: AdaptableApi;
|
|
202
|
+
}
|
|
203
|
+
export interface EditLookUpParams extends BaseParams {
|
|
204
|
+
column: AdaptableColumn;
|
|
205
|
+
gridCell: GridCell;
|
|
206
|
+
}
|
|
207
|
+
export interface PermittedValuesParams extends BaseParams {
|
|
208
|
+
column: AdaptableColumn;
|
|
209
|
+
}
|
|
210
|
+
export interface FilterPermittedValuesParams extends BaseParams {
|
|
211
|
+
column: AdaptableColumn;
|
|
212
|
+
filter: string;
|
|
213
|
+
}
|
|
214
|
+
export interface BulkUpdatePermittedValuesParams extends BaseParams {
|
|
215
|
+
column: AdaptableColumn;
|
|
216
|
+
gridCells: GridCell[];
|
|
217
|
+
}
|
|
@@ -65,14 +65,14 @@ export interface AdaptableApi {
|
|
|
65
65
|
* Provides a number of column-related methods
|
|
66
66
|
*/
|
|
67
67
|
columnApi: ColumnApi;
|
|
68
|
-
/**
|
|
69
|
-
* Methods giving access to Adaptable State
|
|
70
|
-
*/
|
|
71
|
-
configApi: ConfigApi;
|
|
72
68
|
/**
|
|
73
69
|
* Provides access to the Conditional Style Module
|
|
74
70
|
*/
|
|
75
71
|
conditionalStyleApi: ConditionalStyleApi;
|
|
72
|
+
/**
|
|
73
|
+
* Methods giving access to Adaptable State
|
|
74
|
+
*/
|
|
75
|
+
configApi: ConfigApi;
|
|
76
76
|
/**
|
|
77
77
|
* Provides access to the Custom Sort Module
|
|
78
78
|
*/
|
|
@@ -81,6 +81,10 @@ export interface AdaptableApi {
|
|
|
81
81
|
* Provides access to the Dashboard
|
|
82
82
|
*/
|
|
83
83
|
dashboardApi: DashboardApi;
|
|
84
|
+
/**
|
|
85
|
+
* Provides run-time access to the Data Change History Module
|
|
86
|
+
**/
|
|
87
|
+
dataChangeHistoryApi: DataChangeHistoryApi;
|
|
84
88
|
/**
|
|
85
89
|
* Provides access to the Data Source Module
|
|
86
90
|
*/
|
|
@@ -161,6 +165,10 @@ export interface AdaptableApi {
|
|
|
161
165
|
* Methods related to displaying System Status and application health messages
|
|
162
166
|
*/
|
|
163
167
|
systemStatusApi: SystemStatusApi;
|
|
168
|
+
/**
|
|
169
|
+
* Functions related to run-time Team Sharing of AdapTable objects between colleagues
|
|
170
|
+
*/
|
|
171
|
+
teamSharingApi: TeamSharingApi;
|
|
164
172
|
/**
|
|
165
173
|
* Api methods related to Theme management
|
|
166
174
|
*/
|
|
@@ -173,14 +181,6 @@ export interface AdaptableApi {
|
|
|
173
181
|
* Manages User Interface Options where colours, styles and permitted values are configured
|
|
174
182
|
*/
|
|
175
183
|
userInterfaceApi: UserInterfaceApi;
|
|
176
|
-
/**
|
|
177
|
-
* Functions related to run-time Team Sharing of AdapTable objects between colleagues
|
|
178
|
-
*/
|
|
179
|
-
teamSharingApi: TeamSharingApi;
|
|
180
|
-
/**
|
|
181
|
-
* Provides run-time access to the Data Change History Module
|
|
182
|
-
**/
|
|
183
|
-
dataChangeHistoryApi: DataChangeHistoryApi;
|
|
184
184
|
/**
|
|
185
185
|
* Api methods used *internally* within AdapTable.
|
|
186
186
|
*/
|
package/src/Api/AlertApi.d.ts
CHANGED
|
@@ -241,7 +241,7 @@ export interface AlertApi {
|
|
|
241
241
|
* Returns a description of an Alert Definition
|
|
242
242
|
* @param alertDefinition Alert Definition to use
|
|
243
243
|
*/
|
|
244
|
-
getAlertDescription(alertDefinition: AlertDefinition): string;
|
|
244
|
+
getAlertDescription(alertDefinition: AlertDefinition, dataChangedInfo?: DataChangedInfo): string;
|
|
245
245
|
/**
|
|
246
246
|
* Returns a description of an Alert Definition's Rule
|
|
247
247
|
* @param alertDefinition Alert Definition to use
|
|
@@ -63,4 +63,19 @@ export interface CalculatedColumnApi {
|
|
|
63
63
|
* @param calculatedColumn CalculatedColumn to be checked
|
|
64
64
|
*/
|
|
65
65
|
getCalculatedColumnModuleReferences(calculatedColumn: CalculatedColumn): string[];
|
|
66
|
+
/**
|
|
67
|
+
* Returns all Calculated Columns whose Expression contains the ColumnId
|
|
68
|
+
* @param columnId ColumnId to check
|
|
69
|
+
*/
|
|
70
|
+
getCalculatedColumnsReferencingColumnId(columnId: string): CalculatedColumn[];
|
|
71
|
+
/**
|
|
72
|
+
* Gets any ColumnIds referenced in a Calculated Column
|
|
73
|
+
* @param calculatedColumn Calculated Column to check
|
|
74
|
+
*/
|
|
75
|
+
getReferencedColumnIdsForCalculatedColumn(calculatedColumn: CalculatedColumn): string[];
|
|
76
|
+
/**
|
|
77
|
+
* Gets any ColumnIds referenced in a Calculated Column
|
|
78
|
+
* @param calculatedColumnId CalculatedColumnId to check
|
|
79
|
+
*/
|
|
80
|
+
getReferencedColumnIdsForCalculatedColumnId(calculatedColumnId: string): string[];
|
|
66
81
|
}
|
package/src/Api/ColumnApi.d.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { AdaptableColumn } from '../PredefinedConfig/Common/AdaptableColumn';
|
|
2
2
|
import { DataType } from '../PredefinedConfig/Common/Enums';
|
|
3
|
-
import { RowNode } from '@ag-grid-community/all-modules';
|
|
3
|
+
import { Column, RowNode } from '@ag-grid-community/all-modules';
|
|
4
|
+
import { GridCell } from '../../types';
|
|
4
5
|
/**
|
|
5
6
|
* A large range of column-related functions in AdapTable
|
|
6
7
|
*/
|
|
@@ -13,7 +14,7 @@ export interface ColumnApi {
|
|
|
13
14
|
* Retrieves 'ColumnType' property for a given Column
|
|
14
15
|
* @param columnId Colmun to use
|
|
15
16
|
*/
|
|
16
|
-
|
|
17
|
+
getAgGridColumnType(columnId: string): string | string[];
|
|
17
18
|
/**
|
|
18
19
|
* Returns all visible Columns
|
|
19
20
|
* */
|
|
@@ -131,6 +132,10 @@ export interface ColumnApi {
|
|
|
131
132
|
* @param columnId Column to check
|
|
132
133
|
*/
|
|
133
134
|
isNumericColumn(column: AdaptableColumn): boolean;
|
|
135
|
+
/**
|
|
136
|
+
* Is Column Boolean
|
|
137
|
+
* @param columnId Column to check
|
|
138
|
+
*/
|
|
134
139
|
isBooleanColumn(column: AdaptableColumn): boolean;
|
|
135
140
|
/**
|
|
136
141
|
* Is Column a Date
|
|
@@ -205,6 +210,26 @@ export interface ColumnApi {
|
|
|
205
210
|
* @param columnId Column to check
|
|
206
211
|
*/
|
|
207
212
|
getDistinctDisplayValuesForColumn(columnId: string): any[];
|
|
213
|
+
/**
|
|
214
|
+
* Gets all distinct display values in for filter column, used for Floating Filter and Column Header filter
|
|
215
|
+
* @param columnId Column to check
|
|
216
|
+
* @param columnFilter Current applied filter
|
|
217
|
+
*/
|
|
218
|
+
getDistinctFilterDisplayValuesForColumn(columnId: string, filter: string): Promise<{
|
|
219
|
+
values: any[];
|
|
220
|
+
suppressClientSideFilter: boolean;
|
|
221
|
+
}>;
|
|
222
|
+
/**
|
|
223
|
+
* Gets all distinct column display values in for custom sort.
|
|
224
|
+
* @param columnId Column to check
|
|
225
|
+
*/
|
|
226
|
+
getDistinctCustomSortDisplayValuesForColumn(columnId: string): Promise<any[]>;
|
|
227
|
+
/**
|
|
228
|
+
* Gets all distinct column display values for bulk update.
|
|
229
|
+
* @param columnId Column to check
|
|
230
|
+
* @param selectedGridCells Selected grid cells
|
|
231
|
+
*/
|
|
232
|
+
getDistinctBulkUpdateDisplayValuesForColumn(columnId: string, selectedGridCells: GridCell[]): Promise<any[]>;
|
|
208
233
|
/**
|
|
209
234
|
* Gets all distinct visible display values in the Column
|
|
210
235
|
* @param columnId Column to check
|
|
@@ -230,10 +255,29 @@ export interface ColumnApi {
|
|
|
230
255
|
*/
|
|
231
256
|
getAllColumnFriendlyNames(): string[];
|
|
232
257
|
/**
|
|
233
|
-
* Retrieves
|
|
234
|
-
* @param columnId
|
|
258
|
+
* Retrieves AG Grid's field property for the column
|
|
259
|
+
* @param columnId columnId to look up
|
|
260
|
+
*/
|
|
261
|
+
getAgGridColumnFieldForAdaptableColumn(columnId: string): string;
|
|
262
|
+
/**
|
|
263
|
+
* Retrieves AG Grid's column for an Adaptable column
|
|
264
|
+
* @param columnId columnId to look up
|
|
265
|
+
*/
|
|
266
|
+
getAgGridColumnForAdaptableColumn(columnId: string): Column;
|
|
267
|
+
/**
|
|
268
|
+
* Does Column use AdapTable's Filter Form
|
|
269
|
+
* @param columnId Column to Check
|
|
235
270
|
*/
|
|
236
|
-
getVendorGridColumnFieldForColumn(columnId: string): string;
|
|
237
271
|
usesAdaptableFilterForm(columnId: string): boolean;
|
|
272
|
+
/**
|
|
273
|
+
* Does Column use AdapTable's Quick Filter
|
|
274
|
+
* @param columnId Column to Check
|
|
275
|
+
*/
|
|
238
276
|
usesAdaptableQuickFilter(columnId: string): boolean;
|
|
277
|
+
/**
|
|
278
|
+
* Checks if a column is referenced in a given Expression
|
|
279
|
+
* @param columnId Column to Check
|
|
280
|
+
* @param expression Expression to Lookup
|
|
281
|
+
*/
|
|
282
|
+
isColumnReferencedInExpression(columnId: string, expression: string): boolean;
|
|
239
283
|
}
|
package/src/Api/ConfigApi.d.ts
CHANGED
|
@@ -94,6 +94,10 @@ export interface ConfigApi {
|
|
|
94
94
|
* @param returnJson whether to return section as JSON or object
|
|
95
95
|
*/
|
|
96
96
|
getUserStateByStateKey(stateKey: AdaptableStateKey, returnJson: boolean): ConfigState | string;
|
|
97
|
+
/**
|
|
98
|
+
* Adds '1' to current revision number of State element
|
|
99
|
+
* @param stateKey Adaptable State Key to update
|
|
100
|
+
*/
|
|
97
101
|
incrementUerStateRevision(stateKey: AdaptableStateKey): void;
|
|
98
102
|
/**
|
|
99
103
|
* Returns Alert section of Adaptable State
|
|
@@ -200,5 +204,9 @@ export interface ConfigApi {
|
|
|
200
204
|
* @param returnJson return as JSON rather than object
|
|
201
205
|
*/
|
|
202
206
|
getToolPanelState(returnJson: boolean): ToolPanelState;
|
|
207
|
+
/**
|
|
208
|
+
* Sent by each Module when it is Ready
|
|
209
|
+
* @param module Module which is Ready
|
|
210
|
+
*/
|
|
203
211
|
dispatchStateReadyAction(module: AdaptableModule): void;
|
|
204
212
|
}
|
package/src/Api/EventApi.d.ts
CHANGED
|
@@ -196,7 +196,7 @@ export interface EventApi {
|
|
|
196
196
|
/**
|
|
197
197
|
* Fired when Adaptable is up and running - has no arguments.
|
|
198
198
|
* @param eventName AdaptableReady - use as: adaptableApi.eventApi.on('AdaptableReady', (adaptableReadyInfo: AdaptableReadyInfo) => { .....[do stuff]...})
|
|
199
|
-
* @param callback An `AdaptableReadyInfo` object which contains the adaptableApi and
|
|
199
|
+
* @param callback An `AdaptableReadyInfo` object which contains the adaptableApi and GridOptions
|
|
200
200
|
* @returns the unsubscribe function
|
|
201
201
|
*/
|
|
202
202
|
on(eventName: 'AdaptableReady', callback: (adaptableReadyInfo: AdaptableReadyInfo) => void): VoidFunction;
|
|
@@ -1,14 +1,11 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { GridOptions } from '@ag-grid-community/all-modules';
|
|
2
|
+
import { BaseEventInfo } from './BaseEventInfo';
|
|
2
3
|
/**
|
|
3
4
|
* Object returned by `AdaptableReady` event - fired when AdapTable has loaded
|
|
4
5
|
*/
|
|
5
|
-
export interface AdaptableReadyInfo {
|
|
6
|
+
export interface AdaptableReadyInfo extends BaseEventInfo {
|
|
6
7
|
/**
|
|
7
|
-
*
|
|
8
|
+
* Underlying AG Grid instance
|
|
8
9
|
*/
|
|
9
|
-
|
|
10
|
-
/**
|
|
11
|
-
* Adaptable API object used for runtime programmatic access to AdapTable
|
|
12
|
-
*/
|
|
13
|
-
adaptableApi: AdaptableApi;
|
|
10
|
+
gridOptions: GridOptions;
|
|
14
11
|
}
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import * as Redux from 'redux';
|
|
2
2
|
import { AdaptableState } from '../../PredefinedConfig/AdaptableState';
|
|
3
|
+
import { BaseEventInfo } from './BaseEventInfo';
|
|
3
4
|
/**
|
|
4
5
|
* Object returned by the `AdaptableStateChanged` event
|
|
5
6
|
*/
|
|
6
|
-
export interface AdaptableStateChangedInfo {
|
|
7
|
+
export interface AdaptableStateChangedInfo extends BaseEventInfo {
|
|
7
8
|
/**
|
|
8
9
|
* Name of the Action
|
|
9
10
|
*/
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import { AdaptableAlert } from '../../PredefinedConfig/Common/AdaptableAlert';
|
|
2
|
+
import { BaseEventInfo } from './BaseEventInfo';
|
|
2
3
|
/**
|
|
3
4
|
* Object returned by the `AlertFired` event
|
|
4
5
|
*/
|
|
5
|
-
export interface AlertFiredInfo {
|
|
6
|
+
export interface AlertFiredInfo extends BaseEventInfo {
|
|
6
7
|
/**
|
|
7
8
|
* Alert which has been fired
|
|
8
9
|
*/
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { AdaptableApi } from '../AdaptableApi';
|
|
2
|
+
/**
|
|
3
|
+
* Base Object returned by all events - contains the Adaptable API
|
|
4
|
+
*/
|
|
5
|
+
export interface BaseEventInfo {
|
|
6
|
+
/**
|
|
7
|
+
* Adaptable API object used for runtime programmatic access to AdapTable
|
|
8
|
+
*/
|
|
9
|
+
adaptableApi: AdaptableApi;
|
|
10
|
+
}
|
|
File without changes
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import { DataChangedInfo } from '../../PredefinedConfig/Common/DataChangedInfo';
|
|
2
|
+
import { BaseEventInfo } from './BaseEventInfo';
|
|
2
3
|
/**
|
|
3
4
|
* EventInfo returned by CellChanged event
|
|
4
5
|
*/
|
|
5
|
-
export interface CellChangedInfo {
|
|
6
|
+
export interface CellChangedInfo extends BaseEventInfo {
|
|
6
7
|
/**
|
|
7
8
|
* Object providing full information of the cell (and column and row) that changed
|
|
8
9
|
*/
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import { AdaptableColumn } from '../../PredefinedConfig/Common/AdaptableColumn';
|
|
2
|
+
import { BaseEventInfo } from './BaseEventInfo';
|
|
2
3
|
/**
|
|
3
4
|
* Event Info published by CheckboxColumnClicked event
|
|
4
5
|
*/
|
|
5
|
-
export interface CheckboxColumnClickedInfo {
|
|
6
|
+
export interface CheckboxColumnClickedInfo extends BaseEventInfo {
|
|
6
7
|
/**
|
|
7
8
|
* Name of Column where Checkbox was clicked
|
|
8
9
|
*/
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import { CustomToolbar } from '../../AdaptableOptions/DashboardOptions';
|
|
2
|
+
import { BaseEventInfo } from './BaseEventInfo';
|
|
2
3
|
/**
|
|
3
4
|
* EventInfo returned by the CustomToolbarConfigured event
|
|
4
5
|
*/
|
|
5
|
-
export interface CustomToolbarConfiguredInfo {
|
|
6
|
+
export interface CustomToolbarConfiguredInfo extends BaseEventInfo {
|
|
6
7
|
/**
|
|
7
8
|
* Custom Toolbar in which the 'Configure' button has been clicked
|
|
8
9
|
*/
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import { DashboardState } from '../../PredefinedConfig/DashboardState';
|
|
2
|
+
import { BaseEventInfo } from './BaseEventInfo';
|
|
2
3
|
/**
|
|
3
4
|
* Object returned by the `DashboardChanged` event
|
|
4
5
|
*/
|
|
5
|
-
export interface DashboardChangedInfo {
|
|
6
|
+
export interface DashboardChangedInfo extends BaseEventInfo {
|
|
6
7
|
/**
|
|
7
8
|
* What caused Dashboard State to change
|
|
8
9
|
*/
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import { AdaptableFlashingAlert } from '../../PredefinedConfig/Common/AdaptableFlashingAlert';
|
|
2
|
+
import { BaseEventInfo } from './BaseEventInfo';
|
|
2
3
|
/**
|
|
3
4
|
* Object returned by the `FlashingAlertFired` event
|
|
4
5
|
*/
|
|
5
|
-
export interface FlashingAlertFiredInfo {
|
|
6
|
+
export interface FlashingAlertFiredInfo extends BaseEventInfo {
|
|
6
7
|
/**
|
|
7
8
|
* FlashingAlert which has been fired
|
|
8
9
|
*/
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
+
import { BaseEventInfo } from './BaseEventInfo';
|
|
1
2
|
/**
|
|
2
3
|
* EventInfo returned by GridDataChanged event
|
|
3
4
|
*/
|
|
4
|
-
export interface GridDataChangedInfo {
|
|
5
|
+
export interface GridDataChangedInfo extends BaseEventInfo {
|
|
5
6
|
/**
|
|
6
7
|
* Rows that have been added, updated, or deleted
|
|
7
8
|
*/
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import { LayoutState } from '../../PredefinedConfig/LayoutState';
|
|
2
|
+
import { BaseEventInfo } from './BaseEventInfo';
|
|
2
3
|
/**
|
|
3
4
|
* EventInfo returned by LayoutChanged event
|
|
4
5
|
*/
|
|
5
|
-
export interface LayoutChangedInfo {
|
|
6
|
+
export interface LayoutChangedInfo extends BaseEventInfo {
|
|
6
7
|
/**
|
|
7
8
|
* What caused Layout State to change
|
|
8
9
|
*/
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import { Report } from '../../PredefinedConfig/ExportState';
|
|
2
|
+
import { BaseEventInfo } from './BaseEventInfo';
|
|
2
3
|
/**
|
|
3
4
|
* EventInfo returned by LiveDataChanged event
|
|
4
5
|
*/
|
|
5
|
-
export interface LiveDataChangedInfo {
|
|
6
|
+
export interface LiveDataChangedInfo extends BaseEventInfo {
|
|
6
7
|
/**
|
|
7
8
|
* Which Adaptable partner is the export destination for the live data
|
|
8
9
|
*/
|
|
@@ -2,10 +2,11 @@ import { DataSource } from '../../PredefinedConfig/DataSourceState';
|
|
|
2
2
|
import { CustomSort } from '../../PredefinedConfig/CustomSortState';
|
|
3
3
|
import { ColumnSort } from '../../PredefinedConfig/Common/ColumnSort';
|
|
4
4
|
import { ColumnFilter } from '../../PredefinedConfig/FilterState';
|
|
5
|
+
import { BaseEventInfo } from './BaseEventInfo';
|
|
5
6
|
/**
|
|
6
7
|
* EventInfo returned by SearchChanged event; includes full AdapTable search and sort info plus the event's trigger
|
|
7
8
|
*/
|
|
8
|
-
export interface SearchChangedInfo {
|
|
9
|
+
export interface SearchChangedInfo extends BaseEventInfo {
|
|
9
10
|
/**
|
|
10
11
|
* What action caused event to fire: DataSource, CurrentQuery, Filter, DataChange or Sort
|
|
11
12
|
*/
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import { SelectedCellInfo } from '../../PredefinedConfig/Selection/SelectedCellInfo';
|
|
2
2
|
import { SelectedRowInfo } from '../../PredefinedConfig/Selection/SelectedRowInfo';
|
|
3
|
+
import { BaseEventInfo } from './BaseEventInfo';
|
|
3
4
|
/**
|
|
4
5
|
* Event Info published by SelectionChanged event
|
|
5
6
|
*/
|
|
6
|
-
export interface SelectionChangedInfo {
|
|
7
|
+
export interface SelectionChangedInfo extends BaseEventInfo {
|
|
7
8
|
/**
|
|
8
9
|
* Details of cells currently selected in the Grid
|
|
9
10
|
*/
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import { SystemStatusMessageInfo } from '../../PredefinedConfig/Common/SystemStatusMessageInfo';
|
|
2
|
+
import { BaseEventInfo } from './BaseEventInfo';
|
|
2
3
|
/**
|
|
3
4
|
* Object returned by the `SystemStatusMessageDisplayed' event
|
|
4
5
|
*/
|
|
5
|
-
export interface SystemStatusMessageDisplayedInfo {
|
|
6
|
+
export interface SystemStatusMessageDisplayedInfo extends BaseEventInfo {
|
|
6
7
|
/**
|
|
7
8
|
* Details of the System Status Message and Type
|
|
8
9
|
*/
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import { SharedEntity } from '../../PredefinedConfig/TeamSharingState';
|
|
2
|
+
import { BaseEventInfo } from './BaseEventInfo';
|
|
2
3
|
/**
|
|
3
4
|
* EventInfo returned by TeamSharingEntityChanged event
|
|
4
5
|
*/
|
|
5
|
-
export interface TeamSharingEntityChangedInfo {
|
|
6
|
+
export interface TeamSharingEntityChangedInfo extends BaseEventInfo {
|
|
6
7
|
/**
|
|
7
8
|
* Object containing the Shared Entity that has changed
|
|
8
9
|
*/
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import { AdaptableTheme } from '../../PredefinedConfig/ThemeState';
|
|
2
|
+
import { BaseEventInfo } from './BaseEventInfo';
|
|
2
3
|
/**
|
|
3
4
|
* Object returned by the `ThemeChanged` event
|
|
4
5
|
*/
|
|
5
|
-
export interface ThemeChangedInfo {
|
|
6
|
+
export interface ThemeChangedInfo extends BaseEventInfo {
|
|
6
7
|
/**
|
|
7
8
|
* Selected Theme: either name of a (System) theme or the (Custom) Theme itself
|
|
8
9
|
*/
|