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