@easyv/config 1.1.33 → 1.1.35

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.
package/lib/pie.js CHANGED
@@ -20,16 +20,16 @@ var defaultBasePie = {
20
20
  };
21
21
  var basePie = function basePie() {
22
22
  var _ref = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : defaultBasePie,
23
- _ref$chart = _ref.chart,
24
- _ref$chart2 = _ref$chart === void 0 ? defaultBasePie.chart : _ref$chart,
25
- _ref$chart2$innerRadi = _ref$chart2.innerRadius,
26
- innerRadius = _ref$chart2$innerRadi === void 0 ? defaultBasePie.chart.innerRadius : _ref$chart2$innerRadi,
27
- _ref$chart2$outerRadi = _ref$chart2.outerRadius,
28
- outerRadius = _ref$chart2$outerRadi === void 0 ? defaultBasePie.chart.outerRadius : _ref$chart2$outerRadi,
29
- _ref$chart2$cornerRad = _ref$chart2.cornerRadius,
30
- cornerRadius = _ref$chart2$cornerRad === void 0 ? defaultBasePie.chart.cornerRadius : _ref$chart2$cornerRad,
31
- _ref$chart2$padAngle = _ref$chart2.padAngle,
32
- padAngle = _ref$chart2$padAngle === void 0 ? defaultBasePie.chart.padAngle : _ref$chart2$padAngle;
23
+ _ref$chart = _ref.chart;
24
+ _ref$chart = _ref$chart === void 0 ? defaultBasePie.chart : _ref$chart;
25
+ var _ref$chart$innerRadiu = _ref$chart.innerRadius,
26
+ innerRadius = _ref$chart$innerRadiu === void 0 ? defaultBasePie.chart.innerRadius : _ref$chart$innerRadiu,
27
+ _ref$chart$outerRadiu = _ref$chart.outerRadius,
28
+ outerRadius = _ref$chart$outerRadiu === void 0 ? defaultBasePie.chart.outerRadius : _ref$chart$outerRadiu,
29
+ _ref$chart$cornerRadi = _ref$chart.cornerRadius,
30
+ cornerRadius = _ref$chart$cornerRadi === void 0 ? defaultBasePie.chart.cornerRadius : _ref$chart$cornerRadi,
31
+ _ref$chart$padAngle = _ref$chart.padAngle,
32
+ padAngle = _ref$chart$padAngle === void 0 ? defaultBasePie.chart.padAngle : _ref$chart$padAngle;
33
33
  return {
34
34
  name: 'chart',
35
35
  displayName: '图形',
@@ -87,14 +87,14 @@ var defaultBaseRose = {
87
87
  };
88
88
  var baseRose = function baseRose() {
89
89
  var _ref2 = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : defaultBaseRose,
90
- _ref2$chart = _ref2.chart,
91
- _ref2$chart2 = _ref2$chart === void 0 ? defaultBaseRose.chart : _ref2$chart,
92
- _ref2$chart2$innerRad = _ref2$chart2.innerRadius,
93
- innerRadius = _ref2$chart2$innerRad === void 0 ? defaultBaseRose.chart.innerRadius : _ref2$chart2$innerRad,
94
- _ref2$chart2$outerRad = _ref2$chart2.outerRadius,
95
- outerRadius = _ref2$chart2$outerRad === void 0 ? defaultBaseRose.chart.outerRadius : _ref2$chart2$outerRad,
96
- _ref2$chart2$padAngle = _ref2$chart2.padAngle,
97
- padAngle = _ref2$chart2$padAngle === void 0 ? defaultBaseRose.chart.padAngle : _ref2$chart2$padAngle;
90
+ _ref2$chart = _ref2.chart;
91
+ _ref2$chart = _ref2$chart === void 0 ? defaultBaseRose.chart : _ref2$chart;
92
+ var _ref2$chart$innerRadi = _ref2$chart.innerRadius,
93
+ innerRadius = _ref2$chart$innerRadi === void 0 ? defaultBaseRose.chart.innerRadius : _ref2$chart$innerRadi,
94
+ _ref2$chart$outerRadi = _ref2$chart.outerRadius,
95
+ outerRadius = _ref2$chart$outerRadi === void 0 ? defaultBaseRose.chart.outerRadius : _ref2$chart$outerRadi,
96
+ _ref2$chart$padAngle = _ref2$chart.padAngle,
97
+ padAngle = _ref2$chart$padAngle === void 0 ? defaultBaseRose.chart.padAngle : _ref2$chart$padAngle;
98
98
  return {
99
99
  name: 'chart',
100
100
  displayName: '饼图',
@@ -193,16 +193,16 @@ var defaultRoseAxis = {
193
193
  };
194
194
  var roseCategoryAxis = function roseCategoryAxis() {
195
195
  var _ref4 = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : defaultRoseAxis,
196
- _ref4$axis = _ref4.axis,
197
- _ref4$axis2 = _ref4$axis === void 0 ? defaultRoseAxis.axis : _ref4$axis,
198
- _ref4$axis2$textStyle = _ref4$axis2.textStyle,
199
- textStyle = _ref4$axis2$textStyle === void 0 ? defaultRoseAxis.axis.textStyle : _ref4$axis2$textStyle,
200
- _ref4$axis2$gap = _ref4$axis2.gap,
201
- gap = _ref4$axis2$gap === void 0 ? defaultRoseAxis.axis.gap : _ref4$axis2$gap,
202
- _ref4$axis2$axisLine = _ref4$axis2.axisLine,
203
- axisLine_ = _ref4$axis2$axisLine === void 0 ? defaultRoseAxis.axis.axisline : _ref4$axis2$axisLine,
204
- _ref4$axis2$gridLine = _ref4$axis2.gridLine,
205
- gridLine_ = _ref4$axis2$gridLine === void 0 ? defaultRoseAxis.axis.gridLine : _ref4$axis2$gridLine;
196
+ _ref4$axis = _ref4.axis;
197
+ _ref4$axis = _ref4$axis === void 0 ? defaultRoseAxis.axis : _ref4$axis;
198
+ var _ref4$axis$textStyle = _ref4$axis.textStyle,
199
+ textStyle = _ref4$axis$textStyle === void 0 ? defaultRoseAxis.axis.textStyle : _ref4$axis$textStyle,
200
+ _ref4$axis$gap = _ref4$axis.gap,
201
+ gap = _ref4$axis$gap === void 0 ? defaultRoseAxis.axis.gap : _ref4$axis$gap,
202
+ _ref4$axis$axisLine = _ref4$axis.axisLine,
203
+ axisLine_ = _ref4$axis$axisLine === void 0 ? defaultRoseAxis.axis.axisline : _ref4$axis$axisLine,
204
+ _ref4$axis$gridLine = _ref4$axis.gridLine,
205
+ gridLine_ = _ref4$axis$gridLine === void 0 ? defaultRoseAxis.axis.gridLine : _ref4$axis$gridLine;
206
206
  return {
207
207
  name: 'categoryAxis',
208
208
  displayName: '类目轴',
@@ -228,18 +228,18 @@ var roseCategoryAxis = function roseCategoryAxis() {
228
228
  };
229
229
  var roseValueAxis = function roseValueAxis() {
230
230
  var _ref5 = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : defaultRoseAxis,
231
- _ref5$axis = _ref5.axis,
232
- _ref5$axis2 = _ref5$axis === void 0 ? defaultRoseAxis.axis : _ref5$axis,
233
- _ref5$axis2$count = _ref5$axis2.count,
234
- count = _ref5$axis2$count === void 0 ? defaultRoseAxis.axis.count : _ref5$axis2$count,
235
- _ref5$axis2$textStyle = _ref5$axis2.textStyle,
236
- textStyle = _ref5$axis2$textStyle === void 0 ? defaultRoseAxis.axis.textStyle : _ref5$axis2$textStyle,
237
- _ref5$axis2$gap = _ref5$axis2.gap,
238
- gap = _ref5$axis2$gap === void 0 ? defaultRoseAxis.axis.gap : _ref5$axis2$gap,
239
- _ref5$axis2$axisLine = _ref5$axis2.axisLine,
240
- axisLine_ = _ref5$axis2$axisLine === void 0 ? defaultRoseAxis.axis.axisline : _ref5$axis2$axisLine,
241
- _ref5$axis2$gridLine = _ref5$axis2.gridLine,
242
- gridLine_ = _ref5$axis2$gridLine === void 0 ? defaultRoseAxis.axis.gridLine : _ref5$axis2$gridLine;
231
+ _ref5$axis = _ref5.axis;
232
+ _ref5$axis = _ref5$axis === void 0 ? defaultRoseAxis.axis : _ref5$axis;
233
+ var _ref5$axis$count = _ref5$axis.count,
234
+ count = _ref5$axis$count === void 0 ? defaultRoseAxis.axis.count : _ref5$axis$count,
235
+ _ref5$axis$textStyle = _ref5$axis.textStyle,
236
+ textStyle = _ref5$axis$textStyle === void 0 ? defaultRoseAxis.axis.textStyle : _ref5$axis$textStyle,
237
+ _ref5$axis$gap = _ref5$axis.gap,
238
+ gap = _ref5$axis$gap === void 0 ? defaultRoseAxis.axis.gap : _ref5$axis$gap,
239
+ _ref5$axis$axisLine = _ref5$axis.axisLine,
240
+ axisLine_ = _ref5$axis$axisLine === void 0 ? defaultRoseAxis.axis.axisline : _ref5$axis$axisLine,
241
+ _ref5$axis$gridLine = _ref5$axis.gridLine,
242
+ gridLine_ = _ref5$axis$gridLine === void 0 ? defaultRoseAxis.axis.gridLine : _ref5$axis$gridLine;
243
243
  return {
244
244
  name: 'valueAxis',
245
245
  displayName: '数值轴',
@@ -276,14 +276,14 @@ var defaultCategoryText = {
276
276
  }
277
277
  };
278
278
  var categoryText = function categoryText(_ref6) {
279
- var _ref6$categoryText = _ref6.categoryText,
280
- _ref6$categoryText2 = _ref6$categoryText === void 0 ? defaultCategoryText : _ref6$categoryText,
281
- _ref6$categoryText2$s = _ref6$categoryText2.show,
282
- show = _ref6$categoryText2$s === void 0 ? defaultCategoryText.categoryText.show : _ref6$categoryText2$s,
283
- _ref6$categoryText2$f = _ref6$categoryText2.font,
284
- font = _ref6$categoryText2$f === void 0 ? defaultCategoryText.categoryText.font : _ref6$categoryText2$f,
285
- _ref6$categoryText2$g = _ref6$categoryText2.gap,
286
- gap = _ref6$categoryText2$g === void 0 ? defaultCategoryText.categoryText.gap : _ref6$categoryText2$g;
279
+ var _ref6$categoryText = _ref6.categoryText;
280
+ _ref6$categoryText = _ref6$categoryText === void 0 ? defaultCategoryText : _ref6$categoryText;
281
+ var _ref6$categoryText$sh = _ref6$categoryText.show,
282
+ show = _ref6$categoryText$sh === void 0 ? defaultCategoryText.categoryText.show : _ref6$categoryText$sh,
283
+ _ref6$categoryText$fo = _ref6$categoryText.font,
284
+ font = _ref6$categoryText$fo === void 0 ? defaultCategoryText.categoryText.font : _ref6$categoryText$fo,
285
+ _ref6$categoryText$ga = _ref6$categoryText.gap,
286
+ gap = _ref6$categoryText$ga === void 0 ? defaultCategoryText.categoryText.gap : _ref6$categoryText$ga;
287
287
  return {
288
288
  name: 'categoryText',
289
289
  displayName: '类目文本',
@@ -320,20 +320,20 @@ var defaultDecorate = {
320
320
  }
321
321
  };
322
322
  var decorate = function decorate(_ref7) {
323
- var _ref7$decorate = _ref7.decorate,
324
- _ref7$decorate2 = _ref7$decorate === void 0 ? defaultDecorate : _ref7$decorate,
325
- _ref7$decorate2$show = _ref7$decorate2.show,
326
- show = _ref7$decorate2$show === void 0 ? defaultDecorate.decorate.show : _ref7$decorate2$show,
327
- _ref7$decorate2$inner = _ref7$decorate2.innerRadius,
328
- innerRadius = _ref7$decorate2$inner === void 0 ? defaultDecorate.decorate.innerRadius : _ref7$decorate2$inner,
329
- _ref7$decorate2$outer = _ref7$decorate2.outerRadius,
330
- outerRadius = _ref7$decorate2$outer === void 0 ? defaultDecorate.decorate.outerRadius : _ref7$decorate2$outer,
331
- _ref7$decorate2$opaci = _ref7$decorate2.opacity,
332
- opacity = _ref7$decorate2$opaci === void 0 ? defaultDecorate.decorate.opacity : _ref7$decorate2$opaci,
333
- _ref7$decorate2$speed = _ref7$decorate2.speed,
334
- speed = _ref7$decorate2$speed === void 0 ? defaultDecorate.decorate.speed : _ref7$decorate2$speed,
335
- _ref7$decorate2$direc = _ref7$decorate2.direction,
336
- direction = _ref7$decorate2$direc === void 0 ? defaultDecorate.decorate.direction : _ref7$decorate2$direc;
323
+ var _ref7$decorate = _ref7.decorate;
324
+ _ref7$decorate = _ref7$decorate === void 0 ? defaultDecorate : _ref7$decorate;
325
+ var _ref7$decorate$show = _ref7$decorate.show,
326
+ show = _ref7$decorate$show === void 0 ? defaultDecorate.decorate.show : _ref7$decorate$show,
327
+ _ref7$decorate$innerR = _ref7$decorate.innerRadius,
328
+ innerRadius = _ref7$decorate$innerR === void 0 ? defaultDecorate.decorate.innerRadius : _ref7$decorate$innerR,
329
+ _ref7$decorate$outerR = _ref7$decorate.outerRadius,
330
+ outerRadius = _ref7$decorate$outerR === void 0 ? defaultDecorate.decorate.outerRadius : _ref7$decorate$outerR,
331
+ _ref7$decorate$opacit = _ref7$decorate.opacity,
332
+ opacity = _ref7$decorate$opacit === void 0 ? defaultDecorate.decorate.opacity : _ref7$decorate$opacit,
333
+ _ref7$decorate$speed = _ref7$decorate.speed,
334
+ speed = _ref7$decorate$speed === void 0 ? defaultDecorate.decorate.speed : _ref7$decorate$speed,
335
+ _ref7$decorate$direct = _ref7$decorate.direction,
336
+ direction = _ref7$decorate$direct === void 0 ? defaultDecorate.decorate.direction : _ref7$decorate$direct;
337
337
  return {
338
338
  name: 'decorate',
339
339
  displayName: '装饰物',
@@ -492,62 +492,62 @@ var defaultCurrent = {
492
492
  };
493
493
  var current = function current() {
494
494
  var _ref9 = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : defaultCurrent,
495
- _ref9$current = _ref9.current,
496
- _ref9$current2 = _ref9$current === void 0 ? defaultCurrent.current : _ref9$current,
497
- _ref9$current2$show = _ref9$current2.show,
498
- show = _ref9$current2$show === void 0 ? defaultCurrent.current.show : _ref9$current2$show,
499
- _ref9$current2$gap = _ref9$current2.gap,
500
- gap = _ref9$current2$gap === void 0 ? defaultCurrent.current.gap : _ref9$current2$gap,
501
- _ref9$current2$name = _ref9$current2.name,
502
- _ref9$current2$name2 = _ref9$current2$name === void 0 ? defaultCurrent.current.name : _ref9$current2$name,
503
- _ref9$current2$name2$ = _ref9$current2$name2.show,
504
- showName = _ref9$current2$name2$ === void 0 ? defaultCurrent.current.name.show : _ref9$current2$name2$,
505
- _ref9$current2$name2$2 = _ref9$current2$name2.sameColor,
506
- nameColor = _ref9$current2$name2$2 === void 0 ? defaultCurrent.current.name.sameColor : _ref9$current2$name2$2,
507
- _ref9$current2$name2$3 = _ref9$current2$name2.font,
508
- nameFont = _ref9$current2$name2$3 === void 0 ? defaultCurrent.current.name.font : _ref9$current2$name2$3,
509
- nameTranslate = _ref9$current2$name2.translate,
510
- _ref9$current2$name2$4 = _ref9$current2$name2.maxWidth,
511
- maxWidth = _ref9$current2$name2$4 === void 0 ? defaultCurrent.current.name.maxWidth : _ref9$current2$name2$4,
512
- overflow = _ref9$current2$name2.overflow,
513
- _ref9$current2$percen = _ref9$current2.percent,
514
- _ref9$current2$percen2 = _ref9$current2$percen === void 0 ? defaultCurrent.current.percent : _ref9$current2$percen,
515
- _ref9$current2$percen3 = _ref9$current2$percen2.show,
516
- showPercent = _ref9$current2$percen3 === void 0 ? defaultCurrent.current.percent.show : _ref9$current2$percen3,
517
- _ref9$current2$percen4 = _ref9$current2$percen2.sameColor,
518
- percentColor = _ref9$current2$percen4 === void 0 ? defaultCurrent.current.percent.sameColor : _ref9$current2$percen4,
519
- _ref9$current2$percen5 = _ref9$current2$percen2.precision,
520
- precision = _ref9$current2$percen5 === void 0 ? defaultCurrent.current.percent.precision : _ref9$current2$percen5,
521
- _ref9$current2$percen6 = _ref9$current2$percen2.font,
522
- percentFont = _ref9$current2$percen6 === void 0 ? defaultCurrent.current.percent.font : _ref9$current2$percen6,
523
- _ref9$current2$percen7 = _ref9$current2$percen2.translate,
524
- _ref9$current2$percen8 = _ref9$current2$percen7 === void 0 ? defaultCurrent.current.percent.translate : _ref9$current2$percen7,
525
- percentTranslateX = _ref9$current2$percen8.x,
526
- percentTranslateY = _ref9$current2$percen8.y,
527
- _ref9$current2$value = _ref9$current2.value,
528
- _ref9$current2$value2 = _ref9$current2$value === void 0 ? defaultCurrent.current.value : _ref9$current2$value,
529
- _ref9$current2$value3 = _ref9$current2$value2.show,
530
- showValue = _ref9$current2$value3 === void 0 ? defaultCurrent.current.value.show : _ref9$current2$value3,
531
- _ref9$current2$value4 = _ref9$current2$value2.sameColor,
532
- valueColor = _ref9$current2$value4 === void 0 ? defaultCurrent.current.value.sameColor : _ref9$current2$value4,
533
- _ref9$current2$value5 = _ref9$current2$value2.font,
534
- valueFont = _ref9$current2$value5 === void 0 ? defaultCurrent.current.value.font : _ref9$current2$value5,
535
- _ref9$current2$value6 = _ref9$current2$value2.translate,
536
- _ref9$current2$value7 = _ref9$current2$value6 === void 0 ? defaultCurrent.current.value.translate : _ref9$current2$value6,
537
- valueTranslateX = _ref9$current2$value7.x,
538
- valueTranslateY = _ref9$current2$value7.y,
539
- _ref9$current2$value8 = _ref9$current2$value2.suffix,
540
- _ref9$current2$value9 = _ref9$current2$value8 === void 0 ? defaultCurrent.current.value.suffix : _ref9$current2$value8,
541
- _ref9$current2$value10 = _ref9$current2$value9.show,
542
- showSuffix = _ref9$current2$value10 === void 0 ? defaultCurrent.current.value.suffix.show : _ref9$current2$value10,
543
- _ref9$current2$value11 = _ref9$current2$value9.text,
544
- text = _ref9$current2$value11 === void 0 ? defaultCurrent.current.value.suffix.text : _ref9$current2$value11,
545
- _ref9$current2$value12 = _ref9$current2$value9.fontSize,
546
- fontSize = _ref9$current2$value12 === void 0 ? defaultCurrent.current.value.suffix.fontSize : _ref9$current2$value12,
547
- _ref9$current2$value13 = _ref9$current2$value9.translate,
548
- _ref9$current2$value14 = _ref9$current2$value13 === void 0 ? defaultCurrent.current.value.suffix.translate : _ref9$current2$value13,
549
- suffixTranslateX = _ref9$current2$value14.x,
550
- suffixTranslateY = _ref9$current2$value14.y;
495
+ _ref9$current = _ref9.current;
496
+ _ref9$current = _ref9$current === void 0 ? defaultCurrent.current : _ref9$current;
497
+ var _ref9$current$show = _ref9$current.show,
498
+ show = _ref9$current$show === void 0 ? defaultCurrent.current.show : _ref9$current$show,
499
+ _ref9$current$gap = _ref9$current.gap,
500
+ gap = _ref9$current$gap === void 0 ? defaultCurrent.current.gap : _ref9$current$gap,
501
+ _ref9$current$name = _ref9$current.name;
502
+ _ref9$current$name = _ref9$current$name === void 0 ? defaultCurrent.current.name : _ref9$current$name;
503
+ var _ref9$current$name$sh = _ref9$current$name.show,
504
+ showName = _ref9$current$name$sh === void 0 ? defaultCurrent.current.name.show : _ref9$current$name$sh,
505
+ _ref9$current$name$sa = _ref9$current$name.sameColor,
506
+ nameColor = _ref9$current$name$sa === void 0 ? defaultCurrent.current.name.sameColor : _ref9$current$name$sa,
507
+ _ref9$current$name$fo = _ref9$current$name.font,
508
+ nameFont = _ref9$current$name$fo === void 0 ? defaultCurrent.current.name.font : _ref9$current$name$fo,
509
+ nameTranslate = _ref9$current$name.translate,
510
+ _ref9$current$name$ma = _ref9$current$name.maxWidth,
511
+ maxWidth = _ref9$current$name$ma === void 0 ? defaultCurrent.current.name.maxWidth : _ref9$current$name$ma,
512
+ overflow = _ref9$current$name.overflow,
513
+ _ref9$current$percent = _ref9$current.percent;
514
+ _ref9$current$percent = _ref9$current$percent === void 0 ? defaultCurrent.current.percent : _ref9$current$percent;
515
+ var _ref9$current$percent2 = _ref9$current$percent.show,
516
+ showPercent = _ref9$current$percent2 === void 0 ? defaultCurrent.current.percent.show : _ref9$current$percent2,
517
+ _ref9$current$percent3 = _ref9$current$percent.sameColor,
518
+ percentColor = _ref9$current$percent3 === void 0 ? defaultCurrent.current.percent.sameColor : _ref9$current$percent3,
519
+ _ref9$current$percent4 = _ref9$current$percent.precision,
520
+ precision = _ref9$current$percent4 === void 0 ? defaultCurrent.current.percent.precision : _ref9$current$percent4,
521
+ _ref9$current$percent5 = _ref9$current$percent.font,
522
+ percentFont = _ref9$current$percent5 === void 0 ? defaultCurrent.current.percent.font : _ref9$current$percent5,
523
+ _ref9$current$percent6 = _ref9$current$percent.translate;
524
+ _ref9$current$percent6 = _ref9$current$percent6 === void 0 ? defaultCurrent.current.percent.translate : _ref9$current$percent6;
525
+ var percentTranslateX = _ref9$current$percent6.x,
526
+ percentTranslateY = _ref9$current$percent6.y,
527
+ _ref9$current$value = _ref9$current.value;
528
+ _ref9$current$value = _ref9$current$value === void 0 ? defaultCurrent.current.value : _ref9$current$value;
529
+ var _ref9$current$value$s = _ref9$current$value.show,
530
+ showValue = _ref9$current$value$s === void 0 ? defaultCurrent.current.value.show : _ref9$current$value$s,
531
+ _ref9$current$value$s2 = _ref9$current$value.sameColor,
532
+ valueColor = _ref9$current$value$s2 === void 0 ? defaultCurrent.current.value.sameColor : _ref9$current$value$s2,
533
+ _ref9$current$value$f = _ref9$current$value.font,
534
+ valueFont = _ref9$current$value$f === void 0 ? defaultCurrent.current.value.font : _ref9$current$value$f,
535
+ _ref9$current$value$t = _ref9$current$value.translate;
536
+ _ref9$current$value$t = _ref9$current$value$t === void 0 ? defaultCurrent.current.value.translate : _ref9$current$value$t;
537
+ var valueTranslateX = _ref9$current$value$t.x,
538
+ valueTranslateY = _ref9$current$value$t.y,
539
+ _ref9$current$value$s3 = _ref9$current$value.suffix;
540
+ _ref9$current$value$s3 = _ref9$current$value$s3 === void 0 ? defaultCurrent.current.value.suffix : _ref9$current$value$s3;
541
+ var _ref9$current$value$s4 = _ref9$current$value$s3.show,
542
+ showSuffix = _ref9$current$value$s4 === void 0 ? defaultCurrent.current.value.suffix.show : _ref9$current$value$s4,
543
+ _ref9$current$value$s5 = _ref9$current$value$s3.text,
544
+ text = _ref9$current$value$s5 === void 0 ? defaultCurrent.current.value.suffix.text : _ref9$current$value$s5,
545
+ _ref9$current$value$s6 = _ref9$current$value$s3.fontSize,
546
+ fontSize = _ref9$current$value$s6 === void 0 ? defaultCurrent.current.value.suffix.fontSize : _ref9$current$value$s6,
547
+ _ref9$current$value$s7 = _ref9$current$value$s3.translate;
548
+ _ref9$current$value$s7 = _ref9$current$value$s7 === void 0 ? defaultCurrent.current.value.suffix.translate : _ref9$current$value$s7;
549
+ var suffixTranslateX = _ref9$current$value$s7.x,
550
+ suffixTranslateY = _ref9$current$value$s7.y;
551
551
  return {
552
552
  name: 'current',
553
553
  displayName: '当前值',
@@ -674,14 +674,14 @@ var defaultBaseOuter = {
674
674
  };
675
675
  var baseOuter = function baseOuter() {
676
676
  var _ref10 = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : defaultBaseOuter,
677
- _ref10$chart = _ref10.chart,
678
- _ref10$chart2 = _ref10$chart === void 0 ? defaultBasePie.chart : _ref10$chart,
679
- _ref10$chart2$innerRa = _ref10$chart2.innerRadius,
680
- innerRadius = _ref10$chart2$innerRa === void 0 ? defaultBasePie.chart.innerRadius : _ref10$chart2$innerRa,
681
- _ref10$chart2$outerRa = _ref10$chart2.outerRadius,
682
- outerRadius = _ref10$chart2$outerRa === void 0 ? defaultBasePie.chart.outerRadius : _ref10$chart2$outerRa,
683
- _ref10$chart2$padAngl = _ref10$chart2.padAngle,
684
- padAngle = _ref10$chart2$padAngl === void 0 ? defaultBasePie.chart.padAngle : _ref10$chart2$padAngl;
677
+ _ref10$chart = _ref10.chart;
678
+ _ref10$chart = _ref10$chart === void 0 ? defaultBasePie.chart : _ref10$chart;
679
+ var _ref10$chart$innerRad = _ref10$chart.innerRadius,
680
+ innerRadius = _ref10$chart$innerRad === void 0 ? defaultBasePie.chart.innerRadius : _ref10$chart$innerRad,
681
+ _ref10$chart$outerRad = _ref10$chart.outerRadius,
682
+ outerRadius = _ref10$chart$outerRad === void 0 ? defaultBasePie.chart.outerRadius : _ref10$chart$outerRad,
683
+ _ref10$chart$padAngle = _ref10$chart.padAngle,
684
+ padAngle = _ref10$chart$padAngle === void 0 ? defaultBasePie.chart.padAngle : _ref10$chart$padAngle;
685
685
  return {
686
686
  name: 'chart',
687
687
  displayName: '图形',
@@ -737,24 +737,24 @@ var defaultOuterDecorate = {
737
737
  };
738
738
  var outerDecorate = function outerDecorate() {
739
739
  var _ref11 = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : defaultOuterDecorate,
740
- _ref11$outerDecorate = _ref11.outerDecorate,
741
- _ref11$outerDecorate2 = _ref11$outerDecorate === void 0 ? defaultOuterDecorate.outerDecorate : _ref11$outerDecorate,
742
- _ref11$outerDecorate3 = _ref11$outerDecorate2.color,
743
- color = _ref11$outerDecorate3 === void 0 ? defaultOuterDecorate.outerDecorate.color : _ref11$outerDecorate3,
744
- _ref11$outerDecorate4 = _ref11$outerDecorate2.width,
745
- width = _ref11$outerDecorate4 === void 0 ? defaultOuterDecorate.outerDecorate.width : _ref11$outerDecorate4,
746
- _ref11$outerDecorate5 = _ref11$outerDecorate2.tick,
747
- _ref11$outerDecorate6 = _ref11$outerDecorate5 === void 0 ? defaultOuterDecorate.outerDecorate.tick : _ref11$outerDecorate5,
748
- _ref11$outerDecorate7 = _ref11$outerDecorate6.show,
749
- show = _ref11$outerDecorate7 === void 0 ? defaultOuterDecorate.outerDecorate.tick.show : _ref11$outerDecorate7,
750
- _ref11$outerDecorate8 = _ref11$outerDecorate6.count,
751
- count = _ref11$outerDecorate8 === void 0 ? defaultOuterDecorate.outerDecorate.tick.count : _ref11$outerDecorate8,
752
- _ref11$outerDecorate9 = _ref11$outerDecorate6.color,
753
- tickColor = _ref11$outerDecorate9 === void 0 ? defaultOuterDecorate.outerDecorate.tick.color : _ref11$outerDecorate9,
754
- _ref11$outerDecorate10 = _ref11$outerDecorate6.width,
755
- tickWidth = _ref11$outerDecorate10 === void 0 ? defaultOuterDecorate.outerDecorate.tick.width : _ref11$outerDecorate10,
756
- _ref11$outerDecorate11 = _ref11$outerDecorate6.length,
757
- length = _ref11$outerDecorate11 === void 0 ? defaultOuterDecorate.outerDecorate.tick.length : _ref11$outerDecorate11;
740
+ _ref11$outerDecorate = _ref11.outerDecorate;
741
+ _ref11$outerDecorate = _ref11$outerDecorate === void 0 ? defaultOuterDecorate.outerDecorate : _ref11$outerDecorate;
742
+ var _ref11$outerDecorate$ = _ref11$outerDecorate.color,
743
+ color = _ref11$outerDecorate$ === void 0 ? defaultOuterDecorate.outerDecorate.color : _ref11$outerDecorate$,
744
+ _ref11$outerDecorate$2 = _ref11$outerDecorate.width,
745
+ width = _ref11$outerDecorate$2 === void 0 ? defaultOuterDecorate.outerDecorate.width : _ref11$outerDecorate$2,
746
+ _ref11$outerDecorate$3 = _ref11$outerDecorate.tick;
747
+ _ref11$outerDecorate$3 = _ref11$outerDecorate$3 === void 0 ? defaultOuterDecorate.outerDecorate.tick : _ref11$outerDecorate$3;
748
+ var _ref11$outerDecorate$4 = _ref11$outerDecorate$3.show,
749
+ show = _ref11$outerDecorate$4 === void 0 ? defaultOuterDecorate.outerDecorate.tick.show : _ref11$outerDecorate$4,
750
+ _ref11$outerDecorate$5 = _ref11$outerDecorate$3.count,
751
+ count = _ref11$outerDecorate$5 === void 0 ? defaultOuterDecorate.outerDecorate.tick.count : _ref11$outerDecorate$5,
752
+ _ref11$outerDecorate$6 = _ref11$outerDecorate$3.color,
753
+ tickColor = _ref11$outerDecorate$6 === void 0 ? defaultOuterDecorate.outerDecorate.tick.color : _ref11$outerDecorate$6,
754
+ _ref11$outerDecorate$7 = _ref11$outerDecorate$3.width,
755
+ tickWidth = _ref11$outerDecorate$7 === void 0 ? defaultOuterDecorate.outerDecorate.tick.width : _ref11$outerDecorate$7,
756
+ _ref11$outerDecorate$8 = _ref11$outerDecorate$3.length,
757
+ length = _ref11$outerDecorate$8 === void 0 ? defaultOuterDecorate.outerDecorate.tick.length : _ref11$outerDecorate$8;
758
758
  return {
759
759
  name: 'outerDecorate',
760
760
  displayName: '外环装饰',
@@ -915,32 +915,32 @@ var defaultPie = {
915
915
  };
916
916
  var _default = function _default() {
917
917
  var _ref15 = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : defaultPie,
918
- _ref15$fan = _ref15.fan,
919
- _ref15$fan2 = _ref15$fan === void 0 ? defaultPie.fan : _ref15$fan,
920
- _ref15$fan2$chart = _ref15$fan2.chart,
921
- _ref15$fan2$chart2 = _ref15$fan2$chart === void 0 ? defaultPie.fan.chart : _ref15$fan2$chart,
922
- _ref15$fan2$chart2$ou = _ref15$fan2$chart2.outerRadius,
923
- outerRadius = _ref15$fan2$chart2$ou === void 0 ? defaultPie.fan.chart.outerRadius : _ref15$fan2$chart2$ou,
924
- _ref15$fan2$chart2$ro = _ref15$fan2$chart2.rose,
925
- rose = _ref15$fan2$chart2$ro === void 0 ? defaultPie.fan.chart.rose : _ref15$fan2$chart2$ro,
926
- _ref15$fan2$chart2$ba = _ref15$fan2$chart2.baseRadius,
927
- baseRadius = _ref15$fan2$chart2$ba === void 0 ? defaultPie.fan.chart.baseRadius : _ref15$fan2$chart2$ba,
928
- _ref15$fan2$angle = _ref15$fan2.angle,
929
- _ref15$fan2$angle2 = _ref15$fan2$angle === void 0 ? defaultPie.fan.angle : _ref15$fan2$angle,
930
- _ref15$fan2$angle2$st = _ref15$fan2$angle2.startAngle,
931
- startAngle = _ref15$fan2$angle2$st === void 0 ? defaultPie.fan.angle.startAngle : _ref15$fan2$angle2$st,
932
- _ref15$fan2$angle2$en = _ref15$fan2$angle2.endAngle,
933
- endAngle = _ref15$fan2$angle2$en === void 0 ? defaultPie.fan.angle.endAngle : _ref15$fan2$angle2$en,
934
- _ref15$fan2$angle2$an = _ref15$fan2$angle2.antiClockwise,
935
- antiClockwise = _ref15$fan2$angle2$an === void 0 ? defaultPie.fan.angle.antiClockwise : _ref15$fan2$angle2$an,
936
- _ref15$fan2$stroke = _ref15$fan2.stroke,
937
- _ref15$fan2$stroke2 = _ref15$fan2$stroke === void 0 ? defaultPie.fan.stroke : _ref15$fan2$stroke,
938
- _ref15$fan2$stroke2$s = _ref15$fan2$stroke2.show,
939
- show = _ref15$fan2$stroke2$s === void 0 ? defaultPie.fan.stroke.show : _ref15$fan2$stroke2$s,
940
- _ref15$fan2$stroke2$s2 = _ref15$fan2$stroke2.strokeWidth,
941
- strokeWidth = _ref15$fan2$stroke2$s2 === void 0 ? defaultPie.fan.stroke.strokeWidth : _ref15$fan2$stroke2$s2,
942
- _ref15$fan2$stroke2$c = _ref15$fan2$stroke2.color,
943
- color = _ref15$fan2$stroke2$c === void 0 ? defaultPie.fan.stroke.color : _ref15$fan2$stroke2$c;
918
+ _ref15$fan = _ref15.fan;
919
+ _ref15$fan = _ref15$fan === void 0 ? defaultPie.fan : _ref15$fan;
920
+ var _ref15$fan$chart = _ref15$fan.chart;
921
+ _ref15$fan$chart = _ref15$fan$chart === void 0 ? defaultPie.fan.chart : _ref15$fan$chart;
922
+ var _ref15$fan$chart$oute = _ref15$fan$chart.outerRadius,
923
+ outerRadius = _ref15$fan$chart$oute === void 0 ? defaultPie.fan.chart.outerRadius : _ref15$fan$chart$oute,
924
+ _ref15$fan$chart$rose = _ref15$fan$chart.rose,
925
+ rose = _ref15$fan$chart$rose === void 0 ? defaultPie.fan.chart.rose : _ref15$fan$chart$rose,
926
+ _ref15$fan$chart$base = _ref15$fan$chart.baseRadius,
927
+ baseRadius = _ref15$fan$chart$base === void 0 ? defaultPie.fan.chart.baseRadius : _ref15$fan$chart$base,
928
+ _ref15$fan$angle = _ref15$fan.angle;
929
+ _ref15$fan$angle = _ref15$fan$angle === void 0 ? defaultPie.fan.angle : _ref15$fan$angle;
930
+ var _ref15$fan$angle$star = _ref15$fan$angle.startAngle,
931
+ startAngle = _ref15$fan$angle$star === void 0 ? defaultPie.fan.angle.startAngle : _ref15$fan$angle$star,
932
+ _ref15$fan$angle$endA = _ref15$fan$angle.endAngle,
933
+ endAngle = _ref15$fan$angle$endA === void 0 ? defaultPie.fan.angle.endAngle : _ref15$fan$angle$endA,
934
+ _ref15$fan$angle$anti = _ref15$fan$angle.antiClockwise,
935
+ antiClockwise = _ref15$fan$angle$anti === void 0 ? defaultPie.fan.angle.antiClockwise : _ref15$fan$angle$anti,
936
+ _ref15$fan$stroke = _ref15$fan.stroke;
937
+ _ref15$fan$stroke = _ref15$fan$stroke === void 0 ? defaultPie.fan.stroke : _ref15$fan$stroke;
938
+ var _ref15$fan$stroke$sho = _ref15$fan$stroke.show,
939
+ show = _ref15$fan$stroke$sho === void 0 ? defaultPie.fan.stroke.show : _ref15$fan$stroke$sho,
940
+ _ref15$fan$stroke$str = _ref15$fan$stroke.strokeWidth,
941
+ strokeWidth = _ref15$fan$stroke$str === void 0 ? defaultPie.fan.stroke.strokeWidth : _ref15$fan$stroke$str,
942
+ _ref15$fan$stroke$col = _ref15$fan$stroke.color,
943
+ color = _ref15$fan$stroke$col === void 0 ? defaultPie.fan.stroke.color : _ref15$fan$stroke$col;
944
944
  return {
945
945
  name: 'fan',
946
946
  displayName: '饼图属性',