@adaptabletools/adaptable 12.0.0-canary.1 → 12.0.0-canary.4
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/base.css +41 -14
- package/bundle.cjs.js +156 -142
- package/index.css +49 -14
- package/package.json +3 -3
- package/publishTimestamp.d.ts +1 -1
- package/publishTimestamp.js +1 -1
- package/src/AdaptableInterfaces/AdaptableNoCodeWizard.d.ts +1 -0
- package/src/AdaptableOptions/ActionOptions.d.ts +181 -1
- package/src/AdaptableOptions/AdaptableOptions.d.ts +5 -0
- package/src/AdaptableOptions/AlertOptions.d.ts +5 -9
- package/src/AdaptableOptions/DashboardOptions.d.ts +1 -5
- package/src/AdaptableOptions/DataChangeHistoryOptions.d.ts +17 -4
- package/src/AdaptableOptions/EditOptions.d.ts +2 -62
- package/src/AdaptableOptions/FinancePluginOptions.d.ts +3 -3
- package/src/AdaptableOptions/GeneralOptions.d.ts +7 -0
- package/src/AdaptableOptions/ToolPanelOptions.d.ts +1 -5
- package/src/AdaptableOptions/UserInterfaceOptions.d.ts +2 -112
- package/src/Api/ActionApi.d.ts +24 -0
- package/src/Api/{Events/RowFormSubmitted.js → ActionApi.js} +0 -0
- package/src/Api/AdaptableApi.d.ts +5 -0
- package/src/Api/AlertApi.d.ts +3 -3
- package/src/Api/ConfigApi.d.ts +1 -1
- package/src/Api/EventApi.d.ts +9 -9
- package/src/Api/Events/ActionRowSubmitted.d.ts +34 -0
- package/src/Api/Events/ActionRowSubmitted.js +2 -0
- package/src/Api/GridApi.d.ts +0 -14
- package/src/Api/Implementation/ActionApiImpl.d.ts +8 -0
- package/src/Api/Implementation/ActionApiImpl.js +56 -0
- package/src/Api/Implementation/AdaptableApiImpl.d.ts +2 -0
- package/src/Api/Implementation/AdaptableApiImpl.js +2 -0
- package/src/Api/Implementation/AlertApiImpl.d.ts +3 -3
- package/src/Api/Implementation/ApiBase.d.ts +2 -1
- package/src/Api/Implementation/ApiBase.js +3 -0
- package/src/Api/Implementation/ColumnApiImpl.js +2 -2
- package/src/Api/Implementation/ConfigApiImpl.d.ts +1 -1
- package/src/Api/Implementation/FormatColumnApiImpl.js +2 -2
- package/src/Api/Implementation/GridApiImpl.d.ts +0 -3
- package/src/Api/Implementation/GridApiImpl.js +0 -44
- package/src/Api/Implementation/InternalApiImpl.d.ts +3 -3
- package/src/Api/Implementation/StatusBarApiImpl.d.ts +4 -3
- package/src/Api/Implementation/StatusBarApiImpl.js +2 -2
- package/src/Api/Implementation/TeamSharingApiImpl.js +2 -1
- package/src/Api/Implementation/UserInterfaceApiImpl.d.ts +1 -2
- package/src/Api/Implementation/UserInterfaceApiImpl.js +0 -4
- package/src/Api/StatusBarApi.d.ts +10 -3
- package/src/Api/UserInterfaceApi.d.ts +1 -5
- package/src/PredefinedConfig/AlertState.d.ts +4 -4
- package/src/PredefinedConfig/Common/AdaptableAlert.js +4 -2
- package/src/PredefinedConfig/Common/AdaptableColumn.js +2 -1
- package/src/PredefinedConfig/Common/AdaptableForm.d.ts +1 -1
- package/src/PredefinedConfig/Common/AdaptableIcon.d.ts +24 -18
- package/src/PredefinedConfig/Common/AdaptablePredicate.d.ts +2 -4
- package/src/PredefinedConfig/Common/AdaptablePredicate.js +33 -31
- package/src/PredefinedConfig/Common/AdaptableQuery.js +2 -1
- package/src/PredefinedConfig/Common/FormContext.d.ts +3 -0
- package/src/PredefinedConfig/Common/Menu.d.ts +3 -3
- package/src/PredefinedConfig/Common/Types.d.ts +1 -1
- package/src/PredefinedConfig/StatusBarState.d.ts +5 -2
- package/src/PredefinedConfig/Uuid.js +2 -1
- package/src/Redux/ActionsReducers/AlertRedux.js +16 -8
- package/src/Redux/ActionsReducers/ApplicationRedux.js +8 -4
- package/src/Redux/ActionsReducers/BulkUpdateRedux.js +6 -3
- package/src/Redux/ActionsReducers/CalculatedColumnRedux.js +10 -5
- package/src/Redux/ActionsReducers/CellSummaryRedux.js +2 -1
- package/src/Redux/ActionsReducers/ConditionalStyleRedux.js +14 -7
- package/src/Redux/ActionsReducers/CustomSortRedux.js +14 -7
- package/src/Redux/ActionsReducers/DashboardRedux.js +24 -12
- package/src/Redux/ActionsReducers/ExportRedux.js +16 -8
- package/src/Redux/ActionsReducers/FlashingCellRedux.js +16 -8
- package/src/Redux/ActionsReducers/FormatColumnRedux.js +14 -7
- package/src/Redux/ActionsReducers/FreeTextColumnRedux.js +14 -7
- package/src/Redux/ActionsReducers/GridRedux.js +38 -19
- package/src/Redux/ActionsReducers/LayoutRedux.js +30 -15
- package/src/Redux/ActionsReducers/PluginsRedux.js +4 -2
- package/src/Redux/ActionsReducers/PlusMinusRedux.js +16 -8
- package/src/Redux/ActionsReducers/PopupRedux.js +37 -19
- package/src/Redux/ActionsReducers/QueryRedux.js +12 -6
- package/src/Redux/ActionsReducers/QuickSearchRedux.js +8 -4
- package/src/Redux/ActionsReducers/ScheduleRedux.js +58 -29
- package/src/Redux/ActionsReducers/ShortcutRedux.js +14 -7
- package/src/Redux/ActionsReducers/SmartEditRedux.js +6 -3
- package/src/Redux/ActionsReducers/StatusBarRedux.js +10 -5
- package/src/Redux/ActionsReducers/SystemRedux.js +103 -51
- package/src/Redux/ActionsReducers/SystemStatusRedux.js +4 -2
- package/src/Redux/ActionsReducers/TeamSharingRedux.js +22 -11
- package/src/Redux/ActionsReducers/ThemeRedux.js +10 -5
- package/src/Redux/ActionsReducers/ToolPanelRedux.js +16 -8
- package/src/Redux/DeadRedux.js +16 -8
- package/src/Redux/Store/AdaptableReduxMerger.js +2 -1
- package/src/Redux/Store/AdaptableStore.js +10 -2
- package/src/Strategy/AlertModule.d.ts +2 -18
- package/src/Strategy/AlertModule.js +2 -1
- package/src/Strategy/ConditionalStyleModule.d.ts +2 -10
- package/src/Strategy/DashboardModule.js +3 -1
- package/src/Strategy/DataChangeHistoryModule.d.ts +2 -8
- package/src/Strategy/DataSetModule.d.ts +2 -13
- package/src/Strategy/ExportModule.d.ts +2 -13
- package/src/Strategy/ExportModule.js +1 -1
- package/src/Strategy/FilterModule.d.ts +2 -14
- package/src/Strategy/FilterModule.js +1 -1
- package/src/Strategy/FlashingCellModule.d.ts +2 -9
- package/src/Strategy/GridInfoModule.js +6 -2
- package/src/Strategy/LayoutModule.d.ts +2 -17
- package/src/Strategy/LayoutModule.js +6 -3
- package/src/Strategy/PlusMinusModule.d.ts +2 -9
- package/src/Strategy/QuickSearchModule.d.ts +2 -7
- package/src/Strategy/ScheduleModule.d.ts +2 -13
- package/src/Strategy/ShortcutModule.d.ts +2 -9
- package/src/Strategy/StatusBarModule.js +2 -2
- package/src/Strategy/SystemStatusModule.d.ts +2 -7
- package/src/Strategy/ThemeModule.d.ts +2 -8
- package/src/Strategy/Utilities/getAlertBehaviourViewItems.js +2 -1
- package/src/Strategy/Utilities/getAlertPreviewViewItems.js +2 -1
- package/src/Strategy/Utilities/getCustomSortColumnViewItems.js +2 -1
- package/src/Strategy/Utilities/getCustomSortSortOrderViewItems.js +2 -1
- package/src/Strategy/Utilities/getExportColumnsViewItems.js +2 -1
- package/src/Strategy/Utilities/getExportRowsViewItems.js +2 -1
- package/src/Strategy/Utilities/getExpressionViewItems.js +2 -1
- package/src/Strategy/Utilities/getFlashingCellDurationViewItems.js +2 -1
- package/src/Strategy/Utilities/getFlashingCellStyleViewItems.d.ts +2 -6
- package/src/Strategy/Utilities/getFlashingCellStyleViewItems.js +2 -1
- package/src/Strategy/Utilities/getFlashingTargetViewItems.js +2 -1
- package/src/Strategy/Utilities/getFormatColumnSettingsViewItems.js +2 -1
- package/src/Strategy/Utilities/getFormatColumnStyleViewItems.js +2 -1
- package/src/Strategy/Utilities/getObjectTagsViewItems.js +2 -1
- package/src/Strategy/Utilities/getRuleViewItems.js +2 -1
- package/src/Strategy/Utilities/getScopeViewItems.js +2 -1
- package/src/Strategy/Utilities/getShortcutSettingsViewItems.js +2 -1
- package/src/Strategy/Utilities/getStyleViewItems.js +2 -1
- package/src/Utilities/Constants/GeneralConstants.js +2 -1
- package/src/Utilities/Defaults/DefaultAdaptableOptions.js +13 -13
- package/src/Utilities/ExpressionFunctions/dateUtils.js +2 -1
- package/src/Utilities/ExpressionFunctions/expressionFunctionUtils.js +20 -10
- package/src/Utilities/Helpers/AdaptableHelper.js +4 -3
- package/src/Utilities/Helpers/DateHelper.js +10 -5
- package/src/Utilities/Helpers/Helper.js +2 -1
- package/src/Utilities/Helpers/LoggingHelper.js +2 -1
- package/src/Utilities/Helpers/StyleHelper.js +8 -4
- package/src/Utilities/MenuItem.d.ts +4 -3
- package/src/Utilities/MenuItem.js +9 -3
- package/src/Utilities/ObjectFactory.js +1 -0
- package/src/Utilities/Services/Interface/IRowEditService.d.ts +3 -3
- package/src/Utilities/Services/ModuleService.js +3 -1
- package/src/Utilities/Services/RowEditService.d.ts +6 -6
- package/src/Utilities/Services/RowEditService.js +24 -25
- package/src/Utilities/isAdaptableObject.js +2 -1
- package/src/Utilities/isMacLike.js +2 -1
- package/src/Utilities/license/decode.js +1 -1
- package/src/Utilities/reorder.js +2 -1
- package/src/Utilities/runIfNotResolvedIn.js +2 -1
- package/src/Utilities/waitForCondition.d.ts +1 -1
- package/src/Utilities/waitForCondition.js +2 -1
- package/src/View/AdaptableContext.js +2 -1
- package/src/View/AdaptableView.js +2 -1
- package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/ColumnsList.d.ts +8 -3
- package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/ColumnsList.js +3 -2
- package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/ConfigurationForm.js +9 -2
- package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/ConfigurationWizard.d.ts +30 -0
- package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/ConfigurationWizard.js +88 -0
- package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/ConfigurationWizardColumnsStep.d.ts +18 -0
- package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/ConfigurationWizardColumnsStep.js +17 -0
- package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/index.d.ts +2 -9
- package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/index.js +2 -75
- package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/useSelection.d.ts +3 -1
- package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/useSelection.js +9 -4
- package/src/View/AdaptableWizardView/Utils.d.ts +1 -0
- package/src/View/AdaptableWizardView/Utils.js +25 -0
- package/src/View/AdaptableWizardView/Wizard.d.ts +54 -0
- package/src/View/AdaptableWizardView/Wizard.js +100 -0
- package/src/View/AdaptableWizardView/helper.js +6 -3
- package/src/View/AdaptableWizardView/index.d.ts +1 -22
- package/src/View/AdaptableWizardView/index.js +2 -103
- package/src/View/Alert/ActiveAlertsPanel.js +2 -1
- package/src/View/Alert/AlertEmptyView.js +2 -1
- package/src/View/Alert/AlertStatusSubPanel.js +2 -1
- package/src/View/Alert/Utilities/getAlertButtonStyle.js +2 -1
- package/src/View/Alert/Wizard/AlertBehaviourWizardSection.js +5 -3
- package/src/View/Alert/Wizard/AlertButtonsEditor.d.ts +3 -3
- package/src/View/Alert/Wizard/AlertButtonsEditor.js +2 -1
- package/src/View/Alert/Wizard/AlertDisplayWizardSection.js +8 -5
- package/src/View/Alert/Wizard/AlertRulesWizardSection.js +4 -2
- package/src/View/Alert/Wizard/AlertScopeWizardSection.js +2 -1
- package/src/View/Alert/Wizard/AlertWizard.js +2 -1
- package/src/View/Alert/Wizard/BaseAlertRulesWizardSection.js +3 -2
- package/src/View/Alert/Wizard/BaseAlertScopeWizardSection.js +6 -4
- package/src/View/Alert/Wizard/isValidAlertRules.js +2 -1
- package/src/View/CalculatedColumn/CalculatedColumnSummary.d.ts +1 -1
- package/src/View/CalculatedColumn/Utilities/getCalculatedColumnSettingTags.js +2 -1
- package/src/View/CalculatedColumn/Wizard/CalculatedColumnExpressionWizardSection.js +7 -4
- package/src/View/CalculatedColumn/Wizard/CalculatedColumnSettingsWizardSection.js +7 -4
- package/src/View/CalculatedColumn/Wizard/CalculatedColumnWizard.js +2 -1
- package/src/View/CellSummary/CellSummaryPopover.js +2 -1
- package/src/View/CellSummary/CellSummaryStatusBarSubPanelPopover.js +2 -1
- package/src/View/CellSummary/CellSummaryStatusPanel.js +2 -1
- package/src/View/ColorPicker.d.ts +5 -1
- package/src/View/Components/AdaptableDateInput/index.d.ts +1 -1
- package/src/View/Components/AdaptableDateInput/index.js +10 -10
- package/src/View/Components/AdaptableInput/index.d.ts +2 -2
- package/src/View/Components/AdaptableObjectList/AdaptableObjectCompactList.js +4 -2
- package/src/View/Components/AdaptableObjectList/AdaptableObjectList.js +4 -2
- package/src/View/Components/Buttons/ButtonClone.js +2 -1
- package/src/View/Components/Buttons/ButtonDelete.d.ts +1 -1
- package/src/View/Components/Buttons/ButtonEdit.js +2 -1
- package/src/View/Components/Buttons/ButtonNew.js +2 -1
- package/src/View/Components/ColumnSelector/index.js +2 -1
- package/src/View/Components/EntityRulesEditor/index.js +6 -3
- package/src/View/Components/ExpressionWizard.js +2 -1
- package/src/View/Components/ExternalRenderer.js +2 -1
- package/src/View/Components/FilterForm/FilterForm.js +2 -1
- package/src/View/Components/FilterForm/ListBoxFilterForm.js +2 -1
- package/src/View/Components/FilterForm/ListBoxMenu.js +2 -2
- package/src/View/Components/FilterForm/QuickFilterForm.js +5 -3
- package/src/View/Components/FilterForm/getDefaultColumnFilterPredicate.d.ts +1 -1
- package/src/View/Components/FilterForm/getDefaultColumnFilterPredicate.js +2 -1
- package/src/View/Components/Forms/AdaptableFormControlTextClear.d.ts +1 -2
- package/src/View/Components/ListBox/DualListBoxEditor.js +2 -1
- package/src/View/Components/ModuleValueSelector/index.js +2 -1
- package/src/View/Components/NewScopeComponent.js +6 -3
- package/src/View/Components/Panels/PanelFooter.js +2 -1
- package/src/View/Components/Panels/PanelWithImage.d.ts +1 -429
- package/src/View/Components/Panels/PanelWithImage.js +2 -0
- package/src/View/Components/Popups/AdaptablePopup/AdaptablePopup.js +2 -1
- package/src/View/Components/Popups/AdaptablePopup/AdaptablePopupBody.js +2 -1
- package/src/View/Components/Popups/AdaptablePopup/AdaptablePopupDialog.js +2 -1
- package/src/View/Components/Popups/AdaptablePopup/AdaptablePopupModuleView.js +2 -1
- package/src/View/Components/Popups/AdaptablePopup/CustomSettingsPanelView.js +2 -1
- package/src/View/Components/Popups/AdaptablePopup/Navigation.js +5 -5
- package/src/View/Components/Popups/AdaptablePopup/PopupContext.js +2 -1
- package/src/View/Components/Popups/AdaptablePopup/PopupPanel.js +2 -1
- package/src/View/Components/Popups/AdaptablePopup/TopBar.js +6 -5
- package/src/View/Components/Popups/AdaptablePopup/useMenuItems.js +2 -1
- package/src/View/Components/Popups/AdaptablePopupAlert.js +4 -4
- package/src/View/Components/Popups/AdaptablePopupPrompt.js +2 -1
- package/src/View/Components/Popups/AdaptablePopupTeamSharing.js +2 -1
- package/src/View/Components/Popups/AdaptableToaster.js +2 -1
- package/src/View/Components/Popups/FormPopups/FormPopups.js +4 -2
- package/src/View/Components/Popups/Utilities.js +8 -4
- package/src/View/Components/Popups/WindowPopups/WindowPopups.js +2 -1
- package/src/View/Components/Selectors/ColumnSelector.js +2 -1
- package/src/View/Components/TagValueSelector/index.js +4 -2
- package/src/View/Components/ToolPanel/AdaptableToolPanel.d.ts +1 -1
- package/src/View/Components/ToolPanel/AdaptableToolPanel.js +5 -1
- package/src/View/Components/ToolPanel/CustomToolPanelContent.js +2 -1
- package/src/View/Components/ToolPanel/ToolPanelPopup.d.ts +1 -1
- package/src/View/Components/ToolPanel/ToolPanelPopup.js +1 -1
- package/src/View/Components/ToolPanel/ToolPanelWrapper.js +2 -1
- package/src/View/Components/WizardSummaryPage.js +2 -1
- package/src/View/ConditionalStyle/Wizard/ConditionalStyleRuleWizardSection.js +1 -1
- package/src/View/ConditionalStyle/Wizard/ConditionalStyleScopeWizardSection.js +3 -2
- package/src/View/ConditionalStyle/Wizard/ConditionalStyleSettingsWizardSettings.js +5 -3
- package/src/View/ConditionalStyle/Wizard/ConditionalStyleStyleWizardSection.js +3 -2
- package/src/View/ConditionalStyle/Wizard/ConditionalStyleWizard.js +2 -1
- package/src/View/CustomSort/Wizard/CustomSortColumnWizardSection.js +8 -5
- package/src/View/CustomSort/Wizard/CustomSortValuesWizardSection.js +7 -4
- package/src/View/CustomSort/Wizard/CustomSortWizard.js +2 -1
- package/src/View/Dashboard/CustomDashboardButton.js +2 -1
- package/src/View/Dashboard/CustomToolbarWrapper.js +2 -1
- package/src/View/Dashboard/Dashboard.d.ts +1 -1
- package/src/View/Dashboard/Dashboard.js +4 -3
- package/src/View/Dashboard/DashboardPopup.js +1 -1
- package/src/View/Dashboard/ModuleToolbarWrapper.js +2 -1
- package/src/View/DataChangeHistory/DataChangeHistoryGrid.d.ts +7 -0
- package/src/View/DataChangeHistory/DataChangeHistoryGrid.js +6 -6
- package/src/View/DataChangeHistory/DataChangeHistoryStatusBarContent.js +2 -1
- package/src/View/DataChangeHistory/DataChangeHistoryViewPanel.js +2 -1
- package/src/View/DataChangeHistory/buildActionColumnButton.d.ts +2 -2
- package/src/View/DataChangeHistory/buildActionColumnButton.js +13 -9
- package/src/View/DataSet/DataSetSelector.js +2 -1
- package/src/View/DataSet/DataSetStatusPanelPopover.js +2 -1
- package/src/View/DataSet/DataSetViewPanel.d.ts +1 -1
- package/src/View/Export/ExportSelector.js +2 -1
- package/src/View/Export/ExportViewPanel.d.ts +1 -1
- package/src/View/Export/ReportExportDropdown.js +2 -1
- package/src/View/Export/Wizard/NewReportWizard.js +4 -2
- package/src/View/Export/Wizard/ReportColumnsWizardSection.js +7 -4
- package/src/View/Export/Wizard/ReportNameWizardSection.js +7 -4
- package/src/View/Export/Wizard/ReportRowsWizardSection.js +7 -4
- package/src/View/Filter/ActiveFiltersPanel.js +2 -1
- package/src/View/Filter/FilterStatusBarSubPanelPopover.js +2 -1
- package/src/View/Filter/FilterSummary.d.ts +1 -1
- package/src/View/Filter/FilterViewPanel.d.ts +1 -1
- package/src/View/FlashingCell/FlashingCellStyle.js +2 -1
- package/src/View/FlashingCell/Wizard/FlashingCellRulesWizardSection.js +6 -4
- package/src/View/FlashingCell/Wizard/FlashingCellScopeWizardSection.js +3 -2
- package/src/View/FlashingCell/Wizard/FlashingCellSettingsWizardSection.js +11 -6
- package/src/View/FlashingCell/Wizard/FlashingCellStyleWizardSection.js +7 -4
- package/src/View/FlashingCell/Wizard/FlashingCellWizard.js +2 -1
- package/src/View/FlashingCell/Wizard/isValidFlashingCellRules.js +2 -1
- package/src/View/FormatColumn/Wizard/FormatColumnFormatWizardSection.js +9 -5
- package/src/View/FormatColumn/Wizard/FormatColumnScopeWizardSection.js +5 -3
- package/src/View/FormatColumn/Wizard/FormatColumnSettingsWizardSection.js +5 -3
- package/src/View/FormatColumn/Wizard/FormatColumnStyleWizardSection.js +5 -3
- package/src/View/FreeTextColumn/Wizard/FreeTextColumnSettingsWizardSection.js +7 -4
- package/src/View/FreeTextColumn/Wizard/FreeTextColumnWizard.js +2 -1
- package/src/View/GridInfo/AdaptableObjectsSummary.js +2 -1
- package/src/View/GridInfo/AdaptableOptionsComponent.js +2 -1
- package/src/View/GridInfo/GridInfoPopup.js +5 -5
- package/src/View/KeyHint.js +2 -1
- package/src/View/Layout/EditCurrentLayoutButton.js +2 -1
- package/src/View/Layout/LayoutCloneButton.js +2 -1
- package/src/View/Layout/LayoutEditorStandalonePopup.js +2 -1
- package/src/View/Layout/LayoutPopup.d.ts +1 -1
- package/src/View/Layout/LayoutRadioSelector.js +2 -1
- package/src/View/Layout/LayoutStatusBarSubPanelPopover.js +2 -1
- package/src/View/Layout/LayoutViewPanel.d.ts +1 -1
- package/src/View/Layout/Wizard/LayoutEditor/ColumnLabels.js +2 -1
- package/src/View/Layout/Wizard/LayoutEditor/ColumnList.js +2 -1
- package/src/View/Layout/Wizard/LayoutEditor/ColumnSortList.js +2 -1
- package/src/View/Layout/Wizard/LayoutEditor/PivotList.js +2 -1
- package/src/View/Layout/Wizard/LayoutEditor/RowGroupsList.js +2 -1
- package/src/View/Layout/Wizard/LayoutEditor/getItemStyle.js +2 -1
- package/src/View/Layout/Wizard/LayoutEditor/reducer.js +4 -2
- package/src/View/Layout/Wizard/LayoutEditor/utils.js +2 -1
- package/src/View/License/LicenseWatermark.js +1 -1
- package/src/View/PlusMinus/Wizard/PlusMinusRuleWizardSection.js +2 -2
- package/src/View/PlusMinus/Wizard/PlusMinusScopeWizardSection.js +3 -2
- package/src/View/PlusMinus/Wizard/PlusMinusSettingsWizardSection.js +8 -5
- package/src/View/PlusMinus/Wizard/PlusMinusWizard.js +2 -1
- package/src/View/Query/EditCurrentQueryButton.js +2 -1
- package/src/View/Query/ExpandedQueryPopup.js +2 -1
- package/src/View/Query/QueryViewPanel.d.ts +1 -1
- package/src/View/Query/Wizard/NamedQueryExpressionWizardSection.js +7 -4
- package/src/View/Query/Wizard/NamedQuerySettingsWizardSection.js +7 -4
- package/src/View/QuickSearch/QuickSearchStatusBarContent.js +2 -1
- package/src/View/QuickSearch/QuickSearchViewPanel.d.ts +1 -1
- package/src/View/QuickSearch/useQuickSearchDebounced.js +2 -1
- package/src/View/Schedule/Wizard/ScheduleScheduleSummary.js +3 -2
- package/src/View/Schedule/Wizard/ScheduleScheduleWizard.js +5 -3
- package/src/View/Schedule/Wizard/ScheduleSettingsWizard/ScheduleSettingsGlue42.js +2 -1
- package/src/View/Schedule/Wizard/ScheduleSettingsWizard/ScheduleSettingsIPushPull.js +2 -1
- package/src/View/Schedule/Wizard/ScheduleSettingsWizard/ScheduleSettingsOpenFin.js +2 -1
- package/src/View/Schedule/Wizard/ScheduleSettingsWizard/ScheduleSettingsReminder.js +2 -1
- package/src/View/Schedule/Wizard/ScheduleSettingsWizard/ScheduleSettingsReport.js +2 -1
- package/src/View/Schedule/Wizard/ScheduleSettingsWizard/ScheduleSettingsSummary.js +5 -3
- package/src/View/Schedule/Wizard/ScheduleSettingsWizard/ScheduleSettingsWizard.js +3 -2
- package/src/View/Schedule/Wizard/ScheduleSettingsWizard/isSettingsValid.js +2 -1
- package/src/View/Schedule/Wizard/ScheduleWizard.js +2 -1
- package/src/View/Shortcut/Wizard/ShortcutScopeWizardSection.js +3 -2
- package/src/View/Shortcut/Wizard/ShortcutSettingsWizard.js +8 -5
- package/src/View/Shortcut/Wizard/ShortcutWizard.js +2 -1
- package/src/View/SpecialColumnSettingsWizardStep.js +2 -1
- package/src/View/StateManagement/StateManagementPopup.js +2 -1
- package/src/View/StateManagement/StateManagementViewPanel.js +2 -1
- package/src/View/StateManagement/components/ClearButton.js +2 -1
- package/src/View/StateManagement/components/ExportDropdown.js +2 -1
- package/src/View/StateManagement/components/LoadButton.js +2 -1
- package/src/View/StateManagement/handleExportState.js +2 -1
- package/src/View/StatusBar/AdaptableStatusBar.js +2 -1
- package/src/View/StatusBar/StatusBarPanel.js +2 -1
- package/src/View/StatusBar/StatusBarPopup.js +5 -4
- package/src/View/SystemStatus/SystemStatusStatusBarContent.js +2 -1
- package/src/View/SystemStatus/SystemStatusViewPanel.d.ts +1 -1
- package/src/View/SystemStatus/Utilities/getStatusItemStyle.js +2 -1
- package/src/View/Theme/ThemeStatusPanelPopover.js +2 -1
- package/src/View/UIHelper.d.ts +2 -0
- package/src/View/UIHelper.js +12 -11
- package/src/View/Wizard/AdaptableWizard.js +2 -1
- package/src/View/Wizard/Interface/IAdaptableWizard.d.ts +2 -2
- package/src/View/Wizard/ObjectTagsWizardSection.js +5 -3
- package/src/View/Wizard/OnePageAdaptableWizard.d.ts +5 -6
- package/src/View/Wizard/OnePageAdaptableWizard.js +45 -174
- package/src/View/Wizard/OnePageWizards.d.ts +37 -0
- package/src/View/Wizard/OnePageWizards.js +191 -0
- package/src/View/Wizard/useKeyboardNavigation.d.ts +1 -1
- package/src/View/Wizard/useKeyboardNavigation.js +2 -1
- package/src/View/renderWithAdaptableContext.js +2 -1
- package/src/agGrid/ActionColumnRenderer.d.ts +1 -1
- package/src/agGrid/ActionColumnRenderer.js +1 -1
- package/src/agGrid/Adaptable.js +28 -26
- package/src/agGrid/CheckboxRenderer.js +2 -1
- package/src/agGrid/FilterWrapper.js +2 -1
- package/src/agGrid/FloatingFilterWrapper.js +2 -1
- package/src/agGrid/PercentBarRenderer.js +2 -1
- package/src/agGrid/agGridHelper.js +3 -1
- package/src/agGrid/agGridMenuHelper.js +13 -10
- package/src/agGrid/createAgStatusPanelComponent.js +2 -1
- package/src/components/AdaptableFormComponent/AdaptableFormComponent.js +8 -5
- package/src/components/AdaptableIconComponent/index.d.ts +10 -0
- package/src/components/AdaptableIconComponent/index.js +40 -0
- package/src/components/CheckBox/index.js +2 -1
- package/src/components/CodeBlock/index.js +2 -1
- package/src/components/Dashboard/DashboardManager.js +1 -1
- package/src/components/Datepicker/Caption.js +1 -1
- package/src/components/Datepicker/DatepickerContext.js +2 -1
- package/src/components/Datepicker/index.d.ts +1 -1
- package/src/components/DragAndDropContext/ModuleManager.d.ts +1 -0
- package/src/components/DragAndDropContext/ModuleManager.js +5 -4
- package/src/components/DragAndDropContext/UnusedPanel.d.ts +3 -2
- package/src/components/DragAndDropContext/UnusedPanel.js +14 -12
- package/src/components/EllipsisContainer/index.js +4 -2
- package/src/components/ExpressionEditor/EditorContext.js +2 -1
- package/src/components/ExpressionEditor/ExpressionFunctionDocumentation.js +2 -1
- package/src/components/ExpressionEditor/NamedQueryContext.js +3 -1
- package/src/components/FileDroppable/index.js +2 -1
- package/src/components/FormLayout/index.js +2 -1
- package/src/components/Input/index.d.ts +1 -1
- package/src/components/List/ListGroupItem/index.d.ts +2 -4
- package/src/components/Loader/Loader.js +4 -2
- package/src/components/Logo/index.js +2 -1
- package/src/components/Modal/Backdrop.js +2 -1
- package/src/components/Modal/index.js +2 -1
- package/src/components/OverlayTrigger/Overlay.js +2 -1
- package/src/components/OverlayTrigger/index.js +2 -1
- package/src/components/OverlayTrigger/utils.js +6 -3
- package/src/components/PopupWithFooter.d.ts +1 -1
- package/src/components/ProgressIndicator/ProgressIndicator.js +2 -1
- package/src/components/Radio/index.js +4 -2
- package/src/components/ResizeObserver/getResizeObserverObject.js +2 -1
- package/src/components/ResizeObserver/index.js +6 -3
- package/src/components/SelectList.js +2 -1
- package/src/components/SelectableList/index.js +2 -1
- package/src/components/SimpleButton/index.d.ts +2 -1
- package/src/components/SimpleButton/index.js +19 -6
- package/src/components/StylePreview.js +2 -1
- package/src/components/Tabs/index.js +6 -3
- package/src/components/Textarea/index.d.ts +5 -1
- package/src/components/ToggleButton/index.js +2 -1
- package/src/components/WindowModal/WindowModal.js +15 -8
- package/src/components/WindowModal/useStacking.js +2 -1
- package/src/components/icons/DefaultIcon.js +2 -1
- package/src/components/icons/index.d.ts +3 -1
- package/src/components/icons/index.js +10 -2
- package/src/components/utils/useContainerScrollObserver/index.js +2 -1
- package/src/components/utils/useGlobalEvent.js +2 -1
- package/src/components/utils/useLatest.js +2 -1
- package/src/components/utils/useRerender.js +2 -1
- package/src/components/utils/uuid.js +2 -1
- package/src/metamodel/adaptable.metamodel.d.ts +208 -90
- package/src/metamodel/adaptable.metamodel.js +263 -156
- package/src/types.d.ts +7 -5
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/src/Api/Events/RowFormSubmitted.d.ts +0 -19
- package/src/components/ApplicationIcon.d.ts +0 -6
- package/src/components/ApplicationIcon.js +0 -13
|
@@ -13,14 +13,17 @@ exports.SMART_EDIT_APPLY = 'SMART_EDIT_APPLY';
|
|
|
13
13
|
* @ReduxAction SmartEdit Module is ready
|
|
14
14
|
*/
|
|
15
15
|
exports.SMART_EDIT_READY = 'SMART_EDIT_READY';
|
|
16
|
-
|
|
16
|
+
const SmartEditRun = (bypassValidationWarnings) => ({
|
|
17
17
|
type: exports.SMART_EDIT_COMPLETE,
|
|
18
18
|
bypassValidationWarnings: bypassValidationWarnings,
|
|
19
19
|
});
|
|
20
|
-
exports.
|
|
20
|
+
exports.SmartEditRun = SmartEditRun;
|
|
21
|
+
const SmartEditApply = (gridCells) => ({
|
|
21
22
|
type: exports.SMART_EDIT_APPLY,
|
|
22
23
|
gridCells,
|
|
23
24
|
});
|
|
24
|
-
exports.
|
|
25
|
+
exports.SmartEditApply = SmartEditApply;
|
|
26
|
+
const SmartEditReady = () => ({
|
|
25
27
|
type: exports.SMART_EDIT_READY,
|
|
26
28
|
});
|
|
29
|
+
exports.SmartEditReady = SmartEditReady;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.StatusBarReducer = exports.ToolPanelReady = exports.getStatusPanelsSelector = exports.initialState = exports.StatusBarSetPanels = exports.STATUS_BAR_READY = exports.SET_STATUS_BAR_PANELS = void 0;
|
|
4
|
+
const GeneralConstants_1 = require("../../Utilities/Constants/GeneralConstants");
|
|
4
5
|
/**
|
|
5
6
|
* @ReduxAction Sets status bar panels
|
|
6
7
|
*/
|
|
@@ -9,19 +10,22 @@ exports.SET_STATUS_BAR_PANELS = 'SET_STATUS_BAR_PANELS';
|
|
|
9
10
|
* @ReduxAction AdapTable Status Bar is ready
|
|
10
11
|
*/
|
|
11
12
|
exports.STATUS_BAR_READY = 'STATUS_BAR_READY';
|
|
12
|
-
|
|
13
|
+
const StatusBarSetPanels = (statusPanels) => ({
|
|
13
14
|
statusPanels: statusPanels,
|
|
14
15
|
type: exports.SET_STATUS_BAR_PANELS,
|
|
15
16
|
});
|
|
17
|
+
exports.StatusBarSetPanels = StatusBarSetPanels;
|
|
16
18
|
exports.initialState = {
|
|
17
|
-
StatusBars:
|
|
19
|
+
StatusBars: GeneralConstants_1.EMPTY_ARRAY,
|
|
18
20
|
};
|
|
19
|
-
|
|
20
|
-
exports.
|
|
21
|
+
const getStatusPanelsSelector = (state) => state.StatusBar.StatusBars;
|
|
22
|
+
exports.getStatusPanelsSelector = getStatusPanelsSelector;
|
|
23
|
+
const ToolPanelReady = (statusBarState) => ({
|
|
21
24
|
type: exports.STATUS_BAR_READY,
|
|
22
25
|
statusBarState,
|
|
23
26
|
});
|
|
24
|
-
exports.
|
|
27
|
+
exports.ToolPanelReady = ToolPanelReady;
|
|
28
|
+
const StatusBarReducer = (state = exports.initialState, action) => {
|
|
25
29
|
switch (action.type) {
|
|
26
30
|
case exports.SET_STATUS_BAR_PANELS:
|
|
27
31
|
const newPanels = action.statusPanels;
|
|
@@ -29,3 +33,4 @@ exports.StatusBarReducer = (state = exports.initialState, action) => {
|
|
|
29
33
|
}
|
|
30
34
|
return state;
|
|
31
35
|
};
|
|
36
|
+
exports.StatusBarReducer = StatusBarReducer;
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
3
|
+
exports.DASHBOARD_REFRESH = exports.SYSTEM_LAYOUT_SHOW_NOT_ASSOCIATED_OBJECTS = exports.SYSTEM_FILTER_FORM_HIDE = exports.SYSTEM_QUICK_FILTER_BAR_HIDE = exports.SYSTEM_QUICK_FILTER_BAR_SHOW = exports.SYSTEM_SETTINGS_PANEL_SET = exports.SYSTEM_DATA_CHANGE_HISTORY_RESUME = exports.SYSTEM_DATA_CHANGE_HISTORY_SUSPEND = exports.SYSTEM_DATA_CHANGE_HISTORY_DISABLE = exports.SYSTEM_DATA_CHANGE_HISTORY_ENABLE = exports.SYSTEM_DATA_CHANGE_HISTORY_UNDO = exports.SYSTEM_DATA_CHANGE_HISTORY_ADD = exports.SYSTEM_LICENSE_DISABLE_PERSISTENCE = exports.SYSTEM_LICENSE_SHOW_WATERMARK = exports.SYSTEM_PROGRESS_INDICATOR_HIDE = exports.SYSTEM_PROGRESS_INDICATOR_SHOW = exports.SYSTEM_CELL_SUMMARY_CHANGE_OPERATION = exports.SYSTEM_CACHED_QUERY_ADD = exports.SYSTEM_SET_LAST_APPLIED_SHORTCUT = exports.SYSTEM_SET_NEW_COLUMN_LIST_ORDER = exports.SYSTEM_HIGHLIGHT_ROW_DELETE_ALL = exports.SYSTEM_HIGHLIGHT_ROWS_DELETE = exports.SYSTEM_HIGHLIGHT_ROW_DELETE = exports.SYSTEM_HIGHLIGHT_ROWS_ADD = exports.SYSTEM_HIGHLIGHT_ROW_ADD = exports.SYSTEM_HIGHLIGHT_CELL_DELETE_ALL = exports.SYSTEM_HIGHLIGHT_CELL_DELETE = exports.SYSTEM_HIGHLIGHT_CELL_ADD = exports.SYSTEM_BULK_UPDATE_CHANGE_VALUE = exports.SYSTEM_BULK_UPDATE_SET_PREVIEW = exports.SYSTEM_BULK_UPDATE_SET_VALID_SELECTION = exports.SYSTEM_BULK_UPDATE_CHECK_CELL_SELECTION = exports.SYSTEM_SMART_EDIT_CHANGE_OPERATION = exports.SYSTEM_SMART_EDIT_CHANGE_VALUE = exports.SYSTEM_SMARTEDIT_SET_PREVIEW = exports.SYSTEM_SMARTEDIT_SET_VALID_SELECTION = exports.SYSTEM_SMARTEDIT_FETCH_PREVIEW = exports.SYSTEM_SMARTEDIT_CHECK_CELL_SELECTION = exports.SYSTEM_STATUS_MESSAGE_INFO_DELETE_ALL = exports.SYSTEM_STATUS_MESSAGE_INFO_DELETE = exports.SYSTEM_STATUS_MESSAGE_INFO_ADD = exports.SYSTEM_FLASHING_CELL_DELETE_ALL = exports.SYSTEM_FLASHING_CELL_DELETE = exports.SYSTEM_FLASHING_CELL_ADD = exports.SYSTEM_ALERT_REMOVE_ROW_HIGHLIGHT = exports.SYSTEM_ALERT_REMOVE_CELL_HIGHLIGHT = exports.SYSTEM_ALERT_DELETE_ALL = exports.SYSTEM_ALERT_DELETE = exports.SYSTEM_ALERT_ADD = exports.FLASHING_CELL_ROW_KEY = void 0;
|
|
4
|
+
exports.SystemDataSetSelect = exports.SystemDashboardRefresh = exports.SystemLayoutShowNotAssociatedObjects = exports.SystemFilterFormHide = exports.SystemQuickFilterBarHide = exports.SystemQuickFilterBarShow = exports.SystemSettingsPanelSet = exports.SystemDataChangeHistoryResume = exports.SystemDataChangeHistorySuspend = exports.SystemDataChangeHistoryDisable = exports.SystemDataChangeHistoryEnable = exports.SystemDataChangeHistoryUndo = exports.SystemDataChangeHistoryAdd = exports.SystemLicenseDisablePersistence = exports.SystemLicenseShowWatermark = exports.SystemProgressIndicatorHide = exports.SystemProgressIndicatorShow = exports.SystemCellSummaryChangeOperation = exports.SystemCachedQueryAdd = exports.SetLastAppliedShortcut = exports.SetNewColumnListOrder = exports.BulkUpdateChangeValue = exports.BulkUpdateSetPreview = exports.BulkUpdateSetValidSelection = exports.BulkUpdateCheckCellSelection = exports.SmartEditSetPreview = exports.SmartEditSetValidSelection = exports.SmartEditCheckCellSelection = exports.SmartEditChangeOperation = exports.SmartEditChangeValue = exports.SystemStatusMessageInfoDeleteAll = exports.SystemStatusMessageInfoDelete = exports.SystemStatusMessageInfoAdd = exports.SystemFlashingCellDeleteAll = exports.SystemFlashingCellDelete = exports.SystemFlashingCellAdd = exports.SystemAlertRemoveRowHighlight = exports.SystemAlertRemoveCellHighlight = exports.SystemAlertDeleteAll = exports.SystemAlertDelete = exports.SystemAlertAdd = exports.SystemHighlightRowDeleteAll = exports.SystemHighlightRowsDelete = exports.SystemHighlightRowDelete = exports.SystemHighlightRowsAdd = exports.SystemHighlightRowAdd = exports.SystemHighlightCellDeleteAll = exports.SystemHighlightCellDelete = exports.SystemHighlightCellAdd = exports.SYSTEM_DATA_SET_SELECT = void 0;
|
|
5
|
+
exports.SystemReducer = void 0;
|
|
4
6
|
const GeneralConstants_1 = require("../../Utilities/Constants/GeneralConstants");
|
|
5
7
|
const Enums_1 = require("../../PredefinedConfig/Common/Enums");
|
|
6
8
|
const Helper_1 = require("../../Utilities/Helpers/Helper");
|
|
@@ -77,191 +79,240 @@ exports.SYSTEM_LAYOUT_SHOW_NOT_ASSOCIATED_OBJECTS = 'SYSTEM_LAYOUT_SHOW_NOT_ASSO
|
|
|
77
79
|
exports.DASHBOARD_REFRESH = 'DASHBOARD_REFRESH';
|
|
78
80
|
// DataSet
|
|
79
81
|
exports.SYSTEM_DATA_SET_SELECT = 'SYSTEM_DATA_SET_SELECT';
|
|
80
|
-
|
|
82
|
+
const SystemHighlightCellAdd = (cellHighlightInfo) => ({
|
|
81
83
|
type: exports.SYSTEM_HIGHLIGHT_CELL_ADD,
|
|
82
84
|
cellHighlightInfo: cellHighlightInfo,
|
|
83
85
|
});
|
|
84
|
-
exports.
|
|
86
|
+
exports.SystemHighlightCellAdd = SystemHighlightCellAdd;
|
|
87
|
+
const SystemHighlightCellDelete = (primaryKeyValue, columnId) => ({
|
|
85
88
|
type: exports.SYSTEM_HIGHLIGHT_CELL_DELETE,
|
|
86
89
|
primaryKeyValue,
|
|
87
90
|
columnId,
|
|
88
91
|
});
|
|
89
|
-
exports.
|
|
92
|
+
exports.SystemHighlightCellDelete = SystemHighlightCellDelete;
|
|
93
|
+
const SystemHighlightCellDeleteAll = () => ({
|
|
90
94
|
type: exports.SYSTEM_HIGHLIGHT_CELL_DELETE_ALL,
|
|
91
95
|
});
|
|
92
|
-
exports.
|
|
96
|
+
exports.SystemHighlightCellDeleteAll = SystemHighlightCellDeleteAll;
|
|
97
|
+
const SystemHighlightRowAdd = (rowHighlightInfo) => ({
|
|
93
98
|
type: exports.SYSTEM_HIGHLIGHT_ROW_ADD,
|
|
94
99
|
rowHighlightInfo: rowHighlightInfo,
|
|
95
100
|
});
|
|
96
|
-
exports.
|
|
101
|
+
exports.SystemHighlightRowAdd = SystemHighlightRowAdd;
|
|
102
|
+
const SystemHighlightRowsAdd = (rowsHighlightInfo) => ({
|
|
97
103
|
type: exports.SYSTEM_HIGHLIGHT_ROWS_ADD,
|
|
98
104
|
rowsHighlightInfo: rowsHighlightInfo,
|
|
99
105
|
});
|
|
100
|
-
exports.
|
|
106
|
+
exports.SystemHighlightRowsAdd = SystemHighlightRowsAdd;
|
|
107
|
+
const SystemHighlightRowDelete = (primaryKeyValue) => ({
|
|
101
108
|
type: exports.SYSTEM_HIGHLIGHT_ROW_DELETE,
|
|
102
109
|
primaryKeyValue: primaryKeyValue,
|
|
103
110
|
});
|
|
104
|
-
exports.
|
|
111
|
+
exports.SystemHighlightRowDelete = SystemHighlightRowDelete;
|
|
112
|
+
const SystemHighlightRowsDelete = (primaryKeyValues) => ({
|
|
105
113
|
type: exports.SYSTEM_HIGHLIGHT_ROWS_DELETE,
|
|
106
114
|
primaryKeyValues: primaryKeyValues,
|
|
107
115
|
});
|
|
108
|
-
exports.
|
|
116
|
+
exports.SystemHighlightRowsDelete = SystemHighlightRowsDelete;
|
|
117
|
+
const SystemHighlightRowDeleteAll = () => ({
|
|
109
118
|
type: exports.SYSTEM_HIGHLIGHT_ROW_DELETE_ALL,
|
|
110
119
|
});
|
|
111
|
-
exports.
|
|
120
|
+
exports.SystemHighlightRowDeleteAll = SystemHighlightRowDeleteAll;
|
|
121
|
+
const SystemAlertAdd = (alert, maxAlerts) => ({
|
|
112
122
|
type: exports.SYSTEM_ALERT_ADD,
|
|
113
123
|
alert: alert,
|
|
114
124
|
maxAlerts: maxAlerts,
|
|
115
125
|
});
|
|
116
|
-
exports.
|
|
126
|
+
exports.SystemAlertAdd = SystemAlertAdd;
|
|
127
|
+
const SystemAlertDelete = (alert) => ({
|
|
117
128
|
type: exports.SYSTEM_ALERT_DELETE,
|
|
118
129
|
alert: alert,
|
|
119
130
|
});
|
|
120
|
-
exports.
|
|
131
|
+
exports.SystemAlertDelete = SystemAlertDelete;
|
|
132
|
+
const SystemAlertDeleteAll = (alerts) => ({
|
|
121
133
|
type: exports.SYSTEM_ALERT_DELETE_ALL,
|
|
122
134
|
alerts: alerts,
|
|
123
135
|
});
|
|
124
|
-
exports.
|
|
136
|
+
exports.SystemAlertDeleteAll = SystemAlertDeleteAll;
|
|
137
|
+
const SystemAlertRemoveCellHighlight = (alert) => ({
|
|
125
138
|
type: exports.SYSTEM_ALERT_REMOVE_CELL_HIGHLIGHT,
|
|
126
139
|
alert: alert,
|
|
127
140
|
});
|
|
128
|
-
exports.
|
|
141
|
+
exports.SystemAlertRemoveCellHighlight = SystemAlertRemoveCellHighlight;
|
|
142
|
+
const SystemAlertRemoveRowHighlight = (alert) => ({
|
|
129
143
|
type: exports.SYSTEM_ALERT_REMOVE_ROW_HIGHLIGHT,
|
|
130
144
|
alert: alert,
|
|
131
145
|
});
|
|
132
|
-
exports.
|
|
146
|
+
exports.SystemAlertRemoveRowHighlight = SystemAlertRemoveRowHighlight;
|
|
147
|
+
const SystemFlashingCellAdd = (flashingCell) => ({
|
|
133
148
|
type: exports.SYSTEM_FLASHING_CELL_ADD,
|
|
134
149
|
flashingCell: flashingCell,
|
|
135
150
|
});
|
|
136
|
-
exports.
|
|
151
|
+
exports.SystemFlashingCellAdd = SystemFlashingCellAdd;
|
|
152
|
+
const SystemFlashingCellDelete = (flashingCell) => ({
|
|
137
153
|
type: exports.SYSTEM_FLASHING_CELL_DELETE,
|
|
138
154
|
flashingCell: flashingCell,
|
|
139
155
|
});
|
|
140
|
-
exports.
|
|
156
|
+
exports.SystemFlashingCellDelete = SystemFlashingCellDelete;
|
|
157
|
+
const SystemFlashingCellDeleteAll = (flashingCells) => ({
|
|
141
158
|
type: exports.SYSTEM_FLASHING_CELL_DELETE_ALL,
|
|
142
159
|
flashingCells: flashingCells,
|
|
143
160
|
});
|
|
144
|
-
exports.
|
|
161
|
+
exports.SystemFlashingCellDeleteAll = SystemFlashingCellDeleteAll;
|
|
162
|
+
const SystemStatusMessageInfoAdd = (SystemStatusMessageInfo, MaxSystemStatusMessagesInStore) => ({
|
|
145
163
|
type: exports.SYSTEM_STATUS_MESSAGE_INFO_ADD,
|
|
146
164
|
systemStatusMessageInfo: SystemStatusMessageInfo,
|
|
147
165
|
maxSystemStatusMessagesInStore: MaxSystemStatusMessagesInStore,
|
|
148
166
|
});
|
|
149
|
-
exports.
|
|
167
|
+
exports.SystemStatusMessageInfoAdd = SystemStatusMessageInfoAdd;
|
|
168
|
+
const SystemStatusMessageInfoDelete = (SystemStatusMessageInfo) => ({
|
|
150
169
|
type: exports.SYSTEM_STATUS_MESSAGE_INFO_DELETE,
|
|
151
170
|
systemStatusMessageInfo: SystemStatusMessageInfo,
|
|
152
171
|
});
|
|
153
|
-
exports.
|
|
172
|
+
exports.SystemStatusMessageInfoDelete = SystemStatusMessageInfoDelete;
|
|
173
|
+
const SystemStatusMessageInfoDeleteAll = () => ({
|
|
154
174
|
type: exports.SYSTEM_STATUS_MESSAGE_INFO_DELETE_ALL,
|
|
155
175
|
});
|
|
156
|
-
exports.
|
|
176
|
+
exports.SystemStatusMessageInfoDeleteAll = SystemStatusMessageInfoDeleteAll;
|
|
177
|
+
const SmartEditChangeValue = (value) => ({
|
|
157
178
|
type: exports.SYSTEM_SMART_EDIT_CHANGE_VALUE,
|
|
158
179
|
value,
|
|
159
180
|
});
|
|
160
|
-
exports.
|
|
181
|
+
exports.SmartEditChangeValue = SmartEditChangeValue;
|
|
182
|
+
const SmartEditChangeOperation = (smartEditOperation) => ({
|
|
161
183
|
type: exports.SYSTEM_SMART_EDIT_CHANGE_OPERATION,
|
|
162
184
|
smartEditOperation,
|
|
163
185
|
});
|
|
164
|
-
exports.
|
|
186
|
+
exports.SmartEditChangeOperation = SmartEditChangeOperation;
|
|
187
|
+
const SmartEditCheckCellSelection = () => ({
|
|
165
188
|
type: exports.SYSTEM_SMARTEDIT_CHECK_CELL_SELECTION,
|
|
166
189
|
});
|
|
167
|
-
exports.
|
|
190
|
+
exports.SmartEditCheckCellSelection = SmartEditCheckCellSelection;
|
|
191
|
+
const SmartEditSetValidSelection = (IsValidSmartEditSelection) => ({
|
|
168
192
|
type: exports.SYSTEM_SMARTEDIT_SET_VALID_SELECTION,
|
|
169
193
|
isValidSmartEditSelection: IsValidSmartEditSelection,
|
|
170
194
|
});
|
|
171
|
-
exports.
|
|
195
|
+
exports.SmartEditSetValidSelection = SmartEditSetValidSelection;
|
|
196
|
+
const SmartEditSetPreview = (SmartEditPreviewInfo) => ({
|
|
172
197
|
type: exports.SYSTEM_SMARTEDIT_SET_PREVIEW,
|
|
173
198
|
smartEditPreviewInfo: SmartEditPreviewInfo,
|
|
174
199
|
});
|
|
175
|
-
exports.
|
|
200
|
+
exports.SmartEditSetPreview = SmartEditSetPreview;
|
|
201
|
+
const BulkUpdateCheckCellSelection = () => ({
|
|
176
202
|
type: exports.SYSTEM_BULK_UPDATE_CHECK_CELL_SELECTION,
|
|
177
203
|
});
|
|
178
|
-
exports.
|
|
204
|
+
exports.BulkUpdateCheckCellSelection = BulkUpdateCheckCellSelection;
|
|
205
|
+
const BulkUpdateSetValidSelection = (bulkUpdateValidationResult) => ({
|
|
179
206
|
type: exports.SYSTEM_BULK_UPDATE_SET_VALID_SELECTION,
|
|
180
207
|
bulkUpdateValidationResult,
|
|
181
208
|
});
|
|
182
|
-
exports.
|
|
209
|
+
exports.BulkUpdateSetValidSelection = BulkUpdateSetValidSelection;
|
|
210
|
+
const BulkUpdateSetPreview = (BulkUpdatePreviewInfo) => ({
|
|
183
211
|
type: exports.SYSTEM_BULK_UPDATE_SET_PREVIEW,
|
|
184
212
|
bulkUpdatePreviewInfo: BulkUpdatePreviewInfo,
|
|
185
213
|
});
|
|
186
|
-
exports.
|
|
214
|
+
exports.BulkUpdateSetPreview = BulkUpdateSetPreview;
|
|
215
|
+
const BulkUpdateChangeValue = (bulkUpdateValue) => ({
|
|
187
216
|
type: exports.SYSTEM_BULK_UPDATE_CHANGE_VALUE,
|
|
188
217
|
bulkUpdateValue,
|
|
189
218
|
});
|
|
190
|
-
exports.
|
|
219
|
+
exports.BulkUpdateChangeValue = BulkUpdateChangeValue;
|
|
220
|
+
const SetNewColumnListOrder = (VisibleColumnList) => ({
|
|
191
221
|
type: exports.SYSTEM_SET_NEW_COLUMN_LIST_ORDER,
|
|
192
222
|
visibleColumnList: VisibleColumnList,
|
|
193
223
|
});
|
|
194
|
-
exports.
|
|
224
|
+
exports.SetNewColumnListOrder = SetNewColumnListOrder;
|
|
225
|
+
const SetLastAppliedShortcut = (gridCell) => ({
|
|
195
226
|
type: exports.SYSTEM_SET_LAST_APPLIED_SHORTCUT,
|
|
196
227
|
gridCell,
|
|
197
228
|
});
|
|
198
|
-
exports.
|
|
229
|
+
exports.SetLastAppliedShortcut = SetLastAppliedShortcut;
|
|
230
|
+
const SystemCachedQueryAdd = (cachedQuery) => ({
|
|
199
231
|
type: exports.SYSTEM_CACHED_QUERY_ADD,
|
|
200
232
|
cachedQuery,
|
|
201
233
|
});
|
|
202
|
-
exports.
|
|
234
|
+
exports.SystemCachedQueryAdd = SystemCachedQueryAdd;
|
|
235
|
+
const SystemCellSummaryChangeOperation = (cellSummaryOperation) => ({
|
|
203
236
|
type: exports.SYSTEM_CELL_SUMMARY_CHANGE_OPERATION,
|
|
204
237
|
cellSummaryOperation: cellSummaryOperation,
|
|
205
238
|
});
|
|
206
|
-
exports.
|
|
239
|
+
exports.SystemCellSummaryChangeOperation = SystemCellSummaryChangeOperation;
|
|
240
|
+
const SystemProgressIndicatorShow = (label) => ({
|
|
207
241
|
type: exports.SYSTEM_PROGRESS_INDICATOR_SHOW,
|
|
208
242
|
label,
|
|
209
243
|
});
|
|
210
|
-
exports.
|
|
244
|
+
exports.SystemProgressIndicatorShow = SystemProgressIndicatorShow;
|
|
245
|
+
const SystemProgressIndicatorHide = () => ({
|
|
211
246
|
type: exports.SYSTEM_PROGRESS_INDICATOR_HIDE,
|
|
212
247
|
});
|
|
213
|
-
exports.
|
|
248
|
+
exports.SystemProgressIndicatorHide = SystemProgressIndicatorHide;
|
|
249
|
+
const SystemLicenseShowWatermark = (text) => ({
|
|
214
250
|
type: exports.SYSTEM_LICENSE_SHOW_WATERMARK,
|
|
215
251
|
text,
|
|
216
252
|
});
|
|
217
|
-
exports.
|
|
253
|
+
exports.SystemLicenseShowWatermark = SystemLicenseShowWatermark;
|
|
254
|
+
const SystemLicenseDisablePersistence = () => ({
|
|
218
255
|
type: exports.SYSTEM_LICENSE_DISABLE_PERSISTENCE,
|
|
219
256
|
});
|
|
220
|
-
exports.
|
|
257
|
+
exports.SystemLicenseDisablePersistence = SystemLicenseDisablePersistence;
|
|
258
|
+
const SystemDataChangeHistoryAdd = (changeInfo) => ({
|
|
221
259
|
type: exports.SYSTEM_DATA_CHANGE_HISTORY_ADD,
|
|
222
260
|
changeInfo,
|
|
223
261
|
});
|
|
224
|
-
exports.
|
|
262
|
+
exports.SystemDataChangeHistoryAdd = SystemDataChangeHistoryAdd;
|
|
263
|
+
const SystemDataChangeHistoryUndo = (changeInfo) => ({
|
|
225
264
|
type: exports.SYSTEM_DATA_CHANGE_HISTORY_UNDO,
|
|
226
265
|
changeInfo,
|
|
227
266
|
});
|
|
228
|
-
exports.
|
|
267
|
+
exports.SystemDataChangeHistoryUndo = SystemDataChangeHistoryUndo;
|
|
268
|
+
const SystemDataChangeHistoryEnable = () => ({
|
|
229
269
|
type: exports.SYSTEM_DATA_CHANGE_HISTORY_ENABLE,
|
|
230
270
|
});
|
|
231
|
-
exports.
|
|
271
|
+
exports.SystemDataChangeHistoryEnable = SystemDataChangeHistoryEnable;
|
|
272
|
+
const SystemDataChangeHistoryDisable = () => ({
|
|
232
273
|
type: exports.SYSTEM_DATA_CHANGE_HISTORY_DISABLE,
|
|
233
274
|
});
|
|
234
|
-
exports.
|
|
275
|
+
exports.SystemDataChangeHistoryDisable = SystemDataChangeHistoryDisable;
|
|
276
|
+
const SystemDataChangeHistorySuspend = () => ({
|
|
235
277
|
type: exports.SYSTEM_DATA_CHANGE_HISTORY_SUSPEND,
|
|
236
278
|
});
|
|
237
|
-
exports.
|
|
279
|
+
exports.SystemDataChangeHistorySuspend = SystemDataChangeHistorySuspend;
|
|
280
|
+
const SystemDataChangeHistoryResume = () => ({
|
|
238
281
|
type: exports.SYSTEM_DATA_CHANGE_HISTORY_RESUME,
|
|
239
282
|
});
|
|
240
|
-
exports.
|
|
283
|
+
exports.SystemDataChangeHistoryResume = SystemDataChangeHistoryResume;
|
|
284
|
+
const SystemSettingsPanelSet = (name, settings) => ({
|
|
241
285
|
type: exports.SYSTEM_SETTINGS_PANEL_SET,
|
|
242
286
|
name,
|
|
243
287
|
settings,
|
|
244
288
|
});
|
|
245
|
-
exports.
|
|
289
|
+
exports.SystemSettingsPanelSet = SystemSettingsPanelSet;
|
|
290
|
+
const SystemQuickFilterBarShow = () => ({
|
|
246
291
|
type: exports.SYSTEM_QUICK_FILTER_BAR_SHOW,
|
|
247
292
|
});
|
|
248
|
-
exports.
|
|
293
|
+
exports.SystemQuickFilterBarShow = SystemQuickFilterBarShow;
|
|
294
|
+
const SystemQuickFilterBarHide = () => ({
|
|
249
295
|
type: exports.SYSTEM_QUICK_FILTER_BAR_HIDE,
|
|
250
296
|
});
|
|
251
|
-
exports.
|
|
297
|
+
exports.SystemQuickFilterBarHide = SystemQuickFilterBarHide;
|
|
298
|
+
const SystemFilterFormHide = () => ({
|
|
252
299
|
type: exports.SYSTEM_FILTER_FORM_HIDE,
|
|
253
300
|
});
|
|
254
|
-
exports.
|
|
301
|
+
exports.SystemFilterFormHide = SystemFilterFormHide;
|
|
302
|
+
const SystemLayoutShowNotAssociatedObjects = (showNotAssociatedObjects) => ({
|
|
255
303
|
type: exports.SYSTEM_LAYOUT_SHOW_NOT_ASSOCIATED_OBJECTS,
|
|
256
304
|
showNotAssociatedObjects,
|
|
257
305
|
});
|
|
258
|
-
exports.
|
|
306
|
+
exports.SystemLayoutShowNotAssociatedObjects = SystemLayoutShowNotAssociatedObjects;
|
|
307
|
+
const SystemDashboardRefresh = () => ({
|
|
259
308
|
type: exports.DASHBOARD_REFRESH,
|
|
260
309
|
});
|
|
261
|
-
exports.
|
|
310
|
+
exports.SystemDashboardRefresh = SystemDashboardRefresh;
|
|
311
|
+
const SystemDataSetSelect = (dataSet) => ({
|
|
262
312
|
type: exports.SYSTEM_DATA_SET_SELECT,
|
|
263
313
|
dataSet: dataSet,
|
|
264
314
|
});
|
|
315
|
+
exports.SystemDataSetSelect = SystemDataSetSelect;
|
|
265
316
|
const initialState = {
|
|
266
317
|
AdaptableAlerts: GeneralConstants_1.EMPTY_ARRAY,
|
|
267
318
|
AdaptableFlashingCells: {},
|
|
@@ -298,7 +349,7 @@ const initialState = {
|
|
|
298
349
|
IsQuickFilterVisible: true,
|
|
299
350
|
CurrentDataSet: GeneralConstants_1.EMPTY_STRING,
|
|
300
351
|
};
|
|
301
|
-
|
|
352
|
+
const SystemReducer = (state = initialState, action) => {
|
|
302
353
|
let alerts;
|
|
303
354
|
let systemStatusMessages;
|
|
304
355
|
switch (action.type) {
|
|
@@ -600,6 +651,7 @@ exports.SystemReducer = (state = initialState, action) => {
|
|
|
600
651
|
return state;
|
|
601
652
|
}
|
|
602
653
|
};
|
|
654
|
+
exports.SystemReducer = SystemReducer;
|
|
603
655
|
const getDataChangeHistoryKey = ({ column: columnId, primaryKeyValue, }) => {
|
|
604
656
|
return JSON.stringify({ columnId, primaryKeyValue });
|
|
605
657
|
};
|
|
@@ -9,10 +9,12 @@ exports.SYSTEM_STATUS_MESSAGE_SET = 'SYSTEM_STATUS_MESSAGE_SET';
|
|
|
9
9
|
* @ReduxAction SystemStatus Module is ready
|
|
10
10
|
*/
|
|
11
11
|
exports.SYSTEM_STATUS_READY = 'SYSTEM_STATUS_READY';
|
|
12
|
-
|
|
12
|
+
const SystemStatusSetMesage = (systemStatusMessageInfo) => ({
|
|
13
13
|
type: exports.SYSTEM_STATUS_MESSAGE_SET,
|
|
14
14
|
systemStatusMessageInfo,
|
|
15
15
|
});
|
|
16
|
-
exports.
|
|
16
|
+
exports.SystemStatusSetMesage = SystemStatusSetMesage;
|
|
17
|
+
const SystemStatusReady = () => ({
|
|
17
18
|
type: exports.SYSTEM_STATUS_READY,
|
|
18
19
|
});
|
|
20
|
+
exports.SystemStatusReady = SystemStatusReady;
|
|
@@ -12,52 +12,62 @@ exports.TEAMSHARING_REMOVE_ITEM = 'TEAMSHARING_REMOVE_ITEM';
|
|
|
12
12
|
exports.TEAMSHARING_LINK_ITEM = 'TEAMSHARING_LINK_ITEM';
|
|
13
13
|
exports.TEAMSHARING_UPDATE_ITEM = 'TEAMSHARING_UPDATE_ITEM';
|
|
14
14
|
exports.TEAMSHARING_CHECK_FOR_UPDATES = 'TEAMSHARING_CHECK_FOR_UPDATES';
|
|
15
|
-
|
|
15
|
+
const TeamSharingShare = (entity, module, configuration) => ({
|
|
16
16
|
type: exports.TEAMSHARING_SHARE,
|
|
17
17
|
Entity: entity,
|
|
18
18
|
Module: module,
|
|
19
19
|
Configuration: configuration,
|
|
20
20
|
});
|
|
21
|
-
exports.
|
|
21
|
+
exports.TeamSharingShare = TeamSharingShare;
|
|
22
|
+
const TeamSharingSet = (Entities) => ({
|
|
22
23
|
type: exports.TEAMSHARING_SET,
|
|
23
24
|
Entities,
|
|
24
25
|
});
|
|
25
|
-
exports.
|
|
26
|
+
exports.TeamSharingSet = TeamSharingSet;
|
|
27
|
+
const TeamSharingImportItem = (SharedEntity) => ({
|
|
26
28
|
type: exports.TEAMSHARING_IMPORT_ITEM,
|
|
27
29
|
SharedEntity,
|
|
28
30
|
});
|
|
29
|
-
exports.
|
|
31
|
+
exports.TeamSharingImportItem = TeamSharingImportItem;
|
|
32
|
+
const TeamSharingProcessImport = (ImportSteps) => ({
|
|
30
33
|
type: exports.TEAMSHARING_PROCESS_IMPORT,
|
|
31
34
|
ImportSteps,
|
|
32
35
|
});
|
|
33
|
-
exports.
|
|
36
|
+
exports.TeamSharingProcessImport = TeamSharingProcessImport;
|
|
37
|
+
const TeamSharingCommitImport = () => ({
|
|
34
38
|
type: exports.TEAMSHARING_COMMIT_IMPORT,
|
|
35
39
|
});
|
|
36
|
-
exports.
|
|
40
|
+
exports.TeamSharingCommitImport = TeamSharingCommitImport;
|
|
41
|
+
const TeamSharingRemoveItem = (Uuid) => ({
|
|
37
42
|
type: exports.TEAMSHARING_REMOVE_ITEM,
|
|
38
43
|
Uuid,
|
|
39
44
|
});
|
|
40
|
-
exports.
|
|
45
|
+
exports.TeamSharingRemoveItem = TeamSharingRemoveItem;
|
|
46
|
+
const TeamSharingGet = () => ({
|
|
41
47
|
type: exports.TEAMSHARING_GET,
|
|
42
48
|
});
|
|
43
|
-
exports.
|
|
49
|
+
exports.TeamSharingGet = TeamSharingGet;
|
|
50
|
+
const TeamSharingLinkItem = (...SharedEntities) => ({
|
|
44
51
|
type: exports.TEAMSHARING_LINK_ITEM,
|
|
45
52
|
SharedEntities,
|
|
46
53
|
});
|
|
47
|
-
exports.
|
|
54
|
+
exports.TeamSharingLinkItem = TeamSharingLinkItem;
|
|
55
|
+
const TeamSharingUpdateItem = (ChangedAdaptableObject, UserName) => ({
|
|
48
56
|
type: exports.TEAMSHARING_UPDATE_ITEM,
|
|
49
57
|
ChangedAdaptableObject,
|
|
50
58
|
UserName,
|
|
51
59
|
});
|
|
52
|
-
exports.
|
|
60
|
+
exports.TeamSharingUpdateItem = TeamSharingUpdateItem;
|
|
61
|
+
const TeamSharingCheckForUpdates = () => ({
|
|
53
62
|
type: exports.TEAMSHARING_CHECK_FOR_UPDATES,
|
|
54
63
|
});
|
|
64
|
+
exports.TeamSharingCheckForUpdates = TeamSharingCheckForUpdates;
|
|
55
65
|
const initialTeamSharingState = {
|
|
56
66
|
SharedEntities: GeneralConstants_1.EMPTY_ARRAY,
|
|
57
67
|
ActiveSharedEntityMap: {},
|
|
58
68
|
importProcessInProgress: false,
|
|
59
69
|
};
|
|
60
|
-
|
|
70
|
+
const TeamSharingReducer = (state = initialTeamSharingState, action) => {
|
|
61
71
|
switch (action.type) {
|
|
62
72
|
case exports.TEAMSHARING_SET: {
|
|
63
73
|
const actionTyped = action;
|
|
@@ -98,3 +108,4 @@ exports.TeamSharingReducer = (state = initialTeamSharingState, action) => {
|
|
|
98
108
|
return state;
|
|
99
109
|
}
|
|
100
110
|
};
|
|
111
|
+
exports.TeamSharingReducer = TeamSharingReducer;
|
|
@@ -18,28 +18,32 @@ exports.THEME_SELECT = 'THEME_SELECT';
|
|
|
18
18
|
* @ReduxAction Theme Module is ready
|
|
19
19
|
*/
|
|
20
20
|
exports.THEME_READY = 'THEME_READY';
|
|
21
|
-
|
|
21
|
+
const ThemeSetSystemThemes = (SystemThemes) => ({
|
|
22
22
|
type: exports.THEME_SET_SYSTEM_THEMES,
|
|
23
23
|
SystemThemes,
|
|
24
24
|
});
|
|
25
|
-
exports.
|
|
25
|
+
exports.ThemeSetSystemThemes = ThemeSetSystemThemes;
|
|
26
|
+
const ThemeSetUserThemes = (UserThemes) => ({
|
|
26
27
|
type: exports.THEME_SET_USER_THEMES,
|
|
27
28
|
UserThemes,
|
|
28
29
|
});
|
|
29
|
-
exports.
|
|
30
|
+
exports.ThemeSetUserThemes = ThemeSetUserThemes;
|
|
31
|
+
const ThemeSelect = (Theme) => ({
|
|
30
32
|
type: exports.THEME_SELECT,
|
|
31
33
|
Theme,
|
|
32
34
|
});
|
|
33
|
-
exports.
|
|
35
|
+
exports.ThemeSelect = ThemeSelect;
|
|
36
|
+
const ThemeReady = (themeState) => ({
|
|
34
37
|
type: exports.THEME_READY,
|
|
35
38
|
themeState,
|
|
36
39
|
});
|
|
40
|
+
exports.ThemeReady = ThemeReady;
|
|
37
41
|
const initialState = {
|
|
38
42
|
CurrentTheme: GeneralConstants_1.THEME_DEFAULT_CURRENT_THEME,
|
|
39
43
|
SystemThemes: GeneralConstants_1.SYSTEM_THEMES,
|
|
40
44
|
UserThemes: GeneralConstants_1.EMPTY_ARRAY,
|
|
41
45
|
};
|
|
42
|
-
|
|
46
|
+
const ThemeReducer = (state = initialState, action) => {
|
|
43
47
|
switch (action.type) {
|
|
44
48
|
case exports.THEME_SET_SYSTEM_THEMES:
|
|
45
49
|
return Object.assign({}, state, {
|
|
@@ -57,3 +61,4 @@ exports.ThemeReducer = (state = initialState, action) => {
|
|
|
57
61
|
return state;
|
|
58
62
|
}
|
|
59
63
|
};
|
|
64
|
+
exports.ThemeReducer = ThemeReducer;
|
|
@@ -29,40 +29,47 @@ exports.TOOLPANEL_SET_MODULE_BUTTONS = 'TOOLPANEL_SET_MODULE_BUTTONS';
|
|
|
29
29
|
* @ReduxAction AdapTable ToolPanel Component is ready
|
|
30
30
|
*/
|
|
31
31
|
exports.TOOLPANEL_READY = 'TOOLPANEL_READY';
|
|
32
|
-
|
|
32
|
+
const ToolPanelSetToolPanels = (toolPanels) => ({
|
|
33
33
|
type: exports.TOOLPANEL_SET_TOOLPANELS,
|
|
34
34
|
toolPanels,
|
|
35
35
|
});
|
|
36
|
-
exports.
|
|
36
|
+
exports.ToolPanelSetToolPanels = ToolPanelSetToolPanels;
|
|
37
|
+
const ToolPanelShowToolPanel = (toolPanel) => ({
|
|
37
38
|
type: exports.TOOLPANEL_SHOW_TOOLPANEL,
|
|
38
39
|
toolPanel,
|
|
39
40
|
});
|
|
40
|
-
exports.
|
|
41
|
+
exports.ToolPanelShowToolPanel = ToolPanelShowToolPanel;
|
|
42
|
+
const ToolPanelHideToolPanel = (toolPanel) => ({
|
|
41
43
|
type: exports.TOOLPANEL_HIDE_TOOLPANEL,
|
|
42
44
|
toolPanel,
|
|
43
45
|
});
|
|
44
|
-
exports.
|
|
46
|
+
exports.ToolPanelHideToolPanel = ToolPanelHideToolPanel;
|
|
47
|
+
const ToolPanelExpandToolPanel = (toolPanel) => ({
|
|
45
48
|
type: exports.TOOLPANEL_EXPAND_TOOLPANEL,
|
|
46
49
|
toolPanel,
|
|
47
50
|
});
|
|
48
|
-
exports.
|
|
51
|
+
exports.ToolPanelExpandToolPanel = ToolPanelExpandToolPanel;
|
|
52
|
+
const ToolPanelCollapseToolPanel = (toolPanel) => ({
|
|
49
53
|
type: exports.TOOLPANEL_COLLAPSE_TOOLPANEL,
|
|
50
54
|
toolPanel,
|
|
51
55
|
});
|
|
52
|
-
exports.
|
|
56
|
+
exports.ToolPanelCollapseToolPanel = ToolPanelCollapseToolPanel;
|
|
57
|
+
const ToolPanelSetModuleButtons = (moduleButtons) => ({
|
|
53
58
|
type: exports.TOOLPANEL_SET_MODULE_BUTTONS,
|
|
54
59
|
moduleButtons: moduleButtons,
|
|
55
60
|
});
|
|
56
|
-
exports.
|
|
61
|
+
exports.ToolPanelSetModuleButtons = ToolPanelSetModuleButtons;
|
|
62
|
+
const ToolPanelReady = (toolPanelState) => ({
|
|
57
63
|
type: exports.TOOLPANEL_READY,
|
|
58
64
|
toolPanelState,
|
|
59
65
|
});
|
|
66
|
+
exports.ToolPanelReady = ToolPanelReady;
|
|
60
67
|
const initialState = {
|
|
61
68
|
// default ToolPanels are set in ToolPanelModule.updateOldConfig() because we have to evaluate the ToolPanelOptions (for CustomToolPanel)
|
|
62
69
|
ToolPanels: undefined,
|
|
63
70
|
ModuleButtons: ['SettingsPanel'],
|
|
64
71
|
};
|
|
65
|
-
|
|
72
|
+
const ToolPanelReducer = (state = initialState, action) => {
|
|
66
73
|
var _a, _b, _c, _d;
|
|
67
74
|
const setToolPanels = (state, toolPanels = []) => {
|
|
68
75
|
return Object.assign(Object.assign({}, state), { ToolPanels: [...toolPanels] });
|
|
@@ -108,3 +115,4 @@ exports.ToolPanelReducer = (state = initialState, action) => {
|
|
|
108
115
|
return state;
|
|
109
116
|
}
|
|
110
117
|
};
|
|
118
|
+
exports.ToolPanelReducer = ToolPanelReducer;
|
package/src/Redux/DeadRedux.js
CHANGED
|
@@ -3,10 +3,11 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.UpdatedRowReducer = exports.UpdatedRowClear = exports.UPDATED_ROW_CLEAR = exports.FlashingCellReducer = exports.FlashingCellClear = exports.FLASHING_CELL_CLEAR = exports.PercentBarReducer = exports.PercentBarClear = exports.PERCENT_BAR_CLEAR = exports.GradientColumnReducer = exports.GradientColumnClear = exports.GRADIENT_COLUMN_CLEAR = void 0;
|
|
4
4
|
const initialGradientColumnState = {};
|
|
5
5
|
exports.GRADIENT_COLUMN_CLEAR = 'GRADIENT_COLUMN_CLEAR';
|
|
6
|
-
|
|
6
|
+
const GradientColumnClear = () => ({
|
|
7
7
|
type: exports.GRADIENT_COLUMN_CLEAR,
|
|
8
8
|
});
|
|
9
|
-
exports.
|
|
9
|
+
exports.GradientColumnClear = GradientColumnClear;
|
|
10
|
+
const GradientColumnReducer = (state = initialGradientColumnState, action) => {
|
|
10
11
|
switch (action.type) {
|
|
11
12
|
case exports.GRADIENT_COLUMN_CLEAR: {
|
|
12
13
|
return Object.assign({}, initialGradientColumnState);
|
|
@@ -15,12 +16,14 @@ exports.GradientColumnReducer = (state = initialGradientColumnState, action) =>
|
|
|
15
16
|
return state;
|
|
16
17
|
}
|
|
17
18
|
};
|
|
19
|
+
exports.GradientColumnReducer = GradientColumnReducer;
|
|
18
20
|
const initialPercentBarState = {};
|
|
19
21
|
exports.PERCENT_BAR_CLEAR = 'PERCENT_BAR_CLEAR';
|
|
20
|
-
|
|
22
|
+
const PercentBarClear = () => ({
|
|
21
23
|
type: exports.PERCENT_BAR_CLEAR,
|
|
22
24
|
});
|
|
23
|
-
exports.
|
|
25
|
+
exports.PercentBarClear = PercentBarClear;
|
|
26
|
+
const PercentBarReducer = (state = initialPercentBarState, action) => {
|
|
24
27
|
switch (action.type) {
|
|
25
28
|
case exports.PERCENT_BAR_CLEAR: {
|
|
26
29
|
return Object.assign({}, initialPercentBarState);
|
|
@@ -29,12 +32,14 @@ exports.PercentBarReducer = (state = initialPercentBarState, action) => {
|
|
|
29
32
|
return state;
|
|
30
33
|
}
|
|
31
34
|
};
|
|
35
|
+
exports.PercentBarReducer = PercentBarReducer;
|
|
32
36
|
const initialFlashingCellState = {};
|
|
33
37
|
exports.FLASHING_CELL_CLEAR = 'FLASHING_CELL_CLEAR';
|
|
34
|
-
|
|
38
|
+
const FlashingCellClear = () => ({
|
|
35
39
|
type: exports.FLASHING_CELL_CLEAR,
|
|
36
40
|
});
|
|
37
|
-
exports.
|
|
41
|
+
exports.FlashingCellClear = FlashingCellClear;
|
|
42
|
+
const FlashingCellReducer = (state = initialFlashingCellState, action) => {
|
|
38
43
|
switch (action.type) {
|
|
39
44
|
case exports.FLASHING_CELL_CLEAR: {
|
|
40
45
|
return Object.assign({}, initialFlashingCellState);
|
|
@@ -43,12 +48,14 @@ exports.FlashingCellReducer = (state = initialFlashingCellState, action) => {
|
|
|
43
48
|
return state;
|
|
44
49
|
}
|
|
45
50
|
};
|
|
51
|
+
exports.FlashingCellReducer = FlashingCellReducer;
|
|
46
52
|
const initialUpdatedRowState = {};
|
|
47
53
|
exports.UPDATED_ROW_CLEAR = 'UPDATED_ROW_CLEAR';
|
|
48
|
-
|
|
54
|
+
const UpdatedRowClear = () => ({
|
|
49
55
|
type: exports.UPDATED_ROW_CLEAR,
|
|
50
56
|
});
|
|
51
|
-
exports.
|
|
57
|
+
exports.UpdatedRowClear = UpdatedRowClear;
|
|
58
|
+
const UpdatedRowReducer = (state = initialUpdatedRowState, action) => {
|
|
52
59
|
switch (action.type) {
|
|
53
60
|
case exports.UPDATED_ROW_CLEAR: {
|
|
54
61
|
return Object.assign({}, initialUpdatedRowState);
|
|
@@ -57,3 +64,4 @@ exports.UpdatedRowReducer = (state = initialUpdatedRowState, action) => {
|
|
|
57
64
|
return state;
|
|
58
65
|
}
|
|
59
66
|
};
|
|
67
|
+
exports.UpdatedRowReducer = UpdatedRowReducer;
|