hfn-components 0.2.6 → 0.2.8
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/dist/index.css +1 -1
- package/es/component.mjs +3 -1
- package/es/components/chart/src/HtChart.vue.mjs +2 -3
- package/es/components/chart/src/HtChart.vue2.mjs +1 -1
- package/es/components/elTable/index.d.ts +5 -4
- package/es/components/elTable/src/columnDeal.vue.d.ts +5 -4
- package/es/components/elTable/src/columnDeal.vue.mjs +1 -1
- package/es/components/elTable/src/columnDeal.vue2.mjs +1 -0
- package/es/components/elTable/src/elTable.d.ts +1 -1
- package/es/components/elTable/src/elTable.vue.d.ts +5 -4
- package/es/components/elTable/src/elTable.vue.mjs +1 -1
- package/es/components/elTable/src/elTable.vue2.mjs +1 -0
- package/es/components/htTarget/index.d.ts +1231 -0
- package/es/components/htTarget/src/htTarget.d.ts +1 -0
- package/es/components/htTarget/src/htTarget.mjs +3 -0
- package/es/components/htTarget/src/htTarget.vue.d.ts +1231 -0
- package/es/components/htTarget/src/htTarget.vue.mjs +183 -6
- package/es/components/htTarget/src/htTarget.vue2.mjs +81 -4
- package/es/components/index.d.ts +1 -0
- package/es/components/index.mjs +2 -0
- package/es/components/pieChart/index.d.ts +107 -0
- package/es/components/pieChart/index.mjs +7 -0
- package/es/components/pieChart/src/HtPieChart.d.ts +40 -0
- package/es/components/pieChart/src/HtPieChart.mjs +47 -0
- package/es/components/pieChart/src/HtPieChart.vue.d.ts +106 -0
- package/es/components/pieChart/src/HtPieChart.vue.mjs +23 -0
- package/es/components/pieChart/src/HtPieChart.vue2.mjs +84 -0
- package/es/components/pieChart/style/index.d.ts +1 -0
- package/es/components/pieChart/style/index.mjs +1 -0
- package/es/components/table/HtTable.vue.mjs +1 -1
- package/es/constants/chartConfig.d.ts +8 -0
- package/es/constants/chartConfig.mjs +110 -0
- package/es/constants/index.d.ts +1 -0
- package/es/constants/index.mjs +2 -1
- package/es/constants/table.d.ts +1 -0
- package/es/constants/table.mjs +4 -0
- package/es/constants/target.d.ts +16 -0
- package/es/constants/target.mjs +39 -1
- package/es/index.mjs +2 -0
- package/es/make-installer.mjs +1 -0
- package/package.json +1 -1
- package/theme-chalk/ht-chart.css +1 -1
- package/theme-chalk/index.css +1 -1
- package/theme-chalk/src/chart.scss +5 -0
- package/es/css/index.css +0 -59
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
import { defineComponent, shallowRef, reactive, watch, ref } from 'vue';
|
|
2
|
+
import { pieProps } from './HtPieChart.mjs';
|
|
3
|
+
import cloneDeep from 'lodash.clonedeep';
|
|
4
|
+
import { BASIC_PIE_CONFIG } from '../../../constants/chartConfig.mjs';
|
|
5
|
+
import * as echarts from 'echarts/core';
|
|
6
|
+
|
|
7
|
+
var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
8
|
+
__name: "HtPieChart",
|
|
9
|
+
props: pieProps,
|
|
10
|
+
setup(__props, { expose: __expose }) {
|
|
11
|
+
__expose();
|
|
12
|
+
const props = __props;
|
|
13
|
+
const myChart = shallowRef();
|
|
14
|
+
const echartOptions = reactive(cloneDeep(BASIC_PIE_CONFIG));
|
|
15
|
+
watch(
|
|
16
|
+
() => props.chartData,
|
|
17
|
+
(val) => {
|
|
18
|
+
echartOptions.series[0].data = cloneDeep(val);
|
|
19
|
+
drawGraph();
|
|
20
|
+
},
|
|
21
|
+
{ deep: true }
|
|
22
|
+
);
|
|
23
|
+
watch(
|
|
24
|
+
() => props.watchResize,
|
|
25
|
+
() => {
|
|
26
|
+
chartResize();
|
|
27
|
+
}
|
|
28
|
+
);
|
|
29
|
+
const chartResize = () => {
|
|
30
|
+
myChart.value.resize();
|
|
31
|
+
};
|
|
32
|
+
const noData = ref(false);
|
|
33
|
+
const drawGraph = () => {
|
|
34
|
+
setLenged();
|
|
35
|
+
setEchartTooltip();
|
|
36
|
+
echartInit();
|
|
37
|
+
};
|
|
38
|
+
const setLenged = () => {
|
|
39
|
+
echartOptions.legend = {
|
|
40
|
+
orient: "horizontal",
|
|
41
|
+
type: props.legendType,
|
|
42
|
+
icon: "circle",
|
|
43
|
+
formatter: props.legendFormatter() || ["{a|{name}}"].join("\n"),
|
|
44
|
+
center: ["50%", "70%"],
|
|
45
|
+
textStyle: {
|
|
46
|
+
height: 9,
|
|
47
|
+
rich: {
|
|
48
|
+
a: {
|
|
49
|
+
verticalAlign: "bottom"
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
};
|
|
54
|
+
};
|
|
55
|
+
const setEchartTooltip = () => {
|
|
56
|
+
echartOptions.tooltip = {
|
|
57
|
+
trigger: "item",
|
|
58
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
59
|
+
formatter: function(params) {
|
|
60
|
+
let html;
|
|
61
|
+
html = `<div>${params.seriesName}</div>`;
|
|
62
|
+
html += `<span> ${params.name}:
|
|
63
|
+
${props.customizePercentage ? params.data.value : params.percent.toFixed(props.floatNumber)}%<span>`;
|
|
64
|
+
return html;
|
|
65
|
+
}
|
|
66
|
+
};
|
|
67
|
+
};
|
|
68
|
+
const echartInit = () => {
|
|
69
|
+
setTimeout(() => {
|
|
70
|
+
if (!myChart.value) {
|
|
71
|
+
const ele = document.getElementById(props.chartId);
|
|
72
|
+
myChart.value = echarts.init(ele, null, { devicePixelRatio: 2, locale: "ZH" });
|
|
73
|
+
}
|
|
74
|
+
myChart.value.setOption(echartOptions, true);
|
|
75
|
+
}, 200);
|
|
76
|
+
};
|
|
77
|
+
console.log(echarts);
|
|
78
|
+
const __returned__ = { props, myChart, echartOptions, chartResize, noData, drawGraph, setLenged, setEchartTooltip, echartInit };
|
|
79
|
+
Object.defineProperty(__returned__, "__isScriptSetup", { enumerable: false, value: true });
|
|
80
|
+
return __returned__;
|
|
81
|
+
}
|
|
82
|
+
});
|
|
83
|
+
|
|
84
|
+
export { _sfc_main as default };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import 'hfn-components/theme-chalk/src/chart.scss';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import 'hfn-components/theme-chalk/src/chart.scss';
|
|
@@ -444,6 +444,6 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
444
444
|
/* STABLE_FRAGMENT */
|
|
445
445
|
);
|
|
446
446
|
}
|
|
447
|
-
var Table = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "/Users/
|
|
447
|
+
var Table = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "/Users/libiluo/Desktop/company/component-library/packages/components/table/HtTable.vue"]]);
|
|
448
448
|
|
|
449
449
|
export { Table as default };
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import * as echarts from 'echarts/core';
|
|
2
|
+
import type { BarSeriesOption, LineSeriesOption } from 'echarts/charts';
|
|
3
|
+
import type { TitleComponentOption, TooltipComponentOption, GridComponentOption, DatasetComponentOption } from 'echarts/components';
|
|
4
|
+
import type { ComposeOption } from 'echarts/core';
|
|
5
|
+
export type ECOption = ComposeOption<BarSeriesOption | LineSeriesOption | TitleComponentOption | TooltipComponentOption | GridComponentOption | DatasetComponentOption>;
|
|
6
|
+
export default echarts;
|
|
7
|
+
export declare const BASIC_CHART_CONFIG: any;
|
|
8
|
+
export declare const BASIC_PIE_CONFIG: any;
|
|
@@ -0,0 +1,110 @@
|
|
|
1
|
+
import * as echarts from 'echarts/core';
|
|
2
|
+
export { echarts as default };
|
|
3
|
+
import { BarChart, LineChart, PieChart } from 'echarts/charts';
|
|
4
|
+
import { TitleComponent, TooltipComponent, GridComponent, LegendComponent, DatasetComponent, TransformComponent } from 'echarts/components';
|
|
5
|
+
import { LabelLayout, UniversalTransition } from 'echarts/features';
|
|
6
|
+
import { CanvasRenderer } from 'echarts/renderers';
|
|
7
|
+
|
|
8
|
+
echarts.use([
|
|
9
|
+
TitleComponent,
|
|
10
|
+
TooltipComponent,
|
|
11
|
+
GridComponent,
|
|
12
|
+
LegendComponent,
|
|
13
|
+
DatasetComponent,
|
|
14
|
+
TransformComponent,
|
|
15
|
+
BarChart,
|
|
16
|
+
LineChart,
|
|
17
|
+
PieChart,
|
|
18
|
+
LabelLayout,
|
|
19
|
+
UniversalTransition,
|
|
20
|
+
CanvasRenderer
|
|
21
|
+
]);
|
|
22
|
+
const BASIC_CHART_CONFIG = {
|
|
23
|
+
title: {
|
|
24
|
+
text: "",
|
|
25
|
+
// top: '5%',
|
|
26
|
+
left: "0%",
|
|
27
|
+
textStyle: {
|
|
28
|
+
fontSize: 12,
|
|
29
|
+
color: "rgba(0,0,0,0.7)",
|
|
30
|
+
fontWeight: "normal"
|
|
31
|
+
}
|
|
32
|
+
},
|
|
33
|
+
// 图例
|
|
34
|
+
legend: {
|
|
35
|
+
left: "0%",
|
|
36
|
+
show: false
|
|
37
|
+
},
|
|
38
|
+
xAxis: {},
|
|
39
|
+
yAxis: {},
|
|
40
|
+
grid: {
|
|
41
|
+
// top: '12%',
|
|
42
|
+
top: "8%",
|
|
43
|
+
left: "3%",
|
|
44
|
+
right: "3%",
|
|
45
|
+
bottom: "1%",
|
|
46
|
+
containLabel: true
|
|
47
|
+
},
|
|
48
|
+
// 线条颜色
|
|
49
|
+
color: [
|
|
50
|
+
"#C13431",
|
|
51
|
+
"#1E85D2",
|
|
52
|
+
"#FD984F",
|
|
53
|
+
"#63B9BB",
|
|
54
|
+
"#BBB162",
|
|
55
|
+
"#AE76C1",
|
|
56
|
+
"#5E92F6",
|
|
57
|
+
"#F5BC32",
|
|
58
|
+
"#DA8484",
|
|
59
|
+
"#41982E",
|
|
60
|
+
"#437095",
|
|
61
|
+
"#8060A7",
|
|
62
|
+
"#7D0A0D",
|
|
63
|
+
"#572AFF",
|
|
64
|
+
"#2BE8F8",
|
|
65
|
+
"#FF1493",
|
|
66
|
+
"#E066FF",
|
|
67
|
+
"#27408B",
|
|
68
|
+
"#5191A3",
|
|
69
|
+
"#D5634C",
|
|
70
|
+
"#92d6fd",
|
|
71
|
+
"#b92e2d",
|
|
72
|
+
"#187bc9",
|
|
73
|
+
"#90bae0",
|
|
74
|
+
"#187bc9",
|
|
75
|
+
"#0070C9",
|
|
76
|
+
"#5470c6",
|
|
77
|
+
"#91cc75",
|
|
78
|
+
"#fac858",
|
|
79
|
+
"#ee6666",
|
|
80
|
+
"#73c0de",
|
|
81
|
+
"#3ba272",
|
|
82
|
+
"#fc8452",
|
|
83
|
+
"#9a60b4",
|
|
84
|
+
"#ea7ccc"
|
|
85
|
+
],
|
|
86
|
+
series: []
|
|
87
|
+
};
|
|
88
|
+
const BASIC_PIE_CONFIG = {
|
|
89
|
+
series: [
|
|
90
|
+
{
|
|
91
|
+
name: "",
|
|
92
|
+
type: "pie",
|
|
93
|
+
radius: ["40%", "70%"],
|
|
94
|
+
avoidLabelOverlap: false,
|
|
95
|
+
label: {
|
|
96
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
97
|
+
formatter: function(params) {
|
|
98
|
+
console.log(params);
|
|
99
|
+
const val = params.percent.toFixed(2);
|
|
100
|
+
return ` ${params.name}: ${val}%`;
|
|
101
|
+
},
|
|
102
|
+
fontWeight: "bolder",
|
|
103
|
+
color: "#000"
|
|
104
|
+
},
|
|
105
|
+
data: []
|
|
106
|
+
}
|
|
107
|
+
]
|
|
108
|
+
};
|
|
109
|
+
|
|
110
|
+
export { BASIC_CHART_CONFIG, BASIC_PIE_CONFIG };
|
package/es/constants/index.d.ts
CHANGED
package/es/constants/index.mjs
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
1
|
export { INSTALLED_KEY } from './key.mjs';
|
|
2
2
|
export { CLOUMN_DEAL, TABLE_KEY, convertKey } from './table.mjs';
|
|
3
|
-
export { TARGET_HEAD_KEY } from './target.mjs';
|
|
3
|
+
export { BASIC_KEY, TARGET_END_KEY, TARGET_HEAD_KEY } from './target.mjs';
|
|
4
|
+
export { BASIC_CHART_CONFIG, BASIC_PIE_CONFIG } from './chartConfig.mjs';
|
package/es/constants/table.d.ts
CHANGED
|
@@ -107,6 +107,7 @@ export declare const CLOUMN_DEAL: {
|
|
|
107
107
|
colorText: (val: number | string | undefined) => string;
|
|
108
108
|
colorPercentage: (val: number | string | undefined) => string;
|
|
109
109
|
percentage: (val: number | string | undefined) => string;
|
|
110
|
+
percentage4: (val: number | string | undefined) => string;
|
|
110
111
|
absPercentage: (val: number | string | undefined) => string;
|
|
111
112
|
thoundsandText2: (val: number | string | undefined) => string;
|
|
112
113
|
notProcessed: null;
|
package/es/constants/table.mjs
CHANGED
|
@@ -116,6 +116,9 @@ const basicText4 = (val) => {
|
|
|
116
116
|
const percentage = (val) => {
|
|
117
117
|
return val === "-" || val === void 0 ? "-" : (val * 100).toFixed(2) + "%";
|
|
118
118
|
};
|
|
119
|
+
const percentage4 = (val) => {
|
|
120
|
+
return val === "-" || val === void 0 ? "-" : (val * 100).toFixed(4) + "%";
|
|
121
|
+
};
|
|
119
122
|
const absPercentage = (val) => {
|
|
120
123
|
return val === "-" || val === void 0 ? "-" : Math.abs(val * 100).toFixed(2) + "%";
|
|
121
124
|
};
|
|
@@ -127,6 +130,7 @@ const CLOUMN_DEAL = {
|
|
|
127
130
|
colorText: basicText4,
|
|
128
131
|
colorPercentage: percentage,
|
|
129
132
|
percentage,
|
|
133
|
+
percentage4,
|
|
130
134
|
absPercentage,
|
|
131
135
|
thoundsandText2,
|
|
132
136
|
notProcessed: null,
|
package/es/constants/target.d.ts
CHANGED
|
@@ -2,3 +2,19 @@ export declare const TARGET_HEAD_KEY: {
|
|
|
2
2
|
name: string;
|
|
3
3
|
key: string;
|
|
4
4
|
}[];
|
|
5
|
+
export declare const TARGET_END_KEY: ({
|
|
6
|
+
name: string;
|
|
7
|
+
key: string;
|
|
8
|
+
slot: string;
|
|
9
|
+
excludeKey?: undefined;
|
|
10
|
+
} | {
|
|
11
|
+
name: string;
|
|
12
|
+
key: string;
|
|
13
|
+
slot: string;
|
|
14
|
+
excludeKey: string;
|
|
15
|
+
})[];
|
|
16
|
+
export declare const BASIC_KEY: {
|
|
17
|
+
name: string;
|
|
18
|
+
key: string;
|
|
19
|
+
title: string;
|
|
20
|
+
}[];
|
package/es/constants/target.mjs
CHANGED
|
@@ -12,5 +12,43 @@ const TARGET_HEAD_KEY = [
|
|
|
12
12
|
{ name: "\u4ECA\u5E74\u4EE5\u6765", key: "ytd" },
|
|
13
13
|
{ name: "\u6210\u7ACB\u4EE5\u6765", key: "cucmulative" }
|
|
14
14
|
];
|
|
15
|
+
const TARGET_END_KEY = [
|
|
16
|
+
{ name: "\u6536\u76CA", key: "Return", slot: "color_text_precent" },
|
|
17
|
+
{ name: "\u5E74\u5316\u6536\u76CA", key: "YearReturn", slot: "color_text_precent" },
|
|
18
|
+
{ name: "\u8D85\u989D\u6536\u76CA", key: "ExcessReturn", slot: "color_text_precent" },
|
|
19
|
+
{ name: "\u8D85\u989D\u5E74\u5316\u6536\u76CA", key: "ExcessYearReturn", slot: "color_text_precent" },
|
|
20
|
+
{ name: "\u5E74\u5316\u6CE2\u52A8\u7387", key: "Vol", slot: "color_text_nocolor_noprecent" },
|
|
21
|
+
{ name: "\u8D85\u989D\u5E74\u5316\u6CE2\u52A8\u7387", key: "ExcessVol", slot: "color_text_nocolor_noprecent" },
|
|
22
|
+
{ name: "\u590F\u666E\u6BD4\u7387", key: "SharpeRatio", slot: "color_text_no_thousandths" },
|
|
23
|
+
{ name: "\u8D85\u989D\u590F\u666E\u6BD4\u7387", key: "ExcessSharpeRatio", slot: "color_text_no_thousandths" },
|
|
24
|
+
{ name: "\u5361\u739B\u6BD4\u7387", key: "CalmarRatio", slot: "color_text_no_thousandths" },
|
|
25
|
+
{ name: "\u8D85\u989D\u5361\u739B\u6BD4\u7387", key: "ExcessCalmarRatio", slot: "color_text_no_thousandths" },
|
|
26
|
+
{ name: "\u7D22\u63D0\u8BFA\u6BD4\u7387", key: "SortinoRatio", slot: "color_text_no_thousandths" },
|
|
27
|
+
{ name: "\u4E0B\u884C\u6807\u51C6\u5DEE", key: "DownsideStd", slot: "color_text_nocolor_noprecent" },
|
|
28
|
+
{ name: "\u4E0B\u884C\u98CE\u9669", key: "DownsideDev", slot: "color_text_nocolor_noprecent" },
|
|
29
|
+
{ name: "\u6700\u5927\u56DE\u64A4", key: "MaxDrawdown", slot: "color_text_nocolor_noprecent" },
|
|
30
|
+
{ name: "\u8D85\u989D\u6700\u5927\u56DE\u64A4", key: "ExcessMaxDrawdown", slot: "color_text_nocolor_noprecent" },
|
|
31
|
+
{ name: "\u6700\u5927\u56DE\u64A4\u56DE\u8865\u671F\uFF08\u5929\uFF09", key: "MaxDrawdownDays", slot: "" },
|
|
32
|
+
{ name: "Alpha", key: "Alpha", slot: "color_text_precent" },
|
|
33
|
+
{ name: "Beta", key: "Beta", slot: "color_text_no_thousandths" },
|
|
34
|
+
{ name: "\u8DDF\u8E2A\u8BEF\u5DEE", key: "TrackingError", slot: "color_text_nocolor_noprecent" },
|
|
35
|
+
{ name: "\u4FE1\u606F\u6BD4\u7387", key: "InformationRatio", slot: "color_text_no_thousandths" },
|
|
36
|
+
{ name: "\u504F\u5EA6", key: "Skew", slot: "color_text_no_thousandths" },
|
|
37
|
+
{ name: "\u5CF0\u5EA6", key: "Kurt", slot: "color_text_no_thousandths" },
|
|
38
|
+
{ name: "VaR\uFF0895%\u7F6E\u4FE1\uFF09", key: "CVaR", slot: "color_text_no_thousandths" },
|
|
39
|
+
{ name: "\u5468\u80DC\u7387", key: "PositiveRatio", slot: "color_text_nocolor_noprecent" },
|
|
40
|
+
{ name: "\u6708\u80DC\u7387", key: "MonthlyPositiveRatio", slot: "color_text_nocolor_noprecent", excludeKey: "" }
|
|
41
|
+
];
|
|
42
|
+
const BASIC_KEY = [
|
|
43
|
+
{ name: "\u7BA1\u7406\u4EBA", key: "Advisor", title: "" },
|
|
44
|
+
{ name: "\u7B56\u7565", key: "strategyOne", title: "" },
|
|
45
|
+
{ name: "\u5355\u4F4D\u51C0\u503C", key: "Nav", title: "" },
|
|
46
|
+
{ name: "\u5355\u4F4D\u51C0\u503C\u6DA8\u8DCC\u5E45", key: "navPriceChange", title: "" },
|
|
47
|
+
{ name: "\u7D2F\u8BA1\u51C0\u503C", key: "cumulativeNavWithdrawal", title: "" },
|
|
48
|
+
{ name: "\u6210\u7ACB\u65E5\u671F", key: "inceptionDate", title: "" },
|
|
49
|
+
{ name: "\u5C01\u95ED\u671F", key: "closedPeriod", title: "" },
|
|
50
|
+
{ name: "\u5F00\u653E\u65E5", key: "openDay", title: "" },
|
|
51
|
+
{ name: "\u5907\u6848\u53F7/\u4EE3\u7801", key: "registerNumber", title: "" }
|
|
52
|
+
];
|
|
15
53
|
|
|
16
|
-
export { TARGET_HEAD_KEY };
|
|
54
|
+
export { BASIC_KEY, TARGET_END_KEY, TARGET_HEAD_KEY };
|
package/es/index.mjs
CHANGED
|
@@ -3,8 +3,10 @@ export { makeInstaller } from './make-installer.mjs';
|
|
|
3
3
|
export { HtElTable } from './components/elTable/index.mjs';
|
|
4
4
|
export { HtChart } from './components/chart/index.mjs';
|
|
5
5
|
export { HtTarget } from './components/htTarget/index.mjs';
|
|
6
|
+
export { HtPieChart } from './components/pieChart/index.mjs';
|
|
6
7
|
export { columnDealProps, elTableProps } from './components/elTable/src/elTable.mjs';
|
|
7
8
|
export { chartProps } from './components/chart/src/HtChart.mjs';
|
|
9
|
+
export { pieProps } from './components/pieChart/src/HtPieChart.mjs';
|
|
8
10
|
|
|
9
11
|
const install = installer.install;
|
|
10
12
|
|
package/es/make-installer.mjs
CHANGED
package/package.json
CHANGED
package/theme-chalk/ht-chart.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.echart-box{display:flex;flex-direction:column;height:100%;position:relative;width:100%}.echart-content{flex:auto}.echart-lenged{box-sizing:border-box;display:flex;flex-wrap:wrap;font-size:12px;height:auto;margin-top:6px;padding-right:22px;position:relative;width:100%;z-index:999}.bg-span{height:2px;width:14px}.bg-span,.bg-span-bar{display:inline-block;margin-right:6px}.bg-span-bar{border-radius:2px;height:10px;width:16px}.span-box{cursor:pointer;margin-left:5px;margin-right:6px}.noData,.span-box{align-items:center;display:flex}.noData{bottom:0;color:#ccc;font-size:16px;
|
|
1
|
+
.echart-box{display:flex;flex-direction:column;height:100%;position:relative;width:100%}.echart-content{flex:auto}.echart-lenged{box-sizing:border-box;display:flex;flex-wrap:wrap;font-size:12px;height:auto;margin-top:6px;padding-right:22px;position:relative;width:100%;z-index:999}.bg-span{height:2px;width:14px}.bg-span,.bg-span-bar{display:inline-block;margin-right:6px}.bg-span-bar{border-radius:2px;height:10px;width:16px}.span-box{cursor:pointer;margin-left:5px;margin-right:6px}.noData,.span-box{align-items:center;display:flex}.noData{bottom:0;color:#ccc;font-size:16px;justify-content:center;position:absolute}._100,.noData{height:100%;width:100%}
|
package/theme-chalk/index.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.echart-box{display:flex;flex-direction:column;height:100%;position:relative;width:100%}.echart-content{flex:auto}.echart-lenged{box-sizing:border-box;display:flex;flex-wrap:wrap;font-size:12px;height:auto;margin-top:6px;padding-right:22px;position:relative;width:100%;z-index:999}.bg-span{height:2px;width:14px}.bg-span,.bg-span-bar{display:inline-block;margin-right:6px}.bg-span-bar{border-radius:2px;height:10px;width:16px}.span-box{cursor:pointer;margin-left:5px;margin-right:6px}.noData,.span-box{align-items:center;display:flex}.noData{bottom:0;color:#ccc;font-size:16px;
|
|
1
|
+
.echart-box{display:flex;flex-direction:column;height:100%;position:relative;width:100%}.echart-content{flex:auto}.echart-lenged{box-sizing:border-box;display:flex;flex-wrap:wrap;font-size:12px;height:auto;margin-top:6px;padding-right:22px;position:relative;width:100%;z-index:999}.bg-span{height:2px;width:14px}.bg-span,.bg-span-bar{display:inline-block;margin-right:6px}.bg-span-bar{border-radius:2px;height:10px;width:16px}.span-box{cursor:pointer;margin-left:5px;margin-right:6px}.noData,.span-box{align-items:center;display:flex}.noData{bottom:0;color:#ccc;font-size:16px;justify-content:center;position:absolute}._100,.noData{height:100%;width:100%}
|
package/es/css/index.css
DELETED
|
@@ -1,59 +0,0 @@
|
|
|
1
|
-
.echart-box {
|
|
2
|
-
width: 100%;
|
|
3
|
-
height: 100%;
|
|
4
|
-
display: flex;
|
|
5
|
-
flex-direction: column;
|
|
6
|
-
position: relative;
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
.echart-content {
|
|
10
|
-
flex: auto;
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
.echart-lenged {
|
|
14
|
-
width: 100%;
|
|
15
|
-
height: auto;
|
|
16
|
-
margin-top: 6px;
|
|
17
|
-
padding-right: 22px;
|
|
18
|
-
box-sizing: border-box;
|
|
19
|
-
display: flex;
|
|
20
|
-
flex-wrap: wrap;
|
|
21
|
-
font-size: 12px;
|
|
22
|
-
position: relative;
|
|
23
|
-
z-index: 999;
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
.bg-span {
|
|
27
|
-
display: inline-block;
|
|
28
|
-
width: 14px;
|
|
29
|
-
height: 2px;
|
|
30
|
-
margin-right: 6px;
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
.bg-span-bar {
|
|
34
|
-
display: inline-block;
|
|
35
|
-
width: 16px;
|
|
36
|
-
height: 10px;
|
|
37
|
-
border-radius: 2px;
|
|
38
|
-
margin-right: 6px;
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
.span-box {
|
|
42
|
-
margin-left: 5px;
|
|
43
|
-
margin-right: 6px;
|
|
44
|
-
cursor: pointer;
|
|
45
|
-
display: flex;
|
|
46
|
-
align-items: center;
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
.noData {
|
|
50
|
-
width: 100%;
|
|
51
|
-
height: 100%;
|
|
52
|
-
font-size: 16px;
|
|
53
|
-
display: flex;
|
|
54
|
-
justify-content: center;
|
|
55
|
-
align-items: center;
|
|
56
|
-
position: absolute;
|
|
57
|
-
bottom: 0px;
|
|
58
|
-
color: #ccc;
|
|
59
|
-
}
|