laif-ds 0.2.60 → 0.2.62
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/_virtual/index3.js +5 -5
- package/dist/_virtual/index4.js +5 -5
- package/dist/_virtual/index5.js +4 -4
- package/dist/_virtual/index6.js +2 -2
- package/dist/_virtual/index7.js +2 -2
- package/dist/agent-docs/components/AppDialog.md +271 -0
- package/dist/agent-docs/components/DataTable.md +73 -2
- package/dist/agent-docs/components-list.md +9 -0
- package/dist/components/ui/app-dialog.js +123 -0
- package/dist/components/ui/app-select.js +36 -34
- package/dist/components/ui/async-select.js +12 -11
- package/dist/components/ui/dialog.js +50 -46
- package/dist/components/ui/tables/data-table/components/data-table-advanced-filter.js +87 -87
- package/dist/components/ui/tables/data-table/components/data-table-column-visibility.js +82 -77
- package/dist/components/ui/tables/data-table/components/data-table-filters.js +16 -16
- package/dist/components/ui/tables/data-table/components/data-table-sorting.js +14 -14
- package/dist/components/ui/tables/data-table/data-table.js +293 -288
- package/dist/components/ui/tables/data-table/data-table.service.js +43 -43
- package/dist/components/ui/tables/data-table/data-table.utils.js +95 -88
- package/dist/index.d.ts +68 -19
- package/dist/index.js +291 -288
- package/dist/node_modules/eventemitter3/index.js +1 -1
- package/dist/node_modules/eventemitter3/index2.js +1 -1
- package/dist/node_modules/hast-util-to-jsx-runtime/lib/index.js +1 -1
- package/dist/node_modules/recharts/es6/util/Events.js +1 -1
- package/dist/node_modules/style-to-object/cjs/index.js +1 -1
- package/dist/node_modules/unified/lib/index.js +1 -1
- package/dist/styles.v3.css +1 -1
- package/package.json +1 -1
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { jsxs as
|
|
2
|
+
import { jsxs as t, jsx as l, Fragment as re } from "react/jsx-runtime";
|
|
3
3
|
import { designTokens as i } from "../design-tokens.js";
|
|
4
4
|
import { Badge as ne } from "./badge.js";
|
|
5
|
-
import { Command as
|
|
5
|
+
import { Command as se, CommandInput as te, CommandList as ie, CommandEmpty as oe, CommandGroup as R, CommandItem as A } from "./command.js";
|
|
6
6
|
import { Label as de } from "./label.js";
|
|
7
7
|
import { cn as y } from "../../lib/utils.js";
|
|
8
|
-
import { useState as h, useRef as ce, useMemo as
|
|
8
|
+
import { useState as h, useRef as ce, useMemo as P, useCallback as ue, useEffect as me } from "react";
|
|
9
9
|
import { Checkbox as fe } from "./checkbox.js";
|
|
10
|
-
import { Icon as
|
|
10
|
+
import { Icon as S } from "./icon.js";
|
|
11
11
|
import { Popover as pe, PopoverTrigger as he, PopoverContent as ge } from "./popover.js";
|
|
12
12
|
import ve from "../../node_modules/lucide-react/dist/esm/icons/chevron-down.js";
|
|
13
13
|
const be = {
|
|
@@ -15,7 +15,7 @@ const be = {
|
|
|
15
15
|
default: i.sizes.default,
|
|
16
16
|
lg: i.sizes.lg
|
|
17
17
|
};
|
|
18
|
-
function Ve(
|
|
18
|
+
function Ve(z) {
|
|
19
19
|
const {
|
|
20
20
|
multiple: r = !1,
|
|
21
21
|
options: c,
|
|
@@ -41,48 +41,48 @@ function Ve(P) {
|
|
|
41
41
|
disabled: b,
|
|
42
42
|
size: U = "default",
|
|
43
43
|
isSingleSelectClearable: Y = !1
|
|
44
|
-
} =
|
|
44
|
+
} = z, [x, C] = h(!1), [u, w] = h(""), N = ce(null), [O, Z] = h(0), V = z.hasOwnProperty("value"), [_, ee] = h(T), o = V ? B : _, m = (e) => {
|
|
45
45
|
V || ee(e), W?.(e);
|
|
46
|
-
}, n =
|
|
47
|
-
const e = c.filter((
|
|
46
|
+
}, n = P(() => r ? Array.isArray(o) ? o : [] : o != null ? [o] : [], [o, r]), f = P(() => {
|
|
47
|
+
const e = c.filter((s) => n.includes(s.value));
|
|
48
48
|
if (r) {
|
|
49
|
-
const
|
|
50
|
-
return [...e, ...
|
|
49
|
+
const s = n.filter((a) => !e.find((p) => p.value === a)).map((a) => ({ value: a, label: a }));
|
|
50
|
+
return [...e, ...s];
|
|
51
51
|
} else if (n.length && !e.length)
|
|
52
52
|
return [{ value: n[0], label: n[0] }];
|
|
53
53
|
return e;
|
|
54
54
|
}, [c, n, r]), k = (e) => {
|
|
55
55
|
if (!e.disabled)
|
|
56
56
|
if (r) {
|
|
57
|
-
const
|
|
58
|
-
if (!
|
|
57
|
+
const s = n.includes(e.value);
|
|
58
|
+
if (!s && d !== void 0 && n.length >= d)
|
|
59
59
|
return;
|
|
60
60
|
m(
|
|
61
|
-
|
|
61
|
+
s ? n.filter((a) => a !== e.value) : [...n, e.value]
|
|
62
62
|
);
|
|
63
63
|
} else
|
|
64
64
|
m(e.value), C(!1);
|
|
65
65
|
}, j = ue(() => {
|
|
66
66
|
m(r ? [] : void 0), w(""), g && g();
|
|
67
|
-
}, [m, g, r]), le =
|
|
68
|
-
(e,
|
|
69
|
-
const a =
|
|
70
|
-
return e[a] = e[a] || [], e[a].push(
|
|
67
|
+
}, [m, g, r]), le = P(() => v ? c.reduce(
|
|
68
|
+
(e, s) => {
|
|
69
|
+
const a = s[v] || "";
|
|
70
|
+
return e[a] = e[a] || [], e[a].push(s), e;
|
|
71
71
|
},
|
|
72
72
|
{}
|
|
73
73
|
) : { "": c }, [c, v]);
|
|
74
74
|
return me(() => {
|
|
75
75
|
N.current && Z(N.current.getBoundingClientRect().width);
|
|
76
|
-
}, [x, n, c]), /* @__PURE__ */
|
|
76
|
+
}, [x, n, c]), /* @__PURE__ */ t("div", { className: y("flex flex-col gap-1.5", J), children: [
|
|
77
77
|
D && /* @__PURE__ */ l(de, { className: H, children: D }),
|
|
78
|
-
/* @__PURE__ */
|
|
78
|
+
/* @__PURE__ */ t(
|
|
79
79
|
pe,
|
|
80
80
|
{
|
|
81
81
|
open: b ? !1 : x,
|
|
82
82
|
onOpenChange: (e) => !b && C(e),
|
|
83
83
|
modal: !0,
|
|
84
84
|
children: [
|
|
85
|
-
/* @__PURE__ */ l(he, { asChild: !0, children: /* @__PURE__ */
|
|
85
|
+
/* @__PURE__ */ l(he, { asChild: !0, children: /* @__PURE__ */ t(
|
|
86
86
|
"div",
|
|
87
87
|
{
|
|
88
88
|
ref: N,
|
|
@@ -97,18 +97,18 @@ function Ve(P) {
|
|
|
97
97
|
q
|
|
98
98
|
),
|
|
99
99
|
children: [
|
|
100
|
-
f.length === 0 ? /* @__PURE__ */ l("span", { className: "text-d-muted-foreground", children: X }) : r ? /* @__PURE__ */
|
|
101
|
-
/* @__PURE__ */ l("div", { className: "flex min-w-0 flex-nowrap gap-1 overflow-auto", children: Q ? /* @__PURE__ */ l(re, { children: f.map((e) => /* @__PURE__ */
|
|
100
|
+
f.length === 0 ? /* @__PURE__ */ l("span", { className: "text-d-muted-foreground", children: X }) : r ? /* @__PURE__ */ t("div", { className: "flex h-full w-full min-w-0 items-center justify-between gap-2", children: [
|
|
101
|
+
/* @__PURE__ */ l("div", { className: "flex min-w-0 flex-nowrap gap-1 overflow-auto", children: Q ? /* @__PURE__ */ l(re, { children: f.map((e) => /* @__PURE__ */ t(
|
|
102
102
|
ne,
|
|
103
103
|
{
|
|
104
104
|
variant: "secondary",
|
|
105
105
|
className: "hover:bg-d-secondary/100 bg-d-secondary/50 border-d-border flex cursor-pointer items-center gap-1 border",
|
|
106
|
-
onClick: (
|
|
107
|
-
|
|
106
|
+
onClick: (s) => {
|
|
107
|
+
s.stopPropagation(), k(e);
|
|
108
108
|
},
|
|
109
109
|
children: [
|
|
110
110
|
e.label,
|
|
111
|
-
!e.fixed && /* @__PURE__ */ l(
|
|
111
|
+
!e.fixed && /* @__PURE__ */ l(S, { name: "X", size: "xs" })
|
|
112
112
|
]
|
|
113
113
|
},
|
|
114
114
|
e.value
|
|
@@ -123,7 +123,7 @@ function Ve(P) {
|
|
|
123
123
|
onMouseDown: (e) => e.preventDefault(),
|
|
124
124
|
"aria-label": "Clear selection",
|
|
125
125
|
children: /* @__PURE__ */ l(
|
|
126
|
-
|
|
126
|
+
S,
|
|
127
127
|
{
|
|
128
128
|
name: "X",
|
|
129
129
|
size: "xs",
|
|
@@ -132,7 +132,7 @@ function Ve(P) {
|
|
|
132
132
|
)
|
|
133
133
|
}
|
|
134
134
|
)
|
|
135
|
-
] }) : /* @__PURE__ */
|
|
135
|
+
] }) : /* @__PURE__ */ t("div", { className: "flex h-full w-full min-w-0 items-center justify-between gap-2", children: [
|
|
136
136
|
/* @__PURE__ */ l("div", { className: "min-w-0 flex-1 truncate", children: typeof f[0]?.label == "string" ? /* @__PURE__ */ l("span", { children: f[0]?.label }) : f[0]?.label }),
|
|
137
137
|
Y && o !== void 0 && o !== null && /* @__PURE__ */ l(
|
|
138
138
|
"div",
|
|
@@ -144,7 +144,7 @@ function Ve(P) {
|
|
|
144
144
|
onMouseDown: (e) => e.preventDefault(),
|
|
145
145
|
"aria-label": "Clear selection",
|
|
146
146
|
children: /* @__PURE__ */ l(
|
|
147
|
-
|
|
147
|
+
S,
|
|
148
148
|
{
|
|
149
149
|
name: "X",
|
|
150
150
|
size: "xs",
|
|
@@ -165,9 +165,11 @@ function Ve(P) {
|
|
|
165
165
|
style: { width: O > 0 ? O : "auto" },
|
|
166
166
|
align: "start",
|
|
167
167
|
sideOffset: 4,
|
|
168
|
-
|
|
168
|
+
avoidCollisions: !0,
|
|
169
|
+
collisionPadding: 8,
|
|
170
|
+
children: /* @__PURE__ */ t(se, { shouldFilter: !!I, className: "w-full", children: [
|
|
169
171
|
I && /* @__PURE__ */ l(
|
|
170
|
-
|
|
172
|
+
te,
|
|
171
173
|
{
|
|
172
174
|
placeholder: F,
|
|
173
175
|
className: "placeholder:text-d-muted-foreground",
|
|
@@ -175,7 +177,7 @@ function Ve(P) {
|
|
|
175
177
|
onValueChange: w
|
|
176
178
|
}
|
|
177
179
|
),
|
|
178
|
-
/* @__PURE__ */
|
|
180
|
+
/* @__PURE__ */ t(ie, { className: "max-h-60 overflow-auto overscroll-contain", children: [
|
|
179
181
|
/* @__PURE__ */ l(oe, { children: E }),
|
|
180
182
|
K && u && /* @__PURE__ */ l(R, { children: /* @__PURE__ */ l(
|
|
181
183
|
A,
|
|
@@ -184,7 +186,7 @@ function Ve(P) {
|
|
|
184
186
|
onSelect: () => {
|
|
185
187
|
u && (m(r ? [...n, u] : u), w(""), !r && C(!1));
|
|
186
188
|
},
|
|
187
|
-
children: /* @__PURE__ */
|
|
189
|
+
children: /* @__PURE__ */ t("div", { className: "text-d-foreground text-xs", children: [
|
|
188
190
|
L,
|
|
189
191
|
" “",
|
|
190
192
|
u,
|
|
@@ -192,9 +194,9 @@ function Ve(P) {
|
|
|
192
194
|
] })
|
|
193
195
|
}
|
|
194
196
|
) }),
|
|
195
|
-
Object.entries(le).map(([e,
|
|
197
|
+
Object.entries(le).map(([e, s]) => /* @__PURE__ */ l(R, { heading: e || void 0, children: s.map((a) => {
|
|
196
198
|
const p = n.includes(a.value), ae = r && d !== void 0 && !p && n.length >= d, M = a.disabled || ae;
|
|
197
|
-
return /* @__PURE__ */
|
|
199
|
+
return /* @__PURE__ */ t(
|
|
198
200
|
A,
|
|
199
201
|
{
|
|
200
202
|
value: typeof a.label == "string" ? a.label : String(a.value),
|
|
@@ -49,12 +49,12 @@ function Fe({
|
|
|
49
49
|
disabled: M = !1,
|
|
50
50
|
className: v,
|
|
51
51
|
wrpClassName: E,
|
|
52
|
-
noResultsMessage:
|
|
52
|
+
noResultsMessage: P,
|
|
53
53
|
clearable: R = !0,
|
|
54
54
|
multiple: o = !1,
|
|
55
55
|
size: V
|
|
56
56
|
}) {
|
|
57
|
-
const [m,
|
|
57
|
+
const [m, I] = y(!1), L = k.useRef(null), F = k.useRef(null), ee = k.useRef(null), [re, W] = y({ loading: !1, error: null }), [X, ne] = y(""), B = le(X, N), [$, te] = y(/* @__PURE__ */ new Map()), [G, K] = y([]), [q, se] = y(0), [H, J] = y(() => t?.length ? new Map(
|
|
58
58
|
t.map((e) => [s(e), e])
|
|
59
59
|
) : /* @__PURE__ */ new Map());
|
|
60
60
|
A(() => {
|
|
@@ -132,7 +132,7 @@ function Fe({
|
|
|
132
132
|
]), A(() => {
|
|
133
133
|
m && T(n);
|
|
134
134
|
}, [m, T, n]), A(() => {
|
|
135
|
-
m &&
|
|
135
|
+
m && L.current && L.current.focus();
|
|
136
136
|
}, [m]), A(() => {
|
|
137
137
|
if (!m || !F.current) return;
|
|
138
138
|
const e = F.current.getBoundingClientRect();
|
|
@@ -140,7 +140,7 @@ function Fe({
|
|
|
140
140
|
}, [m]);
|
|
141
141
|
const ce = j(
|
|
142
142
|
(e) => {
|
|
143
|
-
g?.(R && e === n ? "" : e),
|
|
143
|
+
g?.(R && e === n ? "" : e), I(!1);
|
|
144
144
|
},
|
|
145
145
|
[n, g, R]
|
|
146
146
|
), ae = j(
|
|
@@ -153,13 +153,13 @@ function Fe({
|
|
|
153
153
|
[n, g, o]
|
|
154
154
|
), oe = j(
|
|
155
155
|
(e) => {
|
|
156
|
-
e.stopPropagation(), e.preventDefault(), g?.(o ? [] : ""),
|
|
156
|
+
e.stopPropagation(), e.preventDefault(), g?.(o ? [] : ""), I(!1);
|
|
157
157
|
},
|
|
158
158
|
[g]
|
|
159
159
|
), Y = k.useId();
|
|
160
160
|
return /* @__PURE__ */ x("div", { className: z("flex flex-col gap-1.5", E), children: [
|
|
161
161
|
C && /* @__PURE__ */ r(pe, { htmlFor: Y, children: C }),
|
|
162
|
-
/* @__PURE__ */ x(we, { open: m, onOpenChange:
|
|
162
|
+
/* @__PURE__ */ x(we, { open: m, onOpenChange: I, children: [
|
|
163
163
|
/* @__PURE__ */ r(xe, { asChild: !0, children: /* @__PURE__ */ r(
|
|
164
164
|
"button",
|
|
165
165
|
{
|
|
@@ -219,11 +219,12 @@ function Fe({
|
|
|
219
219
|
side: "bottom",
|
|
220
220
|
sideOffset: 4,
|
|
221
221
|
onWheel: (e) => e.stopPropagation(),
|
|
222
|
-
avoidCollisions: !
|
|
222
|
+
avoidCollisions: !0,
|
|
223
|
+
collisionPadding: 8,
|
|
223
224
|
children: /* @__PURE__ */ r(
|
|
224
225
|
Ae,
|
|
225
226
|
{
|
|
226
|
-
inputRef:
|
|
227
|
+
inputRef: L,
|
|
227
228
|
commandListRef: ee,
|
|
228
229
|
placeholder: f,
|
|
229
230
|
searchTerm: X,
|
|
@@ -231,7 +232,7 @@ function Fe({
|
|
|
231
232
|
fetchState: re,
|
|
232
233
|
options: G,
|
|
233
234
|
notFound: h,
|
|
234
|
-
noResultsMessage:
|
|
235
|
+
noResultsMessage: P,
|
|
235
236
|
multiple: o,
|
|
236
237
|
value: n,
|
|
237
238
|
resolveOptionValue: s,
|
|
@@ -291,7 +292,7 @@ function Ae({
|
|
|
291
292
|
resolveOptionValue: M,
|
|
292
293
|
renderSelectedValue: v,
|
|
293
294
|
renderOptionItem: E,
|
|
294
|
-
onSelect:
|
|
295
|
+
onSelect: P,
|
|
295
296
|
onSelectMultiple: R
|
|
296
297
|
}) {
|
|
297
298
|
return /* @__PURE__ */ x(me, { shouldFilter: !1, className: "w-full border-none shadow-sm", children: [
|
|
@@ -319,7 +320,7 @@ function Ae({
|
|
|
319
320
|
resolveOptionValue: M,
|
|
320
321
|
renderSelectedValue: v,
|
|
321
322
|
renderOptionItem: E,
|
|
322
|
-
onSelect:
|
|
323
|
+
onSelect: P,
|
|
323
324
|
onSelectMultiple: R
|
|
324
325
|
},
|
|
325
326
|
M(o)
|
|
@@ -1,35 +1,35 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { jsx as a, jsxs as
|
|
3
|
-
import { Root as u,
|
|
4
|
-
import { designTokens as
|
|
2
|
+
import { jsx as a, jsxs as l } from "react/jsx-runtime";
|
|
3
|
+
import { Root as u, Close as r, Content as f, Description as p, Title as x, Trigger as v, Portal as D, Overlay as b } from "../../node_modules/@radix-ui/react-dialog/dist/index.js";
|
|
4
|
+
import { designTokens as n } from "../design-tokens.js";
|
|
5
5
|
import { cn as o } from "../../lib/utils.js";
|
|
6
|
-
import
|
|
7
|
-
function
|
|
6
|
+
import h from "../../node_modules/lucide-react/dist/esm/icons/x.js";
|
|
7
|
+
function O({
|
|
8
8
|
...t
|
|
9
9
|
}) {
|
|
10
10
|
return /* @__PURE__ */ a(u, { "data-slot": "dialog", ...t });
|
|
11
11
|
}
|
|
12
|
-
function
|
|
12
|
+
function P({
|
|
13
13
|
...t
|
|
14
14
|
}) {
|
|
15
|
-
return /* @__PURE__ */ a(
|
|
15
|
+
return /* @__PURE__ */ a(v, { "data-slot": "dialog-trigger", ...t });
|
|
16
16
|
}
|
|
17
|
-
function
|
|
17
|
+
function w({
|
|
18
18
|
...t
|
|
19
19
|
}) {
|
|
20
|
-
return /* @__PURE__ */ a(
|
|
20
|
+
return /* @__PURE__ */ a(D, { "data-slot": "dialog-portal", ...t });
|
|
21
21
|
}
|
|
22
|
-
function
|
|
22
|
+
function _({
|
|
23
23
|
...t
|
|
24
24
|
}) {
|
|
25
25
|
return /* @__PURE__ */ a(r, { "data-slot": "dialog-close", ...t });
|
|
26
26
|
}
|
|
27
|
-
function
|
|
27
|
+
function y({
|
|
28
28
|
className: t,
|
|
29
29
|
...e
|
|
30
30
|
}) {
|
|
31
31
|
return /* @__PURE__ */ a(
|
|
32
|
-
|
|
32
|
+
b,
|
|
33
33
|
{
|
|
34
34
|
"data-slot": "dialog-overlay",
|
|
35
35
|
className: o(
|
|
@@ -40,47 +40,48 @@ function w({
|
|
|
40
40
|
}
|
|
41
41
|
);
|
|
42
42
|
}
|
|
43
|
-
function
|
|
43
|
+
function R({
|
|
44
44
|
className: t,
|
|
45
45
|
children: e,
|
|
46
46
|
size: i = "default",
|
|
47
47
|
closeOnOverlay: d = !0,
|
|
48
|
-
|
|
48
|
+
showCloseButton: g = !0,
|
|
49
|
+
...c
|
|
49
50
|
}) {
|
|
50
|
-
const
|
|
51
|
+
const m = {
|
|
51
52
|
sm: "sm:max-w-sm",
|
|
52
53
|
default: "sm:max-w-lg",
|
|
53
54
|
lg: "sm:max-w-2xl",
|
|
54
55
|
xl: "sm:max-w-3xl"
|
|
55
56
|
}[i];
|
|
56
|
-
return /* @__PURE__ */
|
|
57
|
-
/* @__PURE__ */ a(
|
|
58
|
-
/* @__PURE__ */
|
|
59
|
-
|
|
57
|
+
return /* @__PURE__ */ l(w, { "data-slot": "dialog-portal", children: [
|
|
58
|
+
/* @__PURE__ */ a(y, {}),
|
|
59
|
+
/* @__PURE__ */ l(
|
|
60
|
+
f,
|
|
60
61
|
{
|
|
61
62
|
"data-slot": "dialog-content",
|
|
62
|
-
onPointerDownOutside: (
|
|
63
|
-
|
|
63
|
+
onPointerDownOutside: (s) => {
|
|
64
|
+
s.target?.closest("[data-command-portal]") && s.preventDefault(), d || s.preventDefault();
|
|
64
65
|
},
|
|
65
66
|
className: o(
|
|
66
67
|
"bg-d-background data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 border-d-border fixed top-[50%] left-[50%] z-50 grid w-full max-w-[calc(100%-2rem)] translate-x-[-50%] translate-y-[-50%] gap-4 border p-6 shadow-lg duration-200",
|
|
67
|
-
|
|
68
|
-
|
|
68
|
+
n.radius.lg,
|
|
69
|
+
m,
|
|
69
70
|
t
|
|
70
71
|
),
|
|
71
|
-
...
|
|
72
|
+
...c,
|
|
72
73
|
children: [
|
|
73
74
|
e,
|
|
74
|
-
/* @__PURE__ */
|
|
75
|
+
g && /* @__PURE__ */ l(
|
|
75
76
|
r,
|
|
76
77
|
{
|
|
77
78
|
className: o(
|
|
78
79
|
"ring-offset-d-background data-[state=open]:bg-d-accent data-[state=open]:text-d-secondary-foreground bg-d-muted/30 hover:bg-d-muted/60 absolute top-4 right-4 cursor-pointer p-1.5 transition-all hover:opacity-100 disabled:pointer-events-none [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",
|
|
79
|
-
|
|
80
|
-
|
|
80
|
+
n.focusRing,
|
|
81
|
+
n.radius.default
|
|
81
82
|
),
|
|
82
83
|
children: [
|
|
83
|
-
/* @__PURE__ */ a(
|
|
84
|
+
/* @__PURE__ */ a(h, {}),
|
|
84
85
|
/* @__PURE__ */ a("span", { className: "sr-only", children: "Close" })
|
|
85
86
|
]
|
|
86
87
|
}
|
|
@@ -90,7 +91,7 @@ function _({
|
|
|
90
91
|
)
|
|
91
92
|
] });
|
|
92
93
|
}
|
|
93
|
-
function
|
|
94
|
+
function F({ className: t, ...e }) {
|
|
94
95
|
return /* @__PURE__ */ a(
|
|
95
96
|
"div",
|
|
96
97
|
{
|
|
@@ -100,7 +101,7 @@ function R({ className: t, ...e }) {
|
|
|
100
101
|
}
|
|
101
102
|
);
|
|
102
103
|
}
|
|
103
|
-
function
|
|
104
|
+
function H({ className: t, ...e }) {
|
|
104
105
|
return /* @__PURE__ */ a(
|
|
105
106
|
"div",
|
|
106
107
|
{
|
|
@@ -113,41 +114,44 @@ function F({ className: t, ...e }) {
|
|
|
113
114
|
}
|
|
114
115
|
);
|
|
115
116
|
}
|
|
116
|
-
function
|
|
117
|
+
function X({
|
|
117
118
|
className: t,
|
|
118
119
|
...e
|
|
119
120
|
}) {
|
|
120
121
|
return /* @__PURE__ */ a(
|
|
121
|
-
|
|
122
|
+
x,
|
|
122
123
|
{
|
|
123
124
|
"data-slot": "dialog-title",
|
|
124
|
-
className: o(
|
|
125
|
+
className: o(
|
|
126
|
+
"text-start text-lg leading-none font-semibold sm:max-w-[calc(100%-2rem)]",
|
|
127
|
+
t
|
|
128
|
+
),
|
|
125
129
|
...e
|
|
126
130
|
}
|
|
127
131
|
);
|
|
128
132
|
}
|
|
129
|
-
function
|
|
133
|
+
function q({
|
|
130
134
|
className: t,
|
|
131
135
|
...e
|
|
132
136
|
}) {
|
|
133
137
|
return /* @__PURE__ */ a(
|
|
134
|
-
|
|
138
|
+
p,
|
|
135
139
|
{
|
|
136
140
|
"data-slot": "dialog-description",
|
|
137
|
-
className: o("text-d-
|
|
141
|
+
className: o("text-d-muted-foreground text-start text-sm", t),
|
|
138
142
|
...e
|
|
139
143
|
}
|
|
140
144
|
);
|
|
141
145
|
}
|
|
142
146
|
export {
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
147
|
+
O as Dialog,
|
|
148
|
+
_ as DialogClose,
|
|
149
|
+
R as DialogContent,
|
|
150
|
+
q as DialogDescription,
|
|
151
|
+
H as DialogFooter,
|
|
152
|
+
F as DialogHeader,
|
|
153
|
+
y as DialogOverlay,
|
|
154
|
+
w as DialogPortal,
|
|
155
|
+
X as DialogTitle,
|
|
156
|
+
P as DialogTrigger
|
|
153
157
|
};
|