@customafk/lunas-ui 0.2.14 → 0.2.16
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/{alert-Bje80tS7.d.cts → alert-DAsuV2rs.d.cts} +7 -7
- package/dist/{alert-D-wjZLj6.d.mts → alert-DbIpz-Ut.d.mts} +5 -5
- package/dist/{badge-B6mcl5SV.d.cts → badge-DRPNdX-8.d.cts} +6 -6
- package/dist/{badge-FCxqhCfQ.d.mts → badge-DujjvdK2.d.mts} +6 -6
- package/dist/{button-B46oQvo-.d.mts → button-By8N7gww.d.mts} +4 -4
- package/dist/{button-XaFg7gH_.d.cts → button-NsDEQZQu.d.cts} +4 -4
- package/dist/data-display/statistic.d.cts +2 -2
- package/dist/{dialog-Dea1PK2n.d.cts → dialog-CI38DMSt.d.cts} +12 -12
- package/dist/{dialog-HkbI2x97.d.mts → dialog-Cd9s8XQ6.d.mts} +12 -12
- package/dist/dialogs/detail-dialog/components/sidebar.d.cts +26 -26
- package/dist/dialogs/detail-dialog/components/sidebar.d.mts +26 -26
- package/dist/features/descriptions/index.d.cts +1 -1
- package/dist/features/descriptions/index.d.mts +5 -5
- package/dist/features/search-modal/index.d.cts +2 -2
- package/dist/features/search-modal/index.d.mts +2 -2
- package/dist/features/tables/index.cjs +1 -1
- package/dist/features/tables/index.d.cts +1 -1
- package/dist/features/tables/index.d.mts +2 -2
- package/dist/features/tables/index.mjs +1 -1
- package/dist/features/tanstack-form/index.d.mts +1 -1
- package/dist/{index-BEX8auQV.d.mts → index-DHBPQRFJ.d.mts} +237 -237
- package/dist/{index-CwNty-oG.d.cts → index-DmpI6f1Z.d.cts} +2 -2
- package/dist/{index-KrWXevZr.d.mts → index-dLraZMQ9.d.mts} +28 -28
- package/dist/index.cjs +1 -1
- package/dist/index.d.cts +6 -6
- package/dist/index.d.mts +7 -7
- package/dist/index.mjs +1 -1
- package/dist/{input-B-17xQuT.d.cts → input-BMJ08G0t.d.cts} +4 -4
- package/dist/{input-2W-pdlmm.d.mts → input-CKmihxje.d.mts} +6 -6
- package/dist/layouts/flex.d.cts +6 -6
- package/dist/layouts/flex.d.mts +6 -6
- package/dist/pages/FeatureDeveloping.d.cts +2 -2
- package/dist/pages/FeatureDeveloping.d.mts +2 -2
- package/dist/pages/FeatureFixing.d.cts +2 -2
- package/dist/pages/FeatureFixing.d.mts +2 -2
- package/dist/pages/NotAuthorized.d.cts +2 -2
- package/dist/pages/NotAuthorized.d.mts +2 -2
- package/dist/pages/NotFound.d.cts +2 -2
- package/dist/pages/NotFound.d.mts +2 -2
- package/dist/tables-CRT-VlLK.cjs +4 -0
- package/dist/tables-CRT-VlLK.cjs.map +1 -0
- package/dist/tables-DTYYTJSQ.mjs +4 -0
- package/dist/tables-DTYYTJSQ.mjs.map +1 -0
- package/dist/typography/paragraph.d.cts +4 -4
- package/dist/typography/paragraph.d.mts +4 -4
- package/dist/typography/title.d.cts +2 -2
- package/dist/typography/title.d.mts +2 -2
- package/dist/ui/alert-dialog.d.cts +12 -12
- package/dist/ui/alert-dialog.d.mts +12 -12
- package/dist/ui/alert.d.cts +1 -1
- package/dist/ui/alert.d.mts +1 -1
- package/dist/ui/aspect-ratio.d.cts +2 -2
- package/dist/ui/aspect-ratio.d.mts +2 -2
- package/dist/ui/avatar.d.cts +4 -4
- package/dist/ui/avatar.d.mts +4 -4
- package/dist/ui/badge.d.cts +1 -1
- package/dist/ui/badge.d.mts +1 -1
- package/dist/ui/breadcrumb.d.cts +8 -8
- package/dist/ui/breadcrumb.d.mts +8 -8
- package/dist/ui/button-group.d.cts +6 -6
- package/dist/ui/button-group.d.mts +6 -6
- package/dist/ui/button.d.cts +1 -1
- package/dist/ui/button.d.mts +1 -1
- package/dist/ui/calendar.d.cts +4 -4
- package/dist/ui/calendar.d.mts +4 -4
- package/dist/ui/card.d.cts +8 -8
- package/dist/ui/card.d.mts +8 -8
- package/dist/ui/carousel.d.cts +7 -7
- package/dist/ui/carousel.d.mts +7 -7
- package/dist/ui/checkbox.d.cts +2 -2
- package/dist/ui/checkbox.d.mts +2 -2
- package/dist/ui/collapsible.d.cts +4 -4
- package/dist/ui/collapsible.d.mts +4 -4
- package/dist/ui/command.d.cts +11 -11
- package/dist/ui/command.d.mts +11 -11
- package/dist/ui/context-menu.d.cts +16 -16
- package/dist/ui/context-menu.d.mts +16 -16
- package/dist/ui/dialog.d.cts +1 -1
- package/dist/ui/dialog.d.mts +1 -1
- package/dist/ui/drawer.d.cts +11 -11
- package/dist/ui/drawer.d.mts +11 -11
- package/dist/ui/dropdown-menu.d.cts +16 -16
- package/dist/ui/dropdown-menu.d.mts +16 -16
- package/dist/ui/empty.d.cts +9 -9
- package/dist/ui/empty.d.mts +9 -9
- package/dist/ui/field.d.cts +13 -13
- package/dist/ui/field.d.mts +24 -24
- package/dist/ui/file-uploader.d.cts +2 -2
- package/dist/ui/file-uploader.d.mts +2 -2
- package/dist/ui/form.d.cts +7 -7
- package/dist/ui/form.d.mts +11 -11
- package/dist/ui/hover-card.d.cts +4 -4
- package/dist/ui/hover-card.d.mts +4 -4
- package/dist/ui/input-otp.d.cts +5 -5
- package/dist/ui/input-otp.d.mts +5 -5
- package/dist/ui/input.d.cts +1 -1
- package/dist/ui/input.d.mts +1 -1
- package/dist/ui/inputs/search-input.d.cts +3 -3
- package/dist/ui/inputs/search-input.d.mts +3 -3
- package/dist/ui/item.d.cts +16 -16
- package/dist/ui/item.d.mts +16 -16
- package/dist/ui/label.d.cts +2 -2
- package/dist/ui/label.d.mts +2 -2
- package/dist/ui/menubar.d.cts +17 -17
- package/dist/ui/menubar.d.mts +17 -17
- package/dist/ui/multi-select.d.mts +3 -3
- package/dist/ui/navigation-menu.d.cts +11 -11
- package/dist/ui/navigation-menu.d.mts +11 -11
- package/dist/ui/pagination.d.cts +9 -9
- package/dist/ui/pagination.d.mts +9 -9
- package/dist/ui/popover.d.cts +6 -6
- package/dist/ui/popover.d.mts +6 -6
- package/dist/ui/progress.d.cts +2 -2
- package/dist/ui/progress.d.mts +2 -2
- package/dist/ui/radio-group.d.cts +3 -3
- package/dist/ui/radio-group.d.mts +3 -3
- package/dist/ui/resizable.d.cts +9 -9
- package/dist/ui/resizable.d.mts +1 -1
- package/dist/ui/scroll-area.d.cts +6 -6
- package/dist/ui/scroll-area.d.mts +6 -6
- package/dist/ui/select.d.cts +9 -9
- package/dist/ui/select.d.mts +9 -9
- package/dist/ui/separator.d.cts +2 -2
- package/dist/ui/separator.d.mts +2 -2
- package/dist/ui/sheet.d.cts +9 -9
- package/dist/ui/sheet.d.mts +9 -9
- package/dist/ui/sidebar.d.cts +28 -28
- package/dist/ui/sidebar.d.mts +28 -28
- package/dist/ui/skeleton.d.cts +2 -2
- package/dist/ui/skeleton.d.mts +2 -2
- package/dist/ui/slider.d.cts +2 -2
- package/dist/ui/slider.d.mts +2 -2
- package/dist/ui/sonner.d.cts +2 -2
- package/dist/ui/sonner.d.mts +2 -2
- package/dist/ui/spinner.d.cts +2 -2
- package/dist/ui/spinner.d.mts +2 -2
- package/dist/ui/switch.d.cts +2 -2
- package/dist/ui/switch.d.mts +2 -2
- package/dist/ui/table.d.cts +18 -18
- package/dist/ui/table.d.mts +18 -18
- package/dist/ui/tabs.d.cts +5 -5
- package/dist/ui/tabs.d.mts +5 -5
- package/dist/ui/textarea.d.cts +2 -2
- package/dist/ui/textarea.d.mts +2 -2
- package/dist/ui/toggle-group.d.cts +3 -3
- package/dist/ui/toggle-group.d.mts +3 -3
- package/dist/ui/toggle.d.cts +4 -4
- package/dist/ui/toggle.d.mts +4 -4
- package/dist/ui/tooltip.d.cts +5 -5
- package/dist/ui/tooltip.d.mts +5 -5
- package/package.json +1 -1
- package/dist/tables-BMQmwJqT.mjs +0 -4
- package/dist/tables-BMQmwJqT.mjs.map +0 -1
- package/dist/tables-IzNs0r_M.cjs +0 -4
- package/dist/tables-IzNs0r_M.cjs.map +0 -1
package/dist/ui/sonner.d.mts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime254 from "react/jsx-runtime";
|
|
2
2
|
import { toast } from "sonner";
|
|
3
3
|
|
|
4
4
|
//#region packages/components/ui/sonner.d.ts
|
|
@@ -18,7 +18,7 @@ import { toast } from "sonner";
|
|
|
18
18
|
* toast.error('Something went wrong.');
|
|
19
19
|
* ```
|
|
20
20
|
*/
|
|
21
|
-
declare const Toaster: () =>
|
|
21
|
+
declare const Toaster: () => react_jsx_runtime254.JSX.Element;
|
|
22
22
|
//#endregion
|
|
23
23
|
export { Toaster, Toaster as default, toast };
|
|
24
24
|
//# sourceMappingURL=sonner.d.mts.map
|
package/dist/ui/spinner.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime281 from "react/jsx-runtime";
|
|
2
2
|
|
|
3
3
|
//#region packages/components/ui/spinner.d.ts
|
|
4
4
|
|
|
@@ -19,7 +19,7 @@ import * as react_jsx_runtime213 from "react/jsx-runtime";
|
|
|
19
19
|
declare function Spinner({
|
|
20
20
|
className,
|
|
21
21
|
...props
|
|
22
|
-
}: React.ComponentProps<'svg'>):
|
|
22
|
+
}: React.ComponentProps<'svg'>): react_jsx_runtime281.JSX.Element;
|
|
23
23
|
//#endregion
|
|
24
24
|
export { Spinner };
|
|
25
25
|
//# sourceMappingURL=spinner.d.cts.map
|
package/dist/ui/spinner.d.mts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime186 from "react/jsx-runtime";
|
|
2
2
|
|
|
3
3
|
//#region packages/components/ui/spinner.d.ts
|
|
4
4
|
|
|
@@ -19,7 +19,7 @@ import * as react_jsx_runtime242 from "react/jsx-runtime";
|
|
|
19
19
|
declare function Spinner({
|
|
20
20
|
className,
|
|
21
21
|
...props
|
|
22
|
-
}: React.ComponentProps<'svg'>):
|
|
22
|
+
}: React.ComponentProps<'svg'>): react_jsx_runtime186.JSX.Element;
|
|
23
23
|
//#endregion
|
|
24
24
|
export { Spinner };
|
|
25
25
|
//# sourceMappingURL=spinner.d.mts.map
|
package/dist/ui/switch.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime282 from "react/jsx-runtime";
|
|
2
2
|
import { Switch as Switch$1 } from "radix-ui";
|
|
3
3
|
|
|
4
4
|
//#region packages/components/ui/switch.d.ts
|
|
@@ -20,7 +20,7 @@ import { Switch as Switch$1 } from "radix-ui";
|
|
|
20
20
|
declare function Switch({
|
|
21
21
|
className,
|
|
22
22
|
...props
|
|
23
|
-
}: React.ComponentProps<typeof Switch$1.Root>):
|
|
23
|
+
}: React.ComponentProps<typeof Switch$1.Root>): react_jsx_runtime282.JSX.Element;
|
|
24
24
|
//#endregion
|
|
25
25
|
export { Switch };
|
|
26
26
|
//# sourceMappingURL=switch.d.cts.map
|
package/dist/ui/switch.d.mts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime270 from "react/jsx-runtime";
|
|
2
2
|
import { Switch as Switch$1 } from "radix-ui";
|
|
3
3
|
|
|
4
4
|
//#region packages/components/ui/switch.d.ts
|
|
@@ -20,7 +20,7 @@ import { Switch as Switch$1 } from "radix-ui";
|
|
|
20
20
|
declare function Switch({
|
|
21
21
|
className,
|
|
22
22
|
...props
|
|
23
|
-
}: React.ComponentProps<typeof Switch$1.Root>):
|
|
23
|
+
}: React.ComponentProps<typeof Switch$1.Root>): react_jsx_runtime270.JSX.Element;
|
|
24
24
|
//#endregion
|
|
25
25
|
export { Switch };
|
|
26
26
|
//# sourceMappingURL=switch.d.mts.map
|
package/dist/ui/table.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import * as
|
|
2
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime241 from "react/jsx-runtime";
|
|
2
|
+
import * as react16 from "react";
|
|
3
3
|
|
|
4
4
|
//#region packages/components/ui/table.d.ts
|
|
5
5
|
|
|
@@ -30,45 +30,45 @@ import * as react26 from "react";
|
|
|
30
30
|
* </Table>
|
|
31
31
|
* ```
|
|
32
32
|
*/
|
|
33
|
-
declare const Table:
|
|
33
|
+
declare const Table: react16.MemoExoticComponent<({
|
|
34
34
|
className,
|
|
35
35
|
...props
|
|
36
|
-
}: React.ComponentProps<"table">) =>
|
|
36
|
+
}: React.ComponentProps<"table">) => react_jsx_runtime241.JSX.Element>;
|
|
37
37
|
/** The `<thead>` element containing one or more header rows. */
|
|
38
|
-
declare const TableHeader:
|
|
38
|
+
declare const TableHeader: react16.MemoExoticComponent<({
|
|
39
39
|
className,
|
|
40
40
|
...props
|
|
41
|
-
}: React.ComponentProps<"thead">) =>
|
|
41
|
+
}: React.ComponentProps<"thead">) => react_jsx_runtime241.JSX.Element>;
|
|
42
42
|
/** The `<tbody>` element containing data rows with hover and selection styling. */
|
|
43
|
-
declare const TableBody:
|
|
43
|
+
declare const TableBody: react16.MemoExoticComponent<({
|
|
44
44
|
className,
|
|
45
45
|
...props
|
|
46
|
-
}: React.ComponentProps<"tbody">) =>
|
|
46
|
+
}: React.ComponentProps<"tbody">) => react_jsx_runtime241.JSX.Element>;
|
|
47
47
|
/** The `<tfoot>` element for summary or aggregate rows at the bottom of the table. */
|
|
48
|
-
declare const TableFooter:
|
|
48
|
+
declare const TableFooter: react16.MemoExoticComponent<({
|
|
49
49
|
className,
|
|
50
50
|
...props
|
|
51
|
-
}: React.ComponentProps<"tfoot">) =>
|
|
51
|
+
}: React.ComponentProps<"tfoot">) => react_jsx_runtime241.JSX.Element>;
|
|
52
52
|
/** A single `<tr>` row used inside TableHeader, TableBody, or TableFooter. */
|
|
53
|
-
declare const TableRow:
|
|
53
|
+
declare const TableRow: react16.MemoExoticComponent<({
|
|
54
54
|
className,
|
|
55
55
|
...props
|
|
56
|
-
}: React.ComponentProps<"tr">) =>
|
|
56
|
+
}: React.ComponentProps<"tr">) => react_jsx_runtime241.JSX.Element>;
|
|
57
57
|
/** A `<th>` column header cell with medium-weight text and left alignment. */
|
|
58
|
-
declare const TableHead:
|
|
58
|
+
declare const TableHead: react16.MemoExoticComponent<({
|
|
59
59
|
className,
|
|
60
60
|
...props
|
|
61
|
-
}: React.ComponentProps<"th">) =>
|
|
61
|
+
}: React.ComponentProps<"th">) => react_jsx_runtime241.JSX.Element>;
|
|
62
62
|
/** A standard `<td>` data cell used inside a TableRow. */
|
|
63
|
-
declare const TableCell:
|
|
63
|
+
declare const TableCell: react16.MemoExoticComponent<({
|
|
64
64
|
className,
|
|
65
65
|
...props
|
|
66
|
-
}: React.ComponentProps<"td">) =>
|
|
66
|
+
}: React.ComponentProps<"td">) => react_jsx_runtime241.JSX.Element>;
|
|
67
67
|
/** An accessible `<caption>` element displayed below the table. */
|
|
68
|
-
declare const TableCaption:
|
|
68
|
+
declare const TableCaption: react16.MemoExoticComponent<({
|
|
69
69
|
className,
|
|
70
70
|
...props
|
|
71
|
-
}: React.ComponentProps<"caption">) =>
|
|
71
|
+
}: React.ComponentProps<"caption">) => react_jsx_runtime241.JSX.Element>;
|
|
72
72
|
//#endregion
|
|
73
73
|
export { Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow };
|
|
74
74
|
//# sourceMappingURL=table.d.cts.map
|
package/dist/ui/table.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import * as
|
|
2
|
-
import * as
|
|
1
|
+
import * as react26 from "react";
|
|
2
|
+
import * as react_jsx_runtime202 from "react/jsx-runtime";
|
|
3
3
|
|
|
4
4
|
//#region packages/components/ui/table.d.ts
|
|
5
5
|
|
|
@@ -30,45 +30,45 @@ import * as react_jsx_runtime271 from "react/jsx-runtime";
|
|
|
30
30
|
* </Table>
|
|
31
31
|
* ```
|
|
32
32
|
*/
|
|
33
|
-
declare const Table:
|
|
33
|
+
declare const Table: react26.MemoExoticComponent<({
|
|
34
34
|
className,
|
|
35
35
|
...props
|
|
36
|
-
}: React.ComponentProps<"table">) =>
|
|
36
|
+
}: React.ComponentProps<"table">) => react_jsx_runtime202.JSX.Element>;
|
|
37
37
|
/** The `<thead>` element containing one or more header rows. */
|
|
38
|
-
declare const TableHeader:
|
|
38
|
+
declare const TableHeader: react26.MemoExoticComponent<({
|
|
39
39
|
className,
|
|
40
40
|
...props
|
|
41
|
-
}: React.ComponentProps<"thead">) =>
|
|
41
|
+
}: React.ComponentProps<"thead">) => react_jsx_runtime202.JSX.Element>;
|
|
42
42
|
/** The `<tbody>` element containing data rows with hover and selection styling. */
|
|
43
|
-
declare const TableBody:
|
|
43
|
+
declare const TableBody: react26.MemoExoticComponent<({
|
|
44
44
|
className,
|
|
45
45
|
...props
|
|
46
|
-
}: React.ComponentProps<"tbody">) =>
|
|
46
|
+
}: React.ComponentProps<"tbody">) => react_jsx_runtime202.JSX.Element>;
|
|
47
47
|
/** The `<tfoot>` element for summary or aggregate rows at the bottom of the table. */
|
|
48
|
-
declare const TableFooter:
|
|
48
|
+
declare const TableFooter: react26.MemoExoticComponent<({
|
|
49
49
|
className,
|
|
50
50
|
...props
|
|
51
|
-
}: React.ComponentProps<"tfoot">) =>
|
|
51
|
+
}: React.ComponentProps<"tfoot">) => react_jsx_runtime202.JSX.Element>;
|
|
52
52
|
/** A single `<tr>` row used inside TableHeader, TableBody, or TableFooter. */
|
|
53
|
-
declare const TableRow:
|
|
53
|
+
declare const TableRow: react26.MemoExoticComponent<({
|
|
54
54
|
className,
|
|
55
55
|
...props
|
|
56
|
-
}: React.ComponentProps<"tr">) =>
|
|
56
|
+
}: React.ComponentProps<"tr">) => react_jsx_runtime202.JSX.Element>;
|
|
57
57
|
/** A `<th>` column header cell with medium-weight text and left alignment. */
|
|
58
|
-
declare const TableHead:
|
|
58
|
+
declare const TableHead: react26.MemoExoticComponent<({
|
|
59
59
|
className,
|
|
60
60
|
...props
|
|
61
|
-
}: React.ComponentProps<"th">) =>
|
|
61
|
+
}: React.ComponentProps<"th">) => react_jsx_runtime202.JSX.Element>;
|
|
62
62
|
/** A standard `<td>` data cell used inside a TableRow. */
|
|
63
|
-
declare const TableCell:
|
|
63
|
+
declare const TableCell: react26.MemoExoticComponent<({
|
|
64
64
|
className,
|
|
65
65
|
...props
|
|
66
|
-
}: React.ComponentProps<"td">) =>
|
|
66
|
+
}: React.ComponentProps<"td">) => react_jsx_runtime202.JSX.Element>;
|
|
67
67
|
/** An accessible `<caption>` element displayed below the table. */
|
|
68
|
-
declare const TableCaption:
|
|
68
|
+
declare const TableCaption: react26.MemoExoticComponent<({
|
|
69
69
|
className,
|
|
70
70
|
...props
|
|
71
|
-
}: React.ComponentProps<"caption">) =>
|
|
71
|
+
}: React.ComponentProps<"caption">) => react_jsx_runtime202.JSX.Element>;
|
|
72
72
|
//#endregion
|
|
73
73
|
export { Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow };
|
|
74
74
|
//# sourceMappingURL=table.d.mts.map
|
package/dist/ui/tabs.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime181 from "react/jsx-runtime";
|
|
2
2
|
import { Tabs as Tabs$1 } from "radix-ui";
|
|
3
3
|
|
|
4
4
|
//#region packages/components/ui/tabs.d.ts
|
|
@@ -23,22 +23,22 @@ import { Tabs as Tabs$1 } from "radix-ui";
|
|
|
23
23
|
declare function Tabs({
|
|
24
24
|
className,
|
|
25
25
|
...props
|
|
26
|
-
}: React.ComponentProps<typeof Tabs$1.Root>):
|
|
26
|
+
}: React.ComponentProps<typeof Tabs$1.Root>): react_jsx_runtime181.JSX.Element;
|
|
27
27
|
/** Container that holds the row of `TabsTrigger` buttons with a muted background pill style. */
|
|
28
28
|
declare function TabsList({
|
|
29
29
|
className,
|
|
30
30
|
...props
|
|
31
|
-
}: React.ComponentProps<typeof Tabs$1.List>):
|
|
31
|
+
}: React.ComponentProps<typeof Tabs$1.List>): react_jsx_runtime181.JSX.Element;
|
|
32
32
|
/** Individual tab button that activates its associated `TabsContent` panel when clicked. */
|
|
33
33
|
declare function TabsTrigger({
|
|
34
34
|
className,
|
|
35
35
|
...props
|
|
36
|
-
}: React.ComponentProps<typeof Tabs$1.Trigger>):
|
|
36
|
+
}: React.ComponentProps<typeof Tabs$1.Trigger>): react_jsx_runtime181.JSX.Element;
|
|
37
37
|
/** Panel whose visibility is controlled by the active `TabsTrigger`; each panel must have a matching `value`. */
|
|
38
38
|
declare function TabsContent({
|
|
39
39
|
className,
|
|
40
40
|
...props
|
|
41
|
-
}: React.ComponentProps<typeof Tabs$1.Content>):
|
|
41
|
+
}: React.ComponentProps<typeof Tabs$1.Content>): react_jsx_runtime181.JSX.Element;
|
|
42
42
|
//#endregion
|
|
43
43
|
export { Tabs, TabsContent, TabsList, TabsTrigger };
|
|
44
44
|
//# sourceMappingURL=tabs.d.cts.map
|
package/dist/ui/tabs.d.mts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime255 from "react/jsx-runtime";
|
|
2
2
|
import { Tabs as Tabs$1 } from "radix-ui";
|
|
3
3
|
|
|
4
4
|
//#region packages/components/ui/tabs.d.ts
|
|
@@ -23,22 +23,22 @@ import { Tabs as Tabs$1 } from "radix-ui";
|
|
|
23
23
|
declare function Tabs({
|
|
24
24
|
className,
|
|
25
25
|
...props
|
|
26
|
-
}: React.ComponentProps<typeof Tabs$1.Root>):
|
|
26
|
+
}: React.ComponentProps<typeof Tabs$1.Root>): react_jsx_runtime255.JSX.Element;
|
|
27
27
|
/** Container that holds the row of `TabsTrigger` buttons with a muted background pill style. */
|
|
28
28
|
declare function TabsList({
|
|
29
29
|
className,
|
|
30
30
|
...props
|
|
31
|
-
}: React.ComponentProps<typeof Tabs$1.List>):
|
|
31
|
+
}: React.ComponentProps<typeof Tabs$1.List>): react_jsx_runtime255.JSX.Element;
|
|
32
32
|
/** Individual tab button that activates its associated `TabsContent` panel when clicked. */
|
|
33
33
|
declare function TabsTrigger({
|
|
34
34
|
className,
|
|
35
35
|
...props
|
|
36
|
-
}: React.ComponentProps<typeof Tabs$1.Trigger>):
|
|
36
|
+
}: React.ComponentProps<typeof Tabs$1.Trigger>): react_jsx_runtime255.JSX.Element;
|
|
37
37
|
/** Panel whose visibility is controlled by the active `TabsTrigger`; each panel must have a matching `value`. */
|
|
38
38
|
declare function TabsContent({
|
|
39
39
|
className,
|
|
40
40
|
...props
|
|
41
|
-
}: React.ComponentProps<typeof Tabs$1.Content>):
|
|
41
|
+
}: React.ComponentProps<typeof Tabs$1.Content>): react_jsx_runtime255.JSX.Element;
|
|
42
42
|
//#endregion
|
|
43
43
|
export { Tabs, TabsContent, TabsList, TabsTrigger };
|
|
44
44
|
//# sourceMappingURL=tabs.d.mts.map
|
package/dist/ui/textarea.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime249 from "react/jsx-runtime";
|
|
2
2
|
|
|
3
3
|
//#region packages/components/ui/textarea.d.ts
|
|
4
4
|
|
|
@@ -24,7 +24,7 @@ declare function Textarea({
|
|
|
24
24
|
}: React.ComponentProps<'textarea'> & {
|
|
25
25
|
/** Convenience callback that receives the raw string value on every change, bypassing the synthetic event. */
|
|
26
26
|
onValueChange?: (value: string) => void;
|
|
27
|
-
}):
|
|
27
|
+
}): react_jsx_runtime249.JSX.Element;
|
|
28
28
|
//#endregion
|
|
29
29
|
export { Textarea };
|
|
30
30
|
//# sourceMappingURL=textarea.d.cts.map
|
package/dist/ui/textarea.d.mts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime188 from "react/jsx-runtime";
|
|
2
2
|
|
|
3
3
|
//#region packages/components/ui/textarea.d.ts
|
|
4
4
|
|
|
@@ -24,7 +24,7 @@ declare function Textarea({
|
|
|
24
24
|
}: React.ComponentProps<'textarea'> & {
|
|
25
25
|
/** Convenience callback that receives the raw string value on every change, bypassing the synthetic event. */
|
|
26
26
|
onValueChange?: (value: string) => void;
|
|
27
|
-
}):
|
|
27
|
+
}): react_jsx_runtime188.JSX.Element;
|
|
28
28
|
//#endregion
|
|
29
29
|
export { Textarea };
|
|
30
30
|
//# sourceMappingURL=textarea.d.mts.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { toggleVariants } from "./toggle.cjs";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime275 from "react/jsx-runtime";
|
|
3
3
|
import { VariantProps } from "class-variance-authority";
|
|
4
4
|
import { ToggleGroup as ToggleGroup$1 } from "radix-ui";
|
|
5
5
|
|
|
@@ -25,7 +25,7 @@ declare function ToggleGroup({
|
|
|
25
25
|
size,
|
|
26
26
|
children,
|
|
27
27
|
...props
|
|
28
|
-
}: React.ComponentProps<typeof ToggleGroup$1.Root> & VariantProps<typeof toggleVariants>):
|
|
28
|
+
}: React.ComponentProps<typeof ToggleGroup$1.Root> & VariantProps<typeof toggleVariants>): react_jsx_runtime275.JSX.Element;
|
|
29
29
|
/** A single item/button within a ToggleGroup that inherits the group's variant and size. */
|
|
30
30
|
declare function ToggleGroupItem({
|
|
31
31
|
className,
|
|
@@ -33,7 +33,7 @@ declare function ToggleGroupItem({
|
|
|
33
33
|
variant,
|
|
34
34
|
size,
|
|
35
35
|
...props
|
|
36
|
-
}: React.ComponentProps<typeof ToggleGroup$1.Item> & VariantProps<typeof toggleVariants>):
|
|
36
|
+
}: React.ComponentProps<typeof ToggleGroup$1.Item> & VariantProps<typeof toggleVariants>): react_jsx_runtime275.JSX.Element;
|
|
37
37
|
//#endregion
|
|
38
38
|
export { ToggleGroup, ToggleGroupItem };
|
|
39
39
|
//# sourceMappingURL=toggle-group.d.cts.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { toggleVariants } from "./toggle.mjs";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime189 from "react/jsx-runtime";
|
|
3
3
|
import { VariantProps } from "class-variance-authority";
|
|
4
4
|
import { ToggleGroup as ToggleGroup$1 } from "radix-ui";
|
|
5
5
|
|
|
@@ -25,7 +25,7 @@ declare function ToggleGroup({
|
|
|
25
25
|
size,
|
|
26
26
|
children,
|
|
27
27
|
...props
|
|
28
|
-
}: React.ComponentProps<typeof ToggleGroup$1.Root> & VariantProps<typeof toggleVariants>):
|
|
28
|
+
}: React.ComponentProps<typeof ToggleGroup$1.Root> & VariantProps<typeof toggleVariants>): react_jsx_runtime189.JSX.Element;
|
|
29
29
|
/** A single item/button within a ToggleGroup that inherits the group's variant and size. */
|
|
30
30
|
declare function ToggleGroupItem({
|
|
31
31
|
className,
|
|
@@ -33,7 +33,7 @@ declare function ToggleGroupItem({
|
|
|
33
33
|
variant,
|
|
34
34
|
size,
|
|
35
35
|
...props
|
|
36
|
-
}: React.ComponentProps<typeof ToggleGroup$1.Item> & VariantProps<typeof toggleVariants>):
|
|
36
|
+
}: React.ComponentProps<typeof ToggleGroup$1.Item> & VariantProps<typeof toggleVariants>): react_jsx_runtime189.JSX.Element;
|
|
37
37
|
//#endregion
|
|
38
38
|
export { ToggleGroup, ToggleGroupItem };
|
|
39
39
|
//# sourceMappingURL=toggle-group.d.mts.map
|
package/dist/ui/toggle.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import * as
|
|
2
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime240 from "react/jsx-runtime";
|
|
2
|
+
import * as class_variance_authority_types12 from "class-variance-authority/types";
|
|
3
3
|
import { VariantProps } from "class-variance-authority";
|
|
4
4
|
import { Toggle as Toggle$1 } from "radix-ui";
|
|
5
5
|
|
|
@@ -7,7 +7,7 @@ import { Toggle as Toggle$1 } from "radix-ui";
|
|
|
7
7
|
declare const toggleVariants: (props?: ({
|
|
8
8
|
variant?: "default" | "outline" | null | undefined;
|
|
9
9
|
size?: "sm" | "lg" | "default" | null | undefined;
|
|
10
|
-
} &
|
|
10
|
+
} & class_variance_authority_types12.ClassProp) | undefined) => string;
|
|
11
11
|
/**
|
|
12
12
|
* A two-state button that switches between pressed (`on`) and unpressed (`off`).
|
|
13
13
|
*
|
|
@@ -26,7 +26,7 @@ declare function Toggle({
|
|
|
26
26
|
variant,
|
|
27
27
|
size,
|
|
28
28
|
...props
|
|
29
|
-
}: React.ComponentProps<typeof Toggle$1.Root> & VariantProps<typeof toggleVariants>):
|
|
29
|
+
}: React.ComponentProps<typeof Toggle$1.Root> & VariantProps<typeof toggleVariants>): react_jsx_runtime240.JSX.Element;
|
|
30
30
|
//#endregion
|
|
31
31
|
export { Toggle, toggleVariants };
|
|
32
32
|
//# sourceMappingURL=toggle.d.cts.map
|
package/dist/ui/toggle.d.mts
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime259 from "react/jsx-runtime";
|
|
2
2
|
import { VariantProps } from "class-variance-authority";
|
|
3
3
|
import { Toggle as Toggle$1 } from "radix-ui";
|
|
4
|
-
import * as
|
|
4
|
+
import * as class_variance_authority_types11 from "class-variance-authority/types";
|
|
5
5
|
|
|
6
6
|
//#region packages/components/ui/toggle.d.ts
|
|
7
7
|
declare const toggleVariants: (props?: ({
|
|
8
8
|
variant?: "default" | "outline" | null | undefined;
|
|
9
9
|
size?: "sm" | "lg" | "default" | null | undefined;
|
|
10
|
-
} &
|
|
10
|
+
} & class_variance_authority_types11.ClassProp) | undefined) => string;
|
|
11
11
|
/**
|
|
12
12
|
* A two-state button that switches between pressed (`on`) and unpressed (`off`).
|
|
13
13
|
*
|
|
@@ -26,7 +26,7 @@ declare function Toggle({
|
|
|
26
26
|
variant,
|
|
27
27
|
size,
|
|
28
28
|
...props
|
|
29
|
-
}: React.ComponentProps<typeof Toggle$1.Root> & VariantProps<typeof toggleVariants>):
|
|
29
|
+
}: React.ComponentProps<typeof Toggle$1.Root> & VariantProps<typeof toggleVariants>): react_jsx_runtime259.JSX.Element;
|
|
30
30
|
//#endregion
|
|
31
31
|
export { Toggle, toggleVariants };
|
|
32
32
|
//# sourceMappingURL=toggle.d.mts.map
|
package/dist/ui/tooltip.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime277 from "react/jsx-runtime";
|
|
2
2
|
import { Tooltip as Tooltip$1 } from "radix-ui";
|
|
3
3
|
|
|
4
4
|
//#region packages/components/ui/tooltip.d.ts
|
|
@@ -19,7 +19,7 @@ import { Tooltip as Tooltip$1 } from "radix-ui";
|
|
|
19
19
|
declare function TooltipProvider({
|
|
20
20
|
delayDuration,
|
|
21
21
|
...props
|
|
22
|
-
}: React.ComponentProps<typeof Tooltip$1.Provider>):
|
|
22
|
+
}: React.ComponentProps<typeof Tooltip$1.Provider>): react_jsx_runtime277.JSX.Element;
|
|
23
23
|
/**
|
|
24
24
|
* Floating label that reveals supplementary text when the user hovers or focuses its trigger element.
|
|
25
25
|
*
|
|
@@ -38,18 +38,18 @@ declare function TooltipProvider({
|
|
|
38
38
|
*/
|
|
39
39
|
declare function Tooltip({
|
|
40
40
|
...props
|
|
41
|
-
}: React.ComponentProps<typeof Tooltip$1.Root>):
|
|
41
|
+
}: React.ComponentProps<typeof Tooltip$1.Root>): react_jsx_runtime277.JSX.Element;
|
|
42
42
|
/** Element that opens the tooltip on hover/focus; use `asChild` to forward props to a custom child element. */
|
|
43
43
|
declare function TooltipTrigger({
|
|
44
44
|
...props
|
|
45
|
-
}: React.ComponentProps<typeof Tooltip$1.Trigger>):
|
|
45
|
+
}: React.ComponentProps<typeof Tooltip$1.Trigger>): react_jsx_runtime277.JSX.Element;
|
|
46
46
|
/** Floating panel rendered in a portal that displays the tooltip text with a directional arrow. */
|
|
47
47
|
declare function TooltipContent({
|
|
48
48
|
className,
|
|
49
49
|
sideOffset,
|
|
50
50
|
children,
|
|
51
51
|
...props
|
|
52
|
-
}: React.ComponentProps<typeof Tooltip$1.Content>):
|
|
52
|
+
}: React.ComponentProps<typeof Tooltip$1.Content>): react_jsx_runtime277.JSX.Element;
|
|
53
53
|
//#endregion
|
|
54
54
|
export { Tooltip, TooltipContent, TooltipProvider, TooltipTrigger };
|
|
55
55
|
//# sourceMappingURL=tooltip.d.cts.map
|
package/dist/ui/tooltip.d.mts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime260 from "react/jsx-runtime";
|
|
2
2
|
import { Tooltip as Tooltip$1 } from "radix-ui";
|
|
3
3
|
|
|
4
4
|
//#region packages/components/ui/tooltip.d.ts
|
|
@@ -19,7 +19,7 @@ import { Tooltip as Tooltip$1 } from "radix-ui";
|
|
|
19
19
|
declare function TooltipProvider({
|
|
20
20
|
delayDuration,
|
|
21
21
|
...props
|
|
22
|
-
}: React.ComponentProps<typeof Tooltip$1.Provider>):
|
|
22
|
+
}: React.ComponentProps<typeof Tooltip$1.Provider>): react_jsx_runtime260.JSX.Element;
|
|
23
23
|
/**
|
|
24
24
|
* Floating label that reveals supplementary text when the user hovers or focuses its trigger element.
|
|
25
25
|
*
|
|
@@ -38,18 +38,18 @@ declare function TooltipProvider({
|
|
|
38
38
|
*/
|
|
39
39
|
declare function Tooltip({
|
|
40
40
|
...props
|
|
41
|
-
}: React.ComponentProps<typeof Tooltip$1.Root>):
|
|
41
|
+
}: React.ComponentProps<typeof Tooltip$1.Root>): react_jsx_runtime260.JSX.Element;
|
|
42
42
|
/** Element that opens the tooltip on hover/focus; use `asChild` to forward props to a custom child element. */
|
|
43
43
|
declare function TooltipTrigger({
|
|
44
44
|
...props
|
|
45
|
-
}: React.ComponentProps<typeof Tooltip$1.Trigger>):
|
|
45
|
+
}: React.ComponentProps<typeof Tooltip$1.Trigger>): react_jsx_runtime260.JSX.Element;
|
|
46
46
|
/** Floating panel rendered in a portal that displays the tooltip text with a directional arrow. */
|
|
47
47
|
declare function TooltipContent({
|
|
48
48
|
className,
|
|
49
49
|
sideOffset,
|
|
50
50
|
children,
|
|
51
51
|
...props
|
|
52
|
-
}: React.ComponentProps<typeof Tooltip$1.Content>):
|
|
52
|
+
}: React.ComponentProps<typeof Tooltip$1.Content>): react_jsx_runtime260.JSX.Element;
|
|
53
53
|
//#endregion
|
|
54
54
|
export { Tooltip, TooltipContent, TooltipProvider, TooltipTrigger };
|
|
55
55
|
//# sourceMappingURL=tooltip.d.mts.map
|
package/package.json
CHANGED
package/dist/tables-BMQmwJqT.mjs
DELETED
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import{t as e}from"./button-C6ybzxxj.mjs";import{t}from"./paragraph-Ch5TvEqL.mjs";import{t as n}from"./flex-BLMTj7Ev.mjs";import{t as r}from"./date-CVz9xdCg.mjs";import{t as i}from"./badge-B8bw2UEY.mjs";import{i as a,n as o,r as s,t as c}from"./tooltip-Bj0iOG4s.mjs";import{n as l,t as u}from"./avatar-DbxqvCjT.mjs";import{t as d}from"./separator-BMsbHAVt.mjs";import{a as f,d as p,h as m,i as h,r as g,t as _}from"./dropdown-menu-DWSfXhHo.mjs";import{t as v}from"./progress-0cpDwgAJ.mjs";import{t as y}from"./checkbox-Dzo6oI4y.mjs";import{t as ee}from"./spinner-B3F9W53l.mjs";import{n as b,r as te,t as x}from"./resizable-C2Zl-iLF.mjs";import{t as S}from"./input-6f9JTc79.mjs";import{a as C,i as ne,t as re}from"./popover-OJXFbqJi.mjs";import{c as w,i as T,n as E,s as ie,t as ae}from"./select-DrHceSnf.mjs";import{t as oe}from"./label-COqDQDMy.mjs";import{AlertTriangle as D,ArrowRightIcon as O,BoxIcon as se,CalendarIcon as k,CheckIcon as A,ChevronDown as j,CirclePlus as ce,Columns4Icon as M,CopyIcon as N,DownloadIcon as le,EllipsisVerticalIcon as P,ExternalLinkIcon as F,HashIcon as I,ListFilterIcon as ue,ListFilterPlus as de,MailIcon as fe,MinusIcon as pe,MoreVerticalIcon as me,MoveLeftIcon as he,MoveRightIcon as ge,PinOffIcon as _e,RefreshCwIcon as ve,SearchIcon as ye,TagIcon as be,ToggleLeftIcon as xe,Trash2Icon as Se,TypeIcon as Ce,UserRoundIcon as we,XIcon as Te}from"lucide-react";import{Activity as L,createContext as R,memo as z,use as B,useCallback as V,useEffect as H,useId as Ee,useMemo as U,useRef as W,useState as G}from"react";import{Fragment as De,jsx as K,jsxs as q}from"react/jsx-runtime";import{cn as J}from"@customafk/react-toolkit/utils";import{cva as Y}from"class-variance-authority";import{colorHashLight as Oe}from"@customafk/react-toolkit/color-hash";import{flexRender as X,getCoreRowModel as ke,getExpandedRowModel as Ae,getGroupedRowModel as je,useReactTable as Me}from"@tanstack/react-table";import{useVirtualizer as Ne}from"@tanstack/react-virtual";import{useDebounceCallback as Pe}from"@customafk/react-toolkit/hooks/useDebounceCallback";const Z=()=>q(`div`,{className:`flex gap-0 text-text-positive-weak`,children:[K(pe,{size:16}),K(pe,{size:16})]}),Fe=({label:e,onClick:t,onRemove:n})=>e?n?q(`div`,{className:`flex w-fit gap-x-0.5 rounded-full border border-border py-1 pr-2 pl-3 text-text-positive text-xs shadow-xs`,onClick:e=>{t?.(),e.stopPropagation(),e.preventDefault()},children:[e,K(`button`,{className:`cursor-pointer text-text-positive-weak hover:text-text-positive-strong`,onClick:e=>{n?.(),e.stopPropagation(),e.preventDefault()},children:K(Te,{size:12})})]}):K(`button`,{className:`w-fit rounded-full border border-border px-3 py-1 text-text-positive text-xs shadow-xs`,onClick:e=>{t?.(),e.stopPropagation(),e.preventDefault()},children:e}):K(Z,{}),Ie=({value:e})=>e==null?K(Z,{}):e===!1?K(`div`,{className:`text-danger-strong`,children:K(Te,{})}):K(`div`,{className:`text-success-strong`,children:K(A,{})}),Le=z(({value:e,currency:t=`USD`,locale:n=`en-US`,display:r=`symbol`,size:i=`md`,colorize:a=!1})=>{let o=U(()=>{let i=typeof e==`string`?Number(e.trim()):e;return i==null||Number.isNaN(i)||!Number.isFinite(i)?null:new Intl.NumberFormat(n,{style:`currency`,currency:t,currencyDisplay:r,minimumFractionDigits:2,maximumFractionDigits:2}).format(i)},[e,t,n,r]),s=U(()=>{let t=typeof e==`string`?Number(e.trim()):e;return typeof t==`number`&&t<0},[e]);return o?K(`p`,{className:J(`font-number tabular-nums`,i===`xs`&&`text-xs`,i===`sm`&&`text-sm`,i===`md`&&`text-base`,i===`lg`&&`text-lg`,i===`xl`&&`text-xl`,!a&&`text-text-positive`,a&&s&&`text-danger-strong`,a&&!s&&`text-success-strong`),children:o}):K(Z,{})});Le.displayName=`UITableCurrencyDisplay`;const Re=({date:e})=>e==null?K(Z,{}):K(s,{children:q(c,{children:[K(a,{asChild:!0,children:K(i,{className:`h-fit`,children:K(r,{date:e,format:`medium`,className:`font-normal text-white`})})}),K(o,{className:`rounded px-2`,children:K(r,{date:e,format:`full`,showTime:!0,className:`font-medium text-text-negative text-xs`})})]})}),ze=({content:e})=>e==null?K(Z,{}):q(c,{children:[K(a,{children:K(t,{variant:`sm`,className:`line-clamp-2 whitespace-pre-line break-all`,children:e})}),K(o,{align:`start`,className:`h-fit min-w-48 max-w-80 pt-4`,children:q(`div`,{className:`flex flex-col gap-y-2`,children:[K(t,{variant:`xs`,className:`whitespace-pre-line text-wrap break-keep text-text-negative-weak`,children:e}),q(`p`,{className:`w-full text-end`,children:[e.toString().length,` chars`]})]})})]}),Be=({email:e,linkable:t=!0})=>{let[n,r]=G(!1);return e?K(s,{children:q(`div`,{className:`group flex items-center gap-x-1.5`,children:[K(fe,{size:13,className:`shrink-0 text-text-positive-weak`}),t?K(`a`,{href:`mailto:${e}`,className:`truncate text-primary text-sm underline-offset-2 hover:underline`,onClick:e=>e.stopPropagation(),children:e}):K(`span`,{className:`truncate text-text-positive text-sm`,children:e}),q(c,{children:[K(a,{asChild:!0,children:K(`button`,{onClick:t=>{t.stopPropagation(),t.preventDefault(),navigator.clipboard.writeText(e).then(()=>{r(!0),setTimeout(()=>r(!1),1500)})},className:`shrink-0 cursor-pointer text-text-positive-weak opacity-0 transition-opacity group-hover:opacity-100 hover:text-text-positive`,children:n?K(A,{size:13,className:`text-success-strong`}):K(N,{size:13})})}),K(o,{children:n?`Copied!`:`Copy email`})]})]})}):K(Z,{})},Ve=({items:e,maxVisible:t=3})=>{if(!e||e.length===0)return K(Z,{});let n=e.slice(0,t),r=e.slice(t);return q(`div`,{className:`flex flex-wrap gap-1`,children:[n.map((e,t)=>K(`span`,{className:`inline-flex items-center rounded-full border border-border bg-muted-weak px-2 py-0.5 text-text-positive text-xs`,children:e},t)),r.length>0&&K(s,{children:q(c,{children:[K(a,{asChild:!0,children:q(`span`,{className:`inline-flex cursor-default items-center rounded-full bg-primary-bg-subtle px-2 py-0.5 text-primary-intense text-xs`,children:[`+`,r.length,` more`]})}),K(o,{align:`start`,className:`flex max-w-64 flex-wrap gap-1 p-2`,children:r.map((e,t)=>K(`span`,{className:`inline-flex items-center rounded-full border border-border px-2 py-0.5 text-text-negative text-xs`,children:e},t))})]})})]})},He=({items:t=[]})=>q(_,{children:[K(m,{asChild:!0,children:K(e,{size:`sm`,variant:`ghost`,color:`secondary`,className:`size-9 rounded-full`,children:K(me,{})})}),K(g,{children:K(h,{children:t.map(e=>K(f,{className:`px-3`,onSelect:t=>{e.onClick(e.id),t.stopPropagation()},children:e.label},e.id))})})]}),Ue=({name:e})=>e?q(c,{children:[K(a,{children:K(t,{variant:`sm`,className:`line-clamp-2 w-full truncate text-wrap pb-px text-start`,children:e})}),K(o,{align:`start`,className:`h-fit min-w-48 max-w-80 pt-4`,children:q(`div`,{className:`flex flex-col gap-y-2`,children:[K(`p`,{className:`whitespace-pre-line text-wrap break-keep`,children:e}),q(`p`,{className:`w-full text-end`,children:[e.length,` chars`]})]})})]}):K(Z,{}),We=({href:e,label:t})=>q(`a`,{href:e,target:`_blank`,className:`inline-flex items-center gap-1 truncate text-primary text-sm underline`,rel:`noopener noreferrer`,children:[K(`span`,{children:t||e}),K(F,{size:14})]}),Ge=({value:e})=>q(c,{children:[K(a,{asChild:!0,children:K(`p`,{className:`font-number text-text-positive text-sm tabular-nums`,children:e.replace(/(\d{3})(\d{3})(\d{4})/,`($1) $2-$3`)})}),K(o,{align:`start`,children:K(`p`,{className:`tabular-nums`,children:e.slice(1).replace(/(\d{2})(\d{3})(\d{4})/,`(00) (+84) ($1) $2-$3`)})})]}),Ke=z(({value:e,showLabel:t=!0,successThreshold:n=70,warningThreshold:r=40})=>{if(e==null)return K(Z,{});let i=Math.min(100,Math.max(0,e));return q(`div`,{className:`flex w-full min-w-24 items-center gap-x-2`,children:[K(v,{value:i,className:J(`flex-1`,i>=n?`[&>[data-slot=progress-indicator]]:bg-success`:i>=r?`[&>[data-slot=progress-indicator]]:bg-warning`:`[&>[data-slot=progress-indicator]]:bg-danger`)}),t&&q(`span`,{className:`w-9 shrink-0 text-right font-number text-text-positive-weak text-xs tabular-nums`,children:[i,`%`]})]})});Ke.displayName=`UITableProgressDisplay`;const qe=({title:t,onClick:n})=>q(c,{children:[K(a,{children:K(e,{type:`button`,variant:`ghost`,color:`danger`,size:`icon`,onClick:V(async e=>{e.preventDefault(),e.stopPropagation(),await n?.()},[n]),children:K(Se,{})})}),K(o,{children:K(`p`,{children:t||`Remove item from list table`})})]}),Je=(e,t,n)=>{let r=10**t;switch(n){case`floor`:return Math.floor(e*r)/r;case`ceil`:return Math.ceil(e*r)/r;default:return Math.round(e*r)/r}},Ye=z(({decimalSeparator:e=`.`,groupSeparator:t=`,`,prefix:r,suffix:i,precision:a,roundingMode:o=`round`,showTrailingZeros:s=!1,size:c=`lg`,value:l=0})=>{let u=U(()=>{let e={};return typeof a==`number`&&a>=0&&s&&(e.minimumFractionDigits=a),e.maximumFractionDigits=a,e},[a,s]),d=V(e=>{let t=e;return typeof a==`number`&&a>=0&&(t=Je(e,a,o)),t.toLocaleString(`en-US`,u)},[o,u,a]),f=U(()=>{if(typeof l==`number`)return Number.isNaN(l)||!Number.isFinite(l)?`N/A`:d(l);if(typeof l==`string`){let e=l.trim();if(!e)return`N/A`;let t=Number(e);return Number.isNaN(t)||!Number.isFinite(t)?`N/A`:d(t)}return`N/A`},[l,d]),p=U(()=>e===`.`&&t===`,`?f:f.replace(/,/g,t).replace(/\./g,e),[f,e,t]);return p===`0`||p===`N/A`||!p?K(Z,{}):q(n,{padding:`none`,className:J(`font-number text-lg text-text-positive tabular-nums`,c===`xs`&&`text-xs`,c===`sm`&&`text-sm`,c===`md`&&`text-base`,c===`lg`&&`text-lg`,c===`xl`&&`text-xl`),children:[r,K(`p`,{children:p}),i]})});Ye.displayName=`UITableStatisticDisplay`;const Xe=({value:e,colorMap:t,defaultColor:n=`muted`,variant:r=`soft`})=>e==null||e===``?K(Z,{}):K(i,{variant:r,color:(t&&t[e])??n,className:`min-w-16 justify-center capitalize`,children:e.charAt(0).toUpperCase()+e.slice(1).replace(/_/g,` `)}),Ze=({uuid:e,username:r,email:i})=>q(n,{wrap:!1,gap:`sm`,padding:`none`,children:[!e&&K(u,{className:`size-10 shadow-card`,children:K(l,{className:`bg-muted-weak`,children:K(we,{size:28,className:`text-text-negative`})})}),e&&K(u,{className:`size-10 shadow-card`,children:K(l,{style:{backgroundColor:Oe.hex(e)},children:K(we,{size:28,className:`text-white`})})}),q(n,{vertical:!0,padding:`none`,gap:`none`,align:`start`,children:[K(t,{className:`font-medium text-sm text-text-positive-weak`,children:r??`Unknown User`}),K(t,{variant:`sm`,className:`mt-0! text-text-positive-weak text-xs`,children:i})]})]}),Qe=R(null),$e=()=>{let e=B(Qe);if(!e)throw Error(`useTableInnerWrapperContext must be used within a TableInnerWrapperProvider`);return e},et=R(null),tt=()=>{let e=B(et);if(!e)throw Error(`useTableInnerTableContext must be used within a TableInnerTableProvider`);return e},nt=R(null),rt=()=>{let e=B(nt);if(!e)throw Error(`useTableHeaderRowContext must be used within a TableHeaderRowProvider`);return e},it=R(null),at=()=>{let e=B(it);if(!e)throw Error(`useTableBodyContext must be used within a TableBodyProvider`);return e},ot=R(null),st=()=>{let e=B(ot);if(!e)throw Error(`useTableRowContext must be used within a TableRowProvider`);return e},ct=R(null),Q=()=>{let e=B(ct);if(!e)throw Error(`useTableContext must be used within a TableProvider`);return e},lt=R(null),ut=()=>{let e=B(lt);if(!e)throw Error(`useUITableFilterContext must be used within a UITableProvider`);return e},dt=Y([`absolute right-2 z-10 p-0.5 opacity-0 bg-card`,`cursor-pointer rounded-full transition-all`,`text-text-positive-weak`,`[&>svg]:size-4`,`group-hover:opacity-100`,`hover:bg-muted-muted hover:text-text-positive`]),ft=Y([`sticky left-0 flex flex-1 items-center justify-center bg-transparent text-text-positive-weak opacity-100`]),pt=Y([`relative m-0 flex size-full flex-col flex-nowrap items-start justify-start gap-2`]),mt=Y([`relative size-full overflow-auto border-b border-b-border border-l border-l-border bg-card`]),ht=Y([`grid w-full table-fixed caption-bottom border-collapse border-spacing-0 flex-col content-start [&_tfoot_td]:border-t`]),gt=Y([`sticky top-0 z-20 h-9 w-full`,`grid select-none bg-muted-bg-subtle`,`border-b border-b-border shadow`,`font-medium text-[13px] text-text-positive-weak`,`[&_tr:not(:last-child)_td]:border-b`,`[&_th]:inline-flex`,`[&_th]:items-center`,`[&_th]:transition-all`,`[&_th]:duration-300`,`[&_th]:whitespace-nowrap`,`[&_th]:border-border`,`[&_th]:border-r`,`[&_th]:last:border-r-0`,`[&_th]:first:border-l-0`,`[&_tr_th:not([data-pinned=false])]:bg-muted-bg-subtle`]),_t=Y([`flex`]),vt=Y([`group flex`],{variants:{isPinned:{left:`sticky`,right:`sticky`,false:`relative`},isActions:{true:`border-r-0!`,false:``},isLastCell:{true:``,false:``},isFirstCell:{true:``,false:``},position:{start:`justify-start`,center:`justify-center`,end:`justify-end`}},compoundVariants:[{isPinned:`left`,isLastCell:void 0,className:`border-r border-r-border`},{isPinned:`right`,isFirstCell:void 0,className:`border-l border-l-border`}]}),yt=Y(`relative w-full,grid,[&_tr]:absolute,[&_tr]:flex,[&_tr]:flex-none,[&_tr]:w-full,[&_tr]:cursor-pointer [&_tr]:focus:outline-none,[&_tr]:border-b [&_tr]:border-b-border,[&_td]:z-10,[&_td]:transition-all,[&_td]:duration-300,[&_td]:flex,[&_td]:flex-none,[&_td]:overflow-hidden,[&_td]:whitespace-nowrap,[&_td]:px-4,[&_td]:py-2.5,[&_td]:align-middle,[&_td]:border-border,[&_td]:data-[selected=true]:bg-muted-muted!,[&_td]:data-[selected=true]:hover:bg-muted-muted!,[&_td>div]:inline-flex,[&_td>div]:items-center,[&_td>div]:w-full,[&_td:not([data-pinned=false])]:z-20,[&_td:not([data-pinned=false])]:sticky,[&_td:not([data-pinned=false])]:bg-card`.split(`,`)),bt=Y([`group [&_td]:border-r [&_td]:border-r-border [&_td]:last:border-r-0`]),xt=Y([`group-hover:bg-muted-bg-subtle!`],{variants:{isPinned:{left:`sticky`,right:`sticky`,false:`relative`}},defaultVariants:{isPinned:void 0}}),St=Y([`sticky border-r-0! inset-y-0 right-0 z-50 flex items-center pr-4 group-hover:bg-muted-bg-subtle!`]),Ct=Y([`group-hover:bg-muted-bg-subtle!`],{variants:{isPinned:{left:``,right:``,false:``},isLastCell:{true:``,false:``},isFirstCell:{true:``,false:``}},compoundVariants:[{isPinned:`left`,isLastCell:void 0,className:`border-r border-r-border`},{isPinned:`right`,isFirstCell:void 0,className:`border-l border-l-border`}]}),wt=Y([`overflow-x-hidden`],{variants:{position:{start:`justify-start`,center:`justify-center`,end:`justify-end`}},defaultVariants:{position:`start`}}),Tt=Y([`flex w-full justify-center border-border-weak border-t py-2 font-medium [&>tr]:last:border-b-0`]),Et=Y([`flex cursor-pointer gap-x-0.5`],{variants:{state:{idle:`text-text-positive-weak hover:text-text-positive`,fetching:`cursor-not-allowed`,error:`text-danger hover:text-danger-strong`}},defaultVariants:{state:`idle`}}),Dt=z(({height:e,className:t,children:n,...r})=>{let{isFetching:i,isRefetching:a,isEmpty:o}=at();return o||i||a?null:K(`tbody`,{slot:`table-body`,style:{height:e},className:J(yt(),t),...r,children:n})});Dt.displayName=`UITableBody`;const Ot=z(({isPinned:e=!1,isFirstCell:t=!1,isLastCell:n=!1,colId:r,position:i=`start`,column:a,getContext:o,...s})=>{let{innerTableId:c,table:l}=tt(),u=W(null),d=W(null),f=U(()=>{let t=a?.getStart(`left`);return e===`left`&&typeof t==`number`?`${t}px`:void 0},[e,a]),p=U(()=>{let t=a?.getAfter(`right`);return e===`right`&&typeof t==`number`?`${t}px`:void 0},[e,a]),m=U(()=>`calc(var(--col-${r}-size) * 1px)`,[r]),h=U(()=>a?.columnDef.minSize?`calc(var(--col-${r}-minSize) * 1px)`:void 0,[r,a]),g=U(()=>a?.columnDef.maxSize?`calc(var(--col-${r}-maxSize) * 1px)`:void 0,[r,a]),_=U(()=>X(a?.columnDef.cell,o()),[a,o]);return H(()=>{u.current=document.querySelector(`table[id="${c}"]`)},[c]),H(()=>{if(!d.current)return;let e=d.current.scrollWidth,t=a?.getSize();t!=null&&e>t&&u.current instanceof HTMLTableElement&&typeof r==`string`&&a?.columnDef.meta?.fitContent&&l.setColumnSizing(t=>({...t,[r]:e+32}))},[r,a,l]),K(`td`,{slot:`table-body-cell`,"data-pinned":e,"data-lastcell":n||void 0,"data-firstcell":t||void 0,style:{left:f,right:p,width:m,minWidth:h,maxWidth:g},className:Ct({isPinned:e||void 0,isLastCell:n,isFirstCell:t}),...s,children:K(`div`,{ref:d,slot:`table-body-cell-inner`,className:wt({position:i}),children:_})})});Ot.displayName=`UITableCell`;const kt=z(({virtualRowIndex:e,column:t,getContext:n,className:r,...i})=>{let a=U(()=>X(t?.columnDef.cell,n()),[t,n]);return K(`td`,{"data-col":`actions`,"data-cell":e,className:St(),...i,children:a})});kt.displayName=`UITableCellActions`;const $=z(({isPinned:e,isSelected:t=!1,className:n,onToggleRowSelected:r,...i})=>{let a=V(e=>{r?.(!!e)},[r]);return K(`td`,{slot:`table-body-cell`,"data-pinned":!0,style:{left:0,zIndex:20,width:60,maxWidth:60},className:J(xt({isPinned:e}),n),...i,children:K(`div`,{"data-slot":`table-cell-inner`,className:`flex! w-full! items-center justify-center bg-transparent text-center align-middle`,onClick:e=>{e.preventDefault(),e.stopPropagation()},children:K(y,{"aria-label":`Select Row`,checked:t,onCheckedChange:a})})})});$.displayName=`UITableCellSelect`;const At=z(()=>{let{table:e,isEmpty:t,loadingDisplayRow:n=3}=Q();return t?null:K(`tbody`,{className:J(yt(),`pointer-events-none`),children:Array.from({length:n}).map((t,n)=>K(`tr`,{"data-slot":`table-row`,"data-index":n,className:J(bt(),`animate-pulse relative!`),children:e.getAllColumns().map((t,r)=>{let i=t.getIsPinned(),a=t.getStart(`left`),o=t.getAfter(`right`);return t.id===`actions`?K(`td`,{"data-slot":`table-body-cell`,"data-col":t.id,"data-cell":r,style:{width:60},className:St(),children:K(`div`,{className:`w-full h-4 bg-muted-muted rounded-full`})},`${t.id}-${r}`):t.id===`select`?K(`td`,{"data-slot":`table-body-cell`,"data-col":t.id,"data-cell":r,"data-pinned":!0,style:{left:0,zIndex:20,width:60,maxWidth:60},className:xt({isPinned:`left`}),children:K(`div`,{className:`w-full flex justify-center`,children:K(`div`,{className:`size-4 bg-muted-muted rounded-full`})})},`${t.id}-${n}`):K(`td`,{"data-col":t.id,"data-cell":r,"data-selected":void 0,"data-lastcell":t.id===e.getAllColumns()[e.getAllColumns().length-1].id||void 0,"data-firstcell":t.id===e.getAllColumns()[0].id||void 0,style:{zIndex:i?20:0,left:i===`left`&&typeof a==`number`?`${a}px`:void 0,right:i===`right`&&typeof o==`number`?`${o}px`:void 0,width:`calc(var(--col-${t.id}-size) * 1px)`,minWidth:t.columnDef.minSize?`calc(var(--col-${t.id}-minSize) * 1px)`:void 0,maxWidth:t.columnDef.maxSize?`calc(var(--col-${t.id}-maxSize) * 1px)`:void 0},className:Ct({isPinned:t.getIsPinned(),isFirstCell:t.id===e.getRightHeaderGroups()[0]?.headers[0]?.id,isLastCell:t.id===e.getLeftHeaderGroups()[0]?.headers[e.getLeftHeaderGroups()[0].headers.length-1]?.id}),children:K(`div`,{className:wt({position:t.columnDef.meta?.position??`start`}),children:K(`div`,{className:`w-full h-4 bg-muted-muted rounded-full`})})},`${t.id}-${r}`)})},n))})}),jt=z(()=>{let{isEmpty:e,emptyDisplayHeight:t}=Q();return e?K(De,{children:e&&K(`div`,{className:ft(),style:{minHeight:t??`24rem`},children:q(`div`,{className:`flex flex-col items-center gap-1`,children:[K(se,{strokeWidth:1,size:48}),K(`p`,{children:`No data available`})]})})}):null});jt.displayName=`UITableEmptyDisplay`;const Mt=z(({className:e,children:t,...n})=>K(`tfoot`,{slot:`table-footer`,className:J(Tt(),e),...n,children:t}));Mt.displayName=`UITableFooter`;const Nt=z(({className:e,children:t,...n})=>K(`thead`,{slot:`table-head`,className:J(gt(),e),...n,children:t}));Nt.displayName=`UITableHead`;const Pt=z(({isPinned:e,onLeftPin:t,onRightPin:n,onUnpin:r,className:i})=>{let a=V(()=>{t?.(`left`)},[t]),o=V(()=>{n?.(`right`)},[n]),s=V(()=>{r?.(!1)},[r]);return q(_,{children:[K(m,{asChild:!0,children:K(`button`,{type:`button`,className:J(dt(),i),children:K(P,{})})}),K(g,{align:`end`,className:`w-64 p-4`,children:q(h,{className:`*:data-[slot=dropdown-menu-item]:rounded-xs *:data-[slot=dropdown-menu-item]:p-2`,children:[K(L,{mode:e?`visible`:`hidden`,children:q(f,{onClick:s,children:[!!e&&`Unpin`,K(p,{children:K(_e,{className:`size-4`})})]})}),q(L,{mode:e?`hidden`:`visible`,children:[q(f,{onClick:a,children:[e?`Unpin`:`Pin to Left`,K(p,{children:K(he,{className:`size-4`})})]}),q(f,{onClick:o,children:[e?`Unpin`:`Pin to Right`,K(p,{children:K(ge,{className:`size-4`})})]})]})]})})]})});Pt.displayName=`UITableHeadCellOption`;const Ft=z(({isVisible:e=!0,isPinned:t=!1,isFirstCell:n=!1,isLastCell:r=!1,isOptionsVisible:i=!0,headerId:a,headerColumn:o,className:s,children:c,onColumnPin:l,onToggleVisibility:u,...d})=>{let f=o?.columnDef.meta?.position,p=U(()=>t?20:void 0,[t]),m=U(()=>{let e=o?.getStart?.(`left`);return t===`left`&&typeof e==`number`?`${e}px`:void 0},[t,o]),h=U(()=>{let e=o?.getAfter?.(`right`);return t===`right`&&typeof e==`number`?`${e}px`:void 0},[t,o]),g=U(()=>`calc(var(--header-${a}-size) * 1px)`,[a]),_=U(()=>o?.columnDef.minSize?`calc(var(--col-${a}-minSize) * 1px)`:void 0,[a,o]),v=U(()=>o?.columnDef.maxSize?`calc(var(--col-${a}-maxSize) * 1px)`:void 0,[a,o]);return q(`th`,{slot:`table-head-cell`,"data-pinned":t,"data-header":a,style:{zIndex:p,left:m,right:h,width:g,minWidth:_,maxWidth:v},className:J(vt({isPinned:t||`false`,isActions:a===`actions`,isLastCell:r,isFirstCell:n,position:f}),s),...d,children:[K(`div`,{className:`truncate px-4`,children:c}),i&&K(Pt,{isPinned:t,isVisible:e,onLeftPin:l,onRightPin:l,onUnpin:l})]})});Ft.displayName=`UITableHeadCell`;const It=z(({isPinned:e,isAllRowsSelected:t,style:n,onToggleAllRowsSelected:r,...i})=>{let a=V(e=>{r?.(!!e)},[r]);return K(`th`,{slot:`table-header-cell`,"data-pinned":!0,style:{left:0,zIndex:20,width:60,maxWidth:60},className:xt({isPinned:e}),...i,children:K(`div`,{className:`absolute inset-0 flex items-center justify-center`,onClick:e=>{e.preventDefault(),e.stopPropagation()},children:K(y,{"aria-label":`Select All Rows`,checked:t,onCheckedChange:a})})})});It.displayName=`UITableHeadCellSelect`;const Lt=z(({headerGroup:e,className:t,...n})=>{let{isAllRowsSelected:r,columnPinningState:i,leftPinnedHeaders:a,rightPinnedHeaders:o,onToggleAllRowsSelected:s}=rt(),c=o[0]?.id,l=a[a.length-1]?.id;return K(`tr`,{slot:`table-head-row`,className:J(_t(),t),...n,children:e.headers.map((e,t)=>{let n=e.column.getIsVisible(),a=i.left?.includes(e.id)?`left`:i.right?.includes(e.id)?`right`:!1;return e.id===`select`?K(It,{isPinned:a,isAllRowsSelected:r,onToggleAllRowsSelected:s},e.id):K(Ft,{isVisible:n,isPinned:a,isFirstCell:e.id===c,isLastCell:e.id===l,isOptionsVisible:![`select`,`actions`].includes(e.id),headerId:e.id,headerColumn:e.column,colSpan:e.colSpan,onColumnPin:e.column.pin,onToggleVisibility:e.column.toggleVisibility,children:X(e.column.columnDef.header,e.getContext())},`${e.id}-${t}`)})})});Lt.displayName=`UITableHeadRow`;const Rt=z(({children:e,...t})=>{let{table:n,innerTableId:r,totalSize:i}=tt(),a=W(null);return H(()=>{if(!a.current)return;let e=n.getFlatHeaders(),t,r=new ResizeObserver(r=>{t!==void 0&&cancelAnimationFrame(t),t=requestAnimationFrame(()=>{let t=r[0];if(!t)return;let i=t.target;if(!(i instanceof HTMLTableElement))return;let a=t.contentRect.width,{left:o=[],right:s=[]}=n.getState().columnPinning,c=0,l=0,u=0,d=e.map(e=>{let{id:t}=e,n=t===`select`||t===`actions`,r=o.includes(t)||s.includes(t),i=e.getSize(),a=e.column.columnDef.maxSize;return n?(c+=60,{id:t,isFlex:!1,width:60}):r?(c+=i,{id:t,isFlex:!1,width:i}):e.column.columnDef.size||i!==150?(u+=i,{id:t,isFlex:!1,width:i}):(l++,{id:t,isFlex:!0,maxSize:a})}),f=a-c-u,p=l>0?Math.max(0,Math.floor(f/l)):0;d.forEach(e=>{if(e.isFlex){let t=e.maxSize?Math.min(p,e.maxSize):p;i.style.setProperty(`--header-${e.id}-size`,`${t}`),i.style.setProperty(`--col-${e.id}-size`,`${t}`),e.maxSize&&i.style.setProperty(`--col-${e.id}-maxSize`,`${e.maxSize}`)}else i.style.setProperty(`--header-${e.id}-size`,`${e.width}`),i.style.setProperty(`--col-${e.id}-size`,`${e.width}`)})})});return r.observe(a.current),()=>{t!==void 0&&cancelAnimationFrame(t),r.disconnect()}},[n.getState().columnSizingInfo,n.getState().columnSizing,n.getState().columnPinning]),K(`table`,{id:r,ref:a,slot:`table-inner-table`,className:ht(),style:{minWidth:i},...t,children:e})});Rt.displayName=`UITableInnerTable`;const zt=z(({children:e,...t})=>{let{innerWrapperId:n}=$e();return K(`div`,{id:n,slot:`table-inner-wrapper`,className:mt(),...t,children:e})});zt.displayName=`UITableInnerWrapper`;const Bt=z(({virtualRowIndex:e,virtualRowStart:t,fetchMoreData:n})=>{let{innerWrapperId:r}=$e(),i=W(null),a=W(null),[o,s]=G(`idle`),[c,l]=G(0),u=V(async()=>{try{s(`fetching`),await n?.(),s(`idle`)}catch(e){console.error(`Error fetching more data:`,e),s(`error`)}},[n]);return H(()=>{if(i.current=document.querySelector(`div[id="${r}"]`),!i.current)return;let e=new ResizeObserver(e=>{l(e[0].contentRect.width)});return e.observe(i.current),()=>e.disconnect()},[r]),n?K(`tr`,{ref:a,"data-index":e,style:{transform:`translateY(${t}px)`,width:c},className:`sticky! left-0 h-10`,children:K(`td`,{className:`absolute left-0 flex w-full items-center justify-center text-xs`,children:q(`button`,{type:`button`,disabled:o===`fetching`,className:Et({state:o}),onClick:u,children:[o===`idle`&&K(j,{className:`size-4`}),o===`fetching`&&K(ee,{className:`size-4 animate-spin`}),o===`error`&&K(D,{className:`size-4 text-danger`}),o===`idle`&&`Load More`,o===`fetching`&&`Loading...`,o===`error`&&`Error! Retry?`]})})}):null});Bt.displayName=`UITableLoadMore`;const Vt=z(({row:e,isSelected:t,virtualRowIndex:n,virtualRowStart:r,children:i,...a})=>{let{keyOfClickRow:o,isAllRowsSelected:s,columnPinningState:c,leftPinnedHeaders:l,rightPinnedHeaders:u,onClickRow:d}=st(),f=U(()=>c.left??[],[c]),p=U(()=>c.right??[],[c]),m=U(()=>u?.[0]?.id,[u]),h=U(()=>l?.[l.length-1]?.id,[l]),g=V(t=>{let r=o?e.original?.[o]:void 0;d?.(n,typeof r==`string`||typeof r==`number`?r:void 0),t.preventDefault(),t.stopPropagation()},[o,d,e,n]);return K(`tr`,{slot:`table-row`,"data-index":n,style:{transform:`translateY(${r}px)`},className:bt(),onClick:g,...a,children:e.getVisibleCells().map((e,r)=>{let i=f.includes(e.column.id),a=p.includes(e.column.id),o=i?`left`:a?`right`:!1;return e.column.id===`actions`?K(kt,{"data-col":e.column.id,"data-cell":n,"data-selected":t||void 0,virtualRowIndex:n,column:e.column,getContext:e.getContext},`${e.id}-${r}`):e.column.id===`select`?K($,{"data-col":e.column.id,"data-cell":n,"data-selected":t||void 0,isPinned:o,isSelected:s||t,onToggleRowSelected:e.row.toggleSelected},`${e.id}-${r}`):K(Ot,{"data-col":e.column.id,"data-cell":n,"data-selected":t||void 0,isPinned:o,isFirstCell:e.column.id===m,isLastCell:e.column.id===h,colId:e.column.id,position:e.column.columnDef.meta?.position??`start`,column:e.column,getContext:e.getContext},`${e.id}-${r}`)})})});Vt.displayName=`UITableRow`;const Ht=z(({className:e,children:t,...n})=>K(`div`,{slot:`table-wrapper`,className:J(pt(),e),...n,children:t}));Ht.displayName=`UITableWrapper`;const Ut=({children:e})=>{let{table:t,isEmpty:n,isFetching:r,fetchMoreData:i,emptyDisplayHeight:a}=Q(),{rowSelectionState:o}=at(),s=W(null),{rows:c}=t.getRowModel(),l=Ne({count:c.length+(i?1:0),estimateSize:()=>40,getScrollElement:()=>s.current,measureElement:typeof window<`u`&&navigator.userAgent.indexOf(`Firefox`)===-1?e=>e?.getBoundingClientRect().height:void 0,overscan:2}),u=U(()=>{let e=l.getTotalSize(),t=s.current?.clientHeight??0;return`${Math.max(e,t)}px`},[l.getTotalSize()]);return q(te,{direction:`horizontal`,style:{direction:t.options.columnResizeDirection},className:`relative flex w-full max-w-full flex-1 gap-1 overflow-auto border-t border-t-border border-r border-r-border bg-slate-50 p-0 text-sm`,children:[K(b,{className:`relative`,children:q(zt,{ref:s,children:[q(Rt,{children:[K(Nt,{children:t.getHeaderGroups().map(e=>K(Lt,{headerGroup:e},e.id))}),K(Dt,{height:u,children:l.getVirtualItems().map(e=>{let t=c[e.index];if(!t&&i)return K(Bt,{virtualRowIndex:e.index,virtualRowStart:e.start,fetchMoreData:i},e.key);let n=o[t.id]===!0;return K(Vt,{ref:l.measureElement,row:t,isSelected:n,virtualRowIndex:e.index,virtualRowStart:e.start},e.key)})}),K(At,{})]}),K(jt,{})]})}),e&&q(De,{children:[K(x,{}),e]})]})},Wt={tag:K(be,{size:14}),"date-range":K(k,{size:14}),number:K(I,{size:14}),text:K(Ce,{size:14}),boolean:K(xe,{size:14})},Gt=[{value:`eq`,label:`Equals (=)`},{value:`ne`,label:`not equals (≠)`},{value:`gt`,label:`greater than (>)`},{value:`gte`,label:`At least (≥)`},{value:`lt`,label:`less than (<)`},{value:`lte`,label:`at most (≤)`},{value:`between`,label:`Between`}],Kt=[{value:`contains`,label:`Contains`},{value:`equals`,label:`Equals`},{value:`starts-with`,label:`Starts with`},{value:`ends-with`,label:`Ends with`}];function qt(e,t){switch(e.type){case`tag`:return e.values.length?e.values.map(e=>t.options?.find(t=>t.value===e)?.label??e).join(`, `):`Unset`;case`date-range`:return!e.from&&!e.to?`Unknow date`:e.from&&e.to?`${e.from} → ${e.to}`:e.from?`from ${e.from}`:`until ${e.to}`;case`number`:{let t={eq:`=`,ne:`≠`,gt:`>`,gte:`≥`,lt:`<`,lte:`≤`,between:`between`}[e.operator];return e.value===void 0?t:e.operator===`between`?`${t} ${e.value} – ${e.valueTo??`?`}`:`${t} ${e.value}`}case`text`:{let t={contains:`contains`,equals:`is`,"starts-with":`starts with`,"ends-with":`ends with`}[e.operator];return e.value?`${t} "${e.value}"`:t}case`boolean`:return e.value===null?`Unknow`:e.value?`Yes`:`No`}}const Jt=({value:e,definition:t,onChange:n})=>K(`div`,{className:`flex flex-col gap-1 p-3`,children:(t.options??[]).length===0?K(`p`,{className:`text-xs text-text-positive-muted`,children:`No options defined`}):t.options.map(t=>q(oe,{className:J(`flex items-center gap-2 bg-secondary-bg-subtle hover:bg-secondary-muted px-4 py-2 rounded transition-colors`,e.values.includes(t.value)&&`bg-primary-muted hover:bg-primary-subtle`),children:[K(y,{checked:e.values.includes(t.value),onCheckedChange:r=>{n({type:`tag`,values:r?[...e.values,t.value]:e.values.filter(e=>e!==t.value)})}}),K(`span`,{className:`text-sm`,children:t.label})]},t.value))}),Yt=({value:e,onChange:t})=>q(`div`,{className:`flex flex-col gap-3 p-3`,children:[q(`div`,{className:`flex flex-col gap-1`,children:[K(`span`,{className:`text-xs text-text-positive-muted`,children:`From`}),K(S,{type:`date`,size:`md`,value:e.from??``,onValueChange:n=>t({...e,from:n||void 0})})]}),q(`div`,{className:`flex flex-col gap-1`,children:[K(`span`,{className:`text-xs text-text-positive-muted`,children:`To`}),K(S,{type:`date`,size:`md`,value:e.to??``,onValueChange:n=>t({...e,to:n||void 0})})]})]}),Xt=({value:e,onChange:t})=>q(`div`,{className:`flex flex-col gap-3 p-3`,children:[q(ae,{value:e.operator,onValueChange:n=>t({...e,operator:n}),children:[K(ie,{size:`sm`,children:K(w,{})}),K(E,{children:Gt.map(e=>K(T,{value:e.value,children:e.label},e.value))})]}),K(S,{type:`number`,size:`md`,placeholder:`Value`,value:e.value??``,onValueChange:n=>t({...e,value:n?Number(n):void 0})}),e.operator===`between`&&K(S,{type:`number`,size:`md`,placeholder:`To value`,value:e.valueTo??``,onValueChange:n=>t({...e,valueTo:n?Number(n):void 0})})]}),Zt=({value:e,onChange:t})=>q(`div`,{className:`flex flex-col gap-3 p-3`,children:[q(ae,{value:e.operator,onValueChange:n=>t({...e,operator:n}),children:[K(ie,{size:`sm`,children:K(w,{})}),K(E,{children:Kt.map(e=>K(T,{value:e.value,children:e.label},e.value))})]}),K(S,{type:`text`,size:`md`,placeholder:`Enter text...`,value:e.value,onValueChange:n=>t({...e,value:n})})]}),Qt=[{label:`Yes`,value:!0},{label:`No`,value:!1},{label:`Unknow`,value:null}],$t=({value:t,onChange:n})=>K(`div`,{className:`flex flex-col gap-1 p-3`,children:Qt.map(({label:r,value:i})=>K(e,{type:`button`,tabIndex:-1,variant:`outline`,className:J(`rounded px-3 py-1.5 text-left text-sm transition-colors`,t.value===i?`bg-primary-muted font-medium`:`hover:bg-muted-bg-subtle`),onClick:()=>n({type:`boolean`,value:i}),children:r},r))});function en({value:e,definition:t,onChange:n}){switch(e.type){case`tag`:return K(Jt,{value:e,definition:t,onChange:n});case`date-range`:return K(Yt,{value:e,onChange:n});case`number`:return K(Xt,{value:e,onChange:n});case`text`:return K(Zt,{value:e,onChange:n});case`boolean`:return K($t,{value:e,onChange:n})}}const tn=({filter:t,definition:n,onRemove:r,onUpdate:i})=>q(`div`,{className:`flex items-center gap-1`,children:[q(re,{children:[K(C,{asChild:!0,children:q(e,{type:`button`,variant:`outline`,color:`muted`,className:`flex-1 bg-white max-w-[calc(100%-32px)] justify-start`,innerClassName:`flex truncate gap-1.5`,children:[K(`span`,{className:`shrink-0 text-text-positive font-medium`,children:n.label}),K(`span`,{className:`truncate text-xs text-text-positive-weak`,children:qt(t.value,n)})]})}),q(ne,{className:`w-64 p-0`,align:`start`,side:`bottom`,children:[K(`div`,{className:`border-b border-border px-3 py-2`,children:q(`div`,{className:`flex items-center gap-1.5`,children:[K(`span`,{className:`text-text-positive-muted`,children:Wt[n.type]}),K(`p`,{className:`font-medium`,children:n.label})]})}),K(en,{value:t.value,definition:n,onChange:i})]})]}),K(e,{type:`button`,size:`icon`,variant:`soft`,color:`danger`,className:`shrink`,onClick:r,children:K(Se,{size:13})})]}),nn=({checked:e,title:t,onCheckedChange:n})=>q(`div`,{className:`flex h-fit items-center gap-2`,children:[K(y,{checked:e,onCheckedChange:n}),K(`p`,{className:`text-sm`,children:t})]}),rn=()=>{let{table:t}=Q(),{filterDefinitions:n,activeFilters:r,addFilter:i,removeFilter:a,updateFilter:o}=ut(),[s,c]=G(null),l=n.filter(e=>!r.some(t=>t.definitionId===e.id));return K(b,{defaultSize:25,className:J(`bg-card`,s===null?`max-w-8!`:`min-w-64`),children:q(`div`,{className:`relative z-20 flex size-full bg-muted-bg-subtle`,children:[q(`div`,{className:`min-w-0 flex-1 overflow-hidden`,children:[K(L,{mode:s===`columns`?`visible`:`hidden`,children:q(`div`,{className:`flex size-full flex-col gap-2 p-4`,children:[K(`p`,{className:`px-2 font-medium`,children:`Columns Visibility`}),K(d,{}),K(`div`,{className:`flex flex-col gap-4 pt-4`,children:t.getAllColumns().map(e=>[`select`,`actions`].includes(e.id)?null:K(nn,{checked:e.getIsVisible(),title:String(e.columnDef.header),onCheckedChange:t=>e.toggleVisibility(!!t)},e.id))})]})}),K(L,{mode:s===`filters`?`visible`:`hidden`,children:q(`div`,{className:`flex size-full flex-col gap-2 p-4`,children:[q(`div`,{className:`flex items-center justify-between gap-2`,children:[K(`p`,{className:`font-medium`,children:`Filters`}),q(_,{children:[K(m,{asChild:!0,children:q(e,{variant:`outline`,color:`muted`,disabled:l.length===0,children:[K(de,{size:13}),`Add Filter`]})}),K(g,{align:`end`,children:l.map(e=>q(f,{className:`flex items-center gap-2`,onClick:()=>i(e.id),children:[Wt[e.type],e.label]},e.id))})]})]}),K(d,{}),r.length===0?K(`p`,{className:`py-6 text-center text-xs text-text-positive-muted`,children:`No active filters`}):K(`div`,{className:`flex flex-col gap-2 pt-1`,children:r.map(e=>{let t=n.find(t=>t.id===e.definitionId);return t?K(tn,{filter:e,definition:t,onRemove:()=>a(e.id),onUpdate:t=>o(e.id,t)},e.id):null})})]})})]}),q(`div`,{className:`flex h-full flex-col border-l border-border bg-muted-bg-subtle text-sm`,children:[q(`button`,{type:`button`,className:J(`flex h-32 cursor-pointer flex-col items-center gap-y-2 p-2 py-4`,s===`columns`&&`bg-card`),onClick:()=>c(s===`columns`?null:`columns`),children:[K(M,{size:18}),K(`span`,{className:`text-nowrap [writing-mode:vertical-lr]`,children:`Columns`})]}),K(d,{}),q(`button`,{type:`button`,className:J(`relative flex h-32 cursor-pointer flex-col items-center gap-y-2 p-2 py-4`,s===`filters`&&`bg-card`),onClick:()=>c(s===`filters`?null:`filters`),children:[K(ue,{size:18}),r.length>0&&K(`span`,{className:`absolute top-2 right-1.5 flex h-4 w-4 items-center justify-center rounded-full bg-primary text-[10px] leading-none text-primary-foreground`,children:r.length}),K(`span`,{className:`text-nowrap [writing-mode:vertical-lr]`,children:`Filters`})]}),K(d,{})]})]})})};function an(e){switch(e){case`tag`:return{type:`tag`,values:[]};case`date-range`:return{type:`date-range`};case`number`:return{type:`number`,operator:`eq`};case`text`:return{type:`text`,operator:`contains`,value:``};case`boolean`:return{type:`boolean`,value:null}}}const on=z(({innerWrapperId:e,children:t})=>{let n=U(()=>({innerWrapperId:e}),[e]);return K(Qe.Provider,{value:n,children:t})});on.displayName=`UITableInnerWrapperProvider`;const sn=z(({table:e,innerTableId:t,totalSize:n,children:r})=>{let i=U(()=>({table:e,innerTableId:t,totalSize:n}),[e,t,n]);return K(et.Provider,{value:i,children:r})});sn.displayName=`UITableInnerTableProvider`;const cn=z(({isAllRowsSelected:e,columnPinningState:t,leftPinnedHeaders:n,rightPinnedHeaders:r,onToggleAllRowsSelected:i,children:a})=>{let o=U(()=>({isAllRowsSelected:e,columnPinningState:t,leftPinnedHeaders:n,rightPinnedHeaders:r,onToggleAllRowsSelected:i}),[e,t,n,r,i]);return K(nt.Provider,{value:o,children:a})});cn.displayName=`UITableHeadRowProvider`;const ln=z(({isFetching:e,isRefetching:t,isEmpty:n,rowSelectionState:r,children:i})=>{let a=U(()=>({isFetching:e,isRefetching:t,isEmpty:n,rowSelectionState:r}),[e,n,r]);return K(it.Provider,{value:a,children:i})});ln.displayName=`UITableBodyProvider`;const un=z(({keyOfClickRow:e,isAllRowsSelected:t,columnPinningState:n,leftPinnedHeaders:r,rightPinnedHeaders:i,onClickRow:a,children:o})=>{let s=U(()=>({keyOfClickRow:e,isAllRowsSelected:t,columnPinningState:n,leftPinnedHeaders:r,rightPinnedHeaders:i,onClickRow:a}),[e,t,n,r,i,a]);return K(ot.Provider,{value:s,children:o})});un.displayName=`UITableRowProvider`;const dn=({title:e,isFetching:t=!1,isRefetching:n=!1,isLoading:r=!1,loadingDisplayRow:i=3,data:a,columns:o,totalRows:s,leftPinnedColumns:c=[],rightPinnedColumns:l=[],keyOfClickRow:u,onClickRow:d,onRowSelection:f,onColumnPinning:p,fetchMoreData:m,emptyDisplayHeight:h,csvData:g,csvFileName:_,filterDefinitions:v=[],onFilterChange:y,children:ee})=>{let b=Ee(),te=Ee(),[x,S]=G({}),[C,ne]=G({right:l,left:[`select`,...c]}),[re,w]=G({}),[T,E]=G([]),ie=V(e=>(S(e),f?.(e instanceof Function?e(x):e),e),[x,f]),ae=V(e=>{ne(e),p?.(e instanceof Function?e(C):e)},[C,p]),oe=V(e=>{let t=v.find(t=>t.id===e);if(!t)return;let n={id:`${e}-${crypto.randomUUID()}`,definitionId:e,value:an(t.type)};E(e=>{let t=[...e,n];return y?.(t),t})},[v,y]),D=V(e=>{E(t=>{let n=t.filter(t=>t.id!==e);return y?.(n),n})},[y]),O=V((e,t)=>{E(n=>{let r=n.map(n=>n.id===e?{...n,value:t}:n);return y?.(r),r})},[y]),se=U(()=>({filterDefinitions:v,activeFilters:T,addFilter:oe,removeFilter:D,updateFilter:O}),[v,T,oe,D,O]),k=Me({data:a,columns:o,state:{rowSelection:x,columnPinning:C,expanded:re},defaultColumn:{enableResizing:!1,size:void 0,minSize:void 0,maxSize:void 0},columnResizeMode:`onChange`,columnResizeDirection:`ltr`,enableColumnPinning:!0,enableRowSelection:!0,enableColumnResizing:!0,enableMultiRowSelection:!0,autoResetAll:!1,autoResetExpanded:!1,autoResetPageIndex:!1,getSubRows:e=>e.subRows,getCoreRowModel:ke(),getGroupedRowModel:je(),getExpandedRowModel:Ae(),onRowSelectionChange:ie,onColumnPinningChange:ae,onExpandedChange:w}),A=U(()=>{let{rows:e}=k.getRowModel();return e},[k.getRowModel().rows,k.getState().columnPinning]),j=U(()=>(!t||!n)&&A.length===0,[A.length,t,n]),ce=U(()=>({title:e,table:k,isEmpty:j,isFetching:t,isRefetching:n,isLoading:r,loadingDisplayRow:i,totalRows:s,fetchMoreData:m,emptyDisplayHeight:h,csvData:g,csvFileName:_}),[e,k,j,n,t,r,i,s,m,h,k.getState().columnPinning,k.getState().expanded,g,_]),M=U(()=>k.getState(),[k.getState()]),N=U(()=>k.getIsAllRowsSelected(),[k.getIsAllRowsSelected()]),le=U(()=>M.rowSelection,[M.rowSelection]),P=U(()=>M.columnPinning,[M.columnPinning]),F=U(()=>k.getLeftHeaderGroups()[0]?.headers||[],[k.getState().columnPinning]),I=U(()=>k.getRightHeaderGroups()[0]?.headers||[],[k.getState().columnPinning]),ue=U(()=>k.getTotalSize(),[k.getTotalSize()]);return K(lt.Provider,{value:se,children:K(ct.Provider,{value:ce,children:K(on,{innerWrapperId:b,children:K(sn,{table:k,innerTableId:te,totalSize:ue,children:K(cn,{isAllRowsSelected:N,columnPinningState:P,leftPinnedHeaders:F,rightPinnedHeaders:I,onToggleAllRowsSelected:k.toggleAllRowsSelected,children:K(ln,{isFetching:t,isRefetching:n,isEmpty:j,rowSelectionState:le,children:K(un,{keyOfClickRow:u,isAllRowsSelected:N,columnPinningState:P,leftPinnedHeaders:F,rightPinnedHeaders:I,onClickRow:d,children:ee})})})})})})})};function fn(e){if(e==null)return``;if(typeof e==`number`)return String(e);if(typeof e==`boolean`)return e?`true`:`false`;let t=String(e);return t.includes(`,`)||t.includes(`"`)||t.includes(`
|
|
2
|
-
`)||t.includes(`\r`)?`"${t.replace(/"/g,`""`)}"`:t}function pn(e){if(e.length===0)return``;let t=e[0].map(e=>fn(e.label)),n=e.map(e=>e.map(e=>fn(e.value)).join(`,`));return[t.join(`,`),...n].join(`
|
|
3
|
-
`)}function mn(e,t){let n=pn(e);if(!n)return;let r=new Blob([n],{type:`text/csv;charset=utf-8;`}),i=URL.createObjectURL(r),a=document.createElement(`a`);a.href=i,a.download=`${t}.csv`,a.click(),URL.revokeObjectURL(i)}const hn=({onSearch:e,onChange:t,...n})=>{let r=Pe(t=>{e?.(t)},500);return q(`div`,{className:`relative w-full max-w-80 flex-1`,children:[K(S,{...n,size:`lg`,type:`search`,placeholder:`Search records...`,className:`flex-1 ps-9 pe-9`,onChange:e=>{t?.(e),r(e.target.value??``)}}),K(`div`,{className:`pointer-events-none absolute inset-y-0 inset-s-0 flex items-center justify-center ps-3 text-text-positive-weak peer-disabled:opacity-50`,children:K(ye,{size:16})}),K(`button`,{className:`absolute inset-y-0 inset-e-0 flex h-full w-9 items-center justify-center rounded-e-md text-text-positive-weak outline-none transition-[color,box-shadow] hover:text-text-positive focus:z-10 focus-visible:border focus-visible:border-primary-strong focus-visible:ring-[3px] focus-visible:ring-primary-weak disabled:pointer-events-none disabled:cursor-not-allowed disabled:opacity-50`,"aria-label":`Submit search`,type:`submit`,children:K(O,{size:16,"aria-hidden":`true`})})]})},gn=({children:e,disabled:t,onClick:n})=>K(`button`,{type:`button`,disabled:t,className:`flex cursor-pointer items-center gap-x-1 rounded-sm border border-border bg-background p-2.5 text-sm text-text-positive-weak outline-none transition-all hover:shadow-card focus:border-border-emphasis focus:bg-muted-muted active:border-border-emphasis active:bg-muted-muted active:text-text-positive disabled:pointer-events-none disabled:cursor-default disabled:opacity-60 [&_svg]:size-3.5`,onClick:n,children:e}),_n=({onCreate:e,onDownload:t,onRefresh:n})=>{let{table:r,csvData:i,csvFileName:a,title:o}=Q(),s=V(()=>{if(t){t();return}if(!i||i.length===0)return;let e=r.getSelectedRowModel().flatRows;mn(e.length>0?e.map(e=>i[e.index]).filter(Boolean):i,a||o)},[t,i,a,r,o]),c=!!(t||i&&i.length>0);return q(`div`,{className:`flex [&>*:not(:first-child)]:rounded-l-none [&>*:not(:first-child)]:border-l-0 [&>*:not(:last-child)]:rounded-r-none`,children:[K(gn,{disabled:!e,onClick:t=>{e?.(),t.stopPropagation(),t.preventDefault()},children:K(ce,{})}),K(gn,{disabled:!n,onClick:e=>{n?.(),e.stopPropagation(),e.preventDefault()},children:K(ve,{})}),K(gn,{disabled:!c,onClick:e=>{s(),e.stopPropagation(),e.preventDefault()},children:K(le,{})})]})},vn=({children:e})=>{let{title:t}=Q();return q(`div`,{"data-slot":`table-tooltip`,className:`relative m-0 flex w-full flex-0 flex-col flex-wrap items-start space-y-2 p-0 px-2 text-sm`,children:[K(`h3`,{className:`font-semibold text-base text-text-positive`,children:t}),K(`div`,{className:`flex w-full flex-1 justify-between gap-x-2`,children:e})]})};vn.displayName=`TableTooltip`;export{Ue as A,Ze as C,Ke as D,qe as E,Re as F,Le as I,Ie as L,Ve as M,Be as N,Ge as O,ze as P,Fe as R,Dt as S,Ye as T,Mt as _,rn as a,kt as b,Vt as c,Rt as d,Lt as f,Nt as g,Pt as h,dn as i,He as j,We as k,Bt as l,Ft as m,_n as n,Ut as o,It as p,hn as r,Ht as s,vn as t,zt as u,jt as v,Xe as w,Ot as x,$ as y};
|
|
4
|
-
//# sourceMappingURL=tables-BMQmwJqT.mjs.map
|