@easyv/config
Advanced tools
Comparing version 1.0.36 to 1.0.37
@@ -221,20 +221,16 @@ "use strict"; | ||
var defaultDecorate2 = { | ||
decorate: { | ||
show: true, | ||
radiusWidth: 0.3, | ||
opacity: 80 | ||
} | ||
show: true, | ||
radiusWidth: 0.3, | ||
opacity: 80 | ||
}; | ||
var decorate2 = function decorate2(_ref4) { | ||
var _ref4$decorate = _ref4.decorate; | ||
_ref4$decorate = _ref4$decorate === void 0 ? defaultDecorate2 : _ref4$decorate; | ||
var _ref4$decorate$show = _ref4$decorate.show, | ||
show = _ref4$decorate$show === void 0 ? defaultDecorate2.show : _ref4$decorate$show, | ||
_ref4$decorate$radius = _ref4$decorate.radiusWidth, | ||
radiusWidth = _ref4$decorate$radius === void 0 ? defaultDecorate2.radiusWidth : _ref4$decorate$radius, | ||
_ref4$decorate$opacit = _ref4$decorate.opacity, | ||
opacity = _ref4$decorate$opacit === void 0 ? defaultDecorate2.opacity : _ref4$decorate$opacit; | ||
var _ref4$show = _ref4.show, | ||
show = _ref4$show === void 0 ? defaultDecorate2.show : _ref4$show, | ||
_ref4$radiusWidth = _ref4.radiusWidth, | ||
radiusWidth = _ref4$radiusWidth === void 0 ? defaultDecorate2.radiusWidth : _ref4$radiusWidth, | ||
_ref4$opacity = _ref4.opacity, | ||
opacity = _ref4$opacity === void 0 ? defaultDecorate2.opacity : _ref4$opacity; | ||
return { | ||
name: 'decorate', | ||
name: 'decorate2', | ||
displayName: '装饰物', | ||
@@ -503,3 +499,3 @@ value: [{ | ||
categoryText: defaultCategoryText, | ||
decorate: defaultDecorate2, | ||
decorate2: defaultDecorate2, | ||
current: defaultCurrent | ||
@@ -511,4 +507,4 @@ }, | ||
_categoryText = _ref8$categoryText === void 0 ? defaultCategoryText : _ref8$categoryText, | ||
_ref8$decorate = _ref8.decorate, | ||
_decorate = _ref8$decorate === void 0 ? defaultDecorate2 : _ref8$decorate, | ||
_ref8$decorate = _ref8.decorate2, | ||
_decorate2 = _ref8$decorate === void 0 ? defaultDecorate2 : _ref8$decorate, | ||
_ref8$current = _ref8.current, | ||
@@ -520,3 +516,3 @@ _current = _ref8$current === void 0 ? defaultCurrent : _ref8$current; | ||
displayName: '环图属性', | ||
value: [basePie(_basePie), categoryText(_categoryText), decorate2(_decorate), current(_current)] | ||
value: [basePie(_basePie), categoryText(_categoryText), decorate2(_decorate2), current(_current)] | ||
}; | ||
@@ -523,0 +519,0 @@ }; |
{ | ||
"name": "@easyv/config", | ||
"version": "1.0.36", | ||
"version": "1.0.37", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -207,17 +207,13 @@ import { font, show as showConfig, translate as translateConfig } from './'; | ||
const defaultDecorate2 = { | ||
decorate: { | ||
show: true, | ||
radiusWidth: 0.3, | ||
opacity: 80, | ||
}, | ||
show: true, | ||
radiusWidth: 0.3, | ||
opacity: 80, | ||
}; | ||
const decorate2 = ({ | ||
decorate: { | ||
show = defaultDecorate2.show, | ||
radiusWidth = defaultDecorate2.radiusWidth, | ||
opacity = defaultDecorate2.opacity | ||
} = defaultDecorate2, | ||
show = defaultDecorate2.show, | ||
radiusWidth = defaultDecorate2.radiusWidth, | ||
opacity = defaultDecorate2.opacity | ||
}) => ({ | ||
name: 'decorate', | ||
name: 'decorate2', | ||
displayName: '装饰物', | ||
@@ -464,3 +460,3 @@ value: [ | ||
categoryText: _categoryText = defaultCategoryText, | ||
decorate: _decorate = defaultDecorate2, | ||
decorate2: _decorate2 = defaultDecorate2, | ||
current: _current = defaultCurrent | ||
@@ -470,3 +466,3 @@ }={ | ||
categoryText: defaultCategoryText, | ||
decorate: defaultDecorate2, | ||
decorate2: defaultDecorate2, | ||
current: defaultCurrent, | ||
@@ -477,3 +473,3 @@ } | ||
displayName:'环图属性', | ||
value:[basePie(_basePie),categoryText(_categoryText), decorate2(_decorate),current(_current)] | ||
value:[basePie(_basePie),categoryText(_categoryText), decorate2(_decorate2),current(_current)] | ||
}) | ||
@@ -480,0 +476,0 @@ |
243498
8437