@adaptabletools/adaptable 18.0.0-canary.8 → 18.0.0
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 +10 -4
- package/src/AdaptableOptions/ActionColumnOptions.d.ts +3 -2
- package/src/AdaptableOptions/AdaptableFrameworkComponent.d.ts +3 -0
- package/src/AdaptableOptions/AdaptableOptions.d.ts +15 -14
- 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} +36 -26
- package/src/Api/CommentApi.d.ts +20 -22
- package/src/Api/ConfigApi.d.ts +4 -5
- 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 +1 -0
- package/src/Api/Events/GridDataChanged.d.ts +1 -1
- package/src/Api/FlashingCellApi.d.ts +2 -2
- package/src/Api/GridApi.d.ts +35 -3
- 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 +45 -15
- package/src/Api/Implementation/ColumnFilterApiImpl.js +7 -7
- package/src/Api/Implementation/ColumnMenuApiImpl.d.ts +8 -0
- package/src/Api/Implementation/ColumnMenuApiImpl.js +12 -0
- package/src/Api/Implementation/ColumnScopeApiImpl.d.ts +33 -0
- package/src/Api/Implementation/{ScopeApiImpl.js → ColumnScopeApiImpl.js} +65 -19
- package/src/Api/Implementation/CommentsApiImpl.d.ts +8 -5
- package/src/Api/Implementation/CommentsApiImpl.js +10 -5
- package/src/Api/Implementation/ConfigApiImpl.d.ts +2 -2
- package/src/Api/Implementation/ConfigApiImpl.js +27 -28
- package/src/Api/Implementation/ContextMenuApiImpl.d.ts +7 -0
- package/src/Api/Implementation/ContextMenuApiImpl.js +9 -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 -1
- package/src/Api/Implementation/GridApiImpl.js +63 -9
- package/src/Api/Implementation/LayoutApiImpl.d.ts +4 -11
- package/src/Api/Implementation/LayoutApiImpl.js +20 -28
- package/src/Api/Implementation/NoteApiImpl.d.ts +18 -0
- package/src/Api/Implementation/NoteApiImpl.js +40 -0
- 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 +11 -17
- 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 +7 -1
- package/src/Api/Internal/CommentsInternalApi.d.ts +4 -0
- package/src/Api/Internal/CommentsInternalApi.js +14 -0
- 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 +38 -30
- package/src/Api/Internal/FreeTextColumnInternalApi.js +5 -4
- 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/NoteInternalApi.js +14 -0
- 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 +15 -15
- package/src/Api/NoteApi.d.ts +48 -0
- package/src/Api/NoteApi.js +1 -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/AdaptableColumn.d.ts +4 -0
- 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} +4 -1
- package/src/PredefinedConfig/Common/ColumnScope.js +1 -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 +125 -1
- package/src/PredefinedConfig/Common/RowScope.d.ts +17 -0
- package/src/PredefinedConfig/Common/RowScope.js +1 -0
- package/src/PredefinedConfig/Common/RowSummary.d.ts +21 -0
- package/src/PredefinedConfig/Common/RowSummary.js +17 -0
- package/src/PredefinedConfig/Common/TransposeConfig.d.ts +30 -0
- package/src/PredefinedConfig/Common/TransposeConfig.js +1 -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 +6 -1
- package/src/PredefinedConfig/{NotesState.d.ts → NoteState.d.ts} +4 -4
- package/src/PredefinedConfig/NoteState.js +1 -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 +12 -4
- package/src/Redux/ActionsReducers/CommentsRedux.d.ts +0 -4
- package/src/Redux/ActionsReducers/CommentsRedux.js +0 -34
- package/src/Redux/ActionsReducers/LayoutRedux.d.ts +9 -0
- package/src/Redux/ActionsReducers/LayoutRedux.js +32 -10
- package/src/Redux/ActionsReducers/NoteRedux.d.ts +38 -0
- package/src/Redux/ActionsReducers/{NotesRedux.js → NoteRedux.js} +24 -24
- package/src/Redux/ActionsReducers/PopupRedux.d.ts +5 -13
- package/src/Redux/ActionsReducers/PopupRedux.js +0 -19
- package/src/Redux/ActionsReducers/SystemRedux.d.ts +15 -4
- package/src/Redux/ActionsReducers/SystemRedux.js +24 -9
- package/src/Redux/Store/AdaptableStore.js +48 -30
- package/src/Redux/Store/Interface/IAdaptableStore.d.ts +2 -2
- 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 +10 -9
- package/src/Strategy/CellSummaryModule.js +101 -83
- 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 +70 -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 +11 -21
- 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 +58 -44
- 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 -3
- package/src/Strategy/LayoutModule.js +71 -72
- package/src/Strategy/NoteModule.d.ts +10 -0
- package/src/Strategy/NoteModule.js +55 -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 +1 -0
- package/src/Utilities/Constants/ModuleConstants.d.ts +6 -6
- package/src/Utilities/Constants/ModuleConstants.js +6 -6
- package/src/Utilities/Defaults/DefaultSettingsPanel.js +2 -2
- package/src/Utilities/ExpressionFunctions/aggregatedScalarExpressionFunctions.d.ts +3 -2
- package/src/Utilities/ExpressionFunctions/aggregatedScalarExpressionFunctions.js +433 -3
- package/src/Utilities/ExpressionFunctions/observableExpressionFunctions.js +3 -3
- package/src/Utilities/ExpressionFunctions/scalarAggregationHelper.js +1 -1
- package/src/Utilities/ExpressionFunctions/scalarExpressionFunctions.d.ts +1 -1
- package/src/Utilities/ExpressionFunctions/scalarExpressionFunctions.js +15 -0
- package/src/Utilities/Extensions/ArrayExtensions.d.ts +2 -0
- package/src/Utilities/Extensions/ArrayExtensions.js +4 -0
- package/src/Utilities/Helpers/AdaptableHelper.d.ts +3 -1
- package/src/Utilities/Helpers/AdaptableHelper.js +19 -0
- 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 +4 -2
- package/src/Utilities/Services/AggregatedScalarLiveValue.js +23 -18
- package/src/Utilities/Services/CellPopupService.js +4 -4
- package/src/Utilities/Services/Interface/IQueryLanguageService.d.ts +1 -1
- package/src/Utilities/Services/Interface/IReportService.d.ts +1 -4
- package/src/Utilities/Services/LicenseService/index.js +1 -190
- package/src/Utilities/Services/ModuleService.js +6 -2
- package/src/Utilities/Services/QueryLanguageService.d.ts +1 -1
- package/src/Utilities/Services/QueryLanguageService.js +4 -3
- 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 +155 -0
- package/src/Utilities/Services/ValidationService.js +2 -2
- package/src/Utilities/adaptableQlUtils.d.ts +2 -0
- package/src/Utilities/adaptableQlUtils.js +14 -0
- package/src/Utilities/license/decode.js +1 -65
- package/src/Utilities/license/hashing.js +1 -43
- 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 +42 -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 +36 -3
- 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 +27 -25
- 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 +174 -0
- package/src/View/License/LicenseWatermark.js +1 -61
- package/src/View/Note/NotePopup.d.ts +2 -0
- package/src/View/{Notes/NotesPopup.js → Note/NotePopup.js} +14 -9
- 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 +21 -12
- package/src/agGrid/AdaptableAgGrid.js +313 -225
- package/src/agGrid/AgGridAdapter.d.ts +5 -2
- package/src/agGrid/AgGridAdapter.js +20 -0
- package/src/agGrid/AgGridColumnAdapter.d.ts +1 -3
- package/src/agGrid/AgGridColumnAdapter.js +52 -70
- 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 +120 -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 +46 -0
- package/src/agGrid/weightedAverage.d.ts +0 -2
- package/src/agGrid/weightedAverage.js +0 -54
- package/src/components/Accordion.d.ts +7 -0
- package/src/components/Accordion.js +36 -0
- package/src/components/CheckBox/index.js +1 -1
- package/src/components/ColorPicker/ColorPicker.d.ts +1 -1
- package/src/components/Datepicker/index.d.ts +1 -1
- 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 +1 -14
- package/src/components/Input/index.d.ts +1 -2
- package/src/components/List/ListGroupItem/index.d.ts +1 -1
- 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 +4 -0
- package/src/components/icons/copy.d.ts +3 -0
- package/src/components/icons/copy.js +4 -0
- package/src/components/icons/csv.d.ts +3 -0
- package/src/components/icons/csv.js +4 -0
- package/src/components/icons/data-object.d.ts +3 -0
- package/src/components/icons/data-object.js +4 -0
- package/src/components/icons/excel.d.ts +3 -0
- package/src/components/icons/excel.js +5 -0
- package/src/components/icons/expand-all.d.ts +3 -0
- package/src/components/icons/expand-all.js +4 -0
- package/src/components/icons/filter-off.d.ts +3 -0
- package/src/components/icons/filter-off.js +4 -0
- package/src/components/icons/grid-info.d.ts +3 -0
- package/src/components/icons/grid-info.js +4 -0
- package/src/components/icons/index.js +24 -0
- package/src/components/icons/note.js +2 -2
- package/src/components/icons/rows.d.ts +3 -0
- package/src/components/icons/rows.js +4 -0
- package/src/components/icons/select-all.d.ts +3 -0
- package/src/components/icons/select-all.js +4 -0
- package/src/components/icons/select-fwd.d.ts +3 -0
- package/src/components/icons/select-fwd.js +4 -0
- package/src/components/icons/select-off.d.ts +3 -0
- package/src/components/icons/select-off.js +4 -0
- package/src/env.js +2 -2
- package/src/metamodel/adaptable.metamodel.d.ts +230 -116
- package/src/metamodel/adaptable.metamodel.js +1 -9408
- 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 +7 -2
- package/src/parser/src/types.js +1 -2
- package/src/types.d.ts +32 -25
- package/tsconfig.esm.tsbuildinfo +1 -1
- package/src/AdaptableOptions/MenuOptions.d.ts +0 -234
- package/src/AdaptableOptions/MenuOptions.js +0 -95
- package/src/Api/Events/CommentsChangedInfo.d.ts +0 -5
- package/src/Api/Implementation/NotesApiImpl.d.ts +0 -14
- package/src/Api/Implementation/NotesApiImpl.js +0 -35
- package/src/Api/Implementation/ScopeApiImpl.d.ts +0 -31
- package/src/Api/NotesApi.d.ts +0 -48
- package/src/PredefinedConfig/CellAddress.d.ts +0 -13
- package/src/PredefinedConfig/CellAddress.js +0 -4
- package/src/Redux/ActionsReducers/NotesRedux.d.ts +0 -38
- package/src/Strategy/CommentsModule.d.ts +0 -17
- package/src/Strategy/CommentsModule.js +0 -78
- package/src/Strategy/NotesModule.d.ts +0 -10
- package/src/Strategy/NotesModule.js +0 -57
- package/src/View/Components/ScopeComponent.d.ts +0 -24
- package/src/View/Components/ScopeComponent.js +0 -133
- package/src/View/Export/Wizard/ReportScopeWizard.d.ts +0 -17
- package/src/View/Export/Wizard/ReportScopeWizard.js +0 -47
- 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
|
@@ -36,10 +36,10 @@ export class OptionsApiImpl extends ApiBase {
|
|
|
36
36
|
getColumnOptions() {
|
|
37
37
|
return this.getOptions().columnOptions;
|
|
38
38
|
}
|
|
39
|
-
|
|
39
|
+
getNoteOptions() {
|
|
40
40
|
return this.getOptions().noteOptions;
|
|
41
41
|
}
|
|
42
|
-
|
|
42
|
+
getCommentOptions() {
|
|
43
43
|
return this.getOptions().commentOptions;
|
|
44
44
|
}
|
|
45
45
|
getCustomSortOptions() {
|
|
@@ -72,8 +72,11 @@ export class OptionsApiImpl extends ApiBase {
|
|
|
72
72
|
getLayoutOptions() {
|
|
73
73
|
return this.getOptions().layoutOptions;
|
|
74
74
|
}
|
|
75
|
-
|
|
76
|
-
return this.getOptions().
|
|
75
|
+
getColumnMenuOptions() {
|
|
76
|
+
return this.getOptions().columnMenuOptions;
|
|
77
|
+
}
|
|
78
|
+
getContextMenuOptions() {
|
|
79
|
+
return this.getOptions().contextMenuOptions;
|
|
77
80
|
}
|
|
78
81
|
getColumnFilterOptions() {
|
|
79
82
|
return this.getOptions().columnFilterOptions;
|
|
@@ -71,9 +71,9 @@ export class PredicateApiImpl extends ApiBase {
|
|
|
71
71
|
if (!predicate.ColumnId) {
|
|
72
72
|
return this.handlePredicate(predicate, context, defaultReturn);
|
|
73
73
|
}
|
|
74
|
-
const paramsForColumn = Object.assign(Object.assign({}, context), { column: this.
|
|
74
|
+
const paramsForColumn = Object.assign(Object.assign({}, context), { column: this.getAdaptableApi().columnApi.getColumnWithColumnId(predicate.ColumnId),
|
|
75
75
|
// value: params?.node?.data?.[predicate.ColumnId],
|
|
76
|
-
value: this.
|
|
76
|
+
value: this.getAdaptableApi().gridApi.getRawValueFromRowNode(context.node, predicate.ColumnId) });
|
|
77
77
|
if ('oldValue' in paramsForColumn) {
|
|
78
78
|
delete paramsForColumn.oldValue;
|
|
79
79
|
}
|
|
@@ -52,7 +52,7 @@ export class ScheduleApiImpl extends ApiBase {
|
|
|
52
52
|
}
|
|
53
53
|
getReportSchedules(config) {
|
|
54
54
|
var _a;
|
|
55
|
-
return ((_a = this.handleLayoutAssociatedObjects(this.
|
|
55
|
+
return ((_a = this.handleLayoutAssociatedObjects(this.getAdaptableApi().exportApi.getReportSchedules(), 'Schedule', config)) !== null && _a !== void 0 ? _a : []);
|
|
56
56
|
}
|
|
57
57
|
getActiveReportSchedules() {
|
|
58
58
|
return this.getReportSchedules().filter((schedule) => !schedule.IsSuspended);
|
|
@@ -81,7 +81,7 @@ export class ScheduleApiImpl extends ApiBase {
|
|
|
81
81
|
}
|
|
82
82
|
getIPushPullSchedules(config) {
|
|
83
83
|
var _a;
|
|
84
|
-
const ippApi = this.
|
|
84
|
+
const ippApi = this.getAdaptableApi().pluginsApi.getipushpullPluginApi();
|
|
85
85
|
return ((_a = this.handleLayoutAssociatedObjects(ippApi === null || ippApi === void 0 ? void 0 : ippApi.getIPushPullSchedules(), 'Schedule', config)) !== null && _a !== void 0 ? _a : []);
|
|
86
86
|
}
|
|
87
87
|
getActiveIPushPullSchedules() {
|
|
@@ -111,7 +111,7 @@ export class ScheduleApiImpl extends ApiBase {
|
|
|
111
111
|
}
|
|
112
112
|
getOpenFinSchedules(config) {
|
|
113
113
|
var _a;
|
|
114
|
-
const openFinApi = this.
|
|
114
|
+
const openFinApi = this.getAdaptableApi().pluginsApi.getOpenFinPluginApi();
|
|
115
115
|
return ((_a = this.handleLayoutAssociatedObjects(openFinApi === null || openFinApi === void 0 ? void 0 : openFinApi.getOpenFinSchedules(), 'Schedule', config)) !== null && _a !== void 0 ? _a : []);
|
|
116
116
|
}
|
|
117
117
|
getActiveOpenFinSchedules() {
|
|
@@ -163,10 +163,10 @@ export class ScheduleApiImpl extends ApiBase {
|
|
|
163
163
|
}
|
|
164
164
|
else if (scheduleType == 'Report') {
|
|
165
165
|
const reportSchedule = schedule;
|
|
166
|
-
this.
|
|
166
|
+
this.getAdaptableApi().exportApi.runReport(reportSchedule.ReportName, reportSchedule.ExportDestination);
|
|
167
167
|
}
|
|
168
168
|
else if (scheduleType == 'ipushpull') {
|
|
169
|
-
const ippApi = this.
|
|
169
|
+
const ippApi = this.getAdaptableApi().pluginsApi.getipushpullPluginApi();
|
|
170
170
|
const iPushPullSchedule = schedule;
|
|
171
171
|
if (iPushPullSchedule.Transmission == 'Snapshot') {
|
|
172
172
|
ippApi.sendSnapshot(iPushPullSchedule.IPushPullReport);
|
|
@@ -176,7 +176,7 @@ export class ScheduleApiImpl extends ApiBase {
|
|
|
176
176
|
}
|
|
177
177
|
}
|
|
178
178
|
else if (scheduleType == 'OpenFin') {
|
|
179
|
-
const openFinApi = this.
|
|
179
|
+
const openFinApi = this.getAdaptableApi().pluginsApi.getOpenFinPluginApi();
|
|
180
180
|
const openFinSchedule = schedule;
|
|
181
181
|
openFinApi.startLiveData(openFinSchedule.OpenFinReport);
|
|
182
182
|
}
|
|
@@ -15,11 +15,7 @@ export class TeamSharingApiImpl extends ApiBase {
|
|
|
15
15
|
return [];
|
|
16
16
|
}
|
|
17
17
|
const teamSharingOptions = this.adaptable.adaptableOptions.teamSharingOptions;
|
|
18
|
-
const sharedEntitiesContext =
|
|
19
|
-
adaptableId: this.adaptable.adaptableOptions.adaptableId,
|
|
20
|
-
userName: this.adaptable.adaptableOptions.userName,
|
|
21
|
-
adaptableApi: this.getAdaptableApi(),
|
|
22
|
-
};
|
|
18
|
+
const sharedEntitiesContext = this.getAdaptableApi().internalApi.buildBaseContext();
|
|
23
19
|
let loadedSharedEntities = await teamSharingOptions.loadSharedEntities(sharedEntitiesContext);
|
|
24
20
|
// with v15 we introduced 2 types of SharedEntity: AdaptableSharedEntity (basically the old one) and the new CustomSharedEntity
|
|
25
21
|
// for backwards compatibility, we add default the 'EntityType' property to 'adaptableEntity'
|
|
@@ -40,11 +36,7 @@ export class TeamSharingApiImpl extends ApiBase {
|
|
|
40
36
|
return false;
|
|
41
37
|
}
|
|
42
38
|
const teamSharingOptions = this.adaptable.adaptableOptions.teamSharingOptions;
|
|
43
|
-
const sharedEntitiesContext =
|
|
44
|
-
adaptableId: this.adaptable.adaptableOptions.adaptableId,
|
|
45
|
-
userName: this.adaptable.adaptableOptions.userName,
|
|
46
|
-
adaptableApi: this.getAdaptableApi(),
|
|
47
|
-
};
|
|
39
|
+
const sharedEntitiesContext = this.getAdaptableApi().internalApi.buildBaseContext();
|
|
48
40
|
const sharedEntitiesAfterCustomisation = teamSharingOptions.saveSharedEntities(sharedEntities, sharedEntitiesContext);
|
|
49
41
|
await teamSharingOptions.persistSharedEntities(sharedEntitiesAfterCustomisation, sharedEntitiesContext);
|
|
50
42
|
return true;
|
|
@@ -100,11 +92,7 @@ export class TeamSharingApiImpl extends ApiBase {
|
|
|
100
92
|
this.logError(`Could NOT import custom shared entity because 'TeamSharingOptions.handleCustomSharedEntityImport(...)' is NOT defined!`, sharedEntity);
|
|
101
93
|
return;
|
|
102
94
|
}
|
|
103
|
-
customSharedEntityImportHandler(sharedEntity,
|
|
104
|
-
adaptableApi: this.getAdaptableApi(),
|
|
105
|
-
adaptableId: this.adaptable.adaptableOptions.adaptableId,
|
|
106
|
-
userName: this.adaptable.adaptableOptions.userName,
|
|
107
|
-
});
|
|
95
|
+
customSharedEntityImportHandler(sharedEntity, this.getAdaptableApi().internalApi.buildBaseContext());
|
|
108
96
|
}
|
|
109
97
|
}
|
|
110
98
|
getTeamSharingState() {
|
|
@@ -57,13 +57,8 @@ export class ThemeApiImpl extends ApiBase {
|
|
|
57
57
|
return;
|
|
58
58
|
}
|
|
59
59
|
this.adaptable.applyAdaptableTheme(currentTheme);
|
|
60
|
-
let themeChangedInfo = {
|
|
61
|
-
|
|
62
|
-
theme: currentTheme,
|
|
63
|
-
userName: this.adaptable.api.optionsApi.getUserName(),
|
|
64
|
-
adaptableId: this.adaptable.api.optionsApi.getAdaptableId(),
|
|
65
|
-
};
|
|
66
|
-
this.adaptable.api.eventApi.emit('ThemeChanged', themeChangedInfo);
|
|
60
|
+
let themeChangedInfo = Object.assign(Object.assign({}, this.getAdaptableApi().internalApi.buildBaseContext()), { theme: currentTheme });
|
|
61
|
+
this.getAdaptableApi().eventApi.emit('ThemeChanged', themeChangedInfo);
|
|
67
62
|
}
|
|
68
63
|
getUserThemes() {
|
|
69
64
|
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
|
};
|
|
@@ -1,11 +1,14 @@
|
|
|
1
|
-
import { ApiBase } from './ApiBase';
|
|
2
1
|
import * as PopupRedux from '../../Redux/ActionsReducers/PopupRedux';
|
|
2
|
+
import { SystemProgressIndicatorHide, SystemProgressIndicatorShow, } from '../../Redux/ActionsReducers/SystemRedux';
|
|
3
3
|
import { ArrayExtensions } from '../../Utilities/Extensions/ArrayExtensions';
|
|
4
|
-
import {
|
|
4
|
+
import { logDeprecation } from '../../Utilities/logDeprecation';
|
|
5
5
|
import { CUSTOM_WINDOW_FACTORY_ID } from '../../View/Components/Popups/WindowPopups/WindowPopups';
|
|
6
|
+
import { UserInterfaceInternalApi } from '../Internal/UserInterfaceInternalApi';
|
|
7
|
+
import { ApiBase } from './ApiBase';
|
|
6
8
|
export class UserInterfaceApiImpl extends ApiBase {
|
|
7
9
|
constructor(adaptable) {
|
|
8
10
|
super(adaptable);
|
|
11
|
+
this.showProgressIndicatorTimeout = null;
|
|
9
12
|
this.internalApi = new UserInterfaceInternalApi(adaptable);
|
|
10
13
|
}
|
|
11
14
|
getColorPalette() {
|
|
@@ -39,21 +42,21 @@ export class UserInterfaceApiImpl extends ApiBase {
|
|
|
39
42
|
// columns id
|
|
40
43
|
permittedValuesItem = permittedValues.find((permittedValue) => {
|
|
41
44
|
return ('ColumnIds' in permittedValue.scope &&
|
|
42
|
-
this.getAdaptableApi().
|
|
45
|
+
this.getAdaptableApi().columnScopeApi.isColumnInScope(column, permittedValue.scope));
|
|
43
46
|
});
|
|
44
47
|
if (permittedValuesItem) {
|
|
45
48
|
return permittedValuesItem;
|
|
46
49
|
}
|
|
47
50
|
permittedValuesItem = permittedValues.find((permittedValue) => {
|
|
48
51
|
return ('DataTypes' in permittedValue.scope &&
|
|
49
|
-
this.getAdaptableApi().
|
|
52
|
+
this.getAdaptableApi().columnScopeApi.isColumnInScope(column, permittedValue.scope));
|
|
50
53
|
});
|
|
51
54
|
if (permittedValuesItem) {
|
|
52
55
|
return permittedValuesItem;
|
|
53
56
|
}
|
|
54
57
|
permittedValuesItem = permittedValues.find((permittedValue) => {
|
|
55
58
|
return ('All' in permittedValue.scope &&
|
|
56
|
-
this.
|
|
59
|
+
this.getAdaptableApi().columnScopeApi.isColumnInScope(column, permittedValue.scope));
|
|
57
60
|
});
|
|
58
61
|
if (permittedValuesItem) {
|
|
59
62
|
return permittedValuesItem;
|
|
@@ -73,12 +76,7 @@ export class UserInterfaceApiImpl extends ApiBase {
|
|
|
73
76
|
// first do the function then get hardcoded items
|
|
74
77
|
if (permittedValues != null && typeof permittedValues === 'function') {
|
|
75
78
|
if (column) {
|
|
76
|
-
const permittedValuesParams = {
|
|
77
|
-
adaptableApi: this.getAdaptableApi(),
|
|
78
|
-
userName: this.getOptions().userName,
|
|
79
|
-
adaptableId: this.getOptions().adaptableId,
|
|
80
|
-
column: column,
|
|
81
|
-
};
|
|
79
|
+
const permittedValuesParams = Object.assign(Object.assign({}, this.getAdaptableApi().internalApi.buildBaseContext()), { column: column });
|
|
82
80
|
return permittedValues(permittedValuesParams);
|
|
83
81
|
}
|
|
84
82
|
}
|
|
@@ -140,15 +138,7 @@ export class UserInterfaceApiImpl extends ApiBase {
|
|
|
140
138
|
if (!editLookUpItem || !gridCell || !gridCell.column) {
|
|
141
139
|
return undefined;
|
|
142
140
|
}
|
|
143
|
-
return this.
|
|
144
|
-
}
|
|
145
|
-
addColumnMenuItem(userMenuItem) {
|
|
146
|
-
var _a;
|
|
147
|
-
(_a = this.getMenuOptions().columnMenuItems) === null || _a === void 0 ? void 0 : _a.push(userMenuItem);
|
|
148
|
-
}
|
|
149
|
-
addContextMenuItem(userMenuItem) {
|
|
150
|
-
var _a;
|
|
151
|
-
(_a = this.getMenuOptions().contextMenuItems) === null || _a === void 0 ? void 0 : _a.push(userMenuItem);
|
|
141
|
+
return this.getAdaptableApi().gridApi.internalApi.getEditLookUpValuesForColumn(editLookUpItem, gridCell.column, gridCell);
|
|
152
142
|
}
|
|
153
143
|
getEditableCellStyle() {
|
|
154
144
|
return this.getUserInterfaceOptions().editableCellStyle;
|
|
@@ -159,11 +149,7 @@ export class UserInterfaceApiImpl extends ApiBase {
|
|
|
159
149
|
getAdaptableObjectTags() {
|
|
160
150
|
const objectTags = this.getUserInterfaceOptions().objectTags;
|
|
161
151
|
if (objectTags != null && typeof objectTags === 'function') {
|
|
162
|
-
return objectTags(
|
|
163
|
-
adaptableApi: this.adaptable.api,
|
|
164
|
-
userName: this.getOptions().userName,
|
|
165
|
-
adaptableId: this.getOptions().adaptableId,
|
|
166
|
-
});
|
|
152
|
+
return objectTags(this.getAdaptableApi().internalApi.buildBaseContext());
|
|
167
153
|
}
|
|
168
154
|
else {
|
|
169
155
|
let arr = objectTags;
|
|
@@ -183,10 +169,29 @@ export class UserInterfaceApiImpl extends ApiBase {
|
|
|
183
169
|
return customIcon;
|
|
184
170
|
}
|
|
185
171
|
showLoadingScreen() {
|
|
186
|
-
this.
|
|
172
|
+
logDeprecation(this.adaptable.logger, 'UserInterfaceApi', 'showLoadingScreen', 'showProgressIndicator');
|
|
173
|
+
this.showProgressIndicator({ text: 'Loading' });
|
|
187
174
|
}
|
|
188
175
|
hideLoadingScreen() {
|
|
189
|
-
this.
|
|
176
|
+
logDeprecation(this.adaptable.logger, 'UserInterfaceApi', 'hideLoadingScreen', 'hideProgressIndicator');
|
|
177
|
+
this.hideProgressIndicator();
|
|
178
|
+
}
|
|
179
|
+
showProgressIndicator(config) {
|
|
180
|
+
if (config.delay) {
|
|
181
|
+
this.showProgressIndicatorTimeout = setTimeout(() => {
|
|
182
|
+
this.dispatchAction(SystemProgressIndicatorShow(config));
|
|
183
|
+
}, config.delay);
|
|
184
|
+
}
|
|
185
|
+
else {
|
|
186
|
+
this.dispatchAction(SystemProgressIndicatorShow(config));
|
|
187
|
+
}
|
|
188
|
+
}
|
|
189
|
+
hideProgressIndicator() {
|
|
190
|
+
if (this.showProgressIndicatorTimeout) {
|
|
191
|
+
clearTimeout(this.showProgressIndicatorTimeout);
|
|
192
|
+
this.showProgressIndicatorTimeout = null;
|
|
193
|
+
}
|
|
194
|
+
this.dispatchAction(SystemProgressIndicatorHide());
|
|
190
195
|
}
|
|
191
196
|
openCustomWindowPopup(config) {
|
|
192
197
|
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;
|
|
@@ -42,13 +42,7 @@ export class ActionRowInternalApi extends ApiBase {
|
|
|
42
42
|
: this.actionRowFormOptions.formDescription;
|
|
43
43
|
}
|
|
44
44
|
buildFormParamContext(type, rowNode) {
|
|
45
|
-
return {
|
|
46
|
-
rowNode,
|
|
47
|
-
adaptableApi: this.getAdaptableApi(),
|
|
48
|
-
userName: this.getOptions().userName,
|
|
49
|
-
adaptableId: this.getOptions().adaptableId,
|
|
50
|
-
type: type,
|
|
51
|
-
};
|
|
45
|
+
return Object.assign(Object.assign({ rowNode }, this.getAdaptableApi().internalApi.buildBaseContext()), { type: type });
|
|
52
46
|
}
|
|
53
47
|
buildActionRowFields(actionRowType, rowNode) {
|
|
54
48
|
const relevantColumns = this.getAdaptableApi()
|
|
@@ -64,13 +58,8 @@ export class ActionRowInternalApi extends ApiBase {
|
|
|
64
58
|
showColumnInActionRowForm(adaptableColumn, actionRowType) {
|
|
65
59
|
const showColumnFn = this.getActionRowOptions().actionRowFormOptions.showColumninActionRowForm;
|
|
66
60
|
if (typeof showColumnFn === 'function') {
|
|
67
|
-
return showColumnFn({
|
|
68
|
-
|
|
69
|
-
userName: this.getOptions().userName,
|
|
70
|
-
adaptableId: this.getOptions().adaptableId,
|
|
71
|
-
adaptableColumn,
|
|
72
|
-
actionRowType,
|
|
73
|
-
});
|
|
61
|
+
return showColumnFn(Object.assign(Object.assign({}, this.getAdaptableApi().internalApi.buildBaseContext()), { adaptableColumn,
|
|
62
|
+
actionRowType }));
|
|
74
63
|
}
|
|
75
64
|
return true;
|
|
76
65
|
}
|
|
@@ -98,28 +87,24 @@ export class ActionRowInternalApi extends ApiBase {
|
|
|
98
87
|
// textOutput should not be saved, their values are set to display values
|
|
99
88
|
// we need to filter out the textOutput fields and add the primaryKey
|
|
100
89
|
const eventInfo = type === 'rowCreated'
|
|
101
|
-
? {
|
|
102
|
-
type: 'rowCreated',
|
|
103
|
-
formData: context.formData,
|
|
104
|
-
adaptableApi: context.adaptableApi,
|
|
105
|
-
userName: this.getOptions().userName,
|
|
106
|
-
adaptableId: this.getOptions().adaptableId,
|
|
107
|
-
clonedRowNode: rowNode,
|
|
108
|
-
}
|
|
109
|
-
: {
|
|
110
|
-
type: 'rowEdited',
|
|
111
|
-
formData: this.prepareEditData(formFields, context),
|
|
112
|
-
rowNode: rowNode,
|
|
113
|
-
adaptableApi: context.adaptableApi,
|
|
114
|
-
userName: this.getOptions().userName,
|
|
115
|
-
adaptableId: this.getOptions().adaptableId,
|
|
116
|
-
};
|
|
90
|
+
? 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());
|
|
117
91
|
this.getAdaptableApi().eventApi.emit('ActionRowSubmitted', eventInfo);
|
|
118
92
|
(_b = (_a = this.actionRowFormOptions) === null || _a === void 0 ? void 0 : _a.onFormSubmit) === null || _b === void 0 ? void 0 : _b.call(_a, eventInfo);
|
|
119
93
|
},
|
|
120
94
|
};
|
|
121
95
|
return [cancelButton, saveButton];
|
|
122
96
|
}
|
|
97
|
+
// private getNullValueForColumn(column: AdaptableColumn) {}
|
|
98
|
+
prepareCreateData(formFields, context) {
|
|
99
|
+
// when creating we just omit values that are not set
|
|
100
|
+
const dataToSave = Object.assign({}, context.formData);
|
|
101
|
+
for (const formField of formFields) {
|
|
102
|
+
if (dataToSave[formField.name] === '') {
|
|
103
|
+
delete dataToSave[formField.name];
|
|
104
|
+
}
|
|
105
|
+
}
|
|
106
|
+
return dataToSave;
|
|
107
|
+
}
|
|
123
108
|
prepareEditData(formFields, context) {
|
|
124
109
|
const dataToSave = Object.assign({}, context.formData);
|
|
125
110
|
for (const formField of formFields) {
|
|
@@ -164,14 +149,8 @@ export class ActionRowInternalApi extends ApiBase {
|
|
|
164
149
|
return customFieldLabel !== null && customFieldLabel !== void 0 ? customFieldLabel : column.friendlyName;
|
|
165
150
|
}
|
|
166
151
|
buildFormFieldLabelContext(type, column, rowNode) {
|
|
167
|
-
return {
|
|
168
|
-
|
|
169
|
-
column,
|
|
170
|
-
adaptableApi: this.getAdaptableApi(),
|
|
171
|
-
userName: this.getOptions().userName,
|
|
172
|
-
adaptableId: this.getOptions().adaptableId,
|
|
173
|
-
type: type,
|
|
174
|
-
};
|
|
152
|
+
return Object.assign(Object.assign({ rowNode,
|
|
153
|
+
column }, this.getAdaptableApi().internalApi.buildBaseContext()), { type: type });
|
|
175
154
|
}
|
|
176
155
|
getFieldTypeFromColumnType(column) {
|
|
177
156
|
switch (column.dataType) {
|
|
@@ -220,7 +199,7 @@ export class ActionRowInternalApi extends ApiBase {
|
|
|
220
199
|
lockVisible: true,
|
|
221
200
|
suppressColumnsToolPanel: true,
|
|
222
201
|
suppressFiltersToolPanel: true,
|
|
223
|
-
|
|
202
|
+
suppressHeaderMenuButton: true,
|
|
224
203
|
suppressMovable: true,
|
|
225
204
|
filter: false,
|
|
226
205
|
sortable: false,
|
|
@@ -274,13 +253,7 @@ export class ActionRowInternalApi extends ApiBase {
|
|
|
274
253
|
tooltip: 'Delete',
|
|
275
254
|
onClick: (button, context) => {
|
|
276
255
|
var _a, _b;
|
|
277
|
-
const eventInfo = {
|
|
278
|
-
type: 'rowDeleted',
|
|
279
|
-
rowNode: context.rowNode,
|
|
280
|
-
adaptableApi: context.adaptableApi,
|
|
281
|
-
userName: context.userName,
|
|
282
|
-
adaptableId: context.adaptableId,
|
|
283
|
-
};
|
|
256
|
+
const eventInfo = Object.assign({ type: 'rowDeleted', rowNode: context.rowNode }, this.getAdaptableApi().internalApi.buildBaseContext());
|
|
284
257
|
this.getEventApi().emit('ActionRowSubmitted', eventInfo);
|
|
285
258
|
(_b = (_a = this.getActionRowOptions().actionRowFormOptions).onFormSubmit) === null || _b === void 0 ? void 0 : _b.call(_a, eventInfo);
|
|
286
259
|
},
|
|
@@ -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): {
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import * as PopupRedux from '../../Redux/ActionsReducers/PopupRedux';
|
|
2
2
|
import * as SystemRedux from '../../Redux/ActionsReducers/SystemRedux';
|
|
3
|
-
import { SystemProgressIndicatorHide, SystemProgressIndicatorShow, } from '../../Redux/ActionsReducers/SystemRedux';
|
|
4
3
|
import * as GridRedux from '../../Redux/ActionsReducers/GridRedux';
|
|
5
4
|
import * as DeadRedux from '../../Redux/DeadRedux';
|
|
6
5
|
import { ApiBase } from '../Implementation/ApiBase';
|
|
@@ -249,7 +248,7 @@ export class AdaptableInternalApi extends ApiBase {
|
|
|
249
248
|
}
|
|
250
249
|
}
|
|
251
250
|
executeWithProgressIndicator(label, executeFn, errorHandlingFn) {
|
|
252
|
-
this.
|
|
251
|
+
this.getAdaptableApi().userInterfaceApi.showProgressIndicator({ text: label, delay: 300 });
|
|
253
252
|
// setTimeout required to give the ProgressIndicator rendering a head-start (see RAF in ProgressIndicator implementation)
|
|
254
253
|
setTimeout(() => {
|
|
255
254
|
try {
|
|
@@ -257,14 +256,11 @@ export class AdaptableInternalApi extends ApiBase {
|
|
|
257
256
|
}
|
|
258
257
|
catch (error) {
|
|
259
258
|
errorHandlingFn === null || errorHandlingFn === void 0 ? void 0 : errorHandlingFn();
|
|
260
|
-
this.hideProgressIndicator();
|
|
259
|
+
this.getUserInterfaceApi().hideProgressIndicator();
|
|
261
260
|
this.adaptable.logger.error('Unexpected error while executing a function with a progress indicator', error);
|
|
262
261
|
}
|
|
263
262
|
}, 16);
|
|
264
263
|
}
|
|
265
|
-
hideProgressIndicator() {
|
|
266
|
-
this.dispatchReduxAction(SystemProgressIndicatorHide());
|
|
267
|
-
}
|
|
268
264
|
getCorrectEnglishVariant(wordToSpell) {
|
|
269
265
|
if (wordToSpell.includes('our')) {
|
|
270
266
|
return this.getUserInterfaceOptions().englishVariant == 'GB'
|
|
@@ -294,11 +290,7 @@ export class AdaptableInternalApi extends ApiBase {
|
|
|
294
290
|
if (typeof this.adaptable.adaptableOptions.userInterfaceOptions.objectTags === 'function') {
|
|
295
291
|
// sanitize the provided tags, just to be sure that the user does NOT break the UI
|
|
296
292
|
return this.adaptable.adaptableOptions.userInterfaceOptions
|
|
297
|
-
.objectTags(
|
|
298
|
-
adaptableApi: this.adaptable.api,
|
|
299
|
-
userName: this.getOptions().userName,
|
|
300
|
-
adaptableId: this.getOptions().adaptableId,
|
|
301
|
-
})
|
|
293
|
+
.objectTags(this.buildBaseContext())
|
|
302
294
|
.filter((tag) => typeof tag === 'string');
|
|
303
295
|
}
|
|
304
296
|
}
|
|
@@ -315,13 +307,7 @@ export class AdaptableInternalApi extends ApiBase {
|
|
|
315
307
|
}
|
|
316
308
|
if (typeof this.adaptable.adaptableOptions.layoutOptions.layoutTagOptions
|
|
317
309
|
.autoGenerateTagsForLayouts === 'function') {
|
|
318
|
-
const autoGenerateTagsForLayoutsContext = {
|
|
319
|
-
layouts: this.adaptable.api.layoutApi.getLayouts(),
|
|
320
|
-
objectTags: this.getAdaptableApi().userInterfaceApi.getAdaptableObjectTags(),
|
|
321
|
-
adaptableApi: this.adaptable.api,
|
|
322
|
-
userName: this.getOptions().userName,
|
|
323
|
-
adaptableId: this.getOptions().adaptableId,
|
|
324
|
-
};
|
|
310
|
+
const autoGenerateTagsForLayoutsContext = Object.assign({ layouts: this.adaptable.api.layoutApi.getLayouts(), objectTags: this.getAdaptableApi().userInterfaceApi.getAdaptableObjectTags() }, this.buildBaseContext());
|
|
325
311
|
const customGeneratedTags = this.adaptable.adaptableOptions.layoutOptions.layoutTagOptions.autoGenerateTagsForLayouts(autoGenerateTagsForLayoutsContext);
|
|
326
312
|
// sanitize the provided tags, just to be sure that the user does NOT break the UI
|
|
327
313
|
return customGeneratedTags.filter((tag) => typeof tag === 'string');
|
|
@@ -366,17 +352,17 @@ export class AdaptableInternalApi extends ApiBase {
|
|
|
366
352
|
return (_a = SystemRedux.SystemPreviousGroupedColumnsSelector(this.getAdaptableState().System)) === null || _a === void 0 ? void 0 : _a[layoutId];
|
|
367
353
|
}
|
|
368
354
|
// "borrowed" from https://github.com/ag-grid/ag-grid/blob/v28.2.1/community-modules/core/src/ts/utils/object.ts#L205
|
|
369
|
-
getValueUsingField(rowData,
|
|
370
|
-
if (!rowData || !(
|
|
355
|
+
getValueUsingField(rowData, fieldName) {
|
|
356
|
+
if (!rowData || !(fieldName === null || fieldName === void 0 ? void 0 : fieldName.length)) {
|
|
371
357
|
return;
|
|
372
358
|
}
|
|
373
|
-
const isColumnValueKeyNested =
|
|
359
|
+
const isColumnValueKeyNested = fieldName === null || fieldName === void 0 ? void 0 : fieldName.includes('.');
|
|
374
360
|
// if no '.', then it's not a deep value
|
|
375
361
|
if (!isColumnValueKeyNested) {
|
|
376
|
-
return rowData[
|
|
362
|
+
return rowData[fieldName];
|
|
377
363
|
}
|
|
378
364
|
// otherwise it is a deep value, so need to dig for it
|
|
379
|
-
const fields =
|
|
365
|
+
const fields = fieldName.split('.');
|
|
380
366
|
let currentObject = rowData;
|
|
381
367
|
for (let i = 0; i < fields.length; i++) {
|
|
382
368
|
if (currentObject == null) {
|
|
@@ -387,22 +373,22 @@ export class AdaptableInternalApi extends ApiBase {
|
|
|
387
373
|
return currentObject;
|
|
388
374
|
}
|
|
389
375
|
// "borrowed" from https://github.com/ag-grid/ag-grid/blob/v28.2.1/community-modules/core/src/ts/valueService/valueService.ts#L236
|
|
390
|
-
setValueUsingField(rowData,
|
|
391
|
-
if (!rowData || !(
|
|
376
|
+
setValueUsingField(rowData, fieldName, newValue) {
|
|
377
|
+
if (!rowData || !(fieldName === null || fieldName === void 0 ? void 0 : fieldName.length)) {
|
|
392
378
|
return;
|
|
393
379
|
}
|
|
394
|
-
const isColumnValueKeyContainsDots =
|
|
380
|
+
const isColumnValueKeyContainsDots = fieldName === null || fieldName === void 0 ? void 0 : fieldName.includes('.');
|
|
395
381
|
let valuesAreSame = false;
|
|
396
382
|
if (!isColumnValueKeyContainsDots) {
|
|
397
383
|
// soft comparison to match strings and numbers
|
|
398
|
-
valuesAreSame = rowData[
|
|
384
|
+
valuesAreSame = rowData[fieldName] == newValue;
|
|
399
385
|
if (!valuesAreSame) {
|
|
400
|
-
rowData[
|
|
386
|
+
rowData[fieldName] = newValue;
|
|
401
387
|
}
|
|
402
388
|
}
|
|
403
389
|
else {
|
|
404
390
|
// otherwise it is a deep value, so need to dig for it
|
|
405
|
-
const fieldPieces =
|
|
391
|
+
const fieldPieces = fieldName.split('.');
|
|
406
392
|
let currentObject = rowData;
|
|
407
393
|
while (fieldPieces.length > 0 && currentObject) {
|
|
408
394
|
const fieldPiece = fieldPieces.shift();
|
|
@@ -435,7 +421,7 @@ export class AdaptableInternalApi extends ApiBase {
|
|
|
435
421
|
}
|
|
436
422
|
// lastly filter by scope
|
|
437
423
|
if (scope) {
|
|
438
|
-
locatedAdaptableObjects = locatedAdaptableObjects.filter((adaptableObject) => this.getAdaptableApi().
|
|
424
|
+
locatedAdaptableObjects = locatedAdaptableObjects.filter((adaptableObject) => this.getAdaptableApi().columnScopeApi.isScopeInScope(adaptableObject.Scope, scope));
|
|
439
425
|
}
|
|
440
426
|
return locatedAdaptableObjects;
|
|
441
427
|
}
|
|
@@ -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
|