@adaptabletools/adaptable 17.0.6 → 18.0.0-canary.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/agGrid.js +26 -32
- package/base.css +24 -13
- package/base.css.map +1 -1
- package/index.css +217 -164
- package/index.css.map +1 -1
- package/package.json +8 -5
- package/src/AdaptableInterfaces/AdaptableNoCodeWizard.js +1 -2
- package/src/AdaptableInterfaces/IAdaptable.d.ts +2 -0
- package/src/AdaptableInterfaces/IAdaptable.js +1 -2
- package/src/AdaptableOptions/ActionColumnOptions.js +1 -2
- package/src/AdaptableOptions/ActionRowOptions.js +1 -2
- package/src/AdaptableOptions/AdaptableFrameworkComponent.js +1 -2
- package/src/AdaptableOptions/AdaptableOptions.d.ts +5 -0
- package/src/AdaptableOptions/AdaptableOptions.js +1 -2
- package/src/AdaptableOptions/AdaptablePlugin.js +1 -5
- package/src/AdaptableOptions/AlertOptions.d.ts +7 -7
- package/src/AdaptableOptions/AlertOptions.js +1 -2
- package/src/AdaptableOptions/CalendarOptions.js +1 -2
- package/src/AdaptableOptions/CellSummaryOptions.js +1 -2
- package/src/AdaptableOptions/ChartingOptions.js +1 -2
- package/src/AdaptableOptions/ColumnFilterOptions.js +1 -2
- package/src/AdaptableOptions/ColumnOptions.js +1 -2
- package/src/AdaptableOptions/CommentsOptions.d.ts +28 -0
- package/src/AdaptableOptions/CommentsOptions.js +1 -0
- package/src/AdaptableOptions/ContainerOptions.js +1 -2
- package/src/AdaptableOptions/CustomSortOptions.js +1 -2
- package/src/AdaptableOptions/DashboardOptions.js +1 -2
- package/src/AdaptableOptions/DataChangeHistoryOptions.js +1 -2
- package/src/AdaptableOptions/DataImportOptions.js +1 -2
- package/src/AdaptableOptions/DataSetOptions.js +1 -2
- package/src/AdaptableOptions/DateInputOptions.js +1 -2
- package/src/AdaptableOptions/EditOptions.js +1 -2
- package/src/AdaptableOptions/EntitlementOptions.js +1 -2
- package/src/AdaptableOptions/ExportOptions.js +1 -2
- package/src/AdaptableOptions/ExpressionOptions.js +1 -2
- package/src/AdaptableOptions/Fdc3Options.js +2 -5
- package/src/AdaptableOptions/FlashingCellOptions.js +1 -2
- package/src/AdaptableOptions/FormatColumnOptions.js +1 -2
- package/src/AdaptableOptions/GridFilterOptions.d.ts +5 -5
- package/src/AdaptableOptions/GridFilterOptions.js +1 -2
- package/src/AdaptableOptions/GroupingOptions.d.ts +5 -5
- package/src/AdaptableOptions/GroupingOptions.js +1 -2
- package/src/AdaptableOptions/IPushPullPluginOptions.js +1 -2
- package/src/AdaptableOptions/InteropioPluginOptions.d.ts +10 -0
- package/src/AdaptableOptions/InteropioPluginOptions.js +1 -0
- package/src/AdaptableOptions/LayoutOptions.js +1 -2
- package/src/AdaptableOptions/MasterDetailPluginOptions.js +1 -2
- package/src/AdaptableOptions/MenuOptions.d.ts +18 -4
- package/src/AdaptableOptions/MenuOptions.js +15 -11
- package/src/AdaptableOptions/NotesOptions.d.ts +2 -9
- package/src/AdaptableOptions/NotesOptions.js +1 -2
- package/src/AdaptableOptions/NotificationsOptions.js +1 -2
- package/src/AdaptableOptions/OpenFinPluginOptions.js +1 -2
- package/src/AdaptableOptions/PredicateOptions.js +1 -2
- package/src/AdaptableOptions/QuickSearchOptions.js +1 -2
- package/src/AdaptableOptions/SettingsPanelOptions.js +1 -2
- package/src/AdaptableOptions/StateOptions.js +1 -2
- package/src/AdaptableOptions/TeamSharingOptions.js +1 -2
- package/src/AdaptableOptions/ToolPanelOptions.js +1 -2
- package/src/AdaptableOptions/UserInterfaceOptions.js +1 -2
- package/src/Api/ActionColumnApi.js +1 -2
- package/src/Api/ActionRowApi.js +1 -2
- package/src/Api/AdaptableApi.d.ts +6 -1
- package/src/Api/AdaptableApi.js +1 -2
- package/src/Api/AlertApi.js +1 -2
- package/src/Api/ApplicationApi.js +1 -2
- package/src/Api/BulkUpdateApi.js +1 -2
- package/src/Api/CalculatedColumnApi.js +1 -2
- package/src/Api/CalendarApi.js +1 -2
- package/src/Api/CellSummaryApi.js +1 -2
- package/src/Api/ChartingApi.js +1 -2
- package/src/Api/ColumnApi.js +1 -2
- package/src/Api/ColumnFilterApi.js +1 -2
- package/src/Api/CommentApi.d.ts +58 -0
- package/src/Api/CommentApi.js +1 -0
- package/src/Api/ConfigApi.js +1 -2
- package/src/Api/CustomSortApi.js +1 -2
- package/src/Api/DashboardApi.js +1 -2
- package/src/Api/DataChangeHistoryApi.js +1 -2
- package/src/Api/DataImportApi.js +1 -2
- package/src/Api/DataSetApi.js +1 -2
- package/src/Api/EntitlementApi.js +1 -2
- package/src/Api/EventApi.d.ts +16 -3
- package/src/Api/EventApi.js +1 -2
- package/src/Api/Events/ActionRowSubmitted.js +1 -2
- package/src/Api/Events/AdaptableReady.js +1 -2
- package/src/Api/Events/AdaptableSearchState.js +1 -2
- package/src/Api/Events/AdaptableStateChanged.js +1 -2
- package/src/Api/Events/AdaptableStateReloaded.js +1 -2
- package/src/Api/Events/AlertFired.js +1 -2
- package/src/Api/Events/BaseEventInfo.js +1 -2
- package/src/Api/Events/CalculatedColumnChanged.js +1 -2
- package/src/Api/Events/CellChanged.js +1 -2
- package/src/Api/Events/CellSelectionChanged.js +1 -2
- package/src/Api/Events/ChartChanged.js +1 -2
- package/src/Api/Events/ColumnFilterApplied.js +1 -2
- package/src/Api/Events/CommentsChangedInfo.d.ts +5 -0
- package/src/Api/Events/CommentsChangedInfo.js +1 -0
- package/src/Api/Events/CustomToolbarConfigured.js +1 -2
- package/src/Api/Events/DashboardChanged.js +1 -2
- package/src/Api/Events/DataImported.js +1 -2
- package/src/Api/Events/DataSetSelected.js +1 -2
- package/src/Api/Events/Fdc3MessageInfo.js +1 -2
- package/src/Api/Events/FlashingCellDisplayed.js +1 -2
- package/src/Api/Events/GridDataChanged.js +1 -2
- package/src/Api/Events/GridFilterApplied.js +1 -2
- package/src/Api/Events/GridSorted.js +1 -2
- package/src/Api/Events/LayoutChanged.js +1 -2
- package/src/Api/Events/LiveDataChanged.d.ts +3 -3
- package/src/Api/Events/LiveDataChanged.js +1 -2
- package/src/Api/Events/RowSelectionChanged.js +1 -2
- package/src/Api/Events/ScheduleTriggered.js +1 -2
- package/src/Api/Events/SystemStatusMessageDisplayed.js +1 -2
- package/src/Api/Events/TeamSharingEntityChanged.js +1 -2
- package/src/Api/Events/ThemeChanged.js +1 -2
- package/src/Api/Events/ThemeEdited.js +1 -2
- package/src/Api/ExportApi.js +1 -2
- package/src/Api/ExpressionApi.js +1 -2
- package/src/Api/Fdc3Api.js +1 -2
- package/src/Api/FlashingCellApi.js +1 -2
- package/src/Api/FormatColumnApi.js +1 -2
- package/src/Api/FreeTextColumnApi.js +1 -2
- package/src/Api/GridApi.js +1 -2
- package/src/Api/GridFilterApi.js +1 -2
- package/src/Api/IPushPullApi.js +1 -2
- package/src/Api/Implementation/ActionColumnApiImpl.js +2 -6
- package/src/Api/Implementation/ActionRowApiImpl.js +8 -12
- package/src/Api/Implementation/AdaptableApiImpl.d.ts +6 -6
- package/src/Api/Implementation/AdaptableApiImpl.js +99 -101
- package/src/Api/Implementation/AlertApiImpl.js +18 -23
- package/src/Api/Implementation/ApiBase.js +5 -10
- package/src/Api/Implementation/ApplicationApiImpl.js +3 -8
- package/src/Api/Implementation/BulkUpdateApiImpl.js +5 -10
- package/src/Api/Implementation/CalculatedColumnApiImpl.js +6 -11
- package/src/Api/Implementation/CalendarApiImpl.js +2 -6
- package/src/Api/Implementation/CellSummaryApiImpl.js +17 -22
- package/src/Api/Implementation/ChartingApiImpl.js +13 -18
- package/src/Api/Implementation/ColumnApiImpl.js +11 -16
- package/src/Api/Implementation/ColumnFilterApiImpl.js +9 -14
- package/src/Api/Implementation/CommentsApiImpl.d.ts +15 -0
- package/src/Api/Implementation/CommentsApiImpl.js +41 -0
- package/src/Api/Implementation/ConfigApiImpl.js +29 -34
- package/src/Api/Implementation/CustomSortApiImpl.js +6 -11
- package/src/Api/Implementation/DashboardApiImpl.js +9 -14
- package/src/Api/Implementation/DataChangeHistoryApiImpl.js +10 -15
- package/src/Api/Implementation/DataImportApiImpl.js +4 -8
- package/src/Api/Implementation/DataSetApiImpl.js +6 -11
- package/src/Api/Implementation/EntitlementApiImpl.js +2 -6
- package/src/Api/Implementation/EventApiImpl.js +4 -9
- package/src/Api/Implementation/ExportApiImpl.js +12 -17
- package/src/Api/Implementation/ExpressionApiImpl.js +5 -10
- package/src/Api/Implementation/Fdc3ApiImpl.js +8 -12
- package/src/Api/Implementation/FlashingCellApiImpl.js +6 -11
- package/src/Api/Implementation/FormatColumnApiImpl.js +6 -11
- package/src/Api/Implementation/FreeTextColumnApiImpl.js +9 -14
- package/src/Api/Implementation/GridApiImpl.js +18 -23
- package/src/Api/Implementation/GridFilterApiImpl.js +9 -14
- package/src/Api/Implementation/LayoutApiImpl.js +25 -30
- package/src/Api/Implementation/NamedQueryApiImpl.js +8 -13
- package/src/Api/Implementation/NotesApiImpl.d.ts +2 -6
- package/src/Api/Implementation/NotesApiImpl.js +4 -23
- package/src/Api/Implementation/OptionsApiImpl.d.ts +2 -0
- package/src/Api/Implementation/OptionsApiImpl.js +5 -6
- package/src/Api/Implementation/PluginsApiImpl.d.ts +2 -6
- package/src/Api/Implementation/PluginsApiImpl.js +6 -23
- package/src/Api/Implementation/PlusMinusApiImpl.js +4 -9
- package/src/Api/Implementation/PredicateApiImpl.js +12 -17
- package/src/Api/Implementation/QuickSearchApiImpl.js +5 -10
- package/src/Api/Implementation/ScheduleApiImpl.d.ts +1 -12
- package/src/Api/Implementation/ScheduleApiImpl.js +6 -47
- package/src/Api/Implementation/ScopeApiImpl.js +8 -13
- package/src/Api/Implementation/SettingsPanelApiImpl.js +3 -8
- package/src/Api/Implementation/ShortcutApiImpl.js +4 -9
- package/src/Api/Implementation/SmartEditApiImpl.js +5 -10
- package/src/Api/Implementation/StatusBarApiImpl.js +5 -9
- package/src/Api/Implementation/StyledColumnApiImpl.js +6 -11
- package/src/Api/Implementation/SystemStatusApiImpl.js +16 -21
- package/src/Api/Implementation/TeamSharingApiImpl.js +12 -17
- package/src/Api/Implementation/ThemeApiImpl.d.ts +1 -0
- package/src/Api/Implementation/ThemeApiImpl.js +13 -15
- package/src/Api/Implementation/ToolPanelApiImpl.js +6 -11
- package/src/Api/Implementation/UserInterfaceApiImpl.js +15 -20
- package/src/Api/Internal/ActionRowInternalApi.js +3 -7
- package/src/Api/Internal/AdaptableInternalApi.d.ts +2 -0
- package/src/Api/Internal/AdaptableInternalApi.js +24 -26
- package/src/Api/Internal/AlertInternalApi.js +20 -25
- package/src/Api/Internal/CalculatedColumnInternalApi.js +2 -6
- package/src/Api/Internal/ChartingInternalApi.js +8 -12
- package/src/Api/Internal/ColumnFilterInternalApi.js +8 -13
- package/src/Api/Internal/ColumnInternalApi.js +4 -8
- package/src/Api/Internal/CustomSortInternalApi.js +2 -6
- package/src/Api/Internal/DashboardInternalApi.js +6 -11
- package/src/Api/Internal/DataImportInternalApi.js +6 -11
- package/src/Api/Internal/DataSetInternalApi.js +4 -7
- package/src/Api/Internal/ExportInternalApi.js +2 -6
- package/src/Api/Internal/ExpressionInternalApi.js +2 -6
- package/src/Api/Internal/Fdc3InternalApi.js +24 -28
- package/src/Api/Internal/FlashingCellInternalApi.js +7 -12
- package/src/Api/Internal/FormatColumnInternalApi.js +17 -22
- package/src/Api/Internal/FreeTextColumnInternalApi.js +2 -6
- package/src/Api/Internal/GridFilterInternalApi.js +2 -6
- package/src/Api/Internal/GridInternalApi.js +13 -18
- package/src/Api/Internal/LayoutInternalApi.js +16 -21
- package/src/Api/Internal/NamedQueryInternalApi.js +3 -8
- package/src/Api/Internal/PredicateInternalApi.js +2 -6
- package/src/Api/Internal/ScheduleInternalApi.js +2 -6
- package/src/Api/Internal/StyledColumnInternalApi.js +5 -10
- package/src/Api/Internal/SystemStatusInternalApi.js +3 -8
- package/src/Api/Internal/TeamSharingInternalApi.js +2 -6
- package/src/Api/Internal/ThemeInternalApi.js +5 -9
- package/src/Api/Internal/UserInterfaceInternalApi.js +2 -6
- package/src/Api/InteropioPluginApi.d.ts +10 -0
- package/src/Api/InteropioPluginApi.js +1 -0
- package/src/Api/LayoutApi.js +1 -2
- package/src/Api/NamedQueryApi.js +1 -2
- package/src/Api/{NotesAPi.d.ts → NotesApi.d.ts} +19 -21
- package/src/Api/NotesApi.js +1 -0
- package/src/Api/OpenFinApi.js +1 -2
- package/src/Api/OptionsApi.d.ts +5 -0
- package/src/Api/OptionsApi.js +1 -2
- package/src/Api/PluginsApi.d.ts +3 -13
- package/src/Api/PluginsApi.js +1 -2
- package/src/Api/PlusMinusApi.js +1 -2
- package/src/Api/PredicateApi.js +1 -2
- package/src/Api/QuickSearchApi.js +1 -2
- package/src/Api/ScheduleApi.d.ts +1 -48
- package/src/Api/ScheduleApi.js +1 -2
- package/src/Api/ScopeApi.js +1 -2
- package/src/Api/SettingsPanelApi.js +1 -2
- package/src/Api/ShortcutApi.js +1 -2
- package/src/Api/SmartEditApi.js +1 -2
- package/src/Api/StatusBarApi.js +1 -2
- package/src/Api/StyledColumnApi.js +1 -2
- package/src/Api/SystemStatusApi.js +1 -2
- package/src/Api/TeamSharingApi.js +1 -2
- package/src/Api/ThemeApi.d.ts +5 -0
- package/src/Api/ThemeApi.js +1 -2
- package/src/Api/ToolPanelApi.js +1 -2
- package/src/Api/UserInterfaceApi.js +1 -2
- package/src/PredefinedConfig/AdaptableState.d.ts +4 -2
- package/src/PredefinedConfig/AdaptableState.js +1 -2
- package/src/PredefinedConfig/AlertState.js +1 -2
- package/src/PredefinedConfig/ApplicationState.js +1 -2
- package/src/PredefinedConfig/CalculatedColumnState.js +1 -2
- package/src/PredefinedConfig/CellAddress.d.ts +13 -0
- package/src/PredefinedConfig/CellAddress.js +4 -0
- package/src/PredefinedConfig/ChartingState.js +2 -7
- package/src/PredefinedConfig/CommentState.d.ts +48 -0
- package/src/PredefinedConfig/CommentState.js +1 -0
- package/src/PredefinedConfig/Common/AdaptableAlert.js +2 -7
- package/src/PredefinedConfig/Common/AdaptableButton.js +1 -2
- package/src/PredefinedConfig/Common/AdaptableColumn.js +1 -5
- package/src/PredefinedConfig/Common/AdaptableComparerFunction.js +1 -2
- package/src/PredefinedConfig/Common/AdaptableFlashingCell.js +1 -2
- package/src/PredefinedConfig/Common/AdaptableForm.js +1 -5
- package/src/PredefinedConfig/Common/AdaptableFormat.js +1 -2
- package/src/PredefinedConfig/Common/AdaptableIcon.d.ts +1 -1
- package/src/PredefinedConfig/Common/AdaptableIcon.js +1 -2
- package/src/PredefinedConfig/Common/AdaptableMessageType.js +1 -2
- package/src/PredefinedConfig/Common/AdaptableObject.js +1 -2
- package/src/PredefinedConfig/Common/AdaptablePredicate.js +54 -57
- package/src/PredefinedConfig/Common/AdaptableQuery.js +1 -5
- package/src/PredefinedConfig/Common/AdaptableScope.js +1 -2
- package/src/PredefinedConfig/Common/AdaptableStyle.js +1 -2
- package/src/PredefinedConfig/Common/AggregationColumns.js +1 -4
- package/src/PredefinedConfig/Common/AlternativeModuleName.js +1 -2
- package/src/PredefinedConfig/Common/BaseContext.js +1 -2
- package/src/PredefinedConfig/Common/ButtonStyle.js +1 -2
- package/src/PredefinedConfig/Common/CellDataChangedInfo.js +1 -2
- package/src/PredefinedConfig/Common/CellHighlightInfo.js +1 -2
- package/src/PredefinedConfig/Common/CellSummary.js +1 -2
- package/src/PredefinedConfig/Common/ColumnFilter.js +1 -2
- package/src/PredefinedConfig/Common/ColumnSort.js +1 -2
- package/src/PredefinedConfig/Common/DataChangedScope.js +1 -2
- package/src/PredefinedConfig/Common/DataUpdateConfig.js +1 -2
- package/src/PredefinedConfig/Common/Entitlement.js +1 -2
- package/src/PredefinedConfig/Common/Enums.d.ts +0 -1
- package/src/PredefinedConfig/Common/Enums.js +26 -30
- package/src/PredefinedConfig/Common/Fdc3Context.js +32 -35
- package/src/PredefinedConfig/Common/Fdc3Intent.js +64 -67
- package/src/PredefinedConfig/Common/FilterActionOnDataChange.js +1 -2
- package/src/PredefinedConfig/Common/FormContext.js +1 -2
- package/src/PredefinedConfig/Common/GridFilter.js +1 -2
- package/src/PredefinedConfig/Common/Menu.js +1 -2
- package/src/PredefinedConfig/Common/RowHighlightInfo.js +1 -2
- package/src/PredefinedConfig/Common/RowsHighlightInfo.js +1 -2
- package/src/PredefinedConfig/Common/Schedule.d.ts +1 -1
- package/src/PredefinedConfig/Common/Schedule.js +1 -2
- package/src/PredefinedConfig/Common/SpecialColumnSettings.js +1 -2
- package/src/PredefinedConfig/Common/SuspendableObject.js +1 -2
- package/src/PredefinedConfig/Common/SystemStatusMessageInfo.js +1 -2
- package/src/PredefinedConfig/Common/Types.d.ts +5 -5
- package/src/PredefinedConfig/Common/Types.js +5 -11
- package/src/PredefinedConfig/ConfigState.js +1 -2
- package/src/PredefinedConfig/CustomSortState.js +1 -2
- package/src/PredefinedConfig/DashboardState.js +1 -2
- package/src/PredefinedConfig/ExportState.js +1 -2
- package/src/PredefinedConfig/FlashingCellState.js +1 -2
- package/src/PredefinedConfig/FormatColumnState.js +1 -2
- package/src/PredefinedConfig/FreeTextColumnState.js +1 -2
- package/src/PredefinedConfig/GridState.js +1 -2
- package/src/PredefinedConfig/IPushPullState.js +1 -2
- package/src/PredefinedConfig/InternalState.js +1 -2
- package/src/PredefinedConfig/LayoutState.js +1 -2
- package/src/PredefinedConfig/NamedQueryState.js +1 -2
- package/src/PredefinedConfig/NotesState.d.ts +0 -13
- package/src/PredefinedConfig/NotesState.js +1 -2
- package/src/PredefinedConfig/OpenFinState.js +1 -2
- package/src/PredefinedConfig/PlusMinusState.js +1 -2
- package/src/PredefinedConfig/PopupState.js +1 -2
- package/src/PredefinedConfig/PredefinedConfig.d.ts +3 -0
- package/src/PredefinedConfig/PredefinedConfig.js +1 -2
- package/src/PredefinedConfig/QueryState.js +1 -2
- package/src/PredefinedConfig/QuickSearchState.js +1 -2
- package/src/PredefinedConfig/ScheduleState.d.ts +0 -5
- package/src/PredefinedConfig/ScheduleState.js +1 -2
- package/src/PredefinedConfig/Selection/GridCell.js +1 -2
- package/src/PredefinedConfig/Selection/GridCellRange.js +1 -2
- package/src/PredefinedConfig/Selection/GridRow.js +1 -2
- package/src/PredefinedConfig/Selection/SelectedCellInfo.js +1 -2
- package/src/PredefinedConfig/Selection/SelectedRowInfo.js +1 -2
- package/src/PredefinedConfig/ShortcutState.js +1 -2
- package/src/PredefinedConfig/StatusBarState.js +1 -4
- package/src/PredefinedConfig/StyledColumnState.js +1 -2
- package/src/PredefinedConfig/SystemState.d.ts +5 -6
- package/src/PredefinedConfig/SystemState.js +1 -2
- package/src/PredefinedConfig/TeamSharingState.js +2 -7
- package/src/PredefinedConfig/ThemeState.d.ts +1 -1
- package/src/PredefinedConfig/ThemeState.js +1 -2
- package/src/PredefinedConfig/ToolPanelState.js +1 -2
- package/src/PredefinedConfig/Uuid.js +2 -6
- package/src/Redux/ActionsReducers/AlertRedux.js +45 -59
- package/src/Redux/ActionsReducers/ApplicationRedux.js +15 -22
- package/src/Redux/ActionsReducers/BulkUpdateRedux.js +9 -15
- package/src/Redux/ActionsReducers/CalculatedColumnRedux.js +20 -29
- package/src/Redux/ActionsReducers/CellSummaryRedux.js +3 -7
- package/src/Redux/ActionsReducers/ChartingRedux.js +41 -55
- package/src/Redux/ActionsReducers/CommentsRedux.d.ts +79 -0
- package/src/Redux/ActionsReducers/CommentsRedux.js +173 -0
- package/src/Redux/ActionsReducers/CustomSortRedux.js +41 -54
- package/src/Redux/ActionsReducers/DashboardRedux.js +50 -66
- package/src/Redux/ActionsReducers/ExportRedux.js +31 -43
- package/src/Redux/ActionsReducers/FlashingCellRedux.js +43 -57
- package/src/Redux/ActionsReducers/FormatColumnRedux.js +54 -70
- package/src/Redux/ActionsReducers/FreeTextColumnRedux.js +24 -34
- package/src/Redux/ActionsReducers/GridRedux.js +125 -160
- package/src/Redux/ActionsReducers/LayoutRedux.js +89 -115
- package/src/Redux/ActionsReducers/NamedQueryRedux.js +25 -35
- package/src/Redux/ActionsReducers/NotesRedux.js +22 -33
- package/src/Redux/ActionsReducers/PluginsRedux.d.ts +0 -48
- package/src/Redux/ActionsReducers/PluginsRedux.js +36 -89
- package/src/Redux/ActionsReducers/PlusMinusRedux.js +53 -69
- package/src/Redux/ActionsReducers/PopupRedux.js +64 -84
- package/src/Redux/ActionsReducers/QueryRedux.js +8 -13
- package/src/Redux/ActionsReducers/QuickSearchRedux.js +16 -23
- package/src/Redux/ActionsReducers/ScheduleRedux.d.ts +0 -53
- package/src/Redux/ActionsReducers/ScheduleRedux.js +146 -270
- package/src/Redux/ActionsReducers/ShortcutRedux.js +41 -54
- package/src/Redux/ActionsReducers/SmartEditRedux.js +9 -15
- package/src/Redux/ActionsReducers/StatusBarRedux.js +12 -19
- package/src/Redux/ActionsReducers/StyledColumnRedux.js +41 -54
- package/src/Redux/ActionsReducers/SystemRedux.d.ts +18 -12
- package/src/Redux/ActionsReducers/SystemRedux.js +287 -335
- package/src/Redux/ActionsReducers/SystemStatusRedux.js +6 -11
- package/src/Redux/ActionsReducers/TeamSharingRedux.js +40 -55
- package/src/Redux/ActionsReducers/ThemeRedux.js +32 -43
- package/src/Redux/ActionsReducers/ToolPanelRedux.js +28 -39
- package/src/Redux/ActionsReducers/utils.js +3 -9
- package/src/Redux/DeadRedux.js +25 -38
- package/src/Redux/Store/AdaptableReduxLocalStorageEngine.js +15 -20
- package/src/Redux/Store/AdaptableReduxMerger.js +21 -30
- package/src/Redux/Store/AdaptableStore.d.ts +2 -2
- package/src/Redux/Store/AdaptableStore.js +174 -122
- package/src/Redux/Store/Interface/IAdaptableStore.js +1 -2
- package/src/Redux/Store/Interface/IStorageEngine.js +1 -2
- package/src/Strategy/AdaptableModuleBase.js +8 -13
- package/src/Strategy/AlertModule.js +35 -40
- package/src/Strategy/BulkUpdateModule.js +17 -22
- package/src/Strategy/CalculatedColumnModule.js +16 -21
- package/src/Strategy/CellSummaryModule.js +17 -22
- package/src/Strategy/ChartingModule.js +15 -20
- package/src/Strategy/ColumnFilterModule.js +11 -16
- package/src/Strategy/ColumnInfoModule.js +3 -8
- package/src/Strategy/CommentsModule.d.ts +16 -0
- package/src/Strategy/CommentsModule.js +77 -0
- package/src/Strategy/CustomSortModule.js +12 -17
- package/src/Strategy/DashboardModule.js +4 -9
- package/src/Strategy/DataChangeHistoryModule.js +10 -15
- package/src/Strategy/DataImportModule.js +3 -8
- package/src/Strategy/DataSetModule.js +11 -16
- package/src/Strategy/ExportModule.js +55 -60
- package/src/Strategy/Fdc3Module.js +3 -8
- package/src/Strategy/FlashingCellModule.js +28 -33
- package/src/Strategy/FormatColumnModule.js +27 -32
- package/src/Strategy/FreeTextColumnModule.js +8 -13
- package/src/Strategy/GridFilterModule.js +9 -14
- package/src/Strategy/GridInfoModule.js +3 -8
- package/src/Strategy/Interface/IBulkUpdateModule.js +1 -2
- package/src/Strategy/Interface/ICellSummaryModule.js +1 -2
- package/src/Strategy/Interface/IExportModule.js +1 -2
- package/src/Strategy/Interface/IModule.js +1 -2
- package/src/Strategy/Interface/IModuleActionReturn.js +1 -2
- package/src/Strategy/Interface/IPlusMinusModule.js +1 -2
- package/src/Strategy/Interface/IScheduleModule.js +1 -2
- package/src/Strategy/Interface/IShortcutModule.js +1 -2
- package/src/Strategy/Interface/ISmartEditModule.js +1 -2
- package/src/Strategy/LayoutModule.js +32 -38
- package/src/Strategy/NamedQueryModule.js +12 -17
- package/src/Strategy/NotesModule.d.ts +0 -13
- package/src/Strategy/NotesModule.js +12 -96
- package/src/Strategy/PlusMinusModule.js +23 -28
- package/src/Strategy/QuickSearchModule.js +5 -10
- package/src/Strategy/ScheduleModule.js +35 -63
- package/src/Strategy/SettingsPanelModule.js +4 -9
- package/src/Strategy/ShortcutModule.js +21 -26
- package/src/Strategy/SmartEditModule.js +22 -27
- package/src/Strategy/StateManagementModule.js +3 -8
- package/src/Strategy/StatusBarModule.js +3 -8
- package/src/Strategy/StyledColumnModule.js +17 -22
- package/src/Strategy/SystemStatusModule.js +5 -10
- package/src/Strategy/TeamSharingModule.js +32 -37
- package/src/Strategy/ThemeModule.js +5 -10
- package/src/Strategy/ToolPanelModule.js +8 -13
- package/src/Strategy/Utilities/Alert/getAlertBehaviourViewItems.js +5 -9
- package/src/Strategy/Utilities/Alert/getAlertPreviewViewItems.js +6 -11
- package/src/Strategy/Utilities/Alert/getAlertTypeViewItems.js +4 -8
- package/src/Strategy/Utilities/CustomSort/getCustomSortColumnViewItems.js +1 -5
- package/src/Strategy/Utilities/CustomSort/getCustomSortSortOrderViewItems.js +1 -5
- package/src/Strategy/Utilities/Export/getExportColumnsViewItems.js +1 -5
- package/src/Strategy/Utilities/Export/getExportRowsViewItems.js +6 -11
- package/src/Strategy/Utilities/FlashingCell/getFlashingCellDurationViewItems.js +1 -5
- package/src/Strategy/Utilities/FlashingCell/getFlashingCellStyleViewItems.js +3 -7
- package/src/Strategy/Utilities/FlashingCell/getFlashingTargetViewItems.js +1 -5
- package/src/Strategy/Utilities/FormatColumn/getFormatColumnSettingsViewItems.js +1 -5
- package/src/Strategy/Utilities/FormatColumn/getFormatColumnStyleViewItems.js +5 -10
- package/src/Strategy/Utilities/Layout/getLayoutFilterViewItems.js +3 -8
- package/src/Strategy/Utilities/Layout/getLayoutSortViewItems.js +1 -5
- package/src/Strategy/Utilities/Shortcut/getShortcutSettingsViewItems.js +1 -5
- package/src/Strategy/Utilities/getExpressionViewItems.js +6 -11
- package/src/Strategy/Utilities/getObjectTagsViewItems.js +7 -12
- package/src/Strategy/Utilities/getRuleViewItems.js +1 -5
- package/src/Strategy/Utilities/getScopeViewItems.js +1 -5
- package/src/Strategy/Utilities/updateSingleToMultiplePredicates.js +1 -5
- package/src/Utilities/Cancelable.js +1 -2
- package/src/Utilities/Constants/ConfigConstants.d.ts +1 -0
- package/src/Utilities/Constants/ConfigConstants.js +10 -12
- package/src/Utilities/Constants/DocumentationLinkConstants.js +14 -17
- package/src/Utilities/Constants/GeneralConstants.d.ts +1 -0
- package/src/Utilities/Constants/GeneralConstants.js +76 -75
- package/src/Utilities/Constants/ModuleConstants.d.ts +3 -3
- package/src/Utilities/Constants/ModuleConstants.js +115 -119
- package/src/Utilities/Defaults/DefaultAdaptableOptions.js +24 -28
- package/src/Utilities/Defaults/DefaultSettingsPanel.js +3 -5
- package/src/Utilities/Emitter.js +3 -5
- package/src/Utilities/ExpressionFunctions/aggregatedBooleanExpressionFunctions.js +27 -25
- package/src/Utilities/ExpressionFunctions/aggregatedScalarExpressionFunctions.js +51 -54
- package/src/Utilities/ExpressionFunctions/booleanExpressionFunctions.js +31 -36
- package/src/Utilities/ExpressionFunctions/dateUtils.d.ts +1 -0
- package/src/Utilities/ExpressionFunctions/dateUtils.js +18 -7
- package/src/Utilities/ExpressionFunctions/deepMap.js +1 -5
- package/src/Utilities/ExpressionFunctions/expressionFunctionUtils.js +39 -57
- package/src/Utilities/ExpressionFunctions/groupingMap.js +3 -7
- package/src/Utilities/ExpressionFunctions/observableExpressionFunctions.js +66 -70
- package/src/Utilities/ExpressionFunctions/scalarAggregationHelper.js +3 -7
- package/src/Utilities/ExpressionFunctions/scalarExpressionFunctions.js +53 -57
- package/src/Utilities/Extensions/ArrayExtensions.js +40 -75
- package/src/Utilities/Extensions/EnumExtensions.js +14 -21
- package/src/Utilities/Extensions/NumberExtensions.js +4 -9
- package/src/Utilities/Extensions/ObjectExtensions.js +3 -9
- package/src/Utilities/Extensions/StringExtensions.js +23 -46
- package/src/Utilities/Extensions/TypeExtensions.js +1 -5
- package/src/Utilities/Helpers/AdaptableHelper.js +59 -70
- package/src/Utilities/Helpers/DateHelper.js +18 -28
- package/src/Utilities/Helpers/FormatHelper.js +10 -18
- package/src/Utilities/Helpers/Helper.js +28 -50
- package/src/Utilities/Helpers/PreviewHelper.js +13 -17
- package/src/Utilities/Helpers/StyleHelper.js +11 -20
- package/src/Utilities/Interface/AdaptableToolPanelContext.js +1 -2
- package/src/Utilities/Interface/ColumnFilterProps.js +1 -2
- package/src/Utilities/Interface/IPPStyle.js +1 -2
- package/src/Utilities/Interface/KeyValuePair.js +1 -2
- package/src/Utilities/Interface/MessagePopups.js +1 -2
- package/src/Utilities/Interface/Preview.js +1 -2
- package/src/Utilities/MenuItem.js +4 -11
- package/src/Utilities/ObjectFactory.d.ts +19 -22
- package/src/Utilities/ObjectFactory.js +152 -203
- package/src/Utilities/Services/AggregatedScalarLiveValue.js +3 -7
- package/src/Utilities/Services/AlertService.js +11 -16
- package/src/Utilities/Services/CalculatedColumnExpressionService.js +9 -13
- package/src/Utilities/Services/CellPopupService.d.ts +23 -0
- package/src/Utilities/Services/CellPopupService.js +133 -0
- package/src/Utilities/Services/ChartingService.js +10 -15
- package/src/Utilities/Services/DataService.js +8 -13
- package/src/Utilities/Services/EntitlementService.js +1 -5
- package/src/Utilities/Services/Fdc3Service.js +7 -11
- package/src/Utilities/Services/Interface/IAdaptableService.js +1 -2
- package/src/Utilities/Services/Interface/IAlertService.js +3 -8
- package/src/Utilities/Services/Interface/ICalculatedColumnExpressionService.js +1 -2
- package/src/Utilities/Services/Interface/IChartingService.js +1 -2
- package/src/Utilities/Services/Interface/IDataService.js +1 -2
- package/src/Utilities/Services/Interface/IEntitlementService.js +1 -2
- package/src/Utilities/Services/Interface/ILicenseService.js +1 -2
- package/src/Utilities/Services/Interface/IMetamodelService.js +1 -2
- package/src/Utilities/Services/Interface/IModuleService.js +1 -2
- package/src/Utilities/Services/Interface/IQueryLanguageService.js +1 -2
- package/src/Utilities/Services/Interface/IReportService.d.ts +1 -1
- package/src/Utilities/Services/Interface/IReportService.js +1 -2
- package/src/Utilities/Services/Interface/IRowEditService.js +1 -2
- package/src/Utilities/Services/Interface/ITeamSharingService.js +1 -2
- package/src/Utilities/Services/Interface/IThemeService.d.ts +8 -0
- package/src/Utilities/Services/Interface/IThemeService.js +1 -2
- package/src/Utilities/Services/Interface/IValidationService.js +1 -2
- package/src/Utilities/Services/LicenseService/index.js +181 -1
- package/src/Utilities/Services/LicenseService/shouldLogThankYouMessage.js +1 -5
- package/src/Utilities/Services/MetamodelService.js +12 -17
- package/src/Utilities/Services/ModuleService.js +8 -15
- package/src/Utilities/Services/QueryLanguageService.js +24 -29
- package/src/Utilities/Services/ReportService.d.ts +1 -1
- package/src/Utilities/Services/ReportService.js +48 -53
- package/src/Utilities/Services/RowEditService.js +1 -5
- package/src/Utilities/Services/TeamSharingService.js +6 -11
- package/src/Utilities/Services/ThemeService.d.ts +3 -0
- package/src/Utilities/Services/ThemeService.js +34 -6
- package/src/Utilities/Services/ValidationService.js +10 -15
- package/src/Utilities/getScrollbarSize.js +1 -3
- package/src/Utilities/isAdaptableObject.js +1 -5
- package/src/Utilities/isMacLike.js +1 -5
- package/src/Utilities/license/LicenseDetails.js +1 -2
- package/src/Utilities/license/decode.js +65 -1
- package/src/Utilities/license/hashing.js +43 -1
- package/src/Utilities/logDeprecation.js +3 -9
- package/src/Utilities/reorder.js +1 -5
- package/src/Utilities/runIfNotResolvedIn.js +1 -5
- package/src/Utilities/sortWithOrder.js +1 -5
- package/src/Utilities/waitForCondition.js +1 -5
- package/src/Utilities/waitForTimeout.js +1 -5
- package/src/View/AdaptableContext.js +3 -8
- package/src/View/AdaptablePopover/index.js +17 -22
- package/src/View/AdaptableView.js +31 -36
- package/src/View/AdaptableViewFactory.js +69 -71
- package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/AdaptableConfig.js +1 -2
- package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/AdaptableOptionsForm.js +25 -30
- package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/ColumnsList.js +44 -46
- package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/Components/FormBox.js +4 -9
- package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/ConfigurationWizard.js +21 -26
- package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/ConfigurationWizardColumnsStep.js +4 -9
- package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/EntitlementsForm.js +27 -30
- package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/FinanceForm/FinanceForm.js +2 -3
- package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/GridOptionsForm.js +17 -20
- package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/UIOptions/UIOptionsActionColumnsForm.js +8 -13
- package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/UIOptions/UIOptionsSidebarForm.js +16 -21
- package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/UIOptions/UIOptionsStatusbarForm.js +24 -29
- package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/UIOptions/UiOptionsForm.js +18 -23
- package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/index.js +2 -4
- package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/useSelection.js +3 -5
- package/src/View/AdaptableWizardView/Utils.js +1 -5
- package/src/View/AdaptableWizardView/Wizard.js +20 -26
- package/src/View/AdaptableWizardView/helper.js +4 -10
- package/src/View/AdaptableWizardView/index.js +7 -10
- package/src/View/Alert/ActiveAlertsPanel.js +9 -14
- package/src/View/Alert/ActiveAlertsPanelItemLabel.js +10 -15
- package/src/View/Alert/AlertEmptyView.js +4 -9
- package/src/View/Alert/AlertEntityRow.js +13 -18
- package/src/View/Alert/AlertStatusSubPanel.js +13 -18
- package/src/View/Alert/AlertViewPanel.js +16 -20
- package/src/View/Alert/AlertsPanel.js +22 -27
- package/src/View/Alert/Utilities/getAlertButtonStyle.js +6 -11
- package/src/View/Alert/Utilities/getAlertType.js +4 -9
- package/src/View/Alert/Utilities/getAvailablePredicates.js +1 -5
- package/src/View/Alert/Utilities/getDefaultAlertDefinition.js +9 -14
- package/src/View/Alert/Utilities/mapAlertDefinition.js +1 -5
- package/src/View/Alert/Wizard/AlertBehaviourWizardSection.js +43 -50
- package/src/View/Alert/Wizard/AlertButtonsEditor.js +35 -40
- package/src/View/Alert/Wizard/AlertMessageWizardSection.js +31 -37
- package/src/View/Alert/Wizard/AlertNotificationWizardSection.js +27 -33
- package/src/View/Alert/Wizard/AlertRulesWizardSection.d.ts +1 -1
- package/src/View/Alert/Wizard/AlertRulesWizardSection.js +27 -33
- package/src/View/Alert/Wizard/AlertScopeWizardSection.js +8 -13
- package/src/View/Alert/Wizard/AlertSelectQueryWizard.js +14 -19
- package/src/View/Alert/Wizard/AlertTypeWizardSection.js +20 -26
- package/src/View/Alert/Wizard/AlertWizard.js +60 -65
- package/src/View/Alert/Wizard/BaseAlertScopeWizardSection.js +14 -19
- package/src/View/Alert/Wizard/isValidAlertRules.js +3 -7
- package/src/View/BulkUpdate/BulkUpdatePopup.js +33 -37
- package/src/View/BulkUpdate/BulkUpdateViewPanel.js +27 -31
- package/src/View/CalculatedColumn/CalculatedColumnSummary.js +17 -22
- package/src/View/CalculatedColumn/Utilities/getCalculatedColumnSettingsTags.js +1 -5
- package/src/View/CalculatedColumn/Wizard/CalculatedColumnDefinitionWizardSection.js +36 -43
- package/src/View/CalculatedColumn/Wizard/CalculatedColumnExpressionWizardSection.js +21 -28
- package/src/View/CalculatedColumn/Wizard/CalculatedColumnSettingsWizardSection.js +33 -40
- package/src/View/CalculatedColumn/Wizard/CalculatedColumnTypeSection.js +13 -18
- package/src/View/CalculatedColumn/Wizard/CalculatedColumnWizard.js +49 -54
- package/src/View/CalculatedColumn/utils.js +1 -5
- package/src/View/CellSummary/CellSummaryDetails.js +6 -11
- package/src/View/CellSummary/CellSummaryPopover.js +4 -9
- package/src/View/CellSummary/CellSummaryPopup.js +8 -12
- package/src/View/CellSummary/CellSummaryStatusBarSubPanelPopover.js +11 -12
- package/src/View/CellSummary/CellSummaryStatusPanel.js +11 -16
- package/src/View/CellSummary/CellSummaryViewPanel.js +22 -26
- package/src/View/Charting/ChartingStatusBarPopover.js +12 -17
- package/src/View/Charting/ChartingViewPanel.js +13 -18
- package/src/View/Charting/ChartingWizard/AgChargingWizard/AgChargingWizard.js +18 -23
- package/src/View/Charting/ChartingWizard/AgChargingWizard/PreviewChartSection.js +9 -14
- package/src/View/Charting/ChartingWizard/AgChargingWizard/SettingsSection.js +16 -22
- package/src/View/Charting/ChartingWizard/AgChargingWizard/index.js +1 -4
- package/src/View/Charting/ChartingWizard/ChartingWizard.js +10 -14
- package/src/View/Charting/ChartingWizard/ExternalChartingWizard/ExternalChartingWizard.js +13 -18
- package/src/View/Charting/ChartingWizard/ExternalChartingWizard/SettingsSection.js +8 -14
- package/src/View/Charting/ChartingWizard/ExternalChartingWizard/index.js +1 -4
- package/src/View/Charting/ChartingWizard/index.js +1 -4
- package/src/View/Charting/DeleteChartButton.js +6 -11
- package/src/View/Charting/EditChartButton.js +8 -13
- package/src/View/Charting/ShowChartButton.js +21 -26
- package/src/View/Charting/useAgChartState.js +7 -12
- package/src/View/Charting/useChartingElements.js +26 -31
- package/src/View/Charting/useExternalChartState.js +7 -12
- package/src/View/ColumnInfo/ColumnInfo.js +33 -38
- package/src/View/ColumnInfo/ColumnInfoPopup.js +8 -13
- package/src/View/Comments/CommentsEditor.d.ts +7 -0
- package/src/View/Comments/CommentsEditor.js +95 -0
- package/src/View/Comments/CommentsPopup.d.ts +2 -0
- package/src/View/Comments/CommentsPopup.js +82 -0
- package/src/View/Components/AdaptableButton/index.js +8 -13
- package/src/View/Components/AdaptableDateInput/index.js +13 -15
- package/src/View/Components/AdaptableIconComponent/index.js +6 -11
- package/src/View/Components/AdaptableIconComponent/useCustomIcon.js +3 -7
- package/src/View/Components/AdaptableIconSelector/index.js +6 -11
- package/src/View/Components/AdaptableInput/index.js +8 -11
- package/src/View/Components/AdaptableObjectCollection/index.js +6 -11
- package/src/View/Components/AdaptableObjectList/AdaptableObjectCompactList.js +27 -33
- package/src/View/Components/AdaptableObjectList/AdaptableObjectList.js +42 -48
- package/src/View/Components/AdaptableObjectList/index.js +1 -5
- package/src/View/Components/AdaptableObjectRow/index.js +7 -12
- package/src/View/Components/Badge/index.js +6 -11
- package/src/View/Components/Buttons/ButtonApply.js +4 -9
- package/src/View/Components/Buttons/ButtonBase/index.js +5 -10
- package/src/View/Components/Buttons/ButtonClear.js +4 -9
- package/src/View/Components/Buttons/ButtonClone.js +4 -9
- package/src/View/Components/Buttons/ButtonClose.js +4 -9
- package/src/View/Components/Buttons/ButtonConfigure.js +4 -9
- package/src/View/Components/Buttons/ButtonDelete.js +8 -11
- package/src/View/Components/Buttons/ButtonEdit.js +4 -9
- package/src/View/Components/Buttons/ButtonExpand.js +4 -9
- package/src/View/Components/Buttons/ButtonExport.js +4 -9
- package/src/View/Components/Buttons/ButtonFunction.js +4 -9
- package/src/View/Components/Buttons/ButtonGeneral.js +4 -9
- package/src/View/Components/Buttons/ButtonInfo.js +4 -9
- package/src/View/Components/Buttons/ButtonInvalid.js +4 -9
- package/src/View/Components/Buttons/ButtonLogin.js +4 -9
- package/src/View/Components/Buttons/ButtonLogout.js +4 -9
- package/src/View/Components/Buttons/ButtonMaximise.js +4 -9
- package/src/View/Components/Buttons/ButtonMinimise.js +4 -9
- package/src/View/Components/Buttons/ButtonNew.js +4 -9
- package/src/View/Components/Buttons/ButtonNewPage.js +4 -9
- package/src/View/Components/Buttons/ButtonOpen.js +4 -9
- package/src/View/Components/Buttons/ButtonPause.js +4 -9
- package/src/View/Components/Buttons/ButtonPlay.js +5 -10
- package/src/View/Components/Buttons/ButtonPreviewDelete.js +4 -7
- package/src/View/Components/Buttons/ButtonSave.js +4 -9
- package/src/View/Components/Buttons/ButtonSchedule.js +4 -9
- package/src/View/Components/Buttons/ButtonShare.js +8 -12
- package/src/View/Components/Buttons/ButtonShow.js +4 -9
- package/src/View/Components/Buttons/ButtonShowChart.js +4 -9
- package/src/View/Components/Buttons/ButtonStop.js +4 -9
- package/src/View/Components/Buttons/ButtonUndo.js +4 -9
- package/src/View/Components/Buttons/ButtonUnsuspend.js +4 -9
- package/src/View/Components/Buttons/EntityListActionButtons.js +14 -19
- package/src/View/Components/Buttons/SuspendToggleButton/SuspendToggleButton.js +4 -8
- package/src/View/Components/Buttons/SuspendToggleButton/index.js +1 -4
- package/src/View/Components/CellPopup/index.js +11 -15
- package/src/View/Components/ColumnSelector/index.js +7 -12
- package/src/View/Components/EntityRowItem.js +2 -7
- package/src/View/Components/EntityRulesEditor/EntityRulePredicatesEditor/EntityRulePredicateEditor.js +18 -23
- package/src/View/Components/EntityRulesEditor/EntityRulePredicatesEditor/EntityRulePredicatesEditor.js +27 -32
- package/src/View/Components/EntityRulesEditor/EntityRulePredicatesEditor/index.js +1 -5
- package/src/View/Components/EntityRulesEditor/Utilities.js +1 -5
- package/src/View/Components/EntityRulesEditor/index.js +45 -42
- package/src/View/Components/ExpressionWizard.js +17 -22
- package/src/View/Components/ExternalRenderer.js +6 -10
- package/src/View/Components/FilterForm/FilterForm.js +51 -56
- package/src/View/Components/FilterForm/ListBoxFilterForm.js +30 -35
- package/src/View/Components/FilterForm/ListBoxMenu.js +8 -13
- package/src/View/Components/FilterForm/QuickFilterForm.js +41 -46
- package/src/View/Components/FilterForm/QuickFilterValues.js +23 -28
- package/src/View/Components/FilterForm/Waiting.js +10 -14
- package/src/View/Components/FilterForm/getDefaultColumnFilterPredicate.js +1 -5
- package/src/View/Components/Forms/AdaptableFormControlTextClear.js +10 -14
- package/src/View/Components/ListBox/DualListBoxEditor.js +53 -58
- package/src/View/Components/ListBox/ListBoxFilterSortComponent.js +10 -15
- package/src/View/Components/ModuleProfile.js +4 -9
- package/src/View/Components/ModuleSummary/ModuleDetail.js +6 -11
- package/src/View/Components/ModuleSummary/ModuleHeader.js +8 -13
- package/src/View/Components/ModuleSummary/SummaryRowItem.js +4 -9
- package/src/View/Components/ModuleValueSelector/index.js +15 -19
- package/src/View/Components/NewScopeComponent.js +45 -52
- package/src/View/Components/Panels/FilterFormPanel.js +22 -27
- package/src/View/Components/Panels/PanelDashboard/index.js +4 -9
- package/src/View/Components/Panels/PanelFooter.js +8 -13
- package/src/View/Components/Panels/PanelToolPanel/index.js +16 -20
- package/src/View/Components/Panels/PanelWithButton.js +16 -21
- package/src/View/Components/Panels/PanelWithImage.js +16 -20
- package/src/View/Components/Panels/PanelWithRow.js +7 -12
- package/src/View/Components/Panels/PanelWithTwoButtons.js +7 -12
- package/src/View/Components/Panels/ToolPanelSettingsPanel.js +6 -11
- package/src/View/Components/PermittedValuesSelector/PermitedValuesSelector.js +15 -20
- package/src/View/Components/PermittedValuesSelector/index.js +1 -5
- package/src/View/Components/Popups/AdaptableLoadingScreen.js +6 -11
- package/src/View/Components/Popups/AdaptablePopup/AdaptablePopup.js +26 -31
- package/src/View/Components/Popups/AdaptablePopup/AdaptablePopupBody.js +7 -12
- package/src/View/Components/Popups/AdaptablePopup/AdaptablePopupDialog.js +21 -25
- package/src/View/Components/Popups/AdaptablePopup/AdaptablePopupModuleView.js +24 -29
- package/src/View/Components/Popups/AdaptablePopup/CustomSettingsPanelView.js +4 -9
- package/src/View/Components/Popups/AdaptablePopup/Navigation.js +11 -16
- package/src/View/Components/Popups/AdaptablePopup/PopupContext.js +3 -8
- package/src/View/Components/Popups/AdaptablePopup/PopupPanel.js +12 -17
- package/src/View/Components/Popups/AdaptablePopup/TopBar.js +12 -17
- package/src/View/Components/Popups/AdaptablePopup/index.js +1 -5
- package/src/View/Components/Popups/AdaptablePopup/useMenuItems.js +10 -15
- package/src/View/Components/Popups/AdaptablePopupAlert.js +22 -27
- package/src/View/Components/Popups/AdaptablePopupConfirmation.js +25 -30
- package/src/View/Components/Popups/AdaptablePopupPrompt.js +18 -23
- package/src/View/Components/Popups/AdaptablePopupTeamSharing.js +26 -31
- package/src/View/Components/Popups/AdaptableToaster.js +13 -18
- package/src/View/Components/Popups/FormPopups/FormPopups.js +19 -25
- package/src/View/Components/Popups/GridCellPopup/GridCellPopup.d.ts +5 -0
- package/src/View/Components/Popups/GridCellPopup/GridCellPopup.js +62 -0
- package/src/View/Components/Popups/GridCellPopup/index.d.ts +1 -0
- package/src/View/Components/Popups/GridCellPopup/index.js +1 -0
- package/src/View/Components/Popups/Utilities.js +10 -17
- package/src/View/Components/Popups/WindowPopups/WindowPopups.js +23 -27
- package/src/View/Components/Popups/WindowPopups/windowFactory.js +13 -16
- package/src/View/Components/PredicateEditor/PredicateEditor.js +21 -26
- package/src/View/Components/PreviewResultsPanel.js +13 -18
- package/src/View/Components/RangesComponent.js +51 -56
- package/src/View/Components/ScopeComponent.js +23 -28
- package/src/View/Components/Selectors/ColumnSelector.js +6 -11
- package/src/View/Components/Selectors/ColumnSelectorOld.js +13 -18
- package/src/View/Components/Selectors/ColumnValueSelector.js +15 -20
- package/src/View/Components/Selectors/PermittedValuesSelector.js +8 -13
- package/src/View/Components/SharedProps/BaseProps.js +1 -2
- package/src/View/Components/SharedProps/ConfigEntityRowProps.js +1 -2
- package/src/View/Components/SharedProps/EditableConfigEntityState.js +2 -5
- package/src/View/Components/SharedProps/ModuleSummaryProps.js +1 -2
- package/src/View/Components/SharedProps/ModuleViewPopupProps.js +1 -2
- package/src/View/Components/SharedProps/ToolPanelModuleViewPopupProps.js +1 -2
- package/src/View/Components/SharedProps/ToolbarModuleViewPopupProps.js +1 -2
- package/src/View/Components/SharedProps/ViewPanelProps.js +1 -2
- package/src/View/Components/SharedProps/WizardScopeState.js +1 -2
- package/src/View/Components/StyleComponent.js +64 -69
- package/src/View/Components/StyleVisualItem.js +9 -14
- package/src/View/Components/TagValueSelector/index.js +9 -15
- package/src/View/Components/ToolPanel/AdaptableToolPanel.js +39 -44
- package/src/View/Components/ToolPanel/CustomToolPanelContent.js +13 -18
- package/src/View/Components/ToolPanel/ToolPanelPopup.js +24 -28
- package/src/View/Components/ToolPanel/ToolPanelWrapper.js +17 -25
- package/src/View/Components/ValueSelector/index.js +47 -53
- package/src/View/Components/WizardSummaryPage.js +7 -12
- package/src/View/Components/WizardSummaryRow.js +6 -11
- package/src/View/CustomSort/CustomSortSummary.js +32 -37
- package/src/View/CustomSort/Wizard/CustomSortColumnWizardSection.js +17 -24
- package/src/View/CustomSort/Wizard/CustomSortSummaryWizard.js +4 -9
- package/src/View/CustomSort/Wizard/CustomSortValuesWizardSection.js +29 -36
- package/src/View/CustomSort/Wizard/CustomSortWizard.js +31 -36
- package/src/View/Dashboard/CustomDashboardButton.js +7 -12
- package/src/View/Dashboard/CustomToolbar.js +19 -25
- package/src/View/Dashboard/Dashboard.js +38 -42
- package/src/View/Dashboard/DashboardPopup.js +29 -33
- package/src/View/Dashboard/DashboardToolbarFactory.js +13 -18
- package/src/View/Dashboard/DashboardViewPanel.js +10 -14
- package/src/View/Dashboard/ModuleToolbarWrapper.js +9 -14
- package/src/View/Dashboard/PinnedDashboard.js +12 -17
- package/src/View/Dashboard/PinnedToolbarsSelector.js +11 -16
- package/src/View/DataChangeHistory/DataChangeHistoryGrid.js +15 -20
- package/src/View/DataChangeHistory/DataChangeHistoryPopup.js +34 -38
- package/src/View/DataChangeHistory/DataChangeHistoryStatusBarContent.js +4 -9
- package/src/View/DataChangeHistory/DataChangeHistoryViewPanel.js +36 -41
- package/src/View/DataChangeHistory/buildActionColumnButton.js +1 -5
- package/src/View/DataImport/DataImportPopup.js +12 -17
- package/src/View/DataImport/DataImportWizard/DataImportWizard.js +25 -30
- package/src/View/DataImport/DataImportWizard/index.js +1 -4
- package/src/View/DataImport/DataImportWizard/sections/ColumnsSection.js +29 -34
- package/src/View/DataImport/DataImportWizard/sections/DataPreview.js +21 -26
- package/src/View/DataImport/DataImportWizard/sections/ImportSection.js +18 -23
- package/src/View/DataImport/DataImportWizard/sections/UploadSection/UploadFileSection.js +5 -10
- package/src/View/DataImport/DataImportWizard/sections/UploadSection/UploadSection.js +17 -22
- package/src/View/DataImport/DataImportWizard/sections/UploadSection/UploadTextSection.js +6 -11
- package/src/View/DataImport/DataImportWizard/sections/UploadSection/index.js +1 -4
- package/src/View/DataImport/DataImportWizard/sections/ValidationSection.js +18 -23
- package/src/View/DataImport/systemFileHandlers.js +5 -9
- package/src/View/DataSet/DataSetSelector.js +6 -11
- package/src/View/DataSet/DataSetStatusPanelPopover.js +6 -11
- package/src/View/DataSet/DataSetViewPanel.js +12 -16
- package/src/View/Export/ExportSelector.js +11 -16
- package/src/View/Export/ExportTablePopup.js +7 -12
- package/src/View/Export/ExportViewPanel.js +37 -41
- package/src/View/Export/ReportExportDropdown.js +16 -21
- package/src/View/Export/Wizard/NewReportWizard.js +32 -37
- package/src/View/Export/Wizard/ReportColumnTypeWizard.js +14 -19
- package/src/View/Export/Wizard/ReportColumnsWizardSection.js +28 -35
- package/src/View/Export/Wizard/ReportNameWizardSection.js +21 -28
- package/src/View/Export/Wizard/ReportRowTypeWizard.js +14 -19
- package/src/View/Export/Wizard/ReportRowsWizardSection.js +32 -39
- package/src/View/Export/Wizard/ReportScopeWizard.js +9 -14
- package/src/View/Export/Wizard/ReportSettingsWizard.js +18 -23
- package/src/View/Export/Wizard/ReportSummaryWizard.js +4 -9
- package/src/View/Export/constants.js +2 -5
- package/src/View/Filter/ActiveFiltersPanel.js +7 -12
- package/src/View/Filter/FilterStatusBarSubPanelPopover.js +4 -9
- package/src/View/Filter/FilterSummary.js +18 -23
- package/src/View/Filter/FilterViewPanel.js +20 -24
- package/src/View/FlashingCell/FlashingCellStyle.js +10 -14
- package/src/View/FlashingCell/Wizard/FlashingCellRulesWizardSection.js +14 -20
- package/src/View/FlashingCell/Wizard/FlashingCellScopeWizardSection.js +8 -13
- package/src/View/FlashingCell/Wizard/FlashingCellSettingsWizardSection.js +36 -42
- package/src/View/FlashingCell/Wizard/FlashingCellStyleWizardSection.js +28 -34
- package/src/View/FlashingCell/Wizard/FlashingCellWizard.js +44 -49
- package/src/View/FlashingCell/Wizard/isValidFlashingCellRules.js +3 -7
- package/src/View/FormatColumn/FormatColumnSummary.js +27 -32
- package/src/View/FormatColumn/MoveFormatColumn.js +10 -15
- package/src/View/FormatColumn/Wizard/FormatColumnFormatWizardSection.js +153 -161
- package/src/View/FormatColumn/Wizard/FormatColumnRuleWizardSection.js +6 -11
- package/src/View/FormatColumn/Wizard/FormatColumnScopeWizardSection.js +10 -16
- package/src/View/FormatColumn/Wizard/FormatColumnSettingsWizardSection.js +30 -36
- package/src/View/FormatColumn/Wizard/FormatColumnStyleWizardSection.js +17 -25
- package/src/View/FormatColumn/Wizard/FormatColumnWizard.js +48 -53
- package/src/View/FormatColumn/Wizard/constants.js +1 -4
- package/src/View/FreeTextColumn/FreeTextColumnSummary.js +27 -32
- package/src/View/FreeTextColumn/Wizard/FreeTextColumnSettingsWizardSection.js +52 -59
- package/src/View/FreeTextColumn/Wizard/FreeTextColumnWizard.js +26 -31
- package/src/View/GridFilter/GridFilterExpressionEditor.js +30 -35
- package/src/View/GridFilter/GridFilterPopup.js +36 -41
- package/src/View/GridFilter/GridFilterStatusbar.js +5 -10
- package/src/View/GridFilter/GridFilterViewPanel.js +36 -40
- package/src/View/GridFilter/GridFilterWindowPopup.js +4 -9
- package/src/View/GridFilter/NamedQuerySelector.js +31 -37
- package/src/View/GridFilter/useGridFilterExpressionEditor.js +23 -28
- package/src/View/GridFilter/useGridFilterOptionsForExpressionEditor.js +3 -7
- package/src/View/GridInfo/GridInfoPopup/AdaptableObjectsSummary.js +11 -16
- package/src/View/GridInfo/GridInfoPopup/AdaptableOptionsComponent.js +20 -25
- package/src/View/GridInfo/GridInfoPopup/GridInfoPopup.js +33 -37
- package/src/View/GridInfo/GridInfoPopup/index.js +1 -4
- package/src/View/KeyHint.js +4 -9
- package/src/View/Layout/EditCurrentLayoutButton.js +6 -11
- package/src/View/Layout/LayoutCloneButton.js +6 -11
- package/src/View/Layout/LayoutRadioSelector.js +6 -11
- package/src/View/Layout/LayoutStatusBarSubPanelPopover.js +10 -15
- package/src/View/Layout/LayoutViewPanel.js +26 -30
- package/src/View/Layout/PivotDetailsPopoup.js +7 -12
- package/src/View/Layout/SaveLayoutButton.js +12 -17
- package/src/View/Layout/Wizard/Components/ColumnLabels.js +11 -15
- package/src/View/Layout/Wizard/LayoutWizard.js +51 -56
- package/src/View/Layout/Wizard/getGridFilterPreview.js +6 -11
- package/src/View/Layout/Wizard/sections/AggregationsSection.js +37 -44
- package/src/View/Layout/Wizard/sections/ColumnsSection.js +62 -68
- package/src/View/Layout/Wizard/sections/FilterSection.js +30 -37
- package/src/View/Layout/Wizard/sections/GridFilterSection.js +24 -31
- package/src/View/Layout/Wizard/sections/PivotColumnsSection.js +21 -27
- package/src/View/Layout/Wizard/sections/RowGroupingSection.js +27 -33
- package/src/View/Layout/Wizard/sections/SettingsSection.js +29 -35
- package/src/View/Layout/Wizard/sections/SortSection.js +26 -32
- package/src/View/Layout/Wizard/sections/Utilities.js +1 -5
- package/src/View/License/LicenseWatermark.js +61 -1
- package/src/View/License/index.js +1 -5
- package/src/View/NamedQuery/EditCurrentQueryButton.js +6 -11
- package/src/View/NamedQuery/Wizard/NamedQueryExpressionWizardSection.js +17 -24
- package/src/View/NamedQuery/Wizard/NamedQuerySettingsWizardSection.js +21 -28
- package/src/View/NamedQuery/Wizard/NamedQueryWizard.js +28 -33
- package/src/View/Notes/NoteEditor.d.ts +8 -0
- package/src/View/Notes/NoteEditor.js +28 -0
- package/src/View/Notes/NotesPopup.d.ts +2 -2
- package/src/View/Notes/NotesPopup.js +80 -62
- package/src/View/PlusMinus/MovePlusMinus.js +11 -16
- package/src/View/PlusMinus/PlusMinusSummary.js +26 -31
- package/src/View/PlusMinus/Wizard/PlusMinusRuleWizardSection.js +12 -18
- package/src/View/PlusMinus/Wizard/PlusMinusScopeWizardSection.js +6 -11
- package/src/View/PlusMinus/Wizard/PlusMinusSettingsWizardSection.js +32 -39
- package/src/View/PlusMinus/Wizard/PlusMinusWizard.js +26 -31
- package/src/View/QuickSearch/FloatingQuickSearch/FloatingQuickSearch.js +13 -18
- package/src/View/QuickSearch/QuickSearchInput.js +13 -18
- package/src/View/QuickSearch/QuickSearchPopup.js +26 -30
- package/src/View/QuickSearch/QuickSearchStatusBarContent.js +10 -15
- package/src/View/QuickSearch/QuickSearchViewPanel.js +4 -9
- package/src/View/QuickSearch/useQuickSearchDebounced.js +7 -12
- package/src/View/Schedule/Wizard/ScheduleScheduleSummary.js +8 -13
- package/src/View/Schedule/Wizard/ScheduleScheduleWizard.js +26 -32
- package/src/View/Schedule/Wizard/ScheduleSettingsWizard/ScheduleSettingsIPushPull.js +24 -29
- package/src/View/Schedule/Wizard/ScheduleSettingsWizard/ScheduleSettingsOpenFin.js +13 -18
- package/src/View/Schedule/Wizard/ScheduleSettingsWizard/ScheduleSettingsReminder.js +24 -29
- package/src/View/Schedule/Wizard/ScheduleSettingsWizard/ScheduleSettingsReport.js +17 -22
- package/src/View/Schedule/Wizard/ScheduleSettingsWizard/ScheduleSettingsSummary.js +13 -28
- package/src/View/Schedule/Wizard/ScheduleSettingsWizard/ScheduleSettingsWizard.js +17 -26
- package/src/View/Schedule/Wizard/ScheduleSettingsWizard/index.js +3 -9
- package/src/View/Schedule/Wizard/ScheduleSettingsWizard/isSettingsValid.js +16 -27
- package/src/View/Schedule/Wizard/ScheduleWizard.js +43 -56
- package/src/View/Shortcut/Wizard/ShortcutScopeWizardSection.js +6 -11
- package/src/View/Shortcut/Wizard/ShortcutSettingsWizard.js +43 -50
- package/src/View/Shortcut/Wizard/ShortcutWizard.js +32 -37
- package/src/View/Shortcut/shortcutKeys.js +1 -4
- package/src/View/Shortcut/shortcutOperations.js +6 -9
- package/src/View/SmartEdit/SmartEditPopup.js +26 -30
- package/src/View/SmartEdit/SmartEditViewPanel.js +30 -34
- package/src/View/SpecialColumnSettingsWizardStep.js +35 -40
- package/src/View/StateManagement/StateManagementPopup.js +22 -27
- package/src/View/StateManagement/StateManagementViewPanel.js +14 -19
- package/src/View/StateManagement/components/ClearButton.js +4 -9
- package/src/View/StateManagement/components/ExportDropdown.js +7 -12
- package/src/View/StateManagement/components/LoadButton.js +6 -11
- package/src/View/StateManagement/handleExportState.js +4 -9
- package/src/View/StatusBar/AdaptableStatusBar.js +14 -19
- package/src/View/StatusBar/StatusBarPanel.js +12 -16
- package/src/View/StatusBar/StatusBarPopup.js +14 -19
- package/src/View/StyledColumn/Wizard/StyledColumnBadgeSection.js +63 -60
- package/src/View/StyledColumn/Wizard/StyledColumnSparklineSettingsSection.js +137 -142
- package/src/View/StyledColumn/Wizard/StyledColumnWizard.js +45 -51
- package/src/View/StyledColumn/Wizard/StyledColumnWizardColumnSection.js +17 -24
- package/src/View/StyledColumn/Wizard/StyledColumnWizardSettingsSection.js +21 -27
- package/src/View/StyledColumn/Wizard/StyledColumnWizardStyleSection/Components/PercentBarColumnComparisonPreview.js +9 -14
- package/src/View/StyledColumn/Wizard/StyledColumnWizardStyleSection/Components/PercentBarRangesPreview.js +7 -12
- package/src/View/StyledColumn/Wizard/StyledColumnWizardStyleSection/Components/PercentBarStylePreview.js +7 -12
- package/src/View/StyledColumn/Wizard/StyledColumnWizardStyleSection/Components/StyledColumnBadgePreview.js +14 -19
- package/src/View/StyledColumn/Wizard/StyledColumnWizardStyleSection/StyledColumnWizardStyleSection.js +49 -56
- package/src/View/StyledColumn/Wizard/StyledColumnWizardStyleSection/index.js +1 -4
- package/src/View/StyledColumn/Wizard/StyledColumnWizardTypeSection.js +23 -29
- package/src/View/SystemStatus/SystemStatusEntityRow.js +12 -17
- package/src/View/SystemStatus/SystemStatusPopup.js +18 -22
- package/src/View/SystemStatus/SystemStatusStatusBarContent.js +8 -13
- package/src/View/SystemStatus/SystemStatusViewPanel.js +8 -12
- package/src/View/SystemStatus/Utilities/getStatusItemStyle.js +4 -9
- package/src/View/TeamSharing/SharedEntityDependencies.js +12 -18
- package/src/View/TeamSharing/SharedEntityObjectView.js +23 -30
- package/src/View/TeamSharing/TeamSharingApplyButton.js +6 -11
- package/src/View/Theme/ThemeEditor.js +27 -32
- package/src/View/Theme/ThemeEditorWindow.js +8 -13
- package/src/View/Theme/ThemeField.js +18 -23
- package/src/View/Theme/ThemePopup.js +24 -28
- package/src/View/Theme/ThemeSelector.js +11 -16
- package/src/View/Theme/ThemeStatusbar.js +6 -11
- package/src/View/Theme/ThemeViewPanel.js +7 -12
- package/src/View/Theme/VariantSelector.js +8 -13
- package/src/View/UIHelper.js +120 -152
- package/src/View/UIInterfaces.js +1 -2
- package/src/View/Wizard/AdaptableWizard.js +24 -30
- package/src/View/Wizard/Interface/IAdaptableWizard.js +1 -2
- package/src/View/Wizard/ObjectTagsWizardSection.js +14 -20
- package/src/View/Wizard/OnePageAdaptableWizard.js +32 -42
- package/src/View/Wizard/OnePageWizards.js +50 -59
- package/src/View/Wizard/TypeRadio.js +7 -12
- package/src/View/Wizard/WizardLegend.js +6 -11
- package/src/View/Wizard/useKeyboardNavigation.js +4 -9
- package/src/View/renderWithAdaptableContext.js +9 -14
- package/src/agGrid/ActionColumnRenderer.js +9 -15
- package/src/agGrid/Adaptable.d.ts +9 -5
- package/src/agGrid/Adaptable.js +275 -261
- package/src/agGrid/AdaptableLogger.js +2 -6
- package/src/agGrid/BadgeRenderer.js +14 -15
- package/src/agGrid/CheckboxRenderer.js +2 -7
- package/src/agGrid/ColumnSetupInfo.js +1 -2
- package/src/agGrid/FilterWrapper.js +9 -14
- package/src/agGrid/FloatingFilterWrapper.js +8 -13
- package/src/agGrid/PercentBarRenderer.js +5 -10
- package/src/agGrid/agGridHelper.js +102 -105
- package/src/agGrid/agGridMenuHelper.d.ts +2 -0
- package/src/agGrid/agGridMenuHelper.js +72 -47
- package/src/agGrid/attachAddaptableColumnTypes.js +4 -8
- package/src/agGrid/createAgStatusPanelComponent.js +5 -10
- package/src/agGrid/editors/AdaptableDateEditor/InternalAdaptableDateEditor.js +12 -16
- package/src/agGrid/editors/AdaptableDateEditor/index.js +19 -24
- package/src/agGrid/editors/AdaptableNumberEditor/InternalAdaptableNumberEditor.js +6 -10
- package/src/agGrid/editors/AdaptableNumberEditor/index.js +16 -21
- package/src/agGrid/index.js +6 -11
- package/src/agGrid/weightedAverage.js +10 -17
- package/src/components/AdaptableFormComponent/AdaptableFormComponent.js +25 -31
- package/src/components/AdaptableFormComponent/index.js +1 -4
- package/src/components/CheckBox/index.js +13 -17
- package/src/components/CodeBlock/index.js +6 -11
- package/src/components/ColorPicker/ColorPicker.js +16 -19
- package/src/components/ColorPicker/index.js +1 -4
- package/src/components/ContainerProps.js +1 -2
- package/src/components/Dashboard/Dashboard.js +17 -22
- package/src/components/Dashboard/DashboardManager.js +4 -7
- package/src/components/Dashboard/DashboardTab.js +1 -5
- package/src/components/Dashboard/DashboardToolbar.js +9 -14
- package/src/components/Dashboard/index.js +3 -6
- package/src/components/Datepicker/Caption.js +15 -20
- package/src/components/Datepicker/CaptionLabel.js +16 -21
- package/src/components/Datepicker/DatepickerContext.js +4 -9
- package/src/components/Datepicker/index.js +36 -39
- package/src/components/Dialog/index.js +29 -32
- package/src/components/Dialog/useIsOpen.js +3 -6
- package/src/components/DragAndDropContext/DragAndDropContext.js +2 -6
- package/src/components/DragAndDropContext/ModuleManager.js +13 -18
- package/src/components/DragAndDropContext/TabList.js +19 -27
- package/src/components/DragAndDropContext/UnusedPanel.js +10 -15
- package/src/components/DragAndDropContext/types.js +1 -2
- package/src/components/Drawer/index.js +2 -7
- package/src/components/Dropdown/Arrows.js +5 -8
- package/src/components/Dropdown/index.js +18 -20
- package/src/components/DropdownButton/DropdownButtonItem.js +1 -2
- package/src/components/DropdownButton/index.js +23 -26
- package/src/components/DropdownButton/renderItem.js +4 -7
- package/src/components/DropdownButton/useExpanded.js +9 -12
- package/src/components/EllipsisContainer/index.js +17 -21
- package/src/components/EmptyContent/index.js +8 -10
- package/src/components/ErrorBox/index.js +6 -10
- package/src/components/ExpressionEditor/BaseEditorInput.js +55 -60
- package/src/components/ExpressionEditor/EditorButton.js +8 -10
- package/src/components/ExpressionEditor/EditorContext.js +4 -8
- package/src/components/ExpressionEditor/EditorInput.js +22 -25
- package/src/components/ExpressionEditor/EditorInputWithWhereClause.js +24 -27
- package/src/components/ExpressionEditor/ExpressionFunctionDocumentation.js +10 -15
- package/src/components/ExpressionEditor/ExpressionPreview.js +4 -9
- package/src/components/ExpressionEditor/NamedQueryContext.js +4 -8
- package/src/components/ExpressionEditor/QueryBuilder/QueryBuilder.js +36 -42
- package/src/components/ExpressionEditor/QueryBuilder/QueryBuilderInputs.js +51 -60
- package/src/components/ExpressionEditor/QueryBuilder/QueryPredicateBuilder.js +54 -59
- package/src/components/ExpressionEditor/QueryBuilder/booleanExpressions.js +1 -4
- package/src/components/ExpressionEditor/QueryBuilder/index.js +1 -4
- package/src/components/ExpressionEditor/QueryBuilder/utils.js +17 -26
- package/src/components/ExpressionEditor/editorButtonsAggregatedBoolean.js +1 -4
- package/src/components/ExpressionEditor/editorButtonsAggregatedScalar.js +1 -4
- package/src/components/ExpressionEditor/editorButtonsCumulativeAggregatedScalar.js +1 -4
- package/src/components/ExpressionEditor/editorButtonsObservable.js +1 -4
- package/src/components/ExpressionEditor/editorButtonsQuantileAggregatedScalar.js +1 -4
- package/src/components/ExpressionEditor/editorButtonsSearch.js +1 -4
- package/src/components/ExpressionEditor/index.js +99 -101
- package/src/components/FieldWrap/index.js +5 -8
- package/src/components/FileDroppable/FileDroppableState.js +1 -2
- package/src/components/FileDroppable/index.js +29 -33
- package/src/components/FileDroppable/reducer.js +3 -6
- package/src/components/FlexWithFooter.js +9 -11
- package/src/components/FormLayout/index.js +13 -17
- package/src/components/HelpBlock/index.js +6 -10
- package/src/components/Icon/index.js +20 -29
- package/src/components/IconSelector/IconSelector.js +27 -32
- package/src/components/IconSelector/index.js +1 -4
- package/src/components/InfiniteTable/index.js +6 -10
- package/src/components/Input/NumberInput.js +4 -9
- package/src/components/Input/index.js +8 -11
- package/src/components/InputGroup/InputGroup.js +4 -8
- package/src/components/InputGroup/index.js +1 -4
- package/src/components/List/GridList/index.js +7 -10
- package/src/components/List/ListGroup/index.js +7 -9
- package/src/components/List/ListGroupItem/index.js +8 -10
- package/src/components/Loader/Loader.js +4 -10
- package/src/components/Loader/index.js +2 -7
- package/src/components/Logo/index.js +2 -7
- package/src/components/Modal/Backdrop.js +12 -17
- package/src/components/Modal/index.js +19 -23
- package/src/components/NotifyResize/index.js +4 -7
- package/src/components/OverlayTrigger/Overlay.js +19 -23
- package/src/components/OverlayTrigger/index.js +43 -48
- package/src/components/OverlayTrigger/useAgGridClassName.js +5 -7
- package/src/components/OverlayTrigger/utils.js +3 -9
- package/src/components/Panel/index.js +12 -15
- package/src/components/PopupWithFooter.js +8 -11
- package/src/components/ProgressIndicator/ProgressIndicator.js +12 -17
- package/src/components/Radio/index.js +15 -20
- package/src/components/ResizeObserver/getResizeObserverObject.js +1 -5
- package/src/components/ResizeObserver/index.js +17 -24
- package/src/components/Select/Select.js +15 -20
- package/src/components/Select/index.js +1 -4
- package/src/components/SelectList.js +4 -9
- package/src/components/SelectableList/index.js +8 -13
- package/src/components/SimpleButton/index.js +19 -22
- package/src/components/SizedContainer/index.js +9 -11
- package/src/components/StylePreview.js +6 -11
- package/src/components/Table/index.js +4 -7
- package/src/components/Tabs/index.js +28 -34
- package/src/components/Tag/Tag.js +5 -9
- package/src/components/Tag/index.js +1 -5
- package/src/components/Textarea/index.js +8 -11
- package/src/components/Toastify/index.d.ts +2 -2
- package/src/components/Toastify/index.js +1 -10
- package/src/components/Toggle/Toggle.js +8 -12
- package/src/components/Toggle/ToggleGroup.js +4 -9
- package/src/components/Toggle/index.js +2 -5
- package/src/components/ToggleButton/index.js +6 -11
- package/src/components/Tooltip/index.js +4 -7
- package/src/components/WarningBox/index.js +6 -11
- package/src/components/WindowModal/WindowModal.js +12 -17
- package/src/components/WindowModal/index.js +1 -4
- package/src/components/WindowModal/useStacking.js +4 -9
- package/src/components/WizardPanel/index.js +5 -8
- package/src/components/icons/DefaultIcon.js +8 -12
- package/src/components/icons/add-row.js +3 -6
- package/src/components/icons/alert.js +3 -6
- package/src/components/icons/align-center.js +3 -6
- package/src/components/icons/align-justify.js +3 -6
- package/src/components/icons/align-left.js +3 -6
- package/src/components/icons/align-right.js +3 -6
- package/src/components/icons/analysis.js +3 -6
- package/src/components/icons/application.js +3 -6
- package/src/components/icons/arrow-down-long.js +3 -6
- package/src/components/icons/arrow-down.js +3 -6
- package/src/components/icons/arrow-expand.js +3 -6
- package/src/components/icons/arrow-left.js +3 -6
- package/src/components/icons/arrow-right.js +3 -6
- package/src/components/icons/arrow-up-long.js +3 -6
- package/src/components/icons/arrow-up.js +3 -6
- package/src/components/icons/attach-file.js +3 -6
- package/src/components/icons/badge.js +3 -6
- package/src/components/icons/blanks.js +3 -6
- package/src/components/icons/bold.js +3 -6
- package/src/components/icons/boolean-list.js +3 -6
- package/src/components/icons/brush.js +3 -6
- package/src/components/icons/build.js +3 -6
- package/src/components/icons/bulk-update.js +3 -6
- package/src/components/icons/calculated-column.js +3 -6
- package/src/components/icons/calendar.js +3 -6
- package/src/components/icons/call.js +3 -6
- package/src/components/icons/campaign.js +3 -6
- package/src/components/icons/case-lower.js +3 -6
- package/src/components/icons/case-sentence.js +3 -6
- package/src/components/icons/case-upper.js +3 -6
- package/src/components/icons/cell-summary.js +3 -6
- package/src/components/icons/cell-validation.js +3 -6
- package/src/components/icons/chart.js +3 -6
- package/src/components/icons/chat.js +3 -6
- package/src/components/icons/check-box-outline.js +3 -6
- package/src/components/icons/check-box.js +3 -6
- package/src/components/icons/check-circle.js +3 -6
- package/src/components/icons/check.js +3 -6
- package/src/components/icons/clone.js +3 -6
- package/src/components/icons/close.js +3 -6
- package/src/components/icons/cloud-upload.js +3 -6
- package/src/components/icons/collapse.js +3 -6
- package/src/components/icons/column-add.js +3 -6
- package/src/components/icons/column-chooser.js +3 -6
- package/src/components/icons/column-filter.js +3 -6
- package/src/components/icons/column-info.js +3 -6
- package/src/components/icons/comment.js +3 -6
- package/src/components/icons/comments.d.ts +3 -0
- package/src/components/icons/comments.js +4 -0
- package/src/components/icons/contact.js +3 -6
- package/src/components/icons/contains.js +3 -6
- package/src/components/icons/custom-sort.js +3 -6
- package/src/components/icons/dashboard.js +3 -6
- package/src/components/icons/data-set.js +3 -6
- package/src/components/icons/date-range.js +3 -6
- package/src/components/icons/delete.js +3 -6
- package/src/components/icons/division.js +3 -6
- package/src/components/icons/dock.js +3 -6
- package/src/components/icons/dollar.js +3 -6
- package/src/components/icons/drag.js +3 -6
- package/src/components/icons/edit.js +3 -6
- package/src/components/icons/ends-with.js +3 -6
- package/src/components/icons/equal.js +3 -6
- package/src/components/icons/equation.js +3 -6
- package/src/components/icons/error.js +3 -6
- package/src/components/icons/expand.js +3 -6
- package/src/components/icons/exponent.js +3 -6
- package/src/components/icons/export.js +3 -6
- package/src/components/icons/fast-backward.js +3 -6
- package/src/components/icons/fast-forward.js +3 -6
- package/src/components/icons/fdc3.js +3 -6
- package/src/components/icons/filter.js +3 -6
- package/src/components/icons/flashing-cell.js +3 -6
- package/src/components/icons/folder-open.js +3 -6
- package/src/components/icons/folder-shared.js +3 -6
- package/src/components/icons/folder.js +3 -6
- package/src/components/icons/format-column.js +3 -6
- package/src/components/icons/freetext-column.js +3 -6
- package/src/components/icons/function.js +3 -6
- package/src/components/icons/gradient-column.js +3 -6
- package/src/components/icons/gradient.js +3 -6
- package/src/components/icons/greater-than-or-equal.js +3 -6
- package/src/components/icons/greater-than.js +3 -6
- package/src/components/icons/grid-filter.js +3 -6
- package/src/components/icons/hide-column.js +3 -6
- package/src/components/icons/history.js +3 -6
- package/src/components/icons/home.js +3 -6
- package/src/components/icons/import-export.js +3 -6
- package/src/components/icons/import.js +3 -6
- package/src/components/icons/index.js +323 -326
- package/src/components/icons/info.js +3 -6
- package/src/components/icons/instrument.js +3 -6
- package/src/components/icons/interactions.js +3 -6
- package/src/components/icons/invalid.js +3 -6
- package/src/components/icons/ipushpull.js +3 -6
- package/src/components/icons/italic.js +3 -6
- package/src/components/icons/justify.js +3 -6
- package/src/components/icons/layout.js +3 -6
- package/src/components/icons/less-than-or-equal.js +3 -6
- package/src/components/icons/less-than.js +3 -6
- package/src/components/icons/list.js +3 -6
- package/src/components/icons/login.js +3 -6
- package/src/components/icons/logout copy.js +3 -6
- package/src/components/icons/logout.js +3 -6
- package/src/components/icons/mail.js +3 -6
- package/src/components/icons/menu.js +3 -6
- package/src/components/icons/minus.js +3 -6
- package/src/components/icons/money.js +3 -6
- package/src/components/icons/multiplication.js +3 -6
- package/src/components/icons/newpage.js +3 -6
- package/src/components/icons/news.js +3 -6
- package/src/components/icons/non-blanks.js +3 -6
- package/src/components/icons/not-contains.js +3 -6
- package/src/components/icons/not-equal.js +3 -6
- package/src/components/icons/note.js +3 -6
- package/src/components/icons/open-in-new.js +3 -6
- package/src/components/icons/order.js +3 -6
- package/src/components/icons/organisation.js +3 -6
- package/src/components/icons/overline.js +3 -6
- package/src/components/icons/pause.js +3 -6
- package/src/components/icons/percent-bar.js +3 -6
- package/src/components/icons/percent.js +3 -6
- package/src/components/icons/person.js +3 -6
- package/src/components/icons/pie-chart.js +3 -6
- package/src/components/icons/play.js +3 -6
- package/src/components/icons/plus-minus.js +3 -6
- package/src/components/icons/plus.js +3 -6
- package/src/components/icons/query.js +3 -6
- package/src/components/icons/quick-search.js +3 -6
- package/src/components/icons/quote.js +3 -6
- package/src/components/icons/refresh.js +3 -6
- package/src/components/icons/regex.js +3 -6
- package/src/components/icons/reminder.js +3 -6
- package/src/components/icons/resume.js +3 -6
- package/src/components/icons/save.js +3 -6
- package/src/components/icons/schedule.js +3 -6
- package/src/components/icons/science.js +3 -6
- package/src/components/icons/settings.js +3 -6
- package/src/components/icons/shortcut.js +3 -6
- package/src/components/icons/show-column.js +3 -6
- package/src/components/icons/smart-edit.js +3 -6
- package/src/components/icons/sort-asc.js +3 -6
- package/src/components/icons/sort-desc.js +3 -6
- package/src/components/icons/spark-line.js +3 -6
- package/src/components/icons/starts-with.js +3 -6
- package/src/components/icons/state-management.js +3 -6
- package/src/components/icons/statusbar.js +3 -6
- package/src/components/icons/stop.js +3 -6
- package/src/components/icons/strikethrough.js +3 -6
- package/src/components/icons/system-status.js +3 -6
- package/src/components/icons/tab-unselected.js +3 -6
- package/src/components/icons/table-arrow-right.js +3 -6
- package/src/components/icons/team-share.js +3 -6
- package/src/components/icons/theme.js +3 -6
- package/src/components/icons/tool-panel.js +3 -6
- package/src/components/icons/track-changes.js +3 -6
- package/src/components/icons/triangle-down.js +3 -6
- package/src/components/icons/triangle-up.js +3 -6
- package/src/components/icons/unchecked.js +3 -6
- package/src/components/icons/underline.js +3 -6
- package/src/components/icons/undo.js +3 -6
- package/src/components/icons/updated-row.js +3 -6
- package/src/components/icons/upload.js +3 -6
- package/src/components/icons/user-filter.js +3 -6
- package/src/components/icons/visibility-off.js +3 -6
- package/src/components/icons/visibility.js +3 -6
- package/src/components/icons/warning.js +3 -6
- package/src/components/utils/batchUpdate.js +3 -5
- package/src/components/utils/captureTabNavigation/getFocusableChildren.js +1 -3
- package/src/components/utils/captureTabNavigation/index.js +3 -6
- package/src/components/utils/contains.js +1 -4
- package/src/components/utils/getAvailableSizeInfo.js +1 -3
- package/src/components/utils/join.js +1 -3
- package/src/components/utils/selectParent/index.js +3 -6
- package/src/components/utils/selectParent/matches.js +1 -2
- package/src/components/utils/useAutoFocus.js +5 -8
- package/src/components/utils/useContainerScrollObserver/index.js +9 -13
- package/src/components/utils/useDraggable.js +7 -10
- package/src/components/utils/useGlobalEvent.js +2 -7
- package/src/components/utils/useLatest.js +4 -8
- package/src/components/utils/usePrevious.js +4 -6
- package/src/components/utils/usePropState.js +3 -6
- package/src/components/utils/useProperty.js +4 -6
- package/src/components/utils/useRerender.js +4 -8
- package/src/components/utils/useSelectionRange.js +5 -9
- package/src/components/utils/useTheme.js +2 -5
- package/src/components/utils/uuid.js +2 -6
- package/src/env.d.ts +3 -1
- package/src/env.js +4 -4
- package/src/metamodel/adaptable-metamodel-model.js +1 -2
- package/src/metamodel/adaptable.metamodel.d.ts +22 -115
- package/src/metamodel/adaptable.metamodel.js +9303 -1
- package/src/parser/src/ExpressionEvaluationError.js +1 -5
- package/src/parser/src/evaluator.js +3 -7
- package/src/parser/src/index.js +9 -18
- package/src/parser/src/parser.d.ts +2 -0
- package/src/parser/src/parser.js +1878 -705
- package/src/parser/src/predicate/index.js +2 -5
- package/src/parser/src/predicate/mapExpressionToQlPredicate.js +12 -16
- package/src/parser/src/predicate/mapQlPredicateToExpression.js +6 -11
- package/src/parser/src/predicate/types.js +1 -5
- package/src/parser/src/tokenizer.js +3 -8
- package/src/parser/src/types.js +1 -5
- package/src/parser/src/utils.js +3 -9
- package/src/renderReactRoot.js +2 -7
- package/src/theme.js +1 -3
- package/src/themes/index.js +8 -7
- package/src/types.d.ts +5 -10
- package/src/types.js +1 -5
- package/themes/dark.css +3 -3
- package/themes/dark.css.map +1 -1
- package/themes/light.css.map +1 -1
- package/tsconfig.esm.tsbuildinfo +1 -0
- package/types.js +1 -4
- package/bundle.cjs.js +0 -689
- package/publishTimestamp.d.ts +0 -2
- package/publishTimestamp.js +0 -3
- package/src/AdaptableOptions/FinsemblePluginOptions.d.ts +0 -35
- package/src/AdaptableOptions/FinsemblePluginOptions.js +0 -2
- package/src/AdaptableOptions/Glue42PluginOptions.d.ts +0 -25
- package/src/AdaptableOptions/Glue42PluginOptions.js +0 -2
- package/src/AdaptableOptions/Glue42WebPluginOptions.d.ts +0 -10
- package/src/AdaptableOptions/Glue42WebPluginOptions.js +0 -2
- package/src/Api/FinsembleApi.d.ts +0 -10
- package/src/Api/FinsembleApi.js +0 -2
- package/src/Api/Glue42Api.d.ts +0 -75
- package/src/Api/Glue42Api.js +0 -2
- package/src/Api/Glue42WebApi.d.ts +0 -10
- package/src/Api/Glue42WebApi.js +0 -2
- package/src/Api/NotesAPi.js +0 -2
- package/src/PredefinedConfig/Glue42State.d.ts +0 -46
- package/src/PredefinedConfig/Glue42State.js +0 -2
- package/src/View/Notes/NotesListing.d.ts +0 -2
- package/src/View/Notes/NotesListing.js +0 -88
- package/src/View/Schedule/Wizard/ScheduleSettingsWizard/ScheduleSettingsGlue42.d.ts +0 -9
- package/src/View/Schedule/Wizard/ScheduleSettingsWizard/ScheduleSettingsGlue42.js +0 -25
- package/src/bundle-dependencies/bundles/react-toastify/components/CloseButton.d.ts +0 -9
- package/src/bundle-dependencies/bundles/react-toastify/components/Icons.d.ts +0 -24
- package/src/bundle-dependencies/bundles/react-toastify/components/ProgressBar.d.ts +0 -59
- package/src/bundle-dependencies/bundles/react-toastify/components/Toast.d.ts +0 -3
- package/src/bundle-dependencies/bundles/react-toastify/components/ToastContainer.d.ts +0 -3
- package/src/bundle-dependencies/bundles/react-toastify/components/Transitions.d.ts +0 -6
- package/src/bundle-dependencies/bundles/react-toastify/components/index.d.ts +0 -6
- package/src/bundle-dependencies/bundles/react-toastify/core/eventManager.d.ts +0 -39
- package/src/bundle-dependencies/bundles/react-toastify/core/index.d.ts +0 -2
- package/src/bundle-dependencies/bundles/react-toastify/core/toast.d.ts +0 -41
- package/src/bundle-dependencies/bundles/react-toastify/hooks/index.d.ts +0 -2
- package/src/bundle-dependencies/bundles/react-toastify/hooks/useToast.d.ts +0 -10
- package/src/bundle-dependencies/bundles/react-toastify/hooks/useToastContainer.d.ts +0 -23
- package/src/bundle-dependencies/bundles/react-toastify/index.d.ts +0 -5
- package/src/bundle-dependencies/bundles/react-toastify/index.js +0 -1
- package/src/bundle-dependencies/bundles/react-toastify/inject-style.d.ts +0 -8
- package/src/bundle-dependencies/bundles/react-toastify/types/index.d.ts +0 -269
- package/src/bundle-dependencies/bundles/react-toastify/utils/collapseToast.d.ts +0 -5
- package/src/bundle-dependencies/bundles/react-toastify/utils/constant.d.ts +0 -23
- package/src/bundle-dependencies/bundles/react-toastify/utils/cssTransition.d.ts +0 -43
- package/src/bundle-dependencies/bundles/react-toastify/utils/index.d.ts +0 -5
- package/src/bundle-dependencies/bundles/react-toastify/utils/mapper.d.ts +0 -2
- package/src/bundle-dependencies/bundles/react-toastify/utils/propValidator.d.ts +0 -9
- package/version.d.ts +0 -2
- package/version.js +0 -3
|
@@ -1,73 +1,68 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
const
|
|
48
|
-
const
|
|
49
|
-
const TeamSharingState_1 = require("../../PredefinedConfig/TeamSharingState");
|
|
50
|
-
exports.INIT_STATE = 'INIT_STATE';
|
|
51
|
-
exports.LOAD_STATE = 'LOAD_STATE';
|
|
1
|
+
import * as Redux from 'redux';
|
|
2
|
+
import { ExportDestination } from '../../PredefinedConfig/Common/Enums';
|
|
3
|
+
import * as PluginsRedux from '../ActionsReducers/PluginsRedux';
|
|
4
|
+
import * as PopupRedux from '../ActionsReducers/PopupRedux';
|
|
5
|
+
import { PopupShowForm } from '../ActionsReducers/PopupRedux';
|
|
6
|
+
import { createEngine as createEngineLocal } from './AdaptableReduxLocalStorageEngine';
|
|
7
|
+
import { mergeReducer } from './AdaptableReduxMerger';
|
|
8
|
+
import { isAdaptableCellChangedAlert, isAdaptableRowChangedAlert, } from '../../PredefinedConfig/Common/AdaptableAlert';
|
|
9
|
+
import * as ConfigConstants from '../../Utilities/Constants/ConfigConstants';
|
|
10
|
+
import { EMPTY_STRING, VISUAL_DATA_REPORT } from '../../Utilities/Constants/GeneralConstants';
|
|
11
|
+
import * as ModuleConstants from '../../Utilities/Constants/ModuleConstants';
|
|
12
|
+
import Emitter from '../../Utilities/Emitter';
|
|
13
|
+
import { StringExtensions } from '../../Utilities/Extensions/StringExtensions';
|
|
14
|
+
import { PreviewHelper } from '../../Utilities/Helpers/PreviewHelper';
|
|
15
|
+
import { ObjectFactory } from '../../Utilities/ObjectFactory';
|
|
16
|
+
import { showToast } from '../../View/Components/Popups/AdaptableToaster';
|
|
17
|
+
import * as AlertRedux from '../ActionsReducers/AlertRedux';
|
|
18
|
+
import * as ApplicationRedux from '../ActionsReducers/ApplicationRedux';
|
|
19
|
+
import * as BulkUpdateRedux from '../ActionsReducers/BulkUpdateRedux';
|
|
20
|
+
import * as CalculatedColumnRedux from '../ActionsReducers/CalculatedColumnRedux';
|
|
21
|
+
import * as ChartingRedux from '../ActionsReducers/ChartingRedux';
|
|
22
|
+
import * as CommentsRedux from '../ActionsReducers/CommentsRedux';
|
|
23
|
+
import * as CustomSortRedux from '../ActionsReducers/CustomSortRedux';
|
|
24
|
+
import * as DashboardRedux from '../ActionsReducers/DashboardRedux';
|
|
25
|
+
import * as ExportRedux from '../ActionsReducers/ExportRedux';
|
|
26
|
+
import * as FlashingCellRedux from '../ActionsReducers/FlashingCellRedux';
|
|
27
|
+
import * as FormatColumnRedux from '../ActionsReducers/FormatColumnRedux';
|
|
28
|
+
import * as FreeTextColumnRedux from '../ActionsReducers/FreeTextColumnRedux';
|
|
29
|
+
import * as GridRedux from '../ActionsReducers/GridRedux';
|
|
30
|
+
import * as LayoutRedux from '../ActionsReducers/LayoutRedux';
|
|
31
|
+
import * as NamedQueryRedux from '../ActionsReducers/NamedQueryRedux';
|
|
32
|
+
import * as NotesRedux from '../ActionsReducers/NotesRedux';
|
|
33
|
+
import * as PlusMinusRedux from '../ActionsReducers/PlusMinusRedux';
|
|
34
|
+
import * as QueryRedux from '../ActionsReducers/QueryRedux';
|
|
35
|
+
import * as QuickSearchRedux from '../ActionsReducers/QuickSearchRedux';
|
|
36
|
+
import * as ScheduleRedux from '../ActionsReducers/ScheduleRedux';
|
|
37
|
+
import * as ShortcutRedux from '../ActionsReducers/ShortcutRedux';
|
|
38
|
+
import * as SmartEditRedux from '../ActionsReducers/SmartEditRedux';
|
|
39
|
+
import * as StatusBarRedux from '../ActionsReducers/StatusBarRedux';
|
|
40
|
+
import * as StyledColumnRedux from '../ActionsReducers/StyledColumnRedux';
|
|
41
|
+
import * as SystemRedux from '../ActionsReducers/SystemRedux';
|
|
42
|
+
import { SYSTEM_PROGRESS_INDICATOR_HIDE, SYSTEM_PROGRESS_INDICATOR_SHOW, SYSTEM_VISUAL_EXPORT_BEGIN, SYSTEM_VISUAL_EXPORT_END, } from '../ActionsReducers/SystemRedux';
|
|
43
|
+
import * as TeamSharingRedux from '../ActionsReducers/TeamSharingRedux';
|
|
44
|
+
import * as ThemeRedux from '../ActionsReducers/ThemeRedux';
|
|
45
|
+
import * as ToolPanelRedux from '../ActionsReducers/ToolPanelRedux';
|
|
46
|
+
import { isAdaptableSharedEntity, isCustomSharedEntity, } from '../../PredefinedConfig/TeamSharingState';
|
|
47
|
+
export const INIT_STATE = 'INIT_STATE';
|
|
48
|
+
export const LOAD_STATE = 'LOAD_STATE';
|
|
52
49
|
const NON_PERSIST_ACTIONS = {
|
|
53
|
-
[
|
|
50
|
+
[LOAD_STATE]: true,
|
|
54
51
|
'@@INIT': true,
|
|
55
52
|
'@@redux/init': true,
|
|
56
|
-
[
|
|
53
|
+
[INIT_STATE]: true,
|
|
57
54
|
// progress indicators should NOT interfere with state management as it may lead to race conditions due to load/persist state being async
|
|
58
|
-
[
|
|
59
|
-
[
|
|
55
|
+
[SYSTEM_PROGRESS_INDICATOR_SHOW]: true,
|
|
56
|
+
[SYSTEM_PROGRESS_INDICATOR_HIDE]: true,
|
|
60
57
|
};
|
|
61
|
-
const InitState = () => ({
|
|
62
|
-
type:
|
|
58
|
+
export const InitState = () => ({
|
|
59
|
+
type: INIT_STATE,
|
|
63
60
|
});
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
type: exports.LOAD_STATE,
|
|
61
|
+
export const LoadState = (State) => ({
|
|
62
|
+
type: LOAD_STATE,
|
|
67
63
|
State,
|
|
68
64
|
});
|
|
69
|
-
|
|
70
|
-
class AdaptableStore {
|
|
65
|
+
export class AdaptableStore {
|
|
71
66
|
/**
|
|
72
67
|
*
|
|
73
68
|
* @param adaptable The Adaptable instance
|
|
@@ -97,27 +92,27 @@ class AdaptableStore {
|
|
|
97
92
|
.load(predefinedConfig)
|
|
98
93
|
.then((storedState) => {
|
|
99
94
|
if (storedState && this.loadStateOnStartup) {
|
|
100
|
-
this.TheStore.dispatch(
|
|
95
|
+
this.TheStore.dispatch(LoadState(adaptable.adaptableOptions.stateOptions.applyState(storedState)));
|
|
101
96
|
}
|
|
102
97
|
})
|
|
103
98
|
// we need AG Grid to be ready because several states(ex. Layout) depend on its API
|
|
104
99
|
.then(() => this.isAgGridReady)
|
|
105
100
|
.then(() => {
|
|
106
|
-
this.TheStore.dispatch(
|
|
101
|
+
this.TheStore.dispatch(InitState());
|
|
107
102
|
// END STATE LOAD
|
|
108
103
|
this.loadStorageInProgress = false;
|
|
109
104
|
}, (e) => {
|
|
110
105
|
adaptable.logger.error('Failed to load previous Adaptable State : ', e);
|
|
111
106
|
//for now i'm still initializing Adaptable even if loading state has failed....
|
|
112
107
|
//we may revisit that later
|
|
113
|
-
this.TheStore.dispatch(
|
|
108
|
+
this.TheStore.dispatch(InitState());
|
|
114
109
|
// END STATE LOAD
|
|
115
110
|
this.loadStorageInProgress = false;
|
|
116
111
|
this.TheStore.dispatch(PopupRedux.PopupShowAlert({
|
|
117
112
|
alertType: 'generic',
|
|
118
113
|
header: 'Configuration',
|
|
119
114
|
message: 'Error loading your configuration:' + e,
|
|
120
|
-
alertDefinition:
|
|
115
|
+
alertDefinition: ObjectFactory.CreateInternalAlertDefinitionForMessages('Error'),
|
|
121
116
|
}));
|
|
122
117
|
}));
|
|
123
118
|
};
|
|
@@ -149,6 +144,7 @@ class AdaptableStore {
|
|
|
149
144
|
Charting: ChartingRedux.ChartingReducer,
|
|
150
145
|
StyledColumn: StyledColumnRedux.StyledColumnReducer,
|
|
151
146
|
Notes: NotesRedux.NotesReducer,
|
|
147
|
+
Comment: CommentsRedux.CommentsReducer,
|
|
152
148
|
Query: QueryRedux.QueryReducer,
|
|
153
149
|
NamedQuery: NamedQueryRedux.NamedQueryReducer,
|
|
154
150
|
};
|
|
@@ -161,7 +157,7 @@ class AdaptableStore {
|
|
|
161
157
|
const initialRootReducer = Redux.combineReducers(rootReducerObject);
|
|
162
158
|
const rootReducerWithResetManagement = (state, action) => {
|
|
163
159
|
switch (action.type) {
|
|
164
|
-
case
|
|
160
|
+
case LOAD_STATE:
|
|
165
161
|
const { State } = action;
|
|
166
162
|
Object.keys(State).forEach((key) => {
|
|
167
163
|
// this check should be removed in version 12 !!!
|
|
@@ -182,11 +178,11 @@ class AdaptableStore {
|
|
|
182
178
|
return initialRootReducer(state, action);
|
|
183
179
|
};
|
|
184
180
|
let storageEngine;
|
|
185
|
-
this.emitter = new
|
|
181
|
+
this.emitter = new Emitter();
|
|
186
182
|
// If the user has remote storage set then we use Remote Engine, otherwise we use Local Enginge
|
|
187
183
|
// not sure we can do this as we need to be backwardly compatible with existing users so need to stick with adaptable id (which should be unique)
|
|
188
184
|
// const localStorageKey = 'adaptable-adaptable-state-' + adaptable.adaptableOptions.primaryKey;
|
|
189
|
-
storageEngine = (
|
|
185
|
+
storageEngine = createEngineLocal({
|
|
190
186
|
adaptableId: adaptable.adaptableOptions.adaptableId,
|
|
191
187
|
adaptableStateKey: adaptable.adaptableOptions.adaptableStateKey,
|
|
192
188
|
userName: adaptable.adaptableOptions.userName,
|
|
@@ -201,6 +197,7 @@ class AdaptableStore {
|
|
|
201
197
|
ConfigConstants.GRID,
|
|
202
198
|
ConfigConstants.POPUP,
|
|
203
199
|
ConfigConstants.PLUGINS,
|
|
200
|
+
ConfigConstants.COMMENT,
|
|
204
201
|
];
|
|
205
202
|
const didPersistentStateChange = (state, newState) => {
|
|
206
203
|
return Object.keys(newState).some((key) => {
|
|
@@ -211,7 +208,7 @@ class AdaptableStore {
|
|
|
211
208
|
});
|
|
212
209
|
};
|
|
213
210
|
// this is now VERY BADLY NAMED!
|
|
214
|
-
let rootReducer =
|
|
211
|
+
let rootReducer = mergeReducer(rootReducerWithResetManagement, LOAD_STATE);
|
|
215
212
|
const composeEnhancers = (x) => x;
|
|
216
213
|
const persistedReducer = (state, action) => {
|
|
217
214
|
var _a, _b;
|
|
@@ -272,14 +269,13 @@ class AdaptableStore {
|
|
|
272
269
|
return Promise.resolve(true);
|
|
273
270
|
}
|
|
274
271
|
}
|
|
275
|
-
exports.AdaptableStore = AdaptableStore;
|
|
276
272
|
// this is the main function for dealing with Redux Actions which require additional functionality to be triggered.
|
|
277
273
|
// Please document each use case where we have to use the Store rather than a module or a popup screen
|
|
278
274
|
// This should ideally be the ONLY place where we LISTEN to store changes
|
|
279
|
-
const adaptableMiddleware = (adaptable) => function
|
|
275
|
+
const adaptableMiddleware = (adaptable) => (function(middlewareAPI) {
|
|
280
276
|
return function (next) {
|
|
281
277
|
return function (action) {
|
|
282
|
-
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m;
|
|
278
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o;
|
|
283
279
|
switch (action.type) {
|
|
284
280
|
/*******************
|
|
285
281
|
* NAMED QUERY ACTIONS
|
|
@@ -297,7 +293,7 @@ const adaptableMiddleware = (adaptable) => function (middlewareAPI) {
|
|
|
297
293
|
alertType: 'generic',
|
|
298
294
|
header: 'Named Query could not be deleted',
|
|
299
295
|
message: `It is still referenced in the following modules: ${namedQueryReferences.join(', ')}`,
|
|
300
|
-
alertDefinition:
|
|
296
|
+
alertDefinition: ObjectFactory.CreateInternalAlertDefinitionForMessages('Error'),
|
|
301
297
|
}));
|
|
302
298
|
return;
|
|
303
299
|
}
|
|
@@ -319,7 +315,7 @@ const adaptableMiddleware = (adaptable) => function (middlewareAPI) {
|
|
|
319
315
|
alertType: 'generic',
|
|
320
316
|
header: 'Named Query could not be renamed',
|
|
321
317
|
message: `It is currently referenced in the following modules: ${namedQueryReferences.join(', ')}`,
|
|
322
|
-
alertDefinition:
|
|
318
|
+
alertDefinition: ObjectFactory.CreateInternalAlertDefinitionForMessages('Error'),
|
|
323
319
|
}));
|
|
324
320
|
return;
|
|
325
321
|
}
|
|
@@ -425,13 +421,13 @@ const adaptableMiddleware = (adaptable) => function (middlewareAPI) {
|
|
|
425
421
|
let ret = next(action);
|
|
426
422
|
const adaptableAlert = actionTyped.alert;
|
|
427
423
|
if (((_c = adaptableAlert.alertDefinition.AlertProperties) === null || _c === void 0 ? void 0 : _c.HighlightCell) &&
|
|
428
|
-
|
|
424
|
+
isAdaptableCellChangedAlert(adaptableAlert) &&
|
|
429
425
|
adaptableAlert.cellDataChangedInfo) {
|
|
430
426
|
const rowNode = adaptableAlert.cellDataChangedInfo.rowNode;
|
|
431
427
|
adaptable.refreshCells([rowNode], [adaptableAlert.cellDataChangedInfo.column.columnId], true);
|
|
432
428
|
}
|
|
433
429
|
if (((_d = adaptableAlert.alertDefinition.AlertProperties) === null || _d === void 0 ? void 0 : _d.HighlightRow) &&
|
|
434
|
-
|
|
430
|
+
isAdaptableRowChangedAlert(adaptableAlert) &&
|
|
435
431
|
adaptableAlert.gridDataChangedInfo) {
|
|
436
432
|
adaptable.api.gridApi.refreshRowNodes(adaptableAlert.gridDataChangedInfo.rowNodes);
|
|
437
433
|
}
|
|
@@ -448,13 +444,13 @@ const adaptableMiddleware = (adaptable) => function (middlewareAPI) {
|
|
|
448
444
|
alerts.forEach((alert) => {
|
|
449
445
|
var _a, _b;
|
|
450
446
|
if (((_a = alert.alertDefinition.AlertProperties) === null || _a === void 0 ? void 0 : _a.HighlightCell) &&
|
|
451
|
-
|
|
447
|
+
isAdaptableCellChangedAlert(alert) &&
|
|
452
448
|
alert.cellDataChangedInfo) {
|
|
453
449
|
let rowNode = alert.cellDataChangedInfo.rowNode;
|
|
454
450
|
adaptable.refreshCells([rowNode], [alert.cellDataChangedInfo.column.columnId], true);
|
|
455
451
|
}
|
|
456
452
|
if (((_b = alert.alertDefinition.AlertProperties) === null || _b === void 0 ? void 0 : _b.HighlightRow) &&
|
|
457
|
-
|
|
453
|
+
isAdaptableRowChangedAlert(alert) &&
|
|
458
454
|
alert.gridDataChangedInfo) {
|
|
459
455
|
adaptable.api.gridApi.refreshRowNodes(alert.gridDataChangedInfo.rowNodes);
|
|
460
456
|
}
|
|
@@ -470,7 +466,7 @@ const adaptableMiddleware = (adaptable) => function (middlewareAPI) {
|
|
|
470
466
|
const actionTyped = action;
|
|
471
467
|
const adaptableAlert = actionTyped.alert;
|
|
472
468
|
if ((_e = adaptableAlert.alertDefinition.AlertProperties) === null || _e === void 0 ? void 0 : _e.HighlightCell) {
|
|
473
|
-
if (
|
|
469
|
+
if (isAdaptableCellChangedAlert(adaptableAlert) &&
|
|
474
470
|
adaptableAlert.cellDataChangedInfo) {
|
|
475
471
|
const rowNode = adaptableAlert.cellDataChangedInfo.rowNode;
|
|
476
472
|
adaptable.refreshCells([rowNode], [adaptableAlert.cellDataChangedInfo.column.columnId], true);
|
|
@@ -483,11 +479,11 @@ const adaptableMiddleware = (adaptable) => function (middlewareAPI) {
|
|
|
483
479
|
const actionTyped = action;
|
|
484
480
|
const adaptableAlert = actionTyped.alert;
|
|
485
481
|
if ((_f = adaptableAlert.alertDefinition.AlertProperties) === null || _f === void 0 ? void 0 : _f.HighlightRow) {
|
|
486
|
-
if (
|
|
482
|
+
if (isAdaptableCellChangedAlert(adaptableAlert) &&
|
|
487
483
|
adaptableAlert.cellDataChangedInfo) {
|
|
488
484
|
adaptable.api.gridApi.refreshRowNodes([adaptableAlert.cellDataChangedInfo.rowNode]);
|
|
489
485
|
}
|
|
490
|
-
if (
|
|
486
|
+
if (isAdaptableRowChangedAlert(adaptableAlert) &&
|
|
491
487
|
adaptableAlert.gridDataChangedInfo) {
|
|
492
488
|
adaptable.api.gridApi.refreshRowNodes(adaptableAlert.gridDataChangedInfo.rowNodes);
|
|
493
489
|
}
|
|
@@ -616,7 +612,7 @@ const adaptableMiddleware = (adaptable) => function (middlewareAPI) {
|
|
|
616
612
|
alertType: 'generic',
|
|
617
613
|
header: 'CalculatedColumn could not be deleted',
|
|
618
614
|
message: `It is still referenced in the following modules: ${calculatedColumnReferences.join(', ')}`,
|
|
619
|
-
alertDefinition:
|
|
615
|
+
alertDefinition: ObjectFactory.CreateInternalAlertDefinitionForMessages('Error'),
|
|
620
616
|
}));
|
|
621
617
|
return;
|
|
622
618
|
}
|
|
@@ -641,7 +637,7 @@ const adaptableMiddleware = (adaptable) => function (middlewareAPI) {
|
|
|
641
637
|
alertType: 'generic',
|
|
642
638
|
header: 'FreeTextColumn could not be deleted',
|
|
643
639
|
message: `It is still referenced in the following modules: ${freeTextColumnReferences.join(', ')}`,
|
|
644
|
-
alertDefinition:
|
|
640
|
+
alertDefinition: ObjectFactory.CreateInternalAlertDefinitionForMessages('Error'),
|
|
645
641
|
}));
|
|
646
642
|
return;
|
|
647
643
|
}
|
|
@@ -701,7 +697,7 @@ const adaptableMiddleware = (adaptable) => function (middlewareAPI) {
|
|
|
701
697
|
if (adaptable.adaptableOptions.quickSearchOptions.filterResultsAfterQuickSearch) {
|
|
702
698
|
const actionTyped = action;
|
|
703
699
|
const searchText = actionTyped.quickSearchText;
|
|
704
|
-
if (
|
|
700
|
+
if (StringExtensions.IsNotNullOrEmpty(searchText)) {
|
|
705
701
|
adaptable.setAgGridQuickSearch(searchText);
|
|
706
702
|
}
|
|
707
703
|
else {
|
|
@@ -843,7 +839,7 @@ const adaptableMiddleware = (adaptable) => function (middlewareAPI) {
|
|
|
843
839
|
adaptable.api.dataSetApi.internalApi.fireDataSetSelectedEvent(dataSet);
|
|
844
840
|
requestAnimationFrame(() => {
|
|
845
841
|
if (dataSet.form) {
|
|
846
|
-
middlewareAPI.dispatch(
|
|
842
|
+
middlewareAPI.dispatch(PopupShowForm({
|
|
847
843
|
Id: 'data-set-form',
|
|
848
844
|
Form: dataSet.form,
|
|
849
845
|
prepareContext: (context) => {
|
|
@@ -873,7 +869,7 @@ const adaptableMiddleware = (adaptable) => function (middlewareAPI) {
|
|
|
873
869
|
* Note ACTIONS
|
|
874
870
|
*******************/
|
|
875
871
|
/**
|
|
876
|
-
* Use Case:
|
|
872
|
+
* Use Case: Notes has been edited/deleted/added
|
|
877
873
|
* Action: Triangle can be removed/added
|
|
878
874
|
*/
|
|
879
875
|
case NotesRedux.NOTES_ADD:
|
|
@@ -882,9 +878,72 @@ const adaptableMiddleware = (adaptable) => function (middlewareAPI) {
|
|
|
882
878
|
let returnAction = next(action);
|
|
883
879
|
const node = adaptable.api.gridApi.getRowNodeForPrimaryKey(returnAction.adaptableNote.PrimaryKeyValue);
|
|
884
880
|
adaptable.refreshCells([node], [returnAction.adaptableNote.ColumnId], true);
|
|
885
|
-
|
|
886
|
-
|
|
881
|
+
return returnAction;
|
|
882
|
+
}
|
|
883
|
+
/*******************
|
|
884
|
+
* Comment ACTIONS
|
|
885
|
+
*******************/
|
|
886
|
+
/**
|
|
887
|
+
* Use Case: Comments has been edited/deleted/added
|
|
888
|
+
* Action: Triangle can be removed/added
|
|
889
|
+
*/
|
|
890
|
+
case CommentsRedux.COMMENTS_ADD:
|
|
891
|
+
case CommentsRedux.COMMENTS_EDIT:
|
|
892
|
+
case CommentsRedux.COMMENTS_DELETE:
|
|
893
|
+
case CommentsRedux.COMMENTS_CELL_DELETE:
|
|
894
|
+
case CommentsRedux.COMMENTS_CELL_ADD: {
|
|
895
|
+
let returnAction = next(action);
|
|
896
|
+
let node = null;
|
|
897
|
+
let columnId = null;
|
|
898
|
+
if ('cellAddress' in returnAction) {
|
|
899
|
+
node = adaptable.api.gridApi.getRowNodeForPrimaryKey(returnAction.cellAddress.PrimaryKeyValue);
|
|
900
|
+
columnId = returnAction.cellAddress.ColumnId;
|
|
901
|
+
}
|
|
902
|
+
else if ('cellComments' in returnAction) {
|
|
903
|
+
node = adaptable.api.gridApi.getRowNodeForPrimaryKey(returnAction.cellComments.PrimaryKeyValue);
|
|
904
|
+
columnId = returnAction.cellComments.ColumnId;
|
|
887
905
|
}
|
|
906
|
+
if (node && columnId) {
|
|
907
|
+
adaptable.refreshCells([node], [columnId], true);
|
|
908
|
+
requestAnimationFrame(() => {
|
|
909
|
+
var _a, _b;
|
|
910
|
+
const commentThreads = adaptable.api.commentApi.getCommentThreads();
|
|
911
|
+
adaptable.api.eventApi.emit('CommentsChanged', adaptable.api.commentApi.getCommentThreads());
|
|
912
|
+
(_b = (_a = adaptable.api.optionsApi
|
|
913
|
+
.getCommentsOptions()) === null || _a === void 0 ? void 0 : _a.persistCommentThreads) === null || _b === void 0 ? void 0 : _b.call(_a, commentThreads);
|
|
914
|
+
});
|
|
915
|
+
}
|
|
916
|
+
return returnAction;
|
|
917
|
+
}
|
|
918
|
+
case CommentsRedux.COMMENTS_LOAD: {
|
|
919
|
+
const previousCommentThreads = adaptable.api.commentApi.getCommentThreads();
|
|
920
|
+
let returnAction = next(action);
|
|
921
|
+
const newCommentThreads = (_j = adaptable.api.commentApi.getCommentThreads()) !== null && _j !== void 0 ? _j : [];
|
|
922
|
+
requestAnimationFrame(() => {
|
|
923
|
+
let addedCommentThreads = [];
|
|
924
|
+
let deletedCommentThreads = [];
|
|
925
|
+
const prevCommentThreadsSet = new Set((previousCommentThreads !== null && previousCommentThreads !== void 0 ? previousCommentThreads : []).map((c) => c.Uuid));
|
|
926
|
+
const newCommentThreadsSet = new Set((newCommentThreads !== null && newCommentThreads !== void 0 ? newCommentThreads : []).map((c) => c.Uuid));
|
|
927
|
+
for (const commentThread of newCommentThreads) {
|
|
928
|
+
if (!prevCommentThreadsSet.has(commentThread.Uuid)) {
|
|
929
|
+
addedCommentThreads.push(commentThread);
|
|
930
|
+
}
|
|
931
|
+
}
|
|
932
|
+
for (const commentThread of previousCommentThreads) {
|
|
933
|
+
if (!newCommentThreadsSet.has(commentThread.Uuid)) {
|
|
934
|
+
deletedCommentThreads.push(commentThread);
|
|
935
|
+
}
|
|
936
|
+
}
|
|
937
|
+
// This cannot be called because it would trigger an infinite loop
|
|
938
|
+
// adaptable.api.eventApi.emit('CommentsChanged', commentThreads);
|
|
939
|
+
// refresh all comments cells to show or hide the triangle
|
|
940
|
+
[...addedCommentThreads, ...deletedCommentThreads].forEach((commentThread) => {
|
|
941
|
+
const node = adaptable.api.gridApi.getRowNodeForPrimaryKey(commentThread.PrimaryKeyValue);
|
|
942
|
+
if (node && commentThread.ColumnId) {
|
|
943
|
+
adaptable.refreshCells([node], [commentThread.ColumnId], true);
|
|
944
|
+
}
|
|
945
|
+
});
|
|
946
|
+
});
|
|
888
947
|
return returnAction;
|
|
889
948
|
}
|
|
890
949
|
/*******************
|
|
@@ -915,13 +974,6 @@ const adaptableMiddleware = (adaptable) => function (middlewareAPI) {
|
|
|
915
974
|
case ScheduleRedux.IPUSHPULL_SCHEDULE_UNSUSPEND:
|
|
916
975
|
case ScheduleRedux.IPUSHPULL_SCHEDULE_SUSPEND_ALL:
|
|
917
976
|
case ScheduleRedux.IPUSHPULL_SCHEDULE_UNSUSPEND_ALL:
|
|
918
|
-
case ScheduleRedux.GLUE42_SCHEDULE_ADD:
|
|
919
|
-
case ScheduleRedux.GLUE42_SCHEDULE_EDIT:
|
|
920
|
-
case ScheduleRedux.GLUE42_SCHEDULE_DELETE:
|
|
921
|
-
case ScheduleRedux.GLUE42_SCHEDULE_SUSPEND:
|
|
922
|
-
case ScheduleRedux.GLUE42_SCHEDULE_UNSUSPEND:
|
|
923
|
-
case ScheduleRedux.GLUE42_SCHEDULE_SUSPEND_ALL:
|
|
924
|
-
case ScheduleRedux.GLUE42_SCHEDULE_UNSUSPEND_ALL:
|
|
925
977
|
case ScheduleRedux.OPENFIN_SCHEDULE_ADD:
|
|
926
978
|
case ScheduleRedux.OPENFIN_SCHEDULE_EDIT:
|
|
927
979
|
case ScheduleRedux.OPENFIN_SCHEDULE_DELETE:
|
|
@@ -967,8 +1019,8 @@ const adaptableMiddleware = (adaptable) => function (middlewareAPI) {
|
|
|
967
1019
|
let returnAction = next(action);
|
|
968
1020
|
const newLayoutState = middlewareAPI.getState().Layout;
|
|
969
1021
|
adaptable.api.layoutApi.internalApi.fireLayoutChangedEvent(action.type, oldLayoutState, newLayoutState);
|
|
970
|
-
const oldFilters = (
|
|
971
|
-
const newFilters = (
|
|
1022
|
+
const oldFilters = (_k = oldLayoutState.Layouts.find((l) => l.Name == oldLayoutState.CurrentLayout)) === null || _k === void 0 ? void 0 : _k.ColumnFilters;
|
|
1023
|
+
const newFilters = (_l = newLayoutState.Layouts.find((l) => l.Name == newLayoutState.CurrentLayout)) === null || _l === void 0 ? void 0 : _l.ColumnFilters;
|
|
972
1024
|
// Tell Grid to apply filtering if filters have been changed in a loaded Layout
|
|
973
1025
|
if (adaptable.api.columnFilterApi.internalApi.areColumnFiltersDifferent(oldFilters, newFilters)) {
|
|
974
1026
|
adaptable.applyColumnFiltering();
|
|
@@ -985,7 +1037,7 @@ const adaptableMiddleware = (adaptable) => function (middlewareAPI) {
|
|
|
985
1037
|
// tell grid the layout has been selected
|
|
986
1038
|
adaptable.setLayout(currentLayout);
|
|
987
1039
|
}
|
|
988
|
-
if (!((
|
|
1040
|
+
if (!((_m = adaptable.adaptableOptions.layoutOptions) === null || _m === void 0 ? void 0 : _m.autoSaveLayouts)) {
|
|
989
1041
|
middlewareAPI.dispatch(GridRedux.LayoutUpdateCurrentDraft(currentLayout));
|
|
990
1042
|
}
|
|
991
1043
|
}
|
|
@@ -993,7 +1045,7 @@ const adaptableMiddleware = (adaptable) => function (middlewareAPI) {
|
|
|
993
1045
|
returnAction.type == LayoutRedux.LAYOUT_SAVE) {
|
|
994
1046
|
const actionTyped = action;
|
|
995
1047
|
// if autosave is false
|
|
996
|
-
if (!((
|
|
1048
|
+
if (!((_o = adaptable.adaptableOptions.layoutOptions) === null || _o === void 0 ? void 0 : _o.autoSaveLayouts)) {
|
|
997
1049
|
// and the current layout is saved, make sure we also update the draft
|
|
998
1050
|
if (actionTyped.layout.Name === newLayoutState.CurrentLayout) {
|
|
999
1051
|
middlewareAPI.dispatch(GridRedux.LayoutUpdateCurrentDraft(actionTyped.layout));
|
|
@@ -1080,7 +1132,7 @@ const adaptableMiddleware = (adaptable) => function (middlewareAPI) {
|
|
|
1080
1132
|
let module = (adaptable.adaptableModules.get(ModuleConstants.SmartEditModuleId));
|
|
1081
1133
|
const actionTyped = action;
|
|
1082
1134
|
let thePreview = middlewareAPI.getState().System.SmartEditPreviewInfo;
|
|
1083
|
-
let newValues =
|
|
1135
|
+
let newValues = PreviewHelper.GetCellUpdateRequestsFromPreview(thePreview, actionTyped.bypassValidationWarnings);
|
|
1084
1136
|
module.ApplySmartEdit(newValues);
|
|
1085
1137
|
middlewareAPI.dispatch(PopupRedux.PopupHideScreen());
|
|
1086
1138
|
return next(action);
|
|
@@ -1135,7 +1187,7 @@ const adaptableMiddleware = (adaptable) => function (middlewareAPI) {
|
|
|
1135
1187
|
case BulkUpdateRedux.BULK_UPDATE_COMPLETE: {
|
|
1136
1188
|
const actionTyped = action;
|
|
1137
1189
|
let thePreview = middlewareAPI.getState().System.BulkUpdatePreviewInfo;
|
|
1138
|
-
let newValues =
|
|
1190
|
+
let newValues = PreviewHelper.GetCellUpdateRequestsFromPreview(thePreview, actionTyped.bypassValidationWarnings);
|
|
1139
1191
|
adaptable.api.bulkUpdateApi.applyBulkUpdate(newValues);
|
|
1140
1192
|
middlewareAPI.dispatch(PopupRedux.PopupHideScreen());
|
|
1141
1193
|
return next(action);
|
|
@@ -1198,8 +1250,8 @@ const adaptableMiddleware = (adaptable) => function (middlewareAPI) {
|
|
|
1198
1250
|
let returnAction = next(action);
|
|
1199
1251
|
const selectedReport = actionTyped.SelectedReport;
|
|
1200
1252
|
if (!selectedReport ||
|
|
1201
|
-
(selectedReport ===
|
|
1202
|
-
middlewareAPI.getState().Export.CurrentDestination !==
|
|
1253
|
+
(selectedReport === VISUAL_DATA_REPORT &&
|
|
1254
|
+
middlewareAPI.getState().Export.CurrentDestination !== ExportDestination.Excel)) {
|
|
1203
1255
|
middlewareAPI.dispatch(ExportRedux.DestinationSelect(null));
|
|
1204
1256
|
}
|
|
1205
1257
|
return returnAction;
|
|
@@ -1217,12 +1269,12 @@ const adaptableMiddleware = (adaptable) => function (middlewareAPI) {
|
|
|
1217
1269
|
let report = actionTyped.report;
|
|
1218
1270
|
let currentReport = middlewareAPI.getState().Export.CurrentReport;
|
|
1219
1271
|
if (report && report.Name == currentReport) {
|
|
1220
|
-
middlewareAPI.dispatch(ExportRedux.ReportSelect(
|
|
1272
|
+
middlewareAPI.dispatch(ExportRedux.ReportSelect(EMPTY_STRING));
|
|
1221
1273
|
}
|
|
1222
1274
|
return next(action);
|
|
1223
1275
|
}
|
|
1224
|
-
case
|
|
1225
|
-
case
|
|
1276
|
+
case SYSTEM_VISUAL_EXPORT_BEGIN:
|
|
1277
|
+
case SYSTEM_VISUAL_EXPORT_END: {
|
|
1226
1278
|
let returnAction = next(action);
|
|
1227
1279
|
adaptable.ReportService.resetExcelStyleMemoization();
|
|
1228
1280
|
return returnAction;
|
|
@@ -1251,7 +1303,7 @@ const adaptableMiddleware = (adaptable) => function (middlewareAPI) {
|
|
|
1251
1303
|
alertType: 'generic',
|
|
1252
1304
|
header: 'Team Sharing',
|
|
1253
1305
|
message: "Couldn't get shared items: " + error.message,
|
|
1254
|
-
alertDefinition:
|
|
1306
|
+
alertDefinition: ObjectFactory.CreateInternalAlertDefinitionForMessages('Error'),
|
|
1255
1307
|
}));
|
|
1256
1308
|
});
|
|
1257
1309
|
return returnAction;
|
|
@@ -1271,7 +1323,7 @@ const adaptableMiddleware = (adaptable) => function (middlewareAPI) {
|
|
|
1271
1323
|
let newCustomShare = true;
|
|
1272
1324
|
const updatedSharedEntities = sharedEntities.map((entity) => {
|
|
1273
1325
|
// if it has the same UUID, override it
|
|
1274
|
-
if (
|
|
1326
|
+
if (isCustomSharedEntity(entity) && entity.Uuid === customSharedEntity.Uuid) {
|
|
1275
1327
|
newCustomShare = false;
|
|
1276
1328
|
return Object.assign(Object.assign({}, customSharedEntity), { ChangedAt: Date.now(), ChangedBy: adaptable.api.optionsApi.getUserName() });
|
|
1277
1329
|
}
|
|
@@ -1316,7 +1368,7 @@ const adaptableMiddleware = (adaptable) => function (middlewareAPI) {
|
|
|
1316
1368
|
alertType: 'generic',
|
|
1317
1369
|
header: 'Team Sharing',
|
|
1318
1370
|
message: `Couldn't share ${adaptable.api.internalApi.getModuleFriendlyName(Module)}, there is already an existing active share for it: ${existingActiveSharedEntity.Description}`,
|
|
1319
|
-
alertDefinition:
|
|
1371
|
+
alertDefinition: ObjectFactory.CreateInternalAlertDefinitionForMessages('Error'),
|
|
1320
1372
|
}));
|
|
1321
1373
|
shareSuccessful = false;
|
|
1322
1374
|
return;
|
|
@@ -1339,7 +1391,7 @@ const adaptableMiddleware = (adaptable) => function (middlewareAPI) {
|
|
|
1339
1391
|
alertType: 'generic',
|
|
1340
1392
|
header: 'Team Sharing',
|
|
1341
1393
|
message: `${adaptable.api.internalApi.getModuleFriendlyName(Module)} Shared Successfully`,
|
|
1342
|
-
alertDefinition:
|
|
1394
|
+
alertDefinition: ObjectFactory.CreateInternalAlertDefinitionForMessages('Success'),
|
|
1343
1395
|
}));
|
|
1344
1396
|
}
|
|
1345
1397
|
})
|
|
@@ -1349,7 +1401,7 @@ const adaptableMiddleware = (adaptable) => function (middlewareAPI) {
|
|
|
1349
1401
|
alertType: 'generic',
|
|
1350
1402
|
header: 'Team Sharing',
|
|
1351
1403
|
message: "Couldn't share item: " + error.message,
|
|
1352
|
-
alertDefinition:
|
|
1404
|
+
alertDefinition: ObjectFactory.CreateInternalAlertDefinitionForMessages('Error'),
|
|
1353
1405
|
}));
|
|
1354
1406
|
});
|
|
1355
1407
|
return returnAction;
|
|
@@ -1365,7 +1417,7 @@ const adaptableMiddleware = (adaptable) => function (middlewareAPI) {
|
|
|
1365
1417
|
.loadSharedEntities()
|
|
1366
1418
|
.then((sharedEntities) => {
|
|
1367
1419
|
// ensure that no other SharedDependencies reference the to-be-deleted entity
|
|
1368
|
-
const adaptableSharedEntities = sharedEntities.filter(
|
|
1420
|
+
const adaptableSharedEntities = sharedEntities.filter(isAdaptableSharedEntity);
|
|
1369
1421
|
const sharedEntityDependants = adaptable.api.internalApi
|
|
1370
1422
|
.getTeamSharingService()
|
|
1371
1423
|
.getSharedEntityDependants(removedEntityId, adaptableSharedEntities);
|
|
@@ -1376,7 +1428,7 @@ const adaptableMiddleware = (adaptable) => function (middlewareAPI) {
|
|
|
1376
1428
|
message: sharedEntityDependants
|
|
1377
1429
|
.map((sharedEntity) => `${adaptable.api.internalApi.getModuleFriendlyName(sharedEntity.Module)} ${sharedEntity.Description}`)
|
|
1378
1430
|
.join('\n'),
|
|
1379
|
-
alertDefinition:
|
|
1431
|
+
alertDefinition: ObjectFactory.CreateInternalAlertDefinitionForMessages('Warning'),
|
|
1380
1432
|
}));
|
|
1381
1433
|
return;
|
|
1382
1434
|
}
|
|
@@ -1392,7 +1444,7 @@ const adaptableMiddleware = (adaptable) => function (middlewareAPI) {
|
|
|
1392
1444
|
alertType: 'generic',
|
|
1393
1445
|
header: 'Team Sharing',
|
|
1394
1446
|
message: "Couldn't remove item: " + error.message,
|
|
1395
|
-
alertDefinition:
|
|
1447
|
+
alertDefinition: ObjectFactory.CreateInternalAlertDefinitionForMessages('Error'),
|
|
1396
1448
|
}));
|
|
1397
1449
|
});
|
|
1398
1450
|
return returnAction;
|
|
@@ -1460,7 +1512,7 @@ const adaptableMiddleware = (adaptable) => function (middlewareAPI) {
|
|
|
1460
1512
|
alertType: 'generic',
|
|
1461
1513
|
header: 'Team Sharing',
|
|
1462
1514
|
message: `Item Successfully Imported`,
|
|
1463
|
-
alertDefinition:
|
|
1515
|
+
alertDefinition: ObjectFactory.CreateInternalAlertDefinitionForMessages('Success'),
|
|
1464
1516
|
}));
|
|
1465
1517
|
return returnAction;
|
|
1466
1518
|
}
|
|
@@ -1477,7 +1529,7 @@ const adaptableMiddleware = (adaptable) => function (middlewareAPI) {
|
|
|
1477
1529
|
adaptable.api.teamSharingApi
|
|
1478
1530
|
.loadSharedEntities()
|
|
1479
1531
|
.then((sharedEntities) => {
|
|
1480
|
-
const adaptableSharedEntities = sharedEntities.filter(
|
|
1532
|
+
const adaptableSharedEntities = sharedEntities.filter(isAdaptableSharedEntity);
|
|
1481
1533
|
// check if remote server has a newer revision
|
|
1482
1534
|
const [localRevision, remoteRevision] = adaptable.api.internalApi
|
|
1483
1535
|
.getTeamSharingService()
|
|
@@ -1499,7 +1551,7 @@ const adaptableMiddleware = (adaptable) => function (middlewareAPI) {
|
|
|
1499
1551
|
alertType: 'generic',
|
|
1500
1552
|
header: 'Team Sharing',
|
|
1501
1553
|
message: "Couldn't update active item: " + error.message,
|
|
1502
|
-
alertDefinition:
|
|
1554
|
+
alertDefinition: ObjectFactory.CreateInternalAlertDefinitionForMessages('Error'),
|
|
1503
1555
|
}));
|
|
1504
1556
|
});
|
|
1505
1557
|
return returnAction;
|
|
@@ -1519,7 +1571,7 @@ const adaptableMiddleware = (adaptable) => function (middlewareAPI) {
|
|
|
1519
1571
|
alertType: 'generic',
|
|
1520
1572
|
header: 'Team Sharing',
|
|
1521
1573
|
message: "Couldn't check for updates: " + error.message,
|
|
1522
|
-
alertDefinition:
|
|
1574
|
+
alertDefinition: ObjectFactory.CreateInternalAlertDefinitionForMessages('Error'),
|
|
1523
1575
|
}));
|
|
1524
1576
|
});
|
|
1525
1577
|
return returnAction;
|
|
@@ -1570,7 +1622,7 @@ const adaptableMiddleware = (adaptable) => function (middlewareAPI) {
|
|
|
1570
1622
|
* POPUP (INTERNAL) ACTIONS
|
|
1571
1623
|
*******************/
|
|
1572
1624
|
case PopupRedux.POPUP_SHOW_ALERT: {
|
|
1573
|
-
|
|
1625
|
+
showToast({
|
|
1574
1626
|
api: adaptable.api,
|
|
1575
1627
|
adaptableAlert: action.alert,
|
|
1576
1628
|
});
|
|
@@ -1602,7 +1654,7 @@ const adaptableMiddleware = (adaptable) => function (middlewareAPI) {
|
|
|
1602
1654
|
/*******************
|
|
1603
1655
|
* MANAGING STATE ACTIONS
|
|
1604
1656
|
*******************/
|
|
1605
|
-
case
|
|
1657
|
+
case INIT_STATE: {
|
|
1606
1658
|
let returnAction = next(action);
|
|
1607
1659
|
if (adaptable.isDestroyed) {
|
|
1608
1660
|
return returnAction;
|
|
@@ -1630,4 +1682,4 @@ const adaptableMiddleware = (adaptable) => function (middlewareAPI) {
|
|
|
1630
1682
|
}
|
|
1631
1683
|
};
|
|
1632
1684
|
};
|
|
1633
|
-
};
|
|
1685
|
+
});
|