@adaptabletools/adaptable-cjs 18.0.0-canary.9 → 18.0.1
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 +18 -20
- package/base.css.map +1 -1
- package/index.css +22 -20
- package/index.css.map +1 -1
- package/package.json +1 -1
- package/src/AdaptableInterfaces/IAdaptable.d.ts +5 -6
- package/src/AdaptableOptions/ActionColumnOptions.d.ts +3 -2
- package/src/AdaptableOptions/AdaptableFrameworkComponent.d.ts +3 -0
- package/src/AdaptableOptions/AdaptableOptions.d.ts +14 -13
- package/src/AdaptableOptions/AdaptablePlugin.d.ts +2 -0
- package/src/AdaptableOptions/AdaptablePlugin.js +2 -0
- package/src/AdaptableOptions/ColumnFilterOptions.d.ts +7 -0
- package/src/AdaptableOptions/ColumnMenuOptions.d.ts +94 -0
- package/src/AdaptableOptions/ColumnOptions.d.ts +9 -4
- package/src/AdaptableOptions/CommentOptions.d.ts +20 -9
- package/src/AdaptableOptions/ContextMenuOptions.d.ts +94 -0
- package/src/AdaptableOptions/CustomSortOptions.d.ts +2 -2
- package/src/AdaptableOptions/DataImportOptions.d.ts +2 -2
- package/src/AdaptableOptions/FormatColumnOptions.d.ts +2 -2
- package/src/AdaptableOptions/GroupingOptions.d.ts +0 -26
- package/src/AdaptableOptions/NoteOptions.d.ts +12 -3
- package/src/AdaptableOptions/PredicateOptions.d.ts +2 -2
- package/src/AdaptableOptions/QuickSearchOptions.d.ts +1 -1
- package/src/AdaptableOptions/StateOptions.d.ts +6 -0
- package/src/AdaptableOptions/UserInterfaceOptions.d.ts +2 -2
- package/src/Api/AdaptableApi.d.ts +16 -6
- package/src/Api/ColumnApi.d.ts +13 -0
- package/src/Api/ColumnMenuApi.d.ts +13 -0
- package/src/Api/{ScopeApi.d.ts → ColumnScopeApi.d.ts} +28 -28
- package/src/Api/CommentApi.d.ts +20 -22
- package/src/Api/ConfigApi.d.ts +12 -7
- package/src/Api/ContextMenuApi.d.ts +9 -0
- package/src/Api/EventApi.d.ts +7 -9
- package/src/Api/Events/CommentChanged.d.ts +11 -0
- package/src/Api/Events/CommentChanged.js +2 -0
- package/src/Api/Events/GridDataChanged.d.ts +1 -1
- package/src/Api/FlashingCellApi.d.ts +2 -2
- package/src/Api/GridApi.d.ts +32 -4
- package/src/Api/Implementation/ActionColumnApiImpl.js +3 -6
- package/src/Api/Implementation/ActionRowApiImpl.js +3 -7
- package/src/Api/Implementation/AdaptableApiImpl.d.ts +7 -5
- package/src/Api/Implementation/AdaptableApiImpl.js +9 -5
- package/src/Api/Implementation/AlertApiImpl.js +8 -13
- package/src/Api/Implementation/ApiBase.d.ts +6 -4
- package/src/Api/Implementation/ApiBase.js +11 -5
- package/src/Api/Implementation/CalendarApiImpl.js +1 -6
- package/src/Api/Implementation/CellSummaryApiImpl.d.ts +0 -5
- package/src/Api/Implementation/CellSummaryApiImpl.js +2 -23
- package/src/Api/Implementation/ChartingApiImpl.js +3 -3
- package/src/Api/Implementation/ColumnApiImpl.d.ts +5 -0
- package/src/Api/Implementation/ColumnApiImpl.js +48 -16
- package/src/Api/Implementation/ColumnFilterApiImpl.js +7 -7
- package/src/Api/Implementation/ColumnMenuApiImpl.d.ts +8 -0
- package/src/Api/Implementation/ColumnMenuApiImpl.js +16 -0
- package/src/Api/Implementation/ColumnScopeApiImpl.d.ts +33 -0
- package/src/Api/Implementation/{ScopeApiImpl.js → ColumnScopeApiImpl.js} +48 -15
- package/src/Api/Implementation/CommentsApiImpl.d.ts +4 -5
- package/src/Api/Implementation/CommentsApiImpl.js +6 -6
- package/src/Api/Implementation/ConfigApiImpl.d.ts +4 -3
- package/src/Api/Implementation/ConfigApiImpl.js +25 -25
- package/src/Api/Implementation/ContextMenuApiImpl.d.ts +7 -0
- package/src/Api/Implementation/ContextMenuApiImpl.js +13 -0
- package/src/Api/Implementation/DashboardApiImpl.js +1 -6
- package/src/Api/Implementation/ExportApiImpl.js +5 -10
- package/src/Api/Implementation/ExpressionApiImpl.js +14 -19
- package/src/Api/Implementation/Fdc3ApiImpl.js +1 -1
- package/src/Api/Implementation/FlashingCellApiImpl.d.ts +2 -2
- package/src/Api/Implementation/FlashingCellApiImpl.js +3 -8
- package/src/Api/Implementation/FormatColumnApiImpl.js +4 -4
- package/src/Api/Implementation/FreeTextColumnApiImpl.js +1 -1
- package/src/Api/Implementation/GridApiImpl.d.ts +9 -2
- package/src/Api/Implementation/GridApiImpl.js +52 -11
- package/src/Api/Implementation/LayoutApiImpl.d.ts +2 -7
- package/src/Api/Implementation/LayoutApiImpl.js +6 -15
- package/src/Api/Implementation/{NotesApiImpl.d.ts → NoteApiImpl.d.ts} +8 -8
- package/src/Api/Implementation/{NotesApiImpl.js → NoteApiImpl.js} +14 -14
- package/src/Api/Implementation/OptionsApiImpl.d.ts +6 -5
- package/src/Api/Implementation/OptionsApiImpl.js +7 -4
- package/src/Api/Implementation/PredicateApiImpl.js +2 -2
- package/src/Api/Implementation/ScheduleApiImpl.js +6 -6
- package/src/Api/Implementation/TeamSharingApiImpl.js +3 -15
- package/src/Api/Implementation/ThemeApiImpl.js +2 -7
- package/src/Api/Implementation/UserInterfaceApiImpl.d.ts +14 -8
- package/src/Api/Implementation/UserInterfaceApiImpl.js +32 -27
- package/src/Api/Internal/ActionRowInternalApi.d.ts +1 -0
- package/src/Api/Internal/ActionRowInternalApi.js +19 -46
- package/src/Api/Internal/AdaptableInternalApi.d.ts +3 -4
- package/src/Api/Internal/AdaptableInternalApi.js +16 -30
- package/src/Api/Internal/AlertInternalApi.d.ts +2 -2
- package/src/Api/Internal/AlertInternalApi.js +7 -20
- package/src/Api/Internal/CalculatedColumnInternalApi.js +10 -16
- package/src/Api/Internal/ChartingInternalApi.js +13 -13
- package/src/Api/Internal/ColumnFilterInternalApi.d.ts +1 -0
- package/src/Api/Internal/ColumnFilterInternalApi.js +24 -30
- package/src/Api/Internal/ColumnInternalApi.d.ts +2 -0
- package/src/Api/Internal/ColumnInternalApi.js +8 -1
- package/src/Api/Internal/CommentsInternalApi.d.ts +1 -1
- package/src/Api/Internal/CommentsInternalApi.js +3 -2
- package/src/Api/Internal/CustomSortInternalApi.js +1 -1
- package/src/Api/Internal/DashboardInternalApi.js +5 -11
- package/src/Api/Internal/DataImportInternalApi.js +3 -9
- package/src/Api/Internal/DataSetInternalApi.js +2 -7
- package/src/Api/Internal/ExportInternalApi.d.ts +2 -1
- package/src/Api/Internal/ExportInternalApi.js +8 -5
- package/src/Api/Internal/ExpressionInternalApi.js +3 -13
- package/src/Api/Internal/Fdc3InternalApi.js +3 -12
- package/src/Api/Internal/FormatColumnInternalApi.d.ts +3 -6
- package/src/Api/Internal/FormatColumnInternalApi.js +37 -30
- package/src/Api/Internal/FreeTextColumnInternalApi.js +4 -3
- package/src/Api/Internal/GridFilterInternalApi.d.ts +5 -0
- package/src/Api/Internal/GridFilterInternalApi.js +8 -8
- package/src/Api/Internal/GridInternalApi.d.ts +2 -0
- package/src/Api/Internal/GridInternalApi.js +28 -40
- package/src/Api/Internal/LayoutInternalApi.d.ts +2 -0
- package/src/Api/Internal/LayoutInternalApi.js +26 -19
- package/src/Api/Internal/NoteInternalApi.d.ts +4 -0
- package/src/Api/Internal/{NotesInternalApi.js → NoteInternalApi.js} +6 -5
- package/src/Api/Internal/PredicateInternalApi.d.ts +6 -6
- package/src/Api/Internal/PredicateInternalApi.js +5 -40
- package/src/Api/Internal/ScheduleInternalApi.js +1 -6
- package/src/Api/Internal/StyledColumnInternalApi.d.ts +2 -2
- package/src/Api/Internal/StyledColumnInternalApi.js +8 -9
- package/src/Api/Internal/SystemStatusInternalApi.js +1 -7
- package/src/Api/Internal/TeamSharingInternalApi.js +2 -7
- package/src/Api/Internal/ThemeInternalApi.js +1 -1
- package/src/Api/Internal/UserInterfaceInternalApi.js +1 -1
- package/src/Api/LayoutApi.d.ts +9 -12
- package/src/Api/NoteApi.d.ts +48 -0
- package/src/Api/NoteApi.js +2 -0
- package/src/Api/OptionsApi.d.ts +14 -10
- package/src/Api/UserInterfaceApi.d.ts +15 -13
- package/src/PredefinedConfig/AdaptableState.d.ts +2 -2
- package/src/PredefinedConfig/AlertState.d.ts +2 -2
- package/src/PredefinedConfig/CommentState.d.ts +27 -23
- package/src/PredefinedConfig/Common/AdaptableIcon.d.ts +1 -1
- package/src/PredefinedConfig/Common/AdaptableObject.d.ts +4 -4
- package/src/PredefinedConfig/Common/AdaptablePredicate.d.ts +2 -2
- package/src/PredefinedConfig/Common/CellSummary.d.ts +5 -14
- package/src/PredefinedConfig/Common/{AdaptableScope.d.ts → ColumnScope.d.ts} +1 -1
- package/src/PredefinedConfig/Common/ColumnScope.js +2 -0
- package/src/PredefinedConfig/Common/DataUpdateConfig.d.ts +1 -5
- package/src/PredefinedConfig/Common/Enums.d.ts +4 -1
- package/src/PredefinedConfig/Common/Enums.js +3 -0
- package/src/PredefinedConfig/Common/Fdc3Intent.d.ts +2 -2
- package/src/PredefinedConfig/Common/Menu.d.ts +39 -4
- package/src/PredefinedConfig/Common/Menu.js +126 -0
- package/src/PredefinedConfig/Common/RowScope.d.ts +17 -0
- package/src/PredefinedConfig/Common/RowScope.js +2 -0
- package/src/PredefinedConfig/Common/RowSummary.d.ts +15 -1
- package/src/PredefinedConfig/Common/RowSummary.js +17 -1
- package/src/PredefinedConfig/Common/TransposeConfig.d.ts +30 -0
- package/src/PredefinedConfig/Common/TransposeConfig.js +2 -0
- package/src/PredefinedConfig/Common/Types.d.ts +4 -4
- package/src/PredefinedConfig/Common/Types.js +4 -1
- package/src/PredefinedConfig/ExportState.d.ts +2 -2
- package/src/PredefinedConfig/FlashingCellState.d.ts +2 -2
- package/src/PredefinedConfig/FormatColumnState.d.ts +9 -5
- package/src/PredefinedConfig/LayoutState.d.ts +2 -2
- package/src/PredefinedConfig/{NotesState.d.ts → NoteState.d.ts} +4 -4
- package/src/PredefinedConfig/NoteState.js +2 -0
- package/src/PredefinedConfig/PlusMinusState.d.ts +2 -2
- package/src/PredefinedConfig/PopupState.d.ts +1 -2
- package/src/PredefinedConfig/PredefinedConfig.d.ts +2 -2
- package/src/PredefinedConfig/Selection/GridCell.d.ts +13 -0
- package/src/PredefinedConfig/ShortcutState.d.ts +2 -2
- package/src/PredefinedConfig/StyledColumnState.d.ts +5 -5
- package/src/PredefinedConfig/SystemState.d.ts +5 -4
- package/src/Redux/ActionsReducers/CommentsRedux.d.ts +0 -4
- package/src/Redux/ActionsReducers/CommentsRedux.js +1 -39
- package/src/Redux/ActionsReducers/LayoutRedux.js +12 -10
- package/src/Redux/ActionsReducers/NoteRedux.d.ts +38 -0
- package/src/Redux/ActionsReducers/{NotesRedux.js → NoteRedux.js} +31 -31
- package/src/Redux/ActionsReducers/PopupRedux.d.ts +5 -13
- package/src/Redux/ActionsReducers/PopupRedux.js +1 -22
- package/src/Redux/ActionsReducers/SystemRedux.d.ts +11 -5
- package/src/Redux/ActionsReducers/SystemRedux.js +14 -11
- package/src/Redux/Store/AdaptableStore.js +39 -32
- package/src/Strategy/AdaptableModuleBase.d.ts +10 -10
- package/src/Strategy/AdaptableModuleBase.js +13 -16
- package/src/Strategy/AlertModule.d.ts +3 -2
- package/src/Strategy/AlertModule.js +4 -4
- package/src/Strategy/BulkUpdateModule.d.ts +3 -2
- package/src/Strategy/BulkUpdateModule.js +2 -1
- package/src/Strategy/CalculatedColumnModule.d.ts +3 -4
- package/src/Strategy/CalculatedColumnModule.js +18 -14
- package/src/Strategy/CellSummaryModule.d.ts +9 -9
- package/src/Strategy/CellSummaryModule.js +96 -107
- package/src/Strategy/ColumnFilterModule.d.ts +3 -3
- package/src/Strategy/ColumnFilterModule.js +36 -57
- package/src/Strategy/ColumnInfoModule.d.ts +3 -3
- package/src/Strategy/ColumnInfoModule.js +6 -4
- package/src/Strategy/CommentModule.d.ts +12 -0
- package/src/Strategy/CommentModule.js +75 -0
- package/src/Strategy/CustomSortModule.d.ts +1 -2
- package/src/Strategy/CustomSortModule.js +3 -2
- package/src/Strategy/DashboardModule.d.ts +3 -3
- package/src/Strategy/DashboardModule.js +10 -20
- package/src/Strategy/DataImportModule.d.ts +4 -4
- package/src/Strategy/DataImportModule.js +8 -8
- package/src/Strategy/ExportModule.d.ts +1 -2
- package/src/Strategy/ExportModule.js +56 -42
- package/src/Strategy/Fdc3Module.d.ts +1 -1
- package/src/Strategy/Fdc3Module.js +3 -13
- package/src/Strategy/FlashingCellModule.d.ts +4 -3
- package/src/Strategy/FlashingCellModule.js +10 -10
- package/src/Strategy/FormatColumnModule.d.ts +1 -1
- package/src/Strategy/FormatColumnModule.js +29 -47
- package/src/Strategy/FreeTextColumnModule.d.ts +1 -2
- package/src/Strategy/FreeTextColumnModule.js +2 -2
- package/src/Strategy/GridInfoModule.d.ts +3 -3
- package/src/Strategy/GridInfoModule.js +5 -3
- package/src/Strategy/Interface/IModule.d.ts +4 -4
- package/src/Strategy/LayoutModule.d.ts +4 -10
- package/src/Strategy/LayoutModule.js +50 -150
- package/src/Strategy/NoteModule.d.ts +10 -0
- package/src/Strategy/NoteModule.js +60 -0
- package/src/Strategy/PlusMinusModule.d.ts +1 -2
- package/src/Strategy/PlusMinusModule.js +5 -5
- package/src/Strategy/SettingsPanelModule.d.ts +3 -3
- package/src/Strategy/SettingsPanelModule.js +6 -6
- package/src/Strategy/ShortcutModule.js +1 -1
- package/src/Strategy/SmartEditModule.d.ts +3 -2
- package/src/Strategy/SmartEditModule.js +2 -1
- package/src/Strategy/StyledColumnModule.d.ts +2 -1
- package/src/Strategy/StyledColumnModule.js +42 -22
- package/src/Strategy/SystemStatusModule.d.ts +3 -3
- package/src/Strategy/SystemStatusModule.js +6 -3
- package/src/Strategy/Utilities/FormatColumn/getFormatColumnSettingsViewItems.js +4 -2
- package/src/Strategy/Utilities/getScopeViewItems.d.ts +2 -2
- package/src/Strategy/Utilities/getScopeViewItems.js +3 -0
- package/src/Utilities/Constants/GeneralConstants.d.ts +1 -0
- package/src/Utilities/Constants/GeneralConstants.js +3 -2
- package/src/Utilities/Constants/ModuleConstants.d.ts +6 -6
- package/src/Utilities/Constants/ModuleConstants.js +7 -7
- package/src/Utilities/Defaults/DefaultSettingsPanel.js +2 -2
- package/src/Utilities/ExpressionFunctions/aggregatedScalarExpressionFunctions.d.ts +2 -2
- package/src/Utilities/ExpressionFunctions/aggregatedScalarExpressionFunctions.js +144 -7
- package/src/Utilities/ExpressionFunctions/observableExpressionFunctions.js +3 -3
- package/src/Utilities/ExpressionFunctions/scalarExpressionFunctions.d.ts +1 -1
- package/src/Utilities/ExpressionFunctions/scalarExpressionFunctions.js +15 -0
- package/src/Utilities/Helpers/AdaptableHelper.d.ts +3 -1
- package/src/Utilities/Helpers/AdaptableHelper.js +21 -1
- package/src/Utilities/Interface/MessagePopups.d.ts +0 -3
- package/src/Utilities/MenuItem.d.ts +10 -7
- package/src/Utilities/MenuItem.js +6 -3
- package/src/Utilities/ObjectFactory.d.ts +3 -3
- package/src/Utilities/ObjectFactory.js +7 -25
- package/src/Utilities/Services/AggregatedScalarLiveValue.d.ts +1 -0
- package/src/Utilities/Services/AggregatedScalarLiveValue.js +12 -10
- package/src/Utilities/Services/CellPopupService.js +4 -4
- package/src/Utilities/Services/Interface/IReportService.d.ts +1 -4
- package/src/Utilities/Services/LicenseService/index.js +1 -198
- package/src/Utilities/Services/ModuleService.js +6 -2
- package/src/Utilities/Services/QueryLanguageService.js +2 -2
- package/src/Utilities/Services/ReportService.d.ts +7 -5
- package/src/Utilities/Services/ReportService.js +245 -26
- package/src/Utilities/Services/RowSummaryService.d.ts +26 -0
- package/src/Utilities/Services/RowSummaryService.js +160 -0
- package/src/Utilities/Services/ValidationService.js +2 -2
- package/src/Utilities/adaptableQlUtils.d.ts +2 -0
- package/src/Utilities/adaptableQlUtils.js +18 -0
- package/src/Utilities/license/decode.js +1 -70
- package/src/Utilities/license/hashing.js +1 -47
- package/src/View/AdaptableViewFactory.js +2 -2
- package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/UIOptions/UIOptionsStatusbarForm.js +1 -1
- package/src/View/Alert/AlertEntityRow.js +1 -1
- package/src/View/Alert/Utilities/getAvailablePredicates.d.ts +2 -2
- package/src/View/Alert/Utilities/getDefaultAlertDefinition.d.ts +1 -1
- package/src/View/Alert/Wizard/AlertScopeWizardSection.js +2 -2
- package/src/View/Alert/Wizard/BaseAlertScopeWizardSection.js +1 -1
- package/src/View/BulkUpdate/BulkUpdatePopup.js +2 -2
- package/src/View/CalculatedColumn/Wizard/CalculatedColumnWizard.d.ts +1 -1
- package/src/View/CalculatedColumn/Wizard/CalculatedColumnWizard.js +3 -3
- package/src/View/ColumnInfo/ColumnInfo.js +1 -1
- package/src/View/Comments/CommentsEditor.js +28 -17
- package/src/View/Comments/CommentsPopup.js +15 -7
- package/src/View/Components/AdaptableDateInput/index.d.ts +1 -1
- package/src/View/Components/AdaptableInput/AdaptableDateInlineInput.d.ts +5 -0
- package/src/View/Components/AdaptableInput/AdaptableDateInlineInput.js +46 -0
- package/src/View/Components/AdaptableObjectList/AdaptableObjectList.js +5 -2
- package/src/View/Components/CellPopup/index.d.ts +1 -0
- package/src/View/Components/CellPopup/index.js +6 -3
- package/src/View/Components/EntityRulesEditor/EntityRulePredicatesEditor/EntityRulePredicatesEditor.d.ts +3 -3
- package/src/View/Components/EntityRulesEditor/index.d.ts +3 -3
- package/src/View/Components/FilterForm/FilterForm.js +20 -12
- package/src/View/Components/FilterForm/QuickFilterForm.js +15 -8
- package/src/View/Components/FilterForm/QuickFilterValues.js +39 -23
- package/src/View/Components/NewScopeComponent.d.ts +5 -5
- package/src/View/Components/NewScopeComponent.js +6 -4
- package/src/View/Components/Popups/AdaptablePopup/AdaptablePopup.js +4 -1
- package/src/View/Components/Popups/AdaptablePopup/useMenuItems.js +10 -1
- package/src/View/Components/Popups/GridCellPopup/GridCellPopup.js +7 -10
- package/src/View/Components/RangesComponent.d.ts +2 -2
- package/src/View/Components/RangesComponent.js +1 -1
- package/src/View/Components/Selectors/PermittedValuesSelector.js +1 -1
- package/src/View/Components/SharedProps/WizardScopeState.d.ts +2 -2
- package/src/View/Components/ValueSelector/index.d.ts +1 -0
- package/src/View/Components/ValueSelector/index.js +2 -2
- package/src/View/CustomSort/Wizard/CustomSortColumnWizardSection.js +1 -1
- package/src/View/DataChangeHistory/DataChangeHistoryGrid.js +4 -2
- package/src/View/DataImport/DataImportWizard/DataImportWizard.js +1 -1
- package/src/View/FormatColumn/Wizard/FormatColumnFormatWizardSection.d.ts +2 -2
- package/src/View/FormatColumn/Wizard/FormatColumnFormatWizardSection.js +20 -7
- package/src/View/FormatColumn/Wizard/FormatColumnRuleWizardSection.js +1 -1
- package/src/View/FormatColumn/Wizard/FormatColumnScopeWizardSection.js +1 -1
- package/src/View/FormatColumn/Wizard/FormatColumnSettingsWizardSection.js +27 -12
- package/src/View/FormatColumn/Wizard/FormatColumnStyleWizardSection.js +1 -1
- package/src/View/FreeTextColumn/FreeTextColumnSummary.js +1 -1
- package/src/View/FreeTextColumn/Wizard/FreeTextColumnWizard.js +3 -1
- package/src/View/GridFilter/GridFilterViewPanel.js +3 -3
- package/src/View/GridFilter/useGridFilterExpressionEditor.js +1 -1
- package/src/View/Layout/LayoutViewPanel.js +2 -1
- package/src/View/Layout/TransposedPopup.js +20 -19
- package/src/View/Layout/Wizard/LayoutWizard.js +38 -3
- package/src/View/Layout/Wizard/sections/ColumnsSection.js +1 -1
- package/src/View/Layout/Wizard/sections/FilterSection.js +1 -1
- package/src/View/Layout/Wizard/sections/RowGroupingSection.js +18 -2
- package/src/View/Layout/Wizard/sections/RowSummarySection.d.ts +9 -0
- package/src/View/Layout/Wizard/sections/RowSummarySection.js +181 -0
- package/src/View/License/LicenseWatermark.js +1 -66
- package/src/View/Note/NotePopup.d.ts +2 -0
- package/src/View/{Notes/NotesPopup.js → Note/NotePopup.js} +16 -11
- package/src/View/PlusMinus/PlusMinusSummary.js +2 -2
- package/src/View/SmartEdit/SmartEditPopup.js +1 -1
- package/src/View/SpecialColumnSettingsWizardStep.js +4 -4
- package/src/View/StyledColumn/Wizard/StyledColumnBadgeSection.js +5 -7
- package/src/View/StyledColumn/Wizard/StyledColumnWizard.js +1 -1
- package/src/View/StyledColumn/Wizard/StyledColumnWizardColumnSection.js +1 -1
- package/src/View/StyledColumn/Wizard/StyledColumnWizardSettingsSection.js +38 -14
- package/src/View/StyledColumn/Wizard/StyledColumnWizardStyleSection/StyledColumnWizardStyleSection.js +1 -1
- package/src/agGrid/ActionColumnRenderer.js +40 -4
- package/src/agGrid/AdaptableAgGrid.d.ts +11 -16
- package/src/agGrid/AdaptableAgGrid.js +230 -250
- package/src/agGrid/AgGridAdapter.d.ts +4 -2
- package/src/agGrid/AgGridAdapter.js +12 -0
- package/src/agGrid/AgGridColumnAdapter.d.ts +1 -3
- package/src/agGrid/AgGridColumnAdapter.js +42 -71
- package/src/agGrid/AgGridMenuAdapter.d.ts +25 -8
- package/src/agGrid/AgGridMenuAdapter.js +405 -74
- package/src/agGrid/AgGridOptionsService.d.ts +4 -1
- package/src/agGrid/AgGridOptionsService.js +22 -0
- package/src/agGrid/BadgeRenderer.d.ts +2 -2
- package/src/agGrid/BadgeRenderer.js +24 -11
- package/src/agGrid/PercentBarRenderer.js +2 -1
- package/src/agGrid/buildSortedColumnStateForLayout.d.ts +7 -0
- package/src/agGrid/buildSortedColumnStateForLayout.js +124 -0
- package/src/agGrid/defaultAdaptableOptions.js +7 -12
- package/src/agGrid/editors/AdaptableDateEditor/index.d.ts +1 -1
- package/src/agGrid/editors/AdaptableDateEditor/index.js +1 -1
- package/src/agGrid/editors/AdaptableNumberEditor/index.d.ts +2 -2
- package/src/agGrid/sortColumnStateForVisibleColumns.d.ts +12 -0
- package/src/agGrid/sortColumnStateForVisibleColumns.js +50 -0
- package/src/agGrid/weightedAverage.d.ts +0 -2
- package/src/agGrid/weightedAverage.js +1 -56
- package/src/components/Accordion.d.ts +7 -0
- package/src/components/Accordion.js +41 -0
- package/src/components/Datepicker/index.js +10 -2
- package/src/components/ExpressionEditor/QueryBuilder/QueryPredicateBuilder.js +2 -1
- package/src/components/ExpressionEditor/QueryBuilder/utils.d.ts +0 -1
- package/src/components/ExpressionEditor/QueryBuilder/utils.js +3 -17
- package/src/components/Input/index.d.ts +1 -2
- package/src/components/ProgressIndicator/ProgressIndicator.js +15 -6
- package/src/components/Select/Select.d.ts +1 -1
- package/src/components/Select/Select.js +3 -1
- package/src/components/Textarea/index.d.ts +2 -2
- package/src/components/icons/collapse-all.d.ts +3 -0
- package/src/components/icons/collapse-all.js +7 -0
- package/src/components/icons/copy.d.ts +3 -0
- package/src/components/icons/copy.js +7 -0
- package/src/components/icons/csv.d.ts +3 -0
- package/src/components/icons/csv.js +7 -0
- package/src/components/icons/data-object.d.ts +3 -0
- package/src/components/icons/data-object.js +7 -0
- package/src/components/icons/excel.d.ts +3 -0
- package/src/components/icons/excel.js +8 -0
- package/src/components/icons/expand-all.d.ts +3 -0
- package/src/components/icons/expand-all.js +7 -0
- package/src/components/icons/filter-off.d.ts +3 -0
- package/src/components/icons/filter-off.js +7 -0
- package/src/components/icons/grid-info.d.ts +3 -0
- package/src/components/icons/grid-info.js +7 -0
- package/src/components/icons/index.js +22 -0
- package/src/components/icons/note.js +2 -2
- package/src/components/icons/select-all.d.ts +3 -0
- package/src/components/icons/select-all.js +7 -0
- package/src/components/icons/select-fwd.d.ts +3 -0
- package/src/components/icons/select-fwd.js +7 -0
- package/src/components/icons/select-off.d.ts +3 -0
- package/src/components/icons/select-off.js +7 -0
- package/src/env.js +2 -2
- package/src/metamodel/adaptable.metamodel.d.ts +222 -116
- package/src/metamodel/adaptable.metamodel.js +1 -9429
- package/src/parser/src/parser.js +576 -553
- package/src/parser/src/predicate/mapExpressionToQlPredicate.js +1 -1
- package/src/parser/src/predicate/mapQlPredicateToExpression.js +3 -4
- package/src/parser/src/types.d.ts +2 -2
- package/src/parser/src/types.js +1 -2
- package/src/types.d.ts +32 -25
- package/tsconfig.cjs.tsbuildinfo +1 -1
- package/src/AdaptableOptions/MenuOptions.d.ts +0 -234
- package/src/AdaptableOptions/MenuOptions.js +0 -99
- package/src/Api/Events/CommentsChangedInfo.d.ts +0 -5
- package/src/Api/Implementation/ScopeApiImpl.d.ts +0 -33
- package/src/Api/Internal/NotesInternalApi.d.ts +0 -4
- package/src/Api/NotesApi.d.ts +0 -48
- package/src/PredefinedConfig/CellAddress.d.ts +0 -13
- package/src/PredefinedConfig/CellAddress.js +0 -5
- package/src/Redux/ActionsReducers/NotesRedux.d.ts +0 -38
- package/src/Strategy/CommentsModule.d.ts +0 -17
- package/src/Strategy/CommentsModule.js +0 -86
- package/src/Strategy/NotesModule.d.ts +0 -10
- package/src/Strategy/NotesModule.js +0 -61
- package/src/Utilities/Services/SummaryService.d.ts +0 -19
- package/src/Utilities/Services/SummaryService.js +0 -33
- package/src/View/Notes/NotesPopup.d.ts +0 -2
- /package/src/{Api/Events/CommentsChangedInfo.js → AdaptableOptions/ColumnMenuOptions.js} +0 -0
- /package/src/{Api/NotesApi.js → AdaptableOptions/ContextMenuOptions.js} +0 -0
- /package/src/Api/{ScopeApi.js → ColumnMenuApi.js} +0 -0
- /package/src/{PredefinedConfig/Common/AdaptableScope.js → Api/ColumnScopeApi.js} +0 -0
- /package/src/{PredefinedConfig/NotesState.js → Api/ContextMenuApi.js} +0 -0
- /package/src/View/{Notes → Note}/NoteEditor.d.ts +0 -0
- /package/src/View/{Notes → Note}/NoteEditor.js +0 -0
|
@@ -39,10 +39,10 @@ class OptionsApiImpl extends ApiBase_1.ApiBase {
|
|
|
39
39
|
getColumnOptions() {
|
|
40
40
|
return this.getOptions().columnOptions;
|
|
41
41
|
}
|
|
42
|
-
|
|
42
|
+
getNoteOptions() {
|
|
43
43
|
return this.getOptions().noteOptions;
|
|
44
44
|
}
|
|
45
|
-
|
|
45
|
+
getCommentOptions() {
|
|
46
46
|
return this.getOptions().commentOptions;
|
|
47
47
|
}
|
|
48
48
|
getCustomSortOptions() {
|
|
@@ -75,8 +75,11 @@ class OptionsApiImpl extends ApiBase_1.ApiBase {
|
|
|
75
75
|
getLayoutOptions() {
|
|
76
76
|
return this.getOptions().layoutOptions;
|
|
77
77
|
}
|
|
78
|
-
|
|
79
|
-
return this.getOptions().
|
|
78
|
+
getColumnMenuOptions() {
|
|
79
|
+
return this.getOptions().columnMenuOptions;
|
|
80
|
+
}
|
|
81
|
+
getContextMenuOptions() {
|
|
82
|
+
return this.getOptions().contextMenuOptions;
|
|
80
83
|
}
|
|
81
84
|
getColumnFilterOptions() {
|
|
82
85
|
return this.getOptions().columnFilterOptions;
|
|
@@ -75,9 +75,9 @@ class PredicateApiImpl extends ApiBase_1.ApiBase {
|
|
|
75
75
|
if (!predicate.ColumnId) {
|
|
76
76
|
return this.handlePredicate(predicate, context, defaultReturn);
|
|
77
77
|
}
|
|
78
|
-
const paramsForColumn = Object.assign(Object.assign({}, context), { column: this.
|
|
78
|
+
const paramsForColumn = Object.assign(Object.assign({}, context), { column: this.getAdaptableApi().columnApi.getColumnWithColumnId(predicate.ColumnId),
|
|
79
79
|
// value: params?.node?.data?.[predicate.ColumnId],
|
|
80
|
-
value: this.
|
|
80
|
+
value: this.getAdaptableApi().gridApi.getRawValueFromRowNode(context.node, predicate.ColumnId) });
|
|
81
81
|
if ('oldValue' in paramsForColumn) {
|
|
82
82
|
delete paramsForColumn.oldValue;
|
|
83
83
|
}
|
|
@@ -56,7 +56,7 @@ class ScheduleApiImpl extends ApiBase_1.ApiBase {
|
|
|
56
56
|
}
|
|
57
57
|
getReportSchedules(config) {
|
|
58
58
|
var _a;
|
|
59
|
-
return ((_a = this.handleLayoutAssociatedObjects(this.
|
|
59
|
+
return ((_a = this.handleLayoutAssociatedObjects(this.getAdaptableApi().exportApi.getReportSchedules(), 'Schedule', config)) !== null && _a !== void 0 ? _a : []);
|
|
60
60
|
}
|
|
61
61
|
getActiveReportSchedules() {
|
|
62
62
|
return this.getReportSchedules().filter((schedule) => !schedule.IsSuspended);
|
|
@@ -85,7 +85,7 @@ class ScheduleApiImpl extends ApiBase_1.ApiBase {
|
|
|
85
85
|
}
|
|
86
86
|
getIPushPullSchedules(config) {
|
|
87
87
|
var _a;
|
|
88
|
-
const ippApi = this.
|
|
88
|
+
const ippApi = this.getAdaptableApi().pluginsApi.getipushpullPluginApi();
|
|
89
89
|
return ((_a = this.handleLayoutAssociatedObjects(ippApi === null || ippApi === void 0 ? void 0 : ippApi.getIPushPullSchedules(), 'Schedule', config)) !== null && _a !== void 0 ? _a : []);
|
|
90
90
|
}
|
|
91
91
|
getActiveIPushPullSchedules() {
|
|
@@ -115,7 +115,7 @@ class ScheduleApiImpl extends ApiBase_1.ApiBase {
|
|
|
115
115
|
}
|
|
116
116
|
getOpenFinSchedules(config) {
|
|
117
117
|
var _a;
|
|
118
|
-
const openFinApi = this.
|
|
118
|
+
const openFinApi = this.getAdaptableApi().pluginsApi.getOpenFinPluginApi();
|
|
119
119
|
return ((_a = this.handleLayoutAssociatedObjects(openFinApi === null || openFinApi === void 0 ? void 0 : openFinApi.getOpenFinSchedules(), 'Schedule', config)) !== null && _a !== void 0 ? _a : []);
|
|
120
120
|
}
|
|
121
121
|
getActiveOpenFinSchedules() {
|
|
@@ -167,10 +167,10 @@ class ScheduleApiImpl extends ApiBase_1.ApiBase {
|
|
|
167
167
|
}
|
|
168
168
|
else if (scheduleType == 'Report') {
|
|
169
169
|
const reportSchedule = schedule;
|
|
170
|
-
this.
|
|
170
|
+
this.getAdaptableApi().exportApi.runReport(reportSchedule.ReportName, reportSchedule.ExportDestination);
|
|
171
171
|
}
|
|
172
172
|
else if (scheduleType == 'ipushpull') {
|
|
173
|
-
const ippApi = this.
|
|
173
|
+
const ippApi = this.getAdaptableApi().pluginsApi.getipushpullPluginApi();
|
|
174
174
|
const iPushPullSchedule = schedule;
|
|
175
175
|
if (iPushPullSchedule.Transmission == 'Snapshot') {
|
|
176
176
|
ippApi.sendSnapshot(iPushPullSchedule.IPushPullReport);
|
|
@@ -180,7 +180,7 @@ class ScheduleApiImpl extends ApiBase_1.ApiBase {
|
|
|
180
180
|
}
|
|
181
181
|
}
|
|
182
182
|
else if (scheduleType == 'OpenFin') {
|
|
183
|
-
const openFinApi = this.
|
|
183
|
+
const openFinApi = this.getAdaptableApi().pluginsApi.getOpenFinPluginApi();
|
|
184
184
|
const openFinSchedule = schedule;
|
|
185
185
|
openFinApi.startLiveData(openFinSchedule.OpenFinReport);
|
|
186
186
|
}
|
|
@@ -19,11 +19,7 @@ class TeamSharingApiImpl extends ApiBase_1.ApiBase {
|
|
|
19
19
|
return [];
|
|
20
20
|
}
|
|
21
21
|
const teamSharingOptions = this.adaptable.adaptableOptions.teamSharingOptions;
|
|
22
|
-
const sharedEntitiesContext =
|
|
23
|
-
adaptableId: this.adaptable.adaptableOptions.adaptableId,
|
|
24
|
-
userName: this.adaptable.adaptableOptions.userName,
|
|
25
|
-
adaptableApi: this.getAdaptableApi(),
|
|
26
|
-
};
|
|
22
|
+
const sharedEntitiesContext = this.getAdaptableApi().internalApi.buildBaseContext();
|
|
27
23
|
let loadedSharedEntities = await teamSharingOptions.loadSharedEntities(sharedEntitiesContext);
|
|
28
24
|
// with v15 we introduced 2 types of SharedEntity: AdaptableSharedEntity (basically the old one) and the new CustomSharedEntity
|
|
29
25
|
// for backwards compatibility, we add default the 'EntityType' property to 'adaptableEntity'
|
|
@@ -44,11 +40,7 @@ class TeamSharingApiImpl extends ApiBase_1.ApiBase {
|
|
|
44
40
|
return false;
|
|
45
41
|
}
|
|
46
42
|
const teamSharingOptions = this.adaptable.adaptableOptions.teamSharingOptions;
|
|
47
|
-
const sharedEntitiesContext =
|
|
48
|
-
adaptableId: this.adaptable.adaptableOptions.adaptableId,
|
|
49
|
-
userName: this.adaptable.adaptableOptions.userName,
|
|
50
|
-
adaptableApi: this.getAdaptableApi(),
|
|
51
|
-
};
|
|
43
|
+
const sharedEntitiesContext = this.getAdaptableApi().internalApi.buildBaseContext();
|
|
52
44
|
const sharedEntitiesAfterCustomisation = teamSharingOptions.saveSharedEntities(sharedEntities, sharedEntitiesContext);
|
|
53
45
|
await teamSharingOptions.persistSharedEntities(sharedEntitiesAfterCustomisation, sharedEntitiesContext);
|
|
54
46
|
return true;
|
|
@@ -104,11 +96,7 @@ class TeamSharingApiImpl extends ApiBase_1.ApiBase {
|
|
|
104
96
|
this.logError(`Could NOT import custom shared entity because 'TeamSharingOptions.handleCustomSharedEntityImport(...)' is NOT defined!`, sharedEntity);
|
|
105
97
|
return;
|
|
106
98
|
}
|
|
107
|
-
customSharedEntityImportHandler(sharedEntity,
|
|
108
|
-
adaptableApi: this.getAdaptableApi(),
|
|
109
|
-
adaptableId: this.adaptable.adaptableOptions.adaptableId,
|
|
110
|
-
userName: this.adaptable.adaptableOptions.userName,
|
|
111
|
-
});
|
|
99
|
+
customSharedEntityImportHandler(sharedEntity, this.getAdaptableApi().internalApi.buildBaseContext());
|
|
112
100
|
}
|
|
113
101
|
}
|
|
114
102
|
getTeamSharingState() {
|
|
@@ -61,13 +61,8 @@ class ThemeApiImpl extends ApiBase_1.ApiBase {
|
|
|
61
61
|
return;
|
|
62
62
|
}
|
|
63
63
|
this.adaptable.applyAdaptableTheme(currentTheme);
|
|
64
|
-
let themeChangedInfo = {
|
|
65
|
-
|
|
66
|
-
theme: currentTheme,
|
|
67
|
-
userName: this.adaptable.api.optionsApi.getUserName(),
|
|
68
|
-
adaptableId: this.adaptable.api.optionsApi.getAdaptableId(),
|
|
69
|
-
};
|
|
70
|
-
this.adaptable.api.eventApi.emit('ThemeChanged', themeChangedInfo);
|
|
64
|
+
let themeChangedInfo = Object.assign(Object.assign({}, this.getAdaptableApi().internalApi.buildBaseContext()), { theme: currentTheme });
|
|
65
|
+
this.getAdaptableApi().eventApi.emit('ThemeChanged', themeChangedInfo);
|
|
71
66
|
}
|
|
72
67
|
getUserThemes() {
|
|
73
68
|
var _a;
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { IAdaptable } from '../../AdaptableInterfaces/IAdaptable';
|
|
2
|
+
import { BulkUpdatePermittedValues, CustomSortPermittedValues, EditLookUpPermittedValues, FilterPermittedValues, PermittedValues } from '../../AdaptableOptions/UserInterfaceOptions';
|
|
3
3
|
import { AdaptableColumn } from '../../PredefinedConfig/Common/AdaptableColumn';
|
|
4
4
|
import { AdaptableStyle } from '../../PredefinedConfig/Common/AdaptableStyle';
|
|
5
|
-
import {
|
|
6
|
-
import { BulkUpdatePermittedValues, CustomSortPermittedValues, EditLookUpPermittedValues, FilterPermittedValues, PermittedValues } from '../../AdaptableOptions/UserInterfaceOptions';
|
|
7
|
-
import { AdaptableObjectTag, CustomWindowConfig, GridCell } from '../../types';
|
|
5
|
+
import { AdaptableFrameworkComponent, AdaptableObjectTag, CustomRenderFunction, CustomWindowConfig, GridCell } from '../../types';
|
|
8
6
|
import { UserInterfaceInternalApi } from '../Internal/UserInterfaceInternalApi';
|
|
9
|
-
import {
|
|
7
|
+
import { UserInterfaceApi } from '../UserInterfaceApi';
|
|
8
|
+
import { ApiBase } from './ApiBase';
|
|
10
9
|
export declare class UserInterfaceApiImpl extends ApiBase implements UserInterfaceApi {
|
|
11
10
|
internalApi: UserInterfaceInternalApi;
|
|
11
|
+
private showProgressIndicatorTimeout;
|
|
12
12
|
constructor(adaptable: IAdaptable);
|
|
13
13
|
getColorPalette(): string[];
|
|
14
14
|
getStyleClassNames(): string[] | undefined;
|
|
@@ -24,14 +24,20 @@ export declare class UserInterfaceApiImpl extends ApiBase implements UserInterfa
|
|
|
24
24
|
getEditLookUpItems(): EditLookUpPermittedValues[];
|
|
25
25
|
getEditLookUpItemForColumn(column: AdaptableColumn): EditLookUpPermittedValues | undefined;
|
|
26
26
|
getEditLookUpValuesForEditLookUpItem(editLookUpItem: EditLookUpPermittedValues, gridCell: GridCell): any[] | undefined;
|
|
27
|
-
addColumnMenuItem(userMenuItem: UserMenuItem<ColumnMenuContext>): void;
|
|
28
|
-
addContextMenuItem(userMenuItem: UserMenuItem<ContextMenuContext>): void;
|
|
29
27
|
getEditableCellStyle(): AdaptableStyle | undefined;
|
|
30
28
|
getReadOnlyCellStyle(): AdaptableStyle | undefined;
|
|
31
29
|
getAdaptableObjectTags(): AdaptableObjectTag[] | undefined;
|
|
32
30
|
getCustomIconDefinition(iconName: string): import("../../types").AdaptableIcon | import("../../types").CustomIcon;
|
|
33
31
|
showLoadingScreen(): void;
|
|
34
32
|
hideLoadingScreen(): void;
|
|
33
|
+
showProgressIndicator(config: {
|
|
34
|
+
text: string;
|
|
35
|
+
message?: string;
|
|
36
|
+
render?: CustomRenderFunction;
|
|
37
|
+
frameworkComponent?: AdaptableFrameworkComponent;
|
|
38
|
+
delay?: number;
|
|
39
|
+
}): void;
|
|
40
|
+
hideProgressIndicator(): void;
|
|
35
41
|
openCustomWindowPopup(config: CustomWindowConfig): {
|
|
36
42
|
close: () => void;
|
|
37
43
|
};
|
|
@@ -2,14 +2,17 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.UserInterfaceApiImpl = void 0;
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
|
-
const ApiBase_1 = require("./ApiBase");
|
|
6
5
|
const PopupRedux = tslib_1.__importStar(require("../../Redux/ActionsReducers/PopupRedux"));
|
|
6
|
+
const SystemRedux_1 = require("../../Redux/ActionsReducers/SystemRedux");
|
|
7
7
|
const ArrayExtensions_1 = require("../../Utilities/Extensions/ArrayExtensions");
|
|
8
|
-
const
|
|
8
|
+
const logDeprecation_1 = require("../../Utilities/logDeprecation");
|
|
9
9
|
const WindowPopups_1 = require("../../View/Components/Popups/WindowPopups/WindowPopups");
|
|
10
|
+
const UserInterfaceInternalApi_1 = require("../Internal/UserInterfaceInternalApi");
|
|
11
|
+
const ApiBase_1 = require("./ApiBase");
|
|
10
12
|
class UserInterfaceApiImpl extends ApiBase_1.ApiBase {
|
|
11
13
|
constructor(adaptable) {
|
|
12
14
|
super(adaptable);
|
|
15
|
+
this.showProgressIndicatorTimeout = null;
|
|
13
16
|
this.internalApi = new UserInterfaceInternalApi_1.UserInterfaceInternalApi(adaptable);
|
|
14
17
|
}
|
|
15
18
|
getColorPalette() {
|
|
@@ -43,21 +46,21 @@ class UserInterfaceApiImpl extends ApiBase_1.ApiBase {
|
|
|
43
46
|
// columns id
|
|
44
47
|
permittedValuesItem = permittedValues.find((permittedValue) => {
|
|
45
48
|
return ('ColumnIds' in permittedValue.scope &&
|
|
46
|
-
this.getAdaptableApi().
|
|
49
|
+
this.getAdaptableApi().columnScopeApi.isColumnInScope(column, permittedValue.scope));
|
|
47
50
|
});
|
|
48
51
|
if (permittedValuesItem) {
|
|
49
52
|
return permittedValuesItem;
|
|
50
53
|
}
|
|
51
54
|
permittedValuesItem = permittedValues.find((permittedValue) => {
|
|
52
55
|
return ('DataTypes' in permittedValue.scope &&
|
|
53
|
-
this.getAdaptableApi().
|
|
56
|
+
this.getAdaptableApi().columnScopeApi.isColumnInScope(column, permittedValue.scope));
|
|
54
57
|
});
|
|
55
58
|
if (permittedValuesItem) {
|
|
56
59
|
return permittedValuesItem;
|
|
57
60
|
}
|
|
58
61
|
permittedValuesItem = permittedValues.find((permittedValue) => {
|
|
59
62
|
return ('All' in permittedValue.scope &&
|
|
60
|
-
this.
|
|
63
|
+
this.getAdaptableApi().columnScopeApi.isColumnInScope(column, permittedValue.scope));
|
|
61
64
|
});
|
|
62
65
|
if (permittedValuesItem) {
|
|
63
66
|
return permittedValuesItem;
|
|
@@ -77,12 +80,7 @@ class UserInterfaceApiImpl extends ApiBase_1.ApiBase {
|
|
|
77
80
|
// first do the function then get hardcoded items
|
|
78
81
|
if (permittedValues != null && typeof permittedValues === 'function') {
|
|
79
82
|
if (column) {
|
|
80
|
-
const permittedValuesParams = {
|
|
81
|
-
adaptableApi: this.getAdaptableApi(),
|
|
82
|
-
userName: this.getOptions().userName,
|
|
83
|
-
adaptableId: this.getOptions().adaptableId,
|
|
84
|
-
column: column,
|
|
85
|
-
};
|
|
83
|
+
const permittedValuesParams = Object.assign(Object.assign({}, this.getAdaptableApi().internalApi.buildBaseContext()), { column: column });
|
|
86
84
|
return permittedValues(permittedValuesParams);
|
|
87
85
|
}
|
|
88
86
|
}
|
|
@@ -144,15 +142,7 @@ class UserInterfaceApiImpl extends ApiBase_1.ApiBase {
|
|
|
144
142
|
if (!editLookUpItem || !gridCell || !gridCell.column) {
|
|
145
143
|
return undefined;
|
|
146
144
|
}
|
|
147
|
-
return this.
|
|
148
|
-
}
|
|
149
|
-
addColumnMenuItem(userMenuItem) {
|
|
150
|
-
var _a;
|
|
151
|
-
(_a = this.getMenuOptions().columnMenuItems) === null || _a === void 0 ? void 0 : _a.push(userMenuItem);
|
|
152
|
-
}
|
|
153
|
-
addContextMenuItem(userMenuItem) {
|
|
154
|
-
var _a;
|
|
155
|
-
(_a = this.getMenuOptions().contextMenuItems) === null || _a === void 0 ? void 0 : _a.push(userMenuItem);
|
|
145
|
+
return this.getAdaptableApi().gridApi.internalApi.getEditLookUpValuesForColumn(editLookUpItem, gridCell.column, gridCell);
|
|
156
146
|
}
|
|
157
147
|
getEditableCellStyle() {
|
|
158
148
|
return this.getUserInterfaceOptions().editableCellStyle;
|
|
@@ -163,11 +153,7 @@ class UserInterfaceApiImpl extends ApiBase_1.ApiBase {
|
|
|
163
153
|
getAdaptableObjectTags() {
|
|
164
154
|
const objectTags = this.getUserInterfaceOptions().objectTags;
|
|
165
155
|
if (objectTags != null && typeof objectTags === 'function') {
|
|
166
|
-
return objectTags(
|
|
167
|
-
adaptableApi: this.adaptable.api,
|
|
168
|
-
userName: this.getOptions().userName,
|
|
169
|
-
adaptableId: this.getOptions().adaptableId,
|
|
170
|
-
});
|
|
156
|
+
return objectTags(this.getAdaptableApi().internalApi.buildBaseContext());
|
|
171
157
|
}
|
|
172
158
|
else {
|
|
173
159
|
let arr = objectTags;
|
|
@@ -187,10 +173,29 @@ class UserInterfaceApiImpl extends ApiBase_1.ApiBase {
|
|
|
187
173
|
return customIcon;
|
|
188
174
|
}
|
|
189
175
|
showLoadingScreen() {
|
|
190
|
-
|
|
176
|
+
(0, logDeprecation_1.logDeprecation)(this.adaptable.logger, 'UserInterfaceApi', 'showLoadingScreen', 'showProgressIndicator');
|
|
177
|
+
this.showProgressIndicator({ text: 'Loading' });
|
|
191
178
|
}
|
|
192
179
|
hideLoadingScreen() {
|
|
193
|
-
|
|
180
|
+
(0, logDeprecation_1.logDeprecation)(this.adaptable.logger, 'UserInterfaceApi', 'hideLoadingScreen', 'hideProgressIndicator');
|
|
181
|
+
this.hideProgressIndicator();
|
|
182
|
+
}
|
|
183
|
+
showProgressIndicator(config) {
|
|
184
|
+
if (config.delay) {
|
|
185
|
+
this.showProgressIndicatorTimeout = setTimeout(() => {
|
|
186
|
+
this.dispatchAction((0, SystemRedux_1.SystemProgressIndicatorShow)(config));
|
|
187
|
+
}, config.delay);
|
|
188
|
+
}
|
|
189
|
+
else {
|
|
190
|
+
this.dispatchAction((0, SystemRedux_1.SystemProgressIndicatorShow)(config));
|
|
191
|
+
}
|
|
192
|
+
}
|
|
193
|
+
hideProgressIndicator() {
|
|
194
|
+
if (this.showProgressIndicatorTimeout) {
|
|
195
|
+
clearTimeout(this.showProgressIndicatorTimeout);
|
|
196
|
+
this.showProgressIndicatorTimeout = null;
|
|
197
|
+
}
|
|
198
|
+
this.dispatchAction((0, SystemRedux_1.SystemProgressIndicatorHide)());
|
|
194
199
|
}
|
|
195
200
|
openCustomWindowPopup(config) {
|
|
196
201
|
const close = () => {
|
|
@@ -16,6 +16,7 @@ export declare class ActionRowInternalApi extends ApiBase {
|
|
|
16
16
|
private buildActionRowFields;
|
|
17
17
|
private showColumnInActionRowForm;
|
|
18
18
|
private buidActionRowButtons;
|
|
19
|
+
private prepareCreateData;
|
|
19
20
|
private prepareEditData;
|
|
20
21
|
private isColumnEditable;
|
|
21
22
|
private buildFormField;
|
|
@@ -46,13 +46,7 @@ class ActionRowInternalApi extends ApiBase_1.ApiBase {
|
|
|
46
46
|
: this.actionRowFormOptions.formDescription;
|
|
47
47
|
}
|
|
48
48
|
buildFormParamContext(type, rowNode) {
|
|
49
|
-
return {
|
|
50
|
-
rowNode,
|
|
51
|
-
adaptableApi: this.getAdaptableApi(),
|
|
52
|
-
userName: this.getOptions().userName,
|
|
53
|
-
adaptableId: this.getOptions().adaptableId,
|
|
54
|
-
type: type,
|
|
55
|
-
};
|
|
49
|
+
return Object.assign(Object.assign({ rowNode }, this.getAdaptableApi().internalApi.buildBaseContext()), { type: type });
|
|
56
50
|
}
|
|
57
51
|
buildActionRowFields(actionRowType, rowNode) {
|
|
58
52
|
const relevantColumns = this.getAdaptableApi()
|
|
@@ -68,13 +62,8 @@ class ActionRowInternalApi extends ApiBase_1.ApiBase {
|
|
|
68
62
|
showColumnInActionRowForm(adaptableColumn, actionRowType) {
|
|
69
63
|
const showColumnFn = this.getActionRowOptions().actionRowFormOptions.showColumninActionRowForm;
|
|
70
64
|
if (typeof showColumnFn === 'function') {
|
|
71
|
-
return showColumnFn({
|
|
72
|
-
|
|
73
|
-
userName: this.getOptions().userName,
|
|
74
|
-
adaptableId: this.getOptions().adaptableId,
|
|
75
|
-
adaptableColumn,
|
|
76
|
-
actionRowType,
|
|
77
|
-
});
|
|
65
|
+
return showColumnFn(Object.assign(Object.assign({}, this.getAdaptableApi().internalApi.buildBaseContext()), { adaptableColumn,
|
|
66
|
+
actionRowType }));
|
|
78
67
|
}
|
|
79
68
|
return true;
|
|
80
69
|
}
|
|
@@ -102,28 +91,24 @@ class ActionRowInternalApi extends ApiBase_1.ApiBase {
|
|
|
102
91
|
// textOutput should not be saved, their values are set to display values
|
|
103
92
|
// we need to filter out the textOutput fields and add the primaryKey
|
|
104
93
|
const eventInfo = type === 'rowCreated'
|
|
105
|
-
? {
|
|
106
|
-
type: 'rowCreated',
|
|
107
|
-
formData: context.formData,
|
|
108
|
-
adaptableApi: context.adaptableApi,
|
|
109
|
-
userName: this.getOptions().userName,
|
|
110
|
-
adaptableId: this.getOptions().adaptableId,
|
|
111
|
-
clonedRowNode: rowNode,
|
|
112
|
-
}
|
|
113
|
-
: {
|
|
114
|
-
type: 'rowEdited',
|
|
115
|
-
formData: this.prepareEditData(formFields, context),
|
|
116
|
-
rowNode: rowNode,
|
|
117
|
-
adaptableApi: context.adaptableApi,
|
|
118
|
-
userName: this.getOptions().userName,
|
|
119
|
-
adaptableId: this.getOptions().adaptableId,
|
|
120
|
-
};
|
|
94
|
+
? Object.assign(Object.assign({ type: 'rowCreated', formData: this.prepareCreateData(formFields, context) }, this.getAdaptableApi().internalApi.buildBaseContext()), { clonedRowNode: rowNode }) : Object.assign({ type: 'rowEdited', formData: this.prepareEditData(formFields, context), rowNode: rowNode }, this.getAdaptableApi().internalApi.buildBaseContext());
|
|
121
95
|
this.getAdaptableApi().eventApi.emit('ActionRowSubmitted', eventInfo);
|
|
122
96
|
(_b = (_a = this.actionRowFormOptions) === null || _a === void 0 ? void 0 : _a.onFormSubmit) === null || _b === void 0 ? void 0 : _b.call(_a, eventInfo);
|
|
123
97
|
},
|
|
124
98
|
};
|
|
125
99
|
return [cancelButton, saveButton];
|
|
126
100
|
}
|
|
101
|
+
// private getNullValueForColumn(column: AdaptableColumn) {}
|
|
102
|
+
prepareCreateData(formFields, context) {
|
|
103
|
+
// when creating we just omit values that are not set
|
|
104
|
+
const dataToSave = Object.assign({}, context.formData);
|
|
105
|
+
for (const formField of formFields) {
|
|
106
|
+
if (dataToSave[formField.name] === '') {
|
|
107
|
+
delete dataToSave[formField.name];
|
|
108
|
+
}
|
|
109
|
+
}
|
|
110
|
+
return dataToSave;
|
|
111
|
+
}
|
|
127
112
|
prepareEditData(formFields, context) {
|
|
128
113
|
const dataToSave = Object.assign({}, context.formData);
|
|
129
114
|
for (const formField of formFields) {
|
|
@@ -168,14 +153,8 @@ class ActionRowInternalApi extends ApiBase_1.ApiBase {
|
|
|
168
153
|
return customFieldLabel !== null && customFieldLabel !== void 0 ? customFieldLabel : column.friendlyName;
|
|
169
154
|
}
|
|
170
155
|
buildFormFieldLabelContext(type, column, rowNode) {
|
|
171
|
-
return {
|
|
172
|
-
|
|
173
|
-
column,
|
|
174
|
-
adaptableApi: this.getAdaptableApi(),
|
|
175
|
-
userName: this.getOptions().userName,
|
|
176
|
-
adaptableId: this.getOptions().adaptableId,
|
|
177
|
-
type: type,
|
|
178
|
-
};
|
|
156
|
+
return Object.assign(Object.assign({ rowNode,
|
|
157
|
+
column }, this.getAdaptableApi().internalApi.buildBaseContext()), { type: type });
|
|
179
158
|
}
|
|
180
159
|
getFieldTypeFromColumnType(column) {
|
|
181
160
|
switch (column.dataType) {
|
|
@@ -224,7 +203,7 @@ class ActionRowInternalApi extends ApiBase_1.ApiBase {
|
|
|
224
203
|
lockVisible: true,
|
|
225
204
|
suppressColumnsToolPanel: true,
|
|
226
205
|
suppressFiltersToolPanel: true,
|
|
227
|
-
|
|
206
|
+
suppressHeaderMenuButton: true,
|
|
228
207
|
suppressMovable: true,
|
|
229
208
|
filter: false,
|
|
230
209
|
sortable: false,
|
|
@@ -278,13 +257,7 @@ class ActionRowInternalApi extends ApiBase_1.ApiBase {
|
|
|
278
257
|
tooltip: 'Delete',
|
|
279
258
|
onClick: (button, context) => {
|
|
280
259
|
var _a, _b;
|
|
281
|
-
const eventInfo = {
|
|
282
|
-
type: 'rowDeleted',
|
|
283
|
-
rowNode: context.rowNode,
|
|
284
|
-
adaptableApi: context.adaptableApi,
|
|
285
|
-
userName: context.userName,
|
|
286
|
-
adaptableId: context.adaptableId,
|
|
287
|
-
};
|
|
260
|
+
const eventInfo = Object.assign({ type: 'rowDeleted', rowNode: context.rowNode }, this.getAdaptableApi().internalApi.buildBaseContext());
|
|
288
261
|
this.getEventApi().emit('ActionRowSubmitted', eventInfo);
|
|
289
262
|
(_b = (_a = this.getActionRowOptions().actionRowFormOptions).onFormSubmit) === null || _b === void 0 ? void 0 : _b.call(_a, eventInfo);
|
|
290
263
|
},
|
|
@@ -72,7 +72,7 @@ export declare class AdaptableInternalApi extends ApiBase {
|
|
|
72
72
|
includeGroupRows?: boolean;
|
|
73
73
|
filterFn?: (rowNode: IRowNode) => boolean;
|
|
74
74
|
}): void;
|
|
75
|
-
forAllVisibleRowNodesDo(func: (rowNode: IRowNode) => void, config?: {
|
|
75
|
+
forAllVisibleRowNodesDo(func: (rowNode: IRowNode, index: number) => void, config?: {
|
|
76
76
|
includeGroupRows?: boolean;
|
|
77
77
|
filterFn?: (rowNode: IRowNode) => boolean;
|
|
78
78
|
}): void;
|
|
@@ -89,7 +89,6 @@ export declare class AdaptableInternalApi extends ApiBase {
|
|
|
89
89
|
destroyFrameworkComponent(containerDomNode: HTMLElement, frameworkComponent: AdaptableFrameworkComponent, componentType: 'toolPanel' | 'toolbar'): void;
|
|
90
90
|
initializeDataChangeHistory(): void;
|
|
91
91
|
executeWithProgressIndicator(label: string, executeFn: () => void, errorHandlingFn?: () => void): void;
|
|
92
|
-
hideProgressIndicator(): void;
|
|
93
92
|
getCorrectEnglishVariant(wordToSpell: string): string;
|
|
94
93
|
shouldDisplayTagSections(): boolean;
|
|
95
94
|
getAvailableTags(): AdaptableObjectTag[] | undefined;
|
|
@@ -105,8 +104,8 @@ export declare class AdaptableInternalApi extends ApiBase {
|
|
|
105
104
|
getPreviousGroupedColumnsIndex(layoutId: string): {
|
|
106
105
|
[key: string]: number;
|
|
107
106
|
};
|
|
108
|
-
getValueUsingField(rowData: Record<string, any>,
|
|
109
|
-
setValueUsingField(rowData: Record<string, any>,
|
|
107
|
+
getValueUsingField(rowData: Record<string, any>, fieldName: string): any;
|
|
108
|
+
setValueUsingField(rowData: Record<string, any>, fieldName: string, newValue: any): Record<string, any>;
|
|
110
109
|
findAdaptableObjectsByLookupCriteria<T extends AdaptableObjectWithScope>({ scope, tag, ids }: AdaptableObjectLookupCriteria, specificAdaptableObjects: T[]): T[];
|
|
111
110
|
buildBaseContext(): BaseContext;
|
|
112
111
|
getActionButtonsAndActionColumn(colDef: ColDef): {
|
|
@@ -4,7 +4,6 @@ exports.AdaptableInternalApi = void 0;
|
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
5
|
const PopupRedux = tslib_1.__importStar(require("../../Redux/ActionsReducers/PopupRedux"));
|
|
6
6
|
const SystemRedux = tslib_1.__importStar(require("../../Redux/ActionsReducers/SystemRedux"));
|
|
7
|
-
const SystemRedux_1 = require("../../Redux/ActionsReducers/SystemRedux");
|
|
8
7
|
const GridRedux = tslib_1.__importStar(require("../../Redux/ActionsReducers/GridRedux"));
|
|
9
8
|
const DeadRedux = tslib_1.__importStar(require("../../Redux/DeadRedux"));
|
|
10
9
|
const ApiBase_1 = require("../Implementation/ApiBase");
|
|
@@ -253,7 +252,7 @@ class AdaptableInternalApi extends ApiBase_1.ApiBase {
|
|
|
253
252
|
}
|
|
254
253
|
}
|
|
255
254
|
executeWithProgressIndicator(label, executeFn, errorHandlingFn) {
|
|
256
|
-
this.
|
|
255
|
+
this.getAdaptableApi().userInterfaceApi.showProgressIndicator({ text: label, delay: 300 });
|
|
257
256
|
// setTimeout required to give the ProgressIndicator rendering a head-start (see RAF in ProgressIndicator implementation)
|
|
258
257
|
setTimeout(() => {
|
|
259
258
|
try {
|
|
@@ -261,14 +260,11 @@ class AdaptableInternalApi extends ApiBase_1.ApiBase {
|
|
|
261
260
|
}
|
|
262
261
|
catch (error) {
|
|
263
262
|
errorHandlingFn === null || errorHandlingFn === void 0 ? void 0 : errorHandlingFn();
|
|
264
|
-
this.hideProgressIndicator();
|
|
263
|
+
this.getUserInterfaceApi().hideProgressIndicator();
|
|
265
264
|
this.adaptable.logger.error('Unexpected error while executing a function with a progress indicator', error);
|
|
266
265
|
}
|
|
267
266
|
}, 16);
|
|
268
267
|
}
|
|
269
|
-
hideProgressIndicator() {
|
|
270
|
-
this.dispatchReduxAction((0, SystemRedux_1.SystemProgressIndicatorHide)());
|
|
271
|
-
}
|
|
272
268
|
getCorrectEnglishVariant(wordToSpell) {
|
|
273
269
|
if (wordToSpell.includes('our')) {
|
|
274
270
|
return this.getUserInterfaceOptions().englishVariant == 'GB'
|
|
@@ -298,11 +294,7 @@ class AdaptableInternalApi extends ApiBase_1.ApiBase {
|
|
|
298
294
|
if (typeof this.adaptable.adaptableOptions.userInterfaceOptions.objectTags === 'function') {
|
|
299
295
|
// sanitize the provided tags, just to be sure that the user does NOT break the UI
|
|
300
296
|
return this.adaptable.adaptableOptions.userInterfaceOptions
|
|
301
|
-
.objectTags(
|
|
302
|
-
adaptableApi: this.adaptable.api,
|
|
303
|
-
userName: this.getOptions().userName,
|
|
304
|
-
adaptableId: this.getOptions().adaptableId,
|
|
305
|
-
})
|
|
297
|
+
.objectTags(this.buildBaseContext())
|
|
306
298
|
.filter((tag) => typeof tag === 'string');
|
|
307
299
|
}
|
|
308
300
|
}
|
|
@@ -319,13 +311,7 @@ class AdaptableInternalApi extends ApiBase_1.ApiBase {
|
|
|
319
311
|
}
|
|
320
312
|
if (typeof this.adaptable.adaptableOptions.layoutOptions.layoutTagOptions
|
|
321
313
|
.autoGenerateTagsForLayouts === 'function') {
|
|
322
|
-
const autoGenerateTagsForLayoutsContext = {
|
|
323
|
-
layouts: this.adaptable.api.layoutApi.getLayouts(),
|
|
324
|
-
objectTags: this.getAdaptableApi().userInterfaceApi.getAdaptableObjectTags(),
|
|
325
|
-
adaptableApi: this.adaptable.api,
|
|
326
|
-
userName: this.getOptions().userName,
|
|
327
|
-
adaptableId: this.getOptions().adaptableId,
|
|
328
|
-
};
|
|
314
|
+
const autoGenerateTagsForLayoutsContext = Object.assign({ layouts: this.adaptable.api.layoutApi.getLayouts(), objectTags: this.getAdaptableApi().userInterfaceApi.getAdaptableObjectTags() }, this.buildBaseContext());
|
|
329
315
|
const customGeneratedTags = this.adaptable.adaptableOptions.layoutOptions.layoutTagOptions.autoGenerateTagsForLayouts(autoGenerateTagsForLayoutsContext);
|
|
330
316
|
// sanitize the provided tags, just to be sure that the user does NOT break the UI
|
|
331
317
|
return customGeneratedTags.filter((tag) => typeof tag === 'string');
|
|
@@ -370,17 +356,17 @@ class AdaptableInternalApi extends ApiBase_1.ApiBase {
|
|
|
370
356
|
return (_a = SystemRedux.SystemPreviousGroupedColumnsSelector(this.getAdaptableState().System)) === null || _a === void 0 ? void 0 : _a[layoutId];
|
|
371
357
|
}
|
|
372
358
|
// "borrowed" from https://github.com/ag-grid/ag-grid/blob/v28.2.1/community-modules/core/src/ts/utils/object.ts#L205
|
|
373
|
-
getValueUsingField(rowData,
|
|
374
|
-
if (!rowData || !(
|
|
359
|
+
getValueUsingField(rowData, fieldName) {
|
|
360
|
+
if (!rowData || !(fieldName === null || fieldName === void 0 ? void 0 : fieldName.length)) {
|
|
375
361
|
return;
|
|
376
362
|
}
|
|
377
|
-
const isColumnValueKeyNested =
|
|
363
|
+
const isColumnValueKeyNested = fieldName === null || fieldName === void 0 ? void 0 : fieldName.includes('.');
|
|
378
364
|
// if no '.', then it's not a deep value
|
|
379
365
|
if (!isColumnValueKeyNested) {
|
|
380
|
-
return rowData[
|
|
366
|
+
return rowData[fieldName];
|
|
381
367
|
}
|
|
382
368
|
// otherwise it is a deep value, so need to dig for it
|
|
383
|
-
const fields =
|
|
369
|
+
const fields = fieldName.split('.');
|
|
384
370
|
let currentObject = rowData;
|
|
385
371
|
for (let i = 0; i < fields.length; i++) {
|
|
386
372
|
if (currentObject == null) {
|
|
@@ -391,22 +377,22 @@ class AdaptableInternalApi extends ApiBase_1.ApiBase {
|
|
|
391
377
|
return currentObject;
|
|
392
378
|
}
|
|
393
379
|
// "borrowed" from https://github.com/ag-grid/ag-grid/blob/v28.2.1/community-modules/core/src/ts/valueService/valueService.ts#L236
|
|
394
|
-
setValueUsingField(rowData,
|
|
395
|
-
if (!rowData || !(
|
|
380
|
+
setValueUsingField(rowData, fieldName, newValue) {
|
|
381
|
+
if (!rowData || !(fieldName === null || fieldName === void 0 ? void 0 : fieldName.length)) {
|
|
396
382
|
return;
|
|
397
383
|
}
|
|
398
|
-
const isColumnValueKeyContainsDots =
|
|
384
|
+
const isColumnValueKeyContainsDots = fieldName === null || fieldName === void 0 ? void 0 : fieldName.includes('.');
|
|
399
385
|
let valuesAreSame = false;
|
|
400
386
|
if (!isColumnValueKeyContainsDots) {
|
|
401
387
|
// soft comparison to match strings and numbers
|
|
402
|
-
valuesAreSame = rowData[
|
|
388
|
+
valuesAreSame = rowData[fieldName] == newValue;
|
|
403
389
|
if (!valuesAreSame) {
|
|
404
|
-
rowData[
|
|
390
|
+
rowData[fieldName] = newValue;
|
|
405
391
|
}
|
|
406
392
|
}
|
|
407
393
|
else {
|
|
408
394
|
// otherwise it is a deep value, so need to dig for it
|
|
409
|
-
const fieldPieces =
|
|
395
|
+
const fieldPieces = fieldName.split('.');
|
|
410
396
|
let currentObject = rowData;
|
|
411
397
|
while (fieldPieces.length > 0 && currentObject) {
|
|
412
398
|
const fieldPiece = fieldPieces.shift();
|
|
@@ -439,7 +425,7 @@ class AdaptableInternalApi extends ApiBase_1.ApiBase {
|
|
|
439
425
|
}
|
|
440
426
|
// lastly filter by scope
|
|
441
427
|
if (scope) {
|
|
442
|
-
locatedAdaptableObjects = locatedAdaptableObjects.filter((adaptableObject) => this.getAdaptableApi().
|
|
428
|
+
locatedAdaptableObjects = locatedAdaptableObjects.filter((adaptableObject) => this.getAdaptableApi().columnScopeApi.isScopeInScope(adaptableObject.Scope, scope));
|
|
443
429
|
}
|
|
444
430
|
return locatedAdaptableObjects;
|
|
445
431
|
}
|
|
@@ -5,7 +5,7 @@ import { AlertFormContext } from '../../AdaptableOptions/AlertOptions';
|
|
|
5
5
|
import { AdaptableAlert, AdaptableCellChangedAlert, AdaptableRowChangedAlert } from '../../PredefinedConfig/Common/AdaptableAlert';
|
|
6
6
|
import { CellDataChangedInfo } from '../../PredefinedConfig/Common/CellDataChangedInfo';
|
|
7
7
|
import { GridDataChangedInfo } from '../Events/GridDataChanged';
|
|
8
|
-
import {
|
|
8
|
+
import { ColumnScope } from '../../PredefinedConfig/Common/ColumnScope';
|
|
9
9
|
import { AdaptablePredicateDef } from '../../PredefinedConfig/Common/AdaptablePredicate';
|
|
10
10
|
import { AdaptableMessageType } from '../../PredefinedConfig/Common/AdaptableMessageType';
|
|
11
11
|
import { IRowNode } from '@ag-grid-community/core';
|
|
@@ -72,7 +72,7 @@ export declare class AlertInternalApi extends ApiBase {
|
|
|
72
72
|
* Retrieves all Predicate Defs that match given Scope
|
|
73
73
|
* @param scope the Scope to check
|
|
74
74
|
*/
|
|
75
|
-
getAlertPredicateDefsForScope(scope:
|
|
75
|
+
getAlertPredicateDefsForScope(scope: ColumnScope): AdaptablePredicateDef[];
|
|
76
76
|
/**
|
|
77
77
|
* Returns a description of an Alert Definition
|
|
78
78
|
* @param alertDefinition Alert Definition to use
|