@adaptabletools/adaptable 10.0.4-canary.1 → 10.0.4-canary.5
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 +2 -2
- package/README.md +1 -1
- package/agGrid.d.ts +2 -2
- package/base.css +387 -87
- package/bundle.cjs.js +353 -0
- package/index.css +454 -94
- package/package.json +5 -8
- package/publishTimestamp.d.ts +1 -1
- package/publishTimestamp.js +1 -1
- package/src/AdaptableInterfaces/AdaptableNoCodeWizard.d.ts +1 -1
- package/src/AdaptableInterfaces/IAdaptable.d.ts +17 -15
- package/src/AdaptableOptions/AdaptableOptions.d.ts +9 -4
- package/src/AdaptableOptions/ContainerOptions.d.ts +4 -5
- package/src/AdaptableOptions/DashboardOptions.d.ts +2 -2
- package/src/AdaptableOptions/DataChangeHistoryOptions.d.ts +3 -3
- package/src/AdaptableOptions/DateInputOptions.d.ts +5 -1
- package/src/AdaptableOptions/EditOptions.d.ts +4 -5
- package/src/AdaptableOptions/ExportOptions.d.ts +1 -1
- package/src/AdaptableOptions/FilterOptions.d.ts +8 -8
- package/src/AdaptableOptions/FinancePluginOptions.d.ts +1 -1
- package/src/AdaptableOptions/GeneralOptions.d.ts +3 -2
- package/src/AdaptableOptions/MenuOptions.d.ts +12 -12
- package/src/AdaptableOptions/NotificationsOptions.d.ts +12 -3
- package/src/AdaptableOptions/SettingsPanelOptions.d.ts +75 -0
- package/src/{Api/Events/FlashingAlertFired.js → AdaptableOptions/SettingsPanelOptions.js} +0 -0
- package/src/AdaptableOptions/ToolPanelOptions.d.ts +2 -2
- package/src/AdaptableOptions/UserInterfaceOptions.d.ts +32 -3
- package/src/Api/AdaptableApi.d.ts +14 -12
- package/src/Api/AlertApi.d.ts +4 -79
- package/src/Api/ColumnApi.d.ts +10 -5
- package/src/Api/DataChangeHistoryApi.d.ts +4 -0
- package/src/Api/EventApi.d.ts +9 -9
- package/src/Api/Events/AdaptableReady.d.ts +3 -2
- package/src/Api/Events/FlashingCellDisplayed.d.ts +11 -0
- package/src/{PredefinedConfig/Common/AdaptableFlashingAlert.js → Api/Events/FlashingCellDisplayed.js} +0 -0
- package/src/Api/Events/GridDataChanged.d.ts +3 -1
- package/src/Api/FlashingCellApi.d.ts +78 -0
- package/src/Api/FlashingCellApi.js +2 -0
- package/src/Api/GridApi.d.ts +38 -15
- package/src/Api/Implementation/AdaptableApiImpl.d.ts +2 -0
- package/src/Api/Implementation/AdaptableApiImpl.js +2 -0
- package/src/Api/Implementation/AlertApiImpl.d.ts +8 -22
- package/src/Api/Implementation/AlertApiImpl.js +40 -107
- package/src/Api/Implementation/ColumnApiImpl.d.ts +4 -3
- package/src/Api/Implementation/ColumnApiImpl.js +16 -14
- package/src/Api/Implementation/ConfigApiImpl.js +0 -29
- 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 +20 -0
- package/src/Api/Implementation/FlashingCellApiImpl.js +96 -0
- package/src/Api/Implementation/GridApiImpl.d.ts +15 -10
- package/src/Api/Implementation/GridApiImpl.js +42 -21
- package/src/Api/Implementation/InternalApiImpl.d.ts +3 -3
- package/src/Api/Implementation/InternalApiImpl.js +7 -6
- package/src/Api/Implementation/LayoutApiImpl.d.ts +2 -0
- package/src/Api/Implementation/LayoutApiImpl.js +27 -0
- package/src/Api/Implementation/PluginsApiImpl.d.ts +2 -2
- package/src/Api/Implementation/PluginsApiImpl.js +1 -1
- package/src/Api/Implementation/ScheduleApiImpl.js +11 -11
- package/src/Api/Implementation/SmartEditApiImpl.d.ts +1 -1
- package/src/Api/Implementation/SystemStatusApiImpl.js +1 -1
- package/src/Api/Implementation/ToolPanelApiImpl.js +3 -3
- package/src/Api/Implementation/UserInterfaceApiImpl.d.ts +3 -3
- package/src/Api/Implementation/UserInterfaceApiImpl.js +4 -4
- package/src/Api/InternalApi.d.ts +5 -5
- package/src/Api/LayoutApi.d.ts +7 -0
- package/src/Api/PluginsApi.d.ts +1 -7
- package/src/Api/SmartEditApi.d.ts +4 -4
- package/src/Api/TeamSharingApi.d.ts +1 -1
- package/src/Api/ThemeApi.d.ts +2 -2
- package/src/Api/UserInterfaceApi.d.ts +3 -3
- package/src/PredefinedConfig/AdaptableState.d.ts +4 -10
- package/src/PredefinedConfig/AlertState.d.ts +14 -55
- package/src/PredefinedConfig/ApplicationState.d.ts +1 -1
- package/src/PredefinedConfig/CalculatedColumnState.d.ts +1 -1
- package/src/PredefinedConfig/Common/AdaptableColumn.d.ts +7 -3
- 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/AdaptableFlashingCell.js +2 -0
- package/src/PredefinedConfig/Common/AdaptablePredicate.d.ts +4 -4
- package/src/PredefinedConfig/Common/AdaptableScope.d.ts +3 -3
- package/src/PredefinedConfig/Common/AdaptableStyle.d.ts +7 -7
- package/src/PredefinedConfig/Common/CellHighlightInfo.d.ts +14 -3
- package/src/PredefinedConfig/Common/CellSummary.d.ts +2 -2
- package/src/PredefinedConfig/Common/DataChangedInfo.d.ts +1 -1
- package/src/PredefinedConfig/Common/Menu.d.ts +41 -18
- package/src/PredefinedConfig/Common/Schedule.d.ts +4 -14
- package/src/PredefinedConfig/Common/Schedule.js +0 -14
- package/src/PredefinedConfig/Common/SpecialColumnSettings.d.ts +1 -1
- package/src/PredefinedConfig/Common/Types.d.ts +6 -5
- package/src/PredefinedConfig/Common/Types.js +9 -7
- package/src/PredefinedConfig/ConditionalStyleState.d.ts +1 -1
- package/src/PredefinedConfig/CustomSortState.d.ts +2 -2
- package/src/PredefinedConfig/DashboardState.d.ts +3 -2
- package/src/PredefinedConfig/DataSourceState.d.ts +1 -1
- package/src/PredefinedConfig/ExportState.d.ts +3 -3
- package/src/PredefinedConfig/FilterState.d.ts +2 -2
- package/src/PredefinedConfig/FlashingCellState.d.ts +70 -0
- package/src/PredefinedConfig/FlashingCellState.js +2 -0
- package/src/PredefinedConfig/FormatColumnState.d.ts +1 -1
- package/src/PredefinedConfig/FreeTextColumnState.d.ts +3 -3
- package/src/PredefinedConfig/LayoutState.d.ts +2 -2
- package/src/PredefinedConfig/PredefinedConfig.d.ts +1 -39
- package/src/PredefinedConfig/QuickSearchState.d.ts +3 -3
- package/src/PredefinedConfig/ScheduleState.d.ts +2 -6
- package/src/PredefinedConfig/ShortcutState.d.ts +6 -2
- package/src/PredefinedConfig/SystemState.d.ts +17 -4
- package/src/PredefinedConfig/ThemeState.d.ts +5 -1
- package/src/Redux/ActionsReducers/AlertRedux.d.ts +3 -38
- package/src/Redux/ActionsReducers/AlertRedux.js +9 -68
- package/src/Redux/ActionsReducers/DashboardRedux.js +3 -2
- package/src/Redux/ActionsReducers/FlashingCellRedux.d.ts +55 -0
- package/src/Redux/ActionsReducers/FlashingCellRedux.js +100 -0
- package/src/Redux/ActionsReducers/GridRedux.d.ts +3 -2
- package/src/Redux/ActionsReducers/GridRedux.js +2 -2
- package/src/Redux/ActionsReducers/LayoutRedux.d.ts +12 -2
- package/src/Redux/ActionsReducers/LayoutRedux.js +24 -1
- package/src/Redux/ActionsReducers/PopupRedux.d.ts +1 -1
- package/src/Redux/ActionsReducers/SystemRedux.d.ts +34 -13
- package/src/Redux/ActionsReducers/SystemRedux.js +94 -40
- package/src/Redux/ActionsReducers/ToolPanelRedux.js +2 -1
- package/src/Redux/DeadRedux.d.ts +4 -8
- package/src/Redux/Store/AdaptableReduxLocalStorageEngine.js +6 -1
- package/src/Redux/Store/AdaptableStore.d.ts +3 -3
- package/src/Redux/Store/AdaptableStore.js +91 -51
- package/src/Strategy/AdaptableModuleBase.d.ts +2 -2
- package/src/Strategy/AlertModule.d.ts +16 -7
- package/src/Strategy/AlertModule.js +40 -216
- package/src/Strategy/BulkUpdateModule.d.ts +2 -2
- package/src/Strategy/BulkUpdateModule.js +4 -4
- package/src/Strategy/CalculatedColumnModule.d.ts +28 -0
- package/src/Strategy/CalculatedColumnModule.js +29 -0
- package/src/Strategy/CellSummaryModule.d.ts +2 -2
- 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 +2 -3
- package/src/Strategy/DashboardModule.js +1 -7
- package/src/Strategy/DataChangeHistoryModule.js +3 -3
- package/src/Strategy/DataSourceModule.d.ts +9 -1
- package/src/Strategy/DataSourceModule.js +28 -0
- package/src/Strategy/ExportModule.d.ts +14 -2
- package/src/Strategy/ExportModule.js +43 -0
- package/src/Strategy/FilterModule.d.ts +10 -3
- package/src/Strategy/FilterModule.js +27 -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 +36 -1
- package/src/Strategy/FreeTextColumnModule.d.ts +9 -1
- package/src/Strategy/FreeTextColumnModule.js +45 -0
- package/src/Strategy/GridInfoModule.d.ts +2 -2
- package/src/Strategy/GridInfoModule.js +58 -36
- package/src/Strategy/Interface/IModule.d.ts +72 -2
- package/src/Strategy/LayoutModule.d.ts +2 -2
- package/src/Strategy/LayoutModule.js +21 -8
- 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 +27 -0
- package/src/Strategy/ScheduleModule.d.ts +17 -1
- package/src/Strategy/ScheduleModule.js +148 -2
- package/src/Strategy/SetingsPanelModule.d.ts +10 -0
- package/src/Strategy/SetingsPanelModule.js +24 -0
- package/src/Strategy/ShortcutModule.d.ts +11 -0
- package/src/Strategy/ShortcutModule.js +22 -0
- package/src/Strategy/SmartEditModule.d.ts +2 -2
- package/src/Strategy/SmartEditModule.js +3 -4
- package/src/Strategy/SystemStatusModule.d.ts +2 -2
- 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/getFormatColumnSettingsViewItems.d.ts +5 -0
- package/src/Strategy/Utilities/getFormatColumnSettingsViewItems.js +15 -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/GeneralConstants.d.ts +1 -0
- package/src/Utilities/Constants/GeneralConstants.js +2 -1
- package/src/Utilities/Constants/ModuleConstants.d.ts +8 -6
- package/src/Utilities/Constants/ModuleConstants.js +9 -7
- package/src/Utilities/Defaults/DefaultAdaptableOptions.js +19 -11
- package/src/Utilities/Defaults/DefaultSettingsPanel.d.ts +6 -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 +2 -1
- package/src/Utilities/Helpers/PreviewHelper.js +2 -2
- package/src/Utilities/Helpers/StyleHelper.d.ts +4 -0
- package/src/Utilities/Helpers/StyleHelper.js +4 -1
- package/src/Utilities/Interface/Preview.d.ts +2 -1
- package/src/Utilities/MenuItem.d.ts +1 -1
- package/src/Utilities/MenuItem.js +2 -2
- package/src/Utilities/ObjectFactory.d.ts +7 -8
- package/src/Utilities/ObjectFactory.js +24 -31
- 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 +8 -0
- 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 +16 -2
- package/src/Utilities/Services/ModuleService.js +6 -6
- package/src/Utilities/Services/TeamSharingService.js +3 -4
- package/src/Utilities/Services/ValidationService.js +1 -1
- package/src/View/AdaptableView.js +3 -3
- package/src/View/AdaptableViewFactory.d.ts +2 -1
- package/src/View/AdaptableViewFactory.js +2 -26
- package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/ConfigurationForm.js +16 -16
- 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.js +4 -6
- package/src/View/Alert/Wizard/AlertWizard.js +17 -3
- package/src/View/Alert/Wizard/BaseAlertRulesWizardSection.d.ts +4 -2
- package/src/View/Alert/Wizard/BaseAlertRulesWizardSection.js +1 -1
- 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 +17 -0
- package/src/View/CalculatedColumn/Wizard/CalculatedColumnSettingsWizardSection.js +6 -16
- package/src/View/CalculatedColumn/Wizard/CalculatedColumnWizard.js +18 -2
- package/src/View/CellSummary/CellSummaryPopup.js +2 -2
- package/src/View/CellSummary/CellSummaryViewPanel.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 +9 -8
- package/src/View/Components/FilterForm/ListBoxFilterForm.d.ts +1 -1
- package/src/View/Components/FilterForm/ListBoxFilterForm.js +7 -7
- package/src/View/Components/FilterForm/QuickFilterForm.js +5 -2
- package/src/View/Components/FilterForm/getDefaultColumnFilterPredicate.d.ts +1 -1
- package/src/View/Components/Forms/AdaptableFormControlTextClear.d.ts +1 -1
- package/src/View/Components/Panels/FilterFormPanel.d.ts +1 -1
- package/src/View/Components/Panels/PanelWithImage.d.ts +423 -1
- package/src/View/Components/Panels/PanelWithImage.js +2 -2
- package/src/View/Components/Popups/AdaptableChart.js +1 -1
- package/src/View/Components/Popups/AdaptablePopup/AdaptablePopup.d.ts +20 -0
- package/src/View/Components/Popups/AdaptablePopup/AdaptablePopup.js +119 -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/AdaptablePopupAlert.js +22 -9
- package/src/View/Components/Popups/AdaptableToaster.js +6 -6
- package/src/View/Components/ToolPanel/AdaptableToolPanel.js +3 -4
- package/src/View/Components/ToolPanel/ToolPanelPopup.js +3 -3
- package/src/View/Components/ValueSelector/index.js +4 -4
- 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 +4 -5
- package/src/View/CustomSort/Wizard/CustomSortWizard.js +18 -3
- package/src/View/Dashboard/Dashboard.d.ts +0 -1
- package/src/View/Dashboard/Dashboard.js +20 -67
- package/src/View/Dashboard/DashboardPopup.d.ts +6 -2
- package/src/View/Dashboard/DashboardPopup.js +30 -8
- package/src/View/DataChangeHistory/DataChangeHistoryGrid.d.ts +1 -1
- package/src/View/DataChangeHistory/DataChangeHistoryGrid.js +6 -6
- package/src/View/DataChangeHistory/DataChangeHistoryPopup.js +8 -8
- 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/ExportViewPanel.js +6 -6
- 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} +6 -6
- 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} +10 -10
- 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 +99 -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 +21 -16
- package/src/View/GridInfo/GridOptionsComponent.js +2 -2
- package/src/View/Layout/LayoutPopup.js +4 -6
- package/src/View/Layout/LayoutViewPanel.js +2 -2
- 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/QueryViewPanel.js +1 -1
- 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 +14 -2
- package/src/View/QuickSearch/QuickSearchPopup.js +2 -2
- package/src/View/QuickSearch/useQuickSearchDebounced.js +2 -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/ScheduleSettingsWizard.js +1 -1
- 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/SmartEdit/SmartEditPopup.js +3 -3
- package/src/View/StateManagement/StateManagementPopup.d.ts +2 -12
- package/src/View/StateManagement/StateManagementPopup.js +23 -115
- package/src/View/StateManagement/StateManagementViewPanel.d.ts +5 -0
- package/src/View/StateManagement/StateManagementViewPanel.js +22 -0
- package/src/View/StateManagement/components/ClearButton.d.ts +6 -0
- package/src/View/StateManagement/components/ClearButton.js +9 -0
- package/src/View/StateManagement/components/ExportDropdown.d.ts +8 -0
- package/src/View/StateManagement/components/ExportDropdown.js +43 -0
- package/src/View/StateManagement/components/LoadButton.d.ts +7 -0
- package/src/View/StateManagement/components/LoadButton.js +38 -0
- package/src/View/StateManagement/handleExportState.d.ts +1 -0
- package/src/View/StateManagement/handleExportState.js +22 -0
- package/src/View/SystemStatus/SystemStatusPopup.js +3 -3
- package/src/View/TeamSharing/TeamSharingPopup.js +2 -2
- package/src/View/Theme/ThemePopup.js +5 -7
- package/src/View/Theme/ThemeViewPanel.js +1 -1
- package/src/View/UIHelper.d.ts +3 -1
- package/src/View/UIHelper.js +35 -16
- 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 -15
- package/src/agGrid/Adaptable.js +293 -132
- package/src/agGrid/agGridHelper.d.ts +5 -4
- package/src/agGrid/agGridHelper.js +26 -15
- package/src/agGrid/agGridMenuHelper.d.ts +15 -13
- package/src/agGrid/agGridMenuHelper.js +53 -45
- package/src/agGrid/editors/AdaptableDateEditor/InternalAdaptableDateEditor.d.ts +1 -1
- package/src/agGrid/editors/AdaptableDateEditor/InternalAdaptableDateEditor.js +11 -6
- package/src/agGrid/editors/AdaptableDateEditor/index.d.ts +3 -2
- package/src/agGrid/editors/AdaptableDateEditor/index.js +16 -6
- package/src/agGrid/editors/AdaptableNumberEditor/index.d.ts +1 -0
- package/src/agGrid/editors/AdaptableNumberEditor/index.js +7 -2
- package/src/components/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/DatepickerContext.d.ts +2 -2
- package/src/components/Datepicker/index.d.ts +1 -1
- package/src/components/Datepicker/index.js +10 -9
- 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/Modal/index.d.ts +1 -1
- package/src/components/OverlayTrigger/index.js +3 -3
- package/src/components/OverlayTrigger/useAgGridClassName.d.ts +2 -0
- package/src/components/OverlayTrigger/{useVendorClassName.js → useAgGridClassName.js} +3 -3
- package/src/components/PopupWithFooter.d.ts +1 -1
- package/src/components/PopupWithFooter.js +2 -7
- package/src/components/ProgressIndicator/ProgressIndicator.js +1 -1
- 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/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/icons/upload.d.ts +3 -0
- package/src/components/icons/upload.js +8 -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 +112 -78
- package/src/metamodel/adaptable.metamodel.js +477 -458
- package/src/types.d.ts +10 -8
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/src/Api/Events/FlashingAlertFired.d.ts +0 -11
- package/src/PredefinedConfig/DeprecatedState.d.ts +0 -82
- package/src/PredefinedConfig/DeprecatedState.js +0 -5
- 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/Popups/AdaptablePopup.d.ts +0 -23
- package/src/View/Components/Popups/AdaptablePopup.js +0 -59
- 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 -10
- 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/OverlayTrigger/useVendorClassName.d.ts +0 -2
- package/src/components/Toastify/index.d.ts +0 -3
- package/src/components/Toastify/index.js +0 -10
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { ApiBase } from './ApiBase';
|
|
2
2
|
import { AlertApi } from '../AlertApi';
|
|
3
|
-
import { AlertState, AlertDefinition, AdaptableAlertAction, AlertButton
|
|
3
|
+
import { AlertState, AlertDefinition, AlertProperties, AdaptableAlertAction, AlertButton } from '../../PredefinedConfig/AlertState';
|
|
4
4
|
import { DataChangedInfo } from '../../PredefinedConfig/Common/DataChangedInfo';
|
|
5
5
|
import { AdaptableScope } from '../../PredefinedConfig/Common/AdaptableScope';
|
|
6
6
|
import { AdaptablePredicateDef } from '../../PredefinedConfig/Common/AdaptablePredicate';
|
|
7
7
|
import { AdaptableAlert } from '../../PredefinedConfig/Common/AdaptableAlert';
|
|
8
8
|
import { AdaptableForm, AdaptableFormData } from '../../PredefinedConfig/Common/AdaptableForm';
|
|
9
|
-
import { AdaptableFlashingAlert } from '../../PredefinedConfig/Common/AdaptableFlashingAlert';
|
|
10
9
|
import { AlertButtonContext } from '../../AdaptableOptions/NotificationsOptions';
|
|
10
|
+
import { AdaptableMessageType } from '../../types';
|
|
11
11
|
export declare class AlertApiImpl extends ApiBase implements AlertApi {
|
|
12
12
|
getAlertState(): AlertState;
|
|
13
13
|
getAdaptableFormByName(name: string): AdaptableForm<AlertButtonContext> | undefined;
|
|
@@ -17,13 +17,6 @@ export declare class AlertApiImpl extends ApiBase implements AlertApi {
|
|
|
17
17
|
getActiveNonReactiveAlertDefinitions(): AlertDefinition[];
|
|
18
18
|
getReactiveAlertDefinitions(): AlertDefinition[];
|
|
19
19
|
getActiveReactiveAlertDefinitions(): AlertDefinition[];
|
|
20
|
-
getFlashingAlertDefinitions(): FlashingAlertDefinition[];
|
|
21
|
-
getFlashingAlertDefinitionById(id: FlashingAlertDefinition['Uuid']): FlashingAlertDefinition;
|
|
22
|
-
getNonReactiveFlashingAlertDefinitions(): FlashingAlertDefinition[];
|
|
23
|
-
getActiveNonReactiveFlashingAlertDefinitions(): FlashingAlertDefinition[];
|
|
24
|
-
getReactiveFlashingAlertDefinitions(): FlashingAlertDefinition[];
|
|
25
|
-
getActiveReactiveFlashingAlertDefinitions(): FlashingAlertDefinition[];
|
|
26
|
-
getFlashingAlertFlashTarget(flashingAlertDefinition: FlashingAlertDefinition): FlashingAlertDefinition['FlashTarget'];
|
|
27
20
|
getAlertDefinitionsWithPreventEdit(): AlertDefinition[];
|
|
28
21
|
getAlertDefinitionsWithAllowEdit(): AlertDefinition[];
|
|
29
22
|
addAlertDefinition(alertDefinition: AlertDefinition): AlertDefinition;
|
|
@@ -33,27 +26,20 @@ export declare class AlertApiImpl extends ApiBase implements AlertApi {
|
|
|
33
26
|
dataChangedInfo?: DataChangedInfo;
|
|
34
27
|
formData?: AdaptableFormData;
|
|
35
28
|
}): void;
|
|
36
|
-
showFlashingAlert(alertToShow: AdaptableFlashingAlert): void;
|
|
37
29
|
displayAlert(alertToShow: AdaptableAlert): Promise<any>;
|
|
38
30
|
publishAlertFiredEvent(alertToFire: AdaptableAlert): void;
|
|
39
31
|
displayMessageAlertPopup(alertToDisplayAsPopup: AdaptableAlert): void;
|
|
40
|
-
showAlert(alertHeader: string, alertMessage: string,
|
|
41
|
-
showAlertInfo(alertHeader: string, alertMessage: string): void;
|
|
42
|
-
showAlertSuccess(alertHeader: string, alertMessage: string): void;
|
|
43
|
-
showAlertWarning(alertHeader: string, alertMessage: string): void;
|
|
44
|
-
showAlertError(alertHeader: string, alertMessage: string): void;
|
|
32
|
+
showAlert(alertHeader: string, alertMessage: string, messageType: AdaptableMessageType, alertProperties?: AlertProperties): void;
|
|
33
|
+
showAlertInfo(alertHeader: string, alertMessage: string, alertProperties?: AlertProperties): void;
|
|
34
|
+
showAlertSuccess(alertHeader: string, alertMessage: string, alertProperties?: AlertProperties): void;
|
|
35
|
+
showAlertWarning(alertHeader: string, alertMessage: string, alertProperties?: AlertProperties): void;
|
|
36
|
+
showAlertError(alertHeader: string, alertMessage: string, alertProperties?: AlertProperties): void;
|
|
45
37
|
showAlertPopup(): void;
|
|
46
38
|
getAlertPredicateDefs(): AdaptablePredicateDef[];
|
|
47
39
|
getAlertPredicateDefsForScope(scope: AdaptableScope): AdaptablePredicateDef[];
|
|
48
40
|
editAlertDefinition(alertDefinition: AlertDefinition): AlertDefinition;
|
|
49
41
|
suspendAlertDefinition(alertDefinition: AlertDefinition): AlertDefinition;
|
|
50
42
|
unSuspendAlertDefinition(alertDefinition: AlertDefinition): AlertDefinition;
|
|
51
|
-
addFlashingAlertDefinition(flashingAlertDefinition: FlashingAlertDefinition): FlashingAlertDefinition;
|
|
52
|
-
editFlashingAlertDefinition(flashingAlertDefinition: FlashingAlertDefinition): FlashingAlertDefinition;
|
|
53
|
-
suspendFlashingAlertDefinition(flashingAlertDefinition: FlashingAlertDefinition): FlashingAlertDefinition;
|
|
54
|
-
unSuspendFlashingAlertDefinition(flashingAlertDefinition: FlashingAlertDefinition): FlashingAlertDefinition;
|
|
55
|
-
addFlashingAlertDefinitions(flashingAlertDefinitions: FlashingAlertDefinition[]): FlashingAlertDefinition[];
|
|
56
|
-
editFlashingAlertDefinitions(flashingAlertDefinitions: FlashingAlertDefinition[]): FlashingAlertDefinition[];
|
|
57
43
|
getAlertDescription(alertDefinition: AlertDefinition, dataChangedInfo?: DataChangedInfo): string;
|
|
58
|
-
getAlertRuleDescription(alert:
|
|
44
|
+
getAlertRuleDescription(alert: AlertDefinition): string;
|
|
59
45
|
}
|
|
@@ -38,49 +38,6 @@ class AlertApiImpl extends ApiBase_1.ApiBase {
|
|
|
38
38
|
getActiveReactiveAlertDefinitions() {
|
|
39
39
|
return this.getReactiveAlertDefinitions().filter((alertDef) => !alertDef.IsSuspended);
|
|
40
40
|
}
|
|
41
|
-
getFlashingAlertDefinitions() {
|
|
42
|
-
var _a, _b;
|
|
43
|
-
const flashingAlertDefinitions = this.getAlertState().FlashingAlertDefinitions;
|
|
44
|
-
const flashingDefaults = (_b = (_a = this.adaptable.adaptableOptions.notificationsOptions) === null || _a === void 0 ? void 0 : _a.flashingAlertDefaultProperties) !== null && _b !== void 0 ? _b : {};
|
|
45
|
-
return flashingAlertDefinitions.map((flashingAlertDefinition) => {
|
|
46
|
-
return Object.assign(Object.assign({}, flashingDefaults), flashingAlertDefinition);
|
|
47
|
-
});
|
|
48
|
-
}
|
|
49
|
-
getFlashingAlertDefinitionById(id) {
|
|
50
|
-
var _a;
|
|
51
|
-
return (_a = this.getFlashingAlertDefinitions()) === null || _a === void 0 ? void 0 : _a.find((alert) => (alert === null || alert === void 0 ? void 0 : alert.Uuid) === id);
|
|
52
|
-
}
|
|
53
|
-
getNonReactiveFlashingAlertDefinitions() {
|
|
54
|
-
var _a, _b;
|
|
55
|
-
const flashingAlertDefinitions = this.getAlertState().FlashingAlertDefinitions.filter((alertDef) => !AdaptableQuery_1.isReactiveQuery(alertDef.Rule));
|
|
56
|
-
const flashingDefaults = (_b = (_a = this.adaptable.adaptableOptions.notificationsOptions) === null || _a === void 0 ? void 0 : _a.flashingAlertDefaultProperties) !== null && _b !== void 0 ? _b : {};
|
|
57
|
-
return flashingAlertDefinitions.map((flashingAlertDefinition) => {
|
|
58
|
-
return Object.assign(Object.assign({}, flashingDefaults), flashingAlertDefinition);
|
|
59
|
-
});
|
|
60
|
-
}
|
|
61
|
-
getActiveNonReactiveFlashingAlertDefinitions() {
|
|
62
|
-
return this.getNonReactiveFlashingAlertDefinitions().filter((alertDef) => !alertDef.IsSuspended);
|
|
63
|
-
}
|
|
64
|
-
getReactiveFlashingAlertDefinitions() {
|
|
65
|
-
var _a, _b;
|
|
66
|
-
const reactiveFlashingAlertDefinitions = this.getAlertState().FlashingAlertDefinitions.filter((alertDef) => AdaptableQuery_1.isReactiveQuery(alertDef.Rule));
|
|
67
|
-
const flashingDefaults = (_b = (_a = this.adaptable.adaptableOptions.notificationsOptions) === null || _a === void 0 ? void 0 : _a.flashingAlertDefaultProperties) !== null && _b !== void 0 ? _b : {};
|
|
68
|
-
return reactiveFlashingAlertDefinitions.map((flashingAlertDefinition) => {
|
|
69
|
-
return Object.assign(Object.assign({}, flashingDefaults), flashingAlertDefinition);
|
|
70
|
-
});
|
|
71
|
-
}
|
|
72
|
-
getActiveReactiveFlashingAlertDefinitions() {
|
|
73
|
-
return this.getReactiveFlashingAlertDefinitions().filter((alertDef) => !alertDef.IsSuspended);
|
|
74
|
-
}
|
|
75
|
-
getFlashingAlertFlashTarget(flashingAlertDefinition) {
|
|
76
|
-
const scopeApi = this.adaptable.api.scopeApi;
|
|
77
|
-
const isScopeAll = scopeApi.scopeIsAll(flashingAlertDefinition.Scope);
|
|
78
|
-
const flashTarget = flashingAlertDefinition.FlashTarget === 'cell' ||
|
|
79
|
-
(!flashingAlertDefinition.FlashTarget && !isScopeAll)
|
|
80
|
-
? 'cell'
|
|
81
|
-
: 'row';
|
|
82
|
-
return flashTarget;
|
|
83
|
-
}
|
|
84
41
|
getAlertDefinitionsWithPreventEdit() {
|
|
85
42
|
return this.getActiveNonReactiveAlertDefinitions().filter((a) => a.AlertProperties != null && a.AlertProperties.PreventEdit === true);
|
|
86
43
|
}
|
|
@@ -111,15 +68,30 @@ class AlertApiImpl extends ApiBase_1.ApiBase {
|
|
|
111
68
|
}
|
|
112
69
|
}
|
|
113
70
|
executeAlertAction(actionName, details) {
|
|
114
|
-
|
|
71
|
+
var _a;
|
|
72
|
+
const { alertDefinition, dataChangedInfo } = details;
|
|
115
73
|
if (!dataChangedInfo) {
|
|
116
74
|
return;
|
|
117
75
|
}
|
|
118
76
|
if (actionName === 'highlight-cell') {
|
|
77
|
+
const highhlightType = (_a = alertDefinition.MessageType) !== null && _a !== void 0 ? _a : 'Info';
|
|
78
|
+
let backgroundColor = '';
|
|
79
|
+
switch (highhlightType) {
|
|
80
|
+
case 'Error':
|
|
81
|
+
backgroundColor = 'var(--ab-color-error)';
|
|
82
|
+
case 'Info':
|
|
83
|
+
backgroundColor = 'var(--ab-color-info)';
|
|
84
|
+
case 'Success':
|
|
85
|
+
backgroundColor = 'var(--ab-color-success)';
|
|
86
|
+
case 'Warning':
|
|
87
|
+
backgroundColor = 'var(--ab-color-warn)';
|
|
88
|
+
}
|
|
119
89
|
this.adaptable.api.gridApi.highlightCell({
|
|
120
90
|
columnId: dataChangedInfo.column.columnId,
|
|
121
91
|
primaryKeyValue: dataChangedInfo.primaryKeyValue,
|
|
122
|
-
|
|
92
|
+
highlightStyle: {
|
|
93
|
+
BackColor: backgroundColor,
|
|
94
|
+
},
|
|
123
95
|
timeout: this.getNotificationsOptions().cellHighlightDuration,
|
|
124
96
|
});
|
|
125
97
|
return;
|
|
@@ -156,26 +128,6 @@ class AlertApiImpl extends ApiBase_1.ApiBase {
|
|
|
156
128
|
}
|
|
157
129
|
*/
|
|
158
130
|
}
|
|
159
|
-
showFlashingAlert(alertToShow) {
|
|
160
|
-
this.addUidToAdaptableObject(alertToShow);
|
|
161
|
-
const flashingAlertFiredInfo = {
|
|
162
|
-
adaptableApi: this.adaptable.api,
|
|
163
|
-
flashingAlert: alertToShow,
|
|
164
|
-
};
|
|
165
|
-
const results = this.adaptable.api.eventApi.emitSync('FlashingAlertFired', flashingAlertFiredInfo);
|
|
166
|
-
const shouldShow = results.reduce((endResult, aResult) => {
|
|
167
|
-
return endResult && aResult !== false;
|
|
168
|
-
}, true);
|
|
169
|
-
if (shouldShow) {
|
|
170
|
-
this.dispatchAction(SystemRedux.SystemFlashingAlertAdd(alertToShow));
|
|
171
|
-
const { FlashDuration } = alertToShow.flashingAlertDefinition;
|
|
172
|
-
if (FlashDuration && FlashDuration !== 'always') {
|
|
173
|
-
setTimeout(() => {
|
|
174
|
-
this.dispatchAction(SystemRedux.SystemFlashingAlertDelete(alertToShow));
|
|
175
|
-
}, FlashDuration);
|
|
176
|
-
}
|
|
177
|
-
}
|
|
178
|
-
}
|
|
179
131
|
async displayAlert(alertToShow) {
|
|
180
132
|
// 3 things we always do with an alert are:
|
|
181
133
|
// 1. Dispatch the Alert (so it appears in the toolbar)
|
|
@@ -226,6 +178,18 @@ class AlertApiImpl extends ApiBase_1.ApiBase {
|
|
|
226
178
|
}, this.adaptable.adaptableOptions.notificationsOptions.cellHighlightDuration);
|
|
227
179
|
}
|
|
228
180
|
}
|
|
181
|
+
if (alertProperties.HighlightRow && dataChangedInfo) {
|
|
182
|
+
let alertNode = dataChangedInfo.rowNode;
|
|
183
|
+
if (!alertNode) {
|
|
184
|
+
alertNode = this.adaptable.getRowNodeForPrimaryKey(dataChangedInfo.primaryKeyValue);
|
|
185
|
+
}
|
|
186
|
+
if (alertNode) {
|
|
187
|
+
this.adaptable.api.gridApi.refreshRowNode(alertNode);
|
|
188
|
+
setTimeout(() => {
|
|
189
|
+
this.dispatchAction(SystemRedux.SystemAlertRemoveHighlight(alertToShow));
|
|
190
|
+
}, this.adaptable.adaptableOptions.notificationsOptions.cellHighlightDuration);
|
|
191
|
+
}
|
|
192
|
+
}
|
|
229
193
|
if (alertProperties.LogToConsole) {
|
|
230
194
|
LoggingHelper_1.ConsoleLogByMessageType(alertToShow.header + ': ' + alertToShow.message, alertDefinition.MessageType);
|
|
231
195
|
}
|
|
@@ -238,25 +202,22 @@ class AlertApiImpl extends ApiBase_1.ApiBase {
|
|
|
238
202
|
displayMessageAlertPopup(alertToDisplayAsPopup) {
|
|
239
203
|
this.dispatchAction(PopupRedux.PopupShowAlert(alertToDisplayAsPopup));
|
|
240
204
|
}
|
|
241
|
-
showAlert(alertHeader, alertMessage,
|
|
242
|
-
|
|
205
|
+
showAlert(alertHeader, alertMessage, messageType, alertProperties) {
|
|
206
|
+
const alertDefinition = ObjectFactory_1.default.CreateInternalAlertDefinitionForMessages(messageType, alertProperties);
|
|
207
|
+
let alertToShow = ObjectFactory_1.default.CreateAlert(alertHeader, alertMessage, alertDefinition);
|
|
243
208
|
this.displayAlert(alertToShow);
|
|
244
209
|
}
|
|
245
|
-
showAlertInfo(alertHeader, alertMessage) {
|
|
246
|
-
|
|
247
|
-
this.showAlert(alertHeader, alertMessage, alertDefinition);
|
|
210
|
+
showAlertInfo(alertHeader, alertMessage, alertProperties) {
|
|
211
|
+
this.showAlert(alertHeader, alertMessage, 'Info', alertProperties);
|
|
248
212
|
}
|
|
249
|
-
showAlertSuccess(alertHeader, alertMessage) {
|
|
250
|
-
|
|
251
|
-
this.showAlert(alertHeader, alertMessage, alertDefinition);
|
|
213
|
+
showAlertSuccess(alertHeader, alertMessage, alertProperties) {
|
|
214
|
+
this.showAlert(alertHeader, alertMessage, 'Success', alertProperties);
|
|
252
215
|
}
|
|
253
|
-
showAlertWarning(alertHeader, alertMessage) {
|
|
254
|
-
|
|
255
|
-
this.showAlert(alertHeader, alertMessage, alertDefinition);
|
|
216
|
+
showAlertWarning(alertHeader, alertMessage, alertProperties) {
|
|
217
|
+
this.showAlert(alertHeader, alertMessage, 'Warning', alertProperties);
|
|
256
218
|
}
|
|
257
|
-
showAlertError(alertHeader, alertMessage) {
|
|
258
|
-
|
|
259
|
-
this.showAlert(alertHeader, alertMessage, alertDefinition);
|
|
219
|
+
showAlertError(alertHeader, alertMessage, alertProperties) {
|
|
220
|
+
this.showAlert(alertHeader, alertMessage, 'Error', alertProperties);
|
|
260
221
|
}
|
|
261
222
|
showAlertPopup() {
|
|
262
223
|
this.showModulePopup(ModuleConstants.AlertModuleId);
|
|
@@ -279,34 +240,6 @@ class AlertApiImpl extends ApiBase_1.ApiBase {
|
|
|
279
240
|
this.dispatchAction(AlertRedux.AlertDefinitionUnSuspend(alertDefinition));
|
|
280
241
|
return this.getAlertDefinitionById(alertDefinition.Uuid);
|
|
281
242
|
}
|
|
282
|
-
addFlashingAlertDefinition(flashingAlertDefinition) {
|
|
283
|
-
this.dispatchAction(AlertRedux.FlashingAlertDefinitionAdd(flashingAlertDefinition));
|
|
284
|
-
return this.getFlashingAlertDefinitionById(flashingAlertDefinition.Uuid);
|
|
285
|
-
}
|
|
286
|
-
editFlashingAlertDefinition(flashingAlertDefinition) {
|
|
287
|
-
this.dispatchAction(AlertRedux.FlashingAlertDefinitionEdit(flashingAlertDefinition));
|
|
288
|
-
return this.getFlashingAlertDefinitionById(flashingAlertDefinition.Uuid);
|
|
289
|
-
}
|
|
290
|
-
suspendFlashingAlertDefinition(flashingAlertDefinition) {
|
|
291
|
-
this.dispatchAction(AlertRedux.FlashingAlertDefinitionSuspend(flashingAlertDefinition));
|
|
292
|
-
return this.getFlashingAlertDefinitionById(flashingAlertDefinition.Uuid);
|
|
293
|
-
}
|
|
294
|
-
unSuspendFlashingAlertDefinition(flashingAlertDefinition) {
|
|
295
|
-
this.dispatchAction(AlertRedux.FlashingAlertDefinitionUnSuspend(flashingAlertDefinition));
|
|
296
|
-
return this.getFlashingAlertDefinitionById(flashingAlertDefinition.Uuid);
|
|
297
|
-
}
|
|
298
|
-
addFlashingAlertDefinitions(flashingAlertDefinitions) {
|
|
299
|
-
flashingAlertDefinitions.forEach((fad) => {
|
|
300
|
-
this.addFlashingAlertDefinition(fad);
|
|
301
|
-
});
|
|
302
|
-
return flashingAlertDefinitions === null || flashingAlertDefinitions === void 0 ? void 0 : flashingAlertDefinitions.map((alert) => this.getFlashingAlertDefinitionById(alert === null || alert === void 0 ? void 0 : alert.Uuid));
|
|
303
|
-
}
|
|
304
|
-
editFlashingAlertDefinitions(flashingAlertDefinitions) {
|
|
305
|
-
flashingAlertDefinitions.forEach((fad) => {
|
|
306
|
-
this.editFlashingAlertDefinition(fad);
|
|
307
|
-
});
|
|
308
|
-
return flashingAlertDefinitions === null || flashingAlertDefinitions === void 0 ? void 0 : flashingAlertDefinitions.map((alert) => this.getFlashingAlertDefinitionById(alert === null || alert === void 0 ? void 0 : alert.Uuid));
|
|
309
|
-
}
|
|
310
243
|
getAlertDescription(alertDefinition, dataChangedInfo) {
|
|
311
244
|
var _a;
|
|
312
245
|
const alertMessageFunction = (_a = this.adaptable.adaptableOptions.notificationsOptions) === null || _a === void 0 ? void 0 : _a.alertMessageText;
|
|
@@ -3,7 +3,7 @@ import { AdaptableColumn } from '../../PredefinedConfig/Common/AdaptableColumn';
|
|
|
3
3
|
import { DataType } from '../../PredefinedConfig/Common/Enums';
|
|
4
4
|
import { ColumnApi } from '../ColumnApi';
|
|
5
5
|
import { GridCell } from '../../PredefinedConfig/Selection/GridCell';
|
|
6
|
-
import { RowNode } from '@ag-grid-community/all-modules';
|
|
6
|
+
import { Column, RowNode } from '@ag-grid-community/all-modules';
|
|
7
7
|
export declare class ColumnApiImpl extends ApiBase implements ColumnApi {
|
|
8
8
|
getColumns(): AdaptableColumn[];
|
|
9
9
|
getVisibleColumns(): AdaptableColumn[];
|
|
@@ -15,7 +15,7 @@ export declare class ColumnApiImpl extends ApiBase implements ColumnApi {
|
|
|
15
15
|
selectColumns(columnIds: string[]): void;
|
|
16
16
|
hideColumn(columnId: string): void;
|
|
17
17
|
showColumn(columnId: string): void;
|
|
18
|
-
|
|
18
|
+
getAgGridColumnType(columnId: string): string | string[];
|
|
19
19
|
isRowGroupColumn(columnId: string): boolean;
|
|
20
20
|
isCalculatedColumn(columnId: string): boolean;
|
|
21
21
|
isFreeTextColumn(columnId: string): boolean;
|
|
@@ -35,7 +35,8 @@ export declare class ColumnApiImpl extends ApiBase implements ColumnApi {
|
|
|
35
35
|
doesColumnExist(columnId: string): boolean;
|
|
36
36
|
getColumnFromId(columnId: string, logWarning?: boolean): AdaptableColumn | undefined;
|
|
37
37
|
getColumnIdsFromId(columnId: string, logWarning?: boolean): string[] | undefined;
|
|
38
|
-
|
|
38
|
+
getAgGridColumnFieldForAdaptableColumn(colId: string): string;
|
|
39
|
+
getAgGridColumnForAdaptableColumn(columnId: string): Column;
|
|
39
40
|
getColumnFromFriendlyName(columnName: string, logWarning?: boolean): AdaptableColumn;
|
|
40
41
|
getColumnsOfType(dataType: DataType): AdaptableColumn[];
|
|
41
42
|
getNumericColumns(): AdaptableColumn[];
|
|
@@ -44,8 +44,8 @@ class ColumnApiImpl extends ApiBase_1.ApiBase {
|
|
|
44
44
|
showColumn(columnId) {
|
|
45
45
|
this.adaptable.showColumn(columnId);
|
|
46
46
|
}
|
|
47
|
-
|
|
48
|
-
return this.adaptable.
|
|
47
|
+
getAgGridColumnType(columnId) {
|
|
48
|
+
return this.adaptable.getAgGridColumnType(columnId);
|
|
49
49
|
}
|
|
50
50
|
isRowGroupColumn(columnId) {
|
|
51
51
|
// put this here as there might be other indicators we are not aware of
|
|
@@ -187,8 +187,12 @@ class ColumnApiImpl extends ApiBase_1.ApiBase {
|
|
|
187
187
|
}
|
|
188
188
|
return undefined;
|
|
189
189
|
}
|
|
190
|
-
|
|
191
|
-
|
|
190
|
+
getAgGridColumnFieldForAdaptableColumn(colId) {
|
|
191
|
+
const agGridColumn = this.getAgGridColumnForAdaptableColumn(colId);
|
|
192
|
+
return agGridColumn.getColDef().field || '';
|
|
193
|
+
}
|
|
194
|
+
getAgGridColumnForAdaptableColumn(columnId) {
|
|
195
|
+
return this.adaptable.getAgGridColumnForAdaptableColumn(this.getColumnFromId(columnId));
|
|
192
196
|
}
|
|
193
197
|
getColumnFromFriendlyName(columnName, logWarning = true) {
|
|
194
198
|
// just return null if no columns rather than logging a warning - otherwise get lots at startup
|
|
@@ -272,7 +276,7 @@ class ColumnApiImpl extends ApiBase_1.ApiBase {
|
|
|
272
276
|
}
|
|
273
277
|
const returnValues = this.adaptable.getDistinctValuesForColumn(abColumn, false);
|
|
274
278
|
return this.sortDistinctValues(returnValues, abColumn).map((cv) => {
|
|
275
|
-
return cv.
|
|
279
|
+
return cv.normalisedValue;
|
|
276
280
|
});
|
|
277
281
|
}
|
|
278
282
|
async getDistinctFilterDisplayValuesForColumn(columnId, filter) {
|
|
@@ -283,10 +287,10 @@ class ColumnApiImpl extends ApiBase_1.ApiBase {
|
|
|
283
287
|
suppressClientSideFilter: false,
|
|
284
288
|
};
|
|
285
289
|
}
|
|
286
|
-
const { gridCells, suppressClientSideFilter
|
|
290
|
+
const { gridCells, suppressClientSideFilter } = await this.adaptable.getDistinctFilterValuesForColumn(abColumn, false, filter);
|
|
287
291
|
return {
|
|
288
292
|
values: this.sortDistinctValues(gridCells, abColumn).map((cv) => {
|
|
289
|
-
return cv.
|
|
293
|
+
return cv.normalisedValue;
|
|
290
294
|
}),
|
|
291
295
|
suppressClientSideFilter,
|
|
292
296
|
};
|
|
@@ -298,7 +302,7 @@ class ColumnApiImpl extends ApiBase_1.ApiBase {
|
|
|
298
302
|
}
|
|
299
303
|
const gridCells = await this.adaptable.getDistinctCustomSortValuesForColumn(abColumn, false);
|
|
300
304
|
return this.sortDistinctValues(gridCells, abColumn).map((cv) => {
|
|
301
|
-
return cv.
|
|
305
|
+
return cv.normalisedValue;
|
|
302
306
|
});
|
|
303
307
|
}
|
|
304
308
|
async getDistinctBulkUpdateDisplayValuesForColumn(columnId, selectedGridCells) {
|
|
@@ -308,7 +312,7 @@ class ColumnApiImpl extends ApiBase_1.ApiBase {
|
|
|
308
312
|
}
|
|
309
313
|
const gridCells = await this.adaptable.getDistinctBulkUpdateValuesForColumn(abColumn, false, selectedGridCells);
|
|
310
314
|
return this.sortDistinctValues(gridCells, abColumn).map((cv) => {
|
|
311
|
-
return cv.
|
|
315
|
+
return cv.normalisedValue;
|
|
312
316
|
});
|
|
313
317
|
}
|
|
314
318
|
getDistinctVisibleDisplayValuesForColumn(columnId) {
|
|
@@ -318,7 +322,7 @@ class ColumnApiImpl extends ApiBase_1.ApiBase {
|
|
|
318
322
|
}
|
|
319
323
|
const returnValues = this.adaptable.getDistinctValuesForColumn(abColumn, true);
|
|
320
324
|
return this.sortDistinctValues(returnValues, abColumn).map((cv) => {
|
|
321
|
-
return cv.
|
|
325
|
+
return cv.normalisedValue;
|
|
322
326
|
});
|
|
323
327
|
}
|
|
324
328
|
getDistinctRawValuesForColumn(columnId, skipRowNode) {
|
|
@@ -370,8 +374,7 @@ class ColumnApiImpl extends ApiBase_1.ApiBase {
|
|
|
370
374
|
});
|
|
371
375
|
}
|
|
372
376
|
usesAdaptableFilterForm(columnId) {
|
|
373
|
-
const useAdaptableFilterForm = this.getFilterOptions()
|
|
374
|
-
.useAdaptableFilterForm;
|
|
377
|
+
const useAdaptableFilterForm = this.getFilterOptions().useAdaptableFilterForm;
|
|
375
378
|
if (useAdaptableFilterForm == null || useAdaptableFilterForm == false) {
|
|
376
379
|
return false;
|
|
377
380
|
}
|
|
@@ -381,8 +384,7 @@ class ColumnApiImpl extends ApiBase_1.ApiBase {
|
|
|
381
384
|
return true;
|
|
382
385
|
}
|
|
383
386
|
usesAdaptableQuickFilter(columnId) {
|
|
384
|
-
const useAdaptableQuickFilter = this.getFilterOptions()
|
|
385
|
-
.useAdaptableQuickFilter;
|
|
387
|
+
const useAdaptableQuickFilter = this.getFilterOptions().useAdaptableQuickFilter;
|
|
386
388
|
if (useAdaptableQuickFilter == null || useAdaptableQuickFilter == false) {
|
|
387
389
|
return false;
|
|
388
390
|
}
|
|
@@ -76,9 +76,7 @@ class ConfigApiImpl extends ApiBase_1.ApiBase {
|
|
|
76
76
|
return [
|
|
77
77
|
'Alert',
|
|
78
78
|
'Application',
|
|
79
|
-
'BulkUpdate',
|
|
80
79
|
'CalculatedColumn',
|
|
81
|
-
'CellSummary',
|
|
82
80
|
'Chart',
|
|
83
81
|
'ConditionalStyle',
|
|
84
82
|
'CustomSort',
|
|
@@ -94,12 +92,9 @@ class ConfigApiImpl extends ApiBase_1.ApiBase {
|
|
|
94
92
|
'Query',
|
|
95
93
|
'QuickSearch',
|
|
96
94
|
'Shortcut',
|
|
97
|
-
'SmartEdit',
|
|
98
95
|
'SparklineColumn',
|
|
99
|
-
'SystemStatus',
|
|
100
96
|
'Theme',
|
|
101
97
|
'ToolPanel',
|
|
102
|
-
'UserInterface',
|
|
103
98
|
];
|
|
104
99
|
}
|
|
105
100
|
getAllUserState() {
|
|
@@ -179,18 +174,10 @@ class ConfigApiImpl extends ApiBase_1.ApiBase {
|
|
|
179
174
|
return returnJson
|
|
180
175
|
? JSON.stringify(this.getAdaptableState().Application)
|
|
181
176
|
: this.getAdaptableState().Application;
|
|
182
|
-
case 'BulkUpdate':
|
|
183
|
-
return returnJson
|
|
184
|
-
? JSON.stringify(this.getAdaptableState().BulkUpdate)
|
|
185
|
-
: this.getAdaptableState().BulkUpdate;
|
|
186
177
|
case 'CalculatedColumn':
|
|
187
178
|
return returnJson
|
|
188
179
|
? JSON.stringify(this.getAdaptableState().CalculatedColumn)
|
|
189
180
|
: this.getAdaptableState().CalculatedColumn;
|
|
190
|
-
case 'CellSummary':
|
|
191
|
-
return returnJson
|
|
192
|
-
? JSON.stringify(this.getAdaptableState().SelectedCells)
|
|
193
|
-
: this.getAdaptableState().CellSummary;
|
|
194
181
|
case 'Chart':
|
|
195
182
|
return returnJson
|
|
196
183
|
? JSON.stringify(this.getAdaptableState().Chart)
|
|
@@ -211,10 +198,6 @@ class ConfigApiImpl extends ApiBase_1.ApiBase {
|
|
|
211
198
|
return returnJson
|
|
212
199
|
? JSON.stringify(this.getAdaptableState().DataSource)
|
|
213
200
|
: this.getAdaptableState().DataSource;
|
|
214
|
-
case 'Entitlement':
|
|
215
|
-
return returnJson
|
|
216
|
-
? JSON.stringify(this.getAdaptableState().Entitlements)
|
|
217
|
-
: this.getAdaptableState().Entitlements;
|
|
218
201
|
case 'Export':
|
|
219
202
|
return returnJson
|
|
220
203
|
? JSON.stringify(this.getAdaptableState().Export)
|
|
@@ -255,18 +238,10 @@ class ConfigApiImpl extends ApiBase_1.ApiBase {
|
|
|
255
238
|
return returnJson
|
|
256
239
|
? JSON.stringify(this.getAdaptableState().Shortcut)
|
|
257
240
|
: this.getAdaptableState().Shortcut;
|
|
258
|
-
case 'SmartEdit':
|
|
259
|
-
return returnJson
|
|
260
|
-
? JSON.stringify(this.getAdaptableState().SmartEdit)
|
|
261
|
-
: this.getAdaptableState().SmartEdit;
|
|
262
241
|
case 'SparklineColumn':
|
|
263
242
|
return returnJson
|
|
264
243
|
? JSON.stringify(this.getAdaptableState().SparklineColumn)
|
|
265
244
|
: this.getAdaptableState().SparklineColumn;
|
|
266
|
-
case 'SystemStatus':
|
|
267
|
-
return returnJson
|
|
268
|
-
? JSON.stringify(this.getAdaptableState().SystemStatus)
|
|
269
|
-
: this.getAdaptableState().SystemStatus;
|
|
270
245
|
case 'Theme':
|
|
271
246
|
return returnJson
|
|
272
247
|
? JSON.stringify(this.getAdaptableState().Theme)
|
|
@@ -275,10 +250,6 @@ class ConfigApiImpl extends ApiBase_1.ApiBase {
|
|
|
275
250
|
return returnJson
|
|
276
251
|
? JSON.stringify(this.getAdaptableState().ToolPanel)
|
|
277
252
|
: this.getAdaptableState().ToolPanel;
|
|
278
|
-
case 'UserInterface':
|
|
279
|
-
return returnJson
|
|
280
|
-
? JSON.stringify(this.getAdaptableState().UserInterface)
|
|
281
|
-
: this.getAdaptableState().UserInterface;
|
|
282
253
|
}
|
|
283
254
|
}
|
|
284
255
|
incrementUerStateRevision(stateKey) {
|
|
@@ -8,4 +8,5 @@ export declare class DataChangeHistoryApiImpl extends ApiBase implements DataCha
|
|
|
8
8
|
suspendDataChangeHistory(): void;
|
|
9
9
|
getDataChangeHistoryLog(): DataChangedInfo[];
|
|
10
10
|
undoDataChangeHistoryEntry(dataChangeInfo: DataChangedInfo): void;
|
|
11
|
+
showDataChangeHistoryPopup(): void;
|
|
11
12
|
}
|
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.DataChangeHistoryApiImpl = void 0;
|
|
4
|
+
const tslib_1 = require("tslib");
|
|
4
5
|
const ApiBase_1 = require("./ApiBase");
|
|
5
6
|
const SystemRedux_1 = require("../../Redux/ActionsReducers/SystemRedux");
|
|
7
|
+
const ModuleConstants = tslib_1.__importStar(require("../../Utilities/Constants/ModuleConstants"));
|
|
6
8
|
class DataChangeHistoryApiImpl extends ApiBase_1.ApiBase {
|
|
7
9
|
getDataChangeHistoryMode() {
|
|
8
10
|
return this.getAdaptableState().System.DataChangeHistory.currentMode;
|
|
@@ -38,5 +40,8 @@ class DataChangeHistoryApiImpl extends ApiBase_1.ApiBase {
|
|
|
38
40
|
undoDataChangeHistoryEntry(dataChangeInfo) {
|
|
39
41
|
this.dispatchAction(SystemRedux_1.SystemDataChangeHistoryUndo(dataChangeInfo));
|
|
40
42
|
}
|
|
43
|
+
showDataChangeHistoryPopup() {
|
|
44
|
+
this.showModulePopup(ModuleConstants.DataChangeHistoryModuleId);
|
|
45
|
+
}
|
|
41
46
|
}
|
|
42
47
|
exports.DataChangeHistoryApiImpl = DataChangeHistoryApiImpl;
|
|
@@ -174,7 +174,7 @@ class FilterApiImpl extends ApiBase_1.ApiBase {
|
|
|
174
174
|
return this.adaptable.api.predicateApi.handlePredicate(columnFilter.Predicate, {
|
|
175
175
|
value: gridCell.normalisedValue,
|
|
176
176
|
oldValue: null,
|
|
177
|
-
displayValue: gridCell.
|
|
177
|
+
displayValue: gridCell.normalisedValue,
|
|
178
178
|
node,
|
|
179
179
|
column,
|
|
180
180
|
}, true);
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { ApiBase } from './ApiBase';
|
|
2
|
+
import { AdaptableFlashingCell } from '../../PredefinedConfig/Common/AdaptableFlashingCell';
|
|
3
|
+
import { FlashingCellApi } from '../FlashingCellApi';
|
|
4
|
+
import { FlashingCellDefinition, FlashingCellState } from '../../PredefinedConfig/FlashingCellState';
|
|
5
|
+
export declare class FlashingCellApiImpl extends ApiBase implements FlashingCellApi {
|
|
6
|
+
getFlashingCellState(): FlashingCellState;
|
|
7
|
+
getFlashingCellDefinitions(): FlashingCellDefinition[];
|
|
8
|
+
getFlashingCellDefinitionById(id: FlashingCellDefinition['Uuid']): FlashingCellDefinition;
|
|
9
|
+
getNonReactiveFlashingCellDefinitions(): FlashingCellDefinition[];
|
|
10
|
+
getActiveNonReactiveFlashingCellDefinitions(): FlashingCellDefinition[];
|
|
11
|
+
getFlashingCellFlashTarget(flashingCellDefinition: FlashingCellDefinition): FlashingCellDefinition['FlashTarget'];
|
|
12
|
+
showFlashingCell(alertToShow: AdaptableFlashingCell): void;
|
|
13
|
+
addFlashingCellDefinition(flashingCellDefinition: FlashingCellDefinition): FlashingCellDefinition;
|
|
14
|
+
setFlashingCellDefinition(flashingCellDefinitions: FlashingCellDefinition[]): void;
|
|
15
|
+
editFlashingCellDefinition(flashingCellDefinition: FlashingCellDefinition): FlashingCellDefinition;
|
|
16
|
+
suspendFlashingCellDefinition(flashingCellDefinition: FlashingCellDefinition): FlashingCellDefinition;
|
|
17
|
+
unSuspendFlashingCellDefinition(flashingCellDefinition: FlashingCellDefinition): FlashingCellDefinition;
|
|
18
|
+
addFlashingCellDefinitions(flashingCellDefinitions: FlashingCellDefinition[]): FlashingCellDefinition[];
|
|
19
|
+
editFlashingCellDefinitions(flashingCellDefinitions: FlashingCellDefinition[]): FlashingCellDefinition[];
|
|
20
|
+
}
|
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.FlashingCellApiImpl = void 0;
|
|
4
|
+
const tslib_1 = require("tslib");
|
|
5
|
+
const SystemRedux = tslib_1.__importStar(require("../../Redux/ActionsReducers/SystemRedux"));
|
|
6
|
+
const FlashingCellRedux = tslib_1.__importStar(require("../../Redux/ActionsReducers/FlashingCellRedux"));
|
|
7
|
+
const ApiBase_1 = require("./ApiBase");
|
|
8
|
+
const AdaptableQuery_1 = require("../../PredefinedConfig/Common/AdaptableQuery");
|
|
9
|
+
class FlashingCellApiImpl extends ApiBase_1.ApiBase {
|
|
10
|
+
getFlashingCellState() {
|
|
11
|
+
return this.getAdaptableState().FlashingCell;
|
|
12
|
+
}
|
|
13
|
+
getFlashingCellDefinitions() {
|
|
14
|
+
var _a, _b;
|
|
15
|
+
const flashingCellDefinitions = this.getFlashingCellState().FlashingCellDefinitions;
|
|
16
|
+
const flashingDefaults = (_b = (_a = this.adaptable.adaptableOptions.notificationsOptions) === null || _a === void 0 ? void 0 : _a.flashingCellDefaultProperties) !== null && _b !== void 0 ? _b : {};
|
|
17
|
+
return flashingCellDefinitions.map((flashingCellDefinition) => {
|
|
18
|
+
return Object.assign(Object.assign({}, flashingDefaults), flashingCellDefinition);
|
|
19
|
+
});
|
|
20
|
+
}
|
|
21
|
+
getFlashingCellDefinitionById(id) {
|
|
22
|
+
var _a;
|
|
23
|
+
return (_a = this.getFlashingCellDefinitions()) === null || _a === void 0 ? void 0 : _a.find((alert) => (alert === null || alert === void 0 ? void 0 : alert.Uuid) === id);
|
|
24
|
+
}
|
|
25
|
+
getNonReactiveFlashingCellDefinitions() {
|
|
26
|
+
var _a, _b;
|
|
27
|
+
const flashingCellDefinitions = this.getFlashingCellState().FlashingCellDefinitions.filter((alertDef) => !AdaptableQuery_1.isReactiveQuery(alertDef.Rule));
|
|
28
|
+
const flashingDefaults = (_b = (_a = this.adaptable.adaptableOptions.notificationsOptions) === null || _a === void 0 ? void 0 : _a.flashingCellDefaultProperties) !== null && _b !== void 0 ? _b : {};
|
|
29
|
+
return flashingCellDefinitions.map((flashingCellDefinition) => {
|
|
30
|
+
return Object.assign(Object.assign({}, flashingDefaults), flashingCellDefinition);
|
|
31
|
+
});
|
|
32
|
+
}
|
|
33
|
+
getActiveNonReactiveFlashingCellDefinitions() {
|
|
34
|
+
return this.getNonReactiveFlashingCellDefinitions().filter((alertDef) => !alertDef.IsSuspended);
|
|
35
|
+
}
|
|
36
|
+
getFlashingCellFlashTarget(flashingCellDefinition) {
|
|
37
|
+
// const scopeApi = this.adaptable.api.scopeApi;
|
|
38
|
+
// const isScopeAll = scopeApi.scopeIsAll(flashingCellDefinition.Scope);
|
|
39
|
+
const flashTarget = flashingCellDefinition.FlashTarget === 'cell' || !flashingCellDefinition.FlashTarget
|
|
40
|
+
? 'cell'
|
|
41
|
+
: 'row';
|
|
42
|
+
return flashTarget;
|
|
43
|
+
}
|
|
44
|
+
showFlashingCell(alertToShow) {
|
|
45
|
+
this.addUidToAdaptableObject(alertToShow);
|
|
46
|
+
const flashingCellFiredInfo = {
|
|
47
|
+
adaptableApi: this.adaptable.api,
|
|
48
|
+
flashingCell: alertToShow,
|
|
49
|
+
};
|
|
50
|
+
const results = this.adaptable.api.eventApi.emitSync('FlashingCellDisplayed', flashingCellFiredInfo);
|
|
51
|
+
const shouldShow = results.reduce((endResult, aResult) => {
|
|
52
|
+
return endResult && aResult !== false;
|
|
53
|
+
}, true);
|
|
54
|
+
if (shouldShow) {
|
|
55
|
+
this.dispatchAction(SystemRedux.SystemFlashingCellAdd(alertToShow));
|
|
56
|
+
const { FlashDuration } = alertToShow.flashingCellDefinition;
|
|
57
|
+
if (FlashDuration && FlashDuration !== 'always') {
|
|
58
|
+
setTimeout(() => {
|
|
59
|
+
this.dispatchAction(SystemRedux.SystemFlashingCellDelete(alertToShow));
|
|
60
|
+
}, FlashDuration);
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
addFlashingCellDefinition(flashingCellDefinition) {
|
|
65
|
+
this.dispatchAction(FlashingCellRedux.FlashingCellDefinitionAdd(flashingCellDefinition));
|
|
66
|
+
return this.getFlashingCellDefinitionById(flashingCellDefinition.Uuid);
|
|
67
|
+
}
|
|
68
|
+
setFlashingCellDefinition(flashingCellDefinitions) {
|
|
69
|
+
this.dispatchAction(FlashingCellRedux.FlashingCellDefinitionSet(flashingCellDefinitions));
|
|
70
|
+
}
|
|
71
|
+
editFlashingCellDefinition(flashingCellDefinition) {
|
|
72
|
+
this.dispatchAction(FlashingCellRedux.FlashingCellDefinitionEdit(flashingCellDefinition));
|
|
73
|
+
return this.getFlashingCellDefinitionById(flashingCellDefinition.Uuid);
|
|
74
|
+
}
|
|
75
|
+
suspendFlashingCellDefinition(flashingCellDefinition) {
|
|
76
|
+
this.dispatchAction(FlashingCellRedux.FlashingCellDefinitionSuspend(flashingCellDefinition));
|
|
77
|
+
return this.getFlashingCellDefinitionById(flashingCellDefinition.Uuid);
|
|
78
|
+
}
|
|
79
|
+
unSuspendFlashingCellDefinition(flashingCellDefinition) {
|
|
80
|
+
this.dispatchAction(FlashingCellRedux.FlashingCellDefinitionUnSuspend(flashingCellDefinition));
|
|
81
|
+
return this.getFlashingCellDefinitionById(flashingCellDefinition.Uuid);
|
|
82
|
+
}
|
|
83
|
+
addFlashingCellDefinitions(flashingCellDefinitions) {
|
|
84
|
+
flashingCellDefinitions.forEach((fad) => {
|
|
85
|
+
this.addFlashingCellDefinition(fad);
|
|
86
|
+
});
|
|
87
|
+
return flashingCellDefinitions === null || flashingCellDefinitions === void 0 ? void 0 : flashingCellDefinitions.map((flashingCell) => this.getFlashingCellDefinitionById(flashingCell === null || flashingCell === void 0 ? void 0 : flashingCell.Uuid));
|
|
88
|
+
}
|
|
89
|
+
editFlashingCellDefinitions(flashingCellDefinitions) {
|
|
90
|
+
flashingCellDefinitions.forEach((fad) => {
|
|
91
|
+
this.editFlashingCellDefinition(fad);
|
|
92
|
+
});
|
|
93
|
+
return flashingCellDefinitions === null || flashingCellDefinitions === void 0 ? void 0 : flashingCellDefinitions.map((flashingCell) => this.getFlashingCellDefinitionById(flashingCell === null || flashingCell === void 0 ? void 0 : flashingCell.Uuid));
|
|
94
|
+
}
|
|
95
|
+
}
|
|
96
|
+
exports.FlashingCellApiImpl = FlashingCellApiImpl;
|