@tipp/ui 1.0.8 → 1.0.10

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.
@@ -0,0 +1,119 @@
1
+ import {
2
+ TriangleArrowUpIcon
3
+ } from "./chunk-NDUKDKGB.js";
4
+ import {
5
+ Row
6
+ } from "./chunk-PBPRWY2V.js";
7
+ import {
8
+ TriangleArrowDownIcon
9
+ } from "./chunk-BSTJBBEX.js";
10
+ import {
11
+ Typo
12
+ } from "./chunk-O3XTRD7R.js";
13
+ import {
14
+ Flex
15
+ } from "./chunk-25HMMI7R.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-6ZO2L5PO.js.map
@@ -0,0 +1 @@
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,QA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;AAAA,sBACA;AAAA,wBAAC;AAAA;AAAA,0BACC,OACE,gBAAgB,SACZ,mBACA;AAAA;AAAA,sBAER;AAAA;AAAA;AAAA,gBACF,IACE;AAAA;AAAA;AAAA,UACN,KAjCuB,OAAO,EAkChC;AAAA,QAEJ,CAAC;AAAA;AAAA,MA5CI,YAAY;AAAA,IA6CnB,CACD,GACH;AAAA,IACA,qBAAC,SAAI,WAAU,SAEZ;AAAA,gBAAU,KAAK,WAAW,KACzB,oBAAC,SAAI,WAAU,MACb,8BAAC,QAAK,OAAM,UAAS,SAAQ,UAC1B,yBACC,oBAAC,QAAK,OAAM,QAAO,IAAG,KAAI,IAAG,KAAI,SAAQ,QAAO,+DAEhD,GAEJ,KAPsB,oBAQxB;AAAA,MAID,UAAU,KAAK,IAAI,CAAC,QAAQ;AAC3B,eACE;AAAA,UAAC;AAAA;AAAA,YACC;AAAA,YACA;AAAA,YAEA;AAAA,YACA;AAAA;AAAA,UAFK,OAAO,IAAI,EAAE;AAAA,QAGpB;AAAA,MAEJ,CAAC;AAAA,OACH;AAAA,KACF;AAEJ;","names":[]}
@@ -0,0 +1,181 @@
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 ReactECharts from "echarts-for-react";
10
+ import { merge } from "lodash-es";
11
+
12
+ // src/charts/chart-theme.json
13
+ var chart_theme_default = {
14
+ version: 1,
15
+ themeName: "customed",
16
+ theme: {
17
+ seriesCnt: "5",
18
+ backgroundColor: "rgba(0,0,0,0)",
19
+ titleColor: "#1c2024",
20
+ subtitleColor: "#8d8d8d",
21
+ textColorShow: false,
22
+ textColor: "#333",
23
+ markTextColor: "#ffffff",
24
+ color: [
25
+ "#ffe629",
26
+ "#3e63dd",
27
+ "#ec9455",
28
+ "#5bb98b",
29
+ "#cb1d63",
30
+ "#3ba272",
31
+ "#fc8452",
32
+ "#9a60b4",
33
+ "#ea7ccc"
34
+ ],
35
+ borderColor: "#8d8d8d",
36
+ borderWidth: 0,
37
+ visualMapColor: ["#bf444c", "#d88273", "#f6efa6"],
38
+ legendTextColor: "#1c2024",
39
+ kColor: "#eb5454",
40
+ kColor0: "#47b262",
41
+ kBorderColor: "#eb5454",
42
+ kBorderColor0: "#47b262",
43
+ kBorderWidth: 1,
44
+ lineWidth: 2,
45
+ symbolSize: 4,
46
+ symbol: "emptyCircle",
47
+ symbolBorderWidth: 1,
48
+ lineSmooth: false,
49
+ graphLineWidth: 1,
50
+ graphLineColor: "#aaa",
51
+ mapLabelColor: "#000",
52
+ mapLabelColorE: "rgb(100,0,0)",
53
+ mapBorderColor: "#444",
54
+ mapBorderColorE: "#444",
55
+ mapBorderWidth: 0.5,
56
+ mapBorderWidthE: 1,
57
+ mapAreaColor: "#eee",
58
+ mapAreaColorE: "rgba(255,215,0,0.8)",
59
+ axes: [
60
+ {
61
+ type: "all",
62
+ name: "\u901A\u7528\u5750\u6807\u8F74",
63
+ axisLineShow: true,
64
+ axisLineColor: "#6E7079",
65
+ axisTickShow: true,
66
+ axisTickColor: "#6E7079",
67
+ axisLabelShow: true,
68
+ axisLabelColor: "#6E7079",
69
+ splitLineShow: true,
70
+ splitLineColor: ["#E0E6F1"],
71
+ splitAreaShow: false,
72
+ splitAreaColor: ["rgba(250,250,250,0.2)", "rgba(210,219,238,0.2)"]
73
+ },
74
+ {
75
+ type: "category",
76
+ name: "\u7C7B\u76EE\u5750\u6807\u8F74",
77
+ axisLineShow: true,
78
+ axisLineColor: "#6E7079",
79
+ axisTickShow: true,
80
+ axisTickColor: "#6E7079",
81
+ axisLabelShow: true,
82
+ axisLabelColor: "#6E7079",
83
+ splitLineShow: false,
84
+ splitLineColor: ["#E0E6F1"],
85
+ splitAreaShow: false,
86
+ splitAreaColor: ["rgba(250,250,250,0.2)", "rgba(210,219,238,0.2)"]
87
+ },
88
+ {
89
+ type: "value",
90
+ name: "\u6570\u503C\u5750\u6807\u8F74",
91
+ axisLineShow: false,
92
+ axisLineColor: "#6E7079",
93
+ axisTickShow: false,
94
+ axisTickColor: "#6E7079",
95
+ axisLabelShow: true,
96
+ axisLabelColor: "#6E7079",
97
+ splitLineShow: true,
98
+ splitLineColor: ["#E0E6F1"],
99
+ splitAreaShow: false,
100
+ splitAreaColor: ["rgba(250,250,250,0.2)", "rgba(210,219,238,0.2)"]
101
+ },
102
+ {
103
+ type: "log",
104
+ name: "\u5BF9\u6570\u5750\u6807\u8F74",
105
+ axisLineShow: false,
106
+ axisLineColor: "#6E7079",
107
+ axisTickShow: false,
108
+ axisTickColor: "#6E7079",
109
+ axisLabelShow: true,
110
+ axisLabelColor: "#6E7079",
111
+ splitLineShow: true,
112
+ splitLineColor: ["#E0E6F1"],
113
+ splitAreaShow: false,
114
+ splitAreaColor: ["rgba(250,250,250,0.2)", "rgba(210,219,238,0.2)"]
115
+ },
116
+ {
117
+ type: "time",
118
+ name: "\u65F6\u95F4\u5750\u6807\u8F74",
119
+ axisLineShow: true,
120
+ axisLineColor: "#6E7079",
121
+ axisTickShow: true,
122
+ axisTickColor: "#6E7079",
123
+ axisLabelShow: true,
124
+ axisLabelColor: "#6E7079",
125
+ splitLineShow: false,
126
+ splitLineColor: ["#E0E6F1"],
127
+ splitAreaShow: false,
128
+ splitAreaColor: ["rgba(250,250,250,0.2)", "rgba(210,219,238,0.2)"]
129
+ }
130
+ ],
131
+ axisSeperateSetting: true,
132
+ toolboxColor: "#8d8d8d",
133
+ toolboxEmphasisColor: "#1c2024",
134
+ tooltipAxisColor: "#cccccc",
135
+ tooltipAxisWidth: 1,
136
+ timelineLineColor: "#dae1f5",
137
+ timelineLineWidth: 2,
138
+ timelineItemColor: "#a4b1d7",
139
+ timelineItemColorE: "#ffffff",
140
+ timelineCheckColor: "#316bf3",
141
+ timelineCheckBorderColor: "#ffffff",
142
+ timelineItemBorderWidth: 1,
143
+ timelineControlColor: "#a4b1d7",
144
+ timelineControlBorderColor: "#a4b1d7",
145
+ timelineControlBorderWidth: 1,
146
+ timelineLabelColor: "#a4b1d7"
147
+ }
148
+ };
149
+
150
+ // src/charts/chart.tsx
151
+ import { jsx } from "react/jsx-runtime";
152
+ function Chart(props) {
153
+ const { width, height, ref } = useResizeDetector({
154
+ handleHeight: false,
155
+ refreshMode: "debounce",
156
+ refreshRate: 100
157
+ });
158
+ const option = useMemo(() => {
159
+ const baseOption = {
160
+ textStyle: { fontFamily: "Noto Sans KR" },
161
+ tooltip: { textStyle: { fontSize: 16 } }
162
+ };
163
+ return merge(baseOption, props.option);
164
+ }, [props.option]);
165
+ return /* @__PURE__ */ jsx("div", { ref, style: { width: "100%", height: "100%" }, children: /* @__PURE__ */ jsx(
166
+ ReactECharts,
167
+ __spreadProps(__spreadValues({
168
+ renderer: "svg",
169
+ style: { width, height },
170
+ theme: chart_theme_default
171
+ }, props), {
172
+ option
173
+ })
174
+ ) });
175
+ }
176
+
177
+ export {
178
+ chart_theme_default,
179
+ Chart
180
+ };
181
+ //# sourceMappingURL=chunk-AVOCFCEQ.js.map
@@ -0,0 +1 @@
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 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 renderer=\"svg\"\n style={{ width, height }}\n theme={chartTheme}\n {...props}\n option={option}\n />\n </div>\n );\n}\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,OAAO,kBAAkB;AAEzB,SAAS,aAAa;;;ACJtB;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;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,IACF;AAAA,IACA,aAAe;AAAA,IACf,aAAe;AAAA,IACf,gBAAkB,CAAC,WAAW,WAAW,SAAS;AAAA,IAClD,iBAAmB;AAAA,IACnB,QAAU;AAAA,IACV,SAAW;AAAA,IACX,cAAgB;AAAA,IAChB,eAAiB;AAAA,IACjB,cAAgB;AAAA,IAChB,WAAa;AAAA,IACb,YAAc;AAAA,IACd,QAAU;AAAA,IACV,mBAAqB;AAAA,IACrB,YAAc;AAAA,IACd,gBAAkB;AAAA,IA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AAA,IAAC;AAAA;AAAA,MACC,UAAS;AAAA,MACT,OAAO,EAAE,OAAO,OAAO;AAAA,MACvB,OAAO;AAAA,OACH,QAJL;AAAA,MAKC;AAAA;AAAA,EACF,GACF;AAEJ;","names":[]}
@@ -0,0 +1,27 @@
1
+ // src/charts/horizontal-bar-chart.tsx
2
+ import { jsx } from "react/jsx-runtime";
3
+ function HorizontalBarChart(props) {
4
+ const { total, value, backgroundColor, barColor, height } = props;
5
+ return /* @__PURE__ */ jsx(
6
+ "div",
7
+ {
8
+ className: "tipp_horizontal-bar-chart bar-wrapper",
9
+ style: { height, backgroundColor },
10
+ children: /* @__PURE__ */ jsx(
11
+ "div",
12
+ {
13
+ style: {
14
+ width: `${Math.round(value / total * 100)}%`,
15
+ height: "100%"
16
+ },
17
+ children: /* @__PURE__ */ jsx("div", { className: "bar", style: { backgroundColor: barColor } })
18
+ }
19
+ )
20
+ }
21
+ );
22
+ }
23
+
24
+ export {
25
+ HorizontalBarChart
26
+ };
27
+ //# sourceMappingURL=chunk-SGMO4KBC.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/charts/horizontal-bar-chart.tsx"],"sourcesContent":["import React from 'react';\n\nexport interface HorizontalBarChartProps {\n /** 100% 바가 뜻하는 전체 값 */\n total: number;\n /** 화면에 채워져보이는 값 */\n value: number;\n /** 배경 색상 */\n backgroundColor?: string;\n /** 바의 색상 */\n barColor?: string;\n /** 바의 높이 */\n height?: number;\n}\n\nexport function HorizontalBarChart(\n props: HorizontalBarChartProps\n): React.ReactNode {\n const { total, value, backgroundColor, barColor, height } = props;\n return (\n <div\n className=\"tipp_horizontal-bar-chart bar-wrapper\"\n style={{ height, backgroundColor }}\n >\n <div\n style={{\n width: `${Math.round((value / total) * 100)}%`,\n height: '100%',\n }}\n >\n <div className=\"bar\" style={{ backgroundColor: barColor }} />\n </div>\n </div>\n );\n}\n"],"mappings":";AA8BQ;AAfD,SAAS,mBACd,OACiB;AACjB,QAAM,EAAE,OAAO,OAAO,iBAAiB,UAAU,OAAO,IAAI;AAC5D,SACE;AAAA,IAAC;AAAA;AAAA,MACC,WAAU;AAAA,MACV,OAAO,EAAE,QAAQ,gBAAgB;AAAA,MAEjC;AAAA,QAAC;AAAA;AAAA,UACC,OAAO;AAAA,YACL,OAAO,GAAG,KAAK,MAAO,QAAQ,QAAS,GAAG,CAAC;AAAA,YAC3C,QAAQ;AAAA,UACV;AAAA,UAEA,8BAAC,SAAI,WAAU,OAAM,OAAO,EAAE,iBAAiB,SAAS,GAAG;AAAA;AAAA,MAC7D;AAAA;AAAA,EACF;AAEJ;","names":[]}
@@ -0,0 +1,182 @@
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 ReactECharts from "echarts-for-react";
10
+ import { merge } from "lodash-es";
11
+
12
+ // src/charts/chart-theme.json
13
+ var chart_theme_default = {
14
+ version: 1,
15
+ themeName: "customed",
16
+ theme: {
17
+ seriesCnt: "5",
18
+ backgroundColor: "rgba(0,0,0,0)",
19
+ titleColor: "#1c2024",
20
+ subtitleColor: "#8d8d8d",
21
+ textColorShow: false,
22
+ textColor: "#333",
23
+ markTextColor: "#ffffff",
24
+ color: [
25
+ "#ffe629",
26
+ "#3e63dd",
27
+ "#ec9455",
28
+ "#5bb98b",
29
+ "#cb1d63",
30
+ "#3ba272",
31
+ "#fc8452",
32
+ "#9a60b4",
33
+ "#ea7ccc"
34
+ ],
35
+ borderColor: "#8d8d8d",
36
+ borderWidth: 0,
37
+ visualMapColor: ["#bf444c", "#d88273", "#f6efa6"],
38
+ legendTextColor: "#1c2024",
39
+ kColor: "#eb5454",
40
+ kColor0: "#47b262",
41
+ kBorderColor: "#eb5454",
42
+ kBorderColor0: "#47b262",
43
+ kBorderWidth: 1,
44
+ lineWidth: 2,
45
+ symbolSize: 4,
46
+ symbol: "emptyCircle",
47
+ symbolBorderWidth: 1,
48
+ lineSmooth: false,
49
+ graphLineWidth: 1,
50
+ graphLineColor: "#aaa",
51
+ mapLabelColor: "#000",
52
+ mapLabelColorE: "rgb(100,0,0)",
53
+ mapBorderColor: "#444",
54
+ mapBorderColorE: "#444",
55
+ mapBorderWidth: 0.5,
56
+ mapBorderWidthE: 1,
57
+ mapAreaColor: "#eee",
58
+ mapAreaColorE: "rgba(255,215,0,0.8)",
59
+ axes: [
60
+ {
61
+ type: "all",
62
+ name: "\u901A\u7528\u5750\u6807\u8F74",
63
+ axisLineShow: true,
64
+ axisLineColor: "#6E7079",
65
+ axisTickShow: true,
66
+ axisTickColor: "#6E7079",
67
+ axisLabelShow: true,
68
+ axisLabelColor: "#6E7079",
69
+ splitLineShow: true,
70
+ splitLineColor: ["#E0E6F1"],
71
+ splitAreaShow: false,
72
+ splitAreaColor: ["rgba(250,250,250,0.2)", "rgba(210,219,238,0.2)"]
73
+ },
74
+ {
75
+ type: "category",
76
+ name: "\u7C7B\u76EE\u5750\u6807\u8F74",
77
+ axisLineShow: true,
78
+ axisLineColor: "#6E7079",
79
+ axisTickShow: true,
80
+ axisTickColor: "#6E7079",
81
+ axisLabelShow: true,
82
+ axisLabelColor: "#6E7079",
83
+ splitLineShow: false,
84
+ splitLineColor: ["#E0E6F1"],
85
+ splitAreaShow: false,
86
+ splitAreaColor: ["rgba(250,250,250,0.2)", "rgba(210,219,238,0.2)"]
87
+ },
88
+ {
89
+ type: "value",
90
+ name: "\u6570\u503C\u5750\u6807\u8F74",
91
+ axisLineShow: false,
92
+ axisLineColor: "#6E7079",
93
+ axisTickShow: false,
94
+ axisTickColor: "#6E7079",
95
+ axisLabelShow: true,
96
+ axisLabelColor: "#6E7079",
97
+ splitLineShow: true,
98
+ splitLineColor: ["#E0E6F1"],
99
+ splitAreaShow: false,
100
+ splitAreaColor: ["rgba(250,250,250,0.2)", "rgba(210,219,238,0.2)"]
101
+ },
102
+ {
103
+ type: "log",
104
+ name: "\u5BF9\u6570\u5750\u6807\u8F74",
105
+ axisLineShow: false,
106
+ axisLineColor: "#6E7079",
107
+ axisTickShow: false,
108
+ axisTickColor: "#6E7079",
109
+ axisLabelShow: true,
110
+ axisLabelColor: "#6E7079",
111
+ splitLineShow: true,
112
+ splitLineColor: ["#E0E6F1"],
113
+ splitAreaShow: false,
114
+ splitAreaColor: ["rgba(250,250,250,0.2)", "rgba(210,219,238,0.2)"]
115
+ },
116
+ {
117
+ type: "time",
118
+ name: "\u65F6\u95F4\u5750\u6807\u8F74",
119
+ axisLineShow: true,
120
+ axisLineColor: "#6E7079",
121
+ axisTickShow: true,
122
+ axisTickColor: "#6E7079",
123
+ axisLabelShow: true,
124
+ axisLabelColor: "#6E7079",
125
+ splitLineShow: false,
126
+ splitLineColor: ["#E0E6F1"],
127
+ splitAreaShow: false,
128
+ splitAreaColor: ["rgba(250,250,250,0.2)", "rgba(210,219,238,0.2)"]
129
+ }
130
+ ],
131
+ axisSeperateSetting: true,
132
+ toolboxColor: "#8d8d8d",
133
+ toolboxEmphasisColor: "#1c2024",
134
+ tooltipAxisColor: "#cccccc",
135
+ tooltipAxisWidth: 1,
136
+ timelineLineColor: "#dae1f5",
137
+ timelineLineWidth: 2,
138
+ timelineItemColor: "#a4b1d7",
139
+ timelineItemColorE: "#ffffff",
140
+ timelineCheckColor: "#316bf3",
141
+ timelineCheckBorderColor: "#ffffff",
142
+ timelineItemBorderWidth: 1,
143
+ timelineControlColor: "#a4b1d7",
144
+ timelineControlBorderColor: "#a4b1d7",
145
+ timelineControlBorderWidth: 1,
146
+ timelineLabelColor: "#a4b1d7"
147
+ }
148
+ };
149
+
150
+ // src/charts/chart.tsx
151
+ import { jsx } from "react/jsx-runtime";
152
+ function Chart(props) {
153
+ const { width, height, ref } = useResizeDetector({
154
+ handleHeight: false,
155
+ refreshMode: "debounce",
156
+ refreshRate: 100
157
+ });
158
+ const option = useMemo(() => {
159
+ const baseOption = {
160
+ textStyle: { fontFamily: "Noto Sans KR" },
161
+ tooltip: { textStyle: { fontSize: 16 } },
162
+ renderer: "svg"
163
+ };
164
+ return merge(baseOption, props.option);
165
+ }, [props.option]);
166
+ return /* @__PURE__ */ jsx("div", { ref, style: { width: "100%", height: "100%" }, children: /* @__PURE__ */ jsx(
167
+ ReactECharts,
168
+ __spreadProps(__spreadValues({
169
+ renderer: "svg",
170
+ style: { width, height },
171
+ theme: chart_theme_default
172
+ }, props), {
173
+ option
174
+ })
175
+ ) });
176
+ }
177
+
178
+ export {
179
+ chart_theme_default,
180
+ Chart
181
+ };
182
+ //# sourceMappingURL=chunk-VJCKB4FI.js.map
@@ -0,0 +1 @@
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 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 renderer: 'svg',\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 renderer=\"svg\"\n style={{ width, height }}\n theme={chartTheme}\n {...props}\n option={option}\n />\n </div>\n );\n}\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,OAAO,kBAAkB;AAEzB,SAAS,aAAa;;;ACJtB;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;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,IACF;AAAA,IACA,aAAe;AAAA,IACf,aAAe;AAAA,IACf,gBAAkB,CAAC,WAAW,WAAW,SAAS;AAAA,IAClD,iBAAmB;AAAA,IACnB,QAAU;AAAA,IACV,SAAW;AAAA,IACX,cAAgB;AAAA,IAChB,eAAiB;AAAA,IACjB,cAAgB;AAAA,IAChB,WAAa;AAAA,IACb,YAAc;AAAA,IACd,QAAU;AAAA,IACV,mBAAqB;AAAA,IACrB,YAAc;AAAA,IACd,gBAAkB;AAAA,IAClB,gBAAkB;AAAA,IAClB,eAAiB;AAAA,IACjB,gBAAkB;AAAA,IAClB,gBAAkB;AAAA,IAClB,iBAAmB;AAAA,IACnB,gBAAkB;AAAA,IAClB,iBAAmB;AAAA,IACnB,cAAgB;AAAA,IAChB,eAAiB;AAAA,IACjB,MAAQ;AAAA,MACN;AAAA,QACE,MAAQ;AAAA,QACR,MAAQ;AAAA,QACR,cAAgB;AAAA,QAChB,eAAiB;AA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