acemyjob-ui 2.0.4 → 2.0.7
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
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import * as j from "react";
|
|
2
|
-
import P, { useState as
|
|
3
|
-
import { ChevronDownIcon as te, InformationCircleIcon as
|
|
4
|
-
import { createPortal as
|
|
5
|
-
import { useSortable as
|
|
6
|
-
import { CSS as
|
|
7
|
-
import { Dialog as
|
|
8
|
-
const
|
|
2
|
+
import P, { useState as $, useCallback as M, createContext as Se, useEffect as D, useContext as Ae, useRef as W } from "react";
|
|
3
|
+
import { ChevronDownIcon as te, InformationCircleIcon as je, ExclamationCircleIcon as ye, XCircleIcon as we, CheckCircleIcon as Ne, XMarkIcon as Ce, CheckIcon as Be, Bars3Icon as Me } from "@heroicons/react/24/outline";
|
|
4
|
+
import { createPortal as De } from "react-dom";
|
|
5
|
+
import { useSortable as _e } from "@dnd-kit/sortable";
|
|
6
|
+
import { CSS as Oe } from "@dnd-kit/utilities";
|
|
7
|
+
import { Dialog as Ie, DialogBackdrop as Pe, DialogPanel as ze, TransitionChild as Le } from "@headlessui/react";
|
|
8
|
+
const Fr = {
|
|
9
9
|
required: (r = "This field is required") => ({
|
|
10
10
|
validate: (s) => typeof s == "string" ? s.trim().length > 0 : Array.isArray(s) ? s.length > 0 : s != null,
|
|
11
11
|
message: r
|
|
@@ -60,7 +60,7 @@ const Or = {
|
|
|
60
60
|
message: s
|
|
61
61
|
})
|
|
62
62
|
};
|
|
63
|
-
function
|
|
63
|
+
function Fe(r, s) {
|
|
64
64
|
for (const t of s)
|
|
65
65
|
if (!t.validate(r))
|
|
66
66
|
return t.message;
|
|
@@ -69,48 +69,48 @@ function Pe(r, s) {
|
|
|
69
69
|
function ee(r, s) {
|
|
70
70
|
const t = {};
|
|
71
71
|
for (const [a, l] of Object.entries(s)) {
|
|
72
|
-
const n = r[a], c =
|
|
72
|
+
const n = r[a], c = Fe(n, l);
|
|
73
73
|
t[a] = c;
|
|
74
74
|
}
|
|
75
75
|
return t;
|
|
76
76
|
}
|
|
77
|
-
function
|
|
77
|
+
function Ue(r) {
|
|
78
78
|
return Object.values(r).some((s) => s !== null);
|
|
79
79
|
}
|
|
80
|
-
function
|
|
80
|
+
function Ur(r) {
|
|
81
81
|
for (const s of Object.values(r))
|
|
82
82
|
if (s !== null)
|
|
83
83
|
return s;
|
|
84
84
|
return null;
|
|
85
85
|
}
|
|
86
|
-
function
|
|
86
|
+
function Yr(r, s) {
|
|
87
87
|
return {
|
|
88
88
|
...r,
|
|
89
89
|
[s]: null
|
|
90
90
|
};
|
|
91
91
|
}
|
|
92
|
-
function
|
|
92
|
+
function Hr(r) {
|
|
93
93
|
const s = {};
|
|
94
94
|
for (const t of Object.keys(r))
|
|
95
95
|
s[t] = null;
|
|
96
96
|
return s;
|
|
97
97
|
}
|
|
98
|
-
function
|
|
98
|
+
function Wr({
|
|
99
99
|
initialValues: r,
|
|
100
100
|
validationRules: s = {},
|
|
101
101
|
onSubmit: t
|
|
102
102
|
}) {
|
|
103
|
-
const [a, l] =
|
|
103
|
+
const [a, l] = $(r), [n, c] = $({}), [o, m] = $({}), [u, d] = $(!1), x = JSON.stringify(a) !== JSON.stringify(r), h = M(
|
|
104
104
|
(p) => {
|
|
105
|
-
const { name: v, value:
|
|
106
|
-
let F =
|
|
107
|
-
if (
|
|
105
|
+
const { name: v, value: C, type: A } = p.target;
|
|
106
|
+
let F = C;
|
|
107
|
+
if (A === "checkbox" ? F = p.target.checked : A === "number" && (F = C ? Number(C) : ""), l((z) => ({
|
|
108
108
|
...z,
|
|
109
109
|
[v]: F
|
|
110
110
|
})), s[v]) {
|
|
111
111
|
const z = ee({ [v]: F }, { [v]: s[v] });
|
|
112
|
-
c((
|
|
113
|
-
...
|
|
112
|
+
c((q) => ({
|
|
113
|
+
...q,
|
|
114
114
|
[v]: z[v]
|
|
115
115
|
}));
|
|
116
116
|
}
|
|
@@ -119,62 +119,62 @@ function Lr({
|
|
|
119
119
|
), f = M(
|
|
120
120
|
(p) => {
|
|
121
121
|
const { name: v } = p.target;
|
|
122
|
-
|
|
123
|
-
...
|
|
122
|
+
m((C) => ({
|
|
123
|
+
...C,
|
|
124
124
|
[v]: !0
|
|
125
125
|
}));
|
|
126
126
|
},
|
|
127
127
|
[]
|
|
128
|
-
),
|
|
129
|
-
if (l((
|
|
130
|
-
...
|
|
128
|
+
), g = M((p, v) => {
|
|
129
|
+
if (l((C) => ({
|
|
130
|
+
...C,
|
|
131
131
|
[p]: v
|
|
132
132
|
})), s[p]) {
|
|
133
|
-
const
|
|
134
|
-
c((
|
|
135
|
-
...
|
|
136
|
-
[p]:
|
|
133
|
+
const C = ee({ [p]: v }, { [p]: s[p] });
|
|
134
|
+
c((A) => ({
|
|
135
|
+
...A,
|
|
136
|
+
[p]: C[p]
|
|
137
137
|
}));
|
|
138
138
|
}
|
|
139
|
-
}, [s]),
|
|
140
|
-
c((
|
|
141
|
-
...
|
|
139
|
+
}, [s]), y = M((p, v) => {
|
|
140
|
+
c((C) => ({
|
|
141
|
+
...C,
|
|
142
142
|
[p]: v
|
|
143
143
|
}));
|
|
144
|
-
}, []),
|
|
144
|
+
}, []), V = M(
|
|
145
145
|
async (p) => {
|
|
146
146
|
p.preventDefault();
|
|
147
147
|
const v = ee(a, s);
|
|
148
148
|
c(v);
|
|
149
|
-
const
|
|
150
|
-
for (const
|
|
151
|
-
|
|
152
|
-
if (
|
|
153
|
-
|
|
149
|
+
const C = {};
|
|
150
|
+
for (const A of Object.keys(a))
|
|
151
|
+
C[A] = !0;
|
|
152
|
+
if (m(C), !Ue(v) && t) {
|
|
153
|
+
d(!0);
|
|
154
154
|
try {
|
|
155
155
|
await t(a);
|
|
156
|
-
} catch (
|
|
157
|
-
console.error("Form submission error:",
|
|
156
|
+
} catch (A) {
|
|
157
|
+
console.error("Form submission error:", A);
|
|
158
158
|
} finally {
|
|
159
|
-
|
|
159
|
+
d(!1);
|
|
160
160
|
}
|
|
161
161
|
}
|
|
162
162
|
},
|
|
163
163
|
[a, s, t]
|
|
164
|
-
),
|
|
165
|
-
l(r), c({}),
|
|
166
|
-
}, [r]),
|
|
164
|
+
), R = M(() => {
|
|
165
|
+
l(r), c({}), m({}), d(!1);
|
|
166
|
+
}, [r]), k = M(
|
|
167
167
|
(p) => ({
|
|
168
168
|
name: p,
|
|
169
169
|
value: a[p] || "",
|
|
170
|
-
onChange:
|
|
170
|
+
onChange: h,
|
|
171
171
|
onBlur: f
|
|
172
172
|
}),
|
|
173
|
-
[a,
|
|
173
|
+
[a, h, f]
|
|
174
174
|
), N = M(
|
|
175
175
|
(p) => n[p] || null,
|
|
176
176
|
[n]
|
|
177
|
-
),
|
|
177
|
+
), O = M(
|
|
178
178
|
(p) => o[p] || !1,
|
|
179
179
|
[o]
|
|
180
180
|
), L = M(
|
|
@@ -185,17 +185,17 @@ function Lr({
|
|
|
185
185
|
values: a,
|
|
186
186
|
errors: n,
|
|
187
187
|
touched: o,
|
|
188
|
-
isSubmitting:
|
|
189
|
-
isDirty:
|
|
190
|
-
handleChange:
|
|
188
|
+
isSubmitting: u,
|
|
189
|
+
isDirty: x,
|
|
190
|
+
handleChange: h,
|
|
191
191
|
handleBlur: f,
|
|
192
|
-
setFieldValue:
|
|
193
|
-
setFieldError:
|
|
194
|
-
handleSubmit:
|
|
195
|
-
resetForm:
|
|
196
|
-
getFieldProps:
|
|
192
|
+
setFieldValue: g,
|
|
193
|
+
setFieldError: y,
|
|
194
|
+
handleSubmit: V,
|
|
195
|
+
resetForm: R,
|
|
196
|
+
getFieldProps: k,
|
|
197
197
|
getFieldError: N,
|
|
198
|
-
isFieldTouched:
|
|
198
|
+
isFieldTouched: O,
|
|
199
199
|
isFieldDirty: L
|
|
200
200
|
};
|
|
201
201
|
}
|
|
@@ -210,7 +210,7 @@ var Z = { exports: {} }, Y = {};
|
|
|
210
210
|
* LICENSE file in the root directory of this source tree.
|
|
211
211
|
*/
|
|
212
212
|
var ie;
|
|
213
|
-
function
|
|
213
|
+
function Ye() {
|
|
214
214
|
if (ie) return Y;
|
|
215
215
|
ie = 1;
|
|
216
216
|
var r = Symbol.for("react.transitional.element"), s = Symbol.for("react.fragment");
|
|
@@ -242,7 +242,7 @@ var H = {};
|
|
|
242
242
|
* LICENSE file in the root directory of this source tree.
|
|
243
243
|
*/
|
|
244
244
|
var de;
|
|
245
|
-
function
|
|
245
|
+
function He() {
|
|
246
246
|
return de || (de = 1, process.env.NODE_ENV !== "production" && function() {
|
|
247
247
|
function r(i) {
|
|
248
248
|
if (i == null) return null;
|
|
@@ -250,38 +250,38 @@ function Fe() {
|
|
|
250
250
|
return i.$$typeof === F ? null : i.displayName || i.name || null;
|
|
251
251
|
if (typeof i == "string") return i;
|
|
252
252
|
switch (i) {
|
|
253
|
-
case
|
|
253
|
+
case y:
|
|
254
254
|
return "Fragment";
|
|
255
|
-
case
|
|
255
|
+
case R:
|
|
256
256
|
return "Profiler";
|
|
257
|
-
case
|
|
257
|
+
case V:
|
|
258
258
|
return "StrictMode";
|
|
259
259
|
case L:
|
|
260
260
|
return "Suspense";
|
|
261
261
|
case p:
|
|
262
262
|
return "SuspenseList";
|
|
263
|
-
case
|
|
263
|
+
case A:
|
|
264
264
|
return "Activity";
|
|
265
265
|
}
|
|
266
266
|
if (typeof i == "object")
|
|
267
267
|
switch (typeof i.tag == "number" && console.error(
|
|
268
268
|
"Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."
|
|
269
269
|
), i.$$typeof) {
|
|
270
|
-
case
|
|
270
|
+
case g:
|
|
271
271
|
return "Portal";
|
|
272
272
|
case N:
|
|
273
273
|
return (i.displayName || "Context") + ".Provider";
|
|
274
|
-
case
|
|
274
|
+
case k:
|
|
275
275
|
return (i._context.displayName || "Context") + ".Consumer";
|
|
276
|
-
case
|
|
277
|
-
var
|
|
278
|
-
return i = i.displayName, i || (i =
|
|
276
|
+
case O:
|
|
277
|
+
var b = i.render;
|
|
278
|
+
return i = i.displayName, i || (i = b.displayName || b.name || "", i = i !== "" ? "ForwardRef(" + i + ")" : "ForwardRef"), i;
|
|
279
279
|
case v:
|
|
280
|
-
return
|
|
281
|
-
case
|
|
282
|
-
|
|
280
|
+
return b = i.displayName || null, b !== null ? b : r(i.type) || "Memo";
|
|
281
|
+
case C:
|
|
282
|
+
b = i._payload, i = i._init;
|
|
283
283
|
try {
|
|
284
|
-
return r(i(
|
|
284
|
+
return r(i(b));
|
|
285
285
|
} catch {
|
|
286
286
|
}
|
|
287
287
|
}
|
|
@@ -293,27 +293,27 @@ function Fe() {
|
|
|
293
293
|
function t(i) {
|
|
294
294
|
try {
|
|
295
295
|
s(i);
|
|
296
|
-
var
|
|
296
|
+
var b = !1;
|
|
297
297
|
} catch {
|
|
298
|
-
|
|
298
|
+
b = !0;
|
|
299
299
|
}
|
|
300
|
-
if (
|
|
301
|
-
|
|
302
|
-
var
|
|
303
|
-
return
|
|
304
|
-
|
|
300
|
+
if (b) {
|
|
301
|
+
b = console;
|
|
302
|
+
var w = b.error, T = typeof Symbol == "function" && Symbol.toStringTag && i[Symbol.toStringTag] || i.constructor.name || "Object";
|
|
303
|
+
return w.call(
|
|
304
|
+
b,
|
|
305
305
|
"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",
|
|
306
|
-
|
|
306
|
+
T
|
|
307
307
|
), s(i);
|
|
308
308
|
}
|
|
309
309
|
}
|
|
310
310
|
function a(i) {
|
|
311
|
-
if (i ===
|
|
312
|
-
if (typeof i == "object" && i !== null && i.$$typeof ===
|
|
311
|
+
if (i === y) return "<>";
|
|
312
|
+
if (typeof i == "object" && i !== null && i.$$typeof === C)
|
|
313
313
|
return "<...>";
|
|
314
314
|
try {
|
|
315
|
-
var
|
|
316
|
-
return
|
|
315
|
+
var b = r(i);
|
|
316
|
+
return b ? "<" + b + ">" : "<...>";
|
|
317
317
|
} catch {
|
|
318
318
|
return "<...>";
|
|
319
319
|
}
|
|
@@ -326,40 +326,40 @@ function Fe() {
|
|
|
326
326
|
return Error("react-stack-top-frame");
|
|
327
327
|
}
|
|
328
328
|
function c(i) {
|
|
329
|
-
if (
|
|
330
|
-
var
|
|
331
|
-
if (
|
|
329
|
+
if (q.call(i, "key")) {
|
|
330
|
+
var b = Object.getOwnPropertyDescriptor(i, "key").get;
|
|
331
|
+
if (b && b.isReactWarning) return !1;
|
|
332
332
|
}
|
|
333
333
|
return i.key !== void 0;
|
|
334
334
|
}
|
|
335
|
-
function o(i,
|
|
336
|
-
function
|
|
335
|
+
function o(i, b) {
|
|
336
|
+
function w() {
|
|
337
337
|
ae || (ae = !0, console.error(
|
|
338
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)",
|
|
339
|
-
|
|
339
|
+
b
|
|
340
340
|
));
|
|
341
341
|
}
|
|
342
|
-
|
|
343
|
-
get:
|
|
342
|
+
w.isReactWarning = !0, Object.defineProperty(i, "key", {
|
|
343
|
+
get: w,
|
|
344
344
|
configurable: !0
|
|
345
345
|
});
|
|
346
346
|
}
|
|
347
|
-
function
|
|
347
|
+
function m() {
|
|
348
348
|
var i = r(this.type);
|
|
349
349
|
return ne[i] || (ne[i] = !0, console.error(
|
|
350
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."
|
|
351
351
|
)), i = this.props.ref, i !== void 0 ? i : null;
|
|
352
352
|
}
|
|
353
|
-
function
|
|
354
|
-
return
|
|
353
|
+
function u(i, b, w, T, I, B, X, K) {
|
|
354
|
+
return w = B.ref, i = {
|
|
355
355
|
$$typeof: f,
|
|
356
356
|
type: i,
|
|
357
|
-
key:
|
|
357
|
+
key: b,
|
|
358
358
|
props: B,
|
|
359
|
-
_owner:
|
|
360
|
-
}, (
|
|
359
|
+
_owner: I
|
|
360
|
+
}, (w !== void 0 ? w : null) !== null ? Object.defineProperty(i, "ref", {
|
|
361
361
|
enumerable: !1,
|
|
362
|
-
get:
|
|
362
|
+
get: m
|
|
363
363
|
}) : Object.defineProperty(i, "ref", { enumerable: !1, value: null }), i._store = {}, Object.defineProperty(i._store, "validated", {
|
|
364
364
|
configurable: !1,
|
|
365
365
|
enumerable: !1,
|
|
@@ -382,92 +382,92 @@ function Fe() {
|
|
|
382
382
|
value: K
|
|
383
383
|
}), Object.freeze && (Object.freeze(i.props), Object.freeze(i)), i;
|
|
384
384
|
}
|
|
385
|
-
function
|
|
386
|
-
var
|
|
387
|
-
if (
|
|
388
|
-
if (
|
|
389
|
-
if (
|
|
390
|
-
for (
|
|
391
|
-
|
|
392
|
-
Object.freeze && Object.freeze(
|
|
385
|
+
function d(i, b, w, T, I, B, X, K) {
|
|
386
|
+
var E = b.children;
|
|
387
|
+
if (E !== void 0)
|
|
388
|
+
if (T)
|
|
389
|
+
if (Ee(E)) {
|
|
390
|
+
for (T = 0; T < E.length; T++)
|
|
391
|
+
x(E[T]);
|
|
392
|
+
Object.freeze && Object.freeze(E);
|
|
393
393
|
} else
|
|
394
394
|
console.error(
|
|
395
395
|
"React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead."
|
|
396
396
|
);
|
|
397
|
-
else
|
|
398
|
-
if (
|
|
399
|
-
|
|
400
|
-
var U = Object.keys(
|
|
401
|
-
return
|
|
397
|
+
else x(E);
|
|
398
|
+
if (q.call(b, "key")) {
|
|
399
|
+
E = r(i);
|
|
400
|
+
var U = Object.keys(b).filter(function(Re) {
|
|
401
|
+
return Re !== "key";
|
|
402
402
|
});
|
|
403
|
-
|
|
403
|
+
T = 0 < U.length ? "{key: someKey, " + U.join(": ..., ") + ": ...}" : "{key: someKey}", ce[E + T] || (U = 0 < U.length ? "{" + U.join(": ..., ") + ": ...}" : "{}", console.error(
|
|
404
404
|
`A props object containing a "key" prop is being spread into JSX:
|
|
405
405
|
let props = %s;
|
|
406
406
|
<%s {...props} />
|
|
407
407
|
React keys must be passed directly to JSX without using spread:
|
|
408
408
|
let props = %s;
|
|
409
409
|
<%s key={someKey} {...props} />`,
|
|
410
|
-
|
|
411
|
-
|
|
410
|
+
T,
|
|
411
|
+
E,
|
|
412
412
|
U,
|
|
413
|
-
|
|
414
|
-
), ce[
|
|
413
|
+
E
|
|
414
|
+
), ce[E + T] = !0);
|
|
415
415
|
}
|
|
416
|
-
if (
|
|
417
|
-
|
|
418
|
-
for (var Q in
|
|
419
|
-
Q !== "key" && (
|
|
420
|
-
} else
|
|
421
|
-
return
|
|
422
|
-
|
|
416
|
+
if (E = null, w !== void 0 && (t(w), E = "" + w), c(b) && (t(b.key), E = "" + b.key), "key" in b) {
|
|
417
|
+
w = {};
|
|
418
|
+
for (var Q in b)
|
|
419
|
+
Q !== "key" && (w[Q] = b[Q]);
|
|
420
|
+
} else w = b;
|
|
421
|
+
return E && o(
|
|
422
|
+
w,
|
|
423
423
|
typeof i == "function" ? i.displayName || i.name || "Unknown" : i
|
|
424
|
-
),
|
|
424
|
+
), u(
|
|
425
425
|
i,
|
|
426
|
-
|
|
426
|
+
E,
|
|
427
427
|
B,
|
|
428
|
-
|
|
428
|
+
I,
|
|
429
429
|
l(),
|
|
430
|
-
|
|
430
|
+
w,
|
|
431
431
|
X,
|
|
432
432
|
K
|
|
433
433
|
);
|
|
434
434
|
}
|
|
435
|
-
function
|
|
435
|
+
function x(i) {
|
|
436
436
|
typeof i == "object" && i !== null && i.$$typeof === f && i._store && (i._store.validated = 1);
|
|
437
437
|
}
|
|
438
|
-
var
|
|
438
|
+
var h = P, f = Symbol.for("react.transitional.element"), g = Symbol.for("react.portal"), y = Symbol.for("react.fragment"), V = Symbol.for("react.strict_mode"), R = Symbol.for("react.profiler"), k = Symbol.for("react.consumer"), N = Symbol.for("react.context"), O = Symbol.for("react.forward_ref"), L = Symbol.for("react.suspense"), p = Symbol.for("react.suspense_list"), v = Symbol.for("react.memo"), C = Symbol.for("react.lazy"), A = Symbol.for("react.activity"), F = Symbol.for("react.client.reference"), z = h.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, q = Object.prototype.hasOwnProperty, Ee = Array.isArray, J = console.createTask ? console.createTask : function() {
|
|
439
439
|
return null;
|
|
440
440
|
};
|
|
441
|
-
|
|
441
|
+
h = {
|
|
442
442
|
"react-stack-bottom-frame": function(i) {
|
|
443
443
|
return i();
|
|
444
444
|
}
|
|
445
445
|
};
|
|
446
|
-
var ae, ne = {}, le =
|
|
447
|
-
|
|
446
|
+
var ae, ne = {}, le = h["react-stack-bottom-frame"].bind(
|
|
447
|
+
h,
|
|
448
448
|
n
|
|
449
449
|
)(), oe = J(a(n)), ce = {};
|
|
450
|
-
H.Fragment =
|
|
450
|
+
H.Fragment = y, H.jsx = function(i, b, w, T, I) {
|
|
451
451
|
var B = 1e4 > z.recentlyCreatedOwnerStacks++;
|
|
452
|
-
return
|
|
452
|
+
return d(
|
|
453
453
|
i,
|
|
454
|
-
|
|
455
|
-
|
|
454
|
+
b,
|
|
455
|
+
w,
|
|
456
456
|
!1,
|
|
457
|
-
|
|
458
|
-
|
|
457
|
+
T,
|
|
458
|
+
I,
|
|
459
459
|
B ? Error("react-stack-top-frame") : le,
|
|
460
460
|
B ? J(a(i)) : oe
|
|
461
461
|
);
|
|
462
|
-
}, H.jsxs = function(i,
|
|
462
|
+
}, H.jsxs = function(i, b, w, T, I) {
|
|
463
463
|
var B = 1e4 > z.recentlyCreatedOwnerStacks++;
|
|
464
|
-
return
|
|
464
|
+
return d(
|
|
465
465
|
i,
|
|
466
|
-
|
|
467
|
-
|
|
466
|
+
b,
|
|
467
|
+
w,
|
|
468
468
|
!0,
|
|
469
|
-
|
|
470
|
-
|
|
469
|
+
T,
|
|
470
|
+
I,
|
|
471
471
|
B ? Error("react-stack-top-frame") : le,
|
|
472
472
|
B ? J(a(i)) : oe
|
|
473
473
|
);
|
|
@@ -475,17 +475,17 @@ React keys must be passed directly to JSX without using spread:
|
|
|
475
475
|
}()), H;
|
|
476
476
|
}
|
|
477
477
|
var ue;
|
|
478
|
-
function
|
|
479
|
-
return ue || (ue = 1, process.env.NODE_ENV === "production" ? Z.exports =
|
|
478
|
+
function We() {
|
|
479
|
+
return ue || (ue = 1, process.env.NODE_ENV === "production" ? Z.exports = Ye() : Z.exports = He()), Z.exports;
|
|
480
480
|
}
|
|
481
|
-
var e =
|
|
482
|
-
const
|
|
481
|
+
var e = We();
|
|
482
|
+
const ke = (r) => r.replace("--color-", "bg-"), qe = ({ name: r, cssVar: s, value: t }) => {
|
|
483
483
|
const a = `rgb(${t})`;
|
|
484
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: [
|
|
485
485
|
/* @__PURE__ */ e.jsx(
|
|
486
486
|
"div",
|
|
487
487
|
{
|
|
488
|
-
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 ${ke(s)}`
|
|
489
489
|
}
|
|
490
490
|
),
|
|
491
491
|
/* @__PURE__ */ e.jsxs("div", { className: "text-center", children: [
|
|
@@ -496,8 +496,8 @@ const Ne = (r) => r.replace("--color-", "bg-"), Ye = ({ name: r, cssVar: s, valu
|
|
|
496
496
|
] });
|
|
497
497
|
}, me = ({ title: r, colors: s }) => /* @__PURE__ */ e.jsxs("div", { className: "space-y-4", children: [
|
|
498
498
|
/* @__PURE__ */ e.jsx("h3", { className: "text-lg font-semibold text-text-primary border-b border-border-subtle pb-2", children: r }),
|
|
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(
|
|
500
|
-
] }),
|
|
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(qe, { ...t }, t.name)) })
|
|
500
|
+
] }), Ze = () => {
|
|
501
501
|
const r = [
|
|
502
502
|
{
|
|
503
503
|
title: "Success Colors (Green)",
|
|
@@ -721,7 +721,7 @@ const Ne = (r) => r.replace("--color-", "bg-"), Ye = ({ name: r, cssVar: s, valu
|
|
|
721
721
|
/* @__PURE__ */ e.jsx(
|
|
722
722
|
"div",
|
|
723
723
|
{
|
|
724
|
-
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 ${ke(a.cssVar)}`
|
|
725
725
|
}
|
|
726
726
|
),
|
|
727
727
|
/* @__PURE__ */ e.jsxs("div", { className: "text-center", children: [
|
|
@@ -732,42 +732,42 @@ const Ne = (r) => r.replace("--color-", "bg-"), Ye = ({ name: r, cssVar: s, valu
|
|
|
732
732
|
] }),
|
|
733
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" }) })
|
|
734
734
|
] });
|
|
735
|
-
},
|
|
735
|
+
}, $e = Se(void 0), Ge = ({
|
|
736
736
|
children: r,
|
|
737
737
|
defaultTheme: s = "system",
|
|
738
738
|
storageKey: t = "acemyjob-ui-theme"
|
|
739
739
|
}) => {
|
|
740
|
-
const [a, l] =
|
|
741
|
-
|
|
742
|
-
const
|
|
743
|
-
|
|
744
|
-
}, [t]),
|
|
740
|
+
const [a, l] = $(s), [n, c] = $("light"), [o, m] = $(!1);
|
|
741
|
+
D(() => {
|
|
742
|
+
const d = localStorage.getItem(t);
|
|
743
|
+
d && l(d), m(!0);
|
|
744
|
+
}, [t]), D(() => {
|
|
745
745
|
if (!o) return;
|
|
746
|
-
const
|
|
747
|
-
let
|
|
748
|
-
a === "system" ?
|
|
746
|
+
const d = window.document.documentElement, x = () => {
|
|
747
|
+
let h;
|
|
748
|
+
a === "system" ? h = window.matchMedia("(prefers-color-scheme: dark)").matches ? "dark" : "light" : h = a, c(h), d.classList.remove("light", "dark"), d.classList.add(h);
|
|
749
749
|
};
|
|
750
|
-
if (
|
|
751
|
-
const
|
|
752
|
-
return
|
|
750
|
+
if (x(), a === "system") {
|
|
751
|
+
const h = window.matchMedia("(prefers-color-scheme: dark)"), f = () => x();
|
|
752
|
+
return h.addEventListener("change", f), () => h.removeEventListener("change", f);
|
|
753
753
|
}
|
|
754
754
|
}, [a, o]);
|
|
755
|
-
const
|
|
755
|
+
const u = {
|
|
756
756
|
theme: a,
|
|
757
|
-
setTheme: (
|
|
758
|
-
localStorage.setItem(t,
|
|
757
|
+
setTheme: (d) => {
|
|
758
|
+
localStorage.setItem(t, d), l(d);
|
|
759
759
|
},
|
|
760
760
|
resolvedTheme: n
|
|
761
761
|
};
|
|
762
|
-
return /* @__PURE__ */ e.jsx(
|
|
763
|
-
},
|
|
764
|
-
const r =
|
|
762
|
+
return /* @__PURE__ */ e.jsx($e.Provider, { value: u, children: r });
|
|
763
|
+
}, Je = () => {
|
|
764
|
+
const r = Ae($e);
|
|
765
765
|
if (r === void 0)
|
|
766
766
|
throw new Error("useTheme must be used within a ThemeProvider");
|
|
767
767
|
return r;
|
|
768
|
-
},
|
|
769
|
-
const { theme: r, setTheme: s } =
|
|
770
|
-
if (
|
|
768
|
+
}, Xe = () => {
|
|
769
|
+
const { theme: r, setTheme: s } = Je(), [t, a] = $(!1);
|
|
770
|
+
if (D(() => {
|
|
771
771
|
a(!0);
|
|
772
772
|
}, []), !t)
|
|
773
773
|
return /* @__PURE__ */ e.jsxs(
|
|
@@ -814,11 +814,11 @@ const Ne = (r) => r.replace("--color-", "bg-"), Ye = ({ name: r, cssVar: s, valu
|
|
|
814
814
|
]
|
|
815
815
|
}
|
|
816
816
|
);
|
|
817
|
-
},
|
|
818
|
-
/* @__PURE__ */ e.jsx("div", { className: "fixed top-4 right-4 z-10", children: /* @__PURE__ */ e.jsx(
|
|
819
|
-
/* @__PURE__ */ e.jsx(
|
|
820
|
-
] }),
|
|
821
|
-
function
|
|
817
|
+
}, Ke = () => /* @__PURE__ */ e.jsxs("div", { className: "relative", children: [
|
|
818
|
+
/* @__PURE__ */ e.jsx("div", { className: "fixed top-4 right-4 z-10", children: /* @__PURE__ */ e.jsx(Xe, {}) }),
|
|
819
|
+
/* @__PURE__ */ e.jsx(Ze, {})
|
|
820
|
+
] }), qr = () => /* @__PURE__ */ e.jsx(Ge, { defaultTheme: "system", storageKey: "acemyjob-demo-theme", children: /* @__PURE__ */ e.jsx(Ke, {}) });
|
|
821
|
+
function Zr({
|
|
822
822
|
label: r,
|
|
823
823
|
children: s,
|
|
824
824
|
helperText: t,
|
|
@@ -836,7 +836,7 @@ function Ur({
|
|
|
836
836
|
t && !a && /* @__PURE__ */ e.jsx("p", { className: "text-xs text-text-muted", children: t })
|
|
837
837
|
] });
|
|
838
838
|
}
|
|
839
|
-
const
|
|
839
|
+
const Qe = P.forwardRef(
|
|
840
840
|
({
|
|
841
841
|
className: r = "",
|
|
842
842
|
leftIcon: s,
|
|
@@ -846,8 +846,8 @@ const Je = P.forwardRef(
|
|
|
846
846
|
disabled: n,
|
|
847
847
|
...c
|
|
848
848
|
}, o) => {
|
|
849
|
-
const
|
|
850
|
-
return /* @__PURE__ */ e.jsxs("div", { className:
|
|
849
|
+
const m = "px-3 py-2 border rounded-lg transition-colors text-sm", u = 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", d = n ? "bg-surface-variant text-text-muted cursor-not-allowed" : "bg-surface text-text-primary", x = l ? "w-full" : "", h = s || t ? "relative flex items-center" : "", f = `${m} ${u} ${d} ${x} ${s ? "pl-10" : ""} ${t ? "pr-10" : ""} ${r}`;
|
|
850
|
+
return /* @__PURE__ */ e.jsxs("div", { className: h, children: [
|
|
851
851
|
s && /* @__PURE__ */ e.jsx("div", { className: "absolute left-3 flex items-center pointer-events-none text-text-muted", children: s }),
|
|
852
852
|
/* @__PURE__ */ e.jsx(
|
|
853
853
|
"input",
|
|
@@ -862,8 +862,8 @@ const Je = P.forwardRef(
|
|
|
862
862
|
] });
|
|
863
863
|
}
|
|
864
864
|
);
|
|
865
|
-
|
|
866
|
-
const
|
|
865
|
+
Qe.displayName = "Input";
|
|
866
|
+
const er = P.forwardRef(
|
|
867
867
|
({
|
|
868
868
|
options: r,
|
|
869
869
|
placeholder: s,
|
|
@@ -873,13 +873,13 @@ const Xe = P.forwardRef(
|
|
|
873
873
|
disabled: n,
|
|
874
874
|
...c
|
|
875
875
|
}, o) => {
|
|
876
|
-
const
|
|
876
|
+
const h = `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}`;
|
|
877
877
|
return /* @__PURE__ */ e.jsxs("div", { className: "relative flex items-center", children: [
|
|
878
878
|
/* @__PURE__ */ e.jsxs(
|
|
879
879
|
"select",
|
|
880
880
|
{
|
|
881
881
|
ref: o,
|
|
882
|
-
className:
|
|
882
|
+
className: h,
|
|
883
883
|
disabled: n,
|
|
884
884
|
...c,
|
|
885
885
|
children: [
|
|
@@ -892,8 +892,8 @@ const Xe = P.forwardRef(
|
|
|
892
892
|
] });
|
|
893
893
|
}
|
|
894
894
|
);
|
|
895
|
-
|
|
896
|
-
function
|
|
895
|
+
er.displayName = "Select";
|
|
896
|
+
function rr({
|
|
897
897
|
title: r,
|
|
898
898
|
titleId: s,
|
|
899
899
|
...t
|
|
@@ -914,8 +914,8 @@ function Ke({
|
|
|
914
914
|
clipRule: "evenodd"
|
|
915
915
|
}));
|
|
916
916
|
}
|
|
917
|
-
const xe = /* @__PURE__ */ j.forwardRef(
|
|
918
|
-
function
|
|
917
|
+
const xe = /* @__PURE__ */ j.forwardRef(rr);
|
|
918
|
+
function sr({
|
|
919
919
|
title: r,
|
|
920
920
|
titleId: s,
|
|
921
921
|
...t
|
|
@@ -936,8 +936,8 @@ function Qe({
|
|
|
936
936
|
clipRule: "evenodd"
|
|
937
937
|
}));
|
|
938
938
|
}
|
|
939
|
-
const he = /* @__PURE__ */ j.forwardRef(
|
|
940
|
-
function
|
|
939
|
+
const he = /* @__PURE__ */ j.forwardRef(sr);
|
|
940
|
+
function tr({
|
|
941
941
|
title: r,
|
|
942
942
|
titleId: s,
|
|
943
943
|
...t
|
|
@@ -956,8 +956,8 @@ function er({
|
|
|
956
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"
|
|
957
957
|
}));
|
|
958
958
|
}
|
|
959
|
-
const se = /* @__PURE__ */ j.forwardRef(
|
|
960
|
-
function
|
|
959
|
+
const se = /* @__PURE__ */ j.forwardRef(tr);
|
|
960
|
+
function ar({
|
|
961
961
|
children: r,
|
|
962
962
|
variant: s = "default",
|
|
963
963
|
size: t = "md",
|
|
@@ -967,21 +967,21 @@ function rr({
|
|
|
967
967
|
style: c,
|
|
968
968
|
colorClass: o
|
|
969
969
|
}) {
|
|
970
|
-
const
|
|
970
|
+
const m = {
|
|
971
971
|
default: "bg-surface-variant text-text-secondary",
|
|
972
972
|
success: "bg-success-50 text-success-700",
|
|
973
973
|
error: "bg-error-50 text-error-700",
|
|
974
974
|
warning: "bg-warning-50 text-warning-700",
|
|
975
975
|
info: "bg-info-50 text-info-700"
|
|
976
|
-
},
|
|
976
|
+
}, u = {
|
|
977
977
|
sm: "px-2 py-0.5 text-xs",
|
|
978
978
|
md: "px-3 py-1 text-sm",
|
|
979
979
|
lg: "px-4 py-1.5 text-base"
|
|
980
|
-
},
|
|
980
|
+
}, d = o || m[s];
|
|
981
981
|
return /* @__PURE__ */ e.jsxs(
|
|
982
982
|
"span",
|
|
983
983
|
{
|
|
984
|
-
className: `inline-flex items-center gap-1 rounded-full ${
|
|
984
|
+
className: `inline-flex items-center gap-1 rounded-full ${d} ${u[t]} ${n}`,
|
|
985
985
|
style: c,
|
|
986
986
|
children: [
|
|
987
987
|
r,
|
|
@@ -998,7 +998,7 @@ function rr({
|
|
|
998
998
|
}
|
|
999
999
|
);
|
|
1000
1000
|
}
|
|
1001
|
-
const
|
|
1001
|
+
const nr = P.forwardRef(
|
|
1002
1002
|
({
|
|
1003
1003
|
tags: r,
|
|
1004
1004
|
onTagsChange: s,
|
|
@@ -1008,28 +1008,28 @@ const sr = P.forwardRef(
|
|
|
1008
1008
|
error: n = !1,
|
|
1009
1009
|
fullWidth: c = !0,
|
|
1010
1010
|
maxTags: o,
|
|
1011
|
-
duplicateCheck:
|
|
1012
|
-
disabled:
|
|
1013
|
-
className:
|
|
1014
|
-
...
|
|
1015
|
-
},
|
|
1016
|
-
const [f,
|
|
1017
|
-
v.key === "Enter" && f.trim() ? (v.preventDefault(),
|
|
1018
|
-
},
|
|
1019
|
-
if (o && r.length >= o ||
|
|
1011
|
+
duplicateCheck: m = !0,
|
|
1012
|
+
disabled: u,
|
|
1013
|
+
className: d = "",
|
|
1014
|
+
...x
|
|
1015
|
+
}, h) => {
|
|
1016
|
+
const [f, g] = $(""), y = (v) => {
|
|
1017
|
+
v.key === "Enter" && f.trim() ? (v.preventDefault(), V(f.trim())) : v.key === "Backspace" && !f && r.length > 0 && R(r[r.length - 1]);
|
|
1018
|
+
}, V = (v) => {
|
|
1019
|
+
if (o && r.length >= o || m && r.includes(v))
|
|
1020
1020
|
return;
|
|
1021
|
-
const
|
|
1022
|
-
s(
|
|
1023
|
-
},
|
|
1024
|
-
const
|
|
1025
|
-
s(
|
|
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"} ${
|
|
1021
|
+
const C = [...r, v];
|
|
1022
|
+
s(C), t?.(v), g("");
|
|
1023
|
+
}, R = (v) => {
|
|
1024
|
+
const C = r.filter((A) => A !== v);
|
|
1025
|
+
s(C), a?.(v);
|
|
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"} ${u ? "bg-surface-variant text-text-muted cursor-not-allowed" : "bg-surface text-text-primary"} ${c ? "w-full" : ""} ${d}`;
|
|
1027
1027
|
return /* @__PURE__ */ e.jsxs("div", { className: "space-y-2", children: [
|
|
1028
1028
|
/* @__PURE__ */ e.jsx("div", { className: "flex flex-wrap gap-2 mb-2", children: r.map((v) => /* @__PURE__ */ e.jsx(
|
|
1029
|
-
|
|
1029
|
+
ar,
|
|
1030
1030
|
{
|
|
1031
1031
|
removable: !0,
|
|
1032
|
-
onRemove: () =>
|
|
1032
|
+
onRemove: () => R(v),
|
|
1033
1033
|
variant: "default",
|
|
1034
1034
|
children: v
|
|
1035
1035
|
},
|
|
@@ -1038,15 +1038,15 @@ const sr = P.forwardRef(
|
|
|
1038
1038
|
/* @__PURE__ */ e.jsx(
|
|
1039
1039
|
"input",
|
|
1040
1040
|
{
|
|
1041
|
-
ref:
|
|
1041
|
+
ref: h,
|
|
1042
1042
|
type: "text",
|
|
1043
1043
|
className: p,
|
|
1044
1044
|
placeholder: l,
|
|
1045
1045
|
value: f,
|
|
1046
|
-
onChange: (v) =>
|
|
1047
|
-
onKeyDown:
|
|
1048
|
-
disabled:
|
|
1049
|
-
...
|
|
1046
|
+
onChange: (v) => g(v.target.value),
|
|
1047
|
+
onKeyDown: y,
|
|
1048
|
+
disabled: u || (o ? r.length >= o : !1),
|
|
1049
|
+
...x
|
|
1050
1050
|
}
|
|
1051
1051
|
),
|
|
1052
1052
|
o && /* @__PURE__ */ e.jsxs("p", { className: "text-xs text-text-muted", children: [
|
|
@@ -1057,7 +1057,7 @@ const sr = P.forwardRef(
|
|
|
1057
1057
|
] });
|
|
1058
1058
|
}
|
|
1059
1059
|
);
|
|
1060
|
-
|
|
1060
|
+
nr.displayName = "TagInput";
|
|
1061
1061
|
const fe = {
|
|
1062
1062
|
variant: {
|
|
1063
1063
|
default: "bg-reseda-green-500 text-white hover:bg-reseda-green-600 focus-visible:ring-reseda-green-500",
|
|
@@ -1076,7 +1076,7 @@ const fe = {
|
|
|
1076
1076
|
xl: "h-12 rounded-md px-10 text-base",
|
|
1077
1077
|
icon: "h-10 w-10"
|
|
1078
1078
|
}
|
|
1079
|
-
},
|
|
1079
|
+
}, lr = "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", or = (...r) => r.filter(Boolean).join(" "), _ = P.forwardRef(
|
|
1080
1080
|
({
|
|
1081
1081
|
className: r,
|
|
1082
1082
|
variant: s = "default",
|
|
@@ -1086,11 +1086,11 @@ const fe = {
|
|
|
1086
1086
|
leftIcon: n,
|
|
1087
1087
|
rightIcon: c,
|
|
1088
1088
|
children: o,
|
|
1089
|
-
disabled:
|
|
1090
|
-
...
|
|
1091
|
-
},
|
|
1092
|
-
const
|
|
1093
|
-
|
|
1089
|
+
disabled: m,
|
|
1090
|
+
...u
|
|
1091
|
+
}, d) => {
|
|
1092
|
+
const x = m || l, h = or(
|
|
1093
|
+
lr,
|
|
1094
1094
|
fe.variant[s],
|
|
1095
1095
|
fe.size[t],
|
|
1096
1096
|
a ? "w-full" : "",
|
|
@@ -1099,10 +1099,10 @@ const fe = {
|
|
|
1099
1099
|
return /* @__PURE__ */ e.jsxs(
|
|
1100
1100
|
"button",
|
|
1101
1101
|
{
|
|
1102
|
-
className:
|
|
1103
|
-
ref:
|
|
1104
|
-
disabled:
|
|
1105
|
-
...
|
|
1102
|
+
className: h,
|
|
1103
|
+
ref: d,
|
|
1104
|
+
disabled: x,
|
|
1105
|
+
...u,
|
|
1106
1106
|
children: [
|
|
1107
1107
|
l && /* @__PURE__ */ e.jsxs(
|
|
1108
1108
|
"svg",
|
|
@@ -1142,7 +1142,7 @@ const fe = {
|
|
|
1142
1142
|
);
|
|
1143
1143
|
}
|
|
1144
1144
|
);
|
|
1145
|
-
|
|
1145
|
+
_.displayName = "Button";
|
|
1146
1146
|
const ge = {
|
|
1147
1147
|
provider: {
|
|
1148
1148
|
linkedin: "bg-[#0077B5] hover:bg-[#005885] text-white focus-visible:ring-[#0077B5]"
|
|
@@ -1152,7 +1152,7 @@ const ge = {
|
|
|
1152
1152
|
right: "flex-row-reverse",
|
|
1153
1153
|
only: "justify-center"
|
|
1154
1154
|
}
|
|
1155
|
-
},
|
|
1155
|
+
}, cr = (...r) => r.filter(Boolean).join(" "), ir = P.forwardRef(
|
|
1156
1156
|
({
|
|
1157
1157
|
className: r,
|
|
1158
1158
|
provider: s,
|
|
@@ -1162,39 +1162,39 @@ const ge = {
|
|
|
1162
1162
|
children: n,
|
|
1163
1163
|
size: c = "default",
|
|
1164
1164
|
fullWidth: o = !0,
|
|
1165
|
-
...
|
|
1166
|
-
},
|
|
1167
|
-
const
|
|
1165
|
+
...m
|
|
1166
|
+
}, u) => {
|
|
1167
|
+
const x = a || {
|
|
1168
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" }) })
|
|
1169
1169
|
}[s], f = n || (l ? {
|
|
1170
1170
|
linkedin: "Continue with LinkedIn"
|
|
1171
|
-
}[s] : ""),
|
|
1171
|
+
}[s] : ""), g = cr(
|
|
1172
1172
|
"relative overflow-hidden transition-all duration-200",
|
|
1173
1173
|
ge.provider[s],
|
|
1174
1174
|
ge.iconPosition[t],
|
|
1175
1175
|
r
|
|
1176
1176
|
);
|
|
1177
1177
|
return /* @__PURE__ */ e.jsxs(
|
|
1178
|
-
|
|
1178
|
+
_,
|
|
1179
1179
|
{
|
|
1180
|
-
ref:
|
|
1180
|
+
ref: u,
|
|
1181
1181
|
variant: "none",
|
|
1182
|
-
className:
|
|
1182
|
+
className: g,
|
|
1183
1183
|
size: c,
|
|
1184
1184
|
fullWidth: o,
|
|
1185
|
-
leftIcon: t === "left" ?
|
|
1186
|
-
rightIcon: t === "right" ?
|
|
1187
|
-
...
|
|
1185
|
+
leftIcon: t === "left" ? x : void 0,
|
|
1186
|
+
rightIcon: t === "right" ? x : void 0,
|
|
1187
|
+
...m,
|
|
1188
1188
|
children: [
|
|
1189
|
-
t === "only" &&
|
|
1189
|
+
t === "only" && x,
|
|
1190
1190
|
t !== "only" && f
|
|
1191
1191
|
]
|
|
1192
1192
|
}
|
|
1193
1193
|
);
|
|
1194
1194
|
}
|
|
1195
1195
|
);
|
|
1196
|
-
|
|
1197
|
-
function
|
|
1196
|
+
ir.displayName = "SocialButton";
|
|
1197
|
+
function G({
|
|
1198
1198
|
variant: r,
|
|
1199
1199
|
title: s,
|
|
1200
1200
|
message: t,
|
|
@@ -1207,25 +1207,25 @@ function q({
|
|
|
1207
1207
|
bg: "bg-success-50",
|
|
1208
1208
|
border: "border-success-200",
|
|
1209
1209
|
text: "text-success-700",
|
|
1210
|
-
icon: /* @__PURE__ */ e.jsx(
|
|
1210
|
+
icon: /* @__PURE__ */ e.jsx(Ne, { className: "h-5 w-5" })
|
|
1211
1211
|
},
|
|
1212
1212
|
error: {
|
|
1213
1213
|
bg: "bg-error-50",
|
|
1214
1214
|
border: "border-error-200",
|
|
1215
1215
|
text: "text-error-700",
|
|
1216
|
-
icon: /* @__PURE__ */ e.jsx(
|
|
1216
|
+
icon: /* @__PURE__ */ e.jsx(we, { className: "h-5 w-5" })
|
|
1217
1217
|
},
|
|
1218
1218
|
warning: {
|
|
1219
1219
|
bg: "bg-warning-50",
|
|
1220
1220
|
border: "border-warning-200",
|
|
1221
1221
|
text: "text-warning-700",
|
|
1222
|
-
icon: /* @__PURE__ */ e.jsx(
|
|
1222
|
+
icon: /* @__PURE__ */ e.jsx(ye, { className: "h-5 w-5" })
|
|
1223
1223
|
},
|
|
1224
1224
|
info: {
|
|
1225
1225
|
bg: "bg-info-50",
|
|
1226
1226
|
border: "border-info-200",
|
|
1227
1227
|
text: "text-info-700",
|
|
1228
|
-
icon: /* @__PURE__ */ e.jsx(
|
|
1228
|
+
icon: /* @__PURE__ */ e.jsx(je, { className: "h-5 w-5" })
|
|
1229
1229
|
}
|
|
1230
1230
|
}[r];
|
|
1231
1231
|
return /* @__PURE__ */ e.jsx(
|
|
@@ -1252,7 +1252,7 @@ function q({
|
|
|
1252
1252
|
}
|
|
1253
1253
|
);
|
|
1254
1254
|
}
|
|
1255
|
-
function
|
|
1255
|
+
function Gr({
|
|
1256
1256
|
onFileChange: r,
|
|
1257
1257
|
onAnalyze: s,
|
|
1258
1258
|
uploadedFile: t,
|
|
@@ -1261,52 +1261,52 @@ function Yr({
|
|
|
1261
1261
|
isAnalyzing: n = !1,
|
|
1262
1262
|
analyzeError: c,
|
|
1263
1263
|
analyzeSuccess: o,
|
|
1264
|
-
accept:
|
|
1265
|
-
label:
|
|
1266
|
-
description:
|
|
1267
|
-
analyzeButtonLabel:
|
|
1268
|
-
disabled:
|
|
1264
|
+
accept: m = ".pdf,.docx",
|
|
1265
|
+
label: u = "Upload File",
|
|
1266
|
+
description: d = "PDF, DOCX up to 5MB",
|
|
1267
|
+
analyzeButtonLabel: x = "Analyze",
|
|
1268
|
+
disabled: h = !1,
|
|
1269
1269
|
showAnalyzeButton: f = !0
|
|
1270
1270
|
}) {
|
|
1271
|
-
const
|
|
1272
|
-
|
|
1273
|
-
!t &&
|
|
1271
|
+
const g = W(null), [y, V] = $(!1);
|
|
1272
|
+
D(() => {
|
|
1273
|
+
!t && g.current && (g.current.value = "");
|
|
1274
1274
|
}, [t]);
|
|
1275
|
-
const
|
|
1276
|
-
N.preventDefault(), N.stopPropagation(), N.type === "dragenter" || N.type === "dragover" ?
|
|
1277
|
-
},
|
|
1278
|
-
if (N.preventDefault(), N.stopPropagation(),
|
|
1279
|
-
const
|
|
1275
|
+
const R = (N) => {
|
|
1276
|
+
N.preventDefault(), N.stopPropagation(), N.type === "dragenter" || N.type === "dragover" ? V(!0) : N.type === "dragleave" && V(!1);
|
|
1277
|
+
}, k = (N) => {
|
|
1278
|
+
if (N.preventDefault(), N.stopPropagation(), V(!1), N.dataTransfer.files && N.dataTransfer.files[0]) {
|
|
1279
|
+
const O = {
|
|
1280
1280
|
target: {
|
|
1281
1281
|
files: N.dataTransfer.files
|
|
1282
1282
|
}
|
|
1283
1283
|
};
|
|
1284
|
-
r(
|
|
1284
|
+
r(O);
|
|
1285
1285
|
}
|
|
1286
1286
|
};
|
|
1287
1287
|
return /* @__PURE__ */ e.jsxs("div", { className: "mt-6 pt-6 border-t border-border", children: [
|
|
1288
|
-
/* @__PURE__ */ e.jsx("h3", { className: "text-sm font-medium text-text-primary mb-3", children:
|
|
1288
|
+
/* @__PURE__ */ e.jsx("h3", { className: "text-sm font-medium text-text-primary mb-3", children: u }),
|
|
1289
1289
|
/* @__PURE__ */ e.jsxs("label", { className: "block", children: [
|
|
1290
1290
|
/* @__PURE__ */ e.jsx(
|
|
1291
1291
|
"input",
|
|
1292
1292
|
{
|
|
1293
|
-
ref:
|
|
1293
|
+
ref: g,
|
|
1294
1294
|
type: "file",
|
|
1295
|
-
accept:
|
|
1295
|
+
accept: m,
|
|
1296
1296
|
onChange: r,
|
|
1297
1297
|
className: "hidden",
|
|
1298
1298
|
id: "file-upload",
|
|
1299
|
-
disabled:
|
|
1299
|
+
disabled: h
|
|
1300
1300
|
}
|
|
1301
1301
|
),
|
|
1302
1302
|
/* @__PURE__ */ e.jsx(
|
|
1303
1303
|
"div",
|
|
1304
1304
|
{
|
|
1305
|
-
onDragEnter:
|
|
1306
|
-
onDragLeave:
|
|
1307
|
-
onDragOver:
|
|
1308
|
-
onDrop:
|
|
1309
|
-
className: `border-2 border-dashed rounded-lg p-6 text-center transition cursor-pointer ${
|
|
1305
|
+
onDragEnter: R,
|
|
1306
|
+
onDragLeave: R,
|
|
1307
|
+
onDragOver: R,
|
|
1308
|
+
onDrop: k,
|
|
1309
|
+
className: `border-2 border-dashed rounded-lg p-6 text-center transition cursor-pointer ${y ? "border-reseda-green-700 bg-reseda-green-50" : "border-border hover:border-reseda-green-700"} ${h ? "opacity-50 cursor-not-allowed" : ""}`,
|
|
1310
1310
|
children: t && !a ? /* @__PURE__ */ e.jsxs("div", { children: [
|
|
1311
1311
|
/* @__PURE__ */ e.jsx(
|
|
1312
1312
|
"svg",
|
|
@@ -1324,14 +1324,14 @@ function Yr({
|
|
|
1324
1324
|
)
|
|
1325
1325
|
}
|
|
1326
1326
|
),
|
|
1327
|
-
/* @__PURE__ */ e.jsx("div", { className: "mt-3", children: /* @__PURE__ */ e.jsx(
|
|
1327
|
+
/* @__PURE__ */ e.jsx("div", { className: "mt-3", children: /* @__PURE__ */ e.jsx(G, { variant: "success", message: "File uploaded successfully" }) }),
|
|
1328
1328
|
/* @__PURE__ */ e.jsx("p", { className: "text-sm text-text-secondary mt-2 break-words", children: t.name }),
|
|
1329
1329
|
/* @__PURE__ */ e.jsxs("p", { className: "text-xs text-text-muted mt-1", children: [
|
|
1330
1330
|
(t.size / (1024 * 1024)).toFixed(2),
|
|
1331
1331
|
"MB"
|
|
1332
1332
|
] }),
|
|
1333
1333
|
/* @__PURE__ */ e.jsx(
|
|
1334
|
-
|
|
1334
|
+
_,
|
|
1335
1335
|
{
|
|
1336
1336
|
variant: "link",
|
|
1337
1337
|
type: "button",
|
|
@@ -1366,29 +1366,29 @@ function Yr({
|
|
|
1366
1366
|
" ",
|
|
1367
1367
|
"or drag and drop"
|
|
1368
1368
|
] }),
|
|
1369
|
-
/* @__PURE__ */ e.jsx("p", { className: "text-xs text-text-muted mt-1", children:
|
|
1369
|
+
/* @__PURE__ */ e.jsx("p", { className: "text-xs text-text-muted mt-1", children: d })
|
|
1370
1370
|
] })
|
|
1371
1371
|
}
|
|
1372
1372
|
)
|
|
1373
1373
|
] }),
|
|
1374
|
-
a && /* @__PURE__ */ e.jsx("div", { className: "mt-3", children: /* @__PURE__ */ e.jsx(
|
|
1375
|
-
c && /* @__PURE__ */ e.jsx("div", { className: "mt-3", children: /* @__PURE__ */ e.jsx(
|
|
1376
|
-
o && /* @__PURE__ */ e.jsx("div", { className: "mt-3", children: /* @__PURE__ */ e.jsx(
|
|
1374
|
+
a && /* @__PURE__ */ e.jsx("div", { className: "mt-3", children: /* @__PURE__ */ e.jsx(G, { variant: "error", message: a }) }),
|
|
1375
|
+
c && /* @__PURE__ */ e.jsx("div", { className: "mt-3", children: /* @__PURE__ */ e.jsx(G, { variant: "error", message: c }) }),
|
|
1376
|
+
o && /* @__PURE__ */ e.jsx("div", { className: "mt-3", children: /* @__PURE__ */ e.jsx(G, { variant: "success", message: o }) }),
|
|
1377
1377
|
f && /* @__PURE__ */ e.jsx(
|
|
1378
|
-
|
|
1378
|
+
_,
|
|
1379
1379
|
{
|
|
1380
1380
|
variant: "default",
|
|
1381
1381
|
onClick: s,
|
|
1382
|
-
disabled: !t || n ||
|
|
1382
|
+
disabled: !t || n || h,
|
|
1383
1383
|
loading: n,
|
|
1384
1384
|
fullWidth: !0,
|
|
1385
1385
|
className: "mt-3",
|
|
1386
|
-
children:
|
|
1386
|
+
children: x
|
|
1387
1387
|
}
|
|
1388
1388
|
)
|
|
1389
1389
|
] });
|
|
1390
1390
|
}
|
|
1391
|
-
const
|
|
1391
|
+
const dr = P.forwardRef(
|
|
1392
1392
|
({
|
|
1393
1393
|
className: r = "",
|
|
1394
1394
|
error: s = !1,
|
|
@@ -1398,35 +1398,35 @@ const or = P.forwardRef(
|
|
|
1398
1398
|
showCharCount: n = !1,
|
|
1399
1399
|
disabled: c,
|
|
1400
1400
|
value: o,
|
|
1401
|
-
onChange:
|
|
1402
|
-
...
|
|
1403
|
-
},
|
|
1404
|
-
const
|
|
1405
|
-
a && (
|
|
1406
|
-
},
|
|
1401
|
+
onChange: m,
|
|
1402
|
+
...u
|
|
1403
|
+
}, d) => {
|
|
1404
|
+
const y = `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}`, V = (k) => {
|
|
1405
|
+
a && (k.target.style.height = "auto", k.target.style.height = `${k.target.scrollHeight}px`), m?.(k);
|
|
1406
|
+
}, R = typeof o == "string" ? o.length : 0;
|
|
1407
1407
|
return /* @__PURE__ */ e.jsxs("div", { className: "space-y-1", children: [
|
|
1408
1408
|
/* @__PURE__ */ e.jsx(
|
|
1409
1409
|
"textarea",
|
|
1410
1410
|
{
|
|
1411
|
-
ref:
|
|
1412
|
-
className:
|
|
1411
|
+
ref: d,
|
|
1412
|
+
className: y,
|
|
1413
1413
|
disabled: c,
|
|
1414
1414
|
value: o,
|
|
1415
|
-
onChange:
|
|
1415
|
+
onChange: V,
|
|
1416
1416
|
maxLength: l,
|
|
1417
|
-
...
|
|
1417
|
+
...u
|
|
1418
1418
|
}
|
|
1419
1419
|
),
|
|
1420
1420
|
n && l && /* @__PURE__ */ e.jsxs("p", { className: "text-xs text-text-muted text-right", children: [
|
|
1421
|
-
|
|
1421
|
+
R,
|
|
1422
1422
|
" / ",
|
|
1423
1423
|
l
|
|
1424
1424
|
] })
|
|
1425
1425
|
] });
|
|
1426
1426
|
}
|
|
1427
1427
|
);
|
|
1428
|
-
|
|
1429
|
-
function
|
|
1428
|
+
dr.displayName = "Textarea";
|
|
1429
|
+
function Jr({
|
|
1430
1430
|
options: r,
|
|
1431
1431
|
selectedValues: s,
|
|
1432
1432
|
onSelectionChange: t,
|
|
@@ -1435,44 +1435,44 @@ function Hr({
|
|
|
1435
1435
|
disabled: n = !1,
|
|
1436
1436
|
error: c = !1
|
|
1437
1437
|
}) {
|
|
1438
|
-
const o = (
|
|
1439
|
-
const
|
|
1440
|
-
t(
|
|
1441
|
-
},
|
|
1438
|
+
const o = (x) => {
|
|
1439
|
+
const h = s.includes(x) ? s.filter((f) => f !== x) : [...s, x];
|
|
1440
|
+
t(h);
|
|
1441
|
+
}, m = {
|
|
1442
1442
|
vertical: "space-y-3",
|
|
1443
1443
|
horizontal: "flex flex-wrap gap-3",
|
|
1444
1444
|
grid: `grid grid-cols-${l} gap-3`
|
|
1445
|
-
},
|
|
1446
|
-
return /* @__PURE__ */ e.jsx("div", { className: `${
|
|
1447
|
-
const
|
|
1445
|
+
}, u = a === "grid" ? "grid gap-3" : m[a], d = a === "grid" ? `md:grid-cols-${l}` : "";
|
|
1446
|
+
return /* @__PURE__ */ e.jsx("div", { className: `${u} ${d}`, children: r.map((x) => {
|
|
1447
|
+
const h = s.includes(x.value), g = 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`;
|
|
1448
1448
|
return /* @__PURE__ */ e.jsxs(
|
|
1449
1449
|
"label",
|
|
1450
1450
|
{
|
|
1451
|
-
className: `relative flex items-start p-3 border rounded-lg cursor-pointer transition-all ${
|
|
1451
|
+
className: `relative flex items-start p-3 border rounded-lg cursor-pointer transition-all ${g} ${n ? "opacity-50 cursor-not-allowed" : ""}`,
|
|
1452
1452
|
children: [
|
|
1453
1453
|
/* @__PURE__ */ e.jsx(
|
|
1454
1454
|
"input",
|
|
1455
1455
|
{
|
|
1456
1456
|
type: "checkbox",
|
|
1457
|
-
checked:
|
|
1458
|
-
onChange: () => o(
|
|
1457
|
+
checked: h,
|
|
1458
|
+
onChange: () => o(x.value),
|
|
1459
1459
|
disabled: n,
|
|
1460
1460
|
className: "sr-only"
|
|
1461
1461
|
}
|
|
1462
1462
|
),
|
|
1463
|
-
|
|
1463
|
+
x.icon && /* @__PURE__ */ e.jsx("div", { className: "mr-3 flex-shrink-0 text-text-secondary", children: x.icon }),
|
|
1464
1464
|
/* @__PURE__ */ e.jsxs("div", { className: "flex-1", children: [
|
|
1465
|
-
/* @__PURE__ */ e.jsx("div", { className: "font-medium text-text-primary", children:
|
|
1466
|
-
|
|
1465
|
+
/* @__PURE__ */ e.jsx("div", { className: "font-medium text-text-primary", children: x.label }),
|
|
1466
|
+
x.description && /* @__PURE__ */ e.jsx("div", { className: "text-sm text-text-secondary", children: x.description })
|
|
1467
1467
|
] }),
|
|
1468
|
-
|
|
1468
|
+
h && /* @__PURE__ */ e.jsx("div", { className: "text-reseda-green-500 flex-shrink-0", 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" }) }) })
|
|
1469
1469
|
]
|
|
1470
1470
|
},
|
|
1471
|
-
|
|
1471
|
+
x.value
|
|
1472
1472
|
);
|
|
1473
1473
|
}) });
|
|
1474
1474
|
}
|
|
1475
|
-
function
|
|
1475
|
+
function Xr({
|
|
1476
1476
|
options: r,
|
|
1477
1477
|
selectedValue: s,
|
|
1478
1478
|
onSelectionChange: t,
|
|
@@ -1482,13 +1482,13 @@ function Wr({
|
|
|
1482
1482
|
error: c = !1,
|
|
1483
1483
|
name: o = "radio-group"
|
|
1484
1484
|
}) {
|
|
1485
|
-
const
|
|
1485
|
+
const u = a === "grid" ? `grid gap-3 md:grid-cols-${l}` : {
|
|
1486
1486
|
vertical: "space-y-3",
|
|
1487
1487
|
horizontal: "flex flex-wrap gap-3",
|
|
1488
1488
|
grid: "grid gap-3"
|
|
1489
1489
|
}[a];
|
|
1490
|
-
return /* @__PURE__ */ e.jsx("div", { className:
|
|
1491
|
-
const
|
|
1490
|
+
return /* @__PURE__ */ e.jsx("div", { className: u, children: r.map((d) => {
|
|
1491
|
+
const x = s === d.value, f = 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`;
|
|
1492
1492
|
return /* @__PURE__ */ e.jsxs(
|
|
1493
1493
|
"label",
|
|
1494
1494
|
{
|
|
@@ -1499,26 +1499,26 @@ function Wr({
|
|
|
1499
1499
|
{
|
|
1500
1500
|
type: "radio",
|
|
1501
1501
|
name: o,
|
|
1502
|
-
value:
|
|
1503
|
-
checked:
|
|
1504
|
-
onChange: () => t(
|
|
1502
|
+
value: d.value,
|
|
1503
|
+
checked: x,
|
|
1504
|
+
onChange: () => t(d.value),
|
|
1505
1505
|
disabled: n,
|
|
1506
1506
|
className: "sr-only"
|
|
1507
1507
|
}
|
|
1508
1508
|
),
|
|
1509
|
-
|
|
1509
|
+
d.icon && /* @__PURE__ */ e.jsx("div", { className: "mr-3 flex-shrink-0 text-text-secondary", children: d.icon }),
|
|
1510
1510
|
/* @__PURE__ */ e.jsxs("div", { className: "flex-1", children: [
|
|
1511
|
-
/* @__PURE__ */ e.jsx("div", { className: "font-medium text-text-primary", children:
|
|
1512
|
-
|
|
1511
|
+
/* @__PURE__ */ e.jsx("div", { className: "font-medium text-text-primary", children: d.label }),
|
|
1512
|
+
d.description && /* @__PURE__ */ e.jsx("div", { className: "text-sm text-text-secondary", children: d.description })
|
|
1513
1513
|
] }),
|
|
1514
|
-
|
|
1514
|
+
x && /* @__PURE__ */ e.jsx("div", { className: "text-reseda-green-500 flex-shrink-0", 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: "M10 18a8 8 0 100-16 8 8 0 000 16zm3.707-9.293a1 1 0 00-1.414-1.414L9 10.586 7.707 9.293a1 1 0 00-1.414 1.414l2 2a1 1 0 001.414 0l4-4z", clipRule: "evenodd" }) }) })
|
|
1515
1515
|
]
|
|
1516
1516
|
},
|
|
1517
|
-
|
|
1517
|
+
d.value
|
|
1518
1518
|
);
|
|
1519
1519
|
}) });
|
|
1520
1520
|
}
|
|
1521
|
-
function
|
|
1521
|
+
function Kr({ stats: r, columns: s = 4, className: t = "" }) {
|
|
1522
1522
|
const a = {
|
|
1523
1523
|
2: "grid-cols-2",
|
|
1524
1524
|
3: "grid-cols-3",
|
|
@@ -1538,19 +1538,19 @@ function Zr({ stats: r, columns: s = 4, className: t = "" }) {
|
|
|
1538
1538
|
] }, c);
|
|
1539
1539
|
}) });
|
|
1540
1540
|
}
|
|
1541
|
-
function
|
|
1541
|
+
function Qr({
|
|
1542
1542
|
items: r,
|
|
1543
1543
|
allowMultiple: s = !1,
|
|
1544
1544
|
defaultOpenId: t,
|
|
1545
1545
|
onOpenChange: a,
|
|
1546
1546
|
className: l = ""
|
|
1547
1547
|
}) {
|
|
1548
|
-
const [n, c] =
|
|
1549
|
-
let
|
|
1550
|
-
s ?
|
|
1548
|
+
const [n, c] = $(() => t ? Array.isArray(t) ? t : [t] : []), o = (m) => {
|
|
1549
|
+
let u;
|
|
1550
|
+
s ? u = n.includes(m) ? n.filter((d) => d !== m) : [...n, m] : u = n.includes(m) ? [] : [m], c(u), a?.(u);
|
|
1551
1551
|
};
|
|
1552
|
-
return /* @__PURE__ */ e.jsx("div", { className: `space-y-2 ${l}`, children: r.map((
|
|
1553
|
-
const
|
|
1552
|
+
return /* @__PURE__ */ e.jsx("div", { className: `space-y-2 ${l}`, children: r.map((m) => {
|
|
1553
|
+
const u = n.includes(m.id);
|
|
1554
1554
|
return /* @__PURE__ */ e.jsxs(
|
|
1555
1555
|
"div",
|
|
1556
1556
|
{
|
|
@@ -1559,30 +1559,30 @@ function qr({
|
|
|
1559
1559
|
/* @__PURE__ */ e.jsxs(
|
|
1560
1560
|
"button",
|
|
1561
1561
|
{
|
|
1562
|
-
onClick: () => o(
|
|
1562
|
+
onClick: () => o(m.id),
|
|
1563
1563
|
className: "w-full px-4 py-3 flex items-center justify-between hover:bg-surface-variant transition-colors text-left",
|
|
1564
1564
|
children: [
|
|
1565
1565
|
/* @__PURE__ */ e.jsxs("div", { className: "flex items-center gap-3 flex-1", children: [
|
|
1566
|
-
|
|
1567
|
-
/* @__PURE__ */ e.jsx("h3", { className: "font-medium text-text-primary", children:
|
|
1566
|
+
m.icon && /* @__PURE__ */ e.jsx("div", { className: "flex-shrink-0 text-text-secondary", children: m.icon }),
|
|
1567
|
+
/* @__PURE__ */ e.jsx("h3", { className: "font-medium text-text-primary", children: m.title })
|
|
1568
1568
|
] }),
|
|
1569
1569
|
/* @__PURE__ */ e.jsx(
|
|
1570
1570
|
te,
|
|
1571
1571
|
{
|
|
1572
|
-
className: `w-5 h-5 text-text-secondary transition-transform flex-shrink-0 ${
|
|
1572
|
+
className: `w-5 h-5 text-text-secondary transition-transform flex-shrink-0 ${u ? "rotate-180" : ""}`
|
|
1573
1573
|
}
|
|
1574
1574
|
)
|
|
1575
1575
|
]
|
|
1576
1576
|
}
|
|
1577
1577
|
),
|
|
1578
|
-
|
|
1578
|
+
u && /* @__PURE__ */ e.jsx("div", { className: "border-t border-border px-4 py-3 bg-surface-variant text-text-primary", children: m.content })
|
|
1579
1579
|
]
|
|
1580
1580
|
},
|
|
1581
|
-
|
|
1581
|
+
m.id
|
|
1582
1582
|
);
|
|
1583
1583
|
}) });
|
|
1584
1584
|
}
|
|
1585
|
-
function
|
|
1585
|
+
function es({
|
|
1586
1586
|
icon: r,
|
|
1587
1587
|
title: s,
|
|
1588
1588
|
subtitle: t,
|
|
@@ -1591,13 +1591,13 @@ function Gr({
|
|
|
1591
1591
|
isActive: n = !1,
|
|
1592
1592
|
variant: c = "default",
|
|
1593
1593
|
actions: o,
|
|
1594
|
-
onClick:
|
|
1595
|
-
className:
|
|
1594
|
+
onClick: m,
|
|
1595
|
+
className: u = ""
|
|
1596
1596
|
}) {
|
|
1597
|
-
const
|
|
1598
|
-
const
|
|
1599
|
-
|
|
1600
|
-
},
|
|
1597
|
+
const d = (g) => {
|
|
1598
|
+
const y = g.target;
|
|
1599
|
+
y.tagName === "BUTTON" || y.closest("button") || m?.(g);
|
|
1600
|
+
}, h = (() => {
|
|
1601
1601
|
if (n)
|
|
1602
1602
|
switch (c) {
|
|
1603
1603
|
case "success":
|
|
@@ -1614,8 +1614,8 @@ function Gr({
|
|
|
1614
1614
|
return /* @__PURE__ */ e.jsx(
|
|
1615
1615
|
"div",
|
|
1616
1616
|
{
|
|
1617
|
-
onClick:
|
|
1618
|
-
className: `rounded-lg p-4 cursor-pointer transition ${
|
|
1617
|
+
onClick: d,
|
|
1618
|
+
className: `rounded-lg p-4 cursor-pointer transition ${h} ${f} ${u}`,
|
|
1619
1619
|
children: /* @__PURE__ */ e.jsxs("div", { className: "flex items-start justify-between", children: [
|
|
1620
1620
|
/* @__PURE__ */ e.jsxs("div", { className: "flex-1 flex items-start gap-3", children: [
|
|
1621
1621
|
r && /* @__PURE__ */ e.jsx("div", { className: "shrink-0", children: r }),
|
|
@@ -1625,26 +1625,26 @@ function Gr({
|
|
|
1625
1625
|
a && /* @__PURE__ */ e.jsx("div", { className: "mt-2", children: a })
|
|
1626
1626
|
] })
|
|
1627
1627
|
] }),
|
|
1628
|
-
/* @__PURE__ */ e.jsx("div", { className: "ml-2 flex items-center gap-1 shrink-0", children: o.map((
|
|
1629
|
-
|
|
1628
|
+
/* @__PURE__ */ e.jsx("div", { className: "ml-2 flex items-center gap-1 shrink-0", children: o.map((g, y) => /* @__PURE__ */ e.jsx(
|
|
1629
|
+
_,
|
|
1630
1630
|
{
|
|
1631
|
-
variant:
|
|
1632
|
-
size:
|
|
1633
|
-
onClick:
|
|
1634
|
-
disabled:
|
|
1635
|
-
loading:
|
|
1636
|
-
title:
|
|
1637
|
-
className:
|
|
1638
|
-
leftIcon:
|
|
1639
|
-
children:
|
|
1631
|
+
variant: g.variant || "ghost",
|
|
1632
|
+
size: g.size || "sm",
|
|
1633
|
+
onClick: g.onClick,
|
|
1634
|
+
disabled: g.disabled,
|
|
1635
|
+
loading: g.loading,
|
|
1636
|
+
title: g.label,
|
|
1637
|
+
className: g.className,
|
|
1638
|
+
leftIcon: g.icon && g.size !== "icon" ? g.icon : void 0,
|
|
1639
|
+
children: g.size === "icon" ? g.icon : g.label
|
|
1640
1640
|
},
|
|
1641
|
-
|
|
1641
|
+
y
|
|
1642
1642
|
)) })
|
|
1643
1643
|
] })
|
|
1644
1644
|
}
|
|
1645
1645
|
);
|
|
1646
1646
|
}
|
|
1647
|
-
function
|
|
1647
|
+
function rs({
|
|
1648
1648
|
children: r,
|
|
1649
1649
|
variant: s = "default",
|
|
1650
1650
|
isActive: t = !1,
|
|
@@ -1671,7 +1671,7 @@ function Jr({
|
|
|
1671
1671
|
}
|
|
1672
1672
|
);
|
|
1673
1673
|
}
|
|
1674
|
-
const
|
|
1674
|
+
const ur = 200, mr = {
|
|
1675
1675
|
right: {
|
|
1676
1676
|
sm: "w-full sm:w-[360px]",
|
|
1677
1677
|
md: "w-full sm:w-[480px]",
|
|
@@ -1690,12 +1690,12 @@ const cr = {
|
|
|
1690
1690
|
lg: "h-[70vh]",
|
|
1691
1691
|
full: "h-full"
|
|
1692
1692
|
}
|
|
1693
|
-
},
|
|
1693
|
+
}, xr = {
|
|
1694
1694
|
right: "top-0 right-0 h-full",
|
|
1695
1695
|
left: "top-0 left-0 h-full",
|
|
1696
1696
|
bottom: "left-0 right-0 bottom-0 w-full"
|
|
1697
1697
|
};
|
|
1698
|
-
function
|
|
1698
|
+
function ss({
|
|
1699
1699
|
open: r,
|
|
1700
1700
|
onClose: s,
|
|
1701
1701
|
title: t,
|
|
@@ -1704,57 +1704,69 @@ function Xr({
|
|
|
1704
1704
|
placement: n = "right",
|
|
1705
1705
|
size: c = "md",
|
|
1706
1706
|
closeOnOverlayClick: o = !0,
|
|
1707
|
-
closeOnEsc:
|
|
1708
|
-
showCloseButton:
|
|
1709
|
-
className:
|
|
1707
|
+
closeOnEsc: m = !0,
|
|
1708
|
+
showCloseButton: u = !0,
|
|
1709
|
+
className: d = ""
|
|
1710
1710
|
}) {
|
|
1711
|
-
|
|
1711
|
+
const [x, h] = $(r), [f, g] = $(r), y = W(null);
|
|
1712
|
+
if (D(() => {
|
|
1713
|
+
if (r) {
|
|
1714
|
+
y.current !== null && (window.clearTimeout(y.current), y.current = null), h(!0), typeof window < "u" ? window.requestAnimationFrame(() => g(!0)) : g(!0);
|
|
1715
|
+
return;
|
|
1716
|
+
}
|
|
1717
|
+
x && (g(!1), typeof window < "u" ? y.current = window.setTimeout(() => {
|
|
1718
|
+
h(!1);
|
|
1719
|
+
}, ur) : h(!1));
|
|
1720
|
+
}, [r, x]), D(() => () => {
|
|
1721
|
+
y.current !== null && window.clearTimeout(y.current);
|
|
1722
|
+
}, []), D(() => {
|
|
1712
1723
|
if (!r || typeof document > "u")
|
|
1713
1724
|
return;
|
|
1714
|
-
const
|
|
1725
|
+
const k = document.body.style.overflow;
|
|
1715
1726
|
return document.body.style.overflow = "hidden", () => {
|
|
1716
|
-
document.body.style.overflow =
|
|
1727
|
+
document.body.style.overflow = k;
|
|
1717
1728
|
};
|
|
1718
|
-
}, [r]),
|
|
1719
|
-
if (!r || !
|
|
1729
|
+
}, [r]), D(() => {
|
|
1730
|
+
if (!r || !m || typeof window > "u")
|
|
1720
1731
|
return;
|
|
1721
|
-
const
|
|
1722
|
-
|
|
1732
|
+
const k = (N) => {
|
|
1733
|
+
N.key === "Escape" && s();
|
|
1723
1734
|
};
|
|
1724
|
-
return window.addEventListener("keydown",
|
|
1725
|
-
window.removeEventListener("keydown",
|
|
1735
|
+
return window.addEventListener("keydown", k), () => {
|
|
1736
|
+
window.removeEventListener("keydown", k);
|
|
1726
1737
|
};
|
|
1727
|
-
}, [r,
|
|
1738
|
+
}, [r, m, s]), !x || typeof document > "u")
|
|
1728
1739
|
return null;
|
|
1729
|
-
const
|
|
1730
|
-
"fixed z-[60] bg-surface border-border shadow-xl flex flex-col",
|
|
1731
|
-
|
|
1732
|
-
|
|
1740
|
+
const V = f ? "translate-x-0 translate-y-0 opacity-100" : n === "right" ? "translate-x-full opacity-0" : n === "left" ? "-translate-x-full opacity-0" : "translate-y-full opacity-0", R = [
|
|
1741
|
+
"fixed z-[60] bg-surface border-border shadow-xl flex flex-col transition-transform transition-opacity duration-200 ease-out",
|
|
1742
|
+
xr[n],
|
|
1743
|
+
mr[n][c],
|
|
1733
1744
|
n === "bottom" ? "rounded-t-xl border-t" : n === "left" ? "border-r" : "border-l",
|
|
1734
|
-
|
|
1745
|
+
V,
|
|
1746
|
+
d
|
|
1735
1747
|
].filter(Boolean).join(" ");
|
|
1736
|
-
return
|
|
1748
|
+
return De(
|
|
1737
1749
|
/* @__PURE__ */ e.jsxs("div", { className: "fixed inset-0 z-50", children: [
|
|
1738
1750
|
/* @__PURE__ */ e.jsx(
|
|
1739
1751
|
"button",
|
|
1740
1752
|
{
|
|
1741
1753
|
type: "button",
|
|
1742
1754
|
"aria-label": "Close drawer overlay",
|
|
1743
|
-
className:
|
|
1755
|
+
className: `absolute inset-0 bg-black/40 transition-opacity duration-200 ${f ? "opacity-100" : "opacity-0 pointer-events-none"}`,
|
|
1744
1756
|
onClick: o ? s : void 0
|
|
1745
1757
|
}
|
|
1746
1758
|
),
|
|
1747
|
-
/* @__PURE__ */ e.jsxs("section", { role: "dialog", "aria-modal": "true", className:
|
|
1759
|
+
/* @__PURE__ */ e.jsxs("section", { role: "dialog", "aria-modal": "true", className: R, children: [
|
|
1748
1760
|
/* @__PURE__ */ e.jsxs("header", { className: "flex items-center justify-between border-b border-border px-4 py-3", children: [
|
|
1749
1761
|
/* @__PURE__ */ e.jsx("div", { className: "text-sm font-semibold text-text-primary", children: t }),
|
|
1750
|
-
|
|
1762
|
+
u ? /* @__PURE__ */ e.jsx(
|
|
1751
1763
|
"button",
|
|
1752
1764
|
{
|
|
1753
1765
|
type: "button",
|
|
1754
1766
|
onClick: s,
|
|
1755
1767
|
className: "rounded-md p-1 text-text-secondary hover:bg-surface-variant hover:text-text-primary",
|
|
1756
1768
|
"aria-label": "Close drawer",
|
|
1757
|
-
children: /* @__PURE__ */ e.jsx(
|
|
1769
|
+
children: /* @__PURE__ */ e.jsx(Ce, { className: "h-5 w-5" })
|
|
1758
1770
|
}
|
|
1759
1771
|
) : null
|
|
1760
1772
|
] }),
|
|
@@ -1765,7 +1777,7 @@ function Xr({
|
|
|
1765
1777
|
document.body
|
|
1766
1778
|
);
|
|
1767
1779
|
}
|
|
1768
|
-
function
|
|
1780
|
+
function ts({
|
|
1769
1781
|
title: r,
|
|
1770
1782
|
children: s,
|
|
1771
1783
|
subtitle: t,
|
|
@@ -1785,7 +1797,7 @@ function Kr({
|
|
|
1785
1797
|
s
|
|
1786
1798
|
] });
|
|
1787
1799
|
}
|
|
1788
|
-
function
|
|
1800
|
+
function as({
|
|
1789
1801
|
title: r,
|
|
1790
1802
|
subtitle: s,
|
|
1791
1803
|
metadata: t,
|
|
@@ -1806,7 +1818,7 @@ function Qr({
|
|
|
1806
1818
|
] }, c))
|
|
1807
1819
|
] });
|
|
1808
1820
|
}
|
|
1809
|
-
function
|
|
1821
|
+
function ns({
|
|
1810
1822
|
title: r,
|
|
1811
1823
|
description: s,
|
|
1812
1824
|
centered: t = !1,
|
|
@@ -1822,7 +1834,7 @@ function es({
|
|
|
1822
1834
|
/* @__PURE__ */ e.jsx("p", { className: `mt-2 text-text-secondary ${c}`, children: s })
|
|
1823
1835
|
] });
|
|
1824
1836
|
}
|
|
1825
|
-
function
|
|
1837
|
+
function ls({
|
|
1826
1838
|
icon: r,
|
|
1827
1839
|
title: s,
|
|
1828
1840
|
description: t,
|
|
@@ -1831,16 +1843,16 @@ function rs({
|
|
|
1831
1843
|
disabled: n = !1,
|
|
1832
1844
|
className: c = ""
|
|
1833
1845
|
}) {
|
|
1834
|
-
const o = "p-4 border rounded-lg transition-all text-center cursor-pointer",
|
|
1846
|
+
const o = "p-4 border rounded-lg transition-all text-center cursor-pointer", m = 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", u = n ? "opacity-50 cursor-not-allowed" : "";
|
|
1835
1847
|
return /* @__PURE__ */ e.jsxs(
|
|
1836
1848
|
"div",
|
|
1837
1849
|
{
|
|
1838
|
-
className: `${o} ${
|
|
1850
|
+
className: `${o} ${m} ${u} ${c}`,
|
|
1839
1851
|
onClick: () => !n && l?.(),
|
|
1840
1852
|
role: "button",
|
|
1841
1853
|
tabIndex: n ? -1 : 0,
|
|
1842
|
-
onKeyDown: (
|
|
1843
|
-
!n && (
|
|
1854
|
+
onKeyDown: (d) => {
|
|
1855
|
+
!n && (d.key === "Enter" || d.key === " ") && l?.();
|
|
1844
1856
|
},
|
|
1845
1857
|
children: [
|
|
1846
1858
|
r && /* @__PURE__ */ e.jsx("div", { className: "mb-3 flex justify-center", children: /* @__PURE__ */ e.jsx("div", { className: "text-text-secondary", children: r }) }),
|
|
@@ -1851,7 +1863,7 @@ function rs({
|
|
|
1851
1863
|
}
|
|
1852
1864
|
);
|
|
1853
1865
|
}
|
|
1854
|
-
const
|
|
1866
|
+
const hr = P.forwardRef(
|
|
1855
1867
|
({
|
|
1856
1868
|
value: r,
|
|
1857
1869
|
onChange: s,
|
|
@@ -1861,31 +1873,31 @@ const dr = P.forwardRef(
|
|
|
1861
1873
|
showValue: n = !0,
|
|
1862
1874
|
showLabels: c = !1,
|
|
1863
1875
|
minLabel: o,
|
|
1864
|
-
maxLabel:
|
|
1865
|
-
error:
|
|
1866
|
-
fullWidth:
|
|
1867
|
-
disabled:
|
|
1868
|
-
className:
|
|
1876
|
+
maxLabel: m,
|
|
1877
|
+
error: u = !1,
|
|
1878
|
+
fullWidth: d = !0,
|
|
1879
|
+
disabled: x,
|
|
1880
|
+
className: h = "",
|
|
1869
1881
|
...f
|
|
1870
|
-
},
|
|
1871
|
-
const N = `w-full h-2 rounded-lg appearance-none cursor-pointer ${
|
|
1882
|
+
}, g) => {
|
|
1883
|
+
const N = `w-full h-2 rounded-lg appearance-none cursor-pointer ${u ? "bg-error-200 accent-error-500" : "bg-border accent-reseda-green-500"} ${x ? "opacity-50 cursor-not-allowed" : ""} ${d ? "w-full" : ""} ${h}`, O = (r - t) / (a - t) * 100;
|
|
1872
1884
|
return /* @__PURE__ */ e.jsxs("div", { className: "space-y-2", children: [
|
|
1873
|
-
c && (o ||
|
|
1885
|
+
c && (o || m) && /* @__PURE__ */ e.jsxs("div", { className: "flex justify-between text-xs text-text-muted", children: [
|
|
1874
1886
|
o && /* @__PURE__ */ e.jsx("span", { children: o }),
|
|
1875
|
-
|
|
1887
|
+
m && /* @__PURE__ */ e.jsx("span", { children: m })
|
|
1876
1888
|
] }),
|
|
1877
1889
|
/* @__PURE__ */ e.jsxs("div", { className: "flex items-center gap-3", children: [
|
|
1878
1890
|
/* @__PURE__ */ e.jsx(
|
|
1879
1891
|
"input",
|
|
1880
1892
|
{
|
|
1881
|
-
ref:
|
|
1893
|
+
ref: g,
|
|
1882
1894
|
type: "range",
|
|
1883
1895
|
min: t,
|
|
1884
1896
|
max: a,
|
|
1885
1897
|
step: l,
|
|
1886
1898
|
value: r,
|
|
1887
1899
|
onChange: (L) => s(Number(L.target.value)),
|
|
1888
|
-
disabled:
|
|
1900
|
+
disabled: x,
|
|
1889
1901
|
className: N,
|
|
1890
1902
|
...f
|
|
1891
1903
|
}
|
|
@@ -1896,14 +1908,14 @@ const dr = P.forwardRef(
|
|
|
1896
1908
|
"div",
|
|
1897
1909
|
{
|
|
1898
1910
|
className: "h-full bg-reseda-green-500 transition-all",
|
|
1899
|
-
style: { width: `${
|
|
1911
|
+
style: { width: `${O}%` }
|
|
1900
1912
|
}
|
|
1901
1913
|
) })
|
|
1902
1914
|
] });
|
|
1903
1915
|
}
|
|
1904
1916
|
);
|
|
1905
|
-
|
|
1906
|
-
function
|
|
1917
|
+
hr.displayName = "Slider";
|
|
1918
|
+
function fr({
|
|
1907
1919
|
title: r,
|
|
1908
1920
|
titleId: s,
|
|
1909
1921
|
...t
|
|
@@ -1926,8 +1938,8 @@ function ur({
|
|
|
1926
1938
|
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"
|
|
1927
1939
|
}));
|
|
1928
1940
|
}
|
|
1929
|
-
const
|
|
1930
|
-
function
|
|
1941
|
+
const gr = /* @__PURE__ */ j.forwardRef(fr);
|
|
1942
|
+
function br({
|
|
1931
1943
|
title: r,
|
|
1932
1944
|
titleId: s,
|
|
1933
1945
|
...t
|
|
@@ -1948,8 +1960,8 @@ function xr({
|
|
|
1948
1960
|
clipRule: "evenodd"
|
|
1949
1961
|
}));
|
|
1950
1962
|
}
|
|
1951
|
-
const
|
|
1952
|
-
function
|
|
1963
|
+
const vr = /* @__PURE__ */ j.forwardRef(br);
|
|
1964
|
+
function pr({
|
|
1953
1965
|
title: r,
|
|
1954
1966
|
titleId: s,
|
|
1955
1967
|
...t
|
|
@@ -1970,8 +1982,8 @@ function fr({
|
|
|
1970
1982
|
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"
|
|
1971
1983
|
}));
|
|
1972
1984
|
}
|
|
1973
|
-
const
|
|
1974
|
-
function
|
|
1985
|
+
const jr = /* @__PURE__ */ j.forwardRef(pr);
|
|
1986
|
+
function yr({
|
|
1975
1987
|
title: r,
|
|
1976
1988
|
titleId: s,
|
|
1977
1989
|
...t
|
|
@@ -1990,7 +2002,7 @@ function br({
|
|
|
1990
2002
|
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"
|
|
1991
2003
|
}));
|
|
1992
2004
|
}
|
|
1993
|
-
const
|
|
2005
|
+
const wr = /* @__PURE__ */ j.forwardRef(yr), Nr = {
|
|
1994
2006
|
neutral: {
|
|
1995
2007
|
selectedContainer: "border-gray-300 bg-gray-50",
|
|
1996
2008
|
selectedIndicator: "text-gray-500",
|
|
@@ -2007,7 +2019,7 @@ const vr = /* @__PURE__ */ j.forwardRef(br), pr = {
|
|
|
2007
2019
|
inputAccent: "accent-blue-600"
|
|
2008
2020
|
}
|
|
2009
2021
|
};
|
|
2010
|
-
function
|
|
2022
|
+
function os({
|
|
2011
2023
|
id: r,
|
|
2012
2024
|
name: s,
|
|
2013
2025
|
checked: t,
|
|
@@ -2016,24 +2028,24 @@ function ss({
|
|
|
2016
2028
|
secondaryText: n,
|
|
2017
2029
|
tertiaryText: c,
|
|
2018
2030
|
tone: o = "neutral",
|
|
2019
|
-
showCheckedIndicator:
|
|
2020
|
-
disabled:
|
|
2021
|
-
className:
|
|
2031
|
+
showCheckedIndicator: m = !1,
|
|
2032
|
+
disabled: u = !1,
|
|
2033
|
+
className: d = ""
|
|
2022
2034
|
}) {
|
|
2023
|
-
const
|
|
2035
|
+
const x = Nr[o], h = t ? x.selectedContainer : "border-gray-200", f = u ? "cursor-not-allowed opacity-60" : "cursor-pointer hover:bg-gray-50";
|
|
2024
2036
|
return /* @__PURE__ */ e.jsxs(
|
|
2025
2037
|
"label",
|
|
2026
2038
|
{
|
|
2027
|
-
className: `flex items-start gap-2 rounded-md border p-2 transition ${
|
|
2039
|
+
className: `flex items-start gap-2 rounded-md border p-2 transition ${h} ${f} ${d}`,
|
|
2028
2040
|
children: [
|
|
2029
2041
|
/* @__PURE__ */ e.jsx(
|
|
2030
2042
|
"input",
|
|
2031
2043
|
{
|
|
2032
2044
|
type: "radio",
|
|
2033
2045
|
name: s,
|
|
2034
|
-
className: `mt-0.5 ${
|
|
2046
|
+
className: `mt-0.5 ${x.inputAccent}`,
|
|
2035
2047
|
checked: t,
|
|
2036
|
-
disabled:
|
|
2048
|
+
disabled: u,
|
|
2037
2049
|
onChange: () => a(r)
|
|
2038
2050
|
}
|
|
2039
2051
|
),
|
|
@@ -2042,12 +2054,58 @@ function ss({
|
|
|
2042
2054
|
n ? /* @__PURE__ */ e.jsx("span", { className: "block text-xs text-gray-500", children: n }) : null,
|
|
2043
2055
|
c ? /* @__PURE__ */ e.jsx("span", { className: "block text-xs text-gray-400", children: c }) : null
|
|
2044
2056
|
] }),
|
|
2045
|
-
|
|
2057
|
+
m && t ? /* @__PURE__ */ e.jsx(vr, { className: `h-4 w-4 mt-0.5 shrink-0 ${x.selectedIndicator}` }) : null
|
|
2046
2058
|
]
|
|
2047
2059
|
}
|
|
2048
2060
|
);
|
|
2049
2061
|
}
|
|
2050
|
-
|
|
2062
|
+
const Cr = {
|
|
2063
|
+
sm: "text-xs px-2.5 py-1",
|
|
2064
|
+
md: "text-sm px-3 py-1.5"
|
|
2065
|
+
}, be = {
|
|
2066
|
+
blue: "border-blue-400 bg-blue-100 text-blue-700 font-medium",
|
|
2067
|
+
purple: "border-purple-400 bg-purple-100 text-purple-700 font-medium",
|
|
2068
|
+
gray: "border-gray-400 bg-gray-200 text-gray-700 font-medium"
|
|
2069
|
+
}, ve = "border-gray-300 bg-gray-100 text-gray-400";
|
|
2070
|
+
function cs({
|
|
2071
|
+
items: r,
|
|
2072
|
+
selectedIds: s,
|
|
2073
|
+
onSelectionChange: t,
|
|
2074
|
+
onToggle: a,
|
|
2075
|
+
size: l = "sm",
|
|
2076
|
+
multi: n = !0,
|
|
2077
|
+
showCheckIcon: c = !0,
|
|
2078
|
+
disabled: o = !1,
|
|
2079
|
+
className: m = ""
|
|
2080
|
+
}) {
|
|
2081
|
+
const u = (d, x) => {
|
|
2082
|
+
if (o)
|
|
2083
|
+
return;
|
|
2084
|
+
const h = x ? n ? s.filter((f) => f !== d) : [] : n ? [...s, d] : [d];
|
|
2085
|
+
t(h), a?.(d, !x);
|
|
2086
|
+
};
|
|
2087
|
+
return /* @__PURE__ */ e.jsx("div", { className: `flex flex-wrap gap-2 ${m}`, children: r.map((d) => {
|
|
2088
|
+
const x = s.includes(d.id), h = d.tone ?? "blue", f = h === "custom" ? d.selectedClassName ?? be.blue : be[h], g = d.unselectedClassName ?? ve;
|
|
2089
|
+
return /* @__PURE__ */ e.jsxs(
|
|
2090
|
+
"button",
|
|
2091
|
+
{
|
|
2092
|
+
type: "button",
|
|
2093
|
+
onClick: () => u(d.id, x),
|
|
2094
|
+
disabled: o || d.disabled,
|
|
2095
|
+
className: `inline-flex items-center gap-1 rounded-full border transition ${Cr[l]} ${x ? f : g} ${o || d.disabled ? "cursor-not-allowed opacity-60" : ""}`,
|
|
2096
|
+
"aria-pressed": x,
|
|
2097
|
+
"aria-label": `${x ? "Deselect" : "Select"} ${d.label}`,
|
|
2098
|
+
"data-selected": x,
|
|
2099
|
+
children: [
|
|
2100
|
+
x && c ? /* @__PURE__ */ e.jsx(Be, { className: "h-3.5 w-3.5" }) : null,
|
|
2101
|
+
/* @__PURE__ */ e.jsx("span", { children: d.label })
|
|
2102
|
+
]
|
|
2103
|
+
},
|
|
2104
|
+
d.id
|
|
2105
|
+
);
|
|
2106
|
+
}) });
|
|
2107
|
+
}
|
|
2108
|
+
function kr({
|
|
2051
2109
|
id: r,
|
|
2052
2110
|
index: s,
|
|
2053
2111
|
previewText: t,
|
|
@@ -2057,18 +2115,18 @@ function jr({
|
|
|
2057
2115
|
onRemove: c,
|
|
2058
2116
|
className: o = ""
|
|
2059
2117
|
}) {
|
|
2060
|
-
const [
|
|
2061
|
-
transform:
|
|
2062
|
-
transition:
|
|
2063
|
-
opacity:
|
|
2118
|
+
const [m, u] = $(a), { attributes: d, listeners: x, setNodeRef: h, transform: f, transition: g, isDragging: y } = _e({ id: r }), V = {
|
|
2119
|
+
transform: Oe.Transform.toString(f),
|
|
2120
|
+
transition: g,
|
|
2121
|
+
opacity: y ? 0.5 : 1
|
|
2064
2122
|
};
|
|
2065
2123
|
return /* @__PURE__ */ e.jsx(
|
|
2066
2124
|
"div",
|
|
2067
2125
|
{
|
|
2068
|
-
ref:
|
|
2069
|
-
style:
|
|
2126
|
+
ref: h,
|
|
2127
|
+
style: V,
|
|
2070
2128
|
className: `border border-border rounded-md bg-surface-variant ${o}`,
|
|
2071
|
-
children:
|
|
2129
|
+
children: m ? (
|
|
2072
2130
|
// ── Expanded ──────────────────────────────────────────────────────────
|
|
2073
2131
|
/* @__PURE__ */ e.jsxs("div", { className: "p-3", children: [
|
|
2074
2132
|
/* @__PURE__ */ e.jsxs("div", { className: "flex justify-between items-center mb-2", children: [
|
|
@@ -2076,8 +2134,8 @@ function jr({
|
|
|
2076
2134
|
"button",
|
|
2077
2135
|
{
|
|
2078
2136
|
type: "button",
|
|
2079
|
-
...
|
|
2080
|
-
...
|
|
2137
|
+
...d,
|
|
2138
|
+
...x,
|
|
2081
2139
|
className: "h-auto w-auto p-1 cursor-grab active:cursor-grabbing rounded hover:bg-surface-variant inline-flex items-center justify-center",
|
|
2082
2140
|
"aria-label": "Drag to reorder",
|
|
2083
2141
|
children: /* @__PURE__ */ e.jsx(xe, { className: "w-4 h-4" })
|
|
@@ -2087,7 +2145,7 @@ function jr({
|
|
|
2087
2145
|
"span",
|
|
2088
2146
|
{
|
|
2089
2147
|
className: "text-sm font-medium text-text-secondary flex-1 cursor-pointer select-none",
|
|
2090
|
-
onClick: () =>
|
|
2148
|
+
onClick: () => u(!1),
|
|
2091
2149
|
children: [
|
|
2092
2150
|
"Item ",
|
|
2093
2151
|
s + 1
|
|
@@ -2095,19 +2153,19 @@ function jr({
|
|
|
2095
2153
|
}
|
|
2096
2154
|
),
|
|
2097
2155
|
/* @__PURE__ */ e.jsx(
|
|
2098
|
-
|
|
2156
|
+
_,
|
|
2099
2157
|
{
|
|
2100
2158
|
type: "button",
|
|
2101
2159
|
variant: "ghost",
|
|
2102
2160
|
size: "icon",
|
|
2103
|
-
onClick: () =>
|
|
2161
|
+
onClick: () => u(!1),
|
|
2104
2162
|
className: "h-auto w-auto p-1",
|
|
2105
2163
|
"aria-label": "Collapse",
|
|
2106
2164
|
leftIcon: /* @__PURE__ */ e.jsx(he, { className: "w-4 h-4 transition-transform rotate-90" })
|
|
2107
2165
|
}
|
|
2108
2166
|
),
|
|
2109
2167
|
/* @__PURE__ */ e.jsx(
|
|
2110
|
-
|
|
2168
|
+
_,
|
|
2111
2169
|
{
|
|
2112
2170
|
type: "button",
|
|
2113
2171
|
variant: "ghost",
|
|
@@ -2129,8 +2187,8 @@ function jr({
|
|
|
2129
2187
|
"button",
|
|
2130
2188
|
{
|
|
2131
2189
|
type: "button",
|
|
2132
|
-
...
|
|
2133
|
-
...
|
|
2190
|
+
...d,
|
|
2191
|
+
...x,
|
|
2134
2192
|
className: "h-auto w-auto p-1 cursor-grab active:cursor-grabbing flex-shrink-0 rounded hover:bg-surface-variant inline-flex items-center justify-center",
|
|
2135
2193
|
"aria-label": "Drag to reorder",
|
|
2136
2194
|
children: /* @__PURE__ */ e.jsx(xe, { className: "w-4 h-4" })
|
|
@@ -2140,24 +2198,24 @@ function jr({
|
|
|
2140
2198
|
"span",
|
|
2141
2199
|
{
|
|
2142
2200
|
className: "flex-1 text-sm text-text-secondary truncate cursor-pointer select-none",
|
|
2143
|
-
onClick: () =>
|
|
2201
|
+
onClick: () => u(!0),
|
|
2144
2202
|
children: t
|
|
2145
2203
|
}
|
|
2146
2204
|
),
|
|
2147
2205
|
/* @__PURE__ */ e.jsx(
|
|
2148
|
-
|
|
2206
|
+
_,
|
|
2149
2207
|
{
|
|
2150
2208
|
type: "button",
|
|
2151
2209
|
variant: "ghost",
|
|
2152
2210
|
size: "icon",
|
|
2153
|
-
onClick: () =>
|
|
2211
|
+
onClick: () => u(!0),
|
|
2154
2212
|
className: "h-auto w-auto p-1 flex-shrink-0",
|
|
2155
2213
|
"aria-label": "Expand",
|
|
2156
2214
|
leftIcon: /* @__PURE__ */ e.jsx(he, { className: "w-4 h-4 transition-transform" })
|
|
2157
2215
|
}
|
|
2158
2216
|
),
|
|
2159
2217
|
/* @__PURE__ */ e.jsx(
|
|
2160
|
-
|
|
2218
|
+
_,
|
|
2161
2219
|
{
|
|
2162
2220
|
type: "button",
|
|
2163
2221
|
variant: "ghost",
|
|
@@ -2175,8 +2233,8 @@ function jr({
|
|
|
2175
2233
|
}
|
|
2176
2234
|
);
|
|
2177
2235
|
}
|
|
2178
|
-
|
|
2179
|
-
const
|
|
2236
|
+
kr.displayName = "SortableItem";
|
|
2237
|
+
const $r = {
|
|
2180
2238
|
bg: "bg-indigo-600",
|
|
2181
2239
|
activeBg: "bg-indigo-700",
|
|
2182
2240
|
text: "text-indigo-200",
|
|
@@ -2184,11 +2242,11 @@ const yr = {
|
|
|
2184
2242
|
hoverBg: "hover:bg-indigo-700",
|
|
2185
2243
|
hoverText: "hover:text-white"
|
|
2186
2244
|
};
|
|
2187
|
-
function
|
|
2245
|
+
function S(...r) {
|
|
2188
2246
|
return r.filter(Boolean).join(" ");
|
|
2189
2247
|
}
|
|
2190
|
-
function
|
|
2191
|
-
const [t, a] =
|
|
2248
|
+
function pe({ item: r, colorScheme: s }) {
|
|
2249
|
+
const [t, a] = $(r.current || r.children?.some((n) => n.current)), l = r.children && r.children.length > 0;
|
|
2192
2250
|
return /* @__PURE__ */ e.jsxs("li", { children: [
|
|
2193
2251
|
/* @__PURE__ */ e.jsx("div", { children: /* @__PURE__ */ e.jsxs(
|
|
2194
2252
|
"a",
|
|
@@ -2197,7 +2255,7 @@ function be({ item: r, colorScheme: s }) {
|
|
|
2197
2255
|
onClick: (n) => {
|
|
2198
2256
|
l && (n.preventDefault(), a(!t));
|
|
2199
2257
|
},
|
|
2200
|
-
className:
|
|
2258
|
+
className: S(
|
|
2201
2259
|
r.current ? `${s.activeBg} ${s.activeText}` : `${s.text} ${s.hoverBg} ${s.hoverText}`,
|
|
2202
2260
|
"group flex items-center justify-between gap-x-3 rounded-md p-2 text-sm/6 font-semibold",
|
|
2203
2261
|
l ? "cursor-pointer" : ""
|
|
@@ -2208,7 +2266,7 @@ function be({ item: r, colorScheme: s }) {
|
|
|
2208
2266
|
r.icon,
|
|
2209
2267
|
{
|
|
2210
2268
|
"aria-hidden": "true",
|
|
2211
|
-
className:
|
|
2269
|
+
className: S(
|
|
2212
2270
|
r.current ? s.activeText : `${s.text} group-${s.hoverText}`,
|
|
2213
2271
|
"size-6 shrink-0"
|
|
2214
2272
|
)
|
|
@@ -2219,7 +2277,7 @@ function be({ item: r, colorScheme: s }) {
|
|
|
2219
2277
|
l && /* @__PURE__ */ e.jsx(
|
|
2220
2278
|
te,
|
|
2221
2279
|
{
|
|
2222
|
-
className:
|
|
2280
|
+
className: S(
|
|
2223
2281
|
"size-5 shrink-0 transition-transform",
|
|
2224
2282
|
t ? "rotate-180" : "",
|
|
2225
2283
|
r.current ? s.activeText : s.text
|
|
@@ -2233,7 +2291,7 @@ function be({ item: r, colorScheme: s }) {
|
|
|
2233
2291
|
"a",
|
|
2234
2292
|
{
|
|
2235
2293
|
href: n.href,
|
|
2236
|
-
className:
|
|
2294
|
+
className: S(
|
|
2237
2295
|
n.current ? `${s.activeBg} ${s.activeText}` : `${s.text} ${s.hoverBg} ${s.hoverText}`,
|
|
2238
2296
|
"group flex gap-x-3 rounded-md p-2 text-sm/6 font-semibold"
|
|
2239
2297
|
),
|
|
@@ -2242,7 +2300,7 @@ function be({ item: r, colorScheme: s }) {
|
|
|
2242
2300
|
n.icon,
|
|
2243
2301
|
{
|
|
2244
2302
|
"aria-hidden": "true",
|
|
2245
|
-
className:
|
|
2303
|
+
className: S(
|
|
2246
2304
|
n.current ? s.activeText : `${s.text} group-${s.hoverText}`,
|
|
2247
2305
|
"size-5 shrink-0"
|
|
2248
2306
|
)
|
|
@@ -2254,28 +2312,28 @@ function be({ item: r, colorScheme: s }) {
|
|
|
2254
2312
|
) }, n.name)) })
|
|
2255
2313
|
] });
|
|
2256
2314
|
}
|
|
2257
|
-
function
|
|
2258
|
-
const [l, n] =
|
|
2315
|
+
function is({ company: r, profile: s, navigation: t, colorScheme: a = $r }) {
|
|
2316
|
+
const [l, n] = $(!1);
|
|
2259
2317
|
return /* @__PURE__ */ e.jsx(e.Fragment, { children: /* @__PURE__ */ e.jsxs("div", { children: [
|
|
2260
|
-
/* @__PURE__ */ e.jsxs(
|
|
2318
|
+
/* @__PURE__ */ e.jsxs(Ie, { open: l, onClose: n, className: "relative z-50 lg:hidden", children: [
|
|
2261
2319
|
/* @__PURE__ */ e.jsx(
|
|
2262
|
-
|
|
2320
|
+
Pe,
|
|
2263
2321
|
{
|
|
2264
2322
|
transition: !0,
|
|
2265
2323
|
className: "fixed inset-0 bg-gray-900/80 transition-opacity duration-300 ease-linear data-closed:opacity-0"
|
|
2266
2324
|
}
|
|
2267
2325
|
),
|
|
2268
2326
|
/* @__PURE__ */ e.jsx("div", { className: "fixed inset-0 flex", children: /* @__PURE__ */ e.jsxs(
|
|
2269
|
-
|
|
2327
|
+
ze,
|
|
2270
2328
|
{
|
|
2271
2329
|
transition: !0,
|
|
2272
2330
|
className: "relative mr-16 flex w-full max-w-xs flex-1 transform transition duration-300 ease-in-out data-closed:-translate-x-full",
|
|
2273
2331
|
children: [
|
|
2274
|
-
/* @__PURE__ */ e.jsx(
|
|
2332
|
+
/* @__PURE__ */ e.jsx(Le, { 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: [
|
|
2275
2333
|
/* @__PURE__ */ e.jsx("span", { className: "sr-only", children: "Close sidebar" }),
|
|
2276
|
-
/* @__PURE__ */ e.jsx(
|
|
2334
|
+
/* @__PURE__ */ e.jsx(Ce, { "aria-hidden": "true", className: "size-6 text-white" })
|
|
2277
2335
|
] }) }) }),
|
|
2278
|
-
/* @__PURE__ */ e.jsxs("div", { className:
|
|
2336
|
+
/* @__PURE__ */ e.jsxs("div", { className: S("flex grow flex-col gap-y-5 overflow-y-auto px-6 pb-2", a.bg), children: [
|
|
2279
2337
|
/* @__PURE__ */ e.jsx("div", { className: "flex h-16 shrink-0 items-center", children: /* @__PURE__ */ e.jsx(
|
|
2280
2338
|
"img",
|
|
2281
2339
|
{
|
|
@@ -2284,13 +2342,13 @@ function ts({ company: r, profile: s, navigation: t, colorScheme: a = yr }) {
|
|
|
2284
2342
|
className: "h-8 w-auto"
|
|
2285
2343
|
}
|
|
2286
2344
|
) }),
|
|
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(
|
|
2345
|
+
/* @__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(pe, { item: c, colorScheme: a }, c.name)) }) }) }) })
|
|
2288
2346
|
] })
|
|
2289
2347
|
]
|
|
2290
2348
|
}
|
|
2291
2349
|
) })
|
|
2292
2350
|
] }),
|
|
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:
|
|
2351
|
+
/* @__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: S("flex grow flex-col gap-y-5 overflow-y-auto px-6", a.bg), children: [
|
|
2294
2352
|
/* @__PURE__ */ e.jsx("div", { className: "flex h-16 shrink-0 items-center", children: /* @__PURE__ */ e.jsx(
|
|
2295
2353
|
"img",
|
|
2296
2354
|
{
|
|
@@ -2300,12 +2358,12 @@ function ts({ company: r, profile: s, navigation: t, colorScheme: a = yr }) {
|
|
|
2300
2358
|
}
|
|
2301
2359
|
) }),
|
|
2302
2360
|
/* @__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: [
|
|
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(
|
|
2361
|
+
/* @__PURE__ */ e.jsx("li", { children: /* @__PURE__ */ e.jsx("ul", { role: "list", className: "-mx-2 space-y-1", children: t.map((c) => /* @__PURE__ */ e.jsx(pe, { item: c, colorScheme: a }, c.name)) }) }),
|
|
2304
2362
|
/* @__PURE__ */ e.jsx("li", { className: "-mx-6 mt-auto", children: /* @__PURE__ */ e.jsxs(
|
|
2305
2363
|
"a",
|
|
2306
2364
|
{
|
|
2307
2365
|
href: "#",
|
|
2308
|
-
className:
|
|
2366
|
+
className: S(
|
|
2309
2367
|
"flex items-center gap-x-4 px-6 py-3 text-sm/6 font-semibold",
|
|
2310
2368
|
a.activeText,
|
|
2311
2369
|
a.hoverBg
|
|
@@ -2316,7 +2374,7 @@ function ts({ company: r, profile: s, navigation: t, colorScheme: a = yr }) {
|
|
|
2316
2374
|
{
|
|
2317
2375
|
alt: s.name,
|
|
2318
2376
|
src: s.image,
|
|
2319
|
-
className:
|
|
2377
|
+
className: S("size-8 rounded-full", a.activeBg)
|
|
2320
2378
|
}
|
|
2321
2379
|
),
|
|
2322
2380
|
/* @__PURE__ */ e.jsx("span", { className: "sr-only", children: "Your profile" }),
|
|
@@ -2326,12 +2384,12 @@ function ts({ company: r, profile: s, navigation: t, colorScheme: a = yr }) {
|
|
|
2326
2384
|
) })
|
|
2327
2385
|
] }) })
|
|
2328
2386
|
] }) }),
|
|
2329
|
-
/* @__PURE__ */ e.jsxs("div", { className:
|
|
2330
|
-
/* @__PURE__ */ e.jsxs("button", { type: "button", onClick: () => n(!0), className:
|
|
2387
|
+
/* @__PURE__ */ e.jsxs("div", { className: S("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: [
|
|
2388
|
+
/* @__PURE__ */ e.jsxs("button", { type: "button", onClick: () => n(!0), className: S("-m-2.5 p-2.5 lg:hidden", a.text), children: [
|
|
2331
2389
|
/* @__PURE__ */ e.jsx("span", { className: "sr-only", children: "Open sidebar" }),
|
|
2332
|
-
/* @__PURE__ */ e.jsx(
|
|
2390
|
+
/* @__PURE__ */ e.jsx(Me, { "aria-hidden": "true", className: "size-6" })
|
|
2333
2391
|
] }),
|
|
2334
|
-
/* @__PURE__ */ e.jsx("div", { className:
|
|
2392
|
+
/* @__PURE__ */ e.jsx("div", { className: S("flex-1 text-sm/6 font-semibold", a.activeText), children: "Dashboard" }),
|
|
2335
2393
|
/* @__PURE__ */ e.jsxs("a", { href: "#", children: [
|
|
2336
2394
|
/* @__PURE__ */ e.jsx("span", { className: "sr-only", children: "Your profile" }),
|
|
2337
2395
|
/* @__PURE__ */ e.jsx(
|
|
@@ -2339,14 +2397,14 @@ function ts({ company: r, profile: s, navigation: t, colorScheme: a = yr }) {
|
|
|
2339
2397
|
{
|
|
2340
2398
|
alt: s.name,
|
|
2341
2399
|
src: s.image,
|
|
2342
|
-
className:
|
|
2400
|
+
className: S("size-8 rounded-full", a.activeBg)
|
|
2343
2401
|
}
|
|
2344
2402
|
)
|
|
2345
2403
|
] })
|
|
2346
2404
|
] })
|
|
2347
2405
|
] }) });
|
|
2348
2406
|
}
|
|
2349
|
-
const
|
|
2407
|
+
const Vr = {
|
|
2350
2408
|
activeBg: "bg-reseda-green-700",
|
|
2351
2409
|
activeText: "text-white",
|
|
2352
2410
|
completedBg: "bg-success-500",
|
|
@@ -2357,8 +2415,8 @@ const wr = {
|
|
|
2357
2415
|
labelInactiveText: "text-text-muted",
|
|
2358
2416
|
connectorBg: "bg-border"
|
|
2359
2417
|
};
|
|
2360
|
-
function
|
|
2361
|
-
const a = t ||
|
|
2418
|
+
function ds({ currentStep: r, steps: s, colorConfig: t }) {
|
|
2419
|
+
const a = t || Vr;
|
|
2362
2420
|
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: [
|
|
2363
2421
|
/* @__PURE__ */ e.jsxs("div", { className: "flex items-center", children: [
|
|
2364
2422
|
/* @__PURE__ */ e.jsx(
|
|
@@ -2379,19 +2437,19 @@ function as({ currentStep: r, steps: s, colorConfig: t }) {
|
|
|
2379
2437
|
n < s.length - 1 && /* @__PURE__ */ e.jsx("div", { className: `flex-1 h-0.5 mx-4 ${a.connectorBg}` })
|
|
2380
2438
|
] }, l.number)) }) });
|
|
2381
2439
|
}
|
|
2382
|
-
const
|
|
2440
|
+
const Tr = {
|
|
2383
2441
|
activeText: "text-reseda-green-700",
|
|
2384
2442
|
activeBorder: "border-reseda-green-700",
|
|
2385
2443
|
inactiveText: "text-text-secondary",
|
|
2386
2444
|
inactiveHoverText: "hover:text-text-primary",
|
|
2387
2445
|
disabledText: "text-text-disabled"
|
|
2388
2446
|
};
|
|
2389
|
-
function
|
|
2390
|
-
const n = l ||
|
|
2447
|
+
function us({ tabs: r, activeTab: s, disabled: t = !1, onChange: a, colorConfig: l }) {
|
|
2448
|
+
const n = l || Tr;
|
|
2391
2449
|
return /* @__PURE__ */ e.jsx("div", { className: "flex border-b border-border mb-6", children: r.map((c) => {
|
|
2392
2450
|
const o = s === c.id;
|
|
2393
2451
|
return /* @__PURE__ */ e.jsx(
|
|
2394
|
-
|
|
2452
|
+
_,
|
|
2395
2453
|
{
|
|
2396
2454
|
variant: "ghost",
|
|
2397
2455
|
onClick: () => !t && a(c.id),
|
|
@@ -2403,7 +2461,7 @@ function ns({ tabs: r, activeTab: s, disabled: t = !1, onChange: a, colorConfig:
|
|
|
2403
2461
|
);
|
|
2404
2462
|
}) });
|
|
2405
2463
|
}
|
|
2406
|
-
function
|
|
2464
|
+
function ms({
|
|
2407
2465
|
status: r,
|
|
2408
2466
|
title: s,
|
|
2409
2467
|
message: t,
|
|
@@ -2416,25 +2474,25 @@ function ls({
|
|
|
2416
2474
|
bg: "bg-success-50",
|
|
2417
2475
|
border: "border-success-200",
|
|
2418
2476
|
text: "text-success-700",
|
|
2419
|
-
icon: /* @__PURE__ */ e.jsx(
|
|
2477
|
+
icon: /* @__PURE__ */ e.jsx(Ne, { className: "h-5 w-5" })
|
|
2420
2478
|
},
|
|
2421
2479
|
error: {
|
|
2422
2480
|
bg: "bg-error-50",
|
|
2423
2481
|
border: "border-error-200",
|
|
2424
2482
|
text: "text-error-700",
|
|
2425
|
-
icon: /* @__PURE__ */ e.jsx(
|
|
2483
|
+
icon: /* @__PURE__ */ e.jsx(we, { className: "h-5 w-5" })
|
|
2426
2484
|
},
|
|
2427
2485
|
warning: {
|
|
2428
2486
|
bg: "bg-warning-50",
|
|
2429
2487
|
border: "border-warning-200",
|
|
2430
2488
|
text: "text-warning-700",
|
|
2431
|
-
icon: /* @__PURE__ */ e.jsx(
|
|
2489
|
+
icon: /* @__PURE__ */ e.jsx(ye, { className: "h-5 w-5" })
|
|
2432
2490
|
},
|
|
2433
2491
|
info: {
|
|
2434
2492
|
bg: "bg-info-50",
|
|
2435
2493
|
border: "border-info-200",
|
|
2436
2494
|
text: "text-info-700",
|
|
2437
|
-
icon: /* @__PURE__ */ e.jsx(
|
|
2495
|
+
icon: /* @__PURE__ */ e.jsx(je, { className: "h-5 w-5" })
|
|
2438
2496
|
},
|
|
2439
2497
|
loading: {
|
|
2440
2498
|
bg: "bg-blue-50",
|
|
@@ -2469,7 +2527,7 @@ function ls({
|
|
|
2469
2527
|
)
|
|
2470
2528
|
] }) });
|
|
2471
2529
|
}
|
|
2472
|
-
const
|
|
2530
|
+
const Ve = ({
|
|
2473
2531
|
role: r,
|
|
2474
2532
|
content: s,
|
|
2475
2533
|
timestamp: t,
|
|
@@ -2491,23 +2549,23 @@ const ke = ({
|
|
|
2491
2549
|
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" }) })
|
|
2492
2550
|
] });
|
|
2493
2551
|
};
|
|
2494
|
-
|
|
2495
|
-
const
|
|
2552
|
+
Ve.displayName = "ChatMessage";
|
|
2553
|
+
const Er = ({
|
|
2496
2554
|
onSend: r,
|
|
2497
2555
|
disabled: s = !1,
|
|
2498
2556
|
placeholder: t = "Ask a question about your resume or the job...",
|
|
2499
2557
|
maxLength: a = 2e3,
|
|
2500
2558
|
className: l = ""
|
|
2501
2559
|
}) => {
|
|
2502
|
-
const [n, c] =
|
|
2503
|
-
|
|
2560
|
+
const [n, c] = $(""), o = W(null);
|
|
2561
|
+
D(() => {
|
|
2504
2562
|
o.current && (o.current.style.height = "auto", o.current.style.height = `${o.current.scrollHeight}px`);
|
|
2505
2563
|
}, [n]);
|
|
2506
|
-
const
|
|
2564
|
+
const m = () => {
|
|
2507
2565
|
n.trim() && !s && (r(n.trim()), c(""));
|
|
2508
|
-
},
|
|
2509
|
-
|
|
2510
|
-
},
|
|
2566
|
+
}, u = (h) => {
|
|
2567
|
+
h.key === "Enter" && !h.shiftKey ? (h.preventDefault(), m()) : h.key === "Escape" && c("");
|
|
2568
|
+
}, d = n.length > a, x = n.length > a * 0.9;
|
|
2511
2569
|
return /* @__PURE__ */ e.jsxs("div", { className: `border-t border-gray-200 bg-white p-4 ${l}`, children: [
|
|
2512
2570
|
/* @__PURE__ */ e.jsxs("div", { className: "flex gap-2", children: [
|
|
2513
2571
|
/* @__PURE__ */ e.jsx(
|
|
@@ -2515,8 +2573,8 @@ const Cr = ({
|
|
|
2515
2573
|
{
|
|
2516
2574
|
ref: o,
|
|
2517
2575
|
value: n,
|
|
2518
|
-
onChange: (
|
|
2519
|
-
onKeyDown:
|
|
2576
|
+
onChange: (h) => c(h.target.value),
|
|
2577
|
+
onKeyDown: u,
|
|
2520
2578
|
placeholder: t,
|
|
2521
2579
|
disabled: s,
|
|
2522
2580
|
rows: 1,
|
|
@@ -2528,17 +2586,17 @@ const Cr = ({
|
|
|
2528
2586
|
/* @__PURE__ */ e.jsx(
|
|
2529
2587
|
"button",
|
|
2530
2588
|
{
|
|
2531
|
-
onClick:
|
|
2532
|
-
disabled: s || !n.trim() ||
|
|
2589
|
+
onClick: m,
|
|
2590
|
+
disabled: s || !n.trim() || d,
|
|
2533
2591
|
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",
|
|
2534
2592
|
"aria-label": "Send message",
|
|
2535
|
-
children: /* @__PURE__ */ e.jsx(
|
|
2593
|
+
children: /* @__PURE__ */ e.jsx(wr, { className: "w-5 h-5" })
|
|
2536
2594
|
}
|
|
2537
2595
|
)
|
|
2538
2596
|
] }),
|
|
2539
2597
|
/* @__PURE__ */ e.jsxs("div", { className: "flex justify-between items-center mt-2", children: [
|
|
2540
2598
|
/* @__PURE__ */ e.jsx("p", { className: "text-xs text-gray-500", children: "Press Enter to send, Shift+Enter for new line" }),
|
|
2541
|
-
|
|
2599
|
+
x && /* @__PURE__ */ e.jsxs("p", { className: `text-xs ${d ? "text-red-500" : "text-gray-500"}`, children: [
|
|
2542
2600
|
n.length,
|
|
2543
2601
|
"/",
|
|
2544
2602
|
a
|
|
@@ -2546,8 +2604,8 @@ const Cr = ({
|
|
|
2546
2604
|
] })
|
|
2547
2605
|
] });
|
|
2548
2606
|
};
|
|
2549
|
-
|
|
2550
|
-
const
|
|
2607
|
+
Er.displayName = "ChatInput";
|
|
2608
|
+
const Te = ({
|
|
2551
2609
|
message: r = "Thinking...",
|
|
2552
2610
|
variant: s = "dots",
|
|
2553
2611
|
className: t = ""
|
|
@@ -2574,8 +2632,8 @@ const $e = ({
|
|
|
2574
2632
|
/* @__PURE__ */ e.jsx("span", { className: "text-sm text-gray-600", children: r })
|
|
2575
2633
|
] }) })
|
|
2576
2634
|
] });
|
|
2577
|
-
|
|
2578
|
-
const
|
|
2635
|
+
Te.displayName = "LoadingIndicator";
|
|
2636
|
+
const Rr = ({
|
|
2579
2637
|
messages: r,
|
|
2580
2638
|
isLoading: s = !1,
|
|
2581
2639
|
loadingMessage: t = "Thinking...",
|
|
@@ -2584,13 +2642,13 @@ const kr = ({
|
|
|
2584
2642
|
className: n = "",
|
|
2585
2643
|
emptyStateMessage: c = "Start a conversation"
|
|
2586
2644
|
}) => {
|
|
2587
|
-
const o =
|
|
2588
|
-
return
|
|
2645
|
+
const o = W(null), m = W(null);
|
|
2646
|
+
return D(() => {
|
|
2589
2647
|
o.current?.scrollIntoView({ behavior: "smooth" });
|
|
2590
2648
|
}, [r, s]), /* @__PURE__ */ e.jsxs(
|
|
2591
2649
|
"div",
|
|
2592
2650
|
{
|
|
2593
|
-
ref:
|
|
2651
|
+
ref: m,
|
|
2594
2652
|
className: `flex flex-col flex-1 overflow-y-auto bg-white p-4 space-y-4 ${n}`,
|
|
2595
2653
|
children: [
|
|
2596
2654
|
r.length === 0 && !s && /* @__PURE__ */ e.jsxs("div", { className: "flex flex-col items-center justify-center h-full text-center", children: [
|
|
@@ -2598,17 +2656,17 @@ const kr = ({
|
|
|
2598
2656
|
/* @__PURE__ */ e.jsx("p", { className: "text-gray-600 font-medium", children: c }),
|
|
2599
2657
|
/* @__PURE__ */ e.jsx("p", { className: "text-gray-400 text-sm mt-2", children: "Ask me anything about your resume or the job requirements!" })
|
|
2600
2658
|
] }),
|
|
2601
|
-
r.map((
|
|
2602
|
-
|
|
2659
|
+
r.map((u, d) => /* @__PURE__ */ e.jsx(
|
|
2660
|
+
Ve,
|
|
2603
2661
|
{
|
|
2604
|
-
role:
|
|
2605
|
-
content:
|
|
2606
|
-
timestamp:
|
|
2662
|
+
role: u.role,
|
|
2663
|
+
content: u.content,
|
|
2664
|
+
timestamp: u.timestamp
|
|
2607
2665
|
},
|
|
2608
|
-
|
|
2666
|
+
d
|
|
2609
2667
|
)),
|
|
2610
2668
|
s && /* @__PURE__ */ e.jsx(
|
|
2611
|
-
|
|
2669
|
+
Te,
|
|
2612
2670
|
{
|
|
2613
2671
|
message: t,
|
|
2614
2672
|
variant: "dots"
|
|
@@ -2633,8 +2691,8 @@ const kr = ({
|
|
|
2633
2691
|
}
|
|
2634
2692
|
);
|
|
2635
2693
|
};
|
|
2636
|
-
|
|
2637
|
-
const
|
|
2694
|
+
Rr.displayName = "ChatContainer";
|
|
2695
|
+
const Sr = ({
|
|
2638
2696
|
resumeName: r,
|
|
2639
2697
|
jobTitle: s,
|
|
2640
2698
|
companyName: t,
|
|
@@ -2645,7 +2703,7 @@ const $r = ({
|
|
|
2645
2703
|
}) => /* @__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: [
|
|
2646
2704
|
/* @__PURE__ */ e.jsxs("div", { className: "flex items-center justify-between gap-4", children: [
|
|
2647
2705
|
/* @__PURE__ */ e.jsxs("div", { className: "flex items-center gap-2 flex-1 min-w-0", children: [
|
|
2648
|
-
/* @__PURE__ */ e.jsx(
|
|
2706
|
+
/* @__PURE__ */ e.jsx(jr, { className: "w-5 h-5 text-gray-600 flex-shrink-0" }),
|
|
2649
2707
|
/* @__PURE__ */ e.jsxs("div", { className: "min-w-0", children: [
|
|
2650
2708
|
/* @__PURE__ */ e.jsx("p", { className: "text-xs text-gray-500 font-medium", children: "Resume" }),
|
|
2651
2709
|
/* @__PURE__ */ e.jsx("p", { className: "text-sm font-medium text-gray-900 truncate", children: r })
|
|
@@ -2663,7 +2721,7 @@ const $r = ({
|
|
|
2663
2721
|
] }),
|
|
2664
2722
|
/* @__PURE__ */ e.jsxs("div", { className: "flex items-center justify-between gap-4", children: [
|
|
2665
2723
|
/* @__PURE__ */ e.jsxs("div", { className: "flex items-center gap-2 flex-1 min-w-0", children: [
|
|
2666
|
-
/* @__PURE__ */ e.jsx(
|
|
2724
|
+
/* @__PURE__ */ e.jsx(gr, { className: "w-5 h-5 text-gray-600 flex-shrink-0" }),
|
|
2667
2725
|
/* @__PURE__ */ e.jsxs("div", { className: "min-w-0", children: [
|
|
2668
2726
|
/* @__PURE__ */ e.jsx("p", { className: "text-xs text-gray-500 font-medium", children: "Job" }),
|
|
2669
2727
|
/* @__PURE__ */ e.jsxs("div", { className: "truncate", children: [
|
|
@@ -2699,7 +2757,7 @@ const $r = ({
|
|
|
2699
2757
|
) })
|
|
2700
2758
|
] })
|
|
2701
2759
|
] }) });
|
|
2702
|
-
|
|
2760
|
+
Sr.displayName = "AnalysisSummaryBar";
|
|
2703
2761
|
const re = {
|
|
2704
2762
|
semantic: {
|
|
2705
2763
|
none: "bg-error-50 border-error-200 text-error-700",
|
|
@@ -2716,7 +2774,7 @@ const re = {
|
|
|
2716
2774
|
partial: "bg-surface border-warning-300 text-warning-700",
|
|
2717
2775
|
full: "bg-surface border-success-300 text-success-700"
|
|
2718
2776
|
}
|
|
2719
|
-
},
|
|
2777
|
+
}, Ar = {
|
|
2720
2778
|
semantic: {
|
|
2721
2779
|
required: "bg-error-600 text-white",
|
|
2722
2780
|
preferred: "bg-reseda-green-600 text-white",
|
|
@@ -2732,40 +2790,40 @@ const re = {
|
|
|
2732
2790
|
preferred: "bg-reseda-green-700 text-reseda-green-100",
|
|
2733
2791
|
"nice-to-have": "bg-khaki-700 text-khaki-100"
|
|
2734
2792
|
}
|
|
2735
|
-
},
|
|
2793
|
+
}, Br = ({
|
|
2736
2794
|
skills: r,
|
|
2737
2795
|
className: s = "",
|
|
2738
2796
|
colorPreset: t = "semantic"
|
|
2739
2797
|
}) => {
|
|
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) =>
|
|
2798
|
+
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) => Ar[t][o], c = (o, m) => !m || m.length === 0 ? null : /* @__PURE__ */ e.jsxs("div", { className: "mb-4", children: [
|
|
2741
2799
|
/* @__PURE__ */ e.jsxs("p", { className: "text-xs font-semibold text-text-secondary mb-2", children: [
|
|
2742
2800
|
o,
|
|
2743
2801
|
":"
|
|
2744
2802
|
] }),
|
|
2745
|
-
/* @__PURE__ */ e.jsx("div", { className: "flex flex-wrap gap-2", children:
|
|
2803
|
+
/* @__PURE__ */ e.jsx("div", { className: "flex flex-wrap gap-2", children: m.map((u, d) => /* @__PURE__ */ e.jsxs(
|
|
2746
2804
|
"div",
|
|
2747
2805
|
{
|
|
2748
2806
|
className: `inline-flex items-center gap-1.5 px-3 py-1.5 rounded-lg border ${l(
|
|
2749
|
-
|
|
2807
|
+
u
|
|
2750
2808
|
)}`,
|
|
2751
2809
|
children: [
|
|
2752
2810
|
/* @__PURE__ */ e.jsxs("span", { className: "text-sm font-medium", children: [
|
|
2753
|
-
a(
|
|
2811
|
+
a(u),
|
|
2754
2812
|
" ",
|
|
2755
|
-
|
|
2813
|
+
u.name
|
|
2756
2814
|
] }),
|
|
2757
2815
|
/* @__PURE__ */ e.jsx(
|
|
2758
2816
|
"span",
|
|
2759
2817
|
{
|
|
2760
2818
|
className: `text-xs px-1.5 py-0.5 rounded ${n(
|
|
2761
|
-
|
|
2819
|
+
u.importance
|
|
2762
2820
|
)}`,
|
|
2763
|
-
children:
|
|
2821
|
+
children: u.importance === "nice-to-have" ? "Nice" : u.importance
|
|
2764
2822
|
}
|
|
2765
2823
|
)
|
|
2766
2824
|
]
|
|
2767
2825
|
},
|
|
2768
|
-
|
|
2826
|
+
d
|
|
2769
2827
|
)) })
|
|
2770
2828
|
] });
|
|
2771
2829
|
return /* @__PURE__ */ e.jsxs("div", { className: s, children: [
|
|
@@ -2773,26 +2831,26 @@ const re = {
|
|
|
2773
2831
|
c("Soft Skills", r.soft || [])
|
|
2774
2832
|
] });
|
|
2775
2833
|
};
|
|
2776
|
-
|
|
2777
|
-
const
|
|
2834
|
+
Br.displayName = "SkillTags";
|
|
2835
|
+
const Mr = ({
|
|
2778
2836
|
score: r,
|
|
2779
2837
|
showLabel: s = !0,
|
|
2780
2838
|
size: t = "md",
|
|
2781
2839
|
className: a = ""
|
|
2782
2840
|
}) => {
|
|
2783
|
-
const l = Math.min(Math.max(r, 0), 100), n = (
|
|
2841
|
+
const l = Math.min(Math.max(r, 0), 100), n = (u) => u >= 90 ? "bg-green-500" : u >= 75 ? "bg-blue-500" : u >= 60 ? "bg-yellow-500" : "bg-red-500", c = (u) => u >= 90 ? "Excellent match!" : u >= 75 ? "Good match" : u >= 60 ? "Fair match" : "Poor match", o = {
|
|
2784
2842
|
sm: "h-2",
|
|
2785
2843
|
md: "h-4",
|
|
2786
2844
|
lg: "h-6"
|
|
2787
|
-
},
|
|
2845
|
+
}, m = {
|
|
2788
2846
|
sm: "text-xs",
|
|
2789
2847
|
md: "text-sm",
|
|
2790
2848
|
lg: "text-base"
|
|
2791
2849
|
};
|
|
2792
2850
|
return /* @__PURE__ */ e.jsxs("div", { className: a, children: [
|
|
2793
2851
|
s && /* @__PURE__ */ e.jsxs("div", { className: "flex justify-between items-center mb-2", children: [
|
|
2794
|
-
/* @__PURE__ */ e.jsx("p", { className: `font-medium text-gray-700 ${
|
|
2795
|
-
/* @__PURE__ */ e.jsxs("p", { className: `font-semibold ${
|
|
2852
|
+
/* @__PURE__ */ e.jsx("p", { className: `font-medium text-gray-700 ${m[t]}`, children: "Match Score" }),
|
|
2853
|
+
/* @__PURE__ */ e.jsxs("p", { className: `font-semibold ${m[t]} ${n(l).replace("bg-", "text-")}`, children: [
|
|
2796
2854
|
l,
|
|
2797
2855
|
"%"
|
|
2798
2856
|
] })
|
|
@@ -2804,11 +2862,11 @@ const Er = ({
|
|
|
2804
2862
|
style: { width: `${l}%` }
|
|
2805
2863
|
}
|
|
2806
2864
|
) }),
|
|
2807
|
-
s && /* @__PURE__ */ e.jsx("p", { className: `text-gray-600 mt-1 ${
|
|
2865
|
+
s && /* @__PURE__ */ e.jsx("p", { className: `text-gray-600 mt-1 ${m[t]}`, children: c(l) })
|
|
2808
2866
|
] });
|
|
2809
2867
|
};
|
|
2810
|
-
|
|
2811
|
-
const
|
|
2868
|
+
Mr.displayName = "MatchScoreBar";
|
|
2869
|
+
const Dr = ({
|
|
2812
2870
|
responsibilities: r,
|
|
2813
2871
|
className: s = ""
|
|
2814
2872
|
}) => {
|
|
@@ -2848,55 +2906,56 @@ const Rr = ({
|
|
|
2848
2906
|
] }, o)) })
|
|
2849
2907
|
] }, l)) });
|
|
2850
2908
|
};
|
|
2851
|
-
|
|
2909
|
+
Dr.displayName = "ResponsibilitiesList";
|
|
2852
2910
|
export {
|
|
2853
|
-
|
|
2854
|
-
|
|
2855
|
-
|
|
2856
|
-
|
|
2857
|
-
|
|
2858
|
-
|
|
2859
|
-
|
|
2860
|
-
|
|
2861
|
-
|
|
2862
|
-
|
|
2863
|
-
|
|
2864
|
-
|
|
2865
|
-
|
|
2866
|
-
|
|
2867
|
-
|
|
2868
|
-
|
|
2869
|
-
|
|
2870
|
-
|
|
2871
|
-
|
|
2872
|
-
|
|
2873
|
-
|
|
2874
|
-
|
|
2875
|
-
|
|
2876
|
-
|
|
2877
|
-
|
|
2878
|
-
|
|
2879
|
-
|
|
2880
|
-
|
|
2881
|
-
|
|
2882
|
-
|
|
2883
|
-
|
|
2884
|
-
|
|
2885
|
-
|
|
2886
|
-
|
|
2887
|
-
|
|
2888
|
-
|
|
2889
|
-
|
|
2890
|
-
|
|
2891
|
-
|
|
2892
|
-
|
|
2893
|
-
|
|
2894
|
-
|
|
2895
|
-
|
|
2896
|
-
|
|
2897
|
-
|
|
2898
|
-
|
|
2899
|
-
|
|
2911
|
+
Qr as Accordion,
|
|
2912
|
+
es as ActionCard,
|
|
2913
|
+
G as Alert,
|
|
2914
|
+
Sr as AnalysisSummaryBar,
|
|
2915
|
+
ar as Badge,
|
|
2916
|
+
_ as Button,
|
|
2917
|
+
rs as Card,
|
|
2918
|
+
Rr as ChatContainer,
|
|
2919
|
+
Er as ChatInput,
|
|
2920
|
+
Ve as ChatMessage,
|
|
2921
|
+
Jr as CheckboxGroup,
|
|
2922
|
+
Ze as ColorPalette,
|
|
2923
|
+
qr as Demo,
|
|
2924
|
+
as as DetailPanel,
|
|
2925
|
+
ss as Drawer,
|
|
2926
|
+
Gr as FileUpload,
|
|
2927
|
+
Zr as FormField,
|
|
2928
|
+
Qe as Input,
|
|
2929
|
+
cs as KeywordChipSelector,
|
|
2930
|
+
Te as LoadingIndicator,
|
|
2931
|
+
Mr as MatchScoreBar,
|
|
2932
|
+
ls as OptionCard,
|
|
2933
|
+
ns as PageHeader,
|
|
2934
|
+
Xr as RadioGroup,
|
|
2935
|
+
Dr as ResponsibilitiesList,
|
|
2936
|
+
ts as Section,
|
|
2937
|
+
er as Select,
|
|
2938
|
+
os as SelectableRadioOption,
|
|
2939
|
+
is as Sidebar,
|
|
2940
|
+
Br as SkillTags,
|
|
2941
|
+
hr as Slider,
|
|
2942
|
+
ir as SocialButton,
|
|
2943
|
+
kr as SortableItem,
|
|
2944
|
+
Kr as StatsGrid,
|
|
2945
|
+
ms as StatusBanner,
|
|
2946
|
+
ds as Stepper,
|
|
2947
|
+
us as TabBar,
|
|
2948
|
+
nr as TagInput,
|
|
2949
|
+
dr as Textarea,
|
|
2950
|
+
Ge as ThemeProvider,
|
|
2951
|
+
Xe as ThemeToggle,
|
|
2952
|
+
Hr as clearAllErrors,
|
|
2953
|
+
Yr as clearFieldError,
|
|
2954
|
+
Ur as getFirstError,
|
|
2955
|
+
Ue as hasErrors,
|
|
2956
|
+
Wr as useForm,
|
|
2957
|
+
Je as useTheme,
|
|
2958
|
+
Fe as validateField,
|
|
2900
2959
|
ee as validateForm,
|
|
2901
|
-
|
|
2960
|
+
Fr as validators
|
|
2902
2961
|
};
|