dtable-statistic 4.4.24-alpha.11 → 4.4.24-alpha.2

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.
@@ -85,7 +85,6 @@ class ChartEditDialog extends _react.Component {
85
85
  dataSources: "view",
86
86
  theme: theme,
87
87
  chartColorTheme: colorThemeName,
88
- integrator: "statistic",
89
88
  onChange: this.onSettingChange
90
89
  })))));
91
90
  }
package/es/dashboard.js CHANGED
@@ -453,8 +453,6 @@ class DashBoard extends _react.Component {
453
453
  labelColorConfigs: this.labelColorConfigs,
454
454
  eventBus: eventBus,
455
455
  onCloseDashboard: this.props.onCloseStatistic,
456
- getViewRows: this.props.getViewRows,
457
- getTableFormulaResults: this.props.getTableFormulaResults,
458
456
  selectDashboard: this.selectDashboard,
459
457
  addDashboard: this.addDashboard,
460
458
  renameDashboard: this.renameDashboard,
@@ -473,8 +471,6 @@ class DashBoard extends _react.Component {
473
471
  getActiveTable: this.getActiveTable,
474
472
  getActiveView: this.getActiveView,
475
473
  onCloseDashboard: this.props.onCloseStatistic,
476
- getViewRows: this.props.getViewRows,
477
- getTableFormulaResults: this.props.getTableFormulaResults,
478
474
  selectDashboard: this.selectDashboard,
479
475
  modifyColorTheme: this.modifyColorTheme,
480
476
  addDashboard: this.addDashboard,
@@ -37,6 +37,7 @@ class DesktopDashboard extends _react.Component {
37
37
  });
38
38
  };
39
39
  this.onToggleAddChart = () => {
40
+ console.log('onToggleAddChart');
40
41
  this.setState({
41
42
  isShowChartAddDialog: !this.state.isShowChartAddDialog
42
43
  });
@@ -155,8 +156,8 @@ class DesktopDashboard extends _react.Component {
155
156
  };
156
157
  this.api = {
157
158
  sqlQuery: this.sqlQuery,
158
- getViewRows: this.props.getViewRows,
159
- getTableFormulaResults: this.props.getTableFormulaResults,
159
+ getViewRows: window.dtableSDK.getViewRows,
160
+ getTableFormulaResults: window.dtableSDK.getTableFormulaResults,
160
161
  queryUsers: window.app.queryUsers || (() => {})
161
162
  };
162
163
  }
@@ -58,7 +58,6 @@ class StatView extends _react.default.Component {
58
58
  hideTitle: true,
59
59
  globalTheme: theme,
60
60
  chartColorTheme: colorThemeName,
61
- integrator: "statistic",
62
61
  onViewRef: this.getViewRef
63
62
  }));
64
63
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dtable-statistic",
3
- "version": "4.4.24-alpha.11",
3
+ "version": "4.4.24-alpha.2",
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.42-alpha.7"
21
+ "sea-chart": "^0.0.42-beta.41"
22
22
  },
23
23
  "peerDependencies": {
24
24
  "dtable-ui-component": "~4.4.*",