@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
|
@@ -181,77 +181,151 @@ export interface HandleFdc3IntentContext extends HandleFdc3Context {
|
|
|
181
181
|
}
|
|
182
182
|
export declare const ColumnRefTypePrefix = "_colId.";
|
|
183
183
|
export declare const FieldRefTypePrefix = "_field.";
|
|
184
|
+
/**
|
|
185
|
+
* Points one FDC3 context field at a grid column or a row field.
|
|
186
|
+
*
|
|
187
|
+
* `` `_colId.${columnId}` `` reads the column. `` `_field.${fieldName}` `` reads a field that is not a column.
|
|
188
|
+
*/
|
|
184
189
|
export type GridDataRef = `_colId.${string}` | `_field.${string}`;
|
|
190
|
+
/**
|
|
191
|
+
* Maps each field of an FDC3 context (other than `type`) to a {@link GridDataRef}.
|
|
192
|
+
*
|
|
193
|
+
* AdapTable builds the context for a row by reading those columns and fields.
|
|
194
|
+
*/
|
|
185
195
|
export type Fdc3ContentMapping<T> = PropertiesToGridRefs<Omit<T, 'type'>>;
|
|
186
196
|
/**
|
|
187
|
-
*
|
|
197
|
+
* Which grid columns fill each standard FDC3 context, keyed by the context type.
|
|
198
|
+
*
|
|
199
|
+
* Set `custom` for a context type that is not one of the standard names.
|
|
188
200
|
*/
|
|
189
201
|
export interface GridDataContextMapping {
|
|
202
|
+
/** Maps an `fdc3.action` context. Each field is a `_colId.` or `_field.` reference. */
|
|
190
203
|
'fdc3.action'?: Fdc3ContentMapping<Action>;
|
|
204
|
+
/** Maps an `fdc3.chart` context. Each field is a `_colId.` or `_field.` reference. */
|
|
191
205
|
'fdc3.chart'?: Fdc3ContentMapping<Chart>;
|
|
206
|
+
/** Maps an `fdc3.chat.initSettings` context. Each field is a `_colId.` or `_field.` reference. */
|
|
192
207
|
'fdc3.chat.initSettings'?: Fdc3ContentMapping<ChatInitSettings>;
|
|
208
|
+
/** Maps an `fdc3.chat.message` context. Each field is a `_colId.` or `_field.` reference. */
|
|
193
209
|
'fdc3.chat.message'?: Fdc3ContentMapping<ChatMessage>;
|
|
210
|
+
/** Maps an `fdc3.chat.room` context. Each field is a `_colId.` or `_field.` reference. */
|
|
194
211
|
'fdc3.chat.room'?: Fdc3ContentMapping<ChatRoom>;
|
|
212
|
+
/** Maps an `fdc3.chat.searchCriteria` context. Each field is a `_colId.` or `_field.` reference. */
|
|
195
213
|
'fdc3.chat.searchCriteria'?: Fdc3ContentMapping<ChatSearchCriteria>;
|
|
214
|
+
/** Maps an `fdc3.contact` context. Each field is a `_colId.` or `_field.` reference. */
|
|
196
215
|
'fdc3.contact'?: Fdc3ContentMapping<Contact>;
|
|
216
|
+
/** Maps an `fdc3.contactList` context. Each field is a `_colId.` or `_field.` reference. */
|
|
197
217
|
'fdc3.contactList'?: Fdc3ContentMapping<ContactList>;
|
|
218
|
+
/** Maps an `fdc3.country` context. Each field is a `_colId.` or `_field.` reference. */
|
|
198
219
|
'fdc3.country'?: Fdc3ContentMapping<Country>;
|
|
220
|
+
/** Maps an `fdc3.currency` context. Each field is a `_colId.` or `_field.` reference. */
|
|
199
221
|
'fdc3.currency'?: Fdc3ContentMapping<Currency>;
|
|
222
|
+
/** Maps an `fdc3.email` context. Each field is a `_colId.` or `_field.` reference. */
|
|
200
223
|
'fdc3.email'?: Fdc3ContentMapping<Email>;
|
|
224
|
+
/** Maps an `fdc3.instrument` context. Each field is a `_colId.` or `_field.` reference. */
|
|
201
225
|
'fdc3.instrument'?: Fdc3ContentMapping<Instrument>;
|
|
226
|
+
/** Maps an `fdc3.instrumentList` context. Each field is a `_colId.` or `_field.` reference. */
|
|
202
227
|
'fdc3.instrumentList'?: Fdc3ContentMapping<InstrumentList>;
|
|
228
|
+
/** Maps an `fdc3.interaction` context. Each field is a `_colId.` or `_field.` reference. */
|
|
203
229
|
'fdc3.interaction'?: Fdc3ContentMapping<Interaction>;
|
|
230
|
+
/** Maps an `fdc3.message` context. Each field is a `_colId.` or `_field.` reference. */
|
|
204
231
|
'fdc3.message'?: Fdc3ContentMapping<Message>;
|
|
232
|
+
/** Maps an `fdc3.organization` context. Each field is a `_colId.` or `_field.` reference. */
|
|
205
233
|
'fdc3.organization'?: Fdc3ContentMapping<Organization>;
|
|
234
|
+
/** Maps an `fdc3.portfolio` context. Each field is a `_colId.` or `_field.` reference. */
|
|
206
235
|
'fdc3.portfolio'?: Fdc3ContentMapping<Portfolio>;
|
|
236
|
+
/** Maps an `fdc3.position` context. Each field is a `_colId.` or `_field.` reference. */
|
|
207
237
|
'fdc3.position'?: Fdc3ContentMapping<Position>;
|
|
238
|
+
/** Maps an `fdc3.timerange` context. Each field is a `_colId.` or `_field.` reference. */
|
|
208
239
|
'fdc3.timerange'?: Fdc3ContentMapping<TimeRange>;
|
|
240
|
+
/** Maps an `fdc3.transactionResult` context. Each field is a `_colId.` or `_field.` reference. */
|
|
209
241
|
'fdc3.transactionResult'?: Fdc3ContentMapping<TransactionResult>;
|
|
242
|
+
/** Maps an `fdc3.valuation` context. Each field is a `_colId.` or `_field.` reference. */
|
|
210
243
|
'fdc3.valuation'?: Fdc3ContentMapping<Valuation>;
|
|
244
|
+
/**
|
|
245
|
+
* Column mapping for a context type that is not one of the standard names. The key is the context type.
|
|
246
|
+
*/
|
|
211
247
|
custom?: {
|
|
212
248
|
[key: string]: Fdc3ContentMapping<Context>;
|
|
213
249
|
};
|
|
214
250
|
}
|
|
215
251
|
/**
|
|
216
|
-
*
|
|
252
|
+
* When each standard FDC3 intent is raised from the grid. The property name is the intent.
|
|
253
|
+
*
|
|
254
|
+
* Each value lists the grid actions that raise it (for example a cell click or a button). Use `custom` for an intent that is not a standard name.
|
|
217
255
|
*/
|
|
218
256
|
export interface RaiseIntentConfiguration {
|
|
257
|
+
/** Grid actions that raise the standard `StartCall` intent. */
|
|
219
258
|
StartCall?: RaiseIntentConfig[];
|
|
259
|
+
/** Grid actions that raise the standard `StartChat` intent. */
|
|
220
260
|
StartChat?: RaiseIntentConfig[];
|
|
261
|
+
/** Grid actions that raise the standard `StartEmail` intent. */
|
|
221
262
|
StartEmail?: RaiseIntentConfig[];
|
|
263
|
+
/** Grid actions that raise the standard `ViewAnalysis` intent. */
|
|
222
264
|
ViewAnalysis?: RaiseIntentConfig[];
|
|
265
|
+
/** Grid actions that raise the standard `ViewChart` intent. */
|
|
223
266
|
ViewChart?: RaiseIntentConfig[];
|
|
267
|
+
/** Grid actions that raise the standard `ViewContact` intent. */
|
|
224
268
|
ViewContact?: RaiseIntentConfig[];
|
|
269
|
+
/** Grid actions that raise the standard `ViewHoldings` intent. */
|
|
225
270
|
ViewHoldings?: RaiseIntentConfig[];
|
|
271
|
+
/** Grid actions that raise the standard `ViewInstrument` intent. */
|
|
226
272
|
ViewInstrument?: RaiseIntentConfig[];
|
|
273
|
+
/** Grid actions that raise the standard `ViewInteractions` intent. */
|
|
227
274
|
ViewInteractions?: RaiseIntentConfig[];
|
|
275
|
+
/** Grid actions that raise the standard `ViewNews` intent. */
|
|
228
276
|
ViewNews?: RaiseIntentConfig[];
|
|
277
|
+
/** Grid actions that raise the standard `ViewOrders` intent. */
|
|
229
278
|
ViewOrders?: RaiseIntentConfig[];
|
|
279
|
+
/** Grid actions that raise the standard `ViewProfile` intent. */
|
|
230
280
|
ViewProfile?: RaiseIntentConfig[];
|
|
281
|
+
/** Grid actions that raise the standard `ViewQuote` intent. */
|
|
231
282
|
ViewQuote?: RaiseIntentConfig[];
|
|
283
|
+
/** Grid actions that raise the standard `ViewResearch` intent. */
|
|
232
284
|
ViewResearch?: RaiseIntentConfig[];
|
|
285
|
+
/**
|
|
286
|
+
* When to raise an intent that is not one of the standard names. The key is the intent name.
|
|
287
|
+
*/
|
|
233
288
|
custom?: {
|
|
234
289
|
[customIntent: string]: RaiseIntentConfig[];
|
|
235
290
|
};
|
|
236
291
|
}
|
|
237
292
|
/**
|
|
238
|
-
*
|
|
293
|
+
* When each standard FDC3 context is broadcast from the grid. The property name is the context type.
|
|
294
|
+
*
|
|
295
|
+
* Use `custom` for a context type that is not a standard name.
|
|
239
296
|
*/
|
|
240
297
|
export interface BroadcastConfiguration {
|
|
298
|
+
/** When to broadcast an `fdc3.chart` context. */
|
|
241
299
|
'fdc3.chart'?: BroadcastConfig;
|
|
300
|
+
/** When to broadcast an `fdc3.chat.initSettings` context. */
|
|
242
301
|
'fdc3.chat.initSettings'?: BroadcastConfig;
|
|
302
|
+
/** When to broadcast an `fdc3.contact` context. */
|
|
243
303
|
'fdc3.contact'?: BroadcastConfig;
|
|
304
|
+
/** When to broadcast an `fdc3.contactList` context. */
|
|
244
305
|
'fdc3.contactList'?: BroadcastConfig;
|
|
306
|
+
/** When to broadcast an `fdc3.country` context. */
|
|
245
307
|
'fdc3.country'?: BroadcastConfig;
|
|
308
|
+
/** When to broadcast an `fdc3.currency` context. */
|
|
246
309
|
'fdc3.currency'?: BroadcastConfig;
|
|
310
|
+
/** When to broadcast an `fdc3.email` context. */
|
|
247
311
|
'fdc3.email'?: BroadcastConfig;
|
|
312
|
+
/** When to broadcast an `fdc3.instrument` context. */
|
|
248
313
|
'fdc3.instrument'?: BroadcastConfig;
|
|
314
|
+
/** When to broadcast an `fdc3.instrumentList` context. */
|
|
249
315
|
'fdc3.instrumentList'?: BroadcastConfig;
|
|
316
|
+
/** When to broadcast an `fdc3.organization` context. */
|
|
250
317
|
'fdc3.organization'?: BroadcastConfig;
|
|
318
|
+
/** When to broadcast an `fdc3.portfolio` context. */
|
|
251
319
|
'fdc3.portfolio'?: BroadcastConfig;
|
|
320
|
+
/** When to broadcast an `fdc3.position` context. */
|
|
252
321
|
'fdc3.position'?: BroadcastConfig;
|
|
322
|
+
/** When to broadcast an `fdc3.timerange` context. */
|
|
253
323
|
'fdc3.timerange'?: BroadcastConfig;
|
|
324
|
+
/** When to broadcast an `fdc3.valuation` context. */
|
|
254
325
|
'fdc3.valuation'?: BroadcastConfig;
|
|
326
|
+
/**
|
|
327
|
+
* When to broadcast a context type that is not one of the standard names. The key is the context type.
|
|
328
|
+
*/
|
|
255
329
|
custom?: {
|
|
256
330
|
[customContext: string]: BroadcastConfig;
|
|
257
331
|
};
|
|
@@ -3,18 +3,19 @@ import { AdaptableColumn } from '../AdaptableState/Common/AdaptableColumn';
|
|
|
3
3
|
import { AdaptableColumnContext } from '../AdaptableState/Common/AdaptableColumnContext';
|
|
4
4
|
import { IRowNode } from 'ag-grid-enterprise';
|
|
5
5
|
/**
|
|
6
|
-
*
|
|
6
|
+
* Column Filters (one column) and the Grid Filter (a query across columns).
|
|
7
|
+
*
|
|
8
|
+
* The filters a user creates are stored on the Layout. These options change how filtering works for the whole grid.
|
|
7
9
|
*/
|
|
8
10
|
export interface FilterOptions<TData = any> {
|
|
9
11
|
/**
|
|
10
|
-
*
|
|
12
|
+
* The filter row under the column headers, and the operator offered first for each data type.
|
|
11
13
|
*/
|
|
12
14
|
columnFilterOptions?: ColumnFilterOptions;
|
|
13
15
|
/**
|
|
14
16
|
* Clear Grid and Column Filters when AdapTable loads
|
|
15
17
|
*
|
|
16
18
|
* @defaultValue false
|
|
17
|
-
* @noCodeItem
|
|
18
19
|
*/
|
|
19
20
|
clearFiltersOnStartUp?: boolean;
|
|
20
21
|
/**
|
|
@@ -38,7 +39,6 @@ export interface FilterOptions<TData = any> {
|
|
|
38
39
|
isRowFilterable?: (context: IsRowFilterableContext) => boolean;
|
|
39
40
|
/**
|
|
40
41
|
* Show Date Picker (or Date Input) in Filter controls
|
|
41
|
-
* @noCodeItem
|
|
42
42
|
* @defaultValue true
|
|
43
43
|
*/
|
|
44
44
|
showDatePicker?: boolean;
|
|
@@ -46,7 +46,6 @@ export interface FilterOptions<TData = any> {
|
|
|
46
46
|
* Use Adaptable's Column & Grid Filters in preference to AG Grid's filtering
|
|
47
47
|
*
|
|
48
48
|
* @defaultValue true
|
|
49
|
-
* @noCodeItem
|
|
50
49
|
*/
|
|
51
50
|
useAdaptableFiltering?: boolean;
|
|
52
51
|
}
|
|
@@ -58,14 +57,12 @@ export interface ColumnFilterOptions<TData = any> {
|
|
|
58
57
|
* Make Column Header distinctive for filtered columns, helps users see currently filtered columns
|
|
59
58
|
*
|
|
60
59
|
* @defaultValue true
|
|
61
|
-
* @noCodeItem
|
|
62
60
|
*/
|
|
63
61
|
indicateFilteredColumns?: boolean;
|
|
64
62
|
/**
|
|
65
63
|
* Manually apply Column Filters; an Apply Filter button is displayed and Quick Filter is disabled
|
|
66
64
|
*
|
|
67
65
|
* @defaultValue false
|
|
68
|
-
* @noCodeItem
|
|
69
66
|
*/
|
|
70
67
|
manuallyApplyColumnFilter?: boolean | ((context: AdaptableColumnContext) => boolean);
|
|
71
68
|
/**
|
|
@@ -110,7 +107,6 @@ export interface ColumnFilterOptions<TData = any> {
|
|
|
110
107
|
/**
|
|
111
108
|
* Display Quick Filter Bar between Column Header and Grid (provided its been setup)
|
|
112
109
|
* @defaultValue true
|
|
113
|
-
* @noCodeItem
|
|
114
110
|
*/
|
|
115
111
|
showQuickFilter?: boolean;
|
|
116
112
|
/**
|
|
@@ -201,7 +197,13 @@ export interface InFilterValue<ValueType = any> {
|
|
|
201
197
|
* Tooltip for Item (if true, the label is used as tooltip)
|
|
202
198
|
*/
|
|
203
199
|
tooltip?: boolean | string;
|
|
200
|
+
/**
|
|
201
|
+
* Depth of this item when the list is a tree. `0` is the root.
|
|
202
|
+
*/
|
|
204
203
|
level?: number;
|
|
204
|
+
/**
|
|
205
|
+
* Child items, used for a grouped or date tree. Selecting a parent selects its leaves.
|
|
206
|
+
*/
|
|
205
207
|
children?: InFilterValue<ValueType>[];
|
|
206
208
|
}
|
|
207
209
|
/**
|
|
@@ -286,6 +288,9 @@ export interface InFilterValueInfo extends InFilterValue {
|
|
|
286
288
|
* Whether Item is currently visible in Grid (i.e. in filtered rows)
|
|
287
289
|
*/
|
|
288
290
|
visible?: boolean;
|
|
291
|
+
/**
|
|
292
|
+
* Child items, with the same counts and selection state as this item.
|
|
293
|
+
*/
|
|
289
294
|
children?: InFilterValueInfo[];
|
|
290
295
|
/**
|
|
291
296
|
* For the grouping scenario, how many leafs are there under this item
|
|
@@ -10,17 +10,17 @@ export interface FlashingCellOptions {
|
|
|
10
10
|
defaultFlashTarget?: FlashTarget;
|
|
11
11
|
/**
|
|
12
12
|
* Style for 'Down' value changes
|
|
13
|
-
*
|
|
13
|
+
* @defaultValue BackColor of `var(--ab-color-flash-down)` (red in the shipped themes)
|
|
14
14
|
*/
|
|
15
15
|
defaultDownChangeStyle?: AdaptableStyle;
|
|
16
16
|
/**
|
|
17
17
|
* Style for 'Up' value changes
|
|
18
|
-
* @defaultValue
|
|
18
|
+
* @defaultValue BackColor of `var(--ab-color-flash-up)` (green in the shipped themes)
|
|
19
19
|
*/
|
|
20
20
|
defaultUpChangeStyle?: AdaptableStyle;
|
|
21
21
|
/**
|
|
22
22
|
* Style for 'Neutral' value changes
|
|
23
|
-
* @defaultValue
|
|
23
|
+
* @defaultValue BackColor of `var(--ab-color-flash-neutral)` (gray in the shipped themes)
|
|
24
24
|
*/
|
|
25
25
|
defaultNeutralChangeStyle?: AdaptableStyle;
|
|
26
26
|
/**
|
|
@@ -18,7 +18,11 @@ export interface LayoutOptions<TData = any> {
|
|
|
18
18
|
*/
|
|
19
19
|
enableLayoutExtensionsUI?: boolean;
|
|
20
20
|
/**
|
|
21
|
-
*
|
|
21
|
+
* Tag-based layout extensions. Do not set this.
|
|
22
|
+
*
|
|
23
|
+
* Extend an object into a Layout with `Layout.LayoutExtensions` in Adaptable State.
|
|
24
|
+
*
|
|
25
|
+
* @deprecated Layouts are extended through `Layout.LayoutExtensions` in Adaptable State
|
|
22
26
|
*/
|
|
23
27
|
layoutTagOptions?: LayoutTagOptions;
|
|
24
28
|
/**
|
|
@@ -138,9 +142,16 @@ export interface LayoutRowSelectionContext<TData = any> extends AdaptableColumnC
|
|
|
138
142
|
/**
|
|
139
143
|
* @deprecated since v24 Layouts are extended through `Layout.LayoutExtensions`; will be removed in v25
|
|
140
144
|
*/
|
|
145
|
+
/**
|
|
146
|
+
* Unused. Extend objects into a Layout with `Layout.LayoutExtensions`.
|
|
147
|
+
*
|
|
148
|
+
* @deprecated Layouts are extended through `Layout.LayoutExtensions` in Adaptable State
|
|
149
|
+
*/
|
|
141
150
|
export interface LayoutTagOptions {
|
|
142
151
|
/**
|
|
143
|
-
*
|
|
152
|
+
* Not called. Extend objects with `Layout.LayoutExtensions`.
|
|
153
|
+
*
|
|
154
|
+
* @deprecated no longer generates Tags
|
|
144
155
|
*/
|
|
145
156
|
autoGenerateTagsForLayouts?: boolean | ((context: any) => AdaptableObjectTag[]);
|
|
146
157
|
/**
|
|
@@ -150,7 +161,9 @@ export interface LayoutTagOptions {
|
|
|
150
161
|
*/
|
|
151
162
|
autoCheckTagsForLayouts?: boolean;
|
|
152
163
|
/**
|
|
153
|
-
*
|
|
164
|
+
* Not called. Extend objects with `Layout.LayoutExtensions`.
|
|
165
|
+
*
|
|
166
|
+
* @deprecated no longer called. Define extensions in `Layout.LayoutExtensions` instead
|
|
154
167
|
*/
|
|
155
168
|
isObjectExtendedInLayout?: (context: any) => boolean;
|
|
156
169
|
}
|
|
@@ -29,14 +29,12 @@ export interface QuickSearchOptions<TData = any> {
|
|
|
29
29
|
* Filters Grid after quick search so only matching rows are displayed
|
|
30
30
|
*
|
|
31
31
|
* @defaultValue false
|
|
32
|
-
* @noCodeItem
|
|
33
32
|
*/
|
|
34
33
|
filterGridAfterQuickSearch?: boolean;
|
|
35
34
|
/**
|
|
36
35
|
* Run Quick Search using Case Sensitivity
|
|
37
36
|
*
|
|
38
37
|
* @defaultValue false
|
|
39
|
-
* @noCodeItem
|
|
40
38
|
*/
|
|
41
39
|
isQuickSearchCaseSensitive?: boolean;
|
|
42
40
|
}
|
|
@@ -129,13 +129,22 @@ export interface EditRowFormContext<TData = any> extends FormContext {
|
|
|
129
129
|
* Context used for overriding Title and Description of Row Form
|
|
130
130
|
*/
|
|
131
131
|
export interface RowFormTitleContext<TData = any> extends BaseContext {
|
|
132
|
+
/**
|
|
133
|
+
* Which form is open. `'rowCreated'` is create or clone. `'rowEdited'` is edit. Delete does not use this context.
|
|
134
|
+
*/
|
|
132
135
|
type: Extract<RowFormType, 'rowEdited' | 'rowCreated'>;
|
|
136
|
+
/**
|
|
137
|
+
* Row being edited or cloned. Absent when the form creates a new row.
|
|
138
|
+
*/
|
|
133
139
|
rowNode?: IRowNode<TData>;
|
|
134
140
|
}
|
|
135
141
|
/**
|
|
136
142
|
* Context used for overriding Field elements in Row Form
|
|
137
143
|
*/
|
|
138
144
|
export interface RowFormFieldContext<TData = any> extends RowFormTitleContext {
|
|
145
|
+
/**
|
|
146
|
+
* Column the field is being built for. Return a partial field to override the default for this column only.
|
|
147
|
+
*/
|
|
139
148
|
column: AdaptableColumn<TData>;
|
|
140
149
|
}
|
|
141
150
|
/**
|
|
@@ -31,11 +31,15 @@ export interface SettingsPanelOptions {
|
|
|
31
31
|
*/
|
|
32
32
|
displayOptions?: SettingsPanelDisplayOptions;
|
|
33
33
|
/**
|
|
34
|
+
* Whether module icons show in the navigation. Set `displayOptions.showModuleIcons` instead.
|
|
35
|
+
*
|
|
34
36
|
* @deprecated Use `displayOptions.showModuleIcons` instead.
|
|
35
37
|
* @defaultValue true
|
|
36
38
|
*/
|
|
37
39
|
showModuleIcons?: boolean;
|
|
38
40
|
/**
|
|
41
|
+
* Whether module descriptions show under each name. Set `displayOptions.showModuleDescriptions` instead.
|
|
42
|
+
*
|
|
39
43
|
* @deprecated Use `displayOptions.showModuleDescriptions` instead.
|
|
40
44
|
* @defaultValue true
|
|
41
45
|
*/
|
|
@@ -43,7 +47,6 @@ export interface SettingsPanelOptions {
|
|
|
43
47
|
/**
|
|
44
48
|
* Whether a Settings Panel button should always be displayed in `ModuleButtons` area of ToolPanel
|
|
45
49
|
* @defaultValue false
|
|
46
|
-
* @noCodeItem
|
|
47
50
|
*/
|
|
48
51
|
alwaysShowInToolPanel?: boolean;
|
|
49
52
|
/**
|
|
@@ -74,9 +77,11 @@ export interface SettingsPanelOptions {
|
|
|
74
77
|
*/
|
|
75
78
|
customSettingsPanels?: CustomSettingsPanel[];
|
|
76
79
|
/**
|
|
77
|
-
* Which Tabs
|
|
80
|
+
* Which Tabs to show in Grid Info: 'Grid Summary', 'Layout', 'Grid State' or 'Grid Options'
|
|
78
81
|
*
|
|
79
|
-
*
|
|
82
|
+
* Tab labels in the UI are Summary, Layout, State and Options
|
|
83
|
+
*
|
|
84
|
+
* @defaultValue ['Grid Summary', 'Layout', 'Grid State', 'Grid Options']
|
|
80
85
|
*/
|
|
81
86
|
gridInfoTabs?: GridInfoTabs;
|
|
82
87
|
}
|
|
@@ -123,6 +128,9 @@ export interface SettingsPanelNavigationGroup {
|
|
|
123
128
|
* Grouped Settings Panel navigation structure.
|
|
124
129
|
*/
|
|
125
130
|
export interface SettingsPanelNavigation {
|
|
131
|
+
/**
|
|
132
|
+
* Groups, in the order they appear. Each group has a heading and the modules inside it.
|
|
133
|
+
*/
|
|
126
134
|
groups: SettingsPanelNavigationGroup[];
|
|
127
135
|
}
|
|
128
136
|
/**
|
|
@@ -145,6 +153,9 @@ export type SettingsPanelNavigationConfigurer = (context: SettingsPanelNavigatio
|
|
|
145
153
|
* removed in the next major release.
|
|
146
154
|
*/
|
|
147
155
|
export interface LegacyFlatSettingsPanelNavigation {
|
|
156
|
+
/**
|
|
157
|
+
* Modules in one list. The string `'-'` starts a new group.
|
|
158
|
+
*/
|
|
148
159
|
items?: (AdaptableSettingsPanel | string | '-')[];
|
|
149
160
|
}
|
|
150
161
|
/**
|
|
@@ -182,6 +193,6 @@ export type PopupType = 'modal' | 'window';
|
|
|
182
193
|
*/
|
|
183
194
|
export type GridInfoTabs = GridInfoTab[];
|
|
184
195
|
/**
|
|
185
|
-
* Tab to use for Grid Info: 'Grid
|
|
196
|
+
* Tab to use for Grid Info: 'Grid Summary', 'Layout', 'Grid State' or 'Grid Options'
|
|
186
197
|
*/
|
|
187
|
-
export type GridInfoTab = 'Grid
|
|
198
|
+
export type GridInfoTab = 'Grid Summary' | 'Layout' | 'Grid State' | 'Grid Options';
|
|
@@ -1,12 +1,22 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { AdaptablePersistentState } from '../AdaptableState/AdaptableState';
|
|
2
2
|
import { AdaptableApi } from '../Api/AdaptableApi';
|
|
3
3
|
/**
|
|
4
4
|
* Options related to Adaptable State hydration / dehydration; allows users to intercept state persistence and loading with custom functionality
|
|
5
|
+
*
|
|
6
|
+
* All functions deal with `AdaptablePersistentState` - the persisted subset of `AdaptableState`.
|
|
7
|
+
* Transient sections (`Internal`, `Popup`, `Comment`, `Plugins`) are never passed to, nor expected from, these functions.
|
|
8
|
+
*
|
|
9
|
+
* Hydration flow: `loadState()` -> (merge with `initialState`) -> `applyState()`
|
|
10
|
+
*
|
|
11
|
+
* Dehydration flow: `saveState()` -> `persistState()`
|
|
12
|
+
*
|
|
13
|
+
* To store Adaptable State in a custom format (e.g. wrapped in an envelope, compressed, encrypted) do the wrapping in `persistState()` and the unwrapping in `loadState()` - these are the only functions which own the storage format.
|
|
14
|
+
* `saveState()` and `applyState()` always operate on Adaptable State, as `loadState()`'s result is merged with `initialState` section by section before `applyState()` is called.
|
|
5
15
|
*/
|
|
6
16
|
export interface StateOptions {
|
|
7
17
|
/**
|
|
8
18
|
* Retrieves saved Adaptable State from storage or external source
|
|
9
|
-
* @returns Promise resolving to the retrieved state object
|
|
19
|
+
* @returns Promise resolving to the retrieved (possibly partial) state object, or to nothing if no state was persisted yet
|
|
10
20
|
*/
|
|
11
21
|
loadState?: AdaptableLoadStateFunction;
|
|
12
22
|
/**
|
|
@@ -15,7 +25,7 @@ export interface StateOptions {
|
|
|
15
25
|
*/
|
|
16
26
|
persistState?: AdaptablePersistStateFunction;
|
|
17
27
|
/**
|
|
18
|
-
* Transforms state before applying it to the application. Called after `loadState()` but before the state is used.
|
|
28
|
+
* Transforms state before applying it to the application. Called after `loadState()` (and after merging with `initialState`) but before the state is used.
|
|
19
29
|
* @returns The transformed state object
|
|
20
30
|
*/
|
|
21
31
|
applyState?: AdaptableApplyStateFunction;
|
|
@@ -74,63 +84,77 @@ export interface AdaptableStateFunctionConfig {
|
|
|
74
84
|
*/
|
|
75
85
|
actionName?: string;
|
|
76
86
|
/**
|
|
77
|
-
* Previous state before the action was applied.
|
|
87
|
+
* Previous (persistent) state before the action was applied.
|
|
78
88
|
* This is useful for comparing changes or reverting if necessary.
|
|
79
89
|
*/
|
|
80
|
-
previousState?:
|
|
90
|
+
previousState?: AdaptablePersistentState;
|
|
81
91
|
}
|
|
82
92
|
/**
|
|
83
93
|
* Function that handles persisting state to storage systems (localStorage, server, etc.).
|
|
84
94
|
* Called after `saveState()` to store the prepared state.
|
|
85
95
|
*
|
|
96
|
+
* This is the place to apply any custom storage format (envelope, compression, encryption, etc.); the matching `loadState()` is expected to undo it.
|
|
97
|
+
*
|
|
86
98
|
* @example
|
|
87
99
|
* ```
|
|
88
100
|
* persistState = (state, stateFunctionConfig) => {
|
|
89
|
-
* localStorage.setItem(stateFunctionConfig.adaptableStateKey, JSON.stringify(state))
|
|
101
|
+
* localStorage.setItem(stateFunctionConfig.adaptableStateKey, JSON.stringify(state));
|
|
102
|
+
* return Promise.resolve();
|
|
90
103
|
* }
|
|
91
104
|
* ```
|
|
92
105
|
*
|
|
93
106
|
* @param state The state to be persisted
|
|
94
107
|
* @param adaptableStateFunctionConfig Configuration details for the current Adaptable instance
|
|
95
|
-
* @returns Promise resolving once persistence is complete
|
|
108
|
+
* @returns Promise resolving once persistence is complete; the resolved value is ignored
|
|
96
109
|
*/
|
|
97
110
|
export interface AdaptablePersistStateFunction {
|
|
98
|
-
(state:
|
|
111
|
+
(state: AdaptablePersistentState, adaptableStateFunctionConfig: AdaptableStateFunctionConfig): Promise<unknown>;
|
|
99
112
|
}
|
|
100
113
|
/**
|
|
101
114
|
* Function that clears persisted state from the storage system.
|
|
102
115
|
* Only invoked during `StateApi.reloadInitialState()` operations.
|
|
116
|
+
*
|
|
117
|
+
* @returns Promise resolving once the persisted state is cleared; the resolved value is ignored
|
|
103
118
|
*/
|
|
104
119
|
export interface AdaptableClearStateFunction {
|
|
105
|
-
(adaptableStateFunctionConfig: AdaptableStateFunctionConfig): Promise<
|
|
120
|
+
(adaptableStateFunctionConfig: AdaptableStateFunctionConfig): Promise<unknown>;
|
|
106
121
|
}
|
|
107
122
|
/**
|
|
108
123
|
* Function that transforms state before persistence. Called first in the persistence flow, before `persistState()`.
|
|
109
124
|
*
|
|
125
|
+
* The received state is the full persistent state of the current Adaptable instance (transient sections are already stripped).
|
|
126
|
+
*
|
|
110
127
|
* @param state The Adaptable state to transform before saving
|
|
111
128
|
* @param adaptableStateFunctionConfig Configuration details for the current Adaptable instance
|
|
112
129
|
* @returns The modified state ready for persistence
|
|
113
130
|
*/
|
|
114
131
|
export interface AdaptableSaveStateFunction {
|
|
115
|
-
(state:
|
|
132
|
+
(state: AdaptablePersistentState, adaptableStateFunctionConfig: AdaptableStateFunctionConfig): AdaptablePersistentState;
|
|
116
133
|
}
|
|
117
134
|
/**
|
|
118
135
|
* Function that retrieves Adaptable state from storage or external source. Called during initialization to hydrate the application state.
|
|
119
136
|
*
|
|
137
|
+
* The result is merged with `AdaptableOptions.initialState` before being passed to `applyState()`, so it may be partial (only the sections which were persisted) or empty / nullish (nothing was persisted yet).
|
|
138
|
+
*
|
|
139
|
+
* This is the place to undo any custom storage format applied in `persistState()`.
|
|
140
|
+
*
|
|
120
141
|
* @param config Configuration details for the current Adaptable instance
|
|
121
142
|
* @returns Promise resolving to the retrieved state object
|
|
122
143
|
*/
|
|
123
144
|
export interface AdaptableLoadStateFunction {
|
|
124
|
-
(config: AdaptableStateFunctionConfig): Promise<
|
|
145
|
+
(config: AdaptableStateFunctionConfig): Promise<Partial<AdaptablePersistentState> | null | void>;
|
|
125
146
|
}
|
|
126
147
|
/**
|
|
127
|
-
* Function that applies the loaded state to the application. Called after `loadState()` but before the state is used.
|
|
148
|
+
* Function that applies the loaded state to the application. Called after `loadState()` (and after the result was merged with `initialState`) but before the state is used.
|
|
128
149
|
* This allows for any necessary transformations or adjustments before the state is applied.
|
|
150
|
+
*
|
|
151
|
+
* The state is partial, as only the sections present in either the persisted state or `initialState` are available at this point; missing sections are initialised with their defaults afterwards.
|
|
152
|
+
*
|
|
129
153
|
* @param state The loaded state to transform
|
|
130
154
|
* @param adaptableStateFunctionConfig Configuration details for the current Adaptable instance
|
|
131
155
|
*
|
|
132
156
|
* @returns The transformed state object
|
|
133
157
|
*/
|
|
134
158
|
export interface AdaptableApplyStateFunction {
|
|
135
|
-
(state:
|
|
159
|
+
(state: Partial<AdaptablePersistentState>, adaptableStateFunctionConfig: AdaptableStateFunctionConfig): Partial<AdaptablePersistentState>;
|
|
136
160
|
}
|