@mireljs/ui-core 3.2.3
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/LICENSE +201 -0
- package/dist/components/Accordion.d.ts +7 -0
- package/dist/components/Alert.d.ts +11 -0
- package/dist/components/Avatar.d.ts +32 -0
- package/dist/components/Badge.d.ts +10 -0
- package/dist/components/Button.d.ts +11 -0
- package/dist/components/Card.d.ts +8 -0
- package/dist/components/DataTable.d.ts +8 -0
- package/dist/components/Dialog.d.ts +22 -0
- package/dist/components/DropdownMenu.d.ts +27 -0
- package/dist/components/Form.d.ts +15 -0
- package/dist/components/Input.d.ts +5 -0
- package/dist/components/Label.d.ts +5 -0
- package/dist/components/Popover.d.ts +6 -0
- package/dist/components/ScrollArea.d.ts +5 -0
- package/dist/components/SectionHeading.d.ts +9 -0
- package/dist/components/Select.d.ts +13 -0
- package/dist/components/Separator.d.ts +4 -0
- package/dist/components/Sheet.d.ts +25 -0
- package/dist/components/Skeleton.d.ts +3 -0
- package/dist/components/Slider.d.ts +4 -0
- package/dist/components/Spinner.d.ts +7 -0
- package/dist/components/StepIndicator.d.ts +13 -0
- package/dist/components/Switch.d.ts +4 -0
- package/dist/components/Table.d.ts +10 -0
- package/dist/components/Tabs.d.ts +7 -0
- package/dist/components/Textarea.d.ts +5 -0
- package/dist/components/ThemeProvider.d.ts +13 -0
- package/dist/components/Toast.d.ts +18 -0
- package/dist/components/Toaster.d.ts +1 -0
- package/dist/components/Tooltip.d.ts +7 -0
- package/dist/components/combobox.d.ts +17 -0
- package/dist/components/use-toast.d.ts +44 -0
- package/dist/index.d.ts +33 -0
- package/dist/lib/styles.d.ts +12 -0
- package/dist/lib/utils.d.ts +2 -0
- package/dist/mirel-ui-core.js +1584 -0
- package/dist/mirel-ui-core.umd.cjs +1 -0
- package/dist/theme/index.d.ts +1 -0
- package/dist/theme/tokens.d.ts +149 -0
- package/package.json +76 -0
|
@@ -0,0 +1,1584 @@
|
|
|
1
|
+
import { jsx as a, jsxs as d, Fragment as W } from "react/jsx-runtime";
|
|
2
|
+
import * as n from "react";
|
|
3
|
+
import U, { useState as B, createContext as he, useEffect as ye, useContext as xe } from "react";
|
|
4
|
+
import { Slot as ve } from "@radix-ui/react-slot";
|
|
5
|
+
import { cva as R } from "class-variance-authority";
|
|
6
|
+
import { clsx as we } from "clsx";
|
|
7
|
+
import { twMerge as Ne } from "tailwind-merge";
|
|
8
|
+
import * as g from "@radix-ui/react-select";
|
|
9
|
+
import * as f from "@radix-ui/react-dialog";
|
|
10
|
+
import * as u from "@radix-ui/react-dropdown-menu";
|
|
11
|
+
import { ChevronRight as ke, Check as Te, Circle as Re, X as Se } from "lucide-react";
|
|
12
|
+
import * as h from "@radix-ui/react-toast";
|
|
13
|
+
import * as k from "@radix-ui/react-tabs";
|
|
14
|
+
import * as N from "@radix-ui/react-accordion";
|
|
15
|
+
import * as D from "@radix-ui/react-popover";
|
|
16
|
+
import * as X from "@radix-ui/react-label";
|
|
17
|
+
import * as F from "@radix-ui/react-switch";
|
|
18
|
+
import * as T from "@radix-ui/react-tooltip";
|
|
19
|
+
import * as w from "@radix-ui/react-scroll-area";
|
|
20
|
+
import * as $ from "@radix-ui/react-separator";
|
|
21
|
+
import * as S from "@radix-ui/react-slider";
|
|
22
|
+
import { useReactTable as Ce, getSortedRowModel as De, getPaginationRowModel as Ie, getCoreRowModel as Le, flexRender as q } from "@tanstack/react-table";
|
|
23
|
+
function o(...e) {
|
|
24
|
+
return Ne(we(e));
|
|
25
|
+
}
|
|
26
|
+
const Pe = R(
|
|
27
|
+
"inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium shadow-sm ring-offset-background transition-all focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-focus-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",
|
|
28
|
+
{
|
|
29
|
+
variants: {
|
|
30
|
+
variant: {
|
|
31
|
+
default: "bg-gray-900 text-gray-50 hover:bg-gray-900/90 dark:bg-gray-700 dark:text-gray-50 dark:hover:bg-gray-600",
|
|
32
|
+
destructive: "bg-red-500 text-gray-50 hover:bg-red-500/90 dark:bg-red-900 dark:text-gray-50 dark:hover:bg-red-900/90",
|
|
33
|
+
outline: "border border-gray-200 bg-gray-50 hover:bg-gray-100 hover:text-gray-900 dark:border-gray-700 dark:bg-gray-950 dark:hover:bg-gray-800 dark:hover:text-gray-50",
|
|
34
|
+
secondary: "bg-gray-100 text-gray-900 hover:bg-gray-100/80 dark:bg-gray-800 dark:text-gray-50 dark:hover:bg-gray-800/80",
|
|
35
|
+
ghost: "hover:bg-gray-100 hover:text-gray-900 dark:hover:bg-gray-800 dark:hover:text-gray-50",
|
|
36
|
+
link: "text-gray-900 underline-offset-4 hover:underline dark:text-gray-50",
|
|
37
|
+
subtle: "bg-gray-100 text-gray-900 shadow-none hover:bg-gray-200 border border-gray-200/50 dark:bg-gray-800 dark:text-gray-50 dark:hover:bg-gray-700 dark:border-gray-700",
|
|
38
|
+
soft: "bg-gray-100/50 text-gray-900 hover:bg-gray-100/75 dark:bg-gray-800/50 dark:text-gray-50 dark:hover:bg-gray-800/75",
|
|
39
|
+
elevated: "bg-white text-gray-900 shadow-md hover:shadow-lg border border-gray-200/60 dark:bg-gray-950 dark:text-gray-50 dark:border-gray-700"
|
|
40
|
+
},
|
|
41
|
+
size: {
|
|
42
|
+
default: "h-10 px-4 py-2",
|
|
43
|
+
sm: "h-9 rounded-md px-3",
|
|
44
|
+
lg: "h-11 rounded-md px-8",
|
|
45
|
+
icon: "h-10 w-10",
|
|
46
|
+
pill: "h-10 rounded-full px-6",
|
|
47
|
+
square: "size-9 rounded-md relative [&_svg]:absolute [&_svg]:top-0 [&_svg]:right-0 [&_svg]:bottom-0 [&_svg]:left-0 [&_svg]:m-auto [&_svg]:size-4"
|
|
48
|
+
}
|
|
49
|
+
},
|
|
50
|
+
defaultVariants: {
|
|
51
|
+
variant: "default",
|
|
52
|
+
size: "default"
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
), O = n.forwardRef(
|
|
56
|
+
({ className: e, variant: t, size: r, asChild: s = !1, ...i }, l) => /* @__PURE__ */ a(
|
|
57
|
+
s ? ve : "button",
|
|
58
|
+
{
|
|
59
|
+
className: o(Pe({ variant: t, size: r, className: e })),
|
|
60
|
+
ref: l,
|
|
61
|
+
...i
|
|
62
|
+
}
|
|
63
|
+
)
|
|
64
|
+
);
|
|
65
|
+
O.displayName = "Button";
|
|
66
|
+
const Q = n.forwardRef(
|
|
67
|
+
({ className: e, type: t, ...r }, s) => /* @__PURE__ */ a(
|
|
68
|
+
"input",
|
|
69
|
+
{
|
|
70
|
+
type: t,
|
|
71
|
+
className: o(
|
|
72
|
+
"flex h-10 w-full rounded-md border border-input bg-background px-3 py-2 text-base ring-offset-background file:border-0 file:bg-transparent file:text-sm file:font-medium file:text-foreground placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50 md:text-sm",
|
|
73
|
+
e
|
|
74
|
+
),
|
|
75
|
+
ref: s,
|
|
76
|
+
...r
|
|
77
|
+
}
|
|
78
|
+
)
|
|
79
|
+
);
|
|
80
|
+
Q.displayName = "Input";
|
|
81
|
+
const _e = n.forwardRef(
|
|
82
|
+
({ className: e, ...t }, r) => /* @__PURE__ */ a(
|
|
83
|
+
"div",
|
|
84
|
+
{
|
|
85
|
+
ref: r,
|
|
86
|
+
className: o("group rounded-2xl border border-outline/60 bg-surface shadow-md transition-shadow hover:shadow-lg", e),
|
|
87
|
+
...t
|
|
88
|
+
}
|
|
89
|
+
)
|
|
90
|
+
);
|
|
91
|
+
_e.displayName = "Card";
|
|
92
|
+
const Ae = n.forwardRef(
|
|
93
|
+
({ className: e, ...t }, r) => /* @__PURE__ */ a("div", { ref: r, className: o("space-y-1.5 p-4", e), ...t })
|
|
94
|
+
);
|
|
95
|
+
Ae.displayName = "CardHeader";
|
|
96
|
+
const Me = n.forwardRef(
|
|
97
|
+
({ className: e, ...t }, r) => /* @__PURE__ */ a("h3", { ref: r, className: o("text-lg font-semibold tracking-tight text-foreground", e), ...t })
|
|
98
|
+
);
|
|
99
|
+
Me.displayName = "CardTitle";
|
|
100
|
+
const ze = n.forwardRef(
|
|
101
|
+
({ className: e, ...t }, r) => /* @__PURE__ */ a("p", { ref: r, className: o("text-sm text-muted-foreground", e), ...t })
|
|
102
|
+
);
|
|
103
|
+
ze.displayName = "CardDescription";
|
|
104
|
+
const je = n.forwardRef(
|
|
105
|
+
({ className: e, ...t }, r) => /* @__PURE__ */ a("div", { ref: r, className: o("p-4 pt-0", e), ...t })
|
|
106
|
+
);
|
|
107
|
+
je.displayName = "CardContent";
|
|
108
|
+
const Ee = n.forwardRef(
|
|
109
|
+
({ className: e, ...t }, r) => /* @__PURE__ */ a(
|
|
110
|
+
"div",
|
|
111
|
+
{
|
|
112
|
+
ref: r,
|
|
113
|
+
className: o("flex flex-col gap-2 border-t border-outline/40 bg-surface-subtle/60 p-4 pt-4 sm:flex-row sm:items-center sm:justify-between", e),
|
|
114
|
+
...t
|
|
115
|
+
}
|
|
116
|
+
)
|
|
117
|
+
);
|
|
118
|
+
Ee.displayName = "CardFooter";
|
|
119
|
+
const Be = R(
|
|
120
|
+
"inline-flex items-center gap-1 rounded-full font-medium tracking-wide uppercase",
|
|
121
|
+
{
|
|
122
|
+
variants: {
|
|
123
|
+
variant: {
|
|
124
|
+
default: "bg-primary text-primary-foreground hover:bg-primary/80",
|
|
125
|
+
secondary: "bg-secondary text-secondary-foreground hover:bg-secondary/80",
|
|
126
|
+
neutral: "bg-surface-subtle text-muted-foreground ring-1 ring-inset ring-outline/60",
|
|
127
|
+
outline: "border border-dashed border-outline/80 bg-transparent text-muted-foreground shadow-none",
|
|
128
|
+
info: "bg-info text-info-foreground",
|
|
129
|
+
success: "bg-success text-success-foreground",
|
|
130
|
+
warning: "bg-warning text-warning-foreground",
|
|
131
|
+
destructive: "bg-destructive text-destructive-foreground"
|
|
132
|
+
},
|
|
133
|
+
size: {
|
|
134
|
+
default: "px-3 py-0.5 text-xs",
|
|
135
|
+
sm: "px-2 py-0.5 text-[10px]",
|
|
136
|
+
lg: "px-4 py-1 text-sm"
|
|
137
|
+
}
|
|
138
|
+
},
|
|
139
|
+
defaultVariants: {
|
|
140
|
+
variant: "neutral",
|
|
141
|
+
size: "default"
|
|
142
|
+
}
|
|
143
|
+
}
|
|
144
|
+
), L = n.forwardRef(
|
|
145
|
+
({ className: e, variant: t, ...r }, s) => /* @__PURE__ */ a("span", { ref: s, className: o("select-none", Be({ variant: t, className: e })), ...r })
|
|
146
|
+
);
|
|
147
|
+
L.displayName = "Badge";
|
|
148
|
+
const Fe = n.forwardRef(
|
|
149
|
+
({ className: e, ...t }, r) => /* @__PURE__ */ a("div", { ref: r, className: o("space-y-2", e), ...t })
|
|
150
|
+
);
|
|
151
|
+
Fe.displayName = "FormField";
|
|
152
|
+
const Oe = n.forwardRef(({ className: e, requiredMark: t, children: r, ...s }, i) => /* @__PURE__ */ d(
|
|
153
|
+
"label",
|
|
154
|
+
{
|
|
155
|
+
ref: i,
|
|
156
|
+
className: o(
|
|
157
|
+
"flex items-center gap-2 text-sm font-medium text-foreground",
|
|
158
|
+
e
|
|
159
|
+
),
|
|
160
|
+
...s,
|
|
161
|
+
children: [
|
|
162
|
+
/* @__PURE__ */ a("span", { children: r }),
|
|
163
|
+
t ?? null
|
|
164
|
+
]
|
|
165
|
+
}
|
|
166
|
+
));
|
|
167
|
+
Oe.displayName = "FormLabel";
|
|
168
|
+
const He = n.forwardRef(({ className: e, ...t }, r) => /* @__PURE__ */ a("p", { ref: r, className: o("text-xs text-muted-foreground", e), ...t }));
|
|
169
|
+
He.displayName = "FormHelper";
|
|
170
|
+
const Ve = n.forwardRef(({ className: e, ...t }, r) => /* @__PURE__ */ a("p", { ref: r, className: o("flex items-center gap-1 text-xs text-destructive", e), ...t }));
|
|
171
|
+
Ve.displayName = "FormError";
|
|
172
|
+
const Ue = ({
|
|
173
|
+
children: e = "*",
|
|
174
|
+
className: t
|
|
175
|
+
}) => /* @__PURE__ */ a("span", { className: o("text-destructive", t), "aria-hidden": !0, children: e });
|
|
176
|
+
Ue.displayName = "FormRequiredMark";
|
|
177
|
+
function M(e, t) {
|
|
178
|
+
return {
|
|
179
|
+
...{
|
|
180
|
+
backgroundColor: e === "dialog" ? "hsl(var(--background))" : "hsl(var(--popover))",
|
|
181
|
+
color: e === "dialog" ? "hsl(var(--foreground))" : "hsl(var(--popover-foreground))"
|
|
182
|
+
},
|
|
183
|
+
...t
|
|
184
|
+
};
|
|
185
|
+
}
|
|
186
|
+
const Ge = g.Root, fr = g.Group, We = g.Value, Z = n.forwardRef(({ className: e, children: t, ...r }, s) => /* @__PURE__ */ d(
|
|
187
|
+
g.Trigger,
|
|
188
|
+
{
|
|
189
|
+
ref: s,
|
|
190
|
+
className: o(
|
|
191
|
+
"flex h-10 w-full items-center justify-between rounded-md border border-input bg-background px-3 py-2 text-sm ring-offset-background placeholder:text-muted-foreground focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50 [&>span]:line-clamp-1",
|
|
192
|
+
e
|
|
193
|
+
),
|
|
194
|
+
...r,
|
|
195
|
+
children: [
|
|
196
|
+
t,
|
|
197
|
+
/* @__PURE__ */ a(g.Icon, { asChild: !0, children: /* @__PURE__ */ a(
|
|
198
|
+
"svg",
|
|
199
|
+
{
|
|
200
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
201
|
+
width: "16",
|
|
202
|
+
height: "16",
|
|
203
|
+
viewBox: "0 0 24 24",
|
|
204
|
+
fill: "none",
|
|
205
|
+
stroke: "currentColor",
|
|
206
|
+
strokeWidth: "2",
|
|
207
|
+
strokeLinecap: "round",
|
|
208
|
+
strokeLinejoin: "round",
|
|
209
|
+
className: "h-4 w-4 opacity-50",
|
|
210
|
+
children: /* @__PURE__ */ a("polyline", { points: "6 9 12 15 18 9" })
|
|
211
|
+
}
|
|
212
|
+
) })
|
|
213
|
+
]
|
|
214
|
+
}
|
|
215
|
+
));
|
|
216
|
+
Z.displayName = g.Trigger.displayName;
|
|
217
|
+
const J = n.forwardRef(({ className: e, ...t }, r) => /* @__PURE__ */ a(
|
|
218
|
+
g.ScrollUpButton,
|
|
219
|
+
{
|
|
220
|
+
ref: r,
|
|
221
|
+
className: o("flex cursor-default items-center justify-center py-1", e),
|
|
222
|
+
...t,
|
|
223
|
+
children: /* @__PURE__ */ a(
|
|
224
|
+
"svg",
|
|
225
|
+
{
|
|
226
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
227
|
+
width: "16",
|
|
228
|
+
height: "16",
|
|
229
|
+
viewBox: "0 0 24 24",
|
|
230
|
+
fill: "none",
|
|
231
|
+
stroke: "currentColor",
|
|
232
|
+
strokeWidth: "2",
|
|
233
|
+
strokeLinecap: "round",
|
|
234
|
+
strokeLinejoin: "round",
|
|
235
|
+
className: "h-4 w-4",
|
|
236
|
+
children: /* @__PURE__ */ a("polyline", { points: "18 15 12 9 6 15" })
|
|
237
|
+
}
|
|
238
|
+
)
|
|
239
|
+
}
|
|
240
|
+
));
|
|
241
|
+
J.displayName = g.ScrollUpButton.displayName;
|
|
242
|
+
const K = n.forwardRef(({ className: e, ...t }, r) => /* @__PURE__ */ a(
|
|
243
|
+
g.ScrollDownButton,
|
|
244
|
+
{
|
|
245
|
+
ref: r,
|
|
246
|
+
className: o("flex cursor-default items-center justify-center py-1", e),
|
|
247
|
+
...t,
|
|
248
|
+
children: /* @__PURE__ */ a(
|
|
249
|
+
"svg",
|
|
250
|
+
{
|
|
251
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
252
|
+
width: "16",
|
|
253
|
+
height: "16",
|
|
254
|
+
viewBox: "0 0 24 24",
|
|
255
|
+
fill: "none",
|
|
256
|
+
stroke: "currentColor",
|
|
257
|
+
strokeWidth: "2",
|
|
258
|
+
strokeLinecap: "round",
|
|
259
|
+
strokeLinejoin: "round",
|
|
260
|
+
className: "h-4 w-4",
|
|
261
|
+
children: /* @__PURE__ */ a("polyline", { points: "6 9 12 15 18 9" })
|
|
262
|
+
}
|
|
263
|
+
)
|
|
264
|
+
}
|
|
265
|
+
));
|
|
266
|
+
K.displayName = g.ScrollDownButton.displayName;
|
|
267
|
+
const ee = n.forwardRef(({ className: e, children: t, position: r = "popper", style: s, ...i }, l) => /* @__PURE__ */ a(g.Portal, { children: /* @__PURE__ */ d(
|
|
268
|
+
g.Content,
|
|
269
|
+
{
|
|
270
|
+
ref: l,
|
|
271
|
+
className: o(
|
|
272
|
+
"relative z-[200] max-h-96 min-w-[8rem] overflow-hidden rounded-md border bg-popover/100 backdrop-blur-sm text-popover-foreground shadow-lg data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",
|
|
273
|
+
r === "popper" && "data-[side=bottom]:translate-y-1 data-[side=left]:-translate-x-1 data-[side=right]:translate-x-1 data-[side=top]:-translate-y-1",
|
|
274
|
+
e
|
|
275
|
+
),
|
|
276
|
+
position: r,
|
|
277
|
+
style: M("popover", s),
|
|
278
|
+
...i,
|
|
279
|
+
children: [
|
|
280
|
+
/* @__PURE__ */ a(J, {}),
|
|
281
|
+
/* @__PURE__ */ a(
|
|
282
|
+
g.Viewport,
|
|
283
|
+
{
|
|
284
|
+
className: o(
|
|
285
|
+
"p-1 bg-popover/100",
|
|
286
|
+
r === "popper" && "h-[var(--radix-select-trigger-height)] w-full min-w-[var(--radix-select-trigger-width)]"
|
|
287
|
+
),
|
|
288
|
+
children: t
|
|
289
|
+
}
|
|
290
|
+
),
|
|
291
|
+
/* @__PURE__ */ a(K, {})
|
|
292
|
+
]
|
|
293
|
+
}
|
|
294
|
+
) }));
|
|
295
|
+
ee.displayName = g.Content.displayName;
|
|
296
|
+
const qe = n.forwardRef(({ className: e, ...t }, r) => /* @__PURE__ */ a(
|
|
297
|
+
g.Label,
|
|
298
|
+
{
|
|
299
|
+
ref: r,
|
|
300
|
+
className: o("py-1.5 pl-8 pr-2 text-sm font-semibold", e),
|
|
301
|
+
...t
|
|
302
|
+
}
|
|
303
|
+
));
|
|
304
|
+
qe.displayName = g.Label.displayName;
|
|
305
|
+
const H = n.forwardRef(({ className: e, children: t, ...r }, s) => /* @__PURE__ */ d(
|
|
306
|
+
g.Item,
|
|
307
|
+
{
|
|
308
|
+
ref: s,
|
|
309
|
+
className: o(
|
|
310
|
+
"relative flex w-full cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",
|
|
311
|
+
e
|
|
312
|
+
),
|
|
313
|
+
...r,
|
|
314
|
+
children: [
|
|
315
|
+
/* @__PURE__ */ a("span", { className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ a(g.ItemIndicator, { children: /* @__PURE__ */ a(
|
|
316
|
+
"svg",
|
|
317
|
+
{
|
|
318
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
319
|
+
width: "16",
|
|
320
|
+
height: "16",
|
|
321
|
+
viewBox: "0 0 24 24",
|
|
322
|
+
fill: "none",
|
|
323
|
+
stroke: "currentColor",
|
|
324
|
+
strokeWidth: "2",
|
|
325
|
+
strokeLinecap: "round",
|
|
326
|
+
strokeLinejoin: "round",
|
|
327
|
+
className: "h-4 w-4",
|
|
328
|
+
children: /* @__PURE__ */ a("polyline", { points: "20 6 9 17 4 12" })
|
|
329
|
+
}
|
|
330
|
+
) }) }),
|
|
331
|
+
/* @__PURE__ */ a(g.ItemText, { children: t })
|
|
332
|
+
]
|
|
333
|
+
}
|
|
334
|
+
));
|
|
335
|
+
H.displayName = g.Item.displayName;
|
|
336
|
+
const Ye = n.forwardRef(({ className: e, ...t }, r) => /* @__PURE__ */ a(
|
|
337
|
+
g.Separator,
|
|
338
|
+
{
|
|
339
|
+
ref: r,
|
|
340
|
+
className: o("-mx-1 my-1 h-px bg-muted", e),
|
|
341
|
+
...t
|
|
342
|
+
}
|
|
343
|
+
));
|
|
344
|
+
Ye.displayName = g.Separator.displayName;
|
|
345
|
+
const ur = f.Root, gr = f.Trigger, Xe = f.Portal, pr = f.Close, te = n.forwardRef(({ className: e, style: t, ...r }, s) => /* @__PURE__ */ a(
|
|
346
|
+
f.Overlay,
|
|
347
|
+
{
|
|
348
|
+
ref: s,
|
|
349
|
+
className: o(
|
|
350
|
+
"fixed top-0 right-0 bottom-0 left-0 bg-black/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",
|
|
351
|
+
e
|
|
352
|
+
),
|
|
353
|
+
style: {
|
|
354
|
+
backgroundColor: "rgba(0, 0, 0, 0.8)",
|
|
355
|
+
zIndex: 110,
|
|
356
|
+
pointerEvents: "auto",
|
|
357
|
+
...t
|
|
358
|
+
},
|
|
359
|
+
...r
|
|
360
|
+
}
|
|
361
|
+
));
|
|
362
|
+
te.displayName = f.Overlay.displayName;
|
|
363
|
+
const $e = n.forwardRef(({ className: e, children: t, overlayClassName: r, style: s, onPointerDownOutside: i, onInteractOutside: l, ...b }, m) => /* @__PURE__ */ d(Xe, { children: [
|
|
364
|
+
/* @__PURE__ */ a(te, { className: r }),
|
|
365
|
+
/* @__PURE__ */ d(
|
|
366
|
+
f.Content,
|
|
367
|
+
{
|
|
368
|
+
ref: m,
|
|
369
|
+
className: o(
|
|
370
|
+
"fixed grid w-full max-w-lg gap-4 border bg-background p-6 shadow-lg duration-200 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 sm:rounded-lg",
|
|
371
|
+
e
|
|
372
|
+
),
|
|
373
|
+
style: M("dialog", {
|
|
374
|
+
left: "50%",
|
|
375
|
+
top: "50%",
|
|
376
|
+
transform: "translate(-50%, -50%)",
|
|
377
|
+
zIndex: 120,
|
|
378
|
+
isolation: "isolate",
|
|
379
|
+
...s
|
|
380
|
+
}),
|
|
381
|
+
onPointerDownOutside: (c) => {
|
|
382
|
+
const p = c.target;
|
|
383
|
+
(p.closest("[data-radix-select-content]") || p.closest('[role="listbox"]') || p.closest("[data-radix-popper-content-wrapper]")) && c.preventDefault(), i == null || i(c);
|
|
384
|
+
},
|
|
385
|
+
onInteractOutside: (c) => {
|
|
386
|
+
const p = c.target;
|
|
387
|
+
(p.closest("[data-radix-select-content]") || p.closest('[role="listbox"]') || p.closest("[data-radix-popper-content-wrapper]")) && c.preventDefault(), l == null || l(c);
|
|
388
|
+
},
|
|
389
|
+
...b,
|
|
390
|
+
children: [
|
|
391
|
+
t,
|
|
392
|
+
/* @__PURE__ */ a(
|
|
393
|
+
f.Close,
|
|
394
|
+
{
|
|
395
|
+
className: "absolute right-4 top-4 inline-flex h-9 w-9 items-center justify-center rounded-full border border-border/50 bg-background text-foreground/80 shadow-sm transition-all hover:border-destructive hover:bg-destructive hover:text-white focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none",
|
|
396
|
+
"aria-label": "閉じる",
|
|
397
|
+
children: /* @__PURE__ */ a("svg", { width: "18", height: "18", viewBox: "0 0 15 15", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: /* @__PURE__ */ a("path", { d: "M11.7816 4.03157C12.0062 3.80702 12.0062 3.44295 11.7816 3.2184C11.5571 2.99385 11.193 2.99385 10.9685 3.2184L7.50005 6.68682L4.03164 3.2184C3.80708 2.99385 3.44301 2.99385 3.21846 3.2184C2.99391 3.44295 2.99391 3.80702 3.21846 4.03157L6.68688 7.49999L3.21846 10.9684C2.99391 11.193 2.99391 11.557 3.21846 11.7816C3.44301 12.0061 3.80708 12.0061 4.03164 11.7816L7.50005 8.31316L10.9685 11.7816C11.193 12.0061 11.5571 12.0061 11.7816 11.7816C12.0062 11.557 12.0062 11.193 11.7816 10.9684L8.31322 7.49999L11.7816 4.03157Z", fill: "currentColor", fillRule: "evenodd", clipRule: "evenodd" }) })
|
|
398
|
+
}
|
|
399
|
+
)
|
|
400
|
+
]
|
|
401
|
+
}
|
|
402
|
+
)
|
|
403
|
+
] }));
|
|
404
|
+
$e.displayName = f.Content.displayName;
|
|
405
|
+
const Qe = ({ className: e, ...t }) => /* @__PURE__ */ a("div", { className: o("flex flex-col space-y-1.5 text-center sm:text-left", e), ...t });
|
|
406
|
+
Qe.displayName = "DialogHeader";
|
|
407
|
+
const Ze = ({ className: e, ...t }) => /* @__PURE__ */ a("div", { className: o("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2", e), ...t });
|
|
408
|
+
Ze.displayName = "DialogFooter";
|
|
409
|
+
const Je = n.forwardRef(({ className: e, ...t }, r) => /* @__PURE__ */ a(
|
|
410
|
+
f.Title,
|
|
411
|
+
{
|
|
412
|
+
ref: r,
|
|
413
|
+
className: o("text-lg font-semibold leading-none tracking-tight", e),
|
|
414
|
+
...t
|
|
415
|
+
}
|
|
416
|
+
));
|
|
417
|
+
Je.displayName = f.Title.displayName;
|
|
418
|
+
const Ke = n.forwardRef(({ className: e, ...t }, r) => /* @__PURE__ */ a(
|
|
419
|
+
f.Description,
|
|
420
|
+
{
|
|
421
|
+
ref: r,
|
|
422
|
+
className: o("text-sm text-muted-foreground", e),
|
|
423
|
+
...t
|
|
424
|
+
}
|
|
425
|
+
));
|
|
426
|
+
Ke.displayName = f.Description.displayName;
|
|
427
|
+
const br = u.Root, hr = u.Trigger, yr = u.Group, xr = u.Portal, vr = u.Sub, wr = u.RadioGroup, et = n.forwardRef(({ className: e, inset: t, children: r, ...s }, i) => /* @__PURE__ */ d(
|
|
428
|
+
u.SubTrigger,
|
|
429
|
+
{
|
|
430
|
+
ref: i,
|
|
431
|
+
className: o(
|
|
432
|
+
"flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none focus:bg-accent data-[state=open]:bg-accent",
|
|
433
|
+
t && "pl-8",
|
|
434
|
+
e
|
|
435
|
+
),
|
|
436
|
+
...s,
|
|
437
|
+
children: [
|
|
438
|
+
r,
|
|
439
|
+
/* @__PURE__ */ a(ke, { className: "ml-auto h-4 w-4" })
|
|
440
|
+
]
|
|
441
|
+
}
|
|
442
|
+
));
|
|
443
|
+
et.displayName = u.SubTrigger.displayName;
|
|
444
|
+
const tt = n.forwardRef(({ className: e, style: t, ...r }, s) => /* @__PURE__ */ a(
|
|
445
|
+
u.SubContent,
|
|
446
|
+
{
|
|
447
|
+
ref: s,
|
|
448
|
+
className: o(
|
|
449
|
+
"z-50 min-w-[8rem] overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-lg data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",
|
|
450
|
+
e
|
|
451
|
+
),
|
|
452
|
+
style: M("popover", t),
|
|
453
|
+
...r
|
|
454
|
+
}
|
|
455
|
+
));
|
|
456
|
+
tt.displayName = u.SubContent.displayName;
|
|
457
|
+
const rt = n.forwardRef(({ className: e, sideOffset: t = 4, style: r, ...s }, i) => /* @__PURE__ */ a(u.Portal, { children: /* @__PURE__ */ a(
|
|
458
|
+
u.Content,
|
|
459
|
+
{
|
|
460
|
+
ref: i,
|
|
461
|
+
sideOffset: t,
|
|
462
|
+
className: o(
|
|
463
|
+
"z-50 min-w-[8rem] overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-md data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",
|
|
464
|
+
e
|
|
465
|
+
),
|
|
466
|
+
style: M("popover", r),
|
|
467
|
+
...s
|
|
468
|
+
}
|
|
469
|
+
) }));
|
|
470
|
+
rt.displayName = u.Content.displayName;
|
|
471
|
+
const at = n.forwardRef(({ className: e, inset: t, ...r }, s) => /* @__PURE__ */ a(
|
|
472
|
+
u.Item,
|
|
473
|
+
{
|
|
474
|
+
ref: s,
|
|
475
|
+
className: o(
|
|
476
|
+
"relative flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",
|
|
477
|
+
t && "pl-8",
|
|
478
|
+
e
|
|
479
|
+
),
|
|
480
|
+
...r
|
|
481
|
+
}
|
|
482
|
+
));
|
|
483
|
+
at.displayName = u.Item.displayName;
|
|
484
|
+
const ot = n.forwardRef(({ className: e, children: t, checked: r, ...s }, i) => /* @__PURE__ */ d(
|
|
485
|
+
u.CheckboxItem,
|
|
486
|
+
{
|
|
487
|
+
ref: i,
|
|
488
|
+
className: o(
|
|
489
|
+
"relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",
|
|
490
|
+
e
|
|
491
|
+
),
|
|
492
|
+
checked: r,
|
|
493
|
+
...s,
|
|
494
|
+
children: [
|
|
495
|
+
/* @__PURE__ */ a("span", { className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ a(u.ItemIndicator, { children: /* @__PURE__ */ a(Te, { className: "h-4 w-4" }) }) }),
|
|
496
|
+
t
|
|
497
|
+
]
|
|
498
|
+
}
|
|
499
|
+
));
|
|
500
|
+
ot.displayName = u.CheckboxItem.displayName;
|
|
501
|
+
const st = n.forwardRef(({ className: e, children: t, ...r }, s) => /* @__PURE__ */ d(
|
|
502
|
+
u.RadioItem,
|
|
503
|
+
{
|
|
504
|
+
ref: s,
|
|
505
|
+
className: o(
|
|
506
|
+
"relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",
|
|
507
|
+
e
|
|
508
|
+
),
|
|
509
|
+
...r,
|
|
510
|
+
children: [
|
|
511
|
+
/* @__PURE__ */ a("span", { className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ a(u.ItemIndicator, { children: /* @__PURE__ */ a(Re, { className: "h-2 w-2 fill-current" }) }) }),
|
|
512
|
+
t
|
|
513
|
+
]
|
|
514
|
+
}
|
|
515
|
+
));
|
|
516
|
+
st.displayName = u.RadioItem.displayName;
|
|
517
|
+
const nt = n.forwardRef(({ className: e, inset: t, ...r }, s) => /* @__PURE__ */ a(
|
|
518
|
+
u.Label,
|
|
519
|
+
{
|
|
520
|
+
ref: s,
|
|
521
|
+
className: o(
|
|
522
|
+
"px-2 py-1.5 text-sm font-semibold",
|
|
523
|
+
t && "pl-8",
|
|
524
|
+
e
|
|
525
|
+
),
|
|
526
|
+
...r
|
|
527
|
+
}
|
|
528
|
+
));
|
|
529
|
+
nt.displayName = u.Label.displayName;
|
|
530
|
+
const it = n.forwardRef(({ className: e, ...t }, r) => /* @__PURE__ */ a(
|
|
531
|
+
u.Separator,
|
|
532
|
+
{
|
|
533
|
+
ref: r,
|
|
534
|
+
className: o("-mx-1 my-1 h-px bg-muted", e),
|
|
535
|
+
...t
|
|
536
|
+
}
|
|
537
|
+
));
|
|
538
|
+
it.displayName = u.Separator.displayName;
|
|
539
|
+
const dt = ({
|
|
540
|
+
className: e,
|
|
541
|
+
...t
|
|
542
|
+
}) => /* @__PURE__ */ a(
|
|
543
|
+
"span",
|
|
544
|
+
{
|
|
545
|
+
className: o("ml-auto text-xs tracking-widest opacity-60", e),
|
|
546
|
+
...t
|
|
547
|
+
}
|
|
548
|
+
);
|
|
549
|
+
dt.displayName = "DropdownMenuShortcut";
|
|
550
|
+
const lt = n.forwardRef(
|
|
551
|
+
({ eyebrow: e, title: t, description: r, actions: s, className: i, ...l }, b) => /* @__PURE__ */ d(
|
|
552
|
+
"div",
|
|
553
|
+
{
|
|
554
|
+
ref: b,
|
|
555
|
+
className: o("flex flex-col gap-3 sm:flex-row sm:items-end sm:justify-between", i),
|
|
556
|
+
...l,
|
|
557
|
+
children: [
|
|
558
|
+
/* @__PURE__ */ d("div", { className: "space-y-2", children: [
|
|
559
|
+
e ? /* @__PURE__ */ a("span", { className: "text-xs font-semibold uppercase tracking-[0.2em] text-muted-foreground", children: e }) : null,
|
|
560
|
+
/* @__PURE__ */ d("div", { className: "space-y-2", children: [
|
|
561
|
+
/* @__PURE__ */ a("h2", { className: "text-3xl font-semibold tracking-tight text-foreground sm:text-4xl", children: t }),
|
|
562
|
+
r ? /* @__PURE__ */ a("p", { className: "max-w-2xl text-sm text-muted-foreground sm:text-base", children: r }) : null
|
|
563
|
+
] })
|
|
564
|
+
] }),
|
|
565
|
+
s ? /* @__PURE__ */ a("div", { className: "flex items-center gap-3", children: s }) : null
|
|
566
|
+
]
|
|
567
|
+
}
|
|
568
|
+
)
|
|
569
|
+
);
|
|
570
|
+
lt.displayName = "SectionHeading";
|
|
571
|
+
const ct = {
|
|
572
|
+
complete: "border-success/40 bg-success/15 text-success-foreground",
|
|
573
|
+
current: "border-primary/40 bg-primary/10 text-primary",
|
|
574
|
+
upcoming: "border-outline/60 bg-surface-subtle text-muted-foreground"
|
|
575
|
+
}, mt = {
|
|
576
|
+
complete: /* @__PURE__ */ a(L, { variant: "success", children: "完了" }),
|
|
577
|
+
current: /* @__PURE__ */ a(L, { variant: "info", children: "進行中" }),
|
|
578
|
+
upcoming: /* @__PURE__ */ a(L, { variant: "neutral", children: "準備中" })
|
|
579
|
+
}, ft = n.forwardRef(
|
|
580
|
+
({ steps: e, className: t, ...r }, s) => /* @__PURE__ */ a(
|
|
581
|
+
"ol",
|
|
582
|
+
{
|
|
583
|
+
ref: s,
|
|
584
|
+
className: o(
|
|
585
|
+
"grid grid-cols-3 gap-3 rounded-xl border border-outline/60 bg-surface-subtle p-4 shadow-sm",
|
|
586
|
+
t
|
|
587
|
+
),
|
|
588
|
+
...r,
|
|
589
|
+
children: e.map((i) => {
|
|
590
|
+
const l = i.state ?? "upcoming";
|
|
591
|
+
return /* @__PURE__ */ d(
|
|
592
|
+
"li",
|
|
593
|
+
{
|
|
594
|
+
className: o(
|
|
595
|
+
"rounded-lg border p-4 transition-colors",
|
|
596
|
+
ct[l]
|
|
597
|
+
),
|
|
598
|
+
"data-state": l,
|
|
599
|
+
children: [
|
|
600
|
+
/* @__PURE__ */ d("div", { className: "flex items-center justify-between gap-2", children: [
|
|
601
|
+
/* @__PURE__ */ a("span", { className: "text-sm font-semibold tracking-wide text-foreground", children: i.title }),
|
|
602
|
+
mt[l]
|
|
603
|
+
] }),
|
|
604
|
+
i.description ? /* @__PURE__ */ a("p", { className: "mt-2 text-xs text-muted-foreground", children: i.description }) : null
|
|
605
|
+
]
|
|
606
|
+
},
|
|
607
|
+
i.id
|
|
608
|
+
);
|
|
609
|
+
})
|
|
610
|
+
}
|
|
611
|
+
)
|
|
612
|
+
);
|
|
613
|
+
ft.displayName = "StepIndicator";
|
|
614
|
+
const ut = n.forwardRef(
|
|
615
|
+
({ className: e, ...t }, r) => /* @__PURE__ */ a(
|
|
616
|
+
"div",
|
|
617
|
+
{
|
|
618
|
+
ref: r,
|
|
619
|
+
className: o("animate-shimmer rounded-md bg-surface-subtle/80 bg-gradient-to-r from-surface-subtle via-surface-raised/80 to-surface-subtle", e),
|
|
620
|
+
...t
|
|
621
|
+
}
|
|
622
|
+
)
|
|
623
|
+
);
|
|
624
|
+
ut.displayName = "Skeleton";
|
|
625
|
+
const gt = h.Provider, re = n.forwardRef(({ className: e, ...t }, r) => /* @__PURE__ */ a(
|
|
626
|
+
h.Viewport,
|
|
627
|
+
{
|
|
628
|
+
ref: r,
|
|
629
|
+
className: o(
|
|
630
|
+
"fixed left-4 right-4 bottom-4 z-[100] flex max-h-[calc(100vh-2rem)] flex-col gap-3 p-0 sm:left-auto sm:right-6 sm:bottom-6 sm:w-[380px]",
|
|
631
|
+
e
|
|
632
|
+
),
|
|
633
|
+
...t
|
|
634
|
+
}
|
|
635
|
+
));
|
|
636
|
+
re.displayName = h.Viewport.displayName;
|
|
637
|
+
const pt = R(
|
|
638
|
+
"group pointer-events-auto relative flex w-full items-start gap-3 overflow-hidden rounded-xl border p-4 shadow-lg transition-all data-[swipe=cancel]:translate-x-0 data-[swipe=end]:translate-x-[var(--radix-toast-swipe-end-x)] data-[swipe=move]:translate-x-[var(--radix-toast-swipe-move-x)] data-[swipe=move]:transition-none data-[state=open]:animate-in data-[state=closed]:animate-out data-[swipe=end]:animate-out data-[state=closed]:fade-out-80 data-[state=closed]:slide-out-to-right-full data-[state=open]:slide-in-from-top-full data-[state=open]:sm:slide-in-from-bottom-full",
|
|
639
|
+
{
|
|
640
|
+
variants: {
|
|
641
|
+
variant: {
|
|
642
|
+
default: "border-gray-200 bg-white text-gray-950 dark:border-gray-800 dark:bg-gray-950 dark:text-gray-50",
|
|
643
|
+
destructive: "destructive group border-red-500 bg-red-500 text-gray-50 dark:border-red-900 dark:bg-red-900 dark:text-gray-50",
|
|
644
|
+
info: "border-blue-200 bg-blue-50 text-blue-900 dark:border-blue-900 dark:bg-blue-950 dark:text-blue-50",
|
|
645
|
+
success: "border-green-200 bg-green-50 text-green-900 dark:border-green-900 dark:bg-green-950 dark:text-green-50",
|
|
646
|
+
warning: "border-yellow-200 bg-yellow-50 text-yellow-900 dark:border-yellow-900 dark:bg-yellow-950 dark:text-yellow-50",
|
|
647
|
+
loading: "border-gray-200 bg-gray-50 text-gray-900 dark:border-gray-800 dark:bg-gray-900 dark:text-gray-50 shadow-md animate-pulse"
|
|
648
|
+
}
|
|
649
|
+
},
|
|
650
|
+
defaultVariants: {
|
|
651
|
+
variant: "default"
|
|
652
|
+
}
|
|
653
|
+
}
|
|
654
|
+
), ae = n.forwardRef(({ className: e, variant: t, ...r }, s) => /* @__PURE__ */ a(h.Root, { ref: s, className: o(pt({ variant: t }), e), ...r }));
|
|
655
|
+
ae.displayName = h.Root.displayName;
|
|
656
|
+
const bt = n.forwardRef(({ className: e, ...t }, r) => /* @__PURE__ */ a(
|
|
657
|
+
h.Action,
|
|
658
|
+
{
|
|
659
|
+
ref: r,
|
|
660
|
+
className: o(
|
|
661
|
+
"inline-flex h-9 shrink-0 items-center justify-center gap-2 rounded-full border border-outline/60 bg-transparent px-3 text-sm font-medium transition-colors hover:bg-foreground/10 focus:outline-none focus:ring-2 focus:ring-focus-ring focus:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 group-[.destructive]:border-destructive/40 group-[.destructive]:hover:bg-destructive/20 group-[.destructive]:focus:ring-destructive group-[.info]:border-info/50 group-[.success]:border-success/50 group-[.warning]:border-warning/60",
|
|
662
|
+
e
|
|
663
|
+
),
|
|
664
|
+
...t
|
|
665
|
+
}
|
|
666
|
+
));
|
|
667
|
+
bt.displayName = h.Action.displayName;
|
|
668
|
+
const oe = n.forwardRef(({ className: e, ...t }, r) => /* @__PURE__ */ a(
|
|
669
|
+
h.Close,
|
|
670
|
+
{
|
|
671
|
+
ref: r,
|
|
672
|
+
className: o(
|
|
673
|
+
"shrink-0 rounded-full p-1.5 text-foreground/60 opacity-70 transition-opacity hover:opacity-100 hover:text-foreground focus:outline-none focus:ring-2 focus:ring-focus-ring focus:ring-offset-2 group-[.destructive]:text-destructive-foreground group-[.destructive]:hover:text-destructive-foreground/80 group-[.info]:text-info-foreground group-[.success]:text-success-foreground group-[.warning]:text-warning-foreground",
|
|
674
|
+
e
|
|
675
|
+
),
|
|
676
|
+
"toast-close": "",
|
|
677
|
+
...t,
|
|
678
|
+
children: /* @__PURE__ */ d(
|
|
679
|
+
"svg",
|
|
680
|
+
{
|
|
681
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
682
|
+
width: "16",
|
|
683
|
+
height: "16",
|
|
684
|
+
viewBox: "0 0 24 24",
|
|
685
|
+
fill: "none",
|
|
686
|
+
stroke: "currentColor",
|
|
687
|
+
strokeWidth: "2",
|
|
688
|
+
strokeLinecap: "round",
|
|
689
|
+
strokeLinejoin: "round",
|
|
690
|
+
className: "h-4 w-4",
|
|
691
|
+
children: [
|
|
692
|
+
/* @__PURE__ */ a("line", { x1: "18", y1: "6", x2: "6", y2: "18" }),
|
|
693
|
+
/* @__PURE__ */ a("line", { x1: "6", y1: "6", x2: "18", y2: "18" })
|
|
694
|
+
]
|
|
695
|
+
}
|
|
696
|
+
)
|
|
697
|
+
}
|
|
698
|
+
));
|
|
699
|
+
oe.displayName = h.Close.displayName;
|
|
700
|
+
const se = n.forwardRef(({ className: e, ...t }, r) => /* @__PURE__ */ a(h.Title, { ref: r, className: o("flex items-center gap-2 text-sm font-semibold", e), ...t }));
|
|
701
|
+
se.displayName = h.Title.displayName;
|
|
702
|
+
const ne = n.forwardRef(({ className: e, ...t }, r) => /* @__PURE__ */ a(h.Description, { ref: r, className: o("text-sm text-foreground/80", e), ...t }));
|
|
703
|
+
ne.displayName = h.Description.displayName;
|
|
704
|
+
const ht = 5, yt = 5e3;
|
|
705
|
+
let z = 0;
|
|
706
|
+
function xt() {
|
|
707
|
+
return z = (z + 1) % Number.MAX_VALUE, z.toString();
|
|
708
|
+
}
|
|
709
|
+
const j = /* @__PURE__ */ new Map(), Y = (e) => {
|
|
710
|
+
if (j.has(e))
|
|
711
|
+
return;
|
|
712
|
+
const t = setTimeout(() => {
|
|
713
|
+
j.delete(e), C({
|
|
714
|
+
type: "REMOVE_TOAST",
|
|
715
|
+
toastId: e
|
|
716
|
+
});
|
|
717
|
+
}, yt);
|
|
718
|
+
j.set(e, t);
|
|
719
|
+
}, vt = (e, t) => {
|
|
720
|
+
switch (t.type) {
|
|
721
|
+
case "ADD_TOAST":
|
|
722
|
+
return {
|
|
723
|
+
...e,
|
|
724
|
+
toasts: [t.toast, ...e.toasts].slice(0, ht)
|
|
725
|
+
};
|
|
726
|
+
case "UPDATE_TOAST":
|
|
727
|
+
return {
|
|
728
|
+
...e,
|
|
729
|
+
toasts: e.toasts.map((r) => r.id === t.toast.id ? { ...r, ...t.toast } : r)
|
|
730
|
+
};
|
|
731
|
+
case "DISMISS_TOAST": {
|
|
732
|
+
const { toastId: r } = t;
|
|
733
|
+
return r ? Y(r) : e.toasts.forEach((s) => {
|
|
734
|
+
Y(s.id);
|
|
735
|
+
}), {
|
|
736
|
+
...e,
|
|
737
|
+
toasts: e.toasts.map(
|
|
738
|
+
(s) => s.id === r || r === void 0 ? {
|
|
739
|
+
...s,
|
|
740
|
+
open: !1
|
|
741
|
+
} : s
|
|
742
|
+
)
|
|
743
|
+
};
|
|
744
|
+
}
|
|
745
|
+
case "REMOVE_TOAST":
|
|
746
|
+
return t.toastId === void 0 ? {
|
|
747
|
+
...e,
|
|
748
|
+
toasts: []
|
|
749
|
+
} : {
|
|
750
|
+
...e,
|
|
751
|
+
toasts: e.toasts.filter((r) => r.id !== t.toastId)
|
|
752
|
+
};
|
|
753
|
+
}
|
|
754
|
+
}, P = [];
|
|
755
|
+
let _ = { toasts: [] };
|
|
756
|
+
function C(e) {
|
|
757
|
+
_ = vt(_, e), P.forEach((t) => {
|
|
758
|
+
t(_);
|
|
759
|
+
});
|
|
760
|
+
}
|
|
761
|
+
function wt({ ...e }) {
|
|
762
|
+
const t = xt(), r = (i) => C({
|
|
763
|
+
type: "UPDATE_TOAST",
|
|
764
|
+
toast: { ...i, id: t }
|
|
765
|
+
}), s = () => C({ type: "DISMISS_TOAST", toastId: t });
|
|
766
|
+
return C({
|
|
767
|
+
type: "ADD_TOAST",
|
|
768
|
+
toast: {
|
|
769
|
+
...e,
|
|
770
|
+
id: t,
|
|
771
|
+
open: !0,
|
|
772
|
+
onOpenChange: (i) => {
|
|
773
|
+
i || s();
|
|
774
|
+
}
|
|
775
|
+
}
|
|
776
|
+
}), {
|
|
777
|
+
id: t,
|
|
778
|
+
dismiss: s,
|
|
779
|
+
update: r
|
|
780
|
+
};
|
|
781
|
+
}
|
|
782
|
+
function Nt() {
|
|
783
|
+
const [e, t] = n.useState(_);
|
|
784
|
+
return n.useEffect(() => (P.push(t), () => {
|
|
785
|
+
const r = P.indexOf(t);
|
|
786
|
+
r > -1 && P.splice(r, 1);
|
|
787
|
+
}), [e]), {
|
|
788
|
+
...e,
|
|
789
|
+
toast: wt,
|
|
790
|
+
dismiss: (r) => C({ type: "DISMISS_TOAST", toastId: r })
|
|
791
|
+
};
|
|
792
|
+
}
|
|
793
|
+
function Nr() {
|
|
794
|
+
const { toasts: e } = Nt();
|
|
795
|
+
return /* @__PURE__ */ d(gt, { children: [
|
|
796
|
+
e.map(function({ id: t, title: r, description: s, action: i, ...l }) {
|
|
797
|
+
return /* @__PURE__ */ d(ae, { ...l, children: [
|
|
798
|
+
/* @__PURE__ */ d("div", { className: "grid gap-1 flex-1 min-w-0", children: [
|
|
799
|
+
r && /* @__PURE__ */ a(se, { children: r }),
|
|
800
|
+
s && /* @__PURE__ */ a(ne, { children: s })
|
|
801
|
+
] }),
|
|
802
|
+
i,
|
|
803
|
+
/* @__PURE__ */ a(oe, {})
|
|
804
|
+
] }, t);
|
|
805
|
+
}),
|
|
806
|
+
/* @__PURE__ */ a(re, {})
|
|
807
|
+
] });
|
|
808
|
+
}
|
|
809
|
+
const kt = R(
|
|
810
|
+
"relative w-full rounded-lg border p-4 [&>svg~*]:pl-7 [&>svg+div]:translate-y-[-3px] [&>svg]:absolute [&>svg]:left-4 [&>svg]:top-4 [&>svg]:text-foreground",
|
|
811
|
+
{
|
|
812
|
+
variants: {
|
|
813
|
+
variant: {
|
|
814
|
+
default: "bg-background text-foreground",
|
|
815
|
+
destructive: "border-destructive/50 text-destructive dark:border-destructive [&>svg]:text-destructive",
|
|
816
|
+
info: "border-blue-500/50 text-blue-700 dark:border-blue-500 [&>svg]:text-blue-700 dark:text-blue-400 dark:[&>svg]:text-blue-400",
|
|
817
|
+
success: "border-green-500/50 text-green-700 dark:border-green-500 [&>svg]:text-green-700 dark:text-green-400 dark:[&>svg]:text-green-400",
|
|
818
|
+
warning: "border-yellow-500/50 text-yellow-700 dark:border-yellow-500 [&>svg]:text-yellow-700 dark:text-yellow-400 dark:[&>svg]:text-yellow-400"
|
|
819
|
+
}
|
|
820
|
+
},
|
|
821
|
+
defaultVariants: {
|
|
822
|
+
variant: "default"
|
|
823
|
+
}
|
|
824
|
+
}
|
|
825
|
+
), Tt = U.forwardRef(
|
|
826
|
+
({ className: e, variant: t, ...r }, s) => /* @__PURE__ */ a(
|
|
827
|
+
"div",
|
|
828
|
+
{
|
|
829
|
+
ref: s,
|
|
830
|
+
role: "alert",
|
|
831
|
+
className: o(kt({ variant: t }), e),
|
|
832
|
+
...r
|
|
833
|
+
}
|
|
834
|
+
)
|
|
835
|
+
);
|
|
836
|
+
Tt.displayName = "Alert";
|
|
837
|
+
const Rt = U.forwardRef(({ className: e, ...t }, r) => /* @__PURE__ */ a(
|
|
838
|
+
"h5",
|
|
839
|
+
{
|
|
840
|
+
ref: r,
|
|
841
|
+
className: o("mb-1 font-medium leading-none tracking-tight", e),
|
|
842
|
+
...t
|
|
843
|
+
}
|
|
844
|
+
));
|
|
845
|
+
Rt.displayName = "AlertTitle";
|
|
846
|
+
const St = U.forwardRef(({ className: e, ...t }, r) => /* @__PURE__ */ a(
|
|
847
|
+
"div",
|
|
848
|
+
{
|
|
849
|
+
ref: r,
|
|
850
|
+
className: o("text-sm [&_p]:leading-relaxed", e),
|
|
851
|
+
...t
|
|
852
|
+
}
|
|
853
|
+
));
|
|
854
|
+
St.displayName = "AlertDescription";
|
|
855
|
+
const kr = k.Root, Ct = n.forwardRef(({ className: e, ...t }, r) => /* @__PURE__ */ a(
|
|
856
|
+
k.List,
|
|
857
|
+
{
|
|
858
|
+
ref: r,
|
|
859
|
+
className: o(
|
|
860
|
+
"inline-flex h-10 items-center justify-center rounded-md bg-surface-raised p-1 text-muted-foreground border border-outline/20",
|
|
861
|
+
e
|
|
862
|
+
),
|
|
863
|
+
...t
|
|
864
|
+
}
|
|
865
|
+
));
|
|
866
|
+
Ct.displayName = k.List.displayName;
|
|
867
|
+
const Dt = n.forwardRef(({ className: e, ...t }, r) => /* @__PURE__ */ a(
|
|
868
|
+
k.Trigger,
|
|
869
|
+
{
|
|
870
|
+
ref: r,
|
|
871
|
+
className: o(
|
|
872
|
+
"inline-flex items-center justify-center whitespace-nowrap rounded-sm px-3 py-1.5 text-sm font-medium ring-offset-background transition-all focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50",
|
|
873
|
+
"state-active:bg-background state-active:text-foreground state-active:font-semibold state-active:shadow-sm",
|
|
874
|
+
e
|
|
875
|
+
),
|
|
876
|
+
...t
|
|
877
|
+
}
|
|
878
|
+
));
|
|
879
|
+
Dt.displayName = k.Trigger.displayName;
|
|
880
|
+
const It = n.forwardRef(({ className: e, ...t }, r) => /* @__PURE__ */ a(
|
|
881
|
+
k.Content,
|
|
882
|
+
{
|
|
883
|
+
ref: r,
|
|
884
|
+
className: o(
|
|
885
|
+
"mt-2 ring-offset-background focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2",
|
|
886
|
+
e
|
|
887
|
+
),
|
|
888
|
+
...t
|
|
889
|
+
}
|
|
890
|
+
));
|
|
891
|
+
It.displayName = k.Content.displayName;
|
|
892
|
+
const Lt = () => /* @__PURE__ */ a(
|
|
893
|
+
"svg",
|
|
894
|
+
{
|
|
895
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
896
|
+
width: "16",
|
|
897
|
+
height: "16",
|
|
898
|
+
viewBox: "0 0 24 24",
|
|
899
|
+
fill: "none",
|
|
900
|
+
stroke: "currentColor",
|
|
901
|
+
strokeWidth: "2",
|
|
902
|
+
strokeLinecap: "round",
|
|
903
|
+
strokeLinejoin: "round",
|
|
904
|
+
className: "h-4 w-4 shrink-0 transition-transform duration-200",
|
|
905
|
+
children: /* @__PURE__ */ a("polyline", { points: "6 9 12 15 18 9" })
|
|
906
|
+
}
|
|
907
|
+
), Tr = N.Root, Pt = n.forwardRef(({ className: e, ...t }, r) => /* @__PURE__ */ a(N.Item, { ref: r, className: o("border-b", e), ...t }));
|
|
908
|
+
Pt.displayName = "AccordionItem";
|
|
909
|
+
const _t = n.forwardRef(({ className: e, children: t, ...r }, s) => /* @__PURE__ */ a(N.Header, { className: "flex", children: /* @__PURE__ */ d(
|
|
910
|
+
N.Trigger,
|
|
911
|
+
{
|
|
912
|
+
ref: s,
|
|
913
|
+
className: o(
|
|
914
|
+
"flex flex-1 items-center justify-between py-4 font-medium transition-all hover:underline [&[data-state=open]>svg]:rotate-180",
|
|
915
|
+
e
|
|
916
|
+
),
|
|
917
|
+
...r,
|
|
918
|
+
children: [
|
|
919
|
+
t,
|
|
920
|
+
/* @__PURE__ */ a(Lt, {})
|
|
921
|
+
]
|
|
922
|
+
}
|
|
923
|
+
) }));
|
|
924
|
+
_t.displayName = N.Trigger.displayName;
|
|
925
|
+
const At = n.forwardRef(({ className: e, children: t, ...r }, s) => /* @__PURE__ */ a(
|
|
926
|
+
N.Content,
|
|
927
|
+
{
|
|
928
|
+
ref: s,
|
|
929
|
+
className: "overflow-hidden text-sm transition-all data-[state=closed]:animate-accordion-up data-[state=open]:animate-accordion-down",
|
|
930
|
+
...r,
|
|
931
|
+
children: /* @__PURE__ */ a("div", { className: o("pb-4 pt-0", e), children: t })
|
|
932
|
+
}
|
|
933
|
+
));
|
|
934
|
+
At.displayName = N.Content.displayName;
|
|
935
|
+
const E = "__EMPTY__";
|
|
936
|
+
function Rr({
|
|
937
|
+
value: e = "",
|
|
938
|
+
onValueChange: t,
|
|
939
|
+
options: r,
|
|
940
|
+
placeholder: s = "選択してください",
|
|
941
|
+
emptyText: i = "該当なし",
|
|
942
|
+
className: l = "",
|
|
943
|
+
disabled: b = !1,
|
|
944
|
+
allowCustom: m = !1
|
|
945
|
+
}) {
|
|
946
|
+
const [c, p] = B(!1), [x, v] = B(e || ""), I = r.some((y) => y.value === e), ge = () => {
|
|
947
|
+
m && (c ? (p(!1), x && t && t(x)) : (p(!0), v(e || "")));
|
|
948
|
+
}, pe = (y) => {
|
|
949
|
+
y === "__custom__" ? (p(!0), v("")) : y === E ? t == null || t("") : t == null || t(y);
|
|
950
|
+
}, be = (y) => {
|
|
951
|
+
const G = y.target.value;
|
|
952
|
+
v(G), t == null || t(G);
|
|
953
|
+
};
|
|
954
|
+
return c || m && !I && e ? /* @__PURE__ */ d("div", { className: `flex gap-2 ${l}`, children: [
|
|
955
|
+
/* @__PURE__ */ a(
|
|
956
|
+
Q,
|
|
957
|
+
{
|
|
958
|
+
value: x,
|
|
959
|
+
onChange: be,
|
|
960
|
+
placeholder: s,
|
|
961
|
+
disabled: b,
|
|
962
|
+
className: "flex-1"
|
|
963
|
+
}
|
|
964
|
+
),
|
|
965
|
+
m && /* @__PURE__ */ a(
|
|
966
|
+
"button",
|
|
967
|
+
{
|
|
968
|
+
type: "button",
|
|
969
|
+
onClick: ge,
|
|
970
|
+
className: "px-3 py-2 text-sm border border-gray-300 rounded hover:bg-gray-50",
|
|
971
|
+
disabled: b,
|
|
972
|
+
title: "プルダウンに戻る",
|
|
973
|
+
children: "↓"
|
|
974
|
+
}
|
|
975
|
+
)
|
|
976
|
+
] }) : /* @__PURE__ */ a("div", { className: l, children: /* @__PURE__ */ d(Ge, { value: e === "" ? E : e, onValueChange: pe, disabled: b, children: [
|
|
977
|
+
/* @__PURE__ */ a(Z, { className: "w-full", children: /* @__PURE__ */ a(We, { placeholder: s }) }),
|
|
978
|
+
/* @__PURE__ */ a(ee, { children: r.length === 0 ? /* @__PURE__ */ a("div", { className: "px-2 py-1.5 text-sm text-gray-500", children: i }) : /* @__PURE__ */ d(W, { children: [
|
|
979
|
+
r.map((y) => /* @__PURE__ */ a(
|
|
980
|
+
H,
|
|
981
|
+
{
|
|
982
|
+
value: y.value === "" ? E : y.value,
|
|
983
|
+
children: y.label
|
|
984
|
+
},
|
|
985
|
+
y.value
|
|
986
|
+
)),
|
|
987
|
+
m && /* @__PURE__ */ d(W, { children: [
|
|
988
|
+
/* @__PURE__ */ a("div", { className: "border-t my-1" }),
|
|
989
|
+
/* @__PURE__ */ a(H, { value: "__custom__", children: "✏️ 手動入力..." })
|
|
990
|
+
] })
|
|
991
|
+
] }) })
|
|
992
|
+
] }) });
|
|
993
|
+
}
|
|
994
|
+
const Mt = {
|
|
995
|
+
sm: "h-8 w-8 text-xs",
|
|
996
|
+
md: "h-10 w-10 text-sm",
|
|
997
|
+
lg: "h-12 w-12 text-base",
|
|
998
|
+
xl: "h-16 w-16 text-lg"
|
|
999
|
+
}, zt = n.forwardRef(
|
|
1000
|
+
({ src: e, alt: t, size: r = "md", fallback: s, className: i, ...l }, b) => {
|
|
1001
|
+
const [m, c] = n.useState(!1), [p, x] = n.useState(!1);
|
|
1002
|
+
n.useEffect(() => {
|
|
1003
|
+
c(!1), x(!1);
|
|
1004
|
+
}, [e]);
|
|
1005
|
+
const v = e && !m, I = !e || m || !p;
|
|
1006
|
+
return /* @__PURE__ */ d(
|
|
1007
|
+
"div",
|
|
1008
|
+
{
|
|
1009
|
+
ref: b,
|
|
1010
|
+
className: o(
|
|
1011
|
+
"relative inline-flex items-center justify-center overflow-hidden rounded-full bg-muted",
|
|
1012
|
+
Mt[r],
|
|
1013
|
+
i
|
|
1014
|
+
),
|
|
1015
|
+
...l,
|
|
1016
|
+
children: [
|
|
1017
|
+
v && /* @__PURE__ */ a(
|
|
1018
|
+
"img",
|
|
1019
|
+
{
|
|
1020
|
+
src: e,
|
|
1021
|
+
alt: t || "Avatar",
|
|
1022
|
+
className: o(
|
|
1023
|
+
"h-full w-full object-cover",
|
|
1024
|
+
p ? "opacity-100" : "opacity-0"
|
|
1025
|
+
),
|
|
1026
|
+
onLoad: () => x(!0),
|
|
1027
|
+
onError: () => c(!0),
|
|
1028
|
+
loading: l.loading
|
|
1029
|
+
}
|
|
1030
|
+
),
|
|
1031
|
+
I && s && /* @__PURE__ */ a("span", { className: "font-medium text-muted-foreground uppercase", children: s }),
|
|
1032
|
+
I && !s && /* @__PURE__ */ a(
|
|
1033
|
+
"svg",
|
|
1034
|
+
{
|
|
1035
|
+
className: "h-full w-full text-muted-foreground",
|
|
1036
|
+
fill: "currentColor",
|
|
1037
|
+
viewBox: "0 0 24 24",
|
|
1038
|
+
children: /* @__PURE__ */ a("path", { d: "M24 20.993V24H0v-2.996A14.977 14.977 0 0112.004 15c4.904 0 9.26 2.354 11.996 5.993zM16.002 8.999a4 4 0 11-8 0 4 4 0 018 0z" })
|
|
1039
|
+
}
|
|
1040
|
+
)
|
|
1041
|
+
]
|
|
1042
|
+
}
|
|
1043
|
+
);
|
|
1044
|
+
}
|
|
1045
|
+
);
|
|
1046
|
+
zt.displayName = "Avatar";
|
|
1047
|
+
const Sr = D.Root, Cr = D.Trigger, jt = n.forwardRef(({ className: e, align: t = "center", sideOffset: r = 4, ...s }, i) => /* @__PURE__ */ a(D.Portal, { children: /* @__PURE__ */ a(
|
|
1048
|
+
D.Content,
|
|
1049
|
+
{
|
|
1050
|
+
ref: i,
|
|
1051
|
+
align: t,
|
|
1052
|
+
sideOffset: r,
|
|
1053
|
+
className: o(
|
|
1054
|
+
"z-50 w-72 rounded-md border bg-popover p-4 text-popover-foreground shadow-md outline-none data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",
|
|
1055
|
+
e
|
|
1056
|
+
),
|
|
1057
|
+
...s
|
|
1058
|
+
}
|
|
1059
|
+
) }));
|
|
1060
|
+
jt.displayName = D.Content.displayName;
|
|
1061
|
+
const Et = R(
|
|
1062
|
+
"text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70"
|
|
1063
|
+
), Bt = n.forwardRef(({ className: e, ...t }, r) => /* @__PURE__ */ a(
|
|
1064
|
+
X.Root,
|
|
1065
|
+
{
|
|
1066
|
+
ref: r,
|
|
1067
|
+
className: o(Et(), e),
|
|
1068
|
+
...t
|
|
1069
|
+
}
|
|
1070
|
+
));
|
|
1071
|
+
Bt.displayName = X.Root.displayName;
|
|
1072
|
+
const Ft = n.forwardRef(
|
|
1073
|
+
({ className: e, ...t }, r) => /* @__PURE__ */ a(
|
|
1074
|
+
"textarea",
|
|
1075
|
+
{
|
|
1076
|
+
className: o(
|
|
1077
|
+
"flex min-h-[80px] w-full rounded-md border border-input bg-background px-3 py-2 text-sm ring-offset-background placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50",
|
|
1078
|
+
e
|
|
1079
|
+
),
|
|
1080
|
+
ref: r,
|
|
1081
|
+
...t
|
|
1082
|
+
}
|
|
1083
|
+
)
|
|
1084
|
+
);
|
|
1085
|
+
Ft.displayName = "Textarea";
|
|
1086
|
+
const Ot = n.forwardRef(({ className: e, ...t }, r) => /* @__PURE__ */ a(
|
|
1087
|
+
F.Root,
|
|
1088
|
+
{
|
|
1089
|
+
className: o(
|
|
1090
|
+
"peer inline-flex h-6 w-11 shrink-0 cursor-pointer items-center rounded-full border-2 border-transparent transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-gray-950 focus-visible:ring-offset-2 focus-visible:ring-offset-white disabled:cursor-not-allowed disabled:opacity-50 data-[state=checked]:bg-gray-900 data-[state=unchecked]:bg-gray-200 dark:focus-visible:ring-gray-300 dark:focus-visible:ring-offset-gray-950 dark:data-[state=checked]:bg-gray-50 dark:data-[state=unchecked]:bg-gray-600",
|
|
1091
|
+
e
|
|
1092
|
+
),
|
|
1093
|
+
...t,
|
|
1094
|
+
ref: r,
|
|
1095
|
+
children: /* @__PURE__ */ a(
|
|
1096
|
+
F.Thumb,
|
|
1097
|
+
{
|
|
1098
|
+
className: o(
|
|
1099
|
+
"pointer-events-none block h-5 w-5 rounded-full bg-white shadow-lg ring-0 transition-transform data-[state=checked]:translate-x-5 data-[state=unchecked]:translate-x-0"
|
|
1100
|
+
)
|
|
1101
|
+
}
|
|
1102
|
+
)
|
|
1103
|
+
}
|
|
1104
|
+
));
|
|
1105
|
+
Ot.displayName = F.Root.displayName;
|
|
1106
|
+
const Dr = T.Provider, Ir = T.Root, Lr = T.Trigger, Ht = n.forwardRef(({ className: e, sideOffset: t = 4, ...r }, s) => /* @__PURE__ */ a(T.Portal, { children: /* @__PURE__ */ a(
|
|
1107
|
+
T.Content,
|
|
1108
|
+
{
|
|
1109
|
+
ref: s,
|
|
1110
|
+
sideOffset: t,
|
|
1111
|
+
className: o(
|
|
1112
|
+
"z-50 overflow-hidden rounded-md bg-gray-900 px-3 py-1.5 text-xs text-gray-50 animate-in fade-in-0 zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 dark:bg-gray-50 dark:text-gray-900",
|
|
1113
|
+
e
|
|
1114
|
+
),
|
|
1115
|
+
...r
|
|
1116
|
+
}
|
|
1117
|
+
) }));
|
|
1118
|
+
Ht.displayName = T.Content.displayName;
|
|
1119
|
+
const Vt = n.forwardRef(({ className: e, children: t, ...r }, s) => /* @__PURE__ */ d(
|
|
1120
|
+
w.Root,
|
|
1121
|
+
{
|
|
1122
|
+
ref: s,
|
|
1123
|
+
className: o("relative overflow-hidden", e),
|
|
1124
|
+
...r,
|
|
1125
|
+
children: [
|
|
1126
|
+
/* @__PURE__ */ a(w.Viewport, { className: "h-full w-full rounded-[inherit]", children: t }),
|
|
1127
|
+
/* @__PURE__ */ a(ie, {}),
|
|
1128
|
+
/* @__PURE__ */ a(w.Corner, {})
|
|
1129
|
+
]
|
|
1130
|
+
}
|
|
1131
|
+
));
|
|
1132
|
+
Vt.displayName = w.Root.displayName;
|
|
1133
|
+
const ie = n.forwardRef(({ className: e, orientation: t = "vertical", ...r }, s) => /* @__PURE__ */ a(
|
|
1134
|
+
w.ScrollAreaScrollbar,
|
|
1135
|
+
{
|
|
1136
|
+
ref: s,
|
|
1137
|
+
orientation: t,
|
|
1138
|
+
className: o(
|
|
1139
|
+
"flex touch-none select-none transition-colors",
|
|
1140
|
+
t === "vertical" && "h-full w-2.5 border-l border-l-transparent p-[1px]",
|
|
1141
|
+
t === "horizontal" && "h-2.5 flex-col border-t border-t-transparent p-[1px]",
|
|
1142
|
+
e
|
|
1143
|
+
),
|
|
1144
|
+
...r,
|
|
1145
|
+
children: /* @__PURE__ */ a(w.ScrollAreaThumb, { className: "relative flex-1 rounded-full bg-border" })
|
|
1146
|
+
}
|
|
1147
|
+
));
|
|
1148
|
+
ie.displayName = w.ScrollAreaScrollbar.displayName;
|
|
1149
|
+
const Ut = {
|
|
1150
|
+
sm: "h-4 w-4 border-2",
|
|
1151
|
+
md: "h-6 w-6 border-2",
|
|
1152
|
+
lg: "h-8 w-8 border-3",
|
|
1153
|
+
xl: "h-12 w-12 border-4"
|
|
1154
|
+
}, Gt = n.forwardRef(
|
|
1155
|
+
({ size: e = "md", className: t, ...r }, s) => /* @__PURE__ */ a(
|
|
1156
|
+
"div",
|
|
1157
|
+
{
|
|
1158
|
+
ref: s,
|
|
1159
|
+
className: o(
|
|
1160
|
+
"inline-block animate-spin rounded-full border-solid border-current border-r-transparent align-[-0.125em] motion-reduce:animate-[spin_1.5s_linear_infinite]",
|
|
1161
|
+
Ut[e],
|
|
1162
|
+
t
|
|
1163
|
+
),
|
|
1164
|
+
role: "status",
|
|
1165
|
+
...r,
|
|
1166
|
+
children: /* @__PURE__ */ a("span", { className: "sr-only", children: "Loading..." })
|
|
1167
|
+
}
|
|
1168
|
+
)
|
|
1169
|
+
);
|
|
1170
|
+
Gt.displayName = "Spinner";
|
|
1171
|
+
const Wt = n.forwardRef(
|
|
1172
|
+
({ className: e, orientation: t = "horizontal", decorative: r = !0, ...s }, i) => /* @__PURE__ */ a(
|
|
1173
|
+
$.Root,
|
|
1174
|
+
{
|
|
1175
|
+
ref: i,
|
|
1176
|
+
decorative: r,
|
|
1177
|
+
orientation: t,
|
|
1178
|
+
className: o(
|
|
1179
|
+
"shrink-0 bg-border",
|
|
1180
|
+
t === "horizontal" ? "h-[1px] w-full" : "h-full w-[1px]",
|
|
1181
|
+
e
|
|
1182
|
+
),
|
|
1183
|
+
...s
|
|
1184
|
+
}
|
|
1185
|
+
)
|
|
1186
|
+
);
|
|
1187
|
+
Wt.displayName = $.Root.displayName;
|
|
1188
|
+
const qt = n.forwardRef(({ className: e, ...t }, r) => /* @__PURE__ */ d(
|
|
1189
|
+
S.Root,
|
|
1190
|
+
{
|
|
1191
|
+
ref: r,
|
|
1192
|
+
className: o(
|
|
1193
|
+
"relative flex w-full touch-none select-none items-center",
|
|
1194
|
+
e
|
|
1195
|
+
),
|
|
1196
|
+
...t,
|
|
1197
|
+
children: [
|
|
1198
|
+
/* @__PURE__ */ a(S.Track, { className: "relative h-2 w-full grow overflow-hidden rounded-full bg-gray-200 dark:bg-gray-800", children: /* @__PURE__ */ a(S.Range, { className: "absolute h-full bg-gray-900 dark:bg-gray-50" }) }),
|
|
1199
|
+
/* @__PURE__ */ a(S.Thumb, { className: "block h-5 w-5 rounded-full border-2 border-gray-900 bg-white ring-offset-white transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-gray-950 focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 dark:border-gray-50 dark:bg-gray-950 dark:ring-offset-gray-950 dark:focus-visible:ring-gray-300" })
|
|
1200
|
+
]
|
|
1201
|
+
}
|
|
1202
|
+
));
|
|
1203
|
+
qt.displayName = S.Root.displayName;
|
|
1204
|
+
const de = n.forwardRef(({ className: e, ...t }, r) => /* @__PURE__ */ a("div", { className: "relative w-full overflow-auto", children: /* @__PURE__ */ a(
|
|
1205
|
+
"table",
|
|
1206
|
+
{
|
|
1207
|
+
ref: r,
|
|
1208
|
+
className: o("w-full caption-bottom text-sm", e),
|
|
1209
|
+
...t
|
|
1210
|
+
}
|
|
1211
|
+
) }));
|
|
1212
|
+
de.displayName = "Table";
|
|
1213
|
+
const le = n.forwardRef(({ className: e, ...t }, r) => /* @__PURE__ */ a("thead", { ref: r, className: o("[&_tr]:border-b", e), ...t }));
|
|
1214
|
+
le.displayName = "TableHeader";
|
|
1215
|
+
const ce = n.forwardRef(({ className: e, ...t }, r) => /* @__PURE__ */ a(
|
|
1216
|
+
"tbody",
|
|
1217
|
+
{
|
|
1218
|
+
ref: r,
|
|
1219
|
+
className: o("[&_tr:last-child]:border-0", e),
|
|
1220
|
+
...t
|
|
1221
|
+
}
|
|
1222
|
+
));
|
|
1223
|
+
ce.displayName = "TableBody";
|
|
1224
|
+
const Yt = n.forwardRef(({ className: e, ...t }, r) => /* @__PURE__ */ a(
|
|
1225
|
+
"tfoot",
|
|
1226
|
+
{
|
|
1227
|
+
ref: r,
|
|
1228
|
+
className: o(
|
|
1229
|
+
"border-t bg-muted/50 font-medium [&>tr]:last:border-b-0",
|
|
1230
|
+
e
|
|
1231
|
+
),
|
|
1232
|
+
...t
|
|
1233
|
+
}
|
|
1234
|
+
));
|
|
1235
|
+
Yt.displayName = "TableFooter";
|
|
1236
|
+
const A = n.forwardRef(({ className: e, ...t }, r) => /* @__PURE__ */ a(
|
|
1237
|
+
"tr",
|
|
1238
|
+
{
|
|
1239
|
+
ref: r,
|
|
1240
|
+
className: o(
|
|
1241
|
+
"border-b transition-colors hover:bg-muted/50 data-[state=selected]:bg-muted",
|
|
1242
|
+
e
|
|
1243
|
+
),
|
|
1244
|
+
...t
|
|
1245
|
+
}
|
|
1246
|
+
));
|
|
1247
|
+
A.displayName = "TableRow";
|
|
1248
|
+
const me = n.forwardRef(({ className: e, ...t }, r) => /* @__PURE__ */ a(
|
|
1249
|
+
"th",
|
|
1250
|
+
{
|
|
1251
|
+
ref: r,
|
|
1252
|
+
className: o(
|
|
1253
|
+
"h-12 px-4 text-left align-middle font-medium text-muted-foreground [&:has([role=checkbox])]:pr-0",
|
|
1254
|
+
e
|
|
1255
|
+
),
|
|
1256
|
+
...t
|
|
1257
|
+
}
|
|
1258
|
+
));
|
|
1259
|
+
me.displayName = "TableHead";
|
|
1260
|
+
const V = n.forwardRef(({ className: e, ...t }, r) => /* @__PURE__ */ a(
|
|
1261
|
+
"td",
|
|
1262
|
+
{
|
|
1263
|
+
ref: r,
|
|
1264
|
+
className: o("p-4 align-middle [&:has([role=checkbox])]:pr-0", e),
|
|
1265
|
+
...t
|
|
1266
|
+
}
|
|
1267
|
+
));
|
|
1268
|
+
V.displayName = "TableCell";
|
|
1269
|
+
const Xt = n.forwardRef(({ className: e, ...t }, r) => /* @__PURE__ */ a(
|
|
1270
|
+
"caption",
|
|
1271
|
+
{
|
|
1272
|
+
ref: r,
|
|
1273
|
+
className: o("mt-4 text-sm text-muted-foreground", e),
|
|
1274
|
+
...t
|
|
1275
|
+
}
|
|
1276
|
+
));
|
|
1277
|
+
Xt.displayName = "TableCaption";
|
|
1278
|
+
function Pr({
|
|
1279
|
+
columns: e,
|
|
1280
|
+
data: t,
|
|
1281
|
+
onRowClick: r
|
|
1282
|
+
}) {
|
|
1283
|
+
var b;
|
|
1284
|
+
const [s, i] = n.useState([]), l = Ce({
|
|
1285
|
+
data: t,
|
|
1286
|
+
columns: e,
|
|
1287
|
+
getCoreRowModel: Le(),
|
|
1288
|
+
getPaginationRowModel: Ie(),
|
|
1289
|
+
onSortingChange: i,
|
|
1290
|
+
getSortedRowModel: De(),
|
|
1291
|
+
state: {
|
|
1292
|
+
sorting: s
|
|
1293
|
+
}
|
|
1294
|
+
});
|
|
1295
|
+
return /* @__PURE__ */ d("div", { children: [
|
|
1296
|
+
/* @__PURE__ */ a("div", { className: "rounded-md border", children: /* @__PURE__ */ d(de, { children: [
|
|
1297
|
+
/* @__PURE__ */ a(le, { children: l.getHeaderGroups().map((m) => /* @__PURE__ */ a(A, { children: m.headers.map((c) => /* @__PURE__ */ a(me, { children: c.isPlaceholder ? null : q(
|
|
1298
|
+
c.column.columnDef.header,
|
|
1299
|
+
c.getContext()
|
|
1300
|
+
) }, c.id)) }, m.id)) }),
|
|
1301
|
+
/* @__PURE__ */ a(ce, { children: (b = l.getRowModel().rows) != null && b.length ? l.getRowModel().rows.map((m) => /* @__PURE__ */ a(
|
|
1302
|
+
A,
|
|
1303
|
+
{
|
|
1304
|
+
"data-state": m.getIsSelected() && "selected",
|
|
1305
|
+
onClick: () => r && r(m.original),
|
|
1306
|
+
className: r ? "cursor-pointer" : "",
|
|
1307
|
+
children: m.getVisibleCells().map((c) => /* @__PURE__ */ a(V, { children: q(c.column.columnDef.cell, c.getContext()) }, c.id))
|
|
1308
|
+
},
|
|
1309
|
+
m.id
|
|
1310
|
+
)) : /* @__PURE__ */ a(A, { children: /* @__PURE__ */ a(V, { colSpan: e.length, className: "h-24 text-center", children: "No results." }) }) })
|
|
1311
|
+
] }) }),
|
|
1312
|
+
/* @__PURE__ */ d("div", { className: "flex items-center justify-end space-x-2 py-4", children: [
|
|
1313
|
+
/* @__PURE__ */ a(
|
|
1314
|
+
O,
|
|
1315
|
+
{
|
|
1316
|
+
variant: "outline",
|
|
1317
|
+
size: "sm",
|
|
1318
|
+
onClick: () => l.previousPage(),
|
|
1319
|
+
disabled: !l.getCanPreviousPage(),
|
|
1320
|
+
children: "Previous"
|
|
1321
|
+
}
|
|
1322
|
+
),
|
|
1323
|
+
/* @__PURE__ */ a(
|
|
1324
|
+
O,
|
|
1325
|
+
{
|
|
1326
|
+
variant: "outline",
|
|
1327
|
+
size: "sm",
|
|
1328
|
+
onClick: () => l.nextPage(),
|
|
1329
|
+
disabled: !l.getCanNextPage(),
|
|
1330
|
+
children: "Next"
|
|
1331
|
+
}
|
|
1332
|
+
)
|
|
1333
|
+
] })
|
|
1334
|
+
] });
|
|
1335
|
+
}
|
|
1336
|
+
const _r = f.Root, Ar = f.Trigger, Mr = f.Close, $t = f.Portal, fe = n.forwardRef(({ className: e, ...t }, r) => /* @__PURE__ */ a(
|
|
1337
|
+
f.Overlay,
|
|
1338
|
+
{
|
|
1339
|
+
className: o(
|
|
1340
|
+
"fixed top-0 right-0 bottom-0 left-0 z-50 bg-black/80 state-open:animate-fade-in state-closed:animate-fade-out",
|
|
1341
|
+
e
|
|
1342
|
+
),
|
|
1343
|
+
...t,
|
|
1344
|
+
ref: r
|
|
1345
|
+
}
|
|
1346
|
+
));
|
|
1347
|
+
fe.displayName = f.Overlay.displayName;
|
|
1348
|
+
const Qt = R(
|
|
1349
|
+
"fixed z-50 gap-4 bg-background p-6 shadow-lg transition ease-in-out state-closed:duration-300 state-open:duration-500",
|
|
1350
|
+
{
|
|
1351
|
+
variants: {
|
|
1352
|
+
side: {
|
|
1353
|
+
top: "left-0 right-0 top-0 border-b state-closed:animate-slide-out-left state-open:animate-slide-in-left",
|
|
1354
|
+
bottom: "left-0 right-0 bottom-0 border-t state-closed:animate-slide-out-left state-open:animate-slide-in-left",
|
|
1355
|
+
left: "top-0 bottom-0 left-0 h-full w-3/4 border-r state-closed:animate-slide-out-left state-open:animate-slide-in-left sm:max-w-sm",
|
|
1356
|
+
right: "top-0 bottom-0 right-0 h-full w-3/4 border-l state-closed:animate-slide-out-right state-open:animate-slide-in-right sm:max-w-sm"
|
|
1357
|
+
}
|
|
1358
|
+
},
|
|
1359
|
+
defaultVariants: {
|
|
1360
|
+
side: "right"
|
|
1361
|
+
}
|
|
1362
|
+
}
|
|
1363
|
+
), Zt = n.forwardRef(({ side: e = "right", className: t, children: r, ...s }, i) => /* @__PURE__ */ d($t, { children: [
|
|
1364
|
+
/* @__PURE__ */ a(fe, {}),
|
|
1365
|
+
/* @__PURE__ */ d(
|
|
1366
|
+
f.Content,
|
|
1367
|
+
{
|
|
1368
|
+
ref: i,
|
|
1369
|
+
className: o(Qt({ side: e }), t),
|
|
1370
|
+
...s,
|
|
1371
|
+
children: [
|
|
1372
|
+
/* @__PURE__ */ d(f.Close, { className: "absolute right-4 top-4 rounded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-secondary", children: [
|
|
1373
|
+
/* @__PURE__ */ a(Se, { className: "h-4 w-4" }),
|
|
1374
|
+
/* @__PURE__ */ a("span", { className: "sr-only", children: "Close" })
|
|
1375
|
+
] }),
|
|
1376
|
+
r
|
|
1377
|
+
]
|
|
1378
|
+
}
|
|
1379
|
+
)
|
|
1380
|
+
] }));
|
|
1381
|
+
Zt.displayName = f.Content.displayName;
|
|
1382
|
+
const Jt = ({
|
|
1383
|
+
className: e,
|
|
1384
|
+
...t
|
|
1385
|
+
}) => /* @__PURE__ */ a(
|
|
1386
|
+
"div",
|
|
1387
|
+
{
|
|
1388
|
+
className: o(
|
|
1389
|
+
"flex flex-col space-y-2 text-center sm:text-left",
|
|
1390
|
+
e
|
|
1391
|
+
),
|
|
1392
|
+
...t
|
|
1393
|
+
}
|
|
1394
|
+
);
|
|
1395
|
+
Jt.displayName = "SheetHeader";
|
|
1396
|
+
const Kt = ({
|
|
1397
|
+
className: e,
|
|
1398
|
+
...t
|
|
1399
|
+
}) => /* @__PURE__ */ a(
|
|
1400
|
+
"div",
|
|
1401
|
+
{
|
|
1402
|
+
className: o(
|
|
1403
|
+
"flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2",
|
|
1404
|
+
e
|
|
1405
|
+
),
|
|
1406
|
+
...t
|
|
1407
|
+
}
|
|
1408
|
+
);
|
|
1409
|
+
Kt.displayName = "SheetFooter";
|
|
1410
|
+
const er = n.forwardRef(({ className: e, ...t }, r) => /* @__PURE__ */ a(
|
|
1411
|
+
f.Title,
|
|
1412
|
+
{
|
|
1413
|
+
ref: r,
|
|
1414
|
+
className: o("text-lg font-semibold text-foreground", e),
|
|
1415
|
+
...t
|
|
1416
|
+
}
|
|
1417
|
+
));
|
|
1418
|
+
er.displayName = f.Title.displayName;
|
|
1419
|
+
const tr = n.forwardRef(({ className: e, ...t }, r) => /* @__PURE__ */ a(
|
|
1420
|
+
f.Description,
|
|
1421
|
+
{
|
|
1422
|
+
ref: r,
|
|
1423
|
+
className: o("text-sm text-muted-foreground", e),
|
|
1424
|
+
...t
|
|
1425
|
+
}
|
|
1426
|
+
));
|
|
1427
|
+
tr.displayName = f.Description.displayName;
|
|
1428
|
+
const rr = {
|
|
1429
|
+
theme: "system",
|
|
1430
|
+
setTheme: () => null
|
|
1431
|
+
}, ue = he(rr);
|
|
1432
|
+
function zr({
|
|
1433
|
+
children: e,
|
|
1434
|
+
defaultTheme: t = "system",
|
|
1435
|
+
storageKey: r = "mirel-ui-theme",
|
|
1436
|
+
...s
|
|
1437
|
+
}) {
|
|
1438
|
+
const [i, l] = B(
|
|
1439
|
+
() => localStorage.getItem(r) || t
|
|
1440
|
+
);
|
|
1441
|
+
ye(() => {
|
|
1442
|
+
const m = window.document.documentElement;
|
|
1443
|
+
if (m.classList.remove("light", "dark"), i === "system") {
|
|
1444
|
+
const c = window.matchMedia("(prefers-color-scheme: dark)"), p = c.matches ? "dark" : "light";
|
|
1445
|
+
m.classList.add(p);
|
|
1446
|
+
const x = () => {
|
|
1447
|
+
m.classList.remove("light", "dark");
|
|
1448
|
+
const v = c.matches ? "dark" : "light";
|
|
1449
|
+
m.classList.add(v);
|
|
1450
|
+
};
|
|
1451
|
+
return c.addEventListener("change", x), () => c.removeEventListener("change", x);
|
|
1452
|
+
}
|
|
1453
|
+
m.classList.add(i);
|
|
1454
|
+
}, [i]);
|
|
1455
|
+
const b = {
|
|
1456
|
+
theme: i,
|
|
1457
|
+
setTheme: (m) => {
|
|
1458
|
+
localStorage.setItem(r, m), l(m);
|
|
1459
|
+
}
|
|
1460
|
+
};
|
|
1461
|
+
return /* @__PURE__ */ a(ue.Provider, { ...s, value: b, children: e });
|
|
1462
|
+
}
|
|
1463
|
+
const jr = () => {
|
|
1464
|
+
const e = xe(ue);
|
|
1465
|
+
if (e === void 0)
|
|
1466
|
+
throw new Error("useTheme must be used within a ThemeProvider");
|
|
1467
|
+
return e;
|
|
1468
|
+
};
|
|
1469
|
+
export {
|
|
1470
|
+
Tr as Accordion,
|
|
1471
|
+
At as AccordionContent,
|
|
1472
|
+
Pt as AccordionItem,
|
|
1473
|
+
_t as AccordionTrigger,
|
|
1474
|
+
Tt as Alert,
|
|
1475
|
+
St as AlertDescription,
|
|
1476
|
+
Rt as AlertTitle,
|
|
1477
|
+
zt as Avatar,
|
|
1478
|
+
L as Badge,
|
|
1479
|
+
O as Button,
|
|
1480
|
+
_e as Card,
|
|
1481
|
+
je as CardContent,
|
|
1482
|
+
ze as CardDescription,
|
|
1483
|
+
Ee as CardFooter,
|
|
1484
|
+
Ae as CardHeader,
|
|
1485
|
+
Me as CardTitle,
|
|
1486
|
+
Rr as Combobox,
|
|
1487
|
+
Pr as DataTable,
|
|
1488
|
+
ur as Dialog,
|
|
1489
|
+
pr as DialogClose,
|
|
1490
|
+
$e as DialogContent,
|
|
1491
|
+
Ke as DialogDescription,
|
|
1492
|
+
Ze as DialogFooter,
|
|
1493
|
+
Qe as DialogHeader,
|
|
1494
|
+
te as DialogOverlay,
|
|
1495
|
+
Xe as DialogPortal,
|
|
1496
|
+
Je as DialogTitle,
|
|
1497
|
+
gr as DialogTrigger,
|
|
1498
|
+
br as DropdownMenu,
|
|
1499
|
+
ot as DropdownMenuCheckboxItem,
|
|
1500
|
+
rt as DropdownMenuContent,
|
|
1501
|
+
yr as DropdownMenuGroup,
|
|
1502
|
+
at as DropdownMenuItem,
|
|
1503
|
+
nt as DropdownMenuLabel,
|
|
1504
|
+
xr as DropdownMenuPortal,
|
|
1505
|
+
wr as DropdownMenuRadioGroup,
|
|
1506
|
+
st as DropdownMenuRadioItem,
|
|
1507
|
+
it as DropdownMenuSeparator,
|
|
1508
|
+
dt as DropdownMenuShortcut,
|
|
1509
|
+
vr as DropdownMenuSub,
|
|
1510
|
+
tt as DropdownMenuSubContent,
|
|
1511
|
+
et as DropdownMenuSubTrigger,
|
|
1512
|
+
hr as DropdownMenuTrigger,
|
|
1513
|
+
Ve as FormError,
|
|
1514
|
+
Fe as FormField,
|
|
1515
|
+
He as FormHelper,
|
|
1516
|
+
Oe as FormLabel,
|
|
1517
|
+
Ue as FormRequiredMark,
|
|
1518
|
+
Q as Input,
|
|
1519
|
+
Bt as Label,
|
|
1520
|
+
Sr as Popover,
|
|
1521
|
+
jt as PopoverContent,
|
|
1522
|
+
Cr as PopoverTrigger,
|
|
1523
|
+
Vt as ScrollArea,
|
|
1524
|
+
ie as ScrollBar,
|
|
1525
|
+
lt as SectionHeading,
|
|
1526
|
+
Ge as Select,
|
|
1527
|
+
ee as SelectContent,
|
|
1528
|
+
fr as SelectGroup,
|
|
1529
|
+
H as SelectItem,
|
|
1530
|
+
qe as SelectLabel,
|
|
1531
|
+
K as SelectScrollDownButton,
|
|
1532
|
+
J as SelectScrollUpButton,
|
|
1533
|
+
Ye as SelectSeparator,
|
|
1534
|
+
Z as SelectTrigger,
|
|
1535
|
+
We as SelectValue,
|
|
1536
|
+
Wt as Separator,
|
|
1537
|
+
_r as Sheet,
|
|
1538
|
+
Mr as SheetClose,
|
|
1539
|
+
Zt as SheetContent,
|
|
1540
|
+
tr as SheetDescription,
|
|
1541
|
+
Kt as SheetFooter,
|
|
1542
|
+
Jt as SheetHeader,
|
|
1543
|
+
fe as SheetOverlay,
|
|
1544
|
+
$t as SheetPortal,
|
|
1545
|
+
er as SheetTitle,
|
|
1546
|
+
Ar as SheetTrigger,
|
|
1547
|
+
ut as Skeleton,
|
|
1548
|
+
qt as Slider,
|
|
1549
|
+
Gt as Spinner,
|
|
1550
|
+
ft as StepIndicator,
|
|
1551
|
+
Ot as Switch,
|
|
1552
|
+
de as Table,
|
|
1553
|
+
ce as TableBody,
|
|
1554
|
+
Xt as TableCaption,
|
|
1555
|
+
V as TableCell,
|
|
1556
|
+
Yt as TableFooter,
|
|
1557
|
+
me as TableHead,
|
|
1558
|
+
le as TableHeader,
|
|
1559
|
+
A as TableRow,
|
|
1560
|
+
kr as Tabs,
|
|
1561
|
+
It as TabsContent,
|
|
1562
|
+
Ct as TabsList,
|
|
1563
|
+
Dt as TabsTrigger,
|
|
1564
|
+
Ft as Textarea,
|
|
1565
|
+
zr as ThemeProvider,
|
|
1566
|
+
ae as Toast,
|
|
1567
|
+
bt as ToastAction,
|
|
1568
|
+
oe as ToastClose,
|
|
1569
|
+
ne as ToastDescription,
|
|
1570
|
+
gt as ToastProvider,
|
|
1571
|
+
se as ToastTitle,
|
|
1572
|
+
re as ToastViewport,
|
|
1573
|
+
Nr as Toaster,
|
|
1574
|
+
Ir as Tooltip,
|
|
1575
|
+
Ht as TooltipContent,
|
|
1576
|
+
Dr as TooltipProvider,
|
|
1577
|
+
Lr as TooltipTrigger,
|
|
1578
|
+
Be as badgeVariants,
|
|
1579
|
+
Pe as buttonVariants,
|
|
1580
|
+
o as cn,
|
|
1581
|
+
wt as toast,
|
|
1582
|
+
jr as useTheme,
|
|
1583
|
+
Nt as useToast
|
|
1584
|
+
};
|