@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
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.getExportColumnsViewItems = void 0;
|
|
4
|
+
const getScopeViewItems_1 = require("./getScopeViewItems");
|
|
5
|
+
const getValues = (report) => {
|
|
6
|
+
switch (report.ReportColumnScope) {
|
|
7
|
+
case 'AllColumns':
|
|
8
|
+
return ['All Columns'];
|
|
9
|
+
case 'VisibleColumns':
|
|
10
|
+
return ['Visible Columns'];
|
|
11
|
+
case 'ScopeColumns':
|
|
12
|
+
return getScopeViewItems_1.getScopeViewItems(report.Scope).values;
|
|
13
|
+
default:
|
|
14
|
+
return [''];
|
|
15
|
+
}
|
|
16
|
+
};
|
|
17
|
+
exports.getExportColumnsViewItems = (report, api) => {
|
|
18
|
+
return {
|
|
19
|
+
name: 'Columns',
|
|
20
|
+
values: [api.internalApi.getReportService().GetReportColumnScopeShortDescription(report)],
|
|
21
|
+
};
|
|
22
|
+
};
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.getExportRowsViewItems = void 0;
|
|
4
|
+
exports.getExportRowsViewItems = (report, api) => {
|
|
5
|
+
var _a;
|
|
6
|
+
const values = [];
|
|
7
|
+
switch (report.ReportRowScope) {
|
|
8
|
+
case 'AllRows':
|
|
9
|
+
values.push('All Rows');
|
|
10
|
+
break;
|
|
11
|
+
case 'VisibleRows':
|
|
12
|
+
values.push('Visible Rows');
|
|
13
|
+
break;
|
|
14
|
+
case 'ExpressionRows':
|
|
15
|
+
values.push((_a = report.Query) === null || _a === void 0 ? void 0 : _a.BooleanExpression);
|
|
16
|
+
break;
|
|
17
|
+
}
|
|
18
|
+
return {
|
|
19
|
+
name: 'Rows',
|
|
20
|
+
values: [
|
|
21
|
+
api.internalApi
|
|
22
|
+
.getReportService()
|
|
23
|
+
.GetReportExpressionDescription(report, api.columnApi.getColumns()),
|
|
24
|
+
],
|
|
25
|
+
};
|
|
26
|
+
};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.getExpressionViewItems = void 0;
|
|
4
|
+
exports.getExpressionViewItems = (query) => {
|
|
5
|
+
return {
|
|
6
|
+
name: 'Expression',
|
|
7
|
+
values: [query === null || query === void 0 ? void 0 : query.ScalarExpression],
|
|
8
|
+
};
|
|
9
|
+
};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.getFlashingCellDurationViewItems = void 0;
|
|
4
|
+
exports.getFlashingCellDurationViewItems = (flashingCell) => {
|
|
5
|
+
return {
|
|
6
|
+
name: 'Duration',
|
|
7
|
+
values: [flashingCell.FlashDuration],
|
|
8
|
+
};
|
|
9
|
+
};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.getFlashingCellStyleViewItems = void 0;
|
|
4
|
+
const FlashingCellStyle_1 = require("../../View/FlashingCell/FlashingCellStyle");
|
|
5
|
+
exports.getFlashingCellStyleViewItems = () => {
|
|
6
|
+
return {
|
|
7
|
+
name: 'Change Style',
|
|
8
|
+
view: FlashingCellStyle_1.FlashingCellStyle,
|
|
9
|
+
};
|
|
10
|
+
};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.getFormatColumnSettingsViewItems = void 0;
|
|
4
|
+
exports.getFormatColumnSettingsViewItems = (calculatedColumn) => {
|
|
5
|
+
var _a;
|
|
6
|
+
const values = [
|
|
7
|
+
`Cell alignment: ${(_a = calculatedColumn.CellAlignment) !== null && _a !== void 0 ? _a : 'default'}`,
|
|
8
|
+
calculatedColumn.HeaderName && `Header name: ${calculatedColumn.HeaderName}`,
|
|
9
|
+
`Include grouped rows: ${calculatedColumn.IncludeGroupedRows ? 'yes' : 'no'}`,
|
|
10
|
+
].filter(Boolean);
|
|
11
|
+
return {
|
|
12
|
+
name: 'Settings',
|
|
13
|
+
values,
|
|
14
|
+
};
|
|
15
|
+
};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.getRuleViewItems = void 0;
|
|
4
|
+
const AdaptableQuery_1 = require("../../PredefinedConfig/Common/AdaptableQuery");
|
|
5
|
+
exports.getRuleViewItems = (rule, api) => {
|
|
6
|
+
return {
|
|
7
|
+
name: 'Condition',
|
|
8
|
+
label: 'Condition',
|
|
9
|
+
values: [
|
|
10
|
+
rule.Predicate
|
|
11
|
+
? api.predicateApi.predicateToString(rule.Predicate)
|
|
12
|
+
: AdaptableQuery_1.getAdaptableQueryExpression(rule),
|
|
13
|
+
],
|
|
14
|
+
};
|
|
15
|
+
};
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.getScopeViewItems = void 0;
|
|
4
|
+
exports.getScopeViewItems = (scope) => {
|
|
5
|
+
let values = [];
|
|
6
|
+
if ('ColumnIds' in scope) {
|
|
7
|
+
values = scope.ColumnIds;
|
|
8
|
+
}
|
|
9
|
+
if ('DataTypes' in scope) {
|
|
10
|
+
values = scope.DataTypes;
|
|
11
|
+
}
|
|
12
|
+
if ('All' in scope) {
|
|
13
|
+
values = ['All'];
|
|
14
|
+
}
|
|
15
|
+
return {
|
|
16
|
+
label: 'Target',
|
|
17
|
+
name: 'Target',
|
|
18
|
+
values,
|
|
19
|
+
};
|
|
20
|
+
};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.getShortcutSettingsViewItems = void 0;
|
|
4
|
+
exports.getShortcutSettingsViewItems = (shortcut) => {
|
|
5
|
+
var _a, _b;
|
|
6
|
+
const values = [
|
|
7
|
+
`Shortcut Key: ${shortcut.ShortcutKey || 'Not selected'}`,
|
|
8
|
+
`Value: ${(_a = shortcut.ShortcutValue) !== null && _a !== void 0 ? _a : 'Not specified'}`,
|
|
9
|
+
`Operation: ${(_b = shortcut.ShortcutOperation) !== null && _b !== void 0 ? _b : 'Not Specified'}`,
|
|
10
|
+
];
|
|
11
|
+
return {
|
|
12
|
+
name: 'Settings',
|
|
13
|
+
values,
|
|
14
|
+
};
|
|
15
|
+
};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.getStyleViewItems = void 0;
|
|
4
|
+
const tslib_1 = require("tslib");
|
|
5
|
+
const React = tslib_1.__importStar(require("react"));
|
|
6
|
+
const StylePreview_1 = require("../../components/StylePreview");
|
|
7
|
+
const StyleComponent = (props) => {
|
|
8
|
+
return React.createElement(StylePreview_1.StylePreview, { styleObject: props.data.Style });
|
|
9
|
+
};
|
|
10
|
+
exports.getStyleViewItems = () => {
|
|
11
|
+
return {
|
|
12
|
+
name: 'Style',
|
|
13
|
+
view: StyleComponent,
|
|
14
|
+
};
|
|
15
|
+
};
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { AdaptableModule as ModuleConstants } from '../../PredefinedConfig/Common/Types';
|
|
2
2
|
export declare const AlertModuleId: ModuleConstants;
|
|
3
|
+
export declare const FlashingCellModuleId: ModuleConstants;
|
|
3
4
|
export declare const BulkUpdateModuleId: ModuleConstants;
|
|
4
5
|
export declare const CalculatedColumnModuleId: ModuleConstants;
|
|
5
6
|
export declare const CellSummaryModuleId: ModuleConstants;
|
|
@@ -30,3 +31,4 @@ export declare const SystemStatusModuleId: ModuleConstants;
|
|
|
30
31
|
export declare const TeamSharingModuleId: ModuleConstants;
|
|
31
32
|
export declare const ThemeModuleId: ModuleConstants;
|
|
32
33
|
export declare const ToolPanelModuleId: ModuleConstants;
|
|
34
|
+
export declare const SettingsPanelModuleId: ModuleConstants;
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.ToolPanelModuleId = exports.ThemeModuleId = exports.TeamSharingModuleId = exports.SystemStatusModuleId = exports.StateManagementModuleId = exports.SparklineColumnModuleId = exports.SmartEditModuleId = exports.ShortcutModuleId = exports.ScheduleModuleId = exports.QuickSearchModuleId = exports.QueryModuleId = exports.PlusMinusModuleId = exports.OpenFinModuleId = exports.LayoutModuleId = exports.IPushPullModuleId = exports.GridInfoModuleId = exports.Glue42ModuleId = exports.FreeTextColumnModuleId = exports.FormatColumnModuleId = exports.FilterModuleId = exports.ExportModuleId = exports.DataSourceModuleId = exports.DataChangeHistoryModuleId = exports.DashboardModuleId = exports.CustomSortModuleId = exports.ConditionalStyleModuleId = exports.ChartModuleId = exports.CellSummaryModuleId = exports.CalculatedColumnModuleId = exports.BulkUpdateModuleId = exports.AlertModuleId = void 0;
|
|
3
|
+
exports.SettingsPanelModuleId = exports.ToolPanelModuleId = exports.ThemeModuleId = exports.TeamSharingModuleId = exports.SystemStatusModuleId = exports.StateManagementModuleId = exports.SparklineColumnModuleId = exports.SmartEditModuleId = exports.ShortcutModuleId = exports.ScheduleModuleId = exports.QuickSearchModuleId = exports.QueryModuleId = exports.PlusMinusModuleId = exports.OpenFinModuleId = exports.LayoutModuleId = exports.IPushPullModuleId = exports.GridInfoModuleId = exports.Glue42ModuleId = exports.FreeTextColumnModuleId = exports.FormatColumnModuleId = exports.FilterModuleId = exports.ExportModuleId = exports.DataSourceModuleId = exports.DataChangeHistoryModuleId = exports.DashboardModuleId = exports.CustomSortModuleId = exports.ConditionalStyleModuleId = exports.ChartModuleId = exports.CellSummaryModuleId = exports.CalculatedColumnModuleId = exports.BulkUpdateModuleId = exports.FlashingCellModuleId = exports.AlertModuleId = void 0;
|
|
4
4
|
exports.AlertModuleId = 'Alert';
|
|
5
|
+
exports.FlashingCellModuleId = 'FlashingCell';
|
|
5
6
|
exports.BulkUpdateModuleId = 'BulkUpdate';
|
|
6
7
|
exports.CalculatedColumnModuleId = 'CalculatedColumn';
|
|
7
8
|
exports.CellSummaryModuleId = 'CellSummary';
|
|
@@ -32,3 +33,4 @@ exports.SystemStatusModuleId = 'SystemStatus';
|
|
|
32
33
|
exports.TeamSharingModuleId = 'TeamSharing';
|
|
33
34
|
exports.ThemeModuleId = 'Theme';
|
|
34
35
|
exports.ToolPanelModuleId = 'ToolPanel';
|
|
36
|
+
exports.SettingsPanelModuleId = 'SettingsPanel';
|
|
@@ -14,7 +14,7 @@ const Enums_1 = require("../../PredefinedConfig/Common/Enums");
|
|
|
14
14
|
exports.DefaultAdaptableOptions = {
|
|
15
15
|
adaptableId: GeneralConstants.ADAPTABLE_ID,
|
|
16
16
|
adaptableStateKey: undefined,
|
|
17
|
-
|
|
17
|
+
agGridOptions: null,
|
|
18
18
|
primaryKey: '',
|
|
19
19
|
autogeneratePrimaryKey: false,
|
|
20
20
|
userName: GeneralConstants.USER_NAME,
|
|
@@ -34,7 +34,7 @@ exports.DefaultAdaptableOptions = {
|
|
|
34
34
|
transition: 'Slide',
|
|
35
35
|
actionHandlers: undefined,
|
|
36
36
|
showApplicationIcon: false,
|
|
37
|
-
|
|
37
|
+
flashingCellDefaultProperties: {
|
|
38
38
|
FlashDuration: 500,
|
|
39
39
|
DownChangeStyle: {
|
|
40
40
|
BackColor: UIHelper_1.getHexForName(UIHelper_1.RED),
|
|
@@ -46,7 +46,7 @@ exports.DefaultAdaptableOptions = {
|
|
|
46
46
|
BackColor: UIHelper_1.getHexForName(UIHelper_1.GRAY),
|
|
47
47
|
},
|
|
48
48
|
},
|
|
49
|
-
|
|
49
|
+
showSystemStatusMessageNotifications: false,
|
|
50
50
|
maxSystemMessagesInStore: 100,
|
|
51
51
|
},
|
|
52
52
|
containerOptions: {
|
|
@@ -60,7 +60,7 @@ exports.DefaultAdaptableOptions = {
|
|
|
60
60
|
},
|
|
61
61
|
dashboardOptions: {
|
|
62
62
|
canFloat: true,
|
|
63
|
-
|
|
63
|
+
showSettingsPanel: true,
|
|
64
64
|
showQuickSearchInHeader: true,
|
|
65
65
|
customDashboardButtons: undefined,
|
|
66
66
|
customToolbars: undefined,
|
|
@@ -191,6 +191,7 @@ exports.DefaultAdaptableOptions = {
|
|
|
191
191
|
editLookUpItems: undefined,
|
|
192
192
|
actionColumns: undefined,
|
|
193
193
|
showDocumentationLinks: true,
|
|
194
|
+
gridInfoSections: ['GridSummary', 'AdaptableOptions', 'ColumnInfo'],
|
|
194
195
|
},
|
|
195
196
|
toolPanelOptions: {
|
|
196
197
|
showAdaptableToolPanel: true,
|
|
@@ -221,4 +222,10 @@ exports.DefaultAdaptableOptions = {
|
|
|
221
222
|
showDataChange: undefined,
|
|
222
223
|
},
|
|
223
224
|
customPredicateDefs: [],
|
|
225
|
+
settingsPanelOptions: {
|
|
226
|
+
type: 'window',
|
|
227
|
+
title: 'Settings Panel',
|
|
228
|
+
icon: 'ConfigurationIcon',
|
|
229
|
+
navigation: {},
|
|
230
|
+
},
|
|
224
231
|
};
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { AdaptableModule } from '../../types';
|
|
2
|
+
export declare const ACTION_POPUPS: AdaptableModule[];
|
|
3
|
+
/**
|
|
4
|
+
* This constants determines the order and the items that appear in the navigation.
|
|
5
|
+
*/
|
|
6
|
+
export declare const DEFAULT_NAVIGATION_ITEMS: (AdaptableModule | '-')[];
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.DEFAULT_NAVIGATION_ITEMS = exports.ACTION_POPUPS = void 0;
|
|
4
|
+
exports.ACTION_POPUPS = ['BulkUpdate', 'SmartEdit', 'CellSummary'];
|
|
5
|
+
/**
|
|
6
|
+
* This constants determines the order and the items that appear in the navigation.
|
|
7
|
+
*/
|
|
8
|
+
exports.DEFAULT_NAVIGATION_ITEMS = [
|
|
9
|
+
'Dashboard',
|
|
10
|
+
'ToolPanel',
|
|
11
|
+
'StateManagement',
|
|
12
|
+
'-',
|
|
13
|
+
'Alert',
|
|
14
|
+
'CalculatedColumn',
|
|
15
|
+
'ConditionalStyle',
|
|
16
|
+
'CustomSort',
|
|
17
|
+
'DataSource',
|
|
18
|
+
'Export',
|
|
19
|
+
'Filter',
|
|
20
|
+
'FlashingCell',
|
|
21
|
+
'FormatColumn',
|
|
22
|
+
'FreeTextColumn',
|
|
23
|
+
'Layout',
|
|
24
|
+
'PlusMinus',
|
|
25
|
+
'Query',
|
|
26
|
+
'QuickSearch',
|
|
27
|
+
'Schedule',
|
|
28
|
+
'Shortcut',
|
|
29
|
+
'-',
|
|
30
|
+
'GridInfo',
|
|
31
|
+
'SystemStatus',
|
|
32
|
+
'DataChangeHistory',
|
|
33
|
+
'TeamSharing',
|
|
34
|
+
'Theme',
|
|
35
|
+
];
|
|
@@ -59,7 +59,7 @@ function IsNotNull(arrayToCheck) {
|
|
|
59
59
|
}
|
|
60
60
|
exports.IsNotNull = IsNotNull;
|
|
61
61
|
function IsEmpty(arrayToCheck) {
|
|
62
|
-
return arrayToCheck.length == 0;
|
|
62
|
+
return (arrayToCheck === null || arrayToCheck === void 0 ? void 0 : arrayToCheck.length) == 0;
|
|
63
63
|
}
|
|
64
64
|
exports.IsEmpty = IsEmpty;
|
|
65
65
|
function IsNotEmpty(arrayToCheck) {
|
|
@@ -14,7 +14,7 @@ function assignAdaptableOptions(adaptableOptions) {
|
|
|
14
14
|
returnedAdaptableOptions.layoutOptions = Object.assign({}, DefaultAdaptableOptions_1.DefaultAdaptableOptions.layoutOptions, adaptableOptions.layoutOptions);
|
|
15
15
|
returnedAdaptableOptions.notificationsOptions = Object.assign({}, DefaultAdaptableOptions_1.DefaultAdaptableOptions.notificationsOptions, adaptableOptions.notificationsOptions);
|
|
16
16
|
returnedAdaptableOptions.entitlementOptions = Object.assign({}, DefaultAdaptableOptions_1.DefaultAdaptableOptions.entitlementOptions, adaptableOptions.entitlementOptions);
|
|
17
|
-
returnedAdaptableOptions.notificationsOptions.
|
|
17
|
+
returnedAdaptableOptions.notificationsOptions.flashingCellDefaultProperties = Object.assign({}, DefaultAdaptableOptions_1.DefaultAdaptableOptions.notificationsOptions.flashingCellDefaultProperties, (_b = adaptableOptions.notificationsOptions) === null || _b === void 0 ? void 0 : _b.flashingCellDefaultProperties);
|
|
18
18
|
returnedAdaptableOptions.dashboardOptions = Object.assign({}, DefaultAdaptableOptions_1.DefaultAdaptableOptions.dashboardOptions, adaptableOptions.dashboardOptions);
|
|
19
19
|
returnedAdaptableOptions.editOptions = Object.assign({}, DefaultAdaptableOptions_1.DefaultAdaptableOptions.editOptions, adaptableOptions.editOptions);
|
|
20
20
|
returnedAdaptableOptions.containerOptions = Object.assign({}, DefaultAdaptableOptions_1.DefaultAdaptableOptions.containerOptions, adaptableOptions.containerOptions);
|
|
@@ -30,6 +30,7 @@ function assignAdaptableOptions(adaptableOptions) {
|
|
|
30
30
|
returnedAdaptableOptions.toolPanelOptions = Object.assign({}, DefaultAdaptableOptions_1.DefaultAdaptableOptions.toolPanelOptions, adaptableOptions.toolPanelOptions);
|
|
31
31
|
returnedAdaptableOptions.queryLanguageOptions = Object.assign({}, DefaultAdaptableOptions_1.DefaultAdaptableOptions.queryLanguageOptions, adaptableOptions.queryLanguageOptions);
|
|
32
32
|
returnedAdaptableOptions.dataChangeHistoryOptions = Object.assign({}, DefaultAdaptableOptions_1.DefaultAdaptableOptions.dataChangeHistoryOptions, adaptableOptions.dataChangeHistoryOptions);
|
|
33
|
+
returnedAdaptableOptions.settingsPanelOptions = Object.assign({}, DefaultAdaptableOptions_1.DefaultAdaptableOptions.settingsPanelOptions, adaptableOptions.settingsPanelOptions);
|
|
33
34
|
const { predefinedConfig } = returnedAdaptableOptions;
|
|
34
35
|
if (predefinedConfig) {
|
|
35
36
|
returnedAdaptableOptions.predefinedConfig =
|
|
@@ -3,3 +3,7 @@ export declare const convertAdaptableStyleToCSS: (style: AdaptableStyle) => {
|
|
|
3
3
|
[cssProperty: string]: string;
|
|
4
4
|
};
|
|
5
5
|
export declare const convertCSSAbsoluteFontSizeToPt: (fontSize: 'x-large' | 'large' | 'medium' | 'small' | 'x-small') => number;
|
|
6
|
+
export declare const toStyle: (style?: AdaptableStyle) => {
|
|
7
|
+
borderWidth: number;
|
|
8
|
+
borderStyle: string;
|
|
9
|
+
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.convertCSSAbsoluteFontSizeToPt = exports.convertAdaptableStyleToCSS = void 0;
|
|
3
|
+
exports.toStyle = exports.convertCSSAbsoluteFontSizeToPt = exports.convertAdaptableStyleToCSS = void 0;
|
|
4
4
|
const EnumExtensions_1 = require("../Extensions/EnumExtensions");
|
|
5
5
|
exports.convertAdaptableStyleToCSS = (style) => {
|
|
6
6
|
let result = {};
|
|
@@ -42,3 +42,6 @@ exports.convertCSSAbsoluteFontSizeToPt = (fontSize) => {
|
|
|
42
42
|
return 12;
|
|
43
43
|
}
|
|
44
44
|
};
|
|
45
|
+
exports.toStyle = (style) => {
|
|
46
|
+
return Object.assign(Object.assign({}, exports.convertAdaptableStyleToCSS(style !== null && style !== void 0 ? style : {})), { borderWidth: (style === null || style === void 0 ? void 0 : style.BorderColor) ? 2 : 0, borderStyle: 'solid' });
|
|
47
|
+
};
|
|
@@ -3,7 +3,7 @@ import { ModuleParams } from '../View/Components/SharedProps/ModuleViewPopupProp
|
|
|
3
3
|
import { AdaptableMenuItem } from '../PredefinedConfig/Common/Menu';
|
|
4
4
|
import { AdaptableModule } from '../PredefinedConfig/Common/Types';
|
|
5
5
|
export declare class MenuItemDoReduxAction implements AdaptableMenuItem {
|
|
6
|
-
constructor(label: string, module: AdaptableModule,
|
|
6
|
+
constructor(label: string, module: AdaptableModule, reduxAction: Redux.Action, icon: string, isVisible: boolean);
|
|
7
7
|
reduxAction: Redux.Action;
|
|
8
8
|
label: string;
|
|
9
9
|
module: AdaptableModule;
|
|
@@ -5,12 +5,12 @@ const tslib_1 = require("tslib");
|
|
|
5
5
|
const PopupRedux = tslib_1.__importStar(require("../Redux/ActionsReducers/PopupRedux"));
|
|
6
6
|
// A menu item which performs a Redux Action when it is clicke
|
|
7
7
|
class MenuItemDoReduxAction {
|
|
8
|
-
constructor(label, module,
|
|
8
|
+
constructor(label, module, reduxAction, icon, isVisible) {
|
|
9
9
|
this.label = label;
|
|
10
10
|
this.module = module;
|
|
11
11
|
this.isVisible = isVisible;
|
|
12
12
|
this.icon = icon;
|
|
13
|
-
this.reduxAction =
|
|
13
|
+
this.reduxAction = reduxAction;
|
|
14
14
|
}
|
|
15
15
|
}
|
|
16
16
|
exports.MenuItemDoReduxAction = MenuItemDoReduxAction;
|
|
@@ -4,7 +4,7 @@ import { DataSource } from '../PredefinedConfig/DataSourceState';
|
|
|
4
4
|
import { PieChartDefinition, CategoryChartDefinition, SparklinesChartDefinition } from '../PredefinedConfig/ChartState';
|
|
5
5
|
import { CalculatedColumn } from '../PredefinedConfig/CalculatedColumnState';
|
|
6
6
|
import { PlusMinusNudge } from '../PredefinedConfig/PlusMinusState';
|
|
7
|
-
import { AlertDefinition,
|
|
7
|
+
import { AlertDefinition, AlertProperties } from '../PredefinedConfig/AlertState';
|
|
8
8
|
import { Layout } from '../PredefinedConfig/LayoutState';
|
|
9
9
|
import { Report, ReportSchedule } from '../PredefinedConfig/ExportState';
|
|
10
10
|
import { AdaptableColumn } from '../PredefinedConfig/Common/AdaptableColumn';
|
|
@@ -22,12 +22,13 @@ import { IPushPullSchedule } from '../PredefinedConfig/IPushPullState';
|
|
|
22
22
|
import { OpenFinSchedule, OpenFinReport } from '../PredefinedConfig/OpenFinState';
|
|
23
23
|
import { NamedQuery } from '../PredefinedConfig/QueryState';
|
|
24
24
|
import { ColumnFilter } from '../PredefinedConfig/FilterState';
|
|
25
|
-
import {
|
|
25
|
+
import { ReminderSchedule } from '../PredefinedConfig/ScheduleState';
|
|
26
26
|
import { AdaptableAlert } from '../PredefinedConfig/Common/AdaptableAlert';
|
|
27
27
|
import { AdaptableMessageType } from '../PredefinedConfig/Common/AdaptableMessageType';
|
|
28
28
|
import { SystemStatusMessageInfo } from '../PredefinedConfig/Common/SystemStatusMessageInfo';
|
|
29
29
|
import { NotificationsOptions } from '../AdaptableOptions/NotificationsOptions';
|
|
30
30
|
import { CellSummmary } from '../PredefinedConfig/Common/CellSummary';
|
|
31
|
+
import { FlashingCellDefinition } from '../types';
|
|
31
32
|
import { ToastOptions } from 'react-toastify';
|
|
32
33
|
export declare function CreateEmptyCustomSort(): CustomSort;
|
|
33
34
|
export declare function CreateEmptyDataSource(): DataSource;
|
|
@@ -40,8 +41,8 @@ export declare function CreateEmptyPlusMinusNudge(): PlusMinusNudge;
|
|
|
40
41
|
export declare function CreateEmptyAlert(): AdaptableAlert;
|
|
41
42
|
export declare function CreateAlert(alertHeader: string, alertMessage: string, alertDefinition: AlertDefinition, dataChangedInfo?: DataChangedInfo): AdaptableAlert;
|
|
42
43
|
export declare function CreateEmptyAlertDefinition(): AlertDefinition;
|
|
43
|
-
export declare function
|
|
44
|
-
export declare function CreateInternalAlertDefinitionForMessages(messageType: AdaptableMessageType,
|
|
44
|
+
export declare function CreateEmptyFlashingCellDefinition(): FlashingCellDefinition;
|
|
45
|
+
export declare function CreateInternalAlertDefinitionForMessages(messageType: AdaptableMessageType, alertProperties?: AlertProperties): AlertDefinition;
|
|
45
46
|
export declare function CreateEmptySparklineColumn(): SparklineColumn;
|
|
46
47
|
export declare function CreateEmptyReport(): Report;
|
|
47
48
|
export declare function CreateEmptyBaseSchedule(scheduleType: ScheduleType): BaseSchedule;
|
|
@@ -53,7 +54,6 @@ export declare function CreateEmptyOpenFinReport(): OpenFinReport;
|
|
|
53
54
|
export declare function CreateEmptyIPushPullSchedule(): IPushPullSchedule;
|
|
54
55
|
export declare function CreateEmptyGlue42Schedule(): Glue42Schedule;
|
|
55
56
|
export declare function CreateEmptyOpenFinSchedule(): OpenFinSchedule;
|
|
56
|
-
export declare function CreateEmptyReminder(): Reminder;
|
|
57
57
|
export declare function CreateIPushPullSchedule(iPushPullReport: IPushPullReport): IPushPullSchedule;
|
|
58
58
|
export declare function CreateGlue42Schedule(glue42Report: Glue42Report): Glue42Schedule;
|
|
59
59
|
export declare function CreateReportSchedule(reportName: string): ReportSchedule;
|
|
@@ -84,11 +84,10 @@ export declare const ObjectFactory: {
|
|
|
84
84
|
CreateEmptyAlert: typeof CreateEmptyAlert;
|
|
85
85
|
CreateAlert: typeof CreateAlert;
|
|
86
86
|
CreateEmptyAlertDefinition: typeof CreateEmptyAlertDefinition;
|
|
87
|
-
|
|
87
|
+
CreateEmptyFlashingCellDefinition: typeof CreateEmptyFlashingCellDefinition;
|
|
88
88
|
CreateInternalAlertDefinitionForMessages: typeof CreateInternalAlertDefinitionForMessages;
|
|
89
89
|
CreateEmptySparklineColumn: typeof CreateEmptySparklineColumn;
|
|
90
90
|
CreateEmptyReport: typeof CreateEmptyReport;
|
|
91
|
-
CreateEmptyReminder: typeof CreateEmptyReminder;
|
|
92
91
|
CreateEmptyBaseSchedule: typeof CreateEmptyBaseSchedule;
|
|
93
92
|
CreateEmptyReminderSchedule: typeof CreateEmptyReminderSchedule;
|
|
94
93
|
CreateEmptyReportSchedule: typeof CreateEmptyReportSchedule;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.ObjectFactory = exports.CreateToastOptions = exports.CreateColumnFilter = exports.CreateEmptyCellSummmary = exports.CreateSystemStatusMessageInfo = exports.CreateEmptyStyle = exports.CreateEmptyLayout = exports.CreateEmptyFreeTextColumn = exports.CreateEmptyFormatColumn = exports.CreateEmptyConditionalStyle = exports.CreateEmptyShortcut = exports.CreateEmptySchedule = exports.CreateReportSchedule = exports.CreateGlue42Schedule = exports.CreateIPushPullSchedule = exports.
|
|
3
|
+
exports.ObjectFactory = exports.CreateToastOptions = exports.CreateColumnFilter = exports.CreateEmptyCellSummmary = exports.CreateSystemStatusMessageInfo = exports.CreateEmptyStyle = exports.CreateEmptyLayout = exports.CreateEmptyFreeTextColumn = exports.CreateEmptyFormatColumn = exports.CreateEmptyConditionalStyle = exports.CreateEmptyShortcut = exports.CreateEmptySchedule = exports.CreateReportSchedule = exports.CreateGlue42Schedule = exports.CreateIPushPullSchedule = exports.CreateEmptyOpenFinSchedule = exports.CreateEmptyGlue42Schedule = exports.CreateEmptyIPushPullSchedule = exports.CreateEmptyOpenFinReport = exports.CreateEmptyGlue42Report = exports.CreateEmptyIPushPullReport = exports.CreateEmptyReportSchedule = exports.CreateEmptyReminderSchedule = exports.CreateEmptyBaseSchedule = exports.CreateEmptyReport = exports.CreateEmptySparklineColumn = exports.CreateInternalAlertDefinitionForMessages = exports.CreateEmptyFlashingCellDefinition = exports.CreateEmptyAlertDefinition = exports.CreateAlert = exports.CreateEmptyAlert = exports.CreateEmptyPlusMinusNudge = exports.CreateEmptyNamedQuery = exports.CreateEmptyCalculatedColumn = exports.CreateEmptyCategoryChartDefinition = exports.CreateEmptySparklinesChartDefinition = exports.CreateEmptyPieChartDefinition = exports.CreateEmptyDataSource = exports.CreateEmptyCustomSort = void 0;
|
|
4
4
|
const Enums_1 = require("../PredefinedConfig/Common/Enums");
|
|
5
5
|
const GeneralConstants_1 = require("./Constants/GeneralConstants");
|
|
6
6
|
const ChartEnums_1 = require("../PredefinedConfig/Common/ChartEnums");
|
|
@@ -130,7 +130,7 @@ function CreateEmptyAlertDefinition() {
|
|
|
130
130
|
};
|
|
131
131
|
}
|
|
132
132
|
exports.CreateEmptyAlertDefinition = CreateEmptyAlertDefinition;
|
|
133
|
-
function
|
|
133
|
+
function CreateEmptyFlashingCellDefinition() {
|
|
134
134
|
return {
|
|
135
135
|
Uuid: Uuid_1.createUuid(),
|
|
136
136
|
Scope: { All: true },
|
|
@@ -139,8 +139,11 @@ function CreateEmptyFlashingAlertDefinition() {
|
|
|
139
139
|
},
|
|
140
140
|
};
|
|
141
141
|
}
|
|
142
|
-
exports.
|
|
143
|
-
function CreateInternalAlertDefinitionForMessages(messageType,
|
|
142
|
+
exports.CreateEmptyFlashingCellDefinition = CreateEmptyFlashingCellDefinition;
|
|
143
|
+
function CreateInternalAlertDefinitionForMessages(messageType, alertProperties) {
|
|
144
|
+
alertProperties = alertProperties !== null && alertProperties !== void 0 ? alertProperties : {
|
|
145
|
+
DisplayNotification: GeneralConstants_1.ALERT_DEFAULT_SHOW_POPUP,
|
|
146
|
+
};
|
|
144
147
|
return {
|
|
145
148
|
Uuid: Uuid_1.createUuid(),
|
|
146
149
|
Scope: undefined,
|
|
@@ -148,9 +151,7 @@ function CreateInternalAlertDefinitionForMessages(messageType, showPopup) {
|
|
|
148
151
|
Predicate: undefined,
|
|
149
152
|
},
|
|
150
153
|
MessageType: messageType,
|
|
151
|
-
AlertProperties:
|
|
152
|
-
DisplayNotification: showPopup != null && showPopup != undefined ? showPopup : GeneralConstants_1.ALERT_DEFAULT_SHOW_POPUP,
|
|
153
|
-
},
|
|
154
|
+
AlertProperties: alertProperties,
|
|
154
155
|
};
|
|
155
156
|
}
|
|
156
157
|
exports.CreateInternalAlertDefinitionForMessages = CreateInternalAlertDefinitionForMessages;
|
|
@@ -189,7 +190,10 @@ function CreateEmptyReminderSchedule() {
|
|
|
189
190
|
Uuid: Uuid_1.createUuid(),
|
|
190
191
|
ScheduleType: Enums_1.ScheduleType.Reminder,
|
|
191
192
|
Schedule: CreateEmptySchedule(),
|
|
192
|
-
|
|
193
|
+
Header: GeneralConstants_1.EMPTY_STRING,
|
|
194
|
+
Message: GeneralConstants_1.EMPTY_STRING,
|
|
195
|
+
MessageType: 'Info',
|
|
196
|
+
DisplayNotification: true,
|
|
193
197
|
};
|
|
194
198
|
}
|
|
195
199
|
exports.CreateEmptyReminderSchedule = CreateEmptyReminderSchedule;
|
|
@@ -256,16 +260,6 @@ function CreateEmptyOpenFinSchedule() {
|
|
|
256
260
|
};
|
|
257
261
|
}
|
|
258
262
|
exports.CreateEmptyOpenFinSchedule = CreateEmptyOpenFinSchedule;
|
|
259
|
-
function CreateEmptyReminder() {
|
|
260
|
-
return {
|
|
261
|
-
Uuid: Uuid_1.createUuid(),
|
|
262
|
-
Header: GeneralConstants_1.EMPTY_STRING,
|
|
263
|
-
Message: GeneralConstants_1.EMPTY_STRING,
|
|
264
|
-
MessageType: 'Info',
|
|
265
|
-
DisplayNotification: true,
|
|
266
|
-
};
|
|
267
|
-
}
|
|
268
|
-
exports.CreateEmptyReminder = CreateEmptyReminder;
|
|
269
263
|
function CreateIPushPullSchedule(iPushPullReport) {
|
|
270
264
|
return {
|
|
271
265
|
Uuid: Uuid_1.createUuid(),
|
|
@@ -471,11 +465,10 @@ exports.ObjectFactory = {
|
|
|
471
465
|
CreateEmptyAlert,
|
|
472
466
|
CreateAlert,
|
|
473
467
|
CreateEmptyAlertDefinition,
|
|
474
|
-
|
|
468
|
+
CreateEmptyFlashingCellDefinition,
|
|
475
469
|
CreateInternalAlertDefinitionForMessages,
|
|
476
470
|
CreateEmptySparklineColumn,
|
|
477
471
|
CreateEmptyReport,
|
|
478
|
-
CreateEmptyReminder,
|
|
479
472
|
CreateEmptyBaseSchedule,
|
|
480
473
|
CreateEmptyReminderSchedule,
|
|
481
474
|
CreateEmptyReportSchedule,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { IAlertService } from './Interface/IAlertService';
|
|
2
|
-
import { AlertDefinition
|
|
2
|
+
import { AlertDefinition } from '../../PredefinedConfig/AlertState';
|
|
3
3
|
import { EmitterCallback } from '../Emitter';
|
|
4
4
|
import { IAdaptable } from '../../AdaptableInterfaces/IAdaptable';
|
|
5
5
|
export declare class AlertService implements IAlertService {
|
|
@@ -8,8 +8,8 @@ export declare class AlertService implements IAlertService {
|
|
|
8
8
|
private reactiveAlertsMap;
|
|
9
9
|
constructor(adaptable: IAdaptable);
|
|
10
10
|
onReactiveAlertTriggered: (callback: EmitterCallback) => (() => void);
|
|
11
|
-
createReactiveAlert(alertDefinition: AlertDefinition
|
|
12
|
-
deleteReactiveAlert(alertDefinition: AlertDefinition
|
|
11
|
+
createReactiveAlert(alertDefinition: AlertDefinition): void;
|
|
12
|
+
deleteReactiveAlert(alertDefinition: AlertDefinition): void;
|
|
13
13
|
destroy(): void;
|
|
14
14
|
private isValidExpression;
|
|
15
15
|
private evaluateReactiveExpression;
|