@adaptabletools/adaptable 10.0.4-canary.2 → 11.0.0-canary.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE.md +1 -1
- package/agGrid.d.ts +2 -2
- package/base.css +372 -86
- package/bundle.cjs.js +141 -136
- package/index.css +435 -95
- package/package.json +5 -4
- package/publishTimestamp.d.ts +1 -1
- package/publishTimestamp.js +1 -1
- package/src/AdaptableInterfaces/IAdaptable.d.ts +12 -6
- package/src/AdaptableOptions/AdaptableOptions.d.ts +19 -3
- package/src/AdaptableOptions/ContainerOptions.d.ts +0 -7
- package/src/AdaptableOptions/DashboardOptions.d.ts +4 -7
- 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/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/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 +14 -8
- 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/FilterApiImpl.js +1 -1
- 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 -6
- package/src/Api/Implementation/InternalApiImpl.js +5 -10
- 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 -8
- 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/AdaptableScope.d.ts +3 -3
- 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 +3 -2
- 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 +6 -2
- 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.js +2 -2
- 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 -65
- 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/ExpressionFunctions/scalarExpressionFunctions.js +4 -1
- 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 +7 -18
- package/src/Utilities/ObjectFactory.js +25 -95
- 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/LicenseService.js +2 -2
- package/src/Utilities/Services/ModuleService.js +13 -17
- package/src/Utilities/Services/TeamSharingService.js +3 -4
- package/src/View/AdaptableView.js +4 -10
- 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 +7 -17
- 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/FilterForm.js +4 -1
- 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/Popups/AdaptableToaster.js +6 -6
- 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/FlashingAlertDurationWizardSection.d.ts → FlashingCell/Wizard/FlashingCellDurationWizardSection.d.ts} +4 -4
- package/src/View/{Alert/Wizard/FlashingAlertWizard/FlashingAlertDurationWizardSection.js → FlashingCell/Wizard/FlashingCellDurationWizardSection.js} +7 -7
- 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/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 +7 -7
- package/src/View/FreeTextColumn/Wizard/FreeTextColumnWizard.js +18 -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/License/LicenseWatermark.js +4 -0
- 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/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 +25 -12
- package/src/agGrid/Adaptable.js +249 -99
- 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/DashboardManager.js +1 -1
- package/src/components/Datepicker/Caption.d.ts +1 -1
- package/src/components/Datepicker/Caption.js +1 -4
- package/src/components/Datepicker/CaptionLabel.d.ts +1 -1
- package/src/components/Datepicker/CaptionLabel.js +1 -4
- package/src/components/Datepicker/index.d.ts +1 -1
- package/src/components/Datepicker/index.js +1 -4
- 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 +87 -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 +14 -2
- package/src/metamodel/adaptable.metamodel.d.ts +98 -112
- package/src/metamodel/adaptable.metamodel.js +425 -451
- package/src/types.d.ts +11 -12
- 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/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/bundle-dependencies/bundles/react-day-picker/DayPicker.d.ts +0 -88
- package/src/bundle-dependencies/bundles/react-day-picker/DayPicker.test.d.ts +0 -0
- package/src/bundle-dependencies/bundles/react-day-picker/components/Button/Button.d.ts +0 -6
- package/src/bundle-dependencies/bundles/react-day-picker/components/Button/Button.test.d.ts +0 -1
- package/src/bundle-dependencies/bundles/react-day-picker/components/Button/ButtonProps.d.ts +0 -3
- package/src/bundle-dependencies/bundles/react-day-picker/components/Button/index.d.ts +0 -1
- package/src/bundle-dependencies/bundles/react-day-picker/components/Caption/Caption.d.ts +0 -7
- package/src/bundle-dependencies/bundles/react-day-picker/components/Caption/Caption.test.d.ts +0 -1
- package/src/bundle-dependencies/bundles/react-day-picker/components/Caption/CaptionProps.d.ts +0 -5
- package/src/bundle-dependencies/bundles/react-day-picker/components/Caption/index.d.ts +0 -2
- package/src/bundle-dependencies/bundles/react-day-picker/components/CaptionLabel/CaptionLabel.d.ts +0 -4
- package/src/bundle-dependencies/bundles/react-day-picker/components/CaptionLabel/CaptionLabel.test.d.ts +0 -1
- package/src/bundle-dependencies/bundles/react-day-picker/components/CaptionLabel/CaptionLabelProps.d.ts +0 -5
- package/src/bundle-dependencies/bundles/react-day-picker/components/CaptionLabel/index.d.ts +0 -2
- package/src/bundle-dependencies/bundles/react-day-picker/components/Day/Day.d.ts +0 -7
- package/src/bundle-dependencies/bundles/react-day-picker/components/Day/Day.test.d.ts +0 -0
- package/src/bundle-dependencies/bundles/react-day-picker/components/Day/DayProps.d.ts +0 -7
- package/src/bundle-dependencies/bundles/react-day-picker/components/Day/hooks/index.d.ts +0 -1
- package/src/bundle-dependencies/bundles/react-day-picker/components/Day/hooks/useDay.d.ts +0 -51
- package/src/bundle-dependencies/bundles/react-day-picker/components/Day/hooks/useDayFocus.d.ts +0 -8
- package/src/bundle-dependencies/bundles/react-day-picker/components/Day/index.d.ts +0 -3
- package/src/bundle-dependencies/bundles/react-day-picker/components/DayContent/DayContent.d.ts +0 -6
- package/src/bundle-dependencies/bundles/react-day-picker/components/DayContent/DayContent.test.d.ts +0 -0
- package/src/bundle-dependencies/bundles/react-day-picker/components/DayContent/DayContentProps.d.ts +0 -10
- package/src/bundle-dependencies/bundles/react-day-picker/components/DayContent/index.d.ts +0 -2
- package/src/bundle-dependencies/bundles/react-day-picker/components/Dropdown/Dropdown.d.ts +0 -7
- package/src/bundle-dependencies/bundles/react-day-picker/components/Dropdown/Dropdown.test.d.ts +0 -0
- package/src/bundle-dependencies/bundles/react-day-picker/components/Dropdown/DropdownProps.d.ts +0 -10
- package/src/bundle-dependencies/bundles/react-day-picker/components/Dropdown/index.d.ts +0 -2
- package/src/bundle-dependencies/bundles/react-day-picker/components/Footer/Footer.d.ts +0 -3
- package/src/bundle-dependencies/bundles/react-day-picker/components/Footer/Footer.test.d.ts +0 -1
- package/src/bundle-dependencies/bundles/react-day-picker/components/Footer/index.d.ts +0 -1
- package/src/bundle-dependencies/bundles/react-day-picker/components/Head/Head.d.ts +0 -5
- package/src/bundle-dependencies/bundles/react-day-picker/components/Head/Head.test.d.ts +0 -0
- package/src/bundle-dependencies/bundles/react-day-picker/components/Head/index.d.ts +0 -1
- package/src/bundle-dependencies/bundles/react-day-picker/components/Head/utils/getWeekdays.d.ts +0 -6
- package/src/bundle-dependencies/bundles/react-day-picker/components/Head/utils/getWeekdays.test.d.ts +0 -0
- package/src/bundle-dependencies/bundles/react-day-picker/components/Head/utils/index.d.ts +0 -1
- package/src/bundle-dependencies/bundles/react-day-picker/components/IconDropdown/IconDropdown.d.ts +0 -6
- package/src/bundle-dependencies/bundles/react-day-picker/components/IconDropdown/IconDropdown.test.d.ts +0 -1
- package/src/bundle-dependencies/bundles/react-day-picker/components/IconDropdown/index.d.ts +0 -1
- package/src/bundle-dependencies/bundles/react-day-picker/components/IconNext/IconNext.d.ts +0 -6
- package/src/bundle-dependencies/bundles/react-day-picker/components/IconNext/IconNext.test.d.ts +0 -1
- package/src/bundle-dependencies/bundles/react-day-picker/components/IconNext/index.d.ts +0 -1
- package/src/bundle-dependencies/bundles/react-day-picker/components/IconPrevious/IconPrevious.d.ts +0 -6
- package/src/bundle-dependencies/bundles/react-day-picker/components/IconPrevious/IconPrevious.test.d.ts +0 -1
- package/src/bundle-dependencies/bundles/react-day-picker/components/IconPrevious/index.d.ts +0 -1
- package/src/bundle-dependencies/bundles/react-day-picker/components/MonthsDropdown/MonthsDropdown.d.ts +0 -6
- package/src/bundle-dependencies/bundles/react-day-picker/components/MonthsDropdown/MonthsDropdownProps.d.ts +0 -7
- package/src/bundle-dependencies/bundles/react-day-picker/components/MonthsDropdown/index.d.ts +0 -2
- package/src/bundle-dependencies/bundles/react-day-picker/components/Navigation/Navigation.d.ts +0 -4
- package/src/bundle-dependencies/bundles/react-day-picker/components/Navigation/NavigationProps.d.ts +0 -18
- package/src/bundle-dependencies/bundles/react-day-picker/components/Navigation/index.d.ts +0 -2
- package/src/bundle-dependencies/bundles/react-day-picker/components/Root/Root.d.ts +0 -6
- package/src/bundle-dependencies/bundles/react-day-picker/components/Root/index.d.ts +0 -1
- package/src/bundle-dependencies/bundles/react-day-picker/components/Row/Row.d.ts +0 -6
- package/src/bundle-dependencies/bundles/react-day-picker/components/Row/RowProps.d.ts +0 -11
- package/src/bundle-dependencies/bundles/react-day-picker/components/Row/index.d.ts +0 -2
- package/src/bundle-dependencies/bundles/react-day-picker/components/Table/Table.d.ts +0 -12
- package/src/bundle-dependencies/bundles/react-day-picker/components/Table/index.d.ts +0 -1
- package/src/bundle-dependencies/bundles/react-day-picker/components/Table/utils/getOutsideEndDays.d.ts +0 -3
- package/src/bundle-dependencies/bundles/react-day-picker/components/Table/utils/getOutsideStartDays.d.ts +0 -4
- package/src/bundle-dependencies/bundles/react-day-picker/components/Table/utils/getWeeks.d.ts +0 -15
- package/src/bundle-dependencies/bundles/react-day-picker/components/WeekNumber/WeekNumber.d.ts +0 -15
- package/src/bundle-dependencies/bundles/react-day-picker/components/WeekNumber/index.d.ts +0 -1
- package/src/bundle-dependencies/bundles/react-day-picker/components/YearsDropdown/YearsDropdown.d.ts +0 -16
- package/src/bundle-dependencies/bundles/react-day-picker/components/YearsDropdown/index.d.ts +0 -1
- package/src/bundle-dependencies/bundles/react-day-picker/components/index.d.ts +0 -18
- package/src/bundle-dependencies/bundles/react-day-picker/contexts/ContextProvider.d.ts +0 -8
- package/src/bundle-dependencies/bundles/react-day-picker/contexts/DayPickerContext/DayPickerContext.d.ts +0 -78
- package/src/bundle-dependencies/bundles/react-day-picker/contexts/DayPickerContext/DayPickerContextValue.d.ts +0 -20
- package/src/bundle-dependencies/bundles/react-day-picker/contexts/DayPickerContext/DayPickerProvider.d.ts +0 -12
- package/src/bundle-dependencies/bundles/react-day-picker/contexts/DayPickerContext/defaultClassNames.d.ts +0 -5
- package/src/bundle-dependencies/bundles/react-day-picker/contexts/DayPickerContext/formatters/formatCaption.d.ts +0 -7
- package/src/bundle-dependencies/bundles/react-day-picker/contexts/DayPickerContext/formatters/formatDay.d.ts +0 -7
- package/src/bundle-dependencies/bundles/react-day-picker/contexts/DayPickerContext/formatters/formatMonthCaption.d.ts +0 -7
- package/src/bundle-dependencies/bundles/react-day-picker/contexts/DayPickerContext/formatters/formatWeekNumber.d.ts +0 -4
- package/src/bundle-dependencies/bundles/react-day-picker/contexts/DayPickerContext/formatters/formatWeekdayName.d.ts +0 -7
- package/src/bundle-dependencies/bundles/react-day-picker/contexts/DayPickerContext/formatters/formatYearCaption.d.ts +0 -6
- package/src/bundle-dependencies/bundles/react-day-picker/contexts/DayPickerContext/formatters/index.d.ts +0 -6
- package/src/bundle-dependencies/bundles/react-day-picker/contexts/DayPickerContext/index.d.ts +0 -5
- package/src/bundle-dependencies/bundles/react-day-picker/contexts/DayPickerContext/labels/index.d.ts +0 -7
- package/src/bundle-dependencies/bundles/react-day-picker/contexts/DayPickerContext/labels/labelDay.d.ts +0 -5
- package/src/bundle-dependencies/bundles/react-day-picker/contexts/DayPickerContext/labels/labelMonthDropdown.d.ts +0 -4
- package/src/bundle-dependencies/bundles/react-day-picker/contexts/DayPickerContext/labels/labelNext.d.ts +0 -5
- package/src/bundle-dependencies/bundles/react-day-picker/contexts/DayPickerContext/labels/labelPrevious.d.ts +0 -5
- package/src/bundle-dependencies/bundles/react-day-picker/contexts/DayPickerContext/labels/labelWeekNumber.d.ts +0 -5
- package/src/bundle-dependencies/bundles/react-day-picker/contexts/DayPickerContext/labels/labelWeekday.d.ts +0 -5
- package/src/bundle-dependencies/bundles/react-day-picker/contexts/DayPickerContext/labels/labelYearDropdown.d.ts +0 -4
- package/src/bundle-dependencies/bundles/react-day-picker/contexts/DayPickerContext/useDayPicker.d.ts +0 -8
- package/src/bundle-dependencies/bundles/react-day-picker/contexts/DayPickerContext/utils/index.d.ts +0 -2
- package/src/bundle-dependencies/bundles/react-day-picker/contexts/DayPickerContext/utils/parseFromToProps.d.ts +0 -9
- package/src/bundle-dependencies/bundles/react-day-picker/contexts/DayPickerContext/utils/parseModifierProps.d.ts +0 -9
- package/src/bundle-dependencies/bundles/react-day-picker/contexts/FocusContext/FocusContext.d.ts +0 -8
- package/src/bundle-dependencies/bundles/react-day-picker/contexts/FocusContext/FocusContextValue.d.ts +0 -19
- package/src/bundle-dependencies/bundles/react-day-picker/contexts/FocusContext/FocusProvider.d.ts +0 -5
- package/src/bundle-dependencies/bundles/react-day-picker/contexts/FocusContext/index.d.ts +0 -4
- package/src/bundle-dependencies/bundles/react-day-picker/contexts/FocusContext/useFocus.d.ts +0 -3
- package/src/bundle-dependencies/bundles/react-day-picker/contexts/NavigationContext/NavigationContext.d.ts +0 -8
- package/src/bundle-dependencies/bundles/react-day-picker/contexts/NavigationContext/NavigationContextValue.d.ts +0 -13
- package/src/bundle-dependencies/bundles/react-day-picker/contexts/NavigationContext/NavigationProvider.d.ts +0 -5
- package/src/bundle-dependencies/bundles/react-day-picker/contexts/NavigationContext/index.d.ts +0 -4
- package/src/bundle-dependencies/bundles/react-day-picker/contexts/NavigationContext/useNavigation.d.ts +0 -3
- package/src/bundle-dependencies/bundles/react-day-picker/contexts/NavigationContext/useNavigationState.d.ts +0 -7
- package/src/bundle-dependencies/bundles/react-day-picker/contexts/NavigationContext/utils/getDisplayMonths.d.ts +0 -8
- package/src/bundle-dependencies/bundles/react-day-picker/contexts/NavigationContext/utils/getInitialMonth.d.ts +0 -3
- package/src/bundle-dependencies/bundles/react-day-picker/contexts/NavigationContext/utils/getInitialMonth.test.d.ts +0 -1
- package/src/bundle-dependencies/bundles/react-day-picker/contexts/NavigationContext/utils/getNextMonth.d.ts +0 -18
- package/src/bundle-dependencies/bundles/react-day-picker/contexts/NavigationContext/utils/getNextMonth.test.d.ts +0 -1
- package/src/bundle-dependencies/bundles/react-day-picker/contexts/NavigationContext/utils/getPreviousMonth.d.ts +0 -19
- package/src/bundle-dependencies/bundles/react-day-picker/contexts/NavigationContext/utils/getPreviousMonth.test.d.ts +0 -1
- package/src/bundle-dependencies/bundles/react-day-picker/contexts/SelectMultipleContext/SelectMultipleContext.d.ts +0 -9
- package/src/bundle-dependencies/bundles/react-day-picker/contexts/SelectMultipleContext/SelectMultipleContextValue.d.ts +0 -13
- package/src/bundle-dependencies/bundles/react-day-picker/contexts/SelectMultipleContext/SelectMultipleModifiers.d.ts +0 -3
- package/src/bundle-dependencies/bundles/react-day-picker/contexts/SelectMultipleContext/SelectMultipleProvider.d.ts +0 -7
- package/src/bundle-dependencies/bundles/react-day-picker/contexts/SelectMultipleContext/index.d.ts +0 -5
- package/src/bundle-dependencies/bundles/react-day-picker/contexts/SelectMultipleContext/useSelectMultiple.d.ts +0 -3
- package/src/bundle-dependencies/bundles/react-day-picker/contexts/SelectRangeContext/SelectRangeContext.d.ts +0 -9
- package/src/bundle-dependencies/bundles/react-day-picker/contexts/SelectRangeContext/SelectRangeContextValue.d.ts +0 -13
- package/src/bundle-dependencies/bundles/react-day-picker/contexts/SelectRangeContext/SelectRangeModifiers.d.ts +0 -3
- package/src/bundle-dependencies/bundles/react-day-picker/contexts/SelectRangeContext/SelectRangeProvider.d.ts +0 -7
- package/src/bundle-dependencies/bundles/react-day-picker/contexts/SelectRangeContext/index.d.ts +0 -5
- package/src/bundle-dependencies/bundles/react-day-picker/contexts/SelectRangeContext/useSelectRange.d.ts +0 -3
- package/src/bundle-dependencies/bundles/react-day-picker/contexts/SelectRangeContext/utils/addToRange.d.ts +0 -8
- package/src/bundle-dependencies/bundles/react-day-picker/contexts/SelectSingleContext/SelectSingleContext.d.ts +0 -9
- package/src/bundle-dependencies/bundles/react-day-picker/contexts/SelectSingleContext/SelectSingleContextValue.d.ts +0 -11
- package/src/bundle-dependencies/bundles/react-day-picker/contexts/SelectSingleContext/SelectSingleModifiers.d.ts +0 -3
- package/src/bundle-dependencies/bundles/react-day-picker/contexts/SelectSingleContext/SelectSingleProvider.d.ts +0 -7
- package/src/bundle-dependencies/bundles/react-day-picker/contexts/SelectSingleContext/index.d.ts +0 -5
- package/src/bundle-dependencies/bundles/react-day-picker/contexts/SelectSingleContext/useSelectSingle.d.ts +0 -3
- package/src/bundle-dependencies/bundles/react-day-picker/contexts/index.d.ts +0 -7
- package/src/bundle-dependencies/bundles/react-day-picker/hooks/index.d.ts +0 -2
- package/src/bundle-dependencies/bundles/react-day-picker/hooks/useInput/index.d.ts +0 -2
- package/src/bundle-dependencies/bundles/react-day-picker/hooks/useInput/types/UseInput.d.ts +0 -12
- package/src/bundle-dependencies/bundles/react-day-picker/hooks/useInput/types/UseInputDayPickerProps.d.ts +0 -14
- package/src/bundle-dependencies/bundles/react-day-picker/hooks/useInput/types/UseInputFieldProps.d.ts +0 -12
- package/src/bundle-dependencies/bundles/react-day-picker/hooks/useInput/types/UseInputOptions.d.ts +0 -35
- package/src/bundle-dependencies/bundles/react-day-picker/hooks/useInput/types/index.d.ts +0 -4
- package/src/bundle-dependencies/bundles/react-day-picker/hooks/useInput/useInput.d.ts +0 -4
- package/src/bundle-dependencies/bundles/react-day-picker/hooks/useInput/utils/isValidDate.d.ts +0 -2
- package/src/bundle-dependencies/bundles/react-day-picker/hooks/useModifiers/index.d.ts +0 -1
- package/src/bundle-dependencies/bundles/react-day-picker/hooks/useModifiers/types/UseModifiers.d.ts +0 -10
- package/src/bundle-dependencies/bundles/react-day-picker/hooks/useModifiers/types/index.d.ts +0 -1
- package/src/bundle-dependencies/bundles/react-day-picker/hooks/useModifiers/useModifiers.d.ts +0 -3
- package/src/bundle-dependencies/bundles/react-day-picker/hooks/useModifiers/utils/getModifierStatus.d.ts +0 -7
- package/src/bundle-dependencies/bundles/react-day-picker/hooks/useModifiers/utils/isDateInRange.d.ts +0 -3
- package/src/bundle-dependencies/bundles/react-day-picker/hooks/useModifiers/utils/isMatch.d.ts +0 -5
- package/src/bundle-dependencies/bundles/react-day-picker/index.d.ts +0 -5
- package/src/bundle-dependencies/bundles/react-day-picker/index.js +0 -1
- package/src/bundle-dependencies/bundles/react-day-picker/types/CaptionLayout.d.ts +0 -7
- package/src/bundle-dependencies/bundles/react-day-picker/types/ClassNames.d.ts +0 -3
- package/src/bundle-dependencies/bundles/react-day-picker/types/Components.d.ts +0 -33
- package/src/bundle-dependencies/bundles/react-day-picker/types/CustomModifiers.d.ts +0 -4
- package/src/bundle-dependencies/bundles/react-day-picker/types/DateAfter.d.ts +0 -7
- package/src/bundle-dependencies/bundles/react-day-picker/types/DateBefore.d.ts +0 -7
- package/src/bundle-dependencies/bundles/react-day-picker/types/DateFormatter.d.ts +0 -6
- package/src/bundle-dependencies/bundles/react-day-picker/types/DateInterval.d.ts +0 -8
- package/src/bundle-dependencies/bundles/react-day-picker/types/DateRange.d.ts +0 -8
- package/src/bundle-dependencies/bundles/react-day-picker/types/DayClickEventHandler.d.ts +0 -6
- package/src/bundle-dependencies/bundles/react-day-picker/types/DayFocusEventHandler.d.ts +0 -6
- package/src/bundle-dependencies/bundles/react-day-picker/types/DayKeyboardEventHandler.d.ts +0 -6
- package/src/bundle-dependencies/bundles/react-day-picker/types/DayLabelFormatter.d.ts +0 -7
- package/src/bundle-dependencies/bundles/react-day-picker/types/DayMouseEventHandler.d.ts +0 -6
- package/src/bundle-dependencies/bundles/react-day-picker/types/DayOfWeekMatcher.d.ts +0 -7
- package/src/bundle-dependencies/bundles/react-day-picker/types/DayPickerBase.d.ts +0 -239
- package/src/bundle-dependencies/bundles/react-day-picker/types/DayPickerMultiple.d.ts +0 -15
- package/src/bundle-dependencies/bundles/react-day-picker/types/DayPickerProps.d.ts +0 -9
- package/src/bundle-dependencies/bundles/react-day-picker/types/DayPickerRange.d.ts +0 -16
- package/src/bundle-dependencies/bundles/react-day-picker/types/DayPickerSingle.d.ts +0 -13
- package/src/bundle-dependencies/bundles/react-day-picker/types/DayPickerUncontrolled.d.ts +0 -7
- package/src/bundle-dependencies/bundles/react-day-picker/types/DayTouchEventHandler.d.ts +0 -6
- package/src/bundle-dependencies/bundles/react-day-picker/types/Formatters.d.ts +0 -19
- package/src/bundle-dependencies/bundles/react-day-picker/types/InternalModifier.d.ts +0 -2
- package/src/bundle-dependencies/bundles/react-day-picker/types/Labels.d.ts +0 -17
- package/src/bundle-dependencies/bundles/react-day-picker/types/Matcher.d.ts +0 -10
- package/src/bundle-dependencies/bundles/react-day-picker/types/Modifier.d.ts +0 -5
- package/src/bundle-dependencies/bundles/react-day-picker/types/ModifierClassNames.d.ts +0 -5
- package/src/bundle-dependencies/bundles/react-day-picker/types/ModifierStatus.d.ts +0 -5
- package/src/bundle-dependencies/bundles/react-day-picker/types/ModifierStyles.d.ts +0 -4
- package/src/bundle-dependencies/bundles/react-day-picker/types/Modifiers.d.ts +0 -5
- package/src/bundle-dependencies/bundles/react-day-picker/types/MonthChangeEventHandler.d.ts +0 -4
- package/src/bundle-dependencies/bundles/react-day-picker/types/NavButtonLabelFormatter.d.ts +0 -7
- package/src/bundle-dependencies/bundles/react-day-picker/types/SelectMultipleEventHandler.d.ts +0 -12
- package/src/bundle-dependencies/bundles/react-day-picker/types/SelectRangeEventHandler.d.ts +0 -10
- package/src/bundle-dependencies/bundles/react-day-picker/types/SelectSingleEventHandler.d.ts +0 -12
- package/src/bundle-dependencies/bundles/react-day-picker/types/StyledComponentProps.d.ts +0 -10
- package/src/bundle-dependencies/bundles/react-day-picker/types/StyledElement.d.ts +0 -76
- package/src/bundle-dependencies/bundles/react-day-picker/types/Styles.d.ts +0 -4
- package/src/bundle-dependencies/bundles/react-day-picker/types/WeekNumberClickEventHandler.d.ts +0 -9
- package/src/bundle-dependencies/bundles/react-day-picker/types/WeekNumberFormatter.d.ts +0 -6
- package/src/bundle-dependencies/bundles/react-day-picker/types/WeekNumberLabelFormatter.d.ts +0 -5
- package/src/bundle-dependencies/bundles/react-day-picker/types/WeekdayLabelFormatter.d.ts +0 -4
- package/src/bundle-dependencies/bundles/react-day-picker/types/index.d.ts +0 -54
- package/src/bundle-dependencies/bundles/react-day-picker/types/isArrayOfDates.d.ts +0 -2
- package/src/bundle-dependencies/bundles/react-day-picker/types/isDateAfterType.d.ts +0 -3
- package/src/bundle-dependencies/bundles/react-day-picker/types/isDateBeforeType.d.ts +0 -3
- package/src/bundle-dependencies/bundles/react-day-picker/types/isDateInterval.d.ts +0 -3
- package/src/bundle-dependencies/bundles/react-day-picker/types/isDateRange.d.ts +0 -3
- package/src/bundle-dependencies/bundles/react-day-picker/types/isDateType.d.ts +0 -2
- package/src/bundle-dependencies/bundles/react-day-picker/types/isDayOfWeekType.d.ts +0 -3
- package/src/bundle-dependencies/bundles/react-day-picker/types/isDayPickerMultiple.d.ts +0 -4
- package/src/bundle-dependencies/bundles/react-day-picker/types/isDayPickerRange.d.ts +0 -4
- package/src/bundle-dependencies/bundles/react-day-picker/types/isDayPickerSingle.d.ts +0 -4
- package/src/bundle-dependencies/bundles/react-day-picker/types/isDayPickerUncontrolled.d.ts +0 -4
- package/src/bundle-dependencies/bundles/react-toastify/components/CloseButton.d.ts +0 -8
- package/src/bundle-dependencies/bundles/react-toastify/components/ProgressBar.d.ts +0 -55
- package/src/bundle-dependencies/bundles/react-toastify/components/Toast.d.ts +0 -3
- package/src/bundle-dependencies/bundles/react-toastify/components/ToastContainer.d.ts +0 -3
- package/src/bundle-dependencies/bundles/react-toastify/components/Transitions.d.ts +0 -5
- package/src/bundle-dependencies/bundles/react-toastify/components/index.d.ts +0 -5
- package/src/bundle-dependencies/bundles/react-toastify/core/eventManager.d.ts +0 -39
- package/src/bundle-dependencies/bundles/react-toastify/core/index.d.ts +0 -2
- package/src/bundle-dependencies/bundles/react-toastify/core/toast.d.ts +0 -55
- package/src/bundle-dependencies/bundles/react-toastify/hooks/index.d.ts +0 -3
- package/src/bundle-dependencies/bundles/react-toastify/hooks/toastContainerReducer.d.ts +0 -15
- package/src/bundle-dependencies/bundles/react-toastify/hooks/useKeeper.d.ts +0 -7
- package/src/bundle-dependencies/bundles/react-toastify/hooks/useToast.d.ts +0 -10
- package/src/bundle-dependencies/bundles/react-toastify/hooks/useToastContainer.d.ts +0 -16
- package/src/bundle-dependencies/bundles/react-toastify/index.d.ts +0 -5
- package/src/bundle-dependencies/bundles/react-toastify/index.js +0 -1
- package/src/bundle-dependencies/bundles/react-toastify/inject-style.d.ts +0 -8
- package/src/bundle-dependencies/bundles/react-toastify/test/components/CloseButton.test.d.ts +0 -1
- package/src/bundle-dependencies/bundles/react-toastify/test/components/ProgressBar.test.d.ts +0 -1
- package/src/bundle-dependencies/bundles/react-toastify/test/components/Toast.test.d.ts +0 -1
- package/src/bundle-dependencies/bundles/react-toastify/test/components/ToastContainer.test.d.ts +0 -1
- package/src/bundle-dependencies/bundles/react-toastify/test/core/eventManager.test.d.ts +0 -1
- package/src/bundle-dependencies/bundles/react-toastify/test/core/toast.test.d.ts +0 -1
- package/src/bundle-dependencies/bundles/react-toastify/test/helpers.d.ts +0 -9
- package/src/bundle-dependencies/bundles/react-toastify/test/utils/collapseToast.test.d.ts +0 -1
- package/src/bundle-dependencies/bundles/react-toastify/test/utils/cssTransition.test.d.ts +0 -1
- package/src/bundle-dependencies/bundles/react-toastify/test/utils/propValidator.test.d.ts +0 -1
- package/src/bundle-dependencies/bundles/react-toastify/types/index.d.ts +0 -240
- package/src/bundle-dependencies/bundles/react-toastify/utils/collapseToast.d.ts +0 -5
- package/src/bundle-dependencies/bundles/react-toastify/utils/constant.d.ts +0 -20
- package/src/bundle-dependencies/bundles/react-toastify/utils/cssTransition.d.ts +0 -42
- package/src/bundle-dependencies/bundles/react-toastify/utils/index.d.ts +0 -4
- package/src/bundle-dependencies/bundles/react-toastify/utils/propValidator.d.ts +0 -10
- package/src/components/ChartContainer/index.d.ts +0 -15
- package/src/components/ChartContainer/index.js +0 -22
- package/src/components/Toastify/index.d.ts +0 -3
- package/src/components/Toastify/index.js +0 -10
|
@@ -5,6 +5,7 @@ const tslib_1 = require("tslib");
|
|
|
5
5
|
const ApiBase_1 = require("./ApiBase");
|
|
6
6
|
const GridRedux = tslib_1.__importStar(require("../../Redux/ActionsReducers/GridRedux"));
|
|
7
7
|
const SystemRedux_1 = require("../../Redux/ActionsReducers/SystemRedux");
|
|
8
|
+
const ModuleConstants = tslib_1.__importStar(require("../../Utilities/Constants/ModuleConstants"));
|
|
8
9
|
class GridApiImpl extends ApiBase_1.ApiBase {
|
|
9
10
|
getGridState() {
|
|
10
11
|
return this.getAdaptableState().Grid;
|
|
@@ -21,13 +22,13 @@ class GridApiImpl extends ApiBase_1.ApiBase {
|
|
|
21
22
|
loadGridData(dataSource) {
|
|
22
23
|
this.adaptable.loadDataSource(dataSource);
|
|
23
24
|
}
|
|
24
|
-
updateGridData(dataRows, dataUpdateConfig) {
|
|
25
|
-
this.adaptable.updateRows(dataRows, dataUpdateConfig);
|
|
26
|
-
this.fireGridDataChangedEvent(dataRows, 'Edit');
|
|
25
|
+
async updateGridData(dataRows, dataUpdateConfig) {
|
|
26
|
+
const rowNodes = await this.adaptable.updateRows(dataRows, dataUpdateConfig);
|
|
27
|
+
this.fireGridDataChangedEvent(dataRows, rowNodes, 'Edit');
|
|
27
28
|
}
|
|
28
|
-
addGridData(dataRows, dataUpdateConfig) {
|
|
29
|
-
this.adaptable.addRows(dataRows, dataUpdateConfig);
|
|
30
|
-
this.fireGridDataChangedEvent(dataRows, 'Add');
|
|
29
|
+
async addGridData(dataRows, dataUpdateConfig) {
|
|
30
|
+
const rowNodes = await this.adaptable.addRows(dataRows, dataUpdateConfig);
|
|
31
|
+
this.fireGridDataChangedEvent(dataRows, rowNodes, 'Add');
|
|
31
32
|
}
|
|
32
33
|
undoCellEdit(dataChangedInfo) {
|
|
33
34
|
// for the reason of this hacky solution see the comments in DataService
|
|
@@ -35,10 +36,10 @@ class GridApiImpl extends ApiBase_1.ApiBase {
|
|
|
35
36
|
this.setCellValue(dataChangedInfo.column.columnId, dataChangedInfo.oldValue, dataChangedInfo.primaryKeyValue);
|
|
36
37
|
return true;
|
|
37
38
|
}
|
|
38
|
-
deleteGridData(dataRows, dataUpdateConfig) {
|
|
39
|
+
async deleteGridData(dataRows, dataUpdateConfig) {
|
|
39
40
|
if (this.checkArrayExists(dataRows)) {
|
|
40
|
-
this.adaptable.deleteRows(dataRows, dataUpdateConfig);
|
|
41
|
-
this.fireGridDataChangedEvent(dataRows, 'Delete');
|
|
41
|
+
const rowNodes = await this.adaptable.deleteRows(dataRows, dataUpdateConfig);
|
|
42
|
+
this.fireGridDataChangedEvent(dataRows, rowNodes, 'Delete');
|
|
42
43
|
}
|
|
43
44
|
}
|
|
44
45
|
setCellValue(columnId, newValue, primaryKeyValue) {
|
|
@@ -88,7 +89,7 @@ class GridApiImpl extends ApiBase_1.ApiBase {
|
|
|
88
89
|
this.adaptable.api.filterApi.clearAllColumnFilter();
|
|
89
90
|
}
|
|
90
91
|
getAgGridInstance() {
|
|
91
|
-
return this.adaptable.adaptableOptions.
|
|
92
|
+
return this.adaptable.adaptableOptions.gridOptions;
|
|
92
93
|
}
|
|
93
94
|
getColumnSorts() {
|
|
94
95
|
return this.getAdaptableState().Grid.ColumnSorts;
|
|
@@ -247,12 +248,13 @@ class GridApiImpl extends ApiBase_1.ApiBase {
|
|
|
247
248
|
this.adaptable.api.eventApi.emit('CellChanged', cellChangedInfo);
|
|
248
249
|
}
|
|
249
250
|
}
|
|
250
|
-
fireGridDataChangedEvent(dataRows,
|
|
251
|
+
fireGridDataChangedEvent(dataRows, rowNodes, rowTrigger) {
|
|
251
252
|
if (this.adaptable.isInitialised) {
|
|
252
253
|
const gridDataChangedInfo = {
|
|
253
254
|
adaptableApi: this.adaptable.api,
|
|
254
|
-
|
|
255
|
+
rowTrigger: rowTrigger,
|
|
255
256
|
dataRows: dataRows,
|
|
257
|
+
rowNodes,
|
|
256
258
|
};
|
|
257
259
|
this.adaptable.api.eventApi.emit('GridDataChanged', gridDataChangedInfo);
|
|
258
260
|
}
|
|
@@ -272,21 +274,38 @@ class GridApiImpl extends ApiBase_1.ApiBase {
|
|
|
272
274
|
this.dispatchAction(SystemRedux_1.SystemHighlightCellAdd(cellHighlightInfo));
|
|
273
275
|
if (cellHighlightInfo.timeout) {
|
|
274
276
|
setTimeout(() => {
|
|
275
|
-
this.
|
|
277
|
+
this.unHighlightCell(cellHighlightInfo.primaryKeyValue, cellHighlightInfo.columnId);
|
|
276
278
|
}, cellHighlightInfo.timeout);
|
|
277
279
|
}
|
|
278
280
|
}
|
|
279
|
-
|
|
280
|
-
this.dispatchAction(SystemRedux_1.SystemHighlightCellDelete(
|
|
281
|
+
unHighlightCell(primaryKeyValue, columnId) {
|
|
282
|
+
this.dispatchAction(SystemRedux_1.SystemHighlightCellDelete(primaryKeyValue, columnId));
|
|
281
283
|
}
|
|
282
|
-
|
|
284
|
+
unHighlightAllCells() {
|
|
283
285
|
this.dispatchAction(SystemRedux_1.SystemHighlightCellDeleteAll());
|
|
284
286
|
}
|
|
287
|
+
highlightRow(rowHighlightInfo) {
|
|
288
|
+
this.dispatchAction(SystemRedux_1.SystemHighlightRowAdd(rowHighlightInfo));
|
|
289
|
+
if (rowHighlightInfo.timeout) {
|
|
290
|
+
setTimeout(() => {
|
|
291
|
+
this.unHighlightRow(rowHighlightInfo.primaryKeyValue);
|
|
292
|
+
}, rowHighlightInfo.timeout);
|
|
293
|
+
}
|
|
294
|
+
}
|
|
295
|
+
unHighlightRow(primaryKeyValue) {
|
|
296
|
+
this.dispatchAction(SystemRedux_1.SystemHighlightRowDelete(primaryKeyValue));
|
|
297
|
+
}
|
|
298
|
+
unHighlightAllRows() {
|
|
299
|
+
this.dispatchAction(SystemRedux_1.SystemHighlightRowDeleteAll());
|
|
300
|
+
}
|
|
285
301
|
refreshCells(rowNodes, columnIds) {
|
|
286
302
|
this.adaptable.refreshCells(rowNodes, columnIds, true);
|
|
287
303
|
}
|
|
288
|
-
|
|
304
|
+
refreshRowByPrimaryKey(primaryKey) {
|
|
289
305
|
const rowNode = this.getRowNodeForPrimaryKey(primaryKey);
|
|
306
|
+
this.refreshRowNode(rowNode);
|
|
307
|
+
}
|
|
308
|
+
refreshRowNode(rowNode) {
|
|
290
309
|
this.adaptable.redrawRow(rowNode);
|
|
291
310
|
}
|
|
292
311
|
areCellsEditable(gridCells) {
|
|
@@ -335,5 +354,8 @@ class GridApiImpl extends ApiBase_1.ApiBase {
|
|
|
335
354
|
getGridContainerElement() {
|
|
336
355
|
return this.adaptable.getAgGridContainerElement();
|
|
337
356
|
}
|
|
357
|
+
showGridInfoPopup() {
|
|
358
|
+
this.showModulePopup(ModuleConstants.GridInfoModuleId);
|
|
359
|
+
}
|
|
338
360
|
}
|
|
339
361
|
exports.GridApiImpl = GridApiImpl;
|
|
@@ -2,8 +2,6 @@ import { ApiBase } from './ApiBase';
|
|
|
2
2
|
import { InternalApi } from '../InternalApi';
|
|
3
3
|
import { UIConfirmation } from '../../Utilities/Interface/MessagePopups';
|
|
4
4
|
import { SystemState } from '../../PredefinedConfig/SystemState';
|
|
5
|
-
import { ChartData } from '../../PredefinedConfig/ChartState';
|
|
6
|
-
import { ChartVisibility } from '../../PredefinedConfig/Common/ChartEnums';
|
|
7
5
|
import { Action } from 'redux';
|
|
8
6
|
import { ModuleParams } from '../../View/Components/SharedProps/ModuleViewPopupProps';
|
|
9
7
|
import { AdaptableColumn } from '../../PredefinedConfig/Common/AdaptableColumn';
|
|
@@ -25,7 +23,7 @@ import { IDataService } from '../../Utilities/Services/Interface/IDataService';
|
|
|
25
23
|
import { IEntitlementService } from '../../Utilities/Services/Interface/IEntitlementService';
|
|
26
24
|
import { IQueryLanguageService } from '../../Utilities/Services/Interface/IQueryLanguageService';
|
|
27
25
|
import { IAlertService } from '../../Utilities/Services/Interface/IAlertService';
|
|
28
|
-
import {
|
|
26
|
+
import { AdaptableFlashingCell } from '../../PredefinedConfig/Common/AdaptableFlashingCell';
|
|
29
27
|
import { ITeamSharingService } from '../../Utilities/Services/Interface/ITeamSharingService';
|
|
30
28
|
import { ColumnValuesComparer } from '../../AdaptableOptions/GeneralOptions';
|
|
31
29
|
import { ButtonStyle } from '../../PredefinedConfig/Common/ButtonStyle';
|
|
@@ -37,15 +35,13 @@ import { AdaptableFrameworkComponent } from '../../AdaptableOptions/AdaptableFra
|
|
|
37
35
|
import { IMetamodelService } from '../../Utilities/Services/Interface/IMetamodelService';
|
|
38
36
|
export declare class InternalApiImpl extends ApiBase implements InternalApi {
|
|
39
37
|
getSystemState(): SystemState;
|
|
40
|
-
setChartData(chartData: ChartData): void;
|
|
41
38
|
getAdaptableFormFromAlertForm(alertForm: string | AlertButtonForm, context: any, defaultMessageType?: AdaptableMessageType): (Omit<AdaptableForm<AlertButtonContext>, 'buttons'> & {
|
|
42
39
|
buttons?: (Omit<AdaptableButton<AlertButtonContext>, 'buttonStyle'> & {
|
|
43
40
|
buttonStyle?: ButtonStyle;
|
|
44
41
|
})[];
|
|
45
42
|
}) | undefined;
|
|
46
|
-
setChartVisibility(chartVisbility: ChartVisibility): void;
|
|
47
43
|
getAdaptableAlerts(): AdaptableAlert[];
|
|
48
|
-
|
|
44
|
+
getAdaptableFlashingCellFor(primaryKey: string, columnId?: string): AdaptableFlashingCell | null;
|
|
49
45
|
addSystemStatusMessageInfo(systemStatusMessageInfo: SystemStatusMessageInfo): void;
|
|
50
46
|
getSystemStatusMessageInfos(): SystemStatusMessageInfo[];
|
|
51
47
|
showPopupConfirmation(confirmation: UIConfirmation): void;
|
|
@@ -8,6 +8,7 @@ const SystemRedux_1 = require("../../Redux/ActionsReducers/SystemRedux");
|
|
|
8
8
|
const GridRedux = tslib_1.__importStar(require("../../Redux/ActionsReducers/GridRedux"));
|
|
9
9
|
const LayoutRedux = tslib_1.__importStar(require("../../Redux/ActionsReducers/LayoutRedux"));
|
|
10
10
|
const DashboardRedux = tslib_1.__importStar(require("../../Redux/ActionsReducers/DashboardRedux"));
|
|
11
|
+
const AlertRedux = tslib_1.__importStar(require("../../Redux/ActionsReducers/AlertRedux"));
|
|
11
12
|
const DeadRedux = tslib_1.__importStar(require("../../Redux/DeadRedux"));
|
|
12
13
|
const ApiBase_1 = require("./ApiBase");
|
|
13
14
|
const StringExtensions_1 = tslib_1.__importDefault(require("../../Utilities/Extensions/StringExtensions"));
|
|
@@ -19,9 +20,6 @@ class InternalApiImpl extends ApiBase_1.ApiBase {
|
|
|
19
20
|
getSystemState() {
|
|
20
21
|
return this.getAdaptableState().System;
|
|
21
22
|
}
|
|
22
|
-
setChartData(chartData) {
|
|
23
|
-
this.dispatchAction(SystemRedux.ChartSetChartData(chartData));
|
|
24
|
-
}
|
|
25
23
|
getAdaptableFormFromAlertForm(alertForm, context, defaultMessageType) {
|
|
26
24
|
var _a, _b;
|
|
27
25
|
const api = this.adaptable.api;
|
|
@@ -62,15 +60,12 @@ class InternalApiImpl extends ApiBase_1.ApiBase {
|
|
|
62
60
|
}
|
|
63
61
|
return adaptableAlertForm;
|
|
64
62
|
}
|
|
65
|
-
setChartVisibility(chartVisbility) {
|
|
66
|
-
this.dispatchAction(SystemRedux.ChartSetChartVisibility(chartVisbility));
|
|
67
|
-
}
|
|
68
63
|
getAdaptableAlerts() {
|
|
69
64
|
return this.getSystemState().AdaptableAlerts;
|
|
70
65
|
}
|
|
71
|
-
|
|
66
|
+
getAdaptableFlashingCellFor(primaryKey, columnId) {
|
|
72
67
|
var _a;
|
|
73
|
-
const { AdaptableFlashingAlerts, AdaptableFlashingAlertsMap } = this.getSystemState();
|
|
68
|
+
const { AdaptableFlashingCells: AdaptableFlashingAlerts, AdaptableFlashingCellsMap: AdaptableFlashingAlertsMap, } = this.getSystemState();
|
|
74
69
|
const forPrimaryKey = (_a = AdaptableFlashingAlerts[primaryKey]) !== null && _a !== void 0 ? _a : {};
|
|
75
70
|
const toFlashingAlert = (uuid) => { var _a; return uuid ? (_a = AdaptableFlashingAlertsMap[uuid]) !== null && _a !== void 0 ? _a : null : null; };
|
|
76
71
|
if (!columnId) {
|
|
@@ -206,7 +201,7 @@ class InternalApiImpl extends ApiBase_1.ApiBase {
|
|
|
206
201
|
return this.adaptable;
|
|
207
202
|
}
|
|
208
203
|
getAgGridInstance() {
|
|
209
|
-
return this.adaptable.adaptableOptions.
|
|
204
|
+
return this.adaptable.adaptableOptions.gridOptions;
|
|
210
205
|
}
|
|
211
206
|
getPredefinedConfig() {
|
|
212
207
|
return this.adaptable.adaptableOptions.predefinedConfig;
|
|
@@ -259,7 +254,7 @@ class InternalApiImpl extends ApiBase_1.ApiBase {
|
|
|
259
254
|
return this.adaptable.buildStandaloneColumnHeader(column);
|
|
260
255
|
}
|
|
261
256
|
clearFlashingCellState() {
|
|
262
|
-
this.dispatchAction(
|
|
257
|
+
this.dispatchAction(AlertRedux.AlertClearFlashingCells());
|
|
263
258
|
}
|
|
264
259
|
clearUpdatedRowState() {
|
|
265
260
|
this.dispatchAction(DeadRedux.UpdatedRowClear());
|
|
@@ -211,6 +211,18 @@ class LayoutApiImpl extends ApiBase_1.ApiBase {
|
|
|
211
211
|
let defaultLayout = ObjectFactory_1.default.CreateEmptyLayout({
|
|
212
212
|
Name: GeneralConstants_1.DEFAULT_LAYOUT,
|
|
213
213
|
Columns: defaultLayoutColumns.map((c) => c.columnId),
|
|
214
|
+
AggregationColumns: defaultLayoutColumns.reduce((acc, col) => {
|
|
215
|
+
if (col.aggregationFunction) {
|
|
216
|
+
acc[col.columnId] = col.aggregationFunction;
|
|
217
|
+
}
|
|
218
|
+
return acc;
|
|
219
|
+
}, {}),
|
|
220
|
+
PinnedColumnsMap: defaultLayoutColumns.reduce((acc, col) => {
|
|
221
|
+
if (col.pinned) {
|
|
222
|
+
acc[col.columnId] = col.pinned;
|
|
223
|
+
}
|
|
224
|
+
return acc;
|
|
225
|
+
}, {}),
|
|
214
226
|
}, gridState.Columns);
|
|
215
227
|
this.saveLayout(defaultLayout);
|
|
216
228
|
return defaultLayout;
|
|
@@ -4,7 +4,6 @@ import { PluginsState } from '../../Redux/ActionsReducers/PluginsRedux';
|
|
|
4
4
|
import { IPushPullApi } from '../IPushPullApi';
|
|
5
5
|
import { Glue42Api } from '../Glue42Api';
|
|
6
6
|
import { OpenFinApi } from '../OpenFinApi';
|
|
7
|
-
import { ChartApi } from '../ChartApi';
|
|
8
7
|
import { FinanceApi } from '../FinanceApi';
|
|
9
8
|
export declare class PluginsApiImpl extends ApiBase implements PluginsApi {
|
|
10
9
|
getPluginsState(): PluginsState;
|
|
@@ -15,6 +14,5 @@ export declare class PluginsApiImpl extends ApiBase implements PluginsApi {
|
|
|
15
14
|
getipushpullPluginApi(): IPushPullApi;
|
|
16
15
|
getGlue42PluginApi(): Glue42Api;
|
|
17
16
|
getOpenFinPluginApi(): OpenFinApi;
|
|
18
|
-
getChartsPluginApi(): ChartApi;
|
|
19
17
|
getFinancePluginApi(): FinanceApi;
|
|
20
18
|
}
|
|
@@ -32,9 +32,6 @@ class PluginsApiImpl extends ApiBase_1.ApiBase {
|
|
|
32
32
|
if (pluginId === 'openfin') {
|
|
33
33
|
return api;
|
|
34
34
|
}
|
|
35
|
-
if (pluginId === 'charts') {
|
|
36
|
-
return api;
|
|
37
|
-
}
|
|
38
35
|
return api;
|
|
39
36
|
}
|
|
40
37
|
catch (ex) {
|
|
@@ -50,9 +47,6 @@ class PluginsApiImpl extends ApiBase_1.ApiBase {
|
|
|
50
47
|
getOpenFinPluginApi() {
|
|
51
48
|
return this.getPluginApi('openfin');
|
|
52
49
|
}
|
|
53
|
-
getChartsPluginApi() {
|
|
54
|
-
return this.getPluginApi('charts');
|
|
55
|
-
}
|
|
56
50
|
getFinancePluginApi() {
|
|
57
51
|
return this.getPluginApi('finance');
|
|
58
52
|
}
|
|
@@ -27,7 +27,7 @@ class PlusMinusApiImpl extends ApiBase_1.ApiBase {
|
|
|
27
27
|
return this.getAllPlusMinus().filter((plusMinusNudge) => plusMinusNudge.IsSuspended);
|
|
28
28
|
}
|
|
29
29
|
runPlusMinusNudge(plusMinusNudge, cellsToUpdate, direction) {
|
|
30
|
-
let plusMinusModule = (this.adaptable.
|
|
30
|
+
let plusMinusModule = (this.adaptable.adaptableModules.get(ModuleConstants.PlusMinusModuleId));
|
|
31
31
|
plusMinusModule.applyPlusMinus([plusMinusNudge], cellsToUpdate, direction);
|
|
32
32
|
}
|
|
33
33
|
applyPlusMinus(gridCells) {
|
|
@@ -64,7 +64,7 @@ class QueryApiImpl extends ApiBase_1.ApiBase {
|
|
|
64
64
|
}
|
|
65
65
|
getNamedQueryModuleReferences(namedQueryName) {
|
|
66
66
|
const references = [];
|
|
67
|
-
this.adaptable.
|
|
67
|
+
this.adaptable.adaptableModules.forEach((module) => {
|
|
68
68
|
if (module
|
|
69
69
|
.getModuleNamedQueryReferences()
|
|
70
70
|
.some((moduleReference) => moduleReference === namedQueryName)) {
|
|
@@ -165,14 +165,14 @@ class ScheduleApiImpl extends ApiBase_1.ApiBase {
|
|
|
165
165
|
applySchedule(schedule, scheduleType) {
|
|
166
166
|
if (scheduleType == 'Reminder') {
|
|
167
167
|
const reminderSchedule = schedule;
|
|
168
|
-
const reminder = reminderSchedule.Reminder;
|
|
168
|
+
// const reminder: Reminder = reminderSchedule.Reminder;
|
|
169
169
|
const alert = {
|
|
170
|
-
header:
|
|
171
|
-
message:
|
|
170
|
+
header: reminderSchedule.Header,
|
|
171
|
+
message: reminderSchedule.Message,
|
|
172
172
|
alertDefinition: {
|
|
173
|
-
MessageType:
|
|
173
|
+
MessageType: reminderSchedule.MessageType,
|
|
174
174
|
AlertProperties: {
|
|
175
|
-
DisplayNotification:
|
|
175
|
+
DisplayNotification: reminderSchedule.DisplayNotification,
|
|
176
176
|
},
|
|
177
177
|
Rule: undefined,
|
|
178
178
|
Scope: undefined,
|
|
@@ -2,7 +2,7 @@ import { ApiBase } from './ApiBase';
|
|
|
2
2
|
import { SmartEditApi } from '../SmartEditApi';
|
|
3
3
|
import { GridCell } from '../../PredefinedConfig/Selection/GridCell';
|
|
4
4
|
export declare class SmartEditApiImpl extends ApiBase implements SmartEditApi {
|
|
5
|
-
setSmartEditOperation(mathOperation: 'Add' | 'Subtract' | 'Multiply' | 'Divide'
|
|
5
|
+
setSmartEditOperation(mathOperation: 'Add' | 'Subtract' | 'Multiply' | 'Divide'): void;
|
|
6
6
|
getSmartEditOperation(): string;
|
|
7
7
|
setSmartEditValue(smartEditValue: number): void;
|
|
8
8
|
getSmartEditValue(): number;
|
|
@@ -18,7 +18,7 @@ class SystemStatusApiImpl extends ApiBase_1.ApiBase {
|
|
|
18
18
|
this.adaptable.api.internalApi.addSystemStatusMessageInfo(systemStatusMessageInfo);
|
|
19
19
|
// publish the event
|
|
20
20
|
this.fireSystemStatusMessageDisplayedEvent(systemStatusMessageInfo);
|
|
21
|
-
if (this.getNotificationsOptions().
|
|
21
|
+
if (this.getNotificationsOptions().showSystemStatusMessageNotifications) {
|
|
22
22
|
let fullMessage = statusMessage;
|
|
23
23
|
if (StringExtensions_1.default.IsNotNullOrEmpty(statusFurtherInformation)) {
|
|
24
24
|
fullMessage += '\n' + statusFurtherInformation;
|
|
@@ -13,13 +13,13 @@ class ToolPanelApiImpl extends ApiBase_1.ApiBase {
|
|
|
13
13
|
this.showModulePopup(ModuleConstants.ToolPanelModuleId, popupParams);
|
|
14
14
|
}
|
|
15
15
|
openAdapTableToolPanel() {
|
|
16
|
-
let gridOptions = this.getOptions().
|
|
16
|
+
let gridOptions = this.getOptions().gridOptions;
|
|
17
17
|
if (gridOptions) {
|
|
18
18
|
gridOptions.api.openToolPanel('adaptable');
|
|
19
19
|
}
|
|
20
20
|
}
|
|
21
21
|
closeAdapTableToolPanel() {
|
|
22
|
-
let gridOptions = this.getOptions().
|
|
22
|
+
let gridOptions = this.getOptions().gridOptions;
|
|
23
23
|
if (gridOptions) {
|
|
24
24
|
gridOptions.api.closeToolPanel();
|
|
25
25
|
}
|
package/src/Api/InternalApi.d.ts
CHANGED
|
@@ -1,7 +1,5 @@
|
|
|
1
1
|
import { UIConfirmation } from '../Utilities/Interface/MessagePopups';
|
|
2
2
|
import { SystemState } from '../PredefinedConfig/SystemState';
|
|
3
|
-
import { ChartData } from '../PredefinedConfig/ChartState';
|
|
4
|
-
import { ChartVisibility } from '../PredefinedConfig/Common/ChartEnums';
|
|
5
3
|
import { Action } from 'redux';
|
|
6
4
|
import { ModuleParams } from '../View/Components/SharedProps/ModuleViewPopupProps';
|
|
7
5
|
import { AdaptableColumn } from '../PredefinedConfig/Common/AdaptableColumn';
|
|
@@ -22,7 +20,7 @@ import { AdaptableAlert } from '../PredefinedConfig/Common/AdaptableAlert';
|
|
|
22
20
|
import { IDataService } from '../Utilities/Services/Interface/IDataService';
|
|
23
21
|
import { AdaptableMessageType, DataChangedInfo, SystemStatusMessageInfo } from '../types';
|
|
24
22
|
import { IEntitlementService } from '../Utilities/Services/Interface/IEntitlementService';
|
|
25
|
-
import {
|
|
23
|
+
import { AdaptableFlashingCell } from '../PredefinedConfig/Common/AdaptableFlashingCell';
|
|
26
24
|
import { IQueryLanguageService } from '../Utilities/Services/Interface/IQueryLanguageService';
|
|
27
25
|
import { IAlertService } from '../Utilities/Services/Interface/IAlertService';
|
|
28
26
|
import { AdaptableState } from '../PredefinedConfig/AdaptableState';
|
|
@@ -46,11 +44,9 @@ export interface InternalApi {
|
|
|
46
44
|
buttonStyle?: ButtonStyle;
|
|
47
45
|
})[];
|
|
48
46
|
};
|
|
49
|
-
setChartData(chartData: ChartData): void;
|
|
50
|
-
setChartVisibility(chartVisbility: ChartVisibility): void;
|
|
51
47
|
getAdaptableAlerts(): AdaptableAlert[];
|
|
52
48
|
showPopupConfirmation(confirmation: UIConfirmation): void;
|
|
53
|
-
|
|
49
|
+
getAdaptableFlashingCellFor(primaryKey: string, columnId?: string): AdaptableFlashingCell | null;
|
|
54
50
|
addSystemStatusMessageInfo(systemStatusMessageInfo: SystemStatusMessageInfo): void;
|
|
55
51
|
getSystemStatusMessageInfos(): SystemStatusMessageInfo[];
|
|
56
52
|
showLoadingScreen(): void;
|
|
@@ -112,8 +108,8 @@ export interface InternalApi {
|
|
|
112
108
|
dispatchReduxAction(action: Action): void;
|
|
113
109
|
waitForTeamSharingImportEnd(): Promise<boolean>;
|
|
114
110
|
getUserDefinedHeaderName(columnId: string): string;
|
|
115
|
-
createFrameworkComponent(containerDomNode: HTMLElement, frameworkComponent: AdaptableFrameworkComponent, componentType: 'toolPanel' | 'toolbar'): void;
|
|
116
|
-
destroyFrameworkComponent(containerDomNode: HTMLElement, frameworkComponent: AdaptableFrameworkComponent, componentType: 'toolPanel' | 'toolbar'): void;
|
|
111
|
+
createFrameworkComponent(containerDomNode: HTMLElement, frameworkComponent: AdaptableFrameworkComponent, componentType: 'toolPanel' | 'toolbar' | string): void;
|
|
112
|
+
destroyFrameworkComponent(containerDomNode: HTMLElement, frameworkComponent: AdaptableFrameworkComponent, componentType: 'toolPanel' | 'toolbar' | string): void;
|
|
117
113
|
initializeDataChangeHistory(): void;
|
|
118
114
|
isTextComparisonCaseSensitive(): boolean;
|
|
119
115
|
executeWithProgressIndicator(label: string, executeFn: () => unknown): void;
|
package/src/Api/PluginsApi.d.ts
CHANGED
|
@@ -2,7 +2,6 @@ import { PluginsState } from '../Redux/ActionsReducers/PluginsRedux';
|
|
|
2
2
|
import { IPushPullApi } from './IPushPullApi';
|
|
3
3
|
import { Glue42Api } from './Glue42Api';
|
|
4
4
|
import { OpenFinApi } from './OpenFinApi';
|
|
5
|
-
import { ChartApi } from './ChartApi';
|
|
6
5
|
import { FinanceApi } from './FinanceApi';
|
|
7
6
|
/**
|
|
8
7
|
* API methods dealing with AdapTable plugins
|
|
@@ -15,6 +14,5 @@ export interface PluginsApi {
|
|
|
15
14
|
getipushpullPluginApi(): IPushPullApi;
|
|
16
15
|
getGlue42PluginApi(): Glue42Api;
|
|
17
16
|
getOpenFinPluginApi(): OpenFinApi;
|
|
18
|
-
getChartsPluginApi(): ChartApi;
|
|
19
17
|
getFinancePluginApi(): FinanceApi;
|
|
20
18
|
}
|
|
@@ -4,16 +4,16 @@ import { GridCell } from '../PredefinedConfig/Selection/GridCell';
|
|
|
4
4
|
**/
|
|
5
5
|
export interface SmartEditApi {
|
|
6
6
|
/**
|
|
7
|
-
* Sets
|
|
7
|
+
* Sets Smart Edit operation: ('Add','Subtract','Multiply','Divide'
|
|
8
8
|
* @param operation operation to run
|
|
9
9
|
*/
|
|
10
|
-
setSmartEditOperation(operation: 'Add' | 'Subtract' | 'Multiply' | 'Divide'
|
|
10
|
+
setSmartEditOperation(operation: 'Add' | 'Subtract' | 'Multiply' | 'Divide'): void;
|
|
11
11
|
/**
|
|
12
|
-
* Gets current Smart Edit Operation
|
|
12
|
+
* Gets current Smart Edit Operation
|
|
13
13
|
*/
|
|
14
14
|
getSmartEditOperation(): string;
|
|
15
15
|
/**
|
|
16
|
-
* Sets Smart Edit Value
|
|
16
|
+
* Sets Smart Edit Value
|
|
17
17
|
* @param smartEditValue the value to use in Smart Edit Operation
|
|
18
18
|
*/
|
|
19
19
|
setSmartEditValue(smartEditValue: number): void;
|
|
@@ -3,7 +3,6 @@ import { GridState } from './GridState';
|
|
|
3
3
|
import { SystemState } from './SystemState';
|
|
4
4
|
import { AlertState } from './AlertState';
|
|
5
5
|
import { CalculatedColumnState } from './CalculatedColumnState';
|
|
6
|
-
import { ChartState } from './ChartState';
|
|
7
6
|
import { ConditionalStyleState } from './ConditionalStyleState';
|
|
8
7
|
import { CustomSortState } from './CustomSortState';
|
|
9
8
|
import { DashboardState } from './DashboardState';
|
|
@@ -20,10 +19,10 @@ import { TeamSharingState } from './TeamSharingState';
|
|
|
20
19
|
import { ThemeState } from './ThemeState';
|
|
21
20
|
import { ConfigState } from './ConfigState';
|
|
22
21
|
import { FilterState } from './FilterState';
|
|
23
|
-
import { SparklineColumnState } from './SparklineColumnState';
|
|
24
22
|
import { ApplicationState } from './ApplicationState';
|
|
25
23
|
import { ToolPanelState } from './ToolPanelState';
|
|
26
24
|
import { QueryState } from './QueryState';
|
|
25
|
+
import { FlashingCellState } from './FlashingCellState';
|
|
27
26
|
/**
|
|
28
27
|
* The main state object that Adaptable persists
|
|
29
28
|
*/
|
|
@@ -36,10 +35,9 @@ export interface AdaptableState {
|
|
|
36
35
|
[key: string]: any;
|
|
37
36
|
};
|
|
38
37
|
Application: ApplicationState;
|
|
39
|
-
SparklineColumn: SparklineColumnState;
|
|
40
38
|
Alert: AlertState;
|
|
39
|
+
FlashingCell: FlashingCellState;
|
|
41
40
|
CalculatedColumn: CalculatedColumnState;
|
|
42
|
-
Chart: ChartState;
|
|
43
41
|
ConditionalStyle: ConditionalStyleState;
|
|
44
42
|
CustomSort: CustomSortState;
|
|
45
43
|
Dashboard: DashboardState;
|
|
@@ -20,16 +20,12 @@ export interface AlertState extends ConfigState {
|
|
|
20
20
|
* @defaultValue null
|
|
21
21
|
*/
|
|
22
22
|
AlertDefinitions?: AlertDefinition[];
|
|
23
|
-
|
|
24
|
-
* Flashing Alert Definitions - will colour cells/rows when rule is met
|
|
25
|
-
* @defaultValue null
|
|
26
|
-
*/
|
|
27
|
-
FlashingAlertDefinitions?: FlashingAlertDefinition[];
|
|
23
|
+
FlashingAlertDefinitions?: any[];
|
|
28
24
|
}
|
|
29
25
|
/**
|
|
30
|
-
*
|
|
26
|
+
* The Alert Definition object used in the Alert function
|
|
31
27
|
*/
|
|
32
|
-
export interface
|
|
28
|
+
export interface AlertDefinition extends SuspendableObject {
|
|
33
29
|
/**
|
|
34
30
|
* Where Alert can be triggered: one, some or all columns or DataTypes
|
|
35
31
|
*/
|
|
@@ -38,46 +34,6 @@ export interface BaseAlertDefinition extends SuspendableObject {
|
|
|
38
34
|
* When Alert should be triggered
|
|
39
35
|
*/
|
|
40
36
|
Rule: AlertRule;
|
|
41
|
-
}
|
|
42
|
-
/**
|
|
43
|
-
* Properties to use in Flashing Alerts
|
|
44
|
-
*/
|
|
45
|
-
export interface FlashingAlertProperties {
|
|
46
|
-
/**
|
|
47
|
-
* Should a cell or whole row flash
|
|
48
|
-
* @defaultValue 'cell'
|
|
49
|
-
*/
|
|
50
|
-
FlashTarget?: 'row' | 'cell';
|
|
51
|
-
/**
|
|
52
|
-
* Style for 'Down' value changes
|
|
53
|
-
* @defaultValue Red BackColour
|
|
54
|
-
*/
|
|
55
|
-
DownChangeStyle?: AdaptableStyle;
|
|
56
|
-
/**
|
|
57
|
-
* Style for 'Up' value changes
|
|
58
|
-
* @defaultValue Green BackColour
|
|
59
|
-
*/
|
|
60
|
-
UpChangeStyle?: AdaptableStyle;
|
|
61
|
-
/**
|
|
62
|
-
* Style for 'Neutral' value changes
|
|
63
|
-
* @defaultValue Gray BackColour
|
|
64
|
-
*/
|
|
65
|
-
NeutralChangeStyle?: AdaptableStyle;
|
|
66
|
-
/**
|
|
67
|
-
* Duration of Flash - can be number (in ms) or 'always'
|
|
68
|
-
* @defaultValue 500ms
|
|
69
|
-
*/
|
|
70
|
-
FlashDuration?: number | 'always';
|
|
71
|
-
}
|
|
72
|
-
/**
|
|
73
|
-
* The Flashing Alert Definition object used in the Alert function
|
|
74
|
-
*/
|
|
75
|
-
export interface FlashingAlertDefinition extends BaseAlertDefinition, FlashingAlertProperties {
|
|
76
|
-
}
|
|
77
|
-
/**
|
|
78
|
-
* The Alert Definition object used in the Alert function
|
|
79
|
-
*/
|
|
80
|
-
export interface AlertDefinition extends BaseAlertDefinition {
|
|
81
37
|
/**
|
|
82
38
|
* Type of Alert: 'Info', 'Success', 'Warning', 'Error'; influences Alert colour, icon and logging
|
|
83
39
|
*/
|
|
@@ -98,6 +54,9 @@ export interface AlertDefinition extends BaseAlertDefinition {
|
|
|
98
54
|
export declare type AlertButtonForm = Omit<AdaptableForm<AlertButtonContext>, 'title' | 'buttons' | 'fields' | 'description'> & {
|
|
99
55
|
Buttons?: AlertButton<AlertButtonContext>[];
|
|
100
56
|
};
|
|
57
|
+
export interface AlertDefinitionPredicate extends AdaptablePredicate {
|
|
58
|
+
PredicateId: TypeHint<string, SystemAlertPredicateId>;
|
|
59
|
+
}
|
|
101
60
|
/**
|
|
102
61
|
* The Alert Rule defined by either an AdaptablePredicate or an AdaptableQuery
|
|
103
62
|
*/
|
|
@@ -126,9 +85,6 @@ export interface AlertButton<AlertButtonContext> extends Omit<AdaptableButton<Bu
|
|
|
126
85
|
*/
|
|
127
86
|
Tooltip?: string;
|
|
128
87
|
}
|
|
129
|
-
export interface AlertDefinitionPredicate extends AdaptablePredicate {
|
|
130
|
-
PredicateId: TypeHint<string, SystemAlertPredicateId>;
|
|
131
|
-
}
|
|
132
88
|
/**
|
|
133
89
|
*
|
|
134
90
|
* Additional properties that specify how a particular Alert will ALWAYS behave
|
|
@@ -141,13 +97,17 @@ export interface AlertProperties {
|
|
|
141
97
|
/**
|
|
142
98
|
* Colours updated cell using `MessageType` property of triggering Alert Definition
|
|
143
99
|
*/
|
|
144
|
-
HighlightCell?: boolean;
|
|
100
|
+
HighlightCell?: boolean | AdaptableStyle;
|
|
101
|
+
/**
|
|
102
|
+
* Colours updated cell using `MessageType` property of triggering Alert Definition
|
|
103
|
+
*/
|
|
104
|
+
HighlightRow?: boolean | AdaptableStyle;
|
|
145
105
|
/**
|
|
146
106
|
* Grid will 'jump' to the cell which triggered the Alert
|
|
147
107
|
*/
|
|
148
108
|
JumpToCell?: boolean;
|
|
149
109
|
/**
|
|
150
|
-
* Shows Alert text in the div specificed in `
|
|
110
|
+
* Shows Alert text in the div specificed in `alertContainer` property of Container Options
|
|
151
111
|
*/
|
|
152
112
|
ShowInDiv?: boolean;
|
|
153
113
|
/**
|
|
@@ -160,5 +120,4 @@ export interface AlertProperties {
|
|
|
160
120
|
*/
|
|
161
121
|
PreventEdit?: boolean;
|
|
162
122
|
}
|
|
163
|
-
declare type SystemAlertPredicateId = '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' | 'PrimaryKeyDuplicate' | 'ExistingValuesOnly' | 'NoDuplicateValues' | 'IsNumeric' | 'Any';
|
|
164
|
-
export {};
|
|
123
|
+
export declare type SystemAlertPredicateId = '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' | 'PrimaryKeyDuplicate' | 'ExistingValuesOnly' | 'NoDuplicateValues' | 'IsNumeric' | 'Any';
|
|
@@ -101,6 +101,10 @@ export interface AdaptableColumn extends AdaptableColumnBase {
|
|
|
101
101
|
* Is Column pinned or locked into position
|
|
102
102
|
*/
|
|
103
103
|
isFixed: boolean;
|
|
104
|
+
/**
|
|
105
|
+
* The pinned position of the column
|
|
106
|
+
*/
|
|
107
|
+
pinned: 'left' | 'right' | false;
|
|
104
108
|
/**
|
|
105
109
|
* Is it a Sparkline Column
|
|
106
110
|
*/
|
|
@@ -14,9 +14,9 @@ valueB: any,
|
|
|
14
14
|
/**
|
|
15
15
|
* First Row Node to compare
|
|
16
16
|
*/
|
|
17
|
-
nodeA
|
|
17
|
+
nodeA?: RowNode,
|
|
18
18
|
/**
|
|
19
19
|
* Second Row Node to compare
|
|
20
20
|
*/
|
|
21
|
-
nodeB
|
|
21
|
+
nodeB?: RowNode) => number;
|
|
22
22
|
export declare type AdaptableNodeComparerFunction = (nodeA: RowNode, nodeB: RowNode) => number;
|
package/src/PredefinedConfig/Common/{AdaptableFlashingAlert.d.ts → AdaptableFlashingCell.d.ts}
RENAMED
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { AdaptableObject } from './AdaptableObject';
|
|
2
2
|
import { DataChangedInfo } from '../../types';
|
|
3
|
-
import {
|
|
3
|
+
import { FlashingCellDefinition } from '../../../types';
|
|
4
4
|
/**
|
|
5
5
|
* Defines an Alert fired by AdapTable
|
|
6
6
|
*/
|
|
7
|
-
export interface
|
|
7
|
+
export interface AdaptableFlashingCell extends AdaptableObject {
|
|
8
8
|
/**
|
|
9
|
-
* Rule that caused the
|
|
9
|
+
* Rule that caused the FlashingCell to fire
|
|
10
10
|
*/
|
|
11
|
-
|
|
11
|
+
flashingCellDefinition: FlashingCellDefinition;
|
|
12
12
|
/**
|
|
13
|
-
* Data change which triggered the
|
|
13
|
+
* Data change which triggered the FlashingCell
|
|
14
14
|
*/
|
|
15
15
|
dataChangedInfo?: DataChangedInfo;
|
|
16
16
|
/**
|
|
@@ -20,7 +20,7 @@ export interface AdaptableFlashingAlert extends AdaptableObject {
|
|
|
20
20
|
/**
|
|
21
21
|
* What will flash (e.g. Cell, Row)
|
|
22
22
|
*/
|
|
23
|
-
flashTarget:
|
|
23
|
+
flashTarget: FlashingCellDefinition['FlashTarget'];
|
|
24
24
|
/**
|
|
25
25
|
* Column Ids that are flashing
|
|
26
26
|
*/
|
|
File without changes
|