@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
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
import { ConfigState } from './ConfigState';
|
|
2
|
+
import { AdaptableStyle } from './Common/AdaptableStyle';
|
|
3
|
+
import { AdaptablePredicate, AdaptableScope } from '../types';
|
|
4
|
+
import { XOR } from '../Utilities/Extensions/TypeExtensions';
|
|
5
|
+
import { AdaptableBooleanQuery } from './Common/AdaptableQuery';
|
|
6
|
+
import { TypeHint } from './Common/Types';
|
|
7
|
+
import { SuspendableObject } from '../../types';
|
|
8
|
+
export interface FlashingCellDefinitionPredicate extends AdaptablePredicate {
|
|
9
|
+
PredicateId: TypeHint<string, SystemFlashingCellPredicateId>;
|
|
10
|
+
}
|
|
11
|
+
/**
|
|
12
|
+
* The Flashing Cell Rule - either an AdaptablePredicate or an AdaptableQuery
|
|
13
|
+
*/
|
|
14
|
+
export declare type FlashingCellRule = XOR<{
|
|
15
|
+
Predicate: FlashingCellDefinitionPredicate;
|
|
16
|
+
}, AdaptableBooleanQuery>;
|
|
17
|
+
/**
|
|
18
|
+
* Predefined Configuration for Flashing Cell module
|
|
19
|
+
*/
|
|
20
|
+
export interface FlashingCellState extends ConfigState {
|
|
21
|
+
/**
|
|
22
|
+
* Flashing Cell Definitions - will colour cells/rows when rule is met
|
|
23
|
+
* @defaultValue null
|
|
24
|
+
*/
|
|
25
|
+
FlashingCellDefinitions?: FlashingCellDefinition[];
|
|
26
|
+
}
|
|
27
|
+
/**
|
|
28
|
+
* The Flashing Cell Definition
|
|
29
|
+
*/
|
|
30
|
+
export interface FlashingCellDefinition extends SuspendableObject {
|
|
31
|
+
/**
|
|
32
|
+
* Where Flashing Cell can be triggered: one, some or all columns or DataTypes
|
|
33
|
+
*/
|
|
34
|
+
Scope: AdaptableScope;
|
|
35
|
+
/**
|
|
36
|
+
* When Flashing Cell should be triggered
|
|
37
|
+
*/
|
|
38
|
+
Rule: FlashingCellRule;
|
|
39
|
+
/**
|
|
40
|
+
* Should a cell or whole row flash
|
|
41
|
+
* @defaultValue 'cell'
|
|
42
|
+
*/
|
|
43
|
+
FlashTarget?: 'row' | 'cell';
|
|
44
|
+
/**
|
|
45
|
+
* Style for 'Down' value changes
|
|
46
|
+
* @defaultValue Red BackColour
|
|
47
|
+
*/
|
|
48
|
+
DownChangeStyle?: AdaptableStyle;
|
|
49
|
+
/**
|
|
50
|
+
* Style for 'Up' value changes
|
|
51
|
+
* @defaultValue Green BackColour
|
|
52
|
+
*/
|
|
53
|
+
UpChangeStyle?: AdaptableStyle;
|
|
54
|
+
/**
|
|
55
|
+
* Style for 'Neutral' value changes
|
|
56
|
+
* @defaultValue Gray BackColour
|
|
57
|
+
*/
|
|
58
|
+
NeutralChangeStyle?: AdaptableStyle;
|
|
59
|
+
/**
|
|
60
|
+
* Duration of Flash - can be number (in ms) or 'always'
|
|
61
|
+
* @defaultValue 500ms
|
|
62
|
+
*/
|
|
63
|
+
FlashDuration?: number | 'always';
|
|
64
|
+
}
|
|
65
|
+
export declare type SystemFlashingCellPredicateId = 'Blanks' | 'NonBlanks' | 'Equals' | 'NotEquals' | 'GreaterThan' | 'LessThan' | 'Positive' | 'Negative' | 'Zero' | 'Between' | 'NotBetween' | 'Is' | 'IsNot' | 'Contains' | 'NotContains' | 'StartsWith' | 'EndsWith' | 'Regex' | 'Today' | 'Yesterday' | 'Tomorrow' | 'ThisWeek' | 'ThisMonth' | 'ThisQuarter' | 'ThisYear' | 'InPast' | 'InFuture' | 'Before' | 'After' | 'On' | 'NotOn' | 'NextWorkDay' | 'LastWorkDay' | 'True' | 'False' | 'PercentChange' | 'IsNumeric' | 'Any';
|
|
File without changes
|
|
@@ -31,12 +31,12 @@ export interface FreeTextColumn extends AdaptableObject {
|
|
|
31
31
|
*/
|
|
32
32
|
FreeTextStoredValues?: FreeTextStoredValue[];
|
|
33
33
|
/**
|
|
34
|
-
* Cell editor to use when editing a Free Text Column
|
|
34
|
+
* Cell editor to use when editing a string Free Text Column
|
|
35
35
|
* * @defaultValue 'Inline'
|
|
36
36
|
*/
|
|
37
37
|
TextEditor?: 'Inline' | 'Large';
|
|
38
38
|
/**
|
|
39
|
-
* Whether Column is String, Number, Boolean or Date
|
|
39
|
+
* Whether Column is String, Number, Boolean or Date
|
|
40
40
|
* @defaultValue 'String'
|
|
41
41
|
*/
|
|
42
42
|
DataType?: 'String' | 'Number' | 'Boolean' | 'Date';
|
|
@@ -43,7 +43,7 @@ export interface Layout extends AdaptableObject {
|
|
|
43
43
|
*/
|
|
44
44
|
RowGroupedColumns?: string[];
|
|
45
45
|
/**
|
|
46
|
-
* Values of opened row groups
|
|
46
|
+
* Values of opened row groups
|
|
47
47
|
*/
|
|
48
48
|
ExpandedRowGroupValues?: any[];
|
|
49
49
|
/**
|
|
@@ -7,6 +7,7 @@ import { CustomSortState } from './CustomSortState';
|
|
|
7
7
|
import { DashboardState } from './DashboardState';
|
|
8
8
|
import { DataSourceState } from './DataSourceState';
|
|
9
9
|
import { ExportState } from './ExportState';
|
|
10
|
+
import { FlashingCellState } from './FlashingCellState';
|
|
10
11
|
import { FormatColumnState } from './FormatColumnState';
|
|
11
12
|
import { FreeTextColumnState } from './FreeTextColumnState';
|
|
12
13
|
import { LayoutState } from './LayoutState';
|
|
@@ -15,8 +16,6 @@ import { PlusMinusState } from './PlusMinusState';
|
|
|
15
16
|
import { QuickSearchState } from './QuickSearchState';
|
|
16
17
|
import { ShortcutState } from './ShortcutState';
|
|
17
18
|
import { ThemeState } from './ThemeState';
|
|
18
|
-
import { ChartState } from './ChartState';
|
|
19
|
-
import { SparklineColumnState } from './SparklineColumnState';
|
|
20
19
|
import { ToolPanelState } from './ToolPanelState';
|
|
21
20
|
import { QueryState } from './QueryState';
|
|
22
21
|
/**
|
|
@@ -35,10 +34,6 @@ export interface PredefinedConfig {
|
|
|
35
34
|
* Supplies a collection of *CalculatedColumn* objects that will display a value based on other cells in the row (using a Calculated Column Expression)
|
|
36
35
|
*/
|
|
37
36
|
CalculatedColumn?: CalculatedColumnState;
|
|
38
|
-
/**
|
|
39
|
-
* Collection of Charts to enable seeing grid data visually in chart format (requires Chart plugin)
|
|
40
|
-
*/
|
|
41
|
-
Chart?: ChartState;
|
|
42
37
|
/**
|
|
43
38
|
* Supplies a collection of *ConditionalStyle* objects to provides columns and rows with a particular style when the data matches a given rule
|
|
44
39
|
*/
|
|
@@ -95,10 +90,6 @@ export interface PredefinedConfig {
|
|
|
95
90
|
* Supplies a collection of *Shortcut* objects to aid data entry and prevent 'fat finger' issues
|
|
96
91
|
*/
|
|
97
92
|
Shortcut?: ShortcutState;
|
|
98
|
-
/**
|
|
99
|
-
* Columns - where data type is a numeric array - which is rendered as a Sparkline Chart - only populated at Design Time
|
|
100
|
-
*/
|
|
101
|
-
SparklineColumn?: SparklineColumnState;
|
|
102
93
|
/**
|
|
103
94
|
* Specifies the current Theme and lists the User and System themes available for selection.
|
|
104
95
|
*/
|
|
@@ -107,4 +98,5 @@ export interface PredefinedConfig {
|
|
|
107
98
|
* Sets the order and visibility of the Tool Panel controls in the AdapTable ToolPanel (on right of grid)
|
|
108
99
|
*/
|
|
109
100
|
ToolPanel?: ToolPanelState;
|
|
101
|
+
FlashingCell?: FlashingCellState;
|
|
110
102
|
}
|
|
@@ -4,7 +4,6 @@ import { IPushPullSchedule } from './IPushPullState';
|
|
|
4
4
|
import { OpenFinSchedule } from './OpenFinState';
|
|
5
5
|
import { AdaptableMessageType, ReportSchedule } from '../types';
|
|
6
6
|
import { BaseSchedule } from './Common/Schedule';
|
|
7
|
-
import { AdaptableObject } from './Common/AdaptableObject';
|
|
8
7
|
/**
|
|
9
8
|
* Predefined Configuration for the Schedule Module
|
|
10
9
|
*
|
|
@@ -32,12 +31,9 @@ export interface ScheduleState extends ConfigState {
|
|
|
32
31
|
OpenFinSchedules?: OpenFinSchedule[];
|
|
33
32
|
}
|
|
34
33
|
/**
|
|
35
|
-
* Schedules a Reminder
|
|
34
|
+
* Schedules a Reminder to appear at a given point in time
|
|
36
35
|
*/
|
|
37
36
|
export interface ReminderSchedule extends BaseSchedule {
|
|
38
|
-
Reminder: Reminder;
|
|
39
|
-
}
|
|
40
|
-
export interface Reminder extends AdaptableObject {
|
|
41
37
|
/**
|
|
42
38
|
* Reminder header text
|
|
43
39
|
*/
|
|
@@ -19,7 +19,7 @@ export declare type ShortcutScopeDataType = 'Number';
|
|
|
19
19
|
*/
|
|
20
20
|
export interface Shortcut extends SuspendableObject {
|
|
21
21
|
/**
|
|
22
|
-
*
|
|
22
|
+
* Numeric Columns where Shortcut is applied
|
|
23
23
|
*/
|
|
24
24
|
Scope: AdaptableScope<ShortcutScopeDataType>;
|
|
25
25
|
/**
|
|
@@ -1,17 +1,15 @@
|
|
|
1
1
|
import { PreviewInfo } from '../Utilities/Interface/Preview';
|
|
2
|
-
import { ChartVisibility } from './Common/ChartEnums';
|
|
3
2
|
import { InternalState } from './InternalState';
|
|
4
|
-
import { ChartData } from './ChartState';
|
|
5
3
|
import { BulkUpdateValidationResult } from '../Strategy/Interface/IBulkUpdateModule';
|
|
6
4
|
import { DataChangedInfo, GridCell } from '../types';
|
|
7
5
|
import type { IPushPullState, IPushPullReport, IPushPullDomain } from './IPushPullState';
|
|
8
6
|
import { Glue42State, Glue42Report } from './Glue42State';
|
|
9
7
|
import { OpenFinState, OpenFinReport } from './OpenFinState';
|
|
10
8
|
import { AdaptableAlert } from './Common/AdaptableAlert';
|
|
11
|
-
import { CellHighlightInfo } from './Common/CellHighlightInfo';
|
|
9
|
+
import { CellHighlightInfo, RowHighlightInfo } from './Common/CellHighlightInfo';
|
|
12
10
|
import { SystemStatusMessageInfo } from './Common/SystemStatusMessageInfo';
|
|
13
11
|
import { CachedQuery } from './QueryState';
|
|
14
|
-
import {
|
|
12
|
+
import { AdaptableFlashingCell } from './Common/AdaptableFlashingCell';
|
|
15
13
|
import { TypeUuid } from './Uuid';
|
|
16
14
|
import { SummaryOperation } from './Common/Enums';
|
|
17
15
|
import { ExportCustomDestinationPopup } from './ExportState';
|
|
@@ -29,16 +27,15 @@ export interface SystemState extends InternalState, IPushPullState, Glue42State,
|
|
|
29
27
|
Export: {
|
|
30
28
|
CustomDestinationPopups: ExportCustomDestinationPopup[];
|
|
31
29
|
};
|
|
32
|
-
|
|
33
|
-
|
|
30
|
+
AdaptableFlashingCells: Record<ROW_PRIMARY_KEY, Record<COLUMN_ID_OR_WHOLE_ROW_LABEL, TypeUuid>>;
|
|
31
|
+
AdaptableFlashingCellsMap: Record<TypeUuid, AdaptableFlashingCell>;
|
|
34
32
|
SystemStatusMessages: SystemStatusMessageInfo[];
|
|
35
33
|
HighlightedCells: CellHighlightInfo[];
|
|
34
|
+
HighlightedRows: RowHighlightInfo[];
|
|
36
35
|
IsValidSmartEditSelection: boolean;
|
|
37
36
|
SmartEditPreviewInfo: PreviewInfo;
|
|
38
37
|
BulkUpdateValidationResult: BulkUpdateValidationResult;
|
|
39
38
|
BulkUpdatePreviewInfo: PreviewInfo;
|
|
40
|
-
ChartData: ChartData;
|
|
41
|
-
ChartVisibility: ChartVisibility;
|
|
42
39
|
CalculatedColumnErrorMessage: string;
|
|
43
40
|
ReportErrorMessage: string;
|
|
44
41
|
LastAppliedShortCut: GridCell | undefined;
|
|
@@ -61,6 +58,18 @@ export interface SystemState extends InternalState, IPushPullState, Glue42State,
|
|
|
61
58
|
enableTime: Date;
|
|
62
59
|
suspendTime: Date;
|
|
63
60
|
};
|
|
61
|
+
SettingsPanel: {
|
|
62
|
+
[key: string]: {
|
|
63
|
+
position: {
|
|
64
|
+
x: number;
|
|
65
|
+
y: number;
|
|
66
|
+
};
|
|
67
|
+
size: {
|
|
68
|
+
width: number;
|
|
69
|
+
height: number;
|
|
70
|
+
};
|
|
71
|
+
};
|
|
72
|
+
};
|
|
64
73
|
}
|
|
65
74
|
export interface ProgressIndicator {
|
|
66
75
|
active: boolean;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { ConfigState } from './ConfigState';
|
|
2
2
|
import { AdaptableObject } from './Common/AdaptableObject';
|
|
3
|
+
import { TypeHint } from './Common/Types';
|
|
3
4
|
/**
|
|
4
5
|
* Theme section of Adaptable State
|
|
5
6
|
*/
|
|
@@ -7,7 +8,7 @@ export interface ThemeState extends ConfigState {
|
|
|
7
8
|
/**
|
|
8
9
|
* Name of current theme (or theme to set at startup); leave blank if using 'Light Theme', set to 'dark' for 'Dark Theme' or provide name of Custom Theme
|
|
9
10
|
*/
|
|
10
|
-
CurrentTheme?: string
|
|
11
|
+
CurrentTheme?: TypeHint<string, 'light' | 'dark'>;
|
|
11
12
|
/**
|
|
12
13
|
* Which, if any, of the 2 themes shipped by Adaptable should be available; leave unset to provide both, or an empty array to provide neither.
|
|
13
14
|
*/
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { AlertState, AlertDefinition } from '../../PredefinedConfig/AlertState';
|
|
2
2
|
import * as Redux from 'redux';
|
|
3
|
-
import { FlashingAlertDefinition } from '../../PredefinedConfig/AlertState';
|
|
4
3
|
/**
|
|
5
4
|
* @ReduxAction An Alert Definition has been added
|
|
6
5
|
*/
|
|
@@ -21,26 +20,7 @@ export declare const ALERT_DEFINITION_SUSPEND = "ALERT_DEFINITION_SUSPEND";
|
|
|
21
20
|
* @ReduxAction Alert Definition is un-suspended, or activated
|
|
22
21
|
*/
|
|
23
22
|
export declare const ALERT_DEFINITION_UN_SUSPEND = "ALERT_DEFINITION_UN_SUSPEND";
|
|
24
|
-
|
|
25
|
-
* @ReduxAction A Flashing Alert Definition has been added
|
|
26
|
-
*/
|
|
27
|
-
export declare const FLASHING_ALERT_DEFINITION_ADD = "FLASHING_ALERT_DEFINITION_ADD";
|
|
28
|
-
/**
|
|
29
|
-
* @ReduxAction A Flashing Alert Definition has been edited
|
|
30
|
-
*/
|
|
31
|
-
export declare const FLASHING_ALERT_DEFINITION_EDIT = "FLASHING_ALERT_DEFINITION_EDIT";
|
|
32
|
-
/**
|
|
33
|
-
* @ReduxAction A Flashing Alert Definition has been deleted
|
|
34
|
-
*/
|
|
35
|
-
export declare const FLASHING_ALERT_DEFINITION_DELETE = "FLASHING_ALERT_DEFINITION_DELETE";
|
|
36
|
-
/**
|
|
37
|
-
* @ReduxAction Flashing Alert Definition Style is suspended
|
|
38
|
-
*/
|
|
39
|
-
export declare const FLASHING_ALERT_DEFINITION_SUSPEND = "FLASHING_ALERT_DEFINITION_SUSPEND";
|
|
40
|
-
/**
|
|
41
|
-
* @ReduxAction Flashing Alert Definition is un-suspended, or activated
|
|
42
|
-
*/
|
|
43
|
-
export declare const FLASHING_ALERT_DEFINITION_UN_SUSPEND = "FLASHING_ALERT_DEFINITION_UN_SUSPEND";
|
|
23
|
+
export declare const ALERT_CLEAR_FLASHING_CELLS = "ALERT_CLEAR_FLASHING_CELLS";
|
|
44
24
|
/**
|
|
45
25
|
* @ReduxAction Alert Module is ready
|
|
46
26
|
*/
|
|
@@ -48,9 +28,6 @@ export declare const ALERT_READY = "ALERT_READY";
|
|
|
48
28
|
export interface AlertDefinitionAction extends Redux.Action {
|
|
49
29
|
alertDefinition: AlertDefinition;
|
|
50
30
|
}
|
|
51
|
-
export interface FlashingAlertDefinitionAction extends Redux.Action {
|
|
52
|
-
flashingAlertDefinition: FlashingAlertDefinition;
|
|
53
|
-
}
|
|
54
31
|
export interface AlertDefinitionAddAction extends AlertDefinitionAction {
|
|
55
32
|
}
|
|
56
33
|
export interface AlertDefinitionEditAction extends AlertDefinitionAction {
|
|
@@ -61,15 +38,7 @@ export interface AlertDefinitionSuspendAction extends AlertDefinitionAction {
|
|
|
61
38
|
}
|
|
62
39
|
export interface AlertDefinitionUnSuspendAction extends AlertDefinitionAction {
|
|
63
40
|
}
|
|
64
|
-
export interface
|
|
65
|
-
}
|
|
66
|
-
export interface FlashingAlertDefinitionEditAction extends FlashingAlertDefinitionAction {
|
|
67
|
-
}
|
|
68
|
-
export interface FlashingAlertDefinitionDeleteAction extends FlashingAlertDefinitionAction {
|
|
69
|
-
}
|
|
70
|
-
export interface FlashingAlertDefinitionSuspendAction extends FlashingAlertDefinitionAction {
|
|
71
|
-
}
|
|
72
|
-
export interface FlashingAlertDefinitionUnSuspendAction extends FlashingAlertDefinitionAction {
|
|
41
|
+
export interface AlertClearFlashingCellAction extends Redux.Action {
|
|
73
42
|
}
|
|
74
43
|
export interface AlertReadyAction extends Redux.Action {
|
|
75
44
|
alertState: AlertState;
|
|
@@ -79,10 +48,6 @@ export declare const AlertDefinitionEdit: (alertDefinition: AlertDefinition) =>
|
|
|
79
48
|
export declare const AlertDefinitionDelete: (alertDefinition: AlertDefinition) => AlertDefinitionDeleteAction;
|
|
80
49
|
export declare const AlertDefinitionSuspend: (alertDefinition: AlertDefinition) => AlertDefinitionSuspendAction;
|
|
81
50
|
export declare const AlertDefinitionUnSuspend: (alertDefinition: AlertDefinition) => AlertDefinitionUnSuspendAction;
|
|
82
|
-
export declare const FlashingAlertDefinitionAdd: (flashingAlertDefinition: FlashingAlertDefinition) => FlashingAlertDefinitionAddAction;
|
|
83
|
-
export declare const FlashingAlertDefinitionEdit: (flashingAlertDefinition: FlashingAlertDefinition) => FlashingAlertDefinitionEditAction;
|
|
84
|
-
export declare const FlashingAlertDefinitionDelete: (flashingAlertDefinition: FlashingAlertDefinition) => FlashingAlertDefinitionDeleteAction;
|
|
85
|
-
export declare const FlashingAlertDefinitionSuspend: (flashingAlertDefinition: FlashingAlertDefinition) => FlashingAlertDefinitionEditAction;
|
|
86
|
-
export declare const FlashingAlertDefinitionUnSuspend: (flashingAlertDefinition: FlashingAlertDefinition) => FlashingAlertDefinitionEditAction;
|
|
87
51
|
export declare const AlertReady: (alertState: AlertState) => AlertReadyAction;
|
|
52
|
+
export declare const AlertClearFlashingCells: () => AlertClearFlashingCellAction;
|
|
88
53
|
export declare const AlertReducer: Redux.Reducer<AlertState>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.AlertReducer = exports.
|
|
3
|
+
exports.AlertReducer = exports.AlertClearFlashingCells = exports.AlertReady = exports.AlertDefinitionUnSuspend = exports.AlertDefinitionSuspend = exports.AlertDefinitionDelete = exports.AlertDefinitionEdit = exports.AlertDefinitionAdd = exports.ALERT_READY = exports.ALERT_CLEAR_FLASHING_CELLS = exports.ALERT_DEFINITION_UN_SUSPEND = exports.ALERT_DEFINITION_SUSPEND = exports.ALERT_DEFINITION_DELETE = exports.ALERT_DEFINITION_EDIT = exports.ALERT_DEFINITION_ADD = void 0;
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
5
|
const GeneralConstants_1 = require("../../Utilities/Constants/GeneralConstants");
|
|
6
6
|
const AdaptableHelper_1 = tslib_1.__importDefault(require("../../Utilities/Helpers/AdaptableHelper"));
|
|
@@ -25,26 +25,7 @@ exports.ALERT_DEFINITION_SUSPEND = 'ALERT_DEFINITION_SUSPEND';
|
|
|
25
25
|
* @ReduxAction Alert Definition is un-suspended, or activated
|
|
26
26
|
*/
|
|
27
27
|
exports.ALERT_DEFINITION_UN_SUSPEND = 'ALERT_DEFINITION_UN_SUSPEND';
|
|
28
|
-
|
|
29
|
-
* @ReduxAction A Flashing Alert Definition has been added
|
|
30
|
-
*/
|
|
31
|
-
exports.FLASHING_ALERT_DEFINITION_ADD = 'FLASHING_ALERT_DEFINITION_ADD';
|
|
32
|
-
/**
|
|
33
|
-
* @ReduxAction A Flashing Alert Definition has been edited
|
|
34
|
-
*/
|
|
35
|
-
exports.FLASHING_ALERT_DEFINITION_EDIT = 'FLASHING_ALERT_DEFINITION_EDIT';
|
|
36
|
-
/**
|
|
37
|
-
* @ReduxAction A Flashing Alert Definition has been deleted
|
|
38
|
-
*/
|
|
39
|
-
exports.FLASHING_ALERT_DEFINITION_DELETE = 'FLASHING_ALERT_DEFINITION_DELETE';
|
|
40
|
-
/**
|
|
41
|
-
* @ReduxAction Flashing Alert Definition Style is suspended
|
|
42
|
-
*/
|
|
43
|
-
exports.FLASHING_ALERT_DEFINITION_SUSPEND = 'FLASHING_ALERT_DEFINITION_SUSPEND';
|
|
44
|
-
/**
|
|
45
|
-
* @ReduxAction Flashing Alert Definition is un-suspended, or activated
|
|
46
|
-
*/
|
|
47
|
-
exports.FLASHING_ALERT_DEFINITION_UN_SUSPEND = 'FLASHING_ALERT_DEFINITION_UN_SUSPEND';
|
|
28
|
+
exports.ALERT_CLEAR_FLASHING_CELLS = 'ALERT_CLEAR_FLASHING_CELLS';
|
|
48
29
|
/**
|
|
49
30
|
* @ReduxAction Alert Module is ready
|
|
50
31
|
*/
|
|
@@ -69,37 +50,18 @@ exports.AlertDefinitionUnSuspend = (alertDefinition) => ({
|
|
|
69
50
|
type: exports.ALERT_DEFINITION_UN_SUSPEND,
|
|
70
51
|
alertDefinition,
|
|
71
52
|
});
|
|
72
|
-
exports.FlashingAlertDefinitionAdd = (flashingAlertDefinition) => ({
|
|
73
|
-
type: exports.FLASHING_ALERT_DEFINITION_ADD,
|
|
74
|
-
flashingAlertDefinition,
|
|
75
|
-
});
|
|
76
|
-
exports.FlashingAlertDefinitionEdit = (flashingAlertDefinition) => ({
|
|
77
|
-
type: exports.FLASHING_ALERT_DEFINITION_EDIT,
|
|
78
|
-
flashingAlertDefinition,
|
|
79
|
-
});
|
|
80
|
-
exports.FlashingAlertDefinitionDelete = (flashingAlertDefinition) => ({
|
|
81
|
-
type: exports.FLASHING_ALERT_DEFINITION_DELETE,
|
|
82
|
-
flashingAlertDefinition,
|
|
83
|
-
});
|
|
84
|
-
exports.FlashingAlertDefinitionSuspend = (flashingAlertDefinition) => ({
|
|
85
|
-
type: exports.FLASHING_ALERT_DEFINITION_SUSPEND,
|
|
86
|
-
flashingAlertDefinition,
|
|
87
|
-
});
|
|
88
|
-
exports.FlashingAlertDefinitionUnSuspend = (flashingAlertDefinition) => ({
|
|
89
|
-
type: exports.FLASHING_ALERT_DEFINITION_UN_SUSPEND,
|
|
90
|
-
flashingAlertDefinition,
|
|
91
|
-
});
|
|
92
53
|
exports.AlertReady = (alertState) => ({
|
|
93
54
|
type: exports.ALERT_READY,
|
|
94
55
|
alertState,
|
|
95
56
|
});
|
|
57
|
+
exports.AlertClearFlashingCells = () => ({
|
|
58
|
+
type: exports.ALERT_CLEAR_FLASHING_CELLS,
|
|
59
|
+
});
|
|
96
60
|
const initialState = {
|
|
97
61
|
AlertDefinitions: GeneralConstants_1.EMPTY_ARRAY,
|
|
98
|
-
FlashingAlertDefinitions: [],
|
|
99
62
|
};
|
|
100
63
|
exports.AlertReducer = (state = initialState, action) => {
|
|
101
64
|
let alertDefinitions;
|
|
102
|
-
let flashingAlertDefinitions;
|
|
103
65
|
switch (action.type) {
|
|
104
66
|
case exports.ALERT_DEFINITION_ADD: {
|
|
105
67
|
const actionAlertDefinition = action
|
|
@@ -125,31 +87,10 @@ exports.AlertReducer = (state = initialState, action) => {
|
|
|
125
87
|
case exports.ALERT_DEFINITION_UN_SUSPEND: {
|
|
126
88
|
return Object.assign(Object.assign({}, state), { AlertDefinitions: utils_1.changeIsSuspendInList(action.alertDefinition, state.AlertDefinitions, false) });
|
|
127
89
|
}
|
|
128
|
-
case exports.
|
|
129
|
-
|
|
130
|
-
.
|
|
131
|
-
|
|
132
|
-
flashingAlertDefinitions = [].concat(state.FlashingAlertDefinitions);
|
|
133
|
-
flashingAlertDefinitions.push(actionFlashingAlertDefinition);
|
|
134
|
-
return Object.assign(Object.assign({}, state), { FlashingAlertDefinitions: flashingAlertDefinitions });
|
|
135
|
-
}
|
|
136
|
-
case exports.FLASHING_ALERT_DEFINITION_EDIT: {
|
|
137
|
-
const actionFlashingAlertDefinition = action
|
|
138
|
-
.flashingAlertDefinition;
|
|
139
|
-
return Object.assign(Object.assign({}, state), { FlashingAlertDefinitions: state.FlashingAlertDefinitions.map((abObject) => abObject.Uuid === actionFlashingAlertDefinition.Uuid
|
|
140
|
-
? actionFlashingAlertDefinition
|
|
141
|
-
: abObject) });
|
|
142
|
-
}
|
|
143
|
-
case exports.FLASHING_ALERT_DEFINITION_DELETE: {
|
|
144
|
-
const actionFlashingAlertDefinition = action
|
|
145
|
-
.flashingAlertDefinition;
|
|
146
|
-
return Object.assign(Object.assign({}, state), { FlashingAlertDefinitions: state.FlashingAlertDefinitions.filter((abObject) => abObject.Uuid !== actionFlashingAlertDefinition.Uuid) });
|
|
147
|
-
}
|
|
148
|
-
case exports.FLASHING_ALERT_DEFINITION_SUSPEND: {
|
|
149
|
-
return Object.assign(Object.assign({}, state), { FlashingAlertDefinitions: utils_1.changeIsSuspendInList(action.flashingAlertDefinition, state.FlashingAlertDefinitions, true) });
|
|
150
|
-
}
|
|
151
|
-
case exports.FLASHING_ALERT_DEFINITION_UN_SUSPEND: {
|
|
152
|
-
return Object.assign(Object.assign({}, state), { FlashingAlertDefinitions: utils_1.changeIsSuspendInList(action.flashingAlertDefinition, state.FlashingAlertDefinitions, false) });
|
|
90
|
+
case exports.ALERT_CLEAR_FLASHING_CELLS: {
|
|
91
|
+
return {
|
|
92
|
+
AlertDefinitions: state.AlertDefinitions,
|
|
93
|
+
};
|
|
153
94
|
}
|
|
154
95
|
default:
|
|
155
96
|
return state;
|
|
@@ -35,10 +35,6 @@ export declare const DASHBOARD_SET_FLOATING_POSITION = "DASHBOARD_SET_FLOATING_P
|
|
|
35
35
|
* @ReduxAction New Dashboard Tabs have been set
|
|
36
36
|
*/
|
|
37
37
|
export declare const DASHBOARD_SET_TABS = "DASHBOARD_SET_TABS";
|
|
38
|
-
/**
|
|
39
|
-
* @ReduxAction A default Tab has been created
|
|
40
|
-
*/
|
|
41
|
-
export declare const DASHBOARD_CREATE_DEFAULT_TAB = "DASHBOARD_CREATE_DEFAULT_TAB";
|
|
42
38
|
/**
|
|
43
39
|
* @ReduxAction A Toolbar has been closed
|
|
44
40
|
*/
|
|
@@ -85,8 +81,6 @@ export interface DashboardSetFloatingPositionAction extends Redux.Action {
|
|
|
85
81
|
export interface DashboardCloseToolbarAction extends Redux.Action {
|
|
86
82
|
toolbar: AdaptableDashboardToolbar;
|
|
87
83
|
}
|
|
88
|
-
export interface DashboardCreateDefaultTabAction extends Redux.Action {
|
|
89
|
-
}
|
|
90
84
|
export interface DashboardSetTabsAction extends Redux.Action {
|
|
91
85
|
Tabs: DashboardTab[];
|
|
92
86
|
}
|
|
@@ -109,7 +103,6 @@ export declare const DashboardSetIsHidden: (IsHidden: boolean) => DashboardSetIs
|
|
|
109
103
|
export declare const DashboardSetIsInline: (IsInline: boolean) => DashboardSetIsInlineAction;
|
|
110
104
|
export declare const DashboardSetFloatingPosition: (FloatingPosition: AdaptableCoordinate) => DashboardSetFloatingPositionAction;
|
|
111
105
|
export declare const DashboardSetTabs: (Tabs: DashboardTab[]) => DashboardSetTabsAction;
|
|
112
|
-
export declare const DashboardCreateDefaultTab: () => DashboardCreateDefaultTabAction;
|
|
113
106
|
export declare const DashboardCloseToolbar: (toolbar: AdaptableDashboardToolbar) => DashboardCloseToolbarAction;
|
|
114
107
|
export declare const DashboardSetTitle: (title: string) => DashboardSetTitleAction;
|
|
115
108
|
export declare const DashboardReady: (dashboardState: DashboardState) => DashboardReadyAction;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.DashboardReducer = exports.DashboardReady = exports.DashboardSetTitle = exports.DashboardCloseToolbar = exports.
|
|
3
|
+
exports.DashboardReducer = exports.DashboardReady = exports.DashboardSetTitle = exports.DashboardCloseToolbar = exports.DashboardSetTabs = exports.DashboardSetFloatingPosition = exports.DashboardSetIsInline = exports.DashboardSetIsHidden = exports.DashboardSetIsFloating = exports.DashboardSetIsCollapsed = exports.DashboardSetActiveTabIndex = exports.DashboardSetModuleButtons = exports.DASHBOARD_READY = exports.DASHBOARD_SET_TITLE = exports.DASHBOARD_CLOSE_TOOLBAR = exports.DASHBOARD_SET_TABS = exports.DASHBOARD_SET_FLOATING_POSITION = exports.DASHBOARD_SET_IS_HIDDEN = exports.DASHBOARD_SET_IS_INLINE = exports.DASHBOARD_SET_IS_FLOATING = exports.DASHBOARD_SET_IS_COLLAPSED = exports.DASHBOARD_ACTIVE_TAB_INDEX_CHANGE = exports.DASHBOARD_SET_MODULE_BUTTONS = void 0;
|
|
4
4
|
const GeneralConstants_1 = require("../../Utilities/Constants/GeneralConstants");
|
|
5
5
|
/**
|
|
6
6
|
* @ReduxAction The Module Buttons have been set in the Dashboard
|
|
@@ -34,10 +34,6 @@ exports.DASHBOARD_SET_FLOATING_POSITION = 'DASHBOARD_SET_FLOATING_POSITION';
|
|
|
34
34
|
* @ReduxAction New Dashboard Tabs have been set
|
|
35
35
|
*/
|
|
36
36
|
exports.DASHBOARD_SET_TABS = 'DASHBOARD_SET_TABS';
|
|
37
|
-
/**
|
|
38
|
-
* @ReduxAction A default Tab has been created
|
|
39
|
-
*/
|
|
40
|
-
exports.DASHBOARD_CREATE_DEFAULT_TAB = 'DASHBOARD_CREATE_DEFAULT_TAB';
|
|
41
37
|
/**
|
|
42
38
|
* @ReduxAction A Toolbar has been closed
|
|
43
39
|
*/
|
|
@@ -82,9 +78,6 @@ exports.DashboardSetTabs = (Tabs) => ({
|
|
|
82
78
|
type: exports.DASHBOARD_SET_TABS,
|
|
83
79
|
Tabs,
|
|
84
80
|
});
|
|
85
|
-
exports.DashboardCreateDefaultTab = () => ({
|
|
86
|
-
type: exports.DASHBOARD_CREATE_DEFAULT_TAB,
|
|
87
|
-
});
|
|
88
81
|
exports.DashboardCloseToolbar = (toolbar) => ({
|
|
89
82
|
toolbar,
|
|
90
83
|
type: exports.DASHBOARD_CLOSE_TOOLBAR,
|
|
@@ -98,14 +91,14 @@ exports.DashboardReady = (dashboardState) => ({
|
|
|
98
91
|
dashboardState,
|
|
99
92
|
});
|
|
100
93
|
const initialState = {
|
|
101
|
-
Tabs:
|
|
94
|
+
Tabs: GeneralConstants_1.EMPTY_ARRAY,
|
|
102
95
|
ActiveTabIndex: 0,
|
|
103
96
|
IsCollapsed: false,
|
|
104
97
|
IsFloating: false,
|
|
105
98
|
IsHidden: false,
|
|
106
99
|
IsInline: false,
|
|
107
100
|
FloatingPosition: { x: 100, y: 100 },
|
|
108
|
-
ModuleButtons:
|
|
101
|
+
ModuleButtons: ['SettingsPanel'],
|
|
109
102
|
DashboardTitle: '',
|
|
110
103
|
};
|
|
111
104
|
exports.DashboardReducer = (state = initialState, action) => {
|
|
@@ -146,9 +139,6 @@ exports.DashboardReducer = (state = initialState, action) => {
|
|
|
146
139
|
const { Tabs } = action;
|
|
147
140
|
return Object.assign(Object.assign({}, state), { Tabs });
|
|
148
141
|
}
|
|
149
|
-
case exports.DASHBOARD_CREATE_DEFAULT_TAB: {
|
|
150
|
-
return Object.assign(Object.assign({}, state), { Tabs: [{ Name: 'Toolbars', Toolbars: ['Query', 'Layout', 'Export', 'Filter'] }] });
|
|
151
|
-
}
|
|
152
142
|
case exports.DASHBOARD_CLOSE_TOOLBAR: {
|
|
153
143
|
const actionTyped = action;
|
|
154
144
|
const tabs = [].concat(state.Tabs);
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
import { FlashingCellState } from '../../PredefinedConfig/FlashingCellState';
|
|
2
|
+
import * as Redux from 'redux';
|
|
3
|
+
import { FlashingCellDefinition } from '../../PredefinedConfig/FlashingCellState';
|
|
4
|
+
/**
|
|
5
|
+
* @ReduxAction A Flashing Alert Definition has been added
|
|
6
|
+
*/
|
|
7
|
+
export declare const FLASHING_ALERT_DEFINITION_ADD = "FLASHING_ALERT_DEFINITION_ADD";
|
|
8
|
+
/**
|
|
9
|
+
* @ReduxAction A Flashing Alert Definition has been edited
|
|
10
|
+
*/
|
|
11
|
+
export declare const FLASHING_ALERT_DEFINITION_EDIT = "FLASHING_ALERT_DEFINITION_EDIT";
|
|
12
|
+
/**
|
|
13
|
+
* @ReduxAction A Flashing Alert Definition has been deleted
|
|
14
|
+
*/
|
|
15
|
+
export declare const FLASHING_ALERT_DEFINITION_DELETE = "FLASHING_ALERT_DEFINITION_DELETE";
|
|
16
|
+
/**
|
|
17
|
+
* @ReduxAction Flashing Alert Definition Style is suspended
|
|
18
|
+
*/
|
|
19
|
+
export declare const FLASHING_ALERT_DEFINITION_SUSPEND = "FLASHING_ALERT_DEFINITION_SUSPEND";
|
|
20
|
+
/**
|
|
21
|
+
* @ReduxAction Flashing Alert Definition is un-suspended, or activated
|
|
22
|
+
*/
|
|
23
|
+
export declare const FLASHING_ALERT_DEFINITION_UN_SUSPEND = "FLASHING_ALERT_DEFINITION_UN_SUSPEND";
|
|
24
|
+
/**
|
|
25
|
+
* @ReduxAction Flashing cell Module is ready
|
|
26
|
+
*/
|
|
27
|
+
export declare const FLASHING_CELL_READY = "FLASHING_CELL_READY";
|
|
28
|
+
export declare const FLASHING_ALERT_DEFINITION_SET = "FLASHING_ALERT_DEFINITION_SET";
|
|
29
|
+
export interface FlashingCellDefinitionAction extends Redux.Action {
|
|
30
|
+
flashingCellDefinition: FlashingCellDefinition;
|
|
31
|
+
}
|
|
32
|
+
export interface FlashingCellDefinitionAddAction extends FlashingCellDefinitionAction {
|
|
33
|
+
}
|
|
34
|
+
export interface FlashingCellDefinitionSetAction extends Redux.Action {
|
|
35
|
+
flashingCellDefinitions: FlashingCellDefinition[];
|
|
36
|
+
}
|
|
37
|
+
export interface FlashingCellDefinitionEditAction extends FlashingCellDefinitionAction {
|
|
38
|
+
}
|
|
39
|
+
export interface FlashingCellDefinitionDeleteAction extends FlashingCellDefinitionAction {
|
|
40
|
+
}
|
|
41
|
+
export interface FlashingCellDefinitionSuspendAction extends FlashingCellDefinitionAction {
|
|
42
|
+
}
|
|
43
|
+
export interface FlashingCellDefinitionUnSuspendAction extends FlashingCellDefinitionAction {
|
|
44
|
+
}
|
|
45
|
+
export interface FlashingCellReadyAction extends Redux.Action {
|
|
46
|
+
alertState: FlashingCellState;
|
|
47
|
+
}
|
|
48
|
+
export declare const FlashingCellDefinitionAdd: (flashingCellDefinition: FlashingCellDefinition) => FlashingCellDefinitionAddAction;
|
|
49
|
+
export declare const FlashingCellDefinitionSet: (flashingCellDefinitions: FlashingCellDefinition[]) => FlashingCellDefinitionSetAction;
|
|
50
|
+
export declare const FlashingCellDefinitionEdit: (flashingCellDefinition: FlashingCellDefinition) => FlashingCellDefinitionEditAction;
|
|
51
|
+
export declare const FlashingCellDefinitionDelete: (flashingCellDefinition: FlashingCellDefinition) => FlashingCellDefinitionDeleteAction;
|
|
52
|
+
export declare const FlashingCellDefinitionSuspend: (flashingCellDefinition: FlashingCellDefinition) => FlashingCellDefinitionEditAction;
|
|
53
|
+
export declare const FlashingCellDefinitionUnSuspend: (flashingCellDefinition: FlashingCellDefinition) => FlashingCellDefinitionEditAction;
|
|
54
|
+
export declare const FlashingCellReady: (alertState: FlashingCellState) => FlashingCellReadyAction;
|
|
55
|
+
export declare const FlashingCellReducer: Redux.Reducer<FlashingCellState>;
|