@easyv/config
Advanced tools
Comparing version 1.1.19 to 1.1.20
@@ -160,3 +160,2 @@ "use strict"; | ||
tip: '选择点击或悬浮,鼠标点击/悬浮各数据块时停止轮播仅显示当前数据信息', | ||
rule: [['on', '$eq', true]], | ||
name: 'interactive', | ||
@@ -163,0 +162,0 @@ displayName: '交互方式', |
@@ -8,2 +8,3 @@ "use strict"; | ||
exports.rosePieDecorate = exports.rosePie = exports.nestRosePie = exports.donut = exports["default"] = exports.current = exports.carouselDonut2 = exports.carouselDonut = void 0; | ||
var _toConsumableArray2 = _interopRequireDefault(require("@babel/runtime/helpers/toConsumableArray")); | ||
var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty")); | ||
@@ -460,3 +461,4 @@ var _ = require("./"); | ||
sameColor: false, | ||
font: (0, _.font)() | ||
font: (0, _.font)(), | ||
maxWidth: 40 | ||
}, | ||
@@ -510,3 +512,5 @@ percent: { | ||
nameTranslate = _ref9$current$name.translate, | ||
textBreak = _ref9$current$name.textBreak, | ||
_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; | ||
@@ -579,6 +583,5 @@ _ref9$current$percent = _ref9$current$percent === void 0 ? defaultCurrent.current.percent : _ref9$current$percent; | ||
markColorType: 'textColor' | ||
}, nameTranslate != undefined && _objectSpread(_objectSpread({}, (0, _.showRule)()), (0, _.translate)(nameTranslate.x, nameTranslate.y)), textBreak != undefined && _objectSpread(_objectSpread({}, (0, _.showRule)()), (0, _.sc)('textBreak', '首行字数', 'number', textBreak, { | ||
min: 0, | ||
suffix: '个' | ||
}))].filter(function (item) { | ||
}, nameTranslate != undefined && _objectSpread(_objectSpread({}, (0, _.showRule)()), (0, _.translate)(nameTranslate.x, nameTranslate.y)), (0, _.sc)("maxWidth", "宽度", "number", maxWidth, { | ||
suffix: "px" | ||
}, (0, _.showRule)())].concat((0, _toConsumableArray2["default"])((0, _.textOverflow)(overflow))).filter(function (item) { | ||
return !!item; | ||
@@ -585,0 +588,0 @@ }) |
{ | ||
"name": "@easyv/config", | ||
"version": "1.1.19", | ||
"version": "1.1.20", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -149,3 +149,2 @@ import { multiColor, font } from './'; | ||
tip: '选择点击或悬浮,鼠标点击/悬浮各数据块时停止轮播仅显示当前数据信息', | ||
rule: [['on', '$eq', true]], | ||
name: 'interactive', | ||
@@ -152,0 +151,0 @@ displayName: '交互方式', |
@@ -8,2 +8,3 @@ import { | ||
sc, | ||
textOverflow | ||
} from './'; | ||
@@ -464,3 +465,3 @@ | ||
gap: 45, | ||
name: { show: true, sameColor: false, font: font() }, | ||
name: { show: true, sameColor: false, font: font(), maxWidth:40 }, | ||
percent: { | ||
@@ -471,3 +472,3 @@ show: true, | ||
font: font(), | ||
translate: { x: 0, y: 0 }, | ||
translate: { x: 0, y: 0 } | ||
}, | ||
@@ -497,3 +498,4 @@ value: { | ||
translate: nameTranslate, | ||
textBreak, | ||
maxWidth = defaultCurrent.current.name.maxWidth, | ||
overflow | ||
} = defaultCurrent.current.name, | ||
@@ -563,9 +565,4 @@ percent: { | ||
}, | ||
textBreak != undefined && { | ||
...showRule(), | ||
...sc('textBreak', '首行字数', 'number', textBreak, { | ||
min: 0, | ||
suffix: '个', | ||
}), | ||
}, | ||
sc("maxWidth","宽度","number",maxWidth,{suffix:"px"},showRule()), | ||
...textOverflow(overflow), | ||
].filter((item) => !!item), | ||
@@ -572,0 +569,0 @@ }, |
344890
11672