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