@adaptabletools/adaptable 22.0.0-canary.1 → 22.0.0-canary.11
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/agGrid.d.ts +9 -9
- package/agGrid.js +1 -0
- package/index.css +1280 -1400
- package/index.css.map +1 -1
- package/index.d.ts +66 -0
- package/index.js +73 -0
- package/package.json +3 -3
- package/src/AdaptableInterfaces/IAdaptable.d.ts +6 -6
- package/src/AdaptableOptions/ActionColumnOptions.d.ts +2 -2
- package/src/AdaptableOptions/AdaptablePlugin.js +6 -1
- package/src/AdaptableOptions/ColumnOptions.d.ts +2 -2
- package/src/AdaptableOptions/ContainerOptions.d.ts +55 -15
- package/src/AdaptableOptions/CustomSortOptions.d.ts +4 -0
- package/src/AdaptableOptions/DashboardOptions.d.ts +1 -2
- package/src/AdaptableOptions/ExportOptions.d.ts +1 -2
- package/src/AdaptableOptions/FilterOptions.d.ts +3 -0
- package/src/AdaptableOptions/ToolPanelOptions.d.ts +1 -2
- package/src/AdaptableState/AdaptableState.d.ts +2 -0
- package/src/AdaptableState/AlertState.d.ts +5 -2
- package/src/AdaptableState/ChartingState.d.ts +2 -2
- package/src/AdaptableState/Common/AdaptableAlert.d.ts +2 -2
- package/src/AdaptableState/Common/AdaptableButton.d.ts +2 -2
- package/src/AdaptableState/Common/AdaptableColumn.d.ts +16 -10
- package/src/AdaptableState/Common/AdaptableColumnContext.d.ts +9 -0
- package/src/AdaptableState/Common/AdaptableFlashingCell.d.ts +2 -2
- package/src/AdaptableState/Common/AdaptableObject.d.ts +20 -2
- package/src/AdaptableState/Common/AdaptableRowContext.d.ts +11 -0
- package/src/AdaptableState/Common/AdaptableStyle.d.ts +8 -0
- package/src/AdaptableState/Common/BaseContext.d.ts +2 -0
- package/src/AdaptableState/Common/ColumnHighlightInfo.d.ts +18 -0
- package/src/AdaptableState/Common/DataUpdateConfig.d.ts +17 -0
- package/src/AdaptableState/Common/NamedObject.d.ts +10 -0
- package/src/AdaptableState/Common/NamedObject.js +1 -0
- package/src/AdaptableState/Common/RowDataChangedInfo.d.ts +3 -0
- package/src/AdaptableState/Common/RowSummary.d.ts +1 -1
- package/src/AdaptableState/Common/Schedule.d.ts +8 -5
- package/src/AdaptableState/Common/SystemStatusMessageInfo.d.ts +2 -2
- package/src/AdaptableState/Common/TransposeConfig.d.ts +12 -10
- package/src/AdaptableState/CustomSortState.d.ts +5 -1
- package/src/AdaptableState/DashboardState.d.ts +1 -1
- package/src/AdaptableState/ExportState.d.ts +1 -1
- package/src/AdaptableState/FlashingCellState.d.ts +6 -2
- package/src/AdaptableState/FormatColumnState.d.ts +5 -9
- package/src/AdaptableState/InitialState.d.ts +10 -1
- package/src/AdaptableState/InternalState.d.ts +2 -0
- package/src/AdaptableState/LayoutState.d.ts +7 -3
- package/src/AdaptableState/NamedQueryState.d.ts +1 -1
- package/src/AdaptableState/PlusMinusState.d.ts +5 -1
- package/src/AdaptableState/Selection/GridCell.d.ts +9 -0
- package/src/AdaptableState/ShortcutState.d.ts +5 -1
- package/src/AdaptableState/StyledColumnState.d.ts +1 -1
- package/src/AdaptableState/ThemeState.d.ts +1 -1
- package/src/AdaptableState/UserInterfaceState.d.ts +14 -0
- package/src/AdaptableState/UserInterfaceState.js +1 -0
- package/src/Api/AlertApi.d.ts +6 -0
- package/src/Api/CustomSortApi.d.ts +12 -3
- package/src/Api/DataSetApi.d.ts +1 -1
- package/src/Api/FlashingCellApi.d.ts +6 -0
- package/src/Api/FormatColumnApi.d.ts +10 -4
- package/src/Api/GridApi.d.ts +27 -12
- package/src/Api/Implementation/ActionColumnApiImpl.js +1 -0
- package/src/Api/Implementation/AdaptableApiImpl.js +52 -0
- package/src/Api/Implementation/AlertApiImpl.d.ts +1 -0
- package/src/Api/Implementation/AlertApiImpl.js +6 -6
- package/src/Api/Implementation/ApiBase.d.ts +1 -1
- package/src/Api/Implementation/ApiBase.js +2 -1
- package/src/Api/Implementation/CalculatedColumnApiImpl.js +1 -0
- package/src/Api/Implementation/ChartingApiImpl.js +6 -2
- package/src/Api/Implementation/ColumnApiImpl.d.ts +1 -1
- package/src/Api/Implementation/ColumnApiImpl.js +1 -0
- package/src/Api/Implementation/ColumnFilterApiImpl.js +1 -0
- package/src/Api/Implementation/CommentsApiImpl.js +1 -0
- package/src/Api/Implementation/CustomSortApiImpl.d.ts +6 -1
- package/src/Api/Implementation/CustomSortApiImpl.js +6 -2
- package/src/Api/Implementation/DashboardApiImpl.js +1 -0
- package/src/Api/Implementation/DataChangeHistoryApiImpl.js +12 -15
- package/src/Api/Implementation/DataImportApiImpl.js +1 -0
- package/src/Api/Implementation/DataSetApiImpl.js +1 -0
- package/src/Api/Implementation/EntitlementApiImpl.js +1 -0
- package/src/Api/Implementation/EventApiImpl.js +16 -14
- package/src/Api/Implementation/ExportApiImpl.js +1 -0
- package/src/Api/Implementation/ExpressionApiImpl.js +1 -0
- package/src/Api/Implementation/Fdc3ApiImpl.js +1 -0
- package/src/Api/Implementation/FilterApiImpl.js +3 -0
- package/src/Api/Implementation/FlashingCellApiImpl.d.ts +1 -0
- package/src/Api/Implementation/FlashingCellApiImpl.js +4 -0
- package/src/Api/Implementation/FormatColumnApiImpl.d.ts +6 -5
- package/src/Api/Implementation/FormatColumnApiImpl.js +7 -5
- package/src/Api/Implementation/FreeTextColumnApiImpl.js +1 -0
- package/src/Api/Implementation/GridApiImpl.d.ts +11 -10
- package/src/Api/Implementation/GridApiImpl.js +39 -21
- package/src/Api/Implementation/GridFilterApiImpl.js +1 -0
- package/src/Api/Implementation/LayoutApiImpl.d.ts +1 -0
- package/src/Api/Implementation/LayoutApiImpl.js +5 -1
- package/src/Api/Implementation/LayoutHelpers.js +7 -0
- package/src/Api/Implementation/NamedQueryApiImpl.js +3 -2
- package/src/Api/Implementation/NoteApiImpl.js +1 -0
- package/src/Api/Implementation/PlusMinusApiImpl.d.ts +1 -0
- package/src/Api/Implementation/PlusMinusApiImpl.js +3 -0
- package/src/Api/Implementation/PredicateApiImpl.js +1 -0
- package/src/Api/Implementation/RowFormApiImpl.js +1 -0
- package/src/Api/Implementation/ScheduleApiImpl.d.ts +1 -0
- package/src/Api/Implementation/ScheduleApiImpl.js +4 -0
- package/src/Api/Implementation/ShortcutApiImpl.d.ts +1 -0
- package/src/Api/Implementation/ShortcutApiImpl.js +3 -0
- package/src/Api/Implementation/StyledColumnApiImpl.js +1 -0
- package/src/Api/Implementation/SystemStatusApiImpl.js +8 -9
- package/src/Api/Implementation/TeamSharingApiImpl.js +1 -0
- package/src/Api/Implementation/ThemeApiImpl.js +1 -0
- package/src/Api/Implementation/UserInterfaceApiImpl.d.ts +5 -0
- package/src/Api/Implementation/UserInterfaceApiImpl.js +15 -1
- package/src/Api/Internal/CalculatedColumnInternalApi.js +2 -2
- package/src/Api/Internal/ColumnInternalApi.js +1 -1
- package/src/Api/Internal/FormatColumnInternalApi.d.ts +0 -10
- package/src/Api/Internal/FormatColumnInternalApi.js +1 -19
- package/src/Api/Internal/FreeTextColumnInternalApi.js +2 -2
- package/src/Api/Internal/LayoutInternalApi.js +1 -1
- package/src/Api/Internal/NamedQueryInternalApi.js +4 -4
- package/src/Api/LayoutApi.d.ts +6 -0
- package/src/Api/PlusMinusApi.d.ts +6 -0
- package/src/Api/ScheduleApi.d.ts +6 -0
- package/src/Api/ShortcutApi.d.ts +6 -0
- package/src/Api/UserInterfaceApi.d.ts +17 -0
- package/src/Redux/ActionsReducers/FormatColumnRedux.d.ts +8 -0
- package/src/Redux/ActionsReducers/FormatColumnRedux.js +15 -0
- package/src/Redux/ActionsReducers/InternalRedux.d.ts +15 -0
- package/src/Redux/ActionsReducers/InternalRedux.js +36 -0
- package/src/Redux/ActionsReducers/LayoutRedux.d.ts +1 -1
- package/src/Redux/ActionsReducers/NoteRedux.js +1 -1
- package/src/Redux/ActionsReducers/UserInterfaceRedux.d.ts +11 -0
- package/src/Redux/ActionsReducers/UserInterfaceRedux.js +21 -0
- package/src/Redux/Store/AdaptableReduxLocalStorageEngine.js +6 -0
- package/src/Redux/Store/AdaptableStore.js +113 -57
- package/src/Strategy/AdaptableModuleBase.js +4 -0
- package/src/Strategy/AlertModule.js +5 -0
- package/src/Strategy/BulkUpdateModule.js +8 -8
- package/src/Strategy/CalculatedColumnModule.js +1 -0
- package/src/Strategy/CellSummaryModule.js +1 -1
- package/src/Strategy/CustomSortModule.js +4 -0
- package/src/Strategy/DataChangeHistoryModule.js +1 -0
- package/src/Strategy/FlashingCellModule.js +6 -0
- package/src/Strategy/FormatColumnModule.js +4 -0
- package/src/Strategy/FreeTextColumnModule.js +1 -0
- package/src/Strategy/LayoutModule.js +6 -5
- package/src/Strategy/PlusMinusModule.js +7 -1
- package/src/Strategy/QuickSearchModule.js +1 -1
- package/src/Strategy/ScheduleModule.js +5 -0
- package/src/Strategy/SettingsPanelModule.js +11 -7
- package/src/Strategy/ShortcutModule.js +6 -0
- package/src/Strategy/SmartEditModule.js +10 -10
- package/src/Strategy/TeamSharingModule.js +10 -10
- package/src/Strategy/Utilities/FormatColumn/getFormatColumnSettingsViewItems.js +0 -3
- package/src/Utilities/Constants/DocumentationLinkConstants.d.ts +3 -3
- package/src/Utilities/Constants/DocumentationLinkConstants.js +3 -3
- package/src/Utilities/ExpressionFunctions/deepMap.js +31 -31
- package/src/Utilities/ExpressionFunctions/scalarExpressionFunctions.js +3 -3
- package/src/Utilities/Extensions/StringExtensions.d.ts +2 -0
- package/src/Utilities/Extensions/StringExtensions.js +16 -0
- package/src/Utilities/Helpers/FormatHelper.js +9 -2
- package/src/Utilities/Helpers/StyleHelper.js +14 -0
- package/src/Utilities/MenuItem.js +18 -0
- package/src/Utilities/ObjectFactory.js +16 -3
- package/src/Utilities/Services/AggregatedScalarLiveValue.js +8 -0
- package/src/Utilities/Services/AlertService.js +6 -4
- package/src/Utilities/Services/AnnotationsService.js +4 -1
- package/src/Utilities/Services/CalculatedColumnExpressionService.js +2 -1
- package/src/Utilities/Services/ChartingService.js +1 -0
- package/src/Utilities/Services/DataService.js +11 -3
- package/src/Utilities/Services/Fdc3Service.js +9 -7
- package/src/Utilities/Services/FlashingCellService.js +5 -0
- package/src/Utilities/Services/LicenseService/index.js +1 -1
- package/src/Utilities/Services/MetamodelService.js +2 -2
- package/src/Utilities/Services/ModuleService.js +5 -6
- package/src/Utilities/Services/QueryLanguageService.js +6 -5
- package/src/Utilities/Services/RowFormService.js +1 -0
- package/src/Utilities/Services/RowSummaryService.js +10 -7
- package/src/Utilities/Services/TeamSharingService.js +3 -1
- package/src/Utilities/Services/ThemeService.js +13 -15
- package/src/Utilities/Services/ValidationService.js +2 -1
- package/src/Utilities/createAgStatusPanelComponent.js +3 -0
- package/src/Utilities/logDeprecation.js +3 -4
- package/src/Utilities/resolveContainerElement.d.ts +23 -0
- package/src/Utilities/resolveContainerElement.js +44 -0
- package/src/View/AdaptablePopover/index.d.ts +1 -0
- package/src/View/AdaptablePopover/index.js +1 -1
- package/src/View/Alert/ActiveAlertsPanel.js +8 -0
- package/src/View/Alert/AlertViewPanel.js +13 -9
- package/src/View/Alert/Utilities/getAlertButtonStyle.d.ts +1 -0
- package/src/View/Alert/Utilities/getAlertButtonStyle.js +8 -0
- package/src/View/Alert/Utilities/getDefaultAlertDefinition.d.ts +1 -0
- package/src/View/Alert/Wizard/AlertTypeWizardSection.d.ts +5 -2
- package/src/View/Alert/Wizard/AlertTypeWizardSection.js +47 -12
- package/src/View/Alert/Wizard/AlertWizard.js +14 -10
- package/src/View/Alert/Wizard/isValidAlertRules.js +1 -1
- package/src/View/BulkUpdate/BulkUpdateViewPanel.js +24 -11
- package/src/View/CalculatedColumn/Wizard/CalculatedColumnDefinitionWizardSection.js +2 -2
- package/src/View/CalculatedColumn/Wizard/CalculatedColumnExpressionWizardSection.js +2 -2
- package/src/View/CalculatedColumn/Wizard/CalculatedColumnSettingsWizardSection.js +1 -1
- package/src/View/CellSummary/CellSummaryViewPanel.js +16 -17
- package/src/View/Charting/ChartingWizard/AgChargingWizard/SettingsSection.js +2 -2
- package/src/View/Charting/ChartingWizard/ExternalChartingWizard/SettingsSection.js +2 -2
- package/src/View/Components/AdaptableDateInput/index.js +1 -1
- package/src/View/Components/Buttons/ButtonApply.js +1 -1
- package/src/View/Components/Buttons/ButtonBase/index.js +9 -9
- package/src/View/Components/Buttons/ButtonClear.d.ts +1 -0
- package/src/View/Components/Buttons/EntityListActionButtons.d.ts +1 -2
- package/src/View/Components/Buttons/EntityListActionButtons.js +18 -18
- package/src/View/Components/Buttons/SuspendToggleButton/SuspendToggleButton.d.ts +1 -2
- package/src/View/Components/CellPopup/index.js +1 -1
- package/src/View/Components/ColumnFilter/FloatingFilter.js +41 -3
- package/src/View/Components/ColumnFilter/components/ColumnFilterInput.js +1 -1
- package/src/View/Components/ColumnFilter/components/ColumnFilterMenu.js +54 -2
- package/src/View/Components/ColumnFilter/components/FloatingFilterValues.js +1 -1
- package/src/View/Components/EntityRulesEditor/Utilities.js +5 -5
- package/src/View/Components/NewScopeComponent.js +3 -3
- package/src/View/Components/Panels/PanelDashboard/index.js +8 -8
- package/src/View/Components/Panels/PanelToolPanel/index.js +7 -7
- package/src/View/Components/Popups/AdaptablePopup/AdaptablePopup.js +2 -1
- package/src/View/Components/Popups/AdaptablePopup/AdaptablePopupBody.js +1 -1
- package/src/View/Components/Popups/AdaptablePopup/AdaptablePopupDialog.d.ts +1 -1
- package/src/View/Components/Popups/AdaptablePopup/AdaptablePopupDialog.js +1 -8
- package/src/View/Components/Popups/AdaptablePopupConfirmation.js +1 -1
- package/src/View/Components/Popups/WindowPopups/WindowPopups.js +36 -1
- package/src/View/Components/Selectors/BulkUpdateValueSelector.js +19 -18
- package/src/View/Components/StyleComponent.d.ts +1 -0
- package/src/View/Components/StyleComponent.js +94 -24
- package/src/View/Components/ToolPanel/AdaptableToolPanel.js +2 -0
- package/src/View/Components/WizardSummaryPage.js +1 -1
- package/src/View/CustomSort/Wizard/CustomSortColumnWizardSection.d.ts +2 -1
- package/src/View/CustomSort/Wizard/CustomSortColumnWizardSection.js +41 -15
- package/src/View/CustomSort/Wizard/CustomSortValuesWizardSection.js +1 -1
- package/src/View/CustomSort/Wizard/CustomSortWizard.js +4 -4
- package/src/View/Dashboard/CustomToolbar.js +1 -1
- package/src/View/Dashboard/DashboardPopup.js +4 -5
- package/src/View/DataChangeHistory/DataChangeHistoryGrid.js +1 -0
- package/src/View/DataChangeHistory/DataChangeHistoryViewPanel.js +1 -1
- package/src/View/Export/ExportDestinationPicker.js +1 -1
- package/src/View/Export/ExportStatusBar.js +4 -2
- package/src/View/Export/ExportViewPanel.js +25 -18
- package/src/View/FlashingCell/Wizard/FlashingCellSettingsWizardSection.d.ts +2 -1
- package/src/View/FlashingCell/Wizard/FlashingCellSettingsWizardSection.js +34 -14
- package/src/View/FlashingCell/Wizard/FlashingCellWizard.js +14 -10
- package/src/View/FlashingCell/Wizard/isValidFlashingCellRules.js +1 -1
- package/src/View/FormatColumn/Wizard/FormatColumnSettingsWizardSection.js +46 -51
- package/src/View/FormatColumn/Wizard/FormatColumnStyleWizardSection.js +2 -2
- package/src/View/FormatColumn/Wizard/FormatColumnWizard.js +20 -9
- package/src/View/FreeTextColumn/Wizard/FreeTextColumnSettingsWizardSection.d.ts +1 -1
- package/src/View/FreeTextColumn/Wizard/FreeTextColumnSettingsWizardSection.js +3 -3
- package/src/View/GridFilter/GridFilterExpressionEditor.js +6 -1
- package/src/View/GridFilter/GridFilterViewPanel.js +33 -70
- package/src/View/GridInfo/GridInfoPopup/GridInfoPopup.js +57 -65
- package/src/View/Layout/LayoutViewPanel.js +1 -1
- package/src/View/Layout/TransposedPopup.js +144 -138
- package/src/View/Layout/Wizard/sections/AggregationsSection.js +1 -1
- package/src/View/Layout/Wizard/sections/FilterSection.js +1 -1
- package/src/View/Layout/Wizard/sections/GridFilterSection.js +1 -1
- package/src/View/Layout/Wizard/sections/PivotAggregationsSection.js +3 -3
- package/src/View/Layout/Wizard/sections/PivotColumnsSection.js +8 -0
- package/src/View/Layout/Wizard/sections/RowSummarySection.js +1 -1
- package/src/View/NamedQuery/Wizard/NamedQueryExpressionWizardSection.js +2 -2
- package/src/View/PlusMinus/Wizard/PlusMinusSettingsWizardSection.js +35 -12
- package/src/View/PlusMinus/Wizard/PlusMinusWizard.js +20 -15
- package/src/View/QuickSearch/QuickSearchPopup.js +4 -1
- package/src/View/Schedule/Wizard/ScheduleSettingsWizard/ScheduleSettingsIPushPull.js +12 -1
- package/src/View/Schedule/Wizard/ScheduleSettingsWizard/ScheduleSettingsOpenFin.js +12 -1
- package/src/View/Schedule/Wizard/ScheduleSettingsWizard/ScheduleSettingsReminder.js +14 -4
- package/src/View/Schedule/Wizard/ScheduleSettingsWizard/ScheduleSettingsReport.js +12 -1
- package/src/View/Schedule/Wizard/ScheduleSettingsWizard/isSettingsValid.d.ts +2 -1
- package/src/View/Schedule/Wizard/ScheduleSettingsWizard/isSettingsValid.js +19 -10
- package/src/View/Shortcut/Wizard/ShortcutSettingsWizard.d.ts +2 -1
- package/src/View/Shortcut/Wizard/ShortcutSettingsWizard.js +25 -4
- package/src/View/Shortcut/Wizard/ShortcutWizard.js +18 -14
- package/src/View/SmartEdit/SmartEditViewPanel.js +1 -0
- package/src/View/StateManagement/handleExportState.js +1 -1
- package/src/View/StyledColumn/Wizard/StyledColumnWizardColumnSection.js +1 -1
- package/src/View/Theme/ThemePopup.js +13 -16
- package/src/View/UIHelper.d.ts +4 -1
- package/src/View/UIHelper.js +23 -14
- package/src/agGrid/Adaptable.js +15 -11
- package/src/agGrid/AdaptableAgGrid.d.ts +12 -8
- package/src/agGrid/AdaptableAgGrid.js +257 -111
- package/src/agGrid/AdaptableFilterHandler.js +4 -0
- package/src/agGrid/AdaptableLogger.d.ts +3 -0
- package/src/agGrid/AdaptableLogger.js +10 -0
- package/src/agGrid/AgGridAdapter.js +19 -9
- package/src/agGrid/AgGridColumnAdapter.d.ts +1 -0
- package/src/agGrid/AgGridColumnAdapter.js +20 -22
- package/src/agGrid/AgGridExportAdapter.js +15 -14
- package/src/agGrid/AgGridFilterAdapter.js +4 -0
- package/src/agGrid/AgGridFloatingFilterAdapter.js +4 -1
- package/src/agGrid/AgGridMenuAdapter.js +10 -1
- package/src/agGrid/AgGridModulesAdapter.js +2 -1
- package/src/agGrid/AgGridOptionsService.js +3 -0
- package/src/agGrid/AgGridThemeAdapter.js +4 -2
- package/src/agGrid/cellRenderers/ActionColumnRenderer.js +5 -0
- package/src/agGrid/cellRenderers/BadgeRenderer.js +2 -0
- package/src/agGrid/cellRenderers/PercentBarRenderer.js +1 -0
- package/src/agGrid/editors/AdaptableDateEditor/index.js +6 -3
- package/src/agGrid/editors/AdaptableNumberEditor/index.js +16 -12
- package/src/agGrid/editors/AdaptablePercentageEditor/index.js +17 -13
- package/src/agGrid/index.d.ts +6 -0
- package/src/agGrid/index.js +6 -0
- package/src/components/CheckBox/index.js +1 -1
- package/src/components/ColorPicker/ColorPicker.js +5 -4
- package/src/components/Dashboard/DashboardToolbar.js +1 -1
- package/src/components/Datepicker/index.js +1 -1
- package/src/components/Dropdown/Arrows.js +1 -1
- package/src/components/ExpressionEditor/DataTableEditor.js +3 -3
- package/src/components/ExpressionEditor/EditorInput.js +19 -3
- package/src/components/ExpressionEditor/ExpressionFunctionDocumentation.js +1 -1
- package/src/components/FormLayout/index.js +1 -1
- package/src/components/OverlayTrigger/index.js +1 -1
- package/src/components/Select/Select.js +79 -16
- package/src/components/Tree/TreeDropdown/index.js +2 -2
- package/src/components/overlayBaseZIndex.js +1 -1
- package/src/components/utils/useContainerScrollObserver/index.js +17 -14
- package/src/devTools/index.js +54 -53
- package/src/env.js +2 -2
- package/src/layout-manager/src/LMEmitter.js +11 -11
- package/src/layout-manager/src/LMLogger.js +7 -0
- package/src/layout-manager/src/LayoutManagerModel.d.ts +1 -0
- package/src/layout-manager/src/index.js +81 -58
- package/src/layout-manager/src/normalizeLayoutModel.js +3 -0
- package/src/metamodel/adaptable.metamodel.d.ts +177 -8
- package/src/metamodel/adaptable.metamodel.js +1 -1
- package/src/migration/AdaptableUpgradeHelper.js +8 -3
- package/src/migration/VersionUpgrade.js +1 -0
- package/src/migration/VersionUpgrade17.js +5 -6
- package/src/migration/VersionUpgrade20.js +4 -4
- package/src/migration/VersionUpgrade22.d.ts +21 -0
- package/src/migration/VersionUpgrade22.js +187 -0
- package/src/parser/src/ExpressionEvaluationError.js +1 -0
- package/src/types.d.ts +9 -7
- package/themes/dark.css +30 -30
- package/themes/light.css +4 -2
- package/tsconfig.esm.tsbuildinfo +1 -1
- package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/FinanceForm/FinanceForm.js +0 -632
- package/src/View/Alert/AlertEntityRow.d.ts +0 -11
- package/src/View/Alert/AlertEntityRow.js +0 -28
- package/src/View/CalculatedColumn/CalculatedColumnSummary.d.ts +0 -21
- package/src/View/CalculatedColumn/CalculatedColumnSummary.js +0 -58
- package/src/View/Components/Buttons/ButtonFunction.d.ts +0 -7
- package/src/View/Components/Buttons/ButtonFunction.js +0 -8
- package/src/View/Components/Buttons/ButtonGeneral.d.ts +0 -5
- package/src/View/Components/Buttons/ButtonGeneral.js +0 -7
- package/src/View/Components/Buttons/ButtonPreviewDelete.d.ts +0 -4
- package/src/View/Components/Buttons/ButtonPreviewDelete.js +0 -5
- package/src/View/Components/Buttons/ButtonShow.d.ts +0 -5
- package/src/View/Components/Buttons/ButtonShow.js +0 -7
- package/src/View/Components/Buttons/ButtonShowChart.d.ts +0 -5
- package/src/View/Components/Buttons/ButtonShowChart.js +0 -7
- package/src/View/Components/Buttons/ButtonUndo.d.ts +0 -5
- package/src/View/Components/Buttons/ButtonUndo.js +0 -7
- package/src/View/Components/ExpressionWizard.d.ts +0 -24
- package/src/View/Components/ExpressionWizard.js +0 -77
- package/src/View/Components/FilterForm/Waiting.d.ts +0 -10
- package/src/View/Components/FilterForm/Waiting.js +0 -14
- package/src/View/Components/Panels/PanelFooter.d.ts +0 -10
- package/src/View/Components/Panels/PanelFooter.js +0 -9
- package/src/View/Components/Panels/PanelWithTwoButtons.d.ts +0 -12
- package/src/View/Components/Panels/PanelWithTwoButtons.js +0 -15
- package/src/View/Components/Panels/ToolPanelSettingsPanel.d.ts +0 -8
- package/src/View/Components/Panels/ToolPanelSettingsPanel.js +0 -26
- package/src/View/Components/Selectors/ColumnSelectorOld.d.ts +0 -18
- package/src/View/Components/Selectors/ColumnSelectorOld.js +0 -45
- package/src/View/Components/SharedProps/WizardScopeState.d.ts +0 -4
- package/src/View/Components/WizardSummaryRow.d.ts +0 -9
- package/src/View/Components/WizardSummaryRow.js +0 -11
- package/src/View/CustomSort/CustomSortSummary.d.ts +0 -23
- package/src/View/CustomSort/CustomSortSummary.js +0 -105
- package/src/View/DataImport/DataImportWizard/sections/ImportSection.d.ts +0 -9
- package/src/View/DataImport/DataImportWizard/sections/ImportSection.js +0 -19
- package/src/View/Export/Wizard/ReportColumnTypeWizard.d.ts +0 -19
- package/src/View/Export/Wizard/ReportColumnTypeWizard.js +0 -68
- package/src/View/Export/Wizard/ReportRowTypeWizard.d.ts +0 -19
- package/src/View/Export/Wizard/ReportRowTypeWizard.js +0 -68
- package/src/View/Export/Wizard/ReportSettingsWizard.d.ts +0 -21
- package/src/View/Export/Wizard/ReportSettingsWizard.js +0 -56
- package/src/View/Export/Wizard/ReportSummaryWizard.d.ts +0 -15
- package/src/View/Export/Wizard/ReportSummaryWizard.js +0 -35
- package/src/View/Filter/FilterSummary.d.ts +0 -18
- package/src/View/Filter/FilterSummary.js +0 -48
- package/src/View/FormatColumn/FormatColumnSummary.d.ts +0 -22
- package/src/View/FormatColumn/FormatColumnSummary.js +0 -90
- package/src/View/FreeTextColumn/FreeTextColumnSummary.d.ts +0 -22
- package/src/View/FreeTextColumn/FreeTextColumnSummary.js +0 -88
- package/src/View/GridInfo/GridInfoPopup/AdaptableOptionsComponent.d.ts +0 -7
- package/src/View/GridInfo/GridInfoPopup/AdaptableOptionsComponent.js +0 -94
- package/src/View/PlusMinus/PlusMinusSummary.d.ts +0 -22
- package/src/View/PlusMinus/PlusMinusSummary.js +0 -95
- package/src/View/Wizard/WizardLegend.d.ts +0 -12
- package/src/View/Wizard/WizardLegend.js +0 -23
- /package/src/{View/AdaptableWizardView/AdaptableConfigurationDialog/FinanceForm/FinanceForm.d.ts → AdaptableState/Common/AdaptableRowContext.js} +0 -0
- /package/src/{View/Components/SharedProps/WizardScopeState.js → AdaptableState/Common/ColumnHighlightInfo.js} +0 -0
|
@@ -16,6 +16,9 @@ export class ScheduleApiImpl extends ApiBase {
|
|
|
16
16
|
allSchedules.push(...this.getOpenFinSchedules(config));
|
|
17
17
|
return allSchedules;
|
|
18
18
|
}
|
|
19
|
+
getScheduleByName(name) {
|
|
20
|
+
return this.getSchedules().find((schedule) => schedule.Name === name);
|
|
21
|
+
}
|
|
19
22
|
getReminderSchedules(config) {
|
|
20
23
|
return (this.handleLayoutExtensionObjects(this.getScheduleState().Reminders, 'Schedule', config) ?? []);
|
|
21
24
|
}
|
|
@@ -154,6 +157,7 @@ export class ScheduleApiImpl extends ApiBase {
|
|
|
154
157
|
header: reminderSchedule.Header,
|
|
155
158
|
message: reminderSchedule.Message,
|
|
156
159
|
alertDefinition: {
|
|
160
|
+
Name: reminderSchedule.Header,
|
|
157
161
|
MessageType: reminderSchedule.MessageType,
|
|
158
162
|
AlertProperties: {
|
|
159
163
|
DisplayNotification: reminderSchedule.DisplayNotification,
|
|
@@ -6,6 +6,7 @@ export declare class ShortcutApiImpl extends ApiBase implements ShortcutApi {
|
|
|
6
6
|
getShortcutState(): ShortcutState;
|
|
7
7
|
getShortcuts(config?: LayoutExtendedConfig): Shortcut[];
|
|
8
8
|
getShortcutById(id: Shortcut['Uuid'], config?: LayoutExtendedConfig): Shortcut;
|
|
9
|
+
getShortcutByName(name: string): Shortcut | undefined;
|
|
9
10
|
getActiveShortcuts(config?: LayoutExtendedConfig): Shortcut[];
|
|
10
11
|
getSuspendedShortcuts(config?: LayoutExtendedConfig): Shortcut[];
|
|
11
12
|
addShortcut(shortcut: Shortcut): Shortcut;
|
|
@@ -11,6 +11,9 @@ export class ShortcutApiImpl extends ApiBase {
|
|
|
11
11
|
getShortcutById(id, config) {
|
|
12
12
|
return this.getShortcuts(config).find((shortcut) => shortcut?.Uuid === id);
|
|
13
13
|
}
|
|
14
|
+
getShortcutByName(name) {
|
|
15
|
+
return this.getShortcuts().find((shortcut) => shortcut.Name === name);
|
|
16
|
+
}
|
|
14
17
|
getActiveShortcuts(config) {
|
|
15
18
|
return this.getShortcuts(config).filter((shortcut) => !shortcut.IsSuspended);
|
|
16
19
|
}
|
|
@@ -3,6 +3,7 @@ import * as StyledColumnRedux from '../../Redux/ActionsReducers/StyledColumnRedu
|
|
|
3
3
|
import { StyledColumnInternalApi } from '../Internal/StyledColumnInternalApi';
|
|
4
4
|
import * as ModuleConstants from '../../Utilities/Constants/ModuleConstants';
|
|
5
5
|
export class StyledColumnApiImpl extends ApiBase {
|
|
6
|
+
internalApi;
|
|
6
7
|
constructor(_adaptable) {
|
|
7
8
|
super(_adaptable);
|
|
8
9
|
this.internalApi = new StyledColumnInternalApi(_adaptable);
|
|
@@ -7,7 +7,10 @@ import { createElement } from 'react';
|
|
|
7
7
|
import UIHelper from '../../View/UIHelper';
|
|
8
8
|
import StringExtensions from '../../Utilities/Extensions/StringExtensions';
|
|
9
9
|
import { SystemStatusInternalApi } from '../Internal/SystemStatusInternalApi';
|
|
10
|
+
import { resolveContainerElement } from '../../Utilities/resolveContainerElement';
|
|
10
11
|
export class SystemStatusApiImpl extends ApiBase {
|
|
12
|
+
systemStatusDiv;
|
|
13
|
+
internalApi;
|
|
11
14
|
constructor(_adaptable) {
|
|
12
15
|
super(_adaptable);
|
|
13
16
|
this.internalApi = new SystemStatusInternalApi(_adaptable);
|
|
@@ -25,16 +28,16 @@ export class SystemStatusApiImpl extends ApiBase {
|
|
|
25
28
|
}
|
|
26
29
|
switch (messageType) {
|
|
27
30
|
case 'Success':
|
|
28
|
-
alertApi.showAlertSuccess('System Status
|
|
31
|
+
alertApi.showAlertSuccess('System Status', fullMessage);
|
|
29
32
|
return;
|
|
30
33
|
case 'Info':
|
|
31
|
-
alertApi.showAlertInfo('System Status
|
|
34
|
+
alertApi.showAlertInfo('System Status', fullMessage);
|
|
32
35
|
return;
|
|
33
36
|
case 'Warning':
|
|
34
|
-
alertApi.showAlertWarning('System Status
|
|
37
|
+
alertApi.showAlertWarning('System Status', fullMessage);
|
|
35
38
|
return;
|
|
36
39
|
case 'Error':
|
|
37
|
-
alertApi.showAlertError('System Status
|
|
40
|
+
alertApi.showAlertError('System Status', fullMessage);
|
|
38
41
|
return;
|
|
39
42
|
}
|
|
40
43
|
}
|
|
@@ -46,11 +49,7 @@ export class SystemStatusApiImpl extends ApiBase {
|
|
|
46
49
|
}
|
|
47
50
|
displayMessageInDiv(statusMessage, statusFurtherInformation, messageType) {
|
|
48
51
|
if (!this.systemStatusDiv) {
|
|
49
|
-
|
|
50
|
-
if (optionsDiv) {
|
|
51
|
-
this.systemStatusDiv =
|
|
52
|
-
typeof optionsDiv === 'string' ? document.getElementById(optionsDiv) : optionsDiv;
|
|
53
|
-
}
|
|
52
|
+
this.systemStatusDiv = resolveContainerElement(this.getContainerOptions().systemStatusContainer, this.getAdaptableInternalApi().buildBaseContext());
|
|
54
53
|
}
|
|
55
54
|
if (this.systemStatusDiv) {
|
|
56
55
|
if (StringExtensions.IsNotNullOrEmpty(statusFurtherInformation)) {
|
|
@@ -5,6 +5,7 @@ import { TeamSharingCheckForUpdates } from '../../Redux/ActionsReducers/TeamShar
|
|
|
5
5
|
import { TeamSharingInternalApi } from '../Internal/TeamSharingInternalApi';
|
|
6
6
|
import { isAdaptableSharedEntity, isCustomSharedEntity, } from '../../AdaptableState/TeamSharingState';
|
|
7
7
|
export class TeamSharingApiImpl extends ApiBase {
|
|
8
|
+
internalApi;
|
|
8
9
|
constructor(_adaptable) {
|
|
9
10
|
super(_adaptable);
|
|
10
11
|
this.internalApi = new TeamSharingInternalApi(_adaptable);
|
|
@@ -6,6 +6,7 @@ import { ThemeInternalApi } from '../Internal/ThemeInternalApi';
|
|
|
6
6
|
import AdaptableHelper from '../../Utilities/Helpers/AdaptableHelper';
|
|
7
7
|
import { logDeprecation } from '../../Utilities/logDeprecation';
|
|
8
8
|
export class ThemeApiImpl extends ApiBase {
|
|
9
|
+
internalApi;
|
|
9
10
|
constructor(_adaptable) {
|
|
10
11
|
super(_adaptable);
|
|
11
12
|
this.internalApi = new ThemeInternalApi(_adaptable);
|
|
@@ -6,6 +6,7 @@ import { UserInterfaceInternalApi } from '../Internal/UserInterfaceInternalApi';
|
|
|
6
6
|
import { UserInterfaceApi } from '../UserInterfaceApi';
|
|
7
7
|
import { ProgressIndicatorConfig } from '../../AdaptableState/Common/ProgressIndicatorConfig';
|
|
8
8
|
import { ApiBase } from './ApiBase';
|
|
9
|
+
import { UserInterfaceState } from '../../AdaptableState/UserInterfaceState';
|
|
9
10
|
export declare class UserInterfaceApiImpl extends ApiBase implements UserInterfaceApi {
|
|
10
11
|
internalApi: UserInterfaceInternalApi;
|
|
11
12
|
private showProgressIndicatorTimeout;
|
|
@@ -26,4 +27,8 @@ export declare class UserInterfaceApiImpl extends ApiBase implements UserInterfa
|
|
|
26
27
|
close: () => void;
|
|
27
28
|
};
|
|
28
29
|
closeCustomWindowPopup(windowId: string): void;
|
|
30
|
+
getUserInterfaceState(): UserInterfaceState;
|
|
31
|
+
isAdaptableUIVisible(): boolean;
|
|
32
|
+
hideAdaptableUI(): void;
|
|
33
|
+
showAdaptableUI(): void;
|
|
29
34
|
}
|
|
@@ -4,10 +4,12 @@ import { CUSTOM_WINDOW_FACTORY_ID } from '../../View/Components/Popups/WindowPop
|
|
|
4
4
|
import { UserInterfaceInternalApi } from '../Internal/UserInterfaceInternalApi';
|
|
5
5
|
import { ApiBase } from './ApiBase';
|
|
6
6
|
import { ProgressIndicatorHide, ProgressIndicatorShow, } from '../../Redux/ActionsReducers/PopupRedux';
|
|
7
|
+
import * as UserInterfaceRedux from '../../Redux/ActionsReducers/UserInterfaceRedux';
|
|
7
8
|
export class UserInterfaceApiImpl extends ApiBase {
|
|
9
|
+
internalApi;
|
|
10
|
+
showProgressIndicatorTimeout = null;
|
|
8
11
|
constructor(_adaptable) {
|
|
9
12
|
super(_adaptable);
|
|
10
|
-
this.showProgressIndicatorTimeout = null;
|
|
11
13
|
this.internalApi = new UserInterfaceInternalApi(_adaptable);
|
|
12
14
|
}
|
|
13
15
|
getColorPalette() {
|
|
@@ -127,4 +129,16 @@ export class UserInterfaceApiImpl extends ApiBase {
|
|
|
127
129
|
closeCustomWindowPopup(windowId) {
|
|
128
130
|
this.dispatchAction(PopupRedux.PopupHideWindow(windowId));
|
|
129
131
|
}
|
|
132
|
+
getUserInterfaceState() {
|
|
133
|
+
return this.getAdaptableState().UserInterface;
|
|
134
|
+
}
|
|
135
|
+
isAdaptableUIVisible() {
|
|
136
|
+
return !(this.getUserInterfaceState().HideAdaptableUI ?? false);
|
|
137
|
+
}
|
|
138
|
+
hideAdaptableUI() {
|
|
139
|
+
this.dispatchAction(UserInterfaceRedux.UserInterfaceSetHideAdaptableUI(true));
|
|
140
|
+
}
|
|
141
|
+
showAdaptableUI() {
|
|
142
|
+
this.dispatchAction(UserInterfaceRedux.UserInterfaceSetHideAdaptableUI(false));
|
|
143
|
+
}
|
|
130
144
|
}
|
|
@@ -150,8 +150,8 @@ export class CalculatedColumnInternalApi extends ApiBase {
|
|
|
150
150
|
if (calculatedColumnReferences.length) {
|
|
151
151
|
const alert = {
|
|
152
152
|
alertType: 'generic',
|
|
153
|
-
header: '
|
|
154
|
-
message: `It is still referenced
|
|
153
|
+
header: 'Calculated Column',
|
|
154
|
+
message: `This Calculated Column cannot be deleted. It is still referenced by: ${calculatedColumnReferences.join(', ')}.`,
|
|
155
155
|
alertDefinition: CreateInternalAlertDefinitionForMessages('Error'),
|
|
156
156
|
};
|
|
157
157
|
this.getAlertApi().displayAdaptableAlertNotification(alert);
|
|
@@ -277,7 +277,7 @@ export class ColumnInternalApi extends ApiBase {
|
|
|
277
277
|
getQueryableColumnsForUIEditor() {
|
|
278
278
|
return this.getColumnApi()
|
|
279
279
|
.getQueryableColumns()
|
|
280
|
-
.filter((column) => !column.isGeneratedPivotResultColumn && !column.isGeneratedRowGroupColumn);
|
|
280
|
+
.filter((column) => !column.isGeneratedPivotResultColumn && !column.isGeneratedRowGroupColumn && !column.isGeneratedSelectionColumn);
|
|
281
281
|
}
|
|
282
282
|
isAlwaysHiddenColumn(columnIdentifier) {
|
|
283
283
|
return this.getColumnApi().hasColumnType(columnIdentifier, HIDDEN_COLUMN_TYPE);
|
|
@@ -7,21 +7,11 @@ export declare class FormatColumnInternalApi extends ApiBase {
|
|
|
7
7
|
* @returns format columns
|
|
8
8
|
*/
|
|
9
9
|
getAllFormatColumnWithStyle(config?: FormatColumnConfig): FormatColumn[];
|
|
10
|
-
/**
|
|
11
|
-
* Retrieves all Format Columns in Adaptable State with the `Style` or the `CellAlignment` property set
|
|
12
|
-
* @returns format columns
|
|
13
|
-
*/
|
|
14
|
-
getAllFormatColumnWithStyleAndCellAlignment(config?: FormatColumnConfig): FormatColumn[];
|
|
15
10
|
/**
|
|
16
11
|
* Retrieves all Format Columns in Adaptable State with `DisplayFormat` property set
|
|
17
12
|
* @returns format columns
|
|
18
13
|
*/
|
|
19
14
|
getAllFormatColumnWithDisplayFormat(config?: FormatColumnConfig): FormatColumn[];
|
|
20
|
-
/**
|
|
21
|
-
* Retrieves all Format Columns in Adaptable State with `CellAlignment` property set
|
|
22
|
-
* @returns format columns
|
|
23
|
-
*/
|
|
24
|
-
getAllFormatColumnWithCellAlignment(config?: FormatColumnConfig): FormatColumn[];
|
|
25
15
|
/**
|
|
26
16
|
* Get all FormatColumns which are defined for this column and have a custom AdaptableStyle
|
|
27
17
|
* @param column
|
|
@@ -41,15 +41,6 @@ export class FormatColumnInternalApi extends ApiBase {
|
|
|
41
41
|
.getFormatColumns(config)
|
|
42
42
|
.filter((fc) => fc.Style);
|
|
43
43
|
}
|
|
44
|
-
/**
|
|
45
|
-
* Retrieves all Format Columns in Adaptable State with the `Style` or the `CellAlignment` property set
|
|
46
|
-
* @returns format columns
|
|
47
|
-
*/
|
|
48
|
-
getAllFormatColumnWithStyleAndCellAlignment(config) {
|
|
49
|
-
return this.getFormatColumnApi()
|
|
50
|
-
.getFormatColumns(config)
|
|
51
|
-
.filter((fc) => fc.Style || fc.CellAlignment);
|
|
52
|
-
}
|
|
53
44
|
/**
|
|
54
45
|
* Retrieves all Format Columns in Adaptable State with `DisplayFormat` property set
|
|
55
46
|
* @returns format columns
|
|
@@ -59,15 +50,6 @@ export class FormatColumnInternalApi extends ApiBase {
|
|
|
59
50
|
.getFormatColumns(config)
|
|
60
51
|
.filter((fc) => fc.DisplayFormat);
|
|
61
52
|
}
|
|
62
|
-
/**
|
|
63
|
-
* Retrieves all Format Columns in Adaptable State with `CellAlignment` property set
|
|
64
|
-
* @returns format columns
|
|
65
|
-
*/
|
|
66
|
-
getAllFormatColumnWithCellAlignment(config) {
|
|
67
|
-
return this.getFormatColumnApi()
|
|
68
|
-
.getFormatColumns(config)
|
|
69
|
-
.filter((fc) => fc.CellAlignment);
|
|
70
|
-
}
|
|
71
53
|
/**
|
|
72
54
|
* Get all FormatColumns which are defined for this column and have a custom AdaptableStyle
|
|
73
55
|
* @param column
|
|
@@ -75,7 +57,7 @@ export class FormatColumnInternalApi extends ApiBase {
|
|
|
75
57
|
* @returns list of FormatColumn
|
|
76
58
|
*/
|
|
77
59
|
getFormatColumnsWithStyleForColumn(column, config) {
|
|
78
|
-
const formatColumns = this.
|
|
60
|
+
const formatColumns = this.getAllFormatColumnWithStyle()
|
|
79
61
|
.filter((formatColumn) => {
|
|
80
62
|
// FormatColumn default target is 'cell', so if no target is specified, we assume 'cell'
|
|
81
63
|
const fcTarget = formatColumn.Target ?? 'cell';
|
|
@@ -95,8 +95,8 @@ export class FreeTextColumnInternalApi extends ApiBase {
|
|
|
95
95
|
if (freeTextColumnReferences.length) {
|
|
96
96
|
const alert = {
|
|
97
97
|
alertType: 'generic',
|
|
98
|
-
header: '
|
|
99
|
-
message: `It is still referenced
|
|
98
|
+
header: 'Free Text Column',
|
|
99
|
+
message: `This Free Text Column cannot be deleted. It is still referenced by: ${freeTextColumnReferences.join(', ')}.`,
|
|
100
100
|
alertDefinition: ObjectFactory.CreateInternalAlertDefinitionForMessages('Error'),
|
|
101
101
|
};
|
|
102
102
|
this.getAlertApi().displayAdaptableAlertNotification(alert);
|
|
@@ -92,7 +92,7 @@ export class LayoutInternalApi extends ApiBase {
|
|
|
92
92
|
}
|
|
93
93
|
setupRowSummaries() {
|
|
94
94
|
if (!this._adaptable.agGridModulesAdapter.isAgGridModuleRegistered('PinnedRowModule')) {
|
|
95
|
-
this.getAdaptableApi().consoleError(
|
|
95
|
+
this.getAdaptableApi().consoleError('Layout Row Summaries require the AG Grid "PinnedRowModule". Please register this module.');
|
|
96
96
|
return;
|
|
97
97
|
}
|
|
98
98
|
const rowSummaries = this.getAdaptableState().Internal?.RowSummary?.rowSummaries ?? [];
|
|
@@ -40,8 +40,8 @@ export class NamedQueryInternalApi extends ApiBase {
|
|
|
40
40
|
if (namedQueryReferences.length) {
|
|
41
41
|
const alert = {
|
|
42
42
|
alertType: 'generic',
|
|
43
|
-
header: 'Named Query
|
|
44
|
-
message: `It is still referenced
|
|
43
|
+
header: 'Named Query',
|
|
44
|
+
message: `This Named Query cannot be deleted. It is still referenced by: ${namedQueryReferences.join(', ')}.`,
|
|
45
45
|
alertDefinition: ObjectFactory.CreateInternalAlertDefinitionForMessages('Error'),
|
|
46
46
|
};
|
|
47
47
|
this.getAlertApi().displayAdaptableAlertNotification(alert);
|
|
@@ -56,8 +56,8 @@ export class NamedQueryInternalApi extends ApiBase {
|
|
|
56
56
|
if (namedQueryReferences.length) {
|
|
57
57
|
const alert = {
|
|
58
58
|
alertType: 'generic',
|
|
59
|
-
header: 'Named Query
|
|
60
|
-
message: `It is currently referenced
|
|
59
|
+
header: 'Named Query',
|
|
60
|
+
message: `This Named Query cannot be renamed. It is currently referenced by: ${namedQueryReferences.join(', ')}.`,
|
|
61
61
|
alertDefinition: ObjectFactory.CreateInternalAlertDefinitionForMessages('Error'),
|
|
62
62
|
};
|
|
63
63
|
this.getAlertApi().displayAdaptableAlertNotification(alert);
|
package/src/Api/LayoutApi.d.ts
CHANGED
|
@@ -57,6 +57,12 @@ export interface LayoutApi {
|
|
|
57
57
|
*/
|
|
58
58
|
getLayoutByName(layoutName: string): Layout | null;
|
|
59
59
|
/**
|
|
60
|
+
* Sets (i.e. selects) the Extended Layout
|
|
61
|
+
* @param extendedLayout Extended Layout to set
|
|
62
|
+
*/
|
|
63
|
+
setExtendedLayout(extendedLayout: ExtendedLayout): void;
|
|
64
|
+
/**
|
|
65
|
+
*
|
|
60
66
|
* Retrieves Layout with the given name
|
|
61
67
|
* @param layoutName Layout to retrieve
|
|
62
68
|
* @returns layout
|
|
@@ -20,6 +20,12 @@ export interface PlusMinusApi {
|
|
|
20
20
|
* @returns plus minus rule
|
|
21
21
|
*/
|
|
22
22
|
getPlusMinusById(id: PlusMinusNudge['Uuid'], config?: LayoutExtendedConfig): PlusMinusNudge;
|
|
23
|
+
/**
|
|
24
|
+
* Retrieves a Plus Minus Nudge by its Name
|
|
25
|
+
* @param name Name of the Plus Minus Nudge
|
|
26
|
+
* @returns Plus Minus Nudge or undefined if not found
|
|
27
|
+
*/
|
|
28
|
+
getPlusMinusNudgeByName(name: string): PlusMinusNudge | undefined;
|
|
23
29
|
/**
|
|
24
30
|
* Retrieves all active (not-suspended) Plus Minus Rules in Adaptable State with those with expressions first
|
|
25
31
|
* @returns plus minus rules
|
package/src/Api/ScheduleApi.d.ts
CHANGED
|
@@ -23,6 +23,12 @@ export interface ScheduleApi {
|
|
|
23
23
|
* @returns schedule
|
|
24
24
|
*/
|
|
25
25
|
getScheduleById(id: BaseSchedule['Uuid'], config?: LayoutExtendedConfig): BaseSchedule;
|
|
26
|
+
/**
|
|
27
|
+
* Retrieves a Schedule by its Name
|
|
28
|
+
* @param name Name of the Schedule
|
|
29
|
+
* @returns Schedule or undefined if not found
|
|
30
|
+
*/
|
|
31
|
+
getScheduleByName(name: string): BaseSchedule | undefined;
|
|
26
32
|
/**
|
|
27
33
|
* Retrieves all Reminder-based Schedules from Schedule State
|
|
28
34
|
* @returns reminder schedules
|
package/src/Api/ShortcutApi.d.ts
CHANGED
|
@@ -19,6 +19,12 @@ export interface ShortcutApi {
|
|
|
19
19
|
* @returns shortcut
|
|
20
20
|
*/
|
|
21
21
|
getShortcutById(id: Shortcut['Uuid'], config?: LayoutExtendedConfig): Shortcut;
|
|
22
|
+
/**
|
|
23
|
+
* Retrieves a Shortcut by its Name
|
|
24
|
+
* @param name Name of the Shortcut
|
|
25
|
+
* @returns Shortcut or undefined if not found
|
|
26
|
+
*/
|
|
27
|
+
getShortcutByName(name: string): Shortcut | undefined;
|
|
22
28
|
/**
|
|
23
29
|
* Gets all active (not-suspended) Shortcuts in Adaptable State
|
|
24
30
|
* @returns shortcuts
|
|
@@ -3,6 +3,7 @@ import { AdaptableObject, AdaptableObjectTag } from '../AdaptableState/Common/Ad
|
|
|
3
3
|
import { AdaptableModule, CustomIcon } from '../types';
|
|
4
4
|
import { CustomWindowConfig } from '../AdaptableState/Common/CustomWindowConfig';
|
|
5
5
|
import { ProgressIndicatorConfig } from '../AdaptableState/Common/ProgressIndicatorConfig';
|
|
6
|
+
import { UserInterfaceState } from '../AdaptableState/UserInterfaceState';
|
|
6
7
|
/**
|
|
7
8
|
* Functions relating to User Interface section of Adaptable State
|
|
8
9
|
*/
|
|
@@ -78,4 +79,20 @@ export interface UserInterfaceApi {
|
|
|
78
79
|
* @param windowId window popup id
|
|
79
80
|
*/
|
|
80
81
|
closeCustomWindowPopup(windowId: string): void;
|
|
82
|
+
/**
|
|
83
|
+
* Retrieves the current User Interface State
|
|
84
|
+
*/
|
|
85
|
+
getUserInterfaceState(): UserInterfaceState;
|
|
86
|
+
/**
|
|
87
|
+
* Returns whether the AdapTable UI is currently visible
|
|
88
|
+
*/
|
|
89
|
+
isAdaptableUIVisible(): boolean;
|
|
90
|
+
/**
|
|
91
|
+
* Hides all AdapTable UI elements (Dashboard, Tool Panel, Status Bar, Column and Context Menus etc.)
|
|
92
|
+
*/
|
|
93
|
+
hideAdaptableUI(): void;
|
|
94
|
+
/**
|
|
95
|
+
* Shows all AdapTable UI elements (Dashboard, Tool Panel, Status Bar, Column and Context Menus etc.)
|
|
96
|
+
*/
|
|
97
|
+
showAdaptableUI(): void;
|
|
81
98
|
}
|
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
import { FormatColumnState, FormatColumn } from '../../AdaptableState/FormatColumnState';
|
|
2
2
|
import * as Redux from 'redux';
|
|
3
|
+
/**
|
|
4
|
+
* @ReduxAction Many Format Columns have been added
|
|
5
|
+
*/
|
|
6
|
+
export declare const FORMAT_COLUMN_ADD_BATCH = "FORMAT_COLUMN_ADD_BATCH";
|
|
3
7
|
/**
|
|
4
8
|
* @ReduxAction A Format Column has been added
|
|
5
9
|
*/
|
|
@@ -44,6 +48,9 @@ export declare const FORMAT_COLUMN_UNSUSPEND = "FORMAT_COLUMN_UNSUSPEND";
|
|
|
44
48
|
* @ReduxAction FormatColumn Module is unsuspended, or activated
|
|
45
49
|
*/
|
|
46
50
|
export declare const FORMAT_COLUMN_UNSUSPEND_ALL = "FORMAT_COLUMN_UNSUSPEND_ALL";
|
|
51
|
+
export interface FormatColumnAddBatchAction extends Redux.Action {
|
|
52
|
+
formatColumns: FormatColumn[];
|
|
53
|
+
}
|
|
47
54
|
export interface FormatColumnAction extends Redux.Action {
|
|
48
55
|
formatColumn: FormatColumn;
|
|
49
56
|
}
|
|
@@ -70,6 +77,7 @@ export interface FormatColumnUnSuspendAllAction extends Redux.Action {
|
|
|
70
77
|
export interface FormatColumnReadyAction extends Redux.Action {
|
|
71
78
|
formatColumnState: FormatColumnState;
|
|
72
79
|
}
|
|
80
|
+
export declare const FormatColumnsAdd: (formatColumns: FormatColumn[]) => FormatColumnAddBatchAction;
|
|
73
81
|
export declare const FormatColumnAdd: (formatColumn: FormatColumn) => FormatColumnAddAction;
|
|
74
82
|
export declare const FormatColumnEdit: (formatColumn: FormatColumn) => FormatColumnEditAction;
|
|
75
83
|
export declare const FormatColumnDelete: (formatColumn: FormatColumn) => FormatColumnDeleteAction;
|
|
@@ -1,6 +1,10 @@
|
|
|
1
1
|
import { EMPTY_ARRAY } from '../../Utilities/Constants/GeneralConstants';
|
|
2
2
|
import AdaptableHelper from '../../Utilities/Helpers/AdaptableHelper';
|
|
3
3
|
import { changeIsSuspendInList, suspendAllInList, unsuspendAllInList } from './utils';
|
|
4
|
+
/**
|
|
5
|
+
* @ReduxAction Many Format Columns have been added
|
|
6
|
+
*/
|
|
7
|
+
export const FORMAT_COLUMN_ADD_BATCH = 'FORMAT_COLUMN_ADD_BATCH';
|
|
4
8
|
/**
|
|
5
9
|
* @ReduxAction A Format Column has been added
|
|
6
10
|
*/
|
|
@@ -45,6 +49,10 @@ export const FORMAT_COLUMN_UNSUSPEND = 'FORMAT_COLUMN_UNSUSPEND';
|
|
|
45
49
|
* @ReduxAction FormatColumn Module is unsuspended, or activated
|
|
46
50
|
*/
|
|
47
51
|
export const FORMAT_COLUMN_UNSUSPEND_ALL = 'FORMAT_COLUMN_UNSUSPEND_ALL';
|
|
52
|
+
export const FormatColumnsAdd = (formatColumns) => ({
|
|
53
|
+
type: FORMAT_COLUMN_ADD_BATCH,
|
|
54
|
+
formatColumns,
|
|
55
|
+
});
|
|
48
56
|
export const FormatColumnAdd = (formatColumn) => ({
|
|
49
57
|
type: FORMAT_COLUMN_ADD,
|
|
50
58
|
formatColumn,
|
|
@@ -92,6 +100,13 @@ const initialState = {
|
|
|
92
100
|
export const FormatColumnReducer = (state = initialState, action) => {
|
|
93
101
|
let formatColumns;
|
|
94
102
|
switch (action.type) {
|
|
103
|
+
case FORMAT_COLUMN_ADD_BATCH: {
|
|
104
|
+
const actionFormatColumns = action.formatColumns;
|
|
105
|
+
actionFormatColumns.forEach(AdaptableHelper.addAdaptableObjectPrimitives);
|
|
106
|
+
formatColumns = [].concat(state.FormatColumns);
|
|
107
|
+
formatColumns.push(...actionFormatColumns);
|
|
108
|
+
return { ...state, FormatColumns: formatColumns };
|
|
109
|
+
}
|
|
95
110
|
case FORMAT_COLUMN_ADD: {
|
|
96
111
|
const actionFormatColumn = action.formatColumn;
|
|
97
112
|
AdaptableHelper.addAdaptableObjectPrimitives(actionFormatColumn);
|
|
@@ -15,6 +15,7 @@ import { SelectedCellInfo } from '../../AdaptableState/Selection/SelectedCellInf
|
|
|
15
15
|
import { SelectedRowInfo } from '../../AdaptableState/Selection/SelectedRowInfo';
|
|
16
16
|
import { CellHighlightInfo, RowHighlightInfo, RowsHighlightInfo } from '../../types';
|
|
17
17
|
import { IRowNode } from 'ag-grid-enterprise';
|
|
18
|
+
import { ColumnHighlightInfo } from '../../AdaptableState/Common/ColumnHighlightInfo';
|
|
18
19
|
export declare const SET_COLUMNS = "SET_COLUMNS";
|
|
19
20
|
export declare const SET_SELECTED_CELLS = "SET_SELECTED_CELLS";
|
|
20
21
|
export declare const SET_SELECTED_ROWS = "SET_SELECTED_ROWS";
|
|
@@ -23,6 +24,9 @@ export declare const SET_DASHBOARD_MODULE_BUTTONS = "SET_DASHBOARD_MODULE_BUTTON
|
|
|
23
24
|
export declare const HIGHLIGHT_CELL_ADD = "HIGHLIGHT_CELL_ADD";
|
|
24
25
|
export declare const HIGHLIGHT_CELL_DELETE = "HIGHLIGHT_CELL_DELETE";
|
|
25
26
|
export declare const HIGHLIGHT_CELL_DELETE_ALL = "HIGHLIGHT_CELL_DELETE_ALL";
|
|
27
|
+
export declare const HIGHLIGHT_COLUMN_ADD = "HIGHLIGHT_COLUMN_ADD";
|
|
28
|
+
export declare const HIGHLIGHT_COLUMN_DELETE = "HIGHLIGHT_COLUMN_DELETE";
|
|
29
|
+
export declare const HIGHLIGHT_COLUMN_DELETE_ALL = "HIGHLIGHT_COLUMN_DELETE_ALL";
|
|
26
30
|
export declare const HIGHLIGHT_ROW_ADD = "HIGHLIGHT_ROW_ADD";
|
|
27
31
|
export declare const HIGHLIGHT_ROWS_ADD = "HIGHLIGHT_ROWS_ADD";
|
|
28
32
|
export declare const HIGHLIGHT_ROW_DELETE = "HIGHLIGHT_ROW_DELETE";
|
|
@@ -93,6 +97,14 @@ export interface HighlightCellDeleteAction extends Redux.Action {
|
|
|
93
97
|
}
|
|
94
98
|
export interface HighlightCellDeleteAllAction extends Redux.Action {
|
|
95
99
|
}
|
|
100
|
+
export interface HighlightColumnAddAction extends Redux.Action {
|
|
101
|
+
columnHighlightInfo: ColumnHighlightInfo;
|
|
102
|
+
}
|
|
103
|
+
export interface HighlightColumnDeleteAction extends Redux.Action {
|
|
104
|
+
columnId: ColumnHighlightInfo['columnId'];
|
|
105
|
+
}
|
|
106
|
+
export interface HighlightColumnDeleteAllAction extends Redux.Action {
|
|
107
|
+
}
|
|
96
108
|
export interface HighlightRowAddAction extends Redux.Action {
|
|
97
109
|
rowHighlightInfo: RowHighlightInfo;
|
|
98
110
|
}
|
|
@@ -121,6 +133,9 @@ export interface SystemExportEndAction extends Redux.Action {
|
|
|
121
133
|
export declare const HighlightCellAdd: (cellHighlightInfo: CellHighlightInfo) => HighlightCellAddAction;
|
|
122
134
|
export declare const HighlightCellDelete: (primaryKeyValue: CellHighlightInfo["primaryKeyValue"], columnId: CellHighlightInfo["columnId"]) => HighlightCellDeleteAction;
|
|
123
135
|
export declare const HighlightCellDeleteAll: () => HighlightCellDeleteAllAction;
|
|
136
|
+
export declare const HighlightColumnAdd: (columnHighlightInfo: ColumnHighlightInfo) => HighlightColumnAddAction;
|
|
137
|
+
export declare const HighlightColumnDelete: (columnId: ColumnHighlightInfo["columnId"]) => HighlightColumnDeleteAction;
|
|
138
|
+
export declare const HighlightColumnDeleteAll: () => HighlightColumnDeleteAllAction;
|
|
124
139
|
export declare const HighlightRowAdd: (rowHighlightInfo: RowHighlightInfo) => HighlightRowAddAction;
|
|
125
140
|
export declare const HighlightRowsAdd: (rowsHighlightInfo: RowsHighlightInfo) => HighlightRowsAddAction;
|
|
126
141
|
export declare const HighlightRowDelete: (primaryKeyValue: RowHighlightInfo["primaryKeyValue"]) => HighlightRowDeleteAction;
|
|
@@ -22,6 +22,10 @@ export const SET_DASHBOARD_MODULE_BUTTONS = 'SET_DASHBOARD_MODULE_BUTTONS';
|
|
|
22
22
|
export const HIGHLIGHT_CELL_ADD = 'HIGHLIGHT_CELL_ADD';
|
|
23
23
|
export const HIGHLIGHT_CELL_DELETE = 'HIGHLIGHT_CELL_DELETE';
|
|
24
24
|
export const HIGHLIGHT_CELL_DELETE_ALL = 'HIGHLIGHT_CELL_DELETE_ALL';
|
|
25
|
+
// Column Highlight
|
|
26
|
+
export const HIGHLIGHT_COLUMN_ADD = 'HIGHLIGHT_COLUMN_ADD';
|
|
27
|
+
export const HIGHLIGHT_COLUMN_DELETE = 'HIGHLIGHT_COLUMN_DELETE';
|
|
28
|
+
export const HIGHLIGHT_COLUMN_DELETE_ALL = 'HIGHLIGHT_COLUMN_DELETE_ALL';
|
|
25
29
|
// Row Highlight
|
|
26
30
|
export const HIGHLIGHT_ROW_ADD = 'HIGHLIGHT_ROW_ADD';
|
|
27
31
|
export const HIGHLIGHT_ROWS_ADD = 'HIGHLIGHT_ROWS_ADD';
|
|
@@ -106,6 +110,17 @@ export const HighlightCellDelete = (primaryKeyValue, columnId) => ({
|
|
|
106
110
|
export const HighlightCellDeleteAll = () => ({
|
|
107
111
|
type: HIGHLIGHT_CELL_DELETE_ALL,
|
|
108
112
|
});
|
|
113
|
+
export const HighlightColumnAdd = (columnHighlightInfo) => ({
|
|
114
|
+
type: HIGHLIGHT_COLUMN_ADD,
|
|
115
|
+
columnHighlightInfo: columnHighlightInfo,
|
|
116
|
+
});
|
|
117
|
+
export const HighlightColumnDelete = (columnId) => ({
|
|
118
|
+
type: HIGHLIGHT_COLUMN_DELETE,
|
|
119
|
+
columnId,
|
|
120
|
+
});
|
|
121
|
+
export const HighlightColumnDeleteAll = () => ({
|
|
122
|
+
type: HIGHLIGHT_COLUMN_DELETE_ALL,
|
|
123
|
+
});
|
|
109
124
|
export const HighlightRowAdd = (rowHighlightInfo) => ({
|
|
110
125
|
type: HIGHLIGHT_ROW_ADD,
|
|
111
126
|
rowHighlightInfo: rowHighlightInfo,
|
|
@@ -349,6 +364,7 @@ const initialState = {
|
|
|
349
364
|
SelectedCellInfo: null,
|
|
350
365
|
SelectedRowInfo: null,
|
|
351
366
|
CellHighlightInfo: EMPTY_ARRAY,
|
|
367
|
+
ColumnHighlightInfo: EMPTY_ARRAY,
|
|
352
368
|
RowHighlightInfo: EMPTY_ARRAY,
|
|
353
369
|
SettingsPanelModuleEntries: EMPTY_ARRAY,
|
|
354
370
|
AdaptableAlerts: EMPTY_ARRAY,
|
|
@@ -448,6 +464,26 @@ export const InternalReducer = (state = initialState, action) => {
|
|
|
448
464
|
CellHighlightInfo: [],
|
|
449
465
|
});
|
|
450
466
|
}
|
|
467
|
+
case HIGHLIGHT_COLUMN_ADD: {
|
|
468
|
+
const actionTypedAdd = action;
|
|
469
|
+
return Object.assign({}, state, {
|
|
470
|
+
ColumnHighlightInfo: [...state.ColumnHighlightInfo, actionTypedAdd.columnHighlightInfo],
|
|
471
|
+
});
|
|
472
|
+
}
|
|
473
|
+
case HIGHLIGHT_COLUMN_DELETE: {
|
|
474
|
+
const actionTypedDelete = action;
|
|
475
|
+
const actionId = actionTypedDelete.columnId;
|
|
476
|
+
return Object.assign({}, state, {
|
|
477
|
+
ColumnHighlightInfo: state.ColumnHighlightInfo.filter((columnHighlightInfo) => {
|
|
478
|
+
return columnHighlightInfo.columnId !== actionId;
|
|
479
|
+
}),
|
|
480
|
+
});
|
|
481
|
+
}
|
|
482
|
+
case HIGHLIGHT_COLUMN_DELETE_ALL: {
|
|
483
|
+
return Object.assign({}, state, {
|
|
484
|
+
ColumnHighlightInfo: [],
|
|
485
|
+
});
|
|
486
|
+
}
|
|
451
487
|
case HIGHLIGHT_ROW_ADD: {
|
|
452
488
|
const actionTypedAdd = action;
|
|
453
489
|
return Object.assign({}, state, {
|
|
@@ -168,11 +168,11 @@ export declare const getColumnFilterSelector: (state: AdaptableState, columnId:
|
|
|
168
168
|
Predicates: import("../../types").ColumnFilterPredicate[];
|
|
169
169
|
PredicatesOperator?: import("../../types").PredicatesOperator;
|
|
170
170
|
IsSuspended?: boolean;
|
|
171
|
-
Uuid?: import("../../AdaptableState/Uuid").TypeUuid;
|
|
172
171
|
Source?: "InitialState" | "User";
|
|
173
172
|
AdaptableVersion?: import("../../types").AdaptableVersion;
|
|
174
173
|
IsReadOnly?: boolean;
|
|
175
174
|
Tags?: import("../../types").AdaptableObjectTag[];
|
|
176
175
|
Metadata?: any;
|
|
176
|
+
Uuid?: import("../../AdaptableState/Uuid").TypeUuid;
|
|
177
177
|
};
|
|
178
178
|
export declare const LayoutReducer: Redux.Reducer<LayoutState>;
|
|
@@ -42,7 +42,7 @@ export const GetNoteSelector = (state, address) => {
|
|
|
42
42
|
// happy check
|
|
43
43
|
return true;
|
|
44
44
|
}
|
|
45
|
-
// Primary keys
|
|
45
|
+
// Primary keys retrieved from the grid dom are always strings, so we must also consider them strings
|
|
46
46
|
if ((typeof address.PrimaryKeyValue === 'number' && typeof note.PrimaryKeyValue === 'string') ||
|
|
47
47
|
(typeof address.PrimaryKeyValue === 'string' && typeof note.PrimaryKeyValue === 'number')) {
|
|
48
48
|
return (note.PrimaryKeyValue.toString() === address.PrimaryKeyValue.toString() &&
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import * as Redux from 'redux';
|
|
2
|
+
import { UserInterfaceState } from '../../AdaptableState/UserInterfaceState';
|
|
3
|
+
/**
|
|
4
|
+
* @ReduxAction Sets whether all AdapTable UI elements are hidden
|
|
5
|
+
*/
|
|
6
|
+
export declare const USER_INTERFACE_SET_HIDE_ADAPTABLE_UI = "USER_INTERFACE_SET_HIDE_ADAPTABLE_UI";
|
|
7
|
+
export interface UserInterfaceSetHideAdaptableUIAction extends Redux.Action {
|
|
8
|
+
hideAdaptableUI: boolean;
|
|
9
|
+
}
|
|
10
|
+
export declare const UserInterfaceSetHideAdaptableUI: (hideAdaptableUI: boolean) => UserInterfaceSetHideAdaptableUIAction;
|
|
11
|
+
export declare const UserInterfaceReducer: Redux.Reducer<UserInterfaceState>;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @ReduxAction Sets whether all AdapTable UI elements are hidden
|
|
3
|
+
*/
|
|
4
|
+
export const USER_INTERFACE_SET_HIDE_ADAPTABLE_UI = 'USER_INTERFACE_SET_HIDE_ADAPTABLE_UI';
|
|
5
|
+
export const UserInterfaceSetHideAdaptableUI = (hideAdaptableUI) => ({
|
|
6
|
+
type: USER_INTERFACE_SET_HIDE_ADAPTABLE_UI,
|
|
7
|
+
hideAdaptableUI,
|
|
8
|
+
});
|
|
9
|
+
const initialState = {
|
|
10
|
+
HideAdaptableUI: false,
|
|
11
|
+
};
|
|
12
|
+
export const UserInterfaceReducer = (state = initialState, action) => {
|
|
13
|
+
switch (action.type) {
|
|
14
|
+
case USER_INTERFACE_SET_HIDE_ADAPTABLE_UI:
|
|
15
|
+
return Object.assign({}, state, {
|
|
16
|
+
HideAdaptableUI: action.hideAdaptableUI,
|
|
17
|
+
});
|
|
18
|
+
default:
|
|
19
|
+
return state;
|
|
20
|
+
}
|
|
21
|
+
};
|
|
@@ -26,6 +26,12 @@ const loadState = ({ adaptableId, adaptableStateKey }) => {
|
|
|
26
26
|
return Promise.resolve(parsedJsonState);
|
|
27
27
|
};
|
|
28
28
|
class AdaptableReduxLocalStorageEngine {
|
|
29
|
+
adaptableId;
|
|
30
|
+
adaptableStateKey;
|
|
31
|
+
userName;
|
|
32
|
+
initialState;
|
|
33
|
+
loadState;
|
|
34
|
+
persistState;
|
|
29
35
|
constructor(config) {
|
|
30
36
|
this.adaptableId = config.adaptableId;
|
|
31
37
|
this.adaptableStateKey = config.adaptableStateKey;
|