@adaptabletools/adaptable-cjs 22.0.0-canary.9 → 22.0.1-canary.0
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/index.css +1157 -1319
- package/index.css.map +1 -1
- package/index.d.ts +8 -8
- package/index.js +8 -8
- package/package.json +1 -4
- package/src/AdaptableInterfaces/IAdaptable.d.ts +1 -0
- package/src/AdaptableOptions/UserInterfaceOptions.d.ts +2 -2
- package/src/AdaptableState/Common/AdaptableColumn.d.ts +3 -3
- package/src/AdaptableState/Common/AdaptableForm.d.ts +1 -1
- package/src/AdaptableState/Common/AggregationColumns.d.ts +1 -0
- package/src/AdaptableState/Common/AggregationColumns.js +2 -1
- package/src/AdaptableState/Common/DataUpdateConfig.d.ts +15 -5
- package/src/AdaptableState/Common/TransposeConfig.d.ts +4 -9
- package/src/AdaptableState/InitialState.d.ts +1 -1
- package/src/AdaptableState/UserInterfaceState.d.ts +1 -1
- package/src/Api/ColumnApi.d.ts +1 -1
- package/src/Api/GridApi.d.ts +8 -0
- package/src/Api/Implementation/ApiBase.d.ts +1 -1
- package/src/Api/Implementation/ApiBase.js +1 -1
- package/src/Api/Implementation/ColumnApiImpl.d.ts +1 -1
- package/src/Api/Implementation/ColumnApiImpl.js +4 -4
- package/src/Api/Implementation/GridApiImpl.d.ts +2 -0
- package/src/Api/Implementation/GridApiImpl.js +9 -5
- package/src/Api/Implementation/LayoutHelpers.js +1 -1
- package/src/Api/Implementation/RowFormApiImpl.d.ts +1 -0
- package/src/Api/Implementation/RowFormApiImpl.js +13 -0
- package/src/Api/Internal/ActionColumnInternalApi.js +2 -19
- package/src/Api/Internal/ColumnInternalApi.d.ts +1 -1
- package/src/Api/Internal/ColumnInternalApi.js +5 -3
- package/src/Api/Internal/EventInternalApi.js +1 -1
- package/src/Api/Internal/ExportInternalApi.js +1 -1
- package/src/Api/RowFormApi.d.ts +5 -0
- package/src/Redux/Store/AdaptableReduxLocalStorageEngine.js +1 -1
- package/src/Redux/Store/AdaptableReduxMerger.js +5 -6
- package/src/Strategy/CellSummaryModule.d.ts +1 -0
- package/src/Strategy/CellSummaryModule.js +3 -0
- package/src/Strategy/FormatColumnModule.js +2 -2
- package/src/Strategy/LayoutModule.js +23 -19
- package/src/Strategy/PlusMinusModule.d.ts +1 -0
- package/src/Strategy/PlusMinusModule.js +8 -2
- package/src/Strategy/StyledColumnModule.js +14 -6
- package/src/Strategy/TeamSharingModule.js +2 -2
- package/src/Strategy/Utilities/FormatColumn/{getFormatColumnSettingsTargetItems.d.ts → getFormatColumnRowTargetItems.d.ts} +1 -1
- package/src/Strategy/Utilities/FormatColumn/getFormatColumnRowTargetItems.js +26 -0
- package/src/Strategy/Utilities/FormatColumn/getFormatColumnSettingsViewItems.js +5 -13
- package/src/Utilities/ExpressionFunctions/aggregatedBooleanExpressionFunctions.js +1 -1
- package/src/Utilities/ExpressionFunctions/aggregatedScalarExpressionFunctions.js +1 -1
- package/src/Utilities/ExpressionFunctions/expressionFunctionUtils.js +1 -1
- package/src/Utilities/ExpressionFunctions/observableExpressionFunctions.js +1 -1
- package/src/Utilities/Extensions/StringExtensions.js +1 -1
- package/src/Utilities/Helpers/AdaptableHelper.js +2 -2
- package/src/Utilities/Helpers/FormatHelper.js +2 -2
- package/src/Utilities/Hooks/index.d.ts +1 -2
- package/src/Utilities/Hooks/index.js +1 -3
- package/src/Utilities/Services/LicenseService/index.js +1 -1
- package/src/Utilities/Services/RowSummaryService.d.ts +1 -1
- package/src/Utilities/Services/RowSummaryService.js +2 -2
- package/src/Utilities/getScopeViewItems.js +1 -1
- package/src/Utilities/only.d.ts +18 -0
- package/src/Utilities/only.js +44 -0
- package/src/Utilities/utils/chunk.d.ts +6 -0
- package/src/Utilities/utils/chunk.js +20 -0
- package/src/Utilities/utils/clamp.d.ts +5 -0
- package/src/Utilities/utils/clamp.js +10 -0
- package/src/Utilities/utils/cloneDeepWith.d.ts +9 -0
- package/src/Utilities/utils/cloneDeepWith.js +70 -0
- package/src/Utilities/utils/debounce.d.ts +20 -0
- package/src/Utilities/utils/debounce.js +124 -0
- package/src/Utilities/utils/flatten.d.ts +5 -0
- package/src/Utilities/utils/flatten.js +10 -0
- package/src/Utilities/utils/flattenDeep.d.ts +5 -0
- package/src/Utilities/utils/flattenDeep.js +10 -0
- package/src/Utilities/utils/get.d.ts +6 -0
- package/src/Utilities/utils/get.js +38 -0
- package/src/Utilities/utils/index.d.ts +22 -0
- package/src/Utilities/utils/index.js +48 -0
- package/src/Utilities/utils/isArray.d.ts +6 -0
- package/src/Utilities/utils/isArray.js +8 -0
- package/src/Utilities/utils/isEqual.d.ts +5 -0
- package/src/Utilities/utils/isEqual.js +127 -0
- package/src/Utilities/utils/isObject.d.ts +6 -0
- package/src/Utilities/utils/isObject.js +12 -0
- package/src/Utilities/utils/isPlainObject.d.ts +6 -0
- package/src/Utilities/utils/isPlainObject.js +20 -0
- package/src/Utilities/utils/kebabCase.d.ts +5 -0
- package/src/Utilities/utils/kebabCase.js +12 -0
- package/src/Utilities/utils/merge.d.ts +11 -0
- package/src/Utilities/utils/merge.js +44 -0
- package/src/Utilities/utils/mergeWith.d.ts +7 -0
- package/src/Utilities/utils/mergeWith.js +50 -0
- package/src/Utilities/utils/orderBy.d.ts +8 -0
- package/src/Utilities/utils/orderBy.js +33 -0
- package/src/Utilities/utils/parseInt.d.ts +6 -0
- package/src/Utilities/utils/parseInt.js +12 -0
- package/src/Utilities/utils/sentenceCase.d.ts +6 -0
- package/src/Utilities/utils/sentenceCase.js +19 -0
- package/src/Utilities/utils/startCase.d.ts +5 -0
- package/src/Utilities/utils/startCase.js +15 -0
- package/src/Utilities/utils/throttle.d.ts +17 -0
- package/src/Utilities/utils/throttle.js +23 -0
- package/src/Utilities/utils/toNumber.d.ts +5 -0
- package/src/Utilities/utils/toNumber.js +42 -0
- package/src/Utilities/utils/uniq.d.ts +7 -0
- package/src/Utilities/utils/uniq.js +12 -0
- package/src/Utilities/utils/uniqBy.d.ts +8 -0
- package/src/Utilities/utils/uniqBy.js +25 -0
- package/src/Utilities/utils/words.d.ts +7 -0
- package/src/Utilities/utils/words.js +13 -0
- package/src/Utilities/weightedAverage.d.ts +11 -0
- package/src/Utilities/weightedAverage.js +60 -46
- package/src/View/AdaptableComputedCSSVarsContext.js +1 -1
- package/src/View/AdaptableWizardView/AdaptableConfigurationDialog/ColumnsList.js +1 -1
- package/src/View/Alert/Wizard/AlertButtonsEditor.js +2 -2
- package/src/View/Charting/ChartingWizard/AgChargingWizard/PreviewChartSection.js +1 -1
- package/src/View/Components/ColumnFilter/components/ColumnFilterInput.js +1 -1
- package/src/View/Components/ColumnFilter/components/ColumnFilterInputList.js +2 -2
- package/src/View/Components/ColumnFilter/components/FloatingFilterInputList.js +2 -2
- package/src/View/Components/RangesComponent.js +1 -1
- package/src/View/Components/Selectors/PermittedValuesSelector.js +1 -1
- package/src/View/Components/ToolPanel/AdaptableToolPanel.js +1 -1
- package/src/View/Components/ToolPanel/CustomToolPanelContent.js +1 -1
- package/src/View/Components/ValueSelector/index.js +7 -2
- package/src/View/Dashboard/CustomDashboardButton.js +1 -1
- package/src/View/Dashboard/Dashboard.js +1 -1
- package/src/View/Dashboard/DashboardPopup.js +4 -3
- package/src/View/DataImport/DataImportWizard/sections/DataPreview.js +1 -1
- package/src/View/DataSet/DataSetViewPanel.d.ts +1 -1
- package/src/View/Export/Wizard/NewReportWizard.js +8 -8
- package/src/View/Filter/FilterViewPanel.d.ts +1 -1
- package/src/View/FlashingCell/Wizard/FlashingCellSettingsWizardSection.js +19 -10
- package/src/View/FlashingCell/Wizard/FlashingCellWizard.js +1 -1
- package/src/View/FormatColumn/Wizard/FormatColumnFormatWizardSection.js +2 -2
- package/src/View/FormatColumn/Wizard/FormatColumnRowScopeWizardSection.d.ts +8 -0
- package/src/View/FormatColumn/Wizard/FormatColumnRowScopeWizardSection.js +86 -0
- package/src/View/FormatColumn/Wizard/FormatColumnSettingsWizardSection.js +22 -61
- package/src/View/FormatColumn/Wizard/FormatColumnWizard.js +22 -10
- package/src/View/GridFilter/GridFilterViewPanel.js +3 -3
- package/src/View/Layout/LayoutViewPanel.js +1 -1
- package/src/View/Layout/TransposedPopup.js +0 -1
- package/src/View/Layout/Wizard/sections/ColumnsSection.js +1 -1
- package/src/View/Note/NoteEditor.js +1 -1
- package/src/View/QuickSearch/useQuickSearchDebounced.js +1 -1
- package/src/View/SpecialColumnSettingsWizardStep.js +1 -1
- package/src/View/StyledColumn/Wizard/StyledColumnBadgeRowsSection.d.ts +8 -0
- package/src/View/StyledColumn/Wizard/{StyledColumnWizardSettingsSection.js → StyledColumnBadgeRowsSection.js} +22 -22
- package/src/View/StyledColumn/Wizard/StyledColumnWizard.js +10 -11
- package/src/View/SystemStatus/SystemStatusViewPanel.d.ts +1 -1
- package/src/View/Theme/ThemeEditor.js +1 -1
- package/src/View/Theme/ThemeField.js +1 -1
- package/src/View/Wizard/OnePageAdaptableWizard.js +1 -1
- package/src/View/Wizard/OnePageWizards.js +1 -1
- package/src/agGrid/AdaptableAgGrid.d.ts +1 -0
- package/src/agGrid/AdaptableAgGrid.js +28 -6
- package/src/agGrid/AgGridAdapter.js +4 -4
- package/src/agGrid/AgGridColumnAdapter.js +11 -4
- package/src/agGrid/AgGridExportAdapter.d.ts +2 -2
- package/src/agGrid/AgGridExportAdapter.js +7 -6
- package/src/agGrid/cellRenderers/PercentBarRenderer.js +17 -5
- package/src/components/ColorPicker/ColorPicker.js +1 -1
- package/src/components/DropdownButton/renderItem.js +1 -1
- package/src/components/ExpressionEditor/QueryBuilder/QueryBuilderInputs.js +1 -1
- package/src/components/FormLayout/index.js +1 -1
- package/src/components/OverlayTrigger/index.js +1 -1
- package/src/components/Select/Select.js +4 -0
- package/src/env.js +2 -2
- package/src/layout-manager/src/isLayoutEqual.js +1 -1
- package/src/metamodel/adaptable.metamodel.d.ts +12 -1
- package/src/metamodel/adaptable.metamodel.js +1 -1
- package/src/migration/VersionUpgrade22.js +9 -0
- package/themes/dark.css +2 -3
- package/themes/light.css +1 -1
- package/tsconfig.cjs.tsbuildinfo +1 -1
- package/src/Strategy/Utilities/FormatColumn/getFormatColumnSettingsTargetItems.js +0 -16
- package/src/Utilities/Hooks/useAdaptableState.d.ts +0 -3
- package/src/Utilities/Hooks/useAdaptableState.js +0 -42
- package/src/View/FormatColumn/Wizard/FormatColumnTargetWizardSection.d.ts +0 -8
- package/src/View/FormatColumn/Wizard/FormatColumnTargetWizardSection.js +0 -37
- package/src/View/StyledColumn/Wizard/StyledColumnWizardSettingsSection.d.ts +0 -8
- /package/src/View/FormatColumn/Wizard/{FormatColumnScopeWizardSection.d.ts → FormatColumnColumnScopeWizardSection.d.ts} +0 -0
- /package/src/View/FormatColumn/Wizard/{FormatColumnScopeWizardSection.js → FormatColumnColumnScopeWizardSection.js} +0 -0
|
@@ -3,8 +3,8 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.AgGridColumnAdapter = void 0;
|
|
4
4
|
exports.getEditorForColumnDataType = getEditorForColumnDataType;
|
|
5
5
|
const tslib_1 = require("tslib");
|
|
6
|
-
const kebabCase_1 = tslib_1.__importDefault(require("
|
|
7
|
-
const merge_1 = tslib_1.__importDefault(require("
|
|
6
|
+
const kebabCase_1 = tslib_1.__importDefault(require("../Utilities/utils/kebabCase"));
|
|
7
|
+
const merge_1 = tslib_1.__importDefault(require("../Utilities/utils/merge"));
|
|
8
8
|
const StyleHelper_1 = require("../Utilities/Helpers/StyleHelper");
|
|
9
9
|
const StringExtensions_1 = tslib_1.__importDefault(require("../Utilities/Extensions/StringExtensions"));
|
|
10
10
|
const AdaptableColumn_1 = require("../AdaptableState/Common/AdaptableColumn");
|
|
@@ -538,8 +538,15 @@ class AgGridColumnAdapter {
|
|
|
538
538
|
returnValue = params.value;
|
|
539
539
|
}
|
|
540
540
|
if (textOptions.includes('PercentageValue')) {
|
|
541
|
-
|
|
542
|
-
|
|
541
|
+
let percentageValue;
|
|
542
|
+
if (styledColumn.PercentBarStyle.ColumnComparison) {
|
|
543
|
+
const absMax = Math.abs(max);
|
|
544
|
+
percentageValue = absMax === 0 ? 0 : (Number(params.value) / absMax) * 100;
|
|
545
|
+
}
|
|
546
|
+
else {
|
|
547
|
+
const clampedValue = Helper_1.default.clamp(params.value, min, max);
|
|
548
|
+
percentageValue = ((clampedValue - min) / (max - min)) * 100;
|
|
549
|
+
}
|
|
543
550
|
returnValue += ' ' + `(${percentageValue.toFixed(0)}%)`;
|
|
544
551
|
}
|
|
545
552
|
return returnValue ? returnValue : params.value;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { AdaptableAgGrid } from './AdaptableAgGrid';
|
|
2
|
-
import { Report, ReportFormatType } from '../AdaptableState/ExportState';
|
|
3
1
|
import { CsvExportParams, ExcelExportParams, ExcelStyle } from 'ag-grid-enterprise';
|
|
4
2
|
import { CustomExportParams, ExportDestinationType, ExportResultData } from '../AdaptableOptions/ExportOptions';
|
|
3
|
+
import { Report, ReportFormatType } from '../AdaptableState/ExportState';
|
|
5
4
|
import { Layout } from '../AdaptableState/LayoutState';
|
|
5
|
+
import { AdaptableAgGrid } from './AdaptableAgGrid';
|
|
6
6
|
export interface ExportConfig {
|
|
7
7
|
report: Report;
|
|
8
8
|
format: ReportFormatType;
|
|
@@ -2,15 +2,15 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.AgGridExportAdapter = void 0;
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
|
-
const ModuleConstants_1 = require("../Utilities/Constants/ModuleConstants");
|
|
6
|
-
const waitForTimeout_1 = require("../Utilities/waitForTimeout");
|
|
7
|
-
const StyleHelper_1 = require("../Utilities/Helpers/StyleHelper");
|
|
8
|
-
const FormatHelper_1 = tslib_1.__importStar(require("../Utilities/Helpers/FormatHelper"));
|
|
9
5
|
const tinycolor2_1 = tslib_1.__importDefault(require("tinycolor2"));
|
|
10
|
-
const StringExtensions_1 = tslib_1.__importDefault(require("../Utilities/Extensions/StringExtensions"));
|
|
11
|
-
const Uuid_1 = require("../AdaptableState/Uuid");
|
|
12
6
|
const udsv_1 = require("udsv");
|
|
7
|
+
const Uuid_1 = require("../AdaptableState/Uuid");
|
|
13
8
|
const GeneralConstants_1 = require("../Utilities/Constants/GeneralConstants");
|
|
9
|
+
const ModuleConstants_1 = require("../Utilities/Constants/ModuleConstants");
|
|
10
|
+
const StringExtensions_1 = tslib_1.__importDefault(require("../Utilities/Extensions/StringExtensions"));
|
|
11
|
+
const FormatHelper_1 = tslib_1.__importStar(require("../Utilities/Helpers/FormatHelper"));
|
|
12
|
+
const StyleHelper_1 = require("../Utilities/Helpers/StyleHelper");
|
|
13
|
+
const waitForTimeout_1 = require("../Utilities/waitForTimeout");
|
|
14
14
|
class AgGridExportAdapter {
|
|
15
15
|
_adaptableInstance;
|
|
16
16
|
/**
|
|
@@ -91,6 +91,7 @@ class AgGridExportAdapter {
|
|
|
91
91
|
this.patchExcelStyles(exportContext);
|
|
92
92
|
excelStylesWerePatched = true;
|
|
93
93
|
}
|
|
94
|
+
// see #export_data_synchronously
|
|
94
95
|
// 1. easiest case, we download the file using AG Grid
|
|
95
96
|
// these methods will automatically handle the file download
|
|
96
97
|
if (exportContext.destination === 'Download' && exportContext.isExcelReport) {
|
|
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.getPercentBarRendererForColumn = void 0;
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
5
|
const Helper_1 = tslib_1.__importDefault(require("../../Utilities/Helpers/Helper"));
|
|
6
|
-
const clamp_1 = tslib_1.__importDefault(require("
|
|
6
|
+
const clamp_1 = tslib_1.__importDefault(require("../../Utilities/utils/clamp"));
|
|
7
7
|
const getPercentBarRendererForColumn = (styledColumn, abColumn, api) => {
|
|
8
8
|
if (!styledColumn.PercentBarStyle) {
|
|
9
9
|
return;
|
|
@@ -25,10 +25,22 @@ const getPercentBarRendererForColumn = (styledColumn, abColumn, api) => {
|
|
|
25
25
|
}
|
|
26
26
|
return;
|
|
27
27
|
}
|
|
28
|
-
const clampedValue = (0, clamp_1.default)(value, min, max);
|
|
29
|
-
const percentageValue = ((clampedValue - min) / (max - min)) * 100;
|
|
30
|
-
let cellBackColor;
|
|
31
28
|
const percentBarStyle = styledColumn.PercentBarStyle;
|
|
29
|
+
let percentageValue;
|
|
30
|
+
let barWidthPercent;
|
|
31
|
+
if (percentBarStyle.ColumnComparison) {
|
|
32
|
+
// Finance convention: (difference / |base|) * 100 — signed %, use |price| when base is negative
|
|
33
|
+
const absMax = Math.abs(max);
|
|
34
|
+
percentageValue = absMax === 0 ? 0 : (Number(value) / absMax) * 100;
|
|
35
|
+
// Bar width uses |percentage| so 50% and -50% have the same visual width
|
|
36
|
+
barWidthPercent = Math.min(100, Math.abs(percentageValue));
|
|
37
|
+
}
|
|
38
|
+
else {
|
|
39
|
+
const clampedValue = (0, clamp_1.default)(value, min, max);
|
|
40
|
+
percentageValue = ((clampedValue - min) / (max - min)) * 100;
|
|
41
|
+
barWidthPercent = percentageValue;
|
|
42
|
+
}
|
|
43
|
+
let cellBackColor;
|
|
32
44
|
if (percentBarStyle.ColumnComparison) {
|
|
33
45
|
cellBackColor = percentBarStyle.ColumnComparison.Color;
|
|
34
46
|
}
|
|
@@ -56,7 +68,7 @@ const getPercentBarRendererForColumn = (styledColumn, abColumn, api) => {
|
|
|
56
68
|
barInsideEl.className = 'ab-PercentBar__barInside';
|
|
57
69
|
barInsideEl.style.background = cellBackColor;
|
|
58
70
|
barInsideEl.style.height = '100%';
|
|
59
|
-
barInsideEl.style.width = `${
|
|
71
|
+
barInsideEl.style.width = `${barWidthPercent.toFixed(0)}%`;
|
|
60
72
|
barEl.append(barInsideEl);
|
|
61
73
|
this.eGui.append(barEl);
|
|
62
74
|
if (hasCellText) {
|
|
@@ -4,7 +4,7 @@ exports.ColorPicker = void 0;
|
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
5
|
const React = tslib_1.__importStar(require("react"));
|
|
6
6
|
const react_1 = require("react");
|
|
7
|
-
const debounce_1 = tslib_1.__importDefault(require("
|
|
7
|
+
const debounce_1 = tslib_1.__importDefault(require("../../Utilities/utils/debounce"));
|
|
8
8
|
const Input_1 = tslib_1.__importDefault(require("../Input"));
|
|
9
9
|
const StyleHelper_1 = require("../../Utilities/Helpers/StyleHelper");
|
|
10
10
|
const tinycolor2_1 = tslib_1.__importDefault(require("tinycolor2"));
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
const tslib_1 = require("tslib");
|
|
4
4
|
const React = tslib_1.__importStar(require("react"));
|
|
5
|
-
const isPlainObject_1 = tslib_1.__importDefault(require("
|
|
5
|
+
const isPlainObject_1 = tslib_1.__importDefault(require("../../Utilities/utils/isPlainObject"));
|
|
6
6
|
exports.default = ({ domProps, item, onItemClick, index, columns, className, idProperty, style, }) => {
|
|
7
7
|
const key = item[idProperty] || index;
|
|
8
8
|
if (!(0, isPlainObject_1.default)(item)) {
|
|
@@ -135,7 +135,7 @@ const PrimitiveValueInput = (props) => {
|
|
|
135
135
|
} }));
|
|
136
136
|
}
|
|
137
137
|
else if (!['date', 'boolean'].includes(props.inputType)) {
|
|
138
|
-
editor = (react_1.default.createElement(PermittedValuesSelector_1.PermittedValuesSelector, { allowNewValues: true, searchable: '
|
|
138
|
+
editor = (react_1.default.createElement(PermittedValuesSelector_1.PermittedValuesSelector, { allowNewValues: true, searchable: 'menulist', value: props.value, columnId: (0, utils_1.mapColumnExpressionToColumnId)(props.lefthandColumnIdParam), onChange: (value) => {
|
|
139
139
|
props.onChange(value);
|
|
140
140
|
} }));
|
|
141
141
|
}
|
|
@@ -4,7 +4,7 @@ exports.FormRow = void 0;
|
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
5
|
const React = tslib_1.__importStar(require("react"));
|
|
6
6
|
const react_1 = require("react");
|
|
7
|
-
const merge_1 = tslib_1.__importDefault(require("
|
|
7
|
+
const merge_1 = tslib_1.__importDefault(require("../../Utilities/utils/merge"));
|
|
8
8
|
const join_1 = tslib_1.__importDefault(require("../utils/join"));
|
|
9
9
|
const Flex_1 = require("../Flex");
|
|
10
10
|
const FormLayoutContext = (0, react_1.createContext)(null);
|
|
@@ -4,7 +4,7 @@ exports.ensurePortalElement = exports.getConstrainRect = exports.getConstrainEle
|
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
5
|
const React = tslib_1.__importStar(require("react"));
|
|
6
6
|
const react_1 = require("react");
|
|
7
|
-
const debounce_1 = tslib_1.__importDefault(require("
|
|
7
|
+
const debounce_1 = tslib_1.__importDefault(require("../../Utilities/utils/debounce"));
|
|
8
8
|
const batchUpdate_1 = tslib_1.__importDefault(require("../utils/batchUpdate"));
|
|
9
9
|
const selectParent_1 = tslib_1.__importDefault(require("../utils/selectParent"));
|
|
10
10
|
const useProperty_1 = tslib_1.__importDefault(require("../utils/useProperty"));
|
|
@@ -366,6 +366,10 @@ const Select = function (props) {
|
|
|
366
366
|
// and then pass the actual values to Resizable
|
|
367
367
|
minWidth: CSS_VARS_VALUES['--ab-cmp-select-menu__min-width'], maxHeight: CSS_VARS_VALUES['--ab-cmp-select-menu__max-height'], maxWidth: CSS_VARS_VALUES['--ab-cmp-select-menu__max-width'], defaultSize: sizeRef.current, onResizeStop: onResizeStop, onResizeStart: (e) => {
|
|
368
368
|
e.preventDefault();
|
|
369
|
+
}, handleClasses: {
|
|
370
|
+
right: 'ab-Select-resize-handle ab-Select-resize-handle--right',
|
|
371
|
+
bottom: 'ab-Select-resize-handle ab-Select-resize-handle--bottom',
|
|
372
|
+
bottomRight: 'ab-Select-resize-handle ab-Select-resize-handle--bottom-right',
|
|
369
373
|
} }, theChildren)) : (theChildren))));
|
|
370
374
|
};
|
|
371
375
|
}, [resizable, JSON.stringify(CSS_VARS_VALUES)]);
|
package/src/env.js
CHANGED
|
@@ -2,6 +2,6 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.default = {
|
|
4
4
|
NEXT_PUBLIC_INFINITE_TABLE_LICENSE_KEY: "StartDate=2021-06-29|EndDate=2030-01-01|Owner=Adaptable|Type=distribution|TS=1624971462479|C=137829811,1004007071,2756196225,1839832928,3994409405,636616862" || '',
|
|
5
|
-
PUBLISH_TIMESTAMP:
|
|
6
|
-
VERSION: "22.0.
|
|
5
|
+
PUBLISH_TIMESTAMP: 1772037269052 || Date.now(),
|
|
6
|
+
VERSION: "22.0.1-canary.0" || '--current-version--',
|
|
7
7
|
};
|
|
@@ -5,7 +5,7 @@ exports.isTableLayoutEqual = isTableLayoutEqual;
|
|
|
5
5
|
exports.isPivotLayoutEqual = isPivotLayoutEqual;
|
|
6
6
|
exports.isLayoutEqual = isLayoutEqual;
|
|
7
7
|
const tslib_1 = require("tslib");
|
|
8
|
-
const isEqual_1 = tslib_1.__importDefault(require("
|
|
8
|
+
const isEqual_1 = tslib_1.__importDefault(require("../../Utilities/utils/isEqual"));
|
|
9
9
|
const infinite_react_1 = require("@infinite-table/infinite-react");
|
|
10
10
|
const isPivotLayoutModel_1 = require("./isPivotLayoutModel");
|
|
11
11
|
const normalizeLayoutModel_1 = require("./normalizeLayoutModel");
|
|
@@ -329,7 +329,7 @@ export declare const ADAPTABLE_METAMODEL: {
|
|
|
329
329
|
kind: string;
|
|
330
330
|
desc: string;
|
|
331
331
|
};
|
|
332
|
-
|
|
332
|
+
AdaptableColumnTypeName: {
|
|
333
333
|
name: string;
|
|
334
334
|
kind: string;
|
|
335
335
|
desc: string;
|
|
@@ -3002,6 +3002,17 @@ export declare const ADAPTABLE_METAMODEL: {
|
|
|
3002
3002
|
desc: string;
|
|
3003
3003
|
}[];
|
|
3004
3004
|
};
|
|
3005
|
+
DataRowConfig: {
|
|
3006
|
+
name: string;
|
|
3007
|
+
kind: string;
|
|
3008
|
+
desc: string;
|
|
3009
|
+
props: {
|
|
3010
|
+
name: string;
|
|
3011
|
+
kind: string;
|
|
3012
|
+
desc: string;
|
|
3013
|
+
isOpt: boolean;
|
|
3014
|
+
}[];
|
|
3015
|
+
};
|
|
3005
3016
|
DataSet: {
|
|
3006
3017
|
name: string;
|
|
3007
3018
|
kind: string;
|