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.
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,
|
package/es/desktop-dashboard.js
CHANGED
|
@@ -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:
|
|
159
|
-
getTableFormulaResults:
|
|
159
|
+
getViewRows: window.dtableSDK.getViewRows,
|
|
160
|
+
getTableFormulaResults: window.dtableSDK.getTableFormulaResults,
|
|
160
161
|
queryUsers: window.app.queryUsers || (() => {})
|
|
161
162
|
};
|
|
162
163
|
}
|
package/es/stat-view/index.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "dtable-statistic",
|
|
3
|
-
"version": "4.4.24-alpha.
|
|
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-
|
|
21
|
+
"sea-chart": "^0.0.42-beta.41"
|
|
22
22
|
},
|
|
23
23
|
"peerDependencies": {
|
|
24
24
|
"dtable-ui-component": "~4.4.*",
|