@easyv/config
Advanced tools
Comparing version 1.2.13 to 1.2.14
@@ -367,2 +367,3 @@ "use strict"; | ||
sameColor: false, | ||
align: "left", | ||
gap: 0, | ||
@@ -374,2 +375,3 @@ font: defaultFont | ||
sameColor: false, | ||
align: "left", | ||
gap: 0, | ||
@@ -431,2 +433,4 @@ font: defaultFont, | ||
percentSameColor = _ref3$percent$sameCol === void 0 ? defaultLegendOfPie.percent.sameColor : _ref3$percent$sameCol, | ||
_ref3$percent$align = _ref3$percent.align, | ||
percentAlign = _ref3$percent$align === void 0 ? defaultLegendOfPie.percent.align : _ref3$percent$align, | ||
_ref3$percent$gap = _ref3$percent.gap, | ||
@@ -442,2 +446,4 @@ percentGap = _ref3$percent$gap === void 0 ? defaultLegendOfPie.percent.gap : _ref3$percent$gap, | ||
valueSameColor = _ref3$value$sameColor === void 0 ? defaultLegendOfPie.value.sameColor : _ref3$value$sameColor, | ||
_ref3$value$align = _ref3$value.align, | ||
valueAlign = _ref3$value$align === void 0 ? defaultLegendOfPie.value.align : _ref3$value$align, | ||
_ref3$value$gap = _ref3$value.gap, | ||
@@ -563,2 +569,23 @@ valueGap = _ref3$value$gap === void 0 ? defaultLegendOfPie.value.gap : _ref3$value$gap, | ||
}), _objectSpread(_objectSpread({}, showRule()), {}, { | ||
name: "align", | ||
displayName: "文本对齐", | ||
value: percentAlign, | ||
type: "radio", | ||
config: { | ||
mode: "icon", | ||
options: [{ | ||
name: "左对齐", | ||
value: "left", | ||
icon: "align-left" | ||
}, { | ||
name: "居中对齐", | ||
value: "center", | ||
icon: "align-center" | ||
}, { | ||
name: "右对齐", | ||
value: "right", | ||
icon: "align-right" | ||
}] | ||
} | ||
}), _objectSpread(_objectSpread({}, showRule()), {}, { | ||
name: 'font', | ||
@@ -612,2 +639,23 @@ displayName: '文本样式', | ||
}), _objectSpread(_objectSpread({}, showRule()), {}, { | ||
name: "align", | ||
displayName: "文本对齐", | ||
value: valueAlign, | ||
type: "radio", | ||
config: { | ||
mode: "icon", | ||
options: [{ | ||
name: "左对齐", | ||
value: "left", | ||
icon: "align-left" | ||
}, { | ||
name: "居中对齐", | ||
value: "center", | ||
icon: "align-center" | ||
}, { | ||
name: "右对齐", | ||
value: "right", | ||
icon: "align-right" | ||
}] | ||
} | ||
}), _objectSpread(_objectSpread({}, showRule()), {}, { | ||
name: 'font', | ||
@@ -614,0 +662,0 @@ displayName: '文本样式', |
{ | ||
"name": "@easyv/config", | ||
"version": "1.2.13", | ||
"version": "1.2.14", | ||
"description": "", | ||
@@ -31,2 +31,2 @@ "main": "index.js", | ||
} | ||
} | ||
} |
@@ -382,2 +382,3 @@ const { | ||
sameColor: false, | ||
align:"left", | ||
gap: 0, | ||
@@ -389,2 +390,3 @@ font: defaultFont, | ||
sameColor: false, | ||
align:"left", | ||
gap: 0, | ||
@@ -424,2 +426,3 @@ font: defaultFont, | ||
sameColor: percentSameColor = defaultLegendOfPie.percent.sameColor, | ||
align: percentAlign = defaultLegendOfPie.percent.align, | ||
gap: percentGap = defaultLegendOfPie.percent.gap, | ||
@@ -431,2 +434,3 @@ font: percentFont = defaultLegendOfPie.percent.font, | ||
sameColor: valueSameColor = defaultLegendOfPie.value.sameColor, | ||
align: valueAlign = defaultLegendOfPie.value.align, | ||
gap: valueGap = defaultLegendOfPie.value.gap, | ||
@@ -561,2 +565,17 @@ font: valueFont = defaultLegendOfPie.value.font, | ||
...showRule(), | ||
name:"align", | ||
displayName:"文本对齐", | ||
value:percentAlign, | ||
type:"radio", | ||
config:{ | ||
mode:"icon", | ||
options:[ | ||
{ name:"左对齐", value:"left", icon:"align-left" }, | ||
{ name:"居中对齐", value:"center", icon:"align-center" }, | ||
{ name:"右对齐", value:"right", icon:"align-right" } | ||
] | ||
} | ||
}, | ||
{ | ||
...showRule(), | ||
name: 'font', | ||
@@ -632,2 +651,17 @@ displayName: '文本样式', | ||
...showRule(), | ||
name:"align", | ||
displayName:"文本对齐", | ||
value:valueAlign, | ||
type:"radio", | ||
config:{ | ||
mode:"icon", | ||
options:[ | ||
{ name:"左对齐", value:"left", icon:"align-left" }, | ||
{ name:"居中对齐", value:"center", icon:"align-center" }, | ||
{ name:"右对齐", value:"right", icon:"align-right" } | ||
] | ||
} | ||
}, | ||
{ | ||
...showRule(), | ||
name: 'font', | ||
@@ -634,0 +668,0 @@ displayName: '文本样式', |
404387
13600