@easyv/config
Advanced tools
Comparing version 1.1.30 to 1.1.31
@@ -107,8 +107,8 @@ "use strict"; | ||
show = _ref3$show === void 0 ? defaultAnimationOfPie.show : _ref3$show, | ||
_ref3$current = _ref3.current; | ||
_ref3$current = _ref3$current === void 0 ? defaultAnimationOfPie.current : _ref3$current; | ||
var _ref3$current$heighte = _ref3$current.heighten, | ||
heighten = _ref3$current$heighte === void 0 ? defaultAnimationOfPie.current.heighten : _ref3$current$heighte, | ||
_ref3$current$opacity = _ref3$current.opacity, | ||
opacity = _ref3$current$opacity === void 0 ? defaultAnimationOfPie.current.opacity : _ref3$current$opacity, | ||
_ref3$current = _ref3.current, | ||
_ref3$current2 = _ref3$current === void 0 ? defaultAnimationOfPie.current : _ref3$current, | ||
_ref3$current2$height = _ref3$current2.heighten, | ||
heighten = _ref3$current2$height === void 0 ? defaultAnimationOfPie.current.heighten : _ref3$current2$height, | ||
_ref3$current2$opacit = _ref3$current2.opacity, | ||
opacity = _ref3$current2$opacit === void 0 ? defaultAnimationOfPie.current.opacity : _ref3$current2$opacit, | ||
_ref3$interval = _ref3.interval, | ||
@@ -205,12 +205,12 @@ interval = _ref3$interval === void 0 ? defaultAnimationOfPie.interval : _ref3$interval, | ||
show = _ref4$show === void 0 ? defaultAnimationOfCarousel.show : _ref4$show, | ||
_ref4$current = _ref4.current; | ||
_ref4$current = _ref4$current === void 0 ? defaultAnimationOfCarousel.current : _ref4$current; | ||
var _ref4$current$width = _ref4$current.width, | ||
width = _ref4$current$width === void 0 ? defaultAnimationOfCarousel.current.width : _ref4$current$width, | ||
_ref4$current$color = _ref4$current.color, | ||
color = _ref4$current$color === void 0 ? defaultAnimationOfCarousel.current.color : _ref4$current$color, | ||
_ref4$current$textSty = _ref4$current.textStyle, | ||
textStyle = _ref4$current$textSty === void 0 ? defaultAnimationOfCarousel.current.font : _ref4$current$textSty, | ||
_ref4$current$gap = _ref4$current.gap, | ||
gap = _ref4$current$gap === void 0 ? defaultAnimationOfCarousel.current.gap : _ref4$current$gap, | ||
_ref4$current = _ref4.current, | ||
_ref4$current2 = _ref4$current === void 0 ? defaultAnimationOfCarousel.current : _ref4$current, | ||
_ref4$current2$width = _ref4$current2.width, | ||
width = _ref4$current2$width === void 0 ? defaultAnimationOfCarousel.current.width : _ref4$current2$width, | ||
_ref4$current2$color = _ref4$current2.color, | ||
color = _ref4$current2$color === void 0 ? defaultAnimationOfCarousel.current.color : _ref4$current2$color, | ||
_ref4$current2$textSt = _ref4$current2.textStyle, | ||
textStyle = _ref4$current2$textSt === void 0 ? defaultAnimationOfCarousel.current.font : _ref4$current2$textSt, | ||
_ref4$current2$gap = _ref4$current2.gap, | ||
gap = _ref4$current2$gap === void 0 ? defaultAnimationOfCarousel.current.gap : _ref4$current2$gap, | ||
_ref4$interval = _ref4.interval, | ||
@@ -217,0 +217,0 @@ interval = _ref4$interval === void 0 ? defaultAnimationOfCarousel.interval : _ref4$interval, |
@@ -11,3 +11,3 @@ "use strict"; | ||
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; } | ||
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { (0, _defineProperty2["default"])(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; } | ||
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { (0, _defineProperty2["default"])(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; } //@ts-check | ||
var defaultBaseLine = { | ||
@@ -54,45 +54,45 @@ line: { | ||
var _ref = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : defaultBaseLine, | ||
_ref$line = _ref.line; | ||
_ref$line = _ref$line === void 0 ? defaultBaseLine.line : _ref$line; | ||
var _ref$line$yOrZ = _ref$line.yOrZ, | ||
yOrZ = _ref$line$yOrZ === void 0 ? defaultBaseLine.line.yOrZ : _ref$line$yOrZ, | ||
_ref$line$margin = _ref$line.margin; | ||
_ref$line$margin = _ref$line$margin === void 0 ? defaultBaseLine.line.margin : _ref$line$margin; | ||
var _ref$line$margin$marg = _ref$line$margin.marginLeft, | ||
marginLeft = _ref$line$margin$marg === void 0 ? defaultBaseLine.line.margin.marginLeft : _ref$line$margin$marg, | ||
_ref$line$margin$marg2 = _ref$line$margin.marginRight, | ||
marginRight = _ref$line$margin$marg2 === void 0 ? defaultBaseLine.line.margin.marginRight : _ref$line$margin$marg2, | ||
_ref$line$lineType = _ref$line.lineType, | ||
lineType = _ref$line$lineType === void 0 ? defaultBaseLine.line.lineType : _ref$line$lineType, | ||
_ref$line$color = _ref$line.color, | ||
color = _ref$line$color === void 0 ? defaultBaseLine.line.color : _ref$line$color, | ||
_ref$line$lineWidth = _ref$line.lineWidth, | ||
lineWidth = _ref$line$lineWidth === void 0 ? defaultBaseLine.line.lineWidth : _ref$line$lineWidth, | ||
_ref$line$strokeDasha = _ref$line.strokeDasharray, | ||
strokeDasharray = _ref$line$strokeDasha === void 0 ? defaultBaseLine.line.strokeDasharray : _ref$line$strokeDasha, | ||
_ref$dataStyle = _ref.dataStyle; | ||
_ref$dataStyle = _ref$dataStyle === void 0 ? defaultBaseLine.dataStyle : _ref$dataStyle; | ||
var _ref$dataStyle$label = _ref$dataStyle.label, | ||
_ref$dataStyle$label$ = _ref$dataStyle$label.showLabel, | ||
showLabel = _ref$dataStyle$label$ === void 0 ? defaultBaseLine.dataStyle.label.show : _ref$dataStyle$label$, | ||
_ref$dataStyle$label$2 = _ref$dataStyle$label.text, | ||
text = _ref$dataStyle$label$2 === void 0 ? defaultBaseLine.dataStyle.label.text : _ref$dataStyle$label$2, | ||
_ref$dataStyle$label$3 = _ref$dataStyle$label.textStyle, | ||
textStyle = _ref$dataStyle$label$3 === void 0 ? defaultBaseLine.dataStyle.label.font : _ref$dataStyle$label$3, | ||
_ref$dataStyle$label$4 = _ref$dataStyle$label.translate; | ||
_ref$dataStyle$label$4 = _ref$dataStyle$label$4 === void 0 ? defaultBaseLine.dataStyle.label.translate : _ref$dataStyle$label$4; | ||
var x = _ref$dataStyle$label$4.x, | ||
y = _ref$dataStyle$label$4.y, | ||
_ref$dataStyle$data = _ref$dataStyle.data; | ||
_ref$dataStyle$data = _ref$dataStyle$data === void 0 ? defaultBaseLine.dataStyle.data : _ref$dataStyle$data; | ||
var _ref$dataStyle$data$s = _ref$dataStyle$data.showData, | ||
showData = _ref$dataStyle$data$s === void 0 ? defaultBaseLine.dataStyle.data.show : _ref$dataStyle$data$s, | ||
_ref$dataStyle$data$d = _ref$dataStyle$data.dataStyle, | ||
dataStyle = _ref$dataStyle$data$d === void 0 ? defaultBaseLine.dataStyle.data.dataStyle : _ref$dataStyle$data$d, | ||
_ref$dataStyle$data$d2 = _ref$dataStyle$data.dataTranslate; | ||
_ref$dataStyle$data$d2 = _ref$dataStyle$data$d2 === void 0 ? defaultBaseLine.dataStyle.data.translate : _ref$dataStyle$data$d2; | ||
var _ref$dataStyle$data$d3 = _ref$dataStyle$data$d2.x, | ||
dataTranslateX = _ref$dataStyle$data$d3 === void 0 ? defaultBaseLine.dataStyle.data.translate.x : _ref$dataStyle$data$d3, | ||
_ref$dataStyle$data$d4 = _ref$dataStyle$data$d2.y, | ||
dataTranslateY = _ref$dataStyle$data$d4 === void 0 ? defaultBaseLine.dataStyle.data.translate.y : _ref$dataStyle$data$d4; | ||
_ref$line = _ref.line, | ||
_ref$line2 = _ref$line === void 0 ? defaultBaseLine.line : _ref$line, | ||
_ref$line2$yOrZ = _ref$line2.yOrZ, | ||
yOrZ = _ref$line2$yOrZ === void 0 ? defaultBaseLine.line.yOrZ : _ref$line2$yOrZ, | ||
_ref$line2$margin = _ref$line2.margin, | ||
_ref$line2$margin2 = _ref$line2$margin === void 0 ? defaultBaseLine.line.margin : _ref$line2$margin, | ||
_ref$line2$margin2$ma = _ref$line2$margin2.marginLeft, | ||
marginLeft = _ref$line2$margin2$ma === void 0 ? defaultBaseLine.line.margin.marginLeft : _ref$line2$margin2$ma, | ||
_ref$line2$margin2$ma2 = _ref$line2$margin2.marginRight, | ||
marginRight = _ref$line2$margin2$ma2 === void 0 ? defaultBaseLine.line.margin.marginRight : _ref$line2$margin2$ma2, | ||
_ref$line2$lineType = _ref$line2.lineType, | ||
lineType = _ref$line2$lineType === void 0 ? defaultBaseLine.line.lineType : _ref$line2$lineType, | ||
_ref$line2$color = _ref$line2.color, | ||
color = _ref$line2$color === void 0 ? defaultBaseLine.line.color : _ref$line2$color, | ||
_ref$line2$lineWidth = _ref$line2.lineWidth, | ||
lineWidth = _ref$line2$lineWidth === void 0 ? defaultBaseLine.line.lineWidth : _ref$line2$lineWidth, | ||
_ref$line2$strokeDash = _ref$line2.strokeDasharray, | ||
strokeDasharray = _ref$line2$strokeDash === void 0 ? defaultBaseLine.line.strokeDasharray : _ref$line2$strokeDash, | ||
_ref$dataStyle = _ref.dataStyle, | ||
_ref$dataStyle2 = _ref$dataStyle === void 0 ? defaultBaseLine.dataStyle : _ref$dataStyle, | ||
_ref$dataStyle2$label = _ref$dataStyle2.label, | ||
_ref$dataStyle2$label2 = _ref$dataStyle2$label.showLabel, | ||
showLabel = _ref$dataStyle2$label2 === void 0 ? defaultBaseLine.dataStyle.label.show : _ref$dataStyle2$label2, | ||
_ref$dataStyle2$label3 = _ref$dataStyle2$label.text, | ||
text = _ref$dataStyle2$label3 === void 0 ? defaultBaseLine.dataStyle.label.text : _ref$dataStyle2$label3, | ||
_ref$dataStyle2$label4 = _ref$dataStyle2$label.textStyle, | ||
textStyle = _ref$dataStyle2$label4 === void 0 ? defaultBaseLine.dataStyle.label.font : _ref$dataStyle2$label4, | ||
_ref$dataStyle2$label5 = _ref$dataStyle2$label.translate, | ||
_ref$dataStyle2$label6 = _ref$dataStyle2$label5 === void 0 ? defaultBaseLine.dataStyle.label.translate : _ref$dataStyle2$label5, | ||
x = _ref$dataStyle2$label6.x, | ||
y = _ref$dataStyle2$label6.y, | ||
_ref$dataStyle2$data = _ref$dataStyle2.data, | ||
_ref$dataStyle2$data2 = _ref$dataStyle2$data === void 0 ? defaultBaseLine.dataStyle.data : _ref$dataStyle2$data, | ||
_ref$dataStyle2$data3 = _ref$dataStyle2$data2.showData, | ||
showData = _ref$dataStyle2$data3 === void 0 ? defaultBaseLine.dataStyle.data.show : _ref$dataStyle2$data3, | ||
_ref$dataStyle2$data4 = _ref$dataStyle2$data2.dataStyle, | ||
dataStyle = _ref$dataStyle2$data4 === void 0 ? defaultBaseLine.dataStyle.data.dataStyle : _ref$dataStyle2$data4, | ||
_ref$dataStyle2$data5 = _ref$dataStyle2$data2.dataTranslate, | ||
_ref$dataStyle2$data6 = _ref$dataStyle2$data5 === void 0 ? defaultBaseLine.dataStyle.data.translate : _ref$dataStyle2$data5, | ||
_ref$dataStyle2$data7 = _ref$dataStyle2$data6.x, | ||
dataTranslateX = _ref$dataStyle2$data7 === void 0 ? defaultBaseLine.dataStyle.data.translate.x : _ref$dataStyle2$data7, | ||
_ref$dataStyle2$data8 = _ref$dataStyle2$data6.y, | ||
dataTranslateY = _ref$dataStyle2$data8 === void 0 ? defaultBaseLine.dataStyle.data.translate.y : _ref$dataStyle2$data8; | ||
return [{ | ||
@@ -99,0 +99,0 @@ name: 'line', |
@@ -25,14 +25,14 @@ "use strict"; | ||
background = _ref$background === void 0 ? defaultBrush.background : _ref$background, | ||
_ref$margin = _ref.margin; | ||
_ref$margin = _ref$margin === void 0 ? defaultBrush.margin : _ref$margin; | ||
var _ref$margin$marginLef = _ref$margin.marginLeft, | ||
marginLeft = _ref$margin$marginLef === void 0 ? defaultBrush.margin.marginLeft : _ref$margin$marginLef, | ||
_ref$margin$marginRig = _ref$margin.marginRight, | ||
marginRight = _ref$margin$marginRig === void 0 ? defaultBrush.margin.marginRight : _ref$margin$marginRig, | ||
_ref$detail = _ref.detail; | ||
_ref$detail = _ref$detail === void 0 ? defaultBrush.detail : _ref$detail; | ||
var _ref$detail$width = _ref$detail.width, | ||
width = _ref$detail$width === void 0 ? defaultBrush.detail.width : _ref$detail$width, | ||
_ref$detail$color = _ref$detail.color, | ||
color = _ref$detail$color === void 0 ? defaultBrush.detail.color : _ref$detail$color; | ||
_ref$margin = _ref.margin, | ||
_ref$margin2 = _ref$margin === void 0 ? defaultBrush.margin : _ref$margin, | ||
_ref$margin2$marginLe = _ref$margin2.marginLeft, | ||
marginLeft = _ref$margin2$marginLe === void 0 ? defaultBrush.margin.marginLeft : _ref$margin2$marginLe, | ||
_ref$margin2$marginRi = _ref$margin2.marginRight, | ||
marginRight = _ref$margin2$marginRi === void 0 ? defaultBrush.margin.marginRight : _ref$margin2$marginRi, | ||
_ref$detail = _ref.detail, | ||
_ref$detail2 = _ref$detail === void 0 ? defaultBrush.detail : _ref$detail, | ||
_ref$detail2$width = _ref$detail2.width, | ||
width = _ref$detail2$width === void 0 ? defaultBrush.detail.width : _ref$detail2$width, | ||
_ref$detail2$color = _ref$detail2.color, | ||
color = _ref$detail2$color === void 0 ? defaultBrush.detail.color : _ref$detail2$color; | ||
return { | ||
@@ -39,0 +39,0 @@ name: 'brush', |
@@ -28,14 +28,14 @@ "use strict"; | ||
url = _ref$url === void 0 ? defaultImageGroup.url : _ref$url, | ||
_ref$size = _ref.size; | ||
_ref$size = _ref$size === void 0 ? defaultImageGroup.size : _ref$size; | ||
var _ref$size$width = _ref$size.width, | ||
width = _ref$size$width === void 0 ? defaultImageGroup.size.width : _ref$size$width, | ||
_ref$size$height = _ref$size.height, | ||
height = _ref$size$height === void 0 ? defaultImageGroup.size.height : _ref$size$height, | ||
_ref$translate = _ref.translate; | ||
_ref$translate = _ref$translate === void 0 ? defaultImageGroup.translate : _ref$translate; | ||
var _ref$translate$x = _ref$translate.x, | ||
x = _ref$translate$x === void 0 ? defaultImageGroup.translate.x : _ref$translate$x, | ||
_ref$translate$y = _ref$translate.y, | ||
y = _ref$translate$y === void 0 ? defaultImageGroup.translate.y : _ref$translate$y; | ||
_ref$size = _ref.size, | ||
_ref$size2 = _ref$size === void 0 ? defaultImageGroup.size : _ref$size, | ||
_ref$size2$width = _ref$size2.width, | ||
width = _ref$size2$width === void 0 ? defaultImageGroup.size.width : _ref$size2$width, | ||
_ref$size2$height = _ref$size2.height, | ||
height = _ref$size2$height === void 0 ? defaultImageGroup.size.height : _ref$size2$height, | ||
_ref$translate = _ref.translate, | ||
_ref$translate2 = _ref$translate === void 0 ? defaultImageGroup.translate : _ref$translate, | ||
_ref$translate2$x = _ref$translate2.x, | ||
x = _ref$translate2$x === void 0 ? defaultImageGroup.translate.x : _ref$translate2$x, | ||
_ref$translate2$y = _ref$translate2.y, | ||
y = _ref$translate2$y === void 0 ? defaultImageGroup.translate.y : _ref$translate2$y; | ||
return (0, _.sc)(name, displayName, '', [(0, _.show)(show_), (0, _.sc)("url", "图片", "image", url), (0, _.sc)("size", "尺寸", "group", [(0, _.sc)("width", "宽", "number", width, { | ||
@@ -42,0 +42,0 @@ span: 12, |
@@ -86,2 +86,8 @@ "use strict"; | ||
}); | ||
Object.defineProperty(exports, "control", { | ||
enumerable: true, | ||
get: function get() { | ||
return _control.control; | ||
} | ||
}); | ||
Object.defineProperty(exports, "dataAnimation", { | ||
@@ -335,3 +341,4 @@ enumerable: true, | ||
var _baseLine = _interopRequireDefault(require("./baseLine")); | ||
var _control = require("./control"); | ||
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); } | ||
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { "default": obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj["default"] = obj; if (cache) { cache.set(obj, newObj); } return newObj; } |
291
lib/label.js
@@ -33,21 +33,21 @@ "use strict"; | ||
show = _ref$show === void 0 ? defaultLabel.show : _ref$show, | ||
_ref$font = _ref.font; | ||
_ref$font = _ref$font === void 0 ? defaultLabel.font : _ref$font; | ||
var _ref$font$fontFamily = _ref$font.fontFamily, | ||
fontFamily = _ref$font$fontFamily === void 0 ? defaultLabel.font.fontFamily : _ref$font$fontFamily, | ||
_ref$font$fontSize = _ref$font.fontSize, | ||
fontSize = _ref$font$fontSize === void 0 ? defaultLabel.font.fontSize : _ref$font$fontSize, | ||
_ref$font$color = _ref$font.color, | ||
color = _ref$font$color === void 0 ? defaultLabel.font.color : _ref$font$color, | ||
_ref$font$bold = _ref$font.bold, | ||
bold = _ref$font$bold === void 0 ? defaultLabel.font.bold : _ref$font$bold, | ||
_ref$font$italic = _ref$font.italic, | ||
italic = _ref$font$italic === void 0 ? defaultLabel.font.italic : _ref$font$italic, | ||
_ref$font$letterSpaci = _ref$font.letterSpacing, | ||
letterSpacing = _ref$font$letterSpaci === void 0 ? defaultLabel.font.letterSpacing : _ref$font$letterSpaci, | ||
_ref$font = _ref.font, | ||
_ref$font2 = _ref$font === void 0 ? defaultLabel.font : _ref$font, | ||
_ref$font2$fontFamily = _ref$font2.fontFamily, | ||
fontFamily = _ref$font2$fontFamily === void 0 ? defaultLabel.font.fontFamily : _ref$font2$fontFamily, | ||
_ref$font2$fontSize = _ref$font2.fontSize, | ||
fontSize = _ref$font2$fontSize === void 0 ? defaultLabel.font.fontSize : _ref$font2$fontSize, | ||
_ref$font2$color = _ref$font2.color, | ||
color = _ref$font2$color === void 0 ? defaultLabel.font.color : _ref$font2$color, | ||
_ref$font2$bold = _ref$font2.bold, | ||
bold = _ref$font2$bold === void 0 ? defaultLabel.font.bold : _ref$font2$bold, | ||
_ref$font2$italic = _ref$font2.italic, | ||
italic = _ref$font2$italic === void 0 ? defaultLabel.font.italic : _ref$font2$italic, | ||
_ref$font2$letterSpac = _ref$font2.letterSpacing, | ||
letterSpacing = _ref$font2$letterSpac === void 0 ? defaultLabel.font.letterSpacing : _ref$font2$letterSpac, | ||
position = _ref.position, | ||
_ref$translate = _ref.translate; | ||
_ref$translate = _ref$translate === void 0 ? defaultLabel.translate : _ref$translate; | ||
var x = _ref$translate.x, | ||
y = _ref$translate.y; | ||
_ref$translate = _ref.translate, | ||
_ref$translate2 = _ref$translate === void 0 ? defaultLabel.translate : _ref$translate, | ||
x = _ref$translate2.x, | ||
y = _ref$translate2.y; | ||
return { | ||
@@ -99,6 +99,4 @@ name: "label", | ||
}, _objectSpread({ | ||
_rule: [["show", "$eq", true]] | ||
}, (0, _.translate)(x, y)), (0, _.sc)("suffix", "后缀", "", [(0, _.sc)("content", "内容", "input", ""), (0, _.sc)("font", "字体样式", "textStyle", (0, _.font)()), (0, _.translate)()], { | ||
defaultOpen: true | ||
}, (0, _.showRule)())].filter(function (item) { | ||
_rule: [['show', '$eq', true]] | ||
}, (0, _.translate)(x, y))].filter(function (item) { | ||
return !!item; | ||
@@ -153,43 +151,43 @@ }) | ||
mode = _ref2$mode === void 0 ? defaultLabelOfPie.mode : _ref2$mode, | ||
_ref2$translate = _ref2.translate; | ||
_ref2$translate = _ref2$translate === void 0 ? defaultLabelOfPie.show : _ref2$translate; | ||
var x = _ref2$translate.x, | ||
y = _ref2$translate.y, | ||
_ref2$name = _ref2.name; | ||
_ref2$name = _ref2$name === void 0 ? defaultLabelOfPie.name : _ref2$name; | ||
var _ref2$name$show = _ref2$name.show, | ||
showName = _ref2$name$show === void 0 ? defaultLabelOfPie.name.show : _ref2$name$show, | ||
_ref2$name$font = _ref2$name.font, | ||
nameFont = _ref2$name$font === void 0 ? defaultLabelOfPie.name.font : _ref2$name$font, | ||
_ref2$name$maxWidth = _ref2$name.maxWidth, | ||
maxWidth = _ref2$name$maxWidth === void 0 ? defaultLabelOfPie.name.maxWidth : _ref2$name$maxWidth, | ||
overflow = _ref2$name.overflow, | ||
_ref2$percent = _ref2.percent; | ||
_ref2$percent = _ref2$percent === void 0 ? defaultLabelOfPie.percent : _ref2$percent; | ||
var _ref2$percent$show = _ref2$percent.show, | ||
showPercent = _ref2$percent$show === void 0 ? defaultLabelOfPie.percent.show : _ref2$percent$show, | ||
_ref2$percent$precisi = _ref2$percent.precision, | ||
precision = _ref2$percent$precisi === void 0 ? defaultLabelOfPie.percent.precision : _ref2$percent$precisi, | ||
_ref2$percent$font = _ref2$percent.font, | ||
percentFont = _ref2$percent$font === void 0 ? defaultLabelOfPie.percent.font : _ref2$percent$font, | ||
_ref2$value = _ref2.value; | ||
_ref2$value = _ref2$value === void 0 ? defaultLabelOfPie.value : _ref2$value; | ||
var _ref2$value$show = _ref2$value.show, | ||
showValue = _ref2$value$show === void 0 ? defaultLabelOfPie.value.show : _ref2$value$show, | ||
_ref2$value$suffix = _ref2$value.suffix; | ||
_ref2$value$suffix = _ref2$value$suffix === void 0 ? defaultLabelOfPie.value.suffix : _ref2$value$suffix; | ||
var _ref2$value$suffix$sh = _ref2$value$suffix.show, | ||
showSuffix = _ref2$value$suffix$sh === void 0 ? defaultLabelOfPie.value.suffix.show : _ref2$value$suffix$sh, | ||
_ref2$value$suffix$te = _ref2$value$suffix.text, | ||
suffixText = _ref2$value$suffix$te === void 0 ? defaultLabelOfPie.value.suffix.text : _ref2$value$suffix$te, | ||
_ref2$value$suffix$fo = _ref2$value$suffix.fontSize, | ||
suffixFontSize = _ref2$value$suffix$fo === void 0 ? defaultLabelOfPie.value.suffix.fontSize : _ref2$value$suffix$fo, | ||
_ref2$value$suffix$tr = _ref2$value$suffix.translate; | ||
_ref2$value$suffix$tr = _ref2$value$suffix$tr === void 0 ? defaultLabelOfPie.value.suffix.translate : _ref2$value$suffix$tr; | ||
var _ref2$value$suffix$tr2 = _ref2$value$suffix$tr.x, | ||
suffixTranslateX = _ref2$value$suffix$tr2 === void 0 ? defaultLabelOfPie.value.suffix.translate.x : _ref2$value$suffix$tr2, | ||
_ref2$value$suffix$tr3 = _ref2$value$suffix$tr.y, | ||
suffixTranslateY = _ref2$value$suffix$tr3 === void 0 ? defaultLabelOfPie.value.suffix.translate.y : _ref2$value$suffix$tr3, | ||
_ref2$value$font = _ref2$value.font, | ||
valueFont = _ref2$value$font === void 0 ? defaultLabelOfPie.value.font : _ref2$value$font; | ||
_ref2$translate = _ref2.translate, | ||
_ref2$translate2 = _ref2$translate === void 0 ? defaultLabelOfPie.show : _ref2$translate, | ||
x = _ref2$translate2.x, | ||
y = _ref2$translate2.y, | ||
_ref2$name = _ref2.name, | ||
_ref2$name2 = _ref2$name === void 0 ? defaultLabelOfPie.name : _ref2$name, | ||
_ref2$name2$show = _ref2$name2.show, | ||
showName = _ref2$name2$show === void 0 ? defaultLabelOfPie.name.show : _ref2$name2$show, | ||
_ref2$name2$font = _ref2$name2.font, | ||
nameFont = _ref2$name2$font === void 0 ? defaultLabelOfPie.name.font : _ref2$name2$font, | ||
_ref2$name2$maxWidth = _ref2$name2.maxWidth, | ||
maxWidth = _ref2$name2$maxWidth === void 0 ? defaultLabelOfPie.name.maxWidth : _ref2$name2$maxWidth, | ||
overflow = _ref2$name2.overflow, | ||
_ref2$percent = _ref2.percent, | ||
_ref2$percent2 = _ref2$percent === void 0 ? defaultLabelOfPie.percent : _ref2$percent, | ||
_ref2$percent2$show = _ref2$percent2.show, | ||
showPercent = _ref2$percent2$show === void 0 ? defaultLabelOfPie.percent.show : _ref2$percent2$show, | ||
_ref2$percent2$precis = _ref2$percent2.precision, | ||
precision = _ref2$percent2$precis === void 0 ? defaultLabelOfPie.percent.precision : _ref2$percent2$precis, | ||
_ref2$percent2$font = _ref2$percent2.font, | ||
percentFont = _ref2$percent2$font === void 0 ? defaultLabelOfPie.percent.font : _ref2$percent2$font, | ||
_ref2$value = _ref2.value, | ||
_ref2$value2 = _ref2$value === void 0 ? defaultLabelOfPie.value : _ref2$value, | ||
_ref2$value2$show = _ref2$value2.show, | ||
showValue = _ref2$value2$show === void 0 ? defaultLabelOfPie.value.show : _ref2$value2$show, | ||
_ref2$value2$suffix = _ref2$value2.suffix, | ||
_ref2$value2$suffix2 = _ref2$value2$suffix === void 0 ? defaultLabelOfPie.value.suffix : _ref2$value2$suffix, | ||
_ref2$value2$suffix2$ = _ref2$value2$suffix2.show, | ||
showSuffix = _ref2$value2$suffix2$ === void 0 ? defaultLabelOfPie.value.suffix.show : _ref2$value2$suffix2$, | ||
_ref2$value2$suffix2$2 = _ref2$value2$suffix2.text, | ||
suffixText = _ref2$value2$suffix2$2 === void 0 ? defaultLabelOfPie.value.suffix.text : _ref2$value2$suffix2$2, | ||
_ref2$value2$suffix2$3 = _ref2$value2$suffix2.fontSize, | ||
suffixFontSize = _ref2$value2$suffix2$3 === void 0 ? defaultLabelOfPie.value.suffix.fontSize : _ref2$value2$suffix2$3, | ||
_ref2$value2$suffix2$4 = _ref2$value2$suffix2.translate, | ||
_ref2$value2$suffix2$5 = _ref2$value2$suffix2$4 === void 0 ? defaultLabelOfPie.value.suffix.translate : _ref2$value2$suffix2$4, | ||
_ref2$value2$suffix2$6 = _ref2$value2$suffix2$5.x, | ||
suffixTranslateX = _ref2$value2$suffix2$6 === void 0 ? defaultLabelOfPie.value.suffix.translate.x : _ref2$value2$suffix2$6, | ||
_ref2$value2$suffix2$7 = _ref2$value2$suffix2$5.y, | ||
suffixTranslateY = _ref2$value2$suffix2$7 === void 0 ? defaultLabelOfPie.value.suffix.translate.y : _ref2$value2$suffix2$7, | ||
_ref2$value2$font = _ref2$value2.font, | ||
valueFont = _ref2$value2$font === void 0 ? defaultLabelOfPie.value.font : _ref2$value2$font; | ||
return { | ||
@@ -404,28 +402,28 @@ name: "label", | ||
showLabel = _ref4$show === void 0 ? defaultAxisLabel.show : _ref4$show, | ||
_ref4$format = _ref4.format; | ||
_ref4$format = _ref4$format === void 0 ? defaultAxisLabel.format : _ref4$format; | ||
var _ref4$format$type = _ref4$format.type, | ||
labelType = _ref4$format$type === void 0 ? defaultAxisLabel.format.type : _ref4$format$type, | ||
_ref4$format$showType = _ref4$format.showType, | ||
labelShowType = _ref4$format$showType === void 0 ? defaultAxisLabel.format.showType : _ref4$format$showType, | ||
_ref4$appearance = _ref4.appearance; | ||
_ref4$appearance = _ref4$appearance === void 0 ? defaultAxisLabel.appearance : _ref4$appearance; | ||
var _ref4$appearance$coun = _ref4$appearance.count, | ||
count = _ref4$appearance$coun === void 0 ? defaultAxisLabel.appearance.count : _ref4$appearance$coun, | ||
_ref4$appearance$angl = _ref4$appearance.angle, | ||
angle = _ref4$appearance$angl === void 0 ? defaultAxisLabel.appearance.angle : _ref4$appearance$angl, | ||
_ref4$appearance$widt = _ref4$appearance.width, | ||
width = _ref4$appearance$widt === void 0 ? defaultAxisLabel.appearance.width : _ref4$appearance$widt, | ||
_ref4$appearance$text = _ref4$appearance.textOverflow, | ||
textOverflow = _ref4$appearance$text === void 0 ? defaultAxisLabel.appearance.textOverflow : _ref4$appearance$text, | ||
_ref4$appearance$spee = _ref4$appearance.speed, | ||
speed = _ref4$appearance$spee === void 0 ? defaultAxisLabel.appearance.speed : _ref4$appearance$spee, | ||
_ref4$format = _ref4.format, | ||
_ref4$format2 = _ref4$format === void 0 ? defaultAxisLabel.format : _ref4$format, | ||
_ref4$format2$type = _ref4$format2.type, | ||
labelType = _ref4$format2$type === void 0 ? defaultAxisLabel.format.type : _ref4$format2$type, | ||
_ref4$format2$showTyp = _ref4$format2.showType, | ||
labelShowType = _ref4$format2$showTyp === void 0 ? defaultAxisLabel.format.showType : _ref4$format2$showTyp, | ||
_ref4$appearance = _ref4.appearance, | ||
_ref4$appearance2 = _ref4$appearance === void 0 ? defaultAxisLabel.appearance : _ref4$appearance, | ||
_ref4$appearance2$cou = _ref4$appearance2.count, | ||
count = _ref4$appearance2$cou === void 0 ? defaultAxisLabel.appearance.count : _ref4$appearance2$cou, | ||
_ref4$appearance2$ang = _ref4$appearance2.angle, | ||
angle = _ref4$appearance2$ang === void 0 ? defaultAxisLabel.appearance.angle : _ref4$appearance2$ang, | ||
_ref4$appearance2$wid = _ref4$appearance2.width, | ||
width = _ref4$appearance2$wid === void 0 ? defaultAxisLabel.appearance.width : _ref4$appearance2$wid, | ||
_ref4$appearance2$tex = _ref4$appearance2.textOverflow, | ||
textOverflow = _ref4$appearance2$tex === void 0 ? defaultAxisLabel.appearance.textOverflow : _ref4$appearance2$tex, | ||
_ref4$appearance2$spe = _ref4$appearance2.speed, | ||
speed = _ref4$appearance2$spe === void 0 ? defaultAxisLabel.appearance.speed : _ref4$appearance2$spe, | ||
_ref4$showLast = _ref4.showLast, | ||
showLast = _ref4$showLast === void 0 ? defaultAxisLabel.showLast : _ref4$showLast, | ||
_ref4$translate = _ref4.translate; | ||
_ref4$translate = _ref4$translate === void 0 ? defaultAxisLabel.translate : _ref4$translate; | ||
var _ref4$translate$x = _ref4$translate.x, | ||
labelTranslateX = _ref4$translate$x === void 0 ? defaultAxisLabel.translate.x : _ref4$translate$x, | ||
_ref4$translate$y = _ref4$translate.y, | ||
labelTranslateY = _ref4$translate$y === void 0 ? defaultAxisLabel.translate.y : _ref4$translate$y, | ||
_ref4$translate = _ref4.translate, | ||
_ref4$translate2 = _ref4$translate === void 0 ? defaultAxisLabel.translate : _ref4$translate, | ||
_ref4$translate2$x = _ref4$translate2.x, | ||
labelTranslateX = _ref4$translate2$x === void 0 ? defaultAxisLabel.translate.x : _ref4$translate2$x, | ||
_ref4$translate2$y = _ref4$translate2.y, | ||
labelTranslateY = _ref4$translate2$y === void 0 ? defaultAxisLabel.translate.y : _ref4$translate2$y, | ||
_ref4$font = _ref4.font, | ||
@@ -696,9 +694,9 @@ font = _ref4$font === void 0 ? defaultAxisLabel.font : _ref4$font; | ||
_ref5$show = _ref5.show, | ||
showLabel = _ref5$show === void 0 ? defaultClipValueAxisLabel.show : _ref5$show, | ||
showLabel = _ref5$show === void 0 ? defaultValueAxisLabel.show : _ref5$show, | ||
_ref5$extent = _ref5.extent; | ||
_ref5$extent = _ref5$extent === void 0 ? defaultClipValueAxisLabel.extent : _ref5$extent; | ||
_ref5$extent = _ref5$extent === void 0 ? defaultValueAxisLabel.extent : _ref5$extent; | ||
var _ref5$extent$min = _ref5$extent.min, | ||
min = _ref5$extent$min === void 0 ? defaultClipValueAxisLabel.extent.min : _ref5$extent$min, | ||
min = _ref5$extent$min === void 0 ? defaultValueAxisLabel.extent.min : _ref5$extent$min, | ||
_ref5$extent$max = _ref5$extent.max, | ||
max = _ref5$extent$max === void 0 ? defaultClipValueAxisLabel.extent.max : _ref5$extent$max, | ||
max = _ref5$extent$max === void 0 ? defaultValueAxisLabel.extent.max : _ref5$extent$max, | ||
_ref5$auto = _ref5.auto, | ||
@@ -715,9 +713,9 @@ auto = _ref5$auto === void 0 ? defaultClipValueAxisLabel.auto : _ref5$auto, | ||
_ref5$suffix = _ref5.suffix, | ||
suffix = _ref5$suffix === void 0 ? defaultClipValueAxisLabel.suffix : _ref5$suffix, | ||
suffix = _ref5$suffix === void 0 ? defaultValueAxisLabel.suffix : _ref5$suffix, | ||
_ref5$translate = _ref5.translate; | ||
_ref5$translate = _ref5$translate === void 0 ? defaultClipValueAxisLabel.translate : _ref5$translate; | ||
_ref5$translate = _ref5$translate === void 0 ? defaultValueAxisLabel.translate : _ref5$translate; | ||
var _ref5$translate$x = _ref5$translate.x, | ||
labelTranslateX = _ref5$translate$x === void 0 ? defaultClipValueAxisLabel.translate.x : _ref5$translate$x, | ||
labelTranslateX = _ref5$translate$x === void 0 ? defaultValueAxisLabel.translate.x : _ref5$translate$x, | ||
_ref5$translate$y = _ref5$translate.y, | ||
labelTranslateY = _ref5$translate$y === void 0 ? defaultClipValueAxisLabel.translate.y : _ref5$translate$y, | ||
labelTranslateY = _ref5$translate$y === void 0 ? defaultValueAxisLabel.translate.y : _ref5$translate$y, | ||
_ref5$font = _ref5.font, | ||
@@ -846,107 +844,6 @@ labelFont = _ref5$font === void 0 ? defaultClipValueAxisLabel.font : _ref5$font; | ||
value: labelFont, | ||
type: "textStyle" | ||
type: 'textStyle' | ||
}] | ||
}; | ||
}; | ||
exports.valueCilpAsixLabel = valueCilpAsixLabel; | ||
var valueAsixLabel = function valueAsixLabel() { | ||
var _ref6 = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : defaultValueAxisLabel, | ||
_ref6$show = _ref6.show, | ||
showLabel = _ref6$show === void 0 ? defaultValueAxisLabel.show : _ref6$show, | ||
_ref6$extent = _ref6.extent; | ||
_ref6$extent = _ref6$extent === void 0 ? defaultValueAxisLabel.extent : _ref6$extent; | ||
var _ref6$extent$min = _ref6$extent.min, | ||
min = _ref6$extent$min === void 0 ? defaultValueAxisLabel.extent.min : _ref6$extent$min, | ||
_ref6$extent$max = _ref6$extent.max, | ||
max = _ref6$extent$max === void 0 ? defaultValueAxisLabel.extent.max : _ref6$extent$max, | ||
_ref6$auto = _ref6.auto, | ||
auto = _ref6$auto === void 0 ? defaultValueAxisLabel.auto : _ref6$auto, | ||
_ref6$mode = _ref6.mode, | ||
mode = _ref6$mode === void 0 ? defaultValueAxisLabel.mode : _ref6$mode, | ||
_ref6$count = _ref6.count, | ||
count = _ref6$count === void 0 ? defaultValueAxisLabel.count : _ref6$count, | ||
_ref6$step = _ref6.step, | ||
step = _ref6$step === void 0 ? defaultValueAxisLabel.step : _ref6$step, | ||
_ref6$decimal = _ref6.decimal, | ||
decimal = _ref6$decimal === void 0 ? defaultValueAxisLabel.decimal : _ref6$decimal, | ||
_ref6$suffix = _ref6.suffix, | ||
suffix = _ref6$suffix === void 0 ? defaultValueAxisLabel.suffix : _ref6$suffix, | ||
_ref6$translate = _ref6.translate; | ||
_ref6$translate = _ref6$translate === void 0 ? defaultValueAxisLabel.translate : _ref6$translate; | ||
var _ref6$translate$x = _ref6$translate.x, | ||
labelTranslateX = _ref6$translate$x === void 0 ? defaultValueAxisLabel.translate.x : _ref6$translate$x, | ||
_ref6$translate$y = _ref6$translate.y, | ||
labelTranslateY = _ref6$translate$y === void 0 ? defaultValueAxisLabel.translate.y : _ref6$translate$y, | ||
_ref6$font = _ref6.font, | ||
labelFont = _ref6$font === void 0 ? defaultValueAxisLabel.font : _ref6$font; | ||
return { | ||
name: "label", | ||
displayName: "轴标签", | ||
value: [{ | ||
name: "show", | ||
displayName: "显示", | ||
value: showLabel, | ||
type: "boolean" | ||
}, _objectSpread({ | ||
rule: [["show", "$eq", true]] | ||
}, (0, _.extent)({ | ||
min: min, | ||
max: max | ||
})), { | ||
rule: [["show", "$eq", true]], | ||
name: "auto", | ||
displayName: "刻度自适应", | ||
value: auto, | ||
type: "boolean" | ||
}, { | ||
rule: [["show", "$eq", true], ["auto", "$eq", false]], | ||
name: "mode", | ||
displayName: "模式", | ||
value: mode, | ||
type: "radio", | ||
config: { | ||
options: [{ | ||
name: "数量强制", | ||
value: "count" | ||
}, { | ||
name: "步长强制", | ||
value: "step" | ||
}] | ||
} | ||
}, { | ||
rule: [["show", "$eq", true], ["auto", "$eq", false], ["mode", "$eq", "count"]], | ||
name: "count", | ||
displayName: "标签数量", | ||
value: count, | ||
min: 2, | ||
type: "number" | ||
}, { | ||
rule: [["show", "$eq", true], ["auto", "$eq", false], ["mode", "$eq", "step"]], | ||
name: "step", | ||
displayName: "步长", | ||
value: step, | ||
type: "number" | ||
}, { | ||
rule: [["show", "$eq", true]], | ||
name: "decimal", | ||
displayName: "小数位数", | ||
value: decimal, | ||
type: "number" | ||
}, { | ||
rule: [["show", "$eq", true]], | ||
name: "suffix", | ||
displayName: "后缀内容", | ||
value: suffix, | ||
type: "input" | ||
}, _objectSpread({ | ||
rule: [["show", "$eq", true]] | ||
}, (0, _.translate)(labelTranslateX, labelTranslateY)), { | ||
rule: [["show", "$eq", true]], | ||
name: "font", | ||
displayName: "文本样式", | ||
value: labelFont, | ||
type: "textStyle" | ||
}] | ||
}; | ||
}; | ||
exports.valueAsixLabel = valueAsixLabel; |
@@ -61,34 +61,34 @@ "use strict"; | ||
font = _ref$font === void 0 ? defaultLegend.font : _ref$font, | ||
_ref$iconSize = _ref.iconSize; | ||
_ref$iconSize = _ref$iconSize === void 0 ? defaultLegend.iconSize : _ref$iconSize; | ||
var _ref$iconSize$width = _ref$iconSize.width, | ||
width = _ref$iconSize$width === void 0 ? defaultLegend.iconSize.width : _ref$iconSize$width, | ||
_ref$iconSize$height = _ref$iconSize.height, | ||
height = _ref$iconSize$height === void 0 ? defaultLegend.iconSize.height : _ref$iconSize$height, | ||
_ref$iconSize = _ref.iconSize, | ||
_ref$iconSize2 = _ref$iconSize === void 0 ? defaultLegend.iconSize : _ref$iconSize, | ||
_ref$iconSize2$width = _ref$iconSize2.width, | ||
width = _ref$iconSize2$width === void 0 ? defaultLegend.iconSize.width : _ref$iconSize2$width, | ||
_ref$iconSize2$height = _ref$iconSize2.height, | ||
height = _ref$iconSize2$height === void 0 ? defaultLegend.iconSize.height : _ref$iconSize2$height, | ||
_ref$iconGap = _ref.iconGap, | ||
iconGap = _ref$iconGap === void 0 ? defaultLegend.iconGap : _ref$iconGap, | ||
_ref$layout = _ref.layout; | ||
_ref$layout = _ref$layout === void 0 ? defaultLegend.layout : _ref$layout; | ||
var _ref$layout$gridTempl = _ref$layout.gridTemplateColumns, | ||
gridTemplateColumns = _ref$layout$gridTempl === void 0 ? defaultLegend.layout.gridTemplateColumns : _ref$layout$gridTempl, | ||
_ref$layout$gridGap = _ref$layout.gridGap; | ||
_ref$layout$gridGap = _ref$layout$gridGap === void 0 ? defaultLegend.layout.gridGap : _ref$layout$gridGap; | ||
var _ref$layout$gridGap$g = _ref$layout$gridGap.gridRowGap, | ||
gridRowGap = _ref$layout$gridGap$g === void 0 ? defaultLegend.layout.gridGap.gridRowGap : _ref$layout$gridGap$g, | ||
_ref$layout$gridGap$g2 = _ref$layout$gridGap.gridColumnGap, | ||
gridColumnGap = _ref$layout$gridGap$g2 === void 0 ? defaultLegend.layout.gridGap.gridColumnGap : _ref$layout$gridGap$g2, | ||
_ref$layout$alignment = _ref$layout.alignment, | ||
alignment = _ref$layout$alignment === void 0 ? defaultLegend.layout.alignment : _ref$layout$alignment, | ||
_ref$layout$translate = _ref$layout.translate; | ||
_ref$layout$translate = _ref$layout$translate === void 0 ? defaultLegend.layout.translate : _ref$layout$translate; | ||
var _ref$layout$translate2 = _ref$layout$translate.x, | ||
x = _ref$layout$translate2 === void 0 ? defaultLegend.layout.translate.x : _ref$layout$translate2, | ||
_ref$layout$translate3 = _ref$layout$translate.y, | ||
y = _ref$layout$translate3 === void 0 ? defaultLegend.layout.translate.y : _ref$layout$translate3, | ||
_ref$layout = _ref.layout, | ||
_ref$layout2 = _ref$layout === void 0 ? defaultLegend.layout : _ref$layout, | ||
_ref$layout2$gridTemp = _ref$layout2.gridTemplateColumns, | ||
gridTemplateColumns = _ref$layout2$gridTemp === void 0 ? defaultLegend.layout.gridTemplateColumns : _ref$layout2$gridTemp, | ||
_ref$layout2$gridGap = _ref$layout2.gridGap, | ||
_ref$layout2$gridGap2 = _ref$layout2$gridGap === void 0 ? defaultLegend.layout.gridGap : _ref$layout2$gridGap, | ||
_ref$layout2$gridGap3 = _ref$layout2$gridGap2.gridRowGap, | ||
gridRowGap = _ref$layout2$gridGap3 === void 0 ? defaultLegend.layout.gridGap.gridRowGap : _ref$layout2$gridGap3, | ||
_ref$layout2$gridGap4 = _ref$layout2$gridGap2.gridColumnGap, | ||
gridColumnGap = _ref$layout2$gridGap4 === void 0 ? defaultLegend.layout.gridGap.gridColumnGap : _ref$layout2$gridGap4, | ||
_ref$layout2$alignmen = _ref$layout2.alignment, | ||
alignment = _ref$layout2$alignmen === void 0 ? defaultLegend.layout.alignment : _ref$layout2$alignmen, | ||
_ref$layout2$translat = _ref$layout2.translate, | ||
_ref$layout2$translat2 = _ref$layout2$translat === void 0 ? defaultLegend.layout.translate : _ref$layout2$translat, | ||
_ref$layout2$translat3 = _ref$layout2$translat2.x, | ||
x = _ref$layout2$translat3 === void 0 ? defaultLegend.layout.translate.x : _ref$layout2$translat3, | ||
_ref$layout2$translat4 = _ref$layout2$translat2.y, | ||
y = _ref$layout2$translat4 === void 0 ? defaultLegend.layout.translate.y : _ref$layout2$translat4, | ||
_ref$interactive = _ref.interactive, | ||
interactive = _ref$interactive === void 0 ? defaultLegend.interactive : _ref$interactive, | ||
_ref$unselect = _ref.unselect; | ||
_ref$unselect = _ref$unselect === void 0 ? defaultLegend.unselect : _ref$unselect; | ||
var _ref$unselect$opacity = _ref$unselect.opacity, | ||
opacity = _ref$unselect$opacity === void 0 ? defaultLegend.unselect.opacity : _ref$unselect$opacity; | ||
_ref$unselect = _ref.unselect, | ||
_ref$unselect2 = _ref$unselect === void 0 ? defaultLegend.unselect : _ref$unselect, | ||
_ref$unselect2$opacit = _ref$unselect2.opacity, | ||
opacity = _ref$unselect2$opacit === void 0 ? defaultLegend.unselect.opacity : _ref$unselect2$opacit; | ||
return { | ||
@@ -237,28 +237,28 @@ name: 'legend', | ||
font = _ref2$font === void 0 ? defaultLegendOfRose.font : _ref2$font, | ||
_ref2$iconSize = _ref2.iconSize; | ||
_ref2$iconSize = _ref2$iconSize === void 0 ? defaultLegendOfRose.iconSize : _ref2$iconSize; | ||
var _ref2$iconSize$width = _ref2$iconSize.width, | ||
width = _ref2$iconSize$width === void 0 ? defaultLegendOfRose.iconSize.width : _ref2$iconSize$width, | ||
_ref2$iconSize$height = _ref2$iconSize.height, | ||
height = _ref2$iconSize$height === void 0 ? defaultLegendOfRose.iconSize.height : _ref2$iconSize$height, | ||
_ref2$iconSize = _ref2.iconSize, | ||
_ref2$iconSize2 = _ref2$iconSize === void 0 ? defaultLegendOfRose.iconSize : _ref2$iconSize, | ||
_ref2$iconSize2$width = _ref2$iconSize2.width, | ||
width = _ref2$iconSize2$width === void 0 ? defaultLegendOfRose.iconSize.width : _ref2$iconSize2$width, | ||
_ref2$iconSize2$heigh = _ref2$iconSize2.height, | ||
height = _ref2$iconSize2$heigh === void 0 ? defaultLegendOfRose.iconSize.height : _ref2$iconSize2$heigh, | ||
_ref2$iconGap = _ref2.iconGap, | ||
iconGap = _ref2$iconGap === void 0 ? defaultLegendOfRose.iconGap : _ref2$iconGap, | ||
_ref2$layout = _ref2.layout; | ||
_ref2$layout = _ref2$layout === void 0 ? defaultLegendOfRose.layout : _ref2$layout; | ||
var _ref2$layout$gridTemp = _ref2$layout.gridTemplateColumns, | ||
gridTemplateColumns = _ref2$layout$gridTemp === void 0 ? defaultLegendOfRose.layout.gridTemplateColumns : _ref2$layout$gridTemp, | ||
_ref2$layout$gridGap = _ref2$layout.gridGap; | ||
_ref2$layout$gridGap = _ref2$layout$gridGap === void 0 ? defaultLegendOfRose.layout.gridGap : _ref2$layout$gridGap; | ||
var _ref2$layout$gridGap$ = _ref2$layout$gridGap.gridRowGap, | ||
gridRowGap = _ref2$layout$gridGap$ === void 0 ? defaultLegendOfRose.layout.gridGap.gridRowGap : _ref2$layout$gridGap$, | ||
_ref2$layout$gridGap$2 = _ref2$layout$gridGap.gridColumnGap, | ||
gridColumnGap = _ref2$layout$gridGap$2 === void 0 ? defaultLegendOfRose.layout.gridGap.gridColumnGap : _ref2$layout$gridGap$2, | ||
_ref2$layout$alignmen = _ref2$layout.alignment, | ||
alignment = _ref2$layout$alignmen === void 0 ? defaultLegendOfRose.layout.alignment : _ref2$layout$alignmen, | ||
_ref2$layout$translat = _ref2$layout.translate; | ||
_ref2$layout$translat = _ref2$layout$translat === void 0 ? defaultLegendOfRose.layout.translate : _ref2$layout$translat; | ||
var _ref2$layout$translat2 = _ref2$layout$translat.x, | ||
x = _ref2$layout$translat2 === void 0 ? defaultLegendOfRose.layout.translate.x : _ref2$layout$translat2, | ||
_ref2$layout$translat3 = _ref2$layout$translat.y, | ||
y = _ref2$layout$translat3 === void 0 ? defaultLegendOfRose.layout.translate.y : _ref2$layout$translat3; | ||
_ref2$layout = _ref2.layout, | ||
_ref2$layout2 = _ref2$layout === void 0 ? defaultLegendOfRose.layout : _ref2$layout, | ||
_ref2$layout2$gridTem = _ref2$layout2.gridTemplateColumns, | ||
gridTemplateColumns = _ref2$layout2$gridTem === void 0 ? defaultLegendOfRose.layout.gridTemplateColumns : _ref2$layout2$gridTem, | ||
_ref2$layout2$gridGap = _ref2$layout2.gridGap, | ||
_ref2$layout2$gridGap2 = _ref2$layout2$gridGap === void 0 ? defaultLegendOfRose.layout.gridGap : _ref2$layout2$gridGap, | ||
_ref2$layout2$gridGap3 = _ref2$layout2$gridGap2.gridRowGap, | ||
gridRowGap = _ref2$layout2$gridGap3 === void 0 ? defaultLegendOfRose.layout.gridGap.gridRowGap : _ref2$layout2$gridGap3, | ||
_ref2$layout2$gridGap4 = _ref2$layout2$gridGap2.gridColumnGap, | ||
gridColumnGap = _ref2$layout2$gridGap4 === void 0 ? defaultLegendOfRose.layout.gridGap.gridColumnGap : _ref2$layout2$gridGap4, | ||
_ref2$layout2$alignme = _ref2$layout2.alignment, | ||
alignment = _ref2$layout2$alignme === void 0 ? defaultLegendOfRose.layout.alignment : _ref2$layout2$alignme, | ||
_ref2$layout2$transla = _ref2$layout2.translate, | ||
_ref2$layout2$transla2 = _ref2$layout2$transla === void 0 ? defaultLegendOfRose.layout.translate : _ref2$layout2$transla, | ||
_ref2$layout2$transla3 = _ref2$layout2$transla2.x, | ||
x = _ref2$layout2$transla3 === void 0 ? defaultLegendOfRose.layout.translate.x : _ref2$layout2$transla3, | ||
_ref2$layout2$transla4 = _ref2$layout2$transla2.y, | ||
y = _ref2$layout2$transla4 === void 0 ? defaultLegendOfRose.layout.translate.y : _ref2$layout2$transla4; | ||
return { | ||
@@ -406,73 +406,73 @@ name: 'legend', | ||
order = _ref3$order === void 0 ? defaultLegendOfPie.order : _ref3$order, | ||
_ref3$iconSize = _ref3.iconSize; | ||
_ref3$iconSize = _ref3$iconSize === void 0 ? defaultLegendOfPie.iconSize : _ref3$iconSize; | ||
var _ref3$iconSize$width = _ref3$iconSize.width, | ||
width = _ref3$iconSize$width === void 0 ? defaultLegendOfPie.iconSize.width : _ref3$iconSize$width, | ||
_ref3$iconSize$height = _ref3$iconSize.height, | ||
height = _ref3$iconSize$height === void 0 ? defaultLegendOfPie.iconSize.height : _ref3$iconSize$height, | ||
_ref3$iconSize = _ref3.iconSize, | ||
_ref3$iconSize2 = _ref3$iconSize === void 0 ? defaultLegendOfPie.iconSize : _ref3$iconSize, | ||
_ref3$iconSize2$width = _ref3$iconSize2.width, | ||
width = _ref3$iconSize2$width === void 0 ? defaultLegendOfPie.iconSize.width : _ref3$iconSize2$width, | ||
_ref3$iconSize2$heigh = _ref3$iconSize2.height, | ||
height = _ref3$iconSize2$heigh === void 0 ? defaultLegendOfPie.iconSize.height : _ref3$iconSize2$heigh, | ||
_ref3$iconGap = _ref3.iconGap, | ||
iconGap = _ref3$iconGap === void 0 ? defaultLegendOfPie.iconGap : _ref3$iconGap, | ||
_ref3$name = _ref3.name; | ||
_ref3$name = _ref3$name === void 0 ? defaultLegendOfPie.name : _ref3$name; | ||
var _ref3$name$show = _ref3$name.show, | ||
showName = _ref3$name$show === void 0 ? defaultLegendOfPie.name.show : _ref3$name$show, | ||
_ref3$name$font = _ref3$name.font, | ||
nameFont = _ref3$name$font === void 0 ? defaultLegendOfPie.name.font : _ref3$name$font, | ||
_ref3$name$maxWidth = _ref3$name.maxWidth, | ||
maxWidth = _ref3$name$maxWidth === void 0 ? defaultLegendOfPie.name.maxWidth : _ref3$name$maxWidth, | ||
overflow = _ref3$name.overflow, | ||
_ref3$percent = _ref3.percent; | ||
_ref3$percent = _ref3$percent === void 0 ? defaultLegendOfPie.percent : _ref3$percent; | ||
var _ref3$percent$show = _ref3$percent.show, | ||
showPercent = _ref3$percent$show === void 0 ? defaultLegendOfPie.percent.show : _ref3$percent$show, | ||
_ref3$percent$precisi = _ref3$percent.precision, | ||
precision = _ref3$percent$precisi === void 0 ? defaultLegendOfPie.percent.precision : _ref3$percent$precisi, | ||
_ref3$percent$sameCol = _ref3$percent.sameColor, | ||
percentSameColor = _ref3$percent$sameCol === void 0 ? defaultLegendOfPie.percent.sameColor : _ref3$percent$sameCol, | ||
_ref3$percent$gap = _ref3$percent.gap, | ||
percentGap = _ref3$percent$gap === void 0 ? defaultLegendOfPie.percent.gap : _ref3$percent$gap, | ||
_ref3$percent$font = _ref3$percent.font, | ||
percentFont = _ref3$percent$font === void 0 ? defaultLegendOfPie.percent.font : _ref3$percent$font, | ||
_ref3$value = _ref3.value; | ||
_ref3$value = _ref3$value === void 0 ? defaultLegendOfPie.value : _ref3$value; | ||
var _ref3$value$show = _ref3$value.show, | ||
showValue = _ref3$value$show === void 0 ? defaultLegendOfPie.value.show : _ref3$value$show, | ||
_ref3$value$sameColor = _ref3$value.sameColor, | ||
valueSameColor = _ref3$value$sameColor === void 0 ? defaultLegendOfPie.value.sameColor : _ref3$value$sameColor, | ||
_ref3$value$gap = _ref3$value.gap, | ||
valueGap = _ref3$value$gap === void 0 ? defaultLegendOfPie.value.gap : _ref3$value$gap, | ||
_ref3$value$font = _ref3$value.font, | ||
valueFont = _ref3$value$font === void 0 ? defaultLegendOfPie.value.font : _ref3$value$font, | ||
_ref3$value$suffix = _ref3$value.suffix; | ||
_ref3$value$suffix = _ref3$value$suffix === void 0 ? defaultLegendOfPie.value.suffix : _ref3$value$suffix; | ||
var _ref3$value$suffix$sh = _ref3$value$suffix.show, | ||
showSuffix = _ref3$value$suffix$sh === void 0 ? defaultLegendOfPie.value.suffix.show : _ref3$value$suffix$sh, | ||
_ref3$value$suffix$te = _ref3$value$suffix.text, | ||
text = _ref3$value$suffix$te === void 0 ? defaultLegendOfPie.value.suffix.text : _ref3$value$suffix$te, | ||
_ref3$value$suffix$fo = _ref3$value$suffix.fontSize, | ||
fontSize = _ref3$value$suffix$fo === void 0 ? defaultLegendOfPie.value.suffix.fontSize : _ref3$value$suffix$fo, | ||
_ref3$value$suffix$tr = _ref3$value$suffix.translate; | ||
_ref3$value$suffix$tr = _ref3$value$suffix$tr === void 0 ? defaultLegendOfPie.value.suffix.translate : _ref3$value$suffix$tr; | ||
var _ref3$value$suffix$tr2 = _ref3$value$suffix$tr.x, | ||
suffixTranslateX = _ref3$value$suffix$tr2 === void 0 ? defaultLegendOfPie.value.suffix.translate.x : _ref3$value$suffix$tr2, | ||
_ref3$value$suffix$tr3 = _ref3$value$suffix$tr.y, | ||
suffixTranslateY = _ref3$value$suffix$tr3 === void 0 ? defaultLegendOfPie.value.suffix.translate.y : _ref3$value$suffix$tr3, | ||
_ref3$layout = _ref3.layout; | ||
_ref3$layout = _ref3$layout === void 0 ? defaultLegendOfPie.layout : _ref3$layout; | ||
var _ref3$layout$gridTemp = _ref3$layout.gridTemplateColumns, | ||
gridTemplateColumns = _ref3$layout$gridTemp === void 0 ? defaultLegendOfPie.layout.gridTemplateColumns : _ref3$layout$gridTemp, | ||
_ref3$layout$gridGap = _ref3$layout.gridGap; | ||
_ref3$layout$gridGap = _ref3$layout$gridGap === void 0 ? defaultLegendOfPie.layout.gridGap : _ref3$layout$gridGap; | ||
var _ref3$layout$gridGap$ = _ref3$layout$gridGap.gridRowGap, | ||
gridRowGap = _ref3$layout$gridGap$ === void 0 ? defaultLegendOfPie.layout.gridGap.gridRowGap : _ref3$layout$gridGap$, | ||
_ref3$layout$gridGap$2 = _ref3$layout$gridGap.gridColumnGap, | ||
gridColumnGap = _ref3$layout$gridGap$2 === void 0 ? defaultLegendOfPie.layout.gridGap.gridColumnGap : _ref3$layout$gridGap$2, | ||
_ref3$layout$alignmen = _ref3$layout.alignment, | ||
alignment = _ref3$layout$alignmen === void 0 ? defaultLegendOfPie.layout.alignment : _ref3$layout$alignmen, | ||
_ref3$layout$translat = _ref3$layout.translate; | ||
_ref3$layout$translat = _ref3$layout$translat === void 0 ? defaultLegendOfPie.layout.translate : _ref3$layout$translat; | ||
var _ref3$layout$translat2 = _ref3$layout$translat.x, | ||
x = _ref3$layout$translat2 === void 0 ? defaultLegendOfPie.layout.translate.x : _ref3$layout$translat2, | ||
_ref3$layout$translat3 = _ref3$layout$translat.y, | ||
y = _ref3$layout$translat3 === void 0 ? defaultLegendOfPie.layout.translate.y : _ref3$layout$translat3; | ||
_ref3$name = _ref3.name, | ||
_ref3$name2 = _ref3$name === void 0 ? defaultLegendOfPie.name : _ref3$name, | ||
_ref3$name2$show = _ref3$name2.show, | ||
showName = _ref3$name2$show === void 0 ? defaultLegendOfPie.name.show : _ref3$name2$show, | ||
_ref3$name2$font = _ref3$name2.font, | ||
nameFont = _ref3$name2$font === void 0 ? defaultLegendOfPie.name.font : _ref3$name2$font, | ||
_ref3$name2$maxWidth = _ref3$name2.maxWidth, | ||
maxWidth = _ref3$name2$maxWidth === void 0 ? defaultLegendOfPie.name.maxWidth : _ref3$name2$maxWidth, | ||
overflow = _ref3$name2.overflow, | ||
_ref3$percent = _ref3.percent, | ||
_ref3$percent2 = _ref3$percent === void 0 ? defaultLegendOfPie.percent : _ref3$percent, | ||
_ref3$percent2$show = _ref3$percent2.show, | ||
showPercent = _ref3$percent2$show === void 0 ? defaultLegendOfPie.percent.show : _ref3$percent2$show, | ||
_ref3$percent2$precis = _ref3$percent2.precision, | ||
precision = _ref3$percent2$precis === void 0 ? defaultLegendOfPie.percent.precision : _ref3$percent2$precis, | ||
_ref3$percent2$sameCo = _ref3$percent2.sameColor, | ||
percentSameColor = _ref3$percent2$sameCo === void 0 ? defaultLegendOfPie.percent.sameColor : _ref3$percent2$sameCo, | ||
_ref3$percent2$gap = _ref3$percent2.gap, | ||
percentGap = _ref3$percent2$gap === void 0 ? defaultLegendOfPie.percent.gap : _ref3$percent2$gap, | ||
_ref3$percent2$font = _ref3$percent2.font, | ||
percentFont = _ref3$percent2$font === void 0 ? defaultLegendOfPie.percent.font : _ref3$percent2$font, | ||
_ref3$value = _ref3.value, | ||
_ref3$value2 = _ref3$value === void 0 ? defaultLegendOfPie.value : _ref3$value, | ||
_ref3$value2$show = _ref3$value2.show, | ||
showValue = _ref3$value2$show === void 0 ? defaultLegendOfPie.value.show : _ref3$value2$show, | ||
_ref3$value2$sameColo = _ref3$value2.sameColor, | ||
valueSameColor = _ref3$value2$sameColo === void 0 ? defaultLegendOfPie.value.sameColor : _ref3$value2$sameColo, | ||
_ref3$value2$gap = _ref3$value2.gap, | ||
valueGap = _ref3$value2$gap === void 0 ? defaultLegendOfPie.value.gap : _ref3$value2$gap, | ||
_ref3$value2$font = _ref3$value2.font, | ||
valueFont = _ref3$value2$font === void 0 ? defaultLegendOfPie.value.font : _ref3$value2$font, | ||
_ref3$value2$suffix = _ref3$value2.suffix, | ||
_ref3$value2$suffix2 = _ref3$value2$suffix === void 0 ? defaultLegendOfPie.value.suffix : _ref3$value2$suffix, | ||
_ref3$value2$suffix2$ = _ref3$value2$suffix2.show, | ||
showSuffix = _ref3$value2$suffix2$ === void 0 ? defaultLegendOfPie.value.suffix.show : _ref3$value2$suffix2$, | ||
_ref3$value2$suffix2$2 = _ref3$value2$suffix2.text, | ||
text = _ref3$value2$suffix2$2 === void 0 ? defaultLegendOfPie.value.suffix.text : _ref3$value2$suffix2$2, | ||
_ref3$value2$suffix2$3 = _ref3$value2$suffix2.fontSize, | ||
fontSize = _ref3$value2$suffix2$3 === void 0 ? defaultLegendOfPie.value.suffix.fontSize : _ref3$value2$suffix2$3, | ||
_ref3$value2$suffix2$4 = _ref3$value2$suffix2.translate, | ||
_ref3$value2$suffix2$5 = _ref3$value2$suffix2$4 === void 0 ? defaultLegendOfPie.value.suffix.translate : _ref3$value2$suffix2$4, | ||
_ref3$value2$suffix2$6 = _ref3$value2$suffix2$5.x, | ||
suffixTranslateX = _ref3$value2$suffix2$6 === void 0 ? defaultLegendOfPie.value.suffix.translate.x : _ref3$value2$suffix2$6, | ||
_ref3$value2$suffix2$7 = _ref3$value2$suffix2$5.y, | ||
suffixTranslateY = _ref3$value2$suffix2$7 === void 0 ? defaultLegendOfPie.value.suffix.translate.y : _ref3$value2$suffix2$7, | ||
_ref3$layout = _ref3.layout, | ||
_ref3$layout2 = _ref3$layout === void 0 ? defaultLegendOfPie.layout : _ref3$layout, | ||
_ref3$layout2$gridTem = _ref3$layout2.gridTemplateColumns, | ||
gridTemplateColumns = _ref3$layout2$gridTem === void 0 ? defaultLegendOfPie.layout.gridTemplateColumns : _ref3$layout2$gridTem, | ||
_ref3$layout2$gridGap = _ref3$layout2.gridGap, | ||
_ref3$layout2$gridGap2 = _ref3$layout2$gridGap === void 0 ? defaultLegendOfPie.layout.gridGap : _ref3$layout2$gridGap, | ||
_ref3$layout2$gridGap3 = _ref3$layout2$gridGap2.gridRowGap, | ||
gridRowGap = _ref3$layout2$gridGap3 === void 0 ? defaultLegendOfPie.layout.gridGap.gridRowGap : _ref3$layout2$gridGap3, | ||
_ref3$layout2$gridGap4 = _ref3$layout2$gridGap2.gridColumnGap, | ||
gridColumnGap = _ref3$layout2$gridGap4 === void 0 ? defaultLegendOfPie.layout.gridGap.gridColumnGap : _ref3$layout2$gridGap4, | ||
_ref3$layout2$alignme = _ref3$layout2.alignment, | ||
alignment = _ref3$layout2$alignme === void 0 ? defaultLegendOfPie.layout.alignment : _ref3$layout2$alignme, | ||
_ref3$layout2$transla = _ref3$layout2.translate, | ||
_ref3$layout2$transla2 = _ref3$layout2$transla === void 0 ? defaultLegendOfPie.layout.translate : _ref3$layout2$transla, | ||
_ref3$layout2$transla3 = _ref3$layout2$transla2.x, | ||
x = _ref3$layout2$transla3 === void 0 ? defaultLegendOfPie.layout.translate.x : _ref3$layout2$transla3, | ||
_ref3$layout2$transla4 = _ref3$layout2$transla2.y, | ||
y = _ref3$layout2$transla4 === void 0 ? defaultLegendOfPie.layout.translate.y : _ref3$layout2$transla4; | ||
return { | ||
@@ -720,75 +720,75 @@ name: 'legend', | ||
displayName = _ref4$displayName === void 0 ? defaultLegendOfDoublePie.displayName : _ref4$displayName, | ||
_ref4$iconSize = _ref4.iconSize; | ||
_ref4$iconSize = _ref4$iconSize === void 0 ? defaultLegendOfDoublePie.iconSize : _ref4$iconSize; | ||
var _ref4$iconSize$width = _ref4$iconSize.width, | ||
width = _ref4$iconSize$width === void 0 ? defaultLegendOfDoublePie.iconSize.width : _ref4$iconSize$width, | ||
_ref4$iconSize$height = _ref4$iconSize.height, | ||
height = _ref4$iconSize$height === void 0 ? defaultLegendOfDoublePie.iconSize.height : _ref4$iconSize$height, | ||
_ref4$iconSize = _ref4.iconSize, | ||
_ref4$iconSize2 = _ref4$iconSize === void 0 ? defaultLegendOfDoublePie.iconSize : _ref4$iconSize, | ||
_ref4$iconSize2$width = _ref4$iconSize2.width, | ||
width = _ref4$iconSize2$width === void 0 ? defaultLegendOfDoublePie.iconSize.width : _ref4$iconSize2$width, | ||
_ref4$iconSize2$heigh = _ref4$iconSize2.height, | ||
height = _ref4$iconSize2$heigh === void 0 ? defaultLegendOfDoublePie.iconSize.height : _ref4$iconSize2$heigh, | ||
_ref4$iconGap = _ref4.iconGap, | ||
iconGap = _ref4$iconGap === void 0 ? defaultLegendOfDoublePie.iconGap : _ref4$iconGap, | ||
_ref4$name = _ref4.name; | ||
_ref4$name = _ref4$name === void 0 ? defaultLegendOfDoublePie.name : _ref4$name; | ||
var _ref4$name$show = _ref4$name.show, | ||
showName = _ref4$name$show === void 0 ? defaultLegendOfDoublePie.name.show : _ref4$name$show, | ||
_ref4$name$font = _ref4$name.font, | ||
nameFont = _ref4$name$font === void 0 ? defaultLegendOfDoublePie.name.font : _ref4$name$font, | ||
_ref4$name$maxWidth = _ref4$name.maxWidth, | ||
maxWidth = _ref4$name$maxWidth === void 0 ? defaultLegendOfDoublePie.name.maxWidth : _ref4$name$maxWidth, | ||
overflow = _ref4$name.overflow, | ||
_ref4$percent = _ref4.percent; | ||
_ref4$percent = _ref4$percent === void 0 ? defaultLegendOfDoublePie.percent : _ref4$percent; | ||
var _ref4$percent$show = _ref4$percent.show, | ||
showPercent = _ref4$percent$show === void 0 ? defaultLegendOfDoublePie.percent.show : _ref4$percent$show, | ||
_ref4$percent$precisi = _ref4$percent.precision, | ||
precision = _ref4$percent$precisi === void 0 ? defaultLegendOfDoublePie.percent.precision : _ref4$percent$precisi, | ||
_ref4$percent$sameCol = _ref4$percent.sameColor, | ||
percentSameColor = _ref4$percent$sameCol === void 0 ? defaultLegendOfDoublePie.percent.sameColor : _ref4$percent$sameCol, | ||
_ref4$percent$gap = _ref4$percent.gap, | ||
percentGap = _ref4$percent$gap === void 0 ? defaultLegendOfDoublePie.percent.gap : _ref4$percent$gap, | ||
_ref4$percent$font = _ref4$percent.font, | ||
percentFont = _ref4$percent$font === void 0 ? defaultLegendOfDoublePie.percent.font : _ref4$percent$font, | ||
_ref4$value = _ref4.value; | ||
_ref4$value = _ref4$value === void 0 ? defaultLegendOfDoublePie.value : _ref4$value; | ||
var _ref4$value$show = _ref4$value.show, | ||
showValue = _ref4$value$show === void 0 ? defaultLegendOfDoublePie.value.show : _ref4$value$show, | ||
_ref4$value$sameColor = _ref4$value.sameColor, | ||
valueSameColor = _ref4$value$sameColor === void 0 ? defaultLegendOfDoublePie.value.sameColor : _ref4$value$sameColor, | ||
_ref4$value$gap = _ref4$value.gap, | ||
valueGap = _ref4$value$gap === void 0 ? defaultLegendOfDoublePie.value.gap : _ref4$value$gap, | ||
_ref4$value$font = _ref4$value.font, | ||
valueFont = _ref4$value$font === void 0 ? defaultLegendOfDoublePie.value.font : _ref4$value$font, | ||
_ref4$value$suffix = _ref4$value.suffix; | ||
_ref4$value$suffix = _ref4$value$suffix === void 0 ? defaultLegendOfDoublePie.value.suffix : _ref4$value$suffix; | ||
var _ref4$value$suffix$sh = _ref4$value$suffix.show, | ||
showSuffix = _ref4$value$suffix$sh === void 0 ? defaultLegendOfDoublePie.value.suffix.show : _ref4$value$suffix$sh, | ||
_ref4$value$suffix$te = _ref4$value$suffix.text, | ||
text = _ref4$value$suffix$te === void 0 ? defaultLegendOfDoublePie.value.suffix.text : _ref4$value$suffix$te, | ||
_ref4$value$suffix$fo = _ref4$value$suffix.fontSize, | ||
fontSize = _ref4$value$suffix$fo === void 0 ? defaultLegendOfDoublePie.value.suffix.fontSize : _ref4$value$suffix$fo, | ||
_ref4$value$suffix$tr = _ref4$value$suffix.translate; | ||
_ref4$value$suffix$tr = _ref4$value$suffix$tr === void 0 ? defaultLegendOfDoublePie.value.suffix.translate : _ref4$value$suffix$tr; | ||
var _ref4$value$suffix$tr2 = _ref4$value$suffix$tr.x, | ||
suffixTranslateX = _ref4$value$suffix$tr2 === void 0 ? defaultLegendOfDoublePie.value.suffix.translate.x : _ref4$value$suffix$tr2, | ||
_ref4$value$suffix$tr3 = _ref4$value$suffix$tr.y, | ||
suffixTranslateY = _ref4$value$suffix$tr3 === void 0 ? defaultLegendOfDoublePie.value.suffix.translate.y : _ref4$value$suffix$tr3, | ||
_ref4$layout = _ref4.layout; | ||
_ref4$layout = _ref4$layout === void 0 ? defaultLegendOfDoublePie.layout : _ref4$layout; | ||
var _ref4$layout$gridTemp = _ref4$layout.gridTemplateColumns, | ||
gridTemplateColumns = _ref4$layout$gridTemp === void 0 ? defaultLegendOfDoublePie.layout.gridTemplateColumns : _ref4$layout$gridTemp, | ||
_ref4$layout$gridGap = _ref4$layout.gridGap; | ||
_ref4$layout$gridGap = _ref4$layout$gridGap === void 0 ? defaultLegendOfDoublePie.layout.gridGap : _ref4$layout$gridGap; | ||
var _ref4$layout$gridGap$ = _ref4$layout$gridGap.gridRowGap, | ||
gridRowGap = _ref4$layout$gridGap$ === void 0 ? defaultLegendOfDoublePie.layout.gridGap.gridRowGap : _ref4$layout$gridGap$, | ||
_ref4$layout$gridGap$2 = _ref4$layout$gridGap.gridColumnGap, | ||
gridColumnGap = _ref4$layout$gridGap$2 === void 0 ? defaultLegendOfDoublePie.layout.gridGap.gridColumnGap : _ref4$layout$gridGap$2, | ||
_ref4$layout$alignmen = _ref4$layout.alignment, | ||
alignment = _ref4$layout$alignmen === void 0 ? defaultLegendOfDoublePie.layout.alignment : _ref4$layout$alignmen, | ||
_ref4$layout$translat = _ref4$layout.translate; | ||
_ref4$layout$translat = _ref4$layout$translat === void 0 ? defaultLegendOfDoublePie.layout.translate : _ref4$layout$translat; | ||
var _ref4$layout$translat2 = _ref4$layout$translat.x, | ||
x = _ref4$layout$translat2 === void 0 ? defaultLegendOfDoublePie.layout.translate.x : _ref4$layout$translat2, | ||
_ref4$layout$translat3 = _ref4$layout$translat.y, | ||
y = _ref4$layout$translat3 === void 0 ? defaultLegendOfDoublePie.layout.translate.y : _ref4$layout$translat3, | ||
_ref4$layout$extraInp = _ref4$layout.extraInput, | ||
extraInput = _ref4$layout$extraInp === void 0 ? [] : _ref4$layout$extraInp; | ||
_ref4$name = _ref4.name, | ||
_ref4$name2 = _ref4$name === void 0 ? defaultLegendOfDoublePie.name : _ref4$name, | ||
_ref4$name2$show = _ref4$name2.show, | ||
showName = _ref4$name2$show === void 0 ? defaultLegendOfDoublePie.name.show : _ref4$name2$show, | ||
_ref4$name2$font = _ref4$name2.font, | ||
nameFont = _ref4$name2$font === void 0 ? defaultLegendOfDoublePie.name.font : _ref4$name2$font, | ||
_ref4$name2$maxWidth = _ref4$name2.maxWidth, | ||
maxWidth = _ref4$name2$maxWidth === void 0 ? defaultLegendOfDoublePie.name.maxWidth : _ref4$name2$maxWidth, | ||
overflow = _ref4$name2.overflow, | ||
_ref4$percent = _ref4.percent, | ||
_ref4$percent2 = _ref4$percent === void 0 ? defaultLegendOfDoublePie.percent : _ref4$percent, | ||
_ref4$percent2$show = _ref4$percent2.show, | ||
showPercent = _ref4$percent2$show === void 0 ? defaultLegendOfDoublePie.percent.show : _ref4$percent2$show, | ||
_ref4$percent2$precis = _ref4$percent2.precision, | ||
precision = _ref4$percent2$precis === void 0 ? defaultLegendOfDoublePie.percent.precision : _ref4$percent2$precis, | ||
_ref4$percent2$sameCo = _ref4$percent2.sameColor, | ||
percentSameColor = _ref4$percent2$sameCo === void 0 ? defaultLegendOfDoublePie.percent.sameColor : _ref4$percent2$sameCo, | ||
_ref4$percent2$gap = _ref4$percent2.gap, | ||
percentGap = _ref4$percent2$gap === void 0 ? defaultLegendOfDoublePie.percent.gap : _ref4$percent2$gap, | ||
_ref4$percent2$font = _ref4$percent2.font, | ||
percentFont = _ref4$percent2$font === void 0 ? defaultLegendOfDoublePie.percent.font : _ref4$percent2$font, | ||
_ref4$value = _ref4.value, | ||
_ref4$value2 = _ref4$value === void 0 ? defaultLegendOfDoublePie.value : _ref4$value, | ||
_ref4$value2$show = _ref4$value2.show, | ||
showValue = _ref4$value2$show === void 0 ? defaultLegendOfDoublePie.value.show : _ref4$value2$show, | ||
_ref4$value2$sameColo = _ref4$value2.sameColor, | ||
valueSameColor = _ref4$value2$sameColo === void 0 ? defaultLegendOfDoublePie.value.sameColor : _ref4$value2$sameColo, | ||
_ref4$value2$gap = _ref4$value2.gap, | ||
valueGap = _ref4$value2$gap === void 0 ? defaultLegendOfDoublePie.value.gap : _ref4$value2$gap, | ||
_ref4$value2$font = _ref4$value2.font, | ||
valueFont = _ref4$value2$font === void 0 ? defaultLegendOfDoublePie.value.font : _ref4$value2$font, | ||
_ref4$value2$suffix = _ref4$value2.suffix, | ||
_ref4$value2$suffix2 = _ref4$value2$suffix === void 0 ? defaultLegendOfDoublePie.value.suffix : _ref4$value2$suffix, | ||
_ref4$value2$suffix2$ = _ref4$value2$suffix2.show, | ||
showSuffix = _ref4$value2$suffix2$ === void 0 ? defaultLegendOfDoublePie.value.suffix.show : _ref4$value2$suffix2$, | ||
_ref4$value2$suffix2$2 = _ref4$value2$suffix2.text, | ||
text = _ref4$value2$suffix2$2 === void 0 ? defaultLegendOfDoublePie.value.suffix.text : _ref4$value2$suffix2$2, | ||
_ref4$value2$suffix2$3 = _ref4$value2$suffix2.fontSize, | ||
fontSize = _ref4$value2$suffix2$3 === void 0 ? defaultLegendOfDoublePie.value.suffix.fontSize : _ref4$value2$suffix2$3, | ||
_ref4$value2$suffix2$4 = _ref4$value2$suffix2.translate, | ||
_ref4$value2$suffix2$5 = _ref4$value2$suffix2$4 === void 0 ? defaultLegendOfDoublePie.value.suffix.translate : _ref4$value2$suffix2$4, | ||
_ref4$value2$suffix2$6 = _ref4$value2$suffix2$5.x, | ||
suffixTranslateX = _ref4$value2$suffix2$6 === void 0 ? defaultLegendOfDoublePie.value.suffix.translate.x : _ref4$value2$suffix2$6, | ||
_ref4$value2$suffix2$7 = _ref4$value2$suffix2$5.y, | ||
suffixTranslateY = _ref4$value2$suffix2$7 === void 0 ? defaultLegendOfDoublePie.value.suffix.translate.y : _ref4$value2$suffix2$7, | ||
_ref4$layout = _ref4.layout, | ||
_ref4$layout2 = _ref4$layout === void 0 ? defaultLegendOfDoublePie.layout : _ref4$layout, | ||
_ref4$layout2$gridTem = _ref4$layout2.gridTemplateColumns, | ||
gridTemplateColumns = _ref4$layout2$gridTem === void 0 ? defaultLegendOfDoublePie.layout.gridTemplateColumns : _ref4$layout2$gridTem, | ||
_ref4$layout2$gridGap = _ref4$layout2.gridGap, | ||
_ref4$layout2$gridGap2 = _ref4$layout2$gridGap === void 0 ? defaultLegendOfDoublePie.layout.gridGap : _ref4$layout2$gridGap, | ||
_ref4$layout2$gridGap3 = _ref4$layout2$gridGap2.gridRowGap, | ||
gridRowGap = _ref4$layout2$gridGap3 === void 0 ? defaultLegendOfDoublePie.layout.gridGap.gridRowGap : _ref4$layout2$gridGap3, | ||
_ref4$layout2$gridGap4 = _ref4$layout2$gridGap2.gridColumnGap, | ||
gridColumnGap = _ref4$layout2$gridGap4 === void 0 ? defaultLegendOfDoublePie.layout.gridGap.gridColumnGap : _ref4$layout2$gridGap4, | ||
_ref4$layout2$alignme = _ref4$layout2.alignment, | ||
alignment = _ref4$layout2$alignme === void 0 ? defaultLegendOfDoublePie.layout.alignment : _ref4$layout2$alignme, | ||
_ref4$layout2$transla = _ref4$layout2.translate, | ||
_ref4$layout2$transla2 = _ref4$layout2$transla === void 0 ? defaultLegendOfDoublePie.layout.translate : _ref4$layout2$transla, | ||
_ref4$layout2$transla3 = _ref4$layout2$transla2.x, | ||
x = _ref4$layout2$transla3 === void 0 ? defaultLegendOfDoublePie.layout.translate.x : _ref4$layout2$transla3, | ||
_ref4$layout2$transla4 = _ref4$layout2$transla2.y, | ||
y = _ref4$layout2$transla4 === void 0 ? defaultLegendOfDoublePie.layout.translate.y : _ref4$layout2$transla4, | ||
_ref4$layout2$extraIn = _ref4$layout2.extraInput, | ||
extraInput = _ref4$layout2$extraIn === void 0 ? [] : _ref4$layout2$extraIn; | ||
return { | ||
@@ -795,0 +795,0 @@ name: key, |
@@ -31,10 +31,10 @@ "use strict"; | ||
pure = _ref$pure === void 0 ? defaultMultiColor.pure : _ref$pure, | ||
_ref$linear = _ref.linear; | ||
_ref$linear = _ref$linear === void 0 ? defaultMultiColor.linear : _ref$linear; | ||
var _ref$linear$stops = _ref$linear.stops, | ||
stops = _ref$linear$stops === void 0 ? defaultMultiColor.linear.stops : _ref$linear$stops, | ||
_ref$linear$angle = _ref$linear.angle, | ||
angle = _ref$linear$angle === void 0 ? defaultMultiColor.linear.angle : _ref$linear$angle, | ||
_ref$linear$opacity = _ref$linear.opacity, | ||
opacity = _ref$linear$opacity === void 0 ? defaultMultiColor.linear.opacity : _ref$linear$opacity; | ||
_ref$linear = _ref.linear, | ||
_ref$linear2 = _ref$linear === void 0 ? defaultMultiColor.linear : _ref$linear, | ||
_ref$linear2$stops = _ref$linear2.stops, | ||
stops = _ref$linear2$stops === void 0 ? defaultMultiColor.linear.stops : _ref$linear2$stops, | ||
_ref$linear2$angle = _ref$linear2.angle, | ||
angle = _ref$linear2$angle === void 0 ? defaultMultiColor.linear.angle : _ref$linear2$angle, | ||
_ref$linear2$opacity = _ref$linear2.opacity, | ||
opacity = _ref$linear2$opacity === void 0 ? defaultMultiColor.linear.opacity : _ref$linear2$opacity; | ||
return { | ||
@@ -41,0 +41,0 @@ type: type, |
340
lib/pie.js
@@ -23,12 +23,12 @@ "use strict"; | ||
var _ref = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : defaultBasePie, | ||
_ref$chart = _ref.chart; | ||
_ref$chart = _ref$chart === void 0 ? defaultBasePie.chart : _ref$chart; | ||
var _ref$chart$innerRadiu = _ref$chart.innerRadius, | ||
innerRadius = _ref$chart$innerRadiu === void 0 ? defaultBasePie.chart.innerRadius : _ref$chart$innerRadiu, | ||
_ref$chart$outerRadiu = _ref$chart.outerRadius, | ||
outerRadius = _ref$chart$outerRadiu === void 0 ? defaultBasePie.chart.outerRadius : _ref$chart$outerRadiu, | ||
_ref$chart$cornerRadi = _ref$chart.cornerRadius, | ||
cornerRadius = _ref$chart$cornerRadi === void 0 ? defaultBasePie.chart.cornerRadius : _ref$chart$cornerRadi, | ||
_ref$chart$padAngle = _ref$chart.padAngle, | ||
padAngle = _ref$chart$padAngle === void 0 ? defaultBasePie.chart.padAngle : _ref$chart$padAngle; | ||
_ref$chart = _ref.chart, | ||
_ref$chart2 = _ref$chart === void 0 ? defaultBasePie.chart : _ref$chart, | ||
_ref$chart2$innerRadi = _ref$chart2.innerRadius, | ||
innerRadius = _ref$chart2$innerRadi === void 0 ? defaultBasePie.chart.innerRadius : _ref$chart2$innerRadi, | ||
_ref$chart2$outerRadi = _ref$chart2.outerRadius, | ||
outerRadius = _ref$chart2$outerRadi === void 0 ? defaultBasePie.chart.outerRadius : _ref$chart2$outerRadi, | ||
_ref$chart2$cornerRad = _ref$chart2.cornerRadius, | ||
cornerRadius = _ref$chart2$cornerRad === void 0 ? defaultBasePie.chart.cornerRadius : _ref$chart2$cornerRad, | ||
_ref$chart2$padAngle = _ref$chart2.padAngle, | ||
padAngle = _ref$chart2$padAngle === void 0 ? defaultBasePie.chart.padAngle : _ref$chart2$padAngle; | ||
return { | ||
@@ -91,10 +91,10 @@ name: 'chart', | ||
var _ref2 = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : defaultBaseRose, | ||
_ref2$chart = _ref2.chart; | ||
_ref2$chart = _ref2$chart === void 0 ? defaultBaseRose.chart : _ref2$chart; | ||
var _ref2$chart$innerRadi = _ref2$chart.innerRadius, | ||
innerRadius = _ref2$chart$innerRadi === void 0 ? defaultBaseRose.chart.innerRadius : _ref2$chart$innerRadi, | ||
_ref2$chart$outerRadi = _ref2$chart.outerRadius, | ||
outerRadius = _ref2$chart$outerRadi === void 0 ? defaultBaseRose.chart.outerRadius : _ref2$chart$outerRadi, | ||
_ref2$chart$padAngle = _ref2$chart.padAngle, | ||
padAngle = _ref2$chart$padAngle === void 0 ? defaultBaseRose.chart.padAngle : _ref2$chart$padAngle; | ||
_ref2$chart = _ref2.chart, | ||
_ref2$chart2 = _ref2$chart === void 0 ? defaultBaseRose.chart : _ref2$chart, | ||
_ref2$chart2$innerRad = _ref2$chart2.innerRadius, | ||
innerRadius = _ref2$chart2$innerRad === void 0 ? defaultBaseRose.chart.innerRadius : _ref2$chart2$innerRad, | ||
_ref2$chart2$outerRad = _ref2$chart2.outerRadius, | ||
outerRadius = _ref2$chart2$outerRad === void 0 ? defaultBaseRose.chart.outerRadius : _ref2$chart2$outerRad, | ||
_ref2$chart2$padAngle = _ref2$chart2.padAngle, | ||
padAngle = _ref2$chart2$padAngle === void 0 ? defaultBaseRose.chart.padAngle : _ref2$chart2$padAngle; | ||
return { | ||
@@ -198,12 +198,12 @@ name: 'chart', | ||
var _ref4 = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : defaultRoseAxis, | ||
_ref4$axis = _ref4.axis; | ||
_ref4$axis = _ref4$axis === void 0 ? defaultRoseAxis.axis : _ref4$axis; | ||
var _ref4$axis$textStyle = _ref4$axis.textStyle, | ||
textStyle = _ref4$axis$textStyle === void 0 ? defaultRoseAxis.axis.textStyle : _ref4$axis$textStyle, | ||
_ref4$axis$gap = _ref4$axis.gap, | ||
gap = _ref4$axis$gap === void 0 ? defaultRoseAxis.axis.gap : _ref4$axis$gap, | ||
_ref4$axis$axisLine = _ref4$axis.axisLine, | ||
axisLine_ = _ref4$axis$axisLine === void 0 ? defaultRoseAxis.axis.axisline : _ref4$axis$axisLine, | ||
_ref4$axis$gridLine = _ref4$axis.gridLine, | ||
gridLine_ = _ref4$axis$gridLine === void 0 ? defaultRoseAxis.axis.gridLine : _ref4$axis$gridLine; | ||
_ref4$axis = _ref4.axis, | ||
_ref4$axis2 = _ref4$axis === void 0 ? defaultRoseAxis.axis : _ref4$axis, | ||
_ref4$axis2$textStyle = _ref4$axis2.textStyle, | ||
textStyle = _ref4$axis2$textStyle === void 0 ? defaultRoseAxis.axis.textStyle : _ref4$axis2$textStyle, | ||
_ref4$axis2$gap = _ref4$axis2.gap, | ||
gap = _ref4$axis2$gap === void 0 ? defaultRoseAxis.axis.gap : _ref4$axis2$gap, | ||
_ref4$axis2$axisLine = _ref4$axis2.axisLine, | ||
axisLine_ = _ref4$axis2$axisLine === void 0 ? defaultRoseAxis.axis.axisline : _ref4$axis2$axisLine, | ||
_ref4$axis2$gridLine = _ref4$axis2.gridLine, | ||
gridLine_ = _ref4$axis2$gridLine === void 0 ? defaultRoseAxis.axis.gridLine : _ref4$axis2$gridLine; | ||
return { | ||
@@ -234,14 +234,14 @@ name: 'categoryAxis', | ||
var _ref5 = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : defaultRoseAxis, | ||
_ref5$axis = _ref5.axis; | ||
_ref5$axis = _ref5$axis === void 0 ? defaultRoseAxis.axis : _ref5$axis; | ||
var _ref5$axis$count = _ref5$axis.count, | ||
count = _ref5$axis$count === void 0 ? defaultRoseAxis.axis.count : _ref5$axis$count, | ||
_ref5$axis$textStyle = _ref5$axis.textStyle, | ||
textStyle = _ref5$axis$textStyle === void 0 ? defaultRoseAxis.axis.textStyle : _ref5$axis$textStyle, | ||
_ref5$axis$gap = _ref5$axis.gap, | ||
gap = _ref5$axis$gap === void 0 ? defaultRoseAxis.axis.gap : _ref5$axis$gap, | ||
_ref5$axis$axisLine = _ref5$axis.axisLine, | ||
axisLine_ = _ref5$axis$axisLine === void 0 ? defaultRoseAxis.axis.axisline : _ref5$axis$axisLine, | ||
_ref5$axis$gridLine = _ref5$axis.gridLine, | ||
gridLine_ = _ref5$axis$gridLine === void 0 ? defaultRoseAxis.axis.gridLine : _ref5$axis$gridLine; | ||
_ref5$axis = _ref5.axis, | ||
_ref5$axis2 = _ref5$axis === void 0 ? defaultRoseAxis.axis : _ref5$axis, | ||
_ref5$axis2$count = _ref5$axis2.count, | ||
count = _ref5$axis2$count === void 0 ? defaultRoseAxis.axis.count : _ref5$axis2$count, | ||
_ref5$axis2$textStyle = _ref5$axis2.textStyle, | ||
textStyle = _ref5$axis2$textStyle === void 0 ? defaultRoseAxis.axis.textStyle : _ref5$axis2$textStyle, | ||
_ref5$axis2$gap = _ref5$axis2.gap, | ||
gap = _ref5$axis2$gap === void 0 ? defaultRoseAxis.axis.gap : _ref5$axis2$gap, | ||
_ref5$axis2$axisLine = _ref5$axis2.axisLine, | ||
axisLine_ = _ref5$axis2$axisLine === void 0 ? defaultRoseAxis.axis.axisline : _ref5$axis2$axisLine, | ||
_ref5$axis2$gridLine = _ref5$axis2.gridLine, | ||
gridLine_ = _ref5$axis2$gridLine === void 0 ? defaultRoseAxis.axis.gridLine : _ref5$axis2$gridLine; | ||
return { | ||
@@ -283,10 +283,10 @@ name: 'valueAxis', | ||
var categoryText = function categoryText(_ref6) { | ||
var _ref6$categoryText = _ref6.categoryText; | ||
_ref6$categoryText = _ref6$categoryText === void 0 ? defaultCategoryText : _ref6$categoryText; | ||
var _ref6$categoryText$sh = _ref6$categoryText.show, | ||
show = _ref6$categoryText$sh === void 0 ? defaultCategoryText.categoryText.show : _ref6$categoryText$sh, | ||
_ref6$categoryText$fo = _ref6$categoryText.font, | ||
font = _ref6$categoryText$fo === void 0 ? defaultCategoryText.categoryText.font : _ref6$categoryText$fo, | ||
_ref6$categoryText$ga = _ref6$categoryText.gap, | ||
gap = _ref6$categoryText$ga === void 0 ? defaultCategoryText.categoryText.gap : _ref6$categoryText$ga; | ||
var _ref6$categoryText = _ref6.categoryText, | ||
_ref6$categoryText2 = _ref6$categoryText === void 0 ? defaultCategoryText : _ref6$categoryText, | ||
_ref6$categoryText2$s = _ref6$categoryText2.show, | ||
show = _ref6$categoryText2$s === void 0 ? defaultCategoryText.categoryText.show : _ref6$categoryText2$s, | ||
_ref6$categoryText2$f = _ref6$categoryText2.font, | ||
font = _ref6$categoryText2$f === void 0 ? defaultCategoryText.categoryText.font : _ref6$categoryText2$f, | ||
_ref6$categoryText2$g = _ref6$categoryText2.gap, | ||
gap = _ref6$categoryText2$g === void 0 ? defaultCategoryText.categoryText.gap : _ref6$categoryText2$g; | ||
return { | ||
@@ -328,16 +328,16 @@ name: 'categoryText', | ||
var decorate = function decorate(_ref7) { | ||
var _ref7$decorate = _ref7.decorate; | ||
_ref7$decorate = _ref7$decorate === void 0 ? defaultDecorate : _ref7$decorate; | ||
var _ref7$decorate$show = _ref7$decorate.show, | ||
show = _ref7$decorate$show === void 0 ? defaultDecorate.decorate.show : _ref7$decorate$show, | ||
_ref7$decorate$innerR = _ref7$decorate.innerRadius, | ||
innerRadius = _ref7$decorate$innerR === void 0 ? defaultDecorate.decorate.innerRadius : _ref7$decorate$innerR, | ||
_ref7$decorate$outerR = _ref7$decorate.outerRadius, | ||
outerRadius = _ref7$decorate$outerR === void 0 ? defaultDecorate.decorate.outerRadius : _ref7$decorate$outerR, | ||
_ref7$decorate$opacit = _ref7$decorate.opacity, | ||
opacity = _ref7$decorate$opacit === void 0 ? defaultDecorate.decorate.opacity : _ref7$decorate$opacit, | ||
_ref7$decorate$speed = _ref7$decorate.speed, | ||
speed = _ref7$decorate$speed === void 0 ? defaultDecorate.decorate.speed : _ref7$decorate$speed, | ||
_ref7$decorate$direct = _ref7$decorate.direction, | ||
direction = _ref7$decorate$direct === void 0 ? defaultDecorate.decorate.direction : _ref7$decorate$direct; | ||
var _ref7$decorate = _ref7.decorate, | ||
_ref7$decorate2 = _ref7$decorate === void 0 ? defaultDecorate : _ref7$decorate, | ||
_ref7$decorate2$show = _ref7$decorate2.show, | ||
show = _ref7$decorate2$show === void 0 ? defaultDecorate.decorate.show : _ref7$decorate2$show, | ||
_ref7$decorate2$inner = _ref7$decorate2.innerRadius, | ||
innerRadius = _ref7$decorate2$inner === void 0 ? defaultDecorate.decorate.innerRadius : _ref7$decorate2$inner, | ||
_ref7$decorate2$outer = _ref7$decorate2.outerRadius, | ||
outerRadius = _ref7$decorate2$outer === void 0 ? defaultDecorate.decorate.outerRadius : _ref7$decorate2$outer, | ||
_ref7$decorate2$opaci = _ref7$decorate2.opacity, | ||
opacity = _ref7$decorate2$opaci === void 0 ? defaultDecorate.decorate.opacity : _ref7$decorate2$opaci, | ||
_ref7$decorate2$speed = _ref7$decorate2.speed, | ||
speed = _ref7$decorate2$speed === void 0 ? defaultDecorate.decorate.speed : _ref7$decorate2$speed, | ||
_ref7$decorate2$direc = _ref7$decorate2.direction, | ||
direction = _ref7$decorate2$direc === void 0 ? defaultDecorate.decorate.direction : _ref7$decorate2$direc; | ||
return { | ||
@@ -501,58 +501,58 @@ name: 'decorate', | ||
var _ref9 = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : defaultCurrent, | ||
_ref9$current = _ref9.current; | ||
_ref9$current = _ref9$current === void 0 ? defaultCurrent.current : _ref9$current; | ||
var _ref9$current$show = _ref9$current.show, | ||
show = _ref9$current$show === void 0 ? defaultCurrent.current.show : _ref9$current$show, | ||
_ref9$current$gap = _ref9$current.gap, | ||
gap = _ref9$current$gap === void 0 ? defaultCurrent.current.gap : _ref9$current$gap, | ||
_ref9$current$name = _ref9$current.name; | ||
_ref9$current$name = _ref9$current$name === void 0 ? defaultCurrent.current.name : _ref9$current$name; | ||
var _ref9$current$name$sh = _ref9$current$name.show, | ||
showName = _ref9$current$name$sh === void 0 ? defaultCurrent.current.name.show : _ref9$current$name$sh, | ||
_ref9$current$name$sa = _ref9$current$name.sameColor, | ||
nameColor = _ref9$current$name$sa === void 0 ? defaultCurrent.current.name.sameColor : _ref9$current$name$sa, | ||
_ref9$current$name$fo = _ref9$current$name.font, | ||
nameFont = _ref9$current$name$fo === void 0 ? defaultCurrent.current.name.font : _ref9$current$name$fo, | ||
nameTranslate = _ref9$current$name.translate, | ||
_ref9$current$name$ma = _ref9$current$name.maxWidth, | ||
maxWidth = _ref9$current$name$ma === void 0 ? defaultCurrent.current.name.maxWidth : _ref9$current$name$ma, | ||
overflow = _ref9$current$name.overflow, | ||
_ref9$current$percent = _ref9$current.percent; | ||
_ref9$current$percent = _ref9$current$percent === void 0 ? defaultCurrent.current.percent : _ref9$current$percent; | ||
var _ref9$current$percent2 = _ref9$current$percent.show, | ||
showPercent = _ref9$current$percent2 === void 0 ? defaultCurrent.current.percent.show : _ref9$current$percent2, | ||
_ref9$current$percent3 = _ref9$current$percent.sameColor, | ||
percentColor = _ref9$current$percent3 === void 0 ? defaultCurrent.current.percent.sameColor : _ref9$current$percent3, | ||
_ref9$current$percent4 = _ref9$current$percent.precision, | ||
precision = _ref9$current$percent4 === void 0 ? defaultCurrent.current.percent.precision : _ref9$current$percent4, | ||
_ref9$current$percent5 = _ref9$current$percent.font, | ||
percentFont = _ref9$current$percent5 === void 0 ? defaultCurrent.current.percent.font : _ref9$current$percent5, | ||
_ref9$current$percent6 = _ref9$current$percent.translate; | ||
_ref9$current$percent6 = _ref9$current$percent6 === void 0 ? defaultCurrent.current.percent.translate : _ref9$current$percent6; | ||
var percentTranslateX = _ref9$current$percent6.x, | ||
percentTranslateY = _ref9$current$percent6.y, | ||
_ref9$current$value = _ref9$current.value; | ||
_ref9$current$value = _ref9$current$value === void 0 ? defaultCurrent.current.value : _ref9$current$value; | ||
var _ref9$current$value$s = _ref9$current$value.show, | ||
showValue = _ref9$current$value$s === void 0 ? defaultCurrent.current.value.show : _ref9$current$value$s, | ||
_ref9$current$value$s2 = _ref9$current$value.sameColor, | ||
valueColor = _ref9$current$value$s2 === void 0 ? defaultCurrent.current.value.sameColor : _ref9$current$value$s2, | ||
_ref9$current$value$f = _ref9$current$value.font, | ||
valueFont = _ref9$current$value$f === void 0 ? defaultCurrent.current.value.font : _ref9$current$value$f, | ||
_ref9$current$value$t = _ref9$current$value.translate; | ||
_ref9$current$value$t = _ref9$current$value$t === void 0 ? defaultCurrent.current.value.translate : _ref9$current$value$t; | ||
var valueTranslateX = _ref9$current$value$t.x, | ||
valueTranslateY = _ref9$current$value$t.y, | ||
_ref9$current$value$s3 = _ref9$current$value.suffix; | ||
_ref9$current$value$s3 = _ref9$current$value$s3 === void 0 ? defaultCurrent.current.value.suffix : _ref9$current$value$s3; | ||
var _ref9$current$value$s4 = _ref9$current$value$s3.show, | ||
showSuffix = _ref9$current$value$s4 === void 0 ? defaultCurrent.current.value.suffix.show : _ref9$current$value$s4, | ||
_ref9$current$value$s5 = _ref9$current$value$s3.text, | ||
text = _ref9$current$value$s5 === void 0 ? defaultCurrent.current.value.suffix.text : _ref9$current$value$s5, | ||
_ref9$current$value$s6 = _ref9$current$value$s3.fontSize, | ||
fontSize = _ref9$current$value$s6 === void 0 ? defaultCurrent.current.value.suffix.fontSize : _ref9$current$value$s6, | ||
_ref9$current$value$s7 = _ref9$current$value$s3.translate; | ||
_ref9$current$value$s7 = _ref9$current$value$s7 === void 0 ? defaultCurrent.current.value.suffix.translate : _ref9$current$value$s7; | ||
var suffixTranslateX = _ref9$current$value$s7.x, | ||
suffixTranslateY = _ref9$current$value$s7.y; | ||
_ref9$current = _ref9.current, | ||
_ref9$current2 = _ref9$current === void 0 ? defaultCurrent.current : _ref9$current, | ||
_ref9$current2$show = _ref9$current2.show, | ||
show = _ref9$current2$show === void 0 ? defaultCurrent.current.show : _ref9$current2$show, | ||
_ref9$current2$gap = _ref9$current2.gap, | ||
gap = _ref9$current2$gap === void 0 ? defaultCurrent.current.gap : _ref9$current2$gap, | ||
_ref9$current2$name = _ref9$current2.name, | ||
_ref9$current2$name2 = _ref9$current2$name === void 0 ? defaultCurrent.current.name : _ref9$current2$name, | ||
_ref9$current2$name2$ = _ref9$current2$name2.show, | ||
showName = _ref9$current2$name2$ === void 0 ? defaultCurrent.current.name.show : _ref9$current2$name2$, | ||
_ref9$current2$name2$2 = _ref9$current2$name2.sameColor, | ||
nameColor = _ref9$current2$name2$2 === void 0 ? defaultCurrent.current.name.sameColor : _ref9$current2$name2$2, | ||
_ref9$current2$name2$3 = _ref9$current2$name2.font, | ||
nameFont = _ref9$current2$name2$3 === void 0 ? defaultCurrent.current.name.font : _ref9$current2$name2$3, | ||
nameTranslate = _ref9$current2$name2.translate, | ||
_ref9$current2$name2$4 = _ref9$current2$name2.maxWidth, | ||
maxWidth = _ref9$current2$name2$4 === void 0 ? defaultCurrent.current.name.maxWidth : _ref9$current2$name2$4, | ||
overflow = _ref9$current2$name2.overflow, | ||
_ref9$current2$percen = _ref9$current2.percent, | ||
_ref9$current2$percen2 = _ref9$current2$percen === void 0 ? defaultCurrent.current.percent : _ref9$current2$percen, | ||
_ref9$current2$percen3 = _ref9$current2$percen2.show, | ||
showPercent = _ref9$current2$percen3 === void 0 ? defaultCurrent.current.percent.show : _ref9$current2$percen3, | ||
_ref9$current2$percen4 = _ref9$current2$percen2.sameColor, | ||
percentColor = _ref9$current2$percen4 === void 0 ? defaultCurrent.current.percent.sameColor : _ref9$current2$percen4, | ||
_ref9$current2$percen5 = _ref9$current2$percen2.precision, | ||
precision = _ref9$current2$percen5 === void 0 ? defaultCurrent.current.percent.precision : _ref9$current2$percen5, | ||
_ref9$current2$percen6 = _ref9$current2$percen2.font, | ||
percentFont = _ref9$current2$percen6 === void 0 ? defaultCurrent.current.percent.font : _ref9$current2$percen6, | ||
_ref9$current2$percen7 = _ref9$current2$percen2.translate, | ||
_ref9$current2$percen8 = _ref9$current2$percen7 === void 0 ? defaultCurrent.current.percent.translate : _ref9$current2$percen7, | ||
percentTranslateX = _ref9$current2$percen8.x, | ||
percentTranslateY = _ref9$current2$percen8.y, | ||
_ref9$current2$value = _ref9$current2.value, | ||
_ref9$current2$value2 = _ref9$current2$value === void 0 ? defaultCurrent.current.value : _ref9$current2$value, | ||
_ref9$current2$value3 = _ref9$current2$value2.show, | ||
showValue = _ref9$current2$value3 === void 0 ? defaultCurrent.current.value.show : _ref9$current2$value3, | ||
_ref9$current2$value4 = _ref9$current2$value2.sameColor, | ||
valueColor = _ref9$current2$value4 === void 0 ? defaultCurrent.current.value.sameColor : _ref9$current2$value4, | ||
_ref9$current2$value5 = _ref9$current2$value2.font, | ||
valueFont = _ref9$current2$value5 === void 0 ? defaultCurrent.current.value.font : _ref9$current2$value5, | ||
_ref9$current2$value6 = _ref9$current2$value2.translate, | ||
_ref9$current2$value7 = _ref9$current2$value6 === void 0 ? defaultCurrent.current.value.translate : _ref9$current2$value6, | ||
valueTranslateX = _ref9$current2$value7.x, | ||
valueTranslateY = _ref9$current2$value7.y, | ||
_ref9$current2$value8 = _ref9$current2$value2.suffix, | ||
_ref9$current2$value9 = _ref9$current2$value8 === void 0 ? defaultCurrent.current.value.suffix : _ref9$current2$value8, | ||
_ref9$current2$value10 = _ref9$current2$value9.show, | ||
showSuffix = _ref9$current2$value10 === void 0 ? defaultCurrent.current.value.suffix.show : _ref9$current2$value10, | ||
_ref9$current2$value11 = _ref9$current2$value9.text, | ||
text = _ref9$current2$value11 === void 0 ? defaultCurrent.current.value.suffix.text : _ref9$current2$value11, | ||
_ref9$current2$value12 = _ref9$current2$value9.fontSize, | ||
fontSize = _ref9$current2$value12 === void 0 ? defaultCurrent.current.value.suffix.fontSize : _ref9$current2$value12, | ||
_ref9$current2$value13 = _ref9$current2$value9.translate, | ||
_ref9$current2$value14 = _ref9$current2$value13 === void 0 ? defaultCurrent.current.value.suffix.translate : _ref9$current2$value13, | ||
suffixTranslateX = _ref9$current2$value14.x, | ||
suffixTranslateY = _ref9$current2$value14.y; | ||
return { | ||
@@ -684,10 +684,10 @@ name: 'current', | ||
var _ref10 = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : defaultBaseOuter, | ||
_ref10$chart = _ref10.chart; | ||
_ref10$chart = _ref10$chart === void 0 ? defaultBasePie.chart : _ref10$chart; | ||
var _ref10$chart$innerRad = _ref10$chart.innerRadius, | ||
innerRadius = _ref10$chart$innerRad === void 0 ? defaultBasePie.chart.innerRadius : _ref10$chart$innerRad, | ||
_ref10$chart$outerRad = _ref10$chart.outerRadius, | ||
outerRadius = _ref10$chart$outerRad === void 0 ? defaultBasePie.chart.outerRadius : _ref10$chart$outerRad, | ||
_ref10$chart$padAngle = _ref10$chart.padAngle, | ||
padAngle = _ref10$chart$padAngle === void 0 ? defaultBasePie.chart.padAngle : _ref10$chart$padAngle; | ||
_ref10$chart = _ref10.chart, | ||
_ref10$chart2 = _ref10$chart === void 0 ? defaultBasePie.chart : _ref10$chart, | ||
_ref10$chart2$innerRa = _ref10$chart2.innerRadius, | ||
innerRadius = _ref10$chart2$innerRa === void 0 ? defaultBasePie.chart.innerRadius : _ref10$chart2$innerRa, | ||
_ref10$chart2$outerRa = _ref10$chart2.outerRadius, | ||
outerRadius = _ref10$chart2$outerRa === void 0 ? defaultBasePie.chart.outerRadius : _ref10$chart2$outerRa, | ||
_ref10$chart2$padAngl = _ref10$chart2.padAngle, | ||
padAngle = _ref10$chart2$padAngl === void 0 ? defaultBasePie.chart.padAngle : _ref10$chart2$padAngl; | ||
return { | ||
@@ -748,20 +748,20 @@ name: 'chart', | ||
var _ref11 = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : defaultOuterDecorate, | ||
_ref11$outerDecorate = _ref11.outerDecorate; | ||
_ref11$outerDecorate = _ref11$outerDecorate === void 0 ? defaultOuterDecorate.outerDecorate : _ref11$outerDecorate; | ||
var _ref11$outerDecorate$ = _ref11$outerDecorate.color, | ||
color = _ref11$outerDecorate$ === void 0 ? defaultOuterDecorate.outerDecorate.color : _ref11$outerDecorate$, | ||
_ref11$outerDecorate$2 = _ref11$outerDecorate.width, | ||
width = _ref11$outerDecorate$2 === void 0 ? defaultOuterDecorate.outerDecorate.width : _ref11$outerDecorate$2, | ||
_ref11$outerDecorate$3 = _ref11$outerDecorate.tick; | ||
_ref11$outerDecorate$3 = _ref11$outerDecorate$3 === void 0 ? defaultOuterDecorate.outerDecorate.tick : _ref11$outerDecorate$3; | ||
var _ref11$outerDecorate$4 = _ref11$outerDecorate$3.show, | ||
show = _ref11$outerDecorate$4 === void 0 ? defaultOuterDecorate.outerDecorate.tick.show : _ref11$outerDecorate$4, | ||
_ref11$outerDecorate$5 = _ref11$outerDecorate$3.count, | ||
count = _ref11$outerDecorate$5 === void 0 ? defaultOuterDecorate.outerDecorate.tick.count : _ref11$outerDecorate$5, | ||
_ref11$outerDecorate$6 = _ref11$outerDecorate$3.color, | ||
tickColor = _ref11$outerDecorate$6 === void 0 ? defaultOuterDecorate.outerDecorate.tick.color : _ref11$outerDecorate$6, | ||
_ref11$outerDecorate$7 = _ref11$outerDecorate$3.width, | ||
tickWidth = _ref11$outerDecorate$7 === void 0 ? defaultOuterDecorate.outerDecorate.tick.width : _ref11$outerDecorate$7, | ||
_ref11$outerDecorate$8 = _ref11$outerDecorate$3.length, | ||
length = _ref11$outerDecorate$8 === void 0 ? defaultOuterDecorate.outerDecorate.tick.length : _ref11$outerDecorate$8; | ||
_ref11$outerDecorate = _ref11.outerDecorate, | ||
_ref11$outerDecorate2 = _ref11$outerDecorate === void 0 ? defaultOuterDecorate.outerDecorate : _ref11$outerDecorate, | ||
_ref11$outerDecorate3 = _ref11$outerDecorate2.color, | ||
color = _ref11$outerDecorate3 === void 0 ? defaultOuterDecorate.outerDecorate.color : _ref11$outerDecorate3, | ||
_ref11$outerDecorate4 = _ref11$outerDecorate2.width, | ||
width = _ref11$outerDecorate4 === void 0 ? defaultOuterDecorate.outerDecorate.width : _ref11$outerDecorate4, | ||
_ref11$outerDecorate5 = _ref11$outerDecorate2.tick, | ||
_ref11$outerDecorate6 = _ref11$outerDecorate5 === void 0 ? defaultOuterDecorate.outerDecorate.tick : _ref11$outerDecorate5, | ||
_ref11$outerDecorate7 = _ref11$outerDecorate6.show, | ||
show = _ref11$outerDecorate7 === void 0 ? defaultOuterDecorate.outerDecorate.tick.show : _ref11$outerDecorate7, | ||
_ref11$outerDecorate8 = _ref11$outerDecorate6.count, | ||
count = _ref11$outerDecorate8 === void 0 ? defaultOuterDecorate.outerDecorate.tick.count : _ref11$outerDecorate8, | ||
_ref11$outerDecorate9 = _ref11$outerDecorate6.color, | ||
tickColor = _ref11$outerDecorate9 === void 0 ? defaultOuterDecorate.outerDecorate.tick.color : _ref11$outerDecorate9, | ||
_ref11$outerDecorate10 = _ref11$outerDecorate6.width, | ||
tickWidth = _ref11$outerDecorate10 === void 0 ? defaultOuterDecorate.outerDecorate.tick.width : _ref11$outerDecorate10, | ||
_ref11$outerDecorate11 = _ref11$outerDecorate6.length, | ||
length = _ref11$outerDecorate11 === void 0 ? defaultOuterDecorate.outerDecorate.tick.length : _ref11$outerDecorate11; | ||
return { | ||
@@ -927,28 +927,28 @@ name: 'outerDecorate', | ||
var _ref15 = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : defaultPie, | ||
_ref15$fan = _ref15.fan; | ||
_ref15$fan = _ref15$fan === void 0 ? defaultPie.fan : _ref15$fan; | ||
var _ref15$fan$chart = _ref15$fan.chart; | ||
_ref15$fan$chart = _ref15$fan$chart === void 0 ? defaultPie.fan.chart : _ref15$fan$chart; | ||
var _ref15$fan$chart$oute = _ref15$fan$chart.outerRadius, | ||
outerRadius = _ref15$fan$chart$oute === void 0 ? defaultPie.fan.chart.outerRadius : _ref15$fan$chart$oute, | ||
_ref15$fan$chart$rose = _ref15$fan$chart.rose, | ||
rose = _ref15$fan$chart$rose === void 0 ? defaultPie.fan.chart.rose : _ref15$fan$chart$rose, | ||
_ref15$fan$chart$base = _ref15$fan$chart.baseRadius, | ||
baseRadius = _ref15$fan$chart$base === void 0 ? defaultPie.fan.chart.baseRadius : _ref15$fan$chart$base, | ||
_ref15$fan$angle = _ref15$fan.angle; | ||
_ref15$fan$angle = _ref15$fan$angle === void 0 ? defaultPie.fan.angle : _ref15$fan$angle; | ||
var _ref15$fan$angle$star = _ref15$fan$angle.startAngle, | ||
startAngle = _ref15$fan$angle$star === void 0 ? defaultPie.fan.angle.startAngle : _ref15$fan$angle$star, | ||
_ref15$fan$angle$endA = _ref15$fan$angle.endAngle, | ||
endAngle = _ref15$fan$angle$endA === void 0 ? defaultPie.fan.angle.endAngle : _ref15$fan$angle$endA, | ||
_ref15$fan$angle$anti = _ref15$fan$angle.antiClockwise, | ||
antiClockwise = _ref15$fan$angle$anti === void 0 ? defaultPie.fan.angle.antiClockwise : _ref15$fan$angle$anti, | ||
_ref15$fan$stroke = _ref15$fan.stroke; | ||
_ref15$fan$stroke = _ref15$fan$stroke === void 0 ? defaultPie.fan.stroke : _ref15$fan$stroke; | ||
var _ref15$fan$stroke$sho = _ref15$fan$stroke.show, | ||
show = _ref15$fan$stroke$sho === void 0 ? defaultPie.fan.stroke.show : _ref15$fan$stroke$sho, | ||
_ref15$fan$stroke$str = _ref15$fan$stroke.strokeWidth, | ||
strokeWidth = _ref15$fan$stroke$str === void 0 ? defaultPie.fan.stroke.strokeWidth : _ref15$fan$stroke$str, | ||
_ref15$fan$stroke$col = _ref15$fan$stroke.color, | ||
color = _ref15$fan$stroke$col === void 0 ? defaultPie.fan.stroke.color : _ref15$fan$stroke$col; | ||
_ref15$fan = _ref15.fan, | ||
_ref15$fan2 = _ref15$fan === void 0 ? defaultPie.fan : _ref15$fan, | ||
_ref15$fan2$chart = _ref15$fan2.chart, | ||
_ref15$fan2$chart2 = _ref15$fan2$chart === void 0 ? defaultPie.fan.chart : _ref15$fan2$chart, | ||
_ref15$fan2$chart2$ou = _ref15$fan2$chart2.outerRadius, | ||
outerRadius = _ref15$fan2$chart2$ou === void 0 ? defaultPie.fan.chart.outerRadius : _ref15$fan2$chart2$ou, | ||
_ref15$fan2$chart2$ro = _ref15$fan2$chart2.rose, | ||
rose = _ref15$fan2$chart2$ro === void 0 ? defaultPie.fan.chart.rose : _ref15$fan2$chart2$ro, | ||
_ref15$fan2$chart2$ba = _ref15$fan2$chart2.baseRadius, | ||
baseRadius = _ref15$fan2$chart2$ba === void 0 ? defaultPie.fan.chart.baseRadius : _ref15$fan2$chart2$ba, | ||
_ref15$fan2$angle = _ref15$fan2.angle, | ||
_ref15$fan2$angle2 = _ref15$fan2$angle === void 0 ? defaultPie.fan.angle : _ref15$fan2$angle, | ||
_ref15$fan2$angle2$st = _ref15$fan2$angle2.startAngle, | ||
startAngle = _ref15$fan2$angle2$st === void 0 ? defaultPie.fan.angle.startAngle : _ref15$fan2$angle2$st, | ||
_ref15$fan2$angle2$en = _ref15$fan2$angle2.endAngle, | ||
endAngle = _ref15$fan2$angle2$en === void 0 ? defaultPie.fan.angle.endAngle : _ref15$fan2$angle2$en, | ||
_ref15$fan2$angle2$an = _ref15$fan2$angle2.antiClockwise, | ||
antiClockwise = _ref15$fan2$angle2$an === void 0 ? defaultPie.fan.angle.antiClockwise : _ref15$fan2$angle2$an, | ||
_ref15$fan2$stroke = _ref15$fan2.stroke, | ||
_ref15$fan2$stroke2 = _ref15$fan2$stroke === void 0 ? defaultPie.fan.stroke : _ref15$fan2$stroke, | ||
_ref15$fan2$stroke2$s = _ref15$fan2$stroke2.show, | ||
show = _ref15$fan2$stroke2$s === void 0 ? defaultPie.fan.stroke.show : _ref15$fan2$stroke2$s, | ||
_ref15$fan2$stroke2$s2 = _ref15$fan2$stroke2.strokeWidth, | ||
strokeWidth = _ref15$fan2$stroke2$s2 === void 0 ? defaultPie.fan.stroke.strokeWidth : _ref15$fan2$stroke2$s2, | ||
_ref15$fan2$stroke2$c = _ref15$fan2$stroke2.color, | ||
color = _ref15$fan2$stroke2$c === void 0 ? defaultPie.fan.stroke.color : _ref15$fan2$stroke2$c; | ||
return { | ||
@@ -955,0 +955,0 @@ name: 'fan', |
@@ -69,8 +69,8 @@ "use strict"; | ||
var _ref = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : defaultBandSeries, | ||
_ref$mapping = _ref.mapping; | ||
_ref$mapping = _ref$mapping === void 0 ? defaultBandSeries.mapping : _ref$mapping; | ||
var _ref$mapping$fieldNam = _ref$mapping.fieldName, | ||
fieldName = _ref$mapping$fieldNam === void 0 ? defaultBandSeries.mapping.fieldName : _ref$mapping$fieldNam, | ||
_ref$mapping$displayN = _ref$mapping.displayName, | ||
displayName = _ref$mapping$displayN === void 0 ? defaultBandSeries.mapping.displayName : _ref$mapping$displayN, | ||
_ref$mapping = _ref.mapping, | ||
_ref$mapping2 = _ref$mapping === void 0 ? defaultBandSeries.mapping : _ref$mapping, | ||
_ref$mapping2$fieldNa = _ref$mapping2.fieldName, | ||
fieldName = _ref$mapping2$fieldNa === void 0 ? defaultBandSeries.mapping.fieldName : _ref$mapping2$fieldNa, | ||
_ref$mapping2$display = _ref$mapping2.displayName, | ||
displayName = _ref$mapping2$display === void 0 ? defaultBandSeries.mapping.displayName : _ref$mapping2$display, | ||
_ref$yOrZ = _ref.yOrZ, | ||
@@ -92,19 +92,19 @@ yOrZ = _ref$yOrZ === void 0 ? defaultBandSeries.yOrZ : _ref$yOrZ, | ||
borderColor = _ref$borderColor === void 0 ? defaultBandSeries.borderColor : _ref$borderColor, | ||
_ref$size = _ref.size; | ||
_ref$size = _ref$size === void 0 ? defaultBandSeries.size : _ref$size; | ||
var _ref$size$width = _ref$size.width, | ||
urlWidth = _ref$size$width === void 0 ? defaultBandSeries.size.width : _ref$size$width, | ||
_ref$size$height = _ref$size.height, | ||
urlHeight = _ref$size$height === void 0 ? defaultBandSeries.size.height : _ref$size$height, | ||
_ref$size = _ref.size, | ||
_ref$size2 = _ref$size === void 0 ? defaultBandSeries.size : _ref$size, | ||
_ref$size2$width = _ref$size2.width, | ||
urlWidth = _ref$size2$width === void 0 ? defaultBandSeries.size.width : _ref$size2$width, | ||
_ref$size2$height = _ref$size2.height, | ||
urlHeight = _ref$size2$height === void 0 ? defaultBandSeries.size.height : _ref$size2$height, | ||
_ref$opacity = _ref.opacity, | ||
opacity = _ref$opacity === void 0 ? defaultBandSeries.opacity : _ref$opacity, | ||
headDecorate = _ref.headDecorate, | ||
_ref$highlight = _ref.highlight; | ||
_ref$highlight = _ref$highlight === void 0 ? defaultBandSeries.highlight : _ref$highlight; | ||
var _ref$highlight$show = _ref$highlight.show, | ||
showHighlight = _ref$highlight$show === void 0 ? defaultBandSeries.highlight.show : _ref$highlight$show, | ||
_ref$highlight$extent = _ref$highlight.extent, | ||
highlightExtent = _ref$highlight$extent === void 0 ? defaultBandSeries.highlight.extent : _ref$highlight$extent, | ||
_ref$highlight$fill = _ref$highlight.fill, | ||
highlightFill = _ref$highlight$fill === void 0 ? defaultBandSeries.highlight.fill : _ref$highlight$fill, | ||
_ref$highlight = _ref.highlight, | ||
_ref$highlight2 = _ref$highlight === void 0 ? defaultBandSeries.highlight : _ref$highlight, | ||
_ref$highlight2$show = _ref$highlight2.show, | ||
showHighlight = _ref$highlight2$show === void 0 ? defaultBandSeries.highlight.show : _ref$highlight2$show, | ||
_ref$highlight2$exten = _ref$highlight2.extent, | ||
highlightExtent = _ref$highlight2$exten === void 0 ? defaultBandSeries.highlight.extent : _ref$highlight2$exten, | ||
_ref$highlight2$fill = _ref$highlight2.fill, | ||
highlightFill = _ref$highlight2$fill === void 0 ? defaultBandSeries.highlight.fill : _ref$highlight2$fill, | ||
bandLabel = _ref.label; | ||
@@ -518,14 +518,14 @@ return { | ||
mode = _ref4$mode === void 0 ? defaultIcon.mode : _ref4$mode, | ||
_ref4$inner = _ref4.inner; | ||
_ref4$inner = _ref4$inner === void 0 ? defaultIcon.inner : _ref4$inner; | ||
var _ref4$inner$color = _ref4$inner.color, | ||
innerColor = _ref4$inner$color === void 0 ? defaultIcon.inner.color : _ref4$inner$color, | ||
_ref4$inner$radius = _ref4$inner.radius, | ||
innerRadius = _ref4$inner$radius === void 0 ? defaultIcon.inner.innerRadius : _ref4$inner$radius, | ||
_ref4$outer = _ref4.outer; | ||
_ref4$outer = _ref4$outer === void 0 ? defaultIcon.outer : _ref4$outer; | ||
var _ref4$outer$color = _ref4$outer.color, | ||
outerColor = _ref4$outer$color === void 0 ? defaultIcon.outer.color : _ref4$outer$color, | ||
_ref4$outer$radius = _ref4$outer.radius, | ||
outerRadius = _ref4$outer$radius === void 0 ? defaultIcon.outer.radius : _ref4$outer$radius, | ||
_ref4$inner = _ref4.inner, | ||
_ref4$inner2 = _ref4$inner === void 0 ? defaultIcon.inner : _ref4$inner, | ||
_ref4$inner2$color = _ref4$inner2.color, | ||
innerColor = _ref4$inner2$color === void 0 ? defaultIcon.inner.color : _ref4$inner2$color, | ||
_ref4$inner2$radius = _ref4$inner2.radius, | ||
innerRadius = _ref4$inner2$radius === void 0 ? defaultIcon.inner.innerRadius : _ref4$inner2$radius, | ||
_ref4$outer = _ref4.outer, | ||
_ref4$outer2 = _ref4$outer === void 0 ? defaultIcon.outer : _ref4$outer, | ||
_ref4$outer2$color = _ref4$outer2.color, | ||
outerColor = _ref4$outer2$color === void 0 ? defaultIcon.outer.color : _ref4$outer2$color, | ||
_ref4$outer2$radius = _ref4$outer2.radius, | ||
outerRadius = _ref4$outer2$radius === void 0 ? defaultIcon.outer.radius : _ref4$outer2$radius, | ||
_ref4$color = _ref4.color, | ||
@@ -537,8 +537,8 @@ color = _ref4$color === void 0 ? defaultIcon.color : _ref4$color, | ||
image = _ref4$image === void 0 ? defaultIcon.image : _ref4$image, | ||
_ref4$size = _ref4.size; | ||
_ref4$size = _ref4$size === void 0 ? defaultIcon.size : _ref4$size; | ||
var _ref4$size$width = _ref4$size.width, | ||
imageWidth = _ref4$size$width === void 0 ? defaultIcon.size.width : _ref4$size$width, | ||
_ref4$size$height = _ref4$size.height, | ||
imageHeight = _ref4$size$height === void 0 ? defaultIcon.size.height : _ref4$size$height; | ||
_ref4$size = _ref4.size, | ||
_ref4$size2 = _ref4$size === void 0 ? defaultIcon.size : _ref4$size, | ||
_ref4$size2$width = _ref4$size2.width, | ||
imageWidth = _ref4$size2$width === void 0 ? defaultIcon.size.width : _ref4$size2$width, | ||
_ref4$size2$height = _ref4$size2.height, | ||
imageHeight = _ref4$size2$height === void 0 ? defaultIcon.size.height : _ref4$size2$height; | ||
return { | ||
@@ -659,30 +659,30 @@ name: 'icon', | ||
var _ref5 = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : defaultLineSeries, | ||
_ref5$mapping = _ref5.mapping; | ||
_ref5$mapping = _ref5$mapping === void 0 ? defaultLineSeries.mapping : _ref5$mapping; | ||
var _ref5$mapping$fieldNa = _ref5$mapping.fieldName, | ||
fieldName = _ref5$mapping$fieldNa === void 0 ? defaultLineSeries.mapping.fieldName : _ref5$mapping$fieldNa, | ||
_ref5$mapping$display = _ref5$mapping.displayName, | ||
displayName = _ref5$mapping$display === void 0 ? defaultLineSeries.mapping.displayName : _ref5$mapping$display, | ||
_ref5$mapping = _ref5.mapping, | ||
_ref5$mapping2 = _ref5$mapping === void 0 ? defaultLineSeries.mapping : _ref5$mapping, | ||
_ref5$mapping2$fieldN = _ref5$mapping2.fieldName, | ||
fieldName = _ref5$mapping2$fieldN === void 0 ? defaultLineSeries.mapping.fieldName : _ref5$mapping2$fieldN, | ||
_ref5$mapping2$displa = _ref5$mapping2.displayName, | ||
displayName = _ref5$mapping2$displa === void 0 ? defaultLineSeries.mapping.displayName : _ref5$mapping2$displa, | ||
_ref5$yOrZ = _ref5.yOrZ, | ||
yOrZ = _ref5$yOrZ === void 0 ? defaultLineSeries.yOrZ : _ref5$yOrZ, | ||
_ref5$line = _ref5.line; | ||
_ref5$line = _ref5$line === void 0 ? defaultLineSeries.line : _ref5$line; | ||
var _ref5$line$type = _ref5$line.type, | ||
type = _ref5$line$type === void 0 ? defaultLineSeries.line.type : _ref5$line$type, | ||
_ref5$line$color = _ref5$line.color, | ||
color = _ref5$line$color === void 0 ? defaultLineSeries.line.color : _ref5$line$color, | ||
_ref5$line$lineWidth = _ref5$line.lineWidth, | ||
lineWidth = _ref5$line$lineWidth === void 0 ? defaultLineSeries.line.lineWidth : _ref5$line$lineWidth, | ||
_ref5$line$curve = _ref5$line.curve, | ||
curve = _ref5$line$curve === void 0 ? defaultLineSeries.line.curve : _ref5$line$curve, | ||
_ref5$line$tension = _ref5$line.tension, | ||
tension = _ref5$line$tension === void 0 ? defaultLineSeries.line.tension : _ref5$line$tension, | ||
_ref5$line$connectNul = _ref5$line.connectNulls, | ||
connectNulls = _ref5$line$connectNul === void 0 ? defaultLineSeries.line.connectNulls : _ref5$line$connectNul, | ||
_ref5$line$lineShadow = _ref5$line.lineShadow; | ||
_ref5$line$lineShadow = _ref5$line$lineShadow === void 0 ? defaultLineSeries.line.lineShadow : _ref5$line$lineShadow; | ||
var _ref5$line$lineShadow2 = _ref5$line$lineShadow.show, | ||
showShadow = _ref5$line$lineShadow2 === void 0 ? defaultLineSeries.line.lineShadow.show : _ref5$line$lineShadow2, | ||
_ref5$line$lineShadow3 = _ref5$line$lineShadow.shadow, | ||
shadow_ = _ref5$line$lineShadow3 === void 0 ? defaultLineSeries.line.lineShadow.shadow : _ref5$line$lineShadow3, | ||
_ref5$line = _ref5.line, | ||
_ref5$line2 = _ref5$line === void 0 ? defaultLineSeries.line : _ref5$line, | ||
_ref5$line2$type = _ref5$line2.type, | ||
type = _ref5$line2$type === void 0 ? defaultLineSeries.line.type : _ref5$line2$type, | ||
_ref5$line2$color = _ref5$line2.color, | ||
color = _ref5$line2$color === void 0 ? defaultLineSeries.line.color : _ref5$line2$color, | ||
_ref5$line2$lineWidth = _ref5$line2.lineWidth, | ||
lineWidth = _ref5$line2$lineWidth === void 0 ? defaultLineSeries.line.lineWidth : _ref5$line2$lineWidth, | ||
_ref5$line2$curve = _ref5$line2.curve, | ||
curve = _ref5$line2$curve === void 0 ? defaultLineSeries.line.curve : _ref5$line2$curve, | ||
_ref5$line2$tension = _ref5$line2.tension, | ||
tension = _ref5$line2$tension === void 0 ? defaultLineSeries.line.tension : _ref5$line2$tension, | ||
_ref5$line2$connectNu = _ref5$line2.connectNulls, | ||
connectNulls = _ref5$line2$connectNu === void 0 ? defaultLineSeries.line.connectNulls : _ref5$line2$connectNu, | ||
_ref5$line2$lineShado = _ref5$line2.lineShadow, | ||
_ref5$line2$lineShado2 = _ref5$line2$lineShado === void 0 ? defaultLineSeries.line.lineShadow : _ref5$line2$lineShado, | ||
_ref5$line2$lineShado3 = _ref5$line2$lineShado2.show, | ||
showShadow = _ref5$line2$lineShado3 === void 0 ? defaultLineSeries.line.lineShadow.show : _ref5$line2$lineShado3, | ||
_ref5$line2$lineShado4 = _ref5$line2$lineShado2.shadow, | ||
shadow_ = _ref5$line2$lineShado4 === void 0 ? defaultLineSeries.line.lineShadow.shadow : _ref5$line2$lineShado4, | ||
lineIcon = _ref5.icon, | ||
@@ -729,31 +729,31 @@ lineLabel = _ref5.label; | ||
var _ref6 = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : defaultLineSeries, | ||
_ref6$mapping = _ref6.mapping; | ||
_ref6$mapping = _ref6$mapping === void 0 ? defaultLineSeries.mapping : _ref6$mapping; | ||
var _ref6$mapping$fieldNa = _ref6$mapping.fieldName, | ||
fieldName = _ref6$mapping$fieldNa === void 0 ? defaultLineSeries.mapping.fieldName : _ref6$mapping$fieldNa, | ||
_ref6$mapping$display = _ref6$mapping.displayName, | ||
displayName = _ref6$mapping$display === void 0 ? defaultLineSeries.mapping.displayName : _ref6$mapping$display, | ||
_ref6$mapping = _ref6.mapping, | ||
_ref6$mapping2 = _ref6$mapping === void 0 ? defaultLineSeries.mapping : _ref6$mapping, | ||
_ref6$mapping2$fieldN = _ref6$mapping2.fieldName, | ||
fieldName = _ref6$mapping2$fieldN === void 0 ? defaultLineSeries.mapping.fieldName : _ref6$mapping2$fieldN, | ||
_ref6$mapping2$displa = _ref6$mapping2.displayName, | ||
displayName = _ref6$mapping2$displa === void 0 ? defaultLineSeries.mapping.displayName : _ref6$mapping2$displa, | ||
_ref6$yOrZ = _ref6.yOrZ, | ||
yOrZ = _ref6$yOrZ === void 0 ? defaultLineSeries.yOrZ : _ref6$yOrZ, | ||
_ref6$line = _ref6.line; | ||
_ref6$line = _ref6$line === void 0 ? defaultLineSeries.line : _ref6$line; | ||
var _ref6$line$type = _ref6$line.type, | ||
type = _ref6$line$type === void 0 ? defaultLineSeries.line.type : _ref6$line$type, | ||
_ref6$line$color = _ref6$line.color, | ||
color = _ref6$line$color === void 0 ? defaultLineSeries.line.color : _ref6$line$color, | ||
_ref6$line$lineWidth = _ref6$line.lineWidth, | ||
lineWidth = _ref6$line$lineWidth === void 0 ? defaultLineSeries.line.lineWidth : _ref6$line$lineWidth, | ||
_ref6$line$curve = _ref6$line.curve, | ||
curve = _ref6$line$curve === void 0 ? defaultLineSeries.line.curve : _ref6$line$curve, | ||
_ref6$line$tension = _ref6$line.tension, | ||
tension = _ref6$line$tension === void 0 ? defaultLineSeries.line.tension : _ref6$line$tension, | ||
_ref6$line$connectNul = _ref6$line.connectNulls, | ||
connectNulls = _ref6$line$connectNul === void 0 ? defaultLineSeries.line.connectNulls : _ref6$line$connectNul, | ||
_ref6$line$lineShadow = _ref6$line.lineShadow; | ||
_ref6$line$lineShadow = _ref6$line$lineShadow === void 0 ? defaultLineSeries.line.lineShadow : _ref6$line$lineShadow; | ||
var _ref6$line$lineShadow2 = _ref6$line$lineShadow.show, | ||
showShadow = _ref6$line$lineShadow2 === void 0 ? defaultLineSeries.line.lineShadow.show : _ref6$line$lineShadow2, | ||
_ref6$line$lineShadow3 = _ref6$line$lineShadow.shadow, | ||
shadow_ = _ref6$line$lineShadow3 === void 0 ? defaultLineSeries.line.lineShadow.shadow : _ref6$line$lineShadow3, | ||
lineLighter = _ref6$line.lighter, | ||
_ref6$line = _ref6.line, | ||
_ref6$line2 = _ref6$line === void 0 ? defaultLineSeries.line : _ref6$line, | ||
_ref6$line2$type = _ref6$line2.type, | ||
type = _ref6$line2$type === void 0 ? defaultLineSeries.line.type : _ref6$line2$type, | ||
_ref6$line2$color = _ref6$line2.color, | ||
color = _ref6$line2$color === void 0 ? defaultLineSeries.line.color : _ref6$line2$color, | ||
_ref6$line2$lineWidth = _ref6$line2.lineWidth, | ||
lineWidth = _ref6$line2$lineWidth === void 0 ? defaultLineSeries.line.lineWidth : _ref6$line2$lineWidth, | ||
_ref6$line2$curve = _ref6$line2.curve, | ||
curve = _ref6$line2$curve === void 0 ? defaultLineSeries.line.curve : _ref6$line2$curve, | ||
_ref6$line2$tension = _ref6$line2.tension, | ||
tension = _ref6$line2$tension === void 0 ? defaultLineSeries.line.tension : _ref6$line2$tension, | ||
_ref6$line2$connectNu = _ref6$line2.connectNulls, | ||
connectNulls = _ref6$line2$connectNu === void 0 ? defaultLineSeries.line.connectNulls : _ref6$line2$connectNu, | ||
_ref6$line2$lineShado = _ref6$line2.lineShadow, | ||
_ref6$line2$lineShado2 = _ref6$line2$lineShado === void 0 ? defaultLineSeries.line.lineShadow : _ref6$line2$lineShado, | ||
_ref6$line2$lineShado3 = _ref6$line2$lineShado2.show, | ||
showShadow = _ref6$line2$lineShado3 === void 0 ? defaultLineSeries.line.lineShadow.show : _ref6$line2$lineShado3, | ||
_ref6$line2$lineShado4 = _ref6$line2$lineShado2.shadow, | ||
shadow_ = _ref6$line2$lineShado4 === void 0 ? defaultLineSeries.line.lineShadow.shadow : _ref6$line2$lineShado4, | ||
lineLighter = _ref6$line2.lighter, | ||
_ref6$label = _ref6.label, | ||
@@ -767,8 +767,8 @@ areaLabel = _ref6$label === void 0 ? defaultLineSeries.label : _ref6$label, | ||
url = _ref6$url === void 0 ? defaultLineSeries.url : _ref6$url, | ||
_ref6$size = _ref6.size; | ||
_ref6$size = _ref6$size === void 0 ? defaultLineSeries.size : _ref6$size; | ||
var _ref6$size$width = _ref6$size.width, | ||
urlWidth = _ref6$size$width === void 0 ? defaultLineSeries.size.width : _ref6$size$width, | ||
_ref6$size$height = _ref6$size.height, | ||
urlHeight = _ref6$size$height === void 0 ? defaultLineSeries.size.height : _ref6$size$height, | ||
_ref6$size = _ref6.size, | ||
_ref6$size2 = _ref6$size === void 0 ? defaultLineSeries.size : _ref6$size, | ||
_ref6$size2$width = _ref6$size2.width, | ||
urlWidth = _ref6$size2$width === void 0 ? defaultLineSeries.size.width : _ref6$size2$width, | ||
_ref6$size2$height = _ref6$size2.height, | ||
urlHeight = _ref6$size2$height === void 0 ? defaultLineSeries.size.height : _ref6$size2$height, | ||
_ref6$opacity = _ref6.opacity, | ||
@@ -898,8 +898,8 @@ opacity = _ref6$opacity === void 0 ? defaultLineSeries.opacity : _ref6$opacity; | ||
var _ref7 = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : defaultPieSeries, | ||
_ref7$mapping = _ref7.mapping; | ||
_ref7$mapping = _ref7$mapping === void 0 ? defaultPieSeries.mapping : _ref7$mapping; | ||
var _ref7$mapping$fieldNa = _ref7$mapping.fieldName, | ||
fieldName = _ref7$mapping$fieldNa === void 0 ? defaultPieSeries.mapping.fieldName : _ref7$mapping$fieldNa, | ||
_ref7$mapping$display = _ref7$mapping.displayName, | ||
displayName = _ref7$mapping$display === void 0 ? defaultPieSeries.mapping.displayName : _ref7$mapping$display, | ||
_ref7$mapping = _ref7.mapping, | ||
_ref7$mapping2 = _ref7$mapping === void 0 ? defaultPieSeries.mapping : _ref7$mapping, | ||
_ref7$mapping2$fieldN = _ref7$mapping2.fieldName, | ||
fieldName = _ref7$mapping2$fieldN === void 0 ? defaultPieSeries.mapping.fieldName : _ref7$mapping2$fieldN, | ||
_ref7$mapping2$displa = _ref7$mapping2.displayName, | ||
displayName = _ref7$mapping2$displa === void 0 ? defaultPieSeries.mapping.displayName : _ref7$mapping2$displa, | ||
_ref7$color = _ref7.color, | ||
@@ -939,8 +939,8 @@ color = _ref7$color === void 0 ? defaultPieSeries.color : _ref7$color, | ||
var _ref8 = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : defaultPurePieSeries, | ||
_ref8$mapping = _ref8.mapping; | ||
_ref8$mapping = _ref8$mapping === void 0 ? defaultPurePieSeries.mapping : _ref8$mapping; | ||
var _ref8$mapping$fieldNa = _ref8$mapping.fieldName, | ||
fieldName = _ref8$mapping$fieldNa === void 0 ? defaultPurePieSeries.mapping.fieldName : _ref8$mapping$fieldNa, | ||
_ref8$mapping$display = _ref8$mapping.displayName, | ||
displayName = _ref8$mapping$display === void 0 ? defaultPurePieSeries.mapping.displayName : _ref8$mapping$display, | ||
_ref8$mapping = _ref8.mapping, | ||
_ref8$mapping2 = _ref8$mapping === void 0 ? defaultPurePieSeries.mapping : _ref8$mapping, | ||
_ref8$mapping2$fieldN = _ref8$mapping2.fieldName, | ||
fieldName = _ref8$mapping2$fieldN === void 0 ? defaultPurePieSeries.mapping.fieldName : _ref8$mapping2$fieldN, | ||
_ref8$mapping2$displa = _ref8$mapping2.displayName, | ||
displayName = _ref8$mapping2$displa === void 0 ? defaultPurePieSeries.mapping.displayName : _ref8$mapping2$displa, | ||
_ref8$color = _ref8.color, | ||
@@ -947,0 +947,0 @@ color = _ref8$color === void 0 ? defaultPurePieSeries.color : _ref8$color; |
@@ -94,86 +94,86 @@ "use strict"; | ||
interval = _ref$interval === void 0 ? defaultTooltip.interval : _ref$interval, | ||
_ref$tip = _ref.tip; | ||
_ref$tip = _ref$tip === void 0 ? defaultTooltip.tip : _ref$tip; | ||
var _ref$tip$translate = _ref$tip.translate; | ||
_ref$tip$translate = _ref$tip$translate === void 0 ? defaultTooltip.tip.translate : _ref$tip$translate; | ||
var _ref$tip$translate$x = _ref$tip$translate.x, | ||
tipTranslateX = _ref$tip$translate$x === void 0 ? defaultTooltip.tip.translate.x : _ref$tip$translate$x, | ||
_ref$tip$translate$y = _ref$tip$translate.y, | ||
tipTranslateY = _ref$tip$translate$y === void 0 ? defaultTooltip.tip.translate.y : _ref$tip$translate$y, | ||
_ref$tip$image = _ref$tip.image, | ||
image = _ref$tip$image === void 0 ? defaultTooltip.tip.image : _ref$tip$image, | ||
_ref$tip$size = _ref$tip.size; | ||
_ref$tip$size = _ref$tip$size === void 0 ? defaultTooltip.tip.size : _ref$tip$size; | ||
var _ref$tip$size$width = _ref$tip$size.width, | ||
tipWidth = _ref$tip$size$width === void 0 ? defaultTooltip.tip.size.width : _ref$tip$size$width, | ||
_ref$tip$size$height = _ref$tip$size.height, | ||
tipHeight = _ref$tip$size$height === void 0 ? defaultTooltip.tip.size.height : _ref$tip$size$height, | ||
_ref$tip$margin = _ref$tip.margin; | ||
_ref$tip$margin = _ref$tip$margin === void 0 ? defaultTooltip.tip.margin : _ref$tip$margin; | ||
var _ref$tip$margin$margi = _ref$tip$margin.marginTop, | ||
marginTop = _ref$tip$margin$margi === void 0 ? defaultTooltip.tip.margin.marginTop : _ref$tip$margin$margi, | ||
_ref$tip$margin$margi2 = _ref$tip$margin.marginBottom, | ||
marginBottom = _ref$tip$margin$margi2 === void 0 ? defaultTooltip.tip.margin.marginBottom : _ref$tip$margin$margi2, | ||
_ref$tip$margin$margi3 = _ref$tip$margin.marginLeft, | ||
marginLeft = _ref$tip$margin$margi3 === void 0 ? defaultTooltip.tip.margin.marginLeft : _ref$tip$margin$margi3, | ||
_ref$tip$margin$margi4 = _ref$tip$margin.marginRight, | ||
marginRight = _ref$tip$margin$margi4 === void 0 ? defaultTooltip.tip.margin.marginRight : _ref$tip$margin$margi4, | ||
_ref$tip$data = _ref$tip.data; | ||
_ref$tip$data = _ref$tip$data === void 0 ? defaultTooltip.tip.data : _ref$tip$data; | ||
var _ref$tip$data$xAxis = _ref$tip$data.xAxis; | ||
_ref$tip$data$xAxis = _ref$tip$data$xAxis === void 0 ? defaultTooltip.tip.data.xAxis : _ref$tip$data$xAxis; | ||
var _ref$tip$data$xAxis$f = _ref$tip$data$xAxis.font; | ||
_ref$tip$data$xAxis$f = _ref$tip$data$xAxis$f === void 0 ? defaultTooltip.tip.data.xAxis.font : _ref$tip$data$xAxis$f; | ||
var xAxisFontFamily = _ref$tip$data$xAxis$f.fontFamily, | ||
xAxisFontSize = _ref$tip$data$xAxis$f.fontSize, | ||
xAxisColor = _ref$tip$data$xAxis$f.color, | ||
xAxisBold = _ref$tip$data$xAxis$f.bold, | ||
xAxisItalic = _ref$tip$data$xAxis$f.italic, | ||
xAxisLetterSpacing = _ref$tip$data$xAxis$f.letterSpacing, | ||
_ref$tip$data$xAxis$a = _ref$tip$data$xAxis.align, | ||
align = _ref$tip$data$xAxis$a === void 0 ? defaultTooltip.tip.data.xAxis.align : _ref$tip$data$xAxis$a, | ||
_ref$tip$data$xAxis$t = _ref$tip$data$xAxis.translate; | ||
_ref$tip$data$xAxis$t = _ref$tip$data$xAxis$t === void 0 ? defaultTooltip.tip.data.xAxis.translate : _ref$tip$data$xAxis$t; | ||
var x = _ref$tip$data$xAxis$t.x, | ||
y = _ref$tip$data$xAxis$t.y, | ||
_ref$tip$data$data = _ref$tip$data.data; | ||
_ref$tip$data$data = _ref$tip$data$data === void 0 ? defaultTooltip.tip.data.data : _ref$tip$data$data; | ||
var _ref$tip$data$data$li = _ref$tip$data$data.lineHeight, | ||
lineHeight = _ref$tip$data$data$li === void 0 ? defaultTooltip.tip.data.lineHeight : _ref$tip$data$data$li, | ||
_ref$tip$data$data$ic = _ref$tip$data$data.iconSize, | ||
iconSize = _ref$tip$data$data$ic === void 0 ? defaultTooltip.tip.data.iconSize : _ref$tip$data$data$ic, | ||
_ref$tip$data$data$nu = _ref$tip$data$data.num, | ||
num = _ref$tip$data$data$nu === void 0 ? defaultTooltip.tip.data.num : _ref$tip$data$data$nu, | ||
_ref$tip$data$data$na = _ref$tip$data$data.name; | ||
_ref$tip$data$data$na = _ref$tip$data$data$na === void 0 ? defaultTooltip.tip.data.data.name : _ref$tip$data$data$na; | ||
var nameFontFamily = _ref$tip$data$data$na.fontFamily, | ||
nameFontSize = _ref$tip$data$data$na.fontSize, | ||
nameColor = _ref$tip$data$data$na.color, | ||
nameBold = _ref$tip$data$data$na.bold, | ||
nameItalic = _ref$tip$data$data$na.italic, | ||
nameLetterSpacing = _ref$tip$data$data$na.letterSpacing, | ||
_ref$tip$data$data$va = _ref$tip$data$data.value; | ||
_ref$tip$data$data$va = _ref$tip$data$data$va === void 0 ? defaultTooltip.tip.data.data.value : _ref$tip$data$data$va; | ||
var valueFontFamily = _ref$tip$data$data$va.fontFamily, | ||
valueFontSize = _ref$tip$data$data$va.fontSize, | ||
valueFontColor = _ref$tip$data$data$va.color, | ||
valueFontBold = _ref$tip$data$data$va.bold, | ||
valueFontItalic = _ref$tip$data$data$va.italic, | ||
valueFontLetterSpacing = _ref$tip$data$data$va.letterSpacing, | ||
_ref$tip$data$data$su = _ref$tip$data$data.suffix; | ||
_ref$tip$data$data$su = _ref$tip$data$data$su === void 0 ? defaultTooltip.tip.data.data.suffix : _ref$tip$data$data$su; | ||
var _ref$tip$data$data$su2 = _ref$tip$data$data$su.font; | ||
_ref$tip$data$data$su2 = _ref$tip$data$data$su2 === void 0 ? defaultTooltip.tip.data.data.suffix.font : _ref$tip$data$data$su2; | ||
var suffixFontFamily = _ref$tip$data$data$su2.fontFamily, | ||
suffixFontSize = _ref$tip$data$data$su2.fontSize, | ||
suffixColor = _ref$tip$data$data$su2.color, | ||
suffixBold = _ref$tip$data$data$su2.bold, | ||
suffixItalic = _ref$tip$data$data$su2.italic, | ||
suffixLetterSpacing = _ref$tip$data$data$su2.letterSpacing, | ||
_ref$indicator = _ref.indicator; | ||
_ref$indicator = _ref$indicator === void 0 ? defaultTooltip.indicator : _ref$indicator; | ||
var _ref$indicator$width = _ref$indicator.width, | ||
width = _ref$indicator$width === void 0 ? defaultTooltip.indicator.width : _ref$indicator$width, | ||
_ref$indicator$color = _ref$indicator.color, | ||
color = _ref$indicator$color === void 0 ? defaultTooltip.indicator.color : _ref$indicator$color; | ||
_ref$tip = _ref.tip, | ||
_ref$tip2 = _ref$tip === void 0 ? defaultTooltip.tip : _ref$tip, | ||
_ref$tip2$translate = _ref$tip2.translate, | ||
_ref$tip2$translate2 = _ref$tip2$translate === void 0 ? defaultTooltip.tip.translate : _ref$tip2$translate, | ||
_ref$tip2$translate2$ = _ref$tip2$translate2.x, | ||
tipTranslateX = _ref$tip2$translate2$ === void 0 ? defaultTooltip.tip.translate.x : _ref$tip2$translate2$, | ||
_ref$tip2$translate2$2 = _ref$tip2$translate2.y, | ||
tipTranslateY = _ref$tip2$translate2$2 === void 0 ? defaultTooltip.tip.translate.y : _ref$tip2$translate2$2, | ||
_ref$tip2$image = _ref$tip2.image, | ||
image = _ref$tip2$image === void 0 ? defaultTooltip.tip.image : _ref$tip2$image, | ||
_ref$tip2$size = _ref$tip2.size, | ||
_ref$tip2$size2 = _ref$tip2$size === void 0 ? defaultTooltip.tip.size : _ref$tip2$size, | ||
_ref$tip2$size2$width = _ref$tip2$size2.width, | ||
tipWidth = _ref$tip2$size2$width === void 0 ? defaultTooltip.tip.size.width : _ref$tip2$size2$width, | ||
_ref$tip2$size2$heigh = _ref$tip2$size2.height, | ||
tipHeight = _ref$tip2$size2$heigh === void 0 ? defaultTooltip.tip.size.height : _ref$tip2$size2$heigh, | ||
_ref$tip2$margin = _ref$tip2.margin, | ||
_ref$tip2$margin2 = _ref$tip2$margin === void 0 ? defaultTooltip.tip.margin : _ref$tip2$margin, | ||
_ref$tip2$margin2$mar = _ref$tip2$margin2.marginTop, | ||
marginTop = _ref$tip2$margin2$mar === void 0 ? defaultTooltip.tip.margin.marginTop : _ref$tip2$margin2$mar, | ||
_ref$tip2$margin2$mar2 = _ref$tip2$margin2.marginBottom, | ||
marginBottom = _ref$tip2$margin2$mar2 === void 0 ? defaultTooltip.tip.margin.marginBottom : _ref$tip2$margin2$mar2, | ||
_ref$tip2$margin2$mar3 = _ref$tip2$margin2.marginLeft, | ||
marginLeft = _ref$tip2$margin2$mar3 === void 0 ? defaultTooltip.tip.margin.marginLeft : _ref$tip2$margin2$mar3, | ||
_ref$tip2$margin2$mar4 = _ref$tip2$margin2.marginRight, | ||
marginRight = _ref$tip2$margin2$mar4 === void 0 ? defaultTooltip.tip.margin.marginRight : _ref$tip2$margin2$mar4, | ||
_ref$tip2$data = _ref$tip2.data, | ||
_ref$tip2$data2 = _ref$tip2$data === void 0 ? defaultTooltip.tip.data : _ref$tip2$data, | ||
_ref$tip2$data2$xAxis = _ref$tip2$data2.xAxis, | ||
_ref$tip2$data2$xAxis2 = _ref$tip2$data2$xAxis === void 0 ? defaultTooltip.tip.data.xAxis : _ref$tip2$data2$xAxis, | ||
_ref$tip2$data2$xAxis3 = _ref$tip2$data2$xAxis2.font, | ||
_ref$tip2$data2$xAxis4 = _ref$tip2$data2$xAxis3 === void 0 ? defaultTooltip.tip.data.xAxis.font : _ref$tip2$data2$xAxis3, | ||
xAxisFontFamily = _ref$tip2$data2$xAxis4.fontFamily, | ||
xAxisFontSize = _ref$tip2$data2$xAxis4.fontSize, | ||
xAxisColor = _ref$tip2$data2$xAxis4.color, | ||
xAxisBold = _ref$tip2$data2$xAxis4.bold, | ||
xAxisItalic = _ref$tip2$data2$xAxis4.italic, | ||
xAxisLetterSpacing = _ref$tip2$data2$xAxis4.letterSpacing, | ||
_ref$tip2$data2$xAxis5 = _ref$tip2$data2$xAxis2.align, | ||
align = _ref$tip2$data2$xAxis5 === void 0 ? defaultTooltip.tip.data.xAxis.align : _ref$tip2$data2$xAxis5, | ||
_ref$tip2$data2$xAxis6 = _ref$tip2$data2$xAxis2.translate, | ||
_ref$tip2$data2$xAxis7 = _ref$tip2$data2$xAxis6 === void 0 ? defaultTooltip.tip.data.xAxis.translate : _ref$tip2$data2$xAxis6, | ||
x = _ref$tip2$data2$xAxis7.x, | ||
y = _ref$tip2$data2$xAxis7.y, | ||
_ref$tip2$data2$data = _ref$tip2$data2.data, | ||
_ref$tip2$data2$data2 = _ref$tip2$data2$data === void 0 ? defaultTooltip.tip.data.data : _ref$tip2$data2$data, | ||
_ref$tip2$data2$data3 = _ref$tip2$data2$data2.lineHeight, | ||
lineHeight = _ref$tip2$data2$data3 === void 0 ? defaultTooltip.tip.data.lineHeight : _ref$tip2$data2$data3, | ||
_ref$tip2$data2$data4 = _ref$tip2$data2$data2.iconSize, | ||
iconSize = _ref$tip2$data2$data4 === void 0 ? defaultTooltip.tip.data.iconSize : _ref$tip2$data2$data4, | ||
_ref$tip2$data2$data5 = _ref$tip2$data2$data2.num, | ||
num = _ref$tip2$data2$data5 === void 0 ? defaultTooltip.tip.data.num : _ref$tip2$data2$data5, | ||
_ref$tip2$data2$data6 = _ref$tip2$data2$data2.name, | ||
_ref$tip2$data2$data7 = _ref$tip2$data2$data6 === void 0 ? defaultTooltip.tip.data.data.name : _ref$tip2$data2$data6, | ||
nameFontFamily = _ref$tip2$data2$data7.fontFamily, | ||
nameFontSize = _ref$tip2$data2$data7.fontSize, | ||
nameColor = _ref$tip2$data2$data7.color, | ||
nameBold = _ref$tip2$data2$data7.bold, | ||
nameItalic = _ref$tip2$data2$data7.italic, | ||
nameLetterSpacing = _ref$tip2$data2$data7.letterSpacing, | ||
_ref$tip2$data2$data8 = _ref$tip2$data2$data2.value, | ||
_ref$tip2$data2$data9 = _ref$tip2$data2$data8 === void 0 ? defaultTooltip.tip.data.data.value : _ref$tip2$data2$data8, | ||
valueFontFamily = _ref$tip2$data2$data9.fontFamily, | ||
valueFontSize = _ref$tip2$data2$data9.fontSize, | ||
valueFontColor = _ref$tip2$data2$data9.color, | ||
valueFontBold = _ref$tip2$data2$data9.bold, | ||
valueFontItalic = _ref$tip2$data2$data9.italic, | ||
valueFontLetterSpacing = _ref$tip2$data2$data9.letterSpacing, | ||
_ref$tip2$data2$data10 = _ref$tip2$data2$data2.suffix, | ||
_ref$tip2$data2$data11 = _ref$tip2$data2$data10 === void 0 ? defaultTooltip.tip.data.data.suffix : _ref$tip2$data2$data10, | ||
_ref$tip2$data2$data12 = _ref$tip2$data2$data11.font, | ||
_ref$tip2$data2$data13 = _ref$tip2$data2$data12 === void 0 ? defaultTooltip.tip.data.data.suffix.font : _ref$tip2$data2$data12, | ||
suffixFontFamily = _ref$tip2$data2$data13.fontFamily, | ||
suffixFontSize = _ref$tip2$data2$data13.fontSize, | ||
suffixColor = _ref$tip2$data2$data13.color, | ||
suffixBold = _ref$tip2$data2$data13.bold, | ||
suffixItalic = _ref$tip2$data2$data13.italic, | ||
suffixLetterSpacing = _ref$tip2$data2$data13.letterSpacing, | ||
_ref$indicator = _ref.indicator, | ||
_ref$indicator2 = _ref$indicator === void 0 ? defaultTooltip.indicator : _ref$indicator, | ||
_ref$indicator2$width = _ref$indicator2.width, | ||
width = _ref$indicator2$width === void 0 ? defaultTooltip.indicator.width : _ref$indicator2$width, | ||
_ref$indicator2$color = _ref$indicator2.color, | ||
color = _ref$indicator2$color === void 0 ? defaultTooltip.indicator.color : _ref$indicator2$color; | ||
return { | ||
@@ -180,0 +180,0 @@ name: 'tooltip', |
@@ -35,22 +35,22 @@ "use strict"; | ||
text = _ref$text === void 0 ? defaultUnit.text : _ref$text, | ||
_ref$font = _ref.font; | ||
_ref$font = _ref$font === void 0 ? defaultUnit.font : _ref$font; | ||
var _ref$font$fontFamily = _ref$font.fontFamily, | ||
fontFamily = _ref$font$fontFamily === void 0 ? defaultUnit.font.fontFamily : _ref$font$fontFamily, | ||
_ref$font$fontSize = _ref$font.fontSize, | ||
fontSize = _ref$font$fontSize === void 0 ? defaultUnit.font.fontSize : _ref$font$fontSize, | ||
_ref$font$color = _ref$font.color, | ||
color = _ref$font$color === void 0 ? defaultUnit.font.color : _ref$font$color, | ||
_ref$font$bold = _ref$font.bold, | ||
bold = _ref$font$bold === void 0 ? defaultUnit.font.bold : _ref$font$bold, | ||
_ref$font$italic = _ref$font.italic, | ||
italic = _ref$font$italic === void 0 ? defaultUnit.font.italic : _ref$font$italic, | ||
_ref$font$letterSpaci = _ref$font.letterSpacing, | ||
letterSpacing = _ref$font$letterSpaci === void 0 ? defaultUnit.font.letterSpacing : _ref$font$letterSpaci, | ||
_ref$translate = _ref.translate; | ||
_ref$translate = _ref$translate === void 0 ? defaultUnit.translate : _ref$translate; | ||
var _ref$translate$x = _ref$translate.x, | ||
x = _ref$translate$x === void 0 ? defaultUnit.translate.x : _ref$translate$x, | ||
_ref$translate$y = _ref$translate.y, | ||
y = _ref$translate$y === void 0 ? defaultUnit.translate.y : _ref$translate$y; | ||
_ref$font = _ref.font, | ||
_ref$font2 = _ref$font === void 0 ? defaultUnit.font : _ref$font, | ||
_ref$font2$fontFamily = _ref$font2.fontFamily, | ||
fontFamily = _ref$font2$fontFamily === void 0 ? defaultUnit.font.fontFamily : _ref$font2$fontFamily, | ||
_ref$font2$fontSize = _ref$font2.fontSize, | ||
fontSize = _ref$font2$fontSize === void 0 ? defaultUnit.font.fontSize : _ref$font2$fontSize, | ||
_ref$font2$color = _ref$font2.color, | ||
color = _ref$font2$color === void 0 ? defaultUnit.font.color : _ref$font2$color, | ||
_ref$font2$bold = _ref$font2.bold, | ||
bold = _ref$font2$bold === void 0 ? defaultUnit.font.bold : _ref$font2$bold, | ||
_ref$font2$italic = _ref$font2.italic, | ||
italic = _ref$font2$italic === void 0 ? defaultUnit.font.italic : _ref$font2$italic, | ||
_ref$font2$letterSpac = _ref$font2.letterSpacing, | ||
letterSpacing = _ref$font2$letterSpac === void 0 ? defaultUnit.font.letterSpacing : _ref$font2$letterSpac, | ||
_ref$translate = _ref.translate, | ||
_ref$translate2 = _ref$translate === void 0 ? defaultUnit.translate : _ref$translate, | ||
_ref$translate2$x = _ref$translate2.x, | ||
x = _ref$translate2$x === void 0 ? defaultUnit.translate.x : _ref$translate2$x, | ||
_ref$translate2$y = _ref$translate2.y, | ||
y = _ref$translate2$y === void 0 ? defaultUnit.translate.y : _ref$translate2$y; | ||
return { | ||
@@ -57,0 +57,0 @@ name: 'unit', |
{ | ||
"name": "@easyv/config", | ||
"version": "1.1.30", | ||
"version": "1.1.31", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -0,0 +0,0 @@ const extent = { |
@@ -50,3 +50,5 @@ import show, { showRule } from './show'; | ||
import baseLine from './baseLine'; | ||
import { control } from './control'; | ||
export { | ||
control, | ||
show, | ||
@@ -53,0 +55,0 @@ showRule, |
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
61
12250
362650
1