@adaptabletools/adaptable 23.1.0-canary.2 → 24.0.0-canary.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/agGrid.d.ts +3 -7
- package/agGrid.js +2 -10
- package/icons/column-info.svg +1 -0
- package/icons/custom-sort.svg +1 -0
- package/icons/in.svg +1 -0
- package/icons/not-in.svg +1 -0
- package/icons/plus-minus.svg +1 -0
- package/icons/same-day.svg +1 -0
- package/icons/shortcut.svg +1 -0
- package/icons/tool-panel.svg +1 -0
- package/index.css +1989 -387
- package/index.d.ts +3 -7
- package/index.js +2 -10
- package/package.json +9 -5
- package/src/AdaptableInterfaces/IAdaptable.d.ts +17 -5
- package/src/AdaptableOptions/ActionColumnOptions.d.ts +282 -39
- package/src/AdaptableOptions/AdaptableOptions.d.ts +5 -5
- package/src/AdaptableOptions/AlertOptions.d.ts +12 -0
- package/src/AdaptableOptions/CalculatedColumnOptions.d.ts +42 -0
- package/src/AdaptableOptions/CalendarOptions.d.ts +30 -4
- package/src/AdaptableOptions/ColumnOptions.d.ts +6 -1
- package/src/AdaptableOptions/ContainerOptions.d.ts +2 -2
- package/src/AdaptableOptions/ContextMenuOptions.d.ts +1 -1
- package/src/AdaptableOptions/DefaultAdaptableOptions.js +47 -38
- package/src/AdaptableOptions/EntitlementOptions.d.ts +8 -2
- package/src/AdaptableOptions/ExpressionOptions.d.ts +288 -108
- package/src/AdaptableOptions/FilterOptions.d.ts +102 -45
- package/src/AdaptableOptions/LayoutOptions.d.ts +50 -47
- package/src/AdaptableOptions/NoteOptions.d.ts +4 -11
- package/src/AdaptableOptions/SettingsPanelOptions.d.ts +51 -10
- package/src/AdaptableOptions/TeamSharingOptions.d.ts +11 -0
- package/src/AdaptableOptions/UserInterfaceOptions.d.ts +8 -0
- package/src/AdaptableOptions/WizardOptions.d.ts +1 -1
- package/src/AdaptableState/AlertState.d.ts +103 -30
- package/src/AdaptableState/AlertState.js +35 -1
- package/src/AdaptableState/CalculatedColumnState.d.ts +74 -7
- package/src/AdaptableState/CalculatedColumnState.js +72 -1
- package/src/AdaptableState/Common/AdaptableAlert.d.ts +8 -0
- package/src/AdaptableState/Common/AdaptableFilterState.d.ts +1 -5
- package/src/AdaptableState/Common/AdaptableIcon.d.ts +1 -1
- package/src/AdaptableState/Common/AdaptableObject.d.ts +1 -1
- package/src/AdaptableState/Common/AdaptableQuery.d.ts +43 -39
- package/src/AdaptableState/Common/AdaptableQuery.js +25 -2
- package/src/AdaptableState/Common/AlternativeModuleIcon.d.ts +16 -0
- package/src/AdaptableState/Common/CellDataChangedInfo.d.ts +5 -3
- package/src/AdaptableState/Common/ColumnFilter.d.ts +19 -26
- package/src/AdaptableState/Common/CompactCalculatedColumnEditorInfo.d.ts +7 -0
- package/src/AdaptableState/Common/ExtendedLayout.d.ts +42 -9
- package/src/AdaptableState/Common/FormulaTraceInfo.d.ts +54 -0
- package/src/AdaptableState/Common/FormulaTraceInfo.js +1 -0
- package/src/AdaptableState/Common/Menu.d.ts +2 -2
- package/src/AdaptableState/Common/Menu.js +10 -0
- package/src/AdaptableState/Common/MenuItem.d.ts +3 -3
- package/src/AdaptableState/Common/MenuItem.js +3 -9
- package/src/AdaptableState/Common/RowSummary.d.ts +1 -1
- package/src/AdaptableState/Common/RowSummary.js +1 -0
- package/src/AdaptableState/Common/SpecialColumnSettings.d.ts +8 -1
- package/src/AdaptableState/Common/Types.d.ts +39 -4
- package/src/AdaptableState/Common/Types.js +15 -0
- package/src/AdaptableState/DashboardState.d.ts +6 -2
- package/src/AdaptableState/ExportState.d.ts +2 -3
- package/src/AdaptableState/FlashingCellState.d.ts +16 -26
- package/src/AdaptableState/FormatColumnState.d.ts +3 -27
- package/src/AdaptableState/InitialState.d.ts +3 -2
- package/src/AdaptableState/InternalState.d.ts +26 -2
- package/src/AdaptableState/LayoutState.d.ts +18 -13
- package/src/AdaptableState/NamedQueryState.d.ts +28 -2
- package/src/AdaptableState/NamedQueryState.js +2 -1
- package/src/AdaptableState/NoteState.d.ts +17 -2
- package/src/AdaptableState/PlusMinusState.d.ts +2 -3
- package/src/AdaptableState/StyledColumns/BadgeStyle.d.ts +4 -20
- package/src/AdaptableState/TeamSharingState.d.ts +11 -0
- package/src/Api/AdaptableApi.d.ts +0 -5
- package/src/Api/AlertApi.d.ts +27 -7
- package/src/Api/CalculatedColumnApi.d.ts +16 -2
- package/src/Api/CalendarApi.d.ts +29 -10
- package/src/Api/ColumnApi.d.ts +16 -1
- package/src/Api/ColumnFilterApi.d.ts +1 -27
- package/src/Api/CustomSortApi.d.ts +4 -5
- package/src/Api/EventApi.d.ts +30 -2
- package/src/Api/Events/CalculatedColumnChanged.d.ts +2 -1
- package/src/Api/Events/ColumnFilterApplied.d.ts +15 -1
- package/src/Api/Events/ColumnFilterChanged.d.ts +49 -0
- package/src/Api/Events/LayoutChanged.d.ts +18 -0
- package/src/Api/Events/NoteChanged.d.ts +19 -0
- package/src/Api/ExportApi.d.ts +3 -4
- package/src/Api/ExpressionApi.d.ts +111 -26
- package/src/Api/FlashingCellApi.d.ts +4 -12
- package/src/Api/FormatColumnApi.d.ts +4 -4
- package/src/Api/GridApi.d.ts +11 -0
- package/src/Api/GridFilterApi.d.ts +2 -2
- package/src/Api/Implementation/AdaptableApiImpl.d.ts +0 -2
- package/src/Api/Implementation/AdaptableApiImpl.js +2 -4
- package/src/Api/Implementation/AlertApiImpl.d.ts +65 -7
- package/src/Api/Implementation/AlertApiImpl.js +169 -77
- package/src/Api/Implementation/ApiBase.d.ts +2 -4
- package/src/Api/Implementation/ApiBase.js +3 -14
- package/src/Api/Implementation/CalculatedColumnApiImpl.d.ts +2 -0
- package/src/Api/Implementation/CalculatedColumnApiImpl.js +24 -4
- package/src/Api/Implementation/CalendarApiImpl.d.ts +6 -3
- package/src/Api/Implementation/CalendarApiImpl.js +34 -39
- package/src/Api/Implementation/CellSummaryApiImpl.js +1 -2
- package/src/Api/Implementation/ColumnApiImpl.d.ts +15 -1
- package/src/Api/Implementation/ColumnApiImpl.js +45 -18
- package/src/Api/Implementation/ColumnFilterApiImpl.d.ts +2 -11
- package/src/Api/Implementation/ColumnFilterApiImpl.js +25 -89
- package/src/Api/Implementation/ColumnScopeApiImpl.d.ts +1 -0
- package/src/Api/Implementation/ColumnScopeApiImpl.js +8 -37
- package/src/Api/Implementation/CommentsApiImpl.js +1 -1
- package/src/Api/Implementation/CustomSortApiImpl.d.ts +4 -5
- package/src/Api/Implementation/CustomSortApiImpl.js +8 -8
- package/src/Api/Implementation/EntitlementApiImpl.d.ts +6 -0
- package/src/Api/Implementation/EntitlementApiImpl.js +19 -9
- package/src/Api/Implementation/ExportApiImpl.d.ts +3 -4
- package/src/Api/Implementation/ExportApiImpl.js +34 -51
- package/src/Api/Implementation/ExpressionApiImpl.d.ts +32 -8
- package/src/Api/Implementation/ExpressionApiImpl.js +234 -40
- package/src/Api/Implementation/FlashingCellApiImpl.d.ts +5 -8
- package/src/Api/Implementation/FlashingCellApiImpl.js +9 -16
- package/src/Api/Implementation/FormatColumnApiImpl.d.ts +4 -4
- package/src/Api/Implementation/FormatColumnApiImpl.js +10 -13
- package/src/Api/Implementation/GridApiImpl.d.ts +1 -0
- package/src/Api/Implementation/GridApiImpl.js +12 -2
- package/src/Api/Implementation/GridFilterApiImpl.d.ts +1 -1
- package/src/Api/Implementation/GridFilterApiImpl.js +7 -13
- package/src/Api/Implementation/LayoutApiImpl.d.ts +11 -2
- package/src/Api/Implementation/LayoutApiImpl.js +108 -175
- package/src/Api/Implementation/NamedQueryApiImpl.js +6 -1
- package/src/Api/Implementation/NoteApiImpl.d.ts +3 -2
- package/src/Api/Implementation/NoteApiImpl.js +17 -3
- package/src/Api/Implementation/OptionsApiImpl.d.ts +2 -2
- package/src/Api/Implementation/OptionsApiImpl.js +3 -3
- package/src/Api/Implementation/PlusMinusApiImpl.d.ts +4 -5
- package/src/Api/Implementation/PlusMinusApiImpl.js +10 -9
- package/src/Api/Implementation/ShortcutApiImpl.d.ts +4 -5
- package/src/Api/Implementation/ShortcutApiImpl.js +8 -8
- package/src/Api/Implementation/StateApiImpl.d.ts +1 -1
- package/src/Api/Implementation/StateApiImpl.js +10 -15
- package/src/Api/Implementation/StyledColumnApiImpl.d.ts +7 -7
- package/src/Api/Implementation/StyledColumnApiImpl.js +12 -12
- package/src/Api/Implementation/SystemStatusApiImpl.js +1 -1
- package/src/Api/Implementation/TeamSharingApiImpl.d.ts +2 -0
- package/src/Api/Implementation/TeamSharingApiImpl.js +33 -0
- package/src/Api/Implementation/UserInterfaceApiImpl.js +10 -23
- package/src/Api/Internal/ActionColumnInternalApi.d.ts +11 -6
- package/src/Api/Internal/ActionColumnInternalApi.js +28 -66
- package/src/Api/Internal/AdaptableInternalApi.d.ts +16 -9
- package/src/Api/Internal/AdaptableInternalApi.js +10 -34
- package/src/Api/Internal/AlertInternalApi.d.ts +81 -29
- package/src/Api/Internal/AlertInternalApi.js +204 -106
- package/src/Api/Internal/CalculatedColumnInternalApi.d.ts +50 -1
- package/src/Api/Internal/CalculatedColumnInternalApi.js +163 -19
- package/src/Api/Internal/ColumnFilterInternalApi.d.ts +6 -9
- package/src/Api/Internal/ColumnFilterInternalApi.js +54 -104
- package/src/Api/Internal/ColumnInternalApi.js +0 -4
- package/src/Api/Internal/CommentsInternalApi.js +2 -2
- package/src/Api/Internal/EventInternalApi.d.ts +15 -1
- package/src/Api/Internal/EventInternalApi.js +58 -5
- package/src/Api/Internal/ExportInternalApi.js +6 -7
- package/src/Api/Internal/ExpressionInternalApi.d.ts +11 -3
- package/src/Api/Internal/ExpressionInternalApi.js +9 -26
- package/src/Api/Internal/FlashingCellInternalApi.js +1 -1
- package/src/Api/Internal/FormatColumnInternalApi.d.ts +5 -11
- package/src/Api/Internal/FormatColumnInternalApi.js +16 -34
- package/src/Api/Internal/FreeTextColumnInternalApi.d.ts +8 -0
- package/src/Api/Internal/FreeTextColumnInternalApi.js +11 -2
- package/src/Api/Internal/GridInternalApi.js +12 -23
- package/src/Api/Internal/LayoutInternalApi.d.ts +29 -3
- package/src/Api/Internal/LayoutInternalApi.js +47 -29
- package/src/Api/Internal/NamedQueryInternalApi.d.ts +6 -0
- package/src/Api/Internal/NamedQueryInternalApi.js +20 -0
- package/src/Api/Internal/NoteInternalApi.d.ts +7 -0
- package/src/Api/Internal/NoteInternalApi.js +5 -2
- package/src/Api/Internal/RowFormInternalApi.js +9 -19
- package/src/Api/Internal/StateInternalApi.d.ts +2 -0
- package/src/Api/Internal/StateInternalApi.js +18 -4
- package/src/Api/Internal/StyledColumnInternalApi.d.ts +14 -3
- package/src/Api/Internal/StyledColumnInternalApi.js +30 -20
- package/src/Api/Internal/TeamSharingInternalApi.d.ts +8 -1
- package/src/Api/Internal/TeamSharingInternalApi.js +26 -0
- package/src/Api/Internal/UserInterfaceInternalApi.js +5 -9
- package/src/Api/LayoutApi.d.ts +52 -6
- package/src/Api/NoteApi.d.ts +10 -2
- package/src/Api/OptionsApi.d.ts +5 -5
- package/src/Api/PlusMinusApi.d.ts +4 -5
- package/src/Api/ShortcutApi.d.ts +4 -5
- package/src/Api/StateApi.d.ts +1 -1
- package/src/Api/StyledColumnApi.d.ts +6 -7
- package/src/Redux/ActionsReducers/CommentsRedux.js +6 -6
- package/src/Redux/ActionsReducers/DashboardRedux.js +1 -1
- package/src/Redux/ActionsReducers/InternalRedux.d.ts +44 -6
- package/src/Redux/ActionsReducers/InternalRedux.js +139 -20
- package/src/Redux/ActionsReducers/LayoutRedux.d.ts +64 -2
- package/src/Redux/ActionsReducers/LayoutRedux.js +86 -1
- package/src/Redux/ActionsReducers/NamedQueryRedux.js +4 -3
- package/src/Redux/Store/AdaptableReduxLocalStorageEngine.js +2 -3
- package/src/Redux/Store/AdaptableStore.js +210 -53
- package/src/Strategy/AdaptableModuleBase.d.ts +19 -7
- package/src/Strategy/AdaptableModuleBase.js +33 -6
- package/src/Strategy/AlertModule.d.ts +7 -7
- package/src/Strategy/AlertModule.js +50 -58
- package/src/Strategy/BulkUpdateModule.d.ts +1 -1
- package/src/Strategy/BulkUpdateModule.js +29 -26
- package/src/Strategy/CalculatedColumnModule.d.ts +11 -10
- package/src/Strategy/CalculatedColumnModule.js +67 -50
- package/src/Strategy/CellSummaryModule.d.ts +3 -2
- package/src/Strategy/CellSummaryModule.js +29 -22
- package/src/Strategy/ChartingModule.d.ts +1 -1
- package/src/Strategy/ChartingModule.js +3 -3
- package/src/Strategy/ColumnFilterModule.d.ts +1 -1
- package/src/Strategy/ColumnFilterModule.js +10 -3
- package/src/Strategy/ColumnInfoModule.d.ts +2 -2
- package/src/Strategy/ColumnInfoModule.js +1 -1
- package/src/Strategy/CommentModule.d.ts +1 -1
- package/src/Strategy/CommentModule.js +5 -5
- package/src/Strategy/CustomSortModule.d.ts +2 -4
- package/src/Strategy/CustomSortModule.js +9 -10
- package/src/Strategy/DashboardModule.js +1 -1
- package/src/Strategy/DataChangeHistoryModule.js +1 -1
- package/src/Strategy/DataImportModule.js +1 -1
- package/src/Strategy/DataSetModule.js +2 -2
- package/src/Strategy/ExportModule.d.ts +1 -1
- package/src/Strategy/ExportModule.js +7 -7
- package/src/Strategy/Fdc3Module.d.ts +1 -1
- package/src/Strategy/FlashingCellModule.d.ts +11 -7
- package/src/Strategy/FlashingCellModule.js +33 -40
- package/src/Strategy/FormatColumnModule.d.ts +3 -5
- package/src/Strategy/FormatColumnModule.js +11 -12
- package/src/Strategy/FreeTextColumnModule.d.ts +1 -1
- package/src/Strategy/FreeTextColumnModule.js +4 -3
- package/src/Strategy/GridFilterModule.js +1 -1
- package/src/Strategy/GridInfoModule.d.ts +2 -2
- package/src/Strategy/GridInfoModule.js +1 -1
- package/src/Strategy/Interface/ICellSummaryModule.d.ts +5 -0
- package/src/Strategy/Interface/IModule.d.ts +53 -7
- package/src/Strategy/LayoutModule.d.ts +6 -2
- package/src/Strategy/LayoutModule.js +14 -47
- package/src/Strategy/NamedQueryModule.js +18 -6
- package/src/Strategy/NoteModule.d.ts +6 -3
- package/src/Strategy/NoteModule.js +30 -52
- package/src/Strategy/PlusMinusModule.d.ts +3 -5
- package/src/Strategy/PlusMinusModule.js +14 -15
- package/src/Strategy/QuickSearchModule.js +1 -1
- package/src/Strategy/SettingsPanelModule.d.ts +2 -2
- package/src/Strategy/SettingsPanelModule.js +1 -1
- package/src/Strategy/ShortcutModule.d.ts +2 -4
- package/src/Strategy/ShortcutModule.js +9 -10
- package/src/Strategy/SmartEditModule.d.ts +1 -1
- package/src/Strategy/SmartEditModule.js +3 -3
- package/src/Strategy/StateManagementModule.d.ts +6 -0
- package/src/Strategy/StateManagementModule.js +5 -1
- package/src/Strategy/StatusBarModule.js +1 -1
- package/src/Strategy/StyledColumnModule.d.ts +3 -5
- package/src/Strategy/StyledColumnModule.js +8 -9
- package/src/Strategy/SystemStatusModule.d.ts +2 -2
- package/src/Strategy/SystemStatusModule.js +1 -1
- package/src/Strategy/TeamSharingModule.d.ts +1 -0
- package/src/Strategy/TeamSharingModule.js +26 -2
- package/src/Strategy/ThemeModule.js +1 -1
- package/src/Strategy/ToolPanelModule.js +1 -1
- package/src/Utilities/Constants/GeneralConstants.d.ts +2 -2
- package/src/Utilities/Constants/GeneralConstants.js +2 -7
- package/src/Utilities/Constants/ModuleConstants.d.ts +16 -1
- package/src/Utilities/Constants/ModuleConstants.js +6 -1
- package/src/Utilities/Constants/ReduxConstants.js +1 -1
- package/src/Utilities/Extensions/TypeExtensions.d.ts +1 -83
- package/src/Utilities/Extensions/TypeExtensions.js +1 -3
- package/src/Utilities/Helpers/ActionColumnHelper.d.ts +17 -3
- package/src/Utilities/Helpers/ActionColumnHelper.js +53 -20
- package/src/Utilities/Helpers/AlertTypeHelper.d.ts +34 -0
- package/src/Utilities/Helpers/AlertTypeHelper.js +87 -0
- package/src/Utilities/Helpers/CalendarHelper.d.ts +20 -0
- package/src/Utilities/Helpers/CalendarHelper.js +58 -0
- package/src/Utilities/Helpers/ChartHelper.d.ts +0 -1
- package/src/Utilities/Helpers/ChartHelper.js +0 -9
- package/src/Utilities/Helpers/ColumnFilterHelper.d.ts +9 -0
- package/src/Utilities/Helpers/ColumnFilterHelper.js +8 -0
- package/src/Utilities/Helpers/Helper.d.ts +0 -1
- package/src/Utilities/Helpers/Helper.js +0 -10
- package/src/Utilities/Helpers/Layouts/AutoCreateLayoutHelper.d.ts +19 -0
- package/src/Utilities/Helpers/Layouts/AutoCreateLayoutHelper.js +154 -0
- package/src/Utilities/Helpers/Layouts/LayoutExtensionHelper.d.ts +50 -0
- package/src/Utilities/Helpers/Layouts/LayoutExtensionHelper.js +177 -0
- package/src/Utilities/Helpers/Layouts/LayoutHelper.d.ts +44 -0
- package/src/Utilities/Helpers/Layouts/LayoutHelper.js +733 -0
- package/src/Utilities/Helpers/NamedQueryHelper.d.ts +24 -0
- package/src/Utilities/Helpers/NamedQueryHelper.js +77 -0
- package/src/Utilities/Helpers/NotesHelper.d.ts +11 -0
- package/src/Utilities/Helpers/NotesHelper.js +71 -0
- package/src/Utilities/Helpers/Scheduling/ScheduleHelper.d.ts +0 -1
- package/src/Utilities/Helpers/Scheduling/ScheduleHelper.js +0 -7
- package/src/Utilities/Helpers/Scheduling/ScheduledAlertHelper.d.ts +7 -2
- package/src/Utilities/Helpers/Scheduling/ScheduledAlertHelper.js +3 -1
- package/src/Utilities/Helpers/Scheduling/ScheduledReportHelper.d.ts +1 -7
- package/src/Utilities/Helpers/Scheduling/ScheduledReportHelper.js +0 -14
- package/src/Utilities/Helpers/SettingsPanelHelper.d.ts +39 -1
- package/src/Utilities/Helpers/SettingsPanelHelper.js +50 -2
- package/src/Utilities/Helpers/StyleHelper.d.ts +0 -16
- package/src/Utilities/Helpers/StyleHelper.js +0 -36
- package/src/Utilities/Helpers/StyledColumns/BarStylesHelper.d.ts +0 -2
- package/src/Utilities/Helpers/StyledColumns/BarStylesHelper.js +0 -8
- package/src/Utilities/Helpers/StyledColumns/GradientStyleHelper.d.ts +0 -2
- package/src/Utilities/Helpers/StyledColumns/GradientStyleHelper.js +0 -1
- package/src/Utilities/Helpers/StyledColumns/PercentBarStyleHelper.d.ts +0 -3
- package/src/Utilities/Helpers/StyledColumns/PercentBarStyleHelper.js +0 -6
- package/src/Utilities/Helpers/UIHelper.d.ts +75 -0
- package/src/Utilities/Helpers/UIHelper.js +358 -0
- package/src/Utilities/Helpers/ValueOrFunctionHelper.d.ts +33 -0
- package/src/Utilities/Helpers/ValueOrFunctionHelper.js +15 -0
- package/src/Utilities/ObjectFactory.d.ts +1 -3
- package/src/Utilities/ObjectFactory.js +13 -32
- package/src/Utilities/Services/AlertLiveBindingService.d.ts +30 -0
- package/src/Utilities/Services/AlertLiveBindingService.js +162 -0
- package/src/Utilities/Services/CalculatedColumnExpressionService.d.ts +21 -10
- package/src/Utilities/Services/CalculatedColumnExpressionService.js +182 -81
- package/src/Utilities/Services/CommentsService.d.ts +28 -0
- package/src/Utilities/Services/CommentsService.js +128 -0
- package/src/Utilities/Services/DataService.d.ts +3 -6
- package/src/Utilities/Services/DataService.js +18 -31
- package/src/Utilities/Services/Interface/IAlertLiveBindingService.d.ts +41 -0
- package/src/Utilities/Services/Interface/IAlertLiveBindingService.js +1 -0
- package/src/Utilities/Services/Interface/ICalculatedColumnExpressionService.d.ts +45 -8
- package/src/Utilities/Services/Interface/IDataService.d.ts +25 -3
- package/src/Utilities/Services/Interface/ILiveRefreshService.d.ts +39 -0
- package/src/Utilities/Services/Interface/ILiveRefreshService.js +1 -0
- package/src/Utilities/Services/Interface/IQueryLanguageService.d.ts +192 -41
- package/src/Utilities/Services/Interface/ITeamSharingService.d.ts +5 -0
- package/src/Utilities/Services/LiveRefreshService.d.ts +28 -0
- package/src/Utilities/Services/LiveRefreshService.js +166 -0
- package/src/Utilities/Services/QueryLanguageService.d.ts +202 -48
- package/src/Utilities/Services/QueryLanguageService.js +764 -465
- package/src/Utilities/Services/RowSummaryService.d.ts +7 -14
- package/src/Utilities/Services/RowSummaryService.js +63 -67
- package/src/Utilities/Services/TeamSharingService.d.ts +4 -0
- package/src/Utilities/Services/TeamSharingService.js +44 -0
- package/src/Utilities/Services/ValidationService.d.ts +0 -1
- package/src/Utilities/Services/ValidationService.js +13 -26
- package/src/Utilities/isPivotLayout.d.ts +1 -1
- package/src/Utilities/isPivotLayout.js +1 -1
- package/src/Utilities/logDeprecation.d.ts +0 -2
- package/src/Utilities/logDeprecation.js +0 -7
- package/src/Utilities/resolveContainerElement.js +2 -1
- package/src/View/AdaptableContext.d.ts +2 -0
- package/src/View/AdaptableContext.js +6 -0
- package/src/View/AdaptablePopover/index.js +1 -1
- package/src/View/AdaptableView.js +4 -2
- package/src/View/AdaptableViewFactory.js +4 -2
- package/src/View/AdaptableWizardView/Wizard.js +2 -2
- package/src/View/Alert/ActiveAlertsPanel.js +5 -1
- package/src/View/Alert/ActiveAlertsPanelItemLabel.js +1 -1
- package/src/View/Alert/AlertEmptyView.js +2 -2
- package/src/View/Alert/AlertStatusSubPanel.js +1 -3
- package/src/View/Alert/AlertViewPanel.js +4 -4
- package/src/View/Alert/Utilities/getAlertButtonStyle.js +1 -1
- package/src/View/Alert/Utilities/getAlertType.d.ts +4 -15
- package/src/View/Alert/Utilities/getAlertType.js +2 -61
- package/src/View/Alert/Utilities/getDefaultAlertDefinition.d.ts +2 -32
- package/src/View/Alert/Utilities/getDefaultAlertDefinition.js +15 -8
- package/src/View/Alert/Utilities/mapAlertDefinition.d.ts +1 -1
- package/src/View/Alert/Utilities/mapAlertDefinition.js +2 -1
- package/src/View/Alert/Wizard/AlertBehaviourWizardSection.js +4 -3
- package/src/View/Alert/Wizard/AlertButtonsEditor.js +7 -7
- package/src/View/Alert/Wizard/AlertNotificationWizardSection.js +1 -2
- package/src/View/Alert/Wizard/AlertRulesWizardSection.js +103 -45
- package/src/View/Alert/Wizard/AlertScheduledWizardSection.js +1 -1
- package/src/View/Alert/Wizard/AlertScopeWizardSection.js +12 -22
- package/src/View/Alert/Wizard/AlertTypeWizardSection.js +5 -1
- package/src/View/Alert/Wizard/AlertWizard.js +18 -13
- package/src/View/Alert/Wizard/isValidAlertRules.js +10 -5
- package/src/View/BulkUpdate/BulkUpdatePopup.d.ts +2 -0
- package/src/View/BulkUpdate/BulkUpdatePopup.js +23 -17
- package/src/View/BulkUpdate/BulkUpdateValueSelector.d.ts +20 -0
- package/src/View/BulkUpdate/BulkUpdateValueSelector.js +50 -0
- package/src/View/BulkUpdate/BulkUpdateViewPanel.js +3 -8
- package/src/View/CalculatedColumn/Utilities/getCalculatedColumnSettingsTags.js +2 -1
- package/src/View/CalculatedColumn/Wizard/CalculatedColumnDefinitionWizardSection.d.ts +2 -2
- package/src/View/CalculatedColumn/Wizard/CalculatedColumnDefinitionWizardSection.js +6 -3
- package/src/View/CalculatedColumn/Wizard/CalculatedColumnExpressionWizardSection.d.ts +9 -3
- package/src/View/CalculatedColumn/Wizard/CalculatedColumnExpressionWizardSection.js +98 -50
- package/src/View/CalculatedColumn/Wizard/CalculatedColumnSettingsWizardSection.js +71 -17
- package/src/View/CalculatedColumn/Wizard/CalculatedColumnTypeSection.d.ts +3 -3
- package/src/View/CalculatedColumn/Wizard/CalculatedColumnTypeSection.js +19 -7
- package/src/View/CalculatedColumn/Wizard/CalculatedColumnWizard.js +32 -37
- package/src/View/CalculatedColumn/Wizard/calculatedColumnTypes.d.ts +5 -2
- package/src/View/CalculatedColumn/Wizard/calculatedColumnTypes.js +1 -6
- package/src/View/CellSummary/CellSummaryDetails.d.ts +4 -0
- package/src/View/CellSummary/CellSummaryDetails.js +9 -13
- package/src/View/CellSummary/CellSummaryPopup.d.ts +8 -0
- package/src/View/CellSummary/CellSummaryPopup.js +18 -2
- package/src/View/CellSummary/CellSummaryStatusPanel.js +1 -2
- package/src/View/CellSummary/CellSummaryViewPanel.js +8 -9
- package/src/View/Charting/ChartingStatusBarPopover.js +1 -1
- package/src/View/Charting/ChartingViewPanel.js +1 -1
- package/src/View/Charting/ShowChartButton.js +2 -2
- package/src/View/Charting/Utilities/useAgChartState.d.ts +9 -0
- package/src/View/Charting/Utilities/useAgChartState.js +64 -0
- package/src/View/Charting/Utilities/useChartingElements.d.ts +15 -0
- package/src/View/Charting/Utilities/useChartingElements.js +96 -0
- package/src/View/Charting/Utilities/useExternalChartState.d.ts +7 -0
- package/src/View/Charting/Utilities/useExternalChartState.js +45 -0
- package/src/View/Charting/Wizard/AgChargingWizard/SettingsSection.js +44 -0
- package/src/View/ColumnInfo/ColumnInfo.js +1 -1
- package/src/View/Comments/CommentsEditor.js +3 -3
- package/src/View/Comments/CommentsPopup.js +1 -1
- package/src/View/Components/AdaptableDateInput/index.js +5 -1
- package/src/View/Components/AdaptableObjectList/AdaptableObjectCompactList.d.ts +6 -0
- package/src/View/Components/AdaptableObjectList/AdaptableObjectCompactList.js +2 -2
- package/src/View/Components/AdaptableObjectList/AdaptableObjectList.d.ts +1 -0
- package/src/View/Components/AdaptableObjectList/AdaptableObjectList.js +6 -2
- package/src/View/Components/Buttons/ButtonDelete.d.ts +4 -0
- package/src/View/Components/Buttons/ButtonDelete.js +4 -1
- package/src/View/Components/CellPopup/index.d.ts +12 -0
- package/src/View/Components/CellPopup/index.js +24 -8
- package/src/View/Components/ColumnSelector/index.js +1 -1
- package/src/View/Components/EntityRulesEditor/Utilities.d.ts +6 -1
- package/src/View/Components/EntityRulesEditor/Utilities.js +20 -26
- package/src/View/Components/EntityRulesEditor/index.d.ts +44 -19
- package/src/View/Components/EntityRulesEditor/index.js +47 -90
- package/src/View/Components/Forms/AdaptableFormControlTextClear.d.ts +1 -0
- package/src/View/Components/Forms/AdaptableFormControlTextClear.js +1 -1
- package/src/View/Components/ModuleValueSelector/index.js +1 -1
- package/src/View/Components/Panels/PanelWithButton.d.ts +2 -2
- package/src/View/Components/Panels/PanelWithButton.js +10 -3
- package/src/View/Components/Popups/AdaptablePopup/AdaptablePopup.js +9 -4
- package/src/View/Components/Popups/AdaptablePopup/AdaptablePopupBody.js +0 -3
- package/src/View/Components/Popups/AdaptablePopup/AdaptablePopupDialog.js +1 -1
- package/src/View/Components/Popups/AdaptablePopup/AdaptablePopupModuleView.js +24 -5
- package/src/View/Components/Popups/AdaptablePopup/Navigation.d.ts +4 -0
- package/src/View/Components/Popups/AdaptablePopup/Navigation.js +119 -24
- package/src/View/Components/Popups/AdaptablePopup/PopupPanel.d.ts +3 -1
- package/src/View/Components/Popups/AdaptablePopup/settingsPanelNavigationTypes.d.ts +2 -0
- package/src/View/Components/Popups/AdaptablePopup/useMenuItems.js +24 -9
- package/src/View/Components/Popups/AdaptablePopupAlert.js +1 -1
- package/src/View/Components/Popups/AdaptablePopupConfirmation.js +3 -3
- package/src/View/Components/Popups/GridCellPopup/GridCellPopup.d.ts +5 -2
- package/src/View/Components/Popups/GridCellPopup/GridCellPopup.js +10 -38
- package/src/View/Components/Popups/Utilities.js +1 -1
- package/src/View/Components/Popups/WindowPopups/windowFactory.d.ts +0 -1
- package/src/View/Components/Popups/WindowPopups/windowFactory.js +1 -4
- package/src/View/Components/PreviewResultsPanel.js +46 -31
- package/src/View/Components/Selectors/FieldSelector.d.ts +1 -0
- package/src/View/Components/Selectors/FieldSelector.js +1 -1
- package/src/View/Components/Selectors/PermittedValuesSelector.js +6 -2
- package/src/View/Components/SharedProps/BaseProps.d.ts +0 -1
- package/src/View/Components/SharedProps/ModuleViewPopupProps.d.ts +1 -0
- package/src/View/Components/SharedProps/ViewPanelProps.d.ts +5 -0
- package/src/View/Components/StyleComponent.js +1 -1
- package/src/View/CustomSort/Wizard/CustomSortColumnWizardSection.js +3 -3
- package/src/View/CustomSort/Wizard/CustomSortWizard.js +10 -0
- package/src/View/Dashboard/CustomToolbar.js +1 -1
- package/src/View/Dashboard/Dashboard.js +26 -27
- package/src/View/Dashboard/DashboardPopupSections.js +6 -9
- package/src/View/Dashboard/DashboardToolbarFactory.d.ts +1 -0
- package/src/View/Dashboard/DashboardToolbarFactory.js +2 -1
- package/src/View/Dashboard/ModuleToolbarWrapper.js +1 -1
- package/src/View/Dashboard/PanelDashboard/index.d.ts +15 -0
- package/src/View/Dashboard/PanelDashboard/index.js +18 -0
- package/src/View/Dashboard/PinnedDashboard.js +1 -1
- package/src/View/DataChangeHistory/DataChangeHistoryTable.js +2 -2
- package/src/View/DataChangeHistory/DataChangeHistoryViewPanel.js +1 -1
- package/src/View/DataChangeHistory/Utilities/buildActionColumnButton.d.ts +5 -0
- package/src/View/DataChangeHistory/Utilities/buildActionColumnButton.js +74 -0
- package/src/View/DataChangeHistory/Utilities/dataChangeHistoryHelpers.d.ts +37 -0
- package/src/View/DataChangeHistory/Utilities/dataChangeHistoryHelpers.js +66 -0
- package/src/View/DataImport/DataImportPopup.js +1 -1
- package/src/View/DataImport/Utilities/systemFileHandlers.d.ts +3 -0
- package/src/View/DataImport/Utilities/systemFileHandlers.js +39 -0
- package/src/View/DataImport/Wizard/DataImportWizard.js +260 -0
- package/src/View/DataImport/Wizard/sections/ColumnsSection.js +130 -0
- package/src/View/DataImport/Wizard/sections/DataPreview.js +149 -0
- package/src/View/DataSet/DataSetViewPanel.js +1 -1
- package/src/View/Export/ExportSchedulesTab.js +1 -1
- package/src/View/Export/ReportFormatSelector.js +1 -1
- package/src/View/Export/ReportNameSelector.js +1 -1
- package/src/View/Export/Wizard/ReportColumnsWizardSection.js +1 -1
- package/src/View/Export/Wizard/ReportRowsWizardSection.js +13 -17
- package/src/View/Export/Wizard/ScheduledReportSettings.js +1 -1
- package/src/View/Filter/ColumnFilter/AdaptableColumnFilterNew.d.ts +16 -0
- package/src/View/Filter/ColumnFilter/AdaptableColumnFilterNew.js +16 -0
- package/src/View/Filter/ColumnFilter/AdaptableFloatingFilterNew.d.ts +10 -0
- package/src/View/Filter/ColumnFilter/AdaptableFloatingFilterNew.js +28 -0
- package/src/View/Filter/ColumnFilter/ColumnFilterNew.d.ts +28 -0
- package/src/View/Filter/ColumnFilter/ColumnFilterNew.js +71 -0
- package/src/View/Filter/ColumnFilter/ColumnFilterOverlayHost.d.ts +16 -0
- package/src/View/Filter/ColumnFilter/ColumnFilterOverlayHost.js +8 -0
- package/src/View/Filter/ColumnFilter/ColumnFilterSettingsList.d.ts +10 -0
- package/src/View/Filter/ColumnFilter/ColumnFilterSettingsList.js +42 -0
- package/src/View/Filter/ColumnFilter/ColumnFilterWindow.d.ts +3 -0
- package/src/View/Filter/ColumnFilter/ColumnFilterWindow.js +38 -0
- package/src/View/Filter/ColumnFilter/FloatingFilterNew.d.ts +19 -0
- package/src/View/Filter/ColumnFilter/FloatingFilterNew.js +140 -0
- package/src/View/Filter/ColumnFilter/LayoutColumnFilter.d.ts +17 -0
- package/src/View/Filter/ColumnFilter/LayoutColumnFilter.js +43 -0
- package/src/View/Filter/ColumnFilter/LayoutColumnFilterCard.d.ts +11 -0
- package/src/View/Filter/ColumnFilter/LayoutColumnFilterCard.js +41 -0
- package/src/View/Filter/ColumnFilter/columnFilterLocation.d.ts +10 -0
- package/src/View/Filter/ColumnFilter/columnFilterLocation.js +26 -0
- package/src/View/Filter/ColumnFilter/components/ColumnFilterInput.d.ts +29 -0
- package/src/View/Filter/ColumnFilter/components/ColumnFilterInput.js +141 -0
- package/src/View/Filter/ColumnFilter/components/FloatingFilterInputListNew.d.ts +33 -0
- package/src/View/Filter/ColumnFilter/components/FloatingFilterInputListNew.js +80 -0
- package/src/View/Filter/ColumnFilter/components/FloatingFilterValues.d.ts +58 -0
- package/src/View/Filter/ColumnFilter/components/FloatingFilterValues.js +314 -0
- package/src/View/Filter/ColumnFilter/useColumnFilterQlPredicate.d.ts +27 -0
- package/src/View/Filter/ColumnFilter/useColumnFilterQlPredicate.js +58 -0
- package/src/View/Filter/FilterForm/ListBoxFilterForm.js +149 -0
- package/src/View/Filter/FilterViewPanel.js +2 -3
- package/src/View/FlashingCell/Wizard/FlashingCellRulesWizardSection.js +40 -15
- package/src/View/FlashingCell/Wizard/FlashingCellScopeWizardSection.js +0 -12
- package/src/View/FlashingCell/Wizard/FlashingCellStyleWizardSection.js +1 -1
- package/src/View/FlashingCell/Wizard/FlashingCellTypeWizardSection.d.ts +9 -0
- package/src/View/FlashingCell/Wizard/FlashingCellTypeWizardSection.js +27 -0
- package/src/View/FlashingCell/Wizard/FlashingCellWizard.js +45 -6
- package/src/View/FlashingCell/Wizard/isValidFlashingCellRules.js +2 -2
- package/src/View/FormatColumn/Wizard/FormatColumnFormatWizardSection.js +51 -41
- package/src/View/FormatColumn/Wizard/FormatColumnRuleWizardSection.d.ts +7 -2
- package/src/View/FormatColumn/Wizard/FormatColumnRuleWizardSection.js +93 -29
- package/src/View/FormatColumn/Wizard/FormatColumnScopeWizardSection.js +8 -27
- package/src/View/FormatColumn/Wizard/FormatColumnStyleWizardSection.js +1 -1
- package/src/View/FormatColumn/Wizard/FormatColumnWizard.js +18 -4
- package/src/View/FreeTextColumn/Utilities/getFreeTextColumnSettingsTags.js +3 -1
- package/src/View/FreeTextColumn/Wizard/FreeTextColumnSettingsWizardSection.js +34 -12
- package/src/View/GridFilter/GridFilterExpressionEditor.js +27 -76
- package/src/View/GridFilter/GridFilterPopup.js +4 -30
- package/src/View/GridFilter/GridFilterPopupUI.d.ts +18 -0
- package/src/View/GridFilter/GridFilterPopupUI.js +7 -0
- package/src/View/GridFilter/GridFilterViewPanel.js +45 -12
- package/src/View/GridFilter/NamedQuerySelector.js +8 -6
- package/src/View/GridFilter/Utilities/useGridFilterExpressionEditor.d.ts +26 -0
- package/src/View/GridFilter/Utilities/useGridFilterExpressionEditor.js +117 -0
- package/src/View/GridInfo/AdaptableObjectsSummary.js +26 -0
- package/src/View/GridInfo/GridInfoPopup.d.ts +6 -0
- package/src/View/GridInfo/GridInfoPopup.js +210 -0
- package/src/View/Layout/LayoutStatusBarSubPanelPopover.js +1 -1
- package/src/View/Layout/LayoutViewPanel.d.ts +1 -0
- package/src/View/Layout/LayoutViewPanel.js +1 -1
- package/src/View/Layout/PivotDetailsPopoup.js +6 -13
- package/src/View/Layout/TransposedPopup.js +5 -6
- package/src/View/Layout/Utilities/columnFilter.d.ts +2 -0
- package/src/View/Layout/Utilities/columnLayoutHelpers.d.ts +30 -0
- package/src/View/Layout/Utilities/layoutWizardAccordionHelpers.d.ts +8 -0
- package/src/View/Layout/Utilities/layoutWizardColumns.d.ts +11 -0
- package/src/View/Layout/Utilities/layoutWizardColumns.js +48 -0
- package/src/View/Layout/Wizard/getGridFilterPreview.js +3 -3
- package/src/View/Layout/Wizard/sections/AggregationsSection.js +12 -8
- package/src/View/Layout/Wizard/sections/ColumnsSection.js +12 -12
- package/src/View/Layout/Wizard/sections/FilterSection.js +13 -33
- package/src/View/Layout/Wizard/sections/GridFilterSection.js +11 -14
- package/src/View/Layout/Wizard/sections/PivotAggregationsSection.js +8 -8
- package/src/View/Layout/Wizard/sections/PivotColumnsSection.js +8 -8
- package/src/View/Layout/Wizard/sections/PivotRowGroupingSection.js +7 -7
- package/src/View/Layout/Wizard/sections/RowGroupingSection.d.ts +1 -1
- package/src/View/Layout/Wizard/sections/RowGroupingSection.js +9 -9
- package/src/View/Layout/Wizard/sections/RowSelectionSection.js +2 -2
- package/src/View/Layout/Wizard/sections/RowSummarySection.js +9 -9
- package/src/View/Layout/Wizard/sections/SortSection.js +7 -7
- package/src/View/Layout/Wizard/sections/columnLayoutCards.d.ts +1 -1
- package/src/View/Layout/Wizard/sections/columnLayoutCards.js +8 -8
- package/src/View/NamedQuery/Wizard/NamedQueryExpressionWizardSection.d.ts +1 -1
- package/src/View/NamedQuery/Wizard/NamedQueryExpressionWizardSection.js +51 -13
- package/src/View/NamedQuery/Wizard/NamedQuerySettingsWizardSection.js +29 -4
- package/src/View/NamedQuery/Wizard/NamedQueryWizard.js +5 -3
- package/src/View/Note/NotePopup.js +47 -4
- package/src/View/Note/NoteStatusPanel.d.ts +6 -0
- package/src/View/Note/NoteStatusPanel.js +17 -0
- package/src/View/Note/NoteViewPanel.d.ts +8 -0
- package/src/View/Note/NoteViewPanel.js +18 -0
- package/src/View/ObjectItemViews/Alert/getAlertBehaviourViewItems.d.ts +3 -0
- package/src/View/ObjectItemViews/Alert/getAlertPreviewViewItems.d.ts +4 -0
- package/src/View/ObjectItemViews/CustomSort/getCustomSortColumnViewItems.d.ts +6 -0
- package/src/View/ObjectItemViews/CustomSort/getCustomSortColumnViewItems.js +7 -0
- package/src/View/ObjectItemViews/Export/formatScheduledReportSummary.js +6 -0
- package/src/View/ObjectItemViews/Export/getExportColumnsViewItems.d.ts +5 -0
- package/src/View/ObjectItemViews/Export/getExportColumnsViewItems.js +20 -0
- package/src/View/ObjectItemViews/Export/getExportRowsViewItems.js +18 -0
- package/src/View/ObjectItemViews/FlashingCell/getFlashingCellStyleViewItems.d.ts +2 -0
- package/src/View/ObjectItemViews/FlashingCell/getFlashingTargetViewItems.d.ts +5 -0
- package/src/View/ObjectItemViews/Layout/columnsSummaryHelpers.d.ts +48 -0
- package/src/View/ObjectItemViews/Layout/columnsSummaryHelpers.js +161 -0
- package/src/View/ObjectItemViews/Layout/getLayoutFilterViewItems.d.ts +12 -0
- package/src/View/ObjectItemViews/Layout/getLayoutFilterViewItems.js +58 -0
- package/src/View/ObjectItemViews/Layout/getLayoutSortViewItems.d.ts +6 -0
- package/src/View/ObjectItemViews/Layout/getLayoutSortViewItems.js +10 -0
- package/src/View/ObjectItemViews/getExpressionViewItems.d.ts +3 -0
- package/src/View/ObjectItemViews/getExpressionViewItems.js +9 -0
- package/src/View/ObjectItemViews/getLayoutExtensionInfoViewItems.d.ts +8 -0
- package/src/View/ObjectItemViews/getLayoutExtensionInfoViewItems.js +31 -0
- package/src/View/ObjectItemViews/getLayoutExtensionsViewItems.d.ts +9 -0
- package/src/View/ObjectItemViews/getLayoutExtensionsViewItems.js +26 -0
- package/src/View/ObjectItemViews/getObjectTagsViewItems.d.ts +3 -0
- package/src/View/ObjectItemViews/getObjectTagsViewItems.js +9 -0
- package/src/View/ObjectItemViews/getRuleViewItems.d.ts +6 -0
- package/src/View/ObjectItemViews/getRuleViewItems.js +7 -0
- package/src/View/ObjectItemViews/getScopeViewItems.d.ts +3 -0
- package/src/View/ObjectItemViews/getScopeViewItems.js +23 -0
- package/src/View/PlusMinus/Wizard/PlusMinusRuleWizardSection.d.ts +0 -1
- package/src/View/PlusMinus/Wizard/PlusMinusRuleWizardSection.js +29 -26
- package/src/View/PlusMinus/Wizard/PlusMinusWizard.js +11 -1
- package/src/View/QuickSearch/QuickSearchInput.js +1 -1
- package/src/View/QuickSearch/QuickSearchPopup.js +1 -1
- package/src/View/QuickSearch/Utilities/useQuickSearchDebounced.d.ts +7 -0
- package/src/View/QuickSearch/Utilities/useQuickSearchDebounced.js +15 -0
- package/src/View/Schedule/Wizard/ScheduleScheduleSummary.js +1 -1
- package/src/View/Schedule/Wizard/ScheduleScheduleWizard.js +4 -19
- package/src/View/Shortcut/Utilities/shortcutOperations.d.ts +5 -0
- package/src/View/Shortcut/Utilities/shortcutOperations.js +35 -0
- package/src/View/Shortcut/Wizard/ShortcutSettingsWizard.js +2 -2
- package/src/View/Shortcut/Wizard/ShortcutWizard.js +11 -1
- package/src/View/SmartEdit/SmartEditPopup.d.ts +5 -0
- package/src/View/SmartEdit/SmartEditPopup.js +43 -31
- package/src/View/SmartEdit/SmartEditViewPanel.js +3 -9
- package/src/View/StateManagement/ClearButton.d.ts +6 -0
- package/src/View/StateManagement/ClearButton.js +5 -0
- package/src/View/StateManagement/ExportDropdown.d.ts +8 -0
- package/src/View/StateManagement/ExportDropdown.js +35 -0
- package/src/View/StateManagement/LoadButton.d.ts +7 -0
- package/src/View/StateManagement/LoadButton.js +31 -0
- package/src/View/StateManagement/StateManagementPopup.js +3 -3
- package/src/View/StateManagement/StateManagementViewPanel.js +3 -3
- package/src/View/StateManagement/Utilities/handleExportState.d.ts +2 -0
- package/src/View/StateManagement/Utilities/handleExportState.js +17 -0
- package/src/View/StatusBar/AdaptableStatusBar.d.ts +1 -1
- package/src/View/StatusBar/AdaptableStatusBar.js +7 -1
- package/src/View/StatusBar/StatusBarPanel.d.ts +2 -1
- package/src/View/StatusBar/StatusBarPopup.js +1 -1
- package/src/View/StatusBar/Utilities/statusBarPanelHelpers.d.ts +2 -0
- package/src/View/StyledColumn/Badge/index.js +63 -0
- package/src/View/StyledColumn/RangesComponent.js +339 -0
- package/src/View/StyledColumn/Wizard/BadgeRuleEditor.d.ts +21 -0
- package/src/View/StyledColumn/Wizard/BadgeRuleEditor.js +27 -0
- package/src/View/StyledColumn/Wizard/StyledColumnBadgeSection.js +7 -19
- package/src/View/StyledColumn/Wizard/StyledColumnSliceStyleEditors.js +1 -1
- package/src/View/StyledColumn/Wizard/StyledColumnSparklineSettingsSection.js +3 -6
- package/src/View/StyledColumn/Wizard/StyledColumnTypeThumbnail.js +1 -1
- package/src/View/StyledColumn/Wizard/StyledColumnWizard.js +11 -1
- package/src/View/StyledColumn/Wizard/StyledColumnWizardBulletSection.js +3 -3
- package/src/View/StyledColumn/Wizard/StyledColumnWizardIconSection.js +8 -10
- package/src/View/StyledColumn/Wizard/StyledColumnWizardRangeBarSection.js +3 -3
- package/src/View/StyledColumn/Wizard/StyledColumnWizardRatingSection.js +5 -8
- package/src/View/StyledColumn/Wizard/StyledColumnWizardScopeSection.js +4 -4
- package/src/View/StyledColumn/Wizard/StyledColumnWizardStyleSection/Components/BarStyleCellTextLayoutEditor.js +1 -1
- package/src/View/StyledColumn/Wizard/StyledColumnWizardStyleSection/Components/StyledColumnBadgePreview.js +1 -1
- package/src/View/StyledColumn/Wizard/StyledColumnWizardStyleSection/StyledColumnWizardRangesSection.js +2 -2
- package/src/View/StyledColumn/Wizard/StyledColumnWizardStyleSection/StyledColumnWizardStyleSection.js +1 -1
- package/src/View/SystemStatus/SystemStatusPopup.d.ts +1 -18
- package/src/View/SystemStatus/SystemStatusPopup.js +106 -37
- package/src/View/SystemStatus/Utilities/getStatusItemStyle.js +1 -1
- package/src/View/Theme/ThemeSelector.js +1 -1
- package/src/View/ToolPanel/AdaptableToolPanel.d.ts +40 -0
- package/src/View/ToolPanel/AdaptableToolPanel.js +220 -0
- package/src/View/ToolPanel/CustomToolPanelContent.d.ts +6 -0
- package/src/View/ToolPanel/CustomToolPanelContent.js +51 -0
- package/src/View/ToolPanel/PanelToolPanel/index.d.ts +14 -0
- package/src/View/ToolPanel/PanelToolPanel/index.js +44 -0
- package/src/View/ToolPanel/ToolPanelPopup.d.ts +20 -0
- package/src/View/ToolPanel/ToolPanelPopup.js +27 -0
- package/src/View/ToolPanel/ToolPanelPopupSections.d.ts +17 -0
- package/src/View/ToolPanel/ToolPanelPopupSections.js +75 -0
- package/src/View/ToolPanel/ToolPanelWrapper.d.ts +16 -0
- package/src/View/ToolPanel/ToolPanelWrapper.js +55 -0
- package/src/View/Wizard/CollapsibleWizardCard.d.ts +2 -2
- package/src/View/Wizard/CollapsibleWizardCard.js +7 -7
- package/src/View/Wizard/Interface/IAdaptableWizard.d.ts +0 -1
- package/src/View/Wizard/KeyHint.d.ts +6 -0
- package/src/View/Wizard/KeyHint.js +7 -0
- package/src/View/Wizard/LayoutExtensionInfoWizardSection.d.ts +20 -0
- package/src/View/Wizard/LayoutExtensionInfoWizardSection.js +32 -0
- package/src/View/Wizard/ObjectTagsWizardSection.js +1 -1
- package/src/View/Wizard/OnePageAdaptableWizard.d.ts +1 -1
- package/src/View/Wizard/OnePageAdaptableWizard.js +1 -1
- package/src/View/Wizard/OnePageWizards.js +3 -3
- package/src/View/Wizard/SpecialColumnSettingsWizardStep.js +39 -0
- package/src/View/Wizard/TagValueSelector/index.d.ts +13 -0
- package/src/View/Wizard/TagValueSelector/index.js +19 -0
- package/src/View/Wizard/Utilities/useKeyboardNavigation.d.ts +2 -0
- package/src/View/Wizard/Utilities/wizardSelection.d.ts +10 -0
- package/src/View/Wizard/Utilities/wizardSelection.js +13 -0
- package/src/View/Wizard/rowGroupSummaryTags.js +4 -4
- package/src/View/Wizard/scopeSummaryTags.js +3 -3
- package/src/agGrid/AdaptableAgGrid.d.ts +63 -9
- package/src/agGrid/AdaptableAgGrid.js +471 -224
- package/src/agGrid/AdaptableFilterHandler.d.ts +7 -0
- package/src/agGrid/AdaptableFilterHandler.js +19 -4
- package/src/agGrid/AgGridAdapter.d.ts +5 -0
- package/src/agGrid/AgGridAdapter.js +30 -17
- package/src/agGrid/AgGridCellDataTypeHelper.d.ts +35 -0
- package/src/agGrid/AgGridCellDataTypeHelper.js +100 -0
- package/src/agGrid/AgGridColumnAdapter.d.ts +28 -1
- package/src/agGrid/AgGridColumnAdapter.js +159 -46
- package/src/agGrid/AgGridDataTypeDefinitions.js +69 -0
- package/src/agGrid/AgGridExportAdapter.js +19 -40
- package/src/agGrid/AgGridFilterAdapter.js +70 -7
- package/src/agGrid/AgGridFloatingFilterAdapter.js +3 -3
- package/src/agGrid/AgGridGroupColumnPathMatching.d.ts +44 -0
- package/src/agGrid/AgGridGroupColumnPathMatching.js +73 -0
- package/src/agGrid/AgGridMenuAdapter.js +19 -5
- package/src/agGrid/AgGridModulesAdapter.js +6 -2
- package/src/agGrid/AgGridOptionsService.js +2 -2
- package/src/agGrid/AgGridStatusPanelCreator.js +45 -0
- package/src/agGrid/cellRenderers/ActionColumnRenderer.d.ts +9 -1
- package/src/agGrid/cellRenderers/ActionColumnRenderer.js +379 -76
- package/src/agGrid/cellRenderers/BadgeRenderer.js +6 -14
- package/src/agGrid/cellRenderers/IconRenderer.js +1 -1
- package/src/agGrid/cellRenderers/TwoLineTooltip.d.ts +14 -0
- package/src/agGrid/cellRenderers/TwoLineTooltip.js +18 -0
- package/src/agGrid/editors/AdaptableDateEditor/index.js +1 -1
- package/src/agGrid/editors/AdaptableNumberEditor/index.js +1 -1
- package/src/agGrid/editors/AdaptablePercentageEditor/index.js +1 -1
- package/src/aql/ExpressionEvaluation.d.ts +184 -0
- package/src/aql/ExpressionEvaluation.js +1 -0
- package/src/aql/applyExpressionFunctionAvailability.d.ts +19 -0
- package/src/aql/applyExpressionFunctionAvailability.js +49 -0
- package/src/aql/badgeRuleQl.d.ts +26 -0
- package/src/aql/badgeRuleQl.js +27 -0
- package/src/aql/chipColumnPlaceholder.d.ts +41 -0
- package/src/aql/chipColumnPlaceholder.js +67 -0
- package/src/aql/columnFilterQl.d.ts +232 -0
- package/src/aql/columnFilterQl.js +516 -0
- package/src/aql/createAdaptableAqlHost.d.ts +19 -0
- package/src/aql/createAdaptableAqlHost.js +121 -0
- package/src/aql/createExternalDataAqlHost.d.ts +17 -0
- package/src/aql/createExternalDataAqlHost.js +73 -0
- package/src/aql/durationHelper.d.ts +18 -0
- package/src/aql/durationHelper.js +37 -0
- package/src/aql/expressionFunctionAvailability.d.ts +80 -0
- package/src/aql/expressionFunctionAvailability.js +36 -0
- package/src/aql/expressionFunctionAvailabilityOverlay.d.ts +49 -0
- package/src/aql/expressionFunctionAvailabilityOverlay.js +77 -0
- package/src/aql/formulaTraceUtils.d.ts +49 -0
- package/src/aql/formulaTraceUtils.js +143 -0
- package/src/aql/formulaValueSubstitutionUtils.d.ts +52 -0
- package/src/aql/formulaValueSubstitutionUtils.js +100 -0
- package/src/aql/getMissingColumnIssues.d.ts +10 -0
- package/src/aql/getMissingColumnIssues.js +33 -0
- package/src/aql/index.d.ts +11 -0
- package/src/aql/index.js +3 -0
- package/src/aql/legacyExpressionKinds.d.ts +18 -0
- package/src/aql/legacyExpressionKinds.js +14 -0
- package/src/aql/mapCustomAggregatedScalarFunctions.d.ts +31 -0
- package/src/aql/mapCustomAggregatedScalarFunctions.js +202 -0
- package/src/aql/resolveCustomExpressionFunctions.d.ts +21 -0
- package/src/aql/resolveCustomExpressionFunctions.js +82 -0
- package/src/aql/resolveOperatorPresentation.d.ts +28 -0
- package/src/aql/resolveOperatorPresentation.js +22 -0
- package/src/aql/systemExpressionFunctionEnhancements.d.ts +55 -0
- package/src/aql/systemExpressionFunctionEnhancements.js +234 -0
- package/src/aql/systemExpressionFunctions.d.ts +66 -0
- package/src/aql/systemExpressionFunctions.js +95 -0
- package/src/aql/types.d.ts +572 -0
- package/src/aql/types.js +1 -0
- package/src/aql/whereClauseExpressionFunctionPolicy.d.ts +21 -0
- package/src/aql/whereClauseExpressionFunctionPolicy.js +25 -0
- package/src/components/CheckBox/index.d.ts +2 -25
- package/src/components/CheckBox/index.js +1 -55
- package/src/components/Combobox/index.d.ts +3 -50
- package/src/components/Combobox/index.js +1 -598
- package/src/components/Datepicker/index.d.ts +6 -0
- package/src/components/Datepicker/index.js +10 -4
- package/src/components/DropdownButton/index.d.ts +20 -21
- package/src/components/DropdownButton/index.js +5 -19
- package/src/components/EmptyContent/index.js +2 -2
- package/src/components/IconSelector/IconSelector.js +1 -1
- package/src/components/Modal/index.js +1 -1
- package/src/components/OverlayTrigger/index.js +1 -1
- package/src/components/Radio/index.d.ts +2 -51
- package/src/components/Radio/index.js +1 -64
- package/src/components/Select/index.d.ts +2 -0
- package/src/components/Select/index.js +1 -0
- package/src/components/SimpleButton/index.js +3 -5
- package/src/components/Switch/index.d.ts +14 -0
- package/src/components/Switch/index.js +7 -0
- package/src/components/Tabs/index.d.ts +2 -0
- package/src/components/Tabs/index.js +2 -2
- package/src/components/Tag/Tag.d.ts +14 -11
- package/src/components/Tag/Tag.js +11 -9
- package/src/components/Tag/columnScopeTagHelpers.d.ts +11 -3
- package/src/components/Tag/columnScopeTagHelpers.js +42 -2
- package/src/components/Tag/index.d.ts +1 -1
- package/src/components/Tag/index.js +1 -1
- package/src/components/Tooltip/index.d.ts +2 -6
- package/src/components/Tooltip/index.js +1 -6
- package/src/components/Tree/TreeDropdown/index.d.ts +2 -65
- package/src/components/Tree/TreeDropdown/index.js +1 -418
- package/src/components/WindowModal/WindowModal.js +3 -1
- package/src/components/aql/CompactEditor/CompactEditor.d.ts +9 -0
- package/src/components/aql/CompactEditor/CompactEditor.js +141 -0
- package/src/components/aql/ExpressionEditor/AqlCodeMirrorEditor.d.ts +94 -0
- package/src/components/aql/ExpressionEditor/AqlCodeMirrorEditor.js +522 -0
- package/src/components/aql/ExpressionEditor/BaseEditorInput.d.ts +164 -0
- package/src/components/aql/ExpressionEditor/BaseEditorInput.js +1161 -0
- package/src/components/aql/ExpressionEditor/CompactExpressionToolbar.d.ts +28 -0
- package/src/components/aql/ExpressionEditor/CompactExpressionToolbar.js +127 -0
- package/src/components/aql/ExpressionEditor/DataTableEditor.d.ts +27 -0
- package/src/components/aql/ExpressionEditor/DataTableEditor.js +91 -0
- package/src/components/aql/ExpressionEditor/EditorButton.d.ts +9 -0
- package/src/components/aql/ExpressionEditor/EditorButton.js +32 -0
- package/src/components/aql/ExpressionEditor/EditorContext.d.ts +24 -0
- package/src/components/aql/ExpressionEditor/EditorContext.js +9 -0
- package/src/components/aql/ExpressionEditor/EditorInput.d.ts +48 -0
- package/src/components/aql/ExpressionEditor/EditorInput.js +235 -0
- package/src/components/aql/ExpressionEditor/EditorInputWithWhereClause.d.ts +21 -0
- package/src/components/aql/ExpressionEditor/EditorInputWithWhereClause.js +131 -0
- package/src/components/aql/ExpressionEditor/ExpressionExamplesPanel.d.ts +10 -0
- package/src/components/aql/ExpressionEditor/ExpressionExamplesPanel.js +32 -0
- package/src/components/aql/ExpressionEditor/ExpressionFunctionDocumentation.d.ts +11 -0
- package/src/components/aql/ExpressionEditor/ExpressionFunctionDocumentation.js +34 -0
- package/src/components/aql/ExpressionEditor/ExpressionInfoExamples.d.ts +12 -0
- package/src/components/aql/ExpressionEditor/ExpressionInfoExamples.js +9 -0
- package/src/components/aql/ExpressionEditor/ExpressionPreview.d.ts +12 -0
- package/src/components/aql/ExpressionEditor/ExpressionPreview.js +21 -0
- package/src/components/aql/ExpressionEditor/ExpressionUseCaseCard.d.ts +20 -0
- package/src/components/aql/ExpressionEditor/ExpressionUseCaseCard.js +10 -0
- package/src/components/aql/ExpressionEditor/LookupsEditor.d.ts +9 -0
- package/src/components/aql/ExpressionEditor/LookupsEditor.js +41 -0
- package/src/components/aql/ExpressionEditor/NamedQueryContext.d.ts +10 -0
- package/src/components/aql/ExpressionEditor/aqlCompletionTypeContext.d.ts +124 -0
- package/src/components/aql/ExpressionEditor/aqlCompletionTypeContext.js +252 -0
- package/src/components/aql/ExpressionEditor/aqlExpressionHighlight.d.ts +32 -0
- package/src/components/aql/ExpressionEditor/aqlExpressionHighlight.js +129 -0
- package/src/components/aql/ExpressionEditor/aqlHover.d.ts +54 -0
- package/src/components/aql/ExpressionEditor/aqlHover.js +320 -0
- package/src/components/aql/ExpressionEditor/aqlLint.d.ts +45 -0
- package/src/components/aql/ExpressionEditor/aqlLint.js +138 -0
- package/src/components/aql/ExpressionEditor/booleanEditorHostError.d.ts +16 -0
- package/src/components/aql/ExpressionEditor/booleanEditorHostError.js +20 -0
- package/src/components/aql/ExpressionEditor/changeFunctionMenus.d.ts +8 -0
- package/src/components/aql/ExpressionEditor/changeFunctionMenus.js +12 -0
- package/src/components/aql/ExpressionEditor/chipInsertPlaceholders.d.ts +1 -0
- package/src/components/aql/ExpressionEditor/chipInsertPlaceholders.js +1 -0
- package/src/components/aql/ExpressionEditor/diffRelativeUtils.d.ts +17 -0
- package/src/components/aql/ExpressionEditor/diffRelativeUtils.js +12 -0
- package/src/components/aql/ExpressionEditor/editorButtonsAggregatedBoolean.d.ts +7 -0
- package/src/components/aql/ExpressionEditor/editorButtonsAggregatedBoolean.js +37 -0
- package/src/components/aql/ExpressionEditor/editorButtonsObservable.d.ts +14 -0
- package/src/components/aql/ExpressionEditor/editorButtonsObservable.js +81 -0
- package/src/components/aql/ExpressionEditor/editorButtonsSearch.js +70 -0
- package/src/components/aql/ExpressionEditor/editorButtonsValue.d.ts +16 -0
- package/src/components/aql/ExpressionEditor/editorButtonsValue.js +111 -0
- package/src/components/aql/ExpressionEditor/editorExpressionContext.d.ts +40 -0
- package/src/components/aql/ExpressionEditor/editorExpressionContext.js +29 -0
- package/src/components/aql/ExpressionEditor/expressionExamplesKind.d.ts +12 -0
- package/src/components/aql/ExpressionEditor/expressionExamplesKind.js +46 -0
- package/src/components/aql/ExpressionEditor/expressionTypeExamples.d.ts +22 -0
- package/src/components/aql/ExpressionEditor/expressionTypeExamples.js +216 -0
- package/src/components/aql/ExpressionEditor/filterAggregatedExpressionFunctions.d.ts +15 -0
- package/src/components/aql/ExpressionEditor/filterAggregatedExpressionFunctions.js +50 -0
- package/src/components/aql/ExpressionEditor/formatAqlExpression.d.ts +9 -0
- package/src/components/aql/ExpressionEditor/formatAqlExpression.js +15 -0
- package/src/components/aql/ExpressionEditor/functionInsertText.d.ts +28 -0
- package/src/components/aql/ExpressionEditor/functionInsertText.js +43 -0
- package/src/components/aql/ExpressionEditor/index.d.ts +119 -0
- package/src/components/aql/ExpressionEditor/index.js +264 -0
- package/src/components/aql/ExpressionEditor/isExpressionEditableInQueryBuilder.d.ts +34 -0
- package/src/components/aql/ExpressionEditor/isExpressionEditableInQueryBuilder.js +25 -0
- package/src/components/aql/ExpressionEditor/resolveExpressionEditorButtons.d.ts +21 -0
- package/src/components/aql/ExpressionEditor/resolveExpressionEditorButtons.js +26 -0
- package/src/components/aql/ExpressionEditor/resolveExpressionEditors.d.ts +42 -0
- package/src/components/aql/ExpressionEditor/resolveExpressionEditors.js +74 -0
- package/src/components/aql/ExpressionEditor/useLookupItems.d.ts +14 -0
- package/src/components/aql/ExpressionEditor/useLookupItems.js +24 -0
- package/src/components/aql/ExpressionEditor/whereClauseUtils.d.ts +36 -0
- package/src/components/aql/ExpressionEditor/whereClauseUtils.js +33 -0
- package/src/components/aql/FormulaTrace/FormulaTracePopup.d.ts +9 -0
- package/src/components/aql/FormulaTrace/FormulaTracePopup.js +132 -0
- package/src/components/aql/QueryBuilder/AqlHighlightedExpression.d.ts +12 -0
- package/src/components/aql/QueryBuilder/AqlHighlightedExpression.js +12 -0
- package/src/components/aql/QueryBuilder/GroupEditor.d.ts +30 -0
- package/src/components/aql/QueryBuilder/GroupEditor.js +41 -0
- package/src/components/aql/QueryBuilder/NestedPredicateEditor.d.ts +14 -0
- package/src/components/aql/QueryBuilder/NestedPredicateEditor.js +15 -0
- package/src/components/aql/QueryBuilder/NodeEditor.d.ts +21 -0
- package/src/components/aql/QueryBuilder/NodeEditor.js +16 -0
- package/src/components/aql/QueryBuilder/NotEditor.d.ts +25 -0
- package/src/components/aql/QueryBuilder/NotEditor.js +16 -0
- package/src/components/aql/QueryBuilder/PrimitiveEditor.d.ts +23 -0
- package/src/components/aql/QueryBuilder/PrimitiveEditor.js +159 -0
- package/src/components/aql/QueryBuilder/QueryBuilder.d.ts +92 -0
- package/src/components/aql/QueryBuilder/QueryBuilder.js +112 -0
- package/src/components/aql/QueryBuilder/QueryBuilderColumnSelector.d.ts +16 -0
- package/src/components/aql/QueryBuilder/QueryBuilderColumnSelector.js +37 -0
- package/src/components/aql/QueryBuilder/QueryBuilderInputs.d.ts +102 -0
- package/src/components/aql/QueryBuilder/QueryBuilderInputs.js +365 -0
- package/src/components/aql/QueryBuilder/RowActions.d.ts +33 -0
- package/src/components/aql/QueryBuilder/RowActions.js +31 -0
- package/src/components/aql/QueryBuilder/context.d.ts +133 -0
- package/src/components/aql/QueryBuilder/context.js +93 -0
- package/src/components/aql/QueryBuilder/mapper.d.ts +11 -0
- package/src/components/aql/QueryBuilder/mapper.js +17 -0
- package/src/components/aql/QueryBuilder/qlGroupUtils.d.ts +15 -0
- package/src/components/aql/QueryBuilder/qlGroupUtils.js +24 -0
- package/src/components/aql/QueryBuilder/utils.d.ts +74 -0
- package/src/components/aql/QueryBuilder/utils.js +200 -0
- package/src/components/icons/add-circle.d.ts +3 -0
- package/src/components/icons/add-circle.js +3 -0
- package/src/components/icons/column-info.d.ts +7 -0
- package/src/components/icons/column-info.js +3 -0
- package/src/components/icons/in.d.ts +4 -0
- package/src/components/icons/in.js +3 -0
- package/src/components/icons/index.js +18 -2
- package/src/components/icons/link.d.ts +3 -0
- package/src/components/icons/link.js +3 -0
- package/src/components/icons/not-in.d.ts +4 -0
- package/src/components/icons/not-in.js +3 -0
- package/src/components/icons/plus-minus.d.ts +1 -0
- package/src/components/icons/plus-minus.js +1 -1
- package/src/components/icons/same-day.d.ts +8 -0
- package/src/components/icons/same-day.js +3 -0
- package/src/components/icons/shortcut.d.ts +1 -0
- package/src/components/icons/shortcut.js +1 -1
- package/src/components/icons/tool-panel-layout.d.ts +7 -0
- package/src/components/icons/tool-panel-layout.js +3 -0
- package/src/components/twUtils.d.ts +1 -10
- package/src/components/twUtils.js +1 -10
- package/src/components/ui/calendar.d.ts +1 -7
- package/src/components/ui/calendar.js +1 -96
- package/src/components/ui/dropdown-menu.d.ts +1 -29
- package/src/components/ui/dropdown-menu.js +1 -50
- package/src/components/ui/input-group.d.ts +1 -19
- package/src/components/ui/input-group.js +1 -57
- package/src/components/ui/input.d.ts +1 -3
- package/src/components/ui/input.js +1 -8
- package/src/components/ui/popover.d.ts +1 -9
- package/src/components/ui/popover.js +1 -22
- package/src/components/ui/select.d.ts +1 -27
- package/src/components/ui/select.js +1 -40
- package/src/components/ui/sidebar.d.ts +2 -0
- package/src/components/ui/sidebar.js +1 -0
- package/src/components/ui/tooltip.d.ts +1 -7
- package/src/components/ui/tooltip.js +1 -17
- package/src/env.js +2 -2
- package/src/layout-manager/src/normalizeLayoutModel.d.ts +1 -1
- package/src/layout-manager/src/simplifyLayoutModel.d.ts +1 -1
- package/src/lib/utils.d.ts +1 -4
- package/src/lib/utils.js +1 -6
- package/src/migration/AdaptableUpgradeHelper.d.ts +14 -1
- package/src/migration/AdaptableUpgradeHelper.js +15 -5
- package/src/migration/VersionUpgrade17.js +11 -8
- package/src/migration/VersionUpgrade20.js +1 -1
- package/src/migration/VersionUpgrade21.js +1 -1
- package/src/migration/VersionUpgrade22.js +4 -1
- package/src/migration/VersionUpgrade24.d.ts +247 -0
- package/src/migration/VersionUpgrade24.js +679 -0
- package/src/migration/entityMigration.d.ts +65 -0
- package/src/migration/entityMigration.js +168 -0
- package/src/migration/legacyAdaptableQuery.d.ts +29 -0
- package/src/migration/legacyAdaptableQuery.js +33 -0
- package/src/migration/legacyBetweenExpressionMigration.d.ts +15 -0
- package/src/migration/legacyBetweenExpressionMigration.js +246 -0
- package/src/migration/legacyPredicateLowering.d.ts +28 -0
- package/src/migration/legacyPredicateLowering.js +151 -0
- package/src/migration/migrateGreenfieldExpressionTexts.d.ts +12 -0
- package/src/migration/migrateGreenfieldExpressionTexts.js +195 -0
- package/src/migration/migrateLayoutTagsToRegistry.d.ts +15 -0
- package/src/migration/migrateLayoutTagsToRegistry.js +111 -0
- package/src/migration/predicateExpressionMigration.d.ts +77 -0
- package/src/migration/predicateExpressionMigration.js +201 -0
- package/src/migration/updateSingleToMultiplePredicates.d.ts +15 -0
- package/src/migration/updateSingleToMultiplePredicates.js +7 -0
- package/src/twMerge.d.ts +1 -1
- package/src/twMerge.js +1 -10
- package/src/types.d.ts +35 -27
- package/src/types.js +6 -0
- package/tsconfig.esm.tsbuildinfo +1 -1
- package/vendor/aql/api/QueryLanguageApi.d.ts +213 -0
- package/vendor/aql/api/QueryLanguageApi.d.ts.map +1 -0
- package/vendor/aql/api/QueryLanguageApi.js +481 -0
- package/vendor/aql/api/QueryLanguageApi.js.map +1 -0
- package/vendor/aql/api/index.d.ts +3 -0
- package/vendor/aql/api/index.d.ts.map +1 -0
- package/vendor/aql/api/index.js +2 -0
- package/vendor/aql/api/index.js.map +1 -0
- package/vendor/aql/contract/index.d.ts +55 -0
- package/vendor/aql/contract/index.d.ts.map +1 -0
- package/vendor/aql/contract/index.js +46 -0
- package/vendor/aql/contract/index.js.map +1 -0
- package/vendor/aql/corpus/corpusExpressions.d.ts +7 -0
- package/vendor/aql/corpus/corpusExpressions.d.ts.map +1 -0
- package/vendor/aql/corpus/corpusExpressions.js +46 -0
- package/vendor/aql/corpus/corpusExpressions.js.map +1 -0
- package/vendor/aql/corpus/corpusFixture.d.ts +24 -0
- package/vendor/aql/corpus/corpusFixture.d.ts.map +1 -0
- package/vendor/aql/corpus/corpusFixture.js +47 -0
- package/vendor/aql/corpus/corpusFixture.js.map +1 -0
- package/vendor/aql/corpus/goldenGrid.d.ts +43 -0
- package/vendor/aql/corpus/goldenGrid.d.ts.map +1 -0
- package/vendor/aql/corpus/goldenGrid.js +41 -0
- package/vendor/aql/corpus/goldenGrid.js.map +1 -0
- package/vendor/aql/draft/index.d.ts +22 -0
- package/vendor/aql/draft/index.d.ts.map +1 -0
- package/vendor/aql/draft/index.js +147 -0
- package/vendor/aql/draft/index.js.map +1 -0
- package/vendor/aql/editor-tree/index.d.ts +51 -0
- package/vendor/aql/editor-tree/index.d.ts.map +1 -0
- package/vendor/aql/editor-tree/index.js +134 -0
- package/vendor/aql/editor-tree/index.js.map +1 -0
- package/vendor/aql/evaluate.d.ts +9 -0
- package/vendor/aql/evaluate.d.ts.map +1 -0
- package/vendor/aql/evaluate.js +96 -0
- package/vendor/aql/evaluate.js.map +1 -0
- package/vendor/aql/evaluator/ExpressionEvaluationError.d.ts +5 -0
- package/vendor/aql/evaluator/ExpressionEvaluationError.d.ts.map +1 -0
- package/vendor/aql/evaluator/ExpressionEvaluationError.js +13 -0
- package/vendor/aql/evaluator/ExpressionEvaluationError.js.map +1 -0
- package/vendor/aql/evaluator/ExpressionNaError.d.ts +9 -0
- package/vendor/aql/evaluator/ExpressionNaError.d.ts.map +1 -0
- package/vendor/aql/evaluator/ExpressionNaError.js +12 -0
- package/vendor/aql/evaluator/ExpressionNaError.js.map +1 -0
- package/vendor/aql/evaluator/evaluateNode.d.ts +3 -0
- package/vendor/aql/evaluator/evaluateNode.d.ts.map +1 -0
- package/vendor/aql/evaluator/evaluateNode.js +82 -0
- package/vendor/aql/evaluator/evaluateNode.js.map +1 -0
- package/vendor/aql/evaluator/index.d.ts +4 -0
- package/vendor/aql/evaluator/index.d.ts.map +1 -0
- package/vendor/aql/evaluator/index.js +4 -0
- package/vendor/aql/evaluator/index.js.map +1 -0
- package/vendor/aql/functions/dateUtils.d.ts +96 -0
- package/vendor/aql/functions/dateUtils.d.ts.map +1 -0
- package/vendor/aql/functions/dateUtils.js +217 -0
- package/vendor/aql/functions/dateUtils.js.map +1 -0
- package/vendor/aql/functions/index.d.ts +6 -0
- package/vendor/aql/functions/index.d.ts.map +1 -0
- package/vendor/aql/functions/index.js +5 -0
- package/vendor/aql/functions/index.js.map +1 -0
- package/vendor/aql/functions/numberUtils.d.ts +15 -0
- package/vendor/aql/functions/numberUtils.d.ts.map +1 -0
- package/vendor/aql/functions/numberUtils.js +52 -0
- package/vendor/aql/functions/numberUtils.js.map +1 -0
- package/vendor/aql/functions/operatorFunctions.d.ts +9 -0
- package/vendor/aql/functions/operatorFunctions.d.ts.map +1 -0
- package/vendor/aql/functions/operatorFunctions.js +49 -0
- package/vendor/aql/functions/operatorFunctions.js.map +1 -0
- package/vendor/aql/functions/scalar/functions/ABS.d.ts +4 -0
- package/vendor/aql/functions/scalar/functions/ABS.d.ts.map +1 -0
- package/vendor/aql/functions/scalar/functions/ABS.js +15 -0
- package/vendor/aql/functions/scalar/functions/ABS.js.map +1 -0
- package/vendor/aql/functions/scalar/functions/ABSOLUTE_CHANGE.d.ts +4 -0
- package/vendor/aql/functions/scalar/functions/ABSOLUTE_CHANGE.d.ts.map +1 -0
- package/vendor/aql/functions/scalar/functions/ABSOLUTE_CHANGE.js +54 -0
- package/vendor/aql/functions/scalar/functions/ABSOLUTE_CHANGE.js.map +1 -0
- package/vendor/aql/functions/scalar/functions/ADD_DAYS.d.ts +4 -0
- package/vendor/aql/functions/scalar/functions/ADD_DAYS.d.ts.map +1 -0
- package/vendor/aql/functions/scalar/functions/ADD_DAYS.js +14 -0
- package/vendor/aql/functions/scalar/functions/ADD_DAYS.js.map +1 -0
- package/vendor/aql/functions/scalar/functions/ADD_MONTHS.d.ts +4 -0
- package/vendor/aql/functions/scalar/functions/ADD_MONTHS.d.ts.map +1 -0
- package/vendor/aql/functions/scalar/functions/ADD_MONTHS.js +14 -0
- package/vendor/aql/functions/scalar/functions/ADD_MONTHS.js.map +1 -0
- package/vendor/aql/functions/scalar/functions/ADD_WEEKS.d.ts +4 -0
- package/vendor/aql/functions/scalar/functions/ADD_WEEKS.d.ts.map +1 -0
- package/vendor/aql/functions/scalar/functions/ADD_WEEKS.js +14 -0
- package/vendor/aql/functions/scalar/functions/ADD_WEEKS.js.map +1 -0
- package/vendor/aql/functions/scalar/functions/ADD_YEARS.d.ts +4 -0
- package/vendor/aql/functions/scalar/functions/ADD_YEARS.d.ts.map +1 -0
- package/vendor/aql/functions/scalar/functions/ADD_YEARS.js +14 -0
- package/vendor/aql/functions/scalar/functions/ADD_YEARS.js.map +1 -0
- package/vendor/aql/functions/scalar/functions/AND.d.ts +9 -0
- package/vendor/aql/functions/scalar/functions/AND.d.ts.map +1 -0
- package/vendor/aql/functions/scalar/functions/AND.js +25 -0
- package/vendor/aql/functions/scalar/functions/AND.js.map +1 -0
- package/vendor/aql/functions/scalar/functions/ANY_CHANGE.d.ts +4 -0
- package/vendor/aql/functions/scalar/functions/ANY_CHANGE.d.ts.map +1 -0
- package/vendor/aql/functions/scalar/functions/ANY_CHANGE.js +37 -0
- package/vendor/aql/functions/scalar/functions/ANY_CHANGE.js.map +1 -0
- package/vendor/aql/functions/scalar/functions/ANY_CONTAINS.d.ts +4 -0
- package/vendor/aql/functions/scalar/functions/ANY_CONTAINS.d.ts.map +1 -0
- package/vendor/aql/functions/scalar/functions/ANY_CONTAINS.js +29 -0
- package/vendor/aql/functions/scalar/functions/ANY_CONTAINS.js.map +1 -0
- package/vendor/aql/functions/scalar/functions/AVG.d.ts +4 -0
- package/vendor/aql/functions/scalar/functions/AVG.d.ts.map +1 -0
- package/vendor/aql/functions/scalar/functions/AVG.js +19 -0
- package/vendor/aql/functions/scalar/functions/AVG.js.map +1 -0
- package/vendor/aql/functions/scalar/functions/CASE.d.ts +4 -0
- package/vendor/aql/functions/scalar/functions/CASE.d.ts.map +1 -0
- package/vendor/aql/functions/scalar/functions/CASE.js +35 -0
- package/vendor/aql/functions/scalar/functions/CASE.js.map +1 -0
- package/vendor/aql/functions/scalar/functions/CEILING.d.ts +4 -0
- package/vendor/aql/functions/scalar/functions/CEILING.d.ts.map +1 -0
- package/vendor/aql/functions/scalar/functions/CEILING.js +15 -0
- package/vendor/aql/functions/scalar/functions/CEILING.js.map +1 -0
- package/vendor/aql/functions/scalar/functions/COALESCE.d.ts +4 -0
- package/vendor/aql/functions/scalar/functions/COALESCE.d.ts.map +1 -0
- package/vendor/aql/functions/scalar/functions/COALESCE.js +12 -0
- package/vendor/aql/functions/scalar/functions/COALESCE.js.map +1 -0
- package/vendor/aql/functions/scalar/functions/COL.d.ts +4 -0
- package/vendor/aql/functions/scalar/functions/COL.d.ts.map +1 -0
- package/vendor/aql/functions/scalar/functions/COL.js +15 -0
- package/vendor/aql/functions/scalar/functions/COL.js.map +1 -0
- package/vendor/aql/functions/scalar/functions/CONCAT.d.ts +4 -0
- package/vendor/aql/functions/scalar/functions/CONCAT.d.ts.map +1 -0
- package/vendor/aql/functions/scalar/functions/CONCAT.js +14 -0
- package/vendor/aql/functions/scalar/functions/CONCAT.js.map +1 -0
- package/vendor/aql/functions/scalar/functions/CONTAINS.d.ts +4 -0
- package/vendor/aql/functions/scalar/functions/CONTAINS.d.ts.map +1 -0
- package/vendor/aql/functions/scalar/functions/CONTAINS.js +21 -0
- package/vendor/aql/functions/scalar/functions/CONTAINS.js.map +1 -0
- package/vendor/aql/functions/scalar/functions/CURRENT_DAY.d.ts +4 -0
- package/vendor/aql/functions/scalar/functions/CURRENT_DAY.d.ts.map +1 -0
- package/vendor/aql/functions/scalar/functions/CURRENT_DAY.js +16 -0
- package/vendor/aql/functions/scalar/functions/CURRENT_DAY.js.map +1 -0
- package/vendor/aql/functions/scalar/functions/DATE.d.ts +4 -0
- package/vendor/aql/functions/scalar/functions/DATE.d.ts.map +1 -0
- package/vendor/aql/functions/scalar/functions/DATE.js +56 -0
- package/vendor/aql/functions/scalar/functions/DATE.js.map +1 -0
- package/vendor/aql/functions/scalar/functions/DAY.d.ts +4 -0
- package/vendor/aql/functions/scalar/functions/DAY.d.ts.map +1 -0
- package/vendor/aql/functions/scalar/functions/DAY.js +14 -0
- package/vendor/aql/functions/scalar/functions/DAY.js.map +1 -0
- package/vendor/aql/functions/scalar/functions/DIFF_DAYS.d.ts +4 -0
- package/vendor/aql/functions/scalar/functions/DIFF_DAYS.d.ts.map +1 -0
- package/vendor/aql/functions/scalar/functions/DIFF_DAYS.js +18 -0
- package/vendor/aql/functions/scalar/functions/DIFF_DAYS.js.map +1 -0
- package/vendor/aql/functions/scalar/functions/DIFF_MONTHS.d.ts +4 -0
- package/vendor/aql/functions/scalar/functions/DIFF_MONTHS.d.ts.map +1 -0
- package/vendor/aql/functions/scalar/functions/DIFF_MONTHS.js +18 -0
- package/vendor/aql/functions/scalar/functions/DIFF_MONTHS.js.map +1 -0
- package/vendor/aql/functions/scalar/functions/DIFF_WEEKS.d.ts +4 -0
- package/vendor/aql/functions/scalar/functions/DIFF_WEEKS.d.ts.map +1 -0
- package/vendor/aql/functions/scalar/functions/DIFF_WEEKS.js +18 -0
- package/vendor/aql/functions/scalar/functions/DIFF_WEEKS.js.map +1 -0
- package/vendor/aql/functions/scalar/functions/DIFF_YEARS.d.ts +4 -0
- package/vendor/aql/functions/scalar/functions/DIFF_YEARS.d.ts.map +1 -0
- package/vendor/aql/functions/scalar/functions/DIFF_YEARS.js +18 -0
- package/vendor/aql/functions/scalar/functions/DIFF_YEARS.js.map +1 -0
- package/vendor/aql/functions/scalar/functions/DIV.d.ts +4 -0
- package/vendor/aql/functions/scalar/functions/DIV.d.ts.map +1 -0
- package/vendor/aql/functions/scalar/functions/DIV.js +23 -0
- package/vendor/aql/functions/scalar/functions/DIV.js.map +1 -0
- package/vendor/aql/functions/scalar/functions/EDATE.d.ts +4 -0
- package/vendor/aql/functions/scalar/functions/EDATE.d.ts.map +1 -0
- package/vendor/aql/functions/scalar/functions/EDATE.js +23 -0
- package/vendor/aql/functions/scalar/functions/EDATE.js.map +1 -0
- package/vendor/aql/functions/scalar/functions/ENDS_WITH.d.ts +4 -0
- package/vendor/aql/functions/scalar/functions/ENDS_WITH.d.ts.map +1 -0
- package/vendor/aql/functions/scalar/functions/ENDS_WITH.js +19 -0
- package/vendor/aql/functions/scalar/functions/ENDS_WITH.js.map +1 -0
- package/vendor/aql/functions/scalar/functions/END_OF_MONTH.d.ts +4 -0
- package/vendor/aql/functions/scalar/functions/END_OF_MONTH.d.ts.map +1 -0
- package/vendor/aql/functions/scalar/functions/END_OF_MONTH.js +14 -0
- package/vendor/aql/functions/scalar/functions/END_OF_MONTH.js.map +1 -0
- package/vendor/aql/functions/scalar/functions/EOMONTH.d.ts +4 -0
- package/vendor/aql/functions/scalar/functions/EOMONTH.d.ts.map +1 -0
- package/vendor/aql/functions/scalar/functions/EOMONTH.js +23 -0
- package/vendor/aql/functions/scalar/functions/EOMONTH.js.map +1 -0
- package/vendor/aql/functions/scalar/functions/EQ.d.ts +4 -0
- package/vendor/aql/functions/scalar/functions/EQ.d.ts.map +1 -0
- package/vendor/aql/functions/scalar/functions/EQ.js +43 -0
- package/vendor/aql/functions/scalar/functions/EQ.js.map +1 -0
- package/vendor/aql/functions/scalar/functions/FALSE.d.ts +4 -0
- package/vendor/aql/functions/scalar/functions/FALSE.d.ts.map +1 -0
- package/vendor/aql/functions/scalar/functions/FALSE.js +11 -0
- package/vendor/aql/functions/scalar/functions/FALSE.js.map +1 -0
- package/vendor/aql/functions/scalar/functions/FIELD.d.ts +2 -0
- package/vendor/aql/functions/scalar/functions/FIELD.d.ts.map +1 -0
- package/vendor/aql/functions/scalar/functions/FIELD.js +2 -0
- package/vendor/aql/functions/scalar/functions/FIELD.js.map +1 -0
- package/vendor/aql/functions/scalar/functions/FLOOR.d.ts +4 -0
- package/vendor/aql/functions/scalar/functions/FLOOR.d.ts.map +1 -0
- package/vendor/aql/functions/scalar/functions/FLOOR.js +15 -0
- package/vendor/aql/functions/scalar/functions/FLOOR.js.map +1 -0
- package/vendor/aql/functions/scalar/functions/GT.d.ts +4 -0
- package/vendor/aql/functions/scalar/functions/GT.d.ts.map +1 -0
- package/vendor/aql/functions/scalar/functions/GT.js +41 -0
- package/vendor/aql/functions/scalar/functions/GT.js.map +1 -0
- package/vendor/aql/functions/scalar/functions/GTE.d.ts +4 -0
- package/vendor/aql/functions/scalar/functions/GTE.d.ts.map +1 -0
- package/vendor/aql/functions/scalar/functions/GTE.js +41 -0
- package/vendor/aql/functions/scalar/functions/GTE.js.map +1 -0
- package/vendor/aql/functions/scalar/functions/IF.d.ts +9 -0
- package/vendor/aql/functions/scalar/functions/IF.d.ts.map +1 -0
- package/vendor/aql/functions/scalar/functions/IF.js +28 -0
- package/vendor/aql/functions/scalar/functions/IF.js.map +1 -0
- package/vendor/aql/functions/scalar/functions/IFERROR.d.ts +8 -0
- package/vendor/aql/functions/scalar/functions/IFERROR.d.ts.map +1 -0
- package/vendor/aql/functions/scalar/functions/IFERROR.js +28 -0
- package/vendor/aql/functions/scalar/functions/IFERROR.js.map +1 -0
- package/vendor/aql/functions/scalar/functions/IFNA.d.ts +9 -0
- package/vendor/aql/functions/scalar/functions/IFNA.d.ts.map +1 -0
- package/vendor/aql/functions/scalar/functions/IFNA.js +29 -0
- package/vendor/aql/functions/scalar/functions/IFNA.js.map +1 -0
- package/vendor/aql/functions/scalar/functions/IN.d.ts +4 -0
- package/vendor/aql/functions/scalar/functions/IN.d.ts.map +1 -0
- package/vendor/aql/functions/scalar/functions/IN.js +69 -0
- package/vendor/aql/functions/scalar/functions/IN.js.map +1 -0
- package/vendor/aql/functions/scalar/functions/IS_AFTER_TODAY.d.ts +4 -0
- package/vendor/aql/functions/scalar/functions/IS_AFTER_TODAY.d.ts.map +1 -0
- package/vendor/aql/functions/scalar/functions/IS_AFTER_TODAY.js +16 -0
- package/vendor/aql/functions/scalar/functions/IS_AFTER_TODAY.js.map +1 -0
- package/vendor/aql/functions/scalar/functions/IS_BEFORE_TODAY.d.ts +4 -0
- package/vendor/aql/functions/scalar/functions/IS_BEFORE_TODAY.d.ts.map +1 -0
- package/vendor/aql/functions/scalar/functions/IS_BEFORE_TODAY.js +16 -0
- package/vendor/aql/functions/scalar/functions/IS_BEFORE_TODAY.js.map +1 -0
- package/vendor/aql/functions/scalar/functions/IS_BLANK.d.ts +4 -0
- package/vendor/aql/functions/scalar/functions/IS_BLANK.d.ts.map +1 -0
- package/vendor/aql/functions/scalar/functions/IS_BLANK.js +18 -0
- package/vendor/aql/functions/scalar/functions/IS_BLANK.js.map +1 -0
- package/vendor/aql/functions/scalar/functions/IS_DIFFERENT_DAY.d.ts +4 -0
- package/vendor/aql/functions/scalar/functions/IS_DIFFERENT_DAY.d.ts.map +1 -0
- package/vendor/aql/functions/scalar/functions/IS_DIFFERENT_DAY.js +19 -0
- package/vendor/aql/functions/scalar/functions/IS_DIFFERENT_DAY.js.map +1 -0
- package/vendor/aql/functions/scalar/functions/IS_FUTURE.d.ts +4 -0
- package/vendor/aql/functions/scalar/functions/IS_FUTURE.d.ts.map +1 -0
- package/vendor/aql/functions/scalar/functions/IS_FUTURE.js +16 -0
- package/vendor/aql/functions/scalar/functions/IS_FUTURE.js.map +1 -0
- package/vendor/aql/functions/scalar/functions/IS_HOLIDAY.d.ts +4 -0
- package/vendor/aql/functions/scalar/functions/IS_HOLIDAY.d.ts.map +1 -0
- package/vendor/aql/functions/scalar/functions/IS_HOLIDAY.js +16 -0
- package/vendor/aql/functions/scalar/functions/IS_HOLIDAY.js.map +1 -0
- package/vendor/aql/functions/scalar/functions/IS_NEGATIVE.d.ts +4 -0
- package/vendor/aql/functions/scalar/functions/IS_NEGATIVE.d.ts.map +1 -0
- package/vendor/aql/functions/scalar/functions/IS_NEGATIVE.js +14 -0
- package/vendor/aql/functions/scalar/functions/IS_NEGATIVE.js.map +1 -0
- package/vendor/aql/functions/scalar/functions/IS_NEXT_WORKDAY.d.ts +4 -0
- package/vendor/aql/functions/scalar/functions/IS_NEXT_WORKDAY.d.ts.map +1 -0
- package/vendor/aql/functions/scalar/functions/IS_NEXT_WORKDAY.js +17 -0
- package/vendor/aql/functions/scalar/functions/IS_NEXT_WORKDAY.js.map +1 -0
- package/vendor/aql/functions/scalar/functions/IS_NOT_BLANK.d.ts +4 -0
- package/vendor/aql/functions/scalar/functions/IS_NOT_BLANK.d.ts.map +1 -0
- package/vendor/aql/functions/scalar/functions/IS_NOT_BLANK.js +18 -0
- package/vendor/aql/functions/scalar/functions/IS_NOT_BLANK.js.map +1 -0
- package/vendor/aql/functions/scalar/functions/IS_NUMERIC.d.ts +4 -0
- package/vendor/aql/functions/scalar/functions/IS_NUMERIC.d.ts.map +1 -0
- package/vendor/aql/functions/scalar/functions/IS_NUMERIC.js +13 -0
- package/vendor/aql/functions/scalar/functions/IS_NUMERIC.js.map +1 -0
- package/vendor/aql/functions/scalar/functions/IS_PAST.d.ts +4 -0
- package/vendor/aql/functions/scalar/functions/IS_PAST.d.ts.map +1 -0
- package/vendor/aql/functions/scalar/functions/IS_PAST.js +16 -0
- package/vendor/aql/functions/scalar/functions/IS_PAST.js.map +1 -0
- package/vendor/aql/functions/scalar/functions/IS_POSITIVE.d.ts +4 -0
- package/vendor/aql/functions/scalar/functions/IS_POSITIVE.d.ts.map +1 -0
- package/vendor/aql/functions/scalar/functions/IS_POSITIVE.js +14 -0
- package/vendor/aql/functions/scalar/functions/IS_POSITIVE.js.map +1 -0
- package/vendor/aql/functions/scalar/functions/IS_PREV_WORKDAY.d.ts +4 -0
- package/vendor/aql/functions/scalar/functions/IS_PREV_WORKDAY.d.ts.map +1 -0
- package/vendor/aql/functions/scalar/functions/IS_PREV_WORKDAY.js +17 -0
- package/vendor/aql/functions/scalar/functions/IS_PREV_WORKDAY.js.map +1 -0
- package/vendor/aql/functions/scalar/functions/IS_SAME_DAY.d.ts +4 -0
- package/vendor/aql/functions/scalar/functions/IS_SAME_DAY.d.ts.map +1 -0
- package/vendor/aql/functions/scalar/functions/IS_SAME_DAY.js +15 -0
- package/vendor/aql/functions/scalar/functions/IS_SAME_DAY.js.map +1 -0
- package/vendor/aql/functions/scalar/functions/IS_THIS_MONTH.d.ts +4 -0
- package/vendor/aql/functions/scalar/functions/IS_THIS_MONTH.d.ts.map +1 -0
- package/vendor/aql/functions/scalar/functions/IS_THIS_MONTH.js +17 -0
- package/vendor/aql/functions/scalar/functions/IS_THIS_MONTH.js.map +1 -0
- package/vendor/aql/functions/scalar/functions/IS_THIS_QUARTER.d.ts +4 -0
- package/vendor/aql/functions/scalar/functions/IS_THIS_QUARTER.d.ts.map +1 -0
- package/vendor/aql/functions/scalar/functions/IS_THIS_QUARTER.js +15 -0
- package/vendor/aql/functions/scalar/functions/IS_THIS_QUARTER.js.map +1 -0
- package/vendor/aql/functions/scalar/functions/IS_THIS_WEEK.d.ts +4 -0
- package/vendor/aql/functions/scalar/functions/IS_THIS_WEEK.d.ts.map +1 -0
- package/vendor/aql/functions/scalar/functions/IS_THIS_WEEK.js +17 -0
- package/vendor/aql/functions/scalar/functions/IS_THIS_WEEK.js.map +1 -0
- package/vendor/aql/functions/scalar/functions/IS_THIS_YEAR.d.ts +4 -0
- package/vendor/aql/functions/scalar/functions/IS_THIS_YEAR.d.ts.map +1 -0
- package/vendor/aql/functions/scalar/functions/IS_THIS_YEAR.js +17 -0
- package/vendor/aql/functions/scalar/functions/IS_THIS_YEAR.js.map +1 -0
- package/vendor/aql/functions/scalar/functions/IS_TODAY.d.ts +4 -0
- package/vendor/aql/functions/scalar/functions/IS_TODAY.d.ts.map +1 -0
- package/vendor/aql/functions/scalar/functions/IS_TODAY.js +17 -0
- package/vendor/aql/functions/scalar/functions/IS_TODAY.js.map +1 -0
- package/vendor/aql/functions/scalar/functions/IS_TOMORROW.d.ts +4 -0
- package/vendor/aql/functions/scalar/functions/IS_TOMORROW.d.ts.map +1 -0
- package/vendor/aql/functions/scalar/functions/IS_TOMORROW.js +17 -0
- package/vendor/aql/functions/scalar/functions/IS_TOMORROW.js.map +1 -0
- package/vendor/aql/functions/scalar/functions/IS_WORKDAY.d.ts +4 -0
- package/vendor/aql/functions/scalar/functions/IS_WORKDAY.d.ts.map +1 -0
- package/vendor/aql/functions/scalar/functions/IS_WORKDAY.js +16 -0
- package/vendor/aql/functions/scalar/functions/IS_WORKDAY.js.map +1 -0
- package/vendor/aql/functions/scalar/functions/IS_YESTERDAY.d.ts +4 -0
- package/vendor/aql/functions/scalar/functions/IS_YESTERDAY.d.ts.map +1 -0
- package/vendor/aql/functions/scalar/functions/IS_YESTERDAY.js +17 -0
- package/vendor/aql/functions/scalar/functions/IS_YESTERDAY.js.map +1 -0
- package/vendor/aql/functions/scalar/functions/LEFT.d.ts +4 -0
- package/vendor/aql/functions/scalar/functions/LEFT.d.ts.map +1 -0
- package/vendor/aql/functions/scalar/functions/LEFT.js +14 -0
- package/vendor/aql/functions/scalar/functions/LEFT.js.map +1 -0
- package/vendor/aql/functions/scalar/functions/LEN.d.ts +4 -0
- package/vendor/aql/functions/scalar/functions/LEN.d.ts.map +1 -0
- package/vendor/aql/functions/scalar/functions/LEN.js +13 -0
- package/vendor/aql/functions/scalar/functions/LEN.js.map +1 -0
- package/vendor/aql/functions/scalar/functions/LOWER.d.ts +4 -0
- package/vendor/aql/functions/scalar/functions/LOWER.d.ts.map +1 -0
- package/vendor/aql/functions/scalar/functions/LOWER.js +13 -0
- package/vendor/aql/functions/scalar/functions/LOWER.js.map +1 -0
- package/vendor/aql/functions/scalar/functions/LT.d.ts +4 -0
- package/vendor/aql/functions/scalar/functions/LT.d.ts.map +1 -0
- package/vendor/aql/functions/scalar/functions/LT.js +41 -0
- package/vendor/aql/functions/scalar/functions/LT.js.map +1 -0
- package/vendor/aql/functions/scalar/functions/LTE.d.ts +4 -0
- package/vendor/aql/functions/scalar/functions/LTE.d.ts.map +1 -0
- package/vendor/aql/functions/scalar/functions/LTE.js +41 -0
- package/vendor/aql/functions/scalar/functions/LTE.js.map +1 -0
- package/vendor/aql/functions/scalar/functions/MAX.d.ts +4 -0
- package/vendor/aql/functions/scalar/functions/MAX.d.ts.map +1 -0
- package/vendor/aql/functions/scalar/functions/MAX.js +14 -0
- package/vendor/aql/functions/scalar/functions/MAX.js.map +1 -0
- package/vendor/aql/functions/scalar/functions/MID.d.ts +4 -0
- package/vendor/aql/functions/scalar/functions/MID.d.ts.map +1 -0
- package/vendor/aql/functions/scalar/functions/MID.js +14 -0
- package/vendor/aql/functions/scalar/functions/MID.js.map +1 -0
- package/vendor/aql/functions/scalar/functions/MIN.d.ts +4 -0
- package/vendor/aql/functions/scalar/functions/MIN.d.ts.map +1 -0
- package/vendor/aql/functions/scalar/functions/MIN.js +14 -0
- package/vendor/aql/functions/scalar/functions/MIN.js.map +1 -0
- package/vendor/aql/functions/scalar/functions/MOD.d.ts +4 -0
- package/vendor/aql/functions/scalar/functions/MOD.d.ts.map +1 -0
- package/vendor/aql/functions/scalar/functions/MOD.js +19 -0
- package/vendor/aql/functions/scalar/functions/MOD.js.map +1 -0
- package/vendor/aql/functions/scalar/functions/MONTH.d.ts +4 -0
- package/vendor/aql/functions/scalar/functions/MONTH.d.ts.map +1 -0
- package/vendor/aql/functions/scalar/functions/MONTH.js +14 -0
- package/vendor/aql/functions/scalar/functions/MONTH.js.map +1 -0
- package/vendor/aql/functions/scalar/functions/NA.d.ts +7 -0
- package/vendor/aql/functions/scalar/functions/NA.d.ts.map +1 -0
- package/vendor/aql/functions/scalar/functions/NA.js +17 -0
- package/vendor/aql/functions/scalar/functions/NA.js.map +1 -0
- package/vendor/aql/functions/scalar/functions/NEQ.d.ts +4 -0
- package/vendor/aql/functions/scalar/functions/NEQ.d.ts.map +1 -0
- package/vendor/aql/functions/scalar/functions/NEQ.js +37 -0
- package/vendor/aql/functions/scalar/functions/NEQ.js.map +1 -0
- package/vendor/aql/functions/scalar/functions/NETWORKDAYS.d.ts +4 -0
- package/vendor/aql/functions/scalar/functions/NETWORKDAYS.d.ts.map +1 -0
- package/vendor/aql/functions/scalar/functions/NETWORKDAYS.js +22 -0
- package/vendor/aql/functions/scalar/functions/NETWORKDAYS.js.map +1 -0
- package/vendor/aql/functions/scalar/functions/NOT.d.ts +4 -0
- package/vendor/aql/functions/scalar/functions/NOT.d.ts.map +1 -0
- package/vendor/aql/functions/scalar/functions/NOT.js +13 -0
- package/vendor/aql/functions/scalar/functions/NOT.js.map +1 -0
- package/vendor/aql/functions/scalar/functions/NOT_CONTAINS.d.ts +4 -0
- package/vendor/aql/functions/scalar/functions/NOT_CONTAINS.d.ts.map +1 -0
- package/vendor/aql/functions/scalar/functions/NOT_CONTAINS.js +19 -0
- package/vendor/aql/functions/scalar/functions/NOT_CONTAINS.js.map +1 -0
- package/vendor/aql/functions/scalar/functions/NOT_IN.d.ts +4 -0
- package/vendor/aql/functions/scalar/functions/NOT_IN.d.ts.map +1 -0
- package/vendor/aql/functions/scalar/functions/NOT_IN.js +29 -0
- package/vendor/aql/functions/scalar/functions/NOT_IN.js.map +1 -0
- package/vendor/aql/functions/scalar/functions/NOW.d.ts +4 -0
- package/vendor/aql/functions/scalar/functions/NOW.d.ts.map +1 -0
- package/vendor/aql/functions/scalar/functions/NOW.js +15 -0
- package/vendor/aql/functions/scalar/functions/NOW.js.map +1 -0
- package/vendor/aql/functions/scalar/functions/NULL.d.ts +4 -0
- package/vendor/aql/functions/scalar/functions/NULL.d.ts.map +1 -0
- package/vendor/aql/functions/scalar/functions/NULL.js +13 -0
- package/vendor/aql/functions/scalar/functions/NULL.js.map +1 -0
- package/vendor/aql/functions/scalar/functions/OR.d.ts +8 -0
- package/vendor/aql/functions/scalar/functions/OR.d.ts.map +1 -0
- package/vendor/aql/functions/scalar/functions/OR.js +24 -0
- package/vendor/aql/functions/scalar/functions/OR.js.map +1 -0
- package/vendor/aql/functions/scalar/functions/PERCENT_CHANGE.d.ts +4 -0
- package/vendor/aql/functions/scalar/functions/PERCENT_CHANGE.d.ts.map +1 -0
- package/vendor/aql/functions/scalar/functions/PERCENT_CHANGE.js +54 -0
- package/vendor/aql/functions/scalar/functions/PERCENT_CHANGE.js.map +1 -0
- package/vendor/aql/functions/scalar/functions/POW.d.ts +4 -0
- package/vendor/aql/functions/scalar/functions/POW.d.ts.map +1 -0
- package/vendor/aql/functions/scalar/functions/POW.js +14 -0
- package/vendor/aql/functions/scalar/functions/POW.js.map +1 -0
- package/vendor/aql/functions/scalar/functions/PRODUCT.d.ts +8 -0
- package/vendor/aql/functions/scalar/functions/PRODUCT.d.ts.map +1 -0
- package/vendor/aql/functions/scalar/functions/PRODUCT.js +27 -0
- package/vendor/aql/functions/scalar/functions/PRODUCT.js.map +1 -0
- package/vendor/aql/functions/scalar/functions/QUARTER.d.ts +4 -0
- package/vendor/aql/functions/scalar/functions/QUARTER.d.ts.map +1 -0
- package/vendor/aql/functions/scalar/functions/QUARTER.js +14 -0
- package/vendor/aql/functions/scalar/functions/QUARTER.js.map +1 -0
- package/vendor/aql/functions/scalar/functions/QUERY.d.ts +4 -0
- package/vendor/aql/functions/scalar/functions/QUERY.d.ts.map +1 -0
- package/vendor/aql/functions/scalar/functions/QUERY.js +39 -0
- package/vendor/aql/functions/scalar/functions/QUERY.js.map +1 -0
- package/vendor/aql/functions/scalar/functions/REGEX.d.ts +4 -0
- package/vendor/aql/functions/scalar/functions/REGEX.d.ts.map +1 -0
- package/vendor/aql/functions/scalar/functions/REGEX.js +16 -0
- package/vendor/aql/functions/scalar/functions/REGEX.js.map +1 -0
- package/vendor/aql/functions/scalar/functions/REPLACE.d.ts +4 -0
- package/vendor/aql/functions/scalar/functions/REPLACE.d.ts.map +1 -0
- package/vendor/aql/functions/scalar/functions/REPLACE.js +15 -0
- package/vendor/aql/functions/scalar/functions/REPLACE.js.map +1 -0
- package/vendor/aql/functions/scalar/functions/RIGHT.d.ts +4 -0
- package/vendor/aql/functions/scalar/functions/RIGHT.d.ts.map +1 -0
- package/vendor/aql/functions/scalar/functions/RIGHT.js +14 -0
- package/vendor/aql/functions/scalar/functions/RIGHT.js.map +1 -0
- package/vendor/aql/functions/scalar/functions/ROUND.d.ts +4 -0
- package/vendor/aql/functions/scalar/functions/ROUND.d.ts.map +1 -0
- package/vendor/aql/functions/scalar/functions/ROUND.js +16 -0
- package/vendor/aql/functions/scalar/functions/ROUND.js.map +1 -0
- package/vendor/aql/functions/scalar/functions/SCOPE.d.ts +4 -0
- package/vendor/aql/functions/scalar/functions/SCOPE.d.ts.map +1 -0
- package/vendor/aql/functions/scalar/functions/SCOPE.js +23 -0
- package/vendor/aql/functions/scalar/functions/SCOPE.js.map +1 -0
- package/vendor/aql/functions/scalar/functions/SIGN.d.ts +4 -0
- package/vendor/aql/functions/scalar/functions/SIGN.d.ts.map +1 -0
- package/vendor/aql/functions/scalar/functions/SIGN.js +16 -0
- package/vendor/aql/functions/scalar/functions/SIGN.js.map +1 -0
- package/vendor/aql/functions/scalar/functions/SQRT.d.ts +4 -0
- package/vendor/aql/functions/scalar/functions/SQRT.d.ts.map +1 -0
- package/vendor/aql/functions/scalar/functions/SQRT.js +16 -0
- package/vendor/aql/functions/scalar/functions/SQRT.js.map +1 -0
- package/vendor/aql/functions/scalar/functions/STARTS_WITH.d.ts +4 -0
- package/vendor/aql/functions/scalar/functions/STARTS_WITH.d.ts.map +1 -0
- package/vendor/aql/functions/scalar/functions/STARTS_WITH.js +19 -0
- package/vendor/aql/functions/scalar/functions/STARTS_WITH.js.map +1 -0
- package/vendor/aql/functions/scalar/functions/START_OF_DAY.d.ts +4 -0
- package/vendor/aql/functions/scalar/functions/START_OF_DAY.d.ts.map +1 -0
- package/vendor/aql/functions/scalar/functions/START_OF_DAY.js +14 -0
- package/vendor/aql/functions/scalar/functions/START_OF_DAY.js.map +1 -0
- package/vendor/aql/functions/scalar/functions/START_OF_MONTH.d.ts +4 -0
- package/vendor/aql/functions/scalar/functions/START_OF_MONTH.d.ts.map +1 -0
- package/vendor/aql/functions/scalar/functions/START_OF_MONTH.js +14 -0
- package/vendor/aql/functions/scalar/functions/START_OF_MONTH.js.map +1 -0
- package/vendor/aql/functions/scalar/functions/START_OF_QUARTER.d.ts +4 -0
- package/vendor/aql/functions/scalar/functions/START_OF_QUARTER.d.ts.map +1 -0
- package/vendor/aql/functions/scalar/functions/START_OF_QUARTER.js +17 -0
- package/vendor/aql/functions/scalar/functions/START_OF_QUARTER.js.map +1 -0
- package/vendor/aql/functions/scalar/functions/START_OF_WEEK.d.ts +4 -0
- package/vendor/aql/functions/scalar/functions/START_OF_WEEK.d.ts.map +1 -0
- package/vendor/aql/functions/scalar/functions/START_OF_WEEK.js +15 -0
- package/vendor/aql/functions/scalar/functions/START_OF_WEEK.js.map +1 -0
- package/vendor/aql/functions/scalar/functions/START_OF_YEAR.d.ts +4 -0
- package/vendor/aql/functions/scalar/functions/START_OF_YEAR.d.ts.map +1 -0
- package/vendor/aql/functions/scalar/functions/START_OF_YEAR.js +14 -0
- package/vendor/aql/functions/scalar/functions/START_OF_YEAR.js.map +1 -0
- package/vendor/aql/functions/scalar/functions/SUB.d.ts +4 -0
- package/vendor/aql/functions/scalar/functions/SUB.d.ts.map +1 -0
- package/vendor/aql/functions/scalar/functions/SUB.js +19 -0
- package/vendor/aql/functions/scalar/functions/SUB.js.map +1 -0
- package/vendor/aql/functions/scalar/functions/SUB_STRING.d.ts +4 -0
- package/vendor/aql/functions/scalar/functions/SUB_STRING.d.ts.map +1 -0
- package/vendor/aql/functions/scalar/functions/SUB_STRING.js +13 -0
- package/vendor/aql/functions/scalar/functions/SUB_STRING.js.map +1 -0
- package/vendor/aql/functions/scalar/functions/SUM.d.ts +8 -0
- package/vendor/aql/functions/scalar/functions/SUM.d.ts.map +1 -0
- package/vendor/aql/functions/scalar/functions/SUM.js +23 -0
- package/vendor/aql/functions/scalar/functions/SUM.js.map +1 -0
- package/vendor/aql/functions/scalar/functions/TEXTJOIN.d.ts +4 -0
- package/vendor/aql/functions/scalar/functions/TEXTJOIN.d.ts.map +1 -0
- package/vendor/aql/functions/scalar/functions/TEXTJOIN.js +18 -0
- package/vendor/aql/functions/scalar/functions/TEXTJOIN.js.map +1 -0
- package/vendor/aql/functions/scalar/functions/TO_ARRAY.d.ts +4 -0
- package/vendor/aql/functions/scalar/functions/TO_ARRAY.d.ts.map +1 -0
- package/vendor/aql/functions/scalar/functions/TO_ARRAY.js +20 -0
- package/vendor/aql/functions/scalar/functions/TO_ARRAY.js.map +1 -0
- package/vendor/aql/functions/scalar/functions/TRIM.d.ts +4 -0
- package/vendor/aql/functions/scalar/functions/TRIM.d.ts.map +1 -0
- package/vendor/aql/functions/scalar/functions/TRIM.js +14 -0
- package/vendor/aql/functions/scalar/functions/TRIM.js.map +1 -0
- package/vendor/aql/functions/scalar/functions/TRUE.d.ts +4 -0
- package/vendor/aql/functions/scalar/functions/TRUE.d.ts.map +1 -0
- package/vendor/aql/functions/scalar/functions/TRUE.js +11 -0
- package/vendor/aql/functions/scalar/functions/TRUE.js.map +1 -0
- package/vendor/aql/functions/scalar/functions/UPPER.d.ts +4 -0
- package/vendor/aql/functions/scalar/functions/UPPER.d.ts.map +1 -0
- package/vendor/aql/functions/scalar/functions/UPPER.js +13 -0
- package/vendor/aql/functions/scalar/functions/UPPER.js.map +1 -0
- package/vendor/aql/functions/scalar/functions/VAR.d.ts +2 -0
- package/vendor/aql/functions/scalar/functions/VAR.d.ts.map +1 -0
- package/vendor/aql/functions/scalar/functions/VAR.js +2 -0
- package/vendor/aql/functions/scalar/functions/VAR.js.map +1 -0
- package/vendor/aql/functions/scalar/functions/WEEK.d.ts +4 -0
- package/vendor/aql/functions/scalar/functions/WEEK.d.ts.map +1 -0
- package/vendor/aql/functions/scalar/functions/WEEK.js +15 -0
- package/vendor/aql/functions/scalar/functions/WEEK.js.map +1 -0
- package/vendor/aql/functions/scalar/functions/WEEKDAY.d.ts +4 -0
- package/vendor/aql/functions/scalar/functions/WEEKDAY.d.ts.map +1 -0
- package/vendor/aql/functions/scalar/functions/WEEKDAY.js +14 -0
- package/vendor/aql/functions/scalar/functions/WEEKDAY.js.map +1 -0
- package/vendor/aql/functions/scalar/functions/WORKDAY.d.ts +4 -0
- package/vendor/aql/functions/scalar/functions/WORKDAY.d.ts.map +1 -0
- package/vendor/aql/functions/scalar/functions/WORKDAY.js +25 -0
- package/vendor/aql/functions/scalar/functions/WORKDAY.js.map +1 -0
- package/vendor/aql/functions/scalar/functions/YEAR.d.ts +4 -0
- package/vendor/aql/functions/scalar/functions/YEAR.d.ts.map +1 -0
- package/vendor/aql/functions/scalar/functions/YEAR.js +14 -0
- package/vendor/aql/functions/scalar/functions/YEAR.js.map +1 -0
- package/vendor/aql/functions/scalar/helpers.d.ts +14 -0
- package/vendor/aql/functions/scalar/helpers.d.ts.map +1 -0
- package/vendor/aql/functions/scalar/helpers.js +46 -0
- package/vendor/aql/functions/scalar/helpers.js.map +1 -0
- package/vendor/aql/functions/scalar/index.d.ts +14 -0
- package/vendor/aql/functions/scalar/index.d.ts.map +1 -0
- package/vendor/aql/functions/scalar/index.js +224 -0
- package/vendor/aql/functions/scalar/index.js.map +1 -0
- package/vendor/aql/functions/shared/FIELD.d.ts +7 -0
- package/vendor/aql/functions/shared/FIELD.d.ts.map +1 -0
- package/vendor/aql/functions/shared/FIELD.js +26 -0
- package/vendor/aql/functions/shared/FIELD.js.map +1 -0
- package/vendor/aql/functions/shared/VAR.d.ts +8 -0
- package/vendor/aql/functions/shared/VAR.d.ts.map +1 -0
- package/vendor/aql/functions/shared/VAR.js +29 -0
- package/vendor/aql/functions/shared/VAR.js.map +1 -0
- package/vendor/aql/functions/shared/index.d.ts +12 -0
- package/vendor/aql/functions/shared/index.d.ts.map +1 -0
- package/vendor/aql/functions/shared/index.js +12 -0
- package/vendor/aql/functions/shared/index.js.map +1 -0
- package/vendor/aql/functions/stringUtils.d.ts +33 -0
- package/vendor/aql/functions/stringUtils.d.ts.map +1 -0
- package/vendor/aql/functions/stringUtils.js +88 -0
- package/vendor/aql/functions/stringUtils.js.map +1 -0
- package/vendor/aql/functions/utils.d.ts +59 -0
- package/vendor/aql/functions/utils.d.ts.map +1 -0
- package/vendor/aql/functions/utils.js +144 -0
- package/vendor/aql/functions/utils.js.map +1 -0
- package/vendor/aql/host/access.d.ts +23 -0
- package/vendor/aql/host/access.d.ts.map +1 -0
- package/vendor/aql/host/access.js +19 -0
- package/vendor/aql/host/access.js.map +1 -0
- package/vendor/aql/host/createHostExpressionContext.d.ts +101 -0
- package/vendor/aql/host/createHostExpressionContext.d.ts.map +1 -0
- package/vendor/aql/host/createHostExpressionContext.js +103 -0
- package/vendor/aql/host/createHostExpressionContext.js.map +1 -0
- package/vendor/aql/host/createObjectDataHost.d.ts +39 -0
- package/vendor/aql/host/createObjectDataHost.d.ts.map +1 -0
- package/vendor/aql/host/createObjectDataHost.js +96 -0
- package/vendor/aql/host/createObjectDataHost.js.map +1 -0
- package/vendor/aql/host/index.d.ts +5 -0
- package/vendor/aql/host/index.d.ts.map +1 -0
- package/vendor/aql/host/index.js +5 -0
- package/vendor/aql/host/index.js.map +1 -0
- package/vendor/aql/host/types.d.ts +219 -0
- package/vendor/aql/host/types.d.ts.map +1 -0
- package/vendor/aql/host/types.js +2 -0
- package/vendor/aql/host/types.js.map +1 -0
- package/vendor/aql/index.d.ts +19 -0
- package/vendor/aql/index.d.ts.map +1 -0
- package/vendor/aql/index.js +20 -0
- package/vendor/aql/index.js.map +1 -0
- package/vendor/aql/normalize/canonicalize.d.ts +10 -0
- package/vendor/aql/normalize/canonicalize.d.ts.map +1 -0
- package/vendor/aql/normalize/canonicalize.js +23 -0
- package/vendor/aql/normalize/canonicalize.js.map +1 -0
- package/vendor/aql/normalize/index.d.ts +6 -0
- package/vendor/aql/normalize/index.d.ts.map +1 -0
- package/vendor/aql/normalize/index.js +6 -0
- package/vendor/aql/normalize/index.js.map +1 -0
- package/vendor/aql/normalize/migrateExpression.d.ts +24 -0
- package/vendor/aql/normalize/migrateExpression.d.ts.map +1 -0
- package/vendor/aql/normalize/migrateExpression.js +37 -0
- package/vendor/aql/normalize/migrateExpression.js.map +1 -0
- package/vendor/aql/normalize/names.d.ts +82 -0
- package/vendor/aql/normalize/names.d.ts.map +1 -0
- package/vendor/aql/normalize/names.js +163 -0
- package/vendor/aql/normalize/names.js.map +1 -0
- package/vendor/aql/normalize/normalizeAst.d.ts +119 -0
- package/vendor/aql/normalize/normalizeAst.d.ts.map +1 -0
- package/vendor/aql/normalize/normalizeAst.js +551 -0
- package/vendor/aql/normalize/normalizeAst.js.map +1 -0
- package/vendor/aql/normalize/print.d.ts +6 -0
- package/vendor/aql/normalize/print.d.ts.map +1 -0
- package/vendor/aql/normalize/print.js +253 -0
- package/vendor/aql/normalize/print.js.map +1 -0
- package/vendor/aql/operator/index.d.ts +4 -0
- package/vendor/aql/operator/index.d.ts.map +1 -0
- package/vendor/aql/operator/index.js +4 -0
- package/vendor/aql/operator/index.js.map +1 -0
- package/vendor/aql/operator/primitiveSlots.d.ts +11 -0
- package/vendor/aql/operator/primitiveSlots.d.ts.map +1 -0
- package/vendor/aql/operator/primitiveSlots.js +38 -0
- package/vendor/aql/operator/primitiveSlots.js.map +1 -0
- package/vendor/aql/operator/resolve.d.ts +45 -0
- package/vendor/aql/operator/resolve.d.ts.map +1 -0
- package/vendor/aql/operator/resolve.js +164 -0
- package/vendor/aql/operator/resolve.js.map +1 -0
- package/vendor/aql/operator/types.d.ts +33 -0
- package/vendor/aql/operator/types.d.ts.map +1 -0
- package/vendor/aql/operator/types.js +2 -0
- package/vendor/aql/operator/types.js.map +1 -0
- package/vendor/aql/package.json +3 -0
- package/vendor/aql/parser/parser.d.ts +3 -0
- package/vendor/aql/parser/parser.d.ts.map +1 -0
- package/vendor/aql/parser/parser.js +934 -0
- package/vendor/aql/parser/parser.js.map +1 -0
- package/vendor/aql/plan/catalogue.d.ts +98 -0
- package/vendor/aql/plan/catalogue.d.ts.map +1 -0
- package/vendor/aql/plan/catalogue.js +273 -0
- package/vendor/aql/plan/catalogue.js.map +1 -0
- package/vendor/aql/plan/compile.d.ts +43 -0
- package/vendor/aql/plan/compile.d.ts.map +1 -0
- package/vendor/aql/plan/compile.js +582 -0
- package/vendor/aql/plan/compile.js.map +1 -0
- package/vendor/aql/plan/deepMap.d.ts +37 -0
- package/vendor/aql/plan/deepMap.d.ts.map +1 -0
- package/vendor/aql/plan/deepMap.js +279 -0
- package/vendor/aql/plan/deepMap.js.map +1 -0
- package/vendor/aql/plan/execute.d.ts +79 -0
- package/vendor/aql/plan/execute.d.ts.map +1 -0
- package/vendor/aql/plan/execute.js +829 -0
- package/vendor/aql/plan/execute.js.map +1 -0
- package/vendor/aql/plan/index.d.ts +10 -0
- package/vendor/aql/plan/index.d.ts.map +1 -0
- package/vendor/aql/plan/index.js +10 -0
- package/vendor/aql/plan/index.js.map +1 -0
- package/vendor/aql/plan/magnitudeLiteral.d.ts +28 -0
- package/vendor/aql/plan/magnitudeLiteral.d.ts.map +1 -0
- package/vendor/aql/plan/magnitudeLiteral.js +109 -0
- package/vendor/aql/plan/magnitudeLiteral.js.map +1 -0
- package/vendor/aql/plan/observable.d.ts +33 -0
- package/vendor/aql/plan/observable.d.ts.map +1 -0
- package/vendor/aql/plan/observable.js +255 -0
- package/vendor/aql/plan/observable.js.map +1 -0
- package/vendor/aql/plan/observableFixture.d.ts +50 -0
- package/vendor/aql/plan/observableFixture.d.ts.map +1 -0
- package/vendor/aql/plan/observableFixture.js +90 -0
- package/vendor/aql/plan/observableFixture.js.map +1 -0
- package/vendor/aql/plan/operators.d.ts +186 -0
- package/vendor/aql/plan/operators.d.ts.map +1 -0
- package/vendor/aql/plan/operators.js +771 -0
- package/vendor/aql/plan/operators.js.map +1 -0
- package/vendor/aql/plan/outer.d.ts +32 -0
- package/vendor/aql/plan/outer.d.ts.map +1 -0
- package/vendor/aql/plan/outer.js +81 -0
- package/vendor/aql/plan/outer.js.map +1 -0
- package/vendor/aql/plan/trace.d.ts +39 -0
- package/vendor/aql/plan/trace.d.ts.map +1 -0
- package/vendor/aql/plan/trace.js +85 -0
- package/vendor/aql/plan/trace.js.map +1 -0
- package/vendor/aql/plan/types.d.ts +241 -0
- package/vendor/aql/plan/types.d.ts.map +1 -0
- package/vendor/aql/plan/types.js +2 -0
- package/vendor/aql/plan/types.js.map +1 -0
- package/vendor/aql/predicate/index.d.ts +4 -0
- package/vendor/aql/predicate/index.d.ts.map +1 -0
- package/vendor/aql/predicate/index.js +4 -0
- package/vendor/aql/predicate/index.js.map +1 -0
- package/vendor/aql/predicate/mapExpressionToQlPredicate.d.ts +41 -0
- package/vendor/aql/predicate/mapExpressionToQlPredicate.d.ts.map +1 -0
- package/vendor/aql/predicate/mapExpressionToQlPredicate.js +324 -0
- package/vendor/aql/predicate/mapExpressionToQlPredicate.js.map +1 -0
- package/vendor/aql/predicate/mapQlPredicateToExpression.d.ts +13 -0
- package/vendor/aql/predicate/mapQlPredicateToExpression.d.ts.map +1 -0
- package/vendor/aql/predicate/mapQlPredicateToExpression.js +142 -0
- package/vendor/aql/predicate/mapQlPredicateToExpression.js.map +1 -0
- package/vendor/aql/predicate/types.d.ts +101 -0
- package/vendor/aql/predicate/types.d.ts.map +1 -0
- package/vendor/aql/predicate/types.js +13 -0
- package/vendor/aql/predicate/types.js.map +1 -0
- package/vendor/aql/store/computedValueStore.d.ts +139 -0
- package/vendor/aql/store/computedValueStore.d.ts.map +1 -0
- package/vendor/aql/store/computedValueStore.js +399 -0
- package/vendor/aql/store/computedValueStore.js.map +1 -0
- package/vendor/aql/store/history/clock.d.ts +25 -0
- package/vendor/aql/store/history/clock.d.ts.map +1 -0
- package/vendor/aql/store/history/clock.js +65 -0
- package/vendor/aql/store/history/clock.js.map +1 -0
- package/vendor/aql/store/history/historyStore.d.ts +11 -0
- package/vendor/aql/store/history/historyStore.d.ts.map +1 -0
- package/vendor/aql/store/history/historyStore.js +386 -0
- package/vendor/aql/store/history/historyStore.js.map +1 -0
- package/vendor/aql/store/history/index.d.ts +8 -0
- package/vendor/aql/store/history/index.d.ts.map +1 -0
- package/vendor/aql/store/history/index.js +8 -0
- package/vendor/aql/store/history/index.js.map +1 -0
- package/vendor/aql/store/history/monotonicDeque.d.ts +24 -0
- package/vendor/aql/store/history/monotonicDeque.d.ts.map +1 -0
- package/vendor/aql/store/history/monotonicDeque.js +55 -0
- package/vendor/aql/store/history/monotonicDeque.js.map +1 -0
- package/vendor/aql/store/history/operators.d.ts +33 -0
- package/vendor/aql/store/history/operators.d.ts.map +1 -0
- package/vendor/aql/store/history/operators.js +164 -0
- package/vendor/aql/store/history/operators.js.map +1 -0
- package/vendor/aql/store/history/ringBuffer.d.ts +35 -0
- package/vendor/aql/store/history/ringBuffer.d.ts.map +1 -0
- package/vendor/aql/store/history/ringBuffer.js +113 -0
- package/vendor/aql/store/history/ringBuffer.js.map +1 -0
- package/vendor/aql/store/history/rowSeries.d.ts +52 -0
- package/vendor/aql/store/history/rowSeries.d.ts.map +1 -0
- package/vendor/aql/store/history/rowSeries.js +177 -0
- package/vendor/aql/store/history/rowSeries.js.map +1 -0
- package/vendor/aql/store/history/types.d.ts +169 -0
- package/vendor/aql/store/history/types.d.ts.map +1 -0
- package/vendor/aql/store/history/types.js +39 -0
- package/vendor/aql/store/history/types.js.map +1 -0
- package/vendor/aql/store/index.d.ts +3 -0
- package/vendor/aql/store/index.d.ts.map +1 -0
- package/vendor/aql/store/index.js +3 -0
- package/vendor/aql/store/index.js.map +1 -0
- package/vendor/aql/tokenizer/index.d.ts +2 -0
- package/vendor/aql/tokenizer/index.d.ts.map +1 -0
- package/vendor/aql/tokenizer/index.js +2 -0
- package/vendor/aql/tokenizer/index.js.map +1 -0
- package/vendor/aql/tokenizer/tokenizer.d.ts +3 -0
- package/vendor/aql/tokenizer/tokenizer.d.ts.map +1 -0
- package/vendor/aql/tokenizer/tokenizer.js +29 -0
- package/vendor/aql/tokenizer/tokenizer.js.map +1 -0
- package/vendor/aql/types.d.ts +329 -0
- package/vendor/aql/types.d.ts.map +1 -0
- package/vendor/aql/types.js +57 -0
- package/vendor/aql/types.js.map +1 -0
- package/vendor/aql/utils/astUtils.d.ts +5 -0
- package/vendor/aql/utils/astUtils.d.ts.map +1 -0
- package/vendor/aql/utils/astUtils.js +33 -0
- package/vendor/aql/utils/astUtils.js.map +1 -0
- package/vendor/aql/utils/dependencyCycle.d.ts +7 -0
- package/vendor/aql/utils/dependencyCycle.d.ts.map +1 -0
- package/vendor/aql/utils/dependencyCycle.js +24 -0
- package/vendor/aql/utils/dependencyCycle.js.map +1 -0
- package/vendor/aql/utils/index.d.ts +3 -0
- package/vendor/aql/utils/index.d.ts.map +1 -0
- package/vendor/aql/utils/index.js +3 -0
- package/vendor/aql/utils/index.js.map +1 -0
- package/vendor/aql/validation/classifyExpression.d.ts +55 -0
- package/vendor/aql/validation/classifyExpression.d.ts.map +1 -0
- package/vendor/aql/validation/classifyExpression.js +61 -0
- package/vendor/aql/validation/classifyExpression.js.map +1 -0
- package/vendor/aql/validation/functionMetadata.d.ts +159 -0
- package/vendor/aql/validation/functionMetadata.d.ts.map +1 -0
- package/vendor/aql/validation/functionMetadata.js +500 -0
- package/vendor/aql/validation/functionMetadata.js.map +1 -0
- package/vendor/aql/validation/index.d.ts +5 -0
- package/vendor/aql/validation/index.d.ts.map +1 -0
- package/vendor/aql/validation/index.js +5 -0
- package/vendor/aql/validation/index.js.map +1 -0
- package/vendor/aql/validation/validateAqlExpression.d.ts +81 -0
- package/vendor/aql/validation/validateAqlExpression.d.ts.map +1 -0
- package/vendor/aql/validation/validateAqlExpression.js +746 -0
- package/vendor/aql/validation/validateAqlExpression.js.map +1 -0
- package/vendor/aql/validation/validateExpressionTypes.d.ts +74 -0
- package/vendor/aql/validation/validateExpressionTypes.d.ts.map +1 -0
- package/vendor/aql/validation/validateExpressionTypes.js +584 -0
- package/vendor/aql/validation/validateExpressionTypes.js.map +1 -0
- package/vendor/components/Button/index.d.ts +20 -0
- package/vendor/components/Button/index.d.ts.map +1 -0
- package/vendor/components/Button/index.js +19 -0
- package/vendor/components/Button/index.js.map +1 -0
- package/vendor/components/CheckBox/base.css +109 -0
- package/vendor/components/CheckBox/index.d.ts +72 -0
- package/vendor/components/CheckBox/index.d.ts.map +1 -0
- package/vendor/components/CheckBox/index.js +75 -0
- package/vendor/components/CheckBox/index.js.map +1 -0
- package/vendor/components/CheckBox/style.css +33 -0
- package/vendor/components/Combobox/VirtualizedList.d.ts +15 -0
- package/vendor/components/Combobox/VirtualizedList.d.ts.map +1 -0
- package/vendor/components/Combobox/VirtualizedList.js +76 -0
- package/vendor/components/Combobox/VirtualizedList.js.map +1 -0
- package/vendor/components/Combobox/comboboxUtils.d.ts +136 -0
- package/vendor/components/Combobox/comboboxUtils.d.ts.map +1 -0
- package/vendor/components/Combobox/comboboxUtils.js +28 -0
- package/vendor/components/Combobox/comboboxUtils.js.map +1 -0
- package/vendor/components/Combobox/index.d.ts +51 -0
- package/vendor/components/Combobox/index.d.ts.map +1 -0
- package/vendor/components/Combobox/index.js +764 -0
- package/vendor/components/Combobox/index.js.map +1 -0
- package/vendor/components/Combobox/useScrollNearEnd.d.ts +14 -0
- package/vendor/components/Combobox/useScrollNearEnd.d.ts.map +1 -0
- package/vendor/components/Combobox/useScrollNearEnd.js +66 -0
- package/vendor/components/Combobox/useScrollNearEnd.js.map +1 -0
- package/vendor/components/DropdownButton/index.d.ts +39 -0
- package/vendor/components/DropdownButton/index.d.ts.map +1 -0
- package/vendor/components/DropdownButton/index.js +41 -0
- package/vendor/components/DropdownButton/index.js.map +1 -0
- package/vendor/components/Radio/base.css +39 -0
- package/vendor/components/Radio/index.d.ts +49 -0
- package/vendor/components/Radio/index.d.ts.map +1 -0
- package/vendor/components/Radio/index.js +69 -0
- package/vendor/components/Radio/index.js.map +1 -0
- package/vendor/components/Radio/style.css +3 -0
- package/vendor/components/Resizable/index.d.ts +99 -0
- package/vendor/components/Resizable/index.d.ts.map +1 -0
- package/vendor/components/Resizable/index.js +241 -0
- package/vendor/components/Resizable/index.js.map +1 -0
- package/vendor/components/Resizable/resizableUtils.d.ts +74 -0
- package/vendor/components/Resizable/resizableUtils.d.ts.map +1 -0
- package/vendor/components/Resizable/resizableUtils.js +70 -0
- package/vendor/components/Resizable/resizableUtils.js.map +1 -0
- package/vendor/components/SearchInput/index.d.ts +51 -0
- package/vendor/components/SearchInput/index.d.ts.map +1 -0
- package/vendor/components/SearchInput/index.js +32 -0
- package/vendor/components/SearchInput/index.js.map +1 -0
- package/vendor/components/Select/index.d.ts +78 -0
- package/vendor/components/Select/index.d.ts.map +1 -0
- package/vendor/components/Select/index.js +108 -0
- package/vendor/components/Select/index.js.map +1 -0
- package/vendor/components/Tooltip/index.d.ts +14 -0
- package/vendor/components/Tooltip/index.d.ts.map +1 -0
- package/vendor/components/Tooltip/index.js +10 -0
- package/vendor/components/Tooltip/index.js.map +1 -0
- package/vendor/components/Tree/TreeDropdown/index.d.ts +66 -0
- package/vendor/components/Tree/TreeDropdown/index.d.ts.map +1 -0
- package/vendor/components/Tree/TreeDropdown/index.js +555 -0
- package/vendor/components/Tree/TreeDropdown/index.js.map +1 -0
- package/vendor/components/Tree/treeUtils.d.ts +11 -0
- package/vendor/components/Tree/treeUtils.d.ts.map +1 -0
- package/vendor/components/Tree/treeUtils.js +26 -0
- package/vendor/components/Tree/treeUtils.js.map +1 -0
- package/vendor/components/TypeExtensions.d.ts +84 -0
- package/vendor/components/TypeExtensions.d.ts.map +1 -0
- package/vendor/components/TypeExtensions.js +4 -0
- package/vendor/components/TypeExtensions.js.map +1 -0
- package/vendor/components/index.css +2993 -0
- package/vendor/components/index.d.ts +43 -0
- package/vendor/components/index.d.ts.map +1 -0
- package/vendor/components/index.js +37 -0
- package/vendor/components/index.js.map +1 -0
- package/vendor/components/lib/useProperty.d.ts +23 -0
- package/vendor/components/lib/useProperty.d.ts.map +1 -0
- package/vendor/components/lib/useProperty.js +48 -0
- package/vendor/components/lib/useProperty.js.map +1 -0
- package/vendor/components/lib/utils.d.ts +3 -0
- package/vendor/components/lib/utils.d.ts.map +1 -0
- package/vendor/components/lib/utils.js +3 -0
- package/vendor/components/lib/utils.js.map +1 -0
- package/vendor/components/overlayHost.d.ts +16 -0
- package/vendor/components/overlayHost.d.ts.map +1 -0
- package/vendor/components/overlayHost.js +18 -0
- package/vendor/components/overlayHost.js.map +1 -0
- package/vendor/components/twMerge.d.ts +3 -0
- package/vendor/components/twMerge.d.ts.map +1 -0
- package/vendor/components/twMerge.js +16 -0
- package/vendor/components/twMerge.js.map +1 -0
- package/vendor/components/twUtils.d.ts +11 -0
- package/vendor/components/twUtils.d.ts.map +1 -0
- package/vendor/components/twUtils.js +20 -0
- package/vendor/components/twUtils.js.map +1 -0
- package/vendor/components/ui/alert-dialog.d.ts +24 -0
- package/vendor/components/ui/alert-dialog.d.ts.map +1 -0
- package/vendor/components/ui/alert-dialog.js +50 -0
- package/vendor/components/ui/alert-dialog.js.map +1 -0
- package/vendor/components/ui/button.d.ts +12 -0
- package/vendor/components/ui/button.d.ts.map +1 -0
- package/vendor/components/ui/button.js +37 -0
- package/vendor/components/ui/button.js.map +1 -0
- package/vendor/components/ui/calendar.d.ts +8 -0
- package/vendor/components/ui/calendar.d.ts.map +1 -0
- package/vendor/components/ui/calendar.js +105 -0
- package/vendor/components/ui/calendar.js.map +1 -0
- package/vendor/components/ui/collapsible.d.ts +6 -0
- package/vendor/components/ui/collapsible.d.ts.map +1 -0
- package/vendor/components/ui/collapsible.js +14 -0
- package/vendor/components/ui/collapsible.js.map +1 -0
- package/vendor/components/ui/combobox.d.ts +55 -0
- package/vendor/components/ui/combobox.d.ts.map +1 -0
- package/vendor/components/ui/combobox.js +174 -0
- package/vendor/components/ui/combobox.js.map +1 -0
- package/vendor/components/ui/dialog.d.ts +23 -0
- package/vendor/components/ui/dialog.d.ts.map +1 -0
- package/vendor/components/ui/dialog.js +44 -0
- package/vendor/components/ui/dialog.js.map +1 -0
- package/vendor/components/ui/dropdown-menu.d.ts +33 -0
- package/vendor/components/ui/dropdown-menu.d.ts.map +1 -0
- package/vendor/components/ui/dropdown-menu.js +55 -0
- package/vendor/components/ui/dropdown-menu.js.map +1 -0
- package/vendor/components/ui/input-group.d.ts +20 -0
- package/vendor/components/ui/input-group.d.ts.map +1 -0
- package/vendor/components/ui/input-group.js +67 -0
- package/vendor/components/ui/input-group.js.map +1 -0
- package/vendor/components/ui/input.d.ts +4 -0
- package/vendor/components/ui/input.d.ts.map +1 -0
- package/vendor/components/ui/input.js +9 -0
- package/vendor/components/ui/input.js.map +1 -0
- package/vendor/components/ui/popover.d.ts +14 -0
- package/vendor/components/ui/popover.d.ts.map +1 -0
- package/vendor/components/ui/popover.js +29 -0
- package/vendor/components/ui/popover.js.map +1 -0
- package/vendor/components/ui/radio-group.d.ts +6 -0
- package/vendor/components/ui/radio-group.d.ts.map +1 -0
- package/vendor/components/ui/radio-group.js +12 -0
- package/vendor/components/ui/radio-group.js.map +1 -0
- package/vendor/components/ui/select.d.ts +28 -0
- package/vendor/components/ui/select.d.ts.map +1 -0
- package/vendor/components/ui/select.js +41 -0
- package/vendor/components/ui/select.js.map +1 -0
- package/vendor/components/ui/sidebar.d.ts +20 -0
- package/vendor/components/ui/sidebar.d.ts.map +1 -0
- package/vendor/components/ui/sidebar.js +13 -0
- package/vendor/components/ui/sidebar.js.map +1 -0
- package/vendor/components/ui/tabs.d.ts +11 -0
- package/vendor/components/ui/tabs.d.ts.map +1 -0
- package/vendor/components/ui/tabs.js +33 -0
- package/vendor/components/ui/tabs.js.map +1 -0
- package/vendor/components/ui/textarea.d.ts +4 -0
- package/vendor/components/ui/textarea.d.ts.map +1 -0
- package/vendor/components/ui/textarea.js +8 -0
- package/vendor/components/ui/textarea.js.map +1 -0
- package/vendor/components/ui/toast.d.ts +13 -0
- package/vendor/components/ui/toast.d.ts.map +1 -0
- package/vendor/components/ui/toast.js +31 -0
- package/vendor/components/ui/toast.js.map +1 -0
- package/vendor/components/ui/toggle.d.ts +9 -0
- package/vendor/components/ui/toggle.d.ts.map +1 -0
- package/vendor/components/ui/toggle.js +27 -0
- package/vendor/components/ui/toggle.js.map +1 -0
- package/vendor/components/ui/tooltip.d.ts +8 -0
- package/vendor/components/ui/tooltip.d.ts.map +1 -0
- package/vendor/components/ui/tooltip.js +18 -0
- package/vendor/components/ui/tooltip.js.map +1 -0
- package/src/AdaptableOptions/PredicateOptions.d.ts +0 -74
- package/src/AdaptableState/Common/AdaptablePredicate.d.ts +0 -158
- package/src/AdaptableState/Common/AdaptablePredicate.js +0 -686
- package/src/AdaptableState/Common/AdaptableRowContext.d.ts +0 -11
- package/src/Api/Implementation/LayoutHelpers.d.ts +0 -29
- package/src/Api/Implementation/LayoutHelpers.js +0 -555
- package/src/Api/Implementation/PredicateApiImpl.d.ts +0 -29
- package/src/Api/Implementation/PredicateApiImpl.js +0 -185
- package/src/Api/Internal/PredicateInternalApi.d.ts +0 -46
- package/src/Api/Internal/PredicateInternalApi.js +0 -129
- package/src/Api/PredicateApi.d.ts +0 -99
- package/src/Redux/Store/buildAdaptableStateFunctionConfig.d.ts +0 -3
- package/src/Redux/Store/buildAdaptableStateFunctionConfig.js +0 -9
- package/src/Strategy/Utilities/Alert/getAlertBehaviourViewItems.d.ts +0 -3
- package/src/Strategy/Utilities/Alert/getAlertPreviewViewItems.d.ts +0 -4
- package/src/Strategy/Utilities/CustomSort/getCustomSortColumnViewItems.d.ts +0 -6
- package/src/Strategy/Utilities/CustomSort/getCustomSortColumnViewItems.js +0 -7
- package/src/Strategy/Utilities/Export/formatScheduledReportSummary.js +0 -6
- package/src/Strategy/Utilities/Export/getExportColumnsViewItems.d.ts +0 -5
- package/src/Strategy/Utilities/Export/getExportColumnsViewItems.js +0 -20
- package/src/Strategy/Utilities/Export/getExportRowsViewItems.js +0 -19
- package/src/Strategy/Utilities/FlashingCell/getFlashingCellStyleViewItems.d.ts +0 -2
- package/src/Strategy/Utilities/FlashingCell/getFlashingTargetViewItems.d.ts +0 -5
- package/src/Strategy/Utilities/Layout/columnsSummaryHelpers.d.ts +0 -48
- package/src/Strategy/Utilities/Layout/columnsSummaryHelpers.js +0 -161
- package/src/Strategy/Utilities/Layout/getLayoutFilterViewItems.d.ts +0 -7
- package/src/Strategy/Utilities/Layout/getLayoutFilterViewItems.js +0 -19
- package/src/Strategy/Utilities/Layout/getLayoutSortViewItems.d.ts +0 -6
- package/src/Strategy/Utilities/Layout/getLayoutSortViewItems.js +0 -10
- package/src/Utilities/ExpressionFunctions/aggregatedBooleanExpressionFunctions.d.ts +0 -20
- package/src/Utilities/ExpressionFunctions/aggregatedBooleanExpressionFunctions.js +0 -182
- package/src/Utilities/ExpressionFunctions/aggregatedScalarExpressionFunctions.d.ts +0 -48
- package/src/Utilities/ExpressionFunctions/aggregatedScalarExpressionFunctions.js +0 -1404
- package/src/Utilities/ExpressionFunctions/booleanExpressionFunctions.d.ts +0 -8
- package/src/Utilities/ExpressionFunctions/booleanExpressionFunctions.js +0 -394
- package/src/Utilities/ExpressionFunctions/dateUtils.d.ts +0 -3
- package/src/Utilities/ExpressionFunctions/dateUtils.js +0 -35
- package/src/Utilities/ExpressionFunctions/deepMap.d.ts +0 -36
- package/src/Utilities/ExpressionFunctions/deepMap.js +0 -262
- package/src/Utilities/ExpressionFunctions/expressionFunctionUtils.d.ts +0 -31
- package/src/Utilities/ExpressionFunctions/expressionFunctionUtils.js +0 -119
- package/src/Utilities/ExpressionFunctions/observableExpressionFunctions.d.ts +0 -7
- package/src/Utilities/ExpressionFunctions/observableExpressionFunctions.js +0 -448
- package/src/Utilities/ExpressionFunctions/scalarAggregationHelper.d.ts +0 -32
- package/src/Utilities/ExpressionFunctions/scalarAggregationHelper.js +0 -92
- package/src/Utilities/ExpressionFunctions/scalarExpressionFunctions.d.ts +0 -7
- package/src/Utilities/ExpressionFunctions/scalarExpressionFunctions.js +0 -742
- package/src/Utilities/Hooks/index.d.ts +0 -3
- package/src/Utilities/Hooks/index.js +0 -3
- package/src/Utilities/Hooks/useAdaptableColumn.d.ts +0 -2
- package/src/Utilities/Hooks/useAdaptableColumn.js +0 -6
- package/src/Utilities/Hooks/useAdaptableOptions.d.ts +0 -2
- package/src/Utilities/Hooks/useAdaptableOptions.js +0 -5
- package/src/Utilities/Services/AggregatedScalarLiveValue.d.ts +0 -27
- package/src/Utilities/Services/AggregatedScalarLiveValue.js +0 -116
- package/src/Utilities/Services/AlertService.d.ts +0 -17
- package/src/Utilities/Services/AlertService.js +0 -77
- package/src/Utilities/Services/AnnotationsService.d.ts +0 -29
- package/src/Utilities/Services/AnnotationsService.js +0 -137
- package/src/Utilities/Services/Interface/IAlertService.d.ts +0 -24
- package/src/Utilities/Services/Interface/IAlertService.js +0 -6
- package/src/Utilities/createAgStatusPanelComponent.js +0 -45
- package/src/Utilities/getExpressionViewItems.d.ts +0 -3
- package/src/Utilities/getExpressionViewItems.js +0 -9
- package/src/Utilities/getObjectTagsViewItems.d.ts +0 -3
- package/src/Utilities/getObjectTagsViewItems.js +0 -35
- package/src/Utilities/getRuleViewItems.d.ts +0 -5
- package/src/Utilities/getRuleViewItems.js +0 -10
- package/src/Utilities/getScopeViewItems.d.ts +0 -3
- package/src/Utilities/getScopeViewItems.js +0 -26
- package/src/Utilities/sortColumnStateForVisibleColumns.d.ts +0 -12
- package/src/Utilities/sortColumnStateForVisibleColumns.js +0 -36
- package/src/Utilities/updateSingleToMultiplePredicates.d.ts +0 -5
- package/src/Utilities/updateSingleToMultiplePredicates.js +0 -7
- package/src/Utilities/wizardSelection.d.ts +0 -10
- package/src/Utilities/wizardSelection.js +0 -13
- package/src/View/Alert/Utilities/getAvailablePredicates.d.ts +0 -3
- package/src/View/Alert/Utilities/getAvailablePredicates.js +0 -8
- package/src/View/CalculatedColumn/utils.d.ts +0 -2
- package/src/View/CalculatedColumn/utils.js +0 -9
- package/src/View/CellSummary/CellSummaryPopover.d.ts +0 -6
- package/src/View/CellSummary/CellSummaryPopover.js +0 -5
- package/src/View/CellSummary/CellSummaryStatusBarSubPanelPopover.d.ts +0 -2
- package/src/View/CellSummary/CellSummaryStatusBarSubPanelPopover.js +0 -8
- package/src/View/Charting/ChartingWizard/AgChargingWizard/SettingsSection.js +0 -44
- package/src/View/Charting/useAgChartState.d.ts +0 -9
- package/src/View/Charting/useAgChartState.js +0 -64
- package/src/View/Charting/useChartingElements.d.ts +0 -15
- package/src/View/Charting/useChartingElements.js +0 -96
- package/src/View/Charting/useExternalChartState.d.ts +0 -7
- package/src/View/Charting/useExternalChartState.js +0 -45
- package/src/View/Components/AdaptableObjectCollection/index.d.ts +0 -11
- package/src/View/Components/AdaptableObjectCollection/index.js +0 -11
- package/src/View/Components/AdaptableObjectRow/index.d.ts +0 -13
- package/src/View/Components/AdaptableObjectRow/index.js +0 -11
- package/src/View/Components/Badge/index.js +0 -63
- package/src/View/Components/ColumnFilter/AdaptableColumnFilter.d.ts +0 -19
- package/src/View/Components/ColumnFilter/AdaptableColumnFilter.js +0 -21
- package/src/View/Components/ColumnFilter/AdaptableFloatingFilter.d.ts +0 -9
- package/src/View/Components/ColumnFilter/AdaptableFloatingFilter.js +0 -32
- package/src/View/Components/ColumnFilter/ColumnFilter.d.ts +0 -18
- package/src/View/Components/ColumnFilter/ColumnFilter.js +0 -142
- package/src/View/Components/ColumnFilter/ColumnFilterWindow.d.ts +0 -3
- package/src/View/Components/ColumnFilter/ColumnFilterWindow.js +0 -30
- package/src/View/Components/ColumnFilter/FloatingFilter.d.ts +0 -13
- package/src/View/Components/ColumnFilter/FloatingFilter.js +0 -104
- package/src/View/Components/ColumnFilter/LayoutColumnFilter.d.ts +0 -6
- package/src/View/Components/ColumnFilter/LayoutColumnFilter.js +0 -25
- package/src/View/Components/ColumnFilter/columnFilterLocation.d.ts +0 -2
- package/src/View/Components/ColumnFilter/columnFilterLocation.js +0 -1
- package/src/View/Components/ColumnFilter/components/ColumnFilterInput.d.ts +0 -29
- package/src/View/Components/ColumnFilter/components/ColumnFilterInput.js +0 -141
- package/src/View/Components/ColumnFilter/components/ColumnFilterInputList.d.ts +0 -13
- package/src/View/Components/ColumnFilter/components/ColumnFilterInputList.js +0 -55
- package/src/View/Components/ColumnFilter/components/FloatingFilterInputList.d.ts +0 -13
- package/src/View/Components/ColumnFilter/components/FloatingFilterInputList.js +0 -73
- package/src/View/Components/ColumnFilter/components/FloatingFilterValues.d.ts +0 -56
- package/src/View/Components/ColumnFilter/components/FloatingFilterValues.js +0 -384
- package/src/View/Components/ColumnFilter/hooks.d.ts +0 -2
- package/src/View/Components/ColumnFilter/hooks.js +0 -10
- package/src/View/Components/ColumnFilter/useAdaptableFilterWrapper.d.ts +0 -12
- package/src/View/Components/ColumnFilter/useAdaptableFilterWrapper.js +0 -70
- package/src/View/Components/ColumnFilter/utils.d.ts +0 -8
- package/src/View/Components/ColumnFilter/utils.js +0 -184
- package/src/View/Components/EntityRulesEditor/EntityRulePredicatesEditor/EntityRulePredicateEditor.d.ts +0 -12
- package/src/View/Components/EntityRulesEditor/EntityRulePredicatesEditor/EntityRulePredicateEditor.js +0 -73
- package/src/View/Components/EntityRulesEditor/EntityRulePredicatesEditor/EntityRulePredicatesEditor.d.ts +0 -18
- package/src/View/Components/EntityRulesEditor/EntityRulePredicatesEditor/EntityRulePredicatesEditor.js +0 -67
- package/src/View/Components/EntityRulesEditor/EntityRulePredicatesEditor/index.d.ts +0 -1
- package/src/View/Components/EntityRulesEditor/EntityRulePredicatesEditor/index.js +0 -1
- package/src/View/Components/FilterForm/ListBoxFilterForm.js +0 -132
- package/src/View/Components/Panels/PanelDashboard/index.d.ts +0 -15
- package/src/View/Components/Panels/PanelDashboard/index.js +0 -18
- package/src/View/Components/Panels/PanelToolPanel/index.d.ts +0 -14
- package/src/View/Components/Panels/PanelToolPanel/index.js +0 -44
- package/src/View/Components/Panels/PanelWithRow.d.ts +0 -9
- package/src/View/Components/Panels/PanelWithRow.js +0 -13
- package/src/View/Components/PredicateEditor/PredicateEditor.d.ts +0 -11
- package/src/View/Components/PredicateEditor/PredicateEditor.js +0 -89
- package/src/View/Components/RangesComponent.js +0 -339
- package/src/View/Components/Selectors/BulkUpdateValueSelector.d.ts +0 -18
- package/src/View/Components/Selectors/BulkUpdateValueSelector.js +0 -50
- package/src/View/Components/SharedProps/ConfigEntityRowProps.d.ts +0 -30
- package/src/View/Components/TagValueSelector/index.d.ts +0 -13
- package/src/View/Components/TagValueSelector/index.js +0 -19
- package/src/View/Components/ToolPanel/AdaptableToolPanel.d.ts +0 -40
- package/src/View/Components/ToolPanel/AdaptableToolPanel.js +0 -217
- package/src/View/Components/ToolPanel/CustomToolPanelContent.d.ts +0 -6
- package/src/View/Components/ToolPanel/CustomToolPanelContent.js +0 -51
- package/src/View/Components/ToolPanel/ToolPanelPopup.d.ts +0 -20
- package/src/View/Components/ToolPanel/ToolPanelPopup.js +0 -27
- package/src/View/Components/ToolPanel/ToolPanelPopupSections.d.ts +0 -17
- package/src/View/Components/ToolPanel/ToolPanelPopupSections.js +0 -75
- package/src/View/Components/ToolPanel/ToolPanelWrapper.d.ts +0 -16
- package/src/View/Components/ToolPanel/ToolPanelWrapper.js +0 -55
- package/src/View/DataChangeHistory/buildActionColumnButton.d.ts +0 -5
- package/src/View/DataChangeHistory/buildActionColumnButton.js +0 -74
- package/src/View/DataChangeHistory/dataChangeHistoryHelpers.d.ts +0 -37
- package/src/View/DataChangeHistory/dataChangeHistoryHelpers.js +0 -66
- package/src/View/DataImport/DataImportWizard/DataImportWizard.js +0 -259
- package/src/View/DataImport/DataImportWizard/sections/ColumnsSection.js +0 -131
- package/src/View/DataImport/DataImportWizard/sections/DataPreview.js +0 -150
- package/src/View/DataImport/systemFileHandlers.d.ts +0 -3
- package/src/View/DataImport/systemFileHandlers.js +0 -39
- package/src/View/FormatColumn/Wizard/constants.d.ts +0 -1
- package/src/View/FormatColumn/Wizard/constants.js +0 -1
- package/src/View/GridFilter/GridFilterPopupUI/index.d.ts +0 -69
- package/src/View/GridFilter/GridFilterPopupUI/index.js +0 -28
- package/src/View/GridFilter/GridFilterWindowPopup.d.ts +0 -3
- package/src/View/GridFilter/GridFilterWindowPopup.js +0 -5
- package/src/View/GridFilter/useGridFilterExpressionEditor.d.ts +0 -31
- package/src/View/GridFilter/useGridFilterExpressionEditor.js +0 -127
- package/src/View/GridFilter/useGridFilterOptionsForExpressionEditor.d.ts +0 -4
- package/src/View/GridFilter/useGridFilterOptionsForExpressionEditor.js +0 -9
- package/src/View/GridInfo/GridInfoPopup/AdaptableObjectsSummary.js +0 -26
- package/src/View/GridInfo/GridInfoPopup/GridInfoPopup.d.ts +0 -6
- package/src/View/GridInfo/GridInfoPopup/GridInfoPopup.js +0 -210
- package/src/View/GridInfo/GridInfoPopup/index.d.ts +0 -1
- package/src/View/GridInfo/GridInfoPopup/index.js +0 -1
- package/src/View/KeyHint.d.ts +0 -6
- package/src/View/KeyHint.js +0 -7
- package/src/View/Layout/Wizard/sections/Utilities.d.ts +0 -2
- package/src/View/Layout/Wizard/sections/columnLayoutHelpers.d.ts +0 -30
- package/src/View/Layout/Wizard/sections/layoutWizardAccordionHelpers.d.ts +0 -8
- package/src/View/Layout/Wizard/sections/layoutWizardColumns.d.ts +0 -11
- package/src/View/Layout/Wizard/sections/layoutWizardColumns.js +0 -48
- package/src/View/Note/NoteEditor.d.ts +0 -8
- package/src/View/Note/NoteEditor.js +0 -36
- package/src/View/QuickSearch/useQuickSearchDebounced.d.ts +0 -7
- package/src/View/QuickSearch/useQuickSearchDebounced.js +0 -15
- package/src/View/Shortcut/shortcutOperations.d.ts +0 -5
- package/src/View/Shortcut/shortcutOperations.js +0 -35
- package/src/View/SpecialColumnSettingsWizardStep.js +0 -39
- package/src/View/StateManagement/components/ClearButton.d.ts +0 -6
- package/src/View/StateManagement/components/ClearButton.js +0 -5
- package/src/View/StateManagement/components/ExportDropdown.d.ts +0 -8
- package/src/View/StateManagement/components/ExportDropdown.js +0 -35
- package/src/View/StateManagement/components/LoadButton.d.ts +0 -7
- package/src/View/StateManagement/components/LoadButton.js +0 -31
- package/src/View/StateManagement/handleExportState.d.ts +0 -2
- package/src/View/StateManagement/handleExportState.js +0 -17
- package/src/View/StatusBar/statusBarPanelHelpers.d.ts +0 -2
- package/src/View/SystemStatus/SystemStatusEntityRow.d.ts +0 -7
- package/src/View/SystemStatus/SystemStatusEntityRow.js +0 -19
- package/src/View/UIHelper.d.ts +0 -78
- package/src/View/UIHelper.js +0 -373
- package/src/View/UIInterfaces.d.ts +0 -5
- package/src/View/Wizard/useKeyboardNavigation.d.ts +0 -2
- package/src/View/renderWithAdaptableContext.d.ts +0 -4
- package/src/View/renderWithAdaptableContext.js +0 -7
- package/src/agGrid/agGridDataTypeDefinitions.js +0 -63
- package/src/components/Combobox/VirtualizedList.d.ts +0 -12
- package/src/components/Combobox/VirtualizedList.js +0 -64
- package/src/components/Combobox/comboboxUtils.d.ts +0 -100
- package/src/components/Combobox/comboboxUtils.js +0 -27
- package/src/components/ExpressionEditor/BaseEditorInput.d.ts +0 -29
- package/src/components/ExpressionEditor/BaseEditorInput.js +0 -227
- package/src/components/ExpressionEditor/DataTableEditor.d.ts +0 -17
- package/src/components/ExpressionEditor/DataTableEditor.js +0 -52
- package/src/components/ExpressionEditor/EditorButton.d.ts +0 -7
- package/src/components/ExpressionEditor/EditorButton.js +0 -35
- package/src/components/ExpressionEditor/EditorContext.d.ts +0 -11
- package/src/components/ExpressionEditor/EditorContext.js +0 -9
- package/src/components/ExpressionEditor/EditorInput.d.ts +0 -16
- package/src/components/ExpressionEditor/EditorInput.js +0 -84
- package/src/components/ExpressionEditor/EditorInputWithWhereClause.d.ts +0 -14
- package/src/components/ExpressionEditor/EditorInputWithWhereClause.js +0 -55
- package/src/components/ExpressionEditor/ExpressionFunctionDocumentation.d.ts +0 -7
- package/src/components/ExpressionEditor/ExpressionFunctionDocumentation.js +0 -7
- package/src/components/ExpressionEditor/ExpressionPreview.d.ts +0 -7
- package/src/components/ExpressionEditor/ExpressionPreview.js +0 -16
- package/src/components/ExpressionEditor/NamedQueryContext.d.ts +0 -10
- package/src/components/ExpressionEditor/NamedQueryEditor.d.ts +0 -5
- package/src/components/ExpressionEditor/NamedQueryEditor.js +0 -14
- package/src/components/ExpressionEditor/QueryBuilder/QueryBuilder.d.ts +0 -25
- package/src/components/ExpressionEditor/QueryBuilder/QueryBuilder.js +0 -95
- package/src/components/ExpressionEditor/QueryBuilder/QueryBuilderInputs.d.ts +0 -35
- package/src/components/ExpressionEditor/QueryBuilder/QueryBuilderInputs.js +0 -190
- package/src/components/ExpressionEditor/QueryBuilder/QueryPredicateBuilder.d.ts +0 -22
- package/src/components/ExpressionEditor/QueryBuilder/QueryPredicateBuilder.js +0 -179
- package/src/components/ExpressionEditor/QueryBuilder/booleanExpressions.d.ts +0 -2
- package/src/components/ExpressionEditor/QueryBuilder/booleanExpressions.js +0 -15
- package/src/components/ExpressionEditor/QueryBuilder/utils.d.ts +0 -15
- package/src/components/ExpressionEditor/QueryBuilder/utils.js +0 -118
- package/src/components/ExpressionEditor/editorButtonsAggregatedBoolean.d.ts +0 -2
- package/src/components/ExpressionEditor/editorButtonsAggregatedBoolean.js +0 -62
- package/src/components/ExpressionEditor/editorButtonsAggregatedScalar.d.ts +0 -2
- package/src/components/ExpressionEditor/editorButtonsAggregatedScalar.js +0 -42
- package/src/components/ExpressionEditor/editorButtonsCumulativeAggregatedScalar.d.ts +0 -2
- package/src/components/ExpressionEditor/editorButtonsCumulativeAggregatedScalar.js +0 -47
- package/src/components/ExpressionEditor/editorButtonsObservable.d.ts +0 -2
- package/src/components/ExpressionEditor/editorButtonsObservable.js +0 -47
- package/src/components/ExpressionEditor/editorButtonsQuantileAggregatedScalar.d.ts +0 -2
- package/src/components/ExpressionEditor/editorButtonsQuantileAggregatedScalar.js +0 -22
- package/src/components/ExpressionEditor/editorButtonsSearch.js +0 -70
- package/src/components/ExpressionEditor/index.d.ts +0 -26
- package/src/components/ExpressionEditor/index.js +0 -193
- package/src/components/NewSelect/index.d.ts +0 -77
- package/src/components/NewSelect/index.js +0 -86
- package/src/components/NewTooltip/index.d.ts +0 -8
- package/src/components/NewTooltip/index.js +0 -8
- package/src/components/Tree/treeUtils.d.ts +0 -10
- package/src/components/Tree/treeUtils.js +0 -21
- package/src/components/WarningBox/index.d.ts +0 -8
- package/src/components/WarningBox/index.js +0 -7
- package/src/components/ui/button.d.ts +0 -11
- package/src/components/ui/button.js +0 -35
- package/src/components/ui/combobox.d.ts +0 -50
- package/src/components/ui/combobox.js +0 -126
- package/src/components/ui/textarea.d.ts +0 -3
- package/src/components/ui/textarea.js +0 -7
- package/src/components/utils/useSelectionRange.d.ts +0 -5
- package/src/components/utils/useSelectionRange.js +0 -20
- package/src/parser/src/ExpressionEvaluationError.d.ts +0 -4
- package/src/parser/src/ExpressionEvaluationError.js +0 -8
- package/src/parser/src/evaluator.d.ts +0 -2
- package/src/parser/src/evaluator.js +0 -23
- package/src/parser/src/index.d.ts +0 -9
- package/src/parser/src/index.js +0 -28
- package/src/parser/src/parser.d.ts +0 -2
- package/src/parser/src/parser.js +0 -729
- package/src/parser/src/predicate/index.d.ts +0 -2
- package/src/parser/src/predicate/index.js +0 -2
- package/src/parser/src/predicate/mapExpressionToQlPredicate.d.ts +0 -3
- package/src/parser/src/predicate/mapExpressionToQlPredicate.js +0 -95
- package/src/parser/src/predicate/mapQlPredicateToExpression.d.ts +0 -3
- package/src/parser/src/predicate/mapQlPredicateToExpression.js +0 -124
- package/src/parser/src/predicate/types.d.ts +0 -20
- package/src/parser/src/predicate/types.js +0 -1
- package/src/parser/src/tokenizer.d.ts +0 -2
- package/src/parser/src/tokenizer.js +0 -25
- package/src/parser/src/types.d.ts +0 -316
- package/src/parser/src/types.js +0 -3
- package/src/parser/src/utils.d.ts +0 -4
- package/src/parser/src/utils.js +0 -30
- /package/src/AdaptableOptions/{PredicateOptions.js → CalculatedColumnOptions.js} +0 -0
- /package/src/AdaptableState/Common/{AdaptableRowContext.js → AlternativeModuleIcon.js} +0 -0
- /package/src/{Api/PredicateApi.js → AdaptableState/Common/CompactCalculatedColumnEditorInfo.js} +0 -0
- /package/src/{View/Components/SharedProps/ConfigEntityRowProps.js → Api/Events/ColumnFilterChanged.js} +0 -0
- /package/src/{View/UIInterfaces.js → Api/Events/NoteChanged.js} +0 -0
- /package/src/View/AdaptableWizardView/{Utils.d.ts → Utilities/Utils.d.ts} +0 -0
- /package/src/View/AdaptableWizardView/{Utils.js → Utilities/Utils.js} +0 -0
- /package/src/View/AdaptableWizardView/{helper.d.ts → Utilities/helper.d.ts} +0 -0
- /package/src/View/AdaptableWizardView/{helper.js → Utilities/helper.js} +0 -0
- /package/src/View/Charting/{ChartingWizard → Wizard}/AgChargingWizard/AgChargingWizard.d.ts +0 -0
- /package/src/View/Charting/{ChartingWizard → Wizard}/AgChargingWizard/AgChargingWizard.js +0 -0
- /package/src/View/Charting/{ChartingWizard → Wizard}/AgChargingWizard/PreviewChartSection.d.ts +0 -0
- /package/src/View/Charting/{ChartingWizard → Wizard}/AgChargingWizard/PreviewChartSection.js +0 -0
- /package/src/View/Charting/{ChartingWizard → Wizard}/AgChargingWizard/SettingsSection.d.ts +0 -0
- /package/src/View/Charting/{ChartingWizard → Wizard}/AgChargingWizard/index.d.ts +0 -0
- /package/src/View/Charting/{ChartingWizard → Wizard}/AgChargingWizard/index.js +0 -0
- /package/src/View/Charting/{ChartingWizard → Wizard}/ChartingWizard.d.ts +0 -0
- /package/src/View/Charting/{ChartingWizard → Wizard}/ChartingWizard.js +0 -0
- /package/src/View/Charting/{ChartingWizard → Wizard}/ExternalChartingWizard/ExternalChartingWizard.d.ts +0 -0
- /package/src/View/Charting/{ChartingWizard → Wizard}/ExternalChartingWizard/ExternalChartingWizard.js +0 -0
- /package/src/View/Charting/{ChartingWizard → Wizard}/ExternalChartingWizard/PreviewChartSection.d.ts +0 -0
- /package/src/View/Charting/{ChartingWizard → Wizard}/ExternalChartingWizard/PreviewChartSection.js +0 -0
- /package/src/View/Charting/{ChartingWizard → Wizard}/ExternalChartingWizard/SettingsSection.d.ts +0 -0
- /package/src/View/Charting/{ChartingWizard → Wizard}/ExternalChartingWizard/SettingsSection.js +0 -0
- /package/src/View/Charting/{ChartingWizard → Wizard}/ExternalChartingWizard/index.d.ts +0 -0
- /package/src/View/Charting/{ChartingWizard → Wizard}/ExternalChartingWizard/index.js +0 -0
- /package/src/View/Charting/{ChartingWizard → Wizard}/index.d.ts +0 -0
- /package/src/View/Charting/{ChartingWizard → Wizard}/index.js +0 -0
- /package/src/View/DataImport/{DataImportWizard → Wizard}/DataImportWizard.d.ts +0 -0
- /package/src/View/DataImport/{DataImportWizard → Wizard}/index.d.ts +0 -0
- /package/src/View/DataImport/{DataImportWizard → Wizard}/index.js +0 -0
- /package/src/View/DataImport/{DataImportWizard → Wizard}/sections/ColumnsSection.d.ts +0 -0
- /package/src/View/DataImport/{DataImportWizard → Wizard}/sections/DataPreview.d.ts +0 -0
- /package/src/View/DataImport/{DataImportWizard → Wizard}/sections/UploadSection/UploadFileSection.d.ts +0 -0
- /package/src/View/DataImport/{DataImportWizard → Wizard}/sections/UploadSection/UploadFileSection.js +0 -0
- /package/src/View/DataImport/{DataImportWizard → Wizard}/sections/UploadSection/UploadSection.d.ts +0 -0
- /package/src/View/DataImport/{DataImportWizard → Wizard}/sections/UploadSection/UploadSection.js +0 -0
- /package/src/View/DataImport/{DataImportWizard → Wizard}/sections/UploadSection/UploadTextSection.d.ts +0 -0
- /package/src/View/DataImport/{DataImportWizard → Wizard}/sections/UploadSection/UploadTextSection.js +0 -0
- /package/src/View/DataImport/{DataImportWizard → Wizard}/sections/UploadSection/index.d.ts +0 -0
- /package/src/View/DataImport/{DataImportWizard → Wizard}/sections/UploadSection/index.js +0 -0
- /package/src/View/DataImport/{DataImportWizard → Wizard}/sections/ValidationSection.d.ts +0 -0
- /package/src/View/DataImport/{DataImportWizard → Wizard}/sections/ValidationSection.js +0 -0
- /package/src/View/{Components → Filter}/FilterForm/ListBoxFilterForm.d.ts +0 -0
- /package/src/View/GridInfo/{GridInfoPopup/AdaptableObjectsSummary.d.ts → AdaptableObjectsSummary.d.ts} +0 -0
- /package/src/View/Layout/{Wizard/sections/Utilities.js → Utilities/columnFilter.js} +0 -0
- /package/src/View/Layout/{Wizard/sections → Utilities}/columnLayoutHelpers.js +0 -0
- /package/src/View/Layout/{Wizard/sections → Utilities}/layoutWizardAccordionHelpers.js +0 -0
- /package/src/{Strategy/Utilities → View/ObjectItemViews}/Alert/getAlertBehaviourViewItems.js +0 -0
- /package/src/{Strategy/Utilities → View/ObjectItemViews}/Alert/getAlertPreviewViewItems.js +0 -0
- /package/src/{Strategy/Utilities → View/ObjectItemViews}/Alert/getAlertTypeViewItems.d.ts +0 -0
- /package/src/{Strategy/Utilities → View/ObjectItemViews}/Alert/getAlertTypeViewItems.js +0 -0
- /package/src/{Strategy/Utilities → View/ObjectItemViews}/CustomSort/getCustomSortSortOrderViewItems.d.ts +0 -0
- /package/src/{Strategy/Utilities → View/ObjectItemViews}/CustomSort/getCustomSortSortOrderViewItems.js +0 -0
- /package/src/{Strategy/Utilities → View/ObjectItemViews}/Export/formatScheduledReportSummary.d.ts +0 -0
- /package/src/{Strategy/Utilities → View/ObjectItemViews}/Export/getExportRowsViewItems.d.ts +0 -0
- /package/src/{Strategy/Utilities → View/ObjectItemViews}/Export/getReportSchedulesViewItems.d.ts +0 -0
- /package/src/{Strategy/Utilities → View/ObjectItemViews}/Export/getReportSchedulesViewItems.js +0 -0
- /package/src/{Strategy/Utilities → View/ObjectItemViews}/FlashingCell/getFlashingCellDurationViewItems.d.ts +0 -0
- /package/src/{Strategy/Utilities → View/ObjectItemViews}/FlashingCell/getFlashingCellDurationViewItems.js +0 -0
- /package/src/{Strategy/Utilities → View/ObjectItemViews}/FlashingCell/getFlashingCellStyleViewItems.js +0 -0
- /package/src/{Strategy/Utilities → View/ObjectItemViews}/FlashingCell/getFlashingTargetViewItems.js +0 -0
- /package/src/{Strategy/Utilities → View/ObjectItemViews}/FormatColumn/getFormatColumnRowTargetItems.d.ts +0 -0
- /package/src/{Strategy/Utilities → View/ObjectItemViews}/FormatColumn/getFormatColumnRowTargetItems.js +0 -0
- /package/src/{Strategy/Utilities → View/ObjectItemViews}/FormatColumn/getFormatColumnSettingsViewItems.d.ts +0 -0
- /package/src/{Strategy/Utilities → View/ObjectItemViews}/FormatColumn/getFormatColumnSettingsViewItems.js +0 -0
- /package/src/{Strategy/Utilities → View/ObjectItemViews}/Layout/aggregationSummaryHelpers.d.ts +0 -0
- /package/src/{Strategy/Utilities → View/ObjectItemViews}/Layout/aggregationSummaryHelpers.js +0 -0
- /package/src/{Strategy/Utilities → View/ObjectItemViews}/Layout/rowGroupSummaryHelpers.d.ts +0 -0
- /package/src/{Strategy/Utilities → View/ObjectItemViews}/Layout/rowGroupSummaryHelpers.js +0 -0
- /package/src/{Strategy/Utilities → View/ObjectItemViews}/Shortcut/getShortcutSettingsViewItems.d.ts +0 -0
- /package/src/{Strategy/Utilities → View/ObjectItemViews}/Shortcut/getShortcutSettingsViewItems.js +0 -0
- /package/src/View/Shortcut/{shortcutKeys.d.ts → Utilities/shortcutKeys.d.ts} +0 -0
- /package/src/View/Shortcut/{shortcutKeys.js → Utilities/shortcutKeys.js} +0 -0
- /package/src/View/StatusBar/{statusBarPanelHelpers.js → Utilities/statusBarPanelHelpers.js} +0 -0
- /package/src/View/{Components → StyledColumn}/Badge/index.d.ts +0 -0
- /package/src/View/{Components → StyledColumn}/RangesComponent.d.ts +0 -0
- /package/src/View/{SpecialColumnSettingsWizardStep.d.ts → Wizard/SpecialColumnSettingsWizardStep.d.ts} +0 -0
- /package/src/View/Wizard/{useKeyboardNavigation.js → Utilities/useKeyboardNavigation.js} +0 -0
- /package/src/View/{Components → Wizard}/wizardColumnListStyles.d.ts +0 -0
- /package/src/View/{Components → Wizard}/wizardColumnListStyles.js +0 -0
- /package/src/agGrid/{agGridDataTypeDefinitions.d.ts → AgGridDataTypeDefinitions.d.ts} +0 -0
- /package/src/{Utilities/createAgStatusPanelComponent.d.ts → agGrid/AgGridStatusPanelCreator.d.ts} +0 -0
- /package/src/{Utilities → aql}/adaptableQlUtils.d.ts +0 -0
- /package/src/{Utilities → aql}/adaptableQlUtils.js +0 -0
- /package/src/components/{ExpressionEditor → aql/ExpressionEditor}/NamedQueryContext.js +0 -0
- /package/src/components/{ExpressionEditor → aql/ExpressionEditor}/editorButtonsSearch.d.ts +0 -0
- /package/src/components/{ExpressionEditor → aql}/QueryBuilder/index.d.ts +0 -0
- /package/src/components/{ExpressionEditor → aql}/QueryBuilder/index.js +0 -0
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Shared T-2 corpus loader: every expression string we ship — scalar
|
|
3
|
+
* function-pool doc examples, the aggregation catalogue's
|
|
4
|
+
* examples (operators + sugar), the clause docs' examples, the
|
|
5
|
+
* aggregated-boolean comparator examples, plus the harvested editor example
|
|
6
|
+
* catalogues (scripts/harvestCorpus.cjs). Used by the corpus regression
|
|
7
|
+
* test, the normalizer/printer gates, the plan-path golden suite and the
|
|
8
|
+
* AST-contract fixture suite.
|
|
9
|
+
*/
|
|
10
|
+
import fs from 'fs';
|
|
11
|
+
import path from 'path';
|
|
12
|
+
import { scalarFunctions } from '../functions/scalar/index.js';
|
|
13
|
+
import { SYSTEM_AGGREGATION_CATALOGUE } from '../plan/catalogue.js';
|
|
14
|
+
import { CLAUSE_DOCS } from '../validation/functionMetadata.js';
|
|
15
|
+
const poolExamples = (pools) => pools.flatMap((pool) => Object.values(pool).flatMap((definition) => definition.examples ?? []));
|
|
16
|
+
/**
|
|
17
|
+
* Aggregated-boolean threshold comparisons (the retired comparator pool's
|
|
18
|
+
* examples): infix spelling, magnitude-suffix literal, paren spelling.
|
|
19
|
+
*/
|
|
20
|
+
export const AGGREGATED_BOOLEAN_EXAMPLES = [
|
|
21
|
+
['=', 'EQ'],
|
|
22
|
+
['!=', 'NEQ'],
|
|
23
|
+
['<', 'LT'],
|
|
24
|
+
['<=', 'LTE'],
|
|
25
|
+
['>', 'GT'],
|
|
26
|
+
['>=', 'GTE'],
|
|
27
|
+
].flatMap(([symbol, name]) => [
|
|
28
|
+
`SUM{[numCol]} ${symbol} 250000`,
|
|
29
|
+
`SUM{[numCol]} ${symbol} '5M'`,
|
|
30
|
+
`${name}(SUM{[numCol]}, 250000)`,
|
|
31
|
+
]);
|
|
32
|
+
export const loadCorpusExpressions = () => {
|
|
33
|
+
const harvested = JSON.parse(fs.readFileSync(path.join(__dirname, './harvestedExpressions.json'), 'utf8'));
|
|
34
|
+
return [
|
|
35
|
+
...new Set([
|
|
36
|
+
...poolExamples([
|
|
37
|
+
scalarFunctions,
|
|
38
|
+
]),
|
|
39
|
+
...SYSTEM_AGGREGATION_CATALOGUE.callables().flatMap((callable) => callable.docs.examples ?? []),
|
|
40
|
+
...Object.values(CLAUSE_DOCS).flatMap((docs) => docs.examples),
|
|
41
|
+
...AGGREGATED_BOOLEAN_EXAMPLES,
|
|
42
|
+
...harvested,
|
|
43
|
+
]),
|
|
44
|
+
].sort();
|
|
45
|
+
};
|
|
46
|
+
//# sourceMappingURL=corpusExpressions.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"corpusExpressions.js","sourceRoot":"","sources":["../../../src/corpus/corpusExpressions.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AACH,OAAO,EAAE,MAAM,IAAI,CAAC;AACpB,OAAO,IAAI,MAAM,MAAM,CAAC;AACxB,OAAO,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AACtD,OAAO,EAAE,4BAA4B,EAAE,MAAM,mBAAmB,CAAC;AACjE,OAAO,EAAE,WAAW,EAAE,MAAM,gCAAgC,CAAC;AAE7D,MAAM,YAAY,GAAG,CAAC,KAAgD,EAAY,EAAE,CAClF,KAAK,CAAC,OAAO,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,OAAO,CAAC,CAAC,UAAU,EAAE,EAAE,CAAC,UAAU,CAAC,QAAQ,IAAI,EAAE,CAAC,CAAC,CAAC;AAElG;;;GAGG;AACH,MAAM,CAAC,MAAM,2BAA2B,GACtC;IACE,CAAC,GAAG,EAAE,IAAI,CAAC;IACX,CAAC,IAAI,EAAE,KAAK,CAAC;IACb,CAAC,GAAG,EAAE,IAAI,CAAC;IACX,CAAC,IAAI,EAAE,KAAK,CAAC;IACb,CAAC,GAAG,EAAE,IAAI,CAAC;IACX,CAAC,IAAI,EAAE,KAAK,CAAC;CAEhB,CAAC,OAAO,CAAC,CAAC,CAAC,MAAM,EAAE,IAAI,CAAC,EAAE,EAAE,CAAC;IAC5B,iBAAiB,MAAM,SAAS;IAChC,iBAAiB,MAAM,OAAO;IAC9B,GAAG,IAAI,yBAAyB;CACjC,CAAC,CAAC;AAEH,MAAM,CAAC,MAAM,qBAAqB,GAAG,GAAa,EAAE;IAClD,MAAM,SAAS,GAAa,IAAI,CAAC,KAAK,CACpC,EAAE,CAAC,YAAY,CAAC,IAAI,CAAC,IAAI,CAAC,SAAS,EAAE,6BAA6B,CAAC,EAAE,MAAM,CAAC,CAC7E,CAAC;IACF,OAAO;QACL,GAAG,IAAI,GAAG,CAAC;YACT,GAAG,YAAY,CAAC;gBACd,eAA0D;aAC3D,CAAC;YACF,GAAG,4BAA4B,CAAC,SAAS,EAAE,CAAC,OAAO,CACjD,CAAC,QAAQ,EAAE,EAAE,CAAC,QAAQ,CAAC,IAAI,CAAC,QAAQ,IAAI,EAAE,CAC3C;YACD,GAAG,MAAM,CAAC,MAAM,CAAC,WAAW,CAAC,CAAC,OAAO,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,IAAI,CAAC,QAAQ,CAAC;YAC9D,GAAG,2BAA2B;YAC9B,GAAG,SAAS;SACb,CAAC;KACH,CAAC,IAAI,EAAE,CAAC;AACX,CAAC,CAAC"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import type { AqlHost } from '../host/types';
|
|
2
|
+
/**
|
|
3
|
+
* Corpus fixture — the column vocabulary used by the function-pool doc
|
|
4
|
+
* examples and the harvested editor catalogues (`numCol`, `stringCol`,
|
|
5
|
+
* `dateCol`, `weightCol`, trade-book columns, …). Varied values, duplicates
|
|
6
|
+
* (RANK / QUANT ties), blanks and several currencies so every aggregation
|
|
7
|
+
* shape in the corpus produces a non-trivial result.
|
|
8
|
+
*/
|
|
9
|
+
export declare const corpusRows: Record<string, unknown>[];
|
|
10
|
+
export declare const corpusColumns: ({
|
|
11
|
+
columnId: string;
|
|
12
|
+
dataType: "text";
|
|
13
|
+
} | {
|
|
14
|
+
columnId: string;
|
|
15
|
+
dataType: "number";
|
|
16
|
+
} | {
|
|
17
|
+
columnId: string;
|
|
18
|
+
dataType: "boolean";
|
|
19
|
+
} | {
|
|
20
|
+
columnId: string;
|
|
21
|
+
dataType: "date";
|
|
22
|
+
})[];
|
|
23
|
+
export declare const createCorpusHost: () => AqlHost;
|
|
24
|
+
//# sourceMappingURL=corpusFixture.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"corpusFixture.d.ts","sourceRoot":"","sources":["../../../src/corpus/corpusFixture.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,eAAe,CAAC;AAE7C;;;;;;GAMG;AACH,eAAO,MAAM,UAAU,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAO/C,CAAC;AAEF,eAAO,MAAM,aAAa;;;;;;;;;;;;IA4BzB,CAAC;AAEF,eAAO,MAAM,gBAAgB,QAAO,OAC4D,CAAC"}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import { createObjectDataHost } from '../host/createObjectDataHost.js';
|
|
2
|
+
/**
|
|
3
|
+
* Corpus fixture — the column vocabulary used by the function-pool doc
|
|
4
|
+
* examples and the harvested editor catalogues (`numCol`, `stringCol`,
|
|
5
|
+
* `dateCol`, `weightCol`, trade-book columns, …). Varied values, duplicates
|
|
6
|
+
* (RANK / QUANT ties), blanks and several currencies so every aggregation
|
|
7
|
+
* shape in the corpus produces a non-trivial result.
|
|
8
|
+
*/
|
|
9
|
+
export const corpusRows = [
|
|
10
|
+
{ tradeId: 'T-1', make: 'Toyota', currency: 'USD', country: 'US', status: 'Live', symbol: 'AAA', firstName: 'Ann', lastName: 'Smith', CustomerReference: 'C1', numCol: 10, price: 100, quantity: 2, notional: 200, pnl: 5, PnL: 5, tax: 1, shipping: 3, rating: 4, ItemCount: 2, OrderCost: 20, weightCol: 2, stringCol: 'alpha', boolCol: true, dateCol: new Date(2026, 0, 1), TradeDate: new Date(2026, 0, 1), tradeDate: new Date(2026, 0, 1), registrationDate: new Date(2025, 5, 1) },
|
|
11
|
+
{ tradeId: 'T-2', make: 'Toyota', currency: 'EUR', country: 'DE', status: 'Closed', symbol: 'BBB', firstName: 'Bob', lastName: 'Jones', CustomerReference: 'C2', numCol: 20, price: 150, quantity: 1, notional: 150, pnl: -2, PnL: -2, tax: 2, shipping: 4, rating: 3, ItemCount: 1, OrderCost: 15, weightCol: 1, stringCol: 'beta', boolCol: false, dateCol: new Date(2026, 0, 2), TradeDate: new Date(2026, 0, 2), tradeDate: new Date(2026, 0, 2), registrationDate: new Date(2025, 6, 2) },
|
|
12
|
+
{ tradeId: 'T-3', make: 'Ford', currency: 'USD', country: 'US', status: 'Live', symbol: 'AAA', firstName: 'Cara', lastName: 'Miles', CustomerReference: 'C3', numCol: 20, price: 250, quantity: 4, notional: 1000, pnl: 12, PnL: 12, tax: 5, shipping: 2, rating: 5, ItemCount: 4, OrderCost: 80, weightCol: 4, stringCol: 'alpha', boolCol: true, dateCol: new Date(2026, 0, 3), TradeDate: new Date(2026, 0, 3), tradeDate: new Date(2026, 0, 3), registrationDate: new Date(2025, 7, 3) },
|
|
13
|
+
{ tradeId: 'T-4', make: 'Ford', currency: 'GBP', country: 'UK', status: 'Live', symbol: 'CCC', firstName: 'Dan', lastName: 'Field', CustomerReference: 'C4', numCol: null, price: 50, quantity: 2, notional: 100, pnl: 0, PnL: 0, tax: 0, shipping: 1, rating: 2, ItemCount: 3, OrderCost: 30, weightCol: 2, stringCol: 'gamma', boolCol: false, dateCol: new Date(2026, 0, 4), TradeDate: new Date(2026, 0, 4), tradeDate: new Date(2026, 0, 4), registrationDate: new Date(2025, 8, 4) },
|
|
14
|
+
{ tradeId: 'T-5', make: 'Porsche', currency: 'EUR', country: 'DE', status: 'Closed', symbol: 'BBB', firstName: 'Eve', lastName: 'Stone', CustomerReference: 'C5', numCol: 40, price: null, quantity: 3, notional: 0, pnl: 7, PnL: 7, tax: 3, shipping: 5, rating: null, ItemCount: 5, OrderCost: 50, weightCol: 3, stringCol: 'beta', boolCol: true, dateCol: new Date(2026, 0, 5), TradeDate: new Date(2026, 0, 5), tradeDate: new Date(2026, 0, 5), registrationDate: new Date(2025, 9, 5) },
|
|
15
|
+
{ tradeId: 'T-6', make: 'Porsche', currency: 'USD', country: 'US', status: 'Live', symbol: 'AAA', firstName: 'Fay', lastName: 'Marsh', CustomerReference: 'C6', numCol: 40, price: 250, quantity: 1, notional: 250, pnl: -9, PnL: -9, tax: 4, shipping: 2, rating: 1, ItemCount: 2, OrderCost: 25, weightCol: 1, stringCol: 'gamma', boolCol: false, dateCol: new Date(2026, 0, 6), TradeDate: new Date(2026, 0, 6), tradeDate: new Date(2026, 0, 6), registrationDate: new Date(2025, 10, 6) },
|
|
16
|
+
];
|
|
17
|
+
export const corpusColumns = [
|
|
18
|
+
{ columnId: 'tradeId', dataType: 'text' },
|
|
19
|
+
{ columnId: 'make', dataType: 'text' },
|
|
20
|
+
{ columnId: 'currency', dataType: 'text' },
|
|
21
|
+
{ columnId: 'country', dataType: 'text' },
|
|
22
|
+
{ columnId: 'status', dataType: 'text' },
|
|
23
|
+
{ columnId: 'symbol', dataType: 'text' },
|
|
24
|
+
{ columnId: 'firstName', dataType: 'text' },
|
|
25
|
+
{ columnId: 'lastName', dataType: 'text' },
|
|
26
|
+
{ columnId: 'CustomerReference', dataType: 'text' },
|
|
27
|
+
{ columnId: 'stringCol', dataType: 'text' },
|
|
28
|
+
{ columnId: 'numCol', dataType: 'number' },
|
|
29
|
+
{ columnId: 'price', dataType: 'number' },
|
|
30
|
+
{ columnId: 'quantity', dataType: 'number' },
|
|
31
|
+
{ columnId: 'notional', dataType: 'number' },
|
|
32
|
+
{ columnId: 'pnl', dataType: 'number' },
|
|
33
|
+
{ columnId: 'PnL', dataType: 'number' },
|
|
34
|
+
{ columnId: 'tax', dataType: 'number' },
|
|
35
|
+
{ columnId: 'shipping', dataType: 'number' },
|
|
36
|
+
{ columnId: 'rating', dataType: 'number' },
|
|
37
|
+
{ columnId: 'ItemCount', dataType: 'number' },
|
|
38
|
+
{ columnId: 'OrderCost', dataType: 'number' },
|
|
39
|
+
{ columnId: 'weightCol', dataType: 'number' },
|
|
40
|
+
{ columnId: 'boolCol', dataType: 'boolean' },
|
|
41
|
+
{ columnId: 'dateCol', dataType: 'date' },
|
|
42
|
+
{ columnId: 'TradeDate', dataType: 'date' },
|
|
43
|
+
{ columnId: 'tradeDate', dataType: 'date' },
|
|
44
|
+
{ columnId: 'registrationDate', dataType: 'date' },
|
|
45
|
+
];
|
|
46
|
+
export const createCorpusHost = () => createObjectDataHost({ rows: corpusRows, columns: corpusColumns, primaryKeyField: 'tradeId' });
|
|
47
|
+
//# sourceMappingURL=corpusFixture.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"corpusFixture.js","sourceRoot":"","sources":["../../../src/corpus/corpusFixture.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,MAAM,8BAA8B,CAAC;AAGpE;;;;;;GAMG;AACH,MAAM,CAAC,MAAM,UAAU,GAA8B;IACnD,EAAE,OAAO,EAAE,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,QAAQ,EAAE,KAAK,EAAE,OAAO,EAAE,IAAI,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,KAAK,EAAE,SAAS,EAAE,KAAK,EAAE,QAAQ,EAAE,OAAO,EAAE,iBAAiB,EAAE,IAAI,EAAE,MAAM,EAAE,EAAE,EAAE,KAAK,EAAE,GAAG,EAAE,QAAQ,EAAE,CAAC,EAAE,QAAQ,EAAE,GAAG,EAAE,GAAG,EAAE,CAAC,EAAE,GAAG,EAAE,CAAC,EAAE,GAAG,EAAE,CAAC,EAAE,QAAQ,EAAE,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE,SAAS,EAAE,CAAC,EAAE,SAAS,EAAE,EAAE,EAAE,SAAS,EAAE,CAAC,EAAE,SAAS,EAAE,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,OAAO,EAAE,IAAI,IAAI,CAAC,IAAI,EAAE,CAAC,EAAE,CAAC,CAAC,EAAE,SAAS,EAAE,IAAI,IAAI,CAAC,IAAI,EAAE,CAAC,EAAE,CAAC,CAAC,EAA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AAQ,EAAE,WAAW,EAAE,QAAQ,EAAE,MAAe,EAAE;IACpD,EAAE,QAAQ,EAAE,kBAAkB,EAAE,QAAQ,EAAE,MAAe,EAAE;CAC5D,CAAC;AAEF,MAAM,CAAC,MAAM,gBAAgB,GAAG,GAAY,EAAE,CAC5C,oBAAoB,CAAC,EAAE,IAAI,EAAE,UAAU,EAAE,OAAO,EAAE,aAAa,EAAE,eAAe,EAAE,SAAS,EAAE,CAAC,CAAC"}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import type { AqlHost } from '../host/types';
|
|
2
|
+
/**
|
|
3
|
+
* Fixture grid — a small trades book covering the catalogue's column
|
|
4
|
+
* vocabulary (numbers / strings / dates, blanks, ties, repeated group keys,
|
|
5
|
+
* several currencies and statuses). Built once here and shared by the golden
|
|
6
|
+
* example suites (value expressions, legacy observables, editor integration).
|
|
7
|
+
*/
|
|
8
|
+
export interface GoldenTradeRow {
|
|
9
|
+
tradeId: string;
|
|
10
|
+
make: string;
|
|
11
|
+
model: string;
|
|
12
|
+
category: string;
|
|
13
|
+
currency: string;
|
|
14
|
+
status: string;
|
|
15
|
+
instrument: string;
|
|
16
|
+
customer: string;
|
|
17
|
+
price: number | null;
|
|
18
|
+
quantity: number;
|
|
19
|
+
notional: number;
|
|
20
|
+
orderCost: number;
|
|
21
|
+
itemCount: number;
|
|
22
|
+
rating: number | null;
|
|
23
|
+
dailyReturn: number;
|
|
24
|
+
bid: number;
|
|
25
|
+
ask: number;
|
|
26
|
+
fxRate: number;
|
|
27
|
+
tradeDate: Date;
|
|
28
|
+
settlementDate: Date;
|
|
29
|
+
[key: string]: unknown;
|
|
30
|
+
}
|
|
31
|
+
export declare const goldenGridRows: GoldenTradeRow[];
|
|
32
|
+
export declare const goldenGridColumns: ({
|
|
33
|
+
columnId: string;
|
|
34
|
+
dataType: "text";
|
|
35
|
+
} | {
|
|
36
|
+
columnId: string;
|
|
37
|
+
dataType: "number";
|
|
38
|
+
} | {
|
|
39
|
+
columnId: string;
|
|
40
|
+
dataType: "date";
|
|
41
|
+
})[];
|
|
42
|
+
export declare const createGoldenGridHost: () => AqlHost;
|
|
43
|
+
//# sourceMappingURL=goldenGrid.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"goldenGrid.d.ts","sourceRoot":"","sources":["../../../src/corpus/goldenGrid.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,eAAe,CAAC;AAE7C;;;;;GAKG;AAEH,MAAM,WAAW,cAAc;IAC7B,OAAO,EAAE,MAAM,CAAC;IAChB,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,MAAM,CAAC;IACjB,QAAQ,EAAE,MAAM,CAAC;IACjB,MAAM,EAAE,MAAM,CAAC;IACf,UAAU,EAAE,MAAM,CAAC;IACnB,QAAQ,EAAE,MAAM,CAAC;IACjB,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;IACrB,QAAQ,EAAE,MAAM,CAAC;IACjB,QAAQ,EAAE,MAAM,CAAC;IACjB,SAAS,EAAE,MAAM,CAAC;IAClB,SAAS,EAAE,MAAM,CAAC;IAClB,MAAM,EAAE,MAAM,GAAG,IAAI,CAAC;IACtB,WAAW,EAAE,MAAM,CAAC;IACpB,GAAG,EAAE,MAAM,CAAC;IACZ,GAAG,EAAE,MAAM,CAAC;IACZ,MAAM,EAAE,MAAM,CAAC;IACf,SAAS,EAAE,IAAI,CAAC;IAChB,cAAc,EAAE,IAAI,CAAC;IACrB,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC;CACxB;AAED,eAAO,MAAM,cAAc,EAAE,cAAc,EAW1C,CAAC;AAEF,eAAO,MAAM,iBAAiB;;;;;;;;;IAqB7B,CAAC;AAEF,eAAO,MAAM,oBAAoB,QAAO,OAKpC,CAAC"}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { createObjectDataHost } from '../host/createObjectDataHost.js';
|
|
2
|
+
export const goldenGridRows = [
|
|
3
|
+
{ tradeId: 'T-01', make: 'Toyota', model: 'Corolla', category: 'Sedan', currency: 'USD', status: 'Open', instrument: 'AAPL', customer: 'Acme', price: 100, quantity: 5, notional: 500, orderCost: 10, itemCount: 2, rating: 4, dailyReturn: 0.01, bid: 99, ask: 101, fxRate: 1, tradeDate: new Date(2026, 0, 5), settlementDate: new Date(2026, 0, 7) },
|
|
4
|
+
{ tradeId: 'T-02', make: 'Toyota', model: 'Camry', category: 'Sedan', currency: 'USD', status: 'Failed', instrument: 'MSFT', customer: 'Acme', price: 110, quantity: 3, notional: 330, orderCost: 12, itemCount: 1, rating: 3, dailyReturn: -0.005, bid: 109, ask: 111, fxRate: 1, tradeDate: new Date(2026, 0, 6), settlementDate: new Date(2026, 0, 8) },
|
|
5
|
+
{ tradeId: 'T-03', make: 'Toyota', model: 'Hilux', category: 'Truck', currency: 'EUR', status: 'Open', instrument: 'AAPL', customer: 'Bright', price: 120, quantity: 2, notional: 240, orderCost: 8, itemCount: 4, rating: 5, dailyReturn: 0.02, bid: 119, ask: 121, fxRate: 1.08, tradeDate: new Date(2026, 0, 7), settlementDate: new Date(2026, 0, 9) },
|
|
6
|
+
{ tradeId: 'T-04', make: 'Ford', model: 'Focus', category: 'Sedan', currency: 'USD', status: 'Closed', instrument: 'GOOG', customer: 'Bright', price: 80, quantity: 6, notional: 480, orderCost: 9, itemCount: 3, rating: 2, dailyReturn: 0.015, bid: 79, ask: 81, fxRate: 1, tradeDate: new Date(2026, 0, 8), settlementDate: new Date(2026, 0, 12) },
|
|
7
|
+
{ tradeId: 'T-05', make: 'Ford', model: 'F-150', category: 'Truck', currency: 'EUR', status: 'Failed', instrument: 'AAPL', customer: 'Crest', price: 90, quantity: 4, notional: 360, orderCost: 11, itemCount: 2, rating: null, dailyReturn: -0.01, bid: 89, ask: 91, fxRate: 1.08, tradeDate: new Date(2026, 0, 9), settlementDate: new Date(2026, 0, 13) },
|
|
8
|
+
{ tradeId: 'T-06', make: 'Ford', model: 'GT', category: 'Sport', currency: 'USD', status: 'Open', instrument: 'TSLA', customer: 'Crest', price: 250, quantity: 1, notional: 250, orderCost: 20, itemCount: 1, rating: 5, dailyReturn: 0.03, bid: 249, ask: 251, fxRate: 1, tradeDate: new Date(2026, 0, 12), settlementDate: new Date(2026, 0, 14) },
|
|
9
|
+
{ tradeId: 'T-07', make: 'Porsche', model: '911', category: 'Sport', currency: 'EUR', status: 'Open', instrument: 'TSLA', customer: 'Delta', price: 300, quantity: 1, notional: 300, orderCost: 25, itemCount: 1, rating: 4, dailyReturn: 0.025, bid: 299, ask: 301, fxRate: 1.08, tradeDate: new Date(2026, 0, 13), settlementDate: new Date(2026, 0, 15) },
|
|
10
|
+
{ tradeId: 'T-08', make: 'Porsche', model: 'Cayenne', category: 'SUV', currency: 'GBP', status: 'Closed', instrument: 'GOOG', customer: 'Delta', price: null, quantity: 2, notional: 420, orderCost: 18, itemCount: 2, rating: 3, dailyReturn: 0, bid: 279, ask: 281, fxRate: 1.25, tradeDate: new Date(2026, 0, 14), settlementDate: new Date(2026, 0, 16) },
|
|
11
|
+
{ tradeId: 'T-09', make: 'Honda', model: 'Civic', category: 'Sedan', currency: 'GBP', status: 'Failed', instrument: 'MSFT', customer: 'Echo', price: 70, quantity: 8, notional: 560, orderCost: 7, itemCount: 5, rating: 1, dailyReturn: -0.02, bid: 69, ask: 71, fxRate: 1.25, tradeDate: new Date(2026, 0, 15), settlementDate: new Date(2026, 0, 19) },
|
|
12
|
+
{ tradeId: 'T-10', make: 'Honda', model: 'CR-V', category: 'SUV', currency: 'USD', status: 'Filled', instrument: 'AAPL', customer: 'Echo', price: 95, quantity: 4, notional: 380, orderCost: 10, itemCount: 3, rating: 4, dailyReturn: 0.005, bid: 94, ask: 96, fxRate: 1, tradeDate: new Date(2026, 0, 16), settlementDate: new Date(2026, 0, 20) },
|
|
13
|
+
];
|
|
14
|
+
export const goldenGridColumns = [
|
|
15
|
+
{ columnId: 'tradeId', dataType: 'text' },
|
|
16
|
+
{ columnId: 'make', dataType: 'text' },
|
|
17
|
+
{ columnId: 'model', dataType: 'text' },
|
|
18
|
+
{ columnId: 'category', dataType: 'text' },
|
|
19
|
+
{ columnId: 'currency', dataType: 'text' },
|
|
20
|
+
{ columnId: 'status', dataType: 'text' },
|
|
21
|
+
{ columnId: 'instrument', dataType: 'text' },
|
|
22
|
+
{ columnId: 'customer', dataType: 'text' },
|
|
23
|
+
{ columnId: 'price', dataType: 'number' },
|
|
24
|
+
{ columnId: 'quantity', dataType: 'number' },
|
|
25
|
+
{ columnId: 'notional', dataType: 'number' },
|
|
26
|
+
{ columnId: 'orderCost', dataType: 'number' },
|
|
27
|
+
{ columnId: 'itemCount', dataType: 'number' },
|
|
28
|
+
{ columnId: 'rating', dataType: 'number' },
|
|
29
|
+
{ columnId: 'dailyReturn', dataType: 'number' },
|
|
30
|
+
{ columnId: 'bid', dataType: 'number' },
|
|
31
|
+
{ columnId: 'ask', dataType: 'number' },
|
|
32
|
+
{ columnId: 'fxRate', dataType: 'number' },
|
|
33
|
+
{ columnId: 'tradeDate', dataType: 'date' },
|
|
34
|
+
{ columnId: 'settlementDate', dataType: 'date' },
|
|
35
|
+
];
|
|
36
|
+
export const createGoldenGridHost = () => createObjectDataHost({
|
|
37
|
+
rows: goldenGridRows,
|
|
38
|
+
columns: goldenGridColumns,
|
|
39
|
+
primaryKeyField: 'tradeId',
|
|
40
|
+
});
|
|
41
|
+
//# sourceMappingURL=goldenGrid.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"goldenGrid.js","sourceRoot":"","sources":["../../../src/corpus/goldenGrid.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,MAAM,8BAA8B,CAAC;AAkCpE,MAAM,CAAC,MAAM,cAAc,GAAqB;IAC9C,EAAE,OAAO,EAAE,MAAM,EAAE,IAAI,EAAE,QAAQ,EAAE,KAAK,EAAE,SAAS,EAAE,QAAQ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CAAC,CAAC"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { type QlArg, type QlGroup, type QlFnCall, type QlLiteral, type QlLogicalOperator, type QlPredicate, type QlPredicateError, type QlPrimitive } from '../predicate/index';
|
|
2
|
+
import { type FunctionPool } from '../operator/index';
|
|
3
|
+
import type { ExpressionFunctionInputType } from '../types';
|
|
4
|
+
export type DraftSubjectTypeResolver = (subject: QlArg | undefined) => ExpressionFunctionInputType | undefined;
|
|
5
|
+
export declare const emptyQlGroup: (combinator?: QlLogicalOperator) => QlGroup;
|
|
6
|
+
export declare const emptyQlPrimitive: () => QlPrimitive;
|
|
7
|
+
export declare const literalForRawValue: (value: unknown, type?: ExpressionFunctionInputType) => QlLiteral;
|
|
8
|
+
export declare const toArrayFnCall: (segments: unknown[], type?: ExpressionFunctionInputType) => QlFnCall;
|
|
9
|
+
export declare const literalOrPathArg: (value: unknown, type?: ExpressionFunctionInputType) => QlArg;
|
|
10
|
+
export declare const rawValueFromInListItem: (arg: QlArg | undefined) => unknown;
|
|
11
|
+
export declare const normalizeGroupColumnInValues: (values: unknown[]) => unknown[];
|
|
12
|
+
export declare const colRef: (columnId: string) => QlArg;
|
|
13
|
+
export declare const qlPrimitive: (operator: string | undefined, args: QlArg[]) => QlPrimitive;
|
|
14
|
+
export declare const asQlGroup: (predicate: QlPredicate | null, combinator?: QlLogicalOperator) => QlGroup;
|
|
15
|
+
export declare const wrapRootAsGroup: (node: QlPredicate | QlPredicateError | null) => QlPredicate | QlPredicateError;
|
|
16
|
+
/**
|
|
17
|
+
* Completeness is metadata-driven. Callers must pass the same resolved
|
|
18
|
+
* function pool used to offer operators in the editor.
|
|
19
|
+
*/
|
|
20
|
+
export declare const isQlPredicateComplete: (predicate: QlPredicate | null | undefined, pool: FunctionPool, resolveSubjectType?: DraftSubjectTypeResolver) => boolean;
|
|
21
|
+
export declare const pruneToCompletePredicates: (group: QlGroup, pool: FunctionPool, resolveSubjectType?: DraftSubjectTypeResolver) => QlGroup;
|
|
22
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/draft/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAML,KAAK,KAAK,EACV,KAAK,OAAO,EACZ,KAAK,QAAQ,EACb,KAAK,SAAS,EACd,KAAK,iBAAiB,EACtB,KAAK,WAAW,EAChB,KAAK,gBAAgB,EACrB,KAAK,WAAW,EACjB,MAAM,oBAAoB,CAAC;AAC5B,OAAO,EAML,KAAK,YAAY,EAClB,MAAM,mBAAmB,CAAC;AAC3B,OAAO,KAAK,EAAE,2BAA2B,EAAE,MAAM,UAAU,CAAC;AAE5D,MAAM,MAAM,wBAAwB,GAAG,CACrC,OAAO,EAAE,KAAK,GAAG,SAAS,KACvB,2BAA2B,GAAG,SAAS,CAAC;AAE7C,eAAO,MAAM,YAAY,gBACX,iBAAiB,KAC5B,OAID,CAAC;AAEH,eAAO,MAAM,gBAAgB,QAAO,WAIlC,CAAC;AAEH,eAAO,MAAM,kBAAkB,UACtB,OAAO,SACP,2BAA2B,KACjC,SAWF,CAAC;AAEF,eAAO,MAAM,aAAa,aACd,OAAO,EAAE,SACZ,2BAA2B,KACjC,QAID,CAAC;AAEH,eAAO,MAAM,gBAAgB,UACpB,OAAO,SACP,2BAA2B,KACjC,KAOF,CAAC;AAEF,eAAO,MAAM,sBAAsB,QAC5B,KAAK,GAAG,SAAS,KACrB,OASF,CAAC;AAEF,eAAO,MAAM,4BAA4B,WAC/B,OAAO,EAAE,KAChB,OAAO,EACuD,CAAC;AAElE,eAAO,MAAM,MAAM,aAAc,MAAM,KAAG,KAGxC,CAAC;AAEH,eAAO,MAAM,WAAW,aACZ,MAAM,GAAG,SAAS,QACtB,KAAK,EAAE,KACZ,WAID,CAAC;AAEH,eAAO,MAAM,SAAS,cACT,WAAW,GAAG,IAAI,eACjB,iBAAiB,KAC5B,OAIF,CAAC;AAEF,eAAO,MAAM,eAAe,SACpB,WAAW,GAAG,gBAAgB,GAAG,IAAI,KAC1C,WAAW,GAAG,gBAIhB,CAAC;AA6CF;;;GAGG;AACH,eAAO,MAAM,qBAAqB,cACrB,WAAW,GAAG,IAAI,GAAG,SAAS,QACnC,YAAY,uBACG,wBAAwB,KAC5C,OA2CF,CAAC;AAEF,eAAO,MAAM,yBAAyB,UAC7B,OAAO,QACR,YAAY,uBACG,wBAAwB,KAC5C,OAaD,CAAC"}
|
|
@@ -0,0 +1,147 @@
|
|
|
1
|
+
import { isQlFnCall, isQlGroup, isQlList, isQlLiteral, isQlPredicateError, } from '../predicate/index.js';
|
|
2
|
+
import { getEffectiveSubjectArgCount, getFunctionDef, isQueryBuilderOperator, readRhsSlots, resolveOperandSlots, } from '../operator/index.js';
|
|
3
|
+
export const emptyQlGroup = (combinator = 'AND') => ({
|
|
4
|
+
kind: 'group',
|
|
5
|
+
combinator,
|
|
6
|
+
children: [],
|
|
7
|
+
});
|
|
8
|
+
export const emptyQlPrimitive = () => ({
|
|
9
|
+
kind: 'predicate',
|
|
10
|
+
operator: undefined,
|
|
11
|
+
args: [],
|
|
12
|
+
});
|
|
13
|
+
export const literalForRawValue = (value, type) => {
|
|
14
|
+
if (type === 'date') {
|
|
15
|
+
return { kind: 'literal', type: 'date', value: value };
|
|
16
|
+
}
|
|
17
|
+
if (typeof value === 'number') {
|
|
18
|
+
return { kind: 'literal', type: 'number', value };
|
|
19
|
+
}
|
|
20
|
+
if (typeof value === 'boolean') {
|
|
21
|
+
return { kind: 'literal', type: 'boolean', value };
|
|
22
|
+
}
|
|
23
|
+
return { kind: 'literal', type: 'text', value: value };
|
|
24
|
+
};
|
|
25
|
+
export const toArrayFnCall = (segments, type) => ({
|
|
26
|
+
kind: 'fnCall',
|
|
27
|
+
operator: 'TO_ARRAY',
|
|
28
|
+
args: segments.map((segment) => literalForRawValue(segment, type)),
|
|
29
|
+
});
|
|
30
|
+
export const literalOrPathArg = (value, type) => {
|
|
31
|
+
if (Array.isArray(value)) {
|
|
32
|
+
return value.length === 1
|
|
33
|
+
? literalForRawValue(value[0], type)
|
|
34
|
+
: toArrayFnCall(value, type);
|
|
35
|
+
}
|
|
36
|
+
return literalForRawValue(value, type);
|
|
37
|
+
};
|
|
38
|
+
export const rawValueFromInListItem = (arg) => {
|
|
39
|
+
if (!arg)
|
|
40
|
+
return undefined;
|
|
41
|
+
if (isQlLiteral(arg))
|
|
42
|
+
return arg.value;
|
|
43
|
+
if (isQlFnCall(arg) && arg.operator === 'TO_ARRAY') {
|
|
44
|
+
return arg.args.map((segment) => isQlLiteral(segment) ? segment.value : undefined);
|
|
45
|
+
}
|
|
46
|
+
return undefined;
|
|
47
|
+
};
|
|
48
|
+
export const normalizeGroupColumnInValues = (values) => values.map((value) => (Array.isArray(value) ? value : [value]));
|
|
49
|
+
export const colRef = (columnId) => ({
|
|
50
|
+
kind: 'col',
|
|
51
|
+
columnId,
|
|
52
|
+
});
|
|
53
|
+
export const qlPrimitive = (operator, args) => ({
|
|
54
|
+
kind: 'predicate',
|
|
55
|
+
operator,
|
|
56
|
+
args,
|
|
57
|
+
});
|
|
58
|
+
export const asQlGroup = (predicate, combinator = 'AND') => {
|
|
59
|
+
if (!predicate)
|
|
60
|
+
return emptyQlGroup(combinator);
|
|
61
|
+
if (isQlGroup(predicate))
|
|
62
|
+
return predicate;
|
|
63
|
+
return { kind: 'group', combinator, children: [predicate] };
|
|
64
|
+
};
|
|
65
|
+
export const wrapRootAsGroup = (node) => {
|
|
66
|
+
if (!node)
|
|
67
|
+
return emptyQlGroup();
|
|
68
|
+
if (isQlPredicateError(node) || isQlGroup(node))
|
|
69
|
+
return node;
|
|
70
|
+
return { kind: 'group', combinator: 'AND', children: [node] };
|
|
71
|
+
};
|
|
72
|
+
const isLiteralValueEmpty = (literal) => {
|
|
73
|
+
if (literal.type === 'null')
|
|
74
|
+
return false;
|
|
75
|
+
const { value } = literal;
|
|
76
|
+
if (value === null || value === undefined)
|
|
77
|
+
return true;
|
|
78
|
+
if (typeof value === 'string')
|
|
79
|
+
return value === '';
|
|
80
|
+
if (typeof value === 'number')
|
|
81
|
+
return Number.isNaN(value);
|
|
82
|
+
return false;
|
|
83
|
+
};
|
|
84
|
+
const isArgComplete = (arg, pool, resolveSubjectType) => {
|
|
85
|
+
if (!arg)
|
|
86
|
+
return false;
|
|
87
|
+
if (isQlLiteral(arg))
|
|
88
|
+
return !isLiteralValueEmpty(arg);
|
|
89
|
+
if (isQlList(arg)) {
|
|
90
|
+
return (arg.items.length > 0 &&
|
|
91
|
+
arg.items.every((item) => isArgComplete(item, pool, resolveSubjectType)));
|
|
92
|
+
}
|
|
93
|
+
if (arg.kind === 'aggCall') {
|
|
94
|
+
const clauseOperands = [arg.over, arg.weight, arg.cumulativeOver].filter((operand) => operand != null);
|
|
95
|
+
return (arg.inputs.length > 0 &&
|
|
96
|
+
[...arg.inputs, ...arg.groupBy, ...clauseOperands].every((operand) => isArgComplete(operand, pool, resolveSubjectType)) &&
|
|
97
|
+
(arg.where == null ||
|
|
98
|
+
isQlPredicateComplete(arg.where, pool, resolveSubjectType)));
|
|
99
|
+
}
|
|
100
|
+
if (arg.kind === 'group' || arg.kind === 'predicate') {
|
|
101
|
+
return isQlPredicateComplete(arg, pool, resolveSubjectType);
|
|
102
|
+
}
|
|
103
|
+
return true;
|
|
104
|
+
};
|
|
105
|
+
/**
|
|
106
|
+
* Completeness is metadata-driven. Callers must pass the same resolved
|
|
107
|
+
* function pool used to offer operators in the editor.
|
|
108
|
+
*/
|
|
109
|
+
export const isQlPredicateComplete = (predicate, pool, resolveSubjectType) => {
|
|
110
|
+
if (!predicate)
|
|
111
|
+
return false;
|
|
112
|
+
if (isQlGroup(predicate)) {
|
|
113
|
+
return (predicate.children.length > 0 &&
|
|
114
|
+
predicate.children.every((child) => isQlPredicateComplete(child, pool, resolveSubjectType)));
|
|
115
|
+
}
|
|
116
|
+
if (!predicate.operator)
|
|
117
|
+
return false;
|
|
118
|
+
if (predicate.operator === 'NOT') {
|
|
119
|
+
return (predicate.args.length === 1 &&
|
|
120
|
+
isArgComplete(predicate.args[0], pool, resolveSubjectType));
|
|
121
|
+
}
|
|
122
|
+
const fn = getFunctionDef(predicate.operator, pool);
|
|
123
|
+
if (!fn || !isQueryBuilderOperator(predicate.operator, fn)) {
|
|
124
|
+
return predicate.args.every((arg) => isArgComplete(arg, pool, resolveSubjectType));
|
|
125
|
+
}
|
|
126
|
+
const subjectArgCount = getEffectiveSubjectArgCount(fn, predicate.args);
|
|
127
|
+
if (subjectArgCount === 1 &&
|
|
128
|
+
!isArgComplete(predicate.args[0], pool, resolveSubjectType)) {
|
|
129
|
+
return false;
|
|
130
|
+
}
|
|
131
|
+
const slots = resolveOperandSlots(fn, subjectArgCount === 1
|
|
132
|
+
? resolveSubjectType?.(predicate.args[0])
|
|
133
|
+
: undefined);
|
|
134
|
+
const values = readRhsSlots(predicate, slots, subjectArgCount);
|
|
135
|
+
return slots.every((_, index) => isArgComplete(values[index], pool, resolveSubjectType));
|
|
136
|
+
};
|
|
137
|
+
export const pruneToCompletePredicates = (group, pool, resolveSubjectType) => ({
|
|
138
|
+
...group,
|
|
139
|
+
children: group.children
|
|
140
|
+
.map((child) => isQlGroup(child)
|
|
141
|
+
? pruneToCompletePredicates(child, pool, resolveSubjectType)
|
|
142
|
+
: child)
|
|
143
|
+
.filter((child) => isQlGroup(child)
|
|
144
|
+
? child.children.length > 0
|
|
145
|
+
: isQlPredicateComplete(child, pool, resolveSubjectType)),
|
|
146
|
+
});
|
|
147
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/draft/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,UAAU,EACV,SAAS,EACT,QAAQ,EACR,WAAW,EACX,kBAAkB,GASnB,MAAM,oBAAoB,CAAC;AAC5B,OAAO,EACL,2BAA2B,EAC3B,cAAc,EACd,sBAAsB,EACtB,YAAY,EACZ,mB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 +1,51 @@
|
|
|
1
|
+
import { type QlLogicalOperator, type QlPredicate, type QlPrimitive } from '../predicate/index';
|
|
2
|
+
export type TreeStep = number | 'not';
|
|
3
|
+
export type TreePath = TreeStep[];
|
|
4
|
+
export declare const pathId: (path: TreePath) => string;
|
|
5
|
+
export declare function assertNever(value: never, message?: string): never;
|
|
6
|
+
export declare const isNotPrimitive: (node: QlPredicate) => node is QlPrimitive;
|
|
7
|
+
export declare const getNodeAtPath: (root: QlPredicate, path: TreePath) => QlPredicate | undefined;
|
|
8
|
+
export declare const replaceAtPath: (root: QlPredicate, path: TreePath, next: QlPredicate) => QlPredicate;
|
|
9
|
+
export declare const deleteAtPath: (root: QlPredicate, path: TreePath) => QlPredicate;
|
|
10
|
+
export declare const insertSiblingAfter: (root: QlPredicate, path: TreePath, node: QlPredicate) => QlPredicate;
|
|
11
|
+
export declare const appendChild: (root: QlPredicate, groupPath: TreePath, node: QlPredicate) => QlPredicate;
|
|
12
|
+
export declare const reorderChildren: (root: QlPredicate, groupPath: TreePath, from: number, to: number) => QlPredicate;
|
|
13
|
+
export declare const setCombinator: (root: QlPredicate, groupPath: TreePath, combinator: QlLogicalOperator) => QlPredicate;
|
|
14
|
+
export declare const wrapInGroup: (root: QlPredicate, path: TreePath, combinator?: QlLogicalOperator) => QlPredicate;
|
|
15
|
+
/**
|
|
16
|
+
* NOT remains parseable/editable through `'not'` paths, but the editor
|
|
17
|
+
* omits unused wrap/unwrap actions. No UI dispatched them; retaining dead
|
|
18
|
+
* actions would falsely imply a supported creation affordance.
|
|
19
|
+
*/
|
|
20
|
+
export type TreeAction = {
|
|
21
|
+
type: 'replace';
|
|
22
|
+
path: TreePath;
|
|
23
|
+
node: QlPredicate;
|
|
24
|
+
} | {
|
|
25
|
+
type: 'delete';
|
|
26
|
+
path: TreePath;
|
|
27
|
+
} | {
|
|
28
|
+
type: 'insertSiblingAfter';
|
|
29
|
+
path: TreePath;
|
|
30
|
+
node: QlPredicate;
|
|
31
|
+
} | {
|
|
32
|
+
type: 'appendChild';
|
|
33
|
+
groupPath: TreePath;
|
|
34
|
+
node: QlPredicate;
|
|
35
|
+
} | {
|
|
36
|
+
type: 'reorderChildren';
|
|
37
|
+
groupPath: TreePath;
|
|
38
|
+
from: number;
|
|
39
|
+
to: number;
|
|
40
|
+
} | {
|
|
41
|
+
type: 'setCombinator';
|
|
42
|
+
groupPath: TreePath;
|
|
43
|
+
combinator: QlLogicalOperator;
|
|
44
|
+
} | {
|
|
45
|
+
type: 'wrapInGroup';
|
|
46
|
+
path: TreePath;
|
|
47
|
+
combinator?: QlLogicalOperator;
|
|
48
|
+
};
|
|
49
|
+
export type TreeDispatch = (action: TreeAction) => void;
|
|
50
|
+
export declare const applyTreeAction: (root: QlPredicate, action: TreeAction) => QlPredicate;
|
|
51
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/editor-tree/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAIL,KAAK,iBAAiB,EACtB,KAAK,WAAW,EAChB,KAAK,WAAW,EACjB,MAAM,oBAAoB,CAAC;AAE5B,MAAM,MAAM,QAAQ,GAAG,MAAM,GAAG,KAAK,CAAC;AACtC,MAAM,MAAM,QAAQ,GAAG,QAAQ,EAAE,CAAC;AAElC,eAAO,MAAM,MAAM,SAAU,QAAQ,KAAG,MACK,CAAC;AAE9C,wBAAgB,WAAW,CACzB,KAAK,EAAE,KAAK,EACZ,OAAO,SAAuB,GAC7B,KAAK,CAEP;AAED,eAAO,MAAM,cAAc,SAAU,WAAW,KAAG,IAAI,IAAI,WACL,CAAC;AAEvD,eAAO,MAAM,aAAa,SAClB,WAAW,QACX,QAAQ,KACb,WAAW,GAAG,SAchB,CAAC;AAoDF,eAAO,MAAM,aAAa,SAClB,WAAW,QACX,QAAQ,QACR,WAAW,KAChB,WAAoD,CAAC;AAExD,eAAO,MAAM,YAAY,SACjB,WAAW,QACX,Q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Y,GAAG,CAAC,MAAM,EAAE,UAAU,KAAK,IAAI,CAAC;AAExD,eAAO,MAAM,eAAe,SACpB,WAAW,UACT,UAAU,KACjB,WAwBF,CAAC"}
|
|
@@ -0,0 +1,134 @@
|
|
|
1
|
+
import { isQlArgPredicate, isQlGroup, } from '../predicate/index.js';
|
|
2
|
+
export const pathId = (path) => path.length === 0 ? 'root' : path.join('/');
|
|
3
|
+
export function assertNever(value, message = 'Unexpected variant') {
|
|
4
|
+
throw new Error(`${message}: ${JSON.stringify(value)}`);
|
|
5
|
+
}
|
|
6
|
+
export const isNotPrimitive = (node) => node.kind === 'predicate' && node.operator === 'NOT';
|
|
7
|
+
export const getNodeAtPath = (root, path) => {
|
|
8
|
+
let current = root;
|
|
9
|
+
for (const step of path) {
|
|
10
|
+
if (!current)
|
|
11
|
+
return undefined;
|
|
12
|
+
if (step === 'not') {
|
|
13
|
+
if (!isNotPrimitive(current))
|
|
14
|
+
return undefined;
|
|
15
|
+
const inner = current.args[0];
|
|
16
|
+
current = inner && isQlArgPredicate(inner) ? inner : undefined;
|
|
17
|
+
}
|
|
18
|
+
else {
|
|
19
|
+
if (!isQlGroup(current))
|
|
20
|
+
return undefined;
|
|
21
|
+
current = current.children[step];
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
return current;
|
|
25
|
+
};
|
|
26
|
+
const mapNodeAtPath = (root, path, map) => {
|
|
27
|
+
if (path.length === 0)
|
|
28
|
+
return map(root);
|
|
29
|
+
const [step, ...rest] = path;
|
|
30
|
+
if (step === 'not') {
|
|
31
|
+
if (!isNotPrimitive(root)) {
|
|
32
|
+
throw new Error("tree: 'not' step applied to a non-NOT node");
|
|
33
|
+
}
|
|
34
|
+
const inner = root.args[0];
|
|
35
|
+
if (!inner || !isQlArgPredicate(inner)) {
|
|
36
|
+
throw new Error('tree: NOT node has no inner predicate');
|
|
37
|
+
}
|
|
38
|
+
return {
|
|
39
|
+
...root,
|
|
40
|
+
args: [mapNodeAtPath(inner, rest, map), ...root.args.slice(1)],
|
|
41
|
+
};
|
|
42
|
+
}
|
|
43
|
+
if (!isQlGroup(root)) {
|
|
44
|
+
throw new Error('tree: numeric step applied to a non-group node');
|
|
45
|
+
}
|
|
46
|
+
const child = root.children[step];
|
|
47
|
+
if (!child)
|
|
48
|
+
throw new Error(`tree: no child at index ${step}`);
|
|
49
|
+
const children = root.children.slice();
|
|
50
|
+
children[step] = mapNodeAtPath(child, rest, map);
|
|
51
|
+
return { ...root, children };
|
|
52
|
+
};
|
|
53
|
+
const splitParent = (path) => {
|
|
54
|
+
if (path.length === 0)
|
|
55
|
+
throw new Error('tree: the root has no parent');
|
|
56
|
+
const last = path[path.length - 1];
|
|
57
|
+
if (typeof last !== 'number') {
|
|
58
|
+
throw new Error('tree: expected a numeric last step (a group child)');
|
|
59
|
+
}
|
|
60
|
+
return { parentPath: path.slice(0, -1), index: last };
|
|
61
|
+
};
|
|
62
|
+
const expectGroup = (node, operation) => {
|
|
63
|
+
if (!isQlGroup(node)) {
|
|
64
|
+
throw new Error(`tree: ${operation} target is not a group`);
|
|
65
|
+
}
|
|
66
|
+
return node;
|
|
67
|
+
};
|
|
68
|
+
export const replaceAtPath = (root, path, next) => mapNodeAtPath(root, path, () => next);
|
|
69
|
+
export const deleteAtPath = (root, path) => {
|
|
70
|
+
const { parentPath, index } = splitParent(path);
|
|
71
|
+
return mapNodeAtPath(root, parentPath, (parent) => {
|
|
72
|
+
const group = expectGroup(parent, 'delete');
|
|
73
|
+
return {
|
|
74
|
+
...group,
|
|
75
|
+
children: group.children.filter((_, childIndex) => childIndex !== index),
|
|
76
|
+
};
|
|
77
|
+
});
|
|
78
|
+
};
|
|
79
|
+
export const insertSiblingAfter = (root, path, node) => {
|
|
80
|
+
const { parentPath, index } = splitParent(path);
|
|
81
|
+
return mapNodeAtPath(root, parentPath, (parent) => {
|
|
82
|
+
const group = expectGroup(parent, 'insertSiblingAfter');
|
|
83
|
+
const children = group.children.slice();
|
|
84
|
+
children.splice(index + 1, 0, node);
|
|
85
|
+
return { ...group, children };
|
|
86
|
+
});
|
|
87
|
+
};
|
|
88
|
+
export const appendChild = (root, groupPath, node) => mapNodeAtPath(root, groupPath, (target) => {
|
|
89
|
+
const group = expectGroup(target, 'appendChild');
|
|
90
|
+
return { ...group, children: [...group.children, node] };
|
|
91
|
+
});
|
|
92
|
+
export const reorderChildren = (root, groupPath, from, to) => mapNodeAtPath(root, groupPath, (target) => {
|
|
93
|
+
const group = expectGroup(target, 'reorderChildren');
|
|
94
|
+
const children = group.children.slice();
|
|
95
|
+
if (from < 0 ||
|
|
96
|
+
from >= children.length ||
|
|
97
|
+
to < 0 ||
|
|
98
|
+
to >= children.length) {
|
|
99
|
+
return group;
|
|
100
|
+
}
|
|
101
|
+
const [moved] = children.splice(from, 1);
|
|
102
|
+
children.splice(to, 0, moved);
|
|
103
|
+
return { ...group, children };
|
|
104
|
+
});
|
|
105
|
+
export const setCombinator = (root, groupPath, combinator) => mapNodeAtPath(root, groupPath, (target) => ({
|
|
106
|
+
...expectGroup(target, 'setCombinator'),
|
|
107
|
+
combinator,
|
|
108
|
+
}));
|
|
109
|
+
export const wrapInGroup = (root, path, combinator = 'AND') => mapNodeAtPath(root, path, (node) => ({
|
|
110
|
+
kind: 'group',
|
|
111
|
+
combinator,
|
|
112
|
+
children: [node],
|
|
113
|
+
}));
|
|
114
|
+
export const applyTreeAction = (root, action) => {
|
|
115
|
+
switch (action.type) {
|
|
116
|
+
case 'replace':
|
|
117
|
+
return replaceAtPath(root, action.path, action.node);
|
|
118
|
+
case 'delete':
|
|
119
|
+
return deleteAtPath(root, action.path);
|
|
120
|
+
case 'insertSiblingAfter':
|
|
121
|
+
return insertSiblingAfter(root, action.path, action.node);
|
|
122
|
+
case 'appendChild':
|
|
123
|
+
return appendChild(root, action.groupPath, action.node);
|
|
124
|
+
case 'reorderChildren':
|
|
125
|
+
return reorderChildren(root, action.groupPath, action.from, action.to);
|
|
126
|
+
case 'setCombinator':
|
|
127
|
+
return setCombinator(root, action.groupPath, action.combinator);
|
|
128
|
+
case 'wrapInGroup':
|
|
129
|
+
return wrapInGroup(root, action.path, action.combinator);
|
|
130
|
+
default:
|
|
131
|
+
return assertNever(action);
|
|
132
|
+
}
|
|
133
|
+
};
|
|
134
|
+
//# sourceMappingURL=index.js.map
|