docthub-core-components 2.71.0 → 2.72.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.esm.js +113 -108
- package/dist/style.css +1 -1
- package/package.json +132 -132
package/dist/index.esm.js
CHANGED
|
@@ -5,12 +5,12 @@ import _l, { useState as Ne, useId as xt, useEffect as tt, useRef as vt, useDefe
|
|
|
5
5
|
import { LoaderCircle as Cr, EyeOff as Sr, Eye as $r, X as Ct, Search as Ir, ChevronsUpDown as Ar, CheckIcon as _r, ChevronDown as ht, Check as Rl, Minus as es, ChevronUp as Er, MapPin as Rr, Mail as Os, Phone as Or, Building as Fr, CalendarDays as Fs, ChevronLeft as Ts, ChevronRight as Ol, Filter as Tr, User as Mr, AlertCircle as bs, AlertTriangle as Ms, CheckCircle2 as Ps, Info as Zl, Circle as zs, XCircle as Pr, ArrowRight as Ls, MoreHorizontal as zr } from "lucide-react";
|
|
6
6
|
import { clsx as Lr } from "clsx";
|
|
7
7
|
import { twMerge as Br } from "tailwind-merge";
|
|
8
|
-
import { cva as
|
|
8
|
+
import { cva as Ft } from "class-variance-authority";
|
|
9
9
|
import * as kl from "react-phone-number-input";
|
|
10
10
|
import { isPossiblePhoneNumber as bc, isValidPhoneNumber as gc } from "react-phone-number-input";
|
|
11
11
|
import jr from "react-phone-number-input/flags";
|
|
12
12
|
import { Command as at } from "cmdk";
|
|
13
|
-
import { Dialog as
|
|
13
|
+
import { Dialog as Ot } from "@base-ui/react/dialog";
|
|
14
14
|
import { Popover as bl } from "@base-ui/react/popover";
|
|
15
15
|
import { createPortal as Bs } from "react-dom";
|
|
16
16
|
import { Tooltip as Kt } from "@base-ui/react/tooltip";
|
|
@@ -22,7 +22,7 @@ import Vs from "dayjs/plugin/localizedFormat";
|
|
|
22
22
|
import { DayPicker as qs } from "react-day-picker";
|
|
23
23
|
import { Collapsible as mt } from "@base-ui/react/collapsible";
|
|
24
24
|
import { Avatar as ts } from "@base-ui/react/avatar";
|
|
25
|
-
import { Drawer as
|
|
25
|
+
import { Drawer as Tt } from "vaul";
|
|
26
26
|
import { Menu as rt } from "@base-ui/react/menu";
|
|
27
27
|
import { Progress as Hl } from "@base-ui/react/progress";
|
|
28
28
|
import { Radio as vs } from "@base-ui/react/radio";
|
|
@@ -125,7 +125,7 @@ const Vt = L.forwardRef((n, e) => {
|
|
|
125
125
|
return t[15] !== o || t[16] !== h || t[17] !== g || t[18] !== x || t[19] !== a ? (w = /* @__PURE__ */ c("input", { type: a, className: g, "aria-invalid": x, ref: h, ...o }), t[15] = o, t[16] = h, t[17] = g, t[18] = x, t[19] = a, t[20] = w) : w = t[20], w;
|
|
126
126
|
});
|
|
127
127
|
Vt.displayName = "Input";
|
|
128
|
-
const Hr =
|
|
128
|
+
const Hr = Ft("text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70"), Zt = L.forwardRef((n, e) => {
|
|
129
129
|
const t = I(9);
|
|
130
130
|
let l, s;
|
|
131
131
|
t[0] !== n ? ({
|
|
@@ -138,7 +138,7 @@ const Hr = Tt("text-sm font-medium leading-none peer-disabled:cursor-not-allowed
|
|
|
138
138
|
return t[5] !== s || t[6] !== e || t[7] !== r ? (o = /* @__PURE__ */ c("label", { ref: e, className: r, ...s }), t[5] = s, t[6] = e, t[7] = r, t[8] = o) : o = t[8], o;
|
|
139
139
|
});
|
|
140
140
|
Zt.displayName = "Label";
|
|
141
|
-
const
|
|
141
|
+
const Rt = (n) => {
|
|
142
142
|
const e = I(85);
|
|
143
143
|
let t, l, s, r, o, i, a, d, u, m, f, h, b, p, g, x, w, v, y, N;
|
|
144
144
|
e[0] !== n ? ({
|
|
@@ -370,7 +370,7 @@ const Hs = (n) => {
|
|
|
370
370
|
let o;
|
|
371
371
|
e[4] !== t ? (o = t ? (a) => t(a) : void 0, e[4] = t, e[5] = o) : o = e[5];
|
|
372
372
|
let i;
|
|
373
|
-
return e[6] !== r || e[7] !== l || e[8] !== o ? (i = /* @__PURE__ */ c(
|
|
373
|
+
return e[6] !== r || e[7] !== l || e[8] !== o ? (i = /* @__PURE__ */ c(Ot.Root, { onOpenChange: o, modal: r, ...l }), e[6] = r, e[7] = l, e[8] = o, e[9] = i) : i = e[9], i;
|
|
374
374
|
};
|
|
375
375
|
Hs.displayName = "Dialog";
|
|
376
376
|
const Kr = L.forwardRef((n, e) => {
|
|
@@ -383,14 +383,14 @@ const Kr = L.forwardRef((n, e) => {
|
|
|
383
383
|
} = n, t[0] = n, t[1] = l, t[2] = s, t[3] = r) : (l = t[1], s = t[2], r = t[3]), l && L.isValidElement(s)) {
|
|
384
384
|
const a = e, d = s;
|
|
385
385
|
let u;
|
|
386
|
-
return t[4] !== r || t[5] !== a || t[6] !== d ? (u = /* @__PURE__ */ c(
|
|
386
|
+
return t[4] !== r || t[5] !== a || t[6] !== d ? (u = /* @__PURE__ */ c(Ot.Trigger, { ref: a, render: d, ...r }), t[4] = r, t[5] = a, t[6] = d, t[7] = u) : u = t[7], u;
|
|
387
387
|
}
|
|
388
388
|
const o = e;
|
|
389
389
|
let i;
|
|
390
|
-
return t[8] !== s || t[9] !== r || t[10] !== o ? (i = /* @__PURE__ */ c(
|
|
390
|
+
return t[8] !== s || t[9] !== r || t[10] !== o ? (i = /* @__PURE__ */ c(Ot.Trigger, { ref: o, ...r, children: s }), t[8] = s, t[9] = r, t[10] = o, t[11] = i) : i = t[11], i;
|
|
391
391
|
});
|
|
392
392
|
Kr.displayName = "DialogTrigger";
|
|
393
|
-
const Ur =
|
|
393
|
+
const Ur = Ot.Portal, Zr = L.forwardRef((n, e) => {
|
|
394
394
|
const t = I(12);
|
|
395
395
|
let l, s, r;
|
|
396
396
|
if (t[0] !== n ? ({
|
|
@@ -400,11 +400,11 @@ const Ur = Ft.Portal, Zr = L.forwardRef((n, e) => {
|
|
|
400
400
|
} = n, t[0] = n, t[1] = l, t[2] = s, t[3] = r) : (l = t[1], s = t[2], r = t[3]), l && L.isValidElement(s)) {
|
|
401
401
|
const a = e, d = s;
|
|
402
402
|
let u;
|
|
403
|
-
return t[4] !== r || t[5] !== a || t[6] !== d ? (u = /* @__PURE__ */ c(
|
|
403
|
+
return t[4] !== r || t[5] !== a || t[6] !== d ? (u = /* @__PURE__ */ c(Ot.Close, { ref: a, render: d, ...r }), t[4] = r, t[5] = a, t[6] = d, t[7] = u) : u = t[7], u;
|
|
404
404
|
}
|
|
405
405
|
const o = e;
|
|
406
406
|
let i;
|
|
407
|
-
return t[8] !== s || t[9] !== r || t[10] !== o ? (i = /* @__PURE__ */ c(
|
|
407
|
+
return t[8] !== s || t[9] !== r || t[10] !== o ? (i = /* @__PURE__ */ c(Ot.Close, { ref: o, ...r, children: s }), t[8] = s, t[9] = r, t[10] = o, t[11] = i) : i = t[11], i;
|
|
408
408
|
});
|
|
409
409
|
Zr.displayName = "DialogClose";
|
|
410
410
|
const Gs = L.forwardRef((n, e) => {
|
|
@@ -417,7 +417,7 @@ const Gs = L.forwardRef((n, e) => {
|
|
|
417
417
|
let r;
|
|
418
418
|
t[3] !== l ? (r = k("fixed inset-0 z-50 bg-black/80 data-[open]:animate-in data-[closed]:animate-out data-[closed]:fade-out-0 data-[open]:fade-in-0", l), t[3] = l, t[4] = r) : r = t[4];
|
|
419
419
|
let o;
|
|
420
|
-
return t[5] !== s || t[6] !== e || t[7] !== r ? (o = /* @__PURE__ */ c(
|
|
420
|
+
return t[5] !== s || t[6] !== e || t[7] !== r ? (o = /* @__PURE__ */ c(Ot.Backdrop, { ref: e, className: r, ...s }), t[5] = s, t[6] = e, t[7] = r, t[8] = o) : o = t[8], o;
|
|
421
421
|
});
|
|
422
422
|
Gs.displayName = "DialogOverlay";
|
|
423
423
|
const Qr = {
|
|
@@ -450,14 +450,14 @@ const Qr = {
|
|
|
450
450
|
t[11] !== s || t[12] !== g ? (x = k("fixed left-[50%] top-[50%] z-50 grid w-full translate-x-[-50%] translate-y-[-50%] gap-4 border bg-background p-6 shadow-lg duration-200 data-[open]:animate-in data-[closed]:animate-out data-[closed]:fade-out-0 data-[open]:fade-in-0 data-[closed]:zoom-out-95 data-[open]:zoom-in-95 data-[closed]:slide-out-to-left-1/2 data-[closed]:slide-out-to-top-[48%] data-[open]:slide-in-from-left-1/2 data-[open]:slide-in-from-top-[48%] sm:rounded-lg", g, s), t[11] = s, t[12] = g, t[13] = x) : x = t[13];
|
|
451
451
|
const w = b ? !1 : r ?? void 0;
|
|
452
452
|
let v;
|
|
453
|
-
t[14] !== h ? (v = h && /* @__PURE__ */ S(
|
|
453
|
+
t[14] !== h ? (v = h && /* @__PURE__ */ S(Ot.Close, { className: "absolute right-4 top-4 rounded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[open]:bg-accent data-[open]:text-muted-foreground", children: [
|
|
454
454
|
/* @__PURE__ */ c(Ct, { className: "h-4 w-4" }),
|
|
455
455
|
/* @__PURE__ */ c("span", { className: "sr-only", children: "Close" })
|
|
456
456
|
] }), t[14] = h, t[15] = v) : v = t[15];
|
|
457
457
|
let y;
|
|
458
458
|
return t[16] !== l || t[17] !== o || t[18] !== e || t[19] !== v || t[20] !== x || t[21] !== w ? (y = /* @__PURE__ */ S(Ur, { children: [
|
|
459
459
|
p,
|
|
460
|
-
/* @__PURE__ */ S(
|
|
460
|
+
/* @__PURE__ */ S(Ot.Popup, { ref: e, className: x, initialFocus: w, ...o, children: [
|
|
461
461
|
l,
|
|
462
462
|
v
|
|
463
463
|
] })
|
|
@@ -500,7 +500,7 @@ const eo = L.forwardRef((n, e) => {
|
|
|
500
500
|
let r;
|
|
501
501
|
t[3] !== l ? (r = k("text-lg font-semibold leading-none tracking-tight", l), t[3] = l, t[4] = r) : r = t[4];
|
|
502
502
|
let o;
|
|
503
|
-
return t[5] !== s || t[6] !== e || t[7] !== r ? (o = /* @__PURE__ */ c(
|
|
503
|
+
return t[5] !== s || t[6] !== e || t[7] !== r ? (o = /* @__PURE__ */ c(Ot.Title, { ref: e, className: r, ...s }), t[5] = s, t[6] = e, t[7] = r, t[8] = o) : o = t[8], o;
|
|
504
504
|
});
|
|
505
505
|
eo.displayName = "DialogTitle";
|
|
506
506
|
const to = L.forwardRef((n, e) => {
|
|
@@ -513,7 +513,7 @@ const to = L.forwardRef((n, e) => {
|
|
|
513
513
|
let r;
|
|
514
514
|
t[3] !== l ? (r = k("text-sm text-muted-foreground", l), t[3] = l, t[4] = r) : r = t[4];
|
|
515
515
|
let o;
|
|
516
|
-
return t[5] !== s || t[6] !== e || t[7] !== r ? (o = /* @__PURE__ */ c(
|
|
516
|
+
return t[5] !== s || t[6] !== e || t[7] !== r ? (o = /* @__PURE__ */ c(Ot.Description, { ref: e, className: r, ...s }), t[5] = s, t[6] = e, t[7] = r, t[8] = o) : o = t[8], o;
|
|
517
517
|
});
|
|
518
518
|
to.displayName = "DialogDescription";
|
|
519
519
|
const ls = L.forwardRef((n, e) => {
|
|
@@ -1169,7 +1169,7 @@ function ho(...n) {
|
|
|
1169
1169
|
typeof t == "function" ? t(e) : t && typeof t == "object" && (t.current = e);
|
|
1170
1170
|
};
|
|
1171
1171
|
}
|
|
1172
|
-
const bo =
|
|
1172
|
+
const bo = Ft("inline-flex items-center justify-center transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50", {
|
|
1173
1173
|
variants: {
|
|
1174
1174
|
variant: {
|
|
1175
1175
|
// High Emphasis - Filled
|
|
@@ -2567,9 +2567,9 @@ function Ya(n) {
|
|
|
2567
2567
|
handleKeyDown: et,
|
|
2568
2568
|
handleToggle: it,
|
|
2569
2569
|
handleFocus: St,
|
|
2570
|
-
isOptionSelected:
|
|
2570
|
+
isOptionSelected: Mt,
|
|
2571
2571
|
getOptionLabelSafe: lt
|
|
2572
|
-
} = To(ot),
|
|
2572
|
+
} = To(ot), Pt = ct && !ve && Ge !== "" && !K && le !== "button";
|
|
2573
2573
|
let Nt;
|
|
2574
2574
|
e: {
|
|
2575
2575
|
if (!He || le === "button") {
|
|
@@ -2611,7 +2611,7 @@ function Ya(n) {
|
|
|
2611
2611
|
bt
|
|
2612
2612
|
] }), e[49] = Ae, e[50] = Et, e[51] = bt, e[52] = Wt) : Wt = e[52], Nt = Wt;
|
|
2613
2613
|
}
|
|
2614
|
-
const
|
|
2614
|
+
const zt = Nt, wt = le === "button", ll = m ? "border border-destructive" : Po[Ee], sl = Mo[Ke], rl = ve ? "opacity-50 cursor-not-allowed" : "cursor-text";
|
|
2615
2615
|
let Xt;
|
|
2616
2616
|
e[53] !== E || e[54] !== ll || e[55] !== sl || e[56] !== rl ? (Xt = k("relative flex items-center rounded-md", ll, sl, rl, "transition-colors", E), e[53] = E, e[54] = ll, e[55] = sl, e[56] = rl, e[57] = Xt) : Xt = e[57];
|
|
2617
2617
|
const de = Xt, pe = ve ? "opacity-50 cursor-not-allowed" : "cursor-pointer";
|
|
@@ -2630,7 +2630,7 @@ function Ya(n) {
|
|
|
2630
2630
|
(Ae = kt.current) == null || Ae.focus();
|
|
2631
2631
|
}, 10);
|
|
2632
2632
|
}, e[65] = ce, e[66] = ge, e[67] = K, e[68] = $t) : $t = e[68];
|
|
2633
|
-
const
|
|
2633
|
+
const Lt = $t;
|
|
2634
2634
|
let It, At;
|
|
2635
2635
|
e[69] !== Pe.length || e[70] !== Ve || e[71] !== ze || e[72] !== ge ? (It = () => {
|
|
2636
2636
|
if (!(!ge || Ve < 0 || !ze.current) && Pe.length !== 0 && !(Ve >= Pe.length))
|
|
@@ -2696,7 +2696,7 @@ function Ya(n) {
|
|
|
2696
2696
|
Fe && /* @__PURE__ */ c("span", { className: "text-destructive ml-1", children: "*" })
|
|
2697
2697
|
] }), e[97] = ae, e[98] = d, e[99] = Fe, e[100] = dl) : dl = e[100];
|
|
2698
2698
|
let ul;
|
|
2699
|
-
e[101] !== xe || e[102] !== zl || e[103] !== de || e[104] !== ve || e[105] !== We || e[106] !== St || e[107] !== Xe || e[108] !== et || e[109] !== it || e[110] !== ae || e[111] !== Je || e[112] !== Ge || e[113] !== wt || e[114] !== st || e[115] !== Ce || e[116] !== ge || e[117] !== ie || e[118] !== jl || e[119] !== Vl || e[120] !== al || e[121] !== Bl || e[122] !== Ll || e[123] !== nl || e[124] !==
|
|
2699
|
+
e[101] !== xe || e[102] !== zl || e[103] !== de || e[104] !== ve || e[105] !== We || e[106] !== St || e[107] !== Xe || e[108] !== et || e[109] !== it || e[110] !== ae || e[111] !== Je || e[112] !== Ge || e[113] !== wt || e[114] !== st || e[115] !== Ce || e[116] !== ge || e[117] !== ie || e[118] !== jl || e[119] !== Vl || e[120] !== al || e[121] !== Bl || e[122] !== Ll || e[123] !== nl || e[124] !== Pt || e[125] !== K || e[126] !== il || e[127] !== Gt || e[128] !== pt ? (ul = wt ? /* @__PURE__ */ S("div", { ref: pt, className: xe, children: [
|
|
2700
2700
|
/* @__PURE__ */ c("input", { id: ae, ref: Je, value: Ge, onChange: Xe, onKeyDown: et, onFocus: St, "aria-hidden": "true", tabIndex: -1, readOnly: !0, className: "sr-only" }),
|
|
2701
2701
|
/* @__PURE__ */ c(jt, { variant: Ll, size: Bl, icon: Vl, iconPosition: al, fullWidth: jl, disabled: ve, type: "button", "aria-haspopup": "listbox", "aria-expanded": ge, "aria-controls": st, className: k("hover:bg-transparent active:bg-transparent focus-visible:bg-transparent focus-visible:ring-0", il), ...nl, onClick: (ke) => {
|
|
2702
2702
|
if (Gt == null || Gt(ke), ve)
|
|
@@ -2712,12 +2712,12 @@ function Ya(n) {
|
|
|
2712
2712
|
/* @__PURE__ */ c(Vt, { id: ae, ref: Je, value: K ? "" : Ge, onChange: K ? void 0 : Xe, onKeyDown: et, onFocus: St, placeholder: ie, disabled: ve, readOnly: K, className: "px-0 border-0 shadow-none focus-visible:ring-0 focus-visible:ring-offset-0 bg-transparent rounded-md", role: "combobox", "aria-expanded": ge, "aria-controls": st, "aria-autocomplete": "list" }),
|
|
2713
2713
|
/* @__PURE__ */ S("div", { className: "flex items-center gap-1 ml-auto", children: [
|
|
2714
2714
|
Ce && /* @__PURE__ */ c("div", { className: "animate-spin rounded-full h-4 w-4 border-2 border-muted-foreground border-t-transparent" }),
|
|
2715
|
-
|
|
2715
|
+
Pt && /* @__PURE__ */ c("button", { type: "button", onClick: We, className: "p-1 hover:bg-accent rounded-sm transition-colors", tabIndex: -1, children: /* @__PURE__ */ c(Ct, { className: "h-4 w-4 text-muted-foreground" }) }),
|
|
2716
2716
|
/* @__PURE__ */ c("button", { type: "button", disabled: ve, onClick: it, className: k("p-1 hover:bg-accent rounded-sm transition-colors", ve ? "opacity-50 cursor-not-allowed" : "cursor-pointer"), tabIndex: -1, "aria-label": ge ? "Close options" : "Open options", children: /* @__PURE__ */ c(ht, { className: k("h-4 w-4 text-muted-foreground transition-transform", ge ? "rotate-180" : "") }) })
|
|
2717
2717
|
] })
|
|
2718
|
-
] }), e[101] = xe, e[102] = zl, e[103] = de, e[104] = ve, e[105] = We, e[106] = St, e[107] = Xe, e[108] = et, e[109] = it, e[110] = ae, e[111] = Je, e[112] = Ge, e[113] = wt, e[114] = st, e[115] = Ce, e[116] = ge, e[117] = ie, e[118] = jl, e[119] = Vl, e[120] = al, e[121] = Bl, e[122] = Ll, e[123] = nl, e[124] =
|
|
2718
|
+
] }), e[101] = xe, e[102] = zl, e[103] = de, e[104] = ve, e[105] = We, e[106] = St, e[107] = Xe, e[108] = et, e[109] = it, e[110] = ae, e[111] = Je, e[112] = Ge, e[113] = wt, e[114] = st, e[115] = Ce, e[116] = ge, e[117] = ie, e[118] = jl, e[119] = Vl, e[120] = al, e[121] = Bl, e[122] = Ll, e[123] = nl, e[124] = Pt, e[125] = K, e[126] = il, e[127] = Gt, e[128] = pt, e[129] = ul) : ul = e[129];
|
|
2719
2719
|
let fl;
|
|
2720
|
-
e[130] !== Re || e[131] !== Ue || e[132] !== P || e[133] !== F || e[134] !== be || e[135] !== ve || e[136] !== Qe || e[137] !== we || e[138] !== je || e[139] !== Pe || e[140] !== _e || e[141] !== lt || e[142] !== W || e[143] !== Xe || e[144] !== et || e[145] !==
|
|
2720
|
+
e[130] !== Re || e[131] !== Ue || e[132] !== P || e[133] !== F || e[134] !== be || e[135] !== ve || e[136] !== Qe || e[137] !== we || e[138] !== je || e[139] !== Pe || e[140] !== _e || e[141] !== lt || e[142] !== W || e[143] !== Xe || e[144] !== et || e[145] !== Lt || e[146] !== Ve || e[147] !== E || e[148] !== Ge || e[149] !== wt || e[150] !== Mt || e[151] !== d || e[152] !== ze || e[153] !== st || e[154] !== dt || e[155] !== ge || e[156] !== ie || e[157] !== _ || e[158] !== re || e[159] !== V || e[160] !== Le || e[161] !== K ? (fl = ge && (() => {
|
|
2721
2721
|
const ke = Qe.width > 0 || Qe.top > 0, Ae = /* @__PURE__ */ c(us, { delayDuration: 0, children: /* @__PURE__ */ S("div", { id: st, role: "listbox", "aria-label": d || "Options", "data-dialog-interactive-layer": "true", className: k("fixed z-[99999] pointer-events-auto bg-popover border border-border rounded-md shadow-lg", "flex flex-col overflow-hidden", !ke && "invisible", E), style: (() => {
|
|
2722
2722
|
const bt = () => wt ? typeof we == "number" ? `${we}px` : typeof we == "string" ? we : "220px" : Qe.width;
|
|
2723
2723
|
return {
|
|
@@ -2731,21 +2731,21 @@ function Ya(n) {
|
|
|
2731
2731
|
})(), ref: ze, children: [
|
|
2732
2732
|
K && /* @__PURE__ */ c("div", { className: "p-2 bg-popover", children: /* @__PURE__ */ c(ps, { ref: kt, query: Ge, onChange: Xe, onKeyDown: et, placeholder: V ?? ie, className: "w-full", "aria-label": "Search options", disabled: ve, size: "small" }) }),
|
|
2733
2733
|
/* @__PURE__ */ c("div", { className: k("max-h-60 overflow-auto", "[scrollbar-gutter:stable]", "[&::-webkit-scrollbar]:w-2", "[&::-webkit-scrollbar-track]:bg-transparent", "[&::-webkit-scrollbar-thumb]:bg-gray-300", "[&::-webkit-scrollbar-thumb]:rounded-full", "[&::-webkit-scrollbar-thumb]:border-0", "[&::-webkit-scrollb#F5F5F5ar-thumb]:min-h-[30px]", "scrollbar-thin scrollbar-thumb-gray-300 scrollbar-track-transparent"), children: Pe.length === 0 ? /* @__PURE__ */ c("div", { className: "p-3 text-sm text-muted-foreground text-center", children: dt }) : Pe.map((bt, Wt) => {
|
|
2734
|
-
const ft =
|
|
2735
|
-
return /* @__PURE__ */ c(zo, { option: bt, index: Wt, isSelected: ft, isHighlighted: Wt === Ve, onSelect:
|
|
2734
|
+
const ft = Mt(bt);
|
|
2735
|
+
return /* @__PURE__ */ c(zo, { option: bt, index: Wt, isSelected: ft, isHighlighted: Wt === Ve, onSelect: Lt, getOptionLabel: lt, renderOption: re, freeSolo: _e, originalOptions: je, checkboxPosition: Ue, showChip: Le, checkboxProps: P, chipProps: F, checkboxColor: Re }, typeof bt == "string" ? bt : String((W == null ? void 0 : W(bt)) ?? Wt));
|
|
2736
2736
|
}) })
|
|
2737
2737
|
] }) });
|
|
2738
2738
|
if (be)
|
|
2739
2739
|
return Ae;
|
|
2740
2740
|
const Et = _ ?? document.body;
|
|
2741
2741
|
return Bs(Ae, Et);
|
|
2742
|
-
})(), e[130] = Re, e[131] = Ue, e[132] = P, e[133] = F, e[134] = be, e[135] = ve, e[136] = Qe, e[137] = we, e[138] = je, e[139] = Pe, e[140] = _e, e[141] = lt, e[142] = W, e[143] = Xe, e[144] = et, e[145] =
|
|
2742
|
+
})(), e[130] = Re, e[131] = Ue, e[132] = P, e[133] = F, e[134] = be, e[135] = ve, e[136] = Qe, e[137] = we, e[138] = je, e[139] = Pe, e[140] = _e, e[141] = lt, e[142] = W, e[143] = Xe, e[144] = et, e[145] = Lt, e[146] = Ve, e[147] = E, e[148] = Ge, e[149] = wt, e[150] = Mt, e[151] = d, e[152] = ze, e[153] = st, e[154] = dt, e[155] = ge, e[156] = ie, e[157] = _, e[158] = re, e[159] = V, e[160] = Le, e[161] = K, e[162] = fl) : fl = e[162];
|
|
2743
2743
|
let ml;
|
|
2744
|
-
e[163] !==
|
|
2745
|
-
|
|
2744
|
+
e[163] !== zt || e[164] !== ul || e[165] !== fl ? (ml = /* @__PURE__ */ S("div", { className: "relative overflow-visible", children: [
|
|
2745
|
+
zt,
|
|
2746
2746
|
ul,
|
|
2747
2747
|
fl
|
|
2748
|
-
] }), e[163] =
|
|
2748
|
+
] }), e[163] = zt, e[164] = ul, e[165] = fl, e[166] = ml) : ml = e[166];
|
|
2749
2749
|
let pl;
|
|
2750
2750
|
e[167] !== m || e[168] !== u ? (pl = (u || m) && /* @__PURE__ */ c("p", { className: k("mt-1 text-xs", m ? "text-destructive" : "text-muted-foreground"), children: m || u }), e[167] = m, e[168] = u, e[169] = pl) : pl = e[169];
|
|
2751
2751
|
let $l;
|
|
@@ -3085,15 +3085,15 @@ function Ha(n) {
|
|
|
3085
3085
|
let o;
|
|
3086
3086
|
e[0] !== t ? (o = k("space-y-4", t), e[0] = t, e[1] = o) : o = e[1];
|
|
3087
3087
|
let i;
|
|
3088
|
-
e[2] !== s ? (i = /* @__PURE__ */ c(
|
|
3088
|
+
e[2] !== s ? (i = /* @__PURE__ */ c(Rt, { label: "Street Address", placeholder: "Enter street address", required: !0, onChange: (x) => s == null ? void 0 : s("streetAddress", x.target.value) }), e[2] = s, e[3] = i) : i = e[3];
|
|
3089
3089
|
let a;
|
|
3090
|
-
e[4] !== s ? (a = /* @__PURE__ */ c(
|
|
3090
|
+
e[4] !== s ? (a = /* @__PURE__ */ c(Rt, { label: "Apartment, suite, etc.", placeholder: "Apartment, suite, etc. (optional)", onChange: (x) => s == null ? void 0 : s("addressLine2", x.target.value) }), e[4] = s, e[5] = a) : a = e[5];
|
|
3091
3091
|
let d;
|
|
3092
|
-
e[6] !== s ? (d = /* @__PURE__ */ c(
|
|
3092
|
+
e[6] !== s ? (d = /* @__PURE__ */ c(Rt, { label: "City", placeholder: "Enter city", required: !0, onChange: (x) => s == null ? void 0 : s("city", x.target.value) }), e[6] = s, e[7] = d) : d = e[7];
|
|
3093
3093
|
let u;
|
|
3094
|
-
e[8] !== s ? (u = /* @__PURE__ */ c(
|
|
3094
|
+
e[8] !== s ? (u = /* @__PURE__ */ c(Rt, { label: "State/Province", placeholder: "Enter state", required: !0, onChange: (x) => s == null ? void 0 : s("state", x.target.value) }), e[8] = s, e[9] = u) : u = e[9];
|
|
3095
3095
|
let m;
|
|
3096
|
-
e[10] !== s ? (m = /* @__PURE__ */ c(
|
|
3096
|
+
e[10] !== s ? (m = /* @__PURE__ */ c(Rt, { label: "ZIP/Postal Code", placeholder: "Enter ZIP code", required: !0, onChange: (x) => s == null ? void 0 : s("zipCode", x.target.value) }), e[10] = s, e[11] = m) : m = e[11];
|
|
3097
3097
|
let f;
|
|
3098
3098
|
e[12] !== d || e[13] !== u || e[14] !== m ? (f = /* @__PURE__ */ S("div", { className: "grid grid-cols-1 md:grid-cols-3 gap-4", children: [
|
|
3099
3099
|
d,
|
|
@@ -3134,9 +3134,9 @@ function Ga(n) {
|
|
|
3134
3134
|
let a;
|
|
3135
3135
|
e[0] !== t ? (a = k("space-y-4", t), e[0] = t, e[1] = a) : a = e[1];
|
|
3136
3136
|
let d;
|
|
3137
|
-
e[2] !== r ? (d = /* @__PURE__ */ c(
|
|
3137
|
+
e[2] !== r ? (d = /* @__PURE__ */ c(Rt, { label: "First Name", placeholder: "Enter first name", required: !0, onChange: (v) => r == null ? void 0 : r("firstName", v.target.value) }), e[2] = r, e[3] = d) : d = e[3];
|
|
3138
3138
|
let u;
|
|
3139
|
-
e[4] !== r ? (u = /* @__PURE__ */ c(
|
|
3139
|
+
e[4] !== r ? (u = /* @__PURE__ */ c(Rt, { label: "Last Name", placeholder: "Enter last name", required: !0, onChange: (v) => r == null ? void 0 : r("lastName", v.target.value) }), e[4] = r, e[5] = u) : u = e[5];
|
|
3140
3140
|
let m;
|
|
3141
3141
|
e[6] !== d || e[7] !== u ? (m = /* @__PURE__ */ S("div", { className: "grid grid-cols-1 md:grid-cols-2 gap-4", children: [
|
|
3142
3142
|
d,
|
|
@@ -3145,11 +3145,11 @@ function Ga(n) {
|
|
|
3145
3145
|
let f;
|
|
3146
3146
|
e[9] === Symbol.for("react.memo_cache_sentinel") ? (f = /* @__PURE__ */ c(Os, { className: "h-4 w-4" }), e[9] = f) : f = e[9];
|
|
3147
3147
|
let h;
|
|
3148
|
-
e[10] !== r ? (h = /* @__PURE__ */ c(
|
|
3148
|
+
e[10] !== r ? (h = /* @__PURE__ */ c(Rt, { label: "Email Address", type: "email", placeholder: "Enter your email", leftIcon: f, required: !0, onChange: (v) => r == null ? void 0 : r("email", v.target.value) }), e[10] = r, e[11] = h) : h = e[11];
|
|
3149
3149
|
let b;
|
|
3150
3150
|
e[12] === Symbol.for("react.memo_cache_sentinel") ? (b = /* @__PURE__ */ c(Or, { className: "h-4 w-4" }), e[12] = b) : b = e[12];
|
|
3151
3151
|
let p;
|
|
3152
|
-
e[13] !== r ? (p = /* @__PURE__ */ c(
|
|
3152
|
+
e[13] !== r ? (p = /* @__PURE__ */ c(Rt, { label: "Phone Number", type: "tel", placeholder: "+1 (555) 000-0000", leftIcon: b, onChange: (v) => r == null ? void 0 : r("phone", v.target.value) }), e[13] = r, e[14] = p) : p = e[14];
|
|
3153
3153
|
let g;
|
|
3154
3154
|
e[15] !== i || e[16] !== r || e[17] !== o ? (g = o && /* @__PURE__ */ c(Nl, { label: "Department", placeholder: "Select department", options: i, leadingIcon: /* @__PURE__ */ c(Fr, { className: "h-4 w-4" }), onValueChange: (v) => r == null ? void 0 : r("department", v) }), e[15] = i, e[16] = r, e[17] = o, e[18] = g) : g = e[18];
|
|
3155
3155
|
let x;
|
|
@@ -3658,11 +3658,11 @@ function Ka(n) {
|
|
|
3658
3658
|
let C;
|
|
3659
3659
|
e[2] !== t ? (C = k("space-y-4", t), e[2] = t, e[3] = C) : C = e[3];
|
|
3660
3660
|
let E;
|
|
3661
|
-
e[4] !== r ? (E = /* @__PURE__ */ c(
|
|
3661
|
+
e[4] !== r ? (E = /* @__PURE__ */ c(Rt, { label: "Username", placeholder: "Choose a username", helperText: "Must be at least 3 characters long", required: !0, onChange: (M) => r == null ? void 0 : r("username", M.target.value) }), e[4] = r, e[5] = E) : E = e[5];
|
|
3662
3662
|
let B;
|
|
3663
3663
|
e[6] === Symbol.for("react.memo_cache_sentinel") ? (B = /* @__PURE__ */ c(Os, { className: "h-4 w-4" }), e[6] = B) : B = e[6];
|
|
3664
3664
|
let R;
|
|
3665
|
-
e[7] !== r ? (R = /* @__PURE__ */ c(
|
|
3665
|
+
e[7] !== r ? (R = /* @__PURE__ */ c(Rt, { label: "Email Address", type: "email", placeholder: "Enter your email", leftIcon: B, required: !0, onChange: (M) => r == null ? void 0 : r("email", M.target.value) }), e[7] = r, e[8] = R) : R = e[8];
|
|
3666
3666
|
let A;
|
|
3667
3667
|
e[9] !== r ? (A = (M) => {
|
|
3668
3668
|
y(M), r == null || r("password", M);
|
|
@@ -4146,17 +4146,17 @@ const an = L.memo(function(e) {
|
|
|
4146
4146
|
const Ht = (ll = ut.props) == null ? void 0 : ll.className;
|
|
4147
4147
|
let $t;
|
|
4148
4148
|
e[88] !== u || e[89] !== Ht ? ($t = k("h-5 w-5", u, Ht), e[88] = u, e[89] = Ht, e[90] = $t) : $t = e[90];
|
|
4149
|
-
let
|
|
4150
|
-
e[91] !== ((sl = ut.props) == null ? void 0 : sl.style) ? (
|
|
4149
|
+
let Lt;
|
|
4150
|
+
e[91] !== ((sl = ut.props) == null ? void 0 : sl.style) ? (Lt = ((rl = ut.props) == null ? void 0 : rl.style) || {}, e[91] = (Xt = ut.props) == null ? void 0 : Xt.style, e[92] = Lt) : Lt = e[92];
|
|
4151
4151
|
let It;
|
|
4152
4152
|
e[93] !== m ? (It = m ? {
|
|
4153
4153
|
color: m
|
|
4154
4154
|
} : {}, e[93] = m, e[94] = It) : It = e[94];
|
|
4155
4155
|
let At;
|
|
4156
|
-
e[95] !==
|
|
4157
|
-
...
|
|
4156
|
+
e[95] !== Lt || e[96] !== It ? (At = {
|
|
4157
|
+
...Lt,
|
|
4158
4158
|
...It
|
|
4159
|
-
}, e[95] =
|
|
4159
|
+
}, e[95] = Lt, e[96] = It, e[97] = At) : At = e[97];
|
|
4160
4160
|
let _t;
|
|
4161
4161
|
e[98] !== $t || e[99] !== At ? (_t = {
|
|
4162
4162
|
className: $t,
|
|
@@ -4230,28 +4230,28 @@ const an = L.memo(function(e) {
|
|
|
4230
4230
|
] }), e[164] = je, e[165] = ze, e[166] = nt, e[167] = et, e[168] = it) : it = e[168];
|
|
4231
4231
|
let St;
|
|
4232
4232
|
e[169] !== ne || e[170] !== V || e[171] !== Q ? (St = /* @__PURE__ */ c(an, { month: Q, onMonthChange: ne, locale: V }), e[169] = ne, e[170] = V, e[171] = Q, e[172] = St) : St = e[172];
|
|
4233
|
-
let
|
|
4234
|
-
e[173] !== r || e[174] !== K || e[175] !== ne || e[176] !== W || e[177] !== b || e[178] !== p || e[179] !== Q || e[180] !== E ? (
|
|
4233
|
+
let Mt;
|
|
4234
|
+
e[173] !== r || e[174] !== K || e[175] !== ne || e[176] !== W || e[177] !== b || e[178] !== p || e[179] !== Q || e[180] !== E ? (Mt = /* @__PURE__ */ c("div", { className: "p-3", children: /* @__PURE__ */ c(qs, { mode: "range", selected: W, onSelect: K, month: Q, onMonthChange: ne, fromDate: p, toDate: b, showOutsideDays: E, className: "p-0", classNames: _e, ...r }) }), e[173] = r, e[174] = K, e[175] = ne, e[176] = W, e[177] = b, e[178] = p, e[179] = Q, e[180] = E, e[181] = Mt) : Mt = e[181];
|
|
4235
4235
|
let lt;
|
|
4236
|
-
e[182] !== St || e[183] !==
|
|
4236
|
+
e[182] !== St || e[183] !== Mt ? (lt = /* @__PURE__ */ S("div", { className: "bg-white rounded-md border shadow-md", children: [
|
|
4237
4237
|
St,
|
|
4238
|
-
|
|
4239
|
-
] }), e[182] = St, e[183] =
|
|
4240
|
-
let
|
|
4241
|
-
e[185] !== Y || e[186] !== lt ? (
|
|
4238
|
+
Mt
|
|
4239
|
+
] }), e[182] = St, e[183] = Mt, e[184] = lt) : lt = e[184];
|
|
4240
|
+
let Pt;
|
|
4241
|
+
e[185] !== Y || e[186] !== lt ? (Pt = /* @__PURE__ */ c(Ml, { className: "w-auto p-0 mt-2", align: Y, children: lt }), e[185] = Y, e[186] = lt, e[187] = Pt) : Pt = e[187];
|
|
4242
4242
|
let Nt;
|
|
4243
|
-
e[188] !== H || e[189] !== _ || e[190] !== it || e[191] !==
|
|
4243
|
+
e[188] !== H || e[189] !== _ || e[190] !== it || e[191] !== Pt ? (Nt = /* @__PURE__ */ S(is, { open: _, onOpenChange: H, children: [
|
|
4244
4244
|
it,
|
|
4245
|
-
|
|
4246
|
-
] }), e[188] = H, e[189] = _, e[190] = it, e[191] =
|
|
4247
|
-
let
|
|
4248
|
-
e[193] !== i || e[194] !== a ? (
|
|
4245
|
+
Pt
|
|
4246
|
+
] }), e[188] = H, e[189] = _, e[190] = it, e[191] = Pt, e[192] = Nt) : Nt = e[192];
|
|
4247
|
+
let zt;
|
|
4248
|
+
e[193] !== i || e[194] !== a ? (zt = (a || i) && /* @__PURE__ */ c("p", { className: k("text-xs", i ? "text-destructive" : "text-gray-500"), children: i || a }), e[193] = i, e[194] = a, e[195] = zt) : zt = e[195];
|
|
4249
4249
|
let wt;
|
|
4250
|
-
return e[196] !== C || e[197] !== De || e[198] !== Be || e[199] !== Nt || e[200] !==
|
|
4250
|
+
return e[196] !== C || e[197] !== De || e[198] !== Be || e[199] !== Nt || e[200] !== zt ? (wt = /* @__PURE__ */ S("div", { className: De, ...C, children: [
|
|
4251
4251
|
Be,
|
|
4252
4252
|
Nt,
|
|
4253
|
-
|
|
4254
|
-
] }), e[196] = C, e[197] = De, e[198] = Be, e[199] = Nt, e[200] =
|
|
4253
|
+
zt
|
|
4254
|
+
] }), e[196] = C, e[197] = De, e[198] = Be, e[199] = Nt, e[200] = zt, e[201] = wt) : wt = e[201], wt;
|
|
4255
4255
|
});
|
|
4256
4256
|
cn.displayName = "DateRangePickerField";
|
|
4257
4257
|
function dn(n, e) {
|
|
@@ -4263,7 +4263,7 @@ function un(n) {
|
|
|
4263
4263
|
function fn(n) {
|
|
4264
4264
|
return n;
|
|
4265
4265
|
}
|
|
4266
|
-
const mn =
|
|
4266
|
+
const mn = Ft("bg-muted", {
|
|
4267
4267
|
variants: {
|
|
4268
4268
|
variant: {
|
|
4269
4269
|
text: "h-4 w-full rounded",
|
|
@@ -4383,7 +4383,7 @@ const Za = ({
|
|
|
4383
4383
|
o ? null : /* @__PURE__ */ c(at.Empty, { className: "select-none rounded-sm px-2 py-3 text-center text-sm dark:text-gray-400", children: t })
|
|
4384
4384
|
] }) }) })
|
|
4385
4385
|
] });
|
|
4386
|
-
}, bn =
|
|
4386
|
+
}, bn = Ft("inline-flex items-center rounded-full border px-2.5 py-0.5 text-xs font-semibold transition-colors focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2", {
|
|
4387
4387
|
variants: {
|
|
4388
4388
|
variant: {
|
|
4389
4389
|
default: "border-transparent bg-primary text-primary-foreground hover:bg-primary/80",
|
|
@@ -4447,7 +4447,7 @@ function Ja(n) {
|
|
|
4447
4447
|
s
|
|
4448
4448
|
] }), e[8] = s, e[9] = i, e[10] = m, e[11] = f) : f = e[11], f;
|
|
4449
4449
|
}
|
|
4450
|
-
const vn =
|
|
4450
|
+
const vn = Ft("relative w-full rounded-lg border p-4", {
|
|
4451
4451
|
variants: {
|
|
4452
4452
|
variant: {
|
|
4453
4453
|
default: "bg-background text-foreground border-border",
|
|
@@ -4529,7 +4529,7 @@ const Nn = L.forwardRef((n, e) => {
|
|
|
4529
4529
|
return t[5] !== s || t[6] !== e || t[7] !== r ? (o = /* @__PURE__ */ c("p", { ref: e, className: r, ...s }), t[5] = s, t[6] = e, t[7] = r, t[8] = o) : o = t[8], o;
|
|
4530
4530
|
});
|
|
4531
4531
|
Nn.displayName = "AlertDescription";
|
|
4532
|
-
const kn =
|
|
4532
|
+
const kn = Ft("relative flex shrink-0 overflow-hidden rounded-full", {
|
|
4533
4533
|
variants: {
|
|
4534
4534
|
size: {
|
|
4535
4535
|
sm: "h-8 w-8",
|
|
@@ -4609,10 +4609,10 @@ const In = (n) => {
|
|
|
4609
4609
|
} = n, e[0] = n, e[1] = t, e[2] = l) : (t = e[1], l = e[2]);
|
|
4610
4610
|
const s = l === void 0 ? !0 : l;
|
|
4611
4611
|
let r;
|
|
4612
|
-
return e[3] !== t || e[4] !== s ? (r = /* @__PURE__ */ c(
|
|
4612
|
+
return e[3] !== t || e[4] !== s ? (r = /* @__PURE__ */ c(Tt.Root, { shouldScaleBackground: s, ...t }), e[3] = t, e[4] = s, e[5] = r) : r = e[5], r;
|
|
4613
4613
|
};
|
|
4614
4614
|
In.displayName = "Drawer";
|
|
4615
|
-
const tc =
|
|
4615
|
+
const tc = Tt.Trigger, An = Tt.Portal, lc = Tt.Close, cr = L.forwardRef((n, e) => {
|
|
4616
4616
|
const t = I(9);
|
|
4617
4617
|
let l, s;
|
|
4618
4618
|
t[0] !== n ? ({
|
|
@@ -4622,9 +4622,9 @@ const tc = Mt.Trigger, An = Mt.Portal, lc = Mt.Close, cr = L.forwardRef((n, e) =
|
|
|
4622
4622
|
let r;
|
|
4623
4623
|
t[3] !== l ? (r = k("fixed inset-0 z-50 bg-black/80", l), t[3] = l, t[4] = r) : r = t[4];
|
|
4624
4624
|
let o;
|
|
4625
|
-
return t[5] !== s || t[6] !== e || t[7] !== r ? (o = /* @__PURE__ */ c(
|
|
4625
|
+
return t[5] !== s || t[6] !== e || t[7] !== r ? (o = /* @__PURE__ */ c(Tt.Overlay, { ref: e, className: r, ...s }), t[5] = s, t[6] = e, t[7] = r, t[8] = o) : o = t[8], o;
|
|
4626
4626
|
});
|
|
4627
|
-
cr.displayName =
|
|
4627
|
+
cr.displayName = Tt.Overlay.displayName;
|
|
4628
4628
|
const _n = L.forwardRef((n, e) => {
|
|
4629
4629
|
const t = I(13);
|
|
4630
4630
|
let l, s, r;
|
|
@@ -4642,7 +4642,7 @@ const _n = L.forwardRef((n, e) => {
|
|
|
4642
4642
|
let d;
|
|
4643
4643
|
return t[8] !== l || t[9] !== r || t[10] !== e || t[11] !== i ? (d = /* @__PURE__ */ S(An, { children: [
|
|
4644
4644
|
o,
|
|
4645
|
-
/* @__PURE__ */ S(
|
|
4645
|
+
/* @__PURE__ */ S(Tt.Content, { ref: e, className: i, ...r, children: [
|
|
4646
4646
|
a,
|
|
4647
4647
|
l
|
|
4648
4648
|
] })
|
|
@@ -4685,9 +4685,9 @@ const On = L.forwardRef((n, e) => {
|
|
|
4685
4685
|
let r;
|
|
4686
4686
|
t[3] !== l ? (r = k("text-lg font-semibold leading-none tracking-tight", l), t[3] = l, t[4] = r) : r = t[4];
|
|
4687
4687
|
let o;
|
|
4688
|
-
return t[5] !== s || t[6] !== e || t[7] !== r ? (o = /* @__PURE__ */ c(
|
|
4688
|
+
return t[5] !== s || t[6] !== e || t[7] !== r ? (o = /* @__PURE__ */ c(Tt.Title, { ref: e, className: r, ...s }), t[5] = s, t[6] = e, t[7] = r, t[8] = o) : o = t[8], o;
|
|
4689
4689
|
});
|
|
4690
|
-
On.displayName =
|
|
4690
|
+
On.displayName = Tt.Title.displayName;
|
|
4691
4691
|
const Fn = L.forwardRef((n, e) => {
|
|
4692
4692
|
const t = I(9);
|
|
4693
4693
|
let l, s;
|
|
@@ -4698,9 +4698,9 @@ const Fn = L.forwardRef((n, e) => {
|
|
|
4698
4698
|
let r;
|
|
4699
4699
|
t[3] !== l ? (r = k("text-sm text-muted-foreground", l), t[3] = l, t[4] = r) : r = t[4];
|
|
4700
4700
|
let o;
|
|
4701
|
-
return t[5] !== s || t[6] !== e || t[7] !== r ? (o = /* @__PURE__ */ c(
|
|
4701
|
+
return t[5] !== s || t[6] !== e || t[7] !== r ? (o = /* @__PURE__ */ c(Tt.Description, { ref: e, className: r, ...s }), t[5] = s, t[6] = e, t[7] = r, t[8] = o) : o = t[8], o;
|
|
4702
4702
|
});
|
|
4703
|
-
Fn.displayName =
|
|
4703
|
+
Fn.displayName = Tt.Description.displayName;
|
|
4704
4704
|
const sc = rt.Root, Tn = L.forwardRef((n, e) => {
|
|
4705
4705
|
const t = I(25);
|
|
4706
4706
|
let l, s, r, o, i, a;
|
|
@@ -4894,7 +4894,7 @@ const Yn = (n) => {
|
|
|
4894
4894
|
return e[5] !== l || e[6] !== s ? (r = /* @__PURE__ */ c("span", { className: s, ...l }), e[5] = l, e[6] = s, e[7] = r) : r = e[7], r;
|
|
4895
4895
|
};
|
|
4896
4896
|
Yn.displayName = "DropdownMenuShortcut";
|
|
4897
|
-
const Hn =
|
|
4897
|
+
const Hn = Ft("h-full w-full flex-1 transition-all", {
|
|
4898
4898
|
variants: {
|
|
4899
4899
|
color: {
|
|
4900
4900
|
primary: "bg-primary",
|
|
@@ -5872,9 +5872,9 @@ function Ci(n) {
|
|
|
5872
5872
|
let h;
|
|
5873
5873
|
e[4] !== s || e[5] !== a ? (h = s ? /* @__PURE__ */ c("div", { className: k("mr-1 flex shrink-0 items-center justify-center rounded-[999px]", a ? "h-11 w-11" : "h-8 w-8"), children: s }) : null, e[4] = s, e[5] = a, e[6] = h) : h = e[6];
|
|
5874
5874
|
let b;
|
|
5875
|
-
e[7] !== r ? (b = /* @__PURE__ */ c(Se, { variant: "
|
|
5875
|
+
e[7] !== r ? (b = /* @__PURE__ */ c(Se, { variant: "textLabel2", weight: "semiBold", color: "#002830", className: "truncate leading-5 font-semibold text-primary", children: r }), e[7] = r, e[8] = b) : b = e[8];
|
|
5876
5876
|
let p;
|
|
5877
|
-
e[9] !== o ? (p = o ? /* @__PURE__ */ c(Se, { variant: "textLabel4", weight: "
|
|
5877
|
+
e[9] !== o ? (p = o ? /* @__PURE__ */ c(Se, { variant: "textLabel4", weight: "medium", color: "#70868B", className: "mt-0.5 line-clamp-2 leading-4 text-neutral-56", children: o }) : null, e[9] = o, e[10] = p) : p = e[10];
|
|
5878
5878
|
let g;
|
|
5879
5879
|
e[11] !== b || e[12] !== p ? (g = /* @__PURE__ */ S("div", { className: "flex-1 leading-none", children: [
|
|
5880
5880
|
b,
|
|
@@ -6219,7 +6219,7 @@ const Mi = {
|
|
|
6219
6219
|
"enterprise-login": "https://enterprise.docthub.com/en/login",
|
|
6220
6220
|
"create-enterprise-account": "https://enterprise.docthub.com/en/register",
|
|
6221
6221
|
"contact-support": "https://www.docthub.com/contact-us"
|
|
6222
|
-
},
|
|
6222
|
+
}, Bt = Dl() === "production" ? Li : zi, vr = [{
|
|
6223
6223
|
id: "for-individuals-explore",
|
|
6224
6224
|
title: "Explore",
|
|
6225
6225
|
sections: [{
|
|
@@ -6352,25 +6352,25 @@ const Mi = {
|
|
|
6352
6352
|
id: "recruiter-solution",
|
|
6353
6353
|
label: "Recruiter Solution",
|
|
6354
6354
|
description: "Hiring Solution",
|
|
6355
|
-
href:
|
|
6355
|
+
href: Bt["recruiter-solution"],
|
|
6356
6356
|
icon: /* @__PURE__ */ c("img", { src: "/products/organization/jobs.svg", alt: "Recruiter Solution", className: "h-8 w-8 shrink-0", loading: "lazy" })
|
|
6357
6357
|
}, {
|
|
6358
6358
|
id: "institute-solution",
|
|
6359
6359
|
label: "Institute Solution",
|
|
6360
6360
|
description: "Education Business Solution",
|
|
6361
|
-
href:
|
|
6361
|
+
href: Bt["institute-solution"],
|
|
6362
6362
|
icon: /* @__PURE__ */ c("img", { src: "/products/organization/courses.svg", alt: "Institute Solution", className: "h-8 w-8 shrink-0", loading: "lazy" })
|
|
6363
6363
|
}, {
|
|
6364
6364
|
id: "events-organizer-solution",
|
|
6365
6365
|
label: "Events Organizer Solution",
|
|
6366
6366
|
description: "Event Management and Hosting Solution",
|
|
6367
|
-
href:
|
|
6367
|
+
href: Bt["events-organizer-solution"],
|
|
6368
6368
|
icon: /* @__PURE__ */ c("img", { src: "/products/organization/events.svg", alt: "Events Organizer Solution", className: "h-8 w-8 shrink-0", loading: "lazy" })
|
|
6369
6369
|
}, {
|
|
6370
6370
|
id: "membership-management",
|
|
6371
6371
|
label: "Membership Management",
|
|
6372
6372
|
description: "Digital Membership Management Solution",
|
|
6373
|
-
href:
|
|
6373
|
+
href: Bt["membership-management"],
|
|
6374
6374
|
icon: /* @__PURE__ */ c("img", { src: "/products/organization/membership-management.svg", alt: "Membership Management", className: "h-8 w-8 shrink-0", loading: "lazy" })
|
|
6375
6375
|
}]
|
|
6376
6376
|
}]
|
|
@@ -6381,19 +6381,24 @@ const Mi = {
|
|
|
6381
6381
|
sections: [{
|
|
6382
6382
|
id: "enterprise-main",
|
|
6383
6383
|
title: "Docthub Enterprise",
|
|
6384
|
-
items: [
|
|
6385
|
-
|
|
6386
|
-
|
|
6387
|
-
|
|
6388
|
-
|
|
6389
|
-
|
|
6390
|
-
|
|
6391
|
-
|
|
6392
|
-
|
|
6393
|
-
|
|
6394
|
-
|
|
6395
|
-
|
|
6396
|
-
|
|
6384
|
+
items: [
|
|
6385
|
+
{
|
|
6386
|
+
id: "what-is-enterprise",
|
|
6387
|
+
label: "What is Docthub Enterprise?",
|
|
6388
|
+
href: Bt["what-is-enterprise"]
|
|
6389
|
+
},
|
|
6390
|
+
// For Next Phase
|
|
6391
|
+
// {
|
|
6392
|
+
// id: "request-demo",
|
|
6393
|
+
// label: "Request Demo",
|
|
6394
|
+
// href: ORGANIZATION_NAV_ROUTES["request-demo"],
|
|
6395
|
+
// },
|
|
6396
|
+
{
|
|
6397
|
+
id: "contact-sales",
|
|
6398
|
+
label: "Contact Sales",
|
|
6399
|
+
href: Bt["contact-sales"]
|
|
6400
|
+
}
|
|
6401
|
+
],
|
|
6397
6402
|
hasSeparatorAfterIndex: 2
|
|
6398
6403
|
}, {
|
|
6399
6404
|
id: "popular-capabilities",
|
|
@@ -6402,12 +6407,12 @@ const Mi = {
|
|
|
6402
6407
|
items: [{
|
|
6403
6408
|
id: "digital-qr-check-in",
|
|
6404
6409
|
label: "Digital QR Check-In",
|
|
6405
|
-
href:
|
|
6410
|
+
href: Bt["qr-check-in-app"],
|
|
6406
6411
|
icon: /* @__PURE__ */ c("img", { src: "/products/qr-checkin.svg", alt: "Digital QR Check-In", className: "h-11 w-11 shrink-0", loading: "lazy" })
|
|
6407
6412
|
}, {
|
|
6408
6413
|
id: "candidate-search",
|
|
6409
6414
|
label: "Candidate Search",
|
|
6410
|
-
href:
|
|
6415
|
+
href: Bt["recruiter-solution"],
|
|
6411
6416
|
icon: /* @__PURE__ */ c("img", { src: "/products/candidate-search.svg", alt: "Candidate Search", className: "h-11 w-11 shrink-0", loading: "lazy" })
|
|
6412
6417
|
}]
|
|
6413
6418
|
}]
|
|
@@ -6422,12 +6427,12 @@ const Mi = {
|
|
|
6422
6427
|
{
|
|
6423
6428
|
id: "enterprise-login",
|
|
6424
6429
|
label: "Enterprise Login",
|
|
6425
|
-
href:
|
|
6430
|
+
href: Bt["enterprise-login"]
|
|
6426
6431
|
},
|
|
6427
6432
|
{
|
|
6428
6433
|
id: "create-enterprise-account",
|
|
6429
6434
|
label: "Create Enterprise/ Business Account",
|
|
6430
|
-
href:
|
|
6435
|
+
href: Bt["create-enterprise-account"]
|
|
6431
6436
|
}
|
|
6432
6437
|
// Hidden for now:
|
|
6433
6438
|
// { id: "contact-support", label: "Contact Support", href: ORGANIZATION_NAV_ROUTES["contact-support"] },
|
|
@@ -6554,9 +6559,9 @@ function ji(n) {
|
|
|
6554
6559
|
let h;
|
|
6555
6560
|
e[4] !== s || e[5] !== a ? (h = s ? /* @__PURE__ */ c("div", { className: k("mr-1 flex shrink-0 items-center justify-center rounded-[999px]", a ? "h-11 w-11" : "h-8 w-8"), children: s }) : null, e[4] = s, e[5] = a, e[6] = h) : h = e[6];
|
|
6556
6561
|
let b;
|
|
6557
|
-
e[7] !== r ? (b = /* @__PURE__ */ c(Se, { variant: "
|
|
6562
|
+
e[7] !== r ? (b = /* @__PURE__ */ c(Se, { variant: "textLabel2", weight: "semiBold", color: "#002830", className: "truncate font-semibold leading-5 text-primary", children: r }), e[7] = r, e[8] = b) : b = e[8];
|
|
6558
6563
|
let p;
|
|
6559
|
-
e[9] !== o ? (p = o ? /* @__PURE__ */ c(Se, { variant: "textLabel4", weight: "
|
|
6564
|
+
e[9] !== o ? (p = o ? /* @__PURE__ */ c(Se, { variant: "textLabel4", weight: "medium", color: "#70868B", className: "mt-0.5 line-clamp-2 leading-4 text-neutral-56", children: o }) : null, e[9] = o, e[10] = p) : p = e[10];
|
|
6560
6565
|
let g;
|
|
6561
6566
|
e[11] !== b || e[12] !== p ? (g = /* @__PURE__ */ S("div", { className: "flex-1 leading-none", children: [
|
|
6562
6567
|
b,
|
|
@@ -6985,7 +6990,7 @@ const oa = (n) => {
|
|
|
6985
6990
|
] }), e[7] = l, e[8] = s, e[9] = i) : i = e[9], i;
|
|
6986
6991
|
};
|
|
6987
6992
|
oa.displayName = "BreadcrumbEllipsis";
|
|
6988
|
-
const na =
|
|
6993
|
+
const na = Ft("absolute bg-current", {
|
|
6989
6994
|
variants: {
|
|
6990
6995
|
thickness: {
|
|
6991
6996
|
thin: "w-px",
|
|
@@ -7015,7 +7020,7 @@ const na = Tt("absolute bg-current", {
|
|
|
7015
7020
|
offset: "sm",
|
|
7016
7021
|
color: "teal"
|
|
7017
7022
|
}
|
|
7018
|
-
}), ia =
|
|
7023
|
+
}), ia = Ft("absolute -translate-x-1/2 transform z-10 rounded-full bg-current", {
|
|
7019
7024
|
variants: {
|
|
7020
7025
|
size: {
|
|
7021
7026
|
sm: "h-2 w-2",
|
|
@@ -7042,7 +7047,7 @@ const na = Tt("absolute bg-current", {
|
|
|
7042
7047
|
color: "teal",
|
|
7043
7048
|
y: "base"
|
|
7044
7049
|
}
|
|
7045
|
-
}), aa =
|
|
7050
|
+
}), aa = Ft("", {
|
|
7046
7051
|
variants: {
|
|
7047
7052
|
density: {
|
|
7048
7053
|
compact: "space-y-4",
|
|
@@ -7053,7 +7058,7 @@ const na = Tt("absolute bg-current", {
|
|
|
7053
7058
|
defaultVariants: {
|
|
7054
7059
|
density: "comfortable"
|
|
7055
7060
|
}
|
|
7056
|
-
}), ca =
|
|
7061
|
+
}), ca = Ft("", {
|
|
7057
7062
|
variants: {
|
|
7058
7063
|
indent: {
|
|
7059
7064
|
sm: "ml-7",
|
|
@@ -7230,7 +7235,7 @@ export {
|
|
|
7230
7235
|
Tn as DoctDropdownMenuTrigger,
|
|
7231
7236
|
Ua as DoctExpandableCard,
|
|
7232
7237
|
fc as DoctFooter,
|
|
7233
|
-
|
|
7238
|
+
Rt as DoctLabeledInput,
|
|
7234
7239
|
mc as DoctNavigationMenu,
|
|
7235
7240
|
Ba as DoctOtpInput,
|
|
7236
7241
|
ws as DoctPasswordInput,
|
|
@@ -7262,7 +7267,7 @@ export {
|
|
|
7262
7267
|
Pi as INDIVIDUAL_NAV_ROUTES_PROD,
|
|
7263
7268
|
Mi as INDIVIDUAL_NAV_ROUTES_QA,
|
|
7264
7269
|
Bi as IndividualNavigationMenu,
|
|
7265
|
-
|
|
7270
|
+
Bt as ORGANIZATION_NAV_ROUTES,
|
|
7266
7271
|
Li as ORGANIZATION_NAV_ROUTES_PROD,
|
|
7267
7272
|
zi as ORGANIZATION_NAV_ROUTES_QA,
|
|
7268
7273
|
Ji as OrganizationNavigationMenu,
|