@adaptabletools/adaptable 16.2.4 → 17.0.0-canary.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/agGrid.js +26 -32
- package/base.css +1246 -1194
- package/base.css.map +1 -1
- package/index.css +102 -1981
- package/index.css.map +1 -1
- package/package.json +10 -5
- package/src/AdaptableInterfaces/AdaptableNoCodeWizard.d.ts +2 -2
- package/src/AdaptableInterfaces/AdaptableNoCodeWizard.js +1 -2
- package/src/AdaptableInterfaces/IAdaptable.d.ts +17 -11
- package/src/AdaptableInterfaces/IAdaptable.js +1 -2
- package/src/AdaptableOptions/ActionColumnOptions.js +1 -2
- package/src/AdaptableOptions/ActionRowOptions.d.ts +25 -3
- package/src/AdaptableOptions/ActionRowOptions.js +1 -2
- package/src/AdaptableOptions/AdaptableFrameworkComponent.d.ts +3 -3
- package/src/AdaptableOptions/AdaptableFrameworkComponent.js +1 -2
- package/src/AdaptableOptions/AdaptableOptions.d.ts +12 -3
- package/src/AdaptableOptions/AdaptableOptions.js +1 -2
- package/src/AdaptableOptions/AdaptablePlugin.d.ts +1 -1
- package/src/AdaptableOptions/AdaptablePlugin.js +1 -5
- package/src/AdaptableOptions/AlertOptions.d.ts +2 -2
- package/src/AdaptableOptions/AlertOptions.js +1 -2
- package/src/AdaptableOptions/CalendarOptions.js +1 -2
- package/src/AdaptableOptions/CellSummaryOptions.js +1 -2
- package/src/AdaptableOptions/ChartingOptions.js +1 -2
- package/src/AdaptableOptions/{FilterOptions.d.ts → ColumnFilterOptions.d.ts} +114 -95
- package/src/AdaptableOptions/ColumnFilterOptions.js +1 -0
- package/src/AdaptableOptions/ColumnOptions.js +1 -2
- package/src/AdaptableOptions/ContainerOptions.js +1 -2
- package/src/AdaptableOptions/CustomSortOptions.js +1 -2
- package/src/AdaptableOptions/DashboardOptions.js +1 -2
- package/src/AdaptableOptions/DataChangeHistoryOptions.d.ts +1 -1
- package/src/AdaptableOptions/DataChangeHistoryOptions.js +1 -2
- package/src/AdaptableOptions/DataImportOptions.js +1 -2
- package/src/AdaptableOptions/DataSetOptions.js +1 -2
- package/src/AdaptableOptions/DateInputOptions.d.ts +1 -1
- package/src/AdaptableOptions/DateInputOptions.js +1 -2
- package/src/AdaptableOptions/EditOptions.d.ts +2 -2
- package/src/AdaptableOptions/EditOptions.js +1 -2
- package/src/AdaptableOptions/EntitlementOptions.js +1 -2
- package/src/AdaptableOptions/ExportOptions.d.ts +21 -3
- package/src/AdaptableOptions/ExportOptions.js +1 -2
- package/src/AdaptableOptions/ExpressionOptions.d.ts +2 -2
- package/src/AdaptableOptions/ExpressionOptions.js +1 -2
- package/src/AdaptableOptions/Fdc3Options.d.ts +10 -4
- package/src/AdaptableOptions/Fdc3Options.js +2 -5
- package/src/AdaptableOptions/FinsemblePluginOptions.js +1 -2
- package/src/AdaptableOptions/FlashingCellOptions.js +1 -2
- package/src/AdaptableOptions/FormatColumnOptions.js +1 -2
- package/src/AdaptableOptions/Glue42PluginOptions.js +1 -2
- package/src/AdaptableOptions/Glue42WebPluginOptions.js +1 -2
- package/src/AdaptableOptions/GridFilterOptions.d.ts +18 -0
- package/src/AdaptableOptions/GridFilterOptions.js +1 -0
- package/src/AdaptableOptions/GroupingOptions.js +1 -2
- package/src/AdaptableOptions/IPushPullPluginOptions.js +1 -2
- package/src/AdaptableOptions/LayoutOptions.d.ts +1 -1
- package/src/AdaptableOptions/LayoutOptions.js +1 -2
- package/src/AdaptableOptions/MasterDetailPluginOptions.js +1 -2
- package/src/AdaptableOptions/MenuOptions.d.ts +12 -6
- package/src/AdaptableOptions/MenuOptions.js +41 -27
- package/src/AdaptableOptions/NotesOptions.js +1 -2
- package/src/AdaptableOptions/NotificationsOptions.d.ts +1 -1
- package/src/AdaptableOptions/NotificationsOptions.js +1 -2
- package/src/AdaptableOptions/OpenFinPluginOptions.js +1 -2
- package/src/AdaptableOptions/PredicateOptions.js +1 -2
- package/src/AdaptableOptions/QuickSearchOptions.d.ts +22 -2
- package/src/AdaptableOptions/QuickSearchOptions.js +1 -2
- package/src/AdaptableOptions/SettingsPanelOptions.js +1 -2
- package/src/AdaptableOptions/StateOptions.d.ts +1 -1
- package/src/AdaptableOptions/StateOptions.js +1 -2
- package/src/AdaptableOptions/TeamSharingOptions.js +1 -2
- package/src/AdaptableOptions/ToolPanelOptions.js +1 -2
- package/src/AdaptableOptions/UserInterfaceOptions.d.ts +1 -16
- package/src/AdaptableOptions/UserInterfaceOptions.js +1 -2
- package/src/Api/ActionColumnApi.js +1 -2
- package/src/Api/ActionRowApi.js +1 -2
- package/src/Api/AdaptableApi.d.ts +11 -6
- package/src/Api/AdaptableApi.js +1 -2
- package/src/Api/AlertApi.js +1 -2
- package/src/Api/ApplicationApi.js +1 -2
- package/src/Api/BulkUpdateApi.js +1 -2
- package/src/Api/CalculatedColumnApi.js +1 -2
- package/src/Api/CalendarApi.js +1 -2
- package/src/Api/CellSummaryApi.js +1 -2
- package/src/Api/ChartingApi.js +1 -2
- package/src/Api/ColumnApi.d.ts +4 -0
- package/src/Api/ColumnApi.js +1 -2
- package/src/Api/{FilterApi.d.ts → ColumnFilterApi.d.ts} +3 -6
- package/src/Api/ColumnFilterApi.js +1 -0
- package/src/Api/ConfigApi.d.ts +3 -4
- package/src/Api/ConfigApi.js +1 -2
- package/src/Api/CustomSortApi.js +1 -2
- package/src/Api/DashboardApi.d.ts +16 -5
- package/src/Api/DashboardApi.js +1 -2
- package/src/Api/DataChangeHistoryApi.js +1 -2
- package/src/Api/DataImportApi.js +1 -2
- package/src/Api/DataSetApi.js +1 -2
- package/src/Api/EntitlementApi.js +1 -2
- package/src/Api/EventApi.d.ts +13 -32
- package/src/Api/EventApi.js +1 -2
- package/src/Api/Events/ActionRowSubmitted.d.ts +1 -5
- package/src/Api/Events/ActionRowSubmitted.js +1 -2
- package/src/Api/Events/AdaptableReady.js +1 -2
- package/src/Api/Events/AdaptableSearchState.d.ts +4 -4
- package/src/Api/Events/AdaptableSearchState.js +1 -2
- package/src/Api/Events/AdaptableStateChanged.js +1 -2
- package/src/Api/Events/AdaptableStateReloaded.js +1 -2
- package/src/Api/Events/AlertFired.js +1 -2
- package/src/Api/Events/BaseEventInfo.js +1 -2
- package/src/Api/Events/CellChanged.js +1 -2
- package/src/Api/Events/ChartChanged.js +1 -2
- package/src/Api/Events/{FilterApplied.d.ts → ColumnFilterApplied.d.ts} +2 -2
- package/src/Api/Events/ColumnFilterApplied.js +1 -0
- package/src/Api/Events/CustomToolbarConfigured.js +1 -2
- package/src/Api/Events/DashboardChanged.js +1 -2
- package/src/Api/Events/DataImported.js +1 -2
- package/src/Api/Events/DataSetSelected.js +1 -2
- package/src/Api/Events/Fdc3MessageInfo.d.ts +1 -1
- package/src/Api/Events/Fdc3MessageInfo.js +1 -2
- package/src/Api/Events/FlashingCellDisplayed.js +1 -2
- package/src/Api/Events/GridDataChanged.js +1 -2
- package/src/Api/Events/GridFilterApplied.d.ts +15 -0
- package/src/Api/Events/GridFilterApplied.js +1 -0
- package/src/Api/Events/GridSorted.js +1 -2
- package/src/Api/Events/LayoutChanged.js +1 -2
- package/src/Api/Events/LiveDataChanged.js +1 -2
- package/src/Api/Events/ScheduleTriggered.js +1 -2
- package/src/Api/Events/SelectionChanged.js +1 -2
- package/src/Api/Events/SystemStatusMessageDisplayed.js +1 -2
- package/src/Api/Events/TeamSharingEntityChanged.js +1 -2
- package/src/Api/Events/ThemeChanged.js +1 -2
- package/src/Api/Events/ThemeEdited.js +1 -2
- package/src/Api/ExportApi.d.ts +0 -4
- package/src/Api/ExportApi.js +1 -2
- package/src/Api/ExpressionApi.js +1 -2
- package/src/Api/Fdc3Api.js +1 -2
- package/src/Api/FinsembleApi.js +1 -2
- package/src/Api/FlashingCellApi.js +1 -2
- package/src/Api/FormatColumnApi.d.ts +4 -0
- package/src/Api/FormatColumnApi.js +1 -2
- package/src/Api/FreeTextColumnApi.js +1 -2
- package/src/Api/Glue42Api.js +1 -2
- package/src/Api/Glue42WebApi.js +1 -2
- package/src/Api/GridApi.js +1 -2
- package/src/Api/GridFilterApi.d.ts +39 -0
- package/src/Api/GridFilterApi.js +1 -0
- package/src/Api/IPushPullApi.js +1 -2
- package/src/Api/Implementation/ActionColumnApiImpl.js +2 -6
- package/src/Api/Implementation/ActionRowApiImpl.js +8 -12
- package/src/Api/Implementation/AdaptableApiImpl.d.ts +6 -4
- package/src/Api/Implementation/AdaptableApiImpl.js +99 -101
- package/src/Api/Implementation/AlertApiImpl.js +18 -23
- package/src/Api/Implementation/ApiBase.d.ts +5 -16
- package/src/Api/Implementation/ApiBase.js +15 -17
- package/src/Api/Implementation/ApplicationApiImpl.js +3 -8
- package/src/Api/Implementation/BulkUpdateApiImpl.js +5 -10
- package/src/Api/Implementation/CalculatedColumnApiImpl.js +6 -11
- package/src/Api/Implementation/CalendarApiImpl.js +2 -6
- package/src/Api/Implementation/CellSummaryApiImpl.js +17 -22
- package/src/Api/Implementation/ChartingApiImpl.js +13 -18
- package/src/Api/Implementation/ColumnApiImpl.d.ts +1 -0
- package/src/Api/Implementation/ColumnApiImpl.js +14 -15
- package/src/Api/Implementation/{FilterApiImpl.d.ts → ColumnFilterApiImpl.d.ts} +5 -5
- package/src/Api/Implementation/{FilterApiImpl.js → ColumnFilterApiImpl.js} +12 -17
- package/src/Api/Implementation/ConfigApiImpl.d.ts +2 -3
- package/src/Api/Implementation/ConfigApiImpl.js +41 -46
- package/src/Api/Implementation/CustomSortApiImpl.js +6 -11
- package/src/Api/Implementation/DashboardApiImpl.d.ts +5 -2
- package/src/Api/Implementation/DashboardApiImpl.js +24 -28
- package/src/Api/Implementation/DataChangeHistoryApiImpl.js +10 -15
- package/src/Api/Implementation/DataImportApiImpl.js +4 -8
- package/src/Api/Implementation/DataSetApiImpl.js +6 -11
- package/src/Api/Implementation/EntitlementApiImpl.js +2 -6
- package/src/Api/Implementation/EventApiImpl.js +4 -9
- package/src/Api/Implementation/ExportApiImpl.d.ts +0 -1
- package/src/Api/Implementation/ExportApiImpl.js +12 -20
- package/src/Api/Implementation/ExpressionApiImpl.js +5 -10
- package/src/Api/Implementation/Fdc3ApiImpl.js +8 -12
- package/src/Api/Implementation/FlashingCellApiImpl.js +6 -11
- package/src/Api/Implementation/FormatColumnApiImpl.d.ts +1 -0
- package/src/Api/Implementation/FormatColumnApiImpl.js +9 -11
- package/src/Api/Implementation/FreeTextColumnApiImpl.js +9 -14
- package/src/Api/Implementation/GridApiImpl.js +22 -27
- package/src/Api/Implementation/GridFilterApiImpl.d.ts +16 -0
- package/src/Api/Implementation/GridFilterApiImpl.js +49 -0
- package/src/Api/Implementation/LayoutApiImpl.js +25 -30
- package/src/Api/Implementation/NamedQueryApiImpl.d.ts +18 -0
- package/src/Api/Implementation/NamedQueryApiImpl.js +52 -0
- package/src/Api/Implementation/NotesApiImpl.js +4 -9
- package/src/Api/Implementation/OptionsApiImpl.d.ts +4 -2
- package/src/Api/Implementation/OptionsApiImpl.js +7 -8
- package/src/Api/Implementation/PluginsApiImpl.js +3 -8
- package/src/Api/Implementation/PlusMinusApiImpl.js +4 -9
- package/src/Api/Implementation/PredicateApiImpl.js +12 -17
- package/src/Api/Implementation/QuickSearchApiImpl.js +5 -10
- package/src/Api/Implementation/ScheduleApiImpl.js +6 -11
- package/src/Api/Implementation/ScopeApiImpl.js +8 -13
- package/src/Api/Implementation/SettingsPanelApiImpl.js +3 -8
- package/src/Api/Implementation/ShortcutApiImpl.js +4 -9
- package/src/Api/Implementation/SmartEditApiImpl.js +5 -10
- package/src/Api/Implementation/StatusBarApiImpl.js +5 -9
- package/src/Api/Implementation/StyledColumnApiImpl.js +6 -11
- package/src/Api/Implementation/SystemStatusApiImpl.js +16 -21
- package/src/Api/Implementation/TeamSharingApiImpl.js +12 -17
- package/src/Api/Implementation/ThemeApiImpl.js +10 -15
- package/src/Api/Implementation/ToolPanelApiImpl.js +6 -11
- package/src/Api/Implementation/UserInterfaceApiImpl.js +16 -21
- package/src/Api/Internal/ActionRowInternalApi.d.ts +2 -0
- package/src/Api/Internal/ActionRowInternalApi.js +35 -12
- package/src/Api/Internal/AdaptableInternalApi.js +21 -26
- package/src/Api/Internal/AlertInternalApi.d.ts +2 -7
- package/src/Api/Internal/AlertInternalApi.js +35 -25
- package/src/Api/Internal/CalculatedColumnInternalApi.js +2 -6
- package/src/Api/Internal/ChartingInternalApi.js +8 -12
- package/src/Api/Internal/{FilterInternalApi.d.ts → ColumnFilterInternalApi.d.ts} +5 -5
- package/src/Api/Internal/{FilterInternalApi.js → ColumnFilterInternalApi.js} +27 -32
- package/src/Api/Internal/ColumnInternalApi.d.ts +0 -10
- package/src/Api/Internal/ColumnInternalApi.js +4 -36
- package/src/Api/Internal/CustomSortInternalApi.js +2 -6
- package/src/Api/Internal/DashboardInternalApi.d.ts +5 -1
- package/src/Api/Internal/DashboardInternalApi.js +16 -9
- package/src/Api/Internal/DataImportInternalApi.js +5 -10
- package/src/Api/Internal/DataSetInternalApi.js +2 -6
- package/src/Api/Internal/ExportInternalApi.js +2 -6
- package/src/Api/Internal/ExpressionnternalApi.js +2 -6
- package/src/Api/Internal/Fdc3InternalApi.d.ts +2 -2
- package/src/Api/Internal/Fdc3InternalApi.js +24 -28
- package/src/Api/Internal/FlashingCellInternalApi.js +7 -12
- package/src/Api/Internal/FormatColumnInternalApi.js +17 -22
- package/src/Api/Internal/FreeTextColumnInternalApi.js +2 -6
- package/src/Api/Internal/GridFilterInternalApi.d.ts +4 -0
- package/src/Api/Internal/GridFilterInternalApi.js +19 -0
- package/src/Api/Internal/GridInternalApi.js +44 -27
- package/src/Api/Internal/LayoutInternalApi.d.ts +1 -0
- package/src/Api/Internal/LayoutInternalApi.js +22 -18
- package/src/Api/Internal/{QueryInternalApi.d.ts → NamedQueryInternalApi.d.ts} +2 -5
- package/src/Api/Internal/{QueryInternalApi.js → NamedQueryInternalApi.js} +5 -24
- package/src/Api/Internal/PredicateInternalApi.js +5 -9
- package/src/Api/Internal/ScheduleInternalApi.js +2 -6
- package/src/Api/Internal/StyledColumnInternalApi.d.ts +0 -3
- package/src/Api/Internal/StyledColumnInternalApi.js +5 -37
- package/src/Api/Internal/SystemStatusInternalApi.js +3 -8
- package/src/Api/Internal/TeamSharingInternalApi.js +2 -6
- package/src/Api/Internal/ThemeInternalApi.js +5 -9
- package/src/Api/Internal/UserInterfaceInternalApi.js +2 -6
- package/src/Api/LayoutApi.js +1 -2
- package/src/Api/NamedQueryApi.d.ts +53 -0
- package/src/Api/NamedQueryApi.js +1 -0
- package/src/Api/NotesAPi.js +1 -2
- package/src/Api/OpenFinApi.js +1 -2
- package/src/Api/OptionsApi.d.ts +7 -3
- package/src/Api/OptionsApi.js +1 -2
- package/src/Api/PluginsApi.js +1 -2
- package/src/Api/PlusMinusApi.js +1 -2
- package/src/Api/PredicateApi.js +1 -2
- package/src/Api/QuickSearchApi.js +1 -2
- package/src/Api/ScheduleApi.js +1 -2
- package/src/Api/ScopeApi.js +1 -2
- package/src/Api/SettingsPanelApi.js +1 -2
- package/src/Api/ShortcutApi.js +1 -2
- package/src/Api/SmartEditApi.js +1 -2
- package/src/Api/StatusBarApi.js +1 -2
- package/src/Api/StyledColumnApi.js +1 -2
- package/src/Api/SystemStatusApi.js +1 -2
- package/src/Api/TeamSharingApi.js +1 -2
- package/src/Api/ThemeApi.js +1 -2
- package/src/Api/ToolPanelApi.js +1 -2
- package/src/Api/UserInterfaceApi.js +1 -2
- package/src/PredefinedConfig/AdaptableState.d.ts +6 -1
- package/src/PredefinedConfig/AdaptableState.js +1 -2
- package/src/PredefinedConfig/AlertState.d.ts +6 -6
- package/src/PredefinedConfig/AlertState.js +1 -2
- package/src/PredefinedConfig/ApplicationState.js +1 -2
- package/src/PredefinedConfig/CalculatedColumnState.d.ts +1 -1
- package/src/PredefinedConfig/CalculatedColumnState.js +1 -2
- package/src/PredefinedConfig/ChartingState.d.ts +4 -1
- package/src/PredefinedConfig/ChartingState.js +2 -7
- package/src/PredefinedConfig/Common/AdaptableAlert.d.ts +2 -2
- package/src/PredefinedConfig/Common/AdaptableAlert.js +2 -7
- package/src/PredefinedConfig/Common/AdaptableButton.js +1 -2
- package/src/PredefinedConfig/Common/AdaptableColumn.d.ts +5 -1
- package/src/PredefinedConfig/Common/AdaptableColumn.js +1 -5
- package/src/PredefinedConfig/Common/AdaptableComparerFunction.d.ts +2 -2
- package/src/PredefinedConfig/Common/AdaptableComparerFunction.js +1 -2
- package/src/PredefinedConfig/Common/AdaptableFlashingCell.js +1 -2
- package/src/PredefinedConfig/Common/AdaptableForm.d.ts +2 -2
- package/src/PredefinedConfig/Common/AdaptableForm.js +1 -5
- package/src/PredefinedConfig/Common/AdaptableFormat.d.ts +1 -1
- package/src/PredefinedConfig/Common/AdaptableFormat.js +1 -2
- package/src/PredefinedConfig/Common/AdaptableIcon.d.ts +2 -2
- package/src/PredefinedConfig/Common/AdaptableIcon.js +1 -2
- package/src/PredefinedConfig/Common/AdaptableMessageType.d.ts +1 -1
- package/src/PredefinedConfig/Common/AdaptableMessageType.js +1 -2
- package/src/PredefinedConfig/Common/AdaptableObject.d.ts +1 -1
- package/src/PredefinedConfig/Common/AdaptableObject.js +1 -2
- package/src/PredefinedConfig/Common/AdaptablePredicate.d.ts +3 -3
- package/src/PredefinedConfig/Common/AdaptablePredicate.js +97 -114
- package/src/PredefinedConfig/Common/AdaptableQuery.d.ts +16 -1
- package/src/PredefinedConfig/Common/AdaptableQuery.js +1 -5
- package/src/PredefinedConfig/Common/AdaptableScope.d.ts +5 -5
- package/src/PredefinedConfig/Common/AdaptableScope.js +1 -2
- package/src/PredefinedConfig/Common/AdaptableStyle.js +1 -2
- package/src/PredefinedConfig/Common/AggregationColumns.d.ts +1 -1
- package/src/PredefinedConfig/Common/AggregationColumns.js +1 -4
- package/src/PredefinedConfig/Common/AlternativeModuleName.js +1 -2
- package/src/PredefinedConfig/Common/BaseContext.js +1 -2
- package/src/PredefinedConfig/Common/ButtonStyle.js +1 -2
- package/src/PredefinedConfig/Common/CellDataChangedInfo.js +1 -2
- package/src/PredefinedConfig/Common/CellHighlightInfo.d.ts +0 -1
- package/src/PredefinedConfig/Common/CellHighlightInfo.js +1 -2
- package/src/PredefinedConfig/Common/CellSummary.js +1 -2
- package/src/PredefinedConfig/Common/ColumnFilter.d.ts +2 -2
- package/src/PredefinedConfig/Common/ColumnFilter.js +1 -2
- package/src/PredefinedConfig/Common/ColumnSort.js +1 -2
- package/src/PredefinedConfig/Common/DataChangedScope.js +1 -2
- package/src/PredefinedConfig/Common/DataUpdateConfig.js +1 -2
- package/src/PredefinedConfig/Common/Entitlement.d.ts +1 -1
- package/src/PredefinedConfig/Common/Entitlement.js +1 -2
- package/src/PredefinedConfig/Common/Enums.js +26 -29
- package/src/PredefinedConfig/Common/Fdc3Context.d.ts +133 -37
- package/src/PredefinedConfig/Common/Fdc3Context.js +32 -35
- package/src/PredefinedConfig/Common/Fdc3Intent.d.ts +4 -4
- package/src/PredefinedConfig/Common/Fdc3Intent.js +64 -67
- package/src/PredefinedConfig/Common/FilterActionOnDataChange.js +1 -2
- package/src/PredefinedConfig/Common/FormContext.js +1 -2
- package/src/PredefinedConfig/Common/GridFilter.d.ts +10 -0
- package/src/PredefinedConfig/Common/GridFilter.js +1 -0
- package/src/PredefinedConfig/Common/Menu.js +1 -2
- package/src/PredefinedConfig/Common/RowHighlightInfo.d.ts +1 -1
- package/src/PredefinedConfig/Common/RowHighlightInfo.js +1 -2
- package/src/PredefinedConfig/Common/RowsHighlightInfo.js +1 -2
- package/src/PredefinedConfig/Common/Schedule.d.ts +2 -2
- package/src/PredefinedConfig/Common/Schedule.js +1 -2
- package/src/PredefinedConfig/Common/SpecialColumnSettings.js +1 -2
- package/src/PredefinedConfig/Common/SuspendableObject.js +1 -2
- package/src/PredefinedConfig/Common/SystemStatusMessageInfo.js +1 -2
- package/src/PredefinedConfig/Common/Types.d.ts +15 -15
- package/src/PredefinedConfig/Common/Types.js +14 -17
- package/src/PredefinedConfig/ConfigState.js +1 -2
- package/src/PredefinedConfig/CustomSortState.js +1 -2
- package/src/PredefinedConfig/DashboardState.js +1 -2
- package/src/PredefinedConfig/ExportState.d.ts +4 -4
- package/src/PredefinedConfig/ExportState.js +1 -2
- package/src/PredefinedConfig/FlashingCellState.d.ts +4 -4
- package/src/PredefinedConfig/FlashingCellState.js +1 -2
- package/src/PredefinedConfig/FormatColumnState.d.ts +4 -27
- package/src/PredefinedConfig/FormatColumnState.js +1 -2
- package/src/PredefinedConfig/FreeTextColumnState.js +1 -2
- package/src/PredefinedConfig/Glue42State.js +1 -2
- package/src/PredefinedConfig/GridState.js +1 -2
- package/src/PredefinedConfig/IPushPullState.js +1 -2
- package/src/PredefinedConfig/InternalState.js +1 -2
- package/src/PredefinedConfig/LayoutState.d.ts +5 -1
- package/src/PredefinedConfig/LayoutState.js +1 -2
- package/src/PredefinedConfig/NamedQueryState.d.ts +25 -0
- package/src/PredefinedConfig/NamedQueryState.js +1 -0
- package/src/PredefinedConfig/NotesState.d.ts +2 -2
- package/src/PredefinedConfig/NotesState.js +1 -2
- package/src/PredefinedConfig/OpenFinState.js +1 -2
- package/src/PredefinedConfig/PlusMinusState.js +1 -2
- package/src/PredefinedConfig/PopupState.js +1 -2
- package/src/PredefinedConfig/PredefinedConfig.d.ts +2 -7
- package/src/PredefinedConfig/PredefinedConfig.js +1 -2
- package/src/PredefinedConfig/QueryState.d.ts +4 -15
- package/src/PredefinedConfig/QueryState.js +1 -2
- package/src/PredefinedConfig/QuickSearchState.js +1 -2
- package/src/PredefinedConfig/ScheduleState.js +1 -2
- package/src/PredefinedConfig/Selection/GridCell.d.ts +8 -0
- package/src/PredefinedConfig/Selection/GridCell.js +1 -2
- package/src/PredefinedConfig/Selection/GridCellRange.js +1 -2
- package/src/PredefinedConfig/Selection/GridRow.js +1 -2
- package/src/PredefinedConfig/Selection/SelectedCellInfo.js +1 -2
- package/src/PredefinedConfig/Selection/SelectedRowInfo.js +1 -2
- package/src/PredefinedConfig/ShortcutState.d.ts +1 -1
- package/src/PredefinedConfig/ShortcutState.js +1 -2
- package/src/PredefinedConfig/StatusBarState.js +1 -4
- package/src/PredefinedConfig/StyledColumnState.d.ts +8 -13
- package/src/PredefinedConfig/StyledColumnState.js +1 -2
- package/src/PredefinedConfig/SystemState.d.ts +4 -4
- package/src/PredefinedConfig/SystemState.js +1 -2
- package/src/PredefinedConfig/TeamSharingState.d.ts +3 -3
- package/src/PredefinedConfig/TeamSharingState.js +2 -7
- package/src/PredefinedConfig/ThemeState.js +1 -2
- package/src/PredefinedConfig/ToolPanelState.d.ts +1 -1
- package/src/PredefinedConfig/ToolPanelState.js +1 -2
- package/src/PredefinedConfig/Uuid.d.ts +1 -1
- package/src/PredefinedConfig/Uuid.js +2 -6
- package/src/Redux/ActionsReducers/AlertRedux.js +45 -59
- package/src/Redux/ActionsReducers/ApplicationRedux.js +15 -22
- package/src/Redux/ActionsReducers/BulkUpdateRedux.js +9 -15
- package/src/Redux/ActionsReducers/CalculatedColumnRedux.js +20 -29
- package/src/Redux/ActionsReducers/CellSummaryRedux.js +3 -7
- package/src/Redux/ActionsReducers/ChartingRedux.js +41 -55
- package/src/Redux/ActionsReducers/CustomSortRedux.js +41 -54
- package/src/Redux/ActionsReducers/DashboardRedux.js +50 -66
- package/src/Redux/ActionsReducers/ExportRedux.js +33 -45
- package/src/Redux/ActionsReducers/FlashingCellRedux.js +43 -57
- package/src/Redux/ActionsReducers/FormatColumnRedux.d.ts +7 -0
- package/src/Redux/ActionsReducers/FormatColumnRedux.js +60 -65
- package/src/Redux/ActionsReducers/FreeTextColumnRedux.js +24 -34
- package/src/Redux/ActionsReducers/GridRedux.d.ts +6 -1
- package/src/Redux/ActionsReducers/GridRedux.js +139 -155
- package/src/Redux/ActionsReducers/LayoutRedux.d.ts +41 -12
- package/src/Redux/ActionsReducers/LayoutRedux.js +153 -105
- package/src/Redux/ActionsReducers/NamedQueryRedux.d.ts +43 -0
- package/src/Redux/ActionsReducers/NamedQueryRedux.js +74 -0
- package/src/Redux/ActionsReducers/NotesRedux.js +21 -31
- package/src/Redux/ActionsReducers/PluginsRedux.js +48 -53
- package/src/Redux/ActionsReducers/PlusMinusRedux.js +45 -59
- package/src/Redux/ActionsReducers/PopupRedux.js +64 -84
- package/src/Redux/ActionsReducers/QueryRedux.d.ts +5 -39
- package/src/Redux/ActionsReducers/QueryRedux.js +10 -72
- package/src/Redux/ActionsReducers/QuickSearchRedux.js +16 -23
- package/src/Redux/ActionsReducers/ScheduleRedux.js +179 -222
- package/src/Redux/ActionsReducers/ShortcutRedux.js +41 -54
- package/src/Redux/ActionsReducers/SmartEditRedux.js +9 -15
- package/src/Redux/ActionsReducers/StatusBarRedux.js +12 -19
- package/src/Redux/ActionsReducers/StyledColumnRedux.js +41 -54
- package/src/Redux/ActionsReducers/SystemRedux.d.ts +1 -1
- package/src/Redux/ActionsReducers/SystemRedux.js +254 -324
- package/src/Redux/ActionsReducers/SystemStatusRedux.js +6 -11
- package/src/Redux/ActionsReducers/TeamSharingRedux.js +40 -55
- package/src/Redux/ActionsReducers/ThemeRedux.js +32 -43
- package/src/Redux/ActionsReducers/ToolPanelRedux.js +28 -39
- package/src/Redux/ActionsReducers/utils.js +3 -9
- package/src/Redux/DeadRedux.js +25 -38
- package/src/Redux/Store/AdaptableReduxLocalStorageEngine.js +15 -20
- package/src/Redux/Store/AdaptableReduxMerger.d.ts +1 -1
- package/src/Redux/Store/AdaptableReduxMerger.js +21 -30
- package/src/Redux/Store/AdaptableStore.d.ts +2 -2
- package/src/Redux/Store/AdaptableStore.js +159 -136
- package/src/Redux/Store/Interface/IAdaptableStore.js +1 -2
- package/src/Redux/Store/Interface/IStorageEngine.js +1 -2
- package/src/Strategy/AdaptableModuleBase.d.ts +0 -1
- package/src/Strategy/AdaptableModuleBase.js +11 -45
- package/src/Strategy/AlertModule.js +37 -42
- package/src/Strategy/BulkUpdateModule.js +17 -22
- package/src/Strategy/CalculatedColumnModule.js +17 -22
- package/src/Strategy/CellSummaryModule.js +17 -22
- package/src/Strategy/ChartingModule.js +23 -25
- package/src/Strategy/{FilterModule.d.ts → ColumnFilterModule.d.ts} +4 -1
- package/src/Strategy/ColumnFilterModule.js +261 -0
- package/src/Strategy/ColumnInfoModule.js +3 -8
- package/src/Strategy/CustomSortModule.js +13 -18
- package/src/Strategy/DashboardModule.js +4 -9
- package/src/Strategy/DataChangeHistoryModule.js +10 -15
- package/src/Strategy/DataImportModule.js +3 -8
- package/src/Strategy/DataSetModule.js +11 -16
- package/src/Strategy/ExportModule.js +59 -64
- package/src/Strategy/Fdc3Module.js +3 -8
- package/src/Strategy/FlashingCellModule.js +30 -35
- package/src/Strategy/FormatColumnModule.js +28 -33
- package/src/Strategy/FreeTextColumnModule.js +8 -13
- package/src/Strategy/GridFilterModule.d.ts +8 -0
- package/src/Strategy/GridFilterModule.js +58 -0
- package/src/Strategy/GridInfoModule.js +3 -8
- package/src/Strategy/Interface/IBulkUpdateModule.js +1 -2
- package/src/Strategy/Interface/ICellSummaryModule.js +1 -2
- package/src/Strategy/Interface/IExportModule.js +1 -2
- package/src/Strategy/Interface/IModule.d.ts +4 -4
- package/src/Strategy/Interface/IModule.js +1 -2
- package/src/Strategy/Interface/IModuleActionReturn.js +1 -2
- package/src/Strategy/Interface/IPlusMinusModule.js +1 -2
- package/src/Strategy/Interface/IScheduleModule.js +1 -2
- package/src/Strategy/Interface/IShortcutModule.js +1 -2
- package/src/Strategy/Interface/ISmartEditModule.js +1 -2
- package/src/Strategy/LayoutModule.js +37 -33
- package/src/Strategy/{QueryModule.d.ts → NamedQueryModule.d.ts} +7 -8
- package/src/Strategy/NamedQueryModule.js +88 -0
- package/src/Strategy/NotesModule.js +3 -8
- package/src/Strategy/PlusMinusModule.js +24 -27
- package/src/Strategy/QuickSearchModule.js +5 -10
- package/src/Strategy/ScheduleModule.js +40 -45
- package/src/Strategy/SettingsPanelModule.js +4 -9
- package/src/Strategy/ShortcutModule.js +21 -26
- package/src/Strategy/SmartEditModule.js +22 -27
- package/src/Strategy/StateManagementModule.js +3 -8
- package/src/Strategy/StatusBarModule.js +3 -8
- package/src/Strategy/StyledColumnModule.js +19 -75
- package/src/Strategy/SystemStatusModule.js +5 -10
- package/src/Strategy/TeamSharingModule.js +32 -37
- package/src/Strategy/ThemeModule.js +5 -10
- package/src/Strategy/ToolPanelModule.js +8 -13
- package/src/Strategy/Utilities/Alert/getAlertBehaviourViewItems.js +5 -9
- package/src/Strategy/Utilities/Alert/getAlertPreviewViewItems.js +6 -11
- package/src/Strategy/Utilities/Alert/getAlertTypeViewItems.js +4 -8
- package/src/Strategy/Utilities/CustomSort/getCustomSortColumnViewItems.js +1 -5
- package/src/Strategy/Utilities/CustomSort/getCustomSortSortOrderViewItems.js +1 -5
- package/src/Strategy/Utilities/Export/getExportColumnsViewItems.js +1 -5
- package/src/Strategy/Utilities/Export/getExportRowsViewItems.js +1 -5
- package/src/Strategy/Utilities/FlashingCell/getFlashingCellDurationViewItems.js +1 -5
- package/src/Strategy/Utilities/FlashingCell/getFlashingCellStyleViewItems.js +3 -7
- package/src/Strategy/Utilities/FlashingCell/getFlashingTargetViewItems.js +1 -5
- package/src/Strategy/Utilities/FormatColumn/getFormatColumnSettingsViewItems.js +1 -5
- package/src/Strategy/Utilities/FormatColumn/getFormatColumnStyleViewItems.js +5 -10
- package/src/Strategy/Utilities/Layout/getLayoutFilterViewItems.js +4 -9
- package/src/Strategy/Utilities/Layout/getLayoutSortViewItems.js +1 -5
- package/src/Strategy/Utilities/Shortcut/getShortcutSettingsViewItems.js +1 -5
- package/src/Strategy/Utilities/getExpressionViewItems.js +1 -5
- package/src/Strategy/Utilities/getObjectTagsViewItems.js +7 -12
- package/src/Strategy/Utilities/getRuleViewItems.js +1 -5
- package/src/Strategy/Utilities/getScopeViewItems.js +1 -5
- package/src/Strategy/Utilities/updateSingleToMultiplePredicates.js +1 -5
- package/src/Utilities/Cancelable.js +1 -2
- package/src/Utilities/Constants/ConfigConstants.js +9 -12
- package/src/Utilities/Constants/DocumentationLinkConstants.js +14 -17
- package/src/Utilities/Constants/GeneralConstants.d.ts +3 -0
- package/src/Utilities/Constants/GeneralConstants.js +70 -71
- package/src/Utilities/Constants/ModuleConstants.d.ts +11 -6
- package/src/Utilities/Constants/ModuleConstants.js +118 -116
- package/src/Utilities/Defaults/DefaultAdaptableOptions.js +59 -51
- package/src/Utilities/Defaults/DefaultSettingsPanel.d.ts +1 -1
- package/src/Utilities/Defaults/DefaultSettingsPanel.js +5 -7
- package/src/Utilities/Emitter.d.ts +2 -2
- package/src/Utilities/Emitter.js +3 -5
- package/src/Utilities/ExpressionFunctions/aggregatedBooleanExpressionFunctions.d.ts +3 -3
- package/src/Utilities/ExpressionFunctions/aggregatedBooleanExpressionFunctions.js +20 -24
- package/src/Utilities/ExpressionFunctions/aggregatedScalarExpressionFunctions.d.ts +3 -3
- package/src/Utilities/ExpressionFunctions/aggregatedScalarExpressionFunctions.js +51 -54
- package/src/Utilities/ExpressionFunctions/booleanExpressionFunctions.d.ts +2 -1
- package/src/Utilities/ExpressionFunctions/booleanExpressionFunctions.js +119 -31
- package/src/Utilities/ExpressionFunctions/dateUtils.d.ts +1 -0
- package/src/Utilities/ExpressionFunctions/dateUtils.js +10 -5
- package/src/Utilities/ExpressionFunctions/deepMap.d.ts +3 -3
- package/src/Utilities/ExpressionFunctions/deepMap.js +8 -12
- package/src/Utilities/ExpressionFunctions/expressionFunctionUtils.d.ts +1 -1
- package/src/Utilities/ExpressionFunctions/expressionFunctionUtils.js +39 -57
- package/src/Utilities/ExpressionFunctions/groupingMap.d.ts +7 -7
- package/src/Utilities/ExpressionFunctions/groupingMap.js +3 -7
- package/src/Utilities/ExpressionFunctions/observableExpressionFunctions.d.ts +1 -1
- package/src/Utilities/ExpressionFunctions/observableExpressionFunctions.js +66 -70
- package/src/Utilities/ExpressionFunctions/scalarAggregationHelper.d.ts +7 -7
- package/src/Utilities/ExpressionFunctions/scalarAggregationHelper.js +3 -7
- package/src/Utilities/ExpressionFunctions/scalarExpressionFunctions.d.ts +1 -1
- package/src/Utilities/ExpressionFunctions/scalarExpressionFunctions.js +64 -58
- package/src/Utilities/Extensions/ArrayExtensions.js +39 -73
- package/src/Utilities/Extensions/EnumExtensions.js +14 -21
- package/src/Utilities/Extensions/NumberExtensions.js +4 -9
- package/src/Utilities/Extensions/ObjectExtensions.d.ts +1 -0
- package/src/Utilities/Extensions/ObjectExtensions.js +5 -7
- package/src/Utilities/Extensions/StringExtensions.js +23 -46
- package/src/Utilities/Extensions/TypeExtensions.d.ts +8 -8
- package/src/Utilities/Extensions/TypeExtensions.js +1 -5
- package/src/Utilities/Helpers/AdaptableHelper.js +59 -66
- package/src/Utilities/Helpers/DateHelper.js +18 -28
- package/src/Utilities/Helpers/FormatHelper.js +10 -18
- package/src/Utilities/Helpers/Helper.js +28 -50
- package/src/Utilities/Helpers/PreviewHelper.js +10 -16
- package/src/Utilities/Helpers/StyleHelper.js +11 -20
- package/src/Utilities/Interface/AdaptableToolPanelContext.js +1 -2
- package/src/Utilities/Interface/{ColumnFilterContext.d.ts → ColumnFilterProps.d.ts} +1 -1
- package/src/Utilities/Interface/ColumnFilterProps.js +1 -0
- package/src/Utilities/Interface/IPPStyle.js +1 -2
- package/src/Utilities/Interface/KeyValuePair.js +1 -2
- package/src/Utilities/Interface/MessagePopups.js +1 -2
- package/src/Utilities/Interface/Preview.js +1 -2
- package/src/Utilities/MenuItem.js +4 -11
- package/src/Utilities/ObjectFactory.d.ts +1 -2
- package/src/Utilities/ObjectFactory.js +125 -168
- package/src/Utilities/Services/AggregatedScalarLiveValue.js +3 -7
- package/src/Utilities/Services/AlertService.js +11 -16
- package/src/Utilities/Services/CalculatedColumnExpressionService.js +9 -13
- package/src/Utilities/Services/ChartingService.js +10 -15
- package/src/Utilities/Services/DataService.js +8 -13
- package/src/Utilities/Services/EntitlementService.d.ts +0 -1
- package/src/Utilities/Services/EntitlementService.js +1 -13
- package/src/Utilities/Services/Fdc3Service.js +7 -11
- package/src/Utilities/Services/Interface/IAdaptableService.js +1 -2
- package/src/Utilities/Services/Interface/IAlertService.d.ts +3 -3
- package/src/Utilities/Services/Interface/IAlertService.js +3 -8
- package/src/Utilities/Services/Interface/ICalculatedColumnExpressionService.js +1 -2
- package/src/Utilities/Services/Interface/IChartingService.js +1 -2
- package/src/Utilities/Services/Interface/IDataService.js +1 -2
- package/src/Utilities/Services/Interface/IEntitlementService.d.ts +0 -6
- package/src/Utilities/Services/Interface/IEntitlementService.js +1 -2
- package/src/Utilities/Services/Interface/ILicenseService.js +1 -2
- package/src/Utilities/Services/Interface/IMetamodelService.d.ts +1 -1
- package/src/Utilities/Services/Interface/IMetamodelService.js +1 -2
- package/src/Utilities/Services/Interface/IModuleService.js +1 -2
- package/src/Utilities/Services/Interface/IQueryLanguageService.js +1 -2
- package/src/Utilities/Services/Interface/IReportService.d.ts +2 -2
- package/src/Utilities/Services/Interface/IReportService.js +1 -2
- package/src/Utilities/Services/Interface/IRowEditService.js +1 -2
- package/src/Utilities/Services/Interface/ITeamSharingService.js +1 -2
- package/src/Utilities/Services/Interface/IThemeService.js +1 -2
- package/src/Utilities/Services/Interface/IValidationService.js +1 -2
- package/src/Utilities/Services/LicenseService/index.js +181 -1
- package/src/Utilities/Services/LicenseService/shouldLogThankYouMessage.js +1 -5
- package/src/Utilities/Services/MetamodelService.js +13 -18
- package/src/Utilities/Services/ModuleService.d.ts +1 -0
- package/src/Utilities/Services/ModuleService.js +17 -16
- package/src/Utilities/Services/QueryLanguageService.js +24 -29
- package/src/Utilities/Services/ReportService.d.ts +2 -2
- package/src/Utilities/Services/ReportService.js +60 -55
- package/src/Utilities/Services/RowEditService.js +1 -5
- package/src/Utilities/Services/TeamSharingService.js +6 -11
- package/src/Utilities/Services/ThemeService.js +1 -5
- package/src/Utilities/Services/ValidationService.js +10 -15
- package/src/Utilities/getScrollbarSize.js +1 -3
- package/src/Utilities/isAdaptableObject.js +1 -5
- package/src/Utilities/isMacLike.js +1 -5
- package/src/Utilities/license/LicenseDetails.d.ts +1 -1
- package/src/Utilities/license/LicenseDetails.js +1 -2
- package/src/Utilities/license/decode.js +65 -1
- package/src/Utilities/license/hashing.js +43 -1
- package/src/Utilities/logDeprecation.d.ts +5 -3
- package/src/Utilities/logDeprecation.js +3 -9
- package/src/Utilities/reorder.js +1 -5
- package/src/Utilities/runIfNotResolvedIn.js +1 -5
- package/src/Utilities/sortWithOrder.js +1 -5
- package/src/Utilities/waitForCondition.js +1 -5
- package/src/Utilities/waitForTimeout.js +1 -5
- package/src/View/AdaptableContext.js +5 -9
- package/src/View/AdaptablePopover/index.d.ts +1 -0
- package/src/View/AdaptablePopover/index.js +18 -23
- package/src/View/AdaptableView.js +30 -35
- package/src/View/AdaptableViewFactory.js +67 -69
- package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/AdaptableConfig.js +1 -2
- package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/AdaptableOptionsForm.js +25 -30
- package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/ColumnsList.js +42 -44
- package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/Components/FormBox.js +4 -9
- package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/ConfigurationWizard.js +21 -26
- package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/ConfigurationWizardColumnsStep.js +4 -9
- package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/EntitlementsForm.js +26 -29
- package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/FinanceForm/FinanceForm.js +1 -2
- package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/GridOptionsForm.js +17 -20
- package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/UIOptions/UIOptionsActionColumnsForm.js +8 -13
- package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/UIOptions/UIOptionsSidebarForm.js +16 -21
- package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/UIOptions/UIOptionsStatusbarForm.js +24 -29
- package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/UIOptions/UiOptionsForm.js +18 -23
- package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/index.js +2 -4
- package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/useSelection.js +3 -5
- package/src/View/AdaptableWizardView/Utils.js +1 -5
- package/src/View/AdaptableWizardView/Wizard.js +20 -26
- package/src/View/AdaptableWizardView/helper.js +4 -10
- package/src/View/AdaptableWizardView/index.js +7 -10
- package/src/View/Alert/ActiveAlertsPanel.js +9 -14
- package/src/View/Alert/ActiveAlertsPanelItemLabel.js +10 -15
- package/src/View/Alert/AlertEmptyView.js +5 -10
- package/src/View/Alert/AlertEntityRow.js +13 -18
- package/src/View/Alert/AlertStatusSubPanel.js +13 -18
- package/src/View/Alert/AlertViewPanel.js +17 -21
- package/src/View/Alert/AlertsPanel.js +24 -29
- package/src/View/Alert/Utilities/getAlertButtonStyle.js +6 -11
- package/src/View/Alert/Utilities/getAlertType.js +4 -9
- package/src/View/Alert/Utilities/getAvailablePredicates.js +2 -6
- package/src/View/Alert/Utilities/getDefaultAlertDefinition.js +8 -13
- package/src/View/Alert/Utilities/mapAlertDefinition.js +1 -5
- package/src/View/Alert/Wizard/AlertBehaviourWizardSection.d.ts +1 -1
- package/src/View/Alert/Wizard/AlertBehaviourWizardSection.js +60 -51
- package/src/View/Alert/Wizard/AlertButtonsEditor.d.ts +1 -1
- package/src/View/Alert/Wizard/AlertButtonsEditor.js +49 -57
- package/src/View/Alert/Wizard/AlertMessageWizardSection.d.ts +1 -1
- package/src/View/Alert/Wizard/AlertMessageWizardSection.js +31 -37
- package/src/View/Alert/Wizard/AlertNotificationWizardSection.d.ts +1 -1
- package/src/View/Alert/Wizard/AlertNotificationWizardSection.js +40 -46
- package/src/View/Alert/Wizard/AlertRulesWizardSection.d.ts +1 -1
- package/src/View/Alert/Wizard/AlertRulesWizardSection.js +23 -30
- package/src/View/Alert/Wizard/AlertScopeWizardSection.d.ts +1 -1
- package/src/View/Alert/Wizard/AlertScopeWizardSection.js +9 -14
- package/src/View/Alert/Wizard/AlertSelectQueryWizard.js +14 -19
- package/src/View/Alert/Wizard/AlertTypeWizardSection.d.ts +1 -1
- package/src/View/Alert/Wizard/AlertTypeWizardSection.js +19 -25
- package/src/View/Alert/Wizard/AlertWizard.js +61 -66
- package/src/View/Alert/Wizard/BaseAlertScopeWizardSection.js +14 -19
- package/src/View/Alert/Wizard/isValidAlertRules.js +4 -8
- package/src/View/BulkUpdate/BulkUpdatePopup.js +33 -43
- package/src/View/BulkUpdate/BulkUpdateViewPanel.js +28 -32
- package/src/View/CalculatedColumn/CalculatedColumnSummary.d.ts +1 -1
- package/src/View/CalculatedColumn/CalculatedColumnSummary.js +17 -22
- package/src/View/CalculatedColumn/Utilities/getCalculatedColumnSettingsTags.js +1 -5
- package/src/View/CalculatedColumn/Wizard/CalculatedColumnDefinitionWizardSection.d.ts +1 -1
- package/src/View/CalculatedColumn/Wizard/CalculatedColumnDefinitionWizardSection.js +36 -43
- package/src/View/CalculatedColumn/Wizard/CalculatedColumnExpressionWizardSection.d.ts +1 -1
- package/src/View/CalculatedColumn/Wizard/CalculatedColumnExpressionWizardSection.js +21 -28
- package/src/View/CalculatedColumn/Wizard/CalculatedColumnSettingsWizardSection.d.ts +1 -1
- package/src/View/CalculatedColumn/Wizard/CalculatedColumnSettingsWizardSection.js +40 -56
- package/src/View/CalculatedColumn/Wizard/CalculatedColumnTypeSection.d.ts +1 -1
- package/src/View/CalculatedColumn/Wizard/CalculatedColumnTypeSection.js +13 -18
- package/src/View/CalculatedColumn/Wizard/CalculatedColumnWizard.d.ts +1 -1
- package/src/View/CalculatedColumn/Wizard/CalculatedColumnWizard.js +51 -56
- package/src/View/CalculatedColumn/utils.js +1 -5
- package/src/View/CellSummary/CellSummaryDetails.js +6 -11
- package/src/View/CellSummary/CellSummaryPopover.js +4 -9
- package/src/View/CellSummary/CellSummaryPopup.js +8 -12
- package/src/View/CellSummary/CellSummaryStatusBarSubPanelPopover.js +11 -12
- package/src/View/CellSummary/CellSummaryStatusPanel.js +11 -16
- package/src/View/CellSummary/CellSummaryViewPanel.js +24 -28
- package/src/View/Charting/ChartingStatusBarPopover.js +12 -17
- package/src/View/Charting/ChartingViewPanel.js +13 -18
- package/src/View/Charting/ChartingWizard/AgChargingWizard/AgChargingWizard.js +18 -23
- package/src/View/Charting/ChartingWizard/AgChargingWizard/PreviewChartSection.js +9 -14
- package/src/View/Charting/ChartingWizard/AgChargingWizard/SettingsSection.js +16 -22
- package/src/View/Charting/ChartingWizard/AgChargingWizard/index.js +1 -4
- package/src/View/Charting/ChartingWizard/ChartingWizard.js +10 -14
- package/src/View/Charting/ChartingWizard/ExternalChartingWizard/ExternalChartingWizard.js +13 -18
- package/src/View/Charting/ChartingWizard/ExternalChartingWizard/SettingsSection.js +8 -14
- package/src/View/Charting/ChartingWizard/ExternalChartingWizard/index.js +1 -4
- package/src/View/Charting/ChartingWizard/index.js +1 -4
- package/src/View/Charting/DeleteChartButton.js +6 -11
- package/src/View/Charting/EditChartButton.js +8 -13
- package/src/View/Charting/ShowChartButton.js +21 -26
- package/src/View/Charting/useAgChartState.js +7 -12
- package/src/View/Charting/useChartingElements.js +26 -31
- package/src/View/Charting/useExternalChartState.js +7 -12
- package/src/View/ColumnInfo/ColumnInfo.js +41 -47
- package/src/View/ColumnInfo/ColumnInfoPopup.js +8 -13
- package/src/View/Components/AdaptableButton/index.js +8 -13
- package/src/View/Components/AdaptableDateInput/index.d.ts +2 -2
- package/src/View/Components/AdaptableDateInput/index.js +13 -15
- package/src/View/Components/AdaptableIconComponent/index.js +6 -11
- package/src/View/Components/AdaptableIconComponent/useCustomIcon.js +3 -7
- package/src/View/Components/AdaptableIconSelector/index.js +6 -11
- package/src/View/Components/AdaptableInput/index.d.ts +1 -1
- package/src/View/Components/AdaptableInput/index.js +8 -11
- package/src/View/Components/AdaptableObjectCollection/index.js +6 -11
- package/src/View/Components/AdaptableObjectList/AdaptableObjectCompactList.js +27 -33
- package/src/View/Components/AdaptableObjectList/AdaptableObjectList.js +40 -47
- package/src/View/Components/AdaptableObjectList/index.js +1 -5
- package/src/View/Components/AdaptableObjectRow/index.js +7 -12
- package/src/View/Components/Badge/index.js +6 -11
- package/src/View/Components/Buttons/ButtonApply.js +4 -9
- package/src/View/Components/Buttons/ButtonBase/index.d.ts +1 -1
- package/src/View/Components/Buttons/ButtonBase/index.js +5 -10
- package/src/View/Components/Buttons/ButtonClear.js +4 -9
- package/src/View/Components/Buttons/ButtonClone.js +4 -9
- package/src/View/Components/Buttons/ButtonClose.js +4 -9
- package/src/View/Components/Buttons/ButtonConfigure.js +4 -9
- package/src/View/Components/Buttons/ButtonDelete.d.ts +1 -1
- package/src/View/Components/Buttons/ButtonDelete.js +8 -11
- package/src/View/Components/Buttons/ButtonEdit.js +4 -9
- package/src/View/Components/Buttons/ButtonExpand.js +4 -9
- package/src/View/Components/Buttons/ButtonExport.js +4 -9
- package/src/View/Components/Buttons/ButtonFunction.js +4 -9
- package/src/View/Components/Buttons/ButtonGeneral.js +4 -9
- package/src/View/Components/Buttons/ButtonInfo.js +4 -9
- package/src/View/Components/Buttons/ButtonInvalid.js +4 -9
- package/src/View/Components/Buttons/ButtonLogin.js +4 -9
- package/src/View/Components/Buttons/ButtonLogout.js +4 -9
- package/src/View/Components/Buttons/ButtonMaximise.js +4 -9
- package/src/View/Components/Buttons/ButtonMinimise.js +4 -9
- package/src/View/Components/Buttons/ButtonNew.js +4 -9
- package/src/View/Components/Buttons/ButtonNewPage.js +4 -9
- package/src/View/Components/Buttons/ButtonOpen.d.ts +5 -0
- package/src/View/Components/Buttons/ButtonOpen.js +7 -0
- package/src/View/Components/Buttons/ButtonPause.js +4 -9
- package/src/View/Components/Buttons/ButtonPlay.js +5 -10
- package/src/View/Components/Buttons/ButtonPreviewDelete.js +4 -7
- package/src/View/Components/Buttons/ButtonSave.js +4 -9
- package/src/View/Components/Buttons/ButtonSchedule.js +4 -9
- package/src/View/Components/Buttons/ButtonShare.js +8 -12
- package/src/View/Components/Buttons/ButtonShow.js +4 -9
- package/src/View/Components/Buttons/ButtonShowChart.js +4 -9
- package/src/View/Components/Buttons/ButtonStop.js +4 -9
- package/src/View/Components/Buttons/ButtonUndo.js +4 -9
- package/src/View/Components/Buttons/ButtonUnsuspend.d.ts +8 -0
- package/src/View/Components/Buttons/ButtonUnsuspend.js +17 -0
- package/src/View/Components/Buttons/EntityListActionButtons.js +14 -19
- package/src/View/Components/Buttons/SuspendToggleButton/SuspendToggleButton.js +4 -8
- package/src/View/Components/Buttons/SuspendToggleButton/index.js +1 -4
- package/src/View/Components/CellPopup/index.d.ts +1 -1
- package/src/View/Components/CellPopup/index.js +10 -14
- package/src/View/Components/ColumnSelector/index.d.ts +1 -1
- package/src/View/Components/ColumnSelector/index.js +7 -12
- package/src/View/Components/EntityRowItem.js +2 -7
- package/src/View/Components/EntityRulesEditor/EntityRulePredicatesEditor/EntityRulePredicateEditor.js +18 -23
- package/src/View/Components/EntityRulesEditor/EntityRulePredicatesEditor/EntityRulePredicatesEditor.js +27 -32
- package/src/View/Components/EntityRulesEditor/EntityRulePredicatesEditor/index.js +1 -5
- package/src/View/Components/EntityRulesEditor/Utilities.js +1 -5
- package/src/View/Components/EntityRulesEditor/index.d.ts +2 -2
- package/src/View/Components/EntityRulesEditor/index.js +45 -42
- package/src/View/Components/ExpressionWizard.js +17 -22
- package/src/View/Components/ExternalRenderer.d.ts +1 -1
- package/src/View/Components/ExternalRenderer.js +6 -10
- package/src/View/Components/FilterForm/FilterForm.d.ts +2 -2
- package/src/View/Components/FilterForm/FilterForm.js +82 -87
- package/src/View/Components/FilterForm/ListBoxFilterForm.js +30 -35
- package/src/View/Components/FilterForm/ListBoxMenu.js +8 -13
- package/src/View/Components/FilterForm/QuickFilterForm.d.ts +2 -2
- package/src/View/Components/FilterForm/QuickFilterForm.js +52 -57
- package/src/View/Components/FilterForm/QuickFilterValues.d.ts +2 -2
- package/src/View/Components/FilterForm/QuickFilterValues.js +27 -32
- package/src/View/Components/FilterForm/Waiting.d.ts +1 -1
- package/src/View/Components/FilterForm/Waiting.js +10 -14
- package/src/View/Components/FilterForm/getDefaultColumnFilterPredicate.js +1 -5
- package/src/View/Components/Forms/AdaptableFormControlTextClear.d.ts +1 -1
- package/src/View/Components/Forms/AdaptableFormControlTextClear.js +10 -14
- package/src/View/Components/ListBox/DualListBoxEditor.js +53 -58
- package/src/View/Components/ListBox/ListBoxFilterSortComponent.js +10 -15
- package/src/View/Components/ModuleProfile.js +4 -9
- package/src/View/Components/ModuleSummary/ModuleDetail.js +6 -11
- package/src/View/Components/ModuleSummary/ModuleHeader.js +8 -13
- package/src/View/Components/ModuleSummary/SummaryRowItem.js +4 -9
- package/src/View/Components/ModuleValueSelector/index.js +15 -19
- package/src/View/Components/NewScopeComponent.js +45 -52
- package/src/View/Components/Panels/FilterFormPanel.d.ts +1 -1
- package/src/View/Components/Panels/FilterFormPanel.js +23 -28
- package/src/View/Components/Panels/PanelDashboard/index.js +4 -9
- package/src/View/Components/Panels/PanelFooter.js +8 -13
- package/src/View/Components/Panels/PanelToolPanel/index.js +16 -20
- package/src/View/Components/Panels/PanelWithButton.js +16 -21
- package/src/View/Components/Panels/PanelWithImage.js +16 -20
- package/src/View/Components/Panels/PanelWithRow.js +7 -12
- package/src/View/Components/Panels/PanelWithTwoButtons.js +7 -12
- package/src/View/Components/Panels/ToolPanelSettingsPanel.js +6 -11
- package/src/View/Components/PermittedValuesSelector/PermitedValuesSelector.js +16 -21
- package/src/View/Components/PermittedValuesSelector/index.js +1 -5
- package/src/View/Components/Popups/AdaptableLoadingScreen.js +6 -11
- package/src/View/Components/Popups/AdaptablePopup/AdaptablePopup.js +26 -31
- package/src/View/Components/Popups/AdaptablePopup/AdaptablePopupBody.js +7 -12
- package/src/View/Components/Popups/AdaptablePopup/AdaptablePopupDialog.js +21 -25
- package/src/View/Components/Popups/AdaptablePopup/AdaptablePopupModuleView.js +24 -29
- package/src/View/Components/Popups/AdaptablePopup/CustomSettingsPanelView.js +4 -9
- package/src/View/Components/Popups/AdaptablePopup/Navigation.js +11 -16
- package/src/View/Components/Popups/AdaptablePopup/PopupContext.js +3 -8
- package/src/View/Components/Popups/AdaptablePopup/PopupPanel.js +12 -17
- package/src/View/Components/Popups/AdaptablePopup/TopBar.js +12 -17
- package/src/View/Components/Popups/AdaptablePopup/index.js +1 -5
- package/src/View/Components/Popups/AdaptablePopup/useMenuItems.js +10 -15
- package/src/View/Components/Popups/AdaptablePopupAlert.js +24 -38
- package/src/View/Components/Popups/AdaptablePopupConfirmation.js +25 -30
- package/src/View/Components/Popups/AdaptablePopupPrompt.js +18 -23
- package/src/View/Components/Popups/AdaptablePopupTeamSharing.js +26 -31
- package/src/View/Components/Popups/AdaptableToaster.js +13 -18
- package/src/View/Components/Popups/FormPopups/FormPopups.js +19 -25
- package/src/View/Components/Popups/Utilities.js +10 -17
- package/src/View/Components/Popups/WindowPopups/WindowPopups.js +23 -27
- package/src/View/Components/Popups/WindowPopups/windowFactory.d.ts +1 -1
- package/src/View/Components/Popups/WindowPopups/windowFactory.js +13 -16
- package/src/View/Components/PredicateEditor/PredicateEditor.js +28 -33
- package/src/View/Components/PreviewResultsPanel.js +13 -18
- package/src/View/Components/RangesComponent.js +57 -59
- package/src/View/Components/ScopeComponent.js +23 -28
- package/src/View/Components/Selectors/ColumnSelector.d.ts +12 -17
- package/src/View/Components/Selectors/ColumnSelector.js +24 -48
- package/src/View/Components/Selectors/ColumnSelectorOld.d.ts +18 -0
- package/src/View/Components/Selectors/ColumnSelectorOld.js +46 -0
- package/src/View/Components/Selectors/ColumnValueSelector.d.ts +4 -23
- package/src/View/Components/Selectors/ColumnValueSelector.js +38 -135
- package/src/View/Components/Selectors/PermittedValuesSelector.d.ts +13 -0
- package/src/View/Components/Selectors/PermittedValuesSelector.js +46 -0
- package/src/View/Components/SharedProps/BaseProps.js +1 -2
- package/src/View/Components/SharedProps/ConfigEntityRowProps.js +1 -2
- package/src/View/Components/SharedProps/EditableConfigEntityState.js +2 -5
- package/src/View/Components/SharedProps/ModuleSummaryProps.js +1 -2
- package/src/View/Components/SharedProps/ModuleViewPopupProps.js +1 -2
- package/src/View/Components/SharedProps/ToolPanelModuleViewPopupProps.js +1 -2
- package/src/View/Components/SharedProps/ToolbarModuleViewPopupProps.js +1 -2
- package/src/View/Components/SharedProps/ViewPanelProps.js +1 -2
- package/src/View/Components/SharedProps/WizardScopeState.js +1 -2
- package/src/View/Components/StyleComponent.d.ts +2 -3
- package/src/View/Components/StyleComponent.js +85 -93
- package/src/View/Components/StyleVisualItem.js +9 -14
- package/src/View/Components/TagValueSelector/index.js +9 -15
- package/src/View/Components/ToolPanel/AdaptableToolPanel.d.ts +1 -1
- package/src/View/Components/ToolPanel/AdaptableToolPanel.js +39 -44
- package/src/View/Components/ToolPanel/CustomToolPanelContent.js +13 -18
- package/src/View/Components/ToolPanel/ToolPanelPopup.d.ts +1 -1
- package/src/View/Components/ToolPanel/ToolPanelPopup.js +24 -28
- package/src/View/Components/ToolPanel/ToolPanelWrapper.d.ts +1 -1
- package/src/View/Components/ToolPanel/ToolPanelWrapper.js +16 -21
- package/src/View/Components/ValueSelector/index.d.ts +2 -2
- package/src/View/Components/ValueSelector/index.js +47 -53
- package/src/View/Components/WizardSummaryPage.js +7 -12
- package/src/View/Components/WizardSummaryRow.js +6 -11
- package/src/View/CustomSort/CustomSortSummary.js +32 -37
- package/src/View/CustomSort/Wizard/CustomSortColumnWizardSection.d.ts +1 -1
- package/src/View/CustomSort/Wizard/CustomSortColumnWizardSection.js +17 -24
- package/src/View/CustomSort/Wizard/CustomSortSummaryWizard.js +4 -9
- package/src/View/CustomSort/Wizard/CustomSortValuesWizardSection.d.ts +1 -1
- package/src/View/CustomSort/Wizard/CustomSortValuesWizardSection.js +29 -36
- package/src/View/CustomSort/Wizard/CustomSortWizard.js +32 -37
- package/src/View/Dashboard/CustomDashboardButton.js +7 -12
- package/src/View/Dashboard/CustomToolbar.js +19 -25
- package/src/View/Dashboard/Dashboard.js +38 -42
- package/src/View/Dashboard/DashboardPopup.js +34 -41
- package/src/View/Dashboard/DashboardToolbarFactory.js +16 -18
- package/src/View/Dashboard/DashboardViewPanel.js +10 -14
- package/src/View/Dashboard/ModuleToolbarWrapper.js +8 -13
- package/src/View/Dashboard/PinnedDashboard.js +14 -16
- package/src/View/Dashboard/PinnedToolbarsSelector.js +15 -25
- package/src/View/DataChangeHistory/DataChangeHistoryGrid.js +19 -22
- package/src/View/DataChangeHistory/DataChangeHistoryPopup.js +34 -38
- package/src/View/DataChangeHistory/DataChangeHistoryStatusBarContent.js +4 -9
- package/src/View/DataChangeHistory/DataChangeHistoryViewPanel.js +36 -41
- package/src/View/DataChangeHistory/buildActionColumnButton.js +1 -5
- package/src/View/DataImport/DataImportPopup.js +12 -17
- package/src/View/DataImport/DataImportWizard/DataImportWizard.d.ts +1 -1
- package/src/View/DataImport/DataImportWizard/DataImportWizard.js +25 -30
- package/src/View/DataImport/DataImportWizard/index.js +1 -4
- package/src/View/DataImport/DataImportWizard/sections/ColumnsSection.js +29 -34
- package/src/View/DataImport/DataImportWizard/sections/DataPreview.js +21 -26
- package/src/View/DataImport/DataImportWizard/sections/ImportSection.js +18 -23
- package/src/View/DataImport/DataImportWizard/sections/UploadSection/UploadFileSection.js +5 -10
- package/src/View/DataImport/DataImportWizard/sections/UploadSection/UploadSection.d.ts +1 -1
- package/src/View/DataImport/DataImportWizard/sections/UploadSection/UploadSection.js +17 -22
- package/src/View/DataImport/DataImportWizard/sections/UploadSection/UploadTextSection.js +6 -11
- package/src/View/DataImport/DataImportWizard/sections/UploadSection/index.js +1 -4
- package/src/View/DataImport/DataImportWizard/sections/ValidationSection.js +18 -23
- package/src/View/DataImport/systemFileHandlers.js +5 -9
- package/src/View/DataSet/DataSetSelector.js +6 -11
- package/src/View/DataSet/DataSetStatusPanelPopover.js +6 -11
- package/src/View/DataSet/DataSetViewPanel.d.ts +1 -1
- package/src/View/DataSet/DataSetViewPanel.js +12 -15
- package/src/View/Export/ExportSelector.js +13 -18
- package/src/View/Export/ExportTablePopup.js +7 -12
- package/src/View/Export/ExportViewPanel.d.ts +1 -1
- package/src/View/Export/ExportViewPanel.js +50 -51
- package/src/View/Export/ReportExportDropdown.js +16 -21
- package/src/View/Export/Wizard/NewReportWizard.js +32 -37
- package/src/View/Export/Wizard/ReportColumnTypeWizard.js +14 -19
- package/src/View/Export/Wizard/ReportColumnsWizardSection.d.ts +1 -1
- package/src/View/Export/Wizard/ReportColumnsWizardSection.js +28 -35
- package/src/View/Export/Wizard/ReportNameWizardSection.d.ts +1 -1
- package/src/View/Export/Wizard/ReportNameWizardSection.js +21 -28
- package/src/View/Export/Wizard/ReportRowTypeWizard.js +14 -19
- package/src/View/Export/Wizard/ReportRowsWizardSection.d.ts +1 -1
- package/src/View/Export/Wizard/ReportRowsWizardSection.js +31 -38
- package/src/View/Export/Wizard/ReportScopeWizard.js +9 -14
- package/src/View/Export/Wizard/ReportSettingsWizard.js +18 -23
- package/src/View/Export/Wizard/ReportSummaryWizard.js +4 -9
- package/src/View/Export/constants.js +2 -5
- package/src/View/Filter/ActiveFiltersPanel.js +9 -14
- package/src/View/Filter/FilterStatusBarSubPanelPopover.js +4 -9
- package/src/View/Filter/FilterSummary.d.ts +1 -1
- package/src/View/Filter/FilterSummary.js +20 -25
- package/src/View/Filter/FilterViewPanel.d.ts +1 -1
- package/src/View/Filter/FilterViewPanel.js +29 -33
- package/src/View/FlashingCell/FlashingCellStyle.js +10 -14
- package/src/View/FlashingCell/Wizard/FlashingCellRulesWizardSection.js +14 -20
- package/src/View/FlashingCell/Wizard/FlashingCellScopeWizardSection.d.ts +1 -1
- package/src/View/FlashingCell/Wizard/FlashingCellScopeWizardSection.js +10 -15
- package/src/View/FlashingCell/Wizard/FlashingCellSettingsWizardSection.d.ts +1 -1
- package/src/View/FlashingCell/Wizard/FlashingCellSettingsWizardSection.js +36 -42
- package/src/View/FlashingCell/Wizard/FlashingCellStyleWizardSection.d.ts +1 -1
- package/src/View/FlashingCell/Wizard/FlashingCellStyleWizardSection.js +28 -34
- package/src/View/FlashingCell/Wizard/FlashingCellWizard.js +49 -54
- package/src/View/FlashingCell/Wizard/isValidFlashingCellRules.js +4 -8
- package/src/View/FormatColumn/FormatColumnSummary.js +27 -32
- package/src/View/FormatColumn/MoveFormatColumn.js +10 -15
- package/src/View/FormatColumn/Wizard/FormatColumnFormatWizardSection.d.ts +1 -1
- package/src/View/FormatColumn/Wizard/FormatColumnFormatWizardSection.js +153 -160
- package/src/View/FormatColumn/Wizard/FormatColumnRuleWizardSection.d.ts +1 -1
- package/src/View/FormatColumn/Wizard/FormatColumnRuleWizardSection.js +6 -11
- package/src/View/FormatColumn/Wizard/FormatColumnScopeWizardSection.d.ts +1 -1
- package/src/View/FormatColumn/Wizard/FormatColumnScopeWizardSection.js +10 -16
- package/src/View/FormatColumn/Wizard/FormatColumnSettingsWizardSection.d.ts +1 -1
- package/src/View/FormatColumn/Wizard/FormatColumnSettingsWizardSection.js +30 -36
- package/src/View/FormatColumn/Wizard/FormatColumnStyleWizardSection.d.ts +1 -1
- package/src/View/FormatColumn/Wizard/FormatColumnStyleWizardSection.js +17 -25
- package/src/View/FormatColumn/Wizard/FormatColumnWizard.js +51 -54
- package/src/View/FormatColumn/Wizard/constants.js +1 -4
- package/src/View/FreeTextColumn/FreeTextColumnSummary.js +27 -32
- package/src/View/FreeTextColumn/Wizard/FreeTextColumnSettingsWizardSection.d.ts +1 -1
- package/src/View/FreeTextColumn/Wizard/FreeTextColumnSettingsWizardSection.js +53 -70
- package/src/View/FreeTextColumn/Wizard/FreeTextColumnWizard.js +26 -31
- package/src/View/GridFilter/GridFilterExpressionEditor.d.ts +5 -0
- package/src/View/GridFilter/GridFilterExpressionEditor.js +109 -0
- package/src/View/GridFilter/GridFilterPopup.d.ts +2 -0
- package/src/View/GridFilter/GridFilterPopup.js +42 -0
- package/src/View/GridFilter/GridFilterStatusbar.d.ts +2 -0
- package/src/View/GridFilter/GridFilterStatusbar.js +16 -0
- package/src/View/GridFilter/GridFilterViewPanel.d.ts +5 -0
- package/src/View/GridFilter/GridFilterViewPanel.js +64 -0
- package/src/View/{Query/ExpandedQueryPopup.d.ts → GridFilter/GridFilterWindowPopup.d.ts} +1 -1
- package/src/View/GridFilter/GridFilterWindowPopup.js +5 -0
- package/src/View/GridFilter/NamedQuerySelector.d.ts +16 -0
- package/src/View/GridFilter/NamedQuerySelector.js +50 -0
- package/src/View/GridFilter/useGridFilterExpressionEditor.d.ts +24 -0
- package/src/View/GridFilter/useGridFilterExpressionEditor.js +123 -0
- package/src/View/GridFilter/useGridFilterOptionsForExpressionEditor.d.ts +4 -0
- package/src/View/GridFilter/useGridFilterOptionsForExpressionEditor.js +27 -0
- package/src/View/GridInfo/GridInfoPopup/AdaptableObjectsSummary.js +11 -16
- package/src/View/GridInfo/GridInfoPopup/AdaptableOptionsComponent.js +20 -25
- package/src/View/GridInfo/GridInfoPopup/GridInfoPopup.js +35 -38
- package/src/View/GridInfo/GridInfoPopup/index.js +1 -4
- package/src/View/KeyHint.js +4 -9
- package/src/View/Layout/EditCurrentLayoutButton.js +6 -11
- package/src/View/Layout/LayoutCloneButton.js +6 -11
- package/src/View/Layout/LayoutRadioSelector.js +6 -11
- package/src/View/Layout/LayoutStatusBarSubPanelPopover.js +6 -11
- package/src/View/Layout/LayoutViewPanel.d.ts +1 -1
- package/src/View/Layout/LayoutViewPanel.js +28 -31
- package/src/View/Layout/PivotDetailsPopoup.js +7 -12
- package/src/View/Layout/SaveLayoutButton.js +14 -18
- package/src/View/Layout/Wizard/Components/ColumnLabels.js +11 -15
- package/src/View/Layout/Wizard/LayoutWizard.js +57 -52
- package/src/View/Layout/Wizard/sections/AggregationsSection.js +37 -44
- package/src/View/Layout/Wizard/sections/ColumnsSection.js +62 -68
- package/src/View/Layout/Wizard/sections/FilterSection.js +44 -53
- package/src/View/Layout/Wizard/sections/GridFilterSection.d.ts +9 -0
- package/src/View/Layout/Wizard/sections/GridFilterSection.js +37 -0
- package/src/View/Layout/Wizard/sections/PivotColumnsSection.js +21 -27
- package/src/View/Layout/Wizard/sections/RowGroupingSection.js +27 -33
- package/src/View/Layout/Wizard/sections/SettingsSection.js +29 -35
- package/src/View/Layout/Wizard/sections/SortSection.js +26 -32
- package/src/View/Layout/Wizard/sections/Utilities.js +1 -5
- package/src/View/License/LicenseWatermark.js +61 -1
- package/src/View/License/index.js +1 -5
- package/src/View/NamedQuery/EditCurrentQueryButton.d.ts +2 -0
- package/src/View/NamedQuery/EditCurrentQueryButton.js +11 -0
- package/src/View/{Query → NamedQuery}/Wizard/NamedQueryExpressionWizardSection.d.ts +1 -1
- package/src/View/NamedQuery/Wizard/NamedQueryExpressionWizardSection.js +30 -0
- package/src/View/{Query → NamedQuery}/Wizard/NamedQuerySettingsWizardSection.d.ts +1 -1
- package/src/View/NamedQuery/Wizard/NamedQuerySettingsWizardSection.js +38 -0
- package/src/View/NamedQuery/Wizard/NamedQueryWizard.js +65 -0
- package/src/View/Notes/NotesListing.js +14 -19
- package/src/View/Notes/NotesPopup.js +19 -24
- package/src/View/PlusMinus/PlusMinusSummary.js +26 -31
- package/src/View/PlusMinus/Wizard/PlusMinusRuleWizardSection.js +12 -18
- package/src/View/PlusMinus/Wizard/PlusMinusScopeWizardSection.js +6 -11
- package/src/View/PlusMinus/Wizard/PlusMinusSettingsWizardSection.js +32 -39
- package/src/View/PlusMinus/Wizard/PlusMinusWizard.js +26 -31
- package/src/View/QuickSearch/FloatingQuickSearch/FloatingQuickSearch.js +13 -18
- package/src/View/QuickSearch/QuickSearchInput.js +13 -18
- package/src/View/QuickSearch/QuickSearchPopup.js +26 -30
- package/src/View/QuickSearch/QuickSearchStatusBarContent.js +10 -15
- package/src/View/QuickSearch/QuickSearchViewPanel.js +4 -9
- package/src/View/QuickSearch/useQuickSearchDebounced.d.ts +1 -1
- package/src/View/QuickSearch/useQuickSearchDebounced.js +7 -12
- package/src/View/Schedule/Wizard/ScheduleScheduleSummary.js +8 -13
- package/src/View/Schedule/Wizard/ScheduleScheduleWizard.js +26 -32
- package/src/View/Schedule/Wizard/ScheduleSettingsWizard/ScheduleSettingsGlue42.js +13 -18
- package/src/View/Schedule/Wizard/ScheduleSettingsWizard/ScheduleSettingsIPushPull.js +24 -29
- package/src/View/Schedule/Wizard/ScheduleSettingsWizard/ScheduleSettingsOpenFin.js +13 -18
- package/src/View/Schedule/Wizard/ScheduleSettingsWizard/ScheduleSettingsReminder.js +26 -28
- package/src/View/Schedule/Wizard/ScheduleSettingsWizard/ScheduleSettingsReport.d.ts +1 -1
- package/src/View/Schedule/Wizard/ScheduleSettingsWizard/ScheduleSettingsReport.js +17 -21
- package/src/View/Schedule/Wizard/ScheduleSettingsWizard/ScheduleSettingsSummary.js +14 -20
- package/src/View/Schedule/Wizard/ScheduleSettingsWizard/ScheduleSettingsWizard.js +20 -25
- package/src/View/Schedule/Wizard/ScheduleSettingsWizard/index.js +3 -9
- package/src/View/Schedule/Wizard/ScheduleSettingsWizard/isSettingsValid.js +17 -22
- package/src/View/Schedule/Wizard/ScheduleWizard.js +47 -52
- package/src/View/Shortcut/Wizard/ShortcutScopeWizardSection.js +6 -11
- package/src/View/Shortcut/Wizard/ShortcutSettingsWizard.js +44 -52
- package/src/View/Shortcut/Wizard/ShortcutWizard.js +36 -40
- package/src/View/Shortcut/shortcutKeys.js +1 -4
- package/src/View/Shortcut/shortcutOperations.js +6 -9
- package/src/View/SmartEdit/SmartEditPopup.js +26 -30
- package/src/View/SmartEdit/SmartEditViewPanel.js +35 -37
- package/src/View/SpecialColumnSettingsWizardStep.js +36 -38
- package/src/View/StateManagement/StateManagementPopup.js +22 -27
- package/src/View/StateManagement/StateManagementViewPanel.js +14 -19
- package/src/View/StateManagement/components/ClearButton.js +4 -9
- package/src/View/StateManagement/components/ExportDropdown.js +7 -12
- package/src/View/StateManagement/components/LoadButton.js +6 -11
- package/src/View/StateManagement/handleExportState.js +4 -9
- package/src/View/StatusBar/AdaptableStatusBar.js +14 -19
- package/src/View/StatusBar/StatusBarPanel.js +12 -16
- package/src/View/StatusBar/StatusBarPopup.js +14 -19
- package/src/View/StyledColumn/Wizard/StyledColumnBadgeSection.js +61 -59
- package/src/View/StyledColumn/Wizard/StyledColumnSparklineSettingsSection.js +144 -152
- package/src/View/StyledColumn/Wizard/StyledColumnWizard.js +46 -52
- package/src/View/StyledColumn/Wizard/StyledColumnWizardColumnSection.d.ts +1 -1
- package/src/View/StyledColumn/Wizard/StyledColumnWizardColumnSection.js +24 -29
- package/src/View/StyledColumn/Wizard/StyledColumnWizardSettingsSection.d.ts +1 -1
- package/src/View/StyledColumn/Wizard/StyledColumnWizardSettingsSection.js +21 -27
- package/src/View/StyledColumn/Wizard/StyledColumnWizardStyleSection/Components/PercentBarColumnComparisonPreview.js +9 -14
- package/src/View/StyledColumn/Wizard/StyledColumnWizardStyleSection/Components/PercentBarRangesPreview.js +7 -12
- package/src/View/StyledColumn/Wizard/StyledColumnWizardStyleSection/Components/PercentBarStylePreview.js +7 -12
- package/src/View/StyledColumn/Wizard/StyledColumnWizardStyleSection/Components/StyledColumnBadgePreview.js +15 -20
- package/src/View/StyledColumn/Wizard/StyledColumnWizardStyleSection/StyledColumnWizardStyleSection.js +49 -64
- package/src/View/StyledColumn/Wizard/StyledColumnWizardStyleSection/index.js +1 -4
- package/src/View/StyledColumn/Wizard/StyledColumnWizardTypeSection.js +23 -36
- package/src/View/SystemStatus/SystemStatusEntityRow.js +12 -17
- package/src/View/SystemStatus/SystemStatusPopup.js +18 -22
- package/src/View/SystemStatus/SystemStatusStatusBarContent.js +8 -13
- package/src/View/SystemStatus/SystemStatusViewPanel.d.ts +1 -1
- package/src/View/SystemStatus/SystemStatusViewPanel.js +8 -12
- package/src/View/SystemStatus/Utilities/getStatusItemStyle.js +5 -10
- package/src/View/TeamSharing/SharedEntityDependencies.js +12 -18
- package/src/View/TeamSharing/SharedEntityObjectView.js +23 -30
- package/src/View/TeamSharing/TeamSharingApplyButton.js +6 -11
- package/src/View/Theme/ThemeEditor.d.ts +1 -1
- package/src/View/Theme/ThemeEditor.js +27 -32
- package/src/View/Theme/ThemeEditorWindow.js +8 -13
- package/src/View/Theme/ThemeField.js +18 -23
- package/src/View/Theme/ThemePopup.js +22 -26
- package/src/View/Theme/ThemeStatusPanelPopover.js +6 -11
- package/src/View/Theme/ThemeViewPanel.js +11 -14
- package/src/View/Theme/VariantSelector.js +8 -13
- package/src/View/UIHelper.d.ts +1 -1
- package/src/View/UIHelper.js +120 -152
- package/src/View/UIInterfaces.js +1 -2
- package/src/View/Wizard/AdaptableWizard.js +24 -30
- package/src/View/Wizard/Interface/IAdaptableWizard.js +1 -2
- package/src/View/Wizard/ObjectTagsWizardSection.d.ts +1 -1
- package/src/View/Wizard/ObjectTagsWizardSection.js +14 -20
- package/src/View/Wizard/OnePageAdaptableWizard.d.ts +1 -1
- package/src/View/Wizard/OnePageAdaptableWizard.js +32 -42
- package/src/View/Wizard/OnePageWizards.d.ts +2 -2
- package/src/View/Wizard/OnePageWizards.js +50 -59
- package/src/View/Wizard/TypeRadio.js +7 -12
- package/src/View/Wizard/WizardLegend.js +6 -11
- package/src/View/Wizard/useKeyboardNavigation.js +4 -9
- package/src/View/renderWithAdaptableContext.js +9 -14
- package/src/agGrid/ActionColumnRenderer.js +9 -15
- package/src/agGrid/Adaptable.d.ts +24 -17
- package/src/agGrid/Adaptable.js +512 -502
- package/src/agGrid/AdaptableLogger.js +15 -19
- package/src/agGrid/BadgeRenderer.js +6 -11
- package/src/agGrid/CheckboxRenderer.d.ts +5 -0
- package/src/agGrid/CheckboxRenderer.js +7 -8
- package/src/agGrid/ColumnSetupInfo.d.ts +1 -1
- package/src/agGrid/ColumnSetupInfo.js +1 -2
- package/src/agGrid/FilterWrapper.js +17 -22
- package/src/agGrid/FloatingFilterWrapper.js +12 -17
- package/src/agGrid/PercentBarRenderer.js +5 -10
- package/src/agGrid/agGridHelper.d.ts +1 -1
- package/src/agGrid/agGridHelper.js +120 -114
- package/src/agGrid/agGridMenuHelper.js +81 -69
- package/src/agGrid/attachAddaptableColumnTypes.js +4 -8
- package/src/agGrid/createAgStatusPanelComponent.js +5 -10
- package/src/agGrid/editors/AdaptableDateEditor/InternalAdaptableDateEditor.d.ts +2 -2
- package/src/agGrid/editors/AdaptableDateEditor/InternalAdaptableDateEditor.js +12 -16
- package/src/agGrid/editors/AdaptableDateEditor/index.js +19 -24
- package/src/agGrid/editors/AdaptableNumberEditor/InternalAdaptableNumberEditor.d.ts +2 -2
- package/src/agGrid/editors/AdaptableNumberEditor/InternalAdaptableNumberEditor.js +6 -10
- package/src/agGrid/editors/AdaptableNumberEditor/index.js +16 -21
- package/src/agGrid/index.js +6 -11
- package/src/agGrid/weightedAverage.js +10 -17
- package/src/components/AdaptableFormComponent/AdaptableFormComponent.js +58 -38
- package/src/components/AdaptableFormComponent/index.js +1 -4
- package/src/components/CheckBox/index.d.ts +1 -1
- package/src/components/CheckBox/index.js +13 -17
- package/src/components/CodeBlock/index.js +6 -11
- package/src/components/ColorPicker/ColorPicker.d.ts +2 -2
- package/src/components/ColorPicker/ColorPicker.js +15 -18
- package/src/components/ColorPicker/index.js +1 -4
- package/src/components/ContainerProps.d.ts +2 -2
- package/src/components/ContainerProps.js +1 -2
- package/src/components/Dashboard/Dashboard.d.ts +2 -2
- package/src/components/Dashboard/Dashboard.js +17 -22
- package/src/components/Dashboard/DashboardManager.js +4 -7
- package/src/components/Dashboard/DashboardTab.d.ts +1 -1
- package/src/components/Dashboard/DashboardTab.js +1 -5
- package/src/components/Dashboard/DashboardToolbar.d.ts +1 -1
- package/src/components/Dashboard/DashboardToolbar.js +9 -14
- package/src/components/Dashboard/index.js +3 -6
- package/src/components/Datepicker/Caption.js +15 -20
- package/src/components/Datepicker/CaptionLabel.js +16 -21
- package/src/components/Datepicker/DatepickerContext.js +4 -9
- package/src/components/Datepicker/index.d.ts +2 -2
- package/src/components/Datepicker/index.js +36 -39
- package/src/components/Dialog/index.d.ts +2 -2
- package/src/components/Dialog/index.js +29 -32
- package/src/components/Dialog/useIsOpen.js +3 -6
- package/src/components/DragAndDropContext/DragAndDropContext.js +2 -6
- package/src/components/DragAndDropContext/ModuleManager.js +13 -18
- package/src/components/DragAndDropContext/TabList.js +19 -27
- package/src/components/DragAndDropContext/UnusedPanel.js +10 -15
- package/src/components/DragAndDropContext/types.js +1 -2
- package/src/components/Drawer/index.js +2 -7
- package/src/components/Dropdown/Arrows.js +5 -8
- package/src/components/Dropdown/index.d.ts +2 -2
- package/src/components/Dropdown/index.js +18 -20
- package/src/components/DropdownButton/DropdownButtonItem.d.ts +1 -1
- package/src/components/DropdownButton/DropdownButtonItem.js +1 -2
- package/src/components/DropdownButton/index.d.ts +1 -1
- package/src/components/DropdownButton/index.js +23 -26
- package/src/components/DropdownButton/renderItem.d.ts +1 -1
- package/src/components/DropdownButton/renderItem.js +4 -7
- package/src/components/DropdownButton/useExpanded.d.ts +1 -1
- package/src/components/DropdownButton/useExpanded.js +9 -12
- package/src/components/EllipsisContainer/index.d.ts +1 -1
- package/src/components/EllipsisContainer/index.js +17 -21
- package/src/components/EmptyContent/index.d.ts +1 -1
- package/src/components/EmptyContent/index.js +8 -10
- package/src/components/ErrorBox/index.js +6 -10
- package/src/components/ExpressionEditor/BaseEditorInput.js +56 -61
- package/src/components/ExpressionEditor/EditorButton.js +8 -10
- package/src/components/ExpressionEditor/EditorContext.js +4 -8
- package/src/components/ExpressionEditor/EditorInput.js +22 -25
- package/src/components/ExpressionEditor/EditorInputWithWhereClause.js +24 -27
- package/src/components/ExpressionEditor/ExpressionFunctionDocumentation.js +10 -15
- package/src/components/ExpressionEditor/NamedQueryContext.d.ts +2 -2
- package/src/components/ExpressionEditor/NamedQueryContext.js +4 -8
- package/src/components/ExpressionEditor/QueryBuilder/QueryBuilder.d.ts +22 -0
- package/src/components/ExpressionEditor/QueryBuilder/QueryBuilder.js +112 -0
- package/src/components/ExpressionEditor/QueryBuilder/QueryBuilderInputs.d.ts +28 -0
- package/src/components/ExpressionEditor/QueryBuilder/QueryBuilderInputs.js +118 -0
- package/src/components/ExpressionEditor/QueryBuilder/QueryPredicateBuilder.d.ts +22 -0
- package/src/components/ExpressionEditor/QueryBuilder/QueryPredicateBuilder.js +172 -0
- package/src/components/ExpressionEditor/QueryBuilder/booleanExpressions.d.ts +2 -0
- package/src/components/ExpressionEditor/QueryBuilder/booleanExpressions.js +14 -0
- package/src/components/ExpressionEditor/QueryBuilder/index.d.ts +1 -0
- package/src/components/ExpressionEditor/QueryBuilder/index.js +1 -0
- package/src/components/ExpressionEditor/QueryBuilder/utils.d.ts +9 -0
- package/src/components/ExpressionEditor/QueryBuilder/utils.js +113 -0
- package/src/components/ExpressionEditor/editorButtonsAggregatedBoolean.js +1 -4
- package/src/components/ExpressionEditor/editorButtonsAggregatedScalar.js +1 -4
- package/src/components/ExpressionEditor/editorButtonsCumulativeAggregatedScalar.js +1 -4
- package/src/components/ExpressionEditor/editorButtonsObservable.js +1 -4
- package/src/components/ExpressionEditor/editorButtonsQuantileAggregatedScalar.js +1 -4
- package/src/components/ExpressionEditor/editorButtonsSearch.js +1 -4
- package/src/components/ExpressionEditor/index.d.ts +4 -3
- package/src/components/ExpressionEditor/index.js +166 -117
- package/src/components/FieldWrap/index.js +5 -8
- package/src/components/FileDroppable/FileDroppableState.js +1 -2
- package/src/components/FileDroppable/index.js +29 -33
- package/src/components/FileDroppable/reducer.js +3 -6
- package/src/components/FlexWithFooter.js +9 -11
- package/src/components/FormLayout/index.d.ts +4 -4
- package/src/components/FormLayout/index.js +13 -17
- package/src/components/HelpBlock/index.js +6 -10
- package/src/components/Icon/index.js +20 -29
- package/src/components/IconSelector/IconSelector.js +27 -32
- package/src/components/IconSelector/index.js +1 -4
- package/src/components/InfiniteTable/index.js +6 -10
- package/src/components/Input/NumberInput.d.ts +1 -1
- package/src/components/Input/NumberInput.js +4 -9
- package/src/components/Input/index.d.ts +2 -2
- package/src/components/Input/index.js +8 -11
- package/src/components/List/GridList/index.js +7 -10
- package/src/components/List/ListGroup/index.js +7 -9
- package/src/components/List/ListGroupItem/index.d.ts +2 -2
- package/src/components/List/ListGroupItem/index.js +8 -10
- package/src/components/Loader/Loader.js +4 -10
- package/src/components/Loader/index.js +2 -7
- package/src/components/Logo/index.js +2 -7
- package/src/components/Modal/Backdrop.d.ts +2 -2
- package/src/components/Modal/Backdrop.js +12 -17
- package/src/components/Modal/index.js +19 -23
- package/src/components/NotifyResize/index.js +4 -7
- package/src/components/OverlayTrigger/Overlay.js +19 -23
- package/src/components/OverlayTrigger/index.d.ts +1 -1
- package/src/components/OverlayTrigger/index.js +41 -46
- package/src/components/OverlayTrigger/useAgGridClassName.js +5 -7
- package/src/components/OverlayTrigger/utils.js +3 -9
- package/src/components/Panel/index.d.ts +1 -1
- package/src/components/Panel/index.js +12 -15
- package/src/components/PopupWithFooter.js +8 -11
- package/src/components/ProgressIndicator/ProgressIndicator.js +12 -17
- package/src/components/Radio/index.d.ts +1 -1
- package/src/components/Radio/index.js +15 -20
- package/src/components/ResizeObserver/getResizeObserverObject.js +1 -5
- package/src/components/ResizeObserver/index.d.ts +1 -1
- package/src/components/ResizeObserver/index.js +17 -24
- package/src/components/Select/Select.d.ts +30 -0
- package/src/components/Select/Select.js +128 -0
- package/src/components/Select/index.d.ts +1 -0
- package/src/components/Select/index.js +1 -0
- package/src/components/SelectList.js +4 -9
- package/src/components/SelectableList/index.d.ts +1 -1
- package/src/components/SelectableList/index.js +8 -13
- package/src/components/SimpleButton/index.js +19 -22
- package/src/components/SizedContainer/index.js +9 -11
- package/src/components/StylePreview.js +6 -11
- package/src/components/Table/index.js +4 -7
- package/src/components/Tabs/index.d.ts +3 -3
- package/src/components/Tabs/index.js +28 -34
- package/src/components/Tag/Tag.js +5 -9
- package/src/components/Tag/index.js +1 -5
- package/src/components/Textarea/index.d.ts +2 -2
- package/src/components/Textarea/index.js +8 -11
- package/src/components/Toastify/index.js +1 -10
- package/src/components/Toggle/Toggle.d.ts +1 -1
- package/src/components/Toggle/Toggle.js +8 -12
- package/src/components/Toggle/ToggleGroup.js +4 -9
- package/src/components/Toggle/index.js +2 -5
- package/src/components/ToggleButton/index.js +6 -11
- package/src/components/Tooltip/index.js +4 -7
- package/src/components/WarningBox/index.d.ts +4 -0
- package/src/components/WarningBox/index.js +7 -0
- package/src/components/WindowModal/WindowModal.d.ts +2 -2
- package/src/components/WindowModal/WindowModal.js +12 -17
- package/src/components/WindowModal/index.js +1 -4
- package/src/components/WindowModal/useStacking.js +4 -9
- package/src/components/WizardPanel/index.js +5 -8
- package/src/components/icons/DefaultIcon.d.ts +1 -1
- package/src/components/icons/DefaultIcon.js +8 -12
- package/src/components/icons/add-row.js +3 -6
- package/src/components/icons/alert.js +3 -6
- package/src/components/icons/align-center.js +3 -6
- package/src/components/icons/align-justify.js +3 -6
- package/src/components/icons/align-left.js +3 -6
- package/src/components/icons/align-right.js +3 -6
- package/src/components/icons/analysis.js +3 -6
- package/src/components/icons/application.js +3 -6
- package/src/components/icons/arrow-down-long.js +3 -6
- package/src/components/icons/arrow-down.js +3 -6
- package/src/components/icons/arrow-expand.js +3 -6
- package/src/components/icons/arrow-left.js +3 -6
- package/src/components/icons/arrow-right.js +3 -6
- package/src/components/icons/arrow-up-long.js +3 -6
- package/src/components/icons/arrow-up.js +3 -6
- package/src/components/icons/attach-file.js +3 -6
- package/src/components/icons/badge.js +3 -6
- package/src/components/icons/blanks.js +3 -6
- package/src/components/icons/bold.js +3 -6
- package/src/components/icons/boolean-list.js +3 -6
- package/src/components/icons/brush.js +3 -6
- package/src/components/icons/build.js +3 -6
- package/src/components/icons/bulk-update.js +3 -6
- package/src/components/icons/calculated-column.js +3 -6
- package/src/components/icons/calendar.js +3 -6
- package/src/components/icons/call.js +3 -6
- package/src/components/icons/campaign.js +3 -6
- package/src/components/icons/case-lower.js +3 -6
- package/src/components/icons/case-sentence.js +3 -6
- package/src/components/icons/case-upper.js +3 -6
- package/src/components/icons/cell-summary.js +3 -6
- package/src/components/icons/cell-validation.js +3 -6
- package/src/components/icons/chart.js +3 -6
- package/src/components/icons/chat.js +3 -6
- package/src/components/icons/check-box-outline.js +3 -6
- package/src/components/icons/check-box.js +3 -6
- package/src/components/icons/check-circle.js +3 -6
- package/src/components/icons/check.js +3 -6
- package/src/components/icons/clone.js +3 -6
- package/src/components/icons/close.js +3 -6
- package/src/components/icons/cloud-upload.js +3 -6
- package/src/components/icons/collapse.js +3 -6
- package/src/components/icons/column-add.js +3 -6
- package/src/components/icons/column-chooser.js +3 -6
- package/src/components/icons/column-filter.js +3 -6
- package/src/components/icons/column-info.js +3 -6
- package/src/components/icons/comment.js +3 -6
- package/src/components/icons/contact.js +3 -6
- package/src/components/icons/contains.js +3 -6
- package/src/components/icons/custom-sort.js +3 -6
- package/src/components/icons/dashboard.js +3 -6
- package/src/components/icons/data-set.js +3 -6
- package/src/components/icons/date-range.js +3 -6
- package/src/components/icons/delete.js +3 -6
- package/src/components/icons/division.js +3 -6
- package/src/components/icons/dock.js +3 -6
- package/src/components/icons/dollar.js +3 -6
- package/src/components/icons/drag.js +3 -6
- package/src/components/icons/edit.js +3 -6
- package/src/components/icons/ends-with.js +3 -6
- package/src/components/icons/equal.js +3 -6
- package/src/components/icons/equation.js +3 -6
- package/src/components/icons/error.js +3 -6
- package/src/components/icons/expand.js +3 -6
- package/src/components/icons/exponent.js +3 -6
- package/src/components/icons/export.js +3 -6
- package/src/components/icons/fast-backward.js +3 -6
- package/src/components/icons/fast-forward.js +3 -6
- package/src/components/icons/fdc3.js +3 -6
- package/src/components/icons/filter.js +3 -6
- package/src/components/icons/flashing-cell.js +3 -6
- package/src/components/icons/folder-open.js +3 -6
- package/src/components/icons/folder-shared.js +3 -6
- package/src/components/icons/folder.js +3 -6
- package/src/components/icons/format-column.js +3 -6
- package/src/components/icons/freetext-column.js +3 -6
- package/src/components/icons/function.js +3 -6
- package/src/components/icons/gradient-column.js +3 -6
- package/src/components/icons/gradient.js +3 -6
- package/src/components/icons/greater-than-or-equal.js +3 -6
- package/src/components/icons/greater-than.js +3 -6
- package/src/components/icons/grid-filter.d.ts +3 -0
- package/src/components/icons/grid-filter.js +4 -0
- package/src/components/icons/hide-column.js +3 -6
- package/src/components/icons/history.js +3 -6
- package/src/components/icons/home.js +3 -6
- package/src/components/icons/import-export.js +3 -6
- package/src/components/icons/import.js +3 -6
- package/src/components/icons/index.js +321 -322
- package/src/components/icons/info.js +3 -6
- package/src/components/icons/instrument.js +3 -6
- package/src/components/icons/interactions.js +3 -6
- package/src/components/icons/invalid.js +3 -6
- package/src/components/icons/ipushpull.js +3 -6
- package/src/components/icons/italic.js +3 -6
- package/src/components/icons/justify.js +3 -6
- package/src/components/icons/layout.js +3 -6
- package/src/components/icons/less-than-or-equal.js +3 -6
- package/src/components/icons/less-than.js +3 -6
- package/src/components/icons/list.js +3 -6
- package/src/components/icons/login.js +3 -6
- package/src/components/icons/logout copy.js +3 -6
- package/src/components/icons/logout.js +3 -6
- package/src/components/icons/mail.js +3 -6
- package/src/components/icons/menu.js +3 -6
- package/src/components/icons/minus.js +3 -6
- package/src/components/icons/money.js +3 -6
- package/src/components/icons/multiplication.js +3 -6
- package/src/components/icons/newpage.js +3 -6
- package/src/components/icons/news.js +3 -6
- package/src/components/icons/non-blanks.js +3 -6
- package/src/components/icons/not-contains.js +3 -6
- package/src/components/icons/not-equal.js +3 -6
- package/src/components/icons/note.js +3 -6
- package/src/components/icons/open-in-new.js +3 -6
- package/src/components/icons/order.js +3 -6
- package/src/components/icons/organisation.js +3 -6
- package/src/components/icons/overline.js +3 -6
- package/src/components/icons/pause.js +3 -6
- package/src/components/icons/percent-bar.js +3 -6
- package/src/components/icons/percent.js +3 -6
- package/src/components/icons/person.js +3 -6
- package/src/components/icons/pie-chart.js +3 -6
- package/src/components/icons/play.js +3 -6
- package/src/components/icons/plus-minus.js +3 -6
- package/src/components/icons/plus.js +3 -6
- package/src/components/icons/query.js +3 -6
- package/src/components/icons/quick-search.js +3 -6
- package/src/components/icons/quote.js +3 -6
- package/src/components/icons/refresh.js +3 -6
- package/src/components/icons/regex.js +3 -6
- package/src/components/icons/reminder.js +3 -6
- package/src/components/icons/resume.d.ts +3 -0
- package/src/components/icons/resume.js +4 -0
- package/src/components/icons/save.js +3 -6
- package/src/components/icons/schedule.js +3 -6
- package/src/components/icons/science.js +3 -6
- package/src/components/icons/settings.js +3 -6
- package/src/components/icons/shortcut.js +3 -6
- package/src/components/icons/show-column.js +3 -6
- package/src/components/icons/smart-edit.js +3 -6
- package/src/components/icons/sort-asc.js +3 -6
- package/src/components/icons/sort-desc.js +3 -6
- package/src/components/icons/spark-line.js +3 -6
- package/src/components/icons/starts-with.js +3 -6
- package/src/components/icons/state-management.js +3 -6
- package/src/components/icons/statusbar.js +3 -6
- package/src/components/icons/stop.js +3 -6
- package/src/components/icons/strikethrough.js +3 -6
- package/src/components/icons/system-status.js +3 -6
- package/src/components/icons/tab-unselected.js +3 -6
- package/src/components/icons/table-arrow-right.js +3 -6
- package/src/components/icons/team-share.js +3 -6
- package/src/components/icons/theme.js +3 -6
- package/src/components/icons/tool-panel.js +3 -6
- package/src/components/icons/track-changes.js +3 -6
- package/src/components/icons/triangle-down.js +3 -6
- package/src/components/icons/triangle-up.js +3 -6
- package/src/components/icons/unchecked.js +3 -6
- package/src/components/icons/underline.js +3 -6
- package/src/components/icons/undo.js +3 -6
- package/src/components/icons/updated-row.js +3 -6
- package/src/components/icons/upload.js +3 -6
- package/src/components/icons/user-filter.js +3 -6
- package/src/components/icons/visibility-off.js +3 -6
- package/src/components/icons/visibility.js +3 -6
- package/src/components/icons/warning.js +3 -6
- package/src/components/utils/batchUpdate.js +3 -5
- package/src/components/utils/captureTabNavigation/getFocusableChildren.js +1 -3
- package/src/components/utils/captureTabNavigation/index.js +3 -6
- package/src/components/utils/contains.js +1 -4
- package/src/components/utils/getAvailableSizeInfo.js +1 -3
- package/src/components/utils/join.js +1 -3
- package/src/components/utils/selectParent/index.js +3 -6
- package/src/components/utils/selectParent/matches.js +1 -2
- package/src/components/utils/useAutoFocus.js +5 -8
- package/src/components/utils/useContainerScrollObserver/index.d.ts +1 -1
- package/src/components/utils/useContainerScrollObserver/index.js +9 -13
- package/src/components/utils/useDraggable.js +7 -10
- package/src/components/utils/useGlobalEvent.js +2 -7
- package/src/components/utils/useLatest.js +4 -8
- package/src/components/utils/usePrevious.js +4 -6
- package/src/components/utils/usePropState.js +3 -6
- package/src/components/utils/useProperty.js +4 -6
- package/src/components/utils/useRerender.js +4 -8
- package/src/components/utils/useSelectionRange.js +5 -9
- package/src/components/utils/useTheme.js +2 -5
- package/src/components/utils/uuid.d.ts +1 -1
- package/src/components/utils/uuid.js +2 -6
- package/src/env.js +1 -3
- package/src/metamodel/adaptable-metamodel-model.d.ts +2 -2
- package/src/metamodel/adaptable-metamodel-model.js +1 -2
- package/src/metamodel/adaptable.metamodel.d.ts +442 -63
- package/src/metamodel/adaptable.metamodel.js +9435 -1
- package/src/parser/src/ExpressionEvaluationError.js +1 -5
- package/src/parser/src/evaluator.js +3 -7
- package/src/parser/src/index.d.ts +1 -0
- package/src/parser/src/index.js +12 -16
- package/src/parser/src/parser.js +528 -1691
- package/src/parser/src/predicate/index.d.ts +2 -0
- package/src/parser/src/predicate/index.js +2 -0
- package/src/parser/src/predicate/mapExpressionToQlPredicate.d.ts +2 -0
- package/src/parser/src/predicate/mapExpressionToQlPredicate.js +88 -0
- package/src/parser/src/predicate/mapQlPredicateToExpression.d.ts +3 -0
- package/src/parser/src/predicate/mapQlPredicateToExpression.js +112 -0
- package/src/parser/src/predicate/types.d.ts +10 -0
- package/src/parser/src/predicate/types.js +1 -0
- package/src/parser/src/tokenizer.js +3 -8
- package/src/parser/src/types.d.ts +26 -9
- package/src/parser/src/types.js +4 -2
- package/src/parser/src/utils.js +3 -9
- package/src/renderReactRoot.d.ts +2 -4
- package/src/renderReactRoot.js +5 -53
- package/src/theme.js +1 -3
- package/src/themes/index.js +4 -7
- package/src/types.d.ts +15 -13
- package/src/types.js +1 -5
- package/themes/dark.css +1 -1
- package/themes/dark.css.map +1 -1
- package/themes/light.css +1 -1
- package/themes/light.css.map +1 -1
- package/tsconfig.esm.tsbuildinfo +1 -0
- package/types.js +1 -4
- package/bundle.cjs.js +0 -706
- package/publishTimestamp.d.ts +0 -2
- package/publishTimestamp.js +0 -3
- package/src/AdaptableOptions/FilterOptions.js +0 -2
- package/src/AdaptableOptions/FinancePluginOptions.d.ts +0 -6
- package/src/AdaptableOptions/FinancePluginOptions.js +0 -2
- package/src/Api/Events/ChexboxColumnClicked.d.ts +0 -24
- package/src/Api/Events/ChexboxColumnClicked.js +0 -2
- package/src/Api/Events/FilterApplied.js +0 -2
- package/src/Api/Events/QueryRun.d.ts +0 -14
- package/src/Api/Events/QueryRun.js +0 -2
- package/src/Api/FilterApi.js +0 -2
- package/src/Api/Implementation/QueryApiImpl.d.ts +0 -21
- package/src/Api/Implementation/QueryApiImpl.js +0 -64
- package/src/Api/QueryApi.d.ts +0 -51
- package/src/Api/QueryApi.js +0 -2
- package/src/PredefinedConfig/ConditionalStyleState.d.ts +0 -41
- package/src/PredefinedConfig/ConditionalStyleState.js +0 -2
- package/src/Strategy/FilterModule.js +0 -151
- package/src/Strategy/QueryModule.js +0 -74
- package/src/Utilities/Interface/ColumnFilterContext.js +0 -2
- package/src/View/Query/EditCurrentQueryButton.d.ts +0 -2
- package/src/View/Query/EditCurrentQueryButton.js +0 -16
- package/src/View/Query/ExpandedQueryPopup.js +0 -56
- package/src/View/Query/QueryViewPanel.d.ts +0 -30
- package/src/View/Query/QueryViewPanel.js +0 -170
- package/src/View/Query/Wizard/NamedQueryExpressionWizardSection.js +0 -37
- package/src/View/Query/Wizard/NamedQuerySettingsWizardSection.js +0 -44
- package/src/View/Query/Wizard/NamedQueryWizard.js +0 -70
- package/version.d.ts +0 -2
- package/version.js +0 -3
- /package/src/View/{Query → NamedQuery}/Wizard/NamedQueryWizard.d.ts +0 -0
|
@@ -5,9 +5,9 @@ import { AggregateParams } from './scalarAggregationHelper';
|
|
|
5
5
|
/**
|
|
6
6
|
* List of all the AggregatedScalar Functions available in AdaptableQL
|
|
7
7
|
*/
|
|
8
|
-
export
|
|
9
|
-
export
|
|
10
|
-
|
|
8
|
+
export type AggregatedScalarFunctionName = ScalarAggregationFunction | OperandFunction;
|
|
9
|
+
export type ScalarAggregationFunction = 'SUM' | 'PERCENTAGE' | 'QUANT' | 'QUARTILE' | 'PERCENTILE' | 'AVG' | 'MIN' | 'MAX' | 'COUNT' | 'CUMUL';
|
|
10
|
+
type OperandFunction = 'COL' | 'OVER' | 'GROUP_BY' | 'WEIGHT';
|
|
11
11
|
export interface ScalarAggregationParameter extends BaseParameter<'aggregationScalar', ScalarAggregationFunction> {
|
|
12
12
|
value: AggregatedScalarExpressionEvaluation;
|
|
13
13
|
}
|
|
@@ -1,10 +1,7 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
const
|
|
5
|
-
const ExpressionEvaluationError_1 = require("../../parser/src/ExpressionEvaluationError");
|
|
6
|
-
const TypeExtensions_1 = require("../Extensions/TypeExtensions");
|
|
7
|
-
exports.aggregatedExpressionFunctions = [
|
|
1
|
+
import { extractColumnParameter, extractColumnParameters, extractParameter, getNumericValue, handleColumnFunction, validateColumnType, } from './expressionFunctionUtils';
|
|
2
|
+
import { ExpressionEvaluationError } from '../../parser/src/ExpressionEvaluationError';
|
|
3
|
+
import { getTypedKeys } from '../Extensions/TypeExtensions';
|
|
4
|
+
export const aggregatedExpressionFunctions = [
|
|
8
5
|
'SUM',
|
|
9
6
|
'PERCENTAGE',
|
|
10
7
|
'MIN',
|
|
@@ -15,7 +12,7 @@ exports.aggregatedExpressionFunctions = [
|
|
|
15
12
|
'COL',
|
|
16
13
|
'GROUP_BY',
|
|
17
14
|
];
|
|
18
|
-
|
|
15
|
+
export const cumulativeAggregatedExpressionFunctions = [
|
|
19
16
|
'CUMUL',
|
|
20
17
|
'OVER',
|
|
21
18
|
'SUM',
|
|
@@ -27,25 +24,25 @@ exports.cumulativeAggregatedExpressionFunctions = [
|
|
|
27
24
|
'COL',
|
|
28
25
|
'GROUP_BY',
|
|
29
26
|
];
|
|
30
|
-
|
|
27
|
+
export const quantileAggregatedExpressionFunctions = [
|
|
31
28
|
'QUANT',
|
|
32
29
|
'QUARTILE',
|
|
33
30
|
'PERCENTILE',
|
|
34
31
|
'COL',
|
|
35
32
|
'GROUP_BY',
|
|
36
33
|
];
|
|
37
|
-
|
|
34
|
+
export const aggregatedScalarExpressionFunctions = {
|
|
38
35
|
CUMUL: {
|
|
39
36
|
handler(args, context) {
|
|
40
|
-
const aggregationParameter =
|
|
41
|
-
const overColumnParameter =
|
|
42
|
-
const groupByParameter =
|
|
37
|
+
const aggregationParameter = extractParameter('CUMUL', 'aggregationScalar', ['SUM', 'PERCENTAGE', 'AVG', 'MIN', 'MAX', 'COUNT'], args);
|
|
38
|
+
const overColumnParameter = extractParameter('CUMUL', 'operand', ['OVER'], args);
|
|
39
|
+
const groupByParameter = extractParameter('MAX', 'operand', ['GROUP_BY'], args, {
|
|
43
40
|
isOptional: true,
|
|
44
41
|
});
|
|
45
42
|
if (!!groupByParameter) {
|
|
46
43
|
// ensure the GROUP_BY is NOT on the CUMUL function
|
|
47
44
|
// it should be on the AGGREGATION function
|
|
48
|
-
throw new
|
|
45
|
+
throw new ExpressionEvaluationError('GROUP_BY', `should be passed as an argument to the '${aggregationParameter.name}' aggregation function!`);
|
|
49
46
|
}
|
|
50
47
|
const cumulationExpressionEvaluation = mapAggregationToCumulation(aggregationParameter, overColumnParameter, context);
|
|
51
48
|
const result = {
|
|
@@ -66,10 +63,10 @@ exports.aggregatedScalarExpressionFunctions = {
|
|
|
66
63
|
},
|
|
67
64
|
SUM: {
|
|
68
65
|
handler(args, context) {
|
|
69
|
-
const sumColumnParameter =
|
|
66
|
+
const sumColumnParameter = extractColumnParameter('SUM', args);
|
|
70
67
|
const sumColumnName = sumColumnParameter.value;
|
|
71
|
-
|
|
72
|
-
const groupByParameter =
|
|
68
|
+
validateColumnType(sumColumnName, ['Number'], 'SUM', context.adaptableApi);
|
|
69
|
+
const groupByParameter = extractParameter('SUM', 'operand', ['GROUP_BY'], args, {
|
|
73
70
|
isOptional: true,
|
|
74
71
|
});
|
|
75
72
|
const aggregationExpressionEvaluation = {
|
|
@@ -83,7 +80,7 @@ exports.aggregatedScalarExpressionFunctions = {
|
|
|
83
80
|
if (isUndefinedValue(rowValue)) {
|
|
84
81
|
return totalSum;
|
|
85
82
|
}
|
|
86
|
-
return totalSum +
|
|
83
|
+
return totalSum + getNumericValue(rowValue);
|
|
87
84
|
},
|
|
88
85
|
},
|
|
89
86
|
},
|
|
@@ -111,17 +108,17 @@ exports.aggregatedScalarExpressionFunctions = {
|
|
|
111
108
|
PERCENTAGE: {
|
|
112
109
|
handler(args, context) {
|
|
113
110
|
var _a;
|
|
114
|
-
const percentageColumnParameter =
|
|
111
|
+
const percentageColumnParameter = extractColumnParameter('PERCENTAGE', args);
|
|
115
112
|
const percentageColumnName = percentageColumnParameter.value;
|
|
116
|
-
|
|
117
|
-
const sumOperand =
|
|
113
|
+
validateColumnType(percentageColumnName, ['Number'], 'PERCENTAGE', context.adaptableApi);
|
|
114
|
+
const sumOperand = extractParameter('PERCENTAGE', 'aggregationScalar', ['SUM'], args, {
|
|
118
115
|
isOptional: true,
|
|
119
116
|
});
|
|
120
|
-
const groupByOperand =
|
|
117
|
+
const groupByOperand = extractParameter('PERCENTAGE', 'operand', ['GROUP_BY'], args, {
|
|
121
118
|
isOptional: true,
|
|
122
119
|
});
|
|
123
120
|
if (sumOperand && groupByOperand) {
|
|
124
|
-
throw new
|
|
121
|
+
throw new ExpressionEvaluationError('PERCENTAGE', `expects either a SUM or a GROUP_BY argument`);
|
|
125
122
|
}
|
|
126
123
|
const sumAggregationColumnName = sumOperand
|
|
127
124
|
? sumOperand.value.aggregationParams.reducers['SUM'].field
|
|
@@ -140,13 +137,13 @@ exports.aggregatedScalarExpressionFunctions = {
|
|
|
140
137
|
if (isUndefinedValue(rowValue)) {
|
|
141
138
|
return totalSum;
|
|
142
139
|
}
|
|
143
|
-
return totalSum +
|
|
140
|
+
return totalSum + getNumericValue(rowValue);
|
|
144
141
|
},
|
|
145
142
|
},
|
|
146
143
|
},
|
|
147
144
|
},
|
|
148
145
|
rowValueGetter: (rowNode, aggregationValue) => {
|
|
149
|
-
return ((
|
|
146
|
+
return ((getNumericValue(context.adaptableApi.gridApi.getRawValueFromRowNode(rowNode, percentageColumnName)) /
|
|
150
147
|
aggregationValue) *
|
|
151
148
|
100);
|
|
152
149
|
},
|
|
@@ -177,13 +174,13 @@ exports.aggregatedScalarExpressionFunctions = {
|
|
|
177
174
|
},
|
|
178
175
|
AVG: {
|
|
179
176
|
handler(args, context) {
|
|
180
|
-
const avgColumnParameter =
|
|
177
|
+
const avgColumnParameter = extractColumnParameter('AVG', args);
|
|
181
178
|
const avgColumnName = avgColumnParameter.value;
|
|
182
|
-
|
|
183
|
-
const groupByParameter =
|
|
179
|
+
validateColumnType(avgColumnName, ['Number'], 'AVG', context.adaptableApi);
|
|
180
|
+
const groupByParameter = extractParameter('AVG', 'operand', ['GROUP_BY'], args, {
|
|
184
181
|
isOptional: true,
|
|
185
182
|
});
|
|
186
|
-
const weightParameter =
|
|
183
|
+
const weightParameter = extractParameter('AVG', 'operand', ['WEIGHT'], args, {
|
|
187
184
|
isOptional: true,
|
|
188
185
|
});
|
|
189
186
|
const aggregationExpressionEvaluation = {
|
|
@@ -201,10 +198,10 @@ exports.aggregatedScalarExpressionFunctions = {
|
|
|
201
198
|
if (isUndefinedValue(rowValue)) {
|
|
202
199
|
return aggregatedValue;
|
|
203
200
|
}
|
|
204
|
-
const numericRowValue =
|
|
201
|
+
const numericRowValue = getNumericValue(rowValue);
|
|
205
202
|
if (weightParameter) {
|
|
206
203
|
// weighted average
|
|
207
|
-
const weightValue = (_a =
|
|
204
|
+
const weightValue = (_a = getNumericValue(context.adaptableApi.gridApi.getRawValueFromRowNode(rowNode, weightParameter.value))) !== null && _a !== void 0 ? _a : 0;
|
|
208
205
|
aggregatedValue.sumOfValues =
|
|
209
206
|
aggregatedValue.sumOfValues + numericRowValue * weightValue;
|
|
210
207
|
aggregatedValue.numberOfValues = aggregatedValue.numberOfValues + weightValue;
|
|
@@ -251,10 +248,10 @@ exports.aggregatedScalarExpressionFunctions = {
|
|
|
251
248
|
},
|
|
252
249
|
MIN: {
|
|
253
250
|
handler(args, context) {
|
|
254
|
-
const minColumnParameter =
|
|
251
|
+
const minColumnParameter = extractColumnParameter('MIN', args);
|
|
255
252
|
const minColumnName = minColumnParameter.value;
|
|
256
|
-
|
|
257
|
-
const groupByParameter =
|
|
253
|
+
validateColumnType(minColumnName, ['Number'], 'MIN', context.adaptableApi);
|
|
254
|
+
const groupByParameter = extractParameter('MIN', 'operand', ['GROUP_BY'], args, {
|
|
258
255
|
isOptional: true,
|
|
259
256
|
});
|
|
260
257
|
const aggregationExpressionEvaluation = {
|
|
@@ -268,7 +265,7 @@ exports.aggregatedScalarExpressionFunctions = {
|
|
|
268
265
|
if (isUndefinedValue(rowValue)) {
|
|
269
266
|
return minValue;
|
|
270
267
|
}
|
|
271
|
-
const numericRowValue =
|
|
268
|
+
const numericRowValue = getNumericValue(rowValue);
|
|
272
269
|
return numericRowValue < minValue ? numericRowValue : minValue;
|
|
273
270
|
},
|
|
274
271
|
done: (minValue) => {
|
|
@@ -301,10 +298,10 @@ exports.aggregatedScalarExpressionFunctions = {
|
|
|
301
298
|
},
|
|
302
299
|
MAX: {
|
|
303
300
|
handler(args, context) {
|
|
304
|
-
const maxColumnParameter =
|
|
301
|
+
const maxColumnParameter = extractColumnParameter('MAX', args);
|
|
305
302
|
const maxColumnName = maxColumnParameter.value;
|
|
306
|
-
|
|
307
|
-
const groupByParameter =
|
|
303
|
+
validateColumnType(maxColumnName, ['Number'], 'MAX', context.adaptableApi);
|
|
304
|
+
const groupByParameter = extractParameter('MAX', 'operand', ['GROUP_BY'], args, {
|
|
308
305
|
isOptional: true,
|
|
309
306
|
});
|
|
310
307
|
const aggregationExpressionEvaluation = {
|
|
@@ -318,7 +315,7 @@ exports.aggregatedScalarExpressionFunctions = {
|
|
|
318
315
|
if (isUndefinedValue(rowValue)) {
|
|
319
316
|
return maxValue;
|
|
320
317
|
}
|
|
321
|
-
const numericRowValue =
|
|
318
|
+
const numericRowValue = getNumericValue(rowValue);
|
|
322
319
|
return numericRowValue > maxValue ? numericRowValue : maxValue;
|
|
323
320
|
},
|
|
324
321
|
done: (maxValue) => {
|
|
@@ -352,15 +349,15 @@ exports.aggregatedScalarExpressionFunctions = {
|
|
|
352
349
|
QUANT: {
|
|
353
350
|
handler(args, context) {
|
|
354
351
|
var _a, _b, _c;
|
|
355
|
-
const quantileColumnParameter =
|
|
352
|
+
const quantileColumnParameter = extractColumnParameter('QUANT', args);
|
|
356
353
|
const quantileColumnName = quantileColumnParameter.value;
|
|
357
|
-
|
|
354
|
+
validateColumnType(quantileColumnName, ['Number'], 'QUANT', context.adaptableApi);
|
|
358
355
|
const qNumberCandidates = args.filter((arg) => typeof arg === 'number');
|
|
359
356
|
if (qNumberCandidates.length !== 1) {
|
|
360
|
-
throw new
|
|
357
|
+
throw new ExpressionEvaluationError('QUANT', 'expects a single positive numeric argument as q-quantile');
|
|
361
358
|
}
|
|
362
359
|
const qNumber = qNumberCandidates[0];
|
|
363
|
-
const groupByOperand =
|
|
360
|
+
const groupByOperand = extractParameter('QUANT', 'operand', ['GROUP_BY'], args, {
|
|
364
361
|
isOptional: true,
|
|
365
362
|
});
|
|
366
363
|
const groupByColumnNames = groupByOperand === null || groupByOperand === void 0 ? void 0 : groupByOperand.value;
|
|
@@ -485,7 +482,7 @@ exports.aggregatedScalarExpressionFunctions = {
|
|
|
485
482
|
QUARTILE: {
|
|
486
483
|
handler(args, context) {
|
|
487
484
|
const quartileArgs = [...args, 4];
|
|
488
|
-
return
|
|
485
|
+
return aggregatedScalarExpressionFunctions.QUANT.handler(quartileArgs, context);
|
|
489
486
|
},
|
|
490
487
|
description: 'Calculates the Quartiles of the given group and displays which quartile the given value is in',
|
|
491
488
|
signatures: ['QUARTILE( [colName])', 'QUARTILE( [colName1], GROUP_BY([colName2]) )'],
|
|
@@ -495,7 +492,7 @@ exports.aggregatedScalarExpressionFunctions = {
|
|
|
495
492
|
PERCENTILE: {
|
|
496
493
|
handler(args, context) {
|
|
497
494
|
const quartileArgs = [...args, 100];
|
|
498
|
-
return
|
|
495
|
+
return aggregatedScalarExpressionFunctions.QUANT.handler(quartileArgs, context);
|
|
499
496
|
},
|
|
500
497
|
description: 'Calculates the Percentile of the given group and displays which percentile the given value is in',
|
|
501
498
|
signatures: ['PERCENTILE( [colName])', 'PERCENTILE( [colName1], GROUP_BY([colName2]) )'],
|
|
@@ -504,9 +501,9 @@ exports.aggregatedScalarExpressionFunctions = {
|
|
|
504
501
|
},
|
|
505
502
|
COUNT: {
|
|
506
503
|
handler(args, context) {
|
|
507
|
-
const countColumnParameter =
|
|
504
|
+
const countColumnParameter = extractColumnParameter('COUNT', args);
|
|
508
505
|
const countColumnName = countColumnParameter.value;
|
|
509
|
-
const groupByParameter =
|
|
506
|
+
const groupByParameter = extractParameter('COUNT', 'operand', ['GROUP_BY'], args, {
|
|
510
507
|
isOptional: true,
|
|
511
508
|
});
|
|
512
509
|
const aggregationExpressionEvaluation = {
|
|
@@ -547,8 +544,8 @@ exports.aggregatedScalarExpressionFunctions = {
|
|
|
547
544
|
},
|
|
548
545
|
OVER: {
|
|
549
546
|
handler(args, context) {
|
|
550
|
-
const columnParameter =
|
|
551
|
-
|
|
547
|
+
const columnParameter = extractColumnParameter('OVER', args);
|
|
548
|
+
validateColumnType(columnParameter.value, ['Number', 'Date'], 'OVER', context.adaptableApi);
|
|
552
549
|
const result = {
|
|
553
550
|
type: 'operand',
|
|
554
551
|
name: 'OVER',
|
|
@@ -563,8 +560,8 @@ exports.aggregatedScalarExpressionFunctions = {
|
|
|
563
560
|
},
|
|
564
561
|
WEIGHT: {
|
|
565
562
|
handler(args, context) {
|
|
566
|
-
const columnParameter =
|
|
567
|
-
|
|
563
|
+
const columnParameter = extractColumnParameter('WEIGHT', args);
|
|
564
|
+
validateColumnType(columnParameter.value, ['Number'], 'WEIGHT', context.adaptableApi);
|
|
568
565
|
const result = {
|
|
569
566
|
type: 'operand',
|
|
570
567
|
name: 'WEIGHT',
|
|
@@ -583,7 +580,7 @@ exports.aggregatedScalarExpressionFunctions = {
|
|
|
583
580
|
},
|
|
584
581
|
GROUP_BY: {
|
|
585
582
|
handler(args, context) {
|
|
586
|
-
const columnParameters =
|
|
583
|
+
const columnParameters = extractColumnParameters('GROUP_BY', args);
|
|
587
584
|
const result = {
|
|
588
585
|
type: 'operand',
|
|
589
586
|
name: 'GROUP_BY',
|
|
@@ -598,7 +595,7 @@ exports.aggregatedScalarExpressionFunctions = {
|
|
|
598
595
|
},
|
|
599
596
|
COL: {
|
|
600
597
|
handler(args, context) {
|
|
601
|
-
return
|
|
598
|
+
return handleColumnFunction(args, context);
|
|
602
599
|
},
|
|
603
600
|
description: 'References a column by its unique identifier',
|
|
604
601
|
signatures: ['[colName]', 'COL(name: string)'],
|
|
@@ -751,7 +748,7 @@ const mapAggregationToCumulation = (aggregationParameter, overColumnParameter, c
|
|
|
751
748
|
};
|
|
752
749
|
return cumulationExpressionEvaluation;
|
|
753
750
|
};
|
|
754
|
-
|
|
751
|
+
export const aggregatedScalarExpressionFunctionNames = getTypedKeys(aggregatedScalarExpressionFunctions);
|
|
755
752
|
// !! mutates expressionEvaluation
|
|
756
753
|
const addGroupByParams = (groupByColumnNames, expressionEvaluation) => {
|
|
757
754
|
if (groupByColumnNames === null || groupByColumnNames === void 0 ? void 0 : groupByColumnNames.length) {
|
|
@@ -2,6 +2,7 @@ import { ExpressionFunction } from '../../parser/src/types';
|
|
|
2
2
|
/**
|
|
3
3
|
* List of all the Boolean Functions available in AdaptableQL
|
|
4
4
|
*/
|
|
5
|
-
export
|
|
5
|
+
export type BooleanFunctionName = 'EQ' | 'NEQ' | 'GT' | 'LT' | 'GTE' | 'LTE' | 'AND' | 'OR' | 'NOT' | 'BETWEEN' | 'IN' | 'CONTAINS' | 'STARTS_WITH' | 'ENDS_WITH' | 'ANY_CONTAINS' | 'IS_NUMERIC' | 'REGEX' | 'IS_HOLIDAY' | 'IS_WORKDAY' | 'TRUE' | 'FALSE';
|
|
6
6
|
export declare const booleanExpressionFunctions: Record<BooleanFunctionName, ExpressionFunction>;
|
|
7
7
|
export declare const booleanExpressionFunctionsNames: BooleanFunctionName[];
|
|
8
|
+
export declare const isBooleanAdaptableQlFunction: (functionName: string) => functionName is BooleanFunctionName;
|
|
@@ -1,14 +1,11 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
const
|
|
9
|
-
const expressionFunctionUtils_1 = require("./expressionFunctionUtils");
|
|
10
|
-
const TypeExtensions_1 = require("../Extensions/TypeExtensions");
|
|
11
|
-
exports.booleanExpressionFunctions = {
|
|
1
|
+
import isAfter from 'date-fns/isAfter';
|
|
2
|
+
import isBefore from 'date-fns/isBefore';
|
|
3
|
+
import isEqual from 'date-fns/isEqual';
|
|
4
|
+
import { ExpressionEvaluationError } from '../../parser/src/ExpressionEvaluationError';
|
|
5
|
+
import { getStringValue, getStringValues } from './expressionFunctionUtils';
|
|
6
|
+
import { getTypedKeys } from '../Extensions/TypeExtensions';
|
|
7
|
+
import { normalizeDateParam } from './dateUtils';
|
|
8
|
+
export const booleanExpressionFunctions = {
|
|
12
9
|
TRUE: {
|
|
13
10
|
handler: () => {
|
|
14
11
|
return true;
|
|
@@ -39,6 +36,7 @@ exports.booleanExpressionFunctions = {
|
|
|
39
36
|
signatures: ['statement AND statement'],
|
|
40
37
|
examples: ['[col1] > 5 AND [col2] > 10'],
|
|
41
38
|
returnType: 'boolean',
|
|
39
|
+
inputs: ['boolean', 'boolean'],
|
|
42
40
|
},
|
|
43
41
|
OR: {
|
|
44
42
|
handler(args) {
|
|
@@ -50,6 +48,7 @@ exports.booleanExpressionFunctions = {
|
|
|
50
48
|
signatures: ['statement OR statement'],
|
|
51
49
|
examples: ['[col1] > 5 OR [col2] > 10'],
|
|
52
50
|
returnType: 'boolean',
|
|
51
|
+
inputs: ['boolean', 'boolean'],
|
|
53
52
|
},
|
|
54
53
|
NOT: {
|
|
55
54
|
handler(args) {
|
|
@@ -61,14 +60,15 @@ exports.booleanExpressionFunctions = {
|
|
|
61
60
|
signatures: ['!statement'],
|
|
62
61
|
examples: ['!([col1] > 5 AND [col2] > 10)'],
|
|
63
62
|
returnType: 'boolean',
|
|
63
|
+
inputs: ['boolean'],
|
|
64
64
|
},
|
|
65
65
|
EQ: {
|
|
66
66
|
handler(args, context) {
|
|
67
67
|
if (args[0] instanceof Date && args[1] instanceof Date) {
|
|
68
|
-
return (
|
|
68
|
+
return isEqual(args[0], args[1]);
|
|
69
69
|
}
|
|
70
70
|
if (typeof args[0] === 'string' || typeof args[1] === 'string') {
|
|
71
|
-
const [first, second] =
|
|
71
|
+
const [first, second] = getStringValues(context, String(args[0]), String(args[1]));
|
|
72
72
|
return first == second;
|
|
73
73
|
}
|
|
74
74
|
return args[0] == args[1];
|
|
@@ -79,14 +79,20 @@ exports.booleanExpressionFunctions = {
|
|
|
79
79
|
signatures: ['value = value', 'EQ(a: value, b: value)'],
|
|
80
80
|
examples: ['[col1] = 5', 'EQ([col1], 5)'],
|
|
81
81
|
returnType: 'boolean',
|
|
82
|
+
inputs: [
|
|
83
|
+
['number', 'number'],
|
|
84
|
+
['date', 'date'],
|
|
85
|
+
['text', 'text'],
|
|
86
|
+
['boolean', 'boolean'],
|
|
87
|
+
],
|
|
82
88
|
},
|
|
83
89
|
NEQ: {
|
|
84
90
|
handler(args, context) {
|
|
85
91
|
if (args[0] instanceof Date && args[1] instanceof Date) {
|
|
86
|
-
return !(
|
|
92
|
+
return !isEqual(args[0], args[1]);
|
|
87
93
|
}
|
|
88
94
|
if (typeof args[0] === 'string' || typeof args[1] === 'string') {
|
|
89
|
-
const [first, second] =
|
|
95
|
+
const [first, second] = getStringValues(context, String(args[0]), String(args[1]));
|
|
90
96
|
return first != second;
|
|
91
97
|
}
|
|
92
98
|
return args[0] != args[1];
|
|
@@ -97,14 +103,20 @@ exports.booleanExpressionFunctions = {
|
|
|
97
103
|
signatures: ['value != value', 'NEQ(a: value, b: value)'],
|
|
98
104
|
examples: ['[col1] != 5', 'NEQ([col1], 5)'],
|
|
99
105
|
returnType: 'boolean',
|
|
106
|
+
inputs: [
|
|
107
|
+
['number', 'number'],
|
|
108
|
+
['date', 'date'],
|
|
109
|
+
['text', 'text'],
|
|
110
|
+
['boolean', 'boolean'],
|
|
111
|
+
],
|
|
100
112
|
},
|
|
101
113
|
LT: {
|
|
102
114
|
handler(args, context) {
|
|
103
115
|
if (args[0] instanceof Date && args[1] instanceof Date) {
|
|
104
|
-
return (
|
|
116
|
+
return isBefore(args[0], args[1]);
|
|
105
117
|
}
|
|
106
118
|
if (typeof args[0] === 'string' || typeof args[1] === 'string') {
|
|
107
|
-
const [first, second] =
|
|
119
|
+
const [first, second] = getStringValues(context, String(args[0]), String(args[1]));
|
|
108
120
|
return first < second;
|
|
109
121
|
}
|
|
110
122
|
return args[0] < args[1];
|
|
@@ -120,14 +132,18 @@ exports.booleanExpressionFunctions = {
|
|
|
120
132
|
],
|
|
121
133
|
examples: ['[col1] < 5', 'LT([col1], 5)'],
|
|
122
134
|
returnType: 'boolean',
|
|
135
|
+
inputs: [
|
|
136
|
+
['number', 'number'],
|
|
137
|
+
['date', 'date'],
|
|
138
|
+
],
|
|
123
139
|
},
|
|
124
140
|
LTE: {
|
|
125
141
|
handler(args, context) {
|
|
126
142
|
if (args[0] instanceof Date && args[1] instanceof Date) {
|
|
127
|
-
return (
|
|
143
|
+
return isBefore(args[0], args[1]) || isEqual(args[0], args[1]);
|
|
128
144
|
}
|
|
129
145
|
if (typeof args[0] === 'string' || typeof args[1] === 'string') {
|
|
130
|
-
const [first, second] =
|
|
146
|
+
const [first, second] = getStringValues(context, String(args[0]), String(args[1]));
|
|
131
147
|
return first <= second;
|
|
132
148
|
}
|
|
133
149
|
return args[0] <= args[1];
|
|
@@ -143,14 +159,18 @@ exports.booleanExpressionFunctions = {
|
|
|
143
159
|
],
|
|
144
160
|
examples: ['[col1] <= 5', 'LTE([col1], 5)'],
|
|
145
161
|
returnType: 'boolean',
|
|
162
|
+
inputs: [
|
|
163
|
+
['number', 'number'],
|
|
164
|
+
['date', 'date'],
|
|
165
|
+
],
|
|
146
166
|
},
|
|
147
167
|
GT: {
|
|
148
168
|
handler(args, context) {
|
|
149
169
|
if (args[0] instanceof Date && args[1] instanceof Date) {
|
|
150
|
-
return (
|
|
170
|
+
return isAfter(args[0], args[1]);
|
|
151
171
|
}
|
|
152
172
|
if (typeof args[0] === 'string' || typeof args[1] === 'string') {
|
|
153
|
-
const [first, second] =
|
|
173
|
+
const [first, second] = getStringValues(context, String(args[0]), String(args[1]));
|
|
154
174
|
return first > second;
|
|
155
175
|
}
|
|
156
176
|
return args[0] > args[1];
|
|
@@ -166,14 +186,18 @@ exports.booleanExpressionFunctions = {
|
|
|
166
186
|
],
|
|
167
187
|
examples: ['[col1] > 5', 'GT([col1], 5)'],
|
|
168
188
|
returnType: 'boolean',
|
|
189
|
+
inputs: [
|
|
190
|
+
['number', 'number'],
|
|
191
|
+
['date', 'date'],
|
|
192
|
+
],
|
|
169
193
|
},
|
|
170
194
|
GTE: {
|
|
171
195
|
handler(args, context) {
|
|
172
196
|
if (args[0] instanceof Date && args[1] instanceof Date) {
|
|
173
|
-
return (
|
|
197
|
+
return isAfter(args[0], args[1]) || isEqual(args[0], args[1]);
|
|
174
198
|
}
|
|
175
199
|
if (typeof args[0] === 'string' || typeof args[1] === 'string') {
|
|
176
|
-
const [first, second] =
|
|
200
|
+
const [first, second] = getStringValues(context, String(args[0]), String(args[1]));
|
|
177
201
|
return first >= second;
|
|
178
202
|
}
|
|
179
203
|
return args[0] >= args[1];
|
|
@@ -189,18 +213,23 @@ exports.booleanExpressionFunctions = {
|
|
|
189
213
|
],
|
|
190
214
|
examples: ['[col1] >= 5', 'GTE([col1], 5)'],
|
|
191
215
|
returnType: 'boolean',
|
|
216
|
+
inputs: [
|
|
217
|
+
['number', 'number'],
|
|
218
|
+
['date', 'date'],
|
|
219
|
+
],
|
|
192
220
|
},
|
|
193
221
|
BETWEEN: {
|
|
194
222
|
handler([input, lower, upper]) {
|
|
195
223
|
if (typeof input !== 'number')
|
|
196
|
-
throw new
|
|
224
|
+
throw new ExpressionEvaluationError('BETWEEN', 'arg 1 should be a number');
|
|
197
225
|
return input >= lower && input <= upper;
|
|
198
226
|
},
|
|
199
227
|
category: 'comparison',
|
|
200
228
|
description: 'Returns true if 1st input is between 2nd and 3rd inputs',
|
|
201
229
|
signatures: ['BETWEEN(input: number, lower: number, upper: number)'],
|
|
202
|
-
examples: ['BETWEEN(
|
|
230
|
+
examples: ['BETWEEN([col1], 10, 30)'],
|
|
203
231
|
returnType: 'boolean',
|
|
232
|
+
inputs: ['number', 'number', 'number'],
|
|
204
233
|
},
|
|
205
234
|
IN: {
|
|
206
235
|
handler([needle, haystack]) {
|
|
@@ -214,7 +243,7 @@ exports.booleanExpressionFunctions = {
|
|
|
214
243
|
},
|
|
215
244
|
CONTAINS: {
|
|
216
245
|
handler(args, context) {
|
|
217
|
-
const [first, second] =
|
|
246
|
+
const [first, second] = getStringValues(context, String(args[0]), String(args[1]));
|
|
218
247
|
return first.indexOf(second) !== -1;
|
|
219
248
|
},
|
|
220
249
|
category: 'strings',
|
|
@@ -222,10 +251,11 @@ exports.booleanExpressionFunctions = {
|
|
|
222
251
|
signatures: ['CONTAINS(a: string, b: string)'],
|
|
223
252
|
examples: ['CONTAINS([col1], "S")'],
|
|
224
253
|
returnType: 'boolean',
|
|
254
|
+
inputs: ['text', 'text'],
|
|
225
255
|
},
|
|
226
256
|
STARTS_WITH: {
|
|
227
257
|
handler(args, context) {
|
|
228
|
-
const [first, second] =
|
|
258
|
+
const [first, second] = getStringValues(context, String(args[0]), String(args[1]));
|
|
229
259
|
return first.startsWith(second);
|
|
230
260
|
},
|
|
231
261
|
category: 'strings',
|
|
@@ -233,10 +263,11 @@ exports.booleanExpressionFunctions = {
|
|
|
233
263
|
signatures: ['STARTS_WITH(a: string, b: string)'],
|
|
234
264
|
examples: ['STARTS_WITH([col1], "S")'],
|
|
235
265
|
returnType: 'boolean',
|
|
266
|
+
inputs: ['text', 'text'],
|
|
236
267
|
},
|
|
237
268
|
ENDS_WITH: {
|
|
238
269
|
handler(args, context) {
|
|
239
|
-
const [first, second] =
|
|
270
|
+
const [first, second] = getStringValues(context, String(args[0]), String(args[1]));
|
|
240
271
|
return first.endsWith(second);
|
|
241
272
|
},
|
|
242
273
|
category: 'strings',
|
|
@@ -244,15 +275,16 @@ exports.booleanExpressionFunctions = {
|
|
|
244
275
|
signatures: ['ENDS_WITH(a: string, b: string)'],
|
|
245
276
|
examples: ['ENDS_WITH([col1], "S")'],
|
|
246
277
|
returnType: 'boolean',
|
|
278
|
+
inputs: ['text', 'text'],
|
|
247
279
|
},
|
|
248
280
|
ANY_CONTAINS: {
|
|
249
281
|
handler(args, context) {
|
|
250
282
|
var _a;
|
|
251
|
-
const searchTerm =
|
|
283
|
+
const searchTerm = getStringValue(context, String(args[0]));
|
|
252
284
|
return (_a = context.adaptableApi) === null || _a === void 0 ? void 0 : _a.columnApi.getColumns().some((column) => {
|
|
253
285
|
var _a;
|
|
254
286
|
const value = (_a = context.adaptableApi) === null || _a === void 0 ? void 0 : _a.gridApi.getDisplayValueFromRowNode(context.node, column.columnId);
|
|
255
|
-
const columnValue =
|
|
287
|
+
const columnValue = getStringValue(context, String(value));
|
|
256
288
|
return columnValue.indexOf(searchTerm) !== -1;
|
|
257
289
|
});
|
|
258
290
|
},
|
|
@@ -262,5 +294,61 @@ exports.booleanExpressionFunctions = {
|
|
|
262
294
|
examples: ['ANY_CONTAINS("abc")'],
|
|
263
295
|
returnType: 'boolean',
|
|
264
296
|
},
|
|
297
|
+
IS_NUMERIC: {
|
|
298
|
+
handler(args) {
|
|
299
|
+
return !isNaN(Number(args[0]));
|
|
300
|
+
},
|
|
301
|
+
isHiddenFromMenu: false,
|
|
302
|
+
description: 'Returns true if input is numeric',
|
|
303
|
+
signatures: ['IS_NUMERIC(a: number)'],
|
|
304
|
+
examples: ['IS_NUMERIC([columnName])'],
|
|
305
|
+
category: 'maths',
|
|
306
|
+
returnType: 'boolean',
|
|
307
|
+
inputs: ['number'],
|
|
308
|
+
},
|
|
309
|
+
REGEX: {
|
|
310
|
+
handler(args) {
|
|
311
|
+
// dont need context as here we always want case insenstivity in the Regex
|
|
312
|
+
const firstInput = String(args[0]);
|
|
313
|
+
const regex = String(args[1]);
|
|
314
|
+
return RegExp(regex).test(firstInput);
|
|
315
|
+
},
|
|
316
|
+
isHiddenFromMenu: false,
|
|
317
|
+
description: 'Returns true if Regular Expression matches',
|
|
318
|
+
signatures: ['REGEX(a: string, b: pattern)'],
|
|
319
|
+
examples: ['REGEX([col1], "[A-Z]+")'],
|
|
320
|
+
inputs: ['text', 'text'],
|
|
321
|
+
category: 'strings',
|
|
322
|
+
returnType: 'boolean',
|
|
323
|
+
},
|
|
324
|
+
IS_HOLIDAY: {
|
|
325
|
+
handler(args, context) {
|
|
326
|
+
const dateToCheck = normalizeDateParam(args[0]);
|
|
327
|
+
return context.adaptableApi.calendarApi.isHoliday(dateToCheck);
|
|
328
|
+
},
|
|
329
|
+
isHiddenFromMenu: false,
|
|
330
|
+
description: 'Returns true if input date is a Holiday',
|
|
331
|
+
signatures: ['IS_HOLIDAY(a: date)'],
|
|
332
|
+
examples: ['IS_HOLIDAY([columnName])'],
|
|
333
|
+
category: 'dates',
|
|
334
|
+
returnType: 'boolean',
|
|
335
|
+
inputs: ['date'],
|
|
336
|
+
},
|
|
337
|
+
IS_WORKDAY: {
|
|
338
|
+
handler(args, context) {
|
|
339
|
+
const dateToCheck = normalizeDateParam(args[0]);
|
|
340
|
+
return context.adaptableApi.calendarApi.isWorkingDay(dateToCheck);
|
|
341
|
+
},
|
|
342
|
+
isHiddenFromMenu: false,
|
|
343
|
+
description: 'Returns true if input date is a Working Day',
|
|
344
|
+
signatures: ['IS_WORKDAY(a: date)'],
|
|
345
|
+
examples: ['IS_WORKDAY([columnName])'],
|
|
346
|
+
category: 'dates',
|
|
347
|
+
returnType: 'boolean',
|
|
348
|
+
inputs: ['date'],
|
|
349
|
+
},
|
|
350
|
+
};
|
|
351
|
+
export const booleanExpressionFunctionsNames = getTypedKeys(booleanExpressionFunctions);
|
|
352
|
+
export const isBooleanAdaptableQlFunction = (functionName) => {
|
|
353
|
+
return booleanExpressionFunctionsNames.includes(functionName);
|
|
265
354
|
};
|
|
266
|
-
exports.booleanExpressionFunctionsNames = (0, TypeExtensions_1.getTypedKeys)(exports.booleanExpressionFunctions);
|
|
@@ -1,7 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.normalizeDateParams = void 0;
|
|
4
|
-
const normalizeDateParams = (args) => {
|
|
1
|
+
export const normalizeDateParams = (args) => {
|
|
5
2
|
let [first, second] = args;
|
|
6
3
|
if (typeof first === 'string') {
|
|
7
4
|
first = new Date(first);
|
|
@@ -11,4 +8,12 @@ const normalizeDateParams = (args) => {
|
|
|
11
8
|
}
|
|
12
9
|
return [first, second];
|
|
13
10
|
};
|
|
14
|
-
|
|
11
|
+
export const normalizeDateParam = (args) => {
|
|
12
|
+
if (typeof args === 'string') {
|
|
13
|
+
args = new Date(args);
|
|
14
|
+
}
|
|
15
|
+
if (typeof args === 'number') {
|
|
16
|
+
args = new Date(args);
|
|
17
|
+
}
|
|
18
|
+
return args;
|
|
19
|
+
};
|