@adaptabletools/adaptable 20.0.0-canary.8 → 20.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 +1294 -899
- package/base.css.map +1 -1
- package/index.css +433 -899
- 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 +1 -1
- package/src/AdaptableOptions/ContextMenuOptions.d.ts +1 -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 +28 -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/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/AdaptableObject.d.ts +2 -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/ColumnFilter.d.ts +6 -2
- 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 +3 -3
- package/src/{PredefinedConfig → AdaptableState}/FlashingCellState.d.ts +10 -10
- 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 +199 -0
- package/src/{PredefinedConfig → AdaptableState}/InternalState.d.ts +1 -1
- package/src/{PredefinedConfig → AdaptableState}/LayoutState.d.ts +4 -4
- 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 +2 -2
- 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/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 -5
- 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/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/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 +1 -2
- 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/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/ThemePopup.d.ts +1 -1
- 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 +46 -14
- package/src/agGrid/AdaptableLogger.d.ts +1 -1
- package/src/agGrid/AgGridAdapter.d.ts +3 -3
- package/src/agGrid/AgGridAdapter.js +11 -33
- package/src/agGrid/AgGridColumnAdapter.d.ts +3 -3
- package/src/agGrid/AgGridColumnAdapter.js +4 -4
- 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/FilterWrapper.js +64 -35
- package/src/agGrid/FloatingFilterWrapper.js +13 -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/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/metamodel/adaptable.metamodel.d.ts +32 -33
- package/src/metamodel/adaptable.metamodel.js +1 -1
- package/src/migration/AdaptableUpgradeHelper.d.ts +1 -1
- 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 +71 -12
- 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.d.ts +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.d.ts +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.d.ts +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,8 +1,6 @@
|
|
|
1
1
|
import * as ExportRedux from '../../Redux/ActionsReducers/ExportRedux';
|
|
2
2
|
import { ApiBase } from './ApiBase';
|
|
3
3
|
import * as ModuleConstants from '../../Utilities/Constants/ModuleConstants';
|
|
4
|
-
import ObjectFactory from '../../Utilities/ObjectFactory';
|
|
5
|
-
import ArrayExtensions from '../../Utilities/Extensions/ArrayExtensions';
|
|
6
4
|
import { ExportInternalApi } from '../Internal/ExportInternalApi';
|
|
7
5
|
import { EMPTY_STRING } from '../../Utilities/Constants/GeneralConstants';
|
|
8
6
|
export class ExportApiImpl extends ApiBase {
|
|
@@ -29,10 +27,6 @@ export class ExportApiImpl extends ApiBase {
|
|
|
29
27
|
if (customReport) {
|
|
30
28
|
return customReport;
|
|
31
29
|
}
|
|
32
|
-
const externalReport = this.getExternalReports()?.find((r) => r.name == reportName);
|
|
33
|
-
if (externalReport) {
|
|
34
|
-
return ObjectFactory.CreateExternalReport(externalReport.name);
|
|
35
|
-
}
|
|
36
30
|
}
|
|
37
31
|
getReportById(id) {
|
|
38
32
|
return this.getAllReports()?.find((report) => report.Uuid === id);
|
|
@@ -74,12 +68,6 @@ export class ExportApiImpl extends ApiBase {
|
|
|
74
68
|
const reports = this.getAvailableSystemReports()
|
|
75
69
|
.map((s) => this.getReportByName(s))
|
|
76
70
|
.concat(this.getExportState().Reports);
|
|
77
|
-
const externalReports = this.getExternalReports();
|
|
78
|
-
if (ArrayExtensions.IsNotNullOrEmpty(externalReports)) {
|
|
79
|
-
reports.push(...externalReports.map((c) => {
|
|
80
|
-
return ObjectFactory.CreateExternalReport(c.name);
|
|
81
|
-
}));
|
|
82
|
-
}
|
|
83
71
|
return reports;
|
|
84
72
|
}
|
|
85
73
|
selectReport(reportName) {
|
|
@@ -126,12 +114,6 @@ export class ExportApiImpl extends ApiBase {
|
|
|
126
114
|
getCustomReports() {
|
|
127
115
|
return this.getExportState().Reports ?? [];
|
|
128
116
|
}
|
|
129
|
-
getExternalReports() {
|
|
130
|
-
return this.getExportOptions().externalReports ?? [];
|
|
131
|
-
}
|
|
132
|
-
isExternalReport(report) {
|
|
133
|
-
return this.getExternalReports()?.find((cr) => cr.name == report.Name) != null;
|
|
134
|
-
}
|
|
135
117
|
isColumnExportable(adaptableColumn) {
|
|
136
118
|
const isExportableFn = this.getExportOptions().isColumnExportable;
|
|
137
119
|
if (typeof isExportableFn === 'function') {
|
|
@@ -157,51 +139,73 @@ export class ExportApiImpl extends ApiBase {
|
|
|
157
139
|
return true;
|
|
158
140
|
});
|
|
159
141
|
}
|
|
160
|
-
exportReport(reportName, format, destination = 'Download') {
|
|
142
|
+
async exportReport(reportName, format, destination = 'Download') {
|
|
161
143
|
let report = this.getReportByName(reportName);
|
|
162
|
-
if (this.checkItemExists(report, reportName, 'Report')) {
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
return;
|
|
176
|
-
}
|
|
177
|
-
this._adaptable.agGridExportAdapter
|
|
178
|
-
.exportData({
|
|
144
|
+
if (!this.checkItemExists(report, reportName, 'Report')) {
|
|
145
|
+
return;
|
|
146
|
+
}
|
|
147
|
+
this.logInfo(`Start Export of ${reportName} in format ${format} to ${destination}`);
|
|
148
|
+
const processExportResult = await this.processExport(report, format, destination);
|
|
149
|
+
// if FALSE, cancel export
|
|
150
|
+
if (!processExportResult) {
|
|
151
|
+
this.logInfo(`Cancel Export of ${reportName}`);
|
|
152
|
+
return;
|
|
153
|
+
}
|
|
154
|
+
// if TRUE, continue with standard export
|
|
155
|
+
if (processExportResult === true) {
|
|
156
|
+
const exportedReport = await this._adaptable.agGridExportAdapter.exportData({
|
|
179
157
|
report,
|
|
180
158
|
format,
|
|
181
159
|
destination,
|
|
182
160
|
showProgressIndicator: true,
|
|
183
|
-
})
|
|
184
|
-
.then((reportResult) => {
|
|
185
|
-
if (destination === 'Download' &&
|
|
186
|
-
(format === 'Excel' || format === 'VisualExcel' || format === 'Csv')) {
|
|
187
|
-
return;
|
|
188
|
-
}
|
|
189
|
-
this.internalApi.sendReportToDestination(reportResult, report, format, destination);
|
|
190
161
|
});
|
|
162
|
+
if (destination === 'Download' &&
|
|
163
|
+
(format === 'Excel' || format === 'VisualExcel' || format === 'Csv')) {
|
|
164
|
+
return;
|
|
165
|
+
}
|
|
166
|
+
this.internalApi.sendReportToDestination(exportedReport, report, format, destination);
|
|
191
167
|
}
|
|
168
|
+
else {
|
|
169
|
+
// in this case the user has returned a custom ExportResultData object
|
|
170
|
+
const userProcessedExportResult = processExportResult;
|
|
171
|
+
if (!userProcessedExportResult) {
|
|
172
|
+
this.logWarn(`Processing of Export ${reportName} to ${destination} returned null or undefined`);
|
|
173
|
+
return;
|
|
174
|
+
}
|
|
175
|
+
this.internalApi.sendReportToDestination(userProcessedExportResult, report, format, destination);
|
|
176
|
+
}
|
|
177
|
+
this.logInfo(`Finished Export of ${reportName} in format ${format} to ${destination}`);
|
|
192
178
|
}
|
|
193
179
|
async getReportData(reportName, format) {
|
|
194
180
|
let report = this.getReportByName(reportName);
|
|
195
|
-
if (this.checkItemExists(report, reportName, 'Report')) {
|
|
196
|
-
|
|
197
|
-
|
|
181
|
+
if (!this.checkItemExists(report, reportName, 'Report')) {
|
|
182
|
+
return;
|
|
183
|
+
}
|
|
184
|
+
this.logInfo(`Start getting Report Data for ${reportName} in format ${format}`);
|
|
185
|
+
const processExportResult = await this.processExport(report, format, 'Clipboard');
|
|
186
|
+
let reportData;
|
|
187
|
+
// handle Export processing
|
|
188
|
+
if (typeof processExportResult?.type === 'string') {
|
|
189
|
+
reportData = processExportResult;
|
|
190
|
+
}
|
|
191
|
+
else {
|
|
192
|
+
reportData = await this._adaptable.agGridExportAdapter.exportData({
|
|
198
193
|
report,
|
|
199
194
|
format,
|
|
200
195
|
destination: 'Clipboard',
|
|
201
196
|
showProgressIndicator: false,
|
|
202
197
|
});
|
|
203
|
-
this.logInfo(`Finished getting Report Data for ${reportName} in format ${format}`);
|
|
204
|
-
return reportData;
|
|
205
198
|
}
|
|
199
|
+
this.logInfo(`Finished getting Report Data for ${reportName} in format ${format}`);
|
|
200
|
+
return reportData;
|
|
201
|
+
}
|
|
202
|
+
async processExport(report, format, destination) {
|
|
203
|
+
const processExportFn = this.getExportOptions().processExport;
|
|
204
|
+
if (!processExportFn) {
|
|
205
|
+
return true;
|
|
206
|
+
}
|
|
207
|
+
this.logInfo(`Process Export of ${report.Name} in format ${format} to ${destination}`);
|
|
208
|
+
const processExportContext = this.internalApi.buildProcessExportContext(report, format, destination);
|
|
209
|
+
return processExportFn(processExportContext);
|
|
206
210
|
}
|
|
207
211
|
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { ApiBase } from './ApiBase';
|
|
2
|
-
import { AdaptableModule } from '../../
|
|
2
|
+
import { AdaptableModule } from '../../AdaptableState/Common/Types';
|
|
3
3
|
import { ExpressionApi } from '../ExpressionApi';
|
|
4
|
-
import { AdaptableQuery } from '../../
|
|
5
|
-
import { AdaptableColumn } from '../../
|
|
4
|
+
import { AdaptableQuery } from '../../AdaptableState/Common/AdaptableQuery';
|
|
5
|
+
import { AdaptableColumn } from '../../AdaptableState/Common/AdaptableColumn';
|
|
6
6
|
import { IAdaptable } from '../../AdaptableInterfaces/IAdaptable';
|
|
7
7
|
import { ExpressionInternalApi } from '../Internal/ExpressionInternalApi';
|
|
8
8
|
export declare class ExpressionApiImpl extends ApiBase implements ExpressionApi {
|
|
@@ -60,7 +60,7 @@ export class ExpressionApiImpl extends ApiBase {
|
|
|
60
60
|
return Array.from(new Set(columnIds));
|
|
61
61
|
}
|
|
62
62
|
catch (error) {
|
|
63
|
-
// defensive programing, this should happen only if someone botched
|
|
63
|
+
// defensive programing, this should happen only if someone botched Initial Adaptable State
|
|
64
64
|
this.logWarn(`QueryApi.getColumnsFromExpressionInvalid received an invalid expression: ${expression}
|
|
65
65
|
Error: ${error}`);
|
|
66
66
|
return [];
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ApiBase } from './ApiBase';
|
|
2
2
|
import { Fdc3InternalApi } from '../Internal/Fdc3InternalApi';
|
|
3
|
-
import { ContextConfiguration } from '../../
|
|
3
|
+
import { ContextConfiguration } from '../../AdaptableState/Common/Fdc3Context';
|
|
4
4
|
export class Fdc3ApiImpl extends ApiBase {
|
|
5
5
|
constructor(_adaptable) {
|
|
6
6
|
super(_adaptable);
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { ApiBase, LayoutAssociatedObjectLoadConfig } from './ApiBase';
|
|
2
|
-
import { AdaptableFlashingCell } from '../../
|
|
2
|
+
import { AdaptableFlashingCell } from '../../AdaptableState/Common/AdaptableFlashingCell';
|
|
3
3
|
import { FlashingCellApi } from '../FlashingCellApi';
|
|
4
|
-
import { FlashingCellDefinition, FlashingCellState } from '../../
|
|
5
|
-
import { AdaptablePredicateDef } from '../../
|
|
6
|
-
import { ColumnScope } from '../../
|
|
4
|
+
import { FlashingCellDefinition, FlashingCellState } from '../../AdaptableState/FlashingCellState';
|
|
5
|
+
import { AdaptablePredicateDef } from '../../AdaptableState/Common/AdaptablePredicate';
|
|
6
|
+
import { ColumnScope } from '../../AdaptableState/Common/ColumnScope';
|
|
7
7
|
import { FlashingCellInternalApi } from '../Internal/FlashingCellInternalApi';
|
|
8
8
|
import { IAdaptable } from '../../AdaptableInterfaces/IAdaptable';
|
|
9
9
|
import { AdaptableObjectLookupCriteria } from '../../types';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { AdaptableStyle } from '../../
|
|
1
|
+
import { AdaptableStyle } from '../../AdaptableState/Common/AdaptableStyle';
|
|
2
2
|
import { ApiBase } from './ApiBase';
|
|
3
3
|
import { FormatColumnApi } from '../FormatColumnApi';
|
|
4
|
-
import { FormatColumn, FormatColumnState } from '../../
|
|
5
|
-
import { AdaptableColumn } from '../../
|
|
4
|
+
import { FormatColumn, FormatColumnState } from '../../AdaptableState/FormatColumnState';
|
|
5
|
+
import { AdaptableColumn } from '../../AdaptableState/Common/AdaptableColumn';
|
|
6
6
|
import { AdaptableFormat } from '../../types';
|
|
7
7
|
import { AdaptableObjectLookupCriteria } from '../../../types';
|
|
8
8
|
import { FormatColumnInternalApi } from '../Internal/FormatColumnInternalApi';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ApiBase } from './ApiBase';
|
|
2
2
|
import { FreeTextColumnApi } from '../FreeTextColumnApi';
|
|
3
|
-
import { FreeTextColumn, FreeTextColumnState, FreeTextStoredValue } from '../../
|
|
3
|
+
import { FreeTextColumn, FreeTextColumnState, FreeTextStoredValue } from '../../AdaptableState/FreeTextColumnState';
|
|
4
4
|
import { IRowNode } from 'ag-grid-enterprise';
|
|
5
5
|
import { IAdaptable } from '../../AdaptableInterfaces/IAdaptable';
|
|
6
6
|
import { FreeTextColumnInternalApi } from '../Internal/FreeTextColumnInternalApi';
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import { ApiBase } from './ApiBase';
|
|
2
2
|
import { ColDefWithId, GridApi } from '../GridApi';
|
|
3
|
-
import { SelectedCellInfo } from '../../
|
|
4
|
-
import { SelectedRowInfo } from '../../
|
|
5
|
-
import { CellUpdateRequest, GridCell } from '../../
|
|
6
|
-
import { ColumnSort } from '../../
|
|
7
|
-
import { DataUpdateConfig } from '../../
|
|
8
|
-
import { CellHighlightInfo } from '../../
|
|
9
|
-
import { RowHighlightInfo } from '../../
|
|
3
|
+
import { SelectedCellInfo } from '../../AdaptableState/Selection/SelectedCellInfo';
|
|
4
|
+
import { SelectedRowInfo } from '../../AdaptableState/Selection/SelectedRowInfo';
|
|
5
|
+
import { CellUpdateRequest, GridCell } from '../../AdaptableState/Selection/GridCell';
|
|
6
|
+
import { ColumnSort } from '../../AdaptableState/Common/ColumnSort';
|
|
7
|
+
import { DataUpdateConfig } from '../../AdaptableState/Common/DataUpdateConfig';
|
|
8
|
+
import { CellHighlightInfo } from '../../AdaptableState/Common/CellHighlightInfo';
|
|
9
|
+
import { RowHighlightInfo } from '../../AdaptableState/Common/RowHighlightInfo';
|
|
10
10
|
import { ColDef, ColGroupDef, Column, ColumnState, IRowNode, RowModelType } from 'ag-grid-enterprise';
|
|
11
|
-
import { GridCellRange } from '../../
|
|
12
|
-
import { CellDataChangedInfo } from '../../
|
|
13
|
-
import { RowsHighlightInfo } from '../../
|
|
11
|
+
import { GridCellRange } from '../../AdaptableState/Selection/GridCellRange';
|
|
12
|
+
import { CellDataChangedInfo } from '../../AdaptableState/Common/CellDataChangedInfo';
|
|
13
|
+
import { RowsHighlightInfo } from '../../AdaptableState/Common/RowsHighlightInfo';
|
|
14
14
|
import { AdaptableVariant, IAdaptable } from '../../AdaptableInterfaces/IAdaptable';
|
|
15
15
|
import { GridInternalApi } from '../Internal/GridInternalApi';
|
|
16
|
-
import { TransposeConfig } from '../../
|
|
16
|
+
import { TransposeConfig } from '../../AdaptableState/Common/TransposeConfig';
|
|
17
17
|
import { CellSummmaryInfo } from '../../types';
|
|
18
|
-
import { InternalState } from '../../
|
|
18
|
+
import { InternalState } from '../../AdaptableState/InternalState';
|
|
19
19
|
export declare class GridApiImpl extends ApiBase implements GridApi {
|
|
20
20
|
internalApi: GridInternalApi;
|
|
21
21
|
constructor(_adaptable: IAdaptable);
|
|
@@ -4,7 +4,7 @@ import * as ModuleConstants from '../../Utilities/Constants/ModuleConstants';
|
|
|
4
4
|
import { GridInternalApi } from '../Internal/GridInternalApi';
|
|
5
5
|
import ArrayExtensions from '../../Utilities/Extensions/ArrayExtensions';
|
|
6
6
|
import { WINDOW_SHOW_TRANSPOSED_VIEW } from '../../View/Components/Popups/WindowPopups/windowFactory';
|
|
7
|
-
import { ROW_SUMMARY_ROW_ID } from '../../
|
|
7
|
+
import { ROW_SUMMARY_ROW_ID } from '../../AdaptableState/Common/RowSummary';
|
|
8
8
|
import { errorOnce } from '../../agGrid/AdaptableLogger';
|
|
9
9
|
export class GridApiImpl extends ApiBase {
|
|
10
10
|
constructor(_adaptable) {
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { ApiBase } from './ApiBase';
|
|
2
2
|
import { LayoutApi } from '../LayoutApi';
|
|
3
|
-
import { Layout, LayoutState, PivotLayout, TableLayout } from '../../
|
|
4
|
-
import { AdaptableColumn } from '../../
|
|
5
|
-
import { ColumnSort } from '../../
|
|
3
|
+
import { Layout, LayoutState, PivotLayout, TableLayout } from '../../AdaptableState/LayoutState';
|
|
4
|
+
import { AdaptableColumn } from '../../AdaptableState/Common/AdaptableColumn';
|
|
5
|
+
import { ColumnSort } from '../../AdaptableState/Common/ColumnSort';
|
|
6
6
|
import { ModuleParams } from '../../View/Components/SharedProps/ModuleViewPopupProps';
|
|
7
7
|
import { IAdaptable } from '../../AdaptableInterfaces/IAdaptable';
|
|
8
8
|
import { LayoutInternalApi } from '../Internal/LayoutInternalApi';
|
|
9
|
-
import { ExtendedLayoutInfo } from '../../
|
|
9
|
+
import { ExtendedLayoutInfo } from '../../AdaptableState/Common/ExtendedLayoutInfo';
|
|
10
10
|
export declare class LayoutApiImpl extends ApiBase implements LayoutApi {
|
|
11
11
|
internalApi: LayoutInternalApi;
|
|
12
12
|
constructor(_adaptable: IAdaptable);
|
|
@@ -5,7 +5,7 @@ import { ApiBase } from './ApiBase';
|
|
|
5
5
|
import StringExtensions from '../../Utilities/Extensions/StringExtensions';
|
|
6
6
|
import ObjectFactory from '../../Utilities/ObjectFactory';
|
|
7
7
|
import Helper from '../../Utilities/Helpers/Helper';
|
|
8
|
-
import { createUuid } from '../../
|
|
8
|
+
import { createUuid } from '../../AdaptableState/Uuid';
|
|
9
9
|
import { PopupShowPrompt } from '../../Redux/ActionsReducers/PopupRedux';
|
|
10
10
|
import { LayoutInternalApi } from '../Internal/LayoutInternalApi';
|
|
11
11
|
import { isPivotLayout, normalizeLayout } from './LayoutHelpers';
|
|
@@ -2,7 +2,7 @@ import isEqual from 'lodash/isEqual';
|
|
|
2
2
|
import { isPivotLayoutModel } from '../../layout-manager/src/isPivotLayoutModel';
|
|
3
3
|
import { normalizeTableLayoutModel, normalizePivotLayoutModel, } from '../../layout-manager/src/normalizeLayoutModel';
|
|
4
4
|
import { simplifyTableLayoutModel, simplifyPivotLayoutModel, } from '../../layout-manager/src/simplifyLayoutModel';
|
|
5
|
-
import { isWeightedAverageAggregation, WEIGHTED_AVERAGE_AGG_FN_NAME, isWeightedAverageAggFuncName, } from '../../
|
|
5
|
+
import { isWeightedAverageAggregation, WEIGHTED_AVERAGE_AGG_FN_NAME, isWeightedAverageAggFuncName, } from '../../AdaptableState/Common/AggregationColumns';
|
|
6
6
|
import { removeAdaptableObjectPrimitivesInline } from '../../Utilities/Helpers/AdaptableHelper';
|
|
7
7
|
export const layoutStateToLayoutModel = (layout) => {
|
|
8
8
|
if (isPivotLayout(layout)) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ApiBase } from './ApiBase';
|
|
2
2
|
import { NoteApi } from '../NoteApi';
|
|
3
|
-
import { AdaptableNote, AdaptableNotes, NoteState } from '../../
|
|
3
|
+
import { AdaptableNote, AdaptableNotes, NoteState } from '../../AdaptableState/NoteState';
|
|
4
4
|
import { IAdaptable } from '../../AdaptableInterfaces/IAdaptable';
|
|
5
5
|
import { NoteInternalApi } from '../Internal/NoteInternalApi';
|
|
6
6
|
import { CellAddress } from '../../types';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ApiBase, LayoutAssociatedObjectLoadConfig } from './ApiBase';
|
|
2
|
-
import { PlusMinusNudge, PlusMinusState } from '../../
|
|
2
|
+
import { PlusMinusNudge, PlusMinusState } from '../../AdaptableState/PlusMinusState';
|
|
3
3
|
import { PlusMinusApi } from '../PlusMinusApi';
|
|
4
|
-
import { CellUpdateRequest, GridCell } from '../../
|
|
4
|
+
import { CellUpdateRequest, GridCell } from '../../AdaptableState/Selection/GridCell';
|
|
5
5
|
export declare class PlusMinusApiImpl extends ApiBase implements PlusMinusApi {
|
|
6
6
|
getPlusMinusState(): PlusMinusState;
|
|
7
7
|
getAllPlusMinus(config?: LayoutAssociatedObjectLoadConfig): PlusMinusNudge[];
|
|
@@ -2,7 +2,7 @@ import { ApiBase } from './ApiBase';
|
|
|
2
2
|
import ArrayExtensions from '../../Utilities/Extensions/ArrayExtensions';
|
|
3
3
|
import StringExtensions from '../../Utilities/Extensions/StringExtensions';
|
|
4
4
|
import { PredicateInternalApi } from '../Internal/PredicateInternalApi';
|
|
5
|
-
import { SystemPredicateDefs } from '../../
|
|
5
|
+
import { SystemPredicateDefs } from '../../AdaptableState/Common/AdaptablePredicate';
|
|
6
6
|
export class PredicateApiImpl extends ApiBase {
|
|
7
7
|
constructor(_adaptable) {
|
|
8
8
|
super(_adaptable);
|
|
@@ -117,7 +117,7 @@ export class PredicateApiImpl extends ApiBase {
|
|
|
117
117
|
if (predicates === undefined || predicates === null || predicates?.length === 0) {
|
|
118
118
|
return this.handlePredicate(undefined, params, defaultReturn);
|
|
119
119
|
}
|
|
120
|
-
if (params.
|
|
120
|
+
if (params.predicatesOperator && params.predicatesOperator === 'OR') {
|
|
121
121
|
return predicates?.some((p) => this.handlePredicate(p, params, defaultReturn));
|
|
122
122
|
}
|
|
123
123
|
return predicates?.every((p) => this.handlePredicate(p, params, defaultReturn));
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { AdaptableStyle } from '../../
|
|
1
|
+
import { AdaptableStyle } from '../../AdaptableState/Common/AdaptableStyle';
|
|
2
2
|
import { ApiBase } from './ApiBase';
|
|
3
3
|
import { QuickSearchApi } from '../QuickSearchApi';
|
|
4
|
-
import { QuickSearchState } from '../../
|
|
4
|
+
import { QuickSearchState } from '../../AdaptableState/QuickSearchState';
|
|
5
5
|
export declare class QuickSearchApiImpl extends ApiBase implements QuickSearchApi {
|
|
6
6
|
getQuickSearchState(): QuickSearchState;
|
|
7
7
|
runQuickSearch(quickSearchText: string): void;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { ApiBase } from './ApiBase';
|
|
2
2
|
import { ScheduleApi } from '../ScheduleApi';
|
|
3
|
-
import { BaseSchedule } from '../../
|
|
4
|
-
import { ReportSchedule } from '../../
|
|
5
|
-
import { IPushPullSchedule } from '../../
|
|
6
|
-
import { OpenFinSchedule } from '../../
|
|
7
|
-
import { ReminderSchedule, ScheduleState } from '../../
|
|
3
|
+
import { BaseSchedule } from '../../AdaptableState/Common/Schedule';
|
|
4
|
+
import { ReportSchedule } from '../../AdaptableState/ExportState';
|
|
5
|
+
import { IPushPullSchedule } from '../../AdaptableState/IPushPullState';
|
|
6
|
+
import { OpenFinSchedule } from '../../AdaptableState/OpenFinState';
|
|
7
|
+
import { ReminderSchedule, ScheduleState } from '../../AdaptableState/ScheduleState';
|
|
8
8
|
import { IAdaptable } from '../../AdaptableInterfaces/IAdaptable';
|
|
9
9
|
export declare class ScheduleApiImpl extends ApiBase implements ScheduleApi {
|
|
10
10
|
constructor(_adaptable: IAdaptable);
|
|
@@ -2,7 +2,9 @@ import { ApiBase } from './ApiBase';
|
|
|
2
2
|
import * as PopupRedux from '../../Redux/ActionsReducers/PopupRedux';
|
|
3
3
|
export class SettingsPanelApiImpl extends ApiBase {
|
|
4
4
|
openSettingsPanel(moduleName) {
|
|
5
|
-
const moduleInfo = this.getAdaptableInternalApi()
|
|
5
|
+
const moduleInfo = this.getAdaptableInternalApi()
|
|
6
|
+
.getModuleService()
|
|
7
|
+
.getModuleInfoByModule(moduleName);
|
|
6
8
|
if (!moduleInfo) {
|
|
7
9
|
this.logError(`${moduleName} module does not exist`);
|
|
8
10
|
return;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ApiBase } from './ApiBase';
|
|
2
2
|
import { ShortcutApi } from '../ShortcutApi';
|
|
3
|
-
import { Shortcut, ShortcutState } from '../../
|
|
3
|
+
import { Shortcut, ShortcutState } from '../../AdaptableState/ShortcutState';
|
|
4
4
|
export declare class ShortcutApiImpl extends ApiBase implements ShortcutApi {
|
|
5
5
|
getShortcutState(): ShortcutState;
|
|
6
6
|
getShortcuts(config?: {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ApiBase } from './ApiBase';
|
|
2
|
-
import { MathOperation } from '../../
|
|
2
|
+
import { MathOperation } from '../../AdaptableState/Common/Enums';
|
|
3
3
|
import { SmartEditApi } from '../SmartEditApi';
|
|
4
4
|
import { SmartEditCustomOperation, SmartEditOperation } from '../../AdaptableOptions/EditOptions';
|
|
5
5
|
export declare class SmartEditApiImpl extends ApiBase implements SmartEditApi {
|
|
@@ -1,47 +1,49 @@
|
|
|
1
|
-
import { ThemeState } from '../../
|
|
2
|
-
import { ShortcutState } from '../../
|
|
3
|
-
import { QuickSearchState } from '../../
|
|
4
|
-
import { PlusMinusState } from '../../
|
|
5
|
-
import { LayoutState } from '../../
|
|
6
|
-
import { FormatColumnState } from '../../
|
|
7
|
-
import { ExportState } from '../../
|
|
8
|
-
import { DashboardState } from '../../
|
|
9
|
-
import { CustomSortState } from '../../
|
|
10
|
-
import { CalculatedColumnState } from '../../
|
|
11
|
-
import { AlertState } from '../../
|
|
12
|
-
import {
|
|
13
|
-
import { AdaptablePersistentState, AdaptableState } from '../../
|
|
1
|
+
import { ThemeState } from '../../AdaptableState/ThemeState';
|
|
2
|
+
import { ShortcutState } from '../../AdaptableState/ShortcutState';
|
|
3
|
+
import { QuickSearchState } from '../../AdaptableState/QuickSearchState';
|
|
4
|
+
import { PlusMinusState } from '../../AdaptableState/PlusMinusState';
|
|
5
|
+
import { LayoutState } from '../../AdaptableState/LayoutState';
|
|
6
|
+
import { FormatColumnState } from '../../AdaptableState/FormatColumnState';
|
|
7
|
+
import { ExportState } from '../../AdaptableState/ExportState';
|
|
8
|
+
import { DashboardState } from '../../AdaptableState/DashboardState';
|
|
9
|
+
import { CustomSortState } from '../../AdaptableState/CustomSortState';
|
|
10
|
+
import { CalculatedColumnState } from '../../AdaptableState/CalculatedColumnState';
|
|
11
|
+
import { AlertState } from '../../AdaptableState/AlertState';
|
|
12
|
+
import { BaseState } from '../../AdaptableState/BaseState';
|
|
13
|
+
import { AdaptablePersistentState, AdaptableState } from '../../AdaptableState/AdaptableState';
|
|
14
14
|
import { ApiBase } from './ApiBase';
|
|
15
|
-
import { ApplicationState } from '../../
|
|
16
|
-
import { FreeTextColumnState } from '../../
|
|
17
|
-
import { ToolPanelState } from '../../
|
|
18
|
-
import {
|
|
19
|
-
import { AdaptableModule, AdaptableStateKey } from '../../
|
|
20
|
-
import { AdaptableOptions, AdaptableSearchState, AdaptableSortState, FlashingCellState, NamedQueryState, ScheduleState, StatusBarState, StyledColumnState } from '../../types';
|
|
21
|
-
import { PredefinedConfig } from '../../
|
|
22
|
-
import { ChartingState } from '../../
|
|
23
|
-
import { NoteState } from '../../
|
|
24
|
-
export declare class
|
|
15
|
+
import { ApplicationState } from '../../AdaptableState/ApplicationState';
|
|
16
|
+
import { FreeTextColumnState } from '../../AdaptableState/FreeTextColumnState';
|
|
17
|
+
import { ToolPanelState } from '../../AdaptableState/ToolPanelState';
|
|
18
|
+
import { StateApi } from '../StateApi';
|
|
19
|
+
import { AdaptableModule, AdaptableStateKey } from '../../AdaptableState/Common/Types';
|
|
20
|
+
import { AdaptableOptions, AdaptableSearchState, AdaptableSortState, FlashingCellState, InitialState, NamedQueryState, ScheduleState, StatusBarState, StyledColumnState } from '../../types';
|
|
21
|
+
import { PredefinedConfig } from '../../AdaptableState/InitialState';
|
|
22
|
+
import { ChartingState } from '../../AdaptableState/ChartingState';
|
|
23
|
+
import { NoteState } from '../../AdaptableState/NoteState';
|
|
24
|
+
export declare class StateApiImpl extends ApiBase implements StateApi {
|
|
25
25
|
configInit(): void;
|
|
26
26
|
copyAllStateToClipboard(): void;
|
|
27
27
|
copyUserStateToClipboard(): void;
|
|
28
28
|
getPredefinedConfig(): PredefinedConfig | any;
|
|
29
|
+
getInitialState(): InitialState | any;
|
|
29
30
|
reloadPredefinedConfig(newPredefinedConfig?: PredefinedConfig): void;
|
|
31
|
+
reloadInitialState(newInitialState?: InitialState): void;
|
|
30
32
|
getAllState(): AdaptableState;
|
|
31
33
|
getPersistedState(): AdaptablePersistentState;
|
|
32
|
-
getAllUserState():
|
|
33
|
-
loadUserState(state:
|
|
34
|
+
getAllUserState(): BaseState[];
|
|
35
|
+
loadUserState(state: InitialState): void;
|
|
34
36
|
getAdaptableSearchState(): AdaptableSearchState;
|
|
35
37
|
getAdaptableSortState(): AdaptableSortState;
|
|
36
38
|
getAdaptableOptions(): Readonly<AdaptableOptions>;
|
|
37
39
|
setAdaptableStateKey(adaptableStateKey: string, config?: {
|
|
38
|
-
|
|
40
|
+
initialState?: InitialState;
|
|
39
41
|
flushCurrentState?: boolean;
|
|
40
42
|
progressIndicatorLabel?: string;
|
|
41
43
|
}): Promise<void>;
|
|
42
44
|
getDescriptionForModule(module: AdaptableModule): string;
|
|
43
45
|
getHelpPageForModule(module: AdaptableModule): string;
|
|
44
|
-
getUserStateByStateKey(stateKey: AdaptableStateKey, returnJson?: boolean):
|
|
46
|
+
getUserStateByStateKey(stateKey: AdaptableStateKey, returnJson?: boolean): BaseState | string;
|
|
45
47
|
incrementUserStateRevision(stateKey: AdaptableStateKey): void;
|
|
46
48
|
getAlertState(returnJson?: boolean): AlertState;
|
|
47
49
|
getApplicationState(returnJson?: boolean): ApplicationState;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { InitState } from '../../Redux/Store/AdaptableStore';
|
|
2
2
|
import { ApiBase } from './ApiBase';
|
|
3
3
|
import Helper from '../../Utilities/Helpers/Helper';
|
|
4
|
-
import {
|
|
4
|
+
import { addUuidsToInitialState } from '../../Utilities/Helpers/AdaptableHelper';
|
|
5
5
|
import * as LayoutRedux from '../../Redux/ActionsReducers/LayoutRedux';
|
|
6
6
|
import * as DashboardRedux from '../../Redux/ActionsReducers/DashboardRedux';
|
|
7
7
|
import * as AlertRedux from '../../Redux/ActionsReducers/AlertRedux';
|
|
@@ -22,7 +22,8 @@ import * as SystemStatusRedux from '../../Redux/ActionsReducers/SystemStatusRedu
|
|
|
22
22
|
import * as SmartEditRedux from '../../Redux/ActionsReducers/SmartEditRedux';
|
|
23
23
|
import * as ThemeRedux from '../../Redux/ActionsReducers/ThemeRedux';
|
|
24
24
|
import * as ToolPanelRedux from '../../Redux/ActionsReducers/ToolPanelRedux';
|
|
25
|
-
|
|
25
|
+
import { logDeprecation } from '../../Utilities/logDeprecation';
|
|
26
|
+
export class StateApiImpl extends ApiBase {
|
|
26
27
|
configInit() {
|
|
27
28
|
this.dispatchAction(InitState());
|
|
28
29
|
}
|
|
@@ -39,9 +40,17 @@ export class ConfigApiImpl extends ApiBase {
|
|
|
39
40
|
Helper.copyToClipboard(stringifiedState);
|
|
40
41
|
}
|
|
41
42
|
getPredefinedConfig() {
|
|
42
|
-
|
|
43
|
+
logDeprecation(this.getAdatableLogger(), 'StateApi', 'getPredefinedConfig', 'getInitialState');
|
|
44
|
+
return this.getInitialState();
|
|
45
|
+
}
|
|
46
|
+
getInitialState() {
|
|
47
|
+
return this._adaptable.adaptableOptions.initialState;
|
|
43
48
|
}
|
|
44
49
|
reloadPredefinedConfig(newPredefinedConfig) {
|
|
50
|
+
logDeprecation(this.getAdatableLogger(), 'StateApi', 'reloadPredefinedConfig', 'reloadInitialState');
|
|
51
|
+
this.reloadInitialState(newPredefinedConfig);
|
|
52
|
+
}
|
|
53
|
+
reloadInitialState(newInitialState) {
|
|
45
54
|
const adaptableOptions = this.getOptions();
|
|
46
55
|
const oldState = this.getPersistedState();
|
|
47
56
|
// clearing filters so that AG Grid doesnt display the filter icon in a column header after grid reloads
|
|
@@ -62,7 +71,7 @@ export class ConfigApiImpl extends ApiBase {
|
|
|
62
71
|
});
|
|
63
72
|
promise.then(() => {
|
|
64
73
|
this.setAdaptableStateKey(adaptableOptions.adaptableStateKey, {
|
|
65
|
-
|
|
74
|
+
initialState: newInitialState || adaptableOptions.initialState,
|
|
66
75
|
flushCurrentState: false,
|
|
67
76
|
}).then(() => {
|
|
68
77
|
const newState = this.getPersistedState();
|
|
@@ -83,7 +92,7 @@ export class ConfigApiImpl extends ApiBase {
|
|
|
83
92
|
}
|
|
84
93
|
loadUserState(state) {
|
|
85
94
|
this.setAdaptableStateKey(this.getOptions().adaptableStateKey, {
|
|
86
|
-
|
|
95
|
+
initialState: state || this.getOptions().initialState,
|
|
87
96
|
flushCurrentState: false,
|
|
88
97
|
});
|
|
89
98
|
}
|
|
@@ -118,14 +127,14 @@ export class ConfigApiImpl extends ApiBase {
|
|
|
118
127
|
: Promise.resolve(true);
|
|
119
128
|
flushStatePromise.then(() => {
|
|
120
129
|
this.getOptions().adaptableStateKey = adaptableStateKey;
|
|
121
|
-
let
|
|
122
|
-
if (
|
|
123
|
-
|
|
130
|
+
let initialState = config?.initialState;
|
|
131
|
+
if (initialState) {
|
|
132
|
+
initialState = addUuidsToInitialState(initialState);
|
|
124
133
|
}
|
|
125
134
|
const promise = this.getAdaptableStore().loadStore({
|
|
126
135
|
adaptable: this._adaptable,
|
|
127
136
|
adaptableStateKey,
|
|
128
|
-
|
|
137
|
+
initialState: initialState,
|
|
129
138
|
postLoadHook: (state) => {
|
|
130
139
|
const agGridOptions = {
|
|
131
140
|
columnDefs: this._adaptable.agGridAdapter.getGridOption('columnDefs'),
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AdaptableStatusBar } from '../../
|
|
1
|
+
import { AdaptableStatusBar } from '../../AdaptableState/StatusBarState';
|
|
2
2
|
import { StatusBarApi } from '../StatusBarApi';
|
|
3
3
|
import { ApiBase } from './ApiBase';
|
|
4
4
|
import { StatusPanelDef } from 'ag-grid-enterprise';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ApiBase } from './ApiBase';
|
|
2
2
|
import { StyledColumnApi } from '../StyledColumnApi';
|
|
3
|
-
import { StyledColumn, StyledColumnState } from '../../
|
|
3
|
+
import { StyledColumn, StyledColumnState } from '../../AdaptableState/StyledColumnState';
|
|
4
4
|
import { AdaptableColumn } from '../../types';
|
|
5
5
|
import { IAdaptable } from '../../AdaptableInterfaces/IAdaptable';
|
|
6
6
|
import { StyledColumnInternalApi } from '../Internal/StyledColumnInternalApi';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ApiBase } from './ApiBase';
|
|
2
2
|
import { SystemStatusApi } from '../SystemStatusApi';
|
|
3
|
-
import { AdaptableMessageType } from '../../
|
|
4
|
-
import { SystemStatusMessageInfo } from '../../
|
|
3
|
+
import { AdaptableMessageType } from '../../AdaptableState/Common/AdaptableMessageType';
|
|
4
|
+
import { SystemStatusMessageInfo } from '../../AdaptableState/Common/SystemStatusMessageInfo';
|
|
5
5
|
import { IAdaptable } from '../../AdaptableInterfaces/IAdaptable';
|
|
6
6
|
import { SystemStatusInternalApi } from '../Internal/SystemStatusInternalApi';
|
|
7
7
|
export declare class SystemStatusApiImpl extends ApiBase implements SystemStatusApi {
|
|
@@ -3,7 +3,7 @@ import { ApiBase } from './ApiBase';
|
|
|
3
3
|
import * as TeamSharingRedux from '../../Redux/ActionsReducers/TeamSharingRedux';
|
|
4
4
|
import { TeamSharingCheckForUpdates } from '../../Redux/ActionsReducers/TeamSharingRedux';
|
|
5
5
|
import { TeamSharingInternalApi } from '../Internal/TeamSharingInternalApi';
|
|
6
|
-
import { isAdaptableSharedEntity, isCustomSharedEntity, } from '../../
|
|
6
|
+
import { isAdaptableSharedEntity, isCustomSharedEntity, } from '../../AdaptableState/TeamSharingState';
|
|
7
7
|
export class TeamSharingApiImpl extends ApiBase {
|
|
8
8
|
constructor(_adaptable) {
|
|
9
9
|
super(_adaptable);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ApiBase } from './ApiBase';
|
|
2
2
|
import { ThemeApi } from '../ThemeApi';
|
|
3
|
-
import { AdaptableTheme, ThemeState } from '../../
|
|
3
|
+
import { AdaptableTheme, ThemeState } from '../../AdaptableState/ThemeState';
|
|
4
4
|
import { ThemeInternalApi } from '../Internal/ThemeInternalApi';
|
|
5
5
|
import { IAdaptable } from '../../AdaptableInterfaces/IAdaptable';
|
|
6
6
|
export declare class ThemeApiImpl extends ApiBase implements ThemeApi {
|