@easyv/config 1.1.34 → 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: '饼图属性',
package/lib/pieTooltip.js CHANGED
@@ -76,75 +76,75 @@ var _default = function _default() {
76
76
  var _ref = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : defaultTooltip,
77
77
  _ref$manual = _ref.manual,
78
78
  manual = _ref$manual === void 0 ? defaultTooltip.manual : _ref$manual,
79
- _ref$tip = _ref.tip,
80
- _ref$tip2 = _ref$tip === void 0 ? defaultTooltip.tip : _ref$tip,
81
- _ref$tip2$translate = _ref$tip2.translate,
82
- _ref$tip2$translate2 = _ref$tip2$translate === void 0 ? defaultTooltip.tip.translate : _ref$tip2$translate,
83
- _ref$tip2$translate2$ = _ref$tip2$translate2.x,
84
- tipTranslateX = _ref$tip2$translate2$ === void 0 ? defaultTooltip.tip.translate.x : _ref$tip2$translate2$,
85
- _ref$tip2$translate2$2 = _ref$tip2$translate2.y,
86
- tipTranslateY = _ref$tip2$translate2$2 === void 0 ? defaultTooltip.tip.translate.y : _ref$tip2$translate2$2,
87
- _ref$tip2$image = _ref$tip2.image,
88
- image = _ref$tip2$image === void 0 ? defaultTooltip.tip.image : _ref$tip2$image,
89
- _ref$tip2$size = _ref$tip2.size,
90
- _ref$tip2$size2 = _ref$tip2$size === void 0 ? defaultTooltip.tip.size : _ref$tip2$size,
91
- _ref$tip2$size2$width = _ref$tip2$size2.width,
92
- tipWidth = _ref$tip2$size2$width === void 0 ? defaultTooltip.tip.size.width : _ref$tip2$size2$width,
93
- _ref$tip2$size2$heigh = _ref$tip2$size2.height,
94
- tipHeight = _ref$tip2$size2$heigh === void 0 ? defaultTooltip.tip.size.height : _ref$tip2$size2$heigh,
95
- _ref$tip2$margin = _ref$tip2.margin,
96
- _ref$tip2$margin2 = _ref$tip2$margin === void 0 ? defaultTooltip.tip.margin : _ref$tip2$margin,
97
- _ref$tip2$margin2$mar = _ref$tip2$margin2.marginTop,
98
- marginTop = _ref$tip2$margin2$mar === void 0 ? defaultTooltip.tip.margin.marginTop : _ref$tip2$margin2$mar,
99
- _ref$tip2$margin2$mar2 = _ref$tip2$margin2.marginBottom,
100
- marginBottom = _ref$tip2$margin2$mar2 === void 0 ? defaultTooltip.tip.margin.marginBottom : _ref$tip2$margin2$mar2,
101
- _ref$tip2$margin2$mar3 = _ref$tip2$margin2.marginLeft,
102
- marginLeft = _ref$tip2$margin2$mar3 === void 0 ? defaultTooltip.tip.margin.marginLeft : _ref$tip2$margin2$mar3,
103
- _ref$tip2$margin2$mar4 = _ref$tip2$margin2.marginRight,
104
- marginRight = _ref$tip2$margin2$mar4 === void 0 ? defaultTooltip.tip.margin.marginRight : _ref$tip2$margin2$mar4,
105
- _ref$tip2$data = _ref$tip2.data,
106
- _ref$tip2$data$lineHe = _ref$tip2$data.lineHeight,
107
- lineHeight = _ref$tip2$data$lineHe === void 0 ? defaultTooltip.tip.data.lineHeight : _ref$tip2$data$lineHe,
108
- _ref$tip2$data$iconSi = _ref$tip2$data.iconSize,
109
- iconSize = _ref$tip2$data$iconSi === void 0 ? defaultTooltip.tip.data.iconSize : _ref$tip2$data$iconSi,
110
- _ref$tip2$data$num = _ref$tip2$data.num,
111
- num = _ref$tip2$data$num === void 0 ? defaultTooltip.tip.data.num : _ref$tip2$data$num,
112
- _ref$tip2$data$name = _ref$tip2$data.name,
113
- _ref$tip2$data$name2 = _ref$tip2$data$name === void 0 ? defaultTooltip.tip.data.name : _ref$tip2$data$name,
114
- nameFontFamily = _ref$tip2$data$name2.fontFamily,
115
- nameFontSize = _ref$tip2$data$name2.fontSize,
116
- nameColor = _ref$tip2$data$name2.color,
117
- nameBold = _ref$tip2$data$name2.bold,
118
- nameItalic = _ref$tip2$data$name2.italic,
119
- nameLetterSpacing = _ref$tip2$data$name2.letterSpacing,
120
- _ref$tip2$data$value = _ref$tip2$data.value,
121
- _ref$tip2$data$value2 = _ref$tip2$data$value === void 0 ? defaultTooltip.tip.data.value : _ref$tip2$data$value,
122
- _ref$tip2$data$value3 = _ref$tip2$data$value2.font,
123
- valueFontFamily = _ref$tip2$data$value3.fontFamily,
124
- valueFontSize = _ref$tip2$data$value3.fontSize,
125
- valueFontColor = _ref$tip2$data$value3.color,
126
- valueFontBold = _ref$tip2$data$value3.bold,
127
- valueFontItalic = _ref$tip2$data$value3.italic,
128
- valueFontLetterSpacing = _ref$tip2$data$value3.letterSpacing,
129
- _ref$tip2$data$percen = _ref$tip2$data.percentage,
130
- _ref$tip2$data$percen2 = _ref$tip2$data$percen === void 0 ? defaultTooltip.tip.data.percentage : _ref$tip2$data$percen,
131
- _ref$tip2$data$percen3 = _ref$tip2$data$percen2.font,
132
- percentageFontFamily = _ref$tip2$data$percen3.fontFamily,
133
- percentageFontSize = _ref$tip2$data$percen3.fontSize,
134
- percentageFontColor = _ref$tip2$data$percen3.color,
135
- percentageFontBold = _ref$tip2$data$percen3.bold,
136
- percentageFontItalic = _ref$tip2$data$percen3.italic,
137
- percentageFontLetterSpacing = _ref$tip2$data$percen3.letterSpacing,
138
- _ref$tip2$data$suffix = _ref$tip2$data.suffix,
139
- _ref$tip2$data$suffix2 = _ref$tip2$data$suffix === void 0 ? defaultTooltip.tip.data.suffix : _ref$tip2$data$suffix,
140
- _ref$tip2$data$suffix3 = _ref$tip2$data$suffix2.font,
141
- _ref$tip2$data$suffix4 = _ref$tip2$data$suffix3 === void 0 ? defaultTooltip.tip.data.suffix.font : _ref$tip2$data$suffix3,
142
- suffixFontFamily = _ref$tip2$data$suffix4.fontFamily,
143
- suffixFontSize = _ref$tip2$data$suffix4.fontSize,
144
- suffixColor = _ref$tip2$data$suffix4.color,
145
- suffixBold = _ref$tip2$data$suffix4.bold,
146
- suffixItalic = _ref$tip2$data$suffix4.italic,
147
- suffixLetterSpacing = _ref$tip2$data$suffix4.letterSpacing;
79
+ _ref$tip = _ref.tip;
80
+ _ref$tip = _ref$tip === void 0 ? defaultTooltip.tip : _ref$tip;
81
+ var _ref$tip$translate = _ref$tip.translate;
82
+ _ref$tip$translate = _ref$tip$translate === void 0 ? defaultTooltip.tip.translate : _ref$tip$translate;
83
+ var _ref$tip$translate$x = _ref$tip$translate.x,
84
+ tipTranslateX = _ref$tip$translate$x === void 0 ? defaultTooltip.tip.translate.x : _ref$tip$translate$x,
85
+ _ref$tip$translate$y = _ref$tip$translate.y,
86
+ tipTranslateY = _ref$tip$translate$y === void 0 ? defaultTooltip.tip.translate.y : _ref$tip$translate$y,
87
+ _ref$tip$image = _ref$tip.image,
88
+ image = _ref$tip$image === void 0 ? defaultTooltip.tip.image : _ref$tip$image,
89
+ _ref$tip$size = _ref$tip.size;
90
+ _ref$tip$size = _ref$tip$size === void 0 ? defaultTooltip.tip.size : _ref$tip$size;
91
+ var _ref$tip$size$width = _ref$tip$size.width,
92
+ tipWidth = _ref$tip$size$width === void 0 ? defaultTooltip.tip.size.width : _ref$tip$size$width,
93
+ _ref$tip$size$height = _ref$tip$size.height,
94
+ tipHeight = _ref$tip$size$height === void 0 ? defaultTooltip.tip.size.height : _ref$tip$size$height,
95
+ _ref$tip$margin = _ref$tip.margin;
96
+ _ref$tip$margin = _ref$tip$margin === void 0 ? defaultTooltip.tip.margin : _ref$tip$margin;
97
+ var _ref$tip$margin$margi = _ref$tip$margin.marginTop,
98
+ marginTop = _ref$tip$margin$margi === void 0 ? defaultTooltip.tip.margin.marginTop : _ref$tip$margin$margi,
99
+ _ref$tip$margin$margi2 = _ref$tip$margin.marginBottom,
100
+ marginBottom = _ref$tip$margin$margi2 === void 0 ? defaultTooltip.tip.margin.marginBottom : _ref$tip$margin$margi2,
101
+ _ref$tip$margin$margi3 = _ref$tip$margin.marginLeft,
102
+ marginLeft = _ref$tip$margin$margi3 === void 0 ? defaultTooltip.tip.margin.marginLeft : _ref$tip$margin$margi3,
103
+ _ref$tip$margin$margi4 = _ref$tip$margin.marginRight,
104
+ marginRight = _ref$tip$margin$margi4 === void 0 ? defaultTooltip.tip.margin.marginRight : _ref$tip$margin$margi4,
105
+ _ref$tip$data = _ref$tip.data,
106
+ _ref$tip$data$lineHei = _ref$tip$data.lineHeight,
107
+ lineHeight = _ref$tip$data$lineHei === void 0 ? defaultTooltip.tip.data.lineHeight : _ref$tip$data$lineHei,
108
+ _ref$tip$data$iconSiz = _ref$tip$data.iconSize,
109
+ iconSize = _ref$tip$data$iconSiz === void 0 ? defaultTooltip.tip.data.iconSize : _ref$tip$data$iconSiz,
110
+ _ref$tip$data$num = _ref$tip$data.num,
111
+ num = _ref$tip$data$num === void 0 ? defaultTooltip.tip.data.num : _ref$tip$data$num,
112
+ _ref$tip$data$name = _ref$tip$data.name;
113
+ _ref$tip$data$name = _ref$tip$data$name === void 0 ? defaultTooltip.tip.data.name : _ref$tip$data$name;
114
+ var nameFontFamily = _ref$tip$data$name.fontFamily,
115
+ nameFontSize = _ref$tip$data$name.fontSize,
116
+ nameColor = _ref$tip$data$name.color,
117
+ nameBold = _ref$tip$data$name.bold,
118
+ nameItalic = _ref$tip$data$name.italic,
119
+ nameLetterSpacing = _ref$tip$data$name.letterSpacing,
120
+ _ref$tip$data$value = _ref$tip$data.value;
121
+ _ref$tip$data$value = _ref$tip$data$value === void 0 ? defaultTooltip.tip.data.value : _ref$tip$data$value;
122
+ var _ref$tip$data$value$f = _ref$tip$data$value.font,
123
+ valueFontFamily = _ref$tip$data$value$f.fontFamily,
124
+ valueFontSize = _ref$tip$data$value$f.fontSize,
125
+ valueFontColor = _ref$tip$data$value$f.color,
126
+ valueFontBold = _ref$tip$data$value$f.bold,
127
+ valueFontItalic = _ref$tip$data$value$f.italic,
128
+ valueFontLetterSpacing = _ref$tip$data$value$f.letterSpacing,
129
+ _ref$tip$data$percent = _ref$tip$data.percentage;
130
+ _ref$tip$data$percent = _ref$tip$data$percent === void 0 ? defaultTooltip.tip.data.percentage : _ref$tip$data$percent;
131
+ var _ref$tip$data$percent2 = _ref$tip$data$percent.font,
132
+ percentageFontFamily = _ref$tip$data$percent2.fontFamily,
133
+ percentageFontSize = _ref$tip$data$percent2.fontSize,
134
+ percentageFontColor = _ref$tip$data$percent2.color,
135
+ percentageFontBold = _ref$tip$data$percent2.bold,
136
+ percentageFontItalic = _ref$tip$data$percent2.italic,
137
+ percentageFontLetterSpacing = _ref$tip$data$percent2.letterSpacing,
138
+ _ref$tip$data$suffix = _ref$tip$data.suffix;
139
+ _ref$tip$data$suffix = _ref$tip$data$suffix === void 0 ? defaultTooltip.tip.data.suffix : _ref$tip$data$suffix;
140
+ var _ref$tip$data$suffix$ = _ref$tip$data$suffix.font;
141
+ _ref$tip$data$suffix$ = _ref$tip$data$suffix$ === void 0 ? defaultTooltip.tip.data.suffix.font : _ref$tip$data$suffix$;
142
+ var suffixFontFamily = _ref$tip$data$suffix$.fontFamily,
143
+ suffixFontSize = _ref$tip$data$suffix$.fontSize,
144
+ suffixColor = _ref$tip$data$suffix$.color,
145
+ suffixBold = _ref$tip$data$suffix$.bold,
146
+ suffixItalic = _ref$tip$data$suffix$.italic,
147
+ suffixLetterSpacing = _ref$tip$data$suffix$.letterSpacing;
148
148
  return {
149
149
  name: "tooltip",
150
150
  displayName: "提示框",
@@ -265,6 +265,15 @@ var _default = function _default() {
265
265
  displayName: "显示",
266
266
  value: true,
267
267
  type: "boolean"
268
+ }, {
269
+ name: 'precision',
270
+ displayName: '小数位数',
271
+ value: 0,
272
+ type: 'input',
273
+ config: {
274
+ min: 0,
275
+ step: 1
276
+ }
268
277
  }, {
269
278
  name: "fontStyle",
270
279
  displayName: "文本样式",