@adaptabletools/adaptable-cjs 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 +6 -6
- 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 +34 -34
- 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} +19 -10
- 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 +6 -6
- 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 +3 -2
- 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 +5 -6
- package/src/Utilities/ExpressionFunctions/booleanExpressionFunctions.js +9 -10
- package/src/Utilities/ExpressionFunctions/expressionFunctionUtils.d.ts +1 -1
- package/src/Utilities/ExpressionFunctions/scalarExpressionFunctions.js +27 -27
- 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 +7 -7
- package/src/Utilities/Helpers/DateHelper.js +3 -5
- package/src/Utilities/Helpers/FormatHelper.d.ts +1 -1
- package/src/Utilities/Helpers/FormatHelper.js +19 -6
- 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 +3 -15
- 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 +8 -2
- 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 +2 -2
- package/src/agGrid/getAgGridFilterNotifyModelFn.d.ts +2 -0
- package/src/agGrid/getAgGridFilterNotifyModelFn.js +14 -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/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 +124 -19
- 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 +44 -15
- package/src/themes/index.d.ts +1 -1
- package/src/types.d.ts +83 -83
- package/tsconfig.cjs.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
|
@@ -5,129 +5,36 @@ exports.PluginsReducer = exports.PluginsSetPluginState = exports.OPENFIN_SET_CUR
|
|
|
5
5
|
* @ReduxAction Plugins have been instantiated
|
|
6
6
|
*/
|
|
7
7
|
exports.PLUGINS_SET_PLUGIN_STATE = 'PLUGINS_SET_PLUGIN_STATE';
|
|
8
|
-
/**
|
|
9
|
-
* @ReduxAction Throttle time for live reports has been set
|
|
10
|
-
*/
|
|
11
8
|
exports.IPUSHPULL_SET_THROTTLE_TIME = 'IPUSHPULL_SET_THROTTLE_TIME';
|
|
12
|
-
/**
|
|
13
|
-
* @ReduxAction A snapshot report has been sent
|
|
14
|
-
*/
|
|
15
9
|
exports.IPUSHPULL_SEND_SNAPSHOT = 'IPUSHPULL_SEND_SNAPSHOT';
|
|
16
|
-
/**
|
|
17
|
-
* @ReduxAction An ipushpull report has been selected
|
|
18
|
-
*/
|
|
19
10
|
exports.IPUSHPULL_REPORT_SELECT = 'IPUSHPULL_REPORT_SELECT';
|
|
20
|
-
/**
|
|
21
|
-
* @ReduxAction Live data has been sent to ipushpull
|
|
22
|
-
*/
|
|
23
11
|
exports.IPUSHPULL_START_LIVE_DATA = 'IPUSHPULL_START_LIVE_DATA';
|
|
24
|
-
/**
|
|
25
|
-
* @ReduxAction Live data to ipushpull has been stopped
|
|
26
|
-
*/
|
|
27
12
|
exports.IPUSHPULL_STOP_LIVE_DATA = 'IPUSHPULL_STOP_LIVE_DATA';
|
|
28
|
-
/**
|
|
29
|
-
* @ReduxAction A new ipushpull page has been added
|
|
30
|
-
*/
|
|
31
13
|
exports.IPUSHPULL_ADD_PAGE = 'IPUSHPULL_ADD_PAGE';
|
|
32
|
-
/**
|
|
33
|
-
* @ReduxAction Logged in to ipushpull
|
|
34
|
-
*/
|
|
35
14
|
exports.IPUSHPULL_LOGIN = 'IPUSHPULL_LOGIN';
|
|
36
|
-
/**
|
|
37
|
-
* @ReduxAction Logged out from ipushpull
|
|
38
|
-
*/
|
|
39
15
|
exports.IPUSHPULL_LOGOUT = 'IPUSHPULL_LOGOUT';
|
|
40
|
-
/**
|
|
41
|
-
* @ReduxAction Error message set from failed login
|
|
42
|
-
*/
|
|
43
16
|
exports.IPUSHPULL_SET_LOGIN_ERROR_MESSAGE = 'IPUSHPULL_SET_LOGIN_ERROR_MESSAGE';
|
|
44
|
-
/**
|
|
45
|
-
* @ReduxAction Login details to ipushpull have been set
|
|
46
|
-
*/
|
|
47
17
|
exports.IPUSHPULL_SET_LOGIN_DETAILS = 'IPUSHPULL_SET_LOGIN_DETAILS';
|
|
48
|
-
/**
|
|
49
|
-
* @ReduxAction ipushpull has been made available
|
|
50
|
-
*/
|
|
51
18
|
exports.IPUSHPULL_SET_AVAILABLE_ON = 'IPUSHPULL_SET_AVAILABLE_ON';
|
|
52
|
-
/**
|
|
53
|
-
* @ReduxAction ipushpull has been made unavailable
|
|
54
|
-
*/
|
|
55
19
|
exports.IPUSHPULL_SET_AVAILABLE_OFF = 'SET_IPUSHPULL_AVAILABLE_OFF';
|
|
56
|
-
/**
|
|
57
|
-
* @ReduxAction ipushpull is now running
|
|
58
|
-
*/
|
|
59
20
|
exports.IPUSHPULL_SET_RUNNING_ON = 'IPUSHPULL_SET_RUNNING_ON';
|
|
60
|
-
/**
|
|
61
|
-
* @ReduxAction ipushpull is no longer running
|
|
62
|
-
*/
|
|
63
21
|
exports.IPUSHPULL_SET_RUNNING_OFF = 'IPUSHPULL_SET_RUNNING_OFF';
|
|
64
|
-
/**
|
|
65
|
-
* @ReduxAction A live report to ipuspull has been set
|
|
66
|
-
*/
|
|
67
22
|
exports.IPUSHPULL_LIVE_REPORT_SET = 'IPUSHPULL_LIVE_REPORT_SET';
|
|
68
|
-
/**
|
|
69
|
-
* @ReduxAction The live report to ipuspull has been cleared
|
|
70
|
-
*/
|
|
71
23
|
exports.IPUSHPULL_LIVE_REPORT_CLEAR = 'IPUSHPULL_LIVE_REPORT_CLEAR';
|
|
72
|
-
/**
|
|
73
|
-
* @ReduxAction ipushpull domain pages have been set
|
|
74
|
-
*/
|
|
75
24
|
exports.IPUSHPULL_DOMAIN_PAGES_SET = 'IPUSHPULL_DOMAIN_PAGES_SET';
|
|
76
|
-
/**
|
|
77
|
-
* @ReduxAction ipushpull domain pages have been cleared
|
|
78
|
-
*/
|
|
79
25
|
exports.IPUSHPULL_DOMAIN_PAGES_CLEAR = 'IPUSHPULL_DOMAIN_PAGES_CLEAR';
|
|
80
|
-
/**
|
|
81
|
-
* @ReduxAction ipushpull set current(selected) report name
|
|
82
|
-
*/
|
|
83
26
|
exports.IPUSHPULL_SET_CURRENT_REPORTNAME = 'IPUSHPULL_SET_CURRENT_REPORTNAME';
|
|
84
|
-
/**
|
|
85
|
-
* @ReduxAction ipushpull set current(selected) folder
|
|
86
|
-
*/
|
|
87
27
|
exports.IPUSHPULL_SET_CURRENT_FOLDER = 'IPUSHPULL_SET_CURRENT_FOLDER';
|
|
88
|
-
/**
|
|
89
|
-
* @ReduxAction ipushpull set current(selected) page
|
|
90
|
-
*/
|
|
91
28
|
exports.IPUSHPULL_SET_CURRENT_PAGE = 'IPUSHPULL_SET_CURRENT_PAGE';
|
|
92
|
-
/**
|
|
93
|
-
* @ReduxAction ipushpull set available pages (depending on current folder)
|
|
94
|
-
*/
|
|
95
29
|
exports.IPUSHPULL_SET_AVAILABLE_PAGES = 'IPUSHPULL_SET_AVAILABLE_PAGES';
|
|
96
|
-
/**
|
|
97
|
-
* @ReduxAction Live data has been sent to OpenFin
|
|
98
|
-
*/
|
|
99
30
|
exports.OPENFIN_START_LIVE_DATA = 'OPENFIN_START_LIVE_DATA';
|
|
100
|
-
/**
|
|
101
|
-
* @ReduxAction Live data is not longer sent to OpenFin
|
|
102
|
-
*/
|
|
103
31
|
exports.OPENFIN_STOP_LIVE_DATA = 'OPENFIN_STOP_LIVE_DATA';
|
|
104
|
-
/**
|
|
105
|
-
* @ReduxAction An OpenFin live report has started
|
|
106
|
-
*/
|
|
107
32
|
exports.OPENFIN_LIVE_REPORT_SET = 'OPENFIN_LIVE_REPORT_SET';
|
|
108
|
-
/**
|
|
109
|
-
* @ReduxAction An OpenFin live report has stopped
|
|
110
|
-
*/
|
|
111
33
|
exports.OPENFIN_LIVE_REPORT_CLEAR = 'OPENFIN_LIVE_REPORT_CLEAR';
|
|
112
|
-
/**
|
|
113
|
-
* @ReduxAction OpenFin is now available
|
|
114
|
-
*/
|
|
115
34
|
exports.OPENFIN_SET_AVAILABLE_ON = 'OPENFIN_SET_AVAILABLE_ON';
|
|
116
|
-
/**
|
|
117
|
-
* @ReduxAction OpenFin is no longer available
|
|
118
|
-
*/
|
|
119
35
|
exports.OPENFIN_SET_AVAILABLE_OFF = 'OPENFIN_SET_AVAILABLE_OFF';
|
|
120
|
-
/**
|
|
121
|
-
* @ReduxAction OpenFin is now running
|
|
122
|
-
*/
|
|
123
36
|
exports.OPENFIN_SET_RUNNING_ON = 'OPENFIN_SET_RUNNING_ON';
|
|
124
|
-
/**
|
|
125
|
-
* @ReduxAction OpenFin is no longer running
|
|
126
|
-
*/
|
|
127
37
|
exports.OPENFIN_SET_RUNNING_OFF = 'OPENFIN_SET_RUNNING_OFF';
|
|
128
|
-
/**
|
|
129
|
-
* @ReduxAction set current(selected) report name
|
|
130
|
-
*/
|
|
131
38
|
exports.OPENFIN_SET_CURRENT_REPORTNAME = 'OPENFIN_SET_CURRENT_REPORTNAME';
|
|
132
39
|
const PluginsSetPluginState = (pluginId, pluginState) => ({
|
|
133
40
|
type: exports.PLUGINS_SET_PLUGIN_STATE,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { PlusMinusState, PlusMinusNudge } from '../../
|
|
1
|
+
import { PlusMinusState, PlusMinusNudge } from '../../AdaptableState/PlusMinusState';
|
|
2
2
|
import * as Redux from 'redux';
|
|
3
|
-
import { CellUpdateRequest } from '../../
|
|
3
|
+
import { CellUpdateRequest } from '../../AdaptableState/Selection/GridCell';
|
|
4
4
|
/**
|
|
5
5
|
* @ReduxAction A Plus Minus Rule has been applied
|
|
6
6
|
*/
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import * as Redux from 'redux';
|
|
2
|
-
import { AdaptableAlert } from '../../
|
|
3
|
-
import { FormContext } from '../../
|
|
4
|
-
import { AdaptableModule } from '../../
|
|
5
|
-
import { PopupState } from '../../
|
|
2
|
+
import { AdaptableAlert } from '../../AdaptableState/Common/AdaptableAlert';
|
|
3
|
+
import { FormContext } from '../../AdaptableState/Common/FormContext';
|
|
4
|
+
import { AdaptableModule } from '../../AdaptableState/Common/Types';
|
|
5
|
+
import { PopupState } from '../../AdaptableState/PopupState';
|
|
6
6
|
import { AdaptableForm, BaseContext, ProgressIndicatorConfig } from '../../types';
|
|
7
7
|
import { InputAction, UIConfirmation, UIPrompt } from '../../Utilities/Interface/MessagePopups';
|
|
8
8
|
import { ModuleParams } from '../../View/Components/SharedProps/ModuleViewPopupProps';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as Redux from 'redux';
|
|
2
|
-
import { QuickSearchState } from '../../
|
|
3
|
-
import { AdaptableStyle } from '../../
|
|
2
|
+
import { QuickSearchState } from '../../AdaptableState/QuickSearchState';
|
|
3
|
+
import { AdaptableStyle } from '../../AdaptableState/Common/AdaptableStyle';
|
|
4
4
|
/**
|
|
5
5
|
* @ReduxAction Runs Quick Search
|
|
6
6
|
*/
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import * as Redux from 'redux';
|
|
2
|
-
import { ScheduleState } from '../../
|
|
2
|
+
import { ScheduleState } from '../../AdaptableState/ScheduleState';
|
|
3
3
|
import { ReminderSchedule, ReportSchedule } from '../../types';
|
|
4
|
-
import { IPushPullSchedule } from '../../
|
|
5
|
-
import { OpenFinSchedule } from '../../
|
|
6
|
-
import { BaseSchedule } from '../../
|
|
7
|
-
import { ScheduleType } from '../../
|
|
4
|
+
import { IPushPullSchedule } from '../../AdaptableState/IPushPullState';
|
|
5
|
+
import { OpenFinSchedule } from '../../AdaptableState/OpenFinState';
|
|
6
|
+
import { BaseSchedule } from '../../AdaptableState/Common/Schedule';
|
|
7
|
+
import { ScheduleType } from '../../AdaptableState/Common/Enums';
|
|
8
8
|
/**
|
|
9
9
|
* @ReduxAction Runs a Scheduled job
|
|
10
10
|
*/
|
|
@@ -65,61 +65,19 @@ export declare const REMINDER_SCHEDULE_SUSPEND_ALL = "REMINDER_SCHEDULE_SUSPEND_
|
|
|
65
65
|
* @ReduxAction All Reminder Schedules have been unsuspended or activated
|
|
66
66
|
*/
|
|
67
67
|
export declare const REMINDER_SCHEDULE_UNSUSPEND_ALL = "REMINDER_SCHEDULE_UNSUSPEND_ALL";
|
|
68
|
-
/**
|
|
69
|
-
* @ReduxAction An ipushpull Schedule has been added
|
|
70
|
-
*/
|
|
71
68
|
export declare const IPUSHPULL_SCHEDULE_ADD = "IPUSHPULL_SCHEDULE_ADD";
|
|
72
|
-
/**
|
|
73
|
-
* @ReduxAction An ipushpull Schedule has been edited
|
|
74
|
-
*/
|
|
75
69
|
export declare const IPUSHPULL_SCHEDULE_EDIT = "IPUSHPULL_SCHEDULE_EDIT";
|
|
76
|
-
/**
|
|
77
|
-
* @ReduxAction An ipushpull Schedule has been deleted
|
|
78
|
-
*/
|
|
79
70
|
export declare const IPUSHPULL_SCHEDULE_DELETE = "IPUSHPULL_SCHEDULE_DELETE";
|
|
80
|
-
/**
|
|
81
|
-
* @ReduxAction An ipushpull Schedule has been suspended
|
|
82
|
-
*/
|
|
83
71
|
export declare const IPUSHPULL_SCHEDULE_SUSPEND = "IPUSHPULL_SCHEDULE_SUSPEND";
|
|
84
|
-
/**
|
|
85
|
-
* @ReduxAction An ipushpull Schedule has been unsuspended or activated
|
|
86
|
-
*/
|
|
87
72
|
export declare const IPUSHPULL_SCHEDULE_UNSUSPEND = "IPUSHPULL_SCHEDULE_UNSUSPEND";
|
|
88
|
-
/**
|
|
89
|
-
* @ReduxAction All ipushpull Schedules have been suspended
|
|
90
|
-
*/
|
|
91
73
|
export declare const IPUSHPULL_SCHEDULE_SUSPEND_ALL = "IPUSHPULL_SCHEDULE_SUSPEND_ALL";
|
|
92
|
-
/**
|
|
93
|
-
* @ReduxAction All ipushpull Schedules have been unsuspended or activated
|
|
94
|
-
*/
|
|
95
74
|
export declare const IPUSHPULL_SCHEDULE_UNSUSPEND_ALL = "IPUSHPULL_SCHEDULE_UNSUSPEND_ALL";
|
|
96
|
-
/**
|
|
97
|
-
* @ReduxAction An OpenFin Schedule has been added
|
|
98
|
-
*/
|
|
99
75
|
export declare const OPENFIN_SCHEDULE_ADD = "OPENFIN_SCHEDULE_ADD";
|
|
100
|
-
/**
|
|
101
|
-
* @ReduxAction An OpenFin Schedule has been edited
|
|
102
|
-
*/
|
|
103
76
|
export declare const OPENFIN_SCHEDULE_EDIT = "OPENFIN_SCHEDULE_EDIT";
|
|
104
|
-
/**
|
|
105
|
-
* @ReduxAction An OpenFin Schedule has been deleted
|
|
106
|
-
*/
|
|
107
77
|
export declare const OPENFIN_SCHEDULE_DELETE = "OPENFIN_SCHEDULE_DELETE";
|
|
108
|
-
/**
|
|
109
|
-
* @ReduxAction An OpenFin Schedule has been suspended
|
|
110
|
-
*/
|
|
111
78
|
export declare const OPENFIN_SCHEDULE_SUSPEND = "OPENFIN_SCHEDULE_SUSPEND";
|
|
112
|
-
/**
|
|
113
|
-
* @ReduxAction An OpenFin Schedule has been unsuspended or activated
|
|
114
|
-
*/
|
|
115
79
|
export declare const OPENFIN_SCHEDULE_UNSUSPEND = "OPENFIN_SCHEDULE_UNSUSPEND";
|
|
116
|
-
/**
|
|
117
|
-
* @ReduxAction All OpenFin Schedules have been suspended
|
|
118
|
-
*/
|
|
119
80
|
export declare const OPENFIN_SCHEDULE_SUSPEND_ALL = "OPENFIN_SCHEDULE_SUSPEND_ALL";
|
|
120
|
-
/**
|
|
121
|
-
* @ReduxAction All OpenFin Schedules have been unsuspended or activated
|
|
122
|
-
*/
|
|
123
81
|
export declare const OPENFIN_SCHEDULE_UNSUSPEND_ALL = "OPENFIN_SCHEDULE_UNSUSPEND_ALL";
|
|
124
82
|
/**
|
|
125
83
|
* @ReduxAction Schedule Module is ready
|
|
@@ -66,61 +66,19 @@ exports.REMINDER_SCHEDULE_SUSPEND_ALL = 'REMINDER_SCHEDULE_SUSPEND_ALL';
|
|
|
66
66
|
* @ReduxAction All Reminder Schedules have been unsuspended or activated
|
|
67
67
|
*/
|
|
68
68
|
exports.REMINDER_SCHEDULE_UNSUSPEND_ALL = 'REMINDER_SCHEDULE_UNSUSPEND_ALL';
|
|
69
|
-
/**
|
|
70
|
-
* @ReduxAction An ipushpull Schedule has been added
|
|
71
|
-
*/
|
|
72
69
|
exports.IPUSHPULL_SCHEDULE_ADD = 'IPUSHPULL_SCHEDULE_ADD';
|
|
73
|
-
/**
|
|
74
|
-
* @ReduxAction An ipushpull Schedule has been edited
|
|
75
|
-
*/
|
|
76
70
|
exports.IPUSHPULL_SCHEDULE_EDIT = 'IPUSHPULL_SCHEDULE_EDIT';
|
|
77
|
-
/**
|
|
78
|
-
* @ReduxAction An ipushpull Schedule has been deleted
|
|
79
|
-
*/
|
|
80
71
|
exports.IPUSHPULL_SCHEDULE_DELETE = 'IPUSHPULL_SCHEDULE_DELETE';
|
|
81
|
-
/**
|
|
82
|
-
* @ReduxAction An ipushpull Schedule has been suspended
|
|
83
|
-
*/
|
|
84
72
|
exports.IPUSHPULL_SCHEDULE_SUSPEND = 'IPUSHPULL_SCHEDULE_SUSPEND';
|
|
85
|
-
/**
|
|
86
|
-
* @ReduxAction An ipushpull Schedule has been unsuspended or activated
|
|
87
|
-
*/
|
|
88
73
|
exports.IPUSHPULL_SCHEDULE_UNSUSPEND = 'IPUSHPULL_SCHEDULE_UNSUSPEND';
|
|
89
|
-
/**
|
|
90
|
-
* @ReduxAction All ipushpull Schedules have been suspended
|
|
91
|
-
*/
|
|
92
74
|
exports.IPUSHPULL_SCHEDULE_SUSPEND_ALL = 'IPUSHPULL_SCHEDULE_SUSPEND_ALL';
|
|
93
|
-
/**
|
|
94
|
-
* @ReduxAction All ipushpull Schedules have been unsuspended or activated
|
|
95
|
-
*/
|
|
96
75
|
exports.IPUSHPULL_SCHEDULE_UNSUSPEND_ALL = 'IPUSHPULL_SCHEDULE_UNSUSPEND_ALL';
|
|
97
|
-
/**
|
|
98
|
-
* @ReduxAction An OpenFin Schedule has been added
|
|
99
|
-
*/
|
|
100
76
|
exports.OPENFIN_SCHEDULE_ADD = 'OPENFIN_SCHEDULE_ADD';
|
|
101
|
-
/**
|
|
102
|
-
* @ReduxAction An OpenFin Schedule has been edited
|
|
103
|
-
*/
|
|
104
77
|
exports.OPENFIN_SCHEDULE_EDIT = 'OPENFIN_SCHEDULE_EDIT';
|
|
105
|
-
/**
|
|
106
|
-
* @ReduxAction An OpenFin Schedule has been deleted
|
|
107
|
-
*/
|
|
108
78
|
exports.OPENFIN_SCHEDULE_DELETE = 'OPENFIN_SCHEDULE_DELETE';
|
|
109
|
-
/**
|
|
110
|
-
* @ReduxAction An OpenFin Schedule has been suspended
|
|
111
|
-
*/
|
|
112
79
|
exports.OPENFIN_SCHEDULE_SUSPEND = 'OPENFIN_SCHEDULE_SUSPEND';
|
|
113
|
-
/**
|
|
114
|
-
* @ReduxAction An OpenFin Schedule has been unsuspended or activated
|
|
115
|
-
*/
|
|
116
80
|
exports.OPENFIN_SCHEDULE_UNSUSPEND = 'OPENFIN_SCHEDULE_UNSUSPEND';
|
|
117
|
-
/**
|
|
118
|
-
* @ReduxAction All OpenFin Schedules have been suspended
|
|
119
|
-
*/
|
|
120
81
|
exports.OPENFIN_SCHEDULE_SUSPEND_ALL = 'OPENFIN_SCHEDULE_SUSPEND_ALL';
|
|
121
|
-
/**
|
|
122
|
-
* @ReduxAction All OpenFin Schedules have been unsuspended or activated
|
|
123
|
-
*/
|
|
124
82
|
exports.OPENFIN_SCHEDULE_UNSUSPEND_ALL = 'OPENFIN_SCHEDULE_UNSUSPEND_ALL';
|
|
125
83
|
/**
|
|
126
84
|
* @ReduxAction Schedule Module is ready
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as Redux from 'redux';
|
|
2
2
|
import { AdaptableState } from '../../../types';
|
|
3
|
-
import { StatusBarState, AdaptableStatusBar } from '../../
|
|
3
|
+
import { StatusBarState, AdaptableStatusBar } from '../../AdaptableState/StatusBarState';
|
|
4
4
|
/**
|
|
5
5
|
* @ReduxAction Sets Status Bar panels
|
|
6
6
|
*/
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { StyledColumnState, StyledColumn } from '../../
|
|
1
|
+
import { StyledColumnState, StyledColumn } from '../../AdaptableState/StyledColumnState';
|
|
2
2
|
import * as Redux from 'redux';
|
|
3
3
|
/**
|
|
4
4
|
* @ReduxAction A Special Column Style has been added
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as Redux from 'redux';
|
|
2
|
-
import { SystemStatusMessageInfo } from '../../
|
|
2
|
+
import { SystemStatusMessageInfo } from '../../AdaptableState/Common/SystemStatusMessageInfo';
|
|
3
3
|
/**
|
|
4
4
|
* @ReduxAction A System Status Message is set
|
|
5
5
|
*/
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { TeamSharingState, SharedEntity, AdaptableSharedEntityConfig, TeamSharingImportStep, AdaptableSharedEntity, CustomSharedEntityConfig } from '../../
|
|
1
|
+
import { TeamSharingState, SharedEntity, AdaptableSharedEntityConfig, TeamSharingImportStep, AdaptableSharedEntity, CustomSharedEntityConfig } from '../../AdaptableState/TeamSharingState';
|
|
2
2
|
import * as Redux from 'redux';
|
|
3
|
-
import { AdaptableObject } from '../../
|
|
4
|
-
import { AdaptableModule } from '../../
|
|
3
|
+
import { AdaptableObject } from '../../AdaptableState/Common/AdaptableObject';
|
|
4
|
+
import { AdaptableModule } from '../../AdaptableState/Common/Types';
|
|
5
5
|
export declare const TEAMSHARING_GET = "TEAMSHARING_GET";
|
|
6
6
|
export declare const TEAMSHARING_SET = "TEAMSHARING_SET";
|
|
7
7
|
export declare const TEAMSHARING_SHARE = "TEAMSHARING_SHARE";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as Redux from 'redux';
|
|
2
|
-
import { AdaptableToolPanelDefinition, ToolPanelState } from '../../
|
|
3
|
-
import { AdaptableToolPanel, AdaptableModuleButtons } from '../../
|
|
2
|
+
import { AdaptableToolPanelDefinition, ToolPanelState } from '../../AdaptableState/ToolPanelState';
|
|
3
|
+
import { AdaptableToolPanel, AdaptableModuleButtons } from '../../AdaptableState/Common/Types';
|
|
4
4
|
/**
|
|
5
5
|
* @ReduxAction Tool Panels have been set in AdapTable ToolPanel Component
|
|
6
6
|
*/
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import IStorageEngine from './Interface/IStorageEngine';
|
|
2
|
-
import {
|
|
2
|
+
import { InitialState } from '../../AdaptableState/InitialState';
|
|
3
3
|
import { AdaptableLoadStateFunction, AdaptablePersistStateFunction } from '../../AdaptableOptions/StateOptions';
|
|
4
4
|
export declare function createEngine(config: {
|
|
5
5
|
adaptableId: string;
|
|
6
6
|
adaptableStateKey: string;
|
|
7
7
|
userName: string;
|
|
8
|
-
|
|
8
|
+
initialState: InitialState;
|
|
9
9
|
loadState?: AdaptableLoadStateFunction;
|
|
10
10
|
persistState?: AdaptablePersistStateFunction;
|
|
11
11
|
debounceStateDelay: number;
|
|
@@ -33,7 +33,7 @@ class AdaptableReduxLocalStorageEngine {
|
|
|
33
33
|
this.adaptableId = config.adaptableId;
|
|
34
34
|
this.adaptableStateKey = config.adaptableStateKey;
|
|
35
35
|
this.userName = config.userName;
|
|
36
|
-
this.
|
|
36
|
+
this.initialState = config.initialState;
|
|
37
37
|
this.loadState = config.loadState;
|
|
38
38
|
this.persistState = config.persistState;
|
|
39
39
|
this.save =
|
|
@@ -46,16 +46,16 @@ class AdaptableReduxLocalStorageEngine {
|
|
|
46
46
|
setStateKey(adaptableStateKey) {
|
|
47
47
|
this.adaptableStateKey = adaptableStateKey;
|
|
48
48
|
}
|
|
49
|
-
load(
|
|
49
|
+
load(initialState = this.initialState) {
|
|
50
50
|
return (this.loadState || loadState)({
|
|
51
51
|
adaptableId: this.adaptableId,
|
|
52
52
|
adaptableStateKey: this.adaptableStateKey,
|
|
53
53
|
userName: this.userName,
|
|
54
54
|
}).then((parsedJsonState) => {
|
|
55
|
-
// we need to merge the
|
|
56
|
-
return Promise.resolve(
|
|
57
|
-
.then((
|
|
58
|
-
return (0, AdaptableReduxMerger_1.MergeStateFunction)(
|
|
55
|
+
// we need to merge the Initial Adaptable State
|
|
56
|
+
return Promise.resolve(initialState)
|
|
57
|
+
.then((parsedInitialState) => {
|
|
58
|
+
return (0, AdaptableReduxMerger_1.MergeStateFunction)(parsedInitialState, parsedJsonState);
|
|
59
59
|
})
|
|
60
60
|
.catch((err) => AdaptableLogger_1.AdaptableLogger.consoleErrorBase(`AdaptableId: ${this.adaptableId}`, err));
|
|
61
61
|
});
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { AdaptableState } from '../../
|
|
3
|
-
export declare function AddStateSource(stateObject: any, source: '
|
|
1
|
+
import { BaseState } from '../../AdaptableState/BaseState';
|
|
2
|
+
import { AdaptableState } from '../../AdaptableState/AdaptableState';
|
|
3
|
+
export declare function AddStateSource(stateObject: any, source: 'InitialState' | 'User'): any;
|
|
4
4
|
export declare function ProcessKeepUserDefinedRevision(configState: any, currentUserState: any): any;
|
|
5
5
|
export declare function MergeStateFunction(oldState: any, newState: any): any;
|
|
6
6
|
export declare function MergeState(oldState: any, newState: any): any;
|
|
7
7
|
type TypeReducer = (state: AdaptableState, action: {
|
|
8
8
|
type: string;
|
|
9
9
|
State?: {
|
|
10
|
-
[s: string]:
|
|
10
|
+
[s: string]: BaseState;
|
|
11
11
|
};
|
|
12
12
|
}) => AdaptableState;
|
|
13
13
|
export declare const mergeReducer: (rootReducer: TypeReducer, LOAD_STATE_TYPE: string) => TypeReducer;
|
|
@@ -12,7 +12,7 @@ const AdaptableHelper_1 = tslib_1.__importDefault(require("../../Utilities/Helpe
|
|
|
12
12
|
function customizer(objValue, srcValue) {
|
|
13
13
|
if ((0, isArray_1.default)(objValue)) {
|
|
14
14
|
if (!Array.isArray(srcValue)) {
|
|
15
|
-
// TODO AFL: clarify if this is still relevant, after the
|
|
15
|
+
// TODO AFL: clarify if this is still relevant, after the state & options refactoring
|
|
16
16
|
/**
|
|
17
17
|
* the new value might be a function: eg: UserInterface.ContextMenuItems defaults to an array
|
|
18
18
|
* in the redux state, while the user might provide a function
|
|
@@ -53,7 +53,7 @@ function ProcessKeepUserDefinedRevision(configState, currentUserState) {
|
|
|
53
53
|
const stateValue = stateObject[key];
|
|
54
54
|
if (Array.isArray(configValue) && Array.isArray(stateValue)) {
|
|
55
55
|
const userDefinedItems = stateValue.filter((item) => {
|
|
56
|
-
return AdaptableHelper_1.default.isAdaptableObject(item) && item.Source !== '
|
|
56
|
+
return AdaptableHelper_1.default.isAdaptableObject(item) && item.Source !== 'InitialState';
|
|
57
57
|
});
|
|
58
58
|
configObject[key] = configValue.concat(userDefinedItems);
|
|
59
59
|
// we probably don't need to call traverseStateObject on the array as well,
|
|
@@ -80,8 +80,8 @@ function MergeStateFunction(oldState, newState) {
|
|
|
80
80
|
if (newState === '') {
|
|
81
81
|
newState = {};
|
|
82
82
|
}
|
|
83
|
-
// add source '
|
|
84
|
-
const
|
|
83
|
+
// add source 'InitialState' only to initial state objects
|
|
84
|
+
const initialState = AddStateSource(oldState, 'InitialState');
|
|
85
85
|
// source 'User' will be added to all other objects, after the merge (see bottom of this function)
|
|
86
86
|
let state = newState;
|
|
87
87
|
if (!state || typeof state !== 'object') {
|
|
@@ -90,29 +90,29 @@ function MergeStateFunction(oldState, newState) {
|
|
|
90
90
|
state = {};
|
|
91
91
|
}
|
|
92
92
|
// any Module in config that doesn't exist in state will be added
|
|
93
|
-
for (const
|
|
94
|
-
state[
|
|
93
|
+
for (const initialStateModuleName in initialState) {
|
|
94
|
+
state[initialStateModuleName] = state[initialStateModuleName] ?? initialState[initialStateModuleName];
|
|
95
95
|
}
|
|
96
96
|
// any Module in state that has an older revision than the config will be replaced
|
|
97
97
|
for (const stateModuleName in state) {
|
|
98
|
-
if (
|
|
98
|
+
if (initialState[stateModuleName] != undefined) {
|
|
99
99
|
// explicitly use double equals, as we want to avoid null as well
|
|
100
100
|
const stateRevision = state[stateModuleName].Revision ?? 0;
|
|
101
|
-
const
|
|
101
|
+
const initialStateRevision = initialState[stateModuleName].Revision ?? 0;
|
|
102
102
|
const stateRevisionKey = typeof stateRevision === 'object' ? stateRevision.Key : stateRevision;
|
|
103
|
-
const
|
|
104
|
-
const
|
|
105
|
-
if (
|
|
106
|
-
if (
|
|
107
|
-
state[stateModuleName] =
|
|
103
|
+
const initialStateRevisionBehaviour = typeof initialStateRevision === 'object' ? initialStateRevision.Behavior : 'Override';
|
|
104
|
+
const initialStateRevisionKey = typeof initialStateRevision === 'object' ? initialStateRevision.Key : initialStateRevision;
|
|
105
|
+
if (initialStateRevisionKey > stateRevisionKey) {
|
|
106
|
+
if (initialStateRevisionBehaviour === 'Override') {
|
|
107
|
+
state[stateModuleName] = initialState[stateModuleName];
|
|
108
108
|
}
|
|
109
109
|
else {
|
|
110
|
-
state[stateModuleName] = ProcessKeepUserDefinedRevision(deepClone(
|
|
110
|
+
state[stateModuleName] = ProcessKeepUserDefinedRevision(deepClone(initialState[stateModuleName]), state[stateModuleName]);
|
|
111
111
|
}
|
|
112
112
|
}
|
|
113
113
|
}
|
|
114
114
|
}
|
|
115
|
-
// add 'User' source to all state objects which do NOT have '
|
|
115
|
+
// add 'User' source to all state objects which do NOT have 'InitialState'
|
|
116
116
|
const finalState = AddStateSource(state, 'User');
|
|
117
117
|
return finalState;
|
|
118
118
|
}
|
|
@@ -132,7 +132,7 @@ function MergeState(oldState, newState) {
|
|
|
132
132
|
}
|
|
133
133
|
const oldValue = result[key];
|
|
134
134
|
if ((0, isObject_1.default)(value) && !Array.isArray(value)) {
|
|
135
|
-
// use both lodash functions so that we can merge from State onto
|
|
135
|
+
// use both lodash functions so that we can merge from State onto Initial Adaptable State where it exists but from the former where it doesnt.
|
|
136
136
|
result[key] = (0, mergeWith_1.default)({}, oldValue, value, customizer);
|
|
137
137
|
}
|
|
138
138
|
else {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as Redux from 'redux';
|
|
2
2
|
import { IAdaptable } from '../../AdaptableInterfaces/IAdaptable';
|
|
3
|
-
import { AdaptableState } from '../../
|
|
4
|
-
import {
|
|
3
|
+
import { AdaptableState } from '../../AdaptableState/AdaptableState';
|
|
4
|
+
import { BaseState } from '../../AdaptableState/BaseState';
|
|
5
5
|
import { IAdaptableStore, LoadStoreConfig } from './Interface/IAdaptableStore';
|
|
6
6
|
type EmitterCallback = (data?: any) => any;
|
|
7
7
|
type EmitterAnyCallback = (eventName: string, data?: any) => any;
|
|
@@ -13,12 +13,12 @@ export interface InitStateAction extends Redux.Action {
|
|
|
13
13
|
}
|
|
14
14
|
export interface LoadStateAction extends Redux.Action {
|
|
15
15
|
State: {
|
|
16
|
-
[s: string]:
|
|
16
|
+
[s: string]: BaseState;
|
|
17
17
|
};
|
|
18
18
|
}
|
|
19
19
|
export declare const InitState: () => ResetUserDataAction;
|
|
20
20
|
export declare const LoadState: (State: {
|
|
21
|
-
[s: string]:
|
|
21
|
+
[s: string]: BaseState;
|
|
22
22
|
}) => LoadStateAction;
|
|
23
23
|
export declare class AdaptableStore implements IAdaptableStore {
|
|
24
24
|
TheStore: Redux.Store<AdaptableState, Redux.Action>;
|
|
@@ -8,7 +8,7 @@ const PopupRedux = tslib_1.__importStar(require("../ActionsReducers/PopupRedux")
|
|
|
8
8
|
const PopupRedux_1 = require("../ActionsReducers/PopupRedux");
|
|
9
9
|
const AdaptableReduxLocalStorageEngine_1 = require("./AdaptableReduxLocalStorageEngine");
|
|
10
10
|
const AdaptableReduxMerger_1 = require("./AdaptableReduxMerger");
|
|
11
|
-
const AdaptableAlert_1 = require("../../
|
|
11
|
+
const AdaptableAlert_1 = require("../../AdaptableState/Common/AdaptableAlert");
|
|
12
12
|
const GeneralConstants_1 = require("../../Utilities/Constants/GeneralConstants");
|
|
13
13
|
const ModuleConstants = tslib_1.__importStar(require("../../Utilities/Constants/ModuleConstants"));
|
|
14
14
|
const Emitter_1 = tslib_1.__importDefault(require("../../Utilities/Emitter"));
|
|
@@ -42,7 +42,7 @@ const InternalRedux = tslib_1.__importStar(require("../ActionsReducers/InternalR
|
|
|
42
42
|
const TeamSharingRedux = tslib_1.__importStar(require("../ActionsReducers/TeamSharingRedux"));
|
|
43
43
|
const ThemeRedux = tslib_1.__importStar(require("../ActionsReducers/ThemeRedux"));
|
|
44
44
|
const ToolPanelRedux = tslib_1.__importStar(require("../ActionsReducers/ToolPanelRedux"));
|
|
45
|
-
const TeamSharingState_1 = require("../../
|
|
45
|
+
const TeamSharingState_1 = require("../../AdaptableState/TeamSharingState");
|
|
46
46
|
exports.INIT_STATE = 'INIT_STATE';
|
|
47
47
|
exports.LOAD_STATE = 'LOAD_STATE';
|
|
48
48
|
const NON_PERSIST_ACTIONS = {
|
|
@@ -91,13 +91,13 @@ class AdaptableStore {
|
|
|
91
91
|
return this.emitter.emit(eventName, data);
|
|
92
92
|
};
|
|
93
93
|
this.loadStore = (config) => {
|
|
94
|
-
const { adaptable, adaptableStateKey,
|
|
94
|
+
const { adaptable, adaptableStateKey, initialState, postLoadHook } = config;
|
|
95
95
|
const postProcessState = postLoadHook ?? ((state) => state);
|
|
96
96
|
this.storageEngine.setStateKey(adaptableStateKey);
|
|
97
97
|
// START STATE LOAD
|
|
98
98
|
this.loadStorageInProgress = true;
|
|
99
99
|
return (this.Load = this.storageEngine
|
|
100
|
-
.load(
|
|
100
|
+
.load(initialState)
|
|
101
101
|
.then((storedState) => {
|
|
102
102
|
if (storedState && this.loadStateOnStartup) {
|
|
103
103
|
this.TheStore.dispatch((0, exports.LoadState)(postProcessState(adaptable.adaptableOptions.stateOptions.applyState(storedState))));
|
|
@@ -184,7 +184,7 @@ class AdaptableStore {
|
|
|
184
184
|
adaptableId: adaptable.adaptableOptions.adaptableId,
|
|
185
185
|
adaptableStateKey: adaptable.adaptableOptions.adaptableStateKey,
|
|
186
186
|
userName: adaptable.adaptableOptions.userName,
|
|
187
|
-
|
|
187
|
+
initialState: adaptable.adaptableOptions.initialState,
|
|
188
188
|
loadState: adaptable.adaptableOptions.stateOptions.loadState,
|
|
189
189
|
persistState: adaptable.adaptableOptions.stateOptions.persistState,
|
|
190
190
|
debounceStateDelay: adaptable.adaptableOptions.stateOptions.debounceStateDelay,
|
|
@@ -507,7 +507,7 @@ const adaptableMiddleware = (adaptable) => (function(middlewareAPI) {
|
|
|
507
507
|
let returnAction = next(action);
|
|
508
508
|
adaptable.api.gridApi.refreshAllCells(true);
|
|
509
509
|
// if set then return a query on the text
|
|
510
|
-
if (adaptable.adaptableOptions.quickSearchOptions.
|
|
510
|
+
if (adaptable.adaptableOptions.quickSearchOptions.filterGridAfterQuickSearch) {
|
|
511
511
|
const actionTyped = action;
|
|
512
512
|
const searchText = actionTyped.quickSearchText;
|
|
513
513
|
if (StringExtensions_1.StringExtensions.IsNotNullOrEmpty(searchText)) {
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import * as Redux from 'redux';
|
|
2
|
-
import { AdaptableState } from '../../../
|
|
3
|
-
import {
|
|
2
|
+
import { AdaptableState } from '../../../AdaptableState/AdaptableState';
|
|
3
|
+
import { InitialState } from '../../../types';
|
|
4
4
|
import { IAdaptable } from '../../../AdaptableInterfaces/IAdaptable';
|
|
5
5
|
export interface LoadStoreConfig {
|
|
6
6
|
adaptable: IAdaptable;
|
|
7
7
|
adaptableStateKey: string;
|
|
8
|
-
|
|
8
|
+
initialState?: InitialState;
|
|
9
9
|
postLoadHook?: (state: AdaptableState) => AdaptableState;
|
|
10
10
|
}
|
|
11
11
|
export interface IAdaptableStore {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { AdaptableSaveStateFunction } from '../../../AdaptableOptions/StateOptions';
|
|
2
|
-
import { AdaptableState } from '../../../
|
|
3
|
-
import {
|
|
2
|
+
import { AdaptableState } from '../../../AdaptableState/AdaptableState';
|
|
3
|
+
import { InitialState } from '../../../AdaptableState/InitialState';
|
|
4
4
|
export default interface IStorageEngine {
|
|
5
|
-
load(
|
|
5
|
+
load(initialState?: string | InitialState): Promise<any>;
|
|
6
6
|
save(state: AdaptableState, getEnhancedState?: AdaptableSaveStateFunction): Promise<any>;
|
|
7
7
|
saveNow(state: AdaptableState, getEnhancedState?: AdaptableSaveStateFunction): Promise<any>;
|
|
8
8
|
setStateKey(stateKey: string): void;
|