@opencxh/ui-kit 3.179.0 → 3.180.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.cjs +3 -3
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +355 -347
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import { jsxs as c, jsx as e, Fragment as
|
|
1
|
+
import { jsxs as c, jsx as e, Fragment as Ee } from "react/jsx-runtime";
|
|
2
2
|
import le, { forwardRef as be, useState as B, useLayoutEffect as kt, useRef as se, useEffect as Q, createContext as rt, useId as Ct, useMemo as ge, useContext as St, useCallback as de, Component as Et } from "react";
|
|
3
3
|
import { clsx as Tt } from "clsx";
|
|
4
4
|
import * as Mt from "lucide-react";
|
|
5
|
-
import { X as Se, ChevronDown as Ie, ExternalLink as zt, Search as Oe, ChevronRight as Pe, Sparkles as At, ArrowUpRight as nt, ImageOff as Dt, ChevronLeft as
|
|
5
|
+
import { X as Se, ChevronDown as Ie, ExternalLink as zt, Search as Oe, ChevronRight as Pe, Sparkles as At, ArrowUpRight as nt, ImageOff as Dt, ChevronLeft as Te, Pencil as _t, Calendar as $t, Check as We, ChevronUp as Lt, Ellipsis as It, ChevronDownIcon as Ot, FileText as Re, HardDrive as Ge, ArrowLeft as Pt, FolderPlus as jt, Upload as Rt, Folder as Je, Trash2 as Ft, Plus as Bt, Loader2 as Ht, VideoOff as qt, User as Ut, MicOff as Vt, Mic as Kt } from "lucide-react";
|
|
6
6
|
import Ue from "dompurify";
|
|
7
7
|
import Wt from "react-markdown";
|
|
8
8
|
import Gt from "remark-gfm";
|
|
9
9
|
function d(...t) {
|
|
10
10
|
return Tt(t);
|
|
11
11
|
}
|
|
12
|
-
function
|
|
12
|
+
function ds(t) {
|
|
13
13
|
return (r, n) => t[r]?.[n] || "";
|
|
14
14
|
}
|
|
15
|
-
function
|
|
15
|
+
function us(t) {
|
|
16
16
|
return (r) => t[r] || "";
|
|
17
17
|
}
|
|
18
18
|
const Jt = {
|
|
@@ -102,7 +102,7 @@ const Jt = {
|
|
|
102
102
|
}
|
|
103
103
|
);
|
|
104
104
|
ae.displayName = "Button";
|
|
105
|
-
const
|
|
105
|
+
const ms = ({
|
|
106
106
|
children: t,
|
|
107
107
|
size: r = "md",
|
|
108
108
|
orientation: n = "horizontal",
|
|
@@ -191,7 +191,7 @@ function er(t) {
|
|
|
191
191
|
xl: 24
|
|
192
192
|
}[t];
|
|
193
193
|
}
|
|
194
|
-
function
|
|
194
|
+
function Me(t, r, { gap: n = 6, matchWidth: s = !1, placement: a = "bottom-start" } = {}) {
|
|
195
195
|
const [l, o] = B({});
|
|
196
196
|
return kt(() => {
|
|
197
197
|
if (!t) return;
|
|
@@ -216,7 +216,7 @@ const st = ({
|
|
|
216
216
|
disabled: o = !1,
|
|
217
217
|
triggerLabel: u
|
|
218
218
|
}) => {
|
|
219
|
-
const [i, p] = B(!1), m = se(null), f = se(null), g =
|
|
219
|
+
const [i, p] = B(!1), m = se(null), f = se(null), g = Me(i, f, { placement: n });
|
|
220
220
|
Q(() => {
|
|
221
221
|
if (!i) return;
|
|
222
222
|
const v = (C) => {
|
|
@@ -301,7 +301,7 @@ function sr({
|
|
|
301
301
|
title: g,
|
|
302
302
|
className: b
|
|
303
303
|
}) {
|
|
304
|
-
const w = l && !!p, v = s === "pill" ? "rounded-full" : "rounded-md", h = rr({ active: l, tone: n, shape: s, size: a, className: b }), C = /* @__PURE__ */ c(
|
|
304
|
+
const w = l && !!p, v = s === "pill" ? "rounded-full" : "rounded-md", h = rr({ active: l, tone: n, shape: s, size: a, className: b }), C = /* @__PURE__ */ c(Ee, { children: [
|
|
305
305
|
r,
|
|
306
306
|
t,
|
|
307
307
|
o && /* @__PURE__ */ e(Z, { icon: Ie, size: "xs" })
|
|
@@ -359,7 +359,7 @@ const ar = {
|
|
|
359
359
|
warning: "bg-warning-soft",
|
|
360
360
|
error: "bg-danger-soft",
|
|
361
361
|
info: "bg-info-soft"
|
|
362
|
-
},
|
|
362
|
+
}, fs = ({
|
|
363
363
|
variant: t = "default",
|
|
364
364
|
size: r = "md",
|
|
365
365
|
color: n = "primary",
|
|
@@ -509,7 +509,7 @@ function at({
|
|
|
509
509
|
children: /* @__PURE__ */ e(Ie, { className: "size-icon-md" })
|
|
510
510
|
}
|
|
511
511
|
),
|
|
512
|
-
children: (g) => /* @__PURE__ */ e(
|
|
512
|
+
children: (g) => /* @__PURE__ */ e(Ee, { children: l.map((b) => /* @__PURE__ */ c(
|
|
513
513
|
"button",
|
|
514
514
|
{
|
|
515
515
|
type: "button",
|
|
@@ -534,7 +534,7 @@ function at({
|
|
|
534
534
|
] })
|
|
535
535
|
);
|
|
536
536
|
}
|
|
537
|
-
const
|
|
537
|
+
const hs = ({
|
|
538
538
|
commands: t,
|
|
539
539
|
isOpen: r,
|
|
540
540
|
onClose: n,
|
|
@@ -644,7 +644,7 @@ const fs = ({
|
|
|
644
644
|
"[&_[data-mention-id]]:font-semibold",
|
|
645
645
|
"[&_[data-mention-id]]:px-1",
|
|
646
646
|
"[&_[data-mention-id]]:rounded-md"
|
|
647
|
-
].join(" "),
|
|
647
|
+
].join(" "), $e = "data-mention-id", mr = /<[a-z][\s\S]*>/i, fr = [
|
|
648
648
|
"[&_p]:my-1.5 [&_p:first-child]:mt-0 [&_p:last-child]:mb-0 [&_p]:leading-relaxed",
|
|
649
649
|
"[&_a]:text-accent [&_a]:underline [&_a]:underline-offset-2",
|
|
650
650
|
"[&_strong]:font-semibold [&_em]:italic",
|
|
@@ -661,15 +661,23 @@ const fs = ({
|
|
|
661
661
|
"[&_td]:border [&_td]:border-border [&_td]:px-2 [&_td]:py-1",
|
|
662
662
|
// A mention chip is stored as a bare `data-mention-id` span, so its look lives here.
|
|
663
663
|
lt
|
|
664
|
-
].join(" ")
|
|
664
|
+
].join(" ");
|
|
665
|
+
function hr(t, r) {
|
|
666
|
+
if (!t?.startsWith("mailto:")) return !1;
|
|
667
|
+
const n = typeof r == "string" ? r : null;
|
|
668
|
+
return n !== null && t === `mailto:${n}`;
|
|
669
|
+
}
|
|
670
|
+
const xr = {
|
|
665
671
|
p: (t) => /* @__PURE__ */ e("p", { className: "my-1.5 leading-relaxed first:mt-0 last:mb-0", ...t }),
|
|
666
|
-
a: (t) => /* @__PURE__ */ e(
|
|
672
|
+
a: ({ href: t, children: r, ...n }) => hr(t, r) ? /* @__PURE__ */ e(Ee, { children: r }) : /* @__PURE__ */ e(
|
|
667
673
|
"a",
|
|
668
674
|
{
|
|
669
675
|
className: "text-accent underline underline-offset-2 hover:opacity-80",
|
|
670
676
|
target: "_blank",
|
|
671
677
|
rel: "noopener noreferrer",
|
|
672
|
-
|
|
678
|
+
href: t,
|
|
679
|
+
...n,
|
|
680
|
+
children: r
|
|
673
681
|
}
|
|
674
682
|
),
|
|
675
683
|
strong: (t) => /* @__PURE__ */ e("strong", { className: "font-semibold", ...t }),
|
|
@@ -692,42 +700,42 @@ const fs = ({
|
|
|
692
700
|
th: (t) => /* @__PURE__ */ e("th", { className: "border border-border px-2 py-1 text-left font-semibold", ...t }),
|
|
693
701
|
td: (t) => /* @__PURE__ */ e("td", { className: "border border-border px-2 py-1", ...t })
|
|
694
702
|
};
|
|
695
|
-
function
|
|
703
|
+
function ze({ text: t, className: r, as: n }) {
|
|
696
704
|
const s = t ?? "";
|
|
697
705
|
return (n ? n === "html" : mr.test(s)) ? /* @__PURE__ */ e(
|
|
698
706
|
"div",
|
|
699
707
|
{
|
|
700
708
|
className: d("break-words", fr, r),
|
|
701
709
|
dangerouslySetInnerHTML: {
|
|
702
|
-
__html: Ue.sanitize(s, { ADD_ATTR: ["target", "rel",
|
|
710
|
+
__html: Ue.sanitize(s, { ADD_ATTR: ["target", "rel", $e] })
|
|
703
711
|
}
|
|
704
712
|
}
|
|
705
|
-
) : /* @__PURE__ */ e("div", { className: d("break-words", r), children: /* @__PURE__ */ e(Wt, { remarkPlugins: [Gt], components:
|
|
713
|
+
) : /* @__PURE__ */ e("div", { className: d("break-words", r), children: /* @__PURE__ */ e(Wt, { remarkPlugins: [Gt], components: xr, children: s }) });
|
|
706
714
|
}
|
|
707
|
-
const
|
|
715
|
+
const gr = {
|
|
708
716
|
info: "text-info-fg",
|
|
709
717
|
success: "text-success-fg",
|
|
710
718
|
warning: "text-warning-fg",
|
|
711
719
|
destructive: "text-danger-fg"
|
|
712
|
-
},
|
|
720
|
+
}, br = {
|
|
713
721
|
info: "bg-info-soft border-info-border",
|
|
714
722
|
success: "bg-success-soft border-success-border",
|
|
715
723
|
warning: "bg-warning-soft border-warning-border",
|
|
716
724
|
destructive: "bg-danger-soft border-danger-border"
|
|
717
|
-
},
|
|
725
|
+
}, pr = {
|
|
718
726
|
1: "grid-cols-1",
|
|
719
727
|
2: "grid-cols-2",
|
|
720
728
|
3: "grid-cols-3",
|
|
721
729
|
4: "grid-cols-4"
|
|
722
730
|
};
|
|
723
|
-
function
|
|
731
|
+
function vr({ block: t }) {
|
|
724
732
|
switch (t.type) {
|
|
725
733
|
case "heading":
|
|
726
734
|
return t.level === 1 ? /* @__PURE__ */ e("h1", { className: "text-2xl font-semibold tracking-tight text-text", children: t.text }) : t.level === 2 ? /* @__PURE__ */ e("h2", { className: "pt-2 text-base font-semibold tracking-tight text-text", children: t.text }) : /* @__PURE__ */ e("h3", { className: "pt-1 text-sm font-semibold text-text", children: t.text });
|
|
727
735
|
case "paragraph":
|
|
728
|
-
return /* @__PURE__ */ e(
|
|
736
|
+
return /* @__PURE__ */ e(ze, { as: "markdown", text: t.text, className: "text-sm text-text" });
|
|
729
737
|
case "quote":
|
|
730
|
-
return /* @__PURE__ */ e("blockquote", { className: "border-l-2 border-border pl-3.5", children: /* @__PURE__ */ e(
|
|
738
|
+
return /* @__PURE__ */ e("blockquote", { className: "border-l-2 border-border pl-3.5", children: /* @__PURE__ */ e(ze, { as: "markdown", text: t.text, className: "text-sm text-text-muted" }) });
|
|
731
739
|
case "code":
|
|
732
740
|
return /* @__PURE__ */ e("pre", { className: "overflow-x-auto rounded-lg bg-surface-sunk p-3 text-xs", children: /* @__PURE__ */ e("code", { className: "font-mono", children: t.text }) });
|
|
733
741
|
case "divider":
|
|
@@ -746,7 +754,7 @@ function pr({ block: t }) {
|
|
|
746
754
|
n.lead,
|
|
747
755
|
" "
|
|
748
756
|
] }),
|
|
749
|
-
/* @__PURE__ */ e(
|
|
757
|
+
/* @__PURE__ */ e(ze, { as: "markdown", text: n.text, className: "inline" })
|
|
750
758
|
] }, s))
|
|
751
759
|
}
|
|
752
760
|
);
|
|
@@ -780,13 +788,13 @@ function pr({ block: t }) {
|
|
|
780
788
|
t.caption && /* @__PURE__ */ e("figcaption", { className: "pt-2 text-xs italic text-text-subtle", children: t.caption })
|
|
781
789
|
] });
|
|
782
790
|
case "kpi":
|
|
783
|
-
return /* @__PURE__ */ e("div", { className: d("grid gap-3",
|
|
791
|
+
return /* @__PURE__ */ e("div", { className: d("grid gap-3", pr[t.items.length] ?? "grid-cols-4"), children: t.items.map((r, n) => /* @__PURE__ */ c("div", { className: "rounded-lg bg-surface-sunk px-4 py-3.5", children: [
|
|
784
792
|
/* @__PURE__ */ e(
|
|
785
793
|
"div",
|
|
786
794
|
{
|
|
787
795
|
className: d(
|
|
788
796
|
"text-2xl font-semibold tracking-tight",
|
|
789
|
-
r.tone ?
|
|
797
|
+
r.tone ? gr[r.tone] : "text-text"
|
|
790
798
|
),
|
|
791
799
|
children: r.value
|
|
792
800
|
}
|
|
@@ -794,15 +802,15 @@ function pr({ block: t }) {
|
|
|
794
802
|
/* @__PURE__ */ e("div", { className: "pt-0.5 text-xs text-text-muted", children: r.label })
|
|
795
803
|
] }, n)) });
|
|
796
804
|
case "callout":
|
|
797
|
-
return /* @__PURE__ */ c("div", { className: d("rounded-lg border px-4 py-3",
|
|
805
|
+
return /* @__PURE__ */ c("div", { className: d("rounded-lg border px-4 py-3", br[t.tone]), children: [
|
|
798
806
|
t.title && /* @__PURE__ */ e("div", { className: "pb-0.5 text-sm font-semibold text-text", children: t.title }),
|
|
799
|
-
/* @__PURE__ */ e(
|
|
807
|
+
/* @__PURE__ */ e(ze, { as: "markdown", text: t.text, className: "text-sm text-text" })
|
|
800
808
|
] });
|
|
801
809
|
default:
|
|
802
810
|
return null;
|
|
803
811
|
}
|
|
804
812
|
}
|
|
805
|
-
function
|
|
813
|
+
function xs({ blocks: t, runtime: r = "inert", className: n }) {
|
|
806
814
|
return r !== "inert" ? /* @__PURE__ */ c(
|
|
807
815
|
"div",
|
|
808
816
|
{
|
|
@@ -819,9 +827,9 @@ function hs({ blocks: t, runtime: r = "inert", className: n }) {
|
|
|
819
827
|
] })
|
|
820
828
|
]
|
|
821
829
|
}
|
|
822
|
-
) : /* @__PURE__ */ e("article", { className: d("flex flex-col gap-4", n), children: t.map((s, a) => /* @__PURE__ */ e(
|
|
830
|
+
) : /* @__PURE__ */ e("article", { className: d("flex flex-col gap-4", n), children: t.map((s, a) => /* @__PURE__ */ e(vr, { block: s }, s.block_id ?? a)) });
|
|
823
831
|
}
|
|
824
|
-
function
|
|
832
|
+
function gs({
|
|
825
833
|
title: t,
|
|
826
834
|
icon: r = /* @__PURE__ */ e(At, { className: "size-icon-md", "aria-hidden": !0 }),
|
|
827
835
|
action: n,
|
|
@@ -849,8 +857,8 @@ function xs({
|
|
|
849
857
|
}
|
|
850
858
|
);
|
|
851
859
|
}
|
|
852
|
-
const
|
|
853
|
-
function
|
|
860
|
+
const yr = 5;
|
|
861
|
+
function Nr(t) {
|
|
854
862
|
let r = 2166136261;
|
|
855
863
|
for (let n = 0; n < t.length; n++)
|
|
856
864
|
r ^= t.charCodeAt(n), r = Math.imul(r, 16777619);
|
|
@@ -858,15 +866,15 @@ function yr(t) {
|
|
|
858
866
|
}
|
|
859
867
|
function ot(t) {
|
|
860
868
|
const r = (t ?? "").trim().toLowerCase();
|
|
861
|
-
return r ?
|
|
869
|
+
return r ? Nr(r) % yr + 1 : 1;
|
|
862
870
|
}
|
|
863
|
-
const
|
|
871
|
+
const wr = {
|
|
864
872
|
1: "bg-cat-1-soft text-cat-1-fg",
|
|
865
873
|
2: "bg-cat-2-soft text-cat-2-fg",
|
|
866
874
|
3: "bg-cat-3-soft text-cat-3-fg",
|
|
867
875
|
4: "bg-cat-4-soft text-cat-4-fg",
|
|
868
876
|
5: "bg-cat-5-soft text-cat-5-fg"
|
|
869
|
-
},
|
|
877
|
+
}, kr = {
|
|
870
878
|
1: "bg-cat-1",
|
|
871
879
|
2: "bg-cat-2",
|
|
872
880
|
3: "bg-cat-3",
|
|
@@ -874,23 +882,23 @@ const Nr = {
|
|
|
874
882
|
5: "bg-cat-5"
|
|
875
883
|
};
|
|
876
884
|
function ct(t) {
|
|
877
|
-
return Nr[ot(t)];
|
|
878
|
-
}
|
|
879
|
-
function gs(t) {
|
|
880
885
|
return wr[ot(t)];
|
|
881
886
|
}
|
|
882
|
-
|
|
887
|
+
function bs(t) {
|
|
888
|
+
return kr[ot(t)];
|
|
889
|
+
}
|
|
890
|
+
const Cr = {
|
|
883
891
|
default: "bg-avatar text-avatar-fg",
|
|
884
892
|
in: "bg-avatar-in text-avatar-in-fg",
|
|
885
893
|
out: "bg-accent text-accent-fg",
|
|
886
894
|
note: "bg-avatar-note text-avatar-note-fg"
|
|
887
|
-
},
|
|
895
|
+
}, Sr = {
|
|
888
896
|
xs: "w-5 h-5 text-xs",
|
|
889
897
|
sm: "w-6 h-6 text-xs",
|
|
890
898
|
md: "w-7 h-7 text-base",
|
|
891
899
|
lg: "w-9 h-9 text-sm"
|
|
892
900
|
};
|
|
893
|
-
function
|
|
901
|
+
function Er(t) {
|
|
894
902
|
if (!t) return "?";
|
|
895
903
|
const r = t.trim().split(/[^\p{L}\p{N}]+/u).filter(Boolean);
|
|
896
904
|
return r.length >= 2 ? (r[0][0] + r[1][0]).toUpperCase() : r.length === 1 ? r[0].slice(0, 2).toUpperCase() : "?";
|
|
@@ -910,8 +918,8 @@ const it = ({
|
|
|
910
918
|
"inline-flex items-center justify-center rounded-full overflow-hidden shrink-0 font-semibold select-none",
|
|
911
919
|
// `identity` is seeded on the name, so the same person keeps their colour
|
|
912
920
|
// wherever they appear; the fixed tones stay as they were.
|
|
913
|
-
n === "identity" ? ct(t) :
|
|
914
|
-
|
|
921
|
+
n === "identity" ? ct(t) : Cr[n],
|
|
922
|
+
Sr[s],
|
|
915
923
|
a
|
|
916
924
|
);
|
|
917
925
|
return r && !o ? /* @__PURE__ */ e(
|
|
@@ -923,8 +931,8 @@ const it = ({
|
|
|
923
931
|
className: d(i, "object-cover"),
|
|
924
932
|
onError: () => u(!0)
|
|
925
933
|
}
|
|
926
|
-
) : /* @__PURE__ */ e("span", { className: i, title: l ?? t, "aria-label": t, children:
|
|
927
|
-
}, Ye = "ring-surface",
|
|
934
|
+
) : /* @__PURE__ */ e("span", { className: i, title: l ?? t, "aria-label": t, children: Er(t) });
|
|
935
|
+
}, Ye = "ring-surface", Tr = "ring-surface-accent", ps = ({
|
|
928
936
|
people: t,
|
|
929
937
|
max: r = 4,
|
|
930
938
|
size: n = "sm",
|
|
@@ -942,7 +950,7 @@ const it = ({
|
|
|
942
950
|
title: o.name ? o.seen === !1 ? `${o.name} — nog niet gelezen` : o.name : void 0,
|
|
943
951
|
className: d(
|
|
944
952
|
u > 0 && "-ml-2",
|
|
945
|
-
o.owner ?
|
|
953
|
+
o.owner ? Tr : Ye,
|
|
946
954
|
o.seen === !1 && "opacity-40"
|
|
947
955
|
)
|
|
948
956
|
},
|
|
@@ -965,18 +973,18 @@ const it = ({
|
|
|
965
973
|
}
|
|
966
974
|
)
|
|
967
975
|
] });
|
|
968
|
-
},
|
|
976
|
+
}, Mr = {
|
|
969
977
|
neutral: "bg-surface-sunk",
|
|
970
978
|
out: "bg-bubble-out-soft",
|
|
971
979
|
note: "bg-note-soft",
|
|
972
980
|
assistant: "bg-assistant-soft"
|
|
973
|
-
},
|
|
981
|
+
}, zr = {
|
|
974
982
|
neutral: "text-text",
|
|
975
983
|
out: "text-text",
|
|
976
984
|
note: "text-note",
|
|
977
985
|
assistant: "text-text"
|
|
978
986
|
};
|
|
979
|
-
function
|
|
987
|
+
function vs({
|
|
980
988
|
avatar: t,
|
|
981
989
|
title: r,
|
|
982
990
|
context: n,
|
|
@@ -993,7 +1001,7 @@ function ps({
|
|
|
993
1001
|
/* @__PURE__ */ c(
|
|
994
1002
|
"div",
|
|
995
1003
|
{
|
|
996
|
-
className: d("min-w-0 flex-1 overflow-hidden rounded-lg px-4 py-3.5",
|
|
1004
|
+
className: d("min-w-0 flex-1 overflow-hidden rounded-lg px-4 py-3.5", Mr[l]),
|
|
997
1005
|
children: [
|
|
998
1006
|
/* @__PURE__ */ c("div", { className: "flex items-baseline gap-2", children: [
|
|
999
1007
|
/* @__PURE__ */ e(
|
|
@@ -1002,7 +1010,7 @@ function ps({
|
|
|
1002
1010
|
className: d(
|
|
1003
1011
|
"min-w-0 truncate text-md font-semibold",
|
|
1004
1012
|
!n && "flex-1",
|
|
1005
|
-
|
|
1013
|
+
zr[l]
|
|
1006
1014
|
),
|
|
1007
1015
|
children: r
|
|
1008
1016
|
}
|
|
@@ -1022,15 +1030,15 @@ function ps({
|
|
|
1022
1030
|
u
|
|
1023
1031
|
] });
|
|
1024
1032
|
}
|
|
1025
|
-
const
|
|
1026
|
-
function
|
|
1033
|
+
const ys = "hover:bg-surface-track";
|
|
1034
|
+
function Ns({
|
|
1027
1035
|
name: t,
|
|
1028
1036
|
src: r,
|
|
1029
1037
|
tone: n = "in"
|
|
1030
1038
|
}) {
|
|
1031
1039
|
return /* @__PURE__ */ e(it, { name: t, src: r, tone: n, size: "sm" });
|
|
1032
1040
|
}
|
|
1033
|
-
function
|
|
1041
|
+
function ws({
|
|
1034
1042
|
icon: t,
|
|
1035
1043
|
tone: r = "neutral",
|
|
1036
1044
|
title: n
|
|
@@ -1047,10 +1055,10 @@ function Ns({
|
|
|
1047
1055
|
}
|
|
1048
1056
|
);
|
|
1049
1057
|
}
|
|
1050
|
-
function
|
|
1058
|
+
function ks({ children: t, className: r }) {
|
|
1051
1059
|
return /* @__PURE__ */ e("div", { className: d("flex items-center gap-2.5 rounded-md bg-surface px-3 py-2.5", r), children: t });
|
|
1052
1060
|
}
|
|
1053
|
-
function
|
|
1061
|
+
function Cs({ icon: t, text: r, time: n, joinUrl: s, joinLabel: a }) {
|
|
1054
1062
|
const l = Zt(t);
|
|
1055
1063
|
return /* @__PURE__ */ c("div", { className: "flex items-center gap-2 py-1.5 pl-10.5 text-xs text-text-subtle", children: [
|
|
1056
1064
|
l && /* @__PURE__ */ e(Z, { icon: l, size: "sm", color: "current" }),
|
|
@@ -1073,43 +1081,43 @@ function ks({ icon: t, text: r, time: n, joinUrl: s, joinLabel: a }) {
|
|
|
1073
1081
|
)
|
|
1074
1082
|
] });
|
|
1075
1083
|
}
|
|
1076
|
-
const
|
|
1084
|
+
const Ae = {
|
|
1077
1085
|
mail: { fg: "text-channel-mail-fg", bg: "bg-channel-mail-soft" },
|
|
1078
1086
|
wa: { fg: "text-channel-whatsapp-fg", bg: "bg-channel-whatsapp-soft" },
|
|
1079
1087
|
chat: { fg: "text-channel-chat-fg", bg: "bg-channel-chat-soft" },
|
|
1080
1088
|
tel: { fg: "text-channel-phone-fg", bg: "bg-channel-phone-soft" },
|
|
1081
1089
|
note: { fg: "text-channel-note-fg", bg: "bg-channel-note-soft" }
|
|
1082
|
-
},
|
|
1090
|
+
}, Ar = {
|
|
1083
1091
|
sm: "size-avatar-xs rounded-sm text-xs",
|
|
1084
1092
|
md: "size-avatar-sm rounded-md text-xs",
|
|
1085
1093
|
lg: "size-avatar-lg rounded-md text-base"
|
|
1086
1094
|
};
|
|
1087
|
-
function
|
|
1095
|
+
function Ss({
|
|
1088
1096
|
channel: t,
|
|
1089
1097
|
children: r,
|
|
1090
1098
|
size: n = "md",
|
|
1091
1099
|
className: s,
|
|
1092
1100
|
title: a
|
|
1093
1101
|
}) {
|
|
1094
|
-
const l = t in
|
|
1102
|
+
const l = t in Ae ? Ae[t] : void 0;
|
|
1095
1103
|
return /* @__PURE__ */ e(
|
|
1096
1104
|
"span",
|
|
1097
1105
|
{
|
|
1098
1106
|
title: a,
|
|
1099
1107
|
className: d(
|
|
1100
1108
|
"inline-flex shrink-0 items-center justify-center font-bold",
|
|
1101
|
-
|
|
1109
|
+
Ar[n],
|
|
1102
1110
|
// An undeclared channel used to collapse onto the neutral "note" tone,
|
|
1103
1111
|
// which is also what a real internal note looks like. Deriving from the
|
|
1104
1112
|
// key keeps it distinguishable and keeps `note` meaning `note`.
|
|
1105
|
-
l ? d(l.fg, l.bg) : t ? ct(t) : d(
|
|
1113
|
+
l ? d(l.fg, l.bg) : t ? ct(t) : d(Ae.note.fg, Ae.note.bg),
|
|
1106
1114
|
s
|
|
1107
1115
|
),
|
|
1108
1116
|
children: r
|
|
1109
1117
|
}
|
|
1110
1118
|
);
|
|
1111
1119
|
}
|
|
1112
|
-
const
|
|
1120
|
+
const Es = ({
|
|
1113
1121
|
src: t,
|
|
1114
1122
|
alt: r,
|
|
1115
1123
|
size: n = "md",
|
|
@@ -1186,28 +1194,28 @@ const Ss = ({
|
|
|
1186
1194
|
w && l && /* @__PURE__ */ e("div", { className: I, children: i || O }),
|
|
1187
1195
|
h && o && /* @__PURE__ */ e("div", { className: I, children: p || H })
|
|
1188
1196
|
] });
|
|
1189
|
-
},
|
|
1197
|
+
}, Dr = {
|
|
1190
1198
|
default: "text-text",
|
|
1191
1199
|
urgent: "text-danger-fg",
|
|
1192
1200
|
success: "text-success-fg"
|
|
1193
1201
|
};
|
|
1194
|
-
function
|
|
1202
|
+
function Ts({ value: t, label: r, tone: n = "default", className: s, ...a }) {
|
|
1195
1203
|
return /* @__PURE__ */ c("div", { className: d("rounded-xl bg-editor px-4 py-3.5", s), ...a, children: [
|
|
1196
|
-
/* @__PURE__ */ e("div", { className: d("text-2xl font-semibold",
|
|
1204
|
+
/* @__PURE__ */ e("div", { className: d("text-2xl font-semibold", Dr[n]), children: t }),
|
|
1197
1205
|
/* @__PURE__ */ e("div", { className: "pt-0.5 text-xs text-text-muted", children: r })
|
|
1198
1206
|
] });
|
|
1199
1207
|
}
|
|
1200
|
-
const
|
|
1208
|
+
const _r = {
|
|
1201
1209
|
sm: "size-checkbox-sm",
|
|
1202
1210
|
md: "size-checkbox",
|
|
1203
1211
|
lg: "size-checkbox-lg",
|
|
1204
1212
|
full: "size-checkbox"
|
|
1205
|
-
},
|
|
1213
|
+
}, $r = {
|
|
1206
1214
|
sm: "min-h-control-sm",
|
|
1207
1215
|
md: "min-h-control-md",
|
|
1208
1216
|
lg: "min-h-control-lg",
|
|
1209
1217
|
full: "min-h-control-md"
|
|
1210
|
-
},
|
|
1218
|
+
}, Lr = {
|
|
1211
1219
|
sm: "text-sm",
|
|
1212
1220
|
md: "text-base",
|
|
1213
1221
|
lg: "text-md",
|
|
@@ -1234,7 +1242,7 @@ const Dr = {
|
|
|
1234
1242
|
return le.useEffect(() => {
|
|
1235
1243
|
w.current && (w.current.indeterminate = a);
|
|
1236
1244
|
}, [a]), /* @__PURE__ */ c("div", { className: d("flex flex-col", l), children: [
|
|
1237
|
-
/* @__PURE__ */ c("div", { className: d("flex items-center gap-3",
|
|
1245
|
+
/* @__PURE__ */ c("div", { className: d("flex items-center gap-3", $r[s]), children: [
|
|
1238
1246
|
/* @__PURE__ */ e(
|
|
1239
1247
|
"input",
|
|
1240
1248
|
{
|
|
@@ -1251,7 +1259,7 @@ const Dr = {
|
|
|
1251
1259
|
"transition-colors duration-fast ease-out",
|
|
1252
1260
|
"focus-visible:outline-none focus-visible:focus-ring",
|
|
1253
1261
|
"disabled:cursor-not-allowed disabled:bg-surface-hover",
|
|
1254
|
-
|
|
1262
|
+
_r[s],
|
|
1255
1263
|
b ? "border-danger-border" : "border-border-strong",
|
|
1256
1264
|
u
|
|
1257
1265
|
),
|
|
@@ -1266,7 +1274,7 @@ const Dr = {
|
|
|
1266
1274
|
className: d(
|
|
1267
1275
|
"cursor-pointer",
|
|
1268
1276
|
b ? "text-danger-fg" : "text-text",
|
|
1269
|
-
|
|
1277
|
+
Lr[s],
|
|
1270
1278
|
o
|
|
1271
1279
|
),
|
|
1272
1280
|
children: t
|
|
@@ -1280,7 +1288,7 @@ const Dr = {
|
|
|
1280
1288
|
}
|
|
1281
1289
|
);
|
|
1282
1290
|
we.displayName = "Checkbox";
|
|
1283
|
-
function
|
|
1291
|
+
function Ms({
|
|
1284
1292
|
icon: t,
|
|
1285
1293
|
onClick: r,
|
|
1286
1294
|
children: n
|
|
@@ -1303,7 +1311,7 @@ function Ts({
|
|
|
1303
1311
|
}
|
|
1304
1312
|
);
|
|
1305
1313
|
}
|
|
1306
|
-
function
|
|
1314
|
+
function zs({
|
|
1307
1315
|
items: t,
|
|
1308
1316
|
getRowKey: r,
|
|
1309
1317
|
variant: n = "divided",
|
|
@@ -1464,7 +1472,7 @@ function Ms({
|
|
|
1464
1472
|
children: b ? b(
|
|
1465
1473
|
q,
|
|
1466
1474
|
R.map((he) => he.item)
|
|
1467
|
-
) : /* @__PURE__ */ c(
|
|
1475
|
+
) : /* @__PURE__ */ c(Ee, { children: [
|
|
1468
1476
|
v && /* @__PURE__ */ e(
|
|
1469
1477
|
Pe,
|
|
1470
1478
|
{
|
|
@@ -1543,7 +1551,7 @@ function Ms({
|
|
|
1543
1551
|
] }) })
|
|
1544
1552
|
] });
|
|
1545
1553
|
}
|
|
1546
|
-
function
|
|
1554
|
+
function As({
|
|
1547
1555
|
side: t,
|
|
1548
1556
|
continued: r = !1,
|
|
1549
1557
|
tone: n = "default",
|
|
@@ -1576,7 +1584,7 @@ function zs({
|
|
|
1576
1584
|
}
|
|
1577
1585
|
);
|
|
1578
1586
|
}
|
|
1579
|
-
function
|
|
1587
|
+
function Ds({ icon: t, label: r, unset: n, className: s }) {
|
|
1580
1588
|
return /* @__PURE__ */ c(
|
|
1581
1589
|
"span",
|
|
1582
1590
|
{
|
|
@@ -1592,11 +1600,11 @@ function As({ icon: t, label: r, unset: n, className: s }) {
|
|
|
1592
1600
|
}
|
|
1593
1601
|
);
|
|
1594
1602
|
}
|
|
1595
|
-
function
|
|
1603
|
+
function _s() {
|
|
1596
1604
|
return /* @__PURE__ */ e("span", { "aria-hidden": !0, className: "shrink-0 text-text-disabled", children: "·" });
|
|
1597
1605
|
}
|
|
1598
1606
|
const fe = ({ className: t }) => /* @__PURE__ */ e("span", { className: d("block rounded-xs bg-surface-hover", t) });
|
|
1599
|
-
function
|
|
1607
|
+
function Ir({
|
|
1600
1608
|
shape: t,
|
|
1601
1609
|
rows: r,
|
|
1602
1610
|
columns: n
|
|
@@ -1663,7 +1671,7 @@ function Lr({
|
|
|
1663
1671
|
] });
|
|
1664
1672
|
}
|
|
1665
1673
|
}
|
|
1666
|
-
const
|
|
1674
|
+
const Or = {
|
|
1667
1675
|
text: 2,
|
|
1668
1676
|
table: 8,
|
|
1669
1677
|
list: 6,
|
|
@@ -1682,10 +1690,10 @@ function Ve({
|
|
|
1682
1690
|
tableColumns: u,
|
|
1683
1691
|
tableRows: i
|
|
1684
1692
|
}) {
|
|
1685
|
-
const p = r ?? (o ? "table" : "text"), m = n ?? i ??
|
|
1693
|
+
const p = r ?? (o ? "table" : "text"), m = n ?? i ?? Or[p], f = s ?? u ?? (p === "cards" ? 3 : 6), g = /* @__PURE__ */ e("div", { className: d("w-full animate-pulse", l), "aria-hidden": !0, children: a ?? /* @__PURE__ */ e(Ir, { shape: p, rows: m, columns: f }) });
|
|
1686
1694
|
return t === "inline" ? g : /* @__PURE__ */ e("main", { className: "flex-1 bg-surface p-6", children: g });
|
|
1687
1695
|
}
|
|
1688
|
-
const
|
|
1696
|
+
const Pr = ({
|
|
1689
1697
|
surface: t = !1,
|
|
1690
1698
|
title: r,
|
|
1691
1699
|
subtitle: n,
|
|
@@ -1734,7 +1742,7 @@ const Or = ({
|
|
|
1734
1742
|
{
|
|
1735
1743
|
variant: "ghost",
|
|
1736
1744
|
onClick: p,
|
|
1737
|
-
leftIcon: /* @__PURE__ */ e(Z, { icon:
|
|
1745
|
+
leftIcon: /* @__PURE__ */ e(Z, { icon: Te, size: "md" }),
|
|
1738
1746
|
iconOnly: !0
|
|
1739
1747
|
}
|
|
1740
1748
|
),
|
|
@@ -1820,11 +1828,11 @@ const Or = ({
|
|
|
1820
1828
|
]
|
|
1821
1829
|
}
|
|
1822
1830
|
);
|
|
1823
|
-
},
|
|
1831
|
+
}, jr = {
|
|
1824
1832
|
none: "",
|
|
1825
1833
|
sm: "px-3 pb-3 pt-1",
|
|
1826
1834
|
md: "px-5 pb-5 pt-1.5"
|
|
1827
|
-
},
|
|
1835
|
+
}, $s = ({
|
|
1828
1836
|
title: t,
|
|
1829
1837
|
subtitle: r,
|
|
1830
1838
|
meta: n,
|
|
@@ -1857,7 +1865,7 @@ const Or = ({
|
|
|
1857
1865
|
),
|
|
1858
1866
|
children: [
|
|
1859
1867
|
/* @__PURE__ */ e(
|
|
1860
|
-
|
|
1868
|
+
Pr,
|
|
1861
1869
|
{
|
|
1862
1870
|
surface: u,
|
|
1863
1871
|
title: t,
|
|
@@ -1876,7 +1884,7 @@ const Or = ({
|
|
|
1876
1884
|
{
|
|
1877
1885
|
className: d(
|
|
1878
1886
|
b && "min-h-0 flex-1 overflow-y-auto",
|
|
1879
|
-
|
|
1887
|
+
jr[g],
|
|
1880
1888
|
v
|
|
1881
1889
|
),
|
|
1882
1890
|
children: C
|
|
@@ -1914,32 +1922,32 @@ const Or = ({
|
|
|
1914
1922
|
},
|
|
1915
1923
|
s.id
|
|
1916
1924
|
)
|
|
1917
|
-
) }),
|
|
1925
|
+
) }), Rr = {
|
|
1918
1926
|
none: "p-0",
|
|
1919
1927
|
sm: "p-2",
|
|
1920
1928
|
md: "px-5 py-4",
|
|
1921
1929
|
lg: "p-6"
|
|
1922
|
-
},
|
|
1930
|
+
}, Ls = ({
|
|
1923
1931
|
actions: t = [],
|
|
1924
1932
|
onBack: r,
|
|
1925
1933
|
backLabel: n = "Back",
|
|
1926
1934
|
className: s,
|
|
1927
1935
|
padding: a = "md",
|
|
1928
1936
|
children: l
|
|
1929
|
-
}) => /* @__PURE__ */ c("div", { className: d("flex items-center gap-2",
|
|
1937
|
+
}) => /* @__PURE__ */ c("div", { className: d("flex items-center gap-2", Rr[a], s), children: [
|
|
1930
1938
|
r && /* @__PURE__ */ e(
|
|
1931
1939
|
ae,
|
|
1932
1940
|
{
|
|
1933
1941
|
variant: "secondary",
|
|
1934
1942
|
onClick: r,
|
|
1935
1943
|
"aria-label": n,
|
|
1936
|
-
leftIcon: /* @__PURE__ */ e(Z, { icon:
|
|
1944
|
+
leftIcon: /* @__PURE__ */ e(Z, { icon: Te, size: "sm" }),
|
|
1937
1945
|
iconOnly: !0
|
|
1938
1946
|
}
|
|
1939
1947
|
),
|
|
1940
1948
|
l && /* @__PURE__ */ e("div", { className: "min-w-0 flex-1", children: l }),
|
|
1941
1949
|
/* @__PURE__ */ e(ke, { actions: t, className: d(!l && "ml-auto") })
|
|
1942
|
-
] }),
|
|
1950
|
+
] }), Is = ({
|
|
1943
1951
|
label: t,
|
|
1944
1952
|
meta: r,
|
|
1945
1953
|
action: n,
|
|
@@ -1949,7 +1957,7 @@ const Or = ({
|
|
|
1949
1957
|
r && /* @__PURE__ */ e("span", { className: "min-w-0 flex-1 truncate text-right text-xs tabular-nums text-text-subtle", children: r }),
|
|
1950
1958
|
n && /* @__PURE__ */ e("span", { className: "ml-auto shrink-0", children: n })
|
|
1951
1959
|
] });
|
|
1952
|
-
function
|
|
1960
|
+
function Os({
|
|
1953
1961
|
label: t,
|
|
1954
1962
|
trailing: r,
|
|
1955
1963
|
align: n = "center",
|
|
@@ -1963,11 +1971,11 @@ function Is({
|
|
|
1963
1971
|
r && /* @__PURE__ */ e("span", { className: "shrink-0", children: r })
|
|
1964
1972
|
] });
|
|
1965
1973
|
}
|
|
1966
|
-
const dt = rt(null),
|
|
1967
|
-
function
|
|
1974
|
+
const dt = rt(null), Ps = dt.Provider;
|
|
1975
|
+
function Fr() {
|
|
1968
1976
|
return St(dt);
|
|
1969
1977
|
}
|
|
1970
|
-
function
|
|
1978
|
+
function js() {
|
|
1971
1979
|
const [t, r] = B(null), n = ge(
|
|
1972
1980
|
() => ({
|
|
1973
1981
|
setTrail: (s, a) => r((l) => a ? { ownerId: s, entry: a } : l && l.ownerId !== s ? l : null)
|
|
@@ -1976,13 +1984,13 @@ function Ps() {
|
|
|
1976
1984
|
);
|
|
1977
1985
|
return { trail: t?.entry ?? null, api: n };
|
|
1978
1986
|
}
|
|
1979
|
-
const
|
|
1987
|
+
const Br = {
|
|
1980
1988
|
none: "",
|
|
1981
1989
|
sm: "px-3 py-3",
|
|
1982
1990
|
// Matches the frame header's own horizontal padding, so content lines up
|
|
1983
1991
|
// with the title above it.
|
|
1984
1992
|
md: "px-5 py-4"
|
|
1985
|
-
},
|
|
1993
|
+
}, Rs = ({
|
|
1986
1994
|
children: t,
|
|
1987
1995
|
actions: r = [],
|
|
1988
1996
|
secondaryActions: n = [],
|
|
@@ -1996,7 +2004,7 @@ const Fr = {
|
|
|
1996
2004
|
className: m,
|
|
1997
2005
|
contentClassName: f
|
|
1998
2006
|
}) => {
|
|
1999
|
-
const g =
|
|
2007
|
+
const g = Fr(), b = Ct(), w = se(a);
|
|
2000
2008
|
w.current = a;
|
|
2001
2009
|
const v = !!a, h = se(r);
|
|
2002
2010
|
h.current = r;
|
|
@@ -2044,7 +2052,7 @@ const Fr = {
|
|
|
2044
2052
|
variant: "ghost",
|
|
2045
2053
|
onClick: () => w.current?.(),
|
|
2046
2054
|
"aria-label": l,
|
|
2047
|
-
leftIcon: /* @__PURE__ */ e(Z, { icon:
|
|
2055
|
+
leftIcon: /* @__PURE__ */ e(Z, { icon: Te, size: "sm" }),
|
|
2048
2056
|
iconOnly: !0
|
|
2049
2057
|
}
|
|
2050
2058
|
),
|
|
@@ -2054,7 +2062,7 @@ const Fr = {
|
|
|
2054
2062
|
r.length > 0 && /* @__PURE__ */ e(ke, { actions: r })
|
|
2055
2063
|
] })
|
|
2056
2064
|
] }),
|
|
2057
|
-
/* @__PURE__ */ e("div", { className: d("flex-1",
|
|
2065
|
+
/* @__PURE__ */ e("div", { className: d("flex-1", Br[p], f), children: u ? /* @__PURE__ */ e(Ve, { variant: "inline", shape: i }) : t }),
|
|
2058
2066
|
Y && /* @__PURE__ */ c("div", { className: "sticky bottom-0 z-10 flex shrink-0 items-center gap-2 border-t border-border bg-surface px-5 py-3", children: [
|
|
2059
2067
|
n.length > 0 && /* @__PURE__ */ e(ke, { actions: n, defaultVariant: "ghost" }),
|
|
2060
2068
|
r.length > 0 && /* @__PURE__ */ e(ke, { actions: r, className: "ml-auto" })
|
|
@@ -2062,7 +2070,7 @@ const Fr = {
|
|
|
2062
2070
|
] })
|
|
2063
2071
|
);
|
|
2064
2072
|
};
|
|
2065
|
-
function
|
|
2073
|
+
function Fs({
|
|
2066
2074
|
label: t,
|
|
2067
2075
|
description: r,
|
|
2068
2076
|
control: n,
|
|
@@ -2089,7 +2097,7 @@ function Rs({
|
|
|
2089
2097
|
}
|
|
2090
2098
|
);
|
|
2091
2099
|
}
|
|
2092
|
-
function
|
|
2100
|
+
function Bs({
|
|
2093
2101
|
icon: t,
|
|
2094
2102
|
title: r,
|
|
2095
2103
|
description: n,
|
|
@@ -2109,7 +2117,7 @@ function Fs({
|
|
|
2109
2117
|
/* @__PURE__ */ e("div", { className: d("flex flex-col", t && "pl-6"), children: a })
|
|
2110
2118
|
] });
|
|
2111
2119
|
}
|
|
2112
|
-
function
|
|
2120
|
+
function Hs({ label: t, dotColor: r, onClick: n, className: s }) {
|
|
2113
2121
|
return /* @__PURE__ */ c(
|
|
2114
2122
|
"button",
|
|
2115
2123
|
{
|
|
@@ -2134,7 +2142,7 @@ function Bs({ label: t, dotColor: r, onClick: n, className: s }) {
|
|
|
2134
2142
|
}
|
|
2135
2143
|
);
|
|
2136
2144
|
}
|
|
2137
|
-
const
|
|
2145
|
+
const Hr = () => /* @__PURE__ */ e(Z, { icon: $t, size: "md", color: "current" }), qr = () => /* @__PURE__ */ e(Z, { icon: Te, size: "md", color: "current" }), Ur = () => /* @__PURE__ */ e(Z, { icon: Pe, size: "md", color: "current" }), He = be(
|
|
2138
2146
|
({
|
|
2139
2147
|
value: t,
|
|
2140
2148
|
onChange: r,
|
|
@@ -2148,7 +2156,7 @@ const Br = () => /* @__PURE__ */ e(Z, { icon: $t, size: "md", color: "current" }
|
|
|
2148
2156
|
format: p = "MM/dd/yyyy",
|
|
2149
2157
|
withTime: m = !1
|
|
2150
2158
|
}, f) => {
|
|
2151
|
-
const [g, b] = B(!1), [w, v] = B(() => t || /* @__PURE__ */ new Date()), h = se(null), C = se(null), k =
|
|
2159
|
+
const [g, b] = B(!1), [w, v] = B(() => t || /* @__PURE__ */ new Date()), h = se(null), C = se(null), k = Me(g, C);
|
|
2152
2160
|
Q(() => {
|
|
2153
2161
|
const y = (x) => {
|
|
2154
2162
|
h.current && !h.current.contains(x.target) && b(!1);
|
|
@@ -2238,7 +2246,7 @@ const Br = () => /* @__PURE__ */ e(Z, { icon: $t, size: "md", color: "current" }
|
|
|
2238
2246
|
onClick: () => !s && b(!g),
|
|
2239
2247
|
disabled: s,
|
|
2240
2248
|
className: "absolute inset-y-0 right-0 flex items-center pr-3 text-text-muted hover:text-text-muted",
|
|
2241
|
-
children: /* @__PURE__ */ e(
|
|
2249
|
+
children: /* @__PURE__ */ e(Hr, {})
|
|
2242
2250
|
}
|
|
2243
2251
|
)
|
|
2244
2252
|
] }),
|
|
@@ -2249,13 +2257,13 @@ const Br = () => /* @__PURE__ */ e(Z, { icon: $t, size: "md", color: "current" }
|
|
|
2249
2257
|
className: "fixed z-overlay overflow-auto rounded-lg border border-border bg-surface p-4 shadow-overlay min-w-panel",
|
|
2250
2258
|
children: [
|
|
2251
2259
|
/* @__PURE__ */ c("div", { className: "flex items-center justify-between mb-4", children: [
|
|
2252
|
-
/* @__PURE__ */ e("button", { onClick: I, className: "p-1 hover:bg-surface-hover rounded", children: /* @__PURE__ */ e(
|
|
2260
|
+
/* @__PURE__ */ e("button", { onClick: I, className: "p-1 hover:bg-surface-hover rounded", children: /* @__PURE__ */ e(qr, {}) }),
|
|
2253
2261
|
/* @__PURE__ */ c("h3", { className: "text-sm font-medium text-text", children: [
|
|
2254
2262
|
W[w.getMonth()],
|
|
2255
2263
|
" ",
|
|
2256
2264
|
w.getFullYear()
|
|
2257
2265
|
] }),
|
|
2258
|
-
/* @__PURE__ */ e("button", { onClick: O, className: "p-1 hover:bg-surface-hover rounded", children: /* @__PURE__ */ e(
|
|
2266
|
+
/* @__PURE__ */ e("button", { onClick: O, className: "p-1 hover:bg-surface-hover rounded", children: /* @__PURE__ */ e(Ur, {}) })
|
|
2259
2267
|
] }),
|
|
2260
2268
|
/* @__PURE__ */ e("div", { className: "grid grid-cols-7 gap-1 mb-2", children: ["Su", "Mo", "Tu", "We", "Th", "Fr", "Sa"].map((y) => /* @__PURE__ */ e("div", { className: "text-xs font-medium text-text-muted text-center py-1", children: y }, y)) }),
|
|
2261
2269
|
/* @__PURE__ */ e("div", { className: "grid grid-cols-7 gap-1", children: te.map((y, x) => {
|
|
@@ -2370,7 +2378,7 @@ const Br = () => /* @__PURE__ */ e(Z, { icon: $t, size: "md", color: "current" }
|
|
|
2370
2378
|
)
|
|
2371
2379
|
);
|
|
2372
2380
|
ut.displayName = "SearchField";
|
|
2373
|
-
const
|
|
2381
|
+
const Vr = ({
|
|
2374
2382
|
trigger: t,
|
|
2375
2383
|
options: r,
|
|
2376
2384
|
value: n,
|
|
@@ -2381,7 +2389,7 @@ const Ur = ({
|
|
|
2381
2389
|
showCheck: u = !0,
|
|
2382
2390
|
header: i
|
|
2383
2391
|
}) => {
|
|
2384
|
-
const [p, m] = B(!1), [f, g] = B(null), [b, w] = B({ top: 0, left: 0 }), v = se(null), h = se(null), C = se(null), k = se(null), P =
|
|
2392
|
+
const [p, m] = B(!1), [f, g] = B(null), [b, w] = B({ top: 0, left: 0 }), v = se(null), h = se(null), C = se(null), k = se(null), P = Me(p, h, { placement: a }), D = se(null), Y = () => Array.from(
|
|
2385
2393
|
k.current?.querySelectorAll(
|
|
2386
2394
|
"button[data-option-value]:not(:disabled)"
|
|
2387
2395
|
) ?? []
|
|
@@ -2594,24 +2602,24 @@ const Ur = ({
|
|
|
2594
2602
|
]
|
|
2595
2603
|
}
|
|
2596
2604
|
);
|
|
2597
|
-
},
|
|
2605
|
+
}, qs = (t) => (r) => t(r instanceof Date ? r : null), Us = (t) => (r) => t(typeof r == "string" ? r : ""), Vs = (t) => (r) => t(Array.isArray(r) ? r : typeof r == "string" && r ? [r] : []), Kr = {
|
|
2598
2606
|
none: "px-0",
|
|
2599
2607
|
sm: "px-2",
|
|
2600
2608
|
md: "px-3.5",
|
|
2601
2609
|
lg: "px-5"
|
|
2602
|
-
},
|
|
2610
|
+
}, Wr = {
|
|
2603
2611
|
sm: "h-row-lg",
|
|
2604
2612
|
md: "h-row-xl",
|
|
2605
2613
|
lg: "h-14"
|
|
2606
|
-
},
|
|
2607
|
-
function
|
|
2614
|
+
}, Gr = 8, Xe = ["62%", "44%", "74%", "52%", "68%", "48%", "80%", "56%"];
|
|
2615
|
+
function Jr(t, r) {
|
|
2608
2616
|
if (r <= 7) return Array.from({ length: r }, (l, o) => o);
|
|
2609
2617
|
const s = [.../* @__PURE__ */ new Set([0, r - 1, t - 1, t, t + 1])].filter((l) => l >= 0 && l < r).sort((l, o) => l - o), a = [];
|
|
2610
2618
|
return s.forEach((l, o) => {
|
|
2611
2619
|
o > 0 && l - s[o - 1] > 1 && a.push("gap"), a.push(l);
|
|
2612
2620
|
}), a;
|
|
2613
2621
|
}
|
|
2614
|
-
const
|
|
2622
|
+
const Yr = (t) => {
|
|
2615
2623
|
const r = Array.isArray(t.value) ? t.value : t.value != null && t.value !== "" && t.value !== "all" ? [t.value] : [];
|
|
2616
2624
|
if (t.type === "date") {
|
|
2617
2625
|
const o = t.value instanceof Date;
|
|
@@ -2752,7 +2760,7 @@ const Jr = (t) => {
|
|
|
2752
2760
|
}), pe = K.some((A) => {
|
|
2753
2761
|
const J = P(A, 0);
|
|
2754
2762
|
return C.some((ne, ue) => P(ne, ue) === J);
|
|
2755
|
-
}), ye =
|
|
2763
|
+
}), ye = Kr[I], he = U ? "bg-surface-sunk" : "bg-surface", xe = d("text-text", ye), je = s || u.length > 0 || i.length > 0 || !!p, vt = ge(() => {
|
|
2756
2764
|
const A = K.map((ee, V) => ({ row: ee, index: V }));
|
|
2757
2765
|
if (!m) return [{ group: null, rows: A }];
|
|
2758
2766
|
const J = /* @__PURE__ */ new Map();
|
|
@@ -2777,7 +2785,7 @@ const Jr = (t) => {
|
|
|
2777
2785
|
containerClassName: "w-full sm:w-66"
|
|
2778
2786
|
}
|
|
2779
2787
|
),
|
|
2780
|
-
u.map((A) => /* @__PURE__ */ e(
|
|
2788
|
+
u.map((A) => /* @__PURE__ */ e(Yr, { ...A }, A.id)),
|
|
2781
2789
|
p,
|
|
2782
2790
|
i.length > 0 && /* @__PURE__ */ e(ke, { actions: i, className: "ml-auto" })
|
|
2783
2791
|
] }),
|
|
@@ -2830,7 +2838,7 @@ const Jr = (t) => {
|
|
|
2830
2838
|
)),
|
|
2831
2839
|
w.length > 0 && /* @__PURE__ */ e("th", { className: d(xe, "w-10"), children: /* @__PURE__ */ e("span", { className: "sr-only", children: "Actions" }) })
|
|
2832
2840
|
] }) }),
|
|
2833
|
-
/* @__PURE__ */ e("tbody", { children: n ? Array.from({ length:
|
|
2841
|
+
/* @__PURE__ */ e("tbody", { children: n ? Array.from({ length: Gr }).map((A, J) => /* @__PURE__ */ c(
|
|
2834
2842
|
"tr",
|
|
2835
2843
|
{
|
|
2836
2844
|
className: "animate-pulse border-t border-border-subtle",
|
|
@@ -2895,7 +2903,7 @@ const Jr = (t) => {
|
|
|
2895
2903
|
"tr",
|
|
2896
2904
|
{
|
|
2897
2905
|
className: d(
|
|
2898
|
-
|
|
2906
|
+
Wr[F],
|
|
2899
2907
|
// Hairline above every row, including the first: it is
|
|
2900
2908
|
// what separates the body from the column strip.
|
|
2901
2909
|
"border-t border-border-subtle",
|
|
@@ -2938,7 +2946,7 @@ const Jr = (t) => {
|
|
|
2938
2946
|
);
|
|
2939
2947
|
}),
|
|
2940
2948
|
w.length > 0 && /* @__PURE__ */ e("td", { className: xe, children: /* @__PURE__ */ e(
|
|
2941
|
-
|
|
2949
|
+
Vr,
|
|
2942
2950
|
{
|
|
2943
2951
|
className: "rounded-md",
|
|
2944
2952
|
trigger: /* @__PURE__ */ e("span", { className: "grid size-7 place-items-center text-text-subtle", children: /* @__PURE__ */ e(Z, { icon: It, size: "md", color: "current" }) }),
|
|
@@ -2974,10 +2982,10 @@ const Jr = (t) => {
|
|
|
2974
2982
|
"aria-label": "Previous page",
|
|
2975
2983
|
onClick: () => S(L.page - 1),
|
|
2976
2984
|
disabled: L.page === 0,
|
|
2977
|
-
children: /* @__PURE__ */ e(Z, { icon:
|
|
2985
|
+
children: /* @__PURE__ */ e(Z, { icon: Te, size: "md", color: "current" })
|
|
2978
2986
|
}
|
|
2979
2987
|
),
|
|
2980
|
-
|
|
2988
|
+
Jr(L.page, N).map(
|
|
2981
2989
|
(A, J) => A === "gap" ? /* @__PURE__ */ e("span", { className: "px-1 text-text-subtle", children: "…" }, `gap-${J}`) : /* @__PURE__ */ e(
|
|
2982
2990
|
"button",
|
|
2983
2991
|
{
|
|
@@ -3010,7 +3018,7 @@ const Jr = (t) => {
|
|
|
3010
3018
|
] })
|
|
3011
3019
|
] })
|
|
3012
3020
|
] });
|
|
3013
|
-
},
|
|
3021
|
+
}, Xr = {
|
|
3014
3022
|
default: "bg-surface-hover text-text",
|
|
3015
3023
|
primary: "bg-accent-soft text-accent",
|
|
3016
3024
|
secondary: "bg-surface-hover text-text-muted",
|
|
@@ -3020,11 +3028,11 @@ const Jr = (t) => {
|
|
|
3020
3028
|
info: "bg-info-soft text-info-fg",
|
|
3021
3029
|
// Internal-note amber. Never for customer-visible content.
|
|
3022
3030
|
note: "bg-note-soft text-note"
|
|
3023
|
-
},
|
|
3031
|
+
}, Zr = {
|
|
3024
3032
|
sm: "px-2 py-0.5 text-xs",
|
|
3025
3033
|
md: "px-2.5 py-1 text-sm",
|
|
3026
3034
|
lg: "px-3 py-1.5 text-base"
|
|
3027
|
-
},
|
|
3035
|
+
}, Qr = {
|
|
3028
3036
|
default: "bg-surface-hover",
|
|
3029
3037
|
primary: "bg-accent",
|
|
3030
3038
|
secondary: "bg-surface-hover",
|
|
@@ -3034,7 +3042,7 @@ const Jr = (t) => {
|
|
|
3034
3042
|
info: "bg-info",
|
|
3035
3043
|
note: "bg-note"
|
|
3036
3044
|
};
|
|
3037
|
-
function
|
|
3045
|
+
function en({
|
|
3038
3046
|
variant: t = "default",
|
|
3039
3047
|
size: r = "md",
|
|
3040
3048
|
dot: n = !1,
|
|
@@ -3050,13 +3058,13 @@ function Qr({
|
|
|
3050
3058
|
{
|
|
3051
3059
|
className: d(
|
|
3052
3060
|
"inline-flex items-center font-medium rounded-full",
|
|
3053
|
-
|
|
3054
|
-
|
|
3061
|
+
Xr[t],
|
|
3062
|
+
Zr[r],
|
|
3055
3063
|
o
|
|
3056
3064
|
),
|
|
3057
3065
|
...i,
|
|
3058
3066
|
children: [
|
|
3059
|
-
n && /* @__PURE__ */ e("span", { className: d("w-2 h-2 rounded-full mr-1.5",
|
|
3067
|
+
n && /* @__PURE__ */ e("span", { className: d("w-2 h-2 rounded-full mr-1.5", Qr[t]) }),
|
|
3060
3068
|
s && /* @__PURE__ */ e("span", { className: d("flex-shrink-0", u && "mr-1"), children: s }),
|
|
3061
3069
|
u,
|
|
3062
3070
|
a && l && /* @__PURE__ */ e(
|
|
@@ -3072,7 +3080,7 @@ function Qr({
|
|
|
3072
3080
|
}
|
|
3073
3081
|
);
|
|
3074
3082
|
}
|
|
3075
|
-
function
|
|
3083
|
+
function tn(t) {
|
|
3076
3084
|
const { id: r, header: n, accessor: s, label: a, tone: l, visible: o, width: u, sortable: i, align: p } = t;
|
|
3077
3085
|
return {
|
|
3078
3086
|
id: r,
|
|
@@ -3080,14 +3088,14 @@ function en(t) {
|
|
|
3080
3088
|
accessor: (m) => a(s(m), m),
|
|
3081
3089
|
cell: (m, f) => {
|
|
3082
3090
|
const g = s(f);
|
|
3083
|
-
return o && !o(g, f) ? null : /* @__PURE__ */ e(
|
|
3091
|
+
return o && !o(g, f) ? null : /* @__PURE__ */ e(en, { variant: l ? l(g, f) : "default", size: "sm", children: a(g, f) });
|
|
3084
3092
|
},
|
|
3085
3093
|
width: u,
|
|
3086
3094
|
sortable: i,
|
|
3087
3095
|
align: p
|
|
3088
3096
|
};
|
|
3089
3097
|
}
|
|
3090
|
-
function
|
|
3098
|
+
function Ks(t) {
|
|
3091
3099
|
const {
|
|
3092
3100
|
id: r,
|
|
3093
3101
|
header: n,
|
|
@@ -3099,7 +3107,7 @@ function Vs(t) {
|
|
|
3099
3107
|
width: i,
|
|
3100
3108
|
sortable: p
|
|
3101
3109
|
} = t;
|
|
3102
|
-
return
|
|
3110
|
+
return tn({
|
|
3103
3111
|
id: r,
|
|
3104
3112
|
header: n,
|
|
3105
3113
|
accessor: (m) => !!s(m),
|
|
@@ -3109,7 +3117,7 @@ function Vs(t) {
|
|
|
3109
3117
|
sortable: p
|
|
3110
3118
|
});
|
|
3111
3119
|
}
|
|
3112
|
-
function
|
|
3120
|
+
function Ws(t) {
|
|
3113
3121
|
const {
|
|
3114
3122
|
id: r,
|
|
3115
3123
|
header: n,
|
|
@@ -3133,19 +3141,19 @@ function Ks(t) {
|
|
|
3133
3141
|
sortable: p
|
|
3134
3142
|
};
|
|
3135
3143
|
}
|
|
3136
|
-
const
|
|
3144
|
+
const rn = {
|
|
3137
3145
|
xs: "text-xs",
|
|
3138
3146
|
sm: "text-sm",
|
|
3139
3147
|
md: "text-base",
|
|
3140
3148
|
lg: "text-md",
|
|
3141
3149
|
xl: "text-lg"
|
|
3142
|
-
},
|
|
3150
|
+
}, nn = {
|
|
3143
3151
|
light: "font-normal",
|
|
3144
3152
|
normal: "font-normal",
|
|
3145
3153
|
medium: "font-medium",
|
|
3146
3154
|
semibold: "font-semibold",
|
|
3147
3155
|
bold: "font-bold"
|
|
3148
|
-
},
|
|
3156
|
+
}, sn = {
|
|
3149
3157
|
primary: "text-text",
|
|
3150
3158
|
secondary: "text-text-muted",
|
|
3151
3159
|
accent: "text-accent",
|
|
@@ -3156,12 +3164,12 @@ const tn = {
|
|
|
3156
3164
|
neutral: "text-text",
|
|
3157
3165
|
current: "text-current",
|
|
3158
3166
|
muted: "text-text-subtle"
|
|
3159
|
-
},
|
|
3167
|
+
}, an = {
|
|
3160
3168
|
left: "text-left",
|
|
3161
3169
|
center: "text-center",
|
|
3162
3170
|
right: "text-right",
|
|
3163
3171
|
justify: "text-justify"
|
|
3164
|
-
},
|
|
3172
|
+
}, ln = {
|
|
3165
3173
|
tight: "leading-tight",
|
|
3166
3174
|
normal: "leading-normal",
|
|
3167
3175
|
relaxed: "leading-relaxed"
|
|
@@ -3180,20 +3188,20 @@ const tn = {
|
|
|
3180
3188
|
children: f,
|
|
3181
3189
|
...g
|
|
3182
3190
|
}) => {
|
|
3183
|
-
const b = p ||
|
|
3191
|
+
const b = p || on(t), w = t === "caption", v = t === "label", h = t === "code", C = d(
|
|
3184
3192
|
"font-sans",
|
|
3185
3193
|
// Variant — caption and label pin their own size/weight
|
|
3186
3194
|
w && "text-xs text-text-subtle",
|
|
3187
3195
|
v && "text-xs font-semibold uppercase tracking-label text-text-subtle",
|
|
3188
3196
|
h && "font-mono text-sm rounded-sm bg-surface-hover px-1 py-0.5",
|
|
3189
3197
|
// Size — only where the variant does not pin it
|
|
3190
|
-
!w && !v && !h &&
|
|
3198
|
+
!w && !v && !h && rn[r],
|
|
3191
3199
|
// Weight — label owns its weight
|
|
3192
|
-
!v &&
|
|
3193
|
-
|
|
3194
|
-
|
|
3200
|
+
!v && nn[n],
|
|
3201
|
+
sn[s],
|
|
3202
|
+
an[a],
|
|
3195
3203
|
// Line height only overrides the body variant
|
|
3196
|
-
t === "body" &&
|
|
3204
|
+
t === "body" && ln[i],
|
|
3197
3205
|
o && "italic",
|
|
3198
3206
|
u && "underline",
|
|
3199
3207
|
l && "truncate",
|
|
@@ -3201,7 +3209,7 @@ const tn = {
|
|
|
3201
3209
|
);
|
|
3202
3210
|
return /* @__PURE__ */ e(b, { className: C, ...g, children: f });
|
|
3203
3211
|
};
|
|
3204
|
-
function
|
|
3212
|
+
function on(t) {
|
|
3205
3213
|
return {
|
|
3206
3214
|
body: "p",
|
|
3207
3215
|
caption: "span",
|
|
@@ -3209,13 +3217,13 @@ function ln(t) {
|
|
|
3209
3217
|
code: "code"
|
|
3210
3218
|
}[t] || "p";
|
|
3211
3219
|
}
|
|
3212
|
-
function
|
|
3220
|
+
function cn(t, r) {
|
|
3213
3221
|
return r.split(".").reduce(
|
|
3214
3222
|
(n, s) => n && typeof n == "object" && s in n ? n[s] : void 0,
|
|
3215
3223
|
t
|
|
3216
3224
|
);
|
|
3217
3225
|
}
|
|
3218
|
-
const
|
|
3226
|
+
const Gs = ({
|
|
3219
3227
|
groups: t,
|
|
3220
3228
|
data: r,
|
|
3221
3229
|
size: n = "md",
|
|
@@ -3238,7 +3246,7 @@ const Ws = ({
|
|
|
3238
3246
|
return g ? g.label : String(m || "-");
|
|
3239
3247
|
}, u = de(
|
|
3240
3248
|
(m) => {
|
|
3241
|
-
const f =
|
|
3249
|
+
const f = cn(r, m.name);
|
|
3242
3250
|
if (m.type === "array") {
|
|
3243
3251
|
const b = f;
|
|
3244
3252
|
return !b || b.length === 0 ? /* @__PURE__ */ e(me, { variant: "body", size: "sm", className: "text-text-muted", children: "Geen items" }) : /* @__PURE__ */ e("div", { className: "space-y-3", children: b.map((w, v) => /* @__PURE__ */ c("div", { className: "p-4 border border-border rounded-xl space-y-3", children: [
|
|
@@ -3381,7 +3389,7 @@ const Ws = ({
|
|
|
3381
3389
|
);
|
|
3382
3390
|
return /* @__PURE__ */ e("div", { className: p, children: /* @__PURE__ */ e("div", { className: "space-y-8", children: t.map(i) }) });
|
|
3383
3391
|
};
|
|
3384
|
-
class
|
|
3392
|
+
class Js extends Et {
|
|
3385
3393
|
constructor() {
|
|
3386
3394
|
super(...arguments), this.state = {
|
|
3387
3395
|
hasError: !1,
|
|
@@ -3410,7 +3418,7 @@ class Gs extends Et {
|
|
|
3410
3418
|
}
|
|
3411
3419
|
}
|
|
3412
3420
|
const Fe = /* @__PURE__ */ new Map();
|
|
3413
|
-
function
|
|
3421
|
+
function Ys({
|
|
3414
3422
|
identifier: t,
|
|
3415
3423
|
resourceLoader: r,
|
|
3416
3424
|
framework: n = "react",
|
|
@@ -3459,11 +3467,11 @@ function Js({
|
|
|
3459
3467
|
n === "react" && h && /* @__PURE__ */ e(h, { ...l })
|
|
3460
3468
|
] });
|
|
3461
3469
|
}
|
|
3462
|
-
const
|
|
3470
|
+
const dn = {
|
|
3463
3471
|
neutral: "bg-surface-hover text-text-muted",
|
|
3464
3472
|
success: "bg-success-soft text-success-fg"
|
|
3465
3473
|
};
|
|
3466
|
-
function
|
|
3474
|
+
function Xs({
|
|
3467
3475
|
icon: t,
|
|
3468
3476
|
tone: r = "neutral",
|
|
3469
3477
|
title: n,
|
|
@@ -3488,7 +3496,7 @@ function Ys({
|
|
|
3488
3496
|
{
|
|
3489
3497
|
className: d(
|
|
3490
3498
|
"flex size-disc items-center justify-center rounded-full text-2xl",
|
|
3491
|
-
|
|
3499
|
+
dn[r]
|
|
3492
3500
|
),
|
|
3493
3501
|
children: t
|
|
3494
3502
|
}
|
|
@@ -3500,7 +3508,7 @@ function Ys({
|
|
|
3500
3508
|
}
|
|
3501
3509
|
);
|
|
3502
3510
|
}
|
|
3503
|
-
function
|
|
3511
|
+
function Zs({ children: t, className: r, ...n }) {
|
|
3504
3512
|
return /* @__PURE__ */ e(
|
|
3505
3513
|
"kbd",
|
|
3506
3514
|
{
|
|
@@ -3513,14 +3521,14 @@ function Xs({ children: t, className: r, ...n }) {
|
|
|
3513
3521
|
}
|
|
3514
3522
|
);
|
|
3515
3523
|
}
|
|
3516
|
-
const
|
|
3524
|
+
const un = {
|
|
3517
3525
|
sm: "h-1",
|
|
3518
3526
|
md: "h-1.5"
|
|
3519
|
-
},
|
|
3527
|
+
}, mn = {
|
|
3520
3528
|
accent: "bg-accent",
|
|
3521
3529
|
success: "bg-success"
|
|
3522
3530
|
};
|
|
3523
|
-
function
|
|
3531
|
+
function Qs({
|
|
3524
3532
|
value: t,
|
|
3525
3533
|
variant: r = "accent",
|
|
3526
3534
|
size: n = "md",
|
|
@@ -3537,7 +3545,7 @@ function Zs({
|
|
|
3537
3545
|
"aria-valuemax": 100,
|
|
3538
3546
|
className: d(
|
|
3539
3547
|
"w-full overflow-hidden rounded-full bg-surface-hover",
|
|
3540
|
-
|
|
3548
|
+
un[n],
|
|
3541
3549
|
s
|
|
3542
3550
|
),
|
|
3543
3551
|
...a,
|
|
@@ -3546,7 +3554,7 @@ function Zs({
|
|
|
3546
3554
|
{
|
|
3547
3555
|
className: d(
|
|
3548
3556
|
"h-full rounded-full transition-[width] duration-300 ease-out",
|
|
3549
|
-
|
|
3557
|
+
mn[r]
|
|
3550
3558
|
),
|
|
3551
3559
|
style: { width: `${l}%` }
|
|
3552
3560
|
}
|
|
@@ -3554,25 +3562,25 @@ function Zs({
|
|
|
3554
3562
|
}
|
|
3555
3563
|
);
|
|
3556
3564
|
}
|
|
3557
|
-
const
|
|
3565
|
+
const fn = {
|
|
3558
3566
|
xs: "h-3 w-3",
|
|
3559
3567
|
sm: "h-4 w-4",
|
|
3560
3568
|
md: "h-6 w-6",
|
|
3561
3569
|
lg: "h-8 w-8",
|
|
3562
3570
|
xl: "h-12 w-12"
|
|
3563
|
-
},
|
|
3571
|
+
}, hn = {
|
|
3564
3572
|
primary: "text-accent",
|
|
3565
3573
|
secondary: "text-text-muted",
|
|
3566
3574
|
white: "text-white",
|
|
3567
3575
|
current: "text-current"
|
|
3568
|
-
},
|
|
3576
|
+
}, xn = {
|
|
3569
3577
|
xs: "text-xs",
|
|
3570
3578
|
sm: "text-sm",
|
|
3571
3579
|
md: "text-sm",
|
|
3572
3580
|
lg: "text-base",
|
|
3573
3581
|
xl: "text-lg"
|
|
3574
3582
|
};
|
|
3575
|
-
function
|
|
3583
|
+
function ea({
|
|
3576
3584
|
size: t = "md",
|
|
3577
3585
|
variant: r = "primary",
|
|
3578
3586
|
label: n = "Loading...",
|
|
@@ -3589,7 +3597,7 @@ function Qs({
|
|
|
3589
3597
|
/* @__PURE__ */ c(
|
|
3590
3598
|
"svg",
|
|
3591
3599
|
{
|
|
3592
|
-
className: d("animate-spin",
|
|
3600
|
+
className: d("animate-spin", fn[t], hn[r]),
|
|
3593
3601
|
fill: "none",
|
|
3594
3602
|
viewBox: "0 0 24 24",
|
|
3595
3603
|
"aria-hidden": !s,
|
|
@@ -3617,13 +3625,13 @@ function Qs({
|
|
|
3617
3625
|
]
|
|
3618
3626
|
}
|
|
3619
3627
|
),
|
|
3620
|
-
s && /* @__PURE__ */ e("span", { className: d("text-text-muted",
|
|
3628
|
+
s && /* @__PURE__ */ e("span", { className: d("text-text-muted", xn[t]), children: n }),
|
|
3621
3629
|
!s && /* @__PURE__ */ e("span", { className: "sr-only", children: n })
|
|
3622
3630
|
]
|
|
3623
3631
|
}
|
|
3624
3632
|
);
|
|
3625
3633
|
}
|
|
3626
|
-
const
|
|
3634
|
+
const gn = {
|
|
3627
3635
|
neutral: "bg-text-disabled",
|
|
3628
3636
|
accent: "bg-accent",
|
|
3629
3637
|
success: "bg-success",
|
|
@@ -3637,7 +3645,7 @@ const xn = {
|
|
|
3637
3645
|
"cat-4": "bg-cat-4",
|
|
3638
3646
|
"cat-5": "bg-cat-5"
|
|
3639
3647
|
};
|
|
3640
|
-
function
|
|
3648
|
+
function ta({
|
|
3641
3649
|
tone: t = "neutral",
|
|
3642
3650
|
shape: r = "round",
|
|
3643
3651
|
pulse: n = !1,
|
|
@@ -3653,14 +3661,14 @@ function ea({
|
|
|
3653
3661
|
className: d(
|
|
3654
3662
|
"inline-block size-dot shrink-0",
|
|
3655
3663
|
r === "round" ? "rounded-full" : "rounded-sm",
|
|
3656
|
-
|
|
3664
|
+
gn[t],
|
|
3657
3665
|
n && "animate-pulse",
|
|
3658
3666
|
a
|
|
3659
3667
|
)
|
|
3660
3668
|
}
|
|
3661
3669
|
);
|
|
3662
3670
|
}
|
|
3663
|
-
function
|
|
3671
|
+
function ra({
|
|
3664
3672
|
steps: t,
|
|
3665
3673
|
current: r,
|
|
3666
3674
|
variant: n = "numbered",
|
|
@@ -3700,7 +3708,7 @@ function ta({
|
|
|
3700
3708
|
i < t.length - 1 && /* @__PURE__ */ e("span", { className: "h-px w-8 bg-border-strong" })
|
|
3701
3709
|
] }, u)) });
|
|
3702
3710
|
}
|
|
3703
|
-
const
|
|
3711
|
+
const bn = /* @__PURE__ */ new Set([
|
|
3704
3712
|
"name",
|
|
3705
3713
|
"given-name",
|
|
3706
3714
|
"family-name",
|
|
@@ -3735,7 +3743,7 @@ const gn = /* @__PURE__ */ new Set([
|
|
|
3735
3743
|
"one-time-code"
|
|
3736
3744
|
]);
|
|
3737
3745
|
function Qe(t) {
|
|
3738
|
-
return t &&
|
|
3746
|
+
return t && bn.has(t) ? { autoComplete: t } : {
|
|
3739
3747
|
autoComplete: "off",
|
|
3740
3748
|
// 1Password
|
|
3741
3749
|
"data-1p-ignore": "true",
|
|
@@ -3747,12 +3755,12 @@ function Qe(t) {
|
|
|
3747
3755
|
"data-form-type": "other"
|
|
3748
3756
|
};
|
|
3749
3757
|
}
|
|
3750
|
-
const
|
|
3758
|
+
const _e = (t) => t == null ? "" : String(t), pn = (t) => _e(t).trim().toLowerCase(), vn = {
|
|
3751
3759
|
sm: "h-control-sm px-3 text-sm",
|
|
3752
3760
|
md: "h-control-md px-3 text-sm",
|
|
3753
3761
|
lg: "h-control-lg px-3 text-base",
|
|
3754
3762
|
full: "h-control-md w-full px-3 text-sm"
|
|
3755
|
-
},
|
|
3763
|
+
}, De = pn, Le = be(
|
|
3756
3764
|
({
|
|
3757
3765
|
label: t,
|
|
3758
3766
|
helperText: r,
|
|
@@ -3774,7 +3782,7 @@ const De = (t) => t == null ? "" : String(t), bn = (t) => De(t).trim().toLowerCa
|
|
|
3774
3782
|
onCreateOption: C,
|
|
3775
3783
|
...k
|
|
3776
3784
|
}, P) => {
|
|
3777
|
-
const D = f || `select-${Math.random().toString(36).substr(2, 9)}`, Y = !!n, [F, _] = le.useState(!1), [I, O] = le.useState(""), H = le.useRef(null), U = le.useRef(null), te =
|
|
3785
|
+
const D = f || `select-${Math.random().toString(36).substr(2, 9)}`, Y = !!n, [F, _] = le.useState(!1), [I, O] = le.useState(""), H = le.useRef(null), U = le.useRef(null), te = Me(F, U, { matchWidth: !0 }), [W, y] = le.useState(o);
|
|
3778
3786
|
le.useImperativeHandle(P, () => H.current), le.useEffect(() => {
|
|
3779
3787
|
const j = (S) => {
|
|
3780
3788
|
H.current && !H.current.contains(S.target) && _(!1);
|
|
@@ -3782,12 +3790,12 @@ const De = (t) => t == null ? "" : String(t), bn = (t) => De(t).trim().toLowerCa
|
|
|
3782
3790
|
return document.addEventListener("mousedown", j), () => document.removeEventListener("mousedown", j);
|
|
3783
3791
|
}, []);
|
|
3784
3792
|
const x = le.useCallback(
|
|
3785
|
-
(j, S) => j.some((M) =>
|
|
3793
|
+
(j, S) => j.some((M) => De(M.value) === De(S) || De(M.label) === De(S)),
|
|
3786
3794
|
[]
|
|
3787
3795
|
), E = le.useCallback(
|
|
3788
3796
|
(j, S) => {
|
|
3789
3797
|
const M = [...j], X = (q) => {
|
|
3790
|
-
const N =
|
|
3798
|
+
const N = _e(q).trim();
|
|
3791
3799
|
N && (x(M, N) || M.push({ value: N, label: N }));
|
|
3792
3800
|
};
|
|
3793
3801
|
return Array.isArray(S) ? S.forEach(X) : X(S), M;
|
|
@@ -3803,7 +3811,7 @@ const De = (t) => t == null ? "" : String(t), bn = (t) => De(t).trim().toLowerCa
|
|
|
3803
3811
|
});
|
|
3804
3812
|
}, [o, w, E, x]);
|
|
3805
3813
|
const $ = le.useMemo(
|
|
3806
|
-
() => Array.isArray(w) ? w.map(
|
|
3814
|
+
() => Array.isArray(w) ? w.map(_e) : w == null ? void 0 : _e(w),
|
|
3807
3815
|
[w]
|
|
3808
3816
|
), T = (j) => {
|
|
3809
3817
|
if (b) {
|
|
@@ -3860,7 +3868,7 @@ const De = (t) => t == null ? "" : String(t), bn = (t) => De(t).trim().toLowerCa
|
|
|
3860
3868
|
"focus-visible:outline-none focus-visible:focus-ring",
|
|
3861
3869
|
"disabled:cursor-not-allowed disabled:bg-surface-hover disabled:text-text-disabled",
|
|
3862
3870
|
"bg-surface",
|
|
3863
|
-
|
|
3871
|
+
vn[s],
|
|
3864
3872
|
Y ? "border-danger-border text-danger-fg focus-visible:focus-ring" : "border-border-strong text-text",
|
|
3865
3873
|
m
|
|
3866
3874
|
),
|
|
@@ -3966,8 +3974,8 @@ const De = (t) => t == null ? "" : String(t), bn = (t) => De(t).trim().toLowerCa
|
|
|
3966
3974
|
);
|
|
3967
3975
|
}
|
|
3968
3976
|
);
|
|
3969
|
-
|
|
3970
|
-
const
|
|
3977
|
+
Le.displayName = "Select";
|
|
3978
|
+
const yn = {
|
|
3971
3979
|
sm: "h-control-sm px-3 text-sm",
|
|
3972
3980
|
md: "h-control-md px-3 text-base",
|
|
3973
3981
|
lg: "h-control-lg px-3 text-base",
|
|
@@ -4013,7 +4021,7 @@ const vn = {
|
|
|
4013
4021
|
"aria-describedby": C,
|
|
4014
4022
|
className: d(
|
|
4015
4023
|
ft,
|
|
4016
|
-
|
|
4024
|
+
yn[s],
|
|
4017
4025
|
l && "pl-9",
|
|
4018
4026
|
(o || u) && "pr-9",
|
|
4019
4027
|
ht(h),
|
|
@@ -4042,7 +4050,7 @@ const vn = {
|
|
|
4042
4050
|
}
|
|
4043
4051
|
);
|
|
4044
4052
|
Ce.displayName = "TextField";
|
|
4045
|
-
function
|
|
4053
|
+
function Nn({
|
|
4046
4054
|
value: t,
|
|
4047
4055
|
onChange: r,
|
|
4048
4056
|
onListFolders: n,
|
|
@@ -4065,7 +4073,7 @@ function yn({
|
|
|
4065
4073
|
const m = t ?? {};
|
|
4066
4074
|
return /* @__PURE__ */ c("div", { className: "flex flex-col gap-2", children: [
|
|
4067
4075
|
/* @__PURE__ */ e(
|
|
4068
|
-
|
|
4076
|
+
Le,
|
|
4069
4077
|
{
|
|
4070
4078
|
size: a,
|
|
4071
4079
|
fullWidth: !0,
|
|
@@ -4087,7 +4095,7 @@ function yn({
|
|
|
4087
4095
|
)
|
|
4088
4096
|
] });
|
|
4089
4097
|
}
|
|
4090
|
-
const
|
|
4098
|
+
const wn = rt(null), na = ({ items: t, activeTab: r, onTabChange: n, className: s }) => {
|
|
4091
4099
|
const [a, l] = B(t[0]?.id || ""), o = r || a, u = (i) => {
|
|
4092
4100
|
n ? n(i) : l(i);
|
|
4093
4101
|
};
|
|
@@ -4120,7 +4128,7 @@ const Nn = rt(null), ra = ({ items: t, activeTab: r, onTabChange: n, className:
|
|
|
4120
4128
|
},
|
|
4121
4129
|
i.id
|
|
4122
4130
|
)) }) });
|
|
4123
|
-
},
|
|
4131
|
+
}, kn = ({
|
|
4124
4132
|
items: t,
|
|
4125
4133
|
defaultTab: r,
|
|
4126
4134
|
activeTab: n,
|
|
@@ -4177,7 +4185,7 @@ const Nn = rt(null), ra = ({ items: t, activeTab: r, onTabChange: n, className:
|
|
|
4177
4185
|
F
|
|
4178
4186
|
);
|
|
4179
4187
|
};
|
|
4180
|
-
return /* @__PURE__ */ e(
|
|
4188
|
+
return /* @__PURE__ */ e(wn.Provider, { value: f, children: /* @__PURE__ */ c("div", { children: [
|
|
4181
4189
|
/* @__PURE__ */ e("div", { className: b, role: "tablist", children: t.map((v) => /* @__PURE__ */ e(
|
|
4182
4190
|
"button",
|
|
4183
4191
|
{
|
|
@@ -4206,7 +4214,7 @@ const Nn = rt(null), ra = ({ items: t, activeTab: r, onTabChange: n, className:
|
|
|
4206
4214
|
}
|
|
4207
4215
|
)
|
|
4208
4216
|
] }) });
|
|
4209
|
-
},
|
|
4217
|
+
}, Cn = {
|
|
4210
4218
|
sm: "max-w-md",
|
|
4211
4219
|
md: "max-w-lg",
|
|
4212
4220
|
lg: "max-w-2xl",
|
|
@@ -4255,7 +4263,7 @@ function xt({
|
|
|
4255
4263
|
className: d(
|
|
4256
4264
|
"relative w-full bg-surface rounded-lg shadow-modal",
|
|
4257
4265
|
"focus:outline-none",
|
|
4258
|
-
|
|
4266
|
+
Cn[s],
|
|
4259
4267
|
o
|
|
4260
4268
|
),
|
|
4261
4269
|
role: "dialog",
|
|
@@ -4283,7 +4291,7 @@ function xt({
|
|
|
4283
4291
|
}
|
|
4284
4292
|
) : null;
|
|
4285
4293
|
}
|
|
4286
|
-
const
|
|
4294
|
+
const Sn = ({
|
|
4287
4295
|
value: t,
|
|
4288
4296
|
onChange: r,
|
|
4289
4297
|
label: n,
|
|
@@ -4537,14 +4545,14 @@ const Cn = ({
|
|
|
4537
4545
|
title: h ? `Explorer: ${h.name}` : "Select Storage Mount",
|
|
4538
4546
|
size: "lg",
|
|
4539
4547
|
children: /* @__PURE__ */ e(
|
|
4540
|
-
|
|
4548
|
+
kn,
|
|
4541
4549
|
{
|
|
4542
4550
|
variant: "pills",
|
|
4543
4551
|
items: [
|
|
4544
4552
|
{
|
|
4545
4553
|
id: "remote",
|
|
4546
4554
|
label: "Platform Storage",
|
|
4547
|
-
content: /* @__PURE__ */ e("div", { className: "space-y-4", children: h ? /* @__PURE__ */ c(
|
|
4555
|
+
content: /* @__PURE__ */ e("div", { className: "space-y-4", children: h ? /* @__PURE__ */ c(Ee, { children: [
|
|
4548
4556
|
/* @__PURE__ */ c("div", { className: "flex flex-wrap items-center gap-2", children: [
|
|
4549
4557
|
/* @__PURE__ */ e(
|
|
4550
4558
|
ae,
|
|
@@ -4684,7 +4692,7 @@ const Cn = ({
|
|
|
4684
4692
|
}
|
|
4685
4693
|
)
|
|
4686
4694
|
] });
|
|
4687
|
-
},
|
|
4695
|
+
}, En = {
|
|
4688
4696
|
sm: "px-3 py-1.5 text-sm",
|
|
4689
4697
|
md: "px-3 py-2 text-base",
|
|
4690
4698
|
lg: "px-3 py-2 text-md",
|
|
@@ -4730,7 +4738,7 @@ const Cn = ({
|
|
|
4730
4738
|
className: d(
|
|
4731
4739
|
ft,
|
|
4732
4740
|
"resize-y leading-relaxed",
|
|
4733
|
-
|
|
4741
|
+
En[s],
|
|
4734
4742
|
ht(v),
|
|
4735
4743
|
i
|
|
4736
4744
|
),
|
|
@@ -4763,7 +4771,7 @@ function et(t, r) {
|
|
|
4763
4771
|
t
|
|
4764
4772
|
);
|
|
4765
4773
|
}
|
|
4766
|
-
function
|
|
4774
|
+
function Tn(t, r, n) {
|
|
4767
4775
|
const s = r.split("."), a = Array.isArray(t) ? [...t] : { ...t };
|
|
4768
4776
|
let l = a;
|
|
4769
4777
|
for (let o = 0; o < s.length - 1; o++) {
|
|
@@ -4772,7 +4780,7 @@ function En(t, r, n) {
|
|
|
4772
4780
|
}
|
|
4773
4781
|
return l[s[s.length - 1]] = n, a;
|
|
4774
4782
|
}
|
|
4775
|
-
function
|
|
4783
|
+
function Mn(t, r) {
|
|
4776
4784
|
const n = r.split("."), s = Array.isArray(t) ? [...t] : { ...t };
|
|
4777
4785
|
let a = s;
|
|
4778
4786
|
for (let l = 0; l < n.length - 1; l++) {
|
|
@@ -4782,7 +4790,7 @@ function Tn(t, r) {
|
|
|
4782
4790
|
}
|
|
4783
4791
|
return delete a[n[n.length - 1]], s;
|
|
4784
4792
|
}
|
|
4785
|
-
function
|
|
4793
|
+
function zn({
|
|
4786
4794
|
title: t,
|
|
4787
4795
|
description: r,
|
|
4788
4796
|
className: n,
|
|
@@ -4796,7 +4804,7 @@ function Mn({
|
|
|
4796
4804
|
/* @__PURE__ */ e("div", { className: "min-w-0 flex-1", children: s })
|
|
4797
4805
|
] });
|
|
4798
4806
|
}
|
|
4799
|
-
const
|
|
4807
|
+
const sa = ({
|
|
4800
4808
|
groups: t,
|
|
4801
4809
|
data: r,
|
|
4802
4810
|
onSubmit: n,
|
|
@@ -4856,8 +4864,8 @@ const na = ({
|
|
|
4856
4864
|
[t]
|
|
4857
4865
|
), O = de(
|
|
4858
4866
|
(x, E) => {
|
|
4859
|
-
let $ =
|
|
4860
|
-
t.flatMap((z) => z.items).find((z) => z.name === x)?.removeIfEmpty && (E == null || E === "") && ($ =
|
|
4867
|
+
let $ = Tn(h, x, E);
|
|
4868
|
+
t.flatMap((z) => z.items).find((z) => z.name === x)?.removeIfEmpty && (E == null || E === "") && ($ = Mn($, x)), C($), _((z) => ({ ...z, [x]: !0 }));
|
|
4861
4869
|
const L = I(x, E, $);
|
|
4862
4870
|
Y((z) => ({
|
|
4863
4871
|
...z,
|
|
@@ -4934,7 +4942,7 @@ const na = ({
|
|
|
4934
4942
|
);
|
|
4935
4943
|
case "select":
|
|
4936
4944
|
return /* @__PURE__ */ e(
|
|
4937
|
-
|
|
4945
|
+
Le,
|
|
4938
4946
|
{
|
|
4939
4947
|
...L,
|
|
4940
4948
|
onChange: (z) => O(x.name, z),
|
|
@@ -5013,7 +5021,7 @@ const na = ({
|
|
|
5013
5021
|
);
|
|
5014
5022
|
case "file":
|
|
5015
5023
|
return /* @__PURE__ */ e(
|
|
5016
|
-
|
|
5024
|
+
Sn,
|
|
5017
5025
|
{
|
|
5018
5026
|
...L,
|
|
5019
5027
|
value: E,
|
|
@@ -5046,7 +5054,7 @@ const na = ({
|
|
|
5046
5054
|
);
|
|
5047
5055
|
case "folder":
|
|
5048
5056
|
return /* @__PURE__ */ e(
|
|
5049
|
-
|
|
5057
|
+
Nn,
|
|
5050
5058
|
{
|
|
5051
5059
|
value: E || {},
|
|
5052
5060
|
onChange: (z) => O(x.name, z),
|
|
@@ -5144,7 +5152,7 @@ const na = ({
|
|
|
5144
5152
|
);
|
|
5145
5153
|
case "select":
|
|
5146
5154
|
return /* @__PURE__ */ e(
|
|
5147
|
-
|
|
5155
|
+
Le,
|
|
5148
5156
|
{
|
|
5149
5157
|
...q,
|
|
5150
5158
|
onChange: (N) => K(S, M.name, N),
|
|
@@ -5286,7 +5294,7 @@ const na = ({
|
|
|
5286
5294
|
// form *is* the page now, so a panel around each section would be a
|
|
5287
5295
|
// second surface on top of the one it already sits on.
|
|
5288
5296
|
/* @__PURE__ */ e(
|
|
5289
|
-
|
|
5297
|
+
zn,
|
|
5290
5298
|
{
|
|
5291
5299
|
title: x.title,
|
|
5292
5300
|
description: x.description,
|
|
@@ -5370,7 +5378,7 @@ const na = ({
|
|
|
5370
5378
|
] })
|
|
5371
5379
|
] });
|
|
5372
5380
|
};
|
|
5373
|
-
function
|
|
5381
|
+
function aa({
|
|
5374
5382
|
label: t,
|
|
5375
5383
|
value: r,
|
|
5376
5384
|
onChange: n,
|
|
@@ -5387,8 +5395,8 @@ function sa({
|
|
|
5387
5395
|
const g = se(null), [b, w] = B(null), v = async (h) => {
|
|
5388
5396
|
if (!h) return;
|
|
5389
5397
|
w(null);
|
|
5390
|
-
const C = await
|
|
5391
|
-
if (a &&
|
|
5398
|
+
const C = await Dn(h, s);
|
|
5399
|
+
if (a && An(C) > a) {
|
|
5392
5400
|
w(f);
|
|
5393
5401
|
return;
|
|
5394
5402
|
}
|
|
@@ -5447,11 +5455,11 @@ function sa({
|
|
|
5447
5455
|
)
|
|
5448
5456
|
] });
|
|
5449
5457
|
}
|
|
5450
|
-
function
|
|
5458
|
+
function An(t) {
|
|
5451
5459
|
const r = t.slice(t.indexOf(",") + 1), n = r.endsWith("==") ? 2 : r.endsWith("=") ? 1 : 0;
|
|
5452
5460
|
return Math.floor(r.length * 3 / 4) - n;
|
|
5453
5461
|
}
|
|
5454
|
-
function
|
|
5462
|
+
function Dn(t, r) {
|
|
5455
5463
|
return new Promise((n, s) => {
|
|
5456
5464
|
const a = new FileReader();
|
|
5457
5465
|
a.onload = () => {
|
|
@@ -5469,28 +5477,28 @@ function An(t, r) {
|
|
|
5469
5477
|
}, a.onerror = s, a.readAsDataURL(t);
|
|
5470
5478
|
});
|
|
5471
5479
|
}
|
|
5472
|
-
function
|
|
5480
|
+
function _n(t) {
|
|
5473
5481
|
const r = [];
|
|
5474
|
-
return t.querySelectorAll(`[${
|
|
5475
|
-
const s = n.getAttribute(
|
|
5482
|
+
return t.querySelectorAll(`[${$e}]`).forEach((n) => {
|
|
5483
|
+
const s = n.getAttribute($e);
|
|
5476
5484
|
s && r.push(s);
|
|
5477
5485
|
}), { text: t.innerText ?? "", mentions: r, html: gt(t.innerHTML) };
|
|
5478
5486
|
}
|
|
5479
|
-
function
|
|
5487
|
+
function $n(t) {
|
|
5480
5488
|
return Ue.sanitize(t.replace(/\n/g, "<br>"));
|
|
5481
5489
|
}
|
|
5482
5490
|
function gt(t) {
|
|
5483
|
-
return Ue.sanitize(t, { ADD_ATTR: [
|
|
5491
|
+
return Ue.sanitize(t, { ADD_ATTR: [$e, "contenteditable"] });
|
|
5484
5492
|
}
|
|
5485
|
-
const
|
|
5493
|
+
const Ln = be(
|
|
5486
5494
|
({ initialContent: t, onChange: r, people: n, placeholder: s, onSubmit: a, autoFocus: l, className: o }, u) => {
|
|
5487
5495
|
const i = se(null), [p, m] = B(null), [f, g] = B(null), [b, w] = B(0), v = ge(() => ({ current: f }), [f]), h = ge(() => {
|
|
5488
5496
|
if (p === null) return [];
|
|
5489
5497
|
const _ = p.toLowerCase();
|
|
5490
5498
|
return n.filter((I) => I.name.toLowerCase().includes(_)).slice(0, 8);
|
|
5491
|
-
}, [n, p]), C =
|
|
5499
|
+
}, [n, p]), C = Me(h.length > 0, v, { gap: 4 }), k = de(() => {
|
|
5492
5500
|
if (!i.current) return;
|
|
5493
|
-
const { text: _, mentions: I, html: O } =
|
|
5501
|
+
const { text: _, mentions: I, html: O } = _n(i.current);
|
|
5494
5502
|
r(_, I, O);
|
|
5495
5503
|
}, [r]), P = de(() => {
|
|
5496
5504
|
m(null), g(null), w(0);
|
|
@@ -5509,7 +5517,7 @@ const $n = be(
|
|
|
5509
5517
|
U.appendChild(document.createTextNode(W)), y < te.length - 1 && U.appendChild(document.createElement("br"));
|
|
5510
5518
|
}), H.insertNode(U), H.collapse(!1), O.removeAllRanges(), O.addRange(H);
|
|
5511
5519
|
} else
|
|
5512
|
-
I.innerHTML +=
|
|
5520
|
+
I.innerHTML += $n(_);
|
|
5513
5521
|
k();
|
|
5514
5522
|
},
|
|
5515
5523
|
clear: () => {
|
|
@@ -5631,8 +5639,8 @@ const $n = be(
|
|
|
5631
5639
|
] });
|
|
5632
5640
|
}
|
|
5633
5641
|
);
|
|
5634
|
-
|
|
5635
|
-
const Ne = (...t) => t.filter(Boolean).join(" "),
|
|
5642
|
+
Ln.displayName = "MentionComposer";
|
|
5643
|
+
const Ne = (...t) => t.filter(Boolean).join(" "), In = (t) => /* @__PURE__ */ e(Oe, { ...t, strokeWidth: 1.5, "aria-hidden": !0 }), On = (t) => /* @__PURE__ */ e(Ie, { ...t, strokeWidth: 1.5, "aria-hidden": !0 }), Pn = {
|
|
5636
5644
|
sm: "h-control-sm px-3 text-sm",
|
|
5637
5645
|
md: "h-control-md px-3 text-base",
|
|
5638
5646
|
lg: "h-control-lg px-3 text-base",
|
|
@@ -5642,14 +5650,14 @@ const Ne = (...t) => t.filter(Boolean).join(" "), Ln = (t) => /* @__PURE__ */ e(
|
|
|
5642
5650
|
md: "h-5 w-5",
|
|
5643
5651
|
lg: "h-6 w-6",
|
|
5644
5652
|
full: "h-6 w-6"
|
|
5645
|
-
},
|
|
5653
|
+
}, jn = be(
|
|
5646
5654
|
({
|
|
5647
5655
|
label: t,
|
|
5648
5656
|
helperText: r,
|
|
5649
5657
|
error: n,
|
|
5650
5658
|
size: s = "md",
|
|
5651
5659
|
fullWidth: a = !1,
|
|
5652
|
-
startIcon: l = /* @__PURE__ */ e(
|
|
5660
|
+
startIcon: l = /* @__PURE__ */ e(In, {}),
|
|
5653
5661
|
loading: o = !1,
|
|
5654
5662
|
containerClassName: u,
|
|
5655
5663
|
labelClassName: i,
|
|
@@ -5746,7 +5754,7 @@ const Ne = (...t) => t.filter(Boolean).join(" "), Ln = (t) => /* @__PURE__ */ e(
|
|
|
5746
5754
|
"placeholder:text-text-subtle focus-visible:outline-none focus-visible:focus-ring",
|
|
5747
5755
|
"disabled:cursor-not-allowed disabled:bg-surface-hover disabled:text-text-disabled",
|
|
5748
5756
|
// Size styles
|
|
5749
|
-
|
|
5757
|
+
Pn[s],
|
|
5750
5758
|
// Icon padding
|
|
5751
5759
|
l ? "pl-10" : "",
|
|
5752
5760
|
"pr-10",
|
|
@@ -5764,7 +5772,7 @@ const Ne = (...t) => t.filter(Boolean).join(" "), Ln = (t) => /* @__PURE__ */ e(
|
|
|
5764
5772
|
) : (
|
|
5765
5773
|
// Dropdown Chevron
|
|
5766
5774
|
/* @__PURE__ */ e(
|
|
5767
|
-
|
|
5775
|
+
On,
|
|
5768
5776
|
{
|
|
5769
5777
|
className: Ne(
|
|
5770
5778
|
"text-text-muted cursor-pointer transition-transform",
|
|
@@ -5798,8 +5806,8 @@ const Ne = (...t) => t.filter(Boolean).join(" "), Ln = (t) => /* @__PURE__ */ e(
|
|
|
5798
5806
|
);
|
|
5799
5807
|
}
|
|
5800
5808
|
);
|
|
5801
|
-
|
|
5802
|
-
const
|
|
5809
|
+
jn.displayName = "SearchableTextField";
|
|
5810
|
+
const Rn = be(
|
|
5803
5811
|
({ checked: t, onChange: r, label: n, disabled: s = !1, className: a, ...l }, o) => {
|
|
5804
5812
|
const u = /* @__PURE__ */ e(
|
|
5805
5813
|
"span",
|
|
@@ -5852,25 +5860,25 @@ const jn = be(
|
|
|
5852
5860
|
);
|
|
5853
5861
|
}
|
|
5854
5862
|
);
|
|
5855
|
-
|
|
5856
|
-
const
|
|
5863
|
+
Rn.displayName = "Switch";
|
|
5864
|
+
const Fn = [
|
|
5857
5865
|
{ upTo: 1, cols: "grid-cols-1" },
|
|
5858
5866
|
{ upTo: 2, cols: "grid-cols-1 @[22rem]:grid-cols-2" },
|
|
5859
5867
|
{ upTo: 4, cols: "grid-cols-1 @[18rem]:grid-cols-2" },
|
|
5860
5868
|
{ upTo: 9, cols: "grid-cols-2 @[26rem]:grid-cols-3" }
|
|
5861
|
-
],
|
|
5862
|
-
function
|
|
5863
|
-
return
|
|
5869
|
+
], Bn = "grid-cols-2 @[26rem]:grid-cols-3 @[40rem]:grid-cols-4";
|
|
5870
|
+
function Hn(t) {
|
|
5871
|
+
return Fn.find((r) => t <= r.upTo)?.cols ?? Bn;
|
|
5864
5872
|
}
|
|
5865
|
-
function
|
|
5873
|
+
function qn(t, r) {
|
|
5866
5874
|
const n = r ?? t;
|
|
5867
5875
|
if (t <= n) return { shown: t, hidden: 0 };
|
|
5868
5876
|
const s = Math.max(0, n - 1);
|
|
5869
5877
|
return { shown: s, hidden: t - s };
|
|
5870
5878
|
}
|
|
5871
|
-
function
|
|
5879
|
+
function la({ tiles: t, pinned: r, maxStrip: n, className: s }) {
|
|
5872
5880
|
if (r) {
|
|
5873
|
-
const { shown: a, hidden: l } =
|
|
5881
|
+
const { shown: a, hidden: l } = qn(t.length, n), o = t.slice(0, a);
|
|
5874
5882
|
return /* @__PURE__ */ c("div", { className: d("@container flex h-full min-h-0 flex-col gap-2", s), children: [
|
|
5875
5883
|
/* @__PURE__ */ e("div", { className: "min-h-0 flex-1", children: r }),
|
|
5876
5884
|
t.length > 0 && // Fixed height as a share of the pane, with a floor so the strip
|
|
@@ -5889,14 +5897,14 @@ function aa({ tiles: t, pinned: r, maxStrip: n, className: s }) {
|
|
|
5889
5897
|
{
|
|
5890
5898
|
className: d(
|
|
5891
5899
|
"@container grid h-full min-h-0 auto-rows-fr gap-2",
|
|
5892
|
-
|
|
5900
|
+
Hn(t.length),
|
|
5893
5901
|
s
|
|
5894
5902
|
),
|
|
5895
5903
|
children: t.map((a, l) => /* @__PURE__ */ e("div", { className: "min-h-0 min-w-0", children: a }, l))
|
|
5896
5904
|
}
|
|
5897
5905
|
);
|
|
5898
5906
|
}
|
|
5899
|
-
function
|
|
5907
|
+
function oa({
|
|
5900
5908
|
name: t,
|
|
5901
5909
|
avatarUrl: r,
|
|
5902
5910
|
muted: n,
|
|
@@ -5932,7 +5940,7 @@ function la({
|
|
|
5932
5940
|
}
|
|
5933
5941
|
);
|
|
5934
5942
|
}
|
|
5935
|
-
function
|
|
5943
|
+
function ca({
|
|
5936
5944
|
attach: t,
|
|
5937
5945
|
active: r = !0,
|
|
5938
5946
|
mirrored: n = !1,
|
|
@@ -5957,7 +5965,7 @@ function oa({
|
|
|
5957
5965
|
}
|
|
5958
5966
|
);
|
|
5959
5967
|
}
|
|
5960
|
-
const
|
|
5968
|
+
const Un = () => /* @__PURE__ */ e(Ve, { variant: "inline", shape: "menu" }), bt = ({ item: t, isSelectedHandler: r, onClick: n, depth: s = 0 }) => {
|
|
5961
5969
|
const a = !!(t.children && t.children.length > 0), l = r ? r(t.path) : !1;
|
|
5962
5970
|
if (a)
|
|
5963
5971
|
return /* @__PURE__ */ c("li", { children: [
|
|
@@ -6064,7 +6072,7 @@ const qn = () => /* @__PURE__ */ e(Ve, { variant: "inline", shape: "menu" }), bt
|
|
|
6064
6072
|
]
|
|
6065
6073
|
}
|
|
6066
6074
|
) });
|
|
6067
|
-
},
|
|
6075
|
+
}, ia = ({
|
|
6068
6076
|
items: t,
|
|
6069
6077
|
isSelectedHandler: r,
|
|
6070
6078
|
onClick: n,
|
|
@@ -6072,7 +6080,7 @@ const qn = () => /* @__PURE__ */ e(Ve, { variant: "inline", shape: "menu" }), bt
|
|
|
6072
6080
|
loading: a = !1
|
|
6073
6081
|
}) => a ? /* @__PURE__ */ c("nav", { className: "flex h-full min-h-0 shrink-0 flex-col", children: [
|
|
6074
6082
|
s && /* @__PURE__ */ e("div", { className: "pb-4", children: s }),
|
|
6075
|
-
/* @__PURE__ */ e(
|
|
6083
|
+
/* @__PURE__ */ e(Un, {})
|
|
6076
6084
|
] }) : /* @__PURE__ */ c("nav", { className: "flex h-full min-h-0 shrink-0 flex-col", children: [
|
|
6077
6085
|
s && /* @__PURE__ */ e("div", { className: "pb-4", children: s }),
|
|
6078
6086
|
/* @__PURE__ */ e("ul", { className: "flex min-h-0 flex-1 flex-col gap-px overflow-y-auto", children: t.map(
|
|
@@ -6087,7 +6095,7 @@ const qn = () => /* @__PURE__ */ e(Ve, { variant: "inline", shape: "menu" }), bt
|
|
|
6087
6095
|
)
|
|
6088
6096
|
) })
|
|
6089
6097
|
] });
|
|
6090
|
-
function
|
|
6098
|
+
function da({
|
|
6091
6099
|
open: t,
|
|
6092
6100
|
title: r,
|
|
6093
6101
|
description: n,
|
|
@@ -6121,7 +6129,7 @@ function ia({
|
|
|
6121
6129
|
}
|
|
6122
6130
|
);
|
|
6123
6131
|
}
|
|
6124
|
-
const
|
|
6132
|
+
const Vn = {
|
|
6125
6133
|
none: "p-0",
|
|
6126
6134
|
xs: "p-1",
|
|
6127
6135
|
sm: "p-2",
|
|
@@ -6129,7 +6137,7 @@ const Un = {
|
|
|
6129
6137
|
lg: "p-6",
|
|
6130
6138
|
xl: "p-8",
|
|
6131
6139
|
"2xl": "p-12"
|
|
6132
|
-
},
|
|
6140
|
+
}, Kn = {
|
|
6133
6141
|
none: "m-0",
|
|
6134
6142
|
xs: "m-1",
|
|
6135
6143
|
sm: "m-2",
|
|
@@ -6137,7 +6145,7 @@ const Un = {
|
|
|
6137
6145
|
lg: "m-6",
|
|
6138
6146
|
xl: "m-8",
|
|
6139
6147
|
"2xl": "m-12"
|
|
6140
|
-
},
|
|
6148
|
+
}, Wn = {
|
|
6141
6149
|
none: "",
|
|
6142
6150
|
primary: "bg-accent text-accent-fg",
|
|
6143
6151
|
secondary: "bg-surface-hover",
|
|
@@ -6153,26 +6161,26 @@ const Un = {
|
|
|
6153
6161
|
backdrop: "bg-page",
|
|
6154
6162
|
editor: "bg-surface",
|
|
6155
6163
|
input: "bg-surface-input"
|
|
6156
|
-
},
|
|
6164
|
+
}, Gn = {
|
|
6157
6165
|
none: "rounded-none",
|
|
6158
6166
|
sm: "rounded-sm",
|
|
6159
6167
|
md: "rounded-md",
|
|
6160
6168
|
lg: "rounded-lg",
|
|
6161
6169
|
xl: "rounded-xl",
|
|
6162
6170
|
full: "rounded-full"
|
|
6163
|
-
},
|
|
6171
|
+
}, Jn = {
|
|
6164
6172
|
none: "shadow-none",
|
|
6165
6173
|
sm: "shadow-none",
|
|
6166
6174
|
md: "shadow-overlay",
|
|
6167
6175
|
lg: "shadow-overlay",
|
|
6168
6176
|
xl: "shadow-modal",
|
|
6169
6177
|
"2xl": "shadow-modal"
|
|
6170
|
-
},
|
|
6178
|
+
}, Yn = {
|
|
6171
6179
|
none: "border-0",
|
|
6172
6180
|
sm: "border",
|
|
6173
6181
|
md: "border-2",
|
|
6174
6182
|
lg: "border-4"
|
|
6175
|
-
},
|
|
6183
|
+
}, Xn = {
|
|
6176
6184
|
primary: "border-accent-border",
|
|
6177
6185
|
secondary: "border-border",
|
|
6178
6186
|
accent: "border-accent-border",
|
|
@@ -6199,13 +6207,13 @@ const Un = {
|
|
|
6199
6207
|
{
|
|
6200
6208
|
ref: m,
|
|
6201
6209
|
className: d(
|
|
6202
|
-
t &&
|
|
6203
|
-
r &&
|
|
6204
|
-
n &&
|
|
6205
|
-
s &&
|
|
6206
|
-
a &&
|
|
6207
|
-
l &&
|
|
6208
|
-
o &&
|
|
6210
|
+
t && Vn[t],
|
|
6211
|
+
r && Kn[r],
|
|
6212
|
+
n && Wn[n],
|
|
6213
|
+
s && Gn[s],
|
|
6214
|
+
a && Jn[a],
|
|
6215
|
+
l && Yn[l],
|
|
6216
|
+
o && Xn[o],
|
|
6209
6217
|
u
|
|
6210
6218
|
),
|
|
6211
6219
|
...p,
|
|
@@ -6214,10 +6222,10 @@ const Un = {
|
|
|
6214
6222
|
)
|
|
6215
6223
|
);
|
|
6216
6224
|
pt.displayName = "Box";
|
|
6217
|
-
const
|
|
6225
|
+
const ua = ({ children: t, title: r, ...n }) => /* @__PURE__ */ c(pt, { background: "module", radius: "lg", shadow: "none", border: "sm", borderColor: "neutral", ...n, children: [
|
|
6218
6226
|
r && /* @__PURE__ */ e("span", { className: "mb-2 block text-sm font-semibold text-text", children: r }),
|
|
6219
6227
|
t
|
|
6220
|
-
] }),
|
|
6228
|
+
] }), Zn = {
|
|
6221
6229
|
xs: "text-xs",
|
|
6222
6230
|
sm: "text-sm",
|
|
6223
6231
|
md: "text-base",
|
|
@@ -6226,13 +6234,13 @@ const da = ({ children: t, title: r, ...n }) => /* @__PURE__ */ c(pt, { backgrou
|
|
|
6226
6234
|
"2xl": "text-2xl",
|
|
6227
6235
|
"3xl": "text-3xl",
|
|
6228
6236
|
"4xl": "text-3xl"
|
|
6229
|
-
},
|
|
6237
|
+
}, Qn = {
|
|
6230
6238
|
light: "font-normal",
|
|
6231
6239
|
normal: "font-normal",
|
|
6232
6240
|
medium: "font-medium",
|
|
6233
6241
|
semibold: "font-semibold",
|
|
6234
6242
|
bold: "font-bold"
|
|
6235
|
-
},
|
|
6243
|
+
}, es = {
|
|
6236
6244
|
primary: "text-text",
|
|
6237
6245
|
secondary: "text-text-muted",
|
|
6238
6246
|
accent: "text-accent",
|
|
@@ -6242,11 +6250,11 @@ const da = ({ children: t, title: r, ...n }) => /* @__PURE__ */ c(pt, { backgrou
|
|
|
6242
6250
|
info: "text-info-fg",
|
|
6243
6251
|
neutral: "text-text",
|
|
6244
6252
|
current: "text-current"
|
|
6245
|
-
},
|
|
6253
|
+
}, ts = {
|
|
6246
6254
|
left: "text-left",
|
|
6247
6255
|
center: "text-center",
|
|
6248
6256
|
right: "text-right"
|
|
6249
|
-
},
|
|
6257
|
+
}, ma = ({
|
|
6250
6258
|
level: t = 1,
|
|
6251
6259
|
size: r,
|
|
6252
6260
|
weight: n = "semibold",
|
|
@@ -6259,16 +6267,16 @@ const da = ({ children: t, title: r, ...n }) => /* @__PURE__ */ c(pt, { backgrou
|
|
|
6259
6267
|
}) => {
|
|
6260
6268
|
const p = `h${t}`, m = d(
|
|
6261
6269
|
"font-sans text-pretty",
|
|
6262
|
-
|
|
6263
|
-
|
|
6264
|
-
|
|
6265
|
-
|
|
6270
|
+
Zn[r || rs(t)],
|
|
6271
|
+
Qn[n],
|
|
6272
|
+
es[s],
|
|
6273
|
+
ts[a],
|
|
6266
6274
|
l && "truncate",
|
|
6267
6275
|
o
|
|
6268
6276
|
);
|
|
6269
6277
|
return /* @__PURE__ */ e(p, { className: m, ...i, children: u });
|
|
6270
6278
|
};
|
|
6271
|
-
function
|
|
6279
|
+
function rs(t) {
|
|
6272
6280
|
return {
|
|
6273
6281
|
1: "2xl",
|
|
6274
6282
|
2: "xl",
|
|
@@ -6279,110 +6287,110 @@ function ts(t) {
|
|
|
6279
6287
|
}[t] || "md";
|
|
6280
6288
|
}
|
|
6281
6289
|
const tt = ["cat-1", "cat-2", "cat-3", "cat-4", "cat-5"];
|
|
6282
|
-
function
|
|
6290
|
+
function fa(t) {
|
|
6283
6291
|
let r = 0;
|
|
6284
6292
|
for (let n = 0; n < t.length; n++) r = r * 31 + t.charCodeAt(n) >>> 0;
|
|
6285
6293
|
return tt[r % tt.length];
|
|
6286
6294
|
}
|
|
6287
6295
|
export {
|
|
6288
|
-
|
|
6289
|
-
|
|
6290
|
-
|
|
6291
|
-
|
|
6292
|
-
|
|
6296
|
+
Ns as ActivityAvatar,
|
|
6297
|
+
ws as ActivityGlyph,
|
|
6298
|
+
vs as ActivityRow,
|
|
6299
|
+
xs as ArtifactView,
|
|
6300
|
+
gs as AssistantCard,
|
|
6293
6301
|
it as Avatar,
|
|
6294
|
-
|
|
6295
|
-
|
|
6302
|
+
ps as AvatarStack,
|
|
6303
|
+
en as Badge,
|
|
6296
6304
|
pt as Box,
|
|
6297
6305
|
ae as Button,
|
|
6298
|
-
|
|
6299
|
-
|
|
6300
|
-
|
|
6306
|
+
ms as ButtonGroup,
|
|
6307
|
+
ua as Card,
|
|
6308
|
+
Ss as ChannelBadge,
|
|
6301
6309
|
we as Checkbox,
|
|
6302
|
-
|
|
6303
|
-
|
|
6310
|
+
hs as CommandPalette,
|
|
6311
|
+
da as ConfirmDialog,
|
|
6304
6312
|
Ve as ContentLoading,
|
|
6305
6313
|
He as DatePicker,
|
|
6306
|
-
|
|
6307
|
-
|
|
6308
|
-
|
|
6309
|
-
|
|
6314
|
+
Vr as Dropdown,
|
|
6315
|
+
Xs as EmptyState,
|
|
6316
|
+
Js as ErrorBoundary,
|
|
6317
|
+
Ys as FederatedResource,
|
|
6310
6318
|
sr as FilterChip,
|
|
6311
|
-
|
|
6312
|
-
|
|
6313
|
-
|
|
6314
|
-
|
|
6315
|
-
|
|
6319
|
+
Nn as FolderSelect,
|
|
6320
|
+
sa as Form,
|
|
6321
|
+
zn as FormSection,
|
|
6322
|
+
ma as Heading,
|
|
6323
|
+
yr as IDENTITY_TONE_COUNT,
|
|
6316
6324
|
Z as Icon,
|
|
6317
|
-
|
|
6318
|
-
|
|
6319
|
-
|
|
6320
|
-
|
|
6321
|
-
|
|
6322
|
-
|
|
6323
|
-
|
|
6324
|
-
|
|
6325
|
-
|
|
6326
|
-
|
|
6327
|
-
|
|
6328
|
-
|
|
6325
|
+
Es as Image,
|
|
6326
|
+
aa as ImageField,
|
|
6327
|
+
Zs as Kbd,
|
|
6328
|
+
Ts as KpiCard,
|
|
6329
|
+
fs as Link,
|
|
6330
|
+
zs as List,
|
|
6331
|
+
Ms as ListBulkAction,
|
|
6332
|
+
la as MeetingGrid,
|
|
6333
|
+
Ln as MentionComposer,
|
|
6334
|
+
As as MessageBubble,
|
|
6335
|
+
_s as MetaSeparator,
|
|
6336
|
+
Ds as MetaValue,
|
|
6329
6337
|
xt as Modal,
|
|
6330
|
-
|
|
6331
|
-
|
|
6332
|
-
|
|
6338
|
+
$s as Page,
|
|
6339
|
+
Pr as PageHeader,
|
|
6340
|
+
Ls as PageToolbar,
|
|
6333
6341
|
ke as PageToolbarActions,
|
|
6334
|
-
|
|
6342
|
+
oa as ParticipantTile,
|
|
6335
6343
|
st as Popover,
|
|
6336
|
-
|
|
6337
|
-
|
|
6338
|
-
|
|
6344
|
+
Qs as ProgressBar,
|
|
6345
|
+
ze as RichText,
|
|
6346
|
+
ks as RowCard,
|
|
6339
6347
|
ut as SearchField,
|
|
6340
|
-
|
|
6341
|
-
|
|
6342
|
-
|
|
6348
|
+
jn as SearchableTextField,
|
|
6349
|
+
Is as SectionCaption,
|
|
6350
|
+
Os as SectionDivider,
|
|
6343
6351
|
ir as SegmentedToggle,
|
|
6344
|
-
|
|
6345
|
-
|
|
6346
|
-
|
|
6347
|
-
|
|
6348
|
-
|
|
6349
|
-
|
|
6350
|
-
|
|
6351
|
-
|
|
6352
|
+
Le as Select,
|
|
6353
|
+
Ps as SettingsFrameProvider,
|
|
6354
|
+
Rs as SettingsPage,
|
|
6355
|
+
Fs as SettingsRow,
|
|
6356
|
+
Bs as SettingsSection,
|
|
6357
|
+
ia as SidebarMenu,
|
|
6358
|
+
Hs as SourceChip,
|
|
6359
|
+
ea as Spinner,
|
|
6352
6360
|
at as SplitButton,
|
|
6353
|
-
|
|
6354
|
-
|
|
6355
|
-
|
|
6356
|
-
|
|
6357
|
-
|
|
6361
|
+
ta as StatusDot,
|
|
6362
|
+
ra as StepIndicator,
|
|
6363
|
+
Sn as StorageInput,
|
|
6364
|
+
Rn as Switch,
|
|
6365
|
+
na as TabBar,
|
|
6358
6366
|
Ze as Table,
|
|
6359
|
-
|
|
6367
|
+
kn as Tabs,
|
|
6360
6368
|
me as Text,
|
|
6361
6369
|
qe as TextArea,
|
|
6362
6370
|
Ce as TextField,
|
|
6363
|
-
|
|
6364
|
-
|
|
6365
|
-
|
|
6371
|
+
Cs as TimelineEvent,
|
|
6372
|
+
ca as VideoSurface,
|
|
6373
|
+
Gs as View,
|
|
6366
6374
|
Qe as autofillProps,
|
|
6367
|
-
|
|
6368
|
-
|
|
6369
|
-
|
|
6370
|
-
|
|
6375
|
+
tn as badgeColumn,
|
|
6376
|
+
Ks as booleanBadgeColumn,
|
|
6377
|
+
ys as cardActionClass,
|
|
6378
|
+
fa as catTone,
|
|
6371
6379
|
d as cn,
|
|
6372
|
-
|
|
6373
|
-
|
|
6374
|
-
|
|
6375
|
-
|
|
6380
|
+
us as createSizes,
|
|
6381
|
+
ds as createVariants,
|
|
6382
|
+
qs as dateFilterHandler,
|
|
6383
|
+
bs as identityDotClass,
|
|
6376
6384
|
ct as identityPlateClass,
|
|
6377
6385
|
ot as identityTone,
|
|
6378
|
-
|
|
6379
|
-
|
|
6380
|
-
|
|
6386
|
+
Ws as labelsColumn,
|
|
6387
|
+
Vs as multiSelectFilterHandler,
|
|
6388
|
+
pn as normalizeText,
|
|
6381
6389
|
Zt as resolveLucideIcon,
|
|
6382
|
-
|
|
6383
|
-
|
|
6384
|
-
|
|
6385
|
-
|
|
6386
|
-
|
|
6390
|
+
Us as selectFilterHandler,
|
|
6391
|
+
_e as text,
|
|
6392
|
+
Me as useAnchoredPosition,
|
|
6393
|
+
Fr as useSettingsFrame,
|
|
6394
|
+
js as useSettingsFrameHost
|
|
6387
6395
|
};
|
|
6388
6396
|
//# sourceMappingURL=index.js.map
|