@adaptabletools/adaptable 10.0.4-canary.4 → 11.0.0-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/agGrid.d.ts +2 -2
- package/base.css +216 -47
- package/bundle.cjs.js +118 -113
- package/index.css +257 -49
- package/package.json +4 -3
- package/publishTimestamp.d.ts +1 -1
- package/publishTimestamp.js +1 -1
- package/src/AdaptableInterfaces/IAdaptable.d.ts +12 -7
- package/src/AdaptableOptions/AdaptableOptions.d.ts +19 -3
- package/src/AdaptableOptions/ContainerOptions.d.ts +0 -7
- package/src/AdaptableOptions/DashboardOptions.d.ts +7 -9
- package/src/AdaptableOptions/DataChangeHistoryOptions.d.ts +2 -2
- package/src/AdaptableOptions/EditOptions.d.ts +2 -2
- package/src/AdaptableOptions/ExportOptions.d.ts +1 -1
- package/src/AdaptableOptions/FilterOptions.d.ts +2 -2
- package/src/AdaptableOptions/FinancePluginOptions.d.ts +1 -1
- package/src/AdaptableOptions/FlashingCellOptions.d.ts +31 -0
- package/src/AdaptableOptions/{ChartPluginOptions.js → FlashingCellOptions.js} +0 -0
- package/src/AdaptableOptions/GeneralOptions.d.ts +1 -1
- package/src/AdaptableOptions/MenuOptions.d.ts +2 -2
- package/src/AdaptableOptions/NotificationsOptions.d.ts +2 -8
- package/src/AdaptableOptions/SettingsPanelOptions.d.ts +87 -0
- package/src/{Api/ChartApi.js → AdaptableOptions/SettingsPanelOptions.js} +0 -0
- package/src/AdaptableOptions/TeamSharingOptions.d.ts +1 -1
- package/src/AdaptableOptions/ToolPanelOptions.d.ts +0 -14
- package/src/AdaptableOptions/UserInterfaceOptions.d.ts +34 -0
- package/src/Api/AdaptableApi.d.ts +9 -7
- package/src/Api/AlertApi.d.ts +4 -79
- package/src/Api/ChartingApi.d.ts +9 -0
- package/src/Api/{Events/FlashingAlertFired.js → ChartingApi.js} +0 -0
- package/src/Api/ColumnApi.d.ts +11 -1
- package/src/Api/ConfigApi.d.ts +0 -12
- package/src/Api/DataChangeHistoryApi.d.ts +4 -0
- package/src/Api/EventApi.d.ts +8 -8
- package/src/Api/Events/AdaptableReady.d.ts +1 -1
- package/src/Api/Events/FlashingCellDisplayed.d.ts +11 -0
- package/src/Api/{SparklineColumnApi.js → Events/FlashingCellDisplayed.js} +0 -0
- package/src/Api/Events/GridDataChanged.d.ts +3 -1
- package/src/Api/Events/SearchChanged.d.ts +1 -1
- package/src/Api/FlashingCellApi.d.ts +89 -0
- package/src/{PredefinedConfig/ChartState.js → Api/FlashingCellApi.js} +0 -0
- package/src/Api/GridApi.d.ts +28 -5
- package/src/Api/Implementation/AdaptableApiImpl.d.ts +4 -2
- package/src/Api/Implementation/AdaptableApiImpl.js +4 -2
- package/src/Api/Implementation/AlertApiImpl.d.ts +8 -22
- package/src/Api/Implementation/AlertApiImpl.js +40 -107
- package/src/Api/Implementation/CalculatedColumnApiImpl.js +1 -1
- package/src/Api/Implementation/ChartingApiImpl.d.ts +5 -0
- package/src/Api/Implementation/ChartingApiImpl.js +10 -0
- package/src/Api/Implementation/ColumnApiImpl.d.ts +3 -1
- package/src/Api/Implementation/ColumnApiImpl.js +9 -3
- package/src/Api/Implementation/ConfigApiImpl.d.ts +0 -4
- package/src/Api/Implementation/ConfigApiImpl.js +0 -21
- package/src/Api/Implementation/DataChangeHistoryApiImpl.d.ts +1 -0
- package/src/Api/Implementation/DataChangeHistoryApiImpl.js +5 -0
- package/src/Api/Implementation/FlashingCellApiImpl.d.ts +24 -0
- package/src/Api/Implementation/FlashingCellApiImpl.js +111 -0
- package/src/Api/Implementation/FreeTextColumnApiImpl.js +1 -1
- package/src/Api/Implementation/GridApiImpl.d.ts +13 -8
- package/src/Api/Implementation/GridApiImpl.js +39 -17
- package/src/Api/Implementation/InternalApiImpl.d.ts +2 -7
- package/src/Api/Implementation/InternalApiImpl.js +5 -18
- package/src/Api/Implementation/LayoutApiImpl.js +12 -0
- package/src/Api/Implementation/PluginsApiImpl.d.ts +0 -2
- package/src/Api/Implementation/PluginsApiImpl.js +0 -6
- package/src/Api/Implementation/PlusMinusApiImpl.js +1 -1
- package/src/Api/Implementation/QueryApiImpl.js +1 -1
- package/src/Api/Implementation/ScheduleApiImpl.js +5 -5
- package/src/Api/Implementation/SmartEditApiImpl.d.ts +1 -1
- package/src/Api/Implementation/SystemStatusApiImpl.js +1 -1
- package/src/Api/Implementation/ToolPanelApiImpl.js +2 -2
- package/src/Api/InternalApi.d.ts +4 -9
- package/src/Api/PluginsApi.d.ts +0 -2
- package/src/Api/SmartEditApi.d.ts +4 -4
- package/src/PredefinedConfig/AdaptableState.d.ts +2 -4
- package/src/PredefinedConfig/AlertState.d.ts +13 -54
- package/src/PredefinedConfig/Common/AdaptableColumn.d.ts +4 -0
- package/src/PredefinedConfig/Common/AdaptableComparerFunction.d.ts +2 -2
- package/src/PredefinedConfig/Common/{AdaptableFlashingAlert.d.ts → AdaptableFlashingCell.d.ts} +6 -6
- package/src/PredefinedConfig/Common/{AdaptableFlashingAlert.js → AdaptableFlashingCell.js} +0 -0
- package/src/PredefinedConfig/Common/AdaptablePredicate.d.ts +4 -4
- package/src/PredefinedConfig/Common/AdaptablePredicate.js +38 -38
- package/src/PredefinedConfig/Common/CellHighlightInfo.d.ts +14 -3
- package/src/PredefinedConfig/Common/CellSummary.d.ts +2 -2
- package/src/PredefinedConfig/Common/Enums.js +1 -0
- package/src/PredefinedConfig/Common/Menu.d.ts +16 -20
- package/src/PredefinedConfig/Common/Schedule.d.ts +4 -14
- package/src/PredefinedConfig/Common/Schedule.js +0 -14
- package/src/PredefinedConfig/Common/SpecialColumnSettings.d.ts +4 -0
- package/src/PredefinedConfig/Common/Types.d.ts +6 -5
- package/src/PredefinedConfig/Common/Types.js +0 -2
- package/src/PredefinedConfig/CustomSortState.d.ts +1 -1
- package/src/PredefinedConfig/DashboardState.d.ts +6 -5
- package/src/PredefinedConfig/FlashingCellState.d.ts +65 -0
- package/src/PredefinedConfig/{SparklineColumnState.js → FlashingCellState.js} +0 -0
- package/src/PredefinedConfig/FreeTextColumnState.d.ts +2 -2
- package/src/PredefinedConfig/LayoutState.d.ts +1 -1
- package/src/PredefinedConfig/PredefinedConfig.d.ts +2 -10
- package/src/PredefinedConfig/ScheduleState.d.ts +1 -5
- package/src/PredefinedConfig/ShortcutState.d.ts +1 -1
- package/src/PredefinedConfig/SystemState.d.ts +17 -8
- package/src/PredefinedConfig/ThemeState.d.ts +2 -1
- package/src/Redux/ActionsReducers/AlertRedux.d.ts +3 -38
- package/src/Redux/ActionsReducers/AlertRedux.js +9 -68
- package/src/Redux/ActionsReducers/DashboardRedux.d.ts +0 -7
- package/src/Redux/ActionsReducers/DashboardRedux.js +3 -13
- package/src/Redux/ActionsReducers/FlashingCellRedux.d.ts +55 -0
- package/src/Redux/ActionsReducers/FlashingCellRedux.js +100 -0
- package/src/Redux/ActionsReducers/PopupRedux.d.ts +1 -3
- package/src/Redux/ActionsReducers/SystemRedux.d.ts +34 -25
- package/src/Redux/ActionsReducers/SystemRedux.js +94 -60
- package/src/Redux/ActionsReducers/ToolPanelRedux.js +1 -1
- package/src/Redux/Store/AdaptableStore.js +90 -66
- package/src/Strategy/AdaptableModuleBase.d.ts +1 -1
- package/src/Strategy/AdaptableModuleBase.js +0 -3
- package/src/Strategy/AlertModule.d.ts +14 -5
- package/src/Strategy/AlertModule.js +40 -123
- package/src/Strategy/CalculatedColumnModule.d.ts +28 -0
- package/src/Strategy/CalculatedColumnModule.js +34 -0
- package/src/Strategy/ChartingModule.d.ts +7 -0
- package/src/Strategy/ChartingModule.js +15 -0
- package/src/Strategy/ConditionalStyleModule.d.ts +12 -0
- package/src/Strategy/ConditionalStyleModule.js +28 -0
- package/src/Strategy/CustomSortModule.d.ts +12 -1
- package/src/Strategy/CustomSortModule.js +26 -0
- package/src/Strategy/DashboardModule.d.ts +0 -1
- package/src/Strategy/DashboardModule.js +1 -7
- package/src/Strategy/DataChangeHistoryModule.js +1 -1
- package/src/Strategy/DataSourceModule.d.ts +9 -1
- package/src/Strategy/DataSourceModule.js +28 -0
- package/src/Strategy/ExportModule.d.ts +12 -0
- package/src/Strategy/ExportModule.js +43 -0
- package/src/Strategy/FilterModule.d.ts +8 -1
- package/src/Strategy/FilterModule.js +28 -0
- package/src/Strategy/FlashingCellModule.d.ts +33 -0
- package/src/Strategy/FlashingCellModule.js +219 -0
- package/src/Strategy/FormatColumnModule.d.ts +11 -1
- package/src/Strategy/FormatColumnModule.js +35 -0
- package/src/Strategy/FreeTextColumnModule.d.ts +9 -1
- package/src/Strategy/FreeTextColumnModule.js +45 -0
- package/src/Strategy/GridInfoModule.js +58 -36
- package/src/Strategy/Interface/IModule.d.ts +70 -1
- package/src/Strategy/LayoutModule.js +15 -3
- package/src/Strategy/PlusMinusModule.d.ts +11 -0
- package/src/Strategy/PlusMinusModule.js +34 -0
- package/src/Strategy/QueryModule.d.ts +20 -0
- package/src/Strategy/QueryModule.js +25 -0
- package/src/Strategy/ScheduleModule.d.ts +17 -1
- package/src/Strategy/ScheduleModule.js +148 -2
- package/src/Strategy/SetingsPanelModule.d.ts +11 -0
- package/src/Strategy/SetingsPanelModule.js +30 -0
- package/src/Strategy/ShortcutModule.d.ts +11 -0
- package/src/Strategy/ShortcutModule.js +22 -0
- package/src/Strategy/ToolPanelModule.js +1 -1
- package/src/Strategy/Utilities/getAlertBehaviourViewItems.d.ts +8 -0
- package/src/Strategy/Utilities/getAlertBehaviourViewItems.js +15 -0
- package/src/Strategy/Utilities/getAlertPreviewViewItems.d.ts +4 -0
- package/src/Strategy/Utilities/getAlertPreviewViewItems.js +19 -0
- package/src/Strategy/Utilities/getCustomSortColumnViewItems.d.ts +5 -0
- package/src/Strategy/Utilities/getCustomSortColumnViewItems.js +9 -0
- package/src/Strategy/Utilities/getCustomSortSortOrderViewItems.d.ts +5 -0
- package/src/Strategy/Utilities/getCustomSortSortOrderViewItems.js +9 -0
- package/src/Strategy/Utilities/getExportColumnsViewItems.d.ts +3 -0
- package/src/Strategy/Utilities/getExportColumnsViewItems.js +22 -0
- package/src/Strategy/Utilities/getExportRowsViewItems.d.ts +5 -0
- package/src/Strategy/Utilities/getExportRowsViewItems.js +26 -0
- package/src/Strategy/Utilities/getExpressionViewItems.d.ts +5 -0
- package/src/Strategy/Utilities/getExpressionViewItems.js +9 -0
- package/src/Strategy/Utilities/getFlashingCellDurationViewItems.d.ts +5 -0
- package/src/Strategy/Utilities/getFlashingCellDurationViewItems.js +9 -0
- package/src/Strategy/Utilities/getFlashingCellStyleViewItems.d.ts +5 -0
- package/src/Strategy/Utilities/getFlashingCellStyleViewItems.js +10 -0
- package/src/Strategy/Utilities/getFlashingTargetViewItems.d.ts +5 -0
- package/src/Strategy/Utilities/getFlashingTargetViewItems.js +9 -0
- package/src/Strategy/Utilities/getFormatColumnSettingsViewItems.d.ts +5 -0
- package/src/Strategy/Utilities/getFormatColumnSettingsViewItems.js +15 -0
- package/src/Strategy/Utilities/getFormatColumnStyleViewItems.d.ts +3 -0
- package/src/Strategy/Utilities/getFormatColumnStyleViewItems.js +10 -0
- package/src/Strategy/Utilities/getRuleViewItems.d.ts +6 -0
- package/src/Strategy/Utilities/getRuleViewItems.js +15 -0
- package/src/Strategy/Utilities/getScopeViewItems.d.ts +3 -0
- package/src/Strategy/Utilities/getScopeViewItems.js +20 -0
- package/src/Strategy/Utilities/getShortcutSettingsViewItems.d.ts +5 -0
- package/src/Strategy/Utilities/getShortcutSettingsViewItems.js +15 -0
- package/src/Strategy/Utilities/getStyleViewItems.d.ts +2 -0
- package/src/Strategy/Utilities/getStyleViewItems.js +15 -0
- package/src/Utilities/Constants/ConfigConstants.d.ts +0 -1
- package/src/Utilities/Constants/ConfigConstants.js +1 -2
- package/src/Utilities/Constants/GeneralConstants.d.ts +0 -9
- package/src/Utilities/Constants/GeneralConstants.js +1 -12
- package/src/Utilities/Constants/ModuleConstants.d.ts +3 -2
- package/src/Utilities/Constants/ModuleConstants.js +4 -3
- package/src/Utilities/Defaults/DefaultAdaptableOptions.js +26 -18
- package/src/Utilities/Defaults/DefaultSettingsPanel.d.ts +7 -0
- package/src/Utilities/Defaults/DefaultSettingsPanel.js +35 -0
- package/src/Utilities/Extensions/ArrayExtensions.js +1 -1
- package/src/Utilities/Helpers/AdaptableHelper.js +3 -2
- package/src/Utilities/Helpers/StyleHelper.d.ts +4 -0
- package/src/Utilities/Helpers/StyleHelper.js +4 -1
- package/src/Utilities/Interface/MessagePopups.d.ts +0 -3
- package/src/Utilities/MenuItem.d.ts +1 -1
- package/src/Utilities/MenuItem.js +2 -2
- package/src/Utilities/ObjectFactory.d.ts +6 -17
- package/src/Utilities/ObjectFactory.js +14 -84
- package/src/Utilities/Services/AlertService.d.ts +3 -3
- package/src/Utilities/Services/AlertService.js +11 -17
- package/src/Utilities/Services/EntitlementService.d.ts +1 -0
- package/src/Utilities/Services/EntitlementService.js +9 -1
- package/src/Utilities/Services/Interface/IAlertService.d.ts +3 -7
- package/src/Utilities/Services/Interface/IEntitlementService.d.ts +1 -0
- package/src/Utilities/Services/ModuleService.js +13 -17
- package/src/Utilities/Services/TeamSharingService.js +3 -4
- package/src/View/AdaptableView.js +3 -9
- package/src/View/AdaptableViewFactory.js +0 -26
- package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/ColumnsList.d.ts +4 -3
- package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/ColumnsList.js +2 -1
- package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/ConfigurationForm.js +10 -10
- package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/index.js +6 -6
- package/src/View/AdaptableWizardView/index.js +1 -1
- package/src/View/Alert/AlertEmptyView.d.ts +5 -0
- package/src/View/Alert/AlertEmptyView.js +16 -0
- package/src/View/Alert/Wizard/AlertBehaviourWizardSection.d.ts +2 -1
- package/src/View/Alert/Wizard/AlertBehaviourWizardSection.js +10 -5
- package/src/View/Alert/Wizard/AlertDisplayWizardSection.d.ts +8 -1
- package/src/View/Alert/Wizard/AlertDisplayWizardSection.js +6 -7
- package/src/View/Alert/Wizard/AlertRulesWizardSection.d.ts +1 -0
- package/src/View/Alert/Wizard/AlertRulesWizardSection.js +4 -6
- package/src/View/Alert/Wizard/AlertWizard.js +20 -6
- package/src/View/Alert/Wizard/BaseAlertRulesWizardSection.d.ts +5 -2
- package/src/View/Alert/Wizard/BaseAlertRulesWizardSection.js +5 -2
- package/src/View/Alert/Wizard/BaseAlertScopeWizardSection.d.ts +5 -4
- package/src/View/Alert/Wizard/BaseAlertScopeWizardSection.js +2 -2
- package/src/View/Alert/Wizard/isValidAlertRules.d.ts +2 -3
- package/src/View/BulkUpdate/BulkUpdatePopup.js +1 -1
- package/src/View/CalculatedColumn/Utilities/getCalculatedColumnSettingTags.d.ts +2 -0
- package/src/View/CalculatedColumn/Utilities/getCalculatedColumnSettingTags.js +16 -0
- package/src/View/CalculatedColumn/Wizard/CalculatedColumnSettingsWizardSection.d.ts +1 -0
- package/src/View/CalculatedColumn/Wizard/CalculatedColumnSettingsWizardSection.js +17 -40
- package/src/View/CalculatedColumn/Wizard/CalculatedColumnWizard.js +20 -3
- package/src/View/CellSummary/CellSummaryPopup.js +2 -2
- package/src/View/ColorPicker.d.ts +1 -1
- package/src/View/Components/AdaptableDateInput/index.d.ts +1 -1
- package/src/View/Components/AdaptableInput/index.d.ts +1 -1
- package/src/View/Components/AdaptableObjectList/AdaptableObjectList.d.ts +14 -0
- package/src/View/Components/AdaptableObjectList/AdaptableObjectList.js +82 -0
- package/src/View/Components/AdaptableObjectList/index.d.ts +1 -0
- package/src/View/Components/AdaptableObjectList/index.js +5 -0
- package/src/View/Components/Buttons/ButtonDelete.d.ts +1 -1
- package/src/View/Components/Buttons/ButtonDelete.js +3 -2
- package/src/View/Components/Buttons/ButtonEdit.d.ts +1 -3
- package/src/View/Components/Buttons/ButtonEdit.js +4 -6
- package/src/View/Components/Buttons/ButtonShare.js +3 -2
- package/src/View/Components/Buttons/EntityListActionButtons.js +1 -1
- package/src/View/Components/Buttons/{SuspendToggleButton.d.ts → SuspendToggleButton/SuspendToggleButton.d.ts} +5 -3
- package/src/View/Components/Buttons/SuspendToggleButton/SuspendToggleButton.js +19 -0
- package/src/View/Components/Buttons/SuspendToggleButton/index.d.ts +1 -0
- package/src/View/Components/Buttons/SuspendToggleButton/index.js +4 -0
- package/src/View/Components/ExternalRenderer.d.ts +14 -0
- package/src/View/Components/ExternalRenderer.js +32 -0
- package/src/View/Components/FilterForm/QuickFilterForm.js +8 -3
- package/src/View/Components/FilterForm/getDefaultColumnFilterPredicate.d.ts +1 -1
- package/src/View/Components/Forms/AdaptableFormControlTextClear.d.ts +1 -1
- package/src/View/Components/ModuleValueSelector/index.d.ts +3 -1
- package/src/View/Components/ModuleValueSelector/index.js +1 -1
- package/src/View/Components/NewScopeComponent.js +1 -1
- package/src/View/Components/Panels/PanelWithImage.d.ts +4 -4
- package/src/View/Components/Panels/PanelWithImage.js +2 -2
- package/src/View/Components/Popups/AdaptablePopup/AdaptablePopup.d.ts +20 -0
- package/src/View/Components/Popups/AdaptablePopup/AdaptablePopup.js +120 -0
- package/src/View/Components/Popups/AdaptablePopup/AdaptablePopupBody.d.ts +15 -0
- package/src/View/Components/Popups/AdaptablePopup/AdaptablePopupBody.js +35 -0
- package/src/View/Components/Popups/AdaptablePopup/AdaptablePopupModuleView.d.ts +9 -0
- package/src/View/Components/Popups/AdaptablePopup/AdaptablePopupModuleView.js +67 -0
- package/src/View/Components/Popups/AdaptablePopup/CustomSettingsPanelView.d.ts +6 -0
- package/src/View/Components/Popups/AdaptablePopup/CustomSettingsPanelView.js +9 -0
- package/src/View/Components/Popups/AdaptablePopup/Navigation.d.ts +13 -0
- package/src/View/Components/Popups/AdaptablePopup/Navigation.js +63 -0
- package/src/View/Components/Popups/{PopupContext.d.ts → AdaptablePopup/PopupContext.d.ts} +0 -0
- package/src/View/Components/Popups/{PopupContext.js → AdaptablePopup/PopupContext.js} +0 -0
- package/src/View/Components/Popups/AdaptablePopup/PopupPanel.d.ts +10 -0
- package/src/View/Components/Popups/AdaptablePopup/PopupPanel.js +22 -0
- package/src/View/Components/Popups/AdaptablePopup/TopBar.d.ts +7 -0
- package/src/View/Components/Popups/AdaptablePopup/TopBar.js +29 -0
- package/src/View/Components/Popups/AdaptablePopup/Utilities.d.ts +15 -0
- package/src/View/Components/Popups/AdaptablePopup/Utilities.js +28 -0
- package/src/View/Components/Popups/AdaptablePopup/index.d.ts +1 -0
- package/src/View/Components/Popups/AdaptablePopup/index.js +5 -0
- package/src/View/Components/ToolPanel/AdaptableToolPanel.js +45 -80
- package/src/View/Components/ToolPanel/ToolPanelPopup.js +12 -4
- package/src/View/Components/ValueSelector/index.d.ts +1 -0
- package/src/View/Components/ValueSelector/index.js +6 -6
- package/src/View/ConditionalStyle/Wizard/ConditionalStyleWizard.d.ts +2 -2
- package/src/View/ConditionalStyle/Wizard/ConditionalStyleWizard.js +19 -5
- package/src/View/CustomSort/Wizard/CustomSortColumnWizardSection.js +3 -4
- package/src/View/CustomSort/Wizard/CustomSortWizard.js +18 -3
- package/src/View/Dashboard/Dashboard.d.ts +0 -1
- package/src/View/Dashboard/Dashboard.js +13 -83
- package/src/View/Dashboard/DashboardPopup.d.ts +6 -2
- package/src/View/Dashboard/DashboardPopup.js +38 -8
- package/src/View/DataChangeHistory/DataChangeHistoryGrid.js +4 -4
- package/src/View/DataChangeHistory/DataChangeHistoryPopup.js +3 -3
- package/src/View/DataSource/Wizard/DataSourceSettingsSummary.js +3 -3
- package/src/View/DataSource/Wizard/DataSourceWizard.d.ts +1 -2
- package/src/View/DataSource/Wizard/DataSourceWizard.js +17 -2
- package/src/View/Export/ReportExportDropdown.d.ts +5 -0
- package/src/View/Export/ReportExportDropdown.js +37 -0
- package/src/View/Export/Wizard/NewReportWizard.js +15 -2
- package/src/View/Export/Wizard/ReportNameWizardSection.js +2 -1
- package/src/View/Export/Wizard/ReportRowsWizardSection.js +2 -2
- package/src/View/FlashingCell/FlashingCellStyle.d.ts +7 -0
- package/src/View/FlashingCell/FlashingCellStyle.js +20 -0
- package/src/View/{Alert/Wizard/FlashingAlertWizard/FlashingAlertRulesWizardSection.d.ts → FlashingCell/Wizard/FlashingCellRulesWizardSection.d.ts} +3 -3
- package/src/View/{Alert/Wizard/FlashingAlertWizard/FlashingAlertRulesWizardSection.js → FlashingCell/Wizard/FlashingCellRulesWizardSection.js} +14 -14
- package/src/View/{Alert/Wizard/FlashingAlertWizard/FlashingAlertScopeWizardSection.d.ts → FlashingCell/Wizard/FlashingCellScopeWizardSection.d.ts} +1 -2
- package/src/View/{Alert/Wizard/FlashingAlertWizard/FlashingAlertScopeWizardSection.js → FlashingCell/Wizard/FlashingCellScopeWizardSection.js} +1 -1
- package/src/View/FlashingCell/Wizard/FlashingCellSettingsWizardSection.d.ts +10 -0
- package/src/View/FlashingCell/Wizard/FlashingCellSettingsWizardSection.js +66 -0
- package/src/View/FlashingCell/Wizard/FlashingCellStyleWizardSection.d.ts +15 -0
- package/src/View/{Alert/Wizard/FlashingAlertWizard/FlashingAlertStyleWizardSection.js → FlashingCell/Wizard/FlashingCellStyleWizardSection.js} +17 -16
- package/src/View/FlashingCell/Wizard/FlashingCellWizard.d.ts +6 -0
- package/src/View/FlashingCell/Wizard/FlashingCellWizard.js +97 -0
- package/src/View/FlashingCell/Wizard/isValidFlashingCellRules.d.ts +3 -0
- package/src/View/FlashingCell/Wizard/isValidFlashingCellRules.js +30 -0
- package/src/View/FormatColumn/Wizard/FormatColumnFormatWizardSection.d.ts +1 -0
- package/src/View/FormatColumn/Wizard/FormatColumnFormatWizardSection.js +18 -14
- package/src/View/FormatColumn/Wizard/FormatColumnScopeWizardSection.js +2 -2
- package/src/View/FormatColumn/Wizard/FormatColumnSettingsWizardSection.js +4 -4
- package/src/View/FormatColumn/Wizard/FormatColumnWizard.js +17 -2
- package/src/View/FreeTextColumn/Wizard/FreeTextColumnSettingsWizardSection.d.ts +1 -0
- package/src/View/FreeTextColumn/Wizard/FreeTextColumnSettingsWizardSection.js +15 -10
- package/src/View/FreeTextColumn/Wizard/FreeTextColumnWizard.js +19 -5
- package/src/View/GridInfo/AdaptableOptionsComponent.js +2 -2
- package/src/View/GridInfo/GridInfoPopup.d.ts +2 -1
- package/src/View/GridInfo/GridInfoPopup.js +22 -16
- package/src/View/GridInfo/GridOptionsComponent.js +1 -1
- package/src/View/Layout/LayoutPopup.js +4 -6
- package/src/View/Layout/Wizard/LayoutEditor/ColumnList.js +3 -1
- package/src/View/Layout/Wizard/LayoutEditor/index.js +5 -2
- package/src/View/PlusMinus/Wizard/PlusMinusSettingsWizardSection.js +2 -2
- package/src/View/PlusMinus/Wizard/PlusMinusWizard.d.ts +1 -2
- package/src/View/PlusMinus/Wizard/PlusMinusWizard.js +18 -4
- package/src/View/Query/Wizard/NamedQueryExpressionWizardSection.js +2 -2
- package/src/View/Query/Wizard/NamedQuerySettingsWizardSection.js +2 -2
- package/src/View/Query/Wizard/NamedQueryWizard.js +17 -2
- package/src/View/QuickSearch/QuickSearchPopup.js +3 -3
- package/src/View/Schedule/Wizard/ScheduleScheduleSummary.js +2 -2
- package/src/View/Schedule/Wizard/ScheduleScheduleWizard.js +7 -8
- package/src/View/Schedule/Wizard/ScheduleSettingsWizard/ScheduleSettingsOpenFin.js +1 -1
- package/src/View/Schedule/Wizard/ScheduleSettingsWizard/ScheduleSettingsReminder.js +9 -9
- package/src/View/Schedule/Wizard/ScheduleSettingsWizard/ScheduleSettingsSummary.d.ts +5 -0
- package/src/View/Schedule/Wizard/ScheduleSettingsWizard/ScheduleSettingsSummary.js +59 -48
- package/src/View/Schedule/Wizard/ScheduleSettingsWizard/isSettingsValid.js +9 -9
- package/src/View/Schedule/Wizard/ScheduleWizard.d.ts +1 -2
- package/src/View/Schedule/Wizard/ScheduleWizard.js +75 -2
- package/src/View/Shortcut/Wizard/ShortcutSettingsWizard.js +6 -6
- package/src/View/Shortcut/Wizard/ShortcutWizard.d.ts +1 -2
- package/src/View/Shortcut/Wizard/ShortcutWizard.js +31 -4
- package/src/View/Shortcut/shortcutKeys.js +0 -1
- package/src/View/SmartEdit/SmartEditPopup.js +2 -2
- package/src/View/SpecialColumnSettingsWizardStep.d.ts +9 -0
- package/src/View/SpecialColumnSettingsWizardStep.js +62 -0
- package/src/View/StateManagement/StateManagementPopup.js +16 -15
- package/src/View/SystemStatus/SystemStatusPopup.js +3 -3
- package/src/View/TeamSharing/TeamSharingPopup.js +2 -2
- package/src/View/Theme/ThemePopup.js +5 -7
- package/src/View/UIHelper.d.ts +3 -5
- package/src/View/UIHelper.js +35 -49
- package/src/View/Wizard/Interface/IAdaptableWizard.d.ts +5 -0
- package/src/View/Wizard/OnePageAdaptableWizard.d.ts +2 -0
- package/src/View/Wizard/OnePageAdaptableWizard.js +10 -2
- package/src/agGrid/Adaptable.d.ts +24 -11
- package/src/agGrid/Adaptable.js +227 -81
- package/src/agGrid/agGridHelper.d.ts +2 -2
- package/src/agGrid/agGridHelper.js +21 -6
- package/src/agGrid/agGridMenuHelper.js +11 -7
- package/src/components/ApplicationIcon.d.ts +5 -0
- package/src/components/ApplicationIcon.js +13 -0
- package/src/components/Dashboard/Dashboard.js +1 -1
- package/src/components/Dashboard/DashboardManager.js +1 -1
- package/src/components/Datepicker/index.d.ts +1 -1
- package/src/components/Dialog/index.d.ts +4 -1
- package/src/components/Dialog/index.js +10 -3
- package/src/components/DropdownButton/index.d.ts +1 -0
- package/src/components/DropdownButton/index.js +2 -2
- package/src/components/EllipsisContainer/index.js +1 -1
- package/src/components/EmptyContent/index.js +2 -1
- package/src/components/Input/index.d.ts +1 -1
- package/src/components/List/ListGroupItem/index.d.ts +1 -1
- package/src/components/PopupWithFooter.d.ts +1 -1
- package/src/components/PopupWithFooter.js +2 -7
- package/src/components/StylePreview.d.ts +8 -0
- package/src/components/StylePreview.js +11 -0
- package/src/components/Tag/Tag.d.ts +3 -0
- package/src/components/Tag/Tag.js +11 -0
- package/src/components/Tag/index.d.ts +1 -0
- package/src/components/Tag/index.js +5 -0
- package/src/components/Textarea/index.d.ts +1 -1
- package/src/components/ToggleButton/index.d.ts +1 -0
- package/src/components/ToggleButton/index.js +8 -4
- package/src/components/WindowModal/WindowModal.d.ts +23 -0
- package/src/components/WindowModal/WindowModal.js +102 -0
- package/src/components/WindowModal/index.d.ts +1 -0
- package/src/components/WindowModal/index.js +4 -0
- package/src/components/icons/column-add.d.ts +3 -0
- package/src/components/icons/column-add.js +10 -0
- package/src/components/icons/index.js +6 -0
- package/src/components/icons/menu.d.ts +3 -0
- package/src/components/icons/menu.js +7 -0
- package/src/components/icons/state-management.js +1 -1
- package/src/components/icons/tool-panel.d.ts +3 -0
- package/src/components/icons/tool-panel.js +7 -0
- package/src/components/utils/useDraggable.d.ts +3 -1
- package/src/components/utils/useDraggable.js +15 -2
- package/src/metamodel/adaptable.metamodel.d.ts +93 -105
- package/src/metamodel/adaptable.metamodel.js +425 -455
- package/src/types.d.ts +10 -11
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/src/AdaptableOptions/ChartPluginOptions.d.ts +0 -20
- package/src/Api/ChartApi.d.ts +0 -20
- package/src/Api/Events/FlashingAlertFired.d.ts +0 -11
- package/src/Api/Implementation/SparklineColumnApiImpl.d.ts +0 -9
- package/src/Api/Implementation/SparklineColumnApiImpl.js +0 -24
- package/src/Api/SparklineColumnApi.d.ts +0 -23
- package/src/PredefinedConfig/ChartState.d.ts +0 -144
- package/src/PredefinedConfig/Common/ChartEnums.d.ts +0 -123
- package/src/PredefinedConfig/Common/ChartEnums.js +0 -152
- package/src/PredefinedConfig/SparklineColumnState.d.ts +0 -40
- package/src/Redux/ActionsReducers/SparklineColumnRedux.d.ts +0 -35
- package/src/Redux/ActionsReducers/SparklineColumnRedux.js +0 -70
- package/src/Utilities/Defaults/DefaultCategoryChartProperties.d.ts +0 -2
- package/src/Utilities/Defaults/DefaultCategoryChartProperties.js +0 -56
- package/src/Utilities/Defaults/DefaultPieChartProperties.d.ts +0 -2
- package/src/Utilities/Defaults/DefaultPieChartProperties.js +0 -13
- package/src/Utilities/Defaults/DefaultSparklinesChartProperties.d.ts +0 -2
- package/src/Utilities/Defaults/DefaultSparklinesChartProperties.js +0 -25
- package/src/View/Alert/AlertPopup.d.ts +0 -42
- package/src/View/Alert/AlertPopup.js +0 -205
- package/src/View/Alert/FlashingAlertEntityRow.d.ts +0 -7
- package/src/View/Alert/FlashingAlertEntityRow.js +0 -22
- package/src/View/Alert/Wizard/FlashingAlertWizard/FlashingAlertDurationWizardSection.d.ts +0 -10
- package/src/View/Alert/Wizard/FlashingAlertWizard/FlashingAlertDurationWizardSection.js +0 -60
- package/src/View/Alert/Wizard/FlashingAlertWizard/FlashingAlertStyleWizardSection.d.ts +0 -10
- package/src/View/Alert/Wizard/FlashingAlertWizard/FlashingAlertWizard.d.ts +0 -6
- package/src/View/Alert/Wizard/FlashingAlertWizard/FlashingAlertWizard.js +0 -89
- package/src/View/CalculatedColumn/CalculatedColumnEntityRow.d.ts +0 -9
- package/src/View/CalculatedColumn/CalculatedColumnEntityRow.js +0 -28
- package/src/View/CalculatedColumn/CalculatedColumnPopup.d.ts +0 -25
- package/src/View/CalculatedColumn/CalculatedColumnPopup.js +0 -117
- package/src/View/Components/Buttons/SuspendToggleButton.js +0 -17
- package/src/View/Components/Panels/PanelWithIImageThreeButtons.d.ts +0 -11
- package/src/View/Components/Panels/PanelWithIImageThreeButtons.js +0 -28
- package/src/View/Components/Popups/AdaptableChart.d.ts +0 -18
- package/src/View/Components/Popups/AdaptableChart.js +0 -40
- package/src/View/Components/Popups/AdaptablePopup.d.ts +0 -23
- package/src/View/Components/Popups/AdaptablePopup.js +0 -59
- package/src/View/Components/SharedProps/ChartDisplayPopupPropsBase.d.ts +0 -7
- package/src/View/Components/SharedProps/ChartDisplayPopupPropsBase.js +0 -2
- package/src/View/ConditionalStyle/ConditionalStyleEntityRow.d.ts +0 -5
- package/src/View/ConditionalStyle/ConditionalStyleEntityRow.js +0 -26
- package/src/View/ConditionalStyle/ConditionalStylePopup.d.ts +0 -30
- package/src/View/ConditionalStyle/ConditionalStylePopup.js +0 -144
- package/src/View/CustomSort/CustomSortEntityRow.d.ts +0 -12
- package/src/View/CustomSort/CustomSortEntityRow.js +0 -32
- package/src/View/CustomSort/CustomSortPopup.d.ts +0 -27
- package/src/View/CustomSort/CustomSortPopup.js +0 -138
- package/src/View/DataSource/DataSourceEntityRow.d.ts +0 -12
- package/src/View/DataSource/DataSourceEntityRow.js +0 -29
- package/src/View/DataSource/DataSourcePopup.d.ts +0 -28
- package/src/View/DataSource/DataSourcePopup.js +0 -97
- package/src/View/Export/ExportPopup.d.ts +0 -34
- package/src/View/Export/ExportPopup.js +0 -139
- package/src/View/Export/ReportEntityRow.d.ts +0 -10
- package/src/View/Export/ReportEntityRow.js +0 -49
- package/src/View/Export/Wizard/ReportWizard.d.ts +0 -7
- package/src/View/Export/Wizard/ReportWizard.js +0 -50
- package/src/View/Filter/FilterEntityRow.d.ts +0 -12
- package/src/View/Filter/FilterEntityRow.js +0 -20
- package/src/View/Filter/FilterPopup.d.ts +0 -20
- package/src/View/Filter/FilterPopup.js +0 -50
- package/src/View/FormatColumn/FormatColumnEntityRow.d.ts +0 -9
- package/src/View/FormatColumn/FormatColumnEntityRow.js +0 -103
- package/src/View/FormatColumn/FormatColumnPopup.d.ts +0 -27
- package/src/View/FormatColumn/FormatColumnPopup.js +0 -133
- package/src/View/FreeTextColumn/FreeTextColumnEntityRow.d.ts +0 -5
- package/src/View/FreeTextColumn/FreeTextColumnEntityRow.js +0 -31
- package/src/View/FreeTextColumn/FreeTextColumnPopup.d.ts +0 -25
- package/src/View/FreeTextColumn/FreeTextColumnPopup.js +0 -118
- package/src/View/PlusMinus/PlusMinusEntityRow.d.ts +0 -9
- package/src/View/PlusMinus/PlusMinusEntityRow.js +0 -24
- package/src/View/PlusMinus/PlusMinusPopup.d.ts +0 -30
- package/src/View/PlusMinus/PlusMinusPopup.js +0 -124
- package/src/View/Query/NamedQueryEntityRow.d.ts +0 -8
- package/src/View/Query/NamedQueryEntityRow.js +0 -21
- package/src/View/Query/QueryPopup.d.ts +0 -28
- package/src/View/Query/QueryPopup.js +0 -114
- package/src/View/Schedule/ScheduleEntityRow.d.ts +0 -5
- package/src/View/Schedule/ScheduleEntityRow.js +0 -58
- package/src/View/Schedule/SchedulePopup.d.ts +0 -58
- package/src/View/Schedule/SchedulePopup.js +0 -317
- package/src/View/Shortcut/ShortcutEntityRow.d.ts +0 -17
- package/src/View/Shortcut/ShortcutEntityRow.js +0 -47
- package/src/View/Shortcut/ShortcutPopup.d.ts +0 -30
- package/src/View/Shortcut/ShortcutPopup.js +0 -121
- package/src/components/ChartContainer/index.d.ts +0 -15
- package/src/components/ChartContainer/index.js +0 -22
|
@@ -9,6 +9,7 @@ const AdaptableReduxMerger_1 = require("./AdaptableReduxMerger");
|
|
|
9
9
|
const PopupRedux = tslib_1.__importStar(require("../ActionsReducers/PopupRedux"));
|
|
10
10
|
const PluginsRedux = tslib_1.__importStar(require("../ActionsReducers/PluginsRedux"));
|
|
11
11
|
const AlertRedux = tslib_1.__importStar(require("../ActionsReducers/AlertRedux"));
|
|
12
|
+
const FlashingCellRedux = tslib_1.__importStar(require("../ActionsReducers/FlashingCellRedux"));
|
|
12
13
|
const DeadRedux = tslib_1.__importStar(require("../DeadRedux"));
|
|
13
14
|
const SmartEditRedux = tslib_1.__importStar(require("../ActionsReducers/SmartEditRedux"));
|
|
14
15
|
const BulkUpdateRedux = tslib_1.__importStar(require("../ActionsReducers/BulkUpdateRedux"));
|
|
@@ -26,7 +27,6 @@ const FilterRedux = tslib_1.__importStar(require("../ActionsReducers/FilterRedux
|
|
|
26
27
|
const ThemeRedux = tslib_1.__importStar(require("../ActionsReducers/ThemeRedux"));
|
|
27
28
|
const FormatColumnRedux = tslib_1.__importStar(require("../ActionsReducers/FormatColumnRedux"));
|
|
28
29
|
const ApplicationRedux = tslib_1.__importStar(require("../ActionsReducers/ApplicationRedux"));
|
|
29
|
-
const SparklineColumnRedux = tslib_1.__importStar(require("../ActionsReducers/SparklineColumnRedux"));
|
|
30
30
|
const FreeTextColumnRedux = tslib_1.__importStar(require("../ActionsReducers/FreeTextColumnRedux"));
|
|
31
31
|
const LayoutRedux = tslib_1.__importStar(require("../ActionsReducers/LayoutRedux"));
|
|
32
32
|
const DashboardRedux = tslib_1.__importStar(require("../ActionsReducers/DashboardRedux"));
|
|
@@ -121,15 +121,11 @@ class AdaptableStore {
|
|
|
121
121
|
Popup: PopupRedux.PopupReducer,
|
|
122
122
|
System: SystemRedux.SystemReducer,
|
|
123
123
|
Plugins: PluginsRedux.PluginsReducer,
|
|
124
|
-
SparklineColumn: SparklineColumnRedux.SparklineColumnReducer,
|
|
125
124
|
// Reducers for Persisted State
|
|
126
125
|
Alert: AlertRedux.AlertReducer,
|
|
126
|
+
FlashingCell: FlashingCellRedux.FlashingCellReducer,
|
|
127
127
|
Application: ApplicationRedux.ApplicationReducer,
|
|
128
128
|
CalculatedColumn: CalculatedColumnRedux.CalculatedColumnReducer,
|
|
129
|
-
// replaced by `charts` plugin
|
|
130
|
-
Chart: (state) => {
|
|
131
|
-
return state !== null && state !== void 0 ? state : null;
|
|
132
|
-
},
|
|
133
129
|
ConditionalStyle: ConditionalStyleRedux.ConditionalStyleReducer,
|
|
134
130
|
CustomSort: CustomSortRedux.CustomSortReducer,
|
|
135
131
|
Dashboard: DashboardRedux.DashboardReducer,
|
|
@@ -149,7 +145,6 @@ class AdaptableStore {
|
|
|
149
145
|
Query: QueryRedux.QueryReducer,
|
|
150
146
|
// dead reducers
|
|
151
147
|
PercentBar: DeadRedux.PercentBarReducer,
|
|
152
|
-
FlashingCell: DeadRedux.FlashingCellReducer,
|
|
153
148
|
UpdatedRow: DeadRedux.UpdatedRowReducer,
|
|
154
149
|
GradientColumn: DeadRedux.GradientColumnReducer,
|
|
155
150
|
};
|
|
@@ -191,7 +186,6 @@ class AdaptableStore {
|
|
|
191
186
|
ConfigConstants.GRID,
|
|
192
187
|
ConfigConstants.POPUP,
|
|
193
188
|
ConfigConstants.PLUGINS,
|
|
194
|
-
ConfigConstants.SPARKLINE_COLUMN,
|
|
195
189
|
];
|
|
196
190
|
// this is now VERY BADLY NAMED!
|
|
197
191
|
let rootReducer = AdaptableReduxMerger_1.mergeReducer(rootReducerWithResetManagement, exports.LOAD_STATE);
|
|
@@ -252,7 +246,7 @@ exports.AdaptableStore = AdaptableStore;
|
|
|
252
246
|
const adaptableMiddleware = (adaptable) => function (middlewareAPI) {
|
|
253
247
|
return function (next) {
|
|
254
248
|
return function (action) {
|
|
255
|
-
var _a, _b, _c, _d, _e;
|
|
249
|
+
var _a, _b, _c, _d, _e, _f;
|
|
256
250
|
switch (action.type) {
|
|
257
251
|
/*******************
|
|
258
252
|
* NAMED QUERY ACTIONS
|
|
@@ -313,11 +307,11 @@ const adaptableMiddleware = (adaptable) => function (middlewareAPI) {
|
|
|
313
307
|
*******************/
|
|
314
308
|
case SystemRedux.SYSTEM_FLASHING_ALERT_ADD:
|
|
315
309
|
case SystemRedux.SYSTEM_FLASHING_ALERT_DELETE: {
|
|
316
|
-
const {
|
|
317
|
-
const { dataChangedInfo } =
|
|
310
|
+
const { flashingCell: FlashingCell, } = action;
|
|
311
|
+
const { dataChangedInfo } = FlashingCell;
|
|
318
312
|
let ret = next(action);
|
|
319
313
|
if (dataChangedInfo) {
|
|
320
|
-
adaptable.refreshCells([dataChangedInfo.rowNode], Object.keys(
|
|
314
|
+
adaptable.refreshCells([dataChangedInfo.rowNode], Object.keys(FlashingCell.flashColumnIds), true);
|
|
321
315
|
}
|
|
322
316
|
return ret;
|
|
323
317
|
}
|
|
@@ -330,52 +324,43 @@ const adaptableMiddleware = (adaptable) => function (middlewareAPI) {
|
|
|
330
324
|
reactiveAlertDefinitions.forEach((reactiveAlertDefinition) => adaptable.api.internalApi
|
|
331
325
|
.getAlertService()
|
|
332
326
|
.createReactiveAlert(reactiveAlertDefinition));
|
|
333
|
-
const reactiveFlashingAlertDefinitions = adaptable.api.alertApi.getActiveReactiveFlashingAlertDefinitions();
|
|
334
|
-
reactiveFlashingAlertDefinitions.forEach((reactiveAlertDefinition) => adaptable.api.internalApi
|
|
335
|
-
.getAlertService()
|
|
336
|
-
.createReactiveAlert(reactiveAlertDefinition, true));
|
|
337
327
|
return;
|
|
338
328
|
}
|
|
339
329
|
case AlertRedux.ALERT_DEFINITION_ADD:
|
|
340
330
|
case AlertRedux.ALERT_DEFINITION_EDIT:
|
|
341
331
|
case AlertRedux.ALERT_DEFINITION_DELETE:
|
|
342
|
-
case AlertRedux.FLASHING_ALERT_DEFINITION_ADD:
|
|
343
|
-
case AlertRedux.FLASHING_ALERT_DEFINITION_EDIT:
|
|
344
|
-
case AlertRedux.FLASHING_ALERT_DEFINITION_DELETE:
|
|
345
332
|
case AlertRedux.ALERT_DEFINITION_UN_SUSPEND:
|
|
346
|
-
case AlertRedux.ALERT_DEFINITION_SUSPEND:
|
|
347
|
-
case AlertRedux.FLASHING_ALERT_DEFINITION_UN_SUSPEND:
|
|
348
|
-
case AlertRedux.FLASHING_ALERT_DEFINITION_SUSPEND: {
|
|
333
|
+
case AlertRedux.ALERT_DEFINITION_SUSPEND: {
|
|
349
334
|
const returnAction = next(action);
|
|
350
|
-
const
|
|
351
|
-
|
|
352
|
-
returnAction.type === AlertRedux.FLASHING_ALERT_DEFINITION_DELETE ||
|
|
353
|
-
returnAction.type === AlertRedux.FLASHING_ALERT_DEFINITION_SUSPEND ||
|
|
354
|
-
returnAction.type === AlertRedux.FLASHING_ALERT_DEFINITION_UN_SUSPEND;
|
|
355
|
-
const alertDefinition = isFlashingAlert
|
|
356
|
-
? returnAction.flashingAlertDefinition
|
|
357
|
-
: returnAction.alertDefinition;
|
|
335
|
+
const alertDefinition = returnAction
|
|
336
|
+
.alertDefinition;
|
|
358
337
|
if (returnAction.type === AlertRedux.ALERT_DEFINITION_ADD ||
|
|
359
338
|
returnAction.type === AlertRedux.ALERT_DEFINITION_EDIT ||
|
|
360
|
-
returnAction.type === AlertRedux.
|
|
361
|
-
returnAction.type === AlertRedux.FLASHING_ALERT_DEFINITION_EDIT ||
|
|
362
|
-
returnAction.type === AlertRedux.ALERT_DEFINITION_UN_SUSPEND ||
|
|
363
|
-
returnAction.type === AlertRedux.FLASHING_ALERT_DEFINITION_UN_SUSPEND) {
|
|
339
|
+
returnAction.type === AlertRedux.ALERT_DEFINITION_UN_SUSPEND) {
|
|
364
340
|
// in case of edit, the existing reactive alert will be deleted and recreated
|
|
365
|
-
adaptable.api.internalApi
|
|
366
|
-
.getAlertService()
|
|
367
|
-
.createReactiveAlert(alertDefinition, isFlashingAlert);
|
|
341
|
+
adaptable.api.internalApi.getAlertService().createReactiveAlert(alertDefinition);
|
|
368
342
|
}
|
|
369
343
|
if (returnAction.type === AlertRedux.ALERT_DEFINITION_DELETE ||
|
|
370
|
-
returnAction.type === AlertRedux.
|
|
371
|
-
returnAction.type === AlertRedux.ALERT_DEFINITION_SUSPEND ||
|
|
372
|
-
returnAction.type === AlertRedux.FLASHING_ALERT_DEFINITION_SUSPEND) {
|
|
344
|
+
returnAction.type === AlertRedux.ALERT_DEFINITION_SUSPEND) {
|
|
373
345
|
adaptable.api.internalApi.getAlertService().deleteReactiveAlert(alertDefinition);
|
|
374
346
|
}
|
|
375
347
|
// called also for rendered column actions, see RENDERED COLUMN ACTIONS block
|
|
376
348
|
adaptable.setupColumns();
|
|
377
349
|
return returnAction;
|
|
378
350
|
}
|
|
351
|
+
/*******************
|
|
352
|
+
* Flashing Cell ACTIONS
|
|
353
|
+
*******************/
|
|
354
|
+
case FlashingCellRedux.FLASHING_ALERT_DEFINITION_ADD:
|
|
355
|
+
case FlashingCellRedux.FLASHING_ALERT_DEFINITION_EDIT:
|
|
356
|
+
case FlashingCellRedux.FLASHING_ALERT_DEFINITION_DELETE:
|
|
357
|
+
case FlashingCellRedux.FLASHING_ALERT_DEFINITION_UN_SUSPEND:
|
|
358
|
+
case FlashingCellRedux.FLASHING_ALERT_DEFINITION_SUSPEND: {
|
|
359
|
+
const returnAction = next(action);
|
|
360
|
+
// called also for rendered column actions, see RENDERED COLUMN ACTIONS block
|
|
361
|
+
adaptable.setupColumns();
|
|
362
|
+
return returnAction;
|
|
363
|
+
}
|
|
379
364
|
/**
|
|
380
365
|
* Use Case: User has deleted a System Alert which has a Highlight Cell
|
|
381
366
|
* Action: Refresh the cell (to clear the style)
|
|
@@ -388,6 +373,11 @@ const adaptableMiddleware = (adaptable) => function (middlewareAPI) {
|
|
|
388
373
|
let rowNode = actionTyped.alert.dataChangedInfo.rowNode;
|
|
389
374
|
adaptable.refreshCells([rowNode], [actionTyped.alert.dataChangedInfo.column.columnId], true);
|
|
390
375
|
}
|
|
376
|
+
if (((_d = actionTyped.alert.alertDefinition.AlertProperties) === null || _d === void 0 ? void 0 : _d.HighlightRow) &&
|
|
377
|
+
actionTyped.alert.dataChangedInfo) {
|
|
378
|
+
let rowNode = actionTyped.alert.dataChangedInfo.rowNode;
|
|
379
|
+
adaptable.api.gridApi.refreshRowNode(rowNode);
|
|
380
|
+
}
|
|
391
381
|
return ret;
|
|
392
382
|
}
|
|
393
383
|
/**
|
|
@@ -399,11 +389,15 @@ const adaptableMiddleware = (adaptable) => function (middlewareAPI) {
|
|
|
399
389
|
let ret = next(action);
|
|
400
390
|
let alerts = actionTyped.alerts;
|
|
401
391
|
alerts.forEach((alert) => {
|
|
402
|
-
var _a;
|
|
392
|
+
var _a, _b;
|
|
403
393
|
if (((_a = alert.alertDefinition.AlertProperties) === null || _a === void 0 ? void 0 : _a.HighlightCell) && alert.dataChangedInfo) {
|
|
404
394
|
let rowNode = alert.dataChangedInfo.rowNode;
|
|
405
395
|
adaptable.refreshCells([rowNode], [alert.dataChangedInfo.column.columnId], true);
|
|
406
396
|
}
|
|
397
|
+
if (((_b = alert.alertDefinition.AlertProperties) === null || _b === void 0 ? void 0 : _b.HighlightRow) && alert.dataChangedInfo) {
|
|
398
|
+
let rowNode = alert.dataChangedInfo.rowNode;
|
|
399
|
+
adaptable.api.gridApi.refreshRowNode(rowNode);
|
|
400
|
+
}
|
|
407
401
|
});
|
|
408
402
|
return ret;
|
|
409
403
|
}
|
|
@@ -412,11 +406,16 @@ const adaptableMiddleware = (adaptable) => function (middlewareAPI) {
|
|
|
412
406
|
* Action: Refresh the cell (to clear the style)
|
|
413
407
|
*/
|
|
414
408
|
case SystemRedux.SYSTEM_ALERT_REMOVE_HIGHLIGHT: {
|
|
415
|
-
const actionTyped = action;
|
|
416
409
|
let ret = next(action);
|
|
410
|
+
const actionTyped = action;
|
|
417
411
|
if (actionTyped.alert.dataChangedInfo) {
|
|
418
412
|
let rowNode = actionTyped.alert.dataChangedInfo.rowNode;
|
|
419
|
-
|
|
413
|
+
if (actionTyped.alert.alertDefinition.AlertProperties.HighlightCell) {
|
|
414
|
+
adaptable.refreshCells([rowNode], [actionTyped.alert.dataChangedInfo.column.columnId], true);
|
|
415
|
+
}
|
|
416
|
+
if (actionTyped.alert.alertDefinition.AlertProperties.HighlightRow) {
|
|
417
|
+
adaptable.api.gridApi.refreshRowNode(rowNode);
|
|
418
|
+
}
|
|
420
419
|
}
|
|
421
420
|
return ret;
|
|
422
421
|
}
|
|
@@ -433,10 +432,9 @@ const adaptableMiddleware = (adaptable) => function (middlewareAPI) {
|
|
|
433
432
|
case SystemRedux.SYSTEM_HIGHLIGHT_CELL_DELETE: {
|
|
434
433
|
const actionTyped = action;
|
|
435
434
|
const ret = next(action);
|
|
436
|
-
const
|
|
437
|
-
const rowNode = adaptable.getRowNodeForPrimaryKey(cellHighlightInfo.primaryKeyValue);
|
|
435
|
+
const rowNode = adaptable.getRowNodeForPrimaryKey(actionTyped.primaryKeyValue);
|
|
438
436
|
if (rowNode) {
|
|
439
|
-
adaptable.refreshCells([rowNode], [
|
|
437
|
+
adaptable.refreshCells([rowNode], [actionTyped.columnId], true);
|
|
440
438
|
}
|
|
441
439
|
return ret;
|
|
442
440
|
}
|
|
@@ -452,6 +450,37 @@ const adaptableMiddleware = (adaptable) => function (middlewareAPI) {
|
|
|
452
450
|
});
|
|
453
451
|
return ret;
|
|
454
452
|
}
|
|
453
|
+
case SystemRedux.SYSTEM_HIGHLIGHT_ROW_ADD: {
|
|
454
|
+
const actionTyped = action;
|
|
455
|
+
const ret = next(action);
|
|
456
|
+
const rowHighlightInfo = actionTyped.rowHighlightInfo;
|
|
457
|
+
const rowNode = adaptable.getRowNodeForPrimaryKey(rowHighlightInfo.primaryKeyValue);
|
|
458
|
+
if (rowNode) {
|
|
459
|
+
adaptable.api.gridApi.refreshRowNode(rowNode);
|
|
460
|
+
}
|
|
461
|
+
return ret;
|
|
462
|
+
}
|
|
463
|
+
case SystemRedux.SYSTEM_HIGHLIGHT_ROW_DELETE: {
|
|
464
|
+
const actionTyped = action;
|
|
465
|
+
const ret = next(action);
|
|
466
|
+
const rowNode = adaptable.getRowNodeForPrimaryKey(actionTyped.primaryKeyValue);
|
|
467
|
+
if (rowNode) {
|
|
468
|
+
adaptable.api.gridApi.refreshRowNode(rowNode);
|
|
469
|
+
}
|
|
470
|
+
return ret;
|
|
471
|
+
}
|
|
472
|
+
case SystemRedux.SYSTEM_HIGHLIGHT_CELL_DELETE_ALL: {
|
|
473
|
+
const rowHighlightInfos = middlewareAPI.getState().System.HighlightedRows;
|
|
474
|
+
const ret = next(action);
|
|
475
|
+
rowHighlightInfos.forEach((rowHighlightInfo) => {
|
|
476
|
+
const rowNode = adaptable.getRowNodeForPrimaryKey(rowHighlightInfo.primaryKeyValue);
|
|
477
|
+
if (!rowNode) {
|
|
478
|
+
return;
|
|
479
|
+
}
|
|
480
|
+
adaptable.api.gridApi.refreshRowNode(rowNode);
|
|
481
|
+
});
|
|
482
|
+
return ret;
|
|
483
|
+
}
|
|
455
484
|
/*******************
|
|
456
485
|
* SPECIAL COLUMN ACTIONS
|
|
457
486
|
*******************/
|
|
@@ -515,9 +544,6 @@ const adaptableMiddleware = (adaptable) => function (middlewareAPI) {
|
|
|
515
544
|
* Action: We set up all columns again
|
|
516
545
|
*/
|
|
517
546
|
case QuickSearchRedux.QUICK_SEARCH_SET_STYLE:
|
|
518
|
-
case SparklineColumnRedux.SPARKLINE_COLUMNS_ADD:
|
|
519
|
-
case SparklineColumnRedux.SPARKLINE_COLUMNS_EDIT:
|
|
520
|
-
case SparklineColumnRedux.SPARKLINE_COLUMNS_DELETE:
|
|
521
547
|
case FormatColumnRedux.FORMAT_COLUMN_ADD:
|
|
522
548
|
case FormatColumnRedux.FORMAT_COLUMN_EDIT:
|
|
523
549
|
case FormatColumnRedux.FORMAT_COLUMN_DELETE:
|
|
@@ -652,7 +678,7 @@ const adaptableMiddleware = (adaptable) => function (middlewareAPI) {
|
|
|
652
678
|
case ScheduleRedux.OPENFIN_SCHEDULE_SUSPEND:
|
|
653
679
|
case ScheduleRedux.OPENFIN_SCHEDULE_UN_SUSPEND: {
|
|
654
680
|
let returnAction = next(action);
|
|
655
|
-
let module = adaptable.
|
|
681
|
+
let module = (adaptable.adaptableModules.get(ModuleConstants.ScheduleModuleId));
|
|
656
682
|
module.setUpSechduleJobs();
|
|
657
683
|
return returnAction;
|
|
658
684
|
}
|
|
@@ -667,7 +693,6 @@ const adaptableMiddleware = (adaptable) => function (middlewareAPI) {
|
|
|
667
693
|
case DashboardRedux.DASHBOARD_SET_IS_HIDDEN:
|
|
668
694
|
case DashboardRedux.DASHBOARD_SET_FLOATING_POSITION:
|
|
669
695
|
case DashboardRedux.DASHBOARD_SET_TABS:
|
|
670
|
-
case DashboardRedux.DASHBOARD_CREATE_DEFAULT_TAB:
|
|
671
696
|
case DashboardRedux.DASHBOARD_CLOSE_TOOLBAR: {
|
|
672
697
|
const oldDashboardState = middlewareAPI.getState().Dashboard;
|
|
673
698
|
let returnAction = next(action);
|
|
@@ -700,7 +725,7 @@ const adaptableMiddleware = (adaptable) => function (middlewareAPI) {
|
|
|
700
725
|
// tell grid the layout has been selected
|
|
701
726
|
adaptable.setLayout(currentLayout);
|
|
702
727
|
}
|
|
703
|
-
if (!((
|
|
728
|
+
if (!((_e = adaptable.adaptableOptions.layoutOptions) === null || _e === void 0 ? void 0 : _e.autoSaveLayouts)) {
|
|
704
729
|
middlewareAPI.dispatch(LayoutRedux.LayoutUpdateCurrentDraft(currentLayout));
|
|
705
730
|
}
|
|
706
731
|
}
|
|
@@ -708,7 +733,7 @@ const adaptableMiddleware = (adaptable) => function (middlewareAPI) {
|
|
|
708
733
|
returnAction.type == LayoutRedux.LAYOUT_SAVE) {
|
|
709
734
|
const actionTyped = action;
|
|
710
735
|
// if autosave is false
|
|
711
|
-
if (!((
|
|
736
|
+
if (!((_f = adaptable.adaptableOptions.layoutOptions) === null || _f === void 0 ? void 0 : _f.autoSaveLayouts)) {
|
|
712
737
|
// and the current layout is saved, make sure we also update the draft
|
|
713
738
|
if (actionTyped.layout.Name === newLayoutState.CurrentLayout) {
|
|
714
739
|
middlewareAPI.dispatch(LayoutRedux.LayoutUpdateCurrentDraft(actionTyped.layout));
|
|
@@ -731,7 +756,7 @@ const adaptableMiddleware = (adaptable) => function (middlewareAPI) {
|
|
|
731
756
|
* Action (4): Set the Preview Values (this will populate the preview screen)
|
|
732
757
|
*/
|
|
733
758
|
case SystemRedux.SYSTEM_SMARTEDIT_CHECK_CELL_SELECTION: {
|
|
734
|
-
let module = adaptable.
|
|
759
|
+
let module = (adaptable.adaptableModules.get(ModuleConstants.SmartEditModuleId));
|
|
735
760
|
let state = middlewareAPI.getState();
|
|
736
761
|
let returnAction = next(action);
|
|
737
762
|
let apiReturn = module.CheckCorrectCellSelection();
|
|
@@ -769,7 +794,7 @@ const adaptableMiddleware = (adaptable) => function (middlewareAPI) {
|
|
|
769
794
|
//all our logic needs to be executed AFTER the main reducers
|
|
770
795
|
//so our state is up to date which allow us not to care about the data within each different action
|
|
771
796
|
let returnAction = next(action);
|
|
772
|
-
let module = adaptable.
|
|
797
|
+
let module = (adaptable.adaptableModules.get(ModuleConstants.SmartEditModuleId));
|
|
773
798
|
let state = middlewareAPI.getState();
|
|
774
799
|
let apiReturn = module.BuildPreviewValues(state.System.SmartEditValue, state.System.SmartEditOperation);
|
|
775
800
|
middlewareAPI.dispatch(SystemRedux.SmartEditSetPreview(apiReturn));
|
|
@@ -781,7 +806,7 @@ const adaptableMiddleware = (adaptable) => function (middlewareAPI) {
|
|
|
781
806
|
* Action (2): Sends these new values to the Smart Edit module (which will, in turn, apply them to Adaptable)
|
|
782
807
|
*/
|
|
783
808
|
case SmartEditRedux.SMART_EDIT_COMPLETE: {
|
|
784
|
-
let module = adaptable.
|
|
809
|
+
let module = (adaptable.adaptableModules.get(ModuleConstants.SmartEditModuleId));
|
|
785
810
|
const actionTyped = action;
|
|
786
811
|
let thePreview = middlewareAPI.getState().System.SmartEditPreviewInfo;
|
|
787
812
|
let newValues = PreviewHelper_1.PreviewHelper.GetCellInfosFromPreview(thePreview, actionTyped.bypassValidationWarnings);
|
|
@@ -803,7 +828,7 @@ const adaptableMiddleware = (adaptable) => function (middlewareAPI) {
|
|
|
803
828
|
* BULK UPDATE ACTIONS
|
|
804
829
|
*******************/
|
|
805
830
|
case SystemRedux.SYSTEM_BULK_UPDATE_CHECK_CELL_SELECTION: {
|
|
806
|
-
let module = (adaptable.
|
|
831
|
+
let module = (adaptable.adaptableModules.get(ModuleConstants.BulkUpdateModuleId));
|
|
807
832
|
let state = middlewareAPI.getState();
|
|
808
833
|
let returnAction = next(action);
|
|
809
834
|
let apiReturn = module.checkCorrectCellSelection();
|
|
@@ -830,7 +855,7 @@ const adaptableMiddleware = (adaptable) => function (middlewareAPI) {
|
|
|
830
855
|
//all our logic needs to be executed AFTER the main reducers
|
|
831
856
|
//so our state is up to date which allow us not to care about the data within each different action
|
|
832
857
|
let returnAction = next(action);
|
|
833
|
-
let module = (adaptable.
|
|
858
|
+
let module = (adaptable.adaptableModules.get(ModuleConstants.BulkUpdateModuleId));
|
|
834
859
|
let state = middlewareAPI.getState();
|
|
835
860
|
let apiReturn = module.buildPreviewValues(state.System.BulkUpdateValue);
|
|
836
861
|
middlewareAPI.dispatch(SystemRedux.BulkUpdateSetPreview(apiReturn));
|
|
@@ -861,7 +886,7 @@ const adaptableMiddleware = (adaptable) => function (middlewareAPI) {
|
|
|
861
886
|
case PlusMinusRedux.PLUS_MINUS_RULE_EDIT:
|
|
862
887
|
case PlusMinusRedux.PLUS_MINUS_RULE_DELETE: {
|
|
863
888
|
let returnAction = next(action);
|
|
864
|
-
let module = adaptable.
|
|
889
|
+
let module = (adaptable.adaptableModules.get(ModuleConstants.PlusMinusModuleId));
|
|
865
890
|
if (module) {
|
|
866
891
|
module.checkListenToKeyDown();
|
|
867
892
|
}
|
|
@@ -888,7 +913,7 @@ const adaptableMiddleware = (adaptable) => function (middlewareAPI) {
|
|
|
888
913
|
case ShortcutRedux.SHORTCUT_EDIT:
|
|
889
914
|
case ShortcutRedux.SHORTCUT_DELETE: {
|
|
890
915
|
let returnAction = next(action);
|
|
891
|
-
let module = adaptable.
|
|
916
|
+
let module = (adaptable.adaptableModules.get(ModuleConstants.ShortcutModuleId));
|
|
892
917
|
if (module) {
|
|
893
918
|
module.checkListenToKeyDown();
|
|
894
919
|
}
|
|
@@ -909,10 +934,9 @@ const adaptableMiddleware = (adaptable) => function (middlewareAPI) {
|
|
|
909
934
|
return returnAction;
|
|
910
935
|
}
|
|
911
936
|
case ExportRedux.EXPORT_APPLY: {
|
|
912
|
-
let module = adaptable.
|
|
937
|
+
let module = (adaptable.adaptableModules.get(ModuleConstants.ExportModuleId));
|
|
913
938
|
const actionTyped = action;
|
|
914
939
|
module.export(actionTyped.Report, actionTyped.ExportDestination);
|
|
915
|
-
middlewareAPI.dispatch(PopupRedux.PopupHideScreen());
|
|
916
940
|
return next(action);
|
|
917
941
|
}
|
|
918
942
|
// When deleting a report check if its the currently selected one
|
|
@@ -1051,7 +1075,7 @@ const adaptableMiddleware = (adaptable) => function (middlewareAPI) {
|
|
|
1051
1075
|
case TeamSharingRedux.TEAMSHARING_IMPORT_ITEM: {
|
|
1052
1076
|
let returnAction = next(action);
|
|
1053
1077
|
const actionTyped = action;
|
|
1054
|
-
const [importStepActions, needsOverwriteConfirmation] = adaptable.api.internalApi
|
|
1078
|
+
const [importStepActions, needsOverwriteConfirmation,] = adaptable.api.internalApi
|
|
1055
1079
|
.getTeamSharingService()
|
|
1056
1080
|
.buildSharedEntityImportActions(actionTyped.SharedEntity);
|
|
1057
1081
|
const processImportAction = TeamSharingRedux.TeamSharingProcessImport(importStepActions);
|
|
@@ -1124,14 +1148,14 @@ const adaptableMiddleware = (adaptable) => function (middlewareAPI) {
|
|
|
1124
1148
|
.getSharedEntities(adaptableId)
|
|
1125
1149
|
.then((sharedEntities) => {
|
|
1126
1150
|
// check if remote server has a newer revision
|
|
1127
|
-
const [localRevision, remoteRevision] = adaptable.api.internalApi
|
|
1151
|
+
const [localRevision, remoteRevision,] = adaptable.api.internalApi
|
|
1128
1152
|
.getTeamSharingService()
|
|
1129
1153
|
.getSharedEntityLocalAndRemoteRevisions(ChangedAdaptableObject.Uuid, sharedEntities);
|
|
1130
1154
|
if (remoteRevision > localRevision) {
|
|
1131
1155
|
// if remote has a newer version, we will NOT overwrite it
|
|
1132
1156
|
return;
|
|
1133
1157
|
}
|
|
1134
|
-
const [updatedSharedEntities, newActiveEntities] = adaptable.api.internalApi
|
|
1158
|
+
const [updatedSharedEntities, newActiveEntities,] = adaptable.api.internalApi
|
|
1135
1159
|
.getTeamSharingService()
|
|
1136
1160
|
.updateActiveSharedEntity(ChangedAdaptableObject, UserName, sharedEntities);
|
|
1137
1161
|
middlewareAPI.dispatch(TeamSharingRedux.TeamSharingLinkItem(...newActiveEntities));
|
|
@@ -1187,7 +1211,7 @@ const adaptableMiddleware = (adaptable) => function (middlewareAPI) {
|
|
|
1187
1211
|
* GRID (INTERNAL) ACTIONS
|
|
1188
1212
|
*******************/
|
|
1189
1213
|
case GridRedux.GRID_CREATE_CELLS_SUMMARY: {
|
|
1190
|
-
let module = (adaptable.
|
|
1214
|
+
let module = (adaptable.adaptableModules.get(ModuleConstants.CellSummaryModuleId));
|
|
1191
1215
|
let returnAction = next(action);
|
|
1192
1216
|
let selectedCellInfo = middlewareAPI.getState().Grid.SelectedCellInfo;
|
|
1193
1217
|
let apiSummaryReturn = module.createCellSummary(selectedCellInfo);
|
|
@@ -43,7 +43,7 @@ export declare abstract class AdaptableModuleBase implements IModule {
|
|
|
43
43
|
createColumnMenuItemClickFunction(Label: string, Icon: string, ClickFunction: () => void): MenuItemDoClickFunction;
|
|
44
44
|
createColumnMenuItemReduxAction(Label: string, Icon: string, Action: Action): MenuItemDoReduxAction;
|
|
45
45
|
createColumnMenuItemShowPopup(Label: string, ComponentName: string, Icon: string, PopupParams?: ModuleParams): MenuItemShowPopup;
|
|
46
|
-
canCreateColumnMenuItem(column: AdaptableColumn, minimumAccessLevel: AccessLevel, functionType?: 'sort' | 'editable' | 'style' | '
|
|
46
|
+
canCreateColumnMenuItem(column: AdaptableColumn, minimumAccessLevel: AccessLevel, functionType?: 'sort' | 'editable' | 'style' | 'filter' | 'quickfilter' | 'numeric'): boolean;
|
|
47
47
|
getTeamSharingAction(): TeamSharingImportInfo<AdaptableObject> | undefined;
|
|
48
48
|
getModuleNamedQueryReferences(): string[];
|
|
49
49
|
getModuleCalculatedColumnReferences(): CalculatedColumn[];
|
|
@@ -127,9 +127,6 @@ class AdaptableModuleBase {
|
|
|
127
127
|
else if (functionType == 'style') {
|
|
128
128
|
return !column.isSparkline;
|
|
129
129
|
}
|
|
130
|
-
else if (functionType == 'sparkline') {
|
|
131
|
-
return column.isSparkline;
|
|
132
|
-
}
|
|
133
130
|
else if (functionType == 'numeric') {
|
|
134
131
|
return column.dataType == Enums_1.DataType.Number;
|
|
135
132
|
}
|
|
@@ -1,11 +1,12 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
1
2
|
import { AdaptableApi } from '../Api/AdaptableApi';
|
|
2
3
|
import { AlertDefinition } from '../PredefinedConfig/AlertState';
|
|
3
|
-
import { AdaptableColumn } from '../PredefinedConfig/Common/AdaptableColumn';
|
|
4
4
|
import { DataChangedInfo } from '../PredefinedConfig/Common/DataChangedInfo';
|
|
5
5
|
import { AdaptableMenuItem, ContextMenuContext } from '../PredefinedConfig/Common/Menu';
|
|
6
6
|
import { TeamSharingImportInfo } from '../PredefinedConfig/TeamSharingState';
|
|
7
|
+
import * as AlertRedux from '../Redux/ActionsReducers/AlertRedux';
|
|
7
8
|
import { AdaptableModuleBase } from './AdaptableModuleBase';
|
|
8
|
-
import { IModule } from './Interface/IModule';
|
|
9
|
+
import { AdaptableObjectView, IModule } from './Interface/IModule';
|
|
9
10
|
import { AdaptableObject } from '../PredefinedConfig/Common/AdaptableObject';
|
|
10
11
|
export declare class AlertModule extends AdaptableModuleBase implements IModule {
|
|
11
12
|
constructor(api: AdaptableApi);
|
|
@@ -13,15 +14,23 @@ export declare class AlertModule extends AdaptableModuleBase implements IModule
|
|
|
13
14
|
getExplicitlyReferencedColumnIds(alertDefinition: AlertDefinition): string[];
|
|
14
15
|
getReferencedNamedQueryNames(alertDefinition: AlertDefinition): string[];
|
|
15
16
|
updateOldConfig(): void;
|
|
16
|
-
addColumnMenuItems(column: AdaptableColumn): AdaptableMenuItem[] | undefined;
|
|
17
17
|
addContextMenuItems(menuContext: ContextMenuContext): AdaptableMenuItem[] | undefined;
|
|
18
18
|
protected handleDataSourceChanged(dataChangedInfo: DataChangedInfo): void;
|
|
19
19
|
private handleReactiveAlertTriggered;
|
|
20
20
|
private showAlertForDefinitions;
|
|
21
|
-
private showFlashingAlertsForDefinitions;
|
|
22
21
|
private getAlertDefinitionsForDataChange;
|
|
23
|
-
private getFlashingAlertDefinitionsForDataChange;
|
|
24
22
|
private getBaseAlertDefinitionsForDataChange;
|
|
25
23
|
private isAlertPredicateTriggered;
|
|
26
24
|
getTeamSharingAction(): TeamSharingImportInfo<AlertDefinition>;
|
|
25
|
+
toView(alert: AlertDefinition): AdaptableObjectView;
|
|
26
|
+
toViewAll(): AdaptableObjectView[];
|
|
27
|
+
getViewProperties(): {
|
|
28
|
+
getDeleteAction: (alertDefinition: AlertDefinition) => AlertRedux.AlertDefinitionDeleteAction;
|
|
29
|
+
getSuspendAction: (alertDefinition: AlertDefinition) => AlertRedux.AlertDefinitionSuspendAction;
|
|
30
|
+
getUnSuspendAction: (alertDefinition: AlertDefinition) => AlertRedux.AlertDefinitionUnSuspendAction;
|
|
31
|
+
emptyView: import("react").FunctionComponent<{
|
|
32
|
+
module: IModule;
|
|
33
|
+
}>;
|
|
34
|
+
getEditWizard: () => (props: import("../View/Alert/Wizard/AlertWizard").AlertWizardProps) => JSX.Element;
|
|
35
|
+
};
|
|
27
36
|
}
|