@adaptabletools/adaptable 24.0.0-canary.0 → 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 +323 -306
- package/index.d.ts +2 -3
- package/index.js +2 -3
- package/package.json +8 -7
- 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 +27 -16
- 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/ExpressionApiImpl.d.ts +1 -3
- package/src/Api/Implementation/ExpressionApiImpl.js +5 -6
- 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.d.ts +2 -2
- package/src/Api/Internal/AdaptableInternalApi.js +11 -7
- 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/Strategy/AlertModule.js +2 -2
- package/src/Strategy/FormatColumnModule.js +2 -2
- 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/Utilities/Services/QueryLanguageService.js +0 -2
- package/src/View/CalculatedColumn/Wizard/CalculatedColumnExpressionWizardSection.js +1 -1
- 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 +15 -11
- 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/CompactEditor/CompactEditor.js +1 -1
- package/src/components/aql/ExpressionEditor/BaseEditorInput.js +1 -1
- package/src/components/aql/ExpressionEditor/CompactExpressionToolbar.d.ts +5 -0
- package/src/components/aql/ExpressionEditor/CompactExpressionToolbar.js +12 -5
- package/src/components/aql/ExpressionEditor/ExpressionPreview.js +1 -1
- package/src/components/aql/ExpressionEditor/index.d.ts +3 -2
- 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/comboboxUtils.d.ts +9 -0
- package/vendor/components/Combobox/comboboxUtils.d.ts.map +1 -1
- package/vendor/components/Combobox/comboboxUtils.js +41 -2
- package/vendor/components/Combobox/comboboxUtils.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 +14 -9
- 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/twMerge.d.ts +3 -2
- package/vendor/components/twMerge.d.ts.map +1 -1
- package/vendor/components/twMerge.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
package/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import Adaptable
|
|
1
|
+
import Adaptable from './src/agGrid';
|
|
2
2
|
import { AdaptableAgGrid } from './src/agGrid/AdaptableAgGrid';
|
|
3
3
|
import { AdaptableNumberEditor, AdaptableReactNumberEditor } from './src/agGrid/editors/AdaptableNumberEditor';
|
|
4
4
|
import { AdaptablePercentageEditor, AdaptableReactPercentageEditor } from './src/agGrid/editors/AdaptablePercentageEditor';
|
|
@@ -10,7 +10,6 @@ export * from './src/types';
|
|
|
10
10
|
export default Adaptable;
|
|
11
11
|
export { Adaptable };
|
|
12
12
|
export declare const _AdaptableAgGrid: typeof AdaptableAgGrid;
|
|
13
|
-
export declare const AdaptableNoCodeWizard: typeof import("./src/agGrid/Adaptable").AdaptableNoCodeWizard;
|
|
14
13
|
export declare const _AdaptableLogger: typeof import("./src/types").AdaptableLogger;
|
|
15
14
|
export declare const AdaptableQL: {
|
|
16
15
|
ScalarFunctions: import("./vendor/aql/index.js").ScalarFunctionName[];
|
|
@@ -59,4 +58,4 @@ export declare const AdaptableColumnType: {
|
|
|
59
58
|
*/
|
|
60
59
|
PivotAggregationTotal: import("./src/types").AdaptableColumnTypeName;
|
|
61
60
|
};
|
|
62
|
-
export { iconToString as getIconSVG, AdaptableReactPercentageEditor, AdaptableReactNumberEditor, AdaptableReactDateEditor, AdaptablePercentageEditor, AdaptableNumberEditor, AdaptableDateEditor,
|
|
61
|
+
export { iconToString as getIconSVG, AdaptableReactPercentageEditor, AdaptableReactNumberEditor, AdaptableReactDateEditor, AdaptablePercentageEditor, AdaptableNumberEditor, AdaptableDateEditor, AdaptableUpgradeHelper, type UpgradeConfig, };
|
package/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import Adaptable, {
|
|
1
|
+
import Adaptable, { AdaptableLogger as ABLogger } from './src/agGrid';
|
|
2
2
|
import { AdaptableAgGrid } from './src/agGrid/AdaptableAgGrid';
|
|
3
3
|
import { aggregationCallableNames as aggregatedScalarExpressionFunctionNames, scalarFunctionNames as scalarExpressionFunctionNames, } from "./vendor/aql/index.js";
|
|
4
4
|
import { AdaptableNumberEditor, AdaptableReactNumberEditor, } from './src/agGrid/editors/AdaptableNumberEditor';
|
|
@@ -12,7 +12,6 @@ export * from './src/types';
|
|
|
12
12
|
export default Adaptable;
|
|
13
13
|
export { Adaptable };
|
|
14
14
|
export const _AdaptableAgGrid = AdaptableAgGrid;
|
|
15
|
-
export const AdaptableNoCodeWizard = ABWizard;
|
|
16
15
|
export const _AdaptableLogger = ABLogger;
|
|
17
16
|
export const AdaptableQL = {
|
|
18
17
|
ScalarFunctions: scalarExpressionFunctionNames,
|
|
@@ -31,4 +30,4 @@ export const AdaptableColumnType = {
|
|
|
31
30
|
PivotColumnTotal: PIVOT_COLUMN_TOTAL_COLUMN_TYPE,
|
|
32
31
|
PivotAggregationTotal: PIVOT_AGGREGATION_TOTAL_COLUMN_TYPE,
|
|
33
32
|
};
|
|
34
|
-
export { iconToString as getIconSVG, AdaptableReactPercentageEditor, AdaptableReactNumberEditor, AdaptableReactDateEditor, AdaptablePercentageEditor, AdaptableNumberEditor, AdaptableDateEditor,
|
|
33
|
+
export { iconToString as getIconSVG, AdaptableReactPercentageEditor, AdaptableReactNumberEditor, AdaptableReactDateEditor, AdaptablePercentageEditor, AdaptableNumberEditor, AdaptableDateEditor, AdaptableUpgradeHelper, };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@adaptabletools/adaptable",
|
|
3
|
-
"version": "24.0.0-canary.
|
|
3
|
+
"version": "24.0.0-canary.10",
|
|
4
4
|
"description": "Powerful AG Grid extension which provides advanced, cutting-edge functionality to meet all DataGrid requirements",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"web-components",
|
|
@@ -43,12 +43,12 @@
|
|
|
43
43
|
"typings": "index.d.ts",
|
|
44
44
|
"dependencies": {
|
|
45
45
|
"@base-ui/react": "1.7.0",
|
|
46
|
-
"@codemirror/autocomplete": "
|
|
47
|
-
"@codemirror/commands": "
|
|
48
|
-
"@codemirror/language": "
|
|
49
|
-
"@codemirror/lint": "
|
|
50
|
-
"@codemirror/state": "
|
|
51
|
-
"@codemirror/view": "
|
|
46
|
+
"@codemirror/autocomplete": "6.20.3",
|
|
47
|
+
"@codemirror/commands": "6.11.1",
|
|
48
|
+
"@codemirror/language": "6.12.4",
|
|
49
|
+
"@codemirror/lint": "6.9.7",
|
|
50
|
+
"@codemirror/state": "6.7.6",
|
|
51
|
+
"@codemirror/view": "6.43.13",
|
|
52
52
|
"@finos/fdc3": "2.1.0",
|
|
53
53
|
"@infinite-table/infinite-react": "8.0.3",
|
|
54
54
|
"@tanstack/react-virtual": "^3.13.22",
|
|
@@ -59,6 +59,7 @@
|
|
|
59
59
|
"normalize.css": "^8.0.1",
|
|
60
60
|
"re-resizable": "6.10.3",
|
|
61
61
|
"react": "^18.0.0 || ^19.0.0",
|
|
62
|
+
"react-colorful": "^5.8.1",
|
|
62
63
|
"react-day-picker": "^9.14.0",
|
|
63
64
|
"react-dom": "^18.0.0 || ^19.0.0",
|
|
64
65
|
"react-redux": "9.2.0",
|
|
@@ -9,7 +9,7 @@ import { SelectedCellInfo } from '../AdaptableState/Selection/SelectedCellInfo';
|
|
|
9
9
|
import { AdaptableTheme } from '../AdaptableState/ThemeState';
|
|
10
10
|
import { IAdaptableStore } from '../Redux/Store/Interface/IAdaptableStore';
|
|
11
11
|
import { IModuleCollection } from '../Strategy/Interface/IModule';
|
|
12
|
-
import { AdaptableMenuItem, AdaptableOptions,
|
|
12
|
+
import { AdaptableMenuItem, AdaptableOptions, AdaptablePersistentState, AdaptablePlugin, ChartDefinition, InFilterValueResult, SelectedRowInfo } from '../types';
|
|
13
13
|
import { ICalculatedColumnExpressionService } from '../Utilities/Services/Interface/ICalculatedColumnExpressionService';
|
|
14
14
|
import { IDataService } from '../Utilities/Services/Interface/IDataService';
|
|
15
15
|
import { CommentsService } from '../Utilities/Services/CommentsService';
|
|
@@ -326,17 +326,17 @@ export interface IAdaptable {
|
|
|
326
326
|
canExportToExcel(): boolean;
|
|
327
327
|
canExportToCsv(): boolean;
|
|
328
328
|
silentUpdateCurrentLayoutModel(layoutModel?: TableLayoutModel | PivotLayoutModel): void;
|
|
329
|
-
normalizeAdaptableState(state:
|
|
329
|
+
normalizeAdaptableState(state: Partial<AdaptablePersistentState>, options: NormalizeAdaptableStateOptions): Partial<AdaptablePersistentState>;
|
|
330
330
|
/**
|
|
331
331
|
* Runs the startup upgrade chain when `stateOptions.autoMigrateState` is on.
|
|
332
332
|
* A no-op when migration is disabled or the state is already current.
|
|
333
333
|
*/
|
|
334
|
-
migrateLoadedAdaptableState(state:
|
|
334
|
+
migrateLoadedAdaptableState<T extends Partial<AdaptablePersistentState>>(state: T): T;
|
|
335
335
|
/**
|
|
336
336
|
* `loadStore` hook used at startup and when the state key changes:
|
|
337
337
|
* migrate (when enabled), then normalise.
|
|
338
338
|
*/
|
|
339
|
-
buildPostLoadHook(gridOptions: NormalizeAdaptableStateOptions): (state:
|
|
339
|
+
buildPostLoadHook(gridOptions: NormalizeAdaptableStateOptions): (state: Partial<AdaptablePersistentState>) => Partial<AdaptablePersistentState>;
|
|
340
340
|
refreshLayout(): void;
|
|
341
341
|
}
|
|
342
342
|
export type NormalizeAdaptableStateOptions = Pick<GridOptions, 'rowModelType' | 'treeData' | 'columnDefs' | 'autoGroupColumnDef' | 'defaultColDef' | 'pivotMode'>;
|
|
@@ -121,6 +121,9 @@ export type ActionColumnControl<TData = any, CTX = ActionColumnContext<TData>> =
|
|
|
121
121
|
* A standard clickable button.
|
|
122
122
|
*/
|
|
123
123
|
export interface ButtonControl<TData = any, CTX = ActionColumnContext<TData>> extends BaseControl<TData, CTX> {
|
|
124
|
+
/**
|
|
125
|
+
* Discriminator. Set to `'button'`.
|
|
126
|
+
*/
|
|
124
127
|
type: 'button';
|
|
125
128
|
/**
|
|
126
129
|
* Handler invoked when the button is clicked. May return a `Promise`, in which
|
|
@@ -140,6 +143,9 @@ export interface ButtonControl<TData = any, CTX = ActionColumnContext<TData>> ex
|
|
|
140
143
|
* A built-in Row command (opens the relevant Row Form).
|
|
141
144
|
*/
|
|
142
145
|
export interface CommandControl<TData = any, CTX = ActionColumnContext<TData>> extends BaseControl<TData, CTX> {
|
|
146
|
+
/**
|
|
147
|
+
* Discriminator. Set to `'command'`.
|
|
148
|
+
*/
|
|
143
149
|
type: 'command';
|
|
144
150
|
/**
|
|
145
151
|
* The built-in command to run: `'create'`, `'clone'`, `'edit'` or `'delete'`.
|
|
@@ -154,6 +160,9 @@ export interface CommandControl<TData = any, CTX = ActionColumnContext<TData>> e
|
|
|
154
160
|
* Shared properties for {@link ToggleControl}.
|
|
155
161
|
*/
|
|
156
162
|
export interface ToggleControlBase<TData = any, CTX = ActionColumnContext<TData>> extends BaseControl<TData, CTX> {
|
|
163
|
+
/**
|
|
164
|
+
* Discriminator. Set to `'toggle'`.
|
|
165
|
+
*/
|
|
157
166
|
type: 'toggle';
|
|
158
167
|
/**
|
|
159
168
|
* How the toggle is rendered:
|
|
@@ -197,6 +206,9 @@ export type ToggleControl<TData = any, CTX = ActionColumnContext<TData>> = Toggl
|
|
|
197
206
|
* A hyperlink (external URL, `mailto:`, internal drill-through, etc.).
|
|
198
207
|
*/
|
|
199
208
|
export interface LinkControl<TData = any, CTX = ActionColumnContext<TData>> extends BaseControl<TData, CTX> {
|
|
209
|
+
/**
|
|
210
|
+
* Discriminator. Set to `'link'`.
|
|
211
|
+
*/
|
|
200
212
|
type: 'link';
|
|
201
213
|
/**
|
|
202
214
|
* The link target - static string or a function of the context.
|
|
@@ -212,6 +224,9 @@ export interface LinkControl<TData = any, CTX = ActionColumnContext<TData>> exte
|
|
|
212
224
|
* A dropdown that fires `onChange` when a value is selected (e.g. to set a status).
|
|
213
225
|
*/
|
|
214
226
|
export interface SelectControl<TData = any, CTX = ActionColumnContext<TData>> extends BaseControl<TData, CTX> {
|
|
227
|
+
/**
|
|
228
|
+
* Discriminator. Set to `'select'`.
|
|
229
|
+
*/
|
|
215
230
|
type: 'select';
|
|
216
231
|
/**
|
|
217
232
|
* The options to choose from - a static array or a function of the context.
|
|
@@ -236,6 +251,9 @@ export interface SelectControl<TData = any, CTX = ActionColumnContext<TData>> ex
|
|
|
236
251
|
* dropdown menus and split buttons (a primary action plus a chevron of extras).
|
|
237
252
|
*/
|
|
238
253
|
export interface MenuControl<TData = any, CTX = ActionColumnContext<TData>> extends BaseControl<TData, CTX> {
|
|
254
|
+
/**
|
|
255
|
+
* Discriminator. Set to `'menu'`.
|
|
256
|
+
*/
|
|
239
257
|
type: 'menu';
|
|
240
258
|
/**
|
|
241
259
|
* `'dropdown'` (default) shows a single trigger; `'split'` renders `primary`
|
|
@@ -257,6 +275,9 @@ export interface MenuControl<TData = any, CTX = ActionColumnContext<TData>> exte
|
|
|
257
275
|
* row, reusing the full Adaptable Form engine (fields, validation, layout).
|
|
258
276
|
*/
|
|
259
277
|
export interface FormControl<TData = any, CTX = ActionColumnContext<TData>> extends BaseControl<TData, CTX> {
|
|
278
|
+
/**
|
|
279
|
+
* Discriminator. Set to `'form'`.
|
|
280
|
+
*/
|
|
260
281
|
type: 'form';
|
|
261
282
|
/**
|
|
262
283
|
* The Form to display. Its `onSubmit` receives the entered `formData` and the
|
|
@@ -272,6 +293,9 @@ export interface FormControl<TData = any, CTX = ActionColumnContext<TData>> exte
|
|
|
272
293
|
* Escape hatch: render bespoke framework content (React / Angular / Vue) in the cell.
|
|
273
294
|
*/
|
|
274
295
|
export interface CustomControl<TData = any, CTX = ActionColumnContext<TData>> extends BaseControl<TData, CTX> {
|
|
296
|
+
/**
|
|
297
|
+
* Discriminator. Set to `'custom'`.
|
|
298
|
+
*/
|
|
275
299
|
type: 'custom';
|
|
276
300
|
/**
|
|
277
301
|
* React render function returning a node for the cell, with full row context injected.
|
|
@@ -36,229 +36,257 @@ import { ContextMenuOptions } from './ContextMenuOptions';
|
|
|
36
36
|
import { FilterOptions } from './FilterOptions';
|
|
37
37
|
import { RowFormOptions } from './RowFormOptions';
|
|
38
38
|
/**
|
|
39
|
-
*
|
|
39
|
+
* Design-time configuration for one AdapTable instance.
|
|
40
|
+
*
|
|
41
|
+
* These options are fixed by the application. Objects the user can change and that are persisted (Layouts, Alerts, Format Columns, Calculated Columns and the other module objects) belong in {@link initialState}, not here.
|
|
42
|
+
*
|
|
43
|
+
* `primaryKey` and `initialState` are required. Every `*Options` property is optional: omit it to keep that module's defaults.
|
|
40
44
|
*/
|
|
41
45
|
export interface AdaptableOptions<TData = any, TContext = Record<string, any>> {
|
|
42
46
|
/**
|
|
43
|
-
*
|
|
47
|
+
* Identifies this grid when more than one AdapTable is on the page.
|
|
48
|
+
*
|
|
49
|
+
* Also the default key under which state is stored, unless {@link adaptableStateKey} is set. A generated id (`adaptable_id_` plus a random number) is used when this is omitted, so state will not survive a reload.
|
|
44
50
|
*
|
|
45
51
|
* @defaultValue 'adaptable_id_${random_number}'
|
|
46
|
-
* @noCodeItem
|
|
47
52
|
*/
|
|
48
53
|
adaptableId?: string;
|
|
49
54
|
/**
|
|
50
|
-
*
|
|
55
|
+
* Key under which this grid's state is stored, instead of {@link adaptableId}.
|
|
56
|
+
*
|
|
57
|
+
* Set it when several grids should share one state, or when the storage key should change without changing `adaptableId`. {@link initialState} is applied only when nothing is already stored under this key.
|
|
51
58
|
*
|
|
52
59
|
* @defaultValue `adaptableId` value
|
|
53
60
|
*/
|
|
54
61
|
adaptableStateKey?: string;
|
|
55
62
|
/**
|
|
56
|
-
*
|
|
63
|
+
* Invents a primary key when the data has no unique column.
|
|
64
|
+
*
|
|
65
|
+
* Use it only as a last resort. Notes, comments, data-change history and row identity then cannot follow a real business key, and some of those features are limited.
|
|
57
66
|
*
|
|
58
67
|
* @defaultValue false
|
|
59
68
|
*/
|
|
60
69
|
autogeneratePrimaryKey?: boolean;
|
|
61
70
|
/**
|
|
62
|
-
* Commercial
|
|
71
|
+
* Commercial licence key.
|
|
72
|
+
*
|
|
73
|
+
* Without a current licence, AdapTable shows licence notices and limits some functionality.
|
|
63
74
|
*/
|
|
64
75
|
licenseKey?: string;
|
|
65
76
|
/**
|
|
66
|
-
*
|
|
77
|
+
* Values from the host application, passed into every callback and event as `adaptableContext`.
|
|
78
|
+
*
|
|
79
|
+
* Use it for things the grid should see but not store, such as the current user, permissions or a service. It is not persisted.
|
|
67
80
|
*
|
|
68
81
|
* @defaultValue {}
|
|
69
82
|
*/
|
|
70
83
|
adaptableContext?: TContext;
|
|
71
84
|
/**
|
|
72
|
-
*
|
|
85
|
+
* Objects shipped with the grid for its first run: at least one Layout, plus any Alerts, Format Columns, Calculated Columns and other module objects.
|
|
86
|
+
*
|
|
87
|
+
* Applied only when no state is already stored for this grid. After that, the stored state is used and later edits to `initialState` are ignored until that stored state is cleared or the state key changes.
|
|
73
88
|
*
|
|
74
89
|
* @defaultValue undefined
|
|
75
90
|
*/
|
|
76
91
|
initialState: InitialState;
|
|
77
92
|
/**
|
|
78
|
-
*
|
|
93
|
+
* Column whose values uniquely identify a row. Required.
|
|
94
|
+
*
|
|
95
|
+
* AdapTable uses it to find a row for edits, notes, comments, alerts, history and row forms. The values must be unique.
|
|
79
96
|
*
|
|
80
97
|
* @defaultValue n/a (Mandatory)
|
|
81
98
|
*/
|
|
82
99
|
primaryKey: string;
|
|
83
100
|
/**
|
|
84
|
-
* Name of
|
|
101
|
+
* Name of the person using this grid.
|
|
102
|
+
*
|
|
103
|
+
* Stamped on Notes and Comments when the author is not supplied, and shown where Team Sharing records who shared an object.
|
|
85
104
|
*
|
|
86
105
|
* @defaultValue 'anonymous'
|
|
87
106
|
*/
|
|
88
107
|
userName?: string;
|
|
89
108
|
/**
|
|
90
|
-
*
|
|
109
|
+
* Action Columns: columns of buttons, menus, toggles and other controls that run an action on the row.
|
|
110
|
+
*
|
|
111
|
+
* The columns themselves are supplied here. They are not part of Initial State.
|
|
91
112
|
*/
|
|
92
113
|
actionColumnOptions?: ActionColumnOptions<TData>;
|
|
93
114
|
/**
|
|
94
|
-
*
|
|
115
|
+
* How fired alerts behave: how many are kept, how long a cell or row stays highlighted, and the text shown when an alert fires.
|
|
95
116
|
*
|
|
96
|
-
*
|
|
117
|
+
* The Alert Definitions themselves (the rules) belong in Initial State.
|
|
97
118
|
*/
|
|
98
119
|
alertOptions?: AlertOptions<TData>;
|
|
99
120
|
/**
|
|
100
|
-
*
|
|
121
|
+
* Which days are working days. Weekend days and holidays are excluded from working-day expression functions.
|
|
101
122
|
*/
|
|
102
123
|
calendarOptions?: CalendarOptions;
|
|
103
124
|
/**
|
|
104
|
-
*
|
|
125
|
+
* Extra summary operations for the selected cells, beyond the ones AdapTable ships (sum, average and the rest), and how the result is formatted.
|
|
105
126
|
*/
|
|
106
127
|
cellSummaryOptions?: CellSummaryOptions<TData>;
|
|
107
128
|
/**
|
|
108
|
-
*
|
|
109
|
-
*
|
|
129
|
+
* Saving and reopening AG Grid charts, which containers they open in, and external (non-AG Grid) charts.
|
|
130
|
+
*
|
|
131
|
+
* Chart definitions the user saves are stored in state. These options control that behaviour.
|
|
110
132
|
*/
|
|
111
133
|
chartingOptions?: ChartingOptions;
|
|
112
134
|
/**
|
|
113
|
-
*
|
|
114
|
-
* @noCodeContainer
|
|
135
|
+
* Column captions and friendly names, column types used by Column Scope, and whether a missing column is logged.
|
|
115
136
|
*/
|
|
116
137
|
columnOptions?: ColumnOptions;
|
|
117
138
|
/**
|
|
118
|
-
*
|
|
119
|
-
*
|
|
139
|
+
* Replaces or extends the menu opened from a column header. The callback receives AdapTable's default items.
|
|
120
140
|
*/
|
|
121
141
|
columnMenuOptions?: ColumnMenuOptions<TData>;
|
|
122
142
|
/**
|
|
123
|
-
*
|
|
143
|
+
* Comments on cells: which cells can be commented, and how threads are loaded and saved.
|
|
144
|
+
*
|
|
145
|
+
* Comments are not part of AdapTable State. The application loads and persists them through these callbacks.
|
|
124
146
|
*/
|
|
125
147
|
commentOptions?: CommentOptions<TData>;
|
|
126
148
|
/**
|
|
127
|
-
*
|
|
149
|
+
* Calculated Columns whose values come from an AdapTableQL expression: formula trace, and how often aggregated columns recompute after row changes.
|
|
150
|
+
*
|
|
151
|
+
* The column definitions belong in Initial State.
|
|
128
152
|
*/
|
|
129
153
|
calculatedColumnOptions?: CalculatedColumnOptions;
|
|
130
154
|
/**
|
|
131
|
-
*
|
|
155
|
+
* DOM elements that host the grid, the AG Grid instance, the Settings Panel, alerts, system status and the transposed view.
|
|
156
|
+
*
|
|
157
|
+
* Set these when AdapTable is not mounted into the default divs.
|
|
132
158
|
*/
|
|
133
159
|
containerOptions?: ContainerOptions;
|
|
134
160
|
/**
|
|
135
|
-
*
|
|
136
|
-
*
|
|
161
|
+
* Replaces or extends the right-click menu. The callback receives AdapTable's default items.
|
|
137
162
|
*/
|
|
138
163
|
contextMenuOptions?: ContextMenuOptions<TData>;
|
|
139
164
|
/**
|
|
140
|
-
*
|
|
165
|
+
* Comparer functions for a Custom Sort, used when the sort order is not a simple list of values.
|
|
166
|
+
*
|
|
167
|
+
* The Custom Sort objects (the ordered values) belong in Initial State.
|
|
141
168
|
*/
|
|
142
169
|
customSortOptions?: CustomSortOptions;
|
|
143
170
|
/**
|
|
144
|
-
*
|
|
171
|
+
* The Dashboard above the grid: whether it can float, custom toolbars and buttons, and where the module buttons sit.
|
|
145
172
|
*
|
|
146
|
-
*
|
|
173
|
+
* Which toolbars are on each tab is stored in Dashboard state.
|
|
147
174
|
*/
|
|
148
175
|
dashboardOptions?: DashboardOptions;
|
|
149
176
|
/**
|
|
150
|
-
*
|
|
151
|
-
*
|
|
152
|
-
* @noCodeContainer
|
|
177
|
+
* The log of cell value changes: whether it starts active, which changes are recorded, and the undo button.
|
|
153
178
|
*/
|
|
154
179
|
dataChangeHistoryOptions?: DataChangeHistoryOptions<TData>;
|
|
155
180
|
/**
|
|
156
|
-
*
|
|
181
|
+
* The import wizard: how a file or pasted text becomes rows, how those rows are validated, and how they are written into the grid.
|
|
157
182
|
*/
|
|
158
183
|
dataImportOptions?: DataImportOptions;
|
|
159
184
|
/**
|
|
160
|
-
*
|
|
185
|
+
* Named sets of rows the user can switch between. Each set supplies its own data.
|
|
161
186
|
*/
|
|
162
187
|
dataSetOptions?: DataSetOptions<TData>;
|
|
163
188
|
/**
|
|
164
|
-
*
|
|
165
|
-
*
|
|
189
|
+
* Cell editing: which cells can be edited, server-side validation, the values offered in a dropdown editor, Plus Minus nudges and Smart Edit.
|
|
166
190
|
*/
|
|
167
191
|
editOptions?: EditOptions<TData>;
|
|
168
192
|
/**
|
|
169
|
-
*
|
|
193
|
+
* Which modules a user may see or change. `Full`, `ReadOnly` or `Hidden`, per module or as a default.
|
|
170
194
|
*
|
|
195
|
+
* A module that defaults to hidden (such as State) stays hidden until `moduleEntitlements` allows it.
|
|
171
196
|
*/
|
|
172
197
|
entitlementOptions?: EntitlementOptions;
|
|
173
198
|
/**
|
|
174
|
-
*
|
|
199
|
+
* Reports: which system reports, formats and destinations are offered, custom destinations, and whether a column is included.
|
|
175
200
|
*
|
|
201
|
+
* Report definitions the user creates are stored in Export state.
|
|
176
202
|
*/
|
|
177
203
|
exportOptions?: ExportOptions<TData>;
|
|
178
204
|
/**
|
|
179
|
-
*
|
|
180
|
-
*
|
|
205
|
+
* AdapTableQL: custom functions, which columns and fields an expression may use, case sensitivity, and how the expression editor is presented.
|
|
206
|
+
*
|
|
207
|
+
* Expressions saved on objects (a filter, an alert rule, a calculated column) live on those objects. These options change how every expression is evaluated and edited.
|
|
181
208
|
*/
|
|
182
209
|
expressionOptions?: ExpressionOptions<TData>;
|
|
183
210
|
/**
|
|
184
|
-
*
|
|
211
|
+
* FDC3: which intents and contexts this grid raises, listens for and broadcasts, and how a row's columns map onto an FDC3 context.
|
|
185
212
|
*/
|
|
186
213
|
fdc3Options?: Fdc3Options;
|
|
187
214
|
/**
|
|
188
|
-
*
|
|
215
|
+
* Defaults for a flashing cell when a Flashing Cell definition does not set them: up, down and neutral styles, whether the cell or the row flashes, and for how long.
|
|
189
216
|
*
|
|
217
|
+
* The definitions themselves belong in Initial State.
|
|
190
218
|
*/
|
|
191
219
|
flashingCellOptions?: FlashingCellOptions;
|
|
192
220
|
/**
|
|
193
|
-
*
|
|
221
|
+
* Display formatters beyond the ones AdapTable ships, used by Format Columns.
|
|
222
|
+
*
|
|
223
|
+
* The Format Column objects (which column, which style and format) belong in Initial State.
|
|
194
224
|
*/
|
|
195
225
|
formatColumnOptions?: FormatColumnOptions;
|
|
196
226
|
/**
|
|
197
|
-
*
|
|
227
|
+
* Column Filters and the Grid Filter: whether AdapTable's filters are used instead of AG Grid's, the quick filter bar, and the default operator for each data type.
|
|
228
|
+
*
|
|
229
|
+
* The filters the user creates are stored in the Layout.
|
|
198
230
|
*/
|
|
199
231
|
filterOptions?: FilterOptions<TData>;
|
|
200
232
|
/**
|
|
201
|
-
*
|
|
233
|
+
* How Layouts are created and shown: a layout built from the AG Grid column definitions, defaults for a new Table or Pivot Layout, and whether layout extensions are offered in the UI.
|
|
202
234
|
*
|
|
203
|
-
*
|
|
235
|
+
* The Layout objects belong in Initial State. A grid needs at least one.
|
|
204
236
|
*/
|
|
205
237
|
layoutOptions?: LayoutOptions<TData>;
|
|
206
238
|
/**
|
|
207
|
-
*
|
|
239
|
+
* Notes on cells: which cells can hold a note, the note type applied on creation, and how the timestamp is formatted.
|
|
240
|
+
*
|
|
241
|
+
* The notes themselves are stored in Note state.
|
|
208
242
|
*/
|
|
209
243
|
noteOptions?: NoteOptions;
|
|
210
244
|
/**
|
|
211
|
-
*
|
|
212
|
-
*
|
|
213
|
-
* @noCodeContainer
|
|
245
|
+
* Toasts: where they appear, how long they stay, and how many system status messages are kept.
|
|
214
246
|
*/
|
|
215
247
|
notificationsOptions?: NotificationsOptions;
|
|
216
248
|
/**
|
|
217
|
-
*
|
|
218
|
-
*
|
|
219
|
-
* @noCodeContainer
|
|
249
|
+
* Quick Search: which cells are searched, whether matching rows are filtered, and whether the search is case sensitive.
|
|
220
250
|
*/
|
|
221
251
|
quickSearchOptions?: QuickSearchOptions<TData>;
|
|
222
252
|
/**
|
|
223
|
-
*
|
|
253
|
+
* Create, clone and edit forms for a row: which columns appear, how the primary key of a new row is set, and whether AdapTable writes the result into the grid.
|
|
224
254
|
*/
|
|
225
255
|
rowFormOptions?: RowFormOptions<TData>;
|
|
226
256
|
/**
|
|
227
|
-
*
|
|
228
|
-
*
|
|
229
|
-
* @noCodeContainer
|
|
257
|
+
* The Settings Panel: its title and icon, which modules appear and in which groups, and whether it opens as a modal or a movable window.
|
|
230
258
|
*/
|
|
231
259
|
settingsPanelOptions?: SettingsPanelOptions;
|
|
232
260
|
/**
|
|
233
|
-
*
|
|
234
|
-
* Smart Edit and Cell Summary) — controls their `popupType`, initial
|
|
235
|
-
* `position` and `size` independently of the Settings Panel.
|
|
261
|
+
* Wizards and the other action popups (Bulk Update, Smart Edit, Cell Summary): modal or window, and the window's position and size.
|
|
236
262
|
*
|
|
237
|
-
*
|
|
263
|
+
* Independent of the Settings Panel. Ignored when `containerOptions.modalContainer` places every popup in one element.
|
|
238
264
|
*/
|
|
239
265
|
wizardOptions?: WizardOptions;
|
|
240
266
|
/**
|
|
241
|
-
*
|
|
267
|
+
* Where state is loaded from and saved to. The default is `localStorage`.
|
|
268
|
+
*
|
|
269
|
+
* Replace `loadState` and `persistState` to keep state on a server. `saveState` and `applyState` change the object just before it is stored or applied.
|
|
242
270
|
*/
|
|
243
271
|
stateOptions?: StateOptions;
|
|
244
272
|
/**
|
|
245
|
-
*
|
|
273
|
+
* Sharing Adaptable Objects with other users. The application loads and saves the shared objects; AdapTable does not ship a server.
|
|
246
274
|
*
|
|
275
|
+
* Turn it on with `enableTeamSharing`, then provide `loadSharedEntities` and `persistSharedEntities`.
|
|
247
276
|
*/
|
|
248
277
|
teamSharingOptions?: TeamSharingOptions;
|
|
249
278
|
/**
|
|
250
|
-
*
|
|
251
|
-
*
|
|
252
|
-
* @noCodeContainer
|
|
279
|
+
* The tool panel beside the grid: custom panels, custom buttons, and whether the panel dropdown is shown.
|
|
253
280
|
*/
|
|
254
281
|
toolPanelOptions?: ToolPanelOptions;
|
|
255
282
|
/**
|
|
256
|
-
*
|
|
257
|
-
*
|
|
283
|
+
* Shared UI: the application icon, custom icons, editable and read-only cell styles, the colour picker, date inputs, the loading screen, and the names shown for modules.
|
|
258
284
|
*/
|
|
259
285
|
userInterfaceOptions?: UserInterfaceOptions<TData>;
|
|
260
286
|
/**
|
|
261
|
-
*
|
|
287
|
+
* Plugins constructed by the application and handed to AdapTable: OpenFin, ipushpull, interop.io and Master-Detail.
|
|
288
|
+
*
|
|
289
|
+
* Each plugin is created with its own options. This array registers them.
|
|
262
290
|
*/
|
|
263
291
|
plugins?: AdaptablePlugin[];
|
|
264
292
|
}
|