@alquimia-ai/ui 1.9.3 → 2.2.1

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 (90) hide show
  1. package/dist/{alert-dialog-CP71C4vl.d.mts → alert-dialog-HrXEPlTh.d.mts} +1 -1
  2. package/dist/{alert-dialog-CP71C4vl.d.ts → alert-dialog-HrXEPlTh.d.ts} +1 -1
  3. package/dist/components/atoms/index.d.mts +48 -3
  4. package/dist/components/atoms/index.d.ts +48 -3
  5. package/dist/components/atoms/index.js +2086 -1427
  6. package/dist/components/atoms/index.js.map +1 -1
  7. package/dist/components/atoms/index.mjs +1658 -1408
  8. package/dist/components/atoms/index.mjs.map +1 -1
  9. package/dist/components/genui/index.d.mts +79 -0
  10. package/dist/components/genui/index.d.ts +79 -0
  11. package/dist/components/genui/index.js +4693 -0
  12. package/dist/components/genui/index.js.map +1 -0
  13. package/dist/components/genui/index.mjs +4622 -0
  14. package/dist/components/genui/index.mjs.map +1 -0
  15. package/dist/components/hooks/index.d.mts +2 -1
  16. package/dist/components/hooks/index.d.ts +2 -1
  17. package/dist/components/hooks/index.js +572 -211
  18. package/dist/components/hooks/index.js.map +1 -1
  19. package/dist/components/hooks/index.mjs +505 -193
  20. package/dist/components/hooks/index.mjs.map +1 -1
  21. package/dist/components/molecules/documents/index.d.mts +1 -0
  22. package/dist/components/molecules/documents/index.d.ts +1 -0
  23. package/dist/components/molecules/documents/index.js +2596 -1889
  24. package/dist/components/molecules/documents/index.js.map +1 -1
  25. package/dist/components/molecules/documents/index.mjs +2435 -1769
  26. package/dist/components/molecules/documents/index.mjs.map +1 -1
  27. package/dist/components/molecules/index.d.mts +2 -2
  28. package/dist/components/molecules/index.d.ts +2 -2
  29. package/dist/components/molecules/index.js +2464 -2119
  30. package/dist/components/molecules/index.js.map +1 -1
  31. package/dist/components/molecules/index.mjs +2283 -2095
  32. package/dist/components/molecules/index.mjs.map +1 -1
  33. package/dist/components/molecules/viewers/index.js +1485 -1188
  34. package/dist/components/molecules/viewers/index.js.map +1 -1
  35. package/dist/components/molecules/viewers/index.mjs +1436 -1170
  36. package/dist/components/molecules/viewers/index.mjs.map +1 -1
  37. package/dist/components/organisms/index.d.mts +16 -2
  38. package/dist/components/organisms/index.d.ts +16 -2
  39. package/dist/components/organisms/index.js +3289 -2637
  40. package/dist/components/organisms/index.js.map +1 -1
  41. package/dist/components/organisms/index.mjs +3210 -2610
  42. package/dist/components/organisms/index.mjs.map +1 -1
  43. package/dist/components/templates/index.d.mts +25 -3
  44. package/dist/components/templates/index.d.ts +25 -3
  45. package/dist/components/templates/index.js +1671 -1302
  46. package/dist/components/templates/index.js.map +1 -1
  47. package/dist/components/templates/index.mjs +1594 -1283
  48. package/dist/components/templates/index.mjs.map +1 -1
  49. package/dist/index.d.mts +11 -6
  50. package/dist/index.d.ts +11 -6
  51. package/dist/index.js +4233 -3012
  52. package/dist/index.js.map +1 -1
  53. package/dist/index.mjs +3619 -2987
  54. package/dist/index.mjs.map +1 -1
  55. package/dist/lib/index.js +106 -54
  56. package/dist/lib/index.js.map +1 -1
  57. package/dist/lib/index.mjs +42 -43
  58. package/dist/lib/index.mjs.map +1 -1
  59. package/dist/providers/index.d.mts +17 -0
  60. package/dist/providers/index.d.ts +17 -0
  61. package/dist/providers/index.js +177 -0
  62. package/dist/providers/index.js.map +1 -0
  63. package/dist/providers/index.mjs +101 -0
  64. package/dist/providers/index.mjs.map +1 -0
  65. package/dist/styles.css +68 -0
  66. package/dist/styles.css.map +1 -0
  67. package/dist/styles.d.mts +2 -0
  68. package/dist/styles.d.ts +2 -0
  69. package/dist/tailwind.config.js +4 -10
  70. package/dist/{toast-2xT7L1tJ.d.mts → toast-DEc6eGUE.d.mts} +1 -1
  71. package/dist/{toast-2xT7L1tJ.d.ts → toast-DEc6eGUE.d.ts} +1 -1
  72. package/dist/types/index.d.mts +5 -5
  73. package/dist/types/index.d.ts +5 -5
  74. package/dist/types/index.js +52 -19
  75. package/dist/types/index.js.map +1 -1
  76. package/dist/types/index.mjs +6 -8
  77. package/dist/types/index.mjs.map +1 -1
  78. package/package.json +29 -9
  79. package/dist/components/index.d.mts +0 -23
  80. package/dist/components/index.d.ts +0 -23
  81. package/dist/components/index.js +0 -1734
  82. package/dist/components/index.js.map +0 -1
  83. package/dist/components/index.mjs +0 -1702
  84. package/dist/components/index.mjs.map +0 -1
  85. package/dist/components/templates/cards/index.d.mts +0 -26
  86. package/dist/components/templates/cards/index.d.ts +0 -26
  87. package/dist/components/templates/cards/index.js +0 -1536
  88. package/dist/components/templates/cards/index.js.map +0 -1
  89. package/dist/components/templates/cards/index.mjs +0 -1504
  90. package/dist/components/templates/cards/index.mjs.map +0 -1
@@ -1,249 +1,684 @@
1
1
  "use strict";
2
+ function _array_like_to_array(arr, len) {
3
+ if (len == null || len > arr.length) len = arr.length;
4
+ for(var i = 0, arr2 = new Array(len); i < len; i++)arr2[i] = arr[i];
5
+ return arr2;
6
+ }
7
+ function _array_with_holes(arr) {
8
+ if (Array.isArray(arr)) return arr;
9
+ }
10
+ function _array_without_holes(arr) {
11
+ if (Array.isArray(arr)) return _array_like_to_array(arr);
12
+ }
13
+ function _define_property(obj, key, value) {
14
+ if (key in obj) {
15
+ Object.defineProperty(obj, key, {
16
+ value: value,
17
+ enumerable: true,
18
+ configurable: true,
19
+ writable: true
20
+ });
21
+ } else {
22
+ obj[key] = value;
23
+ }
24
+ return obj;
25
+ }
26
+ function _extends() {
27
+ _extends = Object.assign || function(target) {
28
+ for(var i = 1; i < arguments.length; i++){
29
+ var source = arguments[i];
30
+ for(var key in source){
31
+ if (Object.prototype.hasOwnProperty.call(source, key)) {
32
+ target[key] = source[key];
33
+ }
34
+ }
35
+ }
36
+ return target;
37
+ };
38
+ return _extends.apply(this, arguments);
39
+ }
40
+ function _iterable_to_array(iter) {
41
+ if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter);
42
+ }
43
+ function _iterable_to_array_limit(arr, i) {
44
+ var _i = arr == null ? null : typeof Symbol !== "undefined" && arr[Symbol.iterator] || arr["@@iterator"];
45
+ if (_i == null) return;
46
+ var _arr = [];
47
+ var _n = true;
48
+ var _d = false;
49
+ var _s, _e;
50
+ try {
51
+ for(_i = _i.call(arr); !(_n = (_s = _i.next()).done); _n = true){
52
+ _arr.push(_s.value);
53
+ if (i && _arr.length === i) break;
54
+ }
55
+ } catch (err) {
56
+ _d = true;
57
+ _e = err;
58
+ } finally{
59
+ try {
60
+ if (!_n && _i["return"] != null) _i["return"]();
61
+ } finally{
62
+ if (_d) throw _e;
63
+ }
64
+ }
65
+ return _arr;
66
+ }
67
+ function _non_iterable_rest() {
68
+ throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
69
+ }
70
+ function _non_iterable_spread() {
71
+ throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
72
+ }
73
+ function _object_destructuring_empty(o) {
74
+ if (o === null || o === void 0) throw new TypeError("Cannot destructure " + o);
75
+ return o;
76
+ }
77
+ function _object_spread(target) {
78
+ for(var i = 1; i < arguments.length; i++){
79
+ var source = arguments[i] != null ? arguments[i] : {};
80
+ var ownKeys = Object.keys(source);
81
+ if (typeof Object.getOwnPropertySymbols === "function") {
82
+ ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function(sym) {
83
+ return Object.getOwnPropertyDescriptor(source, sym).enumerable;
84
+ }));
85
+ }
86
+ ownKeys.forEach(function(key) {
87
+ _define_property(target, key, source[key]);
88
+ });
89
+ }
90
+ return target;
91
+ }
92
+ function ownKeys(object, enumerableOnly) {
93
+ var keys = Object.keys(object);
94
+ if (Object.getOwnPropertySymbols) {
95
+ var symbols = Object.getOwnPropertySymbols(object);
96
+ if (enumerableOnly) {
97
+ symbols = symbols.filter(function(sym) {
98
+ return Object.getOwnPropertyDescriptor(object, sym).enumerable;
99
+ });
100
+ }
101
+ keys.push.apply(keys, symbols);
102
+ }
103
+ return keys;
104
+ }
105
+ function _object_spread_props(target, source) {
106
+ source = source != null ? source : {};
107
+ if (Object.getOwnPropertyDescriptors) {
108
+ Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
109
+ } else {
110
+ ownKeys(Object(source)).forEach(function(key) {
111
+ Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
112
+ });
113
+ }
114
+ return target;
115
+ }
116
+ function _object_without_properties(source, excluded) {
117
+ if (source == null) return {};
118
+ var target = _object_without_properties_loose(source, excluded);
119
+ var key, i;
120
+ if (Object.getOwnPropertySymbols) {
121
+ var sourceSymbolKeys = Object.getOwnPropertySymbols(source);
122
+ for(i = 0; i < sourceSymbolKeys.length; i++){
123
+ key = sourceSymbolKeys[i];
124
+ if (excluded.indexOf(key) >= 0) continue;
125
+ if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue;
126
+ target[key] = source[key];
127
+ }
128
+ }
129
+ return target;
130
+ }
131
+ function _object_without_properties_loose(source, excluded) {
132
+ if (source == null) return {};
133
+ var target = {};
134
+ var sourceKeys = Object.keys(source);
135
+ var key, i;
136
+ for(i = 0; i < sourceKeys.length; i++){
137
+ key = sourceKeys[i];
138
+ if (excluded.indexOf(key) >= 0) continue;
139
+ target[key] = source[key];
140
+ }
141
+ return target;
142
+ }
143
+ function _sliced_to_array(arr, i) {
144
+ return _array_with_holes(arr) || _iterable_to_array_limit(arr, i) || _unsupported_iterable_to_array(arr, i) || _non_iterable_rest();
145
+ }
146
+ function _to_consumable_array(arr) {
147
+ return _array_without_holes(arr) || _iterable_to_array(arr) || _unsupported_iterable_to_array(arr) || _non_iterable_spread();
148
+ }
149
+ function _type_of(obj) {
150
+ "@swc/helpers - typeof";
151
+ return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
152
+ }
153
+ function _unsupported_iterable_to_array(o, minLen) {
154
+ if (!o) return;
155
+ if (typeof o === "string") return _array_like_to_array(o, minLen);
156
+ var n = Object.prototype.toString.call(o).slice(8, -1);
157
+ if (n === "Object" && o.constructor) n = o.constructor.name;
158
+ if (n === "Map" || n === "Set") return Array.from(n);
159
+ if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array(o, minLen);
160
+ }
2
161
  var __create = Object.create;
3
162
  var __defProp = Object.defineProperty;
4
163
  var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
5
164
  var __getOwnPropNames = Object.getOwnPropertyNames;
6
165
  var __getProtoOf = Object.getPrototypeOf;
7
166
  var __hasOwnProp = Object.prototype.hasOwnProperty;
8
- var __export = (target, all) => {
9
- for (var name in all)
10
- __defProp(target, name, { get: all[name], enumerable: true });
167
+ var __export = function(target, all) {
168
+ for(var name in all)__defProp(target, name, {
169
+ get: all[name],
170
+ enumerable: true
171
+ });
11
172
  };
12
- var __copyProps = (to, from, except, desc) => {
13
- if (from && typeof from === "object" || typeof from === "function") {
14
- for (let key of __getOwnPropNames(from))
15
- if (!__hasOwnProp.call(to, key) && key !== except)
16
- __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
17
- }
18
- return to;
173
+ var __copyProps = function(to, from, except, desc) {
174
+ if (from && (typeof from === "undefined" ? "undefined" : _type_of(from)) === "object" || typeof from === "function") {
175
+ var _iteratorNormalCompletion = true, _didIteratorError = false, _iteratorError = undefined;
176
+ try {
177
+ var _loop = function() {
178
+ var key = _step.value;
179
+ if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, {
180
+ get: function() {
181
+ return from[key];
182
+ },
183
+ enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
184
+ });
185
+ };
186
+ for(var _iterator = __getOwnPropNames(from)[Symbol.iterator](), _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = true)_loop();
187
+ } catch (err) {
188
+ _didIteratorError = true;
189
+ _iteratorError = err;
190
+ } finally{
191
+ try {
192
+ if (!_iteratorNormalCompletion && _iterator.return != null) {
193
+ _iterator.return();
194
+ }
195
+ } finally{
196
+ if (_didIteratorError) {
197
+ throw _iteratorError;
198
+ }
199
+ }
200
+ }
201
+ }
202
+ return to;
203
+ };
204
+ var __toESM = function(mod, isNodeMode, target) {
205
+ return target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(// If the importer is in node compatibility mode or this is not an ESM
206
+ // file that has been converted to a CommonJS file using a Babel-
207
+ // compatible transform (i.e. "__esModule" has not been set), then set
208
+ // "default" to the CommonJS "module.exports" for node compatibility.
209
+ isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", {
210
+ value: mod,
211
+ enumerable: true
212
+ }) : target, mod);
213
+ };
214
+ var __toCommonJS = function(mod) {
215
+ return __copyProps(__defProp({}, "__esModule", {
216
+ value: true
217
+ }), mod);
19
218
  };
20
- var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
21
- // If the importer is in node compatibility mode or this is not an ESM
22
- // file that has been converted to a CommonJS file using a Babel-
23
- // compatible transform (i.e. "__esModule" has not been set), then set
24
- // "default" to the CommonJS "module.exports" for node compatibility.
25
- isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
26
- mod
27
- ));
28
- var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
29
-
30
219
  // src/components/atoms/index.ts
31
220
  var atoms_exports = {};
32
221
  __export(atoms_exports, {
33
- Alert: () => Alert,
34
- AlertDescription: () => AlertDescription,
35
- AlertDialog: () => AlertDialog,
36
- AlertDialogAction: () => AlertDialogAction,
37
- AlertDialogCancel: () => AlertDialogCancel,
38
- AlertDialogContent: () => AlertDialogContent,
39
- AlertDialogDescription: () => AlertDialogDescription,
40
- AlertDialogFooter: () => AlertDialogFooter,
41
- AlertDialogHeader: () => AlertDialogHeader,
42
- AlertDialogOverlay: () => AlertDialogOverlay,
43
- AlertDialogPortal: () => AlertDialogPortal,
44
- AlertDialogTitle: () => AlertDialogTitle,
45
- AlertDialogTrigger: () => AlertDialogTrigger,
46
- AlertTitle: () => AlertTitle,
47
- AspectRatio: () => AspectRatio,
48
- Avatar: () => Avatar,
49
- AvatarFallback: () => AvatarFallback,
50
- AvatarImage: () => AvatarImage,
51
- Badge: () => Badge,
52
- Breadcrumb: () => Breadcrumb,
53
- BreadcrumbEllipsis: () => BreadcrumbEllipsis,
54
- BreadcrumbItem: () => BreadcrumbItem,
55
- BreadcrumbLink: () => BreadcrumbLink,
56
- BreadcrumbList: () => BreadcrumbList,
57
- BreadcrumbPage: () => BreadcrumbPage,
58
- BreadcrumbSeparator: () => BreadcrumbSeparator,
59
- Button: () => Button,
60
- Card: () => Card,
61
- CardContent: () => CardContent,
62
- CardDescription: () => CardDescription,
63
- CardFooter: () => CardFooter,
64
- CardHeader: () => CardHeader,
65
- CardTitle: () => CardTitle,
66
- Checkbox: () => Checkbox,
67
- Command: () => Command,
68
- CommandDialog: () => CommandDialog,
69
- CommandEmpty: () => CommandEmpty,
70
- CommandGroup: () => CommandGroup,
71
- CommandInput: () => CommandInput,
72
- CommandItem: () => CommandItem,
73
- CommandList: () => CommandList,
74
- CommandSeparator: () => CommandSeparator,
75
- CommandShortcut: () => CommandShortcut,
76
- Dialog: () => Dialog,
77
- DialogClose: () => DialogClose,
78
- DialogContent: () => DialogContent,
79
- DialogDescription: () => DialogDescription,
80
- DialogFooter: () => DialogFooter,
81
- DialogHeader: () => DialogHeader,
82
- DialogOverlay: () => DialogOverlay,
83
- DialogPortal: () => DialogPortal,
84
- DialogTitle: () => DialogTitle,
85
- DialogTrigger: () => DialogTrigger,
86
- Drawer: () => Drawer,
87
- DrawerClose: () => DrawerClose,
88
- DrawerContent: () => DrawerContent,
89
- DrawerDescription: () => DrawerDescription,
90
- DrawerFooter: () => DrawerFooter,
91
- DrawerHeader: () => DrawerHeader,
92
- DrawerOverlay: () => DrawerOverlay,
93
- DrawerPortal: () => DrawerPortal,
94
- DrawerTitle: () => DrawerTitle,
95
- DrawerTrigger: () => DrawerTrigger,
96
- Input: () => Input,
97
- Label: () => Label2,
98
- Loader: () => Loader,
99
- Popover: () => Popover,
100
- PopoverContent: () => PopoverContent,
101
- PopoverTrigger: () => PopoverTrigger,
102
- RichText: () => RichText,
103
- ScrollArea: () => ScrollArea,
104
- ScrollBar: () => ScrollBar,
105
- Select: () => Select,
106
- SelectContent: () => SelectContent,
107
- SelectGroup: () => SelectGroup,
108
- SelectItem: () => SelectItem,
109
- SelectLabel: () => SelectLabel,
110
- SelectScrollDownButton: () => SelectScrollDownButton,
111
- SelectScrollUpButton: () => SelectScrollUpButton,
112
- SelectSeparator: () => SelectSeparator,
113
- SelectTrigger: () => SelectTrigger,
114
- SelectValue: () => SelectValue,
115
- Separator: () => Separator2,
116
- Skeleton: () => Skeleton,
117
- Slider: () => Slider,
118
- Switch: () => Switch,
119
- Table: () => Table,
120
- TableBody: () => TableBody,
121
- TableCaption: () => TableCaption,
122
- TableCell: () => TableCell,
123
- TableFooter: () => TableFooter,
124
- TableHead: () => TableHead,
125
- TableHeader: () => TableHeader,
126
- TableRow: () => TableRow,
127
- Tabs: () => Tabs,
128
- TabsContent: () => TabsContent,
129
- TabsList: () => TabsList,
130
- TabsTrigger: () => TabsTrigger,
131
- Textarea: () => Textarea,
132
- ThinkIndicator: () => ThinkIndicator,
133
- Toast: () => Toast,
134
- ToastAction: () => ToastAction,
135
- ToastClose: () => ToastClose,
136
- ToastDescription: () => ToastDescription,
137
- ToastProvider: () => ToastProvider,
138
- ToastTitle: () => ToastTitle,
139
- ToastViewport: () => ToastViewport,
140
- Toaster: () => Toaster,
141
- Toggle: () => Toggle,
142
- Typography: () => Typography,
143
- badgeVariants: () => badgeVariants,
144
- buttonVariants: () => buttonVariants,
145
- thinkIndicatorVariants: () => thinkIndicatorVariants,
146
- toggleVariants: () => toggleVariants
222
+ Accordion: function() {
223
+ return Accordion;
224
+ },
225
+ AccordionContent: function() {
226
+ return AccordionContent;
227
+ },
228
+ AccordionItem: function() {
229
+ return AccordionItem;
230
+ },
231
+ AccordionTrigger: function() {
232
+ return AccordionTrigger;
233
+ },
234
+ Alert: function() {
235
+ return Alert;
236
+ },
237
+ AlertDescription: function() {
238
+ return AlertDescription;
239
+ },
240
+ AlertDialog: function() {
241
+ return AlertDialog;
242
+ },
243
+ AlertDialogAction: function() {
244
+ return AlertDialogAction;
245
+ },
246
+ AlertDialogCancel: function() {
247
+ return AlertDialogCancel;
248
+ },
249
+ AlertDialogContent: function() {
250
+ return AlertDialogContent;
251
+ },
252
+ AlertDialogDescription: function() {
253
+ return AlertDialogDescription;
254
+ },
255
+ AlertDialogFooter: function() {
256
+ return AlertDialogFooter;
257
+ },
258
+ AlertDialogHeader: function() {
259
+ return AlertDialogHeader;
260
+ },
261
+ AlertDialogOverlay: function() {
262
+ return AlertDialogOverlay;
263
+ },
264
+ AlertDialogPortal: function() {
265
+ return AlertDialogPortal;
266
+ },
267
+ AlertDialogTitle: function() {
268
+ return AlertDialogTitle;
269
+ },
270
+ AlertDialogTrigger: function() {
271
+ return AlertDialogTrigger;
272
+ },
273
+ AlertTitle: function() {
274
+ return AlertTitle;
275
+ },
276
+ AspectRatio: function() {
277
+ return AspectRatio;
278
+ },
279
+ Avatar: function() {
280
+ return Avatar;
281
+ },
282
+ AvatarFallback: function() {
283
+ return AvatarFallback;
284
+ },
285
+ AvatarImage: function() {
286
+ return AvatarImage;
287
+ },
288
+ Badge: function() {
289
+ return Badge;
290
+ },
291
+ Breadcrumb: function() {
292
+ return Breadcrumb;
293
+ },
294
+ BreadcrumbEllipsis: function() {
295
+ return BreadcrumbEllipsis;
296
+ },
297
+ BreadcrumbItem: function() {
298
+ return BreadcrumbItem;
299
+ },
300
+ BreadcrumbLink: function() {
301
+ return BreadcrumbLink;
302
+ },
303
+ BreadcrumbList: function() {
304
+ return BreadcrumbList;
305
+ },
306
+ BreadcrumbPage: function() {
307
+ return BreadcrumbPage;
308
+ },
309
+ BreadcrumbSeparator: function() {
310
+ return BreadcrumbSeparator;
311
+ },
312
+ Button: function() {
313
+ return Button;
314
+ },
315
+ CHART_PALETTE: function() {
316
+ return CHART_PALETTE;
317
+ },
318
+ Calendar: function() {
319
+ return Calendar;
320
+ },
321
+ Card: function() {
322
+ return Card;
323
+ },
324
+ CardContent: function() {
325
+ return CardContent;
326
+ },
327
+ CardDescription: function() {
328
+ return CardDescription;
329
+ },
330
+ CardFooter: function() {
331
+ return CardFooter;
332
+ },
333
+ CardHeader: function() {
334
+ return CardHeader;
335
+ },
336
+ CardTitle: function() {
337
+ return CardTitle;
338
+ },
339
+ Chart: function() {
340
+ return Chart;
341
+ },
342
+ Checkbox: function() {
343
+ return Checkbox;
344
+ },
345
+ Command: function() {
346
+ return Command;
347
+ },
348
+ CommandDialog: function() {
349
+ return CommandDialog;
350
+ },
351
+ CommandEmpty: function() {
352
+ return CommandEmpty;
353
+ },
354
+ CommandGroup: function() {
355
+ return CommandGroup;
356
+ },
357
+ CommandInput: function() {
358
+ return CommandInput;
359
+ },
360
+ CommandItem: function() {
361
+ return CommandItem;
362
+ },
363
+ CommandList: function() {
364
+ return CommandList;
365
+ },
366
+ CommandSeparator: function() {
367
+ return CommandSeparator;
368
+ },
369
+ CommandShortcut: function() {
370
+ return CommandShortcut;
371
+ },
372
+ Dialog: function() {
373
+ return Dialog;
374
+ },
375
+ DialogClose: function() {
376
+ return DialogClose;
377
+ },
378
+ DialogContent: function() {
379
+ return DialogContent;
380
+ },
381
+ DialogDescription: function() {
382
+ return DialogDescription;
383
+ },
384
+ DialogFooter: function() {
385
+ return DialogFooter;
386
+ },
387
+ DialogHeader: function() {
388
+ return DialogHeader;
389
+ },
390
+ DialogOverlay: function() {
391
+ return DialogOverlay;
392
+ },
393
+ DialogPortal: function() {
394
+ return DialogPortal;
395
+ },
396
+ DialogTitle: function() {
397
+ return DialogTitle;
398
+ },
399
+ DialogTrigger: function() {
400
+ return DialogTrigger;
401
+ },
402
+ Drawer: function() {
403
+ return Drawer;
404
+ },
405
+ DrawerClose: function() {
406
+ return DrawerClose;
407
+ },
408
+ DrawerContent: function() {
409
+ return DrawerContent;
410
+ },
411
+ DrawerDescription: function() {
412
+ return DrawerDescription;
413
+ },
414
+ DrawerFooter: function() {
415
+ return DrawerFooter;
416
+ },
417
+ DrawerHeader: function() {
418
+ return DrawerHeader;
419
+ },
420
+ DrawerOverlay: function() {
421
+ return DrawerOverlay;
422
+ },
423
+ DrawerPortal: function() {
424
+ return DrawerPortal;
425
+ },
426
+ DrawerTitle: function() {
427
+ return DrawerTitle;
428
+ },
429
+ DrawerTrigger: function() {
430
+ return DrawerTrigger;
431
+ },
432
+ Input: function() {
433
+ return Input;
434
+ },
435
+ Label: function() {
436
+ return Label2;
437
+ },
438
+ Loader: function() {
439
+ return Loader;
440
+ },
441
+ Popover: function() {
442
+ return Popover;
443
+ },
444
+ PopoverContent: function() {
445
+ return PopoverContent;
446
+ },
447
+ PopoverTrigger: function() {
448
+ return PopoverTrigger;
449
+ },
450
+ Progress: function() {
451
+ return Progress;
452
+ },
453
+ RadioGroup: function() {
454
+ return RadioGroup;
455
+ },
456
+ RadioGroupItem: function() {
457
+ return RadioGroupItem;
458
+ },
459
+ RichText: function() {
460
+ return RichText;
461
+ },
462
+ ScrollArea: function() {
463
+ return ScrollArea;
464
+ },
465
+ ScrollBar: function() {
466
+ return ScrollBar;
467
+ },
468
+ Select: function() {
469
+ return Select;
470
+ },
471
+ SelectContent: function() {
472
+ return SelectContent;
473
+ },
474
+ SelectGroup: function() {
475
+ return SelectGroup;
476
+ },
477
+ SelectItem: function() {
478
+ return SelectItem;
479
+ },
480
+ SelectLabel: function() {
481
+ return SelectLabel;
482
+ },
483
+ SelectScrollDownButton: function() {
484
+ return SelectScrollDownButton;
485
+ },
486
+ SelectScrollUpButton: function() {
487
+ return SelectScrollUpButton;
488
+ },
489
+ SelectSeparator: function() {
490
+ return SelectSeparator;
491
+ },
492
+ SelectTrigger: function() {
493
+ return SelectTrigger;
494
+ },
495
+ SelectValue: function() {
496
+ return SelectValue;
497
+ },
498
+ Separator: function() {
499
+ return Separator2;
500
+ },
501
+ Skeleton: function() {
502
+ return Skeleton;
503
+ },
504
+ Slider: function() {
505
+ return Slider;
506
+ },
507
+ Switch: function() {
508
+ return Switch;
509
+ },
510
+ Table: function() {
511
+ return Table;
512
+ },
513
+ TableBody: function() {
514
+ return TableBody;
515
+ },
516
+ TableCaption: function() {
517
+ return TableCaption;
518
+ },
519
+ TableCell: function() {
520
+ return TableCell;
521
+ },
522
+ TableFooter: function() {
523
+ return TableFooter;
524
+ },
525
+ TableHead: function() {
526
+ return TableHead;
527
+ },
528
+ TableHeader: function() {
529
+ return TableHeader;
530
+ },
531
+ TableRow: function() {
532
+ return TableRow;
533
+ },
534
+ Tabs: function() {
535
+ return Tabs;
536
+ },
537
+ TabsContent: function() {
538
+ return TabsContent;
539
+ },
540
+ TabsList: function() {
541
+ return TabsList;
542
+ },
543
+ TabsTrigger: function() {
544
+ return TabsTrigger;
545
+ },
546
+ Textarea: function() {
547
+ return Textarea;
548
+ },
549
+ ThinkIndicator: function() {
550
+ return ThinkIndicator;
551
+ },
552
+ Toast: function() {
553
+ return Toast;
554
+ },
555
+ ToastAction: function() {
556
+ return ToastAction;
557
+ },
558
+ ToastClose: function() {
559
+ return ToastClose;
560
+ },
561
+ ToastDescription: function() {
562
+ return ToastDescription;
563
+ },
564
+ ToastProvider: function() {
565
+ return ToastProvider;
566
+ },
567
+ ToastTitle: function() {
568
+ return ToastTitle;
569
+ },
570
+ ToastViewport: function() {
571
+ return ToastViewport;
572
+ },
573
+ Toaster: function() {
574
+ return Toaster;
575
+ },
576
+ Toggle: function() {
577
+ return Toggle;
578
+ },
579
+ Typography: function() {
580
+ return Typography;
581
+ },
582
+ badgeVariants: function() {
583
+ return badgeVariants;
584
+ },
585
+ buttonVariants: function() {
586
+ return buttonVariants;
587
+ },
588
+ themedChartAxes: function() {
589
+ return themedChartAxes;
590
+ },
591
+ thinkIndicatorVariants: function() {
592
+ return thinkIndicatorVariants;
593
+ },
594
+ toggleVariants: function() {
595
+ return toggleVariants;
596
+ }
147
597
  });
148
598
  module.exports = __toCommonJS(atoms_exports);
149
-
150
599
  // src/components/atoms/ui/button.tsx
151
600
  var React = __toESM(require("react"));
152
601
  var import_react_slot = require("@radix-ui/react-slot");
153
602
  var import_class_variance_authority = require("class-variance-authority");
154
-
155
603
  // src/lib/utils.ts
156
604
  var import_clsx = require("clsx");
157
605
  var import_tailwind_merge = require("tailwind-merge");
158
- function cn(...inputs) {
159
- return (0, import_tailwind_merge.twMerge)((0, import_clsx.clsx)(inputs));
606
+ function cn() {
607
+ for(var _len = arguments.length, inputs = new Array(_len), _key = 0; _key < _len; _key++){
608
+ inputs[_key] = arguments[_key];
609
+ }
610
+ return (0, import_tailwind_merge.twMerge)((0, import_clsx.clsx)(inputs));
160
611
  }
161
-
162
612
  // src/components/atoms/ui/button.tsx
163
613
  var import_jsx_runtime = require("react/jsx-runtime");
164
- var buttonVariants = (0, import_class_variance_authority.cva)(
165
- "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",
166
- {
614
+ var buttonVariants = (0, import_class_variance_authority.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", {
167
615
  variants: {
168
- variant: {
169
- default: "bg-primary text-primary-foreground hover:bg-primary/90",
170
- destructive: "bg-destructive text-destructive-foreground hover:bg-destructive/90",
171
- outline: "border border-input bg-background hover:bg-accent hover:text-accent-foreground",
172
- secondary: "bg-secondary text-secondary-foreground hover:bg-secondary/80",
173
- ghost: "hover:bg-accent hover:text-accent-foreground",
174
- link: "text-primary underline-offset-4 hover:underline"
175
- },
176
- size: {
177
- default: "h-10 px-4 py-2",
178
- sm: "h-9 rounded-md px-3",
179
- lg: "h-11 rounded-md px-8",
180
- icon: "h-10 w-10"
181
- }
616
+ variant: {
617
+ default: "bg-primary text-primary-foreground hover:bg-primary/90",
618
+ destructive: "bg-destructive text-destructive-foreground hover:bg-destructive/90",
619
+ outline: "border border-input bg-background hover:bg-accent hover:text-accent-foreground",
620
+ secondary: "bg-secondary text-secondary-foreground hover:bg-secondary/80",
621
+ ghost: "hover:bg-accent hover:text-accent-foreground",
622
+ link: "text-primary underline-offset-4 hover:underline"
623
+ },
624
+ size: {
625
+ default: "h-10 px-4 py-2",
626
+ sm: "h-9 rounded-md px-3",
627
+ lg: "h-11 rounded-md px-8",
628
+ icon: "h-10 w-10"
629
+ }
182
630
  },
183
631
  defaultVariants: {
184
- variant: "default",
185
- size: "default"
632
+ variant: "default",
633
+ size: "default"
186
634
  }
187
- }
188
- );
189
- var Button = React.forwardRef(
190
- ({ className, variant, size, asChild = false, ...props }, ref) => {
191
- const Comp = asChild ? import_react_slot.Slot : "button";
192
- return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
193
- Comp,
194
- {
195
- className: cn(buttonVariants({ variant, size, className })),
196
- ref,
197
- ...props
198
- }
199
- );
200
- }
201
- );
635
+ });
636
+ var Button = React.forwardRef(function(_param, ref) {
637
+ 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, [
638
+ "className",
639
+ "variant",
640
+ "size",
641
+ "asChild"
642
+ ]);
643
+ var Comp = asChild ? import_react_slot.Slot : "button";
644
+ return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Comp, _object_spread({
645
+ className: cn(buttonVariants({
646
+ variant: variant,
647
+ size: size,
648
+ className: className
649
+ })),
650
+ ref: ref
651
+ }, props));
652
+ });
202
653
  Button.displayName = "Button";
203
-
204
654
  // src/components/atoms/ui/textarea.tsx
205
655
  var React2 = __toESM(require("react"));
206
656
  var import_jsx_runtime2 = require("react/jsx-runtime");
207
- var Textarea = React2.forwardRef(
208
- ({ className, ...props }, ref) => {
209
- return /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(
210
- "textarea",
211
- {
212
- className: cn(
213
- "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",
214
- className,
215
- "alq--textarea"
216
- ),
217
- ref,
218
- ...props
219
- }
220
- );
221
- }
222
- );
657
+ var Textarea = React2.forwardRef(function(_param, ref) {
658
+ var className = _param.className, props = _object_without_properties(_param, [
659
+ "className"
660
+ ]);
661
+ return /* @__PURE__ */ (0, import_jsx_runtime2.jsx)("textarea", _object_spread({
662
+ 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"),
663
+ ref: ref
664
+ }, props));
665
+ });
223
666
  Textarea.displayName = "Textarea";
224
-
225
667
  // src/components/atoms/ui/input.tsx
226
668
  var import_react = require("react");
227
669
  var import_jsx_runtime3 = require("react/jsx-runtime");
228
- var Input = (0, import_react.forwardRef)(
229
- ({ className, type, ...props }, ref) => {
230
- return /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(
231
- "input",
232
- {
233
- type,
234
- className: cn(
235
- "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",
236
- className,
237
- "alq--input"
238
- ),
239
- ref,
240
- ...props
241
- }
242
- );
243
- }
244
- );
670
+ var Input = (0, import_react.forwardRef)(function(_param, ref) {
671
+ var className = _param.className, type = _param.type, props = _object_without_properties(_param, [
672
+ "className",
673
+ "type"
674
+ ]);
675
+ return /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("input", _object_spread({
676
+ type: type,
677
+ 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"),
678
+ ref: ref
679
+ }, props));
680
+ });
245
681
  Input.displayName = "Input";
246
-
247
682
  // src/components/atoms/ui/select.tsx
248
683
  var React3 = __toESM(require("react"));
249
684
  var SelectPrimitive = __toESM(require("@radix-ui/react-select"));
@@ -252,782 +687,799 @@ var import_jsx_runtime4 = require("react/jsx-runtime");
252
687
  var Select = SelectPrimitive.Root;
253
688
  var SelectGroup = SelectPrimitive.Group;
254
689
  var SelectValue = SelectPrimitive.Value;
255
- var SelectTrigger = React3.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime4.jsxs)(
256
- SelectPrimitive.Trigger,
257
- {
258
- ref,
259
- className: cn(
260
- "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",
261
- className,
262
- "alq--select"
263
- ),
264
- ...props,
265
- children: [
266
- children,
267
- /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(SelectPrimitive.Icon, { asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(import_lucide_react.ChevronDown, { className: "h-4 w-4 opacity-50" }) })
268
- ]
269
- }
270
- ));
690
+ var SelectTrigger = React3.forwardRef(function(_param, ref) {
691
+ var className = _param.className, children = _param.children, props = _object_without_properties(_param, [
692
+ "className",
693
+ "children"
694
+ ]);
695
+ return /* @__PURE__ */ (0, import_jsx_runtime4.jsxs)(SelectPrimitive.Trigger, _object_spread_props(_object_spread({
696
+ ref: ref,
697
+ 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")
698
+ }, props), {
699
+ children: [
700
+ children,
701
+ /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(SelectPrimitive.Icon, {
702
+ asChild: true,
703
+ children: /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(import_lucide_react.ChevronDown, {
704
+ className: "h-4 w-4 opacity-50"
705
+ })
706
+ })
707
+ ]
708
+ }));
709
+ });
271
710
  SelectTrigger.displayName = SelectPrimitive.Trigger.displayName;
272
- var SelectScrollUpButton = React3.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(
273
- SelectPrimitive.ScrollUpButton,
274
- {
275
- ref,
276
- className: cn(
277
- "flex cursor-default items-center justify-center py-1",
278
- className
279
- ),
280
- ...props,
281
- children: /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(import_lucide_react.ChevronUp, { className: "h-4 w-4" })
282
- }
283
- ));
711
+ var SelectScrollUpButton = React3.forwardRef(function(_param, ref) {
712
+ var className = _param.className, props = _object_without_properties(_param, [
713
+ "className"
714
+ ]);
715
+ return /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(SelectPrimitive.ScrollUpButton, _object_spread_props(_object_spread({
716
+ ref: ref,
717
+ className: cn("flex cursor-default items-center justify-center py-1", className)
718
+ }, props), {
719
+ children: /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(import_lucide_react.ChevronUp, {
720
+ className: "h-4 w-4"
721
+ })
722
+ }));
723
+ });
284
724
  SelectScrollUpButton.displayName = SelectPrimitive.ScrollUpButton.displayName;
285
- var SelectScrollDownButton = React3.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(
286
- SelectPrimitive.ScrollDownButton,
287
- {
288
- ref,
289
- className: cn(
290
- "flex cursor-default items-center justify-center py-1",
291
- className
292
- ),
293
- ...props,
294
- children: /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(import_lucide_react.ChevronDown, { className: "h-4 w-4" })
295
- }
296
- ));
725
+ var SelectScrollDownButton = React3.forwardRef(function(_param, ref) {
726
+ var className = _param.className, props = _object_without_properties(_param, [
727
+ "className"
728
+ ]);
729
+ return /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(SelectPrimitive.ScrollDownButton, _object_spread_props(_object_spread({
730
+ ref: ref,
731
+ className: cn("flex cursor-default items-center justify-center py-1", className)
732
+ }, props), {
733
+ children: /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(import_lucide_react.ChevronDown, {
734
+ className: "h-4 w-4"
735
+ })
736
+ }));
737
+ });
297
738
  SelectScrollDownButton.displayName = SelectPrimitive.ScrollDownButton.displayName;
298
- var SelectContent = React3.forwardRef(({ className, children, position = "popper", ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(SelectPrimitive.Portal, { children: /* @__PURE__ */ (0, import_jsx_runtime4.jsxs)(
299
- SelectPrimitive.Content,
300
- {
301
- ref,
302
- className: cn(
303
- "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",
304
- 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",
305
- className
306
- ),
307
- position,
308
- ...props,
309
- children: [
310
- /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(SelectScrollUpButton, {}),
311
- /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(
312
- SelectPrimitive.Viewport,
313
- {
314
- className: cn(
315
- "p-1",
316
- position === "popper" && "h-[var(--radix-select-trigger-height)] w-full min-w-[var(--radix-select-trigger-width)]"
317
- ),
318
- children
319
- }
320
- ),
321
- /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(SelectScrollDownButton, {})
322
- ]
323
- }
324
- ) }));
739
+ var SelectContent = React3.forwardRef(function(_param, ref) {
740
+ var className = _param.className, children = _param.children, _param_position = _param.position, position = _param_position === void 0 ? "popper" : _param_position, props = _object_without_properties(_param, [
741
+ "className",
742
+ "children",
743
+ "position"
744
+ ]);
745
+ return /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(SelectPrimitive.Portal, {
746
+ children: /* @__PURE__ */ (0, import_jsx_runtime4.jsxs)(SelectPrimitive.Content, _object_spread_props(_object_spread({
747
+ ref: ref,
748
+ 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),
749
+ position: position
750
+ }, props), {
751
+ children: [
752
+ /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(SelectScrollUpButton, {}),
753
+ /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(SelectPrimitive.Viewport, {
754
+ className: cn("p-1", position === "popper" && "h-[var(--radix-select-trigger-height)] w-full min-w-[var(--radix-select-trigger-width)]"),
755
+ children: children
756
+ }),
757
+ /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(SelectScrollDownButton, {})
758
+ ]
759
+ }))
760
+ });
761
+ });
325
762
  SelectContent.displayName = SelectPrimitive.Content.displayName;
326
- var SelectLabel = React3.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(
327
- SelectPrimitive.Label,
328
- {
329
- ref,
330
- className: cn("py-1.5 pl-8 pr-2 text-sm font-semibold", className),
331
- ...props
332
- }
333
- ));
763
+ var SelectLabel = React3.forwardRef(function(_param, ref) {
764
+ var className = _param.className, props = _object_without_properties(_param, [
765
+ "className"
766
+ ]);
767
+ return /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(SelectPrimitive.Label, _object_spread({
768
+ ref: ref,
769
+ className: cn("py-1.5 pl-8 pr-2 text-sm font-semibold", className)
770
+ }, props));
771
+ });
334
772
  SelectLabel.displayName = SelectPrimitive.Label.displayName;
335
- var SelectItem = React3.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime4.jsxs)(
336
- SelectPrimitive.Item,
337
- {
338
- ref,
339
- className: cn(
340
- "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",
341
- className
342
- ),
343
- ...props,
344
- children: [
345
- /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("span", { className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(SelectPrimitive.ItemIndicator, { children: /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(import_lucide_react.Check, { className: "h-4 w-4" }) }) }),
346
- /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(SelectPrimitive.ItemText, { children })
347
- ]
348
- }
349
- ));
773
+ var SelectItem = React3.forwardRef(function(_param, ref) {
774
+ var className = _param.className, children = _param.children, props = _object_without_properties(_param, [
775
+ "className",
776
+ "children"
777
+ ]);
778
+ return /* @__PURE__ */ (0, import_jsx_runtime4.jsxs)(SelectPrimitive.Item, _object_spread_props(_object_spread({
779
+ ref: ref,
780
+ 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)
781
+ }, props), {
782
+ children: [
783
+ /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("span", {
784
+ className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center",
785
+ children: /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(SelectPrimitive.ItemIndicator, {
786
+ children: /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(import_lucide_react.Check, {
787
+ className: "h-4 w-4"
788
+ })
789
+ })
790
+ }),
791
+ /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(SelectPrimitive.ItemText, {
792
+ children: children
793
+ })
794
+ ]
795
+ }));
796
+ });
350
797
  SelectItem.displayName = SelectPrimitive.Item.displayName;
351
- var SelectSeparator = React3.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(
352
- SelectPrimitive.Separator,
353
- {
354
- ref,
355
- className: cn("-mx-1 my-1 h-px bg-muted", className),
356
- ...props
357
- }
358
- ));
798
+ var SelectSeparator = React3.forwardRef(function(_param, ref) {
799
+ var className = _param.className, props = _object_without_properties(_param, [
800
+ "className"
801
+ ]);
802
+ return /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(SelectPrimitive.Separator, _object_spread({
803
+ ref: ref,
804
+ className: cn("-mx-1 my-1 h-px bg-muted", className)
805
+ }, props));
806
+ });
359
807
  SelectSeparator.displayName = SelectPrimitive.Separator.displayName;
360
-
361
808
  // src/components/atoms/ui/avatar.tsx
362
809
  var React4 = __toESM(require("react"));
363
810
  var AvatarPrimitive = __toESM(require("@radix-ui/react-avatar"));
364
811
  var import_jsx_runtime5 = require("react/jsx-runtime");
365
- var Avatar = React4.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(
366
- AvatarPrimitive.Root,
367
- {
368
- ref,
369
- className: cn(
370
- "relative flex h-10 w-10 shrink-0 overflow-hidden rounded-full",
371
- className
372
- ),
373
- ...props
374
- }
375
- ));
812
+ var Avatar = React4.forwardRef(function(_param, ref) {
813
+ var className = _param.className, props = _object_without_properties(_param, [
814
+ "className"
815
+ ]);
816
+ return /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(AvatarPrimitive.Root, _object_spread({
817
+ ref: ref,
818
+ className: cn("relative flex h-10 w-10 shrink-0 overflow-hidden rounded-full", className)
819
+ }, props));
820
+ });
376
821
  Avatar.displayName = AvatarPrimitive.Root.displayName;
377
- var AvatarImage = React4.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(
378
- AvatarPrimitive.Image,
379
- {
380
- ref,
381
- className: cn("aspect-square h-full w-full", className),
382
- ...props
383
- }
384
- ));
822
+ var AvatarImage = React4.forwardRef(function(_param, ref) {
823
+ var className = _param.className, props = _object_without_properties(_param, [
824
+ "className"
825
+ ]);
826
+ return /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(AvatarPrimitive.Image, _object_spread({
827
+ ref: ref,
828
+ className: cn("aspect-square h-full w-full", className)
829
+ }, props));
830
+ });
385
831
  AvatarImage.displayName = AvatarPrimitive.Image.displayName;
386
- var AvatarFallback = React4.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(
387
- AvatarPrimitive.Fallback,
388
- {
389
- ref,
390
- className: cn(
391
- "flex h-full w-full items-center justify-center rounded-full bg-muted",
392
- className
393
- ),
394
- ...props
395
- }
396
- ));
832
+ var AvatarFallback = React4.forwardRef(function(_param, ref) {
833
+ var className = _param.className, props = _object_without_properties(_param, [
834
+ "className"
835
+ ]);
836
+ return /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(AvatarPrimitive.Fallback, _object_spread({
837
+ ref: ref,
838
+ className: cn("flex h-full w-full items-center justify-center rounded-full bg-muted", className)
839
+ }, props));
840
+ });
397
841
  AvatarFallback.displayName = AvatarPrimitive.Fallback.displayName;
398
-
399
842
  // src/components/atoms/ui/scroll-area.tsx
400
843
  var React5 = __toESM(require("react"));
401
844
  var ScrollAreaPrimitive = __toESM(require("@radix-ui/react-scroll-area"));
402
845
  var import_jsx_runtime6 = require("react/jsx-runtime");
403
- var ScrollArea = React5.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)(
404
- ScrollAreaPrimitive.Root,
405
- {
406
- ref,
407
- className: cn("relative overflow-hidden", className),
408
- ...props,
409
- children: [
410
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(ScrollAreaPrimitive.Viewport, { className: "h-full w-full rounded-[inherit]", children }),
411
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(ScrollBar, {}),
412
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(ScrollAreaPrimitive.Corner, {})
413
- ]
414
- }
415
- ));
846
+ var ScrollArea = React5.forwardRef(function(_param, ref) {
847
+ var className = _param.className, children = _param.children, props = _object_without_properties(_param, [
848
+ "className",
849
+ "children"
850
+ ]);
851
+ return /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)(ScrollAreaPrimitive.Root, _object_spread_props(_object_spread({
852
+ ref: ref,
853
+ className: cn("relative overflow-hidden", className)
854
+ }, props), {
855
+ children: [
856
+ /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(ScrollAreaPrimitive.Viewport, {
857
+ className: "h-full w-full rounded-[inherit]",
858
+ children: children
859
+ }),
860
+ /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(ScrollBar, {}),
861
+ /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(ScrollAreaPrimitive.Corner, {})
862
+ ]
863
+ }));
864
+ });
416
865
  ScrollArea.displayName = ScrollAreaPrimitive.Root.displayName;
417
- var ScrollBar = React5.forwardRef(({ className, orientation = "vertical", ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(
418
- ScrollAreaPrimitive.ScrollAreaScrollbar,
419
- {
420
- ref,
421
- orientation,
422
- className: cn(
423
- "flex touch-none select-none transition-colors",
424
- orientation === "vertical" && "h-full w-2.5 border-l border-l-transparent p-[1px]",
425
- orientation === "horizontal" && "h-2.5 flex-col border-t border-t-transparent p-[1px]",
426
- className
427
- ),
428
- ...props,
429
- children: /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(ScrollAreaPrimitive.ScrollAreaThumb, { className: "relative flex-1 rounded-full bg-border" })
430
- }
431
- ));
866
+ var ScrollBar = React5.forwardRef(function(_param, ref) {
867
+ var className = _param.className, _param_orientation = _param.orientation, orientation = _param_orientation === void 0 ? "vertical" : _param_orientation, props = _object_without_properties(_param, [
868
+ "className",
869
+ "orientation"
870
+ ]);
871
+ return /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(ScrollAreaPrimitive.ScrollAreaScrollbar, _object_spread_props(_object_spread({
872
+ ref: ref,
873
+ orientation: orientation,
874
+ 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)
875
+ }, props), {
876
+ children: /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(ScrollAreaPrimitive.ScrollAreaThumb, {
877
+ className: "relative flex-1 rounded-full bg-border"
878
+ })
879
+ }));
880
+ });
432
881
  ScrollBar.displayName = ScrollAreaPrimitive.ScrollAreaScrollbar.displayName;
433
-
434
882
  // src/components/atoms/ui/rich-text.tsx
435
883
  var import_react_markdown = __toESM(require("react-markdown"));
436
884
  var import_remark_gfm = __toESM(require("remark-gfm"));
437
885
  var import_jsx_runtime7 = require("react/jsx-runtime");
438
- function RichText({ content, className }) {
439
- return /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(import_react_markdown.default, { className: cn(className), remarkPlugins: [import_remark_gfm.default], children: content });
886
+ function RichText(param) {
887
+ var content = param.content, className = param.className;
888
+ return /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(import_react_markdown.default, {
889
+ className: cn(className),
890
+ remarkPlugins: [
891
+ import_remark_gfm.default
892
+ ],
893
+ children: content
894
+ });
440
895
  }
441
-
442
896
  // src/components/atoms/ui/skeleton.tsx
443
897
  var import_jsx_runtime8 = require("react/jsx-runtime");
444
- function Skeleton({
445
- className,
446
- ...props
447
- }) {
448
- return /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(
449
- "div",
450
- {
451
- className: cn("animate-pulse rounded-md bg-muted text-muted-foreground", className, "alq--skeleton"),
452
- ...props
453
- }
454
- );
898
+ function Skeleton(_param) {
899
+ var className = _param.className, props = _object_without_properties(_param, [
900
+ "className"
901
+ ]);
902
+ return /* @__PURE__ */ (0, import_jsx_runtime8.jsx)("div", _object_spread({
903
+ className: cn("animate-pulse rounded-md bg-muted text-muted-foreground", className, "alq--skeleton")
904
+ }, props));
455
905
  }
456
-
457
906
  // src/components/atoms/ui/card.tsx
458
907
  var React6 = __toESM(require("react"));
459
908
  var import_jsx_runtime9 = require("react/jsx-runtime");
460
- var Card = React6.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
461
- "div",
462
- {
463
- ref,
464
- className: cn(
465
- "rounded-lg",
466
- " border",
467
- "bg-card",
468
- "text-card-foreground",
469
- "shadow-raised",
470
- className
471
- ),
472
- ...props
473
- }
474
- ));
909
+ var Card = React6.forwardRef(function(_param, ref) {
910
+ var className = _param.className, props = _object_without_properties(_param, [
911
+ "className"
912
+ ]);
913
+ return /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("div", _object_spread({
914
+ ref: ref,
915
+ className: cn("rounded-lg", " border", "bg-card", "text-card-foreground", "shadow-raised", className)
916
+ }, props));
917
+ });
475
918
  Card.displayName = "Card";
476
- var CardHeader = React6.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
477
- "div",
478
- {
479
- ref,
480
- className: cn("flex flex-col space-y-1.5 p-6", className),
481
- ...props
482
- }
483
- ));
919
+ var CardHeader = React6.forwardRef(function(_param, ref) {
920
+ var className = _param.className, props = _object_without_properties(_param, [
921
+ "className"
922
+ ]);
923
+ return /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("div", _object_spread({
924
+ ref: ref,
925
+ className: cn("flex flex-col space-y-1.5 p-6", className)
926
+ }, props));
927
+ });
484
928
  CardHeader.displayName = "CardHeader";
485
- var CardTitle = React6.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
486
- "h3",
487
- {
488
- ref,
489
- className: cn("alq--typography-heading4", className),
490
- ...props
491
- }
492
- ));
929
+ var CardTitle = React6.forwardRef(function(_param, ref) {
930
+ var className = _param.className, props = _object_without_properties(_param, [
931
+ "className"
932
+ ]);
933
+ return /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("h3", _object_spread({
934
+ ref: ref,
935
+ className: cn("alq--typography-heading4", className)
936
+ }, props));
937
+ });
493
938
  CardTitle.displayName = "CardTitle";
494
- var CardDescription = React6.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
495
- "p",
496
- {
497
- ref,
498
- className: cn("text-sm text-muted-foreground", className),
499
- ...props
500
- }
501
- ));
939
+ var CardDescription = React6.forwardRef(function(_param, ref) {
940
+ var className = _param.className, props = _object_without_properties(_param, [
941
+ "className"
942
+ ]);
943
+ return /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("p", _object_spread({
944
+ ref: ref,
945
+ className: cn("text-sm text-muted-foreground", className)
946
+ }, props));
947
+ });
502
948
  CardDescription.displayName = "CardDescription";
503
- var CardContent = React6.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("div", { ref, className: cn("p-6 pt-0", className), ...props }));
949
+ var CardContent = React6.forwardRef(function(_param, ref) {
950
+ var className = _param.className, props = _object_without_properties(_param, [
951
+ "className"
952
+ ]);
953
+ return /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("div", _object_spread({
954
+ ref: ref,
955
+ className: cn("p-6 pt-0", className)
956
+ }, props));
957
+ });
504
958
  CardContent.displayName = "CardContent";
505
- var CardFooter = React6.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
506
- "div",
507
- {
508
- ref,
509
- className: cn("flex items-center p-6 pt-0", className),
510
- ...props
511
- }
512
- ));
959
+ var CardFooter = React6.forwardRef(function(_param, ref) {
960
+ var className = _param.className, props = _object_without_properties(_param, [
961
+ "className"
962
+ ]);
963
+ return /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("div", _object_spread({
964
+ ref: ref,
965
+ className: cn("flex items-center p-6 pt-0", className)
966
+ }, props));
967
+ });
513
968
  CardFooter.displayName = "CardFooter";
514
-
515
969
  // src/components/atoms/ui/drawer.tsx
516
970
  var React7 = __toESM(require("react"));
517
971
  var import_vaul = require("vaul");
518
972
  var import_jsx_runtime10 = require("react/jsx-runtime");
519
- var Drawer = ({
520
- shouldScaleBackground = true,
521
- ...props
522
- }) => /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(
523
- import_vaul.Drawer.Root,
524
- {
525
- shouldScaleBackground,
526
- ...props
527
- }
528
- );
973
+ var Drawer = function(_param) {
974
+ var _param_shouldScaleBackground = _param.shouldScaleBackground, shouldScaleBackground = _param_shouldScaleBackground === void 0 ? true : _param_shouldScaleBackground, props = _object_without_properties(_param, [
975
+ "shouldScaleBackground"
976
+ ]);
977
+ return /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(import_vaul.Drawer.Root, _object_spread({
978
+ shouldScaleBackground: shouldScaleBackground
979
+ }, props));
980
+ };
529
981
  Drawer.displayName = "Drawer";
530
982
  var DrawerTrigger = import_vaul.Drawer.Trigger;
531
983
  var DrawerPortal = import_vaul.Drawer.Portal;
532
984
  var DrawerClose = import_vaul.Drawer.Close;
533
- var DrawerOverlay = React7.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(
534
- import_vaul.Drawer.Overlay,
535
- {
536
- ref,
537
- className: cn("fixed inset-0 z-50 bg-black/80", className),
538
- ...props
539
- }
540
- ));
985
+ var DrawerOverlay = React7.forwardRef(function(_param, ref) {
986
+ var className = _param.className, props = _object_without_properties(_param, [
987
+ "className"
988
+ ]);
989
+ return /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(import_vaul.Drawer.Overlay, _object_spread({
990
+ ref: ref,
991
+ className: cn("fixed inset-0 z-50 bg-black/80", className)
992
+ }, props));
993
+ });
541
994
  DrawerOverlay.displayName = import_vaul.Drawer.Overlay.displayName;
542
- var DrawerContent = React7.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime10.jsxs)(DrawerPortal, { children: [
543
- /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(DrawerOverlay, {}),
544
- /* @__PURE__ */ (0, import_jsx_runtime10.jsxs)(
545
- import_vaul.Drawer.Content,
546
- {
547
- ref,
548
- className: cn(
549
- "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",
550
- className
551
- ),
552
- ...props,
553
- children: [
554
- /* @__PURE__ */ (0, import_jsx_runtime10.jsx)("div", { className: "mx-auto mt-4 h-2 w-[100px] rounded-full bg-muted" }),
555
- children
556
- ]
557
- }
558
- )
559
- ] }));
995
+ var DrawerContent = React7.forwardRef(function(_param, ref) {
996
+ var className = _param.className, children = _param.children, props = _object_without_properties(_param, [
997
+ "className",
998
+ "children"
999
+ ]);
1000
+ return /* @__PURE__ */ (0, import_jsx_runtime10.jsxs)(DrawerPortal, {
1001
+ children: [
1002
+ /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(DrawerOverlay, {}),
1003
+ /* @__PURE__ */ (0, import_jsx_runtime10.jsxs)(import_vaul.Drawer.Content, _object_spread_props(_object_spread({
1004
+ ref: ref,
1005
+ 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)
1006
+ }, props), {
1007
+ children: [
1008
+ /* @__PURE__ */ (0, import_jsx_runtime10.jsx)("div", {
1009
+ className: "mx-auto mt-4 h-2 w-[100px] rounded-full bg-muted"
1010
+ }),
1011
+ children
1012
+ ]
1013
+ }))
1014
+ ]
1015
+ });
1016
+ });
560
1017
  DrawerContent.displayName = "DrawerContent";
561
- var DrawerHeader = ({
562
- className,
563
- ...props
564
- }) => /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(
565
- "div",
566
- {
567
- className: cn("grid gap-1.5 p-4 text-center sm:text-left", className, "alq--drawer-header"),
568
- ...props
569
- }
570
- );
1018
+ var DrawerHeader = function(_param) {
1019
+ var className = _param.className, props = _object_without_properties(_param, [
1020
+ "className"
1021
+ ]);
1022
+ return /* @__PURE__ */ (0, import_jsx_runtime10.jsx)("div", _object_spread({
1023
+ className: cn("grid gap-1.5 p-4 text-center sm:text-left", className, "alq--drawer-header")
1024
+ }, props));
1025
+ };
571
1026
  DrawerHeader.displayName = "DrawerHeader";
572
- var DrawerFooter = ({
573
- className,
574
- ...props
575
- }) => /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(
576
- "div",
577
- {
578
- className: cn("mt-auto flex flex-col gap-2 p-4", className, "alq--drawer-footer"),
579
- ...props
580
- }
581
- );
1027
+ var DrawerFooter = function(_param) {
1028
+ var className = _param.className, props = _object_without_properties(_param, [
1029
+ "className"
1030
+ ]);
1031
+ return /* @__PURE__ */ (0, import_jsx_runtime10.jsx)("div", _object_spread({
1032
+ className: cn("mt-auto flex flex-col gap-2 p-4", className, "alq--drawer-footer")
1033
+ }, props));
1034
+ };
582
1035
  DrawerFooter.displayName = "DrawerFooter";
583
- var DrawerTitle = React7.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(
584
- import_vaul.Drawer.Title,
585
- {
586
- ref,
587
- className: cn(
588
- "text-lg font-semibold leading-none tracking-tight",
589
- className,
590
- "alq--drawer-title"
591
- ),
592
- ...props
593
- }
594
- ));
1036
+ var DrawerTitle = React7.forwardRef(function(_param, ref) {
1037
+ var className = _param.className, props = _object_without_properties(_param, [
1038
+ "className"
1039
+ ]);
1040
+ return /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(import_vaul.Drawer.Title, _object_spread({
1041
+ ref: ref,
1042
+ className: cn("text-lg font-semibold leading-none tracking-tight", className, "alq--drawer-title")
1043
+ }, props));
1044
+ });
595
1045
  DrawerTitle.displayName = import_vaul.Drawer.Title.displayName;
596
- var DrawerDescription = React7.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(
597
- import_vaul.Drawer.Description,
598
- {
599
- ref,
600
- className: cn("text-sm text-muted-foreground", className, "alq--drawer-description"),
601
- ...props
602
- }
603
- ));
1046
+ var DrawerDescription = React7.forwardRef(function(_param, ref) {
1047
+ var className = _param.className, props = _object_without_properties(_param, [
1048
+ "className"
1049
+ ]);
1050
+ return /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(import_vaul.Drawer.Description, _object_spread({
1051
+ ref: ref,
1052
+ className: cn("text-sm text-muted-foreground", className, "alq--drawer-description")
1053
+ }, props));
1054
+ });
604
1055
  DrawerDescription.displayName = import_vaul.Drawer.Description.displayName;
605
-
606
1056
  // src/components/atoms/ui/typography/index.tsx
607
1057
  var import_react2 = require("react");
608
1058
  var import_jsx_runtime11 = require("react/jsx-runtime");
609
- var Typography = (0, import_react2.forwardRef)(
610
- ({ as: Component = "p", typeStyle, ...props }, ref) => {
611
- return /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(
612
- Component,
613
- {
614
- ...props,
615
- className: cn(props.className, `alq--typography-${typeStyle}`),
616
- ref
617
- }
618
- );
619
- }
620
- );
1059
+ var Typography = (0, import_react2.forwardRef)(function(_param, ref) {
1060
+ var tmp = _param.as, Component = tmp === void 0 ? "p" : tmp, typeStyle = _param.typeStyle, props = _object_without_properties(_param, [
1061
+ "as",
1062
+ "typeStyle"
1063
+ ]);
1064
+ return /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(Component, _object_spread_props(_object_spread({}, props), {
1065
+ className: cn(props.className, "alq--typography-".concat(typeStyle)),
1066
+ ref: ref
1067
+ }));
1068
+ });
621
1069
  Typography.displayName = "Typography";
622
-
623
1070
  // src/components/atoms/ui/badge.tsx
624
1071
  var import_class_variance_authority2 = require("class-variance-authority");
625
1072
  var import_jsx_runtime12 = require("react/jsx-runtime");
626
- var badgeVariants = (0, import_class_variance_authority2.cva)(
627
- "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",
628
- {
1073
+ var badgeVariants = (0, import_class_variance_authority2.cva)("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", {
629
1074
  variants: {
630
- variant: {
631
- default: "border-transparent bg-primary text-primary-foreground hover:bg-primary/80",
632
- secondary: "border-transparent bg-secondary text-secondary-foreground hover:bg-secondary/80",
633
- destructive: "border-transparent bg-destructive text-destructive-foreground hover:bg-destructive/80",
634
- outline: "text-foreground"
635
- }
1075
+ variant: {
1076
+ default: "border-transparent bg-primary text-primary-foreground hover:bg-primary/80",
1077
+ secondary: "border-transparent bg-secondary text-secondary-foreground hover:bg-secondary/80",
1078
+ destructive: "border-transparent bg-destructive text-destructive-foreground hover:bg-destructive/80",
1079
+ outline: "text-foreground"
1080
+ }
636
1081
  },
637
1082
  defaultVariants: {
638
- variant: "default"
1083
+ variant: "default"
639
1084
  }
640
- }
641
- );
642
- function Badge({ className, variant, ...props }) {
643
- return /* @__PURE__ */ (0, import_jsx_runtime12.jsx)("div", { className: cn(badgeVariants({ variant }), className, "alq--badge"), ...props });
1085
+ });
1086
+ function Badge(_param) {
1087
+ var className = _param.className, variant = _param.variant, props = _object_without_properties(_param, [
1088
+ "className",
1089
+ "variant"
1090
+ ]);
1091
+ return /* @__PURE__ */ (0, import_jsx_runtime12.jsx)("div", _object_spread({
1092
+ className: cn(badgeVariants({
1093
+ variant: variant
1094
+ }), className, "alq--badge")
1095
+ }, props));
644
1096
  }
645
-
646
1097
  // src/components/atoms/ui/alert.tsx
647
1098
  var React8 = __toESM(require("react"));
648
1099
  var import_class_variance_authority3 = require("class-variance-authority");
649
1100
  var import_jsx_runtime13 = require("react/jsx-runtime");
650
- var alertVariants = (0, import_class_variance_authority3.cva)(
651
- "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",
652
- {
1101
+ var alertVariants = (0, import_class_variance_authority3.cva)("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", {
653
1102
  variants: {
654
- variant: {
655
- default: "bg-background text-foreground",
656
- destructive: "border-destructive/50 text-destructive dark:border-destructive [&>svg]:text-destructive"
657
- }
1103
+ variant: {
1104
+ default: "bg-background text-foreground",
1105
+ destructive: "border-destructive/50 text-destructive dark:border-destructive [&>svg]:text-destructive"
1106
+ }
658
1107
  },
659
1108
  defaultVariants: {
660
- variant: "default"
1109
+ variant: "default"
661
1110
  }
662
- }
663
- );
664
- var Alert = React8.forwardRef(({ className, variant, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(
665
- "div",
666
- {
667
- ref,
668
- role: "alert",
669
- className: cn(alertVariants({ variant }), className),
670
- ...props
671
- }
672
- ));
1111
+ });
1112
+ var Alert = React8.forwardRef(function(_param, ref) {
1113
+ var className = _param.className, variant = _param.variant, props = _object_without_properties(_param, [
1114
+ "className",
1115
+ "variant"
1116
+ ]);
1117
+ return /* @__PURE__ */ (0, import_jsx_runtime13.jsx)("div", _object_spread({
1118
+ ref: ref,
1119
+ role: "alert",
1120
+ className: cn(alertVariants({
1121
+ variant: variant
1122
+ }), className)
1123
+ }, props));
1124
+ });
673
1125
  Alert.displayName = "Alert";
674
- var AlertTitle = React8.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(
675
- "h5",
676
- {
677
- ref,
678
- className: cn("mb-1 font-medium leading-none tracking-tight", className),
679
- ...props
680
- }
681
- ));
1126
+ var AlertTitle = React8.forwardRef(function(_param, ref) {
1127
+ var className = _param.className, props = _object_without_properties(_param, [
1128
+ "className"
1129
+ ]);
1130
+ return /* @__PURE__ */ (0, import_jsx_runtime13.jsx)("h5", _object_spread({
1131
+ ref: ref,
1132
+ className: cn("mb-1 font-medium leading-none tracking-tight", className)
1133
+ }, props));
1134
+ });
682
1135
  AlertTitle.displayName = "AlertTitle";
683
- var AlertDescription = React8.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(
684
- "div",
685
- {
686
- ref,
687
- className: cn("text-sm [&_p]:leading-relaxed", className),
688
- ...props
689
- }
690
- ));
1136
+ var AlertDescription = React8.forwardRef(function(_param, ref) {
1137
+ var className = _param.className, props = _object_without_properties(_param, [
1138
+ "className"
1139
+ ]);
1140
+ return /* @__PURE__ */ (0, import_jsx_runtime13.jsx)("div", _object_spread({
1141
+ ref: ref,
1142
+ className: cn("text-sm [&_p]:leading-relaxed", className)
1143
+ }, props));
1144
+ });
691
1145
  AlertDescription.displayName = "AlertDescription";
692
-
693
1146
  // src/components/atoms/ui/label.tsx
694
1147
  var React9 = __toESM(require("react"));
695
1148
  var LabelPrimitive = __toESM(require("@radix-ui/react-label"));
696
1149
  var import_class_variance_authority4 = require("class-variance-authority");
697
1150
  var import_jsx_runtime14 = require("react/jsx-runtime");
698
- var labelVariants = (0, import_class_variance_authority4.cva)(
699
- "text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70"
700
- );
701
- var Label2 = React9.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(
702
- LabelPrimitive.Root,
703
- {
704
- ref,
705
- className: cn(labelVariants(), className, "alq--label"),
706
- ...props
707
- }
708
- ));
1151
+ var labelVariants = (0, import_class_variance_authority4.cva)("text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70");
1152
+ var Label2 = React9.forwardRef(function(_param, ref) {
1153
+ var className = _param.className, props = _object_without_properties(_param, [
1154
+ "className"
1155
+ ]);
1156
+ return /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(LabelPrimitive.Root, _object_spread({
1157
+ ref: ref,
1158
+ className: cn(labelVariants(), className, "alq--label")
1159
+ }, props));
1160
+ });
709
1161
  Label2.displayName = LabelPrimitive.Root.displayName;
710
-
711
1162
  // src/components/atoms/ui/checkbox.tsx
712
1163
  var React10 = __toESM(require("react"));
713
1164
  var CheckboxPrimitive = __toESM(require("@radix-ui/react-checkbox"));
714
1165
  var import_lucide_react2 = require("lucide-react");
715
1166
  var import_jsx_runtime15 = require("react/jsx-runtime");
716
- var Checkbox = React10.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(
717
- CheckboxPrimitive.Root,
718
- {
719
- ref,
720
- className: cn(
721
- "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",
722
- className,
723
- "alq--checkbox"
724
- ),
725
- ...props,
726
- children: /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(
727
- CheckboxPrimitive.Indicator,
728
- {
729
- className: cn("flex items-center justify-center text-current"),
730
- children: /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(import_lucide_react2.Check, { className: "h-4 w-4" })
731
- }
732
- )
733
- }
734
- ));
1167
+ var Checkbox = React10.forwardRef(function(_param, ref) {
1168
+ var className = _param.className, props = _object_without_properties(_param, [
1169
+ "className"
1170
+ ]);
1171
+ return /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(CheckboxPrimitive.Root, _object_spread_props(_object_spread({
1172
+ ref: ref,
1173
+ 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")
1174
+ }, props), {
1175
+ children: /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(CheckboxPrimitive.Indicator, {
1176
+ className: cn("flex items-center justify-center text-current"),
1177
+ children: /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(import_lucide_react2.Check, {
1178
+ className: "h-4 w-4"
1179
+ })
1180
+ })
1181
+ }));
1182
+ });
735
1183
  Checkbox.displayName = CheckboxPrimitive.Root.displayName;
736
-
737
1184
  // src/components/atoms/ui/toggle.tsx
738
1185
  var React11 = __toESM(require("react"));
739
1186
  var TogglePrimitive = __toESM(require("@radix-ui/react-toggle"));
740
1187
  var import_class_variance_authority5 = require("class-variance-authority");
741
1188
  var import_jsx_runtime16 = require("react/jsx-runtime");
742
- var toggleVariants = (0, import_class_variance_authority5.cva)(
743
- "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",
744
- {
1189
+ var toggleVariants = (0, import_class_variance_authority5.cva)("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", {
745
1190
  variants: {
746
- variant: {
747
- default: "bg-transparent",
748
- outline: "border border-input bg-transparent hover:bg-accent hover:text-accent-foreground"
749
- },
750
- size: {
751
- default: "h-10 px-3",
752
- sm: "h-9 px-2.5",
753
- lg: "h-11 px-5"
754
- }
1191
+ variant: {
1192
+ default: "bg-transparent",
1193
+ outline: "border border-input bg-transparent hover:bg-accent hover:text-accent-foreground"
1194
+ },
1195
+ size: {
1196
+ default: "h-10 px-3",
1197
+ sm: "h-9 px-2.5",
1198
+ lg: "h-11 px-5"
1199
+ }
755
1200
  },
756
1201
  defaultVariants: {
757
- variant: "default",
758
- size: "default"
1202
+ variant: "default",
1203
+ size: "default"
759
1204
  }
760
- }
761
- );
762
- var Toggle = React11.forwardRef(({ className, variant, size, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(
763
- TogglePrimitive.Root,
764
- {
765
- ref,
766
- className: cn(toggleVariants({ variant, size, className }), "alq--toggle"),
767
- ...props
768
- }
769
- ));
1205
+ });
1206
+ var Toggle = React11.forwardRef(function(_param, ref) {
1207
+ var className = _param.className, variant = _param.variant, size = _param.size, props = _object_without_properties(_param, [
1208
+ "className",
1209
+ "variant",
1210
+ "size"
1211
+ ]);
1212
+ return /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(TogglePrimitive.Root, _object_spread({
1213
+ ref: ref,
1214
+ className: cn(toggleVariants({
1215
+ variant: variant,
1216
+ size: size,
1217
+ className: className
1218
+ }), "alq--toggle")
1219
+ }, props));
1220
+ });
770
1221
  Toggle.displayName = TogglePrimitive.Root.displayName;
771
-
772
1222
  // src/components/atoms/ui/slider.tsx
773
1223
  var React12 = __toESM(require("react"));
774
1224
  var SliderPrimitive = __toESM(require("@radix-ui/react-slider"));
775
1225
  var import_jsx_runtime17 = require("react/jsx-runtime");
776
- var Slider = React12.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime17.jsxs)(
777
- SliderPrimitive.Root,
778
- {
779
- ref,
780
- className: cn(
781
- "relative flex w-44 touch-none select-none items-center",
782
- className,
783
- "alq--slider"
784
- ),
785
- ...props,
786
- children: [
787
- /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(SliderPrimitive.Track, { className: "relative h-2 w-44 grow overflow-hidden rounded-full bg-primary", children: /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(SliderPrimitive.Range, { className: "absolute h-full bg-secondary" }) }),
788
- /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(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" })
789
- ]
790
- }
791
- ));
1226
+ var Slider = React12.forwardRef(function(_param, ref) {
1227
+ var className = _param.className, props = _object_without_properties(_param, [
1228
+ "className"
1229
+ ]);
1230
+ return /* @__PURE__ */ (0, import_jsx_runtime17.jsxs)(SliderPrimitive.Root, _object_spread_props(_object_spread({
1231
+ ref: ref,
1232
+ className: cn("relative flex w-44 touch-none select-none items-center", className, "alq--slider")
1233
+ }, props), {
1234
+ children: [
1235
+ /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(SliderPrimitive.Track, {
1236
+ className: "relative h-2 w-44 grow overflow-hidden rounded-full bg-primary",
1237
+ children: /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(SliderPrimitive.Range, {
1238
+ className: "absolute h-full bg-secondary"
1239
+ })
1240
+ }),
1241
+ /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(SliderPrimitive.Thumb, {
1242
+ 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"
1243
+ })
1244
+ ]
1245
+ }));
1246
+ });
792
1247
  Slider.displayName = SliderPrimitive.Root.displayName;
793
-
794
1248
  // src/components/atoms/ui/switch.tsx
795
1249
  var React13 = __toESM(require("react"));
796
1250
  var SwitchPrimitives = __toESM(require("@radix-ui/react-switch"));
797
1251
  var import_jsx_runtime18 = require("react/jsx-runtime");
798
- var Switch = React13.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
799
- SwitchPrimitives.Root,
800
- {
801
- className: cn(
802
- "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",
803
- className,
804
- "alq--switch"
805
- ),
806
- ...props,
807
- ref,
808
- children: /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
809
- SwitchPrimitives.Thumb,
810
- {
811
- className: cn(
812
- "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"
813
- )
814
- }
815
- )
816
- }
817
- ));
1252
+ var Switch = React13.forwardRef(function(_param, ref) {
1253
+ var className = _param.className, props = _object_without_properties(_param, [
1254
+ "className"
1255
+ ]);
1256
+ return /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(SwitchPrimitives.Root, _object_spread_props(_object_spread({
1257
+ 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")
1258
+ }, props), {
1259
+ ref: ref,
1260
+ children: /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(SwitchPrimitives.Thumb, {
1261
+ 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")
1262
+ })
1263
+ }));
1264
+ });
818
1265
  Switch.displayName = SwitchPrimitives.Root.displayName;
819
-
820
1266
  // src/components/atoms/ui/tabs.tsx
821
1267
  var React14 = __toESM(require("react"));
822
1268
  var TabsPrimitive = __toESM(require("@radix-ui/react-tabs"));
823
1269
  var import_jsx_runtime19 = require("react/jsx-runtime");
824
1270
  var Tabs = TabsPrimitive.Root;
825
- var TabsList = React14.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(
826
- TabsPrimitive.List,
827
- {
828
- ref,
829
- className: cn(
830
- "inline-flex h-10 items-center justify-center rounded-md p-1 text-muted-foreground",
831
- className,
832
- "alq--tabs"
833
- ),
834
- ...props
835
- }
836
- ));
1271
+ var TabsList = React14.forwardRef(function(_param, ref) {
1272
+ var className = _param.className, props = _object_without_properties(_param, [
1273
+ "className"
1274
+ ]);
1275
+ return /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(TabsPrimitive.List, _object_spread({
1276
+ ref: ref,
1277
+ className: cn("inline-flex h-10 items-center justify-center rounded-md p-1 text-muted-foreground", className, "alq--tabs")
1278
+ }, props));
1279
+ });
837
1280
  TabsList.displayName = TabsPrimitive.List.displayName;
838
- var TabsTrigger = React14.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(
839
- TabsPrimitive.Trigger,
840
- {
841
- ref,
842
- className: cn(
843
- "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",
844
- className
845
- ),
846
- ...props
847
- }
848
- ));
1281
+ var TabsTrigger = React14.forwardRef(function(_param, ref) {
1282
+ var className = _param.className, props = _object_without_properties(_param, [
1283
+ "className"
1284
+ ]);
1285
+ return /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(TabsPrimitive.Trigger, _object_spread({
1286
+ ref: ref,
1287
+ 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)
1288
+ }, props));
1289
+ });
849
1290
  TabsTrigger.displayName = TabsPrimitive.Trigger.displayName;
850
- var TabsContent = React14.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(
851
- TabsPrimitive.Content,
852
- {
853
- ref,
854
- className: cn(
855
- "mt-2 ring-offset-background focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2",
856
- className
857
- ),
858
- ...props
859
- }
860
- ));
1291
+ var TabsContent = React14.forwardRef(function(_param, ref) {
1292
+ var className = _param.className, props = _object_without_properties(_param, [
1293
+ "className"
1294
+ ]);
1295
+ return /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(TabsPrimitive.Content, _object_spread({
1296
+ ref: ref,
1297
+ 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)
1298
+ }, props));
1299
+ });
861
1300
  TabsContent.displayName = TabsPrimitive.Content.displayName;
862
-
863
1301
  // src/components/atoms/ui/aspect-ratio.tsx
864
1302
  var AspectRatioPrimitive = __toESM(require("@radix-ui/react-aspect-ratio"));
865
1303
  var AspectRatio = AspectRatioPrimitive.Root;
866
-
867
1304
  // src/components/atoms/ui/table.tsx
868
1305
  var React15 = __toESM(require("react"));
869
1306
  var import_jsx_runtime20 = require("react/jsx-runtime");
870
- var Table = React15.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime20.jsx)("div", { className: "relative w-full overflow-auto", children: /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(
871
- "table",
872
- {
873
- ref,
874
- className: cn("w-full caption-bottom text-sm text-foreground bg-background", className, "alq--table"),
875
- ...props
876
- }
877
- ) }));
1307
+ var Table = React15.forwardRef(function(_param, ref) {
1308
+ var className = _param.className, props = _object_without_properties(_param, [
1309
+ "className"
1310
+ ]);
1311
+ return /* @__PURE__ */ (0, import_jsx_runtime20.jsx)("div", {
1312
+ className: "relative w-full overflow-auto",
1313
+ children: /* @__PURE__ */ (0, import_jsx_runtime20.jsx)("table", _object_spread({
1314
+ ref: ref,
1315
+ className: cn("w-full caption-bottom text-sm text-foreground bg-background", className, "alq--table")
1316
+ }, props))
1317
+ });
1318
+ });
878
1319
  Table.displayName = "Table";
879
- var TableHeader = React15.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime20.jsx)("thead", { ref, className: cn("[&_tr]:border-b border-border bg-muted", className, "alq--table-header"), ...props }));
1320
+ var TableHeader = React15.forwardRef(function(_param, ref) {
1321
+ var className = _param.className, props = _object_without_properties(_param, [
1322
+ "className"
1323
+ ]);
1324
+ return /* @__PURE__ */ (0, import_jsx_runtime20.jsx)("thead", _object_spread({
1325
+ ref: ref,
1326
+ className: cn("[&_tr]:border-b border-border bg-muted", className, "alq--table-header")
1327
+ }, props));
1328
+ });
880
1329
  TableHeader.displayName = "TableHeader";
881
- var TableBody = React15.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(
882
- "tbody",
883
- {
884
- ref,
885
- className: cn("[&_tr:last-child]:border-0 [&_tr]:border-b border-border", className, "alq--table-body"),
886
- ...props
887
- }
888
- ));
1330
+ var TableBody = React15.forwardRef(function(_param, ref) {
1331
+ var className = _param.className, props = _object_without_properties(_param, [
1332
+ "className"
1333
+ ]);
1334
+ return /* @__PURE__ */ (0, import_jsx_runtime20.jsx)("tbody", _object_spread({
1335
+ ref: ref,
1336
+ className: cn("[&_tr:last-child]:border-0 [&_tr]:border-b border-border", className, "alq--table-body")
1337
+ }, props));
1338
+ });
889
1339
  TableBody.displayName = "TableBody";
890
- var TableFooter = React15.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(
891
- "tfoot",
892
- {
893
- ref,
894
- className: cn(
895
- "border-t border-border bg-muted/50 font-medium [&>tr]:last:border-b-0",
896
- className,
897
- "alq--table-footer"
898
- ),
899
- ...props
900
- }
901
- ));
1340
+ var TableFooter = React15.forwardRef(function(_param, ref) {
1341
+ var className = _param.className, props = _object_without_properties(_param, [
1342
+ "className"
1343
+ ]);
1344
+ return /* @__PURE__ */ (0, import_jsx_runtime20.jsx)("tfoot", _object_spread({
1345
+ ref: ref,
1346
+ className: cn("border-t border-border bg-muted/50 font-medium [&>tr]:last:border-b-0", className, "alq--table-footer")
1347
+ }, props));
1348
+ });
902
1349
  TableFooter.displayName = "TableFooter";
903
- var TableRow = React15.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(
904
- "tr",
905
- {
906
- ref,
907
- className: cn(
908
- "border-b transition-colors hover:bg-muted/50 data-[state=selected]:bg-muted",
909
- className
910
- ),
911
- ...props
912
- }
913
- ));
1350
+ var TableRow = React15.forwardRef(function(_param, ref) {
1351
+ var className = _param.className, props = _object_without_properties(_param, [
1352
+ "className"
1353
+ ]);
1354
+ return /* @__PURE__ */ (0, import_jsx_runtime20.jsx)("tr", _object_spread({
1355
+ ref: ref,
1356
+ className: cn("border-b transition-colors hover:bg-muted/50 data-[state=selected]:bg-muted", className)
1357
+ }, props));
1358
+ });
914
1359
  TableRow.displayName = "TableRow";
915
- var TableHead = React15.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(
916
- "th",
917
- {
918
- ref,
919
- className: cn(
920
- "h-12 px-4 text-left align-middle font-medium text-muted-foreground [&:has([role=checkbox])]:pr-0",
921
- className
922
- ),
923
- ...props
924
- }
925
- ));
1360
+ var TableHead = React15.forwardRef(function(_param, ref) {
1361
+ var className = _param.className, props = _object_without_properties(_param, [
1362
+ "className"
1363
+ ]);
1364
+ return /* @__PURE__ */ (0, import_jsx_runtime20.jsx)("th", _object_spread({
1365
+ ref: ref,
1366
+ className: cn("h-12 px-4 text-left align-middle font-medium text-muted-foreground [&:has([role=checkbox])]:pr-0", className)
1367
+ }, props));
1368
+ });
926
1369
  TableHead.displayName = "TableHead";
927
- var TableCell = React15.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(
928
- "td",
929
- {
930
- ref,
931
- className: cn("p-4 align-middle [&:has([role=checkbox])]:pr-0", className),
932
- ...props
933
- }
934
- ));
1370
+ var TableCell = React15.forwardRef(function(_param, ref) {
1371
+ var className = _param.className, props = _object_without_properties(_param, [
1372
+ "className"
1373
+ ]);
1374
+ return /* @__PURE__ */ (0, import_jsx_runtime20.jsx)("td", _object_spread({
1375
+ ref: ref,
1376
+ className: cn("p-4 align-middle [&:has([role=checkbox])]:pr-0", className)
1377
+ }, props));
1378
+ });
935
1379
  TableCell.displayName = "TableCell";
936
- var TableCaption = React15.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(
937
- "caption",
938
- {
939
- ref,
940
- className: cn("mt-4 text-sm text-muted-foreground", className),
941
- ...props
942
- }
943
- ));
1380
+ var TableCaption = React15.forwardRef(function(_param, ref) {
1381
+ var className = _param.className, props = _object_without_properties(_param, [
1382
+ "className"
1383
+ ]);
1384
+ return /* @__PURE__ */ (0, import_jsx_runtime20.jsx)("caption", _object_spread({
1385
+ ref: ref,
1386
+ className: cn("mt-4 text-sm text-muted-foreground", className)
1387
+ }, props));
1388
+ });
944
1389
  TableCaption.displayName = "TableCaption";
945
-
946
1390
  // src/components/atoms/ui/breadcrumb.tsx
947
1391
  var React16 = __toESM(require("react"));
948
1392
  var import_react_slot2 = require("@radix-ui/react-slot");
949
1393
  var import_lucide_react3 = require("lucide-react");
950
1394
  var import_jsx_runtime21 = require("react/jsx-runtime");
951
- var Breadcrumb = React16.forwardRef(({ ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime21.jsx)("nav", { ref, "aria-label": "breadcrumb", ...props }));
1395
+ var Breadcrumb = React16.forwardRef(function(_param, ref) {
1396
+ var props = _extends({}, _object_destructuring_empty(_param));
1397
+ return /* @__PURE__ */ (0, import_jsx_runtime21.jsx)("nav", _object_spread({
1398
+ ref: ref,
1399
+ "aria-label": "breadcrumb"
1400
+ }, props));
1401
+ });
952
1402
  Breadcrumb.displayName = "Breadcrumb";
953
- var BreadcrumbList = React16.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(
954
- "ol",
955
- {
956
- ref,
957
- className: cn(
958
- "flex flex-wrap items-center gap-1.5 break-words text-sm text-muted-foreground sm:gap-2.5",
959
- className
960
- ),
961
- ...props
962
- }
963
- ));
1403
+ var BreadcrumbList = React16.forwardRef(function(_param, ref) {
1404
+ var className = _param.className, props = _object_without_properties(_param, [
1405
+ "className"
1406
+ ]);
1407
+ return /* @__PURE__ */ (0, import_jsx_runtime21.jsx)("ol", _object_spread({
1408
+ ref: ref,
1409
+ className: cn("flex flex-wrap items-center gap-1.5 break-words text-sm text-muted-foreground sm:gap-2.5", className)
1410
+ }, props));
1411
+ });
964
1412
  BreadcrumbList.displayName = "BreadcrumbList";
965
- var BreadcrumbItem = React16.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(
966
- "li",
967
- {
968
- ref,
969
- className: cn("inline-flex items-center gap-1.5", className),
970
- ...props
971
- }
972
- ));
1413
+ var BreadcrumbItem = React16.forwardRef(function(_param, ref) {
1414
+ var className = _param.className, props = _object_without_properties(_param, [
1415
+ "className"
1416
+ ]);
1417
+ return /* @__PURE__ */ (0, import_jsx_runtime21.jsx)("li", _object_spread({
1418
+ ref: ref,
1419
+ className: cn("inline-flex items-center gap-1.5", className)
1420
+ }, props));
1421
+ });
973
1422
  BreadcrumbItem.displayName = "BreadcrumbItem";
974
- var BreadcrumbLink = React16.forwardRef(({ asChild, className, ...props }, ref) => {
975
- const Comp = asChild ? import_react_slot2.Slot : "a";
976
- return /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(
977
- Comp,
978
- {
979
- ref,
980
- className: cn("transition-colors hover:text-foreground", className),
981
- ...props
982
- }
983
- );
1423
+ var BreadcrumbLink = React16.forwardRef(function(_param, ref) {
1424
+ var asChild = _param.asChild, className = _param.className, props = _object_without_properties(_param, [
1425
+ "asChild",
1426
+ "className"
1427
+ ]);
1428
+ var Comp = asChild ? import_react_slot2.Slot : "a";
1429
+ return /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(Comp, _object_spread({
1430
+ ref: ref,
1431
+ className: cn("transition-colors hover:text-foreground", className)
1432
+ }, props));
984
1433
  });
985
1434
  BreadcrumbLink.displayName = "BreadcrumbLink";
986
- var BreadcrumbPage = React16.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(
987
- "span",
988
- {
989
- ref,
990
- role: "link",
991
- "aria-disabled": "true",
992
- "aria-current": "page",
993
- className: cn("font-normal text-foreground", className),
994
- ...props
995
- }
996
- ));
1435
+ var BreadcrumbPage = React16.forwardRef(function(_param, ref) {
1436
+ var className = _param.className, props = _object_without_properties(_param, [
1437
+ "className"
1438
+ ]);
1439
+ return /* @__PURE__ */ (0, import_jsx_runtime21.jsx)("span", _object_spread({
1440
+ ref: ref,
1441
+ role: "link",
1442
+ "aria-disabled": "true",
1443
+ "aria-current": "page",
1444
+ className: cn("font-normal text-foreground", className)
1445
+ }, props));
1446
+ });
997
1447
  BreadcrumbPage.displayName = "BreadcrumbPage";
998
- var BreadcrumbSeparator = ({
999
- children,
1000
- className,
1001
- ...props
1002
- }) => /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(
1003
- "li",
1004
- {
1005
- role: "presentation",
1006
- "aria-hidden": "true",
1007
- className: cn("[&>svg]:w-3.5 [&>svg]:h-3.5", className),
1008
- ...props,
1009
- children: children ?? /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(import_lucide_react3.ChevronRight, {})
1010
- }
1011
- );
1448
+ var BreadcrumbSeparator = function(_param) {
1449
+ var children = _param.children, className = _param.className, props = _object_without_properties(_param, [
1450
+ "children",
1451
+ "className"
1452
+ ]);
1453
+ return /* @__PURE__ */ (0, import_jsx_runtime21.jsx)("li", _object_spread_props(_object_spread({
1454
+ role: "presentation",
1455
+ "aria-hidden": "true",
1456
+ className: cn("[&>svg]:w-3.5 [&>svg]:h-3.5", className)
1457
+ }, props), {
1458
+ children: children !== null && children !== void 0 ? children : /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(import_lucide_react3.ChevronRight, {})
1459
+ }));
1460
+ };
1012
1461
  BreadcrumbSeparator.displayName = "BreadcrumbSeparator";
1013
- var BreadcrumbEllipsis = ({
1014
- className,
1015
- ...props
1016
- }) => /* @__PURE__ */ (0, import_jsx_runtime21.jsxs)(
1017
- "span",
1018
- {
1019
- role: "presentation",
1020
- "aria-hidden": "true",
1021
- className: cn("flex h-9 w-9 items-center justify-center", className),
1022
- ...props,
1023
- children: [
1024
- /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(import_lucide_react3.MoreHorizontal, { className: "h-4 w-4" }),
1025
- /* @__PURE__ */ (0, import_jsx_runtime21.jsx)("span", { className: "sr-only", children: "More" })
1026
- ]
1027
- }
1028
- );
1462
+ var BreadcrumbEllipsis = function(_param) {
1463
+ var className = _param.className, props = _object_without_properties(_param, [
1464
+ "className"
1465
+ ]);
1466
+ return /* @__PURE__ */ (0, import_jsx_runtime21.jsxs)("span", _object_spread_props(_object_spread({
1467
+ role: "presentation",
1468
+ "aria-hidden": "true",
1469
+ className: cn("flex h-9 w-9 items-center justify-center", className)
1470
+ }, props), {
1471
+ children: [
1472
+ /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(import_lucide_react3.MoreHorizontal, {
1473
+ className: "h-4 w-4"
1474
+ }),
1475
+ /* @__PURE__ */ (0, import_jsx_runtime21.jsx)("span", {
1476
+ className: "sr-only",
1477
+ children: "More"
1478
+ })
1479
+ ]
1480
+ }));
1481
+ };
1029
1482
  BreadcrumbEllipsis.displayName = "BreadcrumbElipssis";
1030
-
1031
1483
  // src/components/molecules/alert-dialog.tsx
1032
1484
  var React17 = __toESM(require("react"));
1033
1485
  var AlertDialogPrimitive = __toESM(require("@radix-ui/react-alert-dialog"));
@@ -1035,128 +1487,118 @@ var import_jsx_runtime22 = require("react/jsx-runtime");
1035
1487
  var AlertDialog = AlertDialogPrimitive.Root;
1036
1488
  var AlertDialogTrigger = AlertDialogPrimitive.Trigger;
1037
1489
  var AlertDialogPortal = AlertDialogPrimitive.Portal;
1038
- var AlertDialogOverlay = React17.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(
1039
- AlertDialogPrimitive.Overlay,
1040
- {
1041
- className: cn(
1042
- "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",
1043
- className
1044
- ),
1045
- ...props,
1046
- ref
1047
- }
1048
- ));
1490
+ var AlertDialogOverlay = React17.forwardRef(function(_param, ref) {
1491
+ var className = _param.className, props = _object_without_properties(_param, [
1492
+ "className"
1493
+ ]);
1494
+ return /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(AlertDialogPrimitive.Overlay, _object_spread_props(_object_spread({
1495
+ 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)
1496
+ }, props), {
1497
+ ref: ref
1498
+ }));
1499
+ });
1049
1500
  AlertDialogOverlay.displayName = AlertDialogPrimitive.Overlay.displayName;
1050
- var AlertDialogContent = React17.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime22.jsxs)(AlertDialogPortal, { children: [
1051
- /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(AlertDialogOverlay, {}),
1052
- /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(
1053
- AlertDialogPrimitive.Content,
1054
- {
1055
- ref,
1056
- className: cn(
1057
- "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",
1058
- className
1059
- ),
1060
- ...props
1061
- }
1062
- )
1063
- ] }));
1501
+ var AlertDialogContent = React17.forwardRef(function(_param, ref) {
1502
+ var className = _param.className, props = _object_without_properties(_param, [
1503
+ "className"
1504
+ ]);
1505
+ return /* @__PURE__ */ (0, import_jsx_runtime22.jsxs)(AlertDialogPortal, {
1506
+ children: [
1507
+ /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(AlertDialogOverlay, {}),
1508
+ /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(AlertDialogPrimitive.Content, _object_spread({
1509
+ ref: ref,
1510
+ 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)
1511
+ }, props))
1512
+ ]
1513
+ });
1514
+ });
1064
1515
  AlertDialogContent.displayName = AlertDialogPrimitive.Content.displayName;
1065
- var AlertDialogHeader = ({
1066
- className,
1067
- ...props
1068
- }) => /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(
1069
- "div",
1070
- {
1071
- className: cn(
1072
- "flex flex-col space-y-2 text-center sm:text-left",
1073
- className
1074
- ),
1075
- ...props
1076
- }
1077
- );
1516
+ var AlertDialogHeader = function(_param) {
1517
+ var className = _param.className, props = _object_without_properties(_param, [
1518
+ "className"
1519
+ ]);
1520
+ return /* @__PURE__ */ (0, import_jsx_runtime22.jsx)("div", _object_spread({
1521
+ className: cn("flex flex-col space-y-2 text-center sm:text-left", className)
1522
+ }, props));
1523
+ };
1078
1524
  AlertDialogHeader.displayName = "AlertDialogHeader";
1079
- var AlertDialogFooter = ({
1080
- className,
1081
- ...props
1082
- }) => /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(
1083
- "div",
1084
- {
1085
- className: cn(
1086
- "flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2",
1087
- className
1088
- ),
1089
- ...props
1090
- }
1091
- );
1525
+ var AlertDialogFooter = function(_param) {
1526
+ var className = _param.className, props = _object_without_properties(_param, [
1527
+ "className"
1528
+ ]);
1529
+ return /* @__PURE__ */ (0, import_jsx_runtime22.jsx)("div", _object_spread({
1530
+ className: cn("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2", className)
1531
+ }, props));
1532
+ };
1092
1533
  AlertDialogFooter.displayName = "AlertDialogFooter";
1093
- var AlertDialogTitle = React17.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(
1094
- AlertDialogPrimitive.Title,
1095
- {
1096
- ref,
1097
- className: cn("text-lg font-semibold", className),
1098
- ...props
1099
- }
1100
- ));
1534
+ var AlertDialogTitle = React17.forwardRef(function(_param, ref) {
1535
+ var className = _param.className, props = _object_without_properties(_param, [
1536
+ "className"
1537
+ ]);
1538
+ return /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(AlertDialogPrimitive.Title, _object_spread({
1539
+ ref: ref,
1540
+ className: cn("text-lg font-semibold", className)
1541
+ }, props));
1542
+ });
1101
1543
  AlertDialogTitle.displayName = AlertDialogPrimitive.Title.displayName;
1102
- var AlertDialogDescription = React17.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(
1103
- AlertDialogPrimitive.Description,
1104
- {
1105
- ref,
1106
- className: cn("text-sm text-muted-foreground", className),
1107
- ...props
1108
- }
1109
- ));
1544
+ var AlertDialogDescription = React17.forwardRef(function(_param, ref) {
1545
+ var className = _param.className, props = _object_without_properties(_param, [
1546
+ "className"
1547
+ ]);
1548
+ return /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(AlertDialogPrimitive.Description, _object_spread({
1549
+ ref: ref,
1550
+ className: cn("text-sm text-muted-foreground", className)
1551
+ }, props));
1552
+ });
1110
1553
  AlertDialogDescription.displayName = AlertDialogPrimitive.Description.displayName;
1111
- var AlertDialogAction = React17.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(
1112
- AlertDialogPrimitive.Action,
1113
- {
1114
- ref,
1115
- className: cn(buttonVariants(), className),
1116
- ...props
1117
- }
1118
- ));
1554
+ var AlertDialogAction = React17.forwardRef(function(_param, ref) {
1555
+ var className = _param.className, props = _object_without_properties(_param, [
1556
+ "className"
1557
+ ]);
1558
+ return /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(AlertDialogPrimitive.Action, _object_spread({
1559
+ ref: ref,
1560
+ className: cn(buttonVariants(), className)
1561
+ }, props));
1562
+ });
1119
1563
  AlertDialogAction.displayName = AlertDialogPrimitive.Action.displayName;
1120
- var AlertDialogCancel = React17.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(
1121
- AlertDialogPrimitive.Cancel,
1122
- {
1123
- ref,
1124
- className: cn(
1125
- buttonVariants({ variant: "outline" }),
1126
- "mt-2 sm:mt-0",
1127
- className
1128
- ),
1129
- ...props
1130
- }
1131
- ));
1564
+ var AlertDialogCancel = React17.forwardRef(function(_param, ref) {
1565
+ var className = _param.className, props = _object_without_properties(_param, [
1566
+ "className"
1567
+ ]);
1568
+ return /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(AlertDialogPrimitive.Cancel, _object_spread({
1569
+ ref: ref,
1570
+ className: cn(buttonVariants({
1571
+ variant: "outline"
1572
+ }), "mt-2 sm:mt-0", className)
1573
+ }, props));
1574
+ });
1132
1575
  AlertDialogCancel.displayName = AlertDialogPrimitive.Cancel.displayName;
1133
-
1134
1576
  // src/components/atoms/ui/popover.tsx
1135
1577
  var React18 = __toESM(require("react"));
1136
1578
  var PopoverPrimitive = __toESM(require("@radix-ui/react-popover"));
1137
1579
  var import_jsx_runtime23 = require("react/jsx-runtime");
1138
1580
  var Popover = PopoverPrimitive.Root;
1139
1581
  var PopoverTrigger = PopoverPrimitive.Trigger;
1140
- var PopoverContent = React18.forwardRef(({ className, align = "center", sideOffset = 4, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(PopoverPrimitive.Portal, { children: /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(
1141
- PopoverPrimitive.Content,
1142
- {
1143
- ref,
1144
- align,
1145
- sideOffset,
1146
- className: cn(
1147
- "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",
1148
- className
1149
- ),
1150
- ...props
1151
- }
1152
- ) }));
1582
+ var PopoverContent = React18.forwardRef(function(_param, ref) {
1583
+ 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, [
1584
+ "className",
1585
+ "align",
1586
+ "sideOffset"
1587
+ ]);
1588
+ return /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(PopoverPrimitive.Portal, {
1589
+ children: /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(PopoverPrimitive.Content, _object_spread({
1590
+ ref: ref,
1591
+ align: align,
1592
+ sideOffset: sideOffset,
1593
+ 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)
1594
+ }, props))
1595
+ });
1596
+ });
1153
1597
  PopoverContent.displayName = PopoverPrimitive.Content.displayName;
1154
-
1155
1598
  // src/components/atoms/ui/command.tsx
1156
1599
  var React20 = __toESM(require("react"));
1157
1600
  var import_cmdk = require("cmdk");
1158
1601
  var import_lucide_react5 = require("lucide-react");
1159
-
1160
1602
  // src/components/atoms/ui/dialog.tsx
1161
1603
  var React19 = __toESM(require("react"));
1162
1604
  var DialogPrimitive = __toESM(require("@radix-ui/react-dialog"));
@@ -1166,193 +1608,187 @@ var Dialog = DialogPrimitive.Root;
1166
1608
  var DialogTrigger = DialogPrimitive.Trigger;
1167
1609
  var DialogPortal = DialogPrimitive.Portal;
1168
1610
  var DialogClose = DialogPrimitive.Close;
1169
- var DialogOverlay = React19.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(
1170
- DialogPrimitive.Overlay,
1171
- {
1172
- ref,
1173
- className: cn(
1174
- "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",
1175
- className
1176
- ),
1177
- ...props
1178
- }
1179
- ));
1611
+ var DialogOverlay = React19.forwardRef(function(_param, ref) {
1612
+ var className = _param.className, props = _object_without_properties(_param, [
1613
+ "className"
1614
+ ]);
1615
+ return /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(DialogPrimitive.Overlay, _object_spread({
1616
+ ref: ref,
1617
+ 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)
1618
+ }, props));
1619
+ });
1180
1620
  DialogOverlay.displayName = DialogPrimitive.Overlay.displayName;
1181
- var DialogContent = React19.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime24.jsxs)(DialogPortal, { children: [
1182
- /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(DialogOverlay, {}),
1183
- /* @__PURE__ */ (0, import_jsx_runtime24.jsxs)(
1184
- DialogPrimitive.Content,
1185
- {
1186
- ref,
1187
- className: cn(
1188
- "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",
1189
- className,
1190
- "alq--dialog-content"
1191
- ),
1192
- ...props,
1193
- children: [
1194
- children,
1195
- /* @__PURE__ */ (0, import_jsx_runtime24.jsxs)(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: [
1196
- /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(import_lucide_react4.X, { className: "h-4 w-4" }),
1197
- /* @__PURE__ */ (0, import_jsx_runtime24.jsx)("span", { className: "sr-only", children: "Close" })
1198
- ] })
1199
- ]
1200
- }
1201
- )
1202
- ] }));
1621
+ var DialogContent = React19.forwardRef(function(_param, ref) {
1622
+ var className = _param.className, children = _param.children, props = _object_without_properties(_param, [
1623
+ "className",
1624
+ "children"
1625
+ ]);
1626
+ return /* @__PURE__ */ (0, import_jsx_runtime24.jsxs)(DialogPortal, {
1627
+ children: [
1628
+ /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(DialogOverlay, {}),
1629
+ /* @__PURE__ */ (0, import_jsx_runtime24.jsxs)(DialogPrimitive.Content, _object_spread_props(_object_spread({
1630
+ ref: ref,
1631
+ 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")
1632
+ }, props), {
1633
+ children: [
1634
+ children,
1635
+ /* @__PURE__ */ (0, import_jsx_runtime24.jsxs)(DialogPrimitive.Close, {
1636
+ 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",
1637
+ children: [
1638
+ /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(import_lucide_react4.X, {
1639
+ className: "h-4 w-4"
1640
+ }),
1641
+ /* @__PURE__ */ (0, import_jsx_runtime24.jsx)("span", {
1642
+ className: "sr-only",
1643
+ children: "Close"
1644
+ })
1645
+ ]
1646
+ })
1647
+ ]
1648
+ }))
1649
+ ]
1650
+ });
1651
+ });
1203
1652
  DialogContent.displayName = DialogPrimitive.Content.displayName;
1204
- var DialogHeader = ({
1205
- className,
1206
- ...props
1207
- }) => /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(
1208
- "div",
1209
- {
1210
- className: cn(
1211
- "flex flex-col space-y-1.5 text-center sm:text-left text-foreground",
1212
- className,
1213
- "alq--dialog-header"
1214
- ),
1215
- ...props
1216
- }
1217
- );
1653
+ var DialogHeader = function(_param) {
1654
+ var className = _param.className, props = _object_without_properties(_param, [
1655
+ "className"
1656
+ ]);
1657
+ return /* @__PURE__ */ (0, import_jsx_runtime24.jsx)("div", _object_spread({
1658
+ className: cn("flex flex-col space-y-1.5 text-center sm:text-left text-foreground", className, "alq--dialog-header")
1659
+ }, props));
1660
+ };
1218
1661
  DialogHeader.displayName = "DialogHeader";
1219
- var DialogFooter = ({
1220
- className,
1221
- ...props
1222
- }) => /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(
1223
- "div",
1224
- {
1225
- className: cn(
1226
- "flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2",
1227
- className
1228
- ),
1229
- ...props
1230
- }
1231
- );
1662
+ var DialogFooter = function(_param) {
1663
+ var className = _param.className, props = _object_without_properties(_param, [
1664
+ "className"
1665
+ ]);
1666
+ return /* @__PURE__ */ (0, import_jsx_runtime24.jsx)("div", _object_spread({
1667
+ className: cn("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2", className)
1668
+ }, props));
1669
+ };
1232
1670
  DialogFooter.displayName = "DialogFooter";
1233
- var DialogTitle = React19.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(
1234
- DialogPrimitive.Title,
1235
- {
1236
- ref,
1237
- className: cn(
1238
- "text-lg font-semibold leading-none tracking-tight text-foreground",
1239
- className,
1240
- "alq--dialog-title"
1241
- ),
1242
- ...props
1243
- }
1244
- ));
1671
+ var DialogTitle = React19.forwardRef(function(_param, ref) {
1672
+ var className = _param.className, props = _object_without_properties(_param, [
1673
+ "className"
1674
+ ]);
1675
+ return /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(DialogPrimitive.Title, _object_spread({
1676
+ ref: ref,
1677
+ className: cn("text-lg font-semibold leading-none tracking-tight text-foreground", className, "alq--dialog-title")
1678
+ }, props));
1679
+ });
1245
1680
  DialogTitle.displayName = DialogPrimitive.Title.displayName;
1246
- var DialogDescription = React19.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(
1247
- DialogPrimitive.Description,
1248
- {
1249
- ref,
1250
- className: cn("text-sm text-muted-foreground", className),
1251
- ...props
1252
- }
1253
- ));
1681
+ var DialogDescription = React19.forwardRef(function(_param, ref) {
1682
+ var className = _param.className, props = _object_without_properties(_param, [
1683
+ "className"
1684
+ ]);
1685
+ return /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(DialogPrimitive.Description, _object_spread({
1686
+ ref: ref,
1687
+ className: cn("text-sm text-muted-foreground", className)
1688
+ }, props));
1689
+ });
1254
1690
  DialogDescription.displayName = DialogPrimitive.Description.displayName;
1255
-
1256
1691
  // src/components/atoms/ui/command.tsx
1257
1692
  var import_jsx_runtime25 = require("react/jsx-runtime");
1258
- var Command = React20.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
1259
- import_cmdk.Command,
1260
- {
1261
- ref,
1262
- className: cn(
1263
- "flex h-full w-full flex-col overflow-hidden rounded-md bg-popover text-popover-foreground",
1264
- className
1265
- ),
1266
- ...props
1267
- }
1268
- ));
1693
+ var Command = React20.forwardRef(function(_param, ref) {
1694
+ var className = _param.className, props = _object_without_properties(_param, [
1695
+ "className"
1696
+ ]);
1697
+ return /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(import_cmdk.Command, _object_spread({
1698
+ ref: ref,
1699
+ className: cn("flex h-full w-full flex-col overflow-hidden rounded-md bg-popover text-popover-foreground", className)
1700
+ }, props));
1701
+ });
1269
1702
  Command.displayName = import_cmdk.Command.displayName;
1270
- var CommandDialog = ({ children, ...props }) => {
1271
- return /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(Dialog, { ...props, children: /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(DialogContent, { className: "overflow-hidden p-0 shadow-lg", children: /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(Command, { className: "[&_[cmdk-group-heading]]:px-2 [&_[cmdk-group-heading]]:font-medium [&_[cmdk-group-heading]]:text-muted-foreground [&_[cmdk-group]:not([hidden])_~[cmdk-group]]:pt-0 [&_[cmdk-group]]:px-2 [&_[cmdk-input-wrapper]_svg]:h-5 [&_[cmdk-input-wrapper]_svg]:w-5 [&_[cmdk-input]]:h-12 [&_[cmdk-item]]:px-2 [&_[cmdk-item]]:py-3 [&_[cmdk-item]_svg]:h-5 [&_[cmdk-item]_svg]:w-5", children }) }) });
1703
+ var CommandDialog = function(_param) {
1704
+ var children = _param.children, props = _object_without_properties(_param, [
1705
+ "children"
1706
+ ]);
1707
+ return /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(Dialog, _object_spread_props(_object_spread({}, props), {
1708
+ children: /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(DialogContent, {
1709
+ className: "overflow-hidden p-0 shadow-lg",
1710
+ children: /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(Command, {
1711
+ className: "[&_[cmdk-group-heading]]:px-2 [&_[cmdk-group-heading]]:font-medium [&_[cmdk-group-heading]]:text-muted-foreground [&_[cmdk-group]:not([hidden])_~[cmdk-group]]:pt-0 [&_[cmdk-group]]:px-2 [&_[cmdk-input-wrapper]_svg]:h-5 [&_[cmdk-input-wrapper]_svg]:w-5 [&_[cmdk-input]]:h-12 [&_[cmdk-item]]:px-2 [&_[cmdk-item]]:py-3 [&_[cmdk-item]_svg]:h-5 [&_[cmdk-item]_svg]:w-5",
1712
+ children: children
1713
+ })
1714
+ })
1715
+ }));
1272
1716
  };
1273
- var CommandInput = React20.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime25.jsxs)("div", { className: "flex items-center border-b px-3", "cmdk-input-wrapper": "", children: [
1274
- /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(import_lucide_react5.Search, { className: "mr-2 h-4 w-4 shrink-0 opacity-50" }),
1275
- /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
1276
- import_cmdk.Command.Input,
1277
- {
1278
- ref,
1279
- className: cn(
1280
- "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",
1281
- className
1282
- ),
1283
- ...props
1284
- }
1285
- )
1286
- ] }));
1717
+ var CommandInput = React20.forwardRef(function(_param, ref) {
1718
+ var className = _param.className, props = _object_without_properties(_param, [
1719
+ "className"
1720
+ ]);
1721
+ return /* @__PURE__ */ (0, import_jsx_runtime25.jsxs)("div", {
1722
+ className: "flex items-center border-b px-3",
1723
+ "cmdk-input-wrapper": "",
1724
+ children: [
1725
+ /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(import_lucide_react5.Search, {
1726
+ className: "mr-2 h-4 w-4 shrink-0 opacity-50"
1727
+ }),
1728
+ /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(import_cmdk.Command.Input, _object_spread({
1729
+ ref: ref,
1730
+ 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)
1731
+ }, props))
1732
+ ]
1733
+ });
1734
+ });
1287
1735
  CommandInput.displayName = import_cmdk.Command.Input.displayName;
1288
- var CommandList = React20.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
1289
- import_cmdk.Command.List,
1290
- {
1291
- ref,
1292
- className: cn("max-h-[300px] overflow-y-auto overflow-x-hidden", className),
1293
- ...props
1294
- }
1295
- ));
1736
+ var CommandList = React20.forwardRef(function(_param, ref) {
1737
+ var className = _param.className, props = _object_without_properties(_param, [
1738
+ "className"
1739
+ ]);
1740
+ return /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(import_cmdk.Command.List, _object_spread({
1741
+ ref: ref,
1742
+ className: cn("max-h-[300px] overflow-y-auto overflow-x-hidden", className)
1743
+ }, props));
1744
+ });
1296
1745
  CommandList.displayName = import_cmdk.Command.List.displayName;
1297
- var CommandEmpty = React20.forwardRef((props, ref) => /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
1298
- import_cmdk.Command.Empty,
1299
- {
1300
- ref,
1301
- className: "py-6 text-center text-sm",
1302
- ...props
1303
- }
1304
- ));
1746
+ var CommandEmpty = React20.forwardRef(function(props, ref) {
1747
+ return /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(import_cmdk.Command.Empty, _object_spread({
1748
+ ref: ref,
1749
+ className: "py-6 text-center text-sm"
1750
+ }, props));
1751
+ });
1305
1752
  CommandEmpty.displayName = import_cmdk.Command.Empty.displayName;
1306
- var CommandGroup = React20.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
1307
- import_cmdk.Command.Group,
1308
- {
1309
- ref,
1310
- className: cn(
1311
- "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",
1312
- className
1313
- ),
1314
- ...props
1315
- }
1316
- ));
1753
+ var CommandGroup = React20.forwardRef(function(_param, ref) {
1754
+ var className = _param.className, props = _object_without_properties(_param, [
1755
+ "className"
1756
+ ]);
1757
+ return /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(import_cmdk.Command.Group, _object_spread({
1758
+ ref: ref,
1759
+ 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)
1760
+ }, props));
1761
+ });
1317
1762
  CommandGroup.displayName = import_cmdk.Command.Group.displayName;
1318
- var CommandSeparator = React20.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
1319
- import_cmdk.Command.Separator,
1320
- {
1321
- ref,
1322
- className: cn("-mx-1 h-px bg-border", className),
1323
- ...props
1324
- }
1325
- ));
1763
+ var CommandSeparator = React20.forwardRef(function(_param, ref) {
1764
+ var className = _param.className, props = _object_without_properties(_param, [
1765
+ "className"
1766
+ ]);
1767
+ return /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(import_cmdk.Command.Separator, _object_spread({
1768
+ ref: ref,
1769
+ className: cn("-mx-1 h-px bg-border", className)
1770
+ }, props));
1771
+ });
1326
1772
  CommandSeparator.displayName = import_cmdk.Command.Separator.displayName;
1327
- var CommandItem = React20.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
1328
- import_cmdk.Command.Item,
1329
- {
1330
- ref,
1331
- className: cn(
1332
- "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",
1333
- className
1334
- ),
1335
- ...props
1336
- }
1337
- ));
1773
+ var CommandItem = React20.forwardRef(function(_param, ref) {
1774
+ var className = _param.className, props = _object_without_properties(_param, [
1775
+ "className"
1776
+ ]);
1777
+ return /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(import_cmdk.Command.Item, _object_spread({
1778
+ ref: ref,
1779
+ 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)
1780
+ }, props));
1781
+ });
1338
1782
  CommandItem.displayName = import_cmdk.Command.Item.displayName;
1339
- var CommandShortcut = ({
1340
- className,
1341
- ...props
1342
- }) => {
1343
- return /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
1344
- "span",
1345
- {
1346
- className: cn(
1347
- "ml-auto text-xs tracking-widest text-muted-foreground",
1348
- className
1349
- ),
1350
- ...props
1351
- }
1352
- );
1783
+ var CommandShortcut = function(_param) {
1784
+ var className = _param.className, props = _object_without_properties(_param, [
1785
+ "className"
1786
+ ]);
1787
+ return /* @__PURE__ */ (0, import_jsx_runtime25.jsx)("span", _object_spread({
1788
+ className: cn("ml-auto text-xs tracking-widest text-muted-foreground", className)
1789
+ }, props));
1353
1790
  };
1354
1791
  CommandShortcut.displayName = "CommandShortcut";
1355
-
1356
1792
  // src/components/atoms/ui/toast.tsx
1357
1793
  var React21 = __toESM(require("react"));
1358
1794
  var ToastPrimitives = __toESM(require("@radix-ui/react-toast"));
@@ -1360,375 +1796,598 @@ var import_class_variance_authority6 = require("class-variance-authority");
1360
1796
  var import_lucide_react6 = require("lucide-react");
1361
1797
  var import_jsx_runtime26 = require("react/jsx-runtime");
1362
1798
  var ToastProvider = ToastPrimitives.Provider;
1363
- var ToastViewport = React21.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
1364
- ToastPrimitives.Viewport,
1365
- {
1366
- ref,
1367
- className: cn(
1368
- "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]",
1369
- className
1370
- ),
1371
- ...props
1372
- }
1373
- ));
1799
+ var ToastViewport = React21.forwardRef(function(_param, ref) {
1800
+ var className = _param.className, props = _object_without_properties(_param, [
1801
+ "className"
1802
+ ]);
1803
+ return /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(ToastPrimitives.Viewport, _object_spread({
1804
+ ref: ref,
1805
+ 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)
1806
+ }, props));
1807
+ });
1374
1808
  ToastViewport.displayName = ToastPrimitives.Viewport.displayName;
1375
- var toastVariants = (0, import_class_variance_authority6.cva)(
1376
- "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",
1377
- {
1809
+ var toastVariants = (0, import_class_variance_authority6.cva)("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", {
1378
1810
  variants: {
1379
- variant: {
1380
- default: "border bg-background text-foreground",
1381
- destructive: "destructive group border-destructive bg-destructive text-destructive-foreground"
1382
- }
1811
+ variant: {
1812
+ default: "border bg-background text-foreground",
1813
+ destructive: "destructive group border-destructive bg-destructive text-destructive-foreground"
1814
+ }
1383
1815
  },
1384
1816
  defaultVariants: {
1385
- variant: "default"
1817
+ variant: "default"
1386
1818
  }
1387
- }
1388
- );
1389
- var Toast = React21.forwardRef(({ className, variant, ...props }, ref) => {
1390
- return /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
1391
- ToastPrimitives.Root,
1392
- {
1393
- ref,
1394
- className: cn(toastVariants({ variant }), className),
1395
- ...props
1396
- }
1397
- );
1819
+ });
1820
+ var Toast = React21.forwardRef(function(_param, ref) {
1821
+ var className = _param.className, variant = _param.variant, props = _object_without_properties(_param, [
1822
+ "className",
1823
+ "variant"
1824
+ ]);
1825
+ return /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(ToastPrimitives.Root, _object_spread({
1826
+ ref: ref,
1827
+ className: cn(toastVariants({
1828
+ variant: variant
1829
+ }), className)
1830
+ }, props));
1398
1831
  });
1399
1832
  Toast.displayName = ToastPrimitives.Root.displayName;
1400
- var ToastAction = React21.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
1401
- ToastPrimitives.Action,
1402
- {
1403
- ref,
1404
- className: cn(
1405
- "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",
1406
- className
1407
- ),
1408
- ...props
1409
- }
1410
- ));
1833
+ var ToastAction = React21.forwardRef(function(_param, ref) {
1834
+ var className = _param.className, props = _object_without_properties(_param, [
1835
+ "className"
1836
+ ]);
1837
+ return /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(ToastPrimitives.Action, _object_spread({
1838
+ ref: ref,
1839
+ 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)
1840
+ }, props));
1841
+ });
1411
1842
  ToastAction.displayName = ToastPrimitives.Action.displayName;
1412
- var ToastClose = React21.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
1413
- ToastPrimitives.Close,
1414
- {
1415
- ref,
1416
- className: cn(
1417
- "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",
1418
- className
1419
- ),
1420
- "toast-close": "",
1421
- ...props,
1422
- children: /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(import_lucide_react6.X, { className: "h-4 w-4" })
1423
- }
1424
- ));
1843
+ var ToastClose = React21.forwardRef(function(_param, ref) {
1844
+ var className = _param.className, props = _object_without_properties(_param, [
1845
+ "className"
1846
+ ]);
1847
+ return /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(ToastPrimitives.Close, _object_spread_props(_object_spread({
1848
+ ref: ref,
1849
+ 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),
1850
+ "toast-close": ""
1851
+ }, props), {
1852
+ children: /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(import_lucide_react6.X, {
1853
+ className: "h-4 w-4"
1854
+ })
1855
+ }));
1856
+ });
1425
1857
  ToastClose.displayName = ToastPrimitives.Close.displayName;
1426
- var ToastTitle = React21.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
1427
- ToastPrimitives.Title,
1428
- {
1429
- ref,
1430
- className: cn("text-sm font-semibold", className),
1431
- ...props
1432
- }
1433
- ));
1858
+ var ToastTitle = React21.forwardRef(function(_param, ref) {
1859
+ var className = _param.className, props = _object_without_properties(_param, [
1860
+ "className"
1861
+ ]);
1862
+ return /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(ToastPrimitives.Title, _object_spread({
1863
+ ref: ref,
1864
+ className: cn("text-sm font-semibold", className)
1865
+ }, props));
1866
+ });
1434
1867
  ToastTitle.displayName = ToastPrimitives.Title.displayName;
1435
- var ToastDescription = React21.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
1436
- ToastPrimitives.Description,
1437
- {
1438
- ref,
1439
- className: cn("text-sm opacity-90", className),
1440
- ...props
1441
- }
1442
- ));
1868
+ var ToastDescription = React21.forwardRef(function(_param, ref) {
1869
+ var className = _param.className, props = _object_without_properties(_param, [
1870
+ "className"
1871
+ ]);
1872
+ return /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(ToastPrimitives.Description, _object_spread({
1873
+ ref: ref,
1874
+ className: cn("text-sm opacity-90", className)
1875
+ }, props));
1876
+ });
1443
1877
  ToastDescription.displayName = ToastPrimitives.Description.displayName;
1444
-
1445
1878
  // src/components/atoms/ui/loader.tsx
1446
1879
  var React22 = __toESM(require("react"));
1447
1880
  var import_class_variance_authority7 = require("class-variance-authority");
1448
1881
  var import_lucide_react7 = require("lucide-react");
1449
1882
  var import_jsx_runtime27 = require("react/jsx-runtime");
1450
- var loaderVariants = (0, import_class_variance_authority7.cva)(
1451
- "flex justify-center items-center w-full",
1452
- {
1883
+ var loaderVariants = (0, import_class_variance_authority7.cva)("flex justify-center items-center w-full", {
1453
1884
  variants: {
1454
- size: {
1455
- small: "h-6 w-6",
1456
- medium: "h-8 w-8",
1457
- large: "h-12 w-12",
1458
- xl: "h-24 w-24"
1459
- },
1460
- colorVariant: {
1461
- default: "text-primary",
1462
- primary: "text-primary",
1463
- secondary: "text-secondary",
1464
- destructive: "text-destructive"
1465
- }
1885
+ size: {
1886
+ small: "h-6 w-6",
1887
+ medium: "h-8 w-8",
1888
+ large: "h-12 w-12",
1889
+ xl: "h-24 w-24"
1890
+ },
1891
+ colorVariant: {
1892
+ default: "text-primary",
1893
+ primary: "text-primary",
1894
+ secondary: "text-secondary",
1895
+ destructive: "text-destructive"
1896
+ }
1466
1897
  },
1467
1898
  defaultVariants: {
1468
- size: "medium",
1469
- colorVariant: "default"
1470
- }
1471
- }
1472
- );
1473
- var Loader = React22.forwardRef(
1474
- ({ className, size, colorVariant, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
1475
- "div",
1476
- {
1477
- ref,
1478
- className: cn(loaderVariants({ size, colorVariant }), "flex justify-center items-center h-full w-full", className),
1479
- ...props,
1480
- children: /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(import_lucide_react7.Loader2, { className: "animate-spin" })
1899
+ size: "medium",
1900
+ colorVariant: "default"
1481
1901
  }
1482
- )
1483
- );
1902
+ });
1903
+ var Loader = React22.forwardRef(function(_param, ref) {
1904
+ var className = _param.className, size = _param.size, colorVariant = _param.colorVariant, props = _object_without_properties(_param, [
1905
+ "className",
1906
+ "size",
1907
+ "colorVariant"
1908
+ ]);
1909
+ return /* @__PURE__ */ (0, import_jsx_runtime27.jsx)("div", _object_spread_props(_object_spread({
1910
+ ref: ref,
1911
+ className: cn(loaderVariants({
1912
+ size: size,
1913
+ colorVariant: colorVariant
1914
+ }), "flex justify-center items-center h-full w-full", className)
1915
+ }, props), {
1916
+ children: /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(import_lucide_react7.Loader2, {
1917
+ className: "animate-spin"
1918
+ })
1919
+ }));
1920
+ });
1484
1921
  Loader.displayName = "Loader";
1485
-
1486
1922
  // src/components/atoms/ui/separator.tsx
1487
1923
  var React23 = __toESM(require("react"));
1488
1924
  var SeparatorPrimitive = __toESM(require("@radix-ui/react-separator"));
1489
1925
  var import_jsx_runtime28 = require("react/jsx-runtime");
1490
- var Separator2 = React23.forwardRef(({ className, orientation = "horizontal", decorative = true, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
1491
- SeparatorPrimitive.Root,
1492
- {
1493
- ref,
1494
- decorative,
1495
- orientation,
1496
- className: cn(
1497
- "shrink-0 bg-border",
1498
- orientation === "horizontal" ? "h-[1px] w-full" : "h-full w-[1px]",
1499
- className,
1500
- "alq--separator"
1501
- ),
1502
- ...props
1503
- }
1504
- ));
1926
+ var Separator2 = React23.forwardRef(function(_param, ref) {
1927
+ 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, [
1928
+ "className",
1929
+ "orientation",
1930
+ "decorative"
1931
+ ]);
1932
+ return /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(SeparatorPrimitive.Root, _object_spread({
1933
+ ref: ref,
1934
+ decorative: decorative,
1935
+ orientation: orientation,
1936
+ className: cn("shrink-0 bg-border", orientation === "horizontal" ? "h-[1px] w-full" : "h-full w-[1px]", className, "alq--separator")
1937
+ }, props));
1938
+ });
1505
1939
  Separator2.displayName = SeparatorPrimitive.Root.displayName;
1506
-
1507
1940
  // src/components/hooks/use-toast.ts
1508
1941
  var React24 = __toESM(require("react"));
1509
1942
  var TOAST_LIMIT = 1;
1510
1943
  var TOAST_REMOVE_DELAY = 1e6;
1511
1944
  var count = 0;
1512
1945
  function genId() {
1513
- count = (count + 1) % Number.MAX_SAFE_INTEGER;
1514
- return count.toString();
1946
+ count = (count + 1) % Number.MAX_SAFE_INTEGER;
1947
+ return count.toString();
1515
1948
  }
1516
1949
  var toastTimeouts = /* @__PURE__ */ new Map();
1517
- var addToRemoveQueue = (toastId) => {
1518
- if (toastTimeouts.has(toastId)) {
1519
- return;
1520
- }
1521
- const timeout = setTimeout(() => {
1522
- toastTimeouts.delete(toastId);
1523
- dispatch({
1524
- type: "REMOVE_TOAST",
1525
- toastId
1526
- });
1527
- }, TOAST_REMOVE_DELAY);
1528
- toastTimeouts.set(toastId, timeout);
1529
- };
1530
- var reducer = (state, action) => {
1531
- switch (action.type) {
1532
- case "ADD_TOAST":
1533
- return {
1534
- ...state,
1535
- toasts: [action.toast, ...state.toasts].slice(0, TOAST_LIMIT)
1536
- };
1537
- case "UPDATE_TOAST":
1538
- return {
1539
- ...state,
1540
- toasts: state.toasts.map(
1541
- (t) => t.id === action.toast.id ? { ...t, ...action.toast } : t
1542
- )
1543
- };
1544
- case "DISMISS_TOAST": {
1545
- const { toastId } = action;
1546
- if (toastId) {
1547
- addToRemoveQueue(toastId);
1548
- } else {
1549
- state.toasts.forEach((toast2) => {
1550
- addToRemoveQueue(toast2.id);
1950
+ var addToRemoveQueue = function(toastId) {
1951
+ if (toastTimeouts.has(toastId)) {
1952
+ return;
1953
+ }
1954
+ var timeout = setTimeout(function() {
1955
+ toastTimeouts.delete(toastId);
1956
+ dispatch({
1957
+ type: "REMOVE_TOAST",
1958
+ toastId: toastId
1551
1959
  });
1552
- }
1553
- return {
1554
- ...state,
1555
- toasts: state.toasts.map(
1556
- (t) => t.id === toastId || toastId === void 0 ? {
1557
- ...t,
1558
- open: false
1559
- } : t
1560
- )
1561
- };
1960
+ }, TOAST_REMOVE_DELAY);
1961
+ toastTimeouts.set(toastId, timeout);
1962
+ };
1963
+ var reducer = function(state, action) {
1964
+ switch(action.type){
1965
+ case "ADD_TOAST":
1966
+ return _object_spread_props(_object_spread({}, state), {
1967
+ toasts: [
1968
+ action.toast
1969
+ ].concat(_to_consumable_array(state.toasts)).slice(0, TOAST_LIMIT)
1970
+ });
1971
+ case "UPDATE_TOAST":
1972
+ return _object_spread_props(_object_spread({}, state), {
1973
+ toasts: state.toasts.map(function(t) {
1974
+ return t.id === action.toast.id ? _object_spread({}, t, action.toast) : t;
1975
+ })
1976
+ });
1977
+ case "DISMISS_TOAST":
1978
+ {
1979
+ var toastId = action.toastId;
1980
+ if (toastId) {
1981
+ addToRemoveQueue(toastId);
1982
+ } else {
1983
+ state.toasts.forEach(function(toast2) {
1984
+ addToRemoveQueue(toast2.id);
1985
+ });
1986
+ }
1987
+ return _object_spread_props(_object_spread({}, state), {
1988
+ toasts: state.toasts.map(function(t) {
1989
+ return t.id === toastId || toastId === void 0 ? _object_spread_props(_object_spread({}, t), {
1990
+ open: false
1991
+ }) : t;
1992
+ })
1993
+ });
1994
+ }
1995
+ case "REMOVE_TOAST":
1996
+ if (action.toastId === void 0) {
1997
+ return _object_spread_props(_object_spread({}, state), {
1998
+ toasts: []
1999
+ });
2000
+ }
2001
+ return _object_spread_props(_object_spread({}, state), {
2002
+ toasts: state.toasts.filter(function(t) {
2003
+ return t.id !== action.toastId;
2004
+ })
2005
+ });
1562
2006
  }
1563
- case "REMOVE_TOAST":
1564
- if (action.toastId === void 0) {
1565
- return {
1566
- ...state,
1567
- toasts: []
1568
- };
1569
- }
1570
- return {
1571
- ...state,
1572
- toasts: state.toasts.filter((t) => t.id !== action.toastId)
1573
- };
1574
- }
1575
2007
  };
1576
2008
  var listeners = [];
1577
- var memoryState = { toasts: [] };
2009
+ var memoryState = {
2010
+ toasts: []
2011
+ };
1578
2012
  function dispatch(action) {
1579
- memoryState = reducer(memoryState, action);
1580
- listeners.forEach((listener) => {
1581
- listener(memoryState);
1582
- });
2013
+ memoryState = reducer(memoryState, action);
2014
+ listeners.forEach(function(listener) {
2015
+ listener(memoryState);
2016
+ });
1583
2017
  }
1584
- function toast({ ...props }) {
1585
- const id = genId();
1586
- const update = (props2) => dispatch({
1587
- type: "UPDATE_TOAST",
1588
- toast: { ...props2, id }
1589
- });
1590
- const dismiss = () => dispatch({ type: "DISMISS_TOAST", toastId: id });
1591
- dispatch({
1592
- type: "ADD_TOAST",
1593
- toast: {
1594
- ...props,
1595
- id,
1596
- open: true,
1597
- onOpenChange: (open) => {
1598
- if (!open) dismiss();
1599
- }
1600
- }
1601
- });
1602
- return {
1603
- id,
1604
- dismiss,
1605
- update
1606
- };
2018
+ function toast(_param) {
2019
+ var props = _extends({}, _object_destructuring_empty(_param));
2020
+ var id = genId();
2021
+ var update = function(props2) {
2022
+ return dispatch({
2023
+ type: "UPDATE_TOAST",
2024
+ toast: _object_spread_props(_object_spread({}, props2), {
2025
+ id: id
2026
+ })
2027
+ });
2028
+ };
2029
+ var dismiss = function() {
2030
+ return dispatch({
2031
+ type: "DISMISS_TOAST",
2032
+ toastId: id
2033
+ });
2034
+ };
2035
+ dispatch({
2036
+ type: "ADD_TOAST",
2037
+ toast: _object_spread_props(_object_spread({}, props), {
2038
+ id: id,
2039
+ open: true,
2040
+ onOpenChange: function(open) {
2041
+ if (!open) dismiss();
2042
+ }
2043
+ })
2044
+ });
2045
+ return {
2046
+ id: id,
2047
+ dismiss: dismiss,
2048
+ update: update
2049
+ };
1607
2050
  }
1608
2051
  function useToast() {
1609
- const [state, setState] = React24.useState(memoryState);
1610
- React24.useEffect(() => {
1611
- listeners.push(setState);
1612
- return () => {
1613
- const index = listeners.indexOf(setState);
1614
- if (index > -1) {
1615
- listeners.splice(index, 1);
1616
- }
1617
- };
1618
- }, [state]);
1619
- return {
1620
- ...state,
1621
- toast,
1622
- dismiss: (toastId) => dispatch({ type: "DISMISS_TOAST", toastId })
1623
- };
2052
+ var _React24_useState = _sliced_to_array(React24.useState(memoryState), 2), state = _React24_useState[0], setState = _React24_useState[1];
2053
+ React24.useEffect(function() {
2054
+ listeners.push(setState);
2055
+ return function() {
2056
+ var index = listeners.indexOf(setState);
2057
+ if (index > -1) {
2058
+ listeners.splice(index, 1);
2059
+ }
2060
+ };
2061
+ }, [
2062
+ state
2063
+ ]);
2064
+ return _object_spread_props(_object_spread({}, state), {
2065
+ toast: toast,
2066
+ dismiss: function(toastId) {
2067
+ return dispatch({
2068
+ type: "DISMISS_TOAST",
2069
+ toastId: toastId
2070
+ });
2071
+ }
2072
+ });
1624
2073
  }
1625
-
1626
2074
  // src/components/atoms/ui/toaster.tsx
1627
2075
  var import_jsx_runtime29 = require("react/jsx-runtime");
1628
2076
  function Toaster() {
1629
- const { toasts } = useToast();
1630
- return /* @__PURE__ */ (0, import_jsx_runtime29.jsxs)(ToastProvider, { children: [
1631
- toasts.map(function({ id, title, description, action, ...props }) {
1632
- return /* @__PURE__ */ (0, import_jsx_runtime29.jsxs)(Toast, { ...props, children: [
1633
- /* @__PURE__ */ (0, import_jsx_runtime29.jsxs)("div", { className: "grid gap-1", children: [
1634
- title && /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(ToastTitle, { children: title }),
1635
- description && /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(ToastDescription, { children: description })
1636
- ] }),
1637
- action,
1638
- /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(ToastClose, {})
1639
- ] }, id);
1640
- }),
1641
- /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(ToastViewport, {})
1642
- ] });
2077
+ var toasts = useToast().toasts;
2078
+ return /* @__PURE__ */ (0, import_jsx_runtime29.jsxs)(ToastProvider, {
2079
+ children: [
2080
+ toasts.map(function(_param) {
2081
+ var id = _param.id, title = _param.title, description = _param.description, action = _param.action, props = _object_without_properties(_param, [
2082
+ "id",
2083
+ "title",
2084
+ "description",
2085
+ "action"
2086
+ ]);
2087
+ return /* @__PURE__ */ (0, import_jsx_runtime29.jsxs)(Toast, _object_spread_props(_object_spread({}, props), {
2088
+ children: [
2089
+ /* @__PURE__ */ (0, import_jsx_runtime29.jsxs)("div", {
2090
+ className: "grid gap-1",
2091
+ children: [
2092
+ title && /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(ToastTitle, {
2093
+ children: title
2094
+ }),
2095
+ description && /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(ToastDescription, {
2096
+ children: description
2097
+ })
2098
+ ]
2099
+ }),
2100
+ action,
2101
+ /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(ToastClose, {})
2102
+ ]
2103
+ }), id);
2104
+ }),
2105
+ /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(ToastViewport, {})
2106
+ ]
2107
+ });
1643
2108
  }
1644
-
1645
2109
  // src/components/atoms/ui/think-indicator.tsx
1646
2110
  var React25 = __toESM(require("react"));
1647
2111
  var import_react3 = require("react");
1648
2112
  var import_class_variance_authority8 = require("class-variance-authority");
1649
2113
  var import_jsx_runtime30 = require("react/jsx-runtime");
1650
- var thinkIndicatorVariants = (0, import_class_variance_authority8.cva)(
1651
- "flex items-center gap-3",
1652
- {
2114
+ var thinkIndicatorVariants = (0, import_class_variance_authority8.cva)("flex items-center gap-3", {
1653
2115
  variants: {
1654
- variant: {
1655
- default: "text-muted-foreground",
1656
- primary: "text-primary",
1657
- secondary: "text-secondary"
1658
- },
1659
- size: {
1660
- default: "gap-3",
1661
- sm: "gap-2",
1662
- lg: "gap-4"
1663
- }
2116
+ variant: {
2117
+ default: "text-muted-foreground",
2118
+ primary: "text-primary",
2119
+ secondary: "text-secondary"
2120
+ },
2121
+ size: {
2122
+ default: "gap-3",
2123
+ sm: "gap-2",
2124
+ lg: "gap-4"
2125
+ }
1664
2126
  },
1665
2127
  defaultVariants: {
1666
- variant: "default",
1667
- size: "default"
2128
+ variant: "default",
2129
+ size: "default"
1668
2130
  }
1669
- }
1670
- );
1671
- var ThinkIndicator = React25.forwardRef(
1672
- ({
1673
- className,
1674
- variant,
1675
- size,
1676
- thoughts = [
1677
- "Analyzing your request...",
1678
- "Processing information...",
1679
- "Formulating response..."
1680
- ],
1681
- interval = 5e3,
1682
- loader,
1683
- ...props
1684
- }, ref) => {
1685
- const [currentThoughtIndex, setCurrentThoughtIndex] = (0, import_react3.useState)(0);
1686
- const [isAnimating, setIsAnimating] = (0, import_react3.useState)(false);
1687
- (0, import_react3.useEffect)(() => {
1688
- const timer = setInterval(() => {
1689
- setIsAnimating(true);
1690
- setTimeout(() => {
1691
- setCurrentThoughtIndex((prev) => {
1692
- return prev < thoughts.length - 1 ? prev + 1 : prev;
1693
- });
1694
- setIsAnimating(false);
1695
- }, 300);
1696
- }, interval);
1697
- if (currentThoughtIndex === thoughts.length - 1) {
1698
- clearInterval(timer);
1699
- }
1700
- return () => clearInterval(timer);
1701
- }, [thoughts, interval, currentThoughtIndex]);
1702
- return /* @__PURE__ */ (0, import_jsx_runtime30.jsxs)(
1703
- "div",
1704
- {
1705
- ref,
1706
- className: cn(thinkIndicatorVariants({ variant, size }), className, "alq--think-indicator"),
1707
- ...props,
2131
+ });
2132
+ var ThinkIndicator = React25.forwardRef(function(_param, ref) {
2133
+ var className = _param.className, variant = _param.variant, size = _param.size, _param_thoughts = _param.thoughts, thoughts = _param_thoughts === void 0 ? [
2134
+ "Analyzing your request...",
2135
+ "Processing information...",
2136
+ "Formulating response..."
2137
+ ] : _param_thoughts, _param_interval = _param.interval, interval = _param_interval === void 0 ? 5e3 : _param_interval, loader = _param.loader, props = _object_without_properties(_param, [
2138
+ "className",
2139
+ "variant",
2140
+ "size",
2141
+ "thoughts",
2142
+ "interval",
2143
+ "loader"
2144
+ ]);
2145
+ var _ref = _sliced_to_array((0, import_react3.useState)(0), 2), currentThoughtIndex = _ref[0], setCurrentThoughtIndex = _ref[1];
2146
+ var _ref1 = _sliced_to_array((0, import_react3.useState)(false), 2), isAnimating = _ref1[0], setIsAnimating = _ref1[1];
2147
+ (0, import_react3.useEffect)(function() {
2148
+ var timer = setInterval(function() {
2149
+ setIsAnimating(true);
2150
+ setTimeout(function() {
2151
+ setCurrentThoughtIndex(function(prev) {
2152
+ return prev < thoughts.length - 1 ? prev + 1 : prev;
2153
+ });
2154
+ setIsAnimating(false);
2155
+ }, 300);
2156
+ }, interval);
2157
+ if (currentThoughtIndex === thoughts.length - 1) {
2158
+ clearInterval(timer);
2159
+ }
2160
+ return function() {
2161
+ return clearInterval(timer);
2162
+ };
2163
+ }, [
2164
+ thoughts,
2165
+ interval,
2166
+ currentThoughtIndex
2167
+ ]);
2168
+ return /* @__PURE__ */ (0, import_jsx_runtime30.jsxs)("div", _object_spread_props(_object_spread({
2169
+ ref: ref,
2170
+ className: cn(thinkIndicatorVariants({
2171
+ variant: variant,
2172
+ size: size
2173
+ }), className, "alq--think-indicator")
2174
+ }, props), {
1708
2175
  children: [
1709
- loader || /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(
1710
- Loader,
1711
- {
1712
- className: cn(
1713
- size === "sm" ? "h-3 w-3" : size === "lg" ? "h-5 w-5" : "h-4 w-4"
1714
- )
2176
+ loader || /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(Loader, {
2177
+ className: cn(size === "sm" ? "h-3 w-3" : size === "lg" ? "h-5 w-5" : "h-4 w-4")
2178
+ }),
2179
+ /* @__PURE__ */ (0, import_jsx_runtime30.jsx)("div", {
2180
+ className: cn("alq--think-indicator-text", "transition-all duration-300", isAnimating ? "opacity-0 -translate-y-2" : "opacity-100 translate-y-0"),
2181
+ children: thoughts[currentThoughtIndex]
2182
+ })
2183
+ ]
2184
+ }));
2185
+ });
2186
+ ThinkIndicator.displayName = "ThinkIndicator";
2187
+ // src/components/atoms/ui/accordion.tsx
2188
+ var React26 = __toESM(require("react"));
2189
+ var AccordionPrimitive = __toESM(require("@radix-ui/react-accordion"));
2190
+ var import_lucide_react8 = require("lucide-react");
2191
+ var import_jsx_runtime31 = require("react/jsx-runtime");
2192
+ var Accordion = AccordionPrimitive.Root;
2193
+ var AccordionItem = React26.forwardRef(function(_param, ref) {
2194
+ var className = _param.className, props = _object_without_properties(_param, [
2195
+ "className"
2196
+ ]);
2197
+ return /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(AccordionPrimitive.Item, _object_spread({
2198
+ ref: ref,
2199
+ className: cn("border-b", className)
2200
+ }, props));
2201
+ });
2202
+ AccordionItem.displayName = "AccordionItem";
2203
+ var AccordionTrigger = React26.forwardRef(function(_param, ref) {
2204
+ var className = _param.className, children = _param.children, props = _object_without_properties(_param, [
2205
+ "className",
2206
+ "children"
2207
+ ]);
2208
+ return /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(AccordionPrimitive.Header, {
2209
+ className: "flex",
2210
+ children: /* @__PURE__ */ (0, import_jsx_runtime31.jsxs)(AccordionPrimitive.Trigger, _object_spread_props(_object_spread({
2211
+ ref: ref,
2212
+ className: cn("flex flex-1 items-center justify-between py-4 text-sm font-medium transition-all hover:underline [&[data-state=open]>svg]:rotate-180", className)
2213
+ }, props), {
2214
+ children: [
2215
+ children,
2216
+ /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(import_lucide_react8.ChevronDown, {
2217
+ className: "h-4 w-4 shrink-0 text-muted-foreground transition-transform duration-200"
2218
+ })
2219
+ ]
2220
+ }))
2221
+ });
2222
+ });
2223
+ AccordionTrigger.displayName = AccordionPrimitive.Trigger.displayName;
2224
+ var AccordionContent = React26.forwardRef(function(_param, ref) {
2225
+ var className = _param.className, children = _param.children, props = _object_without_properties(_param, [
2226
+ "className",
2227
+ "children"
2228
+ ]);
2229
+ return /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(AccordionPrimitive.Content, _object_spread_props(_object_spread({
2230
+ ref: ref,
2231
+ className: "overflow-hidden text-sm text-muted-foreground data-[state=closed]:animate-accordion-up data-[state=open]:animate-accordion-down"
2232
+ }, props), {
2233
+ children: /* @__PURE__ */ (0, import_jsx_runtime31.jsx)("div", {
2234
+ className: cn("pb-4 pt-0", className),
2235
+ children: children
2236
+ })
2237
+ }));
2238
+ });
2239
+ AccordionContent.displayName = AccordionPrimitive.Content.displayName;
2240
+ // src/components/atoms/ui/radio-group.tsx
2241
+ var React27 = __toESM(require("react"));
2242
+ var RadioGroupPrimitive = __toESM(require("@radix-ui/react-radio-group"));
2243
+ var import_lucide_react9 = require("lucide-react");
2244
+ var import_jsx_runtime32 = require("react/jsx-runtime");
2245
+ var RadioGroup = React27.forwardRef(function(_param, ref) {
2246
+ var className = _param.className, props = _object_without_properties(_param, [
2247
+ "className"
2248
+ ]);
2249
+ return /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(RadioGroupPrimitive.Root, _object_spread({
2250
+ ref: ref,
2251
+ className: cn("grid gap-2", className)
2252
+ }, props));
2253
+ });
2254
+ RadioGroup.displayName = RadioGroupPrimitive.Root.displayName;
2255
+ var RadioGroupItem = React27.forwardRef(function(_param, ref) {
2256
+ var className = _param.className, props = _object_without_properties(_param, [
2257
+ "className"
2258
+ ]);
2259
+ return /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(RadioGroupPrimitive.Item, _object_spread_props(_object_spread({
2260
+ ref: ref,
2261
+ className: cn("aspect-square h-4 w-4 rounded-full border border-primary text-primary ring-offset-background focus:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50", className)
2262
+ }, props), {
2263
+ children: /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(RadioGroupPrimitive.Indicator, {
2264
+ className: "flex items-center justify-center",
2265
+ children: /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(import_lucide_react9.Circle, {
2266
+ className: "h-2.5 w-2.5 fill-current text-current"
2267
+ })
2268
+ })
2269
+ }));
2270
+ });
2271
+ RadioGroupItem.displayName = RadioGroupPrimitive.Item.displayName;
2272
+ // src/components/atoms/ui/progress.tsx
2273
+ var React28 = __toESM(require("react"));
2274
+ var ProgressPrimitive = __toESM(require("@radix-ui/react-progress"));
2275
+ var import_jsx_runtime33 = require("react/jsx-runtime");
2276
+ var Progress = React28.forwardRef(function(_param, ref) {
2277
+ var className = _param.className, value = _param.value, props = _object_without_properties(_param, [
2278
+ "className",
2279
+ "value"
2280
+ ]);
2281
+ return /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(ProgressPrimitive.Root, _object_spread_props(_object_spread({
2282
+ ref: ref,
2283
+ className: cn("relative h-2 w-full overflow-hidden rounded-full bg-muted", className)
2284
+ }, props), {
2285
+ children: /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(ProgressPrimitive.Indicator, {
2286
+ className: "h-full w-full flex-1 bg-primary transition-all",
2287
+ style: {
2288
+ transform: "translateX(-".concat(100 - (value || 0), "%)")
1715
2289
  }
1716
- ),
1717
- /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(
1718
- "div",
1719
- {
1720
- className: cn(
1721
- "alq--think-indicator-text",
1722
- "transition-all duration-300",
1723
- isAnimating ? "opacity-0 -translate-y-2" : "opacity-100 translate-y-0"
1724
- ),
1725
- children: thoughts[currentThoughtIndex]
2290
+ })
2291
+ }));
2292
+ });
2293
+ Progress.displayName = ProgressPrimitive.Root.displayName;
2294
+ // src/components/atoms/ui/calendar.tsx
2295
+ var import_lucide_react10 = require("lucide-react");
2296
+ var import_react_day_picker = require("react-day-picker");
2297
+ var import_jsx_runtime34 = require("react/jsx-runtime");
2298
+ function Calendar(_param) {
2299
+ var className = _param.className, classNames = _param.classNames, _param_showOutsideDays = _param.showOutsideDays, showOutsideDays = _param_showOutsideDays === void 0 ? true : _param_showOutsideDays, props = _object_without_properties(_param, [
2300
+ "className",
2301
+ "classNames",
2302
+ "showOutsideDays"
2303
+ ]);
2304
+ return /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(import_react_day_picker.DayPicker, _object_spread({
2305
+ showOutsideDays: showOutsideDays,
2306
+ className: cn("p-3", className),
2307
+ classNames: _object_spread({
2308
+ months: "flex flex-col sm:flex-row space-y-4 sm:space-x-4 sm:space-y-0",
2309
+ month: "space-y-4",
2310
+ caption: "flex justify-center pt-1 relative items-center",
2311
+ caption_label: "text-sm font-medium",
2312
+ nav: "space-x-1 flex items-center",
2313
+ nav_button: cn(buttonVariants({
2314
+ variant: "outline"
2315
+ }), "h-7 w-7 bg-transparent p-0 opacity-50 hover:opacity-100"),
2316
+ nav_button_previous: "absolute left-1",
2317
+ nav_button_next: "absolute right-1",
2318
+ table: "w-full border-collapse space-y-1",
2319
+ head_row: "flex",
2320
+ head_cell: "text-muted-foreground rounded-md w-9 font-normal text-[0.8rem]",
2321
+ row: "flex w-full mt-2",
2322
+ cell: "h-9 w-9 text-center text-sm p-0 relative [&:has([aria-selected])]:bg-accent first:[&:has([aria-selected])]:rounded-l-md last:[&:has([aria-selected])]:rounded-r-md focus-within:relative focus-within:z-20",
2323
+ day: cn(buttonVariants({
2324
+ variant: "ghost"
2325
+ }), "h-9 w-9 p-0 font-normal aria-selected:opacity-100"),
2326
+ day_range_end: "day-range-end",
2327
+ day_selected: "bg-primary text-primary-foreground hover:bg-primary hover:text-primary-foreground focus:bg-primary focus:text-primary-foreground",
2328
+ day_today: "bg-accent text-accent-foreground",
2329
+ day_outside: "day-outside text-muted-foreground opacity-50",
2330
+ day_disabled: "text-muted-foreground opacity-50",
2331
+ day_range_middle: "aria-selected:bg-accent aria-selected:text-accent-foreground",
2332
+ day_hidden: "invisible"
2333
+ }, classNames),
2334
+ components: {
2335
+ IconLeft: function() {
2336
+ return /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(import_lucide_react10.ChevronLeft, {
2337
+ className: "h-4 w-4"
2338
+ });
2339
+ },
2340
+ IconRight: function() {
2341
+ return /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(import_lucide_react10.ChevronRight, {
2342
+ className: "h-4 w-4"
2343
+ });
1726
2344
  }
1727
- )
2345
+ }
2346
+ }, props));
2347
+ }
2348
+ Calendar.displayName = "Calendar";
2349
+ // src/components/atoms/ui/chart.tsx
2350
+ var import_recharts = require("recharts");
2351
+ var import_jsx_runtime35 = require("react/jsx-runtime");
2352
+ var CHART_PALETTE = [
2353
+ "hsl(var(--chart-1))",
2354
+ "hsl(var(--chart-2))",
2355
+ "hsl(var(--chart-3))",
2356
+ "hsl(var(--chart-4))",
2357
+ "hsl(var(--chart-5))"
2358
+ ];
2359
+ function Chart(param) {
2360
+ var className = param.className, _param_height = param.height, height = _param_height === void 0 ? 300 : _param_height, children = param.children;
2361
+ return /* @__PURE__ */ (0, import_jsx_runtime35.jsx)("div", {
2362
+ className: cn("w-full", className),
2363
+ style: {
2364
+ height: height
2365
+ },
2366
+ children: /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(import_recharts.ResponsiveContainer, {
2367
+ width: "100%",
2368
+ height: "100%",
2369
+ children: children
2370
+ })
2371
+ });
2372
+ }
2373
+ Chart.displayName = "Chart";
2374
+ function themedChartAxes(x) {
2375
+ return /* @__PURE__ */ (0, import_jsx_runtime35.jsxs)(import_jsx_runtime35.Fragment, {
2376
+ children: [
2377
+ /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(import_recharts.CartesianGrid, {
2378
+ strokeDasharray: "3 3",
2379
+ className: "stroke-border"
2380
+ }),
2381
+ /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(import_recharts.XAxis, {
2382
+ dataKey: x,
2383
+ className: "text-xs"
2384
+ }),
2385
+ /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(import_recharts.YAxis, {
2386
+ className: "text-xs"
2387
+ }),
2388
+ /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(import_recharts.Tooltip, {}),
2389
+ /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(import_recharts.Legend, {})
1728
2390
  ]
1729
- }
1730
- );
1731
- }
1732
- );
1733
- ThinkIndicator.displayName = "ThinkIndicator";
2391
+ });
2392
+ }
1734
2393
  //# sourceMappingURL=index.js.map