@zgfe/modules-interval 1.0.23-zhongyuan.19 → 1.0.23-zhongyuan.20

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.
@@ -65,7 +65,7 @@ export declare function formTableData(originalData: ChartData): {
65
65
  names: string[];
66
66
  originalNames: string[];
67
67
  }[];
68
- }[] | undefined;
68
+ }[];
69
69
  type ChartData = {
70
70
  appData: {
71
71
  series?: {
@@ -232,7 +232,8 @@ export function formTableData(originalData) {
232
232
  function createNewArray(data) {
233
233
  var _series$, _series$$total;
234
234
  var _data$appData = data === null || data === void 0 ? void 0 : data.appData,
235
- series = _data$appData.series;
235
+ _data$appData$series = _data$appData.series,
236
+ series = _data$appData$series === void 0 ? [] : _data$appData$series;
236
237
  if (series && (series === null || series === void 0 ? void 0 : (_series$ = series[0]) === null || _series$ === void 0 ? void 0 : (_series$$total = _series$.total) === null || _series$$total === void 0 ? void 0 : _series$$total.length) === 0) {
237
238
  return getChildrenData(data, 0);
238
239
  } else {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zgfe/modules-interval",
3
- "version": "1.0.23-zhongyuan.19",
3
+ "version": "1.0.23-zhongyuan.20",
4
4
  "private": false,
5
5
  "module": "dist/esm/index.js",
6
6
  "typings": "dist/esm/index.d.ts",
@@ -59,7 +59,7 @@
59
59
  "publishConfig": {
60
60
  "access": "public"
61
61
  },
62
- "gitHead": "e5f4be23f01ac6789e2150451410bc0fe7239f4b",
62
+ "gitHead": "89128080db9fbac26cbff23dbe2188780f3d7e33",
63
63
  "gitHooks": {
64
64
  "pre-commit": "lint-staged"
65
65
  }