@easyv/config
Advanced tools
Comparing version 1.0.18 to 1.0.19
@@ -122,2 +122,3 @@ "use strict"; | ||
}, { | ||
tip: '选择点击或悬浮,鼠标点击/悬浮各数据块时停止轮播仅显示当前数据信息', | ||
rule: [['on', '$eq', true]], | ||
@@ -124,0 +125,0 @@ name: 'interactive', |
@@ -67,3 +67,3 @@ "use strict"; | ||
count: 3, | ||
step: 3, | ||
step: 100, | ||
decimal: 0, | ||
@@ -500,3 +500,2 @@ suffix: '', | ||
value: step, | ||
min: 2, | ||
type: 'number' | ||
@@ -503,0 +502,0 @@ }, { |
@@ -29,3 +29,3 @@ "use strict"; | ||
iconGap: 5, | ||
gridTemplate: { | ||
layout: { | ||
gridTemplateColumns: 3, | ||
@@ -35,9 +35,9 @@ gridGap: { | ||
gridColumnGap: 30 | ||
}, | ||
alignment: 'center bottom', | ||
translate: { | ||
x: 0, | ||
y: 0 | ||
} | ||
}, | ||
alignment: 'bottom center', | ||
translate: { | ||
x: 0, | ||
y: 0 | ||
}, | ||
interactive: true, | ||
@@ -64,20 +64,20 @@ unselect: { | ||
iconGap = _ref.iconGap, | ||
_ref$gridTemplate = _ref.gridTemplate; | ||
_ref$gridTemplate = _ref$gridTemplate === void 0 ? defaultLegend.gridTemplate : _ref$gridTemplate; | ||
var _ref$gridTemplate$gri = _ref$gridTemplate.gridTemplateColumns, | ||
gridTemplateColumns = _ref$gridTemplate$gri === void 0 ? defaultLegend.gridTemplate.gridTemplateColumns : _ref$gridTemplate$gri, | ||
_ref$gridTemplate$gri2 = _ref$gridTemplate.gridGap; | ||
_ref$gridTemplate$gri2 = _ref$gridTemplate$gri2 === void 0 ? defaultLegend.gridTemplate.gridGap : _ref$gridTemplate$gri2; | ||
var _ref$gridTemplate$gri3 = _ref$gridTemplate$gri2.gridRowGap, | ||
gridRowGap = _ref$gridTemplate$gri3 === void 0 ? defaultLegend.gridTemplate.gridGap.gridRowGap : _ref$gridTemplate$gri3, | ||
_ref$gridTemplate$gri4 = _ref$gridTemplate$gri2.gridColumnGap, | ||
gridColumnGap = _ref$gridTemplate$gri4 === void 0 ? defaultLegend.gridTemplate.gridGap.gridColumnGap : _ref$gridTemplate$gri4, | ||
_ref$alignment = _ref.alignment, | ||
alignment = _ref$alignment === void 0 ? defaultLegend.alignment : _ref$alignment, | ||
_ref$translate = _ref.translate; | ||
_ref$translate = _ref$translate === void 0 ? defaultLegend.translate : _ref$translate; | ||
var _ref$translate$x = _ref$translate.x, | ||
x = _ref$translate$x === void 0 ? defaultLegend.translate.x : _ref$translate$x, | ||
_ref$translate$y = _ref$translate.y, | ||
y = _ref$translate$y === void 0 ? defaultLegend.translate.y : _ref$translate$y, | ||
_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$interactive = _ref.interactive, | ||
@@ -106,3 +106,4 @@ interactive = _ref$interactive === void 0 ? defaultLegend.interactive : _ref$interactive, | ||
config: { | ||
span: 12 | ||
span: 12, | ||
suffix: 'px' | ||
} | ||
@@ -114,3 +115,4 @@ }, { | ||
config: { | ||
span: 12 | ||
span: 12, | ||
suffix: 'px' | ||
} | ||
@@ -159,3 +161,2 @@ }], | ||
}, { | ||
rule: [['show', '$eq', true]], | ||
type: 'grid', | ||
@@ -168,5 +169,3 @@ name: 'alignment', | ||
} | ||
}, _objectSpread({ | ||
rule: [['show', '$eq', true]] | ||
}, translateConfig(x, y))] | ||
}, _objectSpread({}, translateConfig(x, y))] | ||
}, { | ||
@@ -173,0 +172,0 @@ rule: [['show', '$eq', true]], |
@@ -78,3 +78,3 @@ "use strict"; | ||
min: 0, | ||
max: 360, | ||
max: 20, | ||
step: 1, | ||
@@ -426,3 +426,3 @@ suffix: '°' | ||
endAngle: 360, | ||
clockwise: true | ||
antiClockwise: false | ||
}, | ||
@@ -456,4 +456,4 @@ stroke: { | ||
endAngle = _ref6$fan$angle$endAn === void 0 ? defaultPie.fan.angle.endAngle : _ref6$fan$angle$endAn, | ||
_ref6$fan$angle$clock = _ref6$fan$angle.clockwise, | ||
clockwise = _ref6$fan$angle$clock === void 0 ? defaultPie.fan.angle.clockwise : _ref6$fan$angle$clock, | ||
_ref6$fan$angle$antiC = _ref6$fan$angle.antiClockwise, | ||
antiClockwise = _ref6$fan$angle$antiC === void 0 ? defaultPie.fan.angle.antiClockwise : _ref6$fan$angle$antiC, | ||
_ref6$fan$stroke = _ref6$fan.stroke; | ||
@@ -527,5 +527,5 @@ _ref6$fan$stroke = _ref6$fan$stroke === void 0 ? defaultPie.fan.stroke : _ref6$fan$stroke; | ||
}, { | ||
name: 'clockwise', | ||
name: 'antiClockwise', | ||
displayName: '反向', | ||
value: clockwise, | ||
value: antiClockwise, | ||
type: 'boolean', | ||
@@ -532,0 +532,0 @@ tip: '启用使用另一时针顺序绘制饼图' |
{ | ||
"name": "@easyv/config", | ||
"version": "1.0.18", | ||
"version": "1.0.19", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -106,2 +106,3 @@ import { show as showConfig } from './'; | ||
{ | ||
tip: '选择点击或悬浮,鼠标点击/悬浮各数据块时停止轮播仅显示当前数据信息', | ||
rule: [['on', '$eq', true]], | ||
@@ -108,0 +109,0 @@ name: 'interactive', |
@@ -11,3 +11,3 @@ const { translate: translateConfig, font, show: showConfig } = require('.'); | ||
iconGap: 5, | ||
gridTemplate: { | ||
layout: { | ||
gridTemplateColumns: 3, | ||
@@ -18,5 +18,5 @@ gridGap: { | ||
}, | ||
alignment: 'center bottom', | ||
translate: { x: 0, y: 0 }, | ||
}, | ||
alignment: 'bottom center', | ||
translate: { x: 0, y: 0 }, | ||
interactive: true, | ||
@@ -36,14 +36,14 @@ unselect: { | ||
iconGap, | ||
gridTemplate: { | ||
gridTemplateColumns = defaultLegend.gridTemplate.gridTemplateColumns, | ||
layout: { | ||
gridTemplateColumns = defaultLegend.layout.gridTemplateColumns, | ||
gridGap: { | ||
gridRowGap = defaultLegend.gridTemplate.gridGap.gridRowGap, | ||
gridColumnGap = defaultLegend.gridTemplate.gridGap.gridColumnGap, | ||
} = defaultLegend.gridTemplate.gridGap, | ||
} = defaultLegend.gridTemplate, | ||
alignment = defaultLegend.alignment, | ||
translate: { | ||
x = defaultLegend.translate.x, | ||
y = defaultLegend.translate.y, | ||
} = defaultLegend.translate, | ||
gridRowGap = defaultLegend.layout.gridGap.gridRowGap, | ||
gridColumnGap = defaultLegend.layout.gridGap.gridColumnGap, | ||
} = defaultLegend.layout.gridGap, | ||
alignment = defaultLegend.layout.alignment, | ||
translate: { | ||
x = defaultLegend.layout.translate.x, | ||
y = defaultLegend.layout.translate.y, | ||
} = defaultLegend.layout.translate, | ||
} = defaultLegend.layout, | ||
interactive = defaultLegend.interactive, | ||
@@ -75,2 +75,3 @@ unselect: { | ||
span: 12, | ||
suffix: 'px', | ||
}, | ||
@@ -84,2 +85,3 @@ }, | ||
span: 12, | ||
suffix: 'px', | ||
}, | ||
@@ -137,3 +139,2 @@ }, | ||
{ | ||
rule: [['show', '$eq', true]], | ||
type: 'grid', | ||
@@ -158,3 +159,2 @@ name: 'alignment', | ||
{ | ||
rule: [['show', '$eq', true]], | ||
...translateConfig(x, y), | ||
@@ -161,0 +161,0 @@ }, |
@@ -61,3 +61,3 @@ import { font, show as showConfig, translate as translateConfig } from './'; | ||
min: 0, | ||
max: 360, | ||
max: 20, | ||
step: 1, | ||
@@ -380,3 +380,3 @@ suffix: '°', | ||
chart: { rose: false, baseRadius: 0.5, outerRadius: 1, innerRadius: 0 }, | ||
angle: { startAngle: 0, endAngle: 360, clockwise: true }, | ||
angle: { startAngle: 0, endAngle: 360, antiClockwise: false }, | ||
stroke: { show: false, strokeWidth: 1, color: '#FFFFFF' }, | ||
@@ -396,3 +396,3 @@ }, | ||
endAngle = defaultPie.fan.angle.endAngle, | ||
clockwise = defaultPie.fan.angle.clockwise, | ||
antiClockwise = defaultPie.fan.angle.antiClockwise, | ||
} = defaultPie.fan.angle, | ||
@@ -474,5 +474,5 @@ stroke: { | ||
{ | ||
name: 'clockwise', | ||
name: 'antiClockwise', | ||
displayName: '反向', | ||
value: clockwise, | ||
value: antiClockwise, | ||
type: 'boolean', | ||
@@ -479,0 +479,0 @@ tip: '启用使用另一时针顺序绘制饼图', |
208480