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