easykar-backoffice-ui 0.0.2 → 0.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.cjs CHANGED
@@ -54,6 +54,7 @@ __export(index_exports, {
54
54
  EasyTabsList: () => EasyTabsList,
55
55
  EasyTabsTrigger: () => EasyTabsTrigger,
56
56
  EasyTextInput: () => EasyTextInput,
57
+ EasyTextarea: () => EasyTextarea,
57
58
  EasyTypography: () => EasyTypography,
58
59
  Input: () => Input,
59
60
  ShadcnButton: () => ShadcnButton,
@@ -544,7 +545,8 @@ var easyButtonVariants = (0, import_class_variance_authority2.cva)(
544
545
  important: "bg-[var(--ui-background-900)] text-white hover:bg-[var(--ui-background-700)] disabled:bg-[var(--ui-background-100)] disabled:text-[var(--ui-text-400)]",
545
546
  gradient: "text-white bg-[var(--ui-gradient-border)]",
546
547
  loginbutton: "bg-white border border-[var(--ui-border-200)] text-[var(--ui-primary)] hover:border-transparent",
547
- editbutton: "bg-[var(--ui-blue-base)] text-white text-[14px] hover:bg-[var(--ui-blue-dark)]"
548
+ editbutton: "bg-[var(--ui-blue-base)] text-white text-[14px] hover:bg-[var(--ui-blue-dark)]",
549
+ danger: "bg-[var(--ui-danger-base)] text-white hover:bg-[var(--ui-danger-dark)] disabled:bg-[var(--ui-background-200)] disabled:text-[var(--ui-text-400)]"
548
550
  },
549
551
  appearance: {
550
552
  filled: baseFocusRing,
@@ -1015,11 +1017,99 @@ var EasyTextInput = React10.forwardRef(
1015
1017
  );
1016
1018
  EasyTextInput.displayName = "EasyTextInput";
1017
1019
 
1018
- // src/components/easy/checkbox.tsx
1019
- var React11 = __toESM(require("react"), 1);
1020
+ // src/components/easy/input/textarea.tsx
1021
+ var React12 = __toESM(require("react"), 1);
1020
1022
  var import_lucide_react6 = require("lucide-react");
1023
+
1024
+ // src/components/ui/textarea.tsx
1025
+ var React11 = __toESM(require("react"), 1);
1021
1026
  var import_jsx_runtime12 = require("react/jsx-runtime");
1022
- var EasyCheckbox = React11.forwardRef(
1027
+ var Textarea = React11.forwardRef(({ className, ...props }, ref) => {
1028
+ return /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(
1029
+ "textarea",
1030
+ {
1031
+ className: cn(
1032
+ "flex min-h-[80px] w-full rounded-md border border-input bg-background px-3 py-2 text-base ring-offset-background placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50 md:text-sm",
1033
+ className
1034
+ ),
1035
+ ref,
1036
+ ...props
1037
+ }
1038
+ );
1039
+ });
1040
+ Textarea.displayName = "Textarea";
1041
+
1042
+ // src/components/easy/input/textarea.tsx
1043
+ var import_jsx_runtime13 = require("react/jsx-runtime");
1044
+ var EasyTextarea = React12.forwardRef(
1045
+ ({ label, helperText, errorText, id, name, className, ...props }, ref) => {
1046
+ const generatedId = React12.useId();
1047
+ const textareaId = id ?? generatedId;
1048
+ const helperId = helperText && !errorText ? `${textareaId}-helper` : void 0;
1049
+ const errorId = errorText ? `${textareaId}-error` : void 0;
1050
+ const [isFocused, setIsFocused] = React12.useState(false);
1051
+ const hasError = Boolean(errorText);
1052
+ const baseTextareaClasses = "min-h-[96px] w-full rounded-[var(--ui-radius-lg)] border border-[var(--ui-border-200)] bg-[var(--ui-background-0)] px-4 py-3 text-base font-medium text-[var(--ui-text-900)] placeholder:text-[var(--ui-text-400)] transition-all resize-y";
1053
+ const focusClasses2 = "focus-visible:outline-none focus-visible:ring-0 focus-visible:ring-offset-0 focus-visible:shadow-[0_0_0_1px_var(--ui-background-0),_0_0_0_2px_var(--ui-border-200)]";
1054
+ const disabledClasses2 = "disabled:cursor-not-allowed disabled:bg-[var(--ui-background-100)] disabled:text-[var(--ui-text-400)]";
1055
+ return /* @__PURE__ */ (0, import_jsx_runtime13.jsxs)("div", { className: "flex w-full flex-col gap-1.5", children: [
1056
+ label && /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(
1057
+ "label",
1058
+ {
1059
+ htmlFor: textareaId,
1060
+ className: "text-base font-medium text-[var(--ui-text-900)]",
1061
+ children: label
1062
+ }
1063
+ ),
1064
+ /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(
1065
+ Textarea,
1066
+ {
1067
+ ref,
1068
+ id: textareaId,
1069
+ name: name ?? textareaId,
1070
+ className: cn(
1071
+ baseTextareaClasses,
1072
+ focusClasses2,
1073
+ disabledClasses2,
1074
+ !isFocused && !hasError && "hover:bg-[var(--ui-background-100)]",
1075
+ isFocused && !hasError && "border-[var(--ui-border-900)]",
1076
+ hasError && "border-[var(--ui-danger-base)] focus-visible:shadow-[0_0_0_2px_var(--ui-background-0),_0_0_0_4px_var(--ui-danger-light)]",
1077
+ className
1078
+ ),
1079
+ "aria-invalid": hasError,
1080
+ "aria-describedby": errorId ?? helperId,
1081
+ onFocus: (event) => {
1082
+ setIsFocused(true);
1083
+ props.onFocus?.(event);
1084
+ },
1085
+ onBlur: (event) => {
1086
+ setIsFocused(false);
1087
+ props.onBlur?.(event);
1088
+ },
1089
+ ...props
1090
+ }
1091
+ ),
1092
+ hasError ? /* @__PURE__ */ (0, import_jsx_runtime13.jsxs)(
1093
+ "p",
1094
+ {
1095
+ id: errorId,
1096
+ className: "flex items-center gap-1 text-sm text-[var(--ui-danger-base)]",
1097
+ children: [
1098
+ /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(import_lucide_react6.AlertCircle, { className: "size-4" }),
1099
+ errorText
1100
+ ]
1101
+ }
1102
+ ) : helperText ? /* @__PURE__ */ (0, import_jsx_runtime13.jsx)("p", { id: helperId, className: "text-sm text-[var(--ui-text-500)]", children: helperText }) : null
1103
+ ] });
1104
+ }
1105
+ );
1106
+ EasyTextarea.displayName = "EasyTextarea";
1107
+
1108
+ // src/components/easy/checkbox.tsx
1109
+ var React13 = __toESM(require("react"), 1);
1110
+ var import_lucide_react7 = require("lucide-react");
1111
+ var import_jsx_runtime14 = require("react/jsx-runtime");
1112
+ var EasyCheckbox = React13.forwardRef(
1023
1113
  ({
1024
1114
  label,
1025
1115
  helperText,
@@ -1030,11 +1120,11 @@ var EasyCheckbox = React11.forwardRef(
1030
1120
  disabled,
1031
1121
  ...props
1032
1122
  }, ref) => {
1033
- const generatedId = React11.useId();
1123
+ const generatedId = React13.useId();
1034
1124
  const inputId = id ?? generatedId;
1035
1125
  const helperId = helperText && !errorText ? `${inputId}-helper` : void 0;
1036
1126
  const errorId = errorText ? `${inputId}-error` : void 0;
1037
- return /* @__PURE__ */ (0, import_jsx_runtime12.jsx)("div", { className: cn("flex w-full flex-col gap-1.5", className), children: /* @__PURE__ */ (0, import_jsx_runtime12.jsxs)(
1127
+ return /* @__PURE__ */ (0, import_jsx_runtime14.jsx)("div", { className: cn("flex w-full flex-col gap-1.5", className), children: /* @__PURE__ */ (0, import_jsx_runtime14.jsxs)(
1038
1128
  "label",
1039
1129
  {
1040
1130
  htmlFor: inputId,
@@ -1043,7 +1133,7 @@ var EasyCheckbox = React11.forwardRef(
1043
1133
  disabled && "cursor-not-allowed opacity-60"
1044
1134
  ),
1045
1135
  children: [
1046
- /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(
1136
+ /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(
1047
1137
  ShadcnCheckbox,
1048
1138
  {
1049
1139
  ref,
@@ -1062,9 +1152,9 @@ var EasyCheckbox = React11.forwardRef(
1062
1152
  ...props
1063
1153
  }
1064
1154
  ),
1065
- /* @__PURE__ */ (0, import_jsx_runtime12.jsxs)("div", { className: "flex flex-col gap-0.5", children: [
1066
- label && /* @__PURE__ */ (0, import_jsx_runtime12.jsx)("span", { className: cn(getTypographyClass("body-medium"), "text-[var(--ui-text-500)]"), children: label }),
1067
- helperText && !errorText && /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(
1155
+ /* @__PURE__ */ (0, import_jsx_runtime14.jsxs)("div", { className: "flex flex-col gap-0.5", children: [
1156
+ label && /* @__PURE__ */ (0, import_jsx_runtime14.jsx)("span", { className: cn(getTypographyClass("body-medium"), "text-[var(--ui-text-500)]"), children: label }),
1157
+ helperText && !errorText && /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(
1068
1158
  "span",
1069
1159
  {
1070
1160
  id: helperId,
@@ -1072,13 +1162,13 @@ var EasyCheckbox = React11.forwardRef(
1072
1162
  children: helperText
1073
1163
  }
1074
1164
  ),
1075
- errorText && /* @__PURE__ */ (0, import_jsx_runtime12.jsxs)(
1165
+ errorText && /* @__PURE__ */ (0, import_jsx_runtime14.jsxs)(
1076
1166
  "span",
1077
1167
  {
1078
1168
  id: errorId,
1079
1169
  className: "flex items-center gap-1 text-sm text-[var(--ui-danger-base)]",
1080
1170
  children: [
1081
- /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(import_lucide_react6.AlertCircle, { className: "size-4" }),
1171
+ /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(import_lucide_react7.AlertCircle, { className: "size-4" }),
1082
1172
  errorText
1083
1173
  ]
1084
1174
  }
@@ -1092,9 +1182,9 @@ var EasyCheckbox = React11.forwardRef(
1092
1182
  EasyCheckbox.displayName = "EasyCheckbox";
1093
1183
 
1094
1184
  // src/components/easy/container.tsx
1095
- var React12 = __toESM(require("react"), 1);
1185
+ var React14 = __toESM(require("react"), 1);
1096
1186
  var import_class_variance_authority3 = require("class-variance-authority");
1097
- var import_jsx_runtime13 = require("react/jsx-runtime");
1187
+ var import_jsx_runtime15 = require("react/jsx-runtime");
1098
1188
  var containerVariants = (0, import_class_variance_authority3.cva)(
1099
1189
  "mx-auto w-full",
1100
1190
  {
@@ -1120,9 +1210,9 @@ var containerVariants = (0, import_class_variance_authority3.cva)(
1120
1210
  }
1121
1211
  }
1122
1212
  );
1123
- var EasyContainer = React12.forwardRef(
1213
+ var EasyContainer = React14.forwardRef(
1124
1214
  ({ className, size, padding, ...props }, ref) => {
1125
- return /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(
1215
+ return /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(
1126
1216
  "div",
1127
1217
  {
1128
1218
  ref,
@@ -1135,11 +1225,11 @@ var EasyContainer = React12.forwardRef(
1135
1225
  EasyContainer.displayName = "EasyContainer";
1136
1226
 
1137
1227
  // src/components/easy/typography/display.tsx
1138
- var React13 = __toESM(require("react"), 1);
1139
- var import_jsx_runtime14 = require("react/jsx-runtime");
1140
- var EasyDisplay = React13.forwardRef(
1228
+ var React15 = __toESM(require("react"), 1);
1229
+ var import_jsx_runtime16 = require("react/jsx-runtime");
1230
+ var EasyDisplay = React15.forwardRef(
1141
1231
  ({ className, variant = "medium", as: Component = "h1", ...props }, ref) => {
1142
- return /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(
1232
+ return /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(
1143
1233
  Component,
1144
1234
  {
1145
1235
  ref,
@@ -1155,18 +1245,18 @@ var EasyDisplay = React13.forwardRef(
1155
1245
  EasyDisplay.displayName = "EasyDisplay";
1156
1246
 
1157
1247
  // src/components/easy/typography/heading.tsx
1158
- var React14 = __toESM(require("react"), 1);
1159
- var import_jsx_runtime15 = require("react/jsx-runtime");
1248
+ var React16 = __toESM(require("react"), 1);
1249
+ var import_jsx_runtime17 = require("react/jsx-runtime");
1160
1250
  var defaultHeadingElements = {
1161
1251
  large: "h1",
1162
1252
  medium: "h2",
1163
1253
  small: "h3",
1164
1254
  xsmall: "h4"
1165
1255
  };
1166
- var EasyHeading = React14.forwardRef(
1256
+ var EasyHeading = React16.forwardRef(
1167
1257
  ({ className, variant = "medium", as, ...props }, ref) => {
1168
1258
  const Component = as ?? defaultHeadingElements[variant];
1169
- return /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(
1259
+ return /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
1170
1260
  Component,
1171
1261
  {
1172
1262
  ref,
@@ -1182,11 +1272,11 @@ var EasyHeading = React14.forwardRef(
1182
1272
  EasyHeading.displayName = "EasyHeading";
1183
1273
 
1184
1274
  // src/components/easy/typography/label.tsx
1185
- var React15 = __toESM(require("react"), 1);
1186
- var import_jsx_runtime16 = require("react/jsx-runtime");
1187
- var EasyLabel = React15.forwardRef(
1275
+ var React17 = __toESM(require("react"), 1);
1276
+ var import_jsx_runtime18 = require("react/jsx-runtime");
1277
+ var EasyLabel = React17.forwardRef(
1188
1278
  ({ className, variant = "medium", as: Component = "label", ...props }, ref) => {
1189
- return /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(
1279
+ return /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
1190
1280
  Component,
1191
1281
  {
1192
1282
  ref,
@@ -1202,11 +1292,11 @@ var EasyLabel = React15.forwardRef(
1202
1292
  EasyLabel.displayName = "EasyLabel";
1203
1293
 
1204
1294
  // src/components/easy/typography/body.tsx
1205
- var React16 = __toESM(require("react"), 1);
1206
- var import_jsx_runtime17 = require("react/jsx-runtime");
1207
- var EasyBody = React16.forwardRef(
1295
+ var React18 = __toESM(require("react"), 1);
1296
+ var import_jsx_runtime19 = require("react/jsx-runtime");
1297
+ var EasyBody = React18.forwardRef(
1208
1298
  ({ className, variant = "medium", as: Component = "p", ...props }, ref) => {
1209
- return /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
1299
+ return /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(
1210
1300
  Component,
1211
1301
  {
1212
1302
  ref,
@@ -1230,17 +1320,17 @@ var EasyTypography = {
1230
1320
  };
1231
1321
 
1232
1322
  // src/components/easy/error-message.tsx
1233
- var React17 = __toESM(require("react"), 1);
1234
- var import_jsx_runtime18 = require("react/jsx-runtime");
1235
- var WarningTriangleIcon = () => /* @__PURE__ */ (0, import_jsx_runtime18.jsxs)("svg", { width: "32", height: "32", viewBox: "0 0 32 32", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: [
1236
- /* @__PURE__ */ (0, import_jsx_runtime18.jsx)("path", { d: "M6.6027 21.8034L13.6201 7.8074C14.6039 5.84505 17.405 5.84556 18.3881 7.80828L25.399 21.8043C26.2873 23.5775 24.998 25.6653 23.0148 25.6653H8.98652C7.00288 25.6653 5.71363 23.5767 6.6027 21.8034Z", fill: "#E93534", stroke: "#E93534", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round" }),
1237
- /* @__PURE__ */ (0, import_jsx_runtime18.jsx)("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M17.1951 8.40674C16.7035 7.42539 15.303 7.42513 14.8111 8.40631L7.79374 22.4023C7.3492 23.289 7.99383 24.3333 8.98564 24.3333H23.0139C24.0055 24.3333 24.6502 23.2894 24.206 22.4028L17.1951 8.40674ZM12.4273 7.2111C13.9031 4.26757 18.1046 4.26834 19.5794 7.21241L26.5903 21.2084C27.9226 23.8682 25.9887 26.9999 23.0139 26.9999H8.98564C6.01018 26.9999 4.07631 23.867 5.40991 21.2071L12.4273 7.2111Z", fill: "#E93534" }),
1238
- /* @__PURE__ */ (0, import_jsx_runtime18.jsx)("path", { d: "M17.3327 21.3333C17.3327 22.0697 16.7357 22.6667 15.9993 22.6667C15.263 22.6667 14.666 22.0697 14.666 21.3333C14.666 20.597 15.263 20 15.9993 20C16.7357 20 17.3327 20.597 17.3327 21.3333Z", fill: "white" }),
1239
- /* @__PURE__ */ (0, import_jsx_runtime18.jsx)("path", { d: "M14.666 12.0013C14.666 11.2649 15.263 10.668 15.9993 10.668C16.7357 10.668 17.3327 11.2649 17.3327 12.0013V17.3346C17.3327 18.071 16.7357 18.668 15.9993 18.668C15.263 18.668 14.666 18.071 14.666 17.3346V12.0013Z", fill: "white" })
1323
+ var React19 = __toESM(require("react"), 1);
1324
+ var import_jsx_runtime20 = require("react/jsx-runtime");
1325
+ var WarningTriangleIcon = () => /* @__PURE__ */ (0, import_jsx_runtime20.jsxs)("svg", { width: "32", height: "32", viewBox: "0 0 32 32", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: [
1326
+ /* @__PURE__ */ (0, import_jsx_runtime20.jsx)("path", { d: "M6.6027 21.8034L13.6201 7.8074C14.6039 5.84505 17.405 5.84556 18.3881 7.80828L25.399 21.8043C26.2873 23.5775 24.998 25.6653 23.0148 25.6653H8.98652C7.00288 25.6653 5.71363 23.5767 6.6027 21.8034Z", fill: "#E93534", stroke: "#E93534", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round" }),
1327
+ /* @__PURE__ */ (0, import_jsx_runtime20.jsx)("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M17.1951 8.40674C16.7035 7.42539 15.303 7.42513 14.8111 8.40631L7.79374 22.4023C7.3492 23.289 7.99383 24.3333 8.98564 24.3333H23.0139C24.0055 24.3333 24.6502 23.2894 24.206 22.4028L17.1951 8.40674ZM12.4273 7.2111C13.9031 4.26757 18.1046 4.26834 19.5794 7.21241L26.5903 21.2084C27.9226 23.8682 25.9887 26.9999 23.0139 26.9999H8.98564C6.01018 26.9999 4.07631 23.867 5.40991 21.2071L12.4273 7.2111Z", fill: "#E93534" }),
1328
+ /* @__PURE__ */ (0, import_jsx_runtime20.jsx)("path", { d: "M17.3327 21.3333C17.3327 22.0697 16.7357 22.6667 15.9993 22.6667C15.263 22.6667 14.666 22.0697 14.666 21.3333C14.666 20.597 15.263 20 15.9993 20C16.7357 20 17.3327 20.597 17.3327 21.3333Z", fill: "white" }),
1329
+ /* @__PURE__ */ (0, import_jsx_runtime20.jsx)("path", { d: "M14.666 12.0013C14.666 11.2649 15.263 10.668 15.9993 10.668C16.7357 10.668 17.3327 11.2649 17.3327 12.0013V17.3346C17.3327 18.071 16.7357 18.668 15.9993 18.668C15.263 18.668 14.666 18.071 14.666 17.3346V12.0013Z", fill: "white" })
1240
1330
  ] });
1241
- var EasyErrorMessage = React17.forwardRef(
1331
+ var EasyErrorMessage = React19.forwardRef(
1242
1332
  ({ className, title, description, icon, ...props }, ref) => {
1243
- return /* @__PURE__ */ (0, import_jsx_runtime18.jsxs)(
1333
+ return /* @__PURE__ */ (0, import_jsx_runtime20.jsxs)(
1244
1334
  "div",
1245
1335
  {
1246
1336
  ref,
@@ -1251,9 +1341,9 @@ var EasyErrorMessage = React17.forwardRef(
1251
1341
  ),
1252
1342
  ...props,
1253
1343
  children: [
1254
- /* @__PURE__ */ (0, import_jsx_runtime18.jsx)("div", { className: "flex-shrink-0", children: icon ?? /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(WarningTriangleIcon, {}) }),
1255
- /* @__PURE__ */ (0, import_jsx_runtime18.jsxs)("div", { className: "flex flex-col items-center text-center", children: [
1256
- /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
1344
+ /* @__PURE__ */ (0, import_jsx_runtime20.jsx)("div", { className: "flex-shrink-0", children: icon ?? /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(WarningTriangleIcon, {}) }),
1345
+ /* @__PURE__ */ (0, import_jsx_runtime20.jsxs)("div", { className: "flex flex-col items-center text-center", children: [
1346
+ /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(
1257
1347
  "div",
1258
1348
  {
1259
1349
  className: cn(
@@ -1263,7 +1353,7 @@ var EasyErrorMessage = React17.forwardRef(
1263
1353
  children: title
1264
1354
  }
1265
1355
  ),
1266
- description && /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
1356
+ description && /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(
1267
1357
  "div",
1268
1358
  {
1269
1359
  className: cn(
@@ -1282,16 +1372,16 @@ var EasyErrorMessage = React17.forwardRef(
1282
1372
  EasyErrorMessage.displayName = "EasyErrorMessage";
1283
1373
 
1284
1374
  // src/components/easy/message-dialog.tsx
1285
- var import_lucide_react8 = require("lucide-react");
1375
+ var import_lucide_react9 = require("lucide-react");
1286
1376
 
1287
1377
  // src/components/ui/dialog.tsx
1288
- var React18 = __toESM(require("react"), 1);
1378
+ var React20 = __toESM(require("react"), 1);
1289
1379
  var DialogPrimitive = __toESM(require("@radix-ui/react-dialog"), 1);
1290
- var import_lucide_react7 = require("lucide-react");
1291
- var import_jsx_runtime19 = require("react/jsx-runtime");
1380
+ var import_lucide_react8 = require("lucide-react");
1381
+ var import_jsx_runtime21 = require("react/jsx-runtime");
1292
1382
  var ShadcnDialog = DialogPrimitive.Root;
1293
1383
  var ShadcnDialogPortal = DialogPrimitive.Portal;
1294
- var ShadcnDialogOverlay = React18.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(
1384
+ var ShadcnDialogOverlay = React20.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(
1295
1385
  DialogPrimitive.Overlay,
1296
1386
  {
1297
1387
  ref,
@@ -1303,9 +1393,9 @@ var ShadcnDialogOverlay = React18.forwardRef(({ className, ...props }, ref) => /
1303
1393
  }
1304
1394
  ));
1305
1395
  ShadcnDialogOverlay.displayName = DialogPrimitive.Overlay.displayName;
1306
- var ShadcnDialogContent = React18.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime19.jsxs)(ShadcnDialogPortal, { children: [
1307
- /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(ShadcnDialogOverlay, {}),
1308
- /* @__PURE__ */ (0, import_jsx_runtime19.jsxs)(
1396
+ var ShadcnDialogContent = React20.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime21.jsxs)(ShadcnDialogPortal, { children: [
1397
+ /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(ShadcnDialogOverlay, {}),
1398
+ /* @__PURE__ */ (0, import_jsx_runtime21.jsxs)(
1309
1399
  DialogPrimitive.Content,
1310
1400
  {
1311
1401
  ref,
@@ -1316,16 +1406,16 @@ var ShadcnDialogContent = React18.forwardRef(({ className, children, ...props },
1316
1406
  ...props,
1317
1407
  children: [
1318
1408
  children,
1319
- /* @__PURE__ */ (0, import_jsx_runtime19.jsxs)(DialogPrimitive.Close, { className: "absolute right-4 top-4 rounded-sm opacity-70 transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-[var(--ui-ring)] focus:ring-offset-2 disabled:pointer-events-none", children: [
1320
- /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(import_lucide_react7.X, { className: "size-4" }),
1321
- /* @__PURE__ */ (0, import_jsx_runtime19.jsx)("span", { className: "sr-only", children: "Kapat" })
1409
+ /* @__PURE__ */ (0, import_jsx_runtime21.jsxs)(DialogPrimitive.Close, { className: "absolute right-4 top-4 rounded-sm opacity-70 transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-[var(--ui-ring)] focus:ring-offset-2 disabled:pointer-events-none", children: [
1410
+ /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(import_lucide_react8.X, { className: "size-4" }),
1411
+ /* @__PURE__ */ (0, import_jsx_runtime21.jsx)("span", { className: "sr-only", children: "Kapat" })
1322
1412
  ] })
1323
1413
  ]
1324
1414
  }
1325
1415
  )
1326
1416
  ] }));
1327
1417
  ShadcnDialogContent.displayName = DialogPrimitive.Content.displayName;
1328
- var ShadcnDialogHeader = ({ className, ...props }) => /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(
1418
+ var ShadcnDialogHeader = ({ className, ...props }) => /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(
1329
1419
  "div",
1330
1420
  {
1331
1421
  className: cn(
@@ -1336,7 +1426,7 @@ var ShadcnDialogHeader = ({ className, ...props }) => /* @__PURE__ */ (0, import
1336
1426
  }
1337
1427
  );
1338
1428
  ShadcnDialogHeader.displayName = "ShadcnDialogHeader";
1339
- var ShadcnDialogFooter = ({ className, ...props }) => /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(
1429
+ var ShadcnDialogFooter = ({ className, ...props }) => /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(
1340
1430
  "div",
1341
1431
  {
1342
1432
  className: cn(
@@ -1347,7 +1437,7 @@ var ShadcnDialogFooter = ({ className, ...props }) => /* @__PURE__ */ (0, import
1347
1437
  }
1348
1438
  );
1349
1439
  ShadcnDialogFooter.displayName = "ShadcnDialogFooter";
1350
- var ShadcnDialogTitle = React18.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(
1440
+ var ShadcnDialogTitle = React20.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(
1351
1441
  DialogPrimitive.Title,
1352
1442
  {
1353
1443
  ref,
@@ -1359,7 +1449,7 @@ var ShadcnDialogTitle = React18.forwardRef(({ className, ...props }, ref) => /*
1359
1449
  }
1360
1450
  ));
1361
1451
  ShadcnDialogTitle.displayName = DialogPrimitive.Title.displayName;
1362
- var ShadcnDialogDescription = React18.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(
1452
+ var ShadcnDialogDescription = React20.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(
1363
1453
  DialogPrimitive.Description,
1364
1454
  {
1365
1455
  ref,
@@ -1373,22 +1463,22 @@ var ShadcnDialogDescription = React18.forwardRef(({ className, ...props }, ref)
1373
1463
  ShadcnDialogDescription.displayName = DialogPrimitive.Description.displayName;
1374
1464
 
1375
1465
  // src/components/easy/message-dialog.tsx
1376
- var import_jsx_runtime20 = require("react/jsx-runtime");
1466
+ var import_jsx_runtime22 = require("react/jsx-runtime");
1377
1467
  var iconConfig = {
1378
1468
  success: {
1379
- Icon: import_lucide_react8.CheckCircle,
1469
+ Icon: import_lucide_react9.CheckCircle,
1380
1470
  containerClass: "bg-[var(--ui-success-light)]",
1381
1471
  iconClass: "text-[var(--ui-success-base)]",
1382
1472
  titleClass: "text-[var(--ui-success-base)]"
1383
1473
  },
1384
1474
  warning: {
1385
- Icon: import_lucide_react8.AlertTriangle,
1475
+ Icon: import_lucide_react9.AlertTriangle,
1386
1476
  containerClass: "bg-[var(--ui-warning-light)]",
1387
1477
  iconClass: "text-[var(--ui-warning-base)]",
1388
1478
  titleClass: "text-[var(--ui-warning-base)]"
1389
1479
  },
1390
1480
  error: {
1391
- Icon: import_lucide_react8.AlertTriangle,
1481
+ Icon: import_lucide_react9.AlertTriangle,
1392
1482
  containerClass: "bg-[var(--ui-danger-light)]",
1393
1483
  iconClass: "text-[var(--ui-danger-base)]",
1394
1484
  titleClass: "text-[var(--ui-danger-base)]"
@@ -1414,21 +1504,21 @@ var EasyMessageDialog = ({
1414
1504
  onClose();
1415
1505
  }
1416
1506
  };
1417
- return /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(ShadcnDialog, { open, onOpenChange: handleOpenChange, children: /* @__PURE__ */ (0, import_jsx_runtime20.jsxs)(ShadcnDialogContent, { className: "sm:max-w-md rounded-xl", children: [
1418
- /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(ShadcnDialogTitle, { className: "sr-only", children: title }),
1419
- /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(ShadcnDialogDescription, { className: "sr-only", children: message }),
1420
- /* @__PURE__ */ (0, import_jsx_runtime20.jsxs)("div", { className: "flex flex-col items-center gap-4 px-6 py-4 text-center", children: [
1421
- /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(
1507
+ return /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(ShadcnDialog, { open, onOpenChange: handleOpenChange, children: /* @__PURE__ */ (0, import_jsx_runtime22.jsxs)(ShadcnDialogContent, { className: "sm:max-w-md rounded-xl", children: [
1508
+ /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(ShadcnDialogTitle, { className: "sr-only", children: title }),
1509
+ /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(ShadcnDialogDescription, { className: "sr-only", children: message }),
1510
+ /* @__PURE__ */ (0, import_jsx_runtime22.jsxs)("div", { className: "flex flex-col items-center gap-4 px-6 py-4 text-center", children: [
1511
+ /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(
1422
1512
  "div",
1423
1513
  {
1424
1514
  className: cn(
1425
1515
  "flex size-16 items-center justify-center rounded-full",
1426
1516
  containerClass
1427
1517
  ),
1428
- children: /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(Icon2, { className: cn("size-8", iconClass) })
1518
+ children: /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(Icon2, { className: cn("size-8", iconClass) })
1429
1519
  }
1430
1520
  ),
1431
- /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(
1521
+ /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(
1432
1522
  EasyHeading,
1433
1523
  {
1434
1524
  as: "h3",
@@ -1438,8 +1528,8 @@ var EasyMessageDialog = ({
1438
1528
  children: title
1439
1529
  }
1440
1530
  ),
1441
- /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(EasyBody, { as: "p", variant: "medium", className: "text-[var(--ui-text-500)]", children: message }),
1442
- /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(
1531
+ /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(EasyBody, { as: "p", variant: "medium", className: "text-[var(--ui-text-500)]", children: message }),
1532
+ /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(
1443
1533
  EasyButton,
1444
1534
  {
1445
1535
  variant: "important",
@@ -1456,20 +1546,20 @@ var EasyMessageDialog = ({
1456
1546
  EasyMessageDialog.displayName = "EasyMessageDialog";
1457
1547
 
1458
1548
  // src/components/easy/sidebar.tsx
1459
- var React24 = __toESM(require("react"), 1);
1549
+ var React26 = __toESM(require("react"), 1);
1460
1550
 
1461
1551
  // src/components/ui/sidebar.tsx
1462
- var React23 = __toESM(require("react"), 1);
1552
+ var React25 = __toESM(require("react"), 1);
1463
1553
  var import_react_slot2 = require("@radix-ui/react-slot");
1464
1554
  var import_class_variance_authority5 = require("class-variance-authority");
1465
- var import_lucide_react10 = require("lucide-react");
1555
+ var import_lucide_react11 = require("lucide-react");
1466
1556
 
1467
1557
  // src/hooks/use-mobile.tsx
1468
- var React19 = __toESM(require("react"), 1);
1558
+ var React21 = __toESM(require("react"), 1);
1469
1559
  var MOBILE_BREAKPOINT = 768;
1470
1560
  function useIsMobile() {
1471
- const [isMobile, setIsMobile] = React19.useState(void 0);
1472
- React19.useEffect(() => {
1561
+ const [isMobile, setIsMobile] = React21.useState(void 0);
1562
+ React21.useEffect(() => {
1473
1563
  const mql = window.matchMedia(`(max-width: ${MOBILE_BREAKPOINT - 1}px)`);
1474
1564
  const onChange = () => {
1475
1565
  setIsMobile(window.innerWidth < MOBILE_BREAKPOINT);
@@ -1482,11 +1572,11 @@ function useIsMobile() {
1482
1572
  }
1483
1573
 
1484
1574
  // src/components/ui/separator.tsx
1485
- var React20 = __toESM(require("react"), 1);
1575
+ var React22 = __toESM(require("react"), 1);
1486
1576
  var SeparatorPrimitive = __toESM(require("@radix-ui/react-separator"), 1);
1487
- var import_jsx_runtime21 = require("react/jsx-runtime");
1488
- var Separator = React20.forwardRef(
1489
- ({ className, orientation = "horizontal", decorative = true, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(
1577
+ var import_jsx_runtime23 = require("react/jsx-runtime");
1578
+ var Separator = React22.forwardRef(
1579
+ ({ className, orientation = "horizontal", decorative = true, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(
1490
1580
  SeparatorPrimitive.Root,
1491
1581
  {
1492
1582
  ref,
@@ -1504,14 +1594,14 @@ var Separator = React20.forwardRef(
1504
1594
  Separator.displayName = SeparatorPrimitive.Root.displayName;
1505
1595
 
1506
1596
  // src/components/ui/sheet.tsx
1507
- var React21 = __toESM(require("react"), 1);
1597
+ var React23 = __toESM(require("react"), 1);
1508
1598
  var SheetPrimitive = __toESM(require("@radix-ui/react-dialog"), 1);
1509
1599
  var import_class_variance_authority4 = require("class-variance-authority");
1510
- var import_lucide_react9 = require("lucide-react");
1511
- var import_jsx_runtime22 = require("react/jsx-runtime");
1600
+ var import_lucide_react10 = require("lucide-react");
1601
+ var import_jsx_runtime24 = require("react/jsx-runtime");
1512
1602
  var Sheet = SheetPrimitive.Root;
1513
1603
  var SheetPortal = SheetPrimitive.Portal;
1514
- var SheetOverlay = React21.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(
1604
+ var SheetOverlay = React23.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(
1515
1605
  SheetPrimitive.Overlay,
1516
1606
  {
1517
1607
  className: cn(
@@ -1539,9 +1629,9 @@ var sheetVariants = (0, import_class_variance_authority4.cva)(
1539
1629
  }
1540
1630
  }
1541
1631
  );
1542
- var SheetContent = React21.forwardRef(({ side = "right", className, children, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime22.jsxs)(SheetPortal, { children: [
1543
- /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(SheetOverlay, {}),
1544
- /* @__PURE__ */ (0, import_jsx_runtime22.jsxs)(
1632
+ var SheetContent = React23.forwardRef(({ side = "right", className, children, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime24.jsxs)(SheetPortal, { children: [
1633
+ /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(SheetOverlay, {}),
1634
+ /* @__PURE__ */ (0, import_jsx_runtime24.jsxs)(
1545
1635
  SheetPrimitive.Content,
1546
1636
  {
1547
1637
  ref,
@@ -1549,9 +1639,9 @@ var SheetContent = React21.forwardRef(({ side = "right", className, children, ..
1549
1639
  ...props,
1550
1640
  children: [
1551
1641
  children,
1552
- /* @__PURE__ */ (0, import_jsx_runtime22.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: [
1553
- /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(import_lucide_react9.X, { className: "h-4 w-4" }),
1554
- /* @__PURE__ */ (0, import_jsx_runtime22.jsx)("span", { className: "sr-only", children: "Close" })
1642
+ /* @__PURE__ */ (0, import_jsx_runtime24.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: [
1643
+ /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(import_lucide_react10.X, { className: "h-4 w-4" }),
1644
+ /* @__PURE__ */ (0, import_jsx_runtime24.jsx)("span", { className: "sr-only", children: "Close" })
1555
1645
  ] })
1556
1646
  ]
1557
1647
  }
@@ -1561,7 +1651,7 @@ SheetContent.displayName = SheetPrimitive.Content.displayName;
1561
1651
  var SheetHeader = ({
1562
1652
  className,
1563
1653
  ...props
1564
- }) => /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(
1654
+ }) => /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(
1565
1655
  "div",
1566
1656
  {
1567
1657
  className: cn(
@@ -1575,7 +1665,7 @@ SheetHeader.displayName = "SheetHeader";
1575
1665
  var SheetFooter = ({
1576
1666
  className,
1577
1667
  ...props
1578
- }) => /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(
1668
+ }) => /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(
1579
1669
  "div",
1580
1670
  {
1581
1671
  className: cn(
@@ -1586,7 +1676,7 @@ var SheetFooter = ({
1586
1676
  }
1587
1677
  );
1588
1678
  SheetFooter.displayName = "SheetFooter";
1589
- var SheetTitle = React21.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(
1679
+ var SheetTitle = React23.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(
1590
1680
  SheetPrimitive.Title,
1591
1681
  {
1592
1682
  ref,
@@ -1595,7 +1685,7 @@ var SheetTitle = React21.forwardRef(({ className, ...props }, ref) => /* @__PURE
1595
1685
  }
1596
1686
  ));
1597
1687
  SheetTitle.displayName = SheetPrimitive.Title.displayName;
1598
- var SheetDescription = React21.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(
1688
+ var SheetDescription = React23.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(
1599
1689
  SheetPrimitive.Description,
1600
1690
  {
1601
1691
  ref,
@@ -1606,12 +1696,12 @@ var SheetDescription = React21.forwardRef(({ className, ...props }, ref) => /* @
1606
1696
  SheetDescription.displayName = SheetPrimitive.Description.displayName;
1607
1697
 
1608
1698
  // src/components/ui/skeleton.tsx
1609
- var import_jsx_runtime23 = require("react/jsx-runtime");
1699
+ var import_jsx_runtime25 = require("react/jsx-runtime");
1610
1700
  function Skeleton({
1611
1701
  className,
1612
1702
  ...props
1613
1703
  }) {
1614
- return /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(
1704
+ return /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
1615
1705
  "div",
1616
1706
  {
1617
1707
  className: cn("animate-pulse rounded-md bg-muted", className),
@@ -1621,13 +1711,13 @@ function Skeleton({
1621
1711
  }
1622
1712
 
1623
1713
  // src/components/ui/tooltip.tsx
1624
- var React22 = __toESM(require("react"), 1);
1714
+ var React24 = __toESM(require("react"), 1);
1625
1715
  var TooltipPrimitive = __toESM(require("@radix-ui/react-tooltip"), 1);
1626
- var import_jsx_runtime24 = require("react/jsx-runtime");
1716
+ var import_jsx_runtime26 = require("react/jsx-runtime");
1627
1717
  var TooltipProvider = TooltipPrimitive.Provider;
1628
1718
  var Tooltip = TooltipPrimitive.Root;
1629
1719
  var TooltipTrigger = TooltipPrimitive.Trigger;
1630
- var TooltipContent = React22.forwardRef(({ className, sideOffset = 4, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(
1720
+ var TooltipContent = React24.forwardRef(({ className, sideOffset = 4, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
1631
1721
  TooltipPrimitive.Content,
1632
1722
  {
1633
1723
  ref,
@@ -1642,22 +1732,22 @@ var TooltipContent = React22.forwardRef(({ className, sideOffset = 4, ...props }
1642
1732
  TooltipContent.displayName = TooltipPrimitive.Content.displayName;
1643
1733
 
1644
1734
  // src/components/ui/sidebar.tsx
1645
- var import_jsx_runtime25 = require("react/jsx-runtime");
1735
+ var import_jsx_runtime27 = require("react/jsx-runtime");
1646
1736
  var SIDEBAR_COOKIE_NAME = "sidebar_state";
1647
1737
  var SIDEBAR_COOKIE_MAX_AGE = 60 * 60 * 24 * 7;
1648
1738
  var SIDEBAR_WIDTH = "16rem";
1649
1739
  var SIDEBAR_WIDTH_MOBILE = "18rem";
1650
1740
  var SIDEBAR_WIDTH_ICON = "3rem";
1651
1741
  var SIDEBAR_KEYBOARD_SHORTCUT = "b";
1652
- var SidebarContext = React23.createContext(null);
1742
+ var SidebarContext = React25.createContext(null);
1653
1743
  function useSidebar() {
1654
- const context = React23.useContext(SidebarContext);
1744
+ const context = React25.useContext(SidebarContext);
1655
1745
  if (!context) {
1656
1746
  throw new Error("useSidebar must be used within a SidebarProvider.");
1657
1747
  }
1658
1748
  return context;
1659
1749
  }
1660
- var SidebarProvider = React23.forwardRef(
1750
+ var SidebarProvider = React25.forwardRef(
1661
1751
  ({
1662
1752
  defaultOpen = true,
1663
1753
  open: openProp,
@@ -1668,10 +1758,10 @@ var SidebarProvider = React23.forwardRef(
1668
1758
  ...props
1669
1759
  }, ref) => {
1670
1760
  const isMobile = useIsMobile();
1671
- const [openMobile, setOpenMobile] = React23.useState(false);
1672
- const [_open, _setOpen] = React23.useState(defaultOpen);
1761
+ const [openMobile, setOpenMobile] = React25.useState(false);
1762
+ const [_open, _setOpen] = React25.useState(defaultOpen);
1673
1763
  const open = openProp ?? _open;
1674
- const setOpen = React23.useCallback(
1764
+ const setOpen = React25.useCallback(
1675
1765
  (value) => {
1676
1766
  const openState = typeof value === "function" ? value(open) : value;
1677
1767
  if (setOpenProp) {
@@ -1683,10 +1773,10 @@ var SidebarProvider = React23.forwardRef(
1683
1773
  },
1684
1774
  [setOpenProp, open]
1685
1775
  );
1686
- const toggleSidebar = React23.useCallback(() => {
1776
+ const toggleSidebar = React25.useCallback(() => {
1687
1777
  return isMobile ? setOpenMobile((open2) => !open2) : setOpen((open2) => !open2);
1688
1778
  }, [isMobile, setOpen, setOpenMobile]);
1689
- React23.useEffect(() => {
1779
+ React25.useEffect(() => {
1690
1780
  const handleKeyDown = (event) => {
1691
1781
  if (event.key === SIDEBAR_KEYBOARD_SHORTCUT && (event.metaKey || event.ctrlKey)) {
1692
1782
  event.preventDefault();
@@ -1697,7 +1787,7 @@ var SidebarProvider = React23.forwardRef(
1697
1787
  return () => window.removeEventListener("keydown", handleKeyDown);
1698
1788
  }, [toggleSidebar]);
1699
1789
  const state = open ? "expanded" : "collapsed";
1700
- const contextValue = React23.useMemo(
1790
+ const contextValue = React25.useMemo(
1701
1791
  () => ({
1702
1792
  state,
1703
1793
  open,
@@ -1709,7 +1799,7 @@ var SidebarProvider = React23.forwardRef(
1709
1799
  }),
1710
1800
  [state, open, setOpen, isMobile, openMobile, setOpenMobile, toggleSidebar]
1711
1801
  );
1712
- return /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(SidebarContext.Provider, { value: contextValue, children: /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(TooltipProvider, { delayDuration: 0, children: /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
1802
+ return /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(SidebarContext.Provider, { value: contextValue, children: /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(TooltipProvider, { delayDuration: 0, children: /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
1713
1803
  "div",
1714
1804
  {
1715
1805
  style: {
@@ -1729,7 +1819,7 @@ var SidebarProvider = React23.forwardRef(
1729
1819
  }
1730
1820
  );
1731
1821
  SidebarProvider.displayName = "SidebarProvider";
1732
- var Sidebar = React23.forwardRef(
1822
+ var Sidebar = React25.forwardRef(
1733
1823
  ({
1734
1824
  side = "left",
1735
1825
  variant = "sidebar",
@@ -1740,7 +1830,7 @@ var Sidebar = React23.forwardRef(
1740
1830
  }, ref) => {
1741
1831
  const { isMobile, state, openMobile, setOpenMobile } = useSidebar();
1742
1832
  if (collapsible === "none") {
1743
- return /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
1833
+ return /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
1744
1834
  "div",
1745
1835
  {
1746
1836
  className: cn(
@@ -1754,7 +1844,7 @@ var Sidebar = React23.forwardRef(
1754
1844
  );
1755
1845
  }
1756
1846
  if (isMobile) {
1757
- return /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(Sheet, { open: openMobile, onOpenChange: setOpenMobile, ...props, children: /* @__PURE__ */ (0, import_jsx_runtime25.jsxs)(
1847
+ return /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(Sheet, { open: openMobile, onOpenChange: setOpenMobile, ...props, children: /* @__PURE__ */ (0, import_jsx_runtime27.jsxs)(
1758
1848
  SheetContent,
1759
1849
  {
1760
1850
  "data-sidebar": "sidebar",
@@ -1765,16 +1855,16 @@ var Sidebar = React23.forwardRef(
1765
1855
  },
1766
1856
  side,
1767
1857
  children: [
1768
- /* @__PURE__ */ (0, import_jsx_runtime25.jsxs)(SheetHeader, { className: "sr-only", children: [
1769
- /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(SheetTitle, { children: "Sidebar" }),
1770
- /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(SheetDescription, { children: "Displays the mobile sidebar." })
1858
+ /* @__PURE__ */ (0, import_jsx_runtime27.jsxs)(SheetHeader, { className: "sr-only", children: [
1859
+ /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(SheetTitle, { children: "Sidebar" }),
1860
+ /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(SheetDescription, { children: "Displays the mobile sidebar." })
1771
1861
  ] }),
1772
- /* @__PURE__ */ (0, import_jsx_runtime25.jsx)("div", { className: "flex h-full w-full flex-col", children })
1862
+ /* @__PURE__ */ (0, import_jsx_runtime27.jsx)("div", { className: "flex h-full w-full flex-col", children })
1773
1863
  ]
1774
1864
  }
1775
1865
  ) });
1776
1866
  }
1777
- return /* @__PURE__ */ (0, import_jsx_runtime25.jsxs)(
1867
+ return /* @__PURE__ */ (0, import_jsx_runtime27.jsxs)(
1778
1868
  "div",
1779
1869
  {
1780
1870
  ref,
@@ -1784,7 +1874,7 @@ var Sidebar = React23.forwardRef(
1784
1874
  "data-variant": variant,
1785
1875
  "data-side": side,
1786
1876
  children: [
1787
- /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
1877
+ /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
1788
1878
  "div",
1789
1879
  {
1790
1880
  className: cn(
@@ -1795,7 +1885,7 @@ var Sidebar = React23.forwardRef(
1795
1885
  )
1796
1886
  }
1797
1887
  ),
1798
- /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
1888
+ /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
1799
1889
  "div",
1800
1890
  {
1801
1891
  className: cn(
@@ -1806,7 +1896,7 @@ var Sidebar = React23.forwardRef(
1806
1896
  className
1807
1897
  ),
1808
1898
  ...props,
1809
- children: /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
1899
+ children: /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
1810
1900
  "div",
1811
1901
  {
1812
1902
  "data-sidebar": "sidebar",
@@ -1822,9 +1912,9 @@ var Sidebar = React23.forwardRef(
1822
1912
  }
1823
1913
  );
1824
1914
  Sidebar.displayName = "Sidebar";
1825
- var SidebarTrigger = React23.forwardRef(({ className, onClick, ...props }, ref) => {
1915
+ var SidebarTrigger = React25.forwardRef(({ className, onClick, ...props }, ref) => {
1826
1916
  const { toggleSidebar } = useSidebar();
1827
- return /* @__PURE__ */ (0, import_jsx_runtime25.jsxs)(
1917
+ return /* @__PURE__ */ (0, import_jsx_runtime27.jsxs)(
1828
1918
  ShadcnButton,
1829
1919
  {
1830
1920
  ref,
@@ -1838,16 +1928,16 @@ var SidebarTrigger = React23.forwardRef(({ className, onClick, ...props }, ref)
1838
1928
  },
1839
1929
  ...props,
1840
1930
  children: [
1841
- /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(import_lucide_react10.PanelLeft, {}),
1842
- /* @__PURE__ */ (0, import_jsx_runtime25.jsx)("span", { className: "sr-only", children: "Toggle Sidebar" })
1931
+ /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(import_lucide_react11.PanelLeft, {}),
1932
+ /* @__PURE__ */ (0, import_jsx_runtime27.jsx)("span", { className: "sr-only", children: "Toggle Sidebar" })
1843
1933
  ]
1844
1934
  }
1845
1935
  );
1846
1936
  });
1847
1937
  SidebarTrigger.displayName = "SidebarTrigger";
1848
- var SidebarRail = React23.forwardRef(({ className, ...props }, ref) => {
1938
+ var SidebarRail = React25.forwardRef(({ className, ...props }, ref) => {
1849
1939
  const { toggleSidebar } = useSidebar();
1850
- return /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
1940
+ return /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
1851
1941
  "button",
1852
1942
  {
1853
1943
  ref,
@@ -1870,8 +1960,8 @@ var SidebarRail = React23.forwardRef(({ className, ...props }, ref) => {
1870
1960
  );
1871
1961
  });
1872
1962
  SidebarRail.displayName = "SidebarRail";
1873
- var SidebarInset = React23.forwardRef(({ className, ...props }, ref) => {
1874
- return /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
1963
+ var SidebarInset = React25.forwardRef(({ className, ...props }, ref) => {
1964
+ return /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
1875
1965
  "main",
1876
1966
  {
1877
1967
  ref,
@@ -1885,8 +1975,8 @@ var SidebarInset = React23.forwardRef(({ className, ...props }, ref) => {
1885
1975
  );
1886
1976
  });
1887
1977
  SidebarInset.displayName = "SidebarInset";
1888
- var SidebarInput = React23.forwardRef(({ className, ...props }, ref) => {
1889
- return /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
1978
+ var SidebarInput = React25.forwardRef(({ className, ...props }, ref) => {
1979
+ return /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
1890
1980
  ShadcnInput,
1891
1981
  {
1892
1982
  ref,
@@ -1900,8 +1990,8 @@ var SidebarInput = React23.forwardRef(({ className, ...props }, ref) => {
1900
1990
  );
1901
1991
  });
1902
1992
  SidebarInput.displayName = "SidebarInput";
1903
- var SidebarHeader = React23.forwardRef(({ className, ...props }, ref) => {
1904
- return /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
1993
+ var SidebarHeader = React25.forwardRef(({ className, ...props }, ref) => {
1994
+ return /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
1905
1995
  "div",
1906
1996
  {
1907
1997
  ref,
@@ -1912,8 +2002,8 @@ var SidebarHeader = React23.forwardRef(({ className, ...props }, ref) => {
1912
2002
  );
1913
2003
  });
1914
2004
  SidebarHeader.displayName = "SidebarHeader";
1915
- var SidebarFooter = React23.forwardRef(({ className, ...props }, ref) => {
1916
- return /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
2005
+ var SidebarFooter = React25.forwardRef(({ className, ...props }, ref) => {
2006
+ return /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
1917
2007
  "div",
1918
2008
  {
1919
2009
  ref,
@@ -1924,8 +2014,8 @@ var SidebarFooter = React23.forwardRef(({ className, ...props }, ref) => {
1924
2014
  );
1925
2015
  });
1926
2016
  SidebarFooter.displayName = "SidebarFooter";
1927
- var SidebarSeparator = React23.forwardRef(({ className, ...props }, ref) => {
1928
- return /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
2017
+ var SidebarSeparator = React25.forwardRef(({ className, ...props }, ref) => {
2018
+ return /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
1929
2019
  Separator,
1930
2020
  {
1931
2021
  ref,
@@ -1936,8 +2026,8 @@ var SidebarSeparator = React23.forwardRef(({ className, ...props }, ref) => {
1936
2026
  );
1937
2027
  });
1938
2028
  SidebarSeparator.displayName = "SidebarSeparator";
1939
- var SidebarContent = React23.forwardRef(({ className, ...props }, ref) => {
1940
- return /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
2029
+ var SidebarContent = React25.forwardRef(({ className, ...props }, ref) => {
2030
+ return /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
1941
2031
  "div",
1942
2032
  {
1943
2033
  ref,
@@ -1951,8 +2041,8 @@ var SidebarContent = React23.forwardRef(({ className, ...props }, ref) => {
1951
2041
  );
1952
2042
  });
1953
2043
  SidebarContent.displayName = "SidebarContent";
1954
- var SidebarGroup = React23.forwardRef(({ className, ...props }, ref) => {
1955
- return /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
2044
+ var SidebarGroup = React25.forwardRef(({ className, ...props }, ref) => {
2045
+ return /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
1956
2046
  "div",
1957
2047
  {
1958
2048
  ref,
@@ -1963,9 +2053,9 @@ var SidebarGroup = React23.forwardRef(({ className, ...props }, ref) => {
1963
2053
  );
1964
2054
  });
1965
2055
  SidebarGroup.displayName = "SidebarGroup";
1966
- var SidebarGroupLabel = React23.forwardRef(({ className, asChild = false, ...props }, ref) => {
2056
+ var SidebarGroupLabel = React25.forwardRef(({ className, asChild = false, ...props }, ref) => {
1967
2057
  const Comp = asChild ? import_react_slot2.Slot : "div";
1968
- return /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
2058
+ return /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
1969
2059
  Comp,
1970
2060
  {
1971
2061
  ref,
@@ -1980,9 +2070,9 @@ var SidebarGroupLabel = React23.forwardRef(({ className, asChild = false, ...pro
1980
2070
  );
1981
2071
  });
1982
2072
  SidebarGroupLabel.displayName = "SidebarGroupLabel";
1983
- var SidebarGroupAction = React23.forwardRef(({ className, asChild = false, ...props }, ref) => {
2073
+ var SidebarGroupAction = React25.forwardRef(({ className, asChild = false, ...props }, ref) => {
1984
2074
  const Comp = asChild ? import_react_slot2.Slot : "button";
1985
- return /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
2075
+ return /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
1986
2076
  Comp,
1987
2077
  {
1988
2078
  ref,
@@ -1999,7 +2089,7 @@ var SidebarGroupAction = React23.forwardRef(({ className, asChild = false, ...pr
1999
2089
  );
2000
2090
  });
2001
2091
  SidebarGroupAction.displayName = "SidebarGroupAction";
2002
- var SidebarGroupContent = React23.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
2092
+ var SidebarGroupContent = React25.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
2003
2093
  "div",
2004
2094
  {
2005
2095
  ref,
@@ -2009,7 +2099,7 @@ var SidebarGroupContent = React23.forwardRef(({ className, ...props }, ref) => /
2009
2099
  }
2010
2100
  ));
2011
2101
  SidebarGroupContent.displayName = "SidebarGroupContent";
2012
- var SidebarMenu = React23.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
2102
+ var SidebarMenu = React25.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
2013
2103
  "ul",
2014
2104
  {
2015
2105
  ref,
@@ -2019,7 +2109,7 @@ var SidebarMenu = React23.forwardRef(({ className, ...props }, ref) => /* @__PUR
2019
2109
  }
2020
2110
  ));
2021
2111
  SidebarMenu.displayName = "SidebarMenu";
2022
- var SidebarMenuItem = React23.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
2112
+ var SidebarMenuItem = React25.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
2023
2113
  "li",
2024
2114
  {
2025
2115
  ref,
@@ -2049,7 +2139,7 @@ var sidebarMenuButtonVariants = (0, import_class_variance_authority5.cva)(
2049
2139
  }
2050
2140
  }
2051
2141
  );
2052
- var SidebarMenuButton = React23.forwardRef(
2142
+ var SidebarMenuButton = React25.forwardRef(
2053
2143
  ({
2054
2144
  asChild = false,
2055
2145
  isActive = false,
@@ -2061,7 +2151,7 @@ var SidebarMenuButton = React23.forwardRef(
2061
2151
  }, ref) => {
2062
2152
  const Comp = asChild ? import_react_slot2.Slot : "button";
2063
2153
  const { isMobile, state } = useSidebar();
2064
- const button = /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
2154
+ const button = /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
2065
2155
  Comp,
2066
2156
  {
2067
2157
  ref,
@@ -2080,9 +2170,9 @@ var SidebarMenuButton = React23.forwardRef(
2080
2170
  children: tooltip
2081
2171
  };
2082
2172
  }
2083
- return /* @__PURE__ */ (0, import_jsx_runtime25.jsxs)(Tooltip, { children: [
2084
- /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(TooltipTrigger, { asChild: true, children: button }),
2085
- /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
2173
+ return /* @__PURE__ */ (0, import_jsx_runtime27.jsxs)(Tooltip, { children: [
2174
+ /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(TooltipTrigger, { asChild: true, children: button }),
2175
+ /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
2086
2176
  TooltipContent,
2087
2177
  {
2088
2178
  side: "right",
@@ -2095,9 +2185,9 @@ var SidebarMenuButton = React23.forwardRef(
2095
2185
  }
2096
2186
  );
2097
2187
  SidebarMenuButton.displayName = "SidebarMenuButton";
2098
- var SidebarMenuAction = React23.forwardRef(({ className, asChild = false, showOnHover = false, ...props }, ref) => {
2188
+ var SidebarMenuAction = React25.forwardRef(({ className, asChild = false, showOnHover = false, ...props }, ref) => {
2099
2189
  const Comp = asChild ? import_react_slot2.Slot : "button";
2100
- return /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
2190
+ return /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
2101
2191
  Comp,
2102
2192
  {
2103
2193
  ref,
@@ -2118,7 +2208,7 @@ var SidebarMenuAction = React23.forwardRef(({ className, asChild = false, showOn
2118
2208
  );
2119
2209
  });
2120
2210
  SidebarMenuAction.displayName = "SidebarMenuAction";
2121
- var SidebarMenuBadge = React23.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
2211
+ var SidebarMenuBadge = React25.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
2122
2212
  "div",
2123
2213
  {
2124
2214
  ref,
@@ -2136,11 +2226,11 @@ var SidebarMenuBadge = React23.forwardRef(({ className, ...props }, ref) => /* @
2136
2226
  }
2137
2227
  ));
2138
2228
  SidebarMenuBadge.displayName = "SidebarMenuBadge";
2139
- var SidebarMenuSkeleton = React23.forwardRef(({ className, showIcon = false, ...props }, ref) => {
2140
- const width = React23.useMemo(() => {
2229
+ var SidebarMenuSkeleton = React25.forwardRef(({ className, showIcon = false, ...props }, ref) => {
2230
+ const width = React25.useMemo(() => {
2141
2231
  return `${Math.floor(Math.random() * 40) + 50}%`;
2142
2232
  }, []);
2143
- return /* @__PURE__ */ (0, import_jsx_runtime25.jsxs)(
2233
+ return /* @__PURE__ */ (0, import_jsx_runtime27.jsxs)(
2144
2234
  "div",
2145
2235
  {
2146
2236
  ref,
@@ -2148,14 +2238,14 @@ var SidebarMenuSkeleton = React23.forwardRef(({ className, showIcon = false, ...
2148
2238
  className: cn("flex h-8 items-center gap-2 rounded-md px-2", className),
2149
2239
  ...props,
2150
2240
  children: [
2151
- showIcon && /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
2241
+ showIcon && /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
2152
2242
  Skeleton,
2153
2243
  {
2154
2244
  className: "size-4 rounded-md",
2155
2245
  "data-sidebar": "menu-skeleton-icon"
2156
2246
  }
2157
2247
  ),
2158
- /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
2248
+ /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
2159
2249
  Skeleton,
2160
2250
  {
2161
2251
  className: "h-4 max-w-[--skeleton-width] flex-1",
@@ -2170,7 +2260,7 @@ var SidebarMenuSkeleton = React23.forwardRef(({ className, showIcon = false, ...
2170
2260
  );
2171
2261
  });
2172
2262
  SidebarMenuSkeleton.displayName = "SidebarMenuSkeleton";
2173
- var SidebarMenuSub = React23.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
2263
+ var SidebarMenuSub = React25.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
2174
2264
  "ul",
2175
2265
  {
2176
2266
  ref,
@@ -2184,11 +2274,11 @@ var SidebarMenuSub = React23.forwardRef(({ className, ...props }, ref) => /* @__
2184
2274
  }
2185
2275
  ));
2186
2276
  SidebarMenuSub.displayName = "SidebarMenuSub";
2187
- var SidebarMenuSubItem = React23.forwardRef(({ ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime25.jsx)("li", { ref, ...props }));
2277
+ var SidebarMenuSubItem = React25.forwardRef(({ ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime27.jsx)("li", { ref, ...props }));
2188
2278
  SidebarMenuSubItem.displayName = "SidebarMenuSubItem";
2189
- var SidebarMenuSubButton = React23.forwardRef(({ asChild = false, size = "md", isActive, className, ...props }, ref) => {
2279
+ var SidebarMenuSubButton = React25.forwardRef(({ asChild = false, size = "md", isActive, className, ...props }, ref) => {
2190
2280
  const Comp = asChild ? import_react_slot2.Slot : "a";
2191
- return /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
2281
+ return /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
2192
2282
  Comp,
2193
2283
  {
2194
2284
  ref,
@@ -2210,10 +2300,10 @@ var SidebarMenuSubButton = React23.forwardRef(({ asChild = false, size = "md", i
2210
2300
  SidebarMenuSubButton.displayName = "SidebarMenuSubButton";
2211
2301
 
2212
2302
  // src/components/easy/sidebar.tsx
2213
- var import_jsx_runtime26 = require("react/jsx-runtime");
2214
- var EasySidebar = React24.forwardRef(
2303
+ var import_jsx_runtime28 = require("react/jsx-runtime");
2304
+ var EasySidebar = React26.forwardRef(
2215
2305
  ({ title, description, menuItems, className, ...props }, ref) => {
2216
- return /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
2306
+ return /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
2217
2307
  SidebarProvider,
2218
2308
  {
2219
2309
  ref,
@@ -2223,12 +2313,12 @@ var EasySidebar = React24.forwardRef(
2223
2313
  ),
2224
2314
  style: { "--sidebar-width": "100%" },
2225
2315
  ...props,
2226
- children: /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(Sidebar, { collapsible: "none", className: "w-full bg-transparent text-[var(--ui-text-900)]", children: /* @__PURE__ */ (0, import_jsx_runtime26.jsxs)(SidebarContent, { className: "gap-6 px-0", children: [
2227
- (title || description) && /* @__PURE__ */ (0, import_jsx_runtime26.jsxs)("div", { className: "space-y-1 px-2 text-left", children: [
2228
- title && /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(EasyHeading, { variant: "large", as: "h2", className: "text-[var(--ui-text-900)] font-semibold text-xl", children: title }),
2229
- description && /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(EasyBody, { variant: "small", className: "text-[var(--ui-text-600)]", children: description })
2316
+ children: /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(Sidebar, { collapsible: "none", className: "w-full bg-transparent text-[var(--ui-text-900)]", children: /* @__PURE__ */ (0, import_jsx_runtime28.jsxs)(SidebarContent, { className: "gap-6 px-0", children: [
2317
+ (title || description) && /* @__PURE__ */ (0, import_jsx_runtime28.jsxs)("div", { className: "space-y-1 px-2 text-left", children: [
2318
+ title && /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(EasyHeading, { variant: "large", as: "h2", className: "text-[var(--ui-text-900)] font-semibold text-xl", children: title }),
2319
+ description && /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(EasyBody, { variant: "small", className: "text-[var(--ui-text-600)]", children: description })
2230
2320
  ] }),
2231
- /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(SidebarMenu, { className: "gap-2 px-1", children: menuItems.map((item, index) => /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(SidebarMenuItem, { children: /* @__PURE__ */ (0, import_jsx_runtime26.jsxs)(
2321
+ /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(SidebarMenu, { className: "gap-2 px-1", children: menuItems.map((item, index) => /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(SidebarMenuItem, { children: /* @__PURE__ */ (0, import_jsx_runtime28.jsxs)(
2232
2322
  SidebarMenuButton,
2233
2323
  {
2234
2324
  type: "button",
@@ -2236,13 +2326,13 @@ var EasySidebar = React24.forwardRef(
2236
2326
  className: "h-11 bg-transparent px-3 py-1.5 text-[var(--ui-text-600)] data-[active=true]:bg-[var(--ui-decorative-green)] data-[active=true]:text-[var(--ui-text-900)] data-[active=true]:rounded-md",
2237
2327
  onClick: () => item.onClick?.(),
2238
2328
  children: [
2239
- item.icon && /* @__PURE__ */ (0, import_jsx_runtime26.jsx)("span", { className: cn(
2329
+ item.icon && /* @__PURE__ */ (0, import_jsx_runtime28.jsx)("span", { className: cn(
2240
2330
  "text-[var(--ui-text-500)]",
2241
2331
  item.active && "text-[var(--ui-primary-500)]"
2242
2332
  ), children: item.icon }),
2243
- /* @__PURE__ */ (0, import_jsx_runtime26.jsxs)("span", { className: "flex flex-1 flex-col text-left", children: [
2244
- /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(EasyBody, { variant: "medium", className: "text-[var(--ui-text-900)] font-medium", children: item.label }),
2245
- item.description && /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(EasyBody, { variant: "small", className: "text-[var(--ui-text-500)]", children: item.description })
2333
+ /* @__PURE__ */ (0, import_jsx_runtime28.jsxs)("span", { className: "flex flex-1 flex-col text-left", children: [
2334
+ /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(EasyBody, { variant: "medium", className: "text-[var(--ui-text-900)] font-medium", children: item.label }),
2335
+ item.description && /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(EasyBody, { variant: "small", className: "text-[var(--ui-text-500)]", children: item.description })
2246
2336
  ] })
2247
2337
  ]
2248
2338
  }
@@ -2255,9 +2345,9 @@ var EasySidebar = React24.forwardRef(
2255
2345
  EasySidebar.displayName = "EasySidebar";
2256
2346
 
2257
2347
  // src/components/easy/tabs.tsx
2258
- var React25 = __toESM(require("react"), 1);
2348
+ var React27 = __toESM(require("react"), 1);
2259
2349
  var import_class_variance_authority6 = require("class-variance-authority");
2260
- var import_jsx_runtime27 = require("react/jsx-runtime");
2350
+ var import_jsx_runtime29 = require("react/jsx-runtime");
2261
2351
  var tabsListVariants = (0, import_class_variance_authority6.cva)(
2262
2352
  "inline-flex items-center justify-start gap-1 rounded-lg bg-transparent",
2263
2353
  {
@@ -2289,8 +2379,8 @@ var tabsTriggerVariants = (0, import_class_variance_authority6.cva)(
2289
2379
  }
2290
2380
  );
2291
2381
  var EasyTabs = Tabs;
2292
- var EasyTabsList = React25.forwardRef(({ className, size, ...props }, ref) => {
2293
- return /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
2382
+ var EasyTabsList = React27.forwardRef(({ className, size, ...props }, ref) => {
2383
+ return /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(
2294
2384
  TabsList,
2295
2385
  {
2296
2386
  ref,
@@ -2300,8 +2390,8 @@ var EasyTabsList = React25.forwardRef(({ className, size, ...props }, ref) => {
2300
2390
  );
2301
2391
  });
2302
2392
  EasyTabsList.displayName = "EasyTabsList";
2303
- var EasyTabsTrigger = React25.forwardRef(({ className, size, children, ...props }, ref) => {
2304
- return /* @__PURE__ */ (0, import_jsx_runtime27.jsxs)(
2393
+ var EasyTabsTrigger = React27.forwardRef(({ className, size, children, ...props }, ref) => {
2394
+ return /* @__PURE__ */ (0, import_jsx_runtime29.jsxs)(
2305
2395
  TabsTrigger,
2306
2396
  {
2307
2397
  ref,
@@ -2315,14 +2405,14 @@ var EasyTabsTrigger = React25.forwardRef(({ className, size, children, ...props
2315
2405
  ...props,
2316
2406
  children: [
2317
2407
  children,
2318
- /* @__PURE__ */ (0, import_jsx_runtime27.jsx)("div", { className: "absolute bottom-[-10px] left-0 right-0 h-0.5 bg-gradient-to-r from-[var(--ui-primary-500)] to-[var(--ui-cabir-yellow)] opacity-0 transition-opacity duration-200" })
2408
+ /* @__PURE__ */ (0, import_jsx_runtime29.jsx)("div", { className: "absolute bottom-[-10px] left-0 right-0 h-0.5 bg-gradient-to-r from-[var(--ui-primary-500)] to-[var(--ui-cabir-yellow)] opacity-0 transition-opacity duration-200" })
2319
2409
  ]
2320
2410
  }
2321
2411
  );
2322
2412
  });
2323
2413
  EasyTabsTrigger.displayName = "EasyTabsTrigger";
2324
- var EasyTabsContent = React25.forwardRef(({ className, ...props }, ref) => {
2325
- return /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
2414
+ var EasyTabsContent = React27.forwardRef(({ className, ...props }, ref) => {
2415
+ return /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(
2326
2416
  TabsContent,
2327
2417
  {
2328
2418
  ref,
@@ -2334,16 +2424,16 @@ var EasyTabsContent = React25.forwardRef(({ className, ...props }, ref) => {
2334
2424
  EasyTabsContent.displayName = "EasyTabsContent";
2335
2425
 
2336
2426
  // src/components/easy/breadcrumb.tsx
2337
- var import_lucide_react12 = require("lucide-react");
2427
+ var import_lucide_react13 = require("lucide-react");
2338
2428
 
2339
2429
  // src/components/ui/breadcrumb.tsx
2340
- var React26 = __toESM(require("react"), 1);
2430
+ var React28 = __toESM(require("react"), 1);
2341
2431
  var import_react_slot3 = require("@radix-ui/react-slot");
2342
- var import_lucide_react11 = require("lucide-react");
2343
- var import_jsx_runtime28 = require("react/jsx-runtime");
2344
- var Breadcrumb = React26.forwardRef(({ ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime28.jsx)("nav", { ref, "aria-label": "breadcrumb", ...props }));
2432
+ var import_lucide_react12 = require("lucide-react");
2433
+ var import_jsx_runtime30 = require("react/jsx-runtime");
2434
+ var Breadcrumb = React28.forwardRef(({ ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime30.jsx)("nav", { ref, "aria-label": "breadcrumb", ...props }));
2345
2435
  Breadcrumb.displayName = "Breadcrumb";
2346
- var BreadcrumbList = React26.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
2436
+ var BreadcrumbList = React28.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(
2347
2437
  "ol",
2348
2438
  {
2349
2439
  ref,
@@ -2355,7 +2445,7 @@ var BreadcrumbList = React26.forwardRef(({ className, ...props }, ref) => /* @__
2355
2445
  }
2356
2446
  ));
2357
2447
  BreadcrumbList.displayName = "BreadcrumbList";
2358
- var BreadcrumbItem = React26.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
2448
+ var BreadcrumbItem = React28.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(
2359
2449
  "li",
2360
2450
  {
2361
2451
  ref,
@@ -2364,9 +2454,9 @@ var BreadcrumbItem = React26.forwardRef(({ className, ...props }, ref) => /* @__
2364
2454
  }
2365
2455
  ));
2366
2456
  BreadcrumbItem.displayName = "BreadcrumbItem";
2367
- var BreadcrumbLink = React26.forwardRef(({ asChild, className, ...props }, ref) => {
2457
+ var BreadcrumbLink = React28.forwardRef(({ asChild, className, ...props }, ref) => {
2368
2458
  const Comp = asChild ? import_react_slot3.Slot : "a";
2369
- return /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
2459
+ return /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(
2370
2460
  Comp,
2371
2461
  {
2372
2462
  ref,
@@ -2376,7 +2466,7 @@ var BreadcrumbLink = React26.forwardRef(({ asChild, className, ...props }, ref)
2376
2466
  );
2377
2467
  });
2378
2468
  BreadcrumbLink.displayName = "BreadcrumbLink";
2379
- var BreadcrumbPage = React26.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
2469
+ var BreadcrumbPage = React28.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(
2380
2470
  "span",
2381
2471
  {
2382
2472
  ref,
@@ -2392,21 +2482,21 @@ var BreadcrumbSeparator = ({
2392
2482
  children,
2393
2483
  className,
2394
2484
  ...props
2395
- }) => /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
2485
+ }) => /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(
2396
2486
  "li",
2397
2487
  {
2398
2488
  role: "presentation",
2399
2489
  "aria-hidden": "true",
2400
2490
  className: cn("[&>svg]:w-3.5 [&>svg]:h-3.5", className),
2401
2491
  ...props,
2402
- children: children ?? /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(import_lucide_react11.ChevronRight, {})
2492
+ children: children ?? /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(import_lucide_react12.ChevronRight, {})
2403
2493
  }
2404
2494
  );
2405
2495
  BreadcrumbSeparator.displayName = "BreadcrumbSeparator";
2406
2496
  var BreadcrumbEllipsis = ({
2407
2497
  className,
2408
2498
  ...props
2409
- }) => /* @__PURE__ */ (0, import_jsx_runtime28.jsxs)(
2499
+ }) => /* @__PURE__ */ (0, import_jsx_runtime30.jsxs)(
2410
2500
  "span",
2411
2501
  {
2412
2502
  role: "presentation",
@@ -2414,15 +2504,15 @@ var BreadcrumbEllipsis = ({
2414
2504
  className: cn("flex h-9 w-9 items-center justify-center", className),
2415
2505
  ...props,
2416
2506
  children: [
2417
- /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(import_lucide_react11.MoreHorizontal, { className: "h-4 w-4" }),
2418
- /* @__PURE__ */ (0, import_jsx_runtime28.jsx)("span", { className: "sr-only", children: "More" })
2507
+ /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(import_lucide_react12.MoreHorizontal, { className: "h-4 w-4" }),
2508
+ /* @__PURE__ */ (0, import_jsx_runtime30.jsx)("span", { className: "sr-only", children: "More" })
2419
2509
  ]
2420
2510
  }
2421
2511
  );
2422
2512
  BreadcrumbEllipsis.displayName = "BreadcrumbElipssis";
2423
2513
 
2424
2514
  // src/components/easy/breadcrumb.tsx
2425
- var import_jsx_runtime29 = require("react/jsx-runtime");
2515
+ var import_jsx_runtime31 = require("react/jsx-runtime");
2426
2516
  var defaultBreadcrumbMap = {
2427
2517
  home: "Anasayfa",
2428
2518
  "my-account": "Hesab\u0131m",
@@ -2459,11 +2549,11 @@ function EasyBreadcrumb({
2459
2549
  if (displayItems.length <= 1) {
2460
2550
  return null;
2461
2551
  }
2462
- return /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(Breadcrumb, { className, children: /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(BreadcrumbList, { children: displayItems.map((item, index) => {
2552
+ return /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(Breadcrumb, { className, children: /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(BreadcrumbList, { children: displayItems.map((item, index) => {
2463
2553
  const isLast = index === displayItems.length - 1;
2464
2554
  const isActive = item.isActive ?? isLast;
2465
- return /* @__PURE__ */ (0, import_jsx_runtime29.jsxs)("div", { className: "flex items-center", children: [
2466
- /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(BreadcrumbItem, { children: isActive ? /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(BreadcrumbPage, { children: /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(
2555
+ return /* @__PURE__ */ (0, import_jsx_runtime31.jsxs)("div", { className: "flex items-center", children: [
2556
+ /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(BreadcrumbItem, { children: isActive ? /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(BreadcrumbPage, { children: /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(
2467
2557
  EasyLabel,
2468
2558
  {
2469
2559
  variant: "xsmall",
@@ -2473,7 +2563,7 @@ function EasyBreadcrumb({
2473
2563
  ),
2474
2564
  children: item.label
2475
2565
  }
2476
- ) }) : /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(BreadcrumbLink, { href: item.href || "#", children: /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(
2566
+ ) }) : /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(BreadcrumbLink, { href: item.href || "#", children: /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(
2477
2567
  EasyLabel,
2478
2568
  {
2479
2569
  variant: "xsmall",
@@ -2484,8 +2574,8 @@ function EasyBreadcrumb({
2484
2574
  children: item.label
2485
2575
  }
2486
2576
  ) }) }),
2487
- !isLast && /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(BreadcrumbSeparator, { className: "ml-2", children: separator ?? /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(
2488
- import_lucide_react12.ChevronRight,
2577
+ !isLast && /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(BreadcrumbSeparator, { className: "ml-2", children: separator ?? /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(
2578
+ import_lucide_react13.ChevronRight,
2489
2579
  {
2490
2580
  size: 10,
2491
2581
  className: "text-[var(--ui-icon-500)]"
@@ -2518,14 +2608,14 @@ function generateBreadcrumbItems(pathname) {
2518
2608
  }
2519
2609
 
2520
2610
  // src/components/easy/pagination.tsx
2521
- var React29 = __toESM(require("react"), 1);
2522
- var import_lucide_react15 = require("lucide-react");
2611
+ var React31 = __toESM(require("react"), 1);
2612
+ var import_lucide_react16 = require("lucide-react");
2523
2613
 
2524
2614
  // src/components/ui/pagination.tsx
2525
- var React27 = __toESM(require("react"), 1);
2526
- var import_lucide_react13 = require("lucide-react");
2527
- var import_jsx_runtime30 = require("react/jsx-runtime");
2528
- var Pagination = ({ className, ...props }) => /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(
2615
+ var React29 = __toESM(require("react"), 1);
2616
+ var import_lucide_react14 = require("lucide-react");
2617
+ var import_jsx_runtime32 = require("react/jsx-runtime");
2618
+ var Pagination = ({ className, ...props }) => /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(
2529
2619
  "nav",
2530
2620
  {
2531
2621
  role: "navigation",
@@ -2535,7 +2625,7 @@ var Pagination = ({ className, ...props }) => /* @__PURE__ */ (0, import_jsx_run
2535
2625
  }
2536
2626
  );
2537
2627
  Pagination.displayName = "Pagination";
2538
- var PaginationContent = React27.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(
2628
+ var PaginationContent = React29.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(
2539
2629
  "ul",
2540
2630
  {
2541
2631
  ref,
@@ -2544,14 +2634,14 @@ var PaginationContent = React27.forwardRef(({ className, ...props }, ref) => /*
2544
2634
  }
2545
2635
  ));
2546
2636
  PaginationContent.displayName = "PaginationContent";
2547
- var PaginationItem = React27.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime30.jsx)("li", { ref, className: cn("", className), ...props }));
2637
+ var PaginationItem = React29.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime32.jsx)("li", { ref, className: cn("", className), ...props }));
2548
2638
  PaginationItem.displayName = "PaginationItem";
2549
2639
  var PaginationLink = ({
2550
2640
  className,
2551
2641
  isActive,
2552
2642
  size = "icon",
2553
2643
  ...props
2554
- }) => /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(
2644
+ }) => /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(
2555
2645
  "a",
2556
2646
  {
2557
2647
  "aria-current": isActive ? "page" : void 0,
@@ -2569,7 +2659,7 @@ PaginationLink.displayName = "PaginationLink";
2569
2659
  var PaginationPrevious = ({
2570
2660
  className,
2571
2661
  ...props
2572
- }) => /* @__PURE__ */ (0, import_jsx_runtime30.jsxs)(
2662
+ }) => /* @__PURE__ */ (0, import_jsx_runtime32.jsxs)(
2573
2663
  PaginationLink,
2574
2664
  {
2575
2665
  "aria-label": "Go to previous page",
@@ -2577,8 +2667,8 @@ var PaginationPrevious = ({
2577
2667
  className: cn("gap-1 pl-2.5", className),
2578
2668
  ...props,
2579
2669
  children: [
2580
- /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(import_lucide_react13.ChevronLeft, { className: "h-4 w-4" }),
2581
- /* @__PURE__ */ (0, import_jsx_runtime30.jsx)("span", { children: "Previous" })
2670
+ /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(import_lucide_react14.ChevronLeft, { className: "h-4 w-4" }),
2671
+ /* @__PURE__ */ (0, import_jsx_runtime32.jsx)("span", { children: "Previous" })
2582
2672
  ]
2583
2673
  }
2584
2674
  );
@@ -2586,7 +2676,7 @@ PaginationPrevious.displayName = "PaginationPrevious";
2586
2676
  var PaginationNext = ({
2587
2677
  className,
2588
2678
  ...props
2589
- }) => /* @__PURE__ */ (0, import_jsx_runtime30.jsxs)(
2679
+ }) => /* @__PURE__ */ (0, import_jsx_runtime32.jsxs)(
2590
2680
  PaginationLink,
2591
2681
  {
2592
2682
  "aria-label": "Go to next page",
@@ -2594,8 +2684,8 @@ var PaginationNext = ({
2594
2684
  className: cn("gap-1 pr-2.5", className),
2595
2685
  ...props,
2596
2686
  children: [
2597
- /* @__PURE__ */ (0, import_jsx_runtime30.jsx)("span", { children: "Next" }),
2598
- /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(import_lucide_react13.ChevronRight, { className: "h-4 w-4" })
2687
+ /* @__PURE__ */ (0, import_jsx_runtime32.jsx)("span", { children: "Next" }),
2688
+ /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(import_lucide_react14.ChevronRight, { className: "h-4 w-4" })
2599
2689
  ]
2600
2690
  }
2601
2691
  );
@@ -2603,28 +2693,28 @@ PaginationNext.displayName = "PaginationNext";
2603
2693
  var PaginationEllipsis = ({
2604
2694
  className,
2605
2695
  ...props
2606
- }) => /* @__PURE__ */ (0, import_jsx_runtime30.jsxs)(
2696
+ }) => /* @__PURE__ */ (0, import_jsx_runtime32.jsxs)(
2607
2697
  "span",
2608
2698
  {
2609
2699
  "aria-hidden": true,
2610
2700
  className: cn("flex h-9 w-9 items-center justify-center", className),
2611
2701
  ...props,
2612
2702
  children: [
2613
- /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(import_lucide_react13.MoreHorizontal, { className: "h-4 w-4" }),
2614
- /* @__PURE__ */ (0, import_jsx_runtime30.jsx)("span", { className: "sr-only", children: "More pages" })
2703
+ /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(import_lucide_react14.MoreHorizontal, { className: "h-4 w-4" }),
2704
+ /* @__PURE__ */ (0, import_jsx_runtime32.jsx)("span", { className: "sr-only", children: "More pages" })
2615
2705
  ]
2616
2706
  }
2617
2707
  );
2618
2708
  PaginationEllipsis.displayName = "PaginationEllipsis";
2619
2709
 
2620
2710
  // src/components/ui/select.tsx
2621
- var React28 = __toESM(require("react"), 1);
2711
+ var React30 = __toESM(require("react"), 1);
2622
2712
  var SelectPrimitive = __toESM(require("@radix-ui/react-select"), 1);
2623
- var import_lucide_react14 = require("lucide-react");
2624
- var import_jsx_runtime31 = require("react/jsx-runtime");
2713
+ var import_lucide_react15 = require("lucide-react");
2714
+ var import_jsx_runtime33 = require("react/jsx-runtime");
2625
2715
  var Select = SelectPrimitive.Root;
2626
2716
  var SelectValue = SelectPrimitive.Value;
2627
- var SelectTrigger = React28.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime31.jsxs)(
2717
+ var SelectTrigger = React30.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime33.jsxs)(
2628
2718
  SelectPrimitive.Trigger,
2629
2719
  {
2630
2720
  ref,
@@ -2635,12 +2725,12 @@ var SelectTrigger = React28.forwardRef(({ className, children, ...props }, ref)
2635
2725
  ...props,
2636
2726
  children: [
2637
2727
  children,
2638
- /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(SelectPrimitive.Icon, { asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(import_lucide_react14.ChevronDown, { className: "h-4 w-4 opacity-50" }) })
2728
+ /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(SelectPrimitive.Icon, { asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(import_lucide_react15.ChevronDown, { className: "h-4 w-4 opacity-50" }) })
2639
2729
  ]
2640
2730
  }
2641
2731
  ));
2642
2732
  SelectTrigger.displayName = SelectPrimitive.Trigger.displayName;
2643
- var SelectScrollUpButton = React28.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(
2733
+ var SelectScrollUpButton = React30.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(
2644
2734
  SelectPrimitive.ScrollUpButton,
2645
2735
  {
2646
2736
  ref,
@@ -2649,11 +2739,11 @@ var SelectScrollUpButton = React28.forwardRef(({ className, ...props }, ref) =>
2649
2739
  className
2650
2740
  ),
2651
2741
  ...props,
2652
- children: /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(import_lucide_react14.ChevronUp, { className: "h-4 w-4" })
2742
+ children: /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(import_lucide_react15.ChevronUp, { className: "h-4 w-4" })
2653
2743
  }
2654
2744
  ));
2655
2745
  SelectScrollUpButton.displayName = SelectPrimitive.ScrollUpButton.displayName;
2656
- var SelectScrollDownButton = React28.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(
2746
+ var SelectScrollDownButton = React30.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(
2657
2747
  SelectPrimitive.ScrollDownButton,
2658
2748
  {
2659
2749
  ref,
@@ -2662,11 +2752,11 @@ var SelectScrollDownButton = React28.forwardRef(({ className, ...props }, ref) =
2662
2752
  className
2663
2753
  ),
2664
2754
  ...props,
2665
- children: /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(import_lucide_react14.ChevronDown, { className: "h-4 w-4" })
2755
+ children: /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(import_lucide_react15.ChevronDown, { className: "h-4 w-4" })
2666
2756
  }
2667
2757
  ));
2668
2758
  SelectScrollDownButton.displayName = SelectPrimitive.ScrollDownButton.displayName;
2669
- var SelectContent = React28.forwardRef(({ className, children, position = "popper", ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(SelectPrimitive.Portal, { children: /* @__PURE__ */ (0, import_jsx_runtime31.jsxs)(
2759
+ var SelectContent = React30.forwardRef(({ className, children, position = "popper", ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(SelectPrimitive.Portal, { children: /* @__PURE__ */ (0, import_jsx_runtime33.jsxs)(
2670
2760
  SelectPrimitive.Content,
2671
2761
  {
2672
2762
  ref,
@@ -2678,8 +2768,8 @@ var SelectContent = React28.forwardRef(({ className, children, position = "poppe
2678
2768
  position,
2679
2769
  ...props,
2680
2770
  children: [
2681
- /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(SelectScrollUpButton, {}),
2682
- /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(
2771
+ /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(SelectScrollUpButton, {}),
2772
+ /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(
2683
2773
  SelectPrimitive.Viewport,
2684
2774
  {
2685
2775
  className: cn(
@@ -2689,12 +2779,12 @@ var SelectContent = React28.forwardRef(({ className, children, position = "poppe
2689
2779
  children
2690
2780
  }
2691
2781
  ),
2692
- /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(SelectScrollDownButton, {})
2782
+ /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(SelectScrollDownButton, {})
2693
2783
  ]
2694
2784
  }
2695
2785
  ) }));
2696
2786
  SelectContent.displayName = SelectPrimitive.Content.displayName;
2697
- var SelectLabel = React28.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(
2787
+ var SelectLabel = React30.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(
2698
2788
  SelectPrimitive.Label,
2699
2789
  {
2700
2790
  ref,
@@ -2703,7 +2793,7 @@ var SelectLabel = React28.forwardRef(({ className, ...props }, ref) => /* @__PUR
2703
2793
  }
2704
2794
  ));
2705
2795
  SelectLabel.displayName = SelectPrimitive.Label.displayName;
2706
- var SelectItem = React28.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime31.jsxs)(
2796
+ var SelectItem = React30.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime33.jsxs)(
2707
2797
  SelectPrimitive.Item,
2708
2798
  {
2709
2799
  ref,
@@ -2713,13 +2803,13 @@ var SelectItem = React28.forwardRef(({ className, children, ...props }, ref) =>
2713
2803
  ),
2714
2804
  ...props,
2715
2805
  children: [
2716
- /* @__PURE__ */ (0, import_jsx_runtime31.jsx)("span", { className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(SelectPrimitive.ItemIndicator, { children: /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(import_lucide_react14.Check, { className: "h-4 w-4" }) }) }),
2717
- /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(SelectPrimitive.ItemText, { children })
2806
+ /* @__PURE__ */ (0, import_jsx_runtime33.jsx)("span", { className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(SelectPrimitive.ItemIndicator, { children: /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(import_lucide_react15.Check, { className: "h-4 w-4" }) }) }),
2807
+ /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(SelectPrimitive.ItemText, { children })
2718
2808
  ]
2719
2809
  }
2720
2810
  ));
2721
2811
  SelectItem.displayName = SelectPrimitive.Item.displayName;
2722
- var SelectSeparator = React28.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(
2812
+ var SelectSeparator = React30.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(
2723
2813
  SelectPrimitive.Separator,
2724
2814
  {
2725
2815
  ref,
@@ -2730,7 +2820,7 @@ var SelectSeparator = React28.forwardRef(({ className, ...props }, ref) => /* @_
2730
2820
  SelectSeparator.displayName = SelectPrimitive.Separator.displayName;
2731
2821
 
2732
2822
  // src/components/easy/pagination.tsx
2733
- var import_jsx_runtime32 = require("react/jsx-runtime");
2823
+ var import_jsx_runtime34 = require("react/jsx-runtime");
2734
2824
  function getItemRange(currentPage, pageSize, total) {
2735
2825
  const start = (currentPage - 1) * pageSize + 1;
2736
2826
  const end = Math.min(currentPage * pageSize, total);
@@ -2767,7 +2857,7 @@ function generatePageNumbers(currentPage, totalPages) {
2767
2857
  }
2768
2858
  return pages;
2769
2859
  }
2770
- var EasyPagination = React29.forwardRef(
2860
+ var EasyPagination = React31.forwardRef(
2771
2861
  ({
2772
2862
  total,
2773
2863
  currentPage,
@@ -2778,7 +2868,7 @@ var EasyPagination = React29.forwardRef(
2778
2868
  labels = {},
2779
2869
  className
2780
2870
  }, ref) => {
2781
- const [goToPageValue, setGoToPageValue] = React29.useState(currentPage.toString());
2871
+ const [goToPageValue, setGoToPageValue] = React31.useState(currentPage.toString());
2782
2872
  const totalPages = Math.ceil(total / pageSize);
2783
2873
  const { start, end } = getItemRange(currentPage, pageSize, total);
2784
2874
  const pageNumbers = generatePageNumbers(currentPage, totalPages);
@@ -2812,16 +2902,16 @@ var EasyPagination = React29.forwardRef(
2812
2902
  onPageSizeChange?.(newPageSize);
2813
2903
  onPageChange?.(1);
2814
2904
  };
2815
- React29.useEffect(() => {
2905
+ React31.useEffect(() => {
2816
2906
  setGoToPageValue(currentPage.toString());
2817
2907
  }, [currentPage]);
2818
- return /* @__PURE__ */ (0, import_jsx_runtime32.jsxs)(
2908
+ return /* @__PURE__ */ (0, import_jsx_runtime34.jsxs)(
2819
2909
  "div",
2820
2910
  {
2821
2911
  ref,
2822
2912
  className: cn("flex w-full items-center justify-between gap-4", className),
2823
2913
  children: [
2824
- /* @__PURE__ */ (0, import_jsx_runtime32.jsxs)(
2914
+ /* @__PURE__ */ (0, import_jsx_runtime34.jsxs)(
2825
2915
  EasyBody,
2826
2916
  {
2827
2917
  variant: "medium",
@@ -2835,9 +2925,9 @@ var EasyPagination = React29.forwardRef(
2835
2925
  ]
2836
2926
  }
2837
2927
  ),
2838
- /* @__PURE__ */ (0, import_jsx_runtime32.jsxs)("div", { className: "flex items-center gap-4", children: [
2839
- /* @__PURE__ */ (0, import_jsx_runtime32.jsxs)("div", { className: "flex items-center gap-2", children: [
2840
- /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(
2928
+ /* @__PURE__ */ (0, import_jsx_runtime34.jsxs)("div", { className: "flex items-center gap-4", children: [
2929
+ /* @__PURE__ */ (0, import_jsx_runtime34.jsxs)("div", { className: "flex items-center gap-2", children: [
2930
+ /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(
2841
2931
  EasyBody,
2842
2932
  {
2843
2933
  variant: "medium",
@@ -2845,13 +2935,13 @@ var EasyPagination = React29.forwardRef(
2845
2935
  children: perPage
2846
2936
  }
2847
2937
  ),
2848
- /* @__PURE__ */ (0, import_jsx_runtime32.jsxs)(Select, { value: pageSize.toString(), onValueChange: handlePageSizeChange, children: [
2849
- /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(SelectTrigger, { className: "h-8 w-[80px] border-[var(--ui-border-200)] bg-[var(--ui-background-0)] text-base font-medium text-[var(--ui-text-900)] rounded-sm px-3 focus:outline-none focus:ring-0 focus:ring-offset-0 focus:shadow-[0_0_0_1px_var(--ui-background-0),_0_0_0_2px_var(--ui-border-200)]", children: /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(SelectValue, {}) }),
2850
- /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(SelectContent, { children: pageSizeOptions.map((size) => /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(SelectItem, { value: size.toString(), children: size }, size)) })
2938
+ /* @__PURE__ */ (0, import_jsx_runtime34.jsxs)(Select, { value: pageSize.toString(), onValueChange: handlePageSizeChange, children: [
2939
+ /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(SelectTrigger, { className: "h-8 w-[80px] border-[var(--ui-border-200)] bg-[var(--ui-background-0)] text-base font-medium text-[var(--ui-text-900)] rounded-sm px-3 focus:outline-none focus:ring-0 focus:ring-offset-0 focus:shadow-[0_0_0_1px_var(--ui-background-0),_0_0_0_2px_var(--ui-border-200)]", children: /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(SelectValue, {}) }),
2940
+ /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(SelectContent, { children: pageSizeOptions.map((size) => /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(SelectItem, { value: size.toString(), children: size }, size)) })
2851
2941
  ] })
2852
2942
  ] }),
2853
- /* @__PURE__ */ (0, import_jsx_runtime32.jsxs)("div", { className: "flex items-center gap-2", children: [
2854
- /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(
2943
+ /* @__PURE__ */ (0, import_jsx_runtime34.jsxs)("div", { className: "flex items-center gap-2", children: [
2944
+ /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(
2855
2945
  EasyBody,
2856
2946
  {
2857
2947
  variant: "medium",
@@ -2859,7 +2949,7 @@ var EasyPagination = React29.forwardRef(
2859
2949
  children: goToPage
2860
2950
  }
2861
2951
  ),
2862
- /* @__PURE__ */ (0, import_jsx_runtime32.jsx)("form", { onSubmit: handleGoToPage, className: "flex items-center gap-2", children: /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(
2952
+ /* @__PURE__ */ (0, import_jsx_runtime34.jsx)("form", { onSubmit: handleGoToPage, className: "flex items-center gap-2", children: /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(
2863
2953
  Input,
2864
2954
  {
2865
2955
  type: "text",
@@ -2870,8 +2960,8 @@ var EasyPagination = React29.forwardRef(
2870
2960
  }
2871
2961
  ) })
2872
2962
  ] }),
2873
- /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(Pagination, { children: /* @__PURE__ */ (0, import_jsx_runtime32.jsxs)(PaginationContent, { children: [
2874
- /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(PaginationItem, { children: /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(
2963
+ /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(Pagination, { children: /* @__PURE__ */ (0, import_jsx_runtime34.jsxs)(PaginationContent, { children: [
2964
+ /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(PaginationItem, { children: /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(
2875
2965
  EasyButton,
2876
2966
  {
2877
2967
  variant: "text",
@@ -2879,15 +2969,15 @@ var EasyPagination = React29.forwardRef(
2879
2969
  onClick: () => onPageChange?.(currentPage - 1),
2880
2970
  disabled: currentPage === 1,
2881
2971
  className: "h-8 w-8 p-0 rounded-sm border border-[var(--ui-border-200)] bg-[var(--ui-background-200)] hover:bg-[var(--ui-background-100)] disabled:opacity-50",
2882
- children: /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(import_lucide_react15.ChevronLeft, { className: "h-4 w-4" })
2972
+ children: /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(import_lucide_react16.ChevronLeft, { className: "h-4 w-4" })
2883
2973
  }
2884
2974
  ) }),
2885
2975
  pageNumbers.map((page, index) => {
2886
2976
  if (page === "ellipsis") {
2887
- return /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(PaginationItem, { children: /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(PaginationEllipsis, { className: "h-8 text-[var(--ui-text-600)]" }) }, `ellipsis-${index}`);
2977
+ return /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(PaginationItem, { children: /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(PaginationEllipsis, { className: "h-8 text-[var(--ui-text-600)]" }) }, `ellipsis-${index}`);
2888
2978
  }
2889
2979
  const isActive = page === currentPage;
2890
- return /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(PaginationItem, { children: /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(
2980
+ return /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(PaginationItem, { children: /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(
2891
2981
  EasyButton,
2892
2982
  {
2893
2983
  variant: isActive ? "primary" : "text",
@@ -2901,7 +2991,7 @@ var EasyPagination = React29.forwardRef(
2901
2991
  }
2902
2992
  ) }, page);
2903
2993
  }),
2904
- /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(PaginationItem, { children: /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(
2994
+ /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(PaginationItem, { children: /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(
2905
2995
  EasyButton,
2906
2996
  {
2907
2997
  variant: "text",
@@ -2909,7 +2999,7 @@ var EasyPagination = React29.forwardRef(
2909
2999
  onClick: () => onPageChange?.(currentPage + 1),
2910
3000
  disabled: currentPage === totalPages,
2911
3001
  className: "h-8 w-8 p-0 rounded-sm border border-[var(--ui-border-200)] bg-[var(--ui-background-200)] hover:bg-[var(--ui-background-100)] disabled:opacity-50",
2912
- children: /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(import_lucide_react15.ChevronRight, { className: "h-4 w-4" })
3002
+ children: /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(import_lucide_react16.ChevronRight, { className: "h-4 w-4" })
2913
3003
  }
2914
3004
  ) })
2915
3005
  ] }) })
@@ -2922,15 +3012,15 @@ var EasyPagination = React29.forwardRef(
2922
3012
  EasyPagination.displayName = "EasyPagination";
2923
3013
 
2924
3014
  // src/components/easy/otp.tsx
2925
- var React32 = __toESM(require("react"), 1);
2926
- var import_lucide_react17 = require("lucide-react");
3015
+ var React34 = __toESM(require("react"), 1);
3016
+ var import_lucide_react18 = require("lucide-react");
2927
3017
 
2928
3018
  // src/components/ui/input-otp.tsx
2929
- var React30 = __toESM(require("react"), 1);
3019
+ var React32 = __toESM(require("react"), 1);
2930
3020
  var import_input_otp = require("input-otp");
2931
- var import_lucide_react16 = require("lucide-react");
2932
- var import_jsx_runtime33 = require("react/jsx-runtime");
2933
- var InputOTP = React30.forwardRef(({ className, containerClassName, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(
3021
+ var import_lucide_react17 = require("lucide-react");
3022
+ var import_jsx_runtime35 = require("react/jsx-runtime");
3023
+ var InputOTP = React32.forwardRef(({ className, containerClassName, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(
2934
3024
  import_input_otp.OTPInput,
2935
3025
  {
2936
3026
  ref,
@@ -2943,15 +3033,15 @@ var InputOTP = React30.forwardRef(({ className, containerClassName, ...props },
2943
3033
  }
2944
3034
  ));
2945
3035
  InputOTP.displayName = "InputOTP";
2946
- var InputOTPGroup = React30.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime33.jsx)("div", { ref, className: cn("flex items-center", className), ...props }));
3036
+ var InputOTPGroup = React32.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime35.jsx)("div", { ref, className: cn("flex items-center", className), ...props }));
2947
3037
  InputOTPGroup.displayName = "InputOTPGroup";
2948
- var InputOTPSlot = React30.forwardRef(({ index, className, ...props }, ref) => {
2949
- const inputOTPContext = React30.useContext(import_input_otp.OTPInputContext);
3038
+ var InputOTPSlot = React32.forwardRef(({ index, className, ...props }, ref) => {
3039
+ const inputOTPContext = React32.useContext(import_input_otp.OTPInputContext);
2950
3040
  const slot = inputOTPContext.slots[index];
2951
3041
  const char = slot?.char ?? "";
2952
3042
  const hasFakeCaret = slot?.hasFakeCaret ?? false;
2953
3043
  const isActive = slot?.isActive ?? false;
2954
- return /* @__PURE__ */ (0, import_jsx_runtime33.jsxs)(
3044
+ return /* @__PURE__ */ (0, import_jsx_runtime35.jsxs)(
2955
3045
  "div",
2956
3046
  {
2957
3047
  ref,
@@ -2963,23 +3053,23 @@ var InputOTPSlot = React30.forwardRef(({ index, className, ...props }, ref) => {
2963
3053
  ...props,
2964
3054
  children: [
2965
3055
  char,
2966
- hasFakeCaret && /* @__PURE__ */ (0, import_jsx_runtime33.jsx)("div", { className: "pointer-events-none absolute inset-0 flex items-center justify-center", children: /* @__PURE__ */ (0, import_jsx_runtime33.jsx)("div", { className: "h-4 w-px animate-caret-blink bg-foreground duration-1000" }) })
3056
+ hasFakeCaret && /* @__PURE__ */ (0, import_jsx_runtime35.jsx)("div", { className: "pointer-events-none absolute inset-0 flex items-center justify-center", children: /* @__PURE__ */ (0, import_jsx_runtime35.jsx)("div", { className: "h-4 w-px animate-caret-blink bg-foreground duration-1000" }) })
2967
3057
  ]
2968
3058
  }
2969
3059
  );
2970
3060
  });
2971
3061
  InputOTPSlot.displayName = "InputOTPSlot";
2972
- var InputOTPSeparator = React30.forwardRef(({ ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime33.jsx)("div", { ref, role: "separator", ...props, children: /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(import_lucide_react16.Dot, {}) }));
3062
+ var InputOTPSeparator = React32.forwardRef(({ ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime35.jsx)("div", { ref, role: "separator", ...props, children: /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(import_lucide_react17.Dot, {}) }));
2973
3063
  InputOTPSeparator.displayName = "InputOTPSeparator";
2974
3064
 
2975
3065
  // src/components/ui/drawer.tsx
2976
- var React31 = __toESM(require("react"), 1);
3066
+ var React33 = __toESM(require("react"), 1);
2977
3067
  var import_vaul = require("vaul");
2978
- var import_jsx_runtime34 = require("react/jsx-runtime");
3068
+ var import_jsx_runtime36 = require("react/jsx-runtime");
2979
3069
  var Drawer = ({
2980
3070
  shouldScaleBackground = true,
2981
3071
  ...props
2982
- }) => /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(
3072
+ }) => /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(
2983
3073
  import_vaul.Drawer.Root,
2984
3074
  {
2985
3075
  shouldScaleBackground,
@@ -2990,7 +3080,7 @@ Drawer.displayName = "Drawer";
2990
3080
  var DrawerTrigger = import_vaul.Drawer.Trigger;
2991
3081
  var DrawerPortal = import_vaul.Drawer.Portal;
2992
3082
  var DrawerClose = import_vaul.Drawer.Close;
2993
- var DrawerOverlay = React31.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(
3083
+ var DrawerOverlay = React33.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(
2994
3084
  import_vaul.Drawer.Overlay,
2995
3085
  {
2996
3086
  ref,
@@ -2999,9 +3089,9 @@ var DrawerOverlay = React31.forwardRef(({ className, ...props }, ref) => /* @__P
2999
3089
  }
3000
3090
  ));
3001
3091
  DrawerOverlay.displayName = import_vaul.Drawer.Overlay.displayName;
3002
- var DrawerContent = React31.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime34.jsxs)(DrawerPortal, { children: [
3003
- /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(DrawerOverlay, {}),
3004
- /* @__PURE__ */ (0, import_jsx_runtime34.jsxs)(
3092
+ var DrawerContent = React33.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime36.jsxs)(DrawerPortal, { children: [
3093
+ /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(DrawerOverlay, {}),
3094
+ /* @__PURE__ */ (0, import_jsx_runtime36.jsxs)(
3005
3095
  import_vaul.Drawer.Content,
3006
3096
  {
3007
3097
  ref,
@@ -3011,7 +3101,7 @@ var DrawerContent = React31.forwardRef(({ className, children, ...props }, ref)
3011
3101
  ),
3012
3102
  ...props,
3013
3103
  children: [
3014
- /* @__PURE__ */ (0, import_jsx_runtime34.jsx)("div", { className: "mx-auto mt-4 h-2 w-[100px] rounded-full bg-muted" }),
3104
+ /* @__PURE__ */ (0, import_jsx_runtime36.jsx)("div", { className: "mx-auto mt-4 h-2 w-[100px] rounded-full bg-muted" }),
3015
3105
  children
3016
3106
  ]
3017
3107
  }
@@ -3021,7 +3111,7 @@ DrawerContent.displayName = "DrawerContent";
3021
3111
  var DrawerHeader = ({
3022
3112
  className,
3023
3113
  ...props
3024
- }) => /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(
3114
+ }) => /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(
3025
3115
  "div",
3026
3116
  {
3027
3117
  className: cn("grid gap-1.5 p-4 text-center sm:text-left", className),
@@ -3032,7 +3122,7 @@ DrawerHeader.displayName = "DrawerHeader";
3032
3122
  var DrawerFooter = ({
3033
3123
  className,
3034
3124
  ...props
3035
- }) => /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(
3125
+ }) => /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(
3036
3126
  "div",
3037
3127
  {
3038
3128
  className: cn("mt-auto flex flex-col gap-2 p-4", className),
@@ -3040,7 +3130,7 @@ var DrawerFooter = ({
3040
3130
  }
3041
3131
  );
3042
3132
  DrawerFooter.displayName = "DrawerFooter";
3043
- var DrawerTitle = React31.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(
3133
+ var DrawerTitle = React33.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(
3044
3134
  import_vaul.Drawer.Title,
3045
3135
  {
3046
3136
  ref,
@@ -3052,7 +3142,7 @@ var DrawerTitle = React31.forwardRef(({ className, ...props }, ref) => /* @__PUR
3052
3142
  }
3053
3143
  ));
3054
3144
  DrawerTitle.displayName = import_vaul.Drawer.Title.displayName;
3055
- var DrawerDescription = React31.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(
3145
+ var DrawerDescription = React33.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(
3056
3146
  import_vaul.Drawer.Description,
3057
3147
  {
3058
3148
  ref,
@@ -3063,8 +3153,8 @@ var DrawerDescription = React31.forwardRef(({ className, ...props }, ref) => /*
3063
3153
  DrawerDescription.displayName = import_vaul.Drawer.Description.displayName;
3064
3154
 
3065
3155
  // src/components/easy/otp.tsx
3066
- var import_jsx_runtime35 = require("react/jsx-runtime");
3067
- var EasyOtp = React32.forwardRef(
3156
+ var import_jsx_runtime37 = require("react/jsx-runtime");
3157
+ var EasyOtp = React34.forwardRef(
3068
3158
  ({
3069
3159
  value,
3070
3160
  onChange,
@@ -3075,8 +3165,8 @@ var EasyOtp = React32.forwardRef(
3075
3165
  className,
3076
3166
  slotClassName
3077
3167
  }, ref) => {
3078
- return /* @__PURE__ */ (0, import_jsx_runtime35.jsxs)("div", { ref, className: cn("flex flex-col items-center w-full", className), children: [
3079
- /* @__PURE__ */ (0, import_jsx_runtime35.jsx)("div", { className: "w-full overflow-hidden relative", children: /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(
3168
+ return /* @__PURE__ */ (0, import_jsx_runtime37.jsxs)("div", { ref, className: cn("flex flex-col items-center w-full", className), children: [
3169
+ /* @__PURE__ */ (0, import_jsx_runtime37.jsx)("div", { className: "w-full overflow-hidden relative", children: /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(
3080
3170
  InputOTP,
3081
3171
  {
3082
3172
  maxLength: length,
@@ -3086,7 +3176,7 @@ var EasyOtp = React32.forwardRef(
3086
3176
  autoFocus,
3087
3177
  className: "gap-3",
3088
3178
  containerClassName: "w-full max-w-full overflow-hidden justify-center relative",
3089
- children: /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(InputOTPGroup, { className: "flex p-1 gap-3.5 justify-center", children: Array.from({ length }).map((_, index) => /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(
3179
+ children: /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(InputOTPGroup, { className: "flex p-1 gap-3.5 justify-center", children: Array.from({ length }).map((_, index) => /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(
3090
3180
  InputOTPSlot,
3091
3181
  {
3092
3182
  index,
@@ -3104,9 +3194,9 @@ var EasyOtp = React32.forwardRef(
3104
3194
  )) })
3105
3195
  }
3106
3196
  ) }),
3107
- error && /* @__PURE__ */ (0, import_jsx_runtime35.jsxs)("div", { className: "flex items-center gap-1 mt-3", children: [
3108
- /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(import_lucide_react17.AlertCircle, { className: "size-4 text-[var(--ui-danger-base)]" }),
3109
- /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(EasyBody, { variant: "small", className: "text-[var(--ui-danger-base)]", children: error })
3197
+ error && /* @__PURE__ */ (0, import_jsx_runtime37.jsxs)("div", { className: "flex items-center gap-1 mt-3", children: [
3198
+ /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(import_lucide_react18.AlertCircle, { className: "size-4 text-[var(--ui-danger-base)]" }),
3199
+ /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(EasyBody, { variant: "small", className: "text-[var(--ui-danger-base)]", children: error })
3110
3200
  ] })
3111
3201
  ] });
3112
3202
  }
@@ -3144,21 +3234,21 @@ var EasyOtpModal = ({
3144
3234
  className,
3145
3235
  contentClassName
3146
3236
  }) => {
3147
- const [otpValue, setOtpValue] = React32.useState("");
3148
- const [isVerifying, setIsVerifying] = React32.useState(false);
3149
- const [isResending, setIsResending] = React32.useState(false);
3150
- const [timeLeft, setTimeLeft] = React32.useState(resendCooldown);
3151
- const [error, setError] = React32.useState(null);
3237
+ const [otpValue, setOtpValue] = React34.useState("");
3238
+ const [isVerifying, setIsVerifying] = React34.useState(false);
3239
+ const [isResending, setIsResending] = React34.useState(false);
3240
+ const [timeLeft, setTimeLeft] = React34.useState(resendCooldown);
3241
+ const [error, setError] = React34.useState(null);
3152
3242
  const isMobile = useIsMobile();
3153
3243
  const defaultTitle = email ? "E-posta Adresi Do\u011Frulama" : "Telefon Do\u011Frulama";
3154
3244
  const modalTitle = title || defaultTitle;
3155
- React32.useEffect(() => {
3245
+ React34.useEffect(() => {
3156
3246
  if (timeLeft > 0 && open) {
3157
3247
  const timer = setTimeout(() => setTimeLeft(timeLeft - 1), 1e3);
3158
3248
  return () => clearTimeout(timer);
3159
3249
  }
3160
3250
  }, [timeLeft, open]);
3161
- React32.useEffect(() => {
3251
+ React34.useEffect(() => {
3162
3252
  if (open) {
3163
3253
  setTimeLeft(resendCooldown);
3164
3254
  setOtpValue("");
@@ -3217,19 +3307,19 @@ var EasyOtpModal = ({
3217
3307
  };
3218
3308
  const canResend = timeLeft === 0 && !isResending;
3219
3309
  const isVerifyDisabled = otpValue.length !== length || isVerifying;
3220
- const modalContent = /* @__PURE__ */ (0, import_jsx_runtime35.jsxs)("div", { className: "flex flex-col items-center", children: [
3221
- !isMobile && /* @__PURE__ */ (0, import_jsx_runtime35.jsx)("div", { className: "flex h-16 w-16 items-center justify-center rounded-full border-2 border-[var(--ui-border-200)] mb-3", children: email ? /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(import_lucide_react17.Mail, { className: "size-6 text-[var(--ui-text-900)]" }) : /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(import_lucide_react17.Smartphone, { className: "size-6 text-[var(--ui-text-900)]" }) }),
3222
- /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(EasyLabel, { variant: "large", className: "text-[var(--ui-primary-500)] mb-1", children: modalTitle }),
3223
- /* @__PURE__ */ (0, import_jsx_runtime35.jsx)("div", { className: "text-center space-y-2", children: /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(EasyBody, { variant: "small", className: "text-[var(--ui-text-500)] font-normal", children: description || getDefaultDescription() }) }),
3224
- !isMobile && /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(Separator, { className: "my-6" }),
3225
- /* @__PURE__ */ (0, import_jsx_runtime35.jsx)("div", { className: "text-center mb-3", children: /* @__PURE__ */ (0, import_jsx_runtime35.jsxs)(EasyBody, { variant: "small", className: "text-[var(--ui-text-500)]", children: [
3310
+ const modalContent = /* @__PURE__ */ (0, import_jsx_runtime37.jsxs)("div", { className: "flex flex-col items-center", children: [
3311
+ !isMobile && /* @__PURE__ */ (0, import_jsx_runtime37.jsx)("div", { className: "flex h-16 w-16 items-center justify-center rounded-full border-2 border-[var(--ui-border-200)] mb-3", children: email ? /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(import_lucide_react18.Mail, { className: "size-6 text-[var(--ui-text-900)]" }) : /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(import_lucide_react18.Smartphone, { className: "size-6 text-[var(--ui-text-900)]" }) }),
3312
+ /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(EasyLabel, { variant: "large", className: "text-[var(--ui-primary-500)] mb-1", children: modalTitle }),
3313
+ /* @__PURE__ */ (0, import_jsx_runtime37.jsx)("div", { className: "text-center space-y-2", children: /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(EasyBody, { variant: "small", className: "text-[var(--ui-text-500)] font-normal", children: description || getDefaultDescription() }) }),
3314
+ !isMobile && /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(Separator, { className: "my-6" }),
3315
+ /* @__PURE__ */ (0, import_jsx_runtime37.jsx)("div", { className: "text-center mb-3", children: /* @__PURE__ */ (0, import_jsx_runtime37.jsxs)(EasyBody, { variant: "small", className: "text-[var(--ui-text-500)]", children: [
3226
3316
  "Kalan Zaman: ",
3227
- /* @__PURE__ */ (0, import_jsx_runtime35.jsxs)("span", { className: "font-medium text-[var(--ui-text-900)]", children: [
3317
+ /* @__PURE__ */ (0, import_jsx_runtime37.jsxs)("span", { className: "font-medium text-[var(--ui-text-900)]", children: [
3228
3318
  timeLeft,
3229
3319
  " Saniye"
3230
3320
  ] })
3231
3321
  ] }) }),
3232
- /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(
3322
+ /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(
3233
3323
  EasyOtp,
3234
3324
  {
3235
3325
  value: otpValue,
@@ -3239,10 +3329,10 @@ var EasyOtpModal = ({
3239
3329
  autoFocus: true
3240
3330
  }
3241
3331
  ),
3242
- /* @__PURE__ */ (0, import_jsx_runtime35.jsx)("div", { className: "text-center mt-2", children: /* @__PURE__ */ (0, import_jsx_runtime35.jsxs)(EasyBody, { variant: "small", className: "text-[var(--ui-text-500)]", children: [
3332
+ /* @__PURE__ */ (0, import_jsx_runtime37.jsx)("div", { className: "text-center mt-2", children: /* @__PURE__ */ (0, import_jsx_runtime37.jsxs)(EasyBody, { variant: "small", className: "text-[var(--ui-text-500)]", children: [
3243
3333
  "Kod gelmedi mi?",
3244
3334
  " ",
3245
- /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(
3335
+ /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(
3246
3336
  "button",
3247
3337
  {
3248
3338
  type: "button",
@@ -3256,10 +3346,10 @@ var EasyOtpModal = ({
3256
3346
  }
3257
3347
  )
3258
3348
  ] }) }),
3259
- !isMobile && /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(Separator, { className: "my-6" })
3349
+ !isMobile && /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(Separator, { className: "my-6" })
3260
3350
  ] });
3261
- const footer = /* @__PURE__ */ (0, import_jsx_runtime35.jsx)("div", { className: "flex flex-col gap-3 w-full", children: /* @__PURE__ */ (0, import_jsx_runtime35.jsxs)("div", { className: "flex flex-row gap-4 w-full", children: [
3262
- /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(
3351
+ const footer = /* @__PURE__ */ (0, import_jsx_runtime37.jsx)("div", { className: "flex flex-col gap-3 w-full", children: /* @__PURE__ */ (0, import_jsx_runtime37.jsxs)("div", { className: "flex flex-row gap-4 w-full", children: [
3352
+ /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(
3263
3353
  EasyButton,
3264
3354
  {
3265
3355
  variant: "important",
@@ -3270,7 +3360,7 @@ var EasyOtpModal = ({
3270
3360
  children: "Vazge\xE7"
3271
3361
  }
3272
3362
  ),
3273
- /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(
3363
+ /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(
3274
3364
  EasyButton,
3275
3365
  {
3276
3366
  variant: "primary",
@@ -3282,16 +3372,16 @@ var EasyOtpModal = ({
3282
3372
  )
3283
3373
  ] }) });
3284
3374
  if (isMobile) {
3285
- return /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(Drawer, { open, onOpenChange, children: /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(DrawerContent, { className: "!rounded-t-[32px]", children: /* @__PURE__ */ (0, import_jsx_runtime35.jsxs)("div", { className: "!rounded-t-[32px] overflow-auto mb-[60px]", children: [
3286
- /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(DrawerHeader, { className: "text-left border-b border-[var(--ui-border-200)]", children: /* @__PURE__ */ (0, import_jsx_runtime35.jsx)("div", { className: "flex flex-row items-start justify-between", children: /* @__PURE__ */ (0, import_jsx_runtime35.jsxs)("div", { className: "flex flex-col items-start gap-2", children: [
3287
- modalTitle && /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(DrawerTitle, { className: "text-lg font-medium text-[var(--ui-text-900)]", children: modalTitle }),
3288
- description && /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(DrawerDescription, { className: "text-left", children: description || getDefaultDescription() })
3375
+ return /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(Drawer, { open, onOpenChange, children: /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(DrawerContent, { className: "!rounded-t-[32px]", children: /* @__PURE__ */ (0, import_jsx_runtime37.jsxs)("div", { className: "!rounded-t-[32px] overflow-auto mb-[60px]", children: [
3376
+ /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(DrawerHeader, { className: "text-left border-b border-[var(--ui-border-200)]", children: /* @__PURE__ */ (0, import_jsx_runtime37.jsx)("div", { className: "flex flex-row items-start justify-between", children: /* @__PURE__ */ (0, import_jsx_runtime37.jsxs)("div", { className: "flex flex-col items-start gap-2", children: [
3377
+ modalTitle && /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(DrawerTitle, { className: "text-lg font-medium text-[var(--ui-text-900)]", children: modalTitle }),
3378
+ description && /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(DrawerDescription, { className: "text-left", children: description || getDefaultDescription() })
3289
3379
  ] }) }) }),
3290
- /* @__PURE__ */ (0, import_jsx_runtime35.jsx)("div", { className: cn("mt-6 px-6 pt-6 pb-6", contentClassName), children: modalContent }),
3291
- /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(DrawerFooter, { className: "pt-0", children: footer })
3380
+ /* @__PURE__ */ (0, import_jsx_runtime37.jsx)("div", { className: cn("mt-6 px-6 pt-6 pb-6", contentClassName), children: modalContent }),
3381
+ /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(DrawerFooter, { className: "pt-0", children: footer })
3292
3382
  ] }) }) });
3293
3383
  }
3294
- return /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(ShadcnDialog, { open, onOpenChange, children: /* @__PURE__ */ (0, import_jsx_runtime35.jsxs)(
3384
+ return /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(ShadcnDialog, { open, onOpenChange, children: /* @__PURE__ */ (0, import_jsx_runtime37.jsxs)(
3295
3385
  ShadcnDialogContent,
3296
3386
  {
3297
3387
  className: cn(
@@ -3300,12 +3390,12 @@ var EasyOtpModal = ({
3300
3390
  contentClassName
3301
3391
  ),
3302
3392
  children: [
3303
- /* @__PURE__ */ (0, import_jsx_runtime35.jsxs)(ShadcnDialogHeader, { className: "hidden", children: [
3304
- /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(ShadcnDialogTitle, { className: "sr-only", children: modalTitle }),
3305
- /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(ShadcnDialogDescription, { className: "sr-only", children: description || getDefaultDescription() })
3393
+ /* @__PURE__ */ (0, import_jsx_runtime37.jsxs)(ShadcnDialogHeader, { className: "hidden", children: [
3394
+ /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(ShadcnDialogTitle, { className: "sr-only", children: modalTitle }),
3395
+ /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(ShadcnDialogDescription, { className: "sr-only", children: description || getDefaultDescription() })
3306
3396
  ] }),
3307
- /* @__PURE__ */ (0, import_jsx_runtime35.jsx)("div", { className, children: modalContent }),
3308
- /* @__PURE__ */ (0, import_jsx_runtime35.jsx)("div", { className: "mt-0", children: footer })
3397
+ /* @__PURE__ */ (0, import_jsx_runtime37.jsx)("div", { className, children: modalContent }),
3398
+ /* @__PURE__ */ (0, import_jsx_runtime37.jsx)("div", { className: "mt-0", children: footer })
3309
3399
  ]
3310
3400
  }
3311
3401
  ) });
@@ -3313,15 +3403,15 @@ var EasyOtpModal = ({
3313
3403
  EasyOtpModal.displayName = "EasyOtpModal";
3314
3404
 
3315
3405
  // src/components/easy/select.tsx
3316
- var React36 = __toESM(require("react"), 1);
3317
- var import_lucide_react19 = require("lucide-react");
3406
+ var React38 = __toESM(require("react"), 1);
3407
+ var import_lucide_react20 = require("lucide-react");
3318
3408
 
3319
3409
  // src/components/ui/command.tsx
3320
- var React33 = __toESM(require("react"), 1);
3410
+ var React35 = __toESM(require("react"), 1);
3321
3411
  var import_cmdk = require("cmdk");
3322
- var import_lucide_react18 = require("lucide-react");
3323
- var import_jsx_runtime36 = require("react/jsx-runtime");
3324
- var Command = React33.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(
3412
+ var import_lucide_react19 = require("lucide-react");
3413
+ var import_jsx_runtime38 = require("react/jsx-runtime");
3414
+ var Command = React35.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(
3325
3415
  import_cmdk.Command,
3326
3416
  {
3327
3417
  ref,
@@ -3333,9 +3423,9 @@ var Command = React33.forwardRef(({ className, ...props }, ref) => /* @__PURE__
3333
3423
  }
3334
3424
  ));
3335
3425
  Command.displayName = import_cmdk.Command.displayName;
3336
- var CommandInput = React33.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime36.jsxs)("div", { className: "flex items-center border-b px-3", "cmdk-input-wrapper": "", children: [
3337
- /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(import_lucide_react18.Search, { className: "mr-2 h-4 w-4 shrink-0 opacity-50" }),
3338
- /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(
3426
+ var CommandInput = React35.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime38.jsxs)("div", { className: "flex items-center border-b px-3", "cmdk-input-wrapper": "", children: [
3427
+ /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(import_lucide_react19.Search, { className: "mr-2 h-4 w-4 shrink-0 opacity-50" }),
3428
+ /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(
3339
3429
  import_cmdk.Command.Input,
3340
3430
  {
3341
3431
  ref,
@@ -3348,7 +3438,7 @@ var CommandInput = React33.forwardRef(({ className, ...props }, ref) => /* @__PU
3348
3438
  )
3349
3439
  ] }));
3350
3440
  CommandInput.displayName = import_cmdk.Command.Input.displayName;
3351
- var CommandList = React33.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(
3441
+ var CommandList = React35.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(
3352
3442
  import_cmdk.Command.List,
3353
3443
  {
3354
3444
  ref,
@@ -3357,7 +3447,7 @@ var CommandList = React33.forwardRef(({ className, ...props }, ref) => /* @__PUR
3357
3447
  }
3358
3448
  ));
3359
3449
  CommandList.displayName = import_cmdk.Command.List.displayName;
3360
- var CommandEmpty = React33.forwardRef((props, ref) => /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(
3450
+ var CommandEmpty = React35.forwardRef((props, ref) => /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(
3361
3451
  import_cmdk.Command.Empty,
3362
3452
  {
3363
3453
  ref,
@@ -3366,7 +3456,7 @@ var CommandEmpty = React33.forwardRef((props, ref) => /* @__PURE__ */ (0, import
3366
3456
  }
3367
3457
  ));
3368
3458
  CommandEmpty.displayName = import_cmdk.Command.Empty.displayName;
3369
- var CommandGroup = React33.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(
3459
+ var CommandGroup = React35.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(
3370
3460
  import_cmdk.Command.Group,
3371
3461
  {
3372
3462
  ref,
@@ -3378,7 +3468,7 @@ var CommandGroup = React33.forwardRef(({ className, ...props }, ref) => /* @__PU
3378
3468
  }
3379
3469
  ));
3380
3470
  CommandGroup.displayName = import_cmdk.Command.Group.displayName;
3381
- var CommandSeparator = React33.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(
3471
+ var CommandSeparator = React35.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(
3382
3472
  import_cmdk.Command.Separator,
3383
3473
  {
3384
3474
  ref,
@@ -3387,7 +3477,7 @@ var CommandSeparator = React33.forwardRef(({ className, ...props }, ref) => /* @
3387
3477
  }
3388
3478
  ));
3389
3479
  CommandSeparator.displayName = import_cmdk.Command.Separator.displayName;
3390
- var CommandItem = React33.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(
3480
+ var CommandItem = React35.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(
3391
3481
  import_cmdk.Command.Item,
3392
3482
  {
3393
3483
  ref,
@@ -3403,7 +3493,7 @@ var CommandShortcut = ({
3403
3493
  className,
3404
3494
  ...props
3405
3495
  }) => {
3406
- return /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(
3496
+ return /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(
3407
3497
  "span",
3408
3498
  {
3409
3499
  className: cn(
@@ -3417,12 +3507,12 @@ var CommandShortcut = ({
3417
3507
  CommandShortcut.displayName = "CommandShortcut";
3418
3508
 
3419
3509
  // src/components/ui/popover.tsx
3420
- var React34 = __toESM(require("react"), 1);
3510
+ var React36 = __toESM(require("react"), 1);
3421
3511
  var PopoverPrimitive = __toESM(require("@radix-ui/react-popover"), 1);
3422
- var import_jsx_runtime37 = require("react/jsx-runtime");
3512
+ var import_jsx_runtime39 = require("react/jsx-runtime");
3423
3513
  var Popover = PopoverPrimitive.Root;
3424
3514
  var PopoverTrigger = PopoverPrimitive.Trigger;
3425
- var PopoverContent = React34.forwardRef(({ className, align = "center", sideOffset = 4, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(PopoverPrimitive.Portal, { children: /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(
3515
+ var PopoverContent = React36.forwardRef(({ className, align = "center", sideOffset = 4, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(PopoverPrimitive.Portal, { children: /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(
3426
3516
  PopoverPrimitive.Content,
3427
3517
  {
3428
3518
  ref,
@@ -3438,24 +3528,24 @@ var PopoverContent = React34.forwardRef(({ className, align = "center", sideOffs
3438
3528
  PopoverContent.displayName = PopoverPrimitive.Content.displayName;
3439
3529
 
3440
3530
  // src/components/ui/scroll-area.tsx
3441
- var React35 = __toESM(require("react"), 1);
3531
+ var React37 = __toESM(require("react"), 1);
3442
3532
  var ScrollAreaPrimitive = __toESM(require("@radix-ui/react-scroll-area"), 1);
3443
- var import_jsx_runtime38 = require("react/jsx-runtime");
3444
- var ScrollArea = React35.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime38.jsxs)(
3533
+ var import_jsx_runtime40 = require("react/jsx-runtime");
3534
+ var ScrollArea = React37.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime40.jsxs)(
3445
3535
  ScrollAreaPrimitive.Root,
3446
3536
  {
3447
3537
  ref,
3448
3538
  className: cn("relative overflow-hidden", className),
3449
3539
  ...props,
3450
3540
  children: [
3451
- /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(ScrollAreaPrimitive.Viewport, { className: "h-full w-full rounded-[inherit]", children }),
3452
- /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(ScrollBar, {}),
3453
- /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(ScrollAreaPrimitive.Corner, {})
3541
+ /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(ScrollAreaPrimitive.Viewport, { className: "h-full w-full rounded-[inherit]", children }),
3542
+ /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(ScrollBar, {}),
3543
+ /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(ScrollAreaPrimitive.Corner, {})
3454
3544
  ]
3455
3545
  }
3456
3546
  ));
3457
3547
  ScrollArea.displayName = ScrollAreaPrimitive.Root.displayName;
3458
- var ScrollBar = React35.forwardRef(({ className, orientation = "vertical", ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(
3548
+ var ScrollBar = React37.forwardRef(({ className, orientation = "vertical", ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(
3459
3549
  ScrollAreaPrimitive.ScrollAreaScrollbar,
3460
3550
  {
3461
3551
  ref,
@@ -3467,14 +3557,14 @@ var ScrollBar = React35.forwardRef(({ className, orientation = "vertical", ...pr
3467
3557
  className
3468
3558
  ),
3469
3559
  ...props,
3470
- children: /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(ScrollAreaPrimitive.ScrollAreaThumb, { className: "relative flex-1 rounded-full bg-border" })
3560
+ children: /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(ScrollAreaPrimitive.ScrollAreaThumb, { className: "relative flex-1 rounded-full bg-border" })
3471
3561
  }
3472
3562
  ));
3473
3563
  ScrollBar.displayName = ScrollAreaPrimitive.ScrollAreaScrollbar.displayName;
3474
3564
 
3475
3565
  // src/components/easy/select.tsx
3476
- var import_jsx_runtime39 = require("react/jsx-runtime");
3477
- var EasySelect = React36.forwardRef(
3566
+ var import_jsx_runtime41 = require("react/jsx-runtime");
3567
+ var EasySelect = React38.forwardRef(
3478
3568
  ({
3479
3569
  label,
3480
3570
  bottomSheetLabel,
@@ -3492,11 +3582,11 @@ var EasySelect = React36.forwardRef(
3492
3582
  name,
3493
3583
  ...props
3494
3584
  }, ref) => {
3495
- const [open, setOpen] = React36.useState(false);
3496
- const [searchValue, setSearchValue] = React36.useState("");
3585
+ const [open, setOpen] = React38.useState(false);
3586
+ const [searchValue, setSearchValue] = React38.useState("");
3497
3587
  const isMobile = useIsMobile();
3498
3588
  const selectedOption = options.find((option) => option.value === value);
3499
- const filteredOptions = React36.useMemo(
3589
+ const filteredOptions = React38.useMemo(
3500
3590
  () => options.filter(
3501
3591
  (option) => option.label.toLocaleLowerCase("tr").includes(searchValue.toLocaleLowerCase("tr"))
3502
3592
  ),
@@ -3521,10 +3611,10 @@ var EasySelect = React36.forwardRef(
3521
3611
  !value && "text-[var(--ui-text-400)]",
3522
3612
  className
3523
3613
  );
3524
- const content = /* @__PURE__ */ (0, import_jsx_runtime39.jsxs)(import_jsx_runtime39.Fragment, { children: [
3525
- /* @__PURE__ */ (0, import_jsx_runtime39.jsxs)("div", { className: "relative mx-3 mt-3", children: [
3526
- /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(import_lucide_react19.Search, { className: "absolute left-3 top-1/2 h-4 w-4 -translate-y-1/2 text-muted-foreground" }),
3527
- /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(
3614
+ const content = /* @__PURE__ */ (0, import_jsx_runtime41.jsxs)(import_jsx_runtime41.Fragment, { children: [
3615
+ /* @__PURE__ */ (0, import_jsx_runtime41.jsxs)("div", { className: "relative mx-3 mt-3", children: [
3616
+ /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(import_lucide_react20.Search, { className: "absolute left-3 top-1/2 h-4 w-4 -translate-y-1/2 text-muted-foreground" }),
3617
+ /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(
3528
3618
  "input",
3529
3619
  {
3530
3620
  placeholder: searchPlaceholder,
@@ -3534,7 +3624,7 @@ var EasySelect = React36.forwardRef(
3534
3624
  style: { fontSize: "16px" }
3535
3625
  }
3536
3626
  ),
3537
- searchValue && /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(
3627
+ searchValue && /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(
3538
3628
  ShadcnButton,
3539
3629
  {
3540
3630
  variant: "link",
@@ -3542,16 +3632,16 @@ var EasySelect = React36.forwardRef(
3542
3632
  className: "absolute right-2 top-1/2 h-5 w-5 -translate-y-1/2 rounded-full bg-transparent p-0 text-muted-foreground hover:bg-muted",
3543
3633
  onClick: () => setSearchValue(""),
3544
3634
  type: "button",
3545
- children: /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(import_lucide_react19.X, { className: "h-3 w-3" })
3635
+ children: /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(import_lucide_react20.X, { className: "h-3 w-3" })
3546
3636
  }
3547
3637
  )
3548
3638
  ] }),
3549
- /* @__PURE__ */ (0, import_jsx_runtime39.jsxs)(CommandList, { className: "max-h-72 overflow-auto bg-[var(--ui-background-0)]", children: [
3550
- /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(CommandEmpty, { children: emptyMessage }),
3551
- /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(CommandGroup, { className: "px-3", children: filteredOptions.map((option, index) => {
3639
+ /* @__PURE__ */ (0, import_jsx_runtime41.jsxs)(CommandList, { className: "max-h-72 overflow-auto bg-[var(--ui-background-0)]", children: [
3640
+ /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(CommandEmpty, { children: emptyMessage }),
3641
+ /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(CommandGroup, { className: "px-3", children: filteredOptions.map((option, index) => {
3552
3642
  const isSelected = value === option.value;
3553
3643
  const isLast = index === filteredOptions.length - 1;
3554
- return /* @__PURE__ */ (0, import_jsx_runtime39.jsxs)(
3644
+ return /* @__PURE__ */ (0, import_jsx_runtime41.jsxs)(
3555
3645
  CommandItem,
3556
3646
  {
3557
3647
  value: option.value,
@@ -3565,17 +3655,17 @@ var EasySelect = React36.forwardRef(
3565
3655
  !isLast && "border-b border-[var(--ui-border)]"
3566
3656
  ),
3567
3657
  children: [
3568
- /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(
3658
+ /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(
3569
3659
  "span",
3570
3660
  {
3571
3661
  className: cn(
3572
3662
  "flex h-4 w-4 items-center justify-center rounded-full",
3573
3663
  isSelected ? "bg-[var(--ui-primary-500)]" : "border border-[var(--ui-text-300)] bg-transparent"
3574
3664
  ),
3575
- children: isSelected && /* @__PURE__ */ (0, import_jsx_runtime39.jsx)("span", { className: "block h-2.5 w-2.5 rounded-full bg-white" })
3665
+ children: isSelected && /* @__PURE__ */ (0, import_jsx_runtime41.jsx)("span", { className: "block h-2.5 w-2.5 rounded-full bg-white" })
3576
3666
  }
3577
3667
  ),
3578
- /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(
3668
+ /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(
3579
3669
  "span",
3580
3670
  {
3581
3671
  className: cn(
@@ -3592,8 +3682,8 @@ var EasySelect = React36.forwardRef(
3592
3682
  }) })
3593
3683
  ] })
3594
3684
  ] });
3595
- return /* @__PURE__ */ (0, import_jsx_runtime39.jsxs)("div", { className: "flex w-full flex-col gap-1.5", children: [
3596
- label && /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(
3685
+ return /* @__PURE__ */ (0, import_jsx_runtime41.jsxs)("div", { className: "flex w-full flex-col gap-1.5", children: [
3686
+ label && /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(
3597
3687
  EasyLabel,
3598
3688
  {
3599
3689
  as: "label",
@@ -3603,8 +3693,8 @@ var EasySelect = React36.forwardRef(
3603
3693
  children: label
3604
3694
  }
3605
3695
  ),
3606
- isMobile ? /* @__PURE__ */ (0, import_jsx_runtime39.jsxs)(Drawer, { open, onOpenChange: setOpen, children: [
3607
- /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(DrawerTrigger, { asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime39.jsxs)(
3696
+ isMobile ? /* @__PURE__ */ (0, import_jsx_runtime41.jsxs)(Drawer, { open, onOpenChange: setOpen, children: [
3697
+ /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(DrawerTrigger, { asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime41.jsxs)(
3608
3698
  ShadcnButton,
3609
3699
  {
3610
3700
  ref,
@@ -3615,29 +3705,29 @@ var EasySelect = React36.forwardRef(
3615
3705
  type: "button",
3616
3706
  ...props,
3617
3707
  children: [
3618
- /* @__PURE__ */ (0, import_jsx_runtime39.jsx)("span", { className: "truncate text-left", children: selectedOption ? selectedOption.label : placeholder }),
3619
- /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(import_lucide_react19.ChevronDown, { className: "ml-2 h-4 w-4 shrink-0 opacity-50" })
3708
+ /* @__PURE__ */ (0, import_jsx_runtime41.jsx)("span", { className: "truncate text-left", children: selectedOption ? selectedOption.label : placeholder }),
3709
+ /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(import_lucide_react20.ChevronDown, { className: "ml-2 h-4 w-4 shrink-0 opacity-50" })
3620
3710
  ]
3621
3711
  }
3622
3712
  ) }),
3623
- /* @__PURE__ */ (0, import_jsx_runtime39.jsxs)(DrawerContent, { className: "max-h-[80vh] rounded-t-[32px]", children: [
3624
- /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(DrawerHeader, { className: "border-b", children: /* @__PURE__ */ (0, import_jsx_runtime39.jsxs)("div", { className: "flex items-center justify-between", children: [
3625
- /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(DrawerTitle, { className: "text-lg font-semibold", children: bottomSheetLabel || "Se\xE7im Yap\u0131n" }),
3626
- /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(DrawerClose, { asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(
3713
+ /* @__PURE__ */ (0, import_jsx_runtime41.jsxs)(DrawerContent, { className: "max-h-[80vh] rounded-t-[32px]", children: [
3714
+ /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(DrawerHeader, { className: "border-b", children: /* @__PURE__ */ (0, import_jsx_runtime41.jsxs)("div", { className: "flex items-center justify-between", children: [
3715
+ /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(DrawerTitle, { className: "text-lg font-semibold", children: bottomSheetLabel || "Se\xE7im Yap\u0131n" }),
3716
+ /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(DrawerClose, { asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(
3627
3717
  ShadcnButton,
3628
3718
  {
3629
3719
  variant: "link",
3630
3720
  size: "icon",
3631
3721
  className: "h-8 w-8 rounded-full p-0 text-muted-foreground hover:bg-muted",
3632
3722
  type: "button",
3633
- children: /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(import_lucide_react19.X, { className: "h-4 w-4" })
3723
+ children: /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(import_lucide_react20.X, { className: "h-4 w-4" })
3634
3724
  }
3635
3725
  ) })
3636
3726
  ] }) }),
3637
- /* @__PURE__ */ (0, import_jsx_runtime39.jsx)("div", { className: "flex-1 overflow-hidden px-6 pb-6 pt-2", children: /* @__PURE__ */ (0, import_jsx_runtime39.jsxs)("div", { className: "flex-col items-start gap-[10px]", children: [
3638
- /* @__PURE__ */ (0, import_jsx_runtime39.jsxs)("div", { className: "relative my-4", children: [
3639
- /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(import_lucide_react19.Search, { className: "absolute left-3 top-1/2 h-4 w-4 -translate-y-1/2 text-muted-foreground" }),
3640
- /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(
3727
+ /* @__PURE__ */ (0, import_jsx_runtime41.jsx)("div", { className: "flex-1 overflow-hidden px-6 pb-6 pt-2", children: /* @__PURE__ */ (0, import_jsx_runtime41.jsxs)("div", { className: "flex-col items-start gap-[10px]", children: [
3728
+ /* @__PURE__ */ (0, import_jsx_runtime41.jsxs)("div", { className: "relative my-4", children: [
3729
+ /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(import_lucide_react20.Search, { className: "absolute left-3 top-1/2 h-4 w-4 -translate-y-1/2 text-muted-foreground" }),
3730
+ /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(
3641
3731
  "input",
3642
3732
  {
3643
3733
  placeholder: searchPlaceholder,
@@ -3647,7 +3737,7 @@ var EasySelect = React36.forwardRef(
3647
3737
  style: { fontSize: "16px" }
3648
3738
  }
3649
3739
  ),
3650
- searchValue && /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(
3740
+ searchValue && /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(
3651
3741
  ShadcnButton,
3652
3742
  {
3653
3743
  variant: "link",
@@ -3655,14 +3745,14 @@ var EasySelect = React36.forwardRef(
3655
3745
  className: "absolute right-2 top-1/2 h-5 w-5 -translate-y-1/2 rounded-full bg-transparent p-0 text-muted-foreground hover:bg-muted",
3656
3746
  onClick: () => setSearchValue(""),
3657
3747
  type: "button",
3658
- children: /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(import_lucide_react19.X, { className: "h-3 w-3" })
3748
+ children: /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(import_lucide_react20.X, { className: "h-3 w-3" })
3659
3749
  }
3660
3750
  )
3661
3751
  ] }),
3662
- /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(ScrollArea, { className: "h-[60vh] bg-[var(--ui-background-0)] rounded-[24px]", children: filteredOptions.length === 0 ? /* @__PURE__ */ (0, import_jsx_runtime39.jsx)("div", { className: "py-8 text-center text-muted-foreground text-sm", children: emptyMessage }) : /* @__PURE__ */ (0, import_jsx_runtime39.jsx)("div", { className: "space-y-0 pb-4", children: filteredOptions.map((option, index) => {
3752
+ /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(ScrollArea, { className: "h-[60vh] bg-[var(--ui-background-0)] rounded-[24px]", children: filteredOptions.length === 0 ? /* @__PURE__ */ (0, import_jsx_runtime41.jsx)("div", { className: "py-8 text-center text-muted-foreground text-sm", children: emptyMessage }) : /* @__PURE__ */ (0, import_jsx_runtime41.jsx)("div", { className: "space-y-0 pb-4", children: filteredOptions.map((option, index) => {
3663
3753
  const isSelected = value === option.value;
3664
3754
  const isLast = index === filteredOptions.length - 1;
3665
- return /* @__PURE__ */ (0, import_jsx_runtime39.jsxs)(
3755
+ return /* @__PURE__ */ (0, import_jsx_runtime41.jsxs)(
3666
3756
  "button",
3667
3757
  {
3668
3758
  type: "button",
@@ -3677,7 +3767,7 @@ var EasySelect = React36.forwardRef(
3677
3767
  !isLast && "border-b border-[var(--ui-border-200)]"
3678
3768
  ),
3679
3769
  children: [
3680
- /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(
3770
+ /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(
3681
3771
  "span",
3682
3772
  {
3683
3773
  className: cn(
@@ -3685,10 +3775,10 @@ var EasySelect = React36.forwardRef(
3685
3775
  isSelected ? "bg-[var(--ui-primary-500)]" : "border border-[var(--ui-text-300)] bg-transparent"
3686
3776
  ),
3687
3777
  children: isSelected && // İçteki beyaz boşluk
3688
- /* @__PURE__ */ (0, import_jsx_runtime39.jsx)("span", { className: "block h-2.5 w-2.5 rounded-full bg-white" })
3778
+ /* @__PURE__ */ (0, import_jsx_runtime41.jsx)("span", { className: "block h-2.5 w-2.5 rounded-full bg-white" })
3689
3779
  }
3690
3780
  ),
3691
- /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(
3781
+ /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(
3692
3782
  "span",
3693
3783
  {
3694
3784
  className: cn(
@@ -3705,8 +3795,8 @@ var EasySelect = React36.forwardRef(
3705
3795
  }) }) })
3706
3796
  ] }) })
3707
3797
  ] })
3708
- ] }) : /* @__PURE__ */ (0, import_jsx_runtime39.jsxs)(Popover, { open, onOpenChange: setOpen, children: [
3709
- /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(PopoverTrigger, { asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime39.jsxs)(
3798
+ ] }) : /* @__PURE__ */ (0, import_jsx_runtime41.jsxs)(Popover, { open, onOpenChange: setOpen, children: [
3799
+ /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(PopoverTrigger, { asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime41.jsxs)(
3710
3800
  ShadcnButton,
3711
3801
  {
3712
3802
  ref,
@@ -3717,9 +3807,9 @@ var EasySelect = React36.forwardRef(
3717
3807
  type: "button",
3718
3808
  ...props,
3719
3809
  children: [
3720
- /* @__PURE__ */ (0, import_jsx_runtime39.jsx)("span", { className: "truncate text-left", children: selectedOption ? selectedOption.label : placeholder }),
3721
- /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(
3722
- import_lucide_react19.ChevronDown,
3810
+ /* @__PURE__ */ (0, import_jsx_runtime41.jsx)("span", { className: "truncate text-left", children: selectedOption ? selectedOption.label : placeholder }),
3811
+ /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(
3812
+ import_lucide_react20.ChevronDown,
3723
3813
  {
3724
3814
  className: cn(
3725
3815
  "ml-2 h-4 w-4 shrink-0 opacity-50 transition-transform",
@@ -3730,24 +3820,24 @@ var EasySelect = React36.forwardRef(
3730
3820
  ]
3731
3821
  }
3732
3822
  ) }),
3733
- /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(PopoverContent, { className: "w-[var(--radix-popover-trigger-width)] max-w-[var(--radix-popover-trigger-width)] p-0", align: "start", children: /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(Command, { children: content }) })
3823
+ /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(PopoverContent, { className: "w-[var(--radix-popover-trigger-width)] max-w-[var(--radix-popover-trigger-width)] p-0", align: "start", children: /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(Command, { children: content }) })
3734
3824
  ] }),
3735
- errorText ? /* @__PURE__ */ (0, import_jsx_runtime39.jsx)("p", { className: "text-sm text-[var(--ui-danger-base)]", role: "alert", children: errorText }) : helperText ? /* @__PURE__ */ (0, import_jsx_runtime39.jsx)("p", { className: "text-sm text-[var(--ui-text-500)]", children: helperText }) : null
3825
+ errorText ? /* @__PURE__ */ (0, import_jsx_runtime41.jsx)("p", { className: "text-sm text-[var(--ui-danger-base)]", role: "alert", children: errorText }) : helperText ? /* @__PURE__ */ (0, import_jsx_runtime41.jsx)("p", { className: "text-sm text-[var(--ui-text-500)]", children: helperText }) : null
3736
3826
  ] });
3737
3827
  }
3738
3828
  );
3739
3829
  EasySelect.displayName = "EasySelect";
3740
3830
 
3741
3831
  // src/components/easy/date-picker.tsx
3742
- var React38 = __toESM(require("react"), 1);
3743
- var import_lucide_react21 = require("lucide-react");
3832
+ var React40 = __toESM(require("react"), 1);
3833
+ var import_lucide_react22 = require("lucide-react");
3744
3834
  var import_date_fns = require("date-fns");
3745
3835
 
3746
3836
  // src/components/ui/calendar.tsx
3747
- var React37 = __toESM(require("react"), 1);
3748
- var import_lucide_react20 = require("lucide-react");
3837
+ var React39 = __toESM(require("react"), 1);
3838
+ var import_lucide_react21 = require("lucide-react");
3749
3839
  var import_react_day_picker = require("react-day-picker");
3750
- var import_jsx_runtime40 = require("react/jsx-runtime");
3840
+ var import_jsx_runtime42 = require("react/jsx-runtime");
3751
3841
  function Calendar({
3752
3842
  className,
3753
3843
  classNames,
@@ -3759,7 +3849,7 @@ function Calendar({
3759
3849
  ...props
3760
3850
  }) {
3761
3851
  const defaultClassNames = (0, import_react_day_picker.getDefaultClassNames)();
3762
- return /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(
3852
+ return /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(
3763
3853
  import_react_day_picker.DayPicker,
3764
3854
  {
3765
3855
  showOutsideDays,
@@ -3858,7 +3948,7 @@ function Calendar({
3858
3948
  },
3859
3949
  components: {
3860
3950
  Root: ({ className: className2, rootRef, ...props2 }) => {
3861
- return /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(
3951
+ return /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(
3862
3952
  "div",
3863
3953
  {
3864
3954
  "data-slot": "calendar",
@@ -3870,22 +3960,22 @@ function Calendar({
3870
3960
  },
3871
3961
  Chevron: ({ className: className2, orientation, ...props2 }) => {
3872
3962
  if (orientation === "left") {
3873
- return /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(import_lucide_react20.ChevronLeftIcon, { className: cn("size-4", className2), ...props2 });
3963
+ return /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(import_lucide_react21.ChevronLeftIcon, { className: cn("size-4", className2), ...props2 });
3874
3964
  }
3875
3965
  if (orientation === "right") {
3876
- return /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(
3877
- import_lucide_react20.ChevronRightIcon,
3966
+ return /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(
3967
+ import_lucide_react21.ChevronRightIcon,
3878
3968
  {
3879
3969
  className: cn("size-4", className2),
3880
3970
  ...props2
3881
3971
  }
3882
3972
  );
3883
3973
  }
3884
- return /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(import_lucide_react20.ChevronDownIcon, { className: cn("size-4", className2), ...props2 });
3974
+ return /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(import_lucide_react21.ChevronDownIcon, { className: cn("size-4", className2), ...props2 });
3885
3975
  },
3886
3976
  DayButton: CalendarDayButton,
3887
3977
  WeekNumber: ({ children, ...props2 }) => {
3888
- return /* @__PURE__ */ (0, import_jsx_runtime40.jsx)("td", { ...props2, children: /* @__PURE__ */ (0, import_jsx_runtime40.jsx)("div", { className: "flex size-[--cell-size] items-center justify-center text-center", children }) });
3978
+ return /* @__PURE__ */ (0, import_jsx_runtime42.jsx)("td", { ...props2, children: /* @__PURE__ */ (0, import_jsx_runtime42.jsx)("div", { className: "flex size-[--cell-size] items-center justify-center text-center", children }) });
3889
3979
  },
3890
3980
  ...components
3891
3981
  },
@@ -3900,11 +3990,11 @@ function CalendarDayButton({
3900
3990
  ...props
3901
3991
  }) {
3902
3992
  const defaultClassNames = (0, import_react_day_picker.getDefaultClassNames)();
3903
- const ref = React37.useRef(null);
3904
- React37.useEffect(() => {
3993
+ const ref = React39.useRef(null);
3994
+ React39.useEffect(() => {
3905
3995
  if (modifiers.focused) ref.current?.focus();
3906
3996
  }, [modifiers.focused]);
3907
- return /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(
3997
+ return /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(
3908
3998
  ShadcnButton,
3909
3999
  {
3910
4000
  ref,
@@ -3926,8 +4016,8 @@ function CalendarDayButton({
3926
4016
  }
3927
4017
 
3928
4018
  // src/components/easy/date-picker.tsx
3929
- var import_jsx_runtime41 = require("react/jsx-runtime");
3930
- var EasyDatePicker = React38.forwardRef(
4019
+ var import_jsx_runtime43 = require("react/jsx-runtime");
4020
+ var EasyDatePicker = React40.forwardRef(
3931
4021
  ({
3932
4022
  label,
3933
4023
  helperText,
@@ -3943,12 +4033,12 @@ var EasyDatePicker = React38.forwardRef(
3943
4033
  toDate,
3944
4034
  ...props
3945
4035
  }, ref) => {
3946
- const generatedId = React38.useId();
4036
+ const generatedId = React40.useId();
3947
4037
  const inputId = id ?? generatedId;
3948
4038
  const helperId = helperText && !errorText ? `${inputId}-helper` : void 0;
3949
4039
  const errorId = errorText ? `${inputId}-error` : void 0;
3950
- const [open, setOpen] = React38.useState(false);
3951
- const [isFocused, setIsFocused] = React38.useState(false);
4040
+ const [open, setOpen] = React40.useState(false);
4041
+ const [isFocused, setIsFocused] = React40.useState(false);
3952
4042
  const hasError = Boolean(errorText);
3953
4043
  const triggerClassName = cn(
3954
4044
  "flex h-12 w-full items-center justify-between rounded-[var(--ui-radius-lg)] border px-4 py-3 text-base font-medium",
@@ -3962,8 +4052,8 @@ var EasyDatePicker = React38.forwardRef(
3962
4052
  "disabled:cursor-not-allowed disabled:bg-[var(--ui-background-100)] disabled:text-[var(--ui-text-400)]",
3963
4053
  className
3964
4054
  );
3965
- return /* @__PURE__ */ (0, import_jsx_runtime41.jsxs)("div", { className: "flex w-full flex-col gap-1.5", children: [
3966
- label && /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(
4055
+ return /* @__PURE__ */ (0, import_jsx_runtime43.jsxs)("div", { className: "flex w-full flex-col gap-1.5", children: [
4056
+ label && /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(
3967
4057
  "label",
3968
4058
  {
3969
4059
  htmlFor: inputId,
@@ -3971,7 +4061,7 @@ var EasyDatePicker = React38.forwardRef(
3971
4061
  children: label
3972
4062
  }
3973
4063
  ),
3974
- /* @__PURE__ */ (0, import_jsx_runtime41.jsxs)(
4064
+ /* @__PURE__ */ (0, import_jsx_runtime43.jsxs)(
3975
4065
  Popover,
3976
4066
  {
3977
4067
  open,
@@ -3980,7 +4070,7 @@ var EasyDatePicker = React38.forwardRef(
3980
4070
  setIsFocused(next);
3981
4071
  },
3982
4072
  children: [
3983
- /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(PopoverTrigger, { asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime41.jsxs)(
4073
+ /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(PopoverTrigger, { asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime43.jsxs)(
3984
4074
  ShadcnButton,
3985
4075
  {
3986
4076
  ref,
@@ -3994,7 +4084,7 @@ var EasyDatePicker = React38.forwardRef(
3994
4084
  "aria-describedby": errorId ?? helperId,
3995
4085
  ...props,
3996
4086
  children: [
3997
- /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(
4087
+ /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(
3998
4088
  "span",
3999
4089
  {
4000
4090
  className: cn(
@@ -4004,16 +4094,16 @@ var EasyDatePicker = React38.forwardRef(
4004
4094
  children: value ? (0, import_date_fns.format)(value, "dd.MM.yyyy") : placeholder
4005
4095
  }
4006
4096
  ),
4007
- /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(import_lucide_react21.Calendar, { className: "ml-3 h-5 w-5 text-[var(--ui-icon-900)]" })
4097
+ /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(import_lucide_react22.Calendar, { className: "ml-3 h-5 w-5 text-[var(--ui-icon-900)]" })
4008
4098
  ]
4009
4099
  }
4010
4100
  ) }),
4011
- /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(
4101
+ /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(
4012
4102
  PopoverContent,
4013
4103
  {
4014
4104
  className: "w-auto p-0 bg-[var(--ui-background-0)] border border-[var(--ui-border-200)] rounded-[24px] shadow-md",
4015
4105
  align: "start",
4016
- children: /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(
4106
+ children: /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(
4017
4107
  Calendar,
4018
4108
  {
4019
4109
  mode: "single",
@@ -4032,26 +4122,26 @@ var EasyDatePicker = React38.forwardRef(
4032
4122
  ]
4033
4123
  }
4034
4124
  ),
4035
- hasError ? /* @__PURE__ */ (0, import_jsx_runtime41.jsxs)(
4125
+ hasError ? /* @__PURE__ */ (0, import_jsx_runtime43.jsxs)(
4036
4126
  "p",
4037
4127
  {
4038
4128
  id: errorId,
4039
4129
  className: "flex items-center gap-1 text-sm text-[var(--ui-danger-base)]",
4040
4130
  children: [
4041
- /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(import_lucide_react21.AlertCircle, { className: "size-4" }),
4131
+ /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(import_lucide_react22.AlertCircle, { className: "size-4" }),
4042
4132
  errorText
4043
4133
  ]
4044
4134
  }
4045
- ) : helperText ? /* @__PURE__ */ (0, import_jsx_runtime41.jsx)("p", { id: helperId, className: "text-sm text-[var(--ui-text-500)]", children: helperText }) : null
4135
+ ) : helperText ? /* @__PURE__ */ (0, import_jsx_runtime43.jsx)("p", { id: helperId, className: "text-sm text-[var(--ui-text-500)]", children: helperText }) : null
4046
4136
  ] });
4047
4137
  }
4048
4138
  );
4049
4139
  EasyDatePicker.displayName = "EasyDatePicker";
4050
4140
 
4051
4141
  // src/hooks/use-easy-otp.ts
4052
- var React39 = __toESM(require("react"), 1);
4142
+ var React41 = __toESM(require("react"), 1);
4053
4143
  var useEasyOtp = (options) => {
4054
- const [open, setOpen] = React39.useState(false);
4144
+ const [open, setOpen] = React41.useState(false);
4055
4145
  return {
4056
4146
  open,
4057
4147
  setOpen,
@@ -4087,6 +4177,7 @@ var useEasyOtp = (options) => {
4087
4177
  EasyTabsList,
4088
4178
  EasyTabsTrigger,
4089
4179
  EasyTextInput,
4180
+ EasyTextarea,
4090
4181
  EasyTypography,
4091
4182
  Input,
4092
4183
  ShadcnButton,