laif-ds 0.1.82 → 0.1.84
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/components/ui/data-table.js +92 -89
- package/dist/index.d.ts +3 -0
- package/dist/index.js +359 -358
- package/dist/node_modules/eventemitter3/index.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/unified/lib/index.js +1 -1
- package/package.json +1 -1
package/dist/_virtual/index3.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { getDefaultExportFromCjs as
|
|
3
|
-
import { __require as
|
|
4
|
-
var
|
|
5
|
-
const
|
|
2
|
+
import { getDefaultExportFromCjs as e } from "./_commonjsHelpers.js";
|
|
3
|
+
import { __require as t } from "../node_modules/eventemitter3/index2.js";
|
|
4
|
+
var r = t();
|
|
5
|
+
const m = /* @__PURE__ */ e(r);
|
|
6
6
|
export {
|
|
7
|
-
|
|
7
|
+
m as default
|
|
8
8
|
};
|
package/dist/_virtual/index4.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { getDefaultExportFromCjs as
|
|
3
|
-
import { __require as
|
|
4
|
-
var t =
|
|
5
|
-
const
|
|
2
|
+
import { getDefaultExportFromCjs as r } from "./_commonjsHelpers.js";
|
|
3
|
+
import { __require as e } from "../node_modules/style-to-js/cjs/index.js";
|
|
4
|
+
var t = e();
|
|
5
|
+
const a = /* @__PURE__ */ r(t);
|
|
6
6
|
export {
|
|
7
|
-
|
|
7
|
+
a as default
|
|
8
8
|
};
|
package/dist/_virtual/index5.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { getDefaultExportFromCjs as e } from "./_commonjsHelpers.js";
|
|
3
|
-
import { __require as
|
|
4
|
-
var
|
|
5
|
-
const
|
|
3
|
+
import { __require as r } from "../node_modules/extend/index.js";
|
|
4
|
+
var t = r();
|
|
5
|
+
const x = /* @__PURE__ */ e(t);
|
|
6
6
|
export {
|
|
7
|
-
|
|
7
|
+
x as default
|
|
8
8
|
};
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { jsx as n, jsxs as h } from "react/jsx-runtime";
|
|
3
3
|
import { useReactTable as ce, flexRender as $ } from "../../node_modules/@tanstack/react-table/build/lib/index.js";
|
|
4
|
-
import {
|
|
4
|
+
import { useRef as G, useState as m, useMemo as se, useEffect as R } from "react";
|
|
5
5
|
import { cn as re } from "../../lib/utils.js";
|
|
6
6
|
import { createCustomFilterFns as de, ELogicalFilterOperator as me, debounce as ue, createMultiValueFilterFn as fe, updatePageSizeFromContainer as he } from "./data-table.service.js";
|
|
7
|
-
import { Pagination as pe, PaginationContent as xe, PaginationItem as
|
|
7
|
+
import { Pagination as pe, PaginationContent as xe, PaginationItem as b, PaginationFirst as we, PaginationPrevious as Ce, PaginationLink as be, PaginationNext as Pe, PaginationLast as Se } from "./pagination.js";
|
|
8
8
|
import { Checkbox as E } from "./checkbox.js";
|
|
9
9
|
import { Input as Ie } from "./input.js";
|
|
10
10
|
import { ScrollArea as W, ScrollBar as F } from "./scroll-area.js";
|
|
11
11
|
import { AppMultipleSelectDropdown as Re } from "./app-multiple-select-dropdown.js";
|
|
12
|
-
import { Table as
|
|
12
|
+
import { Table as Ne, TableHeader as Me, TableRow as N, TableHead as ze, TableBody as ye, TableCell as H } from "./table.js";
|
|
13
13
|
import { Skeleton as ke } from "./skeleton.js";
|
|
14
|
-
import { getPaginationRowModel as Fe, getFilteredRowModel as He, getSortedRowModel as De, getCoreRowModel as
|
|
14
|
+
import { getPaginationRowModel as Fe, getFilteredRowModel as He, getSortedRowModel as De, getCoreRowModel as Ve } from "../../node_modules/@tanstack/table-core/build/lib/index.js";
|
|
15
15
|
function Ue({
|
|
16
16
|
columns: P,
|
|
17
17
|
data: D,
|
|
18
|
-
loading:
|
|
19
|
-
emptyComponent:
|
|
18
|
+
loading: _ = !1,
|
|
19
|
+
emptyComponent: J,
|
|
20
20
|
className: K,
|
|
21
21
|
rowSelection: q = {},
|
|
22
|
-
onRowSelectionChange:
|
|
22
|
+
onRowSelectionChange: V,
|
|
23
23
|
checkable: S = !1,
|
|
24
|
-
onCheckedRowsChange:
|
|
24
|
+
onCheckedRowsChange: M,
|
|
25
25
|
notFoundMessage: Q = "Nessun risultato trovato.",
|
|
26
26
|
searchBar: u = void 0,
|
|
27
27
|
dropdownFilters: d = void 0,
|
|
28
|
-
totalItems:
|
|
28
|
+
totalItems: z = void 0,
|
|
29
29
|
datatableSizes: p = {
|
|
30
30
|
rowHeight: 32.5,
|
|
31
31
|
// default table row height in pixels
|
|
@@ -38,10 +38,10 @@ function Ue({
|
|
|
38
38
|
serverOptions: r = void 0,
|
|
39
39
|
setServerOptions: g = void 0
|
|
40
40
|
}) {
|
|
41
|
-
const
|
|
41
|
+
const y = G(null), v = G(void 0), [U, X] = m([]), [Y, Z] = m([]), [B, O] = m({}), [C, ee] = m(""), [w, k] = m({
|
|
42
42
|
pageIndex: 0,
|
|
43
43
|
pageSize: 10
|
|
44
|
-
}), [
|
|
44
|
+
}), [te, j] = m(0), [ne, ie] = m({}), L = V ? q : ne, le = V || ie, [I, ae] = m({}), c = !!r, oe = se(() => S ? [
|
|
45
45
|
{
|
|
46
46
|
id: "select",
|
|
47
47
|
header: ({ table: e }) => /* @__PURE__ */ n(
|
|
@@ -75,15 +75,15 @@ function Ue({
|
|
|
75
75
|
}), ge = {
|
|
76
76
|
data: D,
|
|
77
77
|
columns: oe,
|
|
78
|
-
getCoreRowModel:
|
|
78
|
+
getCoreRowModel: Ve(),
|
|
79
79
|
onSortingChange: X,
|
|
80
80
|
getSortedRowModel: De(),
|
|
81
81
|
onColumnVisibilityChange: O,
|
|
82
|
-
onRowSelectionChange:
|
|
82
|
+
onRowSelectionChange: le,
|
|
83
83
|
getFilteredRowModel: He(),
|
|
84
|
-
globalFilterFn: (e, t, l) => c || !l ? !0 : u?.columns.some((
|
|
85
|
-
const
|
|
86
|
-
return String(
|
|
84
|
+
globalFilterFn: (e, t, l) => c || !l ? !0 : u?.columns.some((o) => {
|
|
85
|
+
const a = e.getValue(o);
|
|
86
|
+
return String(a).toLowerCase().includes(l.toLowerCase());
|
|
87
87
|
}) ?? !1,
|
|
88
88
|
filterFns: {
|
|
89
89
|
multiValue: (e, t, l) => fe(
|
|
@@ -96,46 +96,46 @@ function Ue({
|
|
|
96
96
|
...de(d ?? [], r)
|
|
97
97
|
},
|
|
98
98
|
onPaginationChange: (e) => {
|
|
99
|
-
c ? typeof e == "object" && g && g((t) => ({
|
|
99
|
+
c ? typeof e == "object" && g && g?.((t) => ({
|
|
100
100
|
...t,
|
|
101
101
|
pagination: {
|
|
102
|
-
|
|
103
|
-
|
|
102
|
+
...t.pagination,
|
|
103
|
+
pageIndex: e.pageIndex
|
|
104
104
|
}
|
|
105
|
-
})) :
|
|
105
|
+
})) : k(e);
|
|
106
106
|
},
|
|
107
107
|
getPaginationRowModel: Fe(),
|
|
108
108
|
manualPagination: c,
|
|
109
|
-
pageCount:
|
|
109
|
+
pageCount: te,
|
|
110
110
|
state: {
|
|
111
111
|
sorting: U,
|
|
112
112
|
columnFilters: Y,
|
|
113
113
|
columnVisibility: B,
|
|
114
|
-
rowSelection:
|
|
115
|
-
globalFilter:
|
|
116
|
-
pagination: r?.pagination ??
|
|
114
|
+
rowSelection: L,
|
|
115
|
+
globalFilter: C,
|
|
116
|
+
pagination: r?.pagination ?? w
|
|
117
117
|
}
|
|
118
118
|
}, i = ce(ge);
|
|
119
119
|
R(() => {
|
|
120
120
|
let e;
|
|
121
|
-
if (u &&
|
|
122
|
-
value:
|
|
121
|
+
if (u && C && (e || (e = {}), e.searchbarFilters = {
|
|
122
|
+
value: C,
|
|
123
123
|
columns: u.columns
|
|
124
124
|
}), d && Object.keys(I).length > 0) {
|
|
125
|
-
const
|
|
125
|
+
const a = {};
|
|
126
126
|
for (const s of d) {
|
|
127
127
|
const f = I[s.column];
|
|
128
|
-
f && f.length > 0 && (
|
|
128
|
+
f && f.length > 0 && (a[s.column] = {
|
|
129
129
|
column: s.column,
|
|
130
130
|
value: f,
|
|
131
131
|
logic: s.innerFiltersMode || me.OR
|
|
132
132
|
});
|
|
133
133
|
}
|
|
134
|
-
Object.keys(
|
|
134
|
+
Object.keys(a).length > 0 && (e || (e = {}), e.dropdownFilters = a);
|
|
135
135
|
}
|
|
136
|
-
const t =
|
|
137
|
-
JSON.stringify(t ?? {}) !== JSON.stringify(l ?? {}) && g && (
|
|
138
|
-
...
|
|
136
|
+
const t = v.current, l = e;
|
|
137
|
+
JSON.stringify(t ?? {}) !== JSON.stringify(l ?? {}) && g && (v.current = l, g((a) => ({
|
|
138
|
+
...a,
|
|
139
139
|
pagination: {
|
|
140
140
|
pageIndex: 0,
|
|
141
141
|
pageSize: r?.pagination.pageSize ?? 10
|
|
@@ -146,7 +146,7 @@ function Ue({
|
|
|
146
146
|
d,
|
|
147
147
|
I,
|
|
148
148
|
u,
|
|
149
|
-
|
|
149
|
+
C,
|
|
150
150
|
r,
|
|
151
151
|
g
|
|
152
152
|
]);
|
|
@@ -155,47 +155,50 @@ function Ue({
|
|
|
155
155
|
if (c)
|
|
156
156
|
j(
|
|
157
157
|
Math.ceil(
|
|
158
|
-
(
|
|
158
|
+
(z ?? 0) / (r.pagination?.pageSize || w.pageSize || 10)
|
|
159
159
|
)
|
|
160
160
|
);
|
|
161
161
|
else {
|
|
162
162
|
const e = T.rows.length;
|
|
163
|
-
j(Math.ceil(e /
|
|
163
|
+
j(Math.ceil(e / w.pageSize));
|
|
164
164
|
}
|
|
165
165
|
}, [
|
|
166
166
|
c,
|
|
167
|
-
|
|
168
|
-
r?.pagination,
|
|
167
|
+
z,
|
|
168
|
+
r?.pagination.pageSize,
|
|
169
|
+
r?.pagination.pageIndex,
|
|
169
170
|
i,
|
|
170
171
|
T,
|
|
171
|
-
|
|
172
|
+
w.pageSize
|
|
172
173
|
]), R(() => {
|
|
173
174
|
const e = ue(() => {
|
|
174
|
-
const t =
|
|
175
|
+
const t = y.current;
|
|
175
176
|
t && he(t, {
|
|
176
177
|
rowHeight: p.rowHeight,
|
|
177
178
|
headerHeight: p.headerHeight,
|
|
178
179
|
containerHeight: p.containerHeight,
|
|
179
|
-
onPageChange: c ? (l,
|
|
180
|
-
g?.((
|
|
181
|
-
...
|
|
182
|
-
pagination: {
|
|
180
|
+
onPageChange: c ? (l, o) => {
|
|
181
|
+
g?.((a) => ({
|
|
182
|
+
...a,
|
|
183
|
+
pagination: {
|
|
184
|
+
...a.pagination,
|
|
185
|
+
pageIndex: l
|
|
186
|
+
}
|
|
183
187
|
}));
|
|
184
|
-
} : (l,
|
|
185
|
-
|
|
188
|
+
} : (l, o) => {
|
|
189
|
+
k({ pageIndex: l, pageSize: o });
|
|
186
190
|
},
|
|
187
191
|
setPagination: (l) => {
|
|
188
|
-
const
|
|
189
|
-
c ? g?.((
|
|
190
|
-
...
|
|
192
|
+
const o = typeof l == "function" ? l({ pageIndex: 0, pageSize: 10 }) : l;
|
|
193
|
+
c ? g?.((a) => ({
|
|
194
|
+
...a,
|
|
191
195
|
pagination: {
|
|
192
|
-
...
|
|
193
|
-
pageIndex:
|
|
194
|
-
pageSize: a.pageSize
|
|
196
|
+
...a.pagination,
|
|
197
|
+
pageIndex: o.pageIndex
|
|
195
198
|
}
|
|
196
|
-
})) :
|
|
197
|
-
pageIndex:
|
|
198
|
-
pageSize:
|
|
199
|
+
})) : k({
|
|
200
|
+
pageIndex: o.pageIndex,
|
|
201
|
+
pageSize: o.pageSize
|
|
199
202
|
});
|
|
200
203
|
}
|
|
201
204
|
});
|
|
@@ -208,15 +211,15 @@ function Ue({
|
|
|
208
211
|
p.containerHeight,
|
|
209
212
|
p.headerHeight,
|
|
210
213
|
p.rowHeight,
|
|
211
|
-
|
|
214
|
+
y,
|
|
212
215
|
g
|
|
213
216
|
// should be stable, but include for clarity
|
|
214
217
|
]), R(() => {
|
|
215
|
-
if (
|
|
218
|
+
if (M && S) {
|
|
216
219
|
const e = i.getFilteredSelectedRowModel().rows.map((t) => t.original);
|
|
217
|
-
|
|
220
|
+
M(e);
|
|
218
221
|
}
|
|
219
|
-
}, [i,
|
|
222
|
+
}, [i, M, S, L]), /* @__PURE__ */ h(
|
|
220
223
|
"div",
|
|
221
224
|
{
|
|
222
225
|
className: re(
|
|
@@ -230,7 +233,7 @@ function Ue({
|
|
|
230
233
|
{
|
|
231
234
|
iconLeft: "Search",
|
|
232
235
|
placeholder: u.placeholder ?? "Cerca...",
|
|
233
|
-
value:
|
|
236
|
+
value: C,
|
|
234
237
|
onChange: (e) => {
|
|
235
238
|
ee(e.target.value);
|
|
236
239
|
},
|
|
@@ -249,17 +252,17 @@ function Ue({
|
|
|
249
252
|
value: l,
|
|
250
253
|
placeholder: e.placeholder,
|
|
251
254
|
label: e.label,
|
|
252
|
-
onChange: (
|
|
253
|
-
|
|
254
|
-
...
|
|
255
|
-
[e.column]:
|
|
256
|
-
})), Z((
|
|
257
|
-
const s =
|
|
255
|
+
onChange: (o) => {
|
|
256
|
+
ae((a) => ({
|
|
257
|
+
...a,
|
|
258
|
+
[e.column]: o
|
|
259
|
+
})), Z((a) => {
|
|
260
|
+
const s = a.filter(
|
|
258
261
|
(f) => f.id !== e.column
|
|
259
262
|
);
|
|
260
|
-
return
|
|
263
|
+
return o.length === 0 ? s : [
|
|
261
264
|
...s,
|
|
262
|
-
{ id: e.column, value:
|
|
265
|
+
{ id: e.column, value: o }
|
|
263
266
|
];
|
|
264
267
|
});
|
|
265
268
|
}
|
|
@@ -273,13 +276,13 @@ function Ue({
|
|
|
273
276
|
"div",
|
|
274
277
|
{
|
|
275
278
|
className: "flex max-h-full min-h-0 max-w-full min-w-0 flex-1",
|
|
276
|
-
ref:
|
|
279
|
+
ref: y,
|
|
277
280
|
children: /* @__PURE__ */ h(W, { className: "border-d-border h-full min-h-0 w-full rounded-md border", children: [
|
|
278
281
|
/* @__PURE__ */ n(F, { orientation: "horizontal" }),
|
|
279
282
|
/* @__PURE__ */ n(F, { orientation: "vertical" }),
|
|
280
|
-
/* @__PURE__ */ h(
|
|
281
|
-
/* @__PURE__ */ n(
|
|
282
|
-
|
|
283
|
+
/* @__PURE__ */ h(Ne, { children: [
|
|
284
|
+
/* @__PURE__ */ n(Me, { children: i.getHeaderGroups().map((e) => /* @__PURE__ */ n(N, { children: e.headers.map((t) => /* @__PURE__ */ n(
|
|
285
|
+
ze,
|
|
283
286
|
{
|
|
284
287
|
className: `bg-d-secondary sticky top-0 z-10 ${t.column.columnDef.sticky ? "left-0" : ""}`,
|
|
285
288
|
children: t.isPlaceholder ? null : $(
|
|
@@ -289,15 +292,15 @@ function Ue({
|
|
|
289
292
|
},
|
|
290
293
|
t.id
|
|
291
294
|
)) }, e.id)) }),
|
|
292
|
-
/* @__PURE__ */ n(ye, { children:
|
|
295
|
+
/* @__PURE__ */ n(ye, { children: _ ? Array.from({ length: D.length || 8 }).map((e, t) => /* @__PURE__ */ n(N, { children: i.getHeaderGroups()[0].headers.map((l, o) => /* @__PURE__ */ n(
|
|
293
296
|
H,
|
|
294
297
|
{
|
|
295
298
|
className: `w-full ${l.column.columnDef.sticky ? "bg-d-background sticky left-0 z-10" : ""}`,
|
|
296
299
|
children: /* @__PURE__ */ n(ke, { className: "h-6 w-full" })
|
|
297
300
|
},
|
|
298
|
-
`skeleton-cell-${t}-${
|
|
301
|
+
`skeleton-cell-${t}-${o}`
|
|
299
302
|
)) }, `skeleton-row-${t}`)) : i.getRowModel().rows?.length ? i.getRowModel().rows.map((e) => /* @__PURE__ */ n(
|
|
300
|
-
|
|
303
|
+
N,
|
|
301
304
|
{
|
|
302
305
|
"data-state": e.getIsSelected() && "selected",
|
|
303
306
|
children: e.getVisibleCells().map((t) => /* @__PURE__ */ n(
|
|
@@ -313,12 +316,12 @@ function Ue({
|
|
|
313
316
|
))
|
|
314
317
|
},
|
|
315
318
|
e.id
|
|
316
|
-
)) : /* @__PURE__ */ n(
|
|
319
|
+
)) : /* @__PURE__ */ n(N, { children: /* @__PURE__ */ n(
|
|
317
320
|
H,
|
|
318
321
|
{
|
|
319
322
|
colSpan: P.length,
|
|
320
323
|
className: "pt-4 text-center",
|
|
321
|
-
children:
|
|
324
|
+
children: J || Q
|
|
322
325
|
}
|
|
323
326
|
) }) })
|
|
324
327
|
] })
|
|
@@ -327,12 +330,12 @@ function Ue({
|
|
|
327
330
|
),
|
|
328
331
|
/* @__PURE__ */ h(pe, { className: "h-9", children: [
|
|
329
332
|
/* @__PURE__ */ n("div", { className: "flex h-full flex-1 items-center align-middle", children: /* @__PURE__ */ n("div", { className: "text-d-foreground hidden text-sm md:flex", children: Math.min(
|
|
330
|
-
r?.pagination?.pageSize ??
|
|
333
|
+
r?.pagination?.pageSize ?? w.pageSize,
|
|
331
334
|
i.getFilteredRowModel().rows.length ?? 9999
|
|
332
|
-
) + " / " + (r ?
|
|
335
|
+
) + " / " + (r ? z ?? "missing totalItems" : i.getFilteredRowModel().rows.length) + " " + (x?.rows ?? "Righe") }) }),
|
|
333
336
|
/* @__PURE__ */ h(xe, { children: [
|
|
334
|
-
/* @__PURE__ */ n(
|
|
335
|
-
|
|
337
|
+
/* @__PURE__ */ n(b, { children: /* @__PURE__ */ n(
|
|
338
|
+
we,
|
|
336
339
|
{
|
|
337
340
|
size: "sm",
|
|
338
341
|
isDisabled: !i.getCanPreviousPage(),
|
|
@@ -349,8 +352,8 @@ function Ue({
|
|
|
349
352
|
"aria-label": "Go to first page"
|
|
350
353
|
}
|
|
351
354
|
) }),
|
|
352
|
-
/* @__PURE__ */ n(
|
|
353
|
-
|
|
355
|
+
/* @__PURE__ */ n(b, { children: /* @__PURE__ */ n(
|
|
356
|
+
Ce,
|
|
354
357
|
{
|
|
355
358
|
size: "sm",
|
|
356
359
|
isDisabled: !i.getCanPreviousPage(),
|
|
@@ -358,7 +361,7 @@ function Ue({
|
|
|
358
361
|
onClick: () => {
|
|
359
362
|
if (i.getCanPreviousPage())
|
|
360
363
|
if (c) {
|
|
361
|
-
const e = r?.pagination.pageIndex ??
|
|
364
|
+
const e = r?.pagination.pageIndex ?? w.pageIndex, t = Math.max(e - 1, 0);
|
|
362
365
|
g?.((l) => ({
|
|
363
366
|
...l,
|
|
364
367
|
pagination: {
|
|
@@ -373,12 +376,12 @@ function Ue({
|
|
|
373
376
|
) }),
|
|
374
377
|
(() => {
|
|
375
378
|
const e = i.getState().pagination.pageIndex, t = i.getPageCount(), l = 5;
|
|
376
|
-
let
|
|
379
|
+
let o = Math.max(
|
|
377
380
|
0,
|
|
378
381
|
e - Math.floor(l / 2)
|
|
379
|
-
),
|
|
380
|
-
return
|
|
381
|
-
|
|
382
|
+
), a = o + l;
|
|
383
|
+
return a > t && (a = t, o = Math.max(0, a - l)), i.getPageOptions().slice(o, a).map((s, f) => /* @__PURE__ */ n(b, { children: /* @__PURE__ */ n(
|
|
384
|
+
be,
|
|
382
385
|
{
|
|
383
386
|
size: "icon",
|
|
384
387
|
isActive: e === s,
|
|
@@ -399,7 +402,7 @@ function Ue({
|
|
|
399
402
|
}
|
|
400
403
|
) }, f));
|
|
401
404
|
})(),
|
|
402
|
-
/* @__PURE__ */ n(
|
|
405
|
+
/* @__PURE__ */ n(b, { children: /* @__PURE__ */ n(
|
|
403
406
|
Pe,
|
|
404
407
|
{
|
|
405
408
|
size: "sm",
|
|
@@ -416,7 +419,7 @@ function Ue({
|
|
|
416
419
|
}
|
|
417
420
|
}
|
|
418
421
|
) }),
|
|
419
|
-
/* @__PURE__ */ n(
|
|
422
|
+
/* @__PURE__ */ n(b, { children: /* @__PURE__ */ n(
|
|
420
423
|
Se,
|
|
421
424
|
{
|
|
422
425
|
size: "sm",
|
package/dist/index.d.ts
CHANGED
|
@@ -5,6 +5,7 @@ import * as AvatarPrimitive from '@radix-ui/react-avatar';
|
|
|
5
5
|
import { ButtonProps as ButtonProps_2 } from './button';
|
|
6
6
|
import * as CheckboxPrimitive from '@radix-ui/react-checkbox';
|
|
7
7
|
import { ClassProp } from 'class-variance-authority/types';
|
|
8
|
+
import { ClassValue } from 'clsx';
|
|
8
9
|
import * as CollapsiblePrimitive from '@radix-ui/react-collapsible';
|
|
9
10
|
import { ColumnDef } from '@tanstack/react-table';
|
|
10
11
|
import { Command as Command_2 } from 'cmdk';
|
|
@@ -503,6 +504,8 @@ declare interface CircularProgressProps {
|
|
|
503
504
|
showLabel?: boolean;
|
|
504
505
|
}
|
|
505
506
|
|
|
507
|
+
export declare function cn(...inputs: ClassValue[]): string;
|
|
508
|
+
|
|
506
509
|
export declare function Collapsible({ ...props }: React.ComponentProps<typeof CollapsiblePrimitive.Root>): JSX.Element;
|
|
507
510
|
|
|
508
511
|
export declare function CollapsibleContent({ ...props }: React.ComponentProps<typeof CollapsiblePrimitive.CollapsibleContent>): JSX.Element;
|
package/dist/index.js
CHANGED
|
@@ -1,361 +1,362 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
13
|
-
import {
|
|
14
|
-
import {
|
|
15
|
-
import {
|
|
16
|
-
import {
|
|
17
|
-
import {
|
|
18
|
-
import {
|
|
19
|
-
import {
|
|
20
|
-
import {
|
|
21
|
-
import {
|
|
22
|
-
import {
|
|
23
|
-
import {
|
|
24
|
-
import {
|
|
25
|
-
import {
|
|
26
|
-
import {
|
|
27
|
-
import {
|
|
28
|
-
import {
|
|
29
|
-
import {
|
|
30
|
-
import {
|
|
31
|
-
import {
|
|
32
|
-
import {
|
|
33
|
-
import {
|
|
34
|
-
import {
|
|
35
|
-
import {
|
|
36
|
-
import {
|
|
37
|
-
import {
|
|
38
|
-
import {
|
|
39
|
-
import {
|
|
40
|
-
import {
|
|
41
|
-
import {
|
|
42
|
-
import {
|
|
43
|
-
import {
|
|
44
|
-
import {
|
|
45
|
-
import {
|
|
46
|
-
import {
|
|
47
|
-
import {
|
|
48
|
-
import {
|
|
49
|
-
import {
|
|
50
|
-
import {
|
|
51
|
-
import {
|
|
52
|
-
import {
|
|
53
|
-
import {
|
|
54
|
-
import {
|
|
55
|
-
import {
|
|
56
|
-
import {
|
|
57
|
-
import {
|
|
58
|
-
import {
|
|
59
|
-
import {
|
|
60
|
-
import {
|
|
61
|
-
import {
|
|
62
|
-
import {
|
|
63
|
-
import {
|
|
64
|
-
import {
|
|
65
|
-
import {
|
|
66
|
-
import {
|
|
67
|
-
import {
|
|
68
|
-
import {
|
|
69
|
-
import {
|
|
70
|
-
import {
|
|
71
|
-
import {
|
|
72
|
-
import {
|
|
73
|
-
import {
|
|
74
|
-
import {
|
|
75
|
-
import {
|
|
76
|
-
import {
|
|
77
|
-
import {
|
|
78
|
-
import {
|
|
79
|
-
import {
|
|
80
|
-
import {
|
|
81
|
-
import {
|
|
82
|
-
import {
|
|
83
|
-
import { useEditorModal as
|
|
84
|
-
import { AppEditor as
|
|
85
|
-
import { useAudioRecording as
|
|
86
|
-
import { useAutoScroll as
|
|
87
|
-
import { useAutosizeTextArea as
|
|
88
|
-
import { useCopyToClipboard as
|
|
89
|
-
import { useDebounce as
|
|
90
|
-
import { useIsMobile as
|
|
2
|
+
import { cn as o, hexContrast as t, hexToRgba as a, stringToHexColor as n } from "./lib/utils.js";
|
|
3
|
+
import { default as p } from "./components/ui/gantt/components/Gantt/Gantt.js";
|
|
4
|
+
import { AspectRatio as l } from "./components/ui/aspect-ratio.js";
|
|
5
|
+
import { Avatar as x, AvatarFallback as d, AvatarImage as g } from "./components/ui/avatar.js";
|
|
6
|
+
import { Badge as b, badgeVariants as f } from "./components/ui/badge.js";
|
|
7
|
+
import { Button as S, buttonVariants as M } from "./components/ui/button.js";
|
|
8
|
+
import { Checkbox as T } from "./components/ui/checkbox.js";
|
|
9
|
+
import { Collapsible as A, CollapsibleContent as I, CollapsibleTrigger as h } from "./components/ui/collapsible.js";
|
|
10
|
+
import { CopyButton as v } from "./components/ui/copy-button.js";
|
|
11
|
+
import { Icon as w } from "./components/ui/icon.js";
|
|
12
|
+
import { Input as L } from "./components/ui/input.js";
|
|
13
|
+
import { InputOTP as R, InputOTPGroup as H, InputOTPSlot as k } from "./components/ui/input-otp.js";
|
|
14
|
+
import { Label as N } from "./components/ui/label.js";
|
|
15
|
+
import { Progress as E } from "./components/ui/progress.js";
|
|
16
|
+
import { RadioGroup as O, RadioGroupItem as W } from "./components/ui/radio-group.js";
|
|
17
|
+
import { Separator as q } from "./components/ui/separator.js";
|
|
18
|
+
import { Skeleton as K } from "./components/ui/skeleton.js";
|
|
19
|
+
import { Switch as U } from "./components/ui/switch.js";
|
|
20
|
+
import { Textarea as Y } from "./components/ui/textarea.js";
|
|
21
|
+
import { Toggle as _, toggleVariants as $ } from "./components/ui/toggle.js";
|
|
22
|
+
import { Tooltip as re, TooltipContent as oe, TooltipProvider as te, TooltipTrigger as ae } from "./components/ui/tooltip.js";
|
|
23
|
+
import { TypingIndicator as ie } from "./components/ui/typing-indicator.js";
|
|
24
|
+
import { Toaster as me } from "./components/ui/toaster.js";
|
|
25
|
+
import { Accordion as ue, AccordionContent as xe, AccordionItem as de, AccordionTrigger as ge } from "./components/ui/accordion.js";
|
|
26
|
+
import { Alert as be, AlertDescription as fe, AlertTitle as se } from "./components/ui/alert.js";
|
|
27
|
+
import { AlertDialog as Me, AlertDialogAction as ce, AlertDialogCancel as Te, AlertDialogContent as De, AlertDialogDescription as Ae, AlertDialogFooter as Ie, AlertDialogHeader as he, AlertDialogTitle as Pe, AlertDialogTrigger as ve } from "./components/ui/alert-dialog.js";
|
|
28
|
+
import { AsyncSelect as we } from "./components/ui/async-select.js";
|
|
29
|
+
import { Calendar as Le } from "./components/ui/calendar.js";
|
|
30
|
+
import { Card as Re, CardContent as He, CardDescription as ke, CardFooter as ye, CardHeader as Ne, CardTitle as ze } from "./components/ui/card.js";
|
|
31
|
+
import { Typo as Ve } from "./components/ui/typo.js";
|
|
32
|
+
import { Command as We, CommandDialog as je, CommandEmpty as qe, CommandGroup as Je, CommandInput as Ke, CommandItem as Qe, CommandList as Ue, CommandSeparator as Xe, CommandShortcut as Ye } from "./components/ui/command.js";
|
|
33
|
+
import { ContextMenu as _e, ContextMenuCheckboxItem as $e, ContextMenuContent as er, ContextMenuGroup as rr, ContextMenuItem as or, ContextMenuLabel as tr, ContextMenuPortal as ar, ContextMenuRadioGroup as nr, ContextMenuRadioItem as ir, ContextMenuSeparator as pr, ContextMenuShortcut as mr, ContextMenuSub as lr, ContextMenuSubContent as ur, ContextMenuSubTrigger as xr, ContextMenuTrigger as dr } from "./components/ui/context-menu.js";
|
|
34
|
+
import { DatePicker as Cr } from "./components/ui/date-picker.js";
|
|
35
|
+
import { InputSelector as fr } from "./components/ui/input-selector.js";
|
|
36
|
+
import { Dialog as Sr, DialogContent as Mr, DialogDescription as cr, DialogFooter as Tr, DialogHeader as Dr, DialogTitle as Ar, DialogTrigger as Ir } from "./components/ui/dialog.js";
|
|
37
|
+
import { Drawer as Pr, DrawerContent as vr, DrawerDescription as Fr, DrawerFooter as wr, DrawerHeader as Gr, DrawerTitle as Lr, DrawerTrigger as Br } from "./components/ui/drawer.js";
|
|
38
|
+
import { Form as Hr, FormControl as kr, FormDescription as yr, FormField as Nr, FormItem as zr, FormLabel as Er, FormMessage as Vr, useFormField as Or } from "./components/ui/form.js";
|
|
39
|
+
import { HoverCard as jr, HoverCardContent as qr, HoverCardTrigger as Jr } from "./components/ui/hover-card.js";
|
|
40
|
+
import { Menubar as Qr, MenubarCheckboxItem as Ur, MenubarContent as Xr, MenubarGroup as Yr, MenubarItem as Zr, MenubarLabel as _r, MenubarMenu as $r, MenubarPortal as eo, MenubarRadioGroup as ro, MenubarRadioItem as oo, MenubarSeparator as to, MenubarShortcut as ao, MenubarSub as no, MenubarSubContent as io, MenubarSubTrigger as po, MenubarTrigger as mo } from "./components/ui/menubar.js";
|
|
41
|
+
import { MultipleSelector as uo } from "./components/ui/multiple-selector.js";
|
|
42
|
+
import { Pagination as go, PaginationContent as Co, PaginationEllipsis as bo, PaginationItem as fo, PaginationLink as so, PaginationNext as So, PaginationPrevious as Mo } from "./components/ui/pagination.js";
|
|
43
|
+
import { Popover as To, PopoverContent as Do, PopoverTrigger as Ao } from "./components/ui/popover.js";
|
|
44
|
+
import { PromptSuggestions as ho } from "./components/ui/prompt-suggestions.js";
|
|
45
|
+
import { ResizableHandle as vo, ResizablePanel as Fo, ResizablePanelGroup as wo } from "./components/ui/resizable.js";
|
|
46
|
+
import { ScrollArea as Lo, ScrollBar as Bo } from "./components/ui/scroll-area.js";
|
|
47
|
+
import { Select as Ho, SelectContent as ko, SelectGroup as yo, SelectItem as No, SelectLabel as zo, SelectSeparator as Eo, SelectTrigger as Vo, SelectValue as Oo } from "./components/ui/select.js";
|
|
48
|
+
import { Sheet as jo, SheetContent as qo, SheetDescription as Jo, SheetFooter as Ko, SheetHeader as Qo, SheetTitle as Uo, SheetTrigger as Xo } from "./components/ui/sheet.js";
|
|
49
|
+
import { Table as Zo, TableBody as _o, TableCaption as $o, TableCell as et, TableFooter as rt, TableHead as ot, TableHeader as tt, TableRow as at } from "./components/ui/table.js";
|
|
50
|
+
import { Tabs as it, TabsContent as pt, TabsList as mt, TabsTrigger as lt } from "./components/ui/tabs.js";
|
|
51
|
+
import { ToggleGroup as xt, ToggleGroupItem as dt } from "./components/ui/toggle-group.js";
|
|
52
|
+
import { Breadcrumb as Ct, BreadcrumbEllipsis as bt, BreadcrumbItem as ft, BreadcrumbLink as st, BreadcrumbList as St, BreadcrumbPage as Mt, BreadcrumbSeparator as ct } from "./components/ui/breadcrumb.js";
|
|
53
|
+
import { Slider as Dt } from "./components/ui/slider.js";
|
|
54
|
+
import { CircularProgress as It } from "./components/ui/charts/circular.js";
|
|
55
|
+
import { ThemeSwitcher as Pt } from "./components/ui/theme-switcher.js";
|
|
56
|
+
import { DropdownMenu as Ft, DropdownMenuContent as wt, DropdownMenuItem as Gt, DropdownMenuLabel as Lt, DropdownMenuSeparator as Bt, DropdownMenuTrigger as Rt } from "./components/ui/dropdown-menu.js";
|
|
57
|
+
import { AudioVisualizer as kt } from "./components/ui/audio-visualizer.js";
|
|
58
|
+
import { Carousel as Nt, CarouselContent as zt, CarouselItem as Et, CarouselNext as Vt, CarouselPrevious as Ot } from "./components/ui/carousel.js";
|
|
59
|
+
import { ChartContainer as jt, ChartLegend as qt, ChartLegendContent as Jt, ChartStyle as Kt, ChartTooltip as Qt, ChartTooltipContent as Ut } from "./components/ui/chart.js";
|
|
60
|
+
import { Chat as Yt, ChatContainer as Zt, ChatForm as _t, ChatMessages as $t } from "./components/ui/chat.js";
|
|
61
|
+
import { ChatMessage as ra } from "./components/ui/chat-message.js";
|
|
62
|
+
import { FilePreview as ta } from "./components/ui/file-preview.js";
|
|
63
|
+
import { InterruptPrompt as na } from "./components/ui/interrupt-prompt.js";
|
|
64
|
+
import { MarkdownRenderer as pa } from "./components/ui/markdown-renderer.js";
|
|
65
|
+
import { MessageInput as la } from "./components/ui/message-input.js";
|
|
66
|
+
import { MessageList as xa } from "./components/ui/message-list.js";
|
|
67
|
+
import { NavigationMenu as ga, NavigationMenuContent as Ca, NavigationMenuIndicator as ba, NavigationMenuItem as fa, NavigationMenuLink as sa, NavigationMenuList as Sa, NavigationMenuTrigger as Ma, NavigationMenuViewport as ca } from "./components/ui/navigation-menu.js";
|
|
68
|
+
import { Sidebar as Da, SidebarContent as Aa, SidebarFooter as Ia, SidebarGroup as ha, SidebarGroupAction as Pa, SidebarGroupContent as va, SidebarGroupLabel as Fa, SidebarHeader as wa, SidebarInput as Ga, SidebarInset as La, SidebarMenu as Ba, SidebarMenuAction as Ra, SidebarMenuBadge as Ha, SidebarMenuButton as ka, SidebarMenuItem as ya, SidebarMenuSkeleton as Na, SidebarMenuSub as za, SidebarMenuSubButton as Ea, SidebarMenuSubItem as Va, SidebarProvider as Oa, SidebarRail as Wa, SidebarSeparator as ja, SidebarTrigger as qa, useSidebar as Ja } from "./components/ui/sidebar.js";
|
|
69
|
+
import { DataTable as Qa } from "./components/ui/data-table.js";
|
|
70
|
+
import { ELogicalFilterOperator as Xa } from "./components/ui/data-table.service.js";
|
|
71
|
+
import { GanttDimensions as Za } from "./components/ui/gantt/enums/GanttDimensions.js";
|
|
72
|
+
import { GanttConsts as $a } from "./components/ui/gantt/constants/GanttConsts.js";
|
|
73
|
+
import { DragStepSizes as rn } from "./components/ui/gantt/enums/DragStepSizes.js";
|
|
74
|
+
import { DataRepeatTypes as tn } from "./components/ui/gantt/enums/DataRepeatTimes.js";
|
|
75
|
+
import { AppSidebar as nn } from "./components/ui/app-sidebar.js";
|
|
76
|
+
import { Confirmer as mn, confirm as ln } from "./components/ui/confirmer.js";
|
|
77
|
+
import { AppSelect as xn } from "./components/ui/app-select.js";
|
|
78
|
+
import { AppMultipleSelectDropdown as gn } from "./components/ui/app-multiple-select-dropdown.js";
|
|
79
|
+
import { DataCrossTable as bn } from "./components/ui/tables/data-cross-table/data-cross-table.js";
|
|
80
|
+
import { DataCrossTableButtonsGroup as sn } from "./components/ui/tables/data-cross-table/data-cross-table-buttons.js";
|
|
81
|
+
import { DataCrossTableProvider as Mn } from "./components/ui/tables/data-cross-table/data-cross-table-context.js";
|
|
82
|
+
import { WeeklyCalendar as Tn } from "./components/ui/weekly-calendar/weekly-calendar.js";
|
|
83
|
+
import { useEditorModal as An } from "./components/editor/editor-hooks/use-modal.js";
|
|
84
|
+
import { AppEditor as hn } from "./components/ui/app-editor.js";
|
|
85
|
+
import { useAudioRecording as vn } from "./hooks/use-audio-recording.js";
|
|
86
|
+
import { useAutoScroll as wn } from "./hooks/use-auto-scroll.js";
|
|
87
|
+
import { useAutosizeTextArea as Ln } from "./hooks/use-autosize-textarea.js";
|
|
88
|
+
import { useCopyToClipboard as Rn } from "./hooks/use-copy-to-clipboard.js";
|
|
89
|
+
import { useDebounce as kn } from "./hooks/use-debounce.js";
|
|
90
|
+
import { useIsMobile as Nn } from "./hooks/use-mobile.js";
|
|
91
91
|
export {
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
92
|
+
ue as Accordion,
|
|
93
|
+
xe as AccordionContent,
|
|
94
|
+
de as AccordionItem,
|
|
95
|
+
ge as AccordionTrigger,
|
|
96
|
+
be as Alert,
|
|
97
|
+
fe as AlertDescription,
|
|
98
|
+
Me as AlertDialog,
|
|
99
|
+
ce as AlertDialogAction,
|
|
100
|
+
Te as AlertDialogCancel,
|
|
101
|
+
De as AlertDialogContent,
|
|
102
|
+
Ae as AlertDialogDescription,
|
|
103
|
+
Ie as AlertDialogFooter,
|
|
104
|
+
he as AlertDialogHeader,
|
|
105
|
+
Pe as AlertDialogTitle,
|
|
106
|
+
ve as AlertDialogTrigger,
|
|
107
|
+
se as AlertTitle,
|
|
108
|
+
hn as AppEditor,
|
|
109
|
+
gn as AppMultipleSelectDropdown,
|
|
110
|
+
xn as AppSelect,
|
|
111
|
+
nn as AppSidebar,
|
|
112
|
+
l as AspectRatio,
|
|
113
|
+
we as AsyncSelect,
|
|
114
|
+
kt as AudioVisualizer,
|
|
115
|
+
x as Avatar,
|
|
116
|
+
d as AvatarFallback,
|
|
117
|
+
g as AvatarImage,
|
|
118
|
+
b as Badge,
|
|
119
|
+
Ct as Breadcrumb,
|
|
120
|
+
bt as BreadcrumbEllipsis,
|
|
121
|
+
ft as BreadcrumbItem,
|
|
122
|
+
st as BreadcrumbLink,
|
|
123
|
+
St as BreadcrumbList,
|
|
124
|
+
Mt as BreadcrumbPage,
|
|
125
|
+
ct as BreadcrumbSeparator,
|
|
126
|
+
S as Button,
|
|
127
|
+
Le as Calendar,
|
|
128
|
+
Re as Card,
|
|
129
|
+
He as CardContent,
|
|
130
|
+
ke as CardDescription,
|
|
131
|
+
ye as CardFooter,
|
|
132
|
+
Ne as CardHeader,
|
|
133
|
+
ze as CardTitle,
|
|
134
|
+
Nt as Carousel,
|
|
135
|
+
zt as CarouselContent,
|
|
136
|
+
Et as CarouselItem,
|
|
137
|
+
Vt as CarouselNext,
|
|
138
|
+
Ot as CarouselPrevious,
|
|
139
|
+
jt as ChartContainer,
|
|
140
|
+
qt as ChartLegend,
|
|
141
|
+
Jt as ChartLegendContent,
|
|
142
|
+
Kt as ChartStyle,
|
|
143
|
+
Qt as ChartTooltip,
|
|
144
|
+
Ut as ChartTooltipContent,
|
|
145
|
+
Yt as Chat,
|
|
146
|
+
Zt as ChatContainer,
|
|
147
|
+
_t as ChatForm,
|
|
148
|
+
ra as ChatMessage,
|
|
149
|
+
$t as ChatMessages,
|
|
150
|
+
T as Checkbox,
|
|
151
|
+
It as CircularProgress,
|
|
152
|
+
A as Collapsible,
|
|
153
|
+
I as CollapsibleContent,
|
|
154
|
+
h as CollapsibleTrigger,
|
|
155
|
+
We as Command,
|
|
156
|
+
je as CommandDialog,
|
|
157
|
+
qe as CommandEmpty,
|
|
158
|
+
Je as CommandGroup,
|
|
159
|
+
Ke as CommandInput,
|
|
160
|
+
Qe as CommandItem,
|
|
161
|
+
Ue as CommandList,
|
|
162
|
+
Xe as CommandSeparator,
|
|
163
|
+
Ye as CommandShortcut,
|
|
164
|
+
mn as Confirmer,
|
|
165
|
+
_e as ContextMenu,
|
|
166
|
+
$e as ContextMenuCheckboxItem,
|
|
167
|
+
er as ContextMenuContent,
|
|
168
|
+
rr as ContextMenuGroup,
|
|
169
|
+
or as ContextMenuItem,
|
|
170
|
+
tr as ContextMenuLabel,
|
|
171
|
+
ar as ContextMenuPortal,
|
|
172
|
+
nr as ContextMenuRadioGroup,
|
|
173
|
+
ir as ContextMenuRadioItem,
|
|
174
|
+
pr as ContextMenuSeparator,
|
|
175
|
+
mr as ContextMenuShortcut,
|
|
176
|
+
lr as ContextMenuSub,
|
|
177
|
+
ur as ContextMenuSubContent,
|
|
178
|
+
xr as ContextMenuSubTrigger,
|
|
179
|
+
dr as ContextMenuTrigger,
|
|
180
|
+
v as CopyButton,
|
|
181
|
+
bn as DataCrossTable,
|
|
182
|
+
sn as DataCrossTableButtonsGroup,
|
|
183
|
+
Mn as DataCrossTableProvider,
|
|
184
|
+
tn as DataRepeatTypes,
|
|
185
|
+
Qa as DataTable,
|
|
186
|
+
Cr as DatePicker,
|
|
187
|
+
Sr as Dialog,
|
|
188
|
+
Mr as DialogContent,
|
|
189
|
+
cr as DialogDescription,
|
|
190
|
+
Tr as DialogFooter,
|
|
191
|
+
Dr as DialogHeader,
|
|
192
|
+
Ar as DialogTitle,
|
|
193
|
+
Ir as DialogTrigger,
|
|
194
|
+
rn as DragStepSizes,
|
|
195
|
+
Pr as Drawer,
|
|
196
|
+
vr as DrawerContent,
|
|
197
|
+
Fr as DrawerDescription,
|
|
198
|
+
wr as DrawerFooter,
|
|
199
|
+
Gr as DrawerHeader,
|
|
200
|
+
Lr as DrawerTitle,
|
|
201
|
+
Br as DrawerTrigger,
|
|
202
|
+
Ft as DropdownMenu,
|
|
203
|
+
wt as DropdownMenuContent,
|
|
204
|
+
Gt as DropdownMenuItem,
|
|
205
|
+
Lt as DropdownMenuLabel,
|
|
206
|
+
Bt as DropdownMenuSeparator,
|
|
207
|
+
Rt as DropdownMenuTrigger,
|
|
208
|
+
Xa as ELogicalFilterOperator,
|
|
209
|
+
ta as FilePreview,
|
|
210
|
+
Hr as Form,
|
|
211
|
+
kr as FormControl,
|
|
212
|
+
yr as FormDescription,
|
|
213
|
+
Nr as FormField,
|
|
214
|
+
zr as FormItem,
|
|
215
|
+
Er as FormLabel,
|
|
216
|
+
Vr as FormMessage,
|
|
217
|
+
p as Gantt,
|
|
218
|
+
$a as GanttConsts,
|
|
219
|
+
Za as GanttDimensions,
|
|
220
|
+
jr as HoverCard,
|
|
221
|
+
qr as HoverCardContent,
|
|
222
|
+
Jr as HoverCardTrigger,
|
|
223
|
+
w as Icon,
|
|
224
|
+
L as Input,
|
|
225
|
+
R as InputOTP,
|
|
226
|
+
H as InputOTPGroup,
|
|
227
|
+
k as InputOTPSlot,
|
|
228
|
+
fr as InputSelector,
|
|
229
|
+
na as InterruptPrompt,
|
|
230
|
+
N as Label,
|
|
231
|
+
pa as MarkdownRenderer,
|
|
232
|
+
Qr as Menubar,
|
|
233
|
+
Ur as MenubarCheckboxItem,
|
|
234
|
+
Xr as MenubarContent,
|
|
235
|
+
Yr as MenubarGroup,
|
|
236
|
+
Zr as MenubarItem,
|
|
237
|
+
_r as MenubarLabel,
|
|
238
|
+
$r as MenubarMenu,
|
|
239
|
+
eo as MenubarPortal,
|
|
240
|
+
ro as MenubarRadioGroup,
|
|
241
|
+
oo as MenubarRadioItem,
|
|
242
|
+
to as MenubarSeparator,
|
|
243
|
+
ao as MenubarShortcut,
|
|
244
|
+
no as MenubarSub,
|
|
245
|
+
io as MenubarSubContent,
|
|
246
|
+
po as MenubarSubTrigger,
|
|
247
|
+
mo as MenubarTrigger,
|
|
248
|
+
la as MessageInput,
|
|
249
|
+
xa as MessageList,
|
|
250
|
+
uo as MultipleSelector,
|
|
251
|
+
ga as NavigationMenu,
|
|
252
|
+
Ca as NavigationMenuContent,
|
|
253
|
+
ba as NavigationMenuIndicator,
|
|
254
|
+
fa as NavigationMenuItem,
|
|
255
|
+
sa as NavigationMenuLink,
|
|
256
|
+
Sa as NavigationMenuList,
|
|
257
|
+
Ma as NavigationMenuTrigger,
|
|
258
|
+
ca as NavigationMenuViewport,
|
|
259
|
+
go as Pagination,
|
|
260
|
+
Co as PaginationContent,
|
|
261
|
+
bo as PaginationEllipsis,
|
|
262
|
+
fo as PaginationItem,
|
|
263
|
+
so as PaginationLink,
|
|
264
|
+
So as PaginationNext,
|
|
265
|
+
Mo as PaginationPrevious,
|
|
266
|
+
To as Popover,
|
|
267
|
+
Do as PopoverContent,
|
|
268
|
+
Ao as PopoverTrigger,
|
|
269
|
+
E as Progress,
|
|
270
|
+
ho as PromptSuggestions,
|
|
271
|
+
O as RadioGroup,
|
|
272
|
+
W as RadioGroupItem,
|
|
273
|
+
vo as ResizableHandle,
|
|
274
|
+
Fo as ResizablePanel,
|
|
275
|
+
wo as ResizablePanelGroup,
|
|
276
|
+
Lo as ScrollArea,
|
|
277
|
+
Bo as ScrollBar,
|
|
278
|
+
Ho as Select,
|
|
279
|
+
ko as SelectContent,
|
|
280
|
+
yo as SelectGroup,
|
|
281
|
+
No as SelectItem,
|
|
282
|
+
zo as SelectLabel,
|
|
283
|
+
Eo as SelectSeparator,
|
|
284
|
+
Vo as SelectTrigger,
|
|
285
|
+
Oo as SelectValue,
|
|
286
|
+
q as Separator,
|
|
287
|
+
jo as Sheet,
|
|
288
|
+
qo as SheetContent,
|
|
289
|
+
Jo as SheetDescription,
|
|
290
|
+
Ko as SheetFooter,
|
|
291
|
+
Qo as SheetHeader,
|
|
292
|
+
Uo as SheetTitle,
|
|
293
|
+
Xo as SheetTrigger,
|
|
294
|
+
Da as Sidebar,
|
|
295
|
+
Aa as SidebarContent,
|
|
296
|
+
Ia as SidebarFooter,
|
|
297
|
+
ha as SidebarGroup,
|
|
298
|
+
Pa as SidebarGroupAction,
|
|
299
|
+
va as SidebarGroupContent,
|
|
300
|
+
Fa as SidebarGroupLabel,
|
|
301
|
+
wa as SidebarHeader,
|
|
302
|
+
Ga as SidebarInput,
|
|
303
|
+
La as SidebarInset,
|
|
304
|
+
Ba as SidebarMenu,
|
|
305
|
+
Ra as SidebarMenuAction,
|
|
306
|
+
Ha as SidebarMenuBadge,
|
|
307
|
+
ka as SidebarMenuButton,
|
|
308
|
+
ya as SidebarMenuItem,
|
|
309
|
+
Na as SidebarMenuSkeleton,
|
|
310
|
+
za as SidebarMenuSub,
|
|
311
|
+
Ea as SidebarMenuSubButton,
|
|
312
|
+
Va as SidebarMenuSubItem,
|
|
313
|
+
Oa as SidebarProvider,
|
|
314
|
+
Wa as SidebarRail,
|
|
315
|
+
ja as SidebarSeparator,
|
|
316
|
+
qa as SidebarTrigger,
|
|
317
|
+
K as Skeleton,
|
|
318
|
+
Dt as Slider,
|
|
319
|
+
U as Switch,
|
|
320
|
+
Zo as Table,
|
|
321
|
+
_o as TableBody,
|
|
322
|
+
$o as TableCaption,
|
|
323
|
+
et as TableCell,
|
|
324
|
+
rt as TableFooter,
|
|
325
|
+
ot as TableHead,
|
|
326
|
+
tt as TableHeader,
|
|
327
|
+
at as TableRow,
|
|
328
|
+
it as Tabs,
|
|
329
|
+
pt as TabsContent,
|
|
330
|
+
mt as TabsList,
|
|
331
|
+
lt as TabsTrigger,
|
|
332
|
+
Y as Textarea,
|
|
333
|
+
Pt as ThemeSwitcher,
|
|
334
|
+
me as Toaster,
|
|
335
|
+
_ as Toggle,
|
|
336
|
+
xt as ToggleGroup,
|
|
337
|
+
dt as ToggleGroupItem,
|
|
338
|
+
re as Tooltip,
|
|
339
|
+
oe as TooltipContent,
|
|
340
|
+
te as TooltipProvider,
|
|
341
|
+
ae as TooltipTrigger,
|
|
342
|
+
ie as TypingIndicator,
|
|
343
|
+
Ve as Typo,
|
|
344
|
+
Tn as WeeklyCalendar,
|
|
345
|
+
f as badgeVariants,
|
|
346
|
+
M as buttonVariants,
|
|
347
|
+
o as cn,
|
|
348
|
+
ln as confirm,
|
|
349
|
+
t as hexContrast,
|
|
350
|
+
a as hexToRgba,
|
|
351
|
+
n as stringToHexColor,
|
|
352
|
+
$ as toggleVariants,
|
|
353
|
+
vn as useAudioRecording,
|
|
354
|
+
wn as useAutoScroll,
|
|
355
|
+
Ln as useAutosizeTextArea,
|
|
356
|
+
Rn as useCopyToClipboard,
|
|
357
|
+
kn as useDebounce,
|
|
358
|
+
An as useEditorModal,
|
|
359
|
+
Or as useFormField,
|
|
360
|
+
Nn as useIsMobile,
|
|
361
|
+
Ja as useSidebar
|
|
361
362
|
};
|
|
@@ -3,7 +3,7 @@ import { stringify as w } from "../../comma-separated-tokens/index.js";
|
|
|
3
3
|
import { ok as u } from "../../devlop/lib/default.js";
|
|
4
4
|
import { svg as m, html as C } from "../../property-information/index.js";
|
|
5
5
|
import { stringify as N } from "../../space-separated-tokens/index.js";
|
|
6
|
-
import S from "../../../_virtual/
|
|
6
|
+
import S from "../../../_virtual/index4.js";
|
|
7
7
|
import { whitespace as j } from "../../hast-util-whitespace/lib/index.js";
|
|
8
8
|
import { name as x } from "../../estree-util-is-identifier-name/lib/index.js";
|
|
9
9
|
import { VFileMessage as h } from "../../vfile-message/lib/index.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { bail as P } from "../../bail/index.js";
|
|
3
|
-
import y from "../../../_virtual/
|
|
3
|
+
import y from "../../../_virtual/index5.js";
|
|
4
4
|
import z from "../../is-plain-obj/index.js";
|
|
5
5
|
import { CallableInstance as C } from "./callable-instance.js";
|
|
6
6
|
import { trough as A } from "../../trough/lib/index.js";
|