@adaptabletools/adaptable 16.2.4 → 17.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 +56 -0
- package/base.css.map +1 -1
- package/index.css +82 -0
- package/index.css.map +1 -1
- package/package.json +104 -1
- package/publishTimestamp.d.ts +1 -1
- package/publishTimestamp.js +1 -3
- package/src/AdaptableInterfaces/AdaptableNoCodeWizard.js +1 -2
- package/src/AdaptableInterfaces/IAdaptable.d.ts +1 -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 +2 -2
- package/src/AdaptableOptions/AdaptableOptions.js +1 -2
- package/src/AdaptableOptions/AdaptablePlugin.js +1 -5
- 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.d.ts +224 -0
- package/src/AdaptableOptions/ColumnFilterOptions.js +1 -0
- package/src/AdaptableOptions/ColumnOptions.js +1 -2
- 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.d.ts +18 -0
- package/src/AdaptableOptions/ExportOptions.js +1 -2
- package/src/AdaptableOptions/ExpressionOptions.js +1 -2
- package/src/AdaptableOptions/Fdc3Options.js +2 -5
- package/src/AdaptableOptions/FilterOptions.d.ts +5 -13
- package/src/AdaptableOptions/FilterOptions.js +1 -2
- package/src/AdaptableOptions/FinancePluginOptions.js +1 -2
- package/src/AdaptableOptions/FinsemblePluginOptions.js +1 -2
- package/src/AdaptableOptions/FlashingCellOptions.js +1 -2
- package/src/AdaptableOptions/FormatColumnOptions.js +1 -2
- package/src/AdaptableOptions/Glue42PluginOptions.js +1 -2
- package/src/AdaptableOptions/Glue42WebPluginOptions.js +1 -2
- package/src/AdaptableOptions/GroupingOptions.js +1 -2
- package/src/AdaptableOptions/IPushPullPluginOptions.js +1 -2
- package/src/AdaptableOptions/LayoutOptions.js +1 -2
- package/src/AdaptableOptions/MasterDetailPluginOptions.js +1 -2
- package/src/AdaptableOptions/MenuOptions.d.ts +2 -2
- package/src/AdaptableOptions/MenuOptions.js +41 -27
- 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.d.ts +20 -0
- package/src/AdaptableOptions/QuickSearchOptions.js +1 -2
- package/src/AdaptableOptions/SettingsPanelOptions.js +1 -2
- package/src/AdaptableOptions/StateOptions.d.ts +1 -1
- 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 +11 -6
- 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/{FilterApi.d.ts → ColumnFilterApi.d.ts} +1 -1
- package/src/Api/ColumnFilterApi.js +1 -0
- package/src/Api/ConfigApi.d.ts +3 -4
- package/src/Api/ConfigApi.js +1 -2
- package/src/Api/CustomSortApi.js +1 -2
- package/src/Api/DashboardApi.d.ts +22 -0
- 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 +18 -9
- 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.d.ts +5 -0
- 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/CellChanged.js +1 -2
- package/src/Api/Events/ChartChanged.js +1 -2
- package/src/Api/Events/ChexboxColumnClicked.js +1 -2
- package/src/Api/Events/{FilterApplied.d.ts → ColumnFilterApplied.d.ts} +2 -2
- package/src/Api/Events/ColumnFilterApplied.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.d.ts +14 -0
- package/src/Api/Events/GridFilterApplied.js +1 -0
- package/src/Api/Events/GridSorted.js +1 -2
- package/src/Api/Events/LayoutChanged.js +1 -2
- package/src/Api/Events/LiveDataChanged.js +1 -2
- package/src/Api/Events/QueryRun.d.ts +1 -0
- package/src/Api/Events/QueryRun.js +1 -2
- package/src/Api/Events/ScheduleTriggered.js +1 -2
- package/src/Api/Events/SelectionChanged.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/FinsembleApi.js +1 -2
- package/src/Api/FlashingCellApi.js +1 -2
- package/src/Api/FormatColumnApi.d.ts +4 -0
- package/src/Api/FormatColumnApi.js +1 -2
- package/src/Api/FreeTextColumnApi.js +1 -2
- package/src/Api/Glue42Api.js +1 -2
- package/src/Api/Glue42WebApi.js +1 -2
- package/src/Api/GridApi.js +1 -2
- package/src/Api/GridFilterApi.d.ts +21 -0
- package/src/Api/GridFilterApi.js +1 -0
- 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 -4
- package/src/Api/Implementation/AdaptableApiImpl.js +99 -101
- package/src/Api/Implementation/AlertApiImpl.js +18 -23
- package/src/Api/Implementation/ApiBase.d.ts +5 -16
- package/src/Api/Implementation/ApiBase.js +15 -17
- 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 +10 -15
- package/src/Api/Implementation/{FilterApiImpl.d.ts → ColumnFilterApiImpl.d.ts} +4 -4
- package/src/Api/Implementation/{FilterApiImpl.js → ColumnFilterApiImpl.js} +9 -14
- package/src/Api/Implementation/ConfigApiImpl.d.ts +2 -3
- package/src/Api/Implementation/ConfigApiImpl.js +42 -46
- package/src/Api/Implementation/CustomSortApiImpl.js +6 -11
- package/src/Api/Implementation/DashboardApiImpl.d.ts +5 -0
- package/src/Api/Implementation/DashboardApiImpl.js +27 -17
- 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.d.ts +1 -0
- package/src/Api/Implementation/FormatColumnApiImpl.js +9 -11
- package/src/Api/Implementation/FreeTextColumnApiImpl.js +9 -14
- package/src/Api/Implementation/GridApiImpl.js +20 -25
- package/src/Api/Implementation/GridFilterApiImpl.d.ts +11 -0
- package/src/Api/Implementation/GridFilterApiImpl.js +30 -0
- package/src/Api/Implementation/LayoutApiImpl.js +25 -30
- package/src/Api/Implementation/NamedQueryApiImpl.d.ts +21 -0
- package/src/Api/Implementation/NamedQueryApiImpl.js +52 -0
- package/src/Api/Implementation/NotesApiImpl.js +4 -9
- package/src/Api/Implementation/OptionsApiImpl.d.ts +3 -2
- package/src/Api/Implementation/OptionsApiImpl.js +4 -8
- package/src/Api/Implementation/PluginsApiImpl.js +3 -8
- 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.js +6 -11
- 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.js +10 -15
- package/src/Api/Implementation/ToolPanelApiImpl.js +6 -11
- package/src/Api/Implementation/UserInterfaceApiImpl.js +15 -20
- package/src/Api/Internal/ActionRowInternalApi.d.ts +1 -0
- package/src/Api/Internal/ActionRowInternalApi.js +18 -9
- package/src/Api/Internal/AdaptableInternalApi.js +21 -26
- package/src/Api/Internal/AlertInternalApi.d.ts +1 -0
- package/src/Api/Internal/AlertInternalApi.js +35 -25
- package/src/Api/Internal/CalculatedColumnInternalApi.js +2 -6
- package/src/Api/Internal/ChartingInternalApi.js +8 -12
- package/src/Api/Internal/{FilterInternalApi.d.ts → ColumnFilterInternalApi.d.ts} +3 -3
- package/src/Api/Internal/{FilterInternalApi.js → ColumnFilterInternalApi.js} +25 -30
- package/src/Api/Internal/ColumnInternalApi.js +6 -10
- package/src/Api/Internal/CustomSortInternalApi.js +2 -6
- package/src/Api/Internal/DashboardInternalApi.d.ts +5 -1
- package/src/Api/Internal/DashboardInternalApi.js +16 -9
- package/src/Api/Internal/DataImportInternalApi.js +5 -10
- package/src/Api/Internal/DataSetInternalApi.js +2 -6
- package/src/Api/Internal/ExportInternalApi.js +2 -6
- package/src/Api/Internal/ExpressionnternalApi.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 +11 -16
- package/src/Api/Internal/FreeTextColumnInternalApi.js +2 -6
- package/src/Api/Internal/GridFilterInternalApi.d.ts +4 -0
- package/src/Api/Internal/GridFilterInternalApi.js +19 -0
- package/src/Api/Internal/GridInternalApi.js +15 -20
- package/src/Api/Internal/LayoutInternalApi.d.ts +1 -0
- package/src/Api/Internal/LayoutInternalApi.js +14 -18
- package/src/Api/Internal/{QueryInternalApi.d.ts → NamedQueryInternalApi.d.ts} +2 -5
- package/src/Api/Internal/{QueryInternalApi.js → NamedQueryInternalApi.js} +5 -24
- package/src/Api/Internal/PredicateInternalApi.js +2 -6
- package/src/Api/Internal/ScheduleInternalApi.js +2 -6
- package/src/Api/Internal/StyledColumnInternalApi.js +7 -12
- 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/LayoutApi.js +1 -2
- package/src/Api/{QueryApi.d.ts → NamedQueryApi.d.ts} +20 -19
- package/src/Api/NamedQueryApi.js +1 -0
- package/src/Api/NotesAPi.js +1 -2
- package/src/Api/OpenFinApi.js +1 -2
- package/src/Api/OptionsApi.d.ts +3 -3
- package/src/Api/OptionsApi.js +1 -2
- 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.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.js +1 -2
- package/src/Api/ToolPanelApi.js +1 -2
- package/src/Api/UserInterfaceApi.js +1 -2
- package/src/PredefinedConfig/AdaptableState.d.ts +6 -1
- 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/ChartingState.js +2 -7
- package/src/PredefinedConfig/Common/AdaptableAlert.js +2 -7
- package/src/PredefinedConfig/Common/AdaptableButton.js +1 -2
- package/src/PredefinedConfig/Common/AdaptableColumn.d.ts +4 -0
- 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 +55 -59
- package/src/PredefinedConfig/Common/AdaptableQuery.d.ts +15 -0
- 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.d.ts +0 -1
- 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.js +26 -29
- 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.d.ts +10 -0
- package/src/PredefinedConfig/Common/GridFilter.js +1 -0
- package/src/PredefinedConfig/Common/Menu.js +1 -2
- package/src/PredefinedConfig/Common/RowHighlightInfo.d.ts +1 -1
- package/src/PredefinedConfig/Common/RowHighlightInfo.js +1 -2
- package/src/PredefinedConfig/Common/RowsHighlightInfo.js +1 -2
- 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 +7 -7
- package/src/PredefinedConfig/Common/Types.js +14 -17
- package/src/PredefinedConfig/ConditionalStyleState.js +1 -2
- 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/Glue42State.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.d.ts +5 -1
- package/src/PredefinedConfig/LayoutState.js +1 -2
- package/src/PredefinedConfig/NamedQueryState.d.ts +25 -0
- package/src/PredefinedConfig/NamedQueryState.js +1 -0
- 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 +2 -2
- package/src/PredefinedConfig/PredefinedConfig.js +1 -2
- package/src/PredefinedConfig/QueryState.d.ts +4 -15
- package/src/PredefinedConfig/QueryState.js +1 -2
- package/src/PredefinedConfig/QuickSearchState.js +1 -2
- package/src/PredefinedConfig/ScheduleState.js +1 -2
- package/src/PredefinedConfig/Selection/GridCell.d.ts +8 -0
- 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 +1 -1
- package/src/PredefinedConfig/SystemState.js +1 -2
- package/src/PredefinedConfig/TeamSharingState.js +2 -7
- 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/CustomSortRedux.js +41 -54
- package/src/Redux/ActionsReducers/DashboardRedux.js +50 -66
- package/src/Redux/ActionsReducers/ExportRedux.js +33 -45
- package/src/Redux/ActionsReducers/FlashingCellRedux.js +43 -57
- package/src/Redux/ActionsReducers/FormatColumnRedux.d.ts +7 -0
- package/src/Redux/ActionsReducers/FormatColumnRedux.js +60 -65
- package/src/Redux/ActionsReducers/FreeTextColumnRedux.js +24 -34
- package/src/Redux/ActionsReducers/GridRedux.js +121 -155
- package/src/Redux/ActionsReducers/LayoutRedux.d.ts +8 -0
- package/src/Redux/ActionsReducers/LayoutRedux.js +90 -95
- package/src/Redux/ActionsReducers/NamedQueryRedux.d.ts +43 -0
- package/src/Redux/ActionsReducers/NamedQueryRedux.js +74 -0
- package/src/Redux/ActionsReducers/NotesRedux.js +21 -31
- package/src/Redux/ActionsReducers/PluginsRedux.js +48 -53
- package/src/Redux/ActionsReducers/PlusMinusRedux.js +45 -59
- package/src/Redux/ActionsReducers/PopupRedux.js +64 -84
- package/src/Redux/ActionsReducers/QueryRedux.d.ts +5 -39
- package/src/Redux/ActionsReducers/QueryRedux.js +10 -72
- package/src/Redux/ActionsReducers/QuickSearchRedux.js +16 -23
- package/src/Redux/ActionsReducers/ScheduleRedux.js +179 -222
- 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 +1 -1
- package/src/Redux/ActionsReducers/SystemRedux.js +254 -324
- 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.js +119 -123
- package/src/Redux/Store/Interface/IAdaptableStore.js +1 -2
- package/src/Redux/Store/Interface/IStorageEngine.js +1 -2
- package/src/Strategy/AdaptableModuleBase.js +13 -17
- package/src/Strategy/AlertModule.js +36 -41
- package/src/Strategy/BulkUpdateModule.js +17 -22
- package/src/Strategy/CalculatedColumnModule.js +17 -22
- package/src/Strategy/CellSummaryModule.js +17 -22
- package/src/Strategy/ChartingModule.js +15 -20
- package/src/Strategy/{FilterModule.d.ts → ColumnFilterModule.d.ts} +2 -1
- package/src/Strategy/ColumnFilterModule.js +223 -0
- package/src/Strategy/ColumnInfoModule.js +3 -8
- 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 +59 -64
- package/src/Strategy/Fdc3Module.js +3 -8
- package/src/Strategy/FlashingCellModule.js +29 -34
- package/src/Strategy/FormatColumnModule.js +28 -33
- package/src/Strategy/FreeTextColumnModule.js +8 -13
- package/src/Strategy/GridFilterModule.d.ts +8 -0
- package/src/Strategy/GridFilterModule.js +58 -0
- 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.d.ts +1 -1
- 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 -33
- package/src/Strategy/{QueryModule.d.ts → NamedQueryModule.d.ts} +7 -8
- package/src/Strategy/NamedQueryModule.js +88 -0
- package/src/Strategy/NotesModule.js +3 -8
- package/src/Strategy/PlusMinusModule.js +24 -27
- package/src/Strategy/QuickSearchModule.js +5 -10
- package/src/Strategy/ScheduleModule.js +40 -45
- 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 +1 -5
- 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 +4 -9
- package/src/Strategy/Utilities/Layout/getLayoutSortViewItems.js +1 -5
- package/src/Strategy/Utilities/Shortcut/getShortcutSettingsViewItems.js +1 -5
- package/src/Strategy/Utilities/getExpressionViewItems.js +1 -5
- 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.js +9 -12
- package/src/Utilities/Constants/DocumentationLinkConstants.js +14 -17
- package/src/Utilities/Constants/GeneralConstants.js +67 -71
- package/src/Utilities/Constants/ModuleConstants.d.ts +11 -6
- package/src/Utilities/Constants/ModuleConstants.js +118 -116
- package/src/Utilities/Defaults/DefaultAdaptableOptions.js +29 -29
- package/src/Utilities/Defaults/DefaultSettingsPanel.js +5 -7
- package/src/Utilities/Emitter.js +1 -3
- package/src/Utilities/ExpressionFunctions/aggregatedBooleanExpressionFunctions.js +20 -24
- package/src/Utilities/ExpressionFunctions/aggregatedScalarExpressionFunctions.js +51 -54
- package/src/Utilities/ExpressionFunctions/booleanExpressionFunctions.d.ts +1 -0
- package/src/Utilities/ExpressionFunctions/booleanExpressionFunctions.js +68 -30
- package/src/Utilities/ExpressionFunctions/dateUtils.js +1 -5
- 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 +39 -73
- package/src/Utilities/Extensions/EnumExtensions.js +14 -21
- package/src/Utilities/Extensions/NumberExtensions.js +4 -9
- package/src/Utilities/Extensions/ObjectExtensions.d.ts +1 -0
- package/src/Utilities/Extensions/ObjectExtensions.js +5 -7
- package/src/Utilities/Extensions/StringExtensions.js +23 -46
- package/src/Utilities/Extensions/TypeExtensions.js +1 -5
- package/src/Utilities/Helpers/AdaptableHelper.js +55 -66
- 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 +10 -16
- package/src/Utilities/Helpers/StyleHelper.js +11 -20
- package/src/Utilities/Interface/AdaptableToolPanelContext.js +1 -2
- package/src/Utilities/Interface/{ColumnFilterContext.d.ts → ColumnFilterProps.d.ts} +1 -1
- package/src/Utilities/Interface/ColumnFilterProps.js +1 -0
- 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 +1 -2
- package/src/Utilities/ObjectFactory.js +124 -167
- 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/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 +2 -2
- 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.js +1 -2
- package/src/Utilities/Services/Interface/IValidationService.js +1 -2
- package/src/Utilities/Services/LicenseService/index.js +1 -1
- package/src/Utilities/Services/LicenseService/shouldLogThankYouMessage.js +1 -5
- package/src/Utilities/Services/MetamodelService.js +12 -17
- package/src/Utilities/Services/ModuleService.d.ts +1 -0
- package/src/Utilities/Services/ModuleService.js +17 -16
- package/src/Utilities/Services/QueryLanguageService.js +24 -29
- package/src/Utilities/Services/ReportService.d.ts +2 -2
- package/src/Utilities/Services/ReportService.js +60 -55
- package/src/Utilities/Services/RowEditService.js +1 -5
- package/src/Utilities/Services/TeamSharingService.js +6 -11
- package/src/Utilities/Services/ThemeService.js +1 -5
- 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 +1 -1
- package/src/Utilities/license/hashing.js +1 -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 +5 -9
- package/src/View/AdaptablePopover/index.js +17 -22
- package/src/View/AdaptableView.js +30 -35
- package/src/View/AdaptableViewFactory.js +67 -69
- 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 +42 -44
- 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 +26 -29
- package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/FinanceForm/FinanceForm.js +1 -2
- 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 +17 -21
- package/src/View/Alert/AlertsPanel.js +24 -29
- 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 +8 -13
- 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 +38 -43
- package/src/View/Alert/Wizard/AlertMessageWizardSection.js +31 -37
- package/src/View/Alert/Wizard/AlertNotificationWizardSection.js +39 -45
- package/src/View/Alert/Wizard/AlertRulesWizardSection.d.ts +1 -1
- package/src/View/Alert/Wizard/AlertRulesWizardSection.js +23 -30
- 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 +19 -25
- 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 +4 -8
- package/src/View/BulkUpdate/BulkUpdatePopup.js +37 -41
- package/src/View/BulkUpdate/BulkUpdateViewPanel.js +27 -31
- package/src/View/CalculatedColumn/CalculatedColumnSummary.d.ts +1 -1
- 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 +6 -11
- 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 +37 -42
- package/src/View/ColumnInfo/ColumnInfoPopup.js +8 -13
- package/src/View/Components/AdaptableButton/index.js +8 -13
- package/src/View/Components/AdaptableDateInput/index.d.ts +1 -1
- 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 +40 -47
- 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.d.ts +1 -1
- 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/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/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 +10 -14
- 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 +35 -40
- package/src/View/Components/ExpressionWizard.js +17 -22
- package/src/View/Components/ExternalRenderer.js +6 -10
- package/src/View/Components/FilterForm/FilterForm.d.ts +2 -2
- package/src/View/Components/FilterForm/FilterForm.js +62 -67
- package/src/View/Components/FilterForm/ListBoxFilterForm.js +30 -35
- package/src/View/Components/FilterForm/ListBoxMenu.js +8 -13
- package/src/View/Components/FilterForm/QuickFilterForm.d.ts +2 -2
- package/src/View/Components/FilterForm/QuickFilterForm.js +52 -57
- package/src/View/Components/FilterForm/QuickFilterValues.d.ts +2 -2
- package/src/View/Components/FilterForm/QuickFilterValues.js +27 -32
- 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.d.ts +1 -1
- package/src/View/Components/Panels/FilterFormPanel.js +23 -28
- 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 +16 -21
- 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 +24 -38
- 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/Utilities.js +10 -17
- package/src/View/Components/Popups/WindowPopups/WindowPopups.js +23 -27
- package/src/View/Components/Popups/WindowPopups/windowFactory.d.ts +1 -1
- 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 +50 -55
- package/src/View/Components/ScopeComponent.js +23 -28
- package/src/View/Components/Selectors/ColumnSelector.js +13 -18
- package/src/View/Components/Selectors/ColumnValueSelector.js +23 -28
- 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.d.ts +1 -1
- package/src/View/Components/ToolPanel/AdaptableToolPanel.js +39 -44
- package/src/View/Components/ToolPanel/CustomToolPanelContent.js +13 -18
- package/src/View/Components/ToolPanel/ToolPanelPopup.d.ts +1 -1
- package/src/View/Components/ToolPanel/ToolPanelPopup.js +24 -28
- package/src/View/Components/ToolPanel/ToolPanelWrapper.js +16 -21
- 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 +34 -41
- package/src/View/Dashboard/DashboardToolbarFactory.js +17 -18
- package/src/View/Dashboard/DashboardViewPanel.js +10 -14
- package/src/View/Dashboard/ModuleToolbarWrapper.js +8 -13
- package/src/View/Dashboard/PinnedDashboard.js +10 -15
- package/src/View/Dashboard/PinnedToolbarsSelector.js +14 -24
- package/src/View/DataChangeHistory/DataChangeHistoryGrid.js +16 -21
- 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.d.ts +1 -1
- package/src/View/DataSet/DataSetViewPanel.js +11 -15
- package/src/View/Export/ExportSelector.js +13 -18
- package/src/View/Export/ExportTablePopup.js +7 -12
- package/src/View/Export/ExportViewPanel.d.ts +1 -1
- package/src/View/Export/ExportViewPanel.js +44 -48
- 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 +31 -38
- 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 +9 -14
- package/src/View/Filter/FilterStatusBarSubPanelPopover.js +4 -9
- package/src/View/Filter/FilterSummary.d.ts +1 -1
- package/src/View/Filter/FilterSummary.js +20 -25
- package/src/View/Filter/FilterViewPanel.d.ts +1 -1
- package/src/View/Filter/FilterViewPanel.js +28 -32
- 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 +4 -8
- package/src/View/FormatColumn/FormatColumnSummary.js +27 -32
- package/src/View/FormatColumn/MoveFormatColumn.js +10 -15
- package/src/View/FormatColumn/Wizard/FormatColumnFormatWizardSection.js +149 -157
- 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 +51 -58
- package/src/View/FreeTextColumn/Wizard/FreeTextColumnWizard.js +26 -31
- package/src/View/GridFilter/GridFilterExpressionEditor.d.ts +5 -0
- package/src/View/GridFilter/GridFilterExpressionEditor.js +56 -0
- package/src/View/GridFilter/GridFilterPopup.d.ts +2 -0
- package/src/View/GridFilter/GridFilterPopup.js +12 -0
- package/src/View/GridFilter/GridFilterStatusbar.d.ts +2 -0
- package/src/View/GridFilter/GridFilterStatusbar.js +17 -0
- package/src/View/{Query/QueryViewPanel.d.ts → GridFilter/GridFilterViewPanel.d.ts} +6 -7
- package/src/View/GridFilter/GridFilterViewPanel.js +165 -0
- package/src/View/{Query/ExpandedQueryPopup.d.ts → GridFilter/GridFilterWindowPopup.d.ts} +1 -1
- package/src/View/GridFilter/GridFilterWindowPopup.js +5 -0
- 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 -38
- 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 +6 -11
- package/src/View/Layout/LayoutViewPanel.d.ts +1 -1
- 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 +47 -52
- 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 +33 -40
- 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 +1 -1
- package/src/View/License/index.js +1 -5
- package/src/View/NamedQuery/EditCurrentQueryButton.d.ts +2 -0
- package/src/View/NamedQuery/EditCurrentQueryButton.js +11 -0
- package/src/View/{Query → NamedQuery}/Wizard/NamedQueryExpressionWizardSection.d.ts +1 -1
- package/src/View/NamedQuery/Wizard/NamedQueryExpressionWizardSection.js +30 -0
- package/src/View/{Query → NamedQuery}/Wizard/NamedQuerySettingsWizardSection.d.ts +1 -1
- package/src/View/NamedQuery/Wizard/NamedQuerySettingsWizardSection.js +38 -0
- package/src/View/NamedQuery/Wizard/NamedQueryWizard.js +65 -0
- package/src/View/Notes/NotesListing.js +14 -19
- package/src/View/Notes/NotesPopup.js +19 -24
- 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/ScheduleSettingsGlue42.js +13 -18
- 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 +23 -28
- package/src/View/Schedule/Wizard/ScheduleSettingsWizard/ScheduleSettingsReport.js +15 -20
- package/src/View/Schedule/Wizard/ScheduleSettingsWizard/ScheduleSettingsSummary.js +14 -20
- package/src/View/Schedule/Wizard/ScheduleSettingsWizard/ScheduleSettingsWizard.js +20 -25
- package/src/View/Schedule/Wizard/ScheduleSettingsWizard/index.js +3 -9
- package/src/View/Schedule/Wizard/ScheduleSettingsWizard/isSettingsValid.js +17 -22
- package/src/View/Schedule/Wizard/ScheduleWizard.js +47 -52
- 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 +33 -38
- 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 +51 -57
- package/src/View/StyledColumn/Wizard/StyledColumnSparklineSettingsSection.js +135 -140
- package/src/View/StyledColumn/Wizard/StyledColumnWizard.js +44 -49
- 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 +11 -16
- package/src/View/StyledColumn/Wizard/StyledColumnWizardStyleSection/StyledColumnWizardStyleSection.js +55 -62
- 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.d.ts +1 -1
- 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 +22 -26
- package/src/View/Theme/ThemeStatusPanelPopover.js +6 -11
- package/src/View/Theme/ThemeViewPanel.js +9 -13
- 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 +4 -0
- package/src/agGrid/Adaptable.js +346 -339
- package/src/agGrid/AdaptableLogger.js +1 -5
- package/src/agGrid/BadgeRenderer.js +6 -11
- package/src/agGrid/CheckboxRenderer.js +2 -7
- package/src/agGrid/ColumnSetupInfo.js +1 -2
- package/src/agGrid/FilterWrapper.js +17 -22
- package/src/agGrid/FloatingFilterWrapper.js +12 -17
- package/src/agGrid/PercentBarRenderer.js +5 -10
- package/src/agGrid/agGridHelper.d.ts +1 -0
- package/src/agGrid/agGridHelper.js +112 -108
- package/src/agGrid/agGridMenuHelper.js +81 -69
- 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 +58 -38
- 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.d.ts +1 -1
- package/src/components/ColorPicker/ColorPicker.js +15 -18
- 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.d.ts +1 -1
- 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/NamedQueryContext.d.ts +1 -1
- package/src/components/ExpressionEditor/NamedQueryContext.js +4 -8
- package/src/components/ExpressionEditor/QueryBuilder/QueryBuilder.d.ts +22 -0
- package/src/components/ExpressionEditor/QueryBuilder/QueryBuilder.js +82 -0
- package/src/components/ExpressionEditor/QueryBuilder/QueryBuilderInputs.d.ts +23 -0
- package/src/components/ExpressionEditor/QueryBuilder/QueryBuilderInputs.js +103 -0
- package/src/components/ExpressionEditor/QueryBuilder/QueryPredicateBuilder.d.ts +22 -0
- package/src/components/ExpressionEditor/QueryBuilder/QueryPredicateBuilder.js +172 -0
- package/src/components/ExpressionEditor/QueryBuilder/booleanExpressions.d.ts +2 -0
- package/src/components/ExpressionEditor/QueryBuilder/booleanExpressions.js +12 -0
- package/src/components/ExpressionEditor/QueryBuilder/index.d.ts +1 -0
- package/src/components/ExpressionEditor/QueryBuilder/index.js +1 -0
- package/src/components/ExpressionEditor/QueryBuilder/utils.d.ts +8 -0
- package/src/components/ExpressionEditor/QueryBuilder/utils.js +83 -0
- 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.d.ts +2 -2
- package/src/components/ExpressionEditor/index.js +140 -113
- 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.d.ts +1 -1
- package/src/components/Input/index.js +8 -11
- package/src/components/List/GridList/index.js +7 -10
- package/src/components/List/ListGroup/index.js +7 -9
- package/src/components/List/ListGroupItem/index.d.ts +1 -1
- 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 +41 -46
- 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/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.d.ts +1 -1
- package/src/components/Textarea/index.js +8 -11
- 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/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/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.d.ts +3 -0
- package/src/components/icons/grid-filter.js +4 -0
- 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 +319 -322
- 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/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.js +1 -3
- package/src/metamodel/adaptable-metamodel-model.js +1 -2
- package/src/metamodel/adaptable.metamodel.d.ts +150 -74
- package/src/metamodel/adaptable.metamodel.js +1 -1
- package/src/parser/src/ExpressionEvaluationError.js +1 -5
- package/src/parser/src/evaluator.js +3 -7
- package/src/parser/src/index.d.ts +1 -0
- package/src/parser/src/index.js +12 -16
- package/src/parser/src/parser.js +528 -1691
- package/src/parser/src/predicate/index.d.ts +2 -0
- package/src/parser/src/predicate/index.js +2 -0
- package/src/parser/src/predicate/mapExpressionToQlPredicate.d.ts +2 -0
- package/src/parser/src/predicate/mapExpressionToQlPredicate.js +88 -0
- package/src/parser/src/predicate/mapQlPredicateToExpression.d.ts +3 -0
- package/src/parser/src/predicate/mapQlPredicateToExpression.js +109 -0
- package/src/parser/src/predicate/types.d.ts +10 -0
- package/src/parser/src/predicate/types.js +1 -0
- package/src/parser/src/tokenizer.js +3 -8
- package/src/parser/src/types.d.ts +5 -0
- package/src/parser/src/types.js +4 -2
- package/src/parser/src/utils.js +3 -9
- package/src/renderReactRoot.js +4 -11
- package/src/theme.js +1 -3
- package/src/themes/index.js +4 -7
- package/src/types.d.ts +10 -8
- package/src/types.js +1 -5
- package/types.js +1 -4
- package/version.d.ts +1 -1
- package/version.js +1 -3
- package/bundle.cjs.js +0 -706
- package/src/Api/Events/FilterApplied.js +0 -2
- package/src/Api/FilterApi.js +0 -2
- package/src/Api/Implementation/QueryApiImpl.d.ts +0 -21
- package/src/Api/Implementation/QueryApiImpl.js +0 -64
- package/src/Api/QueryApi.js +0 -2
- package/src/Strategy/FilterModule.js +0 -151
- package/src/Strategy/QueryModule.js +0 -74
- package/src/Utilities/Interface/ColumnFilterContext.js +0 -2
- package/src/View/Query/EditCurrentQueryButton.d.ts +0 -2
- package/src/View/Query/EditCurrentQueryButton.js +0 -16
- package/src/View/Query/ExpandedQueryPopup.js +0 -56
- package/src/View/Query/QueryViewPanel.js +0 -170
- package/src/View/Query/Wizard/NamedQueryExpressionWizardSection.js +0 -37
- package/src/View/Query/Wizard/NamedQuerySettingsWizardSection.js +0 -44
- package/src/View/Query/Wizard/NamedQueryWizard.js +0 -70
- /package/src/View/{Query → NamedQuery}/Wizard/NamedQueryWizard.d.ts +0 -0
|
@@ -1,20 +1,16 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
const
|
|
14
|
-
const PredicateEditor_1 = require("../../../Components/PredicateEditor/PredicateEditor");
|
|
15
|
-
const DropdownButton_1 = tslib_1.__importDefault(require("../../../../components/DropdownButton"));
|
|
16
|
-
const FormLayout_1 = tslib_1.__importStar(require("../../../../components/FormLayout"));
|
|
17
|
-
const isColumnFiltersValid = (layout) => {
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { Box } from 'rebass';
|
|
3
|
+
import * as ModuleConstants from '../../../../Utilities/Constants/ModuleConstants';
|
|
4
|
+
import { Tabs } from '../../../../components/Tabs';
|
|
5
|
+
import { useAdaptable } from '../../../AdaptableContext';
|
|
6
|
+
import { AdaptableObjectListItemView } from '../../../Components/AdaptableObjectList/AdaptableObjectList';
|
|
7
|
+
import { useOnePageAdaptableWizardContext } from '../../../Wizard/OnePageAdaptableWizard';
|
|
8
|
+
import { getLayoutFilterViewItems } from '../../../../Strategy/Utilities/Layout/getLayoutFilterViewItems';
|
|
9
|
+
import { Tag } from '../../../../components/Tag';
|
|
10
|
+
import { PredicateEditor } from '../../../Components/PredicateEditor/PredicateEditor';
|
|
11
|
+
import DropdownButton from '../../../../components/DropdownButton';
|
|
12
|
+
import FormLayout, { FormRow } from '../../../../components/FormLayout';
|
|
13
|
+
export const isColumnFiltersValid = (layout) => {
|
|
18
14
|
var _a, _b;
|
|
19
15
|
const invalidColumnFilters = (_b = ((_a = layout.ColumnFilters) !== null && _a !== void 0 ? _a : [])) === null || _b === void 0 ? void 0 : _b.filter((columnFilter) => { var _a; return !((_a = columnFilter === null || columnFilter === void 0 ? void 0 : columnFilter.Predicate) === null || _a === void 0 ? void 0 : _a.PredicateId); });
|
|
20
16
|
if (invalidColumnFilters.length > 0) {
|
|
@@ -22,19 +18,17 @@ const isColumnFiltersValid = (layout) => {
|
|
|
22
18
|
}
|
|
23
19
|
return true;
|
|
24
20
|
};
|
|
25
|
-
|
|
26
|
-
const
|
|
27
|
-
const
|
|
28
|
-
const
|
|
29
|
-
|
|
30
|
-
return (React.createElement(rebass_1.Box, null, fitlerViewItems.values.length ? (fitlerViewItems.values.map((value) => (React.createElement(Tag_1.Tag, { key: value, mb: 1, mr: 1 }, value)))) : (React.createElement(Tag_1.Tag, null, "No Filters"))));
|
|
21
|
+
export const FilterSectionSummary = () => {
|
|
22
|
+
const { data: layout } = useOnePageAdaptableWizardContext();
|
|
23
|
+
const adaptable = useAdaptable();
|
|
24
|
+
const fitlerViewItems = getLayoutFilterViewItems(layout, adaptable.api);
|
|
25
|
+
return (React.createElement(Box, null, fitlerViewItems.values.length ? (fitlerViewItems.values.map((value) => (React.createElement(Tag, { key: value, mb: 1, mr: 1 }, value)))) : (React.createElement(Tag, null, "No Filters"))));
|
|
31
26
|
};
|
|
32
|
-
|
|
33
|
-
const FilterSection = (props) => {
|
|
27
|
+
export const FilterSection = (props) => {
|
|
34
28
|
var _a;
|
|
35
|
-
const adaptable =
|
|
36
|
-
const filterModule = adaptable.ModuleService.getModuleById(ModuleConstants.
|
|
37
|
-
const { data: layout } =
|
|
29
|
+
const adaptable = useAdaptable();
|
|
30
|
+
const filterModule = adaptable.ModuleService.getModuleById(ModuleConstants.ColumnFilterModuleId);
|
|
31
|
+
const { data: layout } = useOnePageAdaptableWizardContext();
|
|
38
32
|
const layoutFilters = (_a = layout.ColumnFilters) !== null && _a !== void 0 ? _a : [];
|
|
39
33
|
const handleDelete = React.useCallback((columnFilter) => {
|
|
40
34
|
props.onChange(Object.assign(Object.assign({}, layout), { ColumnFilters: layoutFilters.filter((layoutFilter) => layoutFilter.ColumnId !== columnFilter.ColumnId) }));
|
|
@@ -63,22 +57,21 @@ const FilterSection = (props) => {
|
|
|
63
57
|
] }));
|
|
64
58
|
},
|
|
65
59
|
})), [layout, layoutFilters]);
|
|
66
|
-
return (React.createElement(
|
|
67
|
-
React.createElement(
|
|
68
|
-
React.createElement(
|
|
69
|
-
React.createElement(
|
|
70
|
-
React.createElement(
|
|
71
|
-
React.createElement(
|
|
72
|
-
(layoutFilters === null || layoutFilters === void 0 ? void 0 : layoutFilters.length) > 0 && (React.createElement(
|
|
73
|
-
const predicateDefs = adaptable.api.
|
|
60
|
+
return (React.createElement(Tabs, { style: { height: '100%' } },
|
|
61
|
+
React.createElement(Tabs.Tab, null, "Column Filters"),
|
|
62
|
+
React.createElement(Tabs.Content, null,
|
|
63
|
+
React.createElement(FormLayout, { mb: 2 },
|
|
64
|
+
React.createElement(FormRow, { label: "Add new filter" },
|
|
65
|
+
React.createElement(DropdownButton, { "data-name": "select-column", minWidth: 250, items: columnsOptions, mr: 2, columns: ['label'] }, "Select Column"))),
|
|
66
|
+
(layoutFilters === null || layoutFilters === void 0 ? void 0 : layoutFilters.length) > 0 && (React.createElement(Box, { p: 0, as: "ul" }, layoutFilters.map((columnFilter) => {
|
|
67
|
+
const predicateDefs = adaptable.api.columnFilterApi.getFilterPredicateDefsForColumnId(columnFilter.ColumnId);
|
|
74
68
|
const items = [
|
|
75
69
|
...filterModule.toView(columnFilter).items,
|
|
76
70
|
{
|
|
77
|
-
name: 'Filter',
|
|
78
|
-
view: (React.createElement(
|
|
71
|
+
name: 'Column Filter',
|
|
72
|
+
view: (React.createElement(PredicateEditor, { columnId: columnFilter.ColumnId, predicate: columnFilter.Predicate, predicateDefs: predicateDefs, onChange: (predicate) => handlePredicateEdit(predicate, columnFilter), onClear: () => handlePredicateEdit(null, columnFilter) })),
|
|
79
73
|
},
|
|
80
74
|
];
|
|
81
|
-
return (React.createElement(
|
|
75
|
+
return (React.createElement(AdaptableObjectListItemView, { module: filterModule, abObject: columnFilter, entityType: "Column Filter", showActions: true, showEditButton: false, items: items, onDelete: () => handleDelete(columnFilter), key: columnFilter.ColumnId }));
|
|
82
76
|
}))))));
|
|
83
77
|
};
|
|
84
|
-
exports.FilterSection = FilterSection;
|
|
@@ -1,40 +1,34 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
const
|
|
11
|
-
const ValueSelector_1 = require("../../../Components/ValueSelector");
|
|
12
|
-
const OnePageAdaptableWizard_1 = require("../../../Wizard/OnePageAdaptableWizard");
|
|
13
|
-
const Utilities_1 = require("./Utilities");
|
|
14
|
-
const PivotColumnsSectionSummary = () => {
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { Box } from 'rebass';
|
|
3
|
+
import { Tabs } from '../../../../components/Tabs';
|
|
4
|
+
import { Tag } from '../../../../components/Tag';
|
|
5
|
+
import { sortWithOrderArray } from '../../../../Utilities/sortWithOrder';
|
|
6
|
+
import { useAdaptable } from '../../../AdaptableContext';
|
|
7
|
+
import { ValueSelector } from '../../../Components/ValueSelector';
|
|
8
|
+
import { useOnePageAdaptableWizardContext } from '../../../Wizard/OnePageAdaptableWizard';
|
|
9
|
+
import { columnFilter } from './Utilities';
|
|
10
|
+
export const PivotColumnsSectionSummary = () => {
|
|
15
11
|
var _a;
|
|
16
|
-
const adaptable =
|
|
17
|
-
const { data: layout } =
|
|
18
|
-
return (React.createElement(
|
|
12
|
+
const adaptable = useAdaptable();
|
|
13
|
+
const { data: layout } = useOnePageAdaptableWizardContext();
|
|
14
|
+
return (React.createElement(Box, { p: 2, style: { borderRadius: 'var(--ab__border-radius)' }, backgroundColor: "var(--ab-color-defaultbackground)" }, ((_a = layout.PivotColumns) === null || _a === void 0 ? void 0 : _a.length) ? (layout.PivotColumns.map((columnId) => (React.createElement(Tag, { mr: 1, key: columnId }, adaptable.api.columnApi.getFriendlyNameForColumnId(columnId))))) : (React.createElement(Tag, null, "No Column Pivoting"))));
|
|
19
15
|
};
|
|
20
|
-
|
|
21
|
-
const PivotColumnsSection = (props) => {
|
|
16
|
+
export const PivotColumnsSection = (props) => {
|
|
22
17
|
var _a;
|
|
23
|
-
const adaptable =
|
|
24
|
-
const { data: layout } =
|
|
18
|
+
const adaptable = useAdaptable();
|
|
19
|
+
const { data: layout } = useOnePageAdaptableWizardContext();
|
|
25
20
|
const allPivotColumns = adaptable.api.columnApi.getPivotableColumns();
|
|
26
21
|
const sortedPivotColumns = React.useMemo(() => {
|
|
27
22
|
var _a;
|
|
28
|
-
return
|
|
23
|
+
return sortWithOrderArray(allPivotColumns.map((col) => col.columnId), (_a = layout.PivotColumns) !== null && _a !== void 0 ? _a : [], { sortUnorderedItems: false }).map((colId) => adaptable.api.columnApi.getColumnWithColumnId(colId));
|
|
29
24
|
}, [layout, allPivotColumns]);
|
|
30
25
|
const handleColumnsChange = (columnIds) => {
|
|
31
26
|
props.onChange(Object.assign(Object.assign({}, layout), { PivotColumns: columnIds }));
|
|
32
27
|
};
|
|
33
|
-
return (React.createElement(
|
|
34
|
-
React.createElement(
|
|
35
|
-
React.createElement(
|
|
36
|
-
React.createElement(
|
|
28
|
+
return (React.createElement(Tabs, { style: { height: '100%' } },
|
|
29
|
+
React.createElement(Tabs.Tab, null, "Pivot Columns"),
|
|
30
|
+
React.createElement(Tabs.Content, null,
|
|
31
|
+
React.createElement(ValueSelector, { showFilterInput: true, showSelectedOnlyPosition: "top", filter: columnFilter, toIdentifier: (option) => `${option.columnId}`, toLabel: (option) => { var _a; return (_a = option.friendlyName) !== null && _a !== void 0 ? _a : option.columnId; }, options: sortedPivotColumns, value: (_a = layout.PivotColumns) !== null && _a !== void 0 ? _a : [], allowReorder: true, xSelectedLabel: () => {
|
|
37
32
|
return `Selected Columns:`;
|
|
38
33
|
}, onChange: handleColumnsChange }))));
|
|
39
34
|
};
|
|
40
|
-
exports.PivotColumnsSection = PivotColumnsSection;
|
|
@@ -1,46 +1,40 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
const
|
|
12
|
-
const AdaptableContext_1 = require("../../../AdaptableContext");
|
|
13
|
-
const ValueSelector_1 = require("../../../Components/ValueSelector");
|
|
14
|
-
const OnePageAdaptableWizard_1 = require("../../../Wizard/OnePageAdaptableWizard");
|
|
15
|
-
const RowGroupingSectionSummary = () => {
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { Box } from 'rebass';
|
|
3
|
+
import FormLayout, { FormRow } from '../../../../components/FormLayout';
|
|
4
|
+
import { columnFilter } from './Utilities';
|
|
5
|
+
import { Tabs } from '../../../../components/Tabs';
|
|
6
|
+
import { Tag } from '../../../../components/Tag';
|
|
7
|
+
import { sortWithOrderArray } from '../../../../Utilities/sortWithOrder';
|
|
8
|
+
import { useAdaptable } from '../../../AdaptableContext';
|
|
9
|
+
import { ValueSelector } from '../../../Components/ValueSelector';
|
|
10
|
+
import { useOnePageAdaptableWizardContext } from '../../../Wizard/OnePageAdaptableWizard';
|
|
11
|
+
export const RowGroupingSectionSummary = () => {
|
|
16
12
|
var _a;
|
|
17
|
-
const adaptable =
|
|
18
|
-
const { data: layout } =
|
|
19
|
-
return (React.createElement(
|
|
13
|
+
const adaptable = useAdaptable();
|
|
14
|
+
const { data: layout } = useOnePageAdaptableWizardContext();
|
|
15
|
+
return (React.createElement(Box, null, ((_a = layout.RowGroupedColumns) === null || _a === void 0 ? void 0 : _a.length) ? (layout.RowGroupedColumns.map((columnId) => (React.createElement(Tag, { mr: 1, key: columnId }, adaptable.api.columnApi.getFriendlyNameForColumnId(columnId))))) : (React.createElement(Tag, null, "No Row Grouping"))));
|
|
20
16
|
};
|
|
21
|
-
|
|
22
|
-
const RowGroupingSection = (props) => {
|
|
17
|
+
export const RowGroupingSection = (props) => {
|
|
23
18
|
var _a, _b, _c;
|
|
24
|
-
const adaptable =
|
|
25
|
-
const { data: layout } =
|
|
19
|
+
const adaptable = useAdaptable();
|
|
20
|
+
const { data: layout } = useOnePageAdaptableWizardContext();
|
|
26
21
|
const allGroupableColumns = adaptable.api.columnApi.getGroupableColumns();
|
|
27
22
|
const sortedGroupableColumns = React.useMemo(() => {
|
|
28
23
|
var _a;
|
|
29
|
-
return
|
|
24
|
+
return sortWithOrderArray(allGroupableColumns.map((col) => col.columnId), (_a = layout.RowGroupedColumns) !== null && _a !== void 0 ? _a : [], { sortUnorderedItems: false }).map((colId) => adaptable.api.columnApi.getColumnWithColumnId(colId));
|
|
30
25
|
}, [layout, allGroupableColumns]);
|
|
31
26
|
const handleColumnsChange = (columnIds) => {
|
|
32
27
|
props.onChange(Object.assign(Object.assign({}, layout), { RowGroupedColumns: columnIds }));
|
|
33
28
|
};
|
|
34
|
-
return (React.createElement(
|
|
35
|
-
React.createElement(
|
|
36
|
-
((_a = layout.ExpandedRowGroupValues) === null || _a === void 0 ? void 0 : _a.length) && React.createElement(
|
|
37
|
-
React.createElement(
|
|
38
|
-
React.createElement(
|
|
29
|
+
return (React.createElement(Tabs, { style: { height: '100%' } },
|
|
30
|
+
React.createElement(Tabs.Tab, null, "Grouped Rows"),
|
|
31
|
+
((_a = layout.ExpandedRowGroupValues) === null || _a === void 0 ? void 0 : _a.length) && React.createElement(Tabs.Tab, null, "Expanded Rows"),
|
|
32
|
+
React.createElement(Tabs.Content, null,
|
|
33
|
+
React.createElement(ValueSelector, { showFilterInput: true, showSelectedOnlyPosition: "top", filter: columnFilter, toIdentifier: (option) => `${option.columnId}`, toLabel: (option) => { var _a; return (_a = option.friendlyName) !== null && _a !== void 0 ? _a : option.columnId; }, options: sortedGroupableColumns, value: (_b = layout.RowGroupedColumns) !== null && _b !== void 0 ? _b : [], allowReorder: true, xSelectedLabel: () => {
|
|
39
34
|
return `Selected Columns:`;
|
|
40
35
|
}, onChange: handleColumnsChange })),
|
|
41
|
-
((_c = layout.ExpandedRowGroupValues) === null || _c === void 0 ? void 0 : _c.length) && (React.createElement(
|
|
42
|
-
React.createElement(
|
|
43
|
-
React.createElement(
|
|
44
|
-
React.createElement(
|
|
36
|
+
((_c = layout.ExpandedRowGroupValues) === null || _c === void 0 ? void 0 : _c.length) && (React.createElement(Tabs.Content, null,
|
|
37
|
+
React.createElement(Box, { backgroundColor: "var(--ab-color-defaultbackground)" },
|
|
38
|
+
React.createElement(FormLayout, { p: 2 },
|
|
39
|
+
React.createElement(FormRow, { label: "Values" }, layout.ExpandedRowGroupValues.map((value, index) => (React.createElement(Tag, { mb: 2, mr: 2, key: index }, value))))))))));
|
|
45
40
|
};
|
|
46
|
-
exports.RowGroupingSection = RowGroupingSection;
|
|
@@ -1,32 +1,27 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
const
|
|
10
|
-
const
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
const SettingsSectionSummary = () => {
|
|
14
|
-
const { data: layout } = (0, OnePageAdaptableWizard_1.useOnePageAdaptableWizardContext)();
|
|
15
|
-
return (React.createElement(rebass_1.Box, null,
|
|
16
|
-
React.createElement(Tag_1.Tag, { mr: 2 },
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { Box, Flex } from 'rebass';
|
|
3
|
+
import FormLayout, { FormRow } from '../../../../components/FormLayout';
|
|
4
|
+
import Input from '../../../../components/Input';
|
|
5
|
+
import Radio from '../../../../components/Radio';
|
|
6
|
+
import { Tabs } from '../../../../components/Tabs';
|
|
7
|
+
import { Tag } from '../../../../components/Tag';
|
|
8
|
+
import { useOnePageAdaptableWizardContext } from '../../../Wizard/OnePageAdaptableWizard';
|
|
9
|
+
export const SettingsSectionSummary = () => {
|
|
10
|
+
const { data: layout } = useOnePageAdaptableWizardContext();
|
|
11
|
+
return (React.createElement(Box, null,
|
|
12
|
+
React.createElement(Tag, { mr: 2 },
|
|
17
13
|
"Layout Name: ",
|
|
18
14
|
layout.Name),
|
|
19
|
-
React.createElement(
|
|
15
|
+
React.createElement(Tag, { mr: 2 },
|
|
20
16
|
"Layout Grid Type: ",
|
|
21
17
|
layout.EnablePivot ? 'Pivot' : 'Table'),
|
|
22
|
-
React.createElement(
|
|
18
|
+
React.createElement(Tag, { mr: 2 },
|
|
23
19
|
"Suppress Aggregation Function in Header: ",
|
|
24
20
|
layout.SuppressAggFuncInHeader ? 'Yes' : 'No')));
|
|
25
21
|
};
|
|
26
|
-
|
|
27
|
-
const SettingsSection = (props) => {
|
|
22
|
+
export const SettingsSection = (props) => {
|
|
28
23
|
var _a;
|
|
29
|
-
const { data: layout } =
|
|
24
|
+
const { data: layout } = useOnePageAdaptableWizardContext();
|
|
30
25
|
const onNameChange = (event) => {
|
|
31
26
|
props.onChange(Object.assign(Object.assign({}, layout), { Name: event.target.value }));
|
|
32
27
|
};
|
|
@@ -34,18 +29,17 @@ const SettingsSection = (props) => {
|
|
|
34
29
|
props.onChange(Object.assign(Object.assign({}, layout), { EnablePivot: checked }));
|
|
35
30
|
};
|
|
36
31
|
return (React.createElement(React.Fragment, null,
|
|
37
|
-
React.createElement(
|
|
38
|
-
React.createElement(
|
|
39
|
-
React.createElement(
|
|
40
|
-
React.createElement(
|
|
41
|
-
React.createElement(
|
|
42
|
-
React.createElement(
|
|
43
|
-
React.createElement(
|
|
44
|
-
React.createElement(
|
|
45
|
-
React.createElement(
|
|
46
|
-
React.createElement(
|
|
47
|
-
React.createElement(
|
|
48
|
-
React.createElement(
|
|
49
|
-
React.createElement(
|
|
32
|
+
React.createElement(Tabs, { mb: 3 },
|
|
33
|
+
React.createElement(Tabs.Tab, null, "Settings"),
|
|
34
|
+
React.createElement(Tabs.Content, null,
|
|
35
|
+
React.createElement(Flex, { flexDirection: "row" },
|
|
36
|
+
React.createElement(FormLayout, { width: "100%", style: { maxWidth: 300 } },
|
|
37
|
+
React.createElement(FormRow, { label: "Name" },
|
|
38
|
+
React.createElement(Input, { width: "100%", "data-name": "layout-name", onChange: onNameChange, value: (_a = layout === null || layout === void 0 ? void 0 : layout.Name) !== null && _a !== void 0 ? _a : '' })))))),
|
|
39
|
+
React.createElement(Tabs, { mb: 2 },
|
|
40
|
+
React.createElement(Tabs.Tab, null, "Grid Type"),
|
|
41
|
+
React.createElement(Tabs.Content, null,
|
|
42
|
+
React.createElement(Flex, { flexDirection: "column" },
|
|
43
|
+
React.createElement(Radio, { "data-name": "layout-type-table", onClick: () => handlePivotChange(false), checked: !Boolean(layout.EnablePivot) }, "Table"),
|
|
44
|
+
React.createElement(Radio, { "data-name": "layout-type-pivot", onClick: () => handlePivotChange(true), checked: Boolean(layout.EnablePivot) }, "Pivot"))))));
|
|
50
45
|
};
|
|
51
|
-
exports.SettingsSection = SettingsSection;
|
|
@@ -1,41 +1,36 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
const
|
|
13
|
-
const
|
|
14
|
-
const
|
|
15
|
-
const
|
|
16
|
-
|
|
17
|
-
const { data: layout } = (0, OnePageAdaptableWizard_1.useOnePageAdaptableWizardContext)();
|
|
18
|
-
const adaptable = (0, AdaptableContext_1.useAdaptable)();
|
|
19
|
-
const sortViewItems = (0, getLayoutSortViewItems_1.getLayoutSortViewItems)(layout, adaptable.api);
|
|
20
|
-
return (React.createElement(rebass_1.Box, null, sortViewItems.values.length ? (sortViewItems.values.map((value) => (React.createElement(Tag_1.Tag, { key: value, mb: 1, mr: 1 }, value)))) : (React.createElement(Tag_1.Tag, null, "No Sorts"))));
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { Box } from 'rebass';
|
|
3
|
+
import SimpleButton from '../../../../components/SimpleButton';
|
|
4
|
+
import { Tabs } from '../../../../components/Tabs';
|
|
5
|
+
import { Tag } from '../../../../components/Tag';
|
|
6
|
+
import { getLayoutSortViewItems } from '../../../../Strategy/Utilities/Layout/getLayoutSortViewItems';
|
|
7
|
+
import { sortWithOrderArray } from '../../../../Utilities/sortWithOrder';
|
|
8
|
+
import { useAdaptable } from '../../../AdaptableContext';
|
|
9
|
+
import { ValueSelector } from '../../../Components/ValueSelector';
|
|
10
|
+
import { useOnePageAdaptableWizardContext } from '../../../Wizard/OnePageAdaptableWizard';
|
|
11
|
+
import { columnFilter } from './Utilities';
|
|
12
|
+
export const SortSectionSummary = () => {
|
|
13
|
+
const { data: layout } = useOnePageAdaptableWizardContext();
|
|
14
|
+
const adaptable = useAdaptable();
|
|
15
|
+
const sortViewItems = getLayoutSortViewItems(layout, adaptable.api);
|
|
16
|
+
return (React.createElement(Box, null, sortViewItems.values.length ? (sortViewItems.values.map((value) => (React.createElement(Tag, { key: value, mb: 1, mr: 1 }, value)))) : (React.createElement(Tag, null, "No Sorts"))));
|
|
21
17
|
};
|
|
22
|
-
exports.SortSectionSummary = SortSectionSummary;
|
|
23
18
|
const ColumnRow = (props) => {
|
|
24
19
|
var _a, _b, _c;
|
|
25
20
|
const SortOrder = (_c = ((_b = (_a = props.layout) === null || _a === void 0 ? void 0 : _a.ColumnSorts) !== null && _b !== void 0 ? _b : []).find((sort) => sort.ColumnId === props.column.columnId)) === null || _c === void 0 ? void 0 : _c.SortOrder;
|
|
26
21
|
const icon = SortOrder === 'Asc' ? 'sort-asc' : 'sort-desc';
|
|
27
|
-
return (React.createElement(
|
|
22
|
+
return (React.createElement(Box, null,
|
|
28
23
|
props.column.friendlyName,
|
|
29
|
-
SortOrder && (React.createElement(
|
|
24
|
+
SortOrder && (React.createElement(SimpleButton, { ml: 2, onClick: () => props.onSortChange(props.column.columnId, SortOrder === 'Asc' ? 'Desc' : 'Asc'), variant: "raised", icon: icon }))));
|
|
30
25
|
};
|
|
31
|
-
const SortSection = (props) => {
|
|
26
|
+
export const SortSection = (props) => {
|
|
32
27
|
var _a;
|
|
33
|
-
const adaptable =
|
|
34
|
-
const { data: layout } =
|
|
28
|
+
const adaptable = useAdaptable();
|
|
29
|
+
const { data: layout } = useOnePageAdaptableWizardContext();
|
|
35
30
|
const allSortableColumns = adaptable.api.columnApi.getSortableColumns();
|
|
36
31
|
const sortedSortColumns = React.useMemo(() => {
|
|
37
32
|
var _a;
|
|
38
|
-
return
|
|
33
|
+
return sortWithOrderArray(allSortableColumns.map((col) => col.columnId), ((_a = layout.ColumnSorts) !== null && _a !== void 0 ? _a : []).map((sort) => sort.ColumnId), { sortUnorderedItems: false }).map((colId) => adaptable.api.columnApi.getColumnWithColumnId(colId));
|
|
39
34
|
}, [layout, allSortableColumns]);
|
|
40
35
|
const handleColumnsSelectionChange = React.useCallback((columnIds) => {
|
|
41
36
|
props.onChange(Object.assign(Object.assign({}, layout), { ColumnSorts: (columnIds || []).map((columnId) => {
|
|
@@ -56,11 +51,10 @@ const SortSection = (props) => {
|
|
|
56
51
|
return sort;
|
|
57
52
|
}) }));
|
|
58
53
|
}, [layout]);
|
|
59
|
-
return (React.createElement(
|
|
60
|
-
React.createElement(
|
|
61
|
-
React.createElement(
|
|
62
|
-
React.createElement(
|
|
54
|
+
return (React.createElement(Tabs, { style: { height: '100%' } },
|
|
55
|
+
React.createElement(Tabs.Tab, null, "Column Sorts"),
|
|
56
|
+
React.createElement(Tabs.Content, null,
|
|
57
|
+
React.createElement(ValueSelector, { showFilterInput: true, showSelectedOnlyPosition: "top", filter: columnFilter, toIdentifier: (option) => `${option.columnId}`, toLabel: (option) => { var _a; return (_a = option.friendlyName) !== null && _a !== void 0 ? _a : option.columnId; }, toListLabel: (column) => (React.createElement(ColumnRow, { onSortChange: handleSortChange, layout: layout, column: column })), options: sortedSortColumns, value: ((_a = layout.ColumnSorts) !== null && _a !== void 0 ? _a : []).map((sort) => sort.ColumnId), allowReorder: () => true, xSelectedLabel: () => {
|
|
63
58
|
return `Active aggregations:`;
|
|
64
59
|
}, onChange: handleColumnsSelectionChange }))));
|
|
65
60
|
};
|
|
66
|
-
exports.SortSection = SortSection;
|
|
@@ -1,5 +1 @@
|
|
|
1
|
-
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.columnFilter = void 0;
|
|
4
|
-
const columnFilter = (column, searchText) => [column.friendlyName, column.columnId].some((candidate) => candidate === null || candidate === void 0 ? void 0 : candidate.toLowerCase().includes(searchText.toLowerCase()));
|
|
5
|
-
exports.columnFilter = columnFilter;
|
|
1
|
+
export const columnFilter = (column, searchText) => [column.friendlyName, column.columnId].some((candidate) => candidate === null || candidate === void 0 ? void 0 : candidate.toLowerCase().includes(searchText.toLowerCase()));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
import*as e from"react";import{Logo as t}from"../../components/Logo";import{Flex as r}from"rebass";const o={border:"1px solid var(--ab-color-error)",padding:"5px",fontWeight:600,margin:"5px",fontSize:"14px",alignItems:"center",color:"var(--ab-color-text-on-defaultbackground)",background:"var(--ab-color-defaultbackground)"},n=e=>{const t=[["display","none"],["opacity","0"],["position","absolute"],["position","fixed"],["position","relative"],["visibility","hidden"]];for(const[r,o]of t)if(e.style[r]===o)return!1;return!0};export const LicenseWatermark=i=>{const l=e.useRef(null);return e.useEffect((()=>{const e=setInterval((()=>{var e,t;(null===(e=l.current)||void 0===e?void 0:e.isConnected)||alert("It is not allowed to remove the Adaptable watermark."),n(l.current)||alert("It is not allowed to modify the Adaptable watermark."),(null===(t=null==l?void 0:l.current)||void 0===t?void 0:t.style)&&(l.current.style.border=o.border,l.current.style.padding=o.padding,l.current.style.fontWeight=`${o.fontWeight}`,l.current.style.margin=o.margin,l.current.style.fontSize=o.fontSize,l.current.style.color=o.color,l.current.style.background=o.background,l.current.style.display="flex",l.current.style.position="static",l.current.style.opacity="1",l.current.style.visibility="visible")}),5e3);return()=>clearTimeout(e)}),[]),e.createElement(r,{style:o,ref:l},e.createElement(t,{style:{marginRight:10}}),e.createElement("div",null,i.children))};
|
|
@@ -1,5 +1 @@
|
|
|
1
|
-
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.LicenseWatermark = void 0;
|
|
4
|
-
var LicenseWatermark_1 = require("./LicenseWatermark");
|
|
5
|
-
Object.defineProperty(exports, "LicenseWatermark", { enumerable: true, get: function () { return LicenseWatermark_1.LicenseWatermark; } });
|
|
1
|
+
export { LicenseWatermark } from './LicenseWatermark';
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import SimpleButton from '../../components/SimpleButton';
|
|
3
|
+
import { useAdaptable } from '../AdaptableContext';
|
|
4
|
+
export const EditGridFilterButton = () => {
|
|
5
|
+
const adaptable = useAdaptable();
|
|
6
|
+
const handleClick = React.useCallback((event) => {
|
|
7
|
+
event.stopPropagation();
|
|
8
|
+
adaptable.api.gridFilterApi.expandGridFilterEditor();
|
|
9
|
+
}, []);
|
|
10
|
+
return React.createElement(SimpleButton, { variant: "text", iconSize: 15, onClick: handleClick, icon: "edit" });
|
|
11
|
+
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { AdaptableApi } from '../../../Api/AdaptableApi';
|
|
3
|
-
import { NamedQuery } from '../../../
|
|
3
|
+
import { NamedQuery } from '../../../types';
|
|
4
4
|
export interface NamedQueryExpressionWizardSectionProps {
|
|
5
5
|
onChange: (data: NamedQuery) => void;
|
|
6
6
|
}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { useMemo } from 'react';
|
|
3
|
+
import { Text } from 'rebass';
|
|
4
|
+
import { ExpressionEditor } from '../../../components/ExpressionEditor';
|
|
5
|
+
import { Tag } from '../../../components/Tag';
|
|
6
|
+
import { NamedQueryModuleId } from '../../../Utilities/Constants/ModuleConstants';
|
|
7
|
+
import { useOnePageAdaptableWizardContext } from '../../Wizard/OnePageAdaptableWizard';
|
|
8
|
+
export const isValidNamedQueryExpression = (data, api) => {
|
|
9
|
+
if (!data.BooleanExpression) {
|
|
10
|
+
return 'Expression is empty';
|
|
11
|
+
}
|
|
12
|
+
const valid = api.expressionApi.isValidBooleanExpression(data.BooleanExpression, NamedQueryModuleId);
|
|
13
|
+
if (!valid) {
|
|
14
|
+
return 'Query is not a valid Boolean Query';
|
|
15
|
+
}
|
|
16
|
+
return valid;
|
|
17
|
+
};
|
|
18
|
+
export const renderNamedQueryExpressionSummary = (data) => {
|
|
19
|
+
const { api } = useOnePageAdaptableWizardContext();
|
|
20
|
+
return (React.createElement(Text, { fontSize: 2 },
|
|
21
|
+
"Expression: ",
|
|
22
|
+
React.createElement(Tag, null, api.internalApi.getAdaptableQueryExpressionText(data))));
|
|
23
|
+
};
|
|
24
|
+
export const NamedQueryExpressionWizardSection = (props) => {
|
|
25
|
+
const { data, moduleInfo, api } = useOnePageAdaptableWizardContext();
|
|
26
|
+
const initialData = useMemo(() => api.internalApi.getQueryPreviewData(), []);
|
|
27
|
+
return (React.createElement(ExpressionEditor, { allowSaveNamedQuery: false, type: 'boolean', module: moduleInfo.ModuleName, value: data.BooleanExpression, onChange: (BooleanExpression) => {
|
|
28
|
+
props.onChange(Object.assign(Object.assign({}, data), { BooleanExpression }));
|
|
29
|
+
}, initialData: initialData, columns: api.columnApi.getQueryableColumns(), namedQueries: api.namedQueryApi.getNamedQueries(), api: api }));
|
|
30
|
+
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import { NamedQuery } from '../../../PredefinedConfig/QueryState';
|
|
3
2
|
import { AdaptableApi } from '../../../Api/AdaptableApi';
|
|
3
|
+
import { NamedQuery } from '../../../types';
|
|
4
4
|
export interface NamedQuerySettingsWizardSectionProps {
|
|
5
5
|
onChange: (data: NamedQuery) => void;
|
|
6
6
|
}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
// TODO: move to named query
|
|
2
|
+
import * as React from 'react';
|
|
3
|
+
import { Text } from 'rebass';
|
|
4
|
+
import WizardPanel from '../../../components/WizardPanel';
|
|
5
|
+
import FormLayout, { FormRow } from '../../../components/FormLayout';
|
|
6
|
+
import ErrorBox from '../../../components/ErrorBox';
|
|
7
|
+
import { useOnePageAdaptableWizardContext } from '../../Wizard/OnePageAdaptableWizard';
|
|
8
|
+
import AdaptableInput from '../../Components/AdaptableInput';
|
|
9
|
+
import { Tag } from '../../../components/Tag';
|
|
10
|
+
export const isValidNamedQuerySettings = (data, api) => {
|
|
11
|
+
const validationResult = api.namedQueryApi.isValidNamedQueryName(data);
|
|
12
|
+
const ErrorMessage = !validationResult.valid ? validationResult.message : null;
|
|
13
|
+
if (!ErrorMessage) {
|
|
14
|
+
return true;
|
|
15
|
+
}
|
|
16
|
+
return ErrorMessage;
|
|
17
|
+
};
|
|
18
|
+
export const renderNamedQuerySettingsSummary = (data) => {
|
|
19
|
+
return (React.createElement(Text, { fontSize: 2 },
|
|
20
|
+
"Name: ",
|
|
21
|
+
React.createElement(Tag, null, data.Name)));
|
|
22
|
+
};
|
|
23
|
+
export const NamedQuerySettingsWizardSection = (props) => {
|
|
24
|
+
const { data, api } = useOnePageAdaptableWizardContext();
|
|
25
|
+
const valid = isValidNamedQuerySettings(data, api);
|
|
26
|
+
const errorMessage = valid === true ? null : valid;
|
|
27
|
+
const handleColumnNameChange = (event) => {
|
|
28
|
+
let e = event.target;
|
|
29
|
+
props.onChange(Object.assign(Object.assign({}, data), { Name: e.value }));
|
|
30
|
+
};
|
|
31
|
+
return (React.createElement(WizardPanel, { "data-name": 'named-query-settings' },
|
|
32
|
+
React.createElement(FormLayout, null,
|
|
33
|
+
React.createElement(FormRow, { label: "Name" },
|
|
34
|
+
React.createElement(AdaptableInput, { "data-name": "query-name", value: data.Name, autoFocus: true, width: 300, type: "text", placeholder: "Enter Named Query Name", onChange: (e) => handleColumnNameChange(e) })),
|
|
35
|
+
' ',
|
|
36
|
+
errorMessage ? (React.createElement(FormRow, { label: "" },
|
|
37
|
+
React.createElement(ErrorBox, null, errorMessage))) : null)));
|
|
38
|
+
};
|