@adaptabletools/adaptable 12.0.0-canary.3 → 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 +26 -0
- package/bundle.cjs.js +127 -127
- package/index.css +34 -0
- package/package.json +2 -2
- package/publishTimestamp.d.ts +1 -1
- package/publishTimestamp.js +1 -1
- package/src/AdaptableOptions/ActionOptions.d.ts +181 -1
- package/src/AdaptableOptions/AdaptableOptions.d.ts +5 -0
- package/src/AdaptableOptions/DataChangeHistoryOptions.d.ts +15 -2
- package/src/AdaptableOptions/EditOptions.d.ts +1 -80
- package/src/AdaptableOptions/FinancePluginOptions.d.ts +3 -3
- 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/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/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/GridApiImpl.d.ts +0 -3
- package/src/Api/Implementation/GridApiImpl.js +0 -44
- 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/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/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 +4 -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/ConfigurationWizard.js +2 -1
- package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/ConfigurationWizardColumnsStep.js +2 -1
- package/src/View/AdaptableWizardView/Utils.js +2 -1
- package/src/View/AdaptableWizardView/Wizard.js +4 -2
- package/src/View/AdaptableWizardView/helper.js +6 -3
- 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 +4 -2
- package/src/View/Alert/Wizard/AlertButtonsEditor.js +2 -1
- package/src/View/Alert/Wizard/AlertDisplayWizardSection.js +6 -3
- 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 +2 -1
- package/src/View/Alert/Wizard/BaseAlertScopeWizardSection.js +4 -2
- 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 +6 -3
- package/src/View/CalculatedColumn/Wizard/CalculatedColumnSettingsWizardSection.js +6 -3
- 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/ConditionalStyleScopeWizardSection.js +2 -1
- package/src/View/ConditionalStyle/Wizard/ConditionalStyleSettingsWizardSettings.js +4 -2
- package/src/View/ConditionalStyle/Wizard/ConditionalStyleStyleWizardSection.js +2 -1
- package/src/View/ConditionalStyle/Wizard/ConditionalStyleWizard.js +2 -1
- package/src/View/CustomSort/Wizard/CustomSortColumnWizardSection.js +6 -3
- package/src/View/CustomSort/Wizard/CustomSortValuesWizardSection.js +6 -3
- 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.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 +6 -3
- package/src/View/Export/Wizard/ReportNameWizardSection.js +6 -3
- package/src/View/Export/Wizard/ReportRowsWizardSection.js +6 -3
- 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 +4 -2
- package/src/View/FlashingCell/Wizard/FlashingCellScopeWizardSection.js +2 -1
- package/src/View/FlashingCell/Wizard/FlashingCellSettingsWizardSection.js +10 -5
- package/src/View/FlashingCell/Wizard/FlashingCellStyleWizardSection.js +6 -3
- 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 +8 -4
- package/src/View/FormatColumn/Wizard/FormatColumnScopeWizardSection.js +4 -2
- package/src/View/FormatColumn/Wizard/FormatColumnSettingsWizardSection.js +4 -2
- package/src/View/FormatColumn/Wizard/FormatColumnStyleWizardSection.js +4 -2
- package/src/View/FreeTextColumn/Wizard/FreeTextColumnSettingsWizardSection.js +6 -3
- 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/PlusMinusScopeWizardSection.js +2 -1
- package/src/View/PlusMinus/Wizard/PlusMinusSettingsWizardSection.js +6 -3
- 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 +6 -3
- package/src/View/Query/Wizard/NamedQuerySettingsWizardSection.js +6 -3
- 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 +2 -1
- package/src/View/Schedule/Wizard/ScheduleScheduleWizard.js +4 -2
- 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 +4 -2
- package/src/View/Schedule/Wizard/ScheduleSettingsWizard/ScheduleSettingsWizard.js +2 -1
- 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 +2 -1
- package/src/View/Shortcut/Wizard/ShortcutSettingsWizard.js +6 -3
- 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/ObjectTagsWizardSection.js +4 -2
- package/src/View/Wizard/OnePageAdaptableWizard.js +10 -5
- package/src/View/Wizard/OnePageWizards.js +8 -4
- 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/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 +2 -1
- 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 +145 -111
- package/src/metamodel/adaptable.metamodel.js +195 -172
- package/src/types.d.ts +6 -4
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/src/Api/Events/RowFormSubmitted.d.ts +0 -34
- package/src/components/ApplicationIcon.d.ts +0 -6
- package/src/components/ApplicationIcon.js +0 -13
|
@@ -46,50 +46,61 @@ exports.DASHBOARD_SET_TITLE = 'DASHBOARD_SET_TITLE';
|
|
|
46
46
|
* @ReduxAction Dashboard is ready
|
|
47
47
|
*/
|
|
48
48
|
exports.DASHBOARD_READY = 'DASHBOARD_READY';
|
|
49
|
-
|
|
49
|
+
const DashboardSetModuleButtons = (moduleButtons) => ({
|
|
50
50
|
type: exports.DASHBOARD_SET_MODULE_BUTTONS,
|
|
51
51
|
moduleButtons: moduleButtons,
|
|
52
52
|
});
|
|
53
|
-
exports.
|
|
53
|
+
exports.DashboardSetModuleButtons = DashboardSetModuleButtons;
|
|
54
|
+
const DashboardSetActiveTabIndex = (ActiveTabIndex) => ({
|
|
54
55
|
type: exports.DASHBOARD_ACTIVE_TAB_INDEX_CHANGE,
|
|
55
56
|
ActiveTabIndex,
|
|
56
57
|
});
|
|
57
|
-
exports.
|
|
58
|
+
exports.DashboardSetActiveTabIndex = DashboardSetActiveTabIndex;
|
|
59
|
+
const DashboardSetIsCollapsed = (IsCollapsed) => ({
|
|
58
60
|
type: exports.DASHBOARD_SET_IS_COLLAPSED,
|
|
59
61
|
IsCollapsed,
|
|
60
62
|
});
|
|
61
|
-
exports.
|
|
63
|
+
exports.DashboardSetIsCollapsed = DashboardSetIsCollapsed;
|
|
64
|
+
const DashboardSetIsFloating = (IsFloating) => ({
|
|
62
65
|
type: exports.DASHBOARD_SET_IS_FLOATING,
|
|
63
66
|
IsFloating,
|
|
64
67
|
});
|
|
65
|
-
exports.
|
|
68
|
+
exports.DashboardSetIsFloating = DashboardSetIsFloating;
|
|
69
|
+
const DashboardSetIsHidden = (IsHidden) => ({
|
|
66
70
|
type: exports.DASHBOARD_SET_IS_HIDDEN,
|
|
67
71
|
IsHidden,
|
|
68
72
|
});
|
|
69
|
-
exports.
|
|
73
|
+
exports.DashboardSetIsHidden = DashboardSetIsHidden;
|
|
74
|
+
const DashboardSetIsInline = (IsInline) => ({
|
|
70
75
|
type: exports.DASHBOARD_SET_IS_INLINE,
|
|
71
76
|
IsInline,
|
|
72
77
|
});
|
|
73
|
-
exports.
|
|
78
|
+
exports.DashboardSetIsInline = DashboardSetIsInline;
|
|
79
|
+
const DashboardSetFloatingPosition = (FloatingPosition) => ({
|
|
74
80
|
type: exports.DASHBOARD_SET_FLOATING_POSITION,
|
|
75
81
|
FloatingPosition,
|
|
76
82
|
});
|
|
77
|
-
exports.
|
|
83
|
+
exports.DashboardSetFloatingPosition = DashboardSetFloatingPosition;
|
|
84
|
+
const DashboardSetTabs = (Tabs) => ({
|
|
78
85
|
type: exports.DASHBOARD_SET_TABS,
|
|
79
86
|
Tabs,
|
|
80
87
|
});
|
|
81
|
-
exports.
|
|
88
|
+
exports.DashboardSetTabs = DashboardSetTabs;
|
|
89
|
+
const DashboardCloseToolbar = (toolbar) => ({
|
|
82
90
|
toolbar,
|
|
83
91
|
type: exports.DASHBOARD_CLOSE_TOOLBAR,
|
|
84
92
|
});
|
|
85
|
-
exports.
|
|
93
|
+
exports.DashboardCloseToolbar = DashboardCloseToolbar;
|
|
94
|
+
const DashboardSetTitle = (title) => ({
|
|
86
95
|
type: exports.DASHBOARD_SET_TITLE,
|
|
87
96
|
title,
|
|
88
97
|
});
|
|
89
|
-
exports.
|
|
98
|
+
exports.DashboardSetTitle = DashboardSetTitle;
|
|
99
|
+
const DashboardReady = (dashboardState) => ({
|
|
90
100
|
type: exports.DASHBOARD_READY,
|
|
91
101
|
dashboardState,
|
|
92
102
|
});
|
|
103
|
+
exports.DashboardReady = DashboardReady;
|
|
93
104
|
const initialState = {
|
|
94
105
|
Tabs: GeneralConstants_1.EMPTY_ARRAY,
|
|
95
106
|
ActiveTabIndex: 0,
|
|
@@ -101,7 +112,7 @@ const initialState = {
|
|
|
101
112
|
ModuleButtons: ['SettingsPanel'],
|
|
102
113
|
DashboardTitle: '',
|
|
103
114
|
};
|
|
104
|
-
|
|
115
|
+
const DashboardReducer = (state = initialState, action) => {
|
|
105
116
|
switch (action.type) {
|
|
106
117
|
case exports.DASHBOARD_SET_MODULE_BUTTONS: {
|
|
107
118
|
const actionTyped = action;
|
|
@@ -162,3 +173,4 @@ exports.DashboardReducer = (state = initialState, action) => {
|
|
|
162
173
|
return state;
|
|
163
174
|
}
|
|
164
175
|
};
|
|
176
|
+
exports.DashboardReducer = DashboardReducer;
|
|
@@ -32,41 +32,48 @@ exports.EXPORT_READY = 'EXPORT_READY';
|
|
|
32
32
|
* @ReduxAction A report Destination has been selected
|
|
33
33
|
*/
|
|
34
34
|
exports.DESTINATION_SELECT = 'DESTINATION_SELECT';
|
|
35
|
-
|
|
35
|
+
const ReportSelect = (SelectedReport) => ({
|
|
36
36
|
type: exports.REPORT_SELECT,
|
|
37
37
|
SelectedReport,
|
|
38
38
|
});
|
|
39
|
-
exports.
|
|
39
|
+
exports.ReportSelect = ReportSelect;
|
|
40
|
+
const ReportAdd = (report) => ({
|
|
40
41
|
type: exports.REPORT_ADD,
|
|
41
42
|
report,
|
|
42
43
|
});
|
|
43
|
-
exports.
|
|
44
|
+
exports.ReportAdd = ReportAdd;
|
|
45
|
+
const ReportEdit = (report) => ({
|
|
44
46
|
type: exports.REPORT_EDIT,
|
|
45
47
|
report,
|
|
46
48
|
});
|
|
47
|
-
exports.
|
|
49
|
+
exports.ReportEdit = ReportEdit;
|
|
50
|
+
const ReportDelete = (report) => ({
|
|
48
51
|
type: exports.REPORT_DELETE,
|
|
49
52
|
report,
|
|
50
53
|
});
|
|
51
|
-
exports.
|
|
54
|
+
exports.ReportDelete = ReportDelete;
|
|
55
|
+
const ExportReady = (exportState) => ({
|
|
52
56
|
type: exports.EXPORT_READY,
|
|
53
57
|
exportState,
|
|
54
58
|
});
|
|
55
|
-
exports.
|
|
59
|
+
exports.ExportReady = ExportReady;
|
|
60
|
+
const ExportApply = (Report, ExportDestination) => ({
|
|
56
61
|
type: exports.EXPORT_APPLY,
|
|
57
62
|
Report,
|
|
58
63
|
ExportDestination,
|
|
59
64
|
});
|
|
60
|
-
exports.
|
|
65
|
+
exports.ExportApply = ExportApply;
|
|
66
|
+
const DestinationSelect = (SelectedDestination) => ({
|
|
61
67
|
type: exports.DESTINATION_SELECT,
|
|
62
68
|
SelectedDestination,
|
|
63
69
|
});
|
|
70
|
+
exports.DestinationSelect = DestinationSelect;
|
|
64
71
|
const initialState = {
|
|
65
72
|
Reports: GeneralConstants_1.EMPTY_ARRAY,
|
|
66
73
|
CurrentReport: GeneralConstants_1.EMPTY_STRING,
|
|
67
74
|
CurrentDestination: GeneralConstants_1.EMPTY_STRING,
|
|
68
75
|
};
|
|
69
|
-
|
|
76
|
+
const ExportReducer = (state = initialState, action) => {
|
|
70
77
|
let reports;
|
|
71
78
|
switch (action.type) {
|
|
72
79
|
case exports.REPORT_SELECT:
|
|
@@ -95,3 +102,4 @@ exports.ExportReducer = (state = initialState, action) => {
|
|
|
95
102
|
return state;
|
|
96
103
|
}
|
|
97
104
|
};
|
|
105
|
+
exports.ExportReducer = ExportReducer;
|
|
@@ -29,38 +29,45 @@ exports.FLASHING_CELL_DEFINITION_UNSUSPEND = 'FLASHING_CELL_DEFINITION_UNSUSPEND
|
|
|
29
29
|
*/
|
|
30
30
|
exports.FLASHING_CELL_READY = 'FLASHING_CELL_READY';
|
|
31
31
|
exports.FLASHING_CELL_DEFINITION_SET = 'FLASHING_CELL_DEFINITION_SET';
|
|
32
|
-
|
|
32
|
+
const FlashingCellDefinitionAdd = (flashingCellDefinition) => ({
|
|
33
33
|
type: exports.FLASHING_CELL_DEFINITION_ADD,
|
|
34
34
|
flashingCellDefinition,
|
|
35
35
|
});
|
|
36
|
-
exports.
|
|
36
|
+
exports.FlashingCellDefinitionAdd = FlashingCellDefinitionAdd;
|
|
37
|
+
const FlashingCellDefinitionSet = (flashingCellDefinitions) => ({
|
|
37
38
|
type: exports.FLASHING_CELL_DEFINITION_SET,
|
|
38
39
|
flashingCellDefinitions,
|
|
39
40
|
});
|
|
40
|
-
exports.
|
|
41
|
+
exports.FlashingCellDefinitionSet = FlashingCellDefinitionSet;
|
|
42
|
+
const FlashingCellDefinitionEdit = (flashingCellDefinition) => ({
|
|
41
43
|
type: exports.FLASHING_CELL_DEFINITION_EDIT,
|
|
42
44
|
flashingCellDefinition,
|
|
43
45
|
});
|
|
44
|
-
exports.
|
|
46
|
+
exports.FlashingCellDefinitionEdit = FlashingCellDefinitionEdit;
|
|
47
|
+
const FlashingCellDefinitionDelete = (flashingCellDefinition) => ({
|
|
45
48
|
type: exports.FLASHING_CELL_DEFINITION_DELETE,
|
|
46
49
|
flashingCellDefinition,
|
|
47
50
|
});
|
|
48
|
-
exports.
|
|
51
|
+
exports.FlashingCellDefinitionDelete = FlashingCellDefinitionDelete;
|
|
52
|
+
const FlashingCellDefinitionSuspend = (flashingCellDefinition) => ({
|
|
49
53
|
type: exports.FLASHING_CELL_DEFINITION_SUSPEND,
|
|
50
54
|
flashingCellDefinition,
|
|
51
55
|
});
|
|
52
|
-
exports.
|
|
56
|
+
exports.FlashingCellDefinitionSuspend = FlashingCellDefinitionSuspend;
|
|
57
|
+
const FlashingCellDefinitionUnSuspend = (flashingCellDefinition) => ({
|
|
53
58
|
type: exports.FLASHING_CELL_DEFINITION_UNSUSPEND,
|
|
54
59
|
flashingCellDefinition,
|
|
55
60
|
});
|
|
56
|
-
exports.
|
|
61
|
+
exports.FlashingCellDefinitionUnSuspend = FlashingCellDefinitionUnSuspend;
|
|
62
|
+
const FlashingCellReady = (alertState) => ({
|
|
57
63
|
type: exports.FLASHING_CELL_READY,
|
|
58
64
|
alertState,
|
|
59
65
|
});
|
|
66
|
+
exports.FlashingCellReady = FlashingCellReady;
|
|
60
67
|
const initialState = {
|
|
61
68
|
FlashingCellDefinitions: [],
|
|
62
69
|
};
|
|
63
|
-
|
|
70
|
+
const FlashingCellReducer = (state = initialState, action) => {
|
|
64
71
|
let flashingCellDefinitions;
|
|
65
72
|
switch (action.type) {
|
|
66
73
|
case exports.FLASHING_CELL_DEFINITION_SET: {
|
|
@@ -94,3 +101,4 @@ exports.FlashingCellReducer = (state = initialState, action) => {
|
|
|
94
101
|
return state;
|
|
95
102
|
}
|
|
96
103
|
};
|
|
104
|
+
exports.FlashingCellReducer = FlashingCellReducer;
|
|
@@ -29,34 +29,40 @@ exports.FORMAT_COLUMN_SUSPEND = 'FORMAT_COLUMN_SUSPEND';
|
|
|
29
29
|
* @ReduxAction FormatColumn Module is un-suspended, or activated
|
|
30
30
|
*/
|
|
31
31
|
exports.FORMAT_COLUMN_UNSUSPEND = 'FORMAT_COLUMN_UNSUSPEND';
|
|
32
|
-
|
|
32
|
+
const FormatColumnAdd = (formatColumn) => ({
|
|
33
33
|
type: exports.FORMAT_COLUMN_ADD,
|
|
34
34
|
formatColumn,
|
|
35
35
|
});
|
|
36
|
-
exports.
|
|
36
|
+
exports.FormatColumnAdd = FormatColumnAdd;
|
|
37
|
+
const FormatColumnEdit = (formatColumn) => ({
|
|
37
38
|
type: exports.FORMAT_COLUMN_EDIT,
|
|
38
39
|
formatColumn,
|
|
39
40
|
});
|
|
40
|
-
exports.
|
|
41
|
+
exports.FormatColumnEdit = FormatColumnEdit;
|
|
42
|
+
const FormatColumnDelete = (formatColumn) => ({
|
|
41
43
|
type: exports.FORMAT_COLUMN_DELETE,
|
|
42
44
|
formatColumn,
|
|
43
45
|
});
|
|
44
|
-
exports.
|
|
46
|
+
exports.FormatColumnDelete = FormatColumnDelete;
|
|
47
|
+
const FormatColumnSuspend = (formatColumn) => ({
|
|
45
48
|
type: exports.FORMAT_COLUMN_SUSPEND,
|
|
46
49
|
formatColumn,
|
|
47
50
|
});
|
|
48
|
-
exports.
|
|
51
|
+
exports.FormatColumnSuspend = FormatColumnSuspend;
|
|
52
|
+
const FormatColumnUnSuspend = (formatColumn) => ({
|
|
49
53
|
type: exports.FORMAT_COLUMN_UNSUSPEND,
|
|
50
54
|
formatColumn,
|
|
51
55
|
});
|
|
52
|
-
exports.
|
|
56
|
+
exports.FormatColumnUnSuspend = FormatColumnUnSuspend;
|
|
57
|
+
const FormatColumnReady = (formatColumnState) => ({
|
|
53
58
|
type: exports.FORMAT_COLUMN_READY,
|
|
54
59
|
formatColumnState,
|
|
55
60
|
});
|
|
61
|
+
exports.FormatColumnReady = FormatColumnReady;
|
|
56
62
|
const initialState = {
|
|
57
63
|
FormatColumns: GeneralConstants_1.EMPTY_ARRAY,
|
|
58
64
|
};
|
|
59
|
-
|
|
65
|
+
const FormatColumnReducer = (state = initialState, action) => {
|
|
60
66
|
let formatColumns;
|
|
61
67
|
switch (action.type) {
|
|
62
68
|
case exports.FORMAT_COLUMN_ADD: {
|
|
@@ -83,3 +89,4 @@ exports.FormatColumnReducer = (state = initialState, action) => {
|
|
|
83
89
|
return state;
|
|
84
90
|
}
|
|
85
91
|
};
|
|
92
|
+
exports.FormatColumnReducer = FormatColumnReducer;
|
|
@@ -24,31 +24,36 @@ exports.FREE_TEXT_COLUMN_ADD_EDIT_STORED_VALUE = 'FREE_TEXT_COLUMN_ADD_EDIT_STOR
|
|
|
24
24
|
* @ReduxAction FreeTextColumn Module is ready
|
|
25
25
|
*/
|
|
26
26
|
exports.FREE_TEXT_COLUMN_READY = 'FREE_TEXT_COLUMN_READY';
|
|
27
|
-
|
|
27
|
+
const FreeTextColumnAdd = (freeTextColumn) => ({
|
|
28
28
|
type: exports.FREE_TEXT_COLUMN_ADD,
|
|
29
29
|
freeTextColumn,
|
|
30
30
|
});
|
|
31
|
-
exports.
|
|
31
|
+
exports.FreeTextColumnAdd = FreeTextColumnAdd;
|
|
32
|
+
const FreeTextColumnEdit = (freeTextColumn) => ({
|
|
32
33
|
type: exports.FREE_TEXT_COLUMN_EDIT,
|
|
33
34
|
freeTextColumn,
|
|
34
35
|
});
|
|
35
|
-
exports.
|
|
36
|
+
exports.FreeTextColumnEdit = FreeTextColumnEdit;
|
|
37
|
+
const FreeTextColumnDelete = (freeTextColumn) => ({
|
|
36
38
|
type: exports.FREE_TEXT_COLUMN_DELETE,
|
|
37
39
|
freeTextColumn,
|
|
38
40
|
});
|
|
39
|
-
exports.
|
|
41
|
+
exports.FreeTextColumnDelete = FreeTextColumnDelete;
|
|
42
|
+
const FreeTextColumnAddEditStoredValue = (FreeTextColumn, FreeTextStoredValue) => ({
|
|
40
43
|
type: exports.FREE_TEXT_COLUMN_ADD_EDIT_STORED_VALUE,
|
|
41
44
|
FreeTextColumn,
|
|
42
45
|
FreeTextStoredValue,
|
|
43
46
|
});
|
|
44
|
-
exports.
|
|
47
|
+
exports.FreeTextColumnAddEditStoredValue = FreeTextColumnAddEditStoredValue;
|
|
48
|
+
const FreeTextColumnReady = (freeTextColumnState) => ({
|
|
45
49
|
type: exports.FREE_TEXT_COLUMN_READY,
|
|
46
50
|
freeTextColumnState,
|
|
47
51
|
});
|
|
52
|
+
exports.FreeTextColumnReady = FreeTextColumnReady;
|
|
48
53
|
const initialState = {
|
|
49
54
|
FreeTextColumns: GeneralConstants_1.EMPTY_ARRAY,
|
|
50
55
|
};
|
|
51
|
-
|
|
56
|
+
const FreeTextColumnReducer = (state = initialState, action) => {
|
|
52
57
|
var _a;
|
|
53
58
|
let freeTextColumns;
|
|
54
59
|
switch (action.type) {
|
|
@@ -74,7 +79,8 @@ exports.FreeTextColumnReducer = (state = initialState, action) => {
|
|
|
74
79
|
}
|
|
75
80
|
case exports.FREE_TEXT_COLUMN_ADD_EDIT_STORED_VALUE: {
|
|
76
81
|
const actionTypedAddEditStoredValue = action;
|
|
77
|
-
actionTypedAddEditStoredValue.FreeTextColumn.FreeTextStoredValues =
|
|
82
|
+
actionTypedAddEditStoredValue.FreeTextColumn.FreeTextStoredValues =
|
|
83
|
+
(_a = actionTypedAddEditStoredValue.FreeTextColumn.FreeTextStoredValues) !== null && _a !== void 0 ? _a : [];
|
|
78
84
|
let existingIndex = actionTypedAddEditStoredValue.FreeTextColumn.FreeTextStoredValues.findIndex((ftsv) => ftsv.PrimaryKey == actionTypedAddEditStoredValue.FreeTextStoredValue.PrimaryKey);
|
|
79
85
|
if (existingIndex != -1) {
|
|
80
86
|
actionTypedAddEditStoredValue.FreeTextColumn.FreeTextStoredValues[existingIndex] =
|
|
@@ -92,3 +98,4 @@ exports.FreeTextColumnReducer = (state = initialState, action) => {
|
|
|
92
98
|
return state;
|
|
93
99
|
}
|
|
94
100
|
};
|
|
101
|
+
exports.FreeTextColumnReducer = FreeTextColumnReducer;
|
|
@@ -75,73 +75,91 @@ exports.GRID_SET_TREE_MODE_ON = 'GRID_SET_TREE_MODE_ON';
|
|
|
75
75
|
* @ReduxAction Grid is taken out of tree mode
|
|
76
76
|
*/
|
|
77
77
|
exports.GRID_SET_TREE_MODE_OFF = 'GRID_SET_TREE_MODE_OFF';
|
|
78
|
-
|
|
78
|
+
const GridSetColumns = (Columns) => ({
|
|
79
79
|
type: exports.GRID_SET_COLUMNS,
|
|
80
80
|
columns: Columns,
|
|
81
81
|
});
|
|
82
|
-
exports.
|
|
82
|
+
exports.GridSetColumns = GridSetColumns;
|
|
83
|
+
const GridAddColumn = (Column) => ({
|
|
83
84
|
type: exports.GRID_ADD_COLUMN,
|
|
84
85
|
column: Column,
|
|
85
86
|
});
|
|
86
|
-
exports.
|
|
87
|
+
exports.GridAddColumn = GridAddColumn;
|
|
88
|
+
const GridAddColumns = (Columns) => ({
|
|
87
89
|
type: exports.GRID_ADD_COLUMNS,
|
|
88
90
|
columns: Columns,
|
|
89
91
|
});
|
|
90
|
-
exports.
|
|
92
|
+
exports.GridAddColumns = GridAddColumns;
|
|
93
|
+
const GridRemoveColumn = (Column) => ({
|
|
91
94
|
type: exports.GRID_REMOVE_COLUMN,
|
|
92
95
|
column: Column,
|
|
93
96
|
});
|
|
94
|
-
exports.
|
|
97
|
+
exports.GridRemoveColumn = GridRemoveColumn;
|
|
98
|
+
const GridEditColumn = (Column) => ({
|
|
95
99
|
type: exports.GRID_EDIT_COLUMN,
|
|
96
100
|
column: Column,
|
|
97
101
|
});
|
|
98
|
-
exports.
|
|
102
|
+
exports.GridEditColumn = GridEditColumn;
|
|
103
|
+
const GridSetSort = (ColumnSorts) => ({
|
|
99
104
|
type: exports.GRID_SET_SORT,
|
|
100
105
|
columnSorts: ColumnSorts,
|
|
101
106
|
});
|
|
102
|
-
exports.
|
|
107
|
+
exports.GridSetSort = GridSetSort;
|
|
108
|
+
const GridClearSort = () => ({
|
|
103
109
|
type: exports.GRID_CLEAR_SORT,
|
|
104
110
|
});
|
|
105
|
-
exports.
|
|
111
|
+
exports.GridClearSort = GridClearSort;
|
|
112
|
+
const GridSetSelectedCells = (SelectedCellInfo) => ({
|
|
106
113
|
type: exports.GRID_SET_SELECTED_CELLS,
|
|
107
114
|
selectedCellInfo: SelectedCellInfo,
|
|
108
115
|
});
|
|
109
|
-
exports.
|
|
116
|
+
exports.GridSetSelectedCells = GridSetSelectedCells;
|
|
117
|
+
const GridSetSelectedRows = (SelectedRowInfo) => ({
|
|
110
118
|
type: exports.GRID_SET_SELECTED_ROWS,
|
|
111
119
|
selectedRowInfo: SelectedRowInfo,
|
|
112
120
|
});
|
|
113
|
-
exports.
|
|
121
|
+
exports.GridSetSelectedRows = GridSetSelectedRows;
|
|
122
|
+
const GridCreateCellSummary = () => ({
|
|
114
123
|
type: exports.GRID_CREATE_CELLS_SUMMARY,
|
|
115
124
|
});
|
|
116
|
-
exports.
|
|
125
|
+
exports.GridCreateCellSummary = GridCreateCellSummary;
|
|
126
|
+
const GridSetCellSummary = (CellSummary) => ({
|
|
117
127
|
type: exports.GRID_SET_CELLS_SUMMARY,
|
|
118
128
|
cellSummary: CellSummary,
|
|
119
129
|
});
|
|
120
|
-
exports.
|
|
130
|
+
exports.GridSetCellSummary = GridSetCellSummary;
|
|
131
|
+
const GridRefreshCells = (rowNodes, columnIds) => ({
|
|
121
132
|
type: exports.GRID_REFRESH_CELLS,
|
|
122
133
|
rowNodes,
|
|
123
134
|
columnIds,
|
|
124
135
|
});
|
|
125
|
-
exports.
|
|
136
|
+
exports.GridRefreshCells = GridRefreshCells;
|
|
137
|
+
const SetPivotModeOn = () => ({
|
|
126
138
|
type: exports.GRID_SET_PIVOT_MODE_ON,
|
|
127
139
|
});
|
|
128
|
-
exports.
|
|
140
|
+
exports.SetPivotModeOn = SetPivotModeOn;
|
|
141
|
+
const SetPivotModeOff = () => ({
|
|
129
142
|
type: exports.GRID_SET_PIVOT_MODE_OFF,
|
|
130
143
|
});
|
|
131
|
-
exports.
|
|
144
|
+
exports.SetPivotModeOff = SetPivotModeOff;
|
|
145
|
+
const SetTreeModeOn = () => ({
|
|
132
146
|
type: exports.GRID_SET_TREE_MODE_ON,
|
|
133
147
|
});
|
|
134
|
-
exports.
|
|
148
|
+
exports.SetTreeModeOn = SetTreeModeOn;
|
|
149
|
+
const SetTreeModeOff = () => ({
|
|
135
150
|
type: exports.GRID_SET_TREE_MODE_OFF,
|
|
136
151
|
});
|
|
137
|
-
exports.
|
|
152
|
+
exports.SetTreeModeOff = SetTreeModeOff;
|
|
153
|
+
const SetSettingPanelModuleMenuItems = (MenuItems) => ({
|
|
138
154
|
type: exports.GRID_SET_MODULE_DROPDOWN_MENUITEMS,
|
|
139
155
|
menuItems: MenuItems,
|
|
140
156
|
});
|
|
141
|
-
exports.
|
|
157
|
+
exports.SetSettingPanelModuleMenuItems = SetSettingPanelModuleMenuItems;
|
|
158
|
+
const SetModuleButtonMenuItems = (MenuItems) => ({
|
|
142
159
|
type: exports.GRID_SET_MODULE_BUTTON_MENUITEMS,
|
|
143
160
|
menuItems: MenuItems,
|
|
144
161
|
});
|
|
162
|
+
exports.SetModuleButtonMenuItems = SetModuleButtonMenuItems;
|
|
145
163
|
const initialState = {
|
|
146
164
|
Columns: GeneralConstants_1.EMPTY_ARRAY,
|
|
147
165
|
CurrentLayout: null,
|
|
@@ -154,7 +172,7 @@ const initialState = {
|
|
|
154
172
|
IsGridInPivotMode: false,
|
|
155
173
|
IsGridInTreeMode: false,
|
|
156
174
|
};
|
|
157
|
-
|
|
175
|
+
const GridReducer = (state = initialState, action) => {
|
|
158
176
|
switch (action.type) {
|
|
159
177
|
case exports.GRID_SET_COLUMNS:
|
|
160
178
|
return Object.assign({}, state, {
|
|
@@ -227,3 +245,4 @@ exports.GridReducer = (state = initialState, action) => {
|
|
|
227
245
|
return state;
|
|
228
246
|
}
|
|
229
247
|
};
|
|
248
|
+
exports.GridReducer = GridReducer;
|
|
@@ -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;
|