@deriv-com/trading-game-design-system 0.2.10 → 0.2.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +21 -11
- package/dist/index.cjs +641 -720
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +8 -16
- package/dist/index.d.ts +8 -16
- package/dist/index.js +483 -558
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -95,9 +95,6 @@ __export(index_exports, {
|
|
|
95
95
|
BreadcrumbPage: () => BreadcrumbPage,
|
|
96
96
|
BreadcrumbSeparator: () => BreadcrumbSeparator,
|
|
97
97
|
Button: () => Button,
|
|
98
|
-
ButtonGroup: () => ButtonGroup,
|
|
99
|
-
ButtonGroupSeparator: () => ButtonGroupSeparator,
|
|
100
|
-
ButtonGroupText: () => ButtonGroupText,
|
|
101
98
|
Calendar: () => Calendar,
|
|
102
99
|
CalendarDayButton: () => CalendarDayButton,
|
|
103
100
|
Card: () => Card,
|
|
@@ -364,7 +361,6 @@ __export(index_exports, {
|
|
|
364
361
|
TooltipProvider: () => TooltipProvider,
|
|
365
362
|
TooltipTrigger: () => TooltipTrigger,
|
|
366
363
|
badgeVariants: () => badgeVariants,
|
|
367
|
-
buttonGroupVariants: () => buttonGroupVariants,
|
|
368
364
|
buttonVariants: () => buttonVariants,
|
|
369
365
|
cn: () => cn,
|
|
370
366
|
navigationMenuTriggerStyle: () => navigationMenuTriggerStyle,
|
|
@@ -456,7 +452,7 @@ function AccordionContent(_a) {
|
|
|
456
452
|
var import_class_variance_authority = require("class-variance-authority");
|
|
457
453
|
var import_jsx_runtime2 = require("react/jsx-runtime");
|
|
458
454
|
var alertVariants = (0, import_class_variance_authority.cva)(
|
|
459
|
-
"relative grid w-full grid-cols-[0_1fr] items-start gap-y-0.5 rounded-
|
|
455
|
+
"relative grid w-full grid-cols-[0_1fr] items-start gap-y-0.5 rounded-[6px] border px-4 py-3 text-sm has-[>svg]:grid-cols-[calc(var(--spacing)*4)_1fr] has-[>svg]:gap-x-3 [&>svg]:size-4 [&>svg]:translate-y-0.5 [&>svg]:text-current",
|
|
460
456
|
{
|
|
461
457
|
variants: {
|
|
462
458
|
variant: {
|
|
@@ -532,11 +528,7 @@ var buttonVariants = (0, import_class_variance_authority2.cva)(
|
|
|
532
528
|
// Cyan family
|
|
533
529
|
primary: "bg-primary text-primary-foreground shadow-[0_0_20px_rgba(0,255,255,0.3)] hover:[background:linear-gradient(rgba(255,255,255,0.1),rgba(255,255,255,0.1)),var(--color-primary)] hover:shadow-[0_0_20px_rgba(0,255,255,0.8)]",
|
|
534
530
|
secondary: "[background:linear-gradient(rgba(0,0,0,0.2),rgba(0,0,0,0.2)),rgba(0,255,255,0.04)] border border-primary/40 text-primary shadow-[0_0_20px_rgba(0,255,255,0.3)] hover:[background:rgba(0,255,255,0.04)] hover:border-primary hover:shadow-[0_0_20px_rgba(0,255,255,0.4)]",
|
|
535
|
-
tertiary: "bg-transparent text-primary hover:underline underline-offset-4"
|
|
536
|
-
// Amber family
|
|
537
|
-
"amber-primary": "bg-secondary-hover text-primary-foreground hover:[background:linear-gradient(rgba(255,255,255,0.2),rgba(255,255,255,0.2)),var(--color-secondary-hover)]",
|
|
538
|
-
"amber-secondary": "bg-transparent border border-secondary-hover/30 text-secondary-hover hover:bg-secondary-hover/[0.04] hover:border-secondary-hover",
|
|
539
|
-
"amber-tertiary": "bg-transparent text-secondary-hover hover:underline underline-offset-4"
|
|
531
|
+
tertiary: "bg-transparent text-primary hover:underline underline-offset-4"
|
|
540
532
|
},
|
|
541
533
|
size: {
|
|
542
534
|
lg: "h-12 gap-3 rounded-[6px] px-6 py-[14px] text-sm [&_svg:not([class*='size-'])]:size-4",
|
|
@@ -631,7 +623,7 @@ function AlertDialogContent(_a) {
|
|
|
631
623
|
"data-slot": "alert-dialog-content",
|
|
632
624
|
"data-size": size,
|
|
633
625
|
className: cn(
|
|
634
|
-
"group/alert-dialog-content fixed top-[50%] left-[50%] z-50 grid w-full max-w-[calc(100%-2rem)] translate-x-[-50%] translate-y-[-50%] gap-4 rounded-
|
|
626
|
+
"group/alert-dialog-content fixed top-[50%] left-[50%] z-50 grid w-full max-w-[calc(100%-2rem)] translate-x-[-50%] translate-y-[-50%] gap-4 rounded-[6px] border bg-background p-6 shadow-lg duration-200 data-[size=sm]:max-w-xs data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[state=open]:animate-in data-[state=open]:fade-in-0 data-[state=open]:zoom-in-95 data-[size=default]:sm:max-w-lg",
|
|
635
627
|
className
|
|
636
628
|
)
|
|
637
629
|
}, props)
|
|
@@ -782,7 +774,7 @@ function Avatar(_a) {
|
|
|
782
774
|
"data-slot": "avatar",
|
|
783
775
|
"data-size": size,
|
|
784
776
|
className: cn(
|
|
785
|
-
"group/avatar relative flex size-8 shrink-0
|
|
777
|
+
"group/avatar relative flex size-8 shrink-0 rounded-full select-none data-[size=lg]:size-10 data-[size=sm]:size-6",
|
|
786
778
|
className
|
|
787
779
|
)
|
|
788
780
|
}, props)
|
|
@@ -798,7 +790,7 @@ function AvatarImage(_a) {
|
|
|
798
790
|
import_radix_ui5.Avatar.Image,
|
|
799
791
|
__spreadValues({
|
|
800
792
|
"data-slot": "avatar-image",
|
|
801
|
-
className: cn("aspect-square size-full", className)
|
|
793
|
+
className: cn("aspect-square size-full overflow-hidden rounded-full", className)
|
|
802
794
|
}, props)
|
|
803
795
|
);
|
|
804
796
|
}
|
|
@@ -813,7 +805,7 @@ function AvatarFallback(_a) {
|
|
|
813
805
|
__spreadValues({
|
|
814
806
|
"data-slot": "avatar-fallback",
|
|
815
807
|
className: cn(
|
|
816
|
-
"flex size-full items-center justify-center rounded-full bg-muted text-sm text-muted-foreground group-data-[size=sm]/avatar:text-xs",
|
|
808
|
+
"flex size-full items-center justify-center overflow-hidden rounded-full bg-muted text-sm text-muted-foreground group-data-[size=sm]/avatar:text-xs",
|
|
817
809
|
className
|
|
818
810
|
)
|
|
819
811
|
}, props)
|
|
@@ -871,20 +863,29 @@ var import_class_variance_authority3 = require("class-variance-authority");
|
|
|
871
863
|
var import_radix_ui6 = require("radix-ui");
|
|
872
864
|
var import_jsx_runtime7 = require("react/jsx-runtime");
|
|
873
865
|
var badgeVariants = (0, import_class_variance_authority3.cva)(
|
|
874
|
-
"inline-flex w-fit shrink-0 items-center justify-center gap-1 overflow-hidden rounded-full border border-transparent
|
|
866
|
+
"inline-flex w-fit shrink-0 items-center justify-center gap-1 overflow-hidden rounded-full border border-transparent text-xs font-display font-medium whitespace-nowrap transition-[color,box-shadow] focus-visible:border-ring focus-visible:ring-[3px] focus-visible:ring-ring/50 aria-invalid:border-destructive aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 [&>svg]:pointer-events-none [&>svg]:size-3",
|
|
875
867
|
{
|
|
876
868
|
variants: {
|
|
877
869
|
variant: {
|
|
878
870
|
default: "bg-primary text-primary-foreground [a&]:hover:bg-primary/90",
|
|
879
871
|
secondary: "bg-secondary text-secondary-foreground [a&]:hover:bg-secondary/90",
|
|
880
872
|
destructive: "bg-destructive text-white focus-visible:ring-destructive/20 dark:bg-destructive/60 dark:focus-visible:ring-destructive/40 [a&]:hover:bg-destructive/90",
|
|
881
|
-
|
|
882
|
-
|
|
873
|
+
fill: "bg-primary/16 border-transparent text-primary",
|
|
874
|
+
"fill-amber": "bg-secondary-hover/16 border-transparent text-secondary-hover",
|
|
875
|
+
"fill-pink": "bg-pink-500/16 border-transparent text-pink-400",
|
|
876
|
+
"fill-purple": "bg-chart-4/16 border-transparent text-chart-4",
|
|
877
|
+
ghost: "bg-transparent border-transparent text-muted-foreground [a&]:hover:bg-accent [a&]:hover:text-accent-foreground",
|
|
883
878
|
link: "text-primary underline-offset-4 [a&]:hover:underline"
|
|
879
|
+
},
|
|
880
|
+
size: {
|
|
881
|
+
default: "h-5 px-2 py-0.5 text-xs",
|
|
882
|
+
md: "h-8 px-3 py-1 text-sm",
|
|
883
|
+
lg: "h-10 px-4 py-1.5 text-sm"
|
|
884
884
|
}
|
|
885
885
|
},
|
|
886
886
|
defaultVariants: {
|
|
887
|
-
variant: "default"
|
|
887
|
+
variant: "default",
|
|
888
|
+
size: "default"
|
|
888
889
|
}
|
|
889
890
|
}
|
|
890
891
|
);
|
|
@@ -892,10 +893,12 @@ function Badge(_a) {
|
|
|
892
893
|
var _b = _a, {
|
|
893
894
|
className,
|
|
894
895
|
variant = "default",
|
|
896
|
+
size = "default",
|
|
895
897
|
asChild = false
|
|
896
898
|
} = _b, props = __objRest(_b, [
|
|
897
899
|
"className",
|
|
898
900
|
"variant",
|
|
901
|
+
"size",
|
|
899
902
|
"asChild"
|
|
900
903
|
]);
|
|
901
904
|
const Comp = asChild ? import_radix_ui6.Slot.Root : "span";
|
|
@@ -904,7 +907,7 @@ function Badge(_a) {
|
|
|
904
907
|
__spreadValues({
|
|
905
908
|
"data-slot": "badge",
|
|
906
909
|
"data-variant": variant,
|
|
907
|
-
className: cn(badgeVariants({ variant }), className)
|
|
910
|
+
className: cn(badgeVariants({ variant, size }), className)
|
|
908
911
|
}, props)
|
|
909
912
|
);
|
|
910
913
|
}
|
|
@@ -966,7 +969,7 @@ function BreadcrumbPage(_a) {
|
|
|
966
969
|
role: "link",
|
|
967
970
|
"aria-disabled": "true",
|
|
968
971
|
"aria-current": "page",
|
|
969
|
-
className: cn("font-normal text-
|
|
972
|
+
className: cn("font-normal text-secondary-hover", className)
|
|
970
973
|
}, props)
|
|
971
974
|
);
|
|
972
975
|
}
|
|
@@ -1012,116 +1015,11 @@ function BreadcrumbEllipsis(_a) {
|
|
|
1012
1015
|
);
|
|
1013
1016
|
}
|
|
1014
1017
|
|
|
1015
|
-
// components/ui/button-group.tsx
|
|
1016
|
-
var import_class_variance_authority4 = require("class-variance-authority");
|
|
1017
|
-
var import_radix_ui9 = require("radix-ui");
|
|
1018
|
-
|
|
1019
|
-
// components/ui/separator.tsx
|
|
1020
|
-
var import_radix_ui8 = require("radix-ui");
|
|
1021
|
-
var import_jsx_runtime9 = require("react/jsx-runtime");
|
|
1022
|
-
function Separator(_a) {
|
|
1023
|
-
var _b = _a, {
|
|
1024
|
-
className,
|
|
1025
|
-
orientation = "horizontal",
|
|
1026
|
-
decorative = true
|
|
1027
|
-
} = _b, props = __objRest(_b, [
|
|
1028
|
-
"className",
|
|
1029
|
-
"orientation",
|
|
1030
|
-
"decorative"
|
|
1031
|
-
]);
|
|
1032
|
-
return /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
|
|
1033
|
-
import_radix_ui8.Separator.Root,
|
|
1034
|
-
__spreadValues({
|
|
1035
|
-
"data-slot": "separator",
|
|
1036
|
-
decorative,
|
|
1037
|
-
orientation,
|
|
1038
|
-
className: cn(
|
|
1039
|
-
"shrink-0 bg-border data-[orientation=horizontal]:h-px data-[orientation=horizontal]:w-full data-[orientation=vertical]:h-full data-[orientation=vertical]:w-px",
|
|
1040
|
-
className
|
|
1041
|
-
)
|
|
1042
|
-
}, props)
|
|
1043
|
-
);
|
|
1044
|
-
}
|
|
1045
|
-
|
|
1046
|
-
// components/ui/button-group.tsx
|
|
1047
|
-
var import_jsx_runtime10 = require("react/jsx-runtime");
|
|
1048
|
-
var buttonGroupVariants = (0, import_class_variance_authority4.cva)(
|
|
1049
|
-
"flex w-fit items-stretch has-[>[data-slot=button-group]]:gap-2 [&>*]:focus-visible:relative [&>*]:focus-visible:z-10 has-[select[aria-hidden=true]:last-child]:[&>[data-slot=select-trigger]:last-of-type]:rounded-r-md [&>[data-slot=select-trigger]:not([class*='w-'])]:w-fit [&>input]:flex-1",
|
|
1050
|
-
{
|
|
1051
|
-
variants: {
|
|
1052
|
-
orientation: {
|
|
1053
|
-
horizontal: "[&>*:not(:first-child)]:rounded-l-none [&>*:not(:first-child)]:border-l-0 [&>*:not(:last-child)]:rounded-r-none",
|
|
1054
|
-
vertical: "flex-col [&>*:not(:first-child)]:rounded-t-none [&>*:not(:first-child)]:border-t-0 [&>*:not(:last-child)]:rounded-b-none"
|
|
1055
|
-
}
|
|
1056
|
-
},
|
|
1057
|
-
defaultVariants: {
|
|
1058
|
-
orientation: "horizontal"
|
|
1059
|
-
}
|
|
1060
|
-
}
|
|
1061
|
-
);
|
|
1062
|
-
function ButtonGroup(_a) {
|
|
1063
|
-
var _b = _a, {
|
|
1064
|
-
className,
|
|
1065
|
-
orientation
|
|
1066
|
-
} = _b, props = __objRest(_b, [
|
|
1067
|
-
"className",
|
|
1068
|
-
"orientation"
|
|
1069
|
-
]);
|
|
1070
|
-
return /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(
|
|
1071
|
-
"div",
|
|
1072
|
-
__spreadValues({
|
|
1073
|
-
role: "group",
|
|
1074
|
-
"data-slot": "button-group",
|
|
1075
|
-
"data-orientation": orientation,
|
|
1076
|
-
className: cn(buttonGroupVariants({ orientation }), className)
|
|
1077
|
-
}, props)
|
|
1078
|
-
);
|
|
1079
|
-
}
|
|
1080
|
-
function ButtonGroupText(_a) {
|
|
1081
|
-
var _b = _a, {
|
|
1082
|
-
className,
|
|
1083
|
-
asChild = false
|
|
1084
|
-
} = _b, props = __objRest(_b, [
|
|
1085
|
-
"className",
|
|
1086
|
-
"asChild"
|
|
1087
|
-
]);
|
|
1088
|
-
const Comp = asChild ? import_radix_ui9.Slot.Root : "div";
|
|
1089
|
-
return /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(
|
|
1090
|
-
Comp,
|
|
1091
|
-
__spreadValues({
|
|
1092
|
-
className: cn(
|
|
1093
|
-
"flex items-center gap-2 rounded-md border bg-muted px-4 text-sm font-medium shadow-xs [&_svg]:pointer-events-none [&_svg:not([class*='size-'])]:size-4",
|
|
1094
|
-
className
|
|
1095
|
-
)
|
|
1096
|
-
}, props)
|
|
1097
|
-
);
|
|
1098
|
-
}
|
|
1099
|
-
function ButtonGroupSeparator(_a) {
|
|
1100
|
-
var _b = _a, {
|
|
1101
|
-
className,
|
|
1102
|
-
orientation = "vertical"
|
|
1103
|
-
} = _b, props = __objRest(_b, [
|
|
1104
|
-
"className",
|
|
1105
|
-
"orientation"
|
|
1106
|
-
]);
|
|
1107
|
-
return /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(
|
|
1108
|
-
Separator,
|
|
1109
|
-
__spreadValues({
|
|
1110
|
-
"data-slot": "button-group-separator",
|
|
1111
|
-
orientation,
|
|
1112
|
-
className: cn(
|
|
1113
|
-
"relative m-0! self-stretch bg-input data-[orientation=vertical]:h-auto",
|
|
1114
|
-
className
|
|
1115
|
-
)
|
|
1116
|
-
}, props)
|
|
1117
|
-
);
|
|
1118
|
-
}
|
|
1119
|
-
|
|
1120
1018
|
// components/ui/calendar.tsx
|
|
1121
1019
|
var React = __toESM(require("react"), 1);
|
|
1122
1020
|
var import_lucide_react3 = require("lucide-react");
|
|
1123
1021
|
var import_react_day_picker = require("react-day-picker");
|
|
1124
|
-
var
|
|
1022
|
+
var import_jsx_runtime9 = require("react/jsx-runtime");
|
|
1125
1023
|
function Calendar(_a) {
|
|
1126
1024
|
var _b = _a, {
|
|
1127
1025
|
className,
|
|
@@ -1141,7 +1039,7 @@ function Calendar(_a) {
|
|
|
1141
1039
|
"components"
|
|
1142
1040
|
]);
|
|
1143
1041
|
const defaultClassNames = (0, import_react_day_picker.getDefaultClassNames)();
|
|
1144
|
-
return /* @__PURE__ */ (0,
|
|
1042
|
+
return /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
|
|
1145
1043
|
import_react_day_picker.DayPicker,
|
|
1146
1044
|
__spreadValues({
|
|
1147
1045
|
showOutsideDays,
|
|
@@ -1193,14 +1091,14 @@ function Calendar(_a) {
|
|
|
1193
1091
|
defaultClassNames.dropdown
|
|
1194
1092
|
),
|
|
1195
1093
|
caption_label: cn(
|
|
1196
|
-
"font-medium select-none",
|
|
1094
|
+
"font-body font-medium select-none",
|
|
1197
1095
|
captionLayout === "label" ? "text-sm" : "flex h-8 items-center gap-1 rounded-md pr-1 pl-2 text-sm [&>svg]:size-3.5 [&>svg]:text-muted-foreground",
|
|
1198
1096
|
defaultClassNames.caption_label
|
|
1199
1097
|
),
|
|
1200
1098
|
table: "w-full border-collapse",
|
|
1201
1099
|
weekdays: cn("flex", defaultClassNames.weekdays),
|
|
1202
1100
|
weekday: cn(
|
|
1203
|
-
"flex-1 rounded-md text-[0.8rem] font-normal text-muted-foreground select-none",
|
|
1101
|
+
"flex-1 rounded-md text-[0.8rem] font-body font-normal text-muted-foreground select-none",
|
|
1204
1102
|
defaultClassNames.weekday
|
|
1205
1103
|
),
|
|
1206
1104
|
week: cn("mt-2 flex w-full", defaultClassNames.week),
|
|
@@ -1224,7 +1122,7 @@ function Calendar(_a) {
|
|
|
1224
1122
|
range_middle: cn("rounded-none", defaultClassNames.range_middle),
|
|
1225
1123
|
range_end: cn("rounded-r-md bg-accent", defaultClassNames.range_end),
|
|
1226
1124
|
today: cn(
|
|
1227
|
-
"rounded-md
|
|
1125
|
+
"rounded-md border border-primary/40 text-primary data-[selected=true]:rounded-none",
|
|
1228
1126
|
defaultClassNames.today
|
|
1229
1127
|
),
|
|
1230
1128
|
outside: cn(
|
|
@@ -1240,7 +1138,7 @@ function Calendar(_a) {
|
|
|
1240
1138
|
components: __spreadValues({
|
|
1241
1139
|
Root: (_a2) => {
|
|
1242
1140
|
var _b2 = _a2, { className: className2, rootRef } = _b2, props2 = __objRest(_b2, ["className", "rootRef"]);
|
|
1243
|
-
return /* @__PURE__ */ (0,
|
|
1141
|
+
return /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
|
|
1244
1142
|
"div",
|
|
1245
1143
|
__spreadValues({
|
|
1246
1144
|
"data-slot": "calendar",
|
|
@@ -1252,22 +1150,22 @@ function Calendar(_a) {
|
|
|
1252
1150
|
Chevron: (_c) => {
|
|
1253
1151
|
var _d = _c, { className: className2, orientation } = _d, props2 = __objRest(_d, ["className", "orientation"]);
|
|
1254
1152
|
if (orientation === "left") {
|
|
1255
|
-
return /* @__PURE__ */ (0,
|
|
1153
|
+
return /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(import_lucide_react3.ChevronLeftIcon, __spreadValues({ className: cn("size-4", className2) }, props2));
|
|
1256
1154
|
}
|
|
1257
1155
|
if (orientation === "right") {
|
|
1258
|
-
return /* @__PURE__ */ (0,
|
|
1156
|
+
return /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
|
|
1259
1157
|
import_lucide_react3.ChevronRightIcon,
|
|
1260
1158
|
__spreadValues({
|
|
1261
1159
|
className: cn("size-4", className2)
|
|
1262
1160
|
}, props2)
|
|
1263
1161
|
);
|
|
1264
1162
|
}
|
|
1265
|
-
return /* @__PURE__ */ (0,
|
|
1163
|
+
return /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(import_lucide_react3.ChevronDownIcon, __spreadValues({ className: cn("size-4", className2) }, props2));
|
|
1266
1164
|
},
|
|
1267
1165
|
DayButton: CalendarDayButton,
|
|
1268
1166
|
WeekNumber: (_e) => {
|
|
1269
1167
|
var _f = _e, { children } = _f, props2 = __objRest(_f, ["children"]);
|
|
1270
|
-
return /* @__PURE__ */ (0,
|
|
1168
|
+
return /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("td", __spreadProps(__spreadValues({}, props2), { children: /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("div", { className: "flex size-(--cell-size) items-center justify-center text-center", children }) }));
|
|
1271
1169
|
}
|
|
1272
1170
|
}, components)
|
|
1273
1171
|
}, props)
|
|
@@ -1289,11 +1187,11 @@ function CalendarDayButton(_a) {
|
|
|
1289
1187
|
var _a2;
|
|
1290
1188
|
if (modifiers.focused) (_a2 = ref.current) == null ? void 0 : _a2.focus();
|
|
1291
1189
|
}, [modifiers.focused]);
|
|
1292
|
-
return /* @__PURE__ */ (0,
|
|
1190
|
+
return /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
|
|
1293
1191
|
Button,
|
|
1294
1192
|
__spreadValues({
|
|
1295
1193
|
ref,
|
|
1296
|
-
variant: "
|
|
1194
|
+
variant: "tertiary",
|
|
1297
1195
|
size: "icon",
|
|
1298
1196
|
"data-day": day.date.toLocaleDateString(),
|
|
1299
1197
|
"data-selected-single": modifiers.selected && !modifiers.range_start && !modifiers.range_end && !modifiers.range_middle,
|
|
@@ -1301,7 +1199,7 @@ function CalendarDayButton(_a) {
|
|
|
1301
1199
|
"data-range-end": modifiers.range_end,
|
|
1302
1200
|
"data-range-middle": modifiers.range_middle,
|
|
1303
1201
|
className: cn(
|
|
1304
|
-
"flex aspect-square size-auto w-full min-w-(--cell-size) flex-col gap-1 leading-none font-normal group-data-[focused=true]/day:relative group-data-[focused=true]/day:z-10 group-data-[focused=true]/day:border-ring group-data-[focused=true]/day:ring-[3px] group-data-[focused=true]/day:ring-ring/50 data-[range-end=true]:rounded-md data-[range-end=true]:rounded-r-md data-[range-end=true]:bg-primary data-[range-end=true]:text-primary-foreground data-[range-middle=true]:rounded-none data-[range-middle=true]:bg-accent data-[range-middle=true]:text-accent-foreground data-[range-start=true]:rounded-md data-[range-start=true]:rounded-l-md data-[range-start=true]:bg-primary data-[range-start=true]:text-primary-foreground data-[selected-single=true]:bg-primary data-[selected-single=true]:text-primary-foreground
|
|
1202
|
+
"flex aspect-square size-auto w-full min-w-(--cell-size) flex-col gap-1 leading-none font-body font-normal bg-transparent border-transparent shadow-none text-foreground hover:bg-accent hover:text-foreground hover:no-underline hover:shadow-none group-data-[focused=true]/day:relative group-data-[focused=true]/day:z-10 group-data-[focused=true]/day:border-ring group-data-[focused=true]/day:ring-[3px] group-data-[focused=true]/day:ring-ring/50 data-[range-end=true]:rounded-md data-[range-end=true]:rounded-r-md data-[range-end=true]:bg-primary data-[range-end=true]:text-primary-foreground data-[range-middle=true]:rounded-none data-[range-middle=true]:bg-accent data-[range-middle=true]:text-accent-foreground data-[range-start=true]:rounded-md data-[range-start=true]:rounded-l-md data-[range-start=true]:bg-primary data-[range-start=true]:text-primary-foreground data-[selected-single=true]:bg-primary data-[selected-single=true]:text-primary-foreground data-[selected-single=true]:shadow-[0_0_12px_rgba(0,255,255,0.4)] [&>span]:text-xs [&>span]:opacity-70",
|
|
1305
1203
|
defaultClassNames.day,
|
|
1306
1204
|
className
|
|
1307
1205
|
)
|
|
@@ -1310,15 +1208,15 @@ function CalendarDayButton(_a) {
|
|
|
1310
1208
|
}
|
|
1311
1209
|
|
|
1312
1210
|
// components/ui/card.tsx
|
|
1313
|
-
var
|
|
1211
|
+
var import_jsx_runtime10 = require("react/jsx-runtime");
|
|
1314
1212
|
function Card(_a) {
|
|
1315
1213
|
var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
|
|
1316
|
-
return /* @__PURE__ */ (0,
|
|
1214
|
+
return /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(
|
|
1317
1215
|
"div",
|
|
1318
1216
|
__spreadValues({
|
|
1319
1217
|
"data-slot": "card",
|
|
1320
1218
|
className: cn(
|
|
1321
|
-
"flex flex-col gap-6 rounded-
|
|
1219
|
+
"flex flex-col gap-6 rounded-[6px] border bg-card py-6 text-card-foreground shadow-sm",
|
|
1322
1220
|
className
|
|
1323
1221
|
)
|
|
1324
1222
|
}, props)
|
|
@@ -1326,7 +1224,7 @@ function Card(_a) {
|
|
|
1326
1224
|
}
|
|
1327
1225
|
function CardHeader(_a) {
|
|
1328
1226
|
var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
|
|
1329
|
-
return /* @__PURE__ */ (0,
|
|
1227
|
+
return /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(
|
|
1330
1228
|
"div",
|
|
1331
1229
|
__spreadValues({
|
|
1332
1230
|
"data-slot": "card-header",
|
|
@@ -1339,7 +1237,7 @@ function CardHeader(_a) {
|
|
|
1339
1237
|
}
|
|
1340
1238
|
function CardTitle(_a) {
|
|
1341
1239
|
var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
|
|
1342
|
-
return /* @__PURE__ */ (0,
|
|
1240
|
+
return /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(
|
|
1343
1241
|
"div",
|
|
1344
1242
|
__spreadValues({
|
|
1345
1243
|
"data-slot": "card-title",
|
|
@@ -1349,7 +1247,7 @@ function CardTitle(_a) {
|
|
|
1349
1247
|
}
|
|
1350
1248
|
function CardDescription(_a) {
|
|
1351
1249
|
var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
|
|
1352
|
-
return /* @__PURE__ */ (0,
|
|
1250
|
+
return /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(
|
|
1353
1251
|
"div",
|
|
1354
1252
|
__spreadValues({
|
|
1355
1253
|
"data-slot": "card-description",
|
|
@@ -1359,7 +1257,7 @@ function CardDescription(_a) {
|
|
|
1359
1257
|
}
|
|
1360
1258
|
function CardAction(_a) {
|
|
1361
1259
|
var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
|
|
1362
|
-
return /* @__PURE__ */ (0,
|
|
1260
|
+
return /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(
|
|
1363
1261
|
"div",
|
|
1364
1262
|
__spreadValues({
|
|
1365
1263
|
"data-slot": "card-action",
|
|
@@ -1372,7 +1270,7 @@ function CardAction(_a) {
|
|
|
1372
1270
|
}
|
|
1373
1271
|
function CardContent(_a) {
|
|
1374
1272
|
var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
|
|
1375
|
-
return /* @__PURE__ */ (0,
|
|
1273
|
+
return /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(
|
|
1376
1274
|
"div",
|
|
1377
1275
|
__spreadValues({
|
|
1378
1276
|
"data-slot": "card-content",
|
|
@@ -1382,7 +1280,7 @@ function CardContent(_a) {
|
|
|
1382
1280
|
}
|
|
1383
1281
|
function CardFooter(_a) {
|
|
1384
1282
|
var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
|
|
1385
|
-
return /* @__PURE__ */ (0,
|
|
1283
|
+
return /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(
|
|
1386
1284
|
"div",
|
|
1387
1285
|
__spreadValues({
|
|
1388
1286
|
"data-slot": "card-footer",
|
|
@@ -1395,7 +1293,7 @@ function CardFooter(_a) {
|
|
|
1395
1293
|
var React2 = __toESM(require("react"), 1);
|
|
1396
1294
|
var import_embla_carousel_react = __toESM(require("embla-carousel-react"), 1);
|
|
1397
1295
|
var import_lucide_react4 = require("lucide-react");
|
|
1398
|
-
var
|
|
1296
|
+
var import_jsx_runtime11 = require("react/jsx-runtime");
|
|
1399
1297
|
var CarouselContext = React2.createContext(null);
|
|
1400
1298
|
function useCarousel() {
|
|
1401
1299
|
const context = React2.useContext(CarouselContext);
|
|
@@ -1464,7 +1362,7 @@ function Carousel(_a) {
|
|
|
1464
1362
|
api == null ? void 0 : api.off("select", onSelect);
|
|
1465
1363
|
};
|
|
1466
1364
|
}, [api, onSelect]);
|
|
1467
|
-
return /* @__PURE__ */ (0,
|
|
1365
|
+
return /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(
|
|
1468
1366
|
CarouselContext.Provider,
|
|
1469
1367
|
{
|
|
1470
1368
|
value: {
|
|
@@ -1477,7 +1375,7 @@ function Carousel(_a) {
|
|
|
1477
1375
|
canScrollPrev,
|
|
1478
1376
|
canScrollNext
|
|
1479
1377
|
},
|
|
1480
|
-
children: /* @__PURE__ */ (0,
|
|
1378
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(
|
|
1481
1379
|
"div",
|
|
1482
1380
|
__spreadProps(__spreadValues({
|
|
1483
1381
|
onKeyDownCapture: handleKeyDown,
|
|
@@ -1495,13 +1393,13 @@ function Carousel(_a) {
|
|
|
1495
1393
|
function CarouselContent(_a) {
|
|
1496
1394
|
var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
|
|
1497
1395
|
const { carouselRef, orientation } = useCarousel();
|
|
1498
|
-
return /* @__PURE__ */ (0,
|
|
1396
|
+
return /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(
|
|
1499
1397
|
"div",
|
|
1500
1398
|
{
|
|
1501
1399
|
ref: carouselRef,
|
|
1502
1400
|
className: "overflow-hidden",
|
|
1503
1401
|
"data-slot": "carousel-content",
|
|
1504
|
-
children: /* @__PURE__ */ (0,
|
|
1402
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(
|
|
1505
1403
|
"div",
|
|
1506
1404
|
__spreadValues({
|
|
1507
1405
|
className: cn(
|
|
@@ -1517,7 +1415,7 @@ function CarouselContent(_a) {
|
|
|
1517
1415
|
function CarouselItem(_a) {
|
|
1518
1416
|
var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
|
|
1519
1417
|
const { orientation } = useCarousel();
|
|
1520
|
-
return /* @__PURE__ */ (0,
|
|
1418
|
+
return /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(
|
|
1521
1419
|
"div",
|
|
1522
1420
|
__spreadValues({
|
|
1523
1421
|
role: "group",
|
|
@@ -1535,21 +1433,21 @@ function CarouselPrevious(_a) {
|
|
|
1535
1433
|
var _b = _a, {
|
|
1536
1434
|
className,
|
|
1537
1435
|
variant = "secondary",
|
|
1538
|
-
size = "icon"
|
|
1436
|
+
size = "icon-md"
|
|
1539
1437
|
} = _b, props = __objRest(_b, [
|
|
1540
1438
|
"className",
|
|
1541
1439
|
"variant",
|
|
1542
1440
|
"size"
|
|
1543
1441
|
]);
|
|
1544
1442
|
const { orientation, scrollPrev, canScrollPrev } = useCarousel();
|
|
1545
|
-
return /* @__PURE__ */ (0,
|
|
1443
|
+
return /* @__PURE__ */ (0, import_jsx_runtime11.jsxs)(
|
|
1546
1444
|
Button,
|
|
1547
1445
|
__spreadProps(__spreadValues({
|
|
1548
1446
|
"data-slot": "carousel-previous",
|
|
1549
1447
|
variant,
|
|
1550
1448
|
size,
|
|
1551
1449
|
className: cn(
|
|
1552
|
-
"absolute
|
|
1450
|
+
"absolute rounded-[6px]",
|
|
1553
1451
|
orientation === "horizontal" ? "top-1/2 -left-12 -translate-y-1/2" : "-top-12 left-1/2 -translate-x-1/2 rotate-90",
|
|
1554
1452
|
className
|
|
1555
1453
|
),
|
|
@@ -1557,8 +1455,8 @@ function CarouselPrevious(_a) {
|
|
|
1557
1455
|
onClick: scrollPrev
|
|
1558
1456
|
}, props), {
|
|
1559
1457
|
children: [
|
|
1560
|
-
/* @__PURE__ */ (0,
|
|
1561
|
-
/* @__PURE__ */ (0,
|
|
1458
|
+
/* @__PURE__ */ (0, import_jsx_runtime11.jsx)(import_lucide_react4.ArrowLeft, {}),
|
|
1459
|
+
/* @__PURE__ */ (0, import_jsx_runtime11.jsx)("span", { className: "sr-only", children: "Previous slide" })
|
|
1562
1460
|
]
|
|
1563
1461
|
})
|
|
1564
1462
|
);
|
|
@@ -1567,21 +1465,21 @@ function CarouselNext(_a) {
|
|
|
1567
1465
|
var _b = _a, {
|
|
1568
1466
|
className,
|
|
1569
1467
|
variant = "secondary",
|
|
1570
|
-
size = "icon"
|
|
1468
|
+
size = "icon-md"
|
|
1571
1469
|
} = _b, props = __objRest(_b, [
|
|
1572
1470
|
"className",
|
|
1573
1471
|
"variant",
|
|
1574
1472
|
"size"
|
|
1575
1473
|
]);
|
|
1576
1474
|
const { orientation, scrollNext, canScrollNext } = useCarousel();
|
|
1577
|
-
return /* @__PURE__ */ (0,
|
|
1475
|
+
return /* @__PURE__ */ (0, import_jsx_runtime11.jsxs)(
|
|
1578
1476
|
Button,
|
|
1579
1477
|
__spreadProps(__spreadValues({
|
|
1580
1478
|
"data-slot": "carousel-next",
|
|
1581
1479
|
variant,
|
|
1582
1480
|
size,
|
|
1583
1481
|
className: cn(
|
|
1584
|
-
"absolute
|
|
1482
|
+
"absolute rounded-[6px]",
|
|
1585
1483
|
orientation === "horizontal" ? "top-1/2 -right-12 -translate-y-1/2" : "-bottom-12 left-1/2 -translate-x-1/2 rotate-90",
|
|
1586
1484
|
className
|
|
1587
1485
|
),
|
|
@@ -1589,8 +1487,8 @@ function CarouselNext(_a) {
|
|
|
1589
1487
|
onClick: scrollNext
|
|
1590
1488
|
}, props), {
|
|
1591
1489
|
children: [
|
|
1592
|
-
/* @__PURE__ */ (0,
|
|
1593
|
-
/* @__PURE__ */ (0,
|
|
1490
|
+
/* @__PURE__ */ (0, import_jsx_runtime11.jsx)(import_lucide_react4.ArrowRight, {}),
|
|
1491
|
+
/* @__PURE__ */ (0, import_jsx_runtime11.jsx)("span", { className: "sr-only", children: "Next slide" })
|
|
1594
1492
|
]
|
|
1595
1493
|
})
|
|
1596
1494
|
);
|
|
@@ -1599,7 +1497,7 @@ function CarouselNext(_a) {
|
|
|
1599
1497
|
// components/ui/chart.tsx
|
|
1600
1498
|
var React3 = __toESM(require("react"), 1);
|
|
1601
1499
|
var RechartsPrimitive = __toESM(require("recharts"), 1);
|
|
1602
|
-
var
|
|
1500
|
+
var import_jsx_runtime12 = require("react/jsx-runtime");
|
|
1603
1501
|
var THEMES = { light: "", dark: ".dark" };
|
|
1604
1502
|
var ChartContext = React3.createContext(null);
|
|
1605
1503
|
function useChart() {
|
|
@@ -1623,7 +1521,7 @@ function ChartContainer(_a) {
|
|
|
1623
1521
|
]);
|
|
1624
1522
|
const uniqueId = React3.useId();
|
|
1625
1523
|
const chartId = `chart-${id || uniqueId.replace(/:/g, "")}`;
|
|
1626
|
-
return /* @__PURE__ */ (0,
|
|
1524
|
+
return /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(ChartContext.Provider, { value: { config }, children: /* @__PURE__ */ (0, import_jsx_runtime12.jsxs)(
|
|
1627
1525
|
"div",
|
|
1628
1526
|
__spreadProps(__spreadValues({
|
|
1629
1527
|
"data-slot": "chart",
|
|
@@ -1634,8 +1532,8 @@ function ChartContainer(_a) {
|
|
|
1634
1532
|
)
|
|
1635
1533
|
}, props), {
|
|
1636
1534
|
children: [
|
|
1637
|
-
/* @__PURE__ */ (0,
|
|
1638
|
-
/* @__PURE__ */ (0,
|
|
1535
|
+
/* @__PURE__ */ (0, import_jsx_runtime12.jsx)(ChartStyle, { id: chartId, config }),
|
|
1536
|
+
/* @__PURE__ */ (0, import_jsx_runtime12.jsx)(RechartsPrimitive.ResponsiveContainer, { children })
|
|
1639
1537
|
]
|
|
1640
1538
|
})
|
|
1641
1539
|
) });
|
|
@@ -1647,7 +1545,7 @@ var ChartStyle = ({ id, config }) => {
|
|
|
1647
1545
|
if (!colorConfig.length) {
|
|
1648
1546
|
return null;
|
|
1649
1547
|
}
|
|
1650
|
-
return /* @__PURE__ */ (0,
|
|
1548
|
+
return /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(
|
|
1651
1549
|
"style",
|
|
1652
1550
|
{
|
|
1653
1551
|
dangerouslySetInnerHTML: {
|
|
@@ -1693,12 +1591,12 @@ function ChartTooltipContent({
|
|
|
1693
1591
|
const itemConfig = getPayloadConfigFromPayload(config, item, key);
|
|
1694
1592
|
const value = !labelKey && typeof label === "string" ? ((_a = config[label]) == null ? void 0 : _a.label) || label : itemConfig == null ? void 0 : itemConfig.label;
|
|
1695
1593
|
if (labelFormatter) {
|
|
1696
|
-
return /* @__PURE__ */ (0,
|
|
1594
|
+
return /* @__PURE__ */ (0, import_jsx_runtime12.jsx)("div", { className: cn("font-medium", labelClassName), children: labelFormatter(value, payload) });
|
|
1697
1595
|
}
|
|
1698
1596
|
if (!value) {
|
|
1699
1597
|
return null;
|
|
1700
1598
|
}
|
|
1701
|
-
return /* @__PURE__ */ (0,
|
|
1599
|
+
return /* @__PURE__ */ (0, import_jsx_runtime12.jsx)("div", { className: cn("font-medium", labelClassName), children: value });
|
|
1702
1600
|
}, [
|
|
1703
1601
|
label,
|
|
1704
1602
|
labelFormatter,
|
|
@@ -1712,7 +1610,7 @@ function ChartTooltipContent({
|
|
|
1712
1610
|
return null;
|
|
1713
1611
|
}
|
|
1714
1612
|
const nestLabel = payload.length === 1 && indicator !== "dot";
|
|
1715
|
-
return /* @__PURE__ */ (0,
|
|
1613
|
+
return /* @__PURE__ */ (0, import_jsx_runtime12.jsxs)(
|
|
1716
1614
|
"div",
|
|
1717
1615
|
{
|
|
1718
1616
|
className: cn(
|
|
@@ -1721,19 +1619,19 @@ function ChartTooltipContent({
|
|
|
1721
1619
|
),
|
|
1722
1620
|
children: [
|
|
1723
1621
|
!nestLabel ? tooltipLabel : null,
|
|
1724
|
-
/* @__PURE__ */ (0,
|
|
1622
|
+
/* @__PURE__ */ (0, import_jsx_runtime12.jsx)("div", { className: "grid gap-1.5", children: payload.filter((item) => item.type !== "none").map((item, index) => {
|
|
1725
1623
|
const key = `${nameKey || item.name || item.dataKey || "value"}`;
|
|
1726
1624
|
const itemConfig = getPayloadConfigFromPayload(config, item, key);
|
|
1727
1625
|
const indicatorColor = color || item.payload.fill || item.color;
|
|
1728
|
-
return /* @__PURE__ */ (0,
|
|
1626
|
+
return /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(
|
|
1729
1627
|
"div",
|
|
1730
1628
|
{
|
|
1731
1629
|
className: cn(
|
|
1732
1630
|
"flex w-full flex-wrap items-stretch gap-2 [&>svg]:h-2.5 [&>svg]:w-2.5 [&>svg]:text-muted-foreground",
|
|
1733
1631
|
indicator === "dot" && "items-center"
|
|
1734
1632
|
),
|
|
1735
|
-
children: formatter && (item == null ? void 0 : item.value) !== void 0 && item.name ? formatter(item.value, item.name, item, index, item.payload) : /* @__PURE__ */ (0,
|
|
1736
|
-
(itemConfig == null ? void 0 : itemConfig.icon) ? /* @__PURE__ */ (0,
|
|
1633
|
+
children: formatter && (item == null ? void 0 : item.value) !== void 0 && item.name ? formatter(item.value, item.name, item, index, item.payload) : /* @__PURE__ */ (0, import_jsx_runtime12.jsxs)(import_jsx_runtime12.Fragment, { children: [
|
|
1634
|
+
(itemConfig == null ? void 0 : itemConfig.icon) ? /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(itemConfig.icon, {}) : !hideIndicator && /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(
|
|
1737
1635
|
"div",
|
|
1738
1636
|
{
|
|
1739
1637
|
className: cn(
|
|
@@ -1751,7 +1649,7 @@ function ChartTooltipContent({
|
|
|
1751
1649
|
}
|
|
1752
1650
|
}
|
|
1753
1651
|
),
|
|
1754
|
-
/* @__PURE__ */ (0,
|
|
1652
|
+
/* @__PURE__ */ (0, import_jsx_runtime12.jsxs)(
|
|
1755
1653
|
"div",
|
|
1756
1654
|
{
|
|
1757
1655
|
className: cn(
|
|
@@ -1759,11 +1657,11 @@ function ChartTooltipContent({
|
|
|
1759
1657
|
nestLabel ? "items-end" : "items-center"
|
|
1760
1658
|
),
|
|
1761
1659
|
children: [
|
|
1762
|
-
/* @__PURE__ */ (0,
|
|
1660
|
+
/* @__PURE__ */ (0, import_jsx_runtime12.jsxs)("div", { className: "grid gap-1.5", children: [
|
|
1763
1661
|
nestLabel ? tooltipLabel : null,
|
|
1764
|
-
/* @__PURE__ */ (0,
|
|
1662
|
+
/* @__PURE__ */ (0, import_jsx_runtime12.jsx)("span", { className: "text-muted-foreground", children: (itemConfig == null ? void 0 : itemConfig.label) || item.name })
|
|
1765
1663
|
] }),
|
|
1766
|
-
item.value && /* @__PURE__ */ (0,
|
|
1664
|
+
item.value && /* @__PURE__ */ (0, import_jsx_runtime12.jsx)("span", { className: "font-mono font-medium text-foreground tabular-nums", children: item.value.toLocaleString() })
|
|
1767
1665
|
]
|
|
1768
1666
|
}
|
|
1769
1667
|
)
|
|
@@ -1788,7 +1686,7 @@ function ChartLegendContent({
|
|
|
1788
1686
|
if (!(payload == null ? void 0 : payload.length)) {
|
|
1789
1687
|
return null;
|
|
1790
1688
|
}
|
|
1791
|
-
return /* @__PURE__ */ (0,
|
|
1689
|
+
return /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(
|
|
1792
1690
|
"div",
|
|
1793
1691
|
{
|
|
1794
1692
|
className: cn(
|
|
@@ -1799,14 +1697,14 @@ function ChartLegendContent({
|
|
|
1799
1697
|
children: payload.filter((item) => item.type !== "none").map((item) => {
|
|
1800
1698
|
const key = `${nameKey || item.dataKey || "value"}`;
|
|
1801
1699
|
const itemConfig = getPayloadConfigFromPayload(config, item, key);
|
|
1802
|
-
return /* @__PURE__ */ (0,
|
|
1700
|
+
return /* @__PURE__ */ (0, import_jsx_runtime12.jsxs)(
|
|
1803
1701
|
"div",
|
|
1804
1702
|
{
|
|
1805
1703
|
className: cn(
|
|
1806
1704
|
"flex items-center gap-1.5 [&>svg]:h-3 [&>svg]:w-3 [&>svg]:text-muted-foreground"
|
|
1807
1705
|
),
|
|
1808
1706
|
children: [
|
|
1809
|
-
(itemConfig == null ? void 0 : itemConfig.icon) && !hideIcon ? /* @__PURE__ */ (0,
|
|
1707
|
+
(itemConfig == null ? void 0 : itemConfig.icon) && !hideIcon ? /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(itemConfig.icon, {}) : /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(
|
|
1810
1708
|
"div",
|
|
1811
1709
|
{
|
|
1812
1710
|
className: "h-2 w-2 shrink-0 rounded-[2px]",
|
|
@@ -1840,29 +1738,29 @@ function getPayloadConfigFromPayload(config, payload, key) {
|
|
|
1840
1738
|
|
|
1841
1739
|
// components/ui/checkbox.tsx
|
|
1842
1740
|
var import_lucide_react5 = require("lucide-react");
|
|
1843
|
-
var
|
|
1844
|
-
var
|
|
1741
|
+
var import_radix_ui8 = require("radix-ui");
|
|
1742
|
+
var import_jsx_runtime13 = require("react/jsx-runtime");
|
|
1845
1743
|
function Checkbox(_a) {
|
|
1846
1744
|
var _b = _a, {
|
|
1847
1745
|
className
|
|
1848
1746
|
} = _b, props = __objRest(_b, [
|
|
1849
1747
|
"className"
|
|
1850
1748
|
]);
|
|
1851
|
-
return /* @__PURE__ */ (0,
|
|
1852
|
-
|
|
1749
|
+
return /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(
|
|
1750
|
+
import_radix_ui8.Checkbox.Root,
|
|
1853
1751
|
__spreadProps(__spreadValues({
|
|
1854
1752
|
"data-slot": "checkbox",
|
|
1855
1753
|
className: cn(
|
|
1856
|
-
"peer size-4 shrink-0 rounded-[
|
|
1754
|
+
"peer size-4 shrink-0 rounded-[2px] border border-input shadow-xs transition-shadow outline-none focus-visible:border-ring focus-visible:ring-[3px] focus-visible:ring-ring/50 disabled:cursor-not-allowed disabled:opacity-50 aria-invalid:border-destructive aria-invalid:ring-destructive/20 data-[state=checked]:border-primary data-[state=checked]:bg-primary data-[state=checked]:text-primary-foreground dark:bg-input/30 dark:aria-invalid:ring-destructive/40 dark:data-[state=checked]:bg-primary",
|
|
1857
1755
|
className
|
|
1858
1756
|
)
|
|
1859
1757
|
}, props), {
|
|
1860
|
-
children: /* @__PURE__ */ (0,
|
|
1861
|
-
|
|
1758
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(
|
|
1759
|
+
import_radix_ui8.Checkbox.Indicator,
|
|
1862
1760
|
{
|
|
1863
1761
|
"data-slot": "checkbox-indicator",
|
|
1864
1762
|
className: "grid place-content-center text-current transition-none",
|
|
1865
|
-
children: /* @__PURE__ */ (0,
|
|
1763
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(import_lucide_react5.CheckIcon, { className: "size-3.5" })
|
|
1866
1764
|
}
|
|
1867
1765
|
)
|
|
1868
1766
|
})
|
|
@@ -1870,16 +1768,16 @@ function Checkbox(_a) {
|
|
|
1870
1768
|
}
|
|
1871
1769
|
|
|
1872
1770
|
// components/ui/collapsible.tsx
|
|
1873
|
-
var
|
|
1874
|
-
var
|
|
1771
|
+
var import_radix_ui9 = require("radix-ui");
|
|
1772
|
+
var import_jsx_runtime14 = require("react/jsx-runtime");
|
|
1875
1773
|
function Collapsible(_a) {
|
|
1876
1774
|
var props = __objRest(_a, []);
|
|
1877
|
-
return /* @__PURE__ */ (0,
|
|
1775
|
+
return /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(import_radix_ui9.Collapsible.Root, __spreadValues({ "data-slot": "collapsible" }, props));
|
|
1878
1776
|
}
|
|
1879
1777
|
function CollapsibleTrigger(_a) {
|
|
1880
1778
|
var props = __objRest(_a, []);
|
|
1881
|
-
return /* @__PURE__ */ (0,
|
|
1882
|
-
|
|
1779
|
+
return /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(
|
|
1780
|
+
import_radix_ui9.Collapsible.CollapsibleTrigger,
|
|
1883
1781
|
__spreadValues({
|
|
1884
1782
|
"data-slot": "collapsible-trigger"
|
|
1885
1783
|
}, props)
|
|
@@ -1887,8 +1785,8 @@ function CollapsibleTrigger(_a) {
|
|
|
1887
1785
|
}
|
|
1888
1786
|
function CollapsibleContent(_a) {
|
|
1889
1787
|
var props = __objRest(_a, []);
|
|
1890
|
-
return /* @__PURE__ */ (0,
|
|
1891
|
-
|
|
1788
|
+
return /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(
|
|
1789
|
+
import_radix_ui9.Collapsible.CollapsibleContent,
|
|
1892
1790
|
__spreadValues({
|
|
1893
1791
|
"data-slot": "collapsible-content"
|
|
1894
1792
|
}, props)
|
|
@@ -1901,13 +1799,13 @@ var import_react = require("@base-ui/react");
|
|
|
1901
1799
|
var import_lucide_react6 = require("lucide-react");
|
|
1902
1800
|
|
|
1903
1801
|
// components/ui/input-group.tsx
|
|
1904
|
-
var
|
|
1802
|
+
var import_class_variance_authority4 = require("class-variance-authority");
|
|
1905
1803
|
|
|
1906
1804
|
// components/ui/input.tsx
|
|
1907
|
-
var
|
|
1805
|
+
var import_jsx_runtime15 = require("react/jsx-runtime");
|
|
1908
1806
|
function Input(_a) {
|
|
1909
1807
|
var _b = _a, { className, type } = _b, props = __objRest(_b, ["className", "type"]);
|
|
1910
|
-
return /* @__PURE__ */ (0,
|
|
1808
|
+
return /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(
|
|
1911
1809
|
"input",
|
|
1912
1810
|
__spreadValues({
|
|
1913
1811
|
type,
|
|
@@ -1923,10 +1821,10 @@ function Input(_a) {
|
|
|
1923
1821
|
}
|
|
1924
1822
|
|
|
1925
1823
|
// components/ui/textarea.tsx
|
|
1926
|
-
var
|
|
1824
|
+
var import_jsx_runtime16 = require("react/jsx-runtime");
|
|
1927
1825
|
function Textarea(_a) {
|
|
1928
1826
|
var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
|
|
1929
|
-
return /* @__PURE__ */ (0,
|
|
1827
|
+
return /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(
|
|
1930
1828
|
"textarea",
|
|
1931
1829
|
__spreadValues({
|
|
1932
1830
|
"data-slot": "textarea",
|
|
@@ -1939,10 +1837,10 @@ function Textarea(_a) {
|
|
|
1939
1837
|
}
|
|
1940
1838
|
|
|
1941
1839
|
// components/ui/input-group.tsx
|
|
1942
|
-
var
|
|
1840
|
+
var import_jsx_runtime17 = require("react/jsx-runtime");
|
|
1943
1841
|
function InputGroup(_a) {
|
|
1944
1842
|
var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
|
|
1945
|
-
return /* @__PURE__ */ (0,
|
|
1843
|
+
return /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
|
|
1946
1844
|
"div",
|
|
1947
1845
|
__spreadValues({
|
|
1948
1846
|
"data-slot": "input-group",
|
|
@@ -1964,7 +1862,7 @@ function InputGroup(_a) {
|
|
|
1964
1862
|
}, props)
|
|
1965
1863
|
);
|
|
1966
1864
|
}
|
|
1967
|
-
var inputGroupAddonVariants = (0,
|
|
1865
|
+
var inputGroupAddonVariants = (0, import_class_variance_authority4.cva)(
|
|
1968
1866
|
"flex h-auto cursor-text items-center justify-center gap-2 py-1.5 text-sm font-medium text-muted-foreground select-none group-data-[disabled=true]/input-group:opacity-50 [&>kbd]:rounded-[calc(var(--radius)-5px)] [&>svg:not([class*='size-'])]:size-4",
|
|
1969
1867
|
{
|
|
1970
1868
|
variants: {
|
|
@@ -1988,7 +1886,7 @@ function InputGroupAddon(_a) {
|
|
|
1988
1886
|
"className",
|
|
1989
1887
|
"align"
|
|
1990
1888
|
]);
|
|
1991
|
-
return /* @__PURE__ */ (0,
|
|
1889
|
+
return /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
|
|
1992
1890
|
"div",
|
|
1993
1891
|
__spreadValues({
|
|
1994
1892
|
role: "group",
|
|
@@ -2005,7 +1903,7 @@ function InputGroupAddon(_a) {
|
|
|
2005
1903
|
}, props)
|
|
2006
1904
|
);
|
|
2007
1905
|
}
|
|
2008
|
-
var inputGroupButtonVariants = (0,
|
|
1906
|
+
var inputGroupButtonVariants = (0, import_class_variance_authority4.cva)(
|
|
2009
1907
|
"flex items-center gap-2 text-sm shadow-none",
|
|
2010
1908
|
{
|
|
2011
1909
|
variants: {
|
|
@@ -2033,7 +1931,7 @@ function InputGroupButton(_a) {
|
|
|
2033
1931
|
"variant",
|
|
2034
1932
|
"size"
|
|
2035
1933
|
]);
|
|
2036
|
-
return /* @__PURE__ */ (0,
|
|
1934
|
+
return /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
|
|
2037
1935
|
Button,
|
|
2038
1936
|
__spreadValues({
|
|
2039
1937
|
type,
|
|
@@ -2045,7 +1943,7 @@ function InputGroupButton(_a) {
|
|
|
2045
1943
|
}
|
|
2046
1944
|
function InputGroupText(_a) {
|
|
2047
1945
|
var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
|
|
2048
|
-
return /* @__PURE__ */ (0,
|
|
1946
|
+
return /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
|
|
2049
1947
|
"span",
|
|
2050
1948
|
__spreadValues({
|
|
2051
1949
|
className: cn(
|
|
@@ -2061,7 +1959,7 @@ function InputGroupInput(_a) {
|
|
|
2061
1959
|
} = _b, props = __objRest(_b, [
|
|
2062
1960
|
"className"
|
|
2063
1961
|
]);
|
|
2064
|
-
return /* @__PURE__ */ (0,
|
|
1962
|
+
return /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
|
|
2065
1963
|
Input,
|
|
2066
1964
|
__spreadValues({
|
|
2067
1965
|
"data-slot": "input-group-control",
|
|
@@ -2078,7 +1976,7 @@ function InputGroupTextarea(_a) {
|
|
|
2078
1976
|
} = _b, props = __objRest(_b, [
|
|
2079
1977
|
"className"
|
|
2080
1978
|
]);
|
|
2081
|
-
return /* @__PURE__ */ (0,
|
|
1979
|
+
return /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
|
|
2082
1980
|
Textarea,
|
|
2083
1981
|
__spreadValues({
|
|
2084
1982
|
"data-slot": "input-group-control",
|
|
@@ -2091,11 +1989,11 @@ function InputGroupTextarea(_a) {
|
|
|
2091
1989
|
}
|
|
2092
1990
|
|
|
2093
1991
|
// components/ui/combobox.tsx
|
|
2094
|
-
var
|
|
1992
|
+
var import_jsx_runtime18 = require("react/jsx-runtime");
|
|
2095
1993
|
var Combobox = import_react.Combobox.Root;
|
|
2096
1994
|
function ComboboxValue(_a) {
|
|
2097
1995
|
var props = __objRest(_a, []);
|
|
2098
|
-
return /* @__PURE__ */ (0,
|
|
1996
|
+
return /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(import_react.Combobox.Value, __spreadValues({ "data-slot": "combobox-value" }, props));
|
|
2099
1997
|
}
|
|
2100
1998
|
function ComboboxTrigger(_a) {
|
|
2101
1999
|
var _b = _a, {
|
|
@@ -2105,7 +2003,7 @@ function ComboboxTrigger(_a) {
|
|
|
2105
2003
|
"className",
|
|
2106
2004
|
"children"
|
|
2107
2005
|
]);
|
|
2108
|
-
return /* @__PURE__ */ (0,
|
|
2006
|
+
return /* @__PURE__ */ (0, import_jsx_runtime18.jsxs)(
|
|
2109
2007
|
import_react.Combobox.Trigger,
|
|
2110
2008
|
__spreadProps(__spreadValues({
|
|
2111
2009
|
"data-slot": "combobox-trigger",
|
|
@@ -2113,7 +2011,7 @@ function ComboboxTrigger(_a) {
|
|
|
2113
2011
|
}, props), {
|
|
2114
2012
|
children: [
|
|
2115
2013
|
children,
|
|
2116
|
-
/* @__PURE__ */ (0,
|
|
2014
|
+
/* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
|
|
2117
2015
|
import_lucide_react6.ChevronDownIcon,
|
|
2118
2016
|
{
|
|
2119
2017
|
"data-slot": "combobox-trigger-icon",
|
|
@@ -2126,14 +2024,14 @@ function ComboboxTrigger(_a) {
|
|
|
2126
2024
|
}
|
|
2127
2025
|
function ComboboxClear(_a) {
|
|
2128
2026
|
var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
|
|
2129
|
-
return /* @__PURE__ */ (0,
|
|
2027
|
+
return /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
|
|
2130
2028
|
import_react.Combobox.Clear,
|
|
2131
2029
|
__spreadProps(__spreadValues({
|
|
2132
2030
|
"data-slot": "combobox-clear",
|
|
2133
|
-
render: /* @__PURE__ */ (0,
|
|
2031
|
+
render: /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(InputGroupButton, { variant: "secondary", size: "icon-xs" }),
|
|
2134
2032
|
className: cn(className)
|
|
2135
2033
|
}, props), {
|
|
2136
|
-
children: /* @__PURE__ */ (0,
|
|
2034
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(import_lucide_react6.XIcon, { className: "pointer-events-none" })
|
|
2137
2035
|
})
|
|
2138
2036
|
);
|
|
2139
2037
|
}
|
|
@@ -2151,15 +2049,15 @@ function ComboboxInput(_a) {
|
|
|
2151
2049
|
"showTrigger",
|
|
2152
2050
|
"showClear"
|
|
2153
2051
|
]);
|
|
2154
|
-
return /* @__PURE__ */ (0,
|
|
2155
|
-
/* @__PURE__ */ (0,
|
|
2052
|
+
return /* @__PURE__ */ (0, import_jsx_runtime18.jsxs)(InputGroup, { className: cn("w-auto", className), children: [
|
|
2053
|
+
/* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
|
|
2156
2054
|
import_react.Combobox.Input,
|
|
2157
2055
|
__spreadValues({
|
|
2158
|
-
render: /* @__PURE__ */ (0,
|
|
2056
|
+
render: /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(InputGroupInput, { disabled })
|
|
2159
2057
|
}, props)
|
|
2160
2058
|
),
|
|
2161
|
-
/* @__PURE__ */ (0,
|
|
2162
|
-
showTrigger && /* @__PURE__ */ (0,
|
|
2059
|
+
/* @__PURE__ */ (0, import_jsx_runtime18.jsxs)(InputGroupAddon, { align: "inline-end", children: [
|
|
2060
|
+
showTrigger && /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
|
|
2163
2061
|
InputGroupButton,
|
|
2164
2062
|
{
|
|
2165
2063
|
size: "icon-xs",
|
|
@@ -2168,10 +2066,10 @@ function ComboboxInput(_a) {
|
|
|
2168
2066
|
"data-slot": "input-group-button",
|
|
2169
2067
|
className: "group-has-data-[slot=combobox-clear]/input-group:hidden data-pressed:bg-transparent",
|
|
2170
2068
|
disabled,
|
|
2171
|
-
children: /* @__PURE__ */ (0,
|
|
2069
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(ComboboxTrigger, {})
|
|
2172
2070
|
}
|
|
2173
2071
|
),
|
|
2174
|
-
showClear && /* @__PURE__ */ (0,
|
|
2072
|
+
showClear && /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(ComboboxClear, { disabled })
|
|
2175
2073
|
] }),
|
|
2176
2074
|
children
|
|
2177
2075
|
] });
|
|
@@ -2192,7 +2090,7 @@ function ComboboxContent(_a) {
|
|
|
2192
2090
|
"alignOffset",
|
|
2193
2091
|
"anchor"
|
|
2194
2092
|
]);
|
|
2195
|
-
return /* @__PURE__ */ (0,
|
|
2093
|
+
return /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(import_react.Combobox.Portal, { children: /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
|
|
2196
2094
|
import_react.Combobox.Positioner,
|
|
2197
2095
|
{
|
|
2198
2096
|
side,
|
|
@@ -2201,7 +2099,7 @@ function ComboboxContent(_a) {
|
|
|
2201
2099
|
alignOffset,
|
|
2202
2100
|
anchor,
|
|
2203
2101
|
className: "isolate z-50",
|
|
2204
|
-
children: /* @__PURE__ */ (0,
|
|
2102
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
|
|
2205
2103
|
import_react.Combobox.Popup,
|
|
2206
2104
|
__spreadValues({
|
|
2207
2105
|
"data-slot": "combobox-content",
|
|
@@ -2217,7 +2115,7 @@ function ComboboxContent(_a) {
|
|
|
2217
2115
|
}
|
|
2218
2116
|
function ComboboxList(_a) {
|
|
2219
2117
|
var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
|
|
2220
|
-
return /* @__PURE__ */ (0,
|
|
2118
|
+
return /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
|
|
2221
2119
|
import_react.Combobox.List,
|
|
2222
2120
|
__spreadValues({
|
|
2223
2121
|
"data-slot": "combobox-list",
|
|
@@ -2236,7 +2134,7 @@ function ComboboxItem(_a) {
|
|
|
2236
2134
|
"className",
|
|
2237
2135
|
"children"
|
|
2238
2136
|
]);
|
|
2239
|
-
return /* @__PURE__ */ (0,
|
|
2137
|
+
return /* @__PURE__ */ (0, import_jsx_runtime18.jsxs)(
|
|
2240
2138
|
import_react.Combobox.Item,
|
|
2241
2139
|
__spreadProps(__spreadValues({
|
|
2242
2140
|
"data-slot": "combobox-item",
|
|
@@ -2247,12 +2145,12 @@ function ComboboxItem(_a) {
|
|
|
2247
2145
|
}, props), {
|
|
2248
2146
|
children: [
|
|
2249
2147
|
children,
|
|
2250
|
-
/* @__PURE__ */ (0,
|
|
2148
|
+
/* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
|
|
2251
2149
|
import_react.Combobox.ItemIndicator,
|
|
2252
2150
|
{
|
|
2253
2151
|
"data-slot": "combobox-item-indicator",
|
|
2254
|
-
render: /* @__PURE__ */ (0,
|
|
2255
|
-
children: /* @__PURE__ */ (0,
|
|
2152
|
+
render: /* @__PURE__ */ (0, import_jsx_runtime18.jsx)("span", { className: "pointer-events-none absolute right-2 flex size-4 items-center justify-center" }),
|
|
2153
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(import_lucide_react6.CheckIcon, { className: "pointer-events-none size-4 pointer-coarse:size-5" })
|
|
2256
2154
|
}
|
|
2257
2155
|
)
|
|
2258
2156
|
]
|
|
@@ -2261,7 +2159,7 @@ function ComboboxItem(_a) {
|
|
|
2261
2159
|
}
|
|
2262
2160
|
function ComboboxGroup(_a) {
|
|
2263
2161
|
var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
|
|
2264
|
-
return /* @__PURE__ */ (0,
|
|
2162
|
+
return /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
|
|
2265
2163
|
import_react.Combobox.Group,
|
|
2266
2164
|
__spreadValues({
|
|
2267
2165
|
"data-slot": "combobox-group",
|
|
@@ -2275,7 +2173,7 @@ function ComboboxLabel(_a) {
|
|
|
2275
2173
|
} = _b, props = __objRest(_b, [
|
|
2276
2174
|
"className"
|
|
2277
2175
|
]);
|
|
2278
|
-
return /* @__PURE__ */ (0,
|
|
2176
|
+
return /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
|
|
2279
2177
|
import_react.Combobox.GroupLabel,
|
|
2280
2178
|
__spreadValues({
|
|
2281
2179
|
"data-slot": "combobox-label",
|
|
@@ -2288,11 +2186,11 @@ function ComboboxLabel(_a) {
|
|
|
2288
2186
|
}
|
|
2289
2187
|
function ComboboxCollection(_a) {
|
|
2290
2188
|
var props = __objRest(_a, []);
|
|
2291
|
-
return /* @__PURE__ */ (0,
|
|
2189
|
+
return /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(import_react.Combobox.Collection, __spreadValues({ "data-slot": "combobox-collection" }, props));
|
|
2292
2190
|
}
|
|
2293
2191
|
function ComboboxEmpty(_a) {
|
|
2294
2192
|
var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
|
|
2295
|
-
return /* @__PURE__ */ (0,
|
|
2193
|
+
return /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
|
|
2296
2194
|
import_react.Combobox.Empty,
|
|
2297
2195
|
__spreadValues({
|
|
2298
2196
|
"data-slot": "combobox-empty",
|
|
@@ -2309,7 +2207,7 @@ function ComboboxSeparator(_a) {
|
|
|
2309
2207
|
} = _b, props = __objRest(_b, [
|
|
2310
2208
|
"className"
|
|
2311
2209
|
]);
|
|
2312
|
-
return /* @__PURE__ */ (0,
|
|
2210
|
+
return /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
|
|
2313
2211
|
import_react.Combobox.Separator,
|
|
2314
2212
|
__spreadValues({
|
|
2315
2213
|
"data-slot": "combobox-separator",
|
|
@@ -2323,7 +2221,7 @@ function ComboboxChips(_a) {
|
|
|
2323
2221
|
} = _b, props = __objRest(_b, [
|
|
2324
2222
|
"className"
|
|
2325
2223
|
]);
|
|
2326
|
-
return /* @__PURE__ */ (0,
|
|
2224
|
+
return /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
|
|
2327
2225
|
import_react.Combobox.Chips,
|
|
2328
2226
|
__spreadValues({
|
|
2329
2227
|
"data-slot": "combobox-chips",
|
|
@@ -2344,7 +2242,7 @@ function ComboboxChip(_a) {
|
|
|
2344
2242
|
"children",
|
|
2345
2243
|
"showRemove"
|
|
2346
2244
|
]);
|
|
2347
|
-
return /* @__PURE__ */ (0,
|
|
2245
|
+
return /* @__PURE__ */ (0, import_jsx_runtime18.jsxs)(
|
|
2348
2246
|
import_react.Combobox.Chip,
|
|
2349
2247
|
__spreadProps(__spreadValues({
|
|
2350
2248
|
"data-slot": "combobox-chip",
|
|
@@ -2355,13 +2253,13 @@ function ComboboxChip(_a) {
|
|
|
2355
2253
|
}, props), {
|
|
2356
2254
|
children: [
|
|
2357
2255
|
children,
|
|
2358
|
-
showRemove && /* @__PURE__ */ (0,
|
|
2256
|
+
showRemove && /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
|
|
2359
2257
|
import_react.Combobox.ChipRemove,
|
|
2360
2258
|
{
|
|
2361
|
-
render: /* @__PURE__ */ (0,
|
|
2259
|
+
render: /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(Button, { variant: "secondary", size: "icon-xs" }),
|
|
2362
2260
|
className: "-ml-1 opacity-50 hover:opacity-100",
|
|
2363
2261
|
"data-slot": "combobox-chip-remove",
|
|
2364
|
-
children: /* @__PURE__ */ (0,
|
|
2262
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(import_lucide_react6.XIcon, { className: "pointer-events-none" })
|
|
2365
2263
|
}
|
|
2366
2264
|
)
|
|
2367
2265
|
]
|
|
@@ -2376,7 +2274,7 @@ function ComboboxChipsInput(_a) {
|
|
|
2376
2274
|
"className",
|
|
2377
2275
|
"children"
|
|
2378
2276
|
]);
|
|
2379
|
-
return /* @__PURE__ */ (0,
|
|
2277
|
+
return /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
|
|
2380
2278
|
import_react.Combobox.Input,
|
|
2381
2279
|
__spreadValues({
|
|
2382
2280
|
"data-slot": "combobox-chip-input",
|
|
@@ -2394,23 +2292,23 @@ var import_lucide_react8 = require("lucide-react");
|
|
|
2394
2292
|
|
|
2395
2293
|
// components/ui/dialog.tsx
|
|
2396
2294
|
var import_lucide_react7 = require("lucide-react");
|
|
2397
|
-
var
|
|
2398
|
-
var
|
|
2295
|
+
var import_radix_ui10 = require("radix-ui");
|
|
2296
|
+
var import_jsx_runtime19 = require("react/jsx-runtime");
|
|
2399
2297
|
function Dialog(_a) {
|
|
2400
2298
|
var props = __objRest(_a, []);
|
|
2401
|
-
return /* @__PURE__ */ (0,
|
|
2299
|
+
return /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(import_radix_ui10.Dialog.Root, __spreadValues({ "data-slot": "dialog" }, props));
|
|
2402
2300
|
}
|
|
2403
2301
|
function DialogTrigger(_a) {
|
|
2404
2302
|
var props = __objRest(_a, []);
|
|
2405
|
-
return /* @__PURE__ */ (0,
|
|
2303
|
+
return /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(import_radix_ui10.Dialog.Trigger, __spreadValues({ "data-slot": "dialog-trigger" }, props));
|
|
2406
2304
|
}
|
|
2407
2305
|
function DialogPortal(_a) {
|
|
2408
2306
|
var props = __objRest(_a, []);
|
|
2409
|
-
return /* @__PURE__ */ (0,
|
|
2307
|
+
return /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(import_radix_ui10.Dialog.Portal, __spreadValues({ "data-slot": "dialog-portal" }, props));
|
|
2410
2308
|
}
|
|
2411
2309
|
function DialogClose(_a) {
|
|
2412
2310
|
var props = __objRest(_a, []);
|
|
2413
|
-
return /* @__PURE__ */ (0,
|
|
2311
|
+
return /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(import_radix_ui10.Dialog.Close, __spreadValues({ "data-slot": "dialog-close" }, props));
|
|
2414
2312
|
}
|
|
2415
2313
|
function DialogOverlay(_a) {
|
|
2416
2314
|
var _b = _a, {
|
|
@@ -2418,8 +2316,8 @@ function DialogOverlay(_a) {
|
|
|
2418
2316
|
} = _b, props = __objRest(_b, [
|
|
2419
2317
|
"className"
|
|
2420
2318
|
]);
|
|
2421
|
-
return /* @__PURE__ */ (0,
|
|
2422
|
-
|
|
2319
|
+
return /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(
|
|
2320
|
+
import_radix_ui10.Dialog.Overlay,
|
|
2423
2321
|
__spreadValues({
|
|
2424
2322
|
"data-slot": "dialog-overlay",
|
|
2425
2323
|
className: cn(
|
|
@@ -2439,10 +2337,10 @@ function DialogContent(_a) {
|
|
|
2439
2337
|
"children",
|
|
2440
2338
|
"showCloseButton"
|
|
2441
2339
|
]);
|
|
2442
|
-
return /* @__PURE__ */ (0,
|
|
2443
|
-
/* @__PURE__ */ (0,
|
|
2444
|
-
/* @__PURE__ */ (0,
|
|
2445
|
-
|
|
2340
|
+
return /* @__PURE__ */ (0, import_jsx_runtime19.jsxs)(DialogPortal, { "data-slot": "dialog-portal", children: [
|
|
2341
|
+
/* @__PURE__ */ (0, import_jsx_runtime19.jsx)(DialogOverlay, {}),
|
|
2342
|
+
/* @__PURE__ */ (0, import_jsx_runtime19.jsxs)(
|
|
2343
|
+
import_radix_ui10.Dialog.Content,
|
|
2446
2344
|
__spreadProps(__spreadValues({
|
|
2447
2345
|
"data-slot": "dialog-content",
|
|
2448
2346
|
className: cn(
|
|
@@ -2452,14 +2350,14 @@ function DialogContent(_a) {
|
|
|
2452
2350
|
}, props), {
|
|
2453
2351
|
children: [
|
|
2454
2352
|
children,
|
|
2455
|
-
showCloseButton && /* @__PURE__ */ (0,
|
|
2456
|
-
|
|
2353
|
+
showCloseButton && /* @__PURE__ */ (0, import_jsx_runtime19.jsxs)(
|
|
2354
|
+
import_radix_ui10.Dialog.Close,
|
|
2457
2355
|
{
|
|
2458
2356
|
"data-slot": "dialog-close",
|
|
2459
2357
|
className: "absolute top-4 right-4 rounded-xs opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:ring-2 focus:ring-ring focus:ring-offset-2 focus:outline-hidden disabled:pointer-events-none data-[state=open]:bg-accent data-[state=open]:text-muted-foreground [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",
|
|
2460
2358
|
children: [
|
|
2461
|
-
/* @__PURE__ */ (0,
|
|
2462
|
-
/* @__PURE__ */ (0,
|
|
2359
|
+
/* @__PURE__ */ (0, import_jsx_runtime19.jsx)(import_lucide_react7.XIcon, {}),
|
|
2360
|
+
/* @__PURE__ */ (0, import_jsx_runtime19.jsx)("span", { className: "sr-only", children: "Close" })
|
|
2463
2361
|
]
|
|
2464
2362
|
}
|
|
2465
2363
|
)
|
|
@@ -2470,7 +2368,7 @@ function DialogContent(_a) {
|
|
|
2470
2368
|
}
|
|
2471
2369
|
function DialogHeader(_a) {
|
|
2472
2370
|
var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
|
|
2473
|
-
return /* @__PURE__ */ (0,
|
|
2371
|
+
return /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(
|
|
2474
2372
|
"div",
|
|
2475
2373
|
__spreadValues({
|
|
2476
2374
|
"data-slot": "dialog-header",
|
|
@@ -2488,7 +2386,7 @@ function DialogFooter(_a) {
|
|
|
2488
2386
|
"showCloseButton",
|
|
2489
2387
|
"children"
|
|
2490
2388
|
]);
|
|
2491
|
-
return /* @__PURE__ */ (0,
|
|
2389
|
+
return /* @__PURE__ */ (0, import_jsx_runtime19.jsxs)(
|
|
2492
2390
|
"div",
|
|
2493
2391
|
__spreadProps(__spreadValues({
|
|
2494
2392
|
"data-slot": "dialog-footer",
|
|
@@ -2499,7 +2397,7 @@ function DialogFooter(_a) {
|
|
|
2499
2397
|
}, props), {
|
|
2500
2398
|
children: [
|
|
2501
2399
|
children,
|
|
2502
|
-
showCloseButton && /* @__PURE__ */ (0,
|
|
2400
|
+
showCloseButton && /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(import_radix_ui10.Dialog.Close, { asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(Button, { variant: "secondary", children: "Close" }) })
|
|
2503
2401
|
]
|
|
2504
2402
|
})
|
|
2505
2403
|
);
|
|
@@ -2510,8 +2408,8 @@ function DialogTitle(_a) {
|
|
|
2510
2408
|
} = _b, props = __objRest(_b, [
|
|
2511
2409
|
"className"
|
|
2512
2410
|
]);
|
|
2513
|
-
return /* @__PURE__ */ (0,
|
|
2514
|
-
|
|
2411
|
+
return /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(
|
|
2412
|
+
import_radix_ui10.Dialog.Title,
|
|
2515
2413
|
__spreadValues({
|
|
2516
2414
|
"data-slot": "dialog-title",
|
|
2517
2415
|
className: cn("text-lg leading-none font-semibold", className)
|
|
@@ -2524,8 +2422,8 @@ function DialogDescription(_a) {
|
|
|
2524
2422
|
} = _b, props = __objRest(_b, [
|
|
2525
2423
|
"className"
|
|
2526
2424
|
]);
|
|
2527
|
-
return /* @__PURE__ */ (0,
|
|
2528
|
-
|
|
2425
|
+
return /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(
|
|
2426
|
+
import_radix_ui10.Dialog.Description,
|
|
2529
2427
|
__spreadValues({
|
|
2530
2428
|
"data-slot": "dialog-description",
|
|
2531
2429
|
className: cn("text-sm text-muted-foreground", className)
|
|
@@ -2534,14 +2432,14 @@ function DialogDescription(_a) {
|
|
|
2534
2432
|
}
|
|
2535
2433
|
|
|
2536
2434
|
// components/ui/command.tsx
|
|
2537
|
-
var
|
|
2435
|
+
var import_jsx_runtime20 = require("react/jsx-runtime");
|
|
2538
2436
|
function Command(_a) {
|
|
2539
2437
|
var _b = _a, {
|
|
2540
2438
|
className
|
|
2541
2439
|
} = _b, props = __objRest(_b, [
|
|
2542
2440
|
"className"
|
|
2543
2441
|
]);
|
|
2544
|
-
return /* @__PURE__ */ (0,
|
|
2442
|
+
return /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(
|
|
2545
2443
|
import_cmdk.Command,
|
|
2546
2444
|
__spreadValues({
|
|
2547
2445
|
"data-slot": "command",
|
|
@@ -2566,17 +2464,17 @@ function CommandDialog(_a) {
|
|
|
2566
2464
|
"className",
|
|
2567
2465
|
"showCloseButton"
|
|
2568
2466
|
]);
|
|
2569
|
-
return /* @__PURE__ */ (0,
|
|
2570
|
-
/* @__PURE__ */ (0,
|
|
2571
|
-
/* @__PURE__ */ (0,
|
|
2572
|
-
/* @__PURE__ */ (0,
|
|
2467
|
+
return /* @__PURE__ */ (0, import_jsx_runtime20.jsxs)(Dialog, __spreadProps(__spreadValues({}, props), { children: [
|
|
2468
|
+
/* @__PURE__ */ (0, import_jsx_runtime20.jsxs)(DialogHeader, { className: "sr-only", children: [
|
|
2469
|
+
/* @__PURE__ */ (0, import_jsx_runtime20.jsx)(DialogTitle, { children: title }),
|
|
2470
|
+
/* @__PURE__ */ (0, import_jsx_runtime20.jsx)(DialogDescription, { children: description })
|
|
2573
2471
|
] }),
|
|
2574
|
-
/* @__PURE__ */ (0,
|
|
2472
|
+
/* @__PURE__ */ (0, import_jsx_runtime20.jsx)(
|
|
2575
2473
|
DialogContent,
|
|
2576
2474
|
{
|
|
2577
2475
|
className: cn("overflow-hidden p-0", className),
|
|
2578
2476
|
showCloseButton,
|
|
2579
|
-
children: /* @__PURE__ */ (0,
|
|
2477
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(Command, { className: "**:data-[slot=command-input-wrapper]:h-12 [&_[cmdk-group-heading]]:px-2 [&_[cmdk-group-heading]]:font-medium [&_[cmdk-group-heading]]:text-muted-foreground [&_[cmdk-group]]:px-2 [&_[cmdk-group]:not([hidden])_~[cmdk-group]]:pt-0 [&_[cmdk-input-wrapper]_svg]:h-5 [&_[cmdk-input-wrapper]_svg]:w-5 [&_[cmdk-input]]:h-12 [&_[cmdk-item]]:px-2 [&_[cmdk-item]]:py-3 [&_[cmdk-item]_svg]:h-5 [&_[cmdk-item]_svg]:w-5", children })
|
|
2580
2478
|
}
|
|
2581
2479
|
)
|
|
2582
2480
|
] }));
|
|
@@ -2587,14 +2485,14 @@ function CommandInput(_a) {
|
|
|
2587
2485
|
} = _b, props = __objRest(_b, [
|
|
2588
2486
|
"className"
|
|
2589
2487
|
]);
|
|
2590
|
-
return /* @__PURE__ */ (0,
|
|
2488
|
+
return /* @__PURE__ */ (0, import_jsx_runtime20.jsxs)(
|
|
2591
2489
|
"div",
|
|
2592
2490
|
{
|
|
2593
2491
|
"data-slot": "command-input-wrapper",
|
|
2594
2492
|
className: "flex h-9 items-center gap-2 border-b px-3",
|
|
2595
2493
|
children: [
|
|
2596
|
-
/* @__PURE__ */ (0,
|
|
2597
|
-
/* @__PURE__ */ (0,
|
|
2494
|
+
/* @__PURE__ */ (0, import_jsx_runtime20.jsx)(import_lucide_react8.SearchIcon, { className: "size-4 shrink-0 opacity-50" }),
|
|
2495
|
+
/* @__PURE__ */ (0, import_jsx_runtime20.jsx)(
|
|
2598
2496
|
import_cmdk.Command.Input,
|
|
2599
2497
|
__spreadValues({
|
|
2600
2498
|
"data-slot": "command-input",
|
|
@@ -2614,7 +2512,7 @@ function CommandList(_a) {
|
|
|
2614
2512
|
} = _b, props = __objRest(_b, [
|
|
2615
2513
|
"className"
|
|
2616
2514
|
]);
|
|
2617
|
-
return /* @__PURE__ */ (0,
|
|
2515
|
+
return /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(
|
|
2618
2516
|
import_cmdk.Command.List,
|
|
2619
2517
|
__spreadValues({
|
|
2620
2518
|
"data-slot": "command-list",
|
|
@@ -2627,7 +2525,7 @@ function CommandList(_a) {
|
|
|
2627
2525
|
}
|
|
2628
2526
|
function CommandEmpty(_a) {
|
|
2629
2527
|
var props = __objRest(_a, []);
|
|
2630
|
-
return /* @__PURE__ */ (0,
|
|
2528
|
+
return /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(
|
|
2631
2529
|
import_cmdk.Command.Empty,
|
|
2632
2530
|
__spreadValues({
|
|
2633
2531
|
"data-slot": "command-empty",
|
|
@@ -2641,7 +2539,7 @@ function CommandGroup(_a) {
|
|
|
2641
2539
|
} = _b, props = __objRest(_b, [
|
|
2642
2540
|
"className"
|
|
2643
2541
|
]);
|
|
2644
|
-
return /* @__PURE__ */ (0,
|
|
2542
|
+
return /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(
|
|
2645
2543
|
import_cmdk.Command.Group,
|
|
2646
2544
|
__spreadValues({
|
|
2647
2545
|
"data-slot": "command-group",
|
|
@@ -2658,7 +2556,7 @@ function CommandSeparator(_a) {
|
|
|
2658
2556
|
} = _b, props = __objRest(_b, [
|
|
2659
2557
|
"className"
|
|
2660
2558
|
]);
|
|
2661
|
-
return /* @__PURE__ */ (0,
|
|
2559
|
+
return /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(
|
|
2662
2560
|
import_cmdk.Command.Separator,
|
|
2663
2561
|
__spreadValues({
|
|
2664
2562
|
"data-slot": "command-separator",
|
|
@@ -2672,7 +2570,7 @@ function CommandItem(_a) {
|
|
|
2672
2570
|
} = _b, props = __objRest(_b, [
|
|
2673
2571
|
"className"
|
|
2674
2572
|
]);
|
|
2675
|
-
return /* @__PURE__ */ (0,
|
|
2573
|
+
return /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(
|
|
2676
2574
|
import_cmdk.Command.Item,
|
|
2677
2575
|
__spreadValues({
|
|
2678
2576
|
"data-slot": "command-item",
|
|
@@ -2689,7 +2587,7 @@ function CommandShortcut(_a) {
|
|
|
2689
2587
|
} = _b, props = __objRest(_b, [
|
|
2690
2588
|
"className"
|
|
2691
2589
|
]);
|
|
2692
|
-
return /* @__PURE__ */ (0,
|
|
2590
|
+
return /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(
|
|
2693
2591
|
"span",
|
|
2694
2592
|
__spreadValues({
|
|
2695
2593
|
"data-slot": "command-shortcut",
|
|
@@ -2703,32 +2601,32 @@ function CommandShortcut(_a) {
|
|
|
2703
2601
|
|
|
2704
2602
|
// components/ui/context-menu.tsx
|
|
2705
2603
|
var import_lucide_react9 = require("lucide-react");
|
|
2706
|
-
var
|
|
2707
|
-
var
|
|
2604
|
+
var import_radix_ui11 = require("radix-ui");
|
|
2605
|
+
var import_jsx_runtime21 = require("react/jsx-runtime");
|
|
2708
2606
|
function ContextMenu(_a) {
|
|
2709
2607
|
var props = __objRest(_a, []);
|
|
2710
|
-
return /* @__PURE__ */ (0,
|
|
2608
|
+
return /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(import_radix_ui11.ContextMenu.Root, __spreadValues({ "data-slot": "context-menu" }, props));
|
|
2711
2609
|
}
|
|
2712
2610
|
function ContextMenuTrigger(_a) {
|
|
2713
2611
|
var props = __objRest(_a, []);
|
|
2714
|
-
return /* @__PURE__ */ (0,
|
|
2612
|
+
return /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(import_radix_ui11.ContextMenu.Trigger, __spreadValues({ "data-slot": "context-menu-trigger" }, props));
|
|
2715
2613
|
}
|
|
2716
2614
|
function ContextMenuGroup(_a) {
|
|
2717
2615
|
var props = __objRest(_a, []);
|
|
2718
|
-
return /* @__PURE__ */ (0,
|
|
2616
|
+
return /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(import_radix_ui11.ContextMenu.Group, __spreadValues({ "data-slot": "context-menu-group" }, props));
|
|
2719
2617
|
}
|
|
2720
2618
|
function ContextMenuPortal(_a) {
|
|
2721
2619
|
var props = __objRest(_a, []);
|
|
2722
|
-
return /* @__PURE__ */ (0,
|
|
2620
|
+
return /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(import_radix_ui11.ContextMenu.Portal, __spreadValues({ "data-slot": "context-menu-portal" }, props));
|
|
2723
2621
|
}
|
|
2724
2622
|
function ContextMenuSub(_a) {
|
|
2725
2623
|
var props = __objRest(_a, []);
|
|
2726
|
-
return /* @__PURE__ */ (0,
|
|
2624
|
+
return /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(import_radix_ui11.ContextMenu.Sub, __spreadValues({ "data-slot": "context-menu-sub" }, props));
|
|
2727
2625
|
}
|
|
2728
2626
|
function ContextMenuRadioGroup(_a) {
|
|
2729
2627
|
var props = __objRest(_a, []);
|
|
2730
|
-
return /* @__PURE__ */ (0,
|
|
2731
|
-
|
|
2628
|
+
return /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(
|
|
2629
|
+
import_radix_ui11.ContextMenu.RadioGroup,
|
|
2732
2630
|
__spreadValues({
|
|
2733
2631
|
"data-slot": "context-menu-radio-group"
|
|
2734
2632
|
}, props)
|
|
@@ -2744,8 +2642,8 @@ function ContextMenuSubTrigger(_a) {
|
|
|
2744
2642
|
"inset",
|
|
2745
2643
|
"children"
|
|
2746
2644
|
]);
|
|
2747
|
-
return /* @__PURE__ */ (0,
|
|
2748
|
-
|
|
2645
|
+
return /* @__PURE__ */ (0, import_jsx_runtime21.jsxs)(
|
|
2646
|
+
import_radix_ui11.ContextMenu.SubTrigger,
|
|
2749
2647
|
__spreadProps(__spreadValues({
|
|
2750
2648
|
"data-slot": "context-menu-sub-trigger",
|
|
2751
2649
|
"data-inset": inset,
|
|
@@ -2756,7 +2654,7 @@ function ContextMenuSubTrigger(_a) {
|
|
|
2756
2654
|
}, props), {
|
|
2757
2655
|
children: [
|
|
2758
2656
|
children,
|
|
2759
|
-
/* @__PURE__ */ (0,
|
|
2657
|
+
/* @__PURE__ */ (0, import_jsx_runtime21.jsx)(import_lucide_react9.ChevronRightIcon, { className: "ml-auto" })
|
|
2760
2658
|
]
|
|
2761
2659
|
})
|
|
2762
2660
|
);
|
|
@@ -2767,8 +2665,8 @@ function ContextMenuSubContent(_a) {
|
|
|
2767
2665
|
} = _b, props = __objRest(_b, [
|
|
2768
2666
|
"className"
|
|
2769
2667
|
]);
|
|
2770
|
-
return /* @__PURE__ */ (0,
|
|
2771
|
-
|
|
2668
|
+
return /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(
|
|
2669
|
+
import_radix_ui11.ContextMenu.SubContent,
|
|
2772
2670
|
__spreadValues({
|
|
2773
2671
|
"data-slot": "context-menu-sub-content",
|
|
2774
2672
|
className: cn(
|
|
@@ -2784,8 +2682,8 @@ function ContextMenuContent(_a) {
|
|
|
2784
2682
|
} = _b, props = __objRest(_b, [
|
|
2785
2683
|
"className"
|
|
2786
2684
|
]);
|
|
2787
|
-
return /* @__PURE__ */ (0,
|
|
2788
|
-
|
|
2685
|
+
return /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(import_radix_ui11.ContextMenu.Portal, { children: /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(
|
|
2686
|
+
import_radix_ui11.ContextMenu.Content,
|
|
2789
2687
|
__spreadValues({
|
|
2790
2688
|
"data-slot": "context-menu-content",
|
|
2791
2689
|
className: cn(
|
|
@@ -2805,8 +2703,8 @@ function ContextMenuItem(_a) {
|
|
|
2805
2703
|
"inset",
|
|
2806
2704
|
"variant"
|
|
2807
2705
|
]);
|
|
2808
|
-
return /* @__PURE__ */ (0,
|
|
2809
|
-
|
|
2706
|
+
return /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(
|
|
2707
|
+
import_radix_ui11.ContextMenu.Item,
|
|
2810
2708
|
__spreadValues({
|
|
2811
2709
|
"data-slot": "context-menu-item",
|
|
2812
2710
|
"data-inset": inset,
|
|
@@ -2828,8 +2726,8 @@ function ContextMenuCheckboxItem(_a) {
|
|
|
2828
2726
|
"children",
|
|
2829
2727
|
"checked"
|
|
2830
2728
|
]);
|
|
2831
|
-
return /* @__PURE__ */ (0,
|
|
2832
|
-
|
|
2729
|
+
return /* @__PURE__ */ (0, import_jsx_runtime21.jsxs)(
|
|
2730
|
+
import_radix_ui11.ContextMenu.CheckboxItem,
|
|
2833
2731
|
__spreadProps(__spreadValues({
|
|
2834
2732
|
"data-slot": "context-menu-checkbox-item",
|
|
2835
2733
|
className: cn(
|
|
@@ -2839,7 +2737,7 @@ function ContextMenuCheckboxItem(_a) {
|
|
|
2839
2737
|
checked
|
|
2840
2738
|
}, props), {
|
|
2841
2739
|
children: [
|
|
2842
|
-
/* @__PURE__ */ (0,
|
|
2740
|
+
/* @__PURE__ */ (0, import_jsx_runtime21.jsx)("span", { className: "pointer-events-none absolute left-2 flex size-3.5 items-center justify-center", children: /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(import_radix_ui11.ContextMenu.ItemIndicator, { children: /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(import_lucide_react9.CheckIcon, { className: "size-4" }) }) }),
|
|
2843
2741
|
children
|
|
2844
2742
|
]
|
|
2845
2743
|
})
|
|
@@ -2853,8 +2751,8 @@ function ContextMenuRadioItem(_a) {
|
|
|
2853
2751
|
"className",
|
|
2854
2752
|
"children"
|
|
2855
2753
|
]);
|
|
2856
|
-
return /* @__PURE__ */ (0,
|
|
2857
|
-
|
|
2754
|
+
return /* @__PURE__ */ (0, import_jsx_runtime21.jsxs)(
|
|
2755
|
+
import_radix_ui11.ContextMenu.RadioItem,
|
|
2858
2756
|
__spreadProps(__spreadValues({
|
|
2859
2757
|
"data-slot": "context-menu-radio-item",
|
|
2860
2758
|
className: cn(
|
|
@@ -2863,7 +2761,7 @@ function ContextMenuRadioItem(_a) {
|
|
|
2863
2761
|
)
|
|
2864
2762
|
}, props), {
|
|
2865
2763
|
children: [
|
|
2866
|
-
/* @__PURE__ */ (0,
|
|
2764
|
+
/* @__PURE__ */ (0, import_jsx_runtime21.jsx)("span", { className: "pointer-events-none absolute left-2 flex size-3.5 items-center justify-center", children: /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(import_radix_ui11.ContextMenu.ItemIndicator, { children: /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(import_lucide_react9.CircleIcon, { className: "size-2 fill-current" }) }) }),
|
|
2867
2765
|
children
|
|
2868
2766
|
]
|
|
2869
2767
|
})
|
|
@@ -2877,8 +2775,8 @@ function ContextMenuLabel(_a) {
|
|
|
2877
2775
|
"className",
|
|
2878
2776
|
"inset"
|
|
2879
2777
|
]);
|
|
2880
|
-
return /* @__PURE__ */ (0,
|
|
2881
|
-
|
|
2778
|
+
return /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(
|
|
2779
|
+
import_radix_ui11.ContextMenu.Label,
|
|
2882
2780
|
__spreadValues({
|
|
2883
2781
|
"data-slot": "context-menu-label",
|
|
2884
2782
|
"data-inset": inset,
|
|
@@ -2895,8 +2793,8 @@ function ContextMenuSeparator(_a) {
|
|
|
2895
2793
|
} = _b, props = __objRest(_b, [
|
|
2896
2794
|
"className"
|
|
2897
2795
|
]);
|
|
2898
|
-
return /* @__PURE__ */ (0,
|
|
2899
|
-
|
|
2796
|
+
return /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(
|
|
2797
|
+
import_radix_ui11.ContextMenu.Separator,
|
|
2900
2798
|
__spreadValues({
|
|
2901
2799
|
"data-slot": "context-menu-separator",
|
|
2902
2800
|
className: cn("-mx-1 my-1 h-px bg-border", className)
|
|
@@ -2909,7 +2807,7 @@ function ContextMenuShortcut(_a) {
|
|
|
2909
2807
|
} = _b, props = __objRest(_b, [
|
|
2910
2808
|
"className"
|
|
2911
2809
|
]);
|
|
2912
|
-
return /* @__PURE__ */ (0,
|
|
2810
|
+
return /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(
|
|
2913
2811
|
"span",
|
|
2914
2812
|
__spreadValues({
|
|
2915
2813
|
"data-slot": "context-menu-shortcut",
|
|
@@ -2922,35 +2820,35 @@ function ContextMenuShortcut(_a) {
|
|
|
2922
2820
|
}
|
|
2923
2821
|
|
|
2924
2822
|
// components/ui/direction.tsx
|
|
2925
|
-
var
|
|
2926
|
-
var
|
|
2823
|
+
var import_radix_ui12 = require("radix-ui");
|
|
2824
|
+
var import_jsx_runtime22 = require("react/jsx-runtime");
|
|
2927
2825
|
function DirectionProvider({
|
|
2928
2826
|
dir,
|
|
2929
2827
|
direction,
|
|
2930
2828
|
children
|
|
2931
2829
|
}) {
|
|
2932
|
-
return /* @__PURE__ */ (0,
|
|
2830
|
+
return /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(import_radix_ui12.Direction.DirectionProvider, { dir: direction != null ? direction : dir, children });
|
|
2933
2831
|
}
|
|
2934
|
-
var useDirection =
|
|
2832
|
+
var useDirection = import_radix_ui12.Direction.useDirection;
|
|
2935
2833
|
|
|
2936
2834
|
// components/ui/drawer.tsx
|
|
2937
2835
|
var import_vaul = require("vaul");
|
|
2938
|
-
var
|
|
2836
|
+
var import_jsx_runtime23 = require("react/jsx-runtime");
|
|
2939
2837
|
function Drawer(_a) {
|
|
2940
2838
|
var props = __objRest(_a, []);
|
|
2941
|
-
return /* @__PURE__ */ (0,
|
|
2839
|
+
return /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(import_vaul.Drawer.Root, __spreadValues({ "data-slot": "drawer" }, props));
|
|
2942
2840
|
}
|
|
2943
2841
|
function DrawerTrigger(_a) {
|
|
2944
2842
|
var props = __objRest(_a, []);
|
|
2945
|
-
return /* @__PURE__ */ (0,
|
|
2843
|
+
return /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(import_vaul.Drawer.Trigger, __spreadValues({ "data-slot": "drawer-trigger" }, props));
|
|
2946
2844
|
}
|
|
2947
2845
|
function DrawerPortal(_a) {
|
|
2948
2846
|
var props = __objRest(_a, []);
|
|
2949
|
-
return /* @__PURE__ */ (0,
|
|
2847
|
+
return /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(import_vaul.Drawer.Portal, __spreadValues({ "data-slot": "drawer-portal" }, props));
|
|
2950
2848
|
}
|
|
2951
2849
|
function DrawerClose(_a) {
|
|
2952
2850
|
var props = __objRest(_a, []);
|
|
2953
|
-
return /* @__PURE__ */ (0,
|
|
2851
|
+
return /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(import_vaul.Drawer.Close, __spreadValues({ "data-slot": "drawer-close" }, props));
|
|
2954
2852
|
}
|
|
2955
2853
|
function DrawerOverlay(_a) {
|
|
2956
2854
|
var _b = _a, {
|
|
@@ -2958,7 +2856,7 @@ function DrawerOverlay(_a) {
|
|
|
2958
2856
|
} = _b, props = __objRest(_b, [
|
|
2959
2857
|
"className"
|
|
2960
2858
|
]);
|
|
2961
|
-
return /* @__PURE__ */ (0,
|
|
2859
|
+
return /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(
|
|
2962
2860
|
import_vaul.Drawer.Overlay,
|
|
2963
2861
|
__spreadValues({
|
|
2964
2862
|
"data-slot": "drawer-overlay",
|
|
@@ -2977,9 +2875,9 @@ function DrawerContent(_a) {
|
|
|
2977
2875
|
"className",
|
|
2978
2876
|
"children"
|
|
2979
2877
|
]);
|
|
2980
|
-
return /* @__PURE__ */ (0,
|
|
2981
|
-
/* @__PURE__ */ (0,
|
|
2982
|
-
/* @__PURE__ */ (0,
|
|
2878
|
+
return /* @__PURE__ */ (0, import_jsx_runtime23.jsxs)(DrawerPortal, { "data-slot": "drawer-portal", children: [
|
|
2879
|
+
/* @__PURE__ */ (0, import_jsx_runtime23.jsx)(DrawerOverlay, {}),
|
|
2880
|
+
/* @__PURE__ */ (0, import_jsx_runtime23.jsxs)(
|
|
2983
2881
|
import_vaul.Drawer.Content,
|
|
2984
2882
|
__spreadProps(__spreadValues({
|
|
2985
2883
|
"data-slot": "drawer-content",
|
|
@@ -2993,7 +2891,7 @@ function DrawerContent(_a) {
|
|
|
2993
2891
|
)
|
|
2994
2892
|
}, props), {
|
|
2995
2893
|
children: [
|
|
2996
|
-
/* @__PURE__ */ (0,
|
|
2894
|
+
/* @__PURE__ */ (0, import_jsx_runtime23.jsx)("div", { className: "mx-auto mt-4 hidden h-2 w-[100px] shrink-0 rounded-full bg-muted group-data-[vaul-drawer-direction=bottom]/drawer-content:block" }),
|
|
2997
2895
|
children
|
|
2998
2896
|
]
|
|
2999
2897
|
})
|
|
@@ -3002,7 +2900,7 @@ function DrawerContent(_a) {
|
|
|
3002
2900
|
}
|
|
3003
2901
|
function DrawerHeader(_a) {
|
|
3004
2902
|
var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
|
|
3005
|
-
return /* @__PURE__ */ (0,
|
|
2903
|
+
return /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(
|
|
3006
2904
|
"div",
|
|
3007
2905
|
__spreadValues({
|
|
3008
2906
|
"data-slot": "drawer-header",
|
|
@@ -3015,7 +2913,7 @@ function DrawerHeader(_a) {
|
|
|
3015
2913
|
}
|
|
3016
2914
|
function DrawerFooter(_a) {
|
|
3017
2915
|
var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
|
|
3018
|
-
return /* @__PURE__ */ (0,
|
|
2916
|
+
return /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(
|
|
3019
2917
|
"div",
|
|
3020
2918
|
__spreadValues({
|
|
3021
2919
|
"data-slot": "drawer-footer",
|
|
@@ -3029,7 +2927,7 @@ function DrawerTitle(_a) {
|
|
|
3029
2927
|
} = _b, props = __objRest(_b, [
|
|
3030
2928
|
"className"
|
|
3031
2929
|
]);
|
|
3032
|
-
return /* @__PURE__ */ (0,
|
|
2930
|
+
return /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(
|
|
3033
2931
|
import_vaul.Drawer.Title,
|
|
3034
2932
|
__spreadValues({
|
|
3035
2933
|
"data-slot": "drawer-title",
|
|
@@ -3043,7 +2941,7 @@ function DrawerDescription(_a) {
|
|
|
3043
2941
|
} = _b, props = __objRest(_b, [
|
|
3044
2942
|
"className"
|
|
3045
2943
|
]);
|
|
3046
|
-
return /* @__PURE__ */ (0,
|
|
2944
|
+
return /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(
|
|
3047
2945
|
import_vaul.Drawer.Description,
|
|
3048
2946
|
__spreadValues({
|
|
3049
2947
|
"data-slot": "drawer-description",
|
|
@@ -3054,20 +2952,20 @@ function DrawerDescription(_a) {
|
|
|
3054
2952
|
|
|
3055
2953
|
// components/ui/dropdown-menu.tsx
|
|
3056
2954
|
var import_lucide_react10 = require("lucide-react");
|
|
3057
|
-
var
|
|
3058
|
-
var
|
|
2955
|
+
var import_radix_ui13 = require("radix-ui");
|
|
2956
|
+
var import_jsx_runtime24 = require("react/jsx-runtime");
|
|
3059
2957
|
function DropdownMenu(_a) {
|
|
3060
2958
|
var props = __objRest(_a, []);
|
|
3061
|
-
return /* @__PURE__ */ (0,
|
|
2959
|
+
return /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(import_radix_ui13.DropdownMenu.Root, __spreadValues({ "data-slot": "dropdown-menu" }, props));
|
|
3062
2960
|
}
|
|
3063
2961
|
function DropdownMenuPortal(_a) {
|
|
3064
2962
|
var props = __objRest(_a, []);
|
|
3065
|
-
return /* @__PURE__ */ (0,
|
|
2963
|
+
return /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(import_radix_ui13.DropdownMenu.Portal, __spreadValues({ "data-slot": "dropdown-menu-portal" }, props));
|
|
3066
2964
|
}
|
|
3067
2965
|
function DropdownMenuTrigger(_a) {
|
|
3068
2966
|
var props = __objRest(_a, []);
|
|
3069
|
-
return /* @__PURE__ */ (0,
|
|
3070
|
-
|
|
2967
|
+
return /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(
|
|
2968
|
+
import_radix_ui13.DropdownMenu.Trigger,
|
|
3071
2969
|
__spreadValues({
|
|
3072
2970
|
"data-slot": "dropdown-menu-trigger"
|
|
3073
2971
|
}, props)
|
|
@@ -3081,8 +2979,8 @@ function DropdownMenuContent(_a) {
|
|
|
3081
2979
|
"className",
|
|
3082
2980
|
"sideOffset"
|
|
3083
2981
|
]);
|
|
3084
|
-
return /* @__PURE__ */ (0,
|
|
3085
|
-
|
|
2982
|
+
return /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(import_radix_ui13.DropdownMenu.Portal, { children: /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(
|
|
2983
|
+
import_radix_ui13.DropdownMenu.Content,
|
|
3086
2984
|
__spreadValues({
|
|
3087
2985
|
"data-slot": "dropdown-menu-content",
|
|
3088
2986
|
sideOffset,
|
|
@@ -3095,7 +2993,7 @@ function DropdownMenuContent(_a) {
|
|
|
3095
2993
|
}
|
|
3096
2994
|
function DropdownMenuGroup(_a) {
|
|
3097
2995
|
var props = __objRest(_a, []);
|
|
3098
|
-
return /* @__PURE__ */ (0,
|
|
2996
|
+
return /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(import_radix_ui13.DropdownMenu.Group, __spreadValues({ "data-slot": "dropdown-menu-group" }, props));
|
|
3099
2997
|
}
|
|
3100
2998
|
function DropdownMenuItem(_a) {
|
|
3101
2999
|
var _b = _a, {
|
|
@@ -3107,8 +3005,8 @@ function DropdownMenuItem(_a) {
|
|
|
3107
3005
|
"inset",
|
|
3108
3006
|
"variant"
|
|
3109
3007
|
]);
|
|
3110
|
-
return /* @__PURE__ */ (0,
|
|
3111
|
-
|
|
3008
|
+
return /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(
|
|
3009
|
+
import_radix_ui13.DropdownMenu.Item,
|
|
3112
3010
|
__spreadValues({
|
|
3113
3011
|
"data-slot": "dropdown-menu-item",
|
|
3114
3012
|
"data-inset": inset,
|
|
@@ -3130,8 +3028,8 @@ function DropdownMenuCheckboxItem(_a) {
|
|
|
3130
3028
|
"children",
|
|
3131
3029
|
"checked"
|
|
3132
3030
|
]);
|
|
3133
|
-
return /* @__PURE__ */ (0,
|
|
3134
|
-
|
|
3031
|
+
return /* @__PURE__ */ (0, import_jsx_runtime24.jsxs)(
|
|
3032
|
+
import_radix_ui13.DropdownMenu.CheckboxItem,
|
|
3135
3033
|
__spreadProps(__spreadValues({
|
|
3136
3034
|
"data-slot": "dropdown-menu-checkbox-item",
|
|
3137
3035
|
className: cn(
|
|
@@ -3141,7 +3039,7 @@ function DropdownMenuCheckboxItem(_a) {
|
|
|
3141
3039
|
checked
|
|
3142
3040
|
}, props), {
|
|
3143
3041
|
children: [
|
|
3144
|
-
/* @__PURE__ */ (0,
|
|
3042
|
+
/* @__PURE__ */ (0, import_jsx_runtime24.jsx)("span", { className: "pointer-events-none absolute left-2 flex size-3.5 items-center justify-center", children: /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(import_radix_ui13.DropdownMenu.ItemIndicator, { children: /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(import_lucide_react10.CheckIcon, { className: "size-4" }) }) }),
|
|
3145
3043
|
children
|
|
3146
3044
|
]
|
|
3147
3045
|
})
|
|
@@ -3149,8 +3047,8 @@ function DropdownMenuCheckboxItem(_a) {
|
|
|
3149
3047
|
}
|
|
3150
3048
|
function DropdownMenuRadioGroup(_a) {
|
|
3151
3049
|
var props = __objRest(_a, []);
|
|
3152
|
-
return /* @__PURE__ */ (0,
|
|
3153
|
-
|
|
3050
|
+
return /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(
|
|
3051
|
+
import_radix_ui13.DropdownMenu.RadioGroup,
|
|
3154
3052
|
__spreadValues({
|
|
3155
3053
|
"data-slot": "dropdown-menu-radio-group"
|
|
3156
3054
|
}, props)
|
|
@@ -3164,8 +3062,8 @@ function DropdownMenuRadioItem(_a) {
|
|
|
3164
3062
|
"className",
|
|
3165
3063
|
"children"
|
|
3166
3064
|
]);
|
|
3167
|
-
return /* @__PURE__ */ (0,
|
|
3168
|
-
|
|
3065
|
+
return /* @__PURE__ */ (0, import_jsx_runtime24.jsxs)(
|
|
3066
|
+
import_radix_ui13.DropdownMenu.RadioItem,
|
|
3169
3067
|
__spreadProps(__spreadValues({
|
|
3170
3068
|
"data-slot": "dropdown-menu-radio-item",
|
|
3171
3069
|
className: cn(
|
|
@@ -3174,7 +3072,7 @@ function DropdownMenuRadioItem(_a) {
|
|
|
3174
3072
|
)
|
|
3175
3073
|
}, props), {
|
|
3176
3074
|
children: [
|
|
3177
|
-
/* @__PURE__ */ (0,
|
|
3075
|
+
/* @__PURE__ */ (0, import_jsx_runtime24.jsx)("span", { className: "pointer-events-none absolute left-2 flex size-3.5 items-center justify-center", children: /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(import_radix_ui13.DropdownMenu.ItemIndicator, { children: /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(import_lucide_react10.CircleIcon, { className: "size-2 fill-current" }) }) }),
|
|
3178
3076
|
children
|
|
3179
3077
|
]
|
|
3180
3078
|
})
|
|
@@ -3188,8 +3086,8 @@ function DropdownMenuLabel(_a) {
|
|
|
3188
3086
|
"className",
|
|
3189
3087
|
"inset"
|
|
3190
3088
|
]);
|
|
3191
|
-
return /* @__PURE__ */ (0,
|
|
3192
|
-
|
|
3089
|
+
return /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(
|
|
3090
|
+
import_radix_ui13.DropdownMenu.Label,
|
|
3193
3091
|
__spreadValues({
|
|
3194
3092
|
"data-slot": "dropdown-menu-label",
|
|
3195
3093
|
"data-inset": inset,
|
|
@@ -3206,8 +3104,8 @@ function DropdownMenuSeparator(_a) {
|
|
|
3206
3104
|
} = _b, props = __objRest(_b, [
|
|
3207
3105
|
"className"
|
|
3208
3106
|
]);
|
|
3209
|
-
return /* @__PURE__ */ (0,
|
|
3210
|
-
|
|
3107
|
+
return /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(
|
|
3108
|
+
import_radix_ui13.DropdownMenu.Separator,
|
|
3211
3109
|
__spreadValues({
|
|
3212
3110
|
"data-slot": "dropdown-menu-separator",
|
|
3213
3111
|
className: cn("-mx-1 my-1 h-px bg-border", className)
|
|
@@ -3220,7 +3118,7 @@ function DropdownMenuShortcut(_a) {
|
|
|
3220
3118
|
} = _b, props = __objRest(_b, [
|
|
3221
3119
|
"className"
|
|
3222
3120
|
]);
|
|
3223
|
-
return /* @__PURE__ */ (0,
|
|
3121
|
+
return /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(
|
|
3224
3122
|
"span",
|
|
3225
3123
|
__spreadValues({
|
|
3226
3124
|
"data-slot": "dropdown-menu-shortcut",
|
|
@@ -3233,7 +3131,7 @@ function DropdownMenuShortcut(_a) {
|
|
|
3233
3131
|
}
|
|
3234
3132
|
function DropdownMenuSub(_a) {
|
|
3235
3133
|
var props = __objRest(_a, []);
|
|
3236
|
-
return /* @__PURE__ */ (0,
|
|
3134
|
+
return /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(import_radix_ui13.DropdownMenu.Sub, __spreadValues({ "data-slot": "dropdown-menu-sub" }, props));
|
|
3237
3135
|
}
|
|
3238
3136
|
function DropdownMenuSubTrigger(_a) {
|
|
3239
3137
|
var _b = _a, {
|
|
@@ -3245,8 +3143,8 @@ function DropdownMenuSubTrigger(_a) {
|
|
|
3245
3143
|
"inset",
|
|
3246
3144
|
"children"
|
|
3247
3145
|
]);
|
|
3248
|
-
return /* @__PURE__ */ (0,
|
|
3249
|
-
|
|
3146
|
+
return /* @__PURE__ */ (0, import_jsx_runtime24.jsxs)(
|
|
3147
|
+
import_radix_ui13.DropdownMenu.SubTrigger,
|
|
3250
3148
|
__spreadProps(__spreadValues({
|
|
3251
3149
|
"data-slot": "dropdown-menu-sub-trigger",
|
|
3252
3150
|
"data-inset": inset,
|
|
@@ -3257,7 +3155,7 @@ function DropdownMenuSubTrigger(_a) {
|
|
|
3257
3155
|
}, props), {
|
|
3258
3156
|
children: [
|
|
3259
3157
|
children,
|
|
3260
|
-
/* @__PURE__ */ (0,
|
|
3158
|
+
/* @__PURE__ */ (0, import_jsx_runtime24.jsx)(import_lucide_react10.ChevronRightIcon, { className: "ml-auto size-4" })
|
|
3261
3159
|
]
|
|
3262
3160
|
})
|
|
3263
3161
|
);
|
|
@@ -3268,8 +3166,8 @@ function DropdownMenuSubContent(_a) {
|
|
|
3268
3166
|
} = _b, props = __objRest(_b, [
|
|
3269
3167
|
"className"
|
|
3270
3168
|
]);
|
|
3271
|
-
return /* @__PURE__ */ (0,
|
|
3272
|
-
|
|
3169
|
+
return /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(
|
|
3170
|
+
import_radix_ui13.DropdownMenu.SubContent,
|
|
3273
3171
|
__spreadValues({
|
|
3274
3172
|
"data-slot": "dropdown-menu-sub-content",
|
|
3275
3173
|
className: cn(
|
|
@@ -3281,11 +3179,11 @@ function DropdownMenuSubContent(_a) {
|
|
|
3281
3179
|
}
|
|
3282
3180
|
|
|
3283
3181
|
// components/ui/empty.tsx
|
|
3284
|
-
var
|
|
3285
|
-
var
|
|
3182
|
+
var import_class_variance_authority5 = require("class-variance-authority");
|
|
3183
|
+
var import_jsx_runtime25 = require("react/jsx-runtime");
|
|
3286
3184
|
function Empty(_a) {
|
|
3287
3185
|
var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
|
|
3288
|
-
return /* @__PURE__ */ (0,
|
|
3186
|
+
return /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
|
|
3289
3187
|
"div",
|
|
3290
3188
|
__spreadValues({
|
|
3291
3189
|
"data-slot": "empty",
|
|
@@ -3298,7 +3196,7 @@ function Empty(_a) {
|
|
|
3298
3196
|
}
|
|
3299
3197
|
function EmptyHeader(_a) {
|
|
3300
3198
|
var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
|
|
3301
|
-
return /* @__PURE__ */ (0,
|
|
3199
|
+
return /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
|
|
3302
3200
|
"div",
|
|
3303
3201
|
__spreadValues({
|
|
3304
3202
|
"data-slot": "empty-header",
|
|
@@ -3309,7 +3207,7 @@ function EmptyHeader(_a) {
|
|
|
3309
3207
|
}, props)
|
|
3310
3208
|
);
|
|
3311
3209
|
}
|
|
3312
|
-
var emptyMediaVariants = (0,
|
|
3210
|
+
var emptyMediaVariants = (0, import_class_variance_authority5.cva)(
|
|
3313
3211
|
"mb-2 flex shrink-0 items-center justify-center [&_svg]:pointer-events-none [&_svg]:shrink-0",
|
|
3314
3212
|
{
|
|
3315
3213
|
variants: {
|
|
@@ -3331,7 +3229,7 @@ function EmptyMedia(_a) {
|
|
|
3331
3229
|
"className",
|
|
3332
3230
|
"variant"
|
|
3333
3231
|
]);
|
|
3334
|
-
return /* @__PURE__ */ (0,
|
|
3232
|
+
return /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
|
|
3335
3233
|
"div",
|
|
3336
3234
|
__spreadValues({
|
|
3337
3235
|
"data-slot": "empty-icon",
|
|
@@ -3342,7 +3240,7 @@ function EmptyMedia(_a) {
|
|
|
3342
3240
|
}
|
|
3343
3241
|
function EmptyTitle(_a) {
|
|
3344
3242
|
var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
|
|
3345
|
-
return /* @__PURE__ */ (0,
|
|
3243
|
+
return /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
|
|
3346
3244
|
"div",
|
|
3347
3245
|
__spreadValues({
|
|
3348
3246
|
"data-slot": "empty-title",
|
|
@@ -3352,7 +3250,7 @@ function EmptyTitle(_a) {
|
|
|
3352
3250
|
}
|
|
3353
3251
|
function EmptyDescription(_a) {
|
|
3354
3252
|
var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
|
|
3355
|
-
return /* @__PURE__ */ (0,
|
|
3253
|
+
return /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
|
|
3356
3254
|
"div",
|
|
3357
3255
|
__spreadValues({
|
|
3358
3256
|
"data-slot": "empty-description",
|
|
@@ -3365,7 +3263,7 @@ function EmptyDescription(_a) {
|
|
|
3365
3263
|
}
|
|
3366
3264
|
function EmptyContent(_a) {
|
|
3367
3265
|
var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
|
|
3368
|
-
return /* @__PURE__ */ (0,
|
|
3266
|
+
return /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
|
|
3369
3267
|
"div",
|
|
3370
3268
|
__spreadValues({
|
|
3371
3269
|
"data-slot": "empty-content",
|
|
@@ -3379,19 +3277,19 @@ function EmptyContent(_a) {
|
|
|
3379
3277
|
|
|
3380
3278
|
// components/ui/field.tsx
|
|
3381
3279
|
var import_react2 = require("react");
|
|
3382
|
-
var
|
|
3280
|
+
var import_class_variance_authority6 = require("class-variance-authority");
|
|
3383
3281
|
|
|
3384
3282
|
// components/ui/label.tsx
|
|
3385
|
-
var
|
|
3386
|
-
var
|
|
3283
|
+
var import_radix_ui14 = require("radix-ui");
|
|
3284
|
+
var import_jsx_runtime26 = require("react/jsx-runtime");
|
|
3387
3285
|
function Label(_a) {
|
|
3388
3286
|
var _b = _a, {
|
|
3389
3287
|
className
|
|
3390
3288
|
} = _b, props = __objRest(_b, [
|
|
3391
3289
|
"className"
|
|
3392
3290
|
]);
|
|
3393
|
-
return /* @__PURE__ */ (0,
|
|
3394
|
-
|
|
3291
|
+
return /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
|
|
3292
|
+
import_radix_ui14.Label.Root,
|
|
3395
3293
|
__spreadValues({
|
|
3396
3294
|
"data-slot": "label",
|
|
3397
3295
|
className: cn(
|
|
@@ -3402,11 +3300,38 @@ function Label(_a) {
|
|
|
3402
3300
|
);
|
|
3403
3301
|
}
|
|
3404
3302
|
|
|
3303
|
+
// components/ui/separator.tsx
|
|
3304
|
+
var import_radix_ui15 = require("radix-ui");
|
|
3305
|
+
var import_jsx_runtime27 = require("react/jsx-runtime");
|
|
3306
|
+
function Separator(_a) {
|
|
3307
|
+
var _b = _a, {
|
|
3308
|
+
className,
|
|
3309
|
+
orientation = "horizontal",
|
|
3310
|
+
decorative = true
|
|
3311
|
+
} = _b, props = __objRest(_b, [
|
|
3312
|
+
"className",
|
|
3313
|
+
"orientation",
|
|
3314
|
+
"decorative"
|
|
3315
|
+
]);
|
|
3316
|
+
return /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
|
|
3317
|
+
import_radix_ui15.Separator.Root,
|
|
3318
|
+
__spreadValues({
|
|
3319
|
+
"data-slot": "separator",
|
|
3320
|
+
decorative,
|
|
3321
|
+
orientation,
|
|
3322
|
+
className: cn(
|
|
3323
|
+
"shrink-0 bg-border data-[orientation=horizontal]:h-px data-[orientation=horizontal]:w-full data-[orientation=vertical]:h-full data-[orientation=vertical]:w-px",
|
|
3324
|
+
className
|
|
3325
|
+
)
|
|
3326
|
+
}, props)
|
|
3327
|
+
);
|
|
3328
|
+
}
|
|
3329
|
+
|
|
3405
3330
|
// components/ui/field.tsx
|
|
3406
|
-
var
|
|
3331
|
+
var import_jsx_runtime28 = require("react/jsx-runtime");
|
|
3407
3332
|
function FieldSet(_a) {
|
|
3408
3333
|
var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
|
|
3409
|
-
return /* @__PURE__ */ (0,
|
|
3334
|
+
return /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
|
|
3410
3335
|
"fieldset",
|
|
3411
3336
|
__spreadValues({
|
|
3412
3337
|
"data-slot": "field-set",
|
|
@@ -3426,7 +3351,7 @@ function FieldLegend(_a) {
|
|
|
3426
3351
|
"className",
|
|
3427
3352
|
"variant"
|
|
3428
3353
|
]);
|
|
3429
|
-
return /* @__PURE__ */ (0,
|
|
3354
|
+
return /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
|
|
3430
3355
|
"legend",
|
|
3431
3356
|
__spreadValues({
|
|
3432
3357
|
"data-slot": "field-legend",
|
|
@@ -3442,7 +3367,7 @@ function FieldLegend(_a) {
|
|
|
3442
3367
|
}
|
|
3443
3368
|
function FieldGroup(_a) {
|
|
3444
3369
|
var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
|
|
3445
|
-
return /* @__PURE__ */ (0,
|
|
3370
|
+
return /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
|
|
3446
3371
|
"div",
|
|
3447
3372
|
__spreadValues({
|
|
3448
3373
|
"data-slot": "field-group",
|
|
@@ -3453,7 +3378,7 @@ function FieldGroup(_a) {
|
|
|
3453
3378
|
}, props)
|
|
3454
3379
|
);
|
|
3455
3380
|
}
|
|
3456
|
-
var fieldVariants = (0,
|
|
3381
|
+
var fieldVariants = (0, import_class_variance_authority6.cva)(
|
|
3457
3382
|
"group/field flex w-full gap-3 data-[invalid=true]:text-destructive",
|
|
3458
3383
|
{
|
|
3459
3384
|
variants: {
|
|
@@ -3484,7 +3409,7 @@ function Field(_a) {
|
|
|
3484
3409
|
"className",
|
|
3485
3410
|
"orientation"
|
|
3486
3411
|
]);
|
|
3487
|
-
return /* @__PURE__ */ (0,
|
|
3412
|
+
return /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
|
|
3488
3413
|
"div",
|
|
3489
3414
|
__spreadValues({
|
|
3490
3415
|
role: "group",
|
|
@@ -3496,7 +3421,7 @@ function Field(_a) {
|
|
|
3496
3421
|
}
|
|
3497
3422
|
function FieldContent(_a) {
|
|
3498
3423
|
var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
|
|
3499
|
-
return /* @__PURE__ */ (0,
|
|
3424
|
+
return /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
|
|
3500
3425
|
"div",
|
|
3501
3426
|
__spreadValues({
|
|
3502
3427
|
"data-slot": "field-content",
|
|
@@ -3513,7 +3438,7 @@ function FieldLabel(_a) {
|
|
|
3513
3438
|
} = _b, props = __objRest(_b, [
|
|
3514
3439
|
"className"
|
|
3515
3440
|
]);
|
|
3516
|
-
return /* @__PURE__ */ (0,
|
|
3441
|
+
return /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
|
|
3517
3442
|
Label,
|
|
3518
3443
|
__spreadValues({
|
|
3519
3444
|
"data-slot": "field-label",
|
|
@@ -3528,7 +3453,7 @@ function FieldLabel(_a) {
|
|
|
3528
3453
|
}
|
|
3529
3454
|
function FieldTitle(_a) {
|
|
3530
3455
|
var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
|
|
3531
|
-
return /* @__PURE__ */ (0,
|
|
3456
|
+
return /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
|
|
3532
3457
|
"div",
|
|
3533
3458
|
__spreadValues({
|
|
3534
3459
|
"data-slot": "field-label",
|
|
@@ -3541,7 +3466,7 @@ function FieldTitle(_a) {
|
|
|
3541
3466
|
}
|
|
3542
3467
|
function FieldDescription(_a) {
|
|
3543
3468
|
var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
|
|
3544
|
-
return /* @__PURE__ */ (0,
|
|
3469
|
+
return /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
|
|
3545
3470
|
"p",
|
|
3546
3471
|
__spreadValues({
|
|
3547
3472
|
"data-slot": "field-description",
|
|
@@ -3562,7 +3487,7 @@ function FieldSeparator(_a) {
|
|
|
3562
3487
|
"children",
|
|
3563
3488
|
"className"
|
|
3564
3489
|
]);
|
|
3565
|
-
return /* @__PURE__ */ (0,
|
|
3490
|
+
return /* @__PURE__ */ (0, import_jsx_runtime28.jsxs)(
|
|
3566
3491
|
"div",
|
|
3567
3492
|
__spreadProps(__spreadValues({
|
|
3568
3493
|
"data-slot": "field-separator",
|
|
@@ -3573,8 +3498,8 @@ function FieldSeparator(_a) {
|
|
|
3573
3498
|
)
|
|
3574
3499
|
}, props), {
|
|
3575
3500
|
children: [
|
|
3576
|
-
/* @__PURE__ */ (0,
|
|
3577
|
-
children && /* @__PURE__ */ (0,
|
|
3501
|
+
/* @__PURE__ */ (0, import_jsx_runtime28.jsx)(Separator, { className: "absolute inset-0 top-1/2" }),
|
|
3502
|
+
children && /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
|
|
3578
3503
|
"span",
|
|
3579
3504
|
{
|
|
3580
3505
|
className: "relative mx-auto block w-fit bg-background px-2 text-muted-foreground",
|
|
@@ -3610,14 +3535,14 @@ function FieldError(_a) {
|
|
|
3610
3535
|
if ((uniqueErrors == null ? void 0 : uniqueErrors.length) == 1) {
|
|
3611
3536
|
return (_a2 = uniqueErrors[0]) == null ? void 0 : _a2.message;
|
|
3612
3537
|
}
|
|
3613
|
-
return /* @__PURE__ */ (0,
|
|
3614
|
-
(error, index) => (error == null ? void 0 : error.message) && /* @__PURE__ */ (0,
|
|
3538
|
+
return /* @__PURE__ */ (0, import_jsx_runtime28.jsx)("ul", { className: "ml-4 flex list-disc flex-col gap-1", children: uniqueErrors.map(
|
|
3539
|
+
(error, index) => (error == null ? void 0 : error.message) && /* @__PURE__ */ (0, import_jsx_runtime28.jsx)("li", { children: error.message }, index)
|
|
3615
3540
|
) });
|
|
3616
3541
|
}, [children, errors]);
|
|
3617
3542
|
if (!content) {
|
|
3618
3543
|
return null;
|
|
3619
3544
|
}
|
|
3620
|
-
return /* @__PURE__ */ (0,
|
|
3545
|
+
return /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
|
|
3621
3546
|
"div",
|
|
3622
3547
|
__spreadProps(__spreadValues({
|
|
3623
3548
|
role: "alert",
|
|
@@ -3631,16 +3556,16 @@ function FieldError(_a) {
|
|
|
3631
3556
|
|
|
3632
3557
|
// components/ui/form.tsx
|
|
3633
3558
|
var React5 = __toESM(require("react"), 1);
|
|
3634
|
-
var
|
|
3559
|
+
var import_radix_ui16 = require("radix-ui");
|
|
3635
3560
|
var import_react_hook_form = require("react-hook-form");
|
|
3636
|
-
var
|
|
3561
|
+
var import_jsx_runtime29 = require("react/jsx-runtime");
|
|
3637
3562
|
var Form = import_react_hook_form.FormProvider;
|
|
3638
3563
|
var FormFieldContext = React5.createContext(
|
|
3639
3564
|
{}
|
|
3640
3565
|
);
|
|
3641
3566
|
var FormField = (_a) => {
|
|
3642
3567
|
var props = __objRest(_a, []);
|
|
3643
|
-
return /* @__PURE__ */ (0,
|
|
3568
|
+
return /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(FormFieldContext.Provider, { value: { name: props.name }, children: /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(import_react_hook_form.Controller, __spreadValues({}, props)) });
|
|
3644
3569
|
};
|
|
3645
3570
|
var useFormField = () => {
|
|
3646
3571
|
const fieldContext = React5.useContext(FormFieldContext);
|
|
@@ -3666,7 +3591,7 @@ var FormItemContext = React5.createContext(
|
|
|
3666
3591
|
function FormItem(_a) {
|
|
3667
3592
|
var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
|
|
3668
3593
|
const id = React5.useId();
|
|
3669
|
-
return /* @__PURE__ */ (0,
|
|
3594
|
+
return /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(FormItemContext.Provider, { value: { id }, children: /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(
|
|
3670
3595
|
"div",
|
|
3671
3596
|
__spreadValues({
|
|
3672
3597
|
"data-slot": "form-item",
|
|
@@ -3681,7 +3606,7 @@ function FormLabel(_a) {
|
|
|
3681
3606
|
"className"
|
|
3682
3607
|
]);
|
|
3683
3608
|
const { error, formItemId } = useFormField();
|
|
3684
|
-
return /* @__PURE__ */ (0,
|
|
3609
|
+
return /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(
|
|
3685
3610
|
Label,
|
|
3686
3611
|
__spreadValues({
|
|
3687
3612
|
"data-slot": "form-label",
|
|
@@ -3694,8 +3619,8 @@ function FormLabel(_a) {
|
|
|
3694
3619
|
function FormControl(_a) {
|
|
3695
3620
|
var props = __objRest(_a, []);
|
|
3696
3621
|
const { error, formItemId, formDescriptionId, formMessageId } = useFormField();
|
|
3697
|
-
return /* @__PURE__ */ (0,
|
|
3698
|
-
|
|
3622
|
+
return /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(
|
|
3623
|
+
import_radix_ui16.Slot.Root,
|
|
3699
3624
|
__spreadValues({
|
|
3700
3625
|
"data-slot": "form-control",
|
|
3701
3626
|
id: formItemId,
|
|
@@ -3707,7 +3632,7 @@ function FormControl(_a) {
|
|
|
3707
3632
|
function FormDescription(_a) {
|
|
3708
3633
|
var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
|
|
3709
3634
|
const { formDescriptionId } = useFormField();
|
|
3710
|
-
return /* @__PURE__ */ (0,
|
|
3635
|
+
return /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(
|
|
3711
3636
|
"p",
|
|
3712
3637
|
__spreadValues({
|
|
3713
3638
|
"data-slot": "form-description",
|
|
@@ -3724,7 +3649,7 @@ function FormMessage(_a) {
|
|
|
3724
3649
|
if (!body) {
|
|
3725
3650
|
return null;
|
|
3726
3651
|
}
|
|
3727
|
-
return /* @__PURE__ */ (0,
|
|
3652
|
+
return /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(
|
|
3728
3653
|
"p",
|
|
3729
3654
|
__spreadProps(__spreadValues({
|
|
3730
3655
|
"data-slot": "form-message",
|
|
@@ -3737,15 +3662,15 @@ function FormMessage(_a) {
|
|
|
3737
3662
|
}
|
|
3738
3663
|
|
|
3739
3664
|
// components/ui/hover-card.tsx
|
|
3740
|
-
var
|
|
3741
|
-
var
|
|
3665
|
+
var import_radix_ui17 = require("radix-ui");
|
|
3666
|
+
var import_jsx_runtime30 = require("react/jsx-runtime");
|
|
3742
3667
|
function HoverCard(_a) {
|
|
3743
3668
|
var props = __objRest(_a, []);
|
|
3744
|
-
return /* @__PURE__ */ (0,
|
|
3669
|
+
return /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(import_radix_ui17.HoverCard.Root, __spreadValues({ "data-slot": "hover-card" }, props));
|
|
3745
3670
|
}
|
|
3746
3671
|
function HoverCardTrigger(_a) {
|
|
3747
3672
|
var props = __objRest(_a, []);
|
|
3748
|
-
return /* @__PURE__ */ (0,
|
|
3673
|
+
return /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(import_radix_ui17.HoverCard.Trigger, __spreadValues({ "data-slot": "hover-card-trigger" }, props));
|
|
3749
3674
|
}
|
|
3750
3675
|
function HoverCardContent(_a) {
|
|
3751
3676
|
var _b = _a, {
|
|
@@ -3757,8 +3682,8 @@ function HoverCardContent(_a) {
|
|
|
3757
3682
|
"align",
|
|
3758
3683
|
"sideOffset"
|
|
3759
3684
|
]);
|
|
3760
|
-
return /* @__PURE__ */ (0,
|
|
3761
|
-
|
|
3685
|
+
return /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(import_radix_ui17.HoverCard.Portal, { "data-slot": "hover-card-portal", children: /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(
|
|
3686
|
+
import_radix_ui17.HoverCard.Content,
|
|
3762
3687
|
__spreadValues({
|
|
3763
3688
|
"data-slot": "hover-card-content",
|
|
3764
3689
|
align,
|
|
@@ -3775,7 +3700,7 @@ function HoverCardContent(_a) {
|
|
|
3775
3700
|
var React6 = __toESM(require("react"), 1);
|
|
3776
3701
|
var import_input_otp = require("input-otp");
|
|
3777
3702
|
var import_lucide_react11 = require("lucide-react");
|
|
3778
|
-
var
|
|
3703
|
+
var import_jsx_runtime31 = require("react/jsx-runtime");
|
|
3779
3704
|
function InputOTP(_a) {
|
|
3780
3705
|
var _b = _a, {
|
|
3781
3706
|
className,
|
|
@@ -3784,7 +3709,7 @@ function InputOTP(_a) {
|
|
|
3784
3709
|
"className",
|
|
3785
3710
|
"containerClassName"
|
|
3786
3711
|
]);
|
|
3787
|
-
return /* @__PURE__ */ (0,
|
|
3712
|
+
return /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(
|
|
3788
3713
|
import_input_otp.OTPInput,
|
|
3789
3714
|
__spreadValues({
|
|
3790
3715
|
"data-slot": "input-otp",
|
|
@@ -3798,7 +3723,7 @@ function InputOTP(_a) {
|
|
|
3798
3723
|
}
|
|
3799
3724
|
function InputOTPGroup(_a) {
|
|
3800
3725
|
var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
|
|
3801
|
-
return /* @__PURE__ */ (0,
|
|
3726
|
+
return /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(
|
|
3802
3727
|
"div",
|
|
3803
3728
|
__spreadValues({
|
|
3804
3729
|
"data-slot": "input-otp-group",
|
|
@@ -3817,7 +3742,7 @@ function InputOTPSlot(_a) {
|
|
|
3817
3742
|
var _a2;
|
|
3818
3743
|
const inputOTPContext = React6.useContext(import_input_otp.OTPInputContext);
|
|
3819
3744
|
const { char, hasFakeCaret, isActive } = (_a2 = inputOTPContext == null ? void 0 : inputOTPContext.slots[index]) != null ? _a2 : {};
|
|
3820
|
-
return /* @__PURE__ */ (0,
|
|
3745
|
+
return /* @__PURE__ */ (0, import_jsx_runtime31.jsxs)(
|
|
3821
3746
|
"div",
|
|
3822
3747
|
__spreadProps(__spreadValues({
|
|
3823
3748
|
"data-slot": "input-otp-slot",
|
|
@@ -3829,23 +3754,23 @@ function InputOTPSlot(_a) {
|
|
|
3829
3754
|
}, props), {
|
|
3830
3755
|
children: [
|
|
3831
3756
|
char,
|
|
3832
|
-
hasFakeCaret && /* @__PURE__ */ (0,
|
|
3757
|
+
hasFakeCaret && /* @__PURE__ */ (0, import_jsx_runtime31.jsx)("div", { className: "pointer-events-none absolute inset-0 flex items-center justify-center", children: /* @__PURE__ */ (0, import_jsx_runtime31.jsx)("div", { className: "h-4 w-px animate-caret-blink bg-foreground duration-1000" }) })
|
|
3833
3758
|
]
|
|
3834
3759
|
})
|
|
3835
3760
|
);
|
|
3836
3761
|
}
|
|
3837
3762
|
function InputOTPSeparator(_a) {
|
|
3838
3763
|
var props = __objRest(_a, []);
|
|
3839
|
-
return /* @__PURE__ */ (0,
|
|
3764
|
+
return /* @__PURE__ */ (0, import_jsx_runtime31.jsx)("div", __spreadProps(__spreadValues({ "data-slot": "input-otp-separator", role: "separator" }, props), { children: /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(import_lucide_react11.MinusIcon, {}) }));
|
|
3840
3765
|
}
|
|
3841
3766
|
|
|
3842
3767
|
// components/ui/item.tsx
|
|
3843
|
-
var
|
|
3844
|
-
var
|
|
3845
|
-
var
|
|
3768
|
+
var import_class_variance_authority7 = require("class-variance-authority");
|
|
3769
|
+
var import_radix_ui18 = require("radix-ui");
|
|
3770
|
+
var import_jsx_runtime32 = require("react/jsx-runtime");
|
|
3846
3771
|
function ItemGroup(_a) {
|
|
3847
3772
|
var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
|
|
3848
|
-
return /* @__PURE__ */ (0,
|
|
3773
|
+
return /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(
|
|
3849
3774
|
"div",
|
|
3850
3775
|
__spreadValues({
|
|
3851
3776
|
role: "list",
|
|
@@ -3860,7 +3785,7 @@ function ItemSeparator(_a) {
|
|
|
3860
3785
|
} = _b, props = __objRest(_b, [
|
|
3861
3786
|
"className"
|
|
3862
3787
|
]);
|
|
3863
|
-
return /* @__PURE__ */ (0,
|
|
3788
|
+
return /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(
|
|
3864
3789
|
Separator,
|
|
3865
3790
|
__spreadValues({
|
|
3866
3791
|
"data-slot": "item-separator",
|
|
@@ -3869,7 +3794,7 @@ function ItemSeparator(_a) {
|
|
|
3869
3794
|
}, props)
|
|
3870
3795
|
);
|
|
3871
3796
|
}
|
|
3872
|
-
var itemVariants = (0,
|
|
3797
|
+
var itemVariants = (0, import_class_variance_authority7.cva)(
|
|
3873
3798
|
"group/item flex flex-wrap items-center rounded-md border border-transparent text-sm transition-colors duration-100 outline-none focus-visible:border-ring focus-visible:ring-[3px] focus-visible:ring-ring/50 [a]:transition-colors [a]:hover:bg-accent/50",
|
|
3874
3799
|
{
|
|
3875
3800
|
variants: {
|
|
@@ -3901,8 +3826,8 @@ function Item(_a) {
|
|
|
3901
3826
|
"size",
|
|
3902
3827
|
"asChild"
|
|
3903
3828
|
]);
|
|
3904
|
-
const Comp = asChild ?
|
|
3905
|
-
return /* @__PURE__ */ (0,
|
|
3829
|
+
const Comp = asChild ? import_radix_ui18.Slot.Root : "div";
|
|
3830
|
+
return /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(
|
|
3906
3831
|
Comp,
|
|
3907
3832
|
__spreadValues({
|
|
3908
3833
|
"data-slot": "item",
|
|
@@ -3912,7 +3837,7 @@ function Item(_a) {
|
|
|
3912
3837
|
}, props)
|
|
3913
3838
|
);
|
|
3914
3839
|
}
|
|
3915
|
-
var itemMediaVariants = (0,
|
|
3840
|
+
var itemMediaVariants = (0, import_class_variance_authority7.cva)(
|
|
3916
3841
|
"flex shrink-0 items-center justify-center gap-2 group-has-[[data-slot=item-description]]/item:translate-y-0.5 group-has-[[data-slot=item-description]]/item:self-start [&_svg]:pointer-events-none",
|
|
3917
3842
|
{
|
|
3918
3843
|
variants: {
|
|
@@ -3935,7 +3860,7 @@ function ItemMedia(_a) {
|
|
|
3935
3860
|
"className",
|
|
3936
3861
|
"variant"
|
|
3937
3862
|
]);
|
|
3938
|
-
return /* @__PURE__ */ (0,
|
|
3863
|
+
return /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(
|
|
3939
3864
|
"div",
|
|
3940
3865
|
__spreadValues({
|
|
3941
3866
|
"data-slot": "item-media",
|
|
@@ -3946,7 +3871,7 @@ function ItemMedia(_a) {
|
|
|
3946
3871
|
}
|
|
3947
3872
|
function ItemContent(_a) {
|
|
3948
3873
|
var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
|
|
3949
|
-
return /* @__PURE__ */ (0,
|
|
3874
|
+
return /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(
|
|
3950
3875
|
"div",
|
|
3951
3876
|
__spreadValues({
|
|
3952
3877
|
"data-slot": "item-content",
|
|
@@ -3959,7 +3884,7 @@ function ItemContent(_a) {
|
|
|
3959
3884
|
}
|
|
3960
3885
|
function ItemTitle(_a) {
|
|
3961
3886
|
var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
|
|
3962
|
-
return /* @__PURE__ */ (0,
|
|
3887
|
+
return /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(
|
|
3963
3888
|
"div",
|
|
3964
3889
|
__spreadValues({
|
|
3965
3890
|
"data-slot": "item-title",
|
|
@@ -3972,7 +3897,7 @@ function ItemTitle(_a) {
|
|
|
3972
3897
|
}
|
|
3973
3898
|
function ItemDescription(_a) {
|
|
3974
3899
|
var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
|
|
3975
|
-
return /* @__PURE__ */ (0,
|
|
3900
|
+
return /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(
|
|
3976
3901
|
"p",
|
|
3977
3902
|
__spreadValues({
|
|
3978
3903
|
"data-slot": "item-description",
|
|
@@ -3986,7 +3911,7 @@ function ItemDescription(_a) {
|
|
|
3986
3911
|
}
|
|
3987
3912
|
function ItemActions(_a) {
|
|
3988
3913
|
var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
|
|
3989
|
-
return /* @__PURE__ */ (0,
|
|
3914
|
+
return /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(
|
|
3990
3915
|
"div",
|
|
3991
3916
|
__spreadValues({
|
|
3992
3917
|
"data-slot": "item-actions",
|
|
@@ -3996,7 +3921,7 @@ function ItemActions(_a) {
|
|
|
3996
3921
|
}
|
|
3997
3922
|
function ItemHeader(_a) {
|
|
3998
3923
|
var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
|
|
3999
|
-
return /* @__PURE__ */ (0,
|
|
3924
|
+
return /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(
|
|
4000
3925
|
"div",
|
|
4001
3926
|
__spreadValues({
|
|
4002
3927
|
"data-slot": "item-header",
|
|
@@ -4009,7 +3934,7 @@ function ItemHeader(_a) {
|
|
|
4009
3934
|
}
|
|
4010
3935
|
function ItemFooter(_a) {
|
|
4011
3936
|
var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
|
|
4012
|
-
return /* @__PURE__ */ (0,
|
|
3937
|
+
return /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(
|
|
4013
3938
|
"div",
|
|
4014
3939
|
__spreadValues({
|
|
4015
3940
|
"data-slot": "item-footer",
|
|
@@ -4022,10 +3947,10 @@ function ItemFooter(_a) {
|
|
|
4022
3947
|
}
|
|
4023
3948
|
|
|
4024
3949
|
// components/ui/kbd.tsx
|
|
4025
|
-
var
|
|
3950
|
+
var import_jsx_runtime33 = require("react/jsx-runtime");
|
|
4026
3951
|
function Kbd(_a) {
|
|
4027
3952
|
var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
|
|
4028
|
-
return /* @__PURE__ */ (0,
|
|
3953
|
+
return /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(
|
|
4029
3954
|
"kbd",
|
|
4030
3955
|
__spreadValues({
|
|
4031
3956
|
"data-slot": "kbd",
|
|
@@ -4040,7 +3965,7 @@ function Kbd(_a) {
|
|
|
4040
3965
|
}
|
|
4041
3966
|
function KbdGroup(_a) {
|
|
4042
3967
|
var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
|
|
4043
|
-
return /* @__PURE__ */ (0,
|
|
3968
|
+
return /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(
|
|
4044
3969
|
"kbd",
|
|
4045
3970
|
__spreadValues({
|
|
4046
3971
|
"data-slot": "kbd-group",
|
|
@@ -4051,16 +3976,16 @@ function KbdGroup(_a) {
|
|
|
4051
3976
|
|
|
4052
3977
|
// components/ui/menubar.tsx
|
|
4053
3978
|
var import_lucide_react12 = require("lucide-react");
|
|
4054
|
-
var
|
|
4055
|
-
var
|
|
3979
|
+
var import_radix_ui19 = require("radix-ui");
|
|
3980
|
+
var import_jsx_runtime34 = require("react/jsx-runtime");
|
|
4056
3981
|
function Menubar(_a) {
|
|
4057
3982
|
var _b = _a, {
|
|
4058
3983
|
className
|
|
4059
3984
|
} = _b, props = __objRest(_b, [
|
|
4060
3985
|
"className"
|
|
4061
3986
|
]);
|
|
4062
|
-
return /* @__PURE__ */ (0,
|
|
4063
|
-
|
|
3987
|
+
return /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(
|
|
3988
|
+
import_radix_ui19.Menubar.Root,
|
|
4064
3989
|
__spreadValues({
|
|
4065
3990
|
"data-slot": "menubar",
|
|
4066
3991
|
className: cn(
|
|
@@ -4072,19 +3997,19 @@ function Menubar(_a) {
|
|
|
4072
3997
|
}
|
|
4073
3998
|
function MenubarMenu(_a) {
|
|
4074
3999
|
var props = __objRest(_a, []);
|
|
4075
|
-
return /* @__PURE__ */ (0,
|
|
4000
|
+
return /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(import_radix_ui19.Menubar.Menu, __spreadValues({ "data-slot": "menubar-menu" }, props));
|
|
4076
4001
|
}
|
|
4077
4002
|
function MenubarGroup(_a) {
|
|
4078
4003
|
var props = __objRest(_a, []);
|
|
4079
|
-
return /* @__PURE__ */ (0,
|
|
4004
|
+
return /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(import_radix_ui19.Menubar.Group, __spreadValues({ "data-slot": "menubar-group" }, props));
|
|
4080
4005
|
}
|
|
4081
4006
|
function MenubarPortal(_a) {
|
|
4082
4007
|
var props = __objRest(_a, []);
|
|
4083
|
-
return /* @__PURE__ */ (0,
|
|
4008
|
+
return /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(import_radix_ui19.Menubar.Portal, __spreadValues({ "data-slot": "menubar-portal" }, props));
|
|
4084
4009
|
}
|
|
4085
4010
|
function MenubarRadioGroup(_a) {
|
|
4086
4011
|
var props = __objRest(_a, []);
|
|
4087
|
-
return /* @__PURE__ */ (0,
|
|
4012
|
+
return /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(import_radix_ui19.Menubar.RadioGroup, __spreadValues({ "data-slot": "menubar-radio-group" }, props));
|
|
4088
4013
|
}
|
|
4089
4014
|
function MenubarTrigger(_a) {
|
|
4090
4015
|
var _b = _a, {
|
|
@@ -4092,8 +4017,8 @@ function MenubarTrigger(_a) {
|
|
|
4092
4017
|
} = _b, props = __objRest(_b, [
|
|
4093
4018
|
"className"
|
|
4094
4019
|
]);
|
|
4095
|
-
return /* @__PURE__ */ (0,
|
|
4096
|
-
|
|
4020
|
+
return /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(
|
|
4021
|
+
import_radix_ui19.Menubar.Trigger,
|
|
4097
4022
|
__spreadValues({
|
|
4098
4023
|
"data-slot": "menubar-trigger",
|
|
4099
4024
|
className: cn(
|
|
@@ -4115,8 +4040,8 @@ function MenubarContent(_a) {
|
|
|
4115
4040
|
"alignOffset",
|
|
4116
4041
|
"sideOffset"
|
|
4117
4042
|
]);
|
|
4118
|
-
return /* @__PURE__ */ (0,
|
|
4119
|
-
|
|
4043
|
+
return /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(MenubarPortal, { children: /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(
|
|
4044
|
+
import_radix_ui19.Menubar.Content,
|
|
4120
4045
|
__spreadValues({
|
|
4121
4046
|
"data-slot": "menubar-content",
|
|
4122
4047
|
align,
|
|
@@ -4139,8 +4064,8 @@ function MenubarItem(_a) {
|
|
|
4139
4064
|
"inset",
|
|
4140
4065
|
"variant"
|
|
4141
4066
|
]);
|
|
4142
|
-
return /* @__PURE__ */ (0,
|
|
4143
|
-
|
|
4067
|
+
return /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(
|
|
4068
|
+
import_radix_ui19.Menubar.Item,
|
|
4144
4069
|
__spreadValues({
|
|
4145
4070
|
"data-slot": "menubar-item",
|
|
4146
4071
|
"data-inset": inset,
|
|
@@ -4162,8 +4087,8 @@ function MenubarCheckboxItem(_a) {
|
|
|
4162
4087
|
"children",
|
|
4163
4088
|
"checked"
|
|
4164
4089
|
]);
|
|
4165
|
-
return /* @__PURE__ */ (0,
|
|
4166
|
-
|
|
4090
|
+
return /* @__PURE__ */ (0, import_jsx_runtime34.jsxs)(
|
|
4091
|
+
import_radix_ui19.Menubar.CheckboxItem,
|
|
4167
4092
|
__spreadProps(__spreadValues({
|
|
4168
4093
|
"data-slot": "menubar-checkbox-item",
|
|
4169
4094
|
className: cn(
|
|
@@ -4173,7 +4098,7 @@ function MenubarCheckboxItem(_a) {
|
|
|
4173
4098
|
checked
|
|
4174
4099
|
}, props), {
|
|
4175
4100
|
children: [
|
|
4176
|
-
/* @__PURE__ */ (0,
|
|
4101
|
+
/* @__PURE__ */ (0, import_jsx_runtime34.jsx)("span", { className: "pointer-events-none absolute left-2 flex size-3.5 items-center justify-center", children: /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(import_radix_ui19.Menubar.ItemIndicator, { children: /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(import_lucide_react12.CheckIcon, { className: "size-4" }) }) }),
|
|
4177
4102
|
children
|
|
4178
4103
|
]
|
|
4179
4104
|
})
|
|
@@ -4187,8 +4112,8 @@ function MenubarRadioItem(_a) {
|
|
|
4187
4112
|
"className",
|
|
4188
4113
|
"children"
|
|
4189
4114
|
]);
|
|
4190
|
-
return /* @__PURE__ */ (0,
|
|
4191
|
-
|
|
4115
|
+
return /* @__PURE__ */ (0, import_jsx_runtime34.jsxs)(
|
|
4116
|
+
import_radix_ui19.Menubar.RadioItem,
|
|
4192
4117
|
__spreadProps(__spreadValues({
|
|
4193
4118
|
"data-slot": "menubar-radio-item",
|
|
4194
4119
|
className: cn(
|
|
@@ -4197,7 +4122,7 @@ function MenubarRadioItem(_a) {
|
|
|
4197
4122
|
)
|
|
4198
4123
|
}, props), {
|
|
4199
4124
|
children: [
|
|
4200
|
-
/* @__PURE__ */ (0,
|
|
4125
|
+
/* @__PURE__ */ (0, import_jsx_runtime34.jsx)("span", { className: "pointer-events-none absolute left-2 flex size-3.5 items-center justify-center", children: /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(import_radix_ui19.Menubar.ItemIndicator, { children: /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(import_lucide_react12.CircleIcon, { className: "size-2 fill-current" }) }) }),
|
|
4201
4126
|
children
|
|
4202
4127
|
]
|
|
4203
4128
|
})
|
|
@@ -4211,8 +4136,8 @@ function MenubarLabel(_a) {
|
|
|
4211
4136
|
"className",
|
|
4212
4137
|
"inset"
|
|
4213
4138
|
]);
|
|
4214
|
-
return /* @__PURE__ */ (0,
|
|
4215
|
-
|
|
4139
|
+
return /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(
|
|
4140
|
+
import_radix_ui19.Menubar.Label,
|
|
4216
4141
|
__spreadValues({
|
|
4217
4142
|
"data-slot": "menubar-label",
|
|
4218
4143
|
"data-inset": inset,
|
|
@@ -4229,8 +4154,8 @@ function MenubarSeparator(_a) {
|
|
|
4229
4154
|
} = _b, props = __objRest(_b, [
|
|
4230
4155
|
"className"
|
|
4231
4156
|
]);
|
|
4232
|
-
return /* @__PURE__ */ (0,
|
|
4233
|
-
|
|
4157
|
+
return /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(
|
|
4158
|
+
import_radix_ui19.Menubar.Separator,
|
|
4234
4159
|
__spreadValues({
|
|
4235
4160
|
"data-slot": "menubar-separator",
|
|
4236
4161
|
className: cn("-mx-1 my-1 h-px bg-border", className)
|
|
@@ -4243,7 +4168,7 @@ function MenubarShortcut(_a) {
|
|
|
4243
4168
|
} = _b, props = __objRest(_b, [
|
|
4244
4169
|
"className"
|
|
4245
4170
|
]);
|
|
4246
|
-
return /* @__PURE__ */ (0,
|
|
4171
|
+
return /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(
|
|
4247
4172
|
"span",
|
|
4248
4173
|
__spreadValues({
|
|
4249
4174
|
"data-slot": "menubar-shortcut",
|
|
@@ -4256,7 +4181,7 @@ function MenubarShortcut(_a) {
|
|
|
4256
4181
|
}
|
|
4257
4182
|
function MenubarSub(_a) {
|
|
4258
4183
|
var props = __objRest(_a, []);
|
|
4259
|
-
return /* @__PURE__ */ (0,
|
|
4184
|
+
return /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(import_radix_ui19.Menubar.Sub, __spreadValues({ "data-slot": "menubar-sub" }, props));
|
|
4260
4185
|
}
|
|
4261
4186
|
function MenubarSubTrigger(_a) {
|
|
4262
4187
|
var _b = _a, {
|
|
@@ -4268,8 +4193,8 @@ function MenubarSubTrigger(_a) {
|
|
|
4268
4193
|
"inset",
|
|
4269
4194
|
"children"
|
|
4270
4195
|
]);
|
|
4271
|
-
return /* @__PURE__ */ (0,
|
|
4272
|
-
|
|
4196
|
+
return /* @__PURE__ */ (0, import_jsx_runtime34.jsxs)(
|
|
4197
|
+
import_radix_ui19.Menubar.SubTrigger,
|
|
4273
4198
|
__spreadProps(__spreadValues({
|
|
4274
4199
|
"data-slot": "menubar-sub-trigger",
|
|
4275
4200
|
"data-inset": inset,
|
|
@@ -4280,7 +4205,7 @@ function MenubarSubTrigger(_a) {
|
|
|
4280
4205
|
}, props), {
|
|
4281
4206
|
children: [
|
|
4282
4207
|
children,
|
|
4283
|
-
/* @__PURE__ */ (0,
|
|
4208
|
+
/* @__PURE__ */ (0, import_jsx_runtime34.jsx)(import_lucide_react12.ChevronRightIcon, { className: "ml-auto h-4 w-4" })
|
|
4284
4209
|
]
|
|
4285
4210
|
})
|
|
4286
4211
|
);
|
|
@@ -4291,8 +4216,8 @@ function MenubarSubContent(_a) {
|
|
|
4291
4216
|
} = _b, props = __objRest(_b, [
|
|
4292
4217
|
"className"
|
|
4293
4218
|
]);
|
|
4294
|
-
return /* @__PURE__ */ (0,
|
|
4295
|
-
|
|
4219
|
+
return /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(
|
|
4220
|
+
import_radix_ui19.Menubar.SubContent,
|
|
4296
4221
|
__spreadValues({
|
|
4297
4222
|
"data-slot": "menubar-sub-content",
|
|
4298
4223
|
className: cn(
|
|
@@ -4305,7 +4230,7 @@ function MenubarSubContent(_a) {
|
|
|
4305
4230
|
|
|
4306
4231
|
// components/ui/native-select.tsx
|
|
4307
4232
|
var import_lucide_react13 = require("lucide-react");
|
|
4308
|
-
var
|
|
4233
|
+
var import_jsx_runtime35 = require("react/jsx-runtime");
|
|
4309
4234
|
function NativeSelect(_a) {
|
|
4310
4235
|
var _b = _a, {
|
|
4311
4236
|
className,
|
|
@@ -4314,13 +4239,13 @@ function NativeSelect(_a) {
|
|
|
4314
4239
|
"className",
|
|
4315
4240
|
"size"
|
|
4316
4241
|
]);
|
|
4317
|
-
return /* @__PURE__ */ (0,
|
|
4242
|
+
return /* @__PURE__ */ (0, import_jsx_runtime35.jsxs)(
|
|
4318
4243
|
"div",
|
|
4319
4244
|
{
|
|
4320
4245
|
className: "group/native-select relative w-fit has-[select:disabled]:opacity-50",
|
|
4321
4246
|
"data-slot": "native-select-wrapper",
|
|
4322
4247
|
children: [
|
|
4323
|
-
/* @__PURE__ */ (0,
|
|
4248
|
+
/* @__PURE__ */ (0, import_jsx_runtime35.jsx)(
|
|
4324
4249
|
"select",
|
|
4325
4250
|
__spreadValues({
|
|
4326
4251
|
"data-slot": "native-select",
|
|
@@ -4333,7 +4258,7 @@ function NativeSelect(_a) {
|
|
|
4333
4258
|
)
|
|
4334
4259
|
}, props)
|
|
4335
4260
|
),
|
|
4336
|
-
/* @__PURE__ */ (0,
|
|
4261
|
+
/* @__PURE__ */ (0, import_jsx_runtime35.jsx)(
|
|
4337
4262
|
import_lucide_react13.ChevronDownIcon,
|
|
4338
4263
|
{
|
|
4339
4264
|
className: "pointer-events-none absolute top-1/2 right-3.5 size-4 -translate-y-1/2 text-muted-foreground opacity-50 select-none",
|
|
@@ -4347,7 +4272,7 @@ function NativeSelect(_a) {
|
|
|
4347
4272
|
}
|
|
4348
4273
|
function NativeSelectOption(_a) {
|
|
4349
4274
|
var props = __objRest(_a, []);
|
|
4350
|
-
return /* @__PURE__ */ (0,
|
|
4275
|
+
return /* @__PURE__ */ (0, import_jsx_runtime35.jsx)("option", __spreadValues({ "data-slot": "native-select-option" }, props));
|
|
4351
4276
|
}
|
|
4352
4277
|
function NativeSelectOptGroup(_a) {
|
|
4353
4278
|
var _b = _a, {
|
|
@@ -4355,7 +4280,7 @@ function NativeSelectOptGroup(_a) {
|
|
|
4355
4280
|
} = _b, props = __objRest(_b, [
|
|
4356
4281
|
"className"
|
|
4357
4282
|
]);
|
|
4358
|
-
return /* @__PURE__ */ (0,
|
|
4283
|
+
return /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(
|
|
4359
4284
|
"optgroup",
|
|
4360
4285
|
__spreadValues({
|
|
4361
4286
|
"data-slot": "native-select-optgroup",
|
|
@@ -4365,10 +4290,10 @@ function NativeSelectOptGroup(_a) {
|
|
|
4365
4290
|
}
|
|
4366
4291
|
|
|
4367
4292
|
// components/ui/navigation-menu.tsx
|
|
4368
|
-
var
|
|
4293
|
+
var import_class_variance_authority8 = require("class-variance-authority");
|
|
4369
4294
|
var import_lucide_react14 = require("lucide-react");
|
|
4370
|
-
var
|
|
4371
|
-
var
|
|
4295
|
+
var import_radix_ui20 = require("radix-ui");
|
|
4296
|
+
var import_jsx_runtime36 = require("react/jsx-runtime");
|
|
4372
4297
|
function NavigationMenu(_a) {
|
|
4373
4298
|
var _b = _a, {
|
|
4374
4299
|
className,
|
|
@@ -4379,8 +4304,8 @@ function NavigationMenu(_a) {
|
|
|
4379
4304
|
"children",
|
|
4380
4305
|
"viewport"
|
|
4381
4306
|
]);
|
|
4382
|
-
return /* @__PURE__ */ (0,
|
|
4383
|
-
|
|
4307
|
+
return /* @__PURE__ */ (0, import_jsx_runtime36.jsxs)(
|
|
4308
|
+
import_radix_ui20.NavigationMenu.Root,
|
|
4384
4309
|
__spreadProps(__spreadValues({
|
|
4385
4310
|
"data-slot": "navigation-menu",
|
|
4386
4311
|
"data-viewport": viewport,
|
|
@@ -4391,7 +4316,7 @@ function NavigationMenu(_a) {
|
|
|
4391
4316
|
}, props), {
|
|
4392
4317
|
children: [
|
|
4393
4318
|
children,
|
|
4394
|
-
viewport && /* @__PURE__ */ (0,
|
|
4319
|
+
viewport && /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(NavigationMenuViewport, {})
|
|
4395
4320
|
]
|
|
4396
4321
|
})
|
|
4397
4322
|
);
|
|
@@ -4402,8 +4327,8 @@ function NavigationMenuList(_a) {
|
|
|
4402
4327
|
} = _b, props = __objRest(_b, [
|
|
4403
4328
|
"className"
|
|
4404
4329
|
]);
|
|
4405
|
-
return /* @__PURE__ */ (0,
|
|
4406
|
-
|
|
4330
|
+
return /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(
|
|
4331
|
+
import_radix_ui20.NavigationMenu.List,
|
|
4407
4332
|
__spreadValues({
|
|
4408
4333
|
"data-slot": "navigation-menu-list",
|
|
4409
4334
|
className: cn(
|
|
@@ -4419,15 +4344,15 @@ function NavigationMenuItem(_a) {
|
|
|
4419
4344
|
} = _b, props = __objRest(_b, [
|
|
4420
4345
|
"className"
|
|
4421
4346
|
]);
|
|
4422
|
-
return /* @__PURE__ */ (0,
|
|
4423
|
-
|
|
4347
|
+
return /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(
|
|
4348
|
+
import_radix_ui20.NavigationMenu.Item,
|
|
4424
4349
|
__spreadValues({
|
|
4425
4350
|
"data-slot": "navigation-menu-item",
|
|
4426
4351
|
className: cn("relative", className)
|
|
4427
4352
|
}, props)
|
|
4428
4353
|
);
|
|
4429
4354
|
}
|
|
4430
|
-
var navigationMenuTriggerStyle = (0,
|
|
4355
|
+
var navigationMenuTriggerStyle = (0, import_class_variance_authority8.cva)(
|
|
4431
4356
|
"group inline-flex h-9 w-max items-center justify-center rounded-md bg-background px-4 py-2 text-sm font-medium transition-[color,box-shadow] outline-none hover:bg-accent hover:text-accent-foreground focus:bg-accent focus:text-accent-foreground focus-visible:ring-[3px] focus-visible:ring-ring/50 focus-visible:outline-1 disabled:pointer-events-none disabled:opacity-50 data-[state=open]:bg-accent/50 data-[state=open]:text-accent-foreground data-[state=open]:hover:bg-accent data-[state=open]:focus:bg-accent"
|
|
4432
4357
|
);
|
|
4433
4358
|
function NavigationMenuTrigger(_a) {
|
|
@@ -4438,8 +4363,8 @@ function NavigationMenuTrigger(_a) {
|
|
|
4438
4363
|
"className",
|
|
4439
4364
|
"children"
|
|
4440
4365
|
]);
|
|
4441
|
-
return /* @__PURE__ */ (0,
|
|
4442
|
-
|
|
4366
|
+
return /* @__PURE__ */ (0, import_jsx_runtime36.jsxs)(
|
|
4367
|
+
import_radix_ui20.NavigationMenu.Trigger,
|
|
4443
4368
|
__spreadProps(__spreadValues({
|
|
4444
4369
|
"data-slot": "navigation-menu-trigger",
|
|
4445
4370
|
className: cn(navigationMenuTriggerStyle(), "group", className)
|
|
@@ -4447,7 +4372,7 @@ function NavigationMenuTrigger(_a) {
|
|
|
4447
4372
|
children: [
|
|
4448
4373
|
children,
|
|
4449
4374
|
" ",
|
|
4450
|
-
/* @__PURE__ */ (0,
|
|
4375
|
+
/* @__PURE__ */ (0, import_jsx_runtime36.jsx)(
|
|
4451
4376
|
import_lucide_react14.ChevronDownIcon,
|
|
4452
4377
|
{
|
|
4453
4378
|
className: "relative top-[1px] ml-1 size-3 transition duration-300 group-data-[state=open]:rotate-180",
|
|
@@ -4464,8 +4389,8 @@ function NavigationMenuContent(_a) {
|
|
|
4464
4389
|
} = _b, props = __objRest(_b, [
|
|
4465
4390
|
"className"
|
|
4466
4391
|
]);
|
|
4467
|
-
return /* @__PURE__ */ (0,
|
|
4468
|
-
|
|
4392
|
+
return /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(
|
|
4393
|
+
import_radix_ui20.NavigationMenu.Content,
|
|
4469
4394
|
__spreadValues({
|
|
4470
4395
|
"data-slot": "navigation-menu-content",
|
|
4471
4396
|
className: cn(
|
|
@@ -4482,14 +4407,14 @@ function NavigationMenuViewport(_a) {
|
|
|
4482
4407
|
} = _b, props = __objRest(_b, [
|
|
4483
4408
|
"className"
|
|
4484
4409
|
]);
|
|
4485
|
-
return /* @__PURE__ */ (0,
|
|
4410
|
+
return /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(
|
|
4486
4411
|
"div",
|
|
4487
4412
|
{
|
|
4488
4413
|
className: cn(
|
|
4489
4414
|
"absolute top-full left-0 isolate z-50 flex justify-center"
|
|
4490
4415
|
),
|
|
4491
|
-
children: /* @__PURE__ */ (0,
|
|
4492
|
-
|
|
4416
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(
|
|
4417
|
+
import_radix_ui20.NavigationMenu.Viewport,
|
|
4493
4418
|
__spreadValues({
|
|
4494
4419
|
"data-slot": "navigation-menu-viewport",
|
|
4495
4420
|
className: cn(
|
|
@@ -4507,8 +4432,8 @@ function NavigationMenuLink(_a) {
|
|
|
4507
4432
|
} = _b, props = __objRest(_b, [
|
|
4508
4433
|
"className"
|
|
4509
4434
|
]);
|
|
4510
|
-
return /* @__PURE__ */ (0,
|
|
4511
|
-
|
|
4435
|
+
return /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(
|
|
4436
|
+
import_radix_ui20.NavigationMenu.Link,
|
|
4512
4437
|
__spreadValues({
|
|
4513
4438
|
"data-slot": "navigation-menu-link",
|
|
4514
4439
|
className: cn(
|
|
@@ -4524,8 +4449,8 @@ function NavigationMenuIndicator(_a) {
|
|
|
4524
4449
|
} = _b, props = __objRest(_b, [
|
|
4525
4450
|
"className"
|
|
4526
4451
|
]);
|
|
4527
|
-
return /* @__PURE__ */ (0,
|
|
4528
|
-
|
|
4452
|
+
return /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(
|
|
4453
|
+
import_radix_ui20.NavigationMenu.Indicator,
|
|
4529
4454
|
__spreadProps(__spreadValues({
|
|
4530
4455
|
"data-slot": "navigation-menu-indicator",
|
|
4531
4456
|
className: cn(
|
|
@@ -4533,17 +4458,17 @@ function NavigationMenuIndicator(_a) {
|
|
|
4533
4458
|
className
|
|
4534
4459
|
)
|
|
4535
4460
|
}, props), {
|
|
4536
|
-
children: /* @__PURE__ */ (0,
|
|
4461
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime36.jsx)("div", { className: "relative top-[60%] h-2 w-2 rotate-45 rounded-tl-sm bg-border shadow-md" })
|
|
4537
4462
|
})
|
|
4538
4463
|
);
|
|
4539
4464
|
}
|
|
4540
4465
|
|
|
4541
4466
|
// components/ui/pagination.tsx
|
|
4542
4467
|
var import_lucide_react15 = require("lucide-react");
|
|
4543
|
-
var
|
|
4468
|
+
var import_jsx_runtime37 = require("react/jsx-runtime");
|
|
4544
4469
|
function Pagination(_a) {
|
|
4545
4470
|
var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
|
|
4546
|
-
return /* @__PURE__ */ (0,
|
|
4471
|
+
return /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(
|
|
4547
4472
|
"nav",
|
|
4548
4473
|
__spreadValues({
|
|
4549
4474
|
role: "navigation",
|
|
@@ -4559,7 +4484,7 @@ function PaginationContent(_a) {
|
|
|
4559
4484
|
} = _b, props = __objRest(_b, [
|
|
4560
4485
|
"className"
|
|
4561
4486
|
]);
|
|
4562
|
-
return /* @__PURE__ */ (0,
|
|
4487
|
+
return /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(
|
|
4563
4488
|
"ul",
|
|
4564
4489
|
__spreadValues({
|
|
4565
4490
|
"data-slot": "pagination-content",
|
|
@@ -4569,7 +4494,7 @@ function PaginationContent(_a) {
|
|
|
4569
4494
|
}
|
|
4570
4495
|
function PaginationItem(_a) {
|
|
4571
4496
|
var props = __objRest(_a, []);
|
|
4572
|
-
return /* @__PURE__ */ (0,
|
|
4497
|
+
return /* @__PURE__ */ (0, import_jsx_runtime37.jsx)("li", __spreadValues({ "data-slot": "pagination-item" }, props));
|
|
4573
4498
|
}
|
|
4574
4499
|
function PaginationLink(_a) {
|
|
4575
4500
|
var _b = _a, {
|
|
@@ -4581,7 +4506,7 @@ function PaginationLink(_a) {
|
|
|
4581
4506
|
"isActive",
|
|
4582
4507
|
"size"
|
|
4583
4508
|
]);
|
|
4584
|
-
return /* @__PURE__ */ (0,
|
|
4509
|
+
return /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(
|
|
4585
4510
|
"a",
|
|
4586
4511
|
__spreadValues({
|
|
4587
4512
|
"aria-current": isActive ? "page" : void 0,
|
|
@@ -4603,7 +4528,7 @@ function PaginationPrevious(_a) {
|
|
|
4603
4528
|
} = _b, props = __objRest(_b, [
|
|
4604
4529
|
"className"
|
|
4605
4530
|
]);
|
|
4606
|
-
return /* @__PURE__ */ (0,
|
|
4531
|
+
return /* @__PURE__ */ (0, import_jsx_runtime37.jsxs)(
|
|
4607
4532
|
PaginationLink,
|
|
4608
4533
|
__spreadProps(__spreadValues({
|
|
4609
4534
|
"aria-label": "Go to previous page",
|
|
@@ -4611,8 +4536,8 @@ function PaginationPrevious(_a) {
|
|
|
4611
4536
|
className: cn("gap-1 px-2.5 sm:pl-2.5", className)
|
|
4612
4537
|
}, props), {
|
|
4613
4538
|
children: [
|
|
4614
|
-
/* @__PURE__ */ (0,
|
|
4615
|
-
/* @__PURE__ */ (0,
|
|
4539
|
+
/* @__PURE__ */ (0, import_jsx_runtime37.jsx)(import_lucide_react15.ChevronLeftIcon, {}),
|
|
4540
|
+
/* @__PURE__ */ (0, import_jsx_runtime37.jsx)("span", { className: "hidden sm:block", children: "Previous" })
|
|
4616
4541
|
]
|
|
4617
4542
|
})
|
|
4618
4543
|
);
|
|
@@ -4623,7 +4548,7 @@ function PaginationNext(_a) {
|
|
|
4623
4548
|
} = _b, props = __objRest(_b, [
|
|
4624
4549
|
"className"
|
|
4625
4550
|
]);
|
|
4626
|
-
return /* @__PURE__ */ (0,
|
|
4551
|
+
return /* @__PURE__ */ (0, import_jsx_runtime37.jsxs)(
|
|
4627
4552
|
PaginationLink,
|
|
4628
4553
|
__spreadProps(__spreadValues({
|
|
4629
4554
|
"aria-label": "Go to next page",
|
|
@@ -4631,8 +4556,8 @@ function PaginationNext(_a) {
|
|
|
4631
4556
|
className: cn("gap-1 px-2.5 sm:pr-2.5", className)
|
|
4632
4557
|
}, props), {
|
|
4633
4558
|
children: [
|
|
4634
|
-
/* @__PURE__ */ (0,
|
|
4635
|
-
/* @__PURE__ */ (0,
|
|
4559
|
+
/* @__PURE__ */ (0, import_jsx_runtime37.jsx)("span", { className: "hidden sm:block", children: "Next" }),
|
|
4560
|
+
/* @__PURE__ */ (0, import_jsx_runtime37.jsx)(import_lucide_react15.ChevronRightIcon, {})
|
|
4636
4561
|
]
|
|
4637
4562
|
})
|
|
4638
4563
|
);
|
|
@@ -4643,7 +4568,7 @@ function PaginationEllipsis(_a) {
|
|
|
4643
4568
|
} = _b, props = __objRest(_b, [
|
|
4644
4569
|
"className"
|
|
4645
4570
|
]);
|
|
4646
|
-
return /* @__PURE__ */ (0,
|
|
4571
|
+
return /* @__PURE__ */ (0, import_jsx_runtime37.jsxs)(
|
|
4647
4572
|
"span",
|
|
4648
4573
|
__spreadProps(__spreadValues({
|
|
4649
4574
|
"aria-hidden": true,
|
|
@@ -4651,23 +4576,23 @@ function PaginationEllipsis(_a) {
|
|
|
4651
4576
|
className: cn("flex size-9 items-center justify-center", className)
|
|
4652
4577
|
}, props), {
|
|
4653
4578
|
children: [
|
|
4654
|
-
/* @__PURE__ */ (0,
|
|
4655
|
-
/* @__PURE__ */ (0,
|
|
4579
|
+
/* @__PURE__ */ (0, import_jsx_runtime37.jsx)(import_lucide_react15.MoreHorizontalIcon, { className: "size-4" }),
|
|
4580
|
+
/* @__PURE__ */ (0, import_jsx_runtime37.jsx)("span", { className: "sr-only", children: "More pages" })
|
|
4656
4581
|
]
|
|
4657
4582
|
})
|
|
4658
4583
|
);
|
|
4659
4584
|
}
|
|
4660
4585
|
|
|
4661
4586
|
// components/ui/popover.tsx
|
|
4662
|
-
var
|
|
4663
|
-
var
|
|
4587
|
+
var import_radix_ui21 = require("radix-ui");
|
|
4588
|
+
var import_jsx_runtime38 = require("react/jsx-runtime");
|
|
4664
4589
|
function Popover(_a) {
|
|
4665
4590
|
var props = __objRest(_a, []);
|
|
4666
|
-
return /* @__PURE__ */ (0,
|
|
4591
|
+
return /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(import_radix_ui21.Popover.Root, __spreadValues({ "data-slot": "popover" }, props));
|
|
4667
4592
|
}
|
|
4668
4593
|
function PopoverTrigger(_a) {
|
|
4669
4594
|
var props = __objRest(_a, []);
|
|
4670
|
-
return /* @__PURE__ */ (0,
|
|
4595
|
+
return /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(import_radix_ui21.Popover.Trigger, __spreadValues({ "data-slot": "popover-trigger" }, props));
|
|
4671
4596
|
}
|
|
4672
4597
|
function PopoverContent(_a) {
|
|
4673
4598
|
var _b = _a, {
|
|
@@ -4679,8 +4604,8 @@ function PopoverContent(_a) {
|
|
|
4679
4604
|
"align",
|
|
4680
4605
|
"sideOffset"
|
|
4681
4606
|
]);
|
|
4682
|
-
return /* @__PURE__ */ (0,
|
|
4683
|
-
|
|
4607
|
+
return /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(import_radix_ui21.Popover.Portal, { children: /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(
|
|
4608
|
+
import_radix_ui21.Popover.Content,
|
|
4684
4609
|
__spreadValues({
|
|
4685
4610
|
"data-slot": "popover-content",
|
|
4686
4611
|
align,
|
|
@@ -4694,11 +4619,11 @@ function PopoverContent(_a) {
|
|
|
4694
4619
|
}
|
|
4695
4620
|
function PopoverAnchor(_a) {
|
|
4696
4621
|
var props = __objRest(_a, []);
|
|
4697
|
-
return /* @__PURE__ */ (0,
|
|
4622
|
+
return /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(import_radix_ui21.Popover.Anchor, __spreadValues({ "data-slot": "popover-anchor" }, props));
|
|
4698
4623
|
}
|
|
4699
4624
|
function PopoverHeader(_a) {
|
|
4700
4625
|
var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
|
|
4701
|
-
return /* @__PURE__ */ (0,
|
|
4626
|
+
return /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(
|
|
4702
4627
|
"div",
|
|
4703
4628
|
__spreadValues({
|
|
4704
4629
|
"data-slot": "popover-header",
|
|
@@ -4708,7 +4633,7 @@ function PopoverHeader(_a) {
|
|
|
4708
4633
|
}
|
|
4709
4634
|
function PopoverTitle(_a) {
|
|
4710
4635
|
var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
|
|
4711
|
-
return /* @__PURE__ */ (0,
|
|
4636
|
+
return /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(
|
|
4712
4637
|
"div",
|
|
4713
4638
|
__spreadValues({
|
|
4714
4639
|
"data-slot": "popover-title",
|
|
@@ -4722,7 +4647,7 @@ function PopoverDescription(_a) {
|
|
|
4722
4647
|
} = _b, props = __objRest(_b, [
|
|
4723
4648
|
"className"
|
|
4724
4649
|
]);
|
|
4725
|
-
return /* @__PURE__ */ (0,
|
|
4650
|
+
return /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(
|
|
4726
4651
|
"p",
|
|
4727
4652
|
__spreadValues({
|
|
4728
4653
|
"data-slot": "popover-description",
|
|
@@ -4732,8 +4657,8 @@ function PopoverDescription(_a) {
|
|
|
4732
4657
|
}
|
|
4733
4658
|
|
|
4734
4659
|
// components/ui/progress.tsx
|
|
4735
|
-
var
|
|
4736
|
-
var
|
|
4660
|
+
var import_radix_ui22 = require("radix-ui");
|
|
4661
|
+
var import_jsx_runtime39 = require("react/jsx-runtime");
|
|
4737
4662
|
function Progress(_a) {
|
|
4738
4663
|
var _b = _a, {
|
|
4739
4664
|
className,
|
|
@@ -4742,8 +4667,8 @@ function Progress(_a) {
|
|
|
4742
4667
|
"className",
|
|
4743
4668
|
"value"
|
|
4744
4669
|
]);
|
|
4745
|
-
return /* @__PURE__ */ (0,
|
|
4746
|
-
|
|
4670
|
+
return /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(
|
|
4671
|
+
import_radix_ui22.Progress.Root,
|
|
4747
4672
|
__spreadProps(__spreadValues({
|
|
4748
4673
|
"data-slot": "progress",
|
|
4749
4674
|
className: cn(
|
|
@@ -4751,8 +4676,8 @@ function Progress(_a) {
|
|
|
4751
4676
|
className
|
|
4752
4677
|
)
|
|
4753
4678
|
}, props), {
|
|
4754
|
-
children: /* @__PURE__ */ (0,
|
|
4755
|
-
|
|
4679
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(
|
|
4680
|
+
import_radix_ui22.Progress.Indicator,
|
|
4756
4681
|
{
|
|
4757
4682
|
"data-slot": "progress-indicator",
|
|
4758
4683
|
className: "h-full w-full flex-1 bg-primary transition-all",
|
|
@@ -4765,16 +4690,16 @@ function Progress(_a) {
|
|
|
4765
4690
|
|
|
4766
4691
|
// components/ui/radio-group.tsx
|
|
4767
4692
|
var import_lucide_react16 = require("lucide-react");
|
|
4768
|
-
var
|
|
4769
|
-
var
|
|
4693
|
+
var import_radix_ui23 = require("radix-ui");
|
|
4694
|
+
var import_jsx_runtime40 = require("react/jsx-runtime");
|
|
4770
4695
|
function RadioGroup(_a) {
|
|
4771
4696
|
var _b = _a, {
|
|
4772
4697
|
className
|
|
4773
4698
|
} = _b, props = __objRest(_b, [
|
|
4774
4699
|
"className"
|
|
4775
4700
|
]);
|
|
4776
|
-
return /* @__PURE__ */ (0,
|
|
4777
|
-
|
|
4701
|
+
return /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(
|
|
4702
|
+
import_radix_ui23.RadioGroup.Root,
|
|
4778
4703
|
__spreadValues({
|
|
4779
4704
|
"data-slot": "radio-group",
|
|
4780
4705
|
className: cn("grid gap-3", className)
|
|
@@ -4787,8 +4712,8 @@ function RadioGroupItem(_a) {
|
|
|
4787
4712
|
} = _b, props = __objRest(_b, [
|
|
4788
4713
|
"className"
|
|
4789
4714
|
]);
|
|
4790
|
-
return /* @__PURE__ */ (0,
|
|
4791
|
-
|
|
4715
|
+
return /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(
|
|
4716
|
+
import_radix_ui23.RadioGroup.Item,
|
|
4792
4717
|
__spreadProps(__spreadValues({
|
|
4793
4718
|
"data-slot": "radio-group-item",
|
|
4794
4719
|
className: cn(
|
|
@@ -4796,12 +4721,12 @@ function RadioGroupItem(_a) {
|
|
|
4796
4721
|
className
|
|
4797
4722
|
)
|
|
4798
4723
|
}, props), {
|
|
4799
|
-
children: /* @__PURE__ */ (0,
|
|
4800
|
-
|
|
4724
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(
|
|
4725
|
+
import_radix_ui23.RadioGroup.Indicator,
|
|
4801
4726
|
{
|
|
4802
4727
|
"data-slot": "radio-group-indicator",
|
|
4803
4728
|
className: "relative flex items-center justify-center",
|
|
4804
|
-
children: /* @__PURE__ */ (0,
|
|
4729
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(import_lucide_react16.CircleIcon, { className: "absolute top-1/2 left-1/2 size-2 -translate-x-1/2 -translate-y-1/2 fill-primary" })
|
|
4805
4730
|
}
|
|
4806
4731
|
)
|
|
4807
4732
|
})
|
|
@@ -4811,14 +4736,14 @@ function RadioGroupItem(_a) {
|
|
|
4811
4736
|
// components/ui/resizable.tsx
|
|
4812
4737
|
var import_lucide_react17 = require("lucide-react");
|
|
4813
4738
|
var ResizablePrimitive = __toESM(require("react-resizable-panels"), 1);
|
|
4814
|
-
var
|
|
4739
|
+
var import_jsx_runtime41 = require("react/jsx-runtime");
|
|
4815
4740
|
function ResizablePanelGroup(_a) {
|
|
4816
4741
|
var _b = _a, {
|
|
4817
4742
|
className
|
|
4818
4743
|
} = _b, props = __objRest(_b, [
|
|
4819
4744
|
"className"
|
|
4820
4745
|
]);
|
|
4821
|
-
return /* @__PURE__ */ (0,
|
|
4746
|
+
return /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(
|
|
4822
4747
|
ResizablePrimitive.Group,
|
|
4823
4748
|
__spreadValues({
|
|
4824
4749
|
"data-slot": "resizable-panel-group",
|
|
@@ -4831,7 +4756,7 @@ function ResizablePanelGroup(_a) {
|
|
|
4831
4756
|
}
|
|
4832
4757
|
function ResizablePanel(_a) {
|
|
4833
4758
|
var props = __objRest(_a, []);
|
|
4834
|
-
return /* @__PURE__ */ (0,
|
|
4759
|
+
return /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(ResizablePrimitive.Panel, __spreadValues({ "data-slot": "resizable-panel" }, props));
|
|
4835
4760
|
}
|
|
4836
4761
|
function ResizableHandle(_a) {
|
|
4837
4762
|
var _b = _a, {
|
|
@@ -4841,7 +4766,7 @@ function ResizableHandle(_a) {
|
|
|
4841
4766
|
"withHandle",
|
|
4842
4767
|
"className"
|
|
4843
4768
|
]);
|
|
4844
|
-
return /* @__PURE__ */ (0,
|
|
4769
|
+
return /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(
|
|
4845
4770
|
ResizablePrimitive.Separator,
|
|
4846
4771
|
__spreadProps(__spreadValues({
|
|
4847
4772
|
"data-slot": "resizable-handle",
|
|
@@ -4850,14 +4775,14 @@ function ResizableHandle(_a) {
|
|
|
4850
4775
|
className
|
|
4851
4776
|
)
|
|
4852
4777
|
}, props), {
|
|
4853
|
-
children: withHandle && /* @__PURE__ */ (0,
|
|
4778
|
+
children: withHandle && /* @__PURE__ */ (0, import_jsx_runtime41.jsx)("div", { className: "z-10 flex h-4 w-3 items-center justify-center rounded-xs border bg-border", children: /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(import_lucide_react17.GripVerticalIcon, { className: "size-2.5" }) })
|
|
4854
4779
|
})
|
|
4855
4780
|
);
|
|
4856
4781
|
}
|
|
4857
4782
|
|
|
4858
4783
|
// components/ui/scroll-area.tsx
|
|
4859
|
-
var
|
|
4860
|
-
var
|
|
4784
|
+
var import_radix_ui24 = require("radix-ui");
|
|
4785
|
+
var import_jsx_runtime42 = require("react/jsx-runtime");
|
|
4861
4786
|
function ScrollArea(_a) {
|
|
4862
4787
|
var _b = _a, {
|
|
4863
4788
|
className,
|
|
@@ -4866,23 +4791,23 @@ function ScrollArea(_a) {
|
|
|
4866
4791
|
"className",
|
|
4867
4792
|
"children"
|
|
4868
4793
|
]);
|
|
4869
|
-
return /* @__PURE__ */ (0,
|
|
4870
|
-
|
|
4794
|
+
return /* @__PURE__ */ (0, import_jsx_runtime42.jsxs)(
|
|
4795
|
+
import_radix_ui24.ScrollArea.Root,
|
|
4871
4796
|
__spreadProps(__spreadValues({
|
|
4872
4797
|
"data-slot": "scroll-area",
|
|
4873
4798
|
className: cn("relative", className)
|
|
4874
4799
|
}, props), {
|
|
4875
4800
|
children: [
|
|
4876
|
-
/* @__PURE__ */ (0,
|
|
4877
|
-
|
|
4801
|
+
/* @__PURE__ */ (0, import_jsx_runtime42.jsx)(
|
|
4802
|
+
import_radix_ui24.ScrollArea.Viewport,
|
|
4878
4803
|
{
|
|
4879
4804
|
"data-slot": "scroll-area-viewport",
|
|
4880
4805
|
className: "size-full rounded-[inherit] transition-[color,box-shadow] outline-none focus-visible:ring-[3px] focus-visible:ring-ring/50 focus-visible:outline-1",
|
|
4881
4806
|
children
|
|
4882
4807
|
}
|
|
4883
4808
|
),
|
|
4884
|
-
/* @__PURE__ */ (0,
|
|
4885
|
-
/* @__PURE__ */ (0,
|
|
4809
|
+
/* @__PURE__ */ (0, import_jsx_runtime42.jsx)(ScrollBar, {}),
|
|
4810
|
+
/* @__PURE__ */ (0, import_jsx_runtime42.jsx)(import_radix_ui24.ScrollArea.Corner, {})
|
|
4886
4811
|
]
|
|
4887
4812
|
})
|
|
4888
4813
|
);
|
|
@@ -4895,8 +4820,8 @@ function ScrollBar(_a) {
|
|
|
4895
4820
|
"className",
|
|
4896
4821
|
"orientation"
|
|
4897
4822
|
]);
|
|
4898
|
-
return /* @__PURE__ */ (0,
|
|
4899
|
-
|
|
4823
|
+
return /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(
|
|
4824
|
+
import_radix_ui24.ScrollArea.ScrollAreaScrollbar,
|
|
4900
4825
|
__spreadProps(__spreadValues({
|
|
4901
4826
|
"data-slot": "scroll-area-scrollbar",
|
|
4902
4827
|
orientation,
|
|
@@ -4907,8 +4832,8 @@ function ScrollBar(_a) {
|
|
|
4907
4832
|
className
|
|
4908
4833
|
)
|
|
4909
4834
|
}, props), {
|
|
4910
|
-
children: /* @__PURE__ */ (0,
|
|
4911
|
-
|
|
4835
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(
|
|
4836
|
+
import_radix_ui24.ScrollArea.ScrollAreaThumb,
|
|
4912
4837
|
{
|
|
4913
4838
|
"data-slot": "scroll-area-thumb",
|
|
4914
4839
|
className: "relative flex-1 rounded-full bg-border"
|
|
@@ -4920,19 +4845,19 @@ function ScrollBar(_a) {
|
|
|
4920
4845
|
|
|
4921
4846
|
// components/ui/select.tsx
|
|
4922
4847
|
var import_lucide_react18 = require("lucide-react");
|
|
4923
|
-
var
|
|
4924
|
-
var
|
|
4848
|
+
var import_radix_ui25 = require("radix-ui");
|
|
4849
|
+
var import_jsx_runtime43 = require("react/jsx-runtime");
|
|
4925
4850
|
function Select(_a) {
|
|
4926
4851
|
var props = __objRest(_a, []);
|
|
4927
|
-
return /* @__PURE__ */ (0,
|
|
4852
|
+
return /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(import_radix_ui25.Select.Root, __spreadValues({ "data-slot": "select" }, props));
|
|
4928
4853
|
}
|
|
4929
4854
|
function SelectGroup(_a) {
|
|
4930
4855
|
var props = __objRest(_a, []);
|
|
4931
|
-
return /* @__PURE__ */ (0,
|
|
4856
|
+
return /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(import_radix_ui25.Select.Group, __spreadValues({ "data-slot": "select-group" }, props));
|
|
4932
4857
|
}
|
|
4933
4858
|
function SelectValue(_a) {
|
|
4934
4859
|
var props = __objRest(_a, []);
|
|
4935
|
-
return /* @__PURE__ */ (0,
|
|
4860
|
+
return /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(import_radix_ui25.Select.Value, __spreadValues({ "data-slot": "select-value" }, props));
|
|
4936
4861
|
}
|
|
4937
4862
|
function SelectTrigger(_a) {
|
|
4938
4863
|
var _b = _a, {
|
|
@@ -4944,8 +4869,8 @@ function SelectTrigger(_a) {
|
|
|
4944
4869
|
"size",
|
|
4945
4870
|
"children"
|
|
4946
4871
|
]);
|
|
4947
|
-
return /* @__PURE__ */ (0,
|
|
4948
|
-
|
|
4872
|
+
return /* @__PURE__ */ (0, import_jsx_runtime43.jsxs)(
|
|
4873
|
+
import_radix_ui25.Select.Trigger,
|
|
4949
4874
|
__spreadProps(__spreadValues({
|
|
4950
4875
|
"data-slot": "select-trigger",
|
|
4951
4876
|
"data-size": size,
|
|
@@ -4956,7 +4881,7 @@ function SelectTrigger(_a) {
|
|
|
4956
4881
|
}, props), {
|
|
4957
4882
|
children: [
|
|
4958
4883
|
children,
|
|
4959
|
-
/* @__PURE__ */ (0,
|
|
4884
|
+
/* @__PURE__ */ (0, import_jsx_runtime43.jsx)(import_radix_ui25.Select.Icon, { asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(import_lucide_react18.ChevronDownIcon, { className: "size-4 opacity-50" }) })
|
|
4960
4885
|
]
|
|
4961
4886
|
})
|
|
4962
4887
|
);
|
|
@@ -4973,8 +4898,8 @@ function SelectContent(_a) {
|
|
|
4973
4898
|
"position",
|
|
4974
4899
|
"align"
|
|
4975
4900
|
]);
|
|
4976
|
-
return /* @__PURE__ */ (0,
|
|
4977
|
-
|
|
4901
|
+
return /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(import_radix_ui25.Select.Portal, { children: /* @__PURE__ */ (0, import_jsx_runtime43.jsxs)(
|
|
4902
|
+
import_radix_ui25.Select.Content,
|
|
4978
4903
|
__spreadProps(__spreadValues({
|
|
4979
4904
|
"data-slot": "select-content",
|
|
4980
4905
|
className: cn(
|
|
@@ -4986,9 +4911,9 @@ function SelectContent(_a) {
|
|
|
4986
4911
|
align
|
|
4987
4912
|
}, props), {
|
|
4988
4913
|
children: [
|
|
4989
|
-
/* @__PURE__ */ (0,
|
|
4990
|
-
/* @__PURE__ */ (0,
|
|
4991
|
-
|
|
4914
|
+
/* @__PURE__ */ (0, import_jsx_runtime43.jsx)(SelectScrollUpButton, {}),
|
|
4915
|
+
/* @__PURE__ */ (0, import_jsx_runtime43.jsx)(
|
|
4916
|
+
import_radix_ui25.Select.Viewport,
|
|
4992
4917
|
{
|
|
4993
4918
|
className: cn(
|
|
4994
4919
|
"p-1",
|
|
@@ -4997,7 +4922,7 @@ function SelectContent(_a) {
|
|
|
4997
4922
|
children
|
|
4998
4923
|
}
|
|
4999
4924
|
),
|
|
5000
|
-
/* @__PURE__ */ (0,
|
|
4925
|
+
/* @__PURE__ */ (0, import_jsx_runtime43.jsx)(SelectScrollDownButton, {})
|
|
5001
4926
|
]
|
|
5002
4927
|
})
|
|
5003
4928
|
) });
|
|
@@ -5008,8 +4933,8 @@ function SelectLabel(_a) {
|
|
|
5008
4933
|
} = _b, props = __objRest(_b, [
|
|
5009
4934
|
"className"
|
|
5010
4935
|
]);
|
|
5011
|
-
return /* @__PURE__ */ (0,
|
|
5012
|
-
|
|
4936
|
+
return /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(
|
|
4937
|
+
import_radix_ui25.Select.Label,
|
|
5013
4938
|
__spreadValues({
|
|
5014
4939
|
"data-slot": "select-label",
|
|
5015
4940
|
className: cn("px-2 py-1.5 text-xs text-muted-foreground", className)
|
|
@@ -5024,8 +4949,8 @@ function SelectItem(_a) {
|
|
|
5024
4949
|
"className",
|
|
5025
4950
|
"children"
|
|
5026
4951
|
]);
|
|
5027
|
-
return /* @__PURE__ */ (0,
|
|
5028
|
-
|
|
4952
|
+
return /* @__PURE__ */ (0, import_jsx_runtime43.jsxs)(
|
|
4953
|
+
import_radix_ui25.Select.Item,
|
|
5029
4954
|
__spreadProps(__spreadValues({
|
|
5030
4955
|
"data-slot": "select-item",
|
|
5031
4956
|
className: cn(
|
|
@@ -5034,15 +4959,15 @@ function SelectItem(_a) {
|
|
|
5034
4959
|
)
|
|
5035
4960
|
}, props), {
|
|
5036
4961
|
children: [
|
|
5037
|
-
/* @__PURE__ */ (0,
|
|
4962
|
+
/* @__PURE__ */ (0, import_jsx_runtime43.jsx)(
|
|
5038
4963
|
"span",
|
|
5039
4964
|
{
|
|
5040
4965
|
"data-slot": "select-item-indicator",
|
|
5041
4966
|
className: "absolute right-2 flex size-3.5 items-center justify-center",
|
|
5042
|
-
children: /* @__PURE__ */ (0,
|
|
4967
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(import_radix_ui25.Select.ItemIndicator, { children: /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(import_lucide_react18.CheckIcon, { className: "size-4" }) })
|
|
5043
4968
|
}
|
|
5044
4969
|
),
|
|
5045
|
-
/* @__PURE__ */ (0,
|
|
4970
|
+
/* @__PURE__ */ (0, import_jsx_runtime43.jsx)(import_radix_ui25.Select.ItemText, { children })
|
|
5046
4971
|
]
|
|
5047
4972
|
})
|
|
5048
4973
|
);
|
|
@@ -5053,8 +4978,8 @@ function SelectSeparator(_a) {
|
|
|
5053
4978
|
} = _b, props = __objRest(_b, [
|
|
5054
4979
|
"className"
|
|
5055
4980
|
]);
|
|
5056
|
-
return /* @__PURE__ */ (0,
|
|
5057
|
-
|
|
4981
|
+
return /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(
|
|
4982
|
+
import_radix_ui25.Select.Separator,
|
|
5058
4983
|
__spreadValues({
|
|
5059
4984
|
"data-slot": "select-separator",
|
|
5060
4985
|
className: cn("pointer-events-none -mx-1 my-1 h-px bg-border", className)
|
|
@@ -5067,8 +4992,8 @@ function SelectScrollUpButton(_a) {
|
|
|
5067
4992
|
} = _b, props = __objRest(_b, [
|
|
5068
4993
|
"className"
|
|
5069
4994
|
]);
|
|
5070
|
-
return /* @__PURE__ */ (0,
|
|
5071
|
-
|
|
4995
|
+
return /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(
|
|
4996
|
+
import_radix_ui25.Select.ScrollUpButton,
|
|
5072
4997
|
__spreadProps(__spreadValues({
|
|
5073
4998
|
"data-slot": "select-scroll-up-button",
|
|
5074
4999
|
className: cn(
|
|
@@ -5076,7 +5001,7 @@ function SelectScrollUpButton(_a) {
|
|
|
5076
5001
|
className
|
|
5077
5002
|
)
|
|
5078
5003
|
}, props), {
|
|
5079
|
-
children: /* @__PURE__ */ (0,
|
|
5004
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(import_lucide_react18.ChevronUpIcon, { className: "size-4" })
|
|
5080
5005
|
})
|
|
5081
5006
|
);
|
|
5082
5007
|
}
|
|
@@ -5086,8 +5011,8 @@ function SelectScrollDownButton(_a) {
|
|
|
5086
5011
|
} = _b, props = __objRest(_b, [
|
|
5087
5012
|
"className"
|
|
5088
5013
|
]);
|
|
5089
|
-
return /* @__PURE__ */ (0,
|
|
5090
|
-
|
|
5014
|
+
return /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(
|
|
5015
|
+
import_radix_ui25.Select.ScrollDownButton,
|
|
5091
5016
|
__spreadProps(__spreadValues({
|
|
5092
5017
|
"data-slot": "select-scroll-down-button",
|
|
5093
5018
|
className: cn(
|
|
@@ -5095,30 +5020,30 @@ function SelectScrollDownButton(_a) {
|
|
|
5095
5020
|
className
|
|
5096
5021
|
)
|
|
5097
5022
|
}, props), {
|
|
5098
|
-
children: /* @__PURE__ */ (0,
|
|
5023
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(import_lucide_react18.ChevronDownIcon, { className: "size-4" })
|
|
5099
5024
|
})
|
|
5100
5025
|
);
|
|
5101
5026
|
}
|
|
5102
5027
|
|
|
5103
5028
|
// components/ui/sheet.tsx
|
|
5104
5029
|
var import_lucide_react19 = require("lucide-react");
|
|
5105
|
-
var
|
|
5106
|
-
var
|
|
5030
|
+
var import_radix_ui26 = require("radix-ui");
|
|
5031
|
+
var import_jsx_runtime44 = require("react/jsx-runtime");
|
|
5107
5032
|
function Sheet(_a) {
|
|
5108
5033
|
var props = __objRest(_a, []);
|
|
5109
|
-
return /* @__PURE__ */ (0,
|
|
5034
|
+
return /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(import_radix_ui26.Dialog.Root, __spreadValues({ "data-slot": "sheet" }, props));
|
|
5110
5035
|
}
|
|
5111
5036
|
function SheetTrigger(_a) {
|
|
5112
5037
|
var props = __objRest(_a, []);
|
|
5113
|
-
return /* @__PURE__ */ (0,
|
|
5038
|
+
return /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(import_radix_ui26.Dialog.Trigger, __spreadValues({ "data-slot": "sheet-trigger" }, props));
|
|
5114
5039
|
}
|
|
5115
5040
|
function SheetClose(_a) {
|
|
5116
5041
|
var props = __objRest(_a, []);
|
|
5117
|
-
return /* @__PURE__ */ (0,
|
|
5042
|
+
return /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(import_radix_ui26.Dialog.Close, __spreadValues({ "data-slot": "sheet-close" }, props));
|
|
5118
5043
|
}
|
|
5119
5044
|
function SheetPortal(_a) {
|
|
5120
5045
|
var props = __objRest(_a, []);
|
|
5121
|
-
return /* @__PURE__ */ (0,
|
|
5046
|
+
return /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(import_radix_ui26.Dialog.Portal, __spreadValues({ "data-slot": "sheet-portal" }, props));
|
|
5122
5047
|
}
|
|
5123
5048
|
function SheetOverlay(_a) {
|
|
5124
5049
|
var _b = _a, {
|
|
@@ -5126,8 +5051,8 @@ function SheetOverlay(_a) {
|
|
|
5126
5051
|
} = _b, props = __objRest(_b, [
|
|
5127
5052
|
"className"
|
|
5128
5053
|
]);
|
|
5129
|
-
return /* @__PURE__ */ (0,
|
|
5130
|
-
|
|
5054
|
+
return /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(
|
|
5055
|
+
import_radix_ui26.Dialog.Overlay,
|
|
5131
5056
|
__spreadValues({
|
|
5132
5057
|
"data-slot": "sheet-overlay",
|
|
5133
5058
|
className: cn(
|
|
@@ -5149,10 +5074,10 @@ function SheetContent(_a) {
|
|
|
5149
5074
|
"side",
|
|
5150
5075
|
"showCloseButton"
|
|
5151
5076
|
]);
|
|
5152
|
-
return /* @__PURE__ */ (0,
|
|
5153
|
-
/* @__PURE__ */ (0,
|
|
5154
|
-
/* @__PURE__ */ (0,
|
|
5155
|
-
|
|
5077
|
+
return /* @__PURE__ */ (0, import_jsx_runtime44.jsxs)(SheetPortal, { children: [
|
|
5078
|
+
/* @__PURE__ */ (0, import_jsx_runtime44.jsx)(SheetOverlay, {}),
|
|
5079
|
+
/* @__PURE__ */ (0, import_jsx_runtime44.jsxs)(
|
|
5080
|
+
import_radix_ui26.Dialog.Content,
|
|
5156
5081
|
__spreadProps(__spreadValues({
|
|
5157
5082
|
"data-slot": "sheet-content",
|
|
5158
5083
|
className: cn(
|
|
@@ -5166,9 +5091,9 @@ function SheetContent(_a) {
|
|
|
5166
5091
|
}, props), {
|
|
5167
5092
|
children: [
|
|
5168
5093
|
children,
|
|
5169
|
-
showCloseButton && /* @__PURE__ */ (0,
|
|
5170
|
-
/* @__PURE__ */ (0,
|
|
5171
|
-
/* @__PURE__ */ (0,
|
|
5094
|
+
showCloseButton && /* @__PURE__ */ (0, import_jsx_runtime44.jsxs)(import_radix_ui26.Dialog.Close, { className: "absolute top-4 right-4 rounded-xs opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:ring-2 focus:ring-ring focus:ring-offset-2 focus:outline-hidden disabled:pointer-events-none data-[state=open]:bg-secondary", children: [
|
|
5095
|
+
/* @__PURE__ */ (0, import_jsx_runtime44.jsx)(import_lucide_react19.XIcon, { className: "size-4" }),
|
|
5096
|
+
/* @__PURE__ */ (0, import_jsx_runtime44.jsx)("span", { className: "sr-only", children: "Close" })
|
|
5172
5097
|
] })
|
|
5173
5098
|
]
|
|
5174
5099
|
})
|
|
@@ -5177,7 +5102,7 @@ function SheetContent(_a) {
|
|
|
5177
5102
|
}
|
|
5178
5103
|
function SheetHeader(_a) {
|
|
5179
5104
|
var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
|
|
5180
|
-
return /* @__PURE__ */ (0,
|
|
5105
|
+
return /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(
|
|
5181
5106
|
"div",
|
|
5182
5107
|
__spreadValues({
|
|
5183
5108
|
"data-slot": "sheet-header",
|
|
@@ -5187,7 +5112,7 @@ function SheetHeader(_a) {
|
|
|
5187
5112
|
}
|
|
5188
5113
|
function SheetFooter(_a) {
|
|
5189
5114
|
var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
|
|
5190
|
-
return /* @__PURE__ */ (0,
|
|
5115
|
+
return /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(
|
|
5191
5116
|
"div",
|
|
5192
5117
|
__spreadValues({
|
|
5193
5118
|
"data-slot": "sheet-footer",
|
|
@@ -5201,8 +5126,8 @@ function SheetTitle(_a) {
|
|
|
5201
5126
|
} = _b, props = __objRest(_b, [
|
|
5202
5127
|
"className"
|
|
5203
5128
|
]);
|
|
5204
|
-
return /* @__PURE__ */ (0,
|
|
5205
|
-
|
|
5129
|
+
return /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(
|
|
5130
|
+
import_radix_ui26.Dialog.Title,
|
|
5206
5131
|
__spreadValues({
|
|
5207
5132
|
"data-slot": "sheet-title",
|
|
5208
5133
|
className: cn("font-semibold text-foreground", className)
|
|
@@ -5215,8 +5140,8 @@ function SheetDescription(_a) {
|
|
|
5215
5140
|
} = _b, props = __objRest(_b, [
|
|
5216
5141
|
"className"
|
|
5217
5142
|
]);
|
|
5218
|
-
return /* @__PURE__ */ (0,
|
|
5219
|
-
|
|
5143
|
+
return /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(
|
|
5144
|
+
import_radix_ui26.Dialog.Description,
|
|
5220
5145
|
__spreadValues({
|
|
5221
5146
|
"data-slot": "sheet-description",
|
|
5222
5147
|
className: cn("text-sm text-muted-foreground", className)
|
|
@@ -5226,9 +5151,9 @@ function SheetDescription(_a) {
|
|
|
5226
5151
|
|
|
5227
5152
|
// components/ui/sidebar.tsx
|
|
5228
5153
|
var React8 = __toESM(require("react"), 1);
|
|
5229
|
-
var
|
|
5154
|
+
var import_class_variance_authority9 = require("class-variance-authority");
|
|
5230
5155
|
var import_lucide_react20 = require("lucide-react");
|
|
5231
|
-
var
|
|
5156
|
+
var import_radix_ui28 = require("radix-ui");
|
|
5232
5157
|
|
|
5233
5158
|
// hooks/use-mobile.ts
|
|
5234
5159
|
var React7 = __toESM(require("react"), 1);
|
|
@@ -5248,10 +5173,10 @@ function useIsMobile() {
|
|
|
5248
5173
|
}
|
|
5249
5174
|
|
|
5250
5175
|
// components/ui/skeleton.tsx
|
|
5251
|
-
var
|
|
5176
|
+
var import_jsx_runtime45 = require("react/jsx-runtime");
|
|
5252
5177
|
function Skeleton(_a) {
|
|
5253
5178
|
var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
|
|
5254
|
-
return /* @__PURE__ */ (0,
|
|
5179
|
+
return /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(
|
|
5255
5180
|
"div",
|
|
5256
5181
|
__spreadValues({
|
|
5257
5182
|
"data-slot": "skeleton",
|
|
@@ -5261,16 +5186,16 @@ function Skeleton(_a) {
|
|
|
5261
5186
|
}
|
|
5262
5187
|
|
|
5263
5188
|
// components/ui/tooltip.tsx
|
|
5264
|
-
var
|
|
5265
|
-
var
|
|
5189
|
+
var import_radix_ui27 = require("radix-ui");
|
|
5190
|
+
var import_jsx_runtime46 = require("react/jsx-runtime");
|
|
5266
5191
|
function TooltipProvider(_a) {
|
|
5267
5192
|
var _b = _a, {
|
|
5268
5193
|
delayDuration = 0
|
|
5269
5194
|
} = _b, props = __objRest(_b, [
|
|
5270
5195
|
"delayDuration"
|
|
5271
5196
|
]);
|
|
5272
|
-
return /* @__PURE__ */ (0,
|
|
5273
|
-
|
|
5197
|
+
return /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(
|
|
5198
|
+
import_radix_ui27.Tooltip.Provider,
|
|
5274
5199
|
__spreadValues({
|
|
5275
5200
|
"data-slot": "tooltip-provider",
|
|
5276
5201
|
delayDuration
|
|
@@ -5279,11 +5204,11 @@ function TooltipProvider(_a) {
|
|
|
5279
5204
|
}
|
|
5280
5205
|
function Tooltip2(_a) {
|
|
5281
5206
|
var props = __objRest(_a, []);
|
|
5282
|
-
return /* @__PURE__ */ (0,
|
|
5207
|
+
return /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(import_radix_ui27.Tooltip.Root, __spreadValues({ "data-slot": "tooltip" }, props));
|
|
5283
5208
|
}
|
|
5284
5209
|
function TooltipTrigger(_a) {
|
|
5285
5210
|
var props = __objRest(_a, []);
|
|
5286
|
-
return /* @__PURE__ */ (0,
|
|
5211
|
+
return /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(import_radix_ui27.Tooltip.Trigger, __spreadValues({ "data-slot": "tooltip-trigger" }, props));
|
|
5287
5212
|
}
|
|
5288
5213
|
function TooltipContent(_a) {
|
|
5289
5214
|
var _b = _a, {
|
|
@@ -5295,8 +5220,8 @@ function TooltipContent(_a) {
|
|
|
5295
5220
|
"sideOffset",
|
|
5296
5221
|
"children"
|
|
5297
5222
|
]);
|
|
5298
|
-
return /* @__PURE__ */ (0,
|
|
5299
|
-
|
|
5223
|
+
return /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(import_radix_ui27.Tooltip.Portal, { children: /* @__PURE__ */ (0, import_jsx_runtime46.jsxs)(
|
|
5224
|
+
import_radix_ui27.Tooltip.Content,
|
|
5300
5225
|
__spreadProps(__spreadValues({
|
|
5301
5226
|
"data-slot": "tooltip-content",
|
|
5302
5227
|
sideOffset,
|
|
@@ -5307,14 +5232,14 @@ function TooltipContent(_a) {
|
|
|
5307
5232
|
}, props), {
|
|
5308
5233
|
children: [
|
|
5309
5234
|
children,
|
|
5310
|
-
/* @__PURE__ */ (0,
|
|
5235
|
+
/* @__PURE__ */ (0, import_jsx_runtime46.jsx)(import_radix_ui27.Tooltip.Arrow, { className: "z-50 size-2.5 translate-y-[calc(-50%_-_2px)] rotate-45 rounded-[2px] bg-foreground fill-foreground" })
|
|
5311
5236
|
]
|
|
5312
5237
|
})
|
|
5313
5238
|
) });
|
|
5314
5239
|
}
|
|
5315
5240
|
|
|
5316
5241
|
// components/ui/sidebar.tsx
|
|
5317
|
-
var
|
|
5242
|
+
var import_jsx_runtime47 = require("react/jsx-runtime");
|
|
5318
5243
|
var SIDEBAR_COOKIE_NAME = "sidebar_state";
|
|
5319
5244
|
var SIDEBAR_COOKIE_MAX_AGE = 60 * 60 * 24 * 7;
|
|
5320
5245
|
var SIDEBAR_WIDTH = "16rem";
|
|
@@ -5387,7 +5312,7 @@ function SidebarProvider(_a) {
|
|
|
5387
5312
|
}),
|
|
5388
5313
|
[state, open, setOpen, isMobile, openMobile, setOpenMobile, toggleSidebar]
|
|
5389
5314
|
);
|
|
5390
|
-
return /* @__PURE__ */ (0,
|
|
5315
|
+
return /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(SidebarContext.Provider, { value: contextValue, children: /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(TooltipProvider, { delayDuration: 0, children: /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(
|
|
5391
5316
|
"div",
|
|
5392
5317
|
__spreadProps(__spreadValues({
|
|
5393
5318
|
"data-slot": "sidebar-wrapper",
|
|
@@ -5420,7 +5345,7 @@ function Sidebar(_a) {
|
|
|
5420
5345
|
]);
|
|
5421
5346
|
const { isMobile, state, openMobile, setOpenMobile } = useSidebar();
|
|
5422
5347
|
if (collapsible === "none") {
|
|
5423
|
-
return /* @__PURE__ */ (0,
|
|
5348
|
+
return /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(
|
|
5424
5349
|
"div",
|
|
5425
5350
|
__spreadProps(__spreadValues({
|
|
5426
5351
|
"data-slot": "sidebar",
|
|
@@ -5434,7 +5359,7 @@ function Sidebar(_a) {
|
|
|
5434
5359
|
);
|
|
5435
5360
|
}
|
|
5436
5361
|
if (isMobile) {
|
|
5437
|
-
return /* @__PURE__ */ (0,
|
|
5362
|
+
return /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(Sheet, __spreadProps(__spreadValues({ open: openMobile, onOpenChange: setOpenMobile }, props), { children: /* @__PURE__ */ (0, import_jsx_runtime47.jsxs)(
|
|
5438
5363
|
SheetContent,
|
|
5439
5364
|
{
|
|
5440
5365
|
"data-sidebar": "sidebar",
|
|
@@ -5446,16 +5371,16 @@ function Sidebar(_a) {
|
|
|
5446
5371
|
},
|
|
5447
5372
|
side,
|
|
5448
5373
|
children: [
|
|
5449
|
-
/* @__PURE__ */ (0,
|
|
5450
|
-
/* @__PURE__ */ (0,
|
|
5451
|
-
/* @__PURE__ */ (0,
|
|
5374
|
+
/* @__PURE__ */ (0, import_jsx_runtime47.jsxs)(SheetHeader, { className: "sr-only", children: [
|
|
5375
|
+
/* @__PURE__ */ (0, import_jsx_runtime47.jsx)(SheetTitle, { children: "Sidebar" }),
|
|
5376
|
+
/* @__PURE__ */ (0, import_jsx_runtime47.jsx)(SheetDescription, { children: "Displays the mobile sidebar." })
|
|
5452
5377
|
] }),
|
|
5453
|
-
/* @__PURE__ */ (0,
|
|
5378
|
+
/* @__PURE__ */ (0, import_jsx_runtime47.jsx)("div", { className: "flex h-full w-full flex-col", children })
|
|
5454
5379
|
]
|
|
5455
5380
|
}
|
|
5456
5381
|
) }));
|
|
5457
5382
|
}
|
|
5458
|
-
return /* @__PURE__ */ (0,
|
|
5383
|
+
return /* @__PURE__ */ (0, import_jsx_runtime47.jsxs)(
|
|
5459
5384
|
"div",
|
|
5460
5385
|
{
|
|
5461
5386
|
className: "group peer hidden text-sidebar-foreground md:block",
|
|
@@ -5465,7 +5390,7 @@ function Sidebar(_a) {
|
|
|
5465
5390
|
"data-side": side,
|
|
5466
5391
|
"data-slot": "sidebar",
|
|
5467
5392
|
children: [
|
|
5468
|
-
/* @__PURE__ */ (0,
|
|
5393
|
+
/* @__PURE__ */ (0, import_jsx_runtime47.jsx)(
|
|
5469
5394
|
"div",
|
|
5470
5395
|
{
|
|
5471
5396
|
"data-slot": "sidebar-gap",
|
|
@@ -5477,7 +5402,7 @@ function Sidebar(_a) {
|
|
|
5477
5402
|
)
|
|
5478
5403
|
}
|
|
5479
5404
|
),
|
|
5480
|
-
/* @__PURE__ */ (0,
|
|
5405
|
+
/* @__PURE__ */ (0, import_jsx_runtime47.jsx)(
|
|
5481
5406
|
"div",
|
|
5482
5407
|
__spreadProps(__spreadValues({
|
|
5483
5408
|
"data-slot": "sidebar-container",
|
|
@@ -5489,7 +5414,7 @@ function Sidebar(_a) {
|
|
|
5489
5414
|
className
|
|
5490
5415
|
)
|
|
5491
5416
|
}, props), {
|
|
5492
|
-
children: /* @__PURE__ */ (0,
|
|
5417
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(
|
|
5493
5418
|
"div",
|
|
5494
5419
|
{
|
|
5495
5420
|
"data-sidebar": "sidebar",
|
|
@@ -5513,7 +5438,7 @@ function SidebarTrigger(_a) {
|
|
|
5513
5438
|
"onClick"
|
|
5514
5439
|
]);
|
|
5515
5440
|
const { toggleSidebar } = useSidebar();
|
|
5516
|
-
return /* @__PURE__ */ (0,
|
|
5441
|
+
return /* @__PURE__ */ (0, import_jsx_runtime47.jsxs)(
|
|
5517
5442
|
Button,
|
|
5518
5443
|
__spreadProps(__spreadValues({
|
|
5519
5444
|
"data-sidebar": "trigger",
|
|
@@ -5527,8 +5452,8 @@ function SidebarTrigger(_a) {
|
|
|
5527
5452
|
}
|
|
5528
5453
|
}, props), {
|
|
5529
5454
|
children: [
|
|
5530
|
-
/* @__PURE__ */ (0,
|
|
5531
|
-
/* @__PURE__ */ (0,
|
|
5455
|
+
/* @__PURE__ */ (0, import_jsx_runtime47.jsx)(import_lucide_react20.PanelLeftIcon, {}),
|
|
5456
|
+
/* @__PURE__ */ (0, import_jsx_runtime47.jsx)("span", { className: "sr-only", children: "Toggle Sidebar" })
|
|
5532
5457
|
]
|
|
5533
5458
|
})
|
|
5534
5459
|
);
|
|
@@ -5536,7 +5461,7 @@ function SidebarTrigger(_a) {
|
|
|
5536
5461
|
function SidebarRail(_a) {
|
|
5537
5462
|
var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
|
|
5538
5463
|
const { toggleSidebar } = useSidebar();
|
|
5539
|
-
return /* @__PURE__ */ (0,
|
|
5464
|
+
return /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(
|
|
5540
5465
|
"button",
|
|
5541
5466
|
__spreadValues({
|
|
5542
5467
|
"data-sidebar": "rail",
|
|
@@ -5559,7 +5484,7 @@ function SidebarRail(_a) {
|
|
|
5559
5484
|
}
|
|
5560
5485
|
function SidebarInset(_a) {
|
|
5561
5486
|
var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
|
|
5562
|
-
return /* @__PURE__ */ (0,
|
|
5487
|
+
return /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(
|
|
5563
5488
|
"main",
|
|
5564
5489
|
__spreadValues({
|
|
5565
5490
|
"data-slot": "sidebar-inset",
|
|
@@ -5577,7 +5502,7 @@ function SidebarInput(_a) {
|
|
|
5577
5502
|
} = _b, props = __objRest(_b, [
|
|
5578
5503
|
"className"
|
|
5579
5504
|
]);
|
|
5580
|
-
return /* @__PURE__ */ (0,
|
|
5505
|
+
return /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(
|
|
5581
5506
|
Input,
|
|
5582
5507
|
__spreadValues({
|
|
5583
5508
|
"data-slot": "sidebar-input",
|
|
@@ -5588,7 +5513,7 @@ function SidebarInput(_a) {
|
|
|
5588
5513
|
}
|
|
5589
5514
|
function SidebarHeader(_a) {
|
|
5590
5515
|
var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
|
|
5591
|
-
return /* @__PURE__ */ (0,
|
|
5516
|
+
return /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(
|
|
5592
5517
|
"div",
|
|
5593
5518
|
__spreadValues({
|
|
5594
5519
|
"data-slot": "sidebar-header",
|
|
@@ -5599,7 +5524,7 @@ function SidebarHeader(_a) {
|
|
|
5599
5524
|
}
|
|
5600
5525
|
function SidebarFooter(_a) {
|
|
5601
5526
|
var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
|
|
5602
|
-
return /* @__PURE__ */ (0,
|
|
5527
|
+
return /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(
|
|
5603
5528
|
"div",
|
|
5604
5529
|
__spreadValues({
|
|
5605
5530
|
"data-slot": "sidebar-footer",
|
|
@@ -5614,7 +5539,7 @@ function SidebarSeparator(_a) {
|
|
|
5614
5539
|
} = _b, props = __objRest(_b, [
|
|
5615
5540
|
"className"
|
|
5616
5541
|
]);
|
|
5617
|
-
return /* @__PURE__ */ (0,
|
|
5542
|
+
return /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(
|
|
5618
5543
|
Separator,
|
|
5619
5544
|
__spreadValues({
|
|
5620
5545
|
"data-slot": "sidebar-separator",
|
|
@@ -5625,7 +5550,7 @@ function SidebarSeparator(_a) {
|
|
|
5625
5550
|
}
|
|
5626
5551
|
function SidebarContent(_a) {
|
|
5627
5552
|
var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
|
|
5628
|
-
return /* @__PURE__ */ (0,
|
|
5553
|
+
return /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(
|
|
5629
5554
|
"div",
|
|
5630
5555
|
__spreadValues({
|
|
5631
5556
|
"data-slot": "sidebar-content",
|
|
@@ -5639,7 +5564,7 @@ function SidebarContent(_a) {
|
|
|
5639
5564
|
}
|
|
5640
5565
|
function SidebarGroup(_a) {
|
|
5641
5566
|
var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
|
|
5642
|
-
return /* @__PURE__ */ (0,
|
|
5567
|
+
return /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(
|
|
5643
5568
|
"div",
|
|
5644
5569
|
__spreadValues({
|
|
5645
5570
|
"data-slot": "sidebar-group",
|
|
@@ -5656,8 +5581,8 @@ function SidebarGroupLabel(_a) {
|
|
|
5656
5581
|
"className",
|
|
5657
5582
|
"asChild"
|
|
5658
5583
|
]);
|
|
5659
|
-
const Comp = asChild ?
|
|
5660
|
-
return /* @__PURE__ */ (0,
|
|
5584
|
+
const Comp = asChild ? import_radix_ui28.Slot.Root : "div";
|
|
5585
|
+
return /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(
|
|
5661
5586
|
Comp,
|
|
5662
5587
|
__spreadValues({
|
|
5663
5588
|
"data-slot": "sidebar-group-label",
|
|
@@ -5678,8 +5603,8 @@ function SidebarGroupAction(_a) {
|
|
|
5678
5603
|
"className",
|
|
5679
5604
|
"asChild"
|
|
5680
5605
|
]);
|
|
5681
|
-
const Comp = asChild ?
|
|
5682
|
-
return /* @__PURE__ */ (0,
|
|
5606
|
+
const Comp = asChild ? import_radix_ui28.Slot.Root : "button";
|
|
5607
|
+
return /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(
|
|
5683
5608
|
Comp,
|
|
5684
5609
|
__spreadValues({
|
|
5685
5610
|
"data-slot": "sidebar-group-action",
|
|
@@ -5700,7 +5625,7 @@ function SidebarGroupContent(_a) {
|
|
|
5700
5625
|
} = _b, props = __objRest(_b, [
|
|
5701
5626
|
"className"
|
|
5702
5627
|
]);
|
|
5703
|
-
return /* @__PURE__ */ (0,
|
|
5628
|
+
return /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(
|
|
5704
5629
|
"div",
|
|
5705
5630
|
__spreadValues({
|
|
5706
5631
|
"data-slot": "sidebar-group-content",
|
|
@@ -5711,7 +5636,7 @@ function SidebarGroupContent(_a) {
|
|
|
5711
5636
|
}
|
|
5712
5637
|
function SidebarMenu(_a) {
|
|
5713
5638
|
var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
|
|
5714
|
-
return /* @__PURE__ */ (0,
|
|
5639
|
+
return /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(
|
|
5715
5640
|
"ul",
|
|
5716
5641
|
__spreadValues({
|
|
5717
5642
|
"data-slot": "sidebar-menu",
|
|
@@ -5722,7 +5647,7 @@ function SidebarMenu(_a) {
|
|
|
5722
5647
|
}
|
|
5723
5648
|
function SidebarMenuItem(_a) {
|
|
5724
5649
|
var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
|
|
5725
|
-
return /* @__PURE__ */ (0,
|
|
5650
|
+
return /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(
|
|
5726
5651
|
"li",
|
|
5727
5652
|
__spreadValues({
|
|
5728
5653
|
"data-slot": "sidebar-menu-item",
|
|
@@ -5731,7 +5656,7 @@ function SidebarMenuItem(_a) {
|
|
|
5731
5656
|
}, props)
|
|
5732
5657
|
);
|
|
5733
5658
|
}
|
|
5734
|
-
var sidebarMenuButtonVariants = (0,
|
|
5659
|
+
var sidebarMenuButtonVariants = (0, import_class_variance_authority9.cva)(
|
|
5735
5660
|
"peer/menu-button flex w-full items-center gap-2 overflow-hidden rounded-md p-2 text-left text-sm ring-sidebar-ring outline-hidden transition-[width,height,padding] group-has-data-[sidebar=menu-action]/menu-item:pr-8 group-data-[collapsible=icon]:size-8! group-data-[collapsible=icon]:p-2! hover:bg-sidebar-accent hover:text-sidebar-accent-foreground focus-visible:ring-2 active:bg-sidebar-accent active:text-sidebar-accent-foreground disabled:pointer-events-none disabled:opacity-50 aria-disabled:pointer-events-none aria-disabled:opacity-50 data-[active=true]:bg-sidebar-accent data-[active=true]:font-medium data-[active=true]:text-sidebar-accent-foreground data-[state=open]:hover:bg-sidebar-accent data-[state=open]:hover:text-sidebar-accent-foreground [&>span:last-child]:truncate [&>svg]:size-4 [&>svg]:shrink-0",
|
|
5736
5661
|
{
|
|
5737
5662
|
variants: {
|
|
@@ -5767,9 +5692,9 @@ function SidebarMenuButton(_a) {
|
|
|
5767
5692
|
"tooltip",
|
|
5768
5693
|
"className"
|
|
5769
5694
|
]);
|
|
5770
|
-
const Comp = asChild ?
|
|
5695
|
+
const Comp = asChild ? import_radix_ui28.Slot.Root : "button";
|
|
5771
5696
|
const { isMobile, state } = useSidebar();
|
|
5772
|
-
const button = /* @__PURE__ */ (0,
|
|
5697
|
+
const button = /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(
|
|
5773
5698
|
Comp,
|
|
5774
5699
|
__spreadValues({
|
|
5775
5700
|
"data-slot": "sidebar-menu-button",
|
|
@@ -5787,9 +5712,9 @@ function SidebarMenuButton(_a) {
|
|
|
5787
5712
|
children: tooltip
|
|
5788
5713
|
};
|
|
5789
5714
|
}
|
|
5790
|
-
return /* @__PURE__ */ (0,
|
|
5791
|
-
/* @__PURE__ */ (0,
|
|
5792
|
-
/* @__PURE__ */ (0,
|
|
5715
|
+
return /* @__PURE__ */ (0, import_jsx_runtime47.jsxs)(Tooltip2, { children: [
|
|
5716
|
+
/* @__PURE__ */ (0, import_jsx_runtime47.jsx)(TooltipTrigger, { asChild: true, children: button }),
|
|
5717
|
+
/* @__PURE__ */ (0, import_jsx_runtime47.jsx)(
|
|
5793
5718
|
TooltipContent,
|
|
5794
5719
|
__spreadValues({
|
|
5795
5720
|
side: "right",
|
|
@@ -5809,8 +5734,8 @@ function SidebarMenuAction(_a) {
|
|
|
5809
5734
|
"asChild",
|
|
5810
5735
|
"showOnHover"
|
|
5811
5736
|
]);
|
|
5812
|
-
const Comp = asChild ?
|
|
5813
|
-
return /* @__PURE__ */ (0,
|
|
5737
|
+
const Comp = asChild ? import_radix_ui28.Slot.Root : "button";
|
|
5738
|
+
return /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(
|
|
5814
5739
|
Comp,
|
|
5815
5740
|
__spreadValues({
|
|
5816
5741
|
"data-slot": "sidebar-menu-action",
|
|
@@ -5835,7 +5760,7 @@ function SidebarMenuBadge(_a) {
|
|
|
5835
5760
|
} = _b, props = __objRest(_b, [
|
|
5836
5761
|
"className"
|
|
5837
5762
|
]);
|
|
5838
|
-
return /* @__PURE__ */ (0,
|
|
5763
|
+
return /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(
|
|
5839
5764
|
"div",
|
|
5840
5765
|
__spreadValues({
|
|
5841
5766
|
"data-slot": "sidebar-menu-badge",
|
|
@@ -5863,7 +5788,7 @@ function SidebarMenuSkeleton(_a) {
|
|
|
5863
5788
|
const width = React8.useMemo(() => {
|
|
5864
5789
|
return `${Math.floor(Math.random() * 40) + 50}%`;
|
|
5865
5790
|
}, []);
|
|
5866
|
-
return /* @__PURE__ */ (0,
|
|
5791
|
+
return /* @__PURE__ */ (0, import_jsx_runtime47.jsxs)(
|
|
5867
5792
|
"div",
|
|
5868
5793
|
__spreadProps(__spreadValues({
|
|
5869
5794
|
"data-slot": "sidebar-menu-skeleton",
|
|
@@ -5871,14 +5796,14 @@ function SidebarMenuSkeleton(_a) {
|
|
|
5871
5796
|
className: cn("flex h-8 items-center gap-2 rounded-md px-2", className)
|
|
5872
5797
|
}, props), {
|
|
5873
5798
|
children: [
|
|
5874
|
-
showIcon && /* @__PURE__ */ (0,
|
|
5799
|
+
showIcon && /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(
|
|
5875
5800
|
Skeleton,
|
|
5876
5801
|
{
|
|
5877
5802
|
className: "size-4 rounded-md",
|
|
5878
5803
|
"data-sidebar": "menu-skeleton-icon"
|
|
5879
5804
|
}
|
|
5880
5805
|
),
|
|
5881
|
-
/* @__PURE__ */ (0,
|
|
5806
|
+
/* @__PURE__ */ (0, import_jsx_runtime47.jsx)(
|
|
5882
5807
|
Skeleton,
|
|
5883
5808
|
{
|
|
5884
5809
|
className: "h-4 max-w-(--skeleton-width) flex-1",
|
|
@@ -5894,7 +5819,7 @@ function SidebarMenuSkeleton(_a) {
|
|
|
5894
5819
|
}
|
|
5895
5820
|
function SidebarMenuSub(_a) {
|
|
5896
5821
|
var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
|
|
5897
|
-
return /* @__PURE__ */ (0,
|
|
5822
|
+
return /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(
|
|
5898
5823
|
"ul",
|
|
5899
5824
|
__spreadValues({
|
|
5900
5825
|
"data-slot": "sidebar-menu-sub",
|
|
@@ -5913,7 +5838,7 @@ function SidebarMenuSubItem(_a) {
|
|
|
5913
5838
|
} = _b, props = __objRest(_b, [
|
|
5914
5839
|
"className"
|
|
5915
5840
|
]);
|
|
5916
|
-
return /* @__PURE__ */ (0,
|
|
5841
|
+
return /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(
|
|
5917
5842
|
"li",
|
|
5918
5843
|
__spreadValues({
|
|
5919
5844
|
"data-slot": "sidebar-menu-sub-item",
|
|
@@ -5934,8 +5859,8 @@ function SidebarMenuSubButton(_a) {
|
|
|
5934
5859
|
"isActive",
|
|
5935
5860
|
"className"
|
|
5936
5861
|
]);
|
|
5937
|
-
const Comp = asChild ?
|
|
5938
|
-
return /* @__PURE__ */ (0,
|
|
5862
|
+
const Comp = asChild ? import_radix_ui28.Slot.Root : "a";
|
|
5863
|
+
return /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(
|
|
5939
5864
|
Comp,
|
|
5940
5865
|
__spreadValues({
|
|
5941
5866
|
"data-slot": "sidebar-menu-sub-button",
|
|
@@ -5956,8 +5881,8 @@ function SidebarMenuSubButton(_a) {
|
|
|
5956
5881
|
|
|
5957
5882
|
// components/ui/slider.tsx
|
|
5958
5883
|
var React9 = __toESM(require("react"), 1);
|
|
5959
|
-
var
|
|
5960
|
-
var
|
|
5884
|
+
var import_radix_ui29 = require("radix-ui");
|
|
5885
|
+
var import_jsx_runtime48 = require("react/jsx-runtime");
|
|
5961
5886
|
function Slider(_a) {
|
|
5962
5887
|
var _b = _a, {
|
|
5963
5888
|
className,
|
|
@@ -5976,8 +5901,8 @@ function Slider(_a) {
|
|
|
5976
5901
|
() => Array.isArray(value) ? value : Array.isArray(defaultValue) ? defaultValue : [min, max],
|
|
5977
5902
|
[value, defaultValue, min, max]
|
|
5978
5903
|
);
|
|
5979
|
-
return /* @__PURE__ */ (0,
|
|
5980
|
-
|
|
5904
|
+
return /* @__PURE__ */ (0, import_jsx_runtime48.jsxs)(
|
|
5905
|
+
import_radix_ui29.Slider.Root,
|
|
5981
5906
|
__spreadProps(__spreadValues({
|
|
5982
5907
|
"data-slot": "slider",
|
|
5983
5908
|
defaultValue,
|
|
@@ -5990,15 +5915,15 @@ function Slider(_a) {
|
|
|
5990
5915
|
)
|
|
5991
5916
|
}, props), {
|
|
5992
5917
|
children: [
|
|
5993
|
-
/* @__PURE__ */ (0,
|
|
5994
|
-
|
|
5918
|
+
/* @__PURE__ */ (0, import_jsx_runtime48.jsx)(
|
|
5919
|
+
import_radix_ui29.Slider.Track,
|
|
5995
5920
|
{
|
|
5996
5921
|
"data-slot": "slider-track",
|
|
5997
5922
|
className: cn(
|
|
5998
5923
|
"relative grow overflow-hidden rounded-full bg-muted data-[orientation=horizontal]:h-1.5 data-[orientation=horizontal]:w-full data-[orientation=vertical]:h-full data-[orientation=vertical]:w-1.5"
|
|
5999
5924
|
),
|
|
6000
|
-
children: /* @__PURE__ */ (0,
|
|
6001
|
-
|
|
5925
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(
|
|
5926
|
+
import_radix_ui29.Slider.Range,
|
|
6002
5927
|
{
|
|
6003
5928
|
"data-slot": "slider-range",
|
|
6004
5929
|
className: cn(
|
|
@@ -6008,8 +5933,8 @@ function Slider(_a) {
|
|
|
6008
5933
|
)
|
|
6009
5934
|
}
|
|
6010
5935
|
),
|
|
6011
|
-
Array.from({ length: _values.length }, (_, index) => /* @__PURE__ */ (0,
|
|
6012
|
-
|
|
5936
|
+
Array.from({ length: _values.length }, (_, index) => /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(
|
|
5937
|
+
import_radix_ui29.Slider.Thumb,
|
|
6013
5938
|
{
|
|
6014
5939
|
"data-slot": "slider-thumb",
|
|
6015
5940
|
className: "block size-4 shrink-0 rounded-full border border-primary bg-white shadow-sm ring-ring/50 transition-[color,box-shadow] hover:ring-4 focus-visible:ring-4 focus-visible:outline-hidden disabled:pointer-events-none disabled:opacity-50"
|
|
@@ -6025,21 +5950,21 @@ function Slider(_a) {
|
|
|
6025
5950
|
var import_lucide_react21 = require("lucide-react");
|
|
6026
5951
|
var import_next_themes = require("next-themes");
|
|
6027
5952
|
var import_sonner = require("sonner");
|
|
6028
|
-
var
|
|
5953
|
+
var import_jsx_runtime49 = require("react/jsx-runtime");
|
|
6029
5954
|
var Toaster = (_a) => {
|
|
6030
5955
|
var props = __objRest(_a, []);
|
|
6031
5956
|
const { theme = "system" } = (0, import_next_themes.useTheme)();
|
|
6032
|
-
return /* @__PURE__ */ (0,
|
|
5957
|
+
return /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(
|
|
6033
5958
|
import_sonner.Toaster,
|
|
6034
5959
|
__spreadValues({
|
|
6035
5960
|
theme,
|
|
6036
5961
|
className: "toaster group",
|
|
6037
5962
|
icons: {
|
|
6038
|
-
success: /* @__PURE__ */ (0,
|
|
6039
|
-
info: /* @__PURE__ */ (0,
|
|
6040
|
-
warning: /* @__PURE__ */ (0,
|
|
6041
|
-
error: /* @__PURE__ */ (0,
|
|
6042
|
-
loading: /* @__PURE__ */ (0,
|
|
5963
|
+
success: /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(import_lucide_react21.CircleCheckIcon, { className: "size-4" }),
|
|
5964
|
+
info: /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(import_lucide_react21.InfoIcon, { className: "size-4" }),
|
|
5965
|
+
warning: /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(import_lucide_react21.TriangleAlertIcon, { className: "size-4" }),
|
|
5966
|
+
error: /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(import_lucide_react21.OctagonXIcon, { className: "size-4" }),
|
|
5967
|
+
loading: /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(import_lucide_react21.Loader2Icon, { className: "size-4 animate-spin" })
|
|
6043
5968
|
},
|
|
6044
5969
|
style: {
|
|
6045
5970
|
"--normal-bg": "var(--popover)",
|
|
@@ -6053,10 +5978,10 @@ var Toaster = (_a) => {
|
|
|
6053
5978
|
|
|
6054
5979
|
// components/ui/spinner.tsx
|
|
6055
5980
|
var import_lucide_react22 = require("lucide-react");
|
|
6056
|
-
var
|
|
5981
|
+
var import_jsx_runtime50 = require("react/jsx-runtime");
|
|
6057
5982
|
function Spinner(_a) {
|
|
6058
5983
|
var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
|
|
6059
|
-
return /* @__PURE__ */ (0,
|
|
5984
|
+
return /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(
|
|
6060
5985
|
import_lucide_react22.Loader2Icon,
|
|
6061
5986
|
__spreadValues({
|
|
6062
5987
|
role: "status",
|
|
@@ -6067,8 +5992,8 @@ function Spinner(_a) {
|
|
|
6067
5992
|
}
|
|
6068
5993
|
|
|
6069
5994
|
// components/ui/switch.tsx
|
|
6070
|
-
var
|
|
6071
|
-
var
|
|
5995
|
+
var import_radix_ui30 = require("radix-ui");
|
|
5996
|
+
var import_jsx_runtime51 = require("react/jsx-runtime");
|
|
6072
5997
|
function Switch(_a) {
|
|
6073
5998
|
var _b = _a, {
|
|
6074
5999
|
className,
|
|
@@ -6077,8 +6002,8 @@ function Switch(_a) {
|
|
|
6077
6002
|
"className",
|
|
6078
6003
|
"size"
|
|
6079
6004
|
]);
|
|
6080
|
-
return /* @__PURE__ */ (0,
|
|
6081
|
-
|
|
6005
|
+
return /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(
|
|
6006
|
+
import_radix_ui30.Switch.Root,
|
|
6082
6007
|
__spreadProps(__spreadValues({
|
|
6083
6008
|
"data-slot": "switch",
|
|
6084
6009
|
"data-size": size,
|
|
@@ -6087,8 +6012,8 @@ function Switch(_a) {
|
|
|
6087
6012
|
className
|
|
6088
6013
|
)
|
|
6089
6014
|
}, props), {
|
|
6090
|
-
children: /* @__PURE__ */ (0,
|
|
6091
|
-
|
|
6015
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(
|
|
6016
|
+
import_radix_ui30.Switch.Thumb,
|
|
6092
6017
|
{
|
|
6093
6018
|
"data-slot": "switch-thumb",
|
|
6094
6019
|
className: cn(
|
|
@@ -6101,15 +6026,15 @@ function Switch(_a) {
|
|
|
6101
6026
|
}
|
|
6102
6027
|
|
|
6103
6028
|
// components/ui/table.tsx
|
|
6104
|
-
var
|
|
6029
|
+
var import_jsx_runtime52 = require("react/jsx-runtime");
|
|
6105
6030
|
function Table(_a) {
|
|
6106
6031
|
var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
|
|
6107
|
-
return /* @__PURE__ */ (0,
|
|
6032
|
+
return /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(
|
|
6108
6033
|
"div",
|
|
6109
6034
|
{
|
|
6110
6035
|
"data-slot": "table-container",
|
|
6111
6036
|
className: "relative w-full overflow-x-auto",
|
|
6112
|
-
children: /* @__PURE__ */ (0,
|
|
6037
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(
|
|
6113
6038
|
"table",
|
|
6114
6039
|
__spreadValues({
|
|
6115
6040
|
"data-slot": "table",
|
|
@@ -6121,7 +6046,7 @@ function Table(_a) {
|
|
|
6121
6046
|
}
|
|
6122
6047
|
function TableHeader(_a) {
|
|
6123
6048
|
var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
|
|
6124
|
-
return /* @__PURE__ */ (0,
|
|
6049
|
+
return /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(
|
|
6125
6050
|
"thead",
|
|
6126
6051
|
__spreadValues({
|
|
6127
6052
|
"data-slot": "table-header",
|
|
@@ -6131,7 +6056,7 @@ function TableHeader(_a) {
|
|
|
6131
6056
|
}
|
|
6132
6057
|
function TableBody(_a) {
|
|
6133
6058
|
var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
|
|
6134
|
-
return /* @__PURE__ */ (0,
|
|
6059
|
+
return /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(
|
|
6135
6060
|
"tbody",
|
|
6136
6061
|
__spreadValues({
|
|
6137
6062
|
"data-slot": "table-body",
|
|
@@ -6141,7 +6066,7 @@ function TableBody(_a) {
|
|
|
6141
6066
|
}
|
|
6142
6067
|
function TableFooter(_a) {
|
|
6143
6068
|
var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
|
|
6144
|
-
return /* @__PURE__ */ (0,
|
|
6069
|
+
return /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(
|
|
6145
6070
|
"tfoot",
|
|
6146
6071
|
__spreadValues({
|
|
6147
6072
|
"data-slot": "table-footer",
|
|
@@ -6154,7 +6079,7 @@ function TableFooter(_a) {
|
|
|
6154
6079
|
}
|
|
6155
6080
|
function TableRow(_a) {
|
|
6156
6081
|
var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
|
|
6157
|
-
return /* @__PURE__ */ (0,
|
|
6082
|
+
return /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(
|
|
6158
6083
|
"tr",
|
|
6159
6084
|
__spreadValues({
|
|
6160
6085
|
"data-slot": "table-row",
|
|
@@ -6167,7 +6092,7 @@ function TableRow(_a) {
|
|
|
6167
6092
|
}
|
|
6168
6093
|
function TableHead(_a) {
|
|
6169
6094
|
var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
|
|
6170
|
-
return /* @__PURE__ */ (0,
|
|
6095
|
+
return /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(
|
|
6171
6096
|
"th",
|
|
6172
6097
|
__spreadValues({
|
|
6173
6098
|
"data-slot": "table-head",
|
|
@@ -6180,7 +6105,7 @@ function TableHead(_a) {
|
|
|
6180
6105
|
}
|
|
6181
6106
|
function TableCell(_a) {
|
|
6182
6107
|
var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
|
|
6183
|
-
return /* @__PURE__ */ (0,
|
|
6108
|
+
return /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(
|
|
6184
6109
|
"td",
|
|
6185
6110
|
__spreadValues({
|
|
6186
6111
|
"data-slot": "table-cell",
|
|
@@ -6197,7 +6122,7 @@ function TableCaption(_a) {
|
|
|
6197
6122
|
} = _b, props = __objRest(_b, [
|
|
6198
6123
|
"className"
|
|
6199
6124
|
]);
|
|
6200
|
-
return /* @__PURE__ */ (0,
|
|
6125
|
+
return /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(
|
|
6201
6126
|
"caption",
|
|
6202
6127
|
__spreadValues({
|
|
6203
6128
|
"data-slot": "table-caption",
|
|
@@ -6207,9 +6132,9 @@ function TableCaption(_a) {
|
|
|
6207
6132
|
}
|
|
6208
6133
|
|
|
6209
6134
|
// components/ui/tabs.tsx
|
|
6210
|
-
var
|
|
6211
|
-
var
|
|
6212
|
-
var
|
|
6135
|
+
var import_class_variance_authority10 = require("class-variance-authority");
|
|
6136
|
+
var import_radix_ui31 = require("radix-ui");
|
|
6137
|
+
var import_jsx_runtime53 = require("react/jsx-runtime");
|
|
6213
6138
|
function Tabs(_a) {
|
|
6214
6139
|
var _b = _a, {
|
|
6215
6140
|
className,
|
|
@@ -6218,8 +6143,8 @@ function Tabs(_a) {
|
|
|
6218
6143
|
"className",
|
|
6219
6144
|
"orientation"
|
|
6220
6145
|
]);
|
|
6221
|
-
return /* @__PURE__ */ (0,
|
|
6222
|
-
|
|
6146
|
+
return /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(
|
|
6147
|
+
import_radix_ui31.Tabs.Root,
|
|
6223
6148
|
__spreadValues({
|
|
6224
6149
|
"data-slot": "tabs",
|
|
6225
6150
|
"data-orientation": orientation,
|
|
@@ -6231,7 +6156,7 @@ function Tabs(_a) {
|
|
|
6231
6156
|
}, props)
|
|
6232
6157
|
);
|
|
6233
6158
|
}
|
|
6234
|
-
var tabsListVariants = (0,
|
|
6159
|
+
var tabsListVariants = (0, import_class_variance_authority10.cva)(
|
|
6235
6160
|
"group/tabs-list inline-flex w-fit items-center justify-center rounded-lg p-[3px] text-muted-foreground group-data-[orientation=horizontal]/tabs:h-9 group-data-[orientation=vertical]/tabs:h-fit group-data-[orientation=vertical]/tabs:flex-col data-[variant=line]:rounded-none",
|
|
6236
6161
|
{
|
|
6237
6162
|
variants: {
|
|
@@ -6253,8 +6178,8 @@ function TabsList(_a) {
|
|
|
6253
6178
|
"className",
|
|
6254
6179
|
"variant"
|
|
6255
6180
|
]);
|
|
6256
|
-
return /* @__PURE__ */ (0,
|
|
6257
|
-
|
|
6181
|
+
return /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(
|
|
6182
|
+
import_radix_ui31.Tabs.List,
|
|
6258
6183
|
__spreadValues({
|
|
6259
6184
|
"data-slot": "tabs-list",
|
|
6260
6185
|
"data-variant": variant,
|
|
@@ -6268,8 +6193,8 @@ function TabsTrigger(_a) {
|
|
|
6268
6193
|
} = _b, props = __objRest(_b, [
|
|
6269
6194
|
"className"
|
|
6270
6195
|
]);
|
|
6271
|
-
return /* @__PURE__ */ (0,
|
|
6272
|
-
|
|
6196
|
+
return /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(
|
|
6197
|
+
import_radix_ui31.Tabs.Trigger,
|
|
6273
6198
|
__spreadValues({
|
|
6274
6199
|
"data-slot": "tabs-trigger",
|
|
6275
6200
|
className: cn(
|
|
@@ -6288,8 +6213,8 @@ function TabsContent(_a) {
|
|
|
6288
6213
|
} = _b, props = __objRest(_b, [
|
|
6289
6214
|
"className"
|
|
6290
6215
|
]);
|
|
6291
|
-
return /* @__PURE__ */ (0,
|
|
6292
|
-
|
|
6216
|
+
return /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(
|
|
6217
|
+
import_radix_ui31.Tabs.Content,
|
|
6293
6218
|
__spreadValues({
|
|
6294
6219
|
"data-slot": "tabs-content",
|
|
6295
6220
|
className: cn("flex-1 outline-none", className)
|
|
@@ -6298,10 +6223,10 @@ function TabsContent(_a) {
|
|
|
6298
6223
|
}
|
|
6299
6224
|
|
|
6300
6225
|
// components/ui/toggle.tsx
|
|
6301
|
-
var
|
|
6302
|
-
var
|
|
6303
|
-
var
|
|
6304
|
-
var toggleVariants = (0,
|
|
6226
|
+
var import_class_variance_authority11 = require("class-variance-authority");
|
|
6227
|
+
var import_radix_ui32 = require("radix-ui");
|
|
6228
|
+
var import_jsx_runtime54 = require("react/jsx-runtime");
|
|
6229
|
+
var toggleVariants = (0, import_class_variance_authority11.cva)(
|
|
6305
6230
|
"inline-flex items-center justify-center gap-2 rounded-md text-sm font-medium whitespace-nowrap transition-[color,box-shadow] outline-none hover:bg-muted hover:text-muted-foreground focus-visible:border-ring focus-visible:ring-[3px] focus-visible:ring-ring/50 disabled:pointer-events-none disabled:opacity-50 aria-invalid:border-destructive aria-invalid:ring-destructive/20 data-[state=on]:bg-accent data-[state=on]:text-accent-foreground dark:aria-invalid:ring-destructive/40 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",
|
|
6306
6231
|
{
|
|
6307
6232
|
variants: {
|
|
@@ -6331,8 +6256,8 @@ function Toggle(_a) {
|
|
|
6331
6256
|
"variant",
|
|
6332
6257
|
"size"
|
|
6333
6258
|
]);
|
|
6334
|
-
return /* @__PURE__ */ (0,
|
|
6335
|
-
|
|
6259
|
+
return /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(
|
|
6260
|
+
import_radix_ui32.Toggle.Root,
|
|
6336
6261
|
__spreadValues({
|
|
6337
6262
|
"data-slot": "toggle",
|
|
6338
6263
|
className: cn(toggleVariants({ variant, size, className }))
|
|
@@ -6342,8 +6267,8 @@ function Toggle(_a) {
|
|
|
6342
6267
|
|
|
6343
6268
|
// components/ui/toggle-group.tsx
|
|
6344
6269
|
var React10 = __toESM(require("react"), 1);
|
|
6345
|
-
var
|
|
6346
|
-
var
|
|
6270
|
+
var import_radix_ui33 = require("radix-ui");
|
|
6271
|
+
var import_jsx_runtime55 = require("react/jsx-runtime");
|
|
6347
6272
|
var ToggleGroupContext = React10.createContext({
|
|
6348
6273
|
size: "default",
|
|
6349
6274
|
variant: "default",
|
|
@@ -6363,8 +6288,8 @@ function ToggleGroup(_a) {
|
|
|
6363
6288
|
"spacing",
|
|
6364
6289
|
"children"
|
|
6365
6290
|
]);
|
|
6366
|
-
return /* @__PURE__ */ (0,
|
|
6367
|
-
|
|
6291
|
+
return /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(
|
|
6292
|
+
import_radix_ui33.ToggleGroup.Root,
|
|
6368
6293
|
__spreadProps(__spreadValues({
|
|
6369
6294
|
"data-slot": "toggle-group",
|
|
6370
6295
|
"data-variant": variant,
|
|
@@ -6376,7 +6301,7 @@ function ToggleGroup(_a) {
|
|
|
6376
6301
|
className
|
|
6377
6302
|
)
|
|
6378
6303
|
}, props), {
|
|
6379
|
-
children: /* @__PURE__ */ (0,
|
|
6304
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(ToggleGroupContext.Provider, { value: { variant, size, spacing }, children })
|
|
6380
6305
|
})
|
|
6381
6306
|
);
|
|
6382
6307
|
}
|
|
@@ -6393,8 +6318,8 @@ function ToggleGroupItem(_a) {
|
|
|
6393
6318
|
"size"
|
|
6394
6319
|
]);
|
|
6395
6320
|
const context = React10.useContext(ToggleGroupContext);
|
|
6396
|
-
return /* @__PURE__ */ (0,
|
|
6397
|
-
|
|
6321
|
+
return /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(
|
|
6322
|
+
import_radix_ui33.ToggleGroup.Item,
|
|
6398
6323
|
__spreadProps(__spreadValues({
|
|
6399
6324
|
"data-slot": "toggle-group-item",
|
|
6400
6325
|
"data-variant": context.variant || variant,
|
|
@@ -6451,9 +6376,6 @@ function ToggleGroupItem(_a) {
|
|
|
6451
6376
|
BreadcrumbPage,
|
|
6452
6377
|
BreadcrumbSeparator,
|
|
6453
6378
|
Button,
|
|
6454
|
-
ButtonGroup,
|
|
6455
|
-
ButtonGroupSeparator,
|
|
6456
|
-
ButtonGroupText,
|
|
6457
6379
|
Calendar,
|
|
6458
6380
|
CalendarDayButton,
|
|
6459
6381
|
Card,
|
|
@@ -6720,7 +6642,6 @@ function ToggleGroupItem(_a) {
|
|
|
6720
6642
|
TooltipProvider,
|
|
6721
6643
|
TooltipTrigger,
|
|
6722
6644
|
badgeVariants,
|
|
6723
|
-
buttonGroupVariants,
|
|
6724
6645
|
buttonVariants,
|
|
6725
6646
|
cn,
|
|
6726
6647
|
navigationMenuTriggerStyle,
|