@adaptabletools/adaptable 24.0.0-canary.7 → 24.0.0-canary.9
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 +29 -1
- package/aql.js +49 -1
- package/devtools.d.ts +55 -1
- package/index.css +7 -19
- package/index.d.ts +2 -3
- package/index.js +2 -3
- package/package.json +1 -1
- 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 +6 -0
- 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/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 +10 -1
- package/src/AdaptableOptions/ToolPanelOptions.d.ts +0 -1
- package/src/AdaptableOptions/UserInterfaceOptions.d.ts +87 -2
- package/src/AdaptableState/AdaptableState.d.ts +98 -4
- 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 +6 -2
- 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 +5 -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/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 +36 -5
- package/src/Api/Events/LiveDataChanged.d.ts +21 -5
- package/src/Api/Events/NoteChanged.d.ts +5 -1
- package/src/Api/Events/ReportScheduleRan.d.ts +7 -3
- package/src/Api/Events/RowChanged.d.ts +6 -2
- package/src/Api/Events/RowFormSubmitted.d.ts +28 -12
- package/src/Api/Events/RowSelectionChanged.d.ts +6 -2
- package/src/Api/Events/SystemStatusMessageDisplayed.d.ts +6 -2
- package/src/Api/Events/TeamSharingEntityChanged.d.ts +6 -2
- package/src/Api/Events/ThemeSelected.d.ts +6 -2
- package/src/Api/ExportApi.d.ts +59 -32
- package/src/Api/ExpressionApi.d.ts +24 -1
- package/src/Api/Fdc3Api.d.ts +16 -3
- package/src/Api/FlashingCellApi.d.ts +6 -1
- package/src/Api/FormatColumnApi.d.ts +18 -11
- package/src/Api/FreeTextColumnApi.d.ts +4 -2
- package/src/Api/GridApi.d.ts +92 -19
- package/src/Api/IPushPullApi.d.ts +19 -2
- package/src/Api/Internal/EventInternalApi.d.ts +2 -1
- package/src/Api/Internal/EventInternalApi.js +7 -0
- 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 +30 -2
- 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 -1
- package/src/Redux/Store/AdaptableStore.js +1 -1
- package/src/View/Filter/ColumnFilter/ColumnFilterNew.js +14 -9
- package/src/agGrid/Adaptable.d.ts +0 -12
- package/src/agGrid/Adaptable.js +0 -52
- package/src/agGrid/AdaptableFrameworkComponent.d.ts +12 -0
- package/src/agGrid/AdaptableLogger.d.ts +74 -1
- 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 +2 -3
- package/src/components/ColorField/index.js +22 -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/context.d.ts +7 -0
- package/src/components/aql/QueryBuilder/context.js +3 -1
- package/src/env.js +2 -2
- package/src/migration/legacyAdaptableQuery.d.ts +29 -4
- package/src/setupDevTools.js +223 -0
- package/src/types.d.ts +1 -3
- package/tsconfig.esm.tsbuildinfo +1 -1
- package/vendor/components/ColorField/index.d.ts +12 -2
- package/vendor/components/ColorField/index.d.ts.map +1 -1
- package/vendor/components/ColorField/index.js +3 -4
- package/vendor/components/ColorField/index.js.map +1 -1
- package/vendor/components/ColorPicker/index.d.ts +50 -11
- package/vendor/components/ColorPicker/index.d.ts.map +1 -1
- package/vendor/components/ColorPicker/index.js +172 -54
- package/vendor/components/ColorPicker/index.js.map +1 -1
- package/vendor/components/ColorPicker/themeColors.d.ts +42 -1
- package/vendor/components/ColorPicker/themeColors.d.ts.map +1 -1
- package/vendor/components/ColorPicker/themeColors.js +131 -1
- package/vendor/components/ColorPicker/themeColors.js.map +1 -1
- package/vendor/components/index.css +6 -0
- package/vendor/components/index.d.ts +2 -2
- package/vendor/components/index.d.ts.map +1 -1
- package/vendor/components/index.js +1 -1
- package/vendor/components/index.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/agGrid.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';
|
|
@@ -8,7 +8,6 @@ import { AdaptableUpgradeHelper, type UpgradeConfig } from './src/migration/Adap
|
|
|
8
8
|
import { iconToString } from './src/components/icons';
|
|
9
9
|
export default Adaptable;
|
|
10
10
|
export declare const _AdaptableAgGrid: typeof AdaptableAgGrid;
|
|
11
|
-
export declare const AdaptableNoCodeWizard: typeof import("./src/agGrid/Adaptable").AdaptableNoCodeWizard;
|
|
12
11
|
export declare const _AdaptableLogger: typeof import("./types").AdaptableLogger;
|
|
13
12
|
export declare const AdaptableQL: {
|
|
14
13
|
ScalarFunctions: import("./vendor/aql/index.js").ScalarFunctionName[];
|
|
@@ -57,4 +56,4 @@ export declare const AdaptableColumnType: {
|
|
|
57
56
|
*/
|
|
58
57
|
PivotAggregationTotal: import("./src/AdaptableState/Common/AdaptableColumn").AdaptableColumnTypeName;
|
|
59
58
|
};
|
|
60
|
-
export { iconToString as getIconSVG, AdaptableReactPercentageEditor, AdaptableReactNumberEditor, AdaptableReactDateEditor, AdaptablePercentageEditor, AdaptableNumberEditor, AdaptableDateEditor,
|
|
59
|
+
export { iconToString as getIconSVG, AdaptableReactPercentageEditor, AdaptableReactNumberEditor, AdaptableReactDateEditor, AdaptablePercentageEditor, AdaptableNumberEditor, AdaptableDateEditor, AdaptableUpgradeHelper, type UpgradeConfig, };
|
package/agGrid.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';
|
|
@@ -10,7 +10,6 @@ import { ACTION_COLUMN_TYPE, CALCULATED_COLUMN_TYPE, FDC3_COLUMN_TYPE, FREE_TEXT
|
|
|
10
10
|
import { iconToString } from './src/components/icons';
|
|
11
11
|
export default Adaptable;
|
|
12
12
|
export const _AdaptableAgGrid = AdaptableAgGrid;
|
|
13
|
-
export const AdaptableNoCodeWizard = ABWizard;
|
|
14
13
|
export const _AdaptableLogger = ABLogger;
|
|
15
14
|
export const AdaptableQL = {
|
|
16
15
|
ScalarFunctions: scalarExpressionFunctionNames,
|
|
@@ -29,4 +28,4 @@ export const AdaptableColumnType = {
|
|
|
29
28
|
PivotColumnTotal: PIVOT_COLUMN_TOTAL_COLUMN_TYPE,
|
|
30
29
|
PivotAggregationTotal: PIVOT_AGGREGATION_TOTAL_COLUMN_TYPE,
|
|
31
30
|
};
|
|
32
|
-
export { iconToString as getIconSVG, AdaptableReactPercentageEditor, AdaptableReactNumberEditor, AdaptableReactDateEditor, AdaptablePercentageEditor, AdaptableNumberEditor, AdaptableDateEditor,
|
|
31
|
+
export { iconToString as getIconSVG, AdaptableReactPercentageEditor, AdaptableReactNumberEditor, AdaptableReactDateEditor, AdaptablePercentageEditor, AdaptableNumberEditor, AdaptableDateEditor, AdaptableUpgradeHelper, };
|
package/aql.d.ts
CHANGED
|
@@ -70,6 +70,26 @@ export interface ExpressionFunctionDescription {
|
|
|
70
70
|
signatures: string[];
|
|
71
71
|
examples: string[];
|
|
72
72
|
category?: string;
|
|
73
|
+
/**
|
|
74
|
+
* Modules whose Expressions offer the Function (a context requirement such
|
|
75
|
+
* as data-change events, or product policy). Absent when every Module
|
|
76
|
+
* offers it; empty when only system-internal evaluation (Layout row
|
|
77
|
+
* summaries, Cell Summaries) does.
|
|
78
|
+
*/
|
|
79
|
+
modules?: AdaptableStandardExpressionModule[];
|
|
80
|
+
}
|
|
81
|
+
/**
|
|
82
|
+
* What a Module's Expressions may be (see {@link validateExpression}): the
|
|
83
|
+
* kinds it evaluates and the Function families it offers.
|
|
84
|
+
*/
|
|
85
|
+
export interface ExpressionModuleCapabilities {
|
|
86
|
+
module: AdaptableStandardExpressionModule;
|
|
87
|
+
/** Kinds the Module evaluates, the default (what an Expression without further hints is) first */
|
|
88
|
+
kinds: AdaptableQLExpressionKind[];
|
|
89
|
+
/** Whether observable brace calls (`CHANGE_COUNT{[price], WITHIN(5m)}`) are accepted */
|
|
90
|
+
observableCalls: boolean;
|
|
91
|
+
/** Whether the data-change Functions (`ANY_CHANGE`, `PERCENT_CHANGE`, `ABSOLUTE_CHANGE`) are available */
|
|
92
|
+
dataChangeFunctions: boolean;
|
|
73
93
|
}
|
|
74
94
|
/**
|
|
75
95
|
* Validates an AdapTableQL Expression without a grid. Mirrors
|
|
@@ -99,6 +119,14 @@ export declare function migrateExpression(expression: string, options?: {
|
|
|
99
119
|
}): MigrateExpressionResult;
|
|
100
120
|
/**
|
|
101
121
|
* Every system Expression Function, aggregation, observable function and
|
|
102
|
-
* clause, with its signatures and examples
|
|
122
|
+
* clause, with its signatures and examples, and the Modules that offer it
|
|
123
|
+
* when that is not every Module.
|
|
103
124
|
*/
|
|
104
125
|
export declare function getExpressionFunctionCatalogue(): ExpressionFunctionDescription[];
|
|
126
|
+
/**
|
|
127
|
+
* Which Expression kinds each standard Module evaluates and which Function
|
|
128
|
+
* families it offers — the rules {@link validateExpression} applies when
|
|
129
|
+
* `module` is passed, as data. Derived from the same constants, so the two
|
|
130
|
+
* cannot disagree.
|
|
131
|
+
*/
|
|
132
|
+
export declare function getExpressionModuleCapabilities(): ExpressionModuleCapabilities[];
|
package/aql.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { CLAUSE_DOCS, SYSTEM_AGGREGATION_CATALOGUE, compileValueExpression, isAST_Function, mapDataTypeToStaticType, migrateExpression as migrateAqlExpression, normalizeAst, parse, validateAqlExpression, validateExpressionTypes, } from "./vendor/aql/index.js";
|
|
2
|
-
import { AGGREGATED_BOOLEAN_MODULES, moduleAllowsObservableCalls, } from './src/aql/expressionFunctionAvailability';
|
|
2
|
+
import { AGGREGATED_BOOLEAN_MODULES, DATA_CHANGE_MODULES, moduleAllowsObservableCalls, } from './src/aql/expressionFunctionAvailability';
|
|
3
3
|
import { getMissingColumnIssues } from './src/aql/getMissingColumnIssues';
|
|
4
4
|
import { mapLegacyKindToValidationRequest, toMigrateOptions, } from './src/aql/legacyExpressionKinds';
|
|
5
5
|
import { systemAggregatedExpressionFunctions, systemAggregationClauseFunctions, systemObservableExpressionFunctions, systemScalarExpressionFunctions, } from './src/aql/systemExpressionFunctions';
|
|
@@ -167,6 +167,29 @@ export function migrateExpression(expression, options) {
|
|
|
167
167
|
...(result.notes?.length ? { notes: result.notes.map((note) => note.message) } : {}),
|
|
168
168
|
};
|
|
169
169
|
}
|
|
170
|
+
const MODULE_STANDARD_KINDS = {
|
|
171
|
+
Alert: ['boolean'],
|
|
172
|
+
CalculatedColumn: ['scalar', 'boolean'],
|
|
173
|
+
ColumnFilter: ['boolean'],
|
|
174
|
+
Export: ['boolean'],
|
|
175
|
+
FlashingCell: ['boolean'],
|
|
176
|
+
FormatColumn: ['boolean'],
|
|
177
|
+
GridFilter: ['boolean'],
|
|
178
|
+
NamedQuery: ['boolean', 'scalar'],
|
|
179
|
+
PlusMinus: ['boolean'],
|
|
180
|
+
StyledColumn: ['boolean'],
|
|
181
|
+
};
|
|
182
|
+
const STANDARD_MODULES = Object.keys(MODULE_STANDARD_KINDS);
|
|
183
|
+
function modulesOf(entry) {
|
|
184
|
+
const available = entry?.isAvailable;
|
|
185
|
+
if (!Array.isArray(available)) {
|
|
186
|
+
return {};
|
|
187
|
+
}
|
|
188
|
+
const standard = STANDARD_MODULES;
|
|
189
|
+
return {
|
|
190
|
+
modules: available.filter((module) => standard.includes(module)),
|
|
191
|
+
};
|
|
192
|
+
}
|
|
170
193
|
export function getExpressionFunctionCatalogue() {
|
|
171
194
|
const scalar = Object.entries(systemScalarExpressionFunctions).map(([name, fn]) => ({
|
|
172
195
|
name,
|
|
@@ -177,6 +200,7 @@ export function getExpressionFunctionCatalogue() {
|
|
|
177
200
|
signatures: fn.signatures ?? [],
|
|
178
201
|
examples: fn.examples ?? [],
|
|
179
202
|
category: fn.category,
|
|
203
|
+
...modulesOf(fn),
|
|
180
204
|
}));
|
|
181
205
|
const aggregations = SYSTEM_AGGREGATION_CATALOGUE.callables()
|
|
182
206
|
.filter((callable) => callable.system)
|
|
@@ -188,6 +212,7 @@ export function getExpressionFunctionCatalogue() {
|
|
|
188
212
|
signatures: callable.docs.signatures ?? [],
|
|
189
213
|
examples: callable.docs.examples ?? [],
|
|
190
214
|
category: callable.docs.category,
|
|
215
|
+
...modulesOf(aggregationPool[callable.name]),
|
|
191
216
|
}));
|
|
192
217
|
const observables = Object.entries(systemObservableExpressionFunctions).map(([name, fn]) => ({
|
|
193
218
|
name,
|
|
@@ -198,7 +223,9 @@ export function getExpressionFunctionCatalogue() {
|
|
|
198
223
|
signatures: fn.signatures ?? [],
|
|
199
224
|
examples: fn.examples ?? [],
|
|
200
225
|
category: fn.category,
|
|
226
|
+
...modulesOf(fn),
|
|
201
227
|
}));
|
|
228
|
+
const observablePool = systemObservableExpressionFunctions;
|
|
202
229
|
const clauses = Object.entries(CLAUSE_DOCS).map(([name, docs]) => ({
|
|
203
230
|
name,
|
|
204
231
|
callForm: 'paren',
|
|
@@ -207,6 +234,27 @@ export function getExpressionFunctionCatalogue() {
|
|
|
207
234
|
signatures: docs.signatures,
|
|
208
235
|
examples: docs.examples,
|
|
209
236
|
category: docs.category,
|
|
237
|
+
...modulesOf(aggregationPool[name] ?? observablePool[name]),
|
|
210
238
|
}));
|
|
211
239
|
return [...scalar, ...aggregations, ...observables, ...clauses];
|
|
212
240
|
}
|
|
241
|
+
export function getExpressionModuleCapabilities() {
|
|
242
|
+
const aggregatedBoolean = AGGREGATED_KIND_MODULES.aggregatedBoolean;
|
|
243
|
+
const aggregatedScalar = AGGREGATED_KIND_MODULES.aggregatedScalar;
|
|
244
|
+
const dataChange = DATA_CHANGE_MODULES;
|
|
245
|
+
return STANDARD_MODULES.map((module) => {
|
|
246
|
+
const kinds = [...MODULE_STANDARD_KINDS[module]];
|
|
247
|
+
if (aggregatedScalar.includes(module)) {
|
|
248
|
+
kinds.push('aggregatedScalar');
|
|
249
|
+
}
|
|
250
|
+
if (aggregatedBoolean.includes(module)) {
|
|
251
|
+
kinds.push('aggregatedBoolean');
|
|
252
|
+
}
|
|
253
|
+
return {
|
|
254
|
+
module,
|
|
255
|
+
kinds,
|
|
256
|
+
observableCalls: moduleAllowsObservableCalls(module),
|
|
257
|
+
dataChangeFunctions: dataChange.includes(module),
|
|
258
|
+
};
|
|
259
|
+
});
|
|
260
|
+
}
|
package/devtools.d.ts
CHANGED
|
@@ -18,6 +18,49 @@ export type DevToolsInstanceInfo = {
|
|
|
18
18
|
* `id` and `dataType` match the `columns` input of the AdapTable MCP server's
|
|
19
19
|
* `check_state` and `check_expression` tools.
|
|
20
20
|
*/
|
|
21
|
+
/** One row of the read-only column summary shown in DevTools. */
|
|
22
|
+
export type DevToolsColumnSummaryRow = {
|
|
23
|
+
key: string;
|
|
24
|
+
value: string;
|
|
25
|
+
};
|
|
26
|
+
/** A column the DevTools column picker can select. */
|
|
27
|
+
export type DevToolsColumnOption = {
|
|
28
|
+
id: string;
|
|
29
|
+
friendlyName: string;
|
|
30
|
+
};
|
|
31
|
+
/**
|
|
32
|
+
* One tag from a Settings Panel object summary. `color` is a resolved CSS colour
|
|
33
|
+
* (a colour variable is computed in the page) so the panel can draw the swatch.
|
|
34
|
+
*/
|
|
35
|
+
export type DevToolsObjectTag = {
|
|
36
|
+
text: string;
|
|
37
|
+
variant?: 'default' | 'accent' | 'expression';
|
|
38
|
+
color?: string;
|
|
39
|
+
italic?: boolean;
|
|
40
|
+
};
|
|
41
|
+
/** One labelled row of tags, matching a Settings Panel summary row. */
|
|
42
|
+
export type DevToolsObjectRow = {
|
|
43
|
+
label: string;
|
|
44
|
+
tags: DevToolsObjectTag[];
|
|
45
|
+
};
|
|
46
|
+
/**
|
|
47
|
+
* An AdapTable object scoped to the column (Alert, Format Column, Styled Column, …).
|
|
48
|
+
* `rows` are the same summary tags the Settings Panel shows. Read-only.
|
|
49
|
+
*/
|
|
50
|
+
export type DevToolsScopedObject = {
|
|
51
|
+
module: string;
|
|
52
|
+
rows: DevToolsObjectRow[];
|
|
53
|
+
};
|
|
54
|
+
/**
|
|
55
|
+
* Read-only Column Info for one column, returned by
|
|
56
|
+
* `window.__ADAPTABLE_DEVTOOLS__.getColumnInfo()`.
|
|
57
|
+
*/
|
|
58
|
+
export type DevToolsColumnDetail = {
|
|
59
|
+
columnId: string;
|
|
60
|
+
columns: DevToolsColumnOption[];
|
|
61
|
+
summary: DevToolsColumnSummaryRow[];
|
|
62
|
+
scopedObjects: DevToolsScopedObject[];
|
|
63
|
+
};
|
|
21
64
|
export type DevToolsColumnInfo = {
|
|
22
65
|
/** AdapTable column id (AG Grid `colId`) */
|
|
23
66
|
id: string;
|
|
@@ -136,6 +179,11 @@ export interface AdaptableDevToolsGlobal {
|
|
|
136
179
|
getPersistentState(adaptableId?: string): AdaptablePersistentState;
|
|
137
180
|
/** Columns AdapTable knows about, with data types and visibility */
|
|
138
181
|
getColumns(adaptableId?: string): DevToolsColumnInfo[];
|
|
182
|
+
/**
|
|
183
|
+
* Read-only Column Info for one column: summary plus the objects scoped to it.
|
|
184
|
+
* Omit `columnId` to use the first column. Does not include distinct cell values.
|
|
185
|
+
*/
|
|
186
|
+
getColumnInfo(adaptableId?: string, columnId?: string): DevToolsColumnDetail;
|
|
139
187
|
/** The facts shown in the Settings Panel Grid Info section */
|
|
140
188
|
getGridInfo(adaptableId?: string): DevToolsGridInfo;
|
|
141
189
|
/**
|
|
@@ -190,7 +238,7 @@ export type DevToolsHostPageMessagePayload = {
|
|
|
190
238
|
adaptableId: string;
|
|
191
239
|
[key: string]: any;
|
|
192
240
|
};
|
|
193
|
-
export type DevToolsHostPageMessageType = 'mount' | 'update' | 'unmount' | 'log' | 'state-change';
|
|
241
|
+
export type DevToolsHostPageMessageType = 'mount' | 'update' | 'unmount' | 'log' | 'state-change' | 'column-info';
|
|
194
242
|
export type DevToolsGridRuntime = {
|
|
195
243
|
allRowsCount: number;
|
|
196
244
|
visibleRowsCount: number;
|
|
@@ -247,5 +295,11 @@ export type DevToolsHostPageMessage = {
|
|
|
247
295
|
primaryKey?: string;
|
|
248
296
|
settingsPanelNavigation?: DevToolsSettingsPanelNavigationGroup[];
|
|
249
297
|
};
|
|
298
|
+
} | {
|
|
299
|
+
type: Extract<DevToolsHostPageMessageType, 'column-info'>;
|
|
300
|
+
payload: {
|
|
301
|
+
adaptableId: string;
|
|
302
|
+
columnInfo: DevToolsColumnDetail;
|
|
303
|
+
};
|
|
250
304
|
} | DevToolsHostPageLogMessage);
|
|
251
305
|
export type DevToolsHookFn = (adaptableId: string, options: null | DevToolsFnOptions) => void;
|
package/index.css
CHANGED
|
@@ -1026,6 +1026,9 @@
|
|
|
1026
1026
|
.twa\:max-w-3xl {
|
|
1027
1027
|
max-width: var(--twa-container-3xl);
|
|
1028
1028
|
}
|
|
1029
|
+
.twa\:max-w-28 {
|
|
1030
|
+
max-width: calc(var(--ab-base-space) * 28);
|
|
1031
|
+
}
|
|
1029
1032
|
.twa\:max-w-50 {
|
|
1030
1033
|
max-width: calc(var(--ab-base-space) * 50);
|
|
1031
1034
|
}
|
|
@@ -7065,10 +7068,6 @@
|
|
|
7065
7068
|
--ab-cmp-icon__fill: var(--ab-icon-fill);
|
|
7066
7069
|
--ab-cmp-icon__height: 17px;
|
|
7067
7070
|
--ab-cmp-icon__width: 17px;
|
|
7068
|
-
--ab-cmp-wizard__padding: calc(var(--ab-base-space) * 16);
|
|
7069
|
-
--ab-cmp-wizard__margin: var(--ab-base-space);
|
|
7070
|
-
--ab-cmp-wizard__background: var(--ab-color-primary);
|
|
7071
|
-
--ab-cmp-wizard__color: var(--ab-color-primary-foreground);
|
|
7072
7071
|
--ab-cmp-button-border-radius: 0px;
|
|
7073
7072
|
--ab-cmp-button-disabled-opacity: 0.5;
|
|
7074
7073
|
--ab-cmp-button-background: var(--ab-color-primary);
|
|
@@ -9037,21 +9036,6 @@
|
|
|
9037
9036
|
bottom: calc(var(--ab-popover-triangle-size) * -1);
|
|
9038
9037
|
transform: translate3d(calc(var(--ab-popover-triangle-size) * -0.5), 0px, 0px);
|
|
9039
9038
|
}
|
|
9040
|
-
.ab-NocodeWizard,.ab-NocodeWizard *,.ab-NocodeWizard *:before,.ab-NocodeWizard *:after {
|
|
9041
|
-
box-sizing: border-box;
|
|
9042
|
-
}
|
|
9043
|
-
.ab-NocodeWizard {
|
|
9044
|
-
padding: var(--ab-cmp-wizard__padding);
|
|
9045
|
-
margin: var(--ab-cmp-wizard__margin);
|
|
9046
|
-
background: var(--ab-cmp-wizard__background);
|
|
9047
|
-
color: var(--ab-cmp-wizard__color);
|
|
9048
|
-
height: 100%;
|
|
9049
|
-
}
|
|
9050
|
-
.ab-NocodeWizardFormBox {
|
|
9051
|
-
border: 1px solid var(--ab-color-primarydark);
|
|
9052
|
-
border-radius: var(--ab-border-radius);
|
|
9053
|
-
background-color: var(--ab-color-background);
|
|
9054
|
-
}
|
|
9055
9039
|
.ab-Button.ab-Button {
|
|
9056
9040
|
border-radius: var(--ab-cmp-button-border-radius);
|
|
9057
9041
|
padding: calc(var(--ab-base-space) * 2);
|
|
@@ -9521,6 +9505,10 @@
|
|
|
9521
9505
|
min-width: 0;
|
|
9522
9506
|
max-width: none;
|
|
9523
9507
|
width: 100%;
|
|
9508
|
+
--ab-color-input-background: var(--ab-color-primarylight);
|
|
9509
|
+
}
|
|
9510
|
+
.ab--theme-dark .ab-AgGridColumnFilter-host--tool-panel, .ab--theme-dark .ab-ColumnFilter--tool-panel {
|
|
9511
|
+
--ab-color-input-background: unset;
|
|
9524
9512
|
}
|
|
9525
9513
|
.ab-IconSelector__Popup {
|
|
9526
9514
|
color: var(--ab-cmp-icon-selector__popup__color);
|
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.9",
|
|
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",
|
|
@@ -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.
|