@iamfiro/design 0.3.1 → 0.3.4
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/agents/INDEX.md +1 -1
- package/agents/avatar/AGENTS.md +29 -1
- package/agents/brand-icon/AGENTS.md +1 -1
- package/agents/social-login-button/AGENTS.md +4 -3
- package/agents/tooltip/AGENTS.md +1 -1
- package/lib/components/Accordion/Accordion2.js +92 -92
- package/lib/components/ActionBar/ActionBar2.js +42 -45
- package/lib/components/Alert/Alert2.js +77 -77
- package/lib/components/AppShell/AppShell2.js +70 -71
- package/lib/components/AreaChart/AreaChart.js +32 -35
- package/lib/components/BarChart/BarChart2.js +155 -155
- package/lib/components/BarList/BarList2.js +93 -93
- package/lib/components/Breadcrumb/Breadcrumb2.js +62 -64
- package/lib/components/Calendar/Calendar2.js +183 -182
- package/lib/components/Calendar/DatePicker2.js +116 -115
- package/lib/components/Calendar/date.js +67 -66
- package/lib/components/Card/Card2.js +67 -67
- package/lib/components/CardFrame/CardFrame2.js +34 -37
- package/lib/components/Chart/ChartParts.js +90 -90
- package/lib/components/Chart/chart2.js +62 -62
- package/lib/components/Chart/useChartInteraction.js +51 -51
- package/lib/components/ChatBubble/ChatBubble2.js +117 -117
- package/lib/components/ChatBubble/formatChatTime.js +37 -36
- package/lib/components/ChatComposer/ChatComposer2.js +55 -55
- package/lib/components/CodeBlock/CodeBlock2.js +60 -60
- package/lib/components/CodeBlock/highlight.js +72 -72
- package/lib/components/ColorPicker/ColorPicker2.js +232 -231
- package/lib/components/ColorPicker/color.js +67 -67
- package/lib/components/ColorPicker/presets.js +25 -24
- package/lib/components/Combobox/Combobox2.js +140 -140
- package/lib/components/CommandMenu/CommandMenu.js +135 -135
- package/lib/components/Comment/Comment2.js +82 -57
- package/lib/components/ContextMenu/ContextMenu2.js +101 -100
- package/lib/components/DataGrid/DataGrid2.js +872 -871
- package/lib/components/DataGrid/GridPopover.js +98 -98
- package/lib/components/DataGrid/anchor.js +34 -33
- package/lib/components/DataGrid/model.js +291 -290
- package/lib/components/DataGrid/panels.js +337 -336
- package/lib/components/DataGrid/typeMeta.js +49 -48
- package/lib/components/DataGrid/types.js +34 -33
- package/lib/components/DescriptionList/DescriptionList2.js +109 -109
- package/lib/components/Dialog/AlertDialog.js +53 -53
- package/lib/components/Dialog/Dialog2.js +72 -72
- package/lib/components/Dialog/modal.js +67 -68
- package/lib/components/Drawer/Drawer2.js +117 -117
- package/lib/components/DropdownMenu/DropdownMenu2.js +267 -266
- package/lib/components/DropdownMenu/menuCore.js +68 -42
- package/lib/components/Dropzone/Dropzone2.js +78 -78
- package/lib/components/EmptyState/EmptyState2.js +58 -56
- package/lib/components/FileChip/FileChip2.js +72 -48
- package/lib/components/FileUpload/FileUpload.js +137 -138
- package/lib/components/FilterChips/FilterChips2.js +61 -61
- package/lib/components/FunnelChart/FunnelChart2.js +161 -161
- package/lib/components/FunnelChart/funnel.js +50 -49
- package/lib/components/Highlight/Highlight2.js +56 -56
- package/lib/components/HoverCard/HoverCard.js +73 -73
- package/lib/components/InlineDiff/InlineDiff2.js +129 -129
- package/lib/components/InlineDiff/diff.js +87 -87
- package/lib/components/InlineDiff/useDiffReview.js +54 -52
- package/lib/components/Kanban/Kanban2.js +383 -384
- package/lib/components/Kanban/KanbanCard.js +68 -93
- package/lib/components/Kanban/move.js +43 -43
- package/lib/components/LineChart/LineChart2.js +164 -164
- package/lib/components/List/List2.js +60 -60
- package/lib/components/Listbox/Listbox2.js +108 -108
- package/lib/components/Marker/Marker2.js +59 -57
- package/lib/components/Menubar/Menubar2.js +120 -119
- package/lib/components/MultiSelect/MultiSelect2.js +111 -111
- package/lib/components/NavigationMenu/NavigationMenu2.js +277 -279
- package/lib/components/NoticeStack/NoticeStack2.js +109 -109
- package/lib/components/NumberStepper/NumberStepper2.js +70 -70
- package/lib/components/OtpInput/OtpInput2.js +94 -94
- package/lib/components/Pagination/Pagination2.js +109 -109
- package/lib/components/Pagination/paginationRange.js +37 -38
- package/lib/components/PhoneInput/PhoneInput.js +83 -84
- package/lib/components/PieChart/PieChart2.js +157 -157
- package/lib/components/PieChart/arc.js +72 -72
- package/lib/components/PieChart/useArcTween.js +50 -53
- package/lib/components/Popover/Popover2.js +62 -61
- package/lib/components/ProgressTracker/ProgressTracker2.js +104 -104
- package/lib/components/Rating/Rating2.js +89 -88
- package/lib/components/Resizable/Resizable2.js +133 -134
- package/lib/components/Resizable/layout.js +56 -56
- package/lib/components/ScaledPreview/ScaledPreview2.js +64 -63
- package/lib/components/ScatterChart/ScatterChart2.js +252 -251
- package/lib/components/ScatterChart/scatter.js +50 -52
- package/lib/components/ScrollArea/ScrollArea2.js +122 -122
- package/lib/components/Select/Select2.js +84 -85
- package/lib/components/Sidebar/Sidebar2.js +79 -79
- package/lib/components/Skeleton/Skeleton2.js +56 -56
- package/lib/components/Slider/Slider2.js +63 -63
- package/lib/components/SocialLoginButton/SocialLoginButton.js +54 -46
- package/lib/components/SparkChart/SparkChart2.js +129 -128
- package/lib/components/SparkChart/spark.js +49 -48
- package/lib/components/Sparkbar/Sparkbar2.js +59 -58
- package/lib/components/SplitView/SplitView2.js +54 -55
- package/lib/components/Stat/Stat2.js +59 -59
- package/lib/components/StepList/StepList2.js +78 -78
- package/lib/components/Table/Table2.js +55 -55
- package/lib/components/Tabs/Tabs2.js +76 -76
- package/lib/components/TagInput/TagInput2.js +218 -215
- package/lib/components/TimePicker/TimePicker2.js +204 -204
- package/lib/components/TimePicker/time.js +59 -58
- package/lib/components/Timeline/Timeline2.js +179 -179
- package/lib/components/Timeline/scale.js +60 -55
- package/lib/components/Toast/Toaster.js +103 -103
- package/lib/components/Toast/store.js +47 -47
- package/lib/components/ToggleGroup/ToggleGroup2.js +77 -77
- package/lib/components/Toolbar/Toolbar2.js +138 -138
- package/lib/components/Tracker/Tracker2.js +99 -99
- package/lib/components/TreeDiagram/TreeDiagram2.js +117 -117
- package/lib/components/TreeView/TreeView2.js +145 -145
- package/lib/hooks/timing.js +33 -33
- package/lib/hooks/useControllableState.js +33 -33
- package/lib/hooks/useCountdown.js +54 -55
- package/lib/hooks/useDigitInput.js +85 -84
- package/lib/hooks/useDismiss.js +55 -55
- package/lib/hooks/useElapsed.js +55 -55
- package/lib/hooks/useFloating.js +21 -21
- package/lib/hooks/useFocusTrap.js +67 -67
- package/lib/hooks/usePresence.js +33 -29
- package/lib/hooks/usePressToOpen.js +33 -33
- package/lib/hooks/useScrollLock.js +54 -55
- package/lib/hooks/useSelection.js +54 -48
- package/lib/index.js +67 -68
- package/lib/primitives/AspectRatio2.js +58 -54
- package/lib/primitives/BrandIcon.js +189 -158
- package/lib/primitives/ColorDot2.js +52 -51
- package/lib/primitives/CopyButton2.js +66 -64
- package/lib/primitives/CountBadge2.js +56 -56
- package/lib/primitives/Countdown2.js +36 -34
- package/lib/primitives/Delta2.js +41 -66
- package/lib/primitives/Elapsed.js +32 -32
- package/lib/primitives/FileIcon2.js +90 -90
- package/lib/primitives/Flag2.js +157 -157
- package/lib/primitives/IconStack2.js +60 -58
- package/lib/primitives/IconTile2.js +46 -48
- package/lib/primitives/Kbd2.js +51 -51
- package/lib/primitives/Layout2.js +71 -71
- package/lib/primitives/Link2.js +37 -35
- package/lib/primitives/MaskedText2.js +71 -75
- package/lib/primitives/Progress2.js +72 -72
- package/lib/primitives/RelativeTime.js +60 -64
- package/lib/primitives/SearchInput2.js +55 -56
- package/lib/primitives/SelectorButton2.js +69 -71
- package/lib/primitives/Spinner2.js +63 -59
- package/lib/primitives/StatusIcon2.js +66 -66
- package/lib/primitives/Swatch2.js +54 -56
- package/lib/primitives/Tooltip2.js +77 -77
- package/lib/primitives/Typography2.js +67 -67
- package/lib/primitives/formatCountdown.js +38 -41
- package/lib/primitives/formatElapsed.js +41 -40
- package/lib/primitives/formatRelativeTime.js +74 -48
- package/lib/primitives/hotkey.js +81 -81
- package/lib/primitives/index.js +220 -199
- package/lib/primitives/maskValue.js +53 -52
- package/lib/style.css +1 -1
- package/lib/types/components/SocialLoginButton/SocialLoginButton.d.ts +1 -1
- package/lib/types/primitives/BrandIcon.d.ts +1 -1
- package/lib/types/primitives/index.d.ts +6 -2
- package/package.json +1 -1
|
@@ -1,241 +1,241 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
const e =
|
|
2
|
+
const e = i;
|
|
3
3
|
(function(e, t) {
|
|
4
|
-
let n =
|
|
4
|
+
let n = i, r = e();
|
|
5
5
|
for (;;) try {
|
|
6
|
-
if (-parseInt(n(
|
|
6
|
+
if (-parseInt(n(356)) / 1 + -parseInt(n(379)) / 2 * (-parseInt(n(362)) / 3) + -parseInt(n(370)) / 4 * (parseInt(n(400)) / 5) + -parseInt(n(361)) / 6 * (parseInt(n(401)) / 7) + parseInt(n(393)) / 8 + -parseInt(n(375)) / 9 + -parseInt(n(357)) / 10 * (-parseInt(n(366)) / 11) == t) break;
|
|
7
7
|
r.push(r.shift());
|
|
8
8
|
} catch {
|
|
9
9
|
r.push(r.shift());
|
|
10
10
|
}
|
|
11
|
-
})(
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
import { useControllableState as r } from "../../hooks/useControllableState.js";
|
|
20
|
-
import { cx as i } from "../../primitives/index.js";
|
|
21
|
-
function a(e, n) {
|
|
22
|
-
e -= 422;
|
|
23
|
-
let r = t(), i = r[e];
|
|
24
|
-
a.XyunHx === void 0 && (a.cVVYKW = function(e) {
|
|
11
|
+
})(p, 245023);
|
|
12
|
+
import { Stack as t } from "../../primitives/Layout2.js";
|
|
13
|
+
import { useControllableState as n } from "../../hooks/useControllableState.js";
|
|
14
|
+
import { cx as r } from "../../primitives/index.js";
|
|
15
|
+
function i(e, t) {
|
|
16
|
+
e -= 355;
|
|
17
|
+
let n = p(), r = n[e];
|
|
18
|
+
i.cQLitQ === void 0 && (i.WpXeGf = function(e) {
|
|
25
19
|
let t = "", n = "";
|
|
26
20
|
for (let n = 0, r, i, a = 0; i = e.charAt(a++); ~i && (r = n % 4 ? r * 64 + i : i, n++ % 4) && (t += String.fromCharCode(255 & r >> (-2 * n & 6)))) i = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=".indexOf(i);
|
|
27
21
|
for (let e = 0, r = t.length; e < r; e++) n += "%" + ("00" + t.charCodeAt(e).toString(16)).slice(-2);
|
|
28
22
|
return decodeURIComponent(n);
|
|
29
|
-
},
|
|
30
|
-
let
|
|
31
|
-
|
|
32
|
-
let
|
|
33
|
-
return
|
|
23
|
+
}, i.uFhmSd = {}, i.cQLitQ = !0);
|
|
24
|
+
let a = n[0];
|
|
25
|
+
i.rtvFsF !== a && (i.uFhmSd = {}, i.rtvFsF = a);
|
|
26
|
+
let o = i.uFhmSd[e];
|
|
27
|
+
return o === void 0 ? (r = i.WpXeGf(r), i.uFhmSd[e] = r) : r = o, r;
|
|
28
|
+
}
|
|
29
|
+
import { ChartLegend as a, ChartTooltip as o } from "../Chart/ChartParts.js";
|
|
30
|
+
import { axisGutter as s, barPath as ee, chartColor as c, formatCompact as l, formatNumber as u, labelStep as te, niceTicks as ne, numberAt as d } from "../Chart/chart2.js";
|
|
31
|
+
import { useChartInteraction as f } from "../Chart/useChartInteraction.js";
|
|
32
|
+
function p() {
|
|
33
|
+
let e = /* @__PURE__ */ "BgvMDa.y2XVC2vK.mte1odm2ofPIyunzvq.yNv0Dg9U.zMXHDe1HCa.A2v5.B25lzxLeB3DU.zhmTy2HHCNrFx2HPDa.zhmTyMfYlwnOyxj0x19IyxjZ.ndyXnwrsCLfvsa.nZK4mZiYALPjqKnq.zhmTyMfYlwnOyxj0x190AwnRCW.lwXPDMu.zgL2.C29YDa.zw5K.zhmTy2HHCNq.zhmTyMfYlwnOyxj0x190AwnR.zhmTy2HHCNrFx3n2zW.zhmTyMfYlwnOyxj0x190AwnRlwXHyMvS.C3bHBG.ChGP.BgvUz3rO.CMvJDa.zhmTy2HHCNrFx3nY.CMLNAhq.B3bLBG.zhmTy2HHCNrFx3rPCa.zhmTyMfYlwnOyxj0.CMv2zxjZzq.DhjHBNnSyxrLka.y2XPzw50wa.mtq4mty2sgnyEe9V.mtbhq1nszhe.BgfIzwW.Dg90ywW.Aw5JBhvKzxm.mtHdruTPBvC.mtq0nZuZmgz1DK9ytG.BgLUzq.Cg9SAxrL.zhmTy2HHCNrFx2f4Axm.mtG5mdiWn1HmwMnWuG.zMXVB3i.CMvKDwnL.Bwf4.mtq4t0THuxD4.icJSHkdTG53RKkGP.Cgf0Aa.BwLU.C29Tzq.mJy2otG1yNrfr25M.AM9PBG.BwLKzgXL.zhmTyMfYlwnOyxj0x19Iyxi.mKT0r1jtva.C3rHCNq.zhmTy2HHCNrFx3bSB3q.BwfW.Dgv4Da.ChjLDMvUDerLzMf1Bhq.zMLSDgvY.z2v0qM91BMrPBMDdBgLLBNrszwn0.DMfSDwu.y29SB3i.zM9VDgvY.D2LKDgG".split(".");
|
|
34
|
+
return p = function() {
|
|
35
|
+
return e;
|
|
36
|
+
}, p();
|
|
34
37
|
}
|
|
35
|
-
import { ChartLegend as o, ChartTooltip as s } from "../Chart/ChartParts.js";
|
|
36
|
-
import { axisGutter as c, barPath as ee, chartColor as l, formatCompact as u, formatNumber as te, labelStep as ne, niceTicks as d, numberAt as f } from "../Chart/chart2.js";
|
|
37
|
-
import { useChartInteraction as p } from "../Chart/useChartInteraction.js";
|
|
38
38
|
/* empty css */
|
|
39
39
|
import { useId as re, useMemo as ie, useState as ae } from "react";
|
|
40
40
|
import { Fragment as oe, jsx as m, jsxs as h } from "react/jsx-runtime";
|
|
41
41
|
var g = 8, se = 28, ce = 44, _ = 8, v = 3, le = 4;
|
|
42
|
-
function y({ data:
|
|
43
|
-
let
|
|
44
|
-
count:
|
|
42
|
+
function y({ data: p, xKey: y, series: b, height: x = 240, stacked: S, segmentGap: ue = 0, yTickCount: de = 3, yMax: fe, yTicks: C, yAxis: w = e(391), formatValue: T = u, formatAxisValue: pe = l, formatX: E = (e) => String(e[y] ?? ""), formatTitle: me, xIcon: D, showTotal: he = S, totalPlacement: ge = e(389), tooltipLeading: _e, tooltipSort: ve = "series", legend: ye = !0, activeIndex: be, defaultActiveIndex: xe, onActiveIndexChange: Se, selectable: Ce, selected: O, defaultSelected: k = null, onSelectedChange: A, "aria-label": we = "막대 차트", className: Te, style: Ee }) {
|
|
43
|
+
let j = e, M = p.length, { active: De, open: N, shown: P, settled: Oe, width: F, tipRef: ke, tipSize: Ae, hover: je, leave: Me, plotProps: Ne } = f({
|
|
44
|
+
count: M,
|
|
45
45
|
activeIndex: be,
|
|
46
46
|
defaultActiveIndex: xe,
|
|
47
47
|
onActiveIndexChange: Se
|
|
48
|
-
}),
|
|
49
|
-
let e =
|
|
50
|
-
if (
|
|
51
|
-
let
|
|
52
|
-
return
|
|
48
|
+
}), I = Ce ?? (O !== void 0 || k !== null || A !== void 0), [L, Pe] = n(O, k, A), R = I && L !== null && L < M ? L : null, [z, Fe] = ae(null), Ie = re(), B = ie(() => {
|
|
49
|
+
let e = i;
|
|
50
|
+
if (C?.[e(413)]) return C;
|
|
51
|
+
let t = p.map((t) => b[e(382)]((n) => Math[e(369)](0, d(t, n[e(396)]) ?? 0))), n = fe ?? Math[e(369)](0, ...t[e(382)]((t) => S ? t[e(368)]((e, t) => e + t, 0) : Math[e(369)](0, ...t)));
|
|
52
|
+
return ne(n, de);
|
|
53
53
|
}, [
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
x,
|
|
57
|
-
fe,
|
|
54
|
+
p,
|
|
55
|
+
b,
|
|
58
56
|
S,
|
|
57
|
+
fe,
|
|
58
|
+
C,
|
|
59
59
|
de
|
|
60
|
-
]), Le = Math
|
|
61
|
-
let n =
|
|
60
|
+
]), Le = Math.max(...B) || 1, Re = D ? ce : se, ze = s(B[j(382)](pe)), V = Math[j(369)](0, F - ze), H = w === j(416) ? 0 : ze, U = x - g - Re, W = g + U, G = M ? V / M : 0, K = (e) => H + e * G, q = (e) => Math[j(369)](0, e) / Le * U, Be = te(M, V, D ? 40 : 64), J = Math[j(373)](G * .64, S ? 48 : 24 * b[j(413)] + v * (b.length - 1)), Ve = S ? J : Math[j(369)](1, (J - v * (b[j(413)] - 1)) / Math[j(369)](1, b.length)), He = p[j(395)]((e, t) => {
|
|
61
|
+
let n = j, r = 0, i = K(t) + (G - J) / 2, a = b[n(382)]((t, r) => ({
|
|
62
62
|
s: t,
|
|
63
63
|
j: r,
|
|
64
|
-
v:
|
|
65
|
-
}))[n(
|
|
66
|
-
return
|
|
67
|
-
let c = n, l =
|
|
64
|
+
v: d(e, t[n(396)])
|
|
65
|
+
}))[n(385)]((e) => e.v !== null && e.v > 0), o = a[a[n(413)] - 1]?.j;
|
|
66
|
+
return b[n(395)]((a, s) => {
|
|
67
|
+
let c = n, l = d(e, a[c(396)]);
|
|
68
68
|
if (l === null || l <= 0) return [];
|
|
69
|
-
let u =
|
|
69
|
+
let u = q(l), te = S ? i : i + s * (Ve + v), ne = S ? W - q(r) - u : W - u;
|
|
70
70
|
r += l;
|
|
71
|
-
let
|
|
71
|
+
let f = !S || s === o, p = f ? 0 : Math[c(373)](ue, Math[c(369)](0, u - 1));
|
|
72
72
|
return [{
|
|
73
|
-
key: t + "-" + a[c(
|
|
73
|
+
key: t + "-" + a[c(396)],
|
|
74
74
|
i: t,
|
|
75
75
|
s: a,
|
|
76
76
|
j: s,
|
|
77
|
-
d: ee(te, ne + p, Ve, u - p,
|
|
77
|
+
d: ee(te, ne + p, Ve, u - p, f ? le : 0)
|
|
78
78
|
}];
|
|
79
79
|
});
|
|
80
|
-
}),
|
|
80
|
+
}), Ue = N ? P : null, We = I ? [R, Ue] : [Ue], Ge = We[j(374)]((e) => e !== null), Ke = (e) => Ge && !We[j(360)](e) || void 0, Y = P === null ? void 0 : p[P], X = Y ? b.map((e, t) => ({
|
|
81
81
|
s: e,
|
|
82
|
-
color:
|
|
83
|
-
value:
|
|
84
|
-
}))[
|
|
85
|
-
ve ===
|
|
86
|
-
let
|
|
87
|
-
let t =
|
|
88
|
-
return Math
|
|
89
|
-
},
|
|
90
|
-
|
|
91
|
-
},
|
|
92
|
-
let t =
|
|
93
|
-
|
|
94
|
-
},
|
|
95
|
-
return h(
|
|
82
|
+
color: c(e[j(388)], t),
|
|
83
|
+
value: d(Y, e.key)
|
|
84
|
+
}))[j(385)]((e) => e[j(387)] !== null) : [];
|
|
85
|
+
ve === j(420) ? X.reverse() : ve === j(387) && X[j(405)]((e, t) => t.value - e.value);
|
|
86
|
+
let qe = X[j(368)]((e, t) => e + t[j(387)], 0), Je = Y && P !== null ? (me ?? E)(Y, P) : null, Z = he ? T(qe, b[0]) : void 0, Q = P === null ? 0 : K(P), Ye = Q + G + _ + Ae.w > F ? Math[j(369)](0, Q - _ - Ae.w) : Q + G + _, Xe = (e) => {
|
|
87
|
+
let t = j, n = e.currentTarget[t(386)]();
|
|
88
|
+
return Math.min(M - 1, Math.max(0, Math[t(367)]((e[t(355)] - n[t(391)]) / n[t(390)] * M)));
|
|
89
|
+
}, Ze = (e) => je(Xe(e)), $ = (e) => {
|
|
90
|
+
I && e !== R && Pe(e);
|
|
91
|
+
}, Qe = (e) => {
|
|
92
|
+
let t = j;
|
|
93
|
+
I && De !== null && (e[t(396)] === "Enter" || e[t(396)] === " ") ? (e[t(384)](), $(De)) : Ne[t(397)](e);
|
|
94
|
+
}, $e = N && Y ? "" + (Y[y] ?? "") + (P === R ? j(371) : "") + ": " + X[j(382)]((e) => e.s[j(358)] + " " + T(e[j(387)], e.s))[j(376)](", ") : "";
|
|
95
|
+
return h(t, {
|
|
96
96
|
gap: 3,
|
|
97
|
-
className:
|
|
98
|
-
style:
|
|
99
|
-
children: [h(
|
|
97
|
+
className: r(j(407), j(419), Te),
|
|
98
|
+
style: Ee,
|
|
99
|
+
children: [h(j(404), {
|
|
100
100
|
...Ne,
|
|
101
|
-
onKeyDown:
|
|
102
|
-
className:
|
|
103
|
-
style: { height:
|
|
104
|
-
"aria-roledescription":
|
|
105
|
-
"aria-label":
|
|
106
|
-
"aria-describedby": Ie +
|
|
101
|
+
onKeyDown: Qe,
|
|
102
|
+
className: j(381),
|
|
103
|
+
style: { height: x },
|
|
104
|
+
"aria-roledescription": "막대 차트",
|
|
105
|
+
"aria-label": we,
|
|
106
|
+
"aria-describedby": Ie + j(403),
|
|
107
107
|
children: [
|
|
108
|
-
|
|
109
|
-
className:
|
|
110
|
-
width:
|
|
111
|
-
height:
|
|
108
|
+
F > 0 && h("svg", {
|
|
109
|
+
className: j(409),
|
|
110
|
+
width: F,
|
|
111
|
+
height: x,
|
|
112
112
|
"aria-hidden": !0,
|
|
113
113
|
children: [
|
|
114
|
-
m(
|
|
114
|
+
m(j(414), {
|
|
115
115
|
className: "ds-bar-chart__band",
|
|
116
|
-
"data-state":
|
|
116
|
+
"data-state": j(N ? 417 : 392),
|
|
117
117
|
x: 0,
|
|
118
118
|
y: 4,
|
|
119
|
-
width:
|
|
120
|
-
height:
|
|
119
|
+
width: G,
|
|
120
|
+
height: U + 4,
|
|
121
121
|
rx: 8,
|
|
122
|
-
style: { transform:
|
|
122
|
+
style: { transform: "translateX(" + Q + j(412) }
|
|
123
123
|
}),
|
|
124
|
-
|
|
125
|
-
className:
|
|
126
|
-
x1:
|
|
127
|
-
x2:
|
|
128
|
-
y1:
|
|
129
|
-
y2:
|
|
130
|
-
}), m(
|
|
131
|
-
className:
|
|
132
|
-
x:
|
|
133
|
-
y:
|
|
134
|
-
dominantBaseline:
|
|
135
|
-
textAnchor:
|
|
124
|
+
B[j(382)]((e) => h("g", { children: [m(j(363), {
|
|
125
|
+
className: "ds-chart__grid",
|
|
126
|
+
x1: H,
|
|
127
|
+
x2: H + V,
|
|
128
|
+
y1: W - q(e),
|
|
129
|
+
y2: W - q(e)
|
|
130
|
+
}), m(j(383), {
|
|
131
|
+
className: j(365),
|
|
132
|
+
x: w === j(416) ? F : 0,
|
|
133
|
+
y: W - q(e),
|
|
134
|
+
dominantBaseline: "middle",
|
|
135
|
+
textAnchor: j(w === "right" ? 406 : 380),
|
|
136
136
|
children: pe(e)
|
|
137
137
|
})] }, e)),
|
|
138
|
-
!
|
|
138
|
+
!D && p[j(382)]((e, t) => t % Be === 0 ? m(j(383), {
|
|
139
139
|
className: "ds-chart__axis ds-bar-chart__label",
|
|
140
|
-
"data-selected": t ===
|
|
141
|
-
x:
|
|
142
|
-
y:
|
|
143
|
-
textAnchor:
|
|
144
|
-
children:
|
|
140
|
+
"data-selected": t === R || void 0,
|
|
141
|
+
x: K(t) + G / 2,
|
|
142
|
+
y: x - 6,
|
|
143
|
+
textAnchor: j(377),
|
|
144
|
+
children: E(e, t)
|
|
145
145
|
}, t) : null),
|
|
146
146
|
m("g", {
|
|
147
|
-
className:
|
|
148
|
-
style: { transformOrigin: "0 " +
|
|
149
|
-
children: He[
|
|
150
|
-
className:
|
|
147
|
+
className: j(399),
|
|
148
|
+
style: { transformOrigin: "0 " + W + "px" },
|
|
149
|
+
children: He[j(382)]((e) => m(j(372), {
|
|
150
|
+
className: j(378),
|
|
151
151
|
d: e.d,
|
|
152
|
-
fill:
|
|
153
|
-
"data-faded":
|
|
154
|
-
"data-dimmed":
|
|
155
|
-
}, e[
|
|
152
|
+
fill: c(e.s[j(388)], e.j),
|
|
153
|
+
"data-faded": Ke(e.i),
|
|
154
|
+
"data-dimmed": z !== null && z !== e.s[j(396)] || void 0
|
|
155
|
+
}, e[j(396)]))
|
|
156
156
|
}),
|
|
157
|
-
m(
|
|
158
|
-
className:
|
|
159
|
-
"data-selectable":
|
|
160
|
-
x:
|
|
157
|
+
m(j(414), {
|
|
158
|
+
className: j(398),
|
|
159
|
+
"data-selectable": I || void 0,
|
|
160
|
+
x: H,
|
|
161
161
|
y: 0,
|
|
162
|
-
width:
|
|
163
|
-
height:
|
|
164
|
-
onPointerMove:
|
|
165
|
-
onPointerDown:
|
|
162
|
+
width: V,
|
|
163
|
+
height: x,
|
|
164
|
+
onPointerMove: Ze,
|
|
165
|
+
onPointerDown: Ze,
|
|
166
166
|
onPointerLeave: Me,
|
|
167
|
-
onClick: (e) => $(
|
|
167
|
+
onClick: (e) => $(Xe(e))
|
|
168
168
|
})
|
|
169
169
|
]
|
|
170
170
|
}),
|
|
171
|
-
|
|
172
|
-
className:
|
|
173
|
-
style: { top:
|
|
171
|
+
F > 0 && D && m(j(404), {
|
|
172
|
+
className: j(402),
|
|
173
|
+
style: { top: W + 6 },
|
|
174
174
|
"aria-hidden": !0,
|
|
175
|
-
children:
|
|
176
|
-
let n =
|
|
177
|
-
if (t % Be !== 0 && t !==
|
|
178
|
-
let r = h(oe, { children: [
|
|
179
|
-
className: n(
|
|
180
|
-
children: m(
|
|
175
|
+
children: p.map((e, t) => {
|
|
176
|
+
let n = j;
|
|
177
|
+
if (t % Be !== 0 && t !== R) return null;
|
|
178
|
+
let r = h(oe, { children: [D(e, t), m(n(411), {
|
|
179
|
+
className: n(410),
|
|
180
|
+
children: m(n(411), { children: E(e, t) })
|
|
181
181
|
})] }), i = {
|
|
182
|
-
className: n(
|
|
183
|
-
"data-selected": t ===
|
|
184
|
-
style: { left:
|
|
182
|
+
className: n(408),
|
|
183
|
+
"data-selected": t === R || void 0,
|
|
184
|
+
style: { left: K(t) + G / 2 },
|
|
185
185
|
onPointerEnter: () => je(t),
|
|
186
186
|
onPointerLeave: Me
|
|
187
187
|
};
|
|
188
|
-
return
|
|
189
|
-
type:
|
|
188
|
+
return I ? m(n(394), {
|
|
189
|
+
type: n(394),
|
|
190
190
|
tabIndex: -1,
|
|
191
191
|
...i,
|
|
192
192
|
onClick: () => $(t),
|
|
193
193
|
children: r
|
|
194
|
-
}, t) : m(n(
|
|
194
|
+
}, t) : m(n(411), {
|
|
195
195
|
...i,
|
|
196
196
|
children: r
|
|
197
197
|
}, t);
|
|
198
198
|
})
|
|
199
199
|
}),
|
|
200
|
-
m(
|
|
200
|
+
m(j(404), {
|
|
201
201
|
ref: ke,
|
|
202
|
-
className:
|
|
203
|
-
"data-state":
|
|
202
|
+
className: j(418),
|
|
203
|
+
"data-state": j(N ? 417 : 392),
|
|
204
204
|
"data-settled": Oe || void 0,
|
|
205
|
-
style: { transform:
|
|
205
|
+
style: { transform: j(421) + Ye + "px, " + g + "px)" },
|
|
206
206
|
"aria-hidden": !0,
|
|
207
|
-
children: m(
|
|
208
|
-
leading: Y &&
|
|
209
|
-
title:
|
|
207
|
+
children: m(o, {
|
|
208
|
+
leading: Y && P !== null ? _e?.(Y, P) : void 0,
|
|
209
|
+
title: Je,
|
|
210
210
|
value: ge === "header" ? Z : void 0,
|
|
211
|
-
rows: X[
|
|
212
|
-
key: e.s[
|
|
213
|
-
label: e.s[
|
|
214
|
-
color: e[
|
|
215
|
-
value:
|
|
211
|
+
rows: X[j(382)]((e) => ({
|
|
212
|
+
key: e.s[j(396)],
|
|
213
|
+
label: e.s[j(358)],
|
|
214
|
+
color: e[j(388)],
|
|
215
|
+
value: T(e.value, e.s)
|
|
216
216
|
})),
|
|
217
|
-
footer: Z !== void 0 && ge ===
|
|
218
|
-
key:
|
|
217
|
+
footer: Z !== void 0 && ge === "footer" ? {
|
|
218
|
+
key: j(359),
|
|
219
219
|
label: "합계",
|
|
220
220
|
color: "",
|
|
221
221
|
value: Z
|
|
222
222
|
} : void 0
|
|
223
223
|
})
|
|
224
224
|
}),
|
|
225
|
-
m(
|
|
226
|
-
id: Ie +
|
|
227
|
-
className:
|
|
228
|
-
"aria-live":
|
|
229
|
-
children:
|
|
225
|
+
m(j(411), {
|
|
226
|
+
id: Ie + "-live",
|
|
227
|
+
className: j(415),
|
|
228
|
+
"aria-live": j(364),
|
|
229
|
+
children: $e
|
|
230
230
|
})
|
|
231
231
|
]
|
|
232
|
-
}), ye && m(
|
|
233
|
-
items:
|
|
234
|
-
key: e[
|
|
235
|
-
label: e[
|
|
236
|
-
color:
|
|
232
|
+
}), ye && m(a, {
|
|
233
|
+
items: b[j(382)]((e, t) => ({
|
|
234
|
+
key: e[j(396)],
|
|
235
|
+
label: e[j(358)],
|
|
236
|
+
color: c(e[j(388)], t)
|
|
237
237
|
})),
|
|
238
|
-
focused:
|
|
238
|
+
focused: z,
|
|
239
239
|
onFocusChange: Fe
|
|
240
240
|
})]
|
|
241
241
|
});
|