shadcn-ui-react 0.3.8 → 0.4.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.cjs CHANGED
@@ -284,12 +284,14 @@ __export(index_exports, {
284
284
  badgeVariants: () => badgeVariants,
285
285
  buttonVariants: () => buttonVariants,
286
286
  cn: () => cn,
287
+ inputVariants: () => inputVariants,
287
288
  navigationMenuTriggerStyle: () => navigationMenuTriggerStyle,
288
289
  reducer: () => reducer,
289
290
  toast: () => toast,
290
291
  toggleVariants: () => toggleVariants,
291
292
  useFormField: () => useFormField,
292
- useToast: () => useToast
293
+ useToast: () => useToast,
294
+ variants: () => variants
293
295
  });
294
296
  module.exports = __toCommonJS(index_exports);
295
297
 
@@ -5757,8 +5759,8 @@ var Form = ({
5757
5759
  };
5758
5760
 
5759
5761
  // src/components/Form/form-field.tsx
5760
- var import_react_hook_form2 = require("react-hook-form");
5761
5762
  var import_react33 = __toESM(require("react"), 1);
5763
+ var import_react_hook_form2 = require("react-hook-form");
5762
5764
  var import_react_slot3 = require("@radix-ui/react-slot");
5763
5765
  var import_lucide_react3 = require("lucide-react");
5764
5766
 
@@ -5787,7 +5789,7 @@ var Input = React41.forwardRef(
5787
5789
  ]);
5788
5790
  const base = "block w-full bg-transparent text-foreground placeholder:text-muted-foreground outline-none transition disabled:opacity-50 disabled:cursor-not-allowed";
5789
5791
  const sizeCls = size === "sm" ? "h-9 px-3 text-sm" : size === "lg" ? "h-12 px-5 text-base" : "h-11 px-4 text-sm";
5790
- const variants = {
5792
+ const variants2 = {
5791
5793
  outline: "rounded-md border border-input bg-input backdrop-blur-sm shadow-sm hover:border-primary/60 focus:border-primary focus:ring-2 focus:ring-primary/20",
5792
5794
  soft: "rounded-md border border-transparent bg-muted/60 hover:bg-muted shadow-sm focus:bg-input/80 focus:ring-2 focus:ring-primary/20",
5793
5795
  ghost: "rounded-md border border-transparent bg-transparent hover:bg-muted/50 focus:ring-2 focus:ring-ring",
@@ -5831,7 +5833,7 @@ var Input = React41.forwardRef(
5831
5833
  disabled,
5832
5834
  className: cn(
5833
5835
  base,
5834
- variants[variant],
5836
+ variants2[variant],
5835
5837
  variant === "flushed" ? specialSizeForFlushed : variant === "link" ? specialSizeForLink : sizeCls,
5836
5838
  errorCls,
5837
5839
  iconPadLeft,
@@ -5857,160 +5859,21 @@ var Input = React41.forwardRef(
5857
5859
  Input.displayName = "Input";
5858
5860
  Input.displayName = "Input";
5859
5861
 
5860
- // src/components/Label/label.tsx
5861
- var LabelPrimitive = __toESM(require("@radix-ui/react-label"), 1);
5862
- var import_class_variance_authority4 = require("class-variance-authority");
5863
- var React42 = __toESM(require("react"), 1);
5864
- var import_jsx_runtime18 = require("react/jsx-runtime");
5865
- var labelVariants = (0, import_class_variance_authority4.cva)(
5866
- "text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70 text-label"
5867
- );
5868
- var Label3 = React42.forwardRef((_a, ref) => {
5869
- var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
5870
- return /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
5871
- LabelPrimitive.Root,
5872
- __spreadValues({
5873
- ref,
5874
- className: cn(labelVariants(), className)
5875
- }, props)
5876
- );
5877
- });
5878
- Label3.displayName = LabelPrimitive.Root.displayName;
5879
-
5880
- // src/components/select.tsx
5881
- var import_react_icons9 = require("@radix-ui/react-icons");
5882
- var SelectPrimitive = __toESM(require("@radix-ui/react-select"), 1);
5883
- var React43 = __toESM(require("react"), 1);
5884
- var import_jsx_runtime19 = require("react/jsx-runtime");
5885
- var Select2 = SelectPrimitive.Root;
5886
- var SelectGroup = SelectPrimitive.Group;
5887
- var SelectValue = SelectPrimitive.Value;
5888
- var SelectTrigger = React43.forwardRef((_a, ref) => {
5889
- var _b = _a, { className, children } = _b, props = __objRest(_b, ["className", "children"]);
5890
- return /* @__PURE__ */ (0, import_jsx_runtime19.jsxs)(
5891
- SelectPrimitive.Trigger,
5892
- __spreadProps(__spreadValues({
5893
- ref,
5894
- className: cn(
5895
- "flex h-9 w-full items-center justify-between whitespace-nowrap rounded-md border border-input bg-transparent px-3 py-2 text-sm shadow-sm ring-offset-background placeholder:text-muted-foreground focus:outline-none focus:ring-1 focus:ring-ring disabled:cursor-not-allowed disabled:opacity-50 [&>span]:line-clamp-1",
5896
- className
5897
- )
5898
- }, props), {
5899
- children: [
5900
- children,
5901
- /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(SelectPrimitive.Icon, { asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(import_react_icons9.CaretSortIcon, { className: "h-4 w-4 opacity-50" }) })
5902
- ]
5903
- })
5904
- );
5905
- });
5906
- SelectTrigger.displayName = SelectPrimitive.Trigger.displayName;
5907
- var SelectScrollUpButton = React43.forwardRef((_a, ref) => {
5908
- var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
5909
- return /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(
5910
- SelectPrimitive.ScrollUpButton,
5911
- __spreadProps(__spreadValues({
5912
- ref,
5913
- className: cn(
5914
- "flex cursor-default items-center justify-center py-1",
5915
- className
5916
- )
5917
- }, props), {
5918
- children: /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(import_react_icons9.ChevronUpIcon, {})
5919
- })
5920
- );
5921
- });
5922
- SelectScrollUpButton.displayName = SelectPrimitive.ScrollUpButton.displayName;
5923
- var SelectScrollDownButton = React43.forwardRef((_a, ref) => {
5924
- var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
5925
- return /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(
5926
- SelectPrimitive.ScrollDownButton,
5927
- __spreadProps(__spreadValues({
5928
- ref,
5929
- className: cn(
5930
- "flex cursor-default items-center justify-center py-1",
5931
- className
5932
- )
5933
- }, props), {
5934
- children: /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(import_react_icons9.ChevronDownIcon, {})
5935
- })
5936
- );
5937
- });
5938
- SelectScrollDownButton.displayName = SelectPrimitive.ScrollDownButton.displayName;
5939
- var SelectContent = React43.forwardRef((_a, ref) => {
5940
- var _b = _a, { className, children, position = "popper" } = _b, props = __objRest(_b, ["className", "children", "position"]);
5941
- return /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(SelectPrimitive.Portal, { children: /* @__PURE__ */ (0, import_jsx_runtime19.jsxs)(
5942
- SelectPrimitive.Content,
5943
- __spreadProps(__spreadValues({
5944
- ref,
5945
- className: cn(
5946
- "relative z-50 max-h-96 min-w-[8rem] overflow-hidden rounded-md border bg-popover text-popover-foreground shadow-md data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",
5947
- position === "popper" && "data-[side=bottom]:translate-y-1 data-[side=left]:-translate-x-1 data-[side=right]:translate-x-1 data-[side=top]:-translate-y-1",
5948
- className
5949
- ),
5950
- position
5951
- }, props), {
5952
- children: [
5953
- /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(SelectScrollUpButton, {}),
5954
- /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(
5955
- SelectPrimitive.Viewport,
5956
- {
5957
- className: cn(
5958
- "p-1",
5959
- position === "popper" && "h-[var(--radix-select-trigger-height)] w-full min-w-[var(--radix-select-trigger-width)]"
5960
- ),
5961
- children
5962
- }
5963
- ),
5964
- /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(SelectScrollDownButton, {})
5965
- ]
5966
- })
5967
- ) });
5968
- });
5969
- SelectContent.displayName = SelectPrimitive.Content.displayName;
5970
- var SelectLabel = React43.forwardRef((_a, ref) => {
5971
- var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
5972
- return /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(
5973
- SelectPrimitive.Label,
5974
- __spreadValues({
5975
- ref,
5976
- className: cn("px-2 py-1.5 text-sm font-semibold", className)
5977
- }, props)
5978
- );
5979
- });
5980
- SelectLabel.displayName = SelectPrimitive.Label.displayName;
5981
- var SelectItem = React43.forwardRef((_a, ref) => {
5982
- var _b = _a, { className, children } = _b, props = __objRest(_b, ["className", "children"]);
5983
- return /* @__PURE__ */ (0, import_jsx_runtime19.jsxs)(
5984
- SelectPrimitive.Item,
5985
- __spreadProps(__spreadValues({
5986
- ref,
5987
- className: cn(
5988
- "relative flex w-full cursor-default select-none items-center rounded-sm py-1.5 pl-2 pr-8 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",
5989
- className
5990
- )
5991
- }, props), {
5992
- children: [
5993
- /* @__PURE__ */ (0, import_jsx_runtime19.jsx)("span", { className: "absolute right-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(SelectPrimitive.ItemIndicator, { children: /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(import_react_icons9.CheckIcon, { className: "h-4 w-4" }) }) }),
5994
- /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(SelectPrimitive.ItemText, { children })
5995
- ]
5996
- })
5997
- );
5998
- });
5999
- SelectItem.displayName = SelectPrimitive.Item.displayName;
6000
- var SelectSeparator = React43.forwardRef((_a, ref) => {
6001
- var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
6002
- return /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(
6003
- SelectPrimitive.Separator,
6004
- __spreadValues({
6005
- ref,
6006
- className: cn("-mx-1 my-1 h-px bg-muted", className)
6007
- }, props)
6008
- );
6009
- });
6010
- SelectSeparator.displayName = SelectPrimitive.Separator.displayName;
6011
-
6012
5862
  // src/components/Form/form-field.tsx
6013
- var import_jsx_runtime20 = require("react/jsx-runtime");
5863
+ var import_jsx_runtime18 = require("react/jsx-runtime");
5864
+ var inputVariants = {
5865
+ outline: "rounded-md border border-input bg-input backdrop-blur-sm shadow-sm hover:border-primary/60 focus:border-primary focus:ring-2 focus:ring-primary/20",
5866
+ soft: "rounded-md border border-transparent bg-muted/60 hover:bg-muted shadow-sm focus:bg-input/80 focus:ring-2 focus:ring-primary/20",
5867
+ ghost: "rounded-md border border-transparent bg-transparent hover:bg-muted/50 focus:ring-2 focus:ring-ring",
5868
+ filled: "rounded-md border border-input bg-muted/70 hover:bg-muted shadow-inner focus:bg-input/70 focus:ring-2 focus:ring-primary/20",
5869
+ // sin bordes laterales/superior, solo inferior; sin sombras ni radios
5870
+ flushed: "rounded-none border-0 border-b border-input px-0 shadow-none focus:border-b-2 focus:border-primary focus:ring-0",
5871
+ // sin estilos, útil para inputs embebidos o controles muy custom
5872
+ unstyled: "border-0 shadow-none focus:ring-0",
5873
+ // aspecto tipo enlace: inline height-auto, sin paddings ni borde
5874
+ link: "border-0 p-0 h-auto shadow-none bg-transparent text-primary underline-offset-4 focus:underline focus:ring-0"
5875
+ };
5876
+ var variants = inputVariants;
6014
5877
  var FormFieldContext = import_react33.default.createContext(
6015
5878
  null
6016
5879
  );
@@ -6055,7 +5918,7 @@ var FormField = (_a) => {
6055
5918
  formState: { errors }
6056
5919
  } = (0, import_react_hook_form2.useFormContext)();
6057
5920
  const fieldError = (_a2 = errors[name]) == null ? void 0 : _a2.message;
6058
- return /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(FormFieldContext.Provider, { value: { name }, children: /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(
5921
+ return /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(FormFieldContext.Provider, { value: { name }, children: /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
6059
5922
  import_react_hook_form2.Controller,
6060
5923
  {
6061
5924
  control,
@@ -6063,8 +5926,8 @@ var FormField = (_a) => {
6063
5926
  rules,
6064
5927
  shouldUnregister,
6065
5928
  defaultValue,
6066
- render: ({ field }) => /* @__PURE__ */ (0, import_jsx_runtime20.jsxs)(FormItem, { children: [
6067
- label && /* @__PURE__ */ (0, import_jsx_runtime20.jsxs)(
5929
+ render: ({ field }) => /* @__PURE__ */ (0, import_jsx_runtime18.jsxs)(FormItem, { children: [
5930
+ label && /* @__PURE__ */ (0, import_jsx_runtime18.jsxs)(
6068
5931
  FormLabel,
6069
5932
  {
6070
5933
  className: cn(
@@ -6073,7 +5936,7 @@ var FormField = (_a) => {
6073
5936
  ),
6074
5937
  children: [
6075
5938
  label,
6076
- requiredLabel && /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(
5939
+ requiredLabel && /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
6077
5940
  import_lucide_react3.Asterisk,
6078
5941
  {
6079
5942
  className: cn(
@@ -6085,21 +5948,19 @@ var FormField = (_a) => {
6085
5948
  ]
6086
5949
  }
6087
5950
  ),
6088
- /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(FormControl, { children: /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(
5951
+ /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(FormControl, { children: /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
6089
5952
  Input,
6090
5953
  __spreadProps(__spreadValues(__spreadValues({}, field), inputProps), {
6091
5954
  onChange: (e) => {
6092
5955
  field.onChange(e);
6093
5956
  onChange == null ? void 0 : onChange(e.target.value);
6094
5957
  },
6095
- variant,
6096
- size,
6097
5958
  placeholder,
6098
5959
  className: cn("bg-input px-[0.9rem] py-5", className),
6099
5960
  classNameDefault: classNameDefault != null ? classNameDefault : true
6100
5961
  })
6101
5962
  ) }),
6102
- fieldError && /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(FormMessage, { className: messageClassName, children: fieldError })
5963
+ fieldError && /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(FormMessage, { className: messageClassName, children: fieldError })
6103
5964
  ] })
6104
5965
  }
6105
5966
  ) });
@@ -6110,30 +5971,27 @@ var FormItemContext = import_react33.default.createContext(
6110
5971
  var FormItem = import_react33.default.forwardRef((_a, ref) => {
6111
5972
  var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
6112
5973
  const id = import_react33.default.useId();
6113
- return /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(FormItemContext.Provider, { value: { id }, children: /* @__PURE__ */ (0, import_jsx_runtime20.jsx)("div", __spreadValues({ ref, className: cn("space-y-2", className) }, props)) });
5974
+ return /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(FormItemContext.Provider, { value: { id }, children: /* @__PURE__ */ (0, import_jsx_runtime18.jsx)("div", __spreadValues({ ref, className: cn("space-y-2", className) }, props)) });
6114
5975
  });
6115
5976
  FormItem.displayName = "FormItem";
6116
- var FormLabel = import_react33.default.forwardRef((_a, ref) => {
6117
- var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
6118
- const { error, formItemId } = useFormField();
6119
- return /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(
6120
- Label3,
6121
- __spreadValues({
6122
- ref,
6123
- className: cn(error && "text-destructive", className),
6124
- htmlFor: formItemId
6125
- }, props)
6126
- );
6127
- });
6128
- FormLabel.displayName = "FormLabel";
6129
5977
  var useFormField = () => {
6130
5978
  const fieldContext = import_react33.default.useContext(FormFieldContext);
6131
5979
  const itemContext = import_react33.default.useContext(FormItemContext);
6132
5980
  const { getFieldState, formState } = (0, import_react_hook_form2.useFormContext)();
5981
+ if (!(itemContext == null ? void 0 : itemContext.id)) {
5982
+ const id2 = import_react33.default.useId();
5983
+ return {
5984
+ id: id2,
5985
+ formItemId: `${id2}-form-item`,
5986
+ formDescriptionId: `${id2}-form-item-description`,
5987
+ formMessageId: `${id2}-form-item-message`,
5988
+ error: null
5989
+ };
5990
+ }
6133
5991
  if (!fieldContext) {
6134
5992
  const { id: id2 } = itemContext;
6135
5993
  return {
6136
- id: itemContext.id,
5994
+ id: id2,
6137
5995
  formItemId: `${id2}-form-item`,
6138
5996
  formDescriptionId: `${id2}-form-item-description`,
6139
5997
  formMessageId: `${id2}-form-item-message`,
@@ -6141,9 +5999,6 @@ var useFormField = () => {
6141
5999
  };
6142
6000
  }
6143
6001
  const fieldState = getFieldState(fieldContext.name, formState);
6144
- if (!fieldContext) {
6145
- throw new Error("useFormField should be used within <FormField>");
6146
- }
6147
6002
  const { id } = itemContext;
6148
6003
  return __spreadValues({
6149
6004
  id,
@@ -6153,10 +6008,23 @@ var useFormField = () => {
6153
6008
  formMessageId: `${id}-form-item-message`
6154
6009
  }, fieldState);
6155
6010
  };
6011
+ var FormLabel = import_react33.default.forwardRef((_a, ref) => {
6012
+ var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
6013
+ const { error, formItemId } = useFormField();
6014
+ return /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
6015
+ Label3,
6016
+ __spreadValues({
6017
+ ref,
6018
+ className: cn(error && "text-destructive", className),
6019
+ htmlFor: formItemId
6020
+ }, props)
6021
+ );
6022
+ });
6023
+ FormLabel.displayName = "FormLabel";
6156
6024
  var FormControl = import_react33.default.forwardRef((_a, ref) => {
6157
6025
  var props = __objRest(_a, []);
6158
6026
  const { error, formItemId, formDescriptionId, formMessageId } = useFormField();
6159
- return /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(
6027
+ return /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
6160
6028
  import_react_slot3.Slot,
6161
6029
  __spreadValues({
6162
6030
  ref,
@@ -6170,7 +6038,7 @@ FormControl.displayName = "FormControl";
6170
6038
  var FormDescription = import_react33.default.forwardRef((_a, ref) => {
6171
6039
  var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
6172
6040
  const { formDescriptionId } = useFormField();
6173
- return /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(
6041
+ return /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
6174
6042
  "p",
6175
6043
  __spreadValues({
6176
6044
  ref,
@@ -6183,11 +6051,9 @@ FormDescription.displayName = "FormDescription";
6183
6051
  var FormMessage = import_react33.default.forwardRef((_a, ref) => {
6184
6052
  var _b = _a, { className, children } = _b, props = __objRest(_b, ["className", "children"]);
6185
6053
  const { error, formMessageId } = useFormField();
6186
- const body = error ? String(error == null ? void 0 : error.message) : children;
6187
- if (!body) {
6188
- return null;
6189
- }
6190
- return /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(
6054
+ const body = error ? error == null ? void 0 : error.message : children;
6055
+ if (!body) return null;
6056
+ return /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
6191
6057
  "p",
6192
6058
  __spreadProps(__spreadValues({
6193
6059
  ref,
@@ -6219,7 +6085,9 @@ var FormSelect = ({
6219
6085
  disabled,
6220
6086
  size = "md",
6221
6087
  variant = "outline",
6222
- invalid
6088
+ invalid,
6089
+ searchable = false,
6090
+ searchPlaceholder = "Buscar\u2026"
6223
6091
  }) => {
6224
6092
  var _a;
6225
6093
  const {
@@ -6231,24 +6099,6 @@ var FormSelect = ({
6231
6099
  md: "h-11 px-4 text-sm",
6232
6100
  lg: "h-12 px-5 text-base"
6233
6101
  };
6234
- const variants = {
6235
- outline: "rounded-md border border-input bg-input backdrop-blur-sm shadow-sm hover:border-primary/60 focus:border-primary focus:ring-2 focus:ring-primary/20",
6236
- soft: "rounded-md border border-transparent bg-muted/60 hover:bg-muted shadow-sm focus:bg-input/80 focus:ring-2 focus:ring-primary/20",
6237
- ghost: "rounded-md border border-transparent bg-transparent hover:bg-muted/50 focus:ring-2 focus:ring-ring",
6238
- filled: "rounded-md border border-input bg-muted/70 hover:bg-muted shadow-inner focus:bg-input/70 focus:ring-2 focus:ring-primary/20",
6239
- flushed: (
6240
- // sin bordes laterales/superior, solo inferior; sin sombras ni radios
6241
- "rounded-none border-0 border-b border-input px-0 shadow-none focus:border-b-2 focus:border-primary focus:ring-0"
6242
- ),
6243
- unstyled: (
6244
- // sin estilos, útil para inputs embebidos o controles muy custom
6245
- "border-0 shadow-none focus:ring-0"
6246
- ),
6247
- link: (
6248
- // aspecto tipo enlace: inline height-auto, sin paddings ni borde
6249
- "border-0 p-0 h-auto shadow-none bg-transparent text-primary underline-offset-4 focus:underline focus:ring-0"
6250
- )
6251
- };
6252
6102
  const errorCls = invalid ? "ring-destructive focus:ring-destructive/40 border-destructive" : "";
6253
6103
  const specialFlushed = variant === "flushed" ? size === "sm" ? "h-9 text-sm" : size === "lg" ? "h-12 text-base" : "h-11 text-sm" : "";
6254
6104
  const specialLink = variant === "link" ? "text-sm" : "";
@@ -6259,7 +6109,21 @@ var FormSelect = ({
6259
6109
  lg: "h-10 text-base"
6260
6110
  };
6261
6111
  const fieldError = (_a = errors[name]) == null ? void 0 : _a.message;
6262
- return /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(FormFieldContext.Provider, { value: { name }, children: /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(
6112
+ const [query, setQuery] = import_react33.default.useState("");
6113
+ const getOptionText = import_react33.default.useCallback((opt) => {
6114
+ var _a2;
6115
+ if (typeof opt.label === "string") return opt.label.toLowerCase();
6116
+ const extra = typeof ((_a2 = opt == null ? void 0 : opt.data) == null ? void 0 : _a2.search) === "string" ? opt.data.search.toLowerCase() : "";
6117
+ return `${opt.value}${extra}`.toLowerCase();
6118
+ }, []);
6119
+ const searchRef = import_react33.default.useRef(null);
6120
+ const filteredItems = import_react33.default.useMemo(() => {
6121
+ if (!items) return items;
6122
+ if (!searchable || !query.trim()) return items;
6123
+ const q = query.trim().toLowerCase();
6124
+ return items.filter((opt) => getOptionText(opt).includes(q));
6125
+ }, [items, searchable, query, getOptionText]);
6126
+ return /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(FormFieldContext.Provider, { value: { name }, children: /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
6263
6127
  import_react_hook_form2.Controller,
6264
6128
  {
6265
6129
  control,
@@ -6268,21 +6132,27 @@ var FormSelect = ({
6268
6132
  shouldUnregister,
6269
6133
  defaultValue,
6270
6134
  render: ({ field }) => {
6271
- var _a2;
6272
- return /* @__PURE__ */ (0, import_jsx_runtime20.jsxs)(FormItem, { children: [
6273
- label && /* @__PURE__ */ (0, import_jsx_runtime20.jsxs)(FormLabel, { className: cn("flex items-center gap-0", labelClassName), children: [
6274
- label,
6275
- requiredLabel && /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(
6276
- import_lucide_react3.Asterisk,
6277
- {
6278
- className: cn(
6279
- "ml-[4px] h-3 w-3 text-red-500",
6280
- requiredLabelClassName
6135
+ var _a2, _b, _c;
6136
+ return /* @__PURE__ */ (0, import_jsx_runtime18.jsxs)(FormItem, { children: [
6137
+ label && /* @__PURE__ */ (0, import_jsx_runtime18.jsxs)(
6138
+ FormLabel,
6139
+ {
6140
+ className: cn("flex items-center gap-0", labelClassName),
6141
+ children: [
6142
+ label,
6143
+ requiredLabel && /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
6144
+ import_lucide_react3.Asterisk,
6145
+ {
6146
+ className: cn(
6147
+ "ml-[4px] h-3 w-3 text-red-500",
6148
+ requiredLabelClassName
6149
+ )
6150
+ }
6281
6151
  )
6282
- }
6283
- )
6284
- ] }),
6285
- /* @__PURE__ */ (0, import_jsx_runtime20.jsxs)(
6152
+ ]
6153
+ }
6154
+ ),
6155
+ /* @__PURE__ */ (0, import_jsx_runtime18.jsxs)(
6286
6156
  Select2,
6287
6157
  {
6288
6158
  value: (_a2 = field.value) != null ? _a2 : "",
@@ -6292,7 +6162,7 @@ var FormSelect = ({
6292
6162
  },
6293
6163
  disabled,
6294
6164
  children: [
6295
- /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(FormControl, { children: /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(
6165
+ /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(FormControl, { children: /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
6296
6166
  SelectTrigger,
6297
6167
  {
6298
6168
  className: cn(
@@ -6302,23 +6172,56 @@ var FormSelect = ({
6302
6172
  errorCls,
6303
6173
  className
6304
6174
  ),
6305
- children: /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(SelectValue, { placeholder })
6175
+ children: /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(SelectValue, { placeholder })
6306
6176
  }
6307
6177
  ) }),
6308
- /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(SelectContent, { className: cn(contentBase, contentClassName), children: children ? children : items == null ? void 0 : items.map((opt) => /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(
6309
- SelectItem,
6178
+ /* @__PURE__ */ (0, import_jsx_runtime18.jsxs)(
6179
+ SelectContent,
6310
6180
  {
6311
- value: opt.value,
6312
- disabled: opt.disabled,
6313
- className: cn(itemSize[size]),
6314
- children: opt.label
6315
- },
6316
- opt.value
6317
- )) })
6181
+ className: cn(contentBase, contentClassName),
6182
+ onCloseAutoFocus: (e) => {
6183
+ e.preventDefault();
6184
+ requestAnimationFrame(() => {
6185
+ var _a3;
6186
+ return (_a3 = searchRef.current) == null ? void 0 : _a3.focus();
6187
+ });
6188
+ },
6189
+ children: [
6190
+ searchable && ((_b = items == null ? void 0 : items.length) != null ? _b : 0) > 0 && /* @__PURE__ */ (0, import_jsx_runtime18.jsx)("div", { className: "border-border bg-popover sticky top-0 border-b p-2", children: /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
6191
+ "input",
6192
+ {
6193
+ ref: searchRef,
6194
+ autoFocus: true,
6195
+ value: query,
6196
+ onChange: (e) => setQuery(e.target.value),
6197
+ placeholder: searchPlaceholder,
6198
+ className: cn(
6199
+ "border-input bg-input focus:ring-primary/20 w-full rounded-md border px-3 py-2 text-sm outline-none focus:ring-2"
6200
+ ),
6201
+ onKeyDown: (e) => {
6202
+ if (e.key !== "Escape") e.stopPropagation();
6203
+ },
6204
+ onPointerDown: (e) => e.stopPropagation(),
6205
+ onClick: (e) => e.stopPropagation()
6206
+ }
6207
+ ) }),
6208
+ children && !searchable ? children : (_c = filteredItems != null ? filteredItems : items) == null ? void 0 : _c.map((opt) => /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
6209
+ SelectItem,
6210
+ {
6211
+ value: opt.value,
6212
+ disabled: opt.disabled,
6213
+ className: cn(itemSize[size]),
6214
+ children: opt.label
6215
+ },
6216
+ opt.value
6217
+ ))
6218
+ ]
6219
+ }
6220
+ )
6318
6221
  ]
6319
6222
  }
6320
6223
  ),
6321
- fieldError && /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(FormMessage, { className: messageClassName, children: fieldError })
6224
+ fieldError && /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(FormMessage, { className: messageClassName, children: fieldError })
6322
6225
  ] });
6323
6226
  }
6324
6227
  }
@@ -6328,13 +6231,13 @@ FormSelect.displayName = "FormSelect";
6328
6231
 
6329
6232
  // src/components/hover-card.tsx
6330
6233
  var HoverCardPrimitive = __toESM(require("@radix-ui/react-hover-card"), 1);
6331
- var React45 = __toESM(require("react"), 1);
6332
- var import_jsx_runtime21 = require("react/jsx-runtime");
6234
+ var React43 = __toESM(require("react"), 1);
6235
+ var import_jsx_runtime19 = require("react/jsx-runtime");
6333
6236
  var HoverCard = HoverCardPrimitive.Root;
6334
6237
  var HoverCardTrigger = HoverCardPrimitive.Trigger;
6335
- var HoverCardContent = React45.forwardRef((_a, ref) => {
6238
+ var HoverCardContent = React43.forwardRef((_a, ref) => {
6336
6239
  var _b = _a, { className, align = "center", sideOffset = 4 } = _b, props = __objRest(_b, ["className", "align", "sideOffset"]);
6337
- return /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(
6240
+ return /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(
6338
6241
  HoverCardPrimitive.Content,
6339
6242
  __spreadValues({
6340
6243
  ref,
@@ -6383,13 +6286,13 @@ var IconsApp = {
6383
6286
  var Icons = IconsApp;
6384
6287
 
6385
6288
  // src/components/input-otp.tsx
6386
- var import_react_icons10 = require("@radix-ui/react-icons");
6289
+ var import_react_icons9 = require("@radix-ui/react-icons");
6387
6290
  var import_input_otp = require("input-otp");
6388
- var React46 = __toESM(require("react"), 1);
6389
- var import_jsx_runtime22 = require("react/jsx-runtime");
6390
- var InputOTP = React46.forwardRef((_a, ref) => {
6291
+ var React44 = __toESM(require("react"), 1);
6292
+ var import_jsx_runtime20 = require("react/jsx-runtime");
6293
+ var InputOTP = React44.forwardRef((_a, ref) => {
6391
6294
  var _b = _a, { className, containerClassName } = _b, props = __objRest(_b, ["className", "containerClassName"]);
6392
- return /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(
6295
+ return /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(
6393
6296
  import_input_otp.OTPInput,
6394
6297
  __spreadValues({
6395
6298
  ref,
@@ -6402,16 +6305,16 @@ var InputOTP = React46.forwardRef((_a, ref) => {
6402
6305
  );
6403
6306
  });
6404
6307
  InputOTP.displayName = "InputOTP";
6405
- var InputOTPGroup = React46.forwardRef((_a, ref) => {
6308
+ var InputOTPGroup = React44.forwardRef((_a, ref) => {
6406
6309
  var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
6407
- return /* @__PURE__ */ (0, import_jsx_runtime22.jsx)("div", __spreadValues({ ref, className: cn("flex items-center", className) }, props));
6310
+ return /* @__PURE__ */ (0, import_jsx_runtime20.jsx)("div", __spreadValues({ ref, className: cn("flex items-center", className) }, props));
6408
6311
  });
6409
6312
  InputOTPGroup.displayName = "InputOTPGroup";
6410
- var InputOTPSlot = React46.forwardRef((_a, ref) => {
6313
+ var InputOTPSlot = React44.forwardRef((_a, ref) => {
6411
6314
  var _b = _a, { index, className } = _b, props = __objRest(_b, ["index", "className"]);
6412
- const inputOTPContext = React46.useContext(import_input_otp.OTPInputContext);
6315
+ const inputOTPContext = React44.useContext(import_input_otp.OTPInputContext);
6413
6316
  const { char, hasFakeCaret, isActive } = inputOTPContext.slots[index];
6414
- return /* @__PURE__ */ (0, import_jsx_runtime22.jsxs)(
6317
+ return /* @__PURE__ */ (0, import_jsx_runtime20.jsxs)(
6415
6318
  "div",
6416
6319
  __spreadProps(__spreadValues({
6417
6320
  ref,
@@ -6423,31 +6326,51 @@ var InputOTPSlot = React46.forwardRef((_a, ref) => {
6423
6326
  }, props), {
6424
6327
  children: [
6425
6328
  char,
6426
- hasFakeCaret && /* @__PURE__ */ (0, import_jsx_runtime22.jsx)("div", { className: "pointer-events-none absolute inset-0 flex items-center justify-center", children: /* @__PURE__ */ (0, import_jsx_runtime22.jsx)("div", { className: "animate-caret-blink h-4 w-px bg-foreground duration-1000" }) })
6329
+ hasFakeCaret && /* @__PURE__ */ (0, import_jsx_runtime20.jsx)("div", { className: "pointer-events-none absolute inset-0 flex items-center justify-center", children: /* @__PURE__ */ (0, import_jsx_runtime20.jsx)("div", { className: "animate-caret-blink h-4 w-px bg-foreground duration-1000" }) })
6427
6330
  ]
6428
6331
  })
6429
6332
  );
6430
6333
  });
6431
6334
  InputOTPSlot.displayName = "InputOTPSlot";
6432
- var InputOTPSeparator = React46.forwardRef((_a, ref) => {
6335
+ var InputOTPSeparator = React44.forwardRef((_a, ref) => {
6433
6336
  var props = __objRest(_a, []);
6434
- return /* @__PURE__ */ (0, import_jsx_runtime22.jsx)("div", __spreadProps(__spreadValues({ ref, role: "separator" }, props), { children: /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(import_react_icons10.DashIcon, {}) }));
6337
+ return /* @__PURE__ */ (0, import_jsx_runtime20.jsx)("div", __spreadProps(__spreadValues({ ref, role: "separator" }, props), { children: /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(import_react_icons9.DashIcon, {}) }));
6435
6338
  });
6436
6339
  InputOTPSeparator.displayName = "InputOTPSeparator";
6437
6340
 
6341
+ // src/components/Label/label.tsx
6342
+ var LabelPrimitive = __toESM(require("@radix-ui/react-label"), 1);
6343
+ var import_class_variance_authority4 = require("class-variance-authority");
6344
+ var React45 = __toESM(require("react"), 1);
6345
+ var import_jsx_runtime21 = require("react/jsx-runtime");
6346
+ var labelVariants = (0, import_class_variance_authority4.cva)(
6347
+ "text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70 text-label"
6348
+ );
6349
+ var Label3 = React45.forwardRef((_a, ref) => {
6350
+ var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
6351
+ return /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(
6352
+ LabelPrimitive.Root,
6353
+ __spreadValues({
6354
+ ref,
6355
+ className: cn(labelVariants(), className)
6356
+ }, props)
6357
+ );
6358
+ });
6359
+ Label3.displayName = LabelPrimitive.Root.displayName;
6360
+
6438
6361
  // src/components/menubar.tsx
6439
- var import_react_icons11 = require("@radix-ui/react-icons");
6362
+ var import_react_icons10 = require("@radix-ui/react-icons");
6440
6363
  var MenubarPrimitive = __toESM(require("@radix-ui/react-menubar"), 1);
6441
- var React47 = __toESM(require("react"), 1);
6442
- var import_jsx_runtime23 = require("react/jsx-runtime");
6364
+ var React46 = __toESM(require("react"), 1);
6365
+ var import_jsx_runtime22 = require("react/jsx-runtime");
6443
6366
  var MenubarMenu = MenubarPrimitive.Menu;
6444
6367
  var MenubarGroup = MenubarPrimitive.Group;
6445
6368
  var MenubarPortal = MenubarPrimitive.Portal;
6446
6369
  var MenubarSub = MenubarPrimitive.Sub;
6447
6370
  var MenubarRadioGroup = MenubarPrimitive.RadioGroup;
6448
- var Menubar = React47.forwardRef((_a, ref) => {
6371
+ var Menubar = React46.forwardRef((_a, ref) => {
6449
6372
  var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
6450
- return /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(
6373
+ return /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(
6451
6374
  MenubarPrimitive.Root,
6452
6375
  __spreadValues({
6453
6376
  ref,
@@ -6459,9 +6382,9 @@ var Menubar = React47.forwardRef((_a, ref) => {
6459
6382
  );
6460
6383
  });
6461
6384
  Menubar.displayName = MenubarPrimitive.Root.displayName;
6462
- var MenubarTrigger = React47.forwardRef((_a, ref) => {
6385
+ var MenubarTrigger = React46.forwardRef((_a, ref) => {
6463
6386
  var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
6464
- return /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(
6387
+ return /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(
6465
6388
  MenubarPrimitive.Trigger,
6466
6389
  __spreadValues({
6467
6390
  ref,
@@ -6473,9 +6396,9 @@ var MenubarTrigger = React47.forwardRef((_a, ref) => {
6473
6396
  );
6474
6397
  });
6475
6398
  MenubarTrigger.displayName = MenubarPrimitive.Trigger.displayName;
6476
- var MenubarSubTrigger = React47.forwardRef((_a, ref) => {
6399
+ var MenubarSubTrigger = React46.forwardRef((_a, ref) => {
6477
6400
  var _b = _a, { className, inset, children } = _b, props = __objRest(_b, ["className", "inset", "children"]);
6478
- return /* @__PURE__ */ (0, import_jsx_runtime23.jsxs)(
6401
+ return /* @__PURE__ */ (0, import_jsx_runtime22.jsxs)(
6479
6402
  MenubarPrimitive.SubTrigger,
6480
6403
  __spreadProps(__spreadValues({
6481
6404
  ref,
@@ -6487,15 +6410,15 @@ var MenubarSubTrigger = React47.forwardRef((_a, ref) => {
6487
6410
  }, props), {
6488
6411
  children: [
6489
6412
  children,
6490
- /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(import_react_icons11.ChevronRightIcon, { className: "ml-auto h-4 w-4" })
6413
+ /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(import_react_icons10.ChevronRightIcon, { className: "ml-auto h-4 w-4" })
6491
6414
  ]
6492
6415
  })
6493
6416
  );
6494
6417
  });
6495
6418
  MenubarSubTrigger.displayName = MenubarPrimitive.SubTrigger.displayName;
6496
- var MenubarSubContent = React47.forwardRef((_a, ref) => {
6419
+ var MenubarSubContent = React46.forwardRef((_a, ref) => {
6497
6420
  var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
6498
- return /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(
6421
+ return /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(
6499
6422
  MenubarPrimitive.SubContent,
6500
6423
  __spreadValues({
6501
6424
  ref,
@@ -6507,10 +6430,10 @@ var MenubarSubContent = React47.forwardRef((_a, ref) => {
6507
6430
  );
6508
6431
  });
6509
6432
  MenubarSubContent.displayName = MenubarPrimitive.SubContent.displayName;
6510
- var MenubarContent = React47.forwardRef(
6433
+ var MenubarContent = React46.forwardRef(
6511
6434
  (_a, ref) => {
6512
6435
  var _b = _a, { className, align = "start", alignOffset = -4, sideOffset = 8 } = _b, props = __objRest(_b, ["className", "align", "alignOffset", "sideOffset"]);
6513
- return /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(MenubarPrimitive.Portal, { children: /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(
6436
+ return /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(MenubarPrimitive.Portal, { children: /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(
6514
6437
  MenubarPrimitive.Content,
6515
6438
  __spreadValues({
6516
6439
  ref,
@@ -6526,9 +6449,9 @@ var MenubarContent = React47.forwardRef(
6526
6449
  }
6527
6450
  );
6528
6451
  MenubarContent.displayName = MenubarPrimitive.Content.displayName;
6529
- var MenubarItem = React47.forwardRef((_a, ref) => {
6452
+ var MenubarItem = React46.forwardRef((_a, ref) => {
6530
6453
  var _b = _a, { className, inset } = _b, props = __objRest(_b, ["className", "inset"]);
6531
- return /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(
6454
+ return /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(
6532
6455
  MenubarPrimitive.Item,
6533
6456
  __spreadValues({
6534
6457
  ref,
@@ -6541,9 +6464,9 @@ var MenubarItem = React47.forwardRef((_a, ref) => {
6541
6464
  );
6542
6465
  });
6543
6466
  MenubarItem.displayName = MenubarPrimitive.Item.displayName;
6544
- var MenubarCheckboxItem = React47.forwardRef((_a, ref) => {
6467
+ var MenubarCheckboxItem = React46.forwardRef((_a, ref) => {
6545
6468
  var _b = _a, { className, children, checked } = _b, props = __objRest(_b, ["className", "children", "checked"]);
6546
- return /* @__PURE__ */ (0, import_jsx_runtime23.jsxs)(
6469
+ return /* @__PURE__ */ (0, import_jsx_runtime22.jsxs)(
6547
6470
  MenubarPrimitive.CheckboxItem,
6548
6471
  __spreadProps(__spreadValues({
6549
6472
  ref,
@@ -6554,16 +6477,16 @@ var MenubarCheckboxItem = React47.forwardRef((_a, ref) => {
6554
6477
  checked
6555
6478
  }, props), {
6556
6479
  children: [
6557
- /* @__PURE__ */ (0, import_jsx_runtime23.jsx)("span", { className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(MenubarPrimitive.ItemIndicator, { children: /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(import_react_icons11.CheckIcon, { className: "h-4 w-4" }) }) }),
6480
+ /* @__PURE__ */ (0, import_jsx_runtime22.jsx)("span", { className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(MenubarPrimitive.ItemIndicator, { children: /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(import_react_icons10.CheckIcon, { className: "h-4 w-4" }) }) }),
6558
6481
  children
6559
6482
  ]
6560
6483
  })
6561
6484
  );
6562
6485
  });
6563
6486
  MenubarCheckboxItem.displayName = MenubarPrimitive.CheckboxItem.displayName;
6564
- var MenubarRadioItem = React47.forwardRef((_a, ref) => {
6487
+ var MenubarRadioItem = React46.forwardRef((_a, ref) => {
6565
6488
  var _b = _a, { className, children } = _b, props = __objRest(_b, ["className", "children"]);
6566
- return /* @__PURE__ */ (0, import_jsx_runtime23.jsxs)(
6489
+ return /* @__PURE__ */ (0, import_jsx_runtime22.jsxs)(
6567
6490
  MenubarPrimitive.RadioItem,
6568
6491
  __spreadProps(__spreadValues({
6569
6492
  ref,
@@ -6573,16 +6496,16 @@ var MenubarRadioItem = React47.forwardRef((_a, ref) => {
6573
6496
  )
6574
6497
  }, props), {
6575
6498
  children: [
6576
- /* @__PURE__ */ (0, import_jsx_runtime23.jsx)("span", { className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(MenubarPrimitive.ItemIndicator, { children: /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(import_react_icons11.DotFilledIcon, { className: "h-4 w-4 fill-current" }) }) }),
6499
+ /* @__PURE__ */ (0, import_jsx_runtime22.jsx)("span", { className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(MenubarPrimitive.ItemIndicator, { children: /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(import_react_icons10.DotFilledIcon, { className: "h-4 w-4 fill-current" }) }) }),
6577
6500
  children
6578
6501
  ]
6579
6502
  })
6580
6503
  );
6581
6504
  });
6582
6505
  MenubarRadioItem.displayName = MenubarPrimitive.RadioItem.displayName;
6583
- var MenubarLabel = React47.forwardRef((_a, ref) => {
6506
+ var MenubarLabel = React46.forwardRef((_a, ref) => {
6584
6507
  var _b = _a, { className, inset } = _b, props = __objRest(_b, ["className", "inset"]);
6585
- return /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(
6508
+ return /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(
6586
6509
  MenubarPrimitive.Label,
6587
6510
  __spreadValues({
6588
6511
  ref,
@@ -6595,9 +6518,9 @@ var MenubarLabel = React47.forwardRef((_a, ref) => {
6595
6518
  );
6596
6519
  });
6597
6520
  MenubarLabel.displayName = MenubarPrimitive.Label.displayName;
6598
- var MenubarSeparator = React47.forwardRef((_a, ref) => {
6521
+ var MenubarSeparator = React46.forwardRef((_a, ref) => {
6599
6522
  var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
6600
- return /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(
6523
+ return /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(
6601
6524
  MenubarPrimitive.Separator,
6602
6525
  __spreadValues({
6603
6526
  ref,
@@ -6612,7 +6535,7 @@ var MenubarShortcut = (_a) => {
6612
6535
  } = _b, props = __objRest(_b, [
6613
6536
  "className"
6614
6537
  ]);
6615
- return /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(
6538
+ return /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(
6616
6539
  "span",
6617
6540
  __spreadValues({
6618
6541
  className: cn(
@@ -6625,7 +6548,7 @@ var MenubarShortcut = (_a) => {
6625
6548
  MenubarShortcut.displayname = "MenubarShortcut";
6626
6549
 
6627
6550
  // src/components/modal.tsx
6628
- var import_jsx_runtime24 = require("react/jsx-runtime");
6551
+ var import_jsx_runtime23 = require("react/jsx-runtime");
6629
6552
  var Modal = ({
6630
6553
  title,
6631
6554
  description,
@@ -6639,24 +6562,24 @@ var Modal = ({
6639
6562
  onClose();
6640
6563
  }
6641
6564
  };
6642
- return /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(Dialog, { open: isOpen, onOpenChange: onChange, children: /* @__PURE__ */ (0, import_jsx_runtime24.jsxs)(DialogContent, { className, children: [
6643
- /* @__PURE__ */ (0, import_jsx_runtime24.jsxs)(DialogHeader, { children: [
6644
- /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(DialogTitle, { children: title }),
6645
- /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(DialogDescription, { children: description })
6565
+ return /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(Dialog, { open: isOpen, onOpenChange: onChange, children: /* @__PURE__ */ (0, import_jsx_runtime23.jsxs)(DialogContent, { className, children: [
6566
+ /* @__PURE__ */ (0, import_jsx_runtime23.jsxs)(DialogHeader, { children: [
6567
+ /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(DialogTitle, { children: title }),
6568
+ /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(DialogDescription, { children: description })
6646
6569
  ] }),
6647
- /* @__PURE__ */ (0, import_jsx_runtime24.jsx)("div", { children })
6570
+ /* @__PURE__ */ (0, import_jsx_runtime23.jsx)("div", { children })
6648
6571
  ] }) });
6649
6572
  };
6650
6573
 
6651
6574
  // src/components/navigation-menu.tsx
6652
- var import_react_icons12 = require("@radix-ui/react-icons");
6575
+ var import_react_icons11 = require("@radix-ui/react-icons");
6653
6576
  var NavigationMenuPrimitive = __toESM(require("@radix-ui/react-navigation-menu"), 1);
6654
6577
  var import_class_variance_authority5 = require("class-variance-authority");
6655
- var React48 = __toESM(require("react"), 1);
6656
- var import_jsx_runtime25 = require("react/jsx-runtime");
6657
- var NavigationMenu = React48.forwardRef((_a, ref) => {
6578
+ var React47 = __toESM(require("react"), 1);
6579
+ var import_jsx_runtime24 = require("react/jsx-runtime");
6580
+ var NavigationMenu = React47.forwardRef((_a, ref) => {
6658
6581
  var _b = _a, { className, children } = _b, props = __objRest(_b, ["className", "children"]);
6659
- return /* @__PURE__ */ (0, import_jsx_runtime25.jsxs)(
6582
+ return /* @__PURE__ */ (0, import_jsx_runtime24.jsxs)(
6660
6583
  NavigationMenuPrimitive.Root,
6661
6584
  __spreadProps(__spreadValues({
6662
6585
  ref,
@@ -6667,15 +6590,15 @@ var NavigationMenu = React48.forwardRef((_a, ref) => {
6667
6590
  }, props), {
6668
6591
  children: [
6669
6592
  children,
6670
- /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(NavigationMenuViewport, {})
6593
+ /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(NavigationMenuViewport, {})
6671
6594
  ]
6672
6595
  })
6673
6596
  );
6674
6597
  });
6675
6598
  NavigationMenu.displayName = NavigationMenuPrimitive.Root.displayName;
6676
- var NavigationMenuList = React48.forwardRef((_a, ref) => {
6599
+ var NavigationMenuList = React47.forwardRef((_a, ref) => {
6677
6600
  var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
6678
- return /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
6601
+ return /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(
6679
6602
  NavigationMenuPrimitive.List,
6680
6603
  __spreadValues({
6681
6604
  ref,
@@ -6691,9 +6614,9 @@ var NavigationMenuItem = NavigationMenuPrimitive.Item;
6691
6614
  var navigationMenuTriggerStyle = (0, import_class_variance_authority5.cva)(
6692
6615
  "group inline-flex h-9 w-max items-center justify-center rounded-md bg-background px-4 py-2 text-sm font-medium transition-colors hover:bg-accent hover:text-accent-foreground focus:bg-accent focus:text-accent-foreground focus:outline-none disabled:pointer-events-none disabled:opacity-50 data-[active]:bg-accent/50 data-[state=open]:bg-accent/50"
6693
6616
  );
6694
- var NavigationMenuTrigger = React48.forwardRef((_a, ref) => {
6617
+ var NavigationMenuTrigger = React47.forwardRef((_a, ref) => {
6695
6618
  var _b = _a, { className, children } = _b, props = __objRest(_b, ["className", "children"]);
6696
- return /* @__PURE__ */ (0, import_jsx_runtime25.jsxs)(
6619
+ return /* @__PURE__ */ (0, import_jsx_runtime24.jsxs)(
6697
6620
  NavigationMenuPrimitive.Trigger,
6698
6621
  __spreadProps(__spreadValues({
6699
6622
  ref,
@@ -6702,8 +6625,8 @@ var NavigationMenuTrigger = React48.forwardRef((_a, ref) => {
6702
6625
  children: [
6703
6626
  children,
6704
6627
  " ",
6705
- /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
6706
- import_react_icons12.ChevronDownIcon,
6628
+ /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(
6629
+ import_react_icons11.ChevronDownIcon,
6707
6630
  {
6708
6631
  className: "relative top-[1px] ml-1 h-3 w-3 transition duration-300 group-data-[state=open]:rotate-180",
6709
6632
  "aria-hidden": "true"
@@ -6714,9 +6637,9 @@ var NavigationMenuTrigger = React48.forwardRef((_a, ref) => {
6714
6637
  );
6715
6638
  });
6716
6639
  NavigationMenuTrigger.displayName = NavigationMenuPrimitive.Trigger.displayName;
6717
- var NavigationMenuContent = React48.forwardRef((_a, ref) => {
6640
+ var NavigationMenuContent = React47.forwardRef((_a, ref) => {
6718
6641
  var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
6719
- return /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
6642
+ return /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(
6720
6643
  NavigationMenuPrimitive.Content,
6721
6644
  __spreadValues({
6722
6645
  ref,
@@ -6729,9 +6652,9 @@ var NavigationMenuContent = React48.forwardRef((_a, ref) => {
6729
6652
  });
6730
6653
  NavigationMenuContent.displayName = NavigationMenuPrimitive.Content.displayName;
6731
6654
  var NavigationMenuLink = NavigationMenuPrimitive.Link;
6732
- var NavigationMenuViewport = React48.forwardRef((_a, ref) => {
6655
+ var NavigationMenuViewport = React47.forwardRef((_a, ref) => {
6733
6656
  var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
6734
- return /* @__PURE__ */ (0, import_jsx_runtime25.jsx)("div", { className: cn("absolute left-0 top-full flex justify-center"), children: /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
6657
+ return /* @__PURE__ */ (0, import_jsx_runtime24.jsx)("div", { className: cn("absolute left-0 top-full flex justify-center"), children: /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(
6735
6658
  NavigationMenuPrimitive.Viewport,
6736
6659
  __spreadValues({
6737
6660
  className: cn(
@@ -6743,9 +6666,9 @@ var NavigationMenuViewport = React48.forwardRef((_a, ref) => {
6743
6666
  ) });
6744
6667
  });
6745
6668
  NavigationMenuViewport.displayName = NavigationMenuPrimitive.Viewport.displayName;
6746
- var NavigationMenuIndicator = React48.forwardRef((_a, ref) => {
6669
+ var NavigationMenuIndicator = React47.forwardRef((_a, ref) => {
6747
6670
  var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
6748
- return /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
6671
+ return /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(
6749
6672
  NavigationMenuPrimitive.Indicator,
6750
6673
  __spreadProps(__spreadValues({
6751
6674
  ref,
@@ -6754,20 +6677,20 @@ var NavigationMenuIndicator = React48.forwardRef((_a, ref) => {
6754
6677
  className
6755
6678
  )
6756
6679
  }, props), {
6757
- children: /* @__PURE__ */ (0, import_jsx_runtime25.jsx)("div", { className: "relative top-[60%] h-2 w-2 rotate-45 rounded-tl-sm bg-border shadow-md" })
6680
+ children: /* @__PURE__ */ (0, import_jsx_runtime24.jsx)("div", { className: "relative top-[60%] h-2 w-2 rotate-45 rounded-tl-sm bg-border shadow-md" })
6758
6681
  })
6759
6682
  );
6760
6683
  });
6761
6684
  NavigationMenuIndicator.displayName = NavigationMenuPrimitive.Indicator.displayName;
6762
6685
 
6763
6686
  // src/components/pagination.tsx
6764
- var import_react_icons13 = require("@radix-ui/react-icons");
6765
- var React49 = __toESM(require("react"), 1);
6687
+ var import_react_icons12 = require("@radix-ui/react-icons");
6688
+ var React48 = __toESM(require("react"), 1);
6766
6689
  var import_lucide_react5 = require("lucide-react");
6767
- var import_jsx_runtime26 = require("react/jsx-runtime");
6690
+ var import_jsx_runtime25 = require("react/jsx-runtime");
6768
6691
  var Pagination = (_a) => {
6769
6692
  var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
6770
- return /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
6693
+ return /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
6771
6694
  "nav",
6772
6695
  __spreadValues({
6773
6696
  role: "navigation",
@@ -6777,9 +6700,9 @@ var Pagination = (_a) => {
6777
6700
  );
6778
6701
  };
6779
6702
  Pagination.displayName = "Pagination";
6780
- var PaginationContent = React49.forwardRef((_a, ref) => {
6703
+ var PaginationContent = React48.forwardRef((_a, ref) => {
6781
6704
  var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
6782
- return /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
6705
+ return /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
6783
6706
  "ul",
6784
6707
  __spreadValues({
6785
6708
  ref,
@@ -6788,9 +6711,9 @@ var PaginationContent = React49.forwardRef((_a, ref) => {
6788
6711
  );
6789
6712
  });
6790
6713
  PaginationContent.displayName = "PaginationContent";
6791
- var PaginationItem = React49.forwardRef((_a, ref) => {
6714
+ var PaginationItem = React48.forwardRef((_a, ref) => {
6792
6715
  var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
6793
- return /* @__PURE__ */ (0, import_jsx_runtime26.jsx)("li", __spreadValues({ ref, className: cn("", className) }, props));
6716
+ return /* @__PURE__ */ (0, import_jsx_runtime25.jsx)("li", __spreadValues({ ref, className: cn("", className) }, props));
6794
6717
  });
6795
6718
  PaginationItem.displayName = "PaginationItem";
6796
6719
  var PaginationLink = (_a) => {
@@ -6803,7 +6726,7 @@ var PaginationLink = (_a) => {
6803
6726
  "isActive",
6804
6727
  "size"
6805
6728
  ]);
6806
- return /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
6729
+ return /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
6807
6730
  "a",
6808
6731
  __spreadValues({
6809
6732
  "aria-current": isActive ? "page" : void 0,
@@ -6824,7 +6747,7 @@ var PaginationPreviousLast = (_a) => {
6824
6747
  } = _b, props = __objRest(_b, [
6825
6748
  "className"
6826
6749
  ]);
6827
- return /* @__PURE__ */ (0, import_jsx_runtime26.jsxs)(
6750
+ return /* @__PURE__ */ (0, import_jsx_runtime25.jsxs)(
6828
6751
  PaginationLink,
6829
6752
  __spreadProps(__spreadValues({
6830
6753
  "aria-label": "Go to previous page",
@@ -6832,8 +6755,8 @@ var PaginationPreviousLast = (_a) => {
6832
6755
  className: cn("gap-1 pl-2.5", className)
6833
6756
  }, props), {
6834
6757
  children: [
6835
- /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(import_lucide_react5.ChevronLeft, { className: "h-4 w-4" }),
6836
- /* @__PURE__ */ (0, import_jsx_runtime26.jsx)("span", { className: "sr-only", children: "Previous Last" })
6758
+ /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(import_lucide_react5.ChevronLeft, { className: "h-4 w-4" }),
6759
+ /* @__PURE__ */ (0, import_jsx_runtime25.jsx)("span", { className: "sr-only", children: "Previous Last" })
6837
6760
  ]
6838
6761
  })
6839
6762
  );
@@ -6845,7 +6768,7 @@ var PaginationPrevious = (_a) => {
6845
6768
  } = _b, props = __objRest(_b, [
6846
6769
  "className"
6847
6770
  ]);
6848
- return /* @__PURE__ */ (0, import_jsx_runtime26.jsxs)(
6771
+ return /* @__PURE__ */ (0, import_jsx_runtime25.jsxs)(
6849
6772
  PaginationLink,
6850
6773
  __spreadProps(__spreadValues({
6851
6774
  "aria-label": "Go to previous page",
@@ -6853,8 +6776,8 @@ var PaginationPrevious = (_a) => {
6853
6776
  className: cn("gap-1 pl-2.5", className)
6854
6777
  }, props), {
6855
6778
  children: [
6856
- /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(import_react_icons13.ChevronLeftIcon, { className: "h-4 w-4" }),
6857
- /* @__PURE__ */ (0, import_jsx_runtime26.jsx)("span", { children: "Previous" })
6779
+ /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(import_react_icons12.ChevronLeftIcon, { className: "h-4 w-4" }),
6780
+ /* @__PURE__ */ (0, import_jsx_runtime25.jsx)("span", { children: "Previous" })
6858
6781
  ]
6859
6782
  })
6860
6783
  );
@@ -6866,7 +6789,7 @@ var PaginationNext = (_a) => {
6866
6789
  } = _b, props = __objRest(_b, [
6867
6790
  "className"
6868
6791
  ]);
6869
- return /* @__PURE__ */ (0, import_jsx_runtime26.jsxs)(
6792
+ return /* @__PURE__ */ (0, import_jsx_runtime25.jsxs)(
6870
6793
  PaginationLink,
6871
6794
  __spreadProps(__spreadValues({
6872
6795
  "aria-label": "Go to next page",
@@ -6874,8 +6797,8 @@ var PaginationNext = (_a) => {
6874
6797
  className: cn("gap-1 pr-2.5", className)
6875
6798
  }, props), {
6876
6799
  children: [
6877
- /* @__PURE__ */ (0, import_jsx_runtime26.jsx)("span", { children: "Next" }),
6878
- /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(import_react_icons13.ChevronRightIcon, { className: "h-4 w-4" })
6800
+ /* @__PURE__ */ (0, import_jsx_runtime25.jsx)("span", { children: "Next" }),
6801
+ /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(import_react_icons12.ChevronRightIcon, { className: "h-4 w-4" })
6879
6802
  ]
6880
6803
  })
6881
6804
  );
@@ -6887,7 +6810,7 @@ var PaginationNextLast = (_a) => {
6887
6810
  } = _b, props = __objRest(_b, [
6888
6811
  "className"
6889
6812
  ]);
6890
- return /* @__PURE__ */ (0, import_jsx_runtime26.jsxs)(
6813
+ return /* @__PURE__ */ (0, import_jsx_runtime25.jsxs)(
6891
6814
  PaginationLink,
6892
6815
  __spreadProps(__spreadValues({
6893
6816
  "aria-label": "Go to next page",
@@ -6895,8 +6818,8 @@ var PaginationNextLast = (_a) => {
6895
6818
  className: cn("gap-1 pr-2.5", className)
6896
6819
  }, props), {
6897
6820
  children: [
6898
- /* @__PURE__ */ (0, import_jsx_runtime26.jsx)("span", { className: "sr-only", children: "Next Last" }),
6899
- /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(import_lucide_react5.ChevronRight, { className: "h-4 w-4" })
6821
+ /* @__PURE__ */ (0, import_jsx_runtime25.jsx)("span", { className: "sr-only", children: "Next Last" }),
6822
+ /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(import_lucide_react5.ChevronRight, { className: "h-4 w-4" })
6900
6823
  ]
6901
6824
  })
6902
6825
  );
@@ -6908,15 +6831,15 @@ var PaginationEllipsis = (_a) => {
6908
6831
  } = _b, props = __objRest(_b, [
6909
6832
  "className"
6910
6833
  ]);
6911
- return /* @__PURE__ */ (0, import_jsx_runtime26.jsxs)(
6834
+ return /* @__PURE__ */ (0, import_jsx_runtime25.jsxs)(
6912
6835
  "span",
6913
6836
  __spreadProps(__spreadValues({
6914
6837
  "aria-hidden": true,
6915
6838
  className: cn("flex h-9 w-9 items-center justify-center", className)
6916
6839
  }, props), {
6917
6840
  children: [
6918
- /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(import_react_icons13.DotsHorizontalIcon, { className: "h-4 w-4" }),
6919
- /* @__PURE__ */ (0, import_jsx_runtime26.jsx)("span", { className: "sr-only", children: "More pages" })
6841
+ /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(import_react_icons12.DotsHorizontalIcon, { className: "h-4 w-4" }),
6842
+ /* @__PURE__ */ (0, import_jsx_runtime25.jsx)("span", { className: "sr-only", children: "More pages" })
6920
6843
  ]
6921
6844
  })
6922
6845
  );
@@ -6925,14 +6848,14 @@ PaginationEllipsis.displayName = "PaginationEllipsis";
6925
6848
 
6926
6849
  // src/components/popover.tsx
6927
6850
  var PopoverPrimitive = __toESM(require("@radix-ui/react-popover"), 1);
6928
- var React50 = __toESM(require("react"), 1);
6929
- var import_jsx_runtime27 = require("react/jsx-runtime");
6851
+ var React49 = __toESM(require("react"), 1);
6852
+ var import_jsx_runtime26 = require("react/jsx-runtime");
6930
6853
  var Popover = PopoverPrimitive.Root;
6931
6854
  var PopoverTrigger = PopoverPrimitive.Trigger;
6932
6855
  var PopoverAnchor = PopoverPrimitive.Anchor;
6933
- var PopoverContent = React50.forwardRef((_a, ref) => {
6856
+ var PopoverContent = React49.forwardRef((_a, ref) => {
6934
6857
  var _b = _a, { className, align = "center", sideOffset = 4 } = _b, props = __objRest(_b, ["className", "align", "sideOffset"]);
6935
- return /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(PopoverPrimitive.Portal, { children: /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
6858
+ return /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(PopoverPrimitive.Portal, { children: /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
6936
6859
  PopoverPrimitive.Content,
6937
6860
  __spreadValues({
6938
6861
  ref,
@@ -6949,11 +6872,11 @@ PopoverContent.displayName = PopoverPrimitive.Content.displayName;
6949
6872
 
6950
6873
  // src/components/progress.tsx
6951
6874
  var ProgressPrimitive = __toESM(require("@radix-ui/react-progress"), 1);
6952
- var React51 = __toESM(require("react"), 1);
6953
- var import_jsx_runtime28 = require("react/jsx-runtime");
6954
- var Progress = React51.forwardRef((_a, ref) => {
6875
+ var React50 = __toESM(require("react"), 1);
6876
+ var import_jsx_runtime27 = require("react/jsx-runtime");
6877
+ var Progress = React50.forwardRef((_a, ref) => {
6955
6878
  var _b = _a, { className, value } = _b, props = __objRest(_b, ["className", "value"]);
6956
- return /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
6879
+ return /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
6957
6880
  ProgressPrimitive.Root,
6958
6881
  __spreadProps(__spreadValues({
6959
6882
  ref,
@@ -6962,7 +6885,7 @@ var Progress = React51.forwardRef((_a, ref) => {
6962
6885
  className
6963
6886
  )
6964
6887
  }, props), {
6965
- children: /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
6888
+ children: /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
6966
6889
  ProgressPrimitive.Indicator,
6967
6890
  {
6968
6891
  className: "h-full w-full flex-1 bg-primary transition-all",
@@ -6975,13 +6898,13 @@ var Progress = React51.forwardRef((_a, ref) => {
6975
6898
  Progress.displayName = ProgressPrimitive.Root.displayName;
6976
6899
 
6977
6900
  // src/components/radio-group.tsx
6978
- var import_react_icons14 = require("@radix-ui/react-icons");
6901
+ var import_react_icons13 = require("@radix-ui/react-icons");
6979
6902
  var RadioGroupPrimitive = __toESM(require("@radix-ui/react-radio-group"), 1);
6980
- var React52 = __toESM(require("react"), 1);
6981
- var import_jsx_runtime29 = require("react/jsx-runtime");
6982
- var RadioGroup4 = React52.forwardRef((_a, ref) => {
6903
+ var React51 = __toESM(require("react"), 1);
6904
+ var import_jsx_runtime28 = require("react/jsx-runtime");
6905
+ var RadioGroup4 = React51.forwardRef((_a, ref) => {
6983
6906
  var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
6984
- return /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(
6907
+ return /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
6985
6908
  RadioGroupPrimitive.Root,
6986
6909
  __spreadProps(__spreadValues({
6987
6910
  className: cn("grid gap-2", className)
@@ -6991,9 +6914,9 @@ var RadioGroup4 = React52.forwardRef((_a, ref) => {
6991
6914
  );
6992
6915
  });
6993
6916
  RadioGroup4.displayName = RadioGroupPrimitive.Root.displayName;
6994
- var RadioGroupItem = React52.forwardRef((_a, ref) => {
6917
+ var RadioGroupItem = React51.forwardRef((_a, ref) => {
6995
6918
  var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
6996
- return /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(
6919
+ return /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
6997
6920
  RadioGroupPrimitive.Item,
6998
6921
  __spreadProps(__spreadValues({
6999
6922
  ref,
@@ -7002,23 +6925,23 @@ var RadioGroupItem = React52.forwardRef((_a, ref) => {
7002
6925
  className
7003
6926
  )
7004
6927
  }, props), {
7005
- children: /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(RadioGroupPrimitive.Indicator, { className: "flex items-center justify-center", children: /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(import_react_icons14.CheckIcon, { className: "h-3.5 w-3.5 fill-primary" }) })
6928
+ children: /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(RadioGroupPrimitive.Indicator, { className: "flex items-center justify-center", children: /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(import_react_icons13.CheckIcon, { className: "h-3.5 w-3.5 fill-primary" }) })
7006
6929
  })
7007
6930
  );
7008
6931
  });
7009
6932
  RadioGroupItem.displayName = RadioGroupPrimitive.Item.displayName;
7010
6933
 
7011
6934
  // src/components/resizable.tsx
7012
- var import_react_icons15 = require("@radix-ui/react-icons");
6935
+ var import_react_icons14 = require("@radix-ui/react-icons");
7013
6936
  var ResizablePrimitive = __toESM(require("react-resizable-panels"), 1);
7014
- var import_jsx_runtime30 = require("react/jsx-runtime");
6937
+ var import_jsx_runtime29 = require("react/jsx-runtime");
7015
6938
  var ResizablePanelGroup = (_a) => {
7016
6939
  var _b = _a, {
7017
6940
  className
7018
6941
  } = _b, props = __objRest(_b, [
7019
6942
  "className"
7020
6943
  ]);
7021
- return /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(
6944
+ return /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(
7022
6945
  ResizablePrimitive.PanelGroup,
7023
6946
  __spreadValues({
7024
6947
  className: cn(
@@ -7037,7 +6960,7 @@ var ResizableHandle = (_a) => {
7037
6960
  "withHandle",
7038
6961
  "className"
7039
6962
  ]);
7040
- return /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(
6963
+ return /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(
7041
6964
  ResizablePrimitive.PanelResizeHandle,
7042
6965
  __spreadProps(__spreadValues({
7043
6966
  className: cn(
@@ -7045,35 +6968,35 @@ var ResizableHandle = (_a) => {
7045
6968
  className
7046
6969
  )
7047
6970
  }, props), {
7048
- children: withHandle && /* @__PURE__ */ (0, import_jsx_runtime30.jsx)("div", { className: "z-10 flex h-4 w-3 items-center justify-center rounded-sm border bg-border", children: /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(import_react_icons15.DragHandleDots2Icon, { className: "h-2.5 w-2.5" }) })
6971
+ children: withHandle && /* @__PURE__ */ (0, import_jsx_runtime29.jsx)("div", { className: "z-10 flex h-4 w-3 items-center justify-center rounded-sm border bg-border", children: /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(import_react_icons14.DragHandleDots2Icon, { className: "h-2.5 w-2.5" }) })
7049
6972
  })
7050
6973
  );
7051
6974
  };
7052
6975
 
7053
6976
  // src/components/scroll-area.tsx
7054
6977
  var ScrollAreaPrimitive = __toESM(require("@radix-ui/react-scroll-area"), 1);
7055
- var React53 = __toESM(require("react"), 1);
7056
- var import_jsx_runtime31 = require("react/jsx-runtime");
7057
- var ScrollArea = React53.forwardRef((_a, ref) => {
6978
+ var React52 = __toESM(require("react"), 1);
6979
+ var import_jsx_runtime30 = require("react/jsx-runtime");
6980
+ var ScrollArea = React52.forwardRef((_a, ref) => {
7058
6981
  var _b = _a, { className, children } = _b, props = __objRest(_b, ["className", "children"]);
7059
- return /* @__PURE__ */ (0, import_jsx_runtime31.jsxs)(
6982
+ return /* @__PURE__ */ (0, import_jsx_runtime30.jsxs)(
7060
6983
  ScrollAreaPrimitive.Root,
7061
6984
  __spreadProps(__spreadValues({
7062
6985
  ref,
7063
6986
  className: cn("relative overflow-hidden", className)
7064
6987
  }, props), {
7065
6988
  children: [
7066
- /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(ScrollAreaPrimitive.Viewport, { className: "h-full w-full rounded-[inherit]", children }),
7067
- /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(ScrollBar, {}),
7068
- /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(ScrollAreaPrimitive.Corner, {})
6989
+ /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(ScrollAreaPrimitive.Viewport, { className: "h-full w-full rounded-[inherit]", children }),
6990
+ /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(ScrollBar, {}),
6991
+ /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(ScrollAreaPrimitive.Corner, {})
7069
6992
  ]
7070
6993
  })
7071
6994
  );
7072
6995
  });
7073
6996
  ScrollArea.displayName = ScrollAreaPrimitive.Root.displayName;
7074
- var ScrollBar = React53.forwardRef((_a, ref) => {
6997
+ var ScrollBar = React52.forwardRef((_a, ref) => {
7075
6998
  var _b = _a, { className, orientation = "vertical" } = _b, props = __objRest(_b, ["className", "orientation"]);
7076
- return /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(
6999
+ return /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(
7077
7000
  ScrollAreaPrimitive.ScrollAreaScrollbar,
7078
7001
  __spreadProps(__spreadValues({
7079
7002
  ref,
@@ -7085,7 +7008,7 @@ var ScrollBar = React53.forwardRef((_a, ref) => {
7085
7008
  className
7086
7009
  )
7087
7010
  }, props), {
7088
- children: /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(ScrollAreaPrimitive.ScrollAreaThumb, { className: "relative flex-1 rounded-full bg-border" })
7011
+ children: /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(ScrollAreaPrimitive.ScrollAreaThumb, { className: "relative flex-1 rounded-full bg-border" })
7089
7012
  })
7090
7013
  );
7091
7014
  });
@@ -7094,7 +7017,7 @@ ScrollBar.displayName = ScrollAreaPrimitive.ScrollAreaScrollbar.displayName;
7094
7017
  // src/components/search-input.tsx
7095
7018
  var import_react34 = __toESM(require("react"), 1);
7096
7019
  var import_use_debounce = require("use-debounce");
7097
- var import_jsx_runtime32 = require("react/jsx-runtime");
7020
+ var import_jsx_runtime31 = require("react/jsx-runtime");
7098
7021
  function SearchInput({
7099
7022
  value,
7100
7023
  placeholder,
@@ -7114,7 +7037,7 @@ function SearchInput({
7114
7037
  import_react34.default.useEffect(() => {
7115
7038
  setSearchTerm(value);
7116
7039
  }, [value]);
7117
- return /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(
7040
+ return /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(
7118
7041
  Input,
7119
7042
  {
7120
7043
  placeholder: placeholder || `Search...`,
@@ -7126,6 +7049,138 @@ function SearchInput({
7126
7049
  );
7127
7050
  }
7128
7051
 
7052
+ // src/components/select.tsx
7053
+ var import_react_icons15 = require("@radix-ui/react-icons");
7054
+ var SelectPrimitive = __toESM(require("@radix-ui/react-select"), 1);
7055
+ var React54 = __toESM(require("react"), 1);
7056
+ var import_jsx_runtime32 = require("react/jsx-runtime");
7057
+ var Select2 = SelectPrimitive.Root;
7058
+ var SelectGroup = SelectPrimitive.Group;
7059
+ var SelectValue = SelectPrimitive.Value;
7060
+ var SelectTrigger = React54.forwardRef((_a, ref) => {
7061
+ var _b = _a, { className, children } = _b, props = __objRest(_b, ["className", "children"]);
7062
+ return /* @__PURE__ */ (0, import_jsx_runtime32.jsxs)(
7063
+ SelectPrimitive.Trigger,
7064
+ __spreadProps(__spreadValues({
7065
+ ref,
7066
+ className: cn(
7067
+ "flex h-9 w-full items-center justify-between whitespace-nowrap rounded-md border border-input bg-transparent px-3 py-2 text-sm shadow-sm ring-offset-background placeholder:text-muted-foreground focus:outline-none focus:ring-1 focus:ring-ring disabled:cursor-not-allowed disabled:opacity-50 [&>span]:line-clamp-1",
7068
+ className
7069
+ )
7070
+ }, props), {
7071
+ children: [
7072
+ children,
7073
+ /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(SelectPrimitive.Icon, { asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(import_react_icons15.CaretSortIcon, { className: "h-4 w-4 opacity-50" }) })
7074
+ ]
7075
+ })
7076
+ );
7077
+ });
7078
+ SelectTrigger.displayName = SelectPrimitive.Trigger.displayName;
7079
+ var SelectScrollUpButton = React54.forwardRef((_a, ref) => {
7080
+ var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
7081
+ return /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(
7082
+ SelectPrimitive.ScrollUpButton,
7083
+ __spreadProps(__spreadValues({
7084
+ ref,
7085
+ className: cn(
7086
+ "flex cursor-default items-center justify-center py-1",
7087
+ className
7088
+ )
7089
+ }, props), {
7090
+ children: /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(import_react_icons15.ChevronUpIcon, {})
7091
+ })
7092
+ );
7093
+ });
7094
+ SelectScrollUpButton.displayName = SelectPrimitive.ScrollUpButton.displayName;
7095
+ var SelectScrollDownButton = React54.forwardRef((_a, ref) => {
7096
+ var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
7097
+ return /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(
7098
+ SelectPrimitive.ScrollDownButton,
7099
+ __spreadProps(__spreadValues({
7100
+ ref,
7101
+ className: cn(
7102
+ "flex cursor-default items-center justify-center py-1",
7103
+ className
7104
+ )
7105
+ }, props), {
7106
+ children: /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(import_react_icons15.ChevronDownIcon, {})
7107
+ })
7108
+ );
7109
+ });
7110
+ SelectScrollDownButton.displayName = SelectPrimitive.ScrollDownButton.displayName;
7111
+ var SelectContent = React54.forwardRef((_a, ref) => {
7112
+ var _b = _a, { className, children, position = "popper" } = _b, props = __objRest(_b, ["className", "children", "position"]);
7113
+ return /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(SelectPrimitive.Portal, { children: /* @__PURE__ */ (0, import_jsx_runtime32.jsxs)(
7114
+ SelectPrimitive.Content,
7115
+ __spreadProps(__spreadValues({
7116
+ ref,
7117
+ className: cn(
7118
+ "relative z-50 max-h-96 min-w-[8rem] overflow-hidden rounded-md border bg-popover text-popover-foreground shadow-md data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",
7119
+ position === "popper" && "data-[side=bottom]:translate-y-1 data-[side=left]:-translate-x-1 data-[side=right]:translate-x-1 data-[side=top]:-translate-y-1",
7120
+ className
7121
+ ),
7122
+ position
7123
+ }, props), {
7124
+ children: [
7125
+ /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(SelectScrollUpButton, {}),
7126
+ /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(
7127
+ SelectPrimitive.Viewport,
7128
+ {
7129
+ className: cn(
7130
+ "p-1",
7131
+ position === "popper" && "h-[var(--radix-select-trigger-height)] w-full min-w-[var(--radix-select-trigger-width)]"
7132
+ ),
7133
+ children
7134
+ }
7135
+ ),
7136
+ /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(SelectScrollDownButton, {})
7137
+ ]
7138
+ })
7139
+ ) });
7140
+ });
7141
+ SelectContent.displayName = SelectPrimitive.Content.displayName;
7142
+ var SelectLabel = React54.forwardRef((_a, ref) => {
7143
+ var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
7144
+ return /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(
7145
+ SelectPrimitive.Label,
7146
+ __spreadValues({
7147
+ ref,
7148
+ className: cn("px-2 py-1.5 text-sm font-semibold", className)
7149
+ }, props)
7150
+ );
7151
+ });
7152
+ SelectLabel.displayName = SelectPrimitive.Label.displayName;
7153
+ var SelectItem = React54.forwardRef((_a, ref) => {
7154
+ var _b = _a, { className, children } = _b, props = __objRest(_b, ["className", "children"]);
7155
+ return /* @__PURE__ */ (0, import_jsx_runtime32.jsxs)(
7156
+ SelectPrimitive.Item,
7157
+ __spreadProps(__spreadValues({
7158
+ ref,
7159
+ className: cn(
7160
+ "relative flex w-full cursor-default select-none items-center rounded-sm py-1.5 pl-2 pr-8 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",
7161
+ className
7162
+ )
7163
+ }, props), {
7164
+ children: [
7165
+ /* @__PURE__ */ (0, import_jsx_runtime32.jsx)("span", { className: "absolute right-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(SelectPrimitive.ItemIndicator, { children: /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(import_react_icons15.CheckIcon, { className: "h-4 w-4" }) }) }),
7166
+ /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(SelectPrimitive.ItemText, { children })
7167
+ ]
7168
+ })
7169
+ );
7170
+ });
7171
+ SelectItem.displayName = SelectPrimitive.Item.displayName;
7172
+ var SelectSeparator = React54.forwardRef((_a, ref) => {
7173
+ var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
7174
+ return /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(
7175
+ SelectPrimitive.Separator,
7176
+ __spreadValues({
7177
+ ref,
7178
+ className: cn("-mx-1 my-1 h-px bg-muted", className)
7179
+ }, props)
7180
+ );
7181
+ });
7182
+ SelectSeparator.displayName = SelectPrimitive.Separator.displayName;
7183
+
7129
7184
  // src/components/separator.tsx
7130
7185
  var SeparatorPrimitive = __toESM(require("@radix-ui/react-separator"), 1);
7131
7186
  var React55 = __toESM(require("react"), 1);
@@ -7950,13 +8005,13 @@ function DataTable({
7950
8005
  }
7951
8006
  }, [pagination]);
7952
8007
  return /* @__PURE__ */ (0, import_jsx_runtime48.jsxs)(import_jsx_runtime48.Fragment, { children: [
7953
- /* @__PURE__ */ (0, import_jsx_runtime48.jsxs)("div", { className: "rounded-md border", children: [
7954
- /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(Table, { className: cn("relative", tableClassName), children: /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(TableHeader, { className: headerClassName, children: table.getHeaderGroups().map((headerGroup) => /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(TableRow, { className: rowClassName, children: headerGroup.headers.map((header) => /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(TableHead, { className: headerClassName, children: header.isPlaceholder ? null : (0, import_react_table.flexRender)(
7955
- header.column.columnDef.header,
7956
- header.getContext()
7957
- ) }, header.id)) }, headerGroup.id)) }) }),
7958
- /* @__PURE__ */ (0, import_jsx_runtime48.jsxs)(ScrollArea, { className: "h-[calc(80vh-220px)] md:h-[calc(80dvh-80px)]", children: [
7959
- /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(Table, { className: cn("relative", tableClassName), children: /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(TableBody, { className: bodyClassName, children: table.getRowModel().rows.length ? table.getRowModel().rows.map((row) => /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(
8008
+ /* @__PURE__ */ (0, import_jsx_runtime48.jsx)("div", { className: cn("rounded-md border", className), children: /* @__PURE__ */ (0, import_jsx_runtime48.jsxs)(ScrollArea, { className: "h-[calc(80vh-220px)] md:h-[calc(80dvh-80px)]", children: [
8009
+ /* @__PURE__ */ (0, import_jsx_runtime48.jsxs)(Table, { className: cn("relative", tableClassName), children: [
8010
+ /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(TableHeader, { className: headerClassName, children: table.getHeaderGroups().map((headerGroup) => /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(TableRow, { className: rowClassName, children: headerGroup.headers.map((header) => /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(TableHead, { className: headerClassName, children: header.isPlaceholder ? null : (0, import_react_table.flexRender)(
8011
+ header.column.columnDef.header,
8012
+ header.getContext()
8013
+ ) }, header.id)) }, headerGroup.id)) }),
8014
+ /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(TableBody, { className: bodyClassName, children: table.getRowModel().rows.length ? table.getRowModel().rows.map((row) => /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(
7960
8015
  TableRow,
7961
8016
  {
7962
8017
  "data-state": row.getIsSelected() ? "selected" : void 0,
@@ -7975,48 +8030,10 @@ function DataTable({
7975
8030
  className: "h-24 text-center",
7976
8031
  children: "No results."
7977
8032
  }
7978
- ) }) }) }),
7979
- /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(ScrollBar, { orientation: "horizontal" })
7980
- ] })
7981
- ] }),
7982
- /* @__PURE__ */ (0, import_jsx_runtime48.jsxs)(
7983
- ScrollArea,
7984
- {
7985
- className: cn(
7986
- "h-[calc(80vh-220px)] rounded-md border md:h-[calc(80dvh-80px)]",
7987
- className
7988
- ),
7989
- children: [
7990
- /* @__PURE__ */ (0, import_jsx_runtime48.jsxs)(Table, { className: cn("relative", tableClassName), children: [
7991
- /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(TableHeader, { className: headerClassName, children: table.getHeaderGroups().map((headerGroup) => /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(TableRow, { className: rowClassName, children: headerGroup.headers.map((header) => /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(TableHead, { className: headerClassName, children: header.isPlaceholder ? null : (0, import_react_table.flexRender)(
7992
- header.column.columnDef.header,
7993
- header.getContext()
7994
- ) }, header.id)) }, headerGroup.id)) }),
7995
- /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(TableBody, { className: bodyClassName, children: table.getRowModel().rows.length ? table.getRowModel().rows.map((row) => /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(
7996
- TableRow,
7997
- {
7998
- "data-state": row.getIsSelected() ? "selected" : void 0,
7999
- onClick: () => onClickItem(row.original),
8000
- className: rowClassName,
8001
- children: row.getVisibleCells().map((cell) => /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(TableCell, { className: cellClassName, children: (0, import_react_table.flexRender)(
8002
- cell.column.columnDef.cell,
8003
- cell.getContext()
8004
- ) }, cell.id))
8005
- },
8006
- row.id
8007
- )) : emptyData || /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(TableRow, { children: /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(
8008
- TableCell,
8009
- {
8010
- colSpan: columns.length,
8011
- className: "h-24 text-center",
8012
- children: "No results."
8013
- }
8014
- ) }) })
8015
- ] }),
8016
- /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(ScrollBar, { orientation: "horizontal" })
8017
- ]
8018
- }
8019
- ),
8033
+ ) }) })
8034
+ ] }),
8035
+ /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(ScrollBar, { orientation: "horizontal" })
8036
+ ] }) }),
8020
8037
  /* @__PURE__ */ (0, import_jsx_runtime48.jsxs)("div", { className: "flex flex-col items-center justify-end gap-2 space-x-2 py-4 sm:flex-row", children: [
8021
8038
  /* @__PURE__ */ (0, import_jsx_runtime48.jsxs)("div", { className: "flex w-full items-center justify-between", children: [
8022
8039
  isRowsSelected ? /* @__PURE__ */ (0, import_jsx_runtime48.jsxs)("div", { className: "text-muted-foreground flex-1 text-sm", children: [
@@ -8600,10 +8617,12 @@ function Dropzone({
8600
8617
  badgeVariants,
8601
8618
  buttonVariants,
8602
8619
  cn,
8620
+ inputVariants,
8603
8621
  navigationMenuTriggerStyle,
8604
8622
  reducer,
8605
8623
  toast,
8606
8624
  toggleVariants,
8607
8625
  useFormField,
8608
- useToast
8626
+ useToast,
8627
+ variants
8609
8628
  });