sea-chart 1.1.46 → 1.1.48

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.
@@ -50,7 +50,7 @@ class BarCustom extends ChartComponent {
50
50
  this.organizeData = data => {
51
51
  const dataMap = {};
52
52
  // values is not 0
53
- data.filter(item => item.value).forEach(item => {
53
+ data.forEach(item => {
54
54
  // name
55
55
  if (!dataMap[item.name]) {
56
56
  item.isFirst = 1;
@@ -1,10 +1,8 @@
1
1
  import React, { Component } from 'react';
2
2
  import { CellType } from 'dtable-utils';
3
- // import { resizeColumn } from '../../../../../../seatable-app-universal/src/data-search/utils/column-metrics';
4
3
  import { resizeColumn } from '../../../../utils/row-utils';
5
4
  import RecordsHeader from './records-header';
6
5
  import RecordsBody from './records-body';
7
- // import RecordsFooter from './records-footer';
8
6
  import { DATASET_NOT_SUPPORT_COLUMN_TYPES, getCellRecordWidth } from './dataset-utils';
9
7
  import VerticalScrollbar from './vertical-scrollbar';
10
8
  class Records extends Component {
@@ -92,8 +90,10 @@ class Records extends Component {
92
90
  className: "table-element-container",
93
91
  ref: ref => this.resultContainerRef = ref
94
92
  }, /*#__PURE__*/React.createElement("div", {
93
+ id: "sea-chart-table-element-result-container",
95
94
  className: "table-element-result-container"
96
95
  }, /*#__PURE__*/React.createElement("div", {
96
+ id: "sea-chart-table-element-result-content",
97
97
  className: "table-element-result-content",
98
98
  style: {
99
99
  width: totalWidth
@@ -1,10 +1,10 @@
1
1
  .vertical-scrollbar {
2
- width: 20px;
2
+ width: 15px;
3
3
  overflow: auto;
4
4
  position: absolute;
5
5
  top: 33px;
6
- right: 0;
7
- height: calc(100% - 33px);
6
+ right: 5px;
7
+ height: calc(100% - 33px - 6px);
8
8
  }
9
9
 
10
10
  .vertical-scrollbar-inner {
@@ -15,10 +15,6 @@
15
15
  overflow: auto;
16
16
  }
17
17
 
18
- .table-element-result-table-content::-webkit-scrollbar {
19
- width: 0;
20
- }
21
-
22
18
  .table-element-container {
23
19
  overflow: hidden;
24
20
  height: 100%;
@@ -100,6 +96,11 @@
100
96
  flex: 1 1;
101
97
  position: relative;
102
98
  color: #212259;
99
+ scrollbar-width: none;
100
+ }
101
+
102
+ .table-element-result-table-content::-webkit-scrollbar {
103
+ width: 0;
103
104
  }
104
105
 
105
106
  .table-element-result-table-content .table-element-result-loading {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sea-chart",
3
- "version": "1.1.46",
3
+ "version": "1.1.48",
4
4
  "main": "./dist/index.js",
5
5
  "dependencies": {
6
6
  "@antv/data-set": "0.11.8",