@adaptabletools/adaptable 20.0.0-canary.9 → 20.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/base.css +1327 -919
- package/base.css.map +1 -1
- package/index.css +464 -919
- package/index.css.map +1 -1
- package/package.json +4 -4
- package/src/AdaptableInterfaces/AdaptableNoCodeWizard.d.ts +1 -1
- package/src/AdaptableInterfaces/IAdaptable.d.ts +8 -8
- package/src/AdaptableOptions/ActionColumnOptions.d.ts +1 -1
- package/src/AdaptableOptions/AdaptableOptions.d.ts +3 -3
- package/src/AdaptableOptions/AdaptablePlugin.d.ts +4 -4
- package/src/AdaptableOptions/AlertOptions.d.ts +3 -3
- package/src/AdaptableOptions/CellSummaryOptions.d.ts +1 -1
- package/src/AdaptableOptions/ChartingOptions.d.ts +1 -1
- package/src/AdaptableOptions/ColumnMenuOptions.d.ts +4 -1
- package/src/AdaptableOptions/ContextMenuOptions.d.ts +10 -1
- package/src/AdaptableOptions/CustomSortOptions.d.ts +1 -1
- package/src/AdaptableOptions/DashboardOptions.d.ts +4 -4
- package/src/AdaptableOptions/DataChangeHistoryOptions.d.ts +1 -1
- package/src/AdaptableOptions/DataSetOptions.d.ts +1 -1
- package/src/AdaptableOptions/DefaultAdaptableOptions.js +7 -7
- package/src/AdaptableOptions/EditOptions.d.ts +3 -3
- package/src/AdaptableOptions/EntitlementOptions.d.ts +2 -2
- package/src/AdaptableOptions/ExportOptions.d.ts +34 -52
- package/src/AdaptableOptions/ExpressionOptions.d.ts +4 -4
- package/src/AdaptableOptions/Fdc3Options.d.ts +3 -3
- package/src/AdaptableOptions/FilterOptions.d.ts +3 -3
- package/src/AdaptableOptions/FlashingCellOptions.d.ts +1 -1
- package/src/AdaptableOptions/FormatColumnOptions.d.ts +2 -2
- package/src/AdaptableOptions/LayoutOptions.d.ts +11 -11
- package/src/AdaptableOptions/OpenFinPluginOptions.d.ts +1 -1
- package/src/AdaptableOptions/QuickSearchOptions.d.ts +2 -2
- package/src/AdaptableOptions/RowFormOptions.d.ts +7 -1
- package/src/AdaptableOptions/SettingsPanelOptions.d.ts +1 -1
- package/src/AdaptableOptions/StateOptions.d.ts +2 -2
- package/src/AdaptableOptions/TeamSharingOptions.d.ts +3 -3
- package/src/AdaptableOptions/ToolPanelOptions.d.ts +3 -3
- package/src/AdaptableOptions/UserInterfaceOptions.d.ts +5 -5
- package/src/{PredefinedConfig → AdaptableState}/AdaptableState.d.ts +7 -7
- package/src/{PredefinedConfig → AdaptableState}/AlertState.d.ts +3 -3
- package/src/{PredefinedConfig → AdaptableState}/ApplicationState.d.ts +3 -3
- package/src/{PredefinedConfig/ConfigState.d.ts → AdaptableState/BaseState.d.ts} +2 -2
- package/src/{PredefinedConfig → AdaptableState}/CalculatedColumnState.d.ts +3 -3
- package/src/{PredefinedConfig → AdaptableState}/ChartingState.d.ts +2 -2
- package/src/{PredefinedConfig → AdaptableState}/CommentState.d.ts +2 -2
- package/src/{PredefinedConfig → AdaptableState}/Common/AdaptableColumn.d.ts +3 -0
- package/src/{PredefinedConfig → AdaptableState}/Common/AdaptableObject.d.ts +8 -2
- package/src/{PredefinedConfig → AdaptableState}/Common/AdaptablePredicate.d.ts +1 -1
- package/src/{PredefinedConfig → AdaptableState}/Common/AdaptablePredicate.js +15 -15
- package/src/{PredefinedConfig → AdaptableState}/Common/AggregationColumns.d.ts +6 -0
- package/src/{PredefinedConfig → AdaptableState}/Common/ColumnFilter.d.ts +6 -2
- package/src/{PredefinedConfig → AdaptableState}/Common/Menu.d.ts +6 -0
- package/src/{PredefinedConfig → AdaptableState}/Common/Types.d.ts +1 -1
- package/src/{PredefinedConfig → AdaptableState}/CustomSortState.d.ts +3 -3
- package/src/{PredefinedConfig → AdaptableState}/DashboardState.d.ts +3 -3
- package/src/{PredefinedConfig → AdaptableState}/ExportState.d.ts +12 -3
- package/src/{PredefinedConfig → AdaptableState}/FlashingCellState.d.ts +14 -11
- package/src/{PredefinedConfig → AdaptableState}/FormatColumnState.d.ts +3 -3
- package/src/{PredefinedConfig → AdaptableState}/FreeTextColumnState.d.ts +3 -3
- package/src/{PredefinedConfig → AdaptableState}/IPushPullState.d.ts +2 -2
- package/src/AdaptableState/InitialState.d.ts +200 -0
- package/src/{PredefinedConfig → AdaptableState}/InternalState.d.ts +1 -1
- package/src/{PredefinedConfig → AdaptableState}/LayoutState.d.ts +6 -6
- package/src/{PredefinedConfig → AdaptableState}/NamedQueryState.d.ts +3 -3
- package/src/{PredefinedConfig → AdaptableState}/NoteState.d.ts +3 -3
- package/src/{PredefinedConfig → AdaptableState}/OpenFinState.d.ts +2 -2
- package/src/{PredefinedConfig → AdaptableState}/PlusMinusState.d.ts +3 -3
- package/src/{PredefinedConfig → AdaptableState}/PopupState.d.ts +2 -2
- package/src/{PredefinedConfig → AdaptableState}/QuickSearchState.d.ts +3 -3
- package/src/{PredefinedConfig → AdaptableState}/ScheduleState.d.ts +3 -3
- package/src/{PredefinedConfig → AdaptableState}/ShortcutState.d.ts +3 -3
- package/src/{PredefinedConfig → AdaptableState}/StatusBarState.d.ts +3 -3
- package/src/{PredefinedConfig → AdaptableState}/StyledColumnState.d.ts +3 -3
- package/src/{PredefinedConfig → AdaptableState}/TeamSharingState.d.ts +3 -3
- package/src/{PredefinedConfig → AdaptableState}/ThemeState.d.ts +16 -4
- package/src/{PredefinedConfig → AdaptableState}/ToolPanelState.d.ts +3 -3
- package/src/Api/AdaptableApi.d.ts +2 -2
- package/src/Api/AlertApi.d.ts +3 -3
- package/src/Api/ApplicationApi.d.ts +1 -1
- package/src/Api/CalculatedColumnApi.d.ts +1 -1
- package/src/Api/CellSummaryApi.d.ts +1 -1
- package/src/Api/ChartingApi.d.ts +1 -1
- package/src/Api/ColumnFilterApi.d.ts +6 -1
- package/src/Api/ColumnScopeApi.d.ts +3 -3
- package/src/Api/CommentApi.d.ts +1 -1
- package/src/Api/CustomSortApi.d.ts +1 -1
- package/src/Api/DashboardApi.d.ts +3 -3
- package/src/Api/DataChangeHistoryApi.d.ts +1 -1
- package/src/Api/Events/AdaptableStateChanged.d.ts +1 -1
- package/src/Api/Events/AdaptableStateReloaded.d.ts +1 -1
- package/src/Api/Events/AlertFired.d.ts +1 -1
- package/src/Api/Events/CalculatedColumnChanged.d.ts +1 -1
- package/src/Api/Events/CellChanged.d.ts +1 -1
- package/src/Api/Events/CellSelectionChanged.d.ts +1 -1
- package/src/Api/Events/DashboardChanged.d.ts +1 -1
- package/src/Api/Events/FlashingCellDisplayed.d.ts +1 -1
- package/src/Api/Events/GridSorted.d.ts +1 -1
- package/src/Api/Events/LayoutChanged.d.ts +1 -1
- package/src/Api/Events/LiveDataChanged.d.ts +1 -1
- package/src/Api/Events/RowChanged.d.ts +2 -2
- package/src/Api/Events/RowFormSubmitted.d.ts +1 -1
- package/src/Api/Events/RowSelectionChanged.d.ts +1 -1
- package/src/Api/Events/ScheduleTriggered.d.ts +1 -1
- package/src/Api/Events/SystemStatusMessageDisplayed.d.ts +1 -1
- package/src/Api/Events/TeamSharingEntityChanged.d.ts +1 -1
- package/src/Api/Events/ThemeChanged.d.ts +1 -1
- package/src/Api/ExportApi.d.ts +5 -14
- package/src/Api/ExpressionApi.d.ts +3 -3
- package/src/Api/FlashingCellApi.d.ts +5 -5
- package/src/Api/FormatColumnApi.d.ts +1 -1
- package/src/Api/FreeTextColumnApi.d.ts +1 -1
- package/src/Api/GridApi.d.ts +13 -13
- package/src/Api/IPushPullApi.d.ts +2 -2
- package/src/Api/Implementation/AdaptableApiImpl.d.ts +2 -2
- package/src/Api/Implementation/AdaptableApiImpl.js +3 -3
- package/src/Api/Implementation/AlertApiImpl.d.ts +4 -4
- package/src/Api/Implementation/AlertApiImpl.js +1 -1
- package/src/Api/Implementation/ApiBase.d.ts +5 -5
- package/src/Api/Implementation/ApiBase.js +3 -3
- package/src/Api/Implementation/CalculatedColumnApiImpl.d.ts +1 -1
- package/src/Api/Implementation/CellSummaryApiImpl.d.ts +2 -2
- package/src/Api/Implementation/CellSummaryApiImpl.js +1 -1
- package/src/Api/Implementation/ChartingApiImpl.d.ts +1 -1
- package/src/Api/Implementation/ColumnApiImpl.d.ts +1 -1
- package/src/Api/Implementation/ColumnFilterApiImpl.d.ts +3 -2
- package/src/Api/Implementation/ColumnFilterApiImpl.js +11 -4
- package/src/Api/Implementation/ColumnScopeApiImpl.d.ts +3 -3
- package/src/Api/Implementation/CustomSortApiImpl.d.ts +1 -1
- package/src/Api/Implementation/DashboardApiImpl.d.ts +3 -3
- package/src/Api/Implementation/DataChangeHistoryApiImpl.d.ts +1 -1
- package/src/Api/Implementation/ExportApiImpl.d.ts +5 -6
- package/src/Api/Implementation/ExportApiImpl.js +52 -48
- package/src/Api/Implementation/ExpressionApiImpl.d.ts +3 -3
- package/src/Api/Implementation/ExpressionApiImpl.js +1 -1
- package/src/Api/Implementation/Fdc3ApiImpl.js +1 -1
- package/src/Api/Implementation/FlashingCellApiImpl.d.ts +4 -4
- package/src/Api/Implementation/FormatColumnApiImpl.d.ts +3 -3
- package/src/Api/Implementation/FreeTextColumnApiImpl.d.ts +1 -1
- package/src/Api/Implementation/GridApiImpl.d.ts +12 -12
- package/src/Api/Implementation/GridApiImpl.js +1 -1
- package/src/Api/Implementation/LayoutApiImpl.d.ts +4 -4
- package/src/Api/Implementation/LayoutApiImpl.js +1 -1
- package/src/Api/Implementation/LayoutHelpers.js +1 -1
- package/src/Api/Implementation/NoteApiImpl.d.ts +1 -1
- package/src/Api/Implementation/PlusMinusApiImpl.d.ts +2 -2
- package/src/Api/Implementation/PredicateApiImpl.js +2 -2
- package/src/Api/Implementation/QuickSearchApiImpl.d.ts +2 -2
- package/src/Api/Implementation/ScheduleApiImpl.d.ts +5 -5
- package/src/Api/Implementation/SettingsPanelApiImpl.js +3 -1
- package/src/Api/Implementation/ShortcutApiImpl.d.ts +1 -1
- package/src/Api/Implementation/SmartEditApiImpl.d.ts +1 -1
- package/src/Api/Implementation/{ConfigApiImpl.d.ts → StateApiImpl.d.ts} +29 -27
- package/src/Api/Implementation/{ConfigApiImpl.js → StateApiImpl.js} +18 -9
- package/src/Api/Implementation/StatusBarApiImpl.d.ts +1 -1
- package/src/Api/Implementation/StyledColumnApiImpl.d.ts +1 -1
- package/src/Api/Implementation/SystemStatusApiImpl.d.ts +2 -2
- package/src/Api/Implementation/TeamSharingApiImpl.js +1 -1
- package/src/Api/Implementation/ThemeApiImpl.d.ts +1 -1
- package/src/Api/Implementation/ToolPanelApiImpl.d.ts +3 -3
- package/src/Api/Implementation/UserInterfaceApiImpl.d.ts +2 -2
- package/src/Api/Internal/ActionColumnInternalApi.d.ts +1 -1
- package/src/Api/Internal/ActionColumnInternalApi.js +2 -2
- package/src/Api/Internal/AdaptableInternalApi.d.ts +9 -9
- package/src/Api/Internal/AdaptableInternalApi.js +2 -2
- package/src/Api/Internal/AlertInternalApi.d.ts +7 -7
- package/src/Api/Internal/AlertInternalApi.js +2 -2
- package/src/Api/Internal/CalculatedColumnInternalApi.d.ts +1 -1
- package/src/Api/Internal/CalculatedColumnInternalApi.js +1 -1
- package/src/Api/Internal/ChartingInternalApi.d.ts +1 -1
- package/src/Api/Internal/ColumnFilterInternalApi.d.ts +4 -4
- package/src/Api/Internal/ColumnFilterInternalApi.js +3 -3
- package/src/Api/Internal/ColumnInternalApi.d.ts +1 -1
- package/src/Api/Internal/ColumnInternalApi.js +1 -2
- package/src/Api/Internal/CustomSortInternalApi.d.ts +2 -2
- package/src/Api/Internal/DashboardInternalApi.d.ts +2 -2
- package/src/Api/Internal/DashboardInternalApi.js +1 -1
- package/src/Api/Internal/EventInternalApi.d.ts +2 -2
- package/src/Api/Internal/EventInternalApi.js +1 -1
- package/src/Api/Internal/ExportInternalApi.d.ts +5 -6
- package/src/Api/Internal/ExportInternalApi.js +34 -42
- package/src/Api/Internal/ExpressionInternalApi.d.ts +1 -1
- package/src/Api/Internal/Fdc3InternalApi.d.ts +2 -2
- package/src/Api/Internal/Fdc3InternalApi.js +1 -1
- package/src/Api/Internal/FlashingCellInternalApi.d.ts +2 -2
- package/src/Api/Internal/FreeTextColumnInternalApi.d.ts +2 -2
- package/src/Api/Internal/FreeTextColumnInternalApi.js +1 -1
- package/src/Api/Internal/GridInternalApi.d.ts +6 -6
- package/src/Api/Internal/GridInternalApi.js +1 -1
- package/src/Api/Internal/LayoutInternalApi.d.ts +2 -2
- package/src/Api/Internal/NamedQueryInternalApi.js +1 -1
- package/src/Api/Internal/PredicateInternalApi.d.ts +3 -3
- package/src/Api/Internal/StyledColumnInternalApi.d.ts +2 -2
- package/src/Api/Internal/SystemStatusInternalApi.d.ts +1 -1
- package/src/Api/Internal/TeamSharingInternalApi.d.ts +1 -1
- package/src/Api/LayoutApi.d.ts +3 -3
- package/src/Api/NoteApi.d.ts +1 -1
- package/src/Api/OpenFinApi.d.ts +2 -2
- package/src/Api/PlusMinusApi.d.ts +2 -2
- package/src/Api/PredicateApi.d.ts +1 -1
- package/src/Api/QuickSearchApi.d.ts +2 -2
- package/src/Api/ScheduleApi.d.ts +5 -5
- package/src/Api/ShortcutApi.d.ts +1 -1
- package/src/Api/SmartEditApi.d.ts +1 -1
- package/src/Api/{ConfigApi.d.ts → StateApi.d.ts} +37 -29
- package/src/Api/StatusBarApi.d.ts +1 -1
- package/src/Api/StyledColumnApi.d.ts +4 -4
- package/src/Api/SystemStatusApi.d.ts +1 -1
- package/src/Api/TeamSharingApi.d.ts +2 -2
- package/src/Api/ThemeApi.d.ts +1 -1
- package/src/Api/ToolPanelApi.d.ts +3 -3
- package/src/Api/UserInterfaceApi.d.ts +4 -4
- package/src/Redux/ActionsReducers/AlertRedux.d.ts +1 -1
- package/src/Redux/ActionsReducers/ApplicationRedux.d.ts +1 -1
- package/src/Redux/ActionsReducers/CalculatedColumnRedux.d.ts +1 -1
- package/src/Redux/ActionsReducers/ChartingRedux.d.ts +1 -1
- package/src/Redux/ActionsReducers/ChartingRedux.js +1 -1
- package/src/Redux/ActionsReducers/CommentsRedux.d.ts +1 -1
- package/src/Redux/ActionsReducers/CustomSortRedux.d.ts +1 -1
- package/src/Redux/ActionsReducers/DashboardRedux.d.ts +4 -4
- package/src/Redux/ActionsReducers/ExportRedux.d.ts +1 -1
- package/src/Redux/ActionsReducers/FlashingCellRedux.d.ts +2 -2
- package/src/Redux/ActionsReducers/FormatColumnRedux.d.ts +1 -1
- package/src/Redux/ActionsReducers/FreeTextColumnRedux.d.ts +1 -1
- package/src/Redux/ActionsReducers/InternalRedux.d.ts +10 -10
- package/src/Redux/ActionsReducers/InternalRedux.js +1 -1
- package/src/Redux/ActionsReducers/LayoutRedux.d.ts +6 -5
- package/src/Redux/ActionsReducers/LayoutRedux.js +3 -3
- package/src/Redux/ActionsReducers/NamedQueryRedux.d.ts +1 -1
- package/src/Redux/ActionsReducers/NoteRedux.d.ts +1 -1
- package/src/Redux/ActionsReducers/PluginsRedux.d.ts +0 -93
- package/src/Redux/ActionsReducers/PluginsRedux.js +0 -93
- package/src/Redux/ActionsReducers/PlusMinusRedux.d.ts +2 -2
- package/src/Redux/ActionsReducers/PopupRedux.d.ts +4 -4
- package/src/Redux/ActionsReducers/QuickSearchRedux.d.ts +2 -2
- package/src/Redux/ActionsReducers/ScheduleRedux.d.ts +5 -47
- package/src/Redux/ActionsReducers/ScheduleRedux.js +0 -42
- package/src/Redux/ActionsReducers/ShortcutRedux.d.ts +1 -1
- package/src/Redux/ActionsReducers/StatusBarRedux.d.ts +1 -1
- package/src/Redux/ActionsReducers/StyledColumnRedux.d.ts +1 -1
- package/src/Redux/ActionsReducers/SystemStatusRedux.d.ts +1 -1
- package/src/Redux/ActionsReducers/TeamSharingRedux.d.ts +3 -3
- package/src/Redux/ActionsReducers/ThemeRedux.d.ts +1 -1
- package/src/Redux/ActionsReducers/ToolPanelRedux.d.ts +2 -2
- package/src/Redux/Store/AdaptableReduxLocalStorageEngine.d.ts +2 -2
- package/src/Redux/Store/AdaptableReduxLocalStorageEngine.js +6 -6
- package/src/Redux/Store/AdaptableReduxMerger.d.ts +4 -4
- package/src/Redux/Store/AdaptableReduxMerger.js +16 -16
- package/src/Redux/Store/AdaptableStore.d.ts +4 -4
- package/src/Redux/Store/AdaptableStore.js +7 -7
- package/src/Redux/Store/Interface/IAdaptableStore.d.ts +3 -3
- package/src/Redux/Store/Interface/IStorageEngine.d.ts +3 -3
- package/src/Strategy/AdaptableModuleBase.d.ts +9 -9
- package/src/Strategy/AdaptableModuleBase.js +2 -3
- package/src/Strategy/AlertModule.d.ts +5 -5
- package/src/Strategy/BulkUpdateModule.d.ts +1 -1
- package/src/Strategy/CalculatedColumnModule.d.ts +5 -5
- package/src/Strategy/CellSummaryModule.d.ts +6 -6
- package/src/Strategy/ChartingModule.d.ts +1 -1
- package/src/Strategy/ChartingModule.js +1 -1
- package/src/Strategy/ColumnFilterModule.d.ts +4 -4
- package/src/Strategy/ColumnFilterModule.js +4 -4
- package/src/Strategy/ColumnInfoModule.d.ts +1 -1
- package/src/Strategy/CommentModule.d.ts +1 -1
- package/src/Strategy/CustomSortModule.d.ts +4 -4
- package/src/Strategy/DashboardModule.d.ts +1 -1
- package/src/Strategy/DataImportModule.d.ts +1 -1
- package/src/Strategy/DataSetModule.d.ts +1 -1
- package/src/Strategy/DataSetModule.js +1 -1
- package/src/Strategy/ExportModule.d.ts +4 -4
- package/src/Strategy/Fdc3Module.d.ts +1 -1
- package/src/Strategy/FlashingCellModule.d.ts +4 -4
- package/src/Strategy/FlashingCellModule.js +1 -1
- package/src/Strategy/FormatColumnModule.d.ts +5 -5
- package/src/Strategy/FreeTextColumnModule.d.ts +3 -3
- package/src/Strategy/GridInfoModule.d.ts +3 -3
- package/src/Strategy/Interface/IBulkUpdateModule.d.ts +2 -2
- package/src/Strategy/Interface/ICellSummaryModule.d.ts +2 -2
- package/src/Strategy/Interface/IModule.d.ts +8 -8
- package/src/Strategy/Interface/IModuleActionReturn.d.ts +1 -1
- package/src/Strategy/Interface/IPlusMinusModule.d.ts +2 -2
- package/src/Strategy/Interface/ISmartEditModule.d.ts +1 -1
- package/src/Strategy/LayoutModule.d.ts +5 -5
- package/src/Strategy/LayoutModule.js +1 -1
- package/src/Strategy/NamedQueryModule.d.ts +1 -1
- package/src/Strategy/NoteModule.d.ts +1 -1
- package/src/Strategy/PlusMinusModule.d.ts +5 -5
- package/src/Strategy/ScheduleModule.d.ts +1 -1
- package/src/Strategy/ScheduleModule.js +1 -1
- package/src/Strategy/SettingsPanelModule.d.ts +2 -2
- package/src/Strategy/ShortcutModule.d.ts +3 -3
- package/src/Strategy/ShortcutModule.js +1 -1
- package/src/Strategy/SmartEditModule.d.ts +2 -2
- package/src/Strategy/SmartEditModule.js +1 -1
- package/src/Strategy/StateManagementModule.js +1 -1
- package/src/Strategy/StyledColumnModule.d.ts +5 -5
- package/src/Strategy/SystemStatusModule.d.ts +2 -2
- package/src/Strategy/TeamSharingModule.d.ts +1 -1
- package/src/Strategy/ThemeModule.d.ts +1 -1
- package/src/Strategy/Utilities/Alert/getAlertPreviewViewItems.d.ts +1 -1
- package/src/Strategy/Utilities/FlashingCell/getFlashingTargetViewItems.d.ts +1 -1
- package/src/Utilities/Constants/GeneralConstants.d.ts +5 -4
- package/src/Utilities/Constants/GeneralConstants.js +1 -0
- package/src/Utilities/Constants/ModuleConstants.d.ts +1 -1
- package/src/Utilities/Constants/ObjectDefaultConstants.d.ts +1 -1
- package/src/Utilities/Constants/ReduxConstants.d.ts +2 -2
- package/src/Utilities/Constants/ReduxConstants.js +1 -1
- package/src/Utilities/Defaults/DefaultSettingsPanel.d.ts +1 -1
- package/src/Utilities/Defaults/DefaultSettingsPanel.js +1 -1
- package/src/Utilities/ExpressionFunctions/aggregatedScalarExpressionFunctions.d.ts +1 -1
- package/src/Utilities/ExpressionFunctions/aggregatedScalarExpressionFunctions.js +1 -1
- package/src/Utilities/ExpressionFunctions/booleanExpressionFunctions.js +3 -3
- package/src/Utilities/ExpressionFunctions/expressionFunctionUtils.d.ts +1 -1
- package/src/Utilities/ExpressionFunctions/scalarExpressionFunctions.js +13 -13
- package/src/Utilities/Extensions/ArrayExtensions.d.ts +2 -2
- package/src/Utilities/Extensions/ArrayExtensions.js +1 -1
- package/src/Utilities/Extensions/EnumExtensions.js +1 -1
- package/src/Utilities/Helpers/AdaptableHelper.d.ts +5 -5
- package/src/Utilities/Helpers/AdaptableHelper.js +5 -5
- package/src/Utilities/Helpers/DateHelper.js +1 -2
- package/src/Utilities/Helpers/FormatHelper.d.ts +1 -1
- package/src/Utilities/Helpers/FormatHelper.js +18 -5
- package/src/Utilities/Helpers/PreviewHelper.d.ts +1 -1
- package/src/Utilities/Interface/ColumnFilterProps.d.ts +1 -1
- package/src/Utilities/Interface/MessagePopups.d.ts +2 -2
- package/src/Utilities/Interface/Preview.d.ts +1 -1
- package/src/Utilities/MenuItem.d.ts +3 -3
- package/src/Utilities/ObjectFactory.d.ts +23 -25
- package/src/Utilities/ObjectFactory.js +2 -13
- package/src/Utilities/Services/AggregatedScalarLiveValue.d.ts +1 -1
- package/src/Utilities/Services/AlertService.d.ts +1 -1
- package/src/Utilities/Services/CalculatedColumnExpressionService.d.ts +3 -3
- package/src/Utilities/Services/DataService.d.ts +1 -1
- package/src/Utilities/Services/Fdc3Service.js +2 -2
- package/src/Utilities/Services/FlashingCellService.d.ts +1 -1
- package/src/Utilities/Services/Interface/IAlertService.d.ts +3 -3
- package/src/Utilities/Services/Interface/ICalculatedColumnExpressionService.d.ts +3 -3
- package/src/Utilities/Services/Interface/IDataService.d.ts +1 -1
- package/src/Utilities/Services/Interface/IModuleService.d.ts +3 -3
- package/src/Utilities/Services/Interface/IQueryLanguageService.d.ts +3 -3
- package/src/Utilities/Services/Interface/ITeamSharingService.d.ts +4 -4
- package/src/Utilities/Services/Interface/IValidationService.d.ts +2 -2
- package/src/Utilities/Services/ModuleService.d.ts +2 -2
- package/src/Utilities/Services/ModuleService.js +1 -1
- package/src/Utilities/Services/QueryLanguageService.d.ts +2 -2
- package/src/Utilities/Services/RowSummaryService.js +1 -1
- package/src/Utilities/Services/TeamSharingService.d.ts +4 -4
- package/src/Utilities/Services/TeamSharingService.js +1 -1
- package/src/Utilities/Services/ThemeService.js +3 -3
- package/src/Utilities/Services/ValidationService.d.ts +2 -2
- package/src/Utilities/getScopeViewItems.d.ts +2 -2
- package/src/View/AdaptablePopover/index.d.ts +1 -1
- package/src/View/AdaptableViewFactory.d.ts +1 -1
- package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/ConfigurationWizard.js +4 -4
- package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/ConfigurationWizardColumnsStep.js +3 -3
- package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/EntitlementsForm.js +4 -4
- package/src/View/Alert/AlertEmptyView.js +1 -2
- package/src/View/Alert/AlertEntityRow.d.ts +2 -2
- package/src/View/Alert/AlertViewPanel.d.ts +2 -2
- package/src/View/Alert/AlertsPanel.d.ts +1 -1
- package/src/View/Alert/Utilities/getDefaultAlertDefinition.d.ts +1 -1
- package/src/View/Alert/Wizard/AlertBehaviourWizardSection.d.ts +1 -1
- package/src/View/Alert/Wizard/AlertButtonsEditor.d.ts +2 -2
- package/src/View/Alert/Wizard/AlertMessageWizardSection.d.ts +1 -1
- package/src/View/Alert/Wizard/AlertNotificationWizardSection.d.ts +1 -1
- package/src/View/Alert/Wizard/AlertNotificationWizardSection.js +4 -2
- package/src/View/Alert/Wizard/AlertRulesWizardSection.d.ts +1 -1
- package/src/View/Alert/Wizard/AlertScopeWizardSection.d.ts +1 -1
- package/src/View/Alert/Wizard/AlertSelectQueryWizard.d.ts +1 -1
- package/src/View/Alert/Wizard/BaseAlertScopeWizardSection.d.ts +1 -1
- package/src/View/BulkUpdate/BulkUpdateViewPanel.js +1 -1
- package/src/View/CalculatedColumn/CalculatedColumnSummary.d.ts +1 -1
- package/src/View/CalculatedColumn/Wizard/CalculatedColumnDefinitionWizardSection.d.ts +1 -1
- package/src/View/CalculatedColumn/Wizard/CalculatedColumnSettingsWizardSection.d.ts +1 -1
- package/src/View/CellSummary/CellSummaryDetails.d.ts +1 -1
- package/src/View/CellSummary/CellSummaryPopover.d.ts +1 -1
- package/src/View/CellSummary/CellSummaryPopup.d.ts +1 -1
- package/src/View/CellSummary/CellSummaryViewPanel.d.ts +3 -3
- package/src/View/CellSummary/CellSummaryViewPanel.js +1 -1
- package/src/View/Charting/ChartingStatusBarPopover.js +1 -2
- package/src/View/Charting/ChartingWizard/ChartingWizard.d.ts +1 -1
- package/src/View/Charting/ChartingWizard/ChartingWizard.js +1 -1
- package/src/View/Charting/ChartingWizard/ExternalChartingWizard/ExternalChartingWizard.d.ts +1 -1
- package/src/View/Charting/ChartingWizard/ExternalChartingWizard/SettingsSection.d.ts +1 -1
- package/src/View/Charting/DeleteChartButton.d.ts +1 -1
- package/src/View/Charting/DeleteChartButton.js +1 -1
- package/src/View/Charting/EditChartButton.d.ts +1 -1
- package/src/View/Charting/ShowChartButton.js +1 -1
- package/src/View/Charting/useChartingElements.d.ts +1 -1
- package/src/View/Charting/useChartingElements.js +1 -1
- package/src/View/Charting/useExternalChartState.d.ts +1 -1
- package/src/View/ColumnInfo/ColumnInfo.js +5 -5
- package/src/View/Comments/CommentsEditor.js +5 -2
- package/src/View/Comments/CommentsPopup.js +5 -2
- package/src/View/Components/AdaptableObjectList/AdaptableObjectList.d.ts +1 -1
- package/src/View/Components/Buttons/ButtonBase/index.d.ts +1 -1
- package/src/View/Components/Buttons/ButtonShare.d.ts +1 -1
- package/src/View/Components/Buttons/EntityListActionButtons.d.ts +4 -4
- package/src/View/Components/Buttons/SuspendToggleButton/SuspendToggleButton.d.ts +3 -3
- package/src/View/Components/ColumnFilter/AdaptableColumnFilter.d.ts +1 -0
- package/src/View/Components/ColumnFilter/AdaptableColumnFilter.js +4 -1
- package/src/View/Components/ColumnFilter/AdaptableFloatingFilter.d.ts +2 -0
- package/src/View/Components/ColumnFilter/AdaptableFloatingFilter.js +10 -3
- package/src/View/Components/ColumnFilter/ColumnFilter.d.ts +1 -1
- package/src/View/Components/ColumnFilter/ColumnFilter.js +4 -2
- package/src/View/Components/ColumnFilter/FloatingFilter.js +2 -2
- package/src/View/Components/ColumnFilter/LayoutColumnFilter.js +1 -1
- package/src/View/Components/ColumnFilter/components/ColumnFilterInput.d.ts +1 -1
- package/src/View/Components/ColumnFilter/components/ColumnFilterInput.js +7 -1
- package/src/View/Components/ColumnFilter/components/FloatingFilterValues.js +7 -0
- package/src/View/Components/ColumnFilter/useAdaptableFilterWrapper.d.ts +1 -1
- package/src/View/Components/ColumnFilter/useAdaptableFilterWrapper.js +6 -2
- package/src/View/Components/ColumnFilter/utils.js +5 -3
- package/src/View/Components/EntityRulesEditor/index.d.ts +1 -1
- package/src/View/Components/ExpressionWizard.d.ts +1 -1
- package/src/View/Components/FilterForm/ListBoxFilterForm.d.ts +1 -1
- package/src/View/Components/FilterForm/ListBoxFilterForm.js +4 -4
- package/src/View/Components/FilterForm/ListBoxMenu.d.ts +1 -1
- package/src/View/Components/FilterForm/getDefaultColumnFilterPredicate.d.ts +1 -1
- package/src/View/Components/ListBox/DualListBoxEditor.d.ts +1 -1
- package/src/View/Components/ListBox/DualListBoxEditor.js +1 -1
- package/src/View/Components/ListBox/ListBoxFilterSortComponent.d.ts +1 -1
- package/src/View/Components/ListBox/ListBoxFilterSortComponent.js +1 -1
- package/src/View/Components/ModuleSummary/ModuleDetail.d.ts +3 -3
- package/src/View/Components/ModuleSummary/ModuleHeader.d.ts +1 -1
- package/src/View/Components/ModuleValueSelector/index.d.ts +1 -1
- package/src/View/Components/NewScopeComponent.d.ts +1 -1
- package/src/View/Components/Panels/PanelDashboard/index.d.ts +1 -1
- package/src/View/Components/Panels/PanelWithButton.d.ts +1 -1
- package/src/View/Components/Panels/PanelWithImage.d.ts +1 -1
- package/src/View/Components/Popups/AdaptablePopup/AdaptablePopup.d.ts +1 -1
- package/src/View/Components/Popups/AdaptablePopupAlert.d.ts +1 -1
- package/src/View/Components/Popups/AdaptablePopupConfirmation.d.ts +1 -1
- package/src/View/Components/Popups/AdaptablePopupTeamSharing.d.ts +1 -1
- package/src/View/Components/Popups/AdaptableToaster.d.ts +1 -1
- package/src/View/Components/Popups/FormPopups/FormPopups.js +1 -1
- package/src/View/Components/PreviewResultsPanel.d.ts +1 -1
- package/src/View/Components/RangesComponent.d.ts +2 -2
- package/src/View/Components/Selectors/BulkUpdateValueSelector.d.ts +1 -1
- package/src/View/Components/Selectors/ColumnSelectorOld.d.ts +2 -2
- package/src/View/Components/Selectors/ColumnSelectorOld.js +1 -1
- package/src/View/Components/SharedProps/BaseProps.d.ts +1 -1
- package/src/View/Components/SharedProps/ConfigEntityRowProps.d.ts +3 -3
- package/src/View/Components/SharedProps/EditableConfigEntityState.d.ts +1 -1
- package/src/View/Components/SharedProps/ModuleSummaryProps.d.ts +3 -3
- package/src/View/Components/SharedProps/ModuleViewPopupProps.d.ts +1 -1
- package/src/View/Components/SharedProps/ToolPanelModuleViewPopupProps.d.ts +2 -2
- package/src/View/Components/SharedProps/ToolbarModuleViewPopupProps.d.ts +1 -1
- package/src/View/Components/SharedProps/ViewPanelProps.d.ts +1 -1
- package/src/View/Components/SharedProps/WizardScopeState.d.ts +1 -1
- package/src/View/Components/StyleComponent.d.ts +1 -1
- package/src/View/Components/StyleComponent.js +1 -1
- package/src/View/Components/StyleVisualItem.d.ts +1 -1
- package/src/View/Components/StyleVisualItem.js +1 -1
- package/src/View/Components/TagValueSelector/index.d.ts +1 -1
- package/src/View/Components/ToolPanel/AdaptableToolPanel.d.ts +4 -4
- package/src/View/Components/ToolPanel/AdaptableToolPanel.js +1 -1
- package/src/View/Components/ToolPanel/ToolPanelPopup.d.ts +3 -3
- package/src/View/Components/ToolPanel/ToolPanelPopup.js +1 -1
- package/src/View/Components/ToolPanel/ToolPanelWrapper.d.ts +2 -2
- package/src/View/CustomSort/CustomSortSummary.d.ts +1 -1
- package/src/View/CustomSort/Wizard/CustomSortColumnWizardSection.d.ts +1 -1
- package/src/View/CustomSort/Wizard/CustomSortSummaryWizard.d.ts +1 -1
- package/src/View/CustomSort/Wizard/CustomSortValuesWizardSection.d.ts +1 -1
- package/src/View/CustomSort/Wizard/CustomSortWizard.d.ts +1 -1
- package/src/View/Dashboard/CustomDashboardButton.d.ts +2 -2
- package/src/View/Dashboard/CustomToolbar.js +2 -2
- package/src/View/Dashboard/Dashboard.d.ts +3 -3
- package/src/View/Dashboard/DashboardPopup.d.ts +2 -2
- package/src/View/Dashboard/DashboardToolbarFactory.js +2 -3
- package/src/View/Dashboard/ModuleToolbarWrapper.d.ts +1 -1
- package/src/View/Dashboard/PinnedToolbarsSelector.js +1 -2
- package/src/View/DataChangeHistory/DataChangeHistoryGrid.d.ts +1 -1
- package/src/View/DataChangeHistory/DataChangeHistoryGrid.js +3 -5
- package/src/View/DataChangeHistory/DataChangeHistoryPopup.d.ts +2 -2
- package/src/View/Export/ExportDestinationPicker.d.ts +1 -1
- package/src/View/Export/ExportViewPanel.js +1 -1
- package/src/View/Export/ReportFormatSelector.d.ts +1 -1
- package/src/View/Export/ReportNameSelector.d.ts +1 -1
- package/src/View/Export/Wizard/NewReportWizard.d.ts +1 -1
- package/src/View/Export/Wizard/ReportColumnTypeWizard.d.ts +1 -1
- package/src/View/Export/Wizard/ReportColumnsWizardSection.d.ts +1 -1
- package/src/View/Export/Wizard/ReportNameWizardSection.d.ts +1 -1
- package/src/View/Export/Wizard/ReportRowTypeWizard.d.ts +1 -1
- package/src/View/Export/Wizard/ReportRowsWizardSection.d.ts +1 -1
- package/src/View/Export/Wizard/ReportSettingsWizard.d.ts +1 -1
- package/src/View/Export/Wizard/ReportSummaryWizard.d.ts +1 -1
- package/src/View/Filter/FilterSummary.js +1 -1
- package/src/View/Filter/FilterViewPanel.d.ts +2 -2
- package/src/View/FlashingCell/Wizard/FlashingCellRulesWizardSection.d.ts +1 -1
- package/src/View/FormatColumn/FormatColumnSummary.d.ts +1 -1
- package/src/View/FormatColumn/Wizard/FormatColumnFormatWizardSection.d.ts +3 -3
- package/src/View/FormatColumn/Wizard/FormatColumnScopeWizardSection.d.ts +1 -1
- package/src/View/FormatColumn/Wizard/FormatColumnSettingsWizardSection.d.ts +1 -1
- package/src/View/FormatColumn/Wizard/FormatColumnStyleWizardSection.d.ts +1 -1
- package/src/View/FormatColumn/Wizard/FormatColumnWizard.d.ts +1 -1
- package/src/View/FreeTextColumn/FreeTextColumnSummary.d.ts +1 -1
- package/src/View/FreeTextColumn/Wizard/FreeTextColumnSettingsWizardSection.d.ts +1 -1
- package/src/View/FreeTextColumn/Wizard/FreeTextColumnWizard.d.ts +1 -1
- package/src/View/GridFilter/NamedQuerySelector.d.ts +1 -1
- package/src/View/GridFilter/NamedQuerySelector.js +1 -1
- package/src/View/GridFilter/useGridFilterExpressionEditor.d.ts +1 -1
- package/src/View/GridInfo/GridInfoPopup/AdaptableObjectsSummary.js +6 -2
- package/src/View/GridInfo/GridInfoPopup/GridInfoPopup.js +1 -1
- package/src/View/Layout/LayoutViewPanel.d.ts +1 -1
- package/src/View/Layout/TransposedPopup.js +2 -2
- package/src/View/Layout/Wizard/Components/ColumnLabels.d.ts +1 -1
- package/src/View/Layout/Wizard/LayoutWizard.js +1 -1
- package/src/View/Layout/Wizard/sections/ColumnsSection.js +1 -1
- package/src/View/Layout/Wizard/sections/RowSummarySection.js +1 -1
- package/src/View/Note/NotePopup.js +5 -2
- package/src/View/PlusMinus/PlusMinusSummary.d.ts +1 -1
- package/src/View/PlusMinus/Wizard/PlusMinusScopeWizardSection.d.ts +1 -1
- package/src/View/PlusMinus/Wizard/PlusMinusWizard.d.ts +1 -1
- package/src/View/QuickSearch/QuickSearchPopup.d.ts +1 -1
- package/src/View/QuickSearch/QuickSearchPopup.js +2 -2
- package/src/View/Schedule/Wizard/ScheduleScheduleWizard.d.ts +1 -1
- package/src/View/Schedule/Wizard/ScheduleSettingsWizard/ScheduleSettingsReminder.d.ts +1 -1
- package/src/View/Schedule/Wizard/ScheduleSettingsWizard/ScheduleSettingsReport.d.ts +1 -1
- package/src/View/Schedule/Wizard/ScheduleSettingsWizard/ScheduleSettingsSummary.d.ts +1 -1
- package/src/View/Schedule/Wizard/ScheduleSettingsWizard/ScheduleSettingsSummary.js +1 -1
- package/src/View/Schedule/Wizard/ScheduleSettingsWizard/ScheduleSettingsWizard.d.ts +1 -1
- package/src/View/Schedule/Wizard/ScheduleSettingsWizard/ScheduleSettingsWizard.js +1 -1
- package/src/View/Schedule/Wizard/ScheduleSettingsWizard/isSettingsValid.d.ts +1 -1
- package/src/View/Schedule/Wizard/ScheduleSettingsWizard/isSettingsValid.js +1 -1
- package/src/View/Schedule/Wizard/ScheduleWizard.d.ts +1 -1
- package/src/View/Schedule/Wizard/ScheduleWizard.js +1 -1
- package/src/View/Shortcut/Wizard/ShortcutScopeWizardSection.d.ts +1 -1
- package/src/View/Shortcut/Wizard/ShortcutSettingsWizard.d.ts +1 -1
- package/src/View/Shortcut/Wizard/ShortcutWizard.d.ts +1 -1
- package/src/View/Shortcut/shortcutOperations.d.ts +1 -1
- package/src/View/Shortcut/shortcutOperations.js +1 -1
- package/src/View/SmartEdit/SmartEditPopup.js +1 -1
- package/src/View/SmartEdit/SmartEditViewPanel.js +1 -1
- package/src/View/StateManagement/StateManagementPopup.js +8 -8
- package/src/View/StateManagement/StateManagementViewPanel.js +3 -3
- package/src/View/StateManagement/components/ExportDropdown.d.ts +1 -1
- package/src/View/StateManagement/components/ExportDropdown.js +4 -4
- package/src/View/StateManagement/components/LoadButton.js +2 -2
- package/src/View/StateManagement/handleExportState.d.ts +1 -1
- package/src/View/StatusBar/AdaptableStatusBar.js +7 -5
- package/src/View/StatusBar/StatusBarPopup.js +1 -1
- package/src/View/StyledColumn/Wizard/StyledColumnWizard.d.ts +1 -1
- package/src/View/StyledColumn/Wizard/StyledColumnWizardColumnSection.d.ts +1 -1
- package/src/View/StyledColumn/Wizard/StyledColumnWizardStyleSection/StyledColumnWizardStyleSection.d.ts +1 -1
- package/src/View/StyledColumn/Wizard/StyledColumnWizardTypeSection.d.ts +1 -1
- package/src/View/SystemStatus/SystemStatusPopup.js +1 -1
- package/src/View/SystemStatus/SystemStatusViewPanel.d.ts +1 -1
- package/src/View/Theme/ThemeEditor.js +9 -7
- package/src/View/Theme/ThemePopup.d.ts +1 -1
- package/src/View/Theme/VariantSelector.d.ts +1 -0
- package/src/View/Theme/VariantSelector.js +6 -3
- package/src/View/UIHelper.d.ts +5 -5
- package/src/View/UIHelper.js +1 -1
- package/src/View/Wizard/Interface/IAdaptableWizard.d.ts +1 -1
- package/src/View/Wizard/ObjectTagsWizardSection.d.ts +1 -1
- package/src/agGrid/AdaptableAgGrid.d.ts +3 -2
- package/src/agGrid/AdaptableAgGrid.js +50 -16
- package/src/agGrid/AdaptableLogger.d.ts +1 -1
- package/src/agGrid/AgGridAdapter.d.ts +3 -3
- package/src/agGrid/AgGridAdapter.js +16 -33
- package/src/agGrid/AgGridColumnAdapter.d.ts +3 -3
- package/src/agGrid/AgGridColumnAdapter.js +4 -11
- package/src/agGrid/AgGridExportAdapter.d.ts +2 -2
- package/src/agGrid/AgGridExportAdapter.js +9 -3
- package/src/agGrid/AgGridMenuAdapter.d.ts +2 -2
- package/src/agGrid/AgGridThemeAdapter.d.ts +1 -1
- package/src/agGrid/AgGridThemeAdapter.js +2 -2
- package/src/agGrid/FilterWrapper.js +64 -35
- package/src/agGrid/FloatingFilterWrapper.js +14 -2
- package/src/agGrid/agGridDataTypeDefinitions.d.ts +1 -1
- package/src/agGrid/cellRenderers/BadgeRenderer.d.ts +2 -2
- package/src/agGrid/cellRenderers/PercentBarRenderer.d.ts +2 -2
- package/src/agGrid/editors/AdaptableDateEditor/InternalAdaptableDateEditor.js +1 -1
- package/src/agGrid/getAgGridFilterNotifyModelFn.d.ts +2 -0
- package/src/agGrid/getAgGridFilterNotifyModelFn.js +10 -0
- package/src/components/AdaptableFormComponent/AdaptableFormComponent.d.ts +2 -2
- package/src/components/Dashboard/DashboardManager.d.ts +2 -2
- package/src/components/Dashboard/DashboardToolbar.d.ts +1 -1
- package/src/components/Datepicker/DatepickerContext.d.ts +1 -0
- package/src/components/Datepicker/index.d.ts +1 -0
- package/src/components/Datepicker/index.js +1 -1
- package/src/components/ExpressionEditor/BaseEditorInput.js +1 -1
- package/src/components/ExpressionEditor/EditorInput.d.ts +1 -1
- package/src/components/ExpressionEditor/EditorInputWithWhereClause.d.ts +1 -1
- package/src/components/Icon/index.d.ts +1 -1
- package/src/components/Select/Select.d.ts +1 -0
- package/src/components/Select/Select.js +125 -20
- package/src/components/SimpleButton/index.d.ts +2 -2
- package/src/components/icons/index.d.ts +1 -1
- package/src/env.js +2 -2
- package/src/layout-manager/src/LayoutManagerModel.d.ts +1 -1
- package/src/metamodel/adaptable.metamodel.d.ts +134 -33
- package/src/metamodel/adaptable.metamodel.js +1 -1
- package/src/migration/AdaptableUpgradeHelper.d.ts +4 -4
- package/src/migration/VersionUpgrade.d.ts +1 -1
- package/src/migration/VersionUpgrade17.d.ts +1 -1
- package/src/migration/VersionUpgrade17.js +1 -1
- package/src/migration/VersionUpgrade18.d.ts +1 -1
- package/src/migration/VersionUpgrade20.d.ts +3 -1
- package/src/migration/VersionUpgrade20.js +43 -15
- package/src/themes/index.d.ts +1 -1
- package/src/types.d.ts +83 -83
- package/tsconfig.esm.tsbuildinfo +1 -1
- package/src/PredefinedConfig/PredefinedConfig.d.ts +0 -110
- /package/src/{PredefinedConfig → AdaptableState}/AdaptableState.js +0 -0
- /package/src/{PredefinedConfig → AdaptableState}/AlertState.js +0 -0
- /package/src/{PredefinedConfig → AdaptableState}/ApplicationState.js +0 -0
- /package/src/{Api/ConfigApi.js → AdaptableState/BaseState.js} +0 -0
- /package/src/{PredefinedConfig → AdaptableState}/CalculatedColumnState.js +0 -0
- /package/src/{PredefinedConfig → AdaptableState}/ChartingState.js +0 -0
- /package/src/{PredefinedConfig → AdaptableState}/CommentState.js +0 -0
- /package/src/{PredefinedConfig → AdaptableState}/Common/AdaptableAlert.d.ts +0 -0
- /package/src/{PredefinedConfig → AdaptableState}/Common/AdaptableAlert.js +0 -0
- /package/src/{PredefinedConfig → AdaptableState}/Common/AdaptableButton.d.ts +0 -0
- /package/src/{PredefinedConfig → AdaptableState}/Common/AdaptableButton.js +0 -0
- /package/src/{PredefinedConfig → AdaptableState}/Common/AdaptableColumn.js +0 -0
- /package/src/{PredefinedConfig → AdaptableState}/Common/AdaptableColumnContext.d.ts +0 -0
- /package/src/{PredefinedConfig → AdaptableState}/Common/AdaptableColumnContext.js +0 -0
- /package/src/{PredefinedConfig → AdaptableState}/Common/AdaptableComparerFunction.d.ts +0 -0
- /package/src/{PredefinedConfig → AdaptableState}/Common/AdaptableComparerFunction.js +0 -0
- /package/src/{PredefinedConfig → AdaptableState}/Common/AdaptableField.d.ts +0 -0
- /package/src/{PredefinedConfig → AdaptableState}/Common/AdaptableField.js +0 -0
- /package/src/{PredefinedConfig → AdaptableState}/Common/AdaptableFlashingCell.d.ts +0 -0
- /package/src/{PredefinedConfig → AdaptableState}/Common/AdaptableFlashingCell.js +0 -0
- /package/src/{PredefinedConfig → AdaptableState}/Common/AdaptableForm.d.ts +0 -0
- /package/src/{PredefinedConfig → AdaptableState}/Common/AdaptableForm.js +0 -0
- /package/src/{PredefinedConfig → AdaptableState}/Common/AdaptableFormat.d.ts +0 -0
- /package/src/{PredefinedConfig → AdaptableState}/Common/AdaptableFormat.js +0 -0
- /package/src/{PredefinedConfig → AdaptableState}/Common/AdaptableIcon.d.ts +0 -0
- /package/src/{PredefinedConfig → AdaptableState}/Common/AdaptableIcon.js +0 -0
- /package/src/{PredefinedConfig → AdaptableState}/Common/AdaptableMessageType.d.ts +0 -0
- /package/src/{PredefinedConfig → AdaptableState}/Common/AdaptableMessageType.js +0 -0
- /package/src/{PredefinedConfig → AdaptableState}/Common/AdaptableObject.js +0 -0
- /package/src/{PredefinedConfig → AdaptableState}/Common/AdaptableQuery.d.ts +0 -0
- /package/src/{PredefinedConfig → AdaptableState}/Common/AdaptableQuery.js +0 -0
- /package/src/{PredefinedConfig → AdaptableState}/Common/AdaptableSearchState.d.ts +0 -0
- /package/src/{PredefinedConfig → AdaptableState}/Common/AdaptableSearchState.js +0 -0
- /package/src/{PredefinedConfig → AdaptableState}/Common/AdaptableSortState.d.ts +0 -0
- /package/src/{PredefinedConfig → AdaptableState}/Common/AdaptableSortState.js +0 -0
- /package/src/{PredefinedConfig → AdaptableState}/Common/AdaptableStyle.d.ts +0 -0
- /package/src/{PredefinedConfig → AdaptableState}/Common/AdaptableStyle.js +0 -0
- /package/src/{PredefinedConfig → AdaptableState}/Common/AggregationColumns.js +0 -0
- /package/src/{PredefinedConfig → AdaptableState}/Common/AlternativeModuleName.d.ts +0 -0
- /package/src/{PredefinedConfig → AdaptableState}/Common/AlternativeModuleName.js +0 -0
- /package/src/{PredefinedConfig → AdaptableState}/Common/BaseContext.d.ts +0 -0
- /package/src/{PredefinedConfig → AdaptableState}/Common/BaseContext.js +0 -0
- /package/src/{PredefinedConfig → AdaptableState}/Common/ButtonStyle.d.ts +0 -0
- /package/src/{PredefinedConfig → AdaptableState}/Common/ButtonStyle.js +0 -0
- /package/src/{PredefinedConfig → AdaptableState}/Common/CellDataChangedInfo.d.ts +0 -0
- /package/src/{PredefinedConfig → AdaptableState}/Common/CellDataChangedInfo.js +0 -0
- /package/src/{PredefinedConfig → AdaptableState}/Common/CellHighlightInfo.d.ts +0 -0
- /package/src/{PredefinedConfig → AdaptableState}/Common/CellHighlightInfo.js +0 -0
- /package/src/{PredefinedConfig → AdaptableState}/Common/CellSummary.d.ts +0 -0
- /package/src/{PredefinedConfig → AdaptableState}/Common/CellSummary.js +0 -0
- /package/src/{PredefinedConfig → AdaptableState}/Common/ColumnFilter.js +0 -0
- /package/src/{PredefinedConfig → AdaptableState}/Common/ColumnScope.d.ts +0 -0
- /package/src/{PredefinedConfig → AdaptableState}/Common/ColumnScope.js +0 -0
- /package/src/{PredefinedConfig → AdaptableState}/Common/ColumnSetupInfo.d.ts +0 -0
- /package/src/{PredefinedConfig → AdaptableState}/Common/ColumnSetupInfo.js +0 -0
- /package/src/{PredefinedConfig → AdaptableState}/Common/ColumnSort.d.ts +0 -0
- /package/src/{PredefinedConfig → AdaptableState}/Common/ColumnSort.js +0 -0
- /package/src/{PredefinedConfig → AdaptableState}/Common/CustomWindowConfig.d.ts +0 -0
- /package/src/{PredefinedConfig → AdaptableState}/Common/CustomWindowConfig.js +0 -0
- /package/src/{PredefinedConfig → AdaptableState}/Common/DataChangedScope.d.ts +0 -0
- /package/src/{PredefinedConfig → AdaptableState}/Common/DataChangedScope.js +0 -0
- /package/src/{PredefinedConfig → AdaptableState}/Common/DataUpdateConfig.d.ts +0 -0
- /package/src/{PredefinedConfig → AdaptableState}/Common/DataUpdateConfig.js +0 -0
- /package/src/{PredefinedConfig → AdaptableState}/Common/Entitlement.d.ts +0 -0
- /package/src/{PredefinedConfig → AdaptableState}/Common/Entitlement.js +0 -0
- /package/src/{PredefinedConfig → AdaptableState}/Common/Enums.d.ts +0 -0
- /package/src/{PredefinedConfig → AdaptableState}/Common/Enums.js +0 -0
- /package/src/{PredefinedConfig → AdaptableState}/Common/ExtendedLayoutInfo.d.ts +0 -0
- /package/src/{PredefinedConfig → AdaptableState}/Common/ExtendedLayoutInfo.js +0 -0
- /package/src/{PredefinedConfig → AdaptableState}/Common/Fdc3Context.d.ts +0 -0
- /package/src/{PredefinedConfig → AdaptableState}/Common/Fdc3Context.js +0 -0
- /package/src/{PredefinedConfig → AdaptableState}/Common/Fdc3Intent.d.ts +0 -0
- /package/src/{PredefinedConfig → AdaptableState}/Common/Fdc3Intent.js +0 -0
- /package/src/{PredefinedConfig → AdaptableState}/Common/FilterActionOnDataChange.d.ts +0 -0
- /package/src/{PredefinedConfig → AdaptableState}/Common/FilterActionOnDataChange.js +0 -0
- /package/src/{PredefinedConfig → AdaptableState}/Common/FormContext.d.ts +0 -0
- /package/src/{PredefinedConfig → AdaptableState}/Common/FormContext.js +0 -0
- /package/src/{PredefinedConfig → AdaptableState}/Common/GridFilter.d.ts +0 -0
- /package/src/{PredefinedConfig → AdaptableState}/Common/GridFilter.js +0 -0
- /package/src/{PredefinedConfig → AdaptableState}/Common/Menu.js +0 -0
- /package/src/{PredefinedConfig → AdaptableState}/Common/ProgressIndicatorConfig.d.ts +0 -0
- /package/src/{PredefinedConfig → AdaptableState}/Common/ProgressIndicatorConfig.js +0 -0
- /package/src/{PredefinedConfig → AdaptableState}/Common/RowDataChangedInfo.d.ts +0 -0
- /package/src/{PredefinedConfig → AdaptableState}/Common/RowDataChangedInfo.js +0 -0
- /package/src/{PredefinedConfig → AdaptableState}/Common/RowHighlightInfo.d.ts +0 -0
- /package/src/{PredefinedConfig → AdaptableState}/Common/RowHighlightInfo.js +0 -0
- /package/src/{PredefinedConfig → AdaptableState}/Common/RowScope.d.ts +0 -0
- /package/src/{PredefinedConfig → AdaptableState}/Common/RowScope.js +0 -0
- /package/src/{PredefinedConfig → AdaptableState}/Common/RowSummary.d.ts +0 -0
- /package/src/{PredefinedConfig → AdaptableState}/Common/RowSummary.js +0 -0
- /package/src/{PredefinedConfig → AdaptableState}/Common/RowsHighlightInfo.d.ts +0 -0
- /package/src/{PredefinedConfig → AdaptableState}/Common/RowsHighlightInfo.js +0 -0
- /package/src/{PredefinedConfig → AdaptableState}/Common/Schedule.d.ts +0 -0
- /package/src/{PredefinedConfig → AdaptableState}/Common/Schedule.js +0 -0
- /package/src/{PredefinedConfig → AdaptableState}/Common/SpecialColumnSettings.d.ts +0 -0
- /package/src/{PredefinedConfig → AdaptableState}/Common/SpecialColumnSettings.js +0 -0
- /package/src/{PredefinedConfig → AdaptableState}/Common/SuspendableObject.d.ts +0 -0
- /package/src/{PredefinedConfig → AdaptableState}/Common/SuspendableObject.js +0 -0
- /package/src/{PredefinedConfig → AdaptableState}/Common/SystemStatusMessageInfo.d.ts +0 -0
- /package/src/{PredefinedConfig → AdaptableState}/Common/SystemStatusMessageInfo.js +0 -0
- /package/src/{PredefinedConfig → AdaptableState}/Common/TransposeConfig.d.ts +0 -0
- /package/src/{PredefinedConfig → AdaptableState}/Common/TransposeConfig.js +0 -0
- /package/src/{PredefinedConfig → AdaptableState}/Common/Types.js +0 -0
- /package/src/{PredefinedConfig → AdaptableState}/CustomSortState.js +0 -0
- /package/src/{PredefinedConfig → AdaptableState}/DashboardState.js +0 -0
- /package/src/{PredefinedConfig → AdaptableState}/ExportState.js +0 -0
- /package/src/{PredefinedConfig → AdaptableState}/FlashingCellState.js +0 -0
- /package/src/{PredefinedConfig → AdaptableState}/FormatColumnState.js +0 -0
- /package/src/{PredefinedConfig → AdaptableState}/FreeTextColumnState.js +0 -0
- /package/src/{PredefinedConfig → AdaptableState}/IPushPullState.js +0 -0
- /package/src/{PredefinedConfig/ConfigState.js → AdaptableState/InitialState.js} +0 -0
- /package/src/{PredefinedConfig → AdaptableState}/InternalState.js +0 -0
- /package/src/{PredefinedConfig → AdaptableState}/LayoutState.js +0 -0
- /package/src/{PredefinedConfig → AdaptableState}/NamedQueryState.js +0 -0
- /package/src/{PredefinedConfig → AdaptableState}/NoteState.js +0 -0
- /package/src/{PredefinedConfig → AdaptableState}/OpenFinState.js +0 -0
- /package/src/{PredefinedConfig → AdaptableState}/PlusMinusState.js +0 -0
- /package/src/{PredefinedConfig → AdaptableState}/PopupState.js +0 -0
- /package/src/{PredefinedConfig → AdaptableState}/QuickSearchState.js +0 -0
- /package/src/{PredefinedConfig → AdaptableState}/ScheduleState.js +0 -0
- /package/src/{PredefinedConfig → AdaptableState}/Selection/GridCell.d.ts +0 -0
- /package/src/{PredefinedConfig → AdaptableState}/Selection/GridCell.js +0 -0
- /package/src/{PredefinedConfig → AdaptableState}/Selection/GridCellRange.d.ts +0 -0
- /package/src/{PredefinedConfig → AdaptableState}/Selection/GridCellRange.js +0 -0
- /package/src/{PredefinedConfig → AdaptableState}/Selection/GridRow.d.ts +0 -0
- /package/src/{PredefinedConfig → AdaptableState}/Selection/GridRow.js +0 -0
- /package/src/{PredefinedConfig → AdaptableState}/Selection/SelectedCellInfo.d.ts +0 -0
- /package/src/{PredefinedConfig → AdaptableState}/Selection/SelectedCellInfo.js +0 -0
- /package/src/{PredefinedConfig → AdaptableState}/Selection/SelectedRowInfo.d.ts +0 -0
- /package/src/{PredefinedConfig → AdaptableState}/Selection/SelectedRowInfo.js +0 -0
- /package/src/{PredefinedConfig → AdaptableState}/ShortcutState.js +0 -0
- /package/src/{PredefinedConfig → AdaptableState}/StatusBarState.js +0 -0
- /package/src/{PredefinedConfig → AdaptableState}/StyledColumnState.js +0 -0
- /package/src/{PredefinedConfig → AdaptableState}/TeamSharingState.js +0 -0
- /package/src/{PredefinedConfig → AdaptableState}/ThemeState.js +0 -0
- /package/src/{PredefinedConfig → AdaptableState}/ToolPanelState.js +0 -0
- /package/src/{PredefinedConfig → AdaptableState}/Uuid.d.ts +0 -0
- /package/src/{PredefinedConfig → AdaptableState}/Uuid.js +0 -0
- /package/src/{PredefinedConfig/PredefinedConfig.js → Api/StateApi.js} +0 -0
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import * as InternalRedux from '../../Redux/ActionsReducers/InternalRedux';
|
|
3
|
-
import { AlertDefinition } from '../../
|
|
4
|
-
import { AdaptableAlert } from '../../
|
|
3
|
+
import { AlertDefinition } from '../../AdaptableState/AlertState';
|
|
4
|
+
import { AdaptableAlert } from '../../AdaptableState/Common/AdaptableAlert';
|
|
5
5
|
import { ViewPanelProps } from '../Components/SharedProps/ViewPanelProps';
|
|
6
6
|
interface AlertViewPanelComponentProps extends ViewPanelProps {
|
|
7
7
|
AlertDefinitions: AlertDefinition[];
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import { AdaptableAlert } from '../../
|
|
2
|
+
import { AdaptableAlert } from '../../AdaptableState/Common/AdaptableAlert';
|
|
3
3
|
export interface AlertsPanelProps extends React.ClassAttributes<AlertsPanel> {
|
|
4
4
|
Alerts: AdaptableAlert[];
|
|
5
5
|
ShowPanel: boolean;
|
|
@@ -31,7 +31,7 @@ export declare const getDefaultAlertDefinition: (alertDefinition: AlertDefinitio
|
|
|
31
31
|
AlertProperties?: import("../../../types").AlertProperties;
|
|
32
32
|
AlertForm?: string | import("../../../types").AlertButtonForm;
|
|
33
33
|
IsSuspended?: boolean;
|
|
34
|
-
Source?: "
|
|
34
|
+
Source?: "InitialState" | "User";
|
|
35
35
|
AdaptableVersion?: `${string}.${string}.${string}`;
|
|
36
36
|
IsReadOnly?: boolean;
|
|
37
37
|
Tags?: string[];
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import { AlertDefinition } from '../../../
|
|
2
|
+
import { AlertDefinition } from '../../../AdaptableState/AlertState';
|
|
3
3
|
import { AdaptableApi } from '../../../types';
|
|
4
4
|
import { AlertType } from '../Utilities/getAlertType';
|
|
5
5
|
export declare const renderAlertBehaviourWizardSummary: (alertDefinition: AlertDefinition) => React.JSX.Element;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import { AlertButton } from '../../../
|
|
3
|
-
import { AdaptableAlert } from '../../../
|
|
2
|
+
import { AlertButton } from '../../../AdaptableState/AlertState';
|
|
3
|
+
import { AdaptableAlert } from '../../../AdaptableState/Common/AdaptableAlert';
|
|
4
4
|
import { AdaptableApi } from '../../../Api/AdaptableApi';
|
|
5
5
|
import { AlertFormContext } from '../../../types';
|
|
6
6
|
import { AlertType } from '../Utilities/getAlertType';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import { AlertDefinition } from '../../../
|
|
2
|
+
import { AlertDefinition } from '../../../AdaptableState/AlertState';
|
|
3
3
|
import { AlertType } from '../Utilities/getAlertType';
|
|
4
4
|
export declare const renderAlertMessageSummary: () => React.JSX.Element;
|
|
5
5
|
type AlertDisplayWizardSectionProps = {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import { AlertDefinition } from '../../../
|
|
2
|
+
import { AlertDefinition } from '../../../AdaptableState/AlertState';
|
|
3
3
|
import { AdaptableApi } from '../../../types';
|
|
4
4
|
import { BoxProps } from 'rebass';
|
|
5
5
|
import { AlertType } from '../Utilities/getAlertType';
|
|
@@ -80,9 +80,11 @@ export const AlertNotificationWizardSection = (props) => {
|
|
|
80
80
|
api.alertApi.internalApi.getDefaultAlertNotificationForm();
|
|
81
81
|
}
|
|
82
82
|
// make sure we have at least one button
|
|
83
|
-
if (typeof newAlertDefinition.AlertForm === 'object' &&
|
|
83
|
+
if (typeof newAlertDefinition.AlertForm === 'object' &&
|
|
84
|
+
(!newAlertDefinition.AlertForm?.Buttons ||
|
|
85
|
+
newAlertDefinition.AlertForm?.Buttons?.length === 0)) {
|
|
84
86
|
newAlertDefinition.AlertForm.Buttons = [
|
|
85
|
-
api.alertApi.internalApi.getDefaultButton()
|
|
87
|
+
api.alertApi.internalApi.getDefaultButton(),
|
|
86
88
|
];
|
|
87
89
|
}
|
|
88
90
|
props.onChange(newAlertDefinition);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import { AlertDefinition } from '../../../
|
|
2
|
+
import { AlertDefinition } from '../../../AdaptableState/AlertState';
|
|
3
3
|
import { AlertType } from '../Utilities/getAlertType';
|
|
4
4
|
export declare const getRuleStepDescription: (alertType: AlertType) => "" | React.JSX.Element;
|
|
5
5
|
export declare const renderAlertRulesSummary: (alertDefinition: AlertDefinition) => React.JSX.Element;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import { AlertDefinition } from '../../../
|
|
2
|
+
import { AlertDefinition } from '../../../AdaptableState/AlertState';
|
|
3
3
|
import { AlertType } from '../Utilities/getAlertType';
|
|
4
4
|
type AlertScopeWizardSectionProps = {
|
|
5
5
|
onChange: (data: AlertDefinition) => void;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { AdaptableWizardStep, AdaptableWizardStepProps } from '../../Wizard/Interface/IAdaptableWizard';
|
|
3
|
-
import { AlertDefinition } from '../../../
|
|
3
|
+
import { AlertDefinition } from '../../../AdaptableState/AlertState';
|
|
4
4
|
export interface AlertSelectQueryWizardProps extends AdaptableWizardStepProps<AlertDefinition> {
|
|
5
5
|
}
|
|
6
6
|
export interface AlertSelectQueryWizardState {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import { AlertDefinition } from '../../../
|
|
2
|
+
import { AlertDefinition } from '../../../AdaptableState/AlertState';
|
|
3
3
|
import { FlashingCellDefinition } from '../../../../types';
|
|
4
4
|
export declare const renderScopeSummary: (data: AlertDefinition | FlashingCellDefinition) => React.JSX.Element;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import { StatusColour } from '../../
|
|
2
|
+
import { StatusColour } from '../../AdaptableState/Common/Enums';
|
|
3
3
|
import { PreviewResultsPanel } from '../Components/PreviewResultsPanel';
|
|
4
4
|
import { Flex } from 'rebass';
|
|
5
5
|
import join from '../../components/utils/join';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { ModuleSummaryProps } from '../Components/SharedProps/ModuleSummaryProps';
|
|
3
3
|
import { EditableConfigEntityState } from '../Components/SharedProps/EditableConfigEntityState';
|
|
4
|
-
import { CalculatedColumn } from '../../
|
|
4
|
+
import { CalculatedColumn } from '../../AdaptableState/CalculatedColumnState';
|
|
5
5
|
import type { Action } from 'redux';
|
|
6
6
|
export interface CalculatedColumnSummaryProps extends ModuleSummaryProps<CalculatedColumnSummaryComponent> {
|
|
7
7
|
CalculatedColumns: CalculatedColumn[];
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { AdaptableApi } from '../../../Api/AdaptableApi';
|
|
3
|
-
import { CalculatedColumn } from '../../../
|
|
3
|
+
import { CalculatedColumn } from '../../../AdaptableState/CalculatedColumnState';
|
|
4
4
|
export type CalculatedColumnDefinitionWizardSectionProps = {
|
|
5
5
|
onChange: (data: CalculatedColumn) => void;
|
|
6
6
|
isEdit: boolean;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import { CalculatedColumn } from '../../../
|
|
2
|
+
import { CalculatedColumn } from '../../../AdaptableState/CalculatedColumnState';
|
|
3
3
|
export type CalculatedColumnSettingsWizardSectionProps = {
|
|
4
4
|
onChange: (data: CalculatedColumn) => void;
|
|
5
5
|
isEdit: boolean;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import { CellSummmaryInfo } from '../../
|
|
2
|
+
import { CellSummmaryInfo } from '../../AdaptableState/Common/CellSummary';
|
|
3
3
|
interface CellSummaryDetailsProps extends React.ClassAttributes<CellSummaryDetails> {
|
|
4
4
|
CellSummary: CellSummmaryInfo;
|
|
5
5
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import { CellSummmaryInfo } from '../../
|
|
2
|
+
import { CellSummmaryInfo } from '../../AdaptableState/Common/CellSummary';
|
|
3
3
|
export interface CellSummaryPopoverProps {
|
|
4
4
|
CellSummary: CellSummmaryInfo;
|
|
5
5
|
}
|
|
@@ -2,7 +2,7 @@ import * as React from 'react';
|
|
|
2
2
|
import { ModuleViewPopupProps } from '../Components/SharedProps/ModuleViewPopupProps';
|
|
3
3
|
import { EditableConfigEntityState } from '../Components/SharedProps/EditableConfigEntityState';
|
|
4
4
|
import * as InternalRedux from '../../Redux/ActionsReducers/InternalRedux';
|
|
5
|
-
import { CellSummmaryInfo } from '../../
|
|
5
|
+
import { CellSummmaryInfo } from '../../AdaptableState/Common/CellSummary';
|
|
6
6
|
interface CellSummaryPopupProps extends ModuleViewPopupProps<CellSummaryPopupComponent> {
|
|
7
7
|
CellSummary: CellSummmaryInfo;
|
|
8
8
|
onCreateCellSummary: () => InternalRedux.CreateCellSummaryInfoAction;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { ViewPanelProps } from '../Components/SharedProps/ViewPanelProps';
|
|
2
2
|
import * as React from 'react';
|
|
3
|
-
import { SummaryOperation } from '../../
|
|
4
|
-
import { CellSummmaryInfo } from '../../
|
|
3
|
+
import { SummaryOperation } from '../../AdaptableState/Common/Enums';
|
|
4
|
+
import { CellSummmaryInfo } from '../../AdaptableState/Common/CellSummary';
|
|
5
5
|
import * as InternalRedux from '../../Redux/ActionsReducers/InternalRedux';
|
|
6
|
-
import { SelectedCellInfo } from '../../
|
|
6
|
+
import { SelectedCellInfo } from '../../AdaptableState/Selection/SelectedCellInfo';
|
|
7
7
|
export interface CellSummaryViewPanelComponentProps extends ViewPanelProps {
|
|
8
8
|
SelectedCellInfo: SelectedCellInfo;
|
|
9
9
|
CellSummaryOperation: SummaryOperation | string;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { EnumExtensions } from '../../Utilities/Extensions/EnumExtensions';
|
|
3
|
-
import { SummaryOperation } from '../../
|
|
3
|
+
import { SummaryOperation } from '../../AdaptableState/Common/Enums';
|
|
4
4
|
import ArrayExtensions from '../../Utilities/Extensions/ArrayExtensions';
|
|
5
5
|
import { CellSummaryPopover } from './CellSummaryPopover';
|
|
6
6
|
import { Flex } from 'rebass';
|
|
@@ -5,8 +5,7 @@ import { useChartingElements } from './useChartingElements';
|
|
|
5
5
|
import { Box, Flex } from 'rebass';
|
|
6
6
|
export const ChartingStatusBarPopover = (props) => {
|
|
7
7
|
const adaptable = useAdaptable();
|
|
8
|
-
const accessLevel = adaptable.api.entitlementApi
|
|
9
|
-
.getEntitlementAccessLevelForModule(ModuleConstants.ChartingModuleId);
|
|
8
|
+
const accessLevel = adaptable.api.entitlementApi.getEntitlementAccessLevelForModule(ModuleConstants.ChartingModuleId);
|
|
10
9
|
const { chartSelector, containerSelector, chartButton, deleteButton, editButton } = useChartingElements({
|
|
11
10
|
elementType: 'Statusbar',
|
|
12
11
|
accessLevel: accessLevel,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { FunctionComponent } from 'react';
|
|
2
|
-
import { ExternalChartDefinition } from '../../../
|
|
2
|
+
import { ExternalChartDefinition } from '../../../AdaptableState/ChartingState';
|
|
3
3
|
import { ChartDefinition } from '../../../types';
|
|
4
4
|
import { AdaptableOnePageWizardProps } from '../../Wizard/Interface/IAdaptableWizard';
|
|
5
5
|
export interface AgChargingWizardProps extends AdaptableOnePageWizardProps<ChartDefinition | ExternalChartDefinition> {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import { isAgChartDefinition, } from '../../../
|
|
2
|
+
import { isAgChartDefinition, } from '../../../AdaptableState/ChartingState';
|
|
3
3
|
import { AgChargingWizard } from './AgChargingWizard';
|
|
4
4
|
import { ExternalChartingWizard } from './ExternalChartingWizard';
|
|
5
5
|
export const ChartingWizard = (props) => {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import { ExternalChartDefinition } from '../../../../
|
|
2
|
+
import { ExternalChartDefinition } from '../../../../AdaptableState/ChartingState';
|
|
3
3
|
import { AdaptableOnePageWizardProps } from '../../../Wizard/Interface/IAdaptableWizard';
|
|
4
4
|
export interface ExternalChartingWizardProps extends AdaptableOnePageWizardProps<ExternalChartDefinition> {
|
|
5
5
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { ExternalChartDefinition } from '../../../../
|
|
2
|
+
import { ExternalChartDefinition } from '../../../../AdaptableState/ChartingState';
|
|
3
3
|
import { AdaptableApi } from '../../../../types';
|
|
4
4
|
export declare const isSettingsValid: (chartDefinition: ExternalChartDefinition, api: AdaptableApi) => true | string;
|
|
5
5
|
export interface SettingsSectionProps {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { AccessLevel, ChartDefinition } from '../../types';
|
|
3
|
-
import { ExternalChartDefinition } from '../../
|
|
3
|
+
import { ExternalChartDefinition } from '../../AdaptableState/ChartingState';
|
|
4
4
|
export interface ButtonDeleteProps {
|
|
5
5
|
chart: ChartDefinition | ExternalChartDefinition;
|
|
6
6
|
accessLevel: AccessLevel;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { ButtonDelete } from '../Components/Buttons/ButtonDelete';
|
|
3
3
|
import * as ChartingRedux from '../../Redux/ActionsReducers/ChartingRedux';
|
|
4
|
-
import { isAgChartDefinition } from '../../
|
|
4
|
+
import { isAgChartDefinition } from '../../AdaptableState/ChartingState';
|
|
5
5
|
export const DeleteChartButton = (props) => {
|
|
6
6
|
return (React.createElement(ButtonDelete, { iconSize: props.iconSize, disabled: !props.chart, ConfirmAction: isAgChartDefinition(props.chart)
|
|
7
7
|
? ChartingRedux.ChartingDeleteChart(props.chart)
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { AccessLevel, ChartDefinition } from '../../types';
|
|
3
|
-
import { ExternalChartDefinition } from '../../
|
|
3
|
+
import { ExternalChartDefinition } from '../../AdaptableState/ChartingState';
|
|
4
4
|
export interface EditChartButtonProps {
|
|
5
5
|
chart: ChartDefinition | ExternalChartDefinition;
|
|
6
6
|
accessLevel: AccessLevel;
|
|
@@ -3,7 +3,7 @@ import SimpleButton from '../../components/SimpleButton';
|
|
|
3
3
|
import { useAdaptable } from '../AdaptableContext';
|
|
4
4
|
import DropdownButton from '../../components/DropdownButton';
|
|
5
5
|
import { AG_GRID_CHART_WINDOW } from '../../Utilities/Constants/GeneralConstants';
|
|
6
|
-
import { isAgChartDefinition, isExternalChartDefinition, } from '../../
|
|
6
|
+
import { isAgChartDefinition, isExternalChartDefinition, } from '../../AdaptableState/ChartingState';
|
|
7
7
|
import { useAgChartState } from './useAgChartState';
|
|
8
8
|
import { useExternalChartState } from './useExternalChartState';
|
|
9
9
|
const BaseShowChartButton = (props) => {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import { ExternalChartDefinition } from '../../
|
|
2
|
+
import { ExternalChartDefinition } from '../../AdaptableState/ChartingState';
|
|
3
3
|
import { AccessLevel, ChartDefinition } from '../../types';
|
|
4
4
|
export declare const useChartingElements: ({ elementType, accessLevel, size, }: {
|
|
5
5
|
elementType: string;
|
|
@@ -2,7 +2,7 @@ import * as React from 'react';
|
|
|
2
2
|
import { useSelector } from 'react-redux';
|
|
3
3
|
import { Select } from '../../components/Select';
|
|
4
4
|
import SimpleButton from '../../components/SimpleButton';
|
|
5
|
-
import { isAgChartDefinition } from '../../
|
|
5
|
+
import { isAgChartDefinition } from '../../AdaptableState/ChartingState';
|
|
6
6
|
import * as ChartingRedux from '../../Redux/ActionsReducers/ChartingRedux';
|
|
7
7
|
import AdaptableHelper from '../../Utilities/Helpers/AdaptableHelper';
|
|
8
8
|
import { useAdaptable } from '../AdaptableContext';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ExternalChartDefinition } from '../../
|
|
1
|
+
import { ExternalChartDefinition } from '../../AdaptableState/ChartingState';
|
|
2
2
|
import { ChartContainer } from '../../types';
|
|
3
3
|
export declare const useExternalChartState: (chartDefinition?: ExternalChartDefinition) => {
|
|
4
4
|
showChart: (container?: ChartContainer) => void;
|
|
@@ -205,7 +205,6 @@ const ModuleView = (props) => {
|
|
|
205
205
|
}, moduleInfo: moduleInfo, data: null, configEntities: null, onCloseWizard: handleWizardClose, onFinishWizard: handleWizardClose }))));
|
|
206
206
|
};
|
|
207
207
|
export const ColumnInfo = (props) => {
|
|
208
|
-
// const state = useSelector((state: AdaptableState) => state);
|
|
209
208
|
const adaptable = useAdaptable();
|
|
210
209
|
const [selectedColumnId, setSelectedColumnId] = React.useState(props.selectedColumnId);
|
|
211
210
|
const column = adaptable.api.columnApi.getColumnWithColumnId(selectedColumnId);
|
|
@@ -215,11 +214,12 @@ export const ColumnInfo = (props) => {
|
|
|
215
214
|
React.createElement(FormRow, { label: "Select Column" },
|
|
216
215
|
React.createElement(ColumnSelector, { filterColumn: (column) => !column.alwaysHidden, value: selectedColumnId, onChange: (columnId) => setSelectedColumnId(columnId) })))),
|
|
217
216
|
selectedColumnId && (React.createElement(Tabs, { mb: 3 },
|
|
218
|
-
React.createElement(Tabs.Tab, null, "Config"),
|
|
219
217
|
React.createElement(Tabs.Tab, null, "Column Summary"),
|
|
218
|
+
React.createElement(Tabs.Tab, null, "Column State"),
|
|
219
|
+
React.createElement(Tabs.Content, null,
|
|
220
|
+
React.createElement(Flex, { flex: 1 }, selectedColumnId && React.createElement(ColumnDefPreview, { column: column }))),
|
|
221
|
+
' ',
|
|
220
222
|
React.createElement(Tabs.Content, null, selectedColumnId && (React.createElement(Box, { className: BASE_CLASS_NAME }, MODULES_WITH_COLUMN.map((moduleName) => {
|
|
221
223
|
return (React.createElement(ModuleView, { key: moduleName, moduleName: moduleName, selectedColumnId: selectedColumnId }));
|
|
222
|
-
}))))
|
|
223
|
-
React.createElement(Tabs.Content, null,
|
|
224
|
-
React.createElement(Flex, { flex: 1 }, selectedColumnId && React.createElement(ColumnDefPreview, { column: column })))))));
|
|
224
|
+
}))))))));
|
|
225
225
|
};
|
|
@@ -8,7 +8,7 @@ import * as CommentsRedux from '../../Redux/ActionsReducers/CommentsRedux';
|
|
|
8
8
|
import { CommentsAndNotesSelector } from '../../Redux/ActionsReducers/InternalRedux';
|
|
9
9
|
import { useAdaptable } from '../AdaptableContext';
|
|
10
10
|
import AdaptableInput from '../Components/AdaptableInput';
|
|
11
|
-
import
|
|
11
|
+
import FormatHelper from '../../Utilities/Helpers/FormatHelper';
|
|
12
12
|
// Edit Mode
|
|
13
13
|
// [author] [edit, delete]
|
|
14
14
|
// [text-editor] * this is different
|
|
@@ -48,6 +48,9 @@ export const CommentsEditor = (props) => {
|
|
|
48
48
|
if (!commentThread) {
|
|
49
49
|
return null;
|
|
50
50
|
}
|
|
51
|
+
const formatDate = (date, format) => {
|
|
52
|
+
return FormatHelper.DateFormatter(date, { Pattern: format });
|
|
53
|
+
};
|
|
51
54
|
return (React.createElement(Panel, { color: "var(--ab-color-text-on-primary)", onClick: () => props.enableEditMode(), minWidth: 250, className: "ab-CommentPopup", onKeyDown: (event) => {
|
|
52
55
|
if (event.key === 'Escape') {
|
|
53
56
|
api.commentApi.hideCommentsPopup();
|
|
@@ -75,7 +78,7 @@ export const CommentsEditor = (props) => {
|
|
|
75
78
|
React.createElement(Flex, { mb: 2, alignItems: "center" },
|
|
76
79
|
React.createElement(Box, null,
|
|
77
80
|
React.createElement(Box, { "data-name": "comment-username", fontSize: 3, fontWeight: "bold" }, comment?.Author?.UserName),
|
|
78
|
-
comment.Timestamp && (React.createElement(Box, { "data-name": "comment-timestamp", fontSize: 2 },
|
|
81
|
+
comment.Timestamp && (React.createElement(Box, { "data-name": "comment-timestamp", fontSize: 2 }, formatDate(comment.Timestamp, api.commentApi.internalApi.getCommentsDateFormat())))),
|
|
79
82
|
React.createElement(Box, { flex: 1 }),
|
|
80
83
|
React.createElement(SimpleButton, { variant: "text", icon: "edit", disabled: !isOwnComment || isReadOnlyModule, onClick: () => setActiveEditingComment(comment.Uuid) }),
|
|
81
84
|
React.createElement(SimpleButton, { variant: "text", icon: "delete", disabled: !isOwnComment || isReadOnlyModule, onClick: () => {
|
|
@@ -3,10 +3,10 @@ import { useSelector } from 'react-redux';
|
|
|
3
3
|
import { DataSource, InfiniteTable } from '../../components/InfiniteTable';
|
|
4
4
|
import Panel from '../../components/Panel';
|
|
5
5
|
import { Box, Flex } from 'rebass';
|
|
6
|
-
import dateFnsFormat from 'date-fns/format';
|
|
7
6
|
import { useAdaptable } from '../AdaptableContext';
|
|
8
7
|
import { PopupPanel } from '../Components/Popups/AdaptablePopup/PopupPanel';
|
|
9
8
|
import { AdaptableButtonComponent } from '../Components/AdaptableButton';
|
|
9
|
+
import FormatHelper from '../../Utilities/Helpers/FormatHelper';
|
|
10
10
|
const tableDOMProps = {
|
|
11
11
|
style: {
|
|
12
12
|
minHeight: 160,
|
|
@@ -16,6 +16,9 @@ const tableDOMProps = {
|
|
|
16
16
|
const CellComments = (props) => {
|
|
17
17
|
const adaptable = useAdaptable();
|
|
18
18
|
const isReadOnlyModule = adaptable.api.entitlementApi.getEntitlementAccessLevelForModule('Comment') === 'ReadOnly';
|
|
19
|
+
const formatDate = (date, format) => {
|
|
20
|
+
return FormatHelper.DateFormatter(date, { Pattern: format });
|
|
21
|
+
};
|
|
19
22
|
const columnsMap = React.useMemo(() => {
|
|
20
23
|
const columns = {
|
|
21
24
|
author: {
|
|
@@ -27,7 +30,7 @@ const CellComments = (props) => {
|
|
|
27
30
|
field: 'Timestamp',
|
|
28
31
|
maxWidth: 150,
|
|
29
32
|
valueGetter: (params) => {
|
|
30
|
-
return
|
|
33
|
+
return formatDate(params.data.Timestamp, adaptable.api.commentApi.internalApi.getCommentsDateFormat());
|
|
31
34
|
},
|
|
32
35
|
},
|
|
33
36
|
text: {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { Action } from 'redux';
|
|
3
|
-
import { AdaptableObject } from '../../../
|
|
3
|
+
import { AdaptableObject } from '../../../AdaptableState/Common/AdaptableObject';
|
|
4
4
|
import { AdaptableObjectItemView, AdaptableObjectView, IModule } from '../../../Strategy/Interface/IModule';
|
|
5
5
|
import { AccessLevel, AdaptableSharedEntityConfig } from '../../../types';
|
|
6
6
|
export declare const AdaptableObjectListItemView: React.FunctionComponent<{
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { ButtonProps as BtnProps } from 'rebass';
|
|
3
|
-
import { AccessLevel } from '../../../../
|
|
3
|
+
import { AccessLevel } from '../../../../AdaptableState/Common/Entitlement';
|
|
4
4
|
export interface ButtonBaseProps extends BtnProps {
|
|
5
5
|
overrideDisableButton?: boolean;
|
|
6
6
|
transformGlyph?: boolean;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { SimpleButtonProps } from '../../../components/SimpleButton';
|
|
3
|
-
import { AdaptableSharedEntityConfig } from '../../../
|
|
3
|
+
import { AdaptableSharedEntityConfig } from '../../../AdaptableState/TeamSharingState';
|
|
4
4
|
interface ButtonShareProps extends SimpleButtonProps {
|
|
5
5
|
onShare: (config: AdaptableSharedEntityConfig) => void;
|
|
6
6
|
Header: string;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import * as Redux from 'redux';
|
|
3
|
-
import { AccessLevel } from '../../../
|
|
4
|
-
import { AdaptableSharedEntityConfig } from '../../../
|
|
5
|
-
import { AdaptableObject } from '../../../
|
|
6
|
-
import { SuspendableObject } from '../../../
|
|
3
|
+
import { AccessLevel } from '../../../AdaptableState/Common/Entitlement';
|
|
4
|
+
import { AdaptableSharedEntityConfig } from '../../../AdaptableState/TeamSharingState';
|
|
5
|
+
import { AdaptableObject } from '../../../AdaptableState/Common/AdaptableObject';
|
|
6
|
+
import { SuspendableObject } from '../../../AdaptableState/Common/SuspendableObject';
|
|
7
7
|
export interface EntityListActionButtonsProps extends React.ClassAttributes<EntityListActionButtons> {
|
|
8
8
|
editClick?: () => void;
|
|
9
9
|
cloneClick?: () => void;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import { AdaptableObject } from '../../../../
|
|
3
|
-
import { AccessLevel } from '../../../../
|
|
4
|
-
import { SuspendableObject } from '../../../../
|
|
2
|
+
import { AdaptableObject } from '../../../../AdaptableState/Common/AdaptableObject';
|
|
3
|
+
import { AccessLevel } from '../../../../AdaptableState/Common/Entitlement';
|
|
4
|
+
import { SuspendableObject } from '../../../../AdaptableState/Common/SuspendableObject';
|
|
5
5
|
interface EntityListSuspendButtonProps {
|
|
6
6
|
onSuspend: (adaptableObject: AdaptableObject) => void;
|
|
7
7
|
onUnSuspend: (adaptableObject: AdaptableObject) => void;
|
|
@@ -7,5 +7,8 @@ import { useAdaptableFilterWrapper } from './useAdaptableFilterWrapper';
|
|
|
7
7
|
*/
|
|
8
8
|
export const AdaptableColumnFilter = (props) => {
|
|
9
9
|
const { qlPredicate, qlPredicateDefs, columnFilter, handlePredicateChange } = useAdaptableFilterWrapper(props.columnId);
|
|
10
|
-
return (React.createElement(ColumnFilterComponent, { wrapperProps: props.wrapperProps, columnId: props.columnId, predicate: qlPredicate, predicateDefs: qlPredicateDefs, disabled: columnFilter?.IsSuspended, onPredicateChange:
|
|
10
|
+
return (React.createElement(ColumnFilterComponent, { wrapperProps: props.wrapperProps, columnId: props.columnId, predicate: qlPredicate, predicateDefs: qlPredicateDefs, disabled: columnFilter?.IsSuspended, onPredicateChange: React.useCallback((predicate) => {
|
|
11
|
+
handlePredicateChange(predicate);
|
|
12
|
+
props.onChange?.();
|
|
13
|
+
}, [handlePredicateChange, props.onChange]) }));
|
|
11
14
|
};
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { ColumnFilterProps } from '../../../Utilities/Interface/ColumnFilterProps';
|
|
3
3
|
export interface AdaptableColumnFilterProps extends ColumnFilterProps {
|
|
4
|
+
onClear?: () => void;
|
|
5
|
+
onChange?: () => void;
|
|
4
6
|
}
|
|
5
7
|
/**
|
|
6
8
|
* This wrapper knows about predicates.
|
|
@@ -9,6 +9,14 @@ import { useAdaptableFilterWrapper } from './useAdaptableFilterWrapper';
|
|
|
9
9
|
export const AdaptableFloatingFilter = (props) => {
|
|
10
10
|
const adaptable = useAdaptable();
|
|
11
11
|
const { qlPredicate, qlPredicateDefs, columnFilter, column, handlePredicateChange, handleOnChange, handleClear, } = useAdaptableFilterWrapper(props.Column.columnId);
|
|
12
|
+
const onClear = React.useCallback(() => {
|
|
13
|
+
handleClear();
|
|
14
|
+
props.onClear?.();
|
|
15
|
+
}, [handleClear, props.onClear]);
|
|
16
|
+
const onPredicateChange = React.useCallback((newPredicate) => {
|
|
17
|
+
handlePredicateChange(newPredicate);
|
|
18
|
+
props.onChange?.();
|
|
19
|
+
}, [handlePredicateChange, props.onChange]);
|
|
12
20
|
if (!column) {
|
|
13
21
|
return null;
|
|
14
22
|
}
|
|
@@ -24,8 +32,7 @@ export const AdaptableFloatingFilter = (props) => {
|
|
|
24
32
|
Inputs: [],
|
|
25
33
|
},
|
|
26
34
|
]);
|
|
35
|
+
props.onChange?.();
|
|
27
36
|
}
|
|
28
|
-
}, onClear:
|
|
29
|
-
handlePredicateChange(newPredicate);
|
|
30
|
-
} }));
|
|
37
|
+
}, onClear: onClear, columnId: props.Column.columnId, predicate: qlPredicate, predicateDefs: qlPredicateDefs, disabled: columnFilter?.IsSuspended, onPredicateChange: onPredicateChange }));
|
|
31
38
|
};
|
|
@@ -6,7 +6,7 @@ interface ColumnFilterComponentProps {
|
|
|
6
6
|
disabled?: boolean;
|
|
7
7
|
predicate?: QlPredicate;
|
|
8
8
|
predicateDefs: QlPredicateDef[];
|
|
9
|
-
onPredicateChange: (predicate: QlPredicate) => void;
|
|
9
|
+
onPredicateChange: (predicate: QlPredicate | null) => void;
|
|
10
10
|
wrapperProps?: BoxProps;
|
|
11
11
|
}
|
|
12
12
|
export declare const ColumnFilterComponent: React.FunctionComponent<ColumnFilterComponentProps>;
|
|
@@ -69,7 +69,9 @@ export const ColumnFilterComponent = (props) => {
|
|
|
69
69
|
setPredicateNotYetApplied(undefined);
|
|
70
70
|
};
|
|
71
71
|
const onPredicateChange = (predicate) => {
|
|
72
|
-
if
|
|
72
|
+
// even if autoApplyColumnFilter is false, when we explicitly clear the filter
|
|
73
|
+
// we want to apply the filter immediately
|
|
74
|
+
if (autoApplyColumnFilter || !predicate) {
|
|
73
75
|
props.onPredicateChange(predicate);
|
|
74
76
|
}
|
|
75
77
|
else {
|
|
@@ -112,7 +114,7 @@ export const ColumnFilterComponent = (props) => {
|
|
|
112
114
|
return (React.createElement(React.Fragment, null,
|
|
113
115
|
React.createElement(Flex, { m: 2 },
|
|
114
116
|
React.createElement(AndOrInput, { onChange: onCombineChange, operator: currentPredicate.operator }),
|
|
115
|
-
React.createElement(SimpleButton, { ml: 2, onClick: () => onPredicateChange(
|
|
117
|
+
React.createElement(SimpleButton, { ml: 2, onClick: () => onPredicateChange(null) }, "Clear All")),
|
|
116
118
|
React.createElement(Flex, { flexDirection: "column", className: "ab-ColumnFilter", flex: 1, minHeight: 0, ...props.wrapperProps },
|
|
117
119
|
React.createElement(Box, { flex: 1, style: { overflow: 'auto' } },
|
|
118
120
|
currentPredicate.args.map((predicate, index) => {
|
|
@@ -31,7 +31,7 @@ export const FloatingFilter = (props) => {
|
|
|
31
31
|
label = '';
|
|
32
32
|
}
|
|
33
33
|
const showQuickFilterDropdown = adaptable.api.filterApi.columnFilterApi.internalApi.showQuickFilterDropdown(props.columnId);
|
|
34
|
-
const handleClear = () => props.onClear();
|
|
34
|
+
const handleClear = () => props.onClear?.();
|
|
35
35
|
const showEvent = 'click';
|
|
36
36
|
const hideEvent = 'blur';
|
|
37
37
|
let filterDropdown = null;
|
|
@@ -78,7 +78,7 @@ export const FloatingFilter = (props) => {
|
|
|
78
78
|
} }))),
|
|
79
79
|
isInlineEditable && (React.createElement(SimpleButton, { px: 0, onClick: () => {
|
|
80
80
|
adaptable.api.filterApi.columnFilterApi.internalApi.openColumnFilterPopup(props.columnId);
|
|
81
|
-
}, icon: "expand", variant: "text" })),
|
|
81
|
+
}, "data-name": "expand-filter", icon: "expand", variant: "text" })),
|
|
82
82
|
(isMultiple ||
|
|
83
83
|
!isPredicateEmpty(props.predicate.args[0], singleFilterPredicateDef)) && (React.createElement(SimpleButton, { "data-name": "clear-filter", p: 0, variant: "text", onClick: handleClear, icon: "close" }))));
|
|
84
84
|
};
|
|
@@ -17,7 +17,7 @@ export const LayoutColumnFilter = (props) => {
|
|
|
17
17
|
...props.columnFilter,
|
|
18
18
|
ColumnId: props.columnFilter.ColumnId,
|
|
19
19
|
Predicates: newAdaptablePredicates,
|
|
20
|
-
|
|
20
|
+
PredicatesOperator: newPredicate.operator,
|
|
21
21
|
};
|
|
22
22
|
props.onColumnFilterChange(newFilter);
|
|
23
23
|
};
|
|
@@ -16,7 +16,7 @@ type ColumnFilterEditorChangeProps = {
|
|
|
16
16
|
value: string;
|
|
17
17
|
onChange: (value: string) => void;
|
|
18
18
|
};
|
|
19
|
-
export declare const ColumnFilterInput: ({ type, value, onChange: onChangeProp, onClear, disabled, onKeyDown, filterType, usePrimitiveInputs, columnId, }: {
|
|
19
|
+
export declare const ColumnFilterInput: ({ type, value, onChange: onChangeProp, onClear: onClearProp, disabled, onKeyDown, filterType, usePrimitiveInputs, columnId, }: {
|
|
20
20
|
disabled: boolean;
|
|
21
21
|
onClear: () => void;
|
|
22
22
|
onKeyDown?: (event: React.KeyboardEventHandler<HTMLInputElement>) => void;
|
|
@@ -9,7 +9,7 @@ import { useCallback } from 'react';
|
|
|
9
9
|
function debounceOrImmediate(fn, time) {
|
|
10
10
|
return time && time > 0 ? debounce(fn, time) : fn;
|
|
11
11
|
}
|
|
12
|
-
export const ColumnFilterInput = ({ type, value, onChange: onChangeProp, onClear, disabled, onKeyDown, filterType, usePrimitiveInputs = true, columnId, }) => {
|
|
12
|
+
export const ColumnFilterInput = ({ type, value, onChange: onChangeProp, onClear: onClearProp, disabled, onKeyDown, filterType, usePrimitiveInputs = true, columnId, }) => {
|
|
13
13
|
const [liveValue, setLiveValue] = React.useState(value);
|
|
14
14
|
const [hasFocus, setHasFocus] = React.useState(false);
|
|
15
15
|
const onFocus = useCallback(() => {
|
|
@@ -39,6 +39,12 @@ export const ColumnFilterInput = ({ type, value, onChange: onChangeProp, onClear
|
|
|
39
39
|
onChangeProp(value);
|
|
40
40
|
}, debounceTime);
|
|
41
41
|
}, [onChangeProp, debounceTime]);
|
|
42
|
+
// the onClear needs to have the same debounce time as the onChange
|
|
43
|
+
const onClear = React.useMemo(() => {
|
|
44
|
+
return debounceOrImmediate(() => {
|
|
45
|
+
onClearProp();
|
|
46
|
+
}, debounceTime);
|
|
47
|
+
}, [onClearProp, debounceTime]);
|
|
42
48
|
if (type === 'boolean') {
|
|
43
49
|
return (React.createElement(CheckBox, { disabled: disabled, onFocus: onFocus, onBlur: onBlur, checked: value === 'checked'
|
|
44
50
|
? true
|