@adaptabletools/adaptable 10.0.3 → 10.0.4-canary.3
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/LICENSE.md +1 -1
- package/README.md +1 -1
- package/base.css +16 -6
- package/bundle.cjs.js +350 -0
- package/index.css +20 -6
- package/package.json +1 -5
- package/publishTimestamp.d.ts +1 -1
- package/publishTimestamp.js +1 -1
- package/src/AdaptableInterfaces/AdaptableNoCodeWizard.d.ts +1 -1
- package/src/AdaptableInterfaces/IAdaptable.d.ts +14 -12
- package/src/AdaptableOptions/AdaptableOptions.d.ts +3 -3
- package/src/AdaptableOptions/ContainerOptions.d.ts +4 -5
- package/src/AdaptableOptions/DataChangeHistoryOptions.d.ts +1 -1
- package/src/AdaptableOptions/DateInputOptions.d.ts +5 -1
- package/src/AdaptableOptions/EditOptions.d.ts +2 -3
- package/src/AdaptableOptions/FilterOptions.d.ts +8 -8
- package/src/AdaptableOptions/GeneralOptions.d.ts +3 -2
- package/src/AdaptableOptions/MenuOptions.d.ts +11 -11
- package/src/AdaptableOptions/NotificationsOptions.d.ts +11 -1
- package/src/AdaptableOptions/ToolPanelOptions.d.ts +2 -2
- package/src/AdaptableOptions/UserInterfaceOptions.d.ts +29 -12
- package/src/Api/AdaptableApi.d.ts +12 -12
- package/src/Api/CalculatedColumnApi.d.ts +15 -0
- package/src/Api/ColumnApi.d.ts +16 -5
- package/src/Api/EventApi.d.ts +1 -1
- package/src/Api/Events/AdaptableReady.d.ts +5 -8
- package/src/Api/Events/AdaptableStateChanged.d.ts +2 -1
- package/src/Api/Events/AlertFired.d.ts +2 -1
- package/src/Api/Events/BaseEventInfo.d.ts +10 -0
- package/src/Api/Events/BaseEventInfo.js +2 -0
- package/src/Api/Events/CellChanged.d.ts +2 -1
- package/src/Api/Events/ChexboxColumnClicked.d.ts +2 -1
- package/src/Api/Events/CustomToolbarConfigured.d.ts +2 -1
- package/src/Api/Events/DashboardChanged.d.ts +2 -1
- package/src/Api/Events/FlashingAlertFired.d.ts +2 -1
- package/src/Api/Events/GridDataChanged.d.ts +2 -1
- package/src/Api/Events/LayoutChanged.d.ts +2 -1
- package/src/Api/Events/LiveDataChanged.d.ts +2 -1
- package/src/Api/Events/SearchChanged.d.ts +2 -1
- package/src/Api/Events/SelectionChanged.d.ts +2 -1
- package/src/Api/Events/SystemStatusMessageDisplayed.d.ts +2 -1
- package/src/Api/Events/TeamSharingEntityChanged.d.ts +2 -1
- package/src/Api/Events/ThemeChanged.d.ts +2 -1
- package/src/Api/GridApi.d.ts +10 -10
- package/src/Api/Implementation/AlertApiImpl.js +17 -17
- package/src/Api/Implementation/CalculatedColumnApiImpl.d.ts +3 -0
- package/src/Api/Implementation/CalculatedColumnApiImpl.js +23 -0
- package/src/Api/Implementation/ColumnApiImpl.d.ts +5 -3
- package/src/Api/Implementation/ColumnApiImpl.js +43 -44
- package/src/Api/Implementation/ConfigApiImpl.js +0 -24
- package/src/Api/Implementation/DashboardApiImpl.js +2 -1
- package/src/Api/Implementation/ExportApiImpl.js +4 -4
- package/src/Api/Implementation/FormatColumnApiImpl.js +2 -1
- package/src/Api/Implementation/FreeTextColumnApiImpl.js +7 -2
- package/src/Api/Implementation/GridApiImpl.d.ts +2 -2
- package/src/Api/Implementation/GridApiImpl.js +14 -13
- package/src/Api/Implementation/InternalApiImpl.d.ts +2 -2
- package/src/Api/Implementation/InternalApiImpl.js +5 -5
- package/src/Api/Implementation/LayoutApiImpl.d.ts +2 -0
- package/src/Api/Implementation/LayoutApiImpl.js +19 -3
- package/src/Api/Implementation/PluginsApiImpl.d.ts +2 -2
- package/src/Api/Implementation/PluginsApiImpl.js +1 -1
- package/src/Api/Implementation/ScheduleApiImpl.js +6 -6
- package/src/Api/Implementation/ScopeApiImpl.js +11 -11
- package/src/Api/Implementation/SystemStatusApiImpl.js +1 -0
- package/src/Api/Implementation/TeamSharingApiImpl.js +1 -0
- package/src/Api/Implementation/ThemeApiImpl.js +1 -0
- package/src/Api/Implementation/ToolPanelApiImpl.js +1 -1
- package/src/Api/Implementation/UserInterfaceApiImpl.d.ts +5 -4
- package/src/Api/Implementation/UserInterfaceApiImpl.js +18 -13
- package/src/Api/InternalApi.d.ts +2 -2
- package/src/Api/LayoutApi.d.ts +7 -0
- package/src/Api/PluginsApi.d.ts +1 -7
- package/src/Api/TeamSharingApi.d.ts +1 -1
- package/src/Api/ThemeApi.d.ts +2 -2
- package/src/Api/UserInterfaceApi.d.ts +6 -5
- package/src/PredefinedConfig/AdaptableState.d.ts +2 -10
- package/src/PredefinedConfig/AlertState.d.ts +2 -3
- package/src/PredefinedConfig/ApplicationState.d.ts +1 -1
- package/src/PredefinedConfig/CalculatedColumnState.d.ts +1 -1
- package/src/PredefinedConfig/Common/AdaptableButton.d.ts +1 -1
- package/src/PredefinedConfig/Common/AdaptableColumn.d.ts +36 -36
- package/src/PredefinedConfig/Common/AdaptableColumn.js +5 -5
- package/src/PredefinedConfig/Common/AdaptablePredicate.d.ts +4 -4
- package/src/PredefinedConfig/Common/AdaptablePredicate.js +3 -3
- package/src/PredefinedConfig/Common/AdaptableStyle.d.ts +7 -7
- package/src/PredefinedConfig/Common/DataChangedInfo.d.ts +4 -3
- package/src/PredefinedConfig/Common/Menu.d.ts +40 -17
- package/src/PredefinedConfig/Common/SpecialColumnSettings.d.ts +1 -1
- package/src/PredefinedConfig/Common/Types.d.ts +5 -5
- package/src/PredefinedConfig/Common/Types.js +9 -7
- package/src/PredefinedConfig/ConditionalStyleState.d.ts +1 -1
- package/src/PredefinedConfig/CustomSortState.d.ts +1 -1
- package/src/PredefinedConfig/DataSourceState.d.ts +1 -1
- package/src/PredefinedConfig/ExportState.d.ts +3 -3
- package/src/PredefinedConfig/FilterState.d.ts +2 -2
- package/src/PredefinedConfig/FormatColumnState.d.ts +1 -1
- package/src/PredefinedConfig/FreeTextColumnState.d.ts +1 -1
- package/src/PredefinedConfig/LayoutState.d.ts +1 -1
- package/src/PredefinedConfig/PredefinedConfig.d.ts +0 -40
- package/src/PredefinedConfig/QuickSearchState.d.ts +3 -3
- package/src/PredefinedConfig/ScheduleState.d.ts +1 -1
- package/src/PredefinedConfig/Selection/GridCell.d.ts +2 -1
- package/src/PredefinedConfig/ThemeState.d.ts +5 -1
- package/src/Redux/ActionsReducers/DashboardRedux.js +2 -1
- package/src/Redux/ActionsReducers/GridRedux.d.ts +3 -2
- package/src/Redux/ActionsReducers/GridRedux.js +2 -2
- package/src/Redux/ActionsReducers/LayoutRedux.d.ts +12 -2
- package/src/Redux/ActionsReducers/LayoutRedux.js +24 -1
- package/src/Redux/ActionsReducers/SystemRedux.js +1 -1
- package/src/Redux/DeadRedux.d.ts +4 -8
- package/src/Redux/Store/AdaptableReduxLocalStorageEngine.js +6 -1
- package/src/Redux/Store/AdaptableStore.d.ts +3 -3
- package/src/Redux/Store/AdaptableStore.js +21 -16
- package/src/Strategy/AdaptableModuleBase.d.ts +2 -2
- package/src/Strategy/AdaptableModuleBase.js +8 -8
- package/src/Strategy/AlertModule.d.ts +2 -2
- package/src/Strategy/AlertModule.js +13 -105
- package/src/Strategy/BulkUpdateModule.d.ts +2 -2
- package/src/Strategy/BulkUpdateModule.js +7 -7
- package/src/Strategy/CalculatedColumnModule.js +1 -1
- package/src/Strategy/CellSummaryModule.d.ts +2 -2
- package/src/Strategy/CellSummaryModule.js +3 -3
- package/src/Strategy/ConditionalStyleModule.js +3 -3
- package/src/Strategy/CustomSortModule.js +2 -2
- package/src/Strategy/DashboardModule.d.ts +2 -2
- package/src/Strategy/DataChangeHistoryModule.js +2 -2
- package/src/Strategy/ExportModule.d.ts +2 -2
- package/src/Strategy/ExportModule.js +1 -1
- package/src/Strategy/FilterModule.d.ts +2 -2
- package/src/Strategy/FilterModule.js +4 -4
- package/src/Strategy/FormatColumnModule.js +6 -6
- package/src/Strategy/FreeTextColumnModule.js +1 -1
- package/src/Strategy/GridInfoModule.d.ts +2 -2
- package/src/Strategy/Interface/IModule.d.ts +2 -2
- package/src/Strategy/LayoutModule.d.ts +2 -2
- package/src/Strategy/LayoutModule.js +22 -9
- package/src/Strategy/PlusMinusModule.js +8 -9
- package/src/Strategy/SmartEditModule.d.ts +2 -2
- package/src/Strategy/SmartEditModule.js +8 -9
- package/src/Strategy/SystemStatusModule.d.ts +2 -2
- package/src/Utilities/Constants/GeneralConstants.d.ts +1 -0
- package/src/Utilities/Constants/GeneralConstants.js +2 -1
- package/src/Utilities/Constants/ModuleConstants.d.ts +6 -6
- package/src/Utilities/Constants/ModuleConstants.js +7 -7
- package/src/Utilities/Defaults/DefaultAdaptableOptions.js +8 -7
- package/src/Utilities/ExpressionFunctions/booleanExpressionFunctions.js +1 -1
- package/src/Utilities/ExpressionFunctions/expressionFunctionUtils.js +2 -2
- package/src/Utilities/ExpressionFunctions/observableExpressionFunctions.js +3 -2
- package/src/Utilities/ExpressionFunctions/scalarExpressionFunctions.js +1 -1
- package/src/Utilities/Helpers/PreviewHelper.js +2 -2
- package/src/Utilities/Interface/Preview.d.ts +2 -1
- package/src/Utilities/ObjectFactory.js +1 -1
- package/src/Utilities/Services/DataService.js +5 -5
- package/src/Utilities/Services/LicenseService.js +16 -2
- package/src/Utilities/Services/MetamodelService.js +0 -1
- package/src/Utilities/Services/ReportService.js +12 -11
- package/src/Utilities/Services/ValidationService.js +4 -5
- package/src/View/AdaptableViewFactory.d.ts +2 -1
- package/src/View/AdaptableViewFactory.js +2 -0
- package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/ConfigurationForm.js +7 -7
- package/src/View/Alert/AlertPopup.js +1 -1
- package/src/View/Alert/Wizard/BaseAlertScopeWizardSection.js +1 -1
- package/src/View/BulkUpdate/BulkUpdatePopup.js +3 -3
- package/src/View/CalculatedColumn/CalculatedColumnPopup.js +1 -1
- package/src/View/CalculatedColumn/CalculatedColumnSummary.js +1 -1
- package/src/View/CalculatedColumn/Wizard/CalculatedColumnSettingsWizardSection.js +1 -1
- package/src/View/CellSummary/CellSummaryViewPanel.js +2 -2
- package/src/View/Components/ColumnSelector/index.js +2 -2
- package/src/View/Components/FilterForm/FilterForm.js +18 -20
- package/src/View/Components/FilterForm/ListBoxFilterForm.d.ts +1 -1
- package/src/View/Components/FilterForm/ListBoxFilterForm.js +7 -7
- package/src/View/Components/FilterForm/QuickFilterForm.js +15 -17
- package/src/View/Components/NewScopeComponent.js +1 -1
- package/src/View/Components/Panels/FilterFormPanel.d.ts +1 -1
- package/src/View/Components/Panels/PanelWithImage.d.ts +423 -1
- package/src/View/Components/Popups/AdaptablePopupAlert.js +23 -10
- package/src/View/Components/PreviewResultsPanel.js +1 -1
- package/src/View/Components/RangesComponent.js +2 -2
- package/src/View/Components/Selectors/ColumnSelector.js +5 -5
- package/src/View/Components/Selectors/ColumnValueSelector.js +4 -4
- package/src/View/Components/ToolPanel/AdaptableToolPanel.js +10 -11
- package/src/View/Components/ToolPanel/CustomToolPanelContent.js +1 -1
- package/src/View/Components/ToolPanel/ToolPanelPopup.js +2 -3
- package/src/View/ConditionalStyle/ConditionalStylePopup.js +1 -1
- package/src/View/ConditionalStyle/ConditionalStyleSummary.js +1 -1
- package/src/View/CustomSort/CustomSortEntityRow.d.ts +3 -1
- package/src/View/CustomSort/CustomSortEntityRow.js +3 -3
- package/src/View/CustomSort/CustomSortPopup.js +2 -2
- package/src/View/CustomSort/CustomSortSummary.js +3 -3
- package/src/View/CustomSort/Wizard/CustomSortColumnWizardSection.js +4 -4
- package/src/View/Dashboard/CustomToolbarWrapper.js +2 -1
- package/src/View/Dashboard/Dashboard.js +2 -3
- package/src/View/DataChangeHistory/DataChangeHistoryGrid.d.ts +1 -1
- package/src/View/DataChangeHistory/DataChangeHistoryGrid.js +11 -10
- package/src/View/DataChangeHistory/DataChangeHistoryPopup.js +6 -6
- package/src/View/Export/ExportCustomDestinationDialog.js +1 -1
- package/src/View/Export/ExportViewPanel.js +6 -6
- package/src/View/Filter/FilterSummary.js +2 -2
- package/src/View/FormatColumn/FormatColumnPopup.js +1 -1
- package/src/View/FormatColumn/FormatColumnSummary.js +1 -1
- package/src/View/FormatColumn/Wizard/FormatColumnFormatWizardSection.js +1 -1
- package/src/View/FreeTextColumn/FreeTextColumnPopup.js +1 -1
- package/src/View/FreeTextColumn/FreeTextColumnSummary.js +2 -2
- package/src/View/FreeTextColumn/Wizard/FreeTextColumnSettingsWizardSection.js +1 -1
- package/src/View/GridInfo/ColumnInfoComponent.js +16 -16
- package/src/View/GridInfo/GridOptionsComponent.js +1 -1
- package/src/View/Layout/LayoutViewPanel.js +2 -2
- package/src/View/Layout/Wizard/LayoutEditor/ColumnList.js +6 -6
- package/src/View/Layout/Wizard/LayoutEditor/ColumnSortList.js +1 -1
- package/src/View/Layout/Wizard/LayoutEditor/PivotList.js +1 -1
- package/src/View/Layout/Wizard/LayoutEditor/RowGroupsList.js +1 -1
- package/src/View/Layout/Wizard/LayoutEditor/getItemStyle.js +2 -2
- package/src/View/Layout/Wizard/LayoutEditor/index.js +41 -41
- package/src/View/PlusMinus/PlusMinusPopup.js +1 -1
- package/src/View/PlusMinus/PlusMinusSummary.js +1 -1
- package/src/View/Query/QueryViewPanel.js +3 -3
- package/src/View/QuickSearch/useQuickSearchDebounced.js +2 -3
- package/src/View/Schedule/SchedulePopup.js +3 -3
- package/src/View/Schedule/Wizard/ScheduleSettingsWizard/ScheduleSettingsWizard.js +1 -1
- package/src/View/SmartEdit/SmartEditPopup.js +1 -1
- package/src/View/StateManagement/StateManagementPopup.d.ts +2 -12
- package/src/View/StateManagement/StateManagementPopup.js +21 -114
- package/src/View/StateManagement/StateManagementViewPanel.d.ts +5 -0
- package/src/View/StateManagement/StateManagementViewPanel.js +22 -0
- package/src/View/StateManagement/components/ClearButton.d.ts +6 -0
- package/src/View/StateManagement/components/ClearButton.js +9 -0
- package/src/View/StateManagement/components/ExportDropdown.d.ts +8 -0
- package/src/View/StateManagement/components/ExportDropdown.js +43 -0
- package/src/View/StateManagement/components/LoadButton.d.ts +7 -0
- package/src/View/StateManagement/components/LoadButton.js +38 -0
- package/src/View/StateManagement/handleExportState.d.ts +1 -0
- package/src/View/StateManagement/handleExportState.js +22 -0
- package/src/View/Theme/ThemeViewPanel.js +1 -1
- package/src/agGrid/ActionColumnRenderer.js +1 -1
- package/src/agGrid/Adaptable.d.ts +9 -8
- package/src/agGrid/Adaptable.js +174 -132
- package/src/agGrid/agGridHelper.d.ts +4 -4
- package/src/agGrid/agGridHelper.js +46 -46
- package/src/agGrid/agGridMenuHelper.d.ts +15 -13
- package/src/agGrid/agGridMenuHelper.js +55 -47
- package/src/agGrid/editors/AdaptableDateEditor/InternalAdaptableDateEditor.d.ts +1 -1
- package/src/agGrid/editors/AdaptableDateEditor/InternalAdaptableDateEditor.js +11 -6
- package/src/agGrid/editors/AdaptableDateEditor/index.d.ts +3 -2
- package/src/agGrid/editors/AdaptableDateEditor/index.js +16 -6
- package/src/agGrid/editors/AdaptableNumberEditor/index.d.ts +1 -0
- package/src/agGrid/editors/AdaptableNumberEditor/index.js +7 -2
- package/src/components/AdaptableFormComponent/AdaptableFormComponent.js +3 -3
- package/src/components/Datepicker/DatepickerContext.d.ts +2 -2
- package/src/components/Datepicker/index.js +9 -5
- package/src/components/ExpressionEditor/index.js +7 -7
- package/src/components/Modal/index.d.ts +1 -1
- package/src/components/OverlayTrigger/index.js +3 -3
- package/src/components/OverlayTrigger/useAgGridClassName.d.ts +2 -0
- package/src/components/OverlayTrigger/{useVendorClassName.js → useAgGridClassName.js} +3 -3
- package/src/components/ProgressIndicator/ProgressIndicator.js +1 -1
- package/src/components/icons/index.js +2 -0
- package/src/components/icons/upload.d.ts +3 -0
- package/src/components/icons/upload.js +8 -0
- package/src/metamodel/adaptable.metamodel.d.ts +104 -50
- package/src/metamodel/adaptable.metamodel.js +358 -300
- package/src/types.d.ts +2 -2
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/src/PredefinedConfig/DeprecatedState.d.ts +0 -82
- package/src/PredefinedConfig/DeprecatedState.js +0 -5
- package/src/components/OverlayTrigger/useVendorClassName.d.ts +0 -2
|
@@ -6,6 +6,7 @@ const React = tslib_1.__importStar(require("react"));
|
|
|
6
6
|
const react_dom_1 = require("react-dom");
|
|
7
7
|
const renderWithAdaptableContext_1 = require("../../../View/renderWithAdaptableContext");
|
|
8
8
|
const InternalAdaptableNumberEditor_1 = require("./InternalAdaptableNumberEditor");
|
|
9
|
+
const all_modules_1 = require("@ag-grid-community/all-modules");
|
|
9
10
|
/**
|
|
10
11
|
* Used by default for all `abColDefNumber` columns.
|
|
11
12
|
*
|
|
@@ -39,7 +40,7 @@ class AdaptableNumberEditor {
|
|
|
39
40
|
};
|
|
40
41
|
}
|
|
41
42
|
init(params) {
|
|
42
|
-
this.value = params.value;
|
|
43
|
+
this.value = this.shouldClearExistingValue(params) ? '' : params.value;
|
|
43
44
|
this.params = params;
|
|
44
45
|
this.columnId = params.column.getColId();
|
|
45
46
|
const { valueParser } = params.column.getColDef();
|
|
@@ -71,7 +72,8 @@ class AdaptableNumberEditor {
|
|
|
71
72
|
afterGuiAttached() {
|
|
72
73
|
var _a, _b;
|
|
73
74
|
const adaptable = this.params.api.__adaptable;
|
|
74
|
-
const
|
|
75
|
+
const defaultValue = this.shouldClearExistingValue(this.params) ? '' : this.params.value;
|
|
76
|
+
const editorElement = (React.createElement(InternalAdaptableNumberEditor_1.InternalAdaptableNumberEditor, { defaultValue: defaultValue, showClearButton: (_a = this.params.showClearButton) !== null && _a !== void 0 ? _a : true, emptyValue: (_b = this.params.emptyValue) !== null && _b !== void 0 ? _b : '', onValueChange: this.onValueChange, ref: (editor) => {
|
|
75
77
|
this.editor = editor;
|
|
76
78
|
editor === null || editor === void 0 ? void 0 : editor.focus();
|
|
77
79
|
} }));
|
|
@@ -90,5 +92,8 @@ class AdaptableNumberEditor {
|
|
|
90
92
|
destroy() {
|
|
91
93
|
react_dom_1.unmountComponentAtNode(this.el);
|
|
92
94
|
}
|
|
95
|
+
shouldClearExistingValue(params) {
|
|
96
|
+
return params.keyPress === all_modules_1.KeyCode.BACKSPACE || params.keyPress === all_modules_1.KeyCode.DELETE;
|
|
97
|
+
}
|
|
93
98
|
}
|
|
94
99
|
exports.AdaptableNumberEditor = AdaptableNumberEditor;
|
|
@@ -20,9 +20,9 @@ function AdaptableFormComponentButtons({ formDef, onClick, defaultTone, disabled
|
|
|
20
20
|
},
|
|
21
21
|
};
|
|
22
22
|
const iconProps = button.icon && Object.assign({}, defaultIconProps, button.icon);
|
|
23
|
-
let buttonStyle = api.internalApi.getStyleForButton(button, context ? context : {
|
|
24
|
-
let buttonLabel = api.internalApi.getLabelForButton(button, context ? context : {
|
|
25
|
-
let buttonTooltip = api.internalApi.getTooltipForButton(button, context ? context : {
|
|
23
|
+
let buttonStyle = api.internalApi.getStyleForButton(button, context ? context : { adaptableApi: api });
|
|
24
|
+
let buttonLabel = api.internalApi.getLabelForButton(button, context ? context : { adaptableApi: api });
|
|
25
|
+
let buttonTooltip = api.internalApi.getTooltipForButton(button, context ? context : { adaptableApi: api });
|
|
26
26
|
return (React.createElement(SimpleButton_1.default, { autoFocus: index === 0, disabled: disabledButtons[index], key: index, tooltip: buttonTooltip, tone: (_a = buttonStyle === null || buttonStyle === void 0 ? void 0 : buttonStyle.tone) !== null && _a !== void 0 ? _a : defaultTone, variant: buttonStyle === null || buttonStyle === void 0 ? void 0 : buttonStyle.variant, "data-text": buttonLabel, className: buttonStyle === null || buttonStyle === void 0 ? void 0 : buttonStyle.className, marginLeft: index ? 2 : 0, onClick: () => {
|
|
27
27
|
onClick(button);
|
|
28
28
|
} },
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
export declare const DatepickerContext: React.Context<{
|
|
3
|
-
onHide?:
|
|
3
|
+
onHide?: (keyboardEventKey?: string) => void;
|
|
4
4
|
onShow?: VoidFunction;
|
|
5
5
|
showClearButton?: boolean;
|
|
6
6
|
}>;
|
|
7
7
|
export declare const useDatepickerContext: () => {
|
|
8
|
-
onHide?:
|
|
8
|
+
onHide?: (keyboardEventKey?: string) => void;
|
|
9
9
|
onShow?: VoidFunction;
|
|
10
10
|
showClearButton?: boolean;
|
|
11
11
|
};
|
|
@@ -57,19 +57,23 @@ exports.Datepicker = React.forwardRef((props, ref) => {
|
|
|
57
57
|
};
|
|
58
58
|
const inputValue = (_a = FormatHelper_1.DateFormatter(value, { Pattern: dateProps.format })) !== null && _a !== void 0 ? _a : '';
|
|
59
59
|
const [visible, doSetVisible] = react_1.useState(false);
|
|
60
|
-
const setVisible = (visible) => {
|
|
60
|
+
const setVisible = (visible, keyboardEventKey) => {
|
|
61
61
|
var _a, _b;
|
|
62
62
|
doSetVisible(visible);
|
|
63
63
|
if (!visible) {
|
|
64
|
-
(_a = datepickerContext === null || datepickerContext === void 0 ? void 0 : datepickerContext.onHide) === null || _a === void 0 ? void 0 : _a.call(datepickerContext);
|
|
64
|
+
(_a = datepickerContext === null || datepickerContext === void 0 ? void 0 : datepickerContext.onHide) === null || _a === void 0 ? void 0 : _a.call(datepickerContext, keyboardEventKey);
|
|
65
65
|
}
|
|
66
66
|
else {
|
|
67
67
|
(_b = datepickerContext === null || datepickerContext === void 0 ? void 0 : datepickerContext.onShow) === null || _b === void 0 ? void 0 : _b.call(datepickerContext);
|
|
68
68
|
}
|
|
69
69
|
};
|
|
70
|
+
const clearValue = () => {
|
|
71
|
+
updateValue(undefined);
|
|
72
|
+
};
|
|
70
73
|
const renderButton = (label, onClick) => (React.createElement(SimpleButton_1.default, { onClick: onClick, margin: '2px' }, label));
|
|
71
74
|
const todayDate = new Date();
|
|
72
75
|
const footerButtonsMap = {
|
|
76
|
+
clear: renderButton('Clear', () => clearValue()),
|
|
73
77
|
close: renderButton('Close', () => setVisible(false)),
|
|
74
78
|
today: renderButton('Today', () => updateValue(todayDate)),
|
|
75
79
|
tomorrow: renderButton('Tomorrow', () => updateValue(addDays_1.default(todayDate, 1))),
|
|
@@ -82,12 +86,12 @@ exports.Datepicker = React.forwardRef((props, ref) => {
|
|
|
82
86
|
const footerButtons = datepickerButtons.map((buttonKey, index) => React.cloneElement(footerButtonsMap[buttonKey], { key: index }));
|
|
83
87
|
const clearButton = showClearButton ? (React.createElement(SimpleButton_1.default, { "data-name": "clear", variant: "text", tooltip: "Clear", iconSize: 20, padding: 0, icon: "clear", onMouseDown: (e) => {
|
|
84
88
|
e.preventDefault();
|
|
85
|
-
|
|
89
|
+
clearValue();
|
|
86
90
|
}, accessLevel: 'Full' })) : null;
|
|
87
91
|
const calendarButton = (React.createElement(SimpleButton_1.default, { disabled: disabled, variant: "text", icon: "calendar", tooltip: "Date", iconSize: 20, px: 0, py: 0, onClick: () => setVisible(true) }));
|
|
88
92
|
return (React.createElement(OverlayTrigger_1.default, { visible: visible, alignHorizontal: 'left', render: () => (React.createElement(DatepickerOverlay, { onHide: () => setVisible(false), onKeyDown: (e) => {
|
|
89
|
-
if (e.key === 'Escape') {
|
|
90
|
-
setVisible(false);
|
|
93
|
+
if (e.key === 'Escape' || e.key === 'Enter') {
|
|
94
|
+
setVisible(false, e.key);
|
|
91
95
|
}
|
|
92
96
|
} },
|
|
93
97
|
React.createElement(react_day_picker_1.DayPicker, Object.assign({ fixedWeeks: true }, dayPickerProps, { showWeekNumber: showWeekNumber, showOutsideDays: showOutsideDays, mode: "single", month: isNaN(+month) ? new Date() : month, onMonthChange: setMonth, components: { Caption: Caption_1.Caption, CaptionLabel: CaptionLabel_1.CaptionLabel }, onSelect: updateValue, footer: React.createElement(rebass_1.Flex, { justifyContent: "space-between", mt: 2, flexWrap: 'wrap' }, footerButtons) })))) },
|
|
@@ -47,7 +47,7 @@ function ExpressionEditor(props) {
|
|
|
47
47
|
// currently only boolean and scalar expressions support nested calculated columns (calc cols which reference other calc cols)
|
|
48
48
|
const queryableColumns = type === 'scalar' || type === 'boolean'
|
|
49
49
|
? props.columns
|
|
50
|
-
: props.columns.filter((c) => !props.api.columnApi.isCalculatedColumn(c.
|
|
50
|
+
: props.columns.filter((c) => !props.api.columnApi.isCalculatedColumn(c.columnId));
|
|
51
51
|
const dataTableEditor = (React.createElement(React.Fragment, null,
|
|
52
52
|
React.createElement(rebass_1.Flex, { flexDirection: "column", alignItems: "start", style: { marginTop: 2 } },
|
|
53
53
|
React.createElement(CheckBox_1.CheckBox, { checked: showColumnIds, onChange: (checked) => setShowColumnIds(checked), style: {
|
|
@@ -56,16 +56,16 @@ function ExpressionEditor(props) {
|
|
|
56
56
|
paddingTop: 'var(--ab-space-1)',
|
|
57
57
|
paddingBottom: 'var(--ab-space-1)',
|
|
58
58
|
} }, 'Show Column IDs')),
|
|
59
|
-
React.createElement(FormLayout_1.default, { className: "ab-ExpressionEditor__columns", gridColumnGap: "var(--ab-space-1)", gridRowGap: "var(--ab-space-1)", sizes: ['auto', '100px'], style: { alignItems: 'stretch' } }, queryableColumns.map((column) => (React.createElement(FormLayout_1.FormRow, { key: column.
|
|
59
|
+
React.createElement(FormLayout_1.default, { className: "ab-ExpressionEditor__columns", gridColumnGap: "var(--ab-space-1)", gridRowGap: "var(--ab-space-1)", sizes: ['auto', '100px'], style: { alignItems: 'stretch' } }, queryableColumns.map((column) => (React.createElement(FormLayout_1.FormRow, { key: column.columnId, label: React.createElement(EditorButton_1.default, { width: "100%", height: "100%", style: {
|
|
60
60
|
background: 'var(--ab-color-primary)',
|
|
61
61
|
cursor: 'grab',
|
|
62
62
|
marginRight: 'var(--ab-space-1)',
|
|
63
|
-
}, data: `[${column.
|
|
64
|
-
React.createElement(rebass_1.Flex, { flexDirection: "column", alignItems: "start" }, showColumnIds ? `[${column.
|
|
65
|
-
? new Date(data[column.
|
|
63
|
+
}, data: `[${column.columnId}]`, "data-name": "column", icon: "drag" },
|
|
64
|
+
React.createElement(rebass_1.Flex, { flexDirection: "column", alignItems: "start" }, showColumnIds ? `[${column.columnId}]` : column.friendlyName)) }, column.dataType === 'Number' ? (React.createElement(Input_1.default, { type: "number", "data-name": "column-input", value: data[column.columnId], onChange: (e) => setData(Object.assign(Object.assign({}, data), { [column.columnId]: Number(e.target.value) })), width: "100%", disabled: column.readOnly })) : column.dataType === 'String' ? (React.createElement(Input_1.default, { type: "text", "data-name": "column-input", value: data[column.columnId], onChange: (e) => setData(Object.assign(Object.assign({}, data), { [column.columnId]: e.target.value })), width: "100%", disabled: column.readOnly })) : column.dataType === 'Date' ? (React.createElement(AdaptableInput_1.default, { type: "date", "data-name": "column-input", value: data[column.columnId] && DateHelper_1.isValueValidDate(data[column.columnId])
|
|
65
|
+
? new Date(data[column.columnId]).toISOString().substr(0, 10)
|
|
66
66
|
: '', onChange: (e) => {
|
|
67
|
-
setData(Object.assign(Object.assign({}, data), { [column.
|
|
68
|
-
}, style: { width: '100%' }, disabled: column.
|
|
67
|
+
setData(Object.assign(Object.assign({}, data), { [column.columnId]: new Date(e.target.value) }));
|
|
68
|
+
}, style: { width: '100%' }, disabled: column.readOnly })) : column.dataType === 'Boolean' ? (React.createElement(CheckBox_1.CheckBox, { "data-name": "column-input", checked: data[column.columnId], onChange: (checked) => setData(Object.assign(Object.assign({}, data), { [column.columnId]: checked })), disabled: column.readOnly })) : null))))));
|
|
69
69
|
const namedQueries = (React.createElement("div", null, props.namedQueries.map((namedQuery) => (React.createElement(rebass_1.Flex, { key: namedQuery.Uuid, flexDirection: "column", alignItems: "start", style: { padding: 3, marginTop: 'var(--ab-space-2)', marginBottom: 'var(--ab-space-2)' }, backgroundColor: "primarylight" },
|
|
70
70
|
' ',
|
|
71
71
|
React.createElement(EditorButton_1.default, { width: "100%", height: "100%", style: {
|
|
@@ -15,7 +15,7 @@ const join_1 = tslib_1.__importDefault(require("../utils/join"));
|
|
|
15
15
|
const usePrevious_1 = tslib_1.__importDefault(require("../utils/usePrevious"));
|
|
16
16
|
const utils_1 = require("./utils");
|
|
17
17
|
const LoggingHelper_1 = require("../../Utilities/Helpers/LoggingHelper");
|
|
18
|
-
const
|
|
18
|
+
const useAgGridClassName_1 = tslib_1.__importDefault(require("./useAgGridClassName"));
|
|
19
19
|
const contains_1 = tslib_1.__importDefault(require("../utils/contains"));
|
|
20
20
|
const UIHelper_1 = require("../../View/UIHelper");
|
|
21
21
|
exports.getConstrainRect = (target, constrainTo) => {
|
|
@@ -133,7 +133,7 @@ const OverlayTrigger = React.forwardRef((props, ref) => {
|
|
|
133
133
|
};
|
|
134
134
|
}, [props.visible, showEvent, hideEvent, onShow, onHide]);
|
|
135
135
|
let overlay;
|
|
136
|
-
const
|
|
136
|
+
const agGridClassName = useAgGridClassName_1.default([visible]);
|
|
137
137
|
if (targetRect) {
|
|
138
138
|
const overlayTarget = targetRef.current;
|
|
139
139
|
alignHorizontal =
|
|
@@ -163,7 +163,7 @@ const OverlayTrigger = React.forwardRef((props, ref) => {
|
|
|
163
163
|
node.addEventListener(showEvent, onShow);
|
|
164
164
|
node.addEventListener(hideEvent, onHide);
|
|
165
165
|
}
|
|
166
|
-
}, className: join_1.default('ab-Overlay', `ab-Overlay--position-${position}`, showTriangle ? 'ab-Overlay--show-triangle' : '',
|
|
166
|
+
}, className: join_1.default('ab-Overlay', `ab-Overlay--position-${position}`, showTriangle ? 'ab-Overlay--show-triangle' : '', agGridClassName, domProps.className), visible: visible, style: overlayStyle, anchor: anchor, position: position, getConstrainRect: () => exports.getConstrainRect(targetRef.current) }), props.render()), portalElement);
|
|
167
167
|
}
|
|
168
168
|
return (React.createElement(React.Fragment, null,
|
|
169
169
|
props.children,
|
|
@@ -2,13 +2,13 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
const react_1 = require("react");
|
|
4
4
|
const AdaptableContext_1 = require("../../View/AdaptableContext");
|
|
5
|
-
const
|
|
5
|
+
const useAgGridClassName = (deps = []) => {
|
|
6
6
|
const adaptable = AdaptableContext_1.useAdaptable();
|
|
7
7
|
return react_1.useMemo(() => {
|
|
8
8
|
if (adaptable) {
|
|
9
|
-
return adaptable.
|
|
9
|
+
return adaptable.getAgGridCurrentThemeName();
|
|
10
10
|
}
|
|
11
11
|
return '';
|
|
12
12
|
}, deps);
|
|
13
13
|
};
|
|
14
|
-
exports.default =
|
|
14
|
+
exports.default = useAgGridClassName;
|
|
@@ -18,7 +18,7 @@ exports.ProgressIndicator = () => {
|
|
|
18
18
|
});
|
|
19
19
|
const adaptable = AdaptableContext_1.useAdaptable();
|
|
20
20
|
const adaptableContainerRef = react_1.useRef(adaptable.getAdaptableContainerElement());
|
|
21
|
-
const gridContainerRef = react_1.useRef(adaptable.
|
|
21
|
+
const gridContainerRef = react_1.useRef(adaptable.getAgGridContainerElement());
|
|
22
22
|
const disableAdaptableGrid = (elemRef, disabled) => {
|
|
23
23
|
const DISABLING_CSS_CLASS = 'ab-wait-for-progress-indicator';
|
|
24
24
|
if (!elemRef.current) {
|
|
@@ -82,6 +82,7 @@ const check_box_outline_1 = tslib_1.__importDefault(require("./check-box-outline
|
|
|
82
82
|
const boolean_list_1 = tslib_1.__importDefault(require("./boolean-list"));
|
|
83
83
|
const tab_unselected_1 = tslib_1.__importDefault(require("./tab-unselected"));
|
|
84
84
|
const cloud_upload_1 = tslib_1.__importDefault(require("./cloud-upload"));
|
|
85
|
+
const upload_1 = tslib_1.__importDefault(require("./upload"));
|
|
85
86
|
const ipushpull_1 = tslib_1.__importDefault(require("./ipushpull"));
|
|
86
87
|
const folder_open_1 = tslib_1.__importDefault(require("./folder-open"));
|
|
87
88
|
const folder_1 = tslib_1.__importDefault(require("./folder"));
|
|
@@ -218,6 +219,7 @@ const allIcons = {
|
|
|
218
219
|
'info-sign': info_1.default,
|
|
219
220
|
add: plus_1.default,
|
|
220
221
|
'cloud-upload': cloud_upload_1.default,
|
|
222
|
+
upload: upload_1.default,
|
|
221
223
|
ipushpull: ipushpull_1.default,
|
|
222
224
|
'folder-open': folder_open_1.default,
|
|
223
225
|
'folder-shared': folder_shared_1.default,
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const tslib_1 = require("tslib");
|
|
4
|
+
const React = tslib_1.__importStar(require("react"));
|
|
5
|
+
const DefaultIcon_1 = tslib_1.__importDefault(require("./DefaultIcon"));
|
|
6
|
+
exports.default = (props) => (React.createElement(DefaultIcon_1.default, Object.assign({}, props),
|
|
7
|
+
React.createElement("path", { d: "M5,20h14v-2H5V20z M5,10h4v6h6v-6h4l-7-7L5,10z" }),
|
|
8
|
+
' '));
|
|
@@ -444,19 +444,13 @@ export declare const ADAPTABLE_METAMODEL: {
|
|
|
444
444
|
name: string;
|
|
445
445
|
kind: string;
|
|
446
446
|
description: string;
|
|
447
|
-
properties:
|
|
447
|
+
properties: {
|
|
448
448
|
name: string;
|
|
449
449
|
kind: string;
|
|
450
450
|
description: string;
|
|
451
451
|
uiLabel: string;
|
|
452
452
|
reference: string;
|
|
453
|
-
}
|
|
454
|
-
name: string;
|
|
455
|
-
kind: string;
|
|
456
|
-
description: string;
|
|
457
|
-
uiLabel: string;
|
|
458
|
-
reference?: undefined;
|
|
459
|
-
})[];
|
|
453
|
+
}[];
|
|
460
454
|
};
|
|
461
455
|
AdaptableScope: {
|
|
462
456
|
name: string;
|
|
@@ -529,13 +523,13 @@ export declare const ADAPTABLE_METAMODEL: {
|
|
|
529
523
|
kind: string;
|
|
530
524
|
description: string;
|
|
531
525
|
uiLabel: string;
|
|
532
|
-
isOptional
|
|
526
|
+
isOptional: boolean;
|
|
533
527
|
} | {
|
|
534
528
|
name: string;
|
|
535
529
|
kind: string;
|
|
536
530
|
description: string;
|
|
537
531
|
uiLabel: string;
|
|
538
|
-
isOptional
|
|
532
|
+
isOptional?: undefined;
|
|
539
533
|
})[];
|
|
540
534
|
};
|
|
541
535
|
AdaptableToolPanelDefinition: {
|
|
@@ -765,6 +759,11 @@ export declare const ADAPTABLE_METAMODEL: {
|
|
|
765
759
|
uiLabel: string;
|
|
766
760
|
}[];
|
|
767
761
|
};
|
|
762
|
+
BulkUpdatePermittedValues: {
|
|
763
|
+
name: string;
|
|
764
|
+
kind: string;
|
|
765
|
+
description: string;
|
|
766
|
+
};
|
|
768
767
|
ButtonStyle: {
|
|
769
768
|
name: string;
|
|
770
769
|
kind: string;
|
|
@@ -1015,34 +1014,46 @@ export declare const ADAPTABLE_METAMODEL: {
|
|
|
1015
1014
|
reference: string;
|
|
1016
1015
|
})[];
|
|
1017
1016
|
};
|
|
1018
|
-
|
|
1017
|
+
ColumnMenuContext: {
|
|
1019
1018
|
name: string;
|
|
1020
1019
|
kind: string;
|
|
1021
1020
|
description: string;
|
|
1022
|
-
properties: {
|
|
1021
|
+
properties: ({
|
|
1023
1022
|
name: string;
|
|
1024
1023
|
kind: string;
|
|
1025
1024
|
description: string;
|
|
1026
1025
|
uiLabel: string;
|
|
1027
|
-
|
|
1026
|
+
reference: string;
|
|
1027
|
+
} | {
|
|
1028
|
+
name: string;
|
|
1029
|
+
kind: string;
|
|
1030
|
+
description: string;
|
|
1031
|
+
uiLabel: string;
|
|
1032
|
+
reference?: undefined;
|
|
1033
|
+
})[];
|
|
1028
1034
|
};
|
|
1029
|
-
|
|
1035
|
+
ColumnSort: {
|
|
1030
1036
|
name: string;
|
|
1031
1037
|
kind: string;
|
|
1032
1038
|
description: string;
|
|
1033
|
-
properties:
|
|
1039
|
+
properties: {
|
|
1034
1040
|
name: string;
|
|
1035
1041
|
kind: string;
|
|
1036
1042
|
description: string;
|
|
1037
1043
|
uiLabel: string;
|
|
1038
|
-
|
|
1039
|
-
|
|
1044
|
+
}[];
|
|
1045
|
+
};
|
|
1046
|
+
ColumnValuesComparer: {
|
|
1047
|
+
name: string;
|
|
1048
|
+
kind: string;
|
|
1049
|
+
description: string;
|
|
1050
|
+
properties: {
|
|
1040
1051
|
name: string;
|
|
1041
1052
|
kind: string;
|
|
1042
1053
|
description: string;
|
|
1043
1054
|
uiLabel: string;
|
|
1044
1055
|
reference: string;
|
|
1045
|
-
}
|
|
1056
|
+
}[];
|
|
1046
1057
|
};
|
|
1047
1058
|
ConditionalStyle: {
|
|
1048
1059
|
name: string;
|
|
@@ -1131,6 +1142,24 @@ export declare const ADAPTABLE_METAMODEL: {
|
|
|
1131
1142
|
defaultValue: string;
|
|
1132
1143
|
}[];
|
|
1133
1144
|
};
|
|
1145
|
+
ContextMenuContext: {
|
|
1146
|
+
name: string;
|
|
1147
|
+
kind: string;
|
|
1148
|
+
description: string;
|
|
1149
|
+
properties: ({
|
|
1150
|
+
name: string;
|
|
1151
|
+
kind: string;
|
|
1152
|
+
description: string;
|
|
1153
|
+
uiLabel: string;
|
|
1154
|
+
reference: string;
|
|
1155
|
+
} | {
|
|
1156
|
+
name: string;
|
|
1157
|
+
kind: string;
|
|
1158
|
+
description: string;
|
|
1159
|
+
uiLabel: string;
|
|
1160
|
+
reference?: undefined;
|
|
1161
|
+
})[];
|
|
1162
|
+
};
|
|
1134
1163
|
CustomDestination: {
|
|
1135
1164
|
name: string;
|
|
1136
1165
|
kind: string;
|
|
@@ -1189,6 +1218,11 @@ export declare const ADAPTABLE_METAMODEL: {
|
|
|
1189
1218
|
uiLabel: string;
|
|
1190
1219
|
}[];
|
|
1191
1220
|
};
|
|
1221
|
+
CustomSortPermittedValues: {
|
|
1222
|
+
name: string;
|
|
1223
|
+
kind: string;
|
|
1224
|
+
description: string;
|
|
1225
|
+
};
|
|
1192
1226
|
CustomSortState: {
|
|
1193
1227
|
name: string;
|
|
1194
1228
|
kind: string;
|
|
@@ -1401,8 +1435,15 @@ export declare const ADAPTABLE_METAMODEL: {
|
|
|
1401
1435
|
kind: string;
|
|
1402
1436
|
description: string;
|
|
1403
1437
|
uiLabel: string;
|
|
1404
|
-
isOptional?: undefined;
|
|
1405
1438
|
reference?: undefined;
|
|
1439
|
+
isOptional?: undefined;
|
|
1440
|
+
} | {
|
|
1441
|
+
name: string;
|
|
1442
|
+
kind: string;
|
|
1443
|
+
description: string;
|
|
1444
|
+
uiLabel: string;
|
|
1445
|
+
reference: string;
|
|
1446
|
+
isOptional?: undefined;
|
|
1406
1447
|
} | {
|
|
1407
1448
|
name: string;
|
|
1408
1449
|
kind: string;
|
|
@@ -1522,6 +1563,11 @@ export declare const ADAPTABLE_METAMODEL: {
|
|
|
1522
1563
|
defaultValue: string;
|
|
1523
1564
|
}[];
|
|
1524
1565
|
};
|
|
1566
|
+
EditLookUpPermittedValues: {
|
|
1567
|
+
name: string;
|
|
1568
|
+
kind: string;
|
|
1569
|
+
description: string;
|
|
1570
|
+
};
|
|
1525
1571
|
EditOptions: {
|
|
1526
1572
|
name: string;
|
|
1527
1573
|
kind: string;
|
|
@@ -1807,6 +1853,18 @@ export declare const ADAPTABLE_METAMODEL: {
|
|
|
1807
1853
|
defaultValue?: undefined;
|
|
1808
1854
|
})[];
|
|
1809
1855
|
};
|
|
1856
|
+
FilterPermittedValues: {
|
|
1857
|
+
name: string;
|
|
1858
|
+
kind: string;
|
|
1859
|
+
description: string;
|
|
1860
|
+
properties: {
|
|
1861
|
+
name: string;
|
|
1862
|
+
kind: string;
|
|
1863
|
+
description: string;
|
|
1864
|
+
uiLabel: string;
|
|
1865
|
+
isOptional: boolean;
|
|
1866
|
+
}[];
|
|
1867
|
+
};
|
|
1810
1868
|
FilterState: {
|
|
1811
1869
|
name: string;
|
|
1812
1870
|
kind: string;
|
|
@@ -2149,22 +2207,22 @@ export declare const ADAPTABLE_METAMODEL: {
|
|
|
2149
2207
|
kind: string;
|
|
2150
2208
|
description: string;
|
|
2151
2209
|
uiLabel: string;
|
|
2210
|
+
reference: string;
|
|
2152
2211
|
isOptional?: undefined;
|
|
2153
|
-
reference?: undefined;
|
|
2154
2212
|
} | {
|
|
2155
2213
|
name: string;
|
|
2156
2214
|
kind: string;
|
|
2157
2215
|
description: string;
|
|
2158
2216
|
uiLabel: string;
|
|
2159
|
-
isOptional: boolean;
|
|
2160
2217
|
reference?: undefined;
|
|
2218
|
+
isOptional?: undefined;
|
|
2161
2219
|
} | {
|
|
2162
2220
|
name: string;
|
|
2163
2221
|
kind: string;
|
|
2164
2222
|
description: string;
|
|
2165
2223
|
uiLabel: string;
|
|
2166
|
-
|
|
2167
|
-
|
|
2224
|
+
isOptional: boolean;
|
|
2225
|
+
reference?: undefined;
|
|
2168
2226
|
})[];
|
|
2169
2227
|
};
|
|
2170
2228
|
GridDataChangedInfo: {
|
|
@@ -2406,24 +2464,6 @@ export declare const ADAPTABLE_METAMODEL: {
|
|
|
2406
2464
|
reference: string;
|
|
2407
2465
|
})[];
|
|
2408
2466
|
};
|
|
2409
|
-
MenuContext: {
|
|
2410
|
-
name: string;
|
|
2411
|
-
kind: string;
|
|
2412
|
-
description: string;
|
|
2413
|
-
properties: ({
|
|
2414
|
-
name: string;
|
|
2415
|
-
kind: string;
|
|
2416
|
-
description: string;
|
|
2417
|
-
uiLabel: string;
|
|
2418
|
-
reference: string;
|
|
2419
|
-
} | {
|
|
2420
|
-
name: string;
|
|
2421
|
-
kind: string;
|
|
2422
|
-
description: string;
|
|
2423
|
-
uiLabel: string;
|
|
2424
|
-
reference?: undefined;
|
|
2425
|
-
})[];
|
|
2426
|
-
};
|
|
2427
2467
|
MenuOptions: {
|
|
2428
2468
|
name: string;
|
|
2429
2469
|
kind: string;
|
|
@@ -2502,6 +2542,15 @@ export declare const ADAPTABLE_METAMODEL: {
|
|
|
2502
2542
|
gridInfo: string;
|
|
2503
2543
|
defaultValue: string;
|
|
2504
2544
|
reference: string;
|
|
2545
|
+
} | {
|
|
2546
|
+
name: string;
|
|
2547
|
+
kind: string;
|
|
2548
|
+
description: string;
|
|
2549
|
+
uiLabel: string;
|
|
2550
|
+
isOptional: boolean;
|
|
2551
|
+
defaultValue: string;
|
|
2552
|
+
gridInfo?: undefined;
|
|
2553
|
+
reference?: undefined;
|
|
2505
2554
|
})[];
|
|
2506
2555
|
};
|
|
2507
2556
|
NumberFormatterOptions: {
|
|
@@ -2581,6 +2630,18 @@ export declare const ADAPTABLE_METAMODEL: {
|
|
|
2581
2630
|
kind: string;
|
|
2582
2631
|
description: string;
|
|
2583
2632
|
};
|
|
2633
|
+
PermittedValues: {
|
|
2634
|
+
name: string;
|
|
2635
|
+
kind: string;
|
|
2636
|
+
description: string;
|
|
2637
|
+
properties: {
|
|
2638
|
+
name: string;
|
|
2639
|
+
kind: string;
|
|
2640
|
+
description: string;
|
|
2641
|
+
uiLabel: string;
|
|
2642
|
+
isOptional: boolean;
|
|
2643
|
+
}[];
|
|
2644
|
+
};
|
|
2584
2645
|
PluginsApi: {
|
|
2585
2646
|
name: string;
|
|
2586
2647
|
kind: string;
|
|
@@ -2640,21 +2701,14 @@ export declare const ADAPTABLE_METAMODEL: {
|
|
|
2640
2701
|
name: string;
|
|
2641
2702
|
kind: string;
|
|
2642
2703
|
description: string;
|
|
2643
|
-
properties:
|
|
2644
|
-
name: string;
|
|
2645
|
-
kind: string;
|
|
2646
|
-
description: string;
|
|
2647
|
-
uiLabel: string;
|
|
2648
|
-
isOptional: boolean;
|
|
2649
|
-
reference?: undefined;
|
|
2650
|
-
} | {
|
|
2704
|
+
properties: {
|
|
2651
2705
|
name: string;
|
|
2652
2706
|
kind: string;
|
|
2653
2707
|
description: string;
|
|
2654
2708
|
uiLabel: string;
|
|
2655
2709
|
isOptional: boolean;
|
|
2656
2710
|
reference: string;
|
|
2657
|
-
}
|
|
2711
|
+
}[];
|
|
2658
2712
|
};
|
|
2659
2713
|
PredicateApi: {
|
|
2660
2714
|
name: string;
|