@adaptabletools/adaptable 12.0.0-canary.2 → 12.0.0-canary.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/base.css +41 -14
- package/bundle.cjs.js +159 -142
- package/index.css +49 -14
- package/package.json +3 -3
- 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/AlertOptions.d.ts +5 -9
- package/src/AdaptableOptions/ColumnOptions.d.ts +4 -0
- package/src/AdaptableOptions/DashboardOptions.d.ts +1 -5
- package/src/AdaptableOptions/DataChangeHistoryOptions.d.ts +19 -4
- package/src/AdaptableOptions/EditOptions.d.ts +8 -62
- package/src/AdaptableOptions/FinancePluginOptions.d.ts +3 -3
- package/src/AdaptableOptions/GeneralOptions.d.ts +7 -0
- package/src/AdaptableOptions/LayoutOptions.d.ts +6 -1
- package/src/AdaptableOptions/SettingsPanelOptions.d.ts +2 -0
- package/src/AdaptableOptions/StateOptions.d.ts +10 -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/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/SmartEditApiImpl.d.ts +1 -1
- package/src/Api/Implementation/SmartEditApiImpl.js +2 -1
- 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/SmartEditApi.d.ts +1 -1
- 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 +38 -36
- 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/DocumentationLinkConstants.d.ts +1 -0
- package/src/Utilities/Constants/DocumentationLinkConstants.js +2 -1
- package/src/Utilities/Constants/GeneralConstants.js +2 -1
- package/src/Utilities/Defaults/DefaultAdaptableOptions.js +21 -13
- package/src/Utilities/ExpressionFunctions/dateUtils.js +2 -1
- package/src/Utilities/ExpressionFunctions/expressionFunctionUtils.js +20 -10
- package/src/Utilities/Extensions/TypeExtensions.d.ts +30 -0
- package/src/Utilities/Helpers/AdaptableHelper.d.ts +1 -3
- package/src/Utilities/Helpers/AdaptableHelper.js +6 -16
- package/src/Utilities/Helpers/DateHelper.d.ts +27 -0
- package/src/Utilities/Helpers/DateHelper.js +43 -6
- 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/IMetamodelService.d.ts +1 -0
- package/src/Utilities/Services/Interface/IRowEditService.d.ts +3 -3
- package/src/Utilities/Services/MetamodelService.d.ts +7 -1
- package/src/Utilities/Services/MetamodelService.js +82 -6
- 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.d.ts +13 -1
- package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/ConfigurationWizard.js +13 -10
- 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.d.ts +3 -3
- 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 +11 -11
- 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.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 +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 +31 -28
- 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 +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-model.d.ts +1 -1
- package/src/metamodel/adaptable.metamodel.d.ts +211 -101
- package/src/metamodel/adaptable.metamodel.js +1 -12874
- 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
|
@@ -12,52 +12,62 @@ exports.TEAMSHARING_REMOVE_ITEM = 'TEAMSHARING_REMOVE_ITEM';
|
|
|
12
12
|
exports.TEAMSHARING_LINK_ITEM = 'TEAMSHARING_LINK_ITEM';
|
|
13
13
|
exports.TEAMSHARING_UPDATE_ITEM = 'TEAMSHARING_UPDATE_ITEM';
|
|
14
14
|
exports.TEAMSHARING_CHECK_FOR_UPDATES = 'TEAMSHARING_CHECK_FOR_UPDATES';
|
|
15
|
-
|
|
15
|
+
const TeamSharingShare = (entity, module, configuration) => ({
|
|
16
16
|
type: exports.TEAMSHARING_SHARE,
|
|
17
17
|
Entity: entity,
|
|
18
18
|
Module: module,
|
|
19
19
|
Configuration: configuration,
|
|
20
20
|
});
|
|
21
|
-
exports.
|
|
21
|
+
exports.TeamSharingShare = TeamSharingShare;
|
|
22
|
+
const TeamSharingSet = (Entities) => ({
|
|
22
23
|
type: exports.TEAMSHARING_SET,
|
|
23
24
|
Entities,
|
|
24
25
|
});
|
|
25
|
-
exports.
|
|
26
|
+
exports.TeamSharingSet = TeamSharingSet;
|
|
27
|
+
const TeamSharingImportItem = (SharedEntity) => ({
|
|
26
28
|
type: exports.TEAMSHARING_IMPORT_ITEM,
|
|
27
29
|
SharedEntity,
|
|
28
30
|
});
|
|
29
|
-
exports.
|
|
31
|
+
exports.TeamSharingImportItem = TeamSharingImportItem;
|
|
32
|
+
const TeamSharingProcessImport = (ImportSteps) => ({
|
|
30
33
|
type: exports.TEAMSHARING_PROCESS_IMPORT,
|
|
31
34
|
ImportSteps,
|
|
32
35
|
});
|
|
33
|
-
exports.
|
|
36
|
+
exports.TeamSharingProcessImport = TeamSharingProcessImport;
|
|
37
|
+
const TeamSharingCommitImport = () => ({
|
|
34
38
|
type: exports.TEAMSHARING_COMMIT_IMPORT,
|
|
35
39
|
});
|
|
36
|
-
exports.
|
|
40
|
+
exports.TeamSharingCommitImport = TeamSharingCommitImport;
|
|
41
|
+
const TeamSharingRemoveItem = (Uuid) => ({
|
|
37
42
|
type: exports.TEAMSHARING_REMOVE_ITEM,
|
|
38
43
|
Uuid,
|
|
39
44
|
});
|
|
40
|
-
exports.
|
|
45
|
+
exports.TeamSharingRemoveItem = TeamSharingRemoveItem;
|
|
46
|
+
const TeamSharingGet = () => ({
|
|
41
47
|
type: exports.TEAMSHARING_GET,
|
|
42
48
|
});
|
|
43
|
-
exports.
|
|
49
|
+
exports.TeamSharingGet = TeamSharingGet;
|
|
50
|
+
const TeamSharingLinkItem = (...SharedEntities) => ({
|
|
44
51
|
type: exports.TEAMSHARING_LINK_ITEM,
|
|
45
52
|
SharedEntities,
|
|
46
53
|
});
|
|
47
|
-
exports.
|
|
54
|
+
exports.TeamSharingLinkItem = TeamSharingLinkItem;
|
|
55
|
+
const TeamSharingUpdateItem = (ChangedAdaptableObject, UserName) => ({
|
|
48
56
|
type: exports.TEAMSHARING_UPDATE_ITEM,
|
|
49
57
|
ChangedAdaptableObject,
|
|
50
58
|
UserName,
|
|
51
59
|
});
|
|
52
|
-
exports.
|
|
60
|
+
exports.TeamSharingUpdateItem = TeamSharingUpdateItem;
|
|
61
|
+
const TeamSharingCheckForUpdates = () => ({
|
|
53
62
|
type: exports.TEAMSHARING_CHECK_FOR_UPDATES,
|
|
54
63
|
});
|
|
64
|
+
exports.TeamSharingCheckForUpdates = TeamSharingCheckForUpdates;
|
|
55
65
|
const initialTeamSharingState = {
|
|
56
66
|
SharedEntities: GeneralConstants_1.EMPTY_ARRAY,
|
|
57
67
|
ActiveSharedEntityMap: {},
|
|
58
68
|
importProcessInProgress: false,
|
|
59
69
|
};
|
|
60
|
-
|
|
70
|
+
const TeamSharingReducer = (state = initialTeamSharingState, action) => {
|
|
61
71
|
switch (action.type) {
|
|
62
72
|
case exports.TEAMSHARING_SET: {
|
|
63
73
|
const actionTyped = action;
|
|
@@ -98,3 +108,4 @@ exports.TeamSharingReducer = (state = initialTeamSharingState, action) => {
|
|
|
98
108
|
return state;
|
|
99
109
|
}
|
|
100
110
|
};
|
|
111
|
+
exports.TeamSharingReducer = TeamSharingReducer;
|
|
@@ -18,28 +18,32 @@ exports.THEME_SELECT = 'THEME_SELECT';
|
|
|
18
18
|
* @ReduxAction Theme Module is ready
|
|
19
19
|
*/
|
|
20
20
|
exports.THEME_READY = 'THEME_READY';
|
|
21
|
-
|
|
21
|
+
const ThemeSetSystemThemes = (SystemThemes) => ({
|
|
22
22
|
type: exports.THEME_SET_SYSTEM_THEMES,
|
|
23
23
|
SystemThemes,
|
|
24
24
|
});
|
|
25
|
-
exports.
|
|
25
|
+
exports.ThemeSetSystemThemes = ThemeSetSystemThemes;
|
|
26
|
+
const ThemeSetUserThemes = (UserThemes) => ({
|
|
26
27
|
type: exports.THEME_SET_USER_THEMES,
|
|
27
28
|
UserThemes,
|
|
28
29
|
});
|
|
29
|
-
exports.
|
|
30
|
+
exports.ThemeSetUserThemes = ThemeSetUserThemes;
|
|
31
|
+
const ThemeSelect = (Theme) => ({
|
|
30
32
|
type: exports.THEME_SELECT,
|
|
31
33
|
Theme,
|
|
32
34
|
});
|
|
33
|
-
exports.
|
|
35
|
+
exports.ThemeSelect = ThemeSelect;
|
|
36
|
+
const ThemeReady = (themeState) => ({
|
|
34
37
|
type: exports.THEME_READY,
|
|
35
38
|
themeState,
|
|
36
39
|
});
|
|
40
|
+
exports.ThemeReady = ThemeReady;
|
|
37
41
|
const initialState = {
|
|
38
42
|
CurrentTheme: GeneralConstants_1.THEME_DEFAULT_CURRENT_THEME,
|
|
39
43
|
SystemThemes: GeneralConstants_1.SYSTEM_THEMES,
|
|
40
44
|
UserThemes: GeneralConstants_1.EMPTY_ARRAY,
|
|
41
45
|
};
|
|
42
|
-
|
|
46
|
+
const ThemeReducer = (state = initialState, action) => {
|
|
43
47
|
switch (action.type) {
|
|
44
48
|
case exports.THEME_SET_SYSTEM_THEMES:
|
|
45
49
|
return Object.assign({}, state, {
|
|
@@ -57,3 +61,4 @@ exports.ThemeReducer = (state = initialState, action) => {
|
|
|
57
61
|
return state;
|
|
58
62
|
}
|
|
59
63
|
};
|
|
64
|
+
exports.ThemeReducer = ThemeReducer;
|
|
@@ -29,40 +29,47 @@ exports.TOOLPANEL_SET_MODULE_BUTTONS = 'TOOLPANEL_SET_MODULE_BUTTONS';
|
|
|
29
29
|
* @ReduxAction AdapTable ToolPanel Component is ready
|
|
30
30
|
*/
|
|
31
31
|
exports.TOOLPANEL_READY = 'TOOLPANEL_READY';
|
|
32
|
-
|
|
32
|
+
const ToolPanelSetToolPanels = (toolPanels) => ({
|
|
33
33
|
type: exports.TOOLPANEL_SET_TOOLPANELS,
|
|
34
34
|
toolPanels,
|
|
35
35
|
});
|
|
36
|
-
exports.
|
|
36
|
+
exports.ToolPanelSetToolPanels = ToolPanelSetToolPanels;
|
|
37
|
+
const ToolPanelShowToolPanel = (toolPanel) => ({
|
|
37
38
|
type: exports.TOOLPANEL_SHOW_TOOLPANEL,
|
|
38
39
|
toolPanel,
|
|
39
40
|
});
|
|
40
|
-
exports.
|
|
41
|
+
exports.ToolPanelShowToolPanel = ToolPanelShowToolPanel;
|
|
42
|
+
const ToolPanelHideToolPanel = (toolPanel) => ({
|
|
41
43
|
type: exports.TOOLPANEL_HIDE_TOOLPANEL,
|
|
42
44
|
toolPanel,
|
|
43
45
|
});
|
|
44
|
-
exports.
|
|
46
|
+
exports.ToolPanelHideToolPanel = ToolPanelHideToolPanel;
|
|
47
|
+
const ToolPanelExpandToolPanel = (toolPanel) => ({
|
|
45
48
|
type: exports.TOOLPANEL_EXPAND_TOOLPANEL,
|
|
46
49
|
toolPanel,
|
|
47
50
|
});
|
|
48
|
-
exports.
|
|
51
|
+
exports.ToolPanelExpandToolPanel = ToolPanelExpandToolPanel;
|
|
52
|
+
const ToolPanelCollapseToolPanel = (toolPanel) => ({
|
|
49
53
|
type: exports.TOOLPANEL_COLLAPSE_TOOLPANEL,
|
|
50
54
|
toolPanel,
|
|
51
55
|
});
|
|
52
|
-
exports.
|
|
56
|
+
exports.ToolPanelCollapseToolPanel = ToolPanelCollapseToolPanel;
|
|
57
|
+
const ToolPanelSetModuleButtons = (moduleButtons) => ({
|
|
53
58
|
type: exports.TOOLPANEL_SET_MODULE_BUTTONS,
|
|
54
59
|
moduleButtons: moduleButtons,
|
|
55
60
|
});
|
|
56
|
-
exports.
|
|
61
|
+
exports.ToolPanelSetModuleButtons = ToolPanelSetModuleButtons;
|
|
62
|
+
const ToolPanelReady = (toolPanelState) => ({
|
|
57
63
|
type: exports.TOOLPANEL_READY,
|
|
58
64
|
toolPanelState,
|
|
59
65
|
});
|
|
66
|
+
exports.ToolPanelReady = ToolPanelReady;
|
|
60
67
|
const initialState = {
|
|
61
68
|
// default ToolPanels are set in ToolPanelModule.updateOldConfig() because we have to evaluate the ToolPanelOptions (for CustomToolPanel)
|
|
62
69
|
ToolPanels: undefined,
|
|
63
70
|
ModuleButtons: ['SettingsPanel'],
|
|
64
71
|
};
|
|
65
|
-
|
|
72
|
+
const ToolPanelReducer = (state = initialState, action) => {
|
|
66
73
|
var _a, _b, _c, _d;
|
|
67
74
|
const setToolPanels = (state, toolPanels = []) => {
|
|
68
75
|
return Object.assign(Object.assign({}, state), { ToolPanels: [...toolPanels] });
|
|
@@ -108,3 +115,4 @@ exports.ToolPanelReducer = (state = initialState, action) => {
|
|
|
108
115
|
return state;
|
|
109
116
|
}
|
|
110
117
|
};
|
|
118
|
+
exports.ToolPanelReducer = ToolPanelReducer;
|
package/src/Redux/DeadRedux.js
CHANGED
|
@@ -3,10 +3,11 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.UpdatedRowReducer = exports.UpdatedRowClear = exports.UPDATED_ROW_CLEAR = exports.FlashingCellReducer = exports.FlashingCellClear = exports.FLASHING_CELL_CLEAR = exports.PercentBarReducer = exports.PercentBarClear = exports.PERCENT_BAR_CLEAR = exports.GradientColumnReducer = exports.GradientColumnClear = exports.GRADIENT_COLUMN_CLEAR = void 0;
|
|
4
4
|
const initialGradientColumnState = {};
|
|
5
5
|
exports.GRADIENT_COLUMN_CLEAR = 'GRADIENT_COLUMN_CLEAR';
|
|
6
|
-
|
|
6
|
+
const GradientColumnClear = () => ({
|
|
7
7
|
type: exports.GRADIENT_COLUMN_CLEAR,
|
|
8
8
|
});
|
|
9
|
-
exports.
|
|
9
|
+
exports.GradientColumnClear = GradientColumnClear;
|
|
10
|
+
const GradientColumnReducer = (state = initialGradientColumnState, action) => {
|
|
10
11
|
switch (action.type) {
|
|
11
12
|
case exports.GRADIENT_COLUMN_CLEAR: {
|
|
12
13
|
return Object.assign({}, initialGradientColumnState);
|
|
@@ -15,12 +16,14 @@ exports.GradientColumnReducer = (state = initialGradientColumnState, action) =>
|
|
|
15
16
|
return state;
|
|
16
17
|
}
|
|
17
18
|
};
|
|
19
|
+
exports.GradientColumnReducer = GradientColumnReducer;
|
|
18
20
|
const initialPercentBarState = {};
|
|
19
21
|
exports.PERCENT_BAR_CLEAR = 'PERCENT_BAR_CLEAR';
|
|
20
|
-
|
|
22
|
+
const PercentBarClear = () => ({
|
|
21
23
|
type: exports.PERCENT_BAR_CLEAR,
|
|
22
24
|
});
|
|
23
|
-
exports.
|
|
25
|
+
exports.PercentBarClear = PercentBarClear;
|
|
26
|
+
const PercentBarReducer = (state = initialPercentBarState, action) => {
|
|
24
27
|
switch (action.type) {
|
|
25
28
|
case exports.PERCENT_BAR_CLEAR: {
|
|
26
29
|
return Object.assign({}, initialPercentBarState);
|
|
@@ -29,12 +32,14 @@ exports.PercentBarReducer = (state = initialPercentBarState, action) => {
|
|
|
29
32
|
return state;
|
|
30
33
|
}
|
|
31
34
|
};
|
|
35
|
+
exports.PercentBarReducer = PercentBarReducer;
|
|
32
36
|
const initialFlashingCellState = {};
|
|
33
37
|
exports.FLASHING_CELL_CLEAR = 'FLASHING_CELL_CLEAR';
|
|
34
|
-
|
|
38
|
+
const FlashingCellClear = () => ({
|
|
35
39
|
type: exports.FLASHING_CELL_CLEAR,
|
|
36
40
|
});
|
|
37
|
-
exports.
|
|
41
|
+
exports.FlashingCellClear = FlashingCellClear;
|
|
42
|
+
const FlashingCellReducer = (state = initialFlashingCellState, action) => {
|
|
38
43
|
switch (action.type) {
|
|
39
44
|
case exports.FLASHING_CELL_CLEAR: {
|
|
40
45
|
return Object.assign({}, initialFlashingCellState);
|
|
@@ -43,12 +48,14 @@ exports.FlashingCellReducer = (state = initialFlashingCellState, action) => {
|
|
|
43
48
|
return state;
|
|
44
49
|
}
|
|
45
50
|
};
|
|
51
|
+
exports.FlashingCellReducer = FlashingCellReducer;
|
|
46
52
|
const initialUpdatedRowState = {};
|
|
47
53
|
exports.UPDATED_ROW_CLEAR = 'UPDATED_ROW_CLEAR';
|
|
48
|
-
|
|
54
|
+
const UpdatedRowClear = () => ({
|
|
49
55
|
type: exports.UPDATED_ROW_CLEAR,
|
|
50
56
|
});
|
|
51
|
-
exports.
|
|
57
|
+
exports.UpdatedRowClear = UpdatedRowClear;
|
|
58
|
+
const UpdatedRowReducer = (state = initialUpdatedRowState, action) => {
|
|
52
59
|
switch (action.type) {
|
|
53
60
|
case exports.UPDATED_ROW_CLEAR: {
|
|
54
61
|
return Object.assign({}, initialUpdatedRowState);
|
|
@@ -57,3 +64,4 @@ exports.UpdatedRowReducer = (state = initialUpdatedRowState, action) => {
|
|
|
57
64
|
return state;
|
|
58
65
|
}
|
|
59
66
|
};
|
|
67
|
+
exports.UpdatedRowReducer = UpdatedRowReducer;
|
|
@@ -144,7 +144,7 @@ function MergeState(oldState, newState) {
|
|
|
144
144
|
}
|
|
145
145
|
exports.MergeState = MergeState;
|
|
146
146
|
let initialState;
|
|
147
|
-
|
|
147
|
+
const mergeReducer = (rootReducer, LOAD_STATE_TYPE) => {
|
|
148
148
|
let finalReducer = rootReducer;
|
|
149
149
|
finalReducer = (state, action) => {
|
|
150
150
|
if (action.type === LOAD_STATE_TYPE) {
|
|
@@ -158,3 +158,4 @@ exports.mergeReducer = (rootReducer, LOAD_STATE_TYPE) => {
|
|
|
158
158
|
};
|
|
159
159
|
return finalReducer;
|
|
160
160
|
};
|
|
161
|
+
exports.mergeReducer = mergeReducer;
|
|
@@ -56,13 +56,15 @@ const NON_PERSIST_ACTIONS = {
|
|
|
56
56
|
[SystemRedux_1.SYSTEM_PROGRESS_INDICATOR_SHOW]: true,
|
|
57
57
|
[SystemRedux_1.SYSTEM_PROGRESS_INDICATOR_HIDE]: true,
|
|
58
58
|
};
|
|
59
|
-
|
|
59
|
+
const InitState = () => ({
|
|
60
60
|
type: exports.INIT_STATE,
|
|
61
61
|
});
|
|
62
|
-
exports.
|
|
62
|
+
exports.InitState = InitState;
|
|
63
|
+
const LoadState = (State) => ({
|
|
63
64
|
type: exports.LOAD_STATE,
|
|
64
65
|
State,
|
|
65
66
|
});
|
|
67
|
+
exports.LoadState = LoadState;
|
|
66
68
|
class AdaptableStore {
|
|
67
69
|
/**
|
|
68
70
|
*
|
|
@@ -730,6 +732,12 @@ const adaptableMiddleware = (adaptable) => function (middlewareAPI) {
|
|
|
730
732
|
middlewareAPI.dispatch(PopupRedux_1.PopupShowForm({
|
|
731
733
|
Id: 'data-set-form',
|
|
732
734
|
Form: dataSet.form,
|
|
735
|
+
prepareContext: (context) => {
|
|
736
|
+
return new Promise((resolve) => {
|
|
737
|
+
const preparedContext = Object.assign(Object.assign({}, context), { dataSet });
|
|
738
|
+
resolve(preparedContext);
|
|
739
|
+
});
|
|
740
|
+
},
|
|
733
741
|
}));
|
|
734
742
|
}
|
|
735
743
|
});
|
|
@@ -1,13 +1,10 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import { AdaptableApi } from '../Api/AdaptableApi';
|
|
3
2
|
import { AlertDefinition } from '../PredefinedConfig/AlertState';
|
|
4
3
|
import { AdaptableAlert } from '../PredefinedConfig/Common/AdaptableAlert';
|
|
5
4
|
import { AdaptableMenuItem, ContextMenuContext } from '../PredefinedConfig/Common/Menu';
|
|
6
5
|
import { TeamSharingImportInfo } from '../PredefinedConfig/TeamSharingState';
|
|
7
|
-
import * as AlertRedux from '../Redux/ActionsReducers/AlertRedux';
|
|
8
|
-
import * as SystemRedux from '../Redux/ActionsReducers/SystemRedux';
|
|
9
6
|
import { AdaptableModuleBase } from './AdaptableModuleBase';
|
|
10
|
-
import { AdaptableObjectView, IModule } from './Interface/IModule';
|
|
7
|
+
import { AdaptableModuleView, AdaptableObjectView, IModule } from './Interface/IModule';
|
|
11
8
|
import { AdaptableObject } from '../PredefinedConfig/Common/AdaptableObject';
|
|
12
9
|
export declare class AlertModule extends AdaptableModuleBase implements IModule {
|
|
13
10
|
constructor(api: AdaptableApi);
|
|
@@ -37,19 +34,6 @@ export declare class AlertModule extends AdaptableModuleBase implements IModule
|
|
|
37
34
|
};
|
|
38
35
|
toView(alert: AlertDefinition): AdaptableObjectView;
|
|
39
36
|
toViewAll(): AdaptableObjectView[];
|
|
40
|
-
getViewProperties():
|
|
41
|
-
getDeleteAction: (alertDefinition: AlertDefinition) => AlertRedux.AlertDefinitionDeleteAction;
|
|
42
|
-
getSuspendAction: (alertDefinition: AlertDefinition) => AlertRedux.AlertDefinitionSuspendAction;
|
|
43
|
-
getUnSuspendAction: (alertDefinition: AlertDefinition) => AlertRedux.AlertDefinitionUnSuspendAction;
|
|
44
|
-
getCompactDeleteAction: (alert: AdaptableAlert) => SystemRedux.SystemAlertDeleteAction;
|
|
45
|
-
getDeleteAllAction: () => SystemRedux.SystemAlertDeleteAllAction;
|
|
46
|
-
emptyView: import("react").FunctionComponent<{
|
|
47
|
-
module: IModule;
|
|
48
|
-
}>;
|
|
49
|
-
getEditWizard: () => (props: import("../View/Alert/Wizard/AlertWizard").AlertWizardProps) => JSX.Element;
|
|
50
|
-
getStatusBarPanelProps: () => {
|
|
51
|
-
view: () => JSX.Element;
|
|
52
|
-
};
|
|
53
|
-
};
|
|
37
|
+
getViewProperties(): AdaptableModuleView;
|
|
54
38
|
canBeAssociatedWithLayouts(): boolean;
|
|
55
39
|
}
|
|
@@ -160,7 +160,8 @@ class AlertModule extends AdaptableModuleBase_1.AdaptableModuleBase {
|
|
|
160
160
|
// the row node data is most probably stale because the reactive queries buffer the changed data
|
|
161
161
|
// so we have to refresh it
|
|
162
162
|
reactiveAlertInfo.dataChangeLogEntry.rowNode = this.api.gridApi.getRowNodeForPrimaryKey(reactiveAlertInfo.dataChangeLogEntry.primaryKeyValue);
|
|
163
|
-
reactiveAlertInfo.dataChangeLogEntry.rowData =
|
|
163
|
+
reactiveAlertInfo.dataChangeLogEntry.rowData =
|
|
164
|
+
(_a = reactiveAlertInfo.dataChangeLogEntry.rowNode) === null || _a === void 0 ? void 0 : _a.data;
|
|
164
165
|
if (reactiveAlertInfo.type === 'alert') {
|
|
165
166
|
this.showAlertForDefinitions(reactiveAlertInfo.dataChangeLogEntry, [
|
|
166
167
|
reactiveAlertInfo.alertDefinition,
|
|
@@ -1,14 +1,12 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import { AdaptableApi } from '../Api/AdaptableApi';
|
|
3
2
|
import { AdaptableColumn } from '../PredefinedConfig/Common/AdaptableColumn';
|
|
4
3
|
import { AdaptableMenuItem } from '../PredefinedConfig/Common/Menu';
|
|
5
4
|
import { ConditionalStyle } from '../PredefinedConfig/ConditionalStyleState';
|
|
6
5
|
import { TeamSharingImportInfo } from '../PredefinedConfig/TeamSharingState';
|
|
7
|
-
import * as ConditionalStyleRedux from '../Redux/ActionsReducers/ConditionalStyleRedux';
|
|
8
6
|
import { AdaptableModuleBase } from './AdaptableModuleBase';
|
|
9
7
|
import { IConditionalStyleModule } from './Interface/IConditionalStyleModule';
|
|
10
8
|
import { AdaptableObject } from '../PredefinedConfig/Common/AdaptableObject';
|
|
11
|
-
import { AdaptableObjectView } from './Interface/IModule';
|
|
9
|
+
import { AdaptableModuleView, AdaptableObjectView } from './Interface/IModule';
|
|
12
10
|
export declare class ConditionalStyleModule extends AdaptableModuleBase implements IConditionalStyleModule {
|
|
13
11
|
constructor(api: AdaptableApi);
|
|
14
12
|
getModuleAdaptableObjects(config?: {
|
|
@@ -26,12 +24,6 @@ export declare class ConditionalStyleModule extends AdaptableModuleBase implemen
|
|
|
26
24
|
private shouldRunStyle;
|
|
27
25
|
toView(conditionalStyle: ConditionalStyle): AdaptableObjectView;
|
|
28
26
|
toViewAll(): AdaptableObjectView[];
|
|
29
|
-
getViewProperties():
|
|
30
|
-
getDeleteAction: (conditionalStyle: ConditionalStyle) => ConditionalStyleRedux.ConditionalStyleAction;
|
|
31
|
-
getSuspendAction: (conditionalStyle: ConditionalStyle) => ConditionalStyleRedux.ConditionalStyleSuspendAction;
|
|
32
|
-
getUnSuspendAction: (conditionalStyle: ConditionalStyle) => ConditionalStyleRedux.ConditionalStyleUnSuspendAction;
|
|
33
|
-
emptyView: string;
|
|
34
|
-
getEditWizard(): import("react").FunctionComponent<import("../View/ConditionalStyle/Wizard/ConditionalStyleWizard").ConditionalStyleWizardProps>;
|
|
35
|
-
};
|
|
27
|
+
getViewProperties(): AdaptableModuleView;
|
|
36
28
|
canBeAssociatedWithLayouts(): boolean;
|
|
37
29
|
}
|
|
@@ -1,16 +1,10 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import { AdaptableModuleBase } from './AdaptableModuleBase';
|
|
3
|
-
import { IModule } from './Interface/IModule';
|
|
2
|
+
import { AdaptableModuleView, IModule } from './Interface/IModule';
|
|
4
3
|
import { AdaptableApi } from '../Api/AdaptableApi';
|
|
5
4
|
export declare class DataChangeHistoryModule extends AdaptableModuleBase implements IModule {
|
|
6
5
|
constructor(api: AdaptableApi);
|
|
7
6
|
getPopupMaxWidth(): number;
|
|
8
7
|
hasNamedQueryReferences(): boolean;
|
|
9
8
|
private shouldLogDataChange;
|
|
10
|
-
getViewProperties():
|
|
11
|
-
getStatusBarPanelProps: () => {
|
|
12
|
-
triggerActionOnWrapperClick: boolean;
|
|
13
|
-
content: import("react").FunctionComponent<{}>;
|
|
14
|
-
};
|
|
15
|
-
};
|
|
9
|
+
getViewProperties(): AdaptableModuleView;
|
|
16
10
|
}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import { AdaptableModuleBase } from './AdaptableModuleBase';
|
|
3
|
-
import { AdaptableObjectView, IModule } from './Interface/IModule';
|
|
2
|
+
import { AdaptableModuleView, AdaptableObjectView, IModule } from './Interface/IModule';
|
|
4
3
|
import { AdaptableApi } from '../Api/AdaptableApi';
|
|
5
4
|
import { AdaptableObject } from '../PredefinedConfig/Common/AdaptableObject';
|
|
6
5
|
import { DataSet } from '../AdaptableOptions/GeneralOptions';
|
|
@@ -11,15 +10,5 @@ export declare class DataSetModule extends AdaptableModuleBase implements IModul
|
|
|
11
10
|
hasNamedQueryReferences(): boolean;
|
|
12
11
|
toView(dataSet: DataSet): AdaptableObjectView;
|
|
13
12
|
toViewAll(): AdaptableObjectView[];
|
|
14
|
-
getViewProperties():
|
|
15
|
-
actions: import("react").FunctionComponent<{
|
|
16
|
-
data: DataSet;
|
|
17
|
-
id?: string;
|
|
18
|
-
accessLevel: import("../types").AccessLevel;
|
|
19
|
-
}>[];
|
|
20
|
-
getStatusBarPanelProps: () => {
|
|
21
|
-
content: string;
|
|
22
|
-
popover: import("react").FunctionComponent<{}>;
|
|
23
|
-
};
|
|
24
|
-
};
|
|
13
|
+
getViewProperties(): AdaptableModuleView;
|
|
25
14
|
}
|
|
@@ -1,14 +1,12 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import { AdaptableModuleBase } from './AdaptableModuleBase';
|
|
3
2
|
import { IExportModule } from './Interface/IExportModule';
|
|
4
3
|
import { ExportDestination } from '../PredefinedConfig/Common/Enums';
|
|
5
4
|
import { Report } from '../PredefinedConfig/ExportState';
|
|
6
|
-
import * as ExportRedux from '../Redux/ActionsReducers/ExportRedux';
|
|
7
5
|
import { TeamSharingImportInfo } from '../PredefinedConfig/TeamSharingState';
|
|
8
6
|
import { AdaptableMenuItem, ContextMenuContext } from '../PredefinedConfig/Common/Menu';
|
|
9
7
|
import { AdaptableApi } from '../Api/AdaptableApi';
|
|
10
8
|
import { AdaptableObject } from '../PredefinedConfig/Common/AdaptableObject';
|
|
11
|
-
import { AdaptableObjectView } from './Interface/IModule';
|
|
9
|
+
import { AdaptableModuleView, AdaptableObjectView } from './Interface/IModule';
|
|
12
10
|
export declare class ExportModule extends AdaptableModuleBase implements IExportModule {
|
|
13
11
|
constructor(api: AdaptableApi);
|
|
14
12
|
getModuleAdaptableObjects(): AdaptableObject[];
|
|
@@ -29,14 +27,5 @@ export declare class ExportModule extends AdaptableModuleBase implements IExport
|
|
|
29
27
|
private showEmptyExportWarning;
|
|
30
28
|
toView(report: Report): AdaptableObjectView;
|
|
31
29
|
toViewAll(): AdaptableObjectView[];
|
|
32
|
-
getViewProperties():
|
|
33
|
-
newTooltipText: string;
|
|
34
|
-
actions: import("./Interface/IModule").AdaptableModuleViewAction[];
|
|
35
|
-
getDeleteAction: (report: Report) => ExportRedux.ReportDeleteAction;
|
|
36
|
-
getEditWizard(): (props: import("../View/Export/Wizard/NewReportWizard").NewReportWizardProps) => JSX.Element;
|
|
37
|
-
getStatusBarPanelProps: () => {
|
|
38
|
-
content: import("react").FunctionComponent<import("../View/Export/ExportSelector").ExportSelectorProps>;
|
|
39
|
-
triggerActionOnWrapperClick: boolean;
|
|
40
|
-
};
|
|
41
|
-
};
|
|
30
|
+
getViewProperties(): AdaptableModuleView;
|
|
42
31
|
}
|
|
@@ -1,10 +1,8 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import { AdaptableModuleBase } from './AdaptableModuleBase';
|
|
3
2
|
import { AdaptableColumn } from '../PredefinedConfig/Common/AdaptableColumn';
|
|
4
3
|
import { AdaptableMenuItem, ContextMenuContext } from '../PredefinedConfig/Common/Menu';
|
|
5
|
-
import * as LayoutRedux from '../Redux/ActionsReducers/LayoutRedux';
|
|
6
4
|
import { TeamSharingImportInfo } from '../PredefinedConfig/TeamSharingState';
|
|
7
|
-
import { AdaptableObjectCompactView, AdaptableObjectView, IModule } from './Interface/IModule';
|
|
5
|
+
import { AdaptableModuleView, AdaptableObjectCompactView, AdaptableObjectView, IModule } from './Interface/IModule';
|
|
8
6
|
import { AdaptableApi } from '../Api/AdaptableApi';
|
|
9
7
|
import { AdaptableObject } from '../PredefinedConfig/Common/AdaptableObject';
|
|
10
8
|
import { ColumnFilter } from '../types';
|
|
@@ -20,15 +18,5 @@ export declare class FilterModule extends AdaptableModuleBase implements IModule
|
|
|
20
18
|
toViewCompact(filter: ColumnFilter): AdaptableObjectCompactView;
|
|
21
19
|
toView(filter: ColumnFilter): AdaptableObjectView;
|
|
22
20
|
toViewAll(): AdaptableObjectView[];
|
|
23
|
-
getViewProperties():
|
|
24
|
-
getDeleteAction: (columnFilter: ColumnFilter) => LayoutRedux.LayoutFilterClearAction;
|
|
25
|
-
getCompactDeleteAction: (columnFilter: ColumnFilter) => LayoutRedux.LayoutFilterClearAction;
|
|
26
|
-
getDeleteAllAction: () => LayoutRedux.LayoutFilterClearAllAction;
|
|
27
|
-
emptyView: string;
|
|
28
|
-
getStatusBarPanelProps(): {
|
|
29
|
-
content: string;
|
|
30
|
-
popover: import("react").FunctionComponent<{}>;
|
|
31
|
-
popoverMinWidth: number;
|
|
32
|
-
};
|
|
33
|
-
};
|
|
21
|
+
getViewProperties(): AdaptableModuleView;
|
|
34
22
|
}
|
|
@@ -79,7 +79,7 @@ class FilterModule extends AdaptableModuleBase_1.AdaptableModuleBase {
|
|
|
79
79
|
return {
|
|
80
80
|
ModuleEntities: this.api.filterApi.getColumnFilters(),
|
|
81
81
|
AddAction: LayoutRedux.LayoutColumnFilterAdd,
|
|
82
|
-
EditAction: LayoutRedux.LayoutColumnFilterEdit,
|
|
82
|
+
EditAction: LayoutRedux.LayoutColumnFilterEdit, //TODO need to change this to ColumnFilterSet
|
|
83
83
|
};
|
|
84
84
|
}
|
|
85
85
|
toViewCompact(filter) {
|
|
@@ -1,12 +1,10 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import { AdaptableApi } from '../Api/AdaptableApi';
|
|
3
2
|
import { AdaptableColumn } from '../PredefinedConfig/Common/AdaptableColumn';
|
|
4
3
|
import { CellDataChangedInfo } from '../PredefinedConfig/Common/CellDataChangedInfo';
|
|
5
4
|
import { AdaptableMenuItem, ContextMenuContext } from '../PredefinedConfig/Common/Menu';
|
|
6
5
|
import { TeamSharingImportInfo } from '../PredefinedConfig/TeamSharingState';
|
|
7
|
-
import * as FlashingCellRedux from '../Redux/ActionsReducers/FlashingCellRedux';
|
|
8
6
|
import { AdaptableModuleBase } from './AdaptableModuleBase';
|
|
9
|
-
import { AdaptableObjectView, IModule } from './Interface/IModule';
|
|
7
|
+
import { AdaptableModuleView, AdaptableObjectView, IModule } from './Interface/IModule';
|
|
10
8
|
import { AdaptableObject } from '../PredefinedConfig/Common/AdaptableObject';
|
|
11
9
|
import { FlashingCellDefinition } from '../PredefinedConfig/FlashingCellState';
|
|
12
10
|
export declare class FlashingCellModule extends AdaptableModuleBase implements IModule {
|
|
@@ -26,11 +24,6 @@ export declare class FlashingCellModule extends AdaptableModuleBase implements I
|
|
|
26
24
|
getTeamSharingAction(): TeamSharingImportInfo<FlashingCellDefinition>;
|
|
27
25
|
toView(flashingCell: FlashingCellDefinition): AdaptableObjectView;
|
|
28
26
|
toViewAll(): AdaptableObjectView[];
|
|
29
|
-
getViewProperties():
|
|
30
|
-
getSuspendAction: (flashingCellDefinition: FlashingCellDefinition) => FlashingCellRedux.FlashingCellDefinitionEditAction;
|
|
31
|
-
getUnSuspendAction: (flashingCellDefinition: FlashingCellDefinition) => FlashingCellRedux.FlashingCellDefinitionEditAction;
|
|
32
|
-
getDeleteAction: (flashingCellDefinition: FlashingCellDefinition) => FlashingCellRedux.FlashingCellDefinitionDeleteAction;
|
|
33
|
-
getEditWizard: () => (props: import("../View/FlashingCell/Wizard/FlashingCellWizard").FlashingCellWizardProps) => JSX.Element;
|
|
34
|
-
};
|
|
27
|
+
getViewProperties(): AdaptableModuleView;
|
|
35
28
|
canBeAssociatedWithLayouts(): boolean;
|
|
36
29
|
}
|
|
@@ -43,7 +43,9 @@ class GridInfoModule extends AdaptableModuleBase_1.AdaptableModuleBase {
|
|
|
43
43
|
{
|
|
44
44
|
label: 'Show Info',
|
|
45
45
|
isVisible: true,
|
|
46
|
-
icon:
|
|
46
|
+
icon: {
|
|
47
|
+
name: this.moduleInfo.Glyph,
|
|
48
|
+
},
|
|
47
49
|
subItems: selectMenuItems,
|
|
48
50
|
},
|
|
49
51
|
];
|
|
@@ -89,7 +91,9 @@ class GridInfoModule extends AdaptableModuleBase_1.AdaptableModuleBase {
|
|
|
89
91
|
{
|
|
90
92
|
label: 'Show Info',
|
|
91
93
|
isVisible: true,
|
|
92
|
-
icon:
|
|
94
|
+
icon: {
|
|
95
|
+
name: this.moduleInfo.Glyph,
|
|
96
|
+
},
|
|
93
97
|
subItems: selectMenuItems,
|
|
94
98
|
},
|
|
95
99
|
];
|
|
@@ -1,12 +1,10 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import { AdaptableModuleBase } from './AdaptableModuleBase';
|
|
3
2
|
import { LayoutState, Layout } from '../PredefinedConfig/LayoutState';
|
|
4
3
|
import { AdaptableMenuItem, ContextMenuContext } from '../PredefinedConfig/Common/Menu';
|
|
5
|
-
import * as LayoutRedux from '../Redux/ActionsReducers/LayoutRedux';
|
|
6
4
|
import { TeamSharingImportInfo } from '../PredefinedConfig/TeamSharingState';
|
|
7
5
|
import { AdaptableColumn } from '../PredefinedConfig/Common/AdaptableColumn';
|
|
8
6
|
import { AdaptableApi } from '../Api/AdaptableApi';
|
|
9
|
-
import { IModule } from './Interface/IModule';
|
|
7
|
+
import { AdaptableModuleView, IModule } from './Interface/IModule';
|
|
10
8
|
import { AdaptableObject } from '../PredefinedConfig/Common/AdaptableObject';
|
|
11
9
|
export declare class LayoutModule extends AdaptableModuleBase implements IModule {
|
|
12
10
|
protected LayoutState: LayoutState;
|
|
@@ -32,19 +30,6 @@ export declare class LayoutModule extends AdaptableModuleBase implements IModule
|
|
|
32
30
|
}[];
|
|
33
31
|
abObject: Layout;
|
|
34
32
|
};
|
|
35
|
-
getViewProperties():
|
|
36
|
-
actions: import("react").FunctionComponent<{
|
|
37
|
-
data: Layout;
|
|
38
|
-
accessLevel: import("../types").AccessLevel;
|
|
39
|
-
}>[];
|
|
40
|
-
getDeleteAction: (layout: Layout) => LayoutRedux.LayoutDeleteAction;
|
|
41
|
-
onOpenEditPopup: (layout?: Layout) => void;
|
|
42
|
-
getStatusBarPanelProps: () => {
|
|
43
|
-
content: string;
|
|
44
|
-
popover: import("react").FunctionComponent<{}>;
|
|
45
|
-
popoverMinWidth: number;
|
|
46
|
-
extraActions: import("react").FunctionComponent<{}>[];
|
|
47
|
-
};
|
|
48
|
-
};
|
|
33
|
+
getViewProperties(): AdaptableModuleView;
|
|
49
34
|
handleLayoutChange(): void;
|
|
50
35
|
}
|
|
@@ -15,7 +15,8 @@ class LayoutModule extends AdaptableModuleBase_1.AdaptableModuleBase {
|
|
|
15
15
|
super(ModuleConstants.LayoutModuleId, 'Layout', 'layout', 'LayoutPopup', 'Named sets of column visibility, order, groupings, aggregation, pivots etc.', api);
|
|
16
16
|
this.api.eventApi.on('LayoutChanged', (layoutChangedInfo) => {
|
|
17
17
|
var _a;
|
|
18
|
-
if (layoutChangedInfo.newLayoutState.CurrentLayout !==
|
|
18
|
+
if (layoutChangedInfo.newLayoutState.CurrentLayout !==
|
|
19
|
+
((_a = layoutChangedInfo.oldLayoutState) === null || _a === void 0 ? void 0 : _a.CurrentLayout)) {
|
|
19
20
|
// we are interested only if current layout was changed (is different from the previous one)
|
|
20
21
|
this.handleLayoutChange();
|
|
21
22
|
}
|
|
@@ -111,7 +112,9 @@ class LayoutModule extends AdaptableModuleBase_1.AdaptableModuleBase {
|
|
|
111
112
|
returnColumnMenuItems.push({
|
|
112
113
|
label: 'Select',
|
|
113
114
|
isVisible: true,
|
|
114
|
-
icon:
|
|
115
|
+
icon: {
|
|
116
|
+
name: 'tab-unselected',
|
|
117
|
+
},
|
|
115
118
|
subItems: selectMenuItems,
|
|
116
119
|
});
|
|
117
120
|
}
|
|
@@ -146,7 +149,7 @@ class LayoutModule extends AdaptableModuleBase_1.AdaptableModuleBase {
|
|
|
146
149
|
returnColumnMenuItems.push({
|
|
147
150
|
label: 'Grid',
|
|
148
151
|
isVisible: true,
|
|
149
|
-
icon: 'align-justify',
|
|
152
|
+
icon: { name: 'align-justify' },
|
|
150
153
|
subItems: gridMenuItems,
|
|
151
154
|
});
|
|
152
155
|
}
|