xt-element-ui 1.2.4 → 1.2.6
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/CHANGELOG.md +72 -0
- package/LICENSE +21 -0
- package/README.md +240 -104
- package/docs/README.md +100 -0
- package/docs/components/base/xt-button.md +114 -0
- package/docs/components/base/xt-card-item.md +104 -0
- package/docs/components/base/xt-card.md +108 -0
- package/docs/components/base/xt-config-provider.md +199 -0
- package/docs/components/base/xt-flex-box.md +115 -0
- package/docs/components/base/xt-grid-box.md +303 -0
- package/docs/components/base/xt-input.md +150 -0
- package/docs/components/base/xt-text.md +212 -0
- package/docs/components/extend/ex-bar.md +68 -0
- package/docs/components/extend/ex-button.md +62 -0
- package/docs/components/extend/ex-card.md +86 -0
- package/docs/components/extend/ex-chart.md +463 -0
- package/docs/components/extend/ex-icon.md +189 -0
- package/docs/components/extend/ex-line.md +71 -0
- package/docs/components/extend/ex-multi.md +156 -0
- package/docs/components/extend/ex-page.md +0 -0
- package/docs/components/extend/ex-pie.md +70 -0
- package/docs/components/extend/ex-select-tree.md +210 -0
- package/docs/components/extend/ex-table.md +591 -0
- package/docs/components/extend/ex-upload.md +134 -0
- package/docs/components/utils/size.md +148 -0
- package/docs/components/utils/theme.md +183 -0
- package/lib/index.common.js +640 -758
- package/lib/index.css +1 -1
- package/lib/index.umd.js +640 -758
- package/lib/index.umd.min.js +5 -5
- package/package.json +80 -39
- package/src/components/ex-chart/ExBar.vue +35 -29
- package/src/components/ex-chart/ExLine.vue +23 -14
- package/src/components/ex-chart/ExMulti.vue +66 -76
- package/src/components/ex-chart/ExPie.vue +26 -18
- package/src/components/ex-chart/index.vue +1 -4
- package/src/components/ex-chart/utils.js +149 -8
- package/src/components/ex-icon/index.js +2 -0
- package/src/components/ex-icon/index.vue +168 -0
- package/src/components/ex-icon/style/index.scss +7 -0
- package/src/components/ex-table/index.vue +3 -3
- package/src/components/index.scss +4 -1
- package/src/components/xt-card-item/images/bar.svg +1 -0
- package/src/components/xt-card-item/images/line.svg +1 -0
- package/src/components/xt-card-item/images/pie.svg +1 -0
- package/src/index.js +3 -0
- package/src/components/ex-chart/ExTrend.vue +0 -124
- package/src/components/ex-chart/theme/blue.js +0 -91
- package/src/components/ex-chart/theme/orange.js +0 -92
- package/src/components/ex-chart/theme/starry.js +0 -106
|
@@ -1,91 +0,0 @@
|
|
|
1
|
-
export default {
|
|
2
|
-
color: ["#2CDEB3", "#A17EE6", "#E57E40", "#409EFF"],
|
|
3
|
-
backgroundColor: "#ffffff",
|
|
4
|
-
textStyle: {
|
|
5
|
-
fontFamily: "Microsoft YaHei, sans-serif"
|
|
6
|
-
},
|
|
7
|
-
title: {
|
|
8
|
-
textStyle: {
|
|
9
|
-
color: "#333"
|
|
10
|
-
},
|
|
11
|
-
subtextStyle: {
|
|
12
|
-
color: "#666666"
|
|
13
|
-
}
|
|
14
|
-
},
|
|
15
|
-
line: {
|
|
16
|
-
itemStyle: {
|
|
17
|
-
},
|
|
18
|
-
lineStyle: {
|
|
19
|
-
width: 2
|
|
20
|
-
}
|
|
21
|
-
},
|
|
22
|
-
bar: {
|
|
23
|
-
itemStyle: {
|
|
24
|
-
borderRadius: 4
|
|
25
|
-
}
|
|
26
|
-
},
|
|
27
|
-
pie: {
|
|
28
|
-
roseType: "radius",
|
|
29
|
-
label: {
|
|
30
|
-
color: "#333"
|
|
31
|
-
}
|
|
32
|
-
},
|
|
33
|
-
radar: {
|
|
34
|
-
indicator: {
|
|
35
|
-
color: "#666666"
|
|
36
|
-
}
|
|
37
|
-
},
|
|
38
|
-
map: {
|
|
39
|
-
label: {
|
|
40
|
-
color: "#333"
|
|
41
|
-
},
|
|
42
|
-
itemStyle: {
|
|
43
|
-
borderColor: "#fff"
|
|
44
|
-
}
|
|
45
|
-
},
|
|
46
|
-
gauge: {
|
|
47
|
-
axisLine: {
|
|
48
|
-
lineStyle: {
|
|
49
|
-
color: [[1, "#5470c6"]]
|
|
50
|
-
}
|
|
51
|
-
}
|
|
52
|
-
},
|
|
53
|
-
toolbox: {
|
|
54
|
-
iconStyle: {
|
|
55
|
-
borderColor: "#666666"
|
|
56
|
-
}
|
|
57
|
-
},
|
|
58
|
-
axisLine: {
|
|
59
|
-
lineStyle: {
|
|
60
|
-
color: "#DCDFE6"
|
|
61
|
-
}
|
|
62
|
-
},
|
|
63
|
-
axisTick: {
|
|
64
|
-
lineStyle: {
|
|
65
|
-
color: "#DCDFE6"
|
|
66
|
-
}
|
|
67
|
-
},
|
|
68
|
-
splitLine: {
|
|
69
|
-
lineStyle: {
|
|
70
|
-
color: "#ebeef5"
|
|
71
|
-
}
|
|
72
|
-
},
|
|
73
|
-
splitArea: {
|
|
74
|
-
areaStyle: {
|
|
75
|
-
color: ["#f7f8fa", "#ffffff"]
|
|
76
|
-
}
|
|
77
|
-
},
|
|
78
|
-
legend: {
|
|
79
|
-
textStyle: {
|
|
80
|
-
color: "#666"
|
|
81
|
-
}
|
|
82
|
-
},
|
|
83
|
-
tooltip: {
|
|
84
|
-
backgroundColor: "rgba(255, 255, 255, 0.95)",
|
|
85
|
-
borderColor: "#DCDFE6",
|
|
86
|
-
borderWidth: 1,
|
|
87
|
-
textStyle: {
|
|
88
|
-
color: "#333"
|
|
89
|
-
}
|
|
90
|
-
}
|
|
91
|
-
};
|
|
@@ -1,92 +0,0 @@
|
|
|
1
|
-
export default {
|
|
2
|
-
color: ["#e69419", "#A5b4da", "#F8792C", "#97bfb4", "#de747b", "#d6bac0", "#e62737", "#f35969", "#f1ccb0", "#b7394e", "#fe9c1c2"],
|
|
3
|
-
backgroundColor: "#ffffff",
|
|
4
|
-
textStyle: {
|
|
5
|
-
fontFamily: "Microsoft YaHei, sans-serif"
|
|
6
|
-
},
|
|
7
|
-
title: {
|
|
8
|
-
textStyle: {
|
|
9
|
-
color: "#333"
|
|
10
|
-
},
|
|
11
|
-
subtextStyle: {
|
|
12
|
-
color: "#666666"
|
|
13
|
-
}
|
|
14
|
-
},
|
|
15
|
-
line: {
|
|
16
|
-
itemStyle: {
|
|
17
|
-
color: "#e69419"
|
|
18
|
-
},
|
|
19
|
-
lineStyle: {
|
|
20
|
-
width: 2
|
|
21
|
-
}
|
|
22
|
-
},
|
|
23
|
-
bar: {
|
|
24
|
-
itemStyle: {
|
|
25
|
-
borderRadius: 4
|
|
26
|
-
}
|
|
27
|
-
},
|
|
28
|
-
pie: {
|
|
29
|
-
roseType: "radius",
|
|
30
|
-
label: {
|
|
31
|
-
color: "#333"
|
|
32
|
-
}
|
|
33
|
-
},
|
|
34
|
-
radar: {
|
|
35
|
-
indicator: {
|
|
36
|
-
color: "#666666"
|
|
37
|
-
}
|
|
38
|
-
},
|
|
39
|
-
map: {
|
|
40
|
-
label: {
|
|
41
|
-
color: "#333"
|
|
42
|
-
},
|
|
43
|
-
itemStyle: {
|
|
44
|
-
borderColor: "#fff"
|
|
45
|
-
}
|
|
46
|
-
},
|
|
47
|
-
gauge: {
|
|
48
|
-
axisLine: {
|
|
49
|
-
lineStyle: {
|
|
50
|
-
color: [[1, "#5470c6"]]
|
|
51
|
-
}
|
|
52
|
-
}
|
|
53
|
-
},
|
|
54
|
-
toolbox: {
|
|
55
|
-
iconStyle: {
|
|
56
|
-
borderColor: "#666666"
|
|
57
|
-
}
|
|
58
|
-
},
|
|
59
|
-
axisLine: {
|
|
60
|
-
lineStyle: {
|
|
61
|
-
color: "#DCDFE6"
|
|
62
|
-
}
|
|
63
|
-
},
|
|
64
|
-
axisTick: {
|
|
65
|
-
lineStyle: {
|
|
66
|
-
color: "#DCDFE6"
|
|
67
|
-
}
|
|
68
|
-
},
|
|
69
|
-
splitLine: {
|
|
70
|
-
lineStyle: {
|
|
71
|
-
color: "#ebeef5"
|
|
72
|
-
}
|
|
73
|
-
},
|
|
74
|
-
splitArea: {
|
|
75
|
-
areaStyle: {
|
|
76
|
-
color: ["#f7f8fa", "#ffffff"]
|
|
77
|
-
}
|
|
78
|
-
},
|
|
79
|
-
legend: {
|
|
80
|
-
textStyle: {
|
|
81
|
-
color: "#666"
|
|
82
|
-
}
|
|
83
|
-
},
|
|
84
|
-
tooltip: {
|
|
85
|
-
backgroundColor: "rgba(255, 255, 255, 0.95)",
|
|
86
|
-
borderColor: "#DCDFE6",
|
|
87
|
-
borderWidth: 1,
|
|
88
|
-
textStyle: {
|
|
89
|
-
color: "#333"
|
|
90
|
-
}
|
|
91
|
-
}
|
|
92
|
-
};
|
|
@@ -1,106 +0,0 @@
|
|
|
1
|
-
export default {
|
|
2
|
-
color: [
|
|
3
|
-
"#1685a9", // 石青
|
|
4
|
-
"#21a675", // 松柏绿
|
|
5
|
-
"#1bd1a5", // 飞燕草蓝
|
|
6
|
-
"#8c4356", // 绛紫
|
|
7
|
-
"#0dafc6", // 孔雀蓝
|
|
8
|
-
"#4b5cc4", // 宝蓝
|
|
9
|
-
"#758a99", // 墨灰
|
|
10
|
-
"#cca4e3", // 丁香色
|
|
11
|
-
"#205277", // 靛青色
|
|
12
|
-
"#d9b611", // 秋香色
|
|
13
|
-
"#ff8c31", // 杏红
|
|
14
|
-
"#9d2933", // 胭脂
|
|
15
|
-
"#0288c5", // 浅靛青蓝
|
|
16
|
-
"#44cef6" // 天蓝色
|
|
17
|
-
],
|
|
18
|
-
backgroundColor: "#ffffff",
|
|
19
|
-
textStyle: {
|
|
20
|
-
fontFamily: "Microsoft YaHei, sans-serif"
|
|
21
|
-
},
|
|
22
|
-
title: {
|
|
23
|
-
textStyle: {
|
|
24
|
-
color: "#333"
|
|
25
|
-
},
|
|
26
|
-
subtextStyle: {
|
|
27
|
-
color: "#666666"
|
|
28
|
-
}
|
|
29
|
-
},
|
|
30
|
-
line: {
|
|
31
|
-
itemStyle: {
|
|
32
|
-
},
|
|
33
|
-
lineStyle: {
|
|
34
|
-
width: 2
|
|
35
|
-
}
|
|
36
|
-
},
|
|
37
|
-
bar: {
|
|
38
|
-
itemStyle: {
|
|
39
|
-
borderRadius: 4
|
|
40
|
-
}
|
|
41
|
-
},
|
|
42
|
-
pie: {
|
|
43
|
-
roseType: "radius",
|
|
44
|
-
label: {
|
|
45
|
-
color: "#333"
|
|
46
|
-
}
|
|
47
|
-
},
|
|
48
|
-
radar: {
|
|
49
|
-
indicator: {
|
|
50
|
-
color: "#666666"
|
|
51
|
-
}
|
|
52
|
-
},
|
|
53
|
-
map: {
|
|
54
|
-
label: {
|
|
55
|
-
color: "#333"
|
|
56
|
-
},
|
|
57
|
-
itemStyle: {
|
|
58
|
-
borderColor: "#fff"
|
|
59
|
-
}
|
|
60
|
-
},
|
|
61
|
-
gauge: {
|
|
62
|
-
axisLine: {
|
|
63
|
-
lineStyle: {
|
|
64
|
-
color: [[1, "#5470c6"]]
|
|
65
|
-
}
|
|
66
|
-
}
|
|
67
|
-
},
|
|
68
|
-
toolbox: {
|
|
69
|
-
iconStyle: {
|
|
70
|
-
borderColor: "#666666"
|
|
71
|
-
}
|
|
72
|
-
},
|
|
73
|
-
axisLine: {
|
|
74
|
-
lineStyle: {
|
|
75
|
-
color: "#DCDFE6"
|
|
76
|
-
}
|
|
77
|
-
},
|
|
78
|
-
axisTick: {
|
|
79
|
-
lineStyle: {
|
|
80
|
-
color: "#DCDFE6"
|
|
81
|
-
}
|
|
82
|
-
},
|
|
83
|
-
splitLine: {
|
|
84
|
-
lineStyle: {
|
|
85
|
-
color: "#ebeef5"
|
|
86
|
-
}
|
|
87
|
-
},
|
|
88
|
-
splitArea: {
|
|
89
|
-
areaStyle: {
|
|
90
|
-
color: ["#f7f8fa", "#ffffff"]
|
|
91
|
-
}
|
|
92
|
-
},
|
|
93
|
-
legend: {
|
|
94
|
-
textStyle: {
|
|
95
|
-
color: "#666"
|
|
96
|
-
}
|
|
97
|
-
},
|
|
98
|
-
tooltip: {
|
|
99
|
-
backgroundColor: "rgba(255, 255, 255, 0.95)",
|
|
100
|
-
borderColor: "#DCDFE6",
|
|
101
|
-
borderWidth: 1,
|
|
102
|
-
textStyle: {
|
|
103
|
-
color: "#333"
|
|
104
|
-
}
|
|
105
|
-
}
|
|
106
|
-
};
|