@adaptabletools/adaptable 10.0.4-canary.1 → 10.0.4-canary.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE.md +2 -2
- package/README.md +1 -1
- package/agGrid.d.ts +2 -2
- package/base.css +387 -87
- package/bundle.cjs.js +353 -0
- package/index.css +454 -94
- package/package.json +5 -8
- package/publishTimestamp.d.ts +1 -1
- package/publishTimestamp.js +1 -1
- package/src/AdaptableInterfaces/AdaptableNoCodeWizard.d.ts +1 -1
- package/src/AdaptableInterfaces/IAdaptable.d.ts +17 -15
- package/src/AdaptableOptions/AdaptableOptions.d.ts +9 -4
- package/src/AdaptableOptions/ContainerOptions.d.ts +4 -5
- package/src/AdaptableOptions/DashboardOptions.d.ts +2 -2
- package/src/AdaptableOptions/DataChangeHistoryOptions.d.ts +3 -3
- package/src/AdaptableOptions/DateInputOptions.d.ts +5 -1
- package/src/AdaptableOptions/EditOptions.d.ts +4 -5
- package/src/AdaptableOptions/ExportOptions.d.ts +1 -1
- package/src/AdaptableOptions/FilterOptions.d.ts +8 -8
- package/src/AdaptableOptions/FinancePluginOptions.d.ts +1 -1
- package/src/AdaptableOptions/GeneralOptions.d.ts +3 -2
- package/src/AdaptableOptions/MenuOptions.d.ts +12 -12
- package/src/AdaptableOptions/NotificationsOptions.d.ts +12 -3
- package/src/AdaptableOptions/SettingsPanelOptions.d.ts +75 -0
- package/src/{Api/Events/FlashingAlertFired.js → AdaptableOptions/SettingsPanelOptions.js} +0 -0
- package/src/AdaptableOptions/ToolPanelOptions.d.ts +2 -2
- package/src/AdaptableOptions/UserInterfaceOptions.d.ts +32 -3
- package/src/Api/AdaptableApi.d.ts +14 -12
- package/src/Api/AlertApi.d.ts +4 -79
- package/src/Api/ColumnApi.d.ts +10 -5
- package/src/Api/DataChangeHistoryApi.d.ts +4 -0
- package/src/Api/EventApi.d.ts +9 -9
- package/src/Api/Events/AdaptableReady.d.ts +3 -2
- package/src/Api/Events/FlashingCellDisplayed.d.ts +11 -0
- package/src/{PredefinedConfig/Common/AdaptableFlashingAlert.js → Api/Events/FlashingCellDisplayed.js} +0 -0
- package/src/Api/Events/GridDataChanged.d.ts +3 -1
- package/src/Api/FlashingCellApi.d.ts +78 -0
- package/src/Api/FlashingCellApi.js +2 -0
- package/src/Api/GridApi.d.ts +38 -15
- package/src/Api/Implementation/AdaptableApiImpl.d.ts +2 -0
- package/src/Api/Implementation/AdaptableApiImpl.js +2 -0
- package/src/Api/Implementation/AlertApiImpl.d.ts +8 -22
- package/src/Api/Implementation/AlertApiImpl.js +40 -107
- package/src/Api/Implementation/ColumnApiImpl.d.ts +4 -3
- package/src/Api/Implementation/ColumnApiImpl.js +16 -14
- package/src/Api/Implementation/ConfigApiImpl.js +0 -29
- package/src/Api/Implementation/DataChangeHistoryApiImpl.d.ts +1 -0
- package/src/Api/Implementation/DataChangeHistoryApiImpl.js +5 -0
- package/src/Api/Implementation/FilterApiImpl.js +1 -1
- package/src/Api/Implementation/FlashingCellApiImpl.d.ts +20 -0
- package/src/Api/Implementation/FlashingCellApiImpl.js +96 -0
- package/src/Api/Implementation/GridApiImpl.d.ts +15 -10
- package/src/Api/Implementation/GridApiImpl.js +42 -21
- package/src/Api/Implementation/InternalApiImpl.d.ts +3 -3
- package/src/Api/Implementation/InternalApiImpl.js +7 -6
- package/src/Api/Implementation/LayoutApiImpl.d.ts +2 -0
- package/src/Api/Implementation/LayoutApiImpl.js +27 -0
- package/src/Api/Implementation/PluginsApiImpl.d.ts +2 -2
- package/src/Api/Implementation/PluginsApiImpl.js +1 -1
- package/src/Api/Implementation/ScheduleApiImpl.js +11 -11
- package/src/Api/Implementation/SmartEditApiImpl.d.ts +1 -1
- package/src/Api/Implementation/SystemStatusApiImpl.js +1 -1
- package/src/Api/Implementation/ToolPanelApiImpl.js +3 -3
- package/src/Api/Implementation/UserInterfaceApiImpl.d.ts +3 -3
- package/src/Api/Implementation/UserInterfaceApiImpl.js +4 -4
- package/src/Api/InternalApi.d.ts +5 -5
- package/src/Api/LayoutApi.d.ts +7 -0
- package/src/Api/PluginsApi.d.ts +1 -7
- package/src/Api/SmartEditApi.d.ts +4 -4
- package/src/Api/TeamSharingApi.d.ts +1 -1
- package/src/Api/ThemeApi.d.ts +2 -2
- package/src/Api/UserInterfaceApi.d.ts +3 -3
- package/src/PredefinedConfig/AdaptableState.d.ts +4 -10
- package/src/PredefinedConfig/AlertState.d.ts +14 -55
- package/src/PredefinedConfig/ApplicationState.d.ts +1 -1
- package/src/PredefinedConfig/CalculatedColumnState.d.ts +1 -1
- package/src/PredefinedConfig/Common/AdaptableColumn.d.ts +7 -3
- package/src/PredefinedConfig/Common/AdaptableComparerFunction.d.ts +2 -2
- package/src/PredefinedConfig/Common/{AdaptableFlashingAlert.d.ts → AdaptableFlashingCell.d.ts} +6 -6
- package/src/PredefinedConfig/Common/AdaptableFlashingCell.js +2 -0
- package/src/PredefinedConfig/Common/AdaptablePredicate.d.ts +4 -4
- package/src/PredefinedConfig/Common/AdaptableScope.d.ts +3 -3
- package/src/PredefinedConfig/Common/AdaptableStyle.d.ts +7 -7
- package/src/PredefinedConfig/Common/CellHighlightInfo.d.ts +14 -3
- package/src/PredefinedConfig/Common/CellSummary.d.ts +2 -2
- package/src/PredefinedConfig/Common/DataChangedInfo.d.ts +1 -1
- package/src/PredefinedConfig/Common/Menu.d.ts +41 -18
- package/src/PredefinedConfig/Common/Schedule.d.ts +4 -14
- package/src/PredefinedConfig/Common/Schedule.js +0 -14
- package/src/PredefinedConfig/Common/SpecialColumnSettings.d.ts +1 -1
- package/src/PredefinedConfig/Common/Types.d.ts +6 -5
- package/src/PredefinedConfig/Common/Types.js +9 -7
- package/src/PredefinedConfig/ConditionalStyleState.d.ts +1 -1
- package/src/PredefinedConfig/CustomSortState.d.ts +2 -2
- package/src/PredefinedConfig/DashboardState.d.ts +3 -2
- package/src/PredefinedConfig/DataSourceState.d.ts +1 -1
- package/src/PredefinedConfig/ExportState.d.ts +3 -3
- package/src/PredefinedConfig/FilterState.d.ts +2 -2
- package/src/PredefinedConfig/FlashingCellState.d.ts +70 -0
- package/src/PredefinedConfig/FlashingCellState.js +2 -0
- package/src/PredefinedConfig/FormatColumnState.d.ts +1 -1
- package/src/PredefinedConfig/FreeTextColumnState.d.ts +3 -3
- package/src/PredefinedConfig/LayoutState.d.ts +2 -2
- package/src/PredefinedConfig/PredefinedConfig.d.ts +1 -39
- package/src/PredefinedConfig/QuickSearchState.d.ts +3 -3
- package/src/PredefinedConfig/ScheduleState.d.ts +2 -6
- package/src/PredefinedConfig/ShortcutState.d.ts +6 -2
- package/src/PredefinedConfig/SystemState.d.ts +17 -4
- package/src/PredefinedConfig/ThemeState.d.ts +5 -1
- package/src/Redux/ActionsReducers/AlertRedux.d.ts +3 -38
- package/src/Redux/ActionsReducers/AlertRedux.js +9 -68
- package/src/Redux/ActionsReducers/DashboardRedux.js +3 -2
- package/src/Redux/ActionsReducers/FlashingCellRedux.d.ts +55 -0
- package/src/Redux/ActionsReducers/FlashingCellRedux.js +100 -0
- package/src/Redux/ActionsReducers/GridRedux.d.ts +3 -2
- package/src/Redux/ActionsReducers/GridRedux.js +2 -2
- package/src/Redux/ActionsReducers/LayoutRedux.d.ts +12 -2
- package/src/Redux/ActionsReducers/LayoutRedux.js +24 -1
- package/src/Redux/ActionsReducers/PopupRedux.d.ts +1 -1
- package/src/Redux/ActionsReducers/SystemRedux.d.ts +34 -13
- package/src/Redux/ActionsReducers/SystemRedux.js +94 -40
- package/src/Redux/ActionsReducers/ToolPanelRedux.js +2 -1
- package/src/Redux/DeadRedux.d.ts +4 -8
- package/src/Redux/Store/AdaptableReduxLocalStorageEngine.js +6 -1
- package/src/Redux/Store/AdaptableStore.d.ts +3 -3
- package/src/Redux/Store/AdaptableStore.js +91 -51
- package/src/Strategy/AdaptableModuleBase.d.ts +2 -2
- package/src/Strategy/AlertModule.d.ts +16 -7
- package/src/Strategy/AlertModule.js +40 -216
- package/src/Strategy/BulkUpdateModule.d.ts +2 -2
- package/src/Strategy/BulkUpdateModule.js +4 -4
- package/src/Strategy/CalculatedColumnModule.d.ts +28 -0
- package/src/Strategy/CalculatedColumnModule.js +29 -0
- package/src/Strategy/CellSummaryModule.d.ts +2 -2
- package/src/Strategy/ConditionalStyleModule.d.ts +12 -0
- package/src/Strategy/ConditionalStyleModule.js +28 -0
- package/src/Strategy/CustomSortModule.d.ts +12 -1
- package/src/Strategy/CustomSortModule.js +26 -0
- package/src/Strategy/DashboardModule.d.ts +2 -3
- package/src/Strategy/DashboardModule.js +1 -7
- package/src/Strategy/DataChangeHistoryModule.js +3 -3
- package/src/Strategy/DataSourceModule.d.ts +9 -1
- package/src/Strategy/DataSourceModule.js +28 -0
- package/src/Strategy/ExportModule.d.ts +14 -2
- package/src/Strategy/ExportModule.js +43 -0
- package/src/Strategy/FilterModule.d.ts +10 -3
- package/src/Strategy/FilterModule.js +27 -0
- package/src/Strategy/FlashingCellModule.d.ts +33 -0
- package/src/Strategy/FlashingCellModule.js +219 -0
- package/src/Strategy/FormatColumnModule.d.ts +11 -1
- package/src/Strategy/FormatColumnModule.js +36 -1
- package/src/Strategy/FreeTextColumnModule.d.ts +9 -1
- package/src/Strategy/FreeTextColumnModule.js +45 -0
- package/src/Strategy/GridInfoModule.d.ts +2 -2
- package/src/Strategy/GridInfoModule.js +58 -36
- package/src/Strategy/Interface/IModule.d.ts +72 -2
- package/src/Strategy/LayoutModule.d.ts +2 -2
- package/src/Strategy/LayoutModule.js +21 -8
- package/src/Strategy/PlusMinusModule.d.ts +11 -0
- package/src/Strategy/PlusMinusModule.js +34 -0
- package/src/Strategy/QueryModule.d.ts +20 -0
- package/src/Strategy/QueryModule.js +27 -0
- package/src/Strategy/ScheduleModule.d.ts +17 -1
- package/src/Strategy/ScheduleModule.js +148 -2
- package/src/Strategy/SetingsPanelModule.d.ts +10 -0
- package/src/Strategy/SetingsPanelModule.js +24 -0
- package/src/Strategy/ShortcutModule.d.ts +11 -0
- package/src/Strategy/ShortcutModule.js +22 -0
- package/src/Strategy/SmartEditModule.d.ts +2 -2
- package/src/Strategy/SmartEditModule.js +3 -4
- package/src/Strategy/SystemStatusModule.d.ts +2 -2
- package/src/Strategy/ToolPanelModule.js +1 -1
- package/src/Strategy/Utilities/getAlertBehaviourViewItems.d.ts +8 -0
- package/src/Strategy/Utilities/getAlertBehaviourViewItems.js +15 -0
- package/src/Strategy/Utilities/getAlertPreviewViewItems.d.ts +4 -0
- package/src/Strategy/Utilities/getAlertPreviewViewItems.js +19 -0
- package/src/Strategy/Utilities/getCustomSortColumnViewItems.d.ts +5 -0
- package/src/Strategy/Utilities/getCustomSortColumnViewItems.js +9 -0
- package/src/Strategy/Utilities/getCustomSortSortOrderViewItems.d.ts +5 -0
- package/src/Strategy/Utilities/getCustomSortSortOrderViewItems.js +9 -0
- package/src/Strategy/Utilities/getExportColumnsViewItems.d.ts +3 -0
- package/src/Strategy/Utilities/getExportColumnsViewItems.js +22 -0
- package/src/Strategy/Utilities/getExportRowsViewItems.d.ts +5 -0
- package/src/Strategy/Utilities/getExportRowsViewItems.js +26 -0
- package/src/Strategy/Utilities/getExpressionViewItems.d.ts +5 -0
- package/src/Strategy/Utilities/getExpressionViewItems.js +9 -0
- package/src/Strategy/Utilities/getFlashingCellDurationViewItems.d.ts +5 -0
- package/src/Strategy/Utilities/getFlashingCellDurationViewItems.js +9 -0
- package/src/Strategy/Utilities/getFlashingCellStyleViewItems.d.ts +5 -0
- package/src/Strategy/Utilities/getFlashingCellStyleViewItems.js +10 -0
- package/src/Strategy/Utilities/getFormatColumnSettingsViewItems.d.ts +5 -0
- package/src/Strategy/Utilities/getFormatColumnSettingsViewItems.js +15 -0
- package/src/Strategy/Utilities/getRuleViewItems.d.ts +6 -0
- package/src/Strategy/Utilities/getRuleViewItems.js +15 -0
- package/src/Strategy/Utilities/getScopeViewItems.d.ts +3 -0
- package/src/Strategy/Utilities/getScopeViewItems.js +20 -0
- package/src/Strategy/Utilities/getShortcutSettingsViewItems.d.ts +5 -0
- package/src/Strategy/Utilities/getShortcutSettingsViewItems.js +15 -0
- package/src/Strategy/Utilities/getStyleViewItems.d.ts +2 -0
- package/src/Strategy/Utilities/getStyleViewItems.js +15 -0
- package/src/Utilities/Constants/GeneralConstants.d.ts +1 -0
- package/src/Utilities/Constants/GeneralConstants.js +2 -1
- package/src/Utilities/Constants/ModuleConstants.d.ts +8 -6
- package/src/Utilities/Constants/ModuleConstants.js +9 -7
- package/src/Utilities/Defaults/DefaultAdaptableOptions.js +19 -11
- package/src/Utilities/Defaults/DefaultSettingsPanel.d.ts +6 -0
- package/src/Utilities/Defaults/DefaultSettingsPanel.js +35 -0
- package/src/Utilities/ExpressionFunctions/scalarExpressionFunctions.js +4 -1
- package/src/Utilities/Extensions/ArrayExtensions.js +1 -1
- package/src/Utilities/Helpers/AdaptableHelper.js +2 -1
- package/src/Utilities/Helpers/PreviewHelper.js +2 -2
- package/src/Utilities/Helpers/StyleHelper.d.ts +4 -0
- package/src/Utilities/Helpers/StyleHelper.js +4 -1
- package/src/Utilities/Interface/Preview.d.ts +2 -1
- package/src/Utilities/MenuItem.d.ts +1 -1
- package/src/Utilities/MenuItem.js +2 -2
- package/src/Utilities/ObjectFactory.d.ts +7 -8
- package/src/Utilities/ObjectFactory.js +24 -31
- package/src/Utilities/Services/AlertService.d.ts +3 -3
- package/src/Utilities/Services/AlertService.js +11 -17
- package/src/Utilities/Services/EntitlementService.d.ts +1 -0
- package/src/Utilities/Services/EntitlementService.js +8 -0
- package/src/Utilities/Services/Interface/IAlertService.d.ts +3 -7
- package/src/Utilities/Services/Interface/IEntitlementService.d.ts +1 -0
- package/src/Utilities/Services/LicenseService.js +16 -2
- package/src/Utilities/Services/ModuleService.js +6 -6
- package/src/Utilities/Services/TeamSharingService.js +3 -4
- package/src/Utilities/Services/ValidationService.js +1 -1
- package/src/View/AdaptableView.js +3 -3
- package/src/View/AdaptableViewFactory.d.ts +2 -1
- package/src/View/AdaptableViewFactory.js +2 -26
- package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/ConfigurationForm.js +16 -16
- package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/index.js +6 -6
- package/src/View/AdaptableWizardView/index.js +1 -1
- package/src/View/Alert/AlertEmptyView.d.ts +5 -0
- package/src/View/Alert/AlertEmptyView.js +16 -0
- package/src/View/Alert/Wizard/AlertBehaviourWizardSection.d.ts +2 -1
- package/src/View/Alert/Wizard/AlertBehaviourWizardSection.js +10 -5
- package/src/View/Alert/Wizard/AlertDisplayWizardSection.d.ts +8 -1
- package/src/View/Alert/Wizard/AlertDisplayWizardSection.js +6 -7
- package/src/View/Alert/Wizard/AlertRulesWizardSection.js +4 -6
- package/src/View/Alert/Wizard/AlertWizard.js +17 -3
- package/src/View/Alert/Wizard/BaseAlertRulesWizardSection.d.ts +4 -2
- package/src/View/Alert/Wizard/BaseAlertRulesWizardSection.js +1 -1
- package/src/View/Alert/Wizard/BaseAlertScopeWizardSection.d.ts +5 -4
- package/src/View/Alert/Wizard/BaseAlertScopeWizardSection.js +2 -2
- package/src/View/Alert/Wizard/isValidAlertRules.d.ts +2 -3
- package/src/View/BulkUpdate/BulkUpdatePopup.js +1 -1
- package/src/View/CalculatedColumn/Utilities/getCalculatedColumnSettingTags.d.ts +2 -0
- package/src/View/CalculatedColumn/Utilities/getCalculatedColumnSettingTags.js +17 -0
- package/src/View/CalculatedColumn/Wizard/CalculatedColumnSettingsWizardSection.js +6 -16
- package/src/View/CalculatedColumn/Wizard/CalculatedColumnWizard.js +18 -2
- package/src/View/CellSummary/CellSummaryPopup.js +2 -2
- package/src/View/CellSummary/CellSummaryViewPanel.js +2 -2
- package/src/View/ColorPicker.d.ts +1 -1
- package/src/View/Components/AdaptableDateInput/index.d.ts +1 -1
- package/src/View/Components/AdaptableInput/index.d.ts +1 -1
- package/src/View/Components/AdaptableObjectList/AdaptableObjectList.d.ts +14 -0
- package/src/View/Components/AdaptableObjectList/AdaptableObjectList.js +82 -0
- package/src/View/Components/AdaptableObjectList/index.d.ts +1 -0
- package/src/View/Components/AdaptableObjectList/index.js +5 -0
- package/src/View/Components/Buttons/ButtonDelete.d.ts +1 -1
- package/src/View/Components/Buttons/ButtonDelete.js +3 -2
- package/src/View/Components/Buttons/ButtonEdit.d.ts +1 -3
- package/src/View/Components/Buttons/ButtonEdit.js +4 -6
- package/src/View/Components/Buttons/ButtonShare.js +3 -2
- package/src/View/Components/Buttons/EntityListActionButtons.js +1 -1
- package/src/View/Components/Buttons/{SuspendToggleButton.d.ts → SuspendToggleButton/SuspendToggleButton.d.ts} +5 -3
- package/src/View/Components/Buttons/SuspendToggleButton/SuspendToggleButton.js +19 -0
- package/src/View/Components/Buttons/SuspendToggleButton/index.d.ts +1 -0
- package/src/View/Components/Buttons/SuspendToggleButton/index.js +4 -0
- package/src/View/Components/ExternalRenderer.d.ts +14 -0
- package/src/View/Components/ExternalRenderer.js +32 -0
- package/src/View/Components/FilterForm/FilterForm.js +9 -8
- package/src/View/Components/FilterForm/ListBoxFilterForm.d.ts +1 -1
- package/src/View/Components/FilterForm/ListBoxFilterForm.js +7 -7
- package/src/View/Components/FilterForm/QuickFilterForm.js +5 -2
- package/src/View/Components/FilterForm/getDefaultColumnFilterPredicate.d.ts +1 -1
- package/src/View/Components/Forms/AdaptableFormControlTextClear.d.ts +1 -1
- package/src/View/Components/Panels/FilterFormPanel.d.ts +1 -1
- package/src/View/Components/Panels/PanelWithImage.d.ts +423 -1
- package/src/View/Components/Panels/PanelWithImage.js +2 -2
- package/src/View/Components/Popups/AdaptableChart.js +1 -1
- package/src/View/Components/Popups/AdaptablePopup/AdaptablePopup.d.ts +20 -0
- package/src/View/Components/Popups/AdaptablePopup/AdaptablePopup.js +119 -0
- package/src/View/Components/Popups/AdaptablePopup/AdaptablePopupBody.d.ts +15 -0
- package/src/View/Components/Popups/AdaptablePopup/AdaptablePopupBody.js +35 -0
- package/src/View/Components/Popups/AdaptablePopup/AdaptablePopupModuleView.d.ts +9 -0
- package/src/View/Components/Popups/AdaptablePopup/AdaptablePopupModuleView.js +67 -0
- package/src/View/Components/Popups/AdaptablePopup/CustomSettingsPanelView.d.ts +6 -0
- package/src/View/Components/Popups/AdaptablePopup/CustomSettingsPanelView.js +9 -0
- package/src/View/Components/Popups/AdaptablePopup/Navigation.d.ts +13 -0
- package/src/View/Components/Popups/AdaptablePopup/Navigation.js +63 -0
- package/src/View/Components/Popups/{PopupContext.d.ts → AdaptablePopup/PopupContext.d.ts} +0 -0
- package/src/View/Components/Popups/{PopupContext.js → AdaptablePopup/PopupContext.js} +0 -0
- package/src/View/Components/Popups/AdaptablePopup/PopupPanel.d.ts +10 -0
- package/src/View/Components/Popups/AdaptablePopup/PopupPanel.js +22 -0
- package/src/View/Components/Popups/AdaptablePopup/TopBar.d.ts +7 -0
- package/src/View/Components/Popups/AdaptablePopup/TopBar.js +29 -0
- package/src/View/Components/Popups/AdaptablePopup/Utilities.d.ts +15 -0
- package/src/View/Components/Popups/AdaptablePopup/Utilities.js +28 -0
- package/src/View/Components/Popups/AdaptablePopup/index.d.ts +1 -0
- package/src/View/Components/Popups/AdaptablePopup/index.js +5 -0
- package/src/View/Components/Popups/AdaptablePopupAlert.js +22 -9
- package/src/View/Components/Popups/AdaptableToaster.js +6 -6
- package/src/View/Components/ToolPanel/AdaptableToolPanel.js +3 -4
- package/src/View/Components/ToolPanel/ToolPanelPopup.js +3 -3
- package/src/View/Components/ValueSelector/index.js +4 -4
- package/src/View/ConditionalStyle/Wizard/ConditionalStyleWizard.d.ts +2 -2
- package/src/View/ConditionalStyle/Wizard/ConditionalStyleWizard.js +19 -5
- package/src/View/CustomSort/Wizard/CustomSortColumnWizardSection.js +4 -5
- package/src/View/CustomSort/Wizard/CustomSortWizard.js +18 -3
- package/src/View/Dashboard/Dashboard.d.ts +0 -1
- package/src/View/Dashboard/Dashboard.js +20 -67
- package/src/View/Dashboard/DashboardPopup.d.ts +6 -2
- package/src/View/Dashboard/DashboardPopup.js +30 -8
- package/src/View/DataChangeHistory/DataChangeHistoryGrid.d.ts +1 -1
- package/src/View/DataChangeHistory/DataChangeHistoryGrid.js +6 -6
- package/src/View/DataChangeHistory/DataChangeHistoryPopup.js +8 -8
- package/src/View/DataSource/Wizard/DataSourceSettingsSummary.js +3 -3
- package/src/View/DataSource/Wizard/DataSourceWizard.d.ts +1 -2
- package/src/View/DataSource/Wizard/DataSourceWizard.js +17 -2
- package/src/View/Export/ExportViewPanel.js +6 -6
- package/src/View/Export/ReportExportDropdown.d.ts +5 -0
- package/src/View/Export/ReportExportDropdown.js +37 -0
- package/src/View/Export/Wizard/NewReportWizard.js +15 -2
- package/src/View/Export/Wizard/ReportNameWizardSection.js +2 -1
- package/src/View/Export/Wizard/ReportRowsWizardSection.js +2 -2
- package/src/View/FlashingCell/FlashingCellStyle.d.ts +7 -0
- package/src/View/FlashingCell/FlashingCellStyle.js +20 -0
- package/src/View/{Alert/Wizard/FlashingAlertWizard/FlashingAlertDurationWizardSection.d.ts → FlashingCell/Wizard/FlashingCellDurationWizardSection.d.ts} +4 -4
- package/src/View/{Alert/Wizard/FlashingAlertWizard/FlashingAlertDurationWizardSection.js → FlashingCell/Wizard/FlashingCellDurationWizardSection.js} +6 -6
- package/src/View/{Alert/Wizard/FlashingAlertWizard/FlashingAlertRulesWizardSection.d.ts → FlashingCell/Wizard/FlashingCellRulesWizardSection.d.ts} +3 -3
- package/src/View/{Alert/Wizard/FlashingAlertWizard/FlashingAlertRulesWizardSection.js → FlashingCell/Wizard/FlashingCellRulesWizardSection.js} +10 -10
- package/src/View/{Alert/Wizard/FlashingAlertWizard/FlashingAlertScopeWizardSection.d.ts → FlashingCell/Wizard/FlashingCellScopeWizardSection.d.ts} +1 -2
- package/src/View/{Alert/Wizard/FlashingAlertWizard/FlashingAlertScopeWizardSection.js → FlashingCell/Wizard/FlashingCellScopeWizardSection.js} +1 -1
- package/src/View/FlashingCell/Wizard/FlashingCellStyleWizardSection.d.ts +15 -0
- package/src/View/{Alert/Wizard/FlashingAlertWizard/FlashingAlertStyleWizardSection.js → FlashingCell/Wizard/FlashingCellStyleWizardSection.js} +17 -16
- package/src/View/FlashingCell/Wizard/FlashingCellWizard.d.ts +6 -0
- package/src/View/FlashingCell/Wizard/FlashingCellWizard.js +99 -0
- package/src/View/FlashingCell/Wizard/isValidFlashingCellRules.d.ts +3 -0
- package/src/View/FlashingCell/Wizard/isValidFlashingCellRules.js +30 -0
- package/src/View/FormatColumn/Wizard/FormatColumnFormatWizardSection.d.ts +1 -0
- package/src/View/FormatColumn/Wizard/FormatColumnFormatWizardSection.js +18 -14
- package/src/View/FormatColumn/Wizard/FormatColumnScopeWizardSection.js +2 -2
- package/src/View/FormatColumn/Wizard/FormatColumnSettingsWizardSection.js +4 -4
- package/src/View/FormatColumn/Wizard/FormatColumnWizard.js +17 -2
- package/src/View/FreeTextColumn/Wizard/FreeTextColumnSettingsWizardSection.d.ts +1 -0
- package/src/View/FreeTextColumn/Wizard/FreeTextColumnSettingsWizardSection.js +7 -7
- package/src/View/FreeTextColumn/Wizard/FreeTextColumnWizard.js +18 -5
- package/src/View/GridInfo/AdaptableOptionsComponent.js +2 -2
- package/src/View/GridInfo/GridInfoPopup.d.ts +2 -1
- package/src/View/GridInfo/GridInfoPopup.js +21 -16
- package/src/View/GridInfo/GridOptionsComponent.js +2 -2
- package/src/View/Layout/LayoutPopup.js +4 -6
- package/src/View/Layout/LayoutViewPanel.js +2 -2
- package/src/View/Layout/Wizard/LayoutEditor/ColumnList.js +3 -1
- package/src/View/Layout/Wizard/LayoutEditor/index.js +5 -2
- package/src/View/License/LicenseWatermark.js +4 -0
- package/src/View/PlusMinus/Wizard/PlusMinusSettingsWizardSection.js +2 -2
- package/src/View/PlusMinus/Wizard/PlusMinusWizard.d.ts +1 -2
- package/src/View/PlusMinus/Wizard/PlusMinusWizard.js +18 -4
- package/src/View/Query/QueryViewPanel.js +1 -1
- package/src/View/Query/Wizard/NamedQueryExpressionWizardSection.js +2 -2
- package/src/View/Query/Wizard/NamedQuerySettingsWizardSection.js +2 -2
- package/src/View/Query/Wizard/NamedQueryWizard.js +14 -2
- package/src/View/QuickSearch/QuickSearchPopup.js +2 -2
- package/src/View/QuickSearch/useQuickSearchDebounced.js +2 -3
- package/src/View/Schedule/Wizard/ScheduleScheduleSummary.js +2 -2
- package/src/View/Schedule/Wizard/ScheduleScheduleWizard.js +7 -8
- package/src/View/Schedule/Wizard/ScheduleSettingsWizard/ScheduleSettingsOpenFin.js +1 -1
- package/src/View/Schedule/Wizard/ScheduleSettingsWizard/ScheduleSettingsReminder.js +9 -9
- package/src/View/Schedule/Wizard/ScheduleSettingsWizard/ScheduleSettingsSummary.d.ts +5 -0
- package/src/View/Schedule/Wizard/ScheduleSettingsWizard/ScheduleSettingsSummary.js +59 -48
- package/src/View/Schedule/Wizard/ScheduleSettingsWizard/ScheduleSettingsWizard.js +1 -1
- package/src/View/Schedule/Wizard/ScheduleSettingsWizard/isSettingsValid.js +9 -9
- package/src/View/Schedule/Wizard/ScheduleWizard.d.ts +1 -2
- package/src/View/Schedule/Wizard/ScheduleWizard.js +75 -2
- package/src/View/Shortcut/Wizard/ShortcutSettingsWizard.js +6 -6
- package/src/View/Shortcut/Wizard/ShortcutWizard.d.ts +1 -2
- package/src/View/Shortcut/Wizard/ShortcutWizard.js +31 -4
- package/src/View/SmartEdit/SmartEditPopup.js +3 -3
- package/src/View/StateManagement/StateManagementPopup.d.ts +2 -12
- package/src/View/StateManagement/StateManagementPopup.js +23 -115
- package/src/View/StateManagement/StateManagementViewPanel.d.ts +5 -0
- package/src/View/StateManagement/StateManagementViewPanel.js +22 -0
- package/src/View/StateManagement/components/ClearButton.d.ts +6 -0
- package/src/View/StateManagement/components/ClearButton.js +9 -0
- package/src/View/StateManagement/components/ExportDropdown.d.ts +8 -0
- package/src/View/StateManagement/components/ExportDropdown.js +43 -0
- package/src/View/StateManagement/components/LoadButton.d.ts +7 -0
- package/src/View/StateManagement/components/LoadButton.js +38 -0
- package/src/View/StateManagement/handleExportState.d.ts +1 -0
- package/src/View/StateManagement/handleExportState.js +22 -0
- package/src/View/SystemStatus/SystemStatusPopup.js +3 -3
- package/src/View/TeamSharing/TeamSharingPopup.js +2 -2
- package/src/View/Theme/ThemePopup.js +5 -7
- package/src/View/Theme/ThemeViewPanel.js +1 -1
- package/src/View/UIHelper.d.ts +3 -1
- package/src/View/UIHelper.js +35 -16
- package/src/View/Wizard/Interface/IAdaptableWizard.d.ts +5 -0
- package/src/View/Wizard/OnePageAdaptableWizard.d.ts +2 -0
- package/src/View/Wizard/OnePageAdaptableWizard.js +10 -2
- package/src/agGrid/Adaptable.d.ts +24 -15
- package/src/agGrid/Adaptable.js +293 -132
- package/src/agGrid/agGridHelper.d.ts +5 -4
- package/src/agGrid/agGridHelper.js +26 -15
- package/src/agGrid/agGridMenuHelper.d.ts +15 -13
- package/src/agGrid/agGridMenuHelper.js +53 -45
- package/src/agGrid/editors/AdaptableDateEditor/InternalAdaptableDateEditor.d.ts +1 -1
- package/src/agGrid/editors/AdaptableDateEditor/InternalAdaptableDateEditor.js +11 -6
- package/src/agGrid/editors/AdaptableDateEditor/index.d.ts +3 -2
- package/src/agGrid/editors/AdaptableDateEditor/index.js +16 -6
- package/src/agGrid/editors/AdaptableNumberEditor/index.d.ts +1 -0
- package/src/agGrid/editors/AdaptableNumberEditor/index.js +7 -2
- package/src/components/ApplicationIcon.d.ts +5 -0
- package/src/components/ApplicationIcon.js +13 -0
- package/src/components/Dashboard/DashboardManager.js +1 -1
- package/src/components/Datepicker/Caption.d.ts +1 -1
- package/src/components/Datepicker/Caption.js +1 -4
- package/src/components/Datepicker/CaptionLabel.d.ts +1 -1
- package/src/components/Datepicker/CaptionLabel.js +1 -4
- package/src/components/Datepicker/DatepickerContext.d.ts +2 -2
- package/src/components/Datepicker/index.d.ts +1 -1
- package/src/components/Datepicker/index.js +10 -9
- package/src/components/Dialog/index.d.ts +4 -1
- package/src/components/Dialog/index.js +10 -3
- package/src/components/DropdownButton/index.d.ts +1 -0
- package/src/components/DropdownButton/index.js +2 -2
- package/src/components/EllipsisContainer/index.js +1 -1
- package/src/components/EmptyContent/index.js +2 -1
- package/src/components/Input/index.d.ts +1 -1
- package/src/components/List/ListGroupItem/index.d.ts +1 -1
- package/src/components/Modal/index.d.ts +1 -1
- package/src/components/OverlayTrigger/index.js +3 -3
- package/src/components/OverlayTrigger/useAgGridClassName.d.ts +2 -0
- package/src/components/OverlayTrigger/{useVendorClassName.js → useAgGridClassName.js} +3 -3
- package/src/components/PopupWithFooter.d.ts +1 -1
- package/src/components/PopupWithFooter.js +2 -7
- package/src/components/ProgressIndicator/ProgressIndicator.js +1 -1
- package/src/components/StylePreview.d.ts +8 -0
- package/src/components/StylePreview.js +11 -0
- package/src/components/Tag/Tag.d.ts +3 -0
- package/src/components/Tag/Tag.js +11 -0
- package/src/components/Tag/index.d.ts +1 -0
- package/src/components/Tag/index.js +5 -0
- package/src/components/Textarea/index.d.ts +1 -1
- package/src/components/ToggleButton/index.d.ts +1 -0
- package/src/components/ToggleButton/index.js +8 -4
- package/src/components/WindowModal/WindowModal.d.ts +23 -0
- package/src/components/WindowModal/WindowModal.js +87 -0
- package/src/components/WindowModal/index.d.ts +1 -0
- package/src/components/WindowModal/index.js +4 -0
- package/src/components/icons/index.js +6 -0
- package/src/components/icons/menu.d.ts +3 -0
- package/src/components/icons/menu.js +7 -0
- package/src/components/icons/state-management.js +1 -1
- package/src/components/icons/tool-panel.d.ts +3 -0
- package/src/components/icons/tool-panel.js +7 -0
- package/src/components/icons/upload.d.ts +3 -0
- package/src/components/icons/upload.js +8 -0
- package/src/components/utils/useDraggable.d.ts +3 -1
- package/src/components/utils/useDraggable.js +14 -2
- package/src/metamodel/adaptable.metamodel.d.ts +112 -78
- package/src/metamodel/adaptable.metamodel.js +477 -458
- package/src/types.d.ts +10 -8
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/src/Api/Events/FlashingAlertFired.d.ts +0 -11
- package/src/PredefinedConfig/DeprecatedState.d.ts +0 -82
- package/src/PredefinedConfig/DeprecatedState.js +0 -5
- package/src/View/Alert/AlertPopup.d.ts +0 -42
- package/src/View/Alert/AlertPopup.js +0 -205
- package/src/View/Alert/FlashingAlertEntityRow.d.ts +0 -7
- package/src/View/Alert/FlashingAlertEntityRow.js +0 -22
- package/src/View/Alert/Wizard/FlashingAlertWizard/FlashingAlertStyleWizardSection.d.ts +0 -10
- package/src/View/Alert/Wizard/FlashingAlertWizard/FlashingAlertWizard.d.ts +0 -6
- package/src/View/Alert/Wizard/FlashingAlertWizard/FlashingAlertWizard.js +0 -89
- package/src/View/CalculatedColumn/CalculatedColumnEntityRow.d.ts +0 -9
- package/src/View/CalculatedColumn/CalculatedColumnEntityRow.js +0 -28
- package/src/View/CalculatedColumn/CalculatedColumnPopup.d.ts +0 -25
- package/src/View/CalculatedColumn/CalculatedColumnPopup.js +0 -117
- package/src/View/Components/Buttons/SuspendToggleButton.js +0 -17
- package/src/View/Components/Popups/AdaptablePopup.d.ts +0 -23
- package/src/View/Components/Popups/AdaptablePopup.js +0 -59
- package/src/View/ConditionalStyle/ConditionalStyleEntityRow.d.ts +0 -5
- package/src/View/ConditionalStyle/ConditionalStyleEntityRow.js +0 -26
- package/src/View/ConditionalStyle/ConditionalStylePopup.d.ts +0 -30
- package/src/View/ConditionalStyle/ConditionalStylePopup.js +0 -144
- package/src/View/CustomSort/CustomSortEntityRow.d.ts +0 -10
- package/src/View/CustomSort/CustomSortEntityRow.js +0 -32
- package/src/View/CustomSort/CustomSortPopup.d.ts +0 -27
- package/src/View/CustomSort/CustomSortPopup.js +0 -138
- package/src/View/DataSource/DataSourceEntityRow.d.ts +0 -12
- package/src/View/DataSource/DataSourceEntityRow.js +0 -29
- package/src/View/DataSource/DataSourcePopup.d.ts +0 -28
- package/src/View/DataSource/DataSourcePopup.js +0 -97
- package/src/View/Export/ExportPopup.d.ts +0 -34
- package/src/View/Export/ExportPopup.js +0 -139
- package/src/View/Export/ReportEntityRow.d.ts +0 -10
- package/src/View/Export/ReportEntityRow.js +0 -49
- package/src/View/Export/Wizard/ReportWizard.d.ts +0 -7
- package/src/View/Export/Wizard/ReportWizard.js +0 -50
- package/src/View/Filter/FilterEntityRow.d.ts +0 -12
- package/src/View/Filter/FilterEntityRow.js +0 -20
- package/src/View/Filter/FilterPopup.d.ts +0 -20
- package/src/View/Filter/FilterPopup.js +0 -50
- package/src/View/FormatColumn/FormatColumnEntityRow.d.ts +0 -9
- package/src/View/FormatColumn/FormatColumnEntityRow.js +0 -103
- package/src/View/FormatColumn/FormatColumnPopup.d.ts +0 -27
- package/src/View/FormatColumn/FormatColumnPopup.js +0 -133
- package/src/View/FreeTextColumn/FreeTextColumnEntityRow.d.ts +0 -5
- package/src/View/FreeTextColumn/FreeTextColumnEntityRow.js +0 -31
- package/src/View/FreeTextColumn/FreeTextColumnPopup.d.ts +0 -25
- package/src/View/FreeTextColumn/FreeTextColumnPopup.js +0 -118
- package/src/View/PlusMinus/PlusMinusEntityRow.d.ts +0 -9
- package/src/View/PlusMinus/PlusMinusEntityRow.js +0 -24
- package/src/View/PlusMinus/PlusMinusPopup.d.ts +0 -30
- package/src/View/PlusMinus/PlusMinusPopup.js +0 -124
- package/src/View/Query/NamedQueryEntityRow.d.ts +0 -8
- package/src/View/Query/NamedQueryEntityRow.js +0 -21
- package/src/View/Query/QueryPopup.d.ts +0 -28
- package/src/View/Query/QueryPopup.js +0 -114
- package/src/View/Schedule/ScheduleEntityRow.d.ts +0 -5
- package/src/View/Schedule/ScheduleEntityRow.js +0 -58
- package/src/View/Schedule/SchedulePopup.d.ts +0 -58
- package/src/View/Schedule/SchedulePopup.js +0 -317
- package/src/View/Shortcut/ShortcutEntityRow.d.ts +0 -17
- package/src/View/Shortcut/ShortcutEntityRow.js +0 -47
- package/src/View/Shortcut/ShortcutPopup.d.ts +0 -30
- package/src/View/Shortcut/ShortcutPopup.js +0 -121
- package/src/bundle-dependencies/bundles/react-day-picker/DayPicker.d.ts +0 -88
- package/src/bundle-dependencies/bundles/react-day-picker/DayPicker.test.d.ts +0 -0
- package/src/bundle-dependencies/bundles/react-day-picker/components/Button/Button.d.ts +0 -6
- package/src/bundle-dependencies/bundles/react-day-picker/components/Button/Button.test.d.ts +0 -1
- package/src/bundle-dependencies/bundles/react-day-picker/components/Button/ButtonProps.d.ts +0 -3
- package/src/bundle-dependencies/bundles/react-day-picker/components/Button/index.d.ts +0 -1
- package/src/bundle-dependencies/bundles/react-day-picker/components/Caption/Caption.d.ts +0 -7
- package/src/bundle-dependencies/bundles/react-day-picker/components/Caption/Caption.test.d.ts +0 -1
- package/src/bundle-dependencies/bundles/react-day-picker/components/Caption/CaptionProps.d.ts +0 -5
- package/src/bundle-dependencies/bundles/react-day-picker/components/Caption/index.d.ts +0 -2
- package/src/bundle-dependencies/bundles/react-day-picker/components/CaptionLabel/CaptionLabel.d.ts +0 -4
- package/src/bundle-dependencies/bundles/react-day-picker/components/CaptionLabel/CaptionLabel.test.d.ts +0 -1
- package/src/bundle-dependencies/bundles/react-day-picker/components/CaptionLabel/CaptionLabelProps.d.ts +0 -5
- package/src/bundle-dependencies/bundles/react-day-picker/components/CaptionLabel/index.d.ts +0 -2
- package/src/bundle-dependencies/bundles/react-day-picker/components/Day/Day.d.ts +0 -7
- package/src/bundle-dependencies/bundles/react-day-picker/components/Day/Day.test.d.ts +0 -0
- package/src/bundle-dependencies/bundles/react-day-picker/components/Day/DayProps.d.ts +0 -7
- package/src/bundle-dependencies/bundles/react-day-picker/components/Day/hooks/index.d.ts +0 -1
- package/src/bundle-dependencies/bundles/react-day-picker/components/Day/hooks/useDay.d.ts +0 -51
- package/src/bundle-dependencies/bundles/react-day-picker/components/Day/hooks/useDayFocus.d.ts +0 -8
- package/src/bundle-dependencies/bundles/react-day-picker/components/Day/index.d.ts +0 -3
- package/src/bundle-dependencies/bundles/react-day-picker/components/DayContent/DayContent.d.ts +0 -6
- package/src/bundle-dependencies/bundles/react-day-picker/components/DayContent/DayContent.test.d.ts +0 -0
- package/src/bundle-dependencies/bundles/react-day-picker/components/DayContent/DayContentProps.d.ts +0 -10
- package/src/bundle-dependencies/bundles/react-day-picker/components/DayContent/index.d.ts +0 -2
- package/src/bundle-dependencies/bundles/react-day-picker/components/Dropdown/Dropdown.d.ts +0 -7
- package/src/bundle-dependencies/bundles/react-day-picker/components/Dropdown/Dropdown.test.d.ts +0 -0
- package/src/bundle-dependencies/bundles/react-day-picker/components/Dropdown/DropdownProps.d.ts +0 -10
- package/src/bundle-dependencies/bundles/react-day-picker/components/Dropdown/index.d.ts +0 -2
- package/src/bundle-dependencies/bundles/react-day-picker/components/Footer/Footer.d.ts +0 -3
- package/src/bundle-dependencies/bundles/react-day-picker/components/Footer/Footer.test.d.ts +0 -1
- package/src/bundle-dependencies/bundles/react-day-picker/components/Footer/index.d.ts +0 -1
- package/src/bundle-dependencies/bundles/react-day-picker/components/Head/Head.d.ts +0 -5
- package/src/bundle-dependencies/bundles/react-day-picker/components/Head/Head.test.d.ts +0 -0
- package/src/bundle-dependencies/bundles/react-day-picker/components/Head/index.d.ts +0 -1
- package/src/bundle-dependencies/bundles/react-day-picker/components/Head/utils/getWeekdays.d.ts +0 -6
- package/src/bundle-dependencies/bundles/react-day-picker/components/Head/utils/getWeekdays.test.d.ts +0 -0
- package/src/bundle-dependencies/bundles/react-day-picker/components/Head/utils/index.d.ts +0 -1
- package/src/bundle-dependencies/bundles/react-day-picker/components/IconDropdown/IconDropdown.d.ts +0 -6
- package/src/bundle-dependencies/bundles/react-day-picker/components/IconDropdown/IconDropdown.test.d.ts +0 -1
- package/src/bundle-dependencies/bundles/react-day-picker/components/IconDropdown/index.d.ts +0 -1
- package/src/bundle-dependencies/bundles/react-day-picker/components/IconNext/IconNext.d.ts +0 -6
- package/src/bundle-dependencies/bundles/react-day-picker/components/IconNext/IconNext.test.d.ts +0 -1
- package/src/bundle-dependencies/bundles/react-day-picker/components/IconNext/index.d.ts +0 -1
- package/src/bundle-dependencies/bundles/react-day-picker/components/IconPrevious/IconPrevious.d.ts +0 -6
- package/src/bundle-dependencies/bundles/react-day-picker/components/IconPrevious/IconPrevious.test.d.ts +0 -1
- package/src/bundle-dependencies/bundles/react-day-picker/components/IconPrevious/index.d.ts +0 -1
- package/src/bundle-dependencies/bundles/react-day-picker/components/MonthsDropdown/MonthsDropdown.d.ts +0 -6
- package/src/bundle-dependencies/bundles/react-day-picker/components/MonthsDropdown/MonthsDropdownProps.d.ts +0 -7
- package/src/bundle-dependencies/bundles/react-day-picker/components/MonthsDropdown/index.d.ts +0 -2
- package/src/bundle-dependencies/bundles/react-day-picker/components/Navigation/Navigation.d.ts +0 -4
- package/src/bundle-dependencies/bundles/react-day-picker/components/Navigation/NavigationProps.d.ts +0 -18
- package/src/bundle-dependencies/bundles/react-day-picker/components/Navigation/index.d.ts +0 -2
- package/src/bundle-dependencies/bundles/react-day-picker/components/Root/Root.d.ts +0 -6
- package/src/bundle-dependencies/bundles/react-day-picker/components/Root/index.d.ts +0 -1
- package/src/bundle-dependencies/bundles/react-day-picker/components/Row/Row.d.ts +0 -6
- package/src/bundle-dependencies/bundles/react-day-picker/components/Row/RowProps.d.ts +0 -11
- package/src/bundle-dependencies/bundles/react-day-picker/components/Row/index.d.ts +0 -2
- package/src/bundle-dependencies/bundles/react-day-picker/components/Table/Table.d.ts +0 -12
- package/src/bundle-dependencies/bundles/react-day-picker/components/Table/index.d.ts +0 -1
- package/src/bundle-dependencies/bundles/react-day-picker/components/Table/utils/getOutsideEndDays.d.ts +0 -3
- package/src/bundle-dependencies/bundles/react-day-picker/components/Table/utils/getOutsideStartDays.d.ts +0 -4
- package/src/bundle-dependencies/bundles/react-day-picker/components/Table/utils/getWeeks.d.ts +0 -15
- package/src/bundle-dependencies/bundles/react-day-picker/components/WeekNumber/WeekNumber.d.ts +0 -15
- package/src/bundle-dependencies/bundles/react-day-picker/components/WeekNumber/index.d.ts +0 -1
- package/src/bundle-dependencies/bundles/react-day-picker/components/YearsDropdown/YearsDropdown.d.ts +0 -16
- package/src/bundle-dependencies/bundles/react-day-picker/components/YearsDropdown/index.d.ts +0 -1
- package/src/bundle-dependencies/bundles/react-day-picker/components/index.d.ts +0 -18
- package/src/bundle-dependencies/bundles/react-day-picker/contexts/ContextProvider.d.ts +0 -8
- package/src/bundle-dependencies/bundles/react-day-picker/contexts/DayPickerContext/DayPickerContext.d.ts +0 -78
- package/src/bundle-dependencies/bundles/react-day-picker/contexts/DayPickerContext/DayPickerContextValue.d.ts +0 -20
- package/src/bundle-dependencies/bundles/react-day-picker/contexts/DayPickerContext/DayPickerProvider.d.ts +0 -12
- package/src/bundle-dependencies/bundles/react-day-picker/contexts/DayPickerContext/defaultClassNames.d.ts +0 -5
- package/src/bundle-dependencies/bundles/react-day-picker/contexts/DayPickerContext/formatters/formatCaption.d.ts +0 -7
- package/src/bundle-dependencies/bundles/react-day-picker/contexts/DayPickerContext/formatters/formatDay.d.ts +0 -7
- package/src/bundle-dependencies/bundles/react-day-picker/contexts/DayPickerContext/formatters/formatMonthCaption.d.ts +0 -7
- package/src/bundle-dependencies/bundles/react-day-picker/contexts/DayPickerContext/formatters/formatWeekNumber.d.ts +0 -4
- package/src/bundle-dependencies/bundles/react-day-picker/contexts/DayPickerContext/formatters/formatWeekdayName.d.ts +0 -7
- package/src/bundle-dependencies/bundles/react-day-picker/contexts/DayPickerContext/formatters/formatYearCaption.d.ts +0 -6
- package/src/bundle-dependencies/bundles/react-day-picker/contexts/DayPickerContext/formatters/index.d.ts +0 -6
- package/src/bundle-dependencies/bundles/react-day-picker/contexts/DayPickerContext/index.d.ts +0 -5
- package/src/bundle-dependencies/bundles/react-day-picker/contexts/DayPickerContext/labels/index.d.ts +0 -7
- package/src/bundle-dependencies/bundles/react-day-picker/contexts/DayPickerContext/labels/labelDay.d.ts +0 -5
- package/src/bundle-dependencies/bundles/react-day-picker/contexts/DayPickerContext/labels/labelMonthDropdown.d.ts +0 -4
- package/src/bundle-dependencies/bundles/react-day-picker/contexts/DayPickerContext/labels/labelNext.d.ts +0 -5
- package/src/bundle-dependencies/bundles/react-day-picker/contexts/DayPickerContext/labels/labelPrevious.d.ts +0 -5
- package/src/bundle-dependencies/bundles/react-day-picker/contexts/DayPickerContext/labels/labelWeekNumber.d.ts +0 -5
- package/src/bundle-dependencies/bundles/react-day-picker/contexts/DayPickerContext/labels/labelWeekday.d.ts +0 -5
- package/src/bundle-dependencies/bundles/react-day-picker/contexts/DayPickerContext/labels/labelYearDropdown.d.ts +0 -4
- package/src/bundle-dependencies/bundles/react-day-picker/contexts/DayPickerContext/useDayPicker.d.ts +0 -8
- package/src/bundle-dependencies/bundles/react-day-picker/contexts/DayPickerContext/utils/index.d.ts +0 -2
- package/src/bundle-dependencies/bundles/react-day-picker/contexts/DayPickerContext/utils/parseFromToProps.d.ts +0 -9
- package/src/bundle-dependencies/bundles/react-day-picker/contexts/DayPickerContext/utils/parseModifierProps.d.ts +0 -9
- package/src/bundle-dependencies/bundles/react-day-picker/contexts/FocusContext/FocusContext.d.ts +0 -8
- package/src/bundle-dependencies/bundles/react-day-picker/contexts/FocusContext/FocusContextValue.d.ts +0 -19
- package/src/bundle-dependencies/bundles/react-day-picker/contexts/FocusContext/FocusProvider.d.ts +0 -5
- package/src/bundle-dependencies/bundles/react-day-picker/contexts/FocusContext/index.d.ts +0 -4
- package/src/bundle-dependencies/bundles/react-day-picker/contexts/FocusContext/useFocus.d.ts +0 -3
- package/src/bundle-dependencies/bundles/react-day-picker/contexts/NavigationContext/NavigationContext.d.ts +0 -8
- package/src/bundle-dependencies/bundles/react-day-picker/contexts/NavigationContext/NavigationContextValue.d.ts +0 -13
- package/src/bundle-dependencies/bundles/react-day-picker/contexts/NavigationContext/NavigationProvider.d.ts +0 -5
- package/src/bundle-dependencies/bundles/react-day-picker/contexts/NavigationContext/index.d.ts +0 -4
- package/src/bundle-dependencies/bundles/react-day-picker/contexts/NavigationContext/useNavigation.d.ts +0 -3
- package/src/bundle-dependencies/bundles/react-day-picker/contexts/NavigationContext/useNavigationState.d.ts +0 -7
- package/src/bundle-dependencies/bundles/react-day-picker/contexts/NavigationContext/utils/getDisplayMonths.d.ts +0 -8
- package/src/bundle-dependencies/bundles/react-day-picker/contexts/NavigationContext/utils/getInitialMonth.d.ts +0 -3
- package/src/bundle-dependencies/bundles/react-day-picker/contexts/NavigationContext/utils/getInitialMonth.test.d.ts +0 -1
- package/src/bundle-dependencies/bundles/react-day-picker/contexts/NavigationContext/utils/getNextMonth.d.ts +0 -18
- package/src/bundle-dependencies/bundles/react-day-picker/contexts/NavigationContext/utils/getNextMonth.test.d.ts +0 -1
- package/src/bundle-dependencies/bundles/react-day-picker/contexts/NavigationContext/utils/getPreviousMonth.d.ts +0 -19
- package/src/bundle-dependencies/bundles/react-day-picker/contexts/NavigationContext/utils/getPreviousMonth.test.d.ts +0 -1
- package/src/bundle-dependencies/bundles/react-day-picker/contexts/SelectMultipleContext/SelectMultipleContext.d.ts +0 -9
- package/src/bundle-dependencies/bundles/react-day-picker/contexts/SelectMultipleContext/SelectMultipleContextValue.d.ts +0 -13
- package/src/bundle-dependencies/bundles/react-day-picker/contexts/SelectMultipleContext/SelectMultipleModifiers.d.ts +0 -3
- package/src/bundle-dependencies/bundles/react-day-picker/contexts/SelectMultipleContext/SelectMultipleProvider.d.ts +0 -7
- package/src/bundle-dependencies/bundles/react-day-picker/contexts/SelectMultipleContext/index.d.ts +0 -5
- package/src/bundle-dependencies/bundles/react-day-picker/contexts/SelectMultipleContext/useSelectMultiple.d.ts +0 -3
- package/src/bundle-dependencies/bundles/react-day-picker/contexts/SelectRangeContext/SelectRangeContext.d.ts +0 -9
- package/src/bundle-dependencies/bundles/react-day-picker/contexts/SelectRangeContext/SelectRangeContextValue.d.ts +0 -13
- package/src/bundle-dependencies/bundles/react-day-picker/contexts/SelectRangeContext/SelectRangeModifiers.d.ts +0 -3
- package/src/bundle-dependencies/bundles/react-day-picker/contexts/SelectRangeContext/SelectRangeProvider.d.ts +0 -7
- package/src/bundle-dependencies/bundles/react-day-picker/contexts/SelectRangeContext/index.d.ts +0 -5
- package/src/bundle-dependencies/bundles/react-day-picker/contexts/SelectRangeContext/useSelectRange.d.ts +0 -3
- package/src/bundle-dependencies/bundles/react-day-picker/contexts/SelectRangeContext/utils/addToRange.d.ts +0 -8
- package/src/bundle-dependencies/bundles/react-day-picker/contexts/SelectSingleContext/SelectSingleContext.d.ts +0 -9
- package/src/bundle-dependencies/bundles/react-day-picker/contexts/SelectSingleContext/SelectSingleContextValue.d.ts +0 -11
- package/src/bundle-dependencies/bundles/react-day-picker/contexts/SelectSingleContext/SelectSingleModifiers.d.ts +0 -3
- package/src/bundle-dependencies/bundles/react-day-picker/contexts/SelectSingleContext/SelectSingleProvider.d.ts +0 -7
- package/src/bundle-dependencies/bundles/react-day-picker/contexts/SelectSingleContext/index.d.ts +0 -5
- package/src/bundle-dependencies/bundles/react-day-picker/contexts/SelectSingleContext/useSelectSingle.d.ts +0 -3
- package/src/bundle-dependencies/bundles/react-day-picker/contexts/index.d.ts +0 -7
- package/src/bundle-dependencies/bundles/react-day-picker/hooks/index.d.ts +0 -2
- package/src/bundle-dependencies/bundles/react-day-picker/hooks/useInput/index.d.ts +0 -2
- package/src/bundle-dependencies/bundles/react-day-picker/hooks/useInput/types/UseInput.d.ts +0 -12
- package/src/bundle-dependencies/bundles/react-day-picker/hooks/useInput/types/UseInputDayPickerProps.d.ts +0 -14
- package/src/bundle-dependencies/bundles/react-day-picker/hooks/useInput/types/UseInputFieldProps.d.ts +0 -12
- package/src/bundle-dependencies/bundles/react-day-picker/hooks/useInput/types/UseInputOptions.d.ts +0 -35
- package/src/bundle-dependencies/bundles/react-day-picker/hooks/useInput/types/index.d.ts +0 -4
- package/src/bundle-dependencies/bundles/react-day-picker/hooks/useInput/useInput.d.ts +0 -4
- package/src/bundle-dependencies/bundles/react-day-picker/hooks/useInput/utils/isValidDate.d.ts +0 -2
- package/src/bundle-dependencies/bundles/react-day-picker/hooks/useModifiers/index.d.ts +0 -1
- package/src/bundle-dependencies/bundles/react-day-picker/hooks/useModifiers/types/UseModifiers.d.ts +0 -10
- package/src/bundle-dependencies/bundles/react-day-picker/hooks/useModifiers/types/index.d.ts +0 -1
- package/src/bundle-dependencies/bundles/react-day-picker/hooks/useModifiers/useModifiers.d.ts +0 -3
- package/src/bundle-dependencies/bundles/react-day-picker/hooks/useModifiers/utils/getModifierStatus.d.ts +0 -7
- package/src/bundle-dependencies/bundles/react-day-picker/hooks/useModifiers/utils/isDateInRange.d.ts +0 -3
- package/src/bundle-dependencies/bundles/react-day-picker/hooks/useModifiers/utils/isMatch.d.ts +0 -5
- package/src/bundle-dependencies/bundles/react-day-picker/index.d.ts +0 -5
- package/src/bundle-dependencies/bundles/react-day-picker/index.js +0 -1
- package/src/bundle-dependencies/bundles/react-day-picker/types/CaptionLayout.d.ts +0 -7
- package/src/bundle-dependencies/bundles/react-day-picker/types/ClassNames.d.ts +0 -3
- package/src/bundle-dependencies/bundles/react-day-picker/types/Components.d.ts +0 -33
- package/src/bundle-dependencies/bundles/react-day-picker/types/CustomModifiers.d.ts +0 -4
- package/src/bundle-dependencies/bundles/react-day-picker/types/DateAfter.d.ts +0 -7
- package/src/bundle-dependencies/bundles/react-day-picker/types/DateBefore.d.ts +0 -7
- package/src/bundle-dependencies/bundles/react-day-picker/types/DateFormatter.d.ts +0 -6
- package/src/bundle-dependencies/bundles/react-day-picker/types/DateInterval.d.ts +0 -8
- package/src/bundle-dependencies/bundles/react-day-picker/types/DateRange.d.ts +0 -8
- package/src/bundle-dependencies/bundles/react-day-picker/types/DayClickEventHandler.d.ts +0 -6
- package/src/bundle-dependencies/bundles/react-day-picker/types/DayFocusEventHandler.d.ts +0 -6
- package/src/bundle-dependencies/bundles/react-day-picker/types/DayKeyboardEventHandler.d.ts +0 -6
- package/src/bundle-dependencies/bundles/react-day-picker/types/DayLabelFormatter.d.ts +0 -7
- package/src/bundle-dependencies/bundles/react-day-picker/types/DayMouseEventHandler.d.ts +0 -6
- package/src/bundle-dependencies/bundles/react-day-picker/types/DayOfWeekMatcher.d.ts +0 -7
- package/src/bundle-dependencies/bundles/react-day-picker/types/DayPickerBase.d.ts +0 -239
- package/src/bundle-dependencies/bundles/react-day-picker/types/DayPickerMultiple.d.ts +0 -15
- package/src/bundle-dependencies/bundles/react-day-picker/types/DayPickerProps.d.ts +0 -9
- package/src/bundle-dependencies/bundles/react-day-picker/types/DayPickerRange.d.ts +0 -16
- package/src/bundle-dependencies/bundles/react-day-picker/types/DayPickerSingle.d.ts +0 -13
- package/src/bundle-dependencies/bundles/react-day-picker/types/DayPickerUncontrolled.d.ts +0 -7
- package/src/bundle-dependencies/bundles/react-day-picker/types/DayTouchEventHandler.d.ts +0 -6
- package/src/bundle-dependencies/bundles/react-day-picker/types/Formatters.d.ts +0 -19
- package/src/bundle-dependencies/bundles/react-day-picker/types/InternalModifier.d.ts +0 -2
- package/src/bundle-dependencies/bundles/react-day-picker/types/Labels.d.ts +0 -17
- package/src/bundle-dependencies/bundles/react-day-picker/types/Matcher.d.ts +0 -10
- package/src/bundle-dependencies/bundles/react-day-picker/types/Modifier.d.ts +0 -5
- package/src/bundle-dependencies/bundles/react-day-picker/types/ModifierClassNames.d.ts +0 -5
- package/src/bundle-dependencies/bundles/react-day-picker/types/ModifierStatus.d.ts +0 -5
- package/src/bundle-dependencies/bundles/react-day-picker/types/ModifierStyles.d.ts +0 -4
- package/src/bundle-dependencies/bundles/react-day-picker/types/Modifiers.d.ts +0 -5
- package/src/bundle-dependencies/bundles/react-day-picker/types/MonthChangeEventHandler.d.ts +0 -4
- package/src/bundle-dependencies/bundles/react-day-picker/types/NavButtonLabelFormatter.d.ts +0 -7
- package/src/bundle-dependencies/bundles/react-day-picker/types/SelectMultipleEventHandler.d.ts +0 -12
- package/src/bundle-dependencies/bundles/react-day-picker/types/SelectRangeEventHandler.d.ts +0 -10
- package/src/bundle-dependencies/bundles/react-day-picker/types/SelectSingleEventHandler.d.ts +0 -12
- package/src/bundle-dependencies/bundles/react-day-picker/types/StyledComponentProps.d.ts +0 -10
- package/src/bundle-dependencies/bundles/react-day-picker/types/StyledElement.d.ts +0 -76
- package/src/bundle-dependencies/bundles/react-day-picker/types/Styles.d.ts +0 -4
- package/src/bundle-dependencies/bundles/react-day-picker/types/WeekNumberClickEventHandler.d.ts +0 -9
- package/src/bundle-dependencies/bundles/react-day-picker/types/WeekNumberFormatter.d.ts +0 -6
- package/src/bundle-dependencies/bundles/react-day-picker/types/WeekNumberLabelFormatter.d.ts +0 -5
- package/src/bundle-dependencies/bundles/react-day-picker/types/WeekdayLabelFormatter.d.ts +0 -4
- package/src/bundle-dependencies/bundles/react-day-picker/types/index.d.ts +0 -54
- package/src/bundle-dependencies/bundles/react-day-picker/types/isArrayOfDates.d.ts +0 -2
- package/src/bundle-dependencies/bundles/react-day-picker/types/isDateAfterType.d.ts +0 -3
- package/src/bundle-dependencies/bundles/react-day-picker/types/isDateBeforeType.d.ts +0 -3
- package/src/bundle-dependencies/bundles/react-day-picker/types/isDateInterval.d.ts +0 -3
- package/src/bundle-dependencies/bundles/react-day-picker/types/isDateRange.d.ts +0 -3
- package/src/bundle-dependencies/bundles/react-day-picker/types/isDateType.d.ts +0 -2
- package/src/bundle-dependencies/bundles/react-day-picker/types/isDayOfWeekType.d.ts +0 -3
- package/src/bundle-dependencies/bundles/react-day-picker/types/isDayPickerMultiple.d.ts +0 -4
- package/src/bundle-dependencies/bundles/react-day-picker/types/isDayPickerRange.d.ts +0 -4
- package/src/bundle-dependencies/bundles/react-day-picker/types/isDayPickerSingle.d.ts +0 -4
- package/src/bundle-dependencies/bundles/react-day-picker/types/isDayPickerUncontrolled.d.ts +0 -4
- package/src/bundle-dependencies/bundles/react-toastify/components/CloseButton.d.ts +0 -8
- package/src/bundle-dependencies/bundles/react-toastify/components/ProgressBar.d.ts +0 -55
- package/src/bundle-dependencies/bundles/react-toastify/components/Toast.d.ts +0 -3
- package/src/bundle-dependencies/bundles/react-toastify/components/ToastContainer.d.ts +0 -3
- package/src/bundle-dependencies/bundles/react-toastify/components/Transitions.d.ts +0 -5
- package/src/bundle-dependencies/bundles/react-toastify/components/index.d.ts +0 -5
- package/src/bundle-dependencies/bundles/react-toastify/core/eventManager.d.ts +0 -39
- package/src/bundle-dependencies/bundles/react-toastify/core/index.d.ts +0 -2
- package/src/bundle-dependencies/bundles/react-toastify/core/toast.d.ts +0 -55
- package/src/bundle-dependencies/bundles/react-toastify/hooks/index.d.ts +0 -3
- package/src/bundle-dependencies/bundles/react-toastify/hooks/toastContainerReducer.d.ts +0 -15
- package/src/bundle-dependencies/bundles/react-toastify/hooks/useKeeper.d.ts +0 -7
- package/src/bundle-dependencies/bundles/react-toastify/hooks/useToast.d.ts +0 -10
- package/src/bundle-dependencies/bundles/react-toastify/hooks/useToastContainer.d.ts +0 -16
- package/src/bundle-dependencies/bundles/react-toastify/index.d.ts +0 -5
- package/src/bundle-dependencies/bundles/react-toastify/index.js +0 -1
- package/src/bundle-dependencies/bundles/react-toastify/inject-style.d.ts +0 -8
- package/src/bundle-dependencies/bundles/react-toastify/test/components/CloseButton.test.d.ts +0 -1
- package/src/bundle-dependencies/bundles/react-toastify/test/components/ProgressBar.test.d.ts +0 -1
- package/src/bundle-dependencies/bundles/react-toastify/test/components/Toast.test.d.ts +0 -1
- package/src/bundle-dependencies/bundles/react-toastify/test/components/ToastContainer.test.d.ts +0 -1
- package/src/bundle-dependencies/bundles/react-toastify/test/core/eventManager.test.d.ts +0 -1
- package/src/bundle-dependencies/bundles/react-toastify/test/core/toast.test.d.ts +0 -1
- package/src/bundle-dependencies/bundles/react-toastify/test/helpers.d.ts +0 -9
- package/src/bundle-dependencies/bundles/react-toastify/test/utils/collapseToast.test.d.ts +0 -1
- package/src/bundle-dependencies/bundles/react-toastify/test/utils/cssTransition.test.d.ts +0 -1
- package/src/bundle-dependencies/bundles/react-toastify/test/utils/propValidator.test.d.ts +0 -1
- package/src/bundle-dependencies/bundles/react-toastify/types/index.d.ts +0 -240
- package/src/bundle-dependencies/bundles/react-toastify/utils/collapseToast.d.ts +0 -5
- package/src/bundle-dependencies/bundles/react-toastify/utils/constant.d.ts +0 -20
- package/src/bundle-dependencies/bundles/react-toastify/utils/cssTransition.d.ts +0 -42
- package/src/bundle-dependencies/bundles/react-toastify/utils/index.d.ts +0 -4
- package/src/bundle-dependencies/bundles/react-toastify/utils/propValidator.d.ts +0 -10
- package/src/components/OverlayTrigger/useVendorClassName.d.ts +0 -2
- package/src/components/Toastify/index.d.ts +0 -3
- package/src/components/Toastify/index.js +0 -10
|
@@ -12,6 +12,7 @@ const EllipsisContainer_1 = require("../../../components/EllipsisContainer");
|
|
|
12
12
|
const SimpleButton_1 = tslib_1.__importDefault(require("../../../components/SimpleButton"));
|
|
13
13
|
const Radio_1 = tslib_1.__importDefault(require("../../../components/Radio"));
|
|
14
14
|
const reorder_1 = require("../../../Utilities/reorder");
|
|
15
|
+
const Tag_1 = require("../../../components/Tag");
|
|
15
16
|
function useValuesMap({ options, value, toIdentifier, selectedMap, }) {
|
|
16
17
|
const optionsMap = react_1.useMemo(() => {
|
|
17
18
|
if (selectedMap) {
|
|
@@ -183,10 +184,10 @@ function ValueOptionsTags(props) {
|
|
|
183
184
|
};
|
|
184
185
|
const option = selectedMap.get(optionId);
|
|
185
186
|
const label = option != null ? toLabel(option) : `${optionId}`;
|
|
186
|
-
return (React.createElement(
|
|
187
|
+
return (React.createElement(Tag_1.Tag, { flexDirection: "row", alignItems: "center", "data-name": "selected-option", "data-id": optionId, mt: allowWrap ? 1 : 0, mr: 1, className: "ab-ValueSelector__tag", onClick: (e) => {
|
|
187
188
|
var _a, _b, _c;
|
|
188
189
|
(_c = (_b = (_a = e.target) === null || _a === void 0 ? void 0 : _a.lastChild) === null || _b === void 0 ? void 0 : _b.focus) === null || _c === void 0 ? void 0 : _c.call(_b);
|
|
189
|
-
} },
|
|
190
|
+
}, style: { flex: 'none' } },
|
|
190
191
|
renderLabel ? renderLabel(label) : label,
|
|
191
192
|
readOnly ? null : (React.createElement(SimpleButton_1.default, { icon: "clear", ml: 2, iconSize: 14, variant: "text", style: { border: 'none' }, onClick: clear }))));
|
|
192
193
|
};
|
|
@@ -197,7 +198,6 @@ function ValueOptionsTags(props) {
|
|
|
197
198
|
" ",
|
|
198
199
|
remaining > 1 ? 'others' : 'other'));
|
|
199
200
|
}, []);
|
|
200
|
-
return (React.createElement(
|
|
201
|
-
React.createElement(EllipsisContainer_1.EllipsisContainer, { marginRight: 4, my: 1, allowWrap: allowWrap, count: value.length, direction: "horizontal", renderItem: renderOptionTag, renderEllipsis: renderEllipsis })));
|
|
201
|
+
return (React.createElement(EllipsisContainer_1.EllipsisContainer, { marginRight: 4, my: 1, allowWrap: allowWrap, count: value.length, direction: "horizontal", renderItem: renderOptionTag, renderEllipsis: renderEllipsis }));
|
|
202
202
|
}
|
|
203
203
|
exports.ValueOptionsTags = ValueOptionsTags;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
|
|
1
|
+
import * as React from 'react';
|
|
2
2
|
import { AdaptableOnePageWizardProps } from '../../Wizard/Interface/IAdaptableWizard';
|
|
3
3
|
import { ConditionalStyle } from '../../../types';
|
|
4
4
|
export interface ConditionalStyleWizardProps extends AdaptableOnePageWizardProps<ConditionalStyle> {
|
|
5
5
|
}
|
|
6
|
-
export declare
|
|
6
|
+
export declare const ConditionalStyleWizard: React.FunctionComponent<ConditionalStyleWizardProps>;
|
|
@@ -14,13 +14,18 @@ const DEFAULT_PREDICATE_ID_FOR_CONDITIONAL_STYLE_1 = require("./DEFAULT_PREDICAT
|
|
|
14
14
|
const CheckBox_1 = require("../../../components/CheckBox");
|
|
15
15
|
const NewScopeComponent_1 = require("../../Components/NewScopeComponent");
|
|
16
16
|
const EntityRulesEditor_1 = require("../../Components/EntityRulesEditor");
|
|
17
|
-
|
|
17
|
+
const ObjectFactory_1 = tslib_1.__importDefault(require("../../../Utilities/ObjectFactory"));
|
|
18
|
+
const react_redux_1 = require("react-redux");
|
|
19
|
+
const ConditionalStyleRedux = tslib_1.__importStar(require("../../../Redux/ActionsReducers/ConditionalStyleRedux"));
|
|
20
|
+
exports.ConditionalStyleWizard = (props) => {
|
|
18
21
|
const [conditionalStyle, setConditionalStyle] = react_1.useState(() => {
|
|
19
22
|
var _a;
|
|
20
23
|
const DEFAULT_RULE = {
|
|
21
24
|
BooleanExpression: '',
|
|
22
25
|
};
|
|
23
|
-
const conditionalStyle =
|
|
26
|
+
const conditionalStyle = props.data
|
|
27
|
+
? Helper_1.cloneObject(props.data)
|
|
28
|
+
: ObjectFactory_1.default.CreateEmptyConditionalStyle();
|
|
24
29
|
conditionalStyle.Scope = (_a = conditionalStyle.Scope) !== null && _a !== void 0 ? _a : { All: true };
|
|
25
30
|
if (!conditionalStyle.Rule) {
|
|
26
31
|
conditionalStyle.Rule = DEFAULT_RULE;
|
|
@@ -30,7 +35,17 @@ function ConditionalStyleWizard(props) {
|
|
|
30
35
|
}
|
|
31
36
|
return conditionalStyle;
|
|
32
37
|
});
|
|
33
|
-
|
|
38
|
+
const dispatch = react_redux_1.useDispatch();
|
|
39
|
+
const handleFinish = () => {
|
|
40
|
+
if (props.data) {
|
|
41
|
+
dispatch(ConditionalStyleRedux.ConditionalStyleEdit(conditionalStyle));
|
|
42
|
+
}
|
|
43
|
+
else {
|
|
44
|
+
dispatch(ConditionalStyleRedux.ConditionalStyleAdd(conditionalStyle));
|
|
45
|
+
}
|
|
46
|
+
props.onCloseWizard();
|
|
47
|
+
};
|
|
48
|
+
return (React.createElement(OnePageAdaptableWizard_1.OnePageAdaptableWizard, { defaultCurrentSectionName: props.defaultCurrentSectionName, moduleInfo: props.moduleInfo, data: conditionalStyle, onHide: props.onCloseWizard, onFinish: handleFinish, sections: [
|
|
34
49
|
{
|
|
35
50
|
title: 'Style',
|
|
36
51
|
details: 'Specify the Style to be applied conditionally',
|
|
@@ -74,5 +89,4 @@ function ConditionalStyleWizard(props) {
|
|
|
74
89
|
title: 'Summary',
|
|
75
90
|
},
|
|
76
91
|
] }));
|
|
77
|
-
}
|
|
78
|
-
exports.ConditionalStyleWizard = ConditionalStyleWizard;
|
|
92
|
+
};
|
|
@@ -4,16 +4,15 @@ exports.CustomSortColumnWizardSection = exports.isValidCustomSortColumn = export
|
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
5
|
const React = tslib_1.__importStar(require("react"));
|
|
6
6
|
const rebass_1 = require("rebass");
|
|
7
|
-
const CodeBlock_1 = require("../../../components/CodeBlock");
|
|
8
7
|
const Tabs_1 = require("../../../components/Tabs");
|
|
8
|
+
const Tag_1 = require("../../../components/Tag");
|
|
9
9
|
const ColumnSelector_1 = require("../../Components/ColumnSelector");
|
|
10
10
|
const OnePageAdaptableWizard_1 = require("../../Wizard/OnePageAdaptableWizard");
|
|
11
11
|
exports.renderCustomSortColumn = (data) => {
|
|
12
12
|
const { api } = OnePageAdaptableWizard_1.useOnePageWizardContext();
|
|
13
13
|
return (React.createElement(rebass_1.Text, { pr: 2, py: 2, fontSize: 2 },
|
|
14
|
-
"Custom sort column:",
|
|
15
|
-
|
|
16
|
-
React.createElement(CodeBlock_1.CodeBlock, null, api.columnApi.getFriendlyNameFromColumnId(data.ColumnId))));
|
|
14
|
+
"Custom sort column: ",
|
|
15
|
+
React.createElement(Tag_1.Tag, null, api.columnApi.getFriendlyNameFromColumnId(data.ColumnId))));
|
|
17
16
|
};
|
|
18
17
|
exports.isValidCustomSortColumn = (data) => {
|
|
19
18
|
if (!data.ColumnId) {
|
|
@@ -30,7 +29,7 @@ exports.CustomSortColumnWizardSection = (props) => {
|
|
|
30
29
|
const columnSortComparers = ((_b = (_a = api.internalApi.getAdaptableOptions()) === null || _a === void 0 ? void 0 : _a.generalOptions) === null || _b === void 0 ? void 0 : _b.customSortComparers) || [];
|
|
31
30
|
const usedColumnIds = [
|
|
32
31
|
...customSorts.map((customSort) => customSort.ColumnId),
|
|
33
|
-
...columnSortComparers.map((comparer) => comparer.
|
|
32
|
+
...columnSortComparers.map((comparer) => api.scopeApi.getColumnIdsInScope(comparer.scope)),
|
|
34
33
|
];
|
|
35
34
|
// filter out used colum ids, but include the current one
|
|
36
35
|
return sortableColumns.filter((column) => {
|
|
@@ -9,11 +9,26 @@ const OnePageAdaptableWizard_1 = require("../../Wizard/OnePageAdaptableWizard");
|
|
|
9
9
|
const Helper_1 = require("../../../Utilities/Helpers/Helper");
|
|
10
10
|
const CustomSortColumnWizardSection_1 = require("./CustomSortColumnWizardSection");
|
|
11
11
|
const CustomSortValuesWizardSection_1 = require("./CustomSortValuesWizardSection");
|
|
12
|
+
const ObjectFactory_1 = tslib_1.__importDefault(require("../../../Utilities/ObjectFactory"));
|
|
13
|
+
const react_redux_1 = require("react-redux");
|
|
14
|
+
const CustomSortRedux = tslib_1.__importStar(require("../../../Redux/ActionsReducers/CustomSortRedux"));
|
|
12
15
|
exports.CustomSortWizard = (props) => {
|
|
13
16
|
const [customSort, setCustomSort] = react_1.useState(() => {
|
|
14
|
-
return
|
|
17
|
+
return props.data
|
|
18
|
+
? Helper_1.cloneObject(props.data)
|
|
19
|
+
: ObjectFactory_1.default.CreateEmptyCustomSort();
|
|
15
20
|
});
|
|
16
|
-
|
|
21
|
+
const dispatch = react_redux_1.useDispatch();
|
|
22
|
+
const handleFinish = () => {
|
|
23
|
+
if (props.data) {
|
|
24
|
+
dispatch(CustomSortRedux.CustomSortEdit(customSort));
|
|
25
|
+
}
|
|
26
|
+
else {
|
|
27
|
+
dispatch(CustomSortRedux.CustomSortAdd(customSort));
|
|
28
|
+
}
|
|
29
|
+
props.onFinishWizard(customSort);
|
|
30
|
+
};
|
|
31
|
+
return (React.createElement(OnePageAdaptableWizard_1.OnePageAdaptableWizard, { defaultCurrentSectionName: props.defaultCurrentSectionName, moduleInfo: props.moduleInfo, data: customSort, onFinish: handleFinish, onHide: props.onCloseWizard, sections: [
|
|
17
32
|
{
|
|
18
33
|
isValid: CustomSortColumnWizardSection_1.isValidCustomSortColumn,
|
|
19
34
|
renderSummary: CustomSortColumnWizardSection_1.renderCustomSortColumn,
|
|
@@ -41,5 +56,5 @@ exports.CustomSortWizard = (props) => {
|
|
|
41
56
|
React.createElement(OnePageAdaptableWizard_1.OnePageWizardSummary, null)));
|
|
42
57
|
},
|
|
43
58
|
},
|
|
44
|
-
]
|
|
59
|
+
] }));
|
|
45
60
|
};
|
|
@@ -17,7 +17,6 @@ interface DashboardComponentProps extends ModuleViewPopupProps<any> {
|
|
|
17
17
|
onSetIsCollapsed: (IsCollapsed: boolean) => DashboardRedux.DashboardSetIsCollapsedAction;
|
|
18
18
|
onSetIsFloating: (IsFloating: boolean) => DashboardRedux.DashboardSetIsFloatingAction;
|
|
19
19
|
onSetIsInline: (IsInline: boolean) => DashboardRedux.DashboardSetIsInlineAction;
|
|
20
|
-
onSetIsHidden: (IsHidden: boolean) => DashboardRedux.DashboardSetIsHiddenAction;
|
|
21
20
|
onSetFloatingPosition: (FloatingPosition: AdaptableCoordinate) => DashboardRedux.DashboardSetFloatingPositionAction;
|
|
22
21
|
onRunQuickSearch: (quickSearchText: string) => QuickSearchRedux.QuickSearchRunAction;
|
|
23
22
|
onShowQuickSearchPopup: () => PopupRedux.PopupShowScreenAction;
|
|
@@ -22,8 +22,11 @@ const UIHelper_1 = tslib_1.__importDefault(require("../UIHelper"));
|
|
|
22
22
|
const ModuleToolbarWrapper_1 = require("./ModuleToolbarWrapper");
|
|
23
23
|
const CustomToolbarWrapper_1 = require("./CustomToolbarWrapper");
|
|
24
24
|
const ModuleConstants_1 = require("../../Utilities/Constants/ModuleConstants");
|
|
25
|
+
const DefaultSettingsPanel_1 = require("../../Utilities/Defaults/DefaultSettingsPanel");
|
|
26
|
+
const ApplicationIcon_1 = require("../../components/ApplicationIcon");
|
|
25
27
|
const DashboardComponent = (props) => {
|
|
26
28
|
const [searchText, search] = useQuickSearchDebounced_1.useQuickSearchDebounced(props);
|
|
29
|
+
const dispatch = react_redux_1.useDispatch();
|
|
27
30
|
const dashboardAccessLevel = props.api.internalApi
|
|
28
31
|
.getEntitlementService()
|
|
29
32
|
.getEntitlementAccessLevelForModule('Dashboard');
|
|
@@ -120,74 +123,26 @@ const DashboardComponent = (props) => {
|
|
|
120
123
|
return customDashboardButtons;
|
|
121
124
|
};
|
|
122
125
|
const renderDashboardIcon = (icon) => {
|
|
123
|
-
|
|
124
|
-
return null;
|
|
125
|
-
}
|
|
126
|
-
let width = icon.style && icon.style.width ? icon.style.width : 'var(--ab-cmp-simple-button__width)';
|
|
127
|
-
let height = icon.style && icon.style.height ? icon.style.height : 'var(--ab-cmp-simple-button__height)';
|
|
128
|
-
return (React.createElement("img", { className: "ab-Dashboard__application-icon", src: icon.src, style: { width: width, height: height } }));
|
|
126
|
+
return React.createElement(ApplicationIcon_1.ApplicationIcon, { icon: icon });
|
|
129
127
|
};
|
|
128
|
+
const actionModuleMenuItems = react_redux_1.useSelector((state) => { var _a; return (_a = state === null || state === void 0 ? void 0 : state.Grid) === null || _a === void 0 ? void 0 : _a.ModuleDropdownMenuItems; })
|
|
129
|
+
.filter((menuItem) => menuItem.module !== 'General' && DefaultSettingsPanel_1.ACTION_POPUPS.includes(menuItem.module))
|
|
130
|
+
.map((menuItem) => ({
|
|
131
|
+
disabled: props.accessLevel == 'Hidden',
|
|
132
|
+
onClick: () => props.dispatch(menuItem.reduxAction),
|
|
133
|
+
icon: React.createElement(icons_1.Icon, { name: menuItem.icon }),
|
|
134
|
+
label: menuItem.label,
|
|
135
|
+
}));
|
|
130
136
|
const renderModulesDropdown = () => {
|
|
131
137
|
let moduleService = props.api.internalApi.getModuleService();
|
|
132
138
|
let moduleInfo = moduleService.getModuleInfoByModule(ModuleConstants.DashboardModuleId);
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
label: menuItem.label,
|
|
141
|
-
};
|
|
142
|
-
});
|
|
143
|
-
let dashboardOptions = props.api.internalApi.getAdaptableOptions()
|
|
144
|
-
.dashboardOptions;
|
|
145
|
-
if (dashboardAccessLevel == 'Full' || dashboardAccessLevel == 'ReadOnly') {
|
|
146
|
-
menuItems.unshift(dashboardAccessLevel == 'Full'
|
|
147
|
-
? {
|
|
148
|
-
onClick: () => props.onShowDashboardPopup(),
|
|
149
|
-
icon: React.createElement(icons_1.Icon, { name: "settings" }),
|
|
150
|
-
label: 'Configure ' + moduleInfo.FriendlyName,
|
|
151
|
-
}
|
|
152
|
-
: null, props.DashboardState.IsFloating
|
|
153
|
-
? null
|
|
154
|
-
: props.DashboardState.IsCollapsed
|
|
155
|
-
? {
|
|
156
|
-
onClick: () => props.onSetIsCollapsed(false),
|
|
157
|
-
icon: React.createElement(icons_1.Icon, { name: "expand" }),
|
|
158
|
-
label: 'Expand ' + moduleInfo.FriendlyName,
|
|
159
|
-
}
|
|
160
|
-
: {
|
|
161
|
-
onClick: () => props.onSetIsCollapsed(true),
|
|
162
|
-
icon: React.createElement(icons_1.Icon, { name: "collapse" }),
|
|
163
|
-
label: 'Collapse ' + moduleInfo.FriendlyName,
|
|
164
|
-
}, props.DashboardState.IsFloating
|
|
165
|
-
? {
|
|
166
|
-
onClick: () => props.onSetIsFloating(false),
|
|
167
|
-
icon: React.createElement(icons_1.Icon, { name: "dock" }),
|
|
168
|
-
label: 'Dock ' + moduleInfo.FriendlyName,
|
|
169
|
-
}
|
|
170
|
-
: dashboardOptions.canFloat && {
|
|
171
|
-
onClick: () => props.onSetIsFloating(true),
|
|
172
|
-
icon: React.createElement(icons_1.Icon, { name: "dock" }),
|
|
173
|
-
label: 'Float ' + moduleInfo.FriendlyName,
|
|
174
|
-
}, props.DashboardState.IsHidden
|
|
175
|
-
? {
|
|
176
|
-
onClick: () => props.onSetIsHidden(false),
|
|
177
|
-
icon: React.createElement(icons_1.Icon, { name: "show-column" }),
|
|
178
|
-
label: 'Show ' + moduleInfo.FriendlyName,
|
|
179
|
-
}
|
|
180
|
-
: dashboardOptions.canFloat && {
|
|
181
|
-
onClick: () => props.onSetIsHidden(true),
|
|
182
|
-
icon: React.createElement(icons_1.Icon, { name: "hide-column" }),
|
|
183
|
-
label: 'Hide ' + moduleInfo.FriendlyName,
|
|
184
|
-
}, {
|
|
185
|
-
separator: true,
|
|
186
|
-
});
|
|
187
|
-
}
|
|
188
|
-
menuItems = menuItems.filter((x) => !!x);
|
|
189
|
-
return (React.createElement(DropdownButton_1.default, { variant: "text", tone: "none", items: menuItems, className: "ab-DashboardToolbar__Home__functions", key: 'dropdown-functions', id: 'dropdown-functions' },
|
|
190
|
-
React.createElement(icons_1.Icon, { name: 'home' })));
|
|
139
|
+
// JW 23/1/22: we should check the SettingsPanel entitlement here...
|
|
140
|
+
const handleOpenPopup = () => {
|
|
141
|
+
dispatch(PopupRedux.PopupShowScreen());
|
|
142
|
+
};
|
|
143
|
+
return (React.createElement(React.Fragment, null,
|
|
144
|
+
React.createElement(SimpleButton_1.default, { className: "ab-SettingsButton", onClick: handleOpenPopup, variant: "text", tone: "none", icon: "settings" }),
|
|
145
|
+
React.createElement(DropdownButton_1.default, { icon: "edit", variant: "text", tone: "none", items: actionModuleMenuItems, className: "ab-DashboardToolbar__Home__functions", key: 'dropdown-functions', id: 'dropdown-functions', showToggleIcon: false })));
|
|
191
146
|
};
|
|
192
147
|
const renderQuickSearch = () => {
|
|
193
148
|
let moduleInfo = props.api.internalApi
|
|
@@ -219,7 +174,7 @@ const DashboardComponent = (props) => {
|
|
|
219
174
|
}
|
|
220
175
|
}, left: React.createElement(React.Fragment, null,
|
|
221
176
|
renderDashboardIcon(props.api.internalApi.getAdaptableOptions().userInterfaceOptions.applicationIcon),
|
|
222
|
-
dashboardOptions.
|
|
177
|
+
dashboardOptions.showSettingsPanel && renderModulesDropdown()), right: React.createElement(React.Fragment, null,
|
|
223
178
|
renderDashboardButtons(),
|
|
224
179
|
renderModuleButtons(),
|
|
225
180
|
shouldRenderQuickSearchHeader && renderQuickSearch()), onShowDashboardPopup: props.onShowDashboardPopup }, props.DashboardState.Tabs &&
|
|
@@ -239,8 +194,6 @@ function mapDispatchToProps(dispatch) {
|
|
|
239
194
|
onSetActiveTabIndex: (ActiveTabIndex) => dispatch(DashboardRedux.DashboardSetActiveTabIndex(ActiveTabIndex)),
|
|
240
195
|
onSetIsCollapsed: (IsCollapsed) => dispatch(DashboardRedux.DashboardSetIsCollapsed(IsCollapsed)),
|
|
241
196
|
onSetIsFloating: (IsFloating) => dispatch(DashboardRedux.DashboardSetIsFloating(IsFloating)),
|
|
242
|
-
onSetIsInline: (IsInline) => dispatch(DashboardRedux.DashboardSetIsInline(IsInline)),
|
|
243
|
-
onSetIsHidden: (IsHidden) => dispatch(DashboardRedux.DashboardSetIsHidden(IsHidden)),
|
|
244
197
|
onSetFloatingPosition: (FloatingPosition) => dispatch(DashboardRedux.DashboardSetFloatingPosition(FloatingPosition)),
|
|
245
198
|
onRunQuickSearch: (newQuickSearchText) => dispatch(QuickSearchRedux.QuickSearchRun(newQuickSearchText)),
|
|
246
199
|
onShowQuickSearchPopup: () => dispatch(PopupRedux.PopupShowScreen(ModuleConstants.QuickSearchModuleId, 'QuickSearchPopup')),
|
|
@@ -3,13 +3,17 @@ import * as DashboardRedux from '../../Redux/ActionsReducers/DashboardRedux';
|
|
|
3
3
|
import { ModuleViewPopupProps } from '../Components/SharedProps/ModuleViewPopupProps';
|
|
4
4
|
import { GridState } from '../../PredefinedConfig/GridState';
|
|
5
5
|
import { DashboardState, DashboardTab } from '../../PredefinedConfig/DashboardState';
|
|
6
|
-
import { Entitlement } from '../../PredefinedConfig/Common/Entitlement';
|
|
7
6
|
interface DashboardPopupComponentProps extends ModuleViewPopupProps<DashboardPopupComponent> {
|
|
8
7
|
DashboardState: DashboardState;
|
|
9
8
|
GridState: GridState;
|
|
10
|
-
|
|
9
|
+
IsCollapsed: boolean;
|
|
10
|
+
IsHidden: boolean;
|
|
11
|
+
IsFloating: boolean;
|
|
11
12
|
onDashboardSetModuleButtons: (ModuleConstants: string[]) => DashboardRedux.DashboardSetModuleButtonsAction;
|
|
12
13
|
onDashboardSetTabs: (Tabs: DashboardTab[]) => DashboardRedux.DashboardSetTabsAction;
|
|
14
|
+
onSetDashboardCollapsed: (isCollapsed: boolean) => DashboardRedux.DashboardSetIsCollapsedAction;
|
|
15
|
+
onSetDashboardFloating: (isFloating: boolean) => DashboardRedux.DashboardSetIsFloatingAction;
|
|
16
|
+
onSetDashboardHidden: (isHidden: boolean) => DashboardRedux.DashboardSetIsHiddenAction;
|
|
13
17
|
}
|
|
14
18
|
export declare enum DashboardConfigView {
|
|
15
19
|
Toolbars = "Toolbars",
|
|
@@ -5,12 +5,14 @@ const tslib_1 = require("tslib");
|
|
|
5
5
|
const React = tslib_1.__importStar(require("react"));
|
|
6
6
|
const react_redux_1 = require("react-redux");
|
|
7
7
|
const DashboardRedux = tslib_1.__importStar(require("../../Redux/ActionsReducers/DashboardRedux"));
|
|
8
|
-
const
|
|
8
|
+
const PopupPanel_1 = require("../Components/Popups/AdaptablePopup/PopupPanel");
|
|
9
9
|
const Radio_1 = tslib_1.__importDefault(require("../../components/Radio"));
|
|
10
10
|
const rebass_1 = require("rebass");
|
|
11
11
|
const Types_1 = require("../../PredefinedConfig/Common/Types");
|
|
12
12
|
const DashboardManager_1 = tslib_1.__importDefault(require("../../components/Dashboard/DashboardManager"));
|
|
13
13
|
const ModuleValueSelector_1 = require("../Components/ModuleValueSelector");
|
|
14
|
+
const CheckBox_1 = require("../../components/CheckBox");
|
|
15
|
+
const Panel_1 = tslib_1.__importDefault(require("../../components/Panel"));
|
|
14
16
|
var DashboardConfigView;
|
|
15
17
|
(function (DashboardConfigView) {
|
|
16
18
|
DashboardConfigView["Toolbars"] = "Toolbars";
|
|
@@ -55,13 +57,27 @@ class DashboardPopupComponent extends React.Component {
|
|
|
55
57
|
}
|
|
56
58
|
});
|
|
57
59
|
const allModuleButtons = this.props.GridState.ModuleDropdownMenuItems.map((x) => x.module);
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
60
|
+
const baseClassName = 'ab-Dashboard-Popup';
|
|
61
|
+
// const isDisabled = this.props.Entitlements
|
|
62
|
+
const dashboardAccessLevel = this.props.api.internalApi
|
|
63
|
+
.getEntitlementService()
|
|
64
|
+
.getEntitlementAccessLevelForModule('Dashboard');
|
|
65
|
+
const areDashboardSettingsEnabled = dashboardAccessLevel == 'Full' || dashboardAccessLevel == 'ReadOnly';
|
|
66
|
+
return (React.createElement(PopupPanel_1.PopupPanel, { headerText: this.props.moduleInfo.FriendlyName, glyphicon: this.props.moduleInfo.Glyph },
|
|
67
|
+
areDashboardSettingsEnabled && (React.createElement(Panel_1.default, { header: 'Dashboard Settings', style: { height: 'auto' }, variant: "default", borderRadius: "none", marginLeft: 2, marginRight: 2 },
|
|
68
|
+
React.createElement(rebass_1.Flex, null,
|
|
69
|
+
React.createElement(CheckBox_1.CheckBox, { mr: 3, className: `${baseClassName}__Checkbox__collapsed-check`, checked: this.props.IsCollapsed, onChange: (checked) => this.props.onSetDashboardCollapsed(checked) }, "Collapse"),
|
|
70
|
+
' ',
|
|
71
|
+
this.props.api.internalApi.getAdaptableOptions().dashboardOptions.canFloat && (React.createElement(CheckBox_1.CheckBox, { mr: 3, className: `${baseClassName}__Checkbox__collapsed-check`, checked: this.props.IsFloating, onChange: (checked) => this.props.onSetDashboardFloating(checked) }, "Float")),
|
|
72
|
+
' ',
|
|
73
|
+
React.createElement(CheckBox_1.CheckBox, { className: `${baseClassName}__Checkbox__hidden-check`, checked: this.props.IsHidden, onChange: (checked) => this.props.onSetDashboardHidden(checked) }, "Hidden")))),
|
|
74
|
+
React.createElement(Panel_1.default, { header: 'Dashboard Contents', style: { height: 'auto' }, variant: "default", borderRadius: "none", marginTop: 4, marginLeft: 2, marginRight: 2 },
|
|
75
|
+
React.createElement(rebass_1.Flex, { flexDirection: "row", padding: 2, "data-name": "dashboard-configuration-select", style: { borderBottom: '1px solid var(--ab-color-primary)' } },
|
|
76
|
+
React.createElement(Radio_1.default, { marginLeft: 3, value: DashboardConfigView.Toolbars, checked: this.state.DashboardConfigView == DashboardConfigView.Toolbars, onChange: (_, e) => this.onDashboardConfigViewChanged(e) }, "Toolbars"),
|
|
77
|
+
React.createElement(Radio_1.default, { marginLeft: 3, value: DashboardConfigView.Buttons, checked: this.state.DashboardConfigView == DashboardConfigView.Buttons, onChange: (_, e) => this.onDashboardConfigViewChanged(e) }, "Buttons")),
|
|
78
|
+
React.createElement(rebass_1.Box, { className: `${baseClassName}__Module-Selector`, style: { overflow: 'auto', flex: 1 }, padding: 2 },
|
|
79
|
+
this.state.DashboardConfigView == DashboardConfigView.Toolbars && (React.createElement(DashboardManager_1.default, { availableToolbars: [...systemToolbars, ...customToolbars], tabs: tabs, onTabsChange: this.props.onDashboardSetTabs, api: this.props.api })),
|
|
80
|
+
this.state.DashboardConfigView == DashboardConfigView.Buttons && (React.createElement(ModuleValueSelector_1.ModuleValueSelector, { options: allModuleButtons, value: selectedModuleButtons, noSelectionLabel: 'No selected Module Button', xSelectedLabel: () => `Visible Module Buttons:`, onChange: (selectedValues) => this.props.onDashboardSetModuleButtons(selectedValues) }))))));
|
|
65
81
|
}
|
|
66
82
|
onDashboardConfigViewChanged(event) {
|
|
67
83
|
let e = event.target;
|
|
@@ -73,12 +89,18 @@ function mapStateToProps(state, ownProps) {
|
|
|
73
89
|
return {
|
|
74
90
|
DashboardState: state.Dashboard,
|
|
75
91
|
GridState: state.Grid,
|
|
92
|
+
IsCollapsed: state.Dashboard.IsCollapsed,
|
|
93
|
+
IsHidden: state.Dashboard.IsHidden,
|
|
94
|
+
IsFloating: state.Dashboard.IsFloating,
|
|
76
95
|
};
|
|
77
96
|
}
|
|
78
97
|
function mapDispatchToProps(dispatch) {
|
|
79
98
|
return {
|
|
80
99
|
onDashboardSetModuleButtons: (moduleButtons) => dispatch(DashboardRedux.DashboardSetModuleButtons(moduleButtons)),
|
|
81
100
|
onDashboardSetTabs: (Tabs) => dispatch(DashboardRedux.DashboardSetTabs(Tabs)),
|
|
101
|
+
onSetDashboardCollapsed: (isCollapsed) => dispatch(DashboardRedux.DashboardSetIsCollapsed(isCollapsed)),
|
|
102
|
+
onSetDashboardHidden: (isHidden) => dispatch(DashboardRedux.DashboardSetIsHidden(isHidden)),
|
|
103
|
+
onSetDashboardFloating: (isFloating) => dispatch(DashboardRedux.DashboardSetIsFloating(isFloating)),
|
|
82
104
|
};
|
|
83
105
|
}
|
|
84
106
|
exports.DashboardPopup = react_redux_1.connect(mapStateToProps, mapDispatchToProps)(DashboardPopupComponent);
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import { DataChangedInfo } from '../../PredefinedConfig/Common/DataChangedInfo';
|
|
3
3
|
export interface DataChangeHistoryGridProps {
|
|
4
4
|
adaptableContainerId: string;
|
|
5
|
-
|
|
5
|
+
agGridContainerId: string;
|
|
6
6
|
changeHistoryLog: Record<string, DataChangedInfo>;
|
|
7
7
|
onUndoChange: (changeKey: string) => void;
|
|
8
8
|
}
|
|
@@ -9,7 +9,7 @@ const react_1 = require("react");
|
|
|
9
9
|
const usePrevious_1 = tslib_1.__importDefault(require("../../components/utils/usePrevious"));
|
|
10
10
|
const ModuleConstants_1 = require("../../Utilities/Constants/ModuleConstants");
|
|
11
11
|
exports.DataChangeHistoryGrid = (props) => {
|
|
12
|
-
const { changeHistoryLog, adaptableContainerId,
|
|
12
|
+
const { changeHistoryLog, adaptableContainerId, agGridContainerId, onUndoChange } = props;
|
|
13
13
|
const mainAdaptableInstance = AdaptableContext_1.useAdaptable();
|
|
14
14
|
const [_adaptableApi, setAdaptableApi] = react_1.useState(null);
|
|
15
15
|
const adaptableApiRef = react_1.useRef(null);
|
|
@@ -22,7 +22,7 @@ exports.DataChangeHistoryGrid = (props) => {
|
|
|
22
22
|
react_1.useEffect(() => {
|
|
23
23
|
const initializeAdaptableGrid = async () => {
|
|
24
24
|
const gridOptions = buildGridOptions(mainAdaptableInstance, changeHistoryLog);
|
|
25
|
-
const adaptableOptions = buildAdaptableOptions(mainAdaptableInstance, gridOptions, adaptableContainerId,
|
|
25
|
+
const adaptableOptions = buildAdaptableOptions(mainAdaptableInstance, gridOptions, adaptableContainerId, agGridContainerId, undoChangeEnabled, onUndoChange);
|
|
26
26
|
// to avoid direct dependency to Adaptable.ts and thus creating a circular dependency;
|
|
27
27
|
const adaptableInitFn = Object.getPrototypeOf(mainAdaptableInstance).constructor.init;
|
|
28
28
|
const dataChangeHistoryAdaptableApi = await adaptableInitFn(adaptableOptions);
|
|
@@ -64,14 +64,14 @@ exports.DataChangeHistoryGrid = (props) => {
|
|
|
64
64
|
// 2. this UI will be reimplemented with Infinite Table anyway
|
|
65
65
|
const addedRows = mapChangeHistoryRowData(addedChangeHistoryLogs, mainAdaptableInstance);
|
|
66
66
|
const removedRows = mapChangeHistoryRowData(removedChangeHistoryLogs, mainAdaptableInstance);
|
|
67
|
-
adaptableApi.internalApi.getAdaptableOptions().
|
|
67
|
+
adaptableApi.internalApi.getAdaptableOptions().agGridOptions.api.applyTransactionAsync({
|
|
68
68
|
add: addedRows,
|
|
69
69
|
remove: removedRows,
|
|
70
70
|
});
|
|
71
71
|
}, [changeHistoryLog]);
|
|
72
72
|
return React.createElement(React.Fragment, null);
|
|
73
73
|
};
|
|
74
|
-
const buildAdaptableOptions = (mainAdaptableInstance, gridOptions, adaptableContainerId,
|
|
74
|
+
const buildAdaptableOptions = (mainAdaptableInstance, gridOptions, adaptableContainerId, agGridContainerId, undoChangeEnabled, onUndoChange) => {
|
|
75
75
|
var _a, _b;
|
|
76
76
|
const mainAdaptableOptions = mainAdaptableInstance.adaptableOptions;
|
|
77
77
|
const mainAdaptableTheme = mainAdaptableInstance.api.themeApi.getCurrentTheme();
|
|
@@ -81,14 +81,14 @@ const buildAdaptableOptions = (mainAdaptableInstance, gridOptions, adaptableCont
|
|
|
81
81
|
changeKey && onUndoChange(changeKey);
|
|
82
82
|
};
|
|
83
83
|
const options = {
|
|
84
|
-
|
|
84
|
+
agGridOptions: Object.assign(Object.assign({}, gridOptions), { modules: [...all_modules_1.AllCommunityModules] }),
|
|
85
85
|
primaryKey: 'primaryKey',
|
|
86
86
|
licenseKey: mainAdaptableOptions.licenseKey,
|
|
87
87
|
userName: `${mainAdaptableOptions.userName}`,
|
|
88
88
|
adaptableId: `${mainAdaptableOptions.adaptableId}::DataChangeHistory`,
|
|
89
89
|
containerOptions: {
|
|
90
90
|
adaptableContainer: adaptableContainerId,
|
|
91
|
-
|
|
91
|
+
agGridContainer: agGridContainerId,
|
|
92
92
|
},
|
|
93
93
|
entitlementOptions: {
|
|
94
94
|
defaultAccessLevel: 'Hidden',
|
|
@@ -4,7 +4,7 @@ exports.DataChangeHistoryPopup = void 0;
|
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
5
|
const React = tslib_1.__importStar(require("react"));
|
|
6
6
|
const react_redux_1 = require("react-redux");
|
|
7
|
-
const
|
|
7
|
+
const PopupPanel_1 = require("../Components/Popups/AdaptablePopup/PopupPanel");
|
|
8
8
|
const DataChangeHistoryGrid_1 = require("./DataChangeHistoryGrid");
|
|
9
9
|
const SystemRedux_1 = require("../../Redux/ActionsReducers/SystemRedux");
|
|
10
10
|
const rebass_1 = require("rebass");
|
|
@@ -21,8 +21,8 @@ class DataChangeHistoryPopupComponent extends React.Component {
|
|
|
21
21
|
}
|
|
22
22
|
render() {
|
|
23
23
|
const { changeHistoryMode, activationTime, suspensionTime, onChangeHistoryEnable, onChangeHistoryDisable, onChangeHistorySuspend, onChangeHistoryResume, } = this.props;
|
|
24
|
-
const adaptableContainerId = '
|
|
25
|
-
const
|
|
24
|
+
const adaptableContainerId = 'dataChangeHistoryAdaptableContainer';
|
|
25
|
+
const agGridContainerId = 'dataChangeHistoryAgGridContainer';
|
|
26
26
|
const enabled = changeHistoryMode === 'ACTIVE';
|
|
27
27
|
const disabled = changeHistoryMode === 'INACTIVE';
|
|
28
28
|
const suspended = changeHistoryMode === 'SUSPENDED';
|
|
@@ -53,10 +53,10 @@ class DataChangeHistoryPopupComponent extends React.Component {
|
|
|
53
53
|
this.props.api.dataChangeHistoryApi.undoDataChangeHistoryEntry(changeToBeUndone);
|
|
54
54
|
}
|
|
55
55
|
};
|
|
56
|
-
const
|
|
56
|
+
const currentAgGridTheme = this.props.api.internalApi
|
|
57
57
|
.getAdaptableInstance()
|
|
58
|
-
.
|
|
59
|
-
return (React.createElement(
|
|
58
|
+
.getAgGridCurrentThemeName();
|
|
59
|
+
return (React.createElement(PopupPanel_1.PopupPanel, { headerText: this.props.moduleInfo.FriendlyName, glyphicon: this.props.moduleInfo.Glyph, infoLink: this.props.moduleInfo.HelpPage, infoLinkDisabled: !this.props.api.internalApi.isDocumentationLinksDisplayed() },
|
|
60
60
|
React.createElement(rebass_1.Flex, { className: "ab-DataChangeHistoryPopup", flexDirection: "column", style: { height: '100%' } },
|
|
61
61
|
React.createElement(rebass_1.Flex, { style: {
|
|
62
62
|
color: 'var(--ab-dashboard__color)',
|
|
@@ -67,8 +67,8 @@ class DataChangeHistoryPopupComponent extends React.Component {
|
|
|
67
67
|
statusPanel)),
|
|
68
68
|
React.createElement(rebass_1.Flex, { className: "ab-DataChangeHistoryPopup--grid", "data-name": 'data-change-history--grid', flex: 1, alignSelf: 'stretch', flexDirection: 'column' },
|
|
69
69
|
React.createElement("div", { id: adaptableContainerId }),
|
|
70
|
-
React.createElement("div", { id:
|
|
71
|
-
React.createElement(DataChangeHistoryGrid_1.DataChangeHistoryGrid, { adaptableContainerId: adaptableContainerId,
|
|
70
|
+
React.createElement("div", { id: agGridContainerId, className: currentAgGridTheme, style: { height: '100%' } }),
|
|
71
|
+
React.createElement(DataChangeHistoryGrid_1.DataChangeHistoryGrid, { adaptableContainerId: adaptableContainerId, agGridContainerId: agGridContainerId, changeHistoryLog: this.props.changeHistoryLog, onUndoChange: handleChangeUndo })))));
|
|
72
72
|
}
|
|
73
73
|
}
|
|
74
74
|
function mapStateToProps(state, ownProps) {
|
|
@@ -3,15 +3,15 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.DataSourceSettingsSummary = void 0;
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
5
|
const React = tslib_1.__importStar(require("react"));
|
|
6
|
-
const
|
|
6
|
+
const Tag_1 = require("../../../components/Tag");
|
|
7
7
|
const OnePageAdaptableWizard_1 = require("../../Wizard/OnePageAdaptableWizard");
|
|
8
8
|
exports.DataSourceSettingsSummary = () => {
|
|
9
9
|
const { data: dataSource } = OnePageAdaptableWizard_1.useOnePageWizardContext();
|
|
10
10
|
return (React.createElement(React.Fragment, null,
|
|
11
11
|
React.createElement(OnePageAdaptableWizard_1.SummaryText, null,
|
|
12
12
|
"Name: ",
|
|
13
|
-
React.createElement(
|
|
13
|
+
React.createElement(Tag_1.Tag, null, dataSource.Name || 'not specified')),
|
|
14
14
|
React.createElement(OnePageAdaptableWizard_1.SummaryText, null,
|
|
15
15
|
"Name: ",
|
|
16
|
-
React.createElement(
|
|
16
|
+
React.createElement(Tag_1.Tag, null, dataSource.Description || 'not specified'))));
|
|
17
17
|
};
|
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { AdaptableOnePageWizardProps } from '../../../View/Wizard/Interface/IAdaptableWizard';
|
|
3
3
|
import { DataSource } from '../../../types';
|
|
4
|
-
interface DataSourceWizardProps extends AdaptableOnePageWizardProps<DataSource> {
|
|
4
|
+
export interface DataSourceWizardProps extends AdaptableOnePageWizardProps<DataSource> {
|
|
5
5
|
dataSources: DataSource[];
|
|
6
6
|
isNew: boolean;
|
|
7
7
|
}
|
|
8
8
|
export declare const DataSourceWizard: React.FunctionComponent<DataSourceWizardProps>;
|
|
9
|
-
export {};
|
|
@@ -7,9 +7,24 @@ const rebass_1 = require("rebass");
|
|
|
7
7
|
const OnePageAdaptableWizard_1 = require("../../../View/Wizard/OnePageAdaptableWizard");
|
|
8
8
|
const DataSourceSettingsWizard_1 = require("./DataSourceSettingsWizard");
|
|
9
9
|
const DataSourceSettingsSummary_1 = require("./DataSourceSettingsSummary");
|
|
10
|
+
const ObjectFactory_1 = tslib_1.__importDefault(require("../../../Utilities/ObjectFactory"));
|
|
11
|
+
const react_redux_1 = require("react-redux");
|
|
12
|
+
const DataSourceRedux = tslib_1.__importStar(require("../../../Redux/ActionsReducers/DataSourceRedux"));
|
|
10
13
|
exports.DataSourceWizard = (props) => {
|
|
11
|
-
const [dataSource, setDataSource] = React.useState(
|
|
12
|
-
|
|
14
|
+
const [dataSource, setDataSource] = React.useState(() => {
|
|
15
|
+
return props.data ? props.data : ObjectFactory_1.default.CreateEmptyDataSource();
|
|
16
|
+
});
|
|
17
|
+
const dispatch = react_redux_1.useDispatch();
|
|
18
|
+
const handleFinish = () => {
|
|
19
|
+
if (props.data) {
|
|
20
|
+
dispatch(DataSourceRedux.DataSourceEdit(dataSource));
|
|
21
|
+
}
|
|
22
|
+
else {
|
|
23
|
+
dispatch(DataSourceRedux.DataSourceAdd(dataSource));
|
|
24
|
+
}
|
|
25
|
+
props.onFinishWizard(dataSource);
|
|
26
|
+
};
|
|
27
|
+
return (React.createElement(OnePageAdaptableWizard_1.OnePageAdaptableWizard, { defaultCurrentSectionName: props.defaultCurrentSectionName, moduleInfo: props.moduleInfo, data: dataSource, onHide: props.onCloseWizard, onFinish: handleFinish, sections: [
|
|
13
28
|
{
|
|
14
29
|
title: 'Settings',
|
|
15
30
|
isValid: (data) => DataSourceSettingsWizard_1.isSettingsValid(data, props.isNew, props.dataSources),
|
|
@@ -92,12 +92,12 @@ class ExportViewPanelComponent extends React.Component {
|
|
|
92
92
|
}
|
|
93
93
|
};
|
|
94
94
|
const elementType = this.props.viewType === 'Toolbar' ? 'DashboardToolbar' : 'ToolPanel';
|
|
95
|
-
return (React.createElement(rebass_1.Flex, { flexDirection: "row", className: `ab-${elementType}__Export__wrap`, flexWrap: this.props.viewType === 'ToolPanel' ? 'wrap' : 'nowrap' },
|
|
96
|
-
React.createElement(rebass_1.Flex,
|
|
97
|
-
React.createElement(DropdownButton_1.default, { disabled: allReportNames.length == 0, style: {
|
|
98
|
-
React.createElement(rebass_1.Flex,
|
|
99
|
-
React.createElement(DropdownButton_1.default, { disabled: currentReportId === SELECT_REPORT_STRING, style: {
|
|
100
|
-
React.createElement(rebass_1.Flex, { className: join_1.default(accessLevel == 'ReadOnly' ? GeneralConstants.READ_ONLY_STYLE : '', `ab-${elementType}__Export__controls`), style: {
|
|
95
|
+
return (React.createElement(rebass_1.Flex, { style: { gap: 5 }, flexDirection: "row", className: `ab-${elementType}__Export__wrap`, flexWrap: this.props.viewType === 'ToolPanel' ? 'wrap' : 'nowrap' },
|
|
96
|
+
React.createElement(rebass_1.Flex, { flex: 1 },
|
|
97
|
+
React.createElement(DropdownButton_1.default, { disabled: allReportNames.length == 0, style: { width: '100%', fontSize: 'small' }, items: reportItems, columns: ['label'], className: `ab-${elementType}__Export__select`, onClear: () => this.onSelectedReportChanged(null), showClearButton: !!currentReport, variant: "outlined", marginRight: 2 }, currentReportId)),
|
|
98
|
+
React.createElement(rebass_1.Flex, { flex: 1 },
|
|
99
|
+
React.createElement(DropdownButton_1.default, { disabled: currentReportId === SELECT_REPORT_STRING, style: { width: '100%', fontSize: 'small' }, items: destinationItems, columns: ['label'], className: `ab-${elementType}__Export__export`, onClear: () => this.onSelectedDestinationChanged(null), showClearButton: !!currentDestination, variant: "outlined", marginRight: 2 }, currentDestinationId)),
|
|
100
|
+
React.createElement(rebass_1.Flex, { className: join_1.default(accessLevel == 'ReadOnly' ? GeneralConstants.READ_ONLY_STYLE : '', `ab-${elementType}__Export__controls`), style: { width: '100%' } },
|
|
101
101
|
React.createElement(ButtonExport_1.ButtonExport, { onClick: () => onApplyExport(), tooltip: "Export Report", className: `ab-${elementType}__Export__export`, disabled: currentReport == null || currentDestination == null }),
|
|
102
102
|
React.createElement(ButtonEdit_1.ButtonEdit, { onClick: () => this.props.onEditReport(this.props.moduleInfo.Popup), tooltip: "Edit Report", className: `ab-${elementType}__Export__edit`, disabled: currentReport == null || currentReport.ReportColumnScope == 'CustomColumns', accessLevel: accessLevel }),
|
|
103
103
|
React.createElement(ButtonNew_1.ButtonNew, { variant: "text", className: `ab-${elementType}__Export__new`, tone: "neutral", children: null, onClick: () => this.props.onNewReport(this.props.moduleInfo.Popup), tooltip: "Create New Report", accessLevel: accessLevel }),
|