@iamfiro/design 0.3.2 → 0.3.5
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/app-shell/AGENTS.md +99 -1
- package/agents/brand-icon/AGENTS.md +1 -1
- package/agents/social-login-button/AGENTS.md +4 -3
- package/lib/components/Accordion/Accordion2.js +74 -74
- package/lib/components/ActionBar/ActionBar2.js +44 -42
- package/lib/components/Alert/Alert2.js +67 -67
- package/lib/components/AppShell/AppShell2.js +72 -66
- package/lib/components/AreaChart/AreaChart.js +45 -45
- package/lib/components/BarChart/BarChart2.js +128 -128
- package/lib/components/BarList/BarList2.js +105 -105
- package/lib/components/Breadcrumb/Breadcrumb2.js +63 -64
- package/lib/components/Calendar/Calendar2.js +197 -197
- package/lib/components/Calendar/DatePicker2.js +100 -100
- package/lib/components/Calendar/date.js +47 -70
- package/lib/components/Card/Card2.js +101 -74
- package/lib/components/CardFrame/CardFrame2.js +52 -56
- package/lib/components/Chart/ChartParts.js +88 -88
- package/lib/components/Chart/chart2.js +63 -63
- package/lib/components/Chart/useChartInteraction.js +43 -43
- package/lib/components/ChatBubble/ChatBubble2.js +111 -111
- package/lib/components/ChatBubble/formatChatTime.js +38 -43
- package/lib/components/ChatComposer/ChatComposer2.js +96 -96
- package/lib/components/CodeBlock/CodeBlock2.js +65 -65
- package/lib/components/CodeBlock/highlight.js +84 -84
- package/lib/components/ColorPicker/ColorPicker2.js +263 -263
- package/lib/components/ColorPicker/color.js +92 -92
- package/lib/components/ColorPicker/presets.js +35 -39
- package/lib/components/Combobox/Combobox2.js +134 -134
- package/lib/components/CommandMenu/CommandMenu.js +130 -131
- package/lib/components/Comment/Comment2.js +64 -63
- package/lib/components/ContextMenu/ContextMenu2.js +84 -84
- package/lib/components/DataGrid/DataGrid2.js +1182 -1180
- package/lib/components/DataGrid/GridPopover.js +84 -84
- package/lib/components/DataGrid/anchor.js +29 -28
- package/lib/components/DataGrid/model.js +308 -307
- package/lib/components/DataGrid/panels.js +398 -399
- package/lib/components/DataGrid/typeMeta.js +41 -40
- package/lib/components/DataGrid/types.js +39 -40
- package/lib/components/DescriptionList/DescriptionList2.js +105 -105
- package/lib/components/Dialog/AlertDialog.js +90 -89
- package/lib/components/Dialog/Dialog2.js +71 -72
- package/lib/components/Dialog/modal.js +62 -60
- package/lib/components/Drawer/Drawer2.js +167 -166
- package/lib/components/DropdownMenu/DropdownMenu2.js +260 -258
- package/lib/components/DropdownMenu/menuCore.js +29 -28
- package/lib/components/Dropzone/Dropzone2.js +78 -77
- package/lib/components/EmptyState/EmptyState2.js +57 -57
- package/lib/components/FileChip/FileChip2.js +53 -77
- package/lib/components/FileUpload/FileUpload.js +168 -167
- package/lib/components/FilterChips/FilterChips2.js +60 -60
- package/lib/components/FunnelChart/FunnelChart2.js +174 -174
- package/lib/components/FunnelChart/funnel.js +44 -42
- package/lib/components/Highlight/Highlight2.js +55 -55
- package/lib/components/HoverCard/HoverCard.js +71 -96
- package/lib/components/InlineDiff/InlineDiff2.js +128 -129
- package/lib/components/InlineDiff/diff.js +79 -79
- package/lib/components/InlineDiff/useDiffReview.js +61 -62
- package/lib/components/Kanban/Kanban2.js +387 -389
- package/lib/components/Kanban/KanbanCard.js +84 -84
- package/lib/components/Kanban/move.js +32 -25
- package/lib/components/LineChart/LineChart2.js +228 -228
- package/lib/components/List/List2.js +62 -62
- package/lib/components/Listbox/Listbox2.js +92 -92
- package/lib/components/Marker/Marker2.js +50 -56
- package/lib/components/Menubar/Menubar2.js +117 -116
- package/lib/components/MultiSelect/MultiSelect2.js +111 -111
- package/lib/components/NavigationMenu/NavigationMenu2.js +231 -231
- package/lib/components/NoticeStack/NoticeStack2.js +99 -99
- package/lib/components/NumberStepper/NumberStepper2.js +60 -60
- package/lib/components/OtpInput/OtpInput2.js +90 -89
- package/lib/components/Pagination/Pagination2.js +105 -105
- package/lib/components/Pagination/paginationRange.js +37 -37
- package/lib/components/PhoneInput/PhoneInput.js +75 -76
- package/lib/components/PieChart/PieChart2.js +166 -166
- package/lib/components/PieChart/arc.js +71 -69
- package/lib/components/PieChart/useArcTween.js +60 -62
- package/lib/components/Popover/Popover2.js +85 -86
- package/lib/components/ProgressTracker/ProgressTracker2.js +134 -134
- package/lib/components/Rating/Rating2.js +90 -89
- package/lib/components/Resizable/Resizable2.js +128 -129
- package/lib/components/Resizable/layout.js +51 -51
- package/lib/components/ScaledPreview/ScaledPreview2.js +49 -48
- package/lib/components/ScatterChart/ScatterChart2.js +214 -213
- package/lib/components/ScatterChart/scatter.js +49 -52
- package/lib/components/ScrollArea/ScrollArea2.js +115 -117
- package/lib/components/Select/Select2.js +82 -82
- package/lib/components/Sidebar/Sidebar2.js +91 -85
- package/lib/components/Sidebar/rail.js +43 -0
- package/lib/components/Skeleton/Skeleton2.js +63 -64
- package/lib/components/Slider/Slider2.js +65 -66
- package/lib/components/SocialLoginButton/SocialLoginButton.js +76 -69
- package/lib/components/SparkChart/SparkChart2.js +126 -127
- package/lib/components/SparkChart/spark.js +66 -42
- package/lib/components/Sparkbar/Sparkbar2.js +60 -60
- package/lib/components/SplitView/SplitView2.js +51 -51
- package/lib/components/Stat/Stat2.js +79 -79
- package/lib/components/StepList/StepList2.js +75 -75
- package/lib/components/Table/Table2.js +71 -71
- package/lib/components/Tabs/Tabs2.js +74 -74
- package/lib/components/TagInput/TagInput2.js +223 -221
- package/lib/components/TimePicker/TimePicker2.js +197 -195
- package/lib/components/TimePicker/time.js +59 -56
- package/lib/components/Timeline/Timeline2.js +195 -195
- package/lib/components/Timeline/scale.js +64 -66
- package/lib/components/Toast/Toaster.js +139 -139
- package/lib/components/Toast/store.js +72 -76
- package/lib/components/ToggleGroup/ToggleGroup2.js +79 -79
- package/lib/components/Toolbar/Toolbar2.js +165 -164
- package/lib/components/Tracker/Tracker2.js +72 -72
- package/lib/components/TreeDiagram/TreeDiagram2.js +96 -97
- package/lib/components/TreeView/TreeView2.js +152 -151
- package/lib/hooks/timing.js +34 -36
- package/lib/hooks/useControllableState.js +29 -30
- package/lib/hooks/useCountdown.js +51 -53
- package/lib/hooks/useDigitInput.js +81 -55
- package/lib/hooks/useDismiss.js +53 -56
- package/lib/hooks/useElapsed.js +48 -49
- package/lib/hooks/useFloating.js +36 -36
- package/lib/hooks/useFocusTrap.js +32 -32
- package/lib/hooks/usePresence.js +49 -49
- package/lib/hooks/usePressToOpen.js +40 -40
- package/lib/hooks/useScrollLock.js +50 -49
- package/lib/hooks/useSelection.js +42 -47
- package/lib/index.js +138 -139
- package/lib/primitives/AspectRatio2.js +58 -57
- package/lib/primitives/BrandIcon.js +210 -179
- package/lib/primitives/ColorDot2.js +42 -41
- package/lib/primitives/CopyButton2.js +59 -58
- package/lib/primitives/CountBadge2.js +58 -63
- package/lib/primitives/Countdown2.js +38 -37
- package/lib/primitives/Delta2.js +37 -37
- package/lib/primitives/Elapsed.js +42 -40
- package/lib/primitives/FileIcon2.js +102 -102
- package/lib/primitives/Flag2.js +124 -124
- package/lib/primitives/IconStack2.js +45 -23
- package/lib/primitives/IconTile2.js +45 -41
- package/lib/primitives/Kbd2.js +48 -48
- package/lib/primitives/Layout2.js +71 -71
- package/lib/primitives/Link2.js +40 -42
- package/lib/primitives/MaskedText2.js +50 -50
- package/lib/primitives/Progress2.js +78 -77
- package/lib/primitives/RelativeTime.js +55 -58
- package/lib/primitives/SearchInput2.js +72 -68
- package/lib/primitives/SelectorButton2.js +60 -61
- package/lib/primitives/Spinner2.js +48 -49
- package/lib/primitives/StatusIcon2.js +69 -69
- package/lib/primitives/Swatch2.js +65 -69
- package/lib/primitives/Tooltip2.js +92 -92
- package/lib/primitives/Typography2.js +37 -37
- package/lib/primitives/formatCountdown.js +38 -38
- package/lib/primitives/formatElapsed.js +43 -45
- package/lib/primitives/formatRelativeTime.js +54 -54
- package/lib/primitives/hotkey.js +77 -77
- package/lib/primitives/index.js +162 -161
- package/lib/primitives/maskValue.js +54 -51
- package/lib/style.css +1 -1
- package/lib/types/components/AppShell/AppShell.d.ts +9 -2
- package/lib/types/components/Sidebar/rail.d.ts +4 -0
- package/lib/types/components/SocialLoginButton/SocialLoginButton.d.ts +1 -1
- package/lib/types/components/index.d.ts +1 -0
- package/lib/types/primitives/BrandIcon.d.ts +1 -1
- package/package.json +1 -1
|
@@ -1,233 +1,233 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
const e =
|
|
2
|
+
const e = m;
|
|
3
3
|
(function(e, t) {
|
|
4
|
-
let n =
|
|
4
|
+
let n = m, r = e();
|
|
5
5
|
for (;;) try {
|
|
6
|
-
if (
|
|
6
|
+
if (parseInt(n(462)) / 1 + -parseInt(n(448)) / 2 + -parseInt(n(479)) / 3 + parseInt(n(482)) / 4 * (-parseInt(n(451)) / 5) + -parseInt(n(489)) / 6 * (parseInt(n(461)) / 7) + -parseInt(n(459)) / 8 + parseInt(n(476)) / 9 == t) break;
|
|
7
7
|
r.push(r.shift());
|
|
8
8
|
} catch {
|
|
9
9
|
r.push(r.shift());
|
|
10
10
|
}
|
|
11
|
-
})(
|
|
11
|
+
})(p, 980069);
|
|
12
12
|
import { Text as t } from "../../primitives/Typography2.js";
|
|
13
13
|
import { ColorDot as n } from "../../primitives/ColorDot2.js";
|
|
14
14
|
import { Inline as r, Stack as i } from "../../primitives/Layout2.js";
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
15
|
+
import { cx as a } from "../../primitives/index.js";
|
|
16
|
+
import { ChartTooltip as o } from "../Chart/ChartParts.js";
|
|
17
|
+
import { barPath as s, chartColor as c, formatNumber as ee, formatPercent as l } from "../Chart/chart2.js";
|
|
18
|
+
import { useChartInteraction as u } from "../Chart/useChartInteraction.js";
|
|
19
|
+
import { estimateTextWidth as d, funnelStats as te, hBarPath as f } from "./funnel.js";
|
|
20
|
+
function p() {
|
|
21
|
+
let e = /* @__PURE__ */ "Agf0y2HLza.zhmTy2HHCNrFx3nY.zhmTzNvUBMvSlwnOyxj0x19Wy3q.ls1JAgfYDc1ZzxeTmq.BgvMDa.zhmTzNvUBMvSlwnOyxj0x192ywX1zq.Dg9W.zhmTzNvUBMvSlwnOyxj0x19KCM9W.y29SB3iTBwL4kgLUihnYz2iSia.mtm1nJe4ogfJA0LlzW.lwXPDMu.A2v5.mtC2ndu1qNforfnk.BgvUz3rO.idmWjsWGDMfYkc0TC3vYzMfJzsKP.y2XVC2vK.DhjHBNnSyxrLwcG.imk3ia.zhmTy2HHCNrFx3n2zYbKCY1MDw5UzwWTy2HHCNrFx3n2zW.DhjHBNnSyxrLwsG.mti3mJCYnJrewvnQDMO.lwHHDgnOlq.mZCXyuj6tNfb.nZC3mtiYD2jhBeXL.DMfSDwu.Ag9YAxPVBNrHBa.7lkRioUlQoQZHcdRJidRUyq.zhmTy2HHCNq.BwfW.zhmTzNvUBMvSlwnOyxj0x19ZDgvW.C2vJB25Kyxj5.B3bLBG.D2LKDgG.7y2864sqioYWQo2kUa.zNjVBvbYzxzPB3vZ.DMfYkc0Ty2HHCNqTC2vXlq.y2vPBa.nJaXnJG4mZrRuePTy20.zhjVCa.zhmTzNvUBMvSlwnOyxj0x19Iyw5K.ntC1mJi2nNHjzM1eta.BgfIzwW.Cgf0Aa.mtG4CxDyu050.z2v0qM91BMrPBMDdBgLLBNrszwn0.DxnLCLnWywnLt25vC2u.zhmTzNvUBMvSlwnOyxj0x19Iyxi.Dgv4Da.CM91BMq.yM9KEs1ZBq.nZiXntzvt2zNENy.DhjHBNnSyxrLka.CM90yxrLkdq1kq.Cgf0DgvYBG.y2XPzw50wq.zgvMCW.y29UDMvYC2LVBG.zMLYC3q.zw5K.y29SB3i.DxjSkcm.BwLK.ChGSia.zNjVBuzPCNn0.Bwf4.ChGP.BwLU.zMXVB3i.CMvJDa.zhmTy2HHCNrFx3rPCa.zhmTy2HHCNrFx3bSB3q.BwLKzgXL.ChjLDMLVDxm".split(".");
|
|
22
|
+
return p = function() {
|
|
18
23
|
return e;
|
|
19
|
-
},
|
|
24
|
+
}, p();
|
|
20
25
|
}
|
|
21
|
-
|
|
22
|
-
import {
|
|
23
|
-
function
|
|
24
|
-
e -=
|
|
25
|
-
let n =
|
|
26
|
-
|
|
26
|
+
/* empty css */
|
|
27
|
+
import { useId as ne } from "react";
|
|
28
|
+
function m(e, t) {
|
|
29
|
+
e -= 419;
|
|
30
|
+
let n = p(), r = n[e];
|
|
31
|
+
m.zlCHZr === void 0 && (m.mOfeZE = function(e) {
|
|
27
32
|
let t = "", n = "";
|
|
28
33
|
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);
|
|
29
34
|
for (let e = 0, r = t.length; e < r; e++) n += "%" + ("00" + t.charCodeAt(e).toString(16)).slice(-2);
|
|
30
35
|
return decodeURIComponent(n);
|
|
31
|
-
},
|
|
36
|
+
}, m.yjLaya = {}, m.zlCHZr = !0);
|
|
32
37
|
let i = n[0];
|
|
33
|
-
|
|
34
|
-
let
|
|
35
|
-
return
|
|
38
|
+
m.uBWYKG !== i && (m.yjLaya = {}, m.uBWYKG = i);
|
|
39
|
+
let a = m.yjLaya[e];
|
|
40
|
+
return a === void 0 ? (r = m.mOfeZE(r), m.yjLaya[e] = r) : r = a, r;
|
|
36
41
|
}
|
|
37
|
-
import {
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
let t = E, n = O[e]?.[t(184)];
|
|
53
|
-
return n ? l(n, e) : oe ? t(232) + (k > 1 ? 1 + Math[t(233)](e * 3 / (k - 1)) : 1) + ")" : l(ae, 0);
|
|
54
|
-
}, ve = (e) => E(235) + e + E(247), R = I ? Math[E(222)](Math[E(216)](0, ...O[E(175)]((e) => d(e[E(243)])))) + 16 : 0, ye = Math.ceil(Math[E(216)](0, ...O[E(175)]((e) => d(w(e[E(223)], e))))) + 4, be = I ? 16 + ye + 10 + y : 0, xe = Math[E(216)](0, M - R - be), z = C + g, B = I ? Math[E(216)](0, k * C + (k - 1) * g) : S, V = S - ie, Se = Math[E(216)](0, V - 50), H = k ? M / k : 0, U = H * .78, W = (e) => e / _e * (I ? xe : Se), G = O[E(175)]((e, t) => {
|
|
55
|
-
let n = E, r = t ? O[t - 1].value : e[n(223)], i = W(e.value), a = W(Math[n(216)](r, e[n(223)]));
|
|
56
|
-
if (I) {
|
|
42
|
+
import { jsx as h, jsxs as g } from "react/jsx-runtime";
|
|
43
|
+
var _ = 14, re = 28, v = 8, y = 4, b = 44;
|
|
44
|
+
function x({ data: p, orientation: m = e(464), calculateFrom: x = e(423), color: ie = e(442), gradient: ae = !1, showDropOff: S = !0, height: C = 260, barSize: w = 32, formatValue: T = ee, formatPercent: E = l, legend: oe = !0, activeIndex: se, defaultActiveIndex: ce, onActiveIndexChange: le, "aria-label": ue = e(472), className: de, style: fe }) {
|
|
45
|
+
let D = e, O = ne(), k = te(p, x), A = k[D(452)], { open: j, shown: M, settled: pe, width: N, tipRef: me, tipSize: P, hover: he, leave: ge, plotProps: _e } = u({
|
|
46
|
+
count: A,
|
|
47
|
+
activeIndex: se,
|
|
48
|
+
defaultActiveIndex: ce,
|
|
49
|
+
onActiveIndexChange: le,
|
|
50
|
+
initialKeyboardIndex: D(423)
|
|
51
|
+
}), F = m === D(464), ve = Math[D(430)](0, ...k[D(467)]((e) => e[D(463)])) || 1, I = (e) => {
|
|
52
|
+
let t = D, n = k[e]?.[t(425)];
|
|
53
|
+
return n ? c(n, e) : ae ? t(474) + (A > 1 ? 1 + Math[t(487)](e * 3 / (A - 1)) : 1) + ")" : c(ie, 0);
|
|
54
|
+
}, ye = (e) => D(447) + e + D(453), L = F ? Math[D(475)](Math[D(430)](0, ...k.map((e) => d(e.label)))) + 16 : 0, R = Math[D(475)](Math[D(430)](0, ...k[D(467)]((e) => d(T(e.value, e))))) + 4, be = F ? 16 + R + 10 + b : 0, xe = Math[D(430)](0, N - L - be), z = w + _, B = F ? Math[D(430)](0, A * w + (A - 1) * _) : C, V = C - re, Se = Math[D(430)](0, V - 50), H = A ? N / A : 0, U = H * .78, W = (e) => e / ve * (F ? xe : Se), G = k.map((e, t) => {
|
|
55
|
+
let n = D, r = t ? k[t - 1][n(463)] : e[n(463)], i = W(e.value), a = W(Math[n(430)](r, e.value));
|
|
56
|
+
if (F) {
|
|
57
57
|
let e = t * z;
|
|
58
58
|
return {
|
|
59
|
-
bar:
|
|
60
|
-
drop:
|
|
61
|
-
end:
|
|
62
|
-
mid: e +
|
|
59
|
+
bar: f(L, e, i, w, y),
|
|
60
|
+
drop: f(L + i, e, a - i, w, y),
|
|
61
|
+
end: L + a,
|
|
62
|
+
mid: e + w / 2
|
|
63
63
|
};
|
|
64
64
|
}
|
|
65
65
|
let o = t * H + (H - U) / 2;
|
|
66
66
|
return {
|
|
67
|
-
bar:
|
|
68
|
-
drop:
|
|
67
|
+
bar: s(o, V - i, U, i, y),
|
|
68
|
+
drop: s(o, V - a, U, a - i, y),
|
|
69
69
|
end: (t + 1) * H,
|
|
70
70
|
mid: t * H + H / 2
|
|
71
71
|
};
|
|
72
|
-
}), K =
|
|
73
|
-
key:
|
|
74
|
-
label: q(
|
|
75
|
-
color:
|
|
76
|
-
value:
|
|
77
|
-
}, ...
|
|
78
|
-
key:
|
|
72
|
+
}), K = M === null ? void 0 : k[M], q = (e) => e === "first" ? D(465) : "이전 단계 대비", J = x === D(423) ? D(438) : D(423), Ce = K && M !== null ? [{
|
|
73
|
+
key: D(422),
|
|
74
|
+
label: q(x),
|
|
75
|
+
color: I(M),
|
|
76
|
+
value: E(K[D(422)])
|
|
77
|
+
}, ...M > 0 ? [{
|
|
78
|
+
key: "other",
|
|
79
79
|
label: q(J),
|
|
80
|
-
color:
|
|
81
|
-
value:
|
|
80
|
+
color: I(M),
|
|
81
|
+
value: E(J === D(423) ? K[D(429)] : K[D(473)])
|
|
82
82
|
}, {
|
|
83
|
-
key:
|
|
83
|
+
key: D(477),
|
|
84
84
|
label: "이탈",
|
|
85
|
-
color:
|
|
86
|
-
value:
|
|
87
|
-
}] : []] : [], Y =
|
|
88
|
-
if (Y &&
|
|
89
|
-
if (
|
|
85
|
+
color: ye(I(M - 1)),
|
|
86
|
+
value: T(K.drop, K) + D(456) + E(K.dropRate)
|
|
87
|
+
}] : []] : [], Y = M === null ? void 0 : G[M], X = 0, Z = 0;
|
|
88
|
+
if (Y && M !== null) {
|
|
89
|
+
if (F) X = Math[D(430)](0, Math.min(Y[D(424)] + v, N - P.w)), Z = Math[D(430)](0, Math[D(432)](Y[D(427)] - P.h / 2, B - P.h));
|
|
90
90
|
else {
|
|
91
|
-
let e =
|
|
92
|
-
X = Y
|
|
91
|
+
let e = M * H;
|
|
92
|
+
X = Y.end + v + P.w > N ? Math.max(0, e - v - P.w) : Y[D(424)] + v, Z = 50;
|
|
93
93
|
}
|
|
94
94
|
}
|
|
95
|
-
let Q =
|
|
96
|
-
let t =
|
|
97
|
-
if (!
|
|
98
|
-
let n = e.currentTarget[t(
|
|
99
|
-
|
|
100
|
-
}, we =
|
|
101
|
-
return
|
|
95
|
+
let Q = M === null ? 0 : F ? M * z - _ / 2 : M * H, $ = (e) => {
|
|
96
|
+
let t = D;
|
|
97
|
+
if (!A) return;
|
|
98
|
+
let n = e.currentTarget[t(483)](), r = F ? Math[t(433)]((e[t(420)] - n[t(445)] + _ / 2) / z) : Math.floor((e.clientX - n[t(443)]) / n[t(471)] * A);
|
|
99
|
+
he(Math[t(432)](A - 1, Math[t(430)](0, r)));
|
|
100
|
+
}, we = j && K ? K[D(480)] + ": " + T(K[D(463)], K) + ", " + q(x) + " " + E(K[D(422)]) + (M ? ", 이탈 " + T(K[D(477)], K) : "") : "";
|
|
101
|
+
return g(i, {
|
|
102
102
|
gap: 3,
|
|
103
|
-
className:
|
|
104
|
-
style:
|
|
105
|
-
children: [
|
|
106
|
-
...
|
|
107
|
-
className:
|
|
103
|
+
className: a(D(466), "ds-funnel-chart", de),
|
|
104
|
+
style: fe,
|
|
105
|
+
children: [g("div", {
|
|
106
|
+
..._e,
|
|
107
|
+
className: D(436),
|
|
108
108
|
style: { height: B },
|
|
109
|
-
"data-orientation":
|
|
110
|
-
"aria-roledescription":
|
|
111
|
-
"aria-label":
|
|
112
|
-
"aria-describedby":
|
|
109
|
+
"data-orientation": m,
|
|
110
|
+
"aria-roledescription": D(472),
|
|
111
|
+
"aria-label": ue,
|
|
112
|
+
"aria-describedby": O + D(449),
|
|
113
113
|
children: [
|
|
114
|
-
|
|
115
|
-
className:
|
|
116
|
-
width:
|
|
114
|
+
N > 0 && g("svg", {
|
|
115
|
+
className: D(457),
|
|
116
|
+
width: N,
|
|
117
117
|
height: B,
|
|
118
118
|
"aria-hidden": !0,
|
|
119
|
-
"data-orientation":
|
|
119
|
+
"data-orientation": m,
|
|
120
120
|
children: [
|
|
121
|
-
|
|
122
|
-
id:
|
|
121
|
+
h(D(421), { children: k[D(467)]((e, t) => t > 0 ? g(D(419), {
|
|
122
|
+
id: O + "-hatch-" + t,
|
|
123
123
|
width: 6,
|
|
124
124
|
height: 6,
|
|
125
|
-
patternUnits:
|
|
126
|
-
patternTransform:
|
|
127
|
-
children: [
|
|
125
|
+
patternUnits: D(484),
|
|
126
|
+
patternTransform: D(491),
|
|
127
|
+
children: [h(D(434), {
|
|
128
128
|
width: 6,
|
|
129
129
|
height: 6,
|
|
130
130
|
style: {
|
|
131
|
-
fill:
|
|
131
|
+
fill: I(t - 1),
|
|
132
132
|
fillOpacity: .1
|
|
133
133
|
}
|
|
134
|
-
}),
|
|
134
|
+
}), h("line", {
|
|
135
135
|
x1: 1.5,
|
|
136
136
|
y1: 0,
|
|
137
137
|
x2: 1.5,
|
|
138
138
|
y2: 6,
|
|
139
139
|
style: {
|
|
140
|
-
stroke:
|
|
140
|
+
stroke: I(t - 1),
|
|
141
141
|
strokeWidth: 3,
|
|
142
142
|
strokeOpacity: .28
|
|
143
143
|
}
|
|
144
144
|
})]
|
|
145
|
-
}, e[
|
|
146
|
-
|
|
147
|
-
className:
|
|
148
|
-
"data-state":
|
|
145
|
+
}, e[D(450)]) : null) }),
|
|
146
|
+
h(D(434), {
|
|
147
|
+
className: D(478),
|
|
148
|
+
"data-state": j ? D(470) : "closed",
|
|
149
149
|
x: 0,
|
|
150
150
|
y: 0,
|
|
151
|
-
width:
|
|
152
|
-
height:
|
|
151
|
+
width: F ? N : H,
|
|
152
|
+
height: F ? z : B,
|
|
153
153
|
rx: 8,
|
|
154
|
-
style: { transform:
|
|
154
|
+
style: { transform: F ? D(458) + Q + D(431) : D(455) + Q + "px)" }
|
|
155
155
|
}),
|
|
156
|
-
|
|
157
|
-
let n =
|
|
158
|
-
return
|
|
159
|
-
className:
|
|
156
|
+
k.map((e, t) => {
|
|
157
|
+
let n = D, r = G[t], i = j && M !== t || void 0, a = { "--_i": t };
|
|
158
|
+
return g("g", {
|
|
159
|
+
className: n(468),
|
|
160
160
|
"data-faded": i,
|
|
161
|
-
children: [
|
|
162
|
-
className: n(
|
|
163
|
-
d: r[n(
|
|
164
|
-
fill:
|
|
161
|
+
children: [S && t > 0 && h(n(481), {
|
|
162
|
+
className: n(446),
|
|
163
|
+
d: r[n(477)],
|
|
164
|
+
fill: n(426) + O + n(460) + t + ")",
|
|
165
165
|
style: a
|
|
166
|
-
}),
|
|
167
|
-
className: n(
|
|
168
|
-
d: r
|
|
169
|
-
fill:
|
|
166
|
+
}), h(n(481), {
|
|
167
|
+
className: n(485),
|
|
168
|
+
d: r.bar,
|
|
169
|
+
fill: I(t),
|
|
170
170
|
style: a
|
|
171
171
|
})]
|
|
172
|
-
}, e[n(
|
|
172
|
+
}, e[n(450)]);
|
|
173
173
|
}),
|
|
174
|
-
|
|
175
|
-
let n =
|
|
176
|
-
return
|
|
177
|
-
|
|
178
|
-
className:
|
|
174
|
+
k[D(467)]((e, t) => {
|
|
175
|
+
let n = D, r = G[t], i = T(e[n(463)], e), a = E(e[n(422)]);
|
|
176
|
+
return F ? g("g", { children: [
|
|
177
|
+
h(n(486), {
|
|
178
|
+
className: "ds-funnel-chart__label",
|
|
179
179
|
x: 0,
|
|
180
|
-
y: r[n(
|
|
180
|
+
y: r[n(427)],
|
|
181
181
|
dominantBaseline: "middle",
|
|
182
|
-
children: e
|
|
182
|
+
children: e.label
|
|
183
183
|
}),
|
|
184
|
-
|
|
185
|
-
className: n(
|
|
186
|
-
x:
|
|
187
|
-
y: r
|
|
188
|
-
dominantBaseline: n(
|
|
189
|
-
textAnchor: n(
|
|
184
|
+
h(n(486), {
|
|
185
|
+
className: n(444),
|
|
186
|
+
x: N - b - 10,
|
|
187
|
+
y: r.mid,
|
|
188
|
+
dominantBaseline: n(437),
|
|
189
|
+
textAnchor: n(424),
|
|
190
190
|
children: i
|
|
191
191
|
}),
|
|
192
|
-
|
|
193
|
-
className: n(
|
|
194
|
-
x:
|
|
195
|
-
y: r
|
|
196
|
-
dominantBaseline: n(
|
|
197
|
-
textAnchor:
|
|
192
|
+
h(n(486), {
|
|
193
|
+
className: n(441),
|
|
194
|
+
x: N,
|
|
195
|
+
y: r[n(427)],
|
|
196
|
+
dominantBaseline: n(437),
|
|
197
|
+
textAnchor: n(424),
|
|
198
198
|
children: a
|
|
199
199
|
})
|
|
200
|
-
] }, e
|
|
201
|
-
|
|
202
|
-
className:
|
|
203
|
-
x: r
|
|
200
|
+
] }, e.key) : g("g", { children: [
|
|
201
|
+
h(n(486), {
|
|
202
|
+
className: "ds-funnel-chart__value",
|
|
203
|
+
x: r.mid,
|
|
204
204
|
y: 16,
|
|
205
|
-
dominantBaseline: n(
|
|
206
|
-
textAnchor: n(
|
|
205
|
+
dominantBaseline: n(437),
|
|
206
|
+
textAnchor: n(437),
|
|
207
207
|
children: i
|
|
208
208
|
}),
|
|
209
|
-
|
|
210
|
-
className:
|
|
211
|
-
x: r
|
|
209
|
+
h(n(486), {
|
|
210
|
+
className: n(441),
|
|
211
|
+
x: r.mid,
|
|
212
212
|
y: 35,
|
|
213
|
-
dominantBaseline: n(
|
|
214
|
-
textAnchor:
|
|
213
|
+
dominantBaseline: n(437),
|
|
214
|
+
textAnchor: "middle",
|
|
215
215
|
children: a
|
|
216
216
|
}),
|
|
217
|
-
|
|
218
|
-
className:
|
|
219
|
-
x: r[n(
|
|
220
|
-
y:
|
|
221
|
-
textAnchor: n(
|
|
222
|
-
children: e
|
|
217
|
+
h(n(486), {
|
|
218
|
+
className: "ds-funnel-chart__label",
|
|
219
|
+
x: r[n(427)],
|
|
220
|
+
y: C - 6,
|
|
221
|
+
textAnchor: n(437),
|
|
222
|
+
children: e.label
|
|
223
223
|
})
|
|
224
|
-
] }, e[n(
|
|
224
|
+
] }, e[n(450)]);
|
|
225
225
|
}),
|
|
226
|
-
|
|
226
|
+
h(D(434), {
|
|
227
227
|
className: "ds-chart__hit",
|
|
228
228
|
x: 0,
|
|
229
229
|
y: 0,
|
|
230
|
-
width:
|
|
230
|
+
width: N,
|
|
231
231
|
height: B,
|
|
232
232
|
onPointerMove: $,
|
|
233
233
|
onPointerDown: $,
|
|
@@ -235,49 +235,49 @@ function b({ data: a, orientation: s = e(192), calculateFrom: b = e(246), color:
|
|
|
235
235
|
})
|
|
236
236
|
]
|
|
237
237
|
}),
|
|
238
|
-
|
|
239
|
-
ref:
|
|
240
|
-
className:
|
|
241
|
-
"data-state":
|
|
242
|
-
"data-settled":
|
|
243
|
-
style: { transform:
|
|
238
|
+
h("div", {
|
|
239
|
+
ref: me,
|
|
240
|
+
className: D(435),
|
|
241
|
+
"data-state": D(j ? 470 : 454),
|
|
242
|
+
"data-settled": pe || void 0,
|
|
243
|
+
style: { transform: D(490) + X + D(428) + Z + "px)" },
|
|
244
244
|
"aria-hidden": !0,
|
|
245
|
-
children:
|
|
246
|
-
title: K?.[
|
|
247
|
-
value: K ?
|
|
245
|
+
children: h(o, {
|
|
246
|
+
title: K?.[D(480)],
|
|
247
|
+
value: K ? T(K[D(463)], K) : void 0,
|
|
248
248
|
rows: Ce
|
|
249
249
|
})
|
|
250
250
|
}),
|
|
251
|
-
|
|
252
|
-
id:
|
|
253
|
-
className:
|
|
254
|
-
"aria-live":
|
|
251
|
+
h("span", {
|
|
252
|
+
id: O + "-live",
|
|
253
|
+
className: D(440),
|
|
254
|
+
"aria-live": "polite",
|
|
255
255
|
children: we
|
|
256
256
|
})
|
|
257
257
|
]
|
|
258
|
-
}),
|
|
258
|
+
}), oe && S && g(r, {
|
|
259
259
|
gap: 4,
|
|
260
|
-
children: [
|
|
260
|
+
children: [g(r, {
|
|
261
261
|
gap: 2,
|
|
262
262
|
wrap: !1,
|
|
263
|
-
children: [
|
|
264
|
-
variant:
|
|
265
|
-
tone:
|
|
263
|
+
children: [h(n, { color: I(0) }), h(t, {
|
|
264
|
+
variant: D(488),
|
|
265
|
+
tone: D(469),
|
|
266
266
|
children: "전환"
|
|
267
267
|
})]
|
|
268
|
-
}),
|
|
268
|
+
}), g(r, {
|
|
269
269
|
gap: 2,
|
|
270
270
|
wrap: !1,
|
|
271
|
-
children: [
|
|
272
|
-
color:
|
|
273
|
-
variant:
|
|
274
|
-
}),
|
|
275
|
-
variant:
|
|
276
|
-
tone:
|
|
271
|
+
children: [h(n, {
|
|
272
|
+
color: I(0),
|
|
273
|
+
variant: D(439)
|
|
274
|
+
}), h(t, {
|
|
275
|
+
variant: D(488),
|
|
276
|
+
tone: D(469),
|
|
277
277
|
children: "이탈"
|
|
278
278
|
})]
|
|
279
279
|
})]
|
|
280
280
|
})]
|
|
281
281
|
});
|
|
282
282
|
}
|
|
283
|
-
export {
|
|
283
|
+
export { x as FunnelChart };
|
|
@@ -1,69 +1,71 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
const e = r;
|
|
3
|
-
function t() {
|
|
4
|
-
let e = [
|
|
5
|
-
"mZeWmduZDxHHvMDf",
|
|
6
|
-
"odiYmdK2t2HSvufo",
|
|
7
|
-
"nwHbD0Pwsa",
|
|
8
|
-
"nteWntG4Dxz1uLr0",
|
|
9
|
-
"mtzOyMHXEgO",
|
|
10
|
-
"nMHJsuzYza",
|
|
11
|
-
"zNjVBq",
|
|
12
|
-
"nta4odeZognOv0XIDa",
|
|
13
|
-
"mty5oty0oxvyBfPPEq",
|
|
14
|
-
"mJqWmZa5AeDbuMDO",
|
|
15
|
-
"Bwf4",
|
|
16
|
-
"owvTqLLWrq",
|
|
17
|
-
"zMLYC3q",
|
|
18
|
-
"mtuXnZi3mgjVvu9Wwa",
|
|
19
|
-
"DMfSDwu",
|
|
20
|
-
"BwfW"
|
|
21
|
-
];
|
|
22
|
-
return t = function() {
|
|
23
|
-
return e;
|
|
24
|
-
}, t();
|
|
25
|
-
}
|
|
26
3
|
(function(e, t) {
|
|
27
4
|
let n = r, i = e();
|
|
28
5
|
for (;;) try {
|
|
29
|
-
if (parseInt(n(
|
|
6
|
+
if (-parseInt(n(389)) / 1 + -parseInt(n(401)) / 2 * (parseInt(n(391)) / 3) + -parseInt(n(406)) / 4 * (parseInt(n(400)) / 5) + -parseInt(n(402)) / 6 * (-parseInt(n(393)) / 7) + -parseInt(n(392)) / 8 + parseInt(n(398)) / 9 + parseInt(n(397)) / 10 == t) break;
|
|
30
7
|
i.push(i.shift());
|
|
31
8
|
} catch {
|
|
32
9
|
i.push(i.shift());
|
|
33
10
|
}
|
|
34
|
-
})(
|
|
35
|
-
function
|
|
36
|
-
let n = r, i = e[0]?.
|
|
37
|
-
return e[n(
|
|
38
|
-
let o = n, s = Math[o(
|
|
11
|
+
})(n, 598284);
|
|
12
|
+
function t(e, t) {
|
|
13
|
+
let n = r, i = e[0]?.[n(405)] ?? 0;
|
|
14
|
+
return e[n(395)]((r, a) => {
|
|
15
|
+
let o = n, s = Math[o(403)](0, r[o(405)]), c = a ? Math.max(0, e[a - 1].value) : s, l = a === 0 ? 1 : i > 0 ? s / i : 0, u = a === 0 ? 1 : c > 0 ? s / c : 0, d = a ? Math[o(403)](0, c - s) : 0;
|
|
39
16
|
return {
|
|
40
17
|
...r,
|
|
41
18
|
value: s,
|
|
42
19
|
fromFirst: l,
|
|
43
20
|
fromPrevious: u,
|
|
44
|
-
conversion: t === o(
|
|
21
|
+
conversion: t === o(394) ? l : u,
|
|
45
22
|
drop: d,
|
|
46
23
|
dropRate: a && c > 0 ? d / c : 0
|
|
47
24
|
};
|
|
48
25
|
});
|
|
49
26
|
}
|
|
50
|
-
function
|
|
51
|
-
e
|
|
52
|
-
|
|
53
|
-
|
|
27
|
+
function n() {
|
|
28
|
+
let e = [
|
|
29
|
+
"DMfSDwu",
|
|
30
|
+
"mJHsq2PXEgC",
|
|
31
|
+
"ota2oti0zfjcserY",
|
|
32
|
+
"y29KzvbVAw50qxq",
|
|
33
|
+
"m2Poz294qG",
|
|
34
|
+
"nJi2mZmXmM5drxjxuW",
|
|
35
|
+
"mZKYntG3m1PAvxnTra",
|
|
36
|
+
"zMLYC3q",
|
|
37
|
+
"BwfW",
|
|
38
|
+
"zNjVBq",
|
|
39
|
+
"mtGXmJC3nZbHvhbyvvm",
|
|
40
|
+
"oti0mJG1nNbqAwvMAq",
|
|
41
|
+
"BwLU",
|
|
42
|
+
"mtGYmti1Dhrgq0rx",
|
|
43
|
+
"mtCXntaWnKriz0DXzW",
|
|
44
|
+
"nLHbuuvsCG",
|
|
45
|
+
"Bwf4",
|
|
46
|
+
"CMvKDwnL"
|
|
47
|
+
];
|
|
48
|
+
return n = function() {
|
|
49
|
+
return e;
|
|
50
|
+
}, n();
|
|
51
|
+
}
|
|
52
|
+
function r(e, t) {
|
|
53
|
+
e -= 389;
|
|
54
|
+
let i = n(), a = i[e];
|
|
55
|
+
r.meFgBJ === void 0 && (r.qCRGeK = function(e) {
|
|
54
56
|
let t = "", n = "";
|
|
55
57
|
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);
|
|
56
58
|
for (let e = 0, r = t.length; e < r; e++) n += "%" + ("00" + t.charCodeAt(e).toString(16)).slice(-2);
|
|
57
59
|
return decodeURIComponent(n);
|
|
58
|
-
}, r.
|
|
60
|
+
}, r.kCvhev = {}, r.meFgBJ = !0);
|
|
59
61
|
let o = i[0];
|
|
60
|
-
r.
|
|
61
|
-
let s = r.
|
|
62
|
-
return s === void 0 ? (a = r.
|
|
62
|
+
r.MRrUTB !== o && (r.kCvhev = {}, r.MRrUTB = o);
|
|
63
|
+
let s = r.kCvhev[e];
|
|
64
|
+
return s === void 0 ? (a = r.qCRGeK(a), r.kCvhev[e] = a) : a = s, a;
|
|
63
65
|
}
|
|
64
66
|
function i(e, t, n, i, a) {
|
|
65
|
-
let o = Math[
|
|
66
|
-
return "M" + e + "," + t + "H" + (e + n -
|
|
67
|
+
let o = r, s = Math[o(403)](0, Math[o(399)](a, i / 2, n));
|
|
68
|
+
return "M" + e + "," + t + "H" + (e + n - s) + "Q" + (e + n) + "," + t + " " + (e + n) + "," + (t + s) + "V" + (t + i - s) + "Q" + (e + n) + "," + (t + i) + " " + (e + n - s) + "," + (t + i) + "H" + e + "Z";
|
|
67
69
|
}
|
|
68
|
-
var a = (t) => Array[e(
|
|
69
|
-
export { a as estimateTextWidth,
|
|
70
|
+
var a = (t) => Array[e(396)](t)[e(404)]((t, n) => t + ((n[e(390)](0) ?? 0) >= 11904 ? 13 : 7.5), 0);
|
|
71
|
+
export { a as estimateTextWidth, t as funnelStats, i as hBarPath };
|