@adaptabletools/adaptable 24.0.0-canary.1 → 24.0.0-canary.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/agGrid.d.ts +2 -3
- package/agGrid.js +2 -3
- package/aql.d.ts +132 -0
- package/aql.js +260 -0
- package/devtools.d.ts +237 -2
- package/index.css +307 -294
- package/index.d.ts +2 -3
- package/index.js +2 -3
- package/package.json +7 -6
- package/src/AdaptableInterfaces/IAdaptable.d.ts +4 -4
- package/src/AdaptableOptions/ActionColumnOptions.d.ts +24 -0
- package/src/AdaptableOptions/AdaptableOptions.d.ts +97 -69
- package/src/AdaptableOptions/AdaptablePlugin.d.ts +113 -1
- package/src/AdaptableOptions/AlertOptions.d.ts +0 -2
- package/src/AdaptableOptions/ChartingOptions.d.ts +11 -5
- package/src/AdaptableOptions/ColumnMenuOptions.d.ts +30 -0
- package/src/AdaptableOptions/ColumnOptions.d.ts +0 -2
- package/src/AdaptableOptions/CommentOptions.d.ts +12 -4
- package/src/AdaptableOptions/ContextMenuOptions.d.ts +31 -1
- package/src/AdaptableOptions/DashboardOptions.d.ts +0 -3
- package/src/AdaptableOptions/DataChangeHistoryOptions.d.ts +3 -2
- package/src/AdaptableOptions/DefaultAdaptableOptions.js +11 -5
- package/src/AdaptableOptions/EditOptions.d.ts +18 -2
- package/src/AdaptableOptions/ExportOptions.d.ts +23 -0
- package/src/AdaptableOptions/ExpressionOptions.d.ts +0 -3
- package/src/AdaptableOptions/Fdc3Options.d.ts +77 -3
- package/src/AdaptableOptions/FilterOptions.d.ts +13 -8
- package/src/AdaptableOptions/FlashingCellOptions.d.ts +3 -3
- package/src/AdaptableOptions/LayoutOptions.d.ts +16 -3
- package/src/AdaptableOptions/NotificationsOptions.d.ts +0 -1
- package/src/AdaptableOptions/QuickSearchOptions.d.ts +0 -2
- package/src/AdaptableOptions/RowFormOptions.d.ts +9 -0
- package/src/AdaptableOptions/SettingsPanelOptions.d.ts +16 -5
- package/src/AdaptableOptions/StateOptions.d.ts +37 -13
- package/src/AdaptableOptions/ToolPanelOptions.d.ts +0 -1
- package/src/AdaptableOptions/UserInterfaceOptions.d.ts +89 -6
- package/src/AdaptableState/AdaptableState.d.ts +99 -3
- package/src/AdaptableState/AlertState.d.ts +20 -21
- package/src/AdaptableState/ApplicationState.d.ts +5 -3
- package/src/AdaptableState/BaseState.d.ts +9 -2
- package/src/AdaptableState/CalculatedColumnState.d.ts +10 -8
- package/src/AdaptableState/ChartingState.d.ts +10 -5
- package/src/AdaptableState/CommentState.d.ts +10 -4
- package/src/AdaptableState/Common/AdaptableAlert.d.ts +21 -2
- package/src/AdaptableState/Common/AdaptableAlert.js +9 -0
- package/src/AdaptableState/Common/AdaptableButton.d.ts +3 -1
- package/src/AdaptableState/Common/AdaptableColumn.d.ts +38 -1
- package/src/AdaptableState/Common/AdaptableFilterState.d.ts +3 -1
- package/src/AdaptableState/Common/AdaptableFlashingCell.d.ts +3 -1
- package/src/AdaptableState/Common/AdaptableForm.d.ts +9 -0
- package/src/AdaptableState/Common/AdaptableFormat.d.ts +27 -1
- package/src/AdaptableState/Common/AdaptableIcon.d.ts +4 -2
- package/src/AdaptableState/Common/AdaptableObject.d.ts +9 -1
- package/src/AdaptableState/Common/AdaptableQuery.d.ts +9 -0
- package/src/AdaptableState/Common/AdaptableStyle.d.ts +6 -8
- package/src/AdaptableState/Common/AggregationColumns.d.ts +15 -6
- package/src/AdaptableState/Common/ButtonStyle.d.ts +3 -1
- package/src/AdaptableState/Common/CellDataChangedInfo.d.ts +6 -2
- package/src/AdaptableState/Common/CellHighlightInfo.d.ts +4 -2
- package/src/AdaptableState/Common/CellSummary.d.ts +33 -0
- package/src/AdaptableState/Common/ColumnFilter.d.ts +3 -1
- package/src/AdaptableState/Common/ColumnHighlightInfo.d.ts +4 -2
- package/src/AdaptableState/Common/ColumnScope.d.ts +32 -1
- package/src/AdaptableState/Common/ColumnSetupInfo.d.ts +17 -0
- package/src/AdaptableState/Common/ColumnSort.d.ts +3 -1
- package/src/AdaptableState/Common/CompactCalculatedColumnEditorInfo.d.ts +3 -0
- package/src/AdaptableState/Common/DataChangedScope.d.ts +3 -1
- package/src/AdaptableState/Common/DataUpdateConfig.d.ts +3 -1
- package/src/AdaptableState/Common/Entitlement.d.ts +4 -2
- package/src/AdaptableState/Common/Enums.d.ts +21 -0
- package/src/AdaptableState/Common/ExtendedLayout.d.ts +3 -1
- package/src/AdaptableState/Common/Fdc3Context.d.ts +9 -0
- package/src/AdaptableState/Common/Fdc3Intent.d.ts +6 -0
- package/src/AdaptableState/Common/GridFilter.d.ts +3 -1
- package/src/AdaptableState/Common/MenuItem.d.ts +9 -0
- package/src/AdaptableState/Common/RowHighlightInfo.d.ts +4 -2
- package/src/AdaptableState/Common/RowScope.d.ts +3 -1
- package/src/AdaptableState/Common/RowSummary.d.ts +14 -4
- package/src/AdaptableState/Common/RowsHighlightInfo.d.ts +5 -3
- package/src/AdaptableState/Common/Schedule.d.ts +10 -2
- package/src/AdaptableState/Common/SpecialColumnSettings.d.ts +3 -1
- package/src/AdaptableState/Common/SystemStatusMessageInfo.d.ts +4 -2
- package/src/AdaptableState/Common/TransposeConfig.d.ts +1 -1
- package/src/AdaptableState/Common/Types.d.ts +9 -0
- package/src/AdaptableState/CustomSortState.d.ts +8 -5
- package/src/AdaptableState/DashboardState.d.ts +14 -10
- package/src/AdaptableState/ExportState.d.ts +12 -4
- package/src/AdaptableState/FlashingCellState.d.ts +8 -5
- package/src/AdaptableState/FormatColumnState.d.ts +28 -8
- package/src/AdaptableState/FreeTextColumnState.d.ts +14 -8
- package/src/AdaptableState/IPushPullState.d.ts +39 -3
- package/src/AdaptableState/InitialState.d.ts +9 -9
- package/src/AdaptableState/InternalState.d.ts +183 -3
- package/src/AdaptableState/LayoutState.d.ts +64 -21
- package/src/AdaptableState/NamedQueryState.d.ts +16 -4
- package/src/AdaptableState/NoteState.d.ts +7 -3
- package/src/AdaptableState/OpenFinState.d.ts +12 -2
- package/src/AdaptableState/PlusMinusState.d.ts +8 -4
- package/src/AdaptableState/PopupState.d.ts +29 -1
- package/src/AdaptableState/QuickSearchState.d.ts +9 -3
- package/src/AdaptableState/Selection/GridCell.d.ts +5 -3
- package/src/AdaptableState/Selection/GridCellRange.d.ts +8 -7
- package/src/AdaptableState/Selection/SelectedCellInfo.d.ts +1 -1
- package/src/AdaptableState/ShortcutState.d.ts +7 -3
- package/src/AdaptableState/StatusBarState.d.ts +7 -6
- package/src/AdaptableState/StyledColumnState.d.ts +46 -14
- package/src/AdaptableState/StyledColumns/GradientStyle.d.ts +4 -0
- package/src/AdaptableState/TeamSharingState.d.ts +46 -2
- package/src/AdaptableState/ThemeState.d.ts +24 -2
- package/src/AdaptableState/ToolPanelState.d.ts +10 -5
- package/src/AdaptableState/UserInterfaceState.d.ts +2 -2
- package/src/AdaptableState/Uuid.d.ts +6 -0
- package/src/Api/ActionColumnApi.d.ts +3 -1
- package/src/Api/AdaptableApi.d.ts +54 -50
- package/src/Api/AlertApi.d.ts +20 -12
- package/src/Api/ApplicationApi.d.ts +6 -2
- package/src/Api/BulkUpdateApi.d.ts +2 -1
- package/src/Api/CalculatedColumnApi.d.ts +4 -1
- package/src/Api/CalendarApi.d.ts +10 -0
- package/src/Api/CellSummaryApi.d.ts +9 -3
- package/src/Api/ChartingApi.d.ts +22 -7
- package/src/Api/ColumnApi.d.ts +71 -4
- package/src/Api/ColumnFilterApi.d.ts +13 -3
- package/src/Api/ColumnMenuApi.d.ts +13 -2
- package/src/Api/ColumnScopeApi.d.ts +27 -1
- package/src/Api/CommentApi.d.ts +10 -7
- package/src/Api/ContextMenuApi.d.ts +11 -1
- package/src/Api/CustomSortApi.d.ts +6 -2
- package/src/Api/DashboardApi.d.ts +30 -9
- package/src/Api/DataChangeHistoryApi.d.ts +9 -3
- package/src/Api/DataImportApi.d.ts +1 -1
- package/src/Api/EntitlementApi.d.ts +6 -1
- package/src/Api/EventApi.d.ts +67 -19
- package/src/Api/Events/AdaptableReady.d.ts +6 -2
- package/src/Api/Events/AdaptableStateChanged.d.ts +9 -5
- package/src/Api/Events/AdaptableStateReloaded.d.ts +7 -3
- package/src/Api/Events/AlertFired.d.ts +8 -2
- package/src/Api/Events/BeforeAdaptableStateChange.d.ts +6 -2
- package/src/Api/Events/CalculatedColumnChanged.d.ts +7 -3
- package/src/Api/Events/CellChanged.d.ts +6 -2
- package/src/Api/Events/CellSelectionChanged.d.ts +6 -2
- package/src/Api/Events/ChartChanged.d.ts +16 -8
- package/src/Api/Events/CommentChanged.d.ts +8 -2
- package/src/Api/Events/CustomToolbarConfigured.d.ts +6 -2
- package/src/Api/Events/DashboardChanged.d.ts +27 -6
- package/src/Api/Events/DataImported.d.ts +8 -4
- package/src/Api/Events/DataSetSelected.d.ts +6 -2
- package/src/Api/Events/Fdc3MessageInfo.d.ts +14 -4
- package/src/Api/Events/FlashingCellDisplayed.d.ts +6 -2
- package/src/Api/Events/GridFilterApplied.d.ts +11 -3
- package/src/Api/Events/GridSorted.d.ts +6 -2
- package/src/Api/Events/LayoutChanged.d.ts +41 -8
- package/src/Api/Events/LiveDataChanged.d.ts +21 -5
- package/src/Api/Events/NoteChanged.d.ts +5 -1
- package/src/Api/Events/ReportScheduleRan.d.ts +7 -3
- package/src/Api/Events/RowChanged.d.ts +6 -2
- package/src/Api/Events/RowFormSubmitted.d.ts +28 -12
- package/src/Api/Events/RowSelectionChanged.d.ts +6 -2
- package/src/Api/Events/SystemStatusMessageDisplayed.d.ts +6 -2
- package/src/Api/Events/TeamSharingEntityChanged.d.ts +6 -2
- package/src/Api/Events/ThemeSelected.d.ts +6 -2
- package/src/Api/ExportApi.d.ts +59 -32
- package/src/Api/ExpressionApi.d.ts +24 -1
- package/src/Api/Fdc3Api.d.ts +16 -3
- package/src/Api/FlashingCellApi.d.ts +6 -1
- package/src/Api/FormatColumnApi.d.ts +18 -11
- package/src/Api/FreeTextColumnApi.d.ts +4 -2
- package/src/Api/GridApi.d.ts +92 -19
- package/src/Api/IPushPullApi.d.ts +19 -2
- package/src/Api/Implementation/AlertApiImpl.d.ts +5 -5
- package/src/Api/Implementation/AlertApiImpl.js +26 -19
- package/src/Api/Implementation/ColumnScopeApiImpl.js +3 -3
- package/src/Api/Implementation/QuickSearchApiImpl.js +2 -2
- package/src/Api/Implementation/StateApiImpl.d.ts +1 -1
- package/src/Api/Implementation/StateApiImpl.js +4 -3
- package/src/Api/Implementation/UserInterfaceApiImpl.d.ts +0 -1
- package/src/Api/Implementation/UserInterfaceApiImpl.js +9 -15
- package/src/Api/Internal/AdaptableInternalApi.js +5 -3
- package/src/Api/Internal/AlertInternalApi.js +12 -7
- package/src/Api/Internal/CalculatedColumnInternalApi.js +1 -1
- package/src/Api/Internal/EventInternalApi.d.ts +2 -1
- package/src/Api/Internal/EventInternalApi.js +7 -0
- package/src/Api/Internal/StateInternalApi.d.ts +1 -1
- package/src/Api/Internal/StateInternalApi.js +6 -5
- package/src/Api/InteropioPluginApi.d.ts +2 -1
- package/src/Api/LayoutApi.d.ts +29 -15
- package/src/Api/NamedQueryApi.d.ts +10 -6
- package/src/Api/NoteApi.d.ts +15 -11
- package/src/Api/OpenFinApi.d.ts +8 -2
- package/src/Api/OptionsApi.d.ts +43 -1
- package/src/Api/PluginsApi.d.ts +6 -1
- package/src/Api/PlusMinusApi.d.ts +2 -1
- package/src/Api/QuickSearchApi.d.ts +6 -1
- package/src/Api/RowFormApi.d.ts +8 -7
- package/src/Api/ShortcutApi.d.ts +3 -1
- package/src/Api/SmartEditApi.d.ts +4 -1
- package/src/Api/StateApi.d.ts +32 -4
- package/src/Api/StatusBarApi.d.ts +2 -0
- package/src/Api/StyledColumnApi.d.ts +23 -12
- package/src/Api/SystemStatusApi.d.ts +18 -6
- package/src/Api/TeamSharingApi.d.ts +8 -1
- package/src/Api/ThemeApi.d.ts +17 -8
- package/src/Api/ToolPanelApi.d.ts +12 -7
- package/src/Api/UserInterfaceApi.d.ts +10 -5
- package/src/Redux/ActionsReducers/LayoutRedux.d.ts +3 -3
- package/src/Redux/ActionsReducers/QuickSearchRedux.d.ts +9 -4
- package/src/Redux/ActionsReducers/QuickSearchRedux.js +12 -7
- package/src/Redux/Store/AdaptableReduxLocalStorageEngine.d.ts +8 -0
- package/src/Redux/Store/AdaptableReduxLocalStorageEngine.js +12 -12
- package/src/Redux/Store/AdaptableStore.d.ts +8 -5
- package/src/Redux/Store/AdaptableStore.js +75 -41
- package/src/Redux/Store/Interface/IAdaptableStore.d.ts +5 -5
- package/src/Redux/Store/Interface/IStorageEngine.d.ts +4 -4
- package/src/Redux/Store/StateOptionsGuards.d.ts +58 -0
- package/src/Redux/Store/StateOptionsGuards.js +112 -0
- package/src/Redux/Store/isTransientReduxAction.d.ts +5 -0
- package/src/Redux/Store/isTransientReduxAction.js +19 -0
- package/src/Utilities/Constants/DocumentationLinkConstants.d.ts +1 -0
- package/src/Utilities/Constants/DocumentationLinkConstants.js +1 -0
- package/src/Utilities/Constants/ReduxConstants.d.ts +2 -2
- package/src/Utilities/Constants/ReduxConstants.js +5 -5
- package/src/Utilities/Helpers/AlertTypeHelper.d.ts +1 -1
- package/src/Utilities/Helpers/SettingsPanelHelper.d.ts +14 -0
- package/src/Utilities/Helpers/SettingsPanelHelper.js +37 -1
- package/src/Utilities/Helpers/UIHelper.d.ts +12 -14
- package/src/Utilities/Helpers/UIHelper.js +12 -35
- package/src/Utilities/ObjectFactory.js +3 -3
- package/src/View/Components/Popups/AdaptablePopup/Navigation.js +9 -11
- package/src/View/Components/StyleComponent.js +2 -2
- package/src/View/Dashboard/Dashboard.d.ts +1 -1
- package/src/View/Dashboard/Dashboard.js +1 -1
- package/src/View/Dashboard/DashboardPopupSections.js +1 -1
- package/src/View/Filter/ColumnFilter/ColumnFilterNew.js +14 -9
- package/src/View/GridInfo/GridInfoPopup.js +62 -25
- package/src/View/QuickSearch/QuickSearchInput.js +1 -1
- package/src/View/QuickSearch/QuickSearchPopup.d.ts +1 -1
- package/src/View/QuickSearch/QuickSearchPopup.js +1 -1
- package/src/View/QuickSearch/Utilities/useQuickSearchDebounced.d.ts +2 -2
- package/src/View/StyledColumn/RangesComponent.js +13 -16
- package/src/View/StyledColumn/Wizard/BadgePillStyleEditor.d.ts +0 -2
- package/src/View/StyledColumn/Wizard/BadgePillStyleEditor.js +2 -2
- package/src/View/StyledColumn/Wizard/StyledColumnBadgeSection.js +2 -3
- package/src/View/StyledColumn/Wizard/StyledColumnSliceStyleEditors.d.ts +0 -3
- package/src/View/StyledColumn/Wizard/StyledColumnSliceStyleEditors.js +3 -3
- package/src/View/StyledColumn/Wizard/StyledColumnSparklineSettingsSection.js +7 -11
- package/src/View/StyledColumn/Wizard/StyledColumnWizardBulletSection.js +6 -6
- package/src/View/StyledColumn/Wizard/StyledColumnWizardGradientSection.js +2 -2
- package/src/View/StyledColumn/Wizard/StyledColumnWizardIconSection.js +2 -2
- package/src/View/StyledColumn/Wizard/StyledColumnWizardRangeBarSection.js +8 -8
- package/src/View/StyledColumn/Wizard/StyledColumnWizardRatingSection.js +4 -4
- package/src/View/StyledColumn/Wizard/StyledColumnWizardStyleSection/StyledColumnWizardRangesSection.js +2 -2
- package/src/View/StyledColumn/Wizard/StyledColumnWizardStyleSection/StyledColumnWizardStyleSection.js +4 -4
- package/src/View/Wizard/CollapsibleWizardCard.d.ts +3 -1
- package/src/View/Wizard/CollapsibleWizardCard.js +17 -9
- package/src/agGrid/Adaptable.d.ts +0 -12
- package/src/agGrid/Adaptable.js +0 -52
- package/src/agGrid/AdaptableAgGrid.d.ts +4 -4
- package/src/agGrid/AdaptableAgGrid.js +2 -0
- package/src/agGrid/AdaptableFrameworkComponent.d.ts +12 -0
- package/src/agGrid/AdaptableLogger.d.ts +74 -1
- package/src/agGrid/AgGridColumnAdapter.d.ts +1 -1
- package/src/agGrid/AgGridColumnAdapter.js +7 -5
- package/src/agGrid/editors/AdaptableDateEditor/index.d.ts +3 -0
- package/src/agGrid/editors/AdaptableNumberEditor/index.d.ts +3 -0
- package/src/agGrid/index.d.ts +1 -6
- package/src/agGrid/index.js +1 -3
- package/src/aql/ExpressionEvaluation.d.ts +27 -0
- package/src/aql/types.d.ts +22 -0
- package/src/components/ColorField/index.d.ts +13 -0
- package/src/components/ColorField/index.js +26 -0
- package/src/components/aql/QueryBuilder/GroupEditor.js +1 -1
- package/src/components/aql/QueryBuilder/QueryBuilder.d.ts +5 -0
- package/src/components/aql/QueryBuilder/QueryBuilder.js +1 -1
- package/src/components/aql/QueryBuilder/QueryBuilderInputs.js +12 -2
- package/src/components/aql/QueryBuilder/context.d.ts +7 -0
- package/src/components/aql/QueryBuilder/context.js +3 -1
- 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/migration/AdaptableUpgradeHelper.d.ts +7 -2
- package/src/migration/VersionUpgrade17.js +13 -8
- package/src/migration/VersionUpgrade24.d.ts +9 -0
- package/src/migration/VersionUpgrade24.js +27 -0
- package/src/migration/legacyAdaptableQuery.d.ts +29 -4
- package/src/setupDevTools.js +827 -111
- package/src/types.d.ts +2 -4
- package/tsconfig.esm.tsbuildinfo +1 -1
- package/upgrade.d.ts +1 -0
- package/upgrade.js +1 -0
- package/vendor/components/Button/index.d.ts +1 -1
- package/vendor/components/Button/index.d.ts.map +1 -1
- package/vendor/components/Button/index.js.map +1 -1
- package/vendor/components/CheckBox/index.d.ts +1 -1
- package/vendor/components/CheckBox/index.d.ts.map +1 -1
- package/vendor/components/CheckBox/index.js.map +1 -1
- package/vendor/components/ColorField/index.d.ts +53 -0
- package/vendor/components/ColorField/index.d.ts.map +1 -0
- package/vendor/components/ColorField/index.js +80 -0
- package/vendor/components/ColorField/index.js.map +1 -0
- package/vendor/components/ColorPicker/colorPickerTab.d.ts +4 -0
- package/vendor/components/ColorPicker/colorPickerTab.d.ts.map +1 -0
- package/vendor/components/ColorPicker/colorPickerTab.js +28 -0
- package/vendor/components/ColorPicker/colorPickerTab.js.map +1 -0
- package/vendor/components/ColorPicker/index.d.ts +98 -0
- package/vendor/components/ColorPicker/index.d.ts.map +1 -0
- package/vendor/components/ColorPicker/index.js +322 -0
- package/vendor/components/ColorPicker/index.js.map +1 -0
- package/vendor/components/ColorPicker/themeColors.d.ts +94 -0
- package/vendor/components/ColorPicker/themeColors.d.ts.map +1 -0
- package/vendor/components/ColorPicker/themeColors.js +240 -0
- package/vendor/components/ColorPicker/themeColors.js.map +1 -0
- package/vendor/components/Combobox/VirtualizedList.d.ts +1 -1
- package/vendor/components/Combobox/VirtualizedList.d.ts.map +1 -1
- package/vendor/components/Combobox/VirtualizedList.js.map +1 -1
- package/vendor/components/Combobox/index.d.ts +1 -1
- package/vendor/components/Combobox/index.d.ts.map +1 -1
- package/vendor/components/Combobox/index.js.map +1 -1
- package/vendor/components/NumberInput/index.d.ts +51 -0
- package/vendor/components/NumberInput/index.d.ts.map +1 -0
- package/vendor/components/NumberInput/index.js +82 -0
- package/vendor/components/NumberInput/index.js.map +1 -0
- package/vendor/components/index.css +286 -24
- package/vendor/components/index.d.ts +6 -0
- package/vendor/components/index.d.ts.map +1 -1
- package/vendor/components/index.js +3 -0
- package/vendor/components/index.js.map +1 -1
- package/vendor/components/ui/combobox.d.ts.map +1 -1
- package/vendor/components/ui/combobox.js +1 -1
- package/vendor/components/ui/combobox.js.map +1 -1
- package/vendor/components/ui/input-group.d.ts.map +1 -1
- package/vendor/components/ui/input-group.js +5 -4
- package/vendor/components/ui/input-group.js.map +1 -1
- package/src/AdaptableInterfaces/AdaptableNoCodeWizard.d.ts +0 -99
- package/src/AdaptableInterfaces/AdaptableNoCodeWizard.js +0 -1
- package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/AdaptableConfig.d.ts +0 -15
- package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/AdaptableConfig.js +0 -1
- package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/ColumnsList.d.ts +0 -19
- package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/ColumnsList.js +0 -337
- package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/Components/FormBox.d.ts +0 -5
- package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/Components/FormBox.js +0 -4
- package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/ConfigurationWizard.d.ts +0 -30
- package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/ConfigurationWizard.js +0 -162
- package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/ConfigurationWizardColumnsStep.d.ts +0 -18
- package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/ConfigurationWizardColumnsStep.js +0 -12
- package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/EntitlementsForm.d.ts +0 -8
- package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/EntitlementsForm.js +0 -131
- package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/GridOptionsForm.d.ts +0 -8
- package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/GridOptionsForm.js +0 -30
- package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/UIOptions/UIOptionsSidebarForm.d.ts +0 -6
- package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/UIOptions/UIOptionsSidebarForm.js +0 -80
- package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/UIOptions/UIOptionsStatusbarForm.d.ts +0 -6
- package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/UIOptions/UIOptionsStatusbarForm.js +0 -100
- package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/UIOptions/UiOptionsForm.d.ts +0 -11
- package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/UIOptions/UiOptionsForm.js +0 -8
- package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/index.d.ts +0 -2
- package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/index.js +0 -2
- package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/useSelection.d.ts +0 -21
- package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/useSelection.js +0 -63
- package/src/View/AdaptableWizardView/Utilities/Utils.d.ts +0 -1
- package/src/View/AdaptableWizardView/Utilities/Utils.js +0 -21
- package/src/View/AdaptableWizardView/Utilities/helper.d.ts +0 -19
- package/src/View/AdaptableWizardView/Utilities/helper.js +0 -81
- package/src/View/AdaptableWizardView/Wizard.d.ts +0 -57
- package/src/View/AdaptableWizardView/Wizard.js +0 -98
- package/src/View/AdaptableWizardView/index.d.ts +0 -4
- package/src/View/AdaptableWizardView/index.js +0 -4
- package/src/components/ColorPicker/ColorPicker.d.ts +0 -12
- package/src/components/ColorPicker/ColorPicker.js +0 -48
- package/src/components/ColorPicker/OptionalColorPicker.d.ts +0 -12
- package/src/components/ColorPicker/OptionalColorPicker.js +0 -13
- package/src/components/ColorPicker/index.d.ts +0 -2
- package/src/components/ColorPicker/index.js +0 -2
|
@@ -109,6 +109,12 @@ export interface QueryBuilderContextValue {
|
|
|
109
109
|
* narrow (container query).
|
|
110
110
|
*/
|
|
111
111
|
layout?: QueryBuilderLayoutMode;
|
|
112
|
+
/**
|
|
113
|
+
* Extra control rendered on the right of the root group's AND/OR row.
|
|
114
|
+
* Shown only once that row exists (≥2 conditions). Used by the column
|
|
115
|
+
* filter popups for Clear All.
|
|
116
|
+
*/
|
|
117
|
+
rootHeaderEnd?: React.ReactNode;
|
|
112
118
|
}
|
|
113
119
|
export declare const useQueryBuilder: () => QueryBuilderContextValue;
|
|
114
120
|
export interface QueryBuilderProviderProps {
|
|
@@ -123,6 +129,7 @@ export interface QueryBuilderProviderProps {
|
|
|
123
129
|
hideLockedSubject?: boolean;
|
|
124
130
|
hideDragHandles?: boolean;
|
|
125
131
|
layout?: QueryBuilderLayoutMode;
|
|
132
|
+
rootHeaderEnd?: React.ReactNode;
|
|
126
133
|
children: React.ReactNode;
|
|
127
134
|
}
|
|
128
135
|
/**
|
|
@@ -11,7 +11,7 @@ export const useQueryBuilder = () => {
|
|
|
11
11
|
}
|
|
12
12
|
return context;
|
|
13
13
|
};
|
|
14
|
-
export const QueryBuilderProvider = ({ module, columnScope, getColumns, getFields, subject, hideInlineAdd, hideAddGroup, hideLockedSubject, hideDragHandles, layout = 'auto', children, }) => {
|
|
14
|
+
export const QueryBuilderProvider = ({ module, columnScope, getColumns, getFields, subject, hideInlineAdd, hideAddGroup, hideLockedSubject, hideDragHandles, layout = 'auto', rootHeaderEnd, children, }) => {
|
|
15
15
|
const adaptable = useAdaptable();
|
|
16
16
|
const api = adaptable.api;
|
|
17
17
|
const lockedSubject = React.useMemo(() => {
|
|
@@ -72,6 +72,7 @@ export const QueryBuilderProvider = ({ module, columnScope, getColumns, getField
|
|
|
72
72
|
hideLockedSubject,
|
|
73
73
|
hideDragHandles,
|
|
74
74
|
layout,
|
|
75
|
+
rootHeaderEnd,
|
|
75
76
|
};
|
|
76
77
|
}, [
|
|
77
78
|
module,
|
|
@@ -88,6 +89,7 @@ export const QueryBuilderProvider = ({ module, columnScope, getColumns, getField
|
|
|
88
89
|
hideLockedSubject,
|
|
89
90
|
hideDragHandles,
|
|
90
91
|
layout,
|
|
92
|
+
rootHeaderEnd,
|
|
91
93
|
]);
|
|
92
94
|
return _jsx(QueryBuilderContext.Provider, { value: value, children: children });
|
|
93
95
|
};
|
package/src/env.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export default {
|
|
2
2
|
NEXT_PUBLIC_INFINITE_TABLE_LICENSE_KEY: "StartDate=2021-06-29|EndDate=2030-01-01|Owner=Adaptable|Type=distribution|TS=1624971462479|C=137829811,1004007071,2756196225,1839832928,3994409405,636616862" || '',
|
|
3
|
-
PUBLISH_TIMESTAMP:
|
|
4
|
-
VERSION: "24.0.0-canary.
|
|
3
|
+
PUBLISH_TIMESTAMP: 1793185013782 || Date.now(),
|
|
4
|
+
VERSION: "24.0.0-canary.10" || '--current-version--',
|
|
5
5
|
};
|
|
@@ -7,4 +7,4 @@ export declare function normalizeTableLayoutModel(layout: TableLayoutModel, opti
|
|
|
7
7
|
export declare function normalizePivotLayoutModel(layout: PivotLayoutModel): PivotLayoutModel;
|
|
8
8
|
export declare function normalizeLayoutModel(layout: TableLayoutModel | PivotLayoutModel, options?: {
|
|
9
9
|
isTree: boolean;
|
|
10
|
-
}):
|
|
10
|
+
}): TableLayoutModel | PivotLayoutModel;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { PivotLayoutModel, TableLayoutModel } from './LayoutManagerModel';
|
|
2
2
|
export declare function simplifyTableLayoutModel(layout: TableLayoutModel): TableLayoutModel;
|
|
3
3
|
export declare function simplifyPivotLayoutModel(layout: PivotLayoutModel): PivotLayoutModel;
|
|
4
|
-
export declare function simplifyLayoutModel(layout: TableLayoutModel | PivotLayoutModel):
|
|
4
|
+
export declare function simplifyLayoutModel(layout: TableLayoutModel | PivotLayoutModel): TableLayoutModel | PivotLayoutModel;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { VersionUpgrade } from './VersionUpgrade';
|
|
2
|
-
import {
|
|
2
|
+
import { AdaptablePersistentState } from '../AdaptableState/AdaptableState';
|
|
3
3
|
import { LayoutTagOptions } from '../AdaptableOptions/LayoutOptions';
|
|
4
4
|
/**
|
|
5
5
|
* Config object used by State Auto-migration Wizard
|
|
@@ -38,7 +38,12 @@ export declare class AdaptableUpgradeHelper {
|
|
|
38
38
|
protected versionUpgrades: Map<number, VersionUpgrade>;
|
|
39
39
|
protected logger: MigrationLogger;
|
|
40
40
|
private constructor();
|
|
41
|
-
|
|
41
|
+
/**
|
|
42
|
+
* Migrates the given Adaptable State from `config.fromVersion` to `config.toVersion`.
|
|
43
|
+
*
|
|
44
|
+
* Accepts both a full `AdaptableState` and a (partial) `AdaptablePersistentState` - e.g. as received in `StateOptions.applyState()` - and returns the same shape.
|
|
45
|
+
*/
|
|
46
|
+
static migrateAdaptableState<T extends Partial<AdaptablePersistentState>>(state: T, config: UpgradeConfig): T;
|
|
42
47
|
/**
|
|
43
48
|
* Published major version. When `VERSION` is not a parseable semver (local
|
|
44
49
|
* builds and tests) this is 24, matching the previous helper fallback.
|
|
@@ -91,7 +91,7 @@ export class VersionUpgrade17 extends VersionUpgrade {
|
|
|
91
91
|
if (dashboardState?.VisibleButtons) {
|
|
92
92
|
this.logger.warn(`Migrating deprecated DashboardState.VisibleButtons: [${dashboardState.VisibleButtons}].`);
|
|
93
93
|
state.Dashboard.ModuleButtons = [
|
|
94
|
-
...state.Dashboard.ModuleButtons,
|
|
94
|
+
...(state.Dashboard.ModuleButtons ?? []),
|
|
95
95
|
...dashboardState.VisibleButtons,
|
|
96
96
|
];
|
|
97
97
|
delete state.Dashboard.VisibleButtons;
|
|
@@ -175,22 +175,24 @@ export class VersionUpgrade17 extends VersionUpgrade {
|
|
|
175
175
|
return state;
|
|
176
176
|
}
|
|
177
177
|
const expression = oldQueryState.CurrentQuery;
|
|
178
|
-
const currentLayout = state.Layout
|
|
178
|
+
const currentLayout = state.Layout?.Layouts?.find((l) => l.Name === state.Layout?.CurrentLayout);
|
|
179
179
|
const currentGridFilter = currentLayout?.GridFilter;
|
|
180
180
|
const currentGridFilterExpression = currentGridFilter && !currentGridFilter.IsSuspended ? currentGridFilter.Expression || '' : '';
|
|
181
|
-
if (expression &&
|
|
181
|
+
if (expression &&
|
|
182
|
+
currentLayout &&
|
|
183
|
+
StringExtensions.IsNullOrEmpty(currentGridFilterExpression)) {
|
|
182
184
|
currentLayout.GridFilter = {
|
|
183
185
|
...currentGridFilter,
|
|
184
186
|
Expression: expression,
|
|
185
187
|
};
|
|
186
188
|
}
|
|
187
|
-
state.Dashboard
|
|
189
|
+
state.Dashboard?.Tabs?.forEach((tab) => {
|
|
188
190
|
if (tab.Toolbars.includes('Query')) {
|
|
189
191
|
tab.Toolbars = tab.Toolbars.map((t) => (t == 'Query' ? 'GridFilter' : t));
|
|
190
192
|
}
|
|
191
193
|
});
|
|
192
194
|
let updatePinnedToolbars = false;
|
|
193
|
-
if (state.Dashboard
|
|
195
|
+
if (state.Dashboard?.PinnedToolbars) {
|
|
194
196
|
state.Dashboard.PinnedToolbars = state.Dashboard.PinnedToolbars.map((pinnedToolbar) => {
|
|
195
197
|
if (pinnedToolbar == 'Query') {
|
|
196
198
|
return 'GridFilter';
|
|
@@ -204,11 +206,12 @@ export class VersionUpgrade17 extends VersionUpgrade {
|
|
|
204
206
|
const oldQueryState = state.Query;
|
|
205
207
|
const oldNamedQueries = oldQueryState?.NamedQueries;
|
|
206
208
|
if (ArrayExtensions.IsNotNullOrEmpty(oldNamedQueries)) {
|
|
207
|
-
|
|
209
|
+
state.NamedQuery ??= {};
|
|
210
|
+
const currentNamedQueries = (state.NamedQuery.NamedQueries ??= []);
|
|
208
211
|
oldNamedQueries.forEach((oldNamedQuery) => {
|
|
209
212
|
const currentQuery = currentNamedQueries.find((q) => q.Name === oldNamedQuery.Name);
|
|
210
213
|
if (!currentQuery) {
|
|
211
|
-
|
|
214
|
+
currentNamedQueries.push(oldNamedQuery);
|
|
212
215
|
}
|
|
213
216
|
});
|
|
214
217
|
}
|
|
@@ -236,6 +239,7 @@ export class VersionUpgrade17 extends VersionUpgrade {
|
|
|
236
239
|
};
|
|
237
240
|
})
|
|
238
241
|
.filter(Boolean);
|
|
242
|
+
state.StyledColumn ??= {};
|
|
239
243
|
state.StyledColumn.StyledColumns ??= [];
|
|
240
244
|
styledColumns.forEach((styledColumn) => {
|
|
241
245
|
state.StyledColumn.StyledColumns.push(styledColumn);
|
|
@@ -263,8 +267,9 @@ export class VersionUpgrade17 extends VersionUpgrade {
|
|
|
263
267
|
}
|
|
264
268
|
});
|
|
265
269
|
const alertState = state.Alert;
|
|
266
|
-
if (ArrayExtensions.
|
|
270
|
+
if (ArrayExtensions.IsNullOrEmpty(state.FlashingCell?.FlashingCellDefinitions) &&
|
|
267
271
|
ArrayExtensions.IsNotNullOrEmpty(alertState?.FlashingAlertDefinitions)) {
|
|
272
|
+
state.FlashingCell ??= {};
|
|
268
273
|
state.FlashingCell.FlashingCellDefinitions = alertState.FlashingAlertDefinitions;
|
|
269
274
|
delete state.Alert.FlashingAlertDefinitions;
|
|
270
275
|
}
|
|
@@ -33,6 +33,8 @@ import type { MigrationLogger } from './AdaptableUpgradeHelper';
|
|
|
33
33
|
* `Type: 'Change'` when missing
|
|
34
34
|
* 16. {@link migrateLayoutTagsToRegistry} — Layout extensions held in object Tags
|
|
35
35
|
* (`layoutTagOptions.autoCheckTagsForLayouts`) → `Layout.LayoutExtensions`
|
|
36
|
+
* 17. {@link VersionUpgrade24.migrateSwatchColorVars} — `--ab-color-swatch-N`
|
|
37
|
+
* colours → `--ab-color-palette-{N+12}`
|
|
36
38
|
*/
|
|
37
39
|
export declare class VersionUpgrade24 extends VersionUpgrade {
|
|
38
40
|
private options;
|
|
@@ -40,6 +42,13 @@ export declare class VersionUpgrade24 extends VersionUpgrade {
|
|
|
40
42
|
layoutTagOptions?: LayoutTagOptions;
|
|
41
43
|
});
|
|
42
44
|
migrateState(state: AdaptableState): AdaptableState;
|
|
45
|
+
/**
|
|
46
|
+
* Step 17. The 20 swatch colours were merged into the palette after its 12
|
|
47
|
+
* light / dark pairs, so `var(--ab-color-swatch-N)` in any saved style
|
|
48
|
+
* (Format Columns, Styled Columns, Alerts, Flashing Cells, shared entities…)
|
|
49
|
+
* becomes `var(--ab-color-palette-{N+12})` with the same colour.
|
|
50
|
+
*/
|
|
51
|
+
private migrateSwatchColorVars;
|
|
43
52
|
/**
|
|
44
53
|
* Migrates Notes from a single `Timestamp` to explicit `CreatedAt` / `UpdatedAt`.
|
|
45
54
|
*
|
|
@@ -34,8 +34,35 @@ export class VersionUpgrade24 extends VersionUpgrade {
|
|
|
34
34
|
this.retypeObservableCalculatedColumns(state);
|
|
35
35
|
this.stampFlashingCellTypes(state);
|
|
36
36
|
migrateLayoutTagsToRegistry(state, this.logger, this.options.layoutTagOptions);
|
|
37
|
+
this.migrateSwatchColorVars(state);
|
|
37
38
|
return state;
|
|
38
39
|
}
|
|
40
|
+
migrateSwatchColorVars(state) {
|
|
41
|
+
const swatchVar = /--ab-color-swatch-(\d+)\b/g;
|
|
42
|
+
let rewritten = 0;
|
|
43
|
+
const visit = (node) => {
|
|
44
|
+
if (!node || typeof node !== 'object') {
|
|
45
|
+
return;
|
|
46
|
+
}
|
|
47
|
+
const container = node;
|
|
48
|
+
for (const key of Object.keys(container)) {
|
|
49
|
+
const value = container[key];
|
|
50
|
+
if (typeof value !== 'string') {
|
|
51
|
+
visit(value);
|
|
52
|
+
continue;
|
|
53
|
+
}
|
|
54
|
+
const next = value.replace(swatchVar, (_, n) => `--ab-color-palette-${Number(n) + 12}`);
|
|
55
|
+
if (next !== value) {
|
|
56
|
+
container[key] = next;
|
|
57
|
+
rewritten++;
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
};
|
|
61
|
+
visit(state);
|
|
62
|
+
if (rewritten > 0) {
|
|
63
|
+
this.logger.info(`Rewrote ${rewritten} colour value(s) from --ab-color-swatch-N to --ab-color-palette-{N+12} (v24).`);
|
|
64
|
+
}
|
|
65
|
+
}
|
|
39
66
|
migrateNoteTimestamps(state) {
|
|
40
67
|
const notes = state.Note?.Notes;
|
|
41
68
|
if (!notes?.length) {
|
|
@@ -8,16 +8,41 @@ import type { ExpressionKind } from '../AdaptableState/Common/AdaptableQuery';
|
|
|
8
8
|
* `Report.Query` are renamed to `Expression`.
|
|
9
9
|
*/
|
|
10
10
|
export interface LegacyAdaptableQuery {
|
|
11
|
+
/**
|
|
12
|
+
* Per-row expression text. Current state stores this string directly on `Rule` or `Expression`.
|
|
13
|
+
*/
|
|
11
14
|
Expression?: string;
|
|
15
|
+
/**
|
|
16
|
+
* Aggregated expression text (a brace call). Current state stores the string directly; the kind is inferred.
|
|
17
|
+
*/
|
|
12
18
|
AggregatedExpression?: string;
|
|
19
|
+
/**
|
|
20
|
+
* Observable expression text. Current state stores the string directly and treats it as a scalar expression.
|
|
21
|
+
*/
|
|
13
22
|
ObservableExpression?: string;
|
|
14
|
-
/**
|
|
23
|
+
/**
|
|
24
|
+
* Older name for {@link LegacyAdaptableQuery.Expression}.
|
|
25
|
+
*
|
|
26
|
+
* @deprecated pre-v24 spelling of `Expression`
|
|
27
|
+
*/
|
|
15
28
|
BooleanExpression?: string;
|
|
16
|
-
/**
|
|
29
|
+
/**
|
|
30
|
+
* Older name for {@link LegacyAdaptableQuery.Expression}.
|
|
31
|
+
*
|
|
32
|
+
* @deprecated pre-v24 spelling of `Expression`
|
|
33
|
+
*/
|
|
17
34
|
ScalarExpression?: string;
|
|
18
|
-
/**
|
|
35
|
+
/**
|
|
36
|
+
* Older name for {@link LegacyAdaptableQuery.AggregatedExpression}.
|
|
37
|
+
*
|
|
38
|
+
* @deprecated pre-v24 spelling of `AggregatedExpression`
|
|
39
|
+
*/
|
|
19
40
|
AggregatedBooleanExpression?: string;
|
|
20
|
-
/**
|
|
41
|
+
/**
|
|
42
|
+
* Older name for {@link LegacyAdaptableQuery.AggregatedExpression}.
|
|
43
|
+
*
|
|
44
|
+
* @deprecated pre-v24 spelling of `AggregatedExpression`
|
|
45
|
+
*/
|
|
21
46
|
AggregatedScalarExpression?: string;
|
|
22
47
|
}
|
|
23
48
|
/** Either shape a `Rule` / `Query` may have in state being migrated. */
|