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