shadcn-ui-react 0.3.6 → 0.3.8

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
@@ -167,6 +167,7 @@ __export(index_exports, {
167
167
  FormItem: () => FormItem,
168
168
  FormLabel: () => FormLabel,
169
169
  FormMessage: () => FormMessage,
170
+ FormSelect: () => FormSelect,
170
171
  Heading: () => Heading,
171
172
  HoverCard: () => HoverCard,
172
173
  HoverCardContent: () => HoverCardContent,
@@ -5758,18 +5759,115 @@ var Form = ({
5758
5759
  // src/components/Form/form-field.tsx
5759
5760
  var import_react_hook_form2 = require("react-hook-form");
5760
5761
  var import_react33 = __toESM(require("react"), 1);
5762
+ var import_react_slot3 = require("@radix-ui/react-slot");
5763
+ var import_lucide_react3 = require("lucide-react");
5764
+
5765
+ // src/components/input.tsx
5766
+ var React41 = __toESM(require("react"), 1);
5767
+ var import_lucide_react2 = require("lucide-react");
5768
+ var import_jsx_runtime17 = require("react/jsx-runtime");
5769
+ var Input = React41.forwardRef(
5770
+ (_a, ref) => {
5771
+ var _b = _a, {
5772
+ className,
5773
+ variant = "outline",
5774
+ size = "md",
5775
+ leading,
5776
+ trailing,
5777
+ invalid = false,
5778
+ disabled
5779
+ } = _b, props = __objRest(_b, [
5780
+ "className",
5781
+ "variant",
5782
+ "size",
5783
+ "leading",
5784
+ "trailing",
5785
+ "invalid",
5786
+ "disabled"
5787
+ ]);
5788
+ const base = "block w-full bg-transparent text-foreground placeholder:text-muted-foreground outline-none transition disabled:opacity-50 disabled:cursor-not-allowed";
5789
+ 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 = {
5791
+ 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
+ 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
+ ghost: "rounded-md border border-transparent bg-transparent hover:bg-muted/50 focus:ring-2 focus:ring-ring",
5794
+ 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",
5795
+ flushed: (
5796
+ // sin bordes laterales/superior, solo inferior; sin sombras ni radios
5797
+ "rounded-none border-0 border-b border-input px-0 shadow-none focus:border-b-2 focus:border-primary focus:ring-0"
5798
+ ),
5799
+ unstyled: (
5800
+ // sin estilos, útil para inputs embebidos o controles muy custom
5801
+ "border-0 shadow-none focus:ring-0"
5802
+ ),
5803
+ link: (
5804
+ // aspecto tipo enlace: inline height-auto, sin paddings ni borde
5805
+ "border-0 p-0 h-auto shadow-none bg-transparent text-primary underline-offset-4 focus:underline focus:ring-0"
5806
+ )
5807
+ };
5808
+ const errorCls = invalid ? "border-destructive focus:border-destructive focus:ring-destructive/20" : "";
5809
+ const iconPadLeft = leading && variant !== "flushed" && variant !== "link" ? size === "lg" ? "pl-12" : "pl-10" : "";
5810
+ const iconPadRight = trailing && variant !== "flushed" && variant !== "link" ? size === "lg" ? "pr-12" : "pr-10" : "";
5811
+ const specialSizeForFlushed = variant === "flushed" ? size === "sm" ? "h-9 text-sm" : size === "lg" ? "h-12 text-base" : "h-11 text-sm" : "";
5812
+ const specialSizeForLink = variant === "link" ? "text-sm" : "";
5813
+ return /* @__PURE__ */ (0, import_jsx_runtime17.jsxs)("div", { className: cn("relative", disabled && "opacity-80"), children: [
5814
+ leading ? /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
5815
+ "span",
5816
+ {
5817
+ className: cn(
5818
+ "pointer-events-none absolute left-3 top-1/2 -translate-y-1/2 opacity-60",
5819
+ size === "lg" ? "text-[1.15rem]" : "text-[1rem]",
5820
+ // no desplazamos visualmente en variantes sin padding
5821
+ variant === "flushed" || variant === "link" ? "hidden" : ""
5822
+ ),
5823
+ children: leading
5824
+ }
5825
+ ) : null,
5826
+ /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
5827
+ "input",
5828
+ __spreadValues({
5829
+ ref,
5830
+ "aria-invalid": invalid || void 0,
5831
+ disabled,
5832
+ className: cn(
5833
+ base,
5834
+ variants[variant],
5835
+ variant === "flushed" ? specialSizeForFlushed : variant === "link" ? specialSizeForLink : sizeCls,
5836
+ errorCls,
5837
+ iconPadLeft,
5838
+ iconPadRight,
5839
+ className
5840
+ )
5841
+ }, props)
5842
+ ),
5843
+ trailing ? /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
5844
+ "span",
5845
+ {
5846
+ className: cn(
5847
+ "absolute right-3 top-1/2 -translate-y-1/2 opacity-70",
5848
+ size === "lg" ? "text-[1.15rem]" : "text-[1rem]",
5849
+ variant === "flushed" || variant === "link" ? "hidden" : ""
5850
+ ),
5851
+ children: trailing
5852
+ }
5853
+ ) : null
5854
+ ] });
5855
+ }
5856
+ );
5857
+ Input.displayName = "Input";
5858
+ Input.displayName = "Input";
5761
5859
 
5762
5860
  // src/components/Label/label.tsx
5763
5861
  var LabelPrimitive = __toESM(require("@radix-ui/react-label"), 1);
5764
5862
  var import_class_variance_authority4 = require("class-variance-authority");
5765
- var React41 = __toESM(require("react"), 1);
5766
- var import_jsx_runtime17 = require("react/jsx-runtime");
5863
+ var React42 = __toESM(require("react"), 1);
5864
+ var import_jsx_runtime18 = require("react/jsx-runtime");
5767
5865
  var labelVariants = (0, import_class_variance_authority4.cva)(
5768
5866
  "text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70 text-label"
5769
5867
  );
5770
- var Label3 = React41.forwardRef((_a, ref) => {
5868
+ var Label3 = React42.forwardRef((_a, ref) => {
5771
5869
  var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
5772
- return /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
5870
+ return /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
5773
5871
  LabelPrimitive.Root,
5774
5872
  __spreadValues({
5775
5873
  ref,
@@ -5779,33 +5877,140 @@ var Label3 = React41.forwardRef((_a, ref) => {
5779
5877
  });
5780
5878
  Label3.displayName = LabelPrimitive.Root.displayName;
5781
5879
 
5782
- // src/components/Form/form-field.tsx
5783
- var import_react_slot3 = require("@radix-ui/react-slot");
5784
-
5785
- // src/components/input.tsx
5786
- var React42 = __toESM(require("react"), 1);
5787
- var import_jsx_runtime18 = require("react/jsx-runtime");
5788
- var Input = React42.forwardRef(
5789
- (_a, ref) => {
5790
- var _b = _a, { className, type } = _b, props = __objRest(_b, ["className", "type"]);
5791
- return /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
5792
- "input",
5793
- __spreadValues({
5794
- type,
5795
- className: cn(
5796
- "flex h-9 w-full rounded-md border border-input bg-transparent px-3 py-1 text-sm shadow-sm transition-colors file:border-0 file:bg-transparent file:text-sm file:font-medium placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50",
5797
- className
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
+ }
5798
5963
  ),
5799
- ref
5800
- }, props)
5801
- );
5802
- }
5803
- );
5804
- Input.displayName = "Input";
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;
5805
6011
 
5806
6012
  // src/components/Form/form-field.tsx
5807
- var import_lucide_react2 = require("lucide-react");
5808
- var import_jsx_runtime19 = require("react/jsx-runtime");
6013
+ var import_jsx_runtime20 = require("react/jsx-runtime");
5809
6014
  var FormFieldContext = import_react33.default.createContext(
5810
6015
  null
5811
6016
  );
@@ -5816,10 +6021,13 @@ var FormField = (_a) => {
5816
6021
  label,
5817
6022
  placeholder,
5818
6023
  requiredLabel,
5819
- className = "px-4 py-6 shadow-inner drop-shadow-xl",
6024
+ className,
6025
+ classNameDefault,
5820
6026
  labelClassName,
5821
6027
  messageClassName,
5822
6028
  requiredLabelClassName,
6029
+ variant = "outline",
6030
+ size = "md",
5823
6031
  rules,
5824
6032
  shouldUnregister,
5825
6033
  defaultValue,
@@ -5831,9 +6039,12 @@ var FormField = (_a) => {
5831
6039
  "placeholder",
5832
6040
  "requiredLabel",
5833
6041
  "className",
6042
+ "classNameDefault",
5834
6043
  "labelClassName",
5835
6044
  "messageClassName",
5836
6045
  "requiredLabelClassName",
6046
+ "variant",
6047
+ "size",
5837
6048
  "rules",
5838
6049
  "shouldUnregister",
5839
6050
  "defaultValue",
@@ -5844,7 +6055,7 @@ var FormField = (_a) => {
5844
6055
  formState: { errors }
5845
6056
  } = (0, import_react_hook_form2.useFormContext)();
5846
6057
  const fieldError = (_a2 = errors[name]) == null ? void 0 : _a2.message;
5847
- return /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(FormFieldContext.Provider, { value: { name }, children: /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(
6058
+ return /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(FormFieldContext.Provider, { value: { name }, children: /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(
5848
6059
  import_react_hook_form2.Controller,
5849
6060
  {
5850
6061
  control,
@@ -5852,31 +6063,43 @@ var FormField = (_a) => {
5852
6063
  rules,
5853
6064
  shouldUnregister,
5854
6065
  defaultValue,
5855
- render: ({ field }) => /* @__PURE__ */ (0, import_jsx_runtime19.jsxs)(FormItem, { children: [
5856
- label && /* @__PURE__ */ (0, import_jsx_runtime19.jsxs)(FormLabel, { className: cn("flex items-center self-center gap-0", labelClassName), children: [
5857
- label,
5858
- requiredLabel && /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(
5859
- import_lucide_react2.Asterisk,
5860
- {
5861
- className: cn(
5862
- "h-3 w-3 text-red-500 ml-[1px]",
5863
- requiredLabelClassName
6066
+ render: ({ field }) => /* @__PURE__ */ (0, import_jsx_runtime20.jsxs)(FormItem, { children: [
6067
+ label && /* @__PURE__ */ (0, import_jsx_runtime20.jsxs)(
6068
+ FormLabel,
6069
+ {
6070
+ className: cn(
6071
+ "flex items-center gap-0 self-center",
6072
+ labelClassName
6073
+ ),
6074
+ children: [
6075
+ label,
6076
+ requiredLabel && /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(
6077
+ import_lucide_react3.Asterisk,
6078
+ {
6079
+ className: cn(
6080
+ "ml-[1px] h-3 w-3 text-red-500",
6081
+ requiredLabelClassName
6082
+ )
6083
+ }
5864
6084
  )
5865
- }
5866
- )
5867
- ] }),
5868
- /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(FormControl, { children: /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(
6085
+ ]
6086
+ }
6087
+ ),
6088
+ /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(FormControl, { children: /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(
5869
6089
  Input,
5870
6090
  __spreadProps(__spreadValues(__spreadValues({}, field), inputProps), {
5871
6091
  onChange: (e) => {
5872
6092
  field.onChange(e);
5873
6093
  onChange == null ? void 0 : onChange(e.target.value);
5874
6094
  },
6095
+ variant,
6096
+ size,
5875
6097
  placeholder,
5876
- className
6098
+ className: cn("bg-input px-[0.9rem] py-5", className),
6099
+ classNameDefault: classNameDefault != null ? classNameDefault : true
5877
6100
  })
5878
6101
  ) }),
5879
- fieldError && /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(FormMessage, { className: messageClassName, children: fieldError })
6102
+ fieldError && /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(FormMessage, { className: messageClassName, children: fieldError })
5880
6103
  ] })
5881
6104
  }
5882
6105
  ) });
@@ -5887,13 +6110,13 @@ var FormItemContext = import_react33.default.createContext(
5887
6110
  var FormItem = import_react33.default.forwardRef((_a, ref) => {
5888
6111
  var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
5889
6112
  const id = import_react33.default.useId();
5890
- return /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(FormItemContext.Provider, { value: { id }, children: /* @__PURE__ */ (0, import_jsx_runtime19.jsx)("div", __spreadValues({ ref, className: cn("space-y-2", className) }, props)) });
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)) });
5891
6114
  });
5892
6115
  FormItem.displayName = "FormItem";
5893
6116
  var FormLabel = import_react33.default.forwardRef((_a, ref) => {
5894
6117
  var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
5895
6118
  const { error, formItemId } = useFormField();
5896
- return /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(
6119
+ return /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(
5897
6120
  Label3,
5898
6121
  __spreadValues({
5899
6122
  ref,
@@ -5933,7 +6156,7 @@ var useFormField = () => {
5933
6156
  var FormControl = import_react33.default.forwardRef((_a, ref) => {
5934
6157
  var props = __objRest(_a, []);
5935
6158
  const { error, formItemId, formDescriptionId, formMessageId } = useFormField();
5936
- return /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(
6159
+ return /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(
5937
6160
  import_react_slot3.Slot,
5938
6161
  __spreadValues({
5939
6162
  ref,
@@ -5947,12 +6170,12 @@ FormControl.displayName = "FormControl";
5947
6170
  var FormDescription = import_react33.default.forwardRef((_a, ref) => {
5948
6171
  var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
5949
6172
  const { formDescriptionId } = useFormField();
5950
- return /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(
6173
+ return /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(
5951
6174
  "p",
5952
6175
  __spreadValues({
5953
6176
  ref,
5954
6177
  id: formDescriptionId,
5955
- className: cn("text-[0.8rem] text-muted-foreground", className)
6178
+ className: cn("text-muted-foreground text-[0.8rem]", className)
5956
6179
  }, props)
5957
6180
  );
5958
6181
  });
@@ -5964,28 +6187,154 @@ var FormMessage = import_react33.default.forwardRef((_a, ref) => {
5964
6187
  if (!body) {
5965
6188
  return null;
5966
6189
  }
5967
- return /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(
6190
+ return /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(
5968
6191
  "p",
5969
6192
  __spreadProps(__spreadValues({
5970
6193
  ref,
5971
6194
  id: formMessageId,
5972
- className: cn("text-[0.8rem] font-medium text-destructive", className)
6195
+ className: cn("text-destructive text-[0.8rem] font-medium", className)
5973
6196
  }, props), {
5974
6197
  children: body
5975
6198
  })
5976
6199
  );
5977
6200
  });
5978
6201
  FormMessage.displayName = "FormMessage";
6202
+ var FormSelect = ({
6203
+ name,
6204
+ control,
6205
+ rules,
6206
+ shouldUnregister,
6207
+ defaultValue,
6208
+ placeholder,
6209
+ label,
6210
+ requiredLabel,
6211
+ className,
6212
+ contentClassName,
6213
+ labelClassName,
6214
+ messageClassName,
6215
+ requiredLabelClassName,
6216
+ items,
6217
+ children,
6218
+ onChange,
6219
+ disabled,
6220
+ size = "md",
6221
+ variant = "outline",
6222
+ invalid
6223
+ }) => {
6224
+ var _a;
6225
+ const {
6226
+ formState: { errors }
6227
+ } = (0, import_react_hook_form2.useFormContext)();
6228
+ const triggerBase = "relative inline-flex w-full items-center justify-between outline-none transition disabled:opacity-50 disabled:cursor-not-allowed text-foreground placeholder:text-muted-foreground ring-offset-background";
6229
+ const sizeTrigger = {
6230
+ sm: "h-9 px-3 text-sm",
6231
+ md: "h-11 px-4 text-sm",
6232
+ lg: "h-12 px-5 text-base"
6233
+ };
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
+ const errorCls = invalid ? "ring-destructive focus:ring-destructive/40 border-destructive" : "";
6253
+ const specialFlushed = variant === "flushed" ? size === "sm" ? "h-9 text-sm" : size === "lg" ? "h-12 text-base" : "h-11 text-sm" : "";
6254
+ const specialLink = variant === "link" ? "text-sm" : "";
6255
+ const contentBase = "bg-popover text-popover-foreground border border-border rounded-md shadow-md";
6256
+ const itemSize = {
6257
+ sm: "h-8 text-sm",
6258
+ md: "h-9 text-sm",
6259
+ lg: "h-10 text-base"
6260
+ };
6261
+ 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)(
6263
+ import_react_hook_form2.Controller,
6264
+ {
6265
+ control,
6266
+ name,
6267
+ rules,
6268
+ shouldUnregister,
6269
+ defaultValue,
6270
+ 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
6281
+ )
6282
+ }
6283
+ )
6284
+ ] }),
6285
+ /* @__PURE__ */ (0, import_jsx_runtime20.jsxs)(
6286
+ Select2,
6287
+ {
6288
+ value: (_a2 = field.value) != null ? _a2 : "",
6289
+ onValueChange: (v) => {
6290
+ field.onChange(v);
6291
+ onChange == null ? void 0 : onChange(v);
6292
+ },
6293
+ disabled,
6294
+ children: [
6295
+ /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(FormControl, { children: /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(
6296
+ SelectTrigger,
6297
+ {
6298
+ className: cn(
6299
+ triggerBase,
6300
+ variants[variant],
6301
+ variant === "flushed" ? specialFlushed : variant === "link" ? specialLink : sizeTrigger[size],
6302
+ errorCls,
6303
+ className
6304
+ ),
6305
+ children: /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(SelectValue, { placeholder })
6306
+ }
6307
+ ) }),
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,
6310
+ {
6311
+ value: opt.value,
6312
+ disabled: opt.disabled,
6313
+ className: cn(itemSize[size]),
6314
+ children: opt.label
6315
+ },
6316
+ opt.value
6317
+ )) })
6318
+ ]
6319
+ }
6320
+ ),
6321
+ fieldError && /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(FormMessage, { className: messageClassName, children: fieldError })
6322
+ ] });
6323
+ }
6324
+ }
6325
+ ) });
6326
+ };
6327
+ FormSelect.displayName = "FormSelect";
5979
6328
 
5980
6329
  // src/components/hover-card.tsx
5981
6330
  var HoverCardPrimitive = __toESM(require("@radix-ui/react-hover-card"), 1);
5982
- var React44 = __toESM(require("react"), 1);
5983
- var import_jsx_runtime20 = require("react/jsx-runtime");
6331
+ var React45 = __toESM(require("react"), 1);
6332
+ var import_jsx_runtime21 = require("react/jsx-runtime");
5984
6333
  var HoverCard = HoverCardPrimitive.Root;
5985
6334
  var HoverCardTrigger = HoverCardPrimitive.Trigger;
5986
- var HoverCardContent = React44.forwardRef((_a, ref) => {
6335
+ var HoverCardContent = React45.forwardRef((_a, ref) => {
5987
6336
  var _b = _a, { className, align = "center", sideOffset = 4 } = _b, props = __objRest(_b, ["className", "align", "sideOffset"]);
5988
- return /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(
6337
+ return /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(
5989
6338
  HoverCardPrimitive.Content,
5990
6339
  __spreadValues({
5991
6340
  ref,
@@ -6001,46 +6350,46 @@ var HoverCardContent = React44.forwardRef((_a, ref) => {
6001
6350
  HoverCardContent.displayName = HoverCardPrimitive.Content.displayName;
6002
6351
 
6003
6352
  // src/components/icons.tsx
6004
- var import_lucide_react3 = require("lucide-react");
6353
+ var import_lucide_react4 = require("lucide-react");
6005
6354
  var IconsApp = {
6006
- dashboard: import_lucide_react3.LayoutDashboardIcon,
6007
- logo: import_lucide_react3.Command,
6008
- login: import_lucide_react3.LogIn,
6009
- close: import_lucide_react3.X,
6010
- profile: import_lucide_react3.User2Icon,
6011
- spinner: import_lucide_react3.Loader2,
6012
- kanban: import_lucide_react3.CircuitBoardIcon,
6013
- chevronLeft: import_lucide_react3.ChevronLeft,
6014
- chevronRight: import_lucide_react3.ChevronRight,
6015
- trash: import_lucide_react3.Trash,
6016
- employee: import_lucide_react3.UserX2Icon,
6017
- post: import_lucide_react3.FileText,
6018
- page: import_lucide_react3.File,
6019
- media: import_lucide_react3.Image,
6020
- settings: import_lucide_react3.Settings,
6021
- billing: import_lucide_react3.CreditCard,
6022
- ellipsis: import_lucide_react3.MoreVertical,
6023
- add: import_lucide_react3.Plus,
6024
- warning: import_lucide_react3.AlertTriangle,
6025
- user: import_lucide_react3.User,
6026
- arrowRight: import_lucide_react3.ArrowRight,
6027
- help: import_lucide_react3.HelpCircle,
6028
- pizza: import_lucide_react3.Pizza,
6029
- sun: import_lucide_react3.SunMedium,
6030
- moon: import_lucide_react3.Moon,
6031
- laptop: import_lucide_react3.Laptop,
6032
- check: import_lucide_react3.Check
6355
+ dashboard: import_lucide_react4.LayoutDashboardIcon,
6356
+ logo: import_lucide_react4.Command,
6357
+ login: import_lucide_react4.LogIn,
6358
+ close: import_lucide_react4.X,
6359
+ profile: import_lucide_react4.User2Icon,
6360
+ spinner: import_lucide_react4.Loader2,
6361
+ kanban: import_lucide_react4.CircuitBoardIcon,
6362
+ chevronLeft: import_lucide_react4.ChevronLeft,
6363
+ chevronRight: import_lucide_react4.ChevronRight,
6364
+ trash: import_lucide_react4.Trash,
6365
+ employee: import_lucide_react4.UserX2Icon,
6366
+ post: import_lucide_react4.FileText,
6367
+ page: import_lucide_react4.File,
6368
+ media: import_lucide_react4.Image,
6369
+ settings: import_lucide_react4.Settings,
6370
+ billing: import_lucide_react4.CreditCard,
6371
+ ellipsis: import_lucide_react4.MoreVertical,
6372
+ add: import_lucide_react4.Plus,
6373
+ warning: import_lucide_react4.AlertTriangle,
6374
+ user: import_lucide_react4.User,
6375
+ arrowRight: import_lucide_react4.ArrowRight,
6376
+ help: import_lucide_react4.HelpCircle,
6377
+ pizza: import_lucide_react4.Pizza,
6378
+ sun: import_lucide_react4.SunMedium,
6379
+ moon: import_lucide_react4.Moon,
6380
+ laptop: import_lucide_react4.Laptop,
6381
+ check: import_lucide_react4.Check
6033
6382
  };
6034
6383
  var Icons = IconsApp;
6035
6384
 
6036
6385
  // src/components/input-otp.tsx
6037
- var import_react_icons9 = require("@radix-ui/react-icons");
6386
+ var import_react_icons10 = require("@radix-ui/react-icons");
6038
6387
  var import_input_otp = require("input-otp");
6039
- var React45 = __toESM(require("react"), 1);
6040
- var import_jsx_runtime21 = require("react/jsx-runtime");
6041
- var InputOTP = React45.forwardRef((_a, ref) => {
6388
+ var React46 = __toESM(require("react"), 1);
6389
+ var import_jsx_runtime22 = require("react/jsx-runtime");
6390
+ var InputOTP = React46.forwardRef((_a, ref) => {
6042
6391
  var _b = _a, { className, containerClassName } = _b, props = __objRest(_b, ["className", "containerClassName"]);
6043
- return /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(
6392
+ return /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(
6044
6393
  import_input_otp.OTPInput,
6045
6394
  __spreadValues({
6046
6395
  ref,
@@ -6053,16 +6402,16 @@ var InputOTP = React45.forwardRef((_a, ref) => {
6053
6402
  );
6054
6403
  });
6055
6404
  InputOTP.displayName = "InputOTP";
6056
- var InputOTPGroup = React45.forwardRef((_a, ref) => {
6405
+ var InputOTPGroup = React46.forwardRef((_a, ref) => {
6057
6406
  var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
6058
- return /* @__PURE__ */ (0, import_jsx_runtime21.jsx)("div", __spreadValues({ ref, className: cn("flex items-center", className) }, props));
6407
+ return /* @__PURE__ */ (0, import_jsx_runtime22.jsx)("div", __spreadValues({ ref, className: cn("flex items-center", className) }, props));
6059
6408
  });
6060
6409
  InputOTPGroup.displayName = "InputOTPGroup";
6061
- var InputOTPSlot = React45.forwardRef((_a, ref) => {
6410
+ var InputOTPSlot = React46.forwardRef((_a, ref) => {
6062
6411
  var _b = _a, { index, className } = _b, props = __objRest(_b, ["index", "className"]);
6063
- const inputOTPContext = React45.useContext(import_input_otp.OTPInputContext);
6412
+ const inputOTPContext = React46.useContext(import_input_otp.OTPInputContext);
6064
6413
  const { char, hasFakeCaret, isActive } = inputOTPContext.slots[index];
6065
- return /* @__PURE__ */ (0, import_jsx_runtime21.jsxs)(
6414
+ return /* @__PURE__ */ (0, import_jsx_runtime22.jsxs)(
6066
6415
  "div",
6067
6416
  __spreadProps(__spreadValues({
6068
6417
  ref,
@@ -6074,31 +6423,31 @@ var InputOTPSlot = React45.forwardRef((_a, ref) => {
6074
6423
  }, props), {
6075
6424
  children: [
6076
6425
  char,
6077
- hasFakeCaret && /* @__PURE__ */ (0, import_jsx_runtime21.jsx)("div", { className: "pointer-events-none absolute inset-0 flex items-center justify-center", children: /* @__PURE__ */ (0, import_jsx_runtime21.jsx)("div", { className: "animate-caret-blink h-4 w-px bg-foreground duration-1000" }) })
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" }) })
6078
6427
  ]
6079
6428
  })
6080
6429
  );
6081
6430
  });
6082
6431
  InputOTPSlot.displayName = "InputOTPSlot";
6083
- var InputOTPSeparator = React45.forwardRef((_a, ref) => {
6432
+ var InputOTPSeparator = React46.forwardRef((_a, ref) => {
6084
6433
  var props = __objRest(_a, []);
6085
- return /* @__PURE__ */ (0, import_jsx_runtime21.jsx)("div", __spreadProps(__spreadValues({ ref, role: "separator" }, props), { children: /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(import_react_icons9.DashIcon, {}) }));
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, {}) }));
6086
6435
  });
6087
6436
  InputOTPSeparator.displayName = "InputOTPSeparator";
6088
6437
 
6089
6438
  // src/components/menubar.tsx
6090
- var import_react_icons10 = require("@radix-ui/react-icons");
6439
+ var import_react_icons11 = require("@radix-ui/react-icons");
6091
6440
  var MenubarPrimitive = __toESM(require("@radix-ui/react-menubar"), 1);
6092
- var React46 = __toESM(require("react"), 1);
6093
- var import_jsx_runtime22 = require("react/jsx-runtime");
6441
+ var React47 = __toESM(require("react"), 1);
6442
+ var import_jsx_runtime23 = require("react/jsx-runtime");
6094
6443
  var MenubarMenu = MenubarPrimitive.Menu;
6095
6444
  var MenubarGroup = MenubarPrimitive.Group;
6096
6445
  var MenubarPortal = MenubarPrimitive.Portal;
6097
6446
  var MenubarSub = MenubarPrimitive.Sub;
6098
6447
  var MenubarRadioGroup = MenubarPrimitive.RadioGroup;
6099
- var Menubar = React46.forwardRef((_a, ref) => {
6448
+ var Menubar = React47.forwardRef((_a, ref) => {
6100
6449
  var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
6101
- return /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(
6450
+ return /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(
6102
6451
  MenubarPrimitive.Root,
6103
6452
  __spreadValues({
6104
6453
  ref,
@@ -6110,9 +6459,9 @@ var Menubar = React46.forwardRef((_a, ref) => {
6110
6459
  );
6111
6460
  });
6112
6461
  Menubar.displayName = MenubarPrimitive.Root.displayName;
6113
- var MenubarTrigger = React46.forwardRef((_a, ref) => {
6462
+ var MenubarTrigger = React47.forwardRef((_a, ref) => {
6114
6463
  var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
6115
- return /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(
6464
+ return /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(
6116
6465
  MenubarPrimitive.Trigger,
6117
6466
  __spreadValues({
6118
6467
  ref,
@@ -6124,9 +6473,9 @@ var MenubarTrigger = React46.forwardRef((_a, ref) => {
6124
6473
  );
6125
6474
  });
6126
6475
  MenubarTrigger.displayName = MenubarPrimitive.Trigger.displayName;
6127
- var MenubarSubTrigger = React46.forwardRef((_a, ref) => {
6476
+ var MenubarSubTrigger = React47.forwardRef((_a, ref) => {
6128
6477
  var _b = _a, { className, inset, children } = _b, props = __objRest(_b, ["className", "inset", "children"]);
6129
- return /* @__PURE__ */ (0, import_jsx_runtime22.jsxs)(
6478
+ return /* @__PURE__ */ (0, import_jsx_runtime23.jsxs)(
6130
6479
  MenubarPrimitive.SubTrigger,
6131
6480
  __spreadProps(__spreadValues({
6132
6481
  ref,
@@ -6138,15 +6487,15 @@ var MenubarSubTrigger = React46.forwardRef((_a, ref) => {
6138
6487
  }, props), {
6139
6488
  children: [
6140
6489
  children,
6141
- /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(import_react_icons10.ChevronRightIcon, { className: "ml-auto h-4 w-4" })
6490
+ /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(import_react_icons11.ChevronRightIcon, { className: "ml-auto h-4 w-4" })
6142
6491
  ]
6143
6492
  })
6144
6493
  );
6145
6494
  });
6146
6495
  MenubarSubTrigger.displayName = MenubarPrimitive.SubTrigger.displayName;
6147
- var MenubarSubContent = React46.forwardRef((_a, ref) => {
6496
+ var MenubarSubContent = React47.forwardRef((_a, ref) => {
6148
6497
  var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
6149
- return /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(
6498
+ return /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(
6150
6499
  MenubarPrimitive.SubContent,
6151
6500
  __spreadValues({
6152
6501
  ref,
@@ -6158,10 +6507,10 @@ var MenubarSubContent = React46.forwardRef((_a, ref) => {
6158
6507
  );
6159
6508
  });
6160
6509
  MenubarSubContent.displayName = MenubarPrimitive.SubContent.displayName;
6161
- var MenubarContent = React46.forwardRef(
6510
+ var MenubarContent = React47.forwardRef(
6162
6511
  (_a, ref) => {
6163
6512
  var _b = _a, { className, align = "start", alignOffset = -4, sideOffset = 8 } = _b, props = __objRest(_b, ["className", "align", "alignOffset", "sideOffset"]);
6164
- return /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(MenubarPrimitive.Portal, { children: /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(
6513
+ return /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(MenubarPrimitive.Portal, { children: /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(
6165
6514
  MenubarPrimitive.Content,
6166
6515
  __spreadValues({
6167
6516
  ref,
@@ -6177,9 +6526,9 @@ var MenubarContent = React46.forwardRef(
6177
6526
  }
6178
6527
  );
6179
6528
  MenubarContent.displayName = MenubarPrimitive.Content.displayName;
6180
- var MenubarItem = React46.forwardRef((_a, ref) => {
6529
+ var MenubarItem = React47.forwardRef((_a, ref) => {
6181
6530
  var _b = _a, { className, inset } = _b, props = __objRest(_b, ["className", "inset"]);
6182
- return /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(
6531
+ return /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(
6183
6532
  MenubarPrimitive.Item,
6184
6533
  __spreadValues({
6185
6534
  ref,
@@ -6192,9 +6541,9 @@ var MenubarItem = React46.forwardRef((_a, ref) => {
6192
6541
  );
6193
6542
  });
6194
6543
  MenubarItem.displayName = MenubarPrimitive.Item.displayName;
6195
- var MenubarCheckboxItem = React46.forwardRef((_a, ref) => {
6544
+ var MenubarCheckboxItem = React47.forwardRef((_a, ref) => {
6196
6545
  var _b = _a, { className, children, checked } = _b, props = __objRest(_b, ["className", "children", "checked"]);
6197
- return /* @__PURE__ */ (0, import_jsx_runtime22.jsxs)(
6546
+ return /* @__PURE__ */ (0, import_jsx_runtime23.jsxs)(
6198
6547
  MenubarPrimitive.CheckboxItem,
6199
6548
  __spreadProps(__spreadValues({
6200
6549
  ref,
@@ -6205,16 +6554,16 @@ var MenubarCheckboxItem = React46.forwardRef((_a, ref) => {
6205
6554
  checked
6206
6555
  }, props), {
6207
6556
  children: [
6208
- /* @__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" }) }) }),
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" }) }) }),
6209
6558
  children
6210
6559
  ]
6211
6560
  })
6212
6561
  );
6213
6562
  });
6214
6563
  MenubarCheckboxItem.displayName = MenubarPrimitive.CheckboxItem.displayName;
6215
- var MenubarRadioItem = React46.forwardRef((_a, ref) => {
6564
+ var MenubarRadioItem = React47.forwardRef((_a, ref) => {
6216
6565
  var _b = _a, { className, children } = _b, props = __objRest(_b, ["className", "children"]);
6217
- return /* @__PURE__ */ (0, import_jsx_runtime22.jsxs)(
6566
+ return /* @__PURE__ */ (0, import_jsx_runtime23.jsxs)(
6218
6567
  MenubarPrimitive.RadioItem,
6219
6568
  __spreadProps(__spreadValues({
6220
6569
  ref,
@@ -6224,16 +6573,16 @@ var MenubarRadioItem = React46.forwardRef((_a, ref) => {
6224
6573
  )
6225
6574
  }, props), {
6226
6575
  children: [
6227
- /* @__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" }) }) }),
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" }) }) }),
6228
6577
  children
6229
6578
  ]
6230
6579
  })
6231
6580
  );
6232
6581
  });
6233
6582
  MenubarRadioItem.displayName = MenubarPrimitive.RadioItem.displayName;
6234
- var MenubarLabel = React46.forwardRef((_a, ref) => {
6583
+ var MenubarLabel = React47.forwardRef((_a, ref) => {
6235
6584
  var _b = _a, { className, inset } = _b, props = __objRest(_b, ["className", "inset"]);
6236
- return /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(
6585
+ return /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(
6237
6586
  MenubarPrimitive.Label,
6238
6587
  __spreadValues({
6239
6588
  ref,
@@ -6246,9 +6595,9 @@ var MenubarLabel = React46.forwardRef((_a, ref) => {
6246
6595
  );
6247
6596
  });
6248
6597
  MenubarLabel.displayName = MenubarPrimitive.Label.displayName;
6249
- var MenubarSeparator = React46.forwardRef((_a, ref) => {
6598
+ var MenubarSeparator = React47.forwardRef((_a, ref) => {
6250
6599
  var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
6251
- return /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(
6600
+ return /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(
6252
6601
  MenubarPrimitive.Separator,
6253
6602
  __spreadValues({
6254
6603
  ref,
@@ -6263,7 +6612,7 @@ var MenubarShortcut = (_a) => {
6263
6612
  } = _b, props = __objRest(_b, [
6264
6613
  "className"
6265
6614
  ]);
6266
- return /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(
6615
+ return /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(
6267
6616
  "span",
6268
6617
  __spreadValues({
6269
6618
  className: cn(
@@ -6276,7 +6625,7 @@ var MenubarShortcut = (_a) => {
6276
6625
  MenubarShortcut.displayname = "MenubarShortcut";
6277
6626
 
6278
6627
  // src/components/modal.tsx
6279
- var import_jsx_runtime23 = require("react/jsx-runtime");
6628
+ var import_jsx_runtime24 = require("react/jsx-runtime");
6280
6629
  var Modal = ({
6281
6630
  title,
6282
6631
  description,
@@ -6290,24 +6639,24 @@ var Modal = ({
6290
6639
  onClose();
6291
6640
  }
6292
6641
  };
6293
- return /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(Dialog, { open: isOpen, onOpenChange: onChange, children: /* @__PURE__ */ (0, import_jsx_runtime23.jsxs)(DialogContent, { className, children: [
6294
- /* @__PURE__ */ (0, import_jsx_runtime23.jsxs)(DialogHeader, { children: [
6295
- /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(DialogTitle, { children: title }),
6296
- /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(DialogDescription, { children: description })
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 })
6297
6646
  ] }),
6298
- /* @__PURE__ */ (0, import_jsx_runtime23.jsx)("div", { children })
6647
+ /* @__PURE__ */ (0, import_jsx_runtime24.jsx)("div", { children })
6299
6648
  ] }) });
6300
6649
  };
6301
6650
 
6302
6651
  // src/components/navigation-menu.tsx
6303
- var import_react_icons11 = require("@radix-ui/react-icons");
6652
+ var import_react_icons12 = require("@radix-ui/react-icons");
6304
6653
  var NavigationMenuPrimitive = __toESM(require("@radix-ui/react-navigation-menu"), 1);
6305
6654
  var import_class_variance_authority5 = require("class-variance-authority");
6306
- var React47 = __toESM(require("react"), 1);
6307
- var import_jsx_runtime24 = require("react/jsx-runtime");
6308
- var NavigationMenu = React47.forwardRef((_a, ref) => {
6655
+ var React48 = __toESM(require("react"), 1);
6656
+ var import_jsx_runtime25 = require("react/jsx-runtime");
6657
+ var NavigationMenu = React48.forwardRef((_a, ref) => {
6309
6658
  var _b = _a, { className, children } = _b, props = __objRest(_b, ["className", "children"]);
6310
- return /* @__PURE__ */ (0, import_jsx_runtime24.jsxs)(
6659
+ return /* @__PURE__ */ (0, import_jsx_runtime25.jsxs)(
6311
6660
  NavigationMenuPrimitive.Root,
6312
6661
  __spreadProps(__spreadValues({
6313
6662
  ref,
@@ -6318,15 +6667,15 @@ var NavigationMenu = React47.forwardRef((_a, ref) => {
6318
6667
  }, props), {
6319
6668
  children: [
6320
6669
  children,
6321
- /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(NavigationMenuViewport, {})
6670
+ /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(NavigationMenuViewport, {})
6322
6671
  ]
6323
6672
  })
6324
6673
  );
6325
6674
  });
6326
6675
  NavigationMenu.displayName = NavigationMenuPrimitive.Root.displayName;
6327
- var NavigationMenuList = React47.forwardRef((_a, ref) => {
6676
+ var NavigationMenuList = React48.forwardRef((_a, ref) => {
6328
6677
  var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
6329
- return /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(
6678
+ return /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
6330
6679
  NavigationMenuPrimitive.List,
6331
6680
  __spreadValues({
6332
6681
  ref,
@@ -6342,9 +6691,9 @@ var NavigationMenuItem = NavigationMenuPrimitive.Item;
6342
6691
  var navigationMenuTriggerStyle = (0, import_class_variance_authority5.cva)(
6343
6692
  "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"
6344
6693
  );
6345
- var NavigationMenuTrigger = React47.forwardRef((_a, ref) => {
6694
+ var NavigationMenuTrigger = React48.forwardRef((_a, ref) => {
6346
6695
  var _b = _a, { className, children } = _b, props = __objRest(_b, ["className", "children"]);
6347
- return /* @__PURE__ */ (0, import_jsx_runtime24.jsxs)(
6696
+ return /* @__PURE__ */ (0, import_jsx_runtime25.jsxs)(
6348
6697
  NavigationMenuPrimitive.Trigger,
6349
6698
  __spreadProps(__spreadValues({
6350
6699
  ref,
@@ -6353,8 +6702,8 @@ var NavigationMenuTrigger = React47.forwardRef((_a, ref) => {
6353
6702
  children: [
6354
6703
  children,
6355
6704
  " ",
6356
- /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(
6357
- import_react_icons11.ChevronDownIcon,
6705
+ /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
6706
+ import_react_icons12.ChevronDownIcon,
6358
6707
  {
6359
6708
  className: "relative top-[1px] ml-1 h-3 w-3 transition duration-300 group-data-[state=open]:rotate-180",
6360
6709
  "aria-hidden": "true"
@@ -6365,9 +6714,9 @@ var NavigationMenuTrigger = React47.forwardRef((_a, ref) => {
6365
6714
  );
6366
6715
  });
6367
6716
  NavigationMenuTrigger.displayName = NavigationMenuPrimitive.Trigger.displayName;
6368
- var NavigationMenuContent = React47.forwardRef((_a, ref) => {
6717
+ var NavigationMenuContent = React48.forwardRef((_a, ref) => {
6369
6718
  var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
6370
- return /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(
6719
+ return /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
6371
6720
  NavigationMenuPrimitive.Content,
6372
6721
  __spreadValues({
6373
6722
  ref,
@@ -6380,9 +6729,9 @@ var NavigationMenuContent = React47.forwardRef((_a, ref) => {
6380
6729
  });
6381
6730
  NavigationMenuContent.displayName = NavigationMenuPrimitive.Content.displayName;
6382
6731
  var NavigationMenuLink = NavigationMenuPrimitive.Link;
6383
- var NavigationMenuViewport = React47.forwardRef((_a, ref) => {
6732
+ var NavigationMenuViewport = React48.forwardRef((_a, ref) => {
6384
6733
  var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
6385
- 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)(
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)(
6386
6735
  NavigationMenuPrimitive.Viewport,
6387
6736
  __spreadValues({
6388
6737
  className: cn(
@@ -6394,9 +6743,9 @@ var NavigationMenuViewport = React47.forwardRef((_a, ref) => {
6394
6743
  ) });
6395
6744
  });
6396
6745
  NavigationMenuViewport.displayName = NavigationMenuPrimitive.Viewport.displayName;
6397
- var NavigationMenuIndicator = React47.forwardRef((_a, ref) => {
6746
+ var NavigationMenuIndicator = React48.forwardRef((_a, ref) => {
6398
6747
  var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
6399
- return /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(
6748
+ return /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
6400
6749
  NavigationMenuPrimitive.Indicator,
6401
6750
  __spreadProps(__spreadValues({
6402
6751
  ref,
@@ -6405,20 +6754,20 @@ var NavigationMenuIndicator = React47.forwardRef((_a, ref) => {
6405
6754
  className
6406
6755
  )
6407
6756
  }, props), {
6408
- 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" })
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" })
6409
6758
  })
6410
6759
  );
6411
6760
  });
6412
6761
  NavigationMenuIndicator.displayName = NavigationMenuPrimitive.Indicator.displayName;
6413
6762
 
6414
6763
  // src/components/pagination.tsx
6415
- var import_react_icons12 = require("@radix-ui/react-icons");
6416
- var React48 = __toESM(require("react"), 1);
6417
- var import_lucide_react4 = require("lucide-react");
6418
- var import_jsx_runtime25 = require("react/jsx-runtime");
6764
+ var import_react_icons13 = require("@radix-ui/react-icons");
6765
+ var React49 = __toESM(require("react"), 1);
6766
+ var import_lucide_react5 = require("lucide-react");
6767
+ var import_jsx_runtime26 = require("react/jsx-runtime");
6419
6768
  var Pagination = (_a) => {
6420
6769
  var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
6421
- return /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
6770
+ return /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
6422
6771
  "nav",
6423
6772
  __spreadValues({
6424
6773
  role: "navigation",
@@ -6428,9 +6777,9 @@ var Pagination = (_a) => {
6428
6777
  );
6429
6778
  };
6430
6779
  Pagination.displayName = "Pagination";
6431
- var PaginationContent = React48.forwardRef((_a, ref) => {
6780
+ var PaginationContent = React49.forwardRef((_a, ref) => {
6432
6781
  var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
6433
- return /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
6782
+ return /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
6434
6783
  "ul",
6435
6784
  __spreadValues({
6436
6785
  ref,
@@ -6439,9 +6788,9 @@ var PaginationContent = React48.forwardRef((_a, ref) => {
6439
6788
  );
6440
6789
  });
6441
6790
  PaginationContent.displayName = "PaginationContent";
6442
- var PaginationItem = React48.forwardRef((_a, ref) => {
6791
+ var PaginationItem = React49.forwardRef((_a, ref) => {
6443
6792
  var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
6444
- return /* @__PURE__ */ (0, import_jsx_runtime25.jsx)("li", __spreadValues({ ref, className: cn("", className) }, props));
6793
+ return /* @__PURE__ */ (0, import_jsx_runtime26.jsx)("li", __spreadValues({ ref, className: cn("", className) }, props));
6445
6794
  });
6446
6795
  PaginationItem.displayName = "PaginationItem";
6447
6796
  var PaginationLink = (_a) => {
@@ -6454,7 +6803,7 @@ var PaginationLink = (_a) => {
6454
6803
  "isActive",
6455
6804
  "size"
6456
6805
  ]);
6457
- return /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
6806
+ return /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
6458
6807
  "a",
6459
6808
  __spreadValues({
6460
6809
  "aria-current": isActive ? "page" : void 0,
@@ -6475,7 +6824,7 @@ var PaginationPreviousLast = (_a) => {
6475
6824
  } = _b, props = __objRest(_b, [
6476
6825
  "className"
6477
6826
  ]);
6478
- return /* @__PURE__ */ (0, import_jsx_runtime25.jsxs)(
6827
+ return /* @__PURE__ */ (0, import_jsx_runtime26.jsxs)(
6479
6828
  PaginationLink,
6480
6829
  __spreadProps(__spreadValues({
6481
6830
  "aria-label": "Go to previous page",
@@ -6483,8 +6832,8 @@ var PaginationPreviousLast = (_a) => {
6483
6832
  className: cn("gap-1 pl-2.5", className)
6484
6833
  }, props), {
6485
6834
  children: [
6486
- /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(import_lucide_react4.ChevronLeft, { className: "h-4 w-4" }),
6487
- /* @__PURE__ */ (0, import_jsx_runtime25.jsx)("span", { className: "sr-only", children: "Previous Last" })
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" })
6488
6837
  ]
6489
6838
  })
6490
6839
  );
@@ -6496,7 +6845,7 @@ var PaginationPrevious = (_a) => {
6496
6845
  } = _b, props = __objRest(_b, [
6497
6846
  "className"
6498
6847
  ]);
6499
- return /* @__PURE__ */ (0, import_jsx_runtime25.jsxs)(
6848
+ return /* @__PURE__ */ (0, import_jsx_runtime26.jsxs)(
6500
6849
  PaginationLink,
6501
6850
  __spreadProps(__spreadValues({
6502
6851
  "aria-label": "Go to previous page",
@@ -6504,8 +6853,8 @@ var PaginationPrevious = (_a) => {
6504
6853
  className: cn("gap-1 pl-2.5", className)
6505
6854
  }, props), {
6506
6855
  children: [
6507
- /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(import_react_icons12.ChevronLeftIcon, { className: "h-4 w-4" }),
6508
- /* @__PURE__ */ (0, import_jsx_runtime25.jsx)("span", { children: "Previous" })
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" })
6509
6858
  ]
6510
6859
  })
6511
6860
  );
@@ -6517,7 +6866,7 @@ var PaginationNext = (_a) => {
6517
6866
  } = _b, props = __objRest(_b, [
6518
6867
  "className"
6519
6868
  ]);
6520
- return /* @__PURE__ */ (0, import_jsx_runtime25.jsxs)(
6869
+ return /* @__PURE__ */ (0, import_jsx_runtime26.jsxs)(
6521
6870
  PaginationLink,
6522
6871
  __spreadProps(__spreadValues({
6523
6872
  "aria-label": "Go to next page",
@@ -6525,8 +6874,8 @@ var PaginationNext = (_a) => {
6525
6874
  className: cn("gap-1 pr-2.5", className)
6526
6875
  }, props), {
6527
6876
  children: [
6528
- /* @__PURE__ */ (0, import_jsx_runtime25.jsx)("span", { children: "Next" }),
6529
- /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(import_react_icons12.ChevronRightIcon, { className: "h-4 w-4" })
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" })
6530
6879
  ]
6531
6880
  })
6532
6881
  );
@@ -6538,7 +6887,7 @@ var PaginationNextLast = (_a) => {
6538
6887
  } = _b, props = __objRest(_b, [
6539
6888
  "className"
6540
6889
  ]);
6541
- return /* @__PURE__ */ (0, import_jsx_runtime25.jsxs)(
6890
+ return /* @__PURE__ */ (0, import_jsx_runtime26.jsxs)(
6542
6891
  PaginationLink,
6543
6892
  __spreadProps(__spreadValues({
6544
6893
  "aria-label": "Go to next page",
@@ -6546,8 +6895,8 @@ var PaginationNextLast = (_a) => {
6546
6895
  className: cn("gap-1 pr-2.5", className)
6547
6896
  }, props), {
6548
6897
  children: [
6549
- /* @__PURE__ */ (0, import_jsx_runtime25.jsx)("span", { className: "sr-only", children: "Next Last" }),
6550
- /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(import_lucide_react4.ChevronRight, { className: "h-4 w-4" })
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" })
6551
6900
  ]
6552
6901
  })
6553
6902
  );
@@ -6559,15 +6908,15 @@ var PaginationEllipsis = (_a) => {
6559
6908
  } = _b, props = __objRest(_b, [
6560
6909
  "className"
6561
6910
  ]);
6562
- return /* @__PURE__ */ (0, import_jsx_runtime25.jsxs)(
6911
+ return /* @__PURE__ */ (0, import_jsx_runtime26.jsxs)(
6563
6912
  "span",
6564
6913
  __spreadProps(__spreadValues({
6565
6914
  "aria-hidden": true,
6566
6915
  className: cn("flex h-9 w-9 items-center justify-center", className)
6567
6916
  }, props), {
6568
6917
  children: [
6569
- /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(import_react_icons12.DotsHorizontalIcon, { className: "h-4 w-4" }),
6570
- /* @__PURE__ */ (0, import_jsx_runtime25.jsx)("span", { className: "sr-only", children: "More pages" })
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" })
6571
6920
  ]
6572
6921
  })
6573
6922
  );
@@ -6576,14 +6925,14 @@ PaginationEllipsis.displayName = "PaginationEllipsis";
6576
6925
 
6577
6926
  // src/components/popover.tsx
6578
6927
  var PopoverPrimitive = __toESM(require("@radix-ui/react-popover"), 1);
6579
- var React49 = __toESM(require("react"), 1);
6580
- var import_jsx_runtime26 = require("react/jsx-runtime");
6928
+ var React50 = __toESM(require("react"), 1);
6929
+ var import_jsx_runtime27 = require("react/jsx-runtime");
6581
6930
  var Popover = PopoverPrimitive.Root;
6582
6931
  var PopoverTrigger = PopoverPrimitive.Trigger;
6583
6932
  var PopoverAnchor = PopoverPrimitive.Anchor;
6584
- var PopoverContent = React49.forwardRef((_a, ref) => {
6933
+ var PopoverContent = React50.forwardRef((_a, ref) => {
6585
6934
  var _b = _a, { className, align = "center", sideOffset = 4 } = _b, props = __objRest(_b, ["className", "align", "sideOffset"]);
6586
- return /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(PopoverPrimitive.Portal, { children: /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
6935
+ return /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(PopoverPrimitive.Portal, { children: /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
6587
6936
  PopoverPrimitive.Content,
6588
6937
  __spreadValues({
6589
6938
  ref,
@@ -6600,11 +6949,11 @@ PopoverContent.displayName = PopoverPrimitive.Content.displayName;
6600
6949
 
6601
6950
  // src/components/progress.tsx
6602
6951
  var ProgressPrimitive = __toESM(require("@radix-ui/react-progress"), 1);
6603
- var React50 = __toESM(require("react"), 1);
6604
- var import_jsx_runtime27 = require("react/jsx-runtime");
6605
- var Progress = React50.forwardRef((_a, ref) => {
6952
+ var React51 = __toESM(require("react"), 1);
6953
+ var import_jsx_runtime28 = require("react/jsx-runtime");
6954
+ var Progress = React51.forwardRef((_a, ref) => {
6606
6955
  var _b = _a, { className, value } = _b, props = __objRest(_b, ["className", "value"]);
6607
- return /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
6956
+ return /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
6608
6957
  ProgressPrimitive.Root,
6609
6958
  __spreadProps(__spreadValues({
6610
6959
  ref,
@@ -6613,7 +6962,7 @@ var Progress = React50.forwardRef((_a, ref) => {
6613
6962
  className
6614
6963
  )
6615
6964
  }, props), {
6616
- children: /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
6965
+ children: /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
6617
6966
  ProgressPrimitive.Indicator,
6618
6967
  {
6619
6968
  className: "h-full w-full flex-1 bg-primary transition-all",
@@ -6626,13 +6975,13 @@ var Progress = React50.forwardRef((_a, ref) => {
6626
6975
  Progress.displayName = ProgressPrimitive.Root.displayName;
6627
6976
 
6628
6977
  // src/components/radio-group.tsx
6629
- var import_react_icons13 = require("@radix-ui/react-icons");
6978
+ var import_react_icons14 = require("@radix-ui/react-icons");
6630
6979
  var RadioGroupPrimitive = __toESM(require("@radix-ui/react-radio-group"), 1);
6631
- var React51 = __toESM(require("react"), 1);
6632
- var import_jsx_runtime28 = require("react/jsx-runtime");
6633
- var RadioGroup4 = React51.forwardRef((_a, ref) => {
6980
+ var React52 = __toESM(require("react"), 1);
6981
+ var import_jsx_runtime29 = require("react/jsx-runtime");
6982
+ var RadioGroup4 = React52.forwardRef((_a, ref) => {
6634
6983
  var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
6635
- return /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
6984
+ return /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(
6636
6985
  RadioGroupPrimitive.Root,
6637
6986
  __spreadProps(__spreadValues({
6638
6987
  className: cn("grid gap-2", className)
@@ -6642,9 +6991,9 @@ var RadioGroup4 = React51.forwardRef((_a, ref) => {
6642
6991
  );
6643
6992
  });
6644
6993
  RadioGroup4.displayName = RadioGroupPrimitive.Root.displayName;
6645
- var RadioGroupItem = React51.forwardRef((_a, ref) => {
6994
+ var RadioGroupItem = React52.forwardRef((_a, ref) => {
6646
6995
  var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
6647
- return /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
6996
+ return /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(
6648
6997
  RadioGroupPrimitive.Item,
6649
6998
  __spreadProps(__spreadValues({
6650
6999
  ref,
@@ -6653,23 +7002,23 @@ var RadioGroupItem = React51.forwardRef((_a, ref) => {
6653
7002
  className
6654
7003
  )
6655
7004
  }, props), {
6656
- 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" }) })
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" }) })
6657
7006
  })
6658
7007
  );
6659
7008
  });
6660
7009
  RadioGroupItem.displayName = RadioGroupPrimitive.Item.displayName;
6661
7010
 
6662
7011
  // src/components/resizable.tsx
6663
- var import_react_icons14 = require("@radix-ui/react-icons");
7012
+ var import_react_icons15 = require("@radix-ui/react-icons");
6664
7013
  var ResizablePrimitive = __toESM(require("react-resizable-panels"), 1);
6665
- var import_jsx_runtime29 = require("react/jsx-runtime");
7014
+ var import_jsx_runtime30 = require("react/jsx-runtime");
6666
7015
  var ResizablePanelGroup = (_a) => {
6667
7016
  var _b = _a, {
6668
7017
  className
6669
7018
  } = _b, props = __objRest(_b, [
6670
7019
  "className"
6671
7020
  ]);
6672
- return /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(
7021
+ return /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(
6673
7022
  ResizablePrimitive.PanelGroup,
6674
7023
  __spreadValues({
6675
7024
  className: cn(
@@ -6688,7 +7037,7 @@ var ResizableHandle = (_a) => {
6688
7037
  "withHandle",
6689
7038
  "className"
6690
7039
  ]);
6691
- return /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(
7040
+ return /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(
6692
7041
  ResizablePrimitive.PanelResizeHandle,
6693
7042
  __spreadProps(__spreadValues({
6694
7043
  className: cn(
@@ -6696,35 +7045,35 @@ var ResizableHandle = (_a) => {
6696
7045
  className
6697
7046
  )
6698
7047
  }, props), {
6699
- 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" }) })
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" }) })
6700
7049
  })
6701
7050
  );
6702
7051
  };
6703
7052
 
6704
7053
  // src/components/scroll-area.tsx
6705
7054
  var ScrollAreaPrimitive = __toESM(require("@radix-ui/react-scroll-area"), 1);
6706
- var React52 = __toESM(require("react"), 1);
6707
- var import_jsx_runtime30 = require("react/jsx-runtime");
6708
- var ScrollArea = React52.forwardRef((_a, ref) => {
7055
+ var React53 = __toESM(require("react"), 1);
7056
+ var import_jsx_runtime31 = require("react/jsx-runtime");
7057
+ var ScrollArea = React53.forwardRef((_a, ref) => {
6709
7058
  var _b = _a, { className, children } = _b, props = __objRest(_b, ["className", "children"]);
6710
- return /* @__PURE__ */ (0, import_jsx_runtime30.jsxs)(
7059
+ return /* @__PURE__ */ (0, import_jsx_runtime31.jsxs)(
6711
7060
  ScrollAreaPrimitive.Root,
6712
7061
  __spreadProps(__spreadValues({
6713
7062
  ref,
6714
7063
  className: cn("relative overflow-hidden", className)
6715
7064
  }, props), {
6716
7065
  children: [
6717
- /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(ScrollAreaPrimitive.Viewport, { className: "h-full w-full rounded-[inherit]", children }),
6718
- /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(ScrollBar, {}),
6719
- /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(ScrollAreaPrimitive.Corner, {})
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, {})
6720
7069
  ]
6721
7070
  })
6722
7071
  );
6723
7072
  });
6724
7073
  ScrollArea.displayName = ScrollAreaPrimitive.Root.displayName;
6725
- var ScrollBar = React52.forwardRef((_a, ref) => {
7074
+ var ScrollBar = React53.forwardRef((_a, ref) => {
6726
7075
  var _b = _a, { className, orientation = "vertical" } = _b, props = __objRest(_b, ["className", "orientation"]);
6727
- return /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(
7076
+ return /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(
6728
7077
  ScrollAreaPrimitive.ScrollAreaScrollbar,
6729
7078
  __spreadProps(__spreadValues({
6730
7079
  ref,
@@ -6736,7 +7085,7 @@ var ScrollBar = React52.forwardRef((_a, ref) => {
6736
7085
  className
6737
7086
  )
6738
7087
  }, props), {
6739
- children: /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(ScrollAreaPrimitive.ScrollAreaThumb, { className: "relative flex-1 rounded-full bg-border" })
7088
+ children: /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(ScrollAreaPrimitive.ScrollAreaThumb, { className: "relative flex-1 rounded-full bg-border" })
6740
7089
  })
6741
7090
  );
6742
7091
  });
@@ -6745,11 +7094,12 @@ ScrollBar.displayName = ScrollAreaPrimitive.ScrollAreaScrollbar.displayName;
6745
7094
  // src/components/search-input.tsx
6746
7095
  var import_react34 = __toESM(require("react"), 1);
6747
7096
  var import_use_debounce = require("use-debounce");
6748
- var import_jsx_runtime31 = require("react/jsx-runtime");
7097
+ var import_jsx_runtime32 = require("react/jsx-runtime");
6749
7098
  function SearchInput({
6750
7099
  value,
6751
7100
  placeholder,
6752
7101
  className,
7102
+ classNameDefault,
6753
7103
  debounceTime = 750,
6754
7104
  onSearch
6755
7105
  }) {
@@ -6764,149 +7114,18 @@ function SearchInput({
6764
7114
  import_react34.default.useEffect(() => {
6765
7115
  setSearchTerm(value);
6766
7116
  }, [value]);
6767
- return /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(
7117
+ return /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(
6768
7118
  Input,
6769
7119
  {
6770
7120
  placeholder: placeholder || `Search...`,
6771
7121
  value: searchTerm,
6772
7122
  onChange: (event) => setSearchTerm(event.target.value),
6773
- className: cn("w-full md:max-w-sm", className)
7123
+ className: cn("w-full md:max-w-sm", className),
7124
+ classNameDefault: classNameDefault != null ? classNameDefault : true
6774
7125
  }
6775
7126
  );
6776
7127
  }
6777
7128
 
6778
- // src/components/select.tsx
6779
- var import_react_icons15 = require("@radix-ui/react-icons");
6780
- var SelectPrimitive = __toESM(require("@radix-ui/react-select"), 1);
6781
- var React54 = __toESM(require("react"), 1);
6782
- var import_jsx_runtime32 = require("react/jsx-runtime");
6783
- var Select2 = SelectPrimitive.Root;
6784
- var SelectGroup = SelectPrimitive.Group;
6785
- var SelectValue = SelectPrimitive.Value;
6786
- var SelectTrigger = React54.forwardRef((_a, ref) => {
6787
- var _b = _a, { className, children } = _b, props = __objRest(_b, ["className", "children"]);
6788
- return /* @__PURE__ */ (0, import_jsx_runtime32.jsxs)(
6789
- SelectPrimitive.Trigger,
6790
- __spreadProps(__spreadValues({
6791
- ref,
6792
- className: cn(
6793
- "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",
6794
- className
6795
- )
6796
- }, props), {
6797
- children: [
6798
- children,
6799
- /* @__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" }) })
6800
- ]
6801
- })
6802
- );
6803
- });
6804
- SelectTrigger.displayName = SelectPrimitive.Trigger.displayName;
6805
- var SelectScrollUpButton = React54.forwardRef((_a, ref) => {
6806
- var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
6807
- return /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(
6808
- SelectPrimitive.ScrollUpButton,
6809
- __spreadProps(__spreadValues({
6810
- ref,
6811
- className: cn(
6812
- "flex cursor-default items-center justify-center py-1",
6813
- className
6814
- )
6815
- }, props), {
6816
- children: /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(import_react_icons15.ChevronUpIcon, {})
6817
- })
6818
- );
6819
- });
6820
- SelectScrollUpButton.displayName = SelectPrimitive.ScrollUpButton.displayName;
6821
- var SelectScrollDownButton = React54.forwardRef((_a, ref) => {
6822
- var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
6823
- return /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(
6824
- SelectPrimitive.ScrollDownButton,
6825
- __spreadProps(__spreadValues({
6826
- ref,
6827
- className: cn(
6828
- "flex cursor-default items-center justify-center py-1",
6829
- className
6830
- )
6831
- }, props), {
6832
- children: /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(import_react_icons15.ChevronDownIcon, {})
6833
- })
6834
- );
6835
- });
6836
- SelectScrollDownButton.displayName = SelectPrimitive.ScrollDownButton.displayName;
6837
- var SelectContent = React54.forwardRef((_a, ref) => {
6838
- var _b = _a, { className, children, position = "popper" } = _b, props = __objRest(_b, ["className", "children", "position"]);
6839
- return /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(SelectPrimitive.Portal, { children: /* @__PURE__ */ (0, import_jsx_runtime32.jsxs)(
6840
- SelectPrimitive.Content,
6841
- __spreadProps(__spreadValues({
6842
- ref,
6843
- className: cn(
6844
- "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",
6845
- 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",
6846
- className
6847
- ),
6848
- position
6849
- }, props), {
6850
- children: [
6851
- /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(SelectScrollUpButton, {}),
6852
- /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(
6853
- SelectPrimitive.Viewport,
6854
- {
6855
- className: cn(
6856
- "p-1",
6857
- position === "popper" && "h-[var(--radix-select-trigger-height)] w-full min-w-[var(--radix-select-trigger-width)]"
6858
- ),
6859
- children
6860
- }
6861
- ),
6862
- /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(SelectScrollDownButton, {})
6863
- ]
6864
- })
6865
- ) });
6866
- });
6867
- SelectContent.displayName = SelectPrimitive.Content.displayName;
6868
- var SelectLabel = React54.forwardRef((_a, ref) => {
6869
- var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
6870
- return /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(
6871
- SelectPrimitive.Label,
6872
- __spreadValues({
6873
- ref,
6874
- className: cn("px-2 py-1.5 text-sm font-semibold", className)
6875
- }, props)
6876
- );
6877
- });
6878
- SelectLabel.displayName = SelectPrimitive.Label.displayName;
6879
- var SelectItem = React54.forwardRef((_a, ref) => {
6880
- var _b = _a, { className, children } = _b, props = __objRest(_b, ["className", "children"]);
6881
- return /* @__PURE__ */ (0, import_jsx_runtime32.jsxs)(
6882
- SelectPrimitive.Item,
6883
- __spreadProps(__spreadValues({
6884
- ref,
6885
- className: cn(
6886
- "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",
6887
- className
6888
- )
6889
- }, props), {
6890
- children: [
6891
- /* @__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" }) }) }),
6892
- /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(SelectPrimitive.ItemText, { children })
6893
- ]
6894
- })
6895
- );
6896
- });
6897
- SelectItem.displayName = SelectPrimitive.Item.displayName;
6898
- var SelectSeparator = React54.forwardRef((_a, ref) => {
6899
- var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
6900
- return /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(
6901
- SelectPrimitive.Separator,
6902
- __spreadValues({
6903
- ref,
6904
- className: cn("-mx-1 my-1 h-px bg-muted", className)
6905
- }, props)
6906
- );
6907
- });
6908
- SelectSeparator.displayName = SelectPrimitive.Separator.displayName;
6909
-
6910
7129
  // src/components/separator.tsx
6911
7130
  var SeparatorPrimitive = __toESM(require("@radix-ui/react-separator"), 1);
6912
7131
  var React55 = __toESM(require("react"), 1);
@@ -7663,13 +7882,13 @@ var AlertModal = ({
7663
7882
  };
7664
7883
 
7665
7884
  // src/shared/breadcrumbs.tsx
7666
- var import_lucide_react5 = require("lucide-react");
7885
+ var import_lucide_react6 = require("lucide-react");
7667
7886
  var import_react35 = require("react");
7668
7887
  var import_jsx_runtime47 = require("react/jsx-runtime");
7669
7888
  function Breadcrumbs({ items, className, classNameList }) {
7670
7889
  return /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(Breadcrumb, { className, children: /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(BreadcrumbList, { className: classNameList, children: items.map((item, index) => /* @__PURE__ */ (0, import_jsx_runtime47.jsxs)(import_react35.Fragment, { children: [
7671
7890
  index !== items.length - 1 && /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(BreadcrumbItem, { className: item.className, children: /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(BreadcrumbLink, { href: item.link, children: item.title }) }),
7672
- index < items.length - 1 && /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(BreadcrumbSeparator, { children: /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(import_lucide_react5.Slash, {}) }),
7891
+ index < items.length - 1 && /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(BreadcrumbSeparator, { children: /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(import_lucide_react6.Slash, {}) }),
7673
7892
  index === items.length - 1 && /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(BreadcrumbPage, { children: item.title })
7674
7893
  ] }, item.title)) }) });
7675
7894
  }
@@ -7678,7 +7897,7 @@ function Breadcrumbs({ items, className, classNameList }) {
7678
7897
  var import_react36 = __toESM(require("react"), 1);
7679
7898
  var import_react_icons18 = require("@radix-ui/react-icons");
7680
7899
  var import_react_table = require("@tanstack/react-table");
7681
- var import_lucide_react6 = require("lucide-react");
7900
+ var import_lucide_react7 = require("lucide-react");
7682
7901
  var import_jsx_runtime48 = require("react/jsx-runtime");
7683
7902
  function DataTable({
7684
7903
  columns,
@@ -7867,7 +8086,7 @@ function DataTable({
7867
8086
  pageIndex: pagination.pageIndex - 1
7868
8087
  })),
7869
8088
  disabled: pagination.pageIndex === 0,
7870
- children: /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(import_lucide_react6.ChevronLeftIcon, { className: "h-4 w-4" })
8089
+ children: /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(import_lucide_react7.ChevronLeftIcon, { className: "h-4 w-4" })
7871
8090
  }
7872
8091
  ),
7873
8092
  /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(
@@ -7880,7 +8099,7 @@ function DataTable({
7880
8099
  pageIndex: pagination.pageIndex + 1
7881
8100
  })),
7882
8101
  disabled: pagination.pageIndex + 1 >= pageCount,
7883
- children: /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(import_lucide_react6.ChevronRightIcon, { className: "h-4 w-4" })
8102
+ children: /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(import_lucide_react7.ChevronRightIcon, { className: "h-4 w-4" })
7884
8103
  }
7885
8104
  ),
7886
8105
  /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(
@@ -7942,7 +8161,7 @@ function DataTableSkeleton({
7942
8161
 
7943
8162
  // src/shared/fileupload.tsx
7944
8163
  var import_react_icons19 = require("@radix-ui/react-icons");
7945
- var import_lucide_react7 = require("lucide-react");
8164
+ var import_lucide_react8 = require("lucide-react");
7946
8165
  var import_react37 = require("react");
7947
8166
  var import_react_dropzone = require("react-dropzone");
7948
8167
  var import_jsx_runtime50 = require("react/jsx-runtime");
@@ -7973,7 +8192,7 @@ function FileUpload({
7973
8192
  /* @__PURE__ */ (0, import_jsx_runtime50.jsx)("input", __spreadValues({}, getInputProps())),
7974
8193
  value && !!value.length ? /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(ImagePreview, { file: value[0] }) : /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(import_react_icons19.AvatarIcon, { className: "h-36 w-36 text-gray-100" }),
7975
8194
  /* @__PURE__ */ (0, import_jsx_runtime50.jsxs)("p", { className: "absolute -bottom-5 left-1/2 flex w-full -translate-x-1/2 -translate-y-1/2 transform flex-col items-center justify-center bg-gray-300 bg-opacity-50 py-1 text-xs font-normal text-muted-foreground ", children: [
7976
- /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(import_lucide_react7.CameraIcon, { className: "h-4 w-4 text-muted-foreground" }),
8195
+ /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(import_lucide_react8.CameraIcon, { className: "h-4 w-4 text-muted-foreground" }),
7977
8196
  label
7978
8197
  ] })
7979
8198
  ] }))
@@ -8264,6 +8483,7 @@ function Dropzone({
8264
8483
  FormItem,
8265
8484
  FormLabel,
8266
8485
  FormMessage,
8486
+ FormSelect,
8267
8487
  Heading,
8268
8488
  HoverCard,
8269
8489
  HoverCardContent,