@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.js CHANGED
@@ -73,12 +73,20 @@ __export(src_exports, {
73
73
  BreadcrumbPage: () => BreadcrumbPage,
74
74
  BreadcrumbSeparator: () => BreadcrumbSeparator,
75
75
  Button: () => Button2,
76
+ Card: () => Card2,
77
+ CardBase: () => Card,
78
+ CardContent: () => CardContent,
79
+ CardDescription: () => CardDescription,
80
+ CardFooter: () => CardFooter,
81
+ CardHeader: () => CardHeader,
82
+ CardTitle: () => CardTitle,
76
83
  Checkbox: () => Checkbox2,
77
84
  Collapsible: () => Collapsible,
78
85
  CollapsibleContent: () => CollapsibleContent2,
79
86
  CollapsibleTrigger: () => CollapsibleTrigger2,
80
87
  CustomDrawer: () => CustomDrawer,
81
88
  DataPairList: () => DataPairList,
89
+ DesignSystemProvider: () => DesignSystemProvider,
82
90
  Dialog: () => Dialog2,
83
91
  DialogWithForm: () => DialogWithForm,
84
92
  Drawer: () => Drawer,
@@ -1063,17 +1071,102 @@ var DataPairList = ({
1063
1071
  );
1064
1072
  };
1065
1073
 
1074
+ // src/components/ui/card.tsx
1075
+ var React8 = __toESM(require("react"));
1076
+ var import_jsx_runtime15 = require("react/jsx-runtime");
1077
+ var Card = React8.forwardRef((_a, ref) => {
1078
+ var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
1079
+ return /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(
1080
+ "div",
1081
+ __spreadValues({
1082
+ ref,
1083
+ className: cn(
1084
+ "rounded-xl border bg-card text-card-foreground shadow",
1085
+ className
1086
+ )
1087
+ }, props)
1088
+ );
1089
+ });
1090
+ Card.displayName = "Card";
1091
+ var CardHeader = React8.forwardRef((_a, ref) => {
1092
+ var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
1093
+ return /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(
1094
+ "div",
1095
+ __spreadValues({
1096
+ ref,
1097
+ className: cn("flex flex-col space-y-1.5 p-6", className)
1098
+ }, props)
1099
+ );
1100
+ });
1101
+ CardHeader.displayName = "CardHeader";
1102
+ var CardTitle = React8.forwardRef((_a, ref) => {
1103
+ var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
1104
+ return /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(
1105
+ "div",
1106
+ __spreadValues({
1107
+ ref,
1108
+ className: cn("font-semibold leading-none tracking-tight", className)
1109
+ }, props)
1110
+ );
1111
+ });
1112
+ CardTitle.displayName = "CardTitle";
1113
+ var CardDescription = React8.forwardRef((_a, ref) => {
1114
+ var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
1115
+ return /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(
1116
+ "div",
1117
+ __spreadValues({
1118
+ ref,
1119
+ className: cn("text-sm text-muted-foreground", className)
1120
+ }, props)
1121
+ );
1122
+ });
1123
+ CardDescription.displayName = "CardDescription";
1124
+ var CardContent = React8.forwardRef((_a, ref) => {
1125
+ var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
1126
+ return /* @__PURE__ */ (0, import_jsx_runtime15.jsx)("div", __spreadValues({ ref, className: cn("p-6 pt-0", className) }, props));
1127
+ });
1128
+ CardContent.displayName = "CardContent";
1129
+ var CardFooter = React8.forwardRef((_a, ref) => {
1130
+ var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
1131
+ return /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(
1132
+ "div",
1133
+ __spreadValues({
1134
+ ref,
1135
+ className: cn("flex items-center p-6 pt-0", className)
1136
+ }, props)
1137
+ );
1138
+ });
1139
+ CardFooter.displayName = "CardFooter";
1140
+
1141
+ // src/components/dataDisplay/Card/Card.tsx
1142
+ var import_jsx_runtime16 = require("react/jsx-runtime");
1143
+ var Card2 = ({
1144
+ title,
1145
+ children,
1146
+ description,
1147
+ footer = () => /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(import_jsx_runtime16.Fragment, {})
1148
+ }) => {
1149
+ return /* @__PURE__ */ (0, import_jsx_runtime16.jsxs)(Card, { children: [
1150
+ /* @__PURE__ */ (0, import_jsx_runtime16.jsxs)(CardHeader, { children: [
1151
+ title && /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(CardTitle, { children: title }),
1152
+ description && /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(CardDescription, { children: description })
1153
+ ] }),
1154
+ children && /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(CardContent, { children }),
1155
+ footer && /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(CardFooter, { children: footer() })
1156
+ ] });
1157
+ };
1158
+
1066
1159
  // src/components/dataInput/checkbox/Checkbox.tsx
1067
1160
  var import_react_hook_form3 = require("react-hook-form");
1068
1161
 
1069
1162
  // src/components/ui/checkbox.tsx
1070
- var React8 = __toESM(require("react"));
1163
+ var React9 = __toESM(require("react"));
1071
1164
  var CheckboxPrimitive = __toESM(require("@radix-ui/react-checkbox"));
1072
1165
  var import_lucide_react3 = require("lucide-react");
1073
- var import_jsx_runtime15 = require("react/jsx-runtime");
1074
- var Checkbox = React8.forwardRef((_a, ref) => {
1166
+ var import_jsx_runtime17 = require("react/jsx-runtime");
1167
+ var Checkbox = React9.forwardRef((_a, ref) => {
1075
1168
  var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
1076
- return /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(
1169
+ return /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
1077
1170
  CheckboxPrimitive.Root,
1078
1171
  __spreadProps(__spreadValues({
1079
1172
  ref,
@@ -1082,11 +1175,11 @@ var Checkbox = React8.forwardRef((_a, ref) => {
1082
1175
  className
1083
1176
  )
1084
1177
  }, props), {
1085
- children: /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(
1178
+ children: /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
1086
1179
  CheckboxPrimitive.Indicator,
1087
1180
  {
1088
1181
  className: cn("flex items-center justify-center text-current"),
1089
- children: /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(import_lucide_react3.Check, { className: "h-4 w-4" })
1182
+ children: /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(import_lucide_react3.Check, { className: "h-4 w-4" })
1090
1183
  }
1091
1184
  )
1092
1185
  })
@@ -1095,16 +1188,16 @@ var Checkbox = React8.forwardRef((_a, ref) => {
1095
1188
  Checkbox.displayName = CheckboxPrimitive.Root.displayName;
1096
1189
 
1097
1190
  // src/components/ui/label.tsx
1098
- var React9 = __toESM(require("react"));
1191
+ var React10 = __toESM(require("react"));
1099
1192
  var LabelPrimitive = __toESM(require("@radix-ui/react-label"));
1100
1193
  var import_class_variance_authority4 = require("class-variance-authority");
1101
- var import_jsx_runtime16 = require("react/jsx-runtime");
1194
+ var import_jsx_runtime18 = require("react/jsx-runtime");
1102
1195
  var labelVariants = (0, import_class_variance_authority4.cva)(
1103
1196
  "text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70"
1104
1197
  );
1105
- var Label3 = React9.forwardRef((_a, ref) => {
1198
+ var Label3 = React10.forwardRef((_a, ref) => {
1106
1199
  var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
1107
- return /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(
1200
+ return /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
1108
1201
  LabelPrimitive.Root,
1109
1202
  __spreadValues({
1110
1203
  ref,
@@ -1118,21 +1211,21 @@ Label3.displayName = LabelPrimitive.Root.displayName;
1118
1211
  var import_react_hook_form2 = require("react-hook-form");
1119
1212
 
1120
1213
  // src/components/ui/form.tsx
1121
- var React10 = __toESM(require("react"));
1214
+ var React11 = __toESM(require("react"));
1122
1215
  var import_react_slot2 = require("@radix-ui/react-slot");
1123
1216
  var import_react_hook_form = require("react-hook-form");
1124
- var import_jsx_runtime17 = require("react/jsx-runtime");
1217
+ var import_jsx_runtime19 = require("react/jsx-runtime");
1125
1218
  var Form = import_react_hook_form.FormProvider;
1126
- var FormFieldContext = React10.createContext(
1219
+ var FormFieldContext = React11.createContext(
1127
1220
  {}
1128
1221
  );
1129
1222
  var FormField = (_a) => {
1130
1223
  var props = __objRest(_a, []);
1131
- return /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(FormFieldContext.Provider, { value: { name: props.name }, children: /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(import_react_hook_form.Controller, __spreadValues({}, props)) });
1224
+ return /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(FormFieldContext.Provider, { value: { name: props.name }, children: /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(import_react_hook_form.Controller, __spreadValues({}, props)) });
1132
1225
  };
1133
1226
  var useFormField = () => {
1134
- const fieldContext = React10.useContext(FormFieldContext);
1135
- const itemContext = React10.useContext(FormItemContext);
1227
+ const fieldContext = React11.useContext(FormFieldContext);
1228
+ const itemContext = React11.useContext(FormItemContext);
1136
1229
  const { getFieldState, formState } = (0, import_react_hook_form.useFormContext)();
1137
1230
  const fieldState = getFieldState(fieldContext.name, formState);
1138
1231
  if (!fieldContext) {
@@ -1147,19 +1240,19 @@ var useFormField = () => {
1147
1240
  formMessageId: `${id}-form-item-message`
1148
1241
  }, fieldState);
1149
1242
  };
1150
- var FormItemContext = React10.createContext(
1243
+ var FormItemContext = React11.createContext(
1151
1244
  {}
1152
1245
  );
1153
- var FormItem = React10.forwardRef((_a, ref) => {
1246
+ var FormItem = React11.forwardRef((_a, ref) => {
1154
1247
  var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
1155
- const id = React10.useId();
1156
- return /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(FormItemContext.Provider, { value: { id }, children: /* @__PURE__ */ (0, import_jsx_runtime17.jsx)("div", __spreadValues({ ref, className: cn("space-y-2", className) }, props)) });
1248
+ const id = React11.useId();
1249
+ return /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(FormItemContext.Provider, { value: { id }, children: /* @__PURE__ */ (0, import_jsx_runtime19.jsx)("div", __spreadValues({ ref, className: cn("space-y-2", className) }, props)) });
1157
1250
  });
1158
1251
  FormItem.displayName = "FormItem";
1159
- var FormLabel = React10.forwardRef((_a, ref) => {
1252
+ var FormLabel = React11.forwardRef((_a, ref) => {
1160
1253
  var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
1161
1254
  const { error, formItemId } = useFormField();
1162
- return /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
1255
+ return /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(
1163
1256
  Label3,
1164
1257
  __spreadValues({
1165
1258
  ref,
@@ -1169,10 +1262,10 @@ var FormLabel = React10.forwardRef((_a, ref) => {
1169
1262
  );
1170
1263
  });
1171
1264
  FormLabel.displayName = "FormLabel";
1172
- var FormControl = React10.forwardRef((_a, ref) => {
1265
+ var FormControl = React11.forwardRef((_a, ref) => {
1173
1266
  var props = __objRest(_a, []);
1174
1267
  const { error, formItemId, formDescriptionId, formMessageId } = useFormField();
1175
- return /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
1268
+ return /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(
1176
1269
  import_react_slot2.Slot,
1177
1270
  __spreadValues({
1178
1271
  ref,
@@ -1183,10 +1276,10 @@ var FormControl = React10.forwardRef((_a, ref) => {
1183
1276
  );
1184
1277
  });
1185
1278
  FormControl.displayName = "FormControl";
1186
- var FormDescription = React10.forwardRef((_a, ref) => {
1279
+ var FormDescription = React11.forwardRef((_a, ref) => {
1187
1280
  var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
1188
1281
  const { formDescriptionId } = useFormField();
1189
- return /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
1282
+ return /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(
1190
1283
  "p",
1191
1284
  __spreadValues({
1192
1285
  ref,
@@ -1196,14 +1289,14 @@ var FormDescription = React10.forwardRef((_a, ref) => {
1196
1289
  );
1197
1290
  });
1198
1291
  FormDescription.displayName = "FormDescription";
1199
- var FormMessage = React10.forwardRef((_a, ref) => {
1292
+ var FormMessage = React11.forwardRef((_a, ref) => {
1200
1293
  var _b = _a, { className, children } = _b, props = __objRest(_b, ["className", "children"]);
1201
1294
  const { error, formMessageId } = useFormField();
1202
1295
  const body = error ? String(error == null ? void 0 : error.message) : children;
1203
1296
  if (!body) {
1204
1297
  return null;
1205
1298
  }
1206
- return /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
1299
+ return /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(
1207
1300
  "p",
1208
1301
  __spreadProps(__spreadValues({
1209
1302
  ref,
@@ -1217,13 +1310,13 @@ var FormMessage = React10.forwardRef((_a, ref) => {
1217
1310
  FormMessage.displayName = "FormMessage";
1218
1311
 
1219
1312
  // src/components/dataDisplay/ErrorMessage/ErrorMessage.tsx
1220
- var import_jsx_runtime18 = require("react/jsx-runtime");
1313
+ var import_jsx_runtime20 = require("react/jsx-runtime");
1221
1314
  var ErrorMessage = ({ children }) => {
1222
- return /* @__PURE__ */ (0, import_jsx_runtime18.jsx)("p", { className: "text-sm font-medium text-destructive", children });
1315
+ return /* @__PURE__ */ (0, import_jsx_runtime20.jsx)("p", { className: "text-sm font-medium text-destructive", children });
1223
1316
  };
1224
1317
 
1225
1318
  // src/components/dataInput/checkbox/Checkbox.tsx
1226
- var import_jsx_runtime19 = require("react/jsx-runtime");
1319
+ var import_jsx_runtime21 = require("react/jsx-runtime");
1227
1320
  var Checkbox2 = (_a) => {
1228
1321
  var _b = _a, {
1229
1322
  label,
@@ -1238,37 +1331,37 @@ var Checkbox2 = (_a) => {
1238
1331
  const form = (0, import_react_hook_form3.useFormContext)();
1239
1332
  const hasForm = !withoutForm && !!form && !!props.name;
1240
1333
  if (!hasForm)
1241
- return /* @__PURE__ */ (0, import_jsx_runtime19.jsxs)("div", { className: "flex items-center space-x-2", children: [
1242
- /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(Checkbox, __spreadValues({}, props)),
1243
- label && /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(Label3, { htmlFor: props.id, children: label }),
1244
- error && /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(ErrorMessage, { children: error })
1334
+ return /* @__PURE__ */ (0, import_jsx_runtime21.jsxs)("div", { className: "flex items-center space-x-2", children: [
1335
+ /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(Checkbox, __spreadValues({}, props)),
1336
+ label && /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(Label3, { htmlFor: props.id, children: label }),
1337
+ error && /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(ErrorMessage, { children: error })
1245
1338
  ] });
1246
- return /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(
1339
+ return /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(
1247
1340
  FormField,
1248
1341
  {
1249
1342
  control: form.control,
1250
1343
  name: (_a2 = props.name) != null ? _a2 : "",
1251
- render: ({ field }) => /* @__PURE__ */ (0, import_jsx_runtime19.jsxs)(FormItem, { className: "flex flex-row items-start space-x-3 space-y-0 rounded-md border p-4", children: [
1252
- /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(FormControl, { children: /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(
1344
+ render: ({ field }) => /* @__PURE__ */ (0, import_jsx_runtime21.jsxs)(FormItem, { className: "flex flex-row items-start space-x-3 space-y-0 rounded-md border p-4", children: [
1345
+ /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(FormControl, { children: /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(
1253
1346
  Checkbox,
1254
1347
  {
1255
1348
  checked: field.value,
1256
1349
  onCheckedChange: field.onChange
1257
1350
  }
1258
1351
  ) }),
1259
- label && /* @__PURE__ */ (0, import_jsx_runtime19.jsx)("div", { className: "space-y-1 leading-none", children: /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(FormLabel, { children: label }) })
1352
+ label && /* @__PURE__ */ (0, import_jsx_runtime21.jsx)("div", { className: "space-y-1 leading-none", children: /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(FormLabel, { children: label }) })
1260
1353
  ] })
1261
1354
  }
1262
1355
  );
1263
1356
  };
1264
1357
 
1265
1358
  // src/components/ui/input.tsx
1266
- var React11 = __toESM(require("react"));
1267
- var import_jsx_runtime20 = require("react/jsx-runtime");
1268
- var Input = React11.forwardRef(
1359
+ var React12 = __toESM(require("react"));
1360
+ var import_jsx_runtime22 = require("react/jsx-runtime");
1361
+ var Input = React12.forwardRef(
1269
1362
  (_a, ref) => {
1270
1363
  var _b = _a, { className, type } = _b, props = __objRest(_b, ["className", "type"]);
1271
- return /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(
1364
+ return /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(
1272
1365
  "input",
1273
1366
  __spreadValues({
1274
1367
  type,
@@ -1287,27 +1380,27 @@ Input.displayName = "Input";
1287
1380
  var import_react3 = require("react");
1288
1381
 
1289
1382
  // src/components/feedback/ErrorLabel/index.tsx
1290
- var import_jsx_runtime21 = require("react/jsx-runtime");
1383
+ var import_jsx_runtime23 = require("react/jsx-runtime");
1291
1384
  var ErrorLabel = ({
1292
1385
  children,
1293
1386
  className,
1294
1387
  "data-testid": dataTestId
1295
1388
  }) => {
1296
- return /* @__PURE__ */ (0, import_jsx_runtime21.jsxs)(
1389
+ return /* @__PURE__ */ (0, import_jsx_runtime23.jsxs)(
1297
1390
  "div",
1298
1391
  {
1299
1392
  className: cn("flex items-center gap-2 my-2", className),
1300
1393
  "data-testid": `${dataTestId}-error-label`,
1301
1394
  children: [
1302
- /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(Icon2, { name: "MdErrorOutline", size: 18, className: "text-destructive" }),
1303
- /* @__PURE__ */ (0, import_jsx_runtime21.jsx)("span", { className: "text-destructive text-sm", children })
1395
+ /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(Icon2, { name: "MdErrorOutline", size: 18, className: "text-destructive" }),
1396
+ /* @__PURE__ */ (0, import_jsx_runtime23.jsx)("span", { className: "text-destructive text-sm", children })
1304
1397
  ]
1305
1398
  }
1306
1399
  );
1307
1400
  };
1308
1401
 
1309
1402
  // src/components/dataInput/Input/components/InputBase/index.tsx
1310
- var import_jsx_runtime22 = require("react/jsx-runtime");
1403
+ var import_jsx_runtime24 = require("react/jsx-runtime");
1311
1404
  var InputBase = ({
1312
1405
  label,
1313
1406
  error,
@@ -1315,13 +1408,13 @@ var InputBase = ({
1315
1408
  required,
1316
1409
  "data-testid": testId
1317
1410
  }) => {
1318
- return /* @__PURE__ */ (0, import_jsx_runtime22.jsxs)("div", { children: [
1319
- label && /* @__PURE__ */ (0, import_jsx_runtime22.jsxs)(Label3, { "data-testid": `${testId}-label`, children: [
1411
+ return /* @__PURE__ */ (0, import_jsx_runtime24.jsxs)("div", { children: [
1412
+ label && /* @__PURE__ */ (0, import_jsx_runtime24.jsxs)(Label3, { "data-testid": `${testId}-label`, children: [
1320
1413
  `${label} ${required ? "*" : ""}`,
1321
1414
  " "
1322
1415
  ] }),
1323
1416
  children,
1324
- error && /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(ErrorLabel, { "data-testid": testId, children: error })
1417
+ error && /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(ErrorLabel, { "data-testid": testId, children: error })
1325
1418
  ] });
1326
1419
  };
1327
1420
 
@@ -1348,7 +1441,7 @@ var useConditionalController = ({
1348
1441
  };
1349
1442
 
1350
1443
  // src/components/dataInput/Input/components/Input/index.tsx
1351
- var import_jsx_runtime23 = require("react/jsx-runtime");
1444
+ var import_jsx_runtime25 = require("react/jsx-runtime");
1352
1445
  var Input2 = (_a) => {
1353
1446
  var _b = _a, {
1354
1447
  "data-testid": dataTestId,
@@ -1368,15 +1461,15 @@ var Input2 = (_a) => {
1368
1461
  const inputProps = (0, import_react3.useMemo)(() => {
1369
1462
  return __spreadValues(__spreadValues({}, formData), props);
1370
1463
  }, [formData, props]);
1371
- return /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(
1464
+ return /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
1372
1465
  InputBase,
1373
1466
  {
1374
1467
  label: props.label,
1375
1468
  error: props.error,
1376
1469
  required: props.required,
1377
1470
  "data-testid": dataTestId,
1378
- children: /* @__PURE__ */ (0, import_jsx_runtime23.jsxs)("div", { className: cn("flex items-center gap-2", containerClassName), children: [
1379
- /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(
1471
+ children: /* @__PURE__ */ (0, import_jsx_runtime25.jsxs)("div", { className: cn("flex items-center gap-2", containerClassName), children: [
1472
+ /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
1380
1473
  Input,
1381
1474
  __spreadProps(__spreadValues({}, inputProps), {
1382
1475
  "data-testid": dataTestId,
@@ -1395,7 +1488,7 @@ var Input2 = (_a) => {
1395
1488
  // src/components/dataInput/Input/components/NumberInput/number-input.tsx
1396
1489
  var import_react_number_format = require("react-number-format");
1397
1490
  var import_react4 = require("react");
1398
- var import_jsx_runtime24 = require("react/jsx-runtime");
1491
+ var import_jsx_runtime26 = require("react/jsx-runtime");
1399
1492
  var NumberInput = (props) => {
1400
1493
  const formData = useConditionalController({
1401
1494
  name: props.name || "",
@@ -1425,7 +1518,7 @@ var NumberInput = (props) => {
1425
1518
  },
1426
1519
  [props, formData]
1427
1520
  );
1428
- return /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(InputBase, __spreadProps(__spreadValues({}, props), { children: /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(
1521
+ return /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(InputBase, __spreadProps(__spreadValues({}, props), { children: /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
1429
1522
  import_react_number_format.NumericFormat,
1430
1523
  __spreadProps(__spreadValues({}, inputProps), {
1431
1524
  customInput: Input,
@@ -1436,7 +1529,7 @@ var NumberInput = (props) => {
1436
1529
  };
1437
1530
 
1438
1531
  // src/components/dataInput/Input/components/MaskInput/mask-input.tsx
1439
- var React12 = __toESM(require("react"));
1532
+ var React13 = __toESM(require("react"));
1440
1533
 
1441
1534
  // src/hooks/use-mask.tsx
1442
1535
  var import_react5 = require("react");
@@ -1524,7 +1617,7 @@ var useMask = (_a) => {
1524
1617
 
1525
1618
  // src/components/dataInput/Input/components/MaskInput/mask-input.tsx
1526
1619
  var import_react6 = require("react");
1527
- var import_jsx_runtime25 = require("react/jsx-runtime");
1620
+ var import_jsx_runtime27 = require("react/jsx-runtime");
1528
1621
  var MaskInput = (_a) => {
1529
1622
  var _b = _a, {
1530
1623
  "data-testid": dataTestId,
@@ -1541,12 +1634,12 @@ var MaskInput = (_a) => {
1541
1634
  name: props.name || "",
1542
1635
  withoutForm
1543
1636
  });
1544
- const inputProps = React12.useMemo(() => {
1637
+ const inputProps = React13.useMemo(() => {
1545
1638
  return __spreadValues(__spreadValues({}, formData), props);
1546
1639
  }, [formData, props]);
1547
1640
  const { applyMask } = useMask({ mask });
1548
1641
  const inputRef = (0, import_react6.useRef)(null);
1549
- const applyMaskToInput = React12.useCallback(
1642
+ const applyMaskToInput = React13.useCallback(
1550
1643
  (value) => {
1551
1644
  if (inputRef.current && mask) {
1552
1645
  const maskedValue = applyMask(value);
@@ -1555,7 +1648,7 @@ var MaskInput = (_a) => {
1555
1648
  },
1556
1649
  [applyMask, mask]
1557
1650
  );
1558
- const handleChange = React12.useCallback(
1651
+ const handleChange = React13.useCallback(
1559
1652
  (e) => {
1560
1653
  var _a2;
1561
1654
  const maskedValue = mask ? applyMask(e.target.value) : e.target.value;
@@ -1569,7 +1662,7 @@ var MaskInput = (_a) => {
1569
1662
  },
1570
1663
  [applyMask, inputProps, mask, applyMaskToInput]
1571
1664
  );
1572
- return /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
1665
+ return /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
1573
1666
  Input2,
1574
1667
  __spreadProps(__spreadValues({}, inputProps), {
1575
1668
  ref: inputRef,
@@ -1586,7 +1679,7 @@ var import_react7 = require("react");
1586
1679
 
1587
1680
  // src/components/ui/spinner.tsx
1588
1681
  var import_class_variance_authority5 = require("class-variance-authority");
1589
- var import_jsx_runtime26 = require("react/jsx-runtime");
1682
+ var import_jsx_runtime28 = require("react/jsx-runtime");
1590
1683
  var spinnerVariants = (0, import_class_variance_authority5.cva)("flex-col items-center justify-center", {
1591
1684
  variants: {
1592
1685
  show: {
@@ -1616,8 +1709,8 @@ function Spinner({
1616
1709
  children,
1617
1710
  className
1618
1711
  }) {
1619
- return /* @__PURE__ */ (0, import_jsx_runtime26.jsxs)("span", { className: spinnerVariants({ show }), children: [
1620
- /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
1712
+ return /* @__PURE__ */ (0, import_jsx_runtime28.jsxs)("span", { className: spinnerVariants({ show }), children: [
1713
+ /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
1621
1714
  Icon2,
1622
1715
  {
1623
1716
  name: "FaSpinner",
@@ -1629,7 +1722,7 @@ function Spinner({
1629
1722
  }
1630
1723
 
1631
1724
  // src/hooks/use-toast.ts
1632
- var React13 = __toESM(require("react"));
1725
+ var React14 = __toESM(require("react"));
1633
1726
  var TOAST_LIMIT = 1;
1634
1727
  var TOAST_REMOVE_DELAY = 1e6;
1635
1728
  var count = 0;
@@ -1724,8 +1817,8 @@ function toast(_a) {
1724
1817
  };
1725
1818
  }
1726
1819
  function useToast() {
1727
- const [state, setState] = React13.useState(memoryState);
1728
- React13.useEffect(() => {
1820
+ const [state, setState] = React14.useState(memoryState);
1821
+ React14.useEffect(() => {
1729
1822
  listeners.push(setState);
1730
1823
  return () => {
1731
1824
  const index = listeners.indexOf(setState);
@@ -1741,15 +1834,15 @@ function useToast() {
1741
1834
  }
1742
1835
 
1743
1836
  // src/components/ui/toast.tsx
1744
- var React14 = __toESM(require("react"));
1837
+ var React15 = __toESM(require("react"));
1745
1838
  var ToastPrimitives = __toESM(require("@radix-ui/react-toast"));
1746
1839
  var import_class_variance_authority6 = require("class-variance-authority");
1747
1840
  var import_lucide_react4 = require("lucide-react");
1748
- var import_jsx_runtime27 = require("react/jsx-runtime");
1841
+ var import_jsx_runtime29 = require("react/jsx-runtime");
1749
1842
  var ToastProvider = ToastPrimitives.Provider;
1750
- var ToastViewport = React14.forwardRef((_a, ref) => {
1843
+ var ToastViewport = React15.forwardRef((_a, ref) => {
1751
1844
  var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
1752
- return /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
1845
+ return /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(
1753
1846
  ToastPrimitives.Viewport,
1754
1847
  __spreadValues({
1755
1848
  ref,
@@ -1776,9 +1869,9 @@ var toastVariants = (0, import_class_variance_authority6.cva)(
1776
1869
  }
1777
1870
  }
1778
1871
  );
1779
- var Toast = React14.forwardRef((_a, ref) => {
1872
+ var Toast = React15.forwardRef((_a, ref) => {
1780
1873
  var _b = _a, { className, variant } = _b, props = __objRest(_b, ["className", "variant"]);
1781
- return /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
1874
+ return /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(
1782
1875
  ToastPrimitives.Root,
1783
1876
  __spreadValues({
1784
1877
  ref,
@@ -1787,9 +1880,9 @@ var Toast = React14.forwardRef((_a, ref) => {
1787
1880
  );
1788
1881
  });
1789
1882
  Toast.displayName = ToastPrimitives.Root.displayName;
1790
- var ToastAction = React14.forwardRef((_a, ref) => {
1883
+ var ToastAction = React15.forwardRef((_a, ref) => {
1791
1884
  var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
1792
- return /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
1885
+ return /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(
1793
1886
  ToastPrimitives.Action,
1794
1887
  __spreadValues({
1795
1888
  ref,
@@ -1801,9 +1894,9 @@ var ToastAction = React14.forwardRef((_a, ref) => {
1801
1894
  );
1802
1895
  });
1803
1896
  ToastAction.displayName = ToastPrimitives.Action.displayName;
1804
- var ToastClose = React14.forwardRef((_a, ref) => {
1897
+ var ToastClose = React15.forwardRef((_a, ref) => {
1805
1898
  var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
1806
- return /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
1899
+ return /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(
1807
1900
  ToastPrimitives.Close,
1808
1901
  __spreadProps(__spreadValues({
1809
1902
  ref,
@@ -1813,14 +1906,14 @@ var ToastClose = React14.forwardRef((_a, ref) => {
1813
1906
  ),
1814
1907
  "toast-close": ""
1815
1908
  }, props), {
1816
- children: /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(import_lucide_react4.X, { className: "h-4 w-4" })
1909
+ children: /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(import_lucide_react4.X, { className: "h-4 w-4" })
1817
1910
  })
1818
1911
  );
1819
1912
  });
1820
1913
  ToastClose.displayName = ToastPrimitives.Close.displayName;
1821
- var ToastTitle = React14.forwardRef((_a, ref) => {
1914
+ var ToastTitle = React15.forwardRef((_a, ref) => {
1822
1915
  var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
1823
- return /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
1916
+ return /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(
1824
1917
  ToastPrimitives.Title,
1825
1918
  __spreadValues({
1826
1919
  ref,
@@ -1829,9 +1922,9 @@ var ToastTitle = React14.forwardRef((_a, ref) => {
1829
1922
  );
1830
1923
  });
1831
1924
  ToastTitle.displayName = ToastPrimitives.Title.displayName;
1832
- var ToastDescription = React14.forwardRef((_a, ref) => {
1925
+ var ToastDescription = React15.forwardRef((_a, ref) => {
1833
1926
  var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
1834
- return /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
1927
+ return /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(
1835
1928
  ToastPrimitives.Description,
1836
1929
  __spreadValues({
1837
1930
  ref,
@@ -1842,32 +1935,32 @@ var ToastDescription = React14.forwardRef((_a, ref) => {
1842
1935
  ToastDescription.displayName = ToastPrimitives.Description.displayName;
1843
1936
 
1844
1937
  // src/components/ui/toaster.tsx
1845
- var import_jsx_runtime28 = require("react/jsx-runtime");
1938
+ var import_jsx_runtime30 = require("react/jsx-runtime");
1846
1939
  function Toaster() {
1847
1940
  const { toasts } = useToast();
1848
- return /* @__PURE__ */ (0, import_jsx_runtime28.jsxs)(ToastProvider, { children: [
1941
+ return /* @__PURE__ */ (0, import_jsx_runtime30.jsxs)(ToastProvider, { children: [
1849
1942
  toasts.map(function(_a) {
1850
1943
  var _b = _a, { id, title, description, action } = _b, props = __objRest(_b, ["id", "title", "description", "action"]);
1851
- return /* @__PURE__ */ (0, import_jsx_runtime28.jsxs)(Toast, __spreadProps(__spreadValues({}, props), { children: [
1852
- /* @__PURE__ */ (0, import_jsx_runtime28.jsxs)("div", { className: "grid gap-1", children: [
1853
- title && /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(ToastTitle, { children: title }),
1854
- description && /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(ToastDescription, { children: description })
1944
+ return /* @__PURE__ */ (0, import_jsx_runtime30.jsxs)(Toast, __spreadProps(__spreadValues({}, props), { children: [
1945
+ /* @__PURE__ */ (0, import_jsx_runtime30.jsxs)("div", { className: "grid gap-1", children: [
1946
+ title && /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(ToastTitle, { children: title }),
1947
+ description && /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(ToastDescription, { children: description })
1855
1948
  ] }),
1856
1949
  action,
1857
- /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(ToastClose, {})
1950
+ /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(ToastClose, {})
1858
1951
  ] }), id);
1859
1952
  }),
1860
- /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(ToastViewport, {})
1953
+ /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(ToastViewport, {})
1861
1954
  ] });
1862
1955
  }
1863
1956
 
1864
1957
  // src/components/actions/Button/Button.tsx
1865
- var import_jsx_runtime29 = require("react/jsx-runtime");
1958
+ var import_jsx_runtime31 = require("react/jsx-runtime");
1866
1959
  var Button2 = (0, import_react7.forwardRef)(
1867
1960
  (_a, ref) => {
1868
1961
  var _b = _a, { children, disabled, loading } = _b, rest = __objRest(_b, ["children", "disabled", "loading"]);
1869
- return /* @__PURE__ */ (0, import_jsx_runtime29.jsxs)(Button, __spreadProps(__spreadValues({}, rest), { disabled: disabled || loading, ref, children: [
1870
- loading && /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(Spinner, { className: "fill-white" }),
1962
+ return /* @__PURE__ */ (0, import_jsx_runtime31.jsxs)(Button, __spreadProps(__spreadValues({}, rest), { disabled: disabled || loading, ref, children: [
1963
+ loading && /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(Spinner, { className: "fill-white" }),
1871
1964
  children
1872
1965
  ] }));
1873
1966
  }
@@ -1876,7 +1969,7 @@ Button2.displayName = "Button";
1876
1969
 
1877
1970
  // src/components/dataInput/Input/components/MultipleInput/MultipleInput.tsx
1878
1971
  var import_react8 = require("react");
1879
- var import_jsx_runtime30 = require("react/jsx-runtime");
1972
+ var import_jsx_runtime32 = require("react/jsx-runtime");
1880
1973
  var MultipleInput = (_a) => {
1881
1974
  var _b = _a, {
1882
1975
  data = [],
@@ -1930,27 +2023,27 @@ var MultipleInput = (_a) => {
1930
2023
  );
1931
2024
  const renderItens = (0, import_react8.useCallback)(() => {
1932
2025
  return inputItems == null ? void 0 : inputItems.map((item, index) => {
1933
- return /* @__PURE__ */ (0, import_jsx_runtime30.jsxs)("div", { className: "flex justify-between", children: [
2026
+ return /* @__PURE__ */ (0, import_jsx_runtime32.jsxs)("div", { className: "flex justify-between", children: [
1934
2027
  item,
1935
- /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(
2028
+ /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(
1936
2029
  Button2,
1937
2030
  {
1938
2031
  variant: "ghost",
1939
2032
  className: "text-destructive",
1940
2033
  size: "icon",
1941
2034
  onClick: () => onRemoveData(index),
1942
- children: /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(Icon2, { name: "MdDelete" })
2035
+ children: /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(Icon2, { name: "MdDelete" })
1943
2036
  }
1944
2037
  )
1945
2038
  ] }, item);
1946
2039
  });
1947
2040
  }, [inputItems, onRemoveData]);
1948
2041
  const extraElement = (0, import_react8.useMemo)(
1949
- () => /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(Button2, { type: "button", onClick: onAddData, disabled: !inputValue, children: /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(Icon2, { name: "MdAdd" }) }),
2042
+ () => /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(Button2, { type: "button", onClick: onAddData, disabled: !inputValue, children: /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(Icon2, { name: "MdAdd" }) }),
1950
2043
  [onAddData, inputValue]
1951
2044
  );
1952
- return /* @__PURE__ */ (0, import_jsx_runtime30.jsxs)("div", { className: "flex flex-col gap-2", children: [
1953
- /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(
2045
+ return /* @__PURE__ */ (0, import_jsx_runtime32.jsxs)("div", { className: "flex flex-col gap-2", children: [
2046
+ /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(
1954
2047
  MaskInput,
1955
2048
  __spreadProps(__spreadValues({}, props), {
1956
2049
  withoutForm: true,
@@ -1966,16 +2059,16 @@ var MultipleInput = (_a) => {
1966
2059
  };
1967
2060
 
1968
2061
  // src/components/ui/dialog.tsx
1969
- var React15 = __toESM(require("react"));
2062
+ var React16 = __toESM(require("react"));
1970
2063
  var DialogPrimitive = __toESM(require("@radix-ui/react-dialog"));
1971
2064
  var import_lucide_react5 = require("lucide-react");
1972
- var import_jsx_runtime31 = require("react/jsx-runtime");
2065
+ var import_jsx_runtime33 = require("react/jsx-runtime");
1973
2066
  var Dialog = DialogPrimitive.Root;
1974
2067
  var DialogPortal = DialogPrimitive.Portal;
1975
2068
  var DialogClose = DialogPrimitive.Close;
1976
- var DialogOverlay = React15.forwardRef((_a, ref) => {
2069
+ var DialogOverlay = React16.forwardRef((_a, ref) => {
1977
2070
  var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
1978
- return /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(
2071
+ return /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(
1979
2072
  DialogPrimitive.Overlay,
1980
2073
  __spreadValues({
1981
2074
  ref,
@@ -1987,11 +2080,11 @@ var DialogOverlay = React15.forwardRef((_a, ref) => {
1987
2080
  );
1988
2081
  });
1989
2082
  DialogOverlay.displayName = DialogPrimitive.Overlay.displayName;
1990
- var DialogContent = React15.forwardRef((_a, ref) => {
2083
+ var DialogContent = React16.forwardRef((_a, ref) => {
1991
2084
  var _b = _a, { className, children } = _b, props = __objRest(_b, ["className", "children"]);
1992
- return /* @__PURE__ */ (0, import_jsx_runtime31.jsxs)(DialogPortal, { children: [
1993
- /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(DialogOverlay, {}),
1994
- /* @__PURE__ */ (0, import_jsx_runtime31.jsxs)(
2085
+ return /* @__PURE__ */ (0, import_jsx_runtime33.jsxs)(DialogPortal, { children: [
2086
+ /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(DialogOverlay, {}),
2087
+ /* @__PURE__ */ (0, import_jsx_runtime33.jsxs)(
1995
2088
  DialogPrimitive.Content,
1996
2089
  __spreadProps(__spreadValues({
1997
2090
  ref,
@@ -2002,9 +2095,9 @@ var DialogContent = React15.forwardRef((_a, ref) => {
2002
2095
  }, props), {
2003
2096
  children: [
2004
2097
  children,
2005
- /* @__PURE__ */ (0, import_jsx_runtime31.jsxs)(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: [
2006
- /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(import_lucide_react5.X, { className: "h-4 w-4" }),
2007
- /* @__PURE__ */ (0, import_jsx_runtime31.jsx)("span", { className: "sr-only", children: "Close" })
2098
+ /* @__PURE__ */ (0, import_jsx_runtime33.jsxs)(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: [
2099
+ /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(import_lucide_react5.X, { className: "h-4 w-4" }),
2100
+ /* @__PURE__ */ (0, import_jsx_runtime33.jsx)("span", { className: "sr-only", children: "Close" })
2008
2101
  ] })
2009
2102
  ]
2010
2103
  })
@@ -2018,7 +2111,7 @@ var DialogHeader = (_a) => {
2018
2111
  } = _b, props = __objRest(_b, [
2019
2112
  "className"
2020
2113
  ]);
2021
- return /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(
2114
+ return /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(
2022
2115
  "div",
2023
2116
  __spreadValues({
2024
2117
  className: cn(
@@ -2035,7 +2128,7 @@ var DialogFooter = (_a) => {
2035
2128
  } = _b, props = __objRest(_b, [
2036
2129
  "className"
2037
2130
  ]);
2038
- return /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(
2131
+ return /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(
2039
2132
  "div",
2040
2133
  __spreadValues({
2041
2134
  className: cn(
@@ -2046,9 +2139,9 @@ var DialogFooter = (_a) => {
2046
2139
  );
2047
2140
  };
2048
2141
  DialogFooter.displayName = "DialogFooter";
2049
- var DialogTitle = React15.forwardRef((_a, ref) => {
2142
+ var DialogTitle = React16.forwardRef((_a, ref) => {
2050
2143
  var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
2051
- return /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(
2144
+ return /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(
2052
2145
  DialogPrimitive.Title,
2053
2146
  __spreadValues({
2054
2147
  ref,
@@ -2060,9 +2153,9 @@ var DialogTitle = React15.forwardRef((_a, ref) => {
2060
2153
  );
2061
2154
  });
2062
2155
  DialogTitle.displayName = DialogPrimitive.Title.displayName;
2063
- var DialogDescription = React15.forwardRef((_a, ref) => {
2156
+ var DialogDescription = React16.forwardRef((_a, ref) => {
2064
2157
  var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
2065
- return /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(
2158
+ return /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(
2066
2159
  DialogPrimitive.Description,
2067
2160
  __spreadValues({
2068
2161
  ref,
@@ -2074,7 +2167,7 @@ DialogDescription.displayName = DialogPrimitive.Description.displayName;
2074
2167
 
2075
2168
  // src/components/actions/Dialog/Dialog.tsx
2076
2169
  var import_react9 = require("react");
2077
- var import_jsx_runtime32 = require("react/jsx-runtime");
2170
+ var import_jsx_runtime34 = require("react/jsx-runtime");
2078
2171
  function Dialog2(_a) {
2079
2172
  var _b = _a, {
2080
2173
  title,
@@ -2089,13 +2182,13 @@ function Dialog2(_a) {
2089
2182
  "children",
2090
2183
  "footer"
2091
2184
  ]);
2092
- return /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(Dialog, __spreadProps(__spreadValues({}, props), { children: /* @__PURE__ */ (0, import_jsx_runtime32.jsxs)(DialogContent, { className, children: [
2093
- /* @__PURE__ */ (0, import_jsx_runtime32.jsxs)(DialogHeader, { children: [
2094
- title && /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(DialogTitle, { children: title }),
2095
- description && /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(DialogDescription, { children: description })
2185
+ return /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(Dialog, __spreadProps(__spreadValues({}, props), { children: /* @__PURE__ */ (0, import_jsx_runtime34.jsxs)(DialogContent, { className, children: [
2186
+ /* @__PURE__ */ (0, import_jsx_runtime34.jsxs)(DialogHeader, { children: [
2187
+ title && /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(DialogTitle, { children: title }),
2188
+ description && /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(DialogDescription, { children: description })
2096
2189
  ] }),
2097
2190
  children,
2098
- footer && /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(DialogFooter, { children: footer() })
2191
+ footer && /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(DialogFooter, { children: footer() })
2099
2192
  ] }) }));
2100
2193
  }
2101
2194
  var DialogWithForm = (_a) => {
@@ -2116,14 +2209,14 @@ var DialogWithForm = (_a) => {
2116
2209
  "onSubmit"
2117
2210
  ]);
2118
2211
  const dialogRef = (0, import_react9.useRef)(null);
2119
- return /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(Dialog, __spreadProps(__spreadValues({}, props), { children: /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(DialogContent, { className, ref: dialogRef, children: /* @__PURE__ */ (0, import_jsx_runtime32.jsxs)("form", { onSubmit, className: "flex flex-col gap-4", children: [
2120
- /* @__PURE__ */ (0, import_jsx_runtime32.jsxs)(DialogHeader, { children: [
2121
- title && /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(DialogTitle, { children: title }),
2122
- description && /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(DialogDescription, { children: description })
2212
+ return /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(Dialog, __spreadProps(__spreadValues({}, props), { children: /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(DialogContent, { className, ref: dialogRef, children: /* @__PURE__ */ (0, import_jsx_runtime34.jsxs)("form", { onSubmit, className: "flex flex-col gap-4", children: [
2213
+ /* @__PURE__ */ (0, import_jsx_runtime34.jsxs)(DialogHeader, { children: [
2214
+ title && /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(DialogTitle, { children: title }),
2215
+ description && /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(DialogDescription, { children: description })
2123
2216
  ] }),
2124
2217
  children,
2125
- footer && /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(DialogFooter, { children: /* @__PURE__ */ (0, import_jsx_runtime32.jsxs)("div", { className: "flex justify-between w-full", children: [
2126
- /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(DialogClose, { asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(Button2, { type: "button", variant: "secondary", children: "Fechar" }) }),
2218
+ footer && /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(DialogFooter, { children: /* @__PURE__ */ (0, import_jsx_runtime34.jsxs)("div", { className: "flex justify-between w-full", children: [
2219
+ /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(DialogClose, { asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(Button2, { type: "button", variant: "secondary", children: "Fechar" }) }),
2127
2220
  footer()
2128
2221
  ] }) })
2129
2222
  ] }) }) }));
@@ -2139,12 +2232,12 @@ var CollapsibleContent2 = CollapsiblePrimitive.CollapsibleContent;
2139
2232
  var import_react12 = require("react");
2140
2233
 
2141
2234
  // src/components/ui/drawer.tsx
2142
- var React16 = __toESM(require("react"));
2235
+ var React17 = __toESM(require("react"));
2143
2236
  var import_vaul = require("vaul");
2144
- var import_jsx_runtime33 = require("react/jsx-runtime");
2237
+ var import_jsx_runtime35 = require("react/jsx-runtime");
2145
2238
  var Drawer = (_a) => {
2146
2239
  var _b = _a, { shouldScaleBackground = true } = _b, props = __objRest(_b, ["shouldScaleBackground"]);
2147
- return /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(
2240
+ return /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(
2148
2241
  import_vaul.Drawer.Root,
2149
2242
  __spreadValues({
2150
2243
  shouldScaleBackground
@@ -2155,9 +2248,9 @@ Drawer.displayName = "Drawer";
2155
2248
  var DrawerTrigger = import_vaul.Drawer.Trigger;
2156
2249
  var DrawerPortal = import_vaul.Drawer.Portal;
2157
2250
  var DrawerClose = import_vaul.Drawer.Close;
2158
- var DrawerOverlay = React16.forwardRef((_a, ref) => {
2251
+ var DrawerOverlay = React17.forwardRef((_a, ref) => {
2159
2252
  var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
2160
- return /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(
2253
+ return /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(
2161
2254
  import_vaul.Drawer.Overlay,
2162
2255
  __spreadValues({
2163
2256
  ref,
@@ -2166,11 +2259,11 @@ var DrawerOverlay = React16.forwardRef((_a, ref) => {
2166
2259
  );
2167
2260
  });
2168
2261
  DrawerOverlay.displayName = import_vaul.Drawer.Overlay.displayName;
2169
- var DrawerContent = React16.forwardRef((_a, ref) => {
2262
+ var DrawerContent = React17.forwardRef((_a, ref) => {
2170
2263
  var _b = _a, { className, children } = _b, props = __objRest(_b, ["className", "children"]);
2171
- return /* @__PURE__ */ (0, import_jsx_runtime33.jsxs)(DrawerPortal, { children: [
2172
- /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(DrawerOverlay, {}),
2173
- /* @__PURE__ */ (0, import_jsx_runtime33.jsxs)(
2264
+ return /* @__PURE__ */ (0, import_jsx_runtime35.jsxs)(DrawerPortal, { children: [
2265
+ /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(DrawerOverlay, {}),
2266
+ /* @__PURE__ */ (0, import_jsx_runtime35.jsxs)(
2174
2267
  import_vaul.Drawer.Content,
2175
2268
  __spreadProps(__spreadValues({
2176
2269
  ref,
@@ -2180,7 +2273,7 @@ var DrawerContent = React16.forwardRef((_a, ref) => {
2180
2273
  )
2181
2274
  }, props), {
2182
2275
  children: [
2183
- /* @__PURE__ */ (0, import_jsx_runtime33.jsx)("div", { className: "mx-auto mt-4 h-2 w-[100px] rounded-full bg-muted" }),
2276
+ /* @__PURE__ */ (0, import_jsx_runtime35.jsx)("div", { className: "mx-auto mt-4 h-2 w-[100px] rounded-full bg-muted" }),
2184
2277
  children
2185
2278
  ]
2186
2279
  })
@@ -2194,7 +2287,7 @@ var DrawerHeader = (_a) => {
2194
2287
  } = _b, props = __objRest(_b, [
2195
2288
  "className"
2196
2289
  ]);
2197
- return /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(
2290
+ return /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(
2198
2291
  "div",
2199
2292
  __spreadValues({
2200
2293
  className: cn("grid gap-1.5 p-4 text-center sm:text-left", className)
@@ -2208,7 +2301,7 @@ var DrawerFooter = (_a) => {
2208
2301
  } = _b, props = __objRest(_b, [
2209
2302
  "className"
2210
2303
  ]);
2211
- return /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(
2304
+ return /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(
2212
2305
  "div",
2213
2306
  __spreadValues({
2214
2307
  className: cn("mt-auto flex flex-col gap-2 p-4", className)
@@ -2216,9 +2309,9 @@ var DrawerFooter = (_a) => {
2216
2309
  );
2217
2310
  };
2218
2311
  DrawerFooter.displayName = "DrawerFooter";
2219
- var DrawerTitle = React16.forwardRef((_a, ref) => {
2312
+ var DrawerTitle = React17.forwardRef((_a, ref) => {
2220
2313
  var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
2221
- return /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(
2314
+ return /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(
2222
2315
  import_vaul.Drawer.Title,
2223
2316
  __spreadValues({
2224
2317
  ref,
@@ -2230,9 +2323,9 @@ var DrawerTitle = React16.forwardRef((_a, ref) => {
2230
2323
  );
2231
2324
  });
2232
2325
  DrawerTitle.displayName = import_vaul.Drawer.Title.displayName;
2233
- var DrawerDescription = React16.forwardRef((_a, ref) => {
2326
+ var DrawerDescription = React17.forwardRef((_a, ref) => {
2234
2327
  var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
2235
- return /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(
2328
+ return /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(
2236
2329
  import_vaul.Drawer.Description,
2237
2330
  __spreadValues({
2238
2331
  ref,
@@ -2243,23 +2336,23 @@ var DrawerDescription = React16.forwardRef((_a, ref) => {
2243
2336
  DrawerDescription.displayName = import_vaul.Drawer.Description.displayName;
2244
2337
 
2245
2338
  // src/components/layout/Drawer/CustomDrawer/index.tsx
2246
- var import_jsx_runtime34 = require("react/jsx-runtime");
2339
+ var import_jsx_runtime36 = require("react/jsx-runtime");
2247
2340
  function CustomDrawer(_a) {
2248
2341
  var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
2249
- return /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(Drawer, __spreadProps(__spreadValues({}, props), { children: /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(DrawerContent, { className, children: props.children }) }));
2342
+ return /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(Drawer, __spreadProps(__spreadValues({}, props), { children: /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(DrawerContent, { className, children: props.children }) }));
2250
2343
  }
2251
2344
 
2252
2345
  // src/components/ui/sheet.tsx
2253
- var React17 = __toESM(require("react"));
2346
+ var React18 = __toESM(require("react"));
2254
2347
  var SheetPrimitive = __toESM(require("@radix-ui/react-dialog"));
2255
2348
  var import_class_variance_authority7 = require("class-variance-authority");
2256
2349
  var import_lucide_react6 = require("lucide-react");
2257
- var import_jsx_runtime35 = require("react/jsx-runtime");
2350
+ var import_jsx_runtime37 = require("react/jsx-runtime");
2258
2351
  var Sheet = SheetPrimitive.Root;
2259
2352
  var SheetPortal = SheetPrimitive.Portal;
2260
- var SheetOverlay = React17.forwardRef((_a, ref) => {
2353
+ var SheetOverlay = React18.forwardRef((_a, ref) => {
2261
2354
  var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
2262
- return /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(
2355
+ return /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(
2263
2356
  SheetPrimitive.Overlay,
2264
2357
  __spreadProps(__spreadValues({
2265
2358
  className: cn(
@@ -2288,20 +2381,20 @@ var sheetVariants = (0, import_class_variance_authority7.cva)(
2288
2381
  }
2289
2382
  }
2290
2383
  );
2291
- var SheetContent = React17.forwardRef((_a, ref) => {
2384
+ var SheetContent = React18.forwardRef((_a, ref) => {
2292
2385
  var _b = _a, { side = "right", className, children } = _b, props = __objRest(_b, ["side", "className", "children"]);
2293
- return /* @__PURE__ */ (0, import_jsx_runtime35.jsxs)(SheetPortal, { children: [
2294
- /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(SheetOverlay, {}),
2295
- /* @__PURE__ */ (0, import_jsx_runtime35.jsxs)(
2386
+ return /* @__PURE__ */ (0, import_jsx_runtime37.jsxs)(SheetPortal, { children: [
2387
+ /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(SheetOverlay, {}),
2388
+ /* @__PURE__ */ (0, import_jsx_runtime37.jsxs)(
2296
2389
  SheetPrimitive.Content,
2297
2390
  __spreadProps(__spreadValues({
2298
2391
  ref,
2299
2392
  className: cn(sheetVariants({ side }), className)
2300
2393
  }, props), {
2301
2394
  children: [
2302
- /* @__PURE__ */ (0, import_jsx_runtime35.jsxs)(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: [
2303
- /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(import_lucide_react6.X, { className: "h-4 w-4" }),
2304
- /* @__PURE__ */ (0, import_jsx_runtime35.jsx)("span", { className: "sr-only", children: "Close" })
2395
+ /* @__PURE__ */ (0, import_jsx_runtime37.jsxs)(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: [
2396
+ /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(import_lucide_react6.X, { className: "h-4 w-4" }),
2397
+ /* @__PURE__ */ (0, import_jsx_runtime37.jsx)("span", { className: "sr-only", children: "Close" })
2305
2398
  ] }),
2306
2399
  children
2307
2400
  ]
@@ -2316,7 +2409,7 @@ var SheetHeader = (_a) => {
2316
2409
  } = _b, props = __objRest(_b, [
2317
2410
  "className"
2318
2411
  ]);
2319
- return /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(
2412
+ return /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(
2320
2413
  "div",
2321
2414
  __spreadValues({
2322
2415
  className: cn(
@@ -2333,7 +2426,7 @@ var SheetFooter = (_a) => {
2333
2426
  } = _b, props = __objRest(_b, [
2334
2427
  "className"
2335
2428
  ]);
2336
- return /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(
2429
+ return /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(
2337
2430
  "div",
2338
2431
  __spreadValues({
2339
2432
  className: cn(
@@ -2344,9 +2437,9 @@ var SheetFooter = (_a) => {
2344
2437
  );
2345
2438
  };
2346
2439
  SheetFooter.displayName = "SheetFooter";
2347
- var SheetTitle = React17.forwardRef((_a, ref) => {
2440
+ var SheetTitle = React18.forwardRef((_a, ref) => {
2348
2441
  var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
2349
- return /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(
2442
+ return /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(
2350
2443
  SheetPrimitive.Title,
2351
2444
  __spreadValues({
2352
2445
  ref,
@@ -2355,9 +2448,9 @@ var SheetTitle = React17.forwardRef((_a, ref) => {
2355
2448
  );
2356
2449
  });
2357
2450
  SheetTitle.displayName = SheetPrimitive.Title.displayName;
2358
- var SheetDescription = React17.forwardRef((_a, ref) => {
2451
+ var SheetDescription = React18.forwardRef((_a, ref) => {
2359
2452
  var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
2360
- return /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(
2453
+ return /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(
2361
2454
  SheetPrimitive.Description,
2362
2455
  __spreadValues({
2363
2456
  ref,
@@ -2368,24 +2461,24 @@ var SheetDescription = React17.forwardRef((_a, ref) => {
2368
2461
  SheetDescription.displayName = SheetPrimitive.Description.displayName;
2369
2462
 
2370
2463
  // src/components/layout/Sheet/Sheet.tsx
2371
- var import_jsx_runtime36 = require("react/jsx-runtime");
2464
+ var import_jsx_runtime38 = require("react/jsx-runtime");
2372
2465
  function Sheet2(_a) {
2373
2466
  var _b = _a, { side, className, children } = _b, props = __objRest(_b, ["side", "className", "children"]);
2374
- return /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(Sheet, __spreadProps(__spreadValues({}, props), { children: /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(SheetContent, { side, className, children }) }));
2467
+ return /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(Sheet, __spreadProps(__spreadValues({}, props), { children: /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(SheetContent, { side, className, children }) }));
2375
2468
  }
2376
2469
 
2377
2470
  // src/components/ui/sidebar.tsx
2378
- var React21 = __toESM(require("react"));
2471
+ var React22 = __toESM(require("react"));
2379
2472
  var import_react_slot3 = require("@radix-ui/react-slot");
2380
2473
  var import_class_variance_authority8 = require("class-variance-authority");
2381
2474
  var import_lucide_react7 = require("lucide-react");
2382
2475
 
2383
2476
  // src/hooks/use-mobile.tsx
2384
- var React18 = __toESM(require("react"));
2477
+ var React19 = __toESM(require("react"));
2385
2478
  var MOBILE_BREAKPOINT = 768;
2386
2479
  function useIsMobile() {
2387
- const [isMobile, setIsMobile] = React18.useState(void 0);
2388
- React18.useEffect(() => {
2480
+ const [isMobile, setIsMobile] = React19.useState(void 0);
2481
+ React19.useEffect(() => {
2389
2482
  const mql = window.matchMedia(`(max-width: ${MOBILE_BREAKPOINT - 1}px)`);
2390
2483
  const onChange = () => {
2391
2484
  setIsMobile(window.innerWidth < MOBILE_BREAKPOINT);
@@ -2398,13 +2491,13 @@ function useIsMobile() {
2398
2491
  }
2399
2492
 
2400
2493
  // src/components/ui/separator.tsx
2401
- var React19 = __toESM(require("react"));
2494
+ var React20 = __toESM(require("react"));
2402
2495
  var SeparatorPrimitive = __toESM(require("@radix-ui/react-separator"));
2403
- var import_jsx_runtime37 = require("react/jsx-runtime");
2404
- var Separator3 = React19.forwardRef(
2496
+ var import_jsx_runtime39 = require("react/jsx-runtime");
2497
+ var Separator3 = React20.forwardRef(
2405
2498
  (_a, ref) => {
2406
2499
  var _b = _a, { className, orientation = "horizontal", decorative = true } = _b, props = __objRest(_b, ["className", "orientation", "decorative"]);
2407
- return /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(
2500
+ return /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(
2408
2501
  SeparatorPrimitive.Root,
2409
2502
  __spreadValues({
2410
2503
  ref,
@@ -2422,14 +2515,14 @@ var Separator3 = React19.forwardRef(
2422
2515
  Separator3.displayName = SeparatorPrimitive.Root.displayName;
2423
2516
 
2424
2517
  // src/components/ui/skeleton.tsx
2425
- var import_jsx_runtime38 = require("react/jsx-runtime");
2518
+ var import_jsx_runtime40 = require("react/jsx-runtime");
2426
2519
  function Skeleton(_a) {
2427
2520
  var _b = _a, {
2428
2521
  className
2429
2522
  } = _b, props = __objRest(_b, [
2430
2523
  "className"
2431
2524
  ]);
2432
- return /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(
2525
+ return /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(
2433
2526
  "div",
2434
2527
  __spreadValues({
2435
2528
  className: cn("animate-pulse rounded-md bg-primary/10", className)
@@ -2438,15 +2531,15 @@ function Skeleton(_a) {
2438
2531
  }
2439
2532
 
2440
2533
  // src/components/ui/tooltip.tsx
2441
- var React20 = __toESM(require("react"));
2534
+ var React21 = __toESM(require("react"));
2442
2535
  var TooltipPrimitive = __toESM(require("@radix-ui/react-tooltip"));
2443
- var import_jsx_runtime39 = require("react/jsx-runtime");
2536
+ var import_jsx_runtime41 = require("react/jsx-runtime");
2444
2537
  var TooltipProvider = TooltipPrimitive.Provider;
2445
2538
  var Tooltip = TooltipPrimitive.Root;
2446
2539
  var TooltipTrigger = TooltipPrimitive.Trigger;
2447
- var TooltipContent = React20.forwardRef((_a, ref) => {
2540
+ var TooltipContent = React21.forwardRef((_a, ref) => {
2448
2541
  var _b = _a, { className, sideOffset = 4 } = _b, props = __objRest(_b, ["className", "sideOffset"]);
2449
- return /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(TooltipPrimitive.Portal, { children: /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(
2542
+ return /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(TooltipPrimitive.Portal, { children: /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(
2450
2543
  TooltipPrimitive.Content,
2451
2544
  __spreadValues({
2452
2545
  ref,
@@ -2461,22 +2554,22 @@ var TooltipContent = React20.forwardRef((_a, ref) => {
2461
2554
  TooltipContent.displayName = TooltipPrimitive.Content.displayName;
2462
2555
 
2463
2556
  // src/components/ui/sidebar.tsx
2464
- var import_jsx_runtime40 = require("react/jsx-runtime");
2557
+ var import_jsx_runtime42 = require("react/jsx-runtime");
2465
2558
  var SIDEBAR_COOKIE_NAME = "sidebar:state";
2466
2559
  var SIDEBAR_COOKIE_MAX_AGE = 60 * 60 * 24 * 7;
2467
2560
  var SIDEBAR_WIDTH = "16rem";
2468
2561
  var SIDEBAR_WIDTH_MOBILE = "18rem";
2469
2562
  var SIDEBAR_WIDTH_ICON = "3rem";
2470
2563
  var SIDEBAR_KEYBOARD_SHORTCUT = "b";
2471
- var SidebarContext = React21.createContext(null);
2564
+ var SidebarContext = React22.createContext(null);
2472
2565
  function useSidebar() {
2473
- const context = React21.useContext(SidebarContext);
2566
+ const context = React22.useContext(SidebarContext);
2474
2567
  if (!context) {
2475
2568
  throw new Error("useSidebar must be used within a SidebarProvider.");
2476
2569
  }
2477
2570
  return context;
2478
2571
  }
2479
- var SidebarProvider = React21.forwardRef(
2572
+ var SidebarProvider = React22.forwardRef(
2480
2573
  (_a, ref) => {
2481
2574
  var _b = _a, {
2482
2575
  defaultOpen = true,
@@ -2494,10 +2587,10 @@ var SidebarProvider = React21.forwardRef(
2494
2587
  "children"
2495
2588
  ]);
2496
2589
  const isMobile = useIsMobile();
2497
- const [openMobile, setOpenMobile] = React21.useState(false);
2498
- const [_open, _setOpen] = React21.useState(defaultOpen);
2590
+ const [openMobile, setOpenMobile] = React22.useState(false);
2591
+ const [_open, _setOpen] = React22.useState(defaultOpen);
2499
2592
  const open = openProp != null ? openProp : _open;
2500
- const setOpen = React21.useCallback(
2593
+ const setOpen = React22.useCallback(
2501
2594
  (value) => {
2502
2595
  const openState = typeof value === "function" ? value(open) : value;
2503
2596
  if (setOpenProp) {
@@ -2509,10 +2602,10 @@ var SidebarProvider = React21.forwardRef(
2509
2602
  },
2510
2603
  [setOpenProp, open]
2511
2604
  );
2512
- const toggleSidebar = React21.useCallback(() => {
2605
+ const toggleSidebar = React22.useCallback(() => {
2513
2606
  return isMobile ? setOpenMobile((open2) => !open2) : setOpen((open2) => !open2);
2514
2607
  }, [isMobile, setOpen, setOpenMobile]);
2515
- React21.useEffect(() => {
2608
+ React22.useEffect(() => {
2516
2609
  const handleKeyDown = (event) => {
2517
2610
  if (event.key === SIDEBAR_KEYBOARD_SHORTCUT && (event.metaKey || event.ctrlKey)) {
2518
2611
  event.preventDefault();
@@ -2523,7 +2616,7 @@ var SidebarProvider = React21.forwardRef(
2523
2616
  return () => window.removeEventListener("keydown", handleKeyDown);
2524
2617
  }, [toggleSidebar]);
2525
2618
  const state = open ? "expanded" : "collapsed";
2526
- const contextValue = React21.useMemo(
2619
+ const contextValue = React22.useMemo(
2527
2620
  () => ({
2528
2621
  state,
2529
2622
  open,
@@ -2535,7 +2628,7 @@ var SidebarProvider = React21.forwardRef(
2535
2628
  }),
2536
2629
  [state, open, setOpen, isMobile, openMobile, setOpenMobile, toggleSidebar]
2537
2630
  );
2538
- return /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(SidebarContext.Provider, { value: contextValue, children: /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(TooltipProvider, { delayDuration: 0, children: /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(
2631
+ return /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(SidebarContext.Provider, { value: contextValue, children: /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(TooltipProvider, { delayDuration: 0, children: /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(
2539
2632
  "div",
2540
2633
  __spreadProps(__spreadValues({
2541
2634
  style: __spreadValues({
@@ -2554,7 +2647,7 @@ var SidebarProvider = React21.forwardRef(
2554
2647
  }
2555
2648
  );
2556
2649
  SidebarProvider.displayName = "SidebarProvider";
2557
- var Sidebar = React21.forwardRef(
2650
+ var Sidebar = React22.forwardRef(
2558
2651
  (_a, ref) => {
2559
2652
  var _b = _a, {
2560
2653
  side = "left",
@@ -2571,7 +2664,7 @@ var Sidebar = React21.forwardRef(
2571
2664
  ]);
2572
2665
  const { isMobile, state, openMobile, setOpenMobile } = useSidebar();
2573
2666
  if (collapsible === "none") {
2574
- return /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(
2667
+ return /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(
2575
2668
  "div",
2576
2669
  __spreadProps(__spreadValues({
2577
2670
  className: cn(
@@ -2585,7 +2678,7 @@ var Sidebar = React21.forwardRef(
2585
2678
  );
2586
2679
  }
2587
2680
  if (isMobile) {
2588
- return /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(Sheet, __spreadProps(__spreadValues({ open: openMobile, onOpenChange: setOpenMobile }, props), { children: /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(
2681
+ return /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(Sheet, __spreadProps(__spreadValues({ open: openMobile, onOpenChange: setOpenMobile }, props), { children: /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(
2589
2682
  SheetContent,
2590
2683
  {
2591
2684
  "data-sidebar": "sidebar",
@@ -2595,11 +2688,11 @@ var Sidebar = React21.forwardRef(
2595
2688
  "--sidebar-width": SIDEBAR_WIDTH_MOBILE
2596
2689
  },
2597
2690
  side,
2598
- children: /* @__PURE__ */ (0, import_jsx_runtime40.jsx)("div", { className: "flex h-full w-full flex-col", children })
2691
+ children: /* @__PURE__ */ (0, import_jsx_runtime42.jsx)("div", { className: "flex h-full w-full flex-col", children })
2599
2692
  }
2600
2693
  ) }));
2601
2694
  }
2602
- return /* @__PURE__ */ (0, import_jsx_runtime40.jsxs)(
2695
+ return /* @__PURE__ */ (0, import_jsx_runtime42.jsxs)(
2603
2696
  "div",
2604
2697
  {
2605
2698
  ref,
@@ -2609,7 +2702,7 @@ var Sidebar = React21.forwardRef(
2609
2702
  "data-variant": variant,
2610
2703
  "data-side": side,
2611
2704
  children: [
2612
- /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(
2705
+ /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(
2613
2706
  "div",
2614
2707
  {
2615
2708
  className: cn(
@@ -2620,7 +2713,7 @@ var Sidebar = React21.forwardRef(
2620
2713
  )
2621
2714
  }
2622
2715
  ),
2623
- /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(
2716
+ /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(
2624
2717
  "div",
2625
2718
  __spreadProps(__spreadValues({
2626
2719
  className: cn(
@@ -2631,7 +2724,7 @@ var Sidebar = React21.forwardRef(
2631
2724
  className
2632
2725
  )
2633
2726
  }, props), {
2634
- children: /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(
2727
+ children: /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(
2635
2728
  "div",
2636
2729
  {
2637
2730
  "data-sidebar": "sidebar",
@@ -2647,10 +2740,10 @@ var Sidebar = React21.forwardRef(
2647
2740
  }
2648
2741
  );
2649
2742
  Sidebar.displayName = "Sidebar";
2650
- var SidebarTrigger = React21.forwardRef((_a, ref) => {
2743
+ var SidebarTrigger = React22.forwardRef((_a, ref) => {
2651
2744
  var _b = _a, { className, onClick } = _b, props = __objRest(_b, ["className", "onClick"]);
2652
2745
  const { toggleSidebar } = useSidebar();
2653
- return /* @__PURE__ */ (0, import_jsx_runtime40.jsxs)(
2746
+ return /* @__PURE__ */ (0, import_jsx_runtime42.jsxs)(
2654
2747
  Button,
2655
2748
  __spreadProps(__spreadValues({
2656
2749
  ref,
@@ -2664,17 +2757,17 @@ var SidebarTrigger = React21.forwardRef((_a, ref) => {
2664
2757
  }
2665
2758
  }, props), {
2666
2759
  children: [
2667
- /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(import_lucide_react7.PanelLeft, {}),
2668
- /* @__PURE__ */ (0, import_jsx_runtime40.jsx)("span", { className: "sr-only", children: "Toggle Sidebar" })
2760
+ /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(import_lucide_react7.PanelLeft, {}),
2761
+ /* @__PURE__ */ (0, import_jsx_runtime42.jsx)("span", { className: "sr-only", children: "Toggle Sidebar" })
2669
2762
  ]
2670
2763
  })
2671
2764
  );
2672
2765
  });
2673
2766
  SidebarTrigger.displayName = "SidebarTrigger";
2674
- var SidebarRail = React21.forwardRef((_a, ref) => {
2767
+ var SidebarRail = React22.forwardRef((_a, ref) => {
2675
2768
  var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
2676
2769
  const { toggleSidebar } = useSidebar();
2677
- return /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(
2770
+ return /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(
2678
2771
  "button",
2679
2772
  __spreadValues({
2680
2773
  ref,
@@ -2696,9 +2789,9 @@ var SidebarRail = React21.forwardRef((_a, ref) => {
2696
2789
  );
2697
2790
  });
2698
2791
  SidebarRail.displayName = "SidebarRail";
2699
- var SidebarInset = React21.forwardRef((_a, ref) => {
2792
+ var SidebarInset = React22.forwardRef((_a, ref) => {
2700
2793
  var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
2701
- return /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(
2794
+ return /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(
2702
2795
  "main",
2703
2796
  __spreadValues({
2704
2797
  ref,
@@ -2711,9 +2804,9 @@ var SidebarInset = React21.forwardRef((_a, ref) => {
2711
2804
  );
2712
2805
  });
2713
2806
  SidebarInset.displayName = "SidebarInset";
2714
- var SidebarInput = React21.forwardRef((_a, ref) => {
2807
+ var SidebarInput = React22.forwardRef((_a, ref) => {
2715
2808
  var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
2716
- return /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(
2809
+ return /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(
2717
2810
  Input,
2718
2811
  __spreadValues({
2719
2812
  ref,
@@ -2726,9 +2819,9 @@ var SidebarInput = React21.forwardRef((_a, ref) => {
2726
2819
  );
2727
2820
  });
2728
2821
  SidebarInput.displayName = "SidebarInput";
2729
- var SidebarHeader = React21.forwardRef((_a, ref) => {
2822
+ var SidebarHeader = React22.forwardRef((_a, ref) => {
2730
2823
  var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
2731
- return /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(
2824
+ return /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(
2732
2825
  "div",
2733
2826
  __spreadValues({
2734
2827
  ref,
@@ -2738,9 +2831,9 @@ var SidebarHeader = React21.forwardRef((_a, ref) => {
2738
2831
  );
2739
2832
  });
2740
2833
  SidebarHeader.displayName = "SidebarHeader";
2741
- var SidebarFooter = React21.forwardRef((_a, ref) => {
2834
+ var SidebarFooter = React22.forwardRef((_a, ref) => {
2742
2835
  var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
2743
- return /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(
2836
+ return /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(
2744
2837
  "div",
2745
2838
  __spreadValues({
2746
2839
  ref,
@@ -2750,9 +2843,9 @@ var SidebarFooter = React21.forwardRef((_a, ref) => {
2750
2843
  );
2751
2844
  });
2752
2845
  SidebarFooter.displayName = "SidebarFooter";
2753
- var SidebarSeparator = React21.forwardRef((_a, ref) => {
2846
+ var SidebarSeparator = React22.forwardRef((_a, ref) => {
2754
2847
  var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
2755
- return /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(
2848
+ return /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(
2756
2849
  Separator3,
2757
2850
  __spreadValues({
2758
2851
  ref,
@@ -2762,9 +2855,9 @@ var SidebarSeparator = React21.forwardRef((_a, ref) => {
2762
2855
  );
2763
2856
  });
2764
2857
  SidebarSeparator.displayName = "SidebarSeparator";
2765
- var SidebarContent = React21.forwardRef((_a, ref) => {
2858
+ var SidebarContent = React22.forwardRef((_a, ref) => {
2766
2859
  var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
2767
- return /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(
2860
+ return /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(
2768
2861
  "div",
2769
2862
  __spreadValues({
2770
2863
  ref,
@@ -2777,9 +2870,9 @@ var SidebarContent = React21.forwardRef((_a, ref) => {
2777
2870
  );
2778
2871
  });
2779
2872
  SidebarContent.displayName = "SidebarContent";
2780
- var SidebarGroup = React21.forwardRef((_a, ref) => {
2873
+ var SidebarGroup = React22.forwardRef((_a, ref) => {
2781
2874
  var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
2782
- return /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(
2875
+ return /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(
2783
2876
  "div",
2784
2877
  __spreadValues({
2785
2878
  ref,
@@ -2789,10 +2882,10 @@ var SidebarGroup = React21.forwardRef((_a, ref) => {
2789
2882
  );
2790
2883
  });
2791
2884
  SidebarGroup.displayName = "SidebarGroup";
2792
- var SidebarGroupLabel = React21.forwardRef((_a, ref) => {
2885
+ var SidebarGroupLabel = React22.forwardRef((_a, ref) => {
2793
2886
  var _b = _a, { className, asChild = false } = _b, props = __objRest(_b, ["className", "asChild"]);
2794
2887
  const Comp = asChild ? import_react_slot3.Slot : "div";
2795
- return /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(
2888
+ return /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(
2796
2889
  Comp,
2797
2890
  __spreadValues({
2798
2891
  ref,
@@ -2806,10 +2899,10 @@ var SidebarGroupLabel = React21.forwardRef((_a, ref) => {
2806
2899
  );
2807
2900
  });
2808
2901
  SidebarGroupLabel.displayName = "SidebarGroupLabel";
2809
- var SidebarGroupAction = React21.forwardRef((_a, ref) => {
2902
+ var SidebarGroupAction = React22.forwardRef((_a, ref) => {
2810
2903
  var _b = _a, { className, asChild = false } = _b, props = __objRest(_b, ["className", "asChild"]);
2811
2904
  const Comp = asChild ? import_react_slot3.Slot : "button";
2812
- return /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(
2905
+ return /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(
2813
2906
  Comp,
2814
2907
  __spreadValues({
2815
2908
  ref,
@@ -2825,9 +2918,9 @@ var SidebarGroupAction = React21.forwardRef((_a, ref) => {
2825
2918
  );
2826
2919
  });
2827
2920
  SidebarGroupAction.displayName = "SidebarGroupAction";
2828
- var SidebarGroupContent = React21.forwardRef((_a, ref) => {
2921
+ var SidebarGroupContent = React22.forwardRef((_a, ref) => {
2829
2922
  var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
2830
- return /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(
2923
+ return /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(
2831
2924
  "div",
2832
2925
  __spreadValues({
2833
2926
  ref,
@@ -2837,9 +2930,9 @@ var SidebarGroupContent = React21.forwardRef((_a, ref) => {
2837
2930
  );
2838
2931
  });
2839
2932
  SidebarGroupContent.displayName = "SidebarGroupContent";
2840
- var SidebarMenu = React21.forwardRef((_a, ref) => {
2933
+ var SidebarMenu = React22.forwardRef((_a, ref) => {
2841
2934
  var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
2842
- return /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(
2935
+ return /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(
2843
2936
  "ul",
2844
2937
  __spreadValues({
2845
2938
  ref,
@@ -2849,9 +2942,9 @@ var SidebarMenu = React21.forwardRef((_a, ref) => {
2849
2942
  );
2850
2943
  });
2851
2944
  SidebarMenu.displayName = "SidebarMenu";
2852
- var SidebarMenuItem = React21.forwardRef((_a, ref) => {
2945
+ var SidebarMenuItem = React22.forwardRef((_a, ref) => {
2853
2946
  var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
2854
- return /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(
2947
+ return /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(
2855
2948
  "li",
2856
2949
  __spreadValues({
2857
2950
  ref,
@@ -2881,7 +2974,7 @@ var sidebarMenuButtonVariants = (0, import_class_variance_authority8.cva)(
2881
2974
  }
2882
2975
  }
2883
2976
  );
2884
- var SidebarMenuButton = React21.forwardRef(
2977
+ var SidebarMenuButton = React22.forwardRef(
2885
2978
  (_a, ref) => {
2886
2979
  var _b = _a, {
2887
2980
  asChild = false,
@@ -2900,7 +2993,7 @@ var SidebarMenuButton = React21.forwardRef(
2900
2993
  ]);
2901
2994
  const Comp = asChild ? import_react_slot3.Slot : "button";
2902
2995
  const { isMobile, state } = useSidebar();
2903
- const button = /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(
2996
+ const button = /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(
2904
2997
  Comp,
2905
2998
  __spreadValues({
2906
2999
  ref,
@@ -2918,9 +3011,9 @@ var SidebarMenuButton = React21.forwardRef(
2918
3011
  children: tooltip
2919
3012
  };
2920
3013
  }
2921
- return /* @__PURE__ */ (0, import_jsx_runtime40.jsxs)(Tooltip, { children: [
2922
- /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(TooltipTrigger, { asChild: true, children: button }),
2923
- /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(
3014
+ return /* @__PURE__ */ (0, import_jsx_runtime42.jsxs)(Tooltip, { children: [
3015
+ /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(TooltipTrigger, { asChild: true, children: button }),
3016
+ /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(
2924
3017
  TooltipContent,
2925
3018
  __spreadValues({
2926
3019
  side: "right",
@@ -2932,10 +3025,10 @@ var SidebarMenuButton = React21.forwardRef(
2932
3025
  }
2933
3026
  );
2934
3027
  SidebarMenuButton.displayName = "SidebarMenuButton";
2935
- var SidebarMenuAction = React21.forwardRef((_a, ref) => {
3028
+ var SidebarMenuAction = React22.forwardRef((_a, ref) => {
2936
3029
  var _b = _a, { className, asChild = false, showOnHover = false } = _b, props = __objRest(_b, ["className", "asChild", "showOnHover"]);
2937
3030
  const Comp = asChild ? import_react_slot3.Slot : "button";
2938
- return /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(
3031
+ return /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(
2939
3032
  Comp,
2940
3033
  __spreadValues({
2941
3034
  ref,
@@ -2955,9 +3048,9 @@ var SidebarMenuAction = React21.forwardRef((_a, ref) => {
2955
3048
  );
2956
3049
  });
2957
3050
  SidebarMenuAction.displayName = "SidebarMenuAction";
2958
- var SidebarMenuBadge = React21.forwardRef((_a, ref) => {
3051
+ var SidebarMenuBadge = React22.forwardRef((_a, ref) => {
2959
3052
  var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
2960
- return /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(
3053
+ return /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(
2961
3054
  "div",
2962
3055
  __spreadValues({
2963
3056
  ref,
@@ -2975,12 +3068,12 @@ var SidebarMenuBadge = React21.forwardRef((_a, ref) => {
2975
3068
  );
2976
3069
  });
2977
3070
  SidebarMenuBadge.displayName = "SidebarMenuBadge";
2978
- var SidebarMenuSkeleton = React21.forwardRef((_a, ref) => {
3071
+ var SidebarMenuSkeleton = React22.forwardRef((_a, ref) => {
2979
3072
  var _b = _a, { className, showIcon = false } = _b, props = __objRest(_b, ["className", "showIcon"]);
2980
- const width = React21.useMemo(() => {
3073
+ const width = React22.useMemo(() => {
2981
3074
  return `${Math.floor(Math.random() * 40) + 50}%`;
2982
3075
  }, []);
2983
- return /* @__PURE__ */ (0, import_jsx_runtime40.jsxs)(
3076
+ return /* @__PURE__ */ (0, import_jsx_runtime42.jsxs)(
2984
3077
  "div",
2985
3078
  __spreadProps(__spreadValues({
2986
3079
  ref,
@@ -2988,14 +3081,14 @@ var SidebarMenuSkeleton = React21.forwardRef((_a, ref) => {
2988
3081
  className: cn("rounded-md h-8 flex gap-2 px-2 items-center", className)
2989
3082
  }, props), {
2990
3083
  children: [
2991
- showIcon && /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(
3084
+ showIcon && /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(
2992
3085
  Skeleton,
2993
3086
  {
2994
3087
  className: "size-4 rounded-md",
2995
3088
  "data-sidebar": "menu-skeleton-icon"
2996
3089
  }
2997
3090
  ),
2998
- /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(
3091
+ /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(
2999
3092
  Skeleton,
3000
3093
  {
3001
3094
  className: "h-4 flex-1 max-w-[--skeleton-width]",
@@ -3010,9 +3103,9 @@ var SidebarMenuSkeleton = React21.forwardRef((_a, ref) => {
3010
3103
  );
3011
3104
  });
3012
3105
  SidebarMenuSkeleton.displayName = "SidebarMenuSkeleton";
3013
- var SidebarMenuSub = React21.forwardRef((_a, ref) => {
3106
+ var SidebarMenuSub = React22.forwardRef((_a, ref) => {
3014
3107
  var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
3015
- return /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(
3108
+ return /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(
3016
3109
  "ul",
3017
3110
  __spreadValues({
3018
3111
  ref,
@@ -3026,15 +3119,15 @@ var SidebarMenuSub = React21.forwardRef((_a, ref) => {
3026
3119
  );
3027
3120
  });
3028
3121
  SidebarMenuSub.displayName = "SidebarMenuSub";
3029
- var SidebarMenuSubItem = React21.forwardRef((_a, ref) => {
3122
+ var SidebarMenuSubItem = React22.forwardRef((_a, ref) => {
3030
3123
  var props = __objRest(_a, []);
3031
- return /* @__PURE__ */ (0, import_jsx_runtime40.jsx)("li", __spreadValues({ ref }, props));
3124
+ return /* @__PURE__ */ (0, import_jsx_runtime42.jsx)("li", __spreadValues({ ref }, props));
3032
3125
  });
3033
3126
  SidebarMenuSubItem.displayName = "SidebarMenuSubItem";
3034
- var SidebarMenuSubButton = React21.forwardRef((_a, ref) => {
3127
+ var SidebarMenuSubButton = React22.forwardRef((_a, ref) => {
3035
3128
  var _b = _a, { asChild = false, size = "md", isActive, className } = _b, props = __objRest(_b, ["asChild", "size", "isActive", "className"]);
3036
3129
  const Comp = asChild ? import_react_slot3.Slot : "a";
3037
- return /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(
3130
+ return /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(
3038
3131
  Comp,
3039
3132
  __spreadValues({
3040
3133
  ref,
@@ -3059,47 +3152,47 @@ var import_lucide_react9 = require("lucide-react");
3059
3152
 
3060
3153
  // src/components/layout/Sidebar/components/team-switcher.tsx
3061
3154
  var import_lucide_react8 = require("lucide-react");
3062
- var import_jsx_runtime41 = require("react/jsx-runtime");
3155
+ var import_jsx_runtime43 = require("react/jsx-runtime");
3063
3156
  function TeamSwitcher({
3064
3157
  teams
3065
3158
  }) {
3066
3159
  const { isMobile } = useSidebar();
3067
- return /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(SidebarMenu, { children: /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(SidebarMenuItem, { children: /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(DropdownMenu, { children: /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(DropdownMenuTrigger, { asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime41.jsxs)(
3160
+ return /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(SidebarMenu, { children: /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(SidebarMenuItem, { children: /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(DropdownMenu, { children: /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(DropdownMenuTrigger, { asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime43.jsxs)(
3068
3161
  SidebarMenuButton,
3069
3162
  {
3070
3163
  size: "lg",
3071
3164
  className: "data-[state=open]:bg-sidebar-accent data-[state=open]:text-sidebar-accent-foreground",
3072
3165
  children: [
3073
- /* @__PURE__ */ (0, import_jsx_runtime41.jsx)("div", { className: "flex aspect-square size-8 items-center justify-center rounded-lg bg-sidebar-primary text-sidebar-primary-foreground" }),
3074
- /* @__PURE__ */ (0, import_jsx_runtime41.jsxs)("div", { className: "grid flex-1 text-left text-sm leading-tight", children: [
3075
- /* @__PURE__ */ (0, import_jsx_runtime41.jsx)("span", { className: "truncate font-semibold", children: teams == null ? void 0 : teams.name }),
3076
- /* @__PURE__ */ (0, import_jsx_runtime41.jsx)("span", { className: "truncate text-xs", children: teams == null ? void 0 : teams.plan })
3166
+ /* @__PURE__ */ (0, import_jsx_runtime43.jsx)("div", { className: "flex aspect-square size-8 items-center justify-center rounded-lg bg-sidebar-primary text-sidebar-primary-foreground" }),
3167
+ /* @__PURE__ */ (0, import_jsx_runtime43.jsxs)("div", { className: "grid flex-1 text-left text-sm leading-tight", children: [
3168
+ /* @__PURE__ */ (0, import_jsx_runtime43.jsx)("span", { className: "truncate font-semibold", children: teams == null ? void 0 : teams.name }),
3169
+ /* @__PURE__ */ (0, import_jsx_runtime43.jsx)("span", { className: "truncate text-xs", children: teams == null ? void 0 : teams.plan })
3077
3170
  ] }),
3078
- /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(import_lucide_react8.ChevronsUpDown, { className: "ml-auto" })
3171
+ /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(import_lucide_react8.ChevronsUpDown, { className: "ml-auto" })
3079
3172
  ]
3080
3173
  }
3081
3174
  ) }) }) }) });
3082
3175
  }
3083
3176
 
3084
3177
  // src/components/layout/Sidebar/components/menus.tsx
3085
- var import_jsx_runtime42 = require("react/jsx-runtime");
3178
+ var import_jsx_runtime44 = require("react/jsx-runtime");
3086
3179
  function Menus({
3087
3180
  items
3088
3181
  }) {
3089
- return /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(import_jsx_runtime42.Fragment, { children: items.map((item, index) => {
3182
+ return /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(import_jsx_runtime44.Fragment, { children: items.map((item, index) => {
3090
3183
  var _a;
3091
- return /* @__PURE__ */ (0, import_jsx_runtime42.jsxs)(SidebarGroup, { children: [
3092
- /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(SidebarGroupLabel, { children: item.title }),
3093
- /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(SidebarMenu, { children: (_a = item.items) == null ? void 0 : _a.map((subItem) => /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(SidebarMenuItem, { children: /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(
3184
+ return /* @__PURE__ */ (0, import_jsx_runtime44.jsxs)(SidebarGroup, { children: [
3185
+ /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(SidebarGroupLabel, { children: item.title }),
3186
+ /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(SidebarMenu, { children: (_a = item.items) == null ? void 0 : _a.map((subItem) => /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(SidebarMenuItem, { children: /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(
3094
3187
  SidebarMenuButton,
3095
3188
  {
3096
3189
  asChild: true,
3097
3190
  className: cn(
3098
3191
  (subItem == null ? void 0 : subItem.isActive) && "bg-sidebar-accent font-semibold"
3099
3192
  ),
3100
- children: /* @__PURE__ */ (0, import_jsx_runtime42.jsxs)("a", { href: subItem.url, children: [
3193
+ children: /* @__PURE__ */ (0, import_jsx_runtime44.jsxs)("a", { href: subItem.url, children: [
3101
3194
  (subItem == null ? void 0 : subItem.icon) && subItem.icon(),
3102
- /* @__PURE__ */ (0, import_jsx_runtime42.jsx)("span", { children: subItem.title })
3195
+ /* @__PURE__ */ (0, import_jsx_runtime44.jsx)("span", { children: subItem.title })
3103
3196
  ] })
3104
3197
  }
3105
3198
  ) }, subItem.title)) })
@@ -3108,13 +3201,13 @@ function Menus({
3108
3201
  }
3109
3202
 
3110
3203
  // src/components/layout/Sidebar/components/app-sidebar.tsx
3111
- var import_jsx_runtime43 = require("react/jsx-runtime");
3204
+ var import_jsx_runtime45 = require("react/jsx-runtime");
3112
3205
  function AppSidebar(_a) {
3113
3206
  var _b = _a, {
3114
3207
  navbar = [],
3115
3208
  enterprise = {
3116
3209
  name: "Acme Inc",
3117
- logo: () => /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(import_lucide_react9.GalleryVerticalEnd, {}),
3210
+ logo: () => /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(import_lucide_react9.GalleryVerticalEnd, {}),
3118
3211
  plan: "Enterprise"
3119
3212
  },
3120
3213
  footer
@@ -3123,27 +3216,27 @@ function AppSidebar(_a) {
3123
3216
  "enterprise",
3124
3217
  "footer"
3125
3218
  ]);
3126
- return /* @__PURE__ */ (0, import_jsx_runtime43.jsxs)(Sidebar, __spreadProps(__spreadValues({ collapsible: "icon" }, props), { children: [
3127
- /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(SidebarHeader, { children: /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(TeamSwitcher, { teams: enterprise }) }),
3128
- /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(SidebarContent, { children: /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(Menus, { items: navbar }) }),
3129
- footer && /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(SidebarFooter, { children: footer() }),
3130
- /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(SidebarRail, {})
3219
+ return /* @__PURE__ */ (0, import_jsx_runtime45.jsxs)(Sidebar, __spreadProps(__spreadValues({ collapsible: "icon" }, props), { children: [
3220
+ /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(SidebarHeader, { children: /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(TeamSwitcher, { teams: enterprise }) }),
3221
+ /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(SidebarContent, { children: /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(Menus, { items: navbar }) }),
3222
+ footer && /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(SidebarFooter, { children: footer() }),
3223
+ /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(SidebarRail, {})
3131
3224
  ] }));
3132
3225
  }
3133
3226
 
3134
3227
  // src/components/ui/breadcrumb.tsx
3135
- var React22 = __toESM(require("react"));
3228
+ var React23 = __toESM(require("react"));
3136
3229
  var import_react_slot4 = require("@radix-ui/react-slot");
3137
3230
  var import_lucide_react10 = require("lucide-react");
3138
- var import_jsx_runtime44 = require("react/jsx-runtime");
3139
- var Breadcrumb = React22.forwardRef((_a, ref) => {
3231
+ var import_jsx_runtime46 = require("react/jsx-runtime");
3232
+ var Breadcrumb = React23.forwardRef((_a, ref) => {
3140
3233
  var props = __objRest(_a, []);
3141
- return /* @__PURE__ */ (0, import_jsx_runtime44.jsx)("nav", __spreadValues({ ref, "aria-label": "breadcrumb" }, props));
3234
+ return /* @__PURE__ */ (0, import_jsx_runtime46.jsx)("nav", __spreadValues({ ref, "aria-label": "breadcrumb" }, props));
3142
3235
  });
3143
3236
  Breadcrumb.displayName = "Breadcrumb";
3144
- var BreadcrumbList = React22.forwardRef((_a, ref) => {
3237
+ var BreadcrumbList = React23.forwardRef((_a, ref) => {
3145
3238
  var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
3146
- return /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(
3239
+ return /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(
3147
3240
  "ol",
3148
3241
  __spreadValues({
3149
3242
  ref,
@@ -3155,9 +3248,9 @@ var BreadcrumbList = React22.forwardRef((_a, ref) => {
3155
3248
  );
3156
3249
  });
3157
3250
  BreadcrumbList.displayName = "BreadcrumbList";
3158
- var BreadcrumbItem = React22.forwardRef((_a, ref) => {
3251
+ var BreadcrumbItem = React23.forwardRef((_a, ref) => {
3159
3252
  var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
3160
- return /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(
3253
+ return /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(
3161
3254
  "li",
3162
3255
  __spreadValues({
3163
3256
  ref,
@@ -3166,10 +3259,10 @@ var BreadcrumbItem = React22.forwardRef((_a, ref) => {
3166
3259
  );
3167
3260
  });
3168
3261
  BreadcrumbItem.displayName = "BreadcrumbItem";
3169
- var BreadcrumbLink = React22.forwardRef((_a, ref) => {
3262
+ var BreadcrumbLink = React23.forwardRef((_a, ref) => {
3170
3263
  var _b = _a, { asChild, className } = _b, props = __objRest(_b, ["asChild", "className"]);
3171
3264
  const Comp = asChild ? import_react_slot4.Slot : "a";
3172
- return /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(
3265
+ return /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(
3173
3266
  Comp,
3174
3267
  __spreadValues({
3175
3268
  ref,
@@ -3178,9 +3271,9 @@ var BreadcrumbLink = React22.forwardRef((_a, ref) => {
3178
3271
  );
3179
3272
  });
3180
3273
  BreadcrumbLink.displayName = "BreadcrumbLink";
3181
- var BreadcrumbPage = React22.forwardRef((_a, ref) => {
3274
+ var BreadcrumbPage = React23.forwardRef((_a, ref) => {
3182
3275
  var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
3183
- return /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(
3276
+ return /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(
3184
3277
  "span",
3185
3278
  __spreadValues({
3186
3279
  ref,
@@ -3200,14 +3293,14 @@ var BreadcrumbSeparator = (_a) => {
3200
3293
  "children",
3201
3294
  "className"
3202
3295
  ]);
3203
- return /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(
3296
+ return /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(
3204
3297
  "li",
3205
3298
  __spreadProps(__spreadValues({
3206
3299
  role: "presentation",
3207
3300
  "aria-hidden": "true",
3208
3301
  className: cn("[&>svg]:w-3.5 [&>svg]:h-3.5", className)
3209
3302
  }, props), {
3210
- children: children != null ? children : /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(import_lucide_react10.ChevronRight, {})
3303
+ children: children != null ? children : /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(import_lucide_react10.ChevronRight, {})
3211
3304
  })
3212
3305
  );
3213
3306
  };
@@ -3218,7 +3311,7 @@ var BreadcrumbEllipsis = (_a) => {
3218
3311
  } = _b, props = __objRest(_b, [
3219
3312
  "className"
3220
3313
  ]);
3221
- return /* @__PURE__ */ (0, import_jsx_runtime44.jsxs)(
3314
+ return /* @__PURE__ */ (0, import_jsx_runtime46.jsxs)(
3222
3315
  "span",
3223
3316
  __spreadProps(__spreadValues({
3224
3317
  role: "presentation",
@@ -3226,8 +3319,8 @@ var BreadcrumbEllipsis = (_a) => {
3226
3319
  className: cn("flex h-9 w-9 items-center justify-center", className)
3227
3320
  }, props), {
3228
3321
  children: [
3229
- /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(import_lucide_react10.MoreHorizontal, { className: "h-4 w-4" }),
3230
- /* @__PURE__ */ (0, import_jsx_runtime44.jsx)("span", { className: "sr-only", children: "More" })
3322
+ /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(import_lucide_react10.MoreHorizontal, { className: "h-4 w-4" }),
3323
+ /* @__PURE__ */ (0, import_jsx_runtime46.jsx)("span", { className: "sr-only", children: "More" })
3231
3324
  ]
3232
3325
  })
3233
3326
  );
@@ -3236,7 +3329,7 @@ BreadcrumbEllipsis.displayName = "BreadcrumbElipssis";
3236
3329
 
3237
3330
  // src/components/layout/Sidebar/provider/index.tsx
3238
3331
  var import_react10 = require("react");
3239
- var import_jsx_runtime45 = require("react/jsx-runtime");
3332
+ var import_jsx_runtime47 = require("react/jsx-runtime");
3240
3333
  var SidebarContext2 = (0, import_react10.createContext)({});
3241
3334
  function SidebarProvider2({
3242
3335
  children,
@@ -3246,7 +3339,7 @@ function SidebarProvider2({
3246
3339
  const [isCollapsed, setIsCollapsed] = (0, import_react10.useState)(defaultCollapsed);
3247
3340
  const [currentPath, setCurrentPath] = (0, import_react10.useState)(defaultPath);
3248
3341
  const toggleCollapse = () => setIsCollapsed((prev) => !prev);
3249
- return /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(
3342
+ return /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(
3250
3343
  SidebarContext2.Provider,
3251
3344
  {
3252
3345
  value: {
@@ -3268,7 +3361,7 @@ function useSidebar2() {
3268
3361
  }
3269
3362
 
3270
3363
  // src/components/layout/Sidebar/components/header-sidebar.tsx
3271
- var import_jsx_runtime46 = require("react/jsx-runtime");
3364
+ var import_jsx_runtime48 = require("react/jsx-runtime");
3272
3365
  var routeMap = {
3273
3366
  dashboard: "Dashboard",
3274
3367
  users: "Usu\xE1rios",
@@ -3282,11 +3375,11 @@ var routeMap = {
3282
3375
  };
3283
3376
  var BreadcrumbElement = ({ isLast, path, label }) => {
3284
3377
  if (isLast) {
3285
- return /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(BreadcrumbItem, { children: /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(BreadcrumbPage, { className: "capitalize", children: label }) });
3378
+ return /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(BreadcrumbItem, { children: /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(BreadcrumbPage, { className: "capitalize", children: label }) });
3286
3379
  }
3287
- return /* @__PURE__ */ (0, import_jsx_runtime46.jsxs)(BreadcrumbItem, { children: [
3288
- /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(BreadcrumbLink, { href: path, className: "capitalize", children: label }),
3289
- /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(BreadcrumbSeparator, {})
3380
+ return /* @__PURE__ */ (0, import_jsx_runtime48.jsxs)(BreadcrumbItem, { children: [
3381
+ /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(BreadcrumbLink, { href: path, className: "capitalize", children: label }),
3382
+ /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(BreadcrumbSeparator, {})
3290
3383
  ] });
3291
3384
  };
3292
3385
  var HeaderSidebar = () => {
@@ -3301,37 +3394,37 @@ var HeaderSidebar = () => {
3301
3394
  isLast
3302
3395
  };
3303
3396
  });
3304
- return /* @__PURE__ */ (0, import_jsx_runtime46.jsx)("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__ */ (0, import_jsx_runtime46.jsxs)("div", { className: "flex items-center gap-4", children: [
3305
- /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(SidebarTrigger, { className: "-ml-2 h-9 w-9" }),
3306
- /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(Separator3, { orientation: "vertical", className: "h-6" }),
3307
- /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(Breadcrumb, { children: /* @__PURE__ */ (0, import_jsx_runtime46.jsxs)(BreadcrumbList, { children: [
3308
- /* @__PURE__ */ (0, import_jsx_runtime46.jsxs)(BreadcrumbItem, { children: [
3309
- /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(BreadcrumbLink, { href: "/", className: "capitalize", children: "Home" }),
3310
- /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(BreadcrumbSeparator, {})
3397
+ return /* @__PURE__ */ (0, import_jsx_runtime48.jsx)("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__ */ (0, import_jsx_runtime48.jsxs)("div", { className: "flex items-center gap-4", children: [
3398
+ /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(SidebarTrigger, { className: "-ml-2 h-9 w-9" }),
3399
+ /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(Separator3, { orientation: "vertical", className: "h-6" }),
3400
+ /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(Breadcrumb, { children: /* @__PURE__ */ (0, import_jsx_runtime48.jsxs)(BreadcrumbList, { children: [
3401
+ /* @__PURE__ */ (0, import_jsx_runtime48.jsxs)(BreadcrumbItem, { children: [
3402
+ /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(BreadcrumbLink, { href: "/", className: "capitalize", children: "Home" }),
3403
+ /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(BreadcrumbSeparator, {})
3311
3404
  ] }),
3312
- breadcrumbItems.map((item) => /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(BreadcrumbElement, __spreadValues({}, item), item.path))
3405
+ breadcrumbItems.map((item) => /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(BreadcrumbElement, __spreadValues({}, item), item.path))
3313
3406
  ] }) })
3314
3407
  ] }) });
3315
3408
  };
3316
3409
 
3317
3410
  // src/components/layout/Sidebar/components/footer-sidebar.tsx
3318
- var import_jsx_runtime47 = require("react/jsx-runtime");
3411
+ var import_jsx_runtime49 = require("react/jsx-runtime");
3319
3412
  var FooterSidebar = () => {
3320
- return /* @__PURE__ */ (0, import_jsx_runtime47.jsxs)("footer", { className: "h-[65px]", children: [
3321
- /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(Separator3, {}),
3322
- /* @__PURE__ */ (0, import_jsx_runtime47.jsxs)("div", { className: "flex items-center justify-between h-16 bg-background px-5", children: [
3323
- /* @__PURE__ */ (0, import_jsx_runtime47.jsxs)("span", { className: "text-sm text-muted-foreground", children: [
3413
+ return /* @__PURE__ */ (0, import_jsx_runtime49.jsxs)("footer", { className: "h-[65px]", children: [
3414
+ /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(Separator3, {}),
3415
+ /* @__PURE__ */ (0, import_jsx_runtime49.jsxs)("div", { className: "flex items-center justify-between h-16 bg-background px-5", children: [
3416
+ /* @__PURE__ */ (0, import_jsx_runtime49.jsxs)("span", { className: "text-sm text-muted-foreground", children: [
3324
3417
  "\xA9 ",
3325
3418
  (/* @__PURE__ */ new Date()).getFullYear(),
3326
3419
  " Your Company"
3327
3420
  ] }),
3328
- /* @__PURE__ */ (0, import_jsx_runtime47.jsx)("span", { className: "text-sm text-muted-foreground", children: "Feito na terra do sol \u{1F31E}" })
3421
+ /* @__PURE__ */ (0, import_jsx_runtime49.jsx)("span", { className: "text-sm text-muted-foreground", children: "Feito na terra do sol \u{1F31E}" })
3329
3422
  ] })
3330
3423
  ] });
3331
3424
  };
3332
3425
 
3333
3426
  // src/components/layout/Sidebar/Sidebar.tsx
3334
- var import_jsx_runtime48 = require("react/jsx-runtime");
3427
+ var import_jsx_runtime50 = require("react/jsx-runtime");
3335
3428
  var Sidebar2 = (_a) => {
3336
3429
  var _b = _a, {
3337
3430
  children,
@@ -3346,16 +3439,16 @@ var Sidebar2 = (_a) => {
3346
3439
  "defaultPath",
3347
3440
  "defaultCollapsed"
3348
3441
  ]);
3349
- return /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(
3442
+ return /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(
3350
3443
  SidebarProvider2,
3351
3444
  {
3352
3445
  defaultPath,
3353
3446
  defaultCollapsed,
3354
- children: /* @__PURE__ */ (0, import_jsx_runtime48.jsxs)(SidebarProvider, { children: [
3355
- /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(AppSidebar, __spreadValues({}, rest)),
3356
- /* @__PURE__ */ (0, import_jsx_runtime48.jsxs)(SidebarInset, { className: "overflow-auto bg-slate-50", children: [
3357
- /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(HeaderSidebar, {}),
3358
- /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(
3447
+ children: /* @__PURE__ */ (0, import_jsx_runtime50.jsxs)(SidebarProvider, { children: [
3448
+ /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(AppSidebar, __spreadValues({}, rest)),
3449
+ /* @__PURE__ */ (0, import_jsx_runtime50.jsxs)(SidebarInset, { className: "overflow-auto bg-slate-50", children: [
3450
+ /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(HeaderSidebar, {}),
3451
+ /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(
3359
3452
  "main",
3360
3453
  {
3361
3454
  className: cn(
@@ -3365,7 +3458,7 @@ var Sidebar2 = (_a) => {
3365
3458
  children
3366
3459
  }
3367
3460
  ),
3368
- showFooter && /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(FooterSidebar, {})
3461
+ showFooter && /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(FooterSidebar, {})
3369
3462
  ] })
3370
3463
  ] })
3371
3464
  }
@@ -3375,7 +3468,7 @@ var Sidebar2 = (_a) => {
3375
3468
  // src/components/layout/Sidebar/components/nav-user.tsx
3376
3469
  var import_lucide_react11 = require("lucide-react");
3377
3470
  var import_react11 = require("react");
3378
- var import_jsx_runtime49 = require("react/jsx-runtime");
3471
+ var import_jsx_runtime51 = require("react/jsx-runtime");
3379
3472
  function NavUser({
3380
3473
  user,
3381
3474
  logoutAction = () => {
@@ -3383,30 +3476,30 @@ function NavUser({
3383
3476
  }) {
3384
3477
  const { isMobile } = useSidebar();
3385
3478
  const renderUserInformation = (0, import_react11.useCallback)(() => {
3386
- return /* @__PURE__ */ (0, import_jsx_runtime49.jsxs)(import_jsx_runtime49.Fragment, { children: [
3387
- /* @__PURE__ */ (0, import_jsx_runtime49.jsxs)(Avatar, { className: "h-8 w-8 rounded-lg", children: [
3388
- /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(AvatarImage, { src: user == null ? void 0 : user.avatar, alt: user == null ? void 0 : user.name }),
3389
- /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(AvatarFallback, { className: "rounded-lg", children: "CN" })
3479
+ return /* @__PURE__ */ (0, import_jsx_runtime51.jsxs)(import_jsx_runtime51.Fragment, { children: [
3480
+ /* @__PURE__ */ (0, import_jsx_runtime51.jsxs)(Avatar, { className: "h-8 w-8 rounded-lg", children: [
3481
+ /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(AvatarImage, { src: user == null ? void 0 : user.avatar, alt: user == null ? void 0 : user.name }),
3482
+ /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(AvatarFallback, { className: "rounded-lg", children: "CN" })
3390
3483
  ] }),
3391
- /* @__PURE__ */ (0, import_jsx_runtime49.jsxs)("div", { className: "grid flex-1 text-left text-sm leading-tight", children: [
3392
- /* @__PURE__ */ (0, import_jsx_runtime49.jsx)("span", { className: "truncate font-semibold", children: user == null ? void 0 : user.name }),
3393
- /* @__PURE__ */ (0, import_jsx_runtime49.jsx)("span", { className: "truncate text-xs", children: user == null ? void 0 : user.email })
3484
+ /* @__PURE__ */ (0, import_jsx_runtime51.jsxs)("div", { className: "grid flex-1 text-left text-sm leading-tight", children: [
3485
+ /* @__PURE__ */ (0, import_jsx_runtime51.jsx)("span", { className: "truncate font-semibold", children: user == null ? void 0 : user.name }),
3486
+ /* @__PURE__ */ (0, import_jsx_runtime51.jsx)("span", { className: "truncate text-xs", children: user == null ? void 0 : user.email })
3394
3487
  ] })
3395
3488
  ] });
3396
3489
  }, [user]);
3397
- return /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(SidebarMenu, { children: /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(SidebarMenuItem, { children: /* @__PURE__ */ (0, import_jsx_runtime49.jsxs)(DropdownMenu, { children: [
3398
- /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(DropdownMenuTrigger, { asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime49.jsxs)(
3490
+ return /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(SidebarMenu, { children: /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(SidebarMenuItem, { children: /* @__PURE__ */ (0, import_jsx_runtime51.jsxs)(DropdownMenu, { children: [
3491
+ /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(DropdownMenuTrigger, { asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime51.jsxs)(
3399
3492
  SidebarMenuButton,
3400
3493
  {
3401
3494
  size: "lg",
3402
3495
  className: "data-[state=open]:bg-sidebar-accent data-[state=open]:text-sidebar-accent-foreground",
3403
3496
  children: [
3404
3497
  renderUserInformation(),
3405
- /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(import_lucide_react11.ChevronsUpDown, { className: "ml-auto size-4" })
3498
+ /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(import_lucide_react11.ChevronsUpDown, { className: "ml-auto size-4" })
3406
3499
  ]
3407
3500
  }
3408
3501
  ) }),
3409
- /* @__PURE__ */ (0, import_jsx_runtime49.jsxs)(
3502
+ /* @__PURE__ */ (0, import_jsx_runtime51.jsxs)(
3410
3503
  DropdownMenuContent,
3411
3504
  {
3412
3505
  className: "w-[--radix-dropdown-menu-trigger-width] min-w-56 rounded-lg",
@@ -3414,30 +3507,30 @@ function NavUser({
3414
3507
  align: "end",
3415
3508
  sideOffset: 4,
3416
3509
  children: [
3417
- /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(DropdownMenuLabel, { className: "p-0 font-normal", children: /* @__PURE__ */ (0, import_jsx_runtime49.jsx)("div", { className: "flex items-center gap-2 px-1 py-1.5 text-left text-sm", children: renderUserInformation() }) }),
3418
- /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(DropdownMenuSeparator, {}),
3419
- /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(DropdownMenuGroup, { children: /* @__PURE__ */ (0, import_jsx_runtime49.jsxs)(DropdownMenuItem, { children: [
3420
- /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(import_lucide_react11.Sparkles, {}),
3510
+ /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(DropdownMenuLabel, { className: "p-0 font-normal", children: /* @__PURE__ */ (0, import_jsx_runtime51.jsx)("div", { className: "flex items-center gap-2 px-1 py-1.5 text-left text-sm", children: renderUserInformation() }) }),
3511
+ /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(DropdownMenuSeparator, {}),
3512
+ /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(DropdownMenuGroup, { children: /* @__PURE__ */ (0, import_jsx_runtime51.jsxs)(DropdownMenuItem, { children: [
3513
+ /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(import_lucide_react11.Sparkles, {}),
3421
3514
  "Upgrade to Pro"
3422
3515
  ] }) }),
3423
- /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(DropdownMenuSeparator, {}),
3424
- /* @__PURE__ */ (0, import_jsx_runtime49.jsxs)(DropdownMenuGroup, { children: [
3425
- /* @__PURE__ */ (0, import_jsx_runtime49.jsxs)(DropdownMenuItem, { children: [
3426
- /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(import_lucide_react11.BadgeCheck, {}),
3516
+ /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(DropdownMenuSeparator, {}),
3517
+ /* @__PURE__ */ (0, import_jsx_runtime51.jsxs)(DropdownMenuGroup, { children: [
3518
+ /* @__PURE__ */ (0, import_jsx_runtime51.jsxs)(DropdownMenuItem, { children: [
3519
+ /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(import_lucide_react11.BadgeCheck, {}),
3427
3520
  "Account"
3428
3521
  ] }),
3429
- /* @__PURE__ */ (0, import_jsx_runtime49.jsxs)(DropdownMenuItem, { children: [
3430
- /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(import_lucide_react11.CreditCard, {}),
3522
+ /* @__PURE__ */ (0, import_jsx_runtime51.jsxs)(DropdownMenuItem, { children: [
3523
+ /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(import_lucide_react11.CreditCard, {}),
3431
3524
  "Billing"
3432
3525
  ] }),
3433
- /* @__PURE__ */ (0, import_jsx_runtime49.jsxs)(DropdownMenuItem, { children: [
3434
- /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(import_lucide_react11.Bell, {}),
3526
+ /* @__PURE__ */ (0, import_jsx_runtime51.jsxs)(DropdownMenuItem, { children: [
3527
+ /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(import_lucide_react11.Bell, {}),
3435
3528
  "Notifications"
3436
3529
  ] })
3437
3530
  ] }),
3438
- /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(DropdownMenuSeparator, {}),
3439
- /* @__PURE__ */ (0, import_jsx_runtime49.jsxs)(DropdownMenuItem, { onClick: logoutAction, children: [
3440
- /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(import_lucide_react11.LogOut, {}),
3531
+ /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(DropdownMenuSeparator, {}),
3532
+ /* @__PURE__ */ (0, import_jsx_runtime51.jsxs)(DropdownMenuItem, { onClick: logoutAction, children: [
3533
+ /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(import_lucide_react11.LogOut, {}),
3441
3534
  "Log out"
3442
3535
  ] })
3443
3536
  ]
@@ -3447,33 +3540,33 @@ function NavUser({
3447
3540
  }
3448
3541
 
3449
3542
  // src/components/layout/PageLayout/index.tsx
3450
- var import_jsx_runtime50 = require("react/jsx-runtime");
3543
+ var import_jsx_runtime52 = require("react/jsx-runtime");
3451
3544
  var PageLayout = ({
3452
3545
  subtitle,
3453
3546
  title,
3454
3547
  children,
3455
3548
  header
3456
3549
  }) => {
3457
- return /* @__PURE__ */ (0, import_jsx_runtime50.jsxs)("div", { className: "m-5 p-4 bg-white", children: [
3458
- /* @__PURE__ */ (0, import_jsx_runtime50.jsxs)("div", { className: "flex justify-between", children: [
3459
- /* @__PURE__ */ (0, import_jsx_runtime50.jsxs)("div", { children: [
3460
- title && /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(Text, { variant: "title", children: title }),
3461
- subtitle && /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(Text, { variant: "muted", children: subtitle })
3550
+ return /* @__PURE__ */ (0, import_jsx_runtime52.jsxs)("div", { className: "m-5 p-4 bg-white", children: [
3551
+ /* @__PURE__ */ (0, import_jsx_runtime52.jsxs)("div", { className: "flex justify-between", children: [
3552
+ /* @__PURE__ */ (0, import_jsx_runtime52.jsxs)("div", { children: [
3553
+ title && /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(Text, { variant: "title", children: title }),
3554
+ subtitle && /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(Text, { variant: "muted", children: subtitle })
3462
3555
  ] }),
3463
3556
  header
3464
3557
  ] }),
3465
- /* @__PURE__ */ (0, import_jsx_runtime50.jsx)("div", { className: "mt-5", children })
3558
+ /* @__PURE__ */ (0, import_jsx_runtime52.jsx)("div", { className: "mt-5", children })
3466
3559
  ] });
3467
3560
  };
3468
3561
 
3469
3562
  // src/components/ui/tabs.tsx
3470
- var React23 = __toESM(require("react"));
3563
+ var React24 = __toESM(require("react"));
3471
3564
  var TabsPrimitive = __toESM(require("@radix-ui/react-tabs"));
3472
- var import_jsx_runtime51 = require("react/jsx-runtime");
3565
+ var import_jsx_runtime53 = require("react/jsx-runtime");
3473
3566
  var Tabs = TabsPrimitive.Root;
3474
- var TabsList = React23.forwardRef((_a, ref) => {
3567
+ var TabsList = React24.forwardRef((_a, ref) => {
3475
3568
  var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
3476
- return /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(
3569
+ return /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(
3477
3570
  TabsPrimitive.List,
3478
3571
  __spreadValues({
3479
3572
  ref,
@@ -3485,9 +3578,9 @@ var TabsList = React23.forwardRef((_a, ref) => {
3485
3578
  );
3486
3579
  });
3487
3580
  TabsList.displayName = TabsPrimitive.List.displayName;
3488
- var TabsTrigger = React23.forwardRef((_a, ref) => {
3581
+ var TabsTrigger = React24.forwardRef((_a, ref) => {
3489
3582
  var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
3490
- return /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(
3583
+ return /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(
3491
3584
  TabsPrimitive.Trigger,
3492
3585
  __spreadValues({
3493
3586
  ref,
@@ -3499,9 +3592,9 @@ var TabsTrigger = React23.forwardRef((_a, ref) => {
3499
3592
  );
3500
3593
  });
3501
3594
  TabsTrigger.displayName = TabsPrimitive.Trigger.displayName;
3502
- var TabsContent = React23.forwardRef((_a, ref) => {
3595
+ var TabsContent = React24.forwardRef((_a, ref) => {
3503
3596
  var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
3504
- return /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(
3597
+ return /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(
3505
3598
  TabsPrimitive.Content,
3506
3599
  __spreadValues({
3507
3600
  ref,
@@ -3515,14 +3608,14 @@ var TabsContent = React23.forwardRef((_a, ref) => {
3515
3608
  TabsContent.displayName = TabsPrimitive.Content.displayName;
3516
3609
 
3517
3610
  // src/components/layout/Tabs/Tabs.tsx
3518
- var import_jsx_runtime52 = require("react/jsx-runtime");
3611
+ var import_jsx_runtime54 = require("react/jsx-runtime");
3519
3612
  var Tabs2 = ({
3520
3613
  tabs,
3521
3614
  activeTabIndex = 0,
3522
3615
  onTabChange,
3523
3616
  className
3524
3617
  }) => {
3525
- return /* @__PURE__ */ (0, import_jsx_runtime52.jsxs)(
3618
+ return /* @__PURE__ */ (0, import_jsx_runtime54.jsxs)(
3526
3619
  Tabs,
3527
3620
  {
3528
3621
  value: tabs[activeTabIndex].label,
@@ -3532,34 +3625,34 @@ var Tabs2 = ({
3532
3625
  },
3533
3626
  className: cn("w-full", className),
3534
3627
  children: [
3535
- /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(TabsList, { children: tabs.map((tab, index) => /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(TabsTrigger, { value: tab.label, children: tab.label }, index)) }),
3536
- tabs.map((tab, index) => /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(TabsContent, { value: tab.label, children: tab.content }, index))
3628
+ /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(TabsList, { children: tabs.map((tab, index) => /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(TabsTrigger, { value: tab.label, children: tab.label }, index)) }),
3629
+ tabs.map((tab, index) => /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(TabsContent, { value: tab.label, children: tab.content }, index))
3537
3630
  ]
3538
3631
  }
3539
3632
  );
3540
3633
  };
3541
3634
 
3542
3635
  // src/components/actions/Steps/Steps.tsx
3543
- var import_jsx_runtime53 = require("react/jsx-runtime");
3636
+ var import_jsx_runtime55 = require("react/jsx-runtime");
3544
3637
  var Steps = ({ data, onClick = () => {
3545
3638
  }, value }) => {
3546
3639
  const renderSteps = (0, import_react12.useCallback)(() => {
3547
3640
  return data.map(({ label, id }, index) => {
3548
3641
  const isLast = index === data.length - 1;
3549
3642
  const isActive = typeof value === "number" && id <= value;
3550
- return /* @__PURE__ */ (0, import_jsx_runtime53.jsxs)("div", { className: cn(!isLast && "w-full flex items-center"), children: [
3551
- /* @__PURE__ */ (0, import_jsx_runtime53.jsx)("div", { children: /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(
3643
+ return /* @__PURE__ */ (0, import_jsx_runtime55.jsxs)("div", { className: cn(!isLast && "w-full flex items-center"), children: [
3644
+ /* @__PURE__ */ (0, import_jsx_runtime55.jsx)("div", { children: /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(
3552
3645
  Button2,
3553
3646
  {
3554
3647
  onClick: () => onClick && onClick(id),
3555
3648
  variant: isActive ? "default" : "outline",
3556
3649
  size: "icon",
3557
3650
  className: "rounded-full",
3558
- children: isActive ? /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(Icon2, { name: "MdCheck" }) : index + 1
3651
+ children: isActive ? /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(Icon2, { name: "MdCheck" }) : index + 1
3559
3652
  }
3560
3653
  ) }),
3561
- label && /* @__PURE__ */ (0, import_jsx_runtime53.jsx)("p", { className: "absolute", children: label }),
3562
- !isLast && /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(
3654
+ label && /* @__PURE__ */ (0, import_jsx_runtime55.jsx)("p", { className: "absolute", children: label }),
3655
+ !isLast && /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(
3563
3656
  Separator3,
3564
3657
  {
3565
3658
  orientation: "horizontal",
@@ -3569,19 +3662,19 @@ var Steps = ({ data, onClick = () => {
3569
3662
  ] }, index);
3570
3663
  });
3571
3664
  }, [data, onClick, value]);
3572
- return /* @__PURE__ */ (0, import_jsx_runtime53.jsx)("div", { className: "flex w-full", children: renderSteps() });
3665
+ return /* @__PURE__ */ (0, import_jsx_runtime55.jsx)("div", { className: "flex w-full", children: renderSteps() });
3573
3666
  };
3574
3667
 
3575
3668
  // src/components/ui/alert-dialog.tsx
3576
- var React24 = __toESM(require("react"));
3669
+ var React25 = __toESM(require("react"));
3577
3670
  var AlertDialogPrimitive = __toESM(require("@radix-ui/react-alert-dialog"));
3578
- var import_jsx_runtime54 = require("react/jsx-runtime");
3671
+ var import_jsx_runtime56 = require("react/jsx-runtime");
3579
3672
  var AlertDialog = AlertDialogPrimitive.Root;
3580
3673
  var AlertDialogTrigger = AlertDialogPrimitive.Trigger;
3581
3674
  var AlertDialogPortal = AlertDialogPrimitive.Portal;
3582
- var AlertDialogOverlay = React24.forwardRef((_a, ref) => {
3675
+ var AlertDialogOverlay = React25.forwardRef((_a, ref) => {
3583
3676
  var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
3584
- return /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(
3677
+ return /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(
3585
3678
  AlertDialogPrimitive.Overlay,
3586
3679
  __spreadProps(__spreadValues({
3587
3680
  className: cn(
@@ -3594,11 +3687,11 @@ var AlertDialogOverlay = React24.forwardRef((_a, ref) => {
3594
3687
  );
3595
3688
  });
3596
3689
  AlertDialogOverlay.displayName = AlertDialogPrimitive.Overlay.displayName;
3597
- var AlertDialogContent = React24.forwardRef((_a, ref) => {
3690
+ var AlertDialogContent = React25.forwardRef((_a, ref) => {
3598
3691
  var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
3599
- return /* @__PURE__ */ (0, import_jsx_runtime54.jsxs)(AlertDialogPortal, { children: [
3600
- /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(AlertDialogOverlay, {}),
3601
- /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(
3692
+ return /* @__PURE__ */ (0, import_jsx_runtime56.jsxs)(AlertDialogPortal, { children: [
3693
+ /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(AlertDialogOverlay, {}),
3694
+ /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(
3602
3695
  AlertDialogPrimitive.Content,
3603
3696
  __spreadValues({
3604
3697
  ref,
@@ -3617,7 +3710,7 @@ var AlertDialogHeader = (_a) => {
3617
3710
  } = _b, props = __objRest(_b, [
3618
3711
  "className"
3619
3712
  ]);
3620
- return /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(
3713
+ return /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(
3621
3714
  "div",
3622
3715
  __spreadValues({
3623
3716
  className: cn(
@@ -3634,7 +3727,7 @@ var AlertDialogFooter = (_a) => {
3634
3727
  } = _b, props = __objRest(_b, [
3635
3728
  "className"
3636
3729
  ]);
3637
- return /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(
3730
+ return /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(
3638
3731
  "div",
3639
3732
  __spreadValues({
3640
3733
  className: cn(
@@ -3645,9 +3738,9 @@ var AlertDialogFooter = (_a) => {
3645
3738
  );
3646
3739
  };
3647
3740
  AlertDialogFooter.displayName = "AlertDialogFooter";
3648
- var AlertDialogTitle = React24.forwardRef((_a, ref) => {
3741
+ var AlertDialogTitle = React25.forwardRef((_a, ref) => {
3649
3742
  var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
3650
- return /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(
3743
+ return /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(
3651
3744
  AlertDialogPrimitive.Title,
3652
3745
  __spreadValues({
3653
3746
  ref,
@@ -3656,9 +3749,9 @@ var AlertDialogTitle = React24.forwardRef((_a, ref) => {
3656
3749
  );
3657
3750
  });
3658
3751
  AlertDialogTitle.displayName = AlertDialogPrimitive.Title.displayName;
3659
- var AlertDialogDescription = React24.forwardRef((_a, ref) => {
3752
+ var AlertDialogDescription = React25.forwardRef((_a, ref) => {
3660
3753
  var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
3661
- return /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(
3754
+ return /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(
3662
3755
  AlertDialogPrimitive.Description,
3663
3756
  __spreadValues({
3664
3757
  ref,
@@ -3667,9 +3760,9 @@ var AlertDialogDescription = React24.forwardRef((_a, ref) => {
3667
3760
  );
3668
3761
  });
3669
3762
  AlertDialogDescription.displayName = AlertDialogPrimitive.Description.displayName;
3670
- var AlertDialogAction = React24.forwardRef((_a, ref) => {
3763
+ var AlertDialogAction = React25.forwardRef((_a, ref) => {
3671
3764
  var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
3672
- return /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(
3765
+ return /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(
3673
3766
  AlertDialogPrimitive.Action,
3674
3767
  __spreadValues({
3675
3768
  ref,
@@ -3678,9 +3771,9 @@ var AlertDialogAction = React24.forwardRef((_a, ref) => {
3678
3771
  );
3679
3772
  });
3680
3773
  AlertDialogAction.displayName = AlertDialogPrimitive.Action.displayName;
3681
- var AlertDialogCancel = React24.forwardRef((_a, ref) => {
3774
+ var AlertDialogCancel = React25.forwardRef((_a, ref) => {
3682
3775
  var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
3683
- return /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(
3776
+ return /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(
3684
3777
  AlertDialogPrimitive.Cancel,
3685
3778
  __spreadValues({
3686
3779
  ref,
@@ -3695,7 +3788,7 @@ var AlertDialogCancel = React24.forwardRef((_a, ref) => {
3695
3788
  AlertDialogCancel.displayName = AlertDialogPrimitive.Cancel.displayName;
3696
3789
 
3697
3790
  // src/components/actions/AlertDialog/AlertDialog.tsx
3698
- var import_jsx_runtime55 = require("react/jsx-runtime");
3791
+ var import_jsx_runtime57 = require("react/jsx-runtime");
3699
3792
  var AlertDialog2 = ({
3700
3793
  title,
3701
3794
  description,
@@ -3703,16 +3796,16 @@ var AlertDialog2 = ({
3703
3796
  onConfirm,
3704
3797
  onCancel
3705
3798
  }) => {
3706
- return /* @__PURE__ */ (0, import_jsx_runtime55.jsxs)(AlertDialog, { children: [
3707
- /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(AlertDialogTrigger, { asChild: true, children }),
3708
- /* @__PURE__ */ (0, import_jsx_runtime55.jsxs)(AlertDialogContent, { children: [
3709
- /* @__PURE__ */ (0, import_jsx_runtime55.jsxs)(AlertDialogHeader, { children: [
3710
- /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(AlertDialogTitle, { children: title }),
3711
- description && /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(AlertDialogDescription, { children: description })
3799
+ return /* @__PURE__ */ (0, import_jsx_runtime57.jsxs)(AlertDialog, { children: [
3800
+ /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(AlertDialogTrigger, { asChild: true, children }),
3801
+ /* @__PURE__ */ (0, import_jsx_runtime57.jsxs)(AlertDialogContent, { children: [
3802
+ /* @__PURE__ */ (0, import_jsx_runtime57.jsxs)(AlertDialogHeader, { children: [
3803
+ /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(AlertDialogTitle, { children: title }),
3804
+ description && /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(AlertDialogDescription, { children: description })
3712
3805
  ] }),
3713
- /* @__PURE__ */ (0, import_jsx_runtime55.jsxs)(AlertDialogFooter, { children: [
3714
- /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(AlertDialogCancel, { onClick: onCancel, children: "Cancel" }),
3715
- /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(AlertDialogAction, { onClick: onConfirm, children: "Continue" })
3806
+ /* @__PURE__ */ (0, import_jsx_runtime57.jsxs)(AlertDialogFooter, { children: [
3807
+ /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(AlertDialogCancel, { onClick: onCancel, children: "Cancel" }),
3808
+ /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(AlertDialogAction, { onClick: onConfirm, children: "Continue" })
3716
3809
  ] })
3717
3810
  ] })
3718
3811
  ] });
@@ -3722,7 +3815,7 @@ var AlertDialog2 = ({
3722
3815
  var import_react13 = require("react");
3723
3816
  var import_react_hook_form5 = require("react-hook-form");
3724
3817
  var import_lodash2 = __toESM(require("lodash"));
3725
- var import_jsx_runtime56 = require("react/jsx-runtime");
3818
+ var import_jsx_runtime58 = require("react/jsx-runtime");
3726
3819
  var MultipleInputBase = ({
3727
3820
  children,
3728
3821
  data = [],
@@ -3771,22 +3864,22 @@ var MultipleInputBase = ({
3771
3864
  );
3772
3865
  const renderOptions = (0, import_react13.useCallback)(() => {
3773
3866
  return inputData == null ? void 0 : inputData.map((item, index) => {
3774
- return /* @__PURE__ */ (0, import_jsx_runtime56.jsxs)("div", { className: "flex justify-between mt-2", children: [
3775
- /* @__PURE__ */ (0, import_jsx_runtime56.jsx)("div", { children: item }),
3776
- /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(
3867
+ return /* @__PURE__ */ (0, import_jsx_runtime58.jsxs)("div", { className: "flex justify-between mt-2", children: [
3868
+ /* @__PURE__ */ (0, import_jsx_runtime58.jsx)("div", { children: item }),
3869
+ /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(
3777
3870
  Button2,
3778
3871
  {
3779
3872
  onClick: () => removeItem(index),
3780
3873
  variant: "ghost",
3781
3874
  size: "icon",
3782
3875
  type: "button",
3783
- children: /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(Icon2, { name: "MdDelete", className: "fill-destructive" })
3876
+ children: /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(Icon2, { name: "MdDelete", className: "fill-destructive" })
3784
3877
  }
3785
3878
  )
3786
3879
  ] }, index);
3787
3880
  });
3788
3881
  }, [inputData, removeItem]);
3789
- return /* @__PURE__ */ (0, import_jsx_runtime56.jsxs)("div", { children: [
3882
+ return /* @__PURE__ */ (0, import_jsx_runtime58.jsxs)("div", { children: [
3790
3883
  children({
3791
3884
  onChange: ({ target: { value } }) => {
3792
3885
  setInputValue(value);
@@ -3800,21 +3893,21 @@ var MultipleInputBase = ({
3800
3893
  };
3801
3894
 
3802
3895
  // src/components/dataInput/Input/components/MultipleInput/MultipleMaskInput.tsx
3803
- var import_jsx_runtime57 = require("react/jsx-runtime");
3896
+ var import_jsx_runtime59 = require("react/jsx-runtime");
3804
3897
  var MultipleMaskInput = (_a) => {
3805
3898
  var _b = _a, {
3806
3899
  data = []
3807
3900
  } = _b, props = __objRest(_b, [
3808
3901
  "data"
3809
3902
  ]);
3810
- return /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(MultipleInputBase, __spreadProps(__spreadValues({ data }, props), { children: ({ onChange, addItem, value }) => {
3811
- return /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(
3903
+ return /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(MultipleInputBase, __spreadProps(__spreadValues({ data }, props), { children: ({ onChange, addItem, value }) => {
3904
+ return /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(
3812
3905
  MaskInput,
3813
3906
  __spreadProps(__spreadValues({}, props), {
3814
3907
  value,
3815
3908
  onChange,
3816
3909
  withoutForm: true,
3817
- component: /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(Button2, { type: "button", onClick: () => addItem(), children: /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(Icon2, { name: "MdAdd" }) })
3910
+ component: /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(Button2, { type: "button", onClick: () => addItem(), children: /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(Icon2, { name: "MdAdd" }) })
3818
3911
  })
3819
3912
  );
3820
3913
  } }));
@@ -3822,7 +3915,7 @@ var MultipleMaskInput = (_a) => {
3822
3915
 
3823
3916
  // src/components/dataInput/Select/SelectBase.tsx
3824
3917
  var import_react14 = require("react");
3825
- var import_jsx_runtime58 = require("react/jsx-runtime");
3918
+ var import_jsx_runtime60 = require("react/jsx-runtime");
3826
3919
  var SelectBase = (_a) => {
3827
3920
  var _b = _a, {
3828
3921
  options,
@@ -3846,15 +3939,15 @@ var SelectBase = (_a) => {
3846
3939
  },
3847
3940
  [onChange, onChangeCallback]
3848
3941
  );
3849
- return /* @__PURE__ */ (0, import_jsx_runtime58.jsxs)(
3942
+ return /* @__PURE__ */ (0, import_jsx_runtime60.jsxs)(
3850
3943
  Select,
3851
3944
  __spreadProps(__spreadValues({}, rest), {
3852
3945
  onValueChange: onSelect,
3853
3946
  defaultValue: value,
3854
3947
  value,
3855
3948
  children: [
3856
- /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(SelectTrigger, { children: /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(SelectValue, { placeholder }) }),
3857
- /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(SelectContent, { children: options == null ? void 0 : options.map((option, index) => /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(SelectItem, { value: String(option.value), children: option.label }, index)) })
3949
+ /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(SelectTrigger, { children: /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(SelectValue, { placeholder }) }),
3950
+ /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(SelectContent, { children: options == null ? void 0 : options.map((option, index) => /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(SelectItem, { value: String(option.value), children: option.label }, index)) })
3858
3951
  ]
3859
3952
  })
3860
3953
  );
@@ -3862,7 +3955,7 @@ var SelectBase = (_a) => {
3862
3955
 
3863
3956
  // src/components/dataInput/Select/Select.tsx
3864
3957
  var import_react_hook_form6 = require("react-hook-form");
3865
- var import_jsx_runtime59 = require("react/jsx-runtime");
3958
+ var import_jsx_runtime61 = require("react/jsx-runtime");
3866
3959
  var Select2 = (_a) => {
3867
3960
  var _b = _a, {
3868
3961
  name,
@@ -3886,45 +3979,45 @@ var Select2 = (_a) => {
3886
3979
  const form = (0, import_react_hook_form6.useFormContext)();
3887
3980
  const hasForm = !!form && !!name;
3888
3981
  if (!hasForm || withoutForm) {
3889
- return /* @__PURE__ */ (0, import_jsx_runtime59.jsxs)("div", { className: cn("space-y-2", className), children: [
3890
- label && /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(Label3, { children: label }),
3891
- /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(SelectBase, __spreadValues({ options, placeholder }, props)),
3892
- description && /* @__PURE__ */ (0, import_jsx_runtime59.jsx)("p", { className: "text-sm text-muted-foreground", children: description }),
3893
- error && /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(ErrorMessage, { children: error })
3982
+ return /* @__PURE__ */ (0, import_jsx_runtime61.jsxs)("div", { className: cn("space-y-2", className), children: [
3983
+ label && /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(Label3, { children: label }),
3984
+ /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(SelectBase, __spreadValues({ options, placeholder }, props)),
3985
+ description && /* @__PURE__ */ (0, import_jsx_runtime61.jsx)("p", { className: "text-sm text-muted-foreground", children: description }),
3986
+ error && /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(ErrorMessage, { children: error })
3894
3987
  ] });
3895
3988
  }
3896
- return /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(
3989
+ return /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(
3897
3990
  FormField,
3898
3991
  {
3899
3992
  control: form.control,
3900
3993
  name,
3901
- render: ({ field }) => /* @__PURE__ */ (0, import_jsx_runtime59.jsxs)(FormItem, { className, children: [
3902
- label && /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(FormLabel, { children: label }),
3903
- /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(FormControl, { children: /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(
3994
+ render: ({ field }) => /* @__PURE__ */ (0, import_jsx_runtime61.jsxs)(FormItem, { className, children: [
3995
+ label && /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(FormLabel, { children: label }),
3996
+ /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(FormControl, { children: /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(
3904
3997
  SelectBase,
3905
3998
  __spreadValues(__spreadValues({
3906
3999
  options,
3907
4000
  placeholder
3908
4001
  }, props), field)
3909
4002
  ) }),
3910
- description && /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(FormDescription, { children: description }),
3911
- /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(FormMessage, {})
4003
+ description && /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(FormDescription, { children: description }),
4004
+ /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(FormMessage, {})
3912
4005
  ] })
3913
4006
  }
3914
4007
  );
3915
4008
  };
3916
4009
 
3917
4010
  // src/components/dataDisplay/Label/Label.tsx
3918
- var import_jsx_runtime60 = require("react/jsx-runtime");
4011
+ var import_jsx_runtime62 = require("react/jsx-runtime");
3919
4012
  var Label4 = (props) => {
3920
- return /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(Label3, __spreadValues({}, props));
4013
+ return /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(Label3, __spreadValues({}, props));
3921
4014
  };
3922
4015
 
3923
4016
  // src/components/dataInput/Select/MultiSelect/MultiSelectBase.tsx
3924
- var React25 = __toESM(require("react"));
4017
+ var React26 = __toESM(require("react"));
3925
4018
  var import_lucide_react12 = require("lucide-react");
3926
4019
  var Popover = __toESM(require("@radix-ui/react-popover"));
3927
- var import_jsx_runtime61 = require("react/jsx-runtime");
4020
+ var import_jsx_runtime63 = require("react/jsx-runtime");
3928
4021
  function MultiSelectBase({
3929
4022
  options = [],
3930
4023
  selected = [],
@@ -3933,9 +4026,9 @@ function MultiSelectBase({
3933
4026
  placeholder = "Select frameworks...",
3934
4027
  className
3935
4028
  }) {
3936
- const [open, setOpen] = React25.useState(false);
3937
- const [inputValue, setInputValue] = React25.useState("");
3938
- const inputRef = React25.useRef(null);
4029
+ const [open, setOpen] = React26.useState(false);
4030
+ const [inputValue, setInputValue] = React26.useState("");
4031
+ const inputRef = React26.useRef(null);
3939
4032
  const handleRemoveItem = (valueToRemove) => {
3940
4033
  onChange(selected.filter((value) => value !== valueToRemove));
3941
4034
  };
@@ -3949,8 +4042,8 @@ function MultiSelectBase({
3949
4042
  const filteredOptions = options.filter(
3950
4043
  (option) => option.label.toLowerCase().includes(inputValue.toLowerCase())
3951
4044
  );
3952
- return /* @__PURE__ */ (0, import_jsx_runtime61.jsxs)(Popover.Root, { open, onOpenChange: setOpen, children: [
3953
- /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(Popover.Trigger, { asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime61.jsxs)(
4045
+ return /* @__PURE__ */ (0, import_jsx_runtime63.jsxs)(Popover.Root, { open, onOpenChange: setOpen, children: [
4046
+ /* @__PURE__ */ (0, import_jsx_runtime63.jsx)(Popover.Trigger, { asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime63.jsxs)(
3954
4047
  "div",
3955
4048
  {
3956
4049
  className: cn(
@@ -3961,13 +4054,13 @@ function MultiSelectBase({
3961
4054
  selected.map((value) => {
3962
4055
  const option = options.find((o) => o.value === value);
3963
4056
  if (!option) return null;
3964
- return /* @__PURE__ */ (0, import_jsx_runtime61.jsxs)(
4057
+ return /* @__PURE__ */ (0, import_jsx_runtime63.jsxs)(
3965
4058
  "div",
3966
4059
  {
3967
4060
  className: "flex items-center gap-1 rounded-md bg-secondary px-2 py-1 text-sm text-secondary-foreground",
3968
4061
  children: [
3969
4062
  option.label,
3970
- /* @__PURE__ */ (0, import_jsx_runtime61.jsxs)(
4063
+ /* @__PURE__ */ (0, import_jsx_runtime63.jsxs)(
3971
4064
  "button",
3972
4065
  {
3973
4066
  type: "button",
@@ -3977,8 +4070,8 @@ function MultiSelectBase({
3977
4070
  },
3978
4071
  className: "rounded-full hover:bg-secondary-foreground/20",
3979
4072
  children: [
3980
- /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(import_lucide_react12.X, { className: "h-3 w-3" }),
3981
- /* @__PURE__ */ (0, import_jsx_runtime61.jsxs)("span", { className: "sr-only", children: [
4073
+ /* @__PURE__ */ (0, import_jsx_runtime63.jsx)(import_lucide_react12.X, { className: "h-3 w-3" }),
4074
+ /* @__PURE__ */ (0, import_jsx_runtime63.jsxs)("span", { className: "sr-only", children: [
3982
4075
  "Remove ",
3983
4076
  option.label
3984
4077
  ] })
@@ -3990,20 +4083,20 @@ function MultiSelectBase({
3990
4083
  value
3991
4084
  );
3992
4085
  }),
3993
- /* @__PURE__ */ (0, import_jsx_runtime61.jsx)("div", { className: "flex-1", children: selected.length === 0 && /* @__PURE__ */ (0, import_jsx_runtime61.jsx)("span", { className: "text-muted-foreground", children: placeholder }) })
4086
+ /* @__PURE__ */ (0, import_jsx_runtime63.jsx)("div", { className: "flex-1", children: selected.length === 0 && /* @__PURE__ */ (0, import_jsx_runtime63.jsx)("span", { className: "text-muted-foreground", children: placeholder }) })
3994
4087
  ]
3995
4088
  }
3996
4089
  ) }),
3997
- /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(Popover.Portal, { children: /* @__PURE__ */ (0, import_jsx_runtime61.jsxs)(
4090
+ /* @__PURE__ */ (0, import_jsx_runtime63.jsx)(Popover.Portal, { children: /* @__PURE__ */ (0, import_jsx_runtime63.jsxs)(
3998
4091
  Popover.Content,
3999
4092
  {
4000
4093
  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",
4001
4094
  align: "start",
4002
4095
  sideOffset: 4,
4003
4096
  children: [
4004
- /* @__PURE__ */ (0, import_jsx_runtime61.jsxs)("div", { className: "flex items-center border-b border-border px-3 py-2", children: [
4005
- /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(import_lucide_react12.Search, { className: "h-4 w-4 text-muted-foreground" }),
4006
- /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(
4097
+ /* @__PURE__ */ (0, import_jsx_runtime63.jsxs)("div", { className: "flex items-center border-b border-border px-3 py-2", children: [
4098
+ /* @__PURE__ */ (0, import_jsx_runtime63.jsx)(import_lucide_react12.Search, { className: "h-4 w-4 text-muted-foreground" }),
4099
+ /* @__PURE__ */ (0, import_jsx_runtime63.jsx)(
4007
4100
  "input",
4008
4101
  {
4009
4102
  ref: inputRef,
@@ -4014,7 +4107,7 @@ function MultiSelectBase({
4014
4107
  }
4015
4108
  )
4016
4109
  ] }),
4017
- /* @__PURE__ */ (0, import_jsx_runtime61.jsx)("div", { className: "max-h-[200px] overflow-auto", children: filteredOptions.length === 0 ? /* @__PURE__ */ (0, import_jsx_runtime61.jsx)("div", { className: "px-2 py-4 text-center text-sm text-muted-foreground", children: "No results found." }) : filteredOptions.map((option) => /* @__PURE__ */ (0, import_jsx_runtime61.jsxs)(
4110
+ /* @__PURE__ */ (0, import_jsx_runtime63.jsx)("div", { className: "max-h-[200px] overflow-auto", children: filteredOptions.length === 0 ? /* @__PURE__ */ (0, import_jsx_runtime63.jsx)("div", { className: "px-2 py-4 text-center text-sm text-muted-foreground", children: "No results found." }) : filteredOptions.map((option) => /* @__PURE__ */ (0, import_jsx_runtime63.jsxs)(
4018
4111
  "div",
4019
4112
  {
4020
4113
  onClick: () => handleSelectItem(option.value),
@@ -4023,14 +4116,14 @@ function MultiSelectBase({
4023
4116
  selected.includes(option.value) && "bg-accent"
4024
4117
  ),
4025
4118
  children: [
4026
- /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(
4119
+ /* @__PURE__ */ (0, import_jsx_runtime63.jsx)(
4027
4120
  "div",
4028
4121
  {
4029
4122
  className: cn(
4030
4123
  "flex h-4 w-4 items-center justify-center rounded border border-primary",
4031
4124
  selected.includes(option.value) && "bg-primary text-primary-foreground"
4032
4125
  ),
4033
- children: selected.includes(option.value) && /* @__PURE__ */ (0, import_jsx_runtime61.jsx)("span", { className: "text-[10px]", children: "\u2713" })
4126
+ children: selected.includes(option.value) && /* @__PURE__ */ (0, import_jsx_runtime63.jsx)("span", { className: "text-[10px]", children: "\u2713" })
4034
4127
  }
4035
4128
  ),
4036
4129
  option.label
@@ -4046,7 +4139,7 @@ function MultiSelectBase({
4046
4139
 
4047
4140
  // src/components/dataInput/Select/MultiSelect/index.tsx
4048
4141
  var import_react_hook_form7 = require("react-hook-form");
4049
- var import_jsx_runtime62 = require("react/jsx-runtime");
4142
+ var import_jsx_runtime64 = require("react/jsx-runtime");
4050
4143
  function MultiSelect(_a) {
4051
4144
  var _b = _a, {
4052
4145
  label,
@@ -4066,24 +4159,24 @@ function MultiSelect(_a) {
4066
4159
  const form = (0, import_react_hook_form7.useFormContext)();
4067
4160
  const hasForm = !withoutForm && !!form && !!name;
4068
4161
  if (!hasForm)
4069
- return /* @__PURE__ */ (0, import_jsx_runtime62.jsxs)("div", { className: "grid w-full items-center gap-3", children: [
4070
- label && /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(Label4, { htmlFor: name, children: label }),
4071
- /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(MultiSelectBase, __spreadValues({}, props))
4162
+ return /* @__PURE__ */ (0, import_jsx_runtime64.jsxs)("div", { className: "grid w-full items-center gap-3", children: [
4163
+ label && /* @__PURE__ */ (0, import_jsx_runtime64.jsx)(Label4, { htmlFor: name, children: label }),
4164
+ /* @__PURE__ */ (0, import_jsx_runtime64.jsx)(MultiSelectBase, __spreadValues({}, props))
4072
4165
  ] });
4073
- return /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(
4166
+ return /* @__PURE__ */ (0, import_jsx_runtime64.jsx)(
4074
4167
  FormField,
4075
4168
  {
4076
4169
  control: form.control,
4077
4170
  name,
4078
4171
  render: (_a2) => {
4079
4172
  var { field: _b2 } = _a2, _c = _b2, { value } = _c, rest = __objRest(_c, ["value"]);
4080
- return /* @__PURE__ */ (0, import_jsx_runtime62.jsxs)(
4173
+ return /* @__PURE__ */ (0, import_jsx_runtime64.jsxs)(
4081
4174
  FormItem,
4082
4175
  {
4083
4176
  className,
4084
4177
  "data-testid": testId ? `form-item-${testId}` : void 0,
4085
4178
  children: [
4086
- label && /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(
4179
+ label && /* @__PURE__ */ (0, import_jsx_runtime64.jsx)(
4087
4180
  FormLabel,
4088
4181
  {
4089
4182
  htmlFor: name,
@@ -4091,8 +4184,8 @@ function MultiSelect(_a) {
4091
4184
  children: `${label}${required ? " *" : ""}`
4092
4185
  }
4093
4186
  ),
4094
- /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(FormControl, { children: /* @__PURE__ */ (0, import_jsx_runtime62.jsx)("div", { className: "flex w-full items-center space-x-2", children: /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(MultiSelectBase, __spreadProps(__spreadValues(__spreadValues({}, props), rest), { selected: value })) }) }),
4095
- /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(
4187
+ /* @__PURE__ */ (0, import_jsx_runtime64.jsx)(FormControl, { children: /* @__PURE__ */ (0, import_jsx_runtime64.jsx)("div", { className: "flex w-full items-center space-x-2", children: /* @__PURE__ */ (0, import_jsx_runtime64.jsx)(MultiSelectBase, __spreadProps(__spreadValues(__spreadValues({}, props), rest), { selected: value })) }) }),
4188
+ /* @__PURE__ */ (0, import_jsx_runtime64.jsx)(
4096
4189
  FormMessage,
4097
4190
  {
4098
4191
  role: "alert",
@@ -4108,12 +4201,12 @@ function MultiSelect(_a) {
4108
4201
  }
4109
4202
 
4110
4203
  // src/components/ui/switch.tsx
4111
- var React26 = __toESM(require("react"));
4204
+ var React27 = __toESM(require("react"));
4112
4205
  var SwitchPrimitives = __toESM(require("@radix-ui/react-switch"));
4113
- var import_jsx_runtime63 = require("react/jsx-runtime");
4114
- var Switch = React26.forwardRef((_a, ref) => {
4206
+ var import_jsx_runtime65 = require("react/jsx-runtime");
4207
+ var Switch = React27.forwardRef((_a, ref) => {
4115
4208
  var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
4116
- return /* @__PURE__ */ (0, import_jsx_runtime63.jsx)(
4209
+ return /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(
4117
4210
  SwitchPrimitives.Root,
4118
4211
  __spreadProps(__spreadValues({
4119
4212
  className: cn(
@@ -4122,7 +4215,7 @@ var Switch = React26.forwardRef((_a, ref) => {
4122
4215
  )
4123
4216
  }, props), {
4124
4217
  ref,
4125
- children: /* @__PURE__ */ (0, import_jsx_runtime63.jsx)(
4218
+ children: /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(
4126
4219
  SwitchPrimitives.Thumb,
4127
4220
  {
4128
4221
  className: cn(
@@ -4137,7 +4230,7 @@ Switch.displayName = SwitchPrimitives.Root.displayName;
4137
4230
 
4138
4231
  // src/components/dataInput/Switch/Switch.tsx
4139
4232
  var import_react_hook_form8 = require("react-hook-form");
4140
- var import_jsx_runtime64 = require("react/jsx-runtime");
4233
+ var import_jsx_runtime66 = require("react/jsx-runtime");
4141
4234
  function Switch2(_a) {
4142
4235
  var _b = _a, {
4143
4236
  label,
@@ -4152,28 +4245,40 @@ function Switch2(_a) {
4152
4245
  const form = (0, import_react_hook_form8.useFormContext)();
4153
4246
  const hasForm = !!form && !withoutForm && !!props.name;
4154
4247
  if (!hasForm)
4155
- return /* @__PURE__ */ (0, import_jsx_runtime64.jsxs)("div", { className: "flex items-center space-x-2", children: [
4156
- /* @__PURE__ */ (0, import_jsx_runtime64.jsx)(Switch, __spreadValues({}, props)),
4157
- label && /* @__PURE__ */ (0, import_jsx_runtime64.jsx)(Label3, { htmlFor: props.id, children: label })
4248
+ return /* @__PURE__ */ (0, import_jsx_runtime66.jsxs)("div", { className: "flex items-center space-x-2", children: [
4249
+ /* @__PURE__ */ (0, import_jsx_runtime66.jsx)(Switch, __spreadValues({}, props)),
4250
+ label && /* @__PURE__ */ (0, import_jsx_runtime66.jsx)(Label3, { htmlFor: props.id, children: label })
4158
4251
  ] });
4159
- return /* @__PURE__ */ (0, import_jsx_runtime64.jsx)(
4252
+ return /* @__PURE__ */ (0, import_jsx_runtime66.jsx)(
4160
4253
  FormField,
4161
4254
  {
4162
4255
  control: form.control,
4163
4256
  name: (_a2 = props.name) != null ? _a2 : "",
4164
- render: ({ field }) => /* @__PURE__ */ (0, import_jsx_runtime64.jsxs)(
4257
+ render: ({ field }) => /* @__PURE__ */ (0, import_jsx_runtime66.jsxs)(
4165
4258
  FormItem,
4166
4259
  {
4167
4260
  className: cn(className, "flex items-center space-x-2 space-y-0"),
4168
4261
  children: [
4169
- /* @__PURE__ */ (0, import_jsx_runtime64.jsx)(FormControl, { children: /* @__PURE__ */ (0, import_jsx_runtime64.jsx)(Switch2, { checked: field.value, onCheckedChange: field.onChange }) }),
4170
- /* @__PURE__ */ (0, import_jsx_runtime64.jsx)(FormLabel, { children: label })
4262
+ /* @__PURE__ */ (0, import_jsx_runtime66.jsx)(FormControl, { children: /* @__PURE__ */ (0, import_jsx_runtime66.jsx)(Switch2, { checked: field.value, onCheckedChange: field.onChange }) }),
4263
+ /* @__PURE__ */ (0, import_jsx_runtime66.jsx)(FormLabel, { children: label })
4171
4264
  ]
4172
4265
  }
4173
4266
  )
4174
4267
  }
4175
4268
  );
4176
4269
  }
4270
+
4271
+ // src/components/config/DesignSystemProvider/index.tsx
4272
+ var import_react15 = require("react");
4273
+ var import_jsx_runtime67 = require("react/jsx-runtime");
4274
+ function DesignSystemProvider({
4275
+ children,
4276
+ className = ""
4277
+ }) {
4278
+ const uniqueId = (0, import_react15.useId)().replace(/:/g, "_");
4279
+ const scopeClass = `ds-${uniqueId}`;
4280
+ return /* @__PURE__ */ (0, import_jsx_runtime67.jsx)("div", { className: `ds ${scopeClass} ${className}`.trim(), children });
4281
+ }
4177
4282
  // Annotate the CommonJS export names for ESM import in node:
4178
4283
  0 && (module.exports = {
4179
4284
  AlertDialog,
@@ -4189,12 +4294,20 @@ function Switch2(_a) {
4189
4294
  BreadcrumbPage,
4190
4295
  BreadcrumbSeparator,
4191
4296
  Button,
4297
+ Card,
4298
+ CardBase,
4299
+ CardContent,
4300
+ CardDescription,
4301
+ CardFooter,
4302
+ CardHeader,
4303
+ CardTitle,
4192
4304
  Checkbox,
4193
4305
  Collapsible,
4194
4306
  CollapsibleContent,
4195
4307
  CollapsibleTrigger,
4196
4308
  CustomDrawer,
4197
4309
  DataPairList,
4310
+ DesignSystemProvider,
4198
4311
  Dialog,
4199
4312
  DialogWithForm,
4200
4313
  Drawer,