acemyjob-ui 2.0.3 → 2.0.4
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/acemyjob-ui.es.js +568 -472
- package/dist/acemyjob-ui.umd.js +4 -4
- package/dist/component/Drawer/index.d.ts +17 -0
- package/dist/component/index.d.ts +2 -0
- package/dist/style.css +1 -1
- package/package.json +1 -1
package/dist/acemyjob-ui.es.js
CHANGED
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
import * as j from "react";
|
|
2
|
-
import
|
|
3
|
-
import { ChevronDownIcon as
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
|
|
2
|
+
import P, { useState as V, useCallback as M, createContext as Ee, useEffect as I, useContext as Re, useRef as G } from "react";
|
|
3
|
+
import { ChevronDownIcon as te, InformationCircleIcon as ve, ExclamationCircleIcon as pe, XCircleIcon as je, CheckCircleIcon as ye, XMarkIcon as we, Bars3Icon as Ae } from "@heroicons/react/24/outline";
|
|
4
|
+
import { createPortal as Se } from "react-dom";
|
|
5
|
+
import { useSortable as Be } from "@dnd-kit/sortable";
|
|
6
|
+
import { CSS as Me } from "@dnd-kit/utilities";
|
|
7
|
+
import { Dialog as De, DialogBackdrop as _e, DialogPanel as Oe, TransitionChild as Ie } from "@headlessui/react";
|
|
8
|
+
const Or = {
|
|
8
9
|
required: (r = "This field is required") => ({
|
|
9
10
|
validate: (s) => typeof s == "string" ? s.trim().length > 0 : Array.isArray(s) ? s.length > 0 : s != null,
|
|
10
11
|
message: r
|
|
@@ -14,23 +15,23 @@ const Br = {
|
|
|
14
15
|
message: r
|
|
15
16
|
}),
|
|
16
17
|
minLength: (r, s) => ({
|
|
17
|
-
validate: (
|
|
18
|
+
validate: (t) => String(t).length >= r,
|
|
18
19
|
message: s || `Must be at least ${r} characters`
|
|
19
20
|
}),
|
|
20
21
|
maxLength: (r, s) => ({
|
|
21
|
-
validate: (
|
|
22
|
+
validate: (t) => String(t).length <= r,
|
|
22
23
|
message: s || `Must be no more than ${r} characters`
|
|
23
24
|
}),
|
|
24
25
|
pattern: (r, s = "Invalid format") => ({
|
|
25
|
-
validate: (
|
|
26
|
+
validate: (t) => r.test(String(t)),
|
|
26
27
|
message: s
|
|
27
28
|
}),
|
|
28
29
|
minValue: (r, s) => ({
|
|
29
|
-
validate: (
|
|
30
|
+
validate: (t) => Number(t) >= r,
|
|
30
31
|
message: s || `Must be at least ${r}`
|
|
31
32
|
}),
|
|
32
33
|
maxValue: (r, s) => ({
|
|
33
|
-
validate: (
|
|
34
|
+
validate: (t) => Number(t) <= r,
|
|
34
35
|
message: s || `Must be no more than ${r}`
|
|
35
36
|
}),
|
|
36
37
|
url: (r = "Please enter a valid URL") => ({
|
|
@@ -45,13 +46,13 @@ const Br = {
|
|
|
45
46
|
}),
|
|
46
47
|
phone: (r = "Please enter a valid phone number") => ({
|
|
47
48
|
validate: (s) => {
|
|
48
|
-
const
|
|
49
|
-
return
|
|
49
|
+
const t = /^[\d\s\-+()]+$/, a = String(s);
|
|
50
|
+
return t.test(a) && a.replace(/\D/g, "").length >= 10;
|
|
50
51
|
},
|
|
51
52
|
message: r
|
|
52
53
|
}),
|
|
53
54
|
match: (r, s = "Fields do not match") => ({
|
|
54
|
-
validate: (
|
|
55
|
+
validate: (t) => t === r,
|
|
55
56
|
message: s
|
|
56
57
|
}),
|
|
57
58
|
custom: (r, s) => ({
|
|
@@ -59,58 +60,58 @@ const Br = {
|
|
|
59
60
|
message: s
|
|
60
61
|
})
|
|
61
62
|
};
|
|
62
|
-
function
|
|
63
|
-
for (const
|
|
64
|
-
if (!
|
|
65
|
-
return
|
|
63
|
+
function Pe(r, s) {
|
|
64
|
+
for (const t of s)
|
|
65
|
+
if (!t.validate(r))
|
|
66
|
+
return t.message;
|
|
66
67
|
return null;
|
|
67
68
|
}
|
|
68
69
|
function ee(r, s) {
|
|
69
|
-
const
|
|
70
|
-
for (const [
|
|
71
|
-
const n = r[
|
|
72
|
-
a
|
|
70
|
+
const t = {};
|
|
71
|
+
for (const [a, l] of Object.entries(s)) {
|
|
72
|
+
const n = r[a], c = Pe(n, l);
|
|
73
|
+
t[a] = c;
|
|
73
74
|
}
|
|
74
|
-
return
|
|
75
|
+
return t;
|
|
75
76
|
}
|
|
76
|
-
function
|
|
77
|
+
function ze(r) {
|
|
77
78
|
return Object.values(r).some((s) => s !== null);
|
|
78
79
|
}
|
|
79
|
-
function
|
|
80
|
+
function Ir(r) {
|
|
80
81
|
for (const s of Object.values(r))
|
|
81
82
|
if (s !== null)
|
|
82
83
|
return s;
|
|
83
84
|
return null;
|
|
84
85
|
}
|
|
85
|
-
function
|
|
86
|
+
function Pr(r, s) {
|
|
86
87
|
return {
|
|
87
88
|
...r,
|
|
88
89
|
[s]: null
|
|
89
90
|
};
|
|
90
91
|
}
|
|
91
|
-
function
|
|
92
|
+
function zr(r) {
|
|
92
93
|
const s = {};
|
|
93
|
-
for (const
|
|
94
|
-
s[
|
|
94
|
+
for (const t of Object.keys(r))
|
|
95
|
+
s[t] = null;
|
|
95
96
|
return s;
|
|
96
97
|
}
|
|
97
|
-
function
|
|
98
|
+
function Lr({
|
|
98
99
|
initialValues: r,
|
|
99
100
|
validationRules: s = {},
|
|
100
|
-
onSubmit:
|
|
101
|
+
onSubmit: t
|
|
101
102
|
}) {
|
|
102
|
-
const [
|
|
103
|
+
const [a, l] = V(r), [n, c] = V({}), [o, u] = V({}), [d, m] = V(!1), h = JSON.stringify(a) !== JSON.stringify(r), x = M(
|
|
103
104
|
(p) => {
|
|
104
105
|
const { name: v, value: w, type: S } = p.target;
|
|
105
|
-
let
|
|
106
|
-
if (S === "checkbox" ?
|
|
107
|
-
...
|
|
108
|
-
[v]:
|
|
106
|
+
let F = w;
|
|
107
|
+
if (S === "checkbox" ? F = p.target.checked : S === "number" && (F = w ? Number(w) : ""), l((z) => ({
|
|
108
|
+
...z,
|
|
109
|
+
[v]: F
|
|
109
110
|
})), s[v]) {
|
|
110
|
-
const
|
|
111
|
+
const z = ee({ [v]: F }, { [v]: s[v] });
|
|
111
112
|
c((W) => ({
|
|
112
113
|
...W,
|
|
113
|
-
[v]:
|
|
114
|
+
[v]: z[v]
|
|
114
115
|
}));
|
|
115
116
|
}
|
|
116
117
|
},
|
|
@@ -143,15 +144,15 @@ function Dr({
|
|
|
143
144
|
}, []), T = M(
|
|
144
145
|
async (p) => {
|
|
145
146
|
p.preventDefault();
|
|
146
|
-
const v = ee(
|
|
147
|
+
const v = ee(a, s);
|
|
147
148
|
c(v);
|
|
148
149
|
const w = {};
|
|
149
|
-
for (const S of Object.keys(
|
|
150
|
+
for (const S of Object.keys(a))
|
|
150
151
|
w[S] = !0;
|
|
151
|
-
if (u(w), !
|
|
152
|
+
if (u(w), !ze(v) && t) {
|
|
152
153
|
m(!0);
|
|
153
154
|
try {
|
|
154
|
-
await a
|
|
155
|
+
await t(a);
|
|
155
156
|
} catch (S) {
|
|
156
157
|
console.error("Form submission error:", S);
|
|
157
158
|
} finally {
|
|
@@ -159,29 +160,29 @@ function Dr({
|
|
|
159
160
|
}
|
|
160
161
|
}
|
|
161
162
|
},
|
|
162
|
-
[
|
|
163
|
+
[a, s, t]
|
|
163
164
|
), E = M(() => {
|
|
164
165
|
l(r), c({}), u({}), m(!1);
|
|
165
166
|
}, [r]), A = M(
|
|
166
167
|
(p) => ({
|
|
167
168
|
name: p,
|
|
168
|
-
value:
|
|
169
|
+
value: a[p] || "",
|
|
169
170
|
onChange: x,
|
|
170
171
|
onBlur: f
|
|
171
172
|
}),
|
|
172
|
-
[
|
|
173
|
+
[a, x, f]
|
|
173
174
|
), N = M(
|
|
174
175
|
(p) => n[p] || null,
|
|
175
176
|
[n]
|
|
176
|
-
),
|
|
177
|
+
), _ = M(
|
|
177
178
|
(p) => o[p] || !1,
|
|
178
179
|
[o]
|
|
179
|
-
),
|
|
180
|
-
(p) =>
|
|
181
|
-
[
|
|
180
|
+
), L = M(
|
|
181
|
+
(p) => a[p] !== r[p],
|
|
182
|
+
[a, r]
|
|
182
183
|
);
|
|
183
184
|
return {
|
|
184
|
-
values:
|
|
185
|
+
values: a,
|
|
185
186
|
errors: n,
|
|
186
187
|
touched: o,
|
|
187
188
|
isSubmitting: d,
|
|
@@ -194,8 +195,8 @@ function Dr({
|
|
|
194
195
|
resetForm: E,
|
|
195
196
|
getFieldProps: A,
|
|
196
197
|
getFieldError: N,
|
|
197
|
-
isFieldTouched:
|
|
198
|
-
isFieldDirty:
|
|
198
|
+
isFieldTouched: _,
|
|
199
|
+
isFieldDirty: L
|
|
199
200
|
};
|
|
200
201
|
}
|
|
201
202
|
var Z = { exports: {} }, Y = {};
|
|
@@ -209,11 +210,11 @@ var Z = { exports: {} }, Y = {};
|
|
|
209
210
|
* LICENSE file in the root directory of this source tree.
|
|
210
211
|
*/
|
|
211
212
|
var ie;
|
|
212
|
-
function
|
|
213
|
+
function Le() {
|
|
213
214
|
if (ie) return Y;
|
|
214
215
|
ie = 1;
|
|
215
216
|
var r = Symbol.for("react.transitional.element"), s = Symbol.for("react.fragment");
|
|
216
|
-
function a
|
|
217
|
+
function t(a, l, n) {
|
|
217
218
|
var c = null;
|
|
218
219
|
if (n !== void 0 && (c = "" + n), l.key !== void 0 && (c = "" + l.key), "key" in l) {
|
|
219
220
|
n = {};
|
|
@@ -222,13 +223,13 @@ function ze() {
|
|
|
222
223
|
} else n = l;
|
|
223
224
|
return l = n.ref, {
|
|
224
225
|
$$typeof: r,
|
|
225
|
-
type:
|
|
226
|
+
type: a,
|
|
226
227
|
key: c,
|
|
227
228
|
ref: l !== void 0 ? l : null,
|
|
228
229
|
props: n
|
|
229
230
|
};
|
|
230
231
|
}
|
|
231
|
-
return Y.Fragment = s, Y.jsx =
|
|
232
|
+
return Y.Fragment = s, Y.jsx = t, Y.jsxs = t, Y;
|
|
232
233
|
}
|
|
233
234
|
var H = {};
|
|
234
235
|
/**
|
|
@@ -241,12 +242,12 @@ var H = {};
|
|
|
241
242
|
* LICENSE file in the root directory of this source tree.
|
|
242
243
|
*/
|
|
243
244
|
var de;
|
|
244
|
-
function
|
|
245
|
+
function Fe() {
|
|
245
246
|
return de || (de = 1, process.env.NODE_ENV !== "production" && function() {
|
|
246
247
|
function r(i) {
|
|
247
248
|
if (i == null) return null;
|
|
248
249
|
if (typeof i == "function")
|
|
249
|
-
return i.$$typeof ===
|
|
250
|
+
return i.$$typeof === F ? null : i.displayName || i.name || null;
|
|
250
251
|
if (typeof i == "string") return i;
|
|
251
252
|
switch (i) {
|
|
252
253
|
case C:
|
|
@@ -255,7 +256,7 @@ function Le() {
|
|
|
255
256
|
return "Profiler";
|
|
256
257
|
case T:
|
|
257
258
|
return "StrictMode";
|
|
258
|
-
case
|
|
259
|
+
case L:
|
|
259
260
|
return "Suspense";
|
|
260
261
|
case p:
|
|
261
262
|
return "SuspenseList";
|
|
@@ -272,7 +273,7 @@ function Le() {
|
|
|
272
273
|
return (i.displayName || "Context") + ".Provider";
|
|
273
274
|
case A:
|
|
274
275
|
return (i._context.displayName || "Context") + ".Consumer";
|
|
275
|
-
case
|
|
276
|
+
case _:
|
|
276
277
|
var g = i.render;
|
|
277
278
|
return i = i.displayName, i || (i = g.displayName || g.name || "", i = i !== "" ? "ForwardRef(" + i + ")" : "ForwardRef"), i;
|
|
278
279
|
case v:
|
|
@@ -289,7 +290,7 @@ function Le() {
|
|
|
289
290
|
function s(i) {
|
|
290
291
|
return "" + i;
|
|
291
292
|
}
|
|
292
|
-
function
|
|
293
|
+
function t(i) {
|
|
293
294
|
try {
|
|
294
295
|
s(i);
|
|
295
296
|
var g = !1;
|
|
@@ -306,7 +307,7 @@ function Le() {
|
|
|
306
307
|
), s(i);
|
|
307
308
|
}
|
|
308
309
|
}
|
|
309
|
-
function
|
|
310
|
+
function a(i) {
|
|
310
311
|
if (i === C) return "<>";
|
|
311
312
|
if (typeof i == "object" && i !== null && i.$$typeof === w)
|
|
312
313
|
return "<...>";
|
|
@@ -318,7 +319,7 @@ function Le() {
|
|
|
318
319
|
}
|
|
319
320
|
}
|
|
320
321
|
function l() {
|
|
321
|
-
var i =
|
|
322
|
+
var i = z.A;
|
|
322
323
|
return i === null ? null : i.getOwner();
|
|
323
324
|
}
|
|
324
325
|
function n() {
|
|
@@ -333,7 +334,7 @@ function Le() {
|
|
|
333
334
|
}
|
|
334
335
|
function o(i, g) {
|
|
335
336
|
function y() {
|
|
336
|
-
|
|
337
|
+
ae || (ae = !0, console.error(
|
|
337
338
|
"%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",
|
|
338
339
|
g
|
|
339
340
|
));
|
|
@@ -349,13 +350,13 @@ function Le() {
|
|
|
349
350
|
"Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release."
|
|
350
351
|
)), i = this.props.ref, i !== void 0 ? i : null;
|
|
351
352
|
}
|
|
352
|
-
function d(i, g, y, k,
|
|
353
|
+
function d(i, g, y, k, O, B, X, K) {
|
|
353
354
|
return y = B.ref, i = {
|
|
354
355
|
$$typeof: f,
|
|
355
356
|
type: i,
|
|
356
357
|
key: g,
|
|
357
358
|
props: B,
|
|
358
|
-
_owner:
|
|
359
|
+
_owner: O
|
|
359
360
|
}, (y !== void 0 ? y : null) !== null ? Object.defineProperty(i, "ref", {
|
|
360
361
|
enumerable: !1,
|
|
361
362
|
get: u
|
|
@@ -381,11 +382,11 @@ function Le() {
|
|
|
381
382
|
value: K
|
|
382
383
|
}), Object.freeze && (Object.freeze(i.props), Object.freeze(i)), i;
|
|
383
384
|
}
|
|
384
|
-
function m(i, g, y, k,
|
|
385
|
+
function m(i, g, y, k, O, B, X, K) {
|
|
385
386
|
var $ = g.children;
|
|
386
387
|
if ($ !== void 0)
|
|
387
388
|
if (k)
|
|
388
|
-
if (
|
|
389
|
+
if (Ve($)) {
|
|
389
390
|
for (k = 0; k < $.length; k++)
|
|
390
391
|
h($[k]);
|
|
391
392
|
Object.freeze && Object.freeze($);
|
|
@@ -396,10 +397,10 @@ function Le() {
|
|
|
396
397
|
else h($);
|
|
397
398
|
if (W.call(g, "key")) {
|
|
398
399
|
$ = r(i);
|
|
399
|
-
var
|
|
400
|
-
return
|
|
400
|
+
var U = Object.keys(g).filter(function(Te) {
|
|
401
|
+
return Te !== "key";
|
|
401
402
|
});
|
|
402
|
-
k = 0 <
|
|
403
|
+
k = 0 < U.length ? "{key: someKey, " + U.join(": ..., ") + ": ...}" : "{key: someKey}", ce[$ + k] || (U = 0 < U.length ? "{" + U.join(": ..., ") + ": ...}" : "{}", console.error(
|
|
403
404
|
`A props object containing a "key" prop is being spread into JSX:
|
|
404
405
|
let props = %s;
|
|
405
406
|
<%s {...props} />
|
|
@@ -408,11 +409,11 @@ React keys must be passed directly to JSX without using spread:
|
|
|
408
409
|
<%s key={someKey} {...props} />`,
|
|
409
410
|
k,
|
|
410
411
|
$,
|
|
411
|
-
|
|
412
|
+
U,
|
|
412
413
|
$
|
|
413
414
|
), ce[$ + k] = !0);
|
|
414
415
|
}
|
|
415
|
-
if ($ = null, y !== void 0 && (
|
|
416
|
+
if ($ = null, y !== void 0 && (t(y), $ = "" + y), c(g) && (t(g.key), $ = "" + g.key), "key" in g) {
|
|
416
417
|
y = {};
|
|
417
418
|
for (var Q in g)
|
|
418
419
|
Q !== "key" && (y[Q] = g[Q]);
|
|
@@ -424,7 +425,7 @@ React keys must be passed directly to JSX without using spread:
|
|
|
424
425
|
i,
|
|
425
426
|
$,
|
|
426
427
|
B,
|
|
427
|
-
|
|
428
|
+
O,
|
|
428
429
|
l(),
|
|
429
430
|
y,
|
|
430
431
|
X,
|
|
@@ -434,7 +435,7 @@ React keys must be passed directly to JSX without using spread:
|
|
|
434
435
|
function h(i) {
|
|
435
436
|
typeof i == "object" && i !== null && i.$$typeof === f && i._store && (i._store.validated = 1);
|
|
436
437
|
}
|
|
437
|
-
var x =
|
|
438
|
+
var x = P, f = Symbol.for("react.transitional.element"), b = Symbol.for("react.portal"), C = Symbol.for("react.fragment"), T = Symbol.for("react.strict_mode"), E = Symbol.for("react.profiler"), A = Symbol.for("react.consumer"), N = Symbol.for("react.context"), _ = Symbol.for("react.forward_ref"), L = Symbol.for("react.suspense"), p = Symbol.for("react.suspense_list"), v = Symbol.for("react.memo"), w = Symbol.for("react.lazy"), S = Symbol.for("react.activity"), F = Symbol.for("react.client.reference"), z = x.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, W = Object.prototype.hasOwnProperty, Ve = Array.isArray, J = console.createTask ? console.createTask : function() {
|
|
438
439
|
return null;
|
|
439
440
|
};
|
|
440
441
|
x = {
|
|
@@ -442,61 +443,61 @@ React keys must be passed directly to JSX without using spread:
|
|
|
442
443
|
return i();
|
|
443
444
|
}
|
|
444
445
|
};
|
|
445
|
-
var
|
|
446
|
+
var ae, ne = {}, le = x["react-stack-bottom-frame"].bind(
|
|
446
447
|
x,
|
|
447
448
|
n
|
|
448
|
-
)(), oe = J(
|
|
449
|
-
H.Fragment = C, H.jsx = function(i, g, y, k,
|
|
450
|
-
var B = 1e4 >
|
|
449
|
+
)(), oe = J(a(n)), ce = {};
|
|
450
|
+
H.Fragment = C, H.jsx = function(i, g, y, k, O) {
|
|
451
|
+
var B = 1e4 > z.recentlyCreatedOwnerStacks++;
|
|
451
452
|
return m(
|
|
452
453
|
i,
|
|
453
454
|
g,
|
|
454
455
|
y,
|
|
455
456
|
!1,
|
|
456
457
|
k,
|
|
457
|
-
|
|
458
|
+
O,
|
|
458
459
|
B ? Error("react-stack-top-frame") : le,
|
|
459
|
-
B ? J(
|
|
460
|
+
B ? J(a(i)) : oe
|
|
460
461
|
);
|
|
461
|
-
}, H.jsxs = function(i, g, y, k,
|
|
462
|
-
var B = 1e4 >
|
|
462
|
+
}, H.jsxs = function(i, g, y, k, O) {
|
|
463
|
+
var B = 1e4 > z.recentlyCreatedOwnerStacks++;
|
|
463
464
|
return m(
|
|
464
465
|
i,
|
|
465
466
|
g,
|
|
466
467
|
y,
|
|
467
468
|
!0,
|
|
468
469
|
k,
|
|
469
|
-
|
|
470
|
+
O,
|
|
470
471
|
B ? Error("react-stack-top-frame") : le,
|
|
471
|
-
B ? J(
|
|
472
|
+
B ? J(a(i)) : oe
|
|
472
473
|
);
|
|
473
474
|
};
|
|
474
475
|
}()), H;
|
|
475
476
|
}
|
|
476
477
|
var ue;
|
|
477
|
-
function
|
|
478
|
-
return ue || (ue = 1, process.env.NODE_ENV === "production" ? Z.exports =
|
|
478
|
+
function Ue() {
|
|
479
|
+
return ue || (ue = 1, process.env.NODE_ENV === "production" ? Z.exports = Le() : Z.exports = Fe()), Z.exports;
|
|
479
480
|
}
|
|
480
|
-
var e =
|
|
481
|
-
const
|
|
482
|
-
const
|
|
481
|
+
var e = Ue();
|
|
482
|
+
const Ne = (r) => r.replace("--color-", "bg-"), Ye = ({ name: r, cssVar: s, value: t }) => {
|
|
483
|
+
const a = `rgb(${t})`;
|
|
483
484
|
return /* @__PURE__ */ e.jsxs("div", { className: "flex flex-col items-center space-y-2 p-3 rounded-lg border border-border-subtle bg-surface hover:bg-surface-variant transition-colors", children: [
|
|
484
485
|
/* @__PURE__ */ e.jsx(
|
|
485
486
|
"div",
|
|
486
487
|
{
|
|
487
|
-
className: `w-16 h-16 rounded-lg border border-border shadow-sm ${
|
|
488
|
+
className: `w-16 h-16 rounded-lg border border-border shadow-sm ${Ne(s)}`
|
|
488
489
|
}
|
|
489
490
|
),
|
|
490
491
|
/* @__PURE__ */ e.jsxs("div", { className: "text-center", children: [
|
|
491
492
|
/* @__PURE__ */ e.jsx("div", { className: "text-sm font-medium text-text-primary", children: r }),
|
|
492
493
|
/* @__PURE__ */ e.jsx("div", { className: "text-xs text-text-muted font-mono", children: s }),
|
|
493
|
-
/* @__PURE__ */ e.jsx("div", { className: "text-xs text-text-secondary", children:
|
|
494
|
+
/* @__PURE__ */ e.jsx("div", { className: "text-xs text-text-secondary", children: a })
|
|
494
495
|
] })
|
|
495
496
|
] });
|
|
496
497
|
}, me = ({ title: r, colors: s }) => /* @__PURE__ */ e.jsxs("div", { className: "space-y-4", children: [
|
|
497
498
|
/* @__PURE__ */ e.jsx("h3", { className: "text-lg font-semibold text-text-primary border-b border-border-subtle pb-2", children: r }),
|
|
498
|
-
/* @__PURE__ */ e.jsx("div", { className: "grid grid-cols-2 sm:grid-cols-3 md:grid-cols-4 lg:grid-cols-6 xl:grid-cols-11 gap-4", children: s.map((
|
|
499
|
-
] }),
|
|
499
|
+
/* @__PURE__ */ e.jsx("div", { className: "grid grid-cols-2 sm:grid-cols-3 md:grid-cols-4 lg:grid-cols-6 xl:grid-cols-11 gap-4", children: s.map((t) => /* @__PURE__ */ e.jsx(Ye, { ...t }, t.name)) })
|
|
500
|
+
] }), He = () => {
|
|
500
501
|
const r = [
|
|
501
502
|
{
|
|
502
503
|
title: "Success Colors (Green)",
|
|
@@ -697,7 +698,7 @@ const we = (r) => r.replace("--color-", "bg-"), Ue = ({ name: r, cssVar: s, valu
|
|
|
697
698
|
{ name: "900", cssVar: "--color-beaver-900", value: "235 229 224" }
|
|
698
699
|
]
|
|
699
700
|
}
|
|
700
|
-
],
|
|
701
|
+
], t = [
|
|
701
702
|
{ name: "Background", cssVar: "--color-background" },
|
|
702
703
|
{ name: "Surface", cssVar: "--color-surface" },
|
|
703
704
|
{ name: "Surface Variant", cssVar: "--color-surface-variant" },
|
|
@@ -712,63 +713,63 @@ const we = (r) => r.replace("--color-", "bg-"), Ue = ({ name: r, cssVar: s, valu
|
|
|
712
713
|
/* @__PURE__ */ e.jsx("h1", { className: "text-3xl font-bold text-text-primary", children: "AceMyJob Color Palette" }),
|
|
713
714
|
/* @__PURE__ */ e.jsx("p", { className: "text-text-secondary", children: "Your complete design system color reference" })
|
|
714
715
|
] }),
|
|
715
|
-
s.map((
|
|
716
|
-
r.map((
|
|
716
|
+
s.map((a) => /* @__PURE__ */ e.jsx(me, { ...a }, a.title)),
|
|
717
|
+
r.map((a) => /* @__PURE__ */ e.jsx(me, { ...a }, a.title)),
|
|
717
718
|
/* @__PURE__ */ e.jsxs("div", { className: "space-y-4", children: [
|
|
718
719
|
/* @__PURE__ */ e.jsx("h3", { className: "text-lg font-semibold text-text-primary border-b border-border-subtle pb-2", children: "Semantic Colors (Theme-aware)" }),
|
|
719
|
-
/* @__PURE__ */ e.jsx("div", { className: "grid grid-cols-2 sm:grid-cols-3 md:grid-cols-4 gap-4", children:
|
|
720
|
+
/* @__PURE__ */ e.jsx("div", { className: "grid grid-cols-2 sm:grid-cols-3 md:grid-cols-4 gap-4", children: t.map((a) => /* @__PURE__ */ e.jsxs("div", { className: "flex flex-col items-center space-y-2 p-3 rounded-lg border border-border-subtle bg-surface hover:bg-surface-variant transition-colors", children: [
|
|
720
721
|
/* @__PURE__ */ e.jsx(
|
|
721
722
|
"div",
|
|
722
723
|
{
|
|
723
|
-
className: `w-16 h-16 rounded-lg border border-border shadow-sm ${
|
|
724
|
+
className: `w-16 h-16 rounded-lg border border-border shadow-sm ${Ne(a.cssVar)}`
|
|
724
725
|
}
|
|
725
726
|
),
|
|
726
727
|
/* @__PURE__ */ e.jsxs("div", { className: "text-center", children: [
|
|
727
|
-
/* @__PURE__ */ e.jsx("div", { className: "text-sm font-medium text-text-primary", children:
|
|
728
|
-
/* @__PURE__ */ e.jsx("div", { className: "text-xs text-text-muted font-mono", children:
|
|
728
|
+
/* @__PURE__ */ e.jsx("div", { className: "text-sm font-medium text-text-primary", children: a.name }),
|
|
729
|
+
/* @__PURE__ */ e.jsx("div", { className: "text-xs text-text-muted font-mono", children: a.cssVar })
|
|
729
730
|
] })
|
|
730
|
-
] },
|
|
731
|
+
] }, a.name)) })
|
|
731
732
|
] }),
|
|
732
733
|
/* @__PURE__ */ e.jsx("div", { className: "text-center pt-8 border-t border-border-subtle", children: /* @__PURE__ */ e.jsx("p", { className: "text-text-muted text-sm", children: "Toggle between light and dark themes to see how semantic colors adapt" }) })
|
|
733
734
|
] });
|
|
734
|
-
},
|
|
735
|
+
}, Ce = Ee(void 0), We = ({
|
|
735
736
|
children: r,
|
|
736
737
|
defaultTheme: s = "system",
|
|
737
|
-
storageKey:
|
|
738
|
+
storageKey: t = "acemyjob-ui-theme"
|
|
738
739
|
}) => {
|
|
739
|
-
const [
|
|
740
|
-
|
|
741
|
-
const m = localStorage.getItem(
|
|
740
|
+
const [a, l] = V(s), [n, c] = V("light"), [o, u] = V(!1);
|
|
741
|
+
I(() => {
|
|
742
|
+
const m = localStorage.getItem(t);
|
|
742
743
|
m && l(m), u(!0);
|
|
743
|
-
}, [
|
|
744
|
+
}, [t]), I(() => {
|
|
744
745
|
if (!o) return;
|
|
745
746
|
const m = window.document.documentElement, h = () => {
|
|
746
747
|
let x;
|
|
747
|
-
|
|
748
|
+
a === "system" ? x = window.matchMedia("(prefers-color-scheme: dark)").matches ? "dark" : "light" : x = a, c(x), m.classList.remove("light", "dark"), m.classList.add(x);
|
|
748
749
|
};
|
|
749
|
-
if (h(),
|
|
750
|
+
if (h(), a === "system") {
|
|
750
751
|
const x = window.matchMedia("(prefers-color-scheme: dark)"), f = () => h();
|
|
751
752
|
return x.addEventListener("change", f), () => x.removeEventListener("change", f);
|
|
752
753
|
}
|
|
753
|
-
}, [
|
|
754
|
+
}, [a, o]);
|
|
754
755
|
const d = {
|
|
755
|
-
theme:
|
|
756
|
+
theme: a,
|
|
756
757
|
setTheme: (m) => {
|
|
757
|
-
localStorage.setItem(
|
|
758
|
+
localStorage.setItem(t, m), l(m);
|
|
758
759
|
},
|
|
759
760
|
resolvedTheme: n
|
|
760
761
|
};
|
|
761
|
-
return /* @__PURE__ */ e.jsx(
|
|
762
|
-
},
|
|
763
|
-
const r =
|
|
762
|
+
return /* @__PURE__ */ e.jsx(Ce.Provider, { value: d, children: r });
|
|
763
|
+
}, Ze = () => {
|
|
764
|
+
const r = Re(Ce);
|
|
764
765
|
if (r === void 0)
|
|
765
766
|
throw new Error("useTheme must be used within a ThemeProvider");
|
|
766
767
|
return r;
|
|
767
|
-
},
|
|
768
|
-
const { theme: r, setTheme: s } =
|
|
769
|
-
if (
|
|
770
|
-
|
|
771
|
-
}, []), !
|
|
768
|
+
}, qe = () => {
|
|
769
|
+
const { theme: r, setTheme: s } = Ze(), [t, a] = V(!1);
|
|
770
|
+
if (I(() => {
|
|
771
|
+
a(!0);
|
|
772
|
+
}, []), !t)
|
|
772
773
|
return /* @__PURE__ */ e.jsxs(
|
|
773
774
|
"button",
|
|
774
775
|
{
|
|
@@ -813,15 +814,15 @@ const we = (r) => r.replace("--color-", "bg-"), Ue = ({ name: r, cssVar: s, valu
|
|
|
813
814
|
]
|
|
814
815
|
}
|
|
815
816
|
);
|
|
816
|
-
},
|
|
817
|
-
/* @__PURE__ */ e.jsx("div", { className: "fixed top-4 right-4 z-10", children: /* @__PURE__ */ e.jsx(
|
|
818
|
-
/* @__PURE__ */ e.jsx(
|
|
819
|
-
] }),
|
|
820
|
-
function
|
|
817
|
+
}, Ge = () => /* @__PURE__ */ e.jsxs("div", { className: "relative", children: [
|
|
818
|
+
/* @__PURE__ */ e.jsx("div", { className: "fixed top-4 right-4 z-10", children: /* @__PURE__ */ e.jsx(qe, {}) }),
|
|
819
|
+
/* @__PURE__ */ e.jsx(He, {})
|
|
820
|
+
] }), Fr = () => /* @__PURE__ */ e.jsx(We, { defaultTheme: "system", storageKey: "acemyjob-demo-theme", children: /* @__PURE__ */ e.jsx(Ge, {}) });
|
|
821
|
+
function Ur({
|
|
821
822
|
label: r,
|
|
822
823
|
children: s,
|
|
823
|
-
helperText:
|
|
824
|
-
errorText:
|
|
824
|
+
helperText: t,
|
|
825
|
+
errorText: a,
|
|
825
826
|
required: l = !1,
|
|
826
827
|
className: n = ""
|
|
827
828
|
}) {
|
|
@@ -831,21 +832,21 @@ function Pr({
|
|
|
831
832
|
l && /* @__PURE__ */ e.jsx("span", { className: "text-error-500 ml-1", children: "*" })
|
|
832
833
|
] }),
|
|
833
834
|
s,
|
|
834
|
-
|
|
835
|
-
|
|
835
|
+
a && /* @__PURE__ */ e.jsx("p", { className: "text-xs text-error-600", children: a }),
|
|
836
|
+
t && !a && /* @__PURE__ */ e.jsx("p", { className: "text-xs text-text-muted", children: t })
|
|
836
837
|
] });
|
|
837
838
|
}
|
|
838
|
-
const
|
|
839
|
+
const Je = P.forwardRef(
|
|
839
840
|
({
|
|
840
841
|
className: r = "",
|
|
841
842
|
leftIcon: s,
|
|
842
|
-
rightIcon:
|
|
843
|
-
error:
|
|
843
|
+
rightIcon: t,
|
|
844
|
+
error: a = !1,
|
|
844
845
|
fullWidth: l = !0,
|
|
845
846
|
disabled: n,
|
|
846
847
|
...c
|
|
847
848
|
}, o) => {
|
|
848
|
-
const u = "px-3 py-2 border rounded-lg transition-colors text-sm", d =
|
|
849
|
+
const u = "px-3 py-2 border rounded-lg transition-colors text-sm", d = a ? "border-error-300 focus:ring-2 focus:ring-error-500 focus:border-transparent" : "border-border focus:ring-2 focus:ring-reseda-green-500 focus:border-transparent", m = n ? "bg-surface-variant text-text-muted cursor-not-allowed" : "bg-surface text-text-primary", h = l ? "w-full" : "", x = s || t ? "relative flex items-center" : "", f = `${u} ${d} ${m} ${h} ${s ? "pl-10" : ""} ${t ? "pr-10" : ""} ${r}`;
|
|
849
850
|
return /* @__PURE__ */ e.jsxs("div", { className: x, children: [
|
|
850
851
|
s && /* @__PURE__ */ e.jsx("div", { className: "absolute left-3 flex items-center pointer-events-none text-text-muted", children: s }),
|
|
851
852
|
/* @__PURE__ */ e.jsx(
|
|
@@ -857,22 +858,22 @@ const Ge = I.forwardRef(
|
|
|
857
858
|
...c
|
|
858
859
|
}
|
|
859
860
|
),
|
|
860
|
-
|
|
861
|
+
t && /* @__PURE__ */ e.jsx("div", { className: "absolute right-3 flex items-center pointer-events-none text-text-muted", children: t })
|
|
861
862
|
] });
|
|
862
863
|
}
|
|
863
864
|
);
|
|
864
|
-
|
|
865
|
-
const
|
|
865
|
+
Je.displayName = "Input";
|
|
866
|
+
const Xe = P.forwardRef(
|
|
866
867
|
({
|
|
867
868
|
options: r,
|
|
868
869
|
placeholder: s,
|
|
869
|
-
className:
|
|
870
|
-
error:
|
|
870
|
+
className: t = "",
|
|
871
|
+
error: a = !1,
|
|
871
872
|
fullWidth: l = !0,
|
|
872
873
|
disabled: n,
|
|
873
874
|
...c
|
|
874
875
|
}, o) => {
|
|
875
|
-
const x = `px-3 py-2 border rounded-lg transition-colors text-sm appearance-none ${
|
|
876
|
+
const x = `px-3 py-2 border rounded-lg transition-colors text-sm appearance-none ${a ? "border-error-300 focus:ring-2 focus:ring-error-500 focus:border-transparent" : "border-border focus:ring-2 focus:ring-reseda-green-500 focus:border-transparent"} ${n ? "bg-surface-variant text-text-muted cursor-not-allowed" : "bg-surface text-text-primary"} ${l ? "w-full" : ""} pr-10 ${t}`;
|
|
876
877
|
return /* @__PURE__ */ e.jsxs("div", { className: "relative flex items-center", children: [
|
|
877
878
|
/* @__PURE__ */ e.jsxs(
|
|
878
879
|
"select",
|
|
@@ -887,25 +888,25 @@ const Je = I.forwardRef(
|
|
|
887
888
|
]
|
|
888
889
|
}
|
|
889
890
|
),
|
|
890
|
-
/* @__PURE__ */ e.jsx(
|
|
891
|
+
/* @__PURE__ */ e.jsx(te, { className: "absolute right-3 w-4 h-4 text-text-muted pointer-events-none" })
|
|
891
892
|
] });
|
|
892
893
|
}
|
|
893
894
|
);
|
|
894
|
-
|
|
895
|
-
function
|
|
895
|
+
Xe.displayName = "Select";
|
|
896
|
+
function Ke({
|
|
896
897
|
title: r,
|
|
897
898
|
titleId: s,
|
|
898
|
-
...
|
|
899
|
-
},
|
|
899
|
+
...t
|
|
900
|
+
}, a) {
|
|
900
901
|
return /* @__PURE__ */ j.createElement("svg", Object.assign({
|
|
901
902
|
xmlns: "http://www.w3.org/2000/svg",
|
|
902
903
|
viewBox: "0 0 20 20",
|
|
903
904
|
fill: "currentColor",
|
|
904
905
|
"aria-hidden": "true",
|
|
905
906
|
"data-slot": "icon",
|
|
906
|
-
ref:
|
|
907
|
+
ref: a,
|
|
907
908
|
"aria-labelledby": s
|
|
908
|
-
},
|
|
909
|
+
}, t), r ? /* @__PURE__ */ j.createElement("title", {
|
|
909
910
|
id: s
|
|
910
911
|
}, r) : null, /* @__PURE__ */ j.createElement("path", {
|
|
911
912
|
fillRule: "evenodd",
|
|
@@ -913,21 +914,21 @@ function Xe({
|
|
|
913
914
|
clipRule: "evenodd"
|
|
914
915
|
}));
|
|
915
916
|
}
|
|
916
|
-
const xe = /* @__PURE__ */ j.forwardRef(
|
|
917
|
-
function
|
|
917
|
+
const xe = /* @__PURE__ */ j.forwardRef(Ke);
|
|
918
|
+
function Qe({
|
|
918
919
|
title: r,
|
|
919
920
|
titleId: s,
|
|
920
|
-
...
|
|
921
|
-
},
|
|
921
|
+
...t
|
|
922
|
+
}, a) {
|
|
922
923
|
return /* @__PURE__ */ j.createElement("svg", Object.assign({
|
|
923
924
|
xmlns: "http://www.w3.org/2000/svg",
|
|
924
925
|
viewBox: "0 0 20 20",
|
|
925
926
|
fill: "currentColor",
|
|
926
927
|
"aria-hidden": "true",
|
|
927
928
|
"data-slot": "icon",
|
|
928
|
-
ref:
|
|
929
|
+
ref: a,
|
|
929
930
|
"aria-labelledby": s
|
|
930
|
-
},
|
|
931
|
+
}, t), r ? /* @__PURE__ */ j.createElement("title", {
|
|
931
932
|
id: s
|
|
932
933
|
}, r) : null, /* @__PURE__ */ j.createElement("path", {
|
|
933
934
|
fillRule: "evenodd",
|
|
@@ -935,32 +936,32 @@ function Ke({
|
|
|
935
936
|
clipRule: "evenodd"
|
|
936
937
|
}));
|
|
937
938
|
}
|
|
938
|
-
const he = /* @__PURE__ */ j.forwardRef(
|
|
939
|
-
function
|
|
939
|
+
const he = /* @__PURE__ */ j.forwardRef(Qe);
|
|
940
|
+
function er({
|
|
940
941
|
title: r,
|
|
941
942
|
titleId: s,
|
|
942
|
-
...
|
|
943
|
-
},
|
|
943
|
+
...t
|
|
944
|
+
}, a) {
|
|
944
945
|
return /* @__PURE__ */ j.createElement("svg", Object.assign({
|
|
945
946
|
xmlns: "http://www.w3.org/2000/svg",
|
|
946
947
|
viewBox: "0 0 20 20",
|
|
947
948
|
fill: "currentColor",
|
|
948
949
|
"aria-hidden": "true",
|
|
949
950
|
"data-slot": "icon",
|
|
950
|
-
ref:
|
|
951
|
+
ref: a,
|
|
951
952
|
"aria-labelledby": s
|
|
952
|
-
},
|
|
953
|
+
}, t), r ? /* @__PURE__ */ j.createElement("title", {
|
|
953
954
|
id: s
|
|
954
955
|
}, r) : null, /* @__PURE__ */ j.createElement("path", {
|
|
955
956
|
d: "M6.28 5.22a.75.75 0 0 0-1.06 1.06L8.94 10l-3.72 3.72a.75.75 0 1 0 1.06 1.06L10 11.06l3.72 3.72a.75.75 0 1 0 1.06-1.06L11.06 10l3.72-3.72a.75.75 0 0 0-1.06-1.06L10 8.94 6.28 5.22Z"
|
|
956
957
|
}));
|
|
957
958
|
}
|
|
958
|
-
const se = /* @__PURE__ */ j.forwardRef(
|
|
959
|
-
function
|
|
959
|
+
const se = /* @__PURE__ */ j.forwardRef(er);
|
|
960
|
+
function rr({
|
|
960
961
|
children: r,
|
|
961
962
|
variant: s = "default",
|
|
962
|
-
size:
|
|
963
|
-
removable:
|
|
963
|
+
size: t = "md",
|
|
964
|
+
removable: a = !1,
|
|
964
965
|
onRemove: l,
|
|
965
966
|
className: n = "",
|
|
966
967
|
style: c,
|
|
@@ -980,11 +981,11 @@ function er({
|
|
|
980
981
|
return /* @__PURE__ */ e.jsxs(
|
|
981
982
|
"span",
|
|
982
983
|
{
|
|
983
|
-
className: `inline-flex items-center gap-1 rounded-full ${m} ${d[
|
|
984
|
+
className: `inline-flex items-center gap-1 rounded-full ${m} ${d[t]} ${n}`,
|
|
984
985
|
style: c,
|
|
985
986
|
children: [
|
|
986
987
|
r,
|
|
987
|
-
|
|
988
|
+
a && l && /* @__PURE__ */ e.jsx(
|
|
988
989
|
"button",
|
|
989
990
|
{
|
|
990
991
|
onClick: l,
|
|
@@ -997,12 +998,12 @@ function er({
|
|
|
997
998
|
}
|
|
998
999
|
);
|
|
999
1000
|
}
|
|
1000
|
-
const
|
|
1001
|
+
const sr = P.forwardRef(
|
|
1001
1002
|
({
|
|
1002
1003
|
tags: r,
|
|
1003
1004
|
onTagsChange: s,
|
|
1004
|
-
onAddTag:
|
|
1005
|
-
onRemoveTag:
|
|
1005
|
+
onAddTag: t,
|
|
1006
|
+
onRemoveTag: a,
|
|
1006
1007
|
placeholder: l = "Add a tag and press Enter",
|
|
1007
1008
|
error: n = !1,
|
|
1008
1009
|
fullWidth: c = !0,
|
|
@@ -1018,14 +1019,14 @@ const rr = I.forwardRef(
|
|
|
1018
1019
|
if (o && r.length >= o || u && r.includes(v))
|
|
1019
1020
|
return;
|
|
1020
1021
|
const w = [...r, v];
|
|
1021
|
-
s(w),
|
|
1022
|
+
s(w), t?.(v), b("");
|
|
1022
1023
|
}, E = (v) => {
|
|
1023
1024
|
const w = r.filter((S) => S !== v);
|
|
1024
|
-
s(w),
|
|
1025
|
+
s(w), a?.(v);
|
|
1025
1026
|
}, p = `w-full px-3 py-2 border rounded-lg transition-colors text-sm ${n ? "border-error-300 focus:ring-2 focus:ring-error-500 focus:border-transparent" : "border-border focus:ring-2 focus:ring-reseda-green-500 focus:border-transparent"} ${d ? "bg-surface-variant text-text-muted cursor-not-allowed" : "bg-surface text-text-primary"} ${c ? "w-full" : ""} ${m}`;
|
|
1026
1027
|
return /* @__PURE__ */ e.jsxs("div", { className: "space-y-2", children: [
|
|
1027
1028
|
/* @__PURE__ */ e.jsx("div", { className: "flex flex-wrap gap-2 mb-2", children: r.map((v) => /* @__PURE__ */ e.jsx(
|
|
1028
|
-
|
|
1029
|
+
rr,
|
|
1029
1030
|
{
|
|
1030
1031
|
removable: !0,
|
|
1031
1032
|
onRemove: () => E(v),
|
|
@@ -1056,7 +1057,7 @@ const rr = I.forwardRef(
|
|
|
1056
1057
|
] });
|
|
1057
1058
|
}
|
|
1058
1059
|
);
|
|
1059
|
-
|
|
1060
|
+
sr.displayName = "TagInput";
|
|
1060
1061
|
const fe = {
|
|
1061
1062
|
variant: {
|
|
1062
1063
|
default: "bg-reseda-green-500 text-white hover:bg-reseda-green-600 focus-visible:ring-reseda-green-500",
|
|
@@ -1075,12 +1076,12 @@ const fe = {
|
|
|
1075
1076
|
xl: "h-12 rounded-md px-10 text-base",
|
|
1076
1077
|
icon: "h-10 w-10"
|
|
1077
1078
|
}
|
|
1078
|
-
},
|
|
1079
|
+
}, tr = "inline-flex items-center justify-center whitespace-nowrap rounded-md text-sm font-medium transition-all focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50", ar = (...r) => r.filter(Boolean).join(" "), D = P.forwardRef(
|
|
1079
1080
|
({
|
|
1080
1081
|
className: r,
|
|
1081
1082
|
variant: s = "default",
|
|
1082
|
-
size:
|
|
1083
|
-
fullWidth:
|
|
1083
|
+
size: t = "default",
|
|
1084
|
+
fullWidth: a = !1,
|
|
1084
1085
|
loading: l = !1,
|
|
1085
1086
|
leftIcon: n,
|
|
1086
1087
|
rightIcon: c,
|
|
@@ -1089,10 +1090,10 @@ const fe = {
|
|
|
1089
1090
|
...d
|
|
1090
1091
|
}, m) => {
|
|
1091
1092
|
const h = u || l, x = ar(
|
|
1092
|
-
|
|
1093
|
+
tr,
|
|
1093
1094
|
fe.variant[s],
|
|
1094
|
-
fe.size[
|
|
1095
|
-
|
|
1095
|
+
fe.size[t],
|
|
1096
|
+
a ? "w-full" : "",
|
|
1096
1097
|
r
|
|
1097
1098
|
);
|
|
1098
1099
|
return /* @__PURE__ */ e.jsxs(
|
|
@@ -1141,7 +1142,7 @@ const fe = {
|
|
|
1141
1142
|
);
|
|
1142
1143
|
}
|
|
1143
1144
|
);
|
|
1144
|
-
|
|
1145
|
+
D.displayName = "Button";
|
|
1145
1146
|
const ge = {
|
|
1146
1147
|
provider: {
|
|
1147
1148
|
linkedin: "bg-[#0077B5] hover:bg-[#005885] text-white focus-visible:ring-[#0077B5]"
|
|
@@ -1151,53 +1152,53 @@ const ge = {
|
|
|
1151
1152
|
right: "flex-row-reverse",
|
|
1152
1153
|
only: "justify-center"
|
|
1153
1154
|
}
|
|
1154
|
-
},
|
|
1155
|
+
}, nr = (...r) => r.filter(Boolean).join(" "), lr = P.forwardRef(
|
|
1155
1156
|
({
|
|
1156
1157
|
className: r,
|
|
1157
1158
|
provider: s,
|
|
1158
|
-
iconPosition:
|
|
1159
|
-
icon:
|
|
1159
|
+
iconPosition: t = "left",
|
|
1160
|
+
icon: a,
|
|
1160
1161
|
showText: l = !0,
|
|
1161
1162
|
children: n,
|
|
1162
1163
|
size: c = "default",
|
|
1163
1164
|
fullWidth: o = !0,
|
|
1164
1165
|
...u
|
|
1165
1166
|
}, d) => {
|
|
1166
|
-
const h =
|
|
1167
|
+
const h = a || {
|
|
1167
1168
|
linkedin: /* @__PURE__ */ e.jsx("svg", { className: "w-5 h-5", viewBox: "0 0 24 24", fill: "currentColor", children: /* @__PURE__ */ e.jsx("path", { d: "M20.447 20.452h-3.554v-5.569c0-1.328-.027-3.037-1.852-3.037-1.853 0-2.136 1.445-2.136 2.939v5.667H9.351V9h3.414v1.561h.046c.477-.9 1.637-1.85 3.37-1.85 3.601 0 4.267 2.37 4.267 5.455v6.286zM5.337 7.433c-1.144 0-2.063-.926-2.063-2.065 0-1.138.92-2.063 2.063-2.063 1.14 0 2.064.925 2.064 2.063 0 1.139-.925 2.065-2.064 2.065zm1.782 13.019H3.555V9h3.564v11.452zM22.225 0H1.771C.792 0 0 .774 0 1.729v20.542C0 23.227.792 24 1.771 24h20.451C23.2 24 24 23.227 24 22.271V1.729C24 .774 23.2 0 22.222 0h.003z" }) })
|
|
1168
1169
|
}[s], f = n || (l ? {
|
|
1169
1170
|
linkedin: "Continue with LinkedIn"
|
|
1170
|
-
}[s] : ""), b =
|
|
1171
|
+
}[s] : ""), b = nr(
|
|
1171
1172
|
"relative overflow-hidden transition-all duration-200",
|
|
1172
1173
|
ge.provider[s],
|
|
1173
|
-
ge.iconPosition[
|
|
1174
|
+
ge.iconPosition[t],
|
|
1174
1175
|
r
|
|
1175
1176
|
);
|
|
1176
1177
|
return /* @__PURE__ */ e.jsxs(
|
|
1177
|
-
|
|
1178
|
+
D,
|
|
1178
1179
|
{
|
|
1179
1180
|
ref: d,
|
|
1180
1181
|
variant: "none",
|
|
1181
1182
|
className: b,
|
|
1182
1183
|
size: c,
|
|
1183
1184
|
fullWidth: o,
|
|
1184
|
-
leftIcon:
|
|
1185
|
-
rightIcon:
|
|
1185
|
+
leftIcon: t === "left" ? h : void 0,
|
|
1186
|
+
rightIcon: t === "right" ? h : void 0,
|
|
1186
1187
|
...u,
|
|
1187
1188
|
children: [
|
|
1188
|
-
|
|
1189
|
-
|
|
1189
|
+
t === "only" && h,
|
|
1190
|
+
t !== "only" && f
|
|
1190
1191
|
]
|
|
1191
1192
|
}
|
|
1192
1193
|
);
|
|
1193
1194
|
}
|
|
1194
1195
|
);
|
|
1195
|
-
|
|
1196
|
+
lr.displayName = "SocialButton";
|
|
1196
1197
|
function q({
|
|
1197
1198
|
variant: r,
|
|
1198
1199
|
title: s,
|
|
1199
|
-
message:
|
|
1200
|
-
icon:
|
|
1200
|
+
message: t,
|
|
1201
|
+
icon: a,
|
|
1201
1202
|
onClose: l,
|
|
1202
1203
|
className: n = ""
|
|
1203
1204
|
}) {
|
|
@@ -1233,10 +1234,10 @@ function q({
|
|
|
1233
1234
|
className: `${o.bg} border ${o.border} rounded-md p-3 ${n}`,
|
|
1234
1235
|
role: "alert",
|
|
1235
1236
|
children: /* @__PURE__ */ e.jsxs("div", { className: "flex items-start gap-3", children: [
|
|
1236
|
-
/* @__PURE__ */ e.jsx("div", { className: `flex-shrink-0 ${o.text}`, children:
|
|
1237
|
+
/* @__PURE__ */ e.jsx("div", { className: `flex-shrink-0 ${o.text}`, children: a || o.icon }),
|
|
1237
1238
|
/* @__PURE__ */ e.jsxs("div", { className: "flex-1", children: [
|
|
1238
1239
|
s && /* @__PURE__ */ e.jsx("p", { className: `text-sm font-medium ${o.text}`, children: s }),
|
|
1239
|
-
/* @__PURE__ */ e.jsx("p", { className: `text-sm ${o.text}`, children:
|
|
1240
|
+
/* @__PURE__ */ e.jsx("p", { className: `text-sm ${o.text}`, children: t })
|
|
1240
1241
|
] }),
|
|
1241
1242
|
l && /* @__PURE__ */ e.jsx(
|
|
1242
1243
|
"button",
|
|
@@ -1251,11 +1252,11 @@ function q({
|
|
|
1251
1252
|
}
|
|
1252
1253
|
);
|
|
1253
1254
|
}
|
|
1254
|
-
function
|
|
1255
|
+
function Yr({
|
|
1255
1256
|
onFileChange: r,
|
|
1256
1257
|
onAnalyze: s,
|
|
1257
|
-
uploadedFile:
|
|
1258
|
-
fileError:
|
|
1258
|
+
uploadedFile: t,
|
|
1259
|
+
fileError: a,
|
|
1259
1260
|
onCancelUpload: l,
|
|
1260
1261
|
isAnalyzing: n = !1,
|
|
1261
1262
|
analyzeError: c,
|
|
@@ -1268,19 +1269,19 @@ function zr({
|
|
|
1268
1269
|
showAnalyzeButton: f = !0
|
|
1269
1270
|
}) {
|
|
1270
1271
|
const b = G(null), [C, T] = V(!1);
|
|
1271
|
-
|
|
1272
|
-
!
|
|
1273
|
-
}, [
|
|
1272
|
+
I(() => {
|
|
1273
|
+
!t && b.current && (b.current.value = "");
|
|
1274
|
+
}, [t]);
|
|
1274
1275
|
const E = (N) => {
|
|
1275
1276
|
N.preventDefault(), N.stopPropagation(), N.type === "dragenter" || N.type === "dragover" ? T(!0) : N.type === "dragleave" && T(!1);
|
|
1276
1277
|
}, A = (N) => {
|
|
1277
1278
|
if (N.preventDefault(), N.stopPropagation(), T(!1), N.dataTransfer.files && N.dataTransfer.files[0]) {
|
|
1278
|
-
const
|
|
1279
|
+
const _ = {
|
|
1279
1280
|
target: {
|
|
1280
1281
|
files: N.dataTransfer.files
|
|
1281
1282
|
}
|
|
1282
1283
|
};
|
|
1283
|
-
r(
|
|
1284
|
+
r(_);
|
|
1284
1285
|
}
|
|
1285
1286
|
};
|
|
1286
1287
|
return /* @__PURE__ */ e.jsxs("div", { className: "mt-6 pt-6 border-t border-border", children: [
|
|
@@ -1306,7 +1307,7 @@ function zr({
|
|
|
1306
1307
|
onDragOver: E,
|
|
1307
1308
|
onDrop: A,
|
|
1308
1309
|
className: `border-2 border-dashed rounded-lg p-6 text-center transition cursor-pointer ${C ? "border-reseda-green-700 bg-reseda-green-50" : "border-border hover:border-reseda-green-700"} ${x ? "opacity-50 cursor-not-allowed" : ""}`,
|
|
1309
|
-
children:
|
|
1310
|
+
children: t && !a ? /* @__PURE__ */ e.jsxs("div", { children: [
|
|
1310
1311
|
/* @__PURE__ */ e.jsx(
|
|
1311
1312
|
"svg",
|
|
1312
1313
|
{
|
|
@@ -1324,13 +1325,13 @@ function zr({
|
|
|
1324
1325
|
}
|
|
1325
1326
|
),
|
|
1326
1327
|
/* @__PURE__ */ e.jsx("div", { className: "mt-3", children: /* @__PURE__ */ e.jsx(q, { variant: "success", message: "File uploaded successfully" }) }),
|
|
1327
|
-
/* @__PURE__ */ e.jsx("p", { className: "text-sm text-text-secondary mt-2 break-words", children:
|
|
1328
|
+
/* @__PURE__ */ e.jsx("p", { className: "text-sm text-text-secondary mt-2 break-words", children: t.name }),
|
|
1328
1329
|
/* @__PURE__ */ e.jsxs("p", { className: "text-xs text-text-muted mt-1", children: [
|
|
1329
|
-
(
|
|
1330
|
+
(t.size / (1024 * 1024)).toFixed(2),
|
|
1330
1331
|
"MB"
|
|
1331
1332
|
] }),
|
|
1332
1333
|
/* @__PURE__ */ e.jsx(
|
|
1333
|
-
|
|
1334
|
+
D,
|
|
1334
1335
|
{
|
|
1335
1336
|
variant: "link",
|
|
1336
1337
|
type: "button",
|
|
@@ -1370,15 +1371,15 @@ function zr({
|
|
|
1370
1371
|
}
|
|
1371
1372
|
)
|
|
1372
1373
|
] }),
|
|
1373
|
-
|
|
1374
|
+
a && /* @__PURE__ */ e.jsx("div", { className: "mt-3", children: /* @__PURE__ */ e.jsx(q, { variant: "error", message: a }) }),
|
|
1374
1375
|
c && /* @__PURE__ */ e.jsx("div", { className: "mt-3", children: /* @__PURE__ */ e.jsx(q, { variant: "error", message: c }) }),
|
|
1375
1376
|
o && /* @__PURE__ */ e.jsx("div", { className: "mt-3", children: /* @__PURE__ */ e.jsx(q, { variant: "success", message: o }) }),
|
|
1376
1377
|
f && /* @__PURE__ */ e.jsx(
|
|
1377
|
-
|
|
1378
|
+
D,
|
|
1378
1379
|
{
|
|
1379
1380
|
variant: "default",
|
|
1380
1381
|
onClick: s,
|
|
1381
|
-
disabled: !
|
|
1382
|
+
disabled: !t || n || x,
|
|
1382
1383
|
loading: n,
|
|
1383
1384
|
fullWidth: !0,
|
|
1384
1385
|
className: "mt-3",
|
|
@@ -1387,12 +1388,12 @@ function zr({
|
|
|
1387
1388
|
)
|
|
1388
1389
|
] });
|
|
1389
1390
|
}
|
|
1390
|
-
const
|
|
1391
|
+
const or = P.forwardRef(
|
|
1391
1392
|
({
|
|
1392
1393
|
className: r = "",
|
|
1393
1394
|
error: s = !1,
|
|
1394
|
-
fullWidth:
|
|
1395
|
-
autoResize:
|
|
1395
|
+
fullWidth: t = !0,
|
|
1396
|
+
autoResize: a = !1,
|
|
1396
1397
|
maxLength: l,
|
|
1397
1398
|
showCharCount: n = !1,
|
|
1398
1399
|
disabled: c,
|
|
@@ -1400,8 +1401,8 @@ const lr = I.forwardRef(
|
|
|
1400
1401
|
onChange: u,
|
|
1401
1402
|
...d
|
|
1402
1403
|
}, m) => {
|
|
1403
|
-
const C = `px-3 py-2 border rounded-lg transition-colors text-sm font-normal resize-none ${s ? "border-error-300 focus:ring-2 focus:ring-error-500 focus:border-transparent" : "border-border focus:ring-2 focus:ring-reseda-green-500 focus:border-transparent"} ${c ? "bg-surface-variant text-text-muted cursor-not-allowed" : "bg-surface text-text-primary"} ${
|
|
1404
|
-
|
|
1404
|
+
const C = `px-3 py-2 border rounded-lg transition-colors text-sm font-normal resize-none ${s ? "border-error-300 focus:ring-2 focus:ring-error-500 focus:border-transparent" : "border-border focus:ring-2 focus:ring-reseda-green-500 focus:border-transparent"} ${c ? "bg-surface-variant text-text-muted cursor-not-allowed" : "bg-surface text-text-primary"} ${t ? "w-full" : ""} ${r}`, T = (A) => {
|
|
1405
|
+
a && (A.target.style.height = "auto", A.target.style.height = `${A.target.scrollHeight}px`), u?.(A);
|
|
1405
1406
|
}, E = typeof o == "string" ? o.length : 0;
|
|
1406
1407
|
return /* @__PURE__ */ e.jsxs("div", { className: "space-y-1", children: [
|
|
1407
1408
|
/* @__PURE__ */ e.jsx(
|
|
@@ -1424,24 +1425,24 @@ const lr = I.forwardRef(
|
|
|
1424
1425
|
] });
|
|
1425
1426
|
}
|
|
1426
1427
|
);
|
|
1427
|
-
|
|
1428
|
-
function
|
|
1428
|
+
or.displayName = "Textarea";
|
|
1429
|
+
function Hr({
|
|
1429
1430
|
options: r,
|
|
1430
1431
|
selectedValues: s,
|
|
1431
|
-
onSelectionChange:
|
|
1432
|
-
layout:
|
|
1432
|
+
onSelectionChange: t,
|
|
1433
|
+
layout: a = "vertical",
|
|
1433
1434
|
columns: l = 2,
|
|
1434
1435
|
disabled: n = !1,
|
|
1435
1436
|
error: c = !1
|
|
1436
1437
|
}) {
|
|
1437
1438
|
const o = (h) => {
|
|
1438
1439
|
const x = s.includes(h) ? s.filter((f) => f !== h) : [...s, h];
|
|
1439
|
-
|
|
1440
|
+
t(x);
|
|
1440
1441
|
}, u = {
|
|
1441
1442
|
vertical: "space-y-3",
|
|
1442
1443
|
horizontal: "flex flex-wrap gap-3",
|
|
1443
1444
|
grid: `grid grid-cols-${l} gap-3`
|
|
1444
|
-
}, d =
|
|
1445
|
+
}, d = a === "grid" ? "grid gap-3" : u[a], m = a === "grid" ? `md:grid-cols-${l}` : "";
|
|
1445
1446
|
return /* @__PURE__ */ e.jsx("div", { className: `${d} ${m}`, children: r.map((h) => {
|
|
1446
1447
|
const x = s.includes(h.value), b = x ? "border-reseda-green-500 bg-reseda-green-50 ring-2 ring-reseda-green-200" : `border-${c ? "border-error-300" : "border-border"} hover:border-border-subtle hover:bg-surface-variant`;
|
|
1447
1448
|
return /* @__PURE__ */ e.jsxs(
|
|
@@ -1471,21 +1472,21 @@ function Lr({
|
|
|
1471
1472
|
);
|
|
1472
1473
|
}) });
|
|
1473
1474
|
}
|
|
1474
|
-
function
|
|
1475
|
+
function Wr({
|
|
1475
1476
|
options: r,
|
|
1476
1477
|
selectedValue: s,
|
|
1477
|
-
onSelectionChange:
|
|
1478
|
-
layout:
|
|
1478
|
+
onSelectionChange: t,
|
|
1479
|
+
layout: a = "vertical",
|
|
1479
1480
|
columns: l = 2,
|
|
1480
1481
|
disabled: n = !1,
|
|
1481
1482
|
error: c = !1,
|
|
1482
1483
|
name: o = "radio-group"
|
|
1483
1484
|
}) {
|
|
1484
|
-
const d =
|
|
1485
|
+
const d = a === "grid" ? `grid gap-3 md:grid-cols-${l}` : {
|
|
1485
1486
|
vertical: "space-y-3",
|
|
1486
1487
|
horizontal: "flex flex-wrap gap-3",
|
|
1487
1488
|
grid: "grid gap-3"
|
|
1488
|
-
}[
|
|
1489
|
+
}[a];
|
|
1489
1490
|
return /* @__PURE__ */ e.jsx("div", { className: d, children: r.map((m) => {
|
|
1490
1491
|
const h = s === m.value, f = h ? "border-reseda-green-500 bg-reseda-green-50 ring-2 ring-reseda-green-200" : `border-${c ? "border-error-300" : "border-border"} hover:border-border-subtle hover:bg-surface-variant`;
|
|
1491
1492
|
return /* @__PURE__ */ e.jsxs(
|
|
@@ -1500,7 +1501,7 @@ function Fr({
|
|
|
1500
1501
|
name: o,
|
|
1501
1502
|
value: m.value,
|
|
1502
1503
|
checked: h,
|
|
1503
|
-
onChange: () =>
|
|
1504
|
+
onChange: () => t(m.value),
|
|
1504
1505
|
disabled: n,
|
|
1505
1506
|
className: "sr-only"
|
|
1506
1507
|
}
|
|
@@ -1517,8 +1518,8 @@ function Fr({
|
|
|
1517
1518
|
);
|
|
1518
1519
|
}) });
|
|
1519
1520
|
}
|
|
1520
|
-
function
|
|
1521
|
-
const
|
|
1521
|
+
function Zr({ stats: r, columns: s = 4, className: t = "" }) {
|
|
1522
|
+
const a = {
|
|
1522
1523
|
2: "grid-cols-2",
|
|
1523
1524
|
3: "grid-cols-3",
|
|
1524
1525
|
4: "grid-cols-4"
|
|
@@ -1528,7 +1529,7 @@ function Ur({ stats: r, columns: s = 4, className: a = "" }) {
|
|
|
1528
1529
|
warning: { bg: "bg-peach-yellow-50", text: "text-warning-600", value: "text-warning-900" },
|
|
1529
1530
|
"earth-yellow": { bg: "bg-sunglow-50", text: "text-earth-yellow-700", value: "text-earth-yellow-100" }
|
|
1530
1531
|
};
|
|
1531
|
-
return /* @__PURE__ */ e.jsx("div", { className: `grid ${
|
|
1532
|
+
return /* @__PURE__ */ e.jsx("div", { className: `grid ${a} gap-4 mb-6 bg-surface p-6 rounded-lg ${t}`, children: r.map((n, c) => {
|
|
1532
1533
|
const o = l[n.color || "moss-green"];
|
|
1533
1534
|
return /* @__PURE__ */ e.jsxs("div", { className: `${o.bg} rounded-lg p-4`, children: [
|
|
1534
1535
|
n.icon && /* @__PURE__ */ e.jsx("div", { className: "mb-2", children: n.icon }),
|
|
@@ -1537,16 +1538,16 @@ function Ur({ stats: r, columns: s = 4, className: a = "" }) {
|
|
|
1537
1538
|
] }, c);
|
|
1538
1539
|
}) });
|
|
1539
1540
|
}
|
|
1540
|
-
function
|
|
1541
|
+
function qr({
|
|
1541
1542
|
items: r,
|
|
1542
1543
|
allowMultiple: s = !1,
|
|
1543
|
-
defaultOpenId:
|
|
1544
|
-
onOpenChange:
|
|
1544
|
+
defaultOpenId: t,
|
|
1545
|
+
onOpenChange: a,
|
|
1545
1546
|
className: l = ""
|
|
1546
1547
|
}) {
|
|
1547
|
-
const [n, c] = V(() =>
|
|
1548
|
+
const [n, c] = V(() => t ? Array.isArray(t) ? t : [t] : []), o = (u) => {
|
|
1548
1549
|
let d;
|
|
1549
|
-
s ? d = n.includes(u) ? n.filter((m) => m !== u) : [...n, u] : d = n.includes(u) ? [] : [u], c(d),
|
|
1550
|
+
s ? d = n.includes(u) ? n.filter((m) => m !== u) : [...n, u] : d = n.includes(u) ? [] : [u], c(d), a?.(d);
|
|
1550
1551
|
};
|
|
1551
1552
|
return /* @__PURE__ */ e.jsx("div", { className: `space-y-2 ${l}`, children: r.map((u) => {
|
|
1552
1553
|
const d = n.includes(u.id);
|
|
@@ -1566,7 +1567,7 @@ function Yr({
|
|
|
1566
1567
|
/* @__PURE__ */ e.jsx("h3", { className: "font-medium text-text-primary", children: u.title })
|
|
1567
1568
|
] }),
|
|
1568
1569
|
/* @__PURE__ */ e.jsx(
|
|
1569
|
-
|
|
1570
|
+
te,
|
|
1570
1571
|
{
|
|
1571
1572
|
className: `w-5 h-5 text-text-secondary transition-transform flex-shrink-0 ${d ? "rotate-180" : ""}`
|
|
1572
1573
|
}
|
|
@@ -1581,11 +1582,11 @@ function Yr({
|
|
|
1581
1582
|
);
|
|
1582
1583
|
}) });
|
|
1583
1584
|
}
|
|
1584
|
-
function
|
|
1585
|
+
function Gr({
|
|
1585
1586
|
icon: r,
|
|
1586
1587
|
title: s,
|
|
1587
|
-
subtitle:
|
|
1588
|
-
metadata:
|
|
1588
|
+
subtitle: t,
|
|
1589
|
+
metadata: a,
|
|
1589
1590
|
isSelected: l = !1,
|
|
1590
1591
|
isActive: n = !1,
|
|
1591
1592
|
variant: c = "default",
|
|
@@ -1620,12 +1621,12 @@ function Hr({
|
|
|
1620
1621
|
r && /* @__PURE__ */ e.jsx("div", { className: "shrink-0", children: r }),
|
|
1621
1622
|
/* @__PURE__ */ e.jsxs("div", { className: "flex-1 min-w-0", children: [
|
|
1622
1623
|
/* @__PURE__ */ e.jsx("h3", { className: "font-medium text-text-primary", children: s }),
|
|
1623
|
-
|
|
1624
|
-
|
|
1624
|
+
t && /* @__PURE__ */ e.jsx("p", { className: "text-sm text-text-secondary mt-1", children: t }),
|
|
1625
|
+
a && /* @__PURE__ */ e.jsx("div", { className: "mt-2", children: a })
|
|
1625
1626
|
] })
|
|
1626
1627
|
] }),
|
|
1627
1628
|
/* @__PURE__ */ e.jsx("div", { className: "ml-2 flex items-center gap-1 shrink-0", children: o.map((b, C) => /* @__PURE__ */ e.jsx(
|
|
1628
|
-
|
|
1629
|
+
D,
|
|
1629
1630
|
{
|
|
1630
1631
|
variant: b.variant || "ghost",
|
|
1631
1632
|
size: b.size || "sm",
|
|
@@ -1643,38 +1644,132 @@ function Hr({
|
|
|
1643
1644
|
}
|
|
1644
1645
|
);
|
|
1645
1646
|
}
|
|
1646
|
-
function
|
|
1647
|
+
function Jr({
|
|
1647
1648
|
children: r,
|
|
1648
1649
|
variant: s = "default",
|
|
1649
|
-
isActive:
|
|
1650
|
-
onClick:
|
|
1650
|
+
isActive: t = !1,
|
|
1651
|
+
onClick: a,
|
|
1651
1652
|
className: l = ""
|
|
1652
1653
|
}) {
|
|
1653
1654
|
const n = "rounded-lg transition-all", c = {
|
|
1654
1655
|
default: "border border-border p-4",
|
|
1655
1656
|
surface: "bg-surface-variant p-4",
|
|
1656
1657
|
elevated: "bg-surface shadow-md p-6",
|
|
1657
|
-
interactive: `border-2 p-4 cursor-pointer ${
|
|
1658
|
+
interactive: `border-2 p-4 cursor-pointer ${t ? "border-success-500 bg-success-50" : "border-border bg-surface hover:border-border-subtle"}`
|
|
1658
1659
|
};
|
|
1659
1660
|
return /* @__PURE__ */ e.jsx(
|
|
1660
1661
|
"div",
|
|
1661
1662
|
{
|
|
1662
1663
|
className: `${n} ${c[s]} ${l}`,
|
|
1663
|
-
onClick:
|
|
1664
|
-
role:
|
|
1665
|
-
tabIndex:
|
|
1666
|
-
onKeyDown:
|
|
1667
|
-
(o.key === "Enter" || o.key === " ") &&
|
|
1664
|
+
onClick: a,
|
|
1665
|
+
role: a ? "button" : void 0,
|
|
1666
|
+
tabIndex: a ? 0 : void 0,
|
|
1667
|
+
onKeyDown: a ? (o) => {
|
|
1668
|
+
(o.key === "Enter" || o.key === " ") && a();
|
|
1668
1669
|
} : void 0,
|
|
1669
1670
|
children: r
|
|
1670
1671
|
}
|
|
1671
1672
|
);
|
|
1672
1673
|
}
|
|
1673
|
-
|
|
1674
|
+
const cr = {
|
|
1675
|
+
right: {
|
|
1676
|
+
sm: "w-full sm:w-[360px]",
|
|
1677
|
+
md: "w-full sm:w-[480px]",
|
|
1678
|
+
lg: "w-full sm:w-[640px]",
|
|
1679
|
+
full: "w-full"
|
|
1680
|
+
},
|
|
1681
|
+
left: {
|
|
1682
|
+
sm: "w-full sm:w-[360px]",
|
|
1683
|
+
md: "w-full sm:w-[480px]",
|
|
1684
|
+
lg: "w-full sm:w-[640px]",
|
|
1685
|
+
full: "w-full"
|
|
1686
|
+
},
|
|
1687
|
+
bottom: {
|
|
1688
|
+
sm: "h-[30vh]",
|
|
1689
|
+
md: "h-[50vh]",
|
|
1690
|
+
lg: "h-[70vh]",
|
|
1691
|
+
full: "h-full"
|
|
1692
|
+
}
|
|
1693
|
+
}, ir = {
|
|
1694
|
+
right: "top-0 right-0 h-full",
|
|
1695
|
+
left: "top-0 left-0 h-full",
|
|
1696
|
+
bottom: "left-0 right-0 bottom-0 w-full"
|
|
1697
|
+
};
|
|
1698
|
+
function Xr({
|
|
1699
|
+
open: r,
|
|
1700
|
+
onClose: s,
|
|
1701
|
+
title: t,
|
|
1702
|
+
children: a,
|
|
1703
|
+
footer: l,
|
|
1704
|
+
placement: n = "right",
|
|
1705
|
+
size: c = "md",
|
|
1706
|
+
closeOnOverlayClick: o = !0,
|
|
1707
|
+
closeOnEsc: u = !0,
|
|
1708
|
+
showCloseButton: d = !0,
|
|
1709
|
+
className: m = ""
|
|
1710
|
+
}) {
|
|
1711
|
+
if (I(() => {
|
|
1712
|
+
if (!r || typeof document > "u")
|
|
1713
|
+
return;
|
|
1714
|
+
const x = document.body.style.overflow;
|
|
1715
|
+
return document.body.style.overflow = "hidden", () => {
|
|
1716
|
+
document.body.style.overflow = x;
|
|
1717
|
+
};
|
|
1718
|
+
}, [r]), I(() => {
|
|
1719
|
+
if (!r || !u || typeof window > "u")
|
|
1720
|
+
return;
|
|
1721
|
+
const x = (f) => {
|
|
1722
|
+
f.key === "Escape" && s();
|
|
1723
|
+
};
|
|
1724
|
+
return window.addEventListener("keydown", x), () => {
|
|
1725
|
+
window.removeEventListener("keydown", x);
|
|
1726
|
+
};
|
|
1727
|
+
}, [r, u, s]), !r || typeof document > "u")
|
|
1728
|
+
return null;
|
|
1729
|
+
const h = [
|
|
1730
|
+
"fixed z-[60] bg-surface border-border shadow-xl flex flex-col",
|
|
1731
|
+
ir[n],
|
|
1732
|
+
cr[n][c],
|
|
1733
|
+
n === "bottom" ? "rounded-t-xl border-t" : n === "left" ? "border-r" : "border-l",
|
|
1734
|
+
m
|
|
1735
|
+
].filter(Boolean).join(" ");
|
|
1736
|
+
return Se(
|
|
1737
|
+
/* @__PURE__ */ e.jsxs("div", { className: "fixed inset-0 z-50", children: [
|
|
1738
|
+
/* @__PURE__ */ e.jsx(
|
|
1739
|
+
"button",
|
|
1740
|
+
{
|
|
1741
|
+
type: "button",
|
|
1742
|
+
"aria-label": "Close drawer overlay",
|
|
1743
|
+
className: "absolute inset-0 bg-black/40",
|
|
1744
|
+
onClick: o ? s : void 0
|
|
1745
|
+
}
|
|
1746
|
+
),
|
|
1747
|
+
/* @__PURE__ */ e.jsxs("section", { role: "dialog", "aria-modal": "true", className: h, children: [
|
|
1748
|
+
/* @__PURE__ */ e.jsxs("header", { className: "flex items-center justify-between border-b border-border px-4 py-3", children: [
|
|
1749
|
+
/* @__PURE__ */ e.jsx("div", { className: "text-sm font-semibold text-text-primary", children: t }),
|
|
1750
|
+
d ? /* @__PURE__ */ e.jsx(
|
|
1751
|
+
"button",
|
|
1752
|
+
{
|
|
1753
|
+
type: "button",
|
|
1754
|
+
onClick: s,
|
|
1755
|
+
className: "rounded-md p-1 text-text-secondary hover:bg-surface-variant hover:text-text-primary",
|
|
1756
|
+
"aria-label": "Close drawer",
|
|
1757
|
+
children: /* @__PURE__ */ e.jsx(we, { className: "h-5 w-5" })
|
|
1758
|
+
}
|
|
1759
|
+
) : null
|
|
1760
|
+
] }),
|
|
1761
|
+
/* @__PURE__ */ e.jsx("div", { className: "flex-1 overflow-auto px-4 py-3 text-text-primary", children: a }),
|
|
1762
|
+
l ? /* @__PURE__ */ e.jsx("footer", { className: "border-t border-border px-4 py-3", children: l }) : null
|
|
1763
|
+
] })
|
|
1764
|
+
] }),
|
|
1765
|
+
document.body
|
|
1766
|
+
);
|
|
1767
|
+
}
|
|
1768
|
+
function Kr({
|
|
1674
1769
|
title: r,
|
|
1675
1770
|
children: s,
|
|
1676
|
-
subtitle:
|
|
1677
|
-
spacing:
|
|
1771
|
+
subtitle: t,
|
|
1772
|
+
spacing: a = "normal",
|
|
1678
1773
|
className: l = ""
|
|
1679
1774
|
}) {
|
|
1680
1775
|
const n = {
|
|
@@ -1682,61 +1777,61 @@ function Zr({
|
|
|
1682
1777
|
normal: "space-y-6",
|
|
1683
1778
|
spacious: "space-y-8"
|
|
1684
1779
|
};
|
|
1685
|
-
return /* @__PURE__ */ e.jsxs("div", { className: `${n[
|
|
1780
|
+
return /* @__PURE__ */ e.jsxs("div", { className: `${n[a]} ${l}`, children: [
|
|
1686
1781
|
/* @__PURE__ */ e.jsxs("div", { children: [
|
|
1687
1782
|
/* @__PURE__ */ e.jsx("h3", { className: "text-lg font-semibold text-text-primary", children: r }),
|
|
1688
|
-
|
|
1783
|
+
t && /* @__PURE__ */ e.jsx("p", { className: "text-sm text-text-secondary mt-1", children: t })
|
|
1689
1784
|
] }),
|
|
1690
1785
|
s
|
|
1691
1786
|
] });
|
|
1692
1787
|
}
|
|
1693
|
-
function
|
|
1788
|
+
function Qr({
|
|
1694
1789
|
title: r,
|
|
1695
1790
|
subtitle: s,
|
|
1696
|
-
metadata:
|
|
1697
|
-
sections:
|
|
1791
|
+
metadata: t,
|
|
1792
|
+
sections: a,
|
|
1698
1793
|
className: l = ""
|
|
1699
1794
|
}) {
|
|
1700
1795
|
return /* @__PURE__ */ e.jsxs("div", { className: `space-y-6 ${l}`, children: [
|
|
1701
1796
|
/* @__PURE__ */ e.jsxs("div", { children: [
|
|
1702
1797
|
/* @__PURE__ */ e.jsxs("div", { className: "flex items-start justify-between mb-1", children: [
|
|
1703
1798
|
/* @__PURE__ */ e.jsx("h2", { className: "text-xl font-semibold text-text-primary", children: r }),
|
|
1704
|
-
|
|
1799
|
+
t && /* @__PURE__ */ e.jsx("div", { className: "text-sm text-text-secondary", children: t })
|
|
1705
1800
|
] }),
|
|
1706
1801
|
s && /* @__PURE__ */ e.jsx("p", { className: "text-sm text-text-secondary", children: s })
|
|
1707
1802
|
] }),
|
|
1708
|
-
|
|
1803
|
+
a.map((n, c) => /* @__PURE__ */ e.jsxs("div", { children: [
|
|
1709
1804
|
/* @__PURE__ */ e.jsx("h3", { className: "text-lg font-semibold text-text-primary mb-3", children: n.heading }),
|
|
1710
1805
|
n.content
|
|
1711
1806
|
] }, c))
|
|
1712
1807
|
] });
|
|
1713
1808
|
}
|
|
1714
|
-
function
|
|
1809
|
+
function es({
|
|
1715
1810
|
title: r,
|
|
1716
1811
|
description: s,
|
|
1717
|
-
centered:
|
|
1718
|
-
titleSize:
|
|
1812
|
+
centered: t = !1,
|
|
1813
|
+
titleSize: a = "md"
|
|
1719
1814
|
}) {
|
|
1720
1815
|
const l = {
|
|
1721
1816
|
sm: "text-2xl",
|
|
1722
1817
|
md: "text-3xl",
|
|
1723
1818
|
lg: "text-4xl"
|
|
1724
|
-
}, n =
|
|
1819
|
+
}, n = t ? "text-center" : "", c = t ? "max-w-2xl mx-auto" : "";
|
|
1725
1820
|
return /* @__PURE__ */ e.jsxs("div", { className: `mb-8 ${n}`, children: [
|
|
1726
|
-
/* @__PURE__ */ e.jsx("h1", { className: `${l[
|
|
1821
|
+
/* @__PURE__ */ e.jsx("h1", { className: `${l[a]} font-bold text-text-primary`, children: r }),
|
|
1727
1822
|
/* @__PURE__ */ e.jsx("p", { className: `mt-2 text-text-secondary ${c}`, children: s })
|
|
1728
1823
|
] });
|
|
1729
1824
|
}
|
|
1730
|
-
function
|
|
1825
|
+
function rs({
|
|
1731
1826
|
icon: r,
|
|
1732
1827
|
title: s,
|
|
1733
|
-
description:
|
|
1734
|
-
isSelected:
|
|
1828
|
+
description: t,
|
|
1829
|
+
isSelected: a = !1,
|
|
1735
1830
|
onClick: l,
|
|
1736
1831
|
disabled: n = !1,
|
|
1737
1832
|
className: c = ""
|
|
1738
1833
|
}) {
|
|
1739
|
-
const o = "p-4 border rounded-lg transition-all text-center cursor-pointer", u =
|
|
1834
|
+
const o = "p-4 border rounded-lg transition-all text-center cursor-pointer", u = a ? "border-reseda-green-500 bg-reseda-green-50 ring-2 ring-reseda-green-200" : "border-border hover:border-border-subtle hover:bg-surface-variant", d = n ? "opacity-50 cursor-not-allowed" : "";
|
|
1740
1835
|
return /* @__PURE__ */ e.jsxs(
|
|
1741
1836
|
"div",
|
|
1742
1837
|
{
|
|
@@ -1750,18 +1845,18 @@ function Jr({
|
|
|
1750
1845
|
children: [
|
|
1751
1846
|
r && /* @__PURE__ */ e.jsx("div", { className: "mb-3 flex justify-center", children: /* @__PURE__ */ e.jsx("div", { className: "text-text-secondary", children: r }) }),
|
|
1752
1847
|
/* @__PURE__ */ e.jsx("h3", { className: "font-medium text-text-primary mb-1", children: s }),
|
|
1753
|
-
|
|
1754
|
-
|
|
1848
|
+
t && /* @__PURE__ */ e.jsx("p", { className: "text-xs text-text-secondary", children: t }),
|
|
1849
|
+
a && /* @__PURE__ */ e.jsx("div", { className: "mt-3 flex justify-center", children: /* @__PURE__ */ e.jsx("div", { className: "text-reseda-green-500", children: /* @__PURE__ */ e.jsx("svg", { className: "w-5 h-5", fill: "currentColor", viewBox: "0 0 20 20", children: /* @__PURE__ */ e.jsx("path", { fillRule: "evenodd", d: "M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z", clipRule: "evenodd" }) }) }) })
|
|
1755
1850
|
]
|
|
1756
1851
|
}
|
|
1757
1852
|
);
|
|
1758
1853
|
}
|
|
1759
|
-
const
|
|
1854
|
+
const dr = P.forwardRef(
|
|
1760
1855
|
({
|
|
1761
1856
|
value: r,
|
|
1762
1857
|
onChange: s,
|
|
1763
|
-
min:
|
|
1764
|
-
max:
|
|
1858
|
+
min: t = 0,
|
|
1859
|
+
max: a = 100,
|
|
1765
1860
|
step: l = 1,
|
|
1766
1861
|
showValue: n = !0,
|
|
1767
1862
|
showLabels: c = !1,
|
|
@@ -1773,7 +1868,7 @@ const or = I.forwardRef(
|
|
|
1773
1868
|
className: x = "",
|
|
1774
1869
|
...f
|
|
1775
1870
|
}, b) => {
|
|
1776
|
-
const N = `w-full h-2 rounded-lg appearance-none cursor-pointer ${d ? "bg-error-200 accent-error-500" : "bg-border accent-reseda-green-500"} ${h ? "opacity-50 cursor-not-allowed" : ""} ${m ? "w-full" : ""} ${x}`,
|
|
1871
|
+
const N = `w-full h-2 rounded-lg appearance-none cursor-pointer ${d ? "bg-error-200 accent-error-500" : "bg-border accent-reseda-green-500"} ${h ? "opacity-50 cursor-not-allowed" : ""} ${m ? "w-full" : ""} ${x}`, _ = (r - t) / (a - t) * 100;
|
|
1777
1872
|
return /* @__PURE__ */ e.jsxs("div", { className: "space-y-2", children: [
|
|
1778
1873
|
c && (o || u) && /* @__PURE__ */ e.jsxs("div", { className: "flex justify-between text-xs text-text-muted", children: [
|
|
1779
1874
|
o && /* @__PURE__ */ e.jsx("span", { children: o }),
|
|
@@ -1785,11 +1880,11 @@ const or = I.forwardRef(
|
|
|
1785
1880
|
{
|
|
1786
1881
|
ref: b,
|
|
1787
1882
|
type: "range",
|
|
1788
|
-
min:
|
|
1789
|
-
max:
|
|
1883
|
+
min: t,
|
|
1884
|
+
max: a,
|
|
1790
1885
|
step: l,
|
|
1791
1886
|
value: r,
|
|
1792
|
-
onChange: (
|
|
1887
|
+
onChange: (L) => s(Number(L.target.value)),
|
|
1793
1888
|
disabled: h,
|
|
1794
1889
|
className: N,
|
|
1795
1890
|
...f
|
|
@@ -1801,27 +1896,27 @@ const or = I.forwardRef(
|
|
|
1801
1896
|
"div",
|
|
1802
1897
|
{
|
|
1803
1898
|
className: "h-full bg-reseda-green-500 transition-all",
|
|
1804
|
-
style: { width: `${
|
|
1899
|
+
style: { width: `${_}%` }
|
|
1805
1900
|
}
|
|
1806
1901
|
) })
|
|
1807
1902
|
] });
|
|
1808
1903
|
}
|
|
1809
1904
|
);
|
|
1810
|
-
|
|
1811
|
-
function
|
|
1905
|
+
dr.displayName = "Slider";
|
|
1906
|
+
function ur({
|
|
1812
1907
|
title: r,
|
|
1813
1908
|
titleId: s,
|
|
1814
|
-
...
|
|
1815
|
-
},
|
|
1909
|
+
...t
|
|
1910
|
+
}, a) {
|
|
1816
1911
|
return /* @__PURE__ */ j.createElement("svg", Object.assign({
|
|
1817
1912
|
xmlns: "http://www.w3.org/2000/svg",
|
|
1818
1913
|
viewBox: "0 0 24 24",
|
|
1819
1914
|
fill: "currentColor",
|
|
1820
1915
|
"aria-hidden": "true",
|
|
1821
1916
|
"data-slot": "icon",
|
|
1822
|
-
ref:
|
|
1917
|
+
ref: a,
|
|
1823
1918
|
"aria-labelledby": s
|
|
1824
|
-
},
|
|
1919
|
+
}, t), r ? /* @__PURE__ */ j.createElement("title", {
|
|
1825
1920
|
id: s
|
|
1826
1921
|
}, r) : null, /* @__PURE__ */ j.createElement("path", {
|
|
1827
1922
|
fillRule: "evenodd",
|
|
@@ -1831,21 +1926,21 @@ function cr({
|
|
|
1831
1926
|
d: "M3 18.4v-2.796a4.3 4.3 0 0 0 .713.31A26.226 26.226 0 0 0 12 17.25c2.892 0 5.68-.468 8.287-1.335.252-.084.49-.189.713-.311V18.4c0 1.452-1.047 2.728-2.523 2.923-2.12.282-4.282.427-6.477.427a49.19 49.19 0 0 1-6.477-.427C4.047 21.128 3 19.852 3 18.4Z"
|
|
1832
1927
|
}));
|
|
1833
1928
|
}
|
|
1834
|
-
const
|
|
1835
|
-
function
|
|
1929
|
+
const mr = /* @__PURE__ */ j.forwardRef(ur);
|
|
1930
|
+
function xr({
|
|
1836
1931
|
title: r,
|
|
1837
1932
|
titleId: s,
|
|
1838
|
-
...
|
|
1839
|
-
},
|
|
1933
|
+
...t
|
|
1934
|
+
}, a) {
|
|
1840
1935
|
return /* @__PURE__ */ j.createElement("svg", Object.assign({
|
|
1841
1936
|
xmlns: "http://www.w3.org/2000/svg",
|
|
1842
1937
|
viewBox: "0 0 24 24",
|
|
1843
1938
|
fill: "currentColor",
|
|
1844
1939
|
"aria-hidden": "true",
|
|
1845
1940
|
"data-slot": "icon",
|
|
1846
|
-
ref:
|
|
1941
|
+
ref: a,
|
|
1847
1942
|
"aria-labelledby": s
|
|
1848
|
-
},
|
|
1943
|
+
}, t), r ? /* @__PURE__ */ j.createElement("title", {
|
|
1849
1944
|
id: s
|
|
1850
1945
|
}, r) : null, /* @__PURE__ */ j.createElement("path", {
|
|
1851
1946
|
fillRule: "evenodd",
|
|
@@ -1853,21 +1948,21 @@ function dr({
|
|
|
1853
1948
|
clipRule: "evenodd"
|
|
1854
1949
|
}));
|
|
1855
1950
|
}
|
|
1856
|
-
const
|
|
1857
|
-
function
|
|
1951
|
+
const hr = /* @__PURE__ */ j.forwardRef(xr);
|
|
1952
|
+
function fr({
|
|
1858
1953
|
title: r,
|
|
1859
1954
|
titleId: s,
|
|
1860
|
-
...
|
|
1861
|
-
},
|
|
1955
|
+
...t
|
|
1956
|
+
}, a) {
|
|
1862
1957
|
return /* @__PURE__ */ j.createElement("svg", Object.assign({
|
|
1863
1958
|
xmlns: "http://www.w3.org/2000/svg",
|
|
1864
1959
|
viewBox: "0 0 24 24",
|
|
1865
1960
|
fill: "currentColor",
|
|
1866
1961
|
"aria-hidden": "true",
|
|
1867
1962
|
"data-slot": "icon",
|
|
1868
|
-
ref:
|
|
1963
|
+
ref: a,
|
|
1869
1964
|
"aria-labelledby": s
|
|
1870
|
-
},
|
|
1965
|
+
}, t), r ? /* @__PURE__ */ j.createElement("title", {
|
|
1871
1966
|
id: s
|
|
1872
1967
|
}, r) : null, /* @__PURE__ */ j.createElement("path", {
|
|
1873
1968
|
d: "M5.625 1.5c-1.036 0-1.875.84-1.875 1.875v17.25c0 1.035.84 1.875 1.875 1.875h12.75c1.035 0 1.875-.84 1.875-1.875V12.75A3.75 3.75 0 0 0 16.5 9h-1.875a1.875 1.875 0 0 1-1.875-1.875V5.25A3.75 3.75 0 0 0 9 1.5H5.625Z"
|
|
@@ -1875,27 +1970,27 @@ function mr({
|
|
|
1875
1970
|
d: "M12.971 1.816A5.23 5.23 0 0 1 14.25 5.25v1.875c0 .207.168.375.375.375H16.5a5.23 5.23 0 0 1 3.434 1.279 9.768 9.768 0 0 0-6.963-6.963Z"
|
|
1876
1971
|
}));
|
|
1877
1972
|
}
|
|
1878
|
-
const
|
|
1879
|
-
function
|
|
1973
|
+
const gr = /* @__PURE__ */ j.forwardRef(fr);
|
|
1974
|
+
function br({
|
|
1880
1975
|
title: r,
|
|
1881
1976
|
titleId: s,
|
|
1882
|
-
...
|
|
1883
|
-
},
|
|
1977
|
+
...t
|
|
1978
|
+
}, a) {
|
|
1884
1979
|
return /* @__PURE__ */ j.createElement("svg", Object.assign({
|
|
1885
1980
|
xmlns: "http://www.w3.org/2000/svg",
|
|
1886
1981
|
viewBox: "0 0 24 24",
|
|
1887
1982
|
fill: "currentColor",
|
|
1888
1983
|
"aria-hidden": "true",
|
|
1889
1984
|
"data-slot": "icon",
|
|
1890
|
-
ref:
|
|
1985
|
+
ref: a,
|
|
1891
1986
|
"aria-labelledby": s
|
|
1892
|
-
},
|
|
1987
|
+
}, t), r ? /* @__PURE__ */ j.createElement("title", {
|
|
1893
1988
|
id: s
|
|
1894
1989
|
}, r) : null, /* @__PURE__ */ j.createElement("path", {
|
|
1895
1990
|
d: "M3.478 2.404a.75.75 0 0 0-.926.941l2.432 7.905H13.5a.75.75 0 0 1 0 1.5H4.984l-2.432 7.905a.75.75 0 0 0 .926.94 60.519 60.519 0 0 0 18.445-8.986.75.75 0 0 0 0-1.218A60.517 60.517 0 0 0 3.478 2.404Z"
|
|
1896
1991
|
}));
|
|
1897
1992
|
}
|
|
1898
|
-
const
|
|
1993
|
+
const vr = /* @__PURE__ */ j.forwardRef(br), pr = {
|
|
1899
1994
|
neutral: {
|
|
1900
1995
|
selectedContainer: "border-gray-300 bg-gray-50",
|
|
1901
1996
|
selectedIndicator: "text-gray-500",
|
|
@@ -1912,11 +2007,11 @@ const fr = /* @__PURE__ */ j.forwardRef(hr), gr = {
|
|
|
1912
2007
|
inputAccent: "accent-blue-600"
|
|
1913
2008
|
}
|
|
1914
2009
|
};
|
|
1915
|
-
function
|
|
2010
|
+
function ss({
|
|
1916
2011
|
id: r,
|
|
1917
2012
|
name: s,
|
|
1918
|
-
checked:
|
|
1919
|
-
onChange:
|
|
2013
|
+
checked: t,
|
|
2014
|
+
onChange: a,
|
|
1920
2015
|
primaryText: l,
|
|
1921
2016
|
secondaryText: n,
|
|
1922
2017
|
tertiaryText: c,
|
|
@@ -1925,7 +2020,7 @@ function Xr({
|
|
|
1925
2020
|
disabled: d = !1,
|
|
1926
2021
|
className: m = ""
|
|
1927
2022
|
}) {
|
|
1928
|
-
const h =
|
|
2023
|
+
const h = pr[o], x = t ? h.selectedContainer : "border-gray-200", f = d ? "cursor-not-allowed opacity-60" : "cursor-pointer hover:bg-gray-50";
|
|
1929
2024
|
return /* @__PURE__ */ e.jsxs(
|
|
1930
2025
|
"label",
|
|
1931
2026
|
{
|
|
@@ -1937,9 +2032,9 @@ function Xr({
|
|
|
1937
2032
|
type: "radio",
|
|
1938
2033
|
name: s,
|
|
1939
2034
|
className: `mt-0.5 ${h.inputAccent}`,
|
|
1940
|
-
checked:
|
|
2035
|
+
checked: t,
|
|
1941
2036
|
disabled: d,
|
|
1942
|
-
onChange: () =>
|
|
2037
|
+
onChange: () => a(r)
|
|
1943
2038
|
}
|
|
1944
2039
|
),
|
|
1945
2040
|
/* @__PURE__ */ e.jsxs("span", { className: "min-w-0 flex-1", children: [
|
|
@@ -1947,23 +2042,23 @@ function Xr({
|
|
|
1947
2042
|
n ? /* @__PURE__ */ e.jsx("span", { className: "block text-xs text-gray-500", children: n }) : null,
|
|
1948
2043
|
c ? /* @__PURE__ */ e.jsx("span", { className: "block text-xs text-gray-400", children: c }) : null
|
|
1949
2044
|
] }),
|
|
1950
|
-
u &&
|
|
2045
|
+
u && t ? /* @__PURE__ */ e.jsx(hr, { className: `h-4 w-4 mt-0.5 shrink-0 ${h.selectedIndicator}` }) : null
|
|
1951
2046
|
]
|
|
1952
2047
|
}
|
|
1953
2048
|
);
|
|
1954
2049
|
}
|
|
1955
|
-
function
|
|
2050
|
+
function jr({
|
|
1956
2051
|
id: r,
|
|
1957
2052
|
index: s,
|
|
1958
|
-
previewText:
|
|
1959
|
-
defaultExpanded:
|
|
2053
|
+
previewText: t,
|
|
2054
|
+
defaultExpanded: a = !1,
|
|
1960
2055
|
children: l,
|
|
1961
2056
|
tooltipContent: n,
|
|
1962
2057
|
onRemove: c,
|
|
1963
2058
|
className: o = ""
|
|
1964
2059
|
}) {
|
|
1965
|
-
const [u, d] = V(
|
|
1966
|
-
transform:
|
|
2060
|
+
const [u, d] = V(a), { attributes: m, listeners: h, setNodeRef: x, transform: f, transition: b, isDragging: C } = Be({ id: r }), T = {
|
|
2061
|
+
transform: Me.Transform.toString(f),
|
|
1967
2062
|
transition: b,
|
|
1968
2063
|
opacity: C ? 0.5 : 1
|
|
1969
2064
|
};
|
|
@@ -2000,7 +2095,7 @@ function br({
|
|
|
2000
2095
|
}
|
|
2001
2096
|
),
|
|
2002
2097
|
/* @__PURE__ */ e.jsx(
|
|
2003
|
-
|
|
2098
|
+
D,
|
|
2004
2099
|
{
|
|
2005
2100
|
type: "button",
|
|
2006
2101
|
variant: "ghost",
|
|
@@ -2012,7 +2107,7 @@ function br({
|
|
|
2012
2107
|
}
|
|
2013
2108
|
),
|
|
2014
2109
|
/* @__PURE__ */ e.jsx(
|
|
2015
|
-
|
|
2110
|
+
D,
|
|
2016
2111
|
{
|
|
2017
2112
|
type: "button",
|
|
2018
2113
|
variant: "ghost",
|
|
@@ -2046,11 +2141,11 @@ function br({
|
|
|
2046
2141
|
{
|
|
2047
2142
|
className: "flex-1 text-sm text-text-secondary truncate cursor-pointer select-none",
|
|
2048
2143
|
onClick: () => d(!0),
|
|
2049
|
-
children:
|
|
2144
|
+
children: t
|
|
2050
2145
|
}
|
|
2051
2146
|
),
|
|
2052
2147
|
/* @__PURE__ */ e.jsx(
|
|
2053
|
-
|
|
2148
|
+
D,
|
|
2054
2149
|
{
|
|
2055
2150
|
type: "button",
|
|
2056
2151
|
variant: "ghost",
|
|
@@ -2062,7 +2157,7 @@ function br({
|
|
|
2062
2157
|
}
|
|
2063
2158
|
),
|
|
2064
2159
|
/* @__PURE__ */ e.jsx(
|
|
2065
|
-
|
|
2160
|
+
D,
|
|
2066
2161
|
{
|
|
2067
2162
|
type: "button",
|
|
2068
2163
|
variant: "ghost",
|
|
@@ -2080,8 +2175,8 @@ function br({
|
|
|
2080
2175
|
}
|
|
2081
2176
|
);
|
|
2082
2177
|
}
|
|
2083
|
-
|
|
2084
|
-
const
|
|
2178
|
+
jr.displayName = "SortableItem";
|
|
2179
|
+
const yr = {
|
|
2085
2180
|
bg: "bg-indigo-600",
|
|
2086
2181
|
activeBg: "bg-indigo-700",
|
|
2087
2182
|
text: "text-indigo-200",
|
|
@@ -2093,14 +2188,14 @@ function R(...r) {
|
|
|
2093
2188
|
return r.filter(Boolean).join(" ");
|
|
2094
2189
|
}
|
|
2095
2190
|
function be({ item: r, colorScheme: s }) {
|
|
2096
|
-
const [
|
|
2191
|
+
const [t, a] = V(r.current || r.children?.some((n) => n.current)), l = r.children && r.children.length > 0;
|
|
2097
2192
|
return /* @__PURE__ */ e.jsxs("li", { children: [
|
|
2098
2193
|
/* @__PURE__ */ e.jsx("div", { children: /* @__PURE__ */ e.jsxs(
|
|
2099
2194
|
"a",
|
|
2100
2195
|
{
|
|
2101
2196
|
href: l ? void 0 : r.href,
|
|
2102
2197
|
onClick: (n) => {
|
|
2103
|
-
l && (n.preventDefault(),
|
|
2198
|
+
l && (n.preventDefault(), a(!t));
|
|
2104
2199
|
},
|
|
2105
2200
|
className: R(
|
|
2106
2201
|
r.current ? `${s.activeBg} ${s.activeText}` : `${s.text} ${s.hoverBg} ${s.hoverText}`,
|
|
@@ -2122,11 +2217,11 @@ function be({ item: r, colorScheme: s }) {
|
|
|
2122
2217
|
r.name
|
|
2123
2218
|
] }),
|
|
2124
2219
|
l && /* @__PURE__ */ e.jsx(
|
|
2125
|
-
|
|
2220
|
+
te,
|
|
2126
2221
|
{
|
|
2127
2222
|
className: R(
|
|
2128
2223
|
"size-5 shrink-0 transition-transform",
|
|
2129
|
-
|
|
2224
|
+
t ? "rotate-180" : "",
|
|
2130
2225
|
r.current ? s.activeText : s.text
|
|
2131
2226
|
)
|
|
2132
2227
|
}
|
|
@@ -2134,7 +2229,7 @@ function be({ item: r, colorScheme: s }) {
|
|
|
2134
2229
|
]
|
|
2135
2230
|
}
|
|
2136
2231
|
) }),
|
|
2137
|
-
l &&
|
|
2232
|
+
l && t && /* @__PURE__ */ e.jsx("ul", { className: "mt-1 ml-9 space-y-1", children: r.children.map((n) => /* @__PURE__ */ e.jsx("li", { children: /* @__PURE__ */ e.jsxs(
|
|
2138
2233
|
"a",
|
|
2139
2234
|
{
|
|
2140
2235
|
href: n.href,
|
|
@@ -2159,10 +2254,10 @@ function be({ item: r, colorScheme: s }) {
|
|
|
2159
2254
|
) }, n.name)) })
|
|
2160
2255
|
] });
|
|
2161
2256
|
}
|
|
2162
|
-
function
|
|
2257
|
+
function ts({ company: r, profile: s, navigation: t, colorScheme: a = yr }) {
|
|
2163
2258
|
const [l, n] = V(!1);
|
|
2164
2259
|
return /* @__PURE__ */ e.jsx(e.Fragment, { children: /* @__PURE__ */ e.jsxs("div", { children: [
|
|
2165
|
-
/* @__PURE__ */ e.jsxs(
|
|
2260
|
+
/* @__PURE__ */ e.jsxs(De, { open: l, onClose: n, className: "relative z-50 lg:hidden", children: [
|
|
2166
2261
|
/* @__PURE__ */ e.jsx(
|
|
2167
2262
|
_e,
|
|
2168
2263
|
{
|
|
@@ -2176,11 +2271,11 @@ function Kr({ company: r, profile: s, navigation: a, colorScheme: t = vr }) {
|
|
|
2176
2271
|
transition: !0,
|
|
2177
2272
|
className: "relative mr-16 flex w-full max-w-xs flex-1 transform transition duration-300 ease-in-out data-closed:-translate-x-full",
|
|
2178
2273
|
children: [
|
|
2179
|
-
/* @__PURE__ */ e.jsx(
|
|
2274
|
+
/* @__PURE__ */ e.jsx(Ie, { children: /* @__PURE__ */ e.jsx("div", { className: "absolute top-0 left-full flex w-16 justify-center pt-5 duration-300 ease-in-out data-closed:opacity-0", children: /* @__PURE__ */ e.jsxs("button", { type: "button", onClick: () => n(!1), className: "-m-2.5 p-2.5", children: [
|
|
2180
2275
|
/* @__PURE__ */ e.jsx("span", { className: "sr-only", children: "Close sidebar" }),
|
|
2181
|
-
/* @__PURE__ */ e.jsx(
|
|
2276
|
+
/* @__PURE__ */ e.jsx(we, { "aria-hidden": "true", className: "size-6 text-white" })
|
|
2182
2277
|
] }) }) }),
|
|
2183
|
-
/* @__PURE__ */ e.jsxs("div", { className: R("flex grow flex-col gap-y-5 overflow-y-auto px-6 pb-2",
|
|
2278
|
+
/* @__PURE__ */ e.jsxs("div", { className: R("flex grow flex-col gap-y-5 overflow-y-auto px-6 pb-2", a.bg), children: [
|
|
2184
2279
|
/* @__PURE__ */ e.jsx("div", { className: "flex h-16 shrink-0 items-center", children: /* @__PURE__ */ e.jsx(
|
|
2185
2280
|
"img",
|
|
2186
2281
|
{
|
|
@@ -2189,13 +2284,13 @@ function Kr({ company: r, profile: s, navigation: a, colorScheme: t = vr }) {
|
|
|
2189
2284
|
className: "h-8 w-auto"
|
|
2190
2285
|
}
|
|
2191
2286
|
) }),
|
|
2192
|
-
/* @__PURE__ */ e.jsx("nav", { className: "flex flex-1 flex-col", children: /* @__PURE__ */ e.jsx("ul", { role: "list", className: "flex flex-1 flex-col gap-y-7", children: /* @__PURE__ */ e.jsx("li", { children: /* @__PURE__ */ e.jsx("ul", { role: "list", className: "-mx-2 space-y-1", children:
|
|
2287
|
+
/* @__PURE__ */ e.jsx("nav", { className: "flex flex-1 flex-col", children: /* @__PURE__ */ e.jsx("ul", { role: "list", className: "flex flex-1 flex-col gap-y-7", children: /* @__PURE__ */ e.jsx("li", { children: /* @__PURE__ */ e.jsx("ul", { role: "list", className: "-mx-2 space-y-1", children: t.map((c) => /* @__PURE__ */ e.jsx(be, { item: c, colorScheme: a }, c.name)) }) }) }) })
|
|
2193
2288
|
] })
|
|
2194
2289
|
]
|
|
2195
2290
|
}
|
|
2196
2291
|
) })
|
|
2197
2292
|
] }),
|
|
2198
|
-
/* @__PURE__ */ e.jsx("div", { className: "hidden lg:fixed lg:inset-y-0 lg:z-50 lg:flex lg:w-72 lg:flex-col", children: /* @__PURE__ */ e.jsxs("div", { className: R("flex grow flex-col gap-y-5 overflow-y-auto px-6",
|
|
2293
|
+
/* @__PURE__ */ e.jsx("div", { className: "hidden lg:fixed lg:inset-y-0 lg:z-50 lg:flex lg:w-72 lg:flex-col", children: /* @__PURE__ */ e.jsxs("div", { className: R("flex grow flex-col gap-y-5 overflow-y-auto px-6", a.bg), children: [
|
|
2199
2294
|
/* @__PURE__ */ e.jsx("div", { className: "flex h-16 shrink-0 items-center", children: /* @__PURE__ */ e.jsx(
|
|
2200
2295
|
"img",
|
|
2201
2296
|
{
|
|
@@ -2205,15 +2300,15 @@ function Kr({ company: r, profile: s, navigation: a, colorScheme: t = vr }) {
|
|
|
2205
2300
|
}
|
|
2206
2301
|
) }),
|
|
2207
2302
|
/* @__PURE__ */ e.jsx("nav", { className: "flex flex-1 flex-col", children: /* @__PURE__ */ e.jsxs("ul", { role: "list", className: "flex flex-1 flex-col gap-y-7", children: [
|
|
2208
|
-
/* @__PURE__ */ e.jsx("li", { children: /* @__PURE__ */ e.jsx("ul", { role: "list", className: "-mx-2 space-y-1", children:
|
|
2303
|
+
/* @__PURE__ */ e.jsx("li", { children: /* @__PURE__ */ e.jsx("ul", { role: "list", className: "-mx-2 space-y-1", children: t.map((c) => /* @__PURE__ */ e.jsx(be, { item: c, colorScheme: a }, c.name)) }) }),
|
|
2209
2304
|
/* @__PURE__ */ e.jsx("li", { className: "-mx-6 mt-auto", children: /* @__PURE__ */ e.jsxs(
|
|
2210
2305
|
"a",
|
|
2211
2306
|
{
|
|
2212
2307
|
href: "#",
|
|
2213
2308
|
className: R(
|
|
2214
2309
|
"flex items-center gap-x-4 px-6 py-3 text-sm/6 font-semibold",
|
|
2215
|
-
|
|
2216
|
-
|
|
2310
|
+
a.activeText,
|
|
2311
|
+
a.hoverBg
|
|
2217
2312
|
),
|
|
2218
2313
|
children: [
|
|
2219
2314
|
/* @__PURE__ */ e.jsx(
|
|
@@ -2221,7 +2316,7 @@ function Kr({ company: r, profile: s, navigation: a, colorScheme: t = vr }) {
|
|
|
2221
2316
|
{
|
|
2222
2317
|
alt: s.name,
|
|
2223
2318
|
src: s.image,
|
|
2224
|
-
className: R("size-8 rounded-full",
|
|
2319
|
+
className: R("size-8 rounded-full", a.activeBg)
|
|
2225
2320
|
}
|
|
2226
2321
|
),
|
|
2227
2322
|
/* @__PURE__ */ e.jsx("span", { className: "sr-only", children: "Your profile" }),
|
|
@@ -2231,12 +2326,12 @@ function Kr({ company: r, profile: s, navigation: a, colorScheme: t = vr }) {
|
|
|
2231
2326
|
) })
|
|
2232
2327
|
] }) })
|
|
2233
2328
|
] }) }),
|
|
2234
|
-
/* @__PURE__ */ e.jsxs("div", { className: R("sticky top-0 z-40 flex items-center gap-x-6 px-4 py-4 shadow-xs sm:px-6 lg:hidden",
|
|
2235
|
-
/* @__PURE__ */ e.jsxs("button", { type: "button", onClick: () => n(!0), className: R("-m-2.5 p-2.5 lg:hidden",
|
|
2329
|
+
/* @__PURE__ */ e.jsxs("div", { className: R("sticky top-0 z-40 flex items-center gap-x-6 px-4 py-4 shadow-xs sm:px-6 lg:hidden", a.bg), children: [
|
|
2330
|
+
/* @__PURE__ */ e.jsxs("button", { type: "button", onClick: () => n(!0), className: R("-m-2.5 p-2.5 lg:hidden", a.text), children: [
|
|
2236
2331
|
/* @__PURE__ */ e.jsx("span", { className: "sr-only", children: "Open sidebar" }),
|
|
2237
2332
|
/* @__PURE__ */ e.jsx(Ae, { "aria-hidden": "true", className: "size-6" })
|
|
2238
2333
|
] }),
|
|
2239
|
-
/* @__PURE__ */ e.jsx("div", { className: R("flex-1 text-sm/6 font-semibold",
|
|
2334
|
+
/* @__PURE__ */ e.jsx("div", { className: R("flex-1 text-sm/6 font-semibold", a.activeText), children: "Dashboard" }),
|
|
2240
2335
|
/* @__PURE__ */ e.jsxs("a", { href: "#", children: [
|
|
2241
2336
|
/* @__PURE__ */ e.jsx("span", { className: "sr-only", children: "Your profile" }),
|
|
2242
2337
|
/* @__PURE__ */ e.jsx(
|
|
@@ -2244,14 +2339,14 @@ function Kr({ company: r, profile: s, navigation: a, colorScheme: t = vr }) {
|
|
|
2244
2339
|
{
|
|
2245
2340
|
alt: s.name,
|
|
2246
2341
|
src: s.image,
|
|
2247
|
-
className: R("size-8 rounded-full",
|
|
2342
|
+
className: R("size-8 rounded-full", a.activeBg)
|
|
2248
2343
|
}
|
|
2249
2344
|
)
|
|
2250
2345
|
] })
|
|
2251
2346
|
] })
|
|
2252
2347
|
] }) });
|
|
2253
2348
|
}
|
|
2254
|
-
const
|
|
2349
|
+
const wr = {
|
|
2255
2350
|
activeBg: "bg-reseda-green-700",
|
|
2256
2351
|
activeText: "text-white",
|
|
2257
2352
|
completedBg: "bg-success-500",
|
|
@@ -2262,57 +2357,57 @@ const pr = {
|
|
|
2262
2357
|
labelInactiveText: "text-text-muted",
|
|
2263
2358
|
connectorBg: "bg-border"
|
|
2264
2359
|
};
|
|
2265
|
-
function
|
|
2266
|
-
const
|
|
2360
|
+
function as({ currentStep: r, steps: s, colorConfig: t }) {
|
|
2361
|
+
const a = t || wr;
|
|
2267
2362
|
return /* @__PURE__ */ e.jsx("nav", { className: "mb-10", children: /* @__PURE__ */ e.jsx("ol", { className: "flex items-center w-full", children: s.map((l, n) => /* @__PURE__ */ e.jsxs("li", { className: `flex items-center ${n < s.length - 1 ? "flex-1" : ""}`, children: [
|
|
2268
2363
|
/* @__PURE__ */ e.jsxs("div", { className: "flex items-center", children: [
|
|
2269
2364
|
/* @__PURE__ */ e.jsx(
|
|
2270
2365
|
"span",
|
|
2271
2366
|
{
|
|
2272
|
-
className: `flex items-center justify-center w-9 h-9 rounded-full text-sm font-semibold shrink-0 ${r === l.number ? `${
|
|
2367
|
+
className: `flex items-center justify-center w-9 h-9 rounded-full text-sm font-semibold shrink-0 ${r === l.number ? `${a.activeBg} ${a.activeText}` : r > l.number ? `${a.completedBg} ${a.completedText}` : `border-2 ${a.incompleteBorder} ${a.incompleteText}`}`,
|
|
2273
2368
|
children: l.number
|
|
2274
2369
|
}
|
|
2275
2370
|
),
|
|
2276
2371
|
/* @__PURE__ */ e.jsx(
|
|
2277
2372
|
"span",
|
|
2278
2373
|
{
|
|
2279
|
-
className: `ml-3 text-sm font-medium whitespace-nowrap ${r >= l.number ?
|
|
2374
|
+
className: `ml-3 text-sm font-medium whitespace-nowrap ${r >= l.number ? a.labelActiveText : a.labelInactiveText}`,
|
|
2280
2375
|
children: l.label
|
|
2281
2376
|
}
|
|
2282
2377
|
)
|
|
2283
2378
|
] }),
|
|
2284
|
-
n < s.length - 1 && /* @__PURE__ */ e.jsx("div", { className: `flex-1 h-0.5 mx-4 ${
|
|
2379
|
+
n < s.length - 1 && /* @__PURE__ */ e.jsx("div", { className: `flex-1 h-0.5 mx-4 ${a.connectorBg}` })
|
|
2285
2380
|
] }, l.number)) }) });
|
|
2286
2381
|
}
|
|
2287
|
-
const
|
|
2382
|
+
const Nr = {
|
|
2288
2383
|
activeText: "text-reseda-green-700",
|
|
2289
2384
|
activeBorder: "border-reseda-green-700",
|
|
2290
2385
|
inactiveText: "text-text-secondary",
|
|
2291
2386
|
inactiveHoverText: "hover:text-text-primary",
|
|
2292
2387
|
disabledText: "text-text-disabled"
|
|
2293
2388
|
};
|
|
2294
|
-
function
|
|
2295
|
-
const n = l ||
|
|
2389
|
+
function ns({ tabs: r, activeTab: s, disabled: t = !1, onChange: a, colorConfig: l }) {
|
|
2390
|
+
const n = l || Nr;
|
|
2296
2391
|
return /* @__PURE__ */ e.jsx("div", { className: "flex border-b border-border mb-6", children: r.map((c) => {
|
|
2297
2392
|
const o = s === c.id;
|
|
2298
2393
|
return /* @__PURE__ */ e.jsx(
|
|
2299
|
-
|
|
2394
|
+
D,
|
|
2300
2395
|
{
|
|
2301
2396
|
variant: "ghost",
|
|
2302
|
-
onClick: () => !
|
|
2303
|
-
disabled:
|
|
2304
|
-
className: `px-4 py-2.5 text-sm font-medium whitespace-nowrap transition-colors border-b-2 -mb-px ${o ? `${n.activeBorder} ${n.activeText}` :
|
|
2397
|
+
onClick: () => !t && a(c.id),
|
|
2398
|
+
disabled: t && !o,
|
|
2399
|
+
className: `px-4 py-2.5 text-sm font-medium whitespace-nowrap transition-colors border-b-2 -mb-px ${o ? `${n.activeBorder} ${n.activeText}` : t ? `border-transparent ${n.disabledText} cursor-not-allowed` : `border-transparent ${n.inactiveText} ${n.inactiveHoverText}`}`,
|
|
2305
2400
|
children: c.label
|
|
2306
2401
|
},
|
|
2307
2402
|
c.id
|
|
2308
2403
|
);
|
|
2309
2404
|
}) });
|
|
2310
2405
|
}
|
|
2311
|
-
function
|
|
2406
|
+
function ls({
|
|
2312
2407
|
status: r,
|
|
2313
2408
|
title: s,
|
|
2314
|
-
message:
|
|
2315
|
-
action:
|
|
2409
|
+
message: t,
|
|
2410
|
+
action: a,
|
|
2316
2411
|
progress: l,
|
|
2317
2412
|
className: n = ""
|
|
2318
2413
|
}) {
|
|
@@ -2355,7 +2450,7 @@ function rs({
|
|
|
2355
2450
|
] }) : /* @__PURE__ */ e.jsx("div", { className: `flex-shrink-0 ${o.text}`, children: o.icon }),
|
|
2356
2451
|
/* @__PURE__ */ e.jsxs("div", { className: "flex-1", children: [
|
|
2357
2452
|
/* @__PURE__ */ e.jsx("p", { className: `text-sm font-medium ${o.text}`, children: s }),
|
|
2358
|
-
|
|
2453
|
+
t && /* @__PURE__ */ e.jsx("p", { className: `text-xs ${o.text} mt-1`, children: t }),
|
|
2359
2454
|
l !== void 0 && /* @__PURE__ */ e.jsx("div", { className: "mt-2 w-full bg-gray-200 rounded-full h-2", children: /* @__PURE__ */ e.jsx(
|
|
2360
2455
|
"div",
|
|
2361
2456
|
{
|
|
@@ -2364,24 +2459,24 @@ function rs({
|
|
|
2364
2459
|
}
|
|
2365
2460
|
) })
|
|
2366
2461
|
] }),
|
|
2367
|
-
|
|
2462
|
+
a && /* @__PURE__ */ e.jsx(
|
|
2368
2463
|
"button",
|
|
2369
2464
|
{
|
|
2370
|
-
onClick:
|
|
2465
|
+
onClick: a.onClick,
|
|
2371
2466
|
className: `text-sm font-medium ${o.text} hover:opacity-70 flex-shrink-0`,
|
|
2372
|
-
children:
|
|
2467
|
+
children: a.label
|
|
2373
2468
|
}
|
|
2374
2469
|
)
|
|
2375
2470
|
] }) });
|
|
2376
2471
|
}
|
|
2377
|
-
const
|
|
2472
|
+
const ke = ({
|
|
2378
2473
|
role: r,
|
|
2379
2474
|
content: s,
|
|
2380
|
-
timestamp:
|
|
2381
|
-
className:
|
|
2475
|
+
timestamp: t,
|
|
2476
|
+
className: a = ""
|
|
2382
2477
|
}) => {
|
|
2383
2478
|
const l = r === "user";
|
|
2384
|
-
return /* @__PURE__ */ e.jsxs("div", { className: `flex gap-3 ${l ? "justify-end" : "justify-start"} ${
|
|
2479
|
+
return /* @__PURE__ */ e.jsxs("div", { className: `flex gap-3 ${l ? "justify-end" : "justify-start"} ${a}`, children: [
|
|
2385
2480
|
!l && /* @__PURE__ */ e.jsx("div", { className: "flex-shrink-0", children: /* @__PURE__ */ e.jsx("div", { className: "w-8 h-8 rounded-full bg-green-700 flex items-center justify-center text-white text-sm font-semibold", children: "AI" }) }),
|
|
2386
2481
|
/* @__PURE__ */ e.jsxs("div", { className: `flex-1 ${l ? "max-w-md" : ""}`, children: [
|
|
2387
2482
|
/* @__PURE__ */ e.jsx(
|
|
@@ -2391,28 +2486,28 @@ const Ce = ({
|
|
|
2391
2486
|
children: /* @__PURE__ */ e.jsx("p", { className: "text-sm whitespace-pre-wrap", children: s })
|
|
2392
2487
|
}
|
|
2393
2488
|
),
|
|
2394
|
-
|
|
2489
|
+
t && /* @__PURE__ */ e.jsx("p", { className: `text-xs text-gray-400 mt-1 ${l ? "text-right" : ""}`, children: t.toLocaleTimeString([], { hour: "2-digit", minute: "2-digit" }) })
|
|
2395
2490
|
] }),
|
|
2396
2491
|
l && /* @__PURE__ */ e.jsx("div", { className: "flex-shrink-0", children: /* @__PURE__ */ e.jsx("div", { className: "w-8 h-8 rounded-full bg-gray-300 flex items-center justify-center text-gray-600 text-sm font-semibold", children: "U" }) })
|
|
2397
2492
|
] });
|
|
2398
2493
|
};
|
|
2399
|
-
|
|
2400
|
-
const
|
|
2494
|
+
ke.displayName = "ChatMessage";
|
|
2495
|
+
const Cr = ({
|
|
2401
2496
|
onSend: r,
|
|
2402
2497
|
disabled: s = !1,
|
|
2403
|
-
placeholder:
|
|
2404
|
-
maxLength:
|
|
2498
|
+
placeholder: t = "Ask a question about your resume or the job...",
|
|
2499
|
+
maxLength: a = 2e3,
|
|
2405
2500
|
className: l = ""
|
|
2406
2501
|
}) => {
|
|
2407
2502
|
const [n, c] = V(""), o = G(null);
|
|
2408
|
-
|
|
2503
|
+
I(() => {
|
|
2409
2504
|
o.current && (o.current.style.height = "auto", o.current.style.height = `${o.current.scrollHeight}px`);
|
|
2410
2505
|
}, [n]);
|
|
2411
2506
|
const u = () => {
|
|
2412
2507
|
n.trim() && !s && (r(n.trim()), c(""));
|
|
2413
2508
|
}, d = (x) => {
|
|
2414
2509
|
x.key === "Enter" && !x.shiftKey ? (x.preventDefault(), u()) : x.key === "Escape" && c("");
|
|
2415
|
-
}, m = n.length >
|
|
2510
|
+
}, m = n.length > a, h = n.length > a * 0.9;
|
|
2416
2511
|
return /* @__PURE__ */ e.jsxs("div", { className: `border-t border-gray-200 bg-white p-4 ${l}`, children: [
|
|
2417
2512
|
/* @__PURE__ */ e.jsxs("div", { className: "flex gap-2", children: [
|
|
2418
2513
|
/* @__PURE__ */ e.jsx(
|
|
@@ -2422,7 +2517,7 @@ const yr = ({
|
|
|
2422
2517
|
value: n,
|
|
2423
2518
|
onChange: (x) => c(x.target.value),
|
|
2424
2519
|
onKeyDown: d,
|
|
2425
|
-
placeholder:
|
|
2520
|
+
placeholder: t,
|
|
2426
2521
|
disabled: s,
|
|
2427
2522
|
rows: 1,
|
|
2428
2523
|
className: "flex-1 resize-none border border-gray-300 rounded-lg p-3 text-sm focus:outline-none focus:ring-2 focus:ring-blue-500 focus:border-transparent disabled:opacity-50 disabled:cursor-not-allowed",
|
|
@@ -2437,7 +2532,7 @@ const yr = ({
|
|
|
2437
2532
|
disabled: s || !n.trim() || m,
|
|
2438
2533
|
className: "px-4 py-2 bg-blue-600 text-white rounded-lg hover:bg-blue-700 disabled:opacity-50 disabled:cursor-not-allowed transition-colors",
|
|
2439
2534
|
"aria-label": "Send message",
|
|
2440
|
-
children: /* @__PURE__ */ e.jsx(
|
|
2535
|
+
children: /* @__PURE__ */ e.jsx(vr, { className: "w-5 h-5" })
|
|
2441
2536
|
}
|
|
2442
2537
|
)
|
|
2443
2538
|
] }),
|
|
@@ -2446,17 +2541,17 @@ const yr = ({
|
|
|
2446
2541
|
h && /* @__PURE__ */ e.jsxs("p", { className: `text-xs ${m ? "text-red-500" : "text-gray-500"}`, children: [
|
|
2447
2542
|
n.length,
|
|
2448
2543
|
"/",
|
|
2449
|
-
|
|
2544
|
+
a
|
|
2450
2545
|
] })
|
|
2451
2546
|
] })
|
|
2452
2547
|
] });
|
|
2453
2548
|
};
|
|
2454
|
-
|
|
2455
|
-
const
|
|
2549
|
+
Cr.displayName = "ChatInput";
|
|
2550
|
+
const $e = ({
|
|
2456
2551
|
message: r = "Thinking...",
|
|
2457
2552
|
variant: s = "dots",
|
|
2458
|
-
className:
|
|
2459
|
-
}) => /* @__PURE__ */ e.jsxs("div", { className: `flex gap-3 ${
|
|
2553
|
+
className: t = ""
|
|
2554
|
+
}) => /* @__PURE__ */ e.jsxs("div", { className: `flex gap-3 ${t}`, children: [
|
|
2460
2555
|
/* @__PURE__ */ e.jsx("div", { className: "flex-shrink-0", children: /* @__PURE__ */ e.jsx("div", { className: "w-8 h-8 rounded-full bg-green-700 flex items-center justify-center text-white text-sm font-semibold", children: "AI" }) }),
|
|
2461
2556
|
/* @__PURE__ */ e.jsx("div", { className: "flex-1", children: /* @__PURE__ */ e.jsxs("div", { className: "bg-gray-100 rounded-lg rounded-bl-none p-3 inline-flex items-center gap-2", children: [
|
|
2462
2557
|
s === "dots" ? /* @__PURE__ */ e.jsxs("div", { className: "flex gap-1", children: [
|
|
@@ -2479,18 +2574,18 @@ const ke = ({
|
|
|
2479
2574
|
/* @__PURE__ */ e.jsx("span", { className: "text-sm text-gray-600", children: r })
|
|
2480
2575
|
] }) })
|
|
2481
2576
|
] });
|
|
2482
|
-
|
|
2483
|
-
const
|
|
2577
|
+
$e.displayName = "LoadingIndicator";
|
|
2578
|
+
const kr = ({
|
|
2484
2579
|
messages: r,
|
|
2485
2580
|
isLoading: s = !1,
|
|
2486
|
-
loadingMessage:
|
|
2487
|
-
error:
|
|
2581
|
+
loadingMessage: t = "Thinking...",
|
|
2582
|
+
error: a = null,
|
|
2488
2583
|
onRetry: l,
|
|
2489
2584
|
className: n = "",
|
|
2490
2585
|
emptyStateMessage: c = "Start a conversation"
|
|
2491
2586
|
}) => {
|
|
2492
2587
|
const o = G(null), u = G(null);
|
|
2493
|
-
return
|
|
2588
|
+
return I(() => {
|
|
2494
2589
|
o.current?.scrollIntoView({ behavior: "smooth" });
|
|
2495
2590
|
}, [r, s]), /* @__PURE__ */ e.jsxs(
|
|
2496
2591
|
"div",
|
|
@@ -2504,7 +2599,7 @@ const wr = ({
|
|
|
2504
2599
|
/* @__PURE__ */ e.jsx("p", { className: "text-gray-400 text-sm mt-2", children: "Ask me anything about your resume or the job requirements!" })
|
|
2505
2600
|
] }),
|
|
2506
2601
|
r.map((d, m) => /* @__PURE__ */ e.jsx(
|
|
2507
|
-
|
|
2602
|
+
ke,
|
|
2508
2603
|
{
|
|
2509
2604
|
role: d.role,
|
|
2510
2605
|
content: d.content,
|
|
@@ -2513,16 +2608,16 @@ const wr = ({
|
|
|
2513
2608
|
m
|
|
2514
2609
|
)),
|
|
2515
2610
|
s && /* @__PURE__ */ e.jsx(
|
|
2516
|
-
|
|
2611
|
+
$e,
|
|
2517
2612
|
{
|
|
2518
|
-
message:
|
|
2613
|
+
message: t,
|
|
2519
2614
|
variant: "dots"
|
|
2520
2615
|
}
|
|
2521
2616
|
),
|
|
2522
|
-
|
|
2617
|
+
a && /* @__PURE__ */ e.jsxs("div", { className: "flex gap-3", children: [
|
|
2523
2618
|
/* @__PURE__ */ e.jsx("div", { className: "flex-shrink-0", children: /* @__PURE__ */ e.jsx("div", { className: "w-8 h-8 rounded-full bg-red-100 flex items-center justify-center", children: /* @__PURE__ */ e.jsx("span", { className: "text-red-600 text-sm font-semibold", children: "!" }) }) }),
|
|
2524
2619
|
/* @__PURE__ */ e.jsx("div", { className: "flex-1", children: /* @__PURE__ */ e.jsxs("div", { className: "bg-red-50 border border-red-200 rounded-lg p-3", children: [
|
|
2525
|
-
/* @__PURE__ */ e.jsx("p", { className: "text-sm text-red-800", children:
|
|
2620
|
+
/* @__PURE__ */ e.jsx("p", { className: "text-sm text-red-800", children: a }),
|
|
2526
2621
|
l && /* @__PURE__ */ e.jsx(
|
|
2527
2622
|
"button",
|
|
2528
2623
|
{
|
|
@@ -2538,19 +2633,19 @@ const wr = ({
|
|
|
2538
2633
|
}
|
|
2539
2634
|
);
|
|
2540
2635
|
};
|
|
2541
|
-
|
|
2542
|
-
const
|
|
2636
|
+
kr.displayName = "ChatContainer";
|
|
2637
|
+
const $r = ({
|
|
2543
2638
|
resumeName: r,
|
|
2544
2639
|
jobTitle: s,
|
|
2545
|
-
companyName:
|
|
2546
|
-
matchScore:
|
|
2640
|
+
companyName: t,
|
|
2641
|
+
matchScore: a,
|
|
2547
2642
|
onChangeResume: l,
|
|
2548
2643
|
onChangeJob: n,
|
|
2549
2644
|
className: c = ""
|
|
2550
2645
|
}) => /* @__PURE__ */ e.jsx("div", { className: `border-b border-gray-200 bg-gray-50 p-4 ${c}`, children: /* @__PURE__ */ e.jsxs("div", { className: "space-y-3", children: [
|
|
2551
2646
|
/* @__PURE__ */ e.jsxs("div", { className: "flex items-center justify-between gap-4", children: [
|
|
2552
2647
|
/* @__PURE__ */ e.jsxs("div", { className: "flex items-center gap-2 flex-1 min-w-0", children: [
|
|
2553
|
-
/* @__PURE__ */ e.jsx(
|
|
2648
|
+
/* @__PURE__ */ e.jsx(gr, { className: "w-5 h-5 text-gray-600 flex-shrink-0" }),
|
|
2554
2649
|
/* @__PURE__ */ e.jsxs("div", { className: "min-w-0", children: [
|
|
2555
2650
|
/* @__PURE__ */ e.jsx("p", { className: "text-xs text-gray-500 font-medium", children: "Resume" }),
|
|
2556
2651
|
/* @__PURE__ */ e.jsx("p", { className: "text-sm font-medium text-gray-900 truncate", children: r })
|
|
@@ -2568,12 +2663,12 @@ const Nr = ({
|
|
|
2568
2663
|
] }),
|
|
2569
2664
|
/* @__PURE__ */ e.jsxs("div", { className: "flex items-center justify-between gap-4", children: [
|
|
2570
2665
|
/* @__PURE__ */ e.jsxs("div", { className: "flex items-center gap-2 flex-1 min-w-0", children: [
|
|
2571
|
-
/* @__PURE__ */ e.jsx(
|
|
2666
|
+
/* @__PURE__ */ e.jsx(mr, { className: "w-5 h-5 text-gray-600 flex-shrink-0" }),
|
|
2572
2667
|
/* @__PURE__ */ e.jsxs("div", { className: "min-w-0", children: [
|
|
2573
2668
|
/* @__PURE__ */ e.jsx("p", { className: "text-xs text-gray-500 font-medium", children: "Job" }),
|
|
2574
2669
|
/* @__PURE__ */ e.jsxs("div", { className: "truncate", children: [
|
|
2575
2670
|
/* @__PURE__ */ e.jsx("p", { className: "text-sm font-medium text-gray-900 truncate", children: s }),
|
|
2576
|
-
|
|
2671
|
+
t && /* @__PURE__ */ e.jsx("p", { className: "text-xs text-gray-500 truncate", children: t })
|
|
2577
2672
|
] })
|
|
2578
2673
|
] })
|
|
2579
2674
|
] }),
|
|
@@ -2587,24 +2682,24 @@ const Nr = ({
|
|
|
2587
2682
|
}
|
|
2588
2683
|
)
|
|
2589
2684
|
] }),
|
|
2590
|
-
|
|
2685
|
+
a !== void 0 && /* @__PURE__ */ e.jsxs("div", { className: "pt-2 border-t border-gray-200", children: [
|
|
2591
2686
|
/* @__PURE__ */ e.jsxs("div", { className: "flex items-center justify-between mb-2", children: [
|
|
2592
2687
|
/* @__PURE__ */ e.jsx("p", { className: "text-xs font-medium text-gray-700", children: "Match Score" }),
|
|
2593
2688
|
/* @__PURE__ */ e.jsxs("p", { className: "text-sm font-semibold text-gray-900", children: [
|
|
2594
|
-
|
|
2689
|
+
a,
|
|
2595
2690
|
"%"
|
|
2596
2691
|
] })
|
|
2597
2692
|
] }),
|
|
2598
2693
|
/* @__PURE__ */ e.jsx("div", { className: "w-full bg-gray-200 rounded-full h-2 overflow-hidden", children: /* @__PURE__ */ e.jsx(
|
|
2599
2694
|
"div",
|
|
2600
2695
|
{
|
|
2601
|
-
className: `h-full rounded-full transition-all duration-500 ${
|
|
2602
|
-
style: { width: `${
|
|
2696
|
+
className: `h-full rounded-full transition-all duration-500 ${a >= 90 ? "bg-green-500" : a >= 75 ? "bg-blue-500" : a >= 60 ? "bg-yellow-500" : "bg-red-500"}`,
|
|
2697
|
+
style: { width: `${a}%` }
|
|
2603
2698
|
}
|
|
2604
2699
|
) })
|
|
2605
2700
|
] })
|
|
2606
2701
|
] }) });
|
|
2607
|
-
|
|
2702
|
+
$r.displayName = "AnalysisSummaryBar";
|
|
2608
2703
|
const re = {
|
|
2609
2704
|
semantic: {
|
|
2610
2705
|
none: "bg-error-50 border-error-200 text-error-700",
|
|
@@ -2621,7 +2716,7 @@ const re = {
|
|
|
2621
2716
|
partial: "bg-surface border-warning-300 text-warning-700",
|
|
2622
2717
|
full: "bg-surface border-success-300 text-success-700"
|
|
2623
2718
|
}
|
|
2624
|
-
},
|
|
2719
|
+
}, Vr = {
|
|
2625
2720
|
semantic: {
|
|
2626
2721
|
required: "bg-error-600 text-white",
|
|
2627
2722
|
preferred: "bg-reseda-green-600 text-white",
|
|
@@ -2637,12 +2732,12 @@ const re = {
|
|
|
2637
2732
|
preferred: "bg-reseda-green-700 text-reseda-green-100",
|
|
2638
2733
|
"nice-to-have": "bg-khaki-700 text-khaki-100"
|
|
2639
2734
|
}
|
|
2640
|
-
},
|
|
2735
|
+
}, Tr = ({
|
|
2641
2736
|
skills: r,
|
|
2642
2737
|
className: s = "",
|
|
2643
|
-
colorPreset:
|
|
2738
|
+
colorPreset: t = "semantic"
|
|
2644
2739
|
}) => {
|
|
2645
|
-
const
|
|
2740
|
+
const a = (o) => !o.matched || o.match_level === "none" ? "✗" : o.match_level === "partial" ? "~" : "✓", l = (o) => !o.matched || o.match_level === "none" ? re[t].none : o.match_level === "partial" ? re[t].partial : re[t].full, n = (o) => Vr[t][o], c = (o, u) => !u || u.length === 0 ? null : /* @__PURE__ */ e.jsxs("div", { className: "mb-4", children: [
|
|
2646
2741
|
/* @__PURE__ */ e.jsxs("p", { className: "text-xs font-semibold text-text-secondary mb-2", children: [
|
|
2647
2742
|
o,
|
|
2648
2743
|
":"
|
|
@@ -2655,7 +2750,7 @@ const re = {
|
|
|
2655
2750
|
)}`,
|
|
2656
2751
|
children: [
|
|
2657
2752
|
/* @__PURE__ */ e.jsxs("span", { className: "text-sm font-medium", children: [
|
|
2658
|
-
|
|
2753
|
+
a(d),
|
|
2659
2754
|
" ",
|
|
2660
2755
|
d.name
|
|
2661
2756
|
] }),
|
|
@@ -2678,12 +2773,12 @@ const re = {
|
|
|
2678
2773
|
c("Soft Skills", r.soft || [])
|
|
2679
2774
|
] });
|
|
2680
2775
|
};
|
|
2681
|
-
|
|
2682
|
-
const
|
|
2776
|
+
Tr.displayName = "SkillTags";
|
|
2777
|
+
const Er = ({
|
|
2683
2778
|
score: r,
|
|
2684
2779
|
showLabel: s = !0,
|
|
2685
|
-
size:
|
|
2686
|
-
className:
|
|
2780
|
+
size: t = "md",
|
|
2781
|
+
className: a = ""
|
|
2687
2782
|
}) => {
|
|
2688
2783
|
const l = Math.min(Math.max(r, 0), 100), n = (d) => d >= 90 ? "bg-green-500" : d >= 75 ? "bg-blue-500" : d >= 60 ? "bg-yellow-500" : "bg-red-500", c = (d) => d >= 90 ? "Excellent match!" : d >= 75 ? "Good match" : d >= 60 ? "Fair match" : "Poor match", o = {
|
|
2689
2784
|
sm: "h-2",
|
|
@@ -2694,33 +2789,33 @@ const $r = ({
|
|
|
2694
2789
|
md: "text-sm",
|
|
2695
2790
|
lg: "text-base"
|
|
2696
2791
|
};
|
|
2697
|
-
return /* @__PURE__ */ e.jsxs("div", { className:
|
|
2792
|
+
return /* @__PURE__ */ e.jsxs("div", { className: a, children: [
|
|
2698
2793
|
s && /* @__PURE__ */ e.jsxs("div", { className: "flex justify-between items-center mb-2", children: [
|
|
2699
|
-
/* @__PURE__ */ e.jsx("p", { className: `font-medium text-gray-700 ${u[
|
|
2700
|
-
/* @__PURE__ */ e.jsxs("p", { className: `font-semibold ${u[
|
|
2794
|
+
/* @__PURE__ */ e.jsx("p", { className: `font-medium text-gray-700 ${u[t]}`, children: "Match Score" }),
|
|
2795
|
+
/* @__PURE__ */ e.jsxs("p", { className: `font-semibold ${u[t]} ${n(l).replace("bg-", "text-")}`, children: [
|
|
2701
2796
|
l,
|
|
2702
2797
|
"%"
|
|
2703
2798
|
] })
|
|
2704
2799
|
] }),
|
|
2705
|
-
/* @__PURE__ */ e.jsx("div", { className: `w-full bg-gray-200 rounded-full overflow-hidden ${o[
|
|
2800
|
+
/* @__PURE__ */ e.jsx("div", { className: `w-full bg-gray-200 rounded-full overflow-hidden ${o[t]}`, children: /* @__PURE__ */ e.jsx(
|
|
2706
2801
|
"div",
|
|
2707
2802
|
{
|
|
2708
|
-
className: `${n(l)} ${o[
|
|
2803
|
+
className: `${n(l)} ${o[t]} rounded-full transition-all duration-500 ease-out`,
|
|
2709
2804
|
style: { width: `${l}%` }
|
|
2710
2805
|
}
|
|
2711
2806
|
) }),
|
|
2712
|
-
s && /* @__PURE__ */ e.jsx("p", { className: `text-gray-600 mt-1 ${u[
|
|
2807
|
+
s && /* @__PURE__ */ e.jsx("p", { className: `text-gray-600 mt-1 ${u[t]}`, children: c(l) })
|
|
2713
2808
|
] });
|
|
2714
2809
|
};
|
|
2715
|
-
|
|
2716
|
-
const
|
|
2810
|
+
Er.displayName = "MatchScoreBar";
|
|
2811
|
+
const Rr = ({
|
|
2717
2812
|
responsibilities: r,
|
|
2718
2813
|
className: s = ""
|
|
2719
2814
|
}) => {
|
|
2720
|
-
const
|
|
2815
|
+
const t = r.reduce(
|
|
2721
2816
|
(l, n) => (l[n.category] || (l[n.category] = []), l[n.category].push(n), l),
|
|
2722
2817
|
{}
|
|
2723
|
-
),
|
|
2818
|
+
), a = (l) => {
|
|
2724
2819
|
switch (l) {
|
|
2725
2820
|
case "high":
|
|
2726
2821
|
return "bg-red-100 text-red-800";
|
|
@@ -2730,7 +2825,7 @@ const Vr = ({
|
|
|
2730
2825
|
return "bg-gray-100 text-gray-800";
|
|
2731
2826
|
}
|
|
2732
2827
|
};
|
|
2733
|
-
return /* @__PURE__ */ e.jsx("div", { className: s, children: Object.entries(
|
|
2828
|
+
return /* @__PURE__ */ e.jsx("div", { className: s, children: Object.entries(t).map(([l, n]) => /* @__PURE__ */ e.jsxs("div", { className: "mb-4", children: [
|
|
2734
2829
|
/* @__PURE__ */ e.jsxs("div", { className: "flex items-center gap-2 mb-2", children: [
|
|
2735
2830
|
/* @__PURE__ */ e.jsx("h3", { className: "text-sm font-semibold text-gray-900", children: l }),
|
|
2736
2831
|
n.some((c) => c.importance === "high") && /* @__PURE__ */ e.jsx("span", { className: "inline-block w-2 h-2 bg-red-600 rounded-full" }),
|
|
@@ -2743,7 +2838,7 @@ const Vr = ({
|
|
|
2743
2838
|
c.importance !== "low" && /* @__PURE__ */ e.jsx(
|
|
2744
2839
|
"span",
|
|
2745
2840
|
{
|
|
2746
|
-
className: `inline-block text-xs px-2 py-0.5 rounded mt-1 ${
|
|
2841
|
+
className: `inline-block text-xs px-2 py-0.5 rounded mt-1 ${a(
|
|
2747
2842
|
c.importance
|
|
2748
2843
|
)}`,
|
|
2749
2844
|
children: c.importance === "high" ? "High Priority" : "Medium Priority"
|
|
@@ -2753,54 +2848,55 @@ const Vr = ({
|
|
|
2753
2848
|
] }, o)) })
|
|
2754
2849
|
] }, l)) });
|
|
2755
2850
|
};
|
|
2756
|
-
|
|
2851
|
+
Rr.displayName = "ResponsibilitiesList";
|
|
2757
2852
|
export {
|
|
2758
|
-
|
|
2759
|
-
|
|
2853
|
+
qr as Accordion,
|
|
2854
|
+
Gr as ActionCard,
|
|
2760
2855
|
q as Alert,
|
|
2761
|
-
|
|
2762
|
-
|
|
2763
|
-
|
|
2764
|
-
|
|
2765
|
-
|
|
2766
|
-
|
|
2767
|
-
|
|
2768
|
-
|
|
2769
|
-
|
|
2770
|
-
|
|
2771
|
-
|
|
2772
|
-
|
|
2773
|
-
|
|
2774
|
-
|
|
2775
|
-
|
|
2776
|
-
$
|
|
2777
|
-
|
|
2778
|
-
|
|
2779
|
-
|
|
2780
|
-
|
|
2781
|
-
|
|
2782
|
-
|
|
2783
|
-
|
|
2784
|
-
|
|
2785
|
-
|
|
2786
|
-
|
|
2787
|
-
|
|
2788
|
-
|
|
2789
|
-
|
|
2790
|
-
|
|
2791
|
-
|
|
2792
|
-
|
|
2793
|
-
|
|
2794
|
-
|
|
2795
|
-
|
|
2796
|
-
|
|
2797
|
-
|
|
2798
|
-
|
|
2799
|
-
|
|
2800
|
-
|
|
2801
|
-
|
|
2802
|
-
|
|
2803
|
-
|
|
2856
|
+
$r as AnalysisSummaryBar,
|
|
2857
|
+
rr as Badge,
|
|
2858
|
+
D as Button,
|
|
2859
|
+
Jr as Card,
|
|
2860
|
+
kr as ChatContainer,
|
|
2861
|
+
Cr as ChatInput,
|
|
2862
|
+
ke as ChatMessage,
|
|
2863
|
+
Hr as CheckboxGroup,
|
|
2864
|
+
He as ColorPalette,
|
|
2865
|
+
Fr as Demo,
|
|
2866
|
+
Qr as DetailPanel,
|
|
2867
|
+
Xr as Drawer,
|
|
2868
|
+
Yr as FileUpload,
|
|
2869
|
+
Ur as FormField,
|
|
2870
|
+
Je as Input,
|
|
2871
|
+
$e as LoadingIndicator,
|
|
2872
|
+
Er as MatchScoreBar,
|
|
2873
|
+
rs as OptionCard,
|
|
2874
|
+
es as PageHeader,
|
|
2875
|
+
Wr as RadioGroup,
|
|
2876
|
+
Rr as ResponsibilitiesList,
|
|
2877
|
+
Kr as Section,
|
|
2878
|
+
Xe as Select,
|
|
2879
|
+
ss as SelectableRadioOption,
|
|
2880
|
+
ts as Sidebar,
|
|
2881
|
+
Tr as SkillTags,
|
|
2882
|
+
dr as Slider,
|
|
2883
|
+
lr as SocialButton,
|
|
2884
|
+
jr as SortableItem,
|
|
2885
|
+
Zr as StatsGrid,
|
|
2886
|
+
ls as StatusBanner,
|
|
2887
|
+
as as Stepper,
|
|
2888
|
+
ns as TabBar,
|
|
2889
|
+
sr as TagInput,
|
|
2890
|
+
or as Textarea,
|
|
2891
|
+
We as ThemeProvider,
|
|
2892
|
+
qe as ThemeToggle,
|
|
2893
|
+
zr as clearAllErrors,
|
|
2894
|
+
Pr as clearFieldError,
|
|
2895
|
+
Ir as getFirstError,
|
|
2896
|
+
ze as hasErrors,
|
|
2897
|
+
Lr as useForm,
|
|
2898
|
+
Ze as useTheme,
|
|
2899
|
+
Pe as validateField,
|
|
2804
2900
|
ee as validateForm,
|
|
2805
|
-
|
|
2901
|
+
Or as validators
|
|
2806
2902
|
};
|