@adaptabletools/adaptable 20.0.0-canary.9 → 20.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/README.md +1 -1
- package/base.css +1327 -919
- package/base.css.map +1 -1
- package/index.css +464 -919
- package/index.css.map +1 -1
- package/package.json +4 -4
- package/src/AdaptableInterfaces/AdaptableNoCodeWizard.d.ts +1 -1
- package/src/AdaptableInterfaces/IAdaptable.d.ts +8 -8
- package/src/AdaptableOptions/ActionColumnOptions.d.ts +1 -1
- package/src/AdaptableOptions/AdaptableOptions.d.ts +3 -3
- package/src/AdaptableOptions/AdaptablePlugin.d.ts +4 -4
- package/src/AdaptableOptions/AlertOptions.d.ts +3 -3
- package/src/AdaptableOptions/CellSummaryOptions.d.ts +1 -1
- package/src/AdaptableOptions/ChartingOptions.d.ts +1 -1
- package/src/AdaptableOptions/ColumnMenuOptions.d.ts +4 -1
- package/src/AdaptableOptions/ContextMenuOptions.d.ts +10 -1
- package/src/AdaptableOptions/CustomSortOptions.d.ts +1 -1
- package/src/AdaptableOptions/DashboardOptions.d.ts +4 -4
- package/src/AdaptableOptions/DataChangeHistoryOptions.d.ts +1 -1
- package/src/AdaptableOptions/DataSetOptions.d.ts +1 -1
- package/src/AdaptableOptions/DefaultAdaptableOptions.js +7 -7
- package/src/AdaptableOptions/EditOptions.d.ts +3 -3
- package/src/AdaptableOptions/EntitlementOptions.d.ts +2 -2
- package/src/AdaptableOptions/ExportOptions.d.ts +34 -52
- package/src/AdaptableOptions/ExpressionOptions.d.ts +4 -4
- package/src/AdaptableOptions/Fdc3Options.d.ts +3 -3
- package/src/AdaptableOptions/FilterOptions.d.ts +3 -3
- package/src/AdaptableOptions/FlashingCellOptions.d.ts +1 -1
- package/src/AdaptableOptions/FormatColumnOptions.d.ts +2 -2
- package/src/AdaptableOptions/LayoutOptions.d.ts +11 -11
- package/src/AdaptableOptions/OpenFinPluginOptions.d.ts +1 -1
- package/src/AdaptableOptions/QuickSearchOptions.d.ts +2 -2
- package/src/AdaptableOptions/RowFormOptions.d.ts +7 -1
- package/src/AdaptableOptions/SettingsPanelOptions.d.ts +1 -1
- package/src/AdaptableOptions/StateOptions.d.ts +2 -2
- package/src/AdaptableOptions/TeamSharingOptions.d.ts +3 -3
- package/src/AdaptableOptions/ToolPanelOptions.d.ts +3 -3
- package/src/AdaptableOptions/UserInterfaceOptions.d.ts +5 -5
- package/src/{PredefinedConfig → AdaptableState}/AdaptableState.d.ts +7 -7
- package/src/{PredefinedConfig → AdaptableState}/AlertState.d.ts +3 -3
- package/src/{PredefinedConfig → AdaptableState}/ApplicationState.d.ts +3 -3
- package/src/{PredefinedConfig/ConfigState.d.ts → AdaptableState/BaseState.d.ts} +2 -2
- package/src/{PredefinedConfig → AdaptableState}/CalculatedColumnState.d.ts +3 -3
- package/src/{PredefinedConfig → AdaptableState}/ChartingState.d.ts +2 -2
- package/src/{PredefinedConfig → AdaptableState}/CommentState.d.ts +2 -2
- package/src/{PredefinedConfig → AdaptableState}/Common/AdaptableColumn.d.ts +3 -0
- package/src/{PredefinedConfig → AdaptableState}/Common/AdaptableObject.d.ts +8 -2
- package/src/{PredefinedConfig → AdaptableState}/Common/AdaptablePredicate.d.ts +1 -1
- package/src/{PredefinedConfig → AdaptableState}/Common/AdaptablePredicate.js +15 -15
- package/src/{PredefinedConfig → AdaptableState}/Common/AggregationColumns.d.ts +6 -0
- package/src/{PredefinedConfig → AdaptableState}/Common/ColumnFilter.d.ts +6 -2
- package/src/{PredefinedConfig → AdaptableState}/Common/Menu.d.ts +6 -0
- package/src/{PredefinedConfig → AdaptableState}/Common/Types.d.ts +1 -1
- package/src/{PredefinedConfig → AdaptableState}/CustomSortState.d.ts +3 -3
- package/src/{PredefinedConfig → AdaptableState}/DashboardState.d.ts +3 -3
- package/src/{PredefinedConfig → AdaptableState}/ExportState.d.ts +12 -3
- package/src/{PredefinedConfig → AdaptableState}/FlashingCellState.d.ts +14 -11
- package/src/{PredefinedConfig → AdaptableState}/FormatColumnState.d.ts +3 -3
- package/src/{PredefinedConfig → AdaptableState}/FreeTextColumnState.d.ts +3 -3
- package/src/{PredefinedConfig → AdaptableState}/IPushPullState.d.ts +2 -2
- package/src/AdaptableState/InitialState.d.ts +200 -0
- package/src/{PredefinedConfig → AdaptableState}/InternalState.d.ts +1 -1
- package/src/{PredefinedConfig → AdaptableState}/LayoutState.d.ts +6 -6
- package/src/{PredefinedConfig → AdaptableState}/NamedQueryState.d.ts +3 -3
- package/src/{PredefinedConfig → AdaptableState}/NoteState.d.ts +3 -3
- package/src/{PredefinedConfig → AdaptableState}/OpenFinState.d.ts +2 -2
- package/src/{PredefinedConfig → AdaptableState}/PlusMinusState.d.ts +3 -3
- package/src/{PredefinedConfig → AdaptableState}/PopupState.d.ts +2 -2
- package/src/{PredefinedConfig → AdaptableState}/QuickSearchState.d.ts +3 -3
- package/src/{PredefinedConfig → AdaptableState}/ScheduleState.d.ts +3 -3
- package/src/{PredefinedConfig → AdaptableState}/ShortcutState.d.ts +3 -3
- package/src/{PredefinedConfig → AdaptableState}/StatusBarState.d.ts +3 -3
- package/src/{PredefinedConfig → AdaptableState}/StyledColumnState.d.ts +3 -3
- package/src/{PredefinedConfig → AdaptableState}/TeamSharingState.d.ts +3 -3
- package/src/{PredefinedConfig → AdaptableState}/ThemeState.d.ts +16 -4
- package/src/{PredefinedConfig → AdaptableState}/ToolPanelState.d.ts +3 -3
- package/src/Api/AdaptableApi.d.ts +2 -2
- package/src/Api/AlertApi.d.ts +3 -3
- package/src/Api/ApplicationApi.d.ts +1 -1
- package/src/Api/CalculatedColumnApi.d.ts +1 -1
- package/src/Api/CellSummaryApi.d.ts +1 -1
- package/src/Api/ChartingApi.d.ts +1 -1
- package/src/Api/ColumnFilterApi.d.ts +6 -1
- package/src/Api/ColumnScopeApi.d.ts +3 -3
- package/src/Api/CommentApi.d.ts +1 -1
- package/src/Api/CustomSortApi.d.ts +1 -1
- package/src/Api/DashboardApi.d.ts +3 -3
- package/src/Api/DataChangeHistoryApi.d.ts +1 -1
- package/src/Api/Events/AdaptableStateChanged.d.ts +1 -1
- package/src/Api/Events/AdaptableStateReloaded.d.ts +1 -1
- package/src/Api/Events/AlertFired.d.ts +1 -1
- package/src/Api/Events/CalculatedColumnChanged.d.ts +1 -1
- package/src/Api/Events/CellChanged.d.ts +1 -1
- package/src/Api/Events/CellSelectionChanged.d.ts +1 -1
- package/src/Api/Events/DashboardChanged.d.ts +1 -1
- package/src/Api/Events/FlashingCellDisplayed.d.ts +1 -1
- package/src/Api/Events/GridSorted.d.ts +1 -1
- package/src/Api/Events/LayoutChanged.d.ts +1 -1
- package/src/Api/Events/LiveDataChanged.d.ts +1 -1
- package/src/Api/Events/RowChanged.d.ts +2 -2
- package/src/Api/Events/RowFormSubmitted.d.ts +1 -1
- package/src/Api/Events/RowSelectionChanged.d.ts +1 -1
- package/src/Api/Events/ScheduleTriggered.d.ts +1 -1
- package/src/Api/Events/SystemStatusMessageDisplayed.d.ts +1 -1
- package/src/Api/Events/TeamSharingEntityChanged.d.ts +1 -1
- package/src/Api/Events/ThemeChanged.d.ts +1 -1
- package/src/Api/ExportApi.d.ts +5 -14
- package/src/Api/ExpressionApi.d.ts +3 -3
- package/src/Api/FlashingCellApi.d.ts +5 -5
- package/src/Api/FormatColumnApi.d.ts +1 -1
- package/src/Api/FreeTextColumnApi.d.ts +1 -1
- package/src/Api/GridApi.d.ts +13 -13
- package/src/Api/IPushPullApi.d.ts +2 -2
- package/src/Api/Implementation/AdaptableApiImpl.d.ts +2 -2
- package/src/Api/Implementation/AdaptableApiImpl.js +3 -3
- package/src/Api/Implementation/AlertApiImpl.d.ts +4 -4
- package/src/Api/Implementation/AlertApiImpl.js +1 -1
- package/src/Api/Implementation/ApiBase.d.ts +5 -5
- package/src/Api/Implementation/ApiBase.js +3 -3
- package/src/Api/Implementation/CalculatedColumnApiImpl.d.ts +1 -1
- package/src/Api/Implementation/CellSummaryApiImpl.d.ts +2 -2
- package/src/Api/Implementation/CellSummaryApiImpl.js +1 -1
- package/src/Api/Implementation/ChartingApiImpl.d.ts +1 -1
- package/src/Api/Implementation/ColumnApiImpl.d.ts +1 -1
- package/src/Api/Implementation/ColumnFilterApiImpl.d.ts +3 -2
- package/src/Api/Implementation/ColumnFilterApiImpl.js +11 -4
- package/src/Api/Implementation/ColumnScopeApiImpl.d.ts +3 -3
- package/src/Api/Implementation/CustomSortApiImpl.d.ts +1 -1
- package/src/Api/Implementation/DashboardApiImpl.d.ts +3 -3
- package/src/Api/Implementation/DataChangeHistoryApiImpl.d.ts +1 -1
- package/src/Api/Implementation/ExportApiImpl.d.ts +5 -6
- package/src/Api/Implementation/ExportApiImpl.js +52 -48
- package/src/Api/Implementation/ExpressionApiImpl.d.ts +3 -3
- package/src/Api/Implementation/ExpressionApiImpl.js +1 -1
- package/src/Api/Implementation/Fdc3ApiImpl.js +1 -1
- package/src/Api/Implementation/FlashingCellApiImpl.d.ts +4 -4
- package/src/Api/Implementation/FormatColumnApiImpl.d.ts +3 -3
- package/src/Api/Implementation/FreeTextColumnApiImpl.d.ts +1 -1
- package/src/Api/Implementation/GridApiImpl.d.ts +12 -12
- package/src/Api/Implementation/GridApiImpl.js +1 -1
- package/src/Api/Implementation/LayoutApiImpl.d.ts +4 -4
- package/src/Api/Implementation/LayoutApiImpl.js +1 -1
- package/src/Api/Implementation/LayoutHelpers.js +1 -1
- package/src/Api/Implementation/NoteApiImpl.d.ts +1 -1
- package/src/Api/Implementation/PlusMinusApiImpl.d.ts +2 -2
- package/src/Api/Implementation/PredicateApiImpl.js +2 -2
- package/src/Api/Implementation/QuickSearchApiImpl.d.ts +2 -2
- package/src/Api/Implementation/ScheduleApiImpl.d.ts +5 -5
- package/src/Api/Implementation/SettingsPanelApiImpl.js +3 -1
- package/src/Api/Implementation/ShortcutApiImpl.d.ts +1 -1
- package/src/Api/Implementation/SmartEditApiImpl.d.ts +1 -1
- package/src/Api/Implementation/{ConfigApiImpl.d.ts → StateApiImpl.d.ts} +29 -27
- package/src/Api/Implementation/{ConfigApiImpl.js → StateApiImpl.js} +18 -9
- package/src/Api/Implementation/StatusBarApiImpl.d.ts +1 -1
- package/src/Api/Implementation/StyledColumnApiImpl.d.ts +1 -1
- package/src/Api/Implementation/SystemStatusApiImpl.d.ts +2 -2
- package/src/Api/Implementation/TeamSharingApiImpl.js +1 -1
- package/src/Api/Implementation/ThemeApiImpl.d.ts +1 -1
- package/src/Api/Implementation/ToolPanelApiImpl.d.ts +3 -3
- package/src/Api/Implementation/UserInterfaceApiImpl.d.ts +2 -2
- package/src/Api/Internal/ActionColumnInternalApi.d.ts +1 -1
- package/src/Api/Internal/ActionColumnInternalApi.js +2 -2
- package/src/Api/Internal/AdaptableInternalApi.d.ts +9 -9
- package/src/Api/Internal/AdaptableInternalApi.js +2 -2
- package/src/Api/Internal/AlertInternalApi.d.ts +7 -7
- package/src/Api/Internal/AlertInternalApi.js +2 -2
- package/src/Api/Internal/CalculatedColumnInternalApi.d.ts +1 -1
- package/src/Api/Internal/CalculatedColumnInternalApi.js +1 -1
- package/src/Api/Internal/ChartingInternalApi.d.ts +1 -1
- package/src/Api/Internal/ColumnFilterInternalApi.d.ts +4 -4
- package/src/Api/Internal/ColumnFilterInternalApi.js +3 -3
- package/src/Api/Internal/ColumnInternalApi.d.ts +1 -1
- package/src/Api/Internal/ColumnInternalApi.js +1 -2
- package/src/Api/Internal/CustomSortInternalApi.d.ts +2 -2
- package/src/Api/Internal/DashboardInternalApi.d.ts +2 -2
- package/src/Api/Internal/DashboardInternalApi.js +1 -1
- package/src/Api/Internal/EventInternalApi.d.ts +2 -2
- package/src/Api/Internal/EventInternalApi.js +1 -1
- package/src/Api/Internal/ExportInternalApi.d.ts +5 -6
- package/src/Api/Internal/ExportInternalApi.js +34 -42
- package/src/Api/Internal/ExpressionInternalApi.d.ts +1 -1
- package/src/Api/Internal/Fdc3InternalApi.d.ts +2 -2
- package/src/Api/Internal/Fdc3InternalApi.js +1 -1
- package/src/Api/Internal/FlashingCellInternalApi.d.ts +2 -2
- package/src/Api/Internal/FreeTextColumnInternalApi.d.ts +2 -2
- package/src/Api/Internal/FreeTextColumnInternalApi.js +1 -1
- package/src/Api/Internal/GridInternalApi.d.ts +6 -6
- package/src/Api/Internal/GridInternalApi.js +1 -1
- package/src/Api/Internal/LayoutInternalApi.d.ts +2 -2
- package/src/Api/Internal/NamedQueryInternalApi.js +1 -1
- package/src/Api/Internal/PredicateInternalApi.d.ts +3 -3
- package/src/Api/Internal/StyledColumnInternalApi.d.ts +2 -2
- package/src/Api/Internal/SystemStatusInternalApi.d.ts +1 -1
- package/src/Api/Internal/TeamSharingInternalApi.d.ts +1 -1
- package/src/Api/LayoutApi.d.ts +3 -3
- package/src/Api/NoteApi.d.ts +1 -1
- package/src/Api/OpenFinApi.d.ts +2 -2
- package/src/Api/PlusMinusApi.d.ts +2 -2
- package/src/Api/PredicateApi.d.ts +1 -1
- package/src/Api/QuickSearchApi.d.ts +2 -2
- package/src/Api/ScheduleApi.d.ts +5 -5
- package/src/Api/ShortcutApi.d.ts +1 -1
- package/src/Api/SmartEditApi.d.ts +1 -1
- package/src/Api/{ConfigApi.d.ts → StateApi.d.ts} +37 -29
- package/src/Api/StatusBarApi.d.ts +1 -1
- package/src/Api/StyledColumnApi.d.ts +4 -4
- package/src/Api/SystemStatusApi.d.ts +1 -1
- package/src/Api/TeamSharingApi.d.ts +2 -2
- package/src/Api/ThemeApi.d.ts +1 -1
- package/src/Api/ToolPanelApi.d.ts +3 -3
- package/src/Api/UserInterfaceApi.d.ts +4 -4
- package/src/Redux/ActionsReducers/AlertRedux.d.ts +1 -1
- package/src/Redux/ActionsReducers/ApplicationRedux.d.ts +1 -1
- package/src/Redux/ActionsReducers/CalculatedColumnRedux.d.ts +1 -1
- package/src/Redux/ActionsReducers/ChartingRedux.d.ts +1 -1
- package/src/Redux/ActionsReducers/ChartingRedux.js +1 -1
- package/src/Redux/ActionsReducers/CommentsRedux.d.ts +1 -1
- package/src/Redux/ActionsReducers/CustomSortRedux.d.ts +1 -1
- package/src/Redux/ActionsReducers/DashboardRedux.d.ts +4 -4
- package/src/Redux/ActionsReducers/ExportRedux.d.ts +1 -1
- package/src/Redux/ActionsReducers/FlashingCellRedux.d.ts +2 -2
- package/src/Redux/ActionsReducers/FormatColumnRedux.d.ts +1 -1
- package/src/Redux/ActionsReducers/FreeTextColumnRedux.d.ts +1 -1
- package/src/Redux/ActionsReducers/InternalRedux.d.ts +10 -10
- package/src/Redux/ActionsReducers/InternalRedux.js +1 -1
- package/src/Redux/ActionsReducers/LayoutRedux.d.ts +6 -5
- package/src/Redux/ActionsReducers/LayoutRedux.js +3 -3
- package/src/Redux/ActionsReducers/NamedQueryRedux.d.ts +1 -1
- package/src/Redux/ActionsReducers/NoteRedux.d.ts +1 -1
- package/src/Redux/ActionsReducers/PluginsRedux.d.ts +0 -93
- package/src/Redux/ActionsReducers/PluginsRedux.js +0 -93
- package/src/Redux/ActionsReducers/PlusMinusRedux.d.ts +2 -2
- package/src/Redux/ActionsReducers/PopupRedux.d.ts +4 -4
- package/src/Redux/ActionsReducers/QuickSearchRedux.d.ts +2 -2
- package/src/Redux/ActionsReducers/ScheduleRedux.d.ts +5 -47
- package/src/Redux/ActionsReducers/ScheduleRedux.js +0 -42
- package/src/Redux/ActionsReducers/ShortcutRedux.d.ts +1 -1
- package/src/Redux/ActionsReducers/StatusBarRedux.d.ts +1 -1
- package/src/Redux/ActionsReducers/StyledColumnRedux.d.ts +1 -1
- package/src/Redux/ActionsReducers/SystemStatusRedux.d.ts +1 -1
- package/src/Redux/ActionsReducers/TeamSharingRedux.d.ts +3 -3
- package/src/Redux/ActionsReducers/ThemeRedux.d.ts +1 -1
- package/src/Redux/ActionsReducers/ToolPanelRedux.d.ts +2 -2
- package/src/Redux/Store/AdaptableReduxLocalStorageEngine.d.ts +2 -2
- package/src/Redux/Store/AdaptableReduxLocalStorageEngine.js +6 -6
- package/src/Redux/Store/AdaptableReduxMerger.d.ts +4 -4
- package/src/Redux/Store/AdaptableReduxMerger.js +16 -16
- package/src/Redux/Store/AdaptableStore.d.ts +4 -4
- package/src/Redux/Store/AdaptableStore.js +7 -7
- package/src/Redux/Store/Interface/IAdaptableStore.d.ts +3 -3
- package/src/Redux/Store/Interface/IStorageEngine.d.ts +3 -3
- package/src/Strategy/AdaptableModuleBase.d.ts +9 -9
- package/src/Strategy/AdaptableModuleBase.js +2 -3
- package/src/Strategy/AlertModule.d.ts +5 -5
- package/src/Strategy/BulkUpdateModule.d.ts +1 -1
- package/src/Strategy/CalculatedColumnModule.d.ts +5 -5
- package/src/Strategy/CellSummaryModule.d.ts +6 -6
- package/src/Strategy/ChartingModule.d.ts +1 -1
- package/src/Strategy/ChartingModule.js +1 -1
- package/src/Strategy/ColumnFilterModule.d.ts +4 -4
- package/src/Strategy/ColumnFilterModule.js +4 -4
- package/src/Strategy/ColumnInfoModule.d.ts +1 -1
- package/src/Strategy/CommentModule.d.ts +1 -1
- package/src/Strategy/CustomSortModule.d.ts +4 -4
- package/src/Strategy/DashboardModule.d.ts +1 -1
- package/src/Strategy/DataImportModule.d.ts +1 -1
- package/src/Strategy/DataSetModule.d.ts +1 -1
- package/src/Strategy/DataSetModule.js +1 -1
- package/src/Strategy/ExportModule.d.ts +4 -4
- package/src/Strategy/Fdc3Module.d.ts +1 -1
- package/src/Strategy/FlashingCellModule.d.ts +4 -4
- package/src/Strategy/FlashingCellModule.js +1 -1
- package/src/Strategy/FormatColumnModule.d.ts +5 -5
- package/src/Strategy/FreeTextColumnModule.d.ts +3 -3
- package/src/Strategy/GridInfoModule.d.ts +3 -3
- package/src/Strategy/Interface/IBulkUpdateModule.d.ts +2 -2
- package/src/Strategy/Interface/ICellSummaryModule.d.ts +2 -2
- package/src/Strategy/Interface/IModule.d.ts +8 -8
- package/src/Strategy/Interface/IModuleActionReturn.d.ts +1 -1
- package/src/Strategy/Interface/IPlusMinusModule.d.ts +2 -2
- package/src/Strategy/Interface/ISmartEditModule.d.ts +1 -1
- package/src/Strategy/LayoutModule.d.ts +5 -5
- package/src/Strategy/LayoutModule.js +1 -1
- package/src/Strategy/NamedQueryModule.d.ts +1 -1
- package/src/Strategy/NoteModule.d.ts +1 -1
- package/src/Strategy/PlusMinusModule.d.ts +5 -5
- package/src/Strategy/ScheduleModule.d.ts +1 -1
- package/src/Strategy/ScheduleModule.js +1 -1
- package/src/Strategy/SettingsPanelModule.d.ts +2 -2
- package/src/Strategy/ShortcutModule.d.ts +3 -3
- package/src/Strategy/ShortcutModule.js +1 -1
- package/src/Strategy/SmartEditModule.d.ts +2 -2
- package/src/Strategy/SmartEditModule.js +1 -1
- package/src/Strategy/StateManagementModule.js +1 -1
- package/src/Strategy/StyledColumnModule.d.ts +5 -5
- package/src/Strategy/SystemStatusModule.d.ts +2 -2
- package/src/Strategy/TeamSharingModule.d.ts +1 -1
- package/src/Strategy/ThemeModule.d.ts +1 -1
- package/src/Strategy/Utilities/Alert/getAlertPreviewViewItems.d.ts +1 -1
- package/src/Strategy/Utilities/FlashingCell/getFlashingTargetViewItems.d.ts +1 -1
- package/src/Utilities/Constants/GeneralConstants.d.ts +5 -4
- package/src/Utilities/Constants/GeneralConstants.js +1 -0
- package/src/Utilities/Constants/ModuleConstants.d.ts +1 -1
- package/src/Utilities/Constants/ObjectDefaultConstants.d.ts +1 -1
- package/src/Utilities/Constants/ReduxConstants.d.ts +2 -2
- package/src/Utilities/Constants/ReduxConstants.js +1 -1
- package/src/Utilities/Defaults/DefaultSettingsPanel.d.ts +1 -1
- package/src/Utilities/Defaults/DefaultSettingsPanel.js +1 -1
- package/src/Utilities/ExpressionFunctions/aggregatedScalarExpressionFunctions.d.ts +1 -1
- package/src/Utilities/ExpressionFunctions/aggregatedScalarExpressionFunctions.js +1 -1
- package/src/Utilities/ExpressionFunctions/booleanExpressionFunctions.js +3 -3
- package/src/Utilities/ExpressionFunctions/expressionFunctionUtils.d.ts +1 -1
- package/src/Utilities/ExpressionFunctions/scalarExpressionFunctions.js +13 -13
- package/src/Utilities/Extensions/ArrayExtensions.d.ts +2 -2
- package/src/Utilities/Extensions/ArrayExtensions.js +1 -1
- package/src/Utilities/Extensions/EnumExtensions.js +1 -1
- package/src/Utilities/Helpers/AdaptableHelper.d.ts +5 -5
- package/src/Utilities/Helpers/AdaptableHelper.js +5 -5
- package/src/Utilities/Helpers/DateHelper.js +1 -2
- package/src/Utilities/Helpers/FormatHelper.d.ts +1 -1
- package/src/Utilities/Helpers/FormatHelper.js +18 -5
- package/src/Utilities/Helpers/PreviewHelper.d.ts +1 -1
- package/src/Utilities/Interface/ColumnFilterProps.d.ts +1 -1
- package/src/Utilities/Interface/MessagePopups.d.ts +2 -2
- package/src/Utilities/Interface/Preview.d.ts +1 -1
- package/src/Utilities/MenuItem.d.ts +3 -3
- package/src/Utilities/ObjectFactory.d.ts +23 -25
- package/src/Utilities/ObjectFactory.js +2 -13
- package/src/Utilities/Services/AggregatedScalarLiveValue.d.ts +1 -1
- package/src/Utilities/Services/AlertService.d.ts +1 -1
- package/src/Utilities/Services/CalculatedColumnExpressionService.d.ts +3 -3
- package/src/Utilities/Services/DataService.d.ts +1 -1
- package/src/Utilities/Services/Fdc3Service.js +2 -2
- package/src/Utilities/Services/FlashingCellService.d.ts +1 -1
- package/src/Utilities/Services/Interface/IAlertService.d.ts +3 -3
- package/src/Utilities/Services/Interface/ICalculatedColumnExpressionService.d.ts +3 -3
- package/src/Utilities/Services/Interface/IDataService.d.ts +1 -1
- package/src/Utilities/Services/Interface/IModuleService.d.ts +3 -3
- package/src/Utilities/Services/Interface/IQueryLanguageService.d.ts +3 -3
- package/src/Utilities/Services/Interface/ITeamSharingService.d.ts +4 -4
- package/src/Utilities/Services/Interface/IValidationService.d.ts +2 -2
- package/src/Utilities/Services/ModuleService.d.ts +2 -2
- package/src/Utilities/Services/ModuleService.js +1 -1
- package/src/Utilities/Services/QueryLanguageService.d.ts +2 -2
- package/src/Utilities/Services/RowSummaryService.js +1 -1
- package/src/Utilities/Services/TeamSharingService.d.ts +4 -4
- package/src/Utilities/Services/TeamSharingService.js +1 -1
- package/src/Utilities/Services/ThemeService.js +3 -3
- package/src/Utilities/Services/ValidationService.d.ts +2 -2
- package/src/Utilities/getScopeViewItems.d.ts +2 -2
- package/src/View/AdaptablePopover/index.d.ts +1 -1
- package/src/View/AdaptableViewFactory.d.ts +1 -1
- package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/ConfigurationWizard.js +4 -4
- package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/ConfigurationWizardColumnsStep.js +3 -3
- package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/EntitlementsForm.js +4 -4
- package/src/View/Alert/AlertEmptyView.js +1 -2
- package/src/View/Alert/AlertEntityRow.d.ts +2 -2
- package/src/View/Alert/AlertViewPanel.d.ts +2 -2
- package/src/View/Alert/AlertsPanel.d.ts +1 -1
- package/src/View/Alert/Utilities/getDefaultAlertDefinition.d.ts +1 -1
- package/src/View/Alert/Wizard/AlertBehaviourWizardSection.d.ts +1 -1
- package/src/View/Alert/Wizard/AlertButtonsEditor.d.ts +2 -2
- package/src/View/Alert/Wizard/AlertMessageWizardSection.d.ts +1 -1
- package/src/View/Alert/Wizard/AlertNotificationWizardSection.d.ts +1 -1
- package/src/View/Alert/Wizard/AlertNotificationWizardSection.js +4 -2
- package/src/View/Alert/Wizard/AlertRulesWizardSection.d.ts +1 -1
- package/src/View/Alert/Wizard/AlertScopeWizardSection.d.ts +1 -1
- package/src/View/Alert/Wizard/AlertSelectQueryWizard.d.ts +1 -1
- package/src/View/Alert/Wizard/BaseAlertScopeWizardSection.d.ts +1 -1
- package/src/View/BulkUpdate/BulkUpdateViewPanel.js +1 -1
- package/src/View/CalculatedColumn/CalculatedColumnSummary.d.ts +1 -1
- package/src/View/CalculatedColumn/Wizard/CalculatedColumnDefinitionWizardSection.d.ts +1 -1
- package/src/View/CalculatedColumn/Wizard/CalculatedColumnSettingsWizardSection.d.ts +1 -1
- package/src/View/CellSummary/CellSummaryDetails.d.ts +1 -1
- package/src/View/CellSummary/CellSummaryPopover.d.ts +1 -1
- package/src/View/CellSummary/CellSummaryPopup.d.ts +1 -1
- package/src/View/CellSummary/CellSummaryViewPanel.d.ts +3 -3
- package/src/View/CellSummary/CellSummaryViewPanel.js +1 -1
- package/src/View/Charting/ChartingStatusBarPopover.js +1 -2
- package/src/View/Charting/ChartingWizard/ChartingWizard.d.ts +1 -1
- package/src/View/Charting/ChartingWizard/ChartingWizard.js +1 -1
- package/src/View/Charting/ChartingWizard/ExternalChartingWizard/ExternalChartingWizard.d.ts +1 -1
- package/src/View/Charting/ChartingWizard/ExternalChartingWizard/SettingsSection.d.ts +1 -1
- package/src/View/Charting/DeleteChartButton.d.ts +1 -1
- package/src/View/Charting/DeleteChartButton.js +1 -1
- package/src/View/Charting/EditChartButton.d.ts +1 -1
- package/src/View/Charting/ShowChartButton.js +1 -1
- package/src/View/Charting/useChartingElements.d.ts +1 -1
- package/src/View/Charting/useChartingElements.js +1 -1
- package/src/View/Charting/useExternalChartState.d.ts +1 -1
- package/src/View/ColumnInfo/ColumnInfo.js +5 -5
- package/src/View/Comments/CommentsEditor.js +5 -2
- package/src/View/Comments/CommentsPopup.js +5 -2
- package/src/View/Components/AdaptableObjectList/AdaptableObjectList.d.ts +1 -1
- package/src/View/Components/Buttons/ButtonBase/index.d.ts +1 -1
- package/src/View/Components/Buttons/ButtonShare.d.ts +1 -1
- package/src/View/Components/Buttons/EntityListActionButtons.d.ts +4 -4
- package/src/View/Components/Buttons/SuspendToggleButton/SuspendToggleButton.d.ts +3 -3
- package/src/View/Components/ColumnFilter/AdaptableColumnFilter.d.ts +1 -0
- package/src/View/Components/ColumnFilter/AdaptableColumnFilter.js +4 -1
- package/src/View/Components/ColumnFilter/AdaptableFloatingFilter.d.ts +2 -0
- package/src/View/Components/ColumnFilter/AdaptableFloatingFilter.js +10 -3
- package/src/View/Components/ColumnFilter/ColumnFilter.d.ts +1 -1
- package/src/View/Components/ColumnFilter/ColumnFilter.js +4 -2
- package/src/View/Components/ColumnFilter/FloatingFilter.js +2 -2
- package/src/View/Components/ColumnFilter/LayoutColumnFilter.js +1 -1
- package/src/View/Components/ColumnFilter/components/ColumnFilterInput.d.ts +1 -1
- package/src/View/Components/ColumnFilter/components/ColumnFilterInput.js +7 -1
- package/src/View/Components/ColumnFilter/components/FloatingFilterValues.js +7 -0
- package/src/View/Components/ColumnFilter/useAdaptableFilterWrapper.d.ts +1 -1
- package/src/View/Components/ColumnFilter/useAdaptableFilterWrapper.js +6 -2
- package/src/View/Components/ColumnFilter/utils.js +5 -3
- package/src/View/Components/EntityRulesEditor/index.d.ts +1 -1
- package/src/View/Components/ExpressionWizard.d.ts +1 -1
- package/src/View/Components/FilterForm/ListBoxFilterForm.d.ts +1 -1
- package/src/View/Components/FilterForm/ListBoxFilterForm.js +4 -4
- package/src/View/Components/FilterForm/ListBoxMenu.d.ts +1 -1
- package/src/View/Components/FilterForm/getDefaultColumnFilterPredicate.d.ts +1 -1
- package/src/View/Components/ListBox/DualListBoxEditor.d.ts +1 -1
- package/src/View/Components/ListBox/DualListBoxEditor.js +1 -1
- package/src/View/Components/ListBox/ListBoxFilterSortComponent.d.ts +1 -1
- package/src/View/Components/ListBox/ListBoxFilterSortComponent.js +1 -1
- package/src/View/Components/ModuleSummary/ModuleDetail.d.ts +3 -3
- package/src/View/Components/ModuleSummary/ModuleHeader.d.ts +1 -1
- package/src/View/Components/ModuleValueSelector/index.d.ts +1 -1
- package/src/View/Components/NewScopeComponent.d.ts +1 -1
- package/src/View/Components/Panels/PanelDashboard/index.d.ts +1 -1
- package/src/View/Components/Panels/PanelWithButton.d.ts +1 -1
- package/src/View/Components/Panels/PanelWithImage.d.ts +1 -1
- package/src/View/Components/Popups/AdaptablePopup/AdaptablePopup.d.ts +1 -1
- package/src/View/Components/Popups/AdaptablePopupAlert.d.ts +1 -1
- package/src/View/Components/Popups/AdaptablePopupConfirmation.d.ts +1 -1
- package/src/View/Components/Popups/AdaptablePopupTeamSharing.d.ts +1 -1
- package/src/View/Components/Popups/AdaptableToaster.d.ts +1 -1
- package/src/View/Components/Popups/FormPopups/FormPopups.js +1 -1
- package/src/View/Components/PreviewResultsPanel.d.ts +1 -1
- package/src/View/Components/RangesComponent.d.ts +2 -2
- package/src/View/Components/Selectors/BulkUpdateValueSelector.d.ts +1 -1
- package/src/View/Components/Selectors/ColumnSelectorOld.d.ts +2 -2
- package/src/View/Components/Selectors/ColumnSelectorOld.js +1 -1
- package/src/View/Components/SharedProps/BaseProps.d.ts +1 -1
- package/src/View/Components/SharedProps/ConfigEntityRowProps.d.ts +3 -3
- package/src/View/Components/SharedProps/EditableConfigEntityState.d.ts +1 -1
- package/src/View/Components/SharedProps/ModuleSummaryProps.d.ts +3 -3
- package/src/View/Components/SharedProps/ModuleViewPopupProps.d.ts +1 -1
- package/src/View/Components/SharedProps/ToolPanelModuleViewPopupProps.d.ts +2 -2
- package/src/View/Components/SharedProps/ToolbarModuleViewPopupProps.d.ts +1 -1
- package/src/View/Components/SharedProps/ViewPanelProps.d.ts +1 -1
- package/src/View/Components/SharedProps/WizardScopeState.d.ts +1 -1
- package/src/View/Components/StyleComponent.d.ts +1 -1
- package/src/View/Components/StyleComponent.js +1 -1
- package/src/View/Components/StyleVisualItem.d.ts +1 -1
- package/src/View/Components/StyleVisualItem.js +1 -1
- package/src/View/Components/TagValueSelector/index.d.ts +1 -1
- package/src/View/Components/ToolPanel/AdaptableToolPanel.d.ts +4 -4
- package/src/View/Components/ToolPanel/AdaptableToolPanel.js +1 -1
- package/src/View/Components/ToolPanel/ToolPanelPopup.d.ts +3 -3
- package/src/View/Components/ToolPanel/ToolPanelPopup.js +1 -1
- package/src/View/Components/ToolPanel/ToolPanelWrapper.d.ts +2 -2
- package/src/View/CustomSort/CustomSortSummary.d.ts +1 -1
- package/src/View/CustomSort/Wizard/CustomSortColumnWizardSection.d.ts +1 -1
- package/src/View/CustomSort/Wizard/CustomSortSummaryWizard.d.ts +1 -1
- package/src/View/CustomSort/Wizard/CustomSortValuesWizardSection.d.ts +1 -1
- package/src/View/CustomSort/Wizard/CustomSortWizard.d.ts +1 -1
- package/src/View/Dashboard/CustomDashboardButton.d.ts +2 -2
- package/src/View/Dashboard/CustomToolbar.js +2 -2
- package/src/View/Dashboard/Dashboard.d.ts +3 -3
- package/src/View/Dashboard/DashboardPopup.d.ts +2 -2
- package/src/View/Dashboard/DashboardToolbarFactory.js +2 -3
- package/src/View/Dashboard/ModuleToolbarWrapper.d.ts +1 -1
- package/src/View/Dashboard/PinnedToolbarsSelector.js +1 -2
- package/src/View/DataChangeHistory/DataChangeHistoryGrid.d.ts +1 -1
- package/src/View/DataChangeHistory/DataChangeHistoryGrid.js +3 -5
- package/src/View/DataChangeHistory/DataChangeHistoryPopup.d.ts +2 -2
- package/src/View/Export/ExportDestinationPicker.d.ts +1 -1
- package/src/View/Export/ExportViewPanel.js +1 -1
- package/src/View/Export/ReportFormatSelector.d.ts +1 -1
- package/src/View/Export/ReportNameSelector.d.ts +1 -1
- package/src/View/Export/Wizard/NewReportWizard.d.ts +1 -1
- package/src/View/Export/Wizard/ReportColumnTypeWizard.d.ts +1 -1
- package/src/View/Export/Wizard/ReportColumnsWizardSection.d.ts +1 -1
- package/src/View/Export/Wizard/ReportNameWizardSection.d.ts +1 -1
- package/src/View/Export/Wizard/ReportRowTypeWizard.d.ts +1 -1
- package/src/View/Export/Wizard/ReportRowsWizardSection.d.ts +1 -1
- package/src/View/Export/Wizard/ReportSettingsWizard.d.ts +1 -1
- package/src/View/Export/Wizard/ReportSummaryWizard.d.ts +1 -1
- package/src/View/Filter/FilterSummary.js +1 -1
- package/src/View/Filter/FilterViewPanel.d.ts +2 -2
- package/src/View/FlashingCell/Wizard/FlashingCellRulesWizardSection.d.ts +1 -1
- package/src/View/FormatColumn/FormatColumnSummary.d.ts +1 -1
- package/src/View/FormatColumn/Wizard/FormatColumnFormatWizardSection.d.ts +3 -3
- package/src/View/FormatColumn/Wizard/FormatColumnScopeWizardSection.d.ts +1 -1
- package/src/View/FormatColumn/Wizard/FormatColumnSettingsWizardSection.d.ts +1 -1
- package/src/View/FormatColumn/Wizard/FormatColumnStyleWizardSection.d.ts +1 -1
- package/src/View/FormatColumn/Wizard/FormatColumnWizard.d.ts +1 -1
- package/src/View/FreeTextColumn/FreeTextColumnSummary.d.ts +1 -1
- package/src/View/FreeTextColumn/Wizard/FreeTextColumnSettingsWizardSection.d.ts +1 -1
- package/src/View/FreeTextColumn/Wizard/FreeTextColumnWizard.d.ts +1 -1
- package/src/View/GridFilter/NamedQuerySelector.d.ts +1 -1
- package/src/View/GridFilter/NamedQuerySelector.js +1 -1
- package/src/View/GridFilter/useGridFilterExpressionEditor.d.ts +1 -1
- package/src/View/GridInfo/GridInfoPopup/AdaptableObjectsSummary.js +6 -2
- package/src/View/GridInfo/GridInfoPopup/GridInfoPopup.js +1 -1
- package/src/View/Layout/LayoutViewPanel.d.ts +1 -1
- package/src/View/Layout/TransposedPopup.js +2 -2
- package/src/View/Layout/Wizard/Components/ColumnLabels.d.ts +1 -1
- package/src/View/Layout/Wizard/LayoutWizard.js +1 -1
- package/src/View/Layout/Wizard/sections/ColumnsSection.js +1 -1
- package/src/View/Layout/Wizard/sections/RowSummarySection.js +1 -1
- package/src/View/Note/NotePopup.js +5 -2
- package/src/View/PlusMinus/PlusMinusSummary.d.ts +1 -1
- package/src/View/PlusMinus/Wizard/PlusMinusScopeWizardSection.d.ts +1 -1
- package/src/View/PlusMinus/Wizard/PlusMinusWizard.d.ts +1 -1
- package/src/View/QuickSearch/QuickSearchPopup.d.ts +1 -1
- package/src/View/QuickSearch/QuickSearchPopup.js +2 -2
- package/src/View/Schedule/Wizard/ScheduleScheduleWizard.d.ts +1 -1
- package/src/View/Schedule/Wizard/ScheduleSettingsWizard/ScheduleSettingsReminder.d.ts +1 -1
- package/src/View/Schedule/Wizard/ScheduleSettingsWizard/ScheduleSettingsReport.d.ts +1 -1
- package/src/View/Schedule/Wizard/ScheduleSettingsWizard/ScheduleSettingsSummary.d.ts +1 -1
- package/src/View/Schedule/Wizard/ScheduleSettingsWizard/ScheduleSettingsSummary.js +1 -1
- package/src/View/Schedule/Wizard/ScheduleSettingsWizard/ScheduleSettingsWizard.d.ts +1 -1
- package/src/View/Schedule/Wizard/ScheduleSettingsWizard/ScheduleSettingsWizard.js +1 -1
- package/src/View/Schedule/Wizard/ScheduleSettingsWizard/isSettingsValid.d.ts +1 -1
- package/src/View/Schedule/Wizard/ScheduleSettingsWizard/isSettingsValid.js +1 -1
- package/src/View/Schedule/Wizard/ScheduleWizard.d.ts +1 -1
- package/src/View/Schedule/Wizard/ScheduleWizard.js +1 -1
- package/src/View/Shortcut/Wizard/ShortcutScopeWizardSection.d.ts +1 -1
- package/src/View/Shortcut/Wizard/ShortcutSettingsWizard.d.ts +1 -1
- package/src/View/Shortcut/Wizard/ShortcutWizard.d.ts +1 -1
- package/src/View/Shortcut/shortcutOperations.d.ts +1 -1
- package/src/View/Shortcut/shortcutOperations.js +1 -1
- package/src/View/SmartEdit/SmartEditPopup.js +1 -1
- package/src/View/SmartEdit/SmartEditViewPanel.js +1 -1
- package/src/View/StateManagement/StateManagementPopup.js +8 -8
- package/src/View/StateManagement/StateManagementViewPanel.js +3 -3
- package/src/View/StateManagement/components/ExportDropdown.d.ts +1 -1
- package/src/View/StateManagement/components/ExportDropdown.js +4 -4
- package/src/View/StateManagement/components/LoadButton.js +2 -2
- package/src/View/StateManagement/handleExportState.d.ts +1 -1
- package/src/View/StatusBar/AdaptableStatusBar.js +7 -5
- package/src/View/StatusBar/StatusBarPopup.js +1 -1
- package/src/View/StyledColumn/Wizard/StyledColumnWizard.d.ts +1 -1
- package/src/View/StyledColumn/Wizard/StyledColumnWizardColumnSection.d.ts +1 -1
- package/src/View/StyledColumn/Wizard/StyledColumnWizardStyleSection/StyledColumnWizardStyleSection.d.ts +1 -1
- package/src/View/StyledColumn/Wizard/StyledColumnWizardTypeSection.d.ts +1 -1
- package/src/View/SystemStatus/SystemStatusPopup.js +1 -1
- package/src/View/SystemStatus/SystemStatusViewPanel.d.ts +1 -1
- package/src/View/Theme/ThemeEditor.js +9 -7
- package/src/View/Theme/ThemePopup.d.ts +1 -1
- package/src/View/Theme/VariantSelector.d.ts +1 -0
- package/src/View/Theme/VariantSelector.js +6 -3
- package/src/View/UIHelper.d.ts +5 -5
- package/src/View/UIHelper.js +1 -1
- package/src/View/Wizard/Interface/IAdaptableWizard.d.ts +1 -1
- package/src/View/Wizard/ObjectTagsWizardSection.d.ts +1 -1
- package/src/agGrid/AdaptableAgGrid.d.ts +3 -2
- package/src/agGrid/AdaptableAgGrid.js +50 -16
- package/src/agGrid/AdaptableLogger.d.ts +1 -1
- package/src/agGrid/AgGridAdapter.d.ts +3 -3
- package/src/agGrid/AgGridAdapter.js +16 -33
- package/src/agGrid/AgGridColumnAdapter.d.ts +3 -3
- package/src/agGrid/AgGridColumnAdapter.js +4 -11
- package/src/agGrid/AgGridExportAdapter.d.ts +2 -2
- package/src/agGrid/AgGridExportAdapter.js +9 -3
- package/src/agGrid/AgGridMenuAdapter.d.ts +2 -2
- package/src/agGrid/AgGridThemeAdapter.d.ts +1 -1
- package/src/agGrid/AgGridThemeAdapter.js +2 -2
- package/src/agGrid/FilterWrapper.js +64 -35
- package/src/agGrid/FloatingFilterWrapper.js +14 -2
- package/src/agGrid/agGridDataTypeDefinitions.d.ts +1 -1
- package/src/agGrid/cellRenderers/BadgeRenderer.d.ts +2 -2
- package/src/agGrid/cellRenderers/PercentBarRenderer.d.ts +2 -2
- package/src/agGrid/editors/AdaptableDateEditor/InternalAdaptableDateEditor.js +1 -1
- package/src/agGrid/getAgGridFilterNotifyModelFn.d.ts +2 -0
- package/src/agGrid/getAgGridFilterNotifyModelFn.js +10 -0
- package/src/components/AdaptableFormComponent/AdaptableFormComponent.d.ts +2 -2
- package/src/components/Dashboard/DashboardManager.d.ts +2 -2
- package/src/components/Dashboard/DashboardToolbar.d.ts +1 -1
- package/src/components/Datepicker/DatepickerContext.d.ts +1 -0
- package/src/components/Datepicker/index.d.ts +1 -0
- package/src/components/Datepicker/index.js +1 -1
- package/src/components/ExpressionEditor/BaseEditorInput.js +1 -1
- package/src/components/ExpressionEditor/EditorInput.d.ts +1 -1
- package/src/components/ExpressionEditor/EditorInputWithWhereClause.d.ts +1 -1
- package/src/components/Icon/index.d.ts +1 -1
- package/src/components/Select/Select.d.ts +1 -0
- package/src/components/Select/Select.js +125 -20
- package/src/components/SimpleButton/index.d.ts +2 -2
- package/src/components/icons/index.d.ts +1 -1
- package/src/env.js +2 -2
- package/src/layout-manager/src/LayoutManagerModel.d.ts +1 -1
- package/src/metamodel/adaptable.metamodel.d.ts +134 -33
- package/src/metamodel/adaptable.metamodel.js +1 -1
- package/src/migration/AdaptableUpgradeHelper.d.ts +4 -4
- package/src/migration/VersionUpgrade.d.ts +1 -1
- package/src/migration/VersionUpgrade17.d.ts +1 -1
- package/src/migration/VersionUpgrade17.js +1 -1
- package/src/migration/VersionUpgrade18.d.ts +1 -1
- package/src/migration/VersionUpgrade20.d.ts +3 -1
- package/src/migration/VersionUpgrade20.js +43 -15
- package/src/themes/index.d.ts +1 -1
- package/src/types.d.ts +83 -83
- package/tsconfig.esm.tsbuildinfo +1 -1
- package/src/PredefinedConfig/PredefinedConfig.d.ts +0 -110
- /package/src/{PredefinedConfig → AdaptableState}/AdaptableState.js +0 -0
- /package/src/{PredefinedConfig → AdaptableState}/AlertState.js +0 -0
- /package/src/{PredefinedConfig → AdaptableState}/ApplicationState.js +0 -0
- /package/src/{Api/ConfigApi.js → AdaptableState/BaseState.js} +0 -0
- /package/src/{PredefinedConfig → AdaptableState}/CalculatedColumnState.js +0 -0
- /package/src/{PredefinedConfig → AdaptableState}/ChartingState.js +0 -0
- /package/src/{PredefinedConfig → AdaptableState}/CommentState.js +0 -0
- /package/src/{PredefinedConfig → AdaptableState}/Common/AdaptableAlert.d.ts +0 -0
- /package/src/{PredefinedConfig → AdaptableState}/Common/AdaptableAlert.js +0 -0
- /package/src/{PredefinedConfig → AdaptableState}/Common/AdaptableButton.d.ts +0 -0
- /package/src/{PredefinedConfig → AdaptableState}/Common/AdaptableButton.js +0 -0
- /package/src/{PredefinedConfig → AdaptableState}/Common/AdaptableColumn.js +0 -0
- /package/src/{PredefinedConfig → AdaptableState}/Common/AdaptableColumnContext.d.ts +0 -0
- /package/src/{PredefinedConfig → AdaptableState}/Common/AdaptableColumnContext.js +0 -0
- /package/src/{PredefinedConfig → AdaptableState}/Common/AdaptableComparerFunction.d.ts +0 -0
- /package/src/{PredefinedConfig → AdaptableState}/Common/AdaptableComparerFunction.js +0 -0
- /package/src/{PredefinedConfig → AdaptableState}/Common/AdaptableField.d.ts +0 -0
- /package/src/{PredefinedConfig → AdaptableState}/Common/AdaptableField.js +0 -0
- /package/src/{PredefinedConfig → AdaptableState}/Common/AdaptableFlashingCell.d.ts +0 -0
- /package/src/{PredefinedConfig → AdaptableState}/Common/AdaptableFlashingCell.js +0 -0
- /package/src/{PredefinedConfig → AdaptableState}/Common/AdaptableForm.d.ts +0 -0
- /package/src/{PredefinedConfig → AdaptableState}/Common/AdaptableForm.js +0 -0
- /package/src/{PredefinedConfig → AdaptableState}/Common/AdaptableFormat.d.ts +0 -0
- /package/src/{PredefinedConfig → AdaptableState}/Common/AdaptableFormat.js +0 -0
- /package/src/{PredefinedConfig → AdaptableState}/Common/AdaptableIcon.d.ts +0 -0
- /package/src/{PredefinedConfig → AdaptableState}/Common/AdaptableIcon.js +0 -0
- /package/src/{PredefinedConfig → AdaptableState}/Common/AdaptableMessageType.d.ts +0 -0
- /package/src/{PredefinedConfig → AdaptableState}/Common/AdaptableMessageType.js +0 -0
- /package/src/{PredefinedConfig → AdaptableState}/Common/AdaptableObject.js +0 -0
- /package/src/{PredefinedConfig → AdaptableState}/Common/AdaptableQuery.d.ts +0 -0
- /package/src/{PredefinedConfig → AdaptableState}/Common/AdaptableQuery.js +0 -0
- /package/src/{PredefinedConfig → AdaptableState}/Common/AdaptableSearchState.d.ts +0 -0
- /package/src/{PredefinedConfig → AdaptableState}/Common/AdaptableSearchState.js +0 -0
- /package/src/{PredefinedConfig → AdaptableState}/Common/AdaptableSortState.d.ts +0 -0
- /package/src/{PredefinedConfig → AdaptableState}/Common/AdaptableSortState.js +0 -0
- /package/src/{PredefinedConfig → AdaptableState}/Common/AdaptableStyle.d.ts +0 -0
- /package/src/{PredefinedConfig → AdaptableState}/Common/AdaptableStyle.js +0 -0
- /package/src/{PredefinedConfig → AdaptableState}/Common/AggregationColumns.js +0 -0
- /package/src/{PredefinedConfig → AdaptableState}/Common/AlternativeModuleName.d.ts +0 -0
- /package/src/{PredefinedConfig → AdaptableState}/Common/AlternativeModuleName.js +0 -0
- /package/src/{PredefinedConfig → AdaptableState}/Common/BaseContext.d.ts +0 -0
- /package/src/{PredefinedConfig → AdaptableState}/Common/BaseContext.js +0 -0
- /package/src/{PredefinedConfig → AdaptableState}/Common/ButtonStyle.d.ts +0 -0
- /package/src/{PredefinedConfig → AdaptableState}/Common/ButtonStyle.js +0 -0
- /package/src/{PredefinedConfig → AdaptableState}/Common/CellDataChangedInfo.d.ts +0 -0
- /package/src/{PredefinedConfig → AdaptableState}/Common/CellDataChangedInfo.js +0 -0
- /package/src/{PredefinedConfig → AdaptableState}/Common/CellHighlightInfo.d.ts +0 -0
- /package/src/{PredefinedConfig → AdaptableState}/Common/CellHighlightInfo.js +0 -0
- /package/src/{PredefinedConfig → AdaptableState}/Common/CellSummary.d.ts +0 -0
- /package/src/{PredefinedConfig → AdaptableState}/Common/CellSummary.js +0 -0
- /package/src/{PredefinedConfig → AdaptableState}/Common/ColumnFilter.js +0 -0
- /package/src/{PredefinedConfig → AdaptableState}/Common/ColumnScope.d.ts +0 -0
- /package/src/{PredefinedConfig → AdaptableState}/Common/ColumnScope.js +0 -0
- /package/src/{PredefinedConfig → AdaptableState}/Common/ColumnSetupInfo.d.ts +0 -0
- /package/src/{PredefinedConfig → AdaptableState}/Common/ColumnSetupInfo.js +0 -0
- /package/src/{PredefinedConfig → AdaptableState}/Common/ColumnSort.d.ts +0 -0
- /package/src/{PredefinedConfig → AdaptableState}/Common/ColumnSort.js +0 -0
- /package/src/{PredefinedConfig → AdaptableState}/Common/CustomWindowConfig.d.ts +0 -0
- /package/src/{PredefinedConfig → AdaptableState}/Common/CustomWindowConfig.js +0 -0
- /package/src/{PredefinedConfig → AdaptableState}/Common/DataChangedScope.d.ts +0 -0
- /package/src/{PredefinedConfig → AdaptableState}/Common/DataChangedScope.js +0 -0
- /package/src/{PredefinedConfig → AdaptableState}/Common/DataUpdateConfig.d.ts +0 -0
- /package/src/{PredefinedConfig → AdaptableState}/Common/DataUpdateConfig.js +0 -0
- /package/src/{PredefinedConfig → AdaptableState}/Common/Entitlement.d.ts +0 -0
- /package/src/{PredefinedConfig → AdaptableState}/Common/Entitlement.js +0 -0
- /package/src/{PredefinedConfig → AdaptableState}/Common/Enums.d.ts +0 -0
- /package/src/{PredefinedConfig → AdaptableState}/Common/Enums.js +0 -0
- /package/src/{PredefinedConfig → AdaptableState}/Common/ExtendedLayoutInfo.d.ts +0 -0
- /package/src/{PredefinedConfig → AdaptableState}/Common/ExtendedLayoutInfo.js +0 -0
- /package/src/{PredefinedConfig → AdaptableState}/Common/Fdc3Context.d.ts +0 -0
- /package/src/{PredefinedConfig → AdaptableState}/Common/Fdc3Context.js +0 -0
- /package/src/{PredefinedConfig → AdaptableState}/Common/Fdc3Intent.d.ts +0 -0
- /package/src/{PredefinedConfig → AdaptableState}/Common/Fdc3Intent.js +0 -0
- /package/src/{PredefinedConfig → AdaptableState}/Common/FilterActionOnDataChange.d.ts +0 -0
- /package/src/{PredefinedConfig → AdaptableState}/Common/FilterActionOnDataChange.js +0 -0
- /package/src/{PredefinedConfig → AdaptableState}/Common/FormContext.d.ts +0 -0
- /package/src/{PredefinedConfig → AdaptableState}/Common/FormContext.js +0 -0
- /package/src/{PredefinedConfig → AdaptableState}/Common/GridFilter.d.ts +0 -0
- /package/src/{PredefinedConfig → AdaptableState}/Common/GridFilter.js +0 -0
- /package/src/{PredefinedConfig → AdaptableState}/Common/Menu.js +0 -0
- /package/src/{PredefinedConfig → AdaptableState}/Common/ProgressIndicatorConfig.d.ts +0 -0
- /package/src/{PredefinedConfig → AdaptableState}/Common/ProgressIndicatorConfig.js +0 -0
- /package/src/{PredefinedConfig → AdaptableState}/Common/RowDataChangedInfo.d.ts +0 -0
- /package/src/{PredefinedConfig → AdaptableState}/Common/RowDataChangedInfo.js +0 -0
- /package/src/{PredefinedConfig → AdaptableState}/Common/RowHighlightInfo.d.ts +0 -0
- /package/src/{PredefinedConfig → AdaptableState}/Common/RowHighlightInfo.js +0 -0
- /package/src/{PredefinedConfig → AdaptableState}/Common/RowScope.d.ts +0 -0
- /package/src/{PredefinedConfig → AdaptableState}/Common/RowScope.js +0 -0
- /package/src/{PredefinedConfig → AdaptableState}/Common/RowSummary.d.ts +0 -0
- /package/src/{PredefinedConfig → AdaptableState}/Common/RowSummary.js +0 -0
- /package/src/{PredefinedConfig → AdaptableState}/Common/RowsHighlightInfo.d.ts +0 -0
- /package/src/{PredefinedConfig → AdaptableState}/Common/RowsHighlightInfo.js +0 -0
- /package/src/{PredefinedConfig → AdaptableState}/Common/Schedule.d.ts +0 -0
- /package/src/{PredefinedConfig → AdaptableState}/Common/Schedule.js +0 -0
- /package/src/{PredefinedConfig → AdaptableState}/Common/SpecialColumnSettings.d.ts +0 -0
- /package/src/{PredefinedConfig → AdaptableState}/Common/SpecialColumnSettings.js +0 -0
- /package/src/{PredefinedConfig → AdaptableState}/Common/SuspendableObject.d.ts +0 -0
- /package/src/{PredefinedConfig → AdaptableState}/Common/SuspendableObject.js +0 -0
- /package/src/{PredefinedConfig → AdaptableState}/Common/SystemStatusMessageInfo.d.ts +0 -0
- /package/src/{PredefinedConfig → AdaptableState}/Common/SystemStatusMessageInfo.js +0 -0
- /package/src/{PredefinedConfig → AdaptableState}/Common/TransposeConfig.d.ts +0 -0
- /package/src/{PredefinedConfig → AdaptableState}/Common/TransposeConfig.js +0 -0
- /package/src/{PredefinedConfig → AdaptableState}/Common/Types.js +0 -0
- /package/src/{PredefinedConfig → AdaptableState}/CustomSortState.js +0 -0
- /package/src/{PredefinedConfig → AdaptableState}/DashboardState.js +0 -0
- /package/src/{PredefinedConfig → AdaptableState}/ExportState.js +0 -0
- /package/src/{PredefinedConfig → AdaptableState}/FlashingCellState.js +0 -0
- /package/src/{PredefinedConfig → AdaptableState}/FormatColumnState.js +0 -0
- /package/src/{PredefinedConfig → AdaptableState}/FreeTextColumnState.js +0 -0
- /package/src/{PredefinedConfig → AdaptableState}/IPushPullState.js +0 -0
- /package/src/{PredefinedConfig/ConfigState.js → AdaptableState/InitialState.js} +0 -0
- /package/src/{PredefinedConfig → AdaptableState}/InternalState.js +0 -0
- /package/src/{PredefinedConfig → AdaptableState}/LayoutState.js +0 -0
- /package/src/{PredefinedConfig → AdaptableState}/NamedQueryState.js +0 -0
- /package/src/{PredefinedConfig → AdaptableState}/NoteState.js +0 -0
- /package/src/{PredefinedConfig → AdaptableState}/OpenFinState.js +0 -0
- /package/src/{PredefinedConfig → AdaptableState}/PlusMinusState.js +0 -0
- /package/src/{PredefinedConfig → AdaptableState}/PopupState.js +0 -0
- /package/src/{PredefinedConfig → AdaptableState}/QuickSearchState.js +0 -0
- /package/src/{PredefinedConfig → AdaptableState}/ScheduleState.js +0 -0
- /package/src/{PredefinedConfig → AdaptableState}/Selection/GridCell.d.ts +0 -0
- /package/src/{PredefinedConfig → AdaptableState}/Selection/GridCell.js +0 -0
- /package/src/{PredefinedConfig → AdaptableState}/Selection/GridCellRange.d.ts +0 -0
- /package/src/{PredefinedConfig → AdaptableState}/Selection/GridCellRange.js +0 -0
- /package/src/{PredefinedConfig → AdaptableState}/Selection/GridRow.d.ts +0 -0
- /package/src/{PredefinedConfig → AdaptableState}/Selection/GridRow.js +0 -0
- /package/src/{PredefinedConfig → AdaptableState}/Selection/SelectedCellInfo.d.ts +0 -0
- /package/src/{PredefinedConfig → AdaptableState}/Selection/SelectedCellInfo.js +0 -0
- /package/src/{PredefinedConfig → AdaptableState}/Selection/SelectedRowInfo.d.ts +0 -0
- /package/src/{PredefinedConfig → AdaptableState}/Selection/SelectedRowInfo.js +0 -0
- /package/src/{PredefinedConfig → AdaptableState}/ShortcutState.js +0 -0
- /package/src/{PredefinedConfig → AdaptableState}/StatusBarState.js +0 -0
- /package/src/{PredefinedConfig → AdaptableState}/StyledColumnState.js +0 -0
- /package/src/{PredefinedConfig → AdaptableState}/TeamSharingState.js +0 -0
- /package/src/{PredefinedConfig → AdaptableState}/ThemeState.js +0 -0
- /package/src/{PredefinedConfig → AdaptableState}/ToolPanelState.js +0 -0
- /package/src/{PredefinedConfig → AdaptableState}/Uuid.d.ts +0 -0
- /package/src/{PredefinedConfig → AdaptableState}/Uuid.js +0 -0
- /package/src/{PredefinedConfig/PredefinedConfig.js → Api/StateApi.js} +0 -0
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { AdaptableMessageType, BaseContext, AdaptableColumnContext } from '../../types';
|
|
2
|
-
import { CellDataChangedInfo } from '../
|
|
3
|
-
import { MathOperation } from '../
|
|
4
|
-
import { GridCell } from '../
|
|
2
|
+
import { CellDataChangedInfo } from '../AdaptableState/Common/CellDataChangedInfo';
|
|
3
|
+
import { MathOperation } from '../AdaptableState/Common/Enums';
|
|
4
|
+
import { GridCell } from '../AdaptableState/Selection/GridCell';
|
|
5
5
|
/**
|
|
6
6
|
* Options related to Editing in AdapTable - includes Server Validation, Smart Edit Operations and Cell Editabiility
|
|
7
7
|
*/
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { AdaptableModule } from '../
|
|
2
|
-
import { AccessLevel, Entitlement } from '../
|
|
1
|
+
import { AdaptableModule } from '../AdaptableState/Common/Types';
|
|
2
|
+
import { AccessLevel, Entitlement } from '../AdaptableState/Common/Entitlement';
|
|
3
3
|
import { BaseContext } from '../types';
|
|
4
4
|
/**
|
|
5
5
|
* Options for managing Entitlements in AdapTable, ie. which Modules are available to the User and whether as *Full*, *ReadOnly* or *Hidden*.
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { AdaptableForm } from '../
|
|
2
|
-
import { FormContext } from '../
|
|
3
|
-
import { Report, ReportColumn, ReportData, ReportFormatType, ReportNameType, SystemReportFormat, SystemReportName } from '../
|
|
1
|
+
import { AdaptableForm } from '../AdaptableState/Common/AdaptableForm';
|
|
2
|
+
import { FormContext } from '../AdaptableState/Common/FormContext';
|
|
3
|
+
import { Report, ReportColumn, ReportData, ReportFormatType, ReportNameType, SystemReportFormat, SystemReportName } from '../AdaptableState/ExportState';
|
|
4
4
|
import { AdaptableColumn, BaseContext, AdaptableColumnContext } from '../types';
|
|
5
|
-
import { TypeHint } from '../
|
|
5
|
+
import { TypeHint } from '../AdaptableState/Common/Types';
|
|
6
6
|
import { CsvCell, ExcelCell, ExcelDataType, ExcelRow, IRowNode } from 'ag-grid-enterprise';
|
|
7
7
|
/**
|
|
8
8
|
* Options regarding Exporting data from AdapTable
|
|
@@ -25,10 +25,6 @@ export interface ExportOptions<TData = any> {
|
|
|
25
25
|
* User-provided Report Destinations (in addition to those shipped in AdapTable)
|
|
26
26
|
*/
|
|
27
27
|
customDestinations?: CustomDestination[];
|
|
28
|
-
/**
|
|
29
|
-
* Reports generated entirely by users (and not evaluated AdapTable)
|
|
30
|
-
*/
|
|
31
|
-
externalReports?: ExternalReport[];
|
|
32
28
|
/**
|
|
33
29
|
* System Reports to use; leave blank for all, empty array for none
|
|
34
30
|
*
|
|
@@ -67,10 +63,6 @@ export interface ExportOptions<TData = any> {
|
|
|
67
63
|
* @defaultValue true
|
|
68
64
|
*/
|
|
69
65
|
isColumnExportable?: (context: AdaptableColumnContext) => boolean;
|
|
70
|
-
/**
|
|
71
|
-
* Function invoked before a Report is run, enabling users to preload the data before it is exported
|
|
72
|
-
*/
|
|
73
|
-
preProcessExport?: (preProcessExportContext: PreProcessExportContext) => boolean | Promise<ReportData | boolean>;
|
|
74
66
|
/**
|
|
75
67
|
* Separator for CSV exports
|
|
76
68
|
*
|
|
@@ -87,6 +79,15 @@ export interface ExportOptions<TData = any> {
|
|
|
87
79
|
* Function to provide the Detail Rows when exporting in Master-Detail grids. This function will be invoked for each master row node.
|
|
88
80
|
*/
|
|
89
81
|
getDetailRows?: (context: GetDetailRowsContext<TData>) => CsvDetailRow[] | ExcelDetailRow[] | undefined;
|
|
82
|
+
/**
|
|
83
|
+
* Provides custom handling of the Export process before the default export is executed.
|
|
84
|
+
*
|
|
85
|
+
* @returns A Promise resolving to one of:
|
|
86
|
+
* - `true` - Continue with the default export process
|
|
87
|
+
* - `false` - Cancel the export process
|
|
88
|
+
* - `ExportResultData` - Custom export data (useful for server-side data)
|
|
89
|
+
*/
|
|
90
|
+
processExport?: (processExportContext: ProcessExportContext) => Promise<ExportResultData | boolean>;
|
|
90
91
|
}
|
|
91
92
|
/**
|
|
92
93
|
* Detail Row Data in a CSV format; technically an array of AG Grid {@link https://www.ag-grid.com/javascript-data-grid/csv-export/#csvcell | CsvCell}s
|
|
@@ -129,43 +130,10 @@ export interface GetDetailRowsContext<TData = any> extends BaseExportContext {
|
|
|
129
130
|
*/
|
|
130
131
|
createCellExcel: (cellContent: any, cellType: ExcelDataType) => ExcelCell;
|
|
131
132
|
}
|
|
132
|
-
/**
|
|
133
|
-
* Context provided to `ExportOptions.processExport()` callback used when pre-processing Export
|
|
134
|
-
*/
|
|
135
|
-
export interface PreProcessExportContext extends BaseContext {
|
|
136
|
-
/**
|
|
137
|
-
* Report being exported
|
|
138
|
-
*/
|
|
139
|
-
report: Report;
|
|
140
|
-
/**
|
|
141
|
-
* Returns Columns to export based on Report's `ReportColumnScope`
|
|
142
|
-
* @param includePrimaryKey - whether to include the primary key column (defaults to `false`)
|
|
143
|
-
*/
|
|
144
|
-
getReportColumns: (includePrimaryKey?: boolean) => AdaptableColumn[];
|
|
145
|
-
/**
|
|
146
|
-
* Returns row data which would typically be exported based on the Report's `ReportRowScope`
|
|
147
|
-
* @param reportColumns - the columns to include in the report
|
|
148
|
-
* @param includePrimaryKey - whether to include the primary key column (defaults to `false`)
|
|
149
|
-
*/
|
|
150
|
-
getReportRowData: (reportColumns: AdaptableColumn[], includePrimaryKey?: boolean) => Record<string, any>[];
|
|
151
|
-
}
|
|
152
133
|
/**
|
|
153
134
|
* Format of exported Data - 'rawValue' or 'formattedValue'
|
|
154
135
|
*/
|
|
155
136
|
export type DataFormatType = 'rawValue' | 'formattedValue';
|
|
156
|
-
/**
|
|
157
|
-
* Defines a Report where all the data is provided entirely by the user
|
|
158
|
-
*/
|
|
159
|
-
export interface ExternalReport {
|
|
160
|
-
/**
|
|
161
|
-
* Name of the Report
|
|
162
|
-
*/
|
|
163
|
-
name: string;
|
|
164
|
-
/**
|
|
165
|
-
* Function invoked to return the data (in the form of a `ExportResultData` object)
|
|
166
|
-
*/
|
|
167
|
-
onExport: (context: ExternalReportContext) => Promise<ExportResultData>;
|
|
168
|
-
}
|
|
169
137
|
/**
|
|
170
138
|
* Defines a custom Export destination
|
|
171
139
|
*/
|
|
@@ -225,8 +193,10 @@ export type SystemExportDestination =
|
|
|
225
193
|
* Copy report to clipboard
|
|
226
194
|
*/
|
|
227
195
|
| 'Clipboard';
|
|
196
|
+
/**
|
|
197
|
+
* Configures which destination Reports get exported to
|
|
198
|
+
*/
|
|
228
199
|
export type ExportDestinationType = TypeHint<string, SystemExportDestination>;
|
|
229
|
-
export type ExportDestination = SystemExportDestination | CustomDestination;
|
|
230
200
|
/**
|
|
231
201
|
* Context information available in all Export-related functions
|
|
232
202
|
*/
|
|
@@ -235,6 +205,10 @@ export interface BaseExportContext extends BaseContext {
|
|
|
235
205
|
* Name of the Report being run
|
|
236
206
|
*/
|
|
237
207
|
reportName: ReportNameType;
|
|
208
|
+
/**
|
|
209
|
+
* The Report Configuration being run
|
|
210
|
+
*/
|
|
211
|
+
report: Report;
|
|
238
212
|
/**
|
|
239
213
|
* Format of the Report being run
|
|
240
214
|
*/
|
|
@@ -248,18 +222,26 @@ export interface BaseExportContext extends BaseContext {
|
|
|
248
222
|
* Report Context sent when using Custom Export Destinations
|
|
249
223
|
*/
|
|
250
224
|
export interface ReportContext extends BaseExportContext {
|
|
251
|
-
/**
|
|
252
|
-
* Definition of Report being Run
|
|
253
|
-
*/
|
|
254
|
-
report: Report;
|
|
255
225
|
/**
|
|
256
226
|
* Export Data for the Report
|
|
257
227
|
*/
|
|
258
228
|
reportData: ExportResultData;
|
|
259
229
|
}
|
|
260
|
-
|
|
261
|
-
|
|
230
|
+
/**
|
|
231
|
+
* Context used by the processExport function
|
|
232
|
+
*/
|
|
233
|
+
export interface ProcessExportContext extends BaseExportContext {
|
|
234
|
+
/**
|
|
235
|
+
* Returns Columns to export based on Report's `ReportColumnScope`
|
|
236
|
+
*/
|
|
237
|
+
getReportColumns: () => ReportColumn[];
|
|
238
|
+
/**
|
|
239
|
+
* Converts the Report Data to Excel format
|
|
240
|
+
*/
|
|
262
241
|
convertToExcel: (reportData: ReportData) => Blob;
|
|
242
|
+
/**
|
|
243
|
+
* Converts the Report Data to CSV format
|
|
244
|
+
*/
|
|
263
245
|
convertToCsv: (reportData: ReportData) => string;
|
|
264
246
|
}
|
|
265
247
|
/**
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { AdaptablePredicate } from '../
|
|
2
|
-
import { AdaptableModule, AdaptableQLModule } from '../
|
|
3
|
-
import { BaseContext } from '../
|
|
4
|
-
import { AdaptableColumn } from '../
|
|
1
|
+
import { AdaptablePredicate } from '../AdaptableState/Common/AdaptablePredicate';
|
|
2
|
+
import { AdaptableModule, AdaptableQLModule } from '../AdaptableState/Common/Types';
|
|
3
|
+
import { BaseContext } from '../AdaptableState/Common/BaseContext';
|
|
4
|
+
import { AdaptableColumn } from '../AdaptableState/Common/AdaptableColumn';
|
|
5
5
|
import { AdaptableObject, AggregatedBooleanFunctionName, AggregatedExpressionFunction, AggregatedScalarFunctionName, BooleanFunctionName, ExpressionFunction, ObservableFunctionName, ScalarFunctionName, AdaptableField, AdaptableColumnContext } from '../types';
|
|
6
6
|
/**
|
|
7
7
|
* Options for managing Expressions in AdapTable's Query Language
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { BaseContext } from '../
|
|
1
|
+
import { BaseContext } from '../AdaptableState/Common/BaseContext';
|
|
2
2
|
import { IRowNode } from 'ag-grid-enterprise';
|
|
3
3
|
import { Action, Chart, ChatInitSettings, ChatMessage, ChatRoom, ChatSearchCriteria, Contact, ContactList, Context, ContextMetadata, ContextType, Country, Currency, Email, Instrument, InstrumentList, Intent, IntentResolution, IntentResult, Interaction, Message, Organization, Portfolio, Position, StandardContextType, StandardIntent, TimeRange, TransactionResult, Valuation } from '@finos/fdc3';
|
|
4
|
-
import { AdaptableIcon } from '../
|
|
5
|
-
import { ButtonStyle } from '../
|
|
4
|
+
import { AdaptableIcon } from '../AdaptableState/Common/AdaptableIcon';
|
|
5
|
+
import { ButtonStyle } from '../AdaptableState/Common/ButtonStyle';
|
|
6
6
|
import { RowScope } from '../types';
|
|
7
7
|
/**
|
|
8
8
|
* Options for configuring FDC3 in AdapTable
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { FilterActionOnDataChange } from '../
|
|
1
|
+
import { FilterActionOnDataChange } from '../AdaptableState/Common/FilterActionOnDataChange';
|
|
2
2
|
import { BaseContext } from '../../types';
|
|
3
|
-
import { AdaptableColumn } from '../
|
|
3
|
+
import { AdaptableColumn } from '../AdaptableState/Common/AdaptableColumn';
|
|
4
4
|
import { SystemAlertPredicateId, SystemFilterPredicateId } from '../../types';
|
|
5
5
|
import { StrictExtract } from '../Utilities/Extensions/TypeExtensions';
|
|
6
|
-
import { AdaptableColumnContext } from '../
|
|
6
|
+
import { AdaptableColumnContext } from '../AdaptableState/Common/AdaptableColumnContext';
|
|
7
7
|
import { IRowNode } from 'ag-grid-enterprise';
|
|
8
8
|
/**
|
|
9
9
|
* Options for managing Column & Grid Filters in AdapTable
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ColumnScope } from '../
|
|
2
|
-
import { AdaptableColumn } from '../
|
|
1
|
+
import { ColumnScope } from '../AdaptableState/Common/ColumnScope';
|
|
2
|
+
import { AdaptableColumn } from '../AdaptableState/Common/AdaptableColumn';
|
|
3
3
|
import { BaseContext } from '../../types';
|
|
4
4
|
import { IRowNode } from 'ag-grid-enterprise';
|
|
5
5
|
/**
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { AlertDefinition } from '../
|
|
2
|
-
import { CustomSort } from '../
|
|
3
|
-
import { FlashingCellDefinition } from '../
|
|
4
|
-
import { FormatColumn } from '../
|
|
5
|
-
import { PlusMinusNudge } from '../
|
|
6
|
-
import { Shortcut } from '../
|
|
7
|
-
import { StyledColumn } from '../
|
|
8
|
-
import { BaseSchedule } from '../
|
|
9
|
-
import { Layout } from '../
|
|
10
|
-
import { AdaptableModule } from '../
|
|
11
|
-
import { AdaptableObjectTag } from '../
|
|
1
|
+
import { AlertDefinition } from '../AdaptableState/AlertState';
|
|
2
|
+
import { CustomSort } from '../AdaptableState/CustomSortState';
|
|
3
|
+
import { FlashingCellDefinition } from '../AdaptableState/FlashingCellState';
|
|
4
|
+
import { FormatColumn } from '../AdaptableState/FormatColumnState';
|
|
5
|
+
import { PlusMinusNudge } from '../AdaptableState/PlusMinusState';
|
|
6
|
+
import { Shortcut } from '../AdaptableState/ShortcutState';
|
|
7
|
+
import { StyledColumn } from '../AdaptableState/StyledColumnState';
|
|
8
|
+
import { BaseSchedule } from '../AdaptableState/Common/Schedule';
|
|
9
|
+
import { Layout } from '../AdaptableState/LayoutState';
|
|
10
|
+
import { AdaptableModule } from '../AdaptableState/Common/Types';
|
|
11
|
+
import { AdaptableObjectTag } from '../AdaptableState/Common/AdaptableObject';
|
|
12
12
|
import { BaseContext } from '../../types';
|
|
13
13
|
/**
|
|
14
14
|
* Options for configuring Layouts; these manage Column visibility, order, sorting, grouping, width etc.
|
|
@@ -30,13 +30,13 @@ export interface QuickSearchOptions<TData = any> {
|
|
|
30
30
|
*/
|
|
31
31
|
clearQuickSearchOnStartUp?: boolean;
|
|
32
32
|
/**
|
|
33
|
-
* Filters quick search
|
|
33
|
+
* Filters Grid after quick search so only matching rows are displayed
|
|
34
34
|
*
|
|
35
35
|
* @defaultValue false
|
|
36
36
|
* @gridInfoItem
|
|
37
37
|
* @noCodeItem
|
|
38
38
|
*/
|
|
39
|
-
|
|
39
|
+
filterGridAfterQuickSearch?: boolean;
|
|
40
40
|
/**
|
|
41
41
|
* Run Quick Search using Case Sensitivity
|
|
42
42
|
*
|
|
@@ -15,7 +15,7 @@ export interface RowFormOptions<TData = any> {
|
|
|
15
15
|
*/
|
|
16
16
|
disableInlineEditing?: boolean;
|
|
17
17
|
/**
|
|
18
|
-
* Function called when auto-handling 'create' or 'clone' Command Button; returned
|
|
18
|
+
* Function called when auto-handling 'create' or 'clone' Command Button; returned value should be valid for Primary Key column
|
|
19
19
|
* @defaultValue undefined
|
|
20
20
|
*/
|
|
21
21
|
setPrimaryKeyValue?: (context: SetPrimaryKeyValueContext<TData>) => any;
|
|
@@ -94,7 +94,13 @@ export interface RowFormTitleContext<TData = any> extends BaseContext {
|
|
|
94
94
|
export interface RowFormFieldContext<TData = any> extends RowFormTitleContext {
|
|
95
95
|
column: AdaptableColumn<TData>;
|
|
96
96
|
}
|
|
97
|
+
/**
|
|
98
|
+
* Type of RowForm: 'rowCreated' | 'rowEdited' | 'rowDeleted'
|
|
99
|
+
*/
|
|
97
100
|
export type RowFormType = 'rowCreated' | 'rowEdited' | 'rowDeleted';
|
|
101
|
+
/**
|
|
102
|
+
* Context used when decided if column should be included in a Row Form
|
|
103
|
+
*/
|
|
98
104
|
export interface RowFormColumnContext extends BaseContext {
|
|
99
105
|
/**
|
|
100
106
|
* Column to be displayed
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { AdaptableFrameworkComponent, AdaptableIcon } from '../../types';
|
|
2
|
-
import { AdaptableSettingsPanel } from '../
|
|
2
|
+
import { AdaptableSettingsPanel } from '../AdaptableState/Common/Types';
|
|
3
3
|
import { CustomRenderContext } from '../agGrid/AdaptableFrameworkComponent';
|
|
4
4
|
/**
|
|
5
5
|
* Options for managing the AdapTable Settings Panel
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AdaptableState } from '../
|
|
1
|
+
import { AdaptableState } from '../AdaptableState/AdaptableState';
|
|
2
2
|
/**
|
|
3
3
|
* Options related to Adaptable State hydration / dehydration; allows users to intercept state persistence and loading with custom functionality
|
|
4
4
|
*/
|
|
@@ -72,7 +72,7 @@ export interface AdaptablePersistStateFunction {
|
|
|
72
72
|
}
|
|
73
73
|
/**
|
|
74
74
|
* Allows clearing state when a custom persistState is used.
|
|
75
|
-
* Only called by
|
|
75
|
+
* Only called by StateApi.reloadInitialState
|
|
76
76
|
*/
|
|
77
77
|
export interface AdaptableClearStateFunction {
|
|
78
78
|
(adaptableStateFunctionConfig: AdaptableStateFunctionConfig): Promise<any>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { CustomSharedEntity, SharedEntity } from '../
|
|
2
|
-
import { BaseContext } from '../
|
|
1
|
+
import { CustomSharedEntity, SharedEntity } from '../AdaptableState/TeamSharingState';
|
|
2
|
+
import { BaseContext } from '../AdaptableState/Common/BaseContext';
|
|
3
3
|
/**
|
|
4
4
|
* Options for managing Team Sharing - which enables Adaptable Objects to be shared between colleagues
|
|
5
5
|
*/
|
|
@@ -55,7 +55,7 @@ export interface TeamSharingOptions {
|
|
|
55
55
|
*/
|
|
56
56
|
showUpdateNotificationOncePerUpdate?: boolean;
|
|
57
57
|
/**
|
|
58
|
-
* Suppress warning when an Import overrides existing
|
|
58
|
+
* Suppress warning when an Import overrides existing Adaptable State item
|
|
59
59
|
*
|
|
60
60
|
* @defaultValue false
|
|
61
61
|
* @gridInfoItem
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { AdaptableObject } from '../
|
|
1
|
+
import { AdaptableObject } from '../AdaptableState/Common/AdaptableObject';
|
|
2
2
|
import { AdaptableFrameworkComponent } from '../agGrid/AdaptableFrameworkComponent';
|
|
3
|
-
import { AdaptableButton } from '../
|
|
4
|
-
import { ToolPanelState } from '../
|
|
3
|
+
import { AdaptableButton } from '../AdaptableState/Common/AdaptableButton';
|
|
4
|
+
import { ToolPanelState } from '../AdaptableState/ToolPanelState';
|
|
5
5
|
import { BaseContext, CustomRenderContext } from '../types';
|
|
6
6
|
/**
|
|
7
7
|
* Options related to managing the AdapTable ToolPanel Component
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { AdaptableIcon } from '../
|
|
1
|
+
import { AdaptableIcon } from '../AdaptableState/Common/AdaptableIcon';
|
|
2
2
|
import { DateInputOptions } from './DateInputOptions';
|
|
3
|
-
import { AdaptableObjectTag } from '../
|
|
4
|
-
import { AdaptableStyle } from '../
|
|
3
|
+
import { AdaptableObjectTag } from '../AdaptableState/Common/AdaptableObject';
|
|
4
|
+
import { AdaptableStyle } from '../AdaptableState/Common/AdaptableStyle';
|
|
5
5
|
import { AlternativeModuleName, BaseContext } from '../../types';
|
|
6
6
|
/**
|
|
7
7
|
* Options for managing the User Interface of AdapTable
|
|
@@ -41,8 +41,8 @@ export interface UserInterfaceOptions<TData = any> {
|
|
|
41
41
|
*/
|
|
42
42
|
readOnlyCellStyle?: AdaptableStyle;
|
|
43
43
|
/**
|
|
44
|
-
|
|
45
|
-
|
|
44
|
+
* Style to set for Cells which have been edited
|
|
45
|
+
*/
|
|
46
46
|
editedCellStyle?: AdaptableStyle;
|
|
47
47
|
/**
|
|
48
48
|
* Optional list of CSS styles that can be used when creating Adaptable Styles in Adaptable (e.g. in Format Column and other Modules)
|
|
@@ -14,7 +14,7 @@ import { QuickSearchState } from './QuickSearchState';
|
|
|
14
14
|
import { ShortcutState } from './ShortcutState';
|
|
15
15
|
import { TeamSharingState } from './TeamSharingState';
|
|
16
16
|
import { ThemeState } from './ThemeState';
|
|
17
|
-
import {
|
|
17
|
+
import { BaseState } from './BaseState';
|
|
18
18
|
import { ApplicationState } from './ApplicationState';
|
|
19
19
|
import { ToolPanelState } from './ToolPanelState';
|
|
20
20
|
import { FlashingCellState } from './FlashingCellState';
|
|
@@ -28,7 +28,7 @@ import { CommentState } from './CommentState';
|
|
|
28
28
|
* The main state object of Adaptable
|
|
29
29
|
*/
|
|
30
30
|
export interface AdaptableState extends AdaptablePersistentState, AdaptableTransientState {
|
|
31
|
-
[s: string]:
|
|
31
|
+
[s: string]: BaseState;
|
|
32
32
|
}
|
|
33
33
|
/**
|
|
34
34
|
* The state object of Adaptable which is persisted
|
|
@@ -36,26 +36,26 @@ export interface AdaptableState extends AdaptablePersistentState, AdaptableTrans
|
|
|
36
36
|
export interface AdaptablePersistentState {
|
|
37
37
|
Application: ApplicationState;
|
|
38
38
|
Alert: AlertState;
|
|
39
|
-
FlashingCell: FlashingCellState;
|
|
40
39
|
CalculatedColumn: CalculatedColumnState;
|
|
40
|
+
Charting: ChartingState;
|
|
41
41
|
CustomSort: CustomSortState;
|
|
42
42
|
Dashboard: DashboardState;
|
|
43
43
|
Export: ExportState;
|
|
44
|
+
FlashingCell: FlashingCellState;
|
|
44
45
|
FormatColumn: FormatColumnState;
|
|
45
46
|
FreeTextColumn: FreeTextColumnState;
|
|
46
47
|
Layout: LayoutState;
|
|
47
|
-
PlusMinus: PlusMinusState;
|
|
48
48
|
NamedQuery: NamedQueryState;
|
|
49
|
+
Note: NoteState;
|
|
50
|
+
PlusMinus: PlusMinusState;
|
|
49
51
|
QuickSearch: QuickSearchState;
|
|
50
52
|
Schedule: ScheduleState;
|
|
51
|
-
StyledColumn: StyledColumnState;
|
|
52
53
|
Shortcut: ShortcutState;
|
|
53
54
|
StatusBar: StatusBarState;
|
|
55
|
+
StyledColumn: StyledColumnState;
|
|
54
56
|
TeamSharing: TeamSharingState;
|
|
55
57
|
Theme: ThemeState;
|
|
56
58
|
ToolPanel: ToolPanelState;
|
|
57
|
-
Charting: ChartingState;
|
|
58
|
-
Note: NoteState;
|
|
59
59
|
}
|
|
60
60
|
/**
|
|
61
61
|
* The state which is available in the internal Redux store but never persisted
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { BaseState } from './BaseState';
|
|
2
2
|
import { ColumnScope } from './Common/ColumnScope';
|
|
3
3
|
import { AdaptableColumnPredicate } from './Common/AdaptablePredicate';
|
|
4
4
|
import { TypeHint } from './Common/Types';
|
|
@@ -12,9 +12,9 @@ import { AdaptableAggregatedBooleanQuery, AdaptableBooleanQuery, AdaptableObserv
|
|
|
12
12
|
import { ButtonStyle } from './Common/ButtonStyle';
|
|
13
13
|
import { AlertFormContext, BaseContext, NotificationsOptions } from '../types';
|
|
14
14
|
/**
|
|
15
|
-
*
|
|
15
|
+
* Adaptable State section for Alert Module
|
|
16
16
|
*/
|
|
17
|
-
export interface AlertState extends
|
|
17
|
+
export interface AlertState extends BaseState {
|
|
18
18
|
/**
|
|
19
19
|
* Alert Definitions - will trigger Alerts when rule is met
|
|
20
20
|
*/
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { BaseState } from './BaseState';
|
|
2
2
|
/**
|
|
3
|
-
*
|
|
3
|
+
* Adaptable State Section for the Application Module
|
|
4
4
|
**/
|
|
5
|
-
export interface ApplicationState extends
|
|
5
|
+
export interface ApplicationState extends BaseState {
|
|
6
6
|
/**
|
|
7
7
|
* Array of Key / Value pairs enabling custom data to be stored in Adaptable State.
|
|
8
8
|
*/
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Base Interface for all Adaptable State objects; contains`Revision` property, used for versioning
|
|
3
3
|
*/
|
|
4
|
-
export interface
|
|
4
|
+
export interface BaseState {
|
|
5
5
|
/**
|
|
6
|
-
* Version number of the Item - allows developers to update one section in
|
|
6
|
+
* Version number of the Item - allows developers to update one section in Initial Adaptable State while keeping others unchanged
|
|
7
7
|
*/
|
|
8
8
|
Revision?: number | {
|
|
9
9
|
Key: number;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { BaseState } from './BaseState';
|
|
2
2
|
import { AdaptableObject } from './Common/AdaptableObject';
|
|
3
3
|
import { AdaptableAggregatedScalarQuery, AdaptableScalarQuery } from './Common/AdaptableQuery';
|
|
4
4
|
import { SpecialColumnSettings } from './Common/SpecialColumnSettings';
|
|
5
5
|
import { XOR } from '../Utilities/Extensions/TypeExtensions';
|
|
6
6
|
/**
|
|
7
|
-
*
|
|
7
|
+
* Adaptable State Section for Calculated Column Module
|
|
8
8
|
**/
|
|
9
|
-
export interface CalculatedColumnState extends
|
|
9
|
+
export interface CalculatedColumnState extends BaseState {
|
|
10
10
|
/**
|
|
11
11
|
* Collection of Calculated Columns
|
|
12
12
|
*/
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ChartModel } from 'ag-grid-enterprise';
|
|
2
2
|
import { AdaptableObject } from '../types';
|
|
3
|
-
import {
|
|
3
|
+
import { BaseState } from './BaseState';
|
|
4
4
|
export declare const isExternalChartDefinition: (chartDefinition: ChartDefinition | ExternalChartDefinition) => chartDefinition is ExternalChartDefinition<unknown>;
|
|
5
5
|
export declare const isAgChartDefinition: (chartDefinition: ChartDefinition | ExternalChartDefinition) => chartDefinition is ChartDefinition;
|
|
6
6
|
/**
|
|
@@ -38,7 +38,7 @@ export interface ChartDefinition extends AdaptableObject {
|
|
|
38
38
|
/**
|
|
39
39
|
* Persists AG Grid Charts in Adaptable State
|
|
40
40
|
*/
|
|
41
|
-
export interface ChartingState extends
|
|
41
|
+
export interface ChartingState extends BaseState {
|
|
42
42
|
/**
|
|
43
43
|
* Wrappers around AG Grid Chart Models
|
|
44
44
|
*/
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { CellAddress,
|
|
1
|
+
import { CellAddress, BaseState } from '../types';
|
|
2
2
|
import { TypeUuid } from './Uuid';
|
|
3
3
|
/**
|
|
4
4
|
* Internal State used for Comments Module
|
|
5
5
|
*/
|
|
6
|
-
export interface CommentState extends
|
|
6
|
+
export interface CommentState extends BaseState {
|
|
7
7
|
/**
|
|
8
8
|
* Collection of AdapTable Comments
|
|
9
9
|
*/
|
|
@@ -1,5 +1,8 @@
|
|
|
1
1
|
import { AdaptableObject } from './AdaptableObject';
|
|
2
2
|
import { BaseCellDataType } from 'ag-grid-enterprise';
|
|
3
|
+
/**
|
|
4
|
+
* Defines data type of a Column; can be an AG Grid BaseCellDataType or an AdapTable array-related one
|
|
5
|
+
*/
|
|
3
6
|
export type AdaptableColumnDataType = BaseCellDataType | 'textArray' | 'numberArray' | 'tupleArray' | 'objectArray' | 'unknown';
|
|
4
7
|
/**
|
|
5
8
|
* Column Types recognised by AdapTable; to be set in GridOptions
|
|
@@ -1,5 +1,8 @@
|
|
|
1
1
|
import { TypeUuid } from '../Uuid';
|
|
2
2
|
import { ColumnScope } from './ColumnScope';
|
|
3
|
+
/**
|
|
4
|
+
* The current version of AdapTable being used
|
|
5
|
+
*/
|
|
3
6
|
export type AdaptableVersion = `${string}.${string}.${string}`;
|
|
4
7
|
/**
|
|
5
8
|
* Base interface which all other Adaptable State-related objects extend
|
|
@@ -10,9 +13,12 @@ export interface AdaptableObject {
|
|
|
10
13
|
*/
|
|
11
14
|
Uuid?: TypeUuid;
|
|
12
15
|
/**
|
|
13
|
-
* Source of state object: '
|
|
16
|
+
* Source of state object: 'InitialState' if provided via `AdaptableOptions.initialState`, 'User' or undefined for runtime state.
|
|
17
|
+
*/
|
|
18
|
+
Source?: 'InitialState' | 'User';
|
|
19
|
+
/**
|
|
20
|
+
* Current AdapTable version
|
|
14
21
|
*/
|
|
15
|
-
Source?: 'Config' | 'User';
|
|
16
22
|
AdaptableVersion?: AdaptableVersion;
|
|
17
23
|
/**
|
|
18
24
|
* Sets Entity to ReadOnly (overwriting a Strategy Entitlement of 'Full')
|
|
@@ -104,7 +104,7 @@ export interface PredicateDefHandlerContext extends BaseContext {
|
|
|
104
104
|
* Any (optional) inputs required to perform evaluation
|
|
105
105
|
*/
|
|
106
106
|
inputs?: any[];
|
|
107
|
-
|
|
107
|
+
predicatesOperator?: ColumnFilter['PredicatesOperator'];
|
|
108
108
|
}
|
|
109
109
|
/**
|
|
110
110
|
* Inputs required for a Predicate
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import isAfter from 'date-fns
|
|
2
|
-
import isBefore from 'date-fns
|
|
3
|
-
import isEqual from 'date-fns
|
|
4
|
-
import isFuture from 'date-fns
|
|
5
|
-
import isPast from 'date-fns
|
|
6
|
-
import isSameDay from 'date-fns
|
|
7
|
-
import isThisMonth from 'date-fns
|
|
8
|
-
import isThisQuarter from 'date-fns
|
|
9
|
-
import isThisWeek from 'date-fns
|
|
10
|
-
import isThisYear from 'date-fns
|
|
11
|
-
import isToday from 'date-fns
|
|
12
|
-
import isTomorrow from 'date-fns
|
|
13
|
-
import isYesterday from 'date-fns
|
|
1
|
+
import { isAfter } from 'date-fns';
|
|
2
|
+
import { isBefore } from 'date-fns';
|
|
3
|
+
import { isEqual } from 'date-fns';
|
|
4
|
+
import { isFuture } from 'date-fns';
|
|
5
|
+
import { isPast } from 'date-fns';
|
|
6
|
+
import { isSameDay } from 'date-fns';
|
|
7
|
+
import { isThisMonth } from 'date-fns';
|
|
8
|
+
import { isThisQuarter } from 'date-fns';
|
|
9
|
+
import { isThisWeek } from 'date-fns';
|
|
10
|
+
import { isThisYear } from 'date-fns';
|
|
11
|
+
import { isToday } from 'date-fns';
|
|
12
|
+
import { isTomorrow } from 'date-fns';
|
|
13
|
+
import { isYesterday } from 'date-fns';
|
|
14
14
|
import StringExtensions from '../../Utilities/Extensions/StringExtensions';
|
|
15
15
|
import { parseDateValue } from '../../Utilities/Helpers/DateHelper';
|
|
16
16
|
import Helper from '../../Utilities/Helpers/Helper';
|
|
@@ -25,8 +25,8 @@ export const SystemPredicateDefs = [
|
|
|
25
25
|
columnScope: { DataTypes: ['text', 'number', 'date'] },
|
|
26
26
|
moduleScope: ['columnFilter', 'flashingcell', 'formatColumn', 'alert', 'badgeStyle'],
|
|
27
27
|
handler: (context) => {
|
|
28
|
-
const { inputs, column, value, adaptableApi } = context;
|
|
29
|
-
const predicateInputs = context.inputs.reduce((acc, input) => {
|
|
28
|
+
const { inputs = [], column, value, adaptableApi } = context;
|
|
29
|
+
const predicateInputs = (context.inputs || []).reduce((acc, input) => {
|
|
30
30
|
const predicate = adaptableApi.predicateApi.getPredicateDefById(input);
|
|
31
31
|
if (predicate) {
|
|
32
32
|
acc.push(predicate);
|
|
@@ -2,10 +2,16 @@
|
|
|
2
2
|
* Defines which Columns in a Layout display Aggregated values when Row-Grouped
|
|
3
3
|
*/
|
|
4
4
|
export type AggregationColumnValue = string | true | WeightedAverageAggregation;
|
|
5
|
+
/**
|
|
6
|
+
* Defines an Aggregated Column in a Table Layout
|
|
7
|
+
*/
|
|
5
8
|
export type TableAggregationColumns = {
|
|
6
9
|
ColumnId: string;
|
|
7
10
|
AggFunc: AggregationColumnValue;
|
|
8
11
|
}[];
|
|
12
|
+
/**
|
|
13
|
+
* Defines an Aggregated Column in a Pivot Layout
|
|
14
|
+
*/
|
|
9
15
|
export type PivotAggregationColumns = TableAggregationColumns;
|
|
10
16
|
export declare const WEIGHTED_AVERAGE_AGG_FN_NAME = "weightedAvg";
|
|
11
17
|
/**
|