dtable-statistic 5.0.57 → 5.1.1

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.
@@ -138,6 +138,7 @@ class DesktopDashboard extends _react.Component {
138
138
  return _dtableDbApi.default.sqlQuery(sql);
139
139
  }
140
140
  render() {
141
+ var _window$dtable;
141
142
  const {
142
143
  getValue,
143
144
  isTableReadOnly,
@@ -260,6 +261,7 @@ class DesktopDashboard extends _react.Component {
260
261
  onToggleEditChart: this.onToggleEditChart
261
262
  }), isShowChartAddDialog && /*#__PURE__*/_react.default.createElement(_seaChart.TypesDialog, {
262
263
  type: "",
264
+ lang: (_window$dtable = window.dtable) === null || _window$dtable === void 0 ? void 0 : _window$dtable.lang,
263
265
  onToggle: this.onToggleAddChart,
264
266
  onChange: this.onTypeChange
265
267
  }), this.state.isShowColorThemeDialog && /*#__PURE__*/_react.default.createElement(_colorThemeDialog.default, {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dtable-statistic",
3
- "version": "5.0.57",
3
+ "version": "5.1.1",
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.103"
21
+ "sea-chart": "1.1.0"
22
22
  },
23
23
  "peerDependencies": {
24
24
  "dtable-ui-component": "~5.1.*",