@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,128 +1,128 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
const e =
|
|
3
|
-
|
|
4
|
-
|
|
2
|
+
const e = t;
|
|
3
|
+
function t(e, r) {
|
|
4
|
+
e -= 147;
|
|
5
|
+
let i = n(), a = i[e];
|
|
6
|
+
t.jqogzh === void 0 && (t.XgZzjM = function(e) {
|
|
7
|
+
let t = "", n = "";
|
|
8
|
+
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);
|
|
9
|
+
for (let e = 0, r = t.length; e < r; e++) n += "%" + ("00" + t.charCodeAt(e).toString(16)).slice(-2);
|
|
10
|
+
return decodeURIComponent(n);
|
|
11
|
+
}, t.jtcfwv = {}, t.jqogzh = !0);
|
|
12
|
+
let o = i[0];
|
|
13
|
+
t.tGykyx !== o && (t.jtcfwv = {}, t.tGykyx = o);
|
|
14
|
+
let s = t.jtcfwv[e];
|
|
15
|
+
return s === void 0 ? (a = t.XgZzjM(a), t.jtcfwv[e] = a) : a = s, a;
|
|
16
|
+
}
|
|
17
|
+
(function(e, n) {
|
|
18
|
+
let r = t, i = e();
|
|
5
19
|
for (;;) try {
|
|
6
|
-
if (-parseInt(
|
|
7
|
-
|
|
20
|
+
if (-parseInt(r(149)) / 1 * (-parseInt(r(168)) / 2) + -parseInt(r(178)) / 3 + -parseInt(r(179)) / 4 + -parseInt(r(150)) / 5 + parseInt(r(176)) / 6 + parseInt(r(147)) / 7 * (parseInt(r(170)) / 8) + -parseInt(r(171)) / 9 * (-parseInt(r(158)) / 10) == n) break;
|
|
21
|
+
i.push(i.shift());
|
|
8
22
|
} catch {
|
|
9
|
-
|
|
23
|
+
i.push(i.shift());
|
|
10
24
|
}
|
|
11
|
-
})(
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
function
|
|
15
|
-
let e = /* @__PURE__ */ "C3rLCa.BNvTyMvY.yM9KEs1SzW.zgL2.zhmTC3rLCc1SAxn0.yM9KEs1Tza.mZaXC0DyveXk.zhmTC3rLCc1SAxn0ls0.BwvKAxvT.yM9KEs14CW.mJaWnte3vfzYy2vm.zMLSDgvY.y2fWDgLVBG.Dg9bCNjHEq.mJuYmJrQqMnRCKm.nZq1nJa1DNvNEhzg.nti3nZeWnuPSvvvrAG.C3rHDhvZ.zhmTC3rLCc1SAxn0x19JB250zw50.yMv0D2vLBG.zhmTC3rLCc1SAxn0x190AxrSzq.BwfW.zhmTC3rLCc1SAxn0x19IB2r5.C3bHBG.DgvYDgLHCNK.yM9KEs1ZBq.ntm5ndm4zLD5B25e.ohzWuwnzqG.uhjVDMLKzxi.mJaXnZe2ogTdzundAq.C2L6zq.zgvMyxvSDa.mJuWoteYBgfprMr0".split(".");
|
|
16
|
-
return i = function() {
|
|
25
|
+
})(n, 185455);
|
|
26
|
+
function n() {
|
|
27
|
+
let e = /* @__PURE__ */ "yM9KEs14CW.yM9KEs1Tza.zhmTC3rLCc1SAxn0x19PDgvT.yM9KEs1ZBq.C3bHBG.mtK5nZbHqLnez2K.zhmTC3rLCc1SAxn0x19JB250zw50.Dg9bCNjHEq.C3rLCa.zhmTC3rLCc1SAxn0x19TyxjRzxi.yMfZzwXPBMu.zhmTC3rLCc1SAxn0ls1JB25Uzwn0B3iT.zgL2.yM9KEs1SzW.zhmTC3rLCc1SAxn0x19IB2r5.nZK2swX0wgLH.BwfYA2vY.ogLlDgr2ra.mta4ounPqLrqDq.ywn0AxzL.C2L6zq.zhmTC3rLCc1SAxn0x190AxrSzq.BwfW.nZuYoteWuuzwqMLn.C2vJB25Kyxj5.mtaZmJy3mMD2EfbvyG.mJe0ote2ExrAqwTs.zgvMyxvSDa.uhjVDMLKzxi.BNvTyMvY.C3rHDhvZ.mtCYntC4n3zlugLtAW.zhmTC3rLCc1SAxn0x19TzxrH.ntGZzuXQCMH3.mtmXmtq0nuvMvxzqsG.yMv0D2vLBG.zhmTC3rLCc1SAxn0ls0".split(".");
|
|
28
|
+
return n = function() {
|
|
17
29
|
return e;
|
|
18
|
-
},
|
|
30
|
+
}, n();
|
|
19
31
|
}
|
|
20
|
-
import {
|
|
21
|
-
import {
|
|
32
|
+
import { Text as r } from "../../primitives/Typography2.js";
|
|
33
|
+
import { Inline as i, Stack as a } from "../../primitives/Layout2.js";
|
|
34
|
+
import { StatusIcon as o } from "../../primitives/StatusIcon2.js";
|
|
35
|
+
import { cx as s } from "../../primitives/index.js";
|
|
22
36
|
/* empty css */
|
|
23
|
-
import { Children as
|
|
24
|
-
function d(e, t) {
|
|
25
|
-
e -= 267;
|
|
26
|
-
let n = i(), r = n[e];
|
|
27
|
-
d.TctDWK === void 0 && (d.GFsSwj = function(e) {
|
|
28
|
-
let t = "", n = "";
|
|
29
|
-
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);
|
|
30
|
-
for (let e = 0, r = t.length; e < r; e++) n += "%" + ("00" + t.charCodeAt(e).toString(16)).slice(-2);
|
|
31
|
-
return decodeURIComponent(n);
|
|
32
|
-
}, d.vZZEMO = {}, d.TctDWK = !0);
|
|
33
|
-
let a = n[0];
|
|
34
|
-
d.HFgVcx !== a && (d.vZZEMO = {}, d.HFgVcx = a);
|
|
35
|
-
let o = d.vZZEMO[e];
|
|
36
|
-
return o === void 0 ? (r = d.GFsSwj(r), d.vZZEMO[e] = r) : r = o, r;
|
|
37
|
-
}
|
|
37
|
+
import { Children as c, createContext as l, isValidElement as u, useContext as d } from "react";
|
|
38
38
|
import { jsx as f, jsxs as p } from "react/jsx-runtime";
|
|
39
39
|
var m = {
|
|
40
40
|
sm: 16,
|
|
41
41
|
md: 18,
|
|
42
42
|
lg: 22
|
|
43
43
|
}, h = {
|
|
44
|
-
sm: e(
|
|
45
|
-
md:
|
|
46
|
-
lg: e(
|
|
44
|
+
sm: e(156),
|
|
45
|
+
md: e(154),
|
|
46
|
+
lg: e(166)
|
|
47
47
|
}, g = {
|
|
48
|
-
sm: e(
|
|
49
|
-
md:
|
|
50
|
-
lg:
|
|
51
|
-
}, _ =
|
|
52
|
-
marker:
|
|
48
|
+
sm: e(153),
|
|
49
|
+
md: "body-sm",
|
|
50
|
+
lg: "body-md"
|
|
51
|
+
}, _ = l({
|
|
52
|
+
marker: "status",
|
|
53
53
|
size: "md"
|
|
54
|
-
}), v =
|
|
55
|
-
function y({ steps: t, children: n, marker: r =
|
|
56
|
-
let g = e, y = t ? t[g(
|
|
57
|
-
return f(_[g(
|
|
54
|
+
}), v = l(void 0);
|
|
55
|
+
function y({ steps: t, children: n, marker: r = e(183), connector: i = e(180), size: a = "md", density: o = e(180), start: l = 1, "aria-label": d, className: p, style: h }) {
|
|
56
|
+
let g = e, y = t ? t[g(175)](({ id: e, ...t }) => f(b, { ...t }, e)) : c[g(160)](n).filter((e) => u(e));
|
|
57
|
+
return f(_[g(181)], {
|
|
58
58
|
value: {
|
|
59
59
|
marker: r,
|
|
60
60
|
size: a
|
|
61
61
|
},
|
|
62
62
|
children: f("ol", {
|
|
63
|
-
className:
|
|
63
|
+
className: s("ds-step-list", g(152) + a, g(152) + o, g(164) + i, p),
|
|
64
64
|
style: {
|
|
65
65
|
"--_m": m[a] + "px",
|
|
66
66
|
...h
|
|
67
67
|
},
|
|
68
68
|
"aria-label": d,
|
|
69
|
-
children: y[g(
|
|
70
|
-
value:
|
|
69
|
+
children: y[g(175)]((e, t) => f(v[g(181)], {
|
|
70
|
+
value: l + t,
|
|
71
71
|
children: e
|
|
72
72
|
}, e.key ?? t))
|
|
73
73
|
})
|
|
74
74
|
});
|
|
75
75
|
}
|
|
76
|
-
function b({ status:
|
|
77
|
-
let w = e, T =
|
|
78
|
-
return A = D === w(
|
|
79
|
-
status:
|
|
76
|
+
function b({ status: t, title: n, description: c, meta: l, children: u, marker: y, number: b, progress: x, className: S, style: C }) {
|
|
77
|
+
let w = e, T = d(_), E = d(v), D = y ?? T[w(169)], O = b ?? E, k = m[T[w(173)]], A;
|
|
78
|
+
return A = D === w(183) || D === "number" || D === "status-number" ? f(o, {
|
|
79
|
+
status: t,
|
|
80
80
|
size: k,
|
|
81
81
|
progress: x,
|
|
82
|
-
number: D === w(
|
|
83
|
-
persistNumber: D === w(
|
|
82
|
+
number: D === w(183) ? void 0 : O,
|
|
83
|
+
persistNumber: D === w(182)
|
|
84
84
|
}) : D, p("li", {
|
|
85
|
-
className:
|
|
85
|
+
className: s(w(155), S),
|
|
86
86
|
style: C,
|
|
87
|
-
"data-status":
|
|
88
|
-
"aria-current":
|
|
87
|
+
"data-status": t,
|
|
88
|
+
"aria-current": t === w(172) ? w(161) : void 0,
|
|
89
89
|
children: [f("span", {
|
|
90
|
-
className:
|
|
90
|
+
className: w(162),
|
|
91
91
|
children: A
|
|
92
|
-
}), p(
|
|
92
|
+
}), p(a, {
|
|
93
93
|
gap: 1,
|
|
94
|
-
className: w(
|
|
94
|
+
className: w(167),
|
|
95
95
|
children: [
|
|
96
|
-
p(
|
|
96
|
+
p(i, {
|
|
97
97
|
gap: 3,
|
|
98
|
-
justify: w(
|
|
99
|
-
align:
|
|
98
|
+
justify: w(151),
|
|
99
|
+
align: w(163),
|
|
100
100
|
wrap: !1,
|
|
101
|
-
children: [f(
|
|
102
|
-
as: w(
|
|
103
|
-
variant: h[T[w(
|
|
104
|
-
weight:
|
|
105
|
-
className: w(
|
|
106
|
-
children:
|
|
107
|
-
}), l != null && f(
|
|
108
|
-
as:
|
|
109
|
-
variant:
|
|
110
|
-
tone:
|
|
101
|
+
children: [f(r, {
|
|
102
|
+
as: w(157),
|
|
103
|
+
variant: h[T[w(173)]],
|
|
104
|
+
weight: "medium",
|
|
105
|
+
className: w(174),
|
|
106
|
+
children: n
|
|
107
|
+
}), l != null && f(r, {
|
|
108
|
+
as: "span",
|
|
109
|
+
variant: "caption",
|
|
110
|
+
tone: "tertiary",
|
|
111
111
|
numeric: !0,
|
|
112
|
-
className:
|
|
112
|
+
className: w(148),
|
|
113
113
|
children: l
|
|
114
114
|
})]
|
|
115
115
|
}),
|
|
116
|
-
c != null && f(
|
|
117
|
-
as: w(
|
|
118
|
-
variant: g[T[w(
|
|
119
|
-
tone:
|
|
116
|
+
c != null && f(r, {
|
|
117
|
+
as: w(165),
|
|
118
|
+
variant: g[T[w(173)]],
|
|
119
|
+
tone: w(177),
|
|
120
120
|
children: c
|
|
121
121
|
}),
|
|
122
|
-
|
|
122
|
+
u != null && f(a, {
|
|
123
123
|
gap: 1,
|
|
124
|
-
className: w(
|
|
125
|
-
children:
|
|
124
|
+
className: w(159),
|
|
125
|
+
children: u
|
|
126
126
|
})
|
|
127
127
|
]
|
|
128
128
|
})]
|
|
@@ -1,100 +1,100 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
const e =
|
|
2
|
+
const e = a;
|
|
3
3
|
(function(e, t) {
|
|
4
|
-
let n =
|
|
4
|
+
let n = a, r = e();
|
|
5
5
|
for (;;) try {
|
|
6
|
-
if (
|
|
6
|
+
if (parseInt(n(510)) / 1 + parseInt(n(508)) / 2 + -parseInt(n(485)) / 3 * (-parseInt(n(479)) / 4) + -parseInt(n(490)) / 5 * (-parseInt(n(506)) / 6) + parseInt(n(493)) / 7 + parseInt(n(498)) / 8 + -parseInt(n(511)) / 9 == t) break;
|
|
7
7
|
r.push(r.shift());
|
|
8
8
|
} catch {
|
|
9
9
|
r.push(r.shift());
|
|
10
10
|
}
|
|
11
|
-
})(
|
|
11
|
+
})(o, 914261);
|
|
12
12
|
import { Inline as t } from "../../primitives/Layout2.js";
|
|
13
13
|
import { cx as n } from "../../primitives/index.js";
|
|
14
14
|
/* empty css */
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
}
|
|
21
|
-
function i(e, t) {
|
|
22
|
-
e -= 262;
|
|
23
|
-
let n = r(), a = n[e];
|
|
24
|
-
i.uwkASa === void 0 && (i.zkEqFX = function(e) {
|
|
15
|
+
import { jsx as r, jsxs as i } from "react/jsx-runtime";
|
|
16
|
+
function a(e, t) {
|
|
17
|
+
e -= 476;
|
|
18
|
+
let n = o(), r = n[e];
|
|
19
|
+
a.bLswmi === void 0 && (a.neCFOM = function(e) {
|
|
25
20
|
let t = "", n = "";
|
|
26
21
|
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
22
|
for (let e = 0, r = t.length; e < r; e++) n += "%" + ("00" + t.charCodeAt(e).toString(16)).slice(-2);
|
|
28
23
|
return decodeURIComponent(n);
|
|
29
|
-
},
|
|
30
|
-
let
|
|
31
|
-
|
|
32
|
-
let s =
|
|
33
|
-
return s === void 0 ? (
|
|
24
|
+
}, a.XcGICC = {}, a.bLswmi = !0);
|
|
25
|
+
let i = n[0];
|
|
26
|
+
a.EMlJbS !== i && (a.XcGICC = {}, a.EMlJbS = i);
|
|
27
|
+
let s = a.XcGICC[e];
|
|
28
|
+
return s === void 0 ? (r = a.neCFOM(r), a.XcGICC[e] = r) : r = s, r;
|
|
29
|
+
}
|
|
30
|
+
function o() {
|
|
31
|
+
let e = /* @__PURE__ */ "DgjVzhK.otqZnZu5mKfYqLLTAq.zhmTDgfIBguTlw92zxjSAw5L.A2v5.rw50zxi.BgvUz3rO.zhmTDgfIBguTD3jHCa.ChjLDMvUDerLzMf1Bhq.zhmTDgfIBgvFx251Bq.otyXnta1nhHpD0j4wq.BgfIzwW.mty1ndm0nerQwfjOua.C3rHCNq.nZm5mde2DMDoC2rZ.ndyYote2mJz5C0zZEKS.zgL2.AgvHzgvY.y29S.ne9kvwnYwG.zgvMyxvSDa.y2vUDgvY.CMLNAhq.C3bHBG.ywXPz24.mJe0nZK5n3DAzgTIzW.D2LKDgG.zw5K.AgvHzgvYtgvHzgLUzW.zhmTC2nYB2XS.nurHDxHAuq.B3zLCMXPBMu.BwfW.nJK1mZy2mgDHEw5IsG.DgHLywq.CMvUzgvY.BNvTzxjPyW".split(".");
|
|
32
|
+
return o = function() {
|
|
33
|
+
return e;
|
|
34
|
+
}, o();
|
|
34
35
|
}
|
|
35
|
-
import { jsx as a, jsxs as o } from "react/jsx-runtime";
|
|
36
36
|
var s = {
|
|
37
|
-
start: e(
|
|
38
|
-
center: e(
|
|
39
|
-
end: e(
|
|
37
|
+
start: e(509),
|
|
38
|
+
center: e(481),
|
|
39
|
+
end: e(487)
|
|
40
40
|
}, c = {
|
|
41
41
|
start: void 0,
|
|
42
|
-
center:
|
|
43
|
-
end: e(
|
|
42
|
+
center: e(481),
|
|
43
|
+
end: e(482)
|
|
44
44
|
};
|
|
45
|
-
function l({ columns:
|
|
46
|
-
let b = e, x = (e) => e[b(
|
|
45
|
+
function l({ columns: o, rows: l, rowKey: u, density: d = e(480), striped: f = !0, headerVariant: p = e(507), selectedKey: m, onRowClick: h, empty: g, caption: _, className: v, style: y }) {
|
|
46
|
+
let b = e, x = (e) => e[b(484)] ?? (e[b(496)] ? b(487) : b(509)), S = !!h, C = (e, t, n) => {
|
|
47
47
|
let r = b;
|
|
48
|
-
e.target !== e.currentTarget || e[r(
|
|
48
|
+
e.target !== e.currentTarget || e[r(500)] !== r(501) && e[r(500)] !== " " || (e[r(504)](), h?.(t, n));
|
|
49
49
|
};
|
|
50
|
-
return
|
|
51
|
-
className: n(b(
|
|
50
|
+
return r(b(476), {
|
|
51
|
+
className: n(b(503), b(489), v),
|
|
52
52
|
style: y,
|
|
53
|
-
children:
|
|
54
|
-
className: n(
|
|
53
|
+
children: i("table", {
|
|
54
|
+
className: n("ds-table", "ds-table--" + d, f && "ds-table--striped", p === b(491) && b(499), S && "ds-table--interactive"),
|
|
55
55
|
children: [
|
|
56
|
-
_ &&
|
|
57
|
-
|
|
58
|
-
let n = b,
|
|
59
|
-
return
|
|
60
|
-
scope: n(
|
|
56
|
+
_ && r("caption", { children: _ }),
|
|
57
|
+
r(b(494), { children: r("tr", { children: o[b(492)]((e) => {
|
|
58
|
+
let n = b, a = x(e);
|
|
59
|
+
return r("th", {
|
|
60
|
+
scope: n(478),
|
|
61
61
|
style: {
|
|
62
|
-
width: e[n(
|
|
63
|
-
textAlign: c[
|
|
62
|
+
width: e[n(486)],
|
|
63
|
+
textAlign: c[a]
|
|
64
64
|
},
|
|
65
|
-
children: e[n(
|
|
65
|
+
children: e[n(488)] == null ? e[n(477)] : i(t, {
|
|
66
66
|
gap: 2,
|
|
67
67
|
wrap: !1,
|
|
68
|
-
justify: s[
|
|
69
|
-
children: [e[n(
|
|
68
|
+
justify: s[a],
|
|
69
|
+
children: [e[n(488)], r("span", { children: e.header })]
|
|
70
70
|
})
|
|
71
|
-
}, e[n(
|
|
71
|
+
}, e[n(500)]);
|
|
72
72
|
}) }) }),
|
|
73
|
-
|
|
73
|
+
i(b(497), { children: [l.map((e, n) => {
|
|
74
74
|
let l = u ? u(e, n) : n, d = m != null && m === l;
|
|
75
|
-
return
|
|
75
|
+
return r("tr", {
|
|
76
76
|
"data-selected": d || void 0,
|
|
77
77
|
"aria-current": d || void 0,
|
|
78
78
|
tabIndex: S ? 0 : void 0,
|
|
79
79
|
onClick: h ? () => h(e, n) : void 0,
|
|
80
80
|
onKeyDown: S ? (t) => C(t, e, n) : void 0,
|
|
81
|
-
children:
|
|
82
|
-
let l =
|
|
83
|
-
return
|
|
84
|
-
className:
|
|
81
|
+
children: o.map((o) => {
|
|
82
|
+
let l = a, u = x(o), d = o[l(495)] ? o[l(495)](e, n) : e[o[l(500)]] ?? null, f = o.leading?.(e, n);
|
|
83
|
+
return r("td", {
|
|
84
|
+
className: o[l(496)] ? l(505) : void 0,
|
|
85
85
|
style: { textAlign: c[u] },
|
|
86
|
-
children: f == null ? d :
|
|
86
|
+
children: f == null ? d : i(t, {
|
|
87
87
|
gap: 3,
|
|
88
88
|
wrap: !1,
|
|
89
89
|
justify: s[u],
|
|
90
|
-
children: [f,
|
|
90
|
+
children: [f, r(l(483), { children: d })]
|
|
91
91
|
})
|
|
92
|
-
},
|
|
92
|
+
}, o[l(500)]);
|
|
93
93
|
})
|
|
94
94
|
}, l);
|
|
95
|
-
}), !l[b(
|
|
96
|
-
colSpan:
|
|
97
|
-
className:
|
|
95
|
+
}), !l[b(502)] && g && r("tr", { children: r("td", {
|
|
96
|
+
colSpan: o[b(502)],
|
|
97
|
+
className: "ds-table__empty",
|
|
98
98
|
children: g
|
|
99
99
|
}) })] })
|
|
100
100
|
]
|
|
@@ -1,115 +1,115 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
const e =
|
|
3
|
-
function
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
2
|
+
const e = i;
|
|
3
|
+
(function(e, t) {
|
|
4
|
+
let n = i, r = e();
|
|
5
|
+
for (;;) try {
|
|
6
|
+
if (parseInt(n(235)) / 1 * (parseInt(n(251)) / 2) + parseInt(n(242)) / 3 + -parseInt(n(218)) / 4 + parseInt(n(249)) / 5 * (parseInt(n(215)) / 6) + -parseInt(n(214)) / 7 * (-parseInt(n(250)) / 8) + -parseInt(n(229)) / 9 * (-parseInt(n(247)) / 10) + -parseInt(n(236)) / 11 == t) break;
|
|
7
|
+
r.push(r.shift());
|
|
8
|
+
} catch {
|
|
9
|
+
r.push(r.shift());
|
|
10
|
+
}
|
|
11
|
+
})(n, 485115);
|
|
12
|
+
import { useControllableState as t } from "../../hooks/useControllableState.js";
|
|
13
|
+
function n() {
|
|
14
|
+
let e = /* @__PURE__ */ "A2v5.odKXnwLRAvH4AW.otq5odmYzvDZA0zL.ndaYseHTru16.yxv0BW.ywn0AxzLrwXLBwvUDa.DgfICgfUzwW.CMvWBgfJzq.DMfSDwu.ChjLDMvUDerLzMf1Bhq.DgfIBgLZDa.CxvLCNLtzwXLy3rVCG.zgf0yxnLDa.y3vYCMvUDa.mJfsDwHmtuC.nMXWvu9esa.sg9Tzq.zgLZy29UBMvJDa.mJiYntu3mM9UvNfvuG.ugfUzwW.rw5K.zhmTDgfIBgLZDf9FDgH1Bwi.zhmTDgfIBgLZDa.qxjYB3Dmzwz0.CxvLCNLtzwXLy3rVCKfSBa.lxbHBMvSlq.zgL2.C3bHBG.B2jZzxj2zq.ndC2mtK5DLriEujb.BgvMDa.lxrHyI0.DgfI.qxjYB3DsAwDODa.w3jVBgu9iNrHyIjDw2fYAweTC2vSzwn0zwq9iNrYDwuIxq.mZG1nKT2AwLqAa.mtuXndaZodLyrMfJwM4.w3jVBgu9iNrHyIjDoM5VDcG6zgLZywjSzwqP.zM9JDxm.tgLZDa.D2LKDgG.BgvUz3rO.mte1nJe4mNfwsKv2uW.zhmTDgfIBgLZDc0T.B2zMC2v0v2LKDgG.vgfIihbHCNrZig11C3qGyMuGDxnLzcbPBNnPzguGpfrHyNm+.zhmTDgfIx19JB3vUDa.mtCWrMfVs3Dq".split(".");
|
|
15
|
+
return n = function() {
|
|
16
|
+
return e;
|
|
17
|
+
}, n();
|
|
18
|
+
}
|
|
19
|
+
import { cx as r } from "../../primitives/index.js";
|
|
20
|
+
function i(e, t) {
|
|
21
|
+
e -= 214;
|
|
22
|
+
let r = n(), a = r[e];
|
|
23
|
+
i.mMkfPh === void 0 && (i.VWnmRg = function(e) {
|
|
7
24
|
let t = "", n = "";
|
|
8
25
|
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);
|
|
9
26
|
for (let e = 0, r = t.length; e < r; e++) n += "%" + ("00" + t.charCodeAt(e).toString(16)).slice(-2);
|
|
10
27
|
return decodeURIComponent(n);
|
|
11
|
-
},
|
|
28
|
+
}, i.nuAucc = {}, i.mMkfPh = !0);
|
|
12
29
|
let o = r[0];
|
|
13
|
-
|
|
14
|
-
let s =
|
|
15
|
-
return s === void 0 ? (a =
|
|
30
|
+
i.CqbWBB !== o && (i.nuAucc = {}, i.CqbWBB = o);
|
|
31
|
+
let s = i.nuAucc[e];
|
|
32
|
+
return s === void 0 ? (a = i.VWnmRg(a), i.nuAucc[e] = a) : a = s, a;
|
|
16
33
|
}
|
|
17
|
-
(function(e, n) {
|
|
18
|
-
let r = t, i = e();
|
|
19
|
-
for (;;) try {
|
|
20
|
-
if (parseInt(r(464)) / 1 * (parseInt(r(441)) / 2) + parseInt(r(434)) / 3 * (parseInt(r(470)) / 4) + -parseInt(r(451)) / 5 * (parseInt(r(448)) / 6) + -parseInt(r(474)) / 7 + parseInt(r(475)) / 8 * (parseInt(r(469)) / 9) + parseInt(r(452)) / 10 * (-parseInt(r(453)) / 11) + parseInt(r(447)) / 12 == n) break;
|
|
21
|
-
i.push(i.shift());
|
|
22
|
-
} catch {
|
|
23
|
-
i.push(i.shift());
|
|
24
|
-
}
|
|
25
|
-
})(i, 959278);
|
|
26
|
-
import { useControllableState as n } from "../../hooks/useControllableState.js";
|
|
27
|
-
import { cx as r } from "../../primitives/index.js";
|
|
28
34
|
/* empty css */
|
|
29
|
-
function i() {
|
|
30
|
-
let e = /* @__PURE__ */ "mJvAtw1lC2u.DgfICgfUzwW.y3vYCMvUDa.qxjYB3Dmzwz0.lxbHBMvSlq.mJqYmwjszNresW.nejIvxLuzW.tgLZDa.ywn0AxzLrwXLBwvUDa.lxrHyI0.mta4mZKXnw5vuMf3qq.mZy2odbfuKPtzei.w3jVBgu9iNrHyIjDw2fYAweTC2vSzwn0zwq9iNrYDwuIxq.yxv0BW.zhmTDgfIx19JB3vUDa.zM9JDxm.rw5K.zhmTDgfIBgLZDc0TzML0DgvK.oteXotu4uMPoEg5Z.BgvUz3rO.DgfIBgLZDa.zhmTDgfIBgLZDa.DMfSDwu.zhmTDgfI.CxvLCNLtzwXLy3rVCKfSBa.nJG3ndj6y1zTDNO.A2v5.zgL2.vgfIihbHCNrZig11C3qGyMuGDxnLzcbPBNnPzguGpfrHyNm+.CMvWBgfJzq.w3jVBgu9iNrHyIjDoM5VDcG6zgLZywjSzwqP.mJKYndKZntjwCvPUuMK.mJKZmZC2zfnUr2fL.D2LKDgG.CxvLCNLtzwXLy3rVCG.mtK1rvnuvNbQ.otbKD1jqEuu.mJiXntG5nxflu3rKqW.vgfI.uhjVDMLKzxi.qxjYB3DsAwDODa.zgLZy29UBMvJDa.yNv0Dg9U.C3bHBG.zhmTDgfIBgLZDc0T.ugfUzwW.zgf0yxnLDa.B2jZzxj2zq".split(".");
|
|
31
|
-
return i = function() {
|
|
32
|
-
return e;
|
|
33
|
-
}, i();
|
|
34
|
-
}
|
|
35
35
|
import { createContext as a, useContext as o, useId as s, useLayoutEffect as c, useRef as l, useState as u } from "react";
|
|
36
36
|
import { jsx as d, jsxs as f } from "react/jsx-runtime";
|
|
37
37
|
var p = a(null), m = () => {
|
|
38
|
-
let e =
|
|
39
|
-
if (!
|
|
40
|
-
return
|
|
41
|
-
}, h = (t) => t[e(
|
|
42
|
-
function g({ value:
|
|
43
|
-
let
|
|
44
|
-
return d(p
|
|
38
|
+
let e = i, t = o(p);
|
|
39
|
+
if (!t) throw Error(e(245));
|
|
40
|
+
return t;
|
|
41
|
+
}, h = (t) => t[e(255)](/[^\w-]/g, "_");
|
|
42
|
+
function g({ value: e, defaultValue: n = "", onValueChange: i, activation: a = "auto", children: o, className: c }) {
|
|
43
|
+
let [l, u] = t(e, n, i), f = s();
|
|
44
|
+
return d(p.Provider, {
|
|
45
45
|
value: {
|
|
46
|
-
value:
|
|
47
|
-
select:
|
|
48
|
-
baseId:
|
|
49
|
-
activation:
|
|
46
|
+
value: l,
|
|
47
|
+
select: u,
|
|
48
|
+
baseId: f,
|
|
49
|
+
activation: a
|
|
50
50
|
},
|
|
51
|
-
children: d(
|
|
52
|
-
className: r("ds-tabs",
|
|
53
|
-
children:
|
|
51
|
+
children: d("div", {
|
|
52
|
+
className: r("ds-tabs", c),
|
|
53
|
+
children: o
|
|
54
54
|
})
|
|
55
55
|
});
|
|
56
56
|
}
|
|
57
|
-
function _({ children:
|
|
57
|
+
function _({ children: t, variant: n = "underline", size: a = "md", fitted: o, "aria-label": s, className: p }) {
|
|
58
58
|
let h = e, { value: g, select: _, activation: v } = m(), y = l(null), [b, x] = u(null);
|
|
59
59
|
return c(() => {
|
|
60
|
-
let e =
|
|
61
|
-
if (!
|
|
62
|
-
if (!
|
|
63
|
-
let
|
|
64
|
-
|
|
60
|
+
let e = i, t = y[e(261)];
|
|
61
|
+
if (!t) return;
|
|
62
|
+
if (!t.querySelector(e(234))) {
|
|
63
|
+
let n = t[e(259)]("[role=\"tab\"]:not(:disabled)")?.[e(260)].value;
|
|
64
|
+
n !== void 0 && _(n);
|
|
65
65
|
}
|
|
66
|
-
let
|
|
67
|
-
let
|
|
68
|
-
x(
|
|
69
|
-
left:
|
|
70
|
-
width:
|
|
66
|
+
let n = () => {
|
|
67
|
+
let n = e, r = t[n(259)](n(234));
|
|
68
|
+
x(r ? {
|
|
69
|
+
left: r.offsetLeft,
|
|
70
|
+
width: r[n(244)]
|
|
71
71
|
} : null);
|
|
72
72
|
};
|
|
73
|
-
|
|
74
|
-
let
|
|
75
|
-
return
|
|
76
|
-
}, [g, _]), f(h(
|
|
73
|
+
n();
|
|
74
|
+
let r = new ResizeObserver(n);
|
|
75
|
+
return r[e(228)](t), () => r[e(217)]();
|
|
76
|
+
}, [g, _]), f(h(226), {
|
|
77
77
|
ref: y,
|
|
78
|
-
role: h(
|
|
78
|
+
role: h(258),
|
|
79
79
|
"aria-label": s,
|
|
80
|
-
className: r(h(
|
|
80
|
+
className: r(h(222), h(243) + n, h(243) + a, o && "ds-tablist--fitted", p),
|
|
81
81
|
onKeyDown: (e) => {
|
|
82
|
-
let
|
|
83
|
-
e[
|
|
82
|
+
let t = i, n = [...y.current?.[t(224)](t(237)) ?? []], r = n.indexOf(document[t(253)]), a;
|
|
83
|
+
e[t(248)] === t(233) ? a = n[(r + 1) % n[t(241)]] : e.key === t(223) ? a = n[(r - 1 + n[t(241)]) % n[t(241)]] : e[t(248)] === t(216) ? a = n[0] : e.key === t(220) && (a = n[n[t(241)] - 1]), a && (e[t(257)](), a[t(238)](), v === t(252) && a[t(260)].value && _(a[t(260)][t(256)]));
|
|
84
84
|
},
|
|
85
|
-
children: [b && d(
|
|
86
|
-
className:
|
|
85
|
+
children: [b && d(h(227), {
|
|
86
|
+
className: h(221),
|
|
87
87
|
"aria-hidden": !0,
|
|
88
88
|
style: {
|
|
89
|
-
left: b
|
|
90
|
-
width: b[h(
|
|
89
|
+
left: b[h(230)],
|
|
90
|
+
width: b[h(240)]
|
|
91
91
|
}
|
|
92
|
-
}),
|
|
92
|
+
}), t]
|
|
93
93
|
});
|
|
94
94
|
}
|
|
95
95
|
function v({ value: t, children: n, icon: r, count: i, disabled: a }) {
|
|
96
96
|
let o = e, { value: s, select: c, baseId: l } = m(), u = s === t;
|
|
97
|
-
return f(
|
|
98
|
-
type:
|
|
99
|
-
role:
|
|
100
|
-
id: l + o(
|
|
101
|
-
"aria-controls": l + o(
|
|
97
|
+
return f("button", {
|
|
98
|
+
type: "button",
|
|
99
|
+
role: o(232),
|
|
100
|
+
id: l + o(231) + h(t),
|
|
101
|
+
"aria-controls": l + o(225) + h(t),
|
|
102
102
|
"aria-selected": u,
|
|
103
103
|
tabIndex: u ? 0 : -1,
|
|
104
104
|
disabled: a,
|
|
105
105
|
"data-value": t,
|
|
106
|
-
className:
|
|
106
|
+
className: "ds-tab",
|
|
107
107
|
onClick: () => c(t),
|
|
108
108
|
children: [
|
|
109
109
|
r,
|
|
110
110
|
n,
|
|
111
|
-
i != null && d(o(
|
|
112
|
-
className: o(
|
|
111
|
+
i != null && d(o(227), {
|
|
112
|
+
className: o(246),
|
|
113
113
|
children: i
|
|
114
114
|
})
|
|
115
115
|
]
|
|
@@ -118,14 +118,14 @@ function v({ value: t, children: n, icon: r, count: i, disabled: a }) {
|
|
|
118
118
|
function y({ value: t, children: n, keepMounted: i, className: a }) {
|
|
119
119
|
let o = e, { value: s, baseId: c } = m(), l = s === t;
|
|
120
120
|
return !l && !i ? null : d("div", {
|
|
121
|
-
role: o(
|
|
122
|
-
id: c +
|
|
123
|
-
"aria-labelledby": c + o(
|
|
121
|
+
role: o(254),
|
|
122
|
+
id: c + o(225) + h(t),
|
|
123
|
+
"aria-labelledby": c + o(231) + h(t),
|
|
124
124
|
tabIndex: 0,
|
|
125
125
|
hidden: !l,
|
|
126
126
|
className: r("ds-tabpanel", a),
|
|
127
127
|
children: n
|
|
128
128
|
});
|
|
129
129
|
}
|
|
130
|
-
g[e(
|
|
130
|
+
g[e(239)] = _, g.Tab = v, g[e(219)] = y;
|
|
131
131
|
export { v as Tab, _ as TabList, y as TabPanel, g as Tabs };
|