@easyv/config 1.1.30 → 1.1.32
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/animation.js +16 -16
- package/lib/baseLine.js +44 -44
- package/lib/brush.js +12 -12
- package/lib/control.js +63 -0
- package/lib/imageGroup.js +12 -12
- package/lib/index.js +7 -0
- package/lib/label.js +108 -110
- package/lib/legend.js +192 -192
- package/lib/multiColor.js +8 -8
- package/lib/pie.js +170 -170
- package/lib/series.js +109 -109
- package/lib/tooltip.js +84 -84
- package/lib/unit.js +20 -20
- package/package.json +30 -30
- package/src/control.js +67 -0
- package/src/extent.js +36 -36
- package/src/index.js +2 -0
- package/pnpm-lock.yaml +0 -5817
package/lib/series.js
CHANGED
|
@@ -66,12 +66,12 @@ var defaultBandSeries = {
|
|
|
66
66
|
var bandSeries = function bandSeries() {
|
|
67
67
|
var name = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : Math.random() + '';
|
|
68
68
|
var _ref = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : defaultBandSeries,
|
|
69
|
-
_ref$mapping = _ref.mapping
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
fieldName = _ref$
|
|
73
|
-
_ref$
|
|
74
|
-
displayName = _ref$
|
|
69
|
+
_ref$mapping = _ref.mapping,
|
|
70
|
+
_ref$mapping2 = _ref$mapping === void 0 ? defaultBandSeries.mapping : _ref$mapping,
|
|
71
|
+
_ref$mapping2$fieldNa = _ref$mapping2.fieldName,
|
|
72
|
+
fieldName = _ref$mapping2$fieldNa === void 0 ? defaultBandSeries.mapping.fieldName : _ref$mapping2$fieldNa,
|
|
73
|
+
_ref$mapping2$display = _ref$mapping2.displayName,
|
|
74
|
+
displayName = _ref$mapping2$display === void 0 ? defaultBandSeries.mapping.displayName : _ref$mapping2$display,
|
|
75
75
|
_ref$yOrZ = _ref.yOrZ,
|
|
76
76
|
yOrZ = _ref$yOrZ === void 0 ? defaultBandSeries.yOrZ : _ref$yOrZ,
|
|
77
77
|
stack = _ref.stack,
|
|
@@ -88,23 +88,23 @@ var bandSeries = function bandSeries() {
|
|
|
88
88
|
borderWidth = _ref$borderWidth === void 0 ? defaultBandSeries.borderWidth : _ref$borderWidth,
|
|
89
89
|
_ref$borderColor = _ref.borderColor,
|
|
90
90
|
borderColor = _ref$borderColor === void 0 ? defaultBandSeries.borderColor : _ref$borderColor,
|
|
91
|
-
_ref$size = _ref.size
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
urlWidth = _ref$
|
|
95
|
-
_ref$
|
|
96
|
-
urlHeight = _ref$
|
|
91
|
+
_ref$size = _ref.size,
|
|
92
|
+
_ref$size2 = _ref$size === void 0 ? defaultBandSeries.size : _ref$size,
|
|
93
|
+
_ref$size2$width = _ref$size2.width,
|
|
94
|
+
urlWidth = _ref$size2$width === void 0 ? defaultBandSeries.size.width : _ref$size2$width,
|
|
95
|
+
_ref$size2$height = _ref$size2.height,
|
|
96
|
+
urlHeight = _ref$size2$height === void 0 ? defaultBandSeries.size.height : _ref$size2$height,
|
|
97
97
|
_ref$opacity = _ref.opacity,
|
|
98
98
|
opacity = _ref$opacity === void 0 ? defaultBandSeries.opacity : _ref$opacity,
|
|
99
99
|
headDecorate = _ref.headDecorate,
|
|
100
|
-
_ref$highlight = _ref.highlight
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
showHighlight = _ref$
|
|
104
|
-
_ref$
|
|
105
|
-
highlightExtent = _ref$
|
|
106
|
-
_ref$
|
|
107
|
-
highlightFill = _ref$
|
|
100
|
+
_ref$highlight = _ref.highlight,
|
|
101
|
+
_ref$highlight2 = _ref$highlight === void 0 ? defaultBandSeries.highlight : _ref$highlight,
|
|
102
|
+
_ref$highlight2$show = _ref$highlight2.show,
|
|
103
|
+
showHighlight = _ref$highlight2$show === void 0 ? defaultBandSeries.highlight.show : _ref$highlight2$show,
|
|
104
|
+
_ref$highlight2$exten = _ref$highlight2.extent,
|
|
105
|
+
highlightExtent = _ref$highlight2$exten === void 0 ? defaultBandSeries.highlight.extent : _ref$highlight2$exten,
|
|
106
|
+
_ref$highlight2$fill = _ref$highlight2.fill,
|
|
107
|
+
highlightFill = _ref$highlight2$fill === void 0 ? defaultBandSeries.highlight.fill : _ref$highlight2$fill,
|
|
108
108
|
bandLabel = _ref.label;
|
|
109
109
|
return {
|
|
110
110
|
name: name,
|
|
@@ -513,30 +513,30 @@ var icon = function icon() {
|
|
|
513
513
|
show = _ref4$show === void 0 ? defaultIcon.show : _ref4$show,
|
|
514
514
|
_ref4$mode = _ref4.mode,
|
|
515
515
|
mode = _ref4$mode === void 0 ? defaultIcon.mode : _ref4$mode,
|
|
516
|
-
_ref4$inner = _ref4.inner
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
innerColor = _ref4$
|
|
520
|
-
_ref4$
|
|
521
|
-
innerRadius = _ref4$
|
|
522
|
-
_ref4$outer = _ref4.outer
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
outerColor = _ref4$
|
|
526
|
-
_ref4$
|
|
527
|
-
outerRadius = _ref4$
|
|
516
|
+
_ref4$inner = _ref4.inner,
|
|
517
|
+
_ref4$inner2 = _ref4$inner === void 0 ? defaultIcon.inner : _ref4$inner,
|
|
518
|
+
_ref4$inner2$color = _ref4$inner2.color,
|
|
519
|
+
innerColor = _ref4$inner2$color === void 0 ? defaultIcon.inner.color : _ref4$inner2$color,
|
|
520
|
+
_ref4$inner2$radius = _ref4$inner2.radius,
|
|
521
|
+
innerRadius = _ref4$inner2$radius === void 0 ? defaultIcon.inner.innerRadius : _ref4$inner2$radius,
|
|
522
|
+
_ref4$outer = _ref4.outer,
|
|
523
|
+
_ref4$outer2 = _ref4$outer === void 0 ? defaultIcon.outer : _ref4$outer,
|
|
524
|
+
_ref4$outer2$color = _ref4$outer2.color,
|
|
525
|
+
outerColor = _ref4$outer2$color === void 0 ? defaultIcon.outer.color : _ref4$outer2$color,
|
|
526
|
+
_ref4$outer2$radius = _ref4$outer2.radius,
|
|
527
|
+
outerRadius = _ref4$outer2$radius === void 0 ? defaultIcon.outer.radius : _ref4$outer2$radius,
|
|
528
528
|
_ref4$color = _ref4.color,
|
|
529
529
|
color = _ref4$color === void 0 ? defaultIcon.color : _ref4$color,
|
|
530
530
|
_ref4$radius = _ref4.radius,
|
|
531
531
|
radius = _ref4$radius === void 0 ? defaultIcon.radius : _ref4$radius,
|
|
532
532
|
_ref4$image = _ref4.image,
|
|
533
533
|
image = _ref4$image === void 0 ? defaultIcon.image : _ref4$image,
|
|
534
|
-
_ref4$size = _ref4.size
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
imageWidth = _ref4$
|
|
538
|
-
_ref4$
|
|
539
|
-
imageHeight = _ref4$
|
|
534
|
+
_ref4$size = _ref4.size,
|
|
535
|
+
_ref4$size2 = _ref4$size === void 0 ? defaultIcon.size : _ref4$size,
|
|
536
|
+
_ref4$size2$width = _ref4$size2.width,
|
|
537
|
+
imageWidth = _ref4$size2$width === void 0 ? defaultIcon.size.width : _ref4$size2$width,
|
|
538
|
+
_ref4$size2$height = _ref4$size2.height,
|
|
539
|
+
imageHeight = _ref4$size2$height === void 0 ? defaultIcon.size.height : _ref4$size2$height;
|
|
540
540
|
return {
|
|
541
541
|
name: 'icon',
|
|
542
542
|
displayName: '数据标记',
|
|
@@ -652,34 +652,34 @@ var icon = function icon() {
|
|
|
652
652
|
var lineSeries = function lineSeries() {
|
|
653
653
|
var name = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : Math.random() + '';
|
|
654
654
|
var _ref5 = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : defaultLineSeries,
|
|
655
|
-
_ref5$mapping = _ref5.mapping
|
|
656
|
-
|
|
657
|
-
|
|
658
|
-
fieldName = _ref5$
|
|
659
|
-
_ref5$
|
|
660
|
-
displayName = _ref5$
|
|
655
|
+
_ref5$mapping = _ref5.mapping,
|
|
656
|
+
_ref5$mapping2 = _ref5$mapping === void 0 ? defaultLineSeries.mapping : _ref5$mapping,
|
|
657
|
+
_ref5$mapping2$fieldN = _ref5$mapping2.fieldName,
|
|
658
|
+
fieldName = _ref5$mapping2$fieldN === void 0 ? defaultLineSeries.mapping.fieldName : _ref5$mapping2$fieldN,
|
|
659
|
+
_ref5$mapping2$displa = _ref5$mapping2.displayName,
|
|
660
|
+
displayName = _ref5$mapping2$displa === void 0 ? defaultLineSeries.mapping.displayName : _ref5$mapping2$displa,
|
|
661
661
|
_ref5$yOrZ = _ref5.yOrZ,
|
|
662
662
|
yOrZ = _ref5$yOrZ === void 0 ? defaultLineSeries.yOrZ : _ref5$yOrZ,
|
|
663
|
-
_ref5$line = _ref5.line
|
|
664
|
-
|
|
665
|
-
|
|
666
|
-
type = _ref5$
|
|
667
|
-
_ref5$
|
|
668
|
-
color = _ref5$
|
|
669
|
-
_ref5$
|
|
670
|
-
lineWidth = _ref5$
|
|
671
|
-
_ref5$
|
|
672
|
-
curve = _ref5$
|
|
673
|
-
_ref5$
|
|
674
|
-
tension = _ref5$
|
|
675
|
-
_ref5$
|
|
676
|
-
connectNulls = _ref5$
|
|
677
|
-
_ref5$
|
|
678
|
-
|
|
679
|
-
|
|
680
|
-
showShadow = _ref5$
|
|
681
|
-
_ref5$
|
|
682
|
-
shadow_ = _ref5$
|
|
663
|
+
_ref5$line = _ref5.line,
|
|
664
|
+
_ref5$line2 = _ref5$line === void 0 ? defaultLineSeries.line : _ref5$line,
|
|
665
|
+
_ref5$line2$type = _ref5$line2.type,
|
|
666
|
+
type = _ref5$line2$type === void 0 ? defaultLineSeries.line.type : _ref5$line2$type,
|
|
667
|
+
_ref5$line2$color = _ref5$line2.color,
|
|
668
|
+
color = _ref5$line2$color === void 0 ? defaultLineSeries.line.color : _ref5$line2$color,
|
|
669
|
+
_ref5$line2$lineWidth = _ref5$line2.lineWidth,
|
|
670
|
+
lineWidth = _ref5$line2$lineWidth === void 0 ? defaultLineSeries.line.lineWidth : _ref5$line2$lineWidth,
|
|
671
|
+
_ref5$line2$curve = _ref5$line2.curve,
|
|
672
|
+
curve = _ref5$line2$curve === void 0 ? defaultLineSeries.line.curve : _ref5$line2$curve,
|
|
673
|
+
_ref5$line2$tension = _ref5$line2.tension,
|
|
674
|
+
tension = _ref5$line2$tension === void 0 ? defaultLineSeries.line.tension : _ref5$line2$tension,
|
|
675
|
+
_ref5$line2$connectNu = _ref5$line2.connectNulls,
|
|
676
|
+
connectNulls = _ref5$line2$connectNu === void 0 ? defaultLineSeries.line.connectNulls : _ref5$line2$connectNu,
|
|
677
|
+
_ref5$line2$lineShado = _ref5$line2.lineShadow,
|
|
678
|
+
_ref5$line2$lineShado2 = _ref5$line2$lineShado === void 0 ? defaultLineSeries.line.lineShadow : _ref5$line2$lineShado,
|
|
679
|
+
_ref5$line2$lineShado3 = _ref5$line2$lineShado2.show,
|
|
680
|
+
showShadow = _ref5$line2$lineShado3 === void 0 ? defaultLineSeries.line.lineShadow.show : _ref5$line2$lineShado3,
|
|
681
|
+
_ref5$line2$lineShado4 = _ref5$line2$lineShado2.shadow,
|
|
682
|
+
shadow_ = _ref5$line2$lineShado4 === void 0 ? defaultLineSeries.line.lineShadow.shadow : _ref5$line2$lineShado4,
|
|
683
683
|
lineIcon = _ref5.icon,
|
|
684
684
|
lineLabel = _ref5.label;
|
|
685
685
|
return {
|
|
@@ -721,35 +721,35 @@ exports.lineSeries = lineSeries;
|
|
|
721
721
|
var areaSeries = function areaSeries() {
|
|
722
722
|
var name = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : Math.random() + '';
|
|
723
723
|
var _ref6 = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : defaultLineSeries,
|
|
724
|
-
_ref6$mapping = _ref6.mapping
|
|
725
|
-
|
|
726
|
-
|
|
727
|
-
fieldName = _ref6$
|
|
728
|
-
_ref6$
|
|
729
|
-
displayName = _ref6$
|
|
724
|
+
_ref6$mapping = _ref6.mapping,
|
|
725
|
+
_ref6$mapping2 = _ref6$mapping === void 0 ? defaultLineSeries.mapping : _ref6$mapping,
|
|
726
|
+
_ref6$mapping2$fieldN = _ref6$mapping2.fieldName,
|
|
727
|
+
fieldName = _ref6$mapping2$fieldN === void 0 ? defaultLineSeries.mapping.fieldName : _ref6$mapping2$fieldN,
|
|
728
|
+
_ref6$mapping2$displa = _ref6$mapping2.displayName,
|
|
729
|
+
displayName = _ref6$mapping2$displa === void 0 ? defaultLineSeries.mapping.displayName : _ref6$mapping2$displa,
|
|
730
730
|
_ref6$yOrZ = _ref6.yOrZ,
|
|
731
731
|
yOrZ = _ref6$yOrZ === void 0 ? defaultLineSeries.yOrZ : _ref6$yOrZ,
|
|
732
|
-
_ref6$line = _ref6.line
|
|
733
|
-
|
|
734
|
-
|
|
735
|
-
type = _ref6$
|
|
736
|
-
_ref6$
|
|
737
|
-
color = _ref6$
|
|
738
|
-
_ref6$
|
|
739
|
-
lineWidth = _ref6$
|
|
740
|
-
_ref6$
|
|
741
|
-
curve = _ref6$
|
|
742
|
-
_ref6$
|
|
743
|
-
tension = _ref6$
|
|
744
|
-
_ref6$
|
|
745
|
-
connectNulls = _ref6$
|
|
746
|
-
_ref6$
|
|
747
|
-
|
|
748
|
-
|
|
749
|
-
showShadow = _ref6$
|
|
750
|
-
_ref6$
|
|
751
|
-
shadow_ = _ref6$
|
|
752
|
-
lineLighter = _ref6$
|
|
732
|
+
_ref6$line = _ref6.line,
|
|
733
|
+
_ref6$line2 = _ref6$line === void 0 ? defaultLineSeries.line : _ref6$line,
|
|
734
|
+
_ref6$line2$type = _ref6$line2.type,
|
|
735
|
+
type = _ref6$line2$type === void 0 ? defaultLineSeries.line.type : _ref6$line2$type,
|
|
736
|
+
_ref6$line2$color = _ref6$line2.color,
|
|
737
|
+
color = _ref6$line2$color === void 0 ? defaultLineSeries.line.color : _ref6$line2$color,
|
|
738
|
+
_ref6$line2$lineWidth = _ref6$line2.lineWidth,
|
|
739
|
+
lineWidth = _ref6$line2$lineWidth === void 0 ? defaultLineSeries.line.lineWidth : _ref6$line2$lineWidth,
|
|
740
|
+
_ref6$line2$curve = _ref6$line2.curve,
|
|
741
|
+
curve = _ref6$line2$curve === void 0 ? defaultLineSeries.line.curve : _ref6$line2$curve,
|
|
742
|
+
_ref6$line2$tension = _ref6$line2.tension,
|
|
743
|
+
tension = _ref6$line2$tension === void 0 ? defaultLineSeries.line.tension : _ref6$line2$tension,
|
|
744
|
+
_ref6$line2$connectNu = _ref6$line2.connectNulls,
|
|
745
|
+
connectNulls = _ref6$line2$connectNu === void 0 ? defaultLineSeries.line.connectNulls : _ref6$line2$connectNu,
|
|
746
|
+
_ref6$line2$lineShado = _ref6$line2.lineShadow,
|
|
747
|
+
_ref6$line2$lineShado2 = _ref6$line2$lineShado === void 0 ? defaultLineSeries.line.lineShadow : _ref6$line2$lineShado,
|
|
748
|
+
_ref6$line2$lineShado3 = _ref6$line2$lineShado2.show,
|
|
749
|
+
showShadow = _ref6$line2$lineShado3 === void 0 ? defaultLineSeries.line.lineShadow.show : _ref6$line2$lineShado3,
|
|
750
|
+
_ref6$line2$lineShado4 = _ref6$line2$lineShado2.shadow,
|
|
751
|
+
shadow_ = _ref6$line2$lineShado4 === void 0 ? defaultLineSeries.line.lineShadow.shadow : _ref6$line2$lineShado4,
|
|
752
|
+
lineLighter = _ref6$line2.lighter,
|
|
753
753
|
_ref6$label = _ref6.label,
|
|
754
754
|
areaLabel = _ref6$label === void 0 ? defaultLineSeries.label : _ref6$label,
|
|
755
755
|
_ref6$areaType = _ref6.areaType,
|
|
@@ -758,12 +758,12 @@ var areaSeries = function areaSeries() {
|
|
|
758
758
|
areaColor = _ref6$areaColor === void 0 ? defaultLineSeries.areaColor : _ref6$areaColor,
|
|
759
759
|
_ref6$url = _ref6.url,
|
|
760
760
|
url = _ref6$url === void 0 ? defaultLineSeries.url : _ref6$url,
|
|
761
|
-
_ref6$size = _ref6.size
|
|
762
|
-
|
|
763
|
-
|
|
764
|
-
urlWidth = _ref6$
|
|
765
|
-
_ref6$
|
|
766
|
-
urlHeight = _ref6$
|
|
761
|
+
_ref6$size = _ref6.size,
|
|
762
|
+
_ref6$size2 = _ref6$size === void 0 ? defaultLineSeries.size : _ref6$size,
|
|
763
|
+
_ref6$size2$width = _ref6$size2.width,
|
|
764
|
+
urlWidth = _ref6$size2$width === void 0 ? defaultLineSeries.size.width : _ref6$size2$width,
|
|
765
|
+
_ref6$size2$height = _ref6$size2.height,
|
|
766
|
+
urlHeight = _ref6$size2$height === void 0 ? defaultLineSeries.size.height : _ref6$size2$height,
|
|
767
767
|
_ref6$opacity = _ref6.opacity,
|
|
768
768
|
opacity = _ref6$opacity === void 0 ? defaultLineSeries.opacity : _ref6$opacity;
|
|
769
769
|
return {
|
|
@@ -888,12 +888,12 @@ var defaultPieSeries = {
|
|
|
888
888
|
var pieSeries = function pieSeries() {
|
|
889
889
|
var name = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : Math.random() + '';
|
|
890
890
|
var _ref7 = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : defaultPieSeries,
|
|
891
|
-
_ref7$mapping = _ref7.mapping
|
|
892
|
-
|
|
893
|
-
|
|
894
|
-
fieldName = _ref7$
|
|
895
|
-
_ref7$
|
|
896
|
-
displayName = _ref7$
|
|
891
|
+
_ref7$mapping = _ref7.mapping,
|
|
892
|
+
_ref7$mapping2 = _ref7$mapping === void 0 ? defaultPieSeries.mapping : _ref7$mapping,
|
|
893
|
+
_ref7$mapping2$fieldN = _ref7$mapping2.fieldName,
|
|
894
|
+
fieldName = _ref7$mapping2$fieldN === void 0 ? defaultPieSeries.mapping.fieldName : _ref7$mapping2$fieldN,
|
|
895
|
+
_ref7$mapping2$displa = _ref7$mapping2.displayName,
|
|
896
|
+
displayName = _ref7$mapping2$displa === void 0 ? defaultPieSeries.mapping.displayName : _ref7$mapping2$displa,
|
|
897
897
|
_ref7$color = _ref7.color,
|
|
898
898
|
color = _ref7$color === void 0 ? defaultPieSeries.color : _ref7$color,
|
|
899
899
|
currentColor = _ref7.currentColor;
|
|
@@ -928,12 +928,12 @@ var defaultPurePieSeries = {
|
|
|
928
928
|
var purePieSeries = function purePieSeries() {
|
|
929
929
|
var name = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : Math.random() + '';
|
|
930
930
|
var _ref8 = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : defaultPurePieSeries,
|
|
931
|
-
_ref8$mapping = _ref8.mapping
|
|
932
|
-
|
|
933
|
-
|
|
934
|
-
fieldName = _ref8$
|
|
935
|
-
_ref8$
|
|
936
|
-
displayName = _ref8$
|
|
931
|
+
_ref8$mapping = _ref8.mapping,
|
|
932
|
+
_ref8$mapping2 = _ref8$mapping === void 0 ? defaultPurePieSeries.mapping : _ref8$mapping,
|
|
933
|
+
_ref8$mapping2$fieldN = _ref8$mapping2.fieldName,
|
|
934
|
+
fieldName = _ref8$mapping2$fieldN === void 0 ? defaultPurePieSeries.mapping.fieldName : _ref8$mapping2$fieldN,
|
|
935
|
+
_ref8$mapping2$displa = _ref8$mapping2.displayName,
|
|
936
|
+
displayName = _ref8$mapping2$displa === void 0 ? defaultPurePieSeries.mapping.displayName : _ref8$mapping2$displa,
|
|
937
937
|
_ref8$color = _ref8.color,
|
|
938
938
|
color = _ref8$color === void 0 ? defaultPurePieSeries.color : _ref8$color;
|
|
939
939
|
return {
|
package/lib/tooltip.js
CHANGED
|
@@ -91,90 +91,90 @@ var _default = function _default() {
|
|
|
91
91
|
manual = _ref$manual === void 0 ? defaultTooltip.manual : _ref$manual,
|
|
92
92
|
_ref$interval = _ref.interval,
|
|
93
93
|
interval = _ref$interval === void 0 ? defaultTooltip.interval : _ref$interval,
|
|
94
|
-
_ref$tip = _ref.tip
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
tipTranslateX = _ref$
|
|
100
|
-
_ref$
|
|
101
|
-
tipTranslateY = _ref$
|
|
102
|
-
_ref$
|
|
103
|
-
image = _ref$
|
|
104
|
-
_ref$
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
tipWidth = _ref$
|
|
108
|
-
_ref$
|
|
109
|
-
tipHeight = _ref$
|
|
110
|
-
_ref$
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
marginTop = _ref$
|
|
114
|
-
_ref$
|
|
115
|
-
marginBottom = _ref$
|
|
116
|
-
_ref$
|
|
117
|
-
marginLeft = _ref$
|
|
118
|
-
_ref$
|
|
119
|
-
marginRight = _ref$
|
|
120
|
-
_ref$
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
xAxisFontSize = _ref$
|
|
128
|
-
xAxisColor = _ref$
|
|
129
|
-
xAxisBold = _ref$
|
|
130
|
-
xAxisItalic = _ref$
|
|
131
|
-
xAxisLetterSpacing = _ref$
|
|
132
|
-
_ref$
|
|
133
|
-
align = _ref$
|
|
134
|
-
_ref$
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
y = _ref$
|
|
138
|
-
_ref$
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
lineHeight = _ref$
|
|
142
|
-
_ref$
|
|
143
|
-
iconSize = _ref$
|
|
144
|
-
_ref$
|
|
145
|
-
num = _ref$
|
|
146
|
-
_ref$
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
nameFontSize = _ref$
|
|
150
|
-
nameColor = _ref$
|
|
151
|
-
nameBold = _ref$
|
|
152
|
-
nameItalic = _ref$
|
|
153
|
-
nameLetterSpacing = _ref$
|
|
154
|
-
_ref$
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
valueFontSize = _ref$
|
|
158
|
-
valueFontColor = _ref$
|
|
159
|
-
valueFontBold = _ref$
|
|
160
|
-
valueFontItalic = _ref$
|
|
161
|
-
valueFontLetterSpacing = _ref$
|
|
162
|
-
_ref$
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
suffixFontSize = _ref$
|
|
168
|
-
suffixColor = _ref$
|
|
169
|
-
suffixBold = _ref$
|
|
170
|
-
suffixItalic = _ref$
|
|
171
|
-
suffixLetterSpacing = _ref$
|
|
172
|
-
_ref$indicator = _ref.indicator
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
width = _ref$
|
|
176
|
-
_ref$
|
|
177
|
-
color = _ref$
|
|
94
|
+
_ref$tip = _ref.tip,
|
|
95
|
+
_ref$tip2 = _ref$tip === void 0 ? defaultTooltip.tip : _ref$tip,
|
|
96
|
+
_ref$tip2$translate = _ref$tip2.translate,
|
|
97
|
+
_ref$tip2$translate2 = _ref$tip2$translate === void 0 ? defaultTooltip.tip.translate : _ref$tip2$translate,
|
|
98
|
+
_ref$tip2$translate2$ = _ref$tip2$translate2.x,
|
|
99
|
+
tipTranslateX = _ref$tip2$translate2$ === void 0 ? defaultTooltip.tip.translate.x : _ref$tip2$translate2$,
|
|
100
|
+
_ref$tip2$translate2$2 = _ref$tip2$translate2.y,
|
|
101
|
+
tipTranslateY = _ref$tip2$translate2$2 === void 0 ? defaultTooltip.tip.translate.y : _ref$tip2$translate2$2,
|
|
102
|
+
_ref$tip2$image = _ref$tip2.image,
|
|
103
|
+
image = _ref$tip2$image === void 0 ? defaultTooltip.tip.image : _ref$tip2$image,
|
|
104
|
+
_ref$tip2$size = _ref$tip2.size,
|
|
105
|
+
_ref$tip2$size2 = _ref$tip2$size === void 0 ? defaultTooltip.tip.size : _ref$tip2$size,
|
|
106
|
+
_ref$tip2$size2$width = _ref$tip2$size2.width,
|
|
107
|
+
tipWidth = _ref$tip2$size2$width === void 0 ? defaultTooltip.tip.size.width : _ref$tip2$size2$width,
|
|
108
|
+
_ref$tip2$size2$heigh = _ref$tip2$size2.height,
|
|
109
|
+
tipHeight = _ref$tip2$size2$heigh === void 0 ? defaultTooltip.tip.size.height : _ref$tip2$size2$heigh,
|
|
110
|
+
_ref$tip2$margin = _ref$tip2.margin,
|
|
111
|
+
_ref$tip2$margin2 = _ref$tip2$margin === void 0 ? defaultTooltip.tip.margin : _ref$tip2$margin,
|
|
112
|
+
_ref$tip2$margin2$mar = _ref$tip2$margin2.marginTop,
|
|
113
|
+
marginTop = _ref$tip2$margin2$mar === void 0 ? defaultTooltip.tip.margin.marginTop : _ref$tip2$margin2$mar,
|
|
114
|
+
_ref$tip2$margin2$mar2 = _ref$tip2$margin2.marginBottom,
|
|
115
|
+
marginBottom = _ref$tip2$margin2$mar2 === void 0 ? defaultTooltip.tip.margin.marginBottom : _ref$tip2$margin2$mar2,
|
|
116
|
+
_ref$tip2$margin2$mar3 = _ref$tip2$margin2.marginLeft,
|
|
117
|
+
marginLeft = _ref$tip2$margin2$mar3 === void 0 ? defaultTooltip.tip.margin.marginLeft : _ref$tip2$margin2$mar3,
|
|
118
|
+
_ref$tip2$margin2$mar4 = _ref$tip2$margin2.marginRight,
|
|
119
|
+
marginRight = _ref$tip2$margin2$mar4 === void 0 ? defaultTooltip.tip.margin.marginRight : _ref$tip2$margin2$mar4,
|
|
120
|
+
_ref$tip2$data = _ref$tip2.data,
|
|
121
|
+
_ref$tip2$data2 = _ref$tip2$data === void 0 ? defaultTooltip.tip.data : _ref$tip2$data,
|
|
122
|
+
_ref$tip2$data2$xAxis = _ref$tip2$data2.xAxis,
|
|
123
|
+
_ref$tip2$data2$xAxis2 = _ref$tip2$data2$xAxis === void 0 ? defaultTooltip.tip.data.xAxis : _ref$tip2$data2$xAxis,
|
|
124
|
+
_ref$tip2$data2$xAxis3 = _ref$tip2$data2$xAxis2.font,
|
|
125
|
+
_ref$tip2$data2$xAxis4 = _ref$tip2$data2$xAxis3 === void 0 ? defaultTooltip.tip.data.xAxis.font : _ref$tip2$data2$xAxis3,
|
|
126
|
+
xAxisFontFamily = _ref$tip2$data2$xAxis4.fontFamily,
|
|
127
|
+
xAxisFontSize = _ref$tip2$data2$xAxis4.fontSize,
|
|
128
|
+
xAxisColor = _ref$tip2$data2$xAxis4.color,
|
|
129
|
+
xAxisBold = _ref$tip2$data2$xAxis4.bold,
|
|
130
|
+
xAxisItalic = _ref$tip2$data2$xAxis4.italic,
|
|
131
|
+
xAxisLetterSpacing = _ref$tip2$data2$xAxis4.letterSpacing,
|
|
132
|
+
_ref$tip2$data2$xAxis5 = _ref$tip2$data2$xAxis2.align,
|
|
133
|
+
align = _ref$tip2$data2$xAxis5 === void 0 ? defaultTooltip.tip.data.xAxis.align : _ref$tip2$data2$xAxis5,
|
|
134
|
+
_ref$tip2$data2$xAxis6 = _ref$tip2$data2$xAxis2.translate,
|
|
135
|
+
_ref$tip2$data2$xAxis7 = _ref$tip2$data2$xAxis6 === void 0 ? defaultTooltip.tip.data.xAxis.translate : _ref$tip2$data2$xAxis6,
|
|
136
|
+
x = _ref$tip2$data2$xAxis7.x,
|
|
137
|
+
y = _ref$tip2$data2$xAxis7.y,
|
|
138
|
+
_ref$tip2$data2$data = _ref$tip2$data2.data,
|
|
139
|
+
_ref$tip2$data2$data2 = _ref$tip2$data2$data === void 0 ? defaultTooltip.tip.data.data : _ref$tip2$data2$data,
|
|
140
|
+
_ref$tip2$data2$data3 = _ref$tip2$data2$data2.lineHeight,
|
|
141
|
+
lineHeight = _ref$tip2$data2$data3 === void 0 ? defaultTooltip.tip.data.lineHeight : _ref$tip2$data2$data3,
|
|
142
|
+
_ref$tip2$data2$data4 = _ref$tip2$data2$data2.iconSize,
|
|
143
|
+
iconSize = _ref$tip2$data2$data4 === void 0 ? defaultTooltip.tip.data.iconSize : _ref$tip2$data2$data4,
|
|
144
|
+
_ref$tip2$data2$data5 = _ref$tip2$data2$data2.num,
|
|
145
|
+
num = _ref$tip2$data2$data5 === void 0 ? defaultTooltip.tip.data.num : _ref$tip2$data2$data5,
|
|
146
|
+
_ref$tip2$data2$data6 = _ref$tip2$data2$data2.name,
|
|
147
|
+
_ref$tip2$data2$data7 = _ref$tip2$data2$data6 === void 0 ? defaultTooltip.tip.data.data.name : _ref$tip2$data2$data6,
|
|
148
|
+
nameFontFamily = _ref$tip2$data2$data7.fontFamily,
|
|
149
|
+
nameFontSize = _ref$tip2$data2$data7.fontSize,
|
|
150
|
+
nameColor = _ref$tip2$data2$data7.color,
|
|
151
|
+
nameBold = _ref$tip2$data2$data7.bold,
|
|
152
|
+
nameItalic = _ref$tip2$data2$data7.italic,
|
|
153
|
+
nameLetterSpacing = _ref$tip2$data2$data7.letterSpacing,
|
|
154
|
+
_ref$tip2$data2$data8 = _ref$tip2$data2$data2.value,
|
|
155
|
+
_ref$tip2$data2$data9 = _ref$tip2$data2$data8 === void 0 ? defaultTooltip.tip.data.data.value : _ref$tip2$data2$data8,
|
|
156
|
+
valueFontFamily = _ref$tip2$data2$data9.fontFamily,
|
|
157
|
+
valueFontSize = _ref$tip2$data2$data9.fontSize,
|
|
158
|
+
valueFontColor = _ref$tip2$data2$data9.color,
|
|
159
|
+
valueFontBold = _ref$tip2$data2$data9.bold,
|
|
160
|
+
valueFontItalic = _ref$tip2$data2$data9.italic,
|
|
161
|
+
valueFontLetterSpacing = _ref$tip2$data2$data9.letterSpacing,
|
|
162
|
+
_ref$tip2$data2$data10 = _ref$tip2$data2$data2.suffix,
|
|
163
|
+
_ref$tip2$data2$data11 = _ref$tip2$data2$data10 === void 0 ? defaultTooltip.tip.data.data.suffix : _ref$tip2$data2$data10,
|
|
164
|
+
_ref$tip2$data2$data12 = _ref$tip2$data2$data11.font,
|
|
165
|
+
_ref$tip2$data2$data13 = _ref$tip2$data2$data12 === void 0 ? defaultTooltip.tip.data.data.suffix.font : _ref$tip2$data2$data12,
|
|
166
|
+
suffixFontFamily = _ref$tip2$data2$data13.fontFamily,
|
|
167
|
+
suffixFontSize = _ref$tip2$data2$data13.fontSize,
|
|
168
|
+
suffixColor = _ref$tip2$data2$data13.color,
|
|
169
|
+
suffixBold = _ref$tip2$data2$data13.bold,
|
|
170
|
+
suffixItalic = _ref$tip2$data2$data13.italic,
|
|
171
|
+
suffixLetterSpacing = _ref$tip2$data2$data13.letterSpacing,
|
|
172
|
+
_ref$indicator = _ref.indicator,
|
|
173
|
+
_ref$indicator2 = _ref$indicator === void 0 ? defaultTooltip.indicator : _ref$indicator,
|
|
174
|
+
_ref$indicator2$width = _ref$indicator2.width,
|
|
175
|
+
width = _ref$indicator2$width === void 0 ? defaultTooltip.indicator.width : _ref$indicator2$width,
|
|
176
|
+
_ref$indicator2$color = _ref$indicator2.color,
|
|
177
|
+
color = _ref$indicator2$color === void 0 ? defaultTooltip.indicator.color : _ref$indicator2$color;
|
|
178
178
|
return {
|
|
179
179
|
name: 'tooltip',
|
|
180
180
|
displayName: '提示框',
|
package/lib/unit.js
CHANGED
|
@@ -32,26 +32,26 @@ var _default = function _default() {
|
|
|
32
32
|
show = _ref$show === void 0 ? defaultUnit.show : _ref$show,
|
|
33
33
|
_ref$text = _ref.text,
|
|
34
34
|
text = _ref$text === void 0 ? defaultUnit.text : _ref$text,
|
|
35
|
-
_ref$font = _ref.font
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
fontFamily = _ref$
|
|
39
|
-
_ref$
|
|
40
|
-
fontSize = _ref$
|
|
41
|
-
_ref$
|
|
42
|
-
color = _ref$
|
|
43
|
-
_ref$
|
|
44
|
-
bold = _ref$
|
|
45
|
-
_ref$
|
|
46
|
-
italic = _ref$
|
|
47
|
-
_ref$
|
|
48
|
-
letterSpacing = _ref$
|
|
49
|
-
_ref$translate = _ref.translate
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
x = _ref$
|
|
53
|
-
_ref$
|
|
54
|
-
y = _ref$
|
|
35
|
+
_ref$font = _ref.font,
|
|
36
|
+
_ref$font2 = _ref$font === void 0 ? defaultUnit.font : _ref$font,
|
|
37
|
+
_ref$font2$fontFamily = _ref$font2.fontFamily,
|
|
38
|
+
fontFamily = _ref$font2$fontFamily === void 0 ? defaultUnit.font.fontFamily : _ref$font2$fontFamily,
|
|
39
|
+
_ref$font2$fontSize = _ref$font2.fontSize,
|
|
40
|
+
fontSize = _ref$font2$fontSize === void 0 ? defaultUnit.font.fontSize : _ref$font2$fontSize,
|
|
41
|
+
_ref$font2$color = _ref$font2.color,
|
|
42
|
+
color = _ref$font2$color === void 0 ? defaultUnit.font.color : _ref$font2$color,
|
|
43
|
+
_ref$font2$bold = _ref$font2.bold,
|
|
44
|
+
bold = _ref$font2$bold === void 0 ? defaultUnit.font.bold : _ref$font2$bold,
|
|
45
|
+
_ref$font2$italic = _ref$font2.italic,
|
|
46
|
+
italic = _ref$font2$italic === void 0 ? defaultUnit.font.italic : _ref$font2$italic,
|
|
47
|
+
_ref$font2$letterSpac = _ref$font2.letterSpacing,
|
|
48
|
+
letterSpacing = _ref$font2$letterSpac === void 0 ? defaultUnit.font.letterSpacing : _ref$font2$letterSpac,
|
|
49
|
+
_ref$translate = _ref.translate,
|
|
50
|
+
_ref$translate2 = _ref$translate === void 0 ? defaultUnit.translate : _ref$translate,
|
|
51
|
+
_ref$translate2$x = _ref$translate2.x,
|
|
52
|
+
x = _ref$translate2$x === void 0 ? defaultUnit.translate.x : _ref$translate2$x,
|
|
53
|
+
_ref$translate2$y = _ref$translate2.y,
|
|
54
|
+
y = _ref$translate2$y === void 0 ? defaultUnit.translate.y : _ref$translate2$y;
|
|
55
55
|
return {
|
|
56
56
|
name: 'unit',
|
|
57
57
|
displayName: '轴单位',
|
package/package.json
CHANGED
|
@@ -1,31 +1,31 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@easyv/config",
|
|
3
|
-
"version": "1.1.
|
|
4
|
-
"description": "",
|
|
5
|
-
"main": "index.js",
|
|
6
|
-
"scripts": {
|
|
7
|
-
"make": "babel src -d lib",
|
|
8
|
-
"release": "standard-version"
|
|
9
|
-
},
|
|
10
|
-
"keywords": [],
|
|
11
|
-
"author": "",
|
|
12
|
-
"license": "ISC",
|
|
13
|
-
"devDependencies": {
|
|
14
|
-
"@babel/cli": "^7.6.0",
|
|
15
|
-
"@babel/core": "^7.11.5",
|
|
16
|
-
"@babel/plugin-proposal-class-properties": "^7.10.4",
|
|
17
|
-
"@babel/plugin-proposal-export-default-from": "^7.10.4",
|
|
18
|
-
"@babel/plugin-transform-runtime": "^7.11.5",
|
|
19
|
-
"@babel/preset-env": "^7.11.5",
|
|
20
|
-
"@babel/preset-react": "^7.10.4",
|
|
21
|
-
"@babel/runtime": "^7.17.7",
|
|
22
|
-
"babel-plugin-transform-import-styles": "0.0.11",
|
|
23
|
-
"babel-preset-env": "^1.7.0",
|
|
24
|
-
"standard-version": "^9.3.2"
|
|
25
|
-
},
|
|
26
|
-
"standard-version": {
|
|
27
|
-
"skip": {
|
|
28
|
-
"commit": true
|
|
29
|
-
}
|
|
30
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "@easyv/config",
|
|
3
|
+
"version": "1.1.32",
|
|
4
|
+
"description": "",
|
|
5
|
+
"main": "index.js",
|
|
6
|
+
"scripts": {
|
|
7
|
+
"make": "babel src -d lib",
|
|
8
|
+
"release": "standard-version"
|
|
9
|
+
},
|
|
10
|
+
"keywords": [],
|
|
11
|
+
"author": "",
|
|
12
|
+
"license": "ISC",
|
|
13
|
+
"devDependencies": {
|
|
14
|
+
"@babel/cli": "^7.6.0",
|
|
15
|
+
"@babel/core": "^7.11.5",
|
|
16
|
+
"@babel/plugin-proposal-class-properties": "^7.10.4",
|
|
17
|
+
"@babel/plugin-proposal-export-default-from": "^7.10.4",
|
|
18
|
+
"@babel/plugin-transform-runtime": "^7.11.5",
|
|
19
|
+
"@babel/preset-env": "^7.11.5",
|
|
20
|
+
"@babel/preset-react": "^7.10.4",
|
|
21
|
+
"@babel/runtime": "^7.17.7",
|
|
22
|
+
"babel-plugin-transform-import-styles": "0.0.11",
|
|
23
|
+
"babel-preset-env": "^1.7.0",
|
|
24
|
+
"standard-version": "^9.3.2"
|
|
25
|
+
},
|
|
26
|
+
"standard-version": {
|
|
27
|
+
"skip": {
|
|
28
|
+
"commit": true
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
31
|
}
|