dtable-statistic 5.0.38 → 5.0.40
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.
|
@@ -167,13 +167,11 @@
|
|
|
167
167
|
}
|
|
168
168
|
|
|
169
169
|
.statistic-list .statistic-chart-preview-container .sea-chart-pivot-table td {
|
|
170
|
-
padding: 5px;
|
|
171
170
|
min-width: 32px;
|
|
172
171
|
width: auto
|
|
173
172
|
}
|
|
174
173
|
|
|
175
174
|
.statistic-list .statistic-chart-preview-container .sea-chart-pivot-table th {
|
|
176
|
-
padding: 5px;
|
|
177
175
|
min-width: 32px;
|
|
178
176
|
width: auto
|
|
179
177
|
}
|
|
@@ -23,6 +23,8 @@ const isSummaryDateColumn = summaryColumn => {
|
|
|
23
23
|
};
|
|
24
24
|
const getValidValueForColumn = (column, value) => {
|
|
25
25
|
if (!column) return '';
|
|
26
|
+
// Summarize multiple columns
|
|
27
|
+
value = Array.isArray(value) && value.length !== 0 ? value[0][1] : value;
|
|
26
28
|
const {
|
|
27
29
|
type,
|
|
28
30
|
data
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "dtable-statistic",
|
|
3
|
-
"version": "5.0.
|
|
3
|
+
"version": "5.0.40",
|
|
4
4
|
"description": "statistics",
|
|
5
5
|
"main": "dist/dtable-statistic.js",
|
|
6
6
|
"author": "seafile",
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
"react-grid-layout": "^1.2.5",
|
|
19
19
|
"react-intl-universal": "^2.4.8",
|
|
20
20
|
"reactstrap": "8.9.0",
|
|
21
|
-
"sea-chart": "~0.0.
|
|
21
|
+
"sea-chart": "~0.0.86"
|
|
22
22
|
},
|
|
23
23
|
"peerDependencies": {
|
|
24
24
|
"dtable-ui-component": "~5.0.*",
|