@plyaz/ui 0.7.2 → 0.7.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/Skeleton-Bnjvq2Rm.cjs +62 -0
- package/dist/{index-BFruSSsn.js → Skeleton-De31tq_k.js} +567 -566
- package/dist/client.cjs.js +20 -20
- package/dist/client.es.js +4999 -4403
- package/dist/index.cjs.js +5 -23
- package/dist/index.es.js +470 -320
- package/dist/types/components/Accordion/Accordion.stories.d.ts.map +1 -1
- package/dist/types/components/Alert/Alert.stories.d.ts.map +1 -1
- package/dist/types/components/AlertDialog/AlertDialog.stories.d.ts.map +1 -1
- package/dist/types/components/Avatar/Avatar.stories.d.ts.map +1 -1
- package/dist/types/components/Badge/Badge.d.ts +3 -1
- package/dist/types/components/Badge/Badge.d.ts.map +1 -1
- package/dist/types/components/Badge/Badge.stories.d.ts.map +1 -1
- package/dist/types/components/Breadcrumb/Breadcrumb.stories.d.ts.map +1 -1
- package/dist/types/components/Button/Button.d.ts +4 -1
- package/dist/types/components/Button/Button.d.ts.map +1 -1
- package/dist/types/components/Button/Button.stories.d.ts +7 -0
- package/dist/types/components/Button/Button.stories.d.ts.map +1 -1
- package/dist/types/components/Calendar/Calendar.stories.d.ts +21 -0
- package/dist/types/components/Calendar/Calendar.stories.d.ts.map +1 -0
- package/dist/types/components/Checkbox/Checkbox.stories.d.ts.map +1 -1
- package/dist/types/components/Command/Command.stories.d.ts.map +1 -1
- package/dist/types/components/ContextMenu/ContextMenu.stories.d.ts.map +1 -1
- package/dist/types/components/Dialog/Dialog.stories.d.ts.map +1 -1
- package/dist/types/components/Drawer/Drawer.stories.d.ts +15 -0
- package/dist/types/components/Drawer/Drawer.stories.d.ts.map +1 -0
- package/dist/types/components/HoverCard/HoverCard.stories.d.ts.map +1 -1
- package/dist/types/components/Input/Input.d.ts.map +1 -1
- package/dist/types/components/InputGroup/InputGroup.d.ts +17 -0
- package/dist/types/components/InputGroup/InputGroup.d.ts.map +1 -0
- package/dist/types/components/InputGroup/InputGroup.stories.d.ts +45 -0
- package/dist/types/components/InputGroup/InputGroup.stories.d.ts.map +1 -0
- package/dist/types/components/InputOTP/InputOTP.stories.d.ts +20 -0
- package/dist/types/components/InputOTP/InputOTP.stories.d.ts.map +1 -0
- package/dist/types/components/Label/Label.stories.d.ts +4 -0
- package/dist/types/components/Label/Label.stories.d.ts.map +1 -1
- package/dist/types/components/MenuBar/Menubar.stories.d.ts.map +1 -1
- package/dist/types/components/Pagination/Pagination.stories.d.ts.map +1 -1
- package/dist/types/components/Popover/Popover.stories.d.ts.map +1 -1
- package/dist/types/components/Progress/Progress.stories.d.ts +1 -1
- package/dist/types/components/Progress/Progress.stories.d.ts.map +1 -1
- package/dist/types/components/ScrollArea/ScrollArea.stories.d.ts.map +1 -1
- package/dist/types/components/Separator/Separator.stories.d.ts.map +1 -1
- package/dist/types/components/Sheet/Sheet.stories.d.ts.map +1 -1
- package/dist/types/components/Sidebar/Sidebar.d.ts +69 -0
- package/dist/types/components/Sidebar/Sidebar.d.ts.map +1 -0
- package/dist/types/components/Sidebar/Sidebar.stories.d.ts +337 -0
- package/dist/types/components/Sidebar/Sidebar.stories.d.ts.map +1 -0
- package/dist/types/components/Skeleton/Skeleton.stories.d.ts.map +1 -1
- package/dist/types/components/Slider/Slider.stories.d.ts.map +1 -1
- package/dist/types/components/Table/Table.stories.d.ts.map +1 -1
- package/dist/types/components/Tabs/Tabs.stories.d.ts.map +1 -1
- package/dist/types/components/Textarea/Textarea.stories.d.ts.map +1 -1
- package/dist/types/components/Toaster/Toaster.stories.d.ts.map +1 -1
- package/dist/types/components/Toggle/Toggle.d.ts +4 -1
- package/dist/types/components/Toggle/Toggle.d.ts.map +1 -1
- package/dist/types/components/Toggle/Toggle.stories.d.ts.map +1 -1
- package/dist/types/components/Tooltip/Tooltip.stories.d.ts.map +1 -1
- package/dist/types/components/client.d.ts +2 -1
- package/dist/types/components/client.d.ts.map +1 -1
- package/dist/types/components/index.d.ts +1 -0
- package/dist/types/components/index.d.ts.map +1 -1
- package/dist/types/constants/constant.d.ts +0 -7
- package/dist/types/constants/constant.d.ts.map +1 -1
- package/dist/ui.css +1 -1
- package/package.json +3 -2
- package/styles/main.css +8 -8
- package/styles/utilities.css +3 -0
- package/dist/index-Cs64egIu.cjs +0 -37
- package/dist/types/constants/toggle-variants.d.ts +0 -5
- package/dist/types/constants/toggle-variants.d.ts.map +0 -1
package/dist/index.es.js
CHANGED
|
@@ -1,22 +1,90 @@
|
|
|
1
|
-
import { c as n,
|
|
2
|
-
import {
|
|
1
|
+
import { c as n, a as f, B as _, I as E, f as P, b as T, P as I, d as S } from "./Skeleton-De31tq_k.js";
|
|
2
|
+
import { A as wt, S as Nt, e as yt } from "./Skeleton-De31tq_k.js";
|
|
3
3
|
import { jsx as a, jsxs as u } from "react/jsx-runtime";
|
|
4
|
+
import { Slot as x } from "@radix-ui/react-slot";
|
|
4
5
|
import "clsx";
|
|
5
|
-
import
|
|
6
|
-
import
|
|
7
|
-
import {
|
|
8
|
-
import
|
|
9
|
-
import
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
m,
|
|
6
|
+
import * as d from "@radix-ui/react-select";
|
|
7
|
+
import { CheckIcon as C, ChevronDownIcon as b, ChevronUpIcon as M, ChevronRight as A, MoreHorizontal as j, ChevronLeftIcon as R, ChevronRightIcon as B, MoreHorizontalIcon as D } from "lucide-react";
|
|
8
|
+
import { useTranslations as v } from "next-intl";
|
|
9
|
+
import * as G from "react";
|
|
10
|
+
import L from "react";
|
|
11
|
+
const p = ({ children: e, element: t = "div", className: r = "", ...s }) => /* @__PURE__ */ a(t, { className: r, ...s, "data-testid": "box", children: e }), xe = ({ className: e = "", children: t, element: r, ...s }) => /* @__PURE__ */ a(
|
|
12
|
+
p,
|
|
13
13
|
{
|
|
14
14
|
element: r,
|
|
15
15
|
className: n("mx-auto px-4 sm:px-6 lg:px-8 max-w-7xl", e),
|
|
16
|
-
...
|
|
16
|
+
...s,
|
|
17
17
|
children: t
|
|
18
18
|
}
|
|
19
|
-
),
|
|
19
|
+
), h = {
|
|
20
|
+
start: "justify-start",
|
|
21
|
+
end: "justify-end",
|
|
22
|
+
center: "justify-center",
|
|
23
|
+
between: "justify-between",
|
|
24
|
+
around: "justify-around",
|
|
25
|
+
evenly: "justify-evenly",
|
|
26
|
+
stretch: "justify-stretch"
|
|
27
|
+
}, w = {
|
|
28
|
+
start: "items-start",
|
|
29
|
+
end: "items-end",
|
|
30
|
+
center: "items-center",
|
|
31
|
+
baseline: "items-baseline",
|
|
32
|
+
stretch: "items-stretch"
|
|
33
|
+
}, V = {
|
|
34
|
+
body: "font-general",
|
|
35
|
+
heading: "font-general",
|
|
36
|
+
caption: "font-general"
|
|
37
|
+
}, H = {
|
|
38
|
+
xs: "text-xs",
|
|
39
|
+
sm: "text-sm",
|
|
40
|
+
base: "text-base",
|
|
41
|
+
lg: "text-lg",
|
|
42
|
+
xl: "text-xl",
|
|
43
|
+
"2xl": "text-2xl",
|
|
44
|
+
"3xl": "text-3xl",
|
|
45
|
+
"4xl": "text-4xl",
|
|
46
|
+
"5xl": "text-5xl",
|
|
47
|
+
"6xl": "text-6xl",
|
|
48
|
+
"7xl": "text-7xl",
|
|
49
|
+
"8xl": "text-8xl",
|
|
50
|
+
"9xl": "text-9xl"
|
|
51
|
+
}, F = {
|
|
52
|
+
normal: "font-normal",
|
|
53
|
+
medium: "font-medium",
|
|
54
|
+
semibold: "font-semibold",
|
|
55
|
+
bold: "font-bold",
|
|
56
|
+
light: "font-light"
|
|
57
|
+
}, U = {
|
|
58
|
+
1: "grid-cols-1",
|
|
59
|
+
2: "grid-cols-2",
|
|
60
|
+
3: "grid-cols-3",
|
|
61
|
+
4: "grid-cols-4",
|
|
62
|
+
5: "grid-cols-5",
|
|
63
|
+
6: "grid-cols-6",
|
|
64
|
+
7: "grid-cols-7",
|
|
65
|
+
8: "grid-cols-8",
|
|
66
|
+
9: "grid-cols-9"
|
|
67
|
+
}, q = {
|
|
68
|
+
1: "grid-rows-1",
|
|
69
|
+
2: "grid-rows-2",
|
|
70
|
+
3: "grid-rows-3",
|
|
71
|
+
4: "grid-rows-4",
|
|
72
|
+
5: "grid-rows-5",
|
|
73
|
+
6: "grid-rows-6",
|
|
74
|
+
7: "grid-rows-7",
|
|
75
|
+
8: "grid-rows-8",
|
|
76
|
+
9: "grid-rows-9"
|
|
77
|
+
}, N = {
|
|
78
|
+
1: "gap-1",
|
|
79
|
+
2: "gap-2",
|
|
80
|
+
3: "gap-3",
|
|
81
|
+
4: "gap-4",
|
|
82
|
+
5: "gap-5",
|
|
83
|
+
6: "gap-6",
|
|
84
|
+
7: "gap-7",
|
|
85
|
+
8: "gap-8",
|
|
86
|
+
9: "gap-9"
|
|
87
|
+
}, W = {
|
|
20
88
|
row: "flex-row",
|
|
21
89
|
col: "flex-col",
|
|
22
90
|
row_reverse: "flex-row-reverse",
|
|
@@ -25,59 +93,59 @@ const m = ({ children: e, element: t = "div", className: r = "", ...o }) => /* @
|
|
|
25
93
|
wrap: "flex-wrap",
|
|
26
94
|
nowrap: "flex-nowrap",
|
|
27
95
|
wrap_reverse: "flex-wrap-reverse"
|
|
28
|
-
},
|
|
96
|
+
}, be = ({
|
|
29
97
|
children: e,
|
|
30
98
|
gap: t,
|
|
31
99
|
direction: r,
|
|
32
|
-
justify:
|
|
33
|
-
align:
|
|
100
|
+
justify: s,
|
|
101
|
+
align: o,
|
|
34
102
|
wrap: i,
|
|
35
|
-
className:
|
|
103
|
+
className: l = "",
|
|
36
104
|
element: c,
|
|
37
|
-
...
|
|
105
|
+
...g
|
|
38
106
|
}) => /* @__PURE__ */ a(
|
|
39
|
-
|
|
107
|
+
p,
|
|
40
108
|
{
|
|
41
109
|
element: c,
|
|
42
110
|
className: n(
|
|
43
111
|
"flex",
|
|
44
112
|
r && W[r],
|
|
45
|
-
|
|
46
|
-
|
|
113
|
+
s && h[s],
|
|
114
|
+
o && w[o],
|
|
47
115
|
i && Z[i],
|
|
48
|
-
t &&
|
|
49
|
-
|
|
116
|
+
t && N[t],
|
|
117
|
+
l
|
|
50
118
|
),
|
|
51
|
-
...
|
|
119
|
+
...g,
|
|
52
120
|
children: e
|
|
53
121
|
}
|
|
54
|
-
),
|
|
122
|
+
), ve = ({
|
|
55
123
|
children: e,
|
|
56
124
|
className: t,
|
|
57
125
|
cols: r,
|
|
58
|
-
rows:
|
|
59
|
-
gap:
|
|
126
|
+
rows: s,
|
|
127
|
+
gap: o,
|
|
60
128
|
justify: i,
|
|
61
|
-
align:
|
|
129
|
+
align: l,
|
|
62
130
|
element: c,
|
|
63
|
-
...
|
|
131
|
+
...g
|
|
64
132
|
}) => /* @__PURE__ */ a(
|
|
65
|
-
|
|
133
|
+
p,
|
|
66
134
|
{
|
|
67
135
|
element: c,
|
|
68
136
|
className: n(
|
|
69
137
|
"grid",
|
|
70
|
-
r &&
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
i &&
|
|
74
|
-
|
|
138
|
+
r && U[r],
|
|
139
|
+
s && q[s],
|
|
140
|
+
o && N[o],
|
|
141
|
+
i && h[i],
|
|
142
|
+
l && w[l],
|
|
75
143
|
t
|
|
76
144
|
),
|
|
77
|
-
...
|
|
145
|
+
...g,
|
|
78
146
|
children: e
|
|
79
147
|
}
|
|
80
|
-
),
|
|
148
|
+
), $ = {
|
|
81
149
|
xs: "xs",
|
|
82
150
|
sm: "sm",
|
|
83
151
|
base: "base",
|
|
@@ -86,18 +154,18 @@ const m = ({ children: e, element: t = "div", className: r = "", ...o }) => /* @
|
|
|
86
154
|
"2xl": "2xl",
|
|
87
155
|
"3xl": "3xl",
|
|
88
156
|
"4xl": "4xl"
|
|
89
|
-
},
|
|
90
|
-
|
|
157
|
+
}, he = ({ children: e, element: t, className: r, size: s, ...o }) => /* @__PURE__ */ a(
|
|
158
|
+
m,
|
|
91
159
|
{
|
|
92
160
|
className: r,
|
|
93
161
|
element: t,
|
|
94
|
-
size:
|
|
162
|
+
size: $[s],
|
|
95
163
|
variant: "heading",
|
|
96
164
|
weight: "medium",
|
|
97
|
-
...
|
|
165
|
+
...o,
|
|
98
166
|
children: e
|
|
99
167
|
}
|
|
100
|
-
), we = ({ children: e, className: t, href: r, ...
|
|
168
|
+
), we = ({ children: e, className: t, href: r, ...s }) => /* @__PURE__ */ a(
|
|
101
169
|
"a",
|
|
102
170
|
{
|
|
103
171
|
"data-testid": "link",
|
|
@@ -108,107 +176,214 @@ const m = ({ children: e, element: t = "div", className: r = "", ...o }) => /* @
|
|
|
108
176
|
"focus:outline-none text-blue-600 active:text-blue-900 visited:text-purple-600 hover:underline",
|
|
109
177
|
t
|
|
110
178
|
),
|
|
111
|
-
...
|
|
179
|
+
...s,
|
|
112
180
|
children: e
|
|
113
181
|
}
|
|
114
|
-
),
|
|
182
|
+
), K = {
|
|
115
183
|
xs: "xs",
|
|
116
184
|
sm: "sm",
|
|
117
185
|
base: "base",
|
|
118
186
|
lg: "lg"
|
|
119
|
-
},
|
|
120
|
-
|
|
187
|
+
}, Ne = ({ children: e, className: t, size: r, ...s }) => /* @__PURE__ */ a(
|
|
188
|
+
m,
|
|
121
189
|
{
|
|
122
190
|
className: t,
|
|
123
191
|
element: "p",
|
|
124
|
-
size:
|
|
192
|
+
size: K[r],
|
|
125
193
|
variant: "body",
|
|
126
194
|
weight: "normal",
|
|
127
|
-
...
|
|
195
|
+
...s,
|
|
128
196
|
children: e
|
|
129
197
|
}
|
|
130
|
-
),
|
|
198
|
+
), ye = ({ className: e = "", children: t, ...r }) => /* @__PURE__ */ a(p, { element: "section", className: e, ...r, children: t }), ke = ({
|
|
131
199
|
children: e,
|
|
132
200
|
direction: t = "horizontal",
|
|
133
201
|
spacing: r = "space-x-2",
|
|
134
|
-
element:
|
|
135
|
-
className:
|
|
202
|
+
element: s,
|
|
203
|
+
className: o,
|
|
136
204
|
...i
|
|
137
|
-
}) => /* @__PURE__ */ a(
|
|
205
|
+
}) => /* @__PURE__ */ a(p, { className: n("flex", t === "vertical" ? "flex-col" : "flex-row", r, o), element: s, ...i, children: e }), m = ({
|
|
138
206
|
className: e,
|
|
139
207
|
children: t,
|
|
140
208
|
element: r,
|
|
141
|
-
weight:
|
|
142
|
-
variant:
|
|
209
|
+
weight: s,
|
|
210
|
+
variant: o,
|
|
143
211
|
size: i,
|
|
144
|
-
...
|
|
212
|
+
...l
|
|
145
213
|
}) => /* @__PURE__ */ a(
|
|
146
214
|
r,
|
|
147
215
|
{
|
|
148
216
|
"data-testid": "text",
|
|
149
217
|
className: n(
|
|
150
218
|
"font-normal text-base",
|
|
151
|
-
i &&
|
|
152
|
-
|
|
153
|
-
|
|
219
|
+
i && H[i],
|
|
220
|
+
s && F[s],
|
|
221
|
+
o && V[o],
|
|
154
222
|
e
|
|
155
223
|
),
|
|
156
|
-
...
|
|
224
|
+
...l,
|
|
157
225
|
children: t
|
|
158
226
|
}
|
|
159
227
|
);
|
|
160
|
-
function
|
|
228
|
+
function ze({ className: e, ...t }) {
|
|
229
|
+
return /* @__PURE__ */ a(
|
|
230
|
+
"div",
|
|
231
|
+
{
|
|
232
|
+
"data-slot": "input-group",
|
|
233
|
+
role: "group",
|
|
234
|
+
className: n(
|
|
235
|
+
"group/input-group border-input dark:bg-input/30 relative flex w-full items-center rounded-sm border transition-[color,box-shadow] outline-none",
|
|
236
|
+
"h-10 min-w-0 has-[>textarea]:h-auto",
|
|
237
|
+
// Variants based on alignment.
|
|
238
|
+
"has-[>[data-align=inline-start]]:[&>input]:pl-3",
|
|
239
|
+
"has-[>[data-align=inline-end]]:[&>input]:pr-3",
|
|
240
|
+
"has-[>[data-align=block-start]]:h-auto has-[>[data-align=block-start]]:flex-col has-[>[data-align=block-start]]:[&>input]:pb-2",
|
|
241
|
+
"has-[>[data-align=block-end]]:h-auto has-[>[data-align=block-end]]:flex-col has-[>[data-align=block-end]]:[&>input]:pt-2",
|
|
242
|
+
// Focus state.
|
|
243
|
+
"has-[[data-slot=input-group-control]:focus-visible]:border-ring has-[[data-slot=input-group-control]:focus-visible]:ring-ring/50 has-[[data-slot=input-group-control]:focus-visible]:ring-[3px]",
|
|
244
|
+
// Error state.
|
|
245
|
+
"has-[[data-slot][aria-invalid=true]]:ring-destructive/20 has-[[data-slot][aria-invalid=true]]:border-destructive dark:has-[[data-slot][aria-invalid=true]]:ring-destructive/40",
|
|
246
|
+
// Disabled state.
|
|
247
|
+
"has-[[data-slot=input-group-control]:disabled]:opacity-50 has-[[data-slot=input-group-control]:disabled]:pointer-events-none has-[[data-slot=input-group-control]:disabled]:cursor-not-allowed",
|
|
248
|
+
e
|
|
249
|
+
),
|
|
250
|
+
...t
|
|
251
|
+
}
|
|
252
|
+
);
|
|
253
|
+
}
|
|
254
|
+
const J = f(
|
|
255
|
+
"text-muted-foreground flex h-auto cursor-text items-center justify-center gap-2 py-1.5 text-sm font-medium select-none [&>svg:not([class*='size-'])]:size-4 [&>kbd]:rounded-[calc(var(--radius)-5px)] group-data-[disabled=true]/input-group:opacity-50",
|
|
256
|
+
{
|
|
257
|
+
variants: {
|
|
258
|
+
align: {
|
|
259
|
+
"inline-start": "order-first pl-3 has-[>button]:ml-[-0.45rem] has-[>kbd]:ml-[-0.35rem]",
|
|
260
|
+
"inline-end": "order-last pr-3 has-[>button]:mr-[-0.45rem] has-[>kbd]:mr-[-0.35rem]",
|
|
261
|
+
"block-start": "order-first w-full justify-start px-3 pt-3 [.border-b]:pb-3 group-has-[>input]/input-group:pt-2.5",
|
|
262
|
+
"block-end": "order-last w-full justify-start px-3 pb-3 [.border-t]:pt-3 group-has-[>input]/input-group:pb-2.5"
|
|
263
|
+
}
|
|
264
|
+
},
|
|
265
|
+
defaultVariants: {
|
|
266
|
+
align: "inline-start"
|
|
267
|
+
}
|
|
268
|
+
}
|
|
269
|
+
);
|
|
270
|
+
function _e({
|
|
271
|
+
className: e,
|
|
272
|
+
align: t = "inline-start",
|
|
273
|
+
...r
|
|
274
|
+
}) {
|
|
275
|
+
const s = (i) => {
|
|
276
|
+
var l, c;
|
|
277
|
+
i.target.closest("button") || (c = (l = i.currentTarget.parentElement) == null ? void 0 : l.querySelector("input")) == null || c.focus();
|
|
278
|
+
}, o = (i) => {
|
|
279
|
+
var l, c;
|
|
280
|
+
if (i.key === "Enter" || i.key === " ") {
|
|
281
|
+
if (i.preventDefault(), i.target.closest("button"))
|
|
282
|
+
return;
|
|
283
|
+
(c = (l = i.currentTarget.parentElement) == null ? void 0 : l.querySelector("input")) == null || c.focus();
|
|
284
|
+
}
|
|
285
|
+
};
|
|
286
|
+
return /* @__PURE__ */ a(
|
|
287
|
+
"div",
|
|
288
|
+
{
|
|
289
|
+
role: "button",
|
|
290
|
+
tabIndex: 0,
|
|
291
|
+
"data-slot": "input-group-addon",
|
|
292
|
+
"data-align": t,
|
|
293
|
+
className: n(J({ align: t }), e),
|
|
294
|
+
onClick: s,
|
|
295
|
+
onKeyDown: o,
|
|
296
|
+
"aria-label": "Focus input field",
|
|
297
|
+
...r
|
|
298
|
+
}
|
|
299
|
+
);
|
|
300
|
+
}
|
|
301
|
+
const X = f("text-sm shadow-none flex gap-2 items-center", {
|
|
302
|
+
variants: {
|
|
303
|
+
size: {
|
|
304
|
+
xs: "h-6 gap-1 px-2 rounded-[calc(var(--radius)-5px)] [&>svg:not([class*='size-'])]:size-3.5 has-[>svg]:px-2",
|
|
305
|
+
sm: "h-8 px-2.5 gap-1.5 rounded-md has-[>svg]:px-2.5",
|
|
306
|
+
"icon-xs": "size-6 rounded-[calc(var(--radius)-5px)] p-0 has-[>svg]:p-0",
|
|
307
|
+
"icon-sm": "size-8 p-0 has-[>svg]:p-0"
|
|
308
|
+
}
|
|
309
|
+
},
|
|
310
|
+
defaultVariants: {
|
|
311
|
+
size: "xs"
|
|
312
|
+
}
|
|
313
|
+
});
|
|
314
|
+
function Ee({
|
|
315
|
+
className: e,
|
|
316
|
+
type: t = "button",
|
|
317
|
+
variant: r = "default",
|
|
318
|
+
size: s = "xs",
|
|
319
|
+
...o
|
|
320
|
+
}) {
|
|
161
321
|
return /* @__PURE__ */ a(
|
|
162
|
-
|
|
322
|
+
_,
|
|
163
323
|
{
|
|
164
324
|
type: t,
|
|
165
|
-
"data-
|
|
325
|
+
"data-size": s,
|
|
326
|
+
variant: r,
|
|
327
|
+
className: n(X({ size: s }), e),
|
|
328
|
+
...o
|
|
329
|
+
}
|
|
330
|
+
);
|
|
331
|
+
}
|
|
332
|
+
function Pe({ className: e, ...t }) {
|
|
333
|
+
return /* @__PURE__ */ a(
|
|
334
|
+
"span",
|
|
335
|
+
{
|
|
166
336
|
className: n(
|
|
167
|
-
|
|
168
|
-
flex h-9 w-full min-w-0 rounded-md border border-input bg-transparent
|
|
169
|
-
px-3 py-1 text-base shadow-xs transition-[color,box-shadow]
|
|
170
|
-
outline-none
|
|
171
|
-
selection:bg-primary selection:text-primary-foreground
|
|
172
|
-
file:inline-flex file:h-7 file:border-0 file:bg-transparent
|
|
173
|
-
file:text-sm file:font-medium file:text-foreground
|
|
174
|
-
placeholder:text-muted-foreground
|
|
175
|
-
disabled:pointer-events-none disabled:cursor-not-allowed
|
|
176
|
-
disabled:opacity-50
|
|
177
|
-
md:text-sm
|
|
178
|
-
dark:bg-input/30
|
|
179
|
-
`,
|
|
180
|
-
`
|
|
181
|
-
focus-visible:border-ring focus-visible:ring-[3px]
|
|
182
|
-
focus-visible:ring-ring/50
|
|
183
|
-
`,
|
|
184
|
-
`
|
|
185
|
-
aria-invalid:border-destructive aria-invalid:ring-destructive/20
|
|
186
|
-
dark:aria-invalid:ring-destructive/40
|
|
187
|
-
`,
|
|
337
|
+
"text-muted-foreground flex items-center gap-2 text-sm [&_svg]:pointer-events-none [&_svg:not([class*='size-'])]:size-4",
|
|
188
338
|
e
|
|
189
339
|
),
|
|
190
|
-
...
|
|
191
|
-
"data-testid": "input"
|
|
340
|
+
...t
|
|
192
341
|
}
|
|
193
342
|
);
|
|
194
343
|
}
|
|
195
|
-
function
|
|
196
|
-
return /* @__PURE__ */ a(
|
|
344
|
+
function Te({ className: e, ...t }) {
|
|
345
|
+
return /* @__PURE__ */ a(
|
|
346
|
+
E,
|
|
347
|
+
{
|
|
348
|
+
"data-slot": "input-group-control",
|
|
349
|
+
className: n(
|
|
350
|
+
"flex-1 rounded-none border-0 bg-transparent shadow-none focus-visible:ring-0 dark:bg-transparent",
|
|
351
|
+
e
|
|
352
|
+
),
|
|
353
|
+
...t
|
|
354
|
+
}
|
|
355
|
+
);
|
|
197
356
|
}
|
|
198
|
-
function
|
|
199
|
-
return /* @__PURE__ */ a(
|
|
357
|
+
function Ie({ className: e, ...t }) {
|
|
358
|
+
return /* @__PURE__ */ a(
|
|
359
|
+
le,
|
|
360
|
+
{
|
|
361
|
+
"data-slot": "input-group-control",
|
|
362
|
+
className: n(
|
|
363
|
+
"flex-1 resize-none rounded-none border-0 bg-transparent py-3 shadow-none focus-visible:ring-0 dark:bg-transparent",
|
|
364
|
+
e
|
|
365
|
+
),
|
|
366
|
+
...t
|
|
367
|
+
}
|
|
368
|
+
);
|
|
200
369
|
}
|
|
201
370
|
function Y({ ...e }) {
|
|
202
|
-
return /* @__PURE__ */ a(
|
|
371
|
+
return /* @__PURE__ */ a(d.Root, { "data-slot": "select", ...e });
|
|
203
372
|
}
|
|
204
|
-
function
|
|
373
|
+
function Se({ ...e }) {
|
|
374
|
+
return /* @__PURE__ */ a(d.Group, { "data-slot": "select-group", ...e });
|
|
375
|
+
}
|
|
376
|
+
function Q({ ...e }) {
|
|
377
|
+
return /* @__PURE__ */ a(d.Value, { "data-slot": "select-value", ...e });
|
|
378
|
+
}
|
|
379
|
+
function O({
|
|
205
380
|
className: e,
|
|
206
381
|
size: t = "default",
|
|
207
382
|
children: r,
|
|
208
|
-
...
|
|
383
|
+
...s
|
|
209
384
|
}) {
|
|
210
385
|
return /* @__PURE__ */ u(
|
|
211
|
-
|
|
386
|
+
d.Trigger,
|
|
212
387
|
{
|
|
213
388
|
"data-slot": "select-trigger",
|
|
214
389
|
"data-size": t,
|
|
@@ -236,22 +411,22 @@ function K({
|
|
|
236
411
|
`,
|
|
237
412
|
e
|
|
238
413
|
),
|
|
239
|
-
...
|
|
414
|
+
...s,
|
|
240
415
|
children: [
|
|
241
416
|
r,
|
|
242
|
-
/* @__PURE__ */ a(
|
|
417
|
+
/* @__PURE__ */ a(d.Icon, { asChild: !0, children: /* @__PURE__ */ a(b, { className: "size-4 opacity-50" }) })
|
|
243
418
|
]
|
|
244
419
|
}
|
|
245
420
|
);
|
|
246
421
|
}
|
|
247
|
-
function
|
|
422
|
+
function ee({
|
|
248
423
|
className: e,
|
|
249
424
|
children: t,
|
|
250
425
|
position: r = "popper",
|
|
251
|
-
...
|
|
426
|
+
...s
|
|
252
427
|
}) {
|
|
253
|
-
return /* @__PURE__ */ a(
|
|
254
|
-
|
|
428
|
+
return /* @__PURE__ */ a(d.Portal, { "data-testid": "select", children: /* @__PURE__ */ u(
|
|
429
|
+
d.Content,
|
|
255
430
|
{
|
|
256
431
|
"data-slot": "select-content",
|
|
257
432
|
className: n(
|
|
@@ -278,11 +453,11 @@ function Q({
|
|
|
278
453
|
e
|
|
279
454
|
),
|
|
280
455
|
position: r,
|
|
281
|
-
...
|
|
456
|
+
...s,
|
|
282
457
|
children: [
|
|
283
|
-
/* @__PURE__ */ a(
|
|
458
|
+
/* @__PURE__ */ a(ae, {}),
|
|
284
459
|
/* @__PURE__ */ a(
|
|
285
|
-
|
|
460
|
+
d.Viewport,
|
|
286
461
|
{
|
|
287
462
|
className: n(
|
|
288
463
|
"p-1",
|
|
@@ -294,14 +469,14 @@ function Q({
|
|
|
294
469
|
children: t
|
|
295
470
|
}
|
|
296
471
|
),
|
|
297
|
-
/* @__PURE__ */ a(
|
|
472
|
+
/* @__PURE__ */ a(re, {})
|
|
298
473
|
]
|
|
299
474
|
}
|
|
300
475
|
) });
|
|
301
476
|
}
|
|
302
|
-
function
|
|
477
|
+
function Ce({ className: e, ...t }) {
|
|
303
478
|
return /* @__PURE__ */ a(
|
|
304
|
-
|
|
479
|
+
d.Label,
|
|
305
480
|
{
|
|
306
481
|
"data-slot": "select-label",
|
|
307
482
|
className: n("px-2 py-1.5 text-xs text-muted-foreground", e),
|
|
@@ -309,13 +484,13 @@ function ze({ className: e, ...t }) {
|
|
|
309
484
|
}
|
|
310
485
|
);
|
|
311
486
|
}
|
|
312
|
-
function
|
|
487
|
+
function te({
|
|
313
488
|
className: e,
|
|
314
489
|
children: t,
|
|
315
490
|
...r
|
|
316
491
|
}) {
|
|
317
492
|
return /* @__PURE__ */ u(
|
|
318
|
-
|
|
493
|
+
d.Item,
|
|
319
494
|
{
|
|
320
495
|
"data-slot": "select-item",
|
|
321
496
|
className: n(
|
|
@@ -333,18 +508,18 @@ function ee({
|
|
|
333
508
|
),
|
|
334
509
|
...r,
|
|
335
510
|
children: [
|
|
336
|
-
/* @__PURE__ */ a("span", { className: "absolute right-2 flex size-3.5 items-center justify-center", children: /* @__PURE__ */ a(
|
|
337
|
-
/* @__PURE__ */ a(
|
|
511
|
+
/* @__PURE__ */ a("span", { className: "absolute right-2 flex size-3.5 items-center justify-center", children: /* @__PURE__ */ a(d.ItemIndicator, { children: /* @__PURE__ */ a(C, { className: "size-4" }) }) }),
|
|
512
|
+
/* @__PURE__ */ a(d.ItemText, { children: t })
|
|
338
513
|
]
|
|
339
514
|
}
|
|
340
515
|
);
|
|
341
516
|
}
|
|
342
|
-
function
|
|
517
|
+
function Me({
|
|
343
518
|
className: e,
|
|
344
519
|
...t
|
|
345
520
|
}) {
|
|
346
521
|
return /* @__PURE__ */ a(
|
|
347
|
-
|
|
522
|
+
d.Separator,
|
|
348
523
|
{
|
|
349
524
|
"data-slot": "select-separator",
|
|
350
525
|
className: n("pointer-events-none -mx-1 my-1 h-px bg-border", e),
|
|
@@ -352,94 +527,94 @@ function Se({
|
|
|
352
527
|
}
|
|
353
528
|
);
|
|
354
529
|
}
|
|
355
|
-
function
|
|
530
|
+
function ae({
|
|
356
531
|
className: e,
|
|
357
532
|
...t
|
|
358
533
|
}) {
|
|
359
534
|
return /* @__PURE__ */ a(
|
|
360
|
-
|
|
535
|
+
d.ScrollUpButton,
|
|
361
536
|
{
|
|
362
537
|
"data-slot": "select-scroll-up-button",
|
|
363
538
|
className: n("flex cursor-default items-center justify-center py-1", e),
|
|
364
539
|
...t,
|
|
365
|
-
children: /* @__PURE__ */ a(
|
|
540
|
+
children: /* @__PURE__ */ a(M, { className: "size-4" })
|
|
366
541
|
}
|
|
367
542
|
);
|
|
368
543
|
}
|
|
369
|
-
function
|
|
544
|
+
function re({
|
|
370
545
|
className: e,
|
|
371
546
|
...t
|
|
372
547
|
}) {
|
|
373
548
|
return /* @__PURE__ */ a(
|
|
374
|
-
|
|
549
|
+
d.ScrollDownButton,
|
|
375
550
|
{
|
|
376
551
|
"data-slot": "select-scroll-down-button",
|
|
377
552
|
className: n("flex cursor-default items-center justify-center py-1", e),
|
|
378
553
|
...t,
|
|
379
|
-
children: /* @__PURE__ */ a(
|
|
554
|
+
children: /* @__PURE__ */ a(b, { className: "size-4" })
|
|
380
555
|
}
|
|
381
556
|
);
|
|
382
557
|
}
|
|
383
|
-
const
|
|
558
|
+
const Ae = ({
|
|
384
559
|
translationKey: e,
|
|
385
560
|
translationOptions: t,
|
|
386
561
|
namespace: r,
|
|
387
|
-
...
|
|
562
|
+
...s
|
|
388
563
|
}) => {
|
|
389
|
-
const i =
|
|
564
|
+
const i = v(r)(
|
|
390
565
|
e,
|
|
391
566
|
t == null ? void 0 : t.args
|
|
392
567
|
);
|
|
393
|
-
return /* @__PURE__ */ a(
|
|
394
|
-
},
|
|
568
|
+
return /* @__PURE__ */ a(m, { ...s, children: i });
|
|
569
|
+
}, je = ({
|
|
395
570
|
translationKey: e,
|
|
396
571
|
translationOptions: t,
|
|
397
572
|
namespace: r,
|
|
398
|
-
className:
|
|
399
|
-
tag:
|
|
573
|
+
className: s,
|
|
574
|
+
tag: o = "div"
|
|
400
575
|
}) => {
|
|
401
|
-
const
|
|
576
|
+
const l = v(r)(
|
|
402
577
|
e,
|
|
403
578
|
t == null ? void 0 : t.args
|
|
404
579
|
);
|
|
405
|
-
return
|
|
406
|
-
},
|
|
580
|
+
return L.createElement(o, { className: s, "data-testid": "translated-html" }, l);
|
|
581
|
+
}, Re = ({
|
|
407
582
|
date: e,
|
|
408
583
|
formatOptions: t,
|
|
409
584
|
locale: r,
|
|
410
|
-
...
|
|
585
|
+
...s
|
|
411
586
|
}) => {
|
|
412
|
-
const
|
|
413
|
-
return /* @__PURE__ */ a(
|
|
414
|
-
},
|
|
587
|
+
const o = P(e, r, t);
|
|
588
|
+
return /* @__PURE__ */ a(m, { ...s, children: o });
|
|
589
|
+
}, Be = ({
|
|
415
590
|
value: e,
|
|
416
591
|
formatOptions: t,
|
|
417
592
|
locale: r,
|
|
418
|
-
...
|
|
593
|
+
...s
|
|
419
594
|
}) => {
|
|
420
|
-
const
|
|
421
|
-
return /* @__PURE__ */ a(
|
|
595
|
+
const o = T(e, r, t);
|
|
596
|
+
return /* @__PURE__ */ a(m, { ...s, children: o });
|
|
422
597
|
};
|
|
423
|
-
function
|
|
598
|
+
function De({
|
|
424
599
|
locale: e,
|
|
425
600
|
locales: t,
|
|
426
601
|
onChange: r,
|
|
427
|
-
getLabel:
|
|
428
|
-
disabled:
|
|
602
|
+
getLabel: s,
|
|
603
|
+
disabled: o
|
|
429
604
|
}) {
|
|
430
|
-
return /* @__PURE__ */ u(
|
|
431
|
-
/* @__PURE__ */ a(
|
|
432
|
-
/* @__PURE__ */ a(
|
|
605
|
+
return /* @__PURE__ */ u(Y, { value: e, onValueChange: r, disabled: o, children: [
|
|
606
|
+
/* @__PURE__ */ a(O, { children: /* @__PURE__ */ a(Q, { placeholder: s(e) }) }),
|
|
607
|
+
/* @__PURE__ */ a(ee, { children: t.map((i) => /* @__PURE__ */ a(te, { value: i, children: s(i) }, i)) })
|
|
433
608
|
] });
|
|
434
609
|
}
|
|
435
|
-
function
|
|
610
|
+
function Ge({
|
|
436
611
|
className: e,
|
|
437
612
|
reverse: t = !1,
|
|
438
613
|
pauseOnHover: r = !1,
|
|
439
|
-
paused:
|
|
440
|
-
children:
|
|
614
|
+
paused: s = !1,
|
|
615
|
+
children: o,
|
|
441
616
|
vertical: i = !1,
|
|
442
|
-
repeat:
|
|
617
|
+
repeat: l = 4,
|
|
443
618
|
...c
|
|
444
619
|
}) {
|
|
445
620
|
return /* @__PURE__ */ a(
|
|
@@ -454,7 +629,7 @@ function Me({
|
|
|
454
629
|
},
|
|
455
630
|
e
|
|
456
631
|
),
|
|
457
|
-
children: Array(
|
|
632
|
+
children: Array(l).fill(0).map((g, z) => /* @__PURE__ */ a(
|
|
458
633
|
"div",
|
|
459
634
|
{
|
|
460
635
|
className: n("flex shrink-0 justify-around [gap:var(--gap)]", {
|
|
@@ -462,16 +637,16 @@ function Me({
|
|
|
462
637
|
"animate-marquee-vertical flex-col": i,
|
|
463
638
|
"group-hover:[animation-play-state:paused]": r,
|
|
464
639
|
"[animation-direction:reverse]": t,
|
|
465
|
-
"[animation-play-state:paused]":
|
|
640
|
+
"[animation-play-state:paused]": s
|
|
466
641
|
}),
|
|
467
|
-
children:
|
|
642
|
+
children: o
|
|
468
643
|
},
|
|
469
644
|
z
|
|
470
645
|
))
|
|
471
646
|
}
|
|
472
647
|
);
|
|
473
648
|
}
|
|
474
|
-
const
|
|
649
|
+
const ne = f(
|
|
475
650
|
"relative w-full rounded-lg border px-4 py-3 text-sm grid has-[>svg]:grid-cols-[calc(var(--spacing)*4)_1fr] grid-cols-[0_1fr] has-[>svg]:gap-x-3 gap-y-0.5 items-start [&>svg]:size-4 [&>svg]:translate-y-0.5 [&>svg]:text-current",
|
|
476
651
|
{
|
|
477
652
|
variants: {
|
|
@@ -485,7 +660,7 @@ const re = B(
|
|
|
485
660
|
}
|
|
486
661
|
}
|
|
487
662
|
);
|
|
488
|
-
function
|
|
663
|
+
function Le({
|
|
489
664
|
className: e,
|
|
490
665
|
variant: t,
|
|
491
666
|
...r
|
|
@@ -495,12 +670,12 @@ function Be({
|
|
|
495
670
|
{
|
|
496
671
|
"data-slot": "alert",
|
|
497
672
|
role: "alert",
|
|
498
|
-
className: n(
|
|
673
|
+
className: n(ne({ variant: t }), e),
|
|
499
674
|
...r
|
|
500
675
|
}
|
|
501
676
|
);
|
|
502
677
|
}
|
|
503
|
-
function
|
|
678
|
+
function Ve({ className: e, ...t }) {
|
|
504
679
|
return /* @__PURE__ */ a(
|
|
505
680
|
"div",
|
|
506
681
|
{
|
|
@@ -510,7 +685,7 @@ function Le({ className: e, ...t }) {
|
|
|
510
685
|
}
|
|
511
686
|
);
|
|
512
687
|
}
|
|
513
|
-
function
|
|
688
|
+
function He({ className: e, ...t }) {
|
|
514
689
|
return /* @__PURE__ */ a(
|
|
515
690
|
"div",
|
|
516
691
|
{
|
|
@@ -523,18 +698,34 @@ function De({ className: e, ...t }) {
|
|
|
523
698
|
}
|
|
524
699
|
);
|
|
525
700
|
}
|
|
526
|
-
|
|
701
|
+
const se = f(
|
|
702
|
+
"inline-flex items-center justify-center rounded-md border px-2 py-0.5 text-xs font-medium w-fit whitespace-nowrap shrink-0 [&>svg]:size-3 gap-1 [&>svg]:pointer-events-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive transition-[color,box-shadow] overflow-hidden",
|
|
703
|
+
{
|
|
704
|
+
variants: {
|
|
705
|
+
variant: {
|
|
706
|
+
default: "border-transparent bg-primary text-primary-foreground [a&]:hover:bg-primary/90",
|
|
707
|
+
secondary: "border-transparent bg-secondary text-secondary-foreground [a&]:hover:bg-secondary/90",
|
|
708
|
+
destructive: "border-transparent bg-destructive text-white [a&]:hover:bg-destructive/90 focus-visible:ring-destructive/20 dark:focus-visible:ring-destructive/40 dark:bg-destructive/60",
|
|
709
|
+
outline: "text-foreground [a&]:hover:bg-accent [a&]:hover:text-accent-foreground"
|
|
710
|
+
}
|
|
711
|
+
},
|
|
712
|
+
defaultVariants: {
|
|
713
|
+
variant: "default"
|
|
714
|
+
}
|
|
715
|
+
}
|
|
716
|
+
);
|
|
717
|
+
function Fe({
|
|
527
718
|
className: e,
|
|
528
719
|
variant: t,
|
|
529
720
|
asChild: r = !1,
|
|
530
|
-
...
|
|
721
|
+
...s
|
|
531
722
|
}) {
|
|
532
|
-
return /* @__PURE__ */ a(r ?
|
|
723
|
+
return /* @__PURE__ */ a(r ? x : "span", { "data-slot": "badge", className: n(se({ variant: t }), e), ...s });
|
|
533
724
|
}
|
|
534
|
-
function
|
|
725
|
+
function Ue({ ...e }) {
|
|
535
726
|
return /* @__PURE__ */ a("nav", { "aria-label": "breadcrumb", "data-slot": "breadcrumb", ...e });
|
|
536
727
|
}
|
|
537
|
-
function
|
|
728
|
+
function qe({ className: e, ...t }) {
|
|
538
729
|
return /* @__PURE__ */ a(
|
|
539
730
|
"ol",
|
|
540
731
|
{
|
|
@@ -547,7 +738,7 @@ function Ge({ className: e, ...t }) {
|
|
|
547
738
|
}
|
|
548
739
|
);
|
|
549
740
|
}
|
|
550
|
-
function
|
|
741
|
+
function We({ className: e, ...t }) {
|
|
551
742
|
return /* @__PURE__ */ a(
|
|
552
743
|
"li",
|
|
553
744
|
{
|
|
@@ -557,13 +748,13 @@ function He({ className: e, ...t }) {
|
|
|
557
748
|
}
|
|
558
749
|
);
|
|
559
750
|
}
|
|
560
|
-
function
|
|
751
|
+
function Ze({
|
|
561
752
|
asChild: e,
|
|
562
753
|
className: t,
|
|
563
754
|
...r
|
|
564
755
|
}) {
|
|
565
756
|
return /* @__PURE__ */ a(
|
|
566
|
-
e ?
|
|
757
|
+
e ? x : "a",
|
|
567
758
|
{
|
|
568
759
|
"data-slot": "breadcrumb-link",
|
|
569
760
|
className: n("hover:text-secondary transition-colors", t),
|
|
@@ -571,7 +762,7 @@ function Ue({
|
|
|
571
762
|
}
|
|
572
763
|
);
|
|
573
764
|
}
|
|
574
|
-
function
|
|
765
|
+
function $e({ className: e, ...t }) {
|
|
575
766
|
return /* @__PURE__ */ a(
|
|
576
767
|
"span",
|
|
577
768
|
{
|
|
@@ -584,7 +775,7 @@ function Fe({ className: e, ...t }) {
|
|
|
584
775
|
}
|
|
585
776
|
);
|
|
586
777
|
}
|
|
587
|
-
function
|
|
778
|
+
function Ke({ children: e, className: t, ...r }) {
|
|
588
779
|
return /* @__PURE__ */ a(
|
|
589
780
|
"li",
|
|
590
781
|
{
|
|
@@ -593,11 +784,11 @@ function $e({ children: e, className: t, ...r }) {
|
|
|
593
784
|
"aria-hidden": "true",
|
|
594
785
|
className: n("[&>svg]:size-3.5", t),
|
|
595
786
|
...r,
|
|
596
|
-
children: e ?? /* @__PURE__ */ a(
|
|
787
|
+
children: e ?? /* @__PURE__ */ a(A, {})
|
|
597
788
|
}
|
|
598
789
|
);
|
|
599
790
|
}
|
|
600
|
-
function
|
|
791
|
+
function Je({ className: e, ...t }) {
|
|
601
792
|
return /* @__PURE__ */ u(
|
|
602
793
|
"span",
|
|
603
794
|
{
|
|
@@ -607,44 +798,44 @@ function qe({ className: e, ...t }) {
|
|
|
607
798
|
className: n("flex size-9 items-center justify-center", e),
|
|
608
799
|
...t,
|
|
609
800
|
children: [
|
|
610
|
-
/* @__PURE__ */ a(
|
|
801
|
+
/* @__PURE__ */ a(j, { className: "size-4" }),
|
|
611
802
|
/* @__PURE__ */ a("span", { className: "sr-only", children: "More" })
|
|
612
803
|
]
|
|
613
804
|
}
|
|
614
805
|
);
|
|
615
806
|
}
|
|
616
|
-
function
|
|
807
|
+
function Xe({ className: e, ...t }) {
|
|
617
808
|
return /* @__PURE__ */ a(
|
|
618
809
|
"div",
|
|
619
810
|
{
|
|
620
811
|
"data-slot": "card",
|
|
621
812
|
className: n(
|
|
622
|
-
"bg-card text-card-foreground flex flex-col gap-6 rounded
|
|
813
|
+
"bg-card text-card-foreground flex flex-col gap-6 rounded border border-subtle shadow-sm",
|
|
623
814
|
e
|
|
624
815
|
),
|
|
625
816
|
...t
|
|
626
817
|
}
|
|
627
818
|
);
|
|
628
819
|
}
|
|
629
|
-
function
|
|
820
|
+
function Ye({ className: e, ...t }) {
|
|
630
821
|
return /* @__PURE__ */ a(
|
|
631
822
|
"div",
|
|
632
823
|
{
|
|
633
824
|
"data-slot": "card-header",
|
|
634
825
|
className: n(
|
|
635
|
-
"@container/card-header grid auto-rows-min grid-rows-[auto_auto] items-start gap-1
|
|
826
|
+
"@container/card-header grid auto-rows-min grid-rows-[auto_auto] items-start gap-1 p-6 has-data-[slot=card-action]:grid-cols-[1fr_auto] [.border-b]:pb-6",
|
|
636
827
|
e
|
|
637
828
|
),
|
|
638
829
|
...t
|
|
639
830
|
}
|
|
640
831
|
);
|
|
641
832
|
}
|
|
642
|
-
function
|
|
833
|
+
function Qe({ className: e, ...t }) {
|
|
643
834
|
return /* @__PURE__ */ a(
|
|
644
835
|
"div",
|
|
645
836
|
{
|
|
646
837
|
"data-slot": "card-title",
|
|
647
|
-
className: n("
|
|
838
|
+
className: n("text-xl font-semibold text-secondary", e),
|
|
648
839
|
...t
|
|
649
840
|
}
|
|
650
841
|
);
|
|
@@ -659,7 +850,7 @@ function Oe({ className: e, ...t }) {
|
|
|
659
850
|
}
|
|
660
851
|
);
|
|
661
852
|
}
|
|
662
|
-
function
|
|
853
|
+
function et({ className: e, ...t }) {
|
|
663
854
|
return /* @__PURE__ */ a(
|
|
664
855
|
"div",
|
|
665
856
|
{
|
|
@@ -669,46 +860,46 @@ function Xe({ className: e, ...t }) {
|
|
|
669
860
|
}
|
|
670
861
|
);
|
|
671
862
|
}
|
|
672
|
-
function
|
|
673
|
-
return /* @__PURE__ */ a("div", { "data-slot": "card-content", className: n("px-6", e), ...t });
|
|
863
|
+
function tt({ className: e, ...t }) {
|
|
864
|
+
return /* @__PURE__ */ a("div", { "data-slot": "card-content", className: n("px-6 pb-6", e), ...t });
|
|
674
865
|
}
|
|
675
|
-
function
|
|
866
|
+
function at({ className: e, ...t }) {
|
|
676
867
|
return /* @__PURE__ */ a(
|
|
677
868
|
"div",
|
|
678
869
|
{
|
|
679
870
|
"data-slot": "card-footer",
|
|
680
|
-
className: n("flex items-center px-6 [.border-t]:pt-6", e),
|
|
871
|
+
className: n("flex items-center px-6 pb-6 [.border-t]:pt-6", e),
|
|
681
872
|
...t
|
|
682
873
|
}
|
|
683
874
|
);
|
|
684
875
|
}
|
|
685
|
-
var
|
|
686
|
-
|
|
876
|
+
var oe = "Label", y = G.forwardRef((e, t) => /* @__PURE__ */ a(
|
|
877
|
+
I.label,
|
|
687
878
|
{
|
|
688
879
|
...e,
|
|
689
880
|
ref: t,
|
|
690
881
|
onMouseDown: (r) => {
|
|
691
|
-
var
|
|
692
|
-
r.target.closest("button, input, select, textarea") || ((
|
|
882
|
+
var o;
|
|
883
|
+
r.target.closest("button, input, select, textarea") || ((o = e.onMouseDown) == null || o.call(e, r), !r.defaultPrevented && r.detail > 1 && r.preventDefault());
|
|
693
884
|
}
|
|
694
885
|
}
|
|
695
886
|
));
|
|
696
|
-
|
|
697
|
-
var
|
|
698
|
-
function
|
|
887
|
+
y.displayName = oe;
|
|
888
|
+
var ie = y;
|
|
889
|
+
function rt({ className: e, ...t }) {
|
|
699
890
|
return /* @__PURE__ */ a(
|
|
700
|
-
|
|
891
|
+
ie,
|
|
701
892
|
{
|
|
702
893
|
"data-slot": "label",
|
|
703
894
|
className: n(
|
|
704
|
-
"flex items-center gap-2 text-sm
|
|
895
|
+
"text-secondary flex items-center gap-2 text-sm font-medium select-none group-data-[disabled=true]:pointer-events-none group-data-[disabled=true]:opacity-70 peer-disabled:cursor-not-allowed peer-disabled:opacity-70",
|
|
705
896
|
e
|
|
706
897
|
),
|
|
707
898
|
...t
|
|
708
899
|
}
|
|
709
900
|
);
|
|
710
901
|
}
|
|
711
|
-
function
|
|
902
|
+
function nt({ className: e, ...t }) {
|
|
712
903
|
return /* @__PURE__ */ a(
|
|
713
904
|
"nav",
|
|
714
905
|
{
|
|
@@ -720,7 +911,7 @@ function et({ className: e, ...t }) {
|
|
|
720
911
|
}
|
|
721
912
|
);
|
|
722
913
|
}
|
|
723
|
-
function
|
|
914
|
+
function st({ className: e, ...t }) {
|
|
724
915
|
return /* @__PURE__ */ a(
|
|
725
916
|
"ul",
|
|
726
917
|
{
|
|
@@ -730,15 +921,15 @@ function tt({ className: e, ...t }) {
|
|
|
730
921
|
}
|
|
731
922
|
);
|
|
732
923
|
}
|
|
733
|
-
function
|
|
924
|
+
function ot({ ...e }) {
|
|
734
925
|
return /* @__PURE__ */ a("li", { "data-slot": "pagination-item", ...e });
|
|
735
926
|
}
|
|
736
|
-
function
|
|
927
|
+
function k({
|
|
737
928
|
className: e,
|
|
738
929
|
isActive: t,
|
|
739
930
|
size: r = "icon",
|
|
740
|
-
children:
|
|
741
|
-
...
|
|
931
|
+
children: s,
|
|
932
|
+
...o
|
|
742
933
|
}) {
|
|
743
934
|
return /* @__PURE__ */ a(
|
|
744
935
|
"a",
|
|
@@ -746,37 +937,37 @@ function T({
|
|
|
746
937
|
"aria-current": t ? "page" : void 0,
|
|
747
938
|
"data-slot": "pagination-link",
|
|
748
939
|
"data-active": t,
|
|
749
|
-
"aria-label":
|
|
940
|
+
"aria-label": s ? void 0 : `Go to page ${s}`,
|
|
750
941
|
className: n(
|
|
751
|
-
|
|
942
|
+
S({
|
|
752
943
|
variant: t ? "outline" : "ghost",
|
|
753
944
|
size: r
|
|
754
945
|
}),
|
|
755
946
|
e
|
|
756
947
|
),
|
|
757
|
-
...
|
|
758
|
-
children:
|
|
948
|
+
...o,
|
|
949
|
+
children: s
|
|
759
950
|
}
|
|
760
951
|
);
|
|
761
952
|
}
|
|
762
|
-
function
|
|
953
|
+
function it({ className: e, ...t }) {
|
|
763
954
|
return /* @__PURE__ */ u(
|
|
764
|
-
|
|
955
|
+
k,
|
|
765
956
|
{
|
|
766
957
|
"aria-label": "Go to previous page",
|
|
767
958
|
size: "default",
|
|
768
959
|
className: n("gap-1 px-2.5 sm:pl-2.5", e),
|
|
769
960
|
...t,
|
|
770
961
|
children: [
|
|
771
|
-
/* @__PURE__ */ a(
|
|
962
|
+
/* @__PURE__ */ a(R, {}),
|
|
772
963
|
/* @__PURE__ */ a("span", { className: "hidden sm:block", children: "Previous" })
|
|
773
964
|
]
|
|
774
965
|
}
|
|
775
966
|
);
|
|
776
967
|
}
|
|
777
|
-
function
|
|
968
|
+
function lt({ className: e, ...t }) {
|
|
778
969
|
return /* @__PURE__ */ u(
|
|
779
|
-
|
|
970
|
+
k,
|
|
780
971
|
{
|
|
781
972
|
"aria-label": "Go to next page",
|
|
782
973
|
size: "default",
|
|
@@ -784,12 +975,12 @@ function nt({ className: e, ...t }) {
|
|
|
784
975
|
...t,
|
|
785
976
|
children: [
|
|
786
977
|
/* @__PURE__ */ a("span", { className: "hidden sm:block", children: "Next" }),
|
|
787
|
-
/* @__PURE__ */ a(
|
|
978
|
+
/* @__PURE__ */ a(B, {})
|
|
788
979
|
]
|
|
789
980
|
}
|
|
790
981
|
);
|
|
791
982
|
}
|
|
792
|
-
function
|
|
983
|
+
function dt({ className: e, ...t }) {
|
|
793
984
|
return /* @__PURE__ */ u(
|
|
794
985
|
"span",
|
|
795
986
|
{
|
|
@@ -798,60 +989,13 @@ function ot({ className: e, ...t }) {
|
|
|
798
989
|
className: n("flex size-9 items-center justify-center", e),
|
|
799
990
|
...t,
|
|
800
991
|
children: [
|
|
801
|
-
/* @__PURE__ */ a(
|
|
992
|
+
/* @__PURE__ */ a(D, { className: "size-4" }),
|
|
802
993
|
/* @__PURE__ */ a("span", { className: "sr-only", children: "More pages" })
|
|
803
994
|
]
|
|
804
995
|
}
|
|
805
996
|
);
|
|
806
997
|
}
|
|
807
|
-
|
|
808
|
-
const { decorative: r, orientation: o = g, ...s } = e, i = le(o) ? o : g, c = r ? { role: "none" } : { "aria-orientation": i === "vertical" ? i : void 0, role: "separator" };
|
|
809
|
-
return /* @__PURE__ */ a(
|
|
810
|
-
h.div,
|
|
811
|
-
{
|
|
812
|
-
"data-orientation": i,
|
|
813
|
-
...c,
|
|
814
|
-
...s,
|
|
815
|
-
ref: t
|
|
816
|
-
}
|
|
817
|
-
);
|
|
818
|
-
});
|
|
819
|
-
_.displayName = se;
|
|
820
|
-
function le(e) {
|
|
821
|
-
return ie.includes(e);
|
|
822
|
-
}
|
|
823
|
-
var de = _;
|
|
824
|
-
function st({
|
|
825
|
-
className: e,
|
|
826
|
-
orientation: t = "horizontal",
|
|
827
|
-
decorative: r = !0,
|
|
828
|
-
...o
|
|
829
|
-
}) {
|
|
830
|
-
return /* @__PURE__ */ a(
|
|
831
|
-
de,
|
|
832
|
-
{
|
|
833
|
-
"data-slot": "separator",
|
|
834
|
-
decorative: r,
|
|
835
|
-
orientation: t,
|
|
836
|
-
className: n(
|
|
837
|
-
"bg-border shrink-0 data-[orientation=horizontal]:h-px data-[orientation=horizontal]:w-full data-[orientation=vertical]:h-full data-[orientation=vertical]:w-px",
|
|
838
|
-
e
|
|
839
|
-
),
|
|
840
|
-
...o
|
|
841
|
-
}
|
|
842
|
-
);
|
|
843
|
-
}
|
|
844
|
-
function it({ className: e, ...t }) {
|
|
845
|
-
return /* @__PURE__ */ a(
|
|
846
|
-
"div",
|
|
847
|
-
{
|
|
848
|
-
"data-slot": "skeleton",
|
|
849
|
-
className: n("bg-accent animate-pulse rounded-md", e),
|
|
850
|
-
...t
|
|
851
|
-
}
|
|
852
|
-
);
|
|
853
|
-
}
|
|
854
|
-
function lt({ className: e, ...t }) {
|
|
998
|
+
function ct({ className: e, ...t }) {
|
|
855
999
|
return /* @__PURE__ */ a("div", { "data-slot": "table-wrapper", className: "relative w-full overflow-auto", children: /* @__PURE__ */ a(
|
|
856
1000
|
"table",
|
|
857
1001
|
{
|
|
@@ -861,10 +1005,10 @@ function lt({ className: e, ...t }) {
|
|
|
861
1005
|
}
|
|
862
1006
|
) });
|
|
863
1007
|
}
|
|
864
|
-
function
|
|
1008
|
+
function ut({ className: e, ...t }) {
|
|
865
1009
|
return /* @__PURE__ */ a("thead", { "data-slot": "table-header", className: n("[&_tr]:border-b", e), ...t });
|
|
866
1010
|
}
|
|
867
|
-
function
|
|
1011
|
+
function pt({ className: e, ...t }) {
|
|
868
1012
|
return /* @__PURE__ */ a(
|
|
869
1013
|
"tbody",
|
|
870
1014
|
{
|
|
@@ -874,7 +1018,7 @@ function ct({ className: e, ...t }) {
|
|
|
874
1018
|
}
|
|
875
1019
|
);
|
|
876
1020
|
}
|
|
877
|
-
function
|
|
1021
|
+
function mt({ className: e, ...t }) {
|
|
878
1022
|
return /* @__PURE__ */ a(
|
|
879
1023
|
"tfoot",
|
|
880
1024
|
{
|
|
@@ -884,7 +1028,7 @@ function ut({ className: e, ...t }) {
|
|
|
884
1028
|
}
|
|
885
1029
|
);
|
|
886
1030
|
}
|
|
887
|
-
function
|
|
1031
|
+
function gt({ className: e, ...t }) {
|
|
888
1032
|
return /* @__PURE__ */ a(
|
|
889
1033
|
"tr",
|
|
890
1034
|
{
|
|
@@ -910,7 +1054,7 @@ function ft({ className: e, ...t }) {
|
|
|
910
1054
|
}
|
|
911
1055
|
);
|
|
912
1056
|
}
|
|
913
|
-
function
|
|
1057
|
+
function xt({ className: e, ...t }) {
|
|
914
1058
|
return /* @__PURE__ */ a(
|
|
915
1059
|
"td",
|
|
916
1060
|
{
|
|
@@ -920,7 +1064,7 @@ function pt({ className: e, ...t }) {
|
|
|
920
1064
|
}
|
|
921
1065
|
);
|
|
922
1066
|
}
|
|
923
|
-
function
|
|
1067
|
+
function bt({ className: e, ...t }) {
|
|
924
1068
|
return /* @__PURE__ */ a(
|
|
925
1069
|
"caption",
|
|
926
1070
|
{
|
|
@@ -930,13 +1074,13 @@ function gt({ className: e, ...t }) {
|
|
|
930
1074
|
}
|
|
931
1075
|
);
|
|
932
1076
|
}
|
|
933
|
-
function
|
|
1077
|
+
function le({ className: e, ...t }) {
|
|
934
1078
|
return /* @__PURE__ */ a(
|
|
935
1079
|
"textarea",
|
|
936
1080
|
{
|
|
937
1081
|
"data-slot": "textarea",
|
|
938
1082
|
className: n(
|
|
939
|
-
"border-
|
|
1083
|
+
"border-subtle text-secondary bg-background placeholder:text-accent-foreground focus-visible:border-ring focus-visible:ring-ring/50 aria-invalid:ring-destructive/20 aria-invalid:border-destructive flex field-sizing-content min-h-16 w-full rounded-sm border px-3 py-2 text-base shadow-xs transition-[color,box-shadow] outline-none focus-visible:ring-[3px] disabled:cursor-not-allowed disabled:opacity-50 disabled:placeholder:text-secondary-foreground md:text-sm",
|
|
940
1084
|
e
|
|
941
1085
|
),
|
|
942
1086
|
...t
|
|
@@ -944,70 +1088,76 @@ function bt({ className: e, ...t }) {
|
|
|
944
1088
|
);
|
|
945
1089
|
}
|
|
946
1090
|
export {
|
|
947
|
-
|
|
948
|
-
|
|
949
|
-
|
|
950
|
-
|
|
951
|
-
|
|
952
|
-
|
|
953
|
-
|
|
954
|
-
|
|
955
|
-
|
|
956
|
-
|
|
957
|
-
|
|
958
|
-
|
|
959
|
-
|
|
960
|
-
|
|
961
|
-
|
|
962
|
-
|
|
963
|
-
|
|
1091
|
+
Le as Alert,
|
|
1092
|
+
He as AlertDescription,
|
|
1093
|
+
Ve as AlertTitle,
|
|
1094
|
+
wt as AuroraText,
|
|
1095
|
+
Fe as Badge,
|
|
1096
|
+
p as Box,
|
|
1097
|
+
Ue as Breadcrumb,
|
|
1098
|
+
Je as BreadcrumbEllipsis,
|
|
1099
|
+
We as BreadcrumbItem,
|
|
1100
|
+
Ze as BreadcrumbLink,
|
|
1101
|
+
qe as BreadcrumbList,
|
|
1102
|
+
$e as BreadcrumbPage,
|
|
1103
|
+
Ke as BreadcrumbSeparator,
|
|
1104
|
+
_ as Button,
|
|
1105
|
+
Xe as Card,
|
|
1106
|
+
et as CardAction,
|
|
1107
|
+
tt as CardContent,
|
|
964
1108
|
Oe as CardDescription,
|
|
965
|
-
|
|
966
|
-
|
|
967
|
-
|
|
1109
|
+
at as CardFooter,
|
|
1110
|
+
Ye as CardHeader,
|
|
1111
|
+
Qe as CardTitle,
|
|
968
1112
|
xe as Container,
|
|
969
1113
|
we as ExternalLink,
|
|
970
|
-
|
|
971
|
-
|
|
972
|
-
|
|
973
|
-
|
|
974
|
-
|
|
975
|
-
|
|
976
|
-
|
|
977
|
-
|
|
978
|
-
|
|
979
|
-
|
|
980
|
-
|
|
981
|
-
|
|
982
|
-
|
|
983
|
-
|
|
984
|
-
|
|
985
|
-
|
|
986
|
-
|
|
987
|
-
|
|
988
|
-
|
|
989
|
-
|
|
990
|
-
|
|
991
|
-
|
|
992
|
-
|
|
993
|
-
|
|
994
|
-
|
|
995
|
-
|
|
996
|
-
|
|
997
|
-
|
|
998
|
-
|
|
999
|
-
|
|
1000
|
-
|
|
1001
|
-
|
|
1002
|
-
|
|
1003
|
-
|
|
1004
|
-
|
|
1005
|
-
|
|
1114
|
+
be as Flex,
|
|
1115
|
+
Re as FormattedDate,
|
|
1116
|
+
Be as FormattedNumber,
|
|
1117
|
+
ve as Grid,
|
|
1118
|
+
he as Heading,
|
|
1119
|
+
E as Input,
|
|
1120
|
+
ze as InputGroup,
|
|
1121
|
+
_e as InputGroupAddon,
|
|
1122
|
+
Ee as InputGroupButton,
|
|
1123
|
+
Te as InputGroupInput,
|
|
1124
|
+
Pe as InputGroupText,
|
|
1125
|
+
Ie as InputGroupTextarea,
|
|
1126
|
+
rt as Label,
|
|
1127
|
+
De as LanguageSelector,
|
|
1128
|
+
Ge as Marquee,
|
|
1129
|
+
nt as Pagination,
|
|
1130
|
+
st as PaginationContent,
|
|
1131
|
+
dt as PaginationEllipsis,
|
|
1132
|
+
ot as PaginationItem,
|
|
1133
|
+
k as PaginationLink,
|
|
1134
|
+
lt as PaginationNext,
|
|
1135
|
+
it as PaginationPrevious,
|
|
1136
|
+
Ne as Paragraph,
|
|
1137
|
+
ye as Section,
|
|
1138
|
+
Y as Select,
|
|
1139
|
+
ee as SelectContent,
|
|
1140
|
+
Se as SelectGroup,
|
|
1141
|
+
te as SelectItem,
|
|
1142
|
+
Ce as SelectLabel,
|
|
1143
|
+
re as SelectScrollDownButton,
|
|
1144
|
+
ae as SelectScrollUpButton,
|
|
1145
|
+
Me as SelectSeparator,
|
|
1146
|
+
O as SelectTrigger,
|
|
1147
|
+
Q as SelectValue,
|
|
1148
|
+
Nt as Separator,
|
|
1149
|
+
yt as Skeleton,
|
|
1150
|
+
ke as Stack,
|
|
1151
|
+
ct as Table,
|
|
1152
|
+
pt as TableBody,
|
|
1153
|
+
bt as TableCaption,
|
|
1154
|
+
xt as TableCell,
|
|
1155
|
+
mt as TableFooter,
|
|
1006
1156
|
ft as TableHead,
|
|
1007
|
-
|
|
1008
|
-
|
|
1009
|
-
|
|
1010
|
-
|
|
1011
|
-
|
|
1012
|
-
|
|
1157
|
+
ut as TableHeader,
|
|
1158
|
+
gt as TableRow,
|
|
1159
|
+
m as Text,
|
|
1160
|
+
le as Textarea,
|
|
1161
|
+
je as TranslatedHtml,
|
|
1162
|
+
Ae as TranslatedText
|
|
1013
1163
|
};
|