shadcn-ui-react 0.3.7 → 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, classNameDefault, type } = _b, props = __objRest(_b, ["className", "classNameDefault", "type"]);
5791
- return /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
5792
- "input",
5793
- __spreadValues({
5794
- type,
5795
- className: classNameDefault ? 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
5798
- ) : className,
5799
- ref
5800
- }, props)
5801
- );
5802
- }
5803
- );
5804
- Input.displayName = "Input";
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;
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,11 +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,
5820
6025
  classNameDefault,
5821
6026
  labelClassName,
5822
6027
  messageClassName,
5823
6028
  requiredLabelClassName,
6029
+ variant = "outline",
6030
+ size = "md",
5824
6031
  rules,
5825
6032
  shouldUnregister,
5826
6033
  defaultValue,
@@ -5836,6 +6043,8 @@ var FormField = (_a) => {
5836
6043
  "labelClassName",
5837
6044
  "messageClassName",
5838
6045
  "requiredLabelClassName",
6046
+ "variant",
6047
+ "size",
5839
6048
  "rules",
5840
6049
  "shouldUnregister",
5841
6050
  "defaultValue",
@@ -5846,7 +6055,7 @@ var FormField = (_a) => {
5846
6055
  formState: { errors }
5847
6056
  } = (0, import_react_hook_form2.useFormContext)();
5848
6057
  const fieldError = (_a2 = errors[name]) == null ? void 0 : _a2.message;
5849
- 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)(
5850
6059
  import_react_hook_form2.Controller,
5851
6060
  {
5852
6061
  control,
@@ -5854,32 +6063,43 @@ var FormField = (_a) => {
5854
6063
  rules,
5855
6064
  shouldUnregister,
5856
6065
  defaultValue,
5857
- render: ({ field }) => /* @__PURE__ */ (0, import_jsx_runtime19.jsxs)(FormItem, { children: [
5858
- label && /* @__PURE__ */ (0, import_jsx_runtime19.jsxs)(FormLabel, { className: cn("flex items-center self-center gap-0", labelClassName), children: [
5859
- label,
5860
- requiredLabel && /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(
5861
- import_lucide_react2.Asterisk,
5862
- {
5863
- className: cn(
5864
- "h-3 w-3 text-red-500 ml-[1px]",
5865
- 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
+ }
5866
6084
  )
5867
- }
5868
- )
5869
- ] }),
5870
- /* @__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)(
5871
6089
  Input,
5872
6090
  __spreadProps(__spreadValues(__spreadValues({}, field), inputProps), {
5873
6091
  onChange: (e) => {
5874
6092
  field.onChange(e);
5875
6093
  onChange == null ? void 0 : onChange(e.target.value);
5876
6094
  },
6095
+ variant,
6096
+ size,
5877
6097
  placeholder,
5878
- className,
6098
+ className: cn("bg-input px-[0.9rem] py-5", className),
5879
6099
  classNameDefault: classNameDefault != null ? classNameDefault : true
5880
6100
  })
5881
6101
  ) }),
5882
- 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 })
5883
6103
  ] })
5884
6104
  }
5885
6105
  ) });
@@ -5890,13 +6110,13 @@ var FormItemContext = import_react33.default.createContext(
5890
6110
  var FormItem = import_react33.default.forwardRef((_a, ref) => {
5891
6111
  var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
5892
6112
  const id = import_react33.default.useId();
5893
- 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)) });
5894
6114
  });
5895
6115
  FormItem.displayName = "FormItem";
5896
6116
  var FormLabel = import_react33.default.forwardRef((_a, ref) => {
5897
6117
  var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
5898
6118
  const { error, formItemId } = useFormField();
5899
- return /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(
6119
+ return /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(
5900
6120
  Label3,
5901
6121
  __spreadValues({
5902
6122
  ref,
@@ -5936,7 +6156,7 @@ var useFormField = () => {
5936
6156
  var FormControl = import_react33.default.forwardRef((_a, ref) => {
5937
6157
  var props = __objRest(_a, []);
5938
6158
  const { error, formItemId, formDescriptionId, formMessageId } = useFormField();
5939
- return /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(
6159
+ return /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(
5940
6160
  import_react_slot3.Slot,
5941
6161
  __spreadValues({
5942
6162
  ref,
@@ -5950,12 +6170,12 @@ FormControl.displayName = "FormControl";
5950
6170
  var FormDescription = import_react33.default.forwardRef((_a, ref) => {
5951
6171
  var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
5952
6172
  const { formDescriptionId } = useFormField();
5953
- return /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(
6173
+ return /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(
5954
6174
  "p",
5955
6175
  __spreadValues({
5956
6176
  ref,
5957
6177
  id: formDescriptionId,
5958
- className: cn("text-[0.8rem] text-muted-foreground", className)
6178
+ className: cn("text-muted-foreground text-[0.8rem]", className)
5959
6179
  }, props)
5960
6180
  );
5961
6181
  });
@@ -5967,28 +6187,154 @@ var FormMessage = import_react33.default.forwardRef((_a, ref) => {
5967
6187
  if (!body) {
5968
6188
  return null;
5969
6189
  }
5970
- return /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(
6190
+ return /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(
5971
6191
  "p",
5972
6192
  __spreadProps(__spreadValues({
5973
6193
  ref,
5974
6194
  id: formMessageId,
5975
- className: cn("text-[0.8rem] font-medium text-destructive", className)
6195
+ className: cn("text-destructive text-[0.8rem] font-medium", className)
5976
6196
  }, props), {
5977
6197
  children: body
5978
6198
  })
5979
6199
  );
5980
6200
  });
5981
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";
5982
6328
 
5983
6329
  // src/components/hover-card.tsx
5984
6330
  var HoverCardPrimitive = __toESM(require("@radix-ui/react-hover-card"), 1);
5985
- var React44 = __toESM(require("react"), 1);
5986
- var import_jsx_runtime20 = require("react/jsx-runtime");
6331
+ var React45 = __toESM(require("react"), 1);
6332
+ var import_jsx_runtime21 = require("react/jsx-runtime");
5987
6333
  var HoverCard = HoverCardPrimitive.Root;
5988
6334
  var HoverCardTrigger = HoverCardPrimitive.Trigger;
5989
- var HoverCardContent = React44.forwardRef((_a, ref) => {
6335
+ var HoverCardContent = React45.forwardRef((_a, ref) => {
5990
6336
  var _b = _a, { className, align = "center", sideOffset = 4 } = _b, props = __objRest(_b, ["className", "align", "sideOffset"]);
5991
- return /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(
6337
+ return /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(
5992
6338
  HoverCardPrimitive.Content,
5993
6339
  __spreadValues({
5994
6340
  ref,
@@ -6004,46 +6350,46 @@ var HoverCardContent = React44.forwardRef((_a, ref) => {
6004
6350
  HoverCardContent.displayName = HoverCardPrimitive.Content.displayName;
6005
6351
 
6006
6352
  // src/components/icons.tsx
6007
- var import_lucide_react3 = require("lucide-react");
6353
+ var import_lucide_react4 = require("lucide-react");
6008
6354
  var IconsApp = {
6009
- dashboard: import_lucide_react3.LayoutDashboardIcon,
6010
- logo: import_lucide_react3.Command,
6011
- login: import_lucide_react3.LogIn,
6012
- close: import_lucide_react3.X,
6013
- profile: import_lucide_react3.User2Icon,
6014
- spinner: import_lucide_react3.Loader2,
6015
- kanban: import_lucide_react3.CircuitBoardIcon,
6016
- chevronLeft: import_lucide_react3.ChevronLeft,
6017
- chevronRight: import_lucide_react3.ChevronRight,
6018
- trash: import_lucide_react3.Trash,
6019
- employee: import_lucide_react3.UserX2Icon,
6020
- post: import_lucide_react3.FileText,
6021
- page: import_lucide_react3.File,
6022
- media: import_lucide_react3.Image,
6023
- settings: import_lucide_react3.Settings,
6024
- billing: import_lucide_react3.CreditCard,
6025
- ellipsis: import_lucide_react3.MoreVertical,
6026
- add: import_lucide_react3.Plus,
6027
- warning: import_lucide_react3.AlertTriangle,
6028
- user: import_lucide_react3.User,
6029
- arrowRight: import_lucide_react3.ArrowRight,
6030
- help: import_lucide_react3.HelpCircle,
6031
- pizza: import_lucide_react3.Pizza,
6032
- sun: import_lucide_react3.SunMedium,
6033
- moon: import_lucide_react3.Moon,
6034
- laptop: import_lucide_react3.Laptop,
6035
- 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
6036
6382
  };
6037
6383
  var Icons = IconsApp;
6038
6384
 
6039
6385
  // src/components/input-otp.tsx
6040
- var import_react_icons9 = require("@radix-ui/react-icons");
6386
+ var import_react_icons10 = require("@radix-ui/react-icons");
6041
6387
  var import_input_otp = require("input-otp");
6042
- var React45 = __toESM(require("react"), 1);
6043
- var import_jsx_runtime21 = require("react/jsx-runtime");
6044
- 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) => {
6045
6391
  var _b = _a, { className, containerClassName } = _b, props = __objRest(_b, ["className", "containerClassName"]);
6046
- return /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(
6392
+ return /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(
6047
6393
  import_input_otp.OTPInput,
6048
6394
  __spreadValues({
6049
6395
  ref,
@@ -6056,16 +6402,16 @@ var InputOTP = React45.forwardRef((_a, ref) => {
6056
6402
  );
6057
6403
  });
6058
6404
  InputOTP.displayName = "InputOTP";
6059
- var InputOTPGroup = React45.forwardRef((_a, ref) => {
6405
+ var InputOTPGroup = React46.forwardRef((_a, ref) => {
6060
6406
  var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
6061
- 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));
6062
6408
  });
6063
6409
  InputOTPGroup.displayName = "InputOTPGroup";
6064
- var InputOTPSlot = React45.forwardRef((_a, ref) => {
6410
+ var InputOTPSlot = React46.forwardRef((_a, ref) => {
6065
6411
  var _b = _a, { index, className } = _b, props = __objRest(_b, ["index", "className"]);
6066
- const inputOTPContext = React45.useContext(import_input_otp.OTPInputContext);
6412
+ const inputOTPContext = React46.useContext(import_input_otp.OTPInputContext);
6067
6413
  const { char, hasFakeCaret, isActive } = inputOTPContext.slots[index];
6068
- return /* @__PURE__ */ (0, import_jsx_runtime21.jsxs)(
6414
+ return /* @__PURE__ */ (0, import_jsx_runtime22.jsxs)(
6069
6415
  "div",
6070
6416
  __spreadProps(__spreadValues({
6071
6417
  ref,
@@ -6077,31 +6423,31 @@ var InputOTPSlot = React45.forwardRef((_a, ref) => {
6077
6423
  }, props), {
6078
6424
  children: [
6079
6425
  char,
6080
- 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" }) })
6081
6427
  ]
6082
6428
  })
6083
6429
  );
6084
6430
  });
6085
6431
  InputOTPSlot.displayName = "InputOTPSlot";
6086
- var InputOTPSeparator = React45.forwardRef((_a, ref) => {
6432
+ var InputOTPSeparator = React46.forwardRef((_a, ref) => {
6087
6433
  var props = __objRest(_a, []);
6088
- 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, {}) }));
6089
6435
  });
6090
6436
  InputOTPSeparator.displayName = "InputOTPSeparator";
6091
6437
 
6092
6438
  // src/components/menubar.tsx
6093
- var import_react_icons10 = require("@radix-ui/react-icons");
6439
+ var import_react_icons11 = require("@radix-ui/react-icons");
6094
6440
  var MenubarPrimitive = __toESM(require("@radix-ui/react-menubar"), 1);
6095
- var React46 = __toESM(require("react"), 1);
6096
- var import_jsx_runtime22 = require("react/jsx-runtime");
6441
+ var React47 = __toESM(require("react"), 1);
6442
+ var import_jsx_runtime23 = require("react/jsx-runtime");
6097
6443
  var MenubarMenu = MenubarPrimitive.Menu;
6098
6444
  var MenubarGroup = MenubarPrimitive.Group;
6099
6445
  var MenubarPortal = MenubarPrimitive.Portal;
6100
6446
  var MenubarSub = MenubarPrimitive.Sub;
6101
6447
  var MenubarRadioGroup = MenubarPrimitive.RadioGroup;
6102
- var Menubar = React46.forwardRef((_a, ref) => {
6448
+ var Menubar = React47.forwardRef((_a, ref) => {
6103
6449
  var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
6104
- return /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(
6450
+ return /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(
6105
6451
  MenubarPrimitive.Root,
6106
6452
  __spreadValues({
6107
6453
  ref,
@@ -6113,9 +6459,9 @@ var Menubar = React46.forwardRef((_a, ref) => {
6113
6459
  );
6114
6460
  });
6115
6461
  Menubar.displayName = MenubarPrimitive.Root.displayName;
6116
- var MenubarTrigger = React46.forwardRef((_a, ref) => {
6462
+ var MenubarTrigger = React47.forwardRef((_a, ref) => {
6117
6463
  var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
6118
- return /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(
6464
+ return /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(
6119
6465
  MenubarPrimitive.Trigger,
6120
6466
  __spreadValues({
6121
6467
  ref,
@@ -6127,9 +6473,9 @@ var MenubarTrigger = React46.forwardRef((_a, ref) => {
6127
6473
  );
6128
6474
  });
6129
6475
  MenubarTrigger.displayName = MenubarPrimitive.Trigger.displayName;
6130
- var MenubarSubTrigger = React46.forwardRef((_a, ref) => {
6476
+ var MenubarSubTrigger = React47.forwardRef((_a, ref) => {
6131
6477
  var _b = _a, { className, inset, children } = _b, props = __objRest(_b, ["className", "inset", "children"]);
6132
- return /* @__PURE__ */ (0, import_jsx_runtime22.jsxs)(
6478
+ return /* @__PURE__ */ (0, import_jsx_runtime23.jsxs)(
6133
6479
  MenubarPrimitive.SubTrigger,
6134
6480
  __spreadProps(__spreadValues({
6135
6481
  ref,
@@ -6141,15 +6487,15 @@ var MenubarSubTrigger = React46.forwardRef((_a, ref) => {
6141
6487
  }, props), {
6142
6488
  children: [
6143
6489
  children,
6144
- /* @__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" })
6145
6491
  ]
6146
6492
  })
6147
6493
  );
6148
6494
  });
6149
6495
  MenubarSubTrigger.displayName = MenubarPrimitive.SubTrigger.displayName;
6150
- var MenubarSubContent = React46.forwardRef((_a, ref) => {
6496
+ var MenubarSubContent = React47.forwardRef((_a, ref) => {
6151
6497
  var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
6152
- return /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(
6498
+ return /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(
6153
6499
  MenubarPrimitive.SubContent,
6154
6500
  __spreadValues({
6155
6501
  ref,
@@ -6161,10 +6507,10 @@ var MenubarSubContent = React46.forwardRef((_a, ref) => {
6161
6507
  );
6162
6508
  });
6163
6509
  MenubarSubContent.displayName = MenubarPrimitive.SubContent.displayName;
6164
- var MenubarContent = React46.forwardRef(
6510
+ var MenubarContent = React47.forwardRef(
6165
6511
  (_a, ref) => {
6166
6512
  var _b = _a, { className, align = "start", alignOffset = -4, sideOffset = 8 } = _b, props = __objRest(_b, ["className", "align", "alignOffset", "sideOffset"]);
6167
- 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)(
6168
6514
  MenubarPrimitive.Content,
6169
6515
  __spreadValues({
6170
6516
  ref,
@@ -6180,9 +6526,9 @@ var MenubarContent = React46.forwardRef(
6180
6526
  }
6181
6527
  );
6182
6528
  MenubarContent.displayName = MenubarPrimitive.Content.displayName;
6183
- var MenubarItem = React46.forwardRef((_a, ref) => {
6529
+ var MenubarItem = React47.forwardRef((_a, ref) => {
6184
6530
  var _b = _a, { className, inset } = _b, props = __objRest(_b, ["className", "inset"]);
6185
- return /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(
6531
+ return /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(
6186
6532
  MenubarPrimitive.Item,
6187
6533
  __spreadValues({
6188
6534
  ref,
@@ -6195,9 +6541,9 @@ var MenubarItem = React46.forwardRef((_a, ref) => {
6195
6541
  );
6196
6542
  });
6197
6543
  MenubarItem.displayName = MenubarPrimitive.Item.displayName;
6198
- var MenubarCheckboxItem = React46.forwardRef((_a, ref) => {
6544
+ var MenubarCheckboxItem = React47.forwardRef((_a, ref) => {
6199
6545
  var _b = _a, { className, children, checked } = _b, props = __objRest(_b, ["className", "children", "checked"]);
6200
- return /* @__PURE__ */ (0, import_jsx_runtime22.jsxs)(
6546
+ return /* @__PURE__ */ (0, import_jsx_runtime23.jsxs)(
6201
6547
  MenubarPrimitive.CheckboxItem,
6202
6548
  __spreadProps(__spreadValues({
6203
6549
  ref,
@@ -6208,16 +6554,16 @@ var MenubarCheckboxItem = React46.forwardRef((_a, ref) => {
6208
6554
  checked
6209
6555
  }, props), {
6210
6556
  children: [
6211
- /* @__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" }) }) }),
6212
6558
  children
6213
6559
  ]
6214
6560
  })
6215
6561
  );
6216
6562
  });
6217
6563
  MenubarCheckboxItem.displayName = MenubarPrimitive.CheckboxItem.displayName;
6218
- var MenubarRadioItem = React46.forwardRef((_a, ref) => {
6564
+ var MenubarRadioItem = React47.forwardRef((_a, ref) => {
6219
6565
  var _b = _a, { className, children } = _b, props = __objRest(_b, ["className", "children"]);
6220
- return /* @__PURE__ */ (0, import_jsx_runtime22.jsxs)(
6566
+ return /* @__PURE__ */ (0, import_jsx_runtime23.jsxs)(
6221
6567
  MenubarPrimitive.RadioItem,
6222
6568
  __spreadProps(__spreadValues({
6223
6569
  ref,
@@ -6227,16 +6573,16 @@ var MenubarRadioItem = React46.forwardRef((_a, ref) => {
6227
6573
  )
6228
6574
  }, props), {
6229
6575
  children: [
6230
- /* @__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" }) }) }),
6231
6577
  children
6232
6578
  ]
6233
6579
  })
6234
6580
  );
6235
6581
  });
6236
6582
  MenubarRadioItem.displayName = MenubarPrimitive.RadioItem.displayName;
6237
- var MenubarLabel = React46.forwardRef((_a, ref) => {
6583
+ var MenubarLabel = React47.forwardRef((_a, ref) => {
6238
6584
  var _b = _a, { className, inset } = _b, props = __objRest(_b, ["className", "inset"]);
6239
- return /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(
6585
+ return /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(
6240
6586
  MenubarPrimitive.Label,
6241
6587
  __spreadValues({
6242
6588
  ref,
@@ -6249,9 +6595,9 @@ var MenubarLabel = React46.forwardRef((_a, ref) => {
6249
6595
  );
6250
6596
  });
6251
6597
  MenubarLabel.displayName = MenubarPrimitive.Label.displayName;
6252
- var MenubarSeparator = React46.forwardRef((_a, ref) => {
6598
+ var MenubarSeparator = React47.forwardRef((_a, ref) => {
6253
6599
  var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
6254
- return /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(
6600
+ return /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(
6255
6601
  MenubarPrimitive.Separator,
6256
6602
  __spreadValues({
6257
6603
  ref,
@@ -6266,7 +6612,7 @@ var MenubarShortcut = (_a) => {
6266
6612
  } = _b, props = __objRest(_b, [
6267
6613
  "className"
6268
6614
  ]);
6269
- return /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(
6615
+ return /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(
6270
6616
  "span",
6271
6617
  __spreadValues({
6272
6618
  className: cn(
@@ -6279,7 +6625,7 @@ var MenubarShortcut = (_a) => {
6279
6625
  MenubarShortcut.displayname = "MenubarShortcut";
6280
6626
 
6281
6627
  // src/components/modal.tsx
6282
- var import_jsx_runtime23 = require("react/jsx-runtime");
6628
+ var import_jsx_runtime24 = require("react/jsx-runtime");
6283
6629
  var Modal = ({
6284
6630
  title,
6285
6631
  description,
@@ -6293,24 +6639,24 @@ var Modal = ({
6293
6639
  onClose();
6294
6640
  }
6295
6641
  };
6296
- return /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(Dialog, { open: isOpen, onOpenChange: onChange, children: /* @__PURE__ */ (0, import_jsx_runtime23.jsxs)(DialogContent, { className, children: [
6297
- /* @__PURE__ */ (0, import_jsx_runtime23.jsxs)(DialogHeader, { children: [
6298
- /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(DialogTitle, { children: title }),
6299
- /* @__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 })
6300
6646
  ] }),
6301
- /* @__PURE__ */ (0, import_jsx_runtime23.jsx)("div", { children })
6647
+ /* @__PURE__ */ (0, import_jsx_runtime24.jsx)("div", { children })
6302
6648
  ] }) });
6303
6649
  };
6304
6650
 
6305
6651
  // src/components/navigation-menu.tsx
6306
- var import_react_icons11 = require("@radix-ui/react-icons");
6652
+ var import_react_icons12 = require("@radix-ui/react-icons");
6307
6653
  var NavigationMenuPrimitive = __toESM(require("@radix-ui/react-navigation-menu"), 1);
6308
6654
  var import_class_variance_authority5 = require("class-variance-authority");
6309
- var React47 = __toESM(require("react"), 1);
6310
- var import_jsx_runtime24 = require("react/jsx-runtime");
6311
- 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) => {
6312
6658
  var _b = _a, { className, children } = _b, props = __objRest(_b, ["className", "children"]);
6313
- return /* @__PURE__ */ (0, import_jsx_runtime24.jsxs)(
6659
+ return /* @__PURE__ */ (0, import_jsx_runtime25.jsxs)(
6314
6660
  NavigationMenuPrimitive.Root,
6315
6661
  __spreadProps(__spreadValues({
6316
6662
  ref,
@@ -6321,15 +6667,15 @@ var NavigationMenu = React47.forwardRef((_a, ref) => {
6321
6667
  }, props), {
6322
6668
  children: [
6323
6669
  children,
6324
- /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(NavigationMenuViewport, {})
6670
+ /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(NavigationMenuViewport, {})
6325
6671
  ]
6326
6672
  })
6327
6673
  );
6328
6674
  });
6329
6675
  NavigationMenu.displayName = NavigationMenuPrimitive.Root.displayName;
6330
- var NavigationMenuList = React47.forwardRef((_a, ref) => {
6676
+ var NavigationMenuList = React48.forwardRef((_a, ref) => {
6331
6677
  var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
6332
- return /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(
6678
+ return /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
6333
6679
  NavigationMenuPrimitive.List,
6334
6680
  __spreadValues({
6335
6681
  ref,
@@ -6345,9 +6691,9 @@ var NavigationMenuItem = NavigationMenuPrimitive.Item;
6345
6691
  var navigationMenuTriggerStyle = (0, import_class_variance_authority5.cva)(
6346
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"
6347
6693
  );
6348
- var NavigationMenuTrigger = React47.forwardRef((_a, ref) => {
6694
+ var NavigationMenuTrigger = React48.forwardRef((_a, ref) => {
6349
6695
  var _b = _a, { className, children } = _b, props = __objRest(_b, ["className", "children"]);
6350
- return /* @__PURE__ */ (0, import_jsx_runtime24.jsxs)(
6696
+ return /* @__PURE__ */ (0, import_jsx_runtime25.jsxs)(
6351
6697
  NavigationMenuPrimitive.Trigger,
6352
6698
  __spreadProps(__spreadValues({
6353
6699
  ref,
@@ -6356,8 +6702,8 @@ var NavigationMenuTrigger = React47.forwardRef((_a, ref) => {
6356
6702
  children: [
6357
6703
  children,
6358
6704
  " ",
6359
- /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(
6360
- import_react_icons11.ChevronDownIcon,
6705
+ /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
6706
+ import_react_icons12.ChevronDownIcon,
6361
6707
  {
6362
6708
  className: "relative top-[1px] ml-1 h-3 w-3 transition duration-300 group-data-[state=open]:rotate-180",
6363
6709
  "aria-hidden": "true"
@@ -6368,9 +6714,9 @@ var NavigationMenuTrigger = React47.forwardRef((_a, ref) => {
6368
6714
  );
6369
6715
  });
6370
6716
  NavigationMenuTrigger.displayName = NavigationMenuPrimitive.Trigger.displayName;
6371
- var NavigationMenuContent = React47.forwardRef((_a, ref) => {
6717
+ var NavigationMenuContent = React48.forwardRef((_a, ref) => {
6372
6718
  var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
6373
- return /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(
6719
+ return /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
6374
6720
  NavigationMenuPrimitive.Content,
6375
6721
  __spreadValues({
6376
6722
  ref,
@@ -6383,9 +6729,9 @@ var NavigationMenuContent = React47.forwardRef((_a, ref) => {
6383
6729
  });
6384
6730
  NavigationMenuContent.displayName = NavigationMenuPrimitive.Content.displayName;
6385
6731
  var NavigationMenuLink = NavigationMenuPrimitive.Link;
6386
- var NavigationMenuViewport = React47.forwardRef((_a, ref) => {
6732
+ var NavigationMenuViewport = React48.forwardRef((_a, ref) => {
6387
6733
  var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
6388
- 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)(
6389
6735
  NavigationMenuPrimitive.Viewport,
6390
6736
  __spreadValues({
6391
6737
  className: cn(
@@ -6397,9 +6743,9 @@ var NavigationMenuViewport = React47.forwardRef((_a, ref) => {
6397
6743
  ) });
6398
6744
  });
6399
6745
  NavigationMenuViewport.displayName = NavigationMenuPrimitive.Viewport.displayName;
6400
- var NavigationMenuIndicator = React47.forwardRef((_a, ref) => {
6746
+ var NavigationMenuIndicator = React48.forwardRef((_a, ref) => {
6401
6747
  var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
6402
- return /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(
6748
+ return /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
6403
6749
  NavigationMenuPrimitive.Indicator,
6404
6750
  __spreadProps(__spreadValues({
6405
6751
  ref,
@@ -6408,20 +6754,20 @@ var NavigationMenuIndicator = React47.forwardRef((_a, ref) => {
6408
6754
  className
6409
6755
  )
6410
6756
  }, props), {
6411
- 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" })
6412
6758
  })
6413
6759
  );
6414
6760
  });
6415
6761
  NavigationMenuIndicator.displayName = NavigationMenuPrimitive.Indicator.displayName;
6416
6762
 
6417
6763
  // src/components/pagination.tsx
6418
- var import_react_icons12 = require("@radix-ui/react-icons");
6419
- var React48 = __toESM(require("react"), 1);
6420
- var import_lucide_react4 = require("lucide-react");
6421
- 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");
6422
6768
  var Pagination = (_a) => {
6423
6769
  var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
6424
- return /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
6770
+ return /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
6425
6771
  "nav",
6426
6772
  __spreadValues({
6427
6773
  role: "navigation",
@@ -6431,9 +6777,9 @@ var Pagination = (_a) => {
6431
6777
  );
6432
6778
  };
6433
6779
  Pagination.displayName = "Pagination";
6434
- var PaginationContent = React48.forwardRef((_a, ref) => {
6780
+ var PaginationContent = React49.forwardRef((_a, ref) => {
6435
6781
  var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
6436
- return /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
6782
+ return /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
6437
6783
  "ul",
6438
6784
  __spreadValues({
6439
6785
  ref,
@@ -6442,9 +6788,9 @@ var PaginationContent = React48.forwardRef((_a, ref) => {
6442
6788
  );
6443
6789
  });
6444
6790
  PaginationContent.displayName = "PaginationContent";
6445
- var PaginationItem = React48.forwardRef((_a, ref) => {
6791
+ var PaginationItem = React49.forwardRef((_a, ref) => {
6446
6792
  var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
6447
- 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));
6448
6794
  });
6449
6795
  PaginationItem.displayName = "PaginationItem";
6450
6796
  var PaginationLink = (_a) => {
@@ -6457,7 +6803,7 @@ var PaginationLink = (_a) => {
6457
6803
  "isActive",
6458
6804
  "size"
6459
6805
  ]);
6460
- return /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
6806
+ return /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
6461
6807
  "a",
6462
6808
  __spreadValues({
6463
6809
  "aria-current": isActive ? "page" : void 0,
@@ -6478,7 +6824,7 @@ var PaginationPreviousLast = (_a) => {
6478
6824
  } = _b, props = __objRest(_b, [
6479
6825
  "className"
6480
6826
  ]);
6481
- return /* @__PURE__ */ (0, import_jsx_runtime25.jsxs)(
6827
+ return /* @__PURE__ */ (0, import_jsx_runtime26.jsxs)(
6482
6828
  PaginationLink,
6483
6829
  __spreadProps(__spreadValues({
6484
6830
  "aria-label": "Go to previous page",
@@ -6486,8 +6832,8 @@ var PaginationPreviousLast = (_a) => {
6486
6832
  className: cn("gap-1 pl-2.5", className)
6487
6833
  }, props), {
6488
6834
  children: [
6489
- /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(import_lucide_react4.ChevronLeft, { className: "h-4 w-4" }),
6490
- /* @__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" })
6491
6837
  ]
6492
6838
  })
6493
6839
  );
@@ -6499,7 +6845,7 @@ var PaginationPrevious = (_a) => {
6499
6845
  } = _b, props = __objRest(_b, [
6500
6846
  "className"
6501
6847
  ]);
6502
- return /* @__PURE__ */ (0, import_jsx_runtime25.jsxs)(
6848
+ return /* @__PURE__ */ (0, import_jsx_runtime26.jsxs)(
6503
6849
  PaginationLink,
6504
6850
  __spreadProps(__spreadValues({
6505
6851
  "aria-label": "Go to previous page",
@@ -6507,8 +6853,8 @@ var PaginationPrevious = (_a) => {
6507
6853
  className: cn("gap-1 pl-2.5", className)
6508
6854
  }, props), {
6509
6855
  children: [
6510
- /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(import_react_icons12.ChevronLeftIcon, { className: "h-4 w-4" }),
6511
- /* @__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" })
6512
6858
  ]
6513
6859
  })
6514
6860
  );
@@ -6520,7 +6866,7 @@ var PaginationNext = (_a) => {
6520
6866
  } = _b, props = __objRest(_b, [
6521
6867
  "className"
6522
6868
  ]);
6523
- return /* @__PURE__ */ (0, import_jsx_runtime25.jsxs)(
6869
+ return /* @__PURE__ */ (0, import_jsx_runtime26.jsxs)(
6524
6870
  PaginationLink,
6525
6871
  __spreadProps(__spreadValues({
6526
6872
  "aria-label": "Go to next page",
@@ -6528,8 +6874,8 @@ var PaginationNext = (_a) => {
6528
6874
  className: cn("gap-1 pr-2.5", className)
6529
6875
  }, props), {
6530
6876
  children: [
6531
- /* @__PURE__ */ (0, import_jsx_runtime25.jsx)("span", { children: "Next" }),
6532
- /* @__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" })
6533
6879
  ]
6534
6880
  })
6535
6881
  );
@@ -6541,7 +6887,7 @@ var PaginationNextLast = (_a) => {
6541
6887
  } = _b, props = __objRest(_b, [
6542
6888
  "className"
6543
6889
  ]);
6544
- return /* @__PURE__ */ (0, import_jsx_runtime25.jsxs)(
6890
+ return /* @__PURE__ */ (0, import_jsx_runtime26.jsxs)(
6545
6891
  PaginationLink,
6546
6892
  __spreadProps(__spreadValues({
6547
6893
  "aria-label": "Go to next page",
@@ -6549,8 +6895,8 @@ var PaginationNextLast = (_a) => {
6549
6895
  className: cn("gap-1 pr-2.5", className)
6550
6896
  }, props), {
6551
6897
  children: [
6552
- /* @__PURE__ */ (0, import_jsx_runtime25.jsx)("span", { className: "sr-only", children: "Next Last" }),
6553
- /* @__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" })
6554
6900
  ]
6555
6901
  })
6556
6902
  );
@@ -6562,15 +6908,15 @@ var PaginationEllipsis = (_a) => {
6562
6908
  } = _b, props = __objRest(_b, [
6563
6909
  "className"
6564
6910
  ]);
6565
- return /* @__PURE__ */ (0, import_jsx_runtime25.jsxs)(
6911
+ return /* @__PURE__ */ (0, import_jsx_runtime26.jsxs)(
6566
6912
  "span",
6567
6913
  __spreadProps(__spreadValues({
6568
6914
  "aria-hidden": true,
6569
6915
  className: cn("flex h-9 w-9 items-center justify-center", className)
6570
6916
  }, props), {
6571
6917
  children: [
6572
- /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(import_react_icons12.DotsHorizontalIcon, { className: "h-4 w-4" }),
6573
- /* @__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" })
6574
6920
  ]
6575
6921
  })
6576
6922
  );
@@ -6579,14 +6925,14 @@ PaginationEllipsis.displayName = "PaginationEllipsis";
6579
6925
 
6580
6926
  // src/components/popover.tsx
6581
6927
  var PopoverPrimitive = __toESM(require("@radix-ui/react-popover"), 1);
6582
- var React49 = __toESM(require("react"), 1);
6583
- var import_jsx_runtime26 = require("react/jsx-runtime");
6928
+ var React50 = __toESM(require("react"), 1);
6929
+ var import_jsx_runtime27 = require("react/jsx-runtime");
6584
6930
  var Popover = PopoverPrimitive.Root;
6585
6931
  var PopoverTrigger = PopoverPrimitive.Trigger;
6586
6932
  var PopoverAnchor = PopoverPrimitive.Anchor;
6587
- var PopoverContent = React49.forwardRef((_a, ref) => {
6933
+ var PopoverContent = React50.forwardRef((_a, ref) => {
6588
6934
  var _b = _a, { className, align = "center", sideOffset = 4 } = _b, props = __objRest(_b, ["className", "align", "sideOffset"]);
6589
- 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)(
6590
6936
  PopoverPrimitive.Content,
6591
6937
  __spreadValues({
6592
6938
  ref,
@@ -6603,11 +6949,11 @@ PopoverContent.displayName = PopoverPrimitive.Content.displayName;
6603
6949
 
6604
6950
  // src/components/progress.tsx
6605
6951
  var ProgressPrimitive = __toESM(require("@radix-ui/react-progress"), 1);
6606
- var React50 = __toESM(require("react"), 1);
6607
- var import_jsx_runtime27 = require("react/jsx-runtime");
6608
- 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) => {
6609
6955
  var _b = _a, { className, value } = _b, props = __objRest(_b, ["className", "value"]);
6610
- return /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
6956
+ return /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
6611
6957
  ProgressPrimitive.Root,
6612
6958
  __spreadProps(__spreadValues({
6613
6959
  ref,
@@ -6616,7 +6962,7 @@ var Progress = React50.forwardRef((_a, ref) => {
6616
6962
  className
6617
6963
  )
6618
6964
  }, props), {
6619
- children: /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
6965
+ children: /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
6620
6966
  ProgressPrimitive.Indicator,
6621
6967
  {
6622
6968
  className: "h-full w-full flex-1 bg-primary transition-all",
@@ -6629,13 +6975,13 @@ var Progress = React50.forwardRef((_a, ref) => {
6629
6975
  Progress.displayName = ProgressPrimitive.Root.displayName;
6630
6976
 
6631
6977
  // src/components/radio-group.tsx
6632
- var import_react_icons13 = require("@radix-ui/react-icons");
6978
+ var import_react_icons14 = require("@radix-ui/react-icons");
6633
6979
  var RadioGroupPrimitive = __toESM(require("@radix-ui/react-radio-group"), 1);
6634
- var React51 = __toESM(require("react"), 1);
6635
- var import_jsx_runtime28 = require("react/jsx-runtime");
6636
- 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) => {
6637
6983
  var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
6638
- return /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
6984
+ return /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(
6639
6985
  RadioGroupPrimitive.Root,
6640
6986
  __spreadProps(__spreadValues({
6641
6987
  className: cn("grid gap-2", className)
@@ -6645,9 +6991,9 @@ var RadioGroup4 = React51.forwardRef((_a, ref) => {
6645
6991
  );
6646
6992
  });
6647
6993
  RadioGroup4.displayName = RadioGroupPrimitive.Root.displayName;
6648
- var RadioGroupItem = React51.forwardRef((_a, ref) => {
6994
+ var RadioGroupItem = React52.forwardRef((_a, ref) => {
6649
6995
  var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
6650
- return /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
6996
+ return /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(
6651
6997
  RadioGroupPrimitive.Item,
6652
6998
  __spreadProps(__spreadValues({
6653
6999
  ref,
@@ -6656,23 +7002,23 @@ var RadioGroupItem = React51.forwardRef((_a, ref) => {
6656
7002
  className
6657
7003
  )
6658
7004
  }, props), {
6659
- 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" }) })
6660
7006
  })
6661
7007
  );
6662
7008
  });
6663
7009
  RadioGroupItem.displayName = RadioGroupPrimitive.Item.displayName;
6664
7010
 
6665
7011
  // src/components/resizable.tsx
6666
- var import_react_icons14 = require("@radix-ui/react-icons");
7012
+ var import_react_icons15 = require("@radix-ui/react-icons");
6667
7013
  var ResizablePrimitive = __toESM(require("react-resizable-panels"), 1);
6668
- var import_jsx_runtime29 = require("react/jsx-runtime");
7014
+ var import_jsx_runtime30 = require("react/jsx-runtime");
6669
7015
  var ResizablePanelGroup = (_a) => {
6670
7016
  var _b = _a, {
6671
7017
  className
6672
7018
  } = _b, props = __objRest(_b, [
6673
7019
  "className"
6674
7020
  ]);
6675
- return /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(
7021
+ return /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(
6676
7022
  ResizablePrimitive.PanelGroup,
6677
7023
  __spreadValues({
6678
7024
  className: cn(
@@ -6691,7 +7037,7 @@ var ResizableHandle = (_a) => {
6691
7037
  "withHandle",
6692
7038
  "className"
6693
7039
  ]);
6694
- return /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(
7040
+ return /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(
6695
7041
  ResizablePrimitive.PanelResizeHandle,
6696
7042
  __spreadProps(__spreadValues({
6697
7043
  className: cn(
@@ -6699,35 +7045,35 @@ var ResizableHandle = (_a) => {
6699
7045
  className
6700
7046
  )
6701
7047
  }, props), {
6702
- 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" }) })
6703
7049
  })
6704
7050
  );
6705
7051
  };
6706
7052
 
6707
7053
  // src/components/scroll-area.tsx
6708
7054
  var ScrollAreaPrimitive = __toESM(require("@radix-ui/react-scroll-area"), 1);
6709
- var React52 = __toESM(require("react"), 1);
6710
- var import_jsx_runtime30 = require("react/jsx-runtime");
6711
- 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) => {
6712
7058
  var _b = _a, { className, children } = _b, props = __objRest(_b, ["className", "children"]);
6713
- return /* @__PURE__ */ (0, import_jsx_runtime30.jsxs)(
7059
+ return /* @__PURE__ */ (0, import_jsx_runtime31.jsxs)(
6714
7060
  ScrollAreaPrimitive.Root,
6715
7061
  __spreadProps(__spreadValues({
6716
7062
  ref,
6717
7063
  className: cn("relative overflow-hidden", className)
6718
7064
  }, props), {
6719
7065
  children: [
6720
- /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(ScrollAreaPrimitive.Viewport, { className: "h-full w-full rounded-[inherit]", children }),
6721
- /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(ScrollBar, {}),
6722
- /* @__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, {})
6723
7069
  ]
6724
7070
  })
6725
7071
  );
6726
7072
  });
6727
7073
  ScrollArea.displayName = ScrollAreaPrimitive.Root.displayName;
6728
- var ScrollBar = React52.forwardRef((_a, ref) => {
7074
+ var ScrollBar = React53.forwardRef((_a, ref) => {
6729
7075
  var _b = _a, { className, orientation = "vertical" } = _b, props = __objRest(_b, ["className", "orientation"]);
6730
- return /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(
7076
+ return /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(
6731
7077
  ScrollAreaPrimitive.ScrollAreaScrollbar,
6732
7078
  __spreadProps(__spreadValues({
6733
7079
  ref,
@@ -6739,7 +7085,7 @@ var ScrollBar = React52.forwardRef((_a, ref) => {
6739
7085
  className
6740
7086
  )
6741
7087
  }, props), {
6742
- 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" })
6743
7089
  })
6744
7090
  );
6745
7091
  });
@@ -6748,7 +7094,7 @@ ScrollBar.displayName = ScrollAreaPrimitive.ScrollAreaScrollbar.displayName;
6748
7094
  // src/components/search-input.tsx
6749
7095
  var import_react34 = __toESM(require("react"), 1);
6750
7096
  var import_use_debounce = require("use-debounce");
6751
- var import_jsx_runtime31 = require("react/jsx-runtime");
7097
+ var import_jsx_runtime32 = require("react/jsx-runtime");
6752
7098
  function SearchInput({
6753
7099
  value,
6754
7100
  placeholder,
@@ -6768,7 +7114,7 @@ function SearchInput({
6768
7114
  import_react34.default.useEffect(() => {
6769
7115
  setSearchTerm(value);
6770
7116
  }, [value]);
6771
- return /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(
7117
+ return /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(
6772
7118
  Input,
6773
7119
  {
6774
7120
  placeholder: placeholder || `Search...`,
@@ -6780,138 +7126,6 @@ function SearchInput({
6780
7126
  );
6781
7127
  }
6782
7128
 
6783
- // src/components/select.tsx
6784
- var import_react_icons15 = require("@radix-ui/react-icons");
6785
- var SelectPrimitive = __toESM(require("@radix-ui/react-select"), 1);
6786
- var React54 = __toESM(require("react"), 1);
6787
- var import_jsx_runtime32 = require("react/jsx-runtime");
6788
- var Select2 = SelectPrimitive.Root;
6789
- var SelectGroup = SelectPrimitive.Group;
6790
- var SelectValue = SelectPrimitive.Value;
6791
- var SelectTrigger = React54.forwardRef((_a, ref) => {
6792
- var _b = _a, { className, children } = _b, props = __objRest(_b, ["className", "children"]);
6793
- return /* @__PURE__ */ (0, import_jsx_runtime32.jsxs)(
6794
- SelectPrimitive.Trigger,
6795
- __spreadProps(__spreadValues({
6796
- ref,
6797
- className: cn(
6798
- "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",
6799
- className
6800
- )
6801
- }, props), {
6802
- children: [
6803
- children,
6804
- /* @__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" }) })
6805
- ]
6806
- })
6807
- );
6808
- });
6809
- SelectTrigger.displayName = SelectPrimitive.Trigger.displayName;
6810
- var SelectScrollUpButton = React54.forwardRef((_a, ref) => {
6811
- var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
6812
- return /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(
6813
- SelectPrimitive.ScrollUpButton,
6814
- __spreadProps(__spreadValues({
6815
- ref,
6816
- className: cn(
6817
- "flex cursor-default items-center justify-center py-1",
6818
- className
6819
- )
6820
- }, props), {
6821
- children: /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(import_react_icons15.ChevronUpIcon, {})
6822
- })
6823
- );
6824
- });
6825
- SelectScrollUpButton.displayName = SelectPrimitive.ScrollUpButton.displayName;
6826
- var SelectScrollDownButton = React54.forwardRef((_a, ref) => {
6827
- var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
6828
- return /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(
6829
- SelectPrimitive.ScrollDownButton,
6830
- __spreadProps(__spreadValues({
6831
- ref,
6832
- className: cn(
6833
- "flex cursor-default items-center justify-center py-1",
6834
- className
6835
- )
6836
- }, props), {
6837
- children: /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(import_react_icons15.ChevronDownIcon, {})
6838
- })
6839
- );
6840
- });
6841
- SelectScrollDownButton.displayName = SelectPrimitive.ScrollDownButton.displayName;
6842
- var SelectContent = React54.forwardRef((_a, ref) => {
6843
- var _b = _a, { className, children, position = "popper" } = _b, props = __objRest(_b, ["className", "children", "position"]);
6844
- return /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(SelectPrimitive.Portal, { children: /* @__PURE__ */ (0, import_jsx_runtime32.jsxs)(
6845
- SelectPrimitive.Content,
6846
- __spreadProps(__spreadValues({
6847
- ref,
6848
- className: cn(
6849
- "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",
6850
- 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",
6851
- className
6852
- ),
6853
- position
6854
- }, props), {
6855
- children: [
6856
- /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(SelectScrollUpButton, {}),
6857
- /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(
6858
- SelectPrimitive.Viewport,
6859
- {
6860
- className: cn(
6861
- "p-1",
6862
- position === "popper" && "h-[var(--radix-select-trigger-height)] w-full min-w-[var(--radix-select-trigger-width)]"
6863
- ),
6864
- children
6865
- }
6866
- ),
6867
- /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(SelectScrollDownButton, {})
6868
- ]
6869
- })
6870
- ) });
6871
- });
6872
- SelectContent.displayName = SelectPrimitive.Content.displayName;
6873
- var SelectLabel = React54.forwardRef((_a, ref) => {
6874
- var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
6875
- return /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(
6876
- SelectPrimitive.Label,
6877
- __spreadValues({
6878
- ref,
6879
- className: cn("px-2 py-1.5 text-sm font-semibold", className)
6880
- }, props)
6881
- );
6882
- });
6883
- SelectLabel.displayName = SelectPrimitive.Label.displayName;
6884
- var SelectItem = React54.forwardRef((_a, ref) => {
6885
- var _b = _a, { className, children } = _b, props = __objRest(_b, ["className", "children"]);
6886
- return /* @__PURE__ */ (0, import_jsx_runtime32.jsxs)(
6887
- SelectPrimitive.Item,
6888
- __spreadProps(__spreadValues({
6889
- ref,
6890
- className: cn(
6891
- "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",
6892
- className
6893
- )
6894
- }, props), {
6895
- children: [
6896
- /* @__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" }) }) }),
6897
- /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(SelectPrimitive.ItemText, { children })
6898
- ]
6899
- })
6900
- );
6901
- });
6902
- SelectItem.displayName = SelectPrimitive.Item.displayName;
6903
- var SelectSeparator = React54.forwardRef((_a, ref) => {
6904
- var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
6905
- return /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(
6906
- SelectPrimitive.Separator,
6907
- __spreadValues({
6908
- ref,
6909
- className: cn("-mx-1 my-1 h-px bg-muted", className)
6910
- }, props)
6911
- );
6912
- });
6913
- SelectSeparator.displayName = SelectPrimitive.Separator.displayName;
6914
-
6915
7129
  // src/components/separator.tsx
6916
7130
  var SeparatorPrimitive = __toESM(require("@radix-ui/react-separator"), 1);
6917
7131
  var React55 = __toESM(require("react"), 1);
@@ -7668,13 +7882,13 @@ var AlertModal = ({
7668
7882
  };
7669
7883
 
7670
7884
  // src/shared/breadcrumbs.tsx
7671
- var import_lucide_react5 = require("lucide-react");
7885
+ var import_lucide_react6 = require("lucide-react");
7672
7886
  var import_react35 = require("react");
7673
7887
  var import_jsx_runtime47 = require("react/jsx-runtime");
7674
7888
  function Breadcrumbs({ items, className, classNameList }) {
7675
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: [
7676
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 }) }),
7677
- 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, {}) }),
7678
7892
  index === items.length - 1 && /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(BreadcrumbPage, { children: item.title })
7679
7893
  ] }, item.title)) }) });
7680
7894
  }
@@ -7683,7 +7897,7 @@ function Breadcrumbs({ items, className, classNameList }) {
7683
7897
  var import_react36 = __toESM(require("react"), 1);
7684
7898
  var import_react_icons18 = require("@radix-ui/react-icons");
7685
7899
  var import_react_table = require("@tanstack/react-table");
7686
- var import_lucide_react6 = require("lucide-react");
7900
+ var import_lucide_react7 = require("lucide-react");
7687
7901
  var import_jsx_runtime48 = require("react/jsx-runtime");
7688
7902
  function DataTable({
7689
7903
  columns,
@@ -7872,7 +8086,7 @@ function DataTable({
7872
8086
  pageIndex: pagination.pageIndex - 1
7873
8087
  })),
7874
8088
  disabled: pagination.pageIndex === 0,
7875
- 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" })
7876
8090
  }
7877
8091
  ),
7878
8092
  /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(
@@ -7885,7 +8099,7 @@ function DataTable({
7885
8099
  pageIndex: pagination.pageIndex + 1
7886
8100
  })),
7887
8101
  disabled: pagination.pageIndex + 1 >= pageCount,
7888
- 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" })
7889
8103
  }
7890
8104
  ),
7891
8105
  /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(
@@ -7947,7 +8161,7 @@ function DataTableSkeleton({
7947
8161
 
7948
8162
  // src/shared/fileupload.tsx
7949
8163
  var import_react_icons19 = require("@radix-ui/react-icons");
7950
- var import_lucide_react7 = require("lucide-react");
8164
+ var import_lucide_react8 = require("lucide-react");
7951
8165
  var import_react37 = require("react");
7952
8166
  var import_react_dropzone = require("react-dropzone");
7953
8167
  var import_jsx_runtime50 = require("react/jsx-runtime");
@@ -7978,7 +8192,7 @@ function FileUpload({
7978
8192
  /* @__PURE__ */ (0, import_jsx_runtime50.jsx)("input", __spreadValues({}, getInputProps())),
7979
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" }),
7980
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: [
7981
- /* @__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" }),
7982
8196
  label
7983
8197
  ] })
7984
8198
  ] }))
@@ -8269,6 +8483,7 @@ function Dropzone({
8269
8483
  FormItem,
8270
8484
  FormLabel,
8271
8485
  FormMessage,
8486
+ FormSelect,
8272
8487
  Heading,
8273
8488
  HoverCard,
8274
8489
  HoverCardContent,