@iamfiro/design 0.3.0 → 0.3.1
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/lib/components/Accordion/Accordion2.js +86 -86
- package/lib/components/ActionBar/ActionBar2.js +44 -43
- package/lib/components/Alert/Alert2.js +79 -79
- package/lib/components/AppShell/AppShell2.js +58 -58
- package/lib/components/AreaChart/AreaChart.js +41 -41
- package/lib/components/BarChart/BarChart2.js +110 -110
- package/lib/components/BarList/BarList2.js +95 -95
- package/lib/components/Breadcrumb/Breadcrumb2.js +62 -59
- package/lib/components/Calendar/Calendar2.js +202 -202
- package/lib/components/Calendar/DatePicker2.js +122 -123
- package/lib/components/Calendar/date.js +57 -60
- package/lib/components/Card/Card2.js +62 -63
- package/lib/components/CardFrame/CardFrame2.js +43 -48
- package/lib/components/Chart/ChartParts.js +80 -80
- package/lib/components/Chart/chart2.js +57 -57
- package/lib/components/Chart/useChartInteraction.js +49 -49
- package/lib/components/ChatBubble/ChatBubble2.js +87 -87
- package/lib/components/ChatBubble/formatChatTime.js +34 -39
- package/lib/components/ChatComposer/ChatComposer2.js +97 -97
- package/lib/components/CodeBlock/CodeBlock2.js +60 -60
- package/lib/components/CodeBlock/highlight.js +75 -78
- package/lib/components/ColorPicker/ColorPicker2.js +383 -384
- package/lib/components/ColorPicker/color.js +74 -74
- package/lib/components/ColorPicker/presets.js +41 -46
- package/lib/components/Combobox/Combobox2.js +130 -131
- package/lib/components/CommandMenu/CommandMenu.js +137 -137
- package/lib/components/Comment/Comment2.js +64 -88
- package/lib/components/ContextMenu/ContextMenu2.js +87 -87
- package/lib/components/DataGrid/DataGrid2.js +911 -909
- package/lib/components/DataGrid/GridPopover.js +114 -114
- package/lib/components/DataGrid/anchor.js +25 -25
- package/lib/components/DataGrid/model.js +281 -282
- package/lib/components/DataGrid/panels.js +427 -429
- package/lib/components/DataGrid/typeMeta.js +50 -51
- package/lib/components/DataGrid/types.js +39 -40
- package/lib/components/DescriptionList/DescriptionList2.js +104 -104
- package/lib/components/Dialog/AlertDialog.js +85 -84
- package/lib/components/Dialog/Dialog2.js +72 -71
- package/lib/components/Dialog/modal.js +68 -68
- package/lib/components/Drawer/Drawer2.js +100 -100
- package/lib/components/DropdownMenu/DropdownMenu2.js +267 -268
- package/lib/components/DropdownMenu/menuCore.js +36 -36
- package/lib/components/Dropzone/Dropzone2.js +66 -65
- package/lib/components/EmptyState/EmptyState2.js +52 -54
- package/lib/components/FileChip/FileChip2.js +42 -66
- package/lib/components/FileUpload/FileUpload.js +171 -170
- package/lib/components/FilterChips/FilterChips2.js +54 -54
- package/lib/components/FunnelChart/FunnelChart2.js +144 -144
- package/lib/components/FunnelChart/funnel.js +56 -53
- package/lib/components/Highlight/Highlight2.js +60 -60
- package/lib/components/HoverCard/HoverCard.js +72 -72
- package/lib/components/InlineDiff/InlineDiff2.js +112 -112
- package/lib/components/InlineDiff/diff.js +81 -81
- package/lib/components/InlineDiff/useDiffReview.js +54 -53
- package/lib/components/Kanban/Kanban2.js +372 -372
- package/lib/components/Kanban/KanbanCard.js +80 -80
- package/lib/components/Kanban/move.js +55 -55
- package/lib/components/LineChart/LineChart2.js +167 -167
- package/lib/components/List/List2.js +64 -65
- package/lib/components/Listbox/Listbox2.js +105 -105
- package/lib/components/Marker/Marker2.js +54 -54
- package/lib/components/Menubar/Menubar2.js +112 -113
- package/lib/components/MultiSelect/MultiSelect2.js +106 -106
- package/lib/components/NavigationMenu/NavigationMenu2.js +227 -227
- package/lib/components/NoticeStack/NoticeStack2.js +115 -115
- package/lib/components/NumberStepper/NumberStepper2.js +69 -70
- package/lib/components/OtpInput/OtpInput2.js +87 -87
- package/lib/components/Pagination/Pagination2.js +97 -97
- package/lib/components/Pagination/paginationRange.js +23 -24
- package/lib/components/PhoneInput/PhoneInput.js +85 -85
- package/lib/components/PieChart/PieChart2.js +116 -116
- package/lib/components/PieChart/arc.js +80 -56
- package/lib/components/PieChart/useArcTween.js +57 -59
- package/lib/components/Popover/Popover2.js +59 -60
- package/lib/components/ProgressTracker/ProgressTracker2.js +116 -116
- package/lib/components/Rating/Rating2.js +93 -93
- package/lib/components/Resizable/Resizable2.js +136 -134
- package/lib/components/Resizable/layout.js +73 -73
- package/lib/components/ScaledPreview/ScaledPreview2.js +57 -58
- package/lib/components/ScatterChart/ScatterChart2.js +252 -253
- package/lib/components/ScatterChart/scatter.js +58 -56
- package/lib/components/ScrollArea/ScrollArea2.js +133 -134
- package/lib/components/Select/Select2.js +89 -89
- package/lib/components/Sidebar/Sidebar2.js +76 -76
- package/lib/components/Skeleton/Skeleton2.js +67 -67
- package/lib/components/Slider/Slider2.js +67 -67
- package/lib/components/SocialLoginButton/SocialLoginButton.js +46 -47
- package/lib/components/SparkChart/SparkChart2.js +130 -130
- package/lib/components/SparkChart/spark.js +57 -62
- package/lib/components/Sparkbar/Sparkbar2.js +44 -44
- package/lib/components/SplitView/SplitView2.js +53 -53
- package/lib/components/Stat/Stat2.js +83 -83
- package/lib/components/StepList/StepList2.js +73 -73
- package/lib/components/Table/Table2.js +45 -45
- package/lib/components/Tabs/Tabs2.js +87 -87
- package/lib/components/TagInput/TagInput2.js +231 -234
- package/lib/components/TimePicker/TimePicker2.js +195 -195
- package/lib/components/TimePicker/time.js +60 -62
- package/lib/components/Timeline/Timeline2.js +199 -199
- package/lib/components/Timeline/scale.js +56 -58
- package/lib/components/Toast/Toaster.js +153 -152
- package/lib/components/Toast/store.js +57 -58
- package/lib/components/ToggleGroup/ToggleGroup2.js +74 -74
- package/lib/components/Toolbar/Toolbar2.js +135 -133
- package/lib/components/Tracker/Tracker2.js +83 -83
- package/lib/components/TreeDiagram/TreeDiagram2.js +103 -103
- package/lib/components/TreeView/TreeView2.js +165 -163
- package/lib/hooks/timing.js +33 -31
- package/lib/hooks/useControllableState.js +42 -42
- package/lib/hooks/useCountdown.js +58 -63
- package/lib/hooks/useDigitInput.js +75 -77
- package/lib/hooks/useDismiss.js +50 -52
- package/lib/hooks/useElapsed.js +58 -56
- package/lib/hooks/useFloating.js +44 -44
- package/lib/hooks/useFocusTrap.js +64 -40
- package/lib/hooks/usePresence.js +48 -50
- package/lib/hooks/usePressToOpen.js +52 -51
- package/lib/hooks/useScrollLock.js +49 -48
- package/lib/hooks/useSelection.js +37 -40
- package/lib/index.js +70 -69
- package/lib/primitives/AspectRatio2.js +50 -54
- package/lib/primitives/BrandIcon.js +153 -153
- package/lib/primitives/ColorDot2.js +49 -48
- package/lib/primitives/CopyButton2.js +59 -58
- package/lib/primitives/CountBadge2.js +57 -55
- package/lib/primitives/Countdown2.js +45 -49
- package/lib/primitives/Delta2.js +71 -46
- package/lib/primitives/Elapsed.js +43 -43
- package/lib/primitives/FileIcon2.js +93 -93
- package/lib/primitives/Flag2.js +95 -95
- package/lib/primitives/IconStack2.js +55 -55
- package/lib/primitives/IconTile2.js +46 -45
- package/lib/primitives/Kbd2.js +55 -55
- package/lib/primitives/Layout2.js +80 -80
- package/lib/primitives/Link2.js +36 -34
- package/lib/primitives/MaskedText2.js +65 -64
- package/lib/primitives/Progress2.js +80 -80
- package/lib/primitives/RelativeTime.js +52 -54
- package/lib/primitives/SearchInput2.js +55 -54
- package/lib/primitives/SelectorButton2.js +64 -65
- package/lib/primitives/Spinner2.js +55 -59
- package/lib/primitives/StatusIcon2.js +65 -65
- package/lib/primitives/Swatch2.js +50 -50
- package/lib/primitives/Tooltip2.js +85 -85
- package/lib/primitives/Typography2.js +66 -66
- package/lib/primitives/formatCountdown.js +43 -40
- package/lib/primitives/formatElapsed.js +24 -27
- package/lib/primitives/formatRelativeTime.js +43 -43
- package/lib/primitives/hotkey.js +71 -71
- package/lib/primitives/index.js +156 -157
- package/lib/primitives/maskValue.js +38 -34
- package/lib/style.css +1 -1
- package/package.json +1 -1
|
@@ -1,68 +1,65 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
let r =
|
|
5
|
-
|
|
2
|
+
const e = t;
|
|
3
|
+
(function(e, n) {
|
|
4
|
+
let r = t, i = e();
|
|
5
|
+
for (;;) try {
|
|
6
|
+
if (parseInt(r(401)) / 1 + -parseInt(r(394)) / 2 + -parseInt(r(402)) / 3 + parseInt(r(393)) / 4 + -parseInt(r(404)) / 5 + parseInt(r(405)) / 6 + parseInt(r(398)) / 7 == n) break;
|
|
7
|
+
i.push(i.shift());
|
|
8
|
+
} catch {
|
|
9
|
+
i.push(i.shift());
|
|
10
|
+
}
|
|
11
|
+
})(a, 714941);
|
|
12
|
+
function t(e, n) {
|
|
13
|
+
e -= 393;
|
|
14
|
+
let r = a(), i = r[e];
|
|
15
|
+
t.HQFUBe === void 0 && (t.bRPuiN = function(e) {
|
|
6
16
|
let t = "", n = "";
|
|
7
17
|
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);
|
|
8
18
|
for (let e = 0, r = t.length; e < r; e++) n += "%" + ("00" + t.charCodeAt(e).toString(16)).slice(-2);
|
|
9
19
|
return decodeURIComponent(n);
|
|
10
|
-
},
|
|
20
|
+
}, t.QshNve = {}, t.HQFUBe = !0);
|
|
11
21
|
let o = r[0];
|
|
12
|
-
|
|
13
|
-
let s =
|
|
14
|
-
return s === void 0 ? (i =
|
|
22
|
+
t.QubiUU !== o && (t.QshNve = {}, t.QubiUU = o);
|
|
23
|
+
let s = t.QshNve[e];
|
|
24
|
+
return s === void 0 ? (i = t.bRPuiN(i), t.QshNve[e] = i) : i = s, i;
|
|
15
25
|
}
|
|
16
|
-
const t = e;
|
|
17
|
-
(function(t, n) {
|
|
18
|
-
let r = e, i = t();
|
|
19
|
-
for (;;) try {
|
|
20
|
-
if (-parseInt(r(257)) / 1 + -parseInt(r(267)) / 2 + parseInt(r(259)) / 3 * (-parseInt(r(265)) / 4) + parseInt(r(258)) / 5 + -parseInt(r(262)) / 6 + -parseInt(r(261)) / 7 + parseInt(r(264)) / 8 == n) break;
|
|
21
|
-
i.push(i.shift());
|
|
22
|
-
} catch {
|
|
23
|
-
i.push(i.shift());
|
|
24
|
-
}
|
|
25
|
-
})(a, 794245);
|
|
26
26
|
import { useControllableState as n } from "./useControllableState.js";
|
|
27
|
-
var r = (
|
|
28
|
-
function i(
|
|
29
|
-
let i =
|
|
27
|
+
var r = (t) => t === void 0 ? void 0 : Array[e(400)](t) ? t : t === null ? [] : [t];
|
|
28
|
+
function i(t) {
|
|
29
|
+
let i = e, a = t[i(397)] === "multiple", [o, s] = n(r(t[i(396)]), r(t.defaultValue) ?? [], (e) => {
|
|
30
30
|
let n = i;
|
|
31
|
-
|
|
32
|
-
}), c = (e) => o[i(
|
|
31
|
+
t[n(397)] === "multiple" ? t.onValueChange?.(e) : t[n(403)]?.(e[0] ?? null);
|
|
32
|
+
}), c = (e) => o[i(395)](e);
|
|
33
33
|
return {
|
|
34
34
|
selected: o,
|
|
35
35
|
setSelected: s,
|
|
36
36
|
isSelected: c,
|
|
37
|
-
toggle: (
|
|
37
|
+
toggle: (e) => {
|
|
38
38
|
let n = i;
|
|
39
|
-
a ? s(c(
|
|
39
|
+
a ? s(c(e) ? o.filter((t) => t !== e) : [...o, e]) : c(e) ? t[n(399)] || s([]) : s([e]);
|
|
40
40
|
},
|
|
41
41
|
clear: () => s([]),
|
|
42
42
|
multiple: a
|
|
43
43
|
};
|
|
44
44
|
}
|
|
45
|
+
export { i as useSelection };
|
|
45
46
|
function a() {
|
|
46
47
|
let e = [
|
|
48
|
+
"mZyXntm0nwXIBMrzrW",
|
|
49
|
+
"B25wywX1zunOyw5Nzq",
|
|
50
|
+
"ndq0nJu5mgfvqK5Jta",
|
|
51
|
+
"mZeWmJm5nLPSuMT4yW",
|
|
52
|
+
"mtKXmdm1mKPXq2vSua",
|
|
53
|
+
"mJy4ntuYmhHNA3PVsG",
|
|
54
|
+
"Aw5JBhvKzxm",
|
|
47
55
|
"DMfSDwu",
|
|
48
|
-
"AxnbCNjHEq",
|
|
49
|
-
"zgvMyxvSDfzHBhvL",
|
|
50
|
-
"ndeYntiZq0zdwgDZ",
|
|
51
|
-
"nJm2ndyYmgPNqu9Jyq",
|
|
52
|
-
"mJe1mZu1whrZCgz2",
|
|
53
|
-
"CMvXDwLYzwq",
|
|
54
|
-
"mtuXmdu0ngjqwufbAa",
|
|
55
|
-
"mJa4odC4Afn3AhnJ",
|
|
56
|
-
"zMLSDgvY",
|
|
57
|
-
"mtCXoty0nZjPqLvdBMe",
|
|
58
|
-
"nJHxrfnPwwC",
|
|
59
56
|
"DhLWzq",
|
|
60
|
-
"
|
|
61
|
-
"
|
|
62
|
-
"
|
|
57
|
+
"mty5ntGXmtz3CvHcBNK",
|
|
58
|
+
"CMvXDwLYzwq",
|
|
59
|
+
"AxnbCNjHEq",
|
|
60
|
+
"nZm0odKYsgP1Cvzn"
|
|
63
61
|
];
|
|
64
62
|
return a = function() {
|
|
65
63
|
return e;
|
|
66
64
|
}, a();
|
|
67
65
|
}
|
|
68
|
-
export { i as useSelection };
|
package/lib/index.js
CHANGED
|
@@ -1,80 +1,68 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
(function(e, t) {
|
|
3
|
-
for (var n =
|
|
4
|
-
if (
|
|
3
|
+
for (var n = Q, r = e();;) try {
|
|
4
|
+
if (parseInt(n(233)) / 1 + parseInt(n(234)) / 2 * (parseInt(n(230)) / 3) + -parseInt(n(240)) / 4 * (parseInt(n(239)) / 5) + -parseInt(n(238)) / 6 + parseInt(n(237)) / 7 * (parseInt(n(232)) / 8) + parseInt(n(236)) / 9 * (-parseInt(n(231)) / 10) + -parseInt(n(235)) / 11 == t) break;
|
|
5
5
|
r.push(r.shift());
|
|
6
6
|
} catch {
|
|
7
7
|
r.push(r.shift());
|
|
8
8
|
}
|
|
9
|
-
})(
|
|
9
|
+
})(I, 652221);
|
|
10
10
|
/* empty css */
|
|
11
|
-
function e() {
|
|
12
|
-
var t = [
|
|
13
|
-
"mtbZwLbcDLi",
|
|
14
|
-
"ntu0mtzYsw1hC1y",
|
|
15
|
-
"mte3mJm4mMPmAKfyrW",
|
|
16
|
-
"ndG1nteZmK1MA3LHqW",
|
|
17
|
-
"odqYmevbCgjNAa",
|
|
18
|
-
"nduWnKvPEvbkyW",
|
|
19
|
-
"mZq4mZm2odf0vgnkALe",
|
|
20
|
-
"ndi0nZuYm05TzhLmEq",
|
|
21
|
-
"mJH0A1nMEfC",
|
|
22
|
-
"mZe3odi1nMn0Evzbzq"
|
|
23
|
-
];
|
|
24
|
-
return e = function() {
|
|
25
|
-
return t;
|
|
26
|
-
}, e();
|
|
27
|
-
}
|
|
28
11
|
/* empty css */
|
|
29
|
-
import { Spinner as
|
|
30
|
-
import { IconStack as
|
|
31
|
-
import { Kbd as
|
|
32
|
-
import { TIMING as
|
|
33
|
-
import { usePresence as
|
|
34
|
-
import { Tooltip as
|
|
35
|
-
import { isTypingTarget as
|
|
36
|
-
import { Flag as
|
|
37
|
-
import { SearchInput as
|
|
38
|
-
import { Heading as
|
|
39
|
-
import { Progress as
|
|
40
|
-
import { FileIcon as
|
|
41
|
-
import { CopyButton as
|
|
42
|
-
import { Swatch as
|
|
43
|
-
import { BRAND_NAMES as
|
|
44
|
-
import { ColorDot as
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
12
|
+
import { Spinner as e } from "./primitives/Spinner2.js";
|
|
13
|
+
import { IconStack as t } from "./primitives/IconStack2.js";
|
|
14
|
+
import { Kbd as n, formatKey as r, isMac as i } from "./primitives/Kbd2.js";
|
|
15
|
+
import { TIMING as a } from "./hooks/timing.js";
|
|
16
|
+
import { usePresence as o } from "./hooks/usePresence.js";
|
|
17
|
+
import { Tooltip as s } from "./primitives/Tooltip2.js";
|
|
18
|
+
import { isTypingTarget as c, matchesHotkey as l, toAriaShortcut as u } from "./primitives/hotkey.js";
|
|
19
|
+
import { Flag as ee } from "./primitives/Flag2.js";
|
|
20
|
+
import { SearchInput as te } from "./primitives/SearchInput2.js";
|
|
21
|
+
import { Heading as ne, Prose as d, Text as f } from "./primitives/Typography2.js";
|
|
22
|
+
import { Progress as p, ProgressCircle as m } from "./primitives/Progress2.js";
|
|
23
|
+
import { FileIcon as h, fileKind as g } from "./primitives/FileIcon2.js";
|
|
24
|
+
import { CopyButton as _ } from "./primitives/CopyButton2.js";
|
|
25
|
+
import { Swatch as v } from "./primitives/Swatch2.js";
|
|
26
|
+
import { BRAND_NAMES as y, BrandIcon as b } from "./primitives/BrandIcon.js";
|
|
27
|
+
import { ColorDot as x } from "./primitives/ColorDot2.js";
|
|
28
|
+
import { Box as S, Grid as C, Inline as w, Separator as T, Stack as E } from "./primitives/Layout2.js";
|
|
29
|
+
import { AspectRatio as D } from "./primitives/AspectRatio2.js";
|
|
30
|
+
import { formatFullDate as O, formatRelativeTime as k, nextRelativeTimeChange as A } from "./primitives/formatRelativeTime.js";
|
|
31
|
+
import { RelativeTime as j } from "./primitives/RelativeTime.js";
|
|
32
|
+
import { IconTile as M } from "./primitives/IconTile2.js";
|
|
33
|
+
import { SelectorButton as N } from "./primitives/SelectorButton2.js";
|
|
34
|
+
import { StatusIcon as P } from "./primitives/StatusIcon2.js";
|
|
35
|
+
import { Delta as F } from "./primitives/Delta2.js";
|
|
36
|
+
function I() {
|
|
37
|
+
var e = [
|
|
38
|
+
"ndy2mfz5tvLhEG",
|
|
39
|
+
"mZq0zKf0yvjq",
|
|
40
|
+
"ndm1ode5uwrSs3zJ",
|
|
41
|
+
"mtGWmdK1mLDYC3D0Eq",
|
|
42
|
+
"mJyZmtKWngTor3j3tq",
|
|
43
|
+
"mJy0nMjdv3rnvG",
|
|
44
|
+
"otq3mdnRuLDTtwe",
|
|
45
|
+
"mtC3odG0nenKvgnTzq",
|
|
46
|
+
"nZm5nuLSrvjOCa",
|
|
47
|
+
"mtyWnev4EeLduG",
|
|
48
|
+
"m254r2HKsa"
|
|
49
|
+
];
|
|
50
|
+
return I = function() {
|
|
51
|
+
return e;
|
|
52
|
+
}, I();
|
|
57
53
|
}
|
|
58
|
-
import {
|
|
59
|
-
import {
|
|
60
|
-
import {
|
|
61
|
-
import {
|
|
62
|
-
import {
|
|
63
|
-
import {
|
|
64
|
-
import {
|
|
65
|
-
import {
|
|
66
|
-
import {
|
|
67
|
-
import {
|
|
68
|
-
import {
|
|
69
|
-
import {
|
|
70
|
-
import { formatElapsed as U } from "./primitives/formatElapsed.js";
|
|
71
|
-
import { Elapsed as W } from "./primitives/Elapsed.js";
|
|
72
|
-
import { CountBadge as G } from "./primitives/CountBadge2.js";
|
|
73
|
-
import { Link as K } from "./primitives/Link2.js";
|
|
74
|
-
import { useControllableState as q } from "./hooks/useControllableState.js";
|
|
75
|
-
import { maskParts as J, maskValue as Y } from "./primitives/maskValue.js";
|
|
76
|
-
import { MaskedText as X } from "./primitives/MaskedText2.js";
|
|
77
|
-
import { Avatar as Z, AvatarGroup as Q, Badge as ne, Button as re, Checkbox as ie, Field as ae, Input as oe, NativeSelect as se, Radio as ce, SegmentedControl as le, Switch as ue, Textarea as de, cx as fe } from "./primitives/index.js";
|
|
54
|
+
import { useCountdown as L } from "./hooks/useCountdown.js";
|
|
55
|
+
import { formatCountdown as R } from "./primitives/formatCountdown.js";
|
|
56
|
+
import { Countdown as z } from "./primitives/Countdown2.js";
|
|
57
|
+
import { useElapsed as B } from "./hooks/useElapsed.js";
|
|
58
|
+
import { formatElapsed as V } from "./primitives/formatElapsed.js";
|
|
59
|
+
import { Elapsed as H } from "./primitives/Elapsed.js";
|
|
60
|
+
import { CountBadge as U } from "./primitives/CountBadge2.js";
|
|
61
|
+
import { Link as W } from "./primitives/Link2.js";
|
|
62
|
+
import { useControllableState as G } from "./hooks/useControllableState.js";
|
|
63
|
+
import { maskParts as K, maskValue as q } from "./primitives/maskValue.js";
|
|
64
|
+
import { MaskedText as J } from "./primitives/MaskedText2.js";
|
|
65
|
+
import { Avatar as Y, AvatarGroup as X, Badge as Z, Button as re, Checkbox as ie, Field as ae, Input as oe, NativeSelect as se, Radio as ce, SegmentedControl as le, Switch as ue, Textarea as de, cx as fe } from "./primitives/index.js";
|
|
78
66
|
import { useSelection as pe } from "./hooks/useSelection.js";
|
|
79
67
|
import { useFloating as me } from "./hooks/useFloating.js";
|
|
80
68
|
import { useDismiss as he } from "./hooks/useDismiss.js";
|
|
@@ -116,6 +104,19 @@ import { ProgressTracker as Et } from "./components/ProgressTracker/ProgressTrac
|
|
|
116
104
|
import { DEFAULT_VIEW as Dt } from "./components/DataGrid/types.js";
|
|
117
105
|
import { DataGrid as Ot } from "./components/DataGrid/DataGrid2.js";
|
|
118
106
|
import { DEFAULT_DATE_PRESETS as kt, formatDate as At, formatMonth as jt } from "./components/Calendar/date.js";
|
|
107
|
+
function Q(e, t) {
|
|
108
|
+
e -= 230;
|
|
109
|
+
var n = I(), r = n[e];
|
|
110
|
+
Q.cEwvrp === void 0 && (Q.TqOBPy = function(e) {
|
|
111
|
+
for (var t = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=", n = "", r = "", i = 0, a, o, s = 0; o = e.charAt(s++); ~o && (a = i % 4 ? a * 64 + o : o, i++ % 4) && (n += String.fromCharCode(255 & a >> (-2 * i & 6)))) o = t.indexOf(o);
|
|
112
|
+
for (var c = 0, l = n.length; c < l; c++) r += "%" + ("00" + n.charCodeAt(c).toString(16)).slice(-2);
|
|
113
|
+
return decodeURIComponent(r);
|
|
114
|
+
}, Q.LfLJQs = {}, Q.cEwvrp = !0);
|
|
115
|
+
var i = n[0];
|
|
116
|
+
Q.rmlfRp !== i && (Q.LfLJQs = {}, Q.rmlfRp = i);
|
|
117
|
+
var a = Q.LfLJQs[e];
|
|
118
|
+
return a === void 0 ? (r = Q.TqOBPy(r), Q.LfLJQs[e] = r) : r = a, r;
|
|
119
|
+
}
|
|
119
120
|
import { Calendar as Mt } from "./components/Calendar/Calendar2.js";
|
|
120
121
|
import { DatePicker as Nt, DateRangePicker as Pt } from "./components/Calendar/DatePicker2.js";
|
|
121
122
|
import { ChartLegend as Ft, ChartTooltip as It } from "./components/Chart/ChartParts.js";
|
|
@@ -175,4 +176,4 @@ import { TagInput as Vr } from "./components/TagInput/TagInput2.js";
|
|
|
175
176
|
import { formatDuration as Hr, formatTime as Ur, minutesToTime as Wr, parseTimeInput as Gr, timeToMinutes as Kr } from "./components/TimePicker/time.js";
|
|
176
177
|
import { TimePicker as qr } from "./components/TimePicker/TimePicker2.js";
|
|
177
178
|
import { SocialLoginButton as Jr } from "./components/SocialLoginButton/SocialLoginButton.js";
|
|
178
|
-
export { yt as Accordion, bt as AccordionItem, gn as ActionBar, _t as Alert, rt as AlertDialog, Qe as AppShell, jn as AreaChart,
|
|
179
|
+
export { yt as Accordion, bt as AccordionItem, gn as ActionBar, _t as Alert, rt as AlertDialog, Qe as AppShell, jn as AreaChart, D as AspectRatio, Y as Avatar, X as AvatarGroup, y as BRAND_NAMES, Z as Badge, vt as Banner, Rt as BarChart, kn as BarList, S as Box, b as BrandIcon, Je as Breadcrumb, re as Button, Lr as CHART_COLOR_PRESETS, Mt as Calendar, Be as Card, Ve as CardBody, He as CardFooter, Ge as CardFrame, Ue as CardHeader, We as CardMedia, Ft as ChartLegend, It as ChartTooltip, on as ChatBubble, sn as ChatBubbleGroup, Bt as ChatComposer, ie as Checkbox, qe as CodeBlock, xt as Collapsible, x as ColorDot, Rr as ColorField, zr as ColorPicker, Ae as Combobox, ln as CommandMenu, nn as Comment, rn as CommentThread, Hn as ContextMenu, Un as ContextMenuCheckboxItem, Wn as ContextMenuItem, Gn as ContextMenuLabel, Kn as ContextMenuRadioGroup, qn as ContextMenuRadioItem, Jn as ContextMenuSeparator, Yn as ContextMenuSub, _ as CopyButton, U as CountBadge, z as Countdown, kt as DEFAULT_DATE_PRESETS, Dt as DEFAULT_GRID_VIEW, Ot as DataGrid, Nt as DatePicker, Pt as DateRangePicker, F as Delta, dn as DescriptionItem, fn as DescriptionList, pn as DescriptionSection, nt as Dialog, ur as Drawer, at as DropdownMenu, ot as DropdownMenuCheckboxItem, st as DropdownMenuItem, ct as DropdownMenuLabel, lt as DropdownMenuRadioGroup, ut as DropdownMenuRadioItem, dt as DropdownMenuSeparator, ft as DropdownMenuSub, St as Dropzone, H as Elapsed, ze as EmptyState, ae as Field, hn as FileChip, h as FileIcon, wt as FileUpload, Ce as FilterChip, we as FilterChipGroup, ee as Flag, Ln as FunnelChart, C as Grid, ne as Heading, mn as Highlight, fr as HoverCard, t as IconStack, M as IconTile, w as Inline, Tn as InlineDiff, oe as Input, Sr as KanbanBoard, yr as KanbanCard, n as Kbd, Lt as LineChart, W as Link, et as List, tt as ListItem, Ee as Listbox, De as ListboxPopover, On as Marker, J as MaskedText, Xn as Menubar, Zn as MenubarCheckboxItem, Qn as MenubarItem, $n as MenubarLabel, er as MenubarMenu, tr as MenubarRadioGroup, nr as MenubarRadioItem, rr as MenubarSeparator, ir as MenubarSub, ke as MultiSelect, se as NativeSelect, ar as NavigationMenu, or as NavigationMenuFeature, sr as NavigationMenuGroup, cr as NavigationMenuItem, lr as NavigationMenuLink, cn as NoticeStack, _n as NumberStepper, Pe as OtpInput, Rn as PHONE_COUNTRIES, mr as Pagination, zn as PhoneInput, zt as PieChart, it as Popover, p as Progress, m as ProgressCircle, Et as ProgressTracker, d as Prose, ce as Radio, Br as Rating, j as RelativeTime, wr as ResizableHandle, Tr as ResizablePanel, Er as ResizablePanelGroup, Ke as ScaledPreview, Fn as ScatterChart, Cr as ScrollArea, te as SearchInput, le as SegmentedControl, Oe as Select, N as SelectorButton, T as Separator, dr as Sheet, Ye as Sidebar, Xe as SidebarGroup, Ze as SidebarItem, Fe as Skeleton, Ie as SkeletonCircle, Le as SkeletonGroup, Re as SkeletonText, Te as Slider, Jr as SocialLoginButton, Mn as SparkArea, Nn as SparkChart, Pn as SparkLine, Vt as Sparkbar, e as Spinner, vn as SplitView, E as Stack, Jt as Stat, Yt as StatGroup, P as StatusIcon, En as StepList, Dn as StepListItem, v as Swatch, ue as Switch, a as TIMING, Xt as TREE_ROW_HEIGHT, pt as Tab, mt as TabList, ht as TabPanel, $e as Table, gt as Tabs, Vr as TagInput, f as Text, de as Textarea, qr as TimePicker, Gt as Timeline, Kt as TimelineBar, qt as TimelineRow, Ne as Toaster, xe as ToggleGroup, Se as ToggleGroupItem, hr as Toolbar, gr as ToolbarButton, _r as ToolbarSeparator, vr as ToolbarSpacer, s as Tooltip, An as Tracker, en as TreeDiagram, tn as TreeDiagramToggle, Zt as TreeItem, Qt as TreeView, yn as applyDiffDecisions, fe as cx, je as defaultComboboxFilter, un as defaultCommandFilter, bn as diffWords, g as fileKind, $t as flattenTree, _e as focusableIn, Tt as formatBytes, an as formatChatTime, Ht as formatClock, Dr as formatColor, R as formatCountdown, At as formatDate, Hr as formatDuration, V as formatElapsed, O as formatFullDate, Or as formatHex, kr as formatHsl, r as formatKey, jt as formatMonth, Ut as formatOffset, Bn as formatPhone, k as formatRelativeTime, Ar as formatRgb, Ur as formatTime, In as funnelStats, jr as hslToRgb, Mr as hsvToRgb, i as isMac, c as isTypingTarget, xn as listDiffChanges, br as locateKanbanItem, K as maskParts, q as maskValue, Ct as matchesAccept, l as matchesHotkey, Wr as minutesToTime, xr as moveKanbanItem, A as nextRelativeTimeChange, Nr as normalizeHex, pr as paginationRange, Pr as parseColor, Gr as parseTimeInput, Sn as resolveDiffSegments, Fr as rgbToHsl, Ir as rgbToHsv, $ as sparkTrend, Kr as timeToMinutes, u as toAriaShortcut, Vn as toE164, Me as toast, Cn as tokenizeWords, G as useControllableState, L as useCountdown, wn as useDiffReview, be as useDigitInput, he as useDismiss, B as useElapsed, me as useFloating, ve as useFocusTrap, o as usePresence, ge as usePressToOpen, ye as useScrollLock, pe as useSelection, Wt as useTimelineScale };
|
|
@@ -1,77 +1,73 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
|
|
3
|
-
var t = [
|
|
4
|
-
"mZKXmJaYnxfOEhnOBq",
|
|
5
|
-
"nJy0mdm2mefTv3r2zG",
|
|
6
|
-
"BNvTyMvY",
|
|
7
|
-
"zhmTyxnWzwn0ls1Ylq",
|
|
8
|
-
"y29UDgfPBG",
|
|
9
|
-
"zhmTyxnWzwn0ls1ZDwj0Bgu",
|
|
10
|
-
"mZiZmdqWvxLXtK5p",
|
|
11
|
-
"BM9Uzq",
|
|
12
|
-
"ndmYnJz4r0vqyK0",
|
|
13
|
-
"ow5muxLMza",
|
|
14
|
-
"ic8G",
|
|
15
|
-
"nZe4mde5rwPAyKTp",
|
|
16
|
-
"zMLSDgvY",
|
|
17
|
-
"mtK5mtm3nKnhwwrutW",
|
|
18
|
-
"C3bSAxq",
|
|
19
|
-
"zhmTyxnWzwn0ls1JB250ywLU",
|
|
20
|
-
"zgL2",
|
|
21
|
-
"C3vIDgXL",
|
|
22
|
-
"mZaXA1jTCfj2",
|
|
23
|
-
"nJuZotiXmhn6revKza",
|
|
24
|
-
"mMTzyvbWuW",
|
|
25
|
-
"DhjPBq",
|
|
26
|
-
"BwfW",
|
|
27
|
-
"zhmTyxnWzwn0"
|
|
28
|
-
];
|
|
29
|
-
return e = function() {
|
|
30
|
-
return t;
|
|
31
|
-
}, e();
|
|
32
|
-
}
|
|
33
|
-
var t = r;
|
|
2
|
+
var e = r;
|
|
34
3
|
(function(e, t) {
|
|
35
4
|
for (var n = r, i = e();;) try {
|
|
36
|
-
if (parseInt(n(
|
|
5
|
+
if (-parseInt(n(193)) / 1 + -parseInt(n(195)) / 2 + parseInt(n(192)) / 3 + parseInt(n(189)) / 4 + -parseInt(n(191)) / 5 * (parseInt(n(186)) / 6) + parseInt(n(196)) / 7 * (parseInt(n(179)) / 8) + parseInt(n(182)) / 9 * (parseInt(n(180)) / 10) == t) break;
|
|
37
6
|
i.push(i.shift());
|
|
38
7
|
} catch {
|
|
39
8
|
i.push(i.shift());
|
|
40
9
|
}
|
|
41
|
-
})(
|
|
10
|
+
})(t, 797793);
|
|
42
11
|
/* empty css */
|
|
12
|
+
function t() {
|
|
13
|
+
var e = [
|
|
14
|
+
"mte1mZbwrKjIA2y",
|
|
15
|
+
"mtmXnZm1mwLJD3r4Dq",
|
|
16
|
+
"mtu4mdC3ownbBw93ta",
|
|
17
|
+
"AM9PBG",
|
|
18
|
+
"mZa5mdG4mfDlBLPbuW",
|
|
19
|
+
"mZK5mti3nfDIugXPvq",
|
|
20
|
+
"y29UDgfPBG",
|
|
21
|
+
"BwfW",
|
|
22
|
+
"ofDgtu5nsW",
|
|
23
|
+
"mtbXt2LnAM8",
|
|
24
|
+
"zhmTyxnWzwn0ls1ZDwj0Bgu",
|
|
25
|
+
"mJG3ntKYntDqAhbACKu",
|
|
26
|
+
"zgL2",
|
|
27
|
+
"ic8G",
|
|
28
|
+
"BM9Uzq",
|
|
29
|
+
"mtuWnKHOwxb0wG",
|
|
30
|
+
"DhjPBq",
|
|
31
|
+
"zMLSDgvY",
|
|
32
|
+
"mte5mJe4nejKCNHNwq",
|
|
33
|
+
"y292zxi"
|
|
34
|
+
];
|
|
35
|
+
return t = function() {
|
|
36
|
+
return e;
|
|
37
|
+
}, t();
|
|
38
|
+
}
|
|
43
39
|
import { jsx as n } from "react/jsx-runtime";
|
|
44
|
-
function r(
|
|
45
|
-
|
|
46
|
-
var i =
|
|
47
|
-
r.
|
|
40
|
+
function r(e, n) {
|
|
41
|
+
e -= 177;
|
|
42
|
+
var i = t(), a = i[e];
|
|
43
|
+
r.QxdGiw === void 0 && (r.zWLiEg = function(e) {
|
|
48
44
|
for (var t = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=", n = "", r = "", i = 0, a, o, s = 0; o = e.charAt(s++); ~o && (a = i % 4 ? a * 64 + o : o, i++ % 4) && (n += String.fromCharCode(255 & a >> (-2 * i & 6)))) o = t.indexOf(o);
|
|
49
45
|
for (var c = 0, l = n.length; c < l; c++) r += "%" + ("00" + n.charCodeAt(c).toString(16)).slice(-2);
|
|
50
46
|
return decodeURIComponent(r);
|
|
51
|
-
}, r.
|
|
47
|
+
}, r.hAttSl = {}, r.QxdGiw = !0);
|
|
52
48
|
var o = i[0];
|
|
53
|
-
r.
|
|
54
|
-
var s = r.
|
|
55
|
-
return s === void 0 ? (a = r.
|
|
49
|
+
r.DCGlFu !== o && (r.hAttSl = {}, r.DCGlFu = o);
|
|
50
|
+
var s = r.hAttSl[e];
|
|
51
|
+
return s === void 0 ? (a = r.zWLiEg(a), r.hAttSl[e] = a) : a = s, a;
|
|
56
52
|
}
|
|
57
53
|
var i = (e) => {
|
|
58
54
|
var t = r;
|
|
59
|
-
if (typeof e
|
|
60
|
-
let [n, i] = e
|
|
61
|
-
return n > 0 && (i === void 0 || i > 0) ? n + t(
|
|
55
|
+
if (typeof e == "number") return e > 0 ? String(e) : "1";
|
|
56
|
+
let [n, i] = e.split(/[/:]/)[t(178)]((e) => Number(e[t(187)]()));
|
|
57
|
+
return n > 0 && (i === void 0 || i > 0) ? n + t(184) + (i ?? 1) : "1";
|
|
62
58
|
};
|
|
63
|
-
function a({ ratio:
|
|
64
|
-
var u =
|
|
65
|
-
return n(u(
|
|
59
|
+
function a({ ratio: t = 1, fit: r = e(190), radius: a = e(185), background: o = e(185), className: s, style: c, ...l }) {
|
|
60
|
+
var u = e;
|
|
61
|
+
return n(u(183), {
|
|
66
62
|
className: [
|
|
67
|
-
|
|
68
|
-
r === u(
|
|
69
|
-
a !== u(
|
|
70
|
-
o ===
|
|
63
|
+
"ds-aspect",
|
|
64
|
+
r === u(177) && "ds-aspect--contain",
|
|
65
|
+
a !== u(185) && "ds-aspect--r-" + a,
|
|
66
|
+
o === "subtle" && u(181),
|
|
71
67
|
s
|
|
72
|
-
][u(
|
|
68
|
+
][u(188)](Boolean)[u(194)](" "),
|
|
73
69
|
style: {
|
|
74
|
-
aspectRatio: i(
|
|
70
|
+
aspectRatio: i(t),
|
|
75
71
|
...c
|
|
76
72
|
},
|
|
77
73
|
...l
|