@alquimia-ai/ui 1.9.3 → 2.0.0

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