@phsa.tec/design-system-react 0.1.10 → 0.3.0

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.mjs CHANGED
@@ -974,17 +974,102 @@ var DataPairList = ({
974
974
  );
975
975
  };
976
976
 
977
+ // src/components/ui/card.tsx
978
+ import * as React8 from "react";
979
+ import { jsx as jsx15 } from "react/jsx-runtime";
980
+ var Card = React8.forwardRef((_a, ref) => {
981
+ var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
982
+ return /* @__PURE__ */ jsx15(
983
+ "div",
984
+ __spreadValues({
985
+ ref,
986
+ className: cn(
987
+ "rounded-xl border bg-card text-card-foreground shadow",
988
+ className
989
+ )
990
+ }, props)
991
+ );
992
+ });
993
+ Card.displayName = "Card";
994
+ var CardHeader = React8.forwardRef((_a, ref) => {
995
+ var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
996
+ return /* @__PURE__ */ jsx15(
997
+ "div",
998
+ __spreadValues({
999
+ ref,
1000
+ className: cn("flex flex-col space-y-1.5 p-6", className)
1001
+ }, props)
1002
+ );
1003
+ });
1004
+ CardHeader.displayName = "CardHeader";
1005
+ var CardTitle = React8.forwardRef((_a, ref) => {
1006
+ var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
1007
+ return /* @__PURE__ */ jsx15(
1008
+ "div",
1009
+ __spreadValues({
1010
+ ref,
1011
+ className: cn("font-semibold leading-none tracking-tight", className)
1012
+ }, props)
1013
+ );
1014
+ });
1015
+ CardTitle.displayName = "CardTitle";
1016
+ var CardDescription = React8.forwardRef((_a, ref) => {
1017
+ var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
1018
+ return /* @__PURE__ */ jsx15(
1019
+ "div",
1020
+ __spreadValues({
1021
+ ref,
1022
+ className: cn("text-sm text-muted-foreground", className)
1023
+ }, props)
1024
+ );
1025
+ });
1026
+ CardDescription.displayName = "CardDescription";
1027
+ var CardContent = React8.forwardRef((_a, ref) => {
1028
+ var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
1029
+ return /* @__PURE__ */ jsx15("div", __spreadValues({ ref, className: cn("p-6 pt-0", className) }, props));
1030
+ });
1031
+ CardContent.displayName = "CardContent";
1032
+ var CardFooter = React8.forwardRef((_a, ref) => {
1033
+ var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
1034
+ return /* @__PURE__ */ jsx15(
1035
+ "div",
1036
+ __spreadValues({
1037
+ ref,
1038
+ className: cn("flex items-center p-6 pt-0", className)
1039
+ }, props)
1040
+ );
1041
+ });
1042
+ CardFooter.displayName = "CardFooter";
1043
+
1044
+ // src/components/dataDisplay/Card/Card.tsx
1045
+ import { Fragment as Fragment3, jsx as jsx16, jsxs as jsxs9 } from "react/jsx-runtime";
1046
+ var Card2 = ({
1047
+ title,
1048
+ children,
1049
+ description,
1050
+ footer = () => /* @__PURE__ */ jsx16(Fragment3, {})
1051
+ }) => {
1052
+ return /* @__PURE__ */ jsxs9(Card, { children: [
1053
+ /* @__PURE__ */ jsxs9(CardHeader, { children: [
1054
+ title && /* @__PURE__ */ jsx16(CardTitle, { children: title }),
1055
+ description && /* @__PURE__ */ jsx16(CardDescription, { children: description })
1056
+ ] }),
1057
+ children && /* @__PURE__ */ jsx16(CardContent, { children }),
1058
+ footer && /* @__PURE__ */ jsx16(CardFooter, { children: footer() })
1059
+ ] });
1060
+ };
1061
+
977
1062
  // src/components/dataInput/checkbox/Checkbox.tsx
978
1063
  import { useFormContext as useFormContext3 } from "react-hook-form";
979
1064
 
980
1065
  // src/components/ui/checkbox.tsx
981
- import * as React8 from "react";
1066
+ import * as React9 from "react";
982
1067
  import * as CheckboxPrimitive from "@radix-ui/react-checkbox";
983
1068
  import { Check as Check3 } from "lucide-react";
984
- import { jsx as jsx15 } from "react/jsx-runtime";
985
- var Checkbox = React8.forwardRef((_a, ref) => {
1069
+ import { jsx as jsx17 } from "react/jsx-runtime";
1070
+ var Checkbox = React9.forwardRef((_a, ref) => {
986
1071
  var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
987
- return /* @__PURE__ */ jsx15(
1072
+ return /* @__PURE__ */ jsx17(
988
1073
  CheckboxPrimitive.Root,
989
1074
  __spreadProps(__spreadValues({
990
1075
  ref,
@@ -993,11 +1078,11 @@ var Checkbox = React8.forwardRef((_a, ref) => {
993
1078
  className
994
1079
  )
995
1080
  }, props), {
996
- children: /* @__PURE__ */ jsx15(
1081
+ children: /* @__PURE__ */ jsx17(
997
1082
  CheckboxPrimitive.Indicator,
998
1083
  {
999
1084
  className: cn("flex items-center justify-center text-current"),
1000
- children: /* @__PURE__ */ jsx15(Check3, { className: "h-4 w-4" })
1085
+ children: /* @__PURE__ */ jsx17(Check3, { className: "h-4 w-4" })
1001
1086
  }
1002
1087
  )
1003
1088
  })
@@ -1006,16 +1091,16 @@ var Checkbox = React8.forwardRef((_a, ref) => {
1006
1091
  Checkbox.displayName = CheckboxPrimitive.Root.displayName;
1007
1092
 
1008
1093
  // src/components/ui/label.tsx
1009
- import * as React9 from "react";
1094
+ import * as React10 from "react";
1010
1095
  import * as LabelPrimitive from "@radix-ui/react-label";
1011
1096
  import { cva as cva4 } from "class-variance-authority";
1012
- import { jsx as jsx16 } from "react/jsx-runtime";
1097
+ import { jsx as jsx18 } from "react/jsx-runtime";
1013
1098
  var labelVariants = cva4(
1014
1099
  "text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70"
1015
1100
  );
1016
- var Label3 = React9.forwardRef((_a, ref) => {
1101
+ var Label3 = React10.forwardRef((_a, ref) => {
1017
1102
  var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
1018
- return /* @__PURE__ */ jsx16(
1103
+ return /* @__PURE__ */ jsx18(
1019
1104
  LabelPrimitive.Root,
1020
1105
  __spreadValues({
1021
1106
  ref,
@@ -1029,25 +1114,25 @@ Label3.displayName = LabelPrimitive.Root.displayName;
1029
1114
  import { useFormContext as useFormContext2 } from "react-hook-form";
1030
1115
 
1031
1116
  // src/components/ui/form.tsx
1032
- import * as React10 from "react";
1117
+ import * as React11 from "react";
1033
1118
  import { Slot as Slot2 } from "@radix-ui/react-slot";
1034
1119
  import {
1035
1120
  Controller,
1036
1121
  FormProvider,
1037
1122
  useFormContext
1038
1123
  } from "react-hook-form";
1039
- import { jsx as jsx17 } from "react/jsx-runtime";
1124
+ import { jsx as jsx19 } from "react/jsx-runtime";
1040
1125
  var Form = FormProvider;
1041
- var FormFieldContext = React10.createContext(
1126
+ var FormFieldContext = React11.createContext(
1042
1127
  {}
1043
1128
  );
1044
1129
  var FormField = (_a) => {
1045
1130
  var props = __objRest(_a, []);
1046
- return /* @__PURE__ */ jsx17(FormFieldContext.Provider, { value: { name: props.name }, children: /* @__PURE__ */ jsx17(Controller, __spreadValues({}, props)) });
1131
+ return /* @__PURE__ */ jsx19(FormFieldContext.Provider, { value: { name: props.name }, children: /* @__PURE__ */ jsx19(Controller, __spreadValues({}, props)) });
1047
1132
  };
1048
1133
  var useFormField = () => {
1049
- const fieldContext = React10.useContext(FormFieldContext);
1050
- const itemContext = React10.useContext(FormItemContext);
1134
+ const fieldContext = React11.useContext(FormFieldContext);
1135
+ const itemContext = React11.useContext(FormItemContext);
1051
1136
  const { getFieldState, formState } = useFormContext();
1052
1137
  const fieldState = getFieldState(fieldContext.name, formState);
1053
1138
  if (!fieldContext) {
@@ -1062,19 +1147,19 @@ var useFormField = () => {
1062
1147
  formMessageId: `${id}-form-item-message`
1063
1148
  }, fieldState);
1064
1149
  };
1065
- var FormItemContext = React10.createContext(
1150
+ var FormItemContext = React11.createContext(
1066
1151
  {}
1067
1152
  );
1068
- var FormItem = React10.forwardRef((_a, ref) => {
1153
+ var FormItem = React11.forwardRef((_a, ref) => {
1069
1154
  var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
1070
- const id = React10.useId();
1071
- return /* @__PURE__ */ jsx17(FormItemContext.Provider, { value: { id }, children: /* @__PURE__ */ jsx17("div", __spreadValues({ ref, className: cn("space-y-2", className) }, props)) });
1155
+ const id = React11.useId();
1156
+ return /* @__PURE__ */ jsx19(FormItemContext.Provider, { value: { id }, children: /* @__PURE__ */ jsx19("div", __spreadValues({ ref, className: cn("space-y-2", className) }, props)) });
1072
1157
  });
1073
1158
  FormItem.displayName = "FormItem";
1074
- var FormLabel = React10.forwardRef((_a, ref) => {
1159
+ var FormLabel = React11.forwardRef((_a, ref) => {
1075
1160
  var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
1076
1161
  const { error, formItemId } = useFormField();
1077
- return /* @__PURE__ */ jsx17(
1162
+ return /* @__PURE__ */ jsx19(
1078
1163
  Label3,
1079
1164
  __spreadValues({
1080
1165
  ref,
@@ -1084,10 +1169,10 @@ var FormLabel = React10.forwardRef((_a, ref) => {
1084
1169
  );
1085
1170
  });
1086
1171
  FormLabel.displayName = "FormLabel";
1087
- var FormControl = React10.forwardRef((_a, ref) => {
1172
+ var FormControl = React11.forwardRef((_a, ref) => {
1088
1173
  var props = __objRest(_a, []);
1089
1174
  const { error, formItemId, formDescriptionId, formMessageId } = useFormField();
1090
- return /* @__PURE__ */ jsx17(
1175
+ return /* @__PURE__ */ jsx19(
1091
1176
  Slot2,
1092
1177
  __spreadValues({
1093
1178
  ref,
@@ -1098,10 +1183,10 @@ var FormControl = React10.forwardRef((_a, ref) => {
1098
1183
  );
1099
1184
  });
1100
1185
  FormControl.displayName = "FormControl";
1101
- var FormDescription = React10.forwardRef((_a, ref) => {
1186
+ var FormDescription = React11.forwardRef((_a, ref) => {
1102
1187
  var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
1103
1188
  const { formDescriptionId } = useFormField();
1104
- return /* @__PURE__ */ jsx17(
1189
+ return /* @__PURE__ */ jsx19(
1105
1190
  "p",
1106
1191
  __spreadValues({
1107
1192
  ref,
@@ -1111,14 +1196,14 @@ var FormDescription = React10.forwardRef((_a, ref) => {
1111
1196
  );
1112
1197
  });
1113
1198
  FormDescription.displayName = "FormDescription";
1114
- var FormMessage = React10.forwardRef((_a, ref) => {
1199
+ var FormMessage = React11.forwardRef((_a, ref) => {
1115
1200
  var _b = _a, { className, children } = _b, props = __objRest(_b, ["className", "children"]);
1116
1201
  const { error, formMessageId } = useFormField();
1117
1202
  const body = error ? String(error == null ? void 0 : error.message) : children;
1118
1203
  if (!body) {
1119
1204
  return null;
1120
1205
  }
1121
- return /* @__PURE__ */ jsx17(
1206
+ return /* @__PURE__ */ jsx19(
1122
1207
  "p",
1123
1208
  __spreadProps(__spreadValues({
1124
1209
  ref,
@@ -1132,13 +1217,13 @@ var FormMessage = React10.forwardRef((_a, ref) => {
1132
1217
  FormMessage.displayName = "FormMessage";
1133
1218
 
1134
1219
  // src/components/dataDisplay/ErrorMessage/ErrorMessage.tsx
1135
- import { jsx as jsx18 } from "react/jsx-runtime";
1220
+ import { jsx as jsx20 } from "react/jsx-runtime";
1136
1221
  var ErrorMessage = ({ children }) => {
1137
- return /* @__PURE__ */ jsx18("p", { className: "text-sm font-medium text-destructive", children });
1222
+ return /* @__PURE__ */ jsx20("p", { className: "text-sm font-medium text-destructive", children });
1138
1223
  };
1139
1224
 
1140
1225
  // src/components/dataInput/checkbox/Checkbox.tsx
1141
- import { jsx as jsx19, jsxs as jsxs9 } from "react/jsx-runtime";
1226
+ import { jsx as jsx21, jsxs as jsxs10 } from "react/jsx-runtime";
1142
1227
  var Checkbox2 = (_a) => {
1143
1228
  var _b = _a, {
1144
1229
  label,
@@ -1153,37 +1238,37 @@ var Checkbox2 = (_a) => {
1153
1238
  const form = useFormContext3();
1154
1239
  const hasForm = !withoutForm && !!form && !!props.name;
1155
1240
  if (!hasForm)
1156
- return /* @__PURE__ */ jsxs9("div", { className: "flex items-center space-x-2", children: [
1157
- /* @__PURE__ */ jsx19(Checkbox, __spreadValues({}, props)),
1158
- label && /* @__PURE__ */ jsx19(Label3, { htmlFor: props.id, children: label }),
1159
- error && /* @__PURE__ */ jsx19(ErrorMessage, { children: error })
1241
+ return /* @__PURE__ */ jsxs10("div", { className: "flex items-center space-x-2", children: [
1242
+ /* @__PURE__ */ jsx21(Checkbox, __spreadValues({}, props)),
1243
+ label && /* @__PURE__ */ jsx21(Label3, { htmlFor: props.id, children: label }),
1244
+ error && /* @__PURE__ */ jsx21(ErrorMessage, { children: error })
1160
1245
  ] });
1161
- return /* @__PURE__ */ jsx19(
1246
+ return /* @__PURE__ */ jsx21(
1162
1247
  FormField,
1163
1248
  {
1164
1249
  control: form.control,
1165
1250
  name: (_a2 = props.name) != null ? _a2 : "",
1166
- render: ({ field }) => /* @__PURE__ */ jsxs9(FormItem, { className: "flex flex-row items-start space-x-3 space-y-0 rounded-md border p-4", children: [
1167
- /* @__PURE__ */ jsx19(FormControl, { children: /* @__PURE__ */ jsx19(
1251
+ render: ({ field }) => /* @__PURE__ */ jsxs10(FormItem, { className: "flex flex-row items-start space-x-3 space-y-0 rounded-md border p-4", children: [
1252
+ /* @__PURE__ */ jsx21(FormControl, { children: /* @__PURE__ */ jsx21(
1168
1253
  Checkbox,
1169
1254
  {
1170
1255
  checked: field.value,
1171
1256
  onCheckedChange: field.onChange
1172
1257
  }
1173
1258
  ) }),
1174
- label && /* @__PURE__ */ jsx19("div", { className: "space-y-1 leading-none", children: /* @__PURE__ */ jsx19(FormLabel, { children: label }) })
1259
+ label && /* @__PURE__ */ jsx21("div", { className: "space-y-1 leading-none", children: /* @__PURE__ */ jsx21(FormLabel, { children: label }) })
1175
1260
  ] })
1176
1261
  }
1177
1262
  );
1178
1263
  };
1179
1264
 
1180
1265
  // src/components/ui/input.tsx
1181
- import * as React11 from "react";
1182
- import { jsx as jsx20 } from "react/jsx-runtime";
1183
- var Input = React11.forwardRef(
1266
+ import * as React12 from "react";
1267
+ import { jsx as jsx22 } from "react/jsx-runtime";
1268
+ var Input = React12.forwardRef(
1184
1269
  (_a, ref) => {
1185
1270
  var _b = _a, { className, type } = _b, props = __objRest(_b, ["className", "type"]);
1186
- return /* @__PURE__ */ jsx20(
1271
+ return /* @__PURE__ */ jsx22(
1187
1272
  "input",
1188
1273
  __spreadValues({
1189
1274
  type,
@@ -1202,27 +1287,27 @@ Input.displayName = "Input";
1202
1287
  import { useMemo as useMemo4 } from "react";
1203
1288
 
1204
1289
  // src/components/feedback/ErrorLabel/index.tsx
1205
- import { jsx as jsx21, jsxs as jsxs10 } from "react/jsx-runtime";
1290
+ import { jsx as jsx23, jsxs as jsxs11 } from "react/jsx-runtime";
1206
1291
  var ErrorLabel = ({
1207
1292
  children,
1208
1293
  className,
1209
1294
  "data-testid": dataTestId
1210
1295
  }) => {
1211
- return /* @__PURE__ */ jsxs10(
1296
+ return /* @__PURE__ */ jsxs11(
1212
1297
  "div",
1213
1298
  {
1214
1299
  className: cn("flex items-center gap-2 my-2", className),
1215
1300
  "data-testid": `${dataTestId}-error-label`,
1216
1301
  children: [
1217
- /* @__PURE__ */ jsx21(Icon2, { name: "MdErrorOutline", size: 18, className: "text-destructive" }),
1218
- /* @__PURE__ */ jsx21("span", { className: "text-destructive text-sm", children })
1302
+ /* @__PURE__ */ jsx23(Icon2, { name: "MdErrorOutline", size: 18, className: "text-destructive" }),
1303
+ /* @__PURE__ */ jsx23("span", { className: "text-destructive text-sm", children })
1219
1304
  ]
1220
1305
  }
1221
1306
  );
1222
1307
  };
1223
1308
 
1224
1309
  // src/components/dataInput/Input/components/InputBase/index.tsx
1225
- import { jsx as jsx22, jsxs as jsxs11 } from "react/jsx-runtime";
1310
+ import { jsx as jsx24, jsxs as jsxs12 } from "react/jsx-runtime";
1226
1311
  var InputBase = ({
1227
1312
  label,
1228
1313
  error,
@@ -1230,13 +1315,13 @@ var InputBase = ({
1230
1315
  required,
1231
1316
  "data-testid": testId
1232
1317
  }) => {
1233
- return /* @__PURE__ */ jsxs11("div", { children: [
1234
- label && /* @__PURE__ */ jsxs11(Label3, { "data-testid": `${testId}-label`, children: [
1318
+ return /* @__PURE__ */ jsxs12("div", { children: [
1319
+ label && /* @__PURE__ */ jsxs12(Label3, { "data-testid": `${testId}-label`, children: [
1235
1320
  `${label} ${required ? "*" : ""}`,
1236
1321
  " "
1237
1322
  ] }),
1238
1323
  children,
1239
- error && /* @__PURE__ */ jsx22(ErrorLabel, { "data-testid": testId, children: error })
1324
+ error && /* @__PURE__ */ jsx24(ErrorLabel, { "data-testid": testId, children: error })
1240
1325
  ] });
1241
1326
  };
1242
1327
 
@@ -1267,7 +1352,7 @@ var useConditionalController = ({
1267
1352
  };
1268
1353
 
1269
1354
  // src/components/dataInput/Input/components/Input/index.tsx
1270
- import { jsx as jsx23, jsxs as jsxs12 } from "react/jsx-runtime";
1355
+ import { jsx as jsx25, jsxs as jsxs13 } from "react/jsx-runtime";
1271
1356
  var Input2 = (_a) => {
1272
1357
  var _b = _a, {
1273
1358
  "data-testid": dataTestId,
@@ -1287,15 +1372,15 @@ var Input2 = (_a) => {
1287
1372
  const inputProps = useMemo4(() => {
1288
1373
  return __spreadValues(__spreadValues({}, formData), props);
1289
1374
  }, [formData, props]);
1290
- return /* @__PURE__ */ jsx23(
1375
+ return /* @__PURE__ */ jsx25(
1291
1376
  InputBase,
1292
1377
  {
1293
1378
  label: props.label,
1294
1379
  error: props.error,
1295
1380
  required: props.required,
1296
1381
  "data-testid": dataTestId,
1297
- children: /* @__PURE__ */ jsxs12("div", { className: cn("flex items-center gap-2", containerClassName), children: [
1298
- /* @__PURE__ */ jsx23(
1382
+ children: /* @__PURE__ */ jsxs13("div", { className: cn("flex items-center gap-2", containerClassName), children: [
1383
+ /* @__PURE__ */ jsx25(
1299
1384
  Input,
1300
1385
  __spreadProps(__spreadValues({}, inputProps), {
1301
1386
  "data-testid": dataTestId,
@@ -1316,7 +1401,7 @@ import {
1316
1401
  NumericFormat
1317
1402
  } from "react-number-format";
1318
1403
  import { useCallback as useCallback2, useMemo as useMemo5 } from "react";
1319
- import { jsx as jsx24 } from "react/jsx-runtime";
1404
+ import { jsx as jsx26 } from "react/jsx-runtime";
1320
1405
  var NumberInput = (props) => {
1321
1406
  const formData = useConditionalController({
1322
1407
  name: props.name || "",
@@ -1346,7 +1431,7 @@ var NumberInput = (props) => {
1346
1431
  },
1347
1432
  [props, formData]
1348
1433
  );
1349
- return /* @__PURE__ */ jsx24(InputBase, __spreadProps(__spreadValues({}, props), { children: /* @__PURE__ */ jsx24(
1434
+ return /* @__PURE__ */ jsx26(InputBase, __spreadProps(__spreadValues({}, props), { children: /* @__PURE__ */ jsx26(
1350
1435
  NumericFormat,
1351
1436
  __spreadProps(__spreadValues({}, inputProps), {
1352
1437
  customInput: Input,
@@ -1357,7 +1442,7 @@ var NumberInput = (props) => {
1357
1442
  };
1358
1443
 
1359
1444
  // src/components/dataInput/Input/components/MaskInput/mask-input.tsx
1360
- import * as React12 from "react";
1445
+ import * as React13 from "react";
1361
1446
 
1362
1447
  // src/hooks/use-mask.tsx
1363
1448
  import { useState as useState2, useCallback as useCallback3 } from "react";
@@ -1445,7 +1530,7 @@ var useMask = (_a) => {
1445
1530
 
1446
1531
  // src/components/dataInput/Input/components/MaskInput/mask-input.tsx
1447
1532
  import { useRef } from "react";
1448
- import { jsx as jsx25 } from "react/jsx-runtime";
1533
+ import { jsx as jsx27 } from "react/jsx-runtime";
1449
1534
  var MaskInput = (_a) => {
1450
1535
  var _b = _a, {
1451
1536
  "data-testid": dataTestId,
@@ -1462,12 +1547,12 @@ var MaskInput = (_a) => {
1462
1547
  name: props.name || "",
1463
1548
  withoutForm
1464
1549
  });
1465
- const inputProps = React12.useMemo(() => {
1550
+ const inputProps = React13.useMemo(() => {
1466
1551
  return __spreadValues(__spreadValues({}, formData), props);
1467
1552
  }, [formData, props]);
1468
1553
  const { applyMask } = useMask({ mask });
1469
1554
  const inputRef = useRef(null);
1470
- const applyMaskToInput = React12.useCallback(
1555
+ const applyMaskToInput = React13.useCallback(
1471
1556
  (value) => {
1472
1557
  if (inputRef.current && mask) {
1473
1558
  const maskedValue = applyMask(value);
@@ -1476,7 +1561,7 @@ var MaskInput = (_a) => {
1476
1561
  },
1477
1562
  [applyMask, mask]
1478
1563
  );
1479
- const handleChange = React12.useCallback(
1564
+ const handleChange = React13.useCallback(
1480
1565
  (e) => {
1481
1566
  var _a2;
1482
1567
  const maskedValue = mask ? applyMask(e.target.value) : e.target.value;
@@ -1490,7 +1575,7 @@ var MaskInput = (_a) => {
1490
1575
  },
1491
1576
  [applyMask, inputProps, mask, applyMaskToInput]
1492
1577
  );
1493
- return /* @__PURE__ */ jsx25(
1578
+ return /* @__PURE__ */ jsx27(
1494
1579
  Input2,
1495
1580
  __spreadProps(__spreadValues({}, inputProps), {
1496
1581
  ref: inputRef,
@@ -1503,11 +1588,11 @@ var MaskInput = (_a) => {
1503
1588
  };
1504
1589
 
1505
1590
  // src/components/actions/Button/Button.tsx
1506
- import { forwardRef as forwardRef11 } from "react";
1591
+ import { forwardRef as forwardRef12 } from "react";
1507
1592
 
1508
1593
  // src/components/ui/spinner.tsx
1509
1594
  import { cva as cva5 } from "class-variance-authority";
1510
- import { jsx as jsx26, jsxs as jsxs13 } from "react/jsx-runtime";
1595
+ import { jsx as jsx28, jsxs as jsxs14 } from "react/jsx-runtime";
1511
1596
  var spinnerVariants = cva5("flex-col items-center justify-center", {
1512
1597
  variants: {
1513
1598
  show: {
@@ -1537,8 +1622,8 @@ function Spinner({
1537
1622
  children,
1538
1623
  className
1539
1624
  }) {
1540
- return /* @__PURE__ */ jsxs13("span", { className: spinnerVariants({ show }), children: [
1541
- /* @__PURE__ */ jsx26(
1625
+ return /* @__PURE__ */ jsxs14("span", { className: spinnerVariants({ show }), children: [
1626
+ /* @__PURE__ */ jsx28(
1542
1627
  Icon2,
1543
1628
  {
1544
1629
  name: "FaSpinner",
@@ -1550,7 +1635,7 @@ function Spinner({
1550
1635
  }
1551
1636
 
1552
1637
  // src/hooks/use-toast.ts
1553
- import * as React13 from "react";
1638
+ import * as React14 from "react";
1554
1639
  var TOAST_LIMIT = 1;
1555
1640
  var TOAST_REMOVE_DELAY = 1e6;
1556
1641
  var count = 0;
@@ -1645,8 +1730,8 @@ function toast(_a) {
1645
1730
  };
1646
1731
  }
1647
1732
  function useToast() {
1648
- const [state, setState] = React13.useState(memoryState);
1649
- React13.useEffect(() => {
1733
+ const [state, setState] = React14.useState(memoryState);
1734
+ React14.useEffect(() => {
1650
1735
  listeners.push(setState);
1651
1736
  return () => {
1652
1737
  const index = listeners.indexOf(setState);
@@ -1662,15 +1747,15 @@ function useToast() {
1662
1747
  }
1663
1748
 
1664
1749
  // src/components/ui/toast.tsx
1665
- import * as React14 from "react";
1750
+ import * as React15 from "react";
1666
1751
  import * as ToastPrimitives from "@radix-ui/react-toast";
1667
1752
  import { cva as cva6 } from "class-variance-authority";
1668
1753
  import { X } from "lucide-react";
1669
- import { jsx as jsx27 } from "react/jsx-runtime";
1754
+ import { jsx as jsx29 } from "react/jsx-runtime";
1670
1755
  var ToastProvider = ToastPrimitives.Provider;
1671
- var ToastViewport = React14.forwardRef((_a, ref) => {
1756
+ var ToastViewport = React15.forwardRef((_a, ref) => {
1672
1757
  var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
1673
- return /* @__PURE__ */ jsx27(
1758
+ return /* @__PURE__ */ jsx29(
1674
1759
  ToastPrimitives.Viewport,
1675
1760
  __spreadValues({
1676
1761
  ref,
@@ -1697,9 +1782,9 @@ var toastVariants = cva6(
1697
1782
  }
1698
1783
  }
1699
1784
  );
1700
- var Toast = React14.forwardRef((_a, ref) => {
1785
+ var Toast = React15.forwardRef((_a, ref) => {
1701
1786
  var _b = _a, { className, variant } = _b, props = __objRest(_b, ["className", "variant"]);
1702
- return /* @__PURE__ */ jsx27(
1787
+ return /* @__PURE__ */ jsx29(
1703
1788
  ToastPrimitives.Root,
1704
1789
  __spreadValues({
1705
1790
  ref,
@@ -1708,9 +1793,9 @@ var Toast = React14.forwardRef((_a, ref) => {
1708
1793
  );
1709
1794
  });
1710
1795
  Toast.displayName = ToastPrimitives.Root.displayName;
1711
- var ToastAction = React14.forwardRef((_a, ref) => {
1796
+ var ToastAction = React15.forwardRef((_a, ref) => {
1712
1797
  var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
1713
- return /* @__PURE__ */ jsx27(
1798
+ return /* @__PURE__ */ jsx29(
1714
1799
  ToastPrimitives.Action,
1715
1800
  __spreadValues({
1716
1801
  ref,
@@ -1722,9 +1807,9 @@ var ToastAction = React14.forwardRef((_a, ref) => {
1722
1807
  );
1723
1808
  });
1724
1809
  ToastAction.displayName = ToastPrimitives.Action.displayName;
1725
- var ToastClose = React14.forwardRef((_a, ref) => {
1810
+ var ToastClose = React15.forwardRef((_a, ref) => {
1726
1811
  var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
1727
- return /* @__PURE__ */ jsx27(
1812
+ return /* @__PURE__ */ jsx29(
1728
1813
  ToastPrimitives.Close,
1729
1814
  __spreadProps(__spreadValues({
1730
1815
  ref,
@@ -1734,14 +1819,14 @@ var ToastClose = React14.forwardRef((_a, ref) => {
1734
1819
  ),
1735
1820
  "toast-close": ""
1736
1821
  }, props), {
1737
- children: /* @__PURE__ */ jsx27(X, { className: "h-4 w-4" })
1822
+ children: /* @__PURE__ */ jsx29(X, { className: "h-4 w-4" })
1738
1823
  })
1739
1824
  );
1740
1825
  });
1741
1826
  ToastClose.displayName = ToastPrimitives.Close.displayName;
1742
- var ToastTitle = React14.forwardRef((_a, ref) => {
1827
+ var ToastTitle = React15.forwardRef((_a, ref) => {
1743
1828
  var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
1744
- return /* @__PURE__ */ jsx27(
1829
+ return /* @__PURE__ */ jsx29(
1745
1830
  ToastPrimitives.Title,
1746
1831
  __spreadValues({
1747
1832
  ref,
@@ -1750,9 +1835,9 @@ var ToastTitle = React14.forwardRef((_a, ref) => {
1750
1835
  );
1751
1836
  });
1752
1837
  ToastTitle.displayName = ToastPrimitives.Title.displayName;
1753
- var ToastDescription = React14.forwardRef((_a, ref) => {
1838
+ var ToastDescription = React15.forwardRef((_a, ref) => {
1754
1839
  var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
1755
- return /* @__PURE__ */ jsx27(
1840
+ return /* @__PURE__ */ jsx29(
1756
1841
  ToastPrimitives.Description,
1757
1842
  __spreadValues({
1758
1843
  ref,
@@ -1763,32 +1848,32 @@ var ToastDescription = React14.forwardRef((_a, ref) => {
1763
1848
  ToastDescription.displayName = ToastPrimitives.Description.displayName;
1764
1849
 
1765
1850
  // src/components/ui/toaster.tsx
1766
- import { jsx as jsx28, jsxs as jsxs14 } from "react/jsx-runtime";
1851
+ import { jsx as jsx30, jsxs as jsxs15 } from "react/jsx-runtime";
1767
1852
  function Toaster() {
1768
1853
  const { toasts } = useToast();
1769
- return /* @__PURE__ */ jsxs14(ToastProvider, { children: [
1854
+ return /* @__PURE__ */ jsxs15(ToastProvider, { children: [
1770
1855
  toasts.map(function(_a) {
1771
1856
  var _b = _a, { id, title, description, action } = _b, props = __objRest(_b, ["id", "title", "description", "action"]);
1772
- return /* @__PURE__ */ jsxs14(Toast, __spreadProps(__spreadValues({}, props), { children: [
1773
- /* @__PURE__ */ jsxs14("div", { className: "grid gap-1", children: [
1774
- title && /* @__PURE__ */ jsx28(ToastTitle, { children: title }),
1775
- description && /* @__PURE__ */ jsx28(ToastDescription, { children: description })
1857
+ return /* @__PURE__ */ jsxs15(Toast, __spreadProps(__spreadValues({}, props), { children: [
1858
+ /* @__PURE__ */ jsxs15("div", { className: "grid gap-1", children: [
1859
+ title && /* @__PURE__ */ jsx30(ToastTitle, { children: title }),
1860
+ description && /* @__PURE__ */ jsx30(ToastDescription, { children: description })
1776
1861
  ] }),
1777
1862
  action,
1778
- /* @__PURE__ */ jsx28(ToastClose, {})
1863
+ /* @__PURE__ */ jsx30(ToastClose, {})
1779
1864
  ] }), id);
1780
1865
  }),
1781
- /* @__PURE__ */ jsx28(ToastViewport, {})
1866
+ /* @__PURE__ */ jsx30(ToastViewport, {})
1782
1867
  ] });
1783
1868
  }
1784
1869
 
1785
1870
  // src/components/actions/Button/Button.tsx
1786
- import { jsx as jsx29, jsxs as jsxs15 } from "react/jsx-runtime";
1787
- var Button2 = forwardRef11(
1871
+ import { jsx as jsx31, jsxs as jsxs16 } from "react/jsx-runtime";
1872
+ var Button2 = forwardRef12(
1788
1873
  (_a, ref) => {
1789
1874
  var _b = _a, { children, disabled, loading } = _b, rest = __objRest(_b, ["children", "disabled", "loading"]);
1790
- return /* @__PURE__ */ jsxs15(Button, __spreadProps(__spreadValues({}, rest), { disabled: disabled || loading, ref, children: [
1791
- loading && /* @__PURE__ */ jsx29(Spinner, { className: "fill-white" }),
1875
+ return /* @__PURE__ */ jsxs16(Button, __spreadProps(__spreadValues({}, rest), { disabled: disabled || loading, ref, children: [
1876
+ loading && /* @__PURE__ */ jsx31(Spinner, { className: "fill-white" }),
1792
1877
  children
1793
1878
  ] }));
1794
1879
  }
@@ -1797,7 +1882,7 @@ Button2.displayName = "Button";
1797
1882
 
1798
1883
  // src/components/dataInput/Input/components/MultipleInput/MultipleInput.tsx
1799
1884
  import { useCallback as useCallback5, useMemo as useMemo7, useState as useState4 } from "react";
1800
- import { jsx as jsx30, jsxs as jsxs16 } from "react/jsx-runtime";
1885
+ import { jsx as jsx32, jsxs as jsxs17 } from "react/jsx-runtime";
1801
1886
  var MultipleInput = (_a) => {
1802
1887
  var _b = _a, {
1803
1888
  data = [],
@@ -1851,27 +1936,27 @@ var MultipleInput = (_a) => {
1851
1936
  );
1852
1937
  const renderItens = useCallback5(() => {
1853
1938
  return inputItems == null ? void 0 : inputItems.map((item, index) => {
1854
- return /* @__PURE__ */ jsxs16("div", { className: "flex justify-between", children: [
1939
+ return /* @__PURE__ */ jsxs17("div", { className: "flex justify-between", children: [
1855
1940
  item,
1856
- /* @__PURE__ */ jsx30(
1941
+ /* @__PURE__ */ jsx32(
1857
1942
  Button2,
1858
1943
  {
1859
1944
  variant: "ghost",
1860
1945
  className: "text-destructive",
1861
1946
  size: "icon",
1862
1947
  onClick: () => onRemoveData(index),
1863
- children: /* @__PURE__ */ jsx30(Icon2, { name: "MdDelete" })
1948
+ children: /* @__PURE__ */ jsx32(Icon2, { name: "MdDelete" })
1864
1949
  }
1865
1950
  )
1866
1951
  ] }, item);
1867
1952
  });
1868
1953
  }, [inputItems, onRemoveData]);
1869
1954
  const extraElement = useMemo7(
1870
- () => /* @__PURE__ */ jsx30(Button2, { type: "button", onClick: onAddData, disabled: !inputValue, children: /* @__PURE__ */ jsx30(Icon2, { name: "MdAdd" }) }),
1955
+ () => /* @__PURE__ */ jsx32(Button2, { type: "button", onClick: onAddData, disabled: !inputValue, children: /* @__PURE__ */ jsx32(Icon2, { name: "MdAdd" }) }),
1871
1956
  [onAddData, inputValue]
1872
1957
  );
1873
- return /* @__PURE__ */ jsxs16("div", { className: "flex flex-col gap-2", children: [
1874
- /* @__PURE__ */ jsx30(
1958
+ return /* @__PURE__ */ jsxs17("div", { className: "flex flex-col gap-2", children: [
1959
+ /* @__PURE__ */ jsx32(
1875
1960
  MaskInput,
1876
1961
  __spreadProps(__spreadValues({}, props), {
1877
1962
  withoutForm: true,
@@ -1887,16 +1972,16 @@ var MultipleInput = (_a) => {
1887
1972
  };
1888
1973
 
1889
1974
  // src/components/ui/dialog.tsx
1890
- import * as React15 from "react";
1975
+ import * as React16 from "react";
1891
1976
  import * as DialogPrimitive from "@radix-ui/react-dialog";
1892
1977
  import { X as X2 } from "lucide-react";
1893
- import { jsx as jsx31, jsxs as jsxs17 } from "react/jsx-runtime";
1978
+ import { jsx as jsx33, jsxs as jsxs18 } from "react/jsx-runtime";
1894
1979
  var Dialog = DialogPrimitive.Root;
1895
1980
  var DialogPortal = DialogPrimitive.Portal;
1896
1981
  var DialogClose = DialogPrimitive.Close;
1897
- var DialogOverlay = React15.forwardRef((_a, ref) => {
1982
+ var DialogOverlay = React16.forwardRef((_a, ref) => {
1898
1983
  var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
1899
- return /* @__PURE__ */ jsx31(
1984
+ return /* @__PURE__ */ jsx33(
1900
1985
  DialogPrimitive.Overlay,
1901
1986
  __spreadValues({
1902
1987
  ref,
@@ -1908,11 +1993,11 @@ var DialogOverlay = React15.forwardRef((_a, ref) => {
1908
1993
  );
1909
1994
  });
1910
1995
  DialogOverlay.displayName = DialogPrimitive.Overlay.displayName;
1911
- var DialogContent = React15.forwardRef((_a, ref) => {
1996
+ var DialogContent = React16.forwardRef((_a, ref) => {
1912
1997
  var _b = _a, { className, children } = _b, props = __objRest(_b, ["className", "children"]);
1913
- return /* @__PURE__ */ jsxs17(DialogPortal, { children: [
1914
- /* @__PURE__ */ jsx31(DialogOverlay, {}),
1915
- /* @__PURE__ */ jsxs17(
1998
+ return /* @__PURE__ */ jsxs18(DialogPortal, { children: [
1999
+ /* @__PURE__ */ jsx33(DialogOverlay, {}),
2000
+ /* @__PURE__ */ jsxs18(
1916
2001
  DialogPrimitive.Content,
1917
2002
  __spreadProps(__spreadValues({
1918
2003
  ref,
@@ -1923,9 +2008,9 @@ var DialogContent = React15.forwardRef((_a, ref) => {
1923
2008
  }, props), {
1924
2009
  children: [
1925
2010
  children,
1926
- /* @__PURE__ */ jsxs17(DialogPrimitive.Close, { className: "absolute right-4 top-4 rounded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-accent data-[state=open]:text-muted-foreground", children: [
1927
- /* @__PURE__ */ jsx31(X2, { className: "h-4 w-4" }),
1928
- /* @__PURE__ */ jsx31("span", { className: "sr-only", children: "Close" })
2011
+ /* @__PURE__ */ jsxs18(DialogPrimitive.Close, { className: "absolute right-4 top-4 rounded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-accent data-[state=open]:text-muted-foreground", children: [
2012
+ /* @__PURE__ */ jsx33(X2, { className: "h-4 w-4" }),
2013
+ /* @__PURE__ */ jsx33("span", { className: "sr-only", children: "Close" })
1929
2014
  ] })
1930
2015
  ]
1931
2016
  })
@@ -1939,7 +2024,7 @@ var DialogHeader = (_a) => {
1939
2024
  } = _b, props = __objRest(_b, [
1940
2025
  "className"
1941
2026
  ]);
1942
- return /* @__PURE__ */ jsx31(
2027
+ return /* @__PURE__ */ jsx33(
1943
2028
  "div",
1944
2029
  __spreadValues({
1945
2030
  className: cn(
@@ -1956,7 +2041,7 @@ var DialogFooter = (_a) => {
1956
2041
  } = _b, props = __objRest(_b, [
1957
2042
  "className"
1958
2043
  ]);
1959
- return /* @__PURE__ */ jsx31(
2044
+ return /* @__PURE__ */ jsx33(
1960
2045
  "div",
1961
2046
  __spreadValues({
1962
2047
  className: cn(
@@ -1967,9 +2052,9 @@ var DialogFooter = (_a) => {
1967
2052
  );
1968
2053
  };
1969
2054
  DialogFooter.displayName = "DialogFooter";
1970
- var DialogTitle = React15.forwardRef((_a, ref) => {
2055
+ var DialogTitle = React16.forwardRef((_a, ref) => {
1971
2056
  var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
1972
- return /* @__PURE__ */ jsx31(
2057
+ return /* @__PURE__ */ jsx33(
1973
2058
  DialogPrimitive.Title,
1974
2059
  __spreadValues({
1975
2060
  ref,
@@ -1981,9 +2066,9 @@ var DialogTitle = React15.forwardRef((_a, ref) => {
1981
2066
  );
1982
2067
  });
1983
2068
  DialogTitle.displayName = DialogPrimitive.Title.displayName;
1984
- var DialogDescription = React15.forwardRef((_a, ref) => {
2069
+ var DialogDescription = React16.forwardRef((_a, ref) => {
1985
2070
  var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
1986
- return /* @__PURE__ */ jsx31(
2071
+ return /* @__PURE__ */ jsx33(
1987
2072
  DialogPrimitive.Description,
1988
2073
  __spreadValues({
1989
2074
  ref,
@@ -1995,7 +2080,7 @@ DialogDescription.displayName = DialogPrimitive.Description.displayName;
1995
2080
 
1996
2081
  // src/components/actions/Dialog/Dialog.tsx
1997
2082
  import { useRef as useRef2 } from "react";
1998
- import { jsx as jsx32, jsxs as jsxs18 } from "react/jsx-runtime";
2083
+ import { jsx as jsx34, jsxs as jsxs19 } from "react/jsx-runtime";
1999
2084
  function Dialog2(_a) {
2000
2085
  var _b = _a, {
2001
2086
  title,
@@ -2010,13 +2095,13 @@ function Dialog2(_a) {
2010
2095
  "children",
2011
2096
  "footer"
2012
2097
  ]);
2013
- return /* @__PURE__ */ jsx32(Dialog, __spreadProps(__spreadValues({}, props), { children: /* @__PURE__ */ jsxs18(DialogContent, { className, children: [
2014
- /* @__PURE__ */ jsxs18(DialogHeader, { children: [
2015
- title && /* @__PURE__ */ jsx32(DialogTitle, { children: title }),
2016
- description && /* @__PURE__ */ jsx32(DialogDescription, { children: description })
2098
+ return /* @__PURE__ */ jsx34(Dialog, __spreadProps(__spreadValues({}, props), { children: /* @__PURE__ */ jsxs19(DialogContent, { className, children: [
2099
+ /* @__PURE__ */ jsxs19(DialogHeader, { children: [
2100
+ title && /* @__PURE__ */ jsx34(DialogTitle, { children: title }),
2101
+ description && /* @__PURE__ */ jsx34(DialogDescription, { children: description })
2017
2102
  ] }),
2018
2103
  children,
2019
- footer && /* @__PURE__ */ jsx32(DialogFooter, { children: footer() })
2104
+ footer && /* @__PURE__ */ jsx34(DialogFooter, { children: footer() })
2020
2105
  ] }) }));
2021
2106
  }
2022
2107
  var DialogWithForm = (_a) => {
@@ -2037,14 +2122,14 @@ var DialogWithForm = (_a) => {
2037
2122
  "onSubmit"
2038
2123
  ]);
2039
2124
  const dialogRef = useRef2(null);
2040
- return /* @__PURE__ */ jsx32(Dialog, __spreadProps(__spreadValues({}, props), { children: /* @__PURE__ */ jsx32(DialogContent, { className, ref: dialogRef, children: /* @__PURE__ */ jsxs18("form", { onSubmit, className: "flex flex-col gap-4", children: [
2041
- /* @__PURE__ */ jsxs18(DialogHeader, { children: [
2042
- title && /* @__PURE__ */ jsx32(DialogTitle, { children: title }),
2043
- description && /* @__PURE__ */ jsx32(DialogDescription, { children: description })
2125
+ return /* @__PURE__ */ jsx34(Dialog, __spreadProps(__spreadValues({}, props), { children: /* @__PURE__ */ jsx34(DialogContent, { className, ref: dialogRef, children: /* @__PURE__ */ jsxs19("form", { onSubmit, className: "flex flex-col gap-4", children: [
2126
+ /* @__PURE__ */ jsxs19(DialogHeader, { children: [
2127
+ title && /* @__PURE__ */ jsx34(DialogTitle, { children: title }),
2128
+ description && /* @__PURE__ */ jsx34(DialogDescription, { children: description })
2044
2129
  ] }),
2045
2130
  children,
2046
- footer && /* @__PURE__ */ jsx32(DialogFooter, { children: /* @__PURE__ */ jsxs18("div", { className: "flex justify-between w-full", children: [
2047
- /* @__PURE__ */ jsx32(DialogClose, { asChild: true, children: /* @__PURE__ */ jsx32(Button2, { type: "button", variant: "secondary", children: "Fechar" }) }),
2131
+ footer && /* @__PURE__ */ jsx34(DialogFooter, { children: /* @__PURE__ */ jsxs19("div", { className: "flex justify-between w-full", children: [
2132
+ /* @__PURE__ */ jsx34(DialogClose, { asChild: true, children: /* @__PURE__ */ jsx34(Button2, { type: "button", variant: "secondary", children: "Fechar" }) }),
2048
2133
  footer()
2049
2134
  ] }) })
2050
2135
  ] }) }) }));
@@ -2060,12 +2145,12 @@ var CollapsibleContent2 = CollapsiblePrimitive.CollapsibleContent;
2060
2145
  import { useCallback as useCallback8 } from "react";
2061
2146
 
2062
2147
  // src/components/ui/drawer.tsx
2063
- import * as React16 from "react";
2148
+ import * as React17 from "react";
2064
2149
  import { Drawer as DrawerPrimitive } from "vaul";
2065
- import { jsx as jsx33, jsxs as jsxs19 } from "react/jsx-runtime";
2150
+ import { jsx as jsx35, jsxs as jsxs20 } from "react/jsx-runtime";
2066
2151
  var Drawer = (_a) => {
2067
2152
  var _b = _a, { shouldScaleBackground = true } = _b, props = __objRest(_b, ["shouldScaleBackground"]);
2068
- return /* @__PURE__ */ jsx33(
2153
+ return /* @__PURE__ */ jsx35(
2069
2154
  DrawerPrimitive.Root,
2070
2155
  __spreadValues({
2071
2156
  shouldScaleBackground
@@ -2076,9 +2161,9 @@ Drawer.displayName = "Drawer";
2076
2161
  var DrawerTrigger = DrawerPrimitive.Trigger;
2077
2162
  var DrawerPortal = DrawerPrimitive.Portal;
2078
2163
  var DrawerClose = DrawerPrimitive.Close;
2079
- var DrawerOverlay = React16.forwardRef((_a, ref) => {
2164
+ var DrawerOverlay = React17.forwardRef((_a, ref) => {
2080
2165
  var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
2081
- return /* @__PURE__ */ jsx33(
2166
+ return /* @__PURE__ */ jsx35(
2082
2167
  DrawerPrimitive.Overlay,
2083
2168
  __spreadValues({
2084
2169
  ref,
@@ -2087,11 +2172,11 @@ var DrawerOverlay = React16.forwardRef((_a, ref) => {
2087
2172
  );
2088
2173
  });
2089
2174
  DrawerOverlay.displayName = DrawerPrimitive.Overlay.displayName;
2090
- var DrawerContent = React16.forwardRef((_a, ref) => {
2175
+ var DrawerContent = React17.forwardRef((_a, ref) => {
2091
2176
  var _b = _a, { className, children } = _b, props = __objRest(_b, ["className", "children"]);
2092
- return /* @__PURE__ */ jsxs19(DrawerPortal, { children: [
2093
- /* @__PURE__ */ jsx33(DrawerOverlay, {}),
2094
- /* @__PURE__ */ jsxs19(
2177
+ return /* @__PURE__ */ jsxs20(DrawerPortal, { children: [
2178
+ /* @__PURE__ */ jsx35(DrawerOverlay, {}),
2179
+ /* @__PURE__ */ jsxs20(
2095
2180
  DrawerPrimitive.Content,
2096
2181
  __spreadProps(__spreadValues({
2097
2182
  ref,
@@ -2101,7 +2186,7 @@ var DrawerContent = React16.forwardRef((_a, ref) => {
2101
2186
  )
2102
2187
  }, props), {
2103
2188
  children: [
2104
- /* @__PURE__ */ jsx33("div", { className: "mx-auto mt-4 h-2 w-[100px] rounded-full bg-muted" }),
2189
+ /* @__PURE__ */ jsx35("div", { className: "mx-auto mt-4 h-2 w-[100px] rounded-full bg-muted" }),
2105
2190
  children
2106
2191
  ]
2107
2192
  })
@@ -2115,7 +2200,7 @@ var DrawerHeader = (_a) => {
2115
2200
  } = _b, props = __objRest(_b, [
2116
2201
  "className"
2117
2202
  ]);
2118
- return /* @__PURE__ */ jsx33(
2203
+ return /* @__PURE__ */ jsx35(
2119
2204
  "div",
2120
2205
  __spreadValues({
2121
2206
  className: cn("grid gap-1.5 p-4 text-center sm:text-left", className)
@@ -2129,7 +2214,7 @@ var DrawerFooter = (_a) => {
2129
2214
  } = _b, props = __objRest(_b, [
2130
2215
  "className"
2131
2216
  ]);
2132
- return /* @__PURE__ */ jsx33(
2217
+ return /* @__PURE__ */ jsx35(
2133
2218
  "div",
2134
2219
  __spreadValues({
2135
2220
  className: cn("mt-auto flex flex-col gap-2 p-4", className)
@@ -2137,9 +2222,9 @@ var DrawerFooter = (_a) => {
2137
2222
  );
2138
2223
  };
2139
2224
  DrawerFooter.displayName = "DrawerFooter";
2140
- var DrawerTitle = React16.forwardRef((_a, ref) => {
2225
+ var DrawerTitle = React17.forwardRef((_a, ref) => {
2141
2226
  var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
2142
- return /* @__PURE__ */ jsx33(
2227
+ return /* @__PURE__ */ jsx35(
2143
2228
  DrawerPrimitive.Title,
2144
2229
  __spreadValues({
2145
2230
  ref,
@@ -2151,9 +2236,9 @@ var DrawerTitle = React16.forwardRef((_a, ref) => {
2151
2236
  );
2152
2237
  });
2153
2238
  DrawerTitle.displayName = DrawerPrimitive.Title.displayName;
2154
- var DrawerDescription = React16.forwardRef((_a, ref) => {
2239
+ var DrawerDescription = React17.forwardRef((_a, ref) => {
2155
2240
  var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
2156
- return /* @__PURE__ */ jsx33(
2241
+ return /* @__PURE__ */ jsx35(
2157
2242
  DrawerPrimitive.Description,
2158
2243
  __spreadValues({
2159
2244
  ref,
@@ -2164,23 +2249,23 @@ var DrawerDescription = React16.forwardRef((_a, ref) => {
2164
2249
  DrawerDescription.displayName = DrawerPrimitive.Description.displayName;
2165
2250
 
2166
2251
  // src/components/layout/Drawer/CustomDrawer/index.tsx
2167
- import { jsx as jsx34 } from "react/jsx-runtime";
2252
+ import { jsx as jsx36 } from "react/jsx-runtime";
2168
2253
  function CustomDrawer(_a) {
2169
2254
  var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
2170
- return /* @__PURE__ */ jsx34(Drawer, __spreadProps(__spreadValues({}, props), { children: /* @__PURE__ */ jsx34(DrawerContent, { className, children: props.children }) }));
2255
+ return /* @__PURE__ */ jsx36(Drawer, __spreadProps(__spreadValues({}, props), { children: /* @__PURE__ */ jsx36(DrawerContent, { className, children: props.children }) }));
2171
2256
  }
2172
2257
 
2173
2258
  // src/components/ui/sheet.tsx
2174
- import * as React17 from "react";
2259
+ import * as React18 from "react";
2175
2260
  import * as SheetPrimitive from "@radix-ui/react-dialog";
2176
2261
  import { cva as cva7 } from "class-variance-authority";
2177
2262
  import { X as X3 } from "lucide-react";
2178
- import { jsx as jsx35, jsxs as jsxs20 } from "react/jsx-runtime";
2263
+ import { jsx as jsx37, jsxs as jsxs21 } from "react/jsx-runtime";
2179
2264
  var Sheet = SheetPrimitive.Root;
2180
2265
  var SheetPortal = SheetPrimitive.Portal;
2181
- var SheetOverlay = React17.forwardRef((_a, ref) => {
2266
+ var SheetOverlay = React18.forwardRef((_a, ref) => {
2182
2267
  var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
2183
- return /* @__PURE__ */ jsx35(
2268
+ return /* @__PURE__ */ jsx37(
2184
2269
  SheetPrimitive.Overlay,
2185
2270
  __spreadProps(__spreadValues({
2186
2271
  className: cn(
@@ -2209,20 +2294,20 @@ var sheetVariants = cva7(
2209
2294
  }
2210
2295
  }
2211
2296
  );
2212
- var SheetContent = React17.forwardRef((_a, ref) => {
2297
+ var SheetContent = React18.forwardRef((_a, ref) => {
2213
2298
  var _b = _a, { side = "right", className, children } = _b, props = __objRest(_b, ["side", "className", "children"]);
2214
- return /* @__PURE__ */ jsxs20(SheetPortal, { children: [
2215
- /* @__PURE__ */ jsx35(SheetOverlay, {}),
2216
- /* @__PURE__ */ jsxs20(
2299
+ return /* @__PURE__ */ jsxs21(SheetPortal, { children: [
2300
+ /* @__PURE__ */ jsx37(SheetOverlay, {}),
2301
+ /* @__PURE__ */ jsxs21(
2217
2302
  SheetPrimitive.Content,
2218
2303
  __spreadProps(__spreadValues({
2219
2304
  ref,
2220
2305
  className: cn(sheetVariants({ side }), className)
2221
2306
  }, props), {
2222
2307
  children: [
2223
- /* @__PURE__ */ jsxs20(SheetPrimitive.Close, { className: "absolute right-4 top-4 rounded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-secondary", children: [
2224
- /* @__PURE__ */ jsx35(X3, { className: "h-4 w-4" }),
2225
- /* @__PURE__ */ jsx35("span", { className: "sr-only", children: "Close" })
2308
+ /* @__PURE__ */ jsxs21(SheetPrimitive.Close, { className: "absolute right-4 top-4 rounded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-secondary", children: [
2309
+ /* @__PURE__ */ jsx37(X3, { className: "h-4 w-4" }),
2310
+ /* @__PURE__ */ jsx37("span", { className: "sr-only", children: "Close" })
2226
2311
  ] }),
2227
2312
  children
2228
2313
  ]
@@ -2237,7 +2322,7 @@ var SheetHeader = (_a) => {
2237
2322
  } = _b, props = __objRest(_b, [
2238
2323
  "className"
2239
2324
  ]);
2240
- return /* @__PURE__ */ jsx35(
2325
+ return /* @__PURE__ */ jsx37(
2241
2326
  "div",
2242
2327
  __spreadValues({
2243
2328
  className: cn(
@@ -2254,7 +2339,7 @@ var SheetFooter = (_a) => {
2254
2339
  } = _b, props = __objRest(_b, [
2255
2340
  "className"
2256
2341
  ]);
2257
- return /* @__PURE__ */ jsx35(
2342
+ return /* @__PURE__ */ jsx37(
2258
2343
  "div",
2259
2344
  __spreadValues({
2260
2345
  className: cn(
@@ -2265,9 +2350,9 @@ var SheetFooter = (_a) => {
2265
2350
  );
2266
2351
  };
2267
2352
  SheetFooter.displayName = "SheetFooter";
2268
- var SheetTitle = React17.forwardRef((_a, ref) => {
2353
+ var SheetTitle = React18.forwardRef((_a, ref) => {
2269
2354
  var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
2270
- return /* @__PURE__ */ jsx35(
2355
+ return /* @__PURE__ */ jsx37(
2271
2356
  SheetPrimitive.Title,
2272
2357
  __spreadValues({
2273
2358
  ref,
@@ -2276,9 +2361,9 @@ var SheetTitle = React17.forwardRef((_a, ref) => {
2276
2361
  );
2277
2362
  });
2278
2363
  SheetTitle.displayName = SheetPrimitive.Title.displayName;
2279
- var SheetDescription = React17.forwardRef((_a, ref) => {
2364
+ var SheetDescription = React18.forwardRef((_a, ref) => {
2280
2365
  var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
2281
- return /* @__PURE__ */ jsx35(
2366
+ return /* @__PURE__ */ jsx37(
2282
2367
  SheetPrimitive.Description,
2283
2368
  __spreadValues({
2284
2369
  ref,
@@ -2289,24 +2374,24 @@ var SheetDescription = React17.forwardRef((_a, ref) => {
2289
2374
  SheetDescription.displayName = SheetPrimitive.Description.displayName;
2290
2375
 
2291
2376
  // src/components/layout/Sheet/Sheet.tsx
2292
- import { jsx as jsx36 } from "react/jsx-runtime";
2377
+ import { jsx as jsx38 } from "react/jsx-runtime";
2293
2378
  function Sheet2(_a) {
2294
2379
  var _b = _a, { side, className, children } = _b, props = __objRest(_b, ["side", "className", "children"]);
2295
- return /* @__PURE__ */ jsx36(Sheet, __spreadProps(__spreadValues({}, props), { children: /* @__PURE__ */ jsx36(SheetContent, { side, className, children }) }));
2380
+ return /* @__PURE__ */ jsx38(Sheet, __spreadProps(__spreadValues({}, props), { children: /* @__PURE__ */ jsx38(SheetContent, { side, className, children }) }));
2296
2381
  }
2297
2382
 
2298
2383
  // src/components/ui/sidebar.tsx
2299
- import * as React21 from "react";
2384
+ import * as React22 from "react";
2300
2385
  import { Slot as Slot3 } from "@radix-ui/react-slot";
2301
2386
  import { cva as cva8 } from "class-variance-authority";
2302
2387
  import { PanelLeft } from "lucide-react";
2303
2388
 
2304
2389
  // src/hooks/use-mobile.tsx
2305
- import * as React18 from "react";
2390
+ import * as React19 from "react";
2306
2391
  var MOBILE_BREAKPOINT = 768;
2307
2392
  function useIsMobile() {
2308
- const [isMobile, setIsMobile] = React18.useState(void 0);
2309
- React18.useEffect(() => {
2393
+ const [isMobile, setIsMobile] = React19.useState(void 0);
2394
+ React19.useEffect(() => {
2310
2395
  const mql = window.matchMedia(`(max-width: ${MOBILE_BREAKPOINT - 1}px)`);
2311
2396
  const onChange = () => {
2312
2397
  setIsMobile(window.innerWidth < MOBILE_BREAKPOINT);
@@ -2319,13 +2404,13 @@ function useIsMobile() {
2319
2404
  }
2320
2405
 
2321
2406
  // src/components/ui/separator.tsx
2322
- import * as React19 from "react";
2407
+ import * as React20 from "react";
2323
2408
  import * as SeparatorPrimitive from "@radix-ui/react-separator";
2324
- import { jsx as jsx37 } from "react/jsx-runtime";
2325
- var Separator3 = React19.forwardRef(
2409
+ import { jsx as jsx39 } from "react/jsx-runtime";
2410
+ var Separator3 = React20.forwardRef(
2326
2411
  (_a, ref) => {
2327
2412
  var _b = _a, { className, orientation = "horizontal", decorative = true } = _b, props = __objRest(_b, ["className", "orientation", "decorative"]);
2328
- return /* @__PURE__ */ jsx37(
2413
+ return /* @__PURE__ */ jsx39(
2329
2414
  SeparatorPrimitive.Root,
2330
2415
  __spreadValues({
2331
2416
  ref,
@@ -2343,14 +2428,14 @@ var Separator3 = React19.forwardRef(
2343
2428
  Separator3.displayName = SeparatorPrimitive.Root.displayName;
2344
2429
 
2345
2430
  // src/components/ui/skeleton.tsx
2346
- import { jsx as jsx38 } from "react/jsx-runtime";
2431
+ import { jsx as jsx40 } from "react/jsx-runtime";
2347
2432
  function Skeleton(_a) {
2348
2433
  var _b = _a, {
2349
2434
  className
2350
2435
  } = _b, props = __objRest(_b, [
2351
2436
  "className"
2352
2437
  ]);
2353
- return /* @__PURE__ */ jsx38(
2438
+ return /* @__PURE__ */ jsx40(
2354
2439
  "div",
2355
2440
  __spreadValues({
2356
2441
  className: cn("animate-pulse rounded-md bg-primary/10", className)
@@ -2359,15 +2444,15 @@ function Skeleton(_a) {
2359
2444
  }
2360
2445
 
2361
2446
  // src/components/ui/tooltip.tsx
2362
- import * as React20 from "react";
2447
+ import * as React21 from "react";
2363
2448
  import * as TooltipPrimitive from "@radix-ui/react-tooltip";
2364
- import { jsx as jsx39 } from "react/jsx-runtime";
2449
+ import { jsx as jsx41 } from "react/jsx-runtime";
2365
2450
  var TooltipProvider = TooltipPrimitive.Provider;
2366
2451
  var Tooltip = TooltipPrimitive.Root;
2367
2452
  var TooltipTrigger = TooltipPrimitive.Trigger;
2368
- var TooltipContent = React20.forwardRef((_a, ref) => {
2453
+ var TooltipContent = React21.forwardRef((_a, ref) => {
2369
2454
  var _b = _a, { className, sideOffset = 4 } = _b, props = __objRest(_b, ["className", "sideOffset"]);
2370
- return /* @__PURE__ */ jsx39(TooltipPrimitive.Portal, { children: /* @__PURE__ */ jsx39(
2455
+ return /* @__PURE__ */ jsx41(TooltipPrimitive.Portal, { children: /* @__PURE__ */ jsx41(
2371
2456
  TooltipPrimitive.Content,
2372
2457
  __spreadValues({
2373
2458
  ref,
@@ -2382,22 +2467,22 @@ var TooltipContent = React20.forwardRef((_a, ref) => {
2382
2467
  TooltipContent.displayName = TooltipPrimitive.Content.displayName;
2383
2468
 
2384
2469
  // src/components/ui/sidebar.tsx
2385
- import { jsx as jsx40, jsxs as jsxs21 } from "react/jsx-runtime";
2470
+ import { jsx as jsx42, jsxs as jsxs22 } from "react/jsx-runtime";
2386
2471
  var SIDEBAR_COOKIE_NAME = "sidebar:state";
2387
2472
  var SIDEBAR_COOKIE_MAX_AGE = 60 * 60 * 24 * 7;
2388
2473
  var SIDEBAR_WIDTH = "16rem";
2389
2474
  var SIDEBAR_WIDTH_MOBILE = "18rem";
2390
2475
  var SIDEBAR_WIDTH_ICON = "3rem";
2391
2476
  var SIDEBAR_KEYBOARD_SHORTCUT = "b";
2392
- var SidebarContext = React21.createContext(null);
2477
+ var SidebarContext = React22.createContext(null);
2393
2478
  function useSidebar() {
2394
- const context = React21.useContext(SidebarContext);
2479
+ const context = React22.useContext(SidebarContext);
2395
2480
  if (!context) {
2396
2481
  throw new Error("useSidebar must be used within a SidebarProvider.");
2397
2482
  }
2398
2483
  return context;
2399
2484
  }
2400
- var SidebarProvider = React21.forwardRef(
2485
+ var SidebarProvider = React22.forwardRef(
2401
2486
  (_a, ref) => {
2402
2487
  var _b = _a, {
2403
2488
  defaultOpen = true,
@@ -2415,10 +2500,10 @@ var SidebarProvider = React21.forwardRef(
2415
2500
  "children"
2416
2501
  ]);
2417
2502
  const isMobile = useIsMobile();
2418
- const [openMobile, setOpenMobile] = React21.useState(false);
2419
- const [_open, _setOpen] = React21.useState(defaultOpen);
2503
+ const [openMobile, setOpenMobile] = React22.useState(false);
2504
+ const [_open, _setOpen] = React22.useState(defaultOpen);
2420
2505
  const open = openProp != null ? openProp : _open;
2421
- const setOpen = React21.useCallback(
2506
+ const setOpen = React22.useCallback(
2422
2507
  (value) => {
2423
2508
  const openState = typeof value === "function" ? value(open) : value;
2424
2509
  if (setOpenProp) {
@@ -2430,10 +2515,10 @@ var SidebarProvider = React21.forwardRef(
2430
2515
  },
2431
2516
  [setOpenProp, open]
2432
2517
  );
2433
- const toggleSidebar = React21.useCallback(() => {
2518
+ const toggleSidebar = React22.useCallback(() => {
2434
2519
  return isMobile ? setOpenMobile((open2) => !open2) : setOpen((open2) => !open2);
2435
2520
  }, [isMobile, setOpen, setOpenMobile]);
2436
- React21.useEffect(() => {
2521
+ React22.useEffect(() => {
2437
2522
  const handleKeyDown = (event) => {
2438
2523
  if (event.key === SIDEBAR_KEYBOARD_SHORTCUT && (event.metaKey || event.ctrlKey)) {
2439
2524
  event.preventDefault();
@@ -2444,7 +2529,7 @@ var SidebarProvider = React21.forwardRef(
2444
2529
  return () => window.removeEventListener("keydown", handleKeyDown);
2445
2530
  }, [toggleSidebar]);
2446
2531
  const state = open ? "expanded" : "collapsed";
2447
- const contextValue = React21.useMemo(
2532
+ const contextValue = React22.useMemo(
2448
2533
  () => ({
2449
2534
  state,
2450
2535
  open,
@@ -2456,7 +2541,7 @@ var SidebarProvider = React21.forwardRef(
2456
2541
  }),
2457
2542
  [state, open, setOpen, isMobile, openMobile, setOpenMobile, toggleSidebar]
2458
2543
  );
2459
- return /* @__PURE__ */ jsx40(SidebarContext.Provider, { value: contextValue, children: /* @__PURE__ */ jsx40(TooltipProvider, { delayDuration: 0, children: /* @__PURE__ */ jsx40(
2544
+ return /* @__PURE__ */ jsx42(SidebarContext.Provider, { value: contextValue, children: /* @__PURE__ */ jsx42(TooltipProvider, { delayDuration: 0, children: /* @__PURE__ */ jsx42(
2460
2545
  "div",
2461
2546
  __spreadProps(__spreadValues({
2462
2547
  style: __spreadValues({
@@ -2475,7 +2560,7 @@ var SidebarProvider = React21.forwardRef(
2475
2560
  }
2476
2561
  );
2477
2562
  SidebarProvider.displayName = "SidebarProvider";
2478
- var Sidebar = React21.forwardRef(
2563
+ var Sidebar = React22.forwardRef(
2479
2564
  (_a, ref) => {
2480
2565
  var _b = _a, {
2481
2566
  side = "left",
@@ -2492,7 +2577,7 @@ var Sidebar = React21.forwardRef(
2492
2577
  ]);
2493
2578
  const { isMobile, state, openMobile, setOpenMobile } = useSidebar();
2494
2579
  if (collapsible === "none") {
2495
- return /* @__PURE__ */ jsx40(
2580
+ return /* @__PURE__ */ jsx42(
2496
2581
  "div",
2497
2582
  __spreadProps(__spreadValues({
2498
2583
  className: cn(
@@ -2506,7 +2591,7 @@ var Sidebar = React21.forwardRef(
2506
2591
  );
2507
2592
  }
2508
2593
  if (isMobile) {
2509
- return /* @__PURE__ */ jsx40(Sheet, __spreadProps(__spreadValues({ open: openMobile, onOpenChange: setOpenMobile }, props), { children: /* @__PURE__ */ jsx40(
2594
+ return /* @__PURE__ */ jsx42(Sheet, __spreadProps(__spreadValues({ open: openMobile, onOpenChange: setOpenMobile }, props), { children: /* @__PURE__ */ jsx42(
2510
2595
  SheetContent,
2511
2596
  {
2512
2597
  "data-sidebar": "sidebar",
@@ -2516,11 +2601,11 @@ var Sidebar = React21.forwardRef(
2516
2601
  "--sidebar-width": SIDEBAR_WIDTH_MOBILE
2517
2602
  },
2518
2603
  side,
2519
- children: /* @__PURE__ */ jsx40("div", { className: "flex h-full w-full flex-col", children })
2604
+ children: /* @__PURE__ */ jsx42("div", { className: "flex h-full w-full flex-col", children })
2520
2605
  }
2521
2606
  ) }));
2522
2607
  }
2523
- return /* @__PURE__ */ jsxs21(
2608
+ return /* @__PURE__ */ jsxs22(
2524
2609
  "div",
2525
2610
  {
2526
2611
  ref,
@@ -2530,7 +2615,7 @@ var Sidebar = React21.forwardRef(
2530
2615
  "data-variant": variant,
2531
2616
  "data-side": side,
2532
2617
  children: [
2533
- /* @__PURE__ */ jsx40(
2618
+ /* @__PURE__ */ jsx42(
2534
2619
  "div",
2535
2620
  {
2536
2621
  className: cn(
@@ -2541,7 +2626,7 @@ var Sidebar = React21.forwardRef(
2541
2626
  )
2542
2627
  }
2543
2628
  ),
2544
- /* @__PURE__ */ jsx40(
2629
+ /* @__PURE__ */ jsx42(
2545
2630
  "div",
2546
2631
  __spreadProps(__spreadValues({
2547
2632
  className: cn(
@@ -2552,7 +2637,7 @@ var Sidebar = React21.forwardRef(
2552
2637
  className
2553
2638
  )
2554
2639
  }, props), {
2555
- children: /* @__PURE__ */ jsx40(
2640
+ children: /* @__PURE__ */ jsx42(
2556
2641
  "div",
2557
2642
  {
2558
2643
  "data-sidebar": "sidebar",
@@ -2568,10 +2653,10 @@ var Sidebar = React21.forwardRef(
2568
2653
  }
2569
2654
  );
2570
2655
  Sidebar.displayName = "Sidebar";
2571
- var SidebarTrigger = React21.forwardRef((_a, ref) => {
2656
+ var SidebarTrigger = React22.forwardRef((_a, ref) => {
2572
2657
  var _b = _a, { className, onClick } = _b, props = __objRest(_b, ["className", "onClick"]);
2573
2658
  const { toggleSidebar } = useSidebar();
2574
- return /* @__PURE__ */ jsxs21(
2659
+ return /* @__PURE__ */ jsxs22(
2575
2660
  Button,
2576
2661
  __spreadProps(__spreadValues({
2577
2662
  ref,
@@ -2585,17 +2670,17 @@ var SidebarTrigger = React21.forwardRef((_a, ref) => {
2585
2670
  }
2586
2671
  }, props), {
2587
2672
  children: [
2588
- /* @__PURE__ */ jsx40(PanelLeft, {}),
2589
- /* @__PURE__ */ jsx40("span", { className: "sr-only", children: "Toggle Sidebar" })
2673
+ /* @__PURE__ */ jsx42(PanelLeft, {}),
2674
+ /* @__PURE__ */ jsx42("span", { className: "sr-only", children: "Toggle Sidebar" })
2590
2675
  ]
2591
2676
  })
2592
2677
  );
2593
2678
  });
2594
2679
  SidebarTrigger.displayName = "SidebarTrigger";
2595
- var SidebarRail = React21.forwardRef((_a, ref) => {
2680
+ var SidebarRail = React22.forwardRef((_a, ref) => {
2596
2681
  var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
2597
2682
  const { toggleSidebar } = useSidebar();
2598
- return /* @__PURE__ */ jsx40(
2683
+ return /* @__PURE__ */ jsx42(
2599
2684
  "button",
2600
2685
  __spreadValues({
2601
2686
  ref,
@@ -2617,9 +2702,9 @@ var SidebarRail = React21.forwardRef((_a, ref) => {
2617
2702
  );
2618
2703
  });
2619
2704
  SidebarRail.displayName = "SidebarRail";
2620
- var SidebarInset = React21.forwardRef((_a, ref) => {
2705
+ var SidebarInset = React22.forwardRef((_a, ref) => {
2621
2706
  var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
2622
- return /* @__PURE__ */ jsx40(
2707
+ return /* @__PURE__ */ jsx42(
2623
2708
  "main",
2624
2709
  __spreadValues({
2625
2710
  ref,
@@ -2632,9 +2717,9 @@ var SidebarInset = React21.forwardRef((_a, ref) => {
2632
2717
  );
2633
2718
  });
2634
2719
  SidebarInset.displayName = "SidebarInset";
2635
- var SidebarInput = React21.forwardRef((_a, ref) => {
2720
+ var SidebarInput = React22.forwardRef((_a, ref) => {
2636
2721
  var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
2637
- return /* @__PURE__ */ jsx40(
2722
+ return /* @__PURE__ */ jsx42(
2638
2723
  Input,
2639
2724
  __spreadValues({
2640
2725
  ref,
@@ -2647,9 +2732,9 @@ var SidebarInput = React21.forwardRef((_a, ref) => {
2647
2732
  );
2648
2733
  });
2649
2734
  SidebarInput.displayName = "SidebarInput";
2650
- var SidebarHeader = React21.forwardRef((_a, ref) => {
2735
+ var SidebarHeader = React22.forwardRef((_a, ref) => {
2651
2736
  var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
2652
- return /* @__PURE__ */ jsx40(
2737
+ return /* @__PURE__ */ jsx42(
2653
2738
  "div",
2654
2739
  __spreadValues({
2655
2740
  ref,
@@ -2659,9 +2744,9 @@ var SidebarHeader = React21.forwardRef((_a, ref) => {
2659
2744
  );
2660
2745
  });
2661
2746
  SidebarHeader.displayName = "SidebarHeader";
2662
- var SidebarFooter = React21.forwardRef((_a, ref) => {
2747
+ var SidebarFooter = React22.forwardRef((_a, ref) => {
2663
2748
  var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
2664
- return /* @__PURE__ */ jsx40(
2749
+ return /* @__PURE__ */ jsx42(
2665
2750
  "div",
2666
2751
  __spreadValues({
2667
2752
  ref,
@@ -2671,9 +2756,9 @@ var SidebarFooter = React21.forwardRef((_a, ref) => {
2671
2756
  );
2672
2757
  });
2673
2758
  SidebarFooter.displayName = "SidebarFooter";
2674
- var SidebarSeparator = React21.forwardRef((_a, ref) => {
2759
+ var SidebarSeparator = React22.forwardRef((_a, ref) => {
2675
2760
  var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
2676
- return /* @__PURE__ */ jsx40(
2761
+ return /* @__PURE__ */ jsx42(
2677
2762
  Separator3,
2678
2763
  __spreadValues({
2679
2764
  ref,
@@ -2683,9 +2768,9 @@ var SidebarSeparator = React21.forwardRef((_a, ref) => {
2683
2768
  );
2684
2769
  });
2685
2770
  SidebarSeparator.displayName = "SidebarSeparator";
2686
- var SidebarContent = React21.forwardRef((_a, ref) => {
2771
+ var SidebarContent = React22.forwardRef((_a, ref) => {
2687
2772
  var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
2688
- return /* @__PURE__ */ jsx40(
2773
+ return /* @__PURE__ */ jsx42(
2689
2774
  "div",
2690
2775
  __spreadValues({
2691
2776
  ref,
@@ -2698,9 +2783,9 @@ var SidebarContent = React21.forwardRef((_a, ref) => {
2698
2783
  );
2699
2784
  });
2700
2785
  SidebarContent.displayName = "SidebarContent";
2701
- var SidebarGroup = React21.forwardRef((_a, ref) => {
2786
+ var SidebarGroup = React22.forwardRef((_a, ref) => {
2702
2787
  var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
2703
- return /* @__PURE__ */ jsx40(
2788
+ return /* @__PURE__ */ jsx42(
2704
2789
  "div",
2705
2790
  __spreadValues({
2706
2791
  ref,
@@ -2710,10 +2795,10 @@ var SidebarGroup = React21.forwardRef((_a, ref) => {
2710
2795
  );
2711
2796
  });
2712
2797
  SidebarGroup.displayName = "SidebarGroup";
2713
- var SidebarGroupLabel = React21.forwardRef((_a, ref) => {
2798
+ var SidebarGroupLabel = React22.forwardRef((_a, ref) => {
2714
2799
  var _b = _a, { className, asChild = false } = _b, props = __objRest(_b, ["className", "asChild"]);
2715
2800
  const Comp = asChild ? Slot3 : "div";
2716
- return /* @__PURE__ */ jsx40(
2801
+ return /* @__PURE__ */ jsx42(
2717
2802
  Comp,
2718
2803
  __spreadValues({
2719
2804
  ref,
@@ -2727,10 +2812,10 @@ var SidebarGroupLabel = React21.forwardRef((_a, ref) => {
2727
2812
  );
2728
2813
  });
2729
2814
  SidebarGroupLabel.displayName = "SidebarGroupLabel";
2730
- var SidebarGroupAction = React21.forwardRef((_a, ref) => {
2815
+ var SidebarGroupAction = React22.forwardRef((_a, ref) => {
2731
2816
  var _b = _a, { className, asChild = false } = _b, props = __objRest(_b, ["className", "asChild"]);
2732
2817
  const Comp = asChild ? Slot3 : "button";
2733
- return /* @__PURE__ */ jsx40(
2818
+ return /* @__PURE__ */ jsx42(
2734
2819
  Comp,
2735
2820
  __spreadValues({
2736
2821
  ref,
@@ -2746,9 +2831,9 @@ var SidebarGroupAction = React21.forwardRef((_a, ref) => {
2746
2831
  );
2747
2832
  });
2748
2833
  SidebarGroupAction.displayName = "SidebarGroupAction";
2749
- var SidebarGroupContent = React21.forwardRef((_a, ref) => {
2834
+ var SidebarGroupContent = React22.forwardRef((_a, ref) => {
2750
2835
  var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
2751
- return /* @__PURE__ */ jsx40(
2836
+ return /* @__PURE__ */ jsx42(
2752
2837
  "div",
2753
2838
  __spreadValues({
2754
2839
  ref,
@@ -2758,9 +2843,9 @@ var SidebarGroupContent = React21.forwardRef((_a, ref) => {
2758
2843
  );
2759
2844
  });
2760
2845
  SidebarGroupContent.displayName = "SidebarGroupContent";
2761
- var SidebarMenu = React21.forwardRef((_a, ref) => {
2846
+ var SidebarMenu = React22.forwardRef((_a, ref) => {
2762
2847
  var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
2763
- return /* @__PURE__ */ jsx40(
2848
+ return /* @__PURE__ */ jsx42(
2764
2849
  "ul",
2765
2850
  __spreadValues({
2766
2851
  ref,
@@ -2770,9 +2855,9 @@ var SidebarMenu = React21.forwardRef((_a, ref) => {
2770
2855
  );
2771
2856
  });
2772
2857
  SidebarMenu.displayName = "SidebarMenu";
2773
- var SidebarMenuItem = React21.forwardRef((_a, ref) => {
2858
+ var SidebarMenuItem = React22.forwardRef((_a, ref) => {
2774
2859
  var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
2775
- return /* @__PURE__ */ jsx40(
2860
+ return /* @__PURE__ */ jsx42(
2776
2861
  "li",
2777
2862
  __spreadValues({
2778
2863
  ref,
@@ -2802,7 +2887,7 @@ var sidebarMenuButtonVariants = cva8(
2802
2887
  }
2803
2888
  }
2804
2889
  );
2805
- var SidebarMenuButton = React21.forwardRef(
2890
+ var SidebarMenuButton = React22.forwardRef(
2806
2891
  (_a, ref) => {
2807
2892
  var _b = _a, {
2808
2893
  asChild = false,
@@ -2821,7 +2906,7 @@ var SidebarMenuButton = React21.forwardRef(
2821
2906
  ]);
2822
2907
  const Comp = asChild ? Slot3 : "button";
2823
2908
  const { isMobile, state } = useSidebar();
2824
- const button = /* @__PURE__ */ jsx40(
2909
+ const button = /* @__PURE__ */ jsx42(
2825
2910
  Comp,
2826
2911
  __spreadValues({
2827
2912
  ref,
@@ -2839,9 +2924,9 @@ var SidebarMenuButton = React21.forwardRef(
2839
2924
  children: tooltip
2840
2925
  };
2841
2926
  }
2842
- return /* @__PURE__ */ jsxs21(Tooltip, { children: [
2843
- /* @__PURE__ */ jsx40(TooltipTrigger, { asChild: true, children: button }),
2844
- /* @__PURE__ */ jsx40(
2927
+ return /* @__PURE__ */ jsxs22(Tooltip, { children: [
2928
+ /* @__PURE__ */ jsx42(TooltipTrigger, { asChild: true, children: button }),
2929
+ /* @__PURE__ */ jsx42(
2845
2930
  TooltipContent,
2846
2931
  __spreadValues({
2847
2932
  side: "right",
@@ -2853,10 +2938,10 @@ var SidebarMenuButton = React21.forwardRef(
2853
2938
  }
2854
2939
  );
2855
2940
  SidebarMenuButton.displayName = "SidebarMenuButton";
2856
- var SidebarMenuAction = React21.forwardRef((_a, ref) => {
2941
+ var SidebarMenuAction = React22.forwardRef((_a, ref) => {
2857
2942
  var _b = _a, { className, asChild = false, showOnHover = false } = _b, props = __objRest(_b, ["className", "asChild", "showOnHover"]);
2858
2943
  const Comp = asChild ? Slot3 : "button";
2859
- return /* @__PURE__ */ jsx40(
2944
+ return /* @__PURE__ */ jsx42(
2860
2945
  Comp,
2861
2946
  __spreadValues({
2862
2947
  ref,
@@ -2876,9 +2961,9 @@ var SidebarMenuAction = React21.forwardRef((_a, ref) => {
2876
2961
  );
2877
2962
  });
2878
2963
  SidebarMenuAction.displayName = "SidebarMenuAction";
2879
- var SidebarMenuBadge = React21.forwardRef((_a, ref) => {
2964
+ var SidebarMenuBadge = React22.forwardRef((_a, ref) => {
2880
2965
  var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
2881
- return /* @__PURE__ */ jsx40(
2966
+ return /* @__PURE__ */ jsx42(
2882
2967
  "div",
2883
2968
  __spreadValues({
2884
2969
  ref,
@@ -2896,12 +2981,12 @@ var SidebarMenuBadge = React21.forwardRef((_a, ref) => {
2896
2981
  );
2897
2982
  });
2898
2983
  SidebarMenuBadge.displayName = "SidebarMenuBadge";
2899
- var SidebarMenuSkeleton = React21.forwardRef((_a, ref) => {
2984
+ var SidebarMenuSkeleton = React22.forwardRef((_a, ref) => {
2900
2985
  var _b = _a, { className, showIcon = false } = _b, props = __objRest(_b, ["className", "showIcon"]);
2901
- const width = React21.useMemo(() => {
2986
+ const width = React22.useMemo(() => {
2902
2987
  return `${Math.floor(Math.random() * 40) + 50}%`;
2903
2988
  }, []);
2904
- return /* @__PURE__ */ jsxs21(
2989
+ return /* @__PURE__ */ jsxs22(
2905
2990
  "div",
2906
2991
  __spreadProps(__spreadValues({
2907
2992
  ref,
@@ -2909,14 +2994,14 @@ var SidebarMenuSkeleton = React21.forwardRef((_a, ref) => {
2909
2994
  className: cn("rounded-md h-8 flex gap-2 px-2 items-center", className)
2910
2995
  }, props), {
2911
2996
  children: [
2912
- showIcon && /* @__PURE__ */ jsx40(
2997
+ showIcon && /* @__PURE__ */ jsx42(
2913
2998
  Skeleton,
2914
2999
  {
2915
3000
  className: "size-4 rounded-md",
2916
3001
  "data-sidebar": "menu-skeleton-icon"
2917
3002
  }
2918
3003
  ),
2919
- /* @__PURE__ */ jsx40(
3004
+ /* @__PURE__ */ jsx42(
2920
3005
  Skeleton,
2921
3006
  {
2922
3007
  className: "h-4 flex-1 max-w-[--skeleton-width]",
@@ -2931,9 +3016,9 @@ var SidebarMenuSkeleton = React21.forwardRef((_a, ref) => {
2931
3016
  );
2932
3017
  });
2933
3018
  SidebarMenuSkeleton.displayName = "SidebarMenuSkeleton";
2934
- var SidebarMenuSub = React21.forwardRef((_a, ref) => {
3019
+ var SidebarMenuSub = React22.forwardRef((_a, ref) => {
2935
3020
  var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
2936
- return /* @__PURE__ */ jsx40(
3021
+ return /* @__PURE__ */ jsx42(
2937
3022
  "ul",
2938
3023
  __spreadValues({
2939
3024
  ref,
@@ -2947,15 +3032,15 @@ var SidebarMenuSub = React21.forwardRef((_a, ref) => {
2947
3032
  );
2948
3033
  });
2949
3034
  SidebarMenuSub.displayName = "SidebarMenuSub";
2950
- var SidebarMenuSubItem = React21.forwardRef((_a, ref) => {
3035
+ var SidebarMenuSubItem = React22.forwardRef((_a, ref) => {
2951
3036
  var props = __objRest(_a, []);
2952
- return /* @__PURE__ */ jsx40("li", __spreadValues({ ref }, props));
3037
+ return /* @__PURE__ */ jsx42("li", __spreadValues({ ref }, props));
2953
3038
  });
2954
3039
  SidebarMenuSubItem.displayName = "SidebarMenuSubItem";
2955
- var SidebarMenuSubButton = React21.forwardRef((_a, ref) => {
3040
+ var SidebarMenuSubButton = React22.forwardRef((_a, ref) => {
2956
3041
  var _b = _a, { asChild = false, size = "md", isActive, className } = _b, props = __objRest(_b, ["asChild", "size", "isActive", "className"]);
2957
3042
  const Comp = asChild ? Slot3 : "a";
2958
- return /* @__PURE__ */ jsx40(
3043
+ return /* @__PURE__ */ jsx42(
2959
3044
  Comp,
2960
3045
  __spreadValues({
2961
3046
  ref,
@@ -2980,47 +3065,47 @@ import { GalleryVerticalEnd } from "lucide-react";
2980
3065
 
2981
3066
  // src/components/layout/Sidebar/components/team-switcher.tsx
2982
3067
  import { ChevronsUpDown } from "lucide-react";
2983
- import { jsx as jsx41, jsxs as jsxs22 } from "react/jsx-runtime";
3068
+ import { jsx as jsx43, jsxs as jsxs23 } from "react/jsx-runtime";
2984
3069
  function TeamSwitcher({
2985
3070
  teams
2986
3071
  }) {
2987
3072
  const { isMobile } = useSidebar();
2988
- return /* @__PURE__ */ jsx41(SidebarMenu, { children: /* @__PURE__ */ jsx41(SidebarMenuItem, { children: /* @__PURE__ */ jsx41(DropdownMenu, { children: /* @__PURE__ */ jsx41(DropdownMenuTrigger, { asChild: true, children: /* @__PURE__ */ jsxs22(
3073
+ return /* @__PURE__ */ jsx43(SidebarMenu, { children: /* @__PURE__ */ jsx43(SidebarMenuItem, { children: /* @__PURE__ */ jsx43(DropdownMenu, { children: /* @__PURE__ */ jsx43(DropdownMenuTrigger, { asChild: true, children: /* @__PURE__ */ jsxs23(
2989
3074
  SidebarMenuButton,
2990
3075
  {
2991
3076
  size: "lg",
2992
3077
  className: "data-[state=open]:bg-sidebar-accent data-[state=open]:text-sidebar-accent-foreground",
2993
3078
  children: [
2994
- /* @__PURE__ */ jsx41("div", { className: "flex aspect-square size-8 items-center justify-center rounded-lg bg-sidebar-primary text-sidebar-primary-foreground" }),
2995
- /* @__PURE__ */ jsxs22("div", { className: "grid flex-1 text-left text-sm leading-tight", children: [
2996
- /* @__PURE__ */ jsx41("span", { className: "truncate font-semibold", children: teams == null ? void 0 : teams.name }),
2997
- /* @__PURE__ */ jsx41("span", { className: "truncate text-xs", children: teams == null ? void 0 : teams.plan })
3079
+ /* @__PURE__ */ jsx43("div", { className: "flex aspect-square size-8 items-center justify-center rounded-lg bg-sidebar-primary text-sidebar-primary-foreground" }),
3080
+ /* @__PURE__ */ jsxs23("div", { className: "grid flex-1 text-left text-sm leading-tight", children: [
3081
+ /* @__PURE__ */ jsx43("span", { className: "truncate font-semibold", children: teams == null ? void 0 : teams.name }),
3082
+ /* @__PURE__ */ jsx43("span", { className: "truncate text-xs", children: teams == null ? void 0 : teams.plan })
2998
3083
  ] }),
2999
- /* @__PURE__ */ jsx41(ChevronsUpDown, { className: "ml-auto" })
3084
+ /* @__PURE__ */ jsx43(ChevronsUpDown, { className: "ml-auto" })
3000
3085
  ]
3001
3086
  }
3002
3087
  ) }) }) }) });
3003
3088
  }
3004
3089
 
3005
3090
  // src/components/layout/Sidebar/components/menus.tsx
3006
- import { Fragment as Fragment3, jsx as jsx42, jsxs as jsxs23 } from "react/jsx-runtime";
3091
+ import { Fragment as Fragment4, jsx as jsx44, jsxs as jsxs24 } from "react/jsx-runtime";
3007
3092
  function Menus({
3008
3093
  items
3009
3094
  }) {
3010
- return /* @__PURE__ */ jsx42(Fragment3, { children: items.map((item, index) => {
3095
+ return /* @__PURE__ */ jsx44(Fragment4, { children: items.map((item, index) => {
3011
3096
  var _a;
3012
- return /* @__PURE__ */ jsxs23(SidebarGroup, { children: [
3013
- /* @__PURE__ */ jsx42(SidebarGroupLabel, { children: item.title }),
3014
- /* @__PURE__ */ jsx42(SidebarMenu, { children: (_a = item.items) == null ? void 0 : _a.map((subItem) => /* @__PURE__ */ jsx42(SidebarMenuItem, { children: /* @__PURE__ */ jsx42(
3097
+ return /* @__PURE__ */ jsxs24(SidebarGroup, { children: [
3098
+ /* @__PURE__ */ jsx44(SidebarGroupLabel, { children: item.title }),
3099
+ /* @__PURE__ */ jsx44(SidebarMenu, { children: (_a = item.items) == null ? void 0 : _a.map((subItem) => /* @__PURE__ */ jsx44(SidebarMenuItem, { children: /* @__PURE__ */ jsx44(
3015
3100
  SidebarMenuButton,
3016
3101
  {
3017
3102
  asChild: true,
3018
3103
  className: cn(
3019
3104
  (subItem == null ? void 0 : subItem.isActive) && "bg-sidebar-accent font-semibold"
3020
3105
  ),
3021
- children: /* @__PURE__ */ jsxs23("a", { href: subItem.url, children: [
3106
+ children: /* @__PURE__ */ jsxs24("a", { href: subItem.url, children: [
3022
3107
  (subItem == null ? void 0 : subItem.icon) && subItem.icon(),
3023
- /* @__PURE__ */ jsx42("span", { children: subItem.title })
3108
+ /* @__PURE__ */ jsx44("span", { children: subItem.title })
3024
3109
  ] })
3025
3110
  }
3026
3111
  ) }, subItem.title)) })
@@ -3029,13 +3114,13 @@ function Menus({
3029
3114
  }
3030
3115
 
3031
3116
  // src/components/layout/Sidebar/components/app-sidebar.tsx
3032
- import { jsx as jsx43, jsxs as jsxs24 } from "react/jsx-runtime";
3117
+ import { jsx as jsx45, jsxs as jsxs25 } from "react/jsx-runtime";
3033
3118
  function AppSidebar(_a) {
3034
3119
  var _b = _a, {
3035
3120
  navbar = [],
3036
3121
  enterprise = {
3037
3122
  name: "Acme Inc",
3038
- logo: () => /* @__PURE__ */ jsx43(GalleryVerticalEnd, {}),
3123
+ logo: () => /* @__PURE__ */ jsx45(GalleryVerticalEnd, {}),
3039
3124
  plan: "Enterprise"
3040
3125
  },
3041
3126
  footer
@@ -3044,27 +3129,27 @@ function AppSidebar(_a) {
3044
3129
  "enterprise",
3045
3130
  "footer"
3046
3131
  ]);
3047
- return /* @__PURE__ */ jsxs24(Sidebar, __spreadProps(__spreadValues({ collapsible: "icon" }, props), { children: [
3048
- /* @__PURE__ */ jsx43(SidebarHeader, { children: /* @__PURE__ */ jsx43(TeamSwitcher, { teams: enterprise }) }),
3049
- /* @__PURE__ */ jsx43(SidebarContent, { children: /* @__PURE__ */ jsx43(Menus, { items: navbar }) }),
3050
- footer && /* @__PURE__ */ jsx43(SidebarFooter, { children: footer() }),
3051
- /* @__PURE__ */ jsx43(SidebarRail, {})
3132
+ return /* @__PURE__ */ jsxs25(Sidebar, __spreadProps(__spreadValues({ collapsible: "icon" }, props), { children: [
3133
+ /* @__PURE__ */ jsx45(SidebarHeader, { children: /* @__PURE__ */ jsx45(TeamSwitcher, { teams: enterprise }) }),
3134
+ /* @__PURE__ */ jsx45(SidebarContent, { children: /* @__PURE__ */ jsx45(Menus, { items: navbar }) }),
3135
+ footer && /* @__PURE__ */ jsx45(SidebarFooter, { children: footer() }),
3136
+ /* @__PURE__ */ jsx45(SidebarRail, {})
3052
3137
  ] }));
3053
3138
  }
3054
3139
 
3055
3140
  // src/components/ui/breadcrumb.tsx
3056
- import * as React22 from "react";
3141
+ import * as React23 from "react";
3057
3142
  import { Slot as Slot4 } from "@radix-ui/react-slot";
3058
3143
  import { ChevronRight as ChevronRight2, MoreHorizontal } from "lucide-react";
3059
- import { jsx as jsx44, jsxs as jsxs25 } from "react/jsx-runtime";
3060
- var Breadcrumb = React22.forwardRef((_a, ref) => {
3144
+ import { jsx as jsx46, jsxs as jsxs26 } from "react/jsx-runtime";
3145
+ var Breadcrumb = React23.forwardRef((_a, ref) => {
3061
3146
  var props = __objRest(_a, []);
3062
- return /* @__PURE__ */ jsx44("nav", __spreadValues({ ref, "aria-label": "breadcrumb" }, props));
3147
+ return /* @__PURE__ */ jsx46("nav", __spreadValues({ ref, "aria-label": "breadcrumb" }, props));
3063
3148
  });
3064
3149
  Breadcrumb.displayName = "Breadcrumb";
3065
- var BreadcrumbList = React22.forwardRef((_a, ref) => {
3150
+ var BreadcrumbList = React23.forwardRef((_a, ref) => {
3066
3151
  var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
3067
- return /* @__PURE__ */ jsx44(
3152
+ return /* @__PURE__ */ jsx46(
3068
3153
  "ol",
3069
3154
  __spreadValues({
3070
3155
  ref,
@@ -3076,9 +3161,9 @@ var BreadcrumbList = React22.forwardRef((_a, ref) => {
3076
3161
  );
3077
3162
  });
3078
3163
  BreadcrumbList.displayName = "BreadcrumbList";
3079
- var BreadcrumbItem = React22.forwardRef((_a, ref) => {
3164
+ var BreadcrumbItem = React23.forwardRef((_a, ref) => {
3080
3165
  var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
3081
- return /* @__PURE__ */ jsx44(
3166
+ return /* @__PURE__ */ jsx46(
3082
3167
  "li",
3083
3168
  __spreadValues({
3084
3169
  ref,
@@ -3087,10 +3172,10 @@ var BreadcrumbItem = React22.forwardRef((_a, ref) => {
3087
3172
  );
3088
3173
  });
3089
3174
  BreadcrumbItem.displayName = "BreadcrumbItem";
3090
- var BreadcrumbLink = React22.forwardRef((_a, ref) => {
3175
+ var BreadcrumbLink = React23.forwardRef((_a, ref) => {
3091
3176
  var _b = _a, { asChild, className } = _b, props = __objRest(_b, ["asChild", "className"]);
3092
3177
  const Comp = asChild ? Slot4 : "a";
3093
- return /* @__PURE__ */ jsx44(
3178
+ return /* @__PURE__ */ jsx46(
3094
3179
  Comp,
3095
3180
  __spreadValues({
3096
3181
  ref,
@@ -3099,9 +3184,9 @@ var BreadcrumbLink = React22.forwardRef((_a, ref) => {
3099
3184
  );
3100
3185
  });
3101
3186
  BreadcrumbLink.displayName = "BreadcrumbLink";
3102
- var BreadcrumbPage = React22.forwardRef((_a, ref) => {
3187
+ var BreadcrumbPage = React23.forwardRef((_a, ref) => {
3103
3188
  var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
3104
- return /* @__PURE__ */ jsx44(
3189
+ return /* @__PURE__ */ jsx46(
3105
3190
  "span",
3106
3191
  __spreadValues({
3107
3192
  ref,
@@ -3121,14 +3206,14 @@ var BreadcrumbSeparator = (_a) => {
3121
3206
  "children",
3122
3207
  "className"
3123
3208
  ]);
3124
- return /* @__PURE__ */ jsx44(
3209
+ return /* @__PURE__ */ jsx46(
3125
3210
  "li",
3126
3211
  __spreadProps(__spreadValues({
3127
3212
  role: "presentation",
3128
3213
  "aria-hidden": "true",
3129
3214
  className: cn("[&>svg]:w-3.5 [&>svg]:h-3.5", className)
3130
3215
  }, props), {
3131
- children: children != null ? children : /* @__PURE__ */ jsx44(ChevronRight2, {})
3216
+ children: children != null ? children : /* @__PURE__ */ jsx46(ChevronRight2, {})
3132
3217
  })
3133
3218
  );
3134
3219
  };
@@ -3139,7 +3224,7 @@ var BreadcrumbEllipsis = (_a) => {
3139
3224
  } = _b, props = __objRest(_b, [
3140
3225
  "className"
3141
3226
  ]);
3142
- return /* @__PURE__ */ jsxs25(
3227
+ return /* @__PURE__ */ jsxs26(
3143
3228
  "span",
3144
3229
  __spreadProps(__spreadValues({
3145
3230
  role: "presentation",
@@ -3147,8 +3232,8 @@ var BreadcrumbEllipsis = (_a) => {
3147
3232
  className: cn("flex h-9 w-9 items-center justify-center", className)
3148
3233
  }, props), {
3149
3234
  children: [
3150
- /* @__PURE__ */ jsx44(MoreHorizontal, { className: "h-4 w-4" }),
3151
- /* @__PURE__ */ jsx44("span", { className: "sr-only", children: "More" })
3235
+ /* @__PURE__ */ jsx46(MoreHorizontal, { className: "h-4 w-4" }),
3236
+ /* @__PURE__ */ jsx46("span", { className: "sr-only", children: "More" })
3152
3237
  ]
3153
3238
  })
3154
3239
  );
@@ -3157,7 +3242,7 @@ BreadcrumbEllipsis.displayName = "BreadcrumbElipssis";
3157
3242
 
3158
3243
  // src/components/layout/Sidebar/provider/index.tsx
3159
3244
  import { createContext as createContext3, useContext as useContext3, useState as useState7 } from "react";
3160
- import { jsx as jsx45 } from "react/jsx-runtime";
3245
+ import { jsx as jsx47 } from "react/jsx-runtime";
3161
3246
  var SidebarContext2 = createContext3({});
3162
3247
  function SidebarProvider2({
3163
3248
  children,
@@ -3167,7 +3252,7 @@ function SidebarProvider2({
3167
3252
  const [isCollapsed, setIsCollapsed] = useState7(defaultCollapsed);
3168
3253
  const [currentPath, setCurrentPath] = useState7(defaultPath);
3169
3254
  const toggleCollapse = () => setIsCollapsed((prev) => !prev);
3170
- return /* @__PURE__ */ jsx45(
3255
+ return /* @__PURE__ */ jsx47(
3171
3256
  SidebarContext2.Provider,
3172
3257
  {
3173
3258
  value: {
@@ -3189,7 +3274,7 @@ function useSidebar2() {
3189
3274
  }
3190
3275
 
3191
3276
  // src/components/layout/Sidebar/components/header-sidebar.tsx
3192
- import { jsx as jsx46, jsxs as jsxs26 } from "react/jsx-runtime";
3277
+ import { jsx as jsx48, jsxs as jsxs27 } from "react/jsx-runtime";
3193
3278
  var routeMap = {
3194
3279
  dashboard: "Dashboard",
3195
3280
  users: "Usu\xE1rios",
@@ -3203,11 +3288,11 @@ var routeMap = {
3203
3288
  };
3204
3289
  var BreadcrumbElement = ({ isLast, path, label }) => {
3205
3290
  if (isLast) {
3206
- return /* @__PURE__ */ jsx46(BreadcrumbItem, { children: /* @__PURE__ */ jsx46(BreadcrumbPage, { className: "capitalize", children: label }) });
3291
+ return /* @__PURE__ */ jsx48(BreadcrumbItem, { children: /* @__PURE__ */ jsx48(BreadcrumbPage, { className: "capitalize", children: label }) });
3207
3292
  }
3208
- return /* @__PURE__ */ jsxs26(BreadcrumbItem, { children: [
3209
- /* @__PURE__ */ jsx46(BreadcrumbLink, { href: path, className: "capitalize", children: label }),
3210
- /* @__PURE__ */ jsx46(BreadcrumbSeparator, {})
3293
+ return /* @__PURE__ */ jsxs27(BreadcrumbItem, { children: [
3294
+ /* @__PURE__ */ jsx48(BreadcrumbLink, { href: path, className: "capitalize", children: label }),
3295
+ /* @__PURE__ */ jsx48(BreadcrumbSeparator, {})
3211
3296
  ] });
3212
3297
  };
3213
3298
  var HeaderSidebar = () => {
@@ -3222,37 +3307,37 @@ var HeaderSidebar = () => {
3222
3307
  isLast
3223
3308
  };
3224
3309
  });
3225
- return /* @__PURE__ */ jsx46("header", { className: "flex h-16 shrink-0 items-center border-b border-border bg-background px-4 transition-[width,height] ease-linear group-has-[[data-collapsible=icon]]/sidebar-wrapper:h-12", children: /* @__PURE__ */ jsxs26("div", { className: "flex items-center gap-4", children: [
3226
- /* @__PURE__ */ jsx46(SidebarTrigger, { className: "-ml-2 h-9 w-9" }),
3227
- /* @__PURE__ */ jsx46(Separator3, { orientation: "vertical", className: "h-6" }),
3228
- /* @__PURE__ */ jsx46(Breadcrumb, { children: /* @__PURE__ */ jsxs26(BreadcrumbList, { children: [
3229
- /* @__PURE__ */ jsxs26(BreadcrumbItem, { children: [
3230
- /* @__PURE__ */ jsx46(BreadcrumbLink, { href: "/", className: "capitalize", children: "Home" }),
3231
- /* @__PURE__ */ jsx46(BreadcrumbSeparator, {})
3310
+ return /* @__PURE__ */ jsx48("header", { className: "flex h-16 shrink-0 items-center border-b border-border bg-background px-4 transition-[width,height] ease-linear group-has-[[data-collapsible=icon]]/sidebar-wrapper:h-12", children: /* @__PURE__ */ jsxs27("div", { className: "flex items-center gap-4", children: [
3311
+ /* @__PURE__ */ jsx48(SidebarTrigger, { className: "-ml-2 h-9 w-9" }),
3312
+ /* @__PURE__ */ jsx48(Separator3, { orientation: "vertical", className: "h-6" }),
3313
+ /* @__PURE__ */ jsx48(Breadcrumb, { children: /* @__PURE__ */ jsxs27(BreadcrumbList, { children: [
3314
+ /* @__PURE__ */ jsxs27(BreadcrumbItem, { children: [
3315
+ /* @__PURE__ */ jsx48(BreadcrumbLink, { href: "/", className: "capitalize", children: "Home" }),
3316
+ /* @__PURE__ */ jsx48(BreadcrumbSeparator, {})
3232
3317
  ] }),
3233
- breadcrumbItems.map((item) => /* @__PURE__ */ jsx46(BreadcrumbElement, __spreadValues({}, item), item.path))
3318
+ breadcrumbItems.map((item) => /* @__PURE__ */ jsx48(BreadcrumbElement, __spreadValues({}, item), item.path))
3234
3319
  ] }) })
3235
3320
  ] }) });
3236
3321
  };
3237
3322
 
3238
3323
  // src/components/layout/Sidebar/components/footer-sidebar.tsx
3239
- import { jsx as jsx47, jsxs as jsxs27 } from "react/jsx-runtime";
3324
+ import { jsx as jsx49, jsxs as jsxs28 } from "react/jsx-runtime";
3240
3325
  var FooterSidebar = () => {
3241
- return /* @__PURE__ */ jsxs27("footer", { className: "h-[65px]", children: [
3242
- /* @__PURE__ */ jsx47(Separator3, {}),
3243
- /* @__PURE__ */ jsxs27("div", { className: "flex items-center justify-between h-16 bg-background px-5", children: [
3244
- /* @__PURE__ */ jsxs27("span", { className: "text-sm text-muted-foreground", children: [
3326
+ return /* @__PURE__ */ jsxs28("footer", { className: "h-[65px]", children: [
3327
+ /* @__PURE__ */ jsx49(Separator3, {}),
3328
+ /* @__PURE__ */ jsxs28("div", { className: "flex items-center justify-between h-16 bg-background px-5", children: [
3329
+ /* @__PURE__ */ jsxs28("span", { className: "text-sm text-muted-foreground", children: [
3245
3330
  "\xA9 ",
3246
3331
  (/* @__PURE__ */ new Date()).getFullYear(),
3247
3332
  " Your Company"
3248
3333
  ] }),
3249
- /* @__PURE__ */ jsx47("span", { className: "text-sm text-muted-foreground", children: "Feito na terra do sol \u{1F31E}" })
3334
+ /* @__PURE__ */ jsx49("span", { className: "text-sm text-muted-foreground", children: "Feito na terra do sol \u{1F31E}" })
3250
3335
  ] })
3251
3336
  ] });
3252
3337
  };
3253
3338
 
3254
3339
  // src/components/layout/Sidebar/Sidebar.tsx
3255
- import { jsx as jsx48, jsxs as jsxs28 } from "react/jsx-runtime";
3340
+ import { jsx as jsx50, jsxs as jsxs29 } from "react/jsx-runtime";
3256
3341
  var Sidebar2 = (_a) => {
3257
3342
  var _b = _a, {
3258
3343
  children,
@@ -3267,16 +3352,16 @@ var Sidebar2 = (_a) => {
3267
3352
  "defaultPath",
3268
3353
  "defaultCollapsed"
3269
3354
  ]);
3270
- return /* @__PURE__ */ jsx48(
3355
+ return /* @__PURE__ */ jsx50(
3271
3356
  SidebarProvider2,
3272
3357
  {
3273
3358
  defaultPath,
3274
3359
  defaultCollapsed,
3275
- children: /* @__PURE__ */ jsxs28(SidebarProvider, { children: [
3276
- /* @__PURE__ */ jsx48(AppSidebar, __spreadValues({}, rest)),
3277
- /* @__PURE__ */ jsxs28(SidebarInset, { className: "overflow-auto bg-slate-50", children: [
3278
- /* @__PURE__ */ jsx48(HeaderSidebar, {}),
3279
- /* @__PURE__ */ jsx48(
3360
+ children: /* @__PURE__ */ jsxs29(SidebarProvider, { children: [
3361
+ /* @__PURE__ */ jsx50(AppSidebar, __spreadValues({}, rest)),
3362
+ /* @__PURE__ */ jsxs29(SidebarInset, { className: "overflow-auto bg-slate-50", children: [
3363
+ /* @__PURE__ */ jsx50(HeaderSidebar, {}),
3364
+ /* @__PURE__ */ jsx50(
3280
3365
  "main",
3281
3366
  {
3282
3367
  className: cn(
@@ -3286,7 +3371,7 @@ var Sidebar2 = (_a) => {
3286
3371
  children
3287
3372
  }
3288
3373
  ),
3289
- showFooter && /* @__PURE__ */ jsx48(FooterSidebar, {})
3374
+ showFooter && /* @__PURE__ */ jsx50(FooterSidebar, {})
3290
3375
  ] })
3291
3376
  ] })
3292
3377
  }
@@ -3303,7 +3388,7 @@ import {
3303
3388
  Sparkles
3304
3389
  } from "lucide-react";
3305
3390
  import { useCallback as useCallback7 } from "react";
3306
- import { Fragment as Fragment4, jsx as jsx49, jsxs as jsxs29 } from "react/jsx-runtime";
3391
+ import { Fragment as Fragment5, jsx as jsx51, jsxs as jsxs30 } from "react/jsx-runtime";
3307
3392
  function NavUser({
3308
3393
  user,
3309
3394
  logoutAction = () => {
@@ -3311,30 +3396,30 @@ function NavUser({
3311
3396
  }) {
3312
3397
  const { isMobile } = useSidebar();
3313
3398
  const renderUserInformation = useCallback7(() => {
3314
- return /* @__PURE__ */ jsxs29(Fragment4, { children: [
3315
- /* @__PURE__ */ jsxs29(Avatar, { className: "h-8 w-8 rounded-lg", children: [
3316
- /* @__PURE__ */ jsx49(AvatarImage, { src: user == null ? void 0 : user.avatar, alt: user == null ? void 0 : user.name }),
3317
- /* @__PURE__ */ jsx49(AvatarFallback, { className: "rounded-lg", children: "CN" })
3399
+ return /* @__PURE__ */ jsxs30(Fragment5, { children: [
3400
+ /* @__PURE__ */ jsxs30(Avatar, { className: "h-8 w-8 rounded-lg", children: [
3401
+ /* @__PURE__ */ jsx51(AvatarImage, { src: user == null ? void 0 : user.avatar, alt: user == null ? void 0 : user.name }),
3402
+ /* @__PURE__ */ jsx51(AvatarFallback, { className: "rounded-lg", children: "CN" })
3318
3403
  ] }),
3319
- /* @__PURE__ */ jsxs29("div", { className: "grid flex-1 text-left text-sm leading-tight", children: [
3320
- /* @__PURE__ */ jsx49("span", { className: "truncate font-semibold", children: user == null ? void 0 : user.name }),
3321
- /* @__PURE__ */ jsx49("span", { className: "truncate text-xs", children: user == null ? void 0 : user.email })
3404
+ /* @__PURE__ */ jsxs30("div", { className: "grid flex-1 text-left text-sm leading-tight", children: [
3405
+ /* @__PURE__ */ jsx51("span", { className: "truncate font-semibold", children: user == null ? void 0 : user.name }),
3406
+ /* @__PURE__ */ jsx51("span", { className: "truncate text-xs", children: user == null ? void 0 : user.email })
3322
3407
  ] })
3323
3408
  ] });
3324
3409
  }, [user]);
3325
- return /* @__PURE__ */ jsx49(SidebarMenu, { children: /* @__PURE__ */ jsx49(SidebarMenuItem, { children: /* @__PURE__ */ jsxs29(DropdownMenu, { children: [
3326
- /* @__PURE__ */ jsx49(DropdownMenuTrigger, { asChild: true, children: /* @__PURE__ */ jsxs29(
3410
+ return /* @__PURE__ */ jsx51(SidebarMenu, { children: /* @__PURE__ */ jsx51(SidebarMenuItem, { children: /* @__PURE__ */ jsxs30(DropdownMenu, { children: [
3411
+ /* @__PURE__ */ jsx51(DropdownMenuTrigger, { asChild: true, children: /* @__PURE__ */ jsxs30(
3327
3412
  SidebarMenuButton,
3328
3413
  {
3329
3414
  size: "lg",
3330
3415
  className: "data-[state=open]:bg-sidebar-accent data-[state=open]:text-sidebar-accent-foreground",
3331
3416
  children: [
3332
3417
  renderUserInformation(),
3333
- /* @__PURE__ */ jsx49(ChevronsUpDown2, { className: "ml-auto size-4" })
3418
+ /* @__PURE__ */ jsx51(ChevronsUpDown2, { className: "ml-auto size-4" })
3334
3419
  ]
3335
3420
  }
3336
3421
  ) }),
3337
- /* @__PURE__ */ jsxs29(
3422
+ /* @__PURE__ */ jsxs30(
3338
3423
  DropdownMenuContent,
3339
3424
  {
3340
3425
  className: "w-[--radix-dropdown-menu-trigger-width] min-w-56 rounded-lg",
@@ -3342,30 +3427,30 @@ function NavUser({
3342
3427
  align: "end",
3343
3428
  sideOffset: 4,
3344
3429
  children: [
3345
- /* @__PURE__ */ jsx49(DropdownMenuLabel, { className: "p-0 font-normal", children: /* @__PURE__ */ jsx49("div", { className: "flex items-center gap-2 px-1 py-1.5 text-left text-sm", children: renderUserInformation() }) }),
3346
- /* @__PURE__ */ jsx49(DropdownMenuSeparator, {}),
3347
- /* @__PURE__ */ jsx49(DropdownMenuGroup, { children: /* @__PURE__ */ jsxs29(DropdownMenuItem, { children: [
3348
- /* @__PURE__ */ jsx49(Sparkles, {}),
3430
+ /* @__PURE__ */ jsx51(DropdownMenuLabel, { className: "p-0 font-normal", children: /* @__PURE__ */ jsx51("div", { className: "flex items-center gap-2 px-1 py-1.5 text-left text-sm", children: renderUserInformation() }) }),
3431
+ /* @__PURE__ */ jsx51(DropdownMenuSeparator, {}),
3432
+ /* @__PURE__ */ jsx51(DropdownMenuGroup, { children: /* @__PURE__ */ jsxs30(DropdownMenuItem, { children: [
3433
+ /* @__PURE__ */ jsx51(Sparkles, {}),
3349
3434
  "Upgrade to Pro"
3350
3435
  ] }) }),
3351
- /* @__PURE__ */ jsx49(DropdownMenuSeparator, {}),
3352
- /* @__PURE__ */ jsxs29(DropdownMenuGroup, { children: [
3353
- /* @__PURE__ */ jsxs29(DropdownMenuItem, { children: [
3354
- /* @__PURE__ */ jsx49(BadgeCheck, {}),
3436
+ /* @__PURE__ */ jsx51(DropdownMenuSeparator, {}),
3437
+ /* @__PURE__ */ jsxs30(DropdownMenuGroup, { children: [
3438
+ /* @__PURE__ */ jsxs30(DropdownMenuItem, { children: [
3439
+ /* @__PURE__ */ jsx51(BadgeCheck, {}),
3355
3440
  "Account"
3356
3441
  ] }),
3357
- /* @__PURE__ */ jsxs29(DropdownMenuItem, { children: [
3358
- /* @__PURE__ */ jsx49(CreditCard, {}),
3442
+ /* @__PURE__ */ jsxs30(DropdownMenuItem, { children: [
3443
+ /* @__PURE__ */ jsx51(CreditCard, {}),
3359
3444
  "Billing"
3360
3445
  ] }),
3361
- /* @__PURE__ */ jsxs29(DropdownMenuItem, { children: [
3362
- /* @__PURE__ */ jsx49(Bell, {}),
3446
+ /* @__PURE__ */ jsxs30(DropdownMenuItem, { children: [
3447
+ /* @__PURE__ */ jsx51(Bell, {}),
3363
3448
  "Notifications"
3364
3449
  ] })
3365
3450
  ] }),
3366
- /* @__PURE__ */ jsx49(DropdownMenuSeparator, {}),
3367
- /* @__PURE__ */ jsxs29(DropdownMenuItem, { onClick: logoutAction, children: [
3368
- /* @__PURE__ */ jsx49(LogOut, {}),
3451
+ /* @__PURE__ */ jsx51(DropdownMenuSeparator, {}),
3452
+ /* @__PURE__ */ jsxs30(DropdownMenuItem, { onClick: logoutAction, children: [
3453
+ /* @__PURE__ */ jsx51(LogOut, {}),
3369
3454
  "Log out"
3370
3455
  ] })
3371
3456
  ]
@@ -3375,33 +3460,33 @@ function NavUser({
3375
3460
  }
3376
3461
 
3377
3462
  // src/components/layout/PageLayout/index.tsx
3378
- import { jsx as jsx50, jsxs as jsxs30 } from "react/jsx-runtime";
3463
+ import { jsx as jsx52, jsxs as jsxs31 } from "react/jsx-runtime";
3379
3464
  var PageLayout = ({
3380
3465
  subtitle,
3381
3466
  title,
3382
3467
  children,
3383
3468
  header
3384
3469
  }) => {
3385
- return /* @__PURE__ */ jsxs30("div", { className: "m-5 p-4 bg-white", children: [
3386
- /* @__PURE__ */ jsxs30("div", { className: "flex justify-between", children: [
3387
- /* @__PURE__ */ jsxs30("div", { children: [
3388
- title && /* @__PURE__ */ jsx50(Text, { variant: "title", children: title }),
3389
- subtitle && /* @__PURE__ */ jsx50(Text, { variant: "muted", children: subtitle })
3470
+ return /* @__PURE__ */ jsxs31("div", { className: "m-5 p-4 bg-white", children: [
3471
+ /* @__PURE__ */ jsxs31("div", { className: "flex justify-between", children: [
3472
+ /* @__PURE__ */ jsxs31("div", { children: [
3473
+ title && /* @__PURE__ */ jsx52(Text, { variant: "title", children: title }),
3474
+ subtitle && /* @__PURE__ */ jsx52(Text, { variant: "muted", children: subtitle })
3390
3475
  ] }),
3391
3476
  header
3392
3477
  ] }),
3393
- /* @__PURE__ */ jsx50("div", { className: "mt-5", children })
3478
+ /* @__PURE__ */ jsx52("div", { className: "mt-5", children })
3394
3479
  ] });
3395
3480
  };
3396
3481
 
3397
3482
  // src/components/ui/tabs.tsx
3398
- import * as React23 from "react";
3483
+ import * as React24 from "react";
3399
3484
  import * as TabsPrimitive from "@radix-ui/react-tabs";
3400
- import { jsx as jsx51 } from "react/jsx-runtime";
3485
+ import { jsx as jsx53 } from "react/jsx-runtime";
3401
3486
  var Tabs = TabsPrimitive.Root;
3402
- var TabsList = React23.forwardRef((_a, ref) => {
3487
+ var TabsList = React24.forwardRef((_a, ref) => {
3403
3488
  var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
3404
- return /* @__PURE__ */ jsx51(
3489
+ return /* @__PURE__ */ jsx53(
3405
3490
  TabsPrimitive.List,
3406
3491
  __spreadValues({
3407
3492
  ref,
@@ -3413,9 +3498,9 @@ var TabsList = React23.forwardRef((_a, ref) => {
3413
3498
  );
3414
3499
  });
3415
3500
  TabsList.displayName = TabsPrimitive.List.displayName;
3416
- var TabsTrigger = React23.forwardRef((_a, ref) => {
3501
+ var TabsTrigger = React24.forwardRef((_a, ref) => {
3417
3502
  var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
3418
- return /* @__PURE__ */ jsx51(
3503
+ return /* @__PURE__ */ jsx53(
3419
3504
  TabsPrimitive.Trigger,
3420
3505
  __spreadValues({
3421
3506
  ref,
@@ -3427,9 +3512,9 @@ var TabsTrigger = React23.forwardRef((_a, ref) => {
3427
3512
  );
3428
3513
  });
3429
3514
  TabsTrigger.displayName = TabsPrimitive.Trigger.displayName;
3430
- var TabsContent = React23.forwardRef((_a, ref) => {
3515
+ var TabsContent = React24.forwardRef((_a, ref) => {
3431
3516
  var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
3432
- return /* @__PURE__ */ jsx51(
3517
+ return /* @__PURE__ */ jsx53(
3433
3518
  TabsPrimitive.Content,
3434
3519
  __spreadValues({
3435
3520
  ref,
@@ -3443,14 +3528,14 @@ var TabsContent = React23.forwardRef((_a, ref) => {
3443
3528
  TabsContent.displayName = TabsPrimitive.Content.displayName;
3444
3529
 
3445
3530
  // src/components/layout/Tabs/Tabs.tsx
3446
- import { jsx as jsx52, jsxs as jsxs31 } from "react/jsx-runtime";
3531
+ import { jsx as jsx54, jsxs as jsxs32 } from "react/jsx-runtime";
3447
3532
  var Tabs2 = ({
3448
3533
  tabs,
3449
3534
  activeTabIndex = 0,
3450
3535
  onTabChange,
3451
3536
  className
3452
3537
  }) => {
3453
- return /* @__PURE__ */ jsxs31(
3538
+ return /* @__PURE__ */ jsxs32(
3454
3539
  Tabs,
3455
3540
  {
3456
3541
  value: tabs[activeTabIndex].label,
@@ -3460,34 +3545,34 @@ var Tabs2 = ({
3460
3545
  },
3461
3546
  className: cn("w-full", className),
3462
3547
  children: [
3463
- /* @__PURE__ */ jsx52(TabsList, { children: tabs.map((tab, index) => /* @__PURE__ */ jsx52(TabsTrigger, { value: tab.label, children: tab.label }, index)) }),
3464
- tabs.map((tab, index) => /* @__PURE__ */ jsx52(TabsContent, { value: tab.label, children: tab.content }, index))
3548
+ /* @__PURE__ */ jsx54(TabsList, { children: tabs.map((tab, index) => /* @__PURE__ */ jsx54(TabsTrigger, { value: tab.label, children: tab.label }, index)) }),
3549
+ tabs.map((tab, index) => /* @__PURE__ */ jsx54(TabsContent, { value: tab.label, children: tab.content }, index))
3465
3550
  ]
3466
3551
  }
3467
3552
  );
3468
3553
  };
3469
3554
 
3470
3555
  // src/components/actions/Steps/Steps.tsx
3471
- import { jsx as jsx53, jsxs as jsxs32 } from "react/jsx-runtime";
3556
+ import { jsx as jsx55, jsxs as jsxs33 } from "react/jsx-runtime";
3472
3557
  var Steps = ({ data, onClick = () => {
3473
3558
  }, value }) => {
3474
3559
  const renderSteps = useCallback8(() => {
3475
3560
  return data.map(({ label, id }, index) => {
3476
3561
  const isLast = index === data.length - 1;
3477
3562
  const isActive = typeof value === "number" && id <= value;
3478
- return /* @__PURE__ */ jsxs32("div", { className: cn(!isLast && "w-full flex items-center"), children: [
3479
- /* @__PURE__ */ jsx53("div", { children: /* @__PURE__ */ jsx53(
3563
+ return /* @__PURE__ */ jsxs33("div", { className: cn(!isLast && "w-full flex items-center"), children: [
3564
+ /* @__PURE__ */ jsx55("div", { children: /* @__PURE__ */ jsx55(
3480
3565
  Button2,
3481
3566
  {
3482
3567
  onClick: () => onClick && onClick(id),
3483
3568
  variant: isActive ? "default" : "outline",
3484
3569
  size: "icon",
3485
3570
  className: "rounded-full",
3486
- children: isActive ? /* @__PURE__ */ jsx53(Icon2, { name: "MdCheck" }) : index + 1
3571
+ children: isActive ? /* @__PURE__ */ jsx55(Icon2, { name: "MdCheck" }) : index + 1
3487
3572
  }
3488
3573
  ) }),
3489
- label && /* @__PURE__ */ jsx53("p", { className: "absolute", children: label }),
3490
- !isLast && /* @__PURE__ */ jsx53(
3574
+ label && /* @__PURE__ */ jsx55("p", { className: "absolute", children: label }),
3575
+ !isLast && /* @__PURE__ */ jsx55(
3491
3576
  Separator3,
3492
3577
  {
3493
3578
  orientation: "horizontal",
@@ -3497,19 +3582,19 @@ var Steps = ({ data, onClick = () => {
3497
3582
  ] }, index);
3498
3583
  });
3499
3584
  }, [data, onClick, value]);
3500
- return /* @__PURE__ */ jsx53("div", { className: "flex w-full", children: renderSteps() });
3585
+ return /* @__PURE__ */ jsx55("div", { className: "flex w-full", children: renderSteps() });
3501
3586
  };
3502
3587
 
3503
3588
  // src/components/ui/alert-dialog.tsx
3504
- import * as React24 from "react";
3589
+ import * as React25 from "react";
3505
3590
  import * as AlertDialogPrimitive from "@radix-ui/react-alert-dialog";
3506
- import { jsx as jsx54, jsxs as jsxs33 } from "react/jsx-runtime";
3591
+ import { jsx as jsx56, jsxs as jsxs34 } from "react/jsx-runtime";
3507
3592
  var AlertDialog = AlertDialogPrimitive.Root;
3508
3593
  var AlertDialogTrigger = AlertDialogPrimitive.Trigger;
3509
3594
  var AlertDialogPortal = AlertDialogPrimitive.Portal;
3510
- var AlertDialogOverlay = React24.forwardRef((_a, ref) => {
3595
+ var AlertDialogOverlay = React25.forwardRef((_a, ref) => {
3511
3596
  var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
3512
- return /* @__PURE__ */ jsx54(
3597
+ return /* @__PURE__ */ jsx56(
3513
3598
  AlertDialogPrimitive.Overlay,
3514
3599
  __spreadProps(__spreadValues({
3515
3600
  className: cn(
@@ -3522,11 +3607,11 @@ var AlertDialogOverlay = React24.forwardRef((_a, ref) => {
3522
3607
  );
3523
3608
  });
3524
3609
  AlertDialogOverlay.displayName = AlertDialogPrimitive.Overlay.displayName;
3525
- var AlertDialogContent = React24.forwardRef((_a, ref) => {
3610
+ var AlertDialogContent = React25.forwardRef((_a, ref) => {
3526
3611
  var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
3527
- return /* @__PURE__ */ jsxs33(AlertDialogPortal, { children: [
3528
- /* @__PURE__ */ jsx54(AlertDialogOverlay, {}),
3529
- /* @__PURE__ */ jsx54(
3612
+ return /* @__PURE__ */ jsxs34(AlertDialogPortal, { children: [
3613
+ /* @__PURE__ */ jsx56(AlertDialogOverlay, {}),
3614
+ /* @__PURE__ */ jsx56(
3530
3615
  AlertDialogPrimitive.Content,
3531
3616
  __spreadValues({
3532
3617
  ref,
@@ -3545,7 +3630,7 @@ var AlertDialogHeader = (_a) => {
3545
3630
  } = _b, props = __objRest(_b, [
3546
3631
  "className"
3547
3632
  ]);
3548
- return /* @__PURE__ */ jsx54(
3633
+ return /* @__PURE__ */ jsx56(
3549
3634
  "div",
3550
3635
  __spreadValues({
3551
3636
  className: cn(
@@ -3562,7 +3647,7 @@ var AlertDialogFooter = (_a) => {
3562
3647
  } = _b, props = __objRest(_b, [
3563
3648
  "className"
3564
3649
  ]);
3565
- return /* @__PURE__ */ jsx54(
3650
+ return /* @__PURE__ */ jsx56(
3566
3651
  "div",
3567
3652
  __spreadValues({
3568
3653
  className: cn(
@@ -3573,9 +3658,9 @@ var AlertDialogFooter = (_a) => {
3573
3658
  );
3574
3659
  };
3575
3660
  AlertDialogFooter.displayName = "AlertDialogFooter";
3576
- var AlertDialogTitle = React24.forwardRef((_a, ref) => {
3661
+ var AlertDialogTitle = React25.forwardRef((_a, ref) => {
3577
3662
  var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
3578
- return /* @__PURE__ */ jsx54(
3663
+ return /* @__PURE__ */ jsx56(
3579
3664
  AlertDialogPrimitive.Title,
3580
3665
  __spreadValues({
3581
3666
  ref,
@@ -3584,9 +3669,9 @@ var AlertDialogTitle = React24.forwardRef((_a, ref) => {
3584
3669
  );
3585
3670
  });
3586
3671
  AlertDialogTitle.displayName = AlertDialogPrimitive.Title.displayName;
3587
- var AlertDialogDescription = React24.forwardRef((_a, ref) => {
3672
+ var AlertDialogDescription = React25.forwardRef((_a, ref) => {
3588
3673
  var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
3589
- return /* @__PURE__ */ jsx54(
3674
+ return /* @__PURE__ */ jsx56(
3590
3675
  AlertDialogPrimitive.Description,
3591
3676
  __spreadValues({
3592
3677
  ref,
@@ -3595,9 +3680,9 @@ var AlertDialogDescription = React24.forwardRef((_a, ref) => {
3595
3680
  );
3596
3681
  });
3597
3682
  AlertDialogDescription.displayName = AlertDialogPrimitive.Description.displayName;
3598
- var AlertDialogAction = React24.forwardRef((_a, ref) => {
3683
+ var AlertDialogAction = React25.forwardRef((_a, ref) => {
3599
3684
  var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
3600
- return /* @__PURE__ */ jsx54(
3685
+ return /* @__PURE__ */ jsx56(
3601
3686
  AlertDialogPrimitive.Action,
3602
3687
  __spreadValues({
3603
3688
  ref,
@@ -3606,9 +3691,9 @@ var AlertDialogAction = React24.forwardRef((_a, ref) => {
3606
3691
  );
3607
3692
  });
3608
3693
  AlertDialogAction.displayName = AlertDialogPrimitive.Action.displayName;
3609
- var AlertDialogCancel = React24.forwardRef((_a, ref) => {
3694
+ var AlertDialogCancel = React25.forwardRef((_a, ref) => {
3610
3695
  var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
3611
- return /* @__PURE__ */ jsx54(
3696
+ return /* @__PURE__ */ jsx56(
3612
3697
  AlertDialogPrimitive.Cancel,
3613
3698
  __spreadValues({
3614
3699
  ref,
@@ -3623,7 +3708,7 @@ var AlertDialogCancel = React24.forwardRef((_a, ref) => {
3623
3708
  AlertDialogCancel.displayName = AlertDialogPrimitive.Cancel.displayName;
3624
3709
 
3625
3710
  // src/components/actions/AlertDialog/AlertDialog.tsx
3626
- import { jsx as jsx55, jsxs as jsxs34 } from "react/jsx-runtime";
3711
+ import { jsx as jsx57, jsxs as jsxs35 } from "react/jsx-runtime";
3627
3712
  var AlertDialog2 = ({
3628
3713
  title,
3629
3714
  description,
@@ -3631,16 +3716,16 @@ var AlertDialog2 = ({
3631
3716
  onConfirm,
3632
3717
  onCancel
3633
3718
  }) => {
3634
- return /* @__PURE__ */ jsxs34(AlertDialog, { children: [
3635
- /* @__PURE__ */ jsx55(AlertDialogTrigger, { asChild: true, children }),
3636
- /* @__PURE__ */ jsxs34(AlertDialogContent, { children: [
3637
- /* @__PURE__ */ jsxs34(AlertDialogHeader, { children: [
3638
- /* @__PURE__ */ jsx55(AlertDialogTitle, { children: title }),
3639
- description && /* @__PURE__ */ jsx55(AlertDialogDescription, { children: description })
3719
+ return /* @__PURE__ */ jsxs35(AlertDialog, { children: [
3720
+ /* @__PURE__ */ jsx57(AlertDialogTrigger, { asChild: true, children }),
3721
+ /* @__PURE__ */ jsxs35(AlertDialogContent, { children: [
3722
+ /* @__PURE__ */ jsxs35(AlertDialogHeader, { children: [
3723
+ /* @__PURE__ */ jsx57(AlertDialogTitle, { children: title }),
3724
+ description && /* @__PURE__ */ jsx57(AlertDialogDescription, { children: description })
3640
3725
  ] }),
3641
- /* @__PURE__ */ jsxs34(AlertDialogFooter, { children: [
3642
- /* @__PURE__ */ jsx55(AlertDialogCancel, { onClick: onCancel, children: "Cancel" }),
3643
- /* @__PURE__ */ jsx55(AlertDialogAction, { onClick: onConfirm, children: "Continue" })
3726
+ /* @__PURE__ */ jsxs35(AlertDialogFooter, { children: [
3727
+ /* @__PURE__ */ jsx57(AlertDialogCancel, { onClick: onCancel, children: "Cancel" }),
3728
+ /* @__PURE__ */ jsx57(AlertDialogAction, { onClick: onConfirm, children: "Continue" })
3644
3729
  ] })
3645
3730
  ] })
3646
3731
  ] });
@@ -3650,7 +3735,7 @@ var AlertDialog2 = ({
3650
3735
  import { useCallback as useCallback9, useMemo as useMemo9, useState as useState8 } from "react";
3651
3736
  import { useFormContext as useFormContext5 } from "react-hook-form";
3652
3737
  import _ from "lodash";
3653
- import { jsx as jsx56, jsxs as jsxs35 } from "react/jsx-runtime";
3738
+ import { jsx as jsx58, jsxs as jsxs36 } from "react/jsx-runtime";
3654
3739
  var MultipleInputBase = ({
3655
3740
  children,
3656
3741
  data = [],
@@ -3699,22 +3784,22 @@ var MultipleInputBase = ({
3699
3784
  );
3700
3785
  const renderOptions = useCallback9(() => {
3701
3786
  return inputData == null ? void 0 : inputData.map((item, index) => {
3702
- return /* @__PURE__ */ jsxs35("div", { className: "flex justify-between mt-2", children: [
3703
- /* @__PURE__ */ jsx56("div", { children: item }),
3704
- /* @__PURE__ */ jsx56(
3787
+ return /* @__PURE__ */ jsxs36("div", { className: "flex justify-between mt-2", children: [
3788
+ /* @__PURE__ */ jsx58("div", { children: item }),
3789
+ /* @__PURE__ */ jsx58(
3705
3790
  Button2,
3706
3791
  {
3707
3792
  onClick: () => removeItem(index),
3708
3793
  variant: "ghost",
3709
3794
  size: "icon",
3710
3795
  type: "button",
3711
- children: /* @__PURE__ */ jsx56(Icon2, { name: "MdDelete", className: "fill-destructive" })
3796
+ children: /* @__PURE__ */ jsx58(Icon2, { name: "MdDelete", className: "fill-destructive" })
3712
3797
  }
3713
3798
  )
3714
3799
  ] }, index);
3715
3800
  });
3716
3801
  }, [inputData, removeItem]);
3717
- return /* @__PURE__ */ jsxs35("div", { children: [
3802
+ return /* @__PURE__ */ jsxs36("div", { children: [
3718
3803
  children({
3719
3804
  onChange: ({ target: { value } }) => {
3720
3805
  setInputValue(value);
@@ -3728,21 +3813,21 @@ var MultipleInputBase = ({
3728
3813
  };
3729
3814
 
3730
3815
  // src/components/dataInput/Input/components/MultipleInput/MultipleMaskInput.tsx
3731
- import { jsx as jsx57 } from "react/jsx-runtime";
3816
+ import { jsx as jsx59 } from "react/jsx-runtime";
3732
3817
  var MultipleMaskInput = (_a) => {
3733
3818
  var _b = _a, {
3734
3819
  data = []
3735
3820
  } = _b, props = __objRest(_b, [
3736
3821
  "data"
3737
3822
  ]);
3738
- return /* @__PURE__ */ jsx57(MultipleInputBase, __spreadProps(__spreadValues({ data }, props), { children: ({ onChange, addItem, value }) => {
3739
- return /* @__PURE__ */ jsx57(
3823
+ return /* @__PURE__ */ jsx59(MultipleInputBase, __spreadProps(__spreadValues({ data }, props), { children: ({ onChange, addItem, value }) => {
3824
+ return /* @__PURE__ */ jsx59(
3740
3825
  MaskInput,
3741
3826
  __spreadProps(__spreadValues({}, props), {
3742
3827
  value,
3743
3828
  onChange,
3744
3829
  withoutForm: true,
3745
- component: /* @__PURE__ */ jsx57(Button2, { type: "button", onClick: () => addItem(), children: /* @__PURE__ */ jsx57(Icon2, { name: "MdAdd" }) })
3830
+ component: /* @__PURE__ */ jsx59(Button2, { type: "button", onClick: () => addItem(), children: /* @__PURE__ */ jsx59(Icon2, { name: "MdAdd" }) })
3746
3831
  })
3747
3832
  );
3748
3833
  } }));
@@ -3750,7 +3835,7 @@ var MultipleMaskInput = (_a) => {
3750
3835
 
3751
3836
  // src/components/dataInput/Select/SelectBase.tsx
3752
3837
  import { useCallback as useCallback10 } from "react";
3753
- import { jsx as jsx58, jsxs as jsxs36 } from "react/jsx-runtime";
3838
+ import { jsx as jsx60, jsxs as jsxs37 } from "react/jsx-runtime";
3754
3839
  var SelectBase = (_a) => {
3755
3840
  var _b = _a, {
3756
3841
  options,
@@ -3774,15 +3859,15 @@ var SelectBase = (_a) => {
3774
3859
  },
3775
3860
  [onChange, onChangeCallback]
3776
3861
  );
3777
- return /* @__PURE__ */ jsxs36(
3862
+ return /* @__PURE__ */ jsxs37(
3778
3863
  Select,
3779
3864
  __spreadProps(__spreadValues({}, rest), {
3780
3865
  onValueChange: onSelect,
3781
3866
  defaultValue: value,
3782
3867
  value,
3783
3868
  children: [
3784
- /* @__PURE__ */ jsx58(SelectTrigger, { children: /* @__PURE__ */ jsx58(SelectValue, { placeholder }) }),
3785
- /* @__PURE__ */ jsx58(SelectContent, { children: options == null ? void 0 : options.map((option, index) => /* @__PURE__ */ jsx58(SelectItem, { value: String(option.value), children: option.label }, index)) })
3869
+ /* @__PURE__ */ jsx60(SelectTrigger, { children: /* @__PURE__ */ jsx60(SelectValue, { placeholder }) }),
3870
+ /* @__PURE__ */ jsx60(SelectContent, { children: options == null ? void 0 : options.map((option, index) => /* @__PURE__ */ jsx60(SelectItem, { value: String(option.value), children: option.label }, index)) })
3786
3871
  ]
3787
3872
  })
3788
3873
  );
@@ -3790,7 +3875,7 @@ var SelectBase = (_a) => {
3790
3875
 
3791
3876
  // src/components/dataInput/Select/Select.tsx
3792
3877
  import { useFormContext as useFormContext6 } from "react-hook-form";
3793
- import { jsx as jsx59, jsxs as jsxs37 } from "react/jsx-runtime";
3878
+ import { jsx as jsx61, jsxs as jsxs38 } from "react/jsx-runtime";
3794
3879
  var Select2 = (_a) => {
3795
3880
  var _b = _a, {
3796
3881
  name,
@@ -3814,45 +3899,45 @@ var Select2 = (_a) => {
3814
3899
  const form = useFormContext6();
3815
3900
  const hasForm = !!form && !!name;
3816
3901
  if (!hasForm || withoutForm) {
3817
- return /* @__PURE__ */ jsxs37("div", { className: cn("space-y-2", className), children: [
3818
- label && /* @__PURE__ */ jsx59(Label3, { children: label }),
3819
- /* @__PURE__ */ jsx59(SelectBase, __spreadValues({ options, placeholder }, props)),
3820
- description && /* @__PURE__ */ jsx59("p", { className: "text-sm text-muted-foreground", children: description }),
3821
- error && /* @__PURE__ */ jsx59(ErrorMessage, { children: error })
3902
+ return /* @__PURE__ */ jsxs38("div", { className: cn("space-y-2", className), children: [
3903
+ label && /* @__PURE__ */ jsx61(Label3, { children: label }),
3904
+ /* @__PURE__ */ jsx61(SelectBase, __spreadValues({ options, placeholder }, props)),
3905
+ description && /* @__PURE__ */ jsx61("p", { className: "text-sm text-muted-foreground", children: description }),
3906
+ error && /* @__PURE__ */ jsx61(ErrorMessage, { children: error })
3822
3907
  ] });
3823
3908
  }
3824
- return /* @__PURE__ */ jsx59(
3909
+ return /* @__PURE__ */ jsx61(
3825
3910
  FormField,
3826
3911
  {
3827
3912
  control: form.control,
3828
3913
  name,
3829
- render: ({ field }) => /* @__PURE__ */ jsxs37(FormItem, { className, children: [
3830
- label && /* @__PURE__ */ jsx59(FormLabel, { children: label }),
3831
- /* @__PURE__ */ jsx59(FormControl, { children: /* @__PURE__ */ jsx59(
3914
+ render: ({ field }) => /* @__PURE__ */ jsxs38(FormItem, { className, children: [
3915
+ label && /* @__PURE__ */ jsx61(FormLabel, { children: label }),
3916
+ /* @__PURE__ */ jsx61(FormControl, { children: /* @__PURE__ */ jsx61(
3832
3917
  SelectBase,
3833
3918
  __spreadValues(__spreadValues({
3834
3919
  options,
3835
3920
  placeholder
3836
3921
  }, props), field)
3837
3922
  ) }),
3838
- description && /* @__PURE__ */ jsx59(FormDescription, { children: description }),
3839
- /* @__PURE__ */ jsx59(FormMessage, {})
3923
+ description && /* @__PURE__ */ jsx61(FormDescription, { children: description }),
3924
+ /* @__PURE__ */ jsx61(FormMessage, {})
3840
3925
  ] })
3841
3926
  }
3842
3927
  );
3843
3928
  };
3844
3929
 
3845
3930
  // src/components/dataDisplay/Label/Label.tsx
3846
- import { jsx as jsx60 } from "react/jsx-runtime";
3931
+ import { jsx as jsx62 } from "react/jsx-runtime";
3847
3932
  var Label4 = (props) => {
3848
- return /* @__PURE__ */ jsx60(Label3, __spreadValues({}, props));
3933
+ return /* @__PURE__ */ jsx62(Label3, __spreadValues({}, props));
3849
3934
  };
3850
3935
 
3851
3936
  // src/components/dataInput/Select/MultiSelect/MultiSelectBase.tsx
3852
- import * as React25 from "react";
3937
+ import * as React26 from "react";
3853
3938
  import { Search, X as X4 } from "lucide-react";
3854
3939
  import * as Popover from "@radix-ui/react-popover";
3855
- import { jsx as jsx61, jsxs as jsxs38 } from "react/jsx-runtime";
3940
+ import { jsx as jsx63, jsxs as jsxs39 } from "react/jsx-runtime";
3856
3941
  function MultiSelectBase({
3857
3942
  options = [],
3858
3943
  selected = [],
@@ -3861,9 +3946,9 @@ function MultiSelectBase({
3861
3946
  placeholder = "Select frameworks...",
3862
3947
  className
3863
3948
  }) {
3864
- const [open, setOpen] = React25.useState(false);
3865
- const [inputValue, setInputValue] = React25.useState("");
3866
- const inputRef = React25.useRef(null);
3949
+ const [open, setOpen] = React26.useState(false);
3950
+ const [inputValue, setInputValue] = React26.useState("");
3951
+ const inputRef = React26.useRef(null);
3867
3952
  const handleRemoveItem = (valueToRemove) => {
3868
3953
  onChange(selected.filter((value) => value !== valueToRemove));
3869
3954
  };
@@ -3877,8 +3962,8 @@ function MultiSelectBase({
3877
3962
  const filteredOptions = options.filter(
3878
3963
  (option) => option.label.toLowerCase().includes(inputValue.toLowerCase())
3879
3964
  );
3880
- return /* @__PURE__ */ jsxs38(Popover.Root, { open, onOpenChange: setOpen, children: [
3881
- /* @__PURE__ */ jsx61(Popover.Trigger, { asChild: true, children: /* @__PURE__ */ jsxs38(
3965
+ return /* @__PURE__ */ jsxs39(Popover.Root, { open, onOpenChange: setOpen, children: [
3966
+ /* @__PURE__ */ jsx63(Popover.Trigger, { asChild: true, children: /* @__PURE__ */ jsxs39(
3882
3967
  "div",
3883
3968
  {
3884
3969
  className: cn(
@@ -3889,13 +3974,13 @@ function MultiSelectBase({
3889
3974
  selected.map((value) => {
3890
3975
  const option = options.find((o) => o.value === value);
3891
3976
  if (!option) return null;
3892
- return /* @__PURE__ */ jsxs38(
3977
+ return /* @__PURE__ */ jsxs39(
3893
3978
  "div",
3894
3979
  {
3895
3980
  className: "flex items-center gap-1 rounded-md bg-secondary px-2 py-1 text-sm text-secondary-foreground",
3896
3981
  children: [
3897
3982
  option.label,
3898
- /* @__PURE__ */ jsxs38(
3983
+ /* @__PURE__ */ jsxs39(
3899
3984
  "button",
3900
3985
  {
3901
3986
  type: "button",
@@ -3905,8 +3990,8 @@ function MultiSelectBase({
3905
3990
  },
3906
3991
  className: "rounded-full hover:bg-secondary-foreground/20",
3907
3992
  children: [
3908
- /* @__PURE__ */ jsx61(X4, { className: "h-3 w-3" }),
3909
- /* @__PURE__ */ jsxs38("span", { className: "sr-only", children: [
3993
+ /* @__PURE__ */ jsx63(X4, { className: "h-3 w-3" }),
3994
+ /* @__PURE__ */ jsxs39("span", { className: "sr-only", children: [
3910
3995
  "Remove ",
3911
3996
  option.label
3912
3997
  ] })
@@ -3918,20 +4003,20 @@ function MultiSelectBase({
3918
4003
  value
3919
4004
  );
3920
4005
  }),
3921
- /* @__PURE__ */ jsx61("div", { className: "flex-1", children: selected.length === 0 && /* @__PURE__ */ jsx61("span", { className: "text-muted-foreground", children: placeholder }) })
4006
+ /* @__PURE__ */ jsx63("div", { className: "flex-1", children: selected.length === 0 && /* @__PURE__ */ jsx63("span", { className: "text-muted-foreground", children: placeholder }) })
3922
4007
  ]
3923
4008
  }
3924
4009
  ) }),
3925
- /* @__PURE__ */ jsx61(Popover.Portal, { children: /* @__PURE__ */ jsxs38(
4010
+ /* @__PURE__ */ jsx63(Popover.Portal, { children: /* @__PURE__ */ jsxs39(
3926
4011
  Popover.Content,
3927
4012
  {
3928
4013
  className: "w-[--radix-popover-trigger-width] z-50 mt-1 overflow-hidden rounded-md border bg-popover text-popover-foreground shadow-md animate-in fade-in-0 zoom-in-95",
3929
4014
  align: "start",
3930
4015
  sideOffset: 4,
3931
4016
  children: [
3932
- /* @__PURE__ */ jsxs38("div", { className: "flex items-center border-b border-border px-3 py-2", children: [
3933
- /* @__PURE__ */ jsx61(Search, { className: "h-4 w-4 text-muted-foreground" }),
3934
- /* @__PURE__ */ jsx61(
4017
+ /* @__PURE__ */ jsxs39("div", { className: "flex items-center border-b border-border px-3 py-2", children: [
4018
+ /* @__PURE__ */ jsx63(Search, { className: "h-4 w-4 text-muted-foreground" }),
4019
+ /* @__PURE__ */ jsx63(
3935
4020
  "input",
3936
4021
  {
3937
4022
  ref: inputRef,
@@ -3942,7 +4027,7 @@ function MultiSelectBase({
3942
4027
  }
3943
4028
  )
3944
4029
  ] }),
3945
- /* @__PURE__ */ jsx61("div", { className: "max-h-[200px] overflow-auto", children: filteredOptions.length === 0 ? /* @__PURE__ */ jsx61("div", { className: "px-2 py-4 text-center text-sm text-muted-foreground", children: "No results found." }) : filteredOptions.map((option) => /* @__PURE__ */ jsxs38(
4030
+ /* @__PURE__ */ jsx63("div", { className: "max-h-[200px] overflow-auto", children: filteredOptions.length === 0 ? /* @__PURE__ */ jsx63("div", { className: "px-2 py-4 text-center text-sm text-muted-foreground", children: "No results found." }) : filteredOptions.map((option) => /* @__PURE__ */ jsxs39(
3946
4031
  "div",
3947
4032
  {
3948
4033
  onClick: () => handleSelectItem(option.value),
@@ -3951,14 +4036,14 @@ function MultiSelectBase({
3951
4036
  selected.includes(option.value) && "bg-accent"
3952
4037
  ),
3953
4038
  children: [
3954
- /* @__PURE__ */ jsx61(
4039
+ /* @__PURE__ */ jsx63(
3955
4040
  "div",
3956
4041
  {
3957
4042
  className: cn(
3958
4043
  "flex h-4 w-4 items-center justify-center rounded border border-primary",
3959
4044
  selected.includes(option.value) && "bg-primary text-primary-foreground"
3960
4045
  ),
3961
- children: selected.includes(option.value) && /* @__PURE__ */ jsx61("span", { className: "text-[10px]", children: "\u2713" })
4046
+ children: selected.includes(option.value) && /* @__PURE__ */ jsx63("span", { className: "text-[10px]", children: "\u2713" })
3962
4047
  }
3963
4048
  ),
3964
4049
  option.label
@@ -3974,7 +4059,7 @@ function MultiSelectBase({
3974
4059
 
3975
4060
  // src/components/dataInput/Select/MultiSelect/index.tsx
3976
4061
  import { useFormContext as useFormContext7 } from "react-hook-form";
3977
- import { jsx as jsx62, jsxs as jsxs39 } from "react/jsx-runtime";
4062
+ import { jsx as jsx64, jsxs as jsxs40 } from "react/jsx-runtime";
3978
4063
  function MultiSelect(_a) {
3979
4064
  var _b = _a, {
3980
4065
  label,
@@ -3994,24 +4079,24 @@ function MultiSelect(_a) {
3994
4079
  const form = useFormContext7();
3995
4080
  const hasForm = !withoutForm && !!form && !!name;
3996
4081
  if (!hasForm)
3997
- return /* @__PURE__ */ jsxs39("div", { className: "grid w-full items-center gap-3", children: [
3998
- label && /* @__PURE__ */ jsx62(Label4, { htmlFor: name, children: label }),
3999
- /* @__PURE__ */ jsx62(MultiSelectBase, __spreadValues({}, props))
4082
+ return /* @__PURE__ */ jsxs40("div", { className: "grid w-full items-center gap-3", children: [
4083
+ label && /* @__PURE__ */ jsx64(Label4, { htmlFor: name, children: label }),
4084
+ /* @__PURE__ */ jsx64(MultiSelectBase, __spreadValues({}, props))
4000
4085
  ] });
4001
- return /* @__PURE__ */ jsx62(
4086
+ return /* @__PURE__ */ jsx64(
4002
4087
  FormField,
4003
4088
  {
4004
4089
  control: form.control,
4005
4090
  name,
4006
4091
  render: (_a2) => {
4007
4092
  var { field: _b2 } = _a2, _c = _b2, { value } = _c, rest = __objRest(_c, ["value"]);
4008
- return /* @__PURE__ */ jsxs39(
4093
+ return /* @__PURE__ */ jsxs40(
4009
4094
  FormItem,
4010
4095
  {
4011
4096
  className,
4012
4097
  "data-testid": testId ? `form-item-${testId}` : void 0,
4013
4098
  children: [
4014
- label && /* @__PURE__ */ jsx62(
4099
+ label && /* @__PURE__ */ jsx64(
4015
4100
  FormLabel,
4016
4101
  {
4017
4102
  htmlFor: name,
@@ -4019,8 +4104,8 @@ function MultiSelect(_a) {
4019
4104
  children: `${label}${required ? " *" : ""}`
4020
4105
  }
4021
4106
  ),
4022
- /* @__PURE__ */ jsx62(FormControl, { children: /* @__PURE__ */ jsx62("div", { className: "flex w-full items-center space-x-2", children: /* @__PURE__ */ jsx62(MultiSelectBase, __spreadProps(__spreadValues(__spreadValues({}, props), rest), { selected: value })) }) }),
4023
- /* @__PURE__ */ jsx62(
4107
+ /* @__PURE__ */ jsx64(FormControl, { children: /* @__PURE__ */ jsx64("div", { className: "flex w-full items-center space-x-2", children: /* @__PURE__ */ jsx64(MultiSelectBase, __spreadProps(__spreadValues(__spreadValues({}, props), rest), { selected: value })) }) }),
4108
+ /* @__PURE__ */ jsx64(
4024
4109
  FormMessage,
4025
4110
  {
4026
4111
  role: "alert",
@@ -4036,12 +4121,12 @@ function MultiSelect(_a) {
4036
4121
  }
4037
4122
 
4038
4123
  // src/components/ui/switch.tsx
4039
- import * as React26 from "react";
4124
+ import * as React27 from "react";
4040
4125
  import * as SwitchPrimitives from "@radix-ui/react-switch";
4041
- import { jsx as jsx63 } from "react/jsx-runtime";
4042
- var Switch = React26.forwardRef((_a, ref) => {
4126
+ import { jsx as jsx65 } from "react/jsx-runtime";
4127
+ var Switch = React27.forwardRef((_a, ref) => {
4043
4128
  var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
4044
- return /* @__PURE__ */ jsx63(
4129
+ return /* @__PURE__ */ jsx65(
4045
4130
  SwitchPrimitives.Root,
4046
4131
  __spreadProps(__spreadValues({
4047
4132
  className: cn(
@@ -4050,7 +4135,7 @@ var Switch = React26.forwardRef((_a, ref) => {
4050
4135
  )
4051
4136
  }, props), {
4052
4137
  ref,
4053
- children: /* @__PURE__ */ jsx63(
4138
+ children: /* @__PURE__ */ jsx65(
4054
4139
  SwitchPrimitives.Thumb,
4055
4140
  {
4056
4141
  className: cn(
@@ -4065,7 +4150,7 @@ Switch.displayName = SwitchPrimitives.Root.displayName;
4065
4150
 
4066
4151
  // src/components/dataInput/Switch/Switch.tsx
4067
4152
  import { useFormContext as useFormContext8 } from "react-hook-form";
4068
- import { jsx as jsx64, jsxs as jsxs40 } from "react/jsx-runtime";
4153
+ import { jsx as jsx66, jsxs as jsxs41 } from "react/jsx-runtime";
4069
4154
  function Switch2(_a) {
4070
4155
  var _b = _a, {
4071
4156
  label,
@@ -4080,28 +4165,40 @@ function Switch2(_a) {
4080
4165
  const form = useFormContext8();
4081
4166
  const hasForm = !!form && !withoutForm && !!props.name;
4082
4167
  if (!hasForm)
4083
- return /* @__PURE__ */ jsxs40("div", { className: "flex items-center space-x-2", children: [
4084
- /* @__PURE__ */ jsx64(Switch, __spreadValues({}, props)),
4085
- label && /* @__PURE__ */ jsx64(Label3, { htmlFor: props.id, children: label })
4168
+ return /* @__PURE__ */ jsxs41("div", { className: "flex items-center space-x-2", children: [
4169
+ /* @__PURE__ */ jsx66(Switch, __spreadValues({}, props)),
4170
+ label && /* @__PURE__ */ jsx66(Label3, { htmlFor: props.id, children: label })
4086
4171
  ] });
4087
- return /* @__PURE__ */ jsx64(
4172
+ return /* @__PURE__ */ jsx66(
4088
4173
  FormField,
4089
4174
  {
4090
4175
  control: form.control,
4091
4176
  name: (_a2 = props.name) != null ? _a2 : "",
4092
- render: ({ field }) => /* @__PURE__ */ jsxs40(
4177
+ render: ({ field }) => /* @__PURE__ */ jsxs41(
4093
4178
  FormItem,
4094
4179
  {
4095
4180
  className: cn(className, "flex items-center space-x-2 space-y-0"),
4096
4181
  children: [
4097
- /* @__PURE__ */ jsx64(FormControl, { children: /* @__PURE__ */ jsx64(Switch2, { checked: field.value, onCheckedChange: field.onChange }) }),
4098
- /* @__PURE__ */ jsx64(FormLabel, { children: label })
4182
+ /* @__PURE__ */ jsx66(FormControl, { children: /* @__PURE__ */ jsx66(Switch2, { checked: field.value, onCheckedChange: field.onChange }) }),
4183
+ /* @__PURE__ */ jsx66(FormLabel, { children: label })
4099
4184
  ]
4100
4185
  }
4101
4186
  )
4102
4187
  }
4103
4188
  );
4104
4189
  }
4190
+
4191
+ // src/components/config/DesignSystemProvider/index.tsx
4192
+ import { useId as useId2 } from "react";
4193
+ import { jsx as jsx67 } from "react/jsx-runtime";
4194
+ function DesignSystemProvider({
4195
+ children,
4196
+ className = ""
4197
+ }) {
4198
+ const uniqueId = useId2().replace(/:/g, "_");
4199
+ const scopeClass = `ds-${uniqueId}`;
4200
+ return /* @__PURE__ */ jsx67("div", { className: `ds ${scopeClass} ${className}`.trim(), children });
4201
+ }
4105
4202
  export {
4106
4203
  AlertDialog2 as AlertDialog,
4107
4204
  Avatar,
@@ -4116,12 +4213,20 @@ export {
4116
4213
  BreadcrumbPage,
4117
4214
  BreadcrumbSeparator,
4118
4215
  Button2 as Button,
4216
+ Card2 as Card,
4217
+ Card as CardBase,
4218
+ CardContent,
4219
+ CardDescription,
4220
+ CardFooter,
4221
+ CardHeader,
4222
+ CardTitle,
4119
4223
  Checkbox2 as Checkbox,
4120
4224
  Collapsible,
4121
4225
  CollapsibleContent2 as CollapsibleContent,
4122
4226
  CollapsibleTrigger2 as CollapsibleTrigger,
4123
4227
  CustomDrawer,
4124
4228
  DataPairList,
4229
+ DesignSystemProvider,
4125
4230
  Dialog2 as Dialog,
4126
4231
  DialogWithForm,
4127
4232
  Drawer,