sea-chart 1.1.85 → 1.1.87-alpha.1

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.
@@ -669,6 +669,7 @@ BaseUtils.formatPieChartData = (data, chart, tables, currentTheme, useColumnColo
669
669
  // format SINGLE_SELECT, LAST_MODIFIER, CREATOR, COLLABORATOR, DATE, NUMBER
670
670
  BaseUtils.updateTableViewListItemNameAndColor = async (result, column, nameKey, colorKey, isScatterChart, isNameField) => {
671
671
  return new Promise((resolve, reject) => {
672
+ let resultPromise = Promise.resolve();
672
673
  let {
673
674
  type: columnType,
674
675
  data: columnData
@@ -759,9 +760,10 @@ BaseUtils.updateTableViewListItemNameAndColor = async (result, column, nameKey,
759
760
  type: array_type,
760
761
  data: array_data
761
762
  };
762
- return _BaseUtils.updateTableViewListItemNameAndColor(result, linkedColumn, nameKey, colorKey, isScatterChart);
763
+ // for linked formula, need to call recursively, using it's result as the result of the promise
764
+ resultPromise = _BaseUtils.updateTableViewListItemNameAndColor(result, linkedColumn, nameKey, colorKey, isScatterChart);
763
765
  }
764
- resolve();
766
+ resolve(resultPromise);
765
767
  });
766
768
  };
767
769
  BaseUtils.updateTableViewList = async (result, column, nameKey, colorKey, isScatterChart, isNameField) => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sea-chart",
3
- "version": "1.1.85",
3
+ "version": "1.1.87-alpha.1",
4
4
  "main": "./dist/index.js",
5
5
  "dependencies": {
6
6
  "@antv/data-set": "0.11.8",
@@ -11,19 +11,15 @@
11
11
  "@dnd-kit/utilities": "^3.2.2",
12
12
  "@seafile/seafile-calendar": "^0.0.24",
13
13
  "@seafile/seafile-editor": "^2.0.3",
14
+ "axios": "~1.8.*",
14
15
  "classnames": "^2.3.2",
15
16
  "dayjs": "1.10.7",
16
17
  "is-hotkey": "0.2.0",
17
18
  "lodash-es": "^4.17.21",
18
19
  "rc-slider": "^10.5.0",
19
- "react-color": "^2.19.3",
20
20
  "react-i18next": "^14.1.2",
21
- "react-select": "5.9.0",
22
- "react-sweet-progress": "^1.1.2",
23
21
  "reactstrap": "9.2.3",
24
- "shallowequal": "^1.1.0",
25
- "svg-sprite-loader": "^6.0.11",
26
- "svgo-loader": "^3.0.0"
22
+ "shallowequal": "^1.1.0"
27
23
  },
28
24
  "peerDependencies": {
29
25
  "@antv/scale": "0.3.14",
@@ -87,7 +83,6 @@
87
83
  "@types/jest": "29.0.0",
88
84
  "@typescript-eslint/eslint-plugin": "^2.2.0",
89
85
  "@typescript-eslint/parser": "^2.2.0",
90
- "axios": "^1.6.0",
91
86
  "babel-eslint": "10.0.3",
92
87
  "babel-jest": "26.6.3",
93
88
  "babel-loader": "8.0.6",
@@ -140,16 +135,16 @@
140
135
  "raf": "3.4.0",
141
136
  "react": "^18.3.1",
142
137
  "react-app-polyfill": "^1.0.4",
143
- "react-color": "2.19.3",
144
138
  "react-cookies": "0.1.1",
145
139
  "react-dev-utils": "^12.0.1",
146
140
  "react-dom": "^18.3.1",
147
- "react-mentions": "4.4.7",
148
141
  "regenerator-runtime": "^0.14.1",
149
142
  "release-it": "16.2.1",
150
143
  "resolve": "1.12.0",
151
144
  "resolve-url-loader": "5.0.0",
152
145
  "rimraf": "^5.0.7",
146
+ "svg-sprite-loader": "^6.0.11",
147
+ "svgo-loader": "^3.0.0",
153
148
  "sass-loader": "13.3.2",
154
149
  "style-loader": "^1.0.1",
155
150
  "terser-webpack-plugin": "4.2.3",