@alquimia-ai/ui 1.9.2 → 2.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (78) hide show
  1. package/dist/components/atoms/index.d.mts +1 -1
  2. package/dist/components/atoms/index.d.ts +1 -1
  3. package/dist/components/atoms/index.js +1848 -1428
  4. package/dist/components/atoms/index.js.map +1 -1
  5. package/dist/components/atoms/index.mjs +1453 -1409
  6. package/dist/components/atoms/index.mjs.map +1 -1
  7. package/dist/components/hooks/index.d.mts +1 -0
  8. package/dist/components/hooks/index.d.ts +1 -0
  9. package/dist/components/hooks/index.js +572 -211
  10. package/dist/components/hooks/index.js.map +1 -1
  11. package/dist/components/hooks/index.mjs +505 -193
  12. package/dist/components/hooks/index.mjs.map +1 -1
  13. package/dist/components/molecules/documents/index.d.mts +1 -0
  14. package/dist/components/molecules/documents/index.d.ts +1 -0
  15. package/dist/components/molecules/documents/index.js +2366 -1884
  16. package/dist/components/molecules/documents/index.js.map +1 -1
  17. package/dist/components/molecules/documents/index.mjs +2207 -1764
  18. package/dist/components/molecules/documents/index.mjs.map +1 -1
  19. package/dist/components/molecules/index.js +2261 -2095
  20. package/dist/components/molecules/index.js.map +1 -1
  21. package/dist/components/molecules/index.mjs +2084 -2075
  22. package/dist/components/molecules/index.mjs.map +1 -1
  23. package/dist/components/molecules/viewers/index.js +1303 -1185
  24. package/dist/components/molecules/viewers/index.js.map +1 -1
  25. package/dist/components/molecules/viewers/index.mjs +1254 -1167
  26. package/dist/components/molecules/viewers/index.mjs.map +1 -1
  27. package/dist/components/organisms/index.d.mts +1 -0
  28. package/dist/components/organisms/index.d.ts +1 -0
  29. package/dist/components/organisms/index.js +3074 -2609
  30. package/dist/components/organisms/index.js.map +1 -1
  31. package/dist/components/organisms/index.mjs +2999 -2586
  32. package/dist/components/organisms/index.mjs.map +1 -1
  33. package/dist/components/templates/index.d.mts +25 -3
  34. package/dist/components/templates/index.d.ts +25 -3
  35. package/dist/components/templates/index.js +1490 -1300
  36. package/dist/components/templates/index.js.map +1 -1
  37. package/dist/components/templates/index.mjs +1413 -1281
  38. package/dist/components/templates/index.mjs.map +1 -1
  39. package/dist/index.d.mts +4 -3
  40. package/dist/index.d.ts +4 -3
  41. package/dist/index.js +3951 -2977
  42. package/dist/index.js.map +1 -1
  43. package/dist/index.mjs +3368 -2950
  44. package/dist/index.mjs.map +1 -1
  45. package/dist/lib/index.js +106 -54
  46. package/dist/lib/index.js.map +1 -1
  47. package/dist/lib/index.mjs +42 -43
  48. package/dist/lib/index.mjs.map +1 -1
  49. package/dist/providers/index.d.mts +17 -0
  50. package/dist/providers/index.d.ts +17 -0
  51. package/dist/providers/index.js +177 -0
  52. package/dist/providers/index.js.map +1 -0
  53. package/dist/providers/index.mjs +101 -0
  54. package/dist/providers/index.mjs.map +1 -0
  55. package/dist/styles.css +68 -0
  56. package/dist/styles.css.map +1 -0
  57. package/dist/styles.d.mts +2 -0
  58. package/dist/styles.d.ts +2 -0
  59. package/dist/tailwind.config.js +4 -10
  60. package/dist/types/index.d.mts +5 -5
  61. package/dist/types/index.d.ts +5 -5
  62. package/dist/types/index.js +52 -19
  63. package/dist/types/index.js.map +1 -1
  64. package/dist/types/index.mjs +6 -8
  65. package/dist/types/index.mjs.map +1 -1
  66. package/package.json +8 -7
  67. package/dist/components/index.d.mts +0 -23
  68. package/dist/components/index.d.ts +0 -23
  69. package/dist/components/index.js +0 -1734
  70. package/dist/components/index.js.map +0 -1
  71. package/dist/components/index.mjs +0 -1702
  72. package/dist/components/index.mjs.map +0 -1
  73. package/dist/components/templates/cards/index.d.mts +0 -26
  74. package/dist/components/templates/cards/index.d.ts +0 -26
  75. package/dist/components/templates/cards/index.js +0 -1536
  76. package/dist/components/templates/cards/index.js.map +0 -1
  77. package/dist/components/templates/cards/index.mjs +0 -1504
  78. package/dist/components/templates/cards/index.mjs.map +0 -1
@@ -1,1439 +1,1526 @@
1
1
  "use client";
2
2
  // src/components/molecules/viewers/pdf-viewer.tsx
3
+ function _array_like_to_array(arr, len) {
4
+ if (len == null || len > arr.length) len = arr.length;
5
+ for(var i = 0, arr2 = new Array(len); i < len; i++)arr2[i] = arr[i];
6
+ return arr2;
7
+ }
8
+ function _array_with_holes(arr) {
9
+ if (Array.isArray(arr)) return arr;
10
+ }
11
+ function _define_property(obj, key, value) {
12
+ if (key in obj) {
13
+ Object.defineProperty(obj, key, {
14
+ value: value,
15
+ enumerable: true,
16
+ configurable: true,
17
+ writable: true
18
+ });
19
+ } else {
20
+ obj[key] = value;
21
+ }
22
+ return obj;
23
+ }
24
+ function _extends() {
25
+ _extends = Object.assign || function(target) {
26
+ for(var i = 1; i < arguments.length; i++){
27
+ var source = arguments[i];
28
+ for(var key in source){
29
+ if (Object.prototype.hasOwnProperty.call(source, key)) {
30
+ target[key] = source[key];
31
+ }
32
+ }
33
+ }
34
+ return target;
35
+ };
36
+ return _extends.apply(this, arguments);
37
+ }
38
+ function _iterable_to_array_limit(arr, i) {
39
+ var _i = arr == null ? null : typeof Symbol !== "undefined" && arr[Symbol.iterator] || arr["@@iterator"];
40
+ if (_i == null) return;
41
+ var _arr = [];
42
+ var _n = true;
43
+ var _d = false;
44
+ var _s, _e;
45
+ try {
46
+ for(_i = _i.call(arr); !(_n = (_s = _i.next()).done); _n = true){
47
+ _arr.push(_s.value);
48
+ if (i && _arr.length === i) break;
49
+ }
50
+ } catch (err) {
51
+ _d = true;
52
+ _e = err;
53
+ } finally{
54
+ try {
55
+ if (!_n && _i["return"] != null) _i["return"]();
56
+ } finally{
57
+ if (_d) throw _e;
58
+ }
59
+ }
60
+ return _arr;
61
+ }
62
+ function _non_iterable_rest() {
63
+ throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
64
+ }
65
+ function _object_destructuring_empty(o) {
66
+ if (o === null || o === void 0) throw new TypeError("Cannot destructure " + o);
67
+ return o;
68
+ }
69
+ function _object_spread(target) {
70
+ for(var i = 1; i < arguments.length; i++){
71
+ var source = arguments[i] != null ? arguments[i] : {};
72
+ var ownKeys = Object.keys(source);
73
+ if (typeof Object.getOwnPropertySymbols === "function") {
74
+ ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function(sym) {
75
+ return Object.getOwnPropertyDescriptor(source, sym).enumerable;
76
+ }));
77
+ }
78
+ ownKeys.forEach(function(key) {
79
+ _define_property(target, key, source[key]);
80
+ });
81
+ }
82
+ return target;
83
+ }
84
+ function ownKeys(object, enumerableOnly) {
85
+ var keys = Object.keys(object);
86
+ if (Object.getOwnPropertySymbols) {
87
+ var symbols = Object.getOwnPropertySymbols(object);
88
+ if (enumerableOnly) {
89
+ symbols = symbols.filter(function(sym) {
90
+ return Object.getOwnPropertyDescriptor(object, sym).enumerable;
91
+ });
92
+ }
93
+ keys.push.apply(keys, symbols);
94
+ }
95
+ return keys;
96
+ }
97
+ function _object_spread_props(target, source) {
98
+ source = source != null ? source : {};
99
+ if (Object.getOwnPropertyDescriptors) {
100
+ Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
101
+ } else {
102
+ ownKeys(Object(source)).forEach(function(key) {
103
+ Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
104
+ });
105
+ }
106
+ return target;
107
+ }
108
+ function _object_without_properties(source, excluded) {
109
+ if (source == null) return {};
110
+ var target = _object_without_properties_loose(source, excluded);
111
+ var key, i;
112
+ if (Object.getOwnPropertySymbols) {
113
+ var sourceSymbolKeys = Object.getOwnPropertySymbols(source);
114
+ for(i = 0; i < sourceSymbolKeys.length; i++){
115
+ key = sourceSymbolKeys[i];
116
+ if (excluded.indexOf(key) >= 0) continue;
117
+ if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue;
118
+ target[key] = source[key];
119
+ }
120
+ }
121
+ return target;
122
+ }
123
+ function _object_without_properties_loose(source, excluded) {
124
+ if (source == null) return {};
125
+ var target = {};
126
+ var sourceKeys = Object.keys(source);
127
+ var key, i;
128
+ for(i = 0; i < sourceKeys.length; i++){
129
+ key = sourceKeys[i];
130
+ if (excluded.indexOf(key) >= 0) continue;
131
+ target[key] = source[key];
132
+ }
133
+ return target;
134
+ }
135
+ function _sliced_to_array(arr, i) {
136
+ return _array_with_holes(arr) || _iterable_to_array_limit(arr, i) || _unsupported_iterable_to_array(arr, i) || _non_iterable_rest();
137
+ }
138
+ function _unsupported_iterable_to_array(o, minLen) {
139
+ if (!o) return;
140
+ if (typeof o === "string") return _array_like_to_array(o, minLen);
141
+ var n = Object.prototype.toString.call(o).slice(8, -1);
142
+ if (n === "Object" && o.constructor) n = o.constructor.name;
143
+ if (n === "Map" || n === "Set") return Array.from(n);
144
+ if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array(o, minLen);
145
+ }
3
146
  import { useState as useState3, useCallback, useEffect as useEffect4 } from "react";
4
-
5
147
  // src/components/atoms/ui/button.tsx
6
148
  import * as React from "react";
7
149
  import { Slot } from "@radix-ui/react-slot";
8
150
  import { cva } from "class-variance-authority";
9
-
10
151
  // src/lib/utils.ts
11
152
  import { clsx } from "clsx";
12
153
  import { twMerge } from "tailwind-merge";
13
- function cn(...inputs) {
14
- return twMerge(clsx(inputs));
154
+ function cn() {
155
+ for(var _len = arguments.length, inputs = new Array(_len), _key = 0; _key < _len; _key++){
156
+ inputs[_key] = arguments[_key];
157
+ }
158
+ return twMerge(clsx(inputs));
15
159
  }
16
-
17
160
  // src/components/atoms/ui/button.tsx
18
161
  import { jsx } from "react/jsx-runtime";
19
- var buttonVariants = cva(
20
- "inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",
21
- {
162
+ var buttonVariants = cva("inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0", {
22
163
  variants: {
23
- variant: {
24
- default: "bg-primary text-primary-foreground hover:bg-primary/90",
25
- destructive: "bg-destructive text-destructive-foreground hover:bg-destructive/90",
26
- outline: "border border-input bg-background hover:bg-accent hover:text-accent-foreground",
27
- secondary: "bg-secondary text-secondary-foreground hover:bg-secondary/80",
28
- ghost: "hover:bg-accent hover:text-accent-foreground",
29
- link: "text-primary underline-offset-4 hover:underline"
30
- },
31
- size: {
32
- default: "h-10 px-4 py-2",
33
- sm: "h-9 rounded-md px-3",
34
- lg: "h-11 rounded-md px-8",
35
- icon: "h-10 w-10"
36
- }
164
+ variant: {
165
+ default: "bg-primary text-primary-foreground hover:bg-primary/90",
166
+ destructive: "bg-destructive text-destructive-foreground hover:bg-destructive/90",
167
+ outline: "border border-input bg-background hover:bg-accent hover:text-accent-foreground",
168
+ secondary: "bg-secondary text-secondary-foreground hover:bg-secondary/80",
169
+ ghost: "hover:bg-accent hover:text-accent-foreground",
170
+ link: "text-primary underline-offset-4 hover:underline"
171
+ },
172
+ size: {
173
+ default: "h-10 px-4 py-2",
174
+ sm: "h-9 rounded-md px-3",
175
+ lg: "h-11 rounded-md px-8",
176
+ icon: "h-10 w-10"
177
+ }
37
178
  },
38
179
  defaultVariants: {
39
- variant: "default",
40
- size: "default"
180
+ variant: "default",
181
+ size: "default"
41
182
  }
42
- }
43
- );
44
- var Button = React.forwardRef(
45
- ({ className, variant, size, asChild = false, ...props }, ref) => {
46
- const Comp = asChild ? Slot : "button";
47
- return /* @__PURE__ */ jsx(
48
- Comp,
49
- {
50
- className: cn(buttonVariants({ variant, size, className })),
51
- ref,
52
- ...props
53
- }
54
- );
55
- }
56
- );
183
+ });
184
+ var Button = React.forwardRef(function(_param, ref) {
185
+ var className = _param.className, variant = _param.variant, size = _param.size, _param_asChild = _param.asChild, asChild = _param_asChild === void 0 ? false : _param_asChild, props = _object_without_properties(_param, [
186
+ "className",
187
+ "variant",
188
+ "size",
189
+ "asChild"
190
+ ]);
191
+ var Comp = asChild ? Slot : "button";
192
+ return /* @__PURE__ */ jsx(Comp, _object_spread({
193
+ className: cn(buttonVariants({
194
+ variant: variant,
195
+ size: size,
196
+ className: className
197
+ })),
198
+ ref: ref
199
+ }, props));
200
+ });
57
201
  Button.displayName = "Button";
58
-
59
202
  // src/components/atoms/ui/textarea.tsx
60
203
  import * as React2 from "react";
61
204
  import { jsx as jsx2 } from "react/jsx-runtime";
62
- var Textarea = React2.forwardRef(
63
- ({ className, ...props }, ref) => {
64
- return /* @__PURE__ */ jsx2(
65
- "textarea",
66
- {
67
- className: cn(
68
- "flex min-h-[80px] w-full rounded-md border border-input bg-background px-3 py-2 text-sm 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",
69
- className,
70
- "alq--textarea"
71
- ),
72
- ref,
73
- ...props
74
- }
75
- );
76
- }
77
- );
205
+ var Textarea = React2.forwardRef(function(_param, ref) {
206
+ var className = _param.className, props = _object_without_properties(_param, [
207
+ "className"
208
+ ]);
209
+ return /* @__PURE__ */ jsx2("textarea", _object_spread({
210
+ className: cn("flex min-h-[80px] w-full rounded-md border border-input bg-background px-3 py-2 text-sm 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", className, "alq--textarea"),
211
+ ref: ref
212
+ }, props));
213
+ });
78
214
  Textarea.displayName = "Textarea";
79
-
80
215
  // src/components/atoms/ui/input.tsx
81
216
  import { forwardRef as forwardRef3 } from "react";
82
217
  import { jsx as jsx3 } from "react/jsx-runtime";
83
- var Input = forwardRef3(
84
- ({ className, type, ...props }, ref) => {
85
- return /* @__PURE__ */ jsx3(
86
- "input",
87
- {
88
- type,
89
- className: cn(
90
- "flex h-10 w-full rounded-md border border-input bg-background px-3 py-2 text-sm ring-offset-background file:border-0 file:bg-transparent file:text-sm file:font-medium 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",
91
- className,
92
- "alq--input"
93
- ),
94
- ref,
95
- ...props
96
- }
97
- );
98
- }
99
- );
218
+ var Input = forwardRef3(function(_param, ref) {
219
+ var className = _param.className, type = _param.type, props = _object_without_properties(_param, [
220
+ "className",
221
+ "type"
222
+ ]);
223
+ return /* @__PURE__ */ jsx3("input", _object_spread({
224
+ type: type,
225
+ className: cn("flex h-10 w-full rounded-md border border-input bg-background px-3 py-2 text-sm ring-offset-background file:border-0 file:bg-transparent file:text-sm file:font-medium 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", className, "alq--input"),
226
+ ref: ref
227
+ }, props));
228
+ });
100
229
  Input.displayName = "Input";
101
-
102
230
  // src/components/atoms/ui/select.tsx
103
231
  import * as React3 from "react";
104
232
  import * as SelectPrimitive from "@radix-ui/react-select";
105
233
  import { Check, ChevronDown, ChevronUp } from "lucide-react";
106
234
  import { jsx as jsx4, jsxs } from "react/jsx-runtime";
107
- var SelectTrigger = React3.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ jsxs(
108
- SelectPrimitive.Trigger,
109
- {
110
- ref,
111
- className: cn(
112
- "flex h-10 w-full items-center justify-between rounded-md border border-input bg-background px-3 py-2 text-sm ring-offset-background placeholder:text-muted-foreground focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50 [&>span]:line-clamp-1",
113
- className,
114
- "alq--select"
115
- ),
116
- ...props,
117
- children: [
118
- children,
119
- /* @__PURE__ */ jsx4(SelectPrimitive.Icon, { asChild: true, children: /* @__PURE__ */ jsx4(ChevronDown, { className: "h-4 w-4 opacity-50" }) })
120
- ]
121
- }
122
- ));
235
+ var SelectTrigger = React3.forwardRef(function(_param, ref) {
236
+ var className = _param.className, children = _param.children, props = _object_without_properties(_param, [
237
+ "className",
238
+ "children"
239
+ ]);
240
+ return /* @__PURE__ */ jsxs(SelectPrimitive.Trigger, _object_spread_props(_object_spread({
241
+ ref: ref,
242
+ className: cn("flex h-10 w-full items-center justify-between rounded-md border border-input bg-background px-3 py-2 text-sm ring-offset-background placeholder:text-muted-foreground focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50 [&>span]:line-clamp-1", className, "alq--select")
243
+ }, props), {
244
+ children: [
245
+ children,
246
+ /* @__PURE__ */ jsx4(SelectPrimitive.Icon, {
247
+ asChild: true,
248
+ children: /* @__PURE__ */ jsx4(ChevronDown, {
249
+ className: "h-4 w-4 opacity-50"
250
+ })
251
+ })
252
+ ]
253
+ }));
254
+ });
123
255
  SelectTrigger.displayName = SelectPrimitive.Trigger.displayName;
124
- var SelectScrollUpButton = React3.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx4(
125
- SelectPrimitive.ScrollUpButton,
126
- {
127
- ref,
128
- className: cn(
129
- "flex cursor-default items-center justify-center py-1",
130
- className
131
- ),
132
- ...props,
133
- children: /* @__PURE__ */ jsx4(ChevronUp, { className: "h-4 w-4" })
134
- }
135
- ));
256
+ var SelectScrollUpButton = React3.forwardRef(function(_param, ref) {
257
+ var className = _param.className, props = _object_without_properties(_param, [
258
+ "className"
259
+ ]);
260
+ return /* @__PURE__ */ jsx4(SelectPrimitive.ScrollUpButton, _object_spread_props(_object_spread({
261
+ ref: ref,
262
+ className: cn("flex cursor-default items-center justify-center py-1", className)
263
+ }, props), {
264
+ children: /* @__PURE__ */ jsx4(ChevronUp, {
265
+ className: "h-4 w-4"
266
+ })
267
+ }));
268
+ });
136
269
  SelectScrollUpButton.displayName = SelectPrimitive.ScrollUpButton.displayName;
137
- var SelectScrollDownButton = React3.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx4(
138
- SelectPrimitive.ScrollDownButton,
139
- {
140
- ref,
141
- className: cn(
142
- "flex cursor-default items-center justify-center py-1",
143
- className
144
- ),
145
- ...props,
146
- children: /* @__PURE__ */ jsx4(ChevronDown, { className: "h-4 w-4" })
147
- }
148
- ));
270
+ var SelectScrollDownButton = React3.forwardRef(function(_param, ref) {
271
+ var className = _param.className, props = _object_without_properties(_param, [
272
+ "className"
273
+ ]);
274
+ return /* @__PURE__ */ jsx4(SelectPrimitive.ScrollDownButton, _object_spread_props(_object_spread({
275
+ ref: ref,
276
+ className: cn("flex cursor-default items-center justify-center py-1", className)
277
+ }, props), {
278
+ children: /* @__PURE__ */ jsx4(ChevronDown, {
279
+ className: "h-4 w-4"
280
+ })
281
+ }));
282
+ });
149
283
  SelectScrollDownButton.displayName = SelectPrimitive.ScrollDownButton.displayName;
150
- var SelectContent = React3.forwardRef(({ className, children, position = "popper", ...props }, ref) => /* @__PURE__ */ jsx4(SelectPrimitive.Portal, { children: /* @__PURE__ */ jsxs(
151
- SelectPrimitive.Content,
152
- {
153
- ref,
154
- className: cn(
155
- "relative z-50 max-h-96 min-w-[8rem] overflow-hidden rounded-md border bg-popover text-popover-foreground shadow-md data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",
156
- position === "popper" && "data-[side=bottom]:translate-y-1 data-[side=left]:-translate-x-1 data-[side=right]:translate-x-1 data-[side=top]:-translate-y-1",
157
- className
158
- ),
159
- position,
160
- ...props,
161
- children: [
162
- /* @__PURE__ */ jsx4(SelectScrollUpButton, {}),
163
- /* @__PURE__ */ jsx4(
164
- SelectPrimitive.Viewport,
165
- {
166
- className: cn(
167
- "p-1",
168
- position === "popper" && "h-[var(--radix-select-trigger-height)] w-full min-w-[var(--radix-select-trigger-width)]"
169
- ),
170
- children
171
- }
172
- ),
173
- /* @__PURE__ */ jsx4(SelectScrollDownButton, {})
174
- ]
175
- }
176
- ) }));
284
+ var SelectContent = React3.forwardRef(function(_param, ref) {
285
+ var className = _param.className, children = _param.children, _param_position = _param.position, position = _param_position === void 0 ? "popper" : _param_position, props = _object_without_properties(_param, [
286
+ "className",
287
+ "children",
288
+ "position"
289
+ ]);
290
+ return /* @__PURE__ */ jsx4(SelectPrimitive.Portal, {
291
+ children: /* @__PURE__ */ jsxs(SelectPrimitive.Content, _object_spread_props(_object_spread({
292
+ ref: ref,
293
+ className: cn("relative z-50 max-h-96 min-w-[8rem] overflow-hidden rounded-md border bg-popover text-popover-foreground shadow-md data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2", position === "popper" && "data-[side=bottom]:translate-y-1 data-[side=left]:-translate-x-1 data-[side=right]:translate-x-1 data-[side=top]:-translate-y-1", className),
294
+ position: position
295
+ }, props), {
296
+ children: [
297
+ /* @__PURE__ */ jsx4(SelectScrollUpButton, {}),
298
+ /* @__PURE__ */ jsx4(SelectPrimitive.Viewport, {
299
+ className: cn("p-1", position === "popper" && "h-[var(--radix-select-trigger-height)] w-full min-w-[var(--radix-select-trigger-width)]"),
300
+ children: children
301
+ }),
302
+ /* @__PURE__ */ jsx4(SelectScrollDownButton, {})
303
+ ]
304
+ }))
305
+ });
306
+ });
177
307
  SelectContent.displayName = SelectPrimitive.Content.displayName;
178
- var SelectLabel = React3.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx4(
179
- SelectPrimitive.Label,
180
- {
181
- ref,
182
- className: cn("py-1.5 pl-8 pr-2 text-sm font-semibold", className),
183
- ...props
184
- }
185
- ));
308
+ var SelectLabel = React3.forwardRef(function(_param, ref) {
309
+ var className = _param.className, props = _object_without_properties(_param, [
310
+ "className"
311
+ ]);
312
+ return /* @__PURE__ */ jsx4(SelectPrimitive.Label, _object_spread({
313
+ ref: ref,
314
+ className: cn("py-1.5 pl-8 pr-2 text-sm font-semibold", className)
315
+ }, props));
316
+ });
186
317
  SelectLabel.displayName = SelectPrimitive.Label.displayName;
187
- var SelectItem = React3.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ jsxs(
188
- SelectPrimitive.Item,
189
- {
190
- ref,
191
- className: cn(
192
- "relative flex w-full cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",
193
- className
194
- ),
195
- ...props,
196
- children: [
197
- /* @__PURE__ */ jsx4("span", { className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ jsx4(SelectPrimitive.ItemIndicator, { children: /* @__PURE__ */ jsx4(Check, { className: "h-4 w-4" }) }) }),
198
- /* @__PURE__ */ jsx4(SelectPrimitive.ItemText, { children })
199
- ]
200
- }
201
- ));
318
+ var SelectItem = React3.forwardRef(function(_param, ref) {
319
+ var className = _param.className, children = _param.children, props = _object_without_properties(_param, [
320
+ "className",
321
+ "children"
322
+ ]);
323
+ return /* @__PURE__ */ jsxs(SelectPrimitive.Item, _object_spread_props(_object_spread({
324
+ ref: ref,
325
+ className: cn("relative flex w-full cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50", className)
326
+ }, props), {
327
+ children: [
328
+ /* @__PURE__ */ jsx4("span", {
329
+ className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center",
330
+ children: /* @__PURE__ */ jsx4(SelectPrimitive.ItemIndicator, {
331
+ children: /* @__PURE__ */ jsx4(Check, {
332
+ className: "h-4 w-4"
333
+ })
334
+ })
335
+ }),
336
+ /* @__PURE__ */ jsx4(SelectPrimitive.ItemText, {
337
+ children: children
338
+ })
339
+ ]
340
+ }));
341
+ });
202
342
  SelectItem.displayName = SelectPrimitive.Item.displayName;
203
- var SelectSeparator = React3.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx4(
204
- SelectPrimitive.Separator,
205
- {
206
- ref,
207
- className: cn("-mx-1 my-1 h-px bg-muted", className),
208
- ...props
209
- }
210
- ));
343
+ var SelectSeparator = React3.forwardRef(function(_param, ref) {
344
+ var className = _param.className, props = _object_without_properties(_param, [
345
+ "className"
346
+ ]);
347
+ return /* @__PURE__ */ jsx4(SelectPrimitive.Separator, _object_spread({
348
+ ref: ref,
349
+ className: cn("-mx-1 my-1 h-px bg-muted", className)
350
+ }, props));
351
+ });
211
352
  SelectSeparator.displayName = SelectPrimitive.Separator.displayName;
212
-
213
353
  // src/components/atoms/ui/avatar.tsx
214
354
  import * as React4 from "react";
215
355
  import * as AvatarPrimitive from "@radix-ui/react-avatar";
216
356
  import { jsx as jsx5 } from "react/jsx-runtime";
217
- var Avatar = React4.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx5(
218
- AvatarPrimitive.Root,
219
- {
220
- ref,
221
- className: cn(
222
- "relative flex h-10 w-10 shrink-0 overflow-hidden rounded-full",
223
- className
224
- ),
225
- ...props
226
- }
227
- ));
357
+ var Avatar = React4.forwardRef(function(_param, ref) {
358
+ var className = _param.className, props = _object_without_properties(_param, [
359
+ "className"
360
+ ]);
361
+ return /* @__PURE__ */ jsx5(AvatarPrimitive.Root, _object_spread({
362
+ ref: ref,
363
+ className: cn("relative flex h-10 w-10 shrink-0 overflow-hidden rounded-full", className)
364
+ }, props));
365
+ });
228
366
  Avatar.displayName = AvatarPrimitive.Root.displayName;
229
- var AvatarImage = React4.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx5(
230
- AvatarPrimitive.Image,
231
- {
232
- ref,
233
- className: cn("aspect-square h-full w-full", className),
234
- ...props
235
- }
236
- ));
367
+ var AvatarImage = React4.forwardRef(function(_param, ref) {
368
+ var className = _param.className, props = _object_without_properties(_param, [
369
+ "className"
370
+ ]);
371
+ return /* @__PURE__ */ jsx5(AvatarPrimitive.Image, _object_spread({
372
+ ref: ref,
373
+ className: cn("aspect-square h-full w-full", className)
374
+ }, props));
375
+ });
237
376
  AvatarImage.displayName = AvatarPrimitive.Image.displayName;
238
- var AvatarFallback = React4.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx5(
239
- AvatarPrimitive.Fallback,
240
- {
241
- ref,
242
- className: cn(
243
- "flex h-full w-full items-center justify-center rounded-full bg-muted",
244
- className
245
- ),
246
- ...props
247
- }
248
- ));
377
+ var AvatarFallback = React4.forwardRef(function(_param, ref) {
378
+ var className = _param.className, props = _object_without_properties(_param, [
379
+ "className"
380
+ ]);
381
+ return /* @__PURE__ */ jsx5(AvatarPrimitive.Fallback, _object_spread({
382
+ ref: ref,
383
+ className: cn("flex h-full w-full items-center justify-center rounded-full bg-muted", className)
384
+ }, props));
385
+ });
249
386
  AvatarFallback.displayName = AvatarPrimitive.Fallback.displayName;
250
-
251
387
  // src/components/atoms/ui/scroll-area.tsx
252
388
  import * as React5 from "react";
253
389
  import * as ScrollAreaPrimitive from "@radix-ui/react-scroll-area";
254
390
  import { jsx as jsx6, jsxs as jsxs2 } from "react/jsx-runtime";
255
- var ScrollArea = React5.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ jsxs2(
256
- ScrollAreaPrimitive.Root,
257
- {
258
- ref,
259
- className: cn("relative overflow-hidden", className),
260
- ...props,
261
- children: [
262
- /* @__PURE__ */ jsx6(ScrollAreaPrimitive.Viewport, { className: "h-full w-full rounded-[inherit]", children }),
263
- /* @__PURE__ */ jsx6(ScrollBar, {}),
264
- /* @__PURE__ */ jsx6(ScrollAreaPrimitive.Corner, {})
265
- ]
266
- }
267
- ));
391
+ var ScrollArea = React5.forwardRef(function(_param, ref) {
392
+ var className = _param.className, children = _param.children, props = _object_without_properties(_param, [
393
+ "className",
394
+ "children"
395
+ ]);
396
+ return /* @__PURE__ */ jsxs2(ScrollAreaPrimitive.Root, _object_spread_props(_object_spread({
397
+ ref: ref,
398
+ className: cn("relative overflow-hidden", className)
399
+ }, props), {
400
+ children: [
401
+ /* @__PURE__ */ jsx6(ScrollAreaPrimitive.Viewport, {
402
+ className: "h-full w-full rounded-[inherit]",
403
+ children: children
404
+ }),
405
+ /* @__PURE__ */ jsx6(ScrollBar, {}),
406
+ /* @__PURE__ */ jsx6(ScrollAreaPrimitive.Corner, {})
407
+ ]
408
+ }));
409
+ });
268
410
  ScrollArea.displayName = ScrollAreaPrimitive.Root.displayName;
269
- var ScrollBar = React5.forwardRef(({ className, orientation = "vertical", ...props }, ref) => /* @__PURE__ */ jsx6(
270
- ScrollAreaPrimitive.ScrollAreaScrollbar,
271
- {
272
- ref,
273
- orientation,
274
- className: cn(
275
- "flex touch-none select-none transition-colors",
276
- orientation === "vertical" && "h-full w-2.5 border-l border-l-transparent p-[1px]",
277
- orientation === "horizontal" && "h-2.5 flex-col border-t border-t-transparent p-[1px]",
278
- className
279
- ),
280
- ...props,
281
- children: /* @__PURE__ */ jsx6(ScrollAreaPrimitive.ScrollAreaThumb, { className: "relative flex-1 rounded-full bg-border" })
282
- }
283
- ));
411
+ var ScrollBar = React5.forwardRef(function(_param, ref) {
412
+ var className = _param.className, _param_orientation = _param.orientation, orientation = _param_orientation === void 0 ? "vertical" : _param_orientation, props = _object_without_properties(_param, [
413
+ "className",
414
+ "orientation"
415
+ ]);
416
+ return /* @__PURE__ */ jsx6(ScrollAreaPrimitive.ScrollAreaScrollbar, _object_spread_props(_object_spread({
417
+ ref: ref,
418
+ orientation: orientation,
419
+ className: cn("flex touch-none select-none transition-colors", orientation === "vertical" && "h-full w-2.5 border-l border-l-transparent p-[1px]", orientation === "horizontal" && "h-2.5 flex-col border-t border-t-transparent p-[1px]", className)
420
+ }, props), {
421
+ children: /* @__PURE__ */ jsx6(ScrollAreaPrimitive.ScrollAreaThumb, {
422
+ className: "relative flex-1 rounded-full bg-border"
423
+ })
424
+ }));
425
+ });
284
426
  ScrollBar.displayName = ScrollAreaPrimitive.ScrollAreaScrollbar.displayName;
285
-
286
427
  // src/components/atoms/ui/rich-text.tsx
287
428
  import ReactMarkdown from "react-markdown";
288
429
  import remarkGfm from "remark-gfm";
289
430
  import { jsx as jsx7 } from "react/jsx-runtime";
290
-
291
431
  // src/components/atoms/ui/skeleton.tsx
292
432
  import { jsx as jsx8 } from "react/jsx-runtime";
293
-
294
433
  // src/components/atoms/ui/card.tsx
295
434
  import * as React6 from "react";
296
435
  import { jsx as jsx9 } from "react/jsx-runtime";
297
- var Card = React6.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx9(
298
- "div",
299
- {
300
- ref,
301
- className: cn(
302
- "rounded-lg",
303
- " border",
304
- "bg-card",
305
- "text-card-foreground",
306
- "shadow-raised",
307
- className
308
- ),
309
- ...props
310
- }
311
- ));
436
+ var Card = React6.forwardRef(function(_param, ref) {
437
+ var className = _param.className, props = _object_without_properties(_param, [
438
+ "className"
439
+ ]);
440
+ return /* @__PURE__ */ jsx9("div", _object_spread({
441
+ ref: ref,
442
+ className: cn("rounded-lg", " border", "bg-card", "text-card-foreground", "shadow-raised", className)
443
+ }, props));
444
+ });
312
445
  Card.displayName = "Card";
313
- var CardHeader = React6.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx9(
314
- "div",
315
- {
316
- ref,
317
- className: cn("flex flex-col space-y-1.5 p-6", className),
318
- ...props
319
- }
320
- ));
446
+ var CardHeader = React6.forwardRef(function(_param, ref) {
447
+ var className = _param.className, props = _object_without_properties(_param, [
448
+ "className"
449
+ ]);
450
+ return /* @__PURE__ */ jsx9("div", _object_spread({
451
+ ref: ref,
452
+ className: cn("flex flex-col space-y-1.5 p-6", className)
453
+ }, props));
454
+ });
321
455
  CardHeader.displayName = "CardHeader";
322
- var CardTitle = React6.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx9(
323
- "h3",
324
- {
325
- ref,
326
- className: cn("alq--typography-heading4", className),
327
- ...props
328
- }
329
- ));
456
+ var CardTitle = React6.forwardRef(function(_param, ref) {
457
+ var className = _param.className, props = _object_without_properties(_param, [
458
+ "className"
459
+ ]);
460
+ return /* @__PURE__ */ jsx9("h3", _object_spread({
461
+ ref: ref,
462
+ className: cn("alq--typography-heading4", className)
463
+ }, props));
464
+ });
330
465
  CardTitle.displayName = "CardTitle";
331
- var CardDescription = React6.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx9(
332
- "p",
333
- {
334
- ref,
335
- className: cn("text-sm text-muted-foreground", className),
336
- ...props
337
- }
338
- ));
466
+ var CardDescription = React6.forwardRef(function(_param, ref) {
467
+ var className = _param.className, props = _object_without_properties(_param, [
468
+ "className"
469
+ ]);
470
+ return /* @__PURE__ */ jsx9("p", _object_spread({
471
+ ref: ref,
472
+ className: cn("text-sm text-muted-foreground", className)
473
+ }, props));
474
+ });
339
475
  CardDescription.displayName = "CardDescription";
340
- var CardContent = React6.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx9("div", { ref, className: cn("p-6 pt-0", className), ...props }));
476
+ var CardContent = React6.forwardRef(function(_param, ref) {
477
+ var className = _param.className, props = _object_without_properties(_param, [
478
+ "className"
479
+ ]);
480
+ return /* @__PURE__ */ jsx9("div", _object_spread({
481
+ ref: ref,
482
+ className: cn("p-6 pt-0", className)
483
+ }, props));
484
+ });
341
485
  CardContent.displayName = "CardContent";
342
- var CardFooter = React6.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx9(
343
- "div",
344
- {
345
- ref,
346
- className: cn("flex items-center p-6 pt-0", className),
347
- ...props
348
- }
349
- ));
486
+ var CardFooter = React6.forwardRef(function(_param, ref) {
487
+ var className = _param.className, props = _object_without_properties(_param, [
488
+ "className"
489
+ ]);
490
+ return /* @__PURE__ */ jsx9("div", _object_spread({
491
+ ref: ref,
492
+ className: cn("flex items-center p-6 pt-0", className)
493
+ }, props));
494
+ });
350
495
  CardFooter.displayName = "CardFooter";
351
-
352
496
  // src/components/atoms/ui/drawer.tsx
353
497
  import * as React7 from "react";
354
498
  import { Drawer as DrawerPrimitive } from "vaul";
355
499
  import { jsx as jsx10, jsxs as jsxs3 } from "react/jsx-runtime";
356
- var Drawer = ({
357
- shouldScaleBackground = true,
358
- ...props
359
- }) => /* @__PURE__ */ jsx10(
360
- DrawerPrimitive.Root,
361
- {
362
- shouldScaleBackground,
363
- ...props
364
- }
365
- );
500
+ var Drawer = function(_param) {
501
+ var _param_shouldScaleBackground = _param.shouldScaleBackground, shouldScaleBackground = _param_shouldScaleBackground === void 0 ? true : _param_shouldScaleBackground, props = _object_without_properties(_param, [
502
+ "shouldScaleBackground"
503
+ ]);
504
+ return /* @__PURE__ */ jsx10(DrawerPrimitive.Root, _object_spread({
505
+ shouldScaleBackground: shouldScaleBackground
506
+ }, props));
507
+ };
366
508
  Drawer.displayName = "Drawer";
367
509
  var DrawerTrigger = DrawerPrimitive.Trigger;
368
510
  var DrawerPortal = DrawerPrimitive.Portal;
369
511
  var DrawerClose = DrawerPrimitive.Close;
370
- var DrawerOverlay = React7.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx10(
371
- DrawerPrimitive.Overlay,
372
- {
373
- ref,
374
- className: cn("fixed inset-0 z-50 bg-black/80", className),
375
- ...props
376
- }
377
- ));
512
+ var DrawerOverlay = React7.forwardRef(function(_param, ref) {
513
+ var className = _param.className, props = _object_without_properties(_param, [
514
+ "className"
515
+ ]);
516
+ return /* @__PURE__ */ jsx10(DrawerPrimitive.Overlay, _object_spread({
517
+ ref: ref,
518
+ className: cn("fixed inset-0 z-50 bg-black/80", className)
519
+ }, props));
520
+ });
378
521
  DrawerOverlay.displayName = DrawerPrimitive.Overlay.displayName;
379
- var DrawerContent = React7.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ jsxs3(DrawerPortal, { children: [
380
- /* @__PURE__ */ jsx10(DrawerOverlay, {}),
381
- /* @__PURE__ */ jsxs3(
382
- DrawerPrimitive.Content,
383
- {
384
- ref,
385
- className: cn(
386
- "fixed inset-x-0 bottom-0 z-50 mt-24 flex h-auto flex-col rounded-t-[10px] border border-border bg-background text-foreground alq--drawer-content",
387
- className
388
- ),
389
- ...props,
390
- children: [
391
- /* @__PURE__ */ jsx10("div", { className: "mx-auto mt-4 h-2 w-[100px] rounded-full bg-muted" }),
392
- children
393
- ]
394
- }
395
- )
396
- ] }));
522
+ var DrawerContent = React7.forwardRef(function(_param, ref) {
523
+ var className = _param.className, children = _param.children, props = _object_without_properties(_param, [
524
+ "className",
525
+ "children"
526
+ ]);
527
+ return /* @__PURE__ */ jsxs3(DrawerPortal, {
528
+ children: [
529
+ /* @__PURE__ */ jsx10(DrawerOverlay, {}),
530
+ /* @__PURE__ */ jsxs3(DrawerPrimitive.Content, _object_spread_props(_object_spread({
531
+ ref: ref,
532
+ className: cn("fixed inset-x-0 bottom-0 z-50 mt-24 flex h-auto flex-col rounded-t-[10px] border border-border bg-background text-foreground alq--drawer-content", className)
533
+ }, props), {
534
+ children: [
535
+ /* @__PURE__ */ jsx10("div", {
536
+ className: "mx-auto mt-4 h-2 w-[100px] rounded-full bg-muted"
537
+ }),
538
+ children
539
+ ]
540
+ }))
541
+ ]
542
+ });
543
+ });
397
544
  DrawerContent.displayName = "DrawerContent";
398
- var DrawerHeader = ({
399
- className,
400
- ...props
401
- }) => /* @__PURE__ */ jsx10(
402
- "div",
403
- {
404
- className: cn("grid gap-1.5 p-4 text-center sm:text-left", className, "alq--drawer-header"),
405
- ...props
406
- }
407
- );
545
+ var DrawerHeader = function(_param) {
546
+ var className = _param.className, props = _object_without_properties(_param, [
547
+ "className"
548
+ ]);
549
+ return /* @__PURE__ */ jsx10("div", _object_spread({
550
+ className: cn("grid gap-1.5 p-4 text-center sm:text-left", className, "alq--drawer-header")
551
+ }, props));
552
+ };
408
553
  DrawerHeader.displayName = "DrawerHeader";
409
- var DrawerFooter = ({
410
- className,
411
- ...props
412
- }) => /* @__PURE__ */ jsx10(
413
- "div",
414
- {
415
- className: cn("mt-auto flex flex-col gap-2 p-4", className, "alq--drawer-footer"),
416
- ...props
417
- }
418
- );
554
+ var DrawerFooter = function(_param) {
555
+ var className = _param.className, props = _object_without_properties(_param, [
556
+ "className"
557
+ ]);
558
+ return /* @__PURE__ */ jsx10("div", _object_spread({
559
+ className: cn("mt-auto flex flex-col gap-2 p-4", className, "alq--drawer-footer")
560
+ }, props));
561
+ };
419
562
  DrawerFooter.displayName = "DrawerFooter";
420
- var DrawerTitle = React7.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx10(
421
- DrawerPrimitive.Title,
422
- {
423
- ref,
424
- className: cn(
425
- "text-lg font-semibold leading-none tracking-tight",
426
- className,
427
- "alq--drawer-title"
428
- ),
429
- ...props
430
- }
431
- ));
563
+ var DrawerTitle = React7.forwardRef(function(_param, ref) {
564
+ var className = _param.className, props = _object_without_properties(_param, [
565
+ "className"
566
+ ]);
567
+ return /* @__PURE__ */ jsx10(DrawerPrimitive.Title, _object_spread({
568
+ ref: ref,
569
+ className: cn("text-lg font-semibold leading-none tracking-tight", className, "alq--drawer-title")
570
+ }, props));
571
+ });
432
572
  DrawerTitle.displayName = DrawerPrimitive.Title.displayName;
433
- var DrawerDescription = React7.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx10(
434
- DrawerPrimitive.Description,
435
- {
436
- ref,
437
- className: cn("text-sm text-muted-foreground", className, "alq--drawer-description"),
438
- ...props
439
- }
440
- ));
573
+ var DrawerDescription = React7.forwardRef(function(_param, ref) {
574
+ var className = _param.className, props = _object_without_properties(_param, [
575
+ "className"
576
+ ]);
577
+ return /* @__PURE__ */ jsx10(DrawerPrimitive.Description, _object_spread({
578
+ ref: ref,
579
+ className: cn("text-sm text-muted-foreground", className, "alq--drawer-description")
580
+ }, props));
581
+ });
441
582
  DrawerDescription.displayName = DrawerPrimitive.Description.displayName;
442
-
443
583
  // src/components/atoms/ui/typography/index.tsx
444
584
  import { forwardRef as forwardRef9 } from "react";
445
585
  import { jsx as jsx11 } from "react/jsx-runtime";
446
- var Typography = forwardRef9(
447
- ({ as: Component = "p", typeStyle, ...props }, ref) => {
448
- return /* @__PURE__ */ jsx11(
449
- Component,
450
- {
451
- ...props,
452
- className: cn(props.className, `alq--typography-${typeStyle}`),
453
- ref
454
- }
455
- );
456
- }
457
- );
586
+ var Typography = forwardRef9(function(_param, ref) {
587
+ var tmp = _param.as, Component = tmp === void 0 ? "p" : tmp, typeStyle = _param.typeStyle, props = _object_without_properties(_param, [
588
+ "as",
589
+ "typeStyle"
590
+ ]);
591
+ return /* @__PURE__ */ jsx11(Component, _object_spread_props(_object_spread({}, props), {
592
+ className: cn(props.className, "alq--typography-".concat(typeStyle)),
593
+ ref: ref
594
+ }));
595
+ });
458
596
  Typography.displayName = "Typography";
459
-
460
597
  // src/components/atoms/ui/badge.tsx
461
598
  import { cva as cva2 } from "class-variance-authority";
462
599
  import { jsx as jsx12 } from "react/jsx-runtime";
463
- var badgeVariants = cva2(
464
- "inline-flex items-center rounded-full border px-2.5 py-0.5 text-xs font-semibold transition-colors focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2",
465
- {
600
+ var badgeVariants = cva2("inline-flex items-center rounded-full border px-2.5 py-0.5 text-xs font-semibold transition-colors focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2", {
466
601
  variants: {
467
- variant: {
468
- default: "border-transparent bg-primary text-primary-foreground hover:bg-primary/80",
469
- secondary: "border-transparent bg-secondary text-secondary-foreground hover:bg-secondary/80",
470
- destructive: "border-transparent bg-destructive text-destructive-foreground hover:bg-destructive/80",
471
- outline: "text-foreground"
472
- }
602
+ variant: {
603
+ default: "border-transparent bg-primary text-primary-foreground hover:bg-primary/80",
604
+ secondary: "border-transparent bg-secondary text-secondary-foreground hover:bg-secondary/80",
605
+ destructive: "border-transparent bg-destructive text-destructive-foreground hover:bg-destructive/80",
606
+ outline: "text-foreground"
607
+ }
473
608
  },
474
609
  defaultVariants: {
475
- variant: "default"
610
+ variant: "default"
476
611
  }
477
- }
478
- );
479
-
612
+ });
480
613
  // src/components/atoms/ui/alert.tsx
481
614
  import * as React8 from "react";
482
615
  import { cva as cva3 } from "class-variance-authority";
483
616
  import { jsx as jsx13 } from "react/jsx-runtime";
484
- var alertVariants = cva3(
485
- "relative w-full rounded-lg border p-4 [&>svg~*]:pl-7 [&>svg+div]:translate-y-[-3px] [&>svg]:absolute [&>svg]:left-4 [&>svg]:top-4 [&>svg]:text-foreground",
486
- {
617
+ var alertVariants = cva3("relative w-full rounded-lg border p-4 [&>svg~*]:pl-7 [&>svg+div]:translate-y-[-3px] [&>svg]:absolute [&>svg]:left-4 [&>svg]:top-4 [&>svg]:text-foreground", {
487
618
  variants: {
488
- variant: {
489
- default: "bg-background text-foreground",
490
- destructive: "border-destructive/50 text-destructive dark:border-destructive [&>svg]:text-destructive"
491
- }
619
+ variant: {
620
+ default: "bg-background text-foreground",
621
+ destructive: "border-destructive/50 text-destructive dark:border-destructive [&>svg]:text-destructive"
622
+ }
492
623
  },
493
624
  defaultVariants: {
494
- variant: "default"
625
+ variant: "default"
495
626
  }
496
- }
497
- );
498
- var Alert = React8.forwardRef(({ className, variant, ...props }, ref) => /* @__PURE__ */ jsx13(
499
- "div",
500
- {
501
- ref,
502
- role: "alert",
503
- className: cn(alertVariants({ variant }), className),
504
- ...props
505
- }
506
- ));
627
+ });
628
+ var Alert = React8.forwardRef(function(_param, ref) {
629
+ var className = _param.className, variant = _param.variant, props = _object_without_properties(_param, [
630
+ "className",
631
+ "variant"
632
+ ]);
633
+ return /* @__PURE__ */ jsx13("div", _object_spread({
634
+ ref: ref,
635
+ role: "alert",
636
+ className: cn(alertVariants({
637
+ variant: variant
638
+ }), className)
639
+ }, props));
640
+ });
507
641
  Alert.displayName = "Alert";
508
- var AlertTitle = React8.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx13(
509
- "h5",
510
- {
511
- ref,
512
- className: cn("mb-1 font-medium leading-none tracking-tight", className),
513
- ...props
514
- }
515
- ));
642
+ var AlertTitle = React8.forwardRef(function(_param, ref) {
643
+ var className = _param.className, props = _object_without_properties(_param, [
644
+ "className"
645
+ ]);
646
+ return /* @__PURE__ */ jsx13("h5", _object_spread({
647
+ ref: ref,
648
+ className: cn("mb-1 font-medium leading-none tracking-tight", className)
649
+ }, props));
650
+ });
516
651
  AlertTitle.displayName = "AlertTitle";
517
- var AlertDescription = React8.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx13(
518
- "div",
519
- {
520
- ref,
521
- className: cn("text-sm [&_p]:leading-relaxed", className),
522
- ...props
523
- }
524
- ));
652
+ var AlertDescription = React8.forwardRef(function(_param, ref) {
653
+ var className = _param.className, props = _object_without_properties(_param, [
654
+ "className"
655
+ ]);
656
+ return /* @__PURE__ */ jsx13("div", _object_spread({
657
+ ref: ref,
658
+ className: cn("text-sm [&_p]:leading-relaxed", className)
659
+ }, props));
660
+ });
525
661
  AlertDescription.displayName = "AlertDescription";
526
-
527
662
  // src/components/atoms/ui/label.tsx
528
663
  import * as React9 from "react";
529
664
  import * as LabelPrimitive from "@radix-ui/react-label";
530
665
  import { cva as cva4 } from "class-variance-authority";
531
666
  import { jsx as jsx14 } from "react/jsx-runtime";
532
- var labelVariants = cva4(
533
- "text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70"
534
- );
535
- var Label2 = React9.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx14(
536
- LabelPrimitive.Root,
537
- {
538
- ref,
539
- className: cn(labelVariants(), className, "alq--label"),
540
- ...props
541
- }
542
- ));
667
+ var labelVariants = cva4("text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70");
668
+ var Label2 = React9.forwardRef(function(_param, ref) {
669
+ var className = _param.className, props = _object_without_properties(_param, [
670
+ "className"
671
+ ]);
672
+ return /* @__PURE__ */ jsx14(LabelPrimitive.Root, _object_spread({
673
+ ref: ref,
674
+ className: cn(labelVariants(), className, "alq--label")
675
+ }, props));
676
+ });
543
677
  Label2.displayName = LabelPrimitive.Root.displayName;
544
-
545
678
  // src/components/atoms/ui/checkbox.tsx
546
679
  import * as React10 from "react";
547
680
  import * as CheckboxPrimitive from "@radix-ui/react-checkbox";
548
681
  import { Check as Check2 } from "lucide-react";
549
682
  import { jsx as jsx15 } from "react/jsx-runtime";
550
- var Checkbox = React10.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx15(
551
- CheckboxPrimitive.Root,
552
- {
553
- ref,
554
- className: cn(
555
- "peer h-4 w-4 shrink-0 rounded-sm border border-primary ring-offset-background focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50 data-[state=checked]:bg-primary data-[state=checked]:text-primary-foreground",
556
- className,
557
- "alq--checkbox"
558
- ),
559
- ...props,
560
- children: /* @__PURE__ */ jsx15(
561
- CheckboxPrimitive.Indicator,
562
- {
563
- className: cn("flex items-center justify-center text-current"),
564
- children: /* @__PURE__ */ jsx15(Check2, { className: "h-4 w-4" })
565
- }
566
- )
567
- }
568
- ));
683
+ var Checkbox = React10.forwardRef(function(_param, ref) {
684
+ var className = _param.className, props = _object_without_properties(_param, [
685
+ "className"
686
+ ]);
687
+ return /* @__PURE__ */ jsx15(CheckboxPrimitive.Root, _object_spread_props(_object_spread({
688
+ ref: ref,
689
+ className: cn("peer h-4 w-4 shrink-0 rounded-sm border border-primary ring-offset-background focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50 data-[state=checked]:bg-primary data-[state=checked]:text-primary-foreground", className, "alq--checkbox")
690
+ }, props), {
691
+ children: /* @__PURE__ */ jsx15(CheckboxPrimitive.Indicator, {
692
+ className: cn("flex items-center justify-center text-current"),
693
+ children: /* @__PURE__ */ jsx15(Check2, {
694
+ className: "h-4 w-4"
695
+ })
696
+ })
697
+ }));
698
+ });
569
699
  Checkbox.displayName = CheckboxPrimitive.Root.displayName;
570
-
571
700
  // src/components/atoms/ui/toggle.tsx
572
701
  import * as React11 from "react";
573
702
  import * as TogglePrimitive from "@radix-ui/react-toggle";
574
703
  import { cva as cva5 } from "class-variance-authority";
575
704
  import { jsx as jsx16 } from "react/jsx-runtime";
576
- var toggleVariants = cva5(
577
- "inline-flex items-center justify-center rounded-md text-sm font-medium ring-offset-background transition-colors hover:bg-muted hover:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 data-[state=on]:bg-accent data-[state=on]:text-accent-foreground",
578
- {
705
+ var toggleVariants = cva5("inline-flex items-center justify-center rounded-md text-sm font-medium ring-offset-background transition-colors hover:bg-muted hover:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 data-[state=on]:bg-accent data-[state=on]:text-accent-foreground", {
579
706
  variants: {
580
- variant: {
581
- default: "bg-transparent",
582
- outline: "border border-input bg-transparent hover:bg-accent hover:text-accent-foreground"
583
- },
584
- size: {
585
- default: "h-10 px-3",
586
- sm: "h-9 px-2.5",
587
- lg: "h-11 px-5"
588
- }
707
+ variant: {
708
+ default: "bg-transparent",
709
+ outline: "border border-input bg-transparent hover:bg-accent hover:text-accent-foreground"
710
+ },
711
+ size: {
712
+ default: "h-10 px-3",
713
+ sm: "h-9 px-2.5",
714
+ lg: "h-11 px-5"
715
+ }
589
716
  },
590
717
  defaultVariants: {
591
- variant: "default",
592
- size: "default"
718
+ variant: "default",
719
+ size: "default"
593
720
  }
594
- }
595
- );
596
- var Toggle = React11.forwardRef(({ className, variant, size, ...props }, ref) => /* @__PURE__ */ jsx16(
597
- TogglePrimitive.Root,
598
- {
599
- ref,
600
- className: cn(toggleVariants({ variant, size, className }), "alq--toggle"),
601
- ...props
602
- }
603
- ));
721
+ });
722
+ var Toggle = React11.forwardRef(function(_param, ref) {
723
+ var className = _param.className, variant = _param.variant, size = _param.size, props = _object_without_properties(_param, [
724
+ "className",
725
+ "variant",
726
+ "size"
727
+ ]);
728
+ return /* @__PURE__ */ jsx16(TogglePrimitive.Root, _object_spread({
729
+ ref: ref,
730
+ className: cn(toggleVariants({
731
+ variant: variant,
732
+ size: size,
733
+ className: className
734
+ }), "alq--toggle")
735
+ }, props));
736
+ });
604
737
  Toggle.displayName = TogglePrimitive.Root.displayName;
605
-
606
738
  // src/components/atoms/ui/slider.tsx
607
739
  import * as React12 from "react";
608
740
  import * as SliderPrimitive from "@radix-ui/react-slider";
609
741
  import { jsx as jsx17, jsxs as jsxs4 } from "react/jsx-runtime";
610
- var Slider = React12.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxs4(
611
- SliderPrimitive.Root,
612
- {
613
- ref,
614
- className: cn(
615
- "relative flex w-44 touch-none select-none items-center",
616
- className,
617
- "alq--slider"
618
- ),
619
- ...props,
620
- children: [
621
- /* @__PURE__ */ jsx17(SliderPrimitive.Track, { className: "relative h-2 w-44 grow overflow-hidden rounded-full bg-primary", children: /* @__PURE__ */ jsx17(SliderPrimitive.Range, { className: "absolute h-full bg-secondary" }) }),
622
- /* @__PURE__ */ jsx17(SliderPrimitive.Thumb, { className: "block h-5 w-5 rounded-full border-2 border-gray bg-background ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50" })
623
- ]
624
- }
625
- ));
742
+ var Slider = React12.forwardRef(function(_param, ref) {
743
+ var className = _param.className, props = _object_without_properties(_param, [
744
+ "className"
745
+ ]);
746
+ return /* @__PURE__ */ jsxs4(SliderPrimitive.Root, _object_spread_props(_object_spread({
747
+ ref: ref,
748
+ className: cn("relative flex w-44 touch-none select-none items-center", className, "alq--slider")
749
+ }, props), {
750
+ children: [
751
+ /* @__PURE__ */ jsx17(SliderPrimitive.Track, {
752
+ className: "relative h-2 w-44 grow overflow-hidden rounded-full bg-primary",
753
+ children: /* @__PURE__ */ jsx17(SliderPrimitive.Range, {
754
+ className: "absolute h-full bg-secondary"
755
+ })
756
+ }),
757
+ /* @__PURE__ */ jsx17(SliderPrimitive.Thumb, {
758
+ className: "block h-5 w-5 rounded-full border-2 border-gray bg-background ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50"
759
+ })
760
+ ]
761
+ }));
762
+ });
626
763
  Slider.displayName = SliderPrimitive.Root.displayName;
627
-
628
764
  // src/components/atoms/ui/switch.tsx
629
765
  import * as React13 from "react";
630
766
  import * as SwitchPrimitives from "@radix-ui/react-switch";
631
767
  import { jsx as jsx18 } from "react/jsx-runtime";
632
- var Switch = React13.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx18(
633
- SwitchPrimitives.Root,
634
- {
635
- className: cn(
636
- "peer inline-flex h-6 w-11 shrink-0 cursor-pointer items-center rounded-full border-2 border-transparent transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 focus-visible:ring-offset-background disabled:cursor-not-allowed disabled:opacity-50 data-[state=checked]:bg-primary data-[state=unchecked]:bg-input",
637
- className,
638
- "alq--switch"
639
- ),
640
- ...props,
641
- ref,
642
- children: /* @__PURE__ */ jsx18(
643
- SwitchPrimitives.Thumb,
644
- {
645
- className: cn(
646
- "pointer-events-none block h-5 w-5 rounded-full bg-background shadow-lg ring-0 transition-transform data-[state=checked]:translate-x-5 data-[state=unchecked]:translate-x-0"
647
- )
648
- }
649
- )
650
- }
651
- ));
768
+ var Switch = React13.forwardRef(function(_param, ref) {
769
+ var className = _param.className, props = _object_without_properties(_param, [
770
+ "className"
771
+ ]);
772
+ return /* @__PURE__ */ jsx18(SwitchPrimitives.Root, _object_spread_props(_object_spread({
773
+ className: cn("peer inline-flex h-6 w-11 shrink-0 cursor-pointer items-center rounded-full border-2 border-transparent transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 focus-visible:ring-offset-background disabled:cursor-not-allowed disabled:opacity-50 data-[state=checked]:bg-primary data-[state=unchecked]:bg-input", className, "alq--switch")
774
+ }, props), {
775
+ ref: ref,
776
+ children: /* @__PURE__ */ jsx18(SwitchPrimitives.Thumb, {
777
+ className: cn("pointer-events-none block h-5 w-5 rounded-full bg-background shadow-lg ring-0 transition-transform data-[state=checked]:translate-x-5 data-[state=unchecked]:translate-x-0")
778
+ })
779
+ }));
780
+ });
652
781
  Switch.displayName = SwitchPrimitives.Root.displayName;
653
-
654
782
  // src/components/atoms/ui/tabs.tsx
655
783
  import * as React14 from "react";
656
784
  import * as TabsPrimitive from "@radix-ui/react-tabs";
657
785
  import { jsx as jsx19 } from "react/jsx-runtime";
658
- var TabsList = React14.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx19(
659
- TabsPrimitive.List,
660
- {
661
- ref,
662
- className: cn(
663
- "inline-flex h-10 items-center justify-center rounded-md p-1 text-muted-foreground",
664
- className,
665
- "alq--tabs"
666
- ),
667
- ...props
668
- }
669
- ));
786
+ var TabsList = React14.forwardRef(function(_param, ref) {
787
+ var className = _param.className, props = _object_without_properties(_param, [
788
+ "className"
789
+ ]);
790
+ return /* @__PURE__ */ jsx19(TabsPrimitive.List, _object_spread({
791
+ ref: ref,
792
+ className: cn("inline-flex h-10 items-center justify-center rounded-md p-1 text-muted-foreground", className, "alq--tabs")
793
+ }, props));
794
+ });
670
795
  TabsList.displayName = TabsPrimitive.List.displayName;
671
- var TabsTrigger = React14.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx19(
672
- TabsPrimitive.Trigger,
673
- {
674
- ref,
675
- className: cn(
676
- "inline-flex items-center justify-center whitespace-nowrap rounded-sm px-3 py-1.5 text-sm font-medium ring-offset-background transition-all focus-visible:border-b-2 focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 data-[state=active]:border-b-2 data-[state=active]:text-foreground data-[state=active]:shadow-sm",
677
- className
678
- ),
679
- ...props
680
- }
681
- ));
796
+ var TabsTrigger = React14.forwardRef(function(_param, ref) {
797
+ var className = _param.className, props = _object_without_properties(_param, [
798
+ "className"
799
+ ]);
800
+ return /* @__PURE__ */ jsx19(TabsPrimitive.Trigger, _object_spread({
801
+ ref: ref,
802
+ className: cn("inline-flex items-center justify-center whitespace-nowrap rounded-sm px-3 py-1.5 text-sm font-medium ring-offset-background transition-all focus-visible:border-b-2 focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 data-[state=active]:border-b-2 data-[state=active]:text-foreground data-[state=active]:shadow-sm", className)
803
+ }, props));
804
+ });
682
805
  TabsTrigger.displayName = TabsPrimitive.Trigger.displayName;
683
- var TabsContent = React14.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx19(
684
- TabsPrimitive.Content,
685
- {
686
- ref,
687
- className: cn(
688
- "mt-2 ring-offset-background focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2",
689
- className
690
- ),
691
- ...props
692
- }
693
- ));
806
+ var TabsContent = React14.forwardRef(function(_param, ref) {
807
+ var className = _param.className, props = _object_without_properties(_param, [
808
+ "className"
809
+ ]);
810
+ return /* @__PURE__ */ jsx19(TabsPrimitive.Content, _object_spread({
811
+ ref: ref,
812
+ className: cn("mt-2 ring-offset-background focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2", className)
813
+ }, props));
814
+ });
694
815
  TabsContent.displayName = TabsPrimitive.Content.displayName;
695
-
696
816
  // src/components/atoms/ui/aspect-ratio.tsx
697
817
  import * as AspectRatioPrimitive from "@radix-ui/react-aspect-ratio";
698
-
699
818
  // src/components/atoms/ui/table.tsx
700
819
  import * as React15 from "react";
701
820
  import { jsx as jsx20 } from "react/jsx-runtime";
702
- var Table = React15.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx20("div", { className: "relative w-full overflow-auto", children: /* @__PURE__ */ jsx20(
703
- "table",
704
- {
705
- ref,
706
- className: cn("w-full caption-bottom text-sm text-foreground bg-background", className, "alq--table"),
707
- ...props
708
- }
709
- ) }));
821
+ var Table = React15.forwardRef(function(_param, ref) {
822
+ var className = _param.className, props = _object_without_properties(_param, [
823
+ "className"
824
+ ]);
825
+ return /* @__PURE__ */ jsx20("div", {
826
+ className: "relative w-full overflow-auto",
827
+ children: /* @__PURE__ */ jsx20("table", _object_spread({
828
+ ref: ref,
829
+ className: cn("w-full caption-bottom text-sm text-foreground bg-background", className, "alq--table")
830
+ }, props))
831
+ });
832
+ });
710
833
  Table.displayName = "Table";
711
- var TableHeader = React15.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx20("thead", { ref, className: cn("[&_tr]:border-b border-border bg-muted", className, "alq--table-header"), ...props }));
834
+ var TableHeader = React15.forwardRef(function(_param, ref) {
835
+ var className = _param.className, props = _object_without_properties(_param, [
836
+ "className"
837
+ ]);
838
+ return /* @__PURE__ */ jsx20("thead", _object_spread({
839
+ ref: ref,
840
+ className: cn("[&_tr]:border-b border-border bg-muted", className, "alq--table-header")
841
+ }, props));
842
+ });
712
843
  TableHeader.displayName = "TableHeader";
713
- var TableBody = React15.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx20(
714
- "tbody",
715
- {
716
- ref,
717
- className: cn("[&_tr:last-child]:border-0 [&_tr]:border-b border-border", className, "alq--table-body"),
718
- ...props
719
- }
720
- ));
844
+ var TableBody = React15.forwardRef(function(_param, ref) {
845
+ var className = _param.className, props = _object_without_properties(_param, [
846
+ "className"
847
+ ]);
848
+ return /* @__PURE__ */ jsx20("tbody", _object_spread({
849
+ ref: ref,
850
+ className: cn("[&_tr:last-child]:border-0 [&_tr]:border-b border-border", className, "alq--table-body")
851
+ }, props));
852
+ });
721
853
  TableBody.displayName = "TableBody";
722
- var TableFooter = React15.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx20(
723
- "tfoot",
724
- {
725
- ref,
726
- className: cn(
727
- "border-t border-border bg-muted/50 font-medium [&>tr]:last:border-b-0",
728
- className,
729
- "alq--table-footer"
730
- ),
731
- ...props
732
- }
733
- ));
854
+ var TableFooter = React15.forwardRef(function(_param, ref) {
855
+ var className = _param.className, props = _object_without_properties(_param, [
856
+ "className"
857
+ ]);
858
+ return /* @__PURE__ */ jsx20("tfoot", _object_spread({
859
+ ref: ref,
860
+ className: cn("border-t border-border bg-muted/50 font-medium [&>tr]:last:border-b-0", className, "alq--table-footer")
861
+ }, props));
862
+ });
734
863
  TableFooter.displayName = "TableFooter";
735
- var TableRow = React15.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx20(
736
- "tr",
737
- {
738
- ref,
739
- className: cn(
740
- "border-b transition-colors hover:bg-muted/50 data-[state=selected]:bg-muted",
741
- className
742
- ),
743
- ...props
744
- }
745
- ));
864
+ var TableRow = React15.forwardRef(function(_param, ref) {
865
+ var className = _param.className, props = _object_without_properties(_param, [
866
+ "className"
867
+ ]);
868
+ return /* @__PURE__ */ jsx20("tr", _object_spread({
869
+ ref: ref,
870
+ className: cn("border-b transition-colors hover:bg-muted/50 data-[state=selected]:bg-muted", className)
871
+ }, props));
872
+ });
746
873
  TableRow.displayName = "TableRow";
747
- var TableHead = React15.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx20(
748
- "th",
749
- {
750
- ref,
751
- className: cn(
752
- "h-12 px-4 text-left align-middle font-medium text-muted-foreground [&:has([role=checkbox])]:pr-0",
753
- className
754
- ),
755
- ...props
756
- }
757
- ));
874
+ var TableHead = React15.forwardRef(function(_param, ref) {
875
+ var className = _param.className, props = _object_without_properties(_param, [
876
+ "className"
877
+ ]);
878
+ return /* @__PURE__ */ jsx20("th", _object_spread({
879
+ ref: ref,
880
+ className: cn("h-12 px-4 text-left align-middle font-medium text-muted-foreground [&:has([role=checkbox])]:pr-0", className)
881
+ }, props));
882
+ });
758
883
  TableHead.displayName = "TableHead";
759
- var TableCell = React15.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx20(
760
- "td",
761
- {
762
- ref,
763
- className: cn("p-4 align-middle [&:has([role=checkbox])]:pr-0", className),
764
- ...props
765
- }
766
- ));
884
+ var TableCell = React15.forwardRef(function(_param, ref) {
885
+ var className = _param.className, props = _object_without_properties(_param, [
886
+ "className"
887
+ ]);
888
+ return /* @__PURE__ */ jsx20("td", _object_spread({
889
+ ref: ref,
890
+ className: cn("p-4 align-middle [&:has([role=checkbox])]:pr-0", className)
891
+ }, props));
892
+ });
767
893
  TableCell.displayName = "TableCell";
768
- var TableCaption = React15.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx20(
769
- "caption",
770
- {
771
- ref,
772
- className: cn("mt-4 text-sm text-muted-foreground", className),
773
- ...props
774
- }
775
- ));
894
+ var TableCaption = React15.forwardRef(function(_param, ref) {
895
+ var className = _param.className, props = _object_without_properties(_param, [
896
+ "className"
897
+ ]);
898
+ return /* @__PURE__ */ jsx20("caption", _object_spread({
899
+ ref: ref,
900
+ className: cn("mt-4 text-sm text-muted-foreground", className)
901
+ }, props));
902
+ });
776
903
  TableCaption.displayName = "TableCaption";
777
-
778
904
  // src/components/atoms/ui/breadcrumb.tsx
779
905
  import * as React16 from "react";
780
906
  import { Slot as Slot2 } from "@radix-ui/react-slot";
781
907
  import { ChevronRight, MoreHorizontal } from "lucide-react";
782
908
  import { jsx as jsx21, jsxs as jsxs5 } from "react/jsx-runtime";
783
- var Breadcrumb = React16.forwardRef(({ ...props }, ref) => /* @__PURE__ */ jsx21("nav", { ref, "aria-label": "breadcrumb", ...props }));
909
+ var Breadcrumb = React16.forwardRef(function(_param, ref) {
910
+ var props = _extends({}, _object_destructuring_empty(_param));
911
+ return /* @__PURE__ */ jsx21("nav", _object_spread({
912
+ ref: ref,
913
+ "aria-label": "breadcrumb"
914
+ }, props));
915
+ });
784
916
  Breadcrumb.displayName = "Breadcrumb";
785
- var BreadcrumbList = React16.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx21(
786
- "ol",
787
- {
788
- ref,
789
- className: cn(
790
- "flex flex-wrap items-center gap-1.5 break-words text-sm text-muted-foreground sm:gap-2.5",
791
- className
792
- ),
793
- ...props
794
- }
795
- ));
917
+ var BreadcrumbList = React16.forwardRef(function(_param, ref) {
918
+ var className = _param.className, props = _object_without_properties(_param, [
919
+ "className"
920
+ ]);
921
+ return /* @__PURE__ */ jsx21("ol", _object_spread({
922
+ ref: ref,
923
+ className: cn("flex flex-wrap items-center gap-1.5 break-words text-sm text-muted-foreground sm:gap-2.5", className)
924
+ }, props));
925
+ });
796
926
  BreadcrumbList.displayName = "BreadcrumbList";
797
- var BreadcrumbItem = React16.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx21(
798
- "li",
799
- {
800
- ref,
801
- className: cn("inline-flex items-center gap-1.5", className),
802
- ...props
803
- }
804
- ));
927
+ var BreadcrumbItem = React16.forwardRef(function(_param, ref) {
928
+ var className = _param.className, props = _object_without_properties(_param, [
929
+ "className"
930
+ ]);
931
+ return /* @__PURE__ */ jsx21("li", _object_spread({
932
+ ref: ref,
933
+ className: cn("inline-flex items-center gap-1.5", className)
934
+ }, props));
935
+ });
805
936
  BreadcrumbItem.displayName = "BreadcrumbItem";
806
- var BreadcrumbLink = React16.forwardRef(({ asChild, className, ...props }, ref) => {
807
- const Comp = asChild ? Slot2 : "a";
808
- return /* @__PURE__ */ jsx21(
809
- Comp,
810
- {
811
- ref,
812
- className: cn("transition-colors hover:text-foreground", className),
813
- ...props
814
- }
815
- );
937
+ var BreadcrumbLink = React16.forwardRef(function(_param, ref) {
938
+ var asChild = _param.asChild, className = _param.className, props = _object_without_properties(_param, [
939
+ "asChild",
940
+ "className"
941
+ ]);
942
+ var Comp = asChild ? Slot2 : "a";
943
+ return /* @__PURE__ */ jsx21(Comp, _object_spread({
944
+ ref: ref,
945
+ className: cn("transition-colors hover:text-foreground", className)
946
+ }, props));
816
947
  });
817
948
  BreadcrumbLink.displayName = "BreadcrumbLink";
818
- var BreadcrumbPage = React16.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx21(
819
- "span",
820
- {
821
- ref,
822
- role: "link",
823
- "aria-disabled": "true",
824
- "aria-current": "page",
825
- className: cn("font-normal text-foreground", className),
826
- ...props
827
- }
828
- ));
949
+ var BreadcrumbPage = React16.forwardRef(function(_param, ref) {
950
+ var className = _param.className, props = _object_without_properties(_param, [
951
+ "className"
952
+ ]);
953
+ return /* @__PURE__ */ jsx21("span", _object_spread({
954
+ ref: ref,
955
+ role: "link",
956
+ "aria-disabled": "true",
957
+ "aria-current": "page",
958
+ className: cn("font-normal text-foreground", className)
959
+ }, props));
960
+ });
829
961
  BreadcrumbPage.displayName = "BreadcrumbPage";
830
- var BreadcrumbSeparator = ({
831
- children,
832
- className,
833
- ...props
834
- }) => /* @__PURE__ */ jsx21(
835
- "li",
836
- {
837
- role: "presentation",
838
- "aria-hidden": "true",
839
- className: cn("[&>svg]:w-3.5 [&>svg]:h-3.5", className),
840
- ...props,
841
- children: children ?? /* @__PURE__ */ jsx21(ChevronRight, {})
842
- }
843
- );
962
+ var BreadcrumbSeparator = function(_param) {
963
+ var children = _param.children, className = _param.className, props = _object_without_properties(_param, [
964
+ "children",
965
+ "className"
966
+ ]);
967
+ return /* @__PURE__ */ jsx21("li", _object_spread_props(_object_spread({
968
+ role: "presentation",
969
+ "aria-hidden": "true",
970
+ className: cn("[&>svg]:w-3.5 [&>svg]:h-3.5", className)
971
+ }, props), {
972
+ children: children !== null && children !== void 0 ? children : /* @__PURE__ */ jsx21(ChevronRight, {})
973
+ }));
974
+ };
844
975
  BreadcrumbSeparator.displayName = "BreadcrumbSeparator";
845
- var BreadcrumbEllipsis = ({
846
- className,
847
- ...props
848
- }) => /* @__PURE__ */ jsxs5(
849
- "span",
850
- {
851
- role: "presentation",
852
- "aria-hidden": "true",
853
- className: cn("flex h-9 w-9 items-center justify-center", className),
854
- ...props,
855
- children: [
856
- /* @__PURE__ */ jsx21(MoreHorizontal, { className: "h-4 w-4" }),
857
- /* @__PURE__ */ jsx21("span", { className: "sr-only", children: "More" })
858
- ]
859
- }
860
- );
976
+ var BreadcrumbEllipsis = function(_param) {
977
+ var className = _param.className, props = _object_without_properties(_param, [
978
+ "className"
979
+ ]);
980
+ return /* @__PURE__ */ jsxs5("span", _object_spread_props(_object_spread({
981
+ role: "presentation",
982
+ "aria-hidden": "true",
983
+ className: cn("flex h-9 w-9 items-center justify-center", className)
984
+ }, props), {
985
+ children: [
986
+ /* @__PURE__ */ jsx21(MoreHorizontal, {
987
+ className: "h-4 w-4"
988
+ }),
989
+ /* @__PURE__ */ jsx21("span", {
990
+ className: "sr-only",
991
+ children: "More"
992
+ })
993
+ ]
994
+ }));
995
+ };
861
996
  BreadcrumbEllipsis.displayName = "BreadcrumbElipssis";
862
-
863
997
  // src/components/molecules/alert-dialog.tsx
864
998
  import * as React17 from "react";
865
999
  import * as AlertDialogPrimitive from "@radix-ui/react-alert-dialog";
866
1000
  import { jsx as jsx22, jsxs as jsxs6 } from "react/jsx-runtime";
867
1001
  var AlertDialogPortal = AlertDialogPrimitive.Portal;
868
- var AlertDialogOverlay = React17.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx22(
869
- AlertDialogPrimitive.Overlay,
870
- {
871
- className: cn(
872
- "fixed inset-0 z-50 bg-black/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",
873
- className
874
- ),
875
- ...props,
876
- ref
877
- }
878
- ));
1002
+ var AlertDialogOverlay = React17.forwardRef(function(_param, ref) {
1003
+ var className = _param.className, props = _object_without_properties(_param, [
1004
+ "className"
1005
+ ]);
1006
+ return /* @__PURE__ */ jsx22(AlertDialogPrimitive.Overlay, _object_spread_props(_object_spread({
1007
+ className: cn("fixed inset-0 z-50 bg-black/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0", className)
1008
+ }, props), {
1009
+ ref: ref
1010
+ }));
1011
+ });
879
1012
  AlertDialogOverlay.displayName = AlertDialogPrimitive.Overlay.displayName;
880
- var AlertDialogContent = React17.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxs6(AlertDialogPortal, { children: [
881
- /* @__PURE__ */ jsx22(AlertDialogOverlay, {}),
882
- /* @__PURE__ */ jsx22(
883
- AlertDialogPrimitive.Content,
884
- {
885
- ref,
886
- className: cn(
887
- "fixed left-[50%] top-[50%] z-50 grid w-full max-w-lg translate-x-[-50%] translate-y-[-50%] gap-4 border bg-background p-6 shadow-lg duration-200 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%] sm:rounded-lg",
888
- className
889
- ),
890
- ...props
891
- }
892
- )
893
- ] }));
1013
+ var AlertDialogContent = React17.forwardRef(function(_param, ref) {
1014
+ var className = _param.className, props = _object_without_properties(_param, [
1015
+ "className"
1016
+ ]);
1017
+ return /* @__PURE__ */ jsxs6(AlertDialogPortal, {
1018
+ children: [
1019
+ /* @__PURE__ */ jsx22(AlertDialogOverlay, {}),
1020
+ /* @__PURE__ */ jsx22(AlertDialogPrimitive.Content, _object_spread({
1021
+ ref: ref,
1022
+ className: cn("fixed left-[50%] top-[50%] z-50 grid w-full max-w-lg translate-x-[-50%] translate-y-[-50%] gap-4 border bg-background p-6 shadow-lg duration-200 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%] sm:rounded-lg", className)
1023
+ }, props))
1024
+ ]
1025
+ });
1026
+ });
894
1027
  AlertDialogContent.displayName = AlertDialogPrimitive.Content.displayName;
895
- var AlertDialogHeader = ({
896
- className,
897
- ...props
898
- }) => /* @__PURE__ */ jsx22(
899
- "div",
900
- {
901
- className: cn(
902
- "flex flex-col space-y-2 text-center sm:text-left",
903
- className
904
- ),
905
- ...props
906
- }
907
- );
1028
+ var AlertDialogHeader = function(_param) {
1029
+ var className = _param.className, props = _object_without_properties(_param, [
1030
+ "className"
1031
+ ]);
1032
+ return /* @__PURE__ */ jsx22("div", _object_spread({
1033
+ className: cn("flex flex-col space-y-2 text-center sm:text-left", className)
1034
+ }, props));
1035
+ };
908
1036
  AlertDialogHeader.displayName = "AlertDialogHeader";
909
- var AlertDialogFooter = ({
910
- className,
911
- ...props
912
- }) => /* @__PURE__ */ jsx22(
913
- "div",
914
- {
915
- className: cn(
916
- "flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2",
917
- className
918
- ),
919
- ...props
920
- }
921
- );
1037
+ var AlertDialogFooter = function(_param) {
1038
+ var className = _param.className, props = _object_without_properties(_param, [
1039
+ "className"
1040
+ ]);
1041
+ return /* @__PURE__ */ jsx22("div", _object_spread({
1042
+ className: cn("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2", className)
1043
+ }, props));
1044
+ };
922
1045
  AlertDialogFooter.displayName = "AlertDialogFooter";
923
- var AlertDialogTitle = React17.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx22(
924
- AlertDialogPrimitive.Title,
925
- {
926
- ref,
927
- className: cn("text-lg font-semibold", className),
928
- ...props
929
- }
930
- ));
1046
+ var AlertDialogTitle = React17.forwardRef(function(_param, ref) {
1047
+ var className = _param.className, props = _object_without_properties(_param, [
1048
+ "className"
1049
+ ]);
1050
+ return /* @__PURE__ */ jsx22(AlertDialogPrimitive.Title, _object_spread({
1051
+ ref: ref,
1052
+ className: cn("text-lg font-semibold", className)
1053
+ }, props));
1054
+ });
931
1055
  AlertDialogTitle.displayName = AlertDialogPrimitive.Title.displayName;
932
- var AlertDialogDescription = React17.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx22(
933
- AlertDialogPrimitive.Description,
934
- {
935
- ref,
936
- className: cn("text-sm text-muted-foreground", className),
937
- ...props
938
- }
939
- ));
1056
+ var AlertDialogDescription = React17.forwardRef(function(_param, ref) {
1057
+ var className = _param.className, props = _object_without_properties(_param, [
1058
+ "className"
1059
+ ]);
1060
+ return /* @__PURE__ */ jsx22(AlertDialogPrimitive.Description, _object_spread({
1061
+ ref: ref,
1062
+ className: cn("text-sm text-muted-foreground", className)
1063
+ }, props));
1064
+ });
940
1065
  AlertDialogDescription.displayName = AlertDialogPrimitive.Description.displayName;
941
- var AlertDialogAction = React17.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx22(
942
- AlertDialogPrimitive.Action,
943
- {
944
- ref,
945
- className: cn(buttonVariants(), className),
946
- ...props
947
- }
948
- ));
1066
+ var AlertDialogAction = React17.forwardRef(function(_param, ref) {
1067
+ var className = _param.className, props = _object_without_properties(_param, [
1068
+ "className"
1069
+ ]);
1070
+ return /* @__PURE__ */ jsx22(AlertDialogPrimitive.Action, _object_spread({
1071
+ ref: ref,
1072
+ className: cn(buttonVariants(), className)
1073
+ }, props));
1074
+ });
949
1075
  AlertDialogAction.displayName = AlertDialogPrimitive.Action.displayName;
950
- var AlertDialogCancel = React17.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx22(
951
- AlertDialogPrimitive.Cancel,
952
- {
953
- ref,
954
- className: cn(
955
- buttonVariants({ variant: "outline" }),
956
- "mt-2 sm:mt-0",
957
- className
958
- ),
959
- ...props
960
- }
961
- ));
1076
+ var AlertDialogCancel = React17.forwardRef(function(_param, ref) {
1077
+ var className = _param.className, props = _object_without_properties(_param, [
1078
+ "className"
1079
+ ]);
1080
+ return /* @__PURE__ */ jsx22(AlertDialogPrimitive.Cancel, _object_spread({
1081
+ ref: ref,
1082
+ className: cn(buttonVariants({
1083
+ variant: "outline"
1084
+ }), "mt-2 sm:mt-0", className)
1085
+ }, props));
1086
+ });
962
1087
  AlertDialogCancel.displayName = AlertDialogPrimitive.Cancel.displayName;
963
-
964
1088
  // src/components/atoms/ui/popover.tsx
965
1089
  import * as React18 from "react";
966
1090
  import * as PopoverPrimitive from "@radix-ui/react-popover";
967
1091
  import { jsx as jsx23 } from "react/jsx-runtime";
968
- var PopoverContent = React18.forwardRef(({ className, align = "center", sideOffset = 4, ...props }, ref) => /* @__PURE__ */ jsx23(PopoverPrimitive.Portal, { children: /* @__PURE__ */ jsx23(
969
- PopoverPrimitive.Content,
970
- {
971
- ref,
972
- align,
973
- sideOffset,
974
- className: cn(
975
- "z-50 w-72 rounded-md border bg-popover p-4 text-popover-foreground shadow-md outline-none data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",
976
- className
977
- ),
978
- ...props
979
- }
980
- ) }));
1092
+ var PopoverContent = React18.forwardRef(function(_param, ref) {
1093
+ var className = _param.className, _param_align = _param.align, align = _param_align === void 0 ? "center" : _param_align, _param_sideOffset = _param.sideOffset, sideOffset = _param_sideOffset === void 0 ? 4 : _param_sideOffset, props = _object_without_properties(_param, [
1094
+ "className",
1095
+ "align",
1096
+ "sideOffset"
1097
+ ]);
1098
+ return /* @__PURE__ */ jsx23(PopoverPrimitive.Portal, {
1099
+ children: /* @__PURE__ */ jsx23(PopoverPrimitive.Content, _object_spread({
1100
+ ref: ref,
1101
+ align: align,
1102
+ sideOffset: sideOffset,
1103
+ className: cn("z-50 w-72 rounded-md border bg-popover p-4 text-popover-foreground shadow-md outline-none data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2", className)
1104
+ }, props))
1105
+ });
1106
+ });
981
1107
  PopoverContent.displayName = PopoverPrimitive.Content.displayName;
982
-
983
1108
  // src/components/atoms/ui/command.tsx
984
1109
  import * as React20 from "react";
985
1110
  import { Command as CommandPrimitive } from "cmdk";
986
1111
  import { Search } from "lucide-react";
987
-
988
1112
  // src/components/atoms/ui/dialog.tsx
989
1113
  import * as React19 from "react";
990
1114
  import * as DialogPrimitive from "@radix-ui/react-dialog";
991
1115
  import { X } from "lucide-react";
992
1116
  import { jsx as jsx24, jsxs as jsxs7 } from "react/jsx-runtime";
993
1117
  var DialogPortal = DialogPrimitive.Portal;
994
- var DialogOverlay = React19.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx24(
995
- DialogPrimitive.Overlay,
996
- {
997
- ref,
998
- className: cn(
999
- "fixed inset-0 z-50 bg-black/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",
1000
- className
1001
- ),
1002
- ...props
1003
- }
1004
- ));
1118
+ var DialogOverlay = React19.forwardRef(function(_param, ref) {
1119
+ var className = _param.className, props = _object_without_properties(_param, [
1120
+ "className"
1121
+ ]);
1122
+ return /* @__PURE__ */ jsx24(DialogPrimitive.Overlay, _object_spread({
1123
+ ref: ref,
1124
+ className: cn("fixed inset-0 z-50 bg-black/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0", className)
1125
+ }, props));
1126
+ });
1005
1127
  DialogOverlay.displayName = DialogPrimitive.Overlay.displayName;
1006
- var DialogContent = React19.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ jsxs7(DialogPortal, { children: [
1007
- /* @__PURE__ */ jsx24(DialogOverlay, {}),
1008
- /* @__PURE__ */ jsxs7(
1009
- DialogPrimitive.Content,
1010
- {
1011
- ref,
1012
- className: cn(
1013
- "fixed left-[50%] top-[50%] z-50 grid w-full max-w-lg translate-x-[-50%] translate-y-[-50%] gap-4 border bg-background p-6 shadow-lg duration-200 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%] sm:rounded-lg",
1014
- className,
1015
- "alq--dialog-content"
1016
- ),
1017
- ...props,
1018
- children: [
1019
- children,
1020
- /* @__PURE__ */ jsxs7(DialogPrimitive.Close, { className: "absolute right-4 top-4 rounded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-accent data-[state=open]:text-muted-foreground", children: [
1021
- /* @__PURE__ */ jsx24(X, { className: "h-4 w-4" }),
1022
- /* @__PURE__ */ jsx24("span", { className: "sr-only", children: "Close" })
1023
- ] })
1024
- ]
1025
- }
1026
- )
1027
- ] }));
1128
+ var DialogContent = React19.forwardRef(function(_param, ref) {
1129
+ var className = _param.className, children = _param.children, props = _object_without_properties(_param, [
1130
+ "className",
1131
+ "children"
1132
+ ]);
1133
+ return /* @__PURE__ */ jsxs7(DialogPortal, {
1134
+ children: [
1135
+ /* @__PURE__ */ jsx24(DialogOverlay, {}),
1136
+ /* @__PURE__ */ jsxs7(DialogPrimitive.Content, _object_spread_props(_object_spread({
1137
+ ref: ref,
1138
+ className: cn("fixed left-[50%] top-[50%] z-50 grid w-full max-w-lg translate-x-[-50%] translate-y-[-50%] gap-4 border bg-background p-6 shadow-lg duration-200 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%] sm:rounded-lg", className, "alq--dialog-content")
1139
+ }, props), {
1140
+ children: [
1141
+ children,
1142
+ /* @__PURE__ */ jsxs7(DialogPrimitive.Close, {
1143
+ className: "absolute right-4 top-4 rounded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-accent data-[state=open]:text-muted-foreground",
1144
+ children: [
1145
+ /* @__PURE__ */ jsx24(X, {
1146
+ className: "h-4 w-4"
1147
+ }),
1148
+ /* @__PURE__ */ jsx24("span", {
1149
+ className: "sr-only",
1150
+ children: "Close"
1151
+ })
1152
+ ]
1153
+ })
1154
+ ]
1155
+ }))
1156
+ ]
1157
+ });
1158
+ });
1028
1159
  DialogContent.displayName = DialogPrimitive.Content.displayName;
1029
- var DialogHeader = ({
1030
- className,
1031
- ...props
1032
- }) => /* @__PURE__ */ jsx24(
1033
- "div",
1034
- {
1035
- className: cn(
1036
- "flex flex-col space-y-1.5 text-center sm:text-left text-foreground",
1037
- className,
1038
- "alq--dialog-header"
1039
- ),
1040
- ...props
1041
- }
1042
- );
1160
+ var DialogHeader = function(_param) {
1161
+ var className = _param.className, props = _object_without_properties(_param, [
1162
+ "className"
1163
+ ]);
1164
+ return /* @__PURE__ */ jsx24("div", _object_spread({
1165
+ className: cn("flex flex-col space-y-1.5 text-center sm:text-left text-foreground", className, "alq--dialog-header")
1166
+ }, props));
1167
+ };
1043
1168
  DialogHeader.displayName = "DialogHeader";
1044
- var DialogFooter = ({
1045
- className,
1046
- ...props
1047
- }) => /* @__PURE__ */ jsx24(
1048
- "div",
1049
- {
1050
- className: cn(
1051
- "flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2",
1052
- className
1053
- ),
1054
- ...props
1055
- }
1056
- );
1169
+ var DialogFooter = function(_param) {
1170
+ var className = _param.className, props = _object_without_properties(_param, [
1171
+ "className"
1172
+ ]);
1173
+ return /* @__PURE__ */ jsx24("div", _object_spread({
1174
+ className: cn("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2", className)
1175
+ }, props));
1176
+ };
1057
1177
  DialogFooter.displayName = "DialogFooter";
1058
- var DialogTitle = React19.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx24(
1059
- DialogPrimitive.Title,
1060
- {
1061
- ref,
1062
- className: cn(
1063
- "text-lg font-semibold leading-none tracking-tight text-foreground",
1064
- className,
1065
- "alq--dialog-title"
1066
- ),
1067
- ...props
1068
- }
1069
- ));
1178
+ var DialogTitle = React19.forwardRef(function(_param, ref) {
1179
+ var className = _param.className, props = _object_without_properties(_param, [
1180
+ "className"
1181
+ ]);
1182
+ return /* @__PURE__ */ jsx24(DialogPrimitive.Title, _object_spread({
1183
+ ref: ref,
1184
+ className: cn("text-lg font-semibold leading-none tracking-tight text-foreground", className, "alq--dialog-title")
1185
+ }, props));
1186
+ });
1070
1187
  DialogTitle.displayName = DialogPrimitive.Title.displayName;
1071
- var DialogDescription = React19.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx24(
1072
- DialogPrimitive.Description,
1073
- {
1074
- ref,
1075
- className: cn("text-sm text-muted-foreground", className),
1076
- ...props
1077
- }
1078
- ));
1188
+ var DialogDescription = React19.forwardRef(function(_param, ref) {
1189
+ var className = _param.className, props = _object_without_properties(_param, [
1190
+ "className"
1191
+ ]);
1192
+ return /* @__PURE__ */ jsx24(DialogPrimitive.Description, _object_spread({
1193
+ ref: ref,
1194
+ className: cn("text-sm text-muted-foreground", className)
1195
+ }, props));
1196
+ });
1079
1197
  DialogDescription.displayName = DialogPrimitive.Description.displayName;
1080
-
1081
1198
  // src/components/atoms/ui/command.tsx
1082
1199
  import { jsx as jsx25, jsxs as jsxs8 } from "react/jsx-runtime";
1083
- var Command = React20.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx25(
1084
- CommandPrimitive,
1085
- {
1086
- ref,
1087
- className: cn(
1088
- "flex h-full w-full flex-col overflow-hidden rounded-md bg-popover text-popover-foreground",
1089
- className
1090
- ),
1091
- ...props
1092
- }
1093
- ));
1200
+ var Command = React20.forwardRef(function(_param, ref) {
1201
+ var className = _param.className, props = _object_without_properties(_param, [
1202
+ "className"
1203
+ ]);
1204
+ return /* @__PURE__ */ jsx25(CommandPrimitive, _object_spread({
1205
+ ref: ref,
1206
+ className: cn("flex h-full w-full flex-col overflow-hidden rounded-md bg-popover text-popover-foreground", className)
1207
+ }, props));
1208
+ });
1094
1209
  Command.displayName = CommandPrimitive.displayName;
1095
- var CommandInput = React20.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxs8("div", { className: "flex items-center border-b px-3", "cmdk-input-wrapper": "", children: [
1096
- /* @__PURE__ */ jsx25(Search, { className: "mr-2 h-4 w-4 shrink-0 opacity-50" }),
1097
- /* @__PURE__ */ jsx25(
1098
- CommandPrimitive.Input,
1099
- {
1100
- ref,
1101
- className: cn(
1102
- "flex h-11 w-full rounded-md bg-transparent py-3 text-sm outline-none placeholder:text-muted-foreground disabled:cursor-not-allowed disabled:opacity-50",
1103
- className
1104
- ),
1105
- ...props
1106
- }
1107
- )
1108
- ] }));
1210
+ var CommandInput = React20.forwardRef(function(_param, ref) {
1211
+ var className = _param.className, props = _object_without_properties(_param, [
1212
+ "className"
1213
+ ]);
1214
+ return /* @__PURE__ */ jsxs8("div", {
1215
+ className: "flex items-center border-b px-3",
1216
+ "cmdk-input-wrapper": "",
1217
+ children: [
1218
+ /* @__PURE__ */ jsx25(Search, {
1219
+ className: "mr-2 h-4 w-4 shrink-0 opacity-50"
1220
+ }),
1221
+ /* @__PURE__ */ jsx25(CommandPrimitive.Input, _object_spread({
1222
+ ref: ref,
1223
+ className: cn("flex h-11 w-full rounded-md bg-transparent py-3 text-sm outline-none placeholder:text-muted-foreground disabled:cursor-not-allowed disabled:opacity-50", className)
1224
+ }, props))
1225
+ ]
1226
+ });
1227
+ });
1109
1228
  CommandInput.displayName = CommandPrimitive.Input.displayName;
1110
- var CommandList = React20.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx25(
1111
- CommandPrimitive.List,
1112
- {
1113
- ref,
1114
- className: cn("max-h-[300px] overflow-y-auto overflow-x-hidden", className),
1115
- ...props
1116
- }
1117
- ));
1229
+ var CommandList = React20.forwardRef(function(_param, ref) {
1230
+ var className = _param.className, props = _object_without_properties(_param, [
1231
+ "className"
1232
+ ]);
1233
+ return /* @__PURE__ */ jsx25(CommandPrimitive.List, _object_spread({
1234
+ ref: ref,
1235
+ className: cn("max-h-[300px] overflow-y-auto overflow-x-hidden", className)
1236
+ }, props));
1237
+ });
1118
1238
  CommandList.displayName = CommandPrimitive.List.displayName;
1119
- var CommandEmpty = React20.forwardRef((props, ref) => /* @__PURE__ */ jsx25(
1120
- CommandPrimitive.Empty,
1121
- {
1122
- ref,
1123
- className: "py-6 text-center text-sm",
1124
- ...props
1125
- }
1126
- ));
1239
+ var CommandEmpty = React20.forwardRef(function(props, ref) {
1240
+ return /* @__PURE__ */ jsx25(CommandPrimitive.Empty, _object_spread({
1241
+ ref: ref,
1242
+ className: "py-6 text-center text-sm"
1243
+ }, props));
1244
+ });
1127
1245
  CommandEmpty.displayName = CommandPrimitive.Empty.displayName;
1128
- var CommandGroup = React20.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx25(
1129
- CommandPrimitive.Group,
1130
- {
1131
- ref,
1132
- className: cn(
1133
- "overflow-hidden p-1 text-foreground [&_[cmdk-group-heading]]:px-2 [&_[cmdk-group-heading]]:py-1.5 [&_[cmdk-group-heading]]:text-xs [&_[cmdk-group-heading]]:font-medium [&_[cmdk-group-heading]]:text-muted-foreground",
1134
- className
1135
- ),
1136
- ...props
1137
- }
1138
- ));
1246
+ var CommandGroup = React20.forwardRef(function(_param, ref) {
1247
+ var className = _param.className, props = _object_without_properties(_param, [
1248
+ "className"
1249
+ ]);
1250
+ return /* @__PURE__ */ jsx25(CommandPrimitive.Group, _object_spread({
1251
+ ref: ref,
1252
+ className: cn("overflow-hidden p-1 text-foreground [&_[cmdk-group-heading]]:px-2 [&_[cmdk-group-heading]]:py-1.5 [&_[cmdk-group-heading]]:text-xs [&_[cmdk-group-heading]]:font-medium [&_[cmdk-group-heading]]:text-muted-foreground", className)
1253
+ }, props));
1254
+ });
1139
1255
  CommandGroup.displayName = CommandPrimitive.Group.displayName;
1140
- var CommandSeparator = React20.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx25(
1141
- CommandPrimitive.Separator,
1142
- {
1143
- ref,
1144
- className: cn("-mx-1 h-px bg-border", className),
1145
- ...props
1146
- }
1147
- ));
1256
+ var CommandSeparator = React20.forwardRef(function(_param, ref) {
1257
+ var className = _param.className, props = _object_without_properties(_param, [
1258
+ "className"
1259
+ ]);
1260
+ return /* @__PURE__ */ jsx25(CommandPrimitive.Separator, _object_spread({
1261
+ ref: ref,
1262
+ className: cn("-mx-1 h-px bg-border", className)
1263
+ }, props));
1264
+ });
1148
1265
  CommandSeparator.displayName = CommandPrimitive.Separator.displayName;
1149
- var CommandItem = React20.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx25(
1150
- CommandPrimitive.Item,
1151
- {
1152
- ref,
1153
- className: cn(
1154
- "relative flex cursor-default gap-2 select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none data-[disabled=true]:pointer-events-none data-[selected='true']:bg-accent data-[selected=true]:text-accent-foreground data-[disabled=true]:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",
1155
- className
1156
- ),
1157
- ...props
1158
- }
1159
- ));
1266
+ var CommandItem = React20.forwardRef(function(_param, ref) {
1267
+ var className = _param.className, props = _object_without_properties(_param, [
1268
+ "className"
1269
+ ]);
1270
+ return /* @__PURE__ */ jsx25(CommandPrimitive.Item, _object_spread({
1271
+ ref: ref,
1272
+ className: cn("relative flex cursor-default gap-2 select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none data-[disabled=true]:pointer-events-none data-[selected='true']:bg-accent data-[selected=true]:text-accent-foreground data-[disabled=true]:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0", className)
1273
+ }, props));
1274
+ });
1160
1275
  CommandItem.displayName = CommandPrimitive.Item.displayName;
1161
- var CommandShortcut = ({
1162
- className,
1163
- ...props
1164
- }) => {
1165
- return /* @__PURE__ */ jsx25(
1166
- "span",
1167
- {
1168
- className: cn(
1169
- "ml-auto text-xs tracking-widest text-muted-foreground",
1170
- className
1171
- ),
1172
- ...props
1173
- }
1174
- );
1276
+ var CommandShortcut = function(_param) {
1277
+ var className = _param.className, props = _object_without_properties(_param, [
1278
+ "className"
1279
+ ]);
1280
+ return /* @__PURE__ */ jsx25("span", _object_spread({
1281
+ className: cn("ml-auto text-xs tracking-widest text-muted-foreground", className)
1282
+ }, props));
1175
1283
  };
1176
1284
  CommandShortcut.displayName = "CommandShortcut";
1177
-
1178
1285
  // src/components/atoms/ui/toast.tsx
1179
1286
  import * as React21 from "react";
1180
1287
  import * as ToastPrimitives from "@radix-ui/react-toast";
1181
1288
  import { cva as cva6 } from "class-variance-authority";
1182
1289
  import { X as X2 } from "lucide-react";
1183
1290
  import { jsx as jsx26 } from "react/jsx-runtime";
1184
- var ToastViewport = React21.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx26(
1185
- ToastPrimitives.Viewport,
1186
- {
1187
- ref,
1188
- className: cn(
1189
- "fixed top-0 z-[100] flex max-h-screen w-full flex-col-reverse p-4 sm:bottom-0 sm:right-0 sm:top-auto sm:flex-col md:max-w-[420px]",
1190
- className
1191
- ),
1192
- ...props
1193
- }
1194
- ));
1291
+ var ToastViewport = React21.forwardRef(function(_param, ref) {
1292
+ var className = _param.className, props = _object_without_properties(_param, [
1293
+ "className"
1294
+ ]);
1295
+ return /* @__PURE__ */ jsx26(ToastPrimitives.Viewport, _object_spread({
1296
+ ref: ref,
1297
+ className: cn("fixed top-0 z-[100] flex max-h-screen w-full flex-col-reverse p-4 sm:bottom-0 sm:right-0 sm:top-auto sm:flex-col md:max-w-[420px]", className)
1298
+ }, props));
1299
+ });
1195
1300
  ToastViewport.displayName = ToastPrimitives.Viewport.displayName;
1196
- var toastVariants = cva6(
1197
- "group pointer-events-auto relative flex w-full items-center justify-between space-x-4 overflow-hidden rounded-md border p-6 pr-8 shadow-lg transition-all data-[swipe=cancel]:translate-x-0 data-[swipe=end]:translate-x-[var(--radix-toast-swipe-end-x)] data-[swipe=move]:translate-x-[var(--radix-toast-swipe-move-x)] data-[swipe=move]:transition-none data-[state=open]:animate-in data-[state=closed]:animate-out data-[swipe=end]:animate-out data-[state=closed]:fade-out-80 data-[state=closed]:slide-out-to-right-full data-[state=open]:slide-in-from-top-full data-[state=open]:sm:slide-in-from-bottom-full",
1198
- {
1301
+ var toastVariants = cva6("group pointer-events-auto relative flex w-full items-center justify-between space-x-4 overflow-hidden rounded-md border p-6 pr-8 shadow-lg transition-all data-[swipe=cancel]:translate-x-0 data-[swipe=end]:translate-x-[var(--radix-toast-swipe-end-x)] data-[swipe=move]:translate-x-[var(--radix-toast-swipe-move-x)] data-[swipe=move]:transition-none data-[state=open]:animate-in data-[state=closed]:animate-out data-[swipe=end]:animate-out data-[state=closed]:fade-out-80 data-[state=closed]:slide-out-to-right-full data-[state=open]:slide-in-from-top-full data-[state=open]:sm:slide-in-from-bottom-full", {
1199
1302
  variants: {
1200
- variant: {
1201
- default: "border bg-background text-foreground",
1202
- destructive: "destructive group border-destructive bg-destructive text-destructive-foreground"
1203
- }
1303
+ variant: {
1304
+ default: "border bg-background text-foreground",
1305
+ destructive: "destructive group border-destructive bg-destructive text-destructive-foreground"
1306
+ }
1204
1307
  },
1205
1308
  defaultVariants: {
1206
- variant: "default"
1207
- }
1208
- }
1209
- );
1210
- var Toast = React21.forwardRef(({ className, variant, ...props }, ref) => {
1211
- return /* @__PURE__ */ jsx26(
1212
- ToastPrimitives.Root,
1213
- {
1214
- ref,
1215
- className: cn(toastVariants({ variant }), className),
1216
- ...props
1309
+ variant: "default"
1217
1310
  }
1218
- );
1311
+ });
1312
+ var Toast = React21.forwardRef(function(_param, ref) {
1313
+ var className = _param.className, variant = _param.variant, props = _object_without_properties(_param, [
1314
+ "className",
1315
+ "variant"
1316
+ ]);
1317
+ return /* @__PURE__ */ jsx26(ToastPrimitives.Root, _object_spread({
1318
+ ref: ref,
1319
+ className: cn(toastVariants({
1320
+ variant: variant
1321
+ }), className)
1322
+ }, props));
1219
1323
  });
1220
1324
  Toast.displayName = ToastPrimitives.Root.displayName;
1221
- var ToastAction = React21.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx26(
1222
- ToastPrimitives.Action,
1223
- {
1224
- ref,
1225
- className: cn(
1226
- "inline-flex h-8 shrink-0 items-center justify-center rounded-md border bg-transparent px-3 text-sm font-medium ring-offset-background transition-colors hover:bg-secondary focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 group-[.destructive]:border-muted/40 group-[.destructive]:hover:border-destructive/30 group-[.destructive]:hover:bg-destructive group-[.destructive]:hover:text-destructive-foreground group-[.destructive]:focus:ring-destructive",
1227
- className
1228
- ),
1229
- ...props
1230
- }
1231
- ));
1325
+ var ToastAction = React21.forwardRef(function(_param, ref) {
1326
+ var className = _param.className, props = _object_without_properties(_param, [
1327
+ "className"
1328
+ ]);
1329
+ return /* @__PURE__ */ jsx26(ToastPrimitives.Action, _object_spread({
1330
+ ref: ref,
1331
+ className: cn("inline-flex h-8 shrink-0 items-center justify-center rounded-md border bg-transparent px-3 text-sm font-medium ring-offset-background transition-colors hover:bg-secondary focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 group-[.destructive]:border-muted/40 group-[.destructive]:hover:border-destructive/30 group-[.destructive]:hover:bg-destructive group-[.destructive]:hover:text-destructive-foreground group-[.destructive]:focus:ring-destructive", className)
1332
+ }, props));
1333
+ });
1232
1334
  ToastAction.displayName = ToastPrimitives.Action.displayName;
1233
- var ToastClose = React21.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx26(
1234
- ToastPrimitives.Close,
1235
- {
1236
- ref,
1237
- className: cn(
1238
- "absolute right-2 top-2 rounded-md p-1 text-foreground/50 opacity-0 transition-opacity hover:text-foreground focus:opacity-100 focus:outline-none focus:ring-2 group-hover:opacity-100 group-[.destructive]:text-red-300 group-[.destructive]:hover:text-red-50 group-[.destructive]:focus:ring-red-400 group-[.destructive]:focus:ring-offset-red-600",
1239
- className
1240
- ),
1241
- "toast-close": "",
1242
- ...props,
1243
- children: /* @__PURE__ */ jsx26(X2, { className: "h-4 w-4" })
1244
- }
1245
- ));
1335
+ var ToastClose = React21.forwardRef(function(_param, ref) {
1336
+ var className = _param.className, props = _object_without_properties(_param, [
1337
+ "className"
1338
+ ]);
1339
+ return /* @__PURE__ */ jsx26(ToastPrimitives.Close, _object_spread_props(_object_spread({
1340
+ ref: ref,
1341
+ className: cn("absolute right-2 top-2 rounded-md p-1 text-foreground/50 opacity-0 transition-opacity hover:text-foreground focus:opacity-100 focus:outline-none focus:ring-2 group-hover:opacity-100 group-[.destructive]:text-red-300 group-[.destructive]:hover:text-red-50 group-[.destructive]:focus:ring-red-400 group-[.destructive]:focus:ring-offset-red-600", className),
1342
+ "toast-close": ""
1343
+ }, props), {
1344
+ children: /* @__PURE__ */ jsx26(X2, {
1345
+ className: "h-4 w-4"
1346
+ })
1347
+ }));
1348
+ });
1246
1349
  ToastClose.displayName = ToastPrimitives.Close.displayName;
1247
- var ToastTitle = React21.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx26(
1248
- ToastPrimitives.Title,
1249
- {
1250
- ref,
1251
- className: cn("text-sm font-semibold", className),
1252
- ...props
1253
- }
1254
- ));
1350
+ var ToastTitle = React21.forwardRef(function(_param, ref) {
1351
+ var className = _param.className, props = _object_without_properties(_param, [
1352
+ "className"
1353
+ ]);
1354
+ return /* @__PURE__ */ jsx26(ToastPrimitives.Title, _object_spread({
1355
+ ref: ref,
1356
+ className: cn("text-sm font-semibold", className)
1357
+ }, props));
1358
+ });
1255
1359
  ToastTitle.displayName = ToastPrimitives.Title.displayName;
1256
- var ToastDescription = React21.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx26(
1257
- ToastPrimitives.Description,
1258
- {
1259
- ref,
1260
- className: cn("text-sm opacity-90", className),
1261
- ...props
1262
- }
1263
- ));
1360
+ var ToastDescription = React21.forwardRef(function(_param, ref) {
1361
+ var className = _param.className, props = _object_without_properties(_param, [
1362
+ "className"
1363
+ ]);
1364
+ return /* @__PURE__ */ jsx26(ToastPrimitives.Description, _object_spread({
1365
+ ref: ref,
1366
+ className: cn("text-sm opacity-90", className)
1367
+ }, props));
1368
+ });
1264
1369
  ToastDescription.displayName = ToastPrimitives.Description.displayName;
1265
-
1266
1370
  // src/components/atoms/ui/loader.tsx
1267
1371
  import * as React22 from "react";
1268
1372
  import { cva as cva7 } from "class-variance-authority";
1269
1373
  import { Loader2 } from "lucide-react";
1270
1374
  import { jsx as jsx27 } from "react/jsx-runtime";
1271
- var loaderVariants = cva7(
1272
- "flex justify-center items-center w-full",
1273
- {
1375
+ var loaderVariants = cva7("flex justify-center items-center w-full", {
1274
1376
  variants: {
1275
- size: {
1276
- small: "h-6 w-6",
1277
- medium: "h-8 w-8",
1278
- large: "h-12 w-12",
1279
- xl: "h-24 w-24"
1280
- },
1281
- colorVariant: {
1282
- default: "text-primary",
1283
- primary: "text-primary",
1284
- secondary: "text-secondary",
1285
- destructive: "text-destructive"
1286
- }
1377
+ size: {
1378
+ small: "h-6 w-6",
1379
+ medium: "h-8 w-8",
1380
+ large: "h-12 w-12",
1381
+ xl: "h-24 w-24"
1382
+ },
1383
+ colorVariant: {
1384
+ default: "text-primary",
1385
+ primary: "text-primary",
1386
+ secondary: "text-secondary",
1387
+ destructive: "text-destructive"
1388
+ }
1287
1389
  },
1288
1390
  defaultVariants: {
1289
- size: "medium",
1290
- colorVariant: "default"
1291
- }
1292
- }
1293
- );
1294
- var Loader = React22.forwardRef(
1295
- ({ className, size, colorVariant, ...props }, ref) => /* @__PURE__ */ jsx27(
1296
- "div",
1297
- {
1298
- ref,
1299
- className: cn(loaderVariants({ size, colorVariant }), "flex justify-center items-center h-full w-full", className),
1300
- ...props,
1301
- children: /* @__PURE__ */ jsx27(Loader2, { className: "animate-spin" })
1391
+ size: "medium",
1392
+ colorVariant: "default"
1302
1393
  }
1303
- )
1304
- );
1394
+ });
1395
+ var Loader = React22.forwardRef(function(_param, ref) {
1396
+ var className = _param.className, size = _param.size, colorVariant = _param.colorVariant, props = _object_without_properties(_param, [
1397
+ "className",
1398
+ "size",
1399
+ "colorVariant"
1400
+ ]);
1401
+ return /* @__PURE__ */ jsx27("div", _object_spread_props(_object_spread({
1402
+ ref: ref,
1403
+ className: cn(loaderVariants({
1404
+ size: size,
1405
+ colorVariant: colorVariant
1406
+ }), "flex justify-center items-center h-full w-full", className)
1407
+ }, props), {
1408
+ children: /* @__PURE__ */ jsx27(Loader2, {
1409
+ className: "animate-spin"
1410
+ })
1411
+ }));
1412
+ });
1305
1413
  Loader.displayName = "Loader";
1306
-
1307
1414
  // src/components/atoms/ui/separator.tsx
1308
1415
  import * as React23 from "react";
1309
1416
  import * as SeparatorPrimitive from "@radix-ui/react-separator";
1310
1417
  import { jsx as jsx28 } from "react/jsx-runtime";
1311
- var Separator2 = React23.forwardRef(({ className, orientation = "horizontal", decorative = true, ...props }, ref) => /* @__PURE__ */ jsx28(
1312
- SeparatorPrimitive.Root,
1313
- {
1314
- ref,
1315
- decorative,
1316
- orientation,
1317
- className: cn(
1318
- "shrink-0 bg-border",
1319
- orientation === "horizontal" ? "h-[1px] w-full" : "h-full w-[1px]",
1320
- className,
1321
- "alq--separator"
1322
- ),
1323
- ...props
1324
- }
1325
- ));
1418
+ var Separator2 = React23.forwardRef(function(_param, ref) {
1419
+ var className = _param.className, _param_orientation = _param.orientation, orientation = _param_orientation === void 0 ? "horizontal" : _param_orientation, _param_decorative = _param.decorative, decorative = _param_decorative === void 0 ? true : _param_decorative, props = _object_without_properties(_param, [
1420
+ "className",
1421
+ "orientation",
1422
+ "decorative"
1423
+ ]);
1424
+ return /* @__PURE__ */ jsx28(SeparatorPrimitive.Root, _object_spread({
1425
+ ref: ref,
1426
+ decorative: decorative,
1427
+ orientation: orientation,
1428
+ className: cn("shrink-0 bg-border", orientation === "horizontal" ? "h-[1px] w-full" : "h-full w-[1px]", className, "alq--separator")
1429
+ }, props));
1430
+ });
1326
1431
  Separator2.displayName = SeparatorPrimitive.Root.displayName;
1327
-
1328
1432
  // src/components/hooks/use-toast.ts
1329
1433
  import * as React24 from "react";
1330
-
1331
1434
  // src/components/atoms/ui/toaster.tsx
1332
1435
  import { jsx as jsx29, jsxs as jsxs9 } from "react/jsx-runtime";
1333
-
1334
1436
  // src/components/atoms/ui/think-indicator.tsx
1335
1437
  import * as React25 from "react";
1336
1438
  import { useState as useState2, useEffect as useEffect2 } from "react";
1337
1439
  import { cva as cva8 } from "class-variance-authority";
1338
1440
  import { jsx as jsx30, jsxs as jsxs10 } from "react/jsx-runtime";
1339
- var thinkIndicatorVariants = cva8(
1340
- "flex items-center gap-3",
1341
- {
1441
+ var thinkIndicatorVariants = cva8("flex items-center gap-3", {
1342
1442
  variants: {
1343
- variant: {
1344
- default: "text-muted-foreground",
1345
- primary: "text-primary",
1346
- secondary: "text-secondary"
1347
- },
1348
- size: {
1349
- default: "gap-3",
1350
- sm: "gap-2",
1351
- lg: "gap-4"
1352
- }
1443
+ variant: {
1444
+ default: "text-muted-foreground",
1445
+ primary: "text-primary",
1446
+ secondary: "text-secondary"
1447
+ },
1448
+ size: {
1449
+ default: "gap-3",
1450
+ sm: "gap-2",
1451
+ lg: "gap-4"
1452
+ }
1353
1453
  },
1354
1454
  defaultVariants: {
1355
- variant: "default",
1356
- size: "default"
1455
+ variant: "default",
1456
+ size: "default"
1357
1457
  }
1358
- }
1359
- );
1360
- var ThinkIndicator = React25.forwardRef(
1361
- ({
1362
- className,
1363
- variant,
1364
- size,
1365
- thoughts = [
1366
- "Analyzing your request...",
1367
- "Processing information...",
1368
- "Formulating response..."
1369
- ],
1370
- interval = 5e3,
1371
- loader,
1372
- ...props
1373
- }, ref) => {
1374
- const [currentThoughtIndex, setCurrentThoughtIndex] = useState2(0);
1375
- const [isAnimating, setIsAnimating] = useState2(false);
1376
- useEffect2(() => {
1377
- const timer = setInterval(() => {
1378
- setIsAnimating(true);
1379
- setTimeout(() => {
1380
- setCurrentThoughtIndex((prev) => {
1381
- return prev < thoughts.length - 1 ? prev + 1 : prev;
1382
- });
1383
- setIsAnimating(false);
1384
- }, 300);
1385
- }, interval);
1386
- if (currentThoughtIndex === thoughts.length - 1) {
1387
- clearInterval(timer);
1388
- }
1389
- return () => clearInterval(timer);
1390
- }, [thoughts, interval, currentThoughtIndex]);
1391
- return /* @__PURE__ */ jsxs10(
1392
- "div",
1393
- {
1394
- ref,
1395
- className: cn(thinkIndicatorVariants({ variant, size }), className, "alq--think-indicator"),
1396
- ...props,
1458
+ });
1459
+ var ThinkIndicator = React25.forwardRef(function(_param, ref) {
1460
+ var className = _param.className, variant = _param.variant, size = _param.size, _param_thoughts = _param.thoughts, thoughts = _param_thoughts === void 0 ? [
1461
+ "Analyzing your request...",
1462
+ "Processing information...",
1463
+ "Formulating response..."
1464
+ ] : _param_thoughts, _param_interval = _param.interval, interval = _param_interval === void 0 ? 5e3 : _param_interval, loader = _param.loader, props = _object_without_properties(_param, [
1465
+ "className",
1466
+ "variant",
1467
+ "size",
1468
+ "thoughts",
1469
+ "interval",
1470
+ "loader"
1471
+ ]);
1472
+ var _useState2 = _sliced_to_array(useState2(0), 2), currentThoughtIndex = _useState2[0], setCurrentThoughtIndex = _useState2[1];
1473
+ var _useState21 = _sliced_to_array(useState2(false), 2), isAnimating = _useState21[0], setIsAnimating = _useState21[1];
1474
+ useEffect2(function() {
1475
+ var timer = setInterval(function() {
1476
+ setIsAnimating(true);
1477
+ setTimeout(function() {
1478
+ setCurrentThoughtIndex(function(prev) {
1479
+ return prev < thoughts.length - 1 ? prev + 1 : prev;
1480
+ });
1481
+ setIsAnimating(false);
1482
+ }, 300);
1483
+ }, interval);
1484
+ if (currentThoughtIndex === thoughts.length - 1) {
1485
+ clearInterval(timer);
1486
+ }
1487
+ return function() {
1488
+ return clearInterval(timer);
1489
+ };
1490
+ }, [
1491
+ thoughts,
1492
+ interval,
1493
+ currentThoughtIndex
1494
+ ]);
1495
+ return /* @__PURE__ */ jsxs10("div", _object_spread_props(_object_spread({
1496
+ ref: ref,
1497
+ className: cn(thinkIndicatorVariants({
1498
+ variant: variant,
1499
+ size: size
1500
+ }), className, "alq--think-indicator")
1501
+ }, props), {
1397
1502
  children: [
1398
- loader || /* @__PURE__ */ jsx30(
1399
- Loader,
1400
- {
1401
- className: cn(
1402
- size === "sm" ? "h-3 w-3" : size === "lg" ? "h-5 w-5" : "h-4 w-4"
1403
- )
1404
- }
1405
- ),
1406
- /* @__PURE__ */ jsx30(
1407
- "div",
1408
- {
1409
- className: cn(
1410
- "alq--think-indicator-text",
1411
- "transition-all duration-300",
1412
- isAnimating ? "opacity-0 -translate-y-2" : "opacity-100 translate-y-0"
1413
- ),
1414
- children: thoughts[currentThoughtIndex]
1415
- }
1416
- )
1503
+ loader || /* @__PURE__ */ jsx30(Loader, {
1504
+ className: cn(size === "sm" ? "h-3 w-3" : size === "lg" ? "h-5 w-5" : "h-4 w-4")
1505
+ }),
1506
+ /* @__PURE__ */ jsx30("div", {
1507
+ className: cn("alq--think-indicator-text", "transition-all duration-300", isAnimating ? "opacity-0 -translate-y-2" : "opacity-100 translate-y-0"),
1508
+ children: thoughts[currentThoughtIndex]
1509
+ })
1417
1510
  ]
1418
- }
1419
- );
1420
- }
1421
- );
1511
+ }));
1512
+ });
1422
1513
  ThinkIndicator.displayName = "ThinkIndicator";
1423
-
1424
1514
  // src/components/molecules/viewers/pdf-viewer.tsx
1425
1515
  import { ChevronLeft, ChevronRight as ChevronRight2, ZoomIn, ZoomOut } from "lucide-react";
1426
-
1427
1516
  // src/components/hooks/use-resize-observer.ts
1428
1517
  import { useEffect as useEffect3, useRef } from "react";
1429
-
1430
1518
  // src/components/molecules/viewers/pdf-viewer.tsx
1431
1519
  import { pdfjs, Document, Page } from "react-pdf";
1432
1520
  import "react-pdf/dist/esm/Page/AnnotationLayer.css";
1433
1521
  import "react-pdf/dist/esm/Page/TextLayer.css";
1434
1522
  import { Fragment, jsx as jsx31, jsxs as jsxs11 } from "react/jsx-runtime";
1435
- pdfjs.GlobalWorkerOptions.workerSrc = `//unpkg.com/pdfjs-dist@${pdfjs.version}/build/pdf.worker.min.mjs`;
1436
-
1523
+ pdfjs.GlobalWorkerOptions.workerSrc = "//unpkg.com/pdfjs-dist@".concat(pdfjs.version, "/build/pdf.worker.min.mjs");
1437
1524
  // src/components/molecules/viewers/plain-text-viewer.tsx
1438
1525
  import { useState as useState4, useEffect as useEffect5 } from "react";
1439
1526
  import { Fragment as Fragment2, jsx as jsx32, jsxs as jsxs12 } from "react/jsx-runtime";