easykar-backoffice-ui 0.0.2 → 0.0.4

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
@@ -36,6 +36,7 @@ __export(index_exports, {
36
36
  EasyCheckbox: () => EasyCheckbox,
37
37
  EasyContainer: () => EasyContainer,
38
38
  EasyDatePicker: () => EasyDatePicker,
39
+ EasyDialog: () => EasyDialog,
39
40
  EasyDisplay: () => EasyDisplay,
40
41
  EasyEmailInput: () => EasyEmailInput,
41
42
  EasyErrorMessage: () => EasyErrorMessage,
@@ -54,6 +55,7 @@ __export(index_exports, {
54
55
  EasyTabsList: () => EasyTabsList,
55
56
  EasyTabsTrigger: () => EasyTabsTrigger,
56
57
  EasyTextInput: () => EasyTextInput,
58
+ EasyTextarea: () => EasyTextarea,
57
59
  EasyTypography: () => EasyTypography,
58
60
  Input: () => Input,
59
61
  ShadcnButton: () => ShadcnButton,
@@ -544,7 +546,8 @@ var easyButtonVariants = (0, import_class_variance_authority2.cva)(
544
546
  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
547
  gradient: "text-white bg-[var(--ui-gradient-border)]",
546
548
  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)]"
549
+ editbutton: "bg-[var(--ui-blue-base)] text-white text-[14px] hover:bg-[var(--ui-blue-dark)]",
550
+ 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
551
  },
549
552
  appearance: {
550
553
  filled: baseFocusRing,
@@ -1015,11 +1018,99 @@ var EasyTextInput = React10.forwardRef(
1015
1018
  );
1016
1019
  EasyTextInput.displayName = "EasyTextInput";
1017
1020
 
1018
- // src/components/easy/checkbox.tsx
1019
- var React11 = __toESM(require("react"), 1);
1021
+ // src/components/easy/input/textarea.tsx
1022
+ var React12 = __toESM(require("react"), 1);
1020
1023
  var import_lucide_react6 = require("lucide-react");
1024
+
1025
+ // src/components/ui/textarea.tsx
1026
+ var React11 = __toESM(require("react"), 1);
1021
1027
  var import_jsx_runtime12 = require("react/jsx-runtime");
1022
- var EasyCheckbox = React11.forwardRef(
1028
+ var Textarea = React11.forwardRef(({ className, ...props }, ref) => {
1029
+ return /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(
1030
+ "textarea",
1031
+ {
1032
+ className: cn(
1033
+ "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",
1034
+ className
1035
+ ),
1036
+ ref,
1037
+ ...props
1038
+ }
1039
+ );
1040
+ });
1041
+ Textarea.displayName = "Textarea";
1042
+
1043
+ // src/components/easy/input/textarea.tsx
1044
+ var import_jsx_runtime13 = require("react/jsx-runtime");
1045
+ var EasyTextarea = React12.forwardRef(
1046
+ ({ label, helperText, errorText, id, name, className, ...props }, ref) => {
1047
+ const generatedId = React12.useId();
1048
+ const textareaId = id ?? generatedId;
1049
+ const helperId = helperText && !errorText ? `${textareaId}-helper` : void 0;
1050
+ const errorId = errorText ? `${textareaId}-error` : void 0;
1051
+ const [isFocused, setIsFocused] = React12.useState(false);
1052
+ const hasError = Boolean(errorText);
1053
+ 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";
1054
+ 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)]";
1055
+ const disabledClasses2 = "disabled:cursor-not-allowed disabled:bg-[var(--ui-background-100)] disabled:text-[var(--ui-text-400)]";
1056
+ return /* @__PURE__ */ (0, import_jsx_runtime13.jsxs)("div", { className: "flex w-full flex-col gap-1.5", children: [
1057
+ label && /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(
1058
+ "label",
1059
+ {
1060
+ htmlFor: textareaId,
1061
+ className: "text-base font-medium text-[var(--ui-text-900)]",
1062
+ children: label
1063
+ }
1064
+ ),
1065
+ /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(
1066
+ Textarea,
1067
+ {
1068
+ ref,
1069
+ id: textareaId,
1070
+ name: name ?? textareaId,
1071
+ className: cn(
1072
+ baseTextareaClasses,
1073
+ focusClasses2,
1074
+ disabledClasses2,
1075
+ !isFocused && !hasError && "hover:bg-[var(--ui-background-100)]",
1076
+ isFocused && !hasError && "border-[var(--ui-border-900)]",
1077
+ 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)]",
1078
+ className
1079
+ ),
1080
+ "aria-invalid": hasError,
1081
+ "aria-describedby": errorId ?? helperId,
1082
+ onFocus: (event) => {
1083
+ setIsFocused(true);
1084
+ props.onFocus?.(event);
1085
+ },
1086
+ onBlur: (event) => {
1087
+ setIsFocused(false);
1088
+ props.onBlur?.(event);
1089
+ },
1090
+ ...props
1091
+ }
1092
+ ),
1093
+ hasError ? /* @__PURE__ */ (0, import_jsx_runtime13.jsxs)(
1094
+ "p",
1095
+ {
1096
+ id: errorId,
1097
+ className: "flex items-center gap-1 text-sm text-[var(--ui-danger-base)]",
1098
+ children: [
1099
+ /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(import_lucide_react6.AlertCircle, { className: "size-4" }),
1100
+ errorText
1101
+ ]
1102
+ }
1103
+ ) : helperText ? /* @__PURE__ */ (0, import_jsx_runtime13.jsx)("p", { id: helperId, className: "text-sm text-[var(--ui-text-500)]", children: helperText }) : null
1104
+ ] });
1105
+ }
1106
+ );
1107
+ EasyTextarea.displayName = "EasyTextarea";
1108
+
1109
+ // src/components/easy/checkbox.tsx
1110
+ var React13 = __toESM(require("react"), 1);
1111
+ var import_lucide_react7 = require("lucide-react");
1112
+ var import_jsx_runtime14 = require("react/jsx-runtime");
1113
+ var EasyCheckbox = React13.forwardRef(
1023
1114
  ({
1024
1115
  label,
1025
1116
  helperText,
@@ -1030,11 +1121,11 @@ var EasyCheckbox = React11.forwardRef(
1030
1121
  disabled,
1031
1122
  ...props
1032
1123
  }, ref) => {
1033
- const generatedId = React11.useId();
1124
+ const generatedId = React13.useId();
1034
1125
  const inputId = id ?? generatedId;
1035
1126
  const helperId = helperText && !errorText ? `${inputId}-helper` : void 0;
1036
1127
  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)(
1128
+ 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
1129
  "label",
1039
1130
  {
1040
1131
  htmlFor: inputId,
@@ -1043,7 +1134,7 @@ var EasyCheckbox = React11.forwardRef(
1043
1134
  disabled && "cursor-not-allowed opacity-60"
1044
1135
  ),
1045
1136
  children: [
1046
- /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(
1137
+ /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(
1047
1138
  ShadcnCheckbox,
1048
1139
  {
1049
1140
  ref,
@@ -1062,9 +1153,9 @@ var EasyCheckbox = React11.forwardRef(
1062
1153
  ...props
1063
1154
  }
1064
1155
  ),
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)(
1156
+ /* @__PURE__ */ (0, import_jsx_runtime14.jsxs)("div", { className: "flex flex-col gap-0.5", children: [
1157
+ label && /* @__PURE__ */ (0, import_jsx_runtime14.jsx)("span", { className: cn(getTypographyClass("body-medium"), "text-[var(--ui-text-500)]"), children: label }),
1158
+ helperText && !errorText && /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(
1068
1159
  "span",
1069
1160
  {
1070
1161
  id: helperId,
@@ -1072,13 +1163,13 @@ var EasyCheckbox = React11.forwardRef(
1072
1163
  children: helperText
1073
1164
  }
1074
1165
  ),
1075
- errorText && /* @__PURE__ */ (0, import_jsx_runtime12.jsxs)(
1166
+ errorText && /* @__PURE__ */ (0, import_jsx_runtime14.jsxs)(
1076
1167
  "span",
1077
1168
  {
1078
1169
  id: errorId,
1079
1170
  className: "flex items-center gap-1 text-sm text-[var(--ui-danger-base)]",
1080
1171
  children: [
1081
- /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(import_lucide_react6.AlertCircle, { className: "size-4" }),
1172
+ /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(import_lucide_react7.AlertCircle, { className: "size-4" }),
1082
1173
  errorText
1083
1174
  ]
1084
1175
  }
@@ -1092,9 +1183,9 @@ var EasyCheckbox = React11.forwardRef(
1092
1183
  EasyCheckbox.displayName = "EasyCheckbox";
1093
1184
 
1094
1185
  // src/components/easy/container.tsx
1095
- var React12 = __toESM(require("react"), 1);
1186
+ var React14 = __toESM(require("react"), 1);
1096
1187
  var import_class_variance_authority3 = require("class-variance-authority");
1097
- var import_jsx_runtime13 = require("react/jsx-runtime");
1188
+ var import_jsx_runtime15 = require("react/jsx-runtime");
1098
1189
  var containerVariants = (0, import_class_variance_authority3.cva)(
1099
1190
  "mx-auto w-full",
1100
1191
  {
@@ -1120,9 +1211,9 @@ var containerVariants = (0, import_class_variance_authority3.cva)(
1120
1211
  }
1121
1212
  }
1122
1213
  );
1123
- var EasyContainer = React12.forwardRef(
1214
+ var EasyContainer = React14.forwardRef(
1124
1215
  ({ className, size, padding, ...props }, ref) => {
1125
- return /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(
1216
+ return /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(
1126
1217
  "div",
1127
1218
  {
1128
1219
  ref,
@@ -1135,11 +1226,11 @@ var EasyContainer = React12.forwardRef(
1135
1226
  EasyContainer.displayName = "EasyContainer";
1136
1227
 
1137
1228
  // 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(
1229
+ var React15 = __toESM(require("react"), 1);
1230
+ var import_jsx_runtime16 = require("react/jsx-runtime");
1231
+ var EasyDisplay = React15.forwardRef(
1141
1232
  ({ className, variant = "medium", as: Component = "h1", ...props }, ref) => {
1142
- return /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(
1233
+ return /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(
1143
1234
  Component,
1144
1235
  {
1145
1236
  ref,
@@ -1155,18 +1246,18 @@ var EasyDisplay = React13.forwardRef(
1155
1246
  EasyDisplay.displayName = "EasyDisplay";
1156
1247
 
1157
1248
  // src/components/easy/typography/heading.tsx
1158
- var React14 = __toESM(require("react"), 1);
1159
- var import_jsx_runtime15 = require("react/jsx-runtime");
1249
+ var React16 = __toESM(require("react"), 1);
1250
+ var import_jsx_runtime17 = require("react/jsx-runtime");
1160
1251
  var defaultHeadingElements = {
1161
1252
  large: "h1",
1162
1253
  medium: "h2",
1163
1254
  small: "h3",
1164
1255
  xsmall: "h4"
1165
1256
  };
1166
- var EasyHeading = React14.forwardRef(
1257
+ var EasyHeading = React16.forwardRef(
1167
1258
  ({ className, variant = "medium", as, ...props }, ref) => {
1168
1259
  const Component = as ?? defaultHeadingElements[variant];
1169
- return /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(
1260
+ return /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
1170
1261
  Component,
1171
1262
  {
1172
1263
  ref,
@@ -1182,11 +1273,11 @@ var EasyHeading = React14.forwardRef(
1182
1273
  EasyHeading.displayName = "EasyHeading";
1183
1274
 
1184
1275
  // 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(
1276
+ var React17 = __toESM(require("react"), 1);
1277
+ var import_jsx_runtime18 = require("react/jsx-runtime");
1278
+ var EasyLabel = React17.forwardRef(
1188
1279
  ({ className, variant = "medium", as: Component = "label", ...props }, ref) => {
1189
- return /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(
1280
+ return /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
1190
1281
  Component,
1191
1282
  {
1192
1283
  ref,
@@ -1202,11 +1293,11 @@ var EasyLabel = React15.forwardRef(
1202
1293
  EasyLabel.displayName = "EasyLabel";
1203
1294
 
1204
1295
  // 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(
1296
+ var React18 = __toESM(require("react"), 1);
1297
+ var import_jsx_runtime19 = require("react/jsx-runtime");
1298
+ var EasyBody = React18.forwardRef(
1208
1299
  ({ className, variant = "medium", as: Component = "p", ...props }, ref) => {
1209
- return /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
1300
+ return /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(
1210
1301
  Component,
1211
1302
  {
1212
1303
  ref,
@@ -1230,17 +1321,17 @@ var EasyTypography = {
1230
1321
  };
1231
1322
 
1232
1323
  // 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" })
1324
+ var React19 = __toESM(require("react"), 1);
1325
+ var import_jsx_runtime20 = require("react/jsx-runtime");
1326
+ 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: [
1327
+ /* @__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" }),
1328
+ /* @__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" }),
1329
+ /* @__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" }),
1330
+ /* @__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
1331
  ] });
1241
- var EasyErrorMessage = React17.forwardRef(
1332
+ var EasyErrorMessage = React19.forwardRef(
1242
1333
  ({ className, title, description, icon, ...props }, ref) => {
1243
- return /* @__PURE__ */ (0, import_jsx_runtime18.jsxs)(
1334
+ return /* @__PURE__ */ (0, import_jsx_runtime20.jsxs)(
1244
1335
  "div",
1245
1336
  {
1246
1337
  ref,
@@ -1251,9 +1342,9 @@ var EasyErrorMessage = React17.forwardRef(
1251
1342
  ),
1252
1343
  ...props,
1253
1344
  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)(
1345
+ /* @__PURE__ */ (0, import_jsx_runtime20.jsx)("div", { className: "flex-shrink-0", children: icon ?? /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(WarningTriangleIcon, {}) }),
1346
+ /* @__PURE__ */ (0, import_jsx_runtime20.jsxs)("div", { className: "flex flex-col items-center text-center", children: [
1347
+ /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(
1257
1348
  "div",
1258
1349
  {
1259
1350
  className: cn(
@@ -1263,7 +1354,7 @@ var EasyErrorMessage = React17.forwardRef(
1263
1354
  children: title
1264
1355
  }
1265
1356
  ),
1266
- description && /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
1357
+ description && /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(
1267
1358
  "div",
1268
1359
  {
1269
1360
  className: cn(
@@ -1282,16 +1373,16 @@ var EasyErrorMessage = React17.forwardRef(
1282
1373
  EasyErrorMessage.displayName = "EasyErrorMessage";
1283
1374
 
1284
1375
  // src/components/easy/message-dialog.tsx
1285
- var import_lucide_react8 = require("lucide-react");
1376
+ var import_lucide_react9 = require("lucide-react");
1286
1377
 
1287
1378
  // src/components/ui/dialog.tsx
1288
- var React18 = __toESM(require("react"), 1);
1379
+ var React20 = __toESM(require("react"), 1);
1289
1380
  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");
1381
+ var import_lucide_react8 = require("lucide-react");
1382
+ var import_jsx_runtime21 = require("react/jsx-runtime");
1292
1383
  var ShadcnDialog = DialogPrimitive.Root;
1293
1384
  var ShadcnDialogPortal = DialogPrimitive.Portal;
1294
- var ShadcnDialogOverlay = React18.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(
1385
+ var ShadcnDialogOverlay = React20.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(
1295
1386
  DialogPrimitive.Overlay,
1296
1387
  {
1297
1388
  ref,
@@ -1303,9 +1394,9 @@ var ShadcnDialogOverlay = React18.forwardRef(({ className, ...props }, ref) => /
1303
1394
  }
1304
1395
  ));
1305
1396
  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)(
1397
+ var ShadcnDialogContent = React20.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime21.jsxs)(ShadcnDialogPortal, { children: [
1398
+ /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(ShadcnDialogOverlay, {}),
1399
+ /* @__PURE__ */ (0, import_jsx_runtime21.jsxs)(
1309
1400
  DialogPrimitive.Content,
1310
1401
  {
1311
1402
  ref,
@@ -1316,16 +1407,16 @@ var ShadcnDialogContent = React18.forwardRef(({ className, children, ...props },
1316
1407
  ...props,
1317
1408
  children: [
1318
1409
  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" })
1410
+ /* @__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: [
1411
+ /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(import_lucide_react8.X, { className: "size-4" }),
1412
+ /* @__PURE__ */ (0, import_jsx_runtime21.jsx)("span", { className: "sr-only", children: "Kapat" })
1322
1413
  ] })
1323
1414
  ]
1324
1415
  }
1325
1416
  )
1326
1417
  ] }));
1327
1418
  ShadcnDialogContent.displayName = DialogPrimitive.Content.displayName;
1328
- var ShadcnDialogHeader = ({ className, ...props }) => /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(
1419
+ var ShadcnDialogHeader = ({ className, ...props }) => /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(
1329
1420
  "div",
1330
1421
  {
1331
1422
  className: cn(
@@ -1336,7 +1427,7 @@ var ShadcnDialogHeader = ({ className, ...props }) => /* @__PURE__ */ (0, import
1336
1427
  }
1337
1428
  );
1338
1429
  ShadcnDialogHeader.displayName = "ShadcnDialogHeader";
1339
- var ShadcnDialogFooter = ({ className, ...props }) => /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(
1430
+ var ShadcnDialogFooter = ({ className, ...props }) => /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(
1340
1431
  "div",
1341
1432
  {
1342
1433
  className: cn(
@@ -1347,7 +1438,7 @@ var ShadcnDialogFooter = ({ className, ...props }) => /* @__PURE__ */ (0, import
1347
1438
  }
1348
1439
  );
1349
1440
  ShadcnDialogFooter.displayName = "ShadcnDialogFooter";
1350
- var ShadcnDialogTitle = React18.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(
1441
+ var ShadcnDialogTitle = React20.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(
1351
1442
  DialogPrimitive.Title,
1352
1443
  {
1353
1444
  ref,
@@ -1359,7 +1450,7 @@ var ShadcnDialogTitle = React18.forwardRef(({ className, ...props }, ref) => /*
1359
1450
  }
1360
1451
  ));
1361
1452
  ShadcnDialogTitle.displayName = DialogPrimitive.Title.displayName;
1362
- var ShadcnDialogDescription = React18.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(
1453
+ var ShadcnDialogDescription = React20.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(
1363
1454
  DialogPrimitive.Description,
1364
1455
  {
1365
1456
  ref,
@@ -1373,22 +1464,22 @@ var ShadcnDialogDescription = React18.forwardRef(({ className, ...props }, ref)
1373
1464
  ShadcnDialogDescription.displayName = DialogPrimitive.Description.displayName;
1374
1465
 
1375
1466
  // src/components/easy/message-dialog.tsx
1376
- var import_jsx_runtime20 = require("react/jsx-runtime");
1467
+ var import_jsx_runtime22 = require("react/jsx-runtime");
1377
1468
  var iconConfig = {
1378
1469
  success: {
1379
- Icon: import_lucide_react8.CheckCircle,
1470
+ Icon: import_lucide_react9.CheckCircle,
1380
1471
  containerClass: "bg-[var(--ui-success-light)]",
1381
1472
  iconClass: "text-[var(--ui-success-base)]",
1382
1473
  titleClass: "text-[var(--ui-success-base)]"
1383
1474
  },
1384
1475
  warning: {
1385
- Icon: import_lucide_react8.AlertTriangle,
1476
+ Icon: import_lucide_react9.AlertTriangle,
1386
1477
  containerClass: "bg-[var(--ui-warning-light)]",
1387
1478
  iconClass: "text-[var(--ui-warning-base)]",
1388
1479
  titleClass: "text-[var(--ui-warning-base)]"
1389
1480
  },
1390
1481
  error: {
1391
- Icon: import_lucide_react8.AlertTriangle,
1482
+ Icon: import_lucide_react9.AlertTriangle,
1392
1483
  containerClass: "bg-[var(--ui-danger-light)]",
1393
1484
  iconClass: "text-[var(--ui-danger-base)]",
1394
1485
  titleClass: "text-[var(--ui-danger-base)]"
@@ -1414,21 +1505,21 @@ var EasyMessageDialog = ({
1414
1505
  onClose();
1415
1506
  }
1416
1507
  };
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)(
1508
+ 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: [
1509
+ /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(ShadcnDialogTitle, { className: "sr-only", children: title }),
1510
+ /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(ShadcnDialogDescription, { className: "sr-only", children: message }),
1511
+ /* @__PURE__ */ (0, import_jsx_runtime22.jsxs)("div", { className: "flex flex-col items-center gap-4 px-6 py-4 text-center", children: [
1512
+ /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(
1422
1513
  "div",
1423
1514
  {
1424
1515
  className: cn(
1425
1516
  "flex size-16 items-center justify-center rounded-full",
1426
1517
  containerClass
1427
1518
  ),
1428
- children: /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(Icon2, { className: cn("size-8", iconClass) })
1519
+ children: /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(Icon2, { className: cn("size-8", iconClass) })
1429
1520
  }
1430
1521
  ),
1431
- /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(
1522
+ /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(
1432
1523
  EasyHeading,
1433
1524
  {
1434
1525
  as: "h3",
@@ -1438,8 +1529,8 @@ var EasyMessageDialog = ({
1438
1529
  children: title
1439
1530
  }
1440
1531
  ),
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)(
1532
+ /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(EasyBody, { as: "p", variant: "medium", className: "text-[var(--ui-text-500)]", children: message }),
1533
+ /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(
1443
1534
  EasyButton,
1444
1535
  {
1445
1536
  variant: "important",
@@ -1455,21 +1546,86 @@ var EasyMessageDialog = ({
1455
1546
  };
1456
1547
  EasyMessageDialog.displayName = "EasyMessageDialog";
1457
1548
 
1549
+ // src/components/easy/dialog.tsx
1550
+ var import_jsx_runtime23 = require("react/jsx-runtime");
1551
+ var EasyDialog = ({
1552
+ open,
1553
+ onOpenChange,
1554
+ title,
1555
+ content,
1556
+ cancelText = "\u0130ptal",
1557
+ okText = "Tamam",
1558
+ onCancel,
1559
+ onOk,
1560
+ showCancel = true,
1561
+ showOk = true,
1562
+ cancelVariant = "text",
1563
+ okVariant = "primary",
1564
+ cancelAppearance = "filled",
1565
+ okAppearance = "filled",
1566
+ className,
1567
+ contentClassName
1568
+ }) => {
1569
+ const handleCancel = () => {
1570
+ if (onCancel) {
1571
+ onCancel();
1572
+ } else {
1573
+ onOpenChange(false);
1574
+ }
1575
+ };
1576
+ const handleOk = () => {
1577
+ if (onOk) {
1578
+ onOk();
1579
+ } else {
1580
+ onOpenChange(false);
1581
+ }
1582
+ };
1583
+ return /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(ShadcnDialog, { open, onOpenChange, children: /* @__PURE__ */ (0, import_jsx_runtime23.jsxs)(ShadcnDialogContent, { className: cn("sm:max-w-lg rounded-xl", className), children: [
1584
+ title && /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(ShadcnDialogHeader, { children: /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(ShadcnDialogTitle, { children: title }) }),
1585
+ /* @__PURE__ */ (0, import_jsx_runtime23.jsx)("div", { className: cn("py-4", !title && "pt-0", contentClassName), children: content }),
1586
+ (showCancel || showOk) && /* @__PURE__ */ (0, import_jsx_runtime23.jsxs)(ShadcnDialogFooter, { className: "flex flex-col gap-4 w-full", children: [
1587
+ showCancel && /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(
1588
+ EasyButton,
1589
+ {
1590
+ variant: cancelVariant,
1591
+ appearance: cancelAppearance,
1592
+ size: "medium",
1593
+ onClick: handleCancel,
1594
+ className: "w-full",
1595
+ children: cancelText
1596
+ }
1597
+ ),
1598
+ showOk && /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(
1599
+ EasyButton,
1600
+ {
1601
+ variant: okVariant,
1602
+ appearance: okAppearance,
1603
+ size: "medium",
1604
+ onClick: handleOk,
1605
+ className: "w-full",
1606
+ children: okText
1607
+ }
1608
+ )
1609
+ ] })
1610
+ ] }) });
1611
+ };
1612
+ EasyDialog.displayName = "EasyDialog";
1613
+
1458
1614
  // src/components/easy/sidebar.tsx
1459
- var React24 = __toESM(require("react"), 1);
1615
+ var React26 = __toESM(require("react"), 1);
1460
1616
 
1461
1617
  // src/components/ui/sidebar.tsx
1462
- var React23 = __toESM(require("react"), 1);
1618
+ var React25 = __toESM(require("react"), 1);
1463
1619
  var import_react_slot2 = require("@radix-ui/react-slot");
1464
1620
  var import_class_variance_authority5 = require("class-variance-authority");
1465
- var import_lucide_react10 = require("lucide-react");
1621
+ var import_lucide_react11 = require("lucide-react");
1466
1622
 
1467
1623
  // src/hooks/use-mobile.tsx
1468
- var React19 = __toESM(require("react"), 1);
1624
+ var React21 = __toESM(require("react"), 1);
1469
1625
  var MOBILE_BREAKPOINT = 768;
1470
1626
  function useIsMobile() {
1471
- const [isMobile, setIsMobile] = React19.useState(void 0);
1472
- React19.useEffect(() => {
1627
+ const [isMobile, setIsMobile] = React21.useState(void 0);
1628
+ React21.useEffect(() => {
1473
1629
  const mql = window.matchMedia(`(max-width: ${MOBILE_BREAKPOINT - 1}px)`);
1474
1630
  const onChange = () => {
1475
1631
  setIsMobile(window.innerWidth < MOBILE_BREAKPOINT);
@@ -1482,11 +1638,11 @@ function useIsMobile() {
1482
1638
  }
1483
1639
 
1484
1640
  // src/components/ui/separator.tsx
1485
- var React20 = __toESM(require("react"), 1);
1641
+ var React22 = __toESM(require("react"), 1);
1486
1642
  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)(
1643
+ var import_jsx_runtime24 = require("react/jsx-runtime");
1644
+ var Separator = React22.forwardRef(
1645
+ ({ className, orientation = "horizontal", decorative = true, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(
1490
1646
  SeparatorPrimitive.Root,
1491
1647
  {
1492
1648
  ref,
@@ -1504,14 +1660,14 @@ var Separator = React20.forwardRef(
1504
1660
  Separator.displayName = SeparatorPrimitive.Root.displayName;
1505
1661
 
1506
1662
  // src/components/ui/sheet.tsx
1507
- var React21 = __toESM(require("react"), 1);
1663
+ var React23 = __toESM(require("react"), 1);
1508
1664
  var SheetPrimitive = __toESM(require("@radix-ui/react-dialog"), 1);
1509
1665
  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");
1666
+ var import_lucide_react10 = require("lucide-react");
1667
+ var import_jsx_runtime25 = require("react/jsx-runtime");
1512
1668
  var Sheet = SheetPrimitive.Root;
1513
1669
  var SheetPortal = SheetPrimitive.Portal;
1514
- var SheetOverlay = React21.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(
1670
+ var SheetOverlay = React23.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
1515
1671
  SheetPrimitive.Overlay,
1516
1672
  {
1517
1673
  className: cn(
@@ -1539,9 +1695,9 @@ var sheetVariants = (0, import_class_variance_authority4.cva)(
1539
1695
  }
1540
1696
  }
1541
1697
  );
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)(
1698
+ var SheetContent = React23.forwardRef(({ side = "right", className, children, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime25.jsxs)(SheetPortal, { children: [
1699
+ /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(SheetOverlay, {}),
1700
+ /* @__PURE__ */ (0, import_jsx_runtime25.jsxs)(
1545
1701
  SheetPrimitive.Content,
1546
1702
  {
1547
1703
  ref,
@@ -1549,9 +1705,9 @@ var SheetContent = React21.forwardRef(({ side = "right", className, children, ..
1549
1705
  ...props,
1550
1706
  children: [
1551
1707
  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" })
1708
+ /* @__PURE__ */ (0, import_jsx_runtime25.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: [
1709
+ /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(import_lucide_react10.X, { className: "h-4 w-4" }),
1710
+ /* @__PURE__ */ (0, import_jsx_runtime25.jsx)("span", { className: "sr-only", children: "Close" })
1555
1711
  ] })
1556
1712
  ]
1557
1713
  }
@@ -1561,7 +1717,7 @@ SheetContent.displayName = SheetPrimitive.Content.displayName;
1561
1717
  var SheetHeader = ({
1562
1718
  className,
1563
1719
  ...props
1564
- }) => /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(
1720
+ }) => /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
1565
1721
  "div",
1566
1722
  {
1567
1723
  className: cn(
@@ -1575,7 +1731,7 @@ SheetHeader.displayName = "SheetHeader";
1575
1731
  var SheetFooter = ({
1576
1732
  className,
1577
1733
  ...props
1578
- }) => /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(
1734
+ }) => /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
1579
1735
  "div",
1580
1736
  {
1581
1737
  className: cn(
@@ -1586,7 +1742,7 @@ var SheetFooter = ({
1586
1742
  }
1587
1743
  );
1588
1744
  SheetFooter.displayName = "SheetFooter";
1589
- var SheetTitle = React21.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(
1745
+ var SheetTitle = React23.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
1590
1746
  SheetPrimitive.Title,
1591
1747
  {
1592
1748
  ref,
@@ -1595,7 +1751,7 @@ var SheetTitle = React21.forwardRef(({ className, ...props }, ref) => /* @__PURE
1595
1751
  }
1596
1752
  ));
1597
1753
  SheetTitle.displayName = SheetPrimitive.Title.displayName;
1598
- var SheetDescription = React21.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(
1754
+ var SheetDescription = React23.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
1599
1755
  SheetPrimitive.Description,
1600
1756
  {
1601
1757
  ref,
@@ -1606,12 +1762,12 @@ var SheetDescription = React21.forwardRef(({ className, ...props }, ref) => /* @
1606
1762
  SheetDescription.displayName = SheetPrimitive.Description.displayName;
1607
1763
 
1608
1764
  // src/components/ui/skeleton.tsx
1609
- var import_jsx_runtime23 = require("react/jsx-runtime");
1765
+ var import_jsx_runtime26 = require("react/jsx-runtime");
1610
1766
  function Skeleton({
1611
1767
  className,
1612
1768
  ...props
1613
1769
  }) {
1614
- return /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(
1770
+ return /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
1615
1771
  "div",
1616
1772
  {
1617
1773
  className: cn("animate-pulse rounded-md bg-muted", className),
@@ -1621,13 +1777,13 @@ function Skeleton({
1621
1777
  }
1622
1778
 
1623
1779
  // src/components/ui/tooltip.tsx
1624
- var React22 = __toESM(require("react"), 1);
1780
+ var React24 = __toESM(require("react"), 1);
1625
1781
  var TooltipPrimitive = __toESM(require("@radix-ui/react-tooltip"), 1);
1626
- var import_jsx_runtime24 = require("react/jsx-runtime");
1782
+ var import_jsx_runtime27 = require("react/jsx-runtime");
1627
1783
  var TooltipProvider = TooltipPrimitive.Provider;
1628
1784
  var Tooltip = TooltipPrimitive.Root;
1629
1785
  var TooltipTrigger = TooltipPrimitive.Trigger;
1630
- var TooltipContent = React22.forwardRef(({ className, sideOffset = 4, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(
1786
+ var TooltipContent = React24.forwardRef(({ className, sideOffset = 4, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
1631
1787
  TooltipPrimitive.Content,
1632
1788
  {
1633
1789
  ref,
@@ -1642,22 +1798,22 @@ var TooltipContent = React22.forwardRef(({ className, sideOffset = 4, ...props }
1642
1798
  TooltipContent.displayName = TooltipPrimitive.Content.displayName;
1643
1799
 
1644
1800
  // src/components/ui/sidebar.tsx
1645
- var import_jsx_runtime25 = require("react/jsx-runtime");
1801
+ var import_jsx_runtime28 = require("react/jsx-runtime");
1646
1802
  var SIDEBAR_COOKIE_NAME = "sidebar_state";
1647
1803
  var SIDEBAR_COOKIE_MAX_AGE = 60 * 60 * 24 * 7;
1648
1804
  var SIDEBAR_WIDTH = "16rem";
1649
1805
  var SIDEBAR_WIDTH_MOBILE = "18rem";
1650
1806
  var SIDEBAR_WIDTH_ICON = "3rem";
1651
1807
  var SIDEBAR_KEYBOARD_SHORTCUT = "b";
1652
- var SidebarContext = React23.createContext(null);
1808
+ var SidebarContext = React25.createContext(null);
1653
1809
  function useSidebar() {
1654
- const context = React23.useContext(SidebarContext);
1810
+ const context = React25.useContext(SidebarContext);
1655
1811
  if (!context) {
1656
1812
  throw new Error("useSidebar must be used within a SidebarProvider.");
1657
1813
  }
1658
1814
  return context;
1659
1815
  }
1660
- var SidebarProvider = React23.forwardRef(
1816
+ var SidebarProvider = React25.forwardRef(
1661
1817
  ({
1662
1818
  defaultOpen = true,
1663
1819
  open: openProp,
@@ -1668,10 +1824,10 @@ var SidebarProvider = React23.forwardRef(
1668
1824
  ...props
1669
1825
  }, ref) => {
1670
1826
  const isMobile = useIsMobile();
1671
- const [openMobile, setOpenMobile] = React23.useState(false);
1672
- const [_open, _setOpen] = React23.useState(defaultOpen);
1827
+ const [openMobile, setOpenMobile] = React25.useState(false);
1828
+ const [_open, _setOpen] = React25.useState(defaultOpen);
1673
1829
  const open = openProp ?? _open;
1674
- const setOpen = React23.useCallback(
1830
+ const setOpen = React25.useCallback(
1675
1831
  (value) => {
1676
1832
  const openState = typeof value === "function" ? value(open) : value;
1677
1833
  if (setOpenProp) {
@@ -1683,10 +1839,10 @@ var SidebarProvider = React23.forwardRef(
1683
1839
  },
1684
1840
  [setOpenProp, open]
1685
1841
  );
1686
- const toggleSidebar = React23.useCallback(() => {
1842
+ const toggleSidebar = React25.useCallback(() => {
1687
1843
  return isMobile ? setOpenMobile((open2) => !open2) : setOpen((open2) => !open2);
1688
1844
  }, [isMobile, setOpen, setOpenMobile]);
1689
- React23.useEffect(() => {
1845
+ React25.useEffect(() => {
1690
1846
  const handleKeyDown = (event) => {
1691
1847
  if (event.key === SIDEBAR_KEYBOARD_SHORTCUT && (event.metaKey || event.ctrlKey)) {
1692
1848
  event.preventDefault();
@@ -1697,7 +1853,7 @@ var SidebarProvider = React23.forwardRef(
1697
1853
  return () => window.removeEventListener("keydown", handleKeyDown);
1698
1854
  }, [toggleSidebar]);
1699
1855
  const state = open ? "expanded" : "collapsed";
1700
- const contextValue = React23.useMemo(
1856
+ const contextValue = React25.useMemo(
1701
1857
  () => ({
1702
1858
  state,
1703
1859
  open,
@@ -1709,7 +1865,7 @@ var SidebarProvider = React23.forwardRef(
1709
1865
  }),
1710
1866
  [state, open, setOpen, isMobile, openMobile, setOpenMobile, toggleSidebar]
1711
1867
  );
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)(
1868
+ return /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(SidebarContext.Provider, { value: contextValue, children: /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(TooltipProvider, { delayDuration: 0, children: /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
1713
1869
  "div",
1714
1870
  {
1715
1871
  style: {
@@ -1729,7 +1885,7 @@ var SidebarProvider = React23.forwardRef(
1729
1885
  }
1730
1886
  );
1731
1887
  SidebarProvider.displayName = "SidebarProvider";
1732
- var Sidebar = React23.forwardRef(
1888
+ var Sidebar = React25.forwardRef(
1733
1889
  ({
1734
1890
  side = "left",
1735
1891
  variant = "sidebar",
@@ -1740,7 +1896,7 @@ var Sidebar = React23.forwardRef(
1740
1896
  }, ref) => {
1741
1897
  const { isMobile, state, openMobile, setOpenMobile } = useSidebar();
1742
1898
  if (collapsible === "none") {
1743
- return /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
1899
+ return /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
1744
1900
  "div",
1745
1901
  {
1746
1902
  className: cn(
@@ -1754,7 +1910,7 @@ var Sidebar = React23.forwardRef(
1754
1910
  );
1755
1911
  }
1756
1912
  if (isMobile) {
1757
- return /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(Sheet, { open: openMobile, onOpenChange: setOpenMobile, ...props, children: /* @__PURE__ */ (0, import_jsx_runtime25.jsxs)(
1913
+ return /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(Sheet, { open: openMobile, onOpenChange: setOpenMobile, ...props, children: /* @__PURE__ */ (0, import_jsx_runtime28.jsxs)(
1758
1914
  SheetContent,
1759
1915
  {
1760
1916
  "data-sidebar": "sidebar",
@@ -1765,16 +1921,16 @@ var Sidebar = React23.forwardRef(
1765
1921
  },
1766
1922
  side,
1767
1923
  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." })
1924
+ /* @__PURE__ */ (0, import_jsx_runtime28.jsxs)(SheetHeader, { className: "sr-only", children: [
1925
+ /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(SheetTitle, { children: "Sidebar" }),
1926
+ /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(SheetDescription, { children: "Displays the mobile sidebar." })
1771
1927
  ] }),
1772
- /* @__PURE__ */ (0, import_jsx_runtime25.jsx)("div", { className: "flex h-full w-full flex-col", children })
1928
+ /* @__PURE__ */ (0, import_jsx_runtime28.jsx)("div", { className: "flex h-full w-full flex-col", children })
1773
1929
  ]
1774
1930
  }
1775
1931
  ) });
1776
1932
  }
1777
- return /* @__PURE__ */ (0, import_jsx_runtime25.jsxs)(
1933
+ return /* @__PURE__ */ (0, import_jsx_runtime28.jsxs)(
1778
1934
  "div",
1779
1935
  {
1780
1936
  ref,
@@ -1784,7 +1940,7 @@ var Sidebar = React23.forwardRef(
1784
1940
  "data-variant": variant,
1785
1941
  "data-side": side,
1786
1942
  children: [
1787
- /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
1943
+ /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
1788
1944
  "div",
1789
1945
  {
1790
1946
  className: cn(
@@ -1795,7 +1951,7 @@ var Sidebar = React23.forwardRef(
1795
1951
  )
1796
1952
  }
1797
1953
  ),
1798
- /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
1954
+ /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
1799
1955
  "div",
1800
1956
  {
1801
1957
  className: cn(
@@ -1806,7 +1962,7 @@ var Sidebar = React23.forwardRef(
1806
1962
  className
1807
1963
  ),
1808
1964
  ...props,
1809
- children: /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
1965
+ children: /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
1810
1966
  "div",
1811
1967
  {
1812
1968
  "data-sidebar": "sidebar",
@@ -1822,9 +1978,9 @@ var Sidebar = React23.forwardRef(
1822
1978
  }
1823
1979
  );
1824
1980
  Sidebar.displayName = "Sidebar";
1825
- var SidebarTrigger = React23.forwardRef(({ className, onClick, ...props }, ref) => {
1981
+ var SidebarTrigger = React25.forwardRef(({ className, onClick, ...props }, ref) => {
1826
1982
  const { toggleSidebar } = useSidebar();
1827
- return /* @__PURE__ */ (0, import_jsx_runtime25.jsxs)(
1983
+ return /* @__PURE__ */ (0, import_jsx_runtime28.jsxs)(
1828
1984
  ShadcnButton,
1829
1985
  {
1830
1986
  ref,
@@ -1838,16 +1994,16 @@ var SidebarTrigger = React23.forwardRef(({ className, onClick, ...props }, ref)
1838
1994
  },
1839
1995
  ...props,
1840
1996
  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" })
1997
+ /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(import_lucide_react11.PanelLeft, {}),
1998
+ /* @__PURE__ */ (0, import_jsx_runtime28.jsx)("span", { className: "sr-only", children: "Toggle Sidebar" })
1843
1999
  ]
1844
2000
  }
1845
2001
  );
1846
2002
  });
1847
2003
  SidebarTrigger.displayName = "SidebarTrigger";
1848
- var SidebarRail = React23.forwardRef(({ className, ...props }, ref) => {
2004
+ var SidebarRail = React25.forwardRef(({ className, ...props }, ref) => {
1849
2005
  const { toggleSidebar } = useSidebar();
1850
- return /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
2006
+ return /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
1851
2007
  "button",
1852
2008
  {
1853
2009
  ref,
@@ -1870,8 +2026,8 @@ var SidebarRail = React23.forwardRef(({ className, ...props }, ref) => {
1870
2026
  );
1871
2027
  });
1872
2028
  SidebarRail.displayName = "SidebarRail";
1873
- var SidebarInset = React23.forwardRef(({ className, ...props }, ref) => {
1874
- return /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
2029
+ var SidebarInset = React25.forwardRef(({ className, ...props }, ref) => {
2030
+ return /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
1875
2031
  "main",
1876
2032
  {
1877
2033
  ref,
@@ -1885,8 +2041,8 @@ var SidebarInset = React23.forwardRef(({ className, ...props }, ref) => {
1885
2041
  );
1886
2042
  });
1887
2043
  SidebarInset.displayName = "SidebarInset";
1888
- var SidebarInput = React23.forwardRef(({ className, ...props }, ref) => {
1889
- return /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
2044
+ var SidebarInput = React25.forwardRef(({ className, ...props }, ref) => {
2045
+ return /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
1890
2046
  ShadcnInput,
1891
2047
  {
1892
2048
  ref,
@@ -1900,8 +2056,8 @@ var SidebarInput = React23.forwardRef(({ className, ...props }, ref) => {
1900
2056
  );
1901
2057
  });
1902
2058
  SidebarInput.displayName = "SidebarInput";
1903
- var SidebarHeader = React23.forwardRef(({ className, ...props }, ref) => {
1904
- return /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
2059
+ var SidebarHeader = React25.forwardRef(({ className, ...props }, ref) => {
2060
+ return /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
1905
2061
  "div",
1906
2062
  {
1907
2063
  ref,
@@ -1912,8 +2068,8 @@ var SidebarHeader = React23.forwardRef(({ className, ...props }, ref) => {
1912
2068
  );
1913
2069
  });
1914
2070
  SidebarHeader.displayName = "SidebarHeader";
1915
- var SidebarFooter = React23.forwardRef(({ className, ...props }, ref) => {
1916
- return /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
2071
+ var SidebarFooter = React25.forwardRef(({ className, ...props }, ref) => {
2072
+ return /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
1917
2073
  "div",
1918
2074
  {
1919
2075
  ref,
@@ -1924,8 +2080,8 @@ var SidebarFooter = React23.forwardRef(({ className, ...props }, ref) => {
1924
2080
  );
1925
2081
  });
1926
2082
  SidebarFooter.displayName = "SidebarFooter";
1927
- var SidebarSeparator = React23.forwardRef(({ className, ...props }, ref) => {
1928
- return /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
2083
+ var SidebarSeparator = React25.forwardRef(({ className, ...props }, ref) => {
2084
+ return /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
1929
2085
  Separator,
1930
2086
  {
1931
2087
  ref,
@@ -1936,8 +2092,8 @@ var SidebarSeparator = React23.forwardRef(({ className, ...props }, ref) => {
1936
2092
  );
1937
2093
  });
1938
2094
  SidebarSeparator.displayName = "SidebarSeparator";
1939
- var SidebarContent = React23.forwardRef(({ className, ...props }, ref) => {
1940
- return /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
2095
+ var SidebarContent = React25.forwardRef(({ className, ...props }, ref) => {
2096
+ return /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
1941
2097
  "div",
1942
2098
  {
1943
2099
  ref,
@@ -1951,8 +2107,8 @@ var SidebarContent = React23.forwardRef(({ className, ...props }, ref) => {
1951
2107
  );
1952
2108
  });
1953
2109
  SidebarContent.displayName = "SidebarContent";
1954
- var SidebarGroup = React23.forwardRef(({ className, ...props }, ref) => {
1955
- return /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
2110
+ var SidebarGroup = React25.forwardRef(({ className, ...props }, ref) => {
2111
+ return /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
1956
2112
  "div",
1957
2113
  {
1958
2114
  ref,
@@ -1963,9 +2119,9 @@ var SidebarGroup = React23.forwardRef(({ className, ...props }, ref) => {
1963
2119
  );
1964
2120
  });
1965
2121
  SidebarGroup.displayName = "SidebarGroup";
1966
- var SidebarGroupLabel = React23.forwardRef(({ className, asChild = false, ...props }, ref) => {
2122
+ var SidebarGroupLabel = React25.forwardRef(({ className, asChild = false, ...props }, ref) => {
1967
2123
  const Comp = asChild ? import_react_slot2.Slot : "div";
1968
- return /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
2124
+ return /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
1969
2125
  Comp,
1970
2126
  {
1971
2127
  ref,
@@ -1980,9 +2136,9 @@ var SidebarGroupLabel = React23.forwardRef(({ className, asChild = false, ...pro
1980
2136
  );
1981
2137
  });
1982
2138
  SidebarGroupLabel.displayName = "SidebarGroupLabel";
1983
- var SidebarGroupAction = React23.forwardRef(({ className, asChild = false, ...props }, ref) => {
2139
+ var SidebarGroupAction = React25.forwardRef(({ className, asChild = false, ...props }, ref) => {
1984
2140
  const Comp = asChild ? import_react_slot2.Slot : "button";
1985
- return /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
2141
+ return /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
1986
2142
  Comp,
1987
2143
  {
1988
2144
  ref,
@@ -1999,7 +2155,7 @@ var SidebarGroupAction = React23.forwardRef(({ className, asChild = false, ...pr
1999
2155
  );
2000
2156
  });
2001
2157
  SidebarGroupAction.displayName = "SidebarGroupAction";
2002
- var SidebarGroupContent = React23.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
2158
+ var SidebarGroupContent = React25.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
2003
2159
  "div",
2004
2160
  {
2005
2161
  ref,
@@ -2009,7 +2165,7 @@ var SidebarGroupContent = React23.forwardRef(({ className, ...props }, ref) => /
2009
2165
  }
2010
2166
  ));
2011
2167
  SidebarGroupContent.displayName = "SidebarGroupContent";
2012
- var SidebarMenu = React23.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
2168
+ var SidebarMenu = React25.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
2013
2169
  "ul",
2014
2170
  {
2015
2171
  ref,
@@ -2019,7 +2175,7 @@ var SidebarMenu = React23.forwardRef(({ className, ...props }, ref) => /* @__PUR
2019
2175
  }
2020
2176
  ));
2021
2177
  SidebarMenu.displayName = "SidebarMenu";
2022
- var SidebarMenuItem = React23.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
2178
+ var SidebarMenuItem = React25.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
2023
2179
  "li",
2024
2180
  {
2025
2181
  ref,
@@ -2049,7 +2205,7 @@ var sidebarMenuButtonVariants = (0, import_class_variance_authority5.cva)(
2049
2205
  }
2050
2206
  }
2051
2207
  );
2052
- var SidebarMenuButton = React23.forwardRef(
2208
+ var SidebarMenuButton = React25.forwardRef(
2053
2209
  ({
2054
2210
  asChild = false,
2055
2211
  isActive = false,
@@ -2061,7 +2217,7 @@ var SidebarMenuButton = React23.forwardRef(
2061
2217
  }, ref) => {
2062
2218
  const Comp = asChild ? import_react_slot2.Slot : "button";
2063
2219
  const { isMobile, state } = useSidebar();
2064
- const button = /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
2220
+ const button = /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
2065
2221
  Comp,
2066
2222
  {
2067
2223
  ref,
@@ -2080,9 +2236,9 @@ var SidebarMenuButton = React23.forwardRef(
2080
2236
  children: tooltip
2081
2237
  };
2082
2238
  }
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)(
2239
+ return /* @__PURE__ */ (0, import_jsx_runtime28.jsxs)(Tooltip, { children: [
2240
+ /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(TooltipTrigger, { asChild: true, children: button }),
2241
+ /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
2086
2242
  TooltipContent,
2087
2243
  {
2088
2244
  side: "right",
@@ -2095,9 +2251,9 @@ var SidebarMenuButton = React23.forwardRef(
2095
2251
  }
2096
2252
  );
2097
2253
  SidebarMenuButton.displayName = "SidebarMenuButton";
2098
- var SidebarMenuAction = React23.forwardRef(({ className, asChild = false, showOnHover = false, ...props }, ref) => {
2254
+ var SidebarMenuAction = React25.forwardRef(({ className, asChild = false, showOnHover = false, ...props }, ref) => {
2099
2255
  const Comp = asChild ? import_react_slot2.Slot : "button";
2100
- return /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
2256
+ return /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
2101
2257
  Comp,
2102
2258
  {
2103
2259
  ref,
@@ -2118,7 +2274,7 @@ var SidebarMenuAction = React23.forwardRef(({ className, asChild = false, showOn
2118
2274
  );
2119
2275
  });
2120
2276
  SidebarMenuAction.displayName = "SidebarMenuAction";
2121
- var SidebarMenuBadge = React23.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
2277
+ var SidebarMenuBadge = React25.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
2122
2278
  "div",
2123
2279
  {
2124
2280
  ref,
@@ -2136,11 +2292,11 @@ var SidebarMenuBadge = React23.forwardRef(({ className, ...props }, ref) => /* @
2136
2292
  }
2137
2293
  ));
2138
2294
  SidebarMenuBadge.displayName = "SidebarMenuBadge";
2139
- var SidebarMenuSkeleton = React23.forwardRef(({ className, showIcon = false, ...props }, ref) => {
2140
- const width = React23.useMemo(() => {
2295
+ var SidebarMenuSkeleton = React25.forwardRef(({ className, showIcon = false, ...props }, ref) => {
2296
+ const width = React25.useMemo(() => {
2141
2297
  return `${Math.floor(Math.random() * 40) + 50}%`;
2142
2298
  }, []);
2143
- return /* @__PURE__ */ (0, import_jsx_runtime25.jsxs)(
2299
+ return /* @__PURE__ */ (0, import_jsx_runtime28.jsxs)(
2144
2300
  "div",
2145
2301
  {
2146
2302
  ref,
@@ -2148,14 +2304,14 @@ var SidebarMenuSkeleton = React23.forwardRef(({ className, showIcon = false, ...
2148
2304
  className: cn("flex h-8 items-center gap-2 rounded-md px-2", className),
2149
2305
  ...props,
2150
2306
  children: [
2151
- showIcon && /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
2307
+ showIcon && /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
2152
2308
  Skeleton,
2153
2309
  {
2154
2310
  className: "size-4 rounded-md",
2155
2311
  "data-sidebar": "menu-skeleton-icon"
2156
2312
  }
2157
2313
  ),
2158
- /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
2314
+ /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
2159
2315
  Skeleton,
2160
2316
  {
2161
2317
  className: "h-4 max-w-[--skeleton-width] flex-1",
@@ -2170,7 +2326,7 @@ var SidebarMenuSkeleton = React23.forwardRef(({ className, showIcon = false, ...
2170
2326
  );
2171
2327
  });
2172
2328
  SidebarMenuSkeleton.displayName = "SidebarMenuSkeleton";
2173
- var SidebarMenuSub = React23.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
2329
+ var SidebarMenuSub = React25.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
2174
2330
  "ul",
2175
2331
  {
2176
2332
  ref,
@@ -2184,11 +2340,11 @@ var SidebarMenuSub = React23.forwardRef(({ className, ...props }, ref) => /* @__
2184
2340
  }
2185
2341
  ));
2186
2342
  SidebarMenuSub.displayName = "SidebarMenuSub";
2187
- var SidebarMenuSubItem = React23.forwardRef(({ ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime25.jsx)("li", { ref, ...props }));
2343
+ var SidebarMenuSubItem = React25.forwardRef(({ ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime28.jsx)("li", { ref, ...props }));
2188
2344
  SidebarMenuSubItem.displayName = "SidebarMenuSubItem";
2189
- var SidebarMenuSubButton = React23.forwardRef(({ asChild = false, size = "md", isActive, className, ...props }, ref) => {
2345
+ var SidebarMenuSubButton = React25.forwardRef(({ asChild = false, size = "md", isActive, className, ...props }, ref) => {
2190
2346
  const Comp = asChild ? import_react_slot2.Slot : "a";
2191
- return /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
2347
+ return /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
2192
2348
  Comp,
2193
2349
  {
2194
2350
  ref,
@@ -2210,10 +2366,10 @@ var SidebarMenuSubButton = React23.forwardRef(({ asChild = false, size = "md", i
2210
2366
  SidebarMenuSubButton.displayName = "SidebarMenuSubButton";
2211
2367
 
2212
2368
  // src/components/easy/sidebar.tsx
2213
- var import_jsx_runtime26 = require("react/jsx-runtime");
2214
- var EasySidebar = React24.forwardRef(
2369
+ var import_jsx_runtime29 = require("react/jsx-runtime");
2370
+ var EasySidebar = React26.forwardRef(
2215
2371
  ({ title, description, menuItems, className, ...props }, ref) => {
2216
- return /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
2372
+ return /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(
2217
2373
  SidebarProvider,
2218
2374
  {
2219
2375
  ref,
@@ -2223,12 +2379,12 @@ var EasySidebar = React24.forwardRef(
2223
2379
  ),
2224
2380
  style: { "--sidebar-width": "100%" },
2225
2381
  ...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 })
2382
+ children: /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(Sidebar, { collapsible: "none", className: "w-full bg-transparent text-[var(--ui-text-900)]", children: /* @__PURE__ */ (0, import_jsx_runtime29.jsxs)(SidebarContent, { className: "gap-6 px-0", children: [
2383
+ (title || description) && /* @__PURE__ */ (0, import_jsx_runtime29.jsxs)("div", { className: "space-y-1 px-2 text-left", children: [
2384
+ title && /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(EasyHeading, { variant: "large", as: "h2", className: "text-[var(--ui-text-900)] font-semibold text-xl", children: title }),
2385
+ description && /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(EasyBody, { variant: "small", className: "text-[var(--ui-text-600)]", children: description })
2230
2386
  ] }),
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)(
2387
+ /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(SidebarMenu, { className: "gap-2 px-1", children: menuItems.map((item, index) => /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(SidebarMenuItem, { children: /* @__PURE__ */ (0, import_jsx_runtime29.jsxs)(
2232
2388
  SidebarMenuButton,
2233
2389
  {
2234
2390
  type: "button",
@@ -2236,13 +2392,13 @@ var EasySidebar = React24.forwardRef(
2236
2392
  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
2393
  onClick: () => item.onClick?.(),
2238
2394
  children: [
2239
- item.icon && /* @__PURE__ */ (0, import_jsx_runtime26.jsx)("span", { className: cn(
2395
+ item.icon && /* @__PURE__ */ (0, import_jsx_runtime29.jsx)("span", { className: cn(
2240
2396
  "text-[var(--ui-text-500)]",
2241
2397
  item.active && "text-[var(--ui-primary-500)]"
2242
2398
  ), 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 })
2399
+ /* @__PURE__ */ (0, import_jsx_runtime29.jsxs)("span", { className: "flex flex-1 flex-col text-left", children: [
2400
+ /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(EasyBody, { variant: "medium", className: "text-[var(--ui-text-900)] font-medium", children: item.label }),
2401
+ item.description && /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(EasyBody, { variant: "small", className: "text-[var(--ui-text-500)]", children: item.description })
2246
2402
  ] })
2247
2403
  ]
2248
2404
  }
@@ -2255,9 +2411,9 @@ var EasySidebar = React24.forwardRef(
2255
2411
  EasySidebar.displayName = "EasySidebar";
2256
2412
 
2257
2413
  // src/components/easy/tabs.tsx
2258
- var React25 = __toESM(require("react"), 1);
2414
+ var React27 = __toESM(require("react"), 1);
2259
2415
  var import_class_variance_authority6 = require("class-variance-authority");
2260
- var import_jsx_runtime27 = require("react/jsx-runtime");
2416
+ var import_jsx_runtime30 = require("react/jsx-runtime");
2261
2417
  var tabsListVariants = (0, import_class_variance_authority6.cva)(
2262
2418
  "inline-flex items-center justify-start gap-1 rounded-lg bg-transparent",
2263
2419
  {
@@ -2289,8 +2445,8 @@ var tabsTriggerVariants = (0, import_class_variance_authority6.cva)(
2289
2445
  }
2290
2446
  );
2291
2447
  var EasyTabs = Tabs;
2292
- var EasyTabsList = React25.forwardRef(({ className, size, ...props }, ref) => {
2293
- return /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
2448
+ var EasyTabsList = React27.forwardRef(({ className, size, ...props }, ref) => {
2449
+ return /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(
2294
2450
  TabsList,
2295
2451
  {
2296
2452
  ref,
@@ -2300,8 +2456,8 @@ var EasyTabsList = React25.forwardRef(({ className, size, ...props }, ref) => {
2300
2456
  );
2301
2457
  });
2302
2458
  EasyTabsList.displayName = "EasyTabsList";
2303
- var EasyTabsTrigger = React25.forwardRef(({ className, size, children, ...props }, ref) => {
2304
- return /* @__PURE__ */ (0, import_jsx_runtime27.jsxs)(
2459
+ var EasyTabsTrigger = React27.forwardRef(({ className, size, children, ...props }, ref) => {
2460
+ return /* @__PURE__ */ (0, import_jsx_runtime30.jsxs)(
2305
2461
  TabsTrigger,
2306
2462
  {
2307
2463
  ref,
@@ -2315,14 +2471,14 @@ var EasyTabsTrigger = React25.forwardRef(({ className, size, children, ...props
2315
2471
  ...props,
2316
2472
  children: [
2317
2473
  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" })
2474
+ /* @__PURE__ */ (0, import_jsx_runtime30.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
2475
  ]
2320
2476
  }
2321
2477
  );
2322
2478
  });
2323
2479
  EasyTabsTrigger.displayName = "EasyTabsTrigger";
2324
- var EasyTabsContent = React25.forwardRef(({ className, ...props }, ref) => {
2325
- return /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
2480
+ var EasyTabsContent = React27.forwardRef(({ className, ...props }, ref) => {
2481
+ return /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(
2326
2482
  TabsContent,
2327
2483
  {
2328
2484
  ref,
@@ -2334,16 +2490,16 @@ var EasyTabsContent = React25.forwardRef(({ className, ...props }, ref) => {
2334
2490
  EasyTabsContent.displayName = "EasyTabsContent";
2335
2491
 
2336
2492
  // src/components/easy/breadcrumb.tsx
2337
- var import_lucide_react12 = require("lucide-react");
2493
+ var import_lucide_react13 = require("lucide-react");
2338
2494
 
2339
2495
  // src/components/ui/breadcrumb.tsx
2340
- var React26 = __toESM(require("react"), 1);
2496
+ var React28 = __toESM(require("react"), 1);
2341
2497
  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 }));
2498
+ var import_lucide_react12 = require("lucide-react");
2499
+ var import_jsx_runtime31 = require("react/jsx-runtime");
2500
+ var Breadcrumb = React28.forwardRef(({ ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime31.jsx)("nav", { ref, "aria-label": "breadcrumb", ...props }));
2345
2501
  Breadcrumb.displayName = "Breadcrumb";
2346
- var BreadcrumbList = React26.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
2502
+ var BreadcrumbList = React28.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(
2347
2503
  "ol",
2348
2504
  {
2349
2505
  ref,
@@ -2355,7 +2511,7 @@ var BreadcrumbList = React26.forwardRef(({ className, ...props }, ref) => /* @__
2355
2511
  }
2356
2512
  ));
2357
2513
  BreadcrumbList.displayName = "BreadcrumbList";
2358
- var BreadcrumbItem = React26.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
2514
+ var BreadcrumbItem = React28.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(
2359
2515
  "li",
2360
2516
  {
2361
2517
  ref,
@@ -2364,9 +2520,9 @@ var BreadcrumbItem = React26.forwardRef(({ className, ...props }, ref) => /* @__
2364
2520
  }
2365
2521
  ));
2366
2522
  BreadcrumbItem.displayName = "BreadcrumbItem";
2367
- var BreadcrumbLink = React26.forwardRef(({ asChild, className, ...props }, ref) => {
2523
+ var BreadcrumbLink = React28.forwardRef(({ asChild, className, ...props }, ref) => {
2368
2524
  const Comp = asChild ? import_react_slot3.Slot : "a";
2369
- return /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
2525
+ return /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(
2370
2526
  Comp,
2371
2527
  {
2372
2528
  ref,
@@ -2376,7 +2532,7 @@ var BreadcrumbLink = React26.forwardRef(({ asChild, className, ...props }, ref)
2376
2532
  );
2377
2533
  });
2378
2534
  BreadcrumbLink.displayName = "BreadcrumbLink";
2379
- var BreadcrumbPage = React26.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
2535
+ var BreadcrumbPage = React28.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(
2380
2536
  "span",
2381
2537
  {
2382
2538
  ref,
@@ -2392,21 +2548,21 @@ var BreadcrumbSeparator = ({
2392
2548
  children,
2393
2549
  className,
2394
2550
  ...props
2395
- }) => /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
2551
+ }) => /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(
2396
2552
  "li",
2397
2553
  {
2398
2554
  role: "presentation",
2399
2555
  "aria-hidden": "true",
2400
2556
  className: cn("[&>svg]:w-3.5 [&>svg]:h-3.5", className),
2401
2557
  ...props,
2402
- children: children ?? /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(import_lucide_react11.ChevronRight, {})
2558
+ children: children ?? /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(import_lucide_react12.ChevronRight, {})
2403
2559
  }
2404
2560
  );
2405
2561
  BreadcrumbSeparator.displayName = "BreadcrumbSeparator";
2406
2562
  var BreadcrumbEllipsis = ({
2407
2563
  className,
2408
2564
  ...props
2409
- }) => /* @__PURE__ */ (0, import_jsx_runtime28.jsxs)(
2565
+ }) => /* @__PURE__ */ (0, import_jsx_runtime31.jsxs)(
2410
2566
  "span",
2411
2567
  {
2412
2568
  role: "presentation",
@@ -2414,15 +2570,15 @@ var BreadcrumbEllipsis = ({
2414
2570
  className: cn("flex h-9 w-9 items-center justify-center", className),
2415
2571
  ...props,
2416
2572
  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" })
2573
+ /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(import_lucide_react12.MoreHorizontal, { className: "h-4 w-4" }),
2574
+ /* @__PURE__ */ (0, import_jsx_runtime31.jsx)("span", { className: "sr-only", children: "More" })
2419
2575
  ]
2420
2576
  }
2421
2577
  );
2422
2578
  BreadcrumbEllipsis.displayName = "BreadcrumbElipssis";
2423
2579
 
2424
2580
  // src/components/easy/breadcrumb.tsx
2425
- var import_jsx_runtime29 = require("react/jsx-runtime");
2581
+ var import_jsx_runtime32 = require("react/jsx-runtime");
2426
2582
  var defaultBreadcrumbMap = {
2427
2583
  home: "Anasayfa",
2428
2584
  "my-account": "Hesab\u0131m",
@@ -2459,11 +2615,11 @@ function EasyBreadcrumb({
2459
2615
  if (displayItems.length <= 1) {
2460
2616
  return null;
2461
2617
  }
2462
- return /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(Breadcrumb, { className, children: /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(BreadcrumbList, { children: displayItems.map((item, index) => {
2618
+ return /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(Breadcrumb, { className, children: /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(BreadcrumbList, { children: displayItems.map((item, index) => {
2463
2619
  const isLast = index === displayItems.length - 1;
2464
2620
  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)(
2621
+ return /* @__PURE__ */ (0, import_jsx_runtime32.jsxs)("div", { className: "flex items-center", children: [
2622
+ /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(BreadcrumbItem, { children: isActive ? /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(BreadcrumbPage, { children: /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(
2467
2623
  EasyLabel,
2468
2624
  {
2469
2625
  variant: "xsmall",
@@ -2473,7 +2629,7 @@ function EasyBreadcrumb({
2473
2629
  ),
2474
2630
  children: item.label
2475
2631
  }
2476
- ) }) : /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(BreadcrumbLink, { href: item.href || "#", children: /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(
2632
+ ) }) : /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(BreadcrumbLink, { href: item.href || "#", children: /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(
2477
2633
  EasyLabel,
2478
2634
  {
2479
2635
  variant: "xsmall",
@@ -2484,8 +2640,8 @@ function EasyBreadcrumb({
2484
2640
  children: item.label
2485
2641
  }
2486
2642
  ) }) }),
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,
2643
+ !isLast && /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(BreadcrumbSeparator, { className: "ml-2", children: separator ?? /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(
2644
+ import_lucide_react13.ChevronRight,
2489
2645
  {
2490
2646
  size: 10,
2491
2647
  className: "text-[var(--ui-icon-500)]"
@@ -2518,14 +2674,14 @@ function generateBreadcrumbItems(pathname) {
2518
2674
  }
2519
2675
 
2520
2676
  // src/components/easy/pagination.tsx
2521
- var React29 = __toESM(require("react"), 1);
2522
- var import_lucide_react15 = require("lucide-react");
2677
+ var React31 = __toESM(require("react"), 1);
2678
+ var import_lucide_react16 = require("lucide-react");
2523
2679
 
2524
2680
  // 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)(
2681
+ var React29 = __toESM(require("react"), 1);
2682
+ var import_lucide_react14 = require("lucide-react");
2683
+ var import_jsx_runtime33 = require("react/jsx-runtime");
2684
+ var Pagination = ({ className, ...props }) => /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(
2529
2685
  "nav",
2530
2686
  {
2531
2687
  role: "navigation",
@@ -2535,7 +2691,7 @@ var Pagination = ({ className, ...props }) => /* @__PURE__ */ (0, import_jsx_run
2535
2691
  }
2536
2692
  );
2537
2693
  Pagination.displayName = "Pagination";
2538
- var PaginationContent = React27.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(
2694
+ var PaginationContent = React29.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(
2539
2695
  "ul",
2540
2696
  {
2541
2697
  ref,
@@ -2544,14 +2700,14 @@ var PaginationContent = React27.forwardRef(({ className, ...props }, ref) => /*
2544
2700
  }
2545
2701
  ));
2546
2702
  PaginationContent.displayName = "PaginationContent";
2547
- var PaginationItem = React27.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime30.jsx)("li", { ref, className: cn("", className), ...props }));
2703
+ var PaginationItem = React29.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime33.jsx)("li", { ref, className: cn("", className), ...props }));
2548
2704
  PaginationItem.displayName = "PaginationItem";
2549
2705
  var PaginationLink = ({
2550
2706
  className,
2551
2707
  isActive,
2552
2708
  size = "icon",
2553
2709
  ...props
2554
- }) => /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(
2710
+ }) => /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(
2555
2711
  "a",
2556
2712
  {
2557
2713
  "aria-current": isActive ? "page" : void 0,
@@ -2569,7 +2725,7 @@ PaginationLink.displayName = "PaginationLink";
2569
2725
  var PaginationPrevious = ({
2570
2726
  className,
2571
2727
  ...props
2572
- }) => /* @__PURE__ */ (0, import_jsx_runtime30.jsxs)(
2728
+ }) => /* @__PURE__ */ (0, import_jsx_runtime33.jsxs)(
2573
2729
  PaginationLink,
2574
2730
  {
2575
2731
  "aria-label": "Go to previous page",
@@ -2577,8 +2733,8 @@ var PaginationPrevious = ({
2577
2733
  className: cn("gap-1 pl-2.5", className),
2578
2734
  ...props,
2579
2735
  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" })
2736
+ /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(import_lucide_react14.ChevronLeft, { className: "h-4 w-4" }),
2737
+ /* @__PURE__ */ (0, import_jsx_runtime33.jsx)("span", { children: "Previous" })
2582
2738
  ]
2583
2739
  }
2584
2740
  );
@@ -2586,7 +2742,7 @@ PaginationPrevious.displayName = "PaginationPrevious";
2586
2742
  var PaginationNext = ({
2587
2743
  className,
2588
2744
  ...props
2589
- }) => /* @__PURE__ */ (0, import_jsx_runtime30.jsxs)(
2745
+ }) => /* @__PURE__ */ (0, import_jsx_runtime33.jsxs)(
2590
2746
  PaginationLink,
2591
2747
  {
2592
2748
  "aria-label": "Go to next page",
@@ -2594,8 +2750,8 @@ var PaginationNext = ({
2594
2750
  className: cn("gap-1 pr-2.5", className),
2595
2751
  ...props,
2596
2752
  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" })
2753
+ /* @__PURE__ */ (0, import_jsx_runtime33.jsx)("span", { children: "Next" }),
2754
+ /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(import_lucide_react14.ChevronRight, { className: "h-4 w-4" })
2599
2755
  ]
2600
2756
  }
2601
2757
  );
@@ -2603,28 +2759,28 @@ PaginationNext.displayName = "PaginationNext";
2603
2759
  var PaginationEllipsis = ({
2604
2760
  className,
2605
2761
  ...props
2606
- }) => /* @__PURE__ */ (0, import_jsx_runtime30.jsxs)(
2762
+ }) => /* @__PURE__ */ (0, import_jsx_runtime33.jsxs)(
2607
2763
  "span",
2608
2764
  {
2609
2765
  "aria-hidden": true,
2610
2766
  className: cn("flex h-9 w-9 items-center justify-center", className),
2611
2767
  ...props,
2612
2768
  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" })
2769
+ /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(import_lucide_react14.MoreHorizontal, { className: "h-4 w-4" }),
2770
+ /* @__PURE__ */ (0, import_jsx_runtime33.jsx)("span", { className: "sr-only", children: "More pages" })
2615
2771
  ]
2616
2772
  }
2617
2773
  );
2618
2774
  PaginationEllipsis.displayName = "PaginationEllipsis";
2619
2775
 
2620
2776
  // src/components/ui/select.tsx
2621
- var React28 = __toESM(require("react"), 1);
2777
+ var React30 = __toESM(require("react"), 1);
2622
2778
  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");
2779
+ var import_lucide_react15 = require("lucide-react");
2780
+ var import_jsx_runtime34 = require("react/jsx-runtime");
2625
2781
  var Select = SelectPrimitive.Root;
2626
2782
  var SelectValue = SelectPrimitive.Value;
2627
- var SelectTrigger = React28.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime31.jsxs)(
2783
+ var SelectTrigger = React30.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime34.jsxs)(
2628
2784
  SelectPrimitive.Trigger,
2629
2785
  {
2630
2786
  ref,
@@ -2635,12 +2791,12 @@ var SelectTrigger = React28.forwardRef(({ className, children, ...props }, ref)
2635
2791
  ...props,
2636
2792
  children: [
2637
2793
  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" }) })
2794
+ /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(SelectPrimitive.Icon, { asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(import_lucide_react15.ChevronDown, { className: "h-4 w-4 opacity-50" }) })
2639
2795
  ]
2640
2796
  }
2641
2797
  ));
2642
2798
  SelectTrigger.displayName = SelectPrimitive.Trigger.displayName;
2643
- var SelectScrollUpButton = React28.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(
2799
+ var SelectScrollUpButton = React30.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(
2644
2800
  SelectPrimitive.ScrollUpButton,
2645
2801
  {
2646
2802
  ref,
@@ -2649,11 +2805,11 @@ var SelectScrollUpButton = React28.forwardRef(({ className, ...props }, ref) =>
2649
2805
  className
2650
2806
  ),
2651
2807
  ...props,
2652
- children: /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(import_lucide_react14.ChevronUp, { className: "h-4 w-4" })
2808
+ children: /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(import_lucide_react15.ChevronUp, { className: "h-4 w-4" })
2653
2809
  }
2654
2810
  ));
2655
2811
  SelectScrollUpButton.displayName = SelectPrimitive.ScrollUpButton.displayName;
2656
- var SelectScrollDownButton = React28.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(
2812
+ var SelectScrollDownButton = React30.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(
2657
2813
  SelectPrimitive.ScrollDownButton,
2658
2814
  {
2659
2815
  ref,
@@ -2662,11 +2818,11 @@ var SelectScrollDownButton = React28.forwardRef(({ className, ...props }, ref) =
2662
2818
  className
2663
2819
  ),
2664
2820
  ...props,
2665
- children: /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(import_lucide_react14.ChevronDown, { className: "h-4 w-4" })
2821
+ children: /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(import_lucide_react15.ChevronDown, { className: "h-4 w-4" })
2666
2822
  }
2667
2823
  ));
2668
2824
  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)(
2825
+ var SelectContent = React30.forwardRef(({ className, children, position = "popper", ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(SelectPrimitive.Portal, { children: /* @__PURE__ */ (0, import_jsx_runtime34.jsxs)(
2670
2826
  SelectPrimitive.Content,
2671
2827
  {
2672
2828
  ref,
@@ -2678,8 +2834,8 @@ var SelectContent = React28.forwardRef(({ className, children, position = "poppe
2678
2834
  position,
2679
2835
  ...props,
2680
2836
  children: [
2681
- /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(SelectScrollUpButton, {}),
2682
- /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(
2837
+ /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(SelectScrollUpButton, {}),
2838
+ /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(
2683
2839
  SelectPrimitive.Viewport,
2684
2840
  {
2685
2841
  className: cn(
@@ -2689,12 +2845,12 @@ var SelectContent = React28.forwardRef(({ className, children, position = "poppe
2689
2845
  children
2690
2846
  }
2691
2847
  ),
2692
- /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(SelectScrollDownButton, {})
2848
+ /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(SelectScrollDownButton, {})
2693
2849
  ]
2694
2850
  }
2695
2851
  ) }));
2696
2852
  SelectContent.displayName = SelectPrimitive.Content.displayName;
2697
- var SelectLabel = React28.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(
2853
+ var SelectLabel = React30.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(
2698
2854
  SelectPrimitive.Label,
2699
2855
  {
2700
2856
  ref,
@@ -2703,7 +2859,7 @@ var SelectLabel = React28.forwardRef(({ className, ...props }, ref) => /* @__PUR
2703
2859
  }
2704
2860
  ));
2705
2861
  SelectLabel.displayName = SelectPrimitive.Label.displayName;
2706
- var SelectItem = React28.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime31.jsxs)(
2862
+ var SelectItem = React30.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime34.jsxs)(
2707
2863
  SelectPrimitive.Item,
2708
2864
  {
2709
2865
  ref,
@@ -2713,13 +2869,13 @@ var SelectItem = React28.forwardRef(({ className, children, ...props }, ref) =>
2713
2869
  ),
2714
2870
  ...props,
2715
2871
  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 })
2872
+ /* @__PURE__ */ (0, import_jsx_runtime34.jsx)("span", { className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(SelectPrimitive.ItemIndicator, { children: /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(import_lucide_react15.Check, { className: "h-4 w-4" }) }) }),
2873
+ /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(SelectPrimitive.ItemText, { children })
2718
2874
  ]
2719
2875
  }
2720
2876
  ));
2721
2877
  SelectItem.displayName = SelectPrimitive.Item.displayName;
2722
- var SelectSeparator = React28.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(
2878
+ var SelectSeparator = React30.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(
2723
2879
  SelectPrimitive.Separator,
2724
2880
  {
2725
2881
  ref,
@@ -2730,7 +2886,7 @@ var SelectSeparator = React28.forwardRef(({ className, ...props }, ref) => /* @_
2730
2886
  SelectSeparator.displayName = SelectPrimitive.Separator.displayName;
2731
2887
 
2732
2888
  // src/components/easy/pagination.tsx
2733
- var import_jsx_runtime32 = require("react/jsx-runtime");
2889
+ var import_jsx_runtime35 = require("react/jsx-runtime");
2734
2890
  function getItemRange(currentPage, pageSize, total) {
2735
2891
  const start = (currentPage - 1) * pageSize + 1;
2736
2892
  const end = Math.min(currentPage * pageSize, total);
@@ -2767,7 +2923,7 @@ function generatePageNumbers(currentPage, totalPages) {
2767
2923
  }
2768
2924
  return pages;
2769
2925
  }
2770
- var EasyPagination = React29.forwardRef(
2926
+ var EasyPagination = React31.forwardRef(
2771
2927
  ({
2772
2928
  total,
2773
2929
  currentPage,
@@ -2778,7 +2934,7 @@ var EasyPagination = React29.forwardRef(
2778
2934
  labels = {},
2779
2935
  className
2780
2936
  }, ref) => {
2781
- const [goToPageValue, setGoToPageValue] = React29.useState(currentPage.toString());
2937
+ const [goToPageValue, setGoToPageValue] = React31.useState(currentPage.toString());
2782
2938
  const totalPages = Math.ceil(total / pageSize);
2783
2939
  const { start, end } = getItemRange(currentPage, pageSize, total);
2784
2940
  const pageNumbers = generatePageNumbers(currentPage, totalPages);
@@ -2812,16 +2968,16 @@ var EasyPagination = React29.forwardRef(
2812
2968
  onPageSizeChange?.(newPageSize);
2813
2969
  onPageChange?.(1);
2814
2970
  };
2815
- React29.useEffect(() => {
2971
+ React31.useEffect(() => {
2816
2972
  setGoToPageValue(currentPage.toString());
2817
2973
  }, [currentPage]);
2818
- return /* @__PURE__ */ (0, import_jsx_runtime32.jsxs)(
2974
+ return /* @__PURE__ */ (0, import_jsx_runtime35.jsxs)(
2819
2975
  "div",
2820
2976
  {
2821
2977
  ref,
2822
2978
  className: cn("flex w-full items-center justify-between gap-4", className),
2823
2979
  children: [
2824
- /* @__PURE__ */ (0, import_jsx_runtime32.jsxs)(
2980
+ /* @__PURE__ */ (0, import_jsx_runtime35.jsxs)(
2825
2981
  EasyBody,
2826
2982
  {
2827
2983
  variant: "medium",
@@ -2835,9 +2991,9 @@ var EasyPagination = React29.forwardRef(
2835
2991
  ]
2836
2992
  }
2837
2993
  ),
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)(
2994
+ /* @__PURE__ */ (0, import_jsx_runtime35.jsxs)("div", { className: "flex items-center gap-4", children: [
2995
+ /* @__PURE__ */ (0, import_jsx_runtime35.jsxs)("div", { className: "flex items-center gap-2", children: [
2996
+ /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(
2841
2997
  EasyBody,
2842
2998
  {
2843
2999
  variant: "medium",
@@ -2845,13 +3001,13 @@ var EasyPagination = React29.forwardRef(
2845
3001
  children: perPage
2846
3002
  }
2847
3003
  ),
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)) })
3004
+ /* @__PURE__ */ (0, import_jsx_runtime35.jsxs)(Select, { value: pageSize.toString(), onValueChange: handlePageSizeChange, children: [
3005
+ /* @__PURE__ */ (0, import_jsx_runtime35.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_runtime35.jsx)(SelectValue, {}) }),
3006
+ /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(SelectContent, { children: pageSizeOptions.map((size) => /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(SelectItem, { value: size.toString(), children: size }, size)) })
2851
3007
  ] })
2852
3008
  ] }),
2853
- /* @__PURE__ */ (0, import_jsx_runtime32.jsxs)("div", { className: "flex items-center gap-2", children: [
2854
- /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(
3009
+ /* @__PURE__ */ (0, import_jsx_runtime35.jsxs)("div", { className: "flex items-center gap-2", children: [
3010
+ /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(
2855
3011
  EasyBody,
2856
3012
  {
2857
3013
  variant: "medium",
@@ -2859,7 +3015,7 @@ var EasyPagination = React29.forwardRef(
2859
3015
  children: goToPage
2860
3016
  }
2861
3017
  ),
2862
- /* @__PURE__ */ (0, import_jsx_runtime32.jsx)("form", { onSubmit: handleGoToPage, className: "flex items-center gap-2", children: /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(
3018
+ /* @__PURE__ */ (0, import_jsx_runtime35.jsx)("form", { onSubmit: handleGoToPage, className: "flex items-center gap-2", children: /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(
2863
3019
  Input,
2864
3020
  {
2865
3021
  type: "text",
@@ -2870,8 +3026,8 @@ var EasyPagination = React29.forwardRef(
2870
3026
  }
2871
3027
  ) })
2872
3028
  ] }),
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)(
3029
+ /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(Pagination, { children: /* @__PURE__ */ (0, import_jsx_runtime35.jsxs)(PaginationContent, { children: [
3030
+ /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(PaginationItem, { children: /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(
2875
3031
  EasyButton,
2876
3032
  {
2877
3033
  variant: "text",
@@ -2879,15 +3035,15 @@ var EasyPagination = React29.forwardRef(
2879
3035
  onClick: () => onPageChange?.(currentPage - 1),
2880
3036
  disabled: currentPage === 1,
2881
3037
  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" })
3038
+ children: /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(import_lucide_react16.ChevronLeft, { className: "h-4 w-4" })
2883
3039
  }
2884
3040
  ) }),
2885
3041
  pageNumbers.map((page, index) => {
2886
3042
  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}`);
3043
+ return /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(PaginationItem, { children: /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(PaginationEllipsis, { className: "h-8 text-[var(--ui-text-600)]" }) }, `ellipsis-${index}`);
2888
3044
  }
2889
3045
  const isActive = page === currentPage;
2890
- return /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(PaginationItem, { children: /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(
3046
+ return /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(PaginationItem, { children: /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(
2891
3047
  EasyButton,
2892
3048
  {
2893
3049
  variant: isActive ? "primary" : "text",
@@ -2901,7 +3057,7 @@ var EasyPagination = React29.forwardRef(
2901
3057
  }
2902
3058
  ) }, page);
2903
3059
  }),
2904
- /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(PaginationItem, { children: /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(
3060
+ /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(PaginationItem, { children: /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(
2905
3061
  EasyButton,
2906
3062
  {
2907
3063
  variant: "text",
@@ -2909,7 +3065,7 @@ var EasyPagination = React29.forwardRef(
2909
3065
  onClick: () => onPageChange?.(currentPage + 1),
2910
3066
  disabled: currentPage === totalPages,
2911
3067
  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" })
3068
+ children: /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(import_lucide_react16.ChevronRight, { className: "h-4 w-4" })
2913
3069
  }
2914
3070
  ) })
2915
3071
  ] }) })
@@ -2922,15 +3078,15 @@ var EasyPagination = React29.forwardRef(
2922
3078
  EasyPagination.displayName = "EasyPagination";
2923
3079
 
2924
3080
  // src/components/easy/otp.tsx
2925
- var React32 = __toESM(require("react"), 1);
2926
- var import_lucide_react17 = require("lucide-react");
3081
+ var React34 = __toESM(require("react"), 1);
3082
+ var import_lucide_react18 = require("lucide-react");
2927
3083
 
2928
3084
  // src/components/ui/input-otp.tsx
2929
- var React30 = __toESM(require("react"), 1);
3085
+ var React32 = __toESM(require("react"), 1);
2930
3086
  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)(
3087
+ var import_lucide_react17 = require("lucide-react");
3088
+ var import_jsx_runtime36 = require("react/jsx-runtime");
3089
+ var InputOTP = React32.forwardRef(({ className, containerClassName, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(
2934
3090
  import_input_otp.OTPInput,
2935
3091
  {
2936
3092
  ref,
@@ -2943,15 +3099,15 @@ var InputOTP = React30.forwardRef(({ className, containerClassName, ...props },
2943
3099
  }
2944
3100
  ));
2945
3101
  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 }));
3102
+ var InputOTPGroup = React32.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime36.jsx)("div", { ref, className: cn("flex items-center", className), ...props }));
2947
3103
  InputOTPGroup.displayName = "InputOTPGroup";
2948
- var InputOTPSlot = React30.forwardRef(({ index, className, ...props }, ref) => {
2949
- const inputOTPContext = React30.useContext(import_input_otp.OTPInputContext);
3104
+ var InputOTPSlot = React32.forwardRef(({ index, className, ...props }, ref) => {
3105
+ const inputOTPContext = React32.useContext(import_input_otp.OTPInputContext);
2950
3106
  const slot = inputOTPContext.slots[index];
2951
3107
  const char = slot?.char ?? "";
2952
3108
  const hasFakeCaret = slot?.hasFakeCaret ?? false;
2953
3109
  const isActive = slot?.isActive ?? false;
2954
- return /* @__PURE__ */ (0, import_jsx_runtime33.jsxs)(
3110
+ return /* @__PURE__ */ (0, import_jsx_runtime36.jsxs)(
2955
3111
  "div",
2956
3112
  {
2957
3113
  ref,
@@ -2963,23 +3119,23 @@ var InputOTPSlot = React30.forwardRef(({ index, className, ...props }, ref) => {
2963
3119
  ...props,
2964
3120
  children: [
2965
3121
  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" }) })
3122
+ hasFakeCaret && /* @__PURE__ */ (0, import_jsx_runtime36.jsx)("div", { className: "pointer-events-none absolute inset-0 flex items-center justify-center", children: /* @__PURE__ */ (0, import_jsx_runtime36.jsx)("div", { className: "h-4 w-px animate-caret-blink bg-foreground duration-1000" }) })
2967
3123
  ]
2968
3124
  }
2969
3125
  );
2970
3126
  });
2971
3127
  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, {}) }));
3128
+ var InputOTPSeparator = React32.forwardRef(({ ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime36.jsx)("div", { ref, role: "separator", ...props, children: /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(import_lucide_react17.Dot, {}) }));
2973
3129
  InputOTPSeparator.displayName = "InputOTPSeparator";
2974
3130
 
2975
3131
  // src/components/ui/drawer.tsx
2976
- var React31 = __toESM(require("react"), 1);
3132
+ var React33 = __toESM(require("react"), 1);
2977
3133
  var import_vaul = require("vaul");
2978
- var import_jsx_runtime34 = require("react/jsx-runtime");
3134
+ var import_jsx_runtime37 = require("react/jsx-runtime");
2979
3135
  var Drawer = ({
2980
3136
  shouldScaleBackground = true,
2981
3137
  ...props
2982
- }) => /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(
3138
+ }) => /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(
2983
3139
  import_vaul.Drawer.Root,
2984
3140
  {
2985
3141
  shouldScaleBackground,
@@ -2990,7 +3146,7 @@ Drawer.displayName = "Drawer";
2990
3146
  var DrawerTrigger = import_vaul.Drawer.Trigger;
2991
3147
  var DrawerPortal = import_vaul.Drawer.Portal;
2992
3148
  var DrawerClose = import_vaul.Drawer.Close;
2993
- var DrawerOverlay = React31.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(
3149
+ var DrawerOverlay = React33.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(
2994
3150
  import_vaul.Drawer.Overlay,
2995
3151
  {
2996
3152
  ref,
@@ -2999,9 +3155,9 @@ var DrawerOverlay = React31.forwardRef(({ className, ...props }, ref) => /* @__P
2999
3155
  }
3000
3156
  ));
3001
3157
  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)(
3158
+ var DrawerContent = React33.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime37.jsxs)(DrawerPortal, { children: [
3159
+ /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(DrawerOverlay, {}),
3160
+ /* @__PURE__ */ (0, import_jsx_runtime37.jsxs)(
3005
3161
  import_vaul.Drawer.Content,
3006
3162
  {
3007
3163
  ref,
@@ -3011,7 +3167,7 @@ var DrawerContent = React31.forwardRef(({ className, children, ...props }, ref)
3011
3167
  ),
3012
3168
  ...props,
3013
3169
  children: [
3014
- /* @__PURE__ */ (0, import_jsx_runtime34.jsx)("div", { className: "mx-auto mt-4 h-2 w-[100px] rounded-full bg-muted" }),
3170
+ /* @__PURE__ */ (0, import_jsx_runtime37.jsx)("div", { className: "mx-auto mt-4 h-2 w-[100px] rounded-full bg-muted" }),
3015
3171
  children
3016
3172
  ]
3017
3173
  }
@@ -3021,7 +3177,7 @@ DrawerContent.displayName = "DrawerContent";
3021
3177
  var DrawerHeader = ({
3022
3178
  className,
3023
3179
  ...props
3024
- }) => /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(
3180
+ }) => /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(
3025
3181
  "div",
3026
3182
  {
3027
3183
  className: cn("grid gap-1.5 p-4 text-center sm:text-left", className),
@@ -3032,7 +3188,7 @@ DrawerHeader.displayName = "DrawerHeader";
3032
3188
  var DrawerFooter = ({
3033
3189
  className,
3034
3190
  ...props
3035
- }) => /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(
3191
+ }) => /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(
3036
3192
  "div",
3037
3193
  {
3038
3194
  className: cn("mt-auto flex flex-col gap-2 p-4", className),
@@ -3040,7 +3196,7 @@ var DrawerFooter = ({
3040
3196
  }
3041
3197
  );
3042
3198
  DrawerFooter.displayName = "DrawerFooter";
3043
- var DrawerTitle = React31.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(
3199
+ var DrawerTitle = React33.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(
3044
3200
  import_vaul.Drawer.Title,
3045
3201
  {
3046
3202
  ref,
@@ -3052,7 +3208,7 @@ var DrawerTitle = React31.forwardRef(({ className, ...props }, ref) => /* @__PUR
3052
3208
  }
3053
3209
  ));
3054
3210
  DrawerTitle.displayName = import_vaul.Drawer.Title.displayName;
3055
- var DrawerDescription = React31.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(
3211
+ var DrawerDescription = React33.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(
3056
3212
  import_vaul.Drawer.Description,
3057
3213
  {
3058
3214
  ref,
@@ -3063,8 +3219,8 @@ var DrawerDescription = React31.forwardRef(({ className, ...props }, ref) => /*
3063
3219
  DrawerDescription.displayName = import_vaul.Drawer.Description.displayName;
3064
3220
 
3065
3221
  // src/components/easy/otp.tsx
3066
- var import_jsx_runtime35 = require("react/jsx-runtime");
3067
- var EasyOtp = React32.forwardRef(
3222
+ var import_jsx_runtime38 = require("react/jsx-runtime");
3223
+ var EasyOtp = React34.forwardRef(
3068
3224
  ({
3069
3225
  value,
3070
3226
  onChange,
@@ -3075,8 +3231,8 @@ var EasyOtp = React32.forwardRef(
3075
3231
  className,
3076
3232
  slotClassName
3077
3233
  }, 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)(
3234
+ return /* @__PURE__ */ (0, import_jsx_runtime38.jsxs)("div", { ref, className: cn("flex flex-col items-center w-full", className), children: [
3235
+ /* @__PURE__ */ (0, import_jsx_runtime38.jsx)("div", { className: "w-full overflow-hidden relative", children: /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(
3080
3236
  InputOTP,
3081
3237
  {
3082
3238
  maxLength: length,
@@ -3086,7 +3242,7 @@ var EasyOtp = React32.forwardRef(
3086
3242
  autoFocus,
3087
3243
  className: "gap-3",
3088
3244
  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)(
3245
+ children: /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(InputOTPGroup, { className: "flex p-1 gap-3.5 justify-center", children: Array.from({ length }).map((_, index) => /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(
3090
3246
  InputOTPSlot,
3091
3247
  {
3092
3248
  index,
@@ -3104,9 +3260,9 @@ var EasyOtp = React32.forwardRef(
3104
3260
  )) })
3105
3261
  }
3106
3262
  ) }),
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 })
3263
+ error && /* @__PURE__ */ (0, import_jsx_runtime38.jsxs)("div", { className: "flex items-center gap-1 mt-3", children: [
3264
+ /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(import_lucide_react18.AlertCircle, { className: "size-4 text-[var(--ui-danger-base)]" }),
3265
+ /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(EasyBody, { variant: "small", className: "text-[var(--ui-danger-base)]", children: error })
3110
3266
  ] })
3111
3267
  ] });
3112
3268
  }
@@ -3144,21 +3300,21 @@ var EasyOtpModal = ({
3144
3300
  className,
3145
3301
  contentClassName
3146
3302
  }) => {
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);
3303
+ const [otpValue, setOtpValue] = React34.useState("");
3304
+ const [isVerifying, setIsVerifying] = React34.useState(false);
3305
+ const [isResending, setIsResending] = React34.useState(false);
3306
+ const [timeLeft, setTimeLeft] = React34.useState(resendCooldown);
3307
+ const [error, setError] = React34.useState(null);
3152
3308
  const isMobile = useIsMobile();
3153
3309
  const defaultTitle = email ? "E-posta Adresi Do\u011Frulama" : "Telefon Do\u011Frulama";
3154
3310
  const modalTitle = title || defaultTitle;
3155
- React32.useEffect(() => {
3311
+ React34.useEffect(() => {
3156
3312
  if (timeLeft > 0 && open) {
3157
3313
  const timer = setTimeout(() => setTimeLeft(timeLeft - 1), 1e3);
3158
3314
  return () => clearTimeout(timer);
3159
3315
  }
3160
3316
  }, [timeLeft, open]);
3161
- React32.useEffect(() => {
3317
+ React34.useEffect(() => {
3162
3318
  if (open) {
3163
3319
  setTimeLeft(resendCooldown);
3164
3320
  setOtpValue("");
@@ -3217,19 +3373,19 @@ var EasyOtpModal = ({
3217
3373
  };
3218
3374
  const canResend = timeLeft === 0 && !isResending;
3219
3375
  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: [
3376
+ const modalContent = /* @__PURE__ */ (0, import_jsx_runtime38.jsxs)("div", { className: "flex flex-col items-center", children: [
3377
+ !isMobile && /* @__PURE__ */ (0, import_jsx_runtime38.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_runtime38.jsx)(import_lucide_react18.Mail, { className: "size-6 text-[var(--ui-text-900)]" }) : /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(import_lucide_react18.Smartphone, { className: "size-6 text-[var(--ui-text-900)]" }) }),
3378
+ /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(EasyLabel, { variant: "large", className: "text-[var(--ui-primary-500)] mb-1", children: modalTitle }),
3379
+ /* @__PURE__ */ (0, import_jsx_runtime38.jsx)("div", { className: "text-center space-y-2", children: /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(EasyBody, { variant: "small", className: "text-[var(--ui-text-500)] font-normal", children: description || getDefaultDescription() }) }),
3380
+ !isMobile && /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(Separator, { className: "my-6" }),
3381
+ /* @__PURE__ */ (0, import_jsx_runtime38.jsx)("div", { className: "text-center mb-3", children: /* @__PURE__ */ (0, import_jsx_runtime38.jsxs)(EasyBody, { variant: "small", className: "text-[var(--ui-text-500)]", children: [
3226
3382
  "Kalan Zaman: ",
3227
- /* @__PURE__ */ (0, import_jsx_runtime35.jsxs)("span", { className: "font-medium text-[var(--ui-text-900)]", children: [
3383
+ /* @__PURE__ */ (0, import_jsx_runtime38.jsxs)("span", { className: "font-medium text-[var(--ui-text-900)]", children: [
3228
3384
  timeLeft,
3229
3385
  " Saniye"
3230
3386
  ] })
3231
3387
  ] }) }),
3232
- /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(
3388
+ /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(
3233
3389
  EasyOtp,
3234
3390
  {
3235
3391
  value: otpValue,
@@ -3239,10 +3395,10 @@ var EasyOtpModal = ({
3239
3395
  autoFocus: true
3240
3396
  }
3241
3397
  ),
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: [
3398
+ /* @__PURE__ */ (0, import_jsx_runtime38.jsx)("div", { className: "text-center mt-2", children: /* @__PURE__ */ (0, import_jsx_runtime38.jsxs)(EasyBody, { variant: "small", className: "text-[var(--ui-text-500)]", children: [
3243
3399
  "Kod gelmedi mi?",
3244
3400
  " ",
3245
- /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(
3401
+ /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(
3246
3402
  "button",
3247
3403
  {
3248
3404
  type: "button",
@@ -3256,10 +3412,10 @@ var EasyOtpModal = ({
3256
3412
  }
3257
3413
  )
3258
3414
  ] }) }),
3259
- !isMobile && /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(Separator, { className: "my-6" })
3415
+ !isMobile && /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(Separator, { className: "my-6" })
3260
3416
  ] });
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)(
3417
+ const footer = /* @__PURE__ */ (0, import_jsx_runtime38.jsx)("div", { className: "flex flex-col gap-3 w-full", children: /* @__PURE__ */ (0, import_jsx_runtime38.jsxs)("div", { className: "flex flex-row gap-4 w-full", children: [
3418
+ /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(
3263
3419
  EasyButton,
3264
3420
  {
3265
3421
  variant: "important",
@@ -3270,7 +3426,7 @@ var EasyOtpModal = ({
3270
3426
  children: "Vazge\xE7"
3271
3427
  }
3272
3428
  ),
3273
- /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(
3429
+ /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(
3274
3430
  EasyButton,
3275
3431
  {
3276
3432
  variant: "primary",
@@ -3282,16 +3438,16 @@ var EasyOtpModal = ({
3282
3438
  )
3283
3439
  ] }) });
3284
3440
  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() })
3441
+ return /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(Drawer, { open, onOpenChange, children: /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(DrawerContent, { className: "!rounded-t-[32px]", children: /* @__PURE__ */ (0, import_jsx_runtime38.jsxs)("div", { className: "!rounded-t-[32px] overflow-auto mb-[60px]", children: [
3442
+ /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(DrawerHeader, { className: "text-left border-b border-[var(--ui-border-200)]", children: /* @__PURE__ */ (0, import_jsx_runtime38.jsx)("div", { className: "flex flex-row items-start justify-between", children: /* @__PURE__ */ (0, import_jsx_runtime38.jsxs)("div", { className: "flex flex-col items-start gap-2", children: [
3443
+ modalTitle && /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(DrawerTitle, { className: "text-lg font-medium text-[var(--ui-text-900)]", children: modalTitle }),
3444
+ description && /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(DrawerDescription, { className: "text-left", children: description || getDefaultDescription() })
3289
3445
  ] }) }) }),
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 })
3446
+ /* @__PURE__ */ (0, import_jsx_runtime38.jsx)("div", { className: cn("mt-6 px-6 pt-6 pb-6", contentClassName), children: modalContent }),
3447
+ /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(DrawerFooter, { className: "pt-0", children: footer })
3292
3448
  ] }) }) });
3293
3449
  }
3294
- return /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(ShadcnDialog, { open, onOpenChange, children: /* @__PURE__ */ (0, import_jsx_runtime35.jsxs)(
3450
+ return /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(ShadcnDialog, { open, onOpenChange, children: /* @__PURE__ */ (0, import_jsx_runtime38.jsxs)(
3295
3451
  ShadcnDialogContent,
3296
3452
  {
3297
3453
  className: cn(
@@ -3300,12 +3456,12 @@ var EasyOtpModal = ({
3300
3456
  contentClassName
3301
3457
  ),
3302
3458
  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() })
3459
+ /* @__PURE__ */ (0, import_jsx_runtime38.jsxs)(ShadcnDialogHeader, { className: "hidden", children: [
3460
+ /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(ShadcnDialogTitle, { className: "sr-only", children: modalTitle }),
3461
+ /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(ShadcnDialogDescription, { className: "sr-only", children: description || getDefaultDescription() })
3306
3462
  ] }),
3307
- /* @__PURE__ */ (0, import_jsx_runtime35.jsx)("div", { className, children: modalContent }),
3308
- /* @__PURE__ */ (0, import_jsx_runtime35.jsx)("div", { className: "mt-0", children: footer })
3463
+ /* @__PURE__ */ (0, import_jsx_runtime38.jsx)("div", { className, children: modalContent }),
3464
+ /* @__PURE__ */ (0, import_jsx_runtime38.jsx)("div", { className: "mt-0", children: footer })
3309
3465
  ]
3310
3466
  }
3311
3467
  ) });
@@ -3313,15 +3469,15 @@ var EasyOtpModal = ({
3313
3469
  EasyOtpModal.displayName = "EasyOtpModal";
3314
3470
 
3315
3471
  // src/components/easy/select.tsx
3316
- var React36 = __toESM(require("react"), 1);
3317
- var import_lucide_react19 = require("lucide-react");
3472
+ var React38 = __toESM(require("react"), 1);
3473
+ var import_lucide_react20 = require("lucide-react");
3318
3474
 
3319
3475
  // src/components/ui/command.tsx
3320
- var React33 = __toESM(require("react"), 1);
3476
+ var React35 = __toESM(require("react"), 1);
3321
3477
  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)(
3478
+ var import_lucide_react19 = require("lucide-react");
3479
+ var import_jsx_runtime39 = require("react/jsx-runtime");
3480
+ var Command = React35.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(
3325
3481
  import_cmdk.Command,
3326
3482
  {
3327
3483
  ref,
@@ -3333,9 +3489,9 @@ var Command = React33.forwardRef(({ className, ...props }, ref) => /* @__PURE__
3333
3489
  }
3334
3490
  ));
3335
3491
  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)(
3492
+ var CommandInput = React35.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime39.jsxs)("div", { className: "flex items-center border-b px-3", "cmdk-input-wrapper": "", children: [
3493
+ /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(import_lucide_react19.Search, { className: "mr-2 h-4 w-4 shrink-0 opacity-50" }),
3494
+ /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(
3339
3495
  import_cmdk.Command.Input,
3340
3496
  {
3341
3497
  ref,
@@ -3348,7 +3504,7 @@ var CommandInput = React33.forwardRef(({ className, ...props }, ref) => /* @__PU
3348
3504
  )
3349
3505
  ] }));
3350
3506
  CommandInput.displayName = import_cmdk.Command.Input.displayName;
3351
- var CommandList = React33.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(
3507
+ var CommandList = React35.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(
3352
3508
  import_cmdk.Command.List,
3353
3509
  {
3354
3510
  ref,
@@ -3357,7 +3513,7 @@ var CommandList = React33.forwardRef(({ className, ...props }, ref) => /* @__PUR
3357
3513
  }
3358
3514
  ));
3359
3515
  CommandList.displayName = import_cmdk.Command.List.displayName;
3360
- var CommandEmpty = React33.forwardRef((props, ref) => /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(
3516
+ var CommandEmpty = React35.forwardRef((props, ref) => /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(
3361
3517
  import_cmdk.Command.Empty,
3362
3518
  {
3363
3519
  ref,
@@ -3366,7 +3522,7 @@ var CommandEmpty = React33.forwardRef((props, ref) => /* @__PURE__ */ (0, import
3366
3522
  }
3367
3523
  ));
3368
3524
  CommandEmpty.displayName = import_cmdk.Command.Empty.displayName;
3369
- var CommandGroup = React33.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(
3525
+ var CommandGroup = React35.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(
3370
3526
  import_cmdk.Command.Group,
3371
3527
  {
3372
3528
  ref,
@@ -3378,7 +3534,7 @@ var CommandGroup = React33.forwardRef(({ className, ...props }, ref) => /* @__PU
3378
3534
  }
3379
3535
  ));
3380
3536
  CommandGroup.displayName = import_cmdk.Command.Group.displayName;
3381
- var CommandSeparator = React33.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(
3537
+ var CommandSeparator = React35.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(
3382
3538
  import_cmdk.Command.Separator,
3383
3539
  {
3384
3540
  ref,
@@ -3387,7 +3543,7 @@ var CommandSeparator = React33.forwardRef(({ className, ...props }, ref) => /* @
3387
3543
  }
3388
3544
  ));
3389
3545
  CommandSeparator.displayName = import_cmdk.Command.Separator.displayName;
3390
- var CommandItem = React33.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(
3546
+ var CommandItem = React35.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(
3391
3547
  import_cmdk.Command.Item,
3392
3548
  {
3393
3549
  ref,
@@ -3403,7 +3559,7 @@ var CommandShortcut = ({
3403
3559
  className,
3404
3560
  ...props
3405
3561
  }) => {
3406
- return /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(
3562
+ return /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(
3407
3563
  "span",
3408
3564
  {
3409
3565
  className: cn(
@@ -3417,12 +3573,12 @@ var CommandShortcut = ({
3417
3573
  CommandShortcut.displayName = "CommandShortcut";
3418
3574
 
3419
3575
  // src/components/ui/popover.tsx
3420
- var React34 = __toESM(require("react"), 1);
3576
+ var React36 = __toESM(require("react"), 1);
3421
3577
  var PopoverPrimitive = __toESM(require("@radix-ui/react-popover"), 1);
3422
- var import_jsx_runtime37 = require("react/jsx-runtime");
3578
+ var import_jsx_runtime40 = require("react/jsx-runtime");
3423
3579
  var Popover = PopoverPrimitive.Root;
3424
3580
  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)(
3581
+ var PopoverContent = React36.forwardRef(({ className, align = "center", sideOffset = 4, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(PopoverPrimitive.Portal, { children: /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(
3426
3582
  PopoverPrimitive.Content,
3427
3583
  {
3428
3584
  ref,
@@ -3438,24 +3594,24 @@ var PopoverContent = React34.forwardRef(({ className, align = "center", sideOffs
3438
3594
  PopoverContent.displayName = PopoverPrimitive.Content.displayName;
3439
3595
 
3440
3596
  // src/components/ui/scroll-area.tsx
3441
- var React35 = __toESM(require("react"), 1);
3597
+ var React37 = __toESM(require("react"), 1);
3442
3598
  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)(
3599
+ var import_jsx_runtime41 = require("react/jsx-runtime");
3600
+ var ScrollArea = React37.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime41.jsxs)(
3445
3601
  ScrollAreaPrimitive.Root,
3446
3602
  {
3447
3603
  ref,
3448
3604
  className: cn("relative overflow-hidden", className),
3449
3605
  ...props,
3450
3606
  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, {})
3607
+ /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(ScrollAreaPrimitive.Viewport, { className: "h-full w-full rounded-[inherit]", children }),
3608
+ /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(ScrollBar, {}),
3609
+ /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(ScrollAreaPrimitive.Corner, {})
3454
3610
  ]
3455
3611
  }
3456
3612
  ));
3457
3613
  ScrollArea.displayName = ScrollAreaPrimitive.Root.displayName;
3458
- var ScrollBar = React35.forwardRef(({ className, orientation = "vertical", ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(
3614
+ var ScrollBar = React37.forwardRef(({ className, orientation = "vertical", ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(
3459
3615
  ScrollAreaPrimitive.ScrollAreaScrollbar,
3460
3616
  {
3461
3617
  ref,
@@ -3467,14 +3623,14 @@ var ScrollBar = React35.forwardRef(({ className, orientation = "vertical", ...pr
3467
3623
  className
3468
3624
  ),
3469
3625
  ...props,
3470
- children: /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(ScrollAreaPrimitive.ScrollAreaThumb, { className: "relative flex-1 rounded-full bg-border" })
3626
+ children: /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(ScrollAreaPrimitive.ScrollAreaThumb, { className: "relative flex-1 rounded-full bg-border" })
3471
3627
  }
3472
3628
  ));
3473
3629
  ScrollBar.displayName = ScrollAreaPrimitive.ScrollAreaScrollbar.displayName;
3474
3630
 
3475
3631
  // src/components/easy/select.tsx
3476
- var import_jsx_runtime39 = require("react/jsx-runtime");
3477
- var EasySelect = React36.forwardRef(
3632
+ var import_jsx_runtime42 = require("react/jsx-runtime");
3633
+ var EasySelect = React38.forwardRef(
3478
3634
  ({
3479
3635
  label,
3480
3636
  bottomSheetLabel,
@@ -3492,11 +3648,11 @@ var EasySelect = React36.forwardRef(
3492
3648
  name,
3493
3649
  ...props
3494
3650
  }, ref) => {
3495
- const [open, setOpen] = React36.useState(false);
3496
- const [searchValue, setSearchValue] = React36.useState("");
3651
+ const [open, setOpen] = React38.useState(false);
3652
+ const [searchValue, setSearchValue] = React38.useState("");
3497
3653
  const isMobile = useIsMobile();
3498
3654
  const selectedOption = options.find((option) => option.value === value);
3499
- const filteredOptions = React36.useMemo(
3655
+ const filteredOptions = React38.useMemo(
3500
3656
  () => options.filter(
3501
3657
  (option) => option.label.toLocaleLowerCase("tr").includes(searchValue.toLocaleLowerCase("tr"))
3502
3658
  ),
@@ -3521,10 +3677,10 @@ var EasySelect = React36.forwardRef(
3521
3677
  !value && "text-[var(--ui-text-400)]",
3522
3678
  className
3523
3679
  );
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)(
3680
+ const content = /* @__PURE__ */ (0, import_jsx_runtime42.jsxs)(import_jsx_runtime42.Fragment, { children: [
3681
+ /* @__PURE__ */ (0, import_jsx_runtime42.jsxs)("div", { className: "relative mx-3 mt-3", children: [
3682
+ /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(import_lucide_react20.Search, { className: "absolute left-3 top-1/2 h-4 w-4 -translate-y-1/2 text-muted-foreground" }),
3683
+ /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(
3528
3684
  "input",
3529
3685
  {
3530
3686
  placeholder: searchPlaceholder,
@@ -3534,7 +3690,7 @@ var EasySelect = React36.forwardRef(
3534
3690
  style: { fontSize: "16px" }
3535
3691
  }
3536
3692
  ),
3537
- searchValue && /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(
3693
+ searchValue && /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(
3538
3694
  ShadcnButton,
3539
3695
  {
3540
3696
  variant: "link",
@@ -3542,16 +3698,16 @@ var EasySelect = React36.forwardRef(
3542
3698
  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
3699
  onClick: () => setSearchValue(""),
3544
3700
  type: "button",
3545
- children: /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(import_lucide_react19.X, { className: "h-3 w-3" })
3701
+ children: /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(import_lucide_react20.X, { className: "h-3 w-3" })
3546
3702
  }
3547
3703
  )
3548
3704
  ] }),
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) => {
3705
+ /* @__PURE__ */ (0, import_jsx_runtime42.jsxs)(CommandList, { className: "max-h-72 overflow-auto bg-[var(--ui-background-0)]", children: [
3706
+ /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(CommandEmpty, { children: emptyMessage }),
3707
+ /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(CommandGroup, { className: "px-3", children: filteredOptions.map((option, index) => {
3552
3708
  const isSelected = value === option.value;
3553
3709
  const isLast = index === filteredOptions.length - 1;
3554
- return /* @__PURE__ */ (0, import_jsx_runtime39.jsxs)(
3710
+ return /* @__PURE__ */ (0, import_jsx_runtime42.jsxs)(
3555
3711
  CommandItem,
3556
3712
  {
3557
3713
  value: option.value,
@@ -3565,17 +3721,17 @@ var EasySelect = React36.forwardRef(
3565
3721
  !isLast && "border-b border-[var(--ui-border)]"
3566
3722
  ),
3567
3723
  children: [
3568
- /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(
3724
+ /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(
3569
3725
  "span",
3570
3726
  {
3571
3727
  className: cn(
3572
3728
  "flex h-4 w-4 items-center justify-center rounded-full",
3573
3729
  isSelected ? "bg-[var(--ui-primary-500)]" : "border border-[var(--ui-text-300)] bg-transparent"
3574
3730
  ),
3575
- children: isSelected && /* @__PURE__ */ (0, import_jsx_runtime39.jsx)("span", { className: "block h-2.5 w-2.5 rounded-full bg-white" })
3731
+ children: isSelected && /* @__PURE__ */ (0, import_jsx_runtime42.jsx)("span", { className: "block h-2.5 w-2.5 rounded-full bg-white" })
3576
3732
  }
3577
3733
  ),
3578
- /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(
3734
+ /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(
3579
3735
  "span",
3580
3736
  {
3581
3737
  className: cn(
@@ -3592,8 +3748,8 @@ var EasySelect = React36.forwardRef(
3592
3748
  }) })
3593
3749
  ] })
3594
3750
  ] });
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)(
3751
+ return /* @__PURE__ */ (0, import_jsx_runtime42.jsxs)("div", { className: "flex w-full flex-col gap-1.5", children: [
3752
+ label && /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(
3597
3753
  EasyLabel,
3598
3754
  {
3599
3755
  as: "label",
@@ -3603,8 +3759,8 @@ var EasySelect = React36.forwardRef(
3603
3759
  children: label
3604
3760
  }
3605
3761
  ),
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)(
3762
+ isMobile ? /* @__PURE__ */ (0, import_jsx_runtime42.jsxs)(Drawer, { open, onOpenChange: setOpen, children: [
3763
+ /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(DrawerTrigger, { asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime42.jsxs)(
3608
3764
  ShadcnButton,
3609
3765
  {
3610
3766
  ref,
@@ -3615,29 +3771,29 @@ var EasySelect = React36.forwardRef(
3615
3771
  type: "button",
3616
3772
  ...props,
3617
3773
  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" })
3774
+ /* @__PURE__ */ (0, import_jsx_runtime42.jsx)("span", { className: "truncate text-left", children: selectedOption ? selectedOption.label : placeholder }),
3775
+ /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(import_lucide_react20.ChevronDown, { className: "ml-2 h-4 w-4 shrink-0 opacity-50" })
3620
3776
  ]
3621
3777
  }
3622
3778
  ) }),
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)(
3779
+ /* @__PURE__ */ (0, import_jsx_runtime42.jsxs)(DrawerContent, { className: "max-h-[80vh] rounded-t-[32px]", children: [
3780
+ /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(DrawerHeader, { className: "border-b", children: /* @__PURE__ */ (0, import_jsx_runtime42.jsxs)("div", { className: "flex items-center justify-between", children: [
3781
+ /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(DrawerTitle, { className: "text-lg font-semibold", children: bottomSheetLabel || "Se\xE7im Yap\u0131n" }),
3782
+ /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(DrawerClose, { asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(
3627
3783
  ShadcnButton,
3628
3784
  {
3629
3785
  variant: "link",
3630
3786
  size: "icon",
3631
3787
  className: "h-8 w-8 rounded-full p-0 text-muted-foreground hover:bg-muted",
3632
3788
  type: "button",
3633
- children: /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(import_lucide_react19.X, { className: "h-4 w-4" })
3789
+ children: /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(import_lucide_react20.X, { className: "h-4 w-4" })
3634
3790
  }
3635
3791
  ) })
3636
3792
  ] }) }),
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)(
3793
+ /* @__PURE__ */ (0, import_jsx_runtime42.jsx)("div", { className: "flex-1 overflow-hidden px-6 pb-6 pt-2", children: /* @__PURE__ */ (0, import_jsx_runtime42.jsxs)("div", { className: "flex-col items-start gap-[10px]", children: [
3794
+ /* @__PURE__ */ (0, import_jsx_runtime42.jsxs)("div", { className: "relative my-4", children: [
3795
+ /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(import_lucide_react20.Search, { className: "absolute left-3 top-1/2 h-4 w-4 -translate-y-1/2 text-muted-foreground" }),
3796
+ /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(
3641
3797
  "input",
3642
3798
  {
3643
3799
  placeholder: searchPlaceholder,
@@ -3647,7 +3803,7 @@ var EasySelect = React36.forwardRef(
3647
3803
  style: { fontSize: "16px" }
3648
3804
  }
3649
3805
  ),
3650
- searchValue && /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(
3806
+ searchValue && /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(
3651
3807
  ShadcnButton,
3652
3808
  {
3653
3809
  variant: "link",
@@ -3655,14 +3811,14 @@ var EasySelect = React36.forwardRef(
3655
3811
  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
3812
  onClick: () => setSearchValue(""),
3657
3813
  type: "button",
3658
- children: /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(import_lucide_react19.X, { className: "h-3 w-3" })
3814
+ children: /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(import_lucide_react20.X, { className: "h-3 w-3" })
3659
3815
  }
3660
3816
  )
3661
3817
  ] }),
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) => {
3818
+ /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(ScrollArea, { className: "h-[60vh] bg-[var(--ui-background-0)] rounded-[24px]", children: filteredOptions.length === 0 ? /* @__PURE__ */ (0, import_jsx_runtime42.jsx)("div", { className: "py-8 text-center text-muted-foreground text-sm", children: emptyMessage }) : /* @__PURE__ */ (0, import_jsx_runtime42.jsx)("div", { className: "space-y-0 pb-4", children: filteredOptions.map((option, index) => {
3663
3819
  const isSelected = value === option.value;
3664
3820
  const isLast = index === filteredOptions.length - 1;
3665
- return /* @__PURE__ */ (0, import_jsx_runtime39.jsxs)(
3821
+ return /* @__PURE__ */ (0, import_jsx_runtime42.jsxs)(
3666
3822
  "button",
3667
3823
  {
3668
3824
  type: "button",
@@ -3677,7 +3833,7 @@ var EasySelect = React36.forwardRef(
3677
3833
  !isLast && "border-b border-[var(--ui-border-200)]"
3678
3834
  ),
3679
3835
  children: [
3680
- /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(
3836
+ /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(
3681
3837
  "span",
3682
3838
  {
3683
3839
  className: cn(
@@ -3685,10 +3841,10 @@ var EasySelect = React36.forwardRef(
3685
3841
  isSelected ? "bg-[var(--ui-primary-500)]" : "border border-[var(--ui-text-300)] bg-transparent"
3686
3842
  ),
3687
3843
  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" })
3844
+ /* @__PURE__ */ (0, import_jsx_runtime42.jsx)("span", { className: "block h-2.5 w-2.5 rounded-full bg-white" })
3689
3845
  }
3690
3846
  ),
3691
- /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(
3847
+ /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(
3692
3848
  "span",
3693
3849
  {
3694
3850
  className: cn(
@@ -3705,8 +3861,8 @@ var EasySelect = React36.forwardRef(
3705
3861
  }) }) })
3706
3862
  ] }) })
3707
3863
  ] })
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)(
3864
+ ] }) : /* @__PURE__ */ (0, import_jsx_runtime42.jsxs)(Popover, { open, onOpenChange: setOpen, children: [
3865
+ /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(PopoverTrigger, { asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime42.jsxs)(
3710
3866
  ShadcnButton,
3711
3867
  {
3712
3868
  ref,
@@ -3717,9 +3873,9 @@ var EasySelect = React36.forwardRef(
3717
3873
  type: "button",
3718
3874
  ...props,
3719
3875
  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,
3876
+ /* @__PURE__ */ (0, import_jsx_runtime42.jsx)("span", { className: "truncate text-left", children: selectedOption ? selectedOption.label : placeholder }),
3877
+ /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(
3878
+ import_lucide_react20.ChevronDown,
3723
3879
  {
3724
3880
  className: cn(
3725
3881
  "ml-2 h-4 w-4 shrink-0 opacity-50 transition-transform",
@@ -3730,24 +3886,24 @@ var EasySelect = React36.forwardRef(
3730
3886
  ]
3731
3887
  }
3732
3888
  ) }),
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 }) })
3889
+ /* @__PURE__ */ (0, import_jsx_runtime42.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_runtime42.jsx)(Command, { children: content }) })
3734
3890
  ] }),
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
3891
+ errorText ? /* @__PURE__ */ (0, import_jsx_runtime42.jsx)("p", { className: "text-sm text-[var(--ui-danger-base)]", role: "alert", children: errorText }) : helperText ? /* @__PURE__ */ (0, import_jsx_runtime42.jsx)("p", { className: "text-sm text-[var(--ui-text-500)]", children: helperText }) : null
3736
3892
  ] });
3737
3893
  }
3738
3894
  );
3739
3895
  EasySelect.displayName = "EasySelect";
3740
3896
 
3741
3897
  // src/components/easy/date-picker.tsx
3742
- var React38 = __toESM(require("react"), 1);
3743
- var import_lucide_react21 = require("lucide-react");
3898
+ var React40 = __toESM(require("react"), 1);
3899
+ var import_lucide_react22 = require("lucide-react");
3744
3900
  var import_date_fns = require("date-fns");
3745
3901
 
3746
3902
  // src/components/ui/calendar.tsx
3747
- var React37 = __toESM(require("react"), 1);
3748
- var import_lucide_react20 = require("lucide-react");
3903
+ var React39 = __toESM(require("react"), 1);
3904
+ var import_lucide_react21 = require("lucide-react");
3749
3905
  var import_react_day_picker = require("react-day-picker");
3750
- var import_jsx_runtime40 = require("react/jsx-runtime");
3906
+ var import_jsx_runtime43 = require("react/jsx-runtime");
3751
3907
  function Calendar({
3752
3908
  className,
3753
3909
  classNames,
@@ -3759,7 +3915,7 @@ function Calendar({
3759
3915
  ...props
3760
3916
  }) {
3761
3917
  const defaultClassNames = (0, import_react_day_picker.getDefaultClassNames)();
3762
- return /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(
3918
+ return /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(
3763
3919
  import_react_day_picker.DayPicker,
3764
3920
  {
3765
3921
  showOutsideDays,
@@ -3858,7 +4014,7 @@ function Calendar({
3858
4014
  },
3859
4015
  components: {
3860
4016
  Root: ({ className: className2, rootRef, ...props2 }) => {
3861
- return /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(
4017
+ return /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(
3862
4018
  "div",
3863
4019
  {
3864
4020
  "data-slot": "calendar",
@@ -3870,22 +4026,22 @@ function Calendar({
3870
4026
  },
3871
4027
  Chevron: ({ className: className2, orientation, ...props2 }) => {
3872
4028
  if (orientation === "left") {
3873
- return /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(import_lucide_react20.ChevronLeftIcon, { className: cn("size-4", className2), ...props2 });
4029
+ return /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(import_lucide_react21.ChevronLeftIcon, { className: cn("size-4", className2), ...props2 });
3874
4030
  }
3875
4031
  if (orientation === "right") {
3876
- return /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(
3877
- import_lucide_react20.ChevronRightIcon,
4032
+ return /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(
4033
+ import_lucide_react21.ChevronRightIcon,
3878
4034
  {
3879
4035
  className: cn("size-4", className2),
3880
4036
  ...props2
3881
4037
  }
3882
4038
  );
3883
4039
  }
3884
- return /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(import_lucide_react20.ChevronDownIcon, { className: cn("size-4", className2), ...props2 });
4040
+ return /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(import_lucide_react21.ChevronDownIcon, { className: cn("size-4", className2), ...props2 });
3885
4041
  },
3886
4042
  DayButton: CalendarDayButton,
3887
4043
  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 }) });
4044
+ return /* @__PURE__ */ (0, import_jsx_runtime43.jsx)("td", { ...props2, children: /* @__PURE__ */ (0, import_jsx_runtime43.jsx)("div", { className: "flex size-[--cell-size] items-center justify-center text-center", children }) });
3889
4045
  },
3890
4046
  ...components
3891
4047
  },
@@ -3900,11 +4056,11 @@ function CalendarDayButton({
3900
4056
  ...props
3901
4057
  }) {
3902
4058
  const defaultClassNames = (0, import_react_day_picker.getDefaultClassNames)();
3903
- const ref = React37.useRef(null);
3904
- React37.useEffect(() => {
4059
+ const ref = React39.useRef(null);
4060
+ React39.useEffect(() => {
3905
4061
  if (modifiers.focused) ref.current?.focus();
3906
4062
  }, [modifiers.focused]);
3907
- return /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(
4063
+ return /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(
3908
4064
  ShadcnButton,
3909
4065
  {
3910
4066
  ref,
@@ -3926,8 +4082,8 @@ function CalendarDayButton({
3926
4082
  }
3927
4083
 
3928
4084
  // src/components/easy/date-picker.tsx
3929
- var import_jsx_runtime41 = require("react/jsx-runtime");
3930
- var EasyDatePicker = React38.forwardRef(
4085
+ var import_jsx_runtime44 = require("react/jsx-runtime");
4086
+ var EasyDatePicker = React40.forwardRef(
3931
4087
  ({
3932
4088
  label,
3933
4089
  helperText,
@@ -3943,12 +4099,12 @@ var EasyDatePicker = React38.forwardRef(
3943
4099
  toDate,
3944
4100
  ...props
3945
4101
  }, ref) => {
3946
- const generatedId = React38.useId();
4102
+ const generatedId = React40.useId();
3947
4103
  const inputId = id ?? generatedId;
3948
4104
  const helperId = helperText && !errorText ? `${inputId}-helper` : void 0;
3949
4105
  const errorId = errorText ? `${inputId}-error` : void 0;
3950
- const [open, setOpen] = React38.useState(false);
3951
- const [isFocused, setIsFocused] = React38.useState(false);
4106
+ const [open, setOpen] = React40.useState(false);
4107
+ const [isFocused, setIsFocused] = React40.useState(false);
3952
4108
  const hasError = Boolean(errorText);
3953
4109
  const triggerClassName = cn(
3954
4110
  "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 +4118,8 @@ var EasyDatePicker = React38.forwardRef(
3962
4118
  "disabled:cursor-not-allowed disabled:bg-[var(--ui-background-100)] disabled:text-[var(--ui-text-400)]",
3963
4119
  className
3964
4120
  );
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)(
4121
+ return /* @__PURE__ */ (0, import_jsx_runtime44.jsxs)("div", { className: "flex w-full flex-col gap-1.5", children: [
4122
+ label && /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(
3967
4123
  "label",
3968
4124
  {
3969
4125
  htmlFor: inputId,
@@ -3971,7 +4127,7 @@ var EasyDatePicker = React38.forwardRef(
3971
4127
  children: label
3972
4128
  }
3973
4129
  ),
3974
- /* @__PURE__ */ (0, import_jsx_runtime41.jsxs)(
4130
+ /* @__PURE__ */ (0, import_jsx_runtime44.jsxs)(
3975
4131
  Popover,
3976
4132
  {
3977
4133
  open,
@@ -3980,7 +4136,7 @@ var EasyDatePicker = React38.forwardRef(
3980
4136
  setIsFocused(next);
3981
4137
  },
3982
4138
  children: [
3983
- /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(PopoverTrigger, { asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime41.jsxs)(
4139
+ /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(PopoverTrigger, { asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime44.jsxs)(
3984
4140
  ShadcnButton,
3985
4141
  {
3986
4142
  ref,
@@ -3994,7 +4150,7 @@ var EasyDatePicker = React38.forwardRef(
3994
4150
  "aria-describedby": errorId ?? helperId,
3995
4151
  ...props,
3996
4152
  children: [
3997
- /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(
4153
+ /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(
3998
4154
  "span",
3999
4155
  {
4000
4156
  className: cn(
@@ -4004,16 +4160,16 @@ var EasyDatePicker = React38.forwardRef(
4004
4160
  children: value ? (0, import_date_fns.format)(value, "dd.MM.yyyy") : placeholder
4005
4161
  }
4006
4162
  ),
4007
- /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(import_lucide_react21.Calendar, { className: "ml-3 h-5 w-5 text-[var(--ui-icon-900)]" })
4163
+ /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(import_lucide_react22.Calendar, { className: "ml-3 h-5 w-5 text-[var(--ui-icon-900)]" })
4008
4164
  ]
4009
4165
  }
4010
4166
  ) }),
4011
- /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(
4167
+ /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(
4012
4168
  PopoverContent,
4013
4169
  {
4014
4170
  className: "w-auto p-0 bg-[var(--ui-background-0)] border border-[var(--ui-border-200)] rounded-[24px] shadow-md",
4015
4171
  align: "start",
4016
- children: /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(
4172
+ children: /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(
4017
4173
  Calendar,
4018
4174
  {
4019
4175
  mode: "single",
@@ -4032,26 +4188,26 @@ var EasyDatePicker = React38.forwardRef(
4032
4188
  ]
4033
4189
  }
4034
4190
  ),
4035
- hasError ? /* @__PURE__ */ (0, import_jsx_runtime41.jsxs)(
4191
+ hasError ? /* @__PURE__ */ (0, import_jsx_runtime44.jsxs)(
4036
4192
  "p",
4037
4193
  {
4038
4194
  id: errorId,
4039
4195
  className: "flex items-center gap-1 text-sm text-[var(--ui-danger-base)]",
4040
4196
  children: [
4041
- /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(import_lucide_react21.AlertCircle, { className: "size-4" }),
4197
+ /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(import_lucide_react22.AlertCircle, { className: "size-4" }),
4042
4198
  errorText
4043
4199
  ]
4044
4200
  }
4045
- ) : helperText ? /* @__PURE__ */ (0, import_jsx_runtime41.jsx)("p", { id: helperId, className: "text-sm text-[var(--ui-text-500)]", children: helperText }) : null
4201
+ ) : helperText ? /* @__PURE__ */ (0, import_jsx_runtime44.jsx)("p", { id: helperId, className: "text-sm text-[var(--ui-text-500)]", children: helperText }) : null
4046
4202
  ] });
4047
4203
  }
4048
4204
  );
4049
4205
  EasyDatePicker.displayName = "EasyDatePicker";
4050
4206
 
4051
4207
  // src/hooks/use-easy-otp.ts
4052
- var React39 = __toESM(require("react"), 1);
4208
+ var React41 = __toESM(require("react"), 1);
4053
4209
  var useEasyOtp = (options) => {
4054
- const [open, setOpen] = React39.useState(false);
4210
+ const [open, setOpen] = React41.useState(false);
4055
4211
  return {
4056
4212
  open,
4057
4213
  setOpen,
@@ -4069,6 +4225,7 @@ var useEasyOtp = (options) => {
4069
4225
  EasyCheckbox,
4070
4226
  EasyContainer,
4071
4227
  EasyDatePicker,
4228
+ EasyDialog,
4072
4229
  EasyDisplay,
4073
4230
  EasyEmailInput,
4074
4231
  EasyErrorMessage,
@@ -4087,6 +4244,7 @@ var useEasyOtp = (options) => {
4087
4244
  EasyTabsList,
4088
4245
  EasyTabsTrigger,
4089
4246
  EasyTextInput,
4247
+ EasyTextarea,
4090
4248
  EasyTypography,
4091
4249
  Input,
4092
4250
  ShadcnButton,