@easyv/charts 1.5.28 → 1.5.29

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.
@@ -286,8 +286,9 @@ var Component = /*#__PURE__*/(0, _react.memo)(function (_ref5) {
286
286
  _ref5$config$chart$le2 = _ref5$config$chart$le.formatter,
287
287
  formatter = _ref5$config$chart$le2 === void 0 ? _formatter.pieLegendFormatter : _ref5$config$chart$le2,
288
288
  legend = (0, _objectWithoutProperties2["default"])(_ref5$config$chart$le, _excluded3),
289
- _ref5$config$chart$an = _ref5$config$chart.animation,
290
- ringDuration = _ref5$config$chart$an.ringDuration,
289
+ _ref5$config$chart$an = _ref5$config$chart.animation;
290
+ _ref5$config$chart$an = _ref5$config$chart$an === void 0 ? {} : _ref5$config$chart$an;
291
+ var ringDuration = _ref5$config$chart$an.ringDuration,
291
292
  labelDuration = _ref5$config$chart$an.labelDuration,
292
293
  _ref5$config$chart$ma = _ref5$config$chart.margin,
293
294
  marginLeft = _ref5$config$chart$ma.marginLeft,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@easyv/charts",
3
- "version": "1.5.28",
3
+ "version": "1.5.29",
4
4
  "description": "",
5
5
  "main": "lib/index.js",
6
6
  "scripts": {
@@ -254,7 +254,7 @@ const Component = memo(
254
254
  },
255
255
  label,
256
256
  legend: { formatter = legendFormatter, ...legend },
257
- animation: { ringDuration, labelDuration },
257
+ animation: { ringDuration, labelDuration } = {},
258
258
  margin: { marginLeft, marginTop },
259
259
  },
260
260
  fan: {