dtable-statistic 5.0.7 → 5.0.8-alpha.0

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.
@@ -160,8 +160,8 @@
160
160
  }
161
161
 
162
162
  .statistic-list .statistic-chart-preview-container .sea-chart-formatter-tip {
163
- width: 95%;
164
- height: 95%;
163
+ width: calc(100% - 30px);
164
+ height: calc(100% - 20px);
165
165
  margin: 0 auto;
166
166
  }
167
167
 
@@ -169,7 +169,13 @@
169
169
  table-layout: fixed;
170
170
  }
171
171
 
172
- .statistic-list .statistic-chart-preview-container .sea-chart-pivot-table td,.sea-chart-pivot-table th {
172
+ .statistic-list .statistic-chart-preview-container .sea-chart-pivot-table td {
173
+ padding: 5px;
174
+ min-width: 32px;
175
+ width: auto
176
+ }
177
+
178
+ .statistic-list .statistic-chart-preview-container .sea-chart-pivot-table th {
173
179
  padding: 5px;
174
180
  min-width: 32px;
175
181
  width: auto
@@ -80,6 +80,7 @@ class ChartEditDialog extends _react.Component {
80
80
  chart: chart,
81
81
  config: window.dtable,
82
82
  api: api,
83
+ dtableStoreValue: this.value,
83
84
  tables: this.value.tables,
84
85
  collaborators: this.value.collaborators,
85
86
  dataSources: "view",
@@ -53,6 +53,7 @@ class StatView extends _react.default.Component {
53
53
  chart: statItem,
54
54
  api: api,
55
55
  config: window.dtable,
56
+ dtableStoreValue: value,
56
57
  tables: value.tables,
57
58
  collaborators: value.collaborators,
58
59
  hideTitle: true,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dtable-statistic",
3
- "version": "5.0.7",
3
+ "version": "5.0.8-alpha.0",
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.53"
21
+ "sea-chart": "0.0.54-alpha.5"
22
22
  },
23
23
  "peerDependencies": {
24
24
  "dtable-ui-component": "~5.0.*",