@adaptabletools/adaptable-cjs 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 +6 -6
- 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 +34 -34
- 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} +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/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 +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/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/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 +8 -2
- 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 +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/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/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 +72 -12
- 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.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
|
@@ -4,7 +4,7 @@ exports.ScheduleSettingsWizard = void 0;
|
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
5
|
const React = tslib_1.__importStar(require("react"));
|
|
6
6
|
const OnePageAdaptableWizard_1 = require("../../../Wizard/OnePageAdaptableWizard");
|
|
7
|
-
const Enums_1 = require("../../../../
|
|
7
|
+
const Enums_1 = require("../../../../AdaptableState/Common/Enums");
|
|
8
8
|
const ScheduleSettingsReminder_1 = require("./ScheduleSettingsReminder");
|
|
9
9
|
const ScheduleSettingsReport_1 = require("./ScheduleSettingsReport");
|
|
10
10
|
const ScheduleSettingsIPushPull_1 = require("./ScheduleSettingsIPushPull");
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { BaseSchedule } from '../../../../
|
|
1
|
+
import { BaseSchedule } from '../../../../AdaptableState/Common/Schedule';
|
|
2
2
|
export declare const isSettingsValid: (schedule: BaseSchedule) => true | "Message type not selected" | "Reminder header not specified" | "Reminder message not specified" | "Report source not specified" | "Report format not selected" | "Report not selected" | "Report folder not selected" | "Report page not selected";
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.isSettingsValid = void 0;
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
|
-
const Enums_1 = require("../../../../
|
|
5
|
+
const Enums_1 = require("../../../../AdaptableState/Common/Enums");
|
|
6
6
|
const StringExtensions_1 = tslib_1.__importDefault(require("../../../../Utilities/Extensions/StringExtensions"));
|
|
7
7
|
const isSettingsValid = (schedule) => {
|
|
8
8
|
if (schedule.ScheduleType === Enums_1.ScheduleType.Reminder) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { AdaptableOnePageWizardProps } from '../../../View/Wizard/Interface/IAdaptableWizard';
|
|
3
|
-
import { BaseSchedule } from '../../../
|
|
3
|
+
import { BaseSchedule } from '../../../AdaptableState/Common/Schedule';
|
|
4
4
|
export interface ScheduleWizardProps extends AdaptableOnePageWizardProps<BaseSchedule> {
|
|
5
5
|
}
|
|
6
6
|
export declare const ScheduleWizard: React.FunctionComponent<ScheduleWizardProps>;
|
|
@@ -8,7 +8,7 @@ const OnePageAdaptableWizard_1 = require("../../../View/Wizard/OnePageAdaptableW
|
|
|
8
8
|
const ScheduleSettingsWizard_1 = require("./ScheduleSettingsWizard");
|
|
9
9
|
const ScheduleScheduleWizard_1 = require("./ScheduleScheduleWizard");
|
|
10
10
|
const ScheduleScheduleSummary_1 = require("./ScheduleScheduleSummary");
|
|
11
|
-
const Enums_1 = require("../../../
|
|
11
|
+
const Enums_1 = require("../../../AdaptableState/Common/Enums");
|
|
12
12
|
const ObjectFactory_1 = tslib_1.__importDefault(require("../../../Utilities/ObjectFactory"));
|
|
13
13
|
const react_redux_1 = require("react-redux");
|
|
14
14
|
const ScheduleRedux = tslib_1.__importStar(require("../../../Redux/ActionsReducers/ScheduleRedux"));
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import { Shortcut } from '../../../
|
|
2
|
+
import { Shortcut } from '../../../AdaptableState/ShortcutState';
|
|
3
3
|
export declare const isSettingsValid: (data: Shortcut) => string | true;
|
|
4
4
|
export declare const ShortcutSettingsSummary: React.FunctionComponent;
|
|
5
5
|
interface ShortcutSettingsWizardProps {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { AdaptableOnePageWizardProps } from '../../../View/Wizard/Interface/IAdaptableWizard';
|
|
3
|
-
import { Shortcut } from '../../../
|
|
3
|
+
import { Shortcut } from '../../../AdaptableState/ShortcutState';
|
|
4
4
|
export interface ShortcutWizardProps extends AdaptableOnePageWizardProps<Shortcut> {
|
|
5
5
|
availableKeys: string[];
|
|
6
6
|
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { MathOperation } from '../../
|
|
1
|
+
import { MathOperation } from '../../AdaptableState/Common/Enums';
|
|
2
2
|
export declare const shortcutOperationList: Array<MathOperation>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.shortcutOperationList = void 0;
|
|
4
|
-
const Enums_1 = require("../../
|
|
4
|
+
const Enums_1 = require("../../AdaptableState/Common/Enums");
|
|
5
5
|
exports.shortcutOperationList = [
|
|
6
6
|
Enums_1.MathOperation.Add,
|
|
7
7
|
Enums_1.MathOperation.Subtract,
|
|
@@ -6,7 +6,7 @@ const React = tslib_1.__importStar(require("react"));
|
|
|
6
6
|
const react_redux_1 = require("react-redux");
|
|
7
7
|
const SmartEditRedux = tslib_1.__importStar(require("../../Redux/ActionsReducers/SmartEditRedux"));
|
|
8
8
|
const InternalRedux = tslib_1.__importStar(require("../../Redux/ActionsReducers/InternalRedux"));
|
|
9
|
-
const Enums_1 = require("../../
|
|
9
|
+
const Enums_1 = require("../../AdaptableState/Common/Enums");
|
|
10
10
|
const PanelWithImage_1 = require("../Components/Panels/PanelWithImage");
|
|
11
11
|
const AdaptablePopover_1 = require("../AdaptablePopover");
|
|
12
12
|
const EnumExtensions_1 = require("../../Utilities/Extensions/EnumExtensions");
|
|
@@ -4,7 +4,7 @@ exports.SmartEditViewPanelControl = void 0;
|
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
5
|
const InternalRedux = tslib_1.__importStar(require("../../Redux/ActionsReducers/InternalRedux"));
|
|
6
6
|
const SmartEditRedux = tslib_1.__importStar(require("../../Redux/ActionsReducers/SmartEditRedux"));
|
|
7
|
-
const Enums_1 = require("../../
|
|
7
|
+
const Enums_1 = require("../../AdaptableState/Common/Enums");
|
|
8
8
|
const React = tslib_1.__importStar(require("react"));
|
|
9
9
|
const StringExtensions_1 = require("../../Utilities/Extensions/StringExtensions");
|
|
10
10
|
const PreviewResultsPanel_1 = require("../Components/PreviewResultsPanel");
|
|
@@ -14,19 +14,19 @@ const StateManagementPopup = (props) => {
|
|
|
14
14
|
return (React.createElement(PopupPanel_1.PopupPanel, { className: baseClassName, headerText: props.moduleInfo.FriendlyName, glyphicon: props.moduleInfo.Glyph, infoLink: props.moduleInfo.HelpPage, infoLinkDisabled: !props.api.internalApi.isDocumentationLinksDisplayed() },
|
|
15
15
|
React.createElement(Panel_1.default, { className: `${baseClassName}__panel`, "data-name": "user-state", header: 'User State', style: { height: 'auto' }, variant: "default", borderRadius: "none", marginRight: 2, mb: 2 },
|
|
16
16
|
React.createElement(HelpBlock_1.default, { marginBottom: 2 }, 'Clear all current user state that has been persisted'),
|
|
17
|
-
React.createElement(HelpBlock_1.default, { style: { color: 'var(--ab-color-warn)' } }, 'This will cause this window to close and any State you have previously created will be lost, and the
|
|
18
|
-
React.createElement(ClearButton_1.ClearButton, { "data-name": "clear-user-state-button", tone: "info", variant: "raised", marginTop: 2, accessLevel: props.accessLevel, onClick: () => props.api.
|
|
19
|
-
React.createElement(Panel_1.default, { className: `${baseClassName}__panel`, "data-name": "
|
|
20
|
-
React.createElement(HelpBlock_1.default, { marginTop: 2 }, 'Load
|
|
17
|
+
React.createElement(HelpBlock_1.default, { style: { color: 'var(--ab-color-warn)' } }, 'This will cause this window to close and any State you have previously created will be lost, and the Initial Adaptable State will be reapplied'),
|
|
18
|
+
React.createElement(ClearButton_1.ClearButton, { "data-name": "clear-user-state-button", tone: "info", variant: "raised", marginTop: 2, accessLevel: props.accessLevel, onClick: () => props.api.stateApi.reloadInitialState() }, "Clear User State")),
|
|
19
|
+
React.createElement(Panel_1.default, { className: `${baseClassName}__panel`, "data-name": "initial-state", header: 'Initial Adaptable State', style: { height: 'auto' }, variant: "default", borderRadius: "none", marginTop: 3, marginRight: 2, mb: 2 },
|
|
20
|
+
React.createElement(HelpBlock_1.default, { marginTop: 2 }, 'Load Initial Adaptable State (from a .json file) - this will cause this window to close'),
|
|
21
21
|
' ',
|
|
22
|
-
React.createElement(LoadButton_1.LoadButton, { tone: "info", variant: "raised", marginTop: 2, accessLevel: props.accessLevel, onLoad: (json) => props.api.
|
|
22
|
+
React.createElement(LoadButton_1.LoadButton, { tone: "info", variant: "raised", marginTop: 2, accessLevel: props.accessLevel, onLoad: (json) => props.api.stateApi.reloadInitialState(json), "data-name": "load-initial-state-button" }, "Load Initial Adaptable State")),
|
|
23
23
|
React.createElement(Panel_1.default, { className: `${baseClassName}__panel`, "data-name": "adaptable-state", header: 'Export Adaptable State', style: { height: 'auto' }, variant: "default", borderRadius: "none", marginTop: 3, marginRight: 2, mb: 2 },
|
|
24
24
|
React.createElement(HelpBlock_1.default, { marginTop: 2, marginBottom: 2 }, 'Exports the currently persisted Adaptable State'),
|
|
25
25
|
' ',
|
|
26
26
|
React.createElement(ExportDropdown_1.ExportDropdown, { api: props.api, type: "adaptableState", marginRight: 3, style: { flex: 1, maxWidth: 'none' }, columns: ['label'], "data-name": "export-adaptable-state-dropdown" }, "Select Export Destination")),
|
|
27
|
-
React.createElement(Panel_1.default, { className: `${baseClassName}__panel`, "data-name": "initial-
|
|
28
|
-
React.createElement(HelpBlock_1.default, { marginTop: 2, marginBottom: 2 }, 'Exports the
|
|
27
|
+
React.createElement(Panel_1.default, { className: `${baseClassName}__panel`, "data-name": "initial-state", header: 'Export Initial Adaptable State', style: { height: 'auto' }, variant: "default", borderRadius: "none", marginTop: 3, marginRight: 2, mb: 2 },
|
|
28
|
+
React.createElement(HelpBlock_1.default, { marginTop: 2, marginBottom: 2 }, 'Exports the Initial Adaptable State which was provided at design time'),
|
|
29
29
|
' ',
|
|
30
|
-
React.createElement(ExportDropdown_1.ExportDropdown, { api: props.api, type: "
|
|
30
|
+
React.createElement(ExportDropdown_1.ExportDropdown, { api: props.api, type: "initialState", marginRight: 3, style: { flex: 1, maxWidth: 'none' }, columns: ['label'], "data-name": "export-initial-state-dropdown" }, "Select Export Destination"))));
|
|
31
31
|
};
|
|
32
32
|
exports.StateManagementPopup = StateManagementPopup;
|
|
@@ -14,9 +14,9 @@ const StateManagementViewPanel = (props) => {
|
|
|
14
14
|
const elementType = isToolbar ? 'DashboardToolbar' : 'ToolPanel';
|
|
15
15
|
return (React.createElement(rebass_1.Flex, { flexDirection: isToolbar ? 'row' : 'column', className: (0, join_1.default)(props.accessLevel == 'ReadOnly' ? GeneralConstants.READ_ONLY_STYLE : '', `ab-${elementType}__StateManagement__wrap`) },
|
|
16
16
|
React.createElement(rebass_1.Flex, { flexDirection: "row" },
|
|
17
|
-
React.createElement(LoadButton_1.LoadButton, { tooltip: "Load
|
|
18
|
-
React.createElement(ClearButton_1.ClearButton, { icon: "delete", tooltip: "Clear User State", variant: "text", onClick: () => props.api.
|
|
17
|
+
React.createElement(LoadButton_1.LoadButton, { tooltip: "Load Initial Adaptable State", variant: "text", icon: "upload", onLoad: (json) => props.api.stateApi.reloadInitialState(json), accessLevel: props.accessLevel }, !isToolbar && 'Load'),
|
|
18
|
+
React.createElement(ClearButton_1.ClearButton, { icon: "delete", tooltip: "Clear User State", variant: "text", onClick: () => props.api.stateApi.reloadInitialState(), accessLevel: props.accessLevel }, !isToolbar && 'Clear')),
|
|
19
19
|
React.createElement(ExportDropdown_1.ExportDropdown, { api: props.api, type: "adaptableState" }, "All State"),
|
|
20
|
-
React.createElement(ExportDropdown_1.ExportDropdown, { api: props.api, type: "
|
|
20
|
+
React.createElement(ExportDropdown_1.ExportDropdown, { api: props.api, type: "initialState" }, "Initial Adaptable State")));
|
|
21
21
|
};
|
|
22
22
|
exports.StateManagementViewPanel = StateManagementViewPanel;
|
|
@@ -3,6 +3,6 @@ import { AdaptableApi } from '../../../../types';
|
|
|
3
3
|
import { DropdownButtonProps } from '../../../components/DropdownButton';
|
|
4
4
|
export interface ExportDropdownProps extends Omit<DropdownButtonProps, 'options' | 'value'> {
|
|
5
5
|
api: AdaptableApi;
|
|
6
|
-
type: 'adaptableState' | '
|
|
6
|
+
type: 'adaptableState' | 'initialState';
|
|
7
7
|
}
|
|
8
8
|
export declare const ExportDropdown: React.FunctionComponent<ExportDropdownProps>;
|
|
@@ -9,12 +9,12 @@ const ExportDropdown = (props) => {
|
|
|
9
9
|
const handleChange = (destination) => {
|
|
10
10
|
switch (props.type) {
|
|
11
11
|
case 'adaptableState':
|
|
12
|
-
const adaptableState = props.api.
|
|
12
|
+
const adaptableState = props.api.stateApi.getPersistedState();
|
|
13
13
|
(0, handleExportState_1.handleExportState)(destination, 'adaptableState', adaptableState);
|
|
14
14
|
break;
|
|
15
|
-
case '
|
|
16
|
-
const
|
|
17
|
-
(0, handleExportState_1.handleExportState)(destination, '
|
|
15
|
+
case 'initialState':
|
|
16
|
+
const initialState = props.api.stateApi.getInitialState();
|
|
17
|
+
(0, handleExportState_1.handleExportState)(destination, 'initialState', initialState);
|
|
18
18
|
break;
|
|
19
19
|
}
|
|
20
20
|
};
|
|
@@ -6,7 +6,7 @@ const React = tslib_1.__importStar(require("react"));
|
|
|
6
6
|
const FileDroppable_1 = require("../../../components/FileDroppable");
|
|
7
7
|
const SimpleButton_1 = tslib_1.__importDefault(require("../../../components/SimpleButton"));
|
|
8
8
|
const LoadButton = (props) => {
|
|
9
|
-
const
|
|
9
|
+
const onLoadInitialState = (e) => {
|
|
10
10
|
const nativeEvent = e.nativeEvent;
|
|
11
11
|
let files;
|
|
12
12
|
if (nativeEvent && nativeEvent.dataTransfer) {
|
|
@@ -21,7 +21,7 @@ const LoadButton = (props) => {
|
|
|
21
21
|
});
|
|
22
22
|
};
|
|
23
23
|
return (React.createElement(SimpleButton_1.default, { ...props, className: "ab-StateManagement__Load-Button" },
|
|
24
|
-
React.createElement("input", { type: "file", onChange: (json) =>
|
|
24
|
+
React.createElement("input", { type: "file", onChange: (json) => onLoadInitialState(json), accept: '.json', style: {
|
|
25
25
|
opacity: 0,
|
|
26
26
|
position: 'absolute',
|
|
27
27
|
cursor: 'pointer',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const handleExportState: (type: 'Clipboard' | 'Console' | 'JSON', name: 'adaptableState' | '
|
|
1
|
+
export declare const handleExportState: (type: 'Clipboard' | 'Console' | 'JSON', name: 'adaptableState' | 'initialState', state: any) => void;
|
|
@@ -3,18 +3,20 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.AdaptableStatusBar = void 0;
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
5
|
const React = tslib_1.__importStar(require("react"));
|
|
6
|
+
const react_1 = require("react");
|
|
6
7
|
const react_redux_1 = require("react-redux");
|
|
7
8
|
const rebass_1 = require("rebass");
|
|
8
9
|
const StatusBarRedux_1 = require("../../Redux/ActionsReducers/StatusBarRedux");
|
|
9
10
|
const AdaptableContext_1 = require("../AdaptableContext");
|
|
10
11
|
const StatusBarPanel_1 = require("./StatusBarPanel");
|
|
12
|
+
const useRerender_1 = require("../../components/utils/useRerender");
|
|
11
13
|
const AdaptableStatusBar = (props) => {
|
|
12
|
-
/**
|
|
13
|
-
* All state is selected so the Status Bar is re-rendered for all adaptable state changes
|
|
14
|
-
*/
|
|
15
|
-
const state = (0, react_redux_1.useSelector)((state) => state);
|
|
16
|
-
const statusPanels = (0, StatusBarRedux_1.getStatusPanelsSelector)(state);
|
|
17
14
|
const adaptable = (0, AdaptableContext_1.useAdaptable)();
|
|
15
|
+
const rerender = (0, useRerender_1.useRerender)();
|
|
16
|
+
(0, react_1.useEffect)(() => {
|
|
17
|
+
return adaptable.api.eventApi.on('AdaptableStateChanged', rerender);
|
|
18
|
+
}, [adaptable]);
|
|
19
|
+
const statusPanels = (0, react_redux_1.useSelector)(StatusBarRedux_1.getStatusPanelsSelector);
|
|
18
20
|
const dispatch = (0, react_redux_1.useDispatch)();
|
|
19
21
|
const statusSubPanels = statusPanels.find((statusPanel) => statusPanel.Key === props.context.Key);
|
|
20
22
|
const allMenuItems = (0, react_redux_1.useSelector)((state) => state?.Internal?.SettingsPanelModuleEntries);
|
|
@@ -6,7 +6,7 @@ const React = tslib_1.__importStar(require("react"));
|
|
|
6
6
|
const react_redux_1 = require("react-redux");
|
|
7
7
|
const ModuleManager_1 = require("../../components/DragAndDropContext/ModuleManager");
|
|
8
8
|
const EmptyContent_1 = tslib_1.__importDefault(require("../../components/EmptyContent"));
|
|
9
|
-
const Types_1 = require("../../
|
|
9
|
+
const Types_1 = require("../../AdaptableState/Common/Types");
|
|
10
10
|
const StatusBarRedux_1 = require("../../Redux/ActionsReducers/StatusBarRedux");
|
|
11
11
|
const AdaptableContext_1 = require("../AdaptableContext");
|
|
12
12
|
const PopupPanel_1 = require("../Components/Popups/AdaptablePopup/PopupPanel");
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { AdaptableOnePageWizardProps } from '../../Wizard/Interface/IAdaptableWizard';
|
|
3
|
-
import { StyledColumn } from '../../../
|
|
3
|
+
import { StyledColumn } from '../../../AdaptableState/StyledColumnState';
|
|
4
4
|
export interface StyledColumnWizardProps extends AdaptableOnePageWizardProps<StyledColumn> {
|
|
5
5
|
isNew: boolean;
|
|
6
6
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import { StyledColumn } from '../../../
|
|
2
|
+
import { StyledColumn } from '../../../AdaptableState/StyledColumnState';
|
|
3
3
|
export declare const renderStyledColumnColumnSummary: (data: StyledColumn) => React.JSX.Element;
|
|
4
4
|
export declare const isValidStyledColumnColumn: (data: StyledColumn) => true | string;
|
|
5
5
|
export type StyledColumnWizardColumnSectionProps = {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import { StyledColumn } from '../../../../
|
|
2
|
+
import { StyledColumn } from '../../../../AdaptableState/StyledColumnState';
|
|
3
3
|
import { AdaptableApi } from '../../../../types';
|
|
4
4
|
export declare const renderFormatColumnStyleWizardSummary: (data: StyledColumn) => React.JSX.Element;
|
|
5
5
|
export declare const renderStyledColumnStyleSummary: (data: StyledColumn, api: AdaptableApi) => React.JSX.Element;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import { StyledColumn } from '../../../
|
|
2
|
+
import { StyledColumn } from '../../../AdaptableState/StyledColumnState';
|
|
3
3
|
export declare const renderStyledColumnTypeSummary: (data: StyledColumn) => React.JSX.Element;
|
|
4
4
|
export interface StyledColumnWizardTypeSectionProps {
|
|
5
5
|
onChange: (styledColumn: StyledColumn) => void;
|
|
@@ -12,7 +12,7 @@ const AdaptableHelper_1 = tslib_1.__importDefault(require("../../Utilities/Helpe
|
|
|
12
12
|
const SystemStatusEntityRow_1 = require("./SystemStatusEntityRow");
|
|
13
13
|
const ArrayExtensions_1 = tslib_1.__importDefault(require("../../Utilities/Extensions/ArrayExtensions"));
|
|
14
14
|
const PopupPanel_1 = require("../Components/Popups/AdaptablePopup/PopupPanel");
|
|
15
|
-
const Enums_1 = require("../../
|
|
15
|
+
const Enums_1 = require("../../AdaptableState/Common/Enums");
|
|
16
16
|
const colItems = [
|
|
17
17
|
{ Content: 'Message', Size: 10 },
|
|
18
18
|
{ Content: 'Timestamp', Size: 3 },
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ViewPanelProps } from '../Components/SharedProps/ViewPanelProps';
|
|
2
|
-
import { SystemStatusMessageInfo } from '../../
|
|
2
|
+
import { SystemStatusMessageInfo } from '../../AdaptableState/Common/SystemStatusMessageInfo';
|
|
3
3
|
import * as React from 'react';
|
|
4
4
|
export interface SystemStatusViewPanelComponentProps extends ViewPanelProps {
|
|
5
5
|
SystemStatusMessageInfos: SystemStatusMessageInfo[];
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import * as ThemeRedux from '../../Redux/ActionsReducers/ThemeRedux';
|
|
3
3
|
import { ModuleViewPopupProps } from '../Components/SharedProps/ModuleViewPopupProps';
|
|
4
|
-
import { AdaptableTheme } from '../../
|
|
4
|
+
import { AdaptableTheme } from '../../AdaptableState/ThemeState';
|
|
5
5
|
interface ThemePopupProps extends ModuleViewPopupProps<ThemePopupComponent> {
|
|
6
6
|
CurrentTheme: string;
|
|
7
7
|
UserThemes: AdaptableTheme[];
|
package/src/View/UIHelper.d.ts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { CSSProperties } from 'react';
|
|
2
2
|
import { EditableConfigEntityState } from './Components/SharedProps/EditableConfigEntityState';
|
|
3
|
-
import { StatusColour } from '../
|
|
4
|
-
import { AdaptableStyle } from '../
|
|
5
|
-
import { Schedule, Weekday } from '../
|
|
3
|
+
import { StatusColour } from '../AdaptableState/Common/Enums';
|
|
4
|
+
import { AdaptableStyle } from '../AdaptableState/Common/AdaptableStyle';
|
|
5
|
+
import { Schedule, Weekday } from '../AdaptableState/Common/Schedule';
|
|
6
6
|
import { AdaptableColumnDataType, AdaptableSystemIconName, AdaptableOptions } from '../types';
|
|
7
|
-
import { AdaptableAlert } from '../
|
|
8
|
-
import { AdaptableMessageType } from '../
|
|
7
|
+
import { AdaptableAlert } from '../AdaptableState/Common/AdaptableAlert';
|
|
8
|
+
import { AdaptableMessageType } from '../AdaptableState/Common/AdaptableMessageType';
|
|
9
9
|
export declare const BLACK: string;
|
|
10
10
|
export declare const WHITE: string;
|
|
11
11
|
export declare const LIGHT_GRAY: string;
|
package/src/View/UIHelper.js
CHANGED
|
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.UIHelper = exports.isBrowserDocumentAvailable = exports.setCSSVariableValue = exports.getCSSVariableValue = exports.getSimpleButtonPaddingWidth = exports.getAdaptableToolPanelWidth = exports.getButtonTextColourForMessageType = exports.getButtonTextColourForArrayandMessageType = exports.getButtonColourForAdaptableAlerts = exports.getMessageTypeFromAdaptableAlerts = exports.getWeekDayByIndex = exports.getScheduleDescription = exports.getButtonToneForMessageType = exports.getGlyphForMessageType = exports.getGlyphForStatusColour = exports.getStyleForMessageType = exports.getStyleForStatusColour = exports.getColorByMessageType = exports.getGlyphByMessageType = exports.getButtonToneByMessageType = exports.getMessageTypeByStatusColour = exports.IsNotEmptyStyle = exports.IsEmptyStyle = exports.getModalContainer = exports.getPlaceholderForDataType = exports.getDescriptionForDataType = exports.getEmptyConfigState = exports.getDefaultColors = exports.getHexForName = exports.ORANGE = exports.LIGHT_RED = exports.RED = exports.DARK_RED = exports.PURPLE = exports.MAGENTA = exports.CYAN = exports.LIGHT_BLUE = exports.BLUE = exports.DARK_BLUE = exports.LIGHT_YELLOW = exports.YELLOW = exports.LIME_GREEN = exports.GREEN = exports.DARK_GREEN = exports.BROWN = exports.GRAY = exports.LIGHT_GRAY = exports.WHITE = exports.BLACK = void 0;
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
5
|
const EditableConfigEntityState_1 = require("./Components/SharedProps/EditableConfigEntityState");
|
|
6
|
-
const Enums_1 = require("../
|
|
6
|
+
const Enums_1 = require("../AdaptableState/Common/Enums");
|
|
7
7
|
const StringExtensions_1 = require("../Utilities/Extensions/StringExtensions");
|
|
8
8
|
const ArrayExtensions_1 = tslib_1.__importDefault(require("../Utilities/Extensions/ArrayExtensions"));
|
|
9
9
|
exports.BLACK = 'Black';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import { AdaptableObject } from '../../../
|
|
2
|
+
import { AdaptableObject } from '../../../AdaptableState/Common/AdaptableObject';
|
|
3
3
|
import { AdaptableApi } from '../../../Api/AdaptableApi';
|
|
4
4
|
import { ModuleInfo } from '../../../Strategy/Interface/IModule';
|
|
5
5
|
import { ModuleParams } from '../../Components/SharedProps/ModuleViewPopupProps';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import { AdaptableObject } from '../../
|
|
2
|
+
import { AdaptableObject } from '../../AdaptableState/Common/AdaptableObject';
|
|
3
3
|
type ObjectTagsWizardSectionProps<T extends AdaptableObject> = {
|
|
4
4
|
onChange: (data: T) => void;
|
|
5
5
|
};
|
|
@@ -8,7 +8,7 @@ import { EmitterCallback } from '../Utilities/Emitter';
|
|
|
8
8
|
import { AdaptablePlugin } from '../AdaptableOptions/AdaptablePlugin';
|
|
9
9
|
import { AgGridAdapter } from './AgGridAdapter';
|
|
10
10
|
import { IDataService } from '../Utilities/Services/Interface/IDataService';
|
|
11
|
-
import { AdaptableState } from '../
|
|
11
|
+
import { AdaptableState } from '../AdaptableState/AdaptableState';
|
|
12
12
|
import { IAdaptableStore } from '../Redux/Store/Interface/IAdaptableStore';
|
|
13
13
|
import { ICalculatedColumnExpressionService } from '../Utilities/Services/Interface/ICalculatedColumnExpressionService';
|
|
14
14
|
import { IModuleService } from '../Utilities/Services/Interface/IModuleService';
|
|
@@ -26,7 +26,7 @@ import { RenderReactRootFn } from '../renderReactRoot';
|
|
|
26
26
|
import { AgGridOptionsService } from './AgGridOptionsService';
|
|
27
27
|
import { AgGridColumnAdapter } from './AgGridColumnAdapter';
|
|
28
28
|
import { RowFormService } from '../Utilities/Services/RowFormService';
|
|
29
|
-
import { GridCellWithCount } from '../
|
|
29
|
+
import { GridCellWithCount } from '../AdaptableState/Selection/GridCell';
|
|
30
30
|
import { FlashingCellService } from '../Utilities/Services/FlashingCellService';
|
|
31
31
|
import { AgGridExportAdapter } from './AgGridExportAdapter';
|
|
32
32
|
import { AgGridThemeAdapter } from './AgGridThemeAdapter';
|
|
@@ -333,5 +333,6 @@ export declare class AdaptableAgGrid implements IAdaptable {
|
|
|
333
333
|
refreshLayout(): void;
|
|
334
334
|
private isRowGroupDifferentInLayout;
|
|
335
335
|
private onLayoutChange;
|
|
336
|
+
private validateColumnDefTypes;
|
|
336
337
|
}
|
|
337
338
|
export {};
|
|
@@ -28,7 +28,7 @@ const AlertService_1 = require("../Utilities/Services/AlertService");
|
|
|
28
28
|
const TeamSharingService_1 = require("../Utilities/Services/TeamSharingService");
|
|
29
29
|
const MetamodelService_1 = require("../Utilities/Services/MetamodelService");
|
|
30
30
|
const LicenseService_1 = require("../Utilities/Services/LicenseService");
|
|
31
|
-
const Types_1 = require("../
|
|
31
|
+
const Types_1 = require("../AdaptableState/Common/Types");
|
|
32
32
|
const ModuleConstants = tslib_1.__importStar(require("../Utilities/Constants/ModuleConstants"));
|
|
33
33
|
const ModuleConstants_1 = require("../Utilities/Constants/ModuleConstants");
|
|
34
34
|
const DashboardModule_1 = require("../Strategy/DashboardModule");
|
|
@@ -71,7 +71,7 @@ const Helper_1 = require("../Utilities/Helpers/Helper");
|
|
|
71
71
|
const uuid_1 = require("../components/utils/uuid");
|
|
72
72
|
const UIHelper_1 = tslib_1.__importDefault(require("../View/UIHelper"));
|
|
73
73
|
const AdaptableToolPanel_1 = require("../View/Components/ToolPanel/AdaptableToolPanel");
|
|
74
|
-
const StatusBarState_1 = require("../
|
|
74
|
+
const StatusBarState_1 = require("../AdaptableState/StatusBarState");
|
|
75
75
|
const AdaptableStatusBar_1 = require("../View/StatusBar/AdaptableStatusBar");
|
|
76
76
|
const ArrayExtensions_1 = tslib_1.__importDefault(require("../Utilities/Extensions/ArrayExtensions"));
|
|
77
77
|
const AgGridMenuAdapter_1 = require("./AgGridMenuAdapter");
|
|
@@ -81,9 +81,9 @@ const AgGridOptionsService_1 = require("./AgGridOptionsService");
|
|
|
81
81
|
const DateHelper_1 = require("../Utilities/Helpers/DateHelper");
|
|
82
82
|
const AgGridColumnAdapter_1 = require("./AgGridColumnAdapter");
|
|
83
83
|
const getScrollbarSize_1 = tslib_1.__importDefault(require("../Utilities/getScrollbarSize"));
|
|
84
|
-
const AggregationColumns_1 = require("../
|
|
84
|
+
const AggregationColumns_1 = require("../AdaptableState/Common/AggregationColumns");
|
|
85
85
|
const RowFormService_1 = require("../Utilities/Services/RowFormService");
|
|
86
|
-
const Enums_1 = require("../
|
|
86
|
+
const Enums_1 = require("../AdaptableState/Common/Enums");
|
|
87
87
|
const EnvVars_1 = require("../EnvVars");
|
|
88
88
|
const AdaptableUpgradeHelper_1 = require("../migration/AdaptableUpgradeHelper");
|
|
89
89
|
const Modal_1 = require("../components/Modal");
|
|
@@ -91,18 +91,24 @@ const AdaptableLoadingScreen_1 = require("../View/Components/Popups/AdaptableLoa
|
|
|
91
91
|
const react_1 = require("react");
|
|
92
92
|
const createAgStatusPanelComponent_1 = require("../Utilities/createAgStatusPanelComponent");
|
|
93
93
|
const weightedAverage_1 = require("../Utilities/weightedAverage");
|
|
94
|
-
const RowSummary_1 = require("../
|
|
94
|
+
const RowSummary_1 = require("../AdaptableState/Common/RowSummary");
|
|
95
95
|
const FlashingCellService_1 = require("../Utilities/Services/FlashingCellService");
|
|
96
96
|
const AgGridExportAdapter_1 = require("./AgGridExportAdapter");
|
|
97
97
|
const LayoutHelpers_1 = require("../Api/Implementation/LayoutHelpers");
|
|
98
98
|
const src_1 = require("../layout-manager/src");
|
|
99
99
|
const isPivotLayoutModel_1 = require("../layout-manager/src/isPivotLayoutModel");
|
|
100
|
-
const AdaptableColumn_1 = require("../
|
|
100
|
+
const AdaptableColumn_1 = require("../AdaptableState/Common/AdaptableColumn");
|
|
101
101
|
const agGridDataTypeDefinitions_1 = require("./agGridDataTypeDefinitions");
|
|
102
102
|
const AgGridThemeAdapter_1 = require("./AgGridThemeAdapter");
|
|
103
|
+
const VersionUpgrade20_1 = require("../migration/VersionUpgrade20");
|
|
103
104
|
const LocalEventService_Prototype = ag_grid_enterprise_1.LocalEventService.prototype;
|
|
104
105
|
const LocalEventService_dispatchEvent = LocalEventService_Prototype.dispatchEvent;
|
|
105
106
|
LocalEventService_Prototype.dispatchEvent = function (event) {
|
|
107
|
+
const agGridApi = event.api;
|
|
108
|
+
if (agGridApi?.isDestroyed()) {
|
|
109
|
+
// do nothing if AG Grid was destroyed in the meantime
|
|
110
|
+
return;
|
|
111
|
+
}
|
|
106
112
|
LocalEventService_dispatchEvent.apply(this, arguments);
|
|
107
113
|
if (event.type === 'cellChanged' || event.type === 'dataChanged') {
|
|
108
114
|
const eventRowNode = event.node;
|
|
@@ -122,6 +128,10 @@ LocalEventService_Prototype.dispatchEvent = function (event) {
|
|
|
122
128
|
// so IGNORE IT
|
|
123
129
|
return;
|
|
124
130
|
}
|
|
131
|
+
if (adaptable.isDestroyed) {
|
|
132
|
+
// do nothing if adaptable is destroyed (this is a rare case and happens when Adaptable is quickly destroyed and recreated)
|
|
133
|
+
return;
|
|
134
|
+
}
|
|
125
135
|
// we're on the correct instance, so do this
|
|
126
136
|
//@ts-ignore
|
|
127
137
|
const fn = adaptable.rowListeners ? adaptable.rowListeners[event.type] : null;
|
|
@@ -357,9 +367,10 @@ class AdaptableAgGrid {
|
|
|
357
367
|
this.lifecycleState = 'initAgGrid';
|
|
358
368
|
this.agGridAdapter.initialGridOptions = gridOptions;
|
|
359
369
|
const perfInitAgGrid = this.logger.beginPerf(`initAgGrid()`);
|
|
360
|
-
// AG Grid evaluates early on the floatingFilter params, so we need to "
|
|
370
|
+
// AG Grid evaluates early on the floatingFilter params, so we need to "suppress" the floating filter temporarily
|
|
361
371
|
// we will reset it once Adaptable is ready
|
|
362
372
|
this.agGridColumnAdapter.setupColumnFloatingFilterTemporarily(gridOptions);
|
|
373
|
+
this.validateColumnDefTypes(gridOptions.columnDefs);
|
|
363
374
|
const agGridApi = await this.initializeAgGrid(gridOptions, config.modules, config.renderAgGridFrameworkComponent);
|
|
364
375
|
if (agGridApi === false) {
|
|
365
376
|
this.midwayDestroy();
|
|
@@ -486,7 +497,7 @@ class AdaptableAgGrid {
|
|
|
486
497
|
// ensure that at least one Layout has been provided
|
|
487
498
|
if (!layoutState || !layoutState.Layouts?.length) {
|
|
488
499
|
this.logger
|
|
489
|
-
.consoleError(`You have not defined any Layout in your
|
|
500
|
+
.consoleError(`You have not defined any Layout in your InitialState.Layout.Layouts[] state!
|
|
490
501
|
|
|
491
502
|
You need to define at least one Layout!`);
|
|
492
503
|
}
|
|
@@ -520,7 +531,7 @@ You need to define at least one Layout!`);
|
|
|
520
531
|
isTree: !!gridOptions.treeData,
|
|
521
532
|
};
|
|
522
533
|
// it's very important that we do this here
|
|
523
|
-
// as the layout may not be fully specified in the
|
|
534
|
+
// as the layout may not be fully specified in the initialState
|
|
524
535
|
// eg: might not include the generated row group columns in the column order
|
|
525
536
|
// but the normalization does this for us
|
|
526
537
|
state.Layout.Layouts = state.Layout.Layouts.map((layout) => (0, LayoutHelpers_1.normalizeLayout)(layout, normalizeOptions));
|
|
@@ -531,7 +542,7 @@ You need to define at least one Layout!`);
|
|
|
531
542
|
if (state?.ToolPanel?.ToolPanels) {
|
|
532
543
|
return state;
|
|
533
544
|
}
|
|
534
|
-
// no
|
|
545
|
+
// no Initial Adaptable State provided, we will display all the panels collapsed (custom & module)
|
|
535
546
|
const defaultToolPanels = [];
|
|
536
547
|
this.adaptableOptions.toolPanelOptions?.customToolPanels?.forEach((customToolPanel) => defaultToolPanels.push({ Name: customToolPanel.name }));
|
|
537
548
|
Types_1.ALL_TOOL_PANELS.forEach((moduleToolPanel) => defaultToolPanels.push({ Name: moduleToolPanel }));
|
|
@@ -541,11 +552,12 @@ You need to define at least one Layout!`);
|
|
|
541
552
|
return state;
|
|
542
553
|
}
|
|
543
554
|
applyFiltering() {
|
|
544
|
-
this.agGridAdapter.getAgGridApi()
|
|
555
|
+
const agGridApi = this.agGridAdapter.getAgGridApi();
|
|
545
556
|
this._emit('AdapTableFiltersApplied');
|
|
546
557
|
this.refreshSelectedCellsState();
|
|
547
558
|
this.refreshSelectedRowsState();
|
|
548
559
|
this.agGridAdapter.updateColumnFilterActiveState();
|
|
560
|
+
agGridApi.onFilterChanged();
|
|
549
561
|
}
|
|
550
562
|
// refreshAgGridWithAdaptableState() {
|
|
551
563
|
// this.refreshColDefs();
|
|
@@ -2625,7 +2637,7 @@ You need to define at least one Layout!`);
|
|
|
2625
2637
|
themeClassNamesToRemove.forEach((cssClassName) => el.classList.remove(cssClassName));
|
|
2626
2638
|
// remove infinite table classnames
|
|
2627
2639
|
themesToRemove.forEach((theme) => {
|
|
2628
|
-
el.classList.remove(`infinite
|
|
2640
|
+
el.classList.remove(`infinite-theme-mode--${theme.Name}`);
|
|
2629
2641
|
});
|
|
2630
2642
|
// VARIANT
|
|
2631
2643
|
let variantTheme = '';
|
|
@@ -2641,10 +2653,10 @@ You need to define at least one Layout!`);
|
|
|
2641
2653
|
}
|
|
2642
2654
|
if (isSystemTheme) {
|
|
2643
2655
|
// add infinite table classname for theme
|
|
2644
|
-
el.classList.add(`infinite
|
|
2656
|
+
el.classList.add(`infinite-theme-mode--${themeName}`);
|
|
2645
2657
|
}
|
|
2646
2658
|
else if (variantTheme) {
|
|
2647
|
-
el.classList.add(`infinite
|
|
2659
|
+
el.classList.add(`infinite-theme-mode--${variantTheme}`);
|
|
2648
2660
|
}
|
|
2649
2661
|
// Update AG THEME
|
|
2650
2662
|
this.agGridThemeAdapter.applyAgGridThemeOnAdaptableThemeChange(newTheme, variantTheme, container, themesToRemove);
|
|
@@ -3292,5 +3304,25 @@ You need to define at least one Layout!`);
|
|
|
3292
3304
|
this.__prevLayoutForOnChange = layout;
|
|
3293
3305
|
this.api.layoutApi.createOrUpdateLayout(layout);
|
|
3294
3306
|
}
|
|
3307
|
+
validateColumnDefTypes(columnDefs) {
|
|
3308
|
+
// in Adaptable version 20 we switched from colDef.type to colDef.cellDataType
|
|
3309
|
+
// although we documented this change and try to infer the correct cellDataTypes, it's best to also check if the client dev forgot to adjust his colDefs
|
|
3310
|
+
columnDefs.forEach((colDef) => {
|
|
3311
|
+
if (colDef.children?.length) {
|
|
3312
|
+
this.validateColumnDefTypes(colDef.children);
|
|
3313
|
+
}
|
|
3314
|
+
const columnDefinition = colDef;
|
|
3315
|
+
const colDefType = columnDefinition.type;
|
|
3316
|
+
const colDefTypes = typeof colDefType === 'string' ? [colDefType] : colDefType || [];
|
|
3317
|
+
colDefTypes
|
|
3318
|
+
.filter((colType) => colType.startsWith('abColDef'))
|
|
3319
|
+
.forEach((colType) => {
|
|
3320
|
+
const newValidCellDataType = (0, VersionUpgrade20_1.mapOldTypeToDataType)(colType);
|
|
3321
|
+
if (newValidCellDataType) {
|
|
3322
|
+
this.logger.consoleWarn(`Column ${columnDefinition.colId ?? columnDefinition.field} has a type of ${colType} which is no longer in use${newValidCellDataType !== 'unknown' ? `. Please use 'colDef.cellDataType' instead: ${newValidCellDataType}` : ''}`);
|
|
3323
|
+
}
|
|
3324
|
+
});
|
|
3325
|
+
});
|
|
3326
|
+
}
|
|
3295
3327
|
}
|
|
3296
3328
|
exports.AdaptableAgGrid = AdaptableAgGrid;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AdaptableMessageType } from '../
|
|
1
|
+
import { AdaptableMessageType } from '../AdaptableState/Common/AdaptableMessageType';
|
|
2
2
|
export declare const errorOnce: (message: string) => void;
|
|
3
3
|
export declare class AdaptableLogger {
|
|
4
4
|
private adaptableId;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { ColDef, ColGroupDef, Column, GridApi, GridOptions, IRowNode, ManagedGridOptionKey, ManagedGridOptions, Module, ModuleName } from 'ag-grid-enterprise';
|
|
2
2
|
import { AdaptableAgGrid } from './AdaptableAgGrid';
|
|
3
|
-
import { AdaptableColumn, AdaptableColumnGroup } from '../
|
|
4
|
-
import { SelectedCellInfo } from '../
|
|
5
|
-
import { SelectedRowInfo } from '../
|
|
3
|
+
import { AdaptableColumn, AdaptableColumnGroup } from '../AdaptableState/Common/AdaptableColumn';
|
|
4
|
+
import { SelectedCellInfo } from '../AdaptableState/Selection/SelectedCellInfo';
|
|
5
|
+
import { SelectedRowInfo } from '../AdaptableState/Selection/SelectedRowInfo';
|
|
6
6
|
export type AgGridThemeMode = 'legacy' | 'themingApi';
|
|
7
7
|
export declare class AgGridAdapter {
|
|
8
8
|
private _adaptableInstance;
|