@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
|
@@ -46,25 +46,30 @@ exports.LAYOUT_COLUMN_FILTER_CLEAR_ALL = 'LAYOUT_COLUMN_FILTER_CLEAR_ALL';
|
|
|
46
46
|
*/
|
|
47
47
|
exports.LAYOUT_COLUMN_FILTER_CLEAR = 'LAYOUT_COLUMN_FILTER_CLEAR';
|
|
48
48
|
// Column Filter Methods
|
|
49
|
-
|
|
49
|
+
const LayoutColumnFilterAdd = (columnFilter) => ({
|
|
50
50
|
type: exports.LAYOUT_COLUMN_FILTER_ADD,
|
|
51
51
|
columnFilter,
|
|
52
52
|
});
|
|
53
|
-
exports.
|
|
53
|
+
exports.LayoutColumnFilterAdd = LayoutColumnFilterAdd;
|
|
54
|
+
const LayoutColumnFilterEdit = (columnFilter) => ({
|
|
54
55
|
type: exports.LAYOUT_COLUMN_FILTER_EDIT,
|
|
55
56
|
columnFilter,
|
|
56
57
|
});
|
|
57
|
-
exports.
|
|
58
|
+
exports.LayoutColumnFilterEdit = LayoutColumnFilterEdit;
|
|
59
|
+
const LayoutColumnFilterSet = (columnFilter) => ({
|
|
58
60
|
type: exports.LAYOUT_COLUMN_FILTER_SET,
|
|
59
61
|
columnFilter,
|
|
60
62
|
});
|
|
61
|
-
exports.
|
|
63
|
+
exports.LayoutColumnFilterSet = LayoutColumnFilterSet;
|
|
64
|
+
const LayoutColumnFilterClearAll = () => ({
|
|
62
65
|
type: exports.LAYOUT_COLUMN_FILTER_CLEAR_ALL,
|
|
63
66
|
});
|
|
64
|
-
exports.
|
|
67
|
+
exports.LayoutColumnFilterClearAll = LayoutColumnFilterClearAll;
|
|
68
|
+
const LayoutColumnFilterClear = (columnFilter) => ({
|
|
65
69
|
type: exports.LAYOUT_COLUMN_FILTER_CLEAR,
|
|
66
70
|
columnFilter,
|
|
67
71
|
});
|
|
72
|
+
exports.LayoutColumnFilterClear = LayoutColumnFilterClear;
|
|
68
73
|
/**
|
|
69
74
|
* @ReduxAction A new caption / header has been set for a Column in the Layout
|
|
70
75
|
*/
|
|
@@ -74,51 +79,60 @@ exports.LAYOUT_UPDATE_CURRENT_DRAFT = 'LAYOUT_UPDATE_CURRENT_DRAFT';
|
|
|
74
79
|
* @ReduxAction Layout Module is ready
|
|
75
80
|
*/
|
|
76
81
|
exports.LAYOUT_READY = 'LAYOUT_READY';
|
|
77
|
-
|
|
82
|
+
const LayoutAdd = (layout) => ({
|
|
78
83
|
type: exports.LAYOUT_ADD,
|
|
79
84
|
layout,
|
|
80
85
|
});
|
|
81
|
-
exports.
|
|
86
|
+
exports.LayoutAdd = LayoutAdd;
|
|
87
|
+
const LayoutDelete = (layout) => ({
|
|
82
88
|
type: exports.LAYOUT_DELETE,
|
|
83
89
|
layout,
|
|
84
90
|
});
|
|
85
|
-
exports.
|
|
91
|
+
exports.LayoutDelete = LayoutDelete;
|
|
92
|
+
const LayoutSave = (layout) => ({
|
|
86
93
|
type: exports.LAYOUT_SAVE,
|
|
87
94
|
layout,
|
|
88
95
|
});
|
|
89
|
-
exports.
|
|
96
|
+
exports.LayoutSave = LayoutSave;
|
|
97
|
+
const LayoutSetColumnCaption = (layoutName, columnId, caption) => ({
|
|
90
98
|
type: exports.LAYOUT_SET_COLUMN_CAPTION,
|
|
91
99
|
layoutName,
|
|
92
100
|
columnId,
|
|
93
101
|
caption,
|
|
94
102
|
});
|
|
95
|
-
exports.
|
|
103
|
+
exports.LayoutSetColumnCaption = LayoutSetColumnCaption;
|
|
104
|
+
const LayouRemoveColumn = (layoutName, columnId) => ({
|
|
96
105
|
type: exports.LAYOUT_REMOVE_COLUMN,
|
|
97
106
|
layoutName,
|
|
98
107
|
columnId,
|
|
99
108
|
});
|
|
100
|
-
exports.
|
|
109
|
+
exports.LayouRemoveColumn = LayouRemoveColumn;
|
|
110
|
+
const LayoutSelect = (layoutName) => ({
|
|
101
111
|
type: exports.LAYOUT_SELECT,
|
|
102
112
|
layoutName,
|
|
103
113
|
});
|
|
104
|
-
exports.
|
|
114
|
+
exports.LayoutSelect = LayoutSelect;
|
|
115
|
+
const LayoutUpdateCurrentDraft = (layout) => ({
|
|
105
116
|
type: exports.LAYOUT_UPDATE_CURRENT_DRAFT,
|
|
106
117
|
layout,
|
|
107
118
|
});
|
|
108
|
-
exports.
|
|
119
|
+
exports.LayoutUpdateCurrentDraft = LayoutUpdateCurrentDraft;
|
|
120
|
+
const LayoutReady = (layoutState) => ({
|
|
109
121
|
type: exports.LAYOUT_READY,
|
|
110
122
|
layoutState,
|
|
111
123
|
});
|
|
112
|
-
exports.
|
|
124
|
+
exports.LayoutReady = LayoutReady;
|
|
125
|
+
const getColumnFilterSelector = (state) => {
|
|
113
126
|
var _a, _b, _c, _d;
|
|
114
127
|
const currentLayout = (_c = (_b = (_a = state.Layout) === null || _a === void 0 ? void 0 : _a.Layouts) === null || _b === void 0 ? void 0 : _b.find) === null || _c === void 0 ? void 0 : _c.call(_b, (layout) => layout.Name === state.Layout.CurrentLayout);
|
|
115
128
|
return (_d = currentLayout === null || currentLayout === void 0 ? void 0 : currentLayout.ColumnFilters) !== null && _d !== void 0 ? _d : [];
|
|
116
129
|
};
|
|
130
|
+
exports.getColumnFilterSelector = getColumnFilterSelector;
|
|
117
131
|
const initialState = {
|
|
118
132
|
CurrentLayout: GeneralConstants_1.EMPTY_STRING,
|
|
119
133
|
Layouts: GeneralConstants_1.EMPTY_ARRAY,
|
|
120
134
|
};
|
|
121
|
-
|
|
135
|
+
const LayoutReducer = (state = initialState, action) => {
|
|
122
136
|
var _a, _b, _c, _d;
|
|
123
137
|
let layouts;
|
|
124
138
|
const currentLayout = state.Layouts.find((layout) => layout.Name === state.CurrentLayout);
|
|
@@ -243,3 +257,4 @@ exports.LayoutReducer = (state = initialState, action) => {
|
|
|
243
257
|
return state;
|
|
244
258
|
}
|
|
245
259
|
};
|
|
260
|
+
exports.LayoutReducer = LayoutReducer;
|
|
@@ -177,13 +177,14 @@ exports.SET_GLUE42_RUNNING_ON = 'SET_GLUE42_RUNNING_ON';
|
|
|
177
177
|
* @ReduxAction Glue43 is no longer running
|
|
178
178
|
*/
|
|
179
179
|
exports.SET_GLUE42_RUNNING_OFF = 'SET_GLUE42_RUNNING_OFF';
|
|
180
|
-
|
|
180
|
+
const PluginsSetPluginState = (pluginId, pluginState) => ({
|
|
181
181
|
type: exports.PLUGINS_SET_PLUGIN_STATE,
|
|
182
182
|
pluginId,
|
|
183
183
|
pluginState,
|
|
184
184
|
});
|
|
185
|
+
exports.PluginsSetPluginState = PluginsSetPluginState;
|
|
185
186
|
const initialState = {};
|
|
186
|
-
|
|
187
|
+
const PluginsReducer = (state = initialState, action) => {
|
|
187
188
|
switch (action.type) {
|
|
188
189
|
case exports.PLUGINS_SET_PLUGIN_STATE: {
|
|
189
190
|
return Object.assign(Object.assign({}, state), { [action.pluginId]: action.pluginState });
|
|
@@ -192,3 +193,4 @@ exports.PluginsReducer = (state = initialState, action) => {
|
|
|
192
193
|
return state;
|
|
193
194
|
}
|
|
194
195
|
};
|
|
196
|
+
exports.PluginsReducer = PluginsReducer;
|
|
@@ -33,38 +33,45 @@ exports.PLUS_MINUS_RULE_UNSUSPEND = 'PLUS_MINUS_RULE_UNSUSPEND';
|
|
|
33
33
|
* @ReduxAction PlusMinus Module is ready
|
|
34
34
|
*/
|
|
35
35
|
exports.PLUS_MINUS_READY = 'PLUS_MINUS_READY';
|
|
36
|
-
|
|
36
|
+
const PlusMinusApply = (gridCells) => ({
|
|
37
37
|
type: exports.PLUS_MINUS_APPLY,
|
|
38
38
|
gridCells,
|
|
39
39
|
});
|
|
40
|
-
exports.
|
|
40
|
+
exports.PlusMinusApply = PlusMinusApply;
|
|
41
|
+
const PlusMinusNudgeAdd = (plusMinusNudge) => ({
|
|
41
42
|
type: exports.PLUS_MINUS_RULE_ADD,
|
|
42
43
|
plusMinusNudge: plusMinusNudge,
|
|
43
44
|
});
|
|
44
|
-
exports.
|
|
45
|
+
exports.PlusMinusNudgeAdd = PlusMinusNudgeAdd;
|
|
46
|
+
const PlusMinusNudgeEdit = (plusMinusNudge) => ({
|
|
45
47
|
type: exports.PLUS_MINUS_RULE_EDIT,
|
|
46
48
|
plusMinusNudge: plusMinusNudge,
|
|
47
49
|
});
|
|
48
|
-
exports.
|
|
50
|
+
exports.PlusMinusNudgeEdit = PlusMinusNudgeEdit;
|
|
51
|
+
const PlusMinusNudgeDelete = (plusMinusNudge) => ({
|
|
49
52
|
type: exports.PLUS_MINUS_RULE_DELETE,
|
|
50
53
|
plusMinusNudge: plusMinusNudge,
|
|
51
54
|
});
|
|
52
|
-
exports.
|
|
55
|
+
exports.PlusMinusNudgeDelete = PlusMinusNudgeDelete;
|
|
56
|
+
const PlusMinusNudgeSuspend = (plusMinusNudge) => ({
|
|
53
57
|
type: exports.PLUS_MINUS_RULE_SUSPEND,
|
|
54
58
|
plusMinusNudge: plusMinusNudge,
|
|
55
59
|
});
|
|
56
|
-
exports.
|
|
60
|
+
exports.PlusMinusNudgeSuspend = PlusMinusNudgeSuspend;
|
|
61
|
+
const PlusMinusNudgeUnSuspend = (plusMinusNudge) => ({
|
|
57
62
|
type: exports.PLUS_MINUS_RULE_UNSUSPEND,
|
|
58
63
|
plusMinusNudge: plusMinusNudge,
|
|
59
64
|
});
|
|
60
|
-
exports.
|
|
65
|
+
exports.PlusMinusNudgeUnSuspend = PlusMinusNudgeUnSuspend;
|
|
66
|
+
const PlusMinusReady = (plusMinusState) => ({
|
|
61
67
|
type: exports.PLUS_MINUS_READY,
|
|
62
68
|
plusMinusState,
|
|
63
69
|
});
|
|
70
|
+
exports.PlusMinusReady = PlusMinusReady;
|
|
64
71
|
const initialState = {
|
|
65
72
|
PlusMinusNudges: GeneralConstants_1.EMPTY_ARRAY,
|
|
66
73
|
};
|
|
67
|
-
|
|
74
|
+
const PlusMinusReducer = (state = initialState, action) => {
|
|
68
75
|
let plusMinusNudges;
|
|
69
76
|
switch (action.type) {
|
|
70
77
|
case exports.PLUS_MINUS_APPLY:
|
|
@@ -95,3 +102,4 @@ exports.PlusMinusReducer = (state = initialState, action) => {
|
|
|
95
102
|
return state;
|
|
96
103
|
}
|
|
97
104
|
};
|
|
105
|
+
exports.PlusMinusReducer = PlusMinusReducer;
|
|
@@ -18,84 +18,101 @@ exports.POPUP_SHOW_WINDOW = 'POPUP_SHOW_WINDOW';
|
|
|
18
18
|
exports.POPUP_HIDE_WINDOW = 'POPUP_HIDE_WINDOW';
|
|
19
19
|
exports.POPUP_SHOW_FORM = 'POPUP_SHOW_FORM';
|
|
20
20
|
exports.POPUP_HIDE_FORM = 'POPUP_FORM_HIDE';
|
|
21
|
-
|
|
21
|
+
const PopupShowScreen = (componentModule, componentName, params, popupProps) => ({
|
|
22
22
|
type: exports.POPUP_SHOW_SCREEN,
|
|
23
23
|
ComponentModule: componentModule,
|
|
24
24
|
ComponentName: componentName,
|
|
25
25
|
Params: params,
|
|
26
26
|
PopupProps: popupProps,
|
|
27
27
|
});
|
|
28
|
-
exports.
|
|
28
|
+
exports.PopupShowScreen = PopupShowScreen;
|
|
29
|
+
const PopupHideScreen = () => ({
|
|
29
30
|
type: exports.POPUP_HIDE_SCREEN,
|
|
30
31
|
});
|
|
31
|
-
exports.
|
|
32
|
+
exports.PopupHideScreen = PopupHideScreen;
|
|
33
|
+
const PopupShowWindow = (config) => ({
|
|
32
34
|
type: exports.POPUP_SHOW_WINDOW,
|
|
33
35
|
Id: config.Id,
|
|
34
36
|
Title: config.Title,
|
|
35
37
|
PopupProps: config.PopupProps,
|
|
36
38
|
Icon: config.Icon,
|
|
37
39
|
});
|
|
38
|
-
exports.
|
|
40
|
+
exports.PopupShowWindow = PopupShowWindow;
|
|
41
|
+
const PopupHideWindow = (id) => ({
|
|
39
42
|
type: exports.POPUP_HIDE_WINDOW,
|
|
40
43
|
Id: id,
|
|
41
44
|
});
|
|
42
|
-
exports.
|
|
45
|
+
exports.PopupHideWindow = PopupHideWindow;
|
|
46
|
+
const PopupShowForm = (config) => ({
|
|
43
47
|
type: exports.POPUP_SHOW_FORM,
|
|
44
48
|
Id: config.Id,
|
|
45
49
|
Form: config.Form,
|
|
46
50
|
FormProps: config.FormProps,
|
|
47
51
|
prepareContext: config.prepareContext,
|
|
48
52
|
});
|
|
49
|
-
exports.
|
|
53
|
+
exports.PopupShowForm = PopupShowForm;
|
|
54
|
+
const PopupHideForm = (id) => ({
|
|
50
55
|
type: exports.POPUP_HIDE_FORM,
|
|
51
56
|
Id: id,
|
|
52
57
|
});
|
|
53
|
-
exports.
|
|
58
|
+
exports.PopupHideForm = PopupHideForm;
|
|
59
|
+
const PopupShowAlert = (alert) => {
|
|
54
60
|
return {
|
|
55
61
|
type: exports.POPUP_SHOW_ALERT,
|
|
56
62
|
alert: alert,
|
|
57
63
|
};
|
|
58
64
|
};
|
|
59
|
-
exports.
|
|
65
|
+
exports.PopupShowAlert = PopupShowAlert;
|
|
66
|
+
const PopupHideAlert = () => ({
|
|
60
67
|
type: exports.POPUP_HIDE_ALERT,
|
|
61
68
|
});
|
|
62
|
-
exports.
|
|
69
|
+
exports.PopupHideAlert = PopupHideAlert;
|
|
70
|
+
const PopupShowLoading = () => ({
|
|
63
71
|
type: exports.POPUP_SHOW_LOADING,
|
|
64
72
|
});
|
|
65
|
-
exports.
|
|
73
|
+
exports.PopupShowLoading = PopupShowLoading;
|
|
74
|
+
const PopupHideLoading = () => ({
|
|
66
75
|
type: exports.POPUP_HIDE_LOADING,
|
|
67
76
|
});
|
|
77
|
+
exports.PopupHideLoading = PopupHideLoading;
|
|
68
78
|
//export const PopupShowGridInfo = (): PopupShowGridInfoAction => ({
|
|
69
79
|
// type: POPUP_SHOW_GRID_INFO,
|
|
70
80
|
//});
|
|
71
81
|
//export const PopupHideGridInfo = (): PopupHideGridInfoAction => ({
|
|
72
82
|
// type: POPUP_HIDE_GRID_INFO,
|
|
73
83
|
//});
|
|
74
|
-
|
|
84
|
+
const PopupShowPrompt = (prompt) => ({
|
|
75
85
|
type: exports.POPUP_SHOW_PROMPT,
|
|
76
86
|
prompt: prompt,
|
|
77
87
|
});
|
|
78
|
-
exports.
|
|
88
|
+
exports.PopupShowPrompt = PopupShowPrompt;
|
|
89
|
+
const PopupHidePrompt = () => ({
|
|
79
90
|
type: exports.POPUP_HIDE_PROMPT,
|
|
80
91
|
});
|
|
81
|
-
exports.
|
|
92
|
+
exports.PopupHidePrompt = PopupHidePrompt;
|
|
93
|
+
const PopupConfirmPrompt = (inputText) => ({
|
|
82
94
|
type: exports.POPUP_CONFIRM_PROMPT,
|
|
83
95
|
InputText: inputText,
|
|
84
96
|
});
|
|
85
|
-
exports.
|
|
97
|
+
exports.PopupConfirmPrompt = PopupConfirmPrompt;
|
|
98
|
+
const PopupShowConfirmation = (confirmation) => ({
|
|
86
99
|
type: exports.POPUP_SHOW_CONFIRMATION,
|
|
87
100
|
confirmation: confirmation,
|
|
88
101
|
});
|
|
89
|
-
exports.
|
|
102
|
+
exports.PopupShowConfirmation = PopupShowConfirmation;
|
|
103
|
+
const PopupConfirmConfirmation = (comment) => ({
|
|
90
104
|
type: exports.POPUP_CONFIRM_CONFIRMATION,
|
|
91
105
|
comment,
|
|
92
106
|
});
|
|
93
|
-
exports.
|
|
107
|
+
exports.PopupConfirmConfirmation = PopupConfirmConfirmation;
|
|
108
|
+
const PopupCancelConfirmation = () => ({
|
|
94
109
|
type: exports.POPUP_CANCEL_CONFIRMATION,
|
|
95
110
|
});
|
|
96
|
-
exports.
|
|
111
|
+
exports.PopupCancelConfirmation = PopupCancelConfirmation;
|
|
112
|
+
const PopupClearParam = () => ({
|
|
97
113
|
type: exports.POPUP_CLEAR_PARAM,
|
|
98
114
|
});
|
|
115
|
+
exports.PopupClearParam = PopupClearParam;
|
|
99
116
|
const initialState = {
|
|
100
117
|
ScreenPopup: {
|
|
101
118
|
ShowScreenPopup: false,
|
|
@@ -134,7 +151,7 @@ const initialState = {
|
|
|
134
151
|
FormList: [],
|
|
135
152
|
},
|
|
136
153
|
};
|
|
137
|
-
|
|
154
|
+
const PopupReducer = (state = initialState, action) => {
|
|
138
155
|
switch (action.type) {
|
|
139
156
|
case exports.POPUP_SHOW_SCREEN: {
|
|
140
157
|
let actionTypedShowPopup = action;
|
|
@@ -220,7 +237,7 @@ exports.PopupReducer = (state = initialState, action) => {
|
|
|
220
237
|
CancelAction: null,
|
|
221
238
|
ShowInputBox: false,
|
|
222
239
|
ConfirmationComment: actionTyped.comment,
|
|
223
|
-
MessageType: null,
|
|
240
|
+
MessageType: null, // ???
|
|
224
241
|
};
|
|
225
242
|
return Object.assign({}, state, {
|
|
226
243
|
ConfirmationPopup: newConfirmationPopup,
|
|
@@ -315,3 +332,4 @@ exports.PopupReducer = (state = initialState, action) => {
|
|
|
315
332
|
return state;
|
|
316
333
|
}
|
|
317
334
|
};
|
|
335
|
+
exports.PopupReducer = PopupReducer;
|
|
@@ -24,31 +24,36 @@ exports.QUERY_RUN = 'QUERY_RUN';
|
|
|
24
24
|
* @ReduxAction Query Module is ready
|
|
25
25
|
*/
|
|
26
26
|
exports.QUERY_READY = 'QUERY_READY';
|
|
27
|
-
|
|
27
|
+
const NamedQueryAdd = (namedQuery) => ({
|
|
28
28
|
type: exports.NAMED_QUERY_ADD,
|
|
29
29
|
namedQuery: namedQuery,
|
|
30
30
|
});
|
|
31
|
-
exports.
|
|
31
|
+
exports.NamedQueryAdd = NamedQueryAdd;
|
|
32
|
+
const NamedQueryEdit = (namedQuery) => ({
|
|
32
33
|
type: exports.NAMED_QUERY_EDIT,
|
|
33
34
|
namedQuery: namedQuery,
|
|
34
35
|
});
|
|
35
|
-
exports.
|
|
36
|
+
exports.NamedQueryEdit = NamedQueryEdit;
|
|
37
|
+
const NamedQueryDelete = (namedQuery) => ({
|
|
36
38
|
type: exports.NAMED_QUERY_DELETE,
|
|
37
39
|
namedQuery: namedQuery,
|
|
38
40
|
});
|
|
39
|
-
exports.
|
|
41
|
+
exports.NamedQueryDelete = NamedQueryDelete;
|
|
42
|
+
const QueryRun = (query) => ({
|
|
40
43
|
type: exports.QUERY_RUN,
|
|
41
44
|
query,
|
|
42
45
|
});
|
|
43
|
-
exports.
|
|
46
|
+
exports.QueryRun = QueryRun;
|
|
47
|
+
const QueryReady = (queryState) => ({
|
|
44
48
|
type: exports.QUERY_READY,
|
|
45
49
|
queryState,
|
|
46
50
|
});
|
|
51
|
+
exports.QueryReady = QueryReady;
|
|
47
52
|
const initialState = {
|
|
48
53
|
NamedQueries: GeneralConstants_1.EMPTY_ARRAY,
|
|
49
54
|
CurrentQuery: GeneralConstants_1.EMPTY_STRING,
|
|
50
55
|
};
|
|
51
|
-
|
|
56
|
+
const QueryReducer = (state = initialState, action) => {
|
|
52
57
|
let namedQuerys;
|
|
53
58
|
switch (action.type) {
|
|
54
59
|
case exports.NAMED_QUERY_ADD: {
|
|
@@ -74,3 +79,4 @@ exports.QueryReducer = (state = initialState, action) => {
|
|
|
74
79
|
return state;
|
|
75
80
|
}
|
|
76
81
|
};
|
|
82
|
+
exports.QueryReducer = QueryReducer;
|
|
@@ -14,18 +14,21 @@ exports.QUICK_SEARCH_SET_STYLE = 'QUICK_SEARCH_SET_STYLE';
|
|
|
14
14
|
* @ReduxAction Quick Search Module is ready
|
|
15
15
|
*/
|
|
16
16
|
exports.QUICK_SEARCH_READY = 'QUICK_SEARCH_READY';
|
|
17
|
-
|
|
17
|
+
const QuickSearchRun = (quickSearchText) => ({
|
|
18
18
|
type: exports.QUICK_SEARCH_RUN,
|
|
19
19
|
quickSearchText,
|
|
20
20
|
});
|
|
21
|
-
exports.
|
|
21
|
+
exports.QuickSearchRun = QuickSearchRun;
|
|
22
|
+
const QuickSearchSetStyle = (style) => ({
|
|
22
23
|
type: exports.QUICK_SEARCH_SET_STYLE,
|
|
23
24
|
style,
|
|
24
25
|
});
|
|
25
|
-
exports.
|
|
26
|
+
exports.QuickSearchSetStyle = QuickSearchSetStyle;
|
|
27
|
+
const QuickSearchReady = (quickSearchState) => ({
|
|
26
28
|
type: exports.QUICK_SEARCH_READY,
|
|
27
29
|
quickSearchState,
|
|
28
30
|
});
|
|
31
|
+
exports.QuickSearchReady = QuickSearchReady;
|
|
29
32
|
const initialState = {
|
|
30
33
|
QuickSearchText: GeneralConstants_1.EMPTY_STRING,
|
|
31
34
|
Style: {
|
|
@@ -33,7 +36,7 @@ const initialState = {
|
|
|
33
36
|
ForeColor: GeneralConstants_1.QUICK_SEARCH_DEFAULT_FORE_COLOR,
|
|
34
37
|
},
|
|
35
38
|
};
|
|
36
|
-
|
|
39
|
+
const QuickSearchReducer = (state = initialState, action) => {
|
|
37
40
|
switch (action.type) {
|
|
38
41
|
case exports.QUICK_SEARCH_RUN:
|
|
39
42
|
return Object.assign({}, state, {
|
|
@@ -47,3 +50,4 @@ exports.QuickSearchReducer = (state = initialState, action) => {
|
|
|
47
50
|
return state;
|
|
48
51
|
}
|
|
49
52
|
};
|
|
53
|
+
exports.QuickSearchReducer = QuickSearchReducer;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
3
|
+
exports.IPushPullScheduleAdd = exports.ReminderScheduleUnSuspend = exports.ReminderScheduleSuspend = exports.ReminderScheduleDelete = exports.ReminderScheduleEdit = exports.ReminderScheduleAdd = exports.ReportScheduleUnSuspend = exports.ReportScheduleSuspend = exports.ReportScheduleDelete = exports.ReportScheduleEdit = exports.ReportScheduleAdd = exports.OpenFinScheduleUnSuspend = exports.OpenFinScheduleSuspend = exports.OpenFinScheduleDelete = exports.OpenFinScheduleEdit = exports.OpenFinScheduleAdd = exports.Glue42ScheduleUnSuspend = exports.Glue42ScheduleSuspend = exports.Glue42ScheduleDelete = exports.Glue42ScheduleEdit = exports.Glue42ScheduleAdd = exports.ScheduleReady = exports.ScheduleJobRun = exports.SCHEDULE_READY = exports.OPENFIN_SCHEDULE_UNSUSPEND = exports.OPENFIN_SCHEDULE_SUSPEND = exports.OPENFIN_SCHEDULE_DELETE = exports.OPENFIN_SCHEDULE_EDIT = exports.OPENFIN_SCHEDULE_ADD = exports.GLUE42_SCHEDULE_UNSUSPEND = exports.GLUE42_SCHEDULE_SUSPEND = exports.GLUE42_SCHEDULE_DELETE = exports.GLUE42_SCHEDULE_EDIT = exports.GLUE42_SCHEDULE_ADD = exports.IPUSHPULL_SCHEDULE_UNSUSPEND = exports.IPUSHPULL_SCHEDULE_SUSPEND = exports.IPUSHPULL_SCHEDULE_DELETE = exports.IPUSHPULL_SCHEDULE_EDIT = exports.IPUSHPULL_SCHEDULE_ADD = exports.REMINDER_SCHEDULE_UNSUSPEND = exports.REMINDER_SCHEDULE_SUSPEND = exports.REMINDER_SCHEDULE_DELETE = exports.REMINDER_SCHEDULE_EDIT = exports.REMINDER_SCHEDULE_ADD = exports.REPORT_SCHEDULE_UNSUSPEND = exports.REPORT_SCHEDULE_SUSPEND = exports.REPORT_SCHEDULE_DELETE = exports.REPORT_SCHEDULE_EDIT = exports.REPORT_SCHEDULE_ADD = exports.SCHEDULE_JOB_RUN = void 0;
|
|
4
|
+
exports.ScheduleReducer = exports.IPushPullScheduleUnSuspend = exports.IPushPullScheduleSuspend = exports.IPushPullScheduleDelete = exports.IPushPullScheduleEdit = void 0;
|
|
4
5
|
const tslib_1 = require("tslib");
|
|
5
6
|
const GeneralConstants_1 = require("../../Utilities/Constants/GeneralConstants");
|
|
6
7
|
const AdaptableHelper_1 = tslib_1.__importDefault(require("../../Utilities/Helpers/AdaptableHelper"));
|
|
@@ -113,123 +114,150 @@ exports.OPENFIN_SCHEDULE_UNSUSPEND = 'OPENFIN_SCHEDULE_UNSUSPEND';
|
|
|
113
114
|
* @ReduxAction Schedule Module is ready
|
|
114
115
|
*/
|
|
115
116
|
exports.SCHEDULE_READY = 'SCHEDULE_READY';
|
|
116
|
-
|
|
117
|
+
const ScheduleJobRun = (schedule, scheduleType) => ({
|
|
117
118
|
type: exports.SCHEDULE_JOB_RUN,
|
|
118
119
|
schedule,
|
|
119
120
|
scheduleType,
|
|
120
121
|
});
|
|
121
|
-
exports.
|
|
122
|
+
exports.ScheduleJobRun = ScheduleJobRun;
|
|
123
|
+
const ScheduleReady = (scheduleState) => ({
|
|
122
124
|
type: exports.SCHEDULE_READY,
|
|
123
125
|
scheduleState,
|
|
124
126
|
});
|
|
125
|
-
exports.
|
|
127
|
+
exports.ScheduleReady = ScheduleReady;
|
|
128
|
+
const Glue42ScheduleAdd = (glue42Schedule) => ({
|
|
126
129
|
type: exports.GLUE42_SCHEDULE_ADD,
|
|
127
130
|
glue42Schedule,
|
|
128
131
|
});
|
|
129
|
-
exports.
|
|
132
|
+
exports.Glue42ScheduleAdd = Glue42ScheduleAdd;
|
|
133
|
+
const Glue42ScheduleEdit = (glue42Schedule) => ({
|
|
130
134
|
type: exports.GLUE42_SCHEDULE_EDIT,
|
|
131
135
|
glue42Schedule,
|
|
132
136
|
});
|
|
133
|
-
exports.
|
|
137
|
+
exports.Glue42ScheduleEdit = Glue42ScheduleEdit;
|
|
138
|
+
const Glue42ScheduleDelete = (glue42Schedule) => ({
|
|
134
139
|
type: exports.GLUE42_SCHEDULE_DELETE,
|
|
135
140
|
glue42Schedule,
|
|
136
141
|
});
|
|
137
|
-
exports.
|
|
142
|
+
exports.Glue42ScheduleDelete = Glue42ScheduleDelete;
|
|
143
|
+
const Glue42ScheduleSuspend = (glue42Schedule) => ({
|
|
138
144
|
type: exports.GLUE42_SCHEDULE_SUSPEND,
|
|
139
145
|
glue42Schedule,
|
|
140
146
|
});
|
|
141
|
-
exports.
|
|
147
|
+
exports.Glue42ScheduleSuspend = Glue42ScheduleSuspend;
|
|
148
|
+
const Glue42ScheduleUnSuspend = (glue42Schedule) => ({
|
|
142
149
|
type: exports.GLUE42_SCHEDULE_UNSUSPEND,
|
|
143
150
|
glue42Schedule,
|
|
144
151
|
});
|
|
145
|
-
exports.
|
|
152
|
+
exports.Glue42ScheduleUnSuspend = Glue42ScheduleUnSuspend;
|
|
153
|
+
const OpenFinScheduleAdd = (openFinSchedule) => ({
|
|
146
154
|
type: exports.OPENFIN_SCHEDULE_ADD,
|
|
147
155
|
openFinSchedule,
|
|
148
156
|
});
|
|
149
|
-
exports.
|
|
157
|
+
exports.OpenFinScheduleAdd = OpenFinScheduleAdd;
|
|
158
|
+
const OpenFinScheduleEdit = (openFinSchedule) => ({
|
|
150
159
|
type: exports.OPENFIN_SCHEDULE_EDIT,
|
|
151
160
|
openFinSchedule,
|
|
152
161
|
});
|
|
153
|
-
exports.
|
|
162
|
+
exports.OpenFinScheduleEdit = OpenFinScheduleEdit;
|
|
163
|
+
const OpenFinScheduleDelete = (openFinSchedule) => ({
|
|
154
164
|
type: exports.OPENFIN_SCHEDULE_DELETE,
|
|
155
165
|
openFinSchedule,
|
|
156
166
|
});
|
|
157
|
-
exports.
|
|
167
|
+
exports.OpenFinScheduleDelete = OpenFinScheduleDelete;
|
|
168
|
+
const OpenFinScheduleSuspend = (openFinSchedule) => ({
|
|
158
169
|
type: exports.OPENFIN_SCHEDULE_SUSPEND,
|
|
159
170
|
openFinSchedule,
|
|
160
171
|
});
|
|
161
|
-
exports.
|
|
172
|
+
exports.OpenFinScheduleSuspend = OpenFinScheduleSuspend;
|
|
173
|
+
const OpenFinScheduleUnSuspend = (openFinSchedule) => ({
|
|
162
174
|
type: exports.OPENFIN_SCHEDULE_UNSUSPEND,
|
|
163
175
|
openFinSchedule,
|
|
164
176
|
});
|
|
177
|
+
exports.OpenFinScheduleUnSuspend = OpenFinScheduleUnSuspend;
|
|
165
178
|
// Report
|
|
166
|
-
|
|
179
|
+
const ReportScheduleAdd = (reportSchedule) => ({
|
|
167
180
|
type: exports.REPORT_SCHEDULE_ADD,
|
|
168
181
|
reportSchedule,
|
|
169
182
|
});
|
|
170
|
-
exports.
|
|
183
|
+
exports.ReportScheduleAdd = ReportScheduleAdd;
|
|
184
|
+
const ReportScheduleEdit = (reportSchedule) => ({
|
|
171
185
|
type: exports.REPORT_SCHEDULE_EDIT,
|
|
172
186
|
reportSchedule,
|
|
173
187
|
});
|
|
174
|
-
exports.
|
|
188
|
+
exports.ReportScheduleEdit = ReportScheduleEdit;
|
|
189
|
+
const ReportScheduleDelete = (reportSchedule) => ({
|
|
175
190
|
type: exports.REPORT_SCHEDULE_DELETE,
|
|
176
191
|
reportSchedule,
|
|
177
192
|
});
|
|
178
|
-
exports.
|
|
193
|
+
exports.ReportScheduleDelete = ReportScheduleDelete;
|
|
194
|
+
const ReportScheduleSuspend = (reportSchedule) => ({
|
|
179
195
|
type: exports.REPORT_SCHEDULE_SUSPEND,
|
|
180
196
|
reportSchedule,
|
|
181
197
|
});
|
|
182
|
-
exports.
|
|
198
|
+
exports.ReportScheduleSuspend = ReportScheduleSuspend;
|
|
199
|
+
const ReportScheduleUnSuspend = (reportSchedule) => ({
|
|
183
200
|
type: exports.REPORT_SCHEDULE_UNSUSPEND,
|
|
184
201
|
reportSchedule,
|
|
185
202
|
});
|
|
186
|
-
exports.
|
|
203
|
+
exports.ReportScheduleUnSuspend = ReportScheduleUnSuspend;
|
|
204
|
+
const ReminderScheduleAdd = (reminderSchedule) => ({
|
|
187
205
|
type: exports.REMINDER_SCHEDULE_ADD,
|
|
188
206
|
reminderSchedule,
|
|
189
207
|
});
|
|
190
|
-
exports.
|
|
208
|
+
exports.ReminderScheduleAdd = ReminderScheduleAdd;
|
|
209
|
+
const ReminderScheduleEdit = (reminderSchedule) => ({
|
|
191
210
|
type: exports.REMINDER_SCHEDULE_EDIT,
|
|
192
211
|
reminderSchedule,
|
|
193
212
|
});
|
|
194
|
-
exports.
|
|
213
|
+
exports.ReminderScheduleEdit = ReminderScheduleEdit;
|
|
214
|
+
const ReminderScheduleDelete = (reminderSchedule) => ({
|
|
195
215
|
type: exports.REMINDER_SCHEDULE_DELETE,
|
|
196
216
|
reminderSchedule,
|
|
197
217
|
});
|
|
198
|
-
exports.
|
|
218
|
+
exports.ReminderScheduleDelete = ReminderScheduleDelete;
|
|
219
|
+
const ReminderScheduleSuspend = (reminderSchedule) => ({
|
|
199
220
|
type: exports.REMINDER_SCHEDULE_SUSPEND,
|
|
200
221
|
reminderSchedule,
|
|
201
222
|
});
|
|
202
|
-
exports.
|
|
223
|
+
exports.ReminderScheduleSuspend = ReminderScheduleSuspend;
|
|
224
|
+
const ReminderScheduleUnSuspend = (reminderSchedule) => ({
|
|
203
225
|
type: exports.REMINDER_SCHEDULE_UNSUSPEND,
|
|
204
226
|
reminderSchedule,
|
|
205
227
|
});
|
|
206
|
-
exports.
|
|
228
|
+
exports.ReminderScheduleUnSuspend = ReminderScheduleUnSuspend;
|
|
229
|
+
const IPushPullScheduleAdd = (iPushPullSchedule) => ({
|
|
207
230
|
type: exports.IPUSHPULL_SCHEDULE_ADD,
|
|
208
231
|
iPushPullSchedule,
|
|
209
232
|
});
|
|
210
|
-
exports.
|
|
233
|
+
exports.IPushPullScheduleAdd = IPushPullScheduleAdd;
|
|
234
|
+
const IPushPullScheduleEdit = (iPushPullSchedule) => ({
|
|
211
235
|
type: exports.IPUSHPULL_SCHEDULE_EDIT,
|
|
212
236
|
iPushPullSchedule,
|
|
213
237
|
});
|
|
214
|
-
exports.
|
|
238
|
+
exports.IPushPullScheduleEdit = IPushPullScheduleEdit;
|
|
239
|
+
const IPushPullScheduleDelete = (iPushPullSchedule) => ({
|
|
215
240
|
type: exports.IPUSHPULL_SCHEDULE_DELETE,
|
|
216
241
|
iPushPullSchedule,
|
|
217
242
|
});
|
|
218
|
-
exports.
|
|
243
|
+
exports.IPushPullScheduleDelete = IPushPullScheduleDelete;
|
|
244
|
+
const IPushPullScheduleSuspend = (iPushPullSchedule) => ({
|
|
219
245
|
type: exports.IPUSHPULL_SCHEDULE_SUSPEND,
|
|
220
246
|
iPushPullSchedule,
|
|
221
247
|
});
|
|
222
|
-
exports.
|
|
248
|
+
exports.IPushPullScheduleSuspend = IPushPullScheduleSuspend;
|
|
249
|
+
const IPushPullScheduleUnSuspend = (iPushPullSchedule) => ({
|
|
223
250
|
type: exports.IPUSHPULL_SCHEDULE_UNSUSPEND,
|
|
224
251
|
iPushPullSchedule,
|
|
225
252
|
});
|
|
253
|
+
exports.IPushPullScheduleUnSuspend = IPushPullScheduleUnSuspend;
|
|
226
254
|
const initialState = {
|
|
227
255
|
ReportSchedules: GeneralConstants_1.EMPTY_ARRAY,
|
|
228
256
|
Reminders: GeneralConstants_1.EMPTY_ARRAY,
|
|
229
257
|
IPushPullSchedules: GeneralConstants_1.EMPTY_ARRAY,
|
|
230
258
|
OpenFinSchedules: GeneralConstants_1.EMPTY_ARRAY,
|
|
231
259
|
};
|
|
232
|
-
|
|
260
|
+
const ScheduleReducer = (state = initialState, action) => {
|
|
233
261
|
switch (action.type) {
|
|
234
262
|
case exports.GLUE42_SCHEDULE_ADD: {
|
|
235
263
|
const actionSchedule = action.glue42Schedule;
|
|
@@ -343,3 +371,4 @@ exports.ScheduleReducer = (state = initialState, action) => {
|
|
|
343
371
|
return state;
|
|
344
372
|
}
|
|
345
373
|
};
|
|
374
|
+
exports.ScheduleReducer = ScheduleReducer;
|
|
@@ -29,34 +29,40 @@ exports.SHORTCUT_UNSUSPEND = 'SHORTCUT_UNSUSPEND';
|
|
|
29
29
|
* @ReduxAction Shortcut Module is ready
|
|
30
30
|
*/
|
|
31
31
|
exports.SHORTCUT_READY = 'SHORTCUT_READY';
|
|
32
|
-
|
|
32
|
+
const ShortcutAdd = (shortcut) => ({
|
|
33
33
|
type: exports.SHORTCUT_ADD,
|
|
34
34
|
shortcut,
|
|
35
35
|
});
|
|
36
|
-
exports.
|
|
36
|
+
exports.ShortcutAdd = ShortcutAdd;
|
|
37
|
+
const ShortcutEdit = (shortcut) => ({
|
|
37
38
|
type: exports.SHORTCUT_EDIT,
|
|
38
39
|
shortcut,
|
|
39
40
|
});
|
|
40
|
-
exports.
|
|
41
|
+
exports.ShortcutEdit = ShortcutEdit;
|
|
42
|
+
const ShortcutDelete = (shortcut) => ({
|
|
41
43
|
type: exports.SHORTCUT_DELETE,
|
|
42
44
|
shortcut,
|
|
43
45
|
});
|
|
44
|
-
exports.
|
|
46
|
+
exports.ShortcutDelete = ShortcutDelete;
|
|
47
|
+
const ShortcutSuspend = (shortcut) => ({
|
|
45
48
|
type: exports.SHORTCUT_SUSPEND,
|
|
46
49
|
shortcut,
|
|
47
50
|
});
|
|
48
|
-
exports.
|
|
51
|
+
exports.ShortcutSuspend = ShortcutSuspend;
|
|
52
|
+
const ShortcutUnSuspend = (shortcut) => ({
|
|
49
53
|
type: exports.SHORTCUT_UNSUSPEND,
|
|
50
54
|
shortcut,
|
|
51
55
|
});
|
|
52
|
-
exports.
|
|
56
|
+
exports.ShortcutUnSuspend = ShortcutUnSuspend;
|
|
57
|
+
const ShortcutReady = (shortcutState) => ({
|
|
53
58
|
type: exports.SHORTCUT_READY,
|
|
54
59
|
shortcutState,
|
|
55
60
|
});
|
|
61
|
+
exports.ShortcutReady = ShortcutReady;
|
|
56
62
|
const initialState = {
|
|
57
63
|
Shortcuts: GeneralConstants_1.EMPTY_ARRAY,
|
|
58
64
|
};
|
|
59
|
-
|
|
65
|
+
const ShortcutReducer = (state = initialState, action) => {
|
|
60
66
|
let shortcuts;
|
|
61
67
|
switch (action.type) {
|
|
62
68
|
case exports.SHORTCUT_ADD: {
|
|
@@ -84,3 +90,4 @@ exports.ShortcutReducer = (state = initialState, action) => {
|
|
|
84
90
|
return state;
|
|
85
91
|
}
|
|
86
92
|
};
|
|
93
|
+
exports.ShortcutReducer = ShortcutReducer;
|