@alquimia-ai/ui 1.9.2 → 2.0.0

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