sea-chart 0.0.84-alpha.2 → 0.0.84-alpha.3

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.
@@ -104,17 +104,6 @@ class GroupBy extends Component {
104
104
  } else if (type === CHART_TYPE.SCATTER) {
105
105
  newColumns = newColumns.filter(column => NUMBERIC_COLUMN_TYPE.includes(column.value.type));
106
106
  }
107
- if ((chart === null || chart === void 0 ? void 0 : chart.config.type) === CHART_TYPE.TABLE) {
108
- newColumns.unshift({
109
- value: {
110
- key: '',
111
- type: 'text'
112
- },
113
- label: /*#__PURE__*/React.createElement("span", {
114
- className: 'select-module select-module-name ml-0'
115
- }, intl.get('Not_used'))
116
- });
117
- }
118
107
  return newColumns;
119
108
  };
120
109
  this.renderSelector = () => {
@@ -1,8 +1,7 @@
1
1
  import _ButtonFormatter from "dtable-ui-component/lib/ButtonFormatter";
2
2
  import _RateFormatter from "dtable-ui-component/lib/RateFormatter";
3
3
  import React from 'react';
4
- import { CellType, FORMULA_RESULT_TYPE, getNumberDisplayString, getDateDisplayString, getCellValueStringResult, isNumber, isDateColumn } from 'dtable-utils';
5
- import { LinksUtils } from 'dtable-store';
4
+ import { CellType, FORMULA_RESULT_TYPE, getNumberDisplayString, getDateDisplayString, getCellValueStringResult, isNumber, isDateColumn, isValidLink } from 'dtable-utils';
6
5
  import dayjs from 'dayjs';
7
6
  import cellFormatterFactory from '../components/cell-factory/cell-formatter-factory';
8
7
  import SimpleCellFormatter from '../components/cell-factory/SimpleCellFormatter';
@@ -200,7 +199,7 @@ export const getFormattedCell = function (column, row) {
200
199
  const {
201
200
  data
202
201
  } = column;
203
- if (!LinksUtils.isValidLink(data)) break;
202
+ if (!isValidLink(data)) break;
204
203
 
205
204
  // is default view: row data can get from formula row
206
205
  // is archive view: row data can get form rowdata
@@ -30,9 +30,7 @@
30
30
  text-overflow: ellipsis;
31
31
  white-space: nowrap;
32
32
  text-align: center;
33
- min-height: 32px;
34
- max-height: 52px;
35
- height: 52px;
33
+ height: 32px;
36
34
  }
37
35
 
38
36
  .sea-chart-pivot-table .column-title,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sea-chart",
3
- "version": "0.0.84-alpha.2",
3
+ "version": "0.0.84-alpha.3",
4
4
  "main": "./dist/index.js",
5
5
  "dependencies": {
6
6
  "@antv/data-set": "0.11.8",
@@ -8,7 +8,6 @@
8
8
  "@seafile/seafile-calendar": "^0.0.24",
9
9
  "classnames": "^2.3.2",
10
10
  "dayjs": "1.10.7",
11
- "dtable-store": "^4.3.18",
12
11
  "is-hotkey": "0.2.0",
13
12
  "lodash-es": "^4.17.21",
14
13
  "rc-slider": "^10.5.0",
@@ -100,6 +99,7 @@
100
99
  "css-minimizer-webpack-plugin": "5.0.1",
101
100
  "dotenv": "6.2.0",
102
101
  "dotenv-expand": "5.1.0",
102
+ "dtable-store": "~4.3.18",
103
103
  "ejs": "3.1.8",
104
104
  "eslint": "^6.8.0",
105
105
  "eslint-config-react-app": "^5.0.2",