@adaptabletools/adaptable 17.0.0-canary.0 → 17.0.0-canary.10
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 +32 -26
- package/base.css +66 -20
- package/base.css.map +1 -1
- package/bundle.cjs.js +689 -0
- package/index.css +81 -21
- package/index.css.map +1 -1
- package/package.json +6 -109
- package/publishTimestamp.d.ts +1 -1
- package/publishTimestamp.js +3 -1
- package/src/AdaptableInterfaces/AdaptableNoCodeWizard.d.ts +2 -2
- package/src/AdaptableInterfaces/AdaptableNoCodeWizard.js +2 -1
- package/src/AdaptableInterfaces/IAdaptable.d.ts +17 -11
- package/src/AdaptableInterfaces/IAdaptable.js +2 -1
- package/src/AdaptableOptions/ActionColumnOptions.js +2 -1
- package/src/AdaptableOptions/ActionRowOptions.d.ts +25 -3
- package/src/AdaptableOptions/ActionRowOptions.js +2 -1
- package/src/AdaptableOptions/AdaptableFrameworkComponent.d.ts +3 -3
- package/src/AdaptableOptions/AdaptableFrameworkComponent.js +2 -1
- package/src/AdaptableOptions/AdaptableOptions.d.ts +10 -1
- package/src/AdaptableOptions/AdaptableOptions.js +2 -1
- package/src/AdaptableOptions/AdaptablePlugin.d.ts +1 -1
- package/src/AdaptableOptions/AdaptablePlugin.js +5 -1
- package/src/AdaptableOptions/AlertOptions.d.ts +2 -2
- package/src/AdaptableOptions/AlertOptions.js +2 -1
- package/src/AdaptableOptions/CalendarOptions.js +2 -1
- package/src/AdaptableOptions/CellSummaryOptions.js +2 -1
- package/src/AdaptableOptions/ChartingOptions.js +2 -1
- package/src/AdaptableOptions/ColumnFilterOptions.d.ts +112 -93
- package/src/AdaptableOptions/ColumnFilterOptions.js +2 -1
- package/src/AdaptableOptions/ColumnOptions.js +2 -1
- package/src/AdaptableOptions/ContainerOptions.js +2 -1
- package/src/AdaptableOptions/CustomSortOptions.js +2 -1
- package/src/AdaptableOptions/DashboardOptions.js +2 -1
- package/src/AdaptableOptions/DataChangeHistoryOptions.d.ts +1 -1
- package/src/AdaptableOptions/DataChangeHistoryOptions.js +2 -1
- package/src/AdaptableOptions/DataImportOptions.js +2 -1
- package/src/AdaptableOptions/DataSetOptions.js +2 -1
- package/src/AdaptableOptions/DateInputOptions.d.ts +1 -1
- package/src/AdaptableOptions/DateInputOptions.js +2 -1
- package/src/AdaptableOptions/EditOptions.d.ts +8 -8
- package/src/AdaptableOptions/EditOptions.js +2 -1
- package/src/AdaptableOptions/EntitlementOptions.js +2 -1
- package/src/AdaptableOptions/ExportOptions.d.ts +3 -3
- package/src/AdaptableOptions/ExportOptions.js +2 -1
- package/src/AdaptableOptions/ExpressionOptions.d.ts +2 -2
- package/src/AdaptableOptions/ExpressionOptions.js +2 -1
- package/src/AdaptableOptions/Fdc3Options.d.ts +10 -4
- package/src/AdaptableOptions/Fdc3Options.js +5 -2
- package/src/AdaptableOptions/FinsemblePluginOptions.js +2 -1
- package/src/AdaptableOptions/FlashingCellOptions.js +2 -1
- package/src/AdaptableOptions/FormatColumnOptions.js +2 -1
- package/src/AdaptableOptions/Glue42PluginOptions.js +2 -1
- package/src/AdaptableOptions/Glue42WebPluginOptions.js +2 -1
- package/src/AdaptableOptions/GridFilterOptions.d.ts +23 -0
- package/src/AdaptableOptions/GridFilterOptions.js +2 -0
- package/src/AdaptableOptions/GroupingOptions.js +2 -1
- package/src/AdaptableOptions/IPushPullPluginOptions.js +2 -1
- package/src/AdaptableOptions/LayoutOptions.d.ts +1 -1
- package/src/AdaptableOptions/LayoutOptions.js +2 -1
- package/src/AdaptableOptions/MasterDetailPluginOptions.js +2 -1
- package/src/AdaptableOptions/MenuOptions.d.ts +10 -4
- package/src/AdaptableOptions/MenuOptions.js +7 -3
- package/src/AdaptableOptions/NotesOptions.js +2 -1
- package/src/AdaptableOptions/NotificationsOptions.d.ts +1 -1
- package/src/AdaptableOptions/NotificationsOptions.js +2 -1
- package/src/AdaptableOptions/OpenFinPluginOptions.js +2 -1
- package/src/AdaptableOptions/PredicateOptions.js +2 -1
- package/src/AdaptableOptions/QuickSearchOptions.d.ts +4 -4
- package/src/AdaptableOptions/QuickSearchOptions.js +2 -1
- package/src/AdaptableOptions/SettingsPanelOptions.js +2 -1
- package/src/AdaptableOptions/StateOptions.js +2 -1
- package/src/AdaptableOptions/TeamSharingOptions.js +2 -1
- package/src/AdaptableOptions/ToolPanelOptions.js +2 -1
- package/src/AdaptableOptions/UserInterfaceOptions.d.ts +1 -16
- package/src/AdaptableOptions/UserInterfaceOptions.js +2 -1
- package/src/Api/ActionColumnApi.js +2 -1
- package/src/Api/ActionRowApi.js +2 -1
- package/src/Api/AdaptableApi.js +2 -1
- package/src/Api/AlertApi.js +2 -1
- package/src/Api/ApplicationApi.js +2 -1
- package/src/Api/BulkUpdateApi.js +2 -1
- package/src/Api/CalculatedColumnApi.js +2 -1
- package/src/Api/CalendarApi.js +2 -1
- package/src/Api/CellSummaryApi.js +2 -1
- package/src/Api/ChartingApi.js +2 -1
- package/src/Api/ColumnApi.d.ts +4 -0
- package/src/Api/ColumnApi.js +2 -1
- package/src/Api/ColumnFilterApi.d.ts +2 -5
- package/src/Api/ColumnFilterApi.js +2 -1
- package/src/Api/ConfigApi.js +2 -1
- package/src/Api/CustomSortApi.js +2 -1
- package/src/Api/DashboardApi.d.ts +0 -11
- package/src/Api/DashboardApi.js +2 -1
- package/src/Api/DataChangeHistoryApi.js +2 -1
- package/src/Api/DataImportApi.js +2 -1
- package/src/Api/DataSetApi.js +2 -1
- package/src/Api/EntitlementApi.js +2 -1
- package/src/Api/EventApi.d.ts +2 -30
- package/src/Api/EventApi.js +2 -1
- package/src/Api/Events/ActionRowSubmitted.d.ts +1 -5
- package/src/Api/Events/ActionRowSubmitted.js +2 -1
- package/src/Api/Events/AdaptableReady.js +2 -1
- package/src/Api/Events/AdaptableSearchState.d.ts +2 -7
- package/src/Api/Events/AdaptableSearchState.js +2 -1
- package/src/Api/Events/AdaptableStateChanged.js +2 -1
- package/src/Api/Events/AdaptableStateReloaded.js +2 -1
- package/src/Api/Events/AlertFired.js +2 -1
- package/src/Api/Events/BaseEventInfo.js +2 -1
- package/src/Api/Events/CellChanged.js +2 -1
- package/src/Api/Events/ChartChanged.js +2 -1
- package/src/Api/Events/ColumnFilterApplied.js +2 -1
- package/src/Api/Events/CustomToolbarConfigured.js +2 -1
- package/src/Api/Events/DashboardChanged.js +2 -1
- package/src/Api/Events/DataImported.js +2 -1
- package/src/Api/Events/DataSetSelected.js +2 -1
- package/src/Api/Events/Fdc3MessageInfo.d.ts +1 -1
- package/src/Api/Events/Fdc3MessageInfo.js +2 -1
- package/src/Api/Events/FlashingCellDisplayed.js +2 -1
- package/src/Api/Events/GridDataChanged.js +2 -1
- package/src/Api/Events/GridFilterApplied.d.ts +2 -1
- package/src/Api/Events/GridFilterApplied.js +2 -1
- package/src/Api/Events/GridSorted.js +2 -1
- package/src/Api/Events/LayoutChanged.js +2 -1
- package/src/Api/Events/LiveDataChanged.js +2 -1
- package/src/Api/Events/ScheduleTriggered.js +2 -1
- package/src/Api/Events/SelectionChanged.js +2 -1
- package/src/Api/Events/SystemStatusMessageDisplayed.js +2 -1
- package/src/Api/Events/TeamSharingEntityChanged.js +2 -1
- package/src/Api/Events/ThemeChanged.js +2 -1
- package/src/Api/Events/ThemeEdited.js +2 -1
- package/src/Api/ExportApi.d.ts +0 -4
- package/src/Api/ExportApi.js +2 -1
- package/src/Api/ExpressionApi.js +2 -1
- package/src/Api/Fdc3Api.js +2 -1
- package/src/Api/FinsembleApi.js +2 -1
- package/src/Api/FlashingCellApi.js +2 -1
- package/src/Api/FormatColumnApi.js +2 -1
- package/src/Api/FreeTextColumnApi.js +2 -1
- package/src/Api/Glue42Api.js +2 -1
- package/src/Api/Glue42WebApi.js +2 -1
- package/src/Api/GridApi.js +2 -1
- package/src/Api/GridFilterApi.d.ts +26 -8
- package/src/Api/GridFilterApi.js +2 -1
- package/src/Api/IPushPullApi.js +2 -1
- package/src/Api/Implementation/ActionColumnApiImpl.js +6 -2
- package/src/Api/Implementation/ActionRowApiImpl.js +12 -8
- package/src/Api/Implementation/AdaptableApiImpl.js +101 -97
- package/src/Api/Implementation/AlertApiImpl.js +23 -18
- package/src/Api/Implementation/ApiBase.js +10 -5
- package/src/Api/Implementation/ApplicationApiImpl.js +8 -3
- package/src/Api/Implementation/BulkUpdateApiImpl.js +10 -5
- package/src/Api/Implementation/CalculatedColumnApiImpl.js +11 -6
- package/src/Api/Implementation/CalendarApiImpl.js +6 -2
- package/src/Api/Implementation/CellSummaryApiImpl.js +22 -17
- package/src/Api/Implementation/ChartingApiImpl.js +18 -13
- package/src/Api/Implementation/ColumnApiImpl.d.ts +1 -0
- package/src/Api/Implementation/ColumnApiImpl.js +19 -10
- package/src/Api/Implementation/ColumnFilterApiImpl.d.ts +1 -1
- package/src/Api/Implementation/ColumnFilterApiImpl.js +17 -12
- package/src/Api/Implementation/ConfigApiImpl.js +35 -31
- package/src/Api/Implementation/CustomSortApiImpl.js +11 -6
- package/src/Api/Implementation/DashboardApiImpl.d.ts +0 -2
- package/src/Api/Implementation/DashboardApiImpl.js +14 -23
- package/src/Api/Implementation/DataChangeHistoryApiImpl.js +15 -10
- package/src/Api/Implementation/DataImportApiImpl.js +8 -4
- package/src/Api/Implementation/DataSetApiImpl.js +11 -6
- package/src/Api/Implementation/EntitlementApiImpl.js +6 -2
- package/src/Api/Implementation/EventApiImpl.js +9 -4
- package/src/Api/Implementation/ExportApiImpl.d.ts +0 -1
- package/src/Api/Implementation/ExportApiImpl.js +17 -15
- package/src/Api/Implementation/ExpressionApiImpl.js +10 -5
- package/src/Api/Implementation/Fdc3ApiImpl.js +12 -8
- package/src/Api/Implementation/FlashingCellApiImpl.js +11 -6
- package/src/Api/Implementation/FormatColumnApiImpl.js +11 -6
- package/src/Api/Implementation/FreeTextColumnApiImpl.js +14 -9
- package/src/Api/Implementation/GridApiImpl.js +25 -20
- package/src/Api/Implementation/GridFilterApiImpl.d.ts +6 -1
- package/src/Api/Implementation/GridFilterApiImpl.js +36 -12
- package/src/Api/Implementation/LayoutApiImpl.js +30 -25
- package/src/Api/Implementation/NamedQueryApiImpl.d.ts +2 -5
- package/src/Api/Implementation/NamedQueryApiImpl.js +15 -10
- package/src/Api/Implementation/NotesApiImpl.js +9 -4
- package/src/Api/Implementation/OptionsApiImpl.d.ts +2 -1
- package/src/Api/Implementation/OptionsApiImpl.js +9 -2
- package/src/Api/Implementation/PluginsApiImpl.js +8 -3
- package/src/Api/Implementation/PlusMinusApiImpl.js +9 -4
- package/src/Api/Implementation/PredicateApiImpl.js +17 -12
- package/src/Api/Implementation/QuickSearchApiImpl.js +10 -5
- package/src/Api/Implementation/ScheduleApiImpl.js +11 -6
- package/src/Api/Implementation/ScopeApiImpl.js +13 -8
- package/src/Api/Implementation/SettingsPanelApiImpl.js +8 -3
- package/src/Api/Implementation/ShortcutApiImpl.js +9 -4
- package/src/Api/Implementation/SmartEditApiImpl.js +10 -5
- package/src/Api/Implementation/StatusBarApiImpl.js +9 -5
- package/src/Api/Implementation/StyledColumnApiImpl.js +11 -6
- package/src/Api/Implementation/SystemStatusApiImpl.js +21 -16
- package/src/Api/Implementation/TeamSharingApiImpl.js +17 -12
- package/src/Api/Implementation/ThemeApiImpl.js +15 -10
- package/src/Api/Implementation/ToolPanelApiImpl.js +11 -6
- package/src/Api/Implementation/UserInterfaceApiImpl.js +21 -16
- package/src/Api/Internal/ActionRowInternalApi.d.ts +1 -0
- package/src/Api/Internal/ActionRowInternalApi.js +23 -5
- package/src/Api/Internal/AdaptableInternalApi.js +26 -21
- package/src/Api/Internal/AlertInternalApi.d.ts +1 -7
- package/src/Api/Internal/AlertInternalApi.js +25 -20
- package/src/Api/Internal/CalculatedColumnInternalApi.js +6 -2
- package/src/Api/Internal/ChartingInternalApi.js +12 -8
- package/src/Api/Internal/ColumnFilterInternalApi.d.ts +2 -2
- package/src/Api/Internal/ColumnFilterInternalApi.js +22 -17
- package/src/Api/Internal/ColumnInternalApi.d.ts +0 -10
- package/src/Api/Internal/ColumnInternalApi.js +8 -32
- package/src/Api/Internal/CustomSortInternalApi.js +6 -2
- package/src/Api/Internal/DashboardInternalApi.js +11 -6
- package/src/Api/Internal/DataImportInternalApi.js +10 -5
- package/src/Api/Internal/DataSetInternalApi.js +6 -2
- package/src/Api/Internal/ExportInternalApi.js +6 -2
- package/src/Api/Internal/ExpressionnternalApi.js +6 -2
- package/src/Api/Internal/Fdc3InternalApi.d.ts +2 -2
- package/src/Api/Internal/Fdc3InternalApi.js +28 -24
- package/src/Api/Internal/FlashingCellInternalApi.js +12 -7
- package/src/Api/Internal/FormatColumnInternalApi.js +16 -11
- package/src/Api/Internal/FreeTextColumnInternalApi.js +6 -2
- package/src/Api/Internal/GridFilterInternalApi.d.ts +1 -1
- package/src/Api/Internal/GridFilterInternalApi.js +11 -7
- package/src/Api/Internal/GridInternalApi.js +49 -22
- package/src/Api/Internal/LayoutInternalApi.d.ts +2 -2
- package/src/Api/Internal/LayoutInternalApi.js +33 -20
- package/src/Api/Internal/NamedQueryInternalApi.js +8 -3
- package/src/Api/Internal/PredicateInternalApi.js +9 -5
- package/src/Api/Internal/ScheduleInternalApi.js +6 -2
- package/src/Api/Internal/StyledColumnInternalApi.d.ts +0 -3
- package/src/Api/Internal/StyledColumnInternalApi.js +10 -32
- package/src/Api/Internal/SystemStatusInternalApi.js +8 -3
- package/src/Api/Internal/TeamSharingInternalApi.js +6 -2
- package/src/Api/Internal/ThemeInternalApi.js +9 -5
- package/src/Api/Internal/UserInterfaceInternalApi.js +6 -2
- package/src/Api/LayoutApi.js +2 -1
- package/src/Api/NamedQueryApi.d.ts +6 -5
- package/src/Api/NamedQueryApi.js +2 -1
- package/src/Api/NotesAPi.js +2 -1
- package/src/Api/OpenFinApi.js +2 -1
- package/src/Api/OptionsApi.d.ts +5 -1
- package/src/Api/OptionsApi.js +2 -1
- package/src/Api/PluginsApi.js +2 -1
- package/src/Api/PlusMinusApi.js +2 -1
- package/src/Api/PredicateApi.js +2 -1
- package/src/Api/QuickSearchApi.js +2 -1
- package/src/Api/ScheduleApi.js +2 -1
- package/src/Api/ScopeApi.js +2 -1
- package/src/Api/SettingsPanelApi.js +2 -1
- package/src/Api/ShortcutApi.js +2 -1
- package/src/Api/SmartEditApi.js +2 -1
- package/src/Api/StatusBarApi.js +2 -1
- package/src/Api/StyledColumnApi.js +2 -1
- package/src/Api/SystemStatusApi.js +2 -1
- package/src/Api/TeamSharingApi.js +2 -1
- package/src/Api/ThemeApi.js +2 -1
- package/src/Api/ToolPanelApi.js +2 -1
- package/src/Api/UserInterfaceApi.js +2 -1
- package/src/PredefinedConfig/AdaptableState.js +2 -1
- package/src/PredefinedConfig/AlertState.d.ts +6 -6
- package/src/PredefinedConfig/AlertState.js +2 -1
- package/src/PredefinedConfig/ApplicationState.js +2 -1
- package/src/PredefinedConfig/CalculatedColumnState.d.ts +1 -1
- package/src/PredefinedConfig/CalculatedColumnState.js +2 -1
- package/src/PredefinedConfig/ChartingState.d.ts +4 -1
- package/src/PredefinedConfig/ChartingState.js +7 -2
- package/src/PredefinedConfig/Common/AdaptableAlert.d.ts +2 -2
- package/src/PredefinedConfig/Common/AdaptableAlert.js +7 -2
- package/src/PredefinedConfig/Common/AdaptableButton.js +2 -1
- package/src/PredefinedConfig/Common/AdaptableColumn.d.ts +1 -1
- package/src/PredefinedConfig/Common/AdaptableColumn.js +5 -1
- package/src/PredefinedConfig/Common/AdaptableComparerFunction.d.ts +2 -2
- package/src/PredefinedConfig/Common/AdaptableComparerFunction.js +2 -1
- package/src/PredefinedConfig/Common/AdaptableFlashingCell.js +2 -1
- package/src/PredefinedConfig/Common/AdaptableForm.d.ts +2 -2
- package/src/PredefinedConfig/Common/AdaptableForm.js +5 -1
- package/src/PredefinedConfig/Common/AdaptableFormat.d.ts +1 -1
- package/src/PredefinedConfig/Common/AdaptableFormat.js +2 -1
- package/src/PredefinedConfig/Common/AdaptableIcon.d.ts +2 -2
- package/src/PredefinedConfig/Common/AdaptableIcon.js +2 -1
- package/src/PredefinedConfig/Common/AdaptableMessageType.d.ts +1 -1
- package/src/PredefinedConfig/Common/AdaptableMessageType.js +2 -1
- package/src/PredefinedConfig/Common/AdaptableObject.d.ts +1 -1
- package/src/PredefinedConfig/Common/AdaptableObject.js +2 -1
- package/src/PredefinedConfig/Common/AdaptablePredicate.d.ts +3 -3
- package/src/PredefinedConfig/Common/AdaptablePredicate.js +100 -109
- package/src/PredefinedConfig/Common/AdaptableQuery.d.ts +1 -1
- package/src/PredefinedConfig/Common/AdaptableQuery.js +5 -1
- package/src/PredefinedConfig/Common/AdaptableScope.d.ts +5 -5
- package/src/PredefinedConfig/Common/AdaptableScope.js +2 -1
- package/src/PredefinedConfig/Common/AdaptableStyle.js +2 -1
- package/src/PredefinedConfig/Common/AggregationColumns.d.ts +1 -1
- package/src/PredefinedConfig/Common/AggregationColumns.js +4 -1
- package/src/PredefinedConfig/Common/AlternativeModuleName.js +2 -1
- package/src/PredefinedConfig/Common/BaseContext.js +2 -1
- package/src/PredefinedConfig/Common/ButtonStyle.js +2 -1
- package/src/PredefinedConfig/Common/CellDataChangedInfo.js +2 -1
- package/src/PredefinedConfig/Common/CellHighlightInfo.js +2 -1
- package/src/PredefinedConfig/Common/CellSummary.js +2 -1
- package/src/PredefinedConfig/Common/ColumnFilter.d.ts +2 -2
- package/src/PredefinedConfig/Common/ColumnFilter.js +2 -1
- package/src/PredefinedConfig/Common/ColumnSort.js +2 -1
- package/src/PredefinedConfig/Common/DataChangedScope.js +2 -1
- package/src/PredefinedConfig/Common/DataUpdateConfig.js +2 -1
- package/src/PredefinedConfig/Common/Entitlement.d.ts +1 -1
- package/src/PredefinedConfig/Common/Entitlement.js +2 -1
- package/src/PredefinedConfig/Common/Enums.js +29 -26
- package/src/PredefinedConfig/Common/Fdc3Context.d.ts +133 -37
- package/src/PredefinedConfig/Common/Fdc3Context.js +35 -32
- package/src/PredefinedConfig/Common/Fdc3Intent.d.ts +4 -4
- package/src/PredefinedConfig/Common/Fdc3Intent.js +67 -64
- package/src/PredefinedConfig/Common/FilterActionOnDataChange.js +2 -1
- package/src/PredefinedConfig/Common/FormContext.js +2 -1
- package/src/PredefinedConfig/Common/GridFilter.js +2 -1
- package/src/PredefinedConfig/Common/Menu.js +2 -1
- package/src/PredefinedConfig/Common/RowHighlightInfo.js +2 -1
- package/src/PredefinedConfig/Common/RowsHighlightInfo.js +2 -1
- package/src/PredefinedConfig/Common/Schedule.d.ts +2 -2
- package/src/PredefinedConfig/Common/Schedule.js +2 -1
- package/src/PredefinedConfig/Common/SpecialColumnSettings.js +2 -1
- package/src/PredefinedConfig/Common/SuspendableObject.js +2 -1
- package/src/PredefinedConfig/Common/SystemStatusMessageInfo.js +2 -1
- package/src/PredefinedConfig/Common/Types.d.ts +15 -15
- package/src/PredefinedConfig/Common/Types.js +9 -5
- package/src/PredefinedConfig/ConfigState.js +2 -1
- package/src/PredefinedConfig/CustomSortState.js +2 -1
- package/src/PredefinedConfig/DashboardState.js +2 -1
- package/src/PredefinedConfig/ExportState.d.ts +4 -4
- package/src/PredefinedConfig/ExportState.js +2 -1
- package/src/PredefinedConfig/FlashingCellState.d.ts +4 -4
- package/src/PredefinedConfig/FlashingCellState.js +2 -1
- package/src/PredefinedConfig/FormatColumnState.d.ts +4 -27
- package/src/PredefinedConfig/FormatColumnState.js +2 -1
- package/src/PredefinedConfig/FreeTextColumnState.js +2 -1
- package/src/PredefinedConfig/Glue42State.js +2 -1
- package/src/PredefinedConfig/GridState.js +2 -1
- package/src/PredefinedConfig/IPushPullState.js +2 -1
- package/src/PredefinedConfig/InternalState.js +2 -1
- package/src/PredefinedConfig/LayoutState.js +2 -1
- package/src/PredefinedConfig/NamedQueryState.js +2 -1
- package/src/PredefinedConfig/NotesState.d.ts +2 -2
- package/src/PredefinedConfig/NotesState.js +2 -1
- package/src/PredefinedConfig/OpenFinState.js +2 -1
- package/src/PredefinedConfig/PlusMinusState.js +2 -1
- package/src/PredefinedConfig/PopupState.js +2 -1
- package/src/PredefinedConfig/PredefinedConfig.d.ts +0 -5
- package/src/PredefinedConfig/PredefinedConfig.js +2 -1
- package/src/PredefinedConfig/QueryState.js +2 -1
- package/src/PredefinedConfig/QuickSearchState.js +2 -1
- package/src/PredefinedConfig/ScheduleState.js +2 -1
- package/src/PredefinedConfig/Selection/GridCell.js +2 -1
- package/src/PredefinedConfig/Selection/GridCellRange.js +2 -1
- package/src/PredefinedConfig/Selection/GridRow.js +2 -1
- package/src/PredefinedConfig/Selection/SelectedCellInfo.js +2 -1
- package/src/PredefinedConfig/Selection/SelectedRowInfo.js +2 -1
- package/src/PredefinedConfig/ShortcutState.d.ts +1 -1
- package/src/PredefinedConfig/ShortcutState.js +2 -1
- package/src/PredefinedConfig/StatusBarState.js +4 -1
- package/src/PredefinedConfig/StyledColumnState.d.ts +8 -13
- package/src/PredefinedConfig/StyledColumnState.js +2 -1
- package/src/PredefinedConfig/SystemState.d.ts +3 -3
- package/src/PredefinedConfig/SystemState.js +2 -1
- package/src/PredefinedConfig/TeamSharingState.d.ts +3 -3
- package/src/PredefinedConfig/TeamSharingState.js +7 -2
- package/src/PredefinedConfig/ThemeState.js +2 -1
- package/src/PredefinedConfig/ToolPanelState.d.ts +1 -1
- package/src/PredefinedConfig/ToolPanelState.js +2 -1
- package/src/PredefinedConfig/Uuid.d.ts +1 -1
- package/src/PredefinedConfig/Uuid.js +6 -2
- package/src/Redux/ActionsReducers/AlertRedux.js +59 -45
- package/src/Redux/ActionsReducers/ApplicationRedux.js +22 -15
- package/src/Redux/ActionsReducers/BulkUpdateRedux.js +15 -9
- package/src/Redux/ActionsReducers/CalculatedColumnRedux.js +29 -20
- package/src/Redux/ActionsReducers/CellSummaryRedux.js +7 -3
- package/src/Redux/ActionsReducers/ChartingRedux.js +55 -41
- package/src/Redux/ActionsReducers/CustomSortRedux.js +54 -41
- package/src/Redux/ActionsReducers/DashboardRedux.js +66 -50
- package/src/Redux/ActionsReducers/ExportRedux.js +43 -33
- package/src/Redux/ActionsReducers/FlashingCellRedux.js +57 -43
- package/src/Redux/ActionsReducers/FormatColumnRedux.js +70 -54
- package/src/Redux/ActionsReducers/FreeTextColumnRedux.js +34 -24
- package/src/Redux/ActionsReducers/GridRedux.d.ts +6 -1
- package/src/Redux/ActionsReducers/GridRedux.js +174 -121
- package/src/Redux/ActionsReducers/LayoutRedux.d.ts +37 -16
- package/src/Redux/ActionsReducers/LayoutRedux.js +169 -90
- package/src/Redux/ActionsReducers/NamedQueryRedux.js +35 -25
- package/src/Redux/ActionsReducers/NotesRedux.js +31 -21
- package/src/Redux/ActionsReducers/PluginsRedux.js +53 -48
- package/src/Redux/ActionsReducers/PlusMinusRedux.js +59 -45
- package/src/Redux/ActionsReducers/PopupRedux.js +84 -64
- package/src/Redux/ActionsReducers/QueryRedux.js +13 -8
- package/src/Redux/ActionsReducers/QuickSearchRedux.js +23 -16
- package/src/Redux/ActionsReducers/ScheduleRedux.js +222 -179
- package/src/Redux/ActionsReducers/ShortcutRedux.js +54 -41
- package/src/Redux/ActionsReducers/SmartEditRedux.js +15 -9
- package/src/Redux/ActionsReducers/StatusBarRedux.js +19 -12
- package/src/Redux/ActionsReducers/StyledColumnRedux.js +54 -41
- package/src/Redux/ActionsReducers/SystemRedux.js +324 -254
- package/src/Redux/ActionsReducers/SystemStatusRedux.js +11 -6
- package/src/Redux/ActionsReducers/TeamSharingRedux.js +55 -40
- package/src/Redux/ActionsReducers/ThemeRedux.js +43 -32
- package/src/Redux/ActionsReducers/ToolPanelRedux.js +39 -28
- package/src/Redux/ActionsReducers/utils.js +9 -3
- package/src/Redux/DeadRedux.js +38 -25
- package/src/Redux/Store/AdaptableReduxLocalStorageEngine.js +20 -15
- package/src/Redux/Store/AdaptableReduxMerger.d.ts +1 -1
- package/src/Redux/Store/AdaptableReduxMerger.js +30 -21
- package/src/Redux/Store/AdaptableStore.d.ts +2 -2
- package/src/Redux/Store/AdaptableStore.js +150 -116
- package/src/Redux/Store/Interface/IAdaptableStore.js +2 -1
- package/src/Redux/Store/Interface/IStorageEngine.js +2 -1
- package/src/Strategy/AdaptableModuleBase.d.ts +0 -1
- package/src/Strategy/AdaptableModuleBase.js +13 -38
- package/src/Strategy/AlertModule.js +41 -36
- package/src/Strategy/BulkUpdateModule.js +22 -17
- package/src/Strategy/CalculatedColumnModule.js +21 -16
- package/src/Strategy/CellSummaryModule.js +22 -17
- package/src/Strategy/ChartingModule.js +28 -20
- package/src/Strategy/ColumnFilterModule.d.ts +2 -0
- package/src/Strategy/ColumnFilterModule.js +93 -50
- package/src/Strategy/ColumnInfoModule.js +8 -3
- package/src/Strategy/CustomSortModule.js +18 -13
- package/src/Strategy/DashboardModule.js +9 -4
- package/src/Strategy/DataChangeHistoryModule.js +15 -10
- package/src/Strategy/DataImportModule.js +8 -3
- package/src/Strategy/DataSetModule.js +16 -11
- package/src/Strategy/ExportModule.js +60 -55
- package/src/Strategy/Fdc3Module.js +8 -3
- package/src/Strategy/FlashingCellModule.js +34 -29
- package/src/Strategy/FormatColumnModule.js +32 -27
- package/src/Strategy/FreeTextColumnModule.js +13 -8
- package/src/Strategy/GridFilterModule.js +14 -9
- package/src/Strategy/GridInfoModule.js +8 -3
- package/src/Strategy/Interface/IBulkUpdateModule.js +2 -1
- package/src/Strategy/Interface/ICellSummaryModule.js +2 -1
- package/src/Strategy/Interface/IExportModule.js +2 -1
- package/src/Strategy/Interface/IModule.d.ts +3 -3
- package/src/Strategy/Interface/IModule.js +2 -1
- package/src/Strategy/Interface/IModuleActionReturn.js +2 -1
- package/src/Strategy/Interface/IPlusMinusModule.js +2 -1
- package/src/Strategy/Interface/IScheduleModule.js +2 -1
- package/src/Strategy/Interface/IShortcutModule.js +2 -1
- package/src/Strategy/Interface/ISmartEditModule.js +2 -1
- package/src/Strategy/LayoutModule.js +39 -33
- package/src/Strategy/NamedQueryModule.js +17 -12
- package/src/Strategy/NotesModule.js +8 -3
- package/src/Strategy/PlusMinusModule.js +26 -21
- package/src/Strategy/QuickSearchModule.js +10 -5
- package/src/Strategy/ScheduleModule.js +45 -40
- package/src/Strategy/SettingsPanelModule.js +9 -4
- package/src/Strategy/ShortcutModule.js +26 -21
- package/src/Strategy/SmartEditModule.js +27 -22
- package/src/Strategy/StateManagementModule.js +8 -3
- package/src/Strategy/StatusBarModule.js +8 -3
- package/src/Strategy/StyledColumnModule.js +24 -70
- package/src/Strategy/SystemStatusModule.js +10 -5
- package/src/Strategy/TeamSharingModule.js +37 -32
- package/src/Strategy/ThemeModule.js +10 -13
- package/src/Strategy/ToolPanelModule.js +13 -8
- package/src/Strategy/Utilities/Alert/getAlertBehaviourViewItems.js +9 -5
- package/src/Strategy/Utilities/Alert/getAlertPreviewViewItems.js +11 -6
- package/src/Strategy/Utilities/Alert/getAlertTypeViewItems.js +8 -4
- package/src/Strategy/Utilities/CustomSort/getCustomSortColumnViewItems.js +5 -1
- package/src/Strategy/Utilities/CustomSort/getCustomSortSortOrderViewItems.js +5 -1
- package/src/Strategy/Utilities/Export/getExportColumnsViewItems.js +5 -1
- package/src/Strategy/Utilities/Export/getExportRowsViewItems.js +5 -1
- package/src/Strategy/Utilities/FlashingCell/getFlashingCellDurationViewItems.js +5 -1
- package/src/Strategy/Utilities/FlashingCell/getFlashingCellStyleViewItems.js +7 -3
- package/src/Strategy/Utilities/FlashingCell/getFlashingTargetViewItems.js +5 -1
- package/src/Strategy/Utilities/FormatColumn/getFormatColumnSettingsViewItems.js +5 -1
- package/src/Strategy/Utilities/FormatColumn/getFormatColumnStyleViewItems.js +10 -5
- package/src/Strategy/Utilities/Layout/getLayoutFilterViewItems.js +8 -3
- package/src/Strategy/Utilities/Layout/getLayoutSortViewItems.js +5 -1
- package/src/Strategy/Utilities/Shortcut/getShortcutSettingsViewItems.js +5 -1
- package/src/Strategy/Utilities/getExpressionViewItems.js +5 -1
- package/src/Strategy/Utilities/getObjectTagsViewItems.js +12 -7
- package/src/Strategy/Utilities/getRuleViewItems.js +5 -1
- package/src/Strategy/Utilities/getScopeViewItems.js +5 -1
- package/src/Strategy/Utilities/updateSingleToMultiplePredicates.js +5 -1
- package/src/Utilities/Cancelable.js +2 -1
- package/src/Utilities/Constants/ConfigConstants.js +12 -9
- package/src/Utilities/Constants/DocumentationLinkConstants.js +17 -14
- package/src/Utilities/Constants/GeneralConstants.d.ts +3 -0
- package/src/Utilities/Constants/GeneralConstants.js +74 -67
- package/src/Utilities/Constants/ModuleConstants.js +119 -115
- package/src/Utilities/Defaults/DefaultAdaptableOptions.js +59 -47
- package/src/Utilities/Defaults/DefaultSettingsPanel.d.ts +1 -1
- package/src/Utilities/Defaults/DefaultSettingsPanel.js +6 -3
- package/src/Utilities/Emitter.d.ts +2 -2
- package/src/Utilities/Emitter.js +3 -1
- package/src/Utilities/ExpressionFunctions/aggregatedBooleanExpressionFunctions.d.ts +3 -3
- package/src/Utilities/ExpressionFunctions/aggregatedBooleanExpressionFunctions.js +24 -20
- package/src/Utilities/ExpressionFunctions/aggregatedScalarExpressionFunctions.d.ts +3 -3
- package/src/Utilities/ExpressionFunctions/aggregatedScalarExpressionFunctions.js +54 -51
- package/src/Utilities/ExpressionFunctions/booleanExpressionFunctions.d.ts +1 -1
- package/src/Utilities/ExpressionFunctions/booleanExpressionFunctions.js +94 -33
- package/src/Utilities/ExpressionFunctions/dateUtils.d.ts +1 -0
- package/src/Utilities/ExpressionFunctions/dateUtils.js +15 -1
- package/src/Utilities/ExpressionFunctions/deepMap.d.ts +3 -3
- package/src/Utilities/ExpressionFunctions/deepMap.js +12 -8
- package/src/Utilities/ExpressionFunctions/expressionFunctionUtils.d.ts +1 -1
- package/src/Utilities/ExpressionFunctions/expressionFunctionUtils.js +57 -39
- package/src/Utilities/ExpressionFunctions/groupingMap.d.ts +7 -7
- package/src/Utilities/ExpressionFunctions/groupingMap.js +7 -3
- package/src/Utilities/ExpressionFunctions/observableExpressionFunctions.d.ts +1 -1
- package/src/Utilities/ExpressionFunctions/observableExpressionFunctions.js +70 -66
- package/src/Utilities/ExpressionFunctions/scalarAggregationHelper.d.ts +7 -7
- package/src/Utilities/ExpressionFunctions/scalarAggregationHelper.js +7 -3
- package/src/Utilities/ExpressionFunctions/scalarExpressionFunctions.d.ts +1 -1
- package/src/Utilities/ExpressionFunctions/scalarExpressionFunctions.js +67 -53
- package/src/Utilities/Extensions/ArrayExtensions.js +73 -39
- package/src/Utilities/Extensions/EnumExtensions.js +21 -14
- package/src/Utilities/Extensions/NumberExtensions.js +9 -4
- package/src/Utilities/Extensions/ObjectExtensions.js +9 -3
- package/src/Utilities/Extensions/StringExtensions.js +46 -23
- package/src/Utilities/Extensions/TypeExtensions.d.ts +8 -8
- package/src/Utilities/Extensions/TypeExtensions.js +5 -1
- package/src/Utilities/Helpers/AdaptableHelper.js +70 -55
- package/src/Utilities/Helpers/DateHelper.js +28 -18
- package/src/Utilities/Helpers/FormatHelper.js +18 -10
- package/src/Utilities/Helpers/Helper.js +50 -28
- package/src/Utilities/Helpers/PreviewHelper.js +15 -8
- package/src/Utilities/Helpers/StyleHelper.js +20 -11
- package/src/Utilities/Interface/AdaptableToolPanelContext.js +2 -1
- package/src/Utilities/Interface/ColumnFilterProps.js +2 -1
- package/src/Utilities/Interface/IPPStyle.js +2 -1
- package/src/Utilities/Interface/KeyValuePair.js +2 -1
- package/src/Utilities/Interface/MessagePopups.js +2 -1
- package/src/Utilities/Interface/Preview.js +2 -1
- package/src/Utilities/MenuItem.js +11 -4
- package/src/Utilities/ObjectFactory.js +168 -125
- package/src/Utilities/Services/AggregatedScalarLiveValue.js +7 -3
- package/src/Utilities/Services/AlertService.js +16 -11
- package/src/Utilities/Services/CalculatedColumnExpressionService.js +13 -9
- package/src/Utilities/Services/ChartingService.js +15 -10
- package/src/Utilities/Services/DataService.js +13 -8
- package/src/Utilities/Services/EntitlementService.d.ts +0 -1
- package/src/Utilities/Services/EntitlementService.js +5 -9
- package/src/Utilities/Services/Fdc3Service.js +11 -7
- package/src/Utilities/Services/Interface/IAdaptableService.js +2 -1
- package/src/Utilities/Services/Interface/IAlertService.d.ts +3 -3
- package/src/Utilities/Services/Interface/IAlertService.js +8 -3
- package/src/Utilities/Services/Interface/ICalculatedColumnExpressionService.js +2 -1
- package/src/Utilities/Services/Interface/IChartingService.js +2 -1
- package/src/Utilities/Services/Interface/IDataService.js +2 -1
- package/src/Utilities/Services/Interface/IEntitlementService.d.ts +0 -6
- package/src/Utilities/Services/Interface/IEntitlementService.js +2 -1
- package/src/Utilities/Services/Interface/ILicenseService.js +2 -1
- package/src/Utilities/Services/Interface/IMetamodelService.d.ts +1 -1
- package/src/Utilities/Services/Interface/IMetamodelService.js +2 -1
- package/src/Utilities/Services/Interface/IModuleService.js +2 -1
- package/src/Utilities/Services/Interface/IQueryLanguageService.js +2 -1
- package/src/Utilities/Services/Interface/IReportService.js +2 -1
- package/src/Utilities/Services/Interface/IRowEditService.js +2 -1
- package/src/Utilities/Services/Interface/ITeamSharingService.js +2 -1
- package/src/Utilities/Services/Interface/IThemeService.js +2 -1
- package/src/Utilities/Services/Interface/IValidationService.js +2 -1
- package/src/Utilities/Services/LicenseService/index.js +1 -1
- package/src/Utilities/Services/LicenseService/shouldLogThankYouMessage.js +5 -1
- package/src/Utilities/Services/MetamodelService.js +18 -13
- package/src/Utilities/Services/ModuleService.js +15 -10
- package/src/Utilities/Services/QueryLanguageService.js +29 -24
- package/src/Utilities/Services/ReportService.js +53 -48
- package/src/Utilities/Services/RowEditService.js +5 -1
- package/src/Utilities/Services/TeamSharingService.js +11 -6
- package/src/Utilities/Services/ThemeService.js +5 -1
- package/src/Utilities/Services/ValidationService.js +25 -20
- package/src/Utilities/getScrollbarSize.js +3 -1
- package/src/Utilities/isAdaptableObject.js +5 -1
- package/src/Utilities/isMacLike.js +5 -1
- package/src/Utilities/license/LicenseDetails.d.ts +1 -1
- package/src/Utilities/license/LicenseDetails.js +2 -1
- package/src/Utilities/license/decode.js +1 -1
- package/src/Utilities/license/hashing.js +1 -1
- package/src/Utilities/logDeprecation.d.ts +5 -3
- package/src/Utilities/logDeprecation.js +9 -3
- package/src/Utilities/reorder.js +5 -1
- package/src/Utilities/runIfNotResolvedIn.js +5 -1
- package/src/Utilities/sortWithOrder.js +5 -1
- package/src/Utilities/waitForCondition.js +5 -1
- package/src/Utilities/waitForTimeout.js +5 -1
- package/src/View/AdaptableContext.js +8 -3
- package/src/View/AdaptablePopover/index.d.ts +1 -0
- package/src/View/AdaptablePopover/index.js +23 -18
- package/src/View/AdaptableView.js +35 -30
- package/src/View/AdaptableViewFactory.js +71 -67
- package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/AdaptableConfig.js +2 -1
- package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/AdaptableOptionsForm.js +30 -25
- package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/ColumnsList.js +44 -42
- package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/Components/FormBox.js +9 -4
- package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/ConfigurationWizard.js +26 -21
- package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/ConfigurationWizardColumnsStep.js +9 -4
- package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/EntitlementsForm.js +29 -26
- package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/FinanceForm/FinanceForm.js +2 -1
- package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/GridOptionsForm.js +20 -17
- package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/UIOptions/UIOptionsActionColumnsForm.js +13 -8
- package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/UIOptions/UIOptionsSidebarForm.js +21 -16
- package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/UIOptions/UIOptionsStatusbarForm.js +29 -24
- package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/UIOptions/UiOptionsForm.js +23 -18
- package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/index.js +4 -2
- package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/useSelection.js +5 -3
- package/src/View/AdaptableWizardView/Utils.js +5 -1
- package/src/View/AdaptableWizardView/Wizard.js +26 -20
- package/src/View/AdaptableWizardView/helper.js +10 -4
- package/src/View/AdaptableWizardView/index.js +10 -7
- package/src/View/Alert/ActiveAlertsPanel.js +14 -9
- package/src/View/Alert/ActiveAlertsPanelItemLabel.js +15 -10
- package/src/View/Alert/AlertEmptyView.js +10 -5
- package/src/View/Alert/AlertEntityRow.js +18 -13
- package/src/View/Alert/AlertStatusSubPanel.js +18 -13
- package/src/View/Alert/AlertViewPanel.js +20 -16
- package/src/View/Alert/AlertsPanel.js +27 -22
- package/src/View/Alert/Utilities/getAlertButtonStyle.js +11 -6
- package/src/View/Alert/Utilities/getAlertType.d.ts +1 -0
- package/src/View/Alert/Utilities/getAlertType.js +18 -5
- package/src/View/Alert/Utilities/getAvailablePredicates.js +7 -3
- package/src/View/Alert/Utilities/getDefaultAlertDefinition.js +18 -8
- package/src/View/Alert/Utilities/mapAlertDefinition.js +5 -1
- package/src/View/Alert/Wizard/AlertBehaviourWizardSection.d.ts +1 -1
- package/src/View/Alert/Wizard/AlertBehaviourWizardSection.js +68 -49
- package/src/View/Alert/Wizard/AlertButtonsEditor.d.ts +1 -1
- package/src/View/Alert/Wizard/AlertButtonsEditor.js +54 -52
- package/src/View/Alert/Wizard/AlertMessageWizardSection.d.ts +1 -1
- package/src/View/Alert/Wizard/AlertMessageWizardSection.js +37 -31
- package/src/View/Alert/Wizard/AlertNotificationWizardSection.d.ts +1 -1
- package/src/View/Alert/Wizard/AlertNotificationWizardSection.js +34 -28
- package/src/View/Alert/Wizard/AlertRulesWizardSection.js +38 -28
- package/src/View/Alert/Wizard/AlertScopeWizardSection.d.ts +1 -1
- package/src/View/Alert/Wizard/AlertScopeWizardSection.js +15 -10
- package/src/View/Alert/Wizard/AlertSelectQueryWizard.js +19 -14
- package/src/View/Alert/Wizard/AlertTypeWizardSection.d.ts +1 -1
- package/src/View/Alert/Wizard/AlertTypeWizardSection.js +26 -19
- package/src/View/Alert/Wizard/AlertWizard.js +66 -61
- package/src/View/Alert/Wizard/BaseAlertScopeWizardSection.js +19 -14
- package/src/View/Alert/Wizard/isValidAlertRules.js +8 -4
- package/src/View/BulkUpdate/BulkUpdatePopup.js +37 -39
- package/src/View/BulkUpdate/BulkUpdateViewPanel.js +32 -28
- package/src/View/CalculatedColumn/CalculatedColumnSummary.js +22 -17
- package/src/View/CalculatedColumn/Utilities/getCalculatedColumnSettingsTags.js +5 -1
- package/src/View/CalculatedColumn/Wizard/CalculatedColumnDefinitionWizardSection.d.ts +1 -1
- package/src/View/CalculatedColumn/Wizard/CalculatedColumnDefinitionWizardSection.js +43 -36
- package/src/View/CalculatedColumn/Wizard/CalculatedColumnExpressionWizardSection.d.ts +1 -1
- package/src/View/CalculatedColumn/Wizard/CalculatedColumnExpressionWizardSection.js +28 -21
- package/src/View/CalculatedColumn/Wizard/CalculatedColumnSettingsWizardSection.d.ts +1 -1
- package/src/View/CalculatedColumn/Wizard/CalculatedColumnSettingsWizardSection.js +47 -49
- package/src/View/CalculatedColumn/Wizard/CalculatedColumnTypeSection.d.ts +1 -1
- package/src/View/CalculatedColumn/Wizard/CalculatedColumnTypeSection.js +18 -13
- package/src/View/CalculatedColumn/Wizard/CalculatedColumnWizard.d.ts +1 -1
- package/src/View/CalculatedColumn/Wizard/CalculatedColumnWizard.js +56 -51
- package/src/View/CalculatedColumn/utils.js +5 -1
- package/src/View/CellSummary/CellSummaryDetails.js +11 -6
- package/src/View/CellSummary/CellSummaryPopover.js +9 -4
- package/src/View/CellSummary/CellSummaryPopup.js +12 -8
- package/src/View/CellSummary/CellSummaryStatusBarSubPanelPopover.js +11 -6
- package/src/View/CellSummary/CellSummaryStatusPanel.js +16 -11
- package/src/View/CellSummary/CellSummaryViewPanel.js +28 -24
- package/src/View/Charting/ChartingStatusBarPopover.js +17 -12
- package/src/View/Charting/ChartingViewPanel.js +18 -13
- package/src/View/Charting/ChartingWizard/AgChargingWizard/AgChargingWizard.js +23 -18
- package/src/View/Charting/ChartingWizard/AgChargingWizard/PreviewChartSection.js +14 -9
- package/src/View/Charting/ChartingWizard/AgChargingWizard/SettingsSection.js +22 -16
- package/src/View/Charting/ChartingWizard/AgChargingWizard/index.js +4 -1
- package/src/View/Charting/ChartingWizard/ChartingWizard.js +14 -10
- package/src/View/Charting/ChartingWizard/ExternalChartingWizard/ExternalChartingWizard.js +18 -13
- package/src/View/Charting/ChartingWizard/ExternalChartingWizard/SettingsSection.js +14 -8
- package/src/View/Charting/ChartingWizard/ExternalChartingWizard/index.js +4 -1
- package/src/View/Charting/ChartingWizard/index.js +4 -1
- package/src/View/Charting/DeleteChartButton.js +11 -6
- package/src/View/Charting/EditChartButton.js +13 -8
- package/src/View/Charting/ShowChartButton.js +26 -21
- package/src/View/Charting/useAgChartState.js +12 -7
- package/src/View/Charting/useChartingElements.js +36 -33
- package/src/View/Charting/useExternalChartState.js +12 -7
- package/src/View/ColumnInfo/ColumnInfo.js +43 -39
- package/src/View/ColumnInfo/ColumnInfoPopup.js +13 -8
- package/src/View/Components/AdaptableButton/index.js +13 -8
- package/src/View/Components/AdaptableDateInput/index.d.ts +2 -2
- package/src/View/Components/AdaptableDateInput/index.js +15 -13
- package/src/View/Components/AdaptableIconComponent/index.js +11 -6
- package/src/View/Components/AdaptableIconComponent/useCustomIcon.js +7 -3
- package/src/View/Components/AdaptableIconSelector/index.js +11 -6
- package/src/View/Components/AdaptableInput/index.d.ts +1 -1
- package/src/View/Components/AdaptableInput/index.js +11 -8
- package/src/View/Components/AdaptableObjectCollection/index.js +11 -6
- package/src/View/Components/AdaptableObjectList/AdaptableObjectCompactList.js +33 -27
- package/src/View/Components/AdaptableObjectList/AdaptableObjectList.js +47 -40
- package/src/View/Components/AdaptableObjectList/index.js +5 -1
- package/src/View/Components/AdaptableObjectRow/index.js +12 -7
- package/src/View/Components/Badge/index.js +11 -6
- package/src/View/Components/Buttons/ButtonApply.js +9 -4
- package/src/View/Components/Buttons/ButtonBase/index.d.ts +1 -1
- package/src/View/Components/Buttons/ButtonBase/index.js +10 -5
- package/src/View/Components/Buttons/ButtonClear.js +9 -4
- package/src/View/Components/Buttons/ButtonClone.js +9 -4
- package/src/View/Components/Buttons/ButtonClose.js +9 -4
- package/src/View/Components/Buttons/ButtonConfigure.js +9 -4
- package/src/View/Components/Buttons/ButtonDelete.js +11 -8
- package/src/View/Components/Buttons/ButtonEdit.js +9 -4
- package/src/View/Components/Buttons/ButtonExpand.js +9 -4
- package/src/View/Components/Buttons/ButtonExport.js +9 -4
- package/src/View/Components/Buttons/ButtonFunction.js +9 -4
- package/src/View/Components/Buttons/ButtonGeneral.js +9 -4
- package/src/View/Components/Buttons/ButtonInfo.js +9 -4
- package/src/View/Components/Buttons/ButtonInvalid.js +9 -4
- package/src/View/Components/Buttons/ButtonLogin.js +9 -4
- package/src/View/Components/Buttons/ButtonLogout.js +9 -4
- package/src/View/Components/Buttons/ButtonMaximise.js +9 -4
- package/src/View/Components/Buttons/ButtonMinimise.js +9 -4
- package/src/View/Components/Buttons/ButtonNew.js +9 -4
- package/src/View/Components/Buttons/ButtonNewPage.js +9 -4
- package/src/View/Components/Buttons/ButtonOpen.d.ts +5 -0
- package/src/View/Components/Buttons/ButtonOpen.js +12 -0
- package/src/View/Components/Buttons/ButtonPause.js +9 -4
- package/src/View/Components/Buttons/ButtonPlay.js +10 -5
- package/src/View/Components/Buttons/ButtonPreviewDelete.js +7 -4
- package/src/View/Components/Buttons/ButtonSave.js +9 -4
- package/src/View/Components/Buttons/ButtonSchedule.js +9 -4
- package/src/View/Components/Buttons/ButtonShare.js +12 -8
- package/src/View/Components/Buttons/ButtonShow.js +9 -4
- package/src/View/Components/Buttons/ButtonShowChart.js +9 -4
- package/src/View/Components/Buttons/ButtonStop.js +9 -4
- package/src/View/Components/Buttons/ButtonUndo.js +9 -4
- package/src/View/Components/Buttons/ButtonUnsuspend.d.ts +8 -0
- package/src/View/Components/Buttons/ButtonUnsuspend.js +22 -0
- package/src/View/Components/Buttons/EntityListActionButtons.js +19 -14
- package/src/View/Components/Buttons/SuspendToggleButton/SuspendToggleButton.js +8 -4
- package/src/View/Components/Buttons/SuspendToggleButton/index.js +4 -1
- package/src/View/Components/CellPopup/index.d.ts +1 -1
- package/src/View/Components/CellPopup/index.js +14 -10
- package/src/View/Components/ColumnSelector/index.d.ts +1 -1
- package/src/View/Components/ColumnSelector/index.js +12 -7
- package/src/View/Components/EntityRowItem.js +7 -2
- package/src/View/Components/EntityRulesEditor/EntityRulePredicatesEditor/EntityRulePredicateEditor.js +23 -18
- package/src/View/Components/EntityRulesEditor/EntityRulePredicatesEditor/EntityRulePredicatesEditor.js +32 -27
- package/src/View/Components/EntityRulesEditor/EntityRulePredicatesEditor/index.js +5 -1
- package/src/View/Components/EntityRulesEditor/Utilities.js +5 -1
- package/src/View/Components/EntityRulesEditor/index.d.ts +2 -2
- package/src/View/Components/EntityRulesEditor/index.js +40 -35
- package/src/View/Components/ExpressionWizard.js +22 -17
- package/src/View/Components/ExternalRenderer.d.ts +1 -1
- package/src/View/Components/ExternalRenderer.js +10 -6
- package/src/View/Components/FilterForm/FilterForm.js +85 -73
- package/src/View/Components/FilterForm/ListBoxFilterForm.js +36 -33
- package/src/View/Components/FilterForm/ListBoxMenu.js +13 -8
- package/src/View/Components/FilterForm/QuickFilterForm.js +50 -44
- package/src/View/Components/FilterForm/QuickFilterValues.d.ts +2 -2
- package/src/View/Components/FilterForm/QuickFilterValues.js +33 -27
- package/src/View/Components/FilterForm/Waiting.d.ts +1 -1
- package/src/View/Components/FilterForm/Waiting.js +14 -10
- package/src/View/Components/FilterForm/getDefaultColumnFilterPredicate.js +5 -1
- package/src/View/Components/Forms/AdaptableFormControlTextClear.d.ts +1 -1
- package/src/View/Components/Forms/AdaptableFormControlTextClear.js +14 -10
- package/src/View/Components/ListBox/DualListBoxEditor.js +58 -53
- package/src/View/Components/ListBox/ListBoxFilterSortComponent.js +15 -10
- package/src/View/Components/ModuleProfile.js +9 -4
- package/src/View/Components/ModuleSummary/ModuleDetail.js +11 -6
- package/src/View/Components/ModuleSummary/ModuleHeader.js +13 -8
- package/src/View/Components/ModuleSummary/SummaryRowItem.js +9 -4
- package/src/View/Components/ModuleValueSelector/index.js +19 -15
- package/src/View/Components/NewScopeComponent.js +52 -45
- package/src/View/Components/Panels/FilterFormPanel.js +27 -22
- package/src/View/Components/Panels/PanelDashboard/index.js +9 -4
- package/src/View/Components/Panels/PanelFooter.js +13 -8
- package/src/View/Components/Panels/PanelToolPanel/index.js +20 -16
- package/src/View/Components/Panels/PanelWithButton.js +21 -16
- package/src/View/Components/Panels/PanelWithImage.js +20 -16
- package/src/View/Components/Panels/PanelWithRow.js +12 -7
- package/src/View/Components/Panels/PanelWithTwoButtons.js +12 -7
- package/src/View/Components/Panels/ToolPanelSettingsPanel.js +11 -6
- package/src/View/Components/PermittedValuesSelector/PermitedValuesSelector.js +20 -15
- package/src/View/Components/PermittedValuesSelector/index.js +5 -1
- package/src/View/Components/Popups/AdaptableLoadingScreen.js +11 -6
- package/src/View/Components/Popups/AdaptablePopup/AdaptablePopup.js +31 -26
- package/src/View/Components/Popups/AdaptablePopup/AdaptablePopupBody.js +12 -7
- package/src/View/Components/Popups/AdaptablePopup/AdaptablePopupDialog.js +25 -21
- package/src/View/Components/Popups/AdaptablePopup/AdaptablePopupModuleView.js +29 -24
- package/src/View/Components/Popups/AdaptablePopup/CustomSettingsPanelView.js +9 -4
- package/src/View/Components/Popups/AdaptablePopup/Navigation.js +16 -11
- package/src/View/Components/Popups/AdaptablePopup/PopupContext.js +8 -3
- package/src/View/Components/Popups/AdaptablePopup/PopupPanel.js +17 -12
- package/src/View/Components/Popups/AdaptablePopup/TopBar.js +17 -12
- package/src/View/Components/Popups/AdaptablePopup/index.js +5 -1
- package/src/View/Components/Popups/AdaptablePopup/useMenuItems.js +15 -10
- package/src/View/Components/Popups/AdaptablePopupAlert.js +27 -22
- package/src/View/Components/Popups/AdaptablePopupConfirmation.js +30 -25
- package/src/View/Components/Popups/AdaptablePopupPrompt.js +23 -18
- package/src/View/Components/Popups/AdaptablePopupTeamSharing.js +31 -26
- package/src/View/Components/Popups/AdaptableToaster.js +18 -13
- package/src/View/Components/Popups/FormPopups/FormPopups.js +25 -19
- package/src/View/Components/Popups/Utilities.js +17 -10
- package/src/View/Components/Popups/WindowPopups/WindowPopups.js +27 -23
- package/src/View/Components/Popups/WindowPopups/windowFactory.js +16 -13
- package/src/View/Components/PredicateEditor/PredicateEditor.js +33 -28
- package/src/View/Components/PreviewResultsPanel.js +18 -13
- package/src/View/Components/RangesComponent.js +62 -54
- package/src/View/Components/ScopeComponent.js +28 -23
- package/src/View/Components/Selectors/ColumnSelector.d.ts +12 -17
- package/src/View/Components/Selectors/ColumnSelector.js +29 -43
- package/src/View/Components/Selectors/ColumnSelectorOld.d.ts +18 -0
- package/src/View/Components/Selectors/ColumnSelectorOld.js +51 -0
- package/src/View/Components/Selectors/ColumnValueSelector.d.ts +4 -23
- package/src/View/Components/Selectors/ColumnValueSelector.js +43 -130
- package/src/View/Components/Selectors/PermittedValuesSelector.d.ts +14 -0
- package/src/View/Components/Selectors/PermittedValuesSelector.js +73 -0
- package/src/View/Components/SharedProps/BaseProps.js +2 -1
- package/src/View/Components/SharedProps/ConfigEntityRowProps.js +2 -1
- package/src/View/Components/SharedProps/EditableConfigEntityState.js +5 -2
- package/src/View/Components/SharedProps/ModuleSummaryProps.js +2 -1
- package/src/View/Components/SharedProps/ModuleViewPopupProps.js +2 -1
- package/src/View/Components/SharedProps/ToolPanelModuleViewPopupProps.js +2 -1
- package/src/View/Components/SharedProps/ToolbarModuleViewPopupProps.js +2 -1
- package/src/View/Components/SharedProps/ViewPanelProps.js +2 -1
- package/src/View/Components/SharedProps/WizardScopeState.js +2 -1
- package/src/View/Components/StyleComponent.d.ts +2 -3
- package/src/View/Components/StyleComponent.js +90 -88
- package/src/View/Components/StyleVisualItem.js +14 -9
- package/src/View/Components/TagValueSelector/index.js +15 -9
- package/src/View/Components/ToolPanel/AdaptableToolPanel.js +44 -39
- package/src/View/Components/ToolPanel/CustomToolPanelContent.js +18 -13
- package/src/View/Components/ToolPanel/ToolPanelPopup.js +28 -24
- package/src/View/Components/ToolPanel/ToolPanelWrapper.d.ts +1 -1
- package/src/View/Components/ToolPanel/ToolPanelWrapper.js +21 -16
- package/src/View/Components/ValueSelector/index.d.ts +2 -2
- package/src/View/Components/ValueSelector/index.js +53 -47
- package/src/View/Components/WizardSummaryPage.js +12 -7
- package/src/View/Components/WizardSummaryRow.js +11 -6
- package/src/View/CustomSort/CustomSortSummary.js +37 -32
- package/src/View/CustomSort/Wizard/CustomSortColumnWizardSection.d.ts +1 -1
- package/src/View/CustomSort/Wizard/CustomSortColumnWizardSection.js +24 -17
- package/src/View/CustomSort/Wizard/CustomSortSummaryWizard.js +9 -4
- package/src/View/CustomSort/Wizard/CustomSortValuesWizardSection.d.ts +1 -1
- package/src/View/CustomSort/Wizard/CustomSortValuesWizardSection.js +36 -29
- package/src/View/CustomSort/Wizard/CustomSortWizard.js +37 -32
- package/src/View/Dashboard/CustomDashboardButton.js +12 -7
- package/src/View/Dashboard/CustomToolbar.js +25 -19
- package/src/View/Dashboard/Dashboard.js +42 -38
- package/src/View/Dashboard/DashboardPopup.js +33 -29
- package/src/View/Dashboard/DashboardToolbarFactory.js +18 -14
- package/src/View/Dashboard/DashboardViewPanel.js +14 -10
- package/src/View/Dashboard/ModuleToolbarWrapper.js +13 -8
- package/src/View/Dashboard/PinnedDashboard.js +19 -11
- package/src/View/Dashboard/PinnedToolbarsSelector.js +17 -12
- package/src/View/DataChangeHistory/DataChangeHistoryGrid.js +23 -16
- package/src/View/DataChangeHistory/DataChangeHistoryPopup.js +38 -34
- package/src/View/DataChangeHistory/DataChangeHistoryStatusBarContent.js +9 -4
- package/src/View/DataChangeHistory/DataChangeHistoryViewPanel.js +41 -36
- package/src/View/DataChangeHistory/buildActionColumnButton.js +5 -1
- package/src/View/DataImport/DataImportPopup.js +17 -12
- package/src/View/DataImport/DataImportWizard/DataImportWizard.d.ts +1 -1
- package/src/View/DataImport/DataImportWizard/DataImportWizard.js +30 -25
- package/src/View/DataImport/DataImportWizard/index.js +4 -1
- package/src/View/DataImport/DataImportWizard/sections/ColumnsSection.js +34 -29
- package/src/View/DataImport/DataImportWizard/sections/DataPreview.js +26 -21
- package/src/View/DataImport/DataImportWizard/sections/ImportSection.js +23 -18
- package/src/View/DataImport/DataImportWizard/sections/UploadSection/UploadFileSection.js +10 -5
- package/src/View/DataImport/DataImportWizard/sections/UploadSection/UploadSection.d.ts +1 -1
- package/src/View/DataImport/DataImportWizard/sections/UploadSection/UploadSection.js +22 -17
- package/src/View/DataImport/DataImportWizard/sections/UploadSection/UploadTextSection.js +11 -6
- package/src/View/DataImport/DataImportWizard/sections/UploadSection/index.js +4 -1
- package/src/View/DataImport/DataImportWizard/sections/ValidationSection.js +23 -18
- package/src/View/DataImport/systemFileHandlers.js +9 -5
- package/src/View/DataSet/DataSetSelector.js +11 -6
- package/src/View/DataSet/DataSetStatusPanelPopover.js +11 -6
- package/src/View/DataSet/DataSetViewPanel.js +16 -11
- package/src/View/Export/ExportSelector.js +27 -24
- package/src/View/Export/ExportTablePopup.js +12 -7
- package/src/View/Export/ExportViewPanel.d.ts +4 -4
- package/src/View/Export/ExportViewPanel.js +51 -49
- package/src/View/Export/ReportExportDropdown.js +21 -16
- package/src/View/Export/Wizard/NewReportWizard.js +37 -32
- package/src/View/Export/Wizard/ReportColumnTypeWizard.js +19 -14
- package/src/View/Export/Wizard/ReportColumnsWizardSection.d.ts +1 -1
- package/src/View/Export/Wizard/ReportColumnsWizardSection.js +35 -28
- package/src/View/Export/Wizard/ReportNameWizardSection.d.ts +1 -1
- package/src/View/Export/Wizard/ReportNameWizardSection.js +28 -21
- package/src/View/Export/Wizard/ReportRowTypeWizard.js +19 -14
- package/src/View/Export/Wizard/ReportRowsWizardSection.d.ts +1 -1
- package/src/View/Export/Wizard/ReportRowsWizardSection.js +37 -30
- package/src/View/Export/Wizard/ReportScopeWizard.js +14 -9
- package/src/View/Export/Wizard/ReportSettingsWizard.js +23 -18
- package/src/View/Export/Wizard/ReportSummaryWizard.js +9 -4
- package/src/View/Export/constants.js +5 -2
- package/src/View/Filter/ActiveFiltersPanel.js +12 -7
- package/src/View/Filter/FilterStatusBarSubPanelPopover.js +9 -4
- package/src/View/Filter/FilterSummary.js +23 -18
- package/src/View/Filter/FilterViewPanel.js +25 -21
- package/src/View/FlashingCell/FlashingCellStyle.js +14 -10
- package/src/View/FlashingCell/Wizard/FlashingCellRulesWizardSection.js +20 -14
- package/src/View/FlashingCell/Wizard/FlashingCellScopeWizardSection.d.ts +1 -1
- package/src/View/FlashingCell/Wizard/FlashingCellScopeWizardSection.js +15 -10
- package/src/View/FlashingCell/Wizard/FlashingCellSettingsWizardSection.d.ts +1 -1
- package/src/View/FlashingCell/Wizard/FlashingCellSettingsWizardSection.js +42 -36
- package/src/View/FlashingCell/Wizard/FlashingCellStyleWizardSection.d.ts +1 -1
- package/src/View/FlashingCell/Wizard/FlashingCellStyleWizardSection.js +34 -28
- package/src/View/FlashingCell/Wizard/FlashingCellWizard.js +54 -49
- package/src/View/FlashingCell/Wizard/isValidFlashingCellRules.js +8 -4
- package/src/View/FormatColumn/FormatColumnSummary.js +32 -27
- package/src/View/FormatColumn/MoveFormatColumn.js +15 -10
- package/src/View/FormatColumn/Wizard/FormatColumnFormatWizardSection.d.ts +1 -1
- package/src/View/FormatColumn/Wizard/FormatColumnFormatWizardSection.js +161 -152
- package/src/View/FormatColumn/Wizard/FormatColumnRuleWizardSection.d.ts +1 -1
- package/src/View/FormatColumn/Wizard/FormatColumnRuleWizardSection.js +11 -6
- package/src/View/FormatColumn/Wizard/FormatColumnScopeWizardSection.d.ts +1 -1
- package/src/View/FormatColumn/Wizard/FormatColumnScopeWizardSection.js +16 -10
- package/src/View/FormatColumn/Wizard/FormatColumnSettingsWizardSection.d.ts +1 -1
- package/src/View/FormatColumn/Wizard/FormatColumnSettingsWizardSection.js +36 -30
- package/src/View/FormatColumn/Wizard/FormatColumnStyleWizardSection.d.ts +1 -1
- package/src/View/FormatColumn/Wizard/FormatColumnStyleWizardSection.js +25 -17
- package/src/View/FormatColumn/Wizard/FormatColumnWizard.js +56 -49
- package/src/View/FormatColumn/Wizard/constants.js +4 -1
- package/src/View/FreeTextColumn/FreeTextColumnSummary.js +32 -27
- package/src/View/FreeTextColumn/Wizard/FreeTextColumnSettingsWizardSection.d.ts +1 -1
- package/src/View/FreeTextColumn/Wizard/FreeTextColumnSettingsWizardSection.js +60 -63
- package/src/View/FreeTextColumn/Wizard/FreeTextColumnWizard.js +31 -26
- package/src/View/GridFilter/GridFilterExpressionEditor.js +86 -28
- package/src/View/GridFilter/GridFilterPopup.js +48 -11
- package/src/View/GridFilter/GridFilterStatusbar.js +10 -6
- package/src/View/GridFilter/GridFilterViewPanel.d.ts +2 -26
- package/src/View/GridFilter/GridFilterViewPanel.js +66 -161
- package/src/View/GridFilter/GridFilterWindowPopup.js +9 -4
- package/src/View/GridFilter/NamedQuerySelector.d.ts +16 -0
- package/src/View/GridFilter/NamedQuerySelector.js +56 -0
- package/src/View/GridFilter/useGridFilterExpressionEditor.d.ts +26 -0
- package/src/View/GridFilter/useGridFilterExpressionEditor.js +136 -0
- package/src/View/GridFilter/useGridFilterOptionsForExpressionEditor.d.ts +4 -0
- package/src/View/GridFilter/useGridFilterOptionsForExpressionEditor.js +13 -0
- package/src/View/GridInfo/GridInfoPopup/AdaptableObjectsSummary.js +16 -11
- package/src/View/GridInfo/GridInfoPopup/AdaptableOptionsComponent.js +25 -20
- package/src/View/GridInfo/GridInfoPopup/GridInfoPopup.js +39 -32
- package/src/View/GridInfo/GridInfoPopup/index.js +4 -1
- package/src/View/KeyHint.js +9 -4
- package/src/View/Layout/EditCurrentLayoutButton.js +11 -6
- package/src/View/Layout/LayoutCloneButton.js +11 -6
- package/src/View/Layout/LayoutRadioSelector.js +11 -6
- package/src/View/Layout/LayoutStatusBarSubPanelPopover.d.ts +1 -1
- package/src/View/Layout/LayoutStatusBarSubPanelPopover.js +20 -10
- package/src/View/Layout/LayoutViewPanel.d.ts +1 -1
- package/src/View/Layout/LayoutViewPanel.js +32 -27
- package/src/View/Layout/PivotDetailsPopoup.js +12 -7
- package/src/View/Layout/SaveLayoutButton.js +19 -13
- package/src/View/Layout/Wizard/Components/ColumnLabels.js +15 -11
- package/src/View/Layout/Wizard/LayoutWizard.js +61 -46
- package/src/View/Layout/Wizard/sections/AggregationsSection.js +44 -37
- package/src/View/Layout/Wizard/sections/ColumnsSection.js +68 -62
- package/src/View/Layout/Wizard/sections/FilterSection.js +48 -43
- package/src/View/Layout/Wizard/sections/GridFilterSection.d.ts +9 -0
- package/src/View/Layout/Wizard/sections/GridFilterSection.js +44 -0
- package/src/View/Layout/Wizard/sections/PivotColumnsSection.js +27 -21
- package/src/View/Layout/Wizard/sections/RowGroupingSection.js +33 -27
- package/src/View/Layout/Wizard/sections/SettingsSection.js +35 -29
- package/src/View/Layout/Wizard/sections/SortSection.js +32 -26
- package/src/View/Layout/Wizard/sections/Utilities.js +5 -1
- package/src/View/License/LicenseWatermark.js +1 -1
- package/src/View/License/index.js +5 -1
- package/src/View/NamedQuery/EditCurrentQueryButton.js +12 -7
- package/src/View/NamedQuery/Wizard/NamedQueryExpressionWizardSection.js +24 -17
- package/src/View/NamedQuery/Wizard/NamedQuerySettingsWizardSection.js +29 -22
- package/src/View/NamedQuery/Wizard/NamedQueryWizard.js +35 -30
- package/src/View/Notes/NotesListing.js +19 -14
- package/src/View/Notes/NotesPopup.js +24 -19
- package/src/View/PlusMinus/PlusMinusSummary.js +31 -26
- package/src/View/PlusMinus/Wizard/PlusMinusRuleWizardSection.js +18 -12
- package/src/View/PlusMinus/Wizard/PlusMinusScopeWizardSection.js +11 -6
- package/src/View/PlusMinus/Wizard/PlusMinusSettingsWizardSection.js +39 -32
- package/src/View/PlusMinus/Wizard/PlusMinusWizard.js +31 -26
- package/src/View/QuickSearch/FloatingQuickSearch/FloatingQuickSearch.js +18 -13
- package/src/View/QuickSearch/QuickSearchInput.js +18 -13
- package/src/View/QuickSearch/QuickSearchPopup.js +30 -26
- package/src/View/QuickSearch/QuickSearchStatusBarContent.js +15 -10
- package/src/View/QuickSearch/QuickSearchViewPanel.js +9 -4
- package/src/View/QuickSearch/useQuickSearchDebounced.d.ts +1 -1
- package/src/View/QuickSearch/useQuickSearchDebounced.js +12 -7
- package/src/View/Schedule/Wizard/ScheduleScheduleSummary.js +13 -8
- package/src/View/Schedule/Wizard/ScheduleScheduleWizard.js +32 -26
- package/src/View/Schedule/Wizard/ScheduleSettingsWizard/ScheduleSettingsGlue42.js +18 -13
- package/src/View/Schedule/Wizard/ScheduleSettingsWizard/ScheduleSettingsIPushPull.js +29 -24
- package/src/View/Schedule/Wizard/ScheduleSettingsWizard/ScheduleSettingsOpenFin.js +18 -13
- package/src/View/Schedule/Wizard/ScheduleSettingsWizard/ScheduleSettingsReminder.js +31 -23
- package/src/View/Schedule/Wizard/ScheduleSettingsWizard/ScheduleSettingsReport.d.ts +1 -1
- package/src/View/Schedule/Wizard/ScheduleSettingsWizard/ScheduleSettingsReport.js +22 -16
- package/src/View/Schedule/Wizard/ScheduleSettingsWizard/ScheduleSettingsSummary.js +20 -14
- package/src/View/Schedule/Wizard/ScheduleSettingsWizard/ScheduleSettingsWizard.js +25 -20
- package/src/View/Schedule/Wizard/ScheduleSettingsWizard/index.js +9 -3
- package/src/View/Schedule/Wizard/ScheduleSettingsWizard/isSettingsValid.js +22 -17
- package/src/View/Schedule/Wizard/ScheduleWizard.js +52 -47
- package/src/View/Shortcut/Wizard/ShortcutScopeWizardSection.js +11 -6
- package/src/View/Shortcut/Wizard/ShortcutSettingsWizard.js +51 -45
- package/src/View/Shortcut/Wizard/ShortcutWizard.js +41 -35
- package/src/View/Shortcut/shortcutKeys.js +4 -1
- package/src/View/Shortcut/shortcutOperations.js +9 -6
- package/src/View/SmartEdit/SmartEditPopup.js +30 -26
- package/src/View/SmartEdit/SmartEditViewPanel.js +39 -33
- package/src/View/SpecialColumnSettingsWizardStep.js +41 -33
- package/src/View/StateManagement/StateManagementPopup.js +27 -22
- package/src/View/StateManagement/StateManagementViewPanel.js +19 -14
- package/src/View/StateManagement/components/ClearButton.js +9 -4
- package/src/View/StateManagement/components/ExportDropdown.js +12 -7
- package/src/View/StateManagement/components/LoadButton.js +11 -6
- package/src/View/StateManagement/handleExportState.js +9 -4
- package/src/View/StatusBar/AdaptableStatusBar.js +19 -14
- package/src/View/StatusBar/StatusBarPanel.js +16 -12
- package/src/View/StatusBar/StatusBarPopup.js +19 -14
- package/src/View/StyledColumn/Wizard/StyledColumnBadgeSection.js +59 -52
- package/src/View/StyledColumn/Wizard/StyledColumnSparklineSettingsSection.js +149 -147
- package/src/View/StyledColumn/Wizard/StyledColumnWizard.js +51 -47
- package/src/View/StyledColumn/Wizard/StyledColumnWizardColumnSection.d.ts +1 -1
- package/src/View/StyledColumn/Wizard/StyledColumnWizardColumnSection.js +31 -22
- package/src/View/StyledColumn/Wizard/StyledColumnWizardSettingsSection.d.ts +1 -1
- package/src/View/StyledColumn/Wizard/StyledColumnWizardSettingsSection.js +27 -21
- package/src/View/StyledColumn/Wizard/StyledColumnWizardStyleSection/Components/PercentBarColumnComparisonPreview.js +14 -9
- package/src/View/StyledColumn/Wizard/StyledColumnWizardStyleSection/Components/PercentBarRangesPreview.js +12 -7
- package/src/View/StyledColumn/Wizard/StyledColumnWizardStyleSection/Components/PercentBarStylePreview.js +12 -7
- package/src/View/StyledColumn/Wizard/StyledColumnWizardStyleSection/Components/StyledColumnBadgePreview.js +20 -15
- package/src/View/StyledColumn/Wizard/StyledColumnWizardStyleSection/StyledColumnWizardStyleSection.js +56 -57
- package/src/View/StyledColumn/Wizard/StyledColumnWizardStyleSection/index.js +4 -1
- package/src/View/StyledColumn/Wizard/StyledColumnWizardTypeSection.js +29 -30
- package/src/View/SystemStatus/SystemStatusEntityRow.js +17 -12
- package/src/View/SystemStatus/SystemStatusPopup.js +22 -18
- package/src/View/SystemStatus/SystemStatusStatusBarContent.js +13 -8
- package/src/View/SystemStatus/SystemStatusViewPanel.js +12 -8
- package/src/View/SystemStatus/Utilities/getStatusItemStyle.js +10 -5
- package/src/View/TeamSharing/SharedEntityDependencies.js +18 -12
- package/src/View/TeamSharing/SharedEntityObjectView.js +30 -23
- package/src/View/TeamSharing/TeamSharingApplyButton.js +11 -6
- package/src/View/Theme/ThemeEditor.d.ts +1 -1
- package/src/View/Theme/ThemeEditor.js +32 -27
- package/src/View/Theme/ThemeEditorWindow.js +13 -8
- package/src/View/Theme/ThemeField.js +23 -18
- package/src/View/Theme/ThemePopup.js +28 -39
- package/src/View/Theme/ThemeSelector.d.ts +5 -0
- package/src/View/Theme/ThemeSelector.js +34 -0
- package/src/View/Theme/ThemeStatusbar.d.ts +2 -0
- package/src/View/Theme/ThemeStatusbar.js +14 -0
- package/src/View/Theme/ThemeViewPanel.d.ts +2 -13
- package/src/View/Theme/ThemeViewPanel.js +14 -55
- package/src/View/Theme/VariantSelector.js +13 -8
- package/src/View/UIHelper.d.ts +1 -1
- package/src/View/UIHelper.js +152 -120
- package/src/View/UIInterfaces.js +2 -1
- package/src/View/Wizard/AdaptableWizard.js +30 -24
- package/src/View/Wizard/Interface/IAdaptableWizard.js +2 -1
- package/src/View/Wizard/ObjectTagsWizardSection.d.ts +1 -1
- package/src/View/Wizard/ObjectTagsWizardSection.js +20 -14
- package/src/View/Wizard/OnePageAdaptableWizard.d.ts +1 -1
- package/src/View/Wizard/OnePageAdaptableWizard.js +42 -32
- package/src/View/Wizard/OnePageWizards.d.ts +2 -2
- package/src/View/Wizard/OnePageWizards.js +59 -50
- package/src/View/Wizard/TypeRadio.js +12 -7
- package/src/View/Wizard/WizardLegend.js +11 -6
- package/src/View/Wizard/useKeyboardNavigation.js +9 -4
- package/src/View/renderWithAdaptableContext.js +14 -9
- package/src/agGrid/ActionColumnRenderer.js +15 -9
- package/src/agGrid/Adaptable.d.ts +18 -12
- package/src/agGrid/Adaptable.js +439 -445
- package/src/agGrid/AdaptableLogger.js +19 -15
- package/src/agGrid/BadgeRenderer.js +11 -6
- package/src/agGrid/CheckboxRenderer.d.ts +5 -0
- package/src/agGrid/CheckboxRenderer.js +12 -3
- package/src/agGrid/ColumnSetupInfo.d.ts +1 -1
- package/src/agGrid/ColumnSetupInfo.js +2 -1
- package/src/agGrid/FilterWrapper.js +14 -9
- package/src/agGrid/FloatingFilterWrapper.js +13 -8
- package/src/agGrid/PercentBarRenderer.js +10 -5
- package/src/agGrid/agGridHelper.d.ts +0 -1
- package/src/agGrid/agGridHelper.js +117 -110
- package/src/agGrid/agGridMenuHelper.js +35 -30
- package/src/agGrid/attachAddaptableColumnTypes.js +8 -4
- package/src/agGrid/createAgStatusPanelComponent.js +10 -5
- package/src/agGrid/editors/AdaptableDateEditor/InternalAdaptableDateEditor.d.ts +2 -2
- package/src/agGrid/editors/AdaptableDateEditor/InternalAdaptableDateEditor.js +16 -12
- package/src/agGrid/editors/AdaptableDateEditor/index.js +24 -19
- package/src/agGrid/editors/AdaptableNumberEditor/InternalAdaptableNumberEditor.d.ts +2 -2
- package/src/agGrid/editors/AdaptableNumberEditor/InternalAdaptableNumberEditor.js +10 -6
- package/src/agGrid/editors/AdaptableNumberEditor/index.js +21 -16
- package/src/agGrid/index.js +11 -6
- package/src/agGrid/weightedAverage.js +17 -10
- package/src/components/AdaptableFormComponent/AdaptableFormComponent.js +31 -25
- package/src/components/AdaptableFormComponent/index.js +4 -1
- package/src/components/CheckBox/index.d.ts +1 -1
- package/src/components/CheckBox/index.js +17 -13
- package/src/components/CodeBlock/index.js +11 -6
- package/src/components/ColorPicker/ColorPicker.d.ts +2 -2
- package/src/components/ColorPicker/ColorPicker.js +18 -15
- package/src/components/ColorPicker/index.js +4 -1
- package/src/components/ContainerProps.d.ts +2 -2
- package/src/components/ContainerProps.js +2 -1
- package/src/components/Dashboard/Dashboard.d.ts +2 -2
- package/src/components/Dashboard/Dashboard.js +22 -17
- package/src/components/Dashboard/DashboardManager.js +7 -4
- package/src/components/Dashboard/DashboardTab.d.ts +1 -1
- package/src/components/Dashboard/DashboardTab.js +5 -1
- package/src/components/Dashboard/DashboardToolbar.d.ts +1 -1
- package/src/components/Dashboard/DashboardToolbar.js +14 -9
- package/src/components/Dashboard/index.js +6 -3
- package/src/components/Datepicker/Caption.js +20 -15
- package/src/components/Datepicker/CaptionLabel.js +21 -16
- package/src/components/Datepicker/DatepickerContext.js +9 -4
- package/src/components/Datepicker/index.d.ts +2 -2
- package/src/components/Datepicker/index.js +42 -39
- package/src/components/Dialog/index.d.ts +2 -2
- package/src/components/Dialog/index.js +32 -29
- package/src/components/Dialog/useIsOpen.js +6 -3
- package/src/components/DragAndDropContext/DragAndDropContext.js +6 -2
- package/src/components/DragAndDropContext/ModuleManager.js +18 -13
- package/src/components/DragAndDropContext/TabList.js +27 -19
- package/src/components/DragAndDropContext/UnusedPanel.js +15 -10
- package/src/components/DragAndDropContext/types.js +2 -1
- package/src/components/Drawer/index.js +7 -2
- package/src/components/Dropdown/Arrows.js +8 -5
- package/src/components/Dropdown/index.d.ts +2 -2
- package/src/components/Dropdown/index.js +20 -18
- package/src/components/DropdownButton/DropdownButtonItem.d.ts +1 -1
- package/src/components/DropdownButton/DropdownButtonItem.js +2 -1
- package/src/components/DropdownButton/index.d.ts +1 -1
- package/src/components/DropdownButton/index.js +26 -23
- package/src/components/DropdownButton/renderItem.d.ts +1 -1
- package/src/components/DropdownButton/renderItem.js +7 -4
- package/src/components/DropdownButton/useExpanded.d.ts +1 -1
- package/src/components/DropdownButton/useExpanded.js +12 -9
- package/src/components/EllipsisContainer/index.d.ts +1 -1
- package/src/components/EllipsisContainer/index.js +21 -17
- package/src/components/EmptyContent/index.d.ts +1 -1
- package/src/components/EmptyContent/index.js +10 -8
- package/src/components/ErrorBox/index.js +10 -6
- package/src/components/ExpressionEditor/BaseEditorInput.js +61 -56
- package/src/components/ExpressionEditor/EditorButton.js +10 -8
- package/src/components/ExpressionEditor/EditorContext.js +8 -4
- package/src/components/ExpressionEditor/EditorInput.js +25 -22
- package/src/components/ExpressionEditor/EditorInputWithWhereClause.js +27 -24
- package/src/components/ExpressionEditor/ExpressionFunctionDocumentation.js +15 -10
- package/src/components/ExpressionEditor/NamedQueryContext.d.ts +1 -1
- package/src/components/ExpressionEditor/NamedQueryContext.js +8 -4
- package/src/components/ExpressionEditor/QueryBuilder/QueryBuilder.js +70 -34
- package/src/components/ExpressionEditor/QueryBuilder/QueryBuilderInputs.d.ts +13 -2
- package/src/components/ExpressionEditor/QueryBuilder/QueryBuilderInputs.js +85 -51
- package/src/components/ExpressionEditor/QueryBuilder/QueryPredicateBuilder.d.ts +1 -1
- package/src/components/ExpressionEditor/QueryBuilder/QueryPredicateBuilder.js +73 -56
- package/src/components/ExpressionEditor/QueryBuilder/booleanExpressions.js +7 -1
- package/src/components/ExpressionEditor/QueryBuilder/index.js +4 -1
- package/src/components/ExpressionEditor/QueryBuilder/utils.d.ts +2 -1
- package/src/components/ExpressionEditor/QueryBuilder/utils.js +52 -13
- package/src/components/ExpressionEditor/editorButtonsAggregatedBoolean.js +4 -1
- package/src/components/ExpressionEditor/editorButtonsAggregatedScalar.js +4 -1
- package/src/components/ExpressionEditor/editorButtonsCumulativeAggregatedScalar.js +4 -1
- package/src/components/ExpressionEditor/editorButtonsObservable.js +4 -1
- package/src/components/ExpressionEditor/editorButtonsQuantileAggregatedScalar.js +4 -1
- package/src/components/ExpressionEditor/editorButtonsSearch.js +4 -1
- package/src/components/ExpressionEditor/index.d.ts +2 -1
- package/src/components/ExpressionEditor/index.js +156 -132
- package/src/components/FieldWrap/index.js +8 -5
- package/src/components/FileDroppable/FileDroppableState.js +2 -1
- package/src/components/FileDroppable/index.js +33 -29
- package/src/components/FileDroppable/reducer.js +6 -3
- package/src/components/FlexWithFooter.js +11 -9
- package/src/components/FormLayout/index.d.ts +4 -4
- package/src/components/FormLayout/index.js +17 -13
- package/src/components/HelpBlock/index.js +10 -6
- package/src/components/Icon/index.js +29 -20
- package/src/components/IconSelector/IconSelector.js +32 -27
- package/src/components/IconSelector/index.js +4 -1
- package/src/components/InfiniteTable/index.js +10 -6
- package/src/components/Input/NumberInput.d.ts +1 -1
- package/src/components/Input/NumberInput.js +9 -4
- package/src/components/Input/index.d.ts +2 -2
- package/src/components/Input/index.js +11 -8
- package/src/components/InputGroup/InputGroup.d.ts +7 -0
- package/src/components/InputGroup/InputGroup.js +12 -0
- package/src/components/InputGroup/index.d.ts +1 -0
- package/src/components/InputGroup/index.js +4 -0
- package/src/components/List/GridList/index.js +10 -7
- package/src/components/List/ListGroup/index.js +9 -7
- package/src/components/List/ListGroupItem/index.d.ts +2 -2
- package/src/components/List/ListGroupItem/index.js +10 -8
- package/src/components/Loader/Loader.js +10 -4
- package/src/components/Loader/index.js +7 -2
- package/src/components/Logo/index.js +7 -2
- package/src/components/Modal/Backdrop.d.ts +2 -2
- package/src/components/Modal/Backdrop.js +17 -12
- package/src/components/Modal/index.js +23 -19
- package/src/components/NotifyResize/index.js +7 -4
- package/src/components/OverlayTrigger/Overlay.js +23 -19
- package/src/components/OverlayTrigger/index.d.ts +1 -1
- package/src/components/OverlayTrigger/index.js +53 -43
- package/src/components/OverlayTrigger/useAgGridClassName.js +7 -5
- package/src/components/OverlayTrigger/utils.js +9 -3
- package/src/components/Panel/index.d.ts +1 -1
- package/src/components/Panel/index.js +15 -12
- package/src/components/PopupWithFooter.js +11 -8
- package/src/components/ProgressIndicator/ProgressIndicator.js +17 -12
- package/src/components/Radio/index.d.ts +1 -1
- package/src/components/Radio/index.js +20 -15
- package/src/components/ResizeObserver/getResizeObserverObject.js +5 -1
- package/src/components/ResizeObserver/index.d.ts +1 -1
- package/src/components/ResizeObserver/index.js +24 -17
- package/src/components/Select/Select.d.ts +30 -0
- package/src/components/Select/Select.js +161 -0
- package/src/components/Select/index.d.ts +1 -0
- package/src/components/Select/index.js +4 -0
- package/src/components/SelectList.js +9 -4
- package/src/components/SelectableList/index.d.ts +1 -1
- package/src/components/SelectableList/index.js +13 -8
- package/src/components/SimpleButton/index.js +22 -19
- package/src/components/SizedContainer/index.js +11 -9
- package/src/components/StylePreview.js +11 -6
- package/src/components/Table/index.js +7 -4
- package/src/components/Tabs/index.d.ts +3 -3
- package/src/components/Tabs/index.js +34 -28
- package/src/components/Tag/Tag.js +9 -5
- package/src/components/Tag/index.js +5 -1
- package/src/components/Textarea/index.d.ts +1 -1
- package/src/components/Textarea/index.js +11 -8
- package/src/components/Toastify/index.js +10 -1
- package/src/components/Toggle/Toggle.d.ts +1 -1
- package/src/components/Toggle/Toggle.js +12 -8
- package/src/components/Toggle/ToggleGroup.js +9 -4
- package/src/components/Toggle/index.js +5 -2
- package/src/components/ToggleButton/index.js +11 -6
- package/src/components/Tooltip/index.js +7 -4
- package/src/components/WarningBox/index.d.ts +4 -0
- package/src/components/WarningBox/index.js +12 -0
- package/src/components/WindowModal/WindowModal.d.ts +2 -2
- package/src/components/WindowModal/WindowModal.js +17 -12
- package/src/components/WindowModal/index.js +4 -1
- package/src/components/WindowModal/useStacking.js +9 -4
- package/src/components/WizardPanel/index.js +8 -5
- package/src/components/icons/DefaultIcon.d.ts +1 -1
- package/src/components/icons/DefaultIcon.js +12 -8
- package/src/components/icons/add-row.js +6 -3
- package/src/components/icons/alert.js +6 -3
- package/src/components/icons/align-center.js +6 -3
- package/src/components/icons/align-justify.js +6 -3
- package/src/components/icons/align-left.js +6 -3
- package/src/components/icons/align-right.js +6 -3
- package/src/components/icons/analysis.js +6 -3
- package/src/components/icons/application.js +6 -3
- package/src/components/icons/arrow-down-long.js +6 -3
- package/src/components/icons/arrow-down.js +6 -3
- package/src/components/icons/arrow-expand.js +6 -3
- package/src/components/icons/arrow-left.js +6 -3
- package/src/components/icons/arrow-right.js +6 -3
- package/src/components/icons/arrow-up-long.js +6 -3
- package/src/components/icons/arrow-up.js +6 -3
- package/src/components/icons/attach-file.js +6 -3
- package/src/components/icons/badge.js +6 -3
- package/src/components/icons/blanks.js +6 -3
- package/src/components/icons/bold.js +6 -3
- package/src/components/icons/boolean-list.js +6 -3
- package/src/components/icons/brush.js +6 -3
- package/src/components/icons/build.js +6 -3
- package/src/components/icons/bulk-update.js +6 -3
- package/src/components/icons/calculated-column.js +6 -3
- package/src/components/icons/calendar.js +6 -3
- package/src/components/icons/call.js +6 -3
- package/src/components/icons/campaign.js +6 -3
- package/src/components/icons/case-lower.js +6 -3
- package/src/components/icons/case-sentence.js +6 -3
- package/src/components/icons/case-upper.js +6 -3
- package/src/components/icons/cell-summary.js +6 -3
- package/src/components/icons/cell-validation.js +6 -3
- package/src/components/icons/chart.js +6 -3
- package/src/components/icons/chat.js +6 -3
- package/src/components/icons/check-box-outline.js +6 -3
- package/src/components/icons/check-box.js +6 -3
- package/src/components/icons/check-circle.js +6 -3
- package/src/components/icons/check.js +6 -3
- package/src/components/icons/clone.js +6 -3
- package/src/components/icons/close.js +6 -3
- package/src/components/icons/cloud-upload.js +6 -3
- package/src/components/icons/collapse.js +6 -3
- package/src/components/icons/column-add.js +6 -3
- package/src/components/icons/column-chooser.js +6 -3
- package/src/components/icons/column-filter.js +6 -3
- package/src/components/icons/column-info.js +6 -3
- package/src/components/icons/comment.js +6 -3
- package/src/components/icons/contact.js +6 -3
- package/src/components/icons/contains.js +6 -3
- package/src/components/icons/custom-sort.js +6 -3
- package/src/components/icons/dashboard.js +6 -3
- package/src/components/icons/data-set.js +6 -3
- package/src/components/icons/date-range.js +6 -3
- package/src/components/icons/delete.js +6 -3
- package/src/components/icons/division.js +6 -3
- package/src/components/icons/dock.js +6 -3
- package/src/components/icons/dollar.js +6 -3
- package/src/components/icons/drag.js +6 -3
- package/src/components/icons/edit.js +6 -3
- package/src/components/icons/ends-with.js +6 -3
- package/src/components/icons/equal.js +6 -3
- package/src/components/icons/equation.js +6 -3
- package/src/components/icons/error.js +6 -3
- package/src/components/icons/expand.js +6 -3
- package/src/components/icons/exponent.js +6 -3
- package/src/components/icons/export.js +6 -3
- package/src/components/icons/fast-backward.js +6 -3
- package/src/components/icons/fast-forward.js +6 -3
- package/src/components/icons/fdc3.js +6 -3
- package/src/components/icons/filter.js +6 -3
- package/src/components/icons/flashing-cell.js +6 -3
- package/src/components/icons/folder-open.js +6 -3
- package/src/components/icons/folder-shared.js +6 -3
- package/src/components/icons/folder.js +6 -3
- package/src/components/icons/format-column.js +6 -3
- package/src/components/icons/freetext-column.js +6 -3
- package/src/components/icons/function.js +6 -3
- package/src/components/icons/gradient-column.js +6 -3
- package/src/components/icons/gradient.js +6 -3
- package/src/components/icons/greater-than-or-equal.js +6 -3
- package/src/components/icons/greater-than.js +6 -3
- package/src/components/icons/grid-filter.js +6 -3
- package/src/components/icons/hide-column.js +6 -3
- package/src/components/icons/history.js +6 -3
- package/src/components/icons/home.js +6 -3
- package/src/components/icons/import-export.js +6 -3
- package/src/components/icons/import.js +6 -3
- package/src/components/icons/index.js +326 -319
- package/src/components/icons/info.js +6 -3
- package/src/components/icons/instrument.js +6 -3
- package/src/components/icons/interactions.js +6 -3
- package/src/components/icons/invalid.js +6 -3
- package/src/components/icons/ipushpull.js +6 -3
- package/src/components/icons/italic.js +6 -3
- package/src/components/icons/justify.js +6 -3
- package/src/components/icons/layout.js +6 -3
- package/src/components/icons/less-than-or-equal.js +6 -3
- package/src/components/icons/less-than.js +6 -3
- package/src/components/icons/list.js +6 -3
- package/src/components/icons/login.js +6 -3
- package/src/components/icons/logout copy.js +6 -3
- package/src/components/icons/logout.js +6 -3
- package/src/components/icons/mail.js +6 -3
- package/src/components/icons/menu.js +6 -3
- package/src/components/icons/minus.js +6 -3
- package/src/components/icons/money.js +6 -3
- package/src/components/icons/multiplication.js +6 -3
- package/src/components/icons/newpage.js +6 -3
- package/src/components/icons/news.js +6 -3
- package/src/components/icons/non-blanks.js +6 -3
- package/src/components/icons/not-contains.js +6 -3
- package/src/components/icons/not-equal.js +6 -3
- package/src/components/icons/note.js +6 -3
- package/src/components/icons/open-in-new.js +6 -3
- package/src/components/icons/order.js +6 -3
- package/src/components/icons/organisation.js +6 -3
- package/src/components/icons/overline.js +6 -3
- package/src/components/icons/pause.js +6 -3
- package/src/components/icons/percent-bar.js +6 -3
- package/src/components/icons/percent.js +6 -3
- package/src/components/icons/person.js +6 -3
- package/src/components/icons/pie-chart.js +6 -3
- package/src/components/icons/play.js +6 -3
- package/src/components/icons/plus-minus.js +6 -3
- package/src/components/icons/plus.js +6 -3
- package/src/components/icons/query.js +6 -3
- package/src/components/icons/quick-search.js +6 -3
- package/src/components/icons/quote.js +6 -3
- package/src/components/icons/refresh.js +6 -3
- package/src/components/icons/regex.js +6 -3
- package/src/components/icons/reminder.js +6 -3
- package/src/components/icons/resume.d.ts +3 -0
- package/src/components/icons/resume.js +7 -0
- package/src/components/icons/save.js +6 -3
- package/src/components/icons/schedule.js +6 -3
- package/src/components/icons/science.js +6 -3
- package/src/components/icons/settings.js +6 -3
- package/src/components/icons/shortcut.js +6 -3
- package/src/components/icons/show-column.js +6 -3
- package/src/components/icons/smart-edit.js +6 -3
- package/src/components/icons/sort-asc.js +6 -3
- package/src/components/icons/sort-desc.js +6 -3
- package/src/components/icons/spark-line.js +6 -3
- package/src/components/icons/starts-with.js +6 -3
- package/src/components/icons/state-management.js +6 -3
- package/src/components/icons/statusbar.js +6 -3
- package/src/components/icons/stop.js +6 -3
- package/src/components/icons/strikethrough.js +6 -3
- package/src/components/icons/system-status.js +6 -3
- package/src/components/icons/tab-unselected.js +6 -3
- package/src/components/icons/table-arrow-right.js +6 -3
- package/src/components/icons/team-share.js +6 -3
- package/src/components/icons/theme.js +6 -3
- package/src/components/icons/tool-panel.js +6 -3
- package/src/components/icons/track-changes.js +6 -3
- package/src/components/icons/triangle-down.js +6 -3
- package/src/components/icons/triangle-up.js +6 -3
- package/src/components/icons/unchecked.js +6 -3
- package/src/components/icons/underline.js +6 -3
- package/src/components/icons/undo.js +6 -3
- package/src/components/icons/updated-row.js +6 -3
- package/src/components/icons/upload.js +6 -3
- package/src/components/icons/user-filter.js +6 -3
- package/src/components/icons/visibility-off.js +6 -3
- package/src/components/icons/visibility.js +6 -3
- package/src/components/icons/warning.js +6 -3
- package/src/components/utils/batchUpdate.js +5 -3
- package/src/components/utils/captureTabNavigation/getFocusableChildren.js +3 -1
- package/src/components/utils/captureTabNavigation/index.js +6 -3
- package/src/components/utils/contains.js +4 -1
- package/src/components/utils/getAvailableSizeInfo.js +3 -1
- package/src/components/utils/join.js +3 -1
- package/src/components/utils/selectParent/index.js +6 -3
- package/src/components/utils/selectParent/matches.js +2 -1
- package/src/components/utils/useAutoFocus.js +8 -5
- package/src/components/utils/useContainerScrollObserver/index.d.ts +1 -1
- package/src/components/utils/useContainerScrollObserver/index.js +13 -9
- package/src/components/utils/useDraggable.js +10 -7
- package/src/components/utils/useGlobalEvent.js +7 -2
- package/src/components/utils/useLatest.js +8 -4
- package/src/components/utils/usePrevious.js +6 -4
- package/src/components/utils/usePropState.js +6 -3
- package/src/components/utils/useProperty.js +6 -4
- package/src/components/utils/useRerender.js +8 -4
- package/src/components/utils/useSelectionRange.js +9 -5
- package/src/components/utils/useTheme.js +5 -2
- package/src/components/utils/uuid.d.ts +1 -1
- package/src/components/utils/uuid.js +6 -2
- package/src/env.js +3 -1
- package/src/metamodel/adaptable-metamodel-model.d.ts +2 -2
- package/src/metamodel/adaptable-metamodel-model.js +2 -1
- package/src/metamodel/adaptable.metamodel.d.ts +337 -27
- package/src/metamodel/adaptable.metamodel.js +1 -1
- package/src/parser/src/ExpressionEvaluationError.js +5 -1
- package/src/parser/src/evaluator.js +7 -3
- package/src/parser/src/index.js +18 -9
- package/src/parser/src/predicate/index.js +5 -2
- package/src/parser/src/predicate/mapExpressionToQlPredicate.js +19 -13
- package/src/parser/src/predicate/mapQlPredicateToExpression.js +26 -6
- package/src/parser/src/predicate/types.d.ts +3 -3
- package/src/parser/src/predicate/types.js +5 -1
- package/src/parser/src/tokenizer.js +8 -3
- package/src/parser/src/types.d.ts +23 -11
- package/src/parser/src/types.js +5 -1
- package/src/parser/src/utils.js +9 -3
- package/src/renderReactRoot.d.ts +2 -4
- package/src/renderReactRoot.js +24 -45
- package/src/theme.js +3 -1
- package/src/themes/index.js +7 -4
- package/src/types.d.ts +7 -7
- package/src/types.js +5 -1
- package/types.js +4 -1
- package/version.d.ts +1 -1
- package/version.js +3 -1
- package/src/AdaptableOptions/FilterOptions.d.ts +0 -216
- package/src/AdaptableOptions/FilterOptions.js +0 -1
- package/src/AdaptableOptions/FinancePluginOptions.d.ts +0 -6
- package/src/AdaptableOptions/FinancePluginOptions.js +0 -1
- package/src/Api/Events/ChexboxColumnClicked.d.ts +0 -24
- package/src/Api/Events/ChexboxColumnClicked.js +0 -1
- package/src/Api/Events/QueryRun.d.ts +0 -15
- package/src/Api/Events/QueryRun.js +0 -1
- package/src/PredefinedConfig/ConditionalStyleState.d.ts +0 -41
- package/src/PredefinedConfig/ConditionalStyleState.js +0 -1
- package/src/View/Theme/ThemeStatusPanelPopover.d.ts +0 -2
- package/src/View/Theme/ThemeStatusPanelPopover.js +0 -20
|
@@ -1,10 +1,15 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.isBooleanAdaptableQlFunction = exports.booleanExpressionFunctionsNames = exports.booleanExpressionFunctions = void 0;
|
|
4
|
+
const tslib_1 = require("tslib");
|
|
5
|
+
const isAfter_1 = tslib_1.__importDefault(require("date-fns/isAfter"));
|
|
6
|
+
const isBefore_1 = tslib_1.__importDefault(require("date-fns/isBefore"));
|
|
7
|
+
const isEqual_1 = tslib_1.__importDefault(require("date-fns/isEqual"));
|
|
8
|
+
const ExpressionEvaluationError_1 = require("../../parser/src/ExpressionEvaluationError");
|
|
9
|
+
const expressionFunctionUtils_1 = require("./expressionFunctionUtils");
|
|
10
|
+
const TypeExtensions_1 = require("../Extensions/TypeExtensions");
|
|
11
|
+
const dateUtils_1 = require("./dateUtils");
|
|
12
|
+
exports.booleanExpressionFunctions = {
|
|
8
13
|
TRUE: {
|
|
9
14
|
handler: () => {
|
|
10
15
|
return true;
|
|
@@ -64,10 +69,10 @@ export const booleanExpressionFunctions = {
|
|
|
64
69
|
EQ: {
|
|
65
70
|
handler(args, context) {
|
|
66
71
|
if (args[0] instanceof Date && args[1] instanceof Date) {
|
|
67
|
-
return
|
|
72
|
+
return (0, isEqual_1.default)(args[0], args[1]);
|
|
68
73
|
}
|
|
69
74
|
if (typeof args[0] === 'string' || typeof args[1] === 'string') {
|
|
70
|
-
const [first, second] = getStringValues(context, String(args[0]), String(args[1]));
|
|
75
|
+
const [first, second] = (0, expressionFunctionUtils_1.getStringValues)(context, String(args[0]), String(args[1]));
|
|
71
76
|
return first == second;
|
|
72
77
|
}
|
|
73
78
|
return args[0] == args[1];
|
|
@@ -88,10 +93,10 @@ export const booleanExpressionFunctions = {
|
|
|
88
93
|
NEQ: {
|
|
89
94
|
handler(args, context) {
|
|
90
95
|
if (args[0] instanceof Date && args[1] instanceof Date) {
|
|
91
|
-
return !
|
|
96
|
+
return !(0, isEqual_1.default)(args[0], args[1]);
|
|
92
97
|
}
|
|
93
98
|
if (typeof args[0] === 'string' || typeof args[1] === 'string') {
|
|
94
|
-
const [first, second] = getStringValues(context, String(args[0]), String(args[1]));
|
|
99
|
+
const [first, second] = (0, expressionFunctionUtils_1.getStringValues)(context, String(args[0]), String(args[1]));
|
|
95
100
|
return first != second;
|
|
96
101
|
}
|
|
97
102
|
return args[0] != args[1];
|
|
@@ -112,10 +117,10 @@ export const booleanExpressionFunctions = {
|
|
|
112
117
|
LT: {
|
|
113
118
|
handler(args, context) {
|
|
114
119
|
if (args[0] instanceof Date && args[1] instanceof Date) {
|
|
115
|
-
return
|
|
120
|
+
return (0, isBefore_1.default)(args[0], args[1]);
|
|
116
121
|
}
|
|
117
122
|
if (typeof args[0] === 'string' || typeof args[1] === 'string') {
|
|
118
|
-
const [first, second] = getStringValues(context, String(args[0]), String(args[1]));
|
|
123
|
+
const [first, second] = (0, expressionFunctionUtils_1.getStringValues)(context, String(args[0]), String(args[1]));
|
|
119
124
|
return first < second;
|
|
120
125
|
}
|
|
121
126
|
return args[0] < args[1];
|
|
@@ -134,16 +139,15 @@ export const booleanExpressionFunctions = {
|
|
|
134
139
|
inputs: [
|
|
135
140
|
['number', 'number'],
|
|
136
141
|
['date', 'date'],
|
|
137
|
-
['text', 'text'],
|
|
138
142
|
],
|
|
139
143
|
},
|
|
140
144
|
LTE: {
|
|
141
145
|
handler(args, context) {
|
|
142
146
|
if (args[0] instanceof Date && args[1] instanceof Date) {
|
|
143
|
-
return
|
|
147
|
+
return (0, isBefore_1.default)(args[0], args[1]) || (0, isEqual_1.default)(args[0], args[1]);
|
|
144
148
|
}
|
|
145
149
|
if (typeof args[0] === 'string' || typeof args[1] === 'string') {
|
|
146
|
-
const [first, second] = getStringValues(context, String(args[0]), String(args[1]));
|
|
150
|
+
const [first, second] = (0, expressionFunctionUtils_1.getStringValues)(context, String(args[0]), String(args[1]));
|
|
147
151
|
return first <= second;
|
|
148
152
|
}
|
|
149
153
|
return args[0] <= args[1];
|
|
@@ -162,16 +166,15 @@ export const booleanExpressionFunctions = {
|
|
|
162
166
|
inputs: [
|
|
163
167
|
['number', 'number'],
|
|
164
168
|
['date', 'date'],
|
|
165
|
-
['text', 'text'],
|
|
166
169
|
],
|
|
167
170
|
},
|
|
168
171
|
GT: {
|
|
169
172
|
handler(args, context) {
|
|
170
173
|
if (args[0] instanceof Date && args[1] instanceof Date) {
|
|
171
|
-
return
|
|
174
|
+
return (0, isAfter_1.default)(args[0], args[1]);
|
|
172
175
|
}
|
|
173
176
|
if (typeof args[0] === 'string' || typeof args[1] === 'string') {
|
|
174
|
-
const [first, second] = getStringValues(context, String(args[0]), String(args[1]));
|
|
177
|
+
const [first, second] = (0, expressionFunctionUtils_1.getStringValues)(context, String(args[0]), String(args[1]));
|
|
175
178
|
return first > second;
|
|
176
179
|
}
|
|
177
180
|
return args[0] > args[1];
|
|
@@ -190,16 +193,15 @@ export const booleanExpressionFunctions = {
|
|
|
190
193
|
inputs: [
|
|
191
194
|
['number', 'number'],
|
|
192
195
|
['date', 'date'],
|
|
193
|
-
['text', 'text'],
|
|
194
196
|
],
|
|
195
197
|
},
|
|
196
198
|
GTE: {
|
|
197
199
|
handler(args, context) {
|
|
198
200
|
if (args[0] instanceof Date && args[1] instanceof Date) {
|
|
199
|
-
return
|
|
201
|
+
return (0, isAfter_1.default)(args[0], args[1]) || (0, isEqual_1.default)(args[0], args[1]);
|
|
200
202
|
}
|
|
201
203
|
if (typeof args[0] === 'string' || typeof args[1] === 'string') {
|
|
202
|
-
const [first, second] = getStringValues(context, String(args[0]), String(args[1]));
|
|
204
|
+
const [first, second] = (0, expressionFunctionUtils_1.getStringValues)(context, String(args[0]), String(args[1]));
|
|
203
205
|
return first >= second;
|
|
204
206
|
}
|
|
205
207
|
return args[0] >= args[1];
|
|
@@ -218,19 +220,18 @@ export const booleanExpressionFunctions = {
|
|
|
218
220
|
inputs: [
|
|
219
221
|
['number', 'number'],
|
|
220
222
|
['date', 'date'],
|
|
221
|
-
['text', 'text'],
|
|
222
223
|
],
|
|
223
224
|
},
|
|
224
225
|
BETWEEN: {
|
|
225
226
|
handler([input, lower, upper]) {
|
|
226
227
|
if (typeof input !== 'number')
|
|
227
|
-
throw new ExpressionEvaluationError('BETWEEN', 'arg 1 should be a number');
|
|
228
|
+
throw new ExpressionEvaluationError_1.ExpressionEvaluationError('BETWEEN', 'arg 1 should be a number');
|
|
228
229
|
return input >= lower && input <= upper;
|
|
229
230
|
},
|
|
230
231
|
category: 'comparison',
|
|
231
232
|
description: 'Returns true if 1st input is between 2nd and 3rd inputs',
|
|
232
233
|
signatures: ['BETWEEN(input: number, lower: number, upper: number)'],
|
|
233
|
-
examples: ['BETWEEN(
|
|
234
|
+
examples: ['BETWEEN([col1], 10, 30)'],
|
|
234
235
|
returnType: 'boolean',
|
|
235
236
|
inputs: ['number', 'number', 'number'],
|
|
236
237
|
},
|
|
@@ -243,10 +244,16 @@ export const booleanExpressionFunctions = {
|
|
|
243
244
|
signatures: ['values IN (value, value, ...value)'],
|
|
244
245
|
examples: ['[col1] IN (5, 10, AVG([col2],[col3]))'],
|
|
245
246
|
returnType: 'boolean',
|
|
247
|
+
inputs: [
|
|
248
|
+
['number', 'number[]'],
|
|
249
|
+
// Date is currently not supported in select
|
|
250
|
+
// ['date', 'date[]'],
|
|
251
|
+
['text', 'text[]'],
|
|
252
|
+
],
|
|
246
253
|
},
|
|
247
254
|
CONTAINS: {
|
|
248
255
|
handler(args, context) {
|
|
249
|
-
const [first, second] = getStringValues(context, String(args[0]), String(args[1]));
|
|
256
|
+
const [first, second] = (0, expressionFunctionUtils_1.getStringValues)(context, String(args[0]), String(args[1]));
|
|
250
257
|
return first.indexOf(second) !== -1;
|
|
251
258
|
},
|
|
252
259
|
category: 'strings',
|
|
@@ -258,7 +265,7 @@ export const booleanExpressionFunctions = {
|
|
|
258
265
|
},
|
|
259
266
|
STARTS_WITH: {
|
|
260
267
|
handler(args, context) {
|
|
261
|
-
const [first, second] = getStringValues(context, String(args[0]), String(args[1]));
|
|
268
|
+
const [first, second] = (0, expressionFunctionUtils_1.getStringValues)(context, String(args[0]), String(args[1]));
|
|
262
269
|
return first.startsWith(second);
|
|
263
270
|
},
|
|
264
271
|
category: 'strings',
|
|
@@ -270,7 +277,7 @@ export const booleanExpressionFunctions = {
|
|
|
270
277
|
},
|
|
271
278
|
ENDS_WITH: {
|
|
272
279
|
handler(args, context) {
|
|
273
|
-
const [first, second] = getStringValues(context, String(args[0]), String(args[1]));
|
|
280
|
+
const [first, second] = (0, expressionFunctionUtils_1.getStringValues)(context, String(args[0]), String(args[1]));
|
|
274
281
|
return first.endsWith(second);
|
|
275
282
|
},
|
|
276
283
|
category: 'strings',
|
|
@@ -283,11 +290,11 @@ export const booleanExpressionFunctions = {
|
|
|
283
290
|
ANY_CONTAINS: {
|
|
284
291
|
handler(args, context) {
|
|
285
292
|
var _a;
|
|
286
|
-
const searchTerm = getStringValue(context, String(args[0]));
|
|
293
|
+
const searchTerm = (0, expressionFunctionUtils_1.getStringValue)(context, String(args[0]));
|
|
287
294
|
return (_a = context.adaptableApi) === null || _a === void 0 ? void 0 : _a.columnApi.getColumns().some((column) => {
|
|
288
295
|
var _a;
|
|
289
296
|
const value = (_a = context.adaptableApi) === null || _a === void 0 ? void 0 : _a.gridApi.getDisplayValueFromRowNode(context.node, column.columnId);
|
|
290
|
-
const columnValue = getStringValue(context, String(value));
|
|
297
|
+
const columnValue = (0, expressionFunctionUtils_1.getStringValue)(context, String(value));
|
|
291
298
|
return columnValue.indexOf(searchTerm) !== -1;
|
|
292
299
|
});
|
|
293
300
|
},
|
|
@@ -297,8 +304,62 @@ export const booleanExpressionFunctions = {
|
|
|
297
304
|
examples: ['ANY_CONTAINS("abc")'],
|
|
298
305
|
returnType: 'boolean',
|
|
299
306
|
},
|
|
307
|
+
IS_NUMERIC: {
|
|
308
|
+
handler(args) {
|
|
309
|
+
return !isNaN(Number(args[0]));
|
|
310
|
+
},
|
|
311
|
+
isHiddenFromMenu: false,
|
|
312
|
+
description: 'Returns true if input is numeric',
|
|
313
|
+
signatures: ['IS_NUMERIC(a: number)'],
|
|
314
|
+
examples: ['IS_NUMERIC([columnName])'],
|
|
315
|
+
category: 'maths',
|
|
316
|
+
returnType: 'boolean',
|
|
317
|
+
inputs: ['number'],
|
|
318
|
+
},
|
|
319
|
+
REGEX: {
|
|
320
|
+
handler(args) {
|
|
321
|
+
// dont need context as here we always want case insenstivity in the Regex
|
|
322
|
+
const firstInput = String(args[0]);
|
|
323
|
+
const regex = String(args[1]);
|
|
324
|
+
return RegExp(regex).test(firstInput);
|
|
325
|
+
},
|
|
326
|
+
isHiddenFromMenu: false,
|
|
327
|
+
description: 'Returns true if Regular Expression matches',
|
|
328
|
+
signatures: ['REGEX(a: string, b: pattern)'],
|
|
329
|
+
examples: ['REGEX([col1], "[A-Z]+")'],
|
|
330
|
+
inputs: ['text', 'text'],
|
|
331
|
+
category: 'strings',
|
|
332
|
+
returnType: 'boolean',
|
|
333
|
+
},
|
|
334
|
+
IS_HOLIDAY: {
|
|
335
|
+
handler(args, context) {
|
|
336
|
+
const dateToCheck = (0, dateUtils_1.normalizeDateParam)(args[0]);
|
|
337
|
+
return context.adaptableApi.calendarApi.isHoliday(dateToCheck);
|
|
338
|
+
},
|
|
339
|
+
isHiddenFromMenu: false,
|
|
340
|
+
description: 'Returns true if input date is a Holiday',
|
|
341
|
+
signatures: ['IS_HOLIDAY(a: date)'],
|
|
342
|
+
examples: ['IS_HOLIDAY([columnName])'],
|
|
343
|
+
category: 'dates',
|
|
344
|
+
returnType: 'boolean',
|
|
345
|
+
inputs: ['date'],
|
|
346
|
+
},
|
|
347
|
+
IS_WORKDAY: {
|
|
348
|
+
handler(args, context) {
|
|
349
|
+
const dateToCheck = (0, dateUtils_1.normalizeDateParam)(args[0]);
|
|
350
|
+
return context.adaptableApi.calendarApi.isWorkingDay(dateToCheck);
|
|
351
|
+
},
|
|
352
|
+
isHiddenFromMenu: false,
|
|
353
|
+
description: 'Returns true if input date is a Working Day',
|
|
354
|
+
signatures: ['IS_WORKDAY(a: date)'],
|
|
355
|
+
examples: ['IS_WORKDAY([columnName])'],
|
|
356
|
+
category: 'dates',
|
|
357
|
+
returnType: 'boolean',
|
|
358
|
+
inputs: ['date'],
|
|
359
|
+
},
|
|
300
360
|
};
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
return booleanExpressionFunctionsNames.includes(functionName);
|
|
361
|
+
exports.booleanExpressionFunctionsNames = (0, TypeExtensions_1.getTypedKeys)(exports.booleanExpressionFunctions);
|
|
362
|
+
const isBooleanAdaptableQlFunction = (functionName) => {
|
|
363
|
+
return exports.booleanExpressionFunctionsNames.includes(functionName);
|
|
304
364
|
};
|
|
365
|
+
exports.isBooleanAdaptableQlFunction = isBooleanAdaptableQlFunction;
|
|
@@ -1,4 +1,7 @@
|
|
|
1
|
-
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.normalizeDateParam = exports.normalizeDateParams = void 0;
|
|
4
|
+
const normalizeDateParams = (args) => {
|
|
2
5
|
let [first, second] = args;
|
|
3
6
|
if (typeof first === 'string') {
|
|
4
7
|
first = new Date(first);
|
|
@@ -8,3 +11,14 @@ export const normalizeDateParams = (args) => {
|
|
|
8
11
|
}
|
|
9
12
|
return [first, second];
|
|
10
13
|
};
|
|
14
|
+
exports.normalizeDateParams = normalizeDateParams;
|
|
15
|
+
const normalizeDateParam = (args) => {
|
|
16
|
+
if (typeof args === 'string') {
|
|
17
|
+
args = new Date(args);
|
|
18
|
+
}
|
|
19
|
+
if (typeof args === 'number') {
|
|
20
|
+
args = new Date(args);
|
|
21
|
+
}
|
|
22
|
+
return args;
|
|
23
|
+
};
|
|
24
|
+
exports.normalizeDateParam = normalizeDateParam;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
type VoidFn = () => void;
|
|
2
|
+
type Pair<KeyType, ValueType> = {
|
|
3
3
|
value?: ValueType;
|
|
4
4
|
map?: Map<KeyType, Pair<KeyType, ValueType>>;
|
|
5
5
|
revision?: number;
|
|
6
6
|
};
|
|
7
|
-
export
|
|
7
|
+
export type DeepMapVisitFn<KeyType, ValueType> = (pair: Pair<KeyType, ValueType>, keys: KeyType[], next: VoidFn) => void;
|
|
8
8
|
export declare class DeepMap<KeyType, ValueType> {
|
|
9
9
|
private map;
|
|
10
10
|
private length;
|
|
@@ -1,5 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.DeepMap = void 0;
|
|
1
4
|
const SORT_ASC_REVISION = (p1, p2) => sortAscending(p1.revision, p2.revision);
|
|
2
|
-
|
|
5
|
+
class DeepMap {
|
|
6
|
+
static clone(map) {
|
|
7
|
+
const clone = new DeepMap();
|
|
8
|
+
map.visit((pair, keys) => {
|
|
9
|
+
clone.set(keys, pair.value);
|
|
10
|
+
});
|
|
11
|
+
return clone;
|
|
12
|
+
}
|
|
3
13
|
constructor(initial) {
|
|
4
14
|
this.map = new Map();
|
|
5
15
|
this.length = 0;
|
|
@@ -39,13 +49,6 @@ export class DeepMap {
|
|
|
39
49
|
});
|
|
40
50
|
}
|
|
41
51
|
}
|
|
42
|
-
static clone(map) {
|
|
43
|
-
const clone = new DeepMap();
|
|
44
|
-
map.visit((pair, keys) => {
|
|
45
|
-
clone.set(keys, pair.value);
|
|
46
|
-
});
|
|
47
|
-
return clone;
|
|
48
|
-
}
|
|
49
52
|
set(keys, value) {
|
|
50
53
|
let currentMap = this.map;
|
|
51
54
|
if (!keys.length) {
|
|
@@ -263,6 +266,7 @@ export class DeepMap {
|
|
|
263
266
|
return makeIterator();
|
|
264
267
|
}
|
|
265
268
|
}
|
|
269
|
+
exports.DeepMap = DeepMap;
|
|
266
270
|
function once(fn) {
|
|
267
271
|
let called = false;
|
|
268
272
|
let result = null;
|
|
@@ -16,7 +16,7 @@ export declare const isTextSearchCaseInsensitive: (context: ExpressionContext) =
|
|
|
16
16
|
export declare const getDataChangeLog$: (context: ExpressionContext, columnNameFilter: string) => Observable<CellDataChangedInfo>;
|
|
17
17
|
export declare const getGridChangeLog$: (context: ExpressionContext, gridChangeType: GridDataChangedInfo['rowTrigger']) => Observable<GridDataChangedInfo>;
|
|
18
18
|
export declare const handleWhereFunction: (args: ExpressionNode[], context: ExpressionContext) => any;
|
|
19
|
-
export
|
|
19
|
+
export type ExpressionNode = any;
|
|
20
20
|
export declare const evaluateExpressionNode: (expressionNode: ExpressionNode, context: ExpressionContext, filterFn?: (item: any) => boolean) => any;
|
|
21
21
|
export declare const extractColumnParameter: (consumingFunctionName: string, args: BaseParameter[]) => ColumnParameter;
|
|
22
22
|
export declare const extractColumnParameters: (consumingFunctionName: string, args: BaseParameter[]) => ColumnParameter[];
|
|
@@ -1,48 +1,57 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.validateColumnType = exports.getNumericValue = exports.handleColumnFunction = exports.extractParameters = exports.extractParameter = exports.extractColumnParameters = exports.extractColumnParameter = exports.evaluateExpressionNode = exports.handleWhereFunction = exports.getGridChangeLog$ = exports.getDataChangeLog$ = exports.isTextSearchCaseInsensitive = exports.getStringValue = exports.getStringValues = void 0;
|
|
4
|
+
const tslib_1 = require("tslib");
|
|
5
|
+
const ExpressionEvaluationError_1 = require("../../parser/src/ExpressionEvaluationError");
|
|
6
|
+
const StringExtensions_1 = tslib_1.__importDefault(require("../Extensions/StringExtensions"));
|
|
7
|
+
const operators_1 = require("rxjs/operators");
|
|
8
|
+
const toNumber_1 = tslib_1.__importDefault(require("lodash/toNumber"));
|
|
9
|
+
const evaluator_1 = require("../../parser/src/evaluator");
|
|
6
10
|
// string functions may be case (in)sensitive, see internalApi.isTextComparisonCaseSensitive()
|
|
7
11
|
// if case is insensitive, we convert ALL involved strings to lower case
|
|
8
|
-
|
|
9
|
-
return isTextSearchCaseInsensitive(context)
|
|
12
|
+
const getStringValues = (context, ...stringArguments) => {
|
|
13
|
+
return (0, exports.isTextSearchCaseInsensitive)(context)
|
|
10
14
|
? stringArguments.map((string) => string.toLowerCase())
|
|
11
15
|
: stringArguments;
|
|
12
16
|
};
|
|
13
|
-
|
|
14
|
-
|
|
17
|
+
exports.getStringValues = getStringValues;
|
|
18
|
+
const getStringValue = (context, stringArgument) => {
|
|
19
|
+
return (0, exports.isTextSearchCaseInsensitive)(context) ? stringArgument.toLowerCase() : stringArgument;
|
|
15
20
|
};
|
|
16
|
-
|
|
21
|
+
exports.getStringValue = getStringValue;
|
|
22
|
+
const isTextSearchCaseInsensitive = (context) => !context.adaptableApi.expressionApi.useCaseSensitivity();
|
|
23
|
+
exports.isTextSearchCaseInsensitive = isTextSearchCaseInsensitive;
|
|
17
24
|
// returns an observable which filters the source$ emissions and emits only if the CellDataChangedInfo relates to the given column
|
|
18
25
|
// optionally, if a filter function (where clause) is provided, it is also evaluated
|
|
19
|
-
|
|
26
|
+
const getDataChangeLog$ = (context, columnNameFilter) => {
|
|
20
27
|
let dataChangeLog$ = context.adaptableApi.internalApi.getDataService().dataChangeLog$;
|
|
21
28
|
// filter only the given column changes
|
|
22
|
-
dataChangeLog$ = dataChangeLog$.pipe(filter((dataChangeLog) => dataChangeLog.column.columnId === columnNameFilter));
|
|
29
|
+
dataChangeLog$ = dataChangeLog$.pipe((0, operators_1.filter)((dataChangeLog) => dataChangeLog.column.columnId === columnNameFilter));
|
|
23
30
|
// filter based on the WHERE clause
|
|
24
31
|
if (context.filterFn) {
|
|
25
|
-
dataChangeLog$ = dataChangeLog$.pipe(filter((value) => {
|
|
32
|
+
dataChangeLog$ = dataChangeLog$.pipe((0, operators_1.filter)((value) => {
|
|
26
33
|
return context.filterFn(value.rowNode);
|
|
27
34
|
}));
|
|
28
35
|
}
|
|
29
36
|
return dataChangeLog$;
|
|
30
37
|
};
|
|
31
|
-
|
|
38
|
+
exports.getDataChangeLog$ = getDataChangeLog$;
|
|
39
|
+
const getGridChangeLog$ = (context, gridChangeType) => {
|
|
32
40
|
const gridChangeLog$ = context.adaptableApi.internalApi.getDataService().gridChangeLog$;
|
|
33
|
-
let gridChangeStream$ = gridChangeLog$.pipe(filter((gridDataChangedInfo) => gridDataChangedInfo.rowTrigger === gridChangeType));
|
|
41
|
+
let gridChangeStream$ = gridChangeLog$.pipe((0, operators_1.filter)((gridDataChangedInfo) => gridDataChangedInfo.rowTrigger === gridChangeType));
|
|
34
42
|
// filter based on the WHERE clause
|
|
35
43
|
if (context.filterFn) {
|
|
36
|
-
gridChangeStream$ = gridChangeStream$.pipe(filter((value) => value.rowNodes.some((node) => context.filterFn(node))));
|
|
44
|
+
gridChangeStream$ = gridChangeStream$.pipe((0, operators_1.filter)((value) => value.rowNodes.some((node) => context.filterFn(node))));
|
|
37
45
|
}
|
|
38
46
|
return gridChangeStream$;
|
|
39
47
|
};
|
|
40
|
-
|
|
48
|
+
exports.getGridChangeLog$ = getGridChangeLog$;
|
|
49
|
+
const handleWhereFunction = (args, context) => {
|
|
41
50
|
const reactiveExpressionNode = args[0];
|
|
42
51
|
const whereClauseExpressionNode = args[1];
|
|
43
52
|
const filterFn = (rowNode) => {
|
|
44
53
|
// whereClauseResult
|
|
45
|
-
return evaluateNode(whereClauseExpressionNode, {
|
|
54
|
+
return (0, evaluator_1.evaluateNode)(whereClauseExpressionNode, {
|
|
46
55
|
node: rowNode,
|
|
47
56
|
userName: context.adaptableApi.optionsApi.getUserName(),
|
|
48
57
|
adaptableId: context.adaptableApi.optionsApi.getAdaptableId(),
|
|
@@ -52,10 +61,11 @@ export const handleWhereFunction = (args, context) => {
|
|
|
52
61
|
});
|
|
53
62
|
};
|
|
54
63
|
// observableExpressionResult
|
|
55
|
-
return evaluateExpressionNode(reactiveExpressionNode, context, filterFn);
|
|
64
|
+
return (0, exports.evaluateExpressionNode)(reactiveExpressionNode, context, filterFn);
|
|
56
65
|
};
|
|
57
|
-
|
|
58
|
-
|
|
66
|
+
exports.handleWhereFunction = handleWhereFunction;
|
|
67
|
+
const evaluateExpressionNode = (expressionNode, context, filterFn = context.filterFn) => {
|
|
68
|
+
return (0, evaluator_1.evaluateNode)(expressionNode, {
|
|
59
69
|
node: context.node,
|
|
60
70
|
adaptableApi: context.adaptableApi,
|
|
61
71
|
userName: context.adaptableApi.optionsApi.getUserName(),
|
|
@@ -65,36 +75,41 @@ export const evaluateExpressionNode = (expressionNode, context, filterFn = conte
|
|
|
65
75
|
evaluateCustomQueryVariable: context.adaptableApi.internalApi.getQueryLanguageService().evaluateCustomQueryVariable,
|
|
66
76
|
});
|
|
67
77
|
};
|
|
68
|
-
|
|
69
|
-
|
|
78
|
+
exports.evaluateExpressionNode = evaluateExpressionNode;
|
|
79
|
+
const extractColumnParameter = (consumingFunctionName, args) => {
|
|
80
|
+
return (0, exports.extractParameter)(consumingFunctionName, 'config', ['COL'], args);
|
|
70
81
|
};
|
|
71
|
-
|
|
72
|
-
|
|
82
|
+
exports.extractColumnParameter = extractColumnParameter;
|
|
83
|
+
const extractColumnParameters = (consumingFunctionName, args) => {
|
|
84
|
+
return (0, exports.extractParameters)(consumingFunctionName, 'config', ['COL'], args);
|
|
73
85
|
};
|
|
74
|
-
|
|
75
|
-
|
|
86
|
+
exports.extractColumnParameters = extractColumnParameters;
|
|
87
|
+
const extractParameter = (consumingFunctionName, allowedType, allowedOperands, args, config) => {
|
|
88
|
+
const parameters = (0, exports.extractParameters)(consumingFunctionName, allowedType, allowedOperands, args, config);
|
|
76
89
|
if (parameters == undefined) {
|
|
77
90
|
return;
|
|
78
91
|
}
|
|
79
92
|
if (parameters.length > 1) {
|
|
80
|
-
throw new ExpressionEvaluationError(consumingFunctionName, `expects only 1 argument of type '${[...new Set(parameters.map((op) => op.name))].join(`' / '`)}'`);
|
|
93
|
+
throw new ExpressionEvaluationError_1.ExpressionEvaluationError(consumingFunctionName, `expects only 1 argument of type '${[...new Set(parameters.map((op) => op.name))].join(`' / '`)}'`);
|
|
81
94
|
}
|
|
82
95
|
return parameters[0];
|
|
83
96
|
};
|
|
84
|
-
|
|
97
|
+
exports.extractParameter = extractParameter;
|
|
98
|
+
const extractParameters = (consumingFunctionName, allowedType, allowedOperands, args, config) => {
|
|
85
99
|
const { isOptional } = config !== null && config !== void 0 ? config : {};
|
|
86
100
|
const result = args.filter((arg) => (arg === null || arg === void 0 ? void 0 : arg.type) === allowedType && allowedOperands.includes(arg === null || arg === void 0 ? void 0 : arg.name));
|
|
87
101
|
if (isOptional && !result.length) {
|
|
88
102
|
return;
|
|
89
103
|
}
|
|
90
104
|
if (!result.length) {
|
|
91
|
-
throw new ExpressionEvaluationError(consumingFunctionName, `expects an argument of type '${allowedOperands.join(`' / '`)}'`);
|
|
105
|
+
throw new ExpressionEvaluationError_1.ExpressionEvaluationError(consumingFunctionName, `expects an argument of type '${allowedOperands.join(`' / '`)}'`);
|
|
92
106
|
}
|
|
93
107
|
return result;
|
|
94
108
|
};
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
109
|
+
exports.extractParameters = extractParameters;
|
|
110
|
+
const handleColumnFunction = (args, context) => {
|
|
111
|
+
if (StringExtensions_1.default.IsNullOrEmpty(args[0])) {
|
|
112
|
+
throw new ExpressionEvaluationError_1.ExpressionEvaluationError('COL', `no column name is provided`);
|
|
98
113
|
}
|
|
99
114
|
validateColumnId(args[0], context.adaptableApi);
|
|
100
115
|
const result = {
|
|
@@ -104,25 +119,28 @@ export const handleColumnFunction = (args, context) => {
|
|
|
104
119
|
};
|
|
105
120
|
return result;
|
|
106
121
|
};
|
|
107
|
-
|
|
122
|
+
exports.handleColumnFunction = handleColumnFunction;
|
|
123
|
+
const getNumericValue = (input) => {
|
|
108
124
|
if (typeof input === 'number') {
|
|
109
125
|
return input;
|
|
110
126
|
}
|
|
111
|
-
const numericValue =
|
|
127
|
+
const numericValue = (0, toNumber_1.default)(input);
|
|
112
128
|
return isNaN(numericValue) ? 0 : numericValue;
|
|
113
129
|
};
|
|
114
|
-
|
|
130
|
+
exports.getNumericValue = getNumericValue;
|
|
131
|
+
const validateColumnType = (columnId, validColumnTypes, consumingFunction, api) => {
|
|
115
132
|
const columnType = api.columnApi.getColumnDataTypeForColumnId(columnId);
|
|
116
133
|
if (!validColumnTypes.some((validType) => validType === columnType)) {
|
|
117
|
-
throw new ExpressionEvaluationError(consumingFunction, `expects a column of type ${validColumnTypes.join(' or ')}`);
|
|
134
|
+
throw new ExpressionEvaluationError_1.ExpressionEvaluationError(consumingFunction, `expects a column of type ${validColumnTypes.join(' or ')}`);
|
|
118
135
|
}
|
|
119
136
|
};
|
|
137
|
+
exports.validateColumnType = validateColumnType;
|
|
120
138
|
const validateColumnId = (columnId, api) => {
|
|
121
139
|
const column = api.columnApi.getColumnWithColumnId(columnId);
|
|
122
140
|
if (!column) {
|
|
123
|
-
throw new ExpressionEvaluationError('', `Column name "${columnId}" is not found`);
|
|
141
|
+
throw new ExpressionEvaluationError_1.ExpressionEvaluationError('', `Column name "${columnId}" is not found`);
|
|
124
142
|
}
|
|
125
143
|
if (!column.queryable) {
|
|
126
|
-
throw new ExpressionEvaluationError('', `Column name "${columnId}" is not queryable`);
|
|
144
|
+
throw new ExpressionEvaluationError_1.ExpressionEvaluationError('', `Column name "${columnId}" is not queryable`);
|
|
127
145
|
}
|
|
128
146
|
};
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { DeepMap } from './deepMap';
|
|
2
|
-
export
|
|
3
|
-
export
|
|
2
|
+
export type GroupKeyType<T extends any = any> = T;
|
|
3
|
+
export type GroupBy<DataType, KeyType> = {
|
|
4
4
|
field: keyof DataType;
|
|
5
5
|
toKey?: (value: any, data: DataType) => GroupKeyType<KeyType>;
|
|
6
6
|
};
|
|
7
|
-
export
|
|
7
|
+
export type GroupParams<DataType, KeyType> = {
|
|
8
8
|
groupBy: GroupBy<DataType, KeyType>[];
|
|
9
9
|
defaultToKey?: (value: any, item: DataType) => GroupKeyType<KeyType>;
|
|
10
10
|
reducers?: Record<string, DataSourceAggregationReducer<DataType, any>>;
|
|
11
11
|
};
|
|
12
|
-
export
|
|
12
|
+
export type DataSourceAggregationReducer<T, AggregationResultType> = {
|
|
13
13
|
name?: string;
|
|
14
14
|
field?: keyof T;
|
|
15
15
|
initialValue?: AggregationResultType;
|
|
@@ -17,18 +17,18 @@ export declare type DataSourceAggregationReducer<T, AggregationResultType> = {
|
|
|
17
17
|
reducer: string | ((accumulator: any, value: any, data: T) => AggregationResultType | any);
|
|
18
18
|
done?: (accumulatedValue: AggregationResultType | any, array: T[]) => AggregationResultType;
|
|
19
19
|
};
|
|
20
|
-
export
|
|
20
|
+
export type DataGroupResult<DataType, KeyType extends any> = {
|
|
21
21
|
deepMap: DeepMap<GroupKeyType<KeyType>, DeepMapGroupValueType<DataType, KeyType>>;
|
|
22
22
|
groupParams: GroupParams<DataType, KeyType>;
|
|
23
23
|
initialData: DataType[];
|
|
24
24
|
reducerResults?: Record<string, any>;
|
|
25
25
|
};
|
|
26
|
-
export
|
|
26
|
+
export type DeepMapGroupValueType<DataType, KeyType> = {
|
|
27
27
|
items: DataType[];
|
|
28
28
|
commonData?: Partial<DataType>;
|
|
29
29
|
reducerResults: Record<string, any>;
|
|
30
30
|
};
|
|
31
|
-
export
|
|
31
|
+
export type AggregationReducerResult<AggregationResultType extends any = any> = {
|
|
32
32
|
value: AggregationResultType;
|
|
33
33
|
id: string;
|
|
34
34
|
};
|
|
@@ -1,11 +1,14 @@
|
|
|
1
|
-
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.group = void 0;
|
|
4
|
+
const deepMap_1 = require("./deepMap");
|
|
2
5
|
function DEFAULT_TO_KEY(value) {
|
|
3
6
|
return value;
|
|
4
7
|
}
|
|
5
|
-
|
|
8
|
+
function group(groupParams, data) {
|
|
6
9
|
const { groupBy, defaultToKey = DEFAULT_TO_KEY, reducers } = groupParams;
|
|
7
10
|
const groupByLength = groupBy.length;
|
|
8
|
-
const deepMap = new DeepMap();
|
|
11
|
+
const deepMap = new deepMap_1.DeepMap();
|
|
9
12
|
let currentGroupKeys = [];
|
|
10
13
|
const initialReducerValue = initReducers(reducers);
|
|
11
14
|
const globalReducerResults = Object.assign({}, initialReducerValue);
|
|
@@ -51,6 +54,7 @@ export function group(groupParams, data) {
|
|
|
51
54
|
};
|
|
52
55
|
return result;
|
|
53
56
|
}
|
|
57
|
+
exports.group = group;
|
|
54
58
|
function initReducers(reducers) {
|
|
55
59
|
if (!reducers || !Object.keys(reducers).length) {
|
|
56
60
|
return {};
|
|
@@ -2,6 +2,6 @@ import { ExpressionFunction } from '../../parser/src/types';
|
|
|
2
2
|
/**
|
|
3
3
|
* List of all the Observable Functions available in AdaptableQL
|
|
4
4
|
*/
|
|
5
|
-
export
|
|
5
|
+
export type ObservableFunctionName = 'WHERE' | 'COL' | 'TIMEFRAME' | 'ROW_CHANGE' | 'ROW_ADDED' | 'GRID_CHANGE' | 'ROW_REMOVED' | 'MAX' | 'MIN' | 'NONE' | 'COUNT';
|
|
6
6
|
export declare const observableExpressionFunctions: Record<ObservableFunctionName, ExpressionFunction>;
|
|
7
7
|
export declare const observableExpressionFunctionNames: ObservableFunctionName[];
|