@tipp/ui 1.0.32 → 1.0.34
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/atoms/drawer.cjs.map +1 -1
- package/dist/atoms/drawer.js +3 -3
- package/dist/atoms/index.cjs.map +1 -1
- package/dist/atoms/index.js +20 -20
- package/dist/atoms/toast.cjs.map +1 -1
- package/dist/atoms/toast.js +1 -1
- package/dist/charts/chart.cjs +20 -3
- package/dist/charts/chart.cjs.map +1 -1
- package/dist/charts/chart.d.cts +4 -4
- package/dist/charts/chart.d.ts +4 -4
- package/dist/charts/chart.js +1 -1
- package/dist/charts/index.cjs +20 -3
- package/dist/charts/index.cjs.map +1 -1
- package/dist/charts/index.d.cts +1 -1
- package/dist/charts/index.d.ts +1 -1
- package/dist/charts/index.js +1 -1
- package/dist/{chunk-MQDLXULL.js → chunk-6PO4YCXF.js} +6 -6
- package/dist/{chunk-PL3Q4UVY.js → chunk-7LEWTGAO.js} +1 -1
- package/dist/{chunk-PL3Q4UVY.js.map → chunk-7LEWTGAO.js.map} +1 -1
- package/dist/{chunk-3ANMLRG4.js → chunk-HRSVVVYJ.js} +2 -2
- package/dist/{chunk-APFZLTJJ.js → chunk-KOKLC6X2.js} +2 -2
- package/dist/chunk-L46ZSIX4.js +49 -0
- package/dist/chunk-L46ZSIX4.js.map +1 -0
- package/dist/chunk-NJ2U2TVS.js +38 -0
- package/dist/chunk-NJ2U2TVS.js.map +1 -0
- package/dist/{chunk-DDEH7MMD.js → chunk-UZUVEVLC.js} +29 -4
- package/dist/chunk-UZUVEVLC.js.map +1 -0
- package/dist/index.cjs +20 -3
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +37 -37
- package/dist/molecules/expand-table/index.js +13 -13
- package/dist/molecules/expand-table/row.js +11 -11
- package/dist/molecules/index.js +16 -16
- package/dist/molecules/navigation.js +11 -11
- package/dist/theme/theme-provider.cjs.map +1 -1
- package/dist/theme/theme-provider.d.cts +1 -1
- package/dist/theme/theme-provider.d.ts +1 -1
- package/dist/theme/theme-provider.js +1 -1
- package/package.json +1 -1
- package/src/atoms/toast.tsx +1 -1
- package/src/charts/chart.tsx +55 -8
- package/src/theme/theme-provider.tsx +1 -1
- package/dist/chunk-2HO6TD5Z.js +0 -77
- package/dist/chunk-2HO6TD5Z.js.map +0 -1
- package/dist/chunk-2ZVIXDUQ.js +0 -196
- package/dist/chunk-2ZVIXDUQ.js.map +0 -1
- package/dist/chunk-3HULX2N3.js +0 -206
- package/dist/chunk-3HULX2N3.js.map +0 -1
- package/dist/chunk-4K4S5TXK.js +0 -7
- package/dist/chunk-4K4S5TXK.js.map +0 -1
- package/dist/chunk-527BQG3X.js +0 -181
- package/dist/chunk-527BQG3X.js.map +0 -1
- package/dist/chunk-6O2MNTGU.js +0 -198
- package/dist/chunk-6O2MNTGU.js.map +0 -1
- package/dist/chunk-7HRYZ7NQ.js +0 -197
- package/dist/chunk-7HRYZ7NQ.js.map +0 -1
- package/dist/chunk-A5BAGKVO.js +0 -205
- package/dist/chunk-A5BAGKVO.js.map +0 -1
- package/dist/chunk-AGMMAML3.js +0 -1
- package/dist/chunk-AGMMAML3.js.map +0 -1
- package/dist/chunk-BFHWI7WD.js +0 -119
- package/dist/chunk-CAQ3H2HW.js +0 -197
- package/dist/chunk-CAQ3H2HW.js.map +0 -1
- package/dist/chunk-DCPLIZMO.js +0 -204
- package/dist/chunk-DCPLIZMO.js.map +0 -1
- package/dist/chunk-DDEH7MMD.js.map +0 -1
- package/dist/chunk-DXSXADVU.js +0 -206
- package/dist/chunk-DXSXADVU.js.map +0 -1
- package/dist/chunk-EIDBURAB.js +0 -190
- package/dist/chunk-EIDBURAB.js.map +0 -1
- package/dist/chunk-GMHV56NQ.js +0 -205
- package/dist/chunk-GMHV56NQ.js.map +0 -1
- package/dist/chunk-HBB3XS6O.js +0 -192
- package/dist/chunk-HBB3XS6O.js.map +0 -1
- package/dist/chunk-IYBDO5LG.js +0 -201
- package/dist/chunk-IYBDO5LG.js.map +0 -1
- package/dist/chunk-KO2GTLZU.js +0 -119
- package/dist/chunk-KO2GTLZU.js.map +0 -1
- package/dist/chunk-LAEQOKW7.js +0 -206
- package/dist/chunk-LAEQOKW7.js.map +0 -1
- package/dist/chunk-LBO3JR5R.js +0 -79
- package/dist/chunk-LBO3JR5R.js.map +0 -1
- package/dist/chunk-MQDLXULL.js.map +0 -1
- package/dist/chunk-OL2I33HW.js +0 -119
- package/dist/chunk-OL2I33HW.js.map +0 -1
- package/dist/chunk-OUSFDJNS.js +0 -119
- package/dist/chunk-OUSFDJNS.js.map +0 -1
- package/dist/chunk-P6F4CTYO.js +0 -79
- package/dist/chunk-P6F4CTYO.js.map +0 -1
- package/dist/chunk-PEQK7Z73.js +0 -206
- package/dist/chunk-PEQK7Z73.js.map +0 -1
- package/dist/chunk-QANLBULQ.js +0 -79
- package/dist/chunk-QANLBULQ.js.map +0 -1
- package/dist/chunk-QSSRR273.js +0 -206
- package/dist/chunk-QSSRR273.js.map +0 -1
- package/dist/chunk-R7J3TUC5.js +0 -119
- package/dist/chunk-R7J3TUC5.js.map +0 -1
- package/dist/chunk-RRKJ5G7Y.js +0 -199
- package/dist/chunk-RRKJ5G7Y.js.map +0 -1
- package/dist/chunk-XEQWFWBV.js +0 -203
- package/dist/chunk-XEQWFWBV.js.map +0 -1
- package/dist/chunk-XG4N7OQF.js +0 -104
- package/dist/chunk-XG4N7OQF.js.map +0 -1
- /package/dist/{chunk-BFHWI7WD.js.map → chunk-6PO4YCXF.js.map} +0 -0
- /package/dist/{chunk-3ANMLRG4.js.map → chunk-HRSVVVYJ.js.map} +0 -0
- /package/dist/{chunk-APFZLTJJ.js.map → chunk-KOKLC6X2.js.map} +0 -0
package/dist/chunk-CAQ3H2HW.js
DELETED
|
@@ -1,197 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
__spreadProps,
|
|
3
|
-
__spreadValues
|
|
4
|
-
} from "./chunk-N552FDTV.js";
|
|
5
|
-
|
|
6
|
-
// src/charts/chart.tsx
|
|
7
|
-
import { useMemo } from "react";
|
|
8
|
-
import { useResizeDetector } from "react-resize-detector";
|
|
9
|
-
import { merge } from "lodash-es";
|
|
10
|
-
import * as echarts from "echarts/core";
|
|
11
|
-
import EChartsReactCore from "echarts-for-react/lib/core";
|
|
12
|
-
import { PieChart, LineChart } from "echarts/charts";
|
|
13
|
-
import { SVGRenderer } from "echarts/renderers";
|
|
14
|
-
import {
|
|
15
|
-
TooltipComponent,
|
|
16
|
-
GridComponent,
|
|
17
|
-
LegendComponent
|
|
18
|
-
} from "echarts/components";
|
|
19
|
-
|
|
20
|
-
// src/charts/chart-theme.json
|
|
21
|
-
var chart_theme_default = {
|
|
22
|
-
version: 1,
|
|
23
|
-
themeName: "customed",
|
|
24
|
-
theme: {
|
|
25
|
-
seriesCnt: "5",
|
|
26
|
-
backgroundColor: "rgba(0,0,0,0)",
|
|
27
|
-
titleColor: "#1c2024",
|
|
28
|
-
subtitleColor: "#8d8d8d",
|
|
29
|
-
textColorShow: false,
|
|
30
|
-
textColor: "#333",
|
|
31
|
-
markTextColor: "#ffffff",
|
|
32
|
-
color: [
|
|
33
|
-
"#ffe629",
|
|
34
|
-
"#3e63dd",
|
|
35
|
-
"#ec9455",
|
|
36
|
-
"#5bb98b",
|
|
37
|
-
"#cb1d63",
|
|
38
|
-
"#3ba272",
|
|
39
|
-
"#fc8452",
|
|
40
|
-
"#9a60b4",
|
|
41
|
-
"#ea7ccc"
|
|
42
|
-
],
|
|
43
|
-
borderColor: "#8d8d8d",
|
|
44
|
-
borderWidth: 0,
|
|
45
|
-
visualMapColor: ["#bf444c", "#d88273", "#f6efa6"],
|
|
46
|
-
legendTextColor: "#1c2024",
|
|
47
|
-
kColor: "#eb5454",
|
|
48
|
-
kColor0: "#47b262",
|
|
49
|
-
kBorderColor: "#eb5454",
|
|
50
|
-
kBorderColor0: "#47b262",
|
|
51
|
-
kBorderWidth: 1,
|
|
52
|
-
lineWidth: 2,
|
|
53
|
-
symbolSize: 4,
|
|
54
|
-
symbol: "emptyCircle",
|
|
55
|
-
symbolBorderWidth: 1,
|
|
56
|
-
lineSmooth: false,
|
|
57
|
-
graphLineWidth: 1,
|
|
58
|
-
graphLineColor: "#aaa",
|
|
59
|
-
mapLabelColor: "#000",
|
|
60
|
-
mapLabelColorE: "rgb(100,0,0)",
|
|
61
|
-
mapBorderColor: "#444",
|
|
62
|
-
mapBorderColorE: "#444",
|
|
63
|
-
mapBorderWidth: 0.5,
|
|
64
|
-
mapBorderWidthE: 1,
|
|
65
|
-
mapAreaColor: "#eee",
|
|
66
|
-
mapAreaColorE: "rgba(255,215,0,0.8)",
|
|
67
|
-
axes: [
|
|
68
|
-
{
|
|
69
|
-
type: "all",
|
|
70
|
-
name: "\u901A\u7528\u5750\u6807\u8F74",
|
|
71
|
-
axisLineShow: true,
|
|
72
|
-
axisLineColor: "#6E7079",
|
|
73
|
-
axisTickShow: true,
|
|
74
|
-
axisTickColor: "#6E7079",
|
|
75
|
-
axisLabelShow: true,
|
|
76
|
-
axisLabelColor: "#6E7079",
|
|
77
|
-
splitLineShow: true,
|
|
78
|
-
splitLineColor: ["#E0E6F1"],
|
|
79
|
-
splitAreaShow: false,
|
|
80
|
-
splitAreaColor: ["rgba(250,250,250,0.2)", "rgba(210,219,238,0.2)"]
|
|
81
|
-
},
|
|
82
|
-
{
|
|
83
|
-
type: "category",
|
|
84
|
-
name: "\u7C7B\u76EE\u5750\u6807\u8F74",
|
|
85
|
-
axisLineShow: true,
|
|
86
|
-
axisLineColor: "#6E7079",
|
|
87
|
-
axisTickShow: true,
|
|
88
|
-
axisTickColor: "#6E7079",
|
|
89
|
-
axisLabelShow: true,
|
|
90
|
-
axisLabelColor: "#6E7079",
|
|
91
|
-
splitLineShow: false,
|
|
92
|
-
splitLineColor: ["#E0E6F1"],
|
|
93
|
-
splitAreaShow: false,
|
|
94
|
-
splitAreaColor: ["rgba(250,250,250,0.2)", "rgba(210,219,238,0.2)"]
|
|
95
|
-
},
|
|
96
|
-
{
|
|
97
|
-
type: "value",
|
|
98
|
-
name: "\u6570\u503C\u5750\u6807\u8F74",
|
|
99
|
-
axisLineShow: false,
|
|
100
|
-
axisLineColor: "#6E7079",
|
|
101
|
-
axisTickShow: false,
|
|
102
|
-
axisTickColor: "#6E7079",
|
|
103
|
-
axisLabelShow: true,
|
|
104
|
-
axisLabelColor: "#6E7079",
|
|
105
|
-
splitLineShow: true,
|
|
106
|
-
splitLineColor: ["#E0E6F1"],
|
|
107
|
-
splitAreaShow: false,
|
|
108
|
-
splitAreaColor: ["rgba(250,250,250,0.2)", "rgba(210,219,238,0.2)"]
|
|
109
|
-
},
|
|
110
|
-
{
|
|
111
|
-
type: "log",
|
|
112
|
-
name: "\u5BF9\u6570\u5750\u6807\u8F74",
|
|
113
|
-
axisLineShow: false,
|
|
114
|
-
axisLineColor: "#6E7079",
|
|
115
|
-
axisTickShow: false,
|
|
116
|
-
axisTickColor: "#6E7079",
|
|
117
|
-
axisLabelShow: true,
|
|
118
|
-
axisLabelColor: "#6E7079",
|
|
119
|
-
splitLineShow: true,
|
|
120
|
-
splitLineColor: ["#E0E6F1"],
|
|
121
|
-
splitAreaShow: false,
|
|
122
|
-
splitAreaColor: ["rgba(250,250,250,0.2)", "rgba(210,219,238,0.2)"]
|
|
123
|
-
},
|
|
124
|
-
{
|
|
125
|
-
type: "time",
|
|
126
|
-
name: "\u65F6\u95F4\u5750\u6807\u8F74",
|
|
127
|
-
axisLineShow: true,
|
|
128
|
-
axisLineColor: "#6E7079",
|
|
129
|
-
axisTickShow: true,
|
|
130
|
-
axisTickColor: "#6E7079",
|
|
131
|
-
axisLabelShow: true,
|
|
132
|
-
axisLabelColor: "#6E7079",
|
|
133
|
-
splitLineShow: false,
|
|
134
|
-
splitLineColor: ["#E0E6F1"],
|
|
135
|
-
splitAreaShow: false,
|
|
136
|
-
splitAreaColor: ["rgba(250,250,250,0.2)", "rgba(210,219,238,0.2)"]
|
|
137
|
-
}
|
|
138
|
-
],
|
|
139
|
-
axisSeperateSetting: true,
|
|
140
|
-
toolboxColor: "#8d8d8d",
|
|
141
|
-
toolboxEmphasisColor: "#1c2024",
|
|
142
|
-
tooltipAxisColor: "#cccccc",
|
|
143
|
-
tooltipAxisWidth: 1,
|
|
144
|
-
timelineLineColor: "#dae1f5",
|
|
145
|
-
timelineLineWidth: 2,
|
|
146
|
-
timelineItemColor: "#a4b1d7",
|
|
147
|
-
timelineItemColorE: "#ffffff",
|
|
148
|
-
timelineCheckColor: "#316bf3",
|
|
149
|
-
timelineCheckBorderColor: "#ffffff",
|
|
150
|
-
timelineItemBorderWidth: 1,
|
|
151
|
-
timelineControlColor: "#a4b1d7",
|
|
152
|
-
timelineControlBorderColor: "#a4b1d7",
|
|
153
|
-
timelineControlBorderWidth: 1,
|
|
154
|
-
timelineLabelColor: "#a4b1d7"
|
|
155
|
-
}
|
|
156
|
-
};
|
|
157
|
-
|
|
158
|
-
// src/charts/chart.tsx
|
|
159
|
-
import { jsx } from "react/jsx-runtime";
|
|
160
|
-
echarts.use([
|
|
161
|
-
SVGRenderer,
|
|
162
|
-
PieChart,
|
|
163
|
-
LineChart,
|
|
164
|
-
TooltipComponent,
|
|
165
|
-
GridComponent,
|
|
166
|
-
LegendComponent
|
|
167
|
-
]);
|
|
168
|
-
function Chart(props) {
|
|
169
|
-
const { width, height, ref } = useResizeDetector({
|
|
170
|
-
handleHeight: false,
|
|
171
|
-
refreshMode: "debounce",
|
|
172
|
-
refreshRate: 100
|
|
173
|
-
});
|
|
174
|
-
const option = useMemo(() => {
|
|
175
|
-
const baseOption = {
|
|
176
|
-
textStyle: { fontFamily: "Noto Sans KR" },
|
|
177
|
-
tooltip: { textStyle: { fontSize: 16 } }
|
|
178
|
-
};
|
|
179
|
-
return merge(baseOption, props.option);
|
|
180
|
-
}, [props.option]);
|
|
181
|
-
return /* @__PURE__ */ jsx("div", { ref, style: { width: "100%", height: "100%" }, children: /* @__PURE__ */ jsx(
|
|
182
|
-
EChartsReactCore,
|
|
183
|
-
__spreadProps(__spreadValues({
|
|
184
|
-
opts: { renderer: "svg" },
|
|
185
|
-
style: { width, height },
|
|
186
|
-
theme: chart_theme_default
|
|
187
|
-
}, props), {
|
|
188
|
-
option
|
|
189
|
-
})
|
|
190
|
-
) });
|
|
191
|
-
}
|
|
192
|
-
|
|
193
|
-
export {
|
|
194
|
-
chart_theme_default,
|
|
195
|
-
Chart
|
|
196
|
-
};
|
|
197
|
-
//# sourceMappingURL=chunk-CAQ3H2HW.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/charts/chart.tsx","../src/charts/chart-theme.json"],"sourcesContent":["import React, { useMemo } from 'react';\nimport { useResizeDetector } from 'react-resize-detector';\nimport { merge } from 'lodash-es';\nimport type { EChartsOption } from 'echarts';\nimport * as echarts from 'echarts/core';\nimport EChartsReactCore from 'echarts-for-react/lib/core';\nimport { PieChart, LineChart } from 'echarts/charts';\nimport { SVGRenderer } from 'echarts/renderers';\nimport {\n // GridSimpleComponent,\n // PolarComponent,\n // RadarComponent,\n // GeoComponent,\n // SingleAxisComponent,\n // ParallelComponent,\n // CalendarComponent,\n // GraphicComponent,\n // ToolboxComponent,\n // AxisPointerComponent,\n // BrushComponent,\n // TimelineComponent,\n // MarkPointComponent,\n // MarkLineComponent,\n // MarkAreaComponent,\n // LegendComponent,\n // LegendScrollComponent,\n // LegendPlainComponent,\n // DataZoomComponent,\n // DataZoomInsideComponent,\n // DataZoomSliderComponent,\n // VisualMapComponent,\n // VisualMapContinuousComponent,\n // VisualMapPiecewiseComponent,\n // AriaComponent,\n // TransformComponent,\n TooltipComponent,\n GridComponent,\n LegendComponent,\n} from 'echarts/components';\nimport chartTheme from './chart-theme.json';\n\necharts.use([\n SVGRenderer,\n PieChart,\n LineChart,\n TooltipComponent,\n GridComponent,\n LegendComponent,\n]);\n\nexport type ChartProps = Omit<\n React.ComponentProps<typeof EChartsReactCore>,\n 'option'\n> & {\n option: EChartsOption;\n};\n\nexport function Chart(props: ChartProps): JSX.Element {\n const { width, height, ref } = useResizeDetector({\n handleHeight: false,\n refreshMode: 'debounce',\n refreshRate: 100,\n });\n\n const option = useMemo(() => {\n const baseOption: EChartsOption = {\n textStyle: { fontFamily: 'Noto Sans KR' },\n tooltip: { textStyle: { fontSize: 16 } },\n };\n return merge(baseOption, props.option);\n }, [props.option]);\n\n return (\n <div ref={ref} style={{ width: '100%', height: '100%' }}>\n <EChartsReactCore\n opts={{ renderer: 'svg' }}\n style={{ width, height }}\n theme={chartTheme}\n {...props}\n option={option}\n />\n </div>\n );\n}\n\nexport { chartTheme };\n","{\n \"version\": 1,\n \"themeName\": \"customed\",\n \"theme\": {\n \"seriesCnt\": \"5\",\n \"backgroundColor\": \"rgba(0,0,0,0)\",\n \"titleColor\": \"#1c2024\",\n \"subtitleColor\": \"#8d8d8d\",\n \"textColorShow\": false,\n \"textColor\": \"#333\",\n \"markTextColor\": \"#ffffff\",\n \"color\": [\n \"#ffe629\",\n \"#3e63dd\",\n \"#ec9455\",\n \"#5bb98b\",\n \"#cb1d63\",\n \"#3ba272\",\n \"#fc8452\",\n \"#9a60b4\",\n \"#ea7ccc\"\n ],\n \"borderColor\": \"#8d8d8d\",\n \"borderWidth\": 0,\n \"visualMapColor\": [\"#bf444c\", \"#d88273\", \"#f6efa6\"],\n \"legendTextColor\": \"#1c2024\",\n \"kColor\": \"#eb5454\",\n \"kColor0\": \"#47b262\",\n \"kBorderColor\": \"#eb5454\",\n \"kBorderColor0\": \"#47b262\",\n \"kBorderWidth\": 1,\n \"lineWidth\": 2,\n \"symbolSize\": 4,\n \"symbol\": \"emptyCircle\",\n \"symbolBorderWidth\": 1,\n \"lineSmooth\": false,\n \"graphLineWidth\": 1,\n \"graphLineColor\": \"#aaa\",\n \"mapLabelColor\": \"#000\",\n \"mapLabelColorE\": \"rgb(100,0,0)\",\n \"mapBorderColor\": \"#444\",\n \"mapBorderColorE\": \"#444\",\n \"mapBorderWidth\": 0.5,\n \"mapBorderWidthE\": 1,\n \"mapAreaColor\": \"#eee\",\n \"mapAreaColorE\": \"rgba(255,215,0,0.8)\",\n \"axes\": [\n {\n \"type\": \"all\",\n \"name\": \"通用坐标轴\",\n \"axisLineShow\": true,\n \"axisLineColor\": \"#6E7079\",\n \"axisTickShow\": true,\n \"axisTickColor\": \"#6E7079\",\n \"axisLabelShow\": true,\n \"axisLabelColor\": \"#6E7079\",\n \"splitLineShow\": true,\n \"splitLineColor\": [\"#E0E6F1\"],\n \"splitAreaShow\": false,\n \"splitAreaColor\": [\"rgba(250,250,250,0.2)\", \"rgba(210,219,238,0.2)\"]\n },\n {\n \"type\": \"category\",\n \"name\": \"类目坐标轴\",\n \"axisLineShow\": true,\n \"axisLineColor\": \"#6E7079\",\n \"axisTickShow\": true,\n \"axisTickColor\": \"#6E7079\",\n \"axisLabelShow\": true,\n \"axisLabelColor\": \"#6E7079\",\n \"splitLineShow\": false,\n \"splitLineColor\": [\"#E0E6F1\"],\n \"splitAreaShow\": false,\n \"splitAreaColor\": [\"rgba(250,250,250,0.2)\", \"rgba(210,219,238,0.2)\"]\n },\n {\n \"type\": \"value\",\n \"name\": \"数值坐标轴\",\n \"axisLineShow\": false,\n \"axisLineColor\": \"#6E7079\",\n \"axisTickShow\": false,\n \"axisTickColor\": \"#6E7079\",\n \"axisLabelShow\": true,\n \"axisLabelColor\": \"#6E7079\",\n \"splitLineShow\": true,\n \"splitLineColor\": [\"#E0E6F1\"],\n \"splitAreaShow\": false,\n \"splitAreaColor\": [\"rgba(250,250,250,0.2)\", \"rgba(210,219,238,0.2)\"]\n },\n {\n \"type\": \"log\",\n \"name\": \"对数坐标轴\",\n \"axisLineShow\": false,\n \"axisLineColor\": \"#6E7079\",\n \"axisTickShow\": false,\n \"axisTickColor\": \"#6E7079\",\n \"axisLabelShow\": true,\n \"axisLabelColor\": \"#6E7079\",\n \"splitLineShow\": true,\n \"splitLineColor\": [\"#E0E6F1\"],\n \"splitAreaShow\": false,\n \"splitAreaColor\": [\"rgba(250,250,250,0.2)\", \"rgba(210,219,238,0.2)\"]\n },\n {\n \"type\": \"time\",\n \"name\": \"时间坐标轴\",\n \"axisLineShow\": true,\n \"axisLineColor\": \"#6E7079\",\n \"axisTickShow\": true,\n \"axisTickColor\": \"#6E7079\",\n \"axisLabelShow\": true,\n \"axisLabelColor\": \"#6E7079\",\n \"splitLineShow\": false,\n \"splitLineColor\": [\"#E0E6F1\"],\n \"splitAreaShow\": false,\n \"splitAreaColor\": [\"rgba(250,250,250,0.2)\", \"rgba(210,219,238,0.2)\"]\n }\n ],\n \"axisSeperateSetting\": true,\n \"toolboxColor\": \"#8d8d8d\",\n \"toolboxEmphasisColor\": \"#1c2024\",\n \"tooltipAxisColor\": \"#cccccc\",\n \"tooltipAxisWidth\": 1,\n \"timelineLineColor\": \"#dae1f5\",\n \"timelineLineWidth\": 2,\n \"timelineItemColor\": \"#a4b1d7\",\n \"timelineItemColorE\": \"#ffffff\",\n \"timelineCheckColor\": \"#316bf3\",\n \"timelineCheckBorderColor\": \"#ffffff\",\n \"timelineItemBorderWidth\": 1,\n \"timelineControlColor\": \"#a4b1d7\",\n \"timelineControlBorderColor\": \"#a4b1d7\",\n \"timelineControlBorderWidth\": 1,\n \"timelineLabelColor\": \"#a4b1d7\"\n }\n}\n"],"mappings":";;;;;;AAAA,SAAgB,eAAe;AAC/B,SAAS,yBAAyB;AAClC,SAAS,aAAa;AAEtB,YAAY,aAAa;AACzB,OAAO,sBAAsB;AAC7B,SAAS,UAAU,iBAAiB;AACpC,SAAS,mBAAmB;AAC5B;AAAA,EA2BE;AAAA,EACA;AAAA,EACA;AAAA,OACK;;;ACtCP;AAAA,EACE,SAAW;AAAA,EACX,WAAa;AAAA,EACb,OAAS;AAAA,IACP,WAAa;AAAA,IACb,iBAAmB;AAAA,IACnB,YAAc;AAAA,IACd,eAAiB;AAAA,IACjB,eAAiB;AAAA,IACjB,WAAa;AAAA,IACb,eA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EACV;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AACF,CAAC;AASM,SAAS,MAAM,OAAgC;AACpD,QAAM,EAAE,OAAO,QAAQ,IAAI,IAAI,kBAAkB;AAAA,IAC/C,cAAc;AAAA,IACd,aAAa;AAAA,IACb,aAAa;AAAA,EACf,CAAC;AAED,QAAM,SAAS,QAAQ,MAAM;AAC3B,UAAM,aAA4B;AAAA,MAChC,WAAW,EAAE,YAAY,eAAe;AAAA,MACxC,SAAS,EAAE,WAAW,EAAE,UAAU,GAAG,EAAE;AAAA,IACzC;AACA,WAAO,MAAM,YAAY,MAAM,MAAM;AAAA,EACvC,GAAG,CAAC,MAAM,MAAM,CAAC;AAEjB,SACE,oBAAC,SAAI,KAAU,OAAO,EAAE,OAAO,QAAQ,QAAQ,OAAO,GACpD;AAAA,IAAC;AAAA;AAAA,MACC,MAAM,EAAE,UAAU,MAAM;AAAA,MACxB,OAAO,EAAE,OAAO,OAAO;AAAA,MACvB,OAAO;AAAA,OACH,QAJL;AAAA,MAKC;AAAA;AAAA,EACF,GACF;AAEJ;","names":[]}
|
package/dist/chunk-DCPLIZMO.js
DELETED
|
@@ -1,204 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
__spreadValues
|
|
3
|
-
} from "./chunk-N552FDTV.js";
|
|
4
|
-
|
|
5
|
-
// src/charts/chart.tsx
|
|
6
|
-
import { useMemo } from "react";
|
|
7
|
-
import { useResizeDetector } from "react-resize-detector";
|
|
8
|
-
import { merge } from "lodash-es";
|
|
9
|
-
import * as echarts from "echarts/core";
|
|
10
|
-
import EChartsReactCore from "echarts-for-react/lib/core";
|
|
11
|
-
import { PieChart, LineChart } from "echarts/charts";
|
|
12
|
-
import { SVGRenderer } from "echarts/renderers";
|
|
13
|
-
import {
|
|
14
|
-
GridSimpleComponent,
|
|
15
|
-
AxisPointerComponent,
|
|
16
|
-
AriaComponent,
|
|
17
|
-
TooltipComponent,
|
|
18
|
-
GridComponent,
|
|
19
|
-
LegendComponent,
|
|
20
|
-
ToolboxComponent
|
|
21
|
-
} from "echarts/components";
|
|
22
|
-
|
|
23
|
-
// src/charts/chart-theme.json
|
|
24
|
-
var chart_theme_default = {
|
|
25
|
-
version: 1,
|
|
26
|
-
themeName: "customed",
|
|
27
|
-
theme: {
|
|
28
|
-
seriesCnt: "5",
|
|
29
|
-
backgroundColor: "rgba(0,0,0,0)",
|
|
30
|
-
titleColor: "#1c2024",
|
|
31
|
-
subtitleColor: "#8d8d8d",
|
|
32
|
-
textColorShow: false,
|
|
33
|
-
textColor: "#333",
|
|
34
|
-
markTextColor: "#ffffff",
|
|
35
|
-
color: [
|
|
36
|
-
"#ffe629",
|
|
37
|
-
"#3e63dd",
|
|
38
|
-
"#ec9455",
|
|
39
|
-
"#5bb98b",
|
|
40
|
-
"#cb1d63",
|
|
41
|
-
"#3ba272",
|
|
42
|
-
"#fc8452",
|
|
43
|
-
"#9a60b4",
|
|
44
|
-
"#ea7ccc"
|
|
45
|
-
],
|
|
46
|
-
borderColor: "#8d8d8d",
|
|
47
|
-
borderWidth: 0,
|
|
48
|
-
visualMapColor: ["#bf444c", "#d88273", "#f6efa6"],
|
|
49
|
-
legendTextColor: "#1c2024",
|
|
50
|
-
kColor: "#eb5454",
|
|
51
|
-
kColor0: "#47b262",
|
|
52
|
-
kBorderColor: "#eb5454",
|
|
53
|
-
kBorderColor0: "#47b262",
|
|
54
|
-
kBorderWidth: 1,
|
|
55
|
-
lineWidth: 2,
|
|
56
|
-
symbolSize: 4,
|
|
57
|
-
symbol: "emptyCircle",
|
|
58
|
-
symbolBorderWidth: 1,
|
|
59
|
-
lineSmooth: false,
|
|
60
|
-
graphLineWidth: 1,
|
|
61
|
-
graphLineColor: "#aaa",
|
|
62
|
-
mapLabelColor: "#000",
|
|
63
|
-
mapLabelColorE: "rgb(100,0,0)",
|
|
64
|
-
mapBorderColor: "#444",
|
|
65
|
-
mapBorderColorE: "#444",
|
|
66
|
-
mapBorderWidth: 0.5,
|
|
67
|
-
mapBorderWidthE: 1,
|
|
68
|
-
mapAreaColor: "#eee",
|
|
69
|
-
mapAreaColorE: "rgba(255,215,0,0.8)",
|
|
70
|
-
axes: [
|
|
71
|
-
{
|
|
72
|
-
type: "all",
|
|
73
|
-
name: "\u901A\u7528\u5750\u6807\u8F74",
|
|
74
|
-
axisLineShow: true,
|
|
75
|
-
axisLineColor: "#6E7079",
|
|
76
|
-
axisTickShow: true,
|
|
77
|
-
axisTickColor: "#6E7079",
|
|
78
|
-
axisLabelShow: true,
|
|
79
|
-
axisLabelColor: "#6E7079",
|
|
80
|
-
splitLineShow: true,
|
|
81
|
-
splitLineColor: ["#E0E6F1"],
|
|
82
|
-
splitAreaShow: false,
|
|
83
|
-
splitAreaColor: ["rgba(250,250,250,0.2)", "rgba(210,219,238,0.2)"]
|
|
84
|
-
},
|
|
85
|
-
{
|
|
86
|
-
type: "category",
|
|
87
|
-
name: "\u7C7B\u76EE\u5750\u6807\u8F74",
|
|
88
|
-
axisLineShow: true,
|
|
89
|
-
axisLineColor: "#6E7079",
|
|
90
|
-
axisTickShow: true,
|
|
91
|
-
axisTickColor: "#6E7079",
|
|
92
|
-
axisLabelShow: true,
|
|
93
|
-
axisLabelColor: "#6E7079",
|
|
94
|
-
splitLineShow: false,
|
|
95
|
-
splitLineColor: ["#E0E6F1"],
|
|
96
|
-
splitAreaShow: false,
|
|
97
|
-
splitAreaColor: ["rgba(250,250,250,0.2)", "rgba(210,219,238,0.2)"]
|
|
98
|
-
},
|
|
99
|
-
{
|
|
100
|
-
type: "value",
|
|
101
|
-
name: "\u6570\u503C\u5750\u6807\u8F74",
|
|
102
|
-
axisLineShow: false,
|
|
103
|
-
axisLineColor: "#6E7079",
|
|
104
|
-
axisTickShow: false,
|
|
105
|
-
axisTickColor: "#6E7079",
|
|
106
|
-
axisLabelShow: true,
|
|
107
|
-
axisLabelColor: "#6E7079",
|
|
108
|
-
splitLineShow: true,
|
|
109
|
-
splitLineColor: ["#E0E6F1"],
|
|
110
|
-
splitAreaShow: false,
|
|
111
|
-
splitAreaColor: ["rgba(250,250,250,0.2)", "rgba(210,219,238,0.2)"]
|
|
112
|
-
},
|
|
113
|
-
{
|
|
114
|
-
type: "log",
|
|
115
|
-
name: "\u5BF9\u6570\u5750\u6807\u8F74",
|
|
116
|
-
axisLineShow: false,
|
|
117
|
-
axisLineColor: "#6E7079",
|
|
118
|
-
axisTickShow: false,
|
|
119
|
-
axisTickColor: "#6E7079",
|
|
120
|
-
axisLabelShow: true,
|
|
121
|
-
axisLabelColor: "#6E7079",
|
|
122
|
-
splitLineShow: true,
|
|
123
|
-
splitLineColor: ["#E0E6F1"],
|
|
124
|
-
splitAreaShow: false,
|
|
125
|
-
splitAreaColor: ["rgba(250,250,250,0.2)", "rgba(210,219,238,0.2)"]
|
|
126
|
-
},
|
|
127
|
-
{
|
|
128
|
-
type: "time",
|
|
129
|
-
name: "\u65F6\u95F4\u5750\u6807\u8F74",
|
|
130
|
-
axisLineShow: true,
|
|
131
|
-
axisLineColor: "#6E7079",
|
|
132
|
-
axisTickShow: true,
|
|
133
|
-
axisTickColor: "#6E7079",
|
|
134
|
-
axisLabelShow: true,
|
|
135
|
-
axisLabelColor: "#6E7079",
|
|
136
|
-
splitLineShow: false,
|
|
137
|
-
splitLineColor: ["#E0E6F1"],
|
|
138
|
-
splitAreaShow: false,
|
|
139
|
-
splitAreaColor: ["rgba(250,250,250,0.2)", "rgba(210,219,238,0.2)"]
|
|
140
|
-
}
|
|
141
|
-
],
|
|
142
|
-
axisSeperateSetting: true,
|
|
143
|
-
toolboxColor: "#8d8d8d",
|
|
144
|
-
toolboxEmphasisColor: "#1c2024",
|
|
145
|
-
tooltipAxisColor: "#cccccc",
|
|
146
|
-
tooltipAxisWidth: 1,
|
|
147
|
-
timelineLineColor: "#dae1f5",
|
|
148
|
-
timelineLineWidth: 2,
|
|
149
|
-
timelineItemColor: "#a4b1d7",
|
|
150
|
-
timelineItemColorE: "#ffffff",
|
|
151
|
-
timelineCheckColor: "#316bf3",
|
|
152
|
-
timelineCheckBorderColor: "#ffffff",
|
|
153
|
-
timelineItemBorderWidth: 1,
|
|
154
|
-
timelineControlColor: "#a4b1d7",
|
|
155
|
-
timelineControlBorderColor: "#a4b1d7",
|
|
156
|
-
timelineControlBorderWidth: 1,
|
|
157
|
-
timelineLabelColor: "#a4b1d7"
|
|
158
|
-
}
|
|
159
|
-
};
|
|
160
|
-
|
|
161
|
-
// src/charts/chart.tsx
|
|
162
|
-
import { jsx } from "react/jsx-runtime";
|
|
163
|
-
echarts.use([
|
|
164
|
-
SVGRenderer,
|
|
165
|
-
PieChart,
|
|
166
|
-
LineChart,
|
|
167
|
-
TooltipComponent,
|
|
168
|
-
GridComponent,
|
|
169
|
-
LegendComponent,
|
|
170
|
-
ToolboxComponent,
|
|
171
|
-
AriaComponent,
|
|
172
|
-
AxisPointerComponent,
|
|
173
|
-
GridSimpleComponent
|
|
174
|
-
]);
|
|
175
|
-
function Chart(props) {
|
|
176
|
-
const { width, height, ref } = useResizeDetector({
|
|
177
|
-
handleHeight: false,
|
|
178
|
-
refreshMode: "debounce",
|
|
179
|
-
refreshRate: 100
|
|
180
|
-
});
|
|
181
|
-
const option = useMemo(() => {
|
|
182
|
-
const baseOption = {
|
|
183
|
-
// textStyle: { fontFamily: 'Noto Sans KR' },
|
|
184
|
-
// tooltip: { textStyle: { fontSize: 16 } },
|
|
185
|
-
};
|
|
186
|
-
return merge(baseOption, props.option);
|
|
187
|
-
}, [props.option]);
|
|
188
|
-
return /* @__PURE__ */ jsx("div", { ref, style: { width: "100%", height: "100%" }, children: /* @__PURE__ */ jsx(
|
|
189
|
-
EChartsReactCore,
|
|
190
|
-
__spreadValues({
|
|
191
|
-
opts: { renderer: "svg" },
|
|
192
|
-
style: { width, height },
|
|
193
|
-
theme: chart_theme_default,
|
|
194
|
-
echarts,
|
|
195
|
-
option
|
|
196
|
-
}, props)
|
|
197
|
-
) });
|
|
198
|
-
}
|
|
199
|
-
|
|
200
|
-
export {
|
|
201
|
-
chart_theme_default,
|
|
202
|
-
Chart
|
|
203
|
-
};
|
|
204
|
-
//# sourceMappingURL=chunk-DCPLIZMO.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/charts/chart.tsx","../src/charts/chart-theme.json"],"sourcesContent":["import ReactEChartsCore from 'echarts-for-react/lib/core';\n\nimport React, { useMemo } from 'react';\nimport { useResizeDetector } from 'react-resize-detector';\nimport { merge } from 'lodash-es';\nimport type { EChartsOption } from 'echarts';\nimport * as echarts from 'echarts/core';\nimport EChartsReactCore from 'echarts-for-react/lib/core';\nimport { PieChart, LineChart } from 'echarts/charts';\nimport { SVGRenderer } from 'echarts/renderers';\nimport {\n GridSimpleComponent,\n // PolarComponent,\n // RadarComponent,\n // GeoComponent,\n // SingleAxisComponent,\n // ParallelComponent,\n // CalendarComponent,\n // GraphicComponent,\n AxisPointerComponent,\n // BrushComponent,\n // TimelineComponent,\n // MarkPointComponent,\n // MarkLineComponent,\n // MarkAreaComponent,\n // LegendScrollComponent,\n // LegendPlainComponent,\n // DataZoomComponent,\n // DataZoomInsideComponent,\n // DataZoomSliderComponent,\n // VisualMapComponent,\n // VisualMapContinuousComponent,\n // VisualMapPiecewiseComponent,\n AriaComponent,\n // TransformComponent,\n TooltipComponent,\n GridComponent,\n LegendComponent,\n ToolboxComponent,\n} from 'echarts/components';\nimport chartTheme from './chart-theme.json';\n\necharts.use([\n SVGRenderer,\n PieChart,\n LineChart,\n TooltipComponent,\n GridComponent,\n LegendComponent,\n ToolboxComponent,\n AriaComponent,\n AxisPointerComponent,\n GridSimpleComponent,\n]);\n\nexport type ChartProps = Omit<\n React.ComponentProps<typeof EChartsReactCore>,\n 'option'\n> & {\n option: EChartsOption;\n};\n\nexport function Chart(props: ChartProps): JSX.Element {\n const { width, height, ref } = useResizeDetector({\n handleHeight: false,\n refreshMode: 'debounce',\n refreshRate: 100,\n });\n\n const option = useMemo(() => {\n const baseOption: EChartsOption = {\n // textStyle: { fontFamily: 'Noto Sans KR' },\n // tooltip: { textStyle: { fontSize: 16 } },\n };\n return merge(baseOption, props.option);\n }, [props.option]);\n\n return (\n <div ref={ref} style={{ width: '100%', height: '100%' }}>\n <EChartsReactCore\n opts={{ renderer: 'svg' }}\n style={{ width, height }}\n theme={chartTheme}\n echarts={echarts}\n option={option}\n {...props}\n />\n {/* <ReactEChartsCore\n echarts={echarts}\n option={{}}\n style={{ height: '100%', width: '100%' }}\n ></ReactEChartsCore> */}\n </div>\n );\n}\n\nexport { chartTheme };\n","{\n \"version\": 1,\n \"themeName\": \"customed\",\n \"theme\": {\n \"seriesCnt\": \"5\",\n \"backgroundColor\": \"rgba(0,0,0,0)\",\n \"titleColor\": \"#1c2024\",\n \"subtitleColor\": \"#8d8d8d\",\n \"textColorShow\": false,\n \"textColor\": \"#333\",\n \"markTextColor\": \"#ffffff\",\n \"color\": [\n \"#ffe629\",\n \"#3e63dd\",\n \"#ec9455\",\n \"#5bb98b\",\n \"#cb1d63\",\n \"#3ba272\",\n \"#fc8452\",\n \"#9a60b4\",\n \"#ea7ccc\"\n ],\n \"borderColor\": \"#8d8d8d\",\n \"borderWidth\": 0,\n \"visualMapColor\": [\"#bf444c\", \"#d88273\", \"#f6efa6\"],\n \"legendTextColor\": \"#1c2024\",\n \"kColor\": \"#eb5454\",\n \"kColor0\": \"#47b262\",\n \"kBorderColor\": \"#eb5454\",\n \"kBorderColor0\": \"#47b262\",\n \"kBorderWidth\": 1,\n \"lineWidth\": 2,\n \"symbolSize\": 4,\n \"symbol\": \"emptyCircle\",\n \"symbolBorderWidth\": 1,\n \"lineSmooth\": false,\n \"graphLineWidth\": 1,\n \"graphLineColor\": \"#aaa\",\n \"mapLabelColor\": \"#000\",\n \"mapLabelColorE\": \"rgb(100,0,0)\",\n \"mapBorderColor\": \"#444\",\n \"mapBorderColorE\": \"#444\",\n \"mapBorderWidth\": 0.5,\n \"mapBorderWidthE\": 1,\n \"mapAreaColor\": \"#eee\",\n \"mapAreaColorE\": \"rgba(255,215,0,0.8)\",\n \"axes\": [\n {\n \"type\": \"all\",\n \"name\": \"通用坐标轴\",\n \"axisLineShow\": true,\n \"axisLineColor\": \"#6E7079\",\n \"axisTickShow\": true,\n \"axisTickColor\": \"#6E7079\",\n \"axisLabelShow\": true,\n \"axisLabelColor\": \"#6E7079\",\n \"splitLineShow\": true,\n \"splitLineColor\": [\"#E0E6F1\"],\n \"splitAreaShow\": false,\n \"splitAreaColor\": [\"rgba(250,250,250,0.2)\", \"rgba(210,219,238,0.2)\"]\n },\n {\n \"type\": \"category\",\n \"name\": \"类目坐标轴\",\n \"axisLineShow\": true,\n \"axisLineColor\": \"#6E7079\",\n \"axisTickShow\": true,\n \"axisTickColor\": \"#6E7079\",\n \"axisLabelShow\": true,\n \"axisLabelColor\": \"#6E7079\",\n \"splitLineShow\": false,\n \"splitLineColor\": [\"#E0E6F1\"],\n \"splitAreaShow\": false,\n \"splitAreaColor\": [\"rgba(250,250,250,0.2)\", \"rgba(210,219,238,0.2)\"]\n },\n {\n \"type\": \"value\",\n \"name\": \"数值坐标轴\",\n \"axisLineShow\": false,\n \"axisLineColor\": \"#6E7079\",\n \"axisTickShow\": false,\n \"axisTickColor\": \"#6E7079\",\n \"axisLabelShow\": true,\n \"axisLabelColor\": \"#6E7079\",\n \"splitLineShow\": true,\n \"splitLineColor\": [\"#E0E6F1\"],\n \"splitAreaShow\": false,\n \"splitAreaColor\": [\"rgba(250,250,250,0.2)\", \"rgba(210,219,238,0.2)\"]\n },\n {\n \"type\": \"log\",\n \"name\": \"对数坐标轴\",\n \"axisLineShow\": false,\n \"axisLineColor\": \"#6E7079\",\n \"axisTickShow\": false,\n \"axisTickColor\": \"#6E7079\",\n \"axisLabelShow\": true,\n \"axisLabelColor\": \"#6E7079\",\n \"splitLineShow\": true,\n \"splitLineColor\": [\"#E0E6F1\"],\n \"splitAreaShow\": false,\n \"splitAreaColor\": [\"rgba(250,250,250,0.2)\", \"rgba(210,219,238,0.2)\"]\n },\n {\n \"type\": \"time\",\n \"name\": \"时间坐标轴\",\n \"axisLineShow\": true,\n \"axisLineColor\": \"#6E7079\",\n \"axisTickShow\": true,\n \"axisTickColor\": \"#6E7079\",\n \"axisLabelShow\": true,\n \"axisLabelColor\": \"#6E7079\",\n \"splitLineShow\": false,\n \"splitLineColor\": [\"#E0E6F1\"],\n \"splitAreaShow\": false,\n \"splitAreaColor\": [\"rgba(250,250,250,0.2)\", \"rgba(210,219,238,0.2)\"]\n }\n ],\n \"axisSeperateSetting\": true,\n \"toolboxColor\": \"#8d8d8d\",\n \"toolboxEmphasisColor\": \"#1c2024\",\n \"tooltipAxisColor\": \"#cccccc\",\n \"tooltipAxisWidth\": 1,\n \"timelineLineColor\": \"#dae1f5\",\n \"timelineLineWidth\": 2,\n \"timelineItemColor\": \"#a4b1d7\",\n \"timelineItemColorE\": \"#ffffff\",\n \"timelineCheckColor\": \"#316bf3\",\n \"timelineCheckBorderColor\": \"#ffffff\",\n \"timelineItemBorderWidth\": 1,\n \"timelineControlColor\": \"#a4b1d7\",\n \"timelineControlBorderColor\": \"#a4b1d7\",\n \"timelineControlBorderWidth\": 1,\n \"timelineLabelColor\": \"#a4b1d7\"\n }\n}\n"],"mappings":";;;;;AAEA,SAAgB,eAAe;AAC/B,SAAS,yBAAyB;AAClC,SAAS,aAAa;AAEtB,YAAY,aAAa;AACzB,OAAO,sBAAsB;AAC7B,SAAS,UAAU,iBAAiB;AACpC,SAAS,mBAAmB;AAC5B;AAAA,EACE;AAAA,EAQA;AAAA,EAcA;AAAA,EAEA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,OACK;;;ACvCP;AAAA,EACE,SAAW;AAAA,EACX,WAAa;AAAA,EACb,OAAS;AAAA,IACP,WAAa;AAAA,IACb,iBAAmB;AAAA,IACnB,YAAc;AAAA,IACd,eAAiB;AAAA,IACjB,eAAiB;AAAA,IACjB,WAAa;AAAA,IACb,eAAiB;AAAA,IACjB,OAAS;AAAA,MACP;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A;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AACF,CAAC;AASM,SAAS,MAAM,OAAgC;AACpD,QAAM,EAAE,OAAO,QAAQ,IAAI,IAAI,kBAAkB;AAAA,IAC/C,cAAc;AAAA,IACd,aAAa;AAAA,IACb,aAAa;AAAA,EACf,CAAC;AAED,QAAM,SAAS,QAAQ,MAAM;AAC3B,UAAM,aAA4B;AAAA;AAAA;AAAA,IAGlC;AACA,WAAO,MAAM,YAAY,MAAM,MAAM;AAAA,EACvC,GAAG,CAAC,MAAM,MAAM,CAAC;AAEjB,SACE,oBAAC,SAAI,KAAU,OAAO,EAAE,OAAO,QAAQ,QAAQ,OAAO,GACpD;AAAA,IAAC;AAAA;AAAA,MACC,MAAM,EAAE,UAAU,MAAM;AAAA,MACxB,OAAO,EAAE,OAAO,OAAO;AAAA,MACvB,OAAO;AAAA,MACP;AAAA,MACA;AAAA,OACI;AAAA,EACN,GAMF;AAEJ;","names":[]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/charts/chart.tsx"],"sourcesContent":["import React, { useMemo } from 'react';\nimport { useResizeDetector } from 'react-resize-detector';\nimport ReactECharts from 'echarts-for-react';\nimport type { EChartOption } from 'echarts';\nimport { merge } from 'lodash-es';\nimport chartTheme from './chart-theme.json';\n\nexport { chartTheme };\n\nexport type ChartProps = Omit<\n React.ComponentProps<typeof ReactECharts>,\n 'option'\n> & {\n option: EChartOption;\n};\n\nexport function Chart(props: ChartProps): JSX.Element {\n const { width, height, ref } = useResizeDetector({\n handleHeight: false,\n refreshMode: 'debounce',\n refreshRate: 100,\n });\n\n const option = useMemo(() => {\n const baseOption: EChartOption = {\n textStyle: { fontFamily: 'Noto Sans KR' },\n tooltip: { textStyle: { fontSize: 16 } },\n };\n return merge(baseOption, props.option);\n }, [props.option]);\n\n return (\n <div ref={ref} style={{ width: '100%', height: '100%' }}>\n <ReactECharts\n opts={{ renderer: 'svg' }}\n style={{ width, height }}\n theme={chartTheme}\n {...props}\n option={option}\n />\n </div>\n );\n}\n"],"mappings":";;;;;;;;;AAAA,SAAgB,eAAe;AAC/B,SAAS,yBAAyB;AAClC,OAAO,kBAAkB;AAEzB,SAAS,aAAa;AA6BhB;AAjBC,SAAS,MAAM,OAAgC;AACpD,QAAM,EAAE,OAAO,QAAQ,IAAI,IAAI,kBAAkB;AAAA,IAC/C,cAAc;AAAA,IACd,aAAa;AAAA,IACb,aAAa;AAAA,EACf,CAAC;AAED,QAAM,SAAS,QAAQ,MAAM;AAC3B,UAAM,aAA2B;AAAA,MAC/B,WAAW,EAAE,YAAY,eAAe;AAAA,MACxC,SAAS,EAAE,WAAW,EAAE,UAAU,GAAG,EAAE;AAAA,IACzC;AACA,WAAO,MAAM,YAAY,MAAM,MAAM;AAAA,EACvC,GAAG,CAAC,MAAM,MAAM,CAAC;AAEjB,SACE,oBAAC,SAAI,KAAU,OAAO,EAAE,OAAO,QAAQ,QAAQ,OAAO,GACpD;AAAA,IAAC;AAAA;AAAA,MACC,MAAM,EAAE,UAAU,MAAM;AAAA,MACxB,OAAO,EAAE,OAAO,OAAO;AAAA,MACvB,OAAO;AAAA,OACH,QAJL;AAAA,MAKC;AAAA;AAAA,EACF,GACF;AAEJ;","names":[]}
|
package/dist/chunk-DXSXADVU.js
DELETED
|
@@ -1,206 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
__spreadProps,
|
|
3
|
-
__spreadValues
|
|
4
|
-
} from "./chunk-N552FDTV.js";
|
|
5
|
-
|
|
6
|
-
// src/charts/chart.tsx
|
|
7
|
-
import { useMemo } from "react";
|
|
8
|
-
import { useResizeDetector } from "react-resize-detector";
|
|
9
|
-
import { merge } from "lodash-es";
|
|
10
|
-
import * as echarts from "echarts/core";
|
|
11
|
-
import ReactEChartsCore from "echarts-for-react/lib/core";
|
|
12
|
-
import { PieChart, LineChart } from "echarts/charts";
|
|
13
|
-
import { SVGRenderer } from "echarts/renderers";
|
|
14
|
-
import {
|
|
15
|
-
GridSimpleComponent,
|
|
16
|
-
AxisPointerComponent,
|
|
17
|
-
AriaComponent,
|
|
18
|
-
TooltipComponent,
|
|
19
|
-
GridComponent,
|
|
20
|
-
LegendComponent,
|
|
21
|
-
ToolboxComponent
|
|
22
|
-
} from "echarts/components";
|
|
23
|
-
|
|
24
|
-
// src/charts/chart-theme.json
|
|
25
|
-
var chart_theme_default = {
|
|
26
|
-
version: 1,
|
|
27
|
-
themeName: "customed",
|
|
28
|
-
theme: {
|
|
29
|
-
seriesCnt: "5",
|
|
30
|
-
backgroundColor: "rgba(0,0,0,0)",
|
|
31
|
-
titleColor: "#1c2024",
|
|
32
|
-
subtitleColor: "#8d8d8d",
|
|
33
|
-
textColorShow: false,
|
|
34
|
-
textColor: "#333",
|
|
35
|
-
markTextColor: "#ffffff",
|
|
36
|
-
color: [
|
|
37
|
-
"#ffe629",
|
|
38
|
-
"#3e63dd",
|
|
39
|
-
"#ec9455",
|
|
40
|
-
"#5bb98b",
|
|
41
|
-
"#cb1d63",
|
|
42
|
-
"#3ba272",
|
|
43
|
-
"#fc8452",
|
|
44
|
-
"#9a60b4",
|
|
45
|
-
"#ea7ccc"
|
|
46
|
-
],
|
|
47
|
-
borderColor: "#8d8d8d",
|
|
48
|
-
borderWidth: 0,
|
|
49
|
-
visualMapColor: ["#bf444c", "#d88273", "#f6efa6"],
|
|
50
|
-
legendTextColor: "#1c2024",
|
|
51
|
-
kColor: "#eb5454",
|
|
52
|
-
kColor0: "#47b262",
|
|
53
|
-
kBorderColor: "#eb5454",
|
|
54
|
-
kBorderColor0: "#47b262",
|
|
55
|
-
kBorderWidth: 1,
|
|
56
|
-
lineWidth: 2,
|
|
57
|
-
symbolSize: 4,
|
|
58
|
-
symbol: "emptyCircle",
|
|
59
|
-
symbolBorderWidth: 1,
|
|
60
|
-
lineSmooth: false,
|
|
61
|
-
graphLineWidth: 1,
|
|
62
|
-
graphLineColor: "#aaa",
|
|
63
|
-
mapLabelColor: "#000",
|
|
64
|
-
mapLabelColorE: "rgb(100,0,0)",
|
|
65
|
-
mapBorderColor: "#444",
|
|
66
|
-
mapBorderColorE: "#444",
|
|
67
|
-
mapBorderWidth: 0.5,
|
|
68
|
-
mapBorderWidthE: 1,
|
|
69
|
-
mapAreaColor: "#eee",
|
|
70
|
-
mapAreaColorE: "rgba(255,215,0,0.8)",
|
|
71
|
-
axes: [
|
|
72
|
-
{
|
|
73
|
-
type: "all",
|
|
74
|
-
name: "\u901A\u7528\u5750\u6807\u8F74",
|
|
75
|
-
axisLineShow: true,
|
|
76
|
-
axisLineColor: "#6E7079",
|
|
77
|
-
axisTickShow: true,
|
|
78
|
-
axisTickColor: "#6E7079",
|
|
79
|
-
axisLabelShow: true,
|
|
80
|
-
axisLabelColor: "#6E7079",
|
|
81
|
-
splitLineShow: true,
|
|
82
|
-
splitLineColor: ["#E0E6F1"],
|
|
83
|
-
splitAreaShow: false,
|
|
84
|
-
splitAreaColor: ["rgba(250,250,250,0.2)", "rgba(210,219,238,0.2)"]
|
|
85
|
-
},
|
|
86
|
-
{
|
|
87
|
-
type: "category",
|
|
88
|
-
name: "\u7C7B\u76EE\u5750\u6807\u8F74",
|
|
89
|
-
axisLineShow: true,
|
|
90
|
-
axisLineColor: "#6E7079",
|
|
91
|
-
axisTickShow: true,
|
|
92
|
-
axisTickColor: "#6E7079",
|
|
93
|
-
axisLabelShow: true,
|
|
94
|
-
axisLabelColor: "#6E7079",
|
|
95
|
-
splitLineShow: false,
|
|
96
|
-
splitLineColor: ["#E0E6F1"],
|
|
97
|
-
splitAreaShow: false,
|
|
98
|
-
splitAreaColor: ["rgba(250,250,250,0.2)", "rgba(210,219,238,0.2)"]
|
|
99
|
-
},
|
|
100
|
-
{
|
|
101
|
-
type: "value",
|
|
102
|
-
name: "\u6570\u503C\u5750\u6807\u8F74",
|
|
103
|
-
axisLineShow: false,
|
|
104
|
-
axisLineColor: "#6E7079",
|
|
105
|
-
axisTickShow: false,
|
|
106
|
-
axisTickColor: "#6E7079",
|
|
107
|
-
axisLabelShow: true,
|
|
108
|
-
axisLabelColor: "#6E7079",
|
|
109
|
-
splitLineShow: true,
|
|
110
|
-
splitLineColor: ["#E0E6F1"],
|
|
111
|
-
splitAreaShow: false,
|
|
112
|
-
splitAreaColor: ["rgba(250,250,250,0.2)", "rgba(210,219,238,0.2)"]
|
|
113
|
-
},
|
|
114
|
-
{
|
|
115
|
-
type: "log",
|
|
116
|
-
name: "\u5BF9\u6570\u5750\u6807\u8F74",
|
|
117
|
-
axisLineShow: false,
|
|
118
|
-
axisLineColor: "#6E7079",
|
|
119
|
-
axisTickShow: false,
|
|
120
|
-
axisTickColor: "#6E7079",
|
|
121
|
-
axisLabelShow: true,
|
|
122
|
-
axisLabelColor: "#6E7079",
|
|
123
|
-
splitLineShow: true,
|
|
124
|
-
splitLineColor: ["#E0E6F1"],
|
|
125
|
-
splitAreaShow: false,
|
|
126
|
-
splitAreaColor: ["rgba(250,250,250,0.2)", "rgba(210,219,238,0.2)"]
|
|
127
|
-
},
|
|
128
|
-
{
|
|
129
|
-
type: "time",
|
|
130
|
-
name: "\u65F6\u95F4\u5750\u6807\u8F74",
|
|
131
|
-
axisLineShow: true,
|
|
132
|
-
axisLineColor: "#6E7079",
|
|
133
|
-
axisTickShow: true,
|
|
134
|
-
axisTickColor: "#6E7079",
|
|
135
|
-
axisLabelShow: true,
|
|
136
|
-
axisLabelColor: "#6E7079",
|
|
137
|
-
splitLineShow: false,
|
|
138
|
-
splitLineColor: ["#E0E6F1"],
|
|
139
|
-
splitAreaShow: false,
|
|
140
|
-
splitAreaColor: ["rgba(250,250,250,0.2)", "rgba(210,219,238,0.2)"]
|
|
141
|
-
}
|
|
142
|
-
],
|
|
143
|
-
axisSeperateSetting: true,
|
|
144
|
-
toolboxColor: "#8d8d8d",
|
|
145
|
-
toolboxEmphasisColor: "#1c2024",
|
|
146
|
-
tooltipAxisColor: "#cccccc",
|
|
147
|
-
tooltipAxisWidth: 1,
|
|
148
|
-
timelineLineColor: "#dae1f5",
|
|
149
|
-
timelineLineWidth: 2,
|
|
150
|
-
timelineItemColor: "#a4b1d7",
|
|
151
|
-
timelineItemColorE: "#ffffff",
|
|
152
|
-
timelineCheckColor: "#316bf3",
|
|
153
|
-
timelineCheckBorderColor: "#ffffff",
|
|
154
|
-
timelineItemBorderWidth: 1,
|
|
155
|
-
timelineControlColor: "#a4b1d7",
|
|
156
|
-
timelineControlBorderColor: "#a4b1d7",
|
|
157
|
-
timelineControlBorderWidth: 1,
|
|
158
|
-
timelineLabelColor: "#a4b1d7"
|
|
159
|
-
}
|
|
160
|
-
};
|
|
161
|
-
|
|
162
|
-
// src/charts/chart.tsx
|
|
163
|
-
import { jsx } from "react/jsx-runtime";
|
|
164
|
-
echarts.use([
|
|
165
|
-
SVGRenderer,
|
|
166
|
-
PieChart,
|
|
167
|
-
LineChart,
|
|
168
|
-
TooltipComponent,
|
|
169
|
-
GridComponent,
|
|
170
|
-
LegendComponent,
|
|
171
|
-
ToolboxComponent,
|
|
172
|
-
AriaComponent,
|
|
173
|
-
AxisPointerComponent,
|
|
174
|
-
GridSimpleComponent
|
|
175
|
-
]);
|
|
176
|
-
function Chart(props) {
|
|
177
|
-
const { width, height, ref } = useResizeDetector({
|
|
178
|
-
handleHeight: false,
|
|
179
|
-
refreshMode: "debounce",
|
|
180
|
-
refreshRate: 100
|
|
181
|
-
});
|
|
182
|
-
const option = useMemo(() => {
|
|
183
|
-
const baseOption = {
|
|
184
|
-
textStyle: { fontFamily: "Noto Sans KR" },
|
|
185
|
-
tooltip: { textStyle: { fontSize: 16 } }
|
|
186
|
-
};
|
|
187
|
-
return merge(baseOption, props.option);
|
|
188
|
-
}, [props.option]);
|
|
189
|
-
return /* @__PURE__ */ jsx("div", { ref, style: { width: "100%", height: "100%" }, children: /* @__PURE__ */ jsx(
|
|
190
|
-
ReactEChartsCore,
|
|
191
|
-
__spreadProps(__spreadValues({
|
|
192
|
-
echarts,
|
|
193
|
-
opts: { renderer: "svg" },
|
|
194
|
-
style: { height: "100%", width: "100%" },
|
|
195
|
-
theme: chart_theme_default
|
|
196
|
-
}, props), {
|
|
197
|
-
option
|
|
198
|
-
})
|
|
199
|
-
) });
|
|
200
|
-
}
|
|
201
|
-
|
|
202
|
-
export {
|
|
203
|
-
chart_theme_default,
|
|
204
|
-
Chart
|
|
205
|
-
};
|
|
206
|
-
//# sourceMappingURL=chunk-DXSXADVU.js.map
|