@adaptabletools/adaptable-cjs 22.0.0-canary.12 → 22.0.0-canary.13
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 +3 -0
- package/index.css.map +1 -1
- package/index.d.ts +8 -8
- package/index.js +8 -8
- package/package.json +1 -1
- package/src/AdaptableOptions/UserInterfaceOptions.d.ts +2 -2
- package/src/AdaptableState/Common/AdaptableColumn.d.ts +3 -3
- package/src/AdaptableState/InitialState.d.ts +1 -1
- package/src/Api/ColumnApi.d.ts +1 -1
- package/src/Api/Implementation/ColumnApiImpl.d.ts +1 -1
- package/src/Api/Implementation/ColumnApiImpl.js +4 -4
- package/src/Api/Internal/ColumnInternalApi.d.ts +1 -1
- package/src/Api/Internal/ColumnInternalApi.js +4 -2
- package/src/Strategy/FormatColumnModule.js +2 -2
- package/src/Strategy/StyledColumnModule.js +14 -6
- 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/getScopeViewItems.js +1 -1
- package/src/View/Components/ValueSelector/index.js +7 -2
- package/src/View/Export/Wizard/NewReportWizard.js +8 -8
- package/src/View/FlashingCell/Wizard/FlashingCellSettingsWizardSection.js +19 -10
- package/src/View/FlashingCell/Wizard/FlashingCellWizard.js +1 -1
- 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/Layout/Wizard/sections/ColumnsSection.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/agGrid/AgGridAdapter.js +4 -4
- package/src/env.js +2 -2
- package/src/metamodel/adaptable.metamodel.js +1 -1
- package/src/migration/VersionUpgrade22.js +8 -0
- package/tsconfig.cjs.tsbuildinfo +1 -1
- package/src/Strategy/Utilities/FormatColumn/getFormatColumnSettingsTargetItems.js +0 -16
- 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
|
@@ -12,7 +12,7 @@ const StyledColumnWizardTypeSection_1 = require("./StyledColumnWizardTypeSection
|
|
|
12
12
|
const StyledColumnWizardColumnSection_1 = require("./StyledColumnWizardColumnSection");
|
|
13
13
|
const StyledColumnWizardStyleSection_1 = require("./StyledColumnWizardStyleSection");
|
|
14
14
|
const Helper_1 = require("../../../Utilities/Helpers/Helper");
|
|
15
|
-
const
|
|
15
|
+
const StyledColumnBadgeRowsSection_1 = require("./StyledColumnBadgeRowsSection");
|
|
16
16
|
const StyledColumnSparklineSettingsSection_1 = require("./StyledColumnSparklineSettingsSection");
|
|
17
17
|
const ObjectTagsWizardSection_1 = require("../../Wizard/ObjectTagsWizardSection");
|
|
18
18
|
const StyledColumnBadgeSection_1 = require("./StyledColumnBadgeSection");
|
|
@@ -52,15 +52,6 @@ const StyledColumnWizard = (props) => {
|
|
|
52
52
|
}
|
|
53
53
|
props.onFinishWizard(styledColumn);
|
|
54
54
|
};
|
|
55
|
-
const AdditionalSettingSection = {
|
|
56
|
-
details: 'Apply Additional Settings',
|
|
57
|
-
renderSummary: StyledColumnWizardSettingsSection_1.renderStyledColumnWizardSettingsSummary,
|
|
58
|
-
render: () => {
|
|
59
|
-
return (React.createElement(Flex_1.Box, { className: "twa:p-2" },
|
|
60
|
-
React.createElement(StyledColumnWizardSettingsSection_1.StyledColumnWizardSettingsSection, { onChange: setStyledColumn })));
|
|
61
|
-
},
|
|
62
|
-
title: 'Settings',
|
|
63
|
-
};
|
|
64
55
|
const specificSteps = [];
|
|
65
56
|
if (styledColumn.SparklineStyle) {
|
|
66
57
|
specificSteps.push({
|
|
@@ -97,6 +88,15 @@ const StyledColumnWizard = (props) => {
|
|
|
97
88
|
);
|
|
98
89
|
}
|
|
99
90
|
else if (styledColumn.BadgeStyle) {
|
|
91
|
+
specificSteps.push({
|
|
92
|
+
details: 'Select the Rows where the Badge will be applied',
|
|
93
|
+
renderSummary: StyledColumnBadgeRowsSection_1.renderStyledColumnBadgeRowsSummary,
|
|
94
|
+
render: () => {
|
|
95
|
+
return (React.createElement(Flex_1.Box, { className: "twa:p-2" },
|
|
96
|
+
React.createElement(StyledColumnBadgeRowsSection_1.StyledColumnBadgeRowsSection, { onChange: setStyledColumn })));
|
|
97
|
+
},
|
|
98
|
+
title: 'Rows',
|
|
99
|
+
});
|
|
100
100
|
specificSteps.push({
|
|
101
101
|
title: 'Badges',
|
|
102
102
|
details: 'Create Badge Styles',
|
|
@@ -114,7 +114,6 @@ const StyledColumnWizard = (props) => {
|
|
|
114
114
|
render: () => (React.createElement(Flex_1.Box, { className: "twa:p-2" },
|
|
115
115
|
React.createElement(StyledColumnBadgeSection_1.StyledColumnBadgeSection, { onChange: setStyledColumn }))),
|
|
116
116
|
});
|
|
117
|
-
specificSteps.push(AdditionalSettingSection);
|
|
118
117
|
}
|
|
119
118
|
return (React.createElement(OnePageAdaptableWizard_1.OnePageAdaptableWizard, { defaultCurrentSectionName: defaultCurrentSectionName, moduleInfo: props.moduleInfo, data: styledColumn, onFinish: handleFinish, onHide: props.onCloseWizard, sections: [
|
|
120
119
|
{
|
|
@@ -475,8 +475,8 @@ class AgGridAdapter {
|
|
|
475
475
|
? 'number'
|
|
476
476
|
: this.deriveAdaptableColumnDataType(agGridColumn, false);
|
|
477
477
|
const isTreeColumn = this.isTreeColumn(isGeneratedRowGroupColumn);
|
|
478
|
-
const
|
|
479
|
-
const visible = !
|
|
478
|
+
const isUIHiddenColumn = this.adaptableApi.columnApi.internalApi.isColumnUIHidden(colDef);
|
|
479
|
+
const visible = !isUIHiddenColumn || agGridColumn.isVisible();
|
|
480
480
|
const isGenerated = isGeneratedRowGroupColumn || isGeneratedPivotResultColumn || isGeneratedSelectionColumn;
|
|
481
481
|
const abColumn = {
|
|
482
482
|
Uuid: (0, Uuid_1.createUuid)(),
|
|
@@ -486,9 +486,9 @@ class AgGridAdapter {
|
|
|
486
486
|
resizable: colDef.resizable !== false,
|
|
487
487
|
friendlyName: friendlyName,
|
|
488
488
|
isPrimaryKey: ColumnId === pkColumn,
|
|
489
|
-
dataType
|
|
489
|
+
dataType,
|
|
490
490
|
visible,
|
|
491
|
-
|
|
491
|
+
isUIHiddenColumn,
|
|
492
492
|
readOnly: this.isColumnReadonly(colDef),
|
|
493
493
|
columnGroup: ColumnGroup,
|
|
494
494
|
fieldOnly: isGenerated ? false : this.isColumnFieldonly(colDef),
|
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.0-canary.
|
|
5
|
+
PUBLISH_TIMESTAMP: 1771243592812 || Date.now(),
|
|
6
|
+
VERSION: "22.0.0-canary.13" || '--current-version--',
|
|
7
7
|
};
|