@tipp/ui 1.0.32 → 1.0.33
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 +2 -2
- package/dist/atoms/index.cjs.map +1 -1
- package/dist/atoms/index.js +2 -2
- 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-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-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 +6 -6
- package/dist/molecules/expand-table/index.js +2 -2
- package/dist/molecules/expand-table/row.js +2 -2
- package/dist/molecules/index.js +5 -5
- package/dist/molecules/navigation.js +2 -2
- 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/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-BFHWI7WD.js.map +0 -1
- 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 +0 -119
- 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-3ANMLRG4.js.map → chunk-HRSVVVYJ.js.map} +0 -0
- /package/dist/{chunk-APFZLTJJ.js.map → chunk-KOKLC6X2.js.map} +0 -0
package/dist/chunk-A5BAGKVO.js
DELETED
|
@@ -1,205 +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
|
-
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
|
-
EChartsReactCore,
|
|
191
|
-
__spreadProps(__spreadValues({
|
|
192
|
-
opts: { renderer: "svg" },
|
|
193
|
-
style: { width, height },
|
|
194
|
-
theme: chart_theme_default
|
|
195
|
-
}, props), {
|
|
196
|
-
option
|
|
197
|
-
})
|
|
198
|
-
) });
|
|
199
|
-
}
|
|
200
|
-
|
|
201
|
-
export {
|
|
202
|
-
chart_theme_default,
|
|
203
|
-
Chart
|
|
204
|
-
};
|
|
205
|
-
//# sourceMappingURL=chunk-A5BAGKVO.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 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 {...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,EACE;AAAA,EAQA;AAAA,EAcA;AAAA,EAEA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,OACK;;;ACrCP;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,IACj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M;AArCE,YAAI;AAAA,EACV;AAAA,EACA;AAAA,EACA;AAAA,EACA;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,OACH,QAJL;AAAA,MAKC;AAAA;AAAA,EACF,GACF;AAEJ;","names":[]}
|
package/dist/chunk-AGMMAML3.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
//# sourceMappingURL=chunk-AGMMAML3.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
|
package/dist/chunk-BFHWI7WD.js
DELETED
|
@@ -1,119 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
TriangleArrowUpIcon
|
|
3
|
-
} from "./chunk-NDUKDKGB.js";
|
|
4
|
-
import {
|
|
5
|
-
Row
|
|
6
|
-
} from "./chunk-XHNYNSZZ.js";
|
|
7
|
-
import {
|
|
8
|
-
TriangleArrowDownIcon
|
|
9
|
-
} from "./chunk-BSTJBBEX.js";
|
|
10
|
-
import {
|
|
11
|
-
Flex
|
|
12
|
-
} from "./chunk-25HMMI7R.js";
|
|
13
|
-
import {
|
|
14
|
-
Typo
|
|
15
|
-
} from "./chunk-O3XTRD7R.js";
|
|
16
|
-
|
|
17
|
-
// src/molecules/expand-table/index.tsx
|
|
18
|
-
import {
|
|
19
|
-
flexRender,
|
|
20
|
-
getCoreRowModel,
|
|
21
|
-
useReactTable,
|
|
22
|
-
getSortedRowModel,
|
|
23
|
-
createColumnHelper
|
|
24
|
-
} from "@tanstack/react-table";
|
|
25
|
-
import { useMemo, useState } from "react";
|
|
26
|
-
import { jsx, jsxs } from "react/jsx-runtime";
|
|
27
|
-
function ExpandTable(props) {
|
|
28
|
-
const { data, columns, ExpandComp, placeholder, onRowClick } = props;
|
|
29
|
-
const [sorting, setSorting] = useState([]);
|
|
30
|
-
const { getRowModel, getHeaderGroups } = useReactTable({
|
|
31
|
-
data: data || [],
|
|
32
|
-
columns,
|
|
33
|
-
getCoreRowModel: getCoreRowModel(),
|
|
34
|
-
getSortedRowModel: getSortedRowModel(),
|
|
35
|
-
state: {
|
|
36
|
-
sorting
|
|
37
|
-
},
|
|
38
|
-
onSortingChange: setSorting
|
|
39
|
-
});
|
|
40
|
-
const gridColTemp = useMemo(() => {
|
|
41
|
-
return columns.map((col) => {
|
|
42
|
-
var _a;
|
|
43
|
-
if ((_a = col.meta) == null ? void 0 : _a.autoSize)
|
|
44
|
-
return "1fr";
|
|
45
|
-
return `${col.size || 150}px`;
|
|
46
|
-
}).join(" ");
|
|
47
|
-
}, [columns]);
|
|
48
|
-
const rowModels = getRowModel();
|
|
49
|
-
return /* @__PURE__ */ jsxs("div", { className: "expand-table", children: [
|
|
50
|
-
/* @__PURE__ */ jsx("div", { className: "thead", children: getHeaderGroups().map((headerGroup) => /* @__PURE__ */ jsx(
|
|
51
|
-
"div",
|
|
52
|
-
{
|
|
53
|
-
className: "tr",
|
|
54
|
-
style: { gridTemplateColumns: gridColTemp },
|
|
55
|
-
children: headerGroup.headers.map((header) => {
|
|
56
|
-
const sortable = header.column.getCanSort();
|
|
57
|
-
const sortedState = header.column.getIsSorted();
|
|
58
|
-
return /* @__PURE__ */ jsx("div", { className: "th", children: /* @__PURE__ */ jsxs(
|
|
59
|
-
"button",
|
|
60
|
-
{
|
|
61
|
-
onClick: header.column.getToggleSortingHandler(),
|
|
62
|
-
style: sortable ? { cursor: "pointer" } : void 0,
|
|
63
|
-
type: "button",
|
|
64
|
-
children: [
|
|
65
|
-
/* @__PURE__ */ jsx(Typo, { variant: "body", children: flexRender(
|
|
66
|
-
header.column.columnDef.header,
|
|
67
|
-
header.getContext()
|
|
68
|
-
) }),
|
|
69
|
-
sortable ? /* @__PURE__ */ jsxs(
|
|
70
|
-
Flex,
|
|
71
|
-
{
|
|
72
|
-
direction: "column",
|
|
73
|
-
style: { marginLeft: "var(--space-2)" },
|
|
74
|
-
children: [
|
|
75
|
-
/* @__PURE__ */ jsx(
|
|
76
|
-
TriangleArrowUpIcon,
|
|
77
|
-
{
|
|
78
|
-
color: sortedState === "asc" ? "var(--iris-10)" : "var(--iris-6)"
|
|
79
|
-
}
|
|
80
|
-
),
|
|
81
|
-
/* @__PURE__ */ jsx(
|
|
82
|
-
TriangleArrowDownIcon,
|
|
83
|
-
{
|
|
84
|
-
color: sortedState === "desc" ? "var(--iris-10)" : "var(--iris-6)"
|
|
85
|
-
}
|
|
86
|
-
)
|
|
87
|
-
]
|
|
88
|
-
}
|
|
89
|
-
) : null
|
|
90
|
-
]
|
|
91
|
-
}
|
|
92
|
-
) }, header.id);
|
|
93
|
-
})
|
|
94
|
-
},
|
|
95
|
-
headerGroup.id
|
|
96
|
-
)) }),
|
|
97
|
-
/* @__PURE__ */ jsxs("div", { className: "tbody", children: [
|
|
98
|
-
rowModels.rows.length === 0 && /* @__PURE__ */ jsx("div", { className: "tr", children: /* @__PURE__ */ jsx(Flex, { align: "center", justify: "center", children: placeholder || /* @__PURE__ */ jsx(Typo, { color: "gray", mb: "6", mt: "6", variant: "body", children: "\uB370\uC774\uD130\uAC00 \uC5C6\uC2B5\uB2C8\uB2E4" }) }) }, "expand_placeholder"),
|
|
99
|
-
rowModels.rows.map((row) => {
|
|
100
|
-
return /* @__PURE__ */ jsx(
|
|
101
|
-
Row,
|
|
102
|
-
{
|
|
103
|
-
ExpandComp,
|
|
104
|
-
gridColTemp,
|
|
105
|
-
onRowClick,
|
|
106
|
-
row
|
|
107
|
-
},
|
|
108
|
-
`row_${row.id}`
|
|
109
|
-
);
|
|
110
|
-
})
|
|
111
|
-
] })
|
|
112
|
-
] });
|
|
113
|
-
}
|
|
114
|
-
|
|
115
|
-
export {
|
|
116
|
-
createColumnHelper,
|
|
117
|
-
ExpandTable
|
|
118
|
-
};
|
|
119
|
-
//# sourceMappingURL=chunk-BFHWI7WD.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/molecules/expand-table/index.tsx"],"sourcesContent":["import type { ColumnDef, SortingState, RowData } from '@tanstack/react-table';\nimport type { CSSProperties } from 'react';\nimport {\n flexRender,\n getCoreRowModel,\n useReactTable,\n getSortedRowModel,\n createColumnHelper,\n} from '@tanstack/react-table';\nimport React, { useMemo, useState } from 'react';\nimport { Flex, Typo } from '../../atoms';\nimport { TriangleArrowDownIcon } from '../../icons/down';\nimport { TriangleArrowUpIcon } from '../../icons/up';\nimport { Row, type ExpandComp, type OnRowClick } from './row';\n\nexport type { ExpandComp, OnRowClick, ColumnDef };\nexport { createColumnHelper };\n\nexport interface ExpandTableProps<Datum extends RowData> {\n /** 렌더할 데이터 배열 */\n data?: Datum[];\n /** 테이블 컬럼의 메타 데이터 */\n columns: ColumnDef<Datum>[];\n /** Row의 open이 true인 경우 하단의 collapse에 렌더할 컴포넌트 */\n ExpandComp?: ExpandComp<Datum>;\n /** 데이테가 없을 시 화면에 표시할 컴포넌트 */\n placeholder?: React.ReactNode;\n /** 행 클릭 시 실행할 콜백 */\n onRowClick?: OnRowClick<Datum>;\n rowStyle?: CSSProperties;\n}\n\nexport function ExpandTable<Datum extends RowData>(\n props: ExpandTableProps<Datum>\n): React.ReactNode {\n const { data, columns, ExpandComp, placeholder, onRowClick } = props;\n\n const [sorting, setSorting] = useState<SortingState>([]);\n const { getRowModel, getHeaderGroups } = useReactTable({\n data: data || [],\n columns,\n getCoreRowModel: getCoreRowModel(),\n getSortedRowModel: getSortedRowModel(),\n state: {\n sorting,\n },\n onSortingChange: setSorting,\n });\n\n const gridColTemp = useMemo<string>(() => {\n return columns\n .map((col) => {\n if (col.meta?.autoSize) return '1fr';\n return `${col.size || 150}px`;\n })\n .join(' ');\n }, [columns]);\n\n const rowModels = getRowModel();\n\n return (\n <div className=\"expand-table\">\n <div className=\"thead\">\n {getHeaderGroups().map((headerGroup) => (\n <div\n className=\"tr\"\n key={headerGroup.id}\n style={{ gridTemplateColumns: gridColTemp }}\n >\n {headerGroup.headers.map((header) => {\n const sortable = header.column.getCanSort();\n const sortedState = header.column.getIsSorted();\n\n return (\n <div className=\"th\" key={header.id}>\n <button\n onClick={header.column.getToggleSortingHandler()}\n style={sortable ? { cursor: 'pointer' } : undefined}\n type=\"button\"\n >\n <Typo variant=\"body\">\n {flexRender(\n header.column.columnDef.header,\n header.getContext()\n )}\n </Typo>\n {sortable ? (\n <Flex\n direction=\"column\"\n style={{ marginLeft: 'var(--space-2)' }}\n >\n <TriangleArrowUpIcon\n color={\n sortedState === 'asc'\n ? 'var(--iris-10)'\n : 'var(--iris-6)'\n }\n />\n <TriangleArrowDownIcon\n color={\n sortedState === 'desc'\n ? 'var(--iris-10)'\n : 'var(--iris-6)'\n }\n />\n </Flex>\n ) : null}\n </button>\n </div>\n );\n })}\n </div>\n ))}\n </div>\n <div className=\"tbody\">\n {/* 데이터가 없을 시 표시되는 노드 */}\n {rowModels.rows.length === 0 && (\n <div className=\"tr\" key=\"expand_placeholder\">\n <Flex align=\"center\" justify=\"center\">\n {placeholder || (\n <Typo color=\"gray\" mb=\"6\" mt=\"6\" variant=\"body\">\n 데이터가 없습니다\n </Typo>\n )}\n </Flex>\n </div>\n )}\n\n {/* 행을 렌더하는 로직 */}\n {rowModels.rows.map((row) => {\n return (\n <Row\n ExpandComp={ExpandComp}\n gridColTemp={gridColTemp}\n key={`row_${row.id}`}\n onRowClick={onRowClick}\n row={row}\n />\n );\n })}\n </div>\n </div>\n );\n}\n"],"mappings":";;;;;;;;;;;;;;;;;AAEA;AAAA,EACE;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,OACK;AACP,SAAgB,SAAS,gBAAgB;AAuErB,cAOE,YAPF;AAhDb,SAAS,YACd,OACiB;AACjB,QAAM,EAAE,MAAM,SAAS,YAAY,aAAa,WAAW,IAAI;AAE/D,QAAM,CAAC,SAAS,UAAU,IAAI,SAAuB,CAAC,CAAC;AACvD,QAAM,EAAE,aAAa,gBAAgB,IAAI,cAAc;AAAA,IACrD,MAAM,QAAQ,CAAC;AAAA,IACf;AAAA,IACA,iBAAiB,gBAAgB;AAAA,IACjC,mBAAmB,kBAAkB;AAAA,IACrC,OAAO;AAAA,MACL;AAAA,IACF;AAAA,IACA,iBAAiB;AAAA,EACnB,CAAC;AAED,QAAM,cAAc,QAAgB,MAAM;AACxC,WAAO,QACJ,IAAI,CAAC,QAAQ;AAnDpB;AAoDQ,WAAI,SAAI,SAAJ,mBAAU;AAAU,eAAO;AAC/B,aAAO,GAAG,IAAI,QAAQ,GAAG;AAAA,IAC3B,CAAC,EACA,KAAK,GAAG;AAAA,EACb,GAAG,CAAC,OAAO,CAAC;AAEZ,QAAM,YAAY,YAAY;AAE9B,SACE,qBAAC,SAAI,WAAU,gBACb;AAAA,wBAAC,SAAI,WAAU,SACZ,0BAAgB,EAAE,IAAI,CAAC,gBACtB;AAAA,MAAC;AAAA;AAAA,QACC,WAAU;AAAA,QAEV,OAAO,EAAE,qBAAqB,YAAY;AAAA,QAEzC,sBAAY,QAAQ,IAAI,CAAC,WAAW;AACnC,gBAAM,WAAW,OAAO,OAAO,WAAW;AAC1C,gBAAM,cAAc,OAAO,OAAO,YAAY;AAE9C,iBACE,oBAAC,SAAI,WAAU,MACb;AAAA,YAAC;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./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,eAAiB;AA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