dtable-statistic 4.4.24-alpha.7 → 4.4.24-alpha.9

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