dtable-statistic 5.3.33-alpha.1 → 5.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/es/stat-list/index.js
CHANGED
|
@@ -75,8 +75,7 @@ class StatList extends _react.Component {
|
|
|
75
75
|
columns,
|
|
76
76
|
rows
|
|
77
77
|
} = (0, _exportTableUtils.exportStatisticToTable)({
|
|
78
|
-
statisticalResult: this.statisticalResult4Export
|
|
79
|
-
chart
|
|
78
|
+
statisticalResult: this.statisticalResult4Export
|
|
80
79
|
});
|
|
81
80
|
if (window.app && window.app.onExportStatisticToTable) {
|
|
82
81
|
window.app.onExportStatisticToTable({
|
|
@@ -469,7 +469,7 @@ const getTwoDimensionWithSummaryColumns = _ref3 => {
|
|
|
469
469
|
if (!cell) return;
|
|
470
470
|
const cellTotal = cell && cell.total;
|
|
471
471
|
|
|
472
|
-
// cellTotal: [[summaryName, value], ...]
|
|
472
|
+
// cellTotal: [[summaryName, value, summaryColumnKey], ...]
|
|
473
473
|
let value = '';
|
|
474
474
|
if (Array.isArray(cellTotal)) {
|
|
475
475
|
const pair = cellTotal.find(item => Array.isArray(item) && item[0] === summaryName);
|
|
@@ -904,8 +904,7 @@ const updateTwoDimensionWithSummaryColumnsToTable = _ref7 => {
|
|
|
904
904
|
*/
|
|
905
905
|
const exportStatisticToTable = _ref8 => {
|
|
906
906
|
let {
|
|
907
|
-
statisticalResult
|
|
908
|
-
chart
|
|
907
|
+
statisticalResult
|
|
909
908
|
} = _ref8;
|
|
910
909
|
const {
|
|
911
910
|
pivotResult,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "dtable-statistic",
|
|
3
|
-
"version": "5.3.
|
|
3
|
+
"version": "5.3.34",
|
|
4
4
|
"description": "statistics",
|
|
5
5
|
"main": "dist/dtable-statistic.js",
|
|
6
6
|
"author": "seafile",
|
|
@@ -10,7 +10,6 @@
|
|
|
10
10
|
"@seafile/seafile-calendar": "0.0.24",
|
|
11
11
|
"comlink": "^4.4.1",
|
|
12
12
|
"dayjs": "1.10.7",
|
|
13
|
-
"dtable-web-api": "^5.2.6",
|
|
14
13
|
"html2canvas": "^1.4.1",
|
|
15
14
|
"rc-slider": "^9.7.4",
|
|
16
15
|
"react": "^18.3.1",
|
|
@@ -53,8 +52,8 @@
|
|
|
53
52
|
"css-minimizer-webpack-plugin": "^3.2.0",
|
|
54
53
|
"dotenv": "^10.0.0",
|
|
55
54
|
"dotenv-expand": "^5.1.0",
|
|
56
|
-
"dtable-store": "6.0.
|
|
57
|
-
"dtable-ui-component": "^6.0.
|
|
55
|
+
"dtable-store": "6.0.8",
|
|
56
|
+
"dtable-ui-component": "^6.0.98",
|
|
58
57
|
"dtable-utils": "^5.0.23",
|
|
59
58
|
"eslint": "^8.3.0",
|
|
60
59
|
"eslint-config-react-app": "^7.0.1",
|