@adaptabletools/adaptable 10.0.4-canary.4 → 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 +1 -1
- package/agGrid.d.ts +2 -2
- package/base.css +202 -33
- package/bundle.cjs.js +100 -97
- package/index.css +243 -33
- package/package.json +3 -2
- package/publishTimestamp.d.ts +1 -1
- package/publishTimestamp.js +1 -1
- package/src/AdaptableInterfaces/IAdaptable.d.ts +3 -3
- package/src/AdaptableOptions/AdaptableOptions.d.ts +7 -2
- package/src/AdaptableOptions/DashboardOptions.d.ts +2 -2
- package/src/AdaptableOptions/DataChangeHistoryOptions.d.ts +2 -2
- package/src/AdaptableOptions/EditOptions.d.ts +2 -2
- package/src/AdaptableOptions/ExportOptions.d.ts +1 -1
- package/src/AdaptableOptions/FilterOptions.d.ts +2 -2
- package/src/AdaptableOptions/FinancePluginOptions.d.ts +1 -1
- package/src/AdaptableOptions/MenuOptions.d.ts +1 -1
- package/src/AdaptableOptions/NotificationsOptions.d.ts +4 -3
- package/src/AdaptableOptions/SettingsPanelOptions.d.ts +75 -0
- package/src/{Api/Events/FlashingAlertFired.js → AdaptableOptions/SettingsPanelOptions.js} +0 -0
- package/src/AdaptableOptions/UserInterfaceOptions.d.ts +29 -0
- package/src/Api/AdaptableApi.d.ts +3 -1
- package/src/Api/AlertApi.d.ts +4 -79
- package/src/Api/DataChangeHistoryApi.d.ts +4 -0
- package/src/Api/EventApi.d.ts +8 -8
- package/src/Api/Events/AdaptableReady.d.ts +2 -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 +28 -5
- 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/ConfigApiImpl.js +0 -5
- package/src/Api/Implementation/DataChangeHistoryApiImpl.d.ts +1 -0
- package/src/Api/Implementation/DataChangeHistoryApiImpl.js +5 -0
- package/src/Api/Implementation/FlashingCellApiImpl.d.ts +20 -0
- package/src/Api/Implementation/FlashingCellApiImpl.js +96 -0
- package/src/Api/Implementation/GridApiImpl.d.ts +13 -8
- package/src/Api/Implementation/GridApiImpl.js +39 -17
- package/src/Api/Implementation/InternalApiImpl.d.ts +2 -2
- package/src/Api/Implementation/InternalApiImpl.js +5 -4
- package/src/Api/Implementation/LayoutApiImpl.js +12 -0
- package/src/Api/Implementation/ScheduleApiImpl.js +5 -5
- package/src/Api/Implementation/SmartEditApiImpl.d.ts +1 -1
- package/src/Api/Implementation/SystemStatusApiImpl.js +1 -1
- package/src/Api/Implementation/ToolPanelApiImpl.js +2 -2
- package/src/Api/InternalApi.d.ts +4 -4
- package/src/Api/SmartEditApi.d.ts +4 -4
- package/src/PredefinedConfig/AdaptableState.d.ts +2 -0
- package/src/PredefinedConfig/AlertState.d.ts +13 -54
- package/src/PredefinedConfig/Common/AdaptableColumn.d.ts +4 -0
- package/src/PredefinedConfig/Common/AdaptableComparerFunction.d.ts +2 -2
- package/src/PredefinedConfig/Common/{AdaptableFlashingAlert.d.ts → AdaptableFlashingCell.d.ts} +6 -6
- package/src/PredefinedConfig/Common/AdaptableFlashingCell.js +2 -0
- package/src/PredefinedConfig/Common/CellHighlightInfo.d.ts +14 -3
- package/src/PredefinedConfig/Common/CellSummary.d.ts +2 -2
- package/src/PredefinedConfig/Common/Menu.d.ts +2 -2
- package/src/PredefinedConfig/Common/Schedule.d.ts +4 -14
- package/src/PredefinedConfig/Common/Schedule.js +0 -14
- package/src/PredefinedConfig/Common/Types.d.ts +4 -3
- package/src/PredefinedConfig/CustomSortState.d.ts +1 -1
- package/src/PredefinedConfig/DashboardState.d.ts +3 -2
- package/src/PredefinedConfig/FlashingCellState.d.ts +70 -0
- package/src/PredefinedConfig/FlashingCellState.js +2 -0
- package/src/PredefinedConfig/FreeTextColumnState.d.ts +2 -2
- package/src/PredefinedConfig/LayoutState.d.ts +1 -1
- package/src/PredefinedConfig/PredefinedConfig.d.ts +2 -0
- package/src/PredefinedConfig/ScheduleState.d.ts +1 -5
- package/src/PredefinedConfig/ShortcutState.d.ts +1 -1
- package/src/PredefinedConfig/SystemState.d.ts +17 -4
- package/src/Redux/ActionsReducers/AlertRedux.d.ts +3 -38
- package/src/Redux/ActionsReducers/AlertRedux.js +9 -68
- package/src/Redux/ActionsReducers/DashboardRedux.js +1 -1
- package/src/Redux/ActionsReducers/FlashingCellRedux.d.ts +55 -0
- package/src/Redux/ActionsReducers/FlashingCellRedux.js +100 -0
- package/src/Redux/ActionsReducers/PopupRedux.d.ts +1 -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/Store/AdaptableStore.js +80 -45
- package/src/Strategy/AlertModule.d.ts +14 -5
- package/src/Strategy/AlertModule.js +40 -123
- package/src/Strategy/CalculatedColumnModule.d.ts +28 -0
- package/src/Strategy/CalculatedColumnModule.js +29 -0
- package/src/Strategy/ConditionalStyleModule.d.ts +12 -0
- package/src/Strategy/ConditionalStyleModule.js +28 -0
- package/src/Strategy/CustomSortModule.d.ts +12 -1
- package/src/Strategy/CustomSortModule.js +26 -0
- package/src/Strategy/DashboardModule.d.ts +0 -1
- package/src/Strategy/DashboardModule.js +1 -7
- package/src/Strategy/DataChangeHistoryModule.js +1 -1
- package/src/Strategy/DataSourceModule.d.ts +9 -1
- package/src/Strategy/DataSourceModule.js +28 -0
- package/src/Strategy/ExportModule.d.ts +12 -0
- package/src/Strategy/ExportModule.js +43 -0
- package/src/Strategy/FilterModule.d.ts +8 -1
- package/src/Strategy/FilterModule.js +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 +35 -0
- package/src/Strategy/FreeTextColumnModule.d.ts +9 -1
- package/src/Strategy/FreeTextColumnModule.js +45 -0
- package/src/Strategy/GridInfoModule.js +58 -36
- package/src/Strategy/Interface/IModule.d.ts +70 -0
- 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/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/ModuleConstants.d.ts +2 -0
- package/src/Utilities/Constants/ModuleConstants.js +3 -1
- package/src/Utilities/Defaults/DefaultAdaptableOptions.js +11 -4
- package/src/Utilities/Defaults/DefaultSettingsPanel.d.ts +6 -0
- package/src/Utilities/Defaults/DefaultSettingsPanel.js +35 -0
- package/src/Utilities/Extensions/ArrayExtensions.js +1 -1
- package/src/Utilities/Helpers/AdaptableHelper.js +2 -1
- package/src/Utilities/Helpers/StyleHelper.d.ts +4 -0
- package/src/Utilities/Helpers/StyleHelper.js +4 -1
- package/src/Utilities/MenuItem.d.ts +1 -1
- package/src/Utilities/MenuItem.js +2 -2
- package/src/Utilities/ObjectFactory.d.ts +6 -7
- package/src/Utilities/ObjectFactory.js +13 -20
- 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/ModuleService.js +6 -6
- package/src/Utilities/Services/TeamSharingService.js +3 -4
- package/src/View/AdaptableView.js +2 -2
- package/src/View/AdaptableViewFactory.js +0 -26
- package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/ConfigurationForm.js +10 -10
- package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/index.js +6 -6
- package/src/View/AdaptableWizardView/index.js +1 -1
- package/src/View/Alert/AlertEmptyView.d.ts +5 -0
- package/src/View/Alert/AlertEmptyView.js +16 -0
- package/src/View/Alert/Wizard/AlertBehaviourWizardSection.d.ts +2 -1
- package/src/View/Alert/Wizard/AlertBehaviourWizardSection.js +10 -5
- package/src/View/Alert/Wizard/AlertDisplayWizardSection.d.ts +8 -1
- package/src/View/Alert/Wizard/AlertDisplayWizardSection.js +6 -7
- package/src/View/Alert/Wizard/AlertRulesWizardSection.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/ColorPicker.d.ts +1 -1
- package/src/View/Components/AdaptableDateInput/index.d.ts +1 -1
- package/src/View/Components/AdaptableInput/index.d.ts +1 -1
- package/src/View/Components/AdaptableObjectList/AdaptableObjectList.d.ts +14 -0
- package/src/View/Components/AdaptableObjectList/AdaptableObjectList.js +82 -0
- package/src/View/Components/AdaptableObjectList/index.d.ts +1 -0
- package/src/View/Components/AdaptableObjectList/index.js +5 -0
- package/src/View/Components/Buttons/ButtonDelete.d.ts +1 -1
- package/src/View/Components/Buttons/ButtonDelete.js +3 -2
- package/src/View/Components/Buttons/ButtonEdit.d.ts +1 -3
- package/src/View/Components/Buttons/ButtonEdit.js +4 -6
- package/src/View/Components/Buttons/ButtonShare.js +3 -2
- package/src/View/Components/Buttons/EntityListActionButtons.js +1 -1
- package/src/View/Components/Buttons/{SuspendToggleButton.d.ts → SuspendToggleButton/SuspendToggleButton.d.ts} +5 -3
- package/src/View/Components/Buttons/SuspendToggleButton/SuspendToggleButton.js +19 -0
- package/src/View/Components/Buttons/SuspendToggleButton/index.d.ts +1 -0
- package/src/View/Components/Buttons/SuspendToggleButton/index.js +4 -0
- package/src/View/Components/ExternalRenderer.d.ts +14 -0
- package/src/View/Components/ExternalRenderer.js +32 -0
- package/src/View/Components/FilterForm/QuickFilterForm.js +8 -3
- package/src/View/Components/FilterForm/getDefaultColumnFilterPredicate.d.ts +1 -1
- package/src/View/Components/Forms/AdaptableFormControlTextClear.d.ts +1 -1
- package/src/View/Components/Panels/PanelWithImage.d.ts +4 -4
- 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/ToolPanel/ToolPanelPopup.js +4 -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 +3 -4
- package/src/View/CustomSort/Wizard/CustomSortWizard.js +18 -3
- package/src/View/Dashboard/Dashboard.d.ts +0 -1
- package/src/View/Dashboard/Dashboard.js +21 -68
- package/src/View/Dashboard/DashboardPopup.d.ts +6 -2
- package/src/View/Dashboard/DashboardPopup.js +30 -8
- package/src/View/DataChangeHistory/DataChangeHistoryGrid.js +3 -4
- package/src/View/DataChangeHistory/DataChangeHistoryPopup.js +3 -3
- package/src/View/DataSource/Wizard/DataSourceSettingsSummary.js +3 -3
- package/src/View/DataSource/Wizard/DataSourceWizard.d.ts +1 -2
- package/src/View/DataSource/Wizard/DataSourceWizard.js +17 -2
- package/src/View/Export/ReportExportDropdown.d.ts +5 -0
- package/src/View/Export/ReportExportDropdown.js +37 -0
- package/src/View/Export/Wizard/NewReportWizard.js +15 -2
- package/src/View/Export/Wizard/ReportNameWizardSection.js +2 -1
- package/src/View/Export/Wizard/ReportRowsWizardSection.js +2 -2
- package/src/View/FlashingCell/FlashingCellStyle.d.ts +7 -0
- package/src/View/FlashingCell/FlashingCellStyle.js +20 -0
- package/src/View/{Alert/Wizard/FlashingAlertWizard/FlashingAlertDurationWizardSection.d.ts → FlashingCell/Wizard/FlashingCellDurationWizardSection.d.ts} +4 -4
- package/src/View/{Alert/Wizard/FlashingAlertWizard/FlashingAlertDurationWizardSection.js → FlashingCell/Wizard/FlashingCellDurationWizardSection.js} +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 +1 -1
- package/src/View/Layout/LayoutPopup.js +4 -6
- package/src/View/Layout/Wizard/LayoutEditor/ColumnList.js +3 -1
- package/src/View/Layout/Wizard/LayoutEditor/index.js +5 -2
- package/src/View/PlusMinus/Wizard/PlusMinusSettingsWizardSection.js +2 -2
- package/src/View/PlusMinus/Wizard/PlusMinusWizard.d.ts +1 -2
- package/src/View/PlusMinus/Wizard/PlusMinusWizard.js +18 -4
- package/src/View/Query/Wizard/NamedQueryExpressionWizardSection.js +2 -2
- package/src/View/Query/Wizard/NamedQuerySettingsWizardSection.js +2 -2
- package/src/View/Query/Wizard/NamedQueryWizard.js +14 -2
- package/src/View/QuickSearch/QuickSearchPopup.js +2 -2
- package/src/View/Schedule/Wizard/ScheduleScheduleSummary.js +2 -2
- package/src/View/Schedule/Wizard/ScheduleScheduleWizard.js +7 -8
- package/src/View/Schedule/Wizard/ScheduleSettingsWizard/ScheduleSettingsOpenFin.js +1 -1
- package/src/View/Schedule/Wizard/ScheduleSettingsWizard/ScheduleSettingsReminder.js +9 -9
- package/src/View/Schedule/Wizard/ScheduleSettingsWizard/ScheduleSettingsSummary.d.ts +5 -0
- package/src/View/Schedule/Wizard/ScheduleSettingsWizard/ScheduleSettingsSummary.js +59 -48
- package/src/View/Schedule/Wizard/ScheduleSettingsWizard/isSettingsValid.js +9 -9
- package/src/View/Schedule/Wizard/ScheduleWizard.d.ts +1 -2
- package/src/View/Schedule/Wizard/ScheduleWizard.js +75 -2
- package/src/View/Shortcut/Wizard/ShortcutSettingsWizard.js +6 -6
- package/src/View/Shortcut/Wizard/ShortcutWizard.d.ts +1 -2
- package/src/View/Shortcut/Wizard/ShortcutWizard.js +31 -4
- package/src/View/SmartEdit/SmartEditPopup.js +2 -2
- package/src/View/StateManagement/StateManagementPopup.js +16 -15
- package/src/View/SystemStatus/SystemStatusPopup.js +3 -3
- package/src/View/TeamSharing/TeamSharingPopup.js +2 -2
- package/src/View/Theme/ThemePopup.js +5 -7
- package/src/View/UIHelper.d.ts +3 -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 +14 -6
- package/src/agGrid/Adaptable.js +194 -57
- package/src/agGrid/agGridHelper.d.ts +1 -0
- package/src/agGrid/agGridHelper.js +14 -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/index.d.ts +1 -1
- package/src/components/Dialog/index.d.ts +4 -1
- package/src/components/Dialog/index.js +10 -3
- package/src/components/DropdownButton/index.d.ts +1 -0
- package/src/components/DropdownButton/index.js +2 -2
- package/src/components/EllipsisContainer/index.js +1 -1
- package/src/components/EmptyContent/index.js +2 -1
- package/src/components/Input/index.d.ts +1 -1
- package/src/components/List/ListGroupItem/index.d.ts +1 -1
- package/src/components/PopupWithFooter.d.ts +1 -1
- package/src/components/PopupWithFooter.js +2 -7
- package/src/components/StylePreview.d.ts +8 -0
- package/src/components/StylePreview.js +11 -0
- package/src/components/Tag/Tag.d.ts +3 -0
- package/src/components/Tag/Tag.js +11 -0
- package/src/components/Tag/index.d.ts +1 -0
- package/src/components/Tag/index.js +5 -0
- package/src/components/Textarea/index.d.ts +1 -1
- package/src/components/ToggleButton/index.d.ts +1 -0
- package/src/components/ToggleButton/index.js +8 -4
- package/src/components/WindowModal/WindowModal.d.ts +23 -0
- package/src/components/WindowModal/WindowModal.js +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 +4 -0
- package/src/components/icons/menu.d.ts +3 -0
- package/src/components/icons/menu.js +7 -0
- package/src/components/icons/state-management.js +1 -1
- package/src/components/icons/tool-panel.d.ts +3 -0
- package/src/components/icons/tool-panel.js +7 -0
- package/src/components/utils/useDraggable.d.ts +3 -1
- package/src/components/utils/useDraggable.js +14 -2
- package/src/metamodel/adaptable.metamodel.d.ts +53 -32
- package/src/metamodel/adaptable.metamodel.js +216 -197
- package/src/types.d.ts +8 -6
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/src/Api/Events/FlashingAlertFired.d.ts +0 -11
- 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 -12
- package/src/View/CustomSort/CustomSortEntityRow.js +0 -32
- package/src/View/CustomSort/CustomSortPopup.d.ts +0 -27
- package/src/View/CustomSort/CustomSortPopup.js +0 -138
- package/src/View/DataSource/DataSourceEntityRow.d.ts +0 -12
- package/src/View/DataSource/DataSourceEntityRow.js +0 -29
- package/src/View/DataSource/DataSourcePopup.d.ts +0 -28
- package/src/View/DataSource/DataSourcePopup.js +0 -97
- package/src/View/Export/ExportPopup.d.ts +0 -34
- package/src/View/Export/ExportPopup.js +0 -139
- package/src/View/Export/ReportEntityRow.d.ts +0 -10
- package/src/View/Export/ReportEntityRow.js +0 -49
- package/src/View/Export/Wizard/ReportWizard.d.ts +0 -7
- package/src/View/Export/Wizard/ReportWizard.js +0 -50
- package/src/View/Filter/FilterEntityRow.d.ts +0 -12
- package/src/View/Filter/FilterEntityRow.js +0 -20
- package/src/View/Filter/FilterPopup.d.ts +0 -20
- package/src/View/Filter/FilterPopup.js +0 -50
- package/src/View/FormatColumn/FormatColumnEntityRow.d.ts +0 -9
- package/src/View/FormatColumn/FormatColumnEntityRow.js +0 -103
- package/src/View/FormatColumn/FormatColumnPopup.d.ts +0 -27
- package/src/View/FormatColumn/FormatColumnPopup.js +0 -133
- package/src/View/FreeTextColumn/FreeTextColumnEntityRow.d.ts +0 -5
- package/src/View/FreeTextColumn/FreeTextColumnEntityRow.js +0 -31
- package/src/View/FreeTextColumn/FreeTextColumnPopup.d.ts +0 -25
- package/src/View/FreeTextColumn/FreeTextColumnPopup.js +0 -118
- package/src/View/PlusMinus/PlusMinusEntityRow.d.ts +0 -9
- package/src/View/PlusMinus/PlusMinusEntityRow.js +0 -24
- package/src/View/PlusMinus/PlusMinusPopup.d.ts +0 -30
- package/src/View/PlusMinus/PlusMinusPopup.js +0 -124
- package/src/View/Query/NamedQueryEntityRow.d.ts +0 -8
- package/src/View/Query/NamedQueryEntityRow.js +0 -21
- package/src/View/Query/QueryPopup.d.ts +0 -28
- package/src/View/Query/QueryPopup.js +0 -114
- package/src/View/Schedule/ScheduleEntityRow.d.ts +0 -5
- package/src/View/Schedule/ScheduleEntityRow.js +0 -58
- package/src/View/Schedule/SchedulePopup.d.ts +0 -58
- package/src/View/Schedule/SchedulePopup.js +0 -317
- package/src/View/Shortcut/ShortcutEntityRow.d.ts +0 -17
- package/src/View/Shortcut/ShortcutEntityRow.js +0 -47
- package/src/View/Shortcut/ShortcutPopup.d.ts +0 -30
- package/src/View/Shortcut/ShortcutPopup.js +0 -121
|
@@ -81,6 +81,12 @@ export interface UserInterfaceOptions {
|
|
|
81
81
|
* @gridInfoItem
|
|
82
82
|
*/
|
|
83
83
|
showDocumentationLinks?: boolean;
|
|
84
|
+
/**
|
|
85
|
+
* Which sections to show in the Grid Info Screen
|
|
86
|
+
*
|
|
87
|
+
* @defaultValue ['GridSummary', 'AdaptableOptions','ColumnInfo']
|
|
88
|
+
*/
|
|
89
|
+
gridInfoSections?: GridInfoSections;
|
|
84
90
|
}
|
|
85
91
|
export interface BasePermittedValues {
|
|
86
92
|
/**
|
|
@@ -201,17 +207,40 @@ export interface BaseParams {
|
|
|
201
207
|
adaptableApi: AdaptableApi;
|
|
202
208
|
}
|
|
203
209
|
export interface EditLookUpParams extends BaseParams {
|
|
210
|
+
/**
|
|
211
|
+
* Column displaying the Edit LookUp
|
|
212
|
+
*/
|
|
204
213
|
column: AdaptableColumn;
|
|
214
|
+
/**
|
|
215
|
+
* Cell being edited
|
|
216
|
+
*/
|
|
205
217
|
gridCell: GridCell;
|
|
206
218
|
}
|
|
207
219
|
export interface PermittedValuesParams extends BaseParams {
|
|
220
|
+
/**
|
|
221
|
+
* Column whose values are being displayed
|
|
222
|
+
*/
|
|
208
223
|
column: AdaptableColumn;
|
|
209
224
|
}
|
|
210
225
|
export interface FilterPermittedValuesParams extends BaseParams {
|
|
226
|
+
/**
|
|
227
|
+
* Column hosting the filter form
|
|
228
|
+
*/
|
|
211
229
|
column: AdaptableColumn;
|
|
230
|
+
/**
|
|
231
|
+
* A search string
|
|
232
|
+
*/
|
|
212
233
|
filter: string;
|
|
213
234
|
}
|
|
214
235
|
export interface BulkUpdatePermittedValuesParams extends BaseParams {
|
|
236
|
+
/**
|
|
237
|
+
* Column being edited via Bulk Update
|
|
238
|
+
*/
|
|
215
239
|
column: AdaptableColumn;
|
|
240
|
+
/**
|
|
241
|
+
* Cells which will be modified in the Bulk Update
|
|
242
|
+
*/
|
|
216
243
|
gridCells: GridCell[];
|
|
217
244
|
}
|
|
245
|
+
export declare type GridInfoSections = GridInfoSection[];
|
|
246
|
+
export declare type GridInfoSection = 'GridSummary' | 'AdaptableOptions' | 'ColumnInfo';
|
|
@@ -34,6 +34,7 @@ import { ApplicationApi } from './ApplicationApi';
|
|
|
34
34
|
import { ScopeApi } from './ScopeApi';
|
|
35
35
|
import { PredicateApi } from './PredicateApi';
|
|
36
36
|
import { DataChangeHistoryApi } from './DataChangeHistoryApi';
|
|
37
|
+
import { FlashingCellApi } from './FlashingCellApi';
|
|
37
38
|
/**
|
|
38
39
|
*
|
|
39
40
|
* The `AdaptableApi` provides developers with run-time access to AdapTable.
|
|
@@ -45,6 +46,7 @@ export interface AdaptableApi {
|
|
|
45
46
|
* Provides access to the Alert Module
|
|
46
47
|
*/
|
|
47
48
|
alertApi: AlertApi;
|
|
49
|
+
flashingCellApi: FlashingCellApi;
|
|
48
50
|
/**
|
|
49
51
|
* Provides access to the Application Module
|
|
50
52
|
*/
|
|
@@ -82,7 +84,7 @@ export interface AdaptableApi {
|
|
|
82
84
|
*/
|
|
83
85
|
dashboardApi: DashboardApi;
|
|
84
86
|
/**
|
|
85
|
-
* Provides run-time access to the Data
|
|
87
|
+
* Provides run-time access to the Data Changes Module
|
|
86
88
|
**/
|
|
87
89
|
dataChangeHistoryApi: DataChangeHistoryApi;
|
|
88
90
|
/**
|
package/src/Api/AlertApi.d.ts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { AlertState, AlertDefinition, AdaptableAlertAction, AlertButton
|
|
1
|
+
import { AlertState, AlertDefinition, AdaptableAlertAction, AlertButton } from '../PredefinedConfig/AlertState';
|
|
2
2
|
import { DataChangedInfo } from '../PredefinedConfig/Common/DataChangedInfo';
|
|
3
3
|
import { AdaptableScope } from '../PredefinedConfig/Common/AdaptableScope';
|
|
4
4
|
import { AdaptablePredicateDef } from '../PredefinedConfig/Common/AdaptablePredicate';
|
|
5
5
|
import { AdaptableAlert } from '../PredefinedConfig/Common/AdaptableAlert';
|
|
6
6
|
import { AdaptableForm, AdaptableFormData } from '../PredefinedConfig/Common/AdaptableForm';
|
|
7
|
-
import { AdaptableFlashingAlert } from '../PredefinedConfig/Common/AdaptableFlashingAlert';
|
|
8
7
|
import { AlertButtonContext } from '../AdaptableOptions/NotificationsOptions';
|
|
8
|
+
import { AdaptableMessageType, AlertProperties } from '../types';
|
|
9
9
|
/**
|
|
10
10
|
* Provides run-time access to Alert function and associated State
|
|
11
11
|
*/
|
|
@@ -54,41 +54,6 @@ export interface AlertApi {
|
|
|
54
54
|
* @returns alert definitions
|
|
55
55
|
*/
|
|
56
56
|
getActiveReactiveAlertDefinitions(): AlertDefinition[];
|
|
57
|
-
/**
|
|
58
|
-
* Retrieves all Flashing Alert Definitions in Alert State
|
|
59
|
-
*/
|
|
60
|
-
getFlashingAlertDefinitions(): FlashingAlertDefinition[];
|
|
61
|
-
/**
|
|
62
|
-
* Retrieves Flashing Alert Definition By Id
|
|
63
|
-
* @param id Flashing Alert id
|
|
64
|
-
* @returns flashing alert definition
|
|
65
|
-
*/
|
|
66
|
-
getFlashingAlertDefinitionById(id: FlashingAlertDefinition['Uuid']): FlashingAlertDefinition;
|
|
67
|
-
/**
|
|
68
|
-
* Retrieves all Alert Definitions in Alert State which are NOT Reactive (BooleanQuery)
|
|
69
|
-
* @returns flashing alert definitions
|
|
70
|
-
*/
|
|
71
|
-
getNonReactiveFlashingAlertDefinitions(): FlashingAlertDefinition[];
|
|
72
|
-
/**
|
|
73
|
-
* Retrieves all active (non-suspended) Alert Definitions in Alert State which are NOT Reactive (BooleanQuery)
|
|
74
|
-
* @returns flashing alert definitions
|
|
75
|
-
*/
|
|
76
|
-
getActiveNonReactiveFlashingAlertDefinitions(): FlashingAlertDefinition[];
|
|
77
|
-
/**
|
|
78
|
-
* Retrieves all Flashing Alert Definitions in Alert State which are reactive (ObservableQuery & AggregationQuery)
|
|
79
|
-
* @returns flashing alert definitions
|
|
80
|
-
*/
|
|
81
|
-
getReactiveFlashingAlertDefinitions(): FlashingAlertDefinition[];
|
|
82
|
-
/**
|
|
83
|
-
* Retrieves all active (non-suspended) Flashing Alert Definitions in Alert State which are reactive (ObservableQuery & AggregationQuery)
|
|
84
|
-
* @returns flashing alert definitions
|
|
85
|
-
*/
|
|
86
|
-
getActiveReactiveFlashingAlertDefinitions(): FlashingAlertDefinition[];
|
|
87
|
-
/**
|
|
88
|
-
* Returns where a Flashing Alert Definition will flash a single cell or a whole row
|
|
89
|
-
* @param flashingAlertDefinition Flashing Alert Definition to check
|
|
90
|
-
*/
|
|
91
|
-
getFlashingAlertFlashTarget(flashingAlertDefinition: FlashingAlertDefinition): FlashingAlertDefinition['FlashTarget'];
|
|
92
57
|
/**
|
|
93
58
|
* Retrieves all Alert Definitions which prevent a Cell Edit
|
|
94
59
|
* @returns alert definitions
|
|
@@ -141,12 +106,7 @@ export interface AlertApi {
|
|
|
141
106
|
* @param alertDefinition The Alert Definition which defines when the Alert is triggered
|
|
142
107
|
* @param dataChangedInfo The (optional) DataChangedInfo object that might have triggered the Alert
|
|
143
108
|
*/
|
|
144
|
-
showAlert(alertHeader: string, alertMessage: string,
|
|
145
|
-
/**
|
|
146
|
-
* Displays a Flashing Alert
|
|
147
|
-
* @param flashingAlertToShow Flashing Alert to show
|
|
148
|
-
*/
|
|
149
|
-
showFlashingAlert(flashingAlertToShow: AdaptableFlashingAlert): void;
|
|
109
|
+
showAlert(alertHeader: string, alertMessage: string, messageType: AdaptableMessageType, alertProperties?: AlertProperties): void;
|
|
150
110
|
/**
|
|
151
111
|
* Creates Alert formed from inputted values and displays it as Info Alert.
|
|
152
112
|
* @param alertHeader Header of the Alert (if shown in a popup its the Title of the Window)
|
|
@@ -202,41 +162,6 @@ export interface AlertApi {
|
|
|
202
162
|
* @returns alert definition
|
|
203
163
|
*/
|
|
204
164
|
unSuspendAlertDefinition(alertDefinition: AlertDefinition): AlertDefinition;
|
|
205
|
-
/**
|
|
206
|
-
* Edits Flashing Alert in State with given one
|
|
207
|
-
* @param flashingAlertDefinition Flashing Alert to Edit
|
|
208
|
-
* @returns alert flashing definition
|
|
209
|
-
*/
|
|
210
|
-
editFlashingAlertDefinition(flashingAlertDefinition: FlashingAlertDefinition): FlashingAlertDefinition;
|
|
211
|
-
/**
|
|
212
|
-
* Edits provided Flashing Alert Definitions
|
|
213
|
-
* @param flashingAlertDefinitions Flashing Alerts to Edit
|
|
214
|
-
* @returns flashing alerts definitions
|
|
215
|
-
*/
|
|
216
|
-
editFlashingAlertDefinitions(flashingAlertDefinitions: FlashingAlertDefinition[]): FlashingAlertDefinition[];
|
|
217
|
-
/**
|
|
218
|
-
* Adds a Flashing Alert Definition to State
|
|
219
|
-
* @param flashingAlertDefinition Flashing Alert to Add
|
|
220
|
-
*/
|
|
221
|
-
addFlashingAlertDefinition(flashingAlertDefinition: FlashingAlertDefinition): FlashingAlertDefinition;
|
|
222
|
-
/**
|
|
223
|
-
* Adds provided Flashing Alert Definitions
|
|
224
|
-
* @param flashingAlertDefinitions Flashing Alerts to Add
|
|
225
|
-
* @returns flashing alert definition
|
|
226
|
-
*/
|
|
227
|
-
addFlashingAlertDefinitions(flashingAlertDefinitions: FlashingAlertDefinition[]): FlashingAlertDefinition[];
|
|
228
|
-
/**
|
|
229
|
-
* Suspends a Flashing Alert Definition
|
|
230
|
-
* @param flashingAlertDefinition Alert to Suspend
|
|
231
|
-
* @returns flashing alert definition
|
|
232
|
-
*/
|
|
233
|
-
suspendFlashingAlertDefinition(flashingAlertDefinition: FlashingAlertDefinition): FlashingAlertDefinition;
|
|
234
|
-
/**
|
|
235
|
-
* Activates a suspended Flashing Alert Definition
|
|
236
|
-
* @param flashingAlertDefinition Flashing Alert to Un-Suspend (activate)
|
|
237
|
-
* @returns flashing alert definition
|
|
238
|
-
*/
|
|
239
|
-
unSuspendFlashingAlertDefinition(flashingAlertDefinition: FlashingAlertDefinition): FlashingAlertDefinition;
|
|
240
165
|
/**
|
|
241
166
|
* Returns a description of an Alert Definition
|
|
242
167
|
* @param alertDefinition Alert Definition to use
|
|
@@ -246,5 +171,5 @@ export interface AlertApi {
|
|
|
246
171
|
* Returns a description of an Alert Definition's Rule
|
|
247
172
|
* @param alertDefinition Alert Definition to use
|
|
248
173
|
*/
|
|
249
|
-
getAlertRuleDescription(alertDefinition:
|
|
174
|
+
getAlertRuleDescription(alertDefinition: AlertDefinition): string;
|
|
250
175
|
}
|
package/src/Api/EventApi.d.ts
CHANGED
|
@@ -11,7 +11,7 @@ import { CellChangedInfo } from './Events/CellChanged';
|
|
|
11
11
|
import { SystemStatusMessageDisplayedInfo } from './Events/SystemStatusMessageDisplayed';
|
|
12
12
|
import { CheckboxColumnClickedInfo } from './Events/ChexboxColumnClicked';
|
|
13
13
|
import { AdaptableStateChangedInfo } from './Events/AdaptableStateChanged';
|
|
14
|
-
import {
|
|
14
|
+
import { FlashingCellDisplayedInfo } from './Events/FlashingCellDisplayed';
|
|
15
15
|
import { GridDataChangedInfo } from './Events/GridDataChanged';
|
|
16
16
|
import { TeamSharingEntityChangedInfo } from './Events/TeamSharingEntityChanged';
|
|
17
17
|
/**
|
|
@@ -115,16 +115,16 @@ export interface EventApi {
|
|
|
115
115
|
*/
|
|
116
116
|
off(eventName: 'AlertFired', callback: (alertFiredInfo: AlertFiredInfo) => void): void;
|
|
117
117
|
/**
|
|
118
|
-
* Event fired whenever a **
|
|
119
|
-
* @param eventName
|
|
120
|
-
* @param callback
|
|
118
|
+
* Event fired whenever a **FlashingCell is triggered** in AdapTable.
|
|
119
|
+
* @param eventName FlashingCellFired
|
|
120
|
+
* @param callback FlashingCellFiredInfo which wrap the FlashingCell that was fired
|
|
121
121
|
* @returns the unsubscribe function
|
|
122
122
|
*/
|
|
123
|
-
on(eventName: '
|
|
123
|
+
on(eventName: 'FlashingCellDisplayed', callback: (flashingCellDisplayedInfo: FlashingCellDisplayedInfo) => void): VoidFunction;
|
|
124
124
|
/**
|
|
125
|
-
* Unsubscribe from
|
|
125
|
+
* Unsubscribe from FlashingCellDisplayed
|
|
126
126
|
*/
|
|
127
|
-
off(eventName: '
|
|
127
|
+
off(eventName: 'FlashingCellDisplayed', callback: (flashingCellDisplayedInfo: FlashingCellDisplayedInfo) => void): void;
|
|
128
128
|
/**
|
|
129
129
|
* Event fired whenever the **Button in a Checkbox Column is clicked**.
|
|
130
130
|
* @param eventName CheckboxColumnClicked
|
|
@@ -205,6 +205,6 @@ export interface EventApi {
|
|
|
205
205
|
*/
|
|
206
206
|
off(eventName: 'AdaptableReady', callback: (adaptableReadyInfo: AdaptableReadyInfo) => void): void;
|
|
207
207
|
emitSync(eventName: 'DashboardChanged', data?: any): any[];
|
|
208
|
-
emitSync(eventName: '
|
|
208
|
+
emitSync(eventName: 'FlashingCellDisplayed', data?: any): any[];
|
|
209
209
|
emit(eventName: 'AdaptableReady' | 'AlertFired' | 'CheckboxColumnClicked' | 'CustomToolbarConfigured' | 'AdaptableStateChanged' | 'DashboardChanged' | 'CellChanged' | 'GridDataChanged' | 'LayoutChanged' | 'LiveDataChanged' | 'SearchChanged' | 'SelectionChanged' | 'SystemStatusMessageDisplayed' | 'TeamSharingEntityChanged' | 'ThemeChanged' | 'BroadcastInstrument', data?: any): Promise<any>;
|
|
210
210
|
}
|
|
@@ -5,7 +5,7 @@ import { BaseEventInfo } from './BaseEventInfo';
|
|
|
5
5
|
*/
|
|
6
6
|
export interface AdaptableReadyInfo extends BaseEventInfo {
|
|
7
7
|
/**
|
|
8
|
-
* Underlying AG Grid
|
|
8
|
+
* Underlying AG Grid GridOptions object
|
|
9
9
|
*/
|
|
10
|
-
|
|
10
|
+
agGridOptions: GridOptions;
|
|
11
11
|
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { AdaptableFlashingCell } from '../../PredefinedConfig/Common/AdaptableFlashingCell';
|
|
2
|
+
import { BaseEventInfo } from './BaseEventInfo';
|
|
3
|
+
/**
|
|
4
|
+
* Object returned by the `FlashingAlertFired` event
|
|
5
|
+
*/
|
|
6
|
+
export interface FlashingCellDisplayedInfo extends BaseEventInfo {
|
|
7
|
+
/**
|
|
8
|
+
* FlashingAlert which has been fired
|
|
9
|
+
*/
|
|
10
|
+
flashingCell: AdaptableFlashingCell;
|
|
11
|
+
}
|
|
File without changes
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { RowNode } from '@ag-grid-community/all-modules';
|
|
1
2
|
import { BaseEventInfo } from './BaseEventInfo';
|
|
2
3
|
/**
|
|
3
4
|
* EventInfo returned by GridDataChanged event
|
|
@@ -11,5 +12,6 @@ export interface GridDataChangedInfo extends BaseEventInfo {
|
|
|
11
12
|
* Trigger for row change: 'Add', 'Edit' or 'Delete'
|
|
12
13
|
}
|
|
13
14
|
*/
|
|
14
|
-
|
|
15
|
+
rowTrigger: 'Add' | 'Edit' | 'Delete';
|
|
16
|
+
rowNodes: RowNode[];
|
|
15
17
|
}
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
import { AdaptableFlashingCell } from '../PredefinedConfig/Common/AdaptableFlashingCell';
|
|
2
|
+
import { FlashingCellDefinition, FlashingCellState } from '../PredefinedConfig/FlashingCellState';
|
|
3
|
+
/**
|
|
4
|
+
* Provides run-time access to Alert function and associated State
|
|
5
|
+
*/
|
|
6
|
+
export interface FlashingCellApi {
|
|
7
|
+
/**
|
|
8
|
+
* Retrieves Alert section from Adaptable State
|
|
9
|
+
* @returns alert state
|
|
10
|
+
*/
|
|
11
|
+
getFlashingCellState(): FlashingCellState;
|
|
12
|
+
/**
|
|
13
|
+
* Retrieves all Flashing cell Definitions in Alert State
|
|
14
|
+
*/
|
|
15
|
+
getFlashingCellDefinitions(): FlashingCellDefinition[];
|
|
16
|
+
/**
|
|
17
|
+
* Retrieves Flashing cell Definition By Id
|
|
18
|
+
* @param id Flashing Alert id
|
|
19
|
+
* @returns flashing cell definition
|
|
20
|
+
*/
|
|
21
|
+
getFlashingCellDefinitionById(id: FlashingCellDefinition['Uuid']): FlashingCellDefinition;
|
|
22
|
+
/**
|
|
23
|
+
* Retrieves all cell Definitions in Alert State which are NOT Reactive (BooleanQuery)
|
|
24
|
+
* @returns flashing cell definitions
|
|
25
|
+
*/
|
|
26
|
+
getNonReactiveFlashingCellDefinitions(): FlashingCellDefinition[];
|
|
27
|
+
/**
|
|
28
|
+
* Retrieves all active (non-suspended) cell Definitions in Alert State which are NOT Reactive (BooleanQuery)
|
|
29
|
+
* @returns flashing cell definitions
|
|
30
|
+
*/
|
|
31
|
+
getActiveNonReactiveFlashingCellDefinitions(): FlashingCellDefinition[];
|
|
32
|
+
/**
|
|
33
|
+
* Returns where a Flashing cell Definition will flash a single cell or a whole row
|
|
34
|
+
* @param flashingCellDefinition Flashing cell Definition to check
|
|
35
|
+
*/
|
|
36
|
+
getFlashingCellFlashTarget(flashingCellDefinition: FlashingCellDefinition): FlashingCellDefinition['FlashTarget'];
|
|
37
|
+
/**
|
|
38
|
+
* Displays a Flashing Alert
|
|
39
|
+
* @param flashingCellToShow Flashing Alert to show
|
|
40
|
+
*/
|
|
41
|
+
showFlashingCell(flashingCellToShow: AdaptableFlashingCell): void;
|
|
42
|
+
/**
|
|
43
|
+
* Edits Flashing Alert in State with given one
|
|
44
|
+
* @param flashingCellDefinition Flashing Alert to Edit
|
|
45
|
+
* @returns alert flashing definition
|
|
46
|
+
*/
|
|
47
|
+
editFlashingCellDefinition(flashingCellDefinition: FlashingCellDefinition): FlashingCellDefinition;
|
|
48
|
+
/**
|
|
49
|
+
* Edits provided Flashing cell Definitions
|
|
50
|
+
* @param flashingCellDefinitions Flashing Alerts to Edit
|
|
51
|
+
* @returns flashing alerts definitions
|
|
52
|
+
*/
|
|
53
|
+
editFlashingCellDefinitions(flashingCellDefinitions: FlashingCellDefinition[]): FlashingCellDefinition[];
|
|
54
|
+
/**
|
|
55
|
+
* Adds a Flashing cell Definition to State
|
|
56
|
+
* @param flashingCellDefinition Flashing Alert to Add
|
|
57
|
+
*/
|
|
58
|
+
addFlashingCellDefinition(flashingCellDefinition: FlashingCellDefinition): FlashingCellDefinition;
|
|
59
|
+
setFlashingCellDefinition(flashingCellDefinitions: FlashingCellDefinition[]): void;
|
|
60
|
+
/**
|
|
61
|
+
* Adds provided Flashing cell Definitions
|
|
62
|
+
* @param flashingCellDefinitions Flashing Alerts to Add
|
|
63
|
+
* @returns flashing cell definition
|
|
64
|
+
*/
|
|
65
|
+
addFlashingCellDefinitions(flashingCellDefinitions: FlashingCellDefinition[]): FlashingCellDefinition[];
|
|
66
|
+
/**
|
|
67
|
+
* Suspends a Flashing cell Definition
|
|
68
|
+
* @param flashingCellDefinition Alert to Suspend
|
|
69
|
+
* @returns flashing cell definition
|
|
70
|
+
*/
|
|
71
|
+
suspendFlashingCellDefinition(flashingCellDefinition: FlashingCellDefinition): FlashingCellDefinition;
|
|
72
|
+
/**
|
|
73
|
+
* Activates a suspended Flashing cell Definition
|
|
74
|
+
* @param flashingCellDefinition Flashing Alert to Un-Suspend (activate)
|
|
75
|
+
* @returns flashing cell definition
|
|
76
|
+
*/
|
|
77
|
+
unSuspendFlashingCellDefinition(flashingCellDefinition: FlashingCellDefinition): FlashingCellDefinition;
|
|
78
|
+
}
|
package/src/Api/GridApi.d.ts
CHANGED
|
@@ -5,7 +5,7 @@ import { ColumnSort } from '../PredefinedConfig/Common/ColumnSort';
|
|
|
5
5
|
import { GridCell } from '../PredefinedConfig/Selection/GridCell';
|
|
6
6
|
import { DataUpdateConfig } from '../PredefinedConfig/Common/DataUpdateConfig';
|
|
7
7
|
import { DataChangedInfo } from '../PredefinedConfig/Common/DataChangedInfo';
|
|
8
|
-
import { CellHighlightInfo } from '../PredefinedConfig/Common/CellHighlightInfo';
|
|
8
|
+
import { CellHighlightInfo, RowHighlightInfo } from '../PredefinedConfig/Common/CellHighlightInfo';
|
|
9
9
|
import { AdaptableModule } from '../PredefinedConfig/Common/Types';
|
|
10
10
|
import { AccessLevel } from '../PredefinedConfig/Common/Entitlement';
|
|
11
11
|
import { GridOptions, RowNode } from '@ag-grid-community/all-modules';
|
|
@@ -314,7 +314,7 @@ export interface GridApi {
|
|
|
314
314
|
/**
|
|
315
315
|
* Fires Grid Data Changed Event - when a row has changed in AG Grid
|
|
316
316
|
*/
|
|
317
|
-
fireGridDataChangedEvent(dataRows: any[],
|
|
317
|
+
fireGridDataChangedEvent(dataRows: any[], rowNodes: RowNode[], rowTrigger: 'Add' | 'Edit' | 'Delete'): void;
|
|
318
318
|
/**
|
|
319
319
|
* Grid will jump to Row containing given Primary Kev Value
|
|
320
320
|
* @param primaryKeyValue value in Primary Key Column
|
|
@@ -340,12 +340,26 @@ export interface GridApi {
|
|
|
340
340
|
* Unhighlights a Cell in AdapTable
|
|
341
341
|
* @param cellHighlightInfo cell to unhighlight
|
|
342
342
|
*/
|
|
343
|
-
|
|
343
|
+
unHighlightCell(primaryKeyValue: CellHighlightInfo['primaryKeyValue'], columnId: CellHighlightInfo['columnId']): void;
|
|
344
344
|
/**
|
|
345
345
|
* Unhighlights all highlighted Cells in AdapTable
|
|
346
346
|
* @param cellHighlightInfo cell to highlight
|
|
347
347
|
*/
|
|
348
|
-
|
|
348
|
+
unHighlightAllCells(): void;
|
|
349
|
+
/**
|
|
350
|
+
* Highlight a row using an adaptable style
|
|
351
|
+
* @param rowHighlightInfo highlight instructions
|
|
352
|
+
*/
|
|
353
|
+
highlightRow(rowHighlightInfo: RowHighlightInfo): void;
|
|
354
|
+
/**
|
|
355
|
+
* Remove highlight from row
|
|
356
|
+
* @param primaryKeyValue
|
|
357
|
+
*/
|
|
358
|
+
unHighlightRow(primaryKeyValue: RowHighlightInfo['primaryKeyValue']): void;
|
|
359
|
+
/**
|
|
360
|
+
* Remove all highlighted rows
|
|
361
|
+
*/
|
|
362
|
+
unHighlightAllRows(): void;
|
|
349
363
|
/**
|
|
350
364
|
* Refresh Cells in AdapTable
|
|
351
365
|
* @param rowNodes agGrid RowNodes which contain cells to refresh
|
|
@@ -356,7 +370,12 @@ export interface GridApi {
|
|
|
356
370
|
* Forces a render of a row
|
|
357
371
|
* @param primaryKey row primary key
|
|
358
372
|
*/
|
|
359
|
-
|
|
373
|
+
refreshRowByPrimaryKey(primaryKey: any): void;
|
|
374
|
+
/**
|
|
375
|
+
*
|
|
376
|
+
* @param rowNode ag-grid row
|
|
377
|
+
*/
|
|
378
|
+
refreshRowNode(rowNode: RowNode): void;
|
|
360
379
|
/**
|
|
361
380
|
* Returns number of rows in Data Source
|
|
362
381
|
*/
|
|
@@ -399,4 +418,8 @@ export interface GridApi {
|
|
|
399
418
|
* Returns the Grid Container in which the Adaptable Instance is present
|
|
400
419
|
*/
|
|
401
420
|
getGridContainerElement(): HTMLElement | null;
|
|
421
|
+
/**
|
|
422
|
+
* Opens Grid Info popup screen
|
|
423
|
+
*/
|
|
424
|
+
showGridInfoPopup(): void;
|
|
402
425
|
}
|
|
@@ -36,10 +36,12 @@ import { ApplicationApi } from '../ApplicationApi';
|
|
|
36
36
|
import { ScopeApi } from '../ScopeApi';
|
|
37
37
|
import { PredicateApi } from '../PredicateApi';
|
|
38
38
|
import { DataChangeHistoryApi } from '../DataChangeHistoryApi';
|
|
39
|
+
import { FlashingCellApi } from '../FlashingCellApi';
|
|
39
40
|
export declare class AdaptableApiImpl implements AdaptableApi {
|
|
40
41
|
protected adaptable: IAdaptable;
|
|
41
42
|
applicationApi: ApplicationApi;
|
|
42
43
|
alertApi: AlertApi;
|
|
44
|
+
flashingCellApi: FlashingCellApi;
|
|
43
45
|
predicateApi: PredicateApi;
|
|
44
46
|
bulkUpdateApi: BulkUpdateApi;
|
|
45
47
|
calculatedColumnApi: CalculatedColumnApi;
|
|
@@ -37,12 +37,14 @@ const ApplicationApiImpl_1 = require("./ApplicationApiImpl");
|
|
|
37
37
|
const ScopeApiImpl_1 = require("./ScopeApiImpl");
|
|
38
38
|
const DataChangeHistoryApiImpl_1 = require("./DataChangeHistoryApiImpl");
|
|
39
39
|
const QueryLanguageApiImpl_1 = require("./QueryLanguageApiImpl");
|
|
40
|
+
const FlashingCellApiImpl_1 = require("./FlashingCellApiImpl");
|
|
40
41
|
class AdaptableApiImpl {
|
|
41
42
|
constructor(adaptable) {
|
|
42
43
|
this.adaptable = adaptable;
|
|
43
44
|
this.adaptable = adaptable;
|
|
44
45
|
this.applicationApi = new ApplicationApiImpl_1.ApplicationApiImpl(adaptable);
|
|
45
46
|
this.alertApi = new AlertApiImpl_1.AlertApiImpl(adaptable);
|
|
47
|
+
this.flashingCellApi = new FlashingCellApiImpl_1.FlashingCellApiImpl(adaptable);
|
|
46
48
|
this.predicateApi = new PredicateApiImpl_1.PredicateApiImpl(adaptable);
|
|
47
49
|
this.pluginsApi = new PluginsApiImpl_1.PluginsApiImpl(adaptable);
|
|
48
50
|
this.bulkUpdateApi = new BulkUpdateApiImpl_1.BulkUpdateApiImpl(adaptable);
|
|
@@ -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
|
}
|