@canvas-components/list-table 0.3.33 → 0.3.34
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/dist/index.cjs +1 -1
- package/dist/index.js +1 -1
- package/package.json +4 -4
package/dist/index.cjs
CHANGED
|
@@ -27976,7 +27976,7 @@ function buildListTableContextMenuConfig(params) {
|
|
|
27976
27976
|
summaryVisible,
|
|
27977
27977
|
onToggleSummary: isTableSettingsArea && actions.onToggleSummary ? () => actions.onToggleSummary?.() : void 0
|
|
27978
27978
|
};
|
|
27979
|
-
if (isSummaryArea && !isSelectionColumn && (actions.onChangeSummaryTitle || actions.onClearSummary || actions.onChangeSummaryType || actions.onChangeSummaryRoundingMode)) {
|
|
27979
|
+
if ((isSummaryArea || (isHeaderArea || isBodyArea) && currentColumn?.summaryTitle != null) && !isSelectionColumn && (actions.onChangeSummaryTitle || actions.onClearSummary || actions.onChangeSummaryType || actions.onChangeSummaryRoundingMode)) {
|
|
27980
27980
|
const column = findSummaryColumn(columns, columnKey);
|
|
27981
27981
|
const summary = resolveSummaryConfig2(column?.summary);
|
|
27982
27982
|
summaryConfig.summaryColumnKey = columnKey;
|
package/dist/index.js
CHANGED
|
@@ -27954,7 +27954,7 @@ function buildListTableContextMenuConfig(params) {
|
|
|
27954
27954
|
summaryVisible,
|
|
27955
27955
|
onToggleSummary: isTableSettingsArea && actions.onToggleSummary ? () => actions.onToggleSummary?.() : void 0
|
|
27956
27956
|
};
|
|
27957
|
-
if (isSummaryArea && !isSelectionColumn && (actions.onChangeSummaryTitle || actions.onClearSummary || actions.onChangeSummaryType || actions.onChangeSummaryRoundingMode)) {
|
|
27957
|
+
if ((isSummaryArea || (isHeaderArea || isBodyArea) && currentColumn?.summaryTitle != null) && !isSelectionColumn && (actions.onChangeSummaryTitle || actions.onClearSummary || actions.onChangeSummaryType || actions.onChangeSummaryRoundingMode)) {
|
|
27958
27958
|
const column = findSummaryColumn(columns, columnKey);
|
|
27959
27959
|
const summary = resolveSummaryConfig2(column?.summary);
|
|
27960
27960
|
summaryConfig.summaryColumnKey = columnKey;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@canvas-components/list-table",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.34",
|
|
4
4
|
"description": "Framework-agnostic list table core engine.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -27,11 +27,11 @@
|
|
|
27
27
|
},
|
|
28
28
|
"dependencies": {
|
|
29
29
|
"@ant-design/icons-svg": "4.6.0",
|
|
30
|
+
"@canvas-components/qrcode": "0.2.2",
|
|
30
31
|
"@canvas-components/barcode": "0.2.2",
|
|
32
|
+
"@canvas-components/utils": "0.2.8",
|
|
31
33
|
"@canvas-components/stats": "0.1.4",
|
|
32
|
-
"@canvas-components/
|
|
33
|
-
"@canvas-components/chart": "0.3.7",
|
|
34
|
-
"@canvas-components/utils": "0.2.8"
|
|
34
|
+
"@canvas-components/chart": "0.3.8"
|
|
35
35
|
},
|
|
36
36
|
"scripts": {
|
|
37
37
|
"build": "tsup --config tsup.config.ts"
|