@jinaan/uikit 0.1.19 → 0.1.21
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.d.ts.map +1 -1
- package/dist/dropdown-menu.d.ts +1 -0
- package/dist/dropdown-menu.d.ts.map +1 -1
- package/dist/index.js +296 -279
- package/dist/index.js.map +1 -1
- package/dist/select.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/button.tsx +10 -8
- package/src/dropdown-menu.tsx +17 -1
- package/src/select.tsx +3 -4
package/dist/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as e, jsxs as s, Fragment as Be } from "react/jsx-runtime";
|
|
2
|
-
import { CircleNotch as wt, Robot as Ct, Terminal as St, Check as
|
|
3
|
-
import { forwardRef as b, useState as T, Children as $e, isValidElement as qe, useRef as te, useEffect as
|
|
2
|
+
import { CircleNotch as wt, Robot as Ct, Terminal as St, Check as J, Copy as Fe, XCircle as kt, Warning as zt, CheckCircle as Dt, Info as Tt, Minus as Mt, X as le, CaretDown as V, CaretRight as Pt, MagnifyingGlass as It, Columns as jt, Lock as Et, FunnelSimple as Ie, WarningCircle as _t, CaretUp as Lt, CaretUpDown as Rt } from "@phosphor-icons/react";
|
|
3
|
+
import { forwardRef as b, useState as T, Children as $e, isValidElement as qe, useRef as te, useEffect as U, useContext as ie, useCallback as At, createContext as se, useId as de, useMemo as je } from "react";
|
|
4
4
|
import { Slot as Bt } from "@radix-ui/react-slot";
|
|
5
5
|
import { cva as ye } from "class-variance-authority";
|
|
6
6
|
import { clsx as Ft } from "clsx";
|
|
@@ -12,15 +12,15 @@ import * as C from "@radix-ui/react-dropdown-menu";
|
|
|
12
12
|
import * as D from "@radix-ui/react-select";
|
|
13
13
|
import * as qt from "@radix-ui/react-label";
|
|
14
14
|
import * as Gt from "@radix-ui/react-separator";
|
|
15
|
-
import * as
|
|
16
|
-
function
|
|
15
|
+
import * as X from "@radix-ui/react-tooltip";
|
|
16
|
+
function i(...t) {
|
|
17
17
|
return $t(Ft(t));
|
|
18
18
|
}
|
|
19
19
|
function Ht({ className: t }) {
|
|
20
20
|
return /* @__PURE__ */ e(
|
|
21
21
|
wt,
|
|
22
22
|
{
|
|
23
|
-
className:
|
|
23
|
+
className: i("size-4 animate-spin text-muted", t),
|
|
24
24
|
weight: "bold",
|
|
25
25
|
"aria-hidden": !0
|
|
26
26
|
}
|
|
@@ -59,13 +59,13 @@ const Vt = ye(
|
|
|
59
59
|
lg: "[&_svg]:size-[var(--control-icon-lg)]",
|
|
60
60
|
xl: "[&_svg]:size-[var(--control-icon-xl)]",
|
|
61
61
|
icon: "[&_svg]:size-[var(--control-icon-md)]"
|
|
62
|
-
},
|
|
62
|
+
}, k = b(
|
|
63
63
|
({
|
|
64
64
|
className: t,
|
|
65
65
|
variant: a,
|
|
66
66
|
size: r = "md",
|
|
67
67
|
asChild: l = !1,
|
|
68
|
-
leadingIcon:
|
|
68
|
+
leadingIcon: o,
|
|
69
69
|
trailingIcon: d,
|
|
70
70
|
iconOnly: c = !1,
|
|
71
71
|
loading: u = !1,
|
|
@@ -73,15 +73,15 @@ const Vt = ye(
|
|
|
73
73
|
disabled: g,
|
|
74
74
|
children: p,
|
|
75
75
|
...N
|
|
76
|
-
},
|
|
76
|
+
}, z) => {
|
|
77
77
|
const S = l ? Bt : "button", w = Ut[r ?? "md"];
|
|
78
78
|
return /* @__PURE__ */ e(
|
|
79
79
|
S,
|
|
80
80
|
{
|
|
81
|
-
ref:
|
|
81
|
+
ref: z,
|
|
82
82
|
"aria-busy": u || void 0,
|
|
83
83
|
disabled: l ? void 0 : g || u,
|
|
84
|
-
className:
|
|
84
|
+
className: i(
|
|
85
85
|
Vt({ variant: a, size: r }),
|
|
86
86
|
c && "aspect-square px-0",
|
|
87
87
|
h && "w-full",
|
|
@@ -93,24 +93,28 @@ const Vt = ye(
|
|
|
93
93
|
/* @__PURE__ */ s(
|
|
94
94
|
"span",
|
|
95
95
|
{
|
|
96
|
-
className:
|
|
96
|
+
className: i(
|
|
97
97
|
"inline-flex items-center justify-center gap-[var(--control-gap)] transition-[opacity,translate] duration-150 ease-out motion-reduce:transition-none",
|
|
98
98
|
u && "translate-y-2 opacity-0"
|
|
99
99
|
),
|
|
100
100
|
"aria-hidden": u || void 0,
|
|
101
101
|
children: [
|
|
102
|
-
!u &&
|
|
102
|
+
!u && o ? /* @__PURE__ */ e("span", { className: i("inline-flex shrink-0", w), "aria-hidden": !0, children: o }) : null,
|
|
103
103
|
p,
|
|
104
|
-
!u && d ? /* @__PURE__ */ e("span", { className:
|
|
104
|
+
!u && d ? /* @__PURE__ */ e("span", { className: i("inline-flex shrink-0", w), "aria-hidden": !0, children: d }) : null
|
|
105
105
|
]
|
|
106
106
|
}
|
|
107
107
|
),
|
|
108
|
-
|
|
108
|
+
/* @__PURE__ */ e(
|
|
109
109
|
"span",
|
|
110
110
|
{
|
|
111
|
-
|
|
111
|
+
"data-button-spinner": !0,
|
|
112
|
+
className: i(
|
|
113
|
+
"pointer-events-none absolute inset-0 flex items-center justify-center transition-[opacity,translate] duration-150 ease-out motion-reduce:transition-none",
|
|
114
|
+
u ? "translate-y-0 opacity-100" : "-translate-y-2 opacity-0"
|
|
115
|
+
),
|
|
112
116
|
"aria-hidden": !0,
|
|
113
|
-
children: /* @__PURE__ */ e(Ht, { className:
|
|
117
|
+
children: /* @__PURE__ */ e(Ht, { className: i("text-current", w) })
|
|
114
118
|
}
|
|
115
119
|
)
|
|
116
120
|
] })
|
|
@@ -118,20 +122,20 @@ const Vt = ye(
|
|
|
118
122
|
);
|
|
119
123
|
}
|
|
120
124
|
);
|
|
121
|
-
|
|
122
|
-
function
|
|
125
|
+
k.displayName = "Button";
|
|
126
|
+
function Ga({
|
|
123
127
|
command: t,
|
|
124
128
|
tag: a = "Build with agents",
|
|
125
129
|
icon: r,
|
|
126
130
|
className: l
|
|
127
131
|
}) {
|
|
128
|
-
const [
|
|
132
|
+
const [o, d] = T(!1), c = async () => {
|
|
129
133
|
try {
|
|
130
134
|
await navigator.clipboard.writeText(t), d(!0), window.setTimeout(() => d(!1), 1500);
|
|
131
135
|
} catch {
|
|
132
136
|
}
|
|
133
137
|
};
|
|
134
|
-
return /* @__PURE__ */ s("div", { className:
|
|
138
|
+
return /* @__PURE__ */ s("div", { className: i("relative inline-flex max-w-full", l), children: [
|
|
135
139
|
/* @__PURE__ */ s("span", { className: "absolute -top-2.5 left-4 z-10 inline-flex items-center gap-1.5 rounded-md bg-fg px-2 py-1 text-[11px] font-medium text-canvas shadow-sm", children: [
|
|
136
140
|
r ?? /* @__PURE__ */ e(Ct, { className: "size-3.5", weight: "fill" }),
|
|
137
141
|
a
|
|
@@ -140,7 +144,7 @@ function qa({
|
|
|
140
144
|
/* @__PURE__ */ e(St, { className: "size-4 shrink-0 text-subtle", "aria-hidden": !0 }),
|
|
141
145
|
/* @__PURE__ */ e("span", { className: "truncate font-mono text-sm text-fg", children: t }),
|
|
142
146
|
/* @__PURE__ */ e(
|
|
143
|
-
|
|
147
|
+
k,
|
|
144
148
|
{
|
|
145
149
|
variant: "ghost",
|
|
146
150
|
size: "sm",
|
|
@@ -148,7 +152,7 @@ function qa({
|
|
|
148
152
|
"aria-label": "Copy prompt",
|
|
149
153
|
className: "ml-auto",
|
|
150
154
|
onClick: c,
|
|
151
|
-
children:
|
|
155
|
+
children: o ? /* @__PURE__ */ e(J, { className: "text-success", weight: "bold" }) : /* @__PURE__ */ e(Fe, {})
|
|
152
156
|
}
|
|
153
157
|
)
|
|
154
158
|
] })
|
|
@@ -158,7 +162,7 @@ const Ge = b(({ className: t, ...a }, r) => /* @__PURE__ */ e(
|
|
|
158
162
|
we.Root,
|
|
159
163
|
{
|
|
160
164
|
ref: r,
|
|
161
|
-
className:
|
|
165
|
+
className: i(
|
|
162
166
|
"relative flex size-8 shrink-0 overflow-hidden rounded-full border border-line",
|
|
163
167
|
t
|
|
164
168
|
),
|
|
@@ -170,7 +174,7 @@ const He = b(({ className: t, ...a }, r) => /* @__PURE__ */ e(
|
|
|
170
174
|
we.Image,
|
|
171
175
|
{
|
|
172
176
|
ref: r,
|
|
173
|
-
className:
|
|
177
|
+
className: i("aspect-square size-full object-cover", t),
|
|
174
178
|
...a
|
|
175
179
|
}
|
|
176
180
|
));
|
|
@@ -179,7 +183,7 @@ const Ve = b(({ className: t, ...a }, r) => /* @__PURE__ */ e(
|
|
|
179
183
|
we.Fallback,
|
|
180
184
|
{
|
|
181
185
|
ref: r,
|
|
182
|
-
className:
|
|
186
|
+
className: i(
|
|
183
187
|
"flex size-full items-center justify-center bg-elevated text-xs font-medium text-muted",
|
|
184
188
|
t
|
|
185
189
|
),
|
|
@@ -217,9 +221,9 @@ const Wt = ye(
|
|
|
217
221
|
},
|
|
218
222
|
defaultVariants: { variant: "neutral" }
|
|
219
223
|
});
|
|
220
|
-
function Jt({ className: t, variant: a, dot: r = !1, children: l, ...
|
|
221
|
-
return /* @__PURE__ */ s("span", { className:
|
|
222
|
-
r ? /* @__PURE__ */ e("span", { className:
|
|
224
|
+
function Jt({ className: t, variant: a, dot: r = !1, children: l, ...o }) {
|
|
225
|
+
return /* @__PURE__ */ s("span", { className: i(Wt({ variant: a }), t), ...o, children: [
|
|
226
|
+
r ? /* @__PURE__ */ e("span", { className: i(Xt({ variant: a })), "aria-hidden": !0 }) : null,
|
|
223
227
|
l
|
|
224
228
|
] });
|
|
225
229
|
}
|
|
@@ -235,36 +239,36 @@ const Qt = {
|
|
|
235
239
|
iconClassName: "text-success"
|
|
236
240
|
},
|
|
237
241
|
warning: {
|
|
238
|
-
Icon:
|
|
242
|
+
Icon: zt,
|
|
239
243
|
className: "border-warning/30 bg-warning/10",
|
|
240
244
|
iconClassName: "text-warning"
|
|
241
245
|
},
|
|
242
246
|
error: {
|
|
243
|
-
Icon:
|
|
247
|
+
Icon: kt,
|
|
244
248
|
className: "border-error/30 bg-error/10",
|
|
245
249
|
iconClassName: "text-error"
|
|
246
250
|
}
|
|
247
251
|
};
|
|
248
|
-
function
|
|
252
|
+
function Ha({
|
|
249
253
|
variant: t = "info",
|
|
250
254
|
title: a,
|
|
251
255
|
children: r,
|
|
252
256
|
icon: l,
|
|
253
|
-
className:
|
|
257
|
+
className: o
|
|
254
258
|
}) {
|
|
255
259
|
const { Icon: d, className: c, iconClassName: u } = Qt[t];
|
|
256
260
|
return /* @__PURE__ */ s(
|
|
257
261
|
"div",
|
|
258
262
|
{
|
|
259
263
|
role: t === "error" ? "alert" : void 0,
|
|
260
|
-
className:
|
|
264
|
+
className: i(
|
|
261
265
|
"flex items-start gap-2.5 rounded-lg border px-3.5 py-3 text-sm",
|
|
262
266
|
"animate-in fade-in-0 slide-in-from-top-1 duration-200 motion-reduce:animate-none",
|
|
263
267
|
c,
|
|
264
|
-
|
|
268
|
+
o
|
|
265
269
|
),
|
|
266
270
|
children: [
|
|
267
|
-
/* @__PURE__ */ e("span", { className:
|
|
271
|
+
/* @__PURE__ */ e("span", { className: i("mt-0.5 shrink-0 [&_svg]:size-4", u), children: l ?? /* @__PURE__ */ e(d, { weight: "fill" }) }),
|
|
268
272
|
/* @__PURE__ */ s("div", { className: "min-w-0 space-y-0.5", children: [
|
|
269
273
|
a ? /* @__PURE__ */ e("p", { className: "font-medium text-fg", children: a }) : null,
|
|
270
274
|
r ? /* @__PURE__ */ e("div", { className: "text-muted", children: r }) : null
|
|
@@ -280,7 +284,7 @@ function Yt({
|
|
|
280
284
|
return /* @__PURE__ */ e(
|
|
281
285
|
"div",
|
|
282
286
|
{
|
|
283
|
-
className:
|
|
287
|
+
className: i(
|
|
284
288
|
"w-full overflow-hidden rounded-(--table-radius-outer) bg-table-container p-(--table-inset)",
|
|
285
289
|
t
|
|
286
290
|
),
|
|
@@ -295,7 +299,7 @@ function Zt({
|
|
|
295
299
|
return /* @__PURE__ */ e(
|
|
296
300
|
"div",
|
|
297
301
|
{
|
|
298
|
-
className:
|
|
302
|
+
className: i(
|
|
299
303
|
"overflow-hidden rounded-(--table-radius-panel) border border-table-panel-border bg-table-panel",
|
|
300
304
|
t
|
|
301
305
|
),
|
|
@@ -303,26 +307,26 @@ function Zt({
|
|
|
303
307
|
}
|
|
304
308
|
);
|
|
305
309
|
}
|
|
306
|
-
function
|
|
310
|
+
function Va({ className: t, ...a }) {
|
|
307
311
|
return /* @__PURE__ */ e(
|
|
308
312
|
"table",
|
|
309
313
|
{
|
|
310
|
-
className:
|
|
314
|
+
className: i("w-full table-fixed border-collapse caption-bottom text-sm", t),
|
|
311
315
|
...a
|
|
312
316
|
}
|
|
313
317
|
);
|
|
314
318
|
}
|
|
315
|
-
function
|
|
319
|
+
function Ua({ className: t, ...a }) {
|
|
316
320
|
return /* @__PURE__ */ e("thead", { className: t, ...a });
|
|
317
321
|
}
|
|
318
322
|
function Ot({ className: t, ...a }) {
|
|
319
|
-
return /* @__PURE__ */ e("tbody", { className:
|
|
323
|
+
return /* @__PURE__ */ e("tbody", { className: i("[&_tr:last-child]:border-0", t), ...a });
|
|
320
324
|
}
|
|
321
325
|
function Kt({ className: t, ...a }) {
|
|
322
326
|
return /* @__PURE__ */ e(
|
|
323
327
|
"tr",
|
|
324
328
|
{
|
|
325
|
-
className:
|
|
329
|
+
className: i(
|
|
326
330
|
"border-b border-table-panel-border transition-colors last:border-0 hover:bg-table-row-hover data-[state=selected]:bg-table-row-selected",
|
|
327
331
|
t
|
|
328
332
|
),
|
|
@@ -330,11 +334,11 @@ function Kt({ className: t, ...a }) {
|
|
|
330
334
|
}
|
|
331
335
|
);
|
|
332
336
|
}
|
|
333
|
-
function
|
|
337
|
+
function Wa({ className: t, ...a }) {
|
|
334
338
|
return /* @__PURE__ */ e(
|
|
335
339
|
"th",
|
|
336
340
|
{
|
|
337
|
-
className:
|
|
341
|
+
className: i(
|
|
338
342
|
"h-(--table-header-h) whitespace-nowrap px-(--table-pad-x) text-left align-middle text-[0.8125rem] font-medium text-table-header",
|
|
339
343
|
t
|
|
340
344
|
),
|
|
@@ -346,7 +350,7 @@ function fe({ className: t, ...a }) {
|
|
|
346
350
|
return /* @__PURE__ */ e(
|
|
347
351
|
"td",
|
|
348
352
|
{
|
|
349
|
-
className:
|
|
353
|
+
className: i(
|
|
350
354
|
"px-(--table-pad-x) py-3 align-middle text-sm text-table-row data-numeric:font-numeric data-numeric:tabular-nums",
|
|
351
355
|
t
|
|
352
356
|
),
|
|
@@ -371,37 +375,37 @@ function ce({
|
|
|
371
375
|
description: a,
|
|
372
376
|
header: r,
|
|
373
377
|
children: l,
|
|
374
|
-
action:
|
|
378
|
+
action: o,
|
|
375
379
|
tone: d = "default",
|
|
376
380
|
className: c,
|
|
377
381
|
headerClassName: u,
|
|
378
382
|
panelClassName: h,
|
|
379
383
|
minHeight: g
|
|
380
384
|
}) {
|
|
381
|
-
const p = !!(t || a), N = aa(
|
|
382
|
-
|
|
385
|
+
const p = !!(t || a), N = aa(o) ? /* @__PURE__ */ e(
|
|
386
|
+
k,
|
|
383
387
|
{
|
|
384
|
-
variant:
|
|
388
|
+
variant: o.variant ?? "primary",
|
|
385
389
|
size: "xs",
|
|
386
|
-
leadingIcon:
|
|
387
|
-
onClick:
|
|
388
|
-
disabled:
|
|
389
|
-
asChild: !!
|
|
390
|
-
children:
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
] }) :
|
|
390
|
+
leadingIcon: o.href ? void 0 : o.icon,
|
|
391
|
+
onClick: o.onClick,
|
|
392
|
+
disabled: o.disabled,
|
|
393
|
+
asChild: !!o.href,
|
|
394
|
+
children: o.href ? /* @__PURE__ */ s("a", { href: o.href, children: [
|
|
395
|
+
o.icon,
|
|
396
|
+
o.label
|
|
397
|
+
] }) : o.label
|
|
394
398
|
}
|
|
395
|
-
) :
|
|
396
|
-
return /* @__PURE__ */ s(Yt, { className:
|
|
399
|
+
) : o;
|
|
400
|
+
return /* @__PURE__ */ s(Yt, { className: i("relative", ea[d], c), children: [
|
|
397
401
|
/* @__PURE__ */ s("div", { className: "overflow-x-auto", children: [
|
|
398
402
|
r || p ? (
|
|
399
403
|
// Header rows must not inherit the body row hover surface.
|
|
400
|
-
/* @__PURE__ */ s("div", { className:
|
|
404
|
+
/* @__PURE__ */ s("div", { className: i("[--table-row-hover:transparent] text-table-header", u), children: [
|
|
401
405
|
p ? /* @__PURE__ */ s(
|
|
402
406
|
"div",
|
|
403
407
|
{
|
|
404
|
-
className:
|
|
408
|
+
className: i(
|
|
405
409
|
"px-(--table-pad-x) pb-3 pt-4",
|
|
406
410
|
N && "pr-28"
|
|
407
411
|
),
|
|
@@ -417,7 +421,7 @@ function ce({
|
|
|
417
421
|
/* @__PURE__ */ e(
|
|
418
422
|
Zt,
|
|
419
423
|
{
|
|
420
|
-
className:
|
|
424
|
+
className: i(ta[d], h),
|
|
421
425
|
style: g ? { minHeight: g } : void 0,
|
|
422
426
|
children: l
|
|
423
427
|
}
|
|
@@ -437,8 +441,8 @@ function ra(t) {
|
|
|
437
441
|
}
|
|
438
442
|
const na = b(
|
|
439
443
|
({ className: t, children: a, ...r }, l) => {
|
|
440
|
-
const { header:
|
|
441
|
-
return /* @__PURE__ */ e("div", { ref: l, ...r, children: /* @__PURE__ */ e(ce, { className:
|
|
444
|
+
const { header: o, body: d } = ra(a);
|
|
445
|
+
return /* @__PURE__ */ e("div", { ref: l, ...r, children: /* @__PURE__ */ e(ce, { className: i("shadow-xs", t), header: o, children: d }) });
|
|
442
446
|
}
|
|
443
447
|
);
|
|
444
448
|
na.displayName = "Card";
|
|
@@ -446,7 +450,7 @@ const Ue = b(({ className: t, ...a }, r) => /* @__PURE__ */ e(
|
|
|
446
450
|
"div",
|
|
447
451
|
{
|
|
448
452
|
ref: r,
|
|
449
|
-
className:
|
|
453
|
+
className: i(
|
|
450
454
|
"flex flex-col gap-1 px-5 py-4",
|
|
451
455
|
t
|
|
452
456
|
),
|
|
@@ -458,7 +462,7 @@ const la = b(({ className: t, ...a }, r) => /* @__PURE__ */ e(
|
|
|
458
462
|
"h2",
|
|
459
463
|
{
|
|
460
464
|
ref: r,
|
|
461
|
-
className:
|
|
465
|
+
className: i("text-sm font-semibold text-fg", t),
|
|
462
466
|
...a
|
|
463
467
|
}
|
|
464
468
|
));
|
|
@@ -467,7 +471,7 @@ const ia = b(({ className: t, ...a }, r) => /* @__PURE__ */ e(
|
|
|
467
471
|
"p",
|
|
468
472
|
{
|
|
469
473
|
ref: r,
|
|
470
|
-
className:
|
|
474
|
+
className: i(
|
|
471
475
|
"mt-1 border-t border-card-divider pt-2 text-sm text-muted",
|
|
472
476
|
"first:mt-0 first:border-t-0 first:pt-0",
|
|
473
477
|
t
|
|
@@ -476,13 +480,13 @@ const ia = b(({ className: t, ...a }, r) => /* @__PURE__ */ e(
|
|
|
476
480
|
}
|
|
477
481
|
));
|
|
478
482
|
ia.displayName = "CardDescription";
|
|
479
|
-
const oa = b(({ className: t, ...a }, r) => /* @__PURE__ */ e("div", { ref: r, className:
|
|
483
|
+
const oa = b(({ className: t, ...a }, r) => /* @__PURE__ */ e("div", { ref: r, className: i("px-5 py-4", t), ...a }));
|
|
480
484
|
oa.displayName = "CardContent";
|
|
481
485
|
const sa = b(({ className: t, ...a }, r) => /* @__PURE__ */ e(
|
|
482
486
|
"div",
|
|
483
487
|
{
|
|
484
488
|
ref: r,
|
|
485
|
-
className:
|
|
489
|
+
className: i(
|
|
486
490
|
"flex items-center gap-3 border-t border-line px-5 py-3",
|
|
487
491
|
t
|
|
488
492
|
),
|
|
@@ -494,7 +498,7 @@ const xe = b(({ className: t, ...a }, r) => /* @__PURE__ */ e(
|
|
|
494
498
|
Ee.Root,
|
|
495
499
|
{
|
|
496
500
|
ref: r,
|
|
497
|
-
className:
|
|
501
|
+
className: i(
|
|
498
502
|
"peer size-4 shrink-0 rounded border border-line-strong bg-transparent transition-colors",
|
|
499
503
|
"focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-focus/40",
|
|
500
504
|
"disabled:cursor-not-allowed disabled:opacity-50",
|
|
@@ -503,7 +507,7 @@ const xe = b(({ className: t, ...a }, r) => /* @__PURE__ */ e(
|
|
|
503
507
|
t
|
|
504
508
|
),
|
|
505
509
|
...a,
|
|
506
|
-
children: /* @__PURE__ */ e(Ee.Indicator, { className: "btn-fill btn-inner-border flex size-full items-center justify-center rounded-[3px] border-0 bg-[var(--button-primary-bg)] text-[var(--button-primary-fg)] [--button-inner:var(--button-primary-inner)]", children: a.checked === "indeterminate" ? /* @__PURE__ */ e(Mt, { className: "size-3", weight: "bold" }) : /* @__PURE__ */ e(
|
|
510
|
+
children: /* @__PURE__ */ e(Ee.Indicator, { className: "btn-fill btn-inner-border flex size-full items-center justify-center rounded-[3px] border-0 bg-[var(--button-primary-bg)] text-[var(--button-primary-fg)] [--button-inner:var(--button-primary-inner)]", children: a.checked === "indeterminate" ? /* @__PURE__ */ e(Mt, { className: "size-3", weight: "bold" }) : /* @__PURE__ */ e(J, { className: "size-3", weight: "bold" }) })
|
|
507
511
|
}
|
|
508
512
|
));
|
|
509
513
|
xe.displayName = "Checkbox";
|
|
@@ -568,16 +572,16 @@ function pa({
|
|
|
568
572
|
defaultOpen: a,
|
|
569
573
|
onOpenChange: r,
|
|
570
574
|
children: l,
|
|
571
|
-
...
|
|
575
|
+
...o
|
|
572
576
|
}) {
|
|
573
577
|
const [d, c] = T(
|
|
574
578
|
a ?? !1
|
|
575
|
-
), [u, h] = T(!1), g = te(!1), p = te(null), N = t ?? d,
|
|
576
|
-
|
|
579
|
+
), [u, h] = T(!1), g = te(!1), p = te(null), N = t ?? d, z = te(N);
|
|
580
|
+
z.current = N;
|
|
577
581
|
const S = t !== void 0;
|
|
578
|
-
|
|
582
|
+
U(() => ca(), []), U(() => {
|
|
579
583
|
t && (p.current && clearTimeout(p.current), g.current = !1, h(!1));
|
|
580
|
-
}, [t]),
|
|
584
|
+
}, [t]), U(
|
|
581
585
|
() => () => {
|
|
582
586
|
p.current && clearTimeout(p.current);
|
|
583
587
|
},
|
|
@@ -595,7 +599,7 @@ function pa({
|
|
|
595
599
|
}
|
|
596
600
|
g.current = !0, h(!0), p.current = setTimeout(() => {
|
|
597
601
|
S || c(!1), r == null || r(!1), requestAnimationFrame(() => {
|
|
598
|
-
|
|
602
|
+
z.current && (g.current = !1, h(!1));
|
|
599
603
|
});
|
|
600
604
|
}, ma);
|
|
601
605
|
};
|
|
@@ -604,7 +608,7 @@ function pa({
|
|
|
604
608
|
{
|
|
605
609
|
open: N,
|
|
606
610
|
onOpenChange: w,
|
|
607
|
-
...
|
|
611
|
+
...o,
|
|
608
612
|
children: l
|
|
609
613
|
}
|
|
610
614
|
) }) });
|
|
@@ -620,8 +624,8 @@ const Qe = b(({ onClick: t, ...a }, r) => /* @__PURE__ */ e(
|
|
|
620
624
|
}
|
|
621
625
|
));
|
|
622
626
|
Qe.displayName = "DialogTrigger";
|
|
623
|
-
const
|
|
624
|
-
({ variant: t = "secondary", children: a = "Cancel", ...r }, l) => /* @__PURE__ */ e(M.Close, { asChild: !0, children: /* @__PURE__ */ e(
|
|
627
|
+
const Xa = M.Close, Ye = b(
|
|
628
|
+
({ variant: t = "secondary", children: a = "Cancel", ...r }, l) => /* @__PURE__ */ e(M.Close, { asChild: !0, children: /* @__PURE__ */ e(k, { ref: l, type: "button", variant: t, ...r, children: a }) })
|
|
625
629
|
);
|
|
626
630
|
Ye.displayName = "DialogCancel";
|
|
627
631
|
function Ze(t, a = !0) {
|
|
@@ -633,8 +637,8 @@ function Ze(t, a = !0) {
|
|
|
633
637
|
return;
|
|
634
638
|
}
|
|
635
639
|
t.dataset.dialogMotionStarted = "true";
|
|
636
|
-
const l = ua(t),
|
|
637
|
-
|
|
640
|
+
const l = ua(t), o = l ? da(l, r) : null;
|
|
641
|
+
o ? (t.style.setProperty("--dialog-dx", `${o.dx}px`), t.style.setProperty("--dialog-dy", `${o.dy}px`), t.style.setProperty("--dialog-sx", String(o.sx)), t.style.setProperty("--dialog-sy", String(o.sy)), t.classList.add("dialog-fly-in")) : (t.style.removeProperty("--dialog-dx"), t.style.removeProperty("--dialog-dy"), t.style.removeProperty("--dialog-sx"), t.style.removeProperty("--dialog-sy"), t.classList.add("dialog-pop-in"));
|
|
638
642
|
const d = () => {
|
|
639
643
|
t.classList.remove("dialog-fly-in", "dialog-pop-in");
|
|
640
644
|
}, c = (u) => {
|
|
@@ -642,7 +646,7 @@ function Ze(t, a = !0) {
|
|
|
642
646
|
};
|
|
643
647
|
t.addEventListener("animationend", c);
|
|
644
648
|
}
|
|
645
|
-
const Oe = b(({ className: t, children: a, onEscapeKeyDown: r, onPointerDownOutside: l, ...
|
|
649
|
+
const Oe = b(({ className: t, children: a, onEscapeKeyDown: r, onPointerDownOutside: l, ...o }, d) => {
|
|
646
650
|
const c = ie(Xe), u = ie(Je), h = te(null), g = At(
|
|
647
651
|
(p) => {
|
|
648
652
|
if (h.current = p, p && Ze(p), typeof d == "function") {
|
|
@@ -657,7 +661,7 @@ const Oe = b(({ className: t, children: a, onEscapeKeyDown: r, onPointerDownOuts
|
|
|
657
661
|
/* @__PURE__ */ e(
|
|
658
662
|
M.Overlay,
|
|
659
663
|
{
|
|
660
|
-
className:
|
|
664
|
+
className: i(
|
|
661
665
|
"fixed inset-0 z-50 overflow-hidden bg-overlay backdrop-blur-[3px] data-[state=open]:animate-in data-[state=open]:fade-in-0",
|
|
662
666
|
!c && "data-[state=closed]:animate-out data-[state=closed]:fade-out-0",
|
|
663
667
|
c && "opacity-0 transition-opacity duration-200"
|
|
@@ -675,7 +679,7 @@ const Oe = b(({ className: t, children: a, onEscapeKeyDown: r, onPointerDownOuts
|
|
|
675
679
|
M.Content,
|
|
676
680
|
{
|
|
677
681
|
ref: g,
|
|
678
|
-
className:
|
|
682
|
+
className: i(
|
|
679
683
|
"dialog-content pointer-events-auto relative flex max-h-[min(85vh,44rem)] w-full max-w-[22.4rem] flex-col gap-0 overflow-hidden will-change-[transform,opacity]",
|
|
680
684
|
"rounded-2xl border border-(--dialog-shell-border) bg-(--dialog-shell-bg) pb-3 shadow-(--dialog-shell-shadow) sm:pb-4",
|
|
681
685
|
c && "dialog-closing",
|
|
@@ -688,7 +692,7 @@ const Oe = b(({ className: t, children: a, onEscapeKeyDown: r, onPointerDownOuts
|
|
|
688
692
|
onPointerDownOutside: (p) => {
|
|
689
693
|
l == null || l(p), !p.defaultPrevented && (p.preventDefault(), u());
|
|
690
694
|
},
|
|
691
|
-
...
|
|
695
|
+
...o,
|
|
692
696
|
children: [
|
|
693
697
|
a,
|
|
694
698
|
/* @__PURE__ */ s(M.Close, { className: "absolute right-3.5 top-3.5 z-10 rounded-sm text-subtle transition-colors hover:text-fg focus-visible:outline-none", children: [
|
|
@@ -709,7 +713,7 @@ function ba({
|
|
|
709
713
|
"div",
|
|
710
714
|
{
|
|
711
715
|
"data-slot": "panel",
|
|
712
|
-
className:
|
|
716
|
+
className: i(
|
|
713
717
|
"flex min-h-0 flex-1 flex-col overflow-hidden rounded-b-2xl border-x-0 border-t-0 border-b border-(--dialog-panel-border) bg-(--dialog-panel-bg) shadow-(--dialog-panel-shadow)",
|
|
714
718
|
t
|
|
715
719
|
),
|
|
@@ -725,7 +729,7 @@ function fa({
|
|
|
725
729
|
"div",
|
|
726
730
|
{
|
|
727
731
|
"data-slot": "body",
|
|
728
|
-
className:
|
|
732
|
+
className: i("min-h-0 flex-1 overflow-y-auto px-5 py-4", t),
|
|
729
733
|
...a
|
|
730
734
|
}
|
|
731
735
|
);
|
|
@@ -738,7 +742,7 @@ function ha({
|
|
|
738
742
|
"div",
|
|
739
743
|
{
|
|
740
744
|
"data-slot": "header",
|
|
741
|
-
className:
|
|
745
|
+
className: i(
|
|
742
746
|
"flex shrink-0 flex-col gap-1.5 border-b border-(--dialog-panel-border) px-5 py-4",
|
|
743
747
|
t
|
|
744
748
|
),
|
|
@@ -754,7 +758,7 @@ function ga({
|
|
|
754
758
|
"div",
|
|
755
759
|
{
|
|
756
760
|
"data-slot": "footer",
|
|
757
|
-
className:
|
|
761
|
+
className: i(
|
|
758
762
|
"flex shrink-0 flex-col-reverse gap-2 px-3 pt-3 sm:flex-row sm:px-4 sm:pt-3.5 sm:*:flex-1",
|
|
759
763
|
t
|
|
760
764
|
),
|
|
@@ -766,7 +770,7 @@ const Ke = b(({ className: t, ...a }, r) => /* @__PURE__ */ e(
|
|
|
766
770
|
M.Title,
|
|
767
771
|
{
|
|
768
772
|
ref: r,
|
|
769
|
-
className:
|
|
773
|
+
className: i("text-base font-semibold text-fg", t),
|
|
770
774
|
...a
|
|
771
775
|
}
|
|
772
776
|
));
|
|
@@ -775,7 +779,7 @@ const xa = b(({ className: t, ...a }, r) => /* @__PURE__ */ e(
|
|
|
775
779
|
M.Description,
|
|
776
780
|
{
|
|
777
781
|
ref: r,
|
|
778
|
-
className:
|
|
782
|
+
className: i("text-sm text-muted", t),
|
|
779
783
|
...a
|
|
780
784
|
}
|
|
781
785
|
));
|
|
@@ -786,13 +790,13 @@ function va({
|
|
|
786
790
|
value: a,
|
|
787
791
|
onChange: r,
|
|
788
792
|
disabled: l = !1,
|
|
789
|
-
name:
|
|
793
|
+
name: o,
|
|
790
794
|
className: d,
|
|
791
795
|
children: c,
|
|
792
796
|
...u
|
|
793
797
|
}) {
|
|
794
|
-
const h = de(), g =
|
|
795
|
-
return /* @__PURE__ */ e(et.Provider, { value: { name: g, value: a, onChange: r, disabled: l }, children: /* @__PURE__ */ s("fieldset", { className:
|
|
798
|
+
const h = de(), g = o ?? h;
|
|
799
|
+
return /* @__PURE__ */ e(et.Provider, { value: { name: g, value: a, onChange: r, disabled: l }, children: /* @__PURE__ */ s("fieldset", { className: i("flex flex-col gap-6", d), ...u, children: [
|
|
796
800
|
/* @__PURE__ */ e("legend", { className: "sr-only", children: t }),
|
|
797
801
|
c
|
|
798
802
|
] }) });
|
|
@@ -802,17 +806,17 @@ function Na({
|
|
|
802
806
|
title: a,
|
|
803
807
|
description: r,
|
|
804
808
|
badge: l,
|
|
805
|
-
disabled:
|
|
809
|
+
disabled: o = !1,
|
|
806
810
|
className: d
|
|
807
811
|
}) {
|
|
808
812
|
const c = ie(et), u = de();
|
|
809
813
|
if (!c)
|
|
810
814
|
throw new Error("RadioCard must be rendered inside a RadioGroup");
|
|
811
|
-
const h =
|
|
815
|
+
const h = o || c.disabled, g = c.value === t;
|
|
812
816
|
return /* @__PURE__ */ s(
|
|
813
817
|
"label",
|
|
814
818
|
{
|
|
815
|
-
className:
|
|
819
|
+
className: i(
|
|
816
820
|
"group relative flex items-start gap-3",
|
|
817
821
|
h ? "cursor-not-allowed opacity-50" : "cursor-pointer",
|
|
818
822
|
d
|
|
@@ -838,7 +842,7 @@ function Na({
|
|
|
838
842
|
"span",
|
|
839
843
|
{
|
|
840
844
|
"aria-hidden": !0,
|
|
841
|
-
className:
|
|
845
|
+
className: i(
|
|
842
846
|
"mt-[5px] grid size-3.5 shrink-0 place-items-center rounded-full border-2 border-transparent bg-line-strong transition-colors",
|
|
843
847
|
"peer-checked:border-4 peer-checked:border-primary peer-checked:bg-primary-fg",
|
|
844
848
|
"peer-focus-visible:ring-2 peer-focus-visible:ring-focus/40 peer-focus-visible:ring-offset-2 peer-focus-visible:ring-offset-canvas"
|
|
@@ -856,12 +860,12 @@ function Na({
|
|
|
856
860
|
}
|
|
857
861
|
);
|
|
858
862
|
}
|
|
859
|
-
function
|
|
863
|
+
function Ja({
|
|
860
864
|
open: t,
|
|
861
865
|
onOpenChange: a,
|
|
862
866
|
trigger: r,
|
|
863
867
|
title: l,
|
|
864
|
-
options:
|
|
868
|
+
options: o,
|
|
865
869
|
defaultValue: d,
|
|
866
870
|
value: c,
|
|
867
871
|
onValueChange: u,
|
|
@@ -870,7 +874,7 @@ function Xa({
|
|
|
870
874
|
onConfirm: p
|
|
871
875
|
}) {
|
|
872
876
|
var I;
|
|
873
|
-
const [N,
|
|
877
|
+
const [N, z] = T(d ?? ((I = o[0]) == null ? void 0 : I.value) ?? ""), S = c ?? N;
|
|
874
878
|
return /* @__PURE__ */ s(pa, { open: t, onOpenChange: a, children: [
|
|
875
879
|
r ? /* @__PURE__ */ e(Qe, { asChild: !0, children: r }) : null,
|
|
876
880
|
/* @__PURE__ */ s(
|
|
@@ -882,8 +886,8 @@ function Xa({
|
|
|
882
886
|
/* @__PURE__ */ s(ba, { children: [
|
|
883
887
|
/* @__PURE__ */ e(ha, { children: /* @__PURE__ */ e(Ke, { className: "text-xl", children: l }) }),
|
|
884
888
|
/* @__PURE__ */ e(fa, { children: /* @__PURE__ */ e(va, { label: l, value: S, onChange: (y) => {
|
|
885
|
-
c === void 0 &&
|
|
886
|
-
}, children:
|
|
889
|
+
c === void 0 && z(y), u == null || u(y);
|
|
890
|
+
}, children: o.map((y) => /* @__PURE__ */ e(
|
|
887
891
|
Na,
|
|
888
892
|
{
|
|
889
893
|
value: y.value,
|
|
@@ -896,15 +900,15 @@ function Xa({
|
|
|
896
900
|
] }),
|
|
897
901
|
/* @__PURE__ */ s(ga, { className: "gap-3 pt-2.5", children: [
|
|
898
902
|
/* @__PURE__ */ e(Ye, { className: "flex-1", children: h }),
|
|
899
|
-
/* @__PURE__ */ e(
|
|
903
|
+
/* @__PURE__ */ e(k, { className: "flex-1", onClick: () => p == null ? void 0 : p(S), children: g })
|
|
900
904
|
] })
|
|
901
905
|
]
|
|
902
906
|
}
|
|
903
907
|
)
|
|
904
908
|
] });
|
|
905
909
|
}
|
|
906
|
-
function
|
|
907
|
-
const [l,
|
|
910
|
+
function Qa({ code: t, label: a, className: r }) {
|
|
911
|
+
const [l, o] = T(!1);
|
|
908
912
|
return /* @__PURE__ */ e(
|
|
909
913
|
ce,
|
|
910
914
|
{
|
|
@@ -912,11 +916,11 @@ function Ja({ code: t, label: a, className: r }) {
|
|
|
912
916
|
header: /* @__PURE__ */ e("div", { className: "flex h-(--table-header-h) items-center px-(--table-pad-x) pr-28", children: /* @__PURE__ */ e("span", { className: "truncate text-[13px] font-medium text-table-header", children: a }) }),
|
|
913
917
|
action: {
|
|
914
918
|
label: l ? "Copied" : "Copy",
|
|
915
|
-
icon: l ? /* @__PURE__ */ e(
|
|
919
|
+
icon: l ? /* @__PURE__ */ e(J, { className: "text-success", weight: "bold" }) : /* @__PURE__ */ e(Fe, {}),
|
|
916
920
|
variant: "ghost",
|
|
917
921
|
onClick: async () => {
|
|
918
922
|
try {
|
|
919
|
-
await navigator.clipboard.writeText(t),
|
|
923
|
+
await navigator.clipboard.writeText(t), o(!0), window.setTimeout(() => o(!1), 1500);
|
|
920
924
|
} catch {
|
|
921
925
|
}
|
|
922
926
|
}
|
|
@@ -957,7 +961,7 @@ const ya = {
|
|
|
957
961
|
containerClassName: a,
|
|
958
962
|
type: r = "text",
|
|
959
963
|
size: l = "md",
|
|
960
|
-
leadingIcon:
|
|
964
|
+
leadingIcon: o,
|
|
961
965
|
trailingIcon: d,
|
|
962
966
|
onClear: c,
|
|
963
967
|
value: u,
|
|
@@ -965,26 +969,26 @@ const ya = {
|
|
|
965
969
|
error: g = !1,
|
|
966
970
|
helperText: p,
|
|
967
971
|
id: N,
|
|
968
|
-
"aria-describedby":
|
|
972
|
+
"aria-describedby": z,
|
|
969
973
|
disabled: S,
|
|
970
974
|
readOnly: w,
|
|
971
975
|
...I
|
|
972
976
|
}, y) => {
|
|
973
|
-
const B = de(),
|
|
977
|
+
const B = de(), Q = N ?? B, F = !!p, _ = !!(c && (u !== void 0 ? String(u).length > 0 : h !== void 0 && String(h).length > 0)), Y = F ? `${Q}-description` : void 0, ue = [z, Y].filter(Boolean).join(" ") || void 0, Z = /* @__PURE__ */ e(
|
|
974
978
|
"input",
|
|
975
979
|
{
|
|
976
980
|
ref: y,
|
|
977
|
-
id:
|
|
981
|
+
id: Q,
|
|
978
982
|
type: r,
|
|
979
983
|
disabled: S,
|
|
980
984
|
readOnly: w,
|
|
981
985
|
"aria-invalid": g || void 0,
|
|
982
986
|
"aria-describedby": ue,
|
|
983
|
-
style:
|
|
984
|
-
paddingInlineStart:
|
|
987
|
+
style: o || d || _ ? {
|
|
988
|
+
paddingInlineStart: o ? `calc(var(--control-pad-x-${l}) + var(--control-icon-${l}) + var(--control-gap))` : void 0,
|
|
985
989
|
paddingInlineEnd: d || _ ? `calc(var(--control-pad-x-${l}) + var(--control-icon-${l}) + var(--control-gap))` : void 0
|
|
986
990
|
} : void 0,
|
|
987
|
-
className:
|
|
991
|
+
className: i(
|
|
988
992
|
"flex w-full rounded-md border bg-(--input-bg) text-(--input-fg) transition-colors",
|
|
989
993
|
ya[l],
|
|
990
994
|
wa[l],
|
|
@@ -1003,49 +1007,49 @@ const ya = {
|
|
|
1003
1007
|
...I
|
|
1004
1008
|
}
|
|
1005
1009
|
);
|
|
1006
|
-
return !
|
|
1010
|
+
return !o && !d && !_ && !F ? Z : /* @__PURE__ */ s("div", { className: i("w-full", a), children: [
|
|
1007
1011
|
/* @__PURE__ */ s("div", { className: "relative", children: [
|
|
1008
|
-
|
|
1012
|
+
o ? /* @__PURE__ */ e(
|
|
1009
1013
|
"span",
|
|
1010
1014
|
{
|
|
1011
|
-
className:
|
|
1015
|
+
className: i(
|
|
1012
1016
|
"pointer-events-none absolute inset-y-0 flex items-center text-(--input-placeholder)",
|
|
1013
1017
|
Ca[l]
|
|
1014
1018
|
),
|
|
1015
1019
|
"aria-hidden": !0,
|
|
1016
|
-
children: /* @__PURE__ */ e("span", { className:
|
|
1020
|
+
children: /* @__PURE__ */ e("span", { className: i("inline-flex items-center justify-center", he[l]), children: o })
|
|
1017
1021
|
}
|
|
1018
1022
|
) : null,
|
|
1019
|
-
|
|
1023
|
+
Z,
|
|
1020
1024
|
_ ? /* @__PURE__ */ e(
|
|
1021
1025
|
"button",
|
|
1022
1026
|
{
|
|
1023
1027
|
type: "button",
|
|
1024
1028
|
"aria-label": "Clear search",
|
|
1025
1029
|
onClick: c,
|
|
1026
|
-
className:
|
|
1030
|
+
className: i(
|
|
1027
1031
|
"absolute inset-y-0 flex items-center text-(--input-placeholder) transition-colors hover:text-(--input-fg)",
|
|
1028
1032
|
Ae[l]
|
|
1029
1033
|
),
|
|
1030
|
-
children: /* @__PURE__ */ e("span", { className:
|
|
1034
|
+
children: /* @__PURE__ */ e("span", { className: i("inline-flex items-center justify-center", he[l]), children: /* @__PURE__ */ e(le, {}) })
|
|
1031
1035
|
}
|
|
1032
1036
|
) : d ? /* @__PURE__ */ e(
|
|
1033
1037
|
"span",
|
|
1034
1038
|
{
|
|
1035
|
-
className:
|
|
1039
|
+
className: i(
|
|
1036
1040
|
"pointer-events-none absolute inset-y-0 flex items-center text-(--input-placeholder)",
|
|
1037
1041
|
Ae[l]
|
|
1038
1042
|
),
|
|
1039
1043
|
"aria-hidden": !0,
|
|
1040
|
-
children: /* @__PURE__ */ e("span", { className:
|
|
1044
|
+
children: /* @__PURE__ */ e("span", { className: i("inline-flex items-center justify-center", he[l]), children: d })
|
|
1041
1045
|
}
|
|
1042
1046
|
) : null
|
|
1043
1047
|
] }),
|
|
1044
1048
|
F ? /* @__PURE__ */ e(
|
|
1045
1049
|
"p",
|
|
1046
1050
|
{
|
|
1047
|
-
id:
|
|
1048
|
-
className:
|
|
1051
|
+
id: Y,
|
|
1052
|
+
className: i("mt-1.5 text-xs", g ? "text-error" : "text-muted"),
|
|
1049
1053
|
children: p
|
|
1050
1054
|
}
|
|
1051
1055
|
) : null
|
|
@@ -1061,8 +1065,8 @@ function Se(t, a) {
|
|
|
1061
1065
|
r += 1;
|
|
1062
1066
|
return;
|
|
1063
1067
|
}
|
|
1064
|
-
const
|
|
1065
|
-
|
|
1068
|
+
const o = l.props.children;
|
|
1069
|
+
o && (r += Se(o, a));
|
|
1066
1070
|
}), r;
|
|
1067
1071
|
}
|
|
1068
1072
|
const at = se(!1);
|
|
@@ -1072,7 +1076,7 @@ function ge({
|
|
|
1072
1076
|
}) {
|
|
1073
1077
|
const r = Se(t, [
|
|
1074
1078
|
oe,
|
|
1075
|
-
|
|
1079
|
+
W,
|
|
1076
1080
|
rt
|
|
1077
1081
|
]) === 0;
|
|
1078
1082
|
return /* @__PURE__ */ e(at.Provider, { value: r, children: /* @__PURE__ */ e(C.Root, { ...a, children: t }) });
|
|
@@ -1089,12 +1093,25 @@ const ae = b(({ disabled: t, ...a }, r) => {
|
|
|
1089
1093
|
);
|
|
1090
1094
|
});
|
|
1091
1095
|
ae.displayName = "DropdownMenuTrigger";
|
|
1092
|
-
const
|
|
1096
|
+
const Sa = b(({ className: t, ...a }, r) => /* @__PURE__ */ e(
|
|
1097
|
+
V,
|
|
1098
|
+
{
|
|
1099
|
+
ref: r,
|
|
1100
|
+
"aria-hidden": !0,
|
|
1101
|
+
className: i(
|
|
1102
|
+
"ml-auto size-3.5 shrink-0 text-subtle transition-transform duration-200 ease-out group-data-[state=open]:rotate-180 motion-reduce:transition-none",
|
|
1103
|
+
t
|
|
1104
|
+
),
|
|
1105
|
+
...a
|
|
1106
|
+
}
|
|
1107
|
+
));
|
|
1108
|
+
Sa.displayName = "DropdownMenuChevron";
|
|
1109
|
+
const Ya = C.Group, Za = C.Portal, re = b(({ className: t, sideOffset: a = 8, ...r }, l) => /* @__PURE__ */ e(C.Portal, { children: /* @__PURE__ */ e(
|
|
1093
1110
|
C.Content,
|
|
1094
1111
|
{
|
|
1095
1112
|
ref: l,
|
|
1096
1113
|
sideOffset: a,
|
|
1097
|
-
className:
|
|
1114
|
+
className: i(
|
|
1098
1115
|
"menu-surface btn-inner-border z-50 min-w-48 overflow-hidden rounded-lg border border-line bg-(--button-secondary-bg) p-1",
|
|
1099
1116
|
"data-[state=open]:animate-in data-[state=closed]:animate-out",
|
|
1100
1117
|
"data-[state=open]:fade-in-0 data-[state=closed]:fade-out-0",
|
|
@@ -1112,7 +1129,7 @@ const oe = b(({ className: t, inset: a, ...r }, l) => /* @__PURE__ */ e(
|
|
|
1112
1129
|
C.Item,
|
|
1113
1130
|
{
|
|
1114
1131
|
ref: l,
|
|
1115
|
-
className:
|
|
1132
|
+
className: i(
|
|
1116
1133
|
"relative flex cursor-default select-none items-center gap-2 rounded-sm px-2 py-1.5 text-sm text-fg outline-none transition-colors",
|
|
1117
1134
|
"focus:bg-(--menu-highlight) data-disabled:pointer-events-none data-disabled:opacity-50",
|
|
1118
1135
|
"[&_svg]:size-4 [&_svg]:text-muted",
|
|
@@ -1123,37 +1140,37 @@ const oe = b(({ className: t, inset: a, ...r }, l) => /* @__PURE__ */ e(
|
|
|
1123
1140
|
}
|
|
1124
1141
|
));
|
|
1125
1142
|
oe.displayName = "DropdownMenuItem";
|
|
1126
|
-
const
|
|
1143
|
+
const W = b(({ className: t, children: a, checked: r, ...l }, o) => /* @__PURE__ */ s(
|
|
1127
1144
|
C.CheckboxItem,
|
|
1128
1145
|
{
|
|
1129
|
-
ref:
|
|
1130
|
-
className:
|
|
1146
|
+
ref: o,
|
|
1147
|
+
className: i(
|
|
1131
1148
|
"group relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm text-fg outline-none transition-colors focus:bg-(--menu-highlight)",
|
|
1132
1149
|
t
|
|
1133
1150
|
),
|
|
1134
1151
|
checked: r,
|
|
1135
1152
|
...l,
|
|
1136
1153
|
children: [
|
|
1137
|
-
/* @__PURE__ */ e("span", { className: "absolute left-2 flex size-4 shrink-0 items-center justify-center rounded border border-line-strong bg-transparent transition-colors group-data-[state=checked]:border-primary", children: /* @__PURE__ */ e(C.ItemIndicator, { className: "btn-fill btn-inner-border flex size-full items-center justify-center rounded-[3px] border-0 bg-(--button-primary-bg) text-(--button-primary-fg) [--button-inner:var(--button-primary-inner)]", children: /* @__PURE__ */ e(
|
|
1154
|
+
/* @__PURE__ */ e("span", { className: "absolute left-2 flex size-4 shrink-0 items-center justify-center rounded border border-line-strong bg-transparent transition-colors group-data-[state=checked]:border-primary", children: /* @__PURE__ */ e(C.ItemIndicator, { className: "btn-fill btn-inner-border flex size-full items-center justify-center rounded-[3px] border-0 bg-(--button-primary-bg) text-(--button-primary-fg) [--button-inner:var(--button-primary-inner)]", children: /* @__PURE__ */ e(J, { className: "size-3", weight: "bold" }) }) }),
|
|
1138
1155
|
a
|
|
1139
1156
|
]
|
|
1140
1157
|
}
|
|
1141
1158
|
));
|
|
1142
|
-
|
|
1159
|
+
W.displayName = "DropdownMenuCheckboxItem";
|
|
1143
1160
|
const ne = b(({ className: t, ...a }, r) => /* @__PURE__ */ e(
|
|
1144
1161
|
C.Label,
|
|
1145
1162
|
{
|
|
1146
1163
|
ref: r,
|
|
1147
|
-
className:
|
|
1164
|
+
className: i("px-2 py-1.5 text-xs font-medium text-subtle", t),
|
|
1148
1165
|
...a
|
|
1149
1166
|
}
|
|
1150
1167
|
));
|
|
1151
1168
|
ne.displayName = "DropdownMenuLabel";
|
|
1152
|
-
const
|
|
1169
|
+
const Oa = C.Sub, rt = b(({ className: t, inset: a, children: r, ...l }, o) => /* @__PURE__ */ s(
|
|
1153
1170
|
C.SubTrigger,
|
|
1154
1171
|
{
|
|
1155
|
-
ref:
|
|
1156
|
-
className:
|
|
1172
|
+
ref: o,
|
|
1173
|
+
className: i(
|
|
1157
1174
|
"relative flex cursor-default select-none items-center gap-2 rounded-sm px-2 py-1.5 text-sm text-fg outline-none transition-colors",
|
|
1158
1175
|
"focus:bg-(--menu-highlight) data-[state=open]:bg-(--menu-highlight)",
|
|
1159
1176
|
"[&_svg]:size-4 [&_svg]:text-muted",
|
|
@@ -1168,12 +1185,12 @@ const Za = C.Sub, rt = b(({ className: t, inset: a, children: r, ...l }, i) => /
|
|
|
1168
1185
|
}
|
|
1169
1186
|
));
|
|
1170
1187
|
rt.displayName = "DropdownMenuSubTrigger";
|
|
1171
|
-
const
|
|
1188
|
+
const ka = b(({ className: t, ...a }, r) => /* @__PURE__ */ e(
|
|
1172
1189
|
C.SubContent,
|
|
1173
1190
|
{
|
|
1174
1191
|
ref: r,
|
|
1175
1192
|
sideOffset: 8,
|
|
1176
|
-
className:
|
|
1193
|
+
className: i(
|
|
1177
1194
|
"menu-surface btn-inner-border z-50 min-w-48 overflow-hidden rounded-lg border border-line bg-(--button-secondary-bg) p-1",
|
|
1178
1195
|
"data-[state=open]:animate-in data-[state=closed]:animate-out",
|
|
1179
1196
|
"data-[state=open]:fade-in-0 data-[state=closed]:fade-out-0",
|
|
@@ -1186,54 +1203,53 @@ const Sa = b(({ className: t, ...a }, r) => /* @__PURE__ */ e(
|
|
|
1186
1203
|
...a
|
|
1187
1204
|
}
|
|
1188
1205
|
));
|
|
1189
|
-
|
|
1206
|
+
ka.displayName = "DropdownMenuSubContent";
|
|
1190
1207
|
const Ne = b(({ className: t, ...a }, r) => /* @__PURE__ */ e(
|
|
1191
1208
|
C.Separator,
|
|
1192
1209
|
{
|
|
1193
1210
|
ref: r,
|
|
1194
|
-
className:
|
|
1211
|
+
className: i("-mx-1 my-1 h-px bg-line", t),
|
|
1195
1212
|
...a
|
|
1196
1213
|
}
|
|
1197
1214
|
));
|
|
1198
1215
|
Ne.displayName = "DropdownMenuSeparator";
|
|
1199
|
-
const
|
|
1200
|
-
function
|
|
1216
|
+
const Ka = D.Group, za = D.Value;
|
|
1217
|
+
function Da({
|
|
1201
1218
|
children: t,
|
|
1202
1219
|
disabled: a,
|
|
1203
1220
|
...r
|
|
1204
1221
|
}) {
|
|
1205
|
-
const l = Se(t, [
|
|
1222
|
+
const l = Se(t, [ke]) === 0;
|
|
1206
1223
|
return /* @__PURE__ */ e(D.Root, { disabled: a || l, ...r, children: t });
|
|
1207
1224
|
}
|
|
1208
|
-
const nt = b(({ className: t, children: a, variant: r = "field", ...l },
|
|
1225
|
+
const nt = b(({ className: t, children: a, variant: r = "field", ...l }, o) => /* @__PURE__ */ s(
|
|
1209
1226
|
D.Trigger,
|
|
1210
1227
|
{
|
|
1211
|
-
ref:
|
|
1212
|
-
className:
|
|
1213
|
-
"flex items-center justify-between gap-2 text-sm text-fg",
|
|
1228
|
+
ref: o,
|
|
1229
|
+
className: i(
|
|
1230
|
+
"group flex items-center justify-between gap-2 text-sm text-fg",
|
|
1214
1231
|
"focus:outline-none disabled:cursor-not-allowed disabled:opacity-50",
|
|
1215
1232
|
"data-disabled:cursor-not-allowed data-disabled:opacity-50",
|
|
1216
|
-
"[&>span]:truncate",
|
|
1217
1233
|
r === "field" && "h-(--control-h-md) w-full rounded-md border border-line bg-surface px-3 focus:border-primary focus:ring-2 focus:ring-focus/30",
|
|
1218
1234
|
r === "inline" && "btn-fill btn-inner-border btn-interactive h-(--control-h-md) w-auto rounded-(--control-radius) border-0 bg-(--button-secondary-bg) px-(--control-pad-x-sm) font-medium text-fg hover:bg-(--button-surface-hover) active:bg-(--button-surface-active) focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-line-strong",
|
|
1219
1235
|
t
|
|
1220
1236
|
),
|
|
1221
1237
|
...l,
|
|
1222
1238
|
children: [
|
|
1223
|
-
a,
|
|
1224
|
-
/* @__PURE__ */ e(D.Icon, { asChild: !0, children: /* @__PURE__ */ e(
|
|
1239
|
+
/* @__PURE__ */ e("span", { className: "min-w-0 flex-1 truncate text-left", children: a }),
|
|
1240
|
+
/* @__PURE__ */ e(D.Icon, { asChild: !0, children: /* @__PURE__ */ e(V, { className: "ml-auto size-3.5 shrink-0 text-subtle transition-transform duration-200 ease-out group-data-[state=open]:rotate-180 motion-reduce:transition-none" }) })
|
|
1225
1241
|
]
|
|
1226
1242
|
}
|
|
1227
1243
|
));
|
|
1228
1244
|
nt.displayName = "SelectTrigger";
|
|
1229
1245
|
const lt = b(
|
|
1230
|
-
({ className: t, children: a, position: r = "popper", sideOffset: l = 8, ...
|
|
1246
|
+
({ className: t, children: a, position: r = "popper", sideOffset: l = 8, ...o }, d) => /* @__PURE__ */ e(D.Portal, { children: /* @__PURE__ */ e(
|
|
1231
1247
|
D.Content,
|
|
1232
1248
|
{
|
|
1233
1249
|
ref: d,
|
|
1234
1250
|
position: r,
|
|
1235
1251
|
sideOffset: l,
|
|
1236
|
-
className:
|
|
1252
|
+
className: i(
|
|
1237
1253
|
"menu-surface btn-inner-border z-50 min-w-48 overflow-hidden rounded-lg border border-line bg-(--button-secondary-bg) p-1",
|
|
1238
1254
|
"data-[state=open]:animate-in data-[state=closed]:animate-out",
|
|
1239
1255
|
"data-[state=open]:fade-in-0 data-[state=closed]:fade-out-0",
|
|
@@ -1243,50 +1259,50 @@ const lt = b(
|
|
|
1243
1259
|
"duration-150 ease-out",
|
|
1244
1260
|
t
|
|
1245
1261
|
),
|
|
1246
|
-
...
|
|
1262
|
+
...o,
|
|
1247
1263
|
children: /* @__PURE__ */ e(D.Viewport, { className: "p-0", children: a })
|
|
1248
1264
|
}
|
|
1249
1265
|
) })
|
|
1250
1266
|
);
|
|
1251
1267
|
lt.displayName = "SelectContent";
|
|
1252
|
-
const
|
|
1268
|
+
const ke = b(({ className: t, children: a, ...r }, l) => /* @__PURE__ */ s(
|
|
1253
1269
|
D.Item,
|
|
1254
1270
|
{
|
|
1255
1271
|
ref: l,
|
|
1256
|
-
className:
|
|
1272
|
+
className: i(
|
|
1257
1273
|
"relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm text-fg outline-none focus:bg-(--menu-highlight) data-disabled:pointer-events-none data-disabled:opacity-50",
|
|
1258
1274
|
t
|
|
1259
1275
|
),
|
|
1260
1276
|
...r,
|
|
1261
1277
|
children: [
|
|
1262
|
-
/* @__PURE__ */ e("span", { className: "absolute left-2 flex size-4 items-center justify-center", children: /* @__PURE__ */ e(D.ItemIndicator, { children: /* @__PURE__ */ e(
|
|
1278
|
+
/* @__PURE__ */ e("span", { className: "absolute left-2 flex size-4 items-center justify-center", children: /* @__PURE__ */ e(D.ItemIndicator, { children: /* @__PURE__ */ e(J, { className: "size-3.5" }) }) }),
|
|
1263
1279
|
/* @__PURE__ */ e(D.ItemText, { children: a })
|
|
1264
1280
|
]
|
|
1265
1281
|
}
|
|
1266
1282
|
));
|
|
1267
|
-
|
|
1268
|
-
const
|
|
1283
|
+
ke.displayName = "SelectItem";
|
|
1284
|
+
const Ta = b(({ className: t, ...a }, r) => /* @__PURE__ */ e(
|
|
1269
1285
|
D.Label,
|
|
1270
1286
|
{
|
|
1271
1287
|
ref: r,
|
|
1272
|
-
className:
|
|
1288
|
+
className: i("px-2 py-1.5 text-xs font-medium text-subtle", t),
|
|
1273
1289
|
...a
|
|
1274
1290
|
}
|
|
1275
1291
|
));
|
|
1276
|
-
|
|
1277
|
-
function
|
|
1292
|
+
Ta.displayName = "SelectLabel";
|
|
1293
|
+
function Ma({
|
|
1278
1294
|
icon: t,
|
|
1279
1295
|
title: a,
|
|
1280
1296
|
description: r,
|
|
1281
1297
|
action: l,
|
|
1282
|
-
className:
|
|
1298
|
+
className: o
|
|
1283
1299
|
}) {
|
|
1284
1300
|
return /* @__PURE__ */ s(
|
|
1285
1301
|
"div",
|
|
1286
1302
|
{
|
|
1287
|
-
className:
|
|
1303
|
+
className: i(
|
|
1288
1304
|
"flex min-h-[22rem] flex-col items-center justify-center gap-5 px-6 py-16 text-center",
|
|
1289
|
-
|
|
1305
|
+
o
|
|
1290
1306
|
),
|
|
1291
1307
|
children: [
|
|
1292
1308
|
t ? /* @__PURE__ */ e("div", { className: "flex size-[var(--table-empty-icon)] items-center justify-center rounded-2xl border border-table-empty-icon-border bg-table-empty-icon text-table-muted [&_svg]:size-8", children: t }) : null,
|
|
@@ -1299,14 +1315,14 @@ function Ta({
|
|
|
1299
1315
|
}
|
|
1300
1316
|
);
|
|
1301
1317
|
}
|
|
1302
|
-
const
|
|
1303
|
-
function
|
|
1318
|
+
const Pa = "h-[var(--table-header-h)] whitespace-nowrap px-[var(--table-pad-x)] text-left align-middle text-[0.8125rem] font-medium text-table-header";
|
|
1319
|
+
function Ia(t) {
|
|
1304
1320
|
return t.split(/\s+/).slice(0, 2).map((a) => {
|
|
1305
1321
|
var r;
|
|
1306
1322
|
return ((r = a[0]) == null ? void 0 : r.toUpperCase()) ?? "";
|
|
1307
1323
|
}).join("");
|
|
1308
1324
|
}
|
|
1309
|
-
function
|
|
1325
|
+
function er({
|
|
1310
1326
|
name: t,
|
|
1311
1327
|
secondary: a,
|
|
1312
1328
|
image: r
|
|
@@ -1314,7 +1330,7 @@ function Ka({
|
|
|
1314
1330
|
return /* @__PURE__ */ s("div", { className: "flex items-center gap-3", children: [
|
|
1315
1331
|
/* @__PURE__ */ s(Ge, { className: "size-8", children: [
|
|
1316
1332
|
r ? /* @__PURE__ */ e(He, { src: r, alt: "" }) : null,
|
|
1317
|
-
/* @__PURE__ */ e(Ve, { children:
|
|
1333
|
+
/* @__PURE__ */ e(Ve, { children: Ia(t) })
|
|
1318
1334
|
] }),
|
|
1319
1335
|
/* @__PURE__ */ s("div", { className: "min-w-0", children: [
|
|
1320
1336
|
/* @__PURE__ */ e("div", { className: "truncate font-medium text-table-header-active", children: t }),
|
|
@@ -1322,12 +1338,12 @@ function Ka({
|
|
|
1322
1338
|
] })
|
|
1323
1339
|
] });
|
|
1324
1340
|
}
|
|
1325
|
-
function
|
|
1341
|
+
function tr({
|
|
1326
1342
|
rows: t,
|
|
1327
1343
|
columns: a,
|
|
1328
1344
|
getRowId: r,
|
|
1329
1345
|
loading: l = !1,
|
|
1330
|
-
error:
|
|
1346
|
+
error: o,
|
|
1331
1347
|
empty: d,
|
|
1332
1348
|
search: c,
|
|
1333
1349
|
filters: u,
|
|
@@ -1335,28 +1351,28 @@ function er({
|
|
|
1335
1351
|
toolbarEnd: g,
|
|
1336
1352
|
tabs: p,
|
|
1337
1353
|
activeTab: N,
|
|
1338
|
-
onTabChange:
|
|
1354
|
+
onTabChange: z,
|
|
1339
1355
|
infoBanner: S,
|
|
1340
1356
|
selectable: w = !1,
|
|
1341
1357
|
bulkActions: I,
|
|
1342
1358
|
rowActions: y,
|
|
1343
1359
|
onRowClick: B,
|
|
1344
|
-
defaultSort:
|
|
1360
|
+
defaultSort: Q,
|
|
1345
1361
|
pageSize: F = 25,
|
|
1346
1362
|
pageSizeOptions: _ = [10, 25, 50, 100],
|
|
1347
|
-
tone:
|
|
1363
|
+
tone: Y,
|
|
1348
1364
|
headerAction: ue,
|
|
1349
|
-
headerClassName:
|
|
1365
|
+
headerClassName: Z,
|
|
1350
1366
|
panelClassName: it,
|
|
1351
1367
|
className: ot
|
|
1352
1368
|
}) {
|
|
1353
|
-
const [
|
|
1369
|
+
const [ze, De] = T(
|
|
1354
1370
|
() => Object.fromEntries(
|
|
1355
1371
|
a.filter((n) => n.defaultHidden && !n.required).map((n) => [n.id, !0])
|
|
1356
1372
|
)
|
|
1357
1373
|
), [x, st] = T(
|
|
1358
|
-
|
|
1359
|
-
), [$,
|
|
1374
|
+
Q ?? null
|
|
1375
|
+
), [$, O] = T(0), [L, dt] = T(F), [R, me] = T(/* @__PURE__ */ new Set()), [ct, pe] = T([]), j = a.filter((n) => !ze[n.id]), Te = a.filter((n) => ze[n.id] && !n.required), be = (u ?? []).filter((n) => ct.includes(n.id)), ut = (u ?? []).map((n) => `${n.id}:${n.value.join(",")}`).join("|"), K = je(() => {
|
|
1360
1376
|
let n = t;
|
|
1361
1377
|
for (const f of u ?? [])
|
|
1362
1378
|
f.value.length > 0 && (n = n.filter((v) => f.match(v, f.value)));
|
|
@@ -1364,21 +1380,21 @@ function er({
|
|
|
1364
1380
|
const m = c.value.trim().toLowerCase();
|
|
1365
1381
|
return n.filter((f) => c.keys(f).toLowerCase().includes(m));
|
|
1366
1382
|
}, [t, c, u]), q = je(() => {
|
|
1367
|
-
if (!x) return
|
|
1383
|
+
if (!x) return K;
|
|
1368
1384
|
const n = a.find((f) => f.id === x.id);
|
|
1369
|
-
if (!(n != null && n.sortValue)) return
|
|
1385
|
+
if (!(n != null && n.sortValue)) return K;
|
|
1370
1386
|
const m = x.dir === "asc" ? 1 : -1;
|
|
1371
|
-
return [...
|
|
1387
|
+
return [...K].sort((f, v) => {
|
|
1372
1388
|
const P = n.sortValue(f), H = n.sortValue(v);
|
|
1373
1389
|
return P == null && H == null ? 0 : P == null ? 1 : H == null ? -1 : typeof P == "number" && typeof H == "number" ? (P - H) * m : String(P).localeCompare(String(H)) * m;
|
|
1374
1390
|
});
|
|
1375
|
-
}, [
|
|
1376
|
-
|
|
1377
|
-
|
|
1378
|
-
}, [c == null ? void 0 : c.value, L, x == null ? void 0 : x.id, x == null ? void 0 : x.dir, N, ut]),
|
|
1379
|
-
$ > G - 1 &&
|
|
1391
|
+
}, [K, x, a]), G = Math.max(1, Math.ceil(q.length / L));
|
|
1392
|
+
U(() => {
|
|
1393
|
+
O(0);
|
|
1394
|
+
}, [c == null ? void 0 : c.value, L, x == null ? void 0 : x.id, x == null ? void 0 : x.dir, N, ut]), U(() => {
|
|
1395
|
+
$ > G - 1 && O(G - 1);
|
|
1380
1396
|
}, [$, G]);
|
|
1381
|
-
const
|
|
1397
|
+
const ee = $ * L, E = q.slice(ee, ee + L), mt = (n) => {
|
|
1382
1398
|
n.sortable && st(
|
|
1383
1399
|
(m) => (m == null ? void 0 : m.id) === n.id ? m.dir === "asc" ? { id: n.id, dir: "desc" } : null : { id: n.id, dir: "asc" }
|
|
1384
1400
|
);
|
|
@@ -1397,7 +1413,7 @@ function er({
|
|
|
1397
1413
|
...Nt,
|
|
1398
1414
|
...y ? ["11rem"] : []
|
|
1399
1415
|
], yt = (n) => (x == null ? void 0 : x.id) === n.id ? x.dir === "asc" ? "ascending" : "descending" : void 0;
|
|
1400
|
-
return /* @__PURE__ */ s("div", { className:
|
|
1416
|
+
return /* @__PURE__ */ s("div", { className: i("space-y-4", ot), children: [
|
|
1401
1417
|
p && p.length > 0 && /* @__PURE__ */ e("div", { className: "flex items-center gap-1 border-b border-line", role: "tablist", children: p.map((n) => {
|
|
1402
1418
|
const m = n.id === N;
|
|
1403
1419
|
return /* @__PURE__ */ e(
|
|
@@ -1406,8 +1422,8 @@ function er({
|
|
|
1406
1422
|
type: "button",
|
|
1407
1423
|
role: "tab",
|
|
1408
1424
|
"aria-selected": m,
|
|
1409
|
-
onClick: () =>
|
|
1410
|
-
className:
|
|
1425
|
+
onClick: () => z == null ? void 0 : z(n.id),
|
|
1426
|
+
className: i(
|
|
1411
1427
|
"-mb-px border-b-2 px-3 py-2 text-sm transition-colors",
|
|
1412
1428
|
m ? "border-fg font-medium text-fg" : "border-transparent text-muted hover:text-fg"
|
|
1413
1429
|
),
|
|
@@ -1434,19 +1450,19 @@ function er({
|
|
|
1434
1450
|
h,
|
|
1435
1451
|
/* @__PURE__ */ s(ge, { children: [
|
|
1436
1452
|
/* @__PURE__ */ e(ae, { asChild: !0, children: /* @__PURE__ */ e(
|
|
1437
|
-
|
|
1453
|
+
k,
|
|
1438
1454
|
{
|
|
1439
1455
|
variant: "secondary",
|
|
1440
1456
|
size: "md",
|
|
1441
1457
|
leadingIcon: /* @__PURE__ */ e(jt, {}),
|
|
1442
|
-
trailingIcon: /* @__PURE__ */ e(
|
|
1458
|
+
trailingIcon: /* @__PURE__ */ e(V, {}),
|
|
1443
1459
|
children: "Columns"
|
|
1444
1460
|
}
|
|
1445
1461
|
) }),
|
|
1446
1462
|
/* @__PURE__ */ s(re, { align: "end", className: "w-54", children: [
|
|
1447
1463
|
/* @__PURE__ */ e(ne, { className: "text-[13px]", children: "Active columns" }),
|
|
1448
1464
|
j.map((n) => /* @__PURE__ */ s(
|
|
1449
|
-
|
|
1465
|
+
W,
|
|
1450
1466
|
{
|
|
1451
1467
|
checked: !0,
|
|
1452
1468
|
disabled: n.required,
|
|
@@ -1464,7 +1480,7 @@ function er({
|
|
|
1464
1480
|
/* @__PURE__ */ e(Ne, {}),
|
|
1465
1481
|
/* @__PURE__ */ e(ne, { className: "text-[13px]", children: "Available columns" }),
|
|
1466
1482
|
Te.map((n) => /* @__PURE__ */ e(
|
|
1467
|
-
|
|
1483
|
+
W,
|
|
1468
1484
|
{
|
|
1469
1485
|
checked: !1,
|
|
1470
1486
|
onCheckedChange: () => De((m) => ({ ...m, [n.id]: !1 })),
|
|
@@ -1478,7 +1494,7 @@ function er({
|
|
|
1478
1494
|
] }),
|
|
1479
1495
|
u && u.length > 0 ? /* @__PURE__ */ s(ge, { children: [
|
|
1480
1496
|
/* @__PURE__ */ e(ae, { asChild: !0, children: /* @__PURE__ */ e(
|
|
1481
|
-
|
|
1497
|
+
k,
|
|
1482
1498
|
{
|
|
1483
1499
|
variant: "secondary",
|
|
1484
1500
|
size: "md",
|
|
@@ -1507,7 +1523,7 @@ function er({
|
|
|
1507
1523
|
};
|
|
1508
1524
|
return /* @__PURE__ */ s("div", { className: "inline-flex items-center", children: [
|
|
1509
1525
|
/* @__PURE__ */ e(
|
|
1510
|
-
|
|
1526
|
+
k,
|
|
1511
1527
|
{
|
|
1512
1528
|
variant: "secondary",
|
|
1513
1529
|
size: "md",
|
|
@@ -1519,12 +1535,12 @@ function er({
|
|
|
1519
1535
|
}
|
|
1520
1536
|
),
|
|
1521
1537
|
/* @__PURE__ */ s(ge, { children: [
|
|
1522
|
-
/* @__PURE__ */ e(ae, { asChild: !0, children: /* @__PURE__ */ s(
|
|
1538
|
+
/* @__PURE__ */ e(ae, { asChild: !0, children: /* @__PURE__ */ s(k, { variant: "secondary", size: "md", className: "rounded-l-none pl-2", children: [
|
|
1523
1539
|
/* @__PURE__ */ e(Ie, {}),
|
|
1524
1540
|
/* @__PURE__ */ e("span", { className: "font-medium", children: n.label }),
|
|
1525
1541
|
/* @__PURE__ */ e("span", { className: "h-4 w-px bg-line", "aria-hidden": !0 }),
|
|
1526
1542
|
/* @__PURE__ */ e("span", { className: "text-muted", children: n.value.length > 0 ? `${n.value.length} selected` : "Enter value" }),
|
|
1527
|
-
/* @__PURE__ */ e(
|
|
1543
|
+
/* @__PURE__ */ e(V, { className: "text-muted" })
|
|
1528
1544
|
] }) }),
|
|
1529
1545
|
/* @__PURE__ */ s(re, { align: "start", className: "w-56", children: [
|
|
1530
1546
|
/* @__PURE__ */ s(ne, { className: "text-[13px]", children: [
|
|
@@ -1534,7 +1550,7 @@ function er({
|
|
|
1534
1550
|
n.options.map((f) => {
|
|
1535
1551
|
const v = n.value.includes(f.value);
|
|
1536
1552
|
return /* @__PURE__ */ e(
|
|
1537
|
-
|
|
1553
|
+
W,
|
|
1538
1554
|
{
|
|
1539
1555
|
checked: v,
|
|
1540
1556
|
onCheckedChange: () => n.onChange(
|
|
@@ -1572,7 +1588,7 @@ function er({
|
|
|
1572
1588
|
" selected"
|
|
1573
1589
|
] }),
|
|
1574
1590
|
/* @__PURE__ */ e("div", { className: "flex items-center gap-2", children: (I ?? []).map((n) => /* @__PURE__ */ s(
|
|
1575
|
-
|
|
1591
|
+
k,
|
|
1576
1592
|
{
|
|
1577
1593
|
size: "md",
|
|
1578
1594
|
variant: n.variant ?? "outline",
|
|
@@ -1602,8 +1618,8 @@ function er({
|
|
|
1602
1618
|
ce,
|
|
1603
1619
|
{
|
|
1604
1620
|
action: ue,
|
|
1605
|
-
tone:
|
|
1606
|
-
headerClassName:
|
|
1621
|
+
tone: Y,
|
|
1622
|
+
headerClassName: Z,
|
|
1607
1623
|
panelClassName: it,
|
|
1608
1624
|
header: (
|
|
1609
1625
|
// Visible header: presentational so its controls stay focusable while
|
|
@@ -1622,16 +1638,16 @@ function er({
|
|
|
1622
1638
|
j.map((n) => /* @__PURE__ */ e(
|
|
1623
1639
|
"th",
|
|
1624
1640
|
{
|
|
1625
|
-
className:
|
|
1641
|
+
className: i(Pa, n.align === "right" && "text-right", n.className),
|
|
1626
1642
|
children: n.sortable ? /* @__PURE__ */ s(
|
|
1627
|
-
|
|
1643
|
+
k,
|
|
1628
1644
|
{
|
|
1629
1645
|
type: "button",
|
|
1630
1646
|
variant: "ghost",
|
|
1631
1647
|
size: "xs",
|
|
1632
1648
|
"aria-label": `Sort by ${n.header}`,
|
|
1633
1649
|
onClick: () => mt(n),
|
|
1634
|
-
className:
|
|
1650
|
+
className: i(
|
|
1635
1651
|
"h-auto gap-1.5 rounded-none px-0 py-0 text-[0.8125rem] text-table-header transition-colors [&_svg]:size-3.5",
|
|
1636
1652
|
"hover:bg-transparent hover:text-table-header-active hover:shadow-none",
|
|
1637
1653
|
"active:scale-100 active:bg-transparent active:shadow-none",
|
|
@@ -1639,7 +1655,7 @@ function er({
|
|
|
1639
1655
|
),
|
|
1640
1656
|
children: [
|
|
1641
1657
|
n.header,
|
|
1642
|
-
(x == null ? void 0 : x.id) === n.id ? x.dir === "asc" ? /* @__PURE__ */ e(Lt, { className: "size-3.5", weight: "bold" }) : /* @__PURE__ */ e(
|
|
1658
|
+
(x == null ? void 0 : x.id) === n.id ? x.dir === "asc" ? /* @__PURE__ */ e(Lt, { className: "size-3.5", weight: "bold" }) : /* @__PURE__ */ e(V, { className: "size-3.5", weight: "bold" }) : /* @__PURE__ */ e(Rt, { className: "size-3.5 opacity-50" })
|
|
1643
1659
|
]
|
|
1644
1660
|
}
|
|
1645
1661
|
) : n.header
|
|
@@ -1650,15 +1666,15 @@ function er({
|
|
|
1650
1666
|
] }) })
|
|
1651
1667
|
] })
|
|
1652
1668
|
),
|
|
1653
|
-
children: l ? /* @__PURE__ */ e("div", { className: "space-y-2 p-4", children: [0, 1, 2].map((n) => /* @__PURE__ */ e("div", { className: "h-11 w-full animate-pulse rounded-lg bg-table-row-hover" }, n)) }) :
|
|
1669
|
+
children: l ? /* @__PURE__ */ e("div", { className: "space-y-2 p-4", children: [0, 1, 2].map((n) => /* @__PURE__ */ e("div", { className: "h-11 w-full animate-pulse rounded-lg bg-table-row-hover" }, n)) }) : o ? /* @__PURE__ */ s("div", { className: "flex min-h-88 flex-col items-center justify-center gap-4 px-6 py-16 text-center", children: [
|
|
1654
1670
|
/* @__PURE__ */ e("div", { className: "flex size-(--table-empty-icon) items-center justify-center rounded-2xl border border-table-empty-icon-border bg-table-empty-icon text-error [&_svg]:size-8", children: /* @__PURE__ */ e(_t, { weight: "duotone" }) }),
|
|
1655
1671
|
/* @__PURE__ */ s("div", { className: "space-y-2", children: [
|
|
1656
|
-
/* @__PURE__ */ e("p", { className: "text-[1.75rem] font-semibold text-table-header-active", children:
|
|
1657
|
-
|
|
1672
|
+
/* @__PURE__ */ e("p", { className: "text-[1.75rem] font-semibold text-table-header-active", children: o.title }),
|
|
1673
|
+
o.description ? /* @__PURE__ */ e("p", { className: "mx-auto max-w-md text-base leading-relaxed text-table-muted", children: o.description }) : null
|
|
1658
1674
|
] }),
|
|
1659
|
-
|
|
1675
|
+
o.action
|
|
1660
1676
|
] }) : E.length === 0 ? /* @__PURE__ */ e(
|
|
1661
|
-
|
|
1677
|
+
Ma,
|
|
1662
1678
|
{
|
|
1663
1679
|
icon: d == null ? void 0 : d.icon,
|
|
1664
1680
|
title: (d == null ? void 0 : d.title) ?? "No results",
|
|
@@ -1693,7 +1709,7 @@ function er({
|
|
|
1693
1709
|
fe,
|
|
1694
1710
|
{
|
|
1695
1711
|
"data-numeric": v.numeric ? "" : void 0,
|
|
1696
|
-
className:
|
|
1712
|
+
className: i(v.align === "right" && "text-right", v.className),
|
|
1697
1713
|
children: v.cell(n)
|
|
1698
1714
|
},
|
|
1699
1715
|
v.id
|
|
@@ -1707,39 +1723,39 @@ function er({
|
|
|
1707
1723
|
] })
|
|
1708
1724
|
}
|
|
1709
1725
|
),
|
|
1710
|
-
!l && !
|
|
1726
|
+
!l && !o && q.length > 0 && /* @__PURE__ */ s("div", { className: "flex flex-wrap items-center justify-between gap-3 text-sm", children: [
|
|
1711
1727
|
/* @__PURE__ */ s("span", { className: "text-muted", children: [
|
|
1712
|
-
|
|
1728
|
+
ee + 1,
|
|
1713
1729
|
"–",
|
|
1714
|
-
Math.min(
|
|
1730
|
+
Math.min(ee + L, q.length),
|
|
1715
1731
|
" of ",
|
|
1716
1732
|
q.length
|
|
1717
1733
|
] }),
|
|
1718
1734
|
/* @__PURE__ */ s("div", { className: "flex items-center gap-2", children: [
|
|
1719
|
-
/* @__PURE__ */ s(
|
|
1735
|
+
/* @__PURE__ */ s(Da, { value: String(L), onValueChange: (n) => dt(Number(n)), children: [
|
|
1720
1736
|
/* @__PURE__ */ e(nt, { "aria-label": "Rows per page", className: "w-27.5", children: /* @__PURE__ */ e(za, {}) }),
|
|
1721
|
-
/* @__PURE__ */ e(lt, { children: _.map((n) => /* @__PURE__ */ s(
|
|
1737
|
+
/* @__PURE__ */ e(lt, { children: _.map((n) => /* @__PURE__ */ s(ke, { value: String(n), children: [
|
|
1722
1738
|
n,
|
|
1723
1739
|
" / page"
|
|
1724
1740
|
] }, n)) })
|
|
1725
1741
|
] }),
|
|
1726
1742
|
/* @__PURE__ */ e(
|
|
1727
|
-
|
|
1743
|
+
k,
|
|
1728
1744
|
{
|
|
1729
1745
|
variant: "outline",
|
|
1730
1746
|
size: "md",
|
|
1731
1747
|
disabled: $ <= 0,
|
|
1732
|
-
onClick: () =>
|
|
1748
|
+
onClick: () => O((n) => Math.max(0, n - 1)),
|
|
1733
1749
|
children: "Previous"
|
|
1734
1750
|
}
|
|
1735
1751
|
),
|
|
1736
1752
|
/* @__PURE__ */ e(
|
|
1737
|
-
|
|
1753
|
+
k,
|
|
1738
1754
|
{
|
|
1739
1755
|
variant: "outline",
|
|
1740
1756
|
size: "md",
|
|
1741
1757
|
disabled: $ >= G - 1,
|
|
1742
|
-
onClick: () =>
|
|
1758
|
+
onClick: () => O((n) => Math.min(G - 1, n + 1)),
|
|
1743
1759
|
children: "Next"
|
|
1744
1760
|
}
|
|
1745
1761
|
)
|
|
@@ -1747,8 +1763,8 @@ function er({
|
|
|
1747
1763
|
] })
|
|
1748
1764
|
] });
|
|
1749
1765
|
}
|
|
1750
|
-
function
|
|
1751
|
-
return /* @__PURE__ */ e(ce, { className:
|
|
1766
|
+
function ar({ icon: t, title: a, description: r, action: l, className: o }) {
|
|
1767
|
+
return /* @__PURE__ */ e(ce, { className: o, children: /* @__PURE__ */ s("div", { className: "flex flex-col items-center justify-center gap-4 px-6 py-16 text-center", children: [
|
|
1752
1768
|
t ? /* @__PURE__ */ e("div", { className: "flex size-11 items-center justify-center rounded-xl border border-line bg-elevated text-subtle [&_svg]:size-6", children: t }) : null,
|
|
1753
1769
|
/* @__PURE__ */ s("div", { className: "space-y-1", children: [
|
|
1754
1770
|
/* @__PURE__ */ e("p", { className: "text-sm font-medium text-fg", children: a }),
|
|
@@ -1757,11 +1773,11 @@ function tr({ icon: t, title: a, description: r, action: l, className: i }) {
|
|
|
1757
1773
|
l
|
|
1758
1774
|
] }) });
|
|
1759
1775
|
}
|
|
1760
|
-
function
|
|
1776
|
+
function rr({ className: t, ...a }) {
|
|
1761
1777
|
return /* @__PURE__ */ e(
|
|
1762
1778
|
"kbd",
|
|
1763
1779
|
{
|
|
1764
|
-
className:
|
|
1780
|
+
className: i(
|
|
1765
1781
|
"inline-flex h-5 min-w-5 items-center justify-center rounded border border-line bg-elevated px-1.5 font-mono text-[11px] font-medium text-subtle",
|
|
1766
1782
|
t
|
|
1767
1783
|
),
|
|
@@ -1769,24 +1785,24 @@ function ar({ className: t, ...a }) {
|
|
|
1769
1785
|
}
|
|
1770
1786
|
);
|
|
1771
1787
|
}
|
|
1772
|
-
const
|
|
1788
|
+
const ja = b(({ className: t, ...a }, r) => /* @__PURE__ */ e(
|
|
1773
1789
|
qt.Root,
|
|
1774
1790
|
{
|
|
1775
1791
|
ref: r,
|
|
1776
|
-
className:
|
|
1792
|
+
className: i(
|
|
1777
1793
|
"mb-2.5 block text-sm font-medium text-fg leading-none last:mb-0 peer-disabled:cursor-not-allowed peer-disabled:opacity-70",
|
|
1778
1794
|
t
|
|
1779
1795
|
),
|
|
1780
1796
|
...a
|
|
1781
1797
|
}
|
|
1782
1798
|
));
|
|
1783
|
-
|
|
1784
|
-
function
|
|
1799
|
+
ja.displayName = "Label";
|
|
1800
|
+
function nr({
|
|
1785
1801
|
value: t,
|
|
1786
1802
|
onValueChange: a,
|
|
1787
1803
|
options: r,
|
|
1788
1804
|
size: l = "sm",
|
|
1789
|
-
className:
|
|
1805
|
+
className: o,
|
|
1790
1806
|
...d
|
|
1791
1807
|
}) {
|
|
1792
1808
|
const c = de();
|
|
@@ -1795,17 +1811,17 @@ function rr({
|
|
|
1795
1811
|
{
|
|
1796
1812
|
role: "radiogroup",
|
|
1797
1813
|
"aria-label": d["aria-label"],
|
|
1798
|
-
className:
|
|
1814
|
+
className: i(
|
|
1799
1815
|
"inline-flex w-fit items-center rounded-lg border border-line bg-canvas",
|
|
1800
1816
|
l === "sm" ? "h-(--control-h-sm)" : "h-(--control-h-md)",
|
|
1801
|
-
|
|
1817
|
+
o
|
|
1802
1818
|
),
|
|
1803
1819
|
children: r.map((u) => {
|
|
1804
1820
|
const h = u.value === t;
|
|
1805
1821
|
return /* @__PURE__ */ s(
|
|
1806
1822
|
"label",
|
|
1807
1823
|
{
|
|
1808
|
-
className:
|
|
1824
|
+
className: i(
|
|
1809
1825
|
"inline-flex h-full cursor-pointer items-center justify-center gap-1.5 rounded-md text-sm font-medium transition-colors",
|
|
1810
1826
|
"has-focus-visible:ring-2 has-focus-visible:ring-focus/40",
|
|
1811
1827
|
l === "sm" ? "px-(--control-pad-x-sm) [&_svg]:size-(--control-icon-sm)" : "px-(--control-pad-x-md) [&_svg]:size-(--control-icon-md)",
|
|
@@ -1833,13 +1849,13 @@ function rr({
|
|
|
1833
1849
|
}
|
|
1834
1850
|
);
|
|
1835
1851
|
}
|
|
1836
|
-
const
|
|
1852
|
+
const Ea = b(({ className: t, orientation: a = "horizontal", decorative: r = !0, ...l }, o) => /* @__PURE__ */ e(
|
|
1837
1853
|
Gt.Root,
|
|
1838
1854
|
{
|
|
1839
|
-
ref:
|
|
1855
|
+
ref: o,
|
|
1840
1856
|
decorative: r,
|
|
1841
1857
|
orientation: a,
|
|
1842
|
-
className:
|
|
1858
|
+
className: i(
|
|
1843
1859
|
"shrink-0 bg-line",
|
|
1844
1860
|
a === "horizontal" ? "h-px w-full" : "h-full w-px",
|
|
1845
1861
|
t
|
|
@@ -1847,22 +1863,22 @@ const ja = b(({ className: t, orientation: a = "horizontal", decorative: r = !0,
|
|
|
1847
1863
|
...l
|
|
1848
1864
|
}
|
|
1849
1865
|
));
|
|
1850
|
-
|
|
1851
|
-
function
|
|
1866
|
+
Ea.displayName = "Separator";
|
|
1867
|
+
function lr({ className: t, ...a }) {
|
|
1852
1868
|
return /* @__PURE__ */ e(
|
|
1853
1869
|
"div",
|
|
1854
1870
|
{
|
|
1855
|
-
className:
|
|
1871
|
+
className: i("animate-pulse rounded-md bg-elevated", t),
|
|
1856
1872
|
...a
|
|
1857
1873
|
}
|
|
1858
1874
|
);
|
|
1859
1875
|
}
|
|
1860
|
-
const
|
|
1861
|
-
|
|
1876
|
+
const ir = X.Provider, or = X.Root, sr = X.Trigger, _a = b(({ className: t, sideOffset: a = 6, ...r }, l) => /* @__PURE__ */ e(X.Portal, { children: /* @__PURE__ */ e(
|
|
1877
|
+
X.Content,
|
|
1862
1878
|
{
|
|
1863
1879
|
ref: l,
|
|
1864
1880
|
sideOffset: a,
|
|
1865
|
-
className:
|
|
1881
|
+
className: i(
|
|
1866
1882
|
"z-50 overflow-hidden rounded-md border border-line bg-elevated px-2 py-1 text-xs text-fg shadow-md",
|
|
1867
1883
|
"data-[state=delayed-open]:animate-in data-[state=closed]:animate-out",
|
|
1868
1884
|
"data-[state=delayed-open]:fade-in-0 data-[state=closed]:fade-out-0",
|
|
@@ -1875,15 +1891,15 @@ const lr = W.Provider, ir = W.Root, or = W.Trigger, Ea = b(({ className: t, side
|
|
|
1875
1891
|
...r
|
|
1876
1892
|
}
|
|
1877
1893
|
) }));
|
|
1878
|
-
|
|
1894
|
+
_a.displayName = "TooltipContent";
|
|
1879
1895
|
export {
|
|
1880
|
-
|
|
1896
|
+
Ga as AgentPrompt,
|
|
1881
1897
|
Ge as Avatar,
|
|
1882
1898
|
Ve as AvatarFallback,
|
|
1883
1899
|
He as AvatarImage,
|
|
1884
1900
|
Jt as Badge,
|
|
1885
|
-
|
|
1886
|
-
|
|
1901
|
+
k as Button,
|
|
1902
|
+
Ha as Callout,
|
|
1887
1903
|
na as Card,
|
|
1888
1904
|
oa as CardContent,
|
|
1889
1905
|
ia as CardDescription,
|
|
@@ -1891,14 +1907,14 @@ export {
|
|
|
1891
1907
|
Ue as CardHeader,
|
|
1892
1908
|
la as CardTitle,
|
|
1893
1909
|
xe as Checkbox,
|
|
1894
|
-
|
|
1895
|
-
|
|
1896
|
-
|
|
1897
|
-
|
|
1910
|
+
Ja as ChoiceDialog,
|
|
1911
|
+
Qa as CodeBlock,
|
|
1912
|
+
tr as DataTable,
|
|
1913
|
+
er as DataTableIdentity,
|
|
1898
1914
|
pa as Dialog,
|
|
1899
1915
|
fa as DialogBody,
|
|
1900
1916
|
Ye as DialogCancel,
|
|
1901
|
-
|
|
1917
|
+
Xa as DialogClose,
|
|
1902
1918
|
Oe as DialogContent,
|
|
1903
1919
|
xa as DialogDescription,
|
|
1904
1920
|
ga as DialogFooter,
|
|
@@ -1907,48 +1923,49 @@ export {
|
|
|
1907
1923
|
Ke as DialogTitle,
|
|
1908
1924
|
Qe as DialogTrigger,
|
|
1909
1925
|
ge as DropdownMenu,
|
|
1910
|
-
|
|
1926
|
+
W as DropdownMenuCheckboxItem,
|
|
1927
|
+
Sa as DropdownMenuChevron,
|
|
1911
1928
|
re as DropdownMenuContent,
|
|
1912
|
-
|
|
1929
|
+
Ya as DropdownMenuGroup,
|
|
1913
1930
|
oe as DropdownMenuItem,
|
|
1914
1931
|
ne as DropdownMenuLabel,
|
|
1915
|
-
|
|
1932
|
+
Za as DropdownMenuPortal,
|
|
1916
1933
|
Ne as DropdownMenuSeparator,
|
|
1917
|
-
|
|
1918
|
-
|
|
1934
|
+
Oa as DropdownMenuSub,
|
|
1935
|
+
ka as DropdownMenuSubContent,
|
|
1919
1936
|
rt as DropdownMenuSubTrigger,
|
|
1920
1937
|
ae as DropdownMenuTrigger,
|
|
1921
|
-
|
|
1938
|
+
ar as EmptyState,
|
|
1922
1939
|
tt as Input,
|
|
1923
|
-
|
|
1924
|
-
|
|
1940
|
+
rr as Kbd,
|
|
1941
|
+
ja as Label,
|
|
1925
1942
|
Na as RadioCard,
|
|
1926
1943
|
va as RadioGroup,
|
|
1927
|
-
|
|
1928
|
-
|
|
1944
|
+
nr as Segmented,
|
|
1945
|
+
Da as Select,
|
|
1929
1946
|
lt as SelectContent,
|
|
1930
|
-
|
|
1931
|
-
|
|
1932
|
-
|
|
1947
|
+
Ka as SelectGroup,
|
|
1948
|
+
ke as SelectItem,
|
|
1949
|
+
Ta as SelectLabel,
|
|
1933
1950
|
nt as SelectTrigger,
|
|
1934
1951
|
za as SelectValue,
|
|
1935
|
-
|
|
1936
|
-
|
|
1952
|
+
Ea as Separator,
|
|
1953
|
+
lr as Skeleton,
|
|
1937
1954
|
Ht as Spinner,
|
|
1938
|
-
|
|
1955
|
+
Va as Table,
|
|
1939
1956
|
Ot as TableBody,
|
|
1940
1957
|
fe as TableCell,
|
|
1941
1958
|
Yt as TableContainer,
|
|
1942
|
-
|
|
1943
|
-
|
|
1944
|
-
|
|
1959
|
+
Ma as TableEmptyState,
|
|
1960
|
+
Wa as TableHead,
|
|
1961
|
+
Ua as TableHeader,
|
|
1945
1962
|
Zt as TablePanel,
|
|
1946
1963
|
Kt as TableRow,
|
|
1947
1964
|
ce as TableSurface,
|
|
1948
|
-
|
|
1949
|
-
|
|
1950
|
-
|
|
1951
|
-
|
|
1965
|
+
or as Tooltip,
|
|
1966
|
+
_a as TooltipContent,
|
|
1967
|
+
ir as TooltipProvider,
|
|
1968
|
+
sr as TooltipTrigger,
|
|
1952
1969
|
Wt as badgeVariants,
|
|
1953
1970
|
Vt as buttonVariants
|
|
1954
1971
|
};
|