@arbidocs/react 0.4.109 → 0.4.110
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/README.md +1 -1
- package/dist/artifacts/index.cjs +13 -13
- package/dist/artifacts/index.js +2 -2
- package/dist/{chunk-P4A5EG5B.js → chunk-5L46Z7HZ.js} +443 -36
- package/dist/chunk-5L46Z7HZ.js.map +1 -0
- package/dist/{chunk-EEW2SH76.cjs → chunk-XD4P4KRH.cjs} +451 -35
- package/dist/chunk-XD4P4KRH.cjs.map +1 -0
- package/dist/index.cjs +371 -292
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +476 -459
- package/dist/index.d.ts +476 -459
- package/dist/index.js +149 -108
- package/dist/index.js.map +1 -1
- package/dist/ui/index.cjs +130 -130
- package/dist/ui/index.js +2 -2
- package/package.json +3 -3
- package/dist/chunk-EEW2SH76.cjs.map +0 -1
- package/dist/chunk-P4A5EG5B.js.map +0 -1
package/dist/index.cjs
CHANGED
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
var chunkAFGE55RQ_cjs = require('./chunk-AFGE55RQ.cjs');
|
|
4
4
|
var chunk5DCRIWCA_cjs = require('./chunk-5DCRIWCA.cjs');
|
|
5
5
|
var chunkF7KQVVD2_cjs = require('./chunk-F7KQVVD2.cjs');
|
|
6
|
-
var
|
|
7
|
-
var chunkWYZJLZ67_cjs = require('./chunk-WYZJLZ67.cjs');
|
|
6
|
+
var chunkXD4P4KRH_cjs = require('./chunk-XD4P4KRH.cjs');
|
|
8
7
|
var chunkTBELZWGV_cjs = require('./chunk-TBELZWGV.cjs');
|
|
8
|
+
var chunkWYZJLZ67_cjs = require('./chunk-WYZJLZ67.cjs');
|
|
9
9
|
var chunkZ3LLUO32_cjs = require('./chunk-Z3LLUO32.cjs');
|
|
10
10
|
var chunkHUZB36QU_cjs = require('./chunk-HUZB36QU.cjs');
|
|
11
11
|
var chunkHJDR5HEO_cjs = require('./chunk-HJDR5HEO.cjs');
|
|
@@ -1585,27 +1585,45 @@ function useContacts(options) {
|
|
|
1585
1585
|
function usePendingContacts(options) {
|
|
1586
1586
|
const contacts = useContacts(options);
|
|
1587
1587
|
const pending = React.useMemo(
|
|
1588
|
-
() => (contacts.data ?? []).filter(
|
|
1589
|
-
(c) => c.status === "invitation_pending" || c.status === "invitation_expired"
|
|
1590
|
-
),
|
|
1588
|
+
() => (contacts.data ?? []).filter((c) => c.status === "invited" || c.status === "expired"),
|
|
1591
1589
|
[contacts.data]
|
|
1592
1590
|
);
|
|
1593
1591
|
return { ...contacts, pending };
|
|
1594
1592
|
}
|
|
1595
|
-
function
|
|
1596
|
-
const arbi = chunkXIDDXD5Y_cjs.useArbi();
|
|
1593
|
+
function useInvalidateContacts() {
|
|
1597
1594
|
const qc = reactQuery.useQueryClient();
|
|
1595
|
+
return () => qc.invalidateQueries({ queryKey: chunkAFGE55RQ_cjs.arbiQueryKeys.contacts() });
|
|
1596
|
+
}
|
|
1597
|
+
function useInviteContacts() {
|
|
1598
|
+
const arbi = chunkXIDDXD5Y_cjs.useArbi();
|
|
1599
|
+
const invalidate = useInvalidateContacts();
|
|
1598
1600
|
return reactQuery.useMutation({
|
|
1599
|
-
mutationFn: (emails) => arbi.contacts.
|
|
1600
|
-
onSuccess: () =>
|
|
1601
|
+
mutationFn: (emails) => arbi.contacts.invite(emails),
|
|
1602
|
+
onSuccess: () => invalidate()
|
|
1601
1603
|
});
|
|
1602
1604
|
}
|
|
1603
|
-
function
|
|
1605
|
+
function useCreateContact() {
|
|
1604
1606
|
const arbi = chunkXIDDXD5Y_cjs.useArbi();
|
|
1605
|
-
const
|
|
1607
|
+
const invalidate = useInvalidateContacts();
|
|
1608
|
+
return reactQuery.useMutation({
|
|
1609
|
+
mutationFn: (body) => arbi.contacts.create(body),
|
|
1610
|
+
onSuccess: () => invalidate()
|
|
1611
|
+
});
|
|
1612
|
+
}
|
|
1613
|
+
function useUpdateContact() {
|
|
1614
|
+
const arbi = chunkXIDDXD5Y_cjs.useArbi();
|
|
1615
|
+
const invalidate = useInvalidateContacts();
|
|
1606
1616
|
return reactQuery.useMutation({
|
|
1607
|
-
mutationFn: (
|
|
1608
|
-
onSuccess: () =>
|
|
1617
|
+
mutationFn: ({ id, card }) => arbi.contacts.update(id, card),
|
|
1618
|
+
onSuccess: () => invalidate()
|
|
1619
|
+
});
|
|
1620
|
+
}
|
|
1621
|
+
function useDeleteContact() {
|
|
1622
|
+
const arbi = chunkXIDDXD5Y_cjs.useArbi();
|
|
1623
|
+
const invalidate = useInvalidateContacts();
|
|
1624
|
+
return reactQuery.useMutation({
|
|
1625
|
+
mutationFn: (contactId) => arbi.contacts.delete(contactId),
|
|
1626
|
+
onSuccess: () => invalidate()
|
|
1609
1627
|
});
|
|
1610
1628
|
}
|
|
1611
1629
|
function toProfileView(profile) {
|
|
@@ -3014,7 +3032,7 @@ function AiAnswer({
|
|
|
3014
3032
|
}
|
|
3015
3033
|
),
|
|
3016
3034
|
hasText && /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
3017
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
3035
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkXD4P4KRH_cjs.AiMarkdown, { isStreaming: running, children: text }),
|
|
3018
3036
|
!running && /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center justify-between border-t border-border pt-2.5", children: [
|
|
3019
3037
|
/* @__PURE__ */ jsxRuntime.jsxs("span", { className: "inline-flex items-center gap-1.5 text-xs text-muted-foreground", children: [
|
|
3020
3038
|
/* @__PURE__ */ jsxRuntime.jsx(lucideReact.ShieldCheck, { className: "size-3.5 text-ai-accent" }),
|
|
@@ -3059,7 +3077,7 @@ function AiActionCard({
|
|
|
3059
3077
|
const p = typeof prompt === "function" ? prompt() : prompt;
|
|
3060
3078
|
void task.run(p, docIds);
|
|
3061
3079
|
};
|
|
3062
|
-
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
3080
|
+
return /* @__PURE__ */ jsxRuntime.jsxs(chunkXD4P4KRH_cjs.Card, { variant: "elevated", className: "rounded-xl p-5", "data-testid": testId, children: [
|
|
3063
3081
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-start justify-between gap-4", children: [
|
|
3064
3082
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-start gap-3", children: [
|
|
3065
3083
|
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex size-9 shrink-0 items-center justify-center rounded-lg bg-ai-accent-soft text-ai-accent", children: /* @__PURE__ */ jsxRuntime.jsx(Icon, { className: "size-4" }) }),
|
|
@@ -3201,11 +3219,11 @@ function ArtifactCanvas({
|
|
|
3201
3219
|
children: active.title
|
|
3202
3220
|
}
|
|
3203
3221
|
),
|
|
3204
|
-
isRedline && /* @__PURE__ */ jsxRuntime.jsxs(
|
|
3222
|
+
isRedline && /* @__PURE__ */ jsxRuntime.jsxs(chunkXD4P4KRH_cjs.Badge, { variant: "accent", className: "gap-1", children: [
|
|
3205
3223
|
/* @__PURE__ */ jsxRuntime.jsx(lucideReact.GitCompareArrows, { className: "size-3" }),
|
|
3206
3224
|
" Redline"
|
|
3207
3225
|
] }),
|
|
3208
|
-
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
3226
|
+
/* @__PURE__ */ jsxRuntime.jsxs(chunkXD4P4KRH_cjs.Badge, { variant: "secondary", children: [
|
|
3209
3227
|
"v",
|
|
3210
3228
|
active.version
|
|
3211
3229
|
] }),
|
|
@@ -3261,7 +3279,7 @@ function ArtifactCanvas({
|
|
|
3261
3279
|
animate: { opacity: 1, y: 0 },
|
|
3262
3280
|
transition: { duration: 0.2 },
|
|
3263
3281
|
className: "mx-auto max-w-2xl rounded-lg bg-card p-8 shadow-sm ring-1 ring-border",
|
|
3264
|
-
children: active.mode === "html" ? /* @__PURE__ */ jsxRuntime.jsx("div", { className: "text-sm", dangerouslySetInnerHTML: { __html: active.content } }) : active.mode === "text" ? /* @__PURE__ */ jsxRuntime.jsx("pre", { className: "whitespace-pre-wrap font-mono text-xs text-foreground", children: active.content }) : /* @__PURE__ */ jsxRuntime.jsx(
|
|
3282
|
+
children: active.mode === "html" ? /* @__PURE__ */ jsxRuntime.jsx("div", { className: "text-sm", dangerouslySetInnerHTML: { __html: active.content } }) : active.mode === "text" ? /* @__PURE__ */ jsxRuntime.jsx("pre", { className: "whitespace-pre-wrap font-mono text-xs text-foreground", children: active.content }) : /* @__PURE__ */ jsxRuntime.jsx(chunkXD4P4KRH_cjs.AiMarkdown, { children: active.content })
|
|
3265
3283
|
},
|
|
3266
3284
|
active.doc_ext_id
|
|
3267
3285
|
) }) })
|
|
@@ -3305,7 +3323,7 @@ function MessageArtifactCard({
|
|
|
3305
3323
|
const labels = labelsFor(mode);
|
|
3306
3324
|
const Icon = labels.Icon;
|
|
3307
3325
|
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
3308
|
-
|
|
3326
|
+
chunkXD4P4KRH_cjs.Card,
|
|
3309
3327
|
{
|
|
3310
3328
|
variant: "outline",
|
|
3311
3329
|
className: "mt-3 flex items-center gap-3 px-3 py-2.5",
|
|
@@ -3381,7 +3399,7 @@ function DocSearch({
|
|
|
3381
3399
|
status === "done" && /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "space-y-2", "data-testid": "doc-search-results", children: [
|
|
3382
3400
|
/* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-xs text-muted-foreground", children: results.length === 0 ? `No passages matched \u201C${query}\u201D.` : `${results.length} passage${results.length === 1 ? "" : "s"} for \u201C${query}\u201D` }),
|
|
3383
3401
|
results.slice(0, 8).map((r, i) => /* @__PURE__ */ jsxRuntime.jsxs(
|
|
3384
|
-
|
|
3402
|
+
chunkXD4P4KRH_cjs.Card,
|
|
3385
3403
|
{
|
|
3386
3404
|
variant: "elevated",
|
|
3387
3405
|
className: chunkS6A6FSG7_cjs.cn(
|
|
@@ -3394,7 +3412,7 @@ function DocSearch({
|
|
|
3394
3412
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "mb-1 flex items-center gap-2", children: [
|
|
3395
3413
|
/* @__PURE__ */ jsxRuntime.jsx(lucideReact.FileText, { className: "size-3.5 text-ai-accent" }),
|
|
3396
3414
|
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "truncate text-xs font-medium text-foreground", children: r.docTitle ?? "Document" }),
|
|
3397
|
-
r.page != null && /* @__PURE__ */ jsxRuntime.jsxs(
|
|
3415
|
+
r.page != null && /* @__PURE__ */ jsxRuntime.jsxs(chunkXD4P4KRH_cjs.Badge, { variant: "secondary", children: [
|
|
3398
3416
|
"p.",
|
|
3399
3417
|
r.page
|
|
3400
3418
|
] }),
|
|
@@ -3488,7 +3506,7 @@ function DocumentReview({
|
|
|
3488
3506
|
findings.length ? ` \xB7 ${findings.length} findings` : ""
|
|
3489
3507
|
] })
|
|
3490
3508
|
] }),
|
|
3491
|
-
doc?.status ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
3509
|
+
doc?.status ? /* @__PURE__ */ jsxRuntime.jsx(chunkXD4P4KRH_cjs.Badge, { variant: "secondary", children: doc.status }) : null,
|
|
3492
3510
|
onClose ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
3493
3511
|
"button",
|
|
3494
3512
|
{
|
|
@@ -3525,7 +3543,7 @@ function DocumentReview({
|
|
|
3525
3543
|
className: "w-full cursor-pointer rounded-md border p-2 text-left text-xs transition hover:border-ring hover:bg-muted/50 focus:outline-none focus-visible:ring-2 focus-visible:ring-ring",
|
|
3526
3544
|
children: [
|
|
3527
3545
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
3528
|
-
|
|
3546
|
+
chunkXD4P4KRH_cjs.TagEntity,
|
|
3529
3547
|
{
|
|
3530
3548
|
size: "sm",
|
|
3531
3549
|
tag: {
|
|
@@ -3570,7 +3588,7 @@ function DocumentReview({
|
|
|
3570
3588
|
),
|
|
3571
3589
|
children: [
|
|
3572
3590
|
highlighted ? /* @__PURE__ */ jsxRuntime.jsx("div", { className: "mb-1", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
3573
|
-
|
|
3591
|
+
chunkXD4P4KRH_cjs.TagEntity,
|
|
3574
3592
|
{
|
|
3575
3593
|
size: "sm",
|
|
3576
3594
|
tag: {
|
|
@@ -3619,7 +3637,7 @@ function ResultRow({
|
|
|
3619
3637
|
onSelect
|
|
3620
3638
|
}) {
|
|
3621
3639
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
3622
|
-
|
|
3640
|
+
chunkXD4P4KRH_cjs.PassageCard,
|
|
3623
3641
|
{
|
|
3624
3642
|
onClick: onSelect,
|
|
3625
3643
|
active: isActive,
|
|
@@ -3628,7 +3646,7 @@ function ResultRow({
|
|
|
3628
3646
|
header: /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
3629
3647
|
/* @__PURE__ */ jsxRuntime.jsx(lucideReact.FileText, { className: "size-3.5 shrink-0 text-ai-accent" }),
|
|
3630
3648
|
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "truncate text-xs font-medium text-foreground", children: result.docTitle ?? "Document" }),
|
|
3631
|
-
result.page != null && /* @__PURE__ */ jsxRuntime.jsxs(
|
|
3649
|
+
result.page != null && /* @__PURE__ */ jsxRuntime.jsxs(chunkXD4P4KRH_cjs.Badge, { variant: "secondary", children: [
|
|
3632
3650
|
"p.",
|
|
3633
3651
|
result.page
|
|
3634
3652
|
] })
|
|
@@ -3797,7 +3815,7 @@ Question: ${question}`,
|
|
|
3797
3815
|
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "min-w-0 space-y-3", "data-testid": "doc-qa", children: [
|
|
3798
3816
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex min-w-0 items-center gap-2", children: [
|
|
3799
3817
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
3800
|
-
|
|
3818
|
+
chunkXD4P4KRH_cjs.Input,
|
|
3801
3819
|
{
|
|
3802
3820
|
value: q,
|
|
3803
3821
|
onChange: (e) => setQ(e.target.value),
|
|
@@ -3999,7 +4017,7 @@ var CitationPopover = ({
|
|
|
3999
4017
|
return () => {
|
|
4000
4018
|
if (!restoreFocusRef.current) return;
|
|
4001
4019
|
restoreFocusRef.current = false;
|
|
4002
|
-
if (triggerRef.current)
|
|
4020
|
+
if (triggerRef.current) chunkXD4P4KRH_cjs.returnFocusToMark(triggerRef.current);
|
|
4003
4021
|
};
|
|
4004
4022
|
}, [open]);
|
|
4005
4023
|
React.useEffect(() => {
|
|
@@ -4200,7 +4218,7 @@ var CitationLink = ({
|
|
|
4200
4218
|
triggerRef,
|
|
4201
4219
|
children
|
|
4202
4220
|
}) => /* @__PURE__ */ jsxRuntime.jsxs(
|
|
4203
|
-
|
|
4221
|
+
chunkXD4P4KRH_cjs.MarkMenu,
|
|
4204
4222
|
{
|
|
4205
4223
|
triggerRef,
|
|
4206
4224
|
items,
|
|
@@ -4241,8 +4259,8 @@ var FileIcon = ({ size = 16, className = "" }) => {
|
|
|
4241
4259
|
"path",
|
|
4242
4260
|
{
|
|
4243
4261
|
d: "M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8l-6-6z",
|
|
4244
|
-
fill:
|
|
4245
|
-
stroke:
|
|
4262
|
+
fill: chunkXD4P4KRH_cjs.FILE_TYPE_COLORS.generic,
|
|
4263
|
+
stroke: chunkXD4P4KRH_cjs.FILE_TYPE_COLORS.generic,
|
|
4246
4264
|
strokeWidth: "1",
|
|
4247
4265
|
strokeLinecap: "round",
|
|
4248
4266
|
strokeLinejoin: "round"
|
|
@@ -4253,7 +4271,7 @@ var FileIcon = ({ size = 16, className = "" }) => {
|
|
|
4253
4271
|
{
|
|
4254
4272
|
d: "M14 2v6h6",
|
|
4255
4273
|
fill: "none",
|
|
4256
|
-
stroke:
|
|
4274
|
+
stroke: chunkXD4P4KRH_cjs.FILE_TYPE_COLORS.white,
|
|
4257
4275
|
strokeWidth: "1",
|
|
4258
4276
|
strokeLinecap: "round",
|
|
4259
4277
|
strokeLinejoin: "round"
|
|
@@ -4609,12 +4627,10 @@ var ArbiBotIcon = ({ size = 24, className = "" }) => {
|
|
|
4609
4627
|
);
|
|
4610
4628
|
};
|
|
4611
4629
|
function getNotificationTypeMeta(type) {
|
|
4612
|
-
const WorkspaceIcon =
|
|
4630
|
+
const WorkspaceIcon = chunkXD4P4KRH_cjs.getEntityIcon("WORKSPACE");
|
|
4613
4631
|
switch (type) {
|
|
4614
4632
|
case "agent_input_requested":
|
|
4615
4633
|
return { Icon: lucideReact.MessageCircleMore, iconClassName: "text-primary", label: "Input needed" };
|
|
4616
|
-
case "user_message":
|
|
4617
|
-
return { Icon: lucideReact.MessageCircleMore, iconClassName: "text-primary", label: "Message" };
|
|
4618
4634
|
case "workspaceuser_added_owner":
|
|
4619
4635
|
case "workspaceuser_added_collaborator":
|
|
4620
4636
|
case "workspaceuser_added_guest":
|
|
@@ -4739,7 +4755,7 @@ function describeActivity(content) {
|
|
|
4739
4755
|
}
|
|
4740
4756
|
default:
|
|
4741
4757
|
return {
|
|
4742
|
-
Icon: parsed.workspace_ext_id ?
|
|
4758
|
+
Icon: parsed.workspace_ext_id ? chunkXD4P4KRH_cjs.getEntityIcon("WORKSPACE") : lucideReact.Activity,
|
|
4743
4759
|
iconClassName: "text-muted-foreground",
|
|
4744
4760
|
title: humaniseEvent(parsed.event)
|
|
4745
4761
|
};
|
|
@@ -4856,6 +4872,7 @@ function isAgentUser(user) {
|
|
|
4856
4872
|
return user.external_id.startsWith("agt-");
|
|
4857
4873
|
}
|
|
4858
4874
|
var DM_QUERY_KEY = ["arbi", "directMessages"];
|
|
4875
|
+
var THREAD_LIMIT = 100;
|
|
4859
4876
|
function mergeContacts(threads, contacts) {
|
|
4860
4877
|
const byPeer = /* @__PURE__ */ new Map();
|
|
4861
4878
|
for (const t of threads) byPeer.set(t.peer.external_id, t);
|
|
@@ -4873,43 +4890,42 @@ function mergeContacts(threads, contacts) {
|
|
|
4873
4890
|
return userDisplayName(a.peer).localeCompare(userDisplayName(b.peer));
|
|
4874
4891
|
});
|
|
4875
4892
|
}
|
|
4876
|
-
function
|
|
4877
|
-
const
|
|
4878
|
-
const
|
|
4879
|
-
|
|
4880
|
-
|
|
4881
|
-
|
|
4882
|
-
|
|
4883
|
-
|
|
4884
|
-
|
|
4885
|
-
|
|
4886
|
-
|
|
4887
|
-
|
|
4888
|
-
|
|
4893
|
+
function toConversation(loaded, myExtId, pending) {
|
|
4894
|
+
const { chat } = loaded;
|
|
4895
|
+
const peerMember = chat.members.find((m) => m.user.external_id !== myExtId);
|
|
4896
|
+
if (!peerMember) return null;
|
|
4897
|
+
const meMember = chat.members.find((m) => m.user.external_id === myExtId);
|
|
4898
|
+
const peer = peerMember.user;
|
|
4899
|
+
const userById = new Map(chat.members.map((m) => [m.user.external_id, m.user]));
|
|
4900
|
+
const seen = new Set(loaded.messages.map((m) => m.external_id));
|
|
4901
|
+
const rows = [
|
|
4902
|
+
...loaded.messages,
|
|
4903
|
+
...pending.filter((m) => m.chat_ext_id === chat.external_id && !seen.has(m.external_id))
|
|
4904
|
+
].filter((m) => m.kind === "text" && !m.context_only);
|
|
4905
|
+
const messages = rows.map((m) => {
|
|
4906
|
+
const isMine = m.sender_ext_id === myExtId;
|
|
4907
|
+
const sender = userById.get(m.sender_ext_id ?? "") ?? { external_id: m.sender_ext_id ?? "usr-unknown" };
|
|
4908
|
+
return {
|
|
4909
|
+
externalId: m.external_id,
|
|
4910
|
+
body: m.content ?? "",
|
|
4911
|
+
createdAt: m.created_at,
|
|
4889
4912
|
isMine,
|
|
4890
|
-
read:
|
|
4891
|
-
|
|
4892
|
-
|
|
4913
|
+
// Mine: has the peer read it? Theirs: have I?
|
|
4914
|
+
read: browser.chats.hasRead(isMine ? peerMember : meMember, m),
|
|
4915
|
+
sender,
|
|
4916
|
+
recipient: isMine ? peer : meMember?.user,
|
|
4917
|
+
chatExtId: chat.external_id
|
|
4893
4918
|
};
|
|
4894
|
-
|
|
4895
|
-
|
|
4896
|
-
|
|
4897
|
-
|
|
4898
|
-
|
|
4899
|
-
|
|
4900
|
-
|
|
4901
|
-
|
|
4902
|
-
|
|
4903
|
-
|
|
4904
|
-
conversations.push({
|
|
4905
|
-
peer: peers.get(peerId),
|
|
4906
|
-
messages,
|
|
4907
|
-
lastMessage: messages[messages.length - 1],
|
|
4908
|
-
unreadCount
|
|
4909
|
-
});
|
|
4910
|
-
}
|
|
4911
|
-
conversations.sort((a, b) => b.lastMessage.createdAt.localeCompare(a.lastMessage.createdAt));
|
|
4912
|
-
return conversations;
|
|
4919
|
+
});
|
|
4920
|
+
messages.sort((a, b) => a.createdAt.localeCompare(b.createdAt));
|
|
4921
|
+
if (messages.length === 0) return null;
|
|
4922
|
+
return {
|
|
4923
|
+
peer,
|
|
4924
|
+
chatExtId: chat.external_id,
|
|
4925
|
+
messages,
|
|
4926
|
+
lastMessage: messages[messages.length - 1],
|
|
4927
|
+
unreadCount: chat.unread_count ?? 0
|
|
4928
|
+
};
|
|
4913
4929
|
}
|
|
4914
4930
|
function useDirectMessages(options) {
|
|
4915
4931
|
const arbi = chunkXIDDXD5Y_cjs.useArbi();
|
|
@@ -4917,7 +4933,10 @@ function useDirectMessages(options) {
|
|
|
4917
4933
|
const enabled = options?.enabled ?? arbi.isLoggedIn;
|
|
4918
4934
|
const query = reactQuery.useQuery({
|
|
4919
4935
|
queryKey: DM_QUERY_KEY,
|
|
4920
|
-
queryFn: () =>
|
|
4936
|
+
queryFn: async () => {
|
|
4937
|
+
const direct = await arbi.chats.list("direct");
|
|
4938
|
+
return Promise.all(direct.map((c) => arbi.chats.load(c.external_id, { limit: THREAD_LIMIT })));
|
|
4939
|
+
},
|
|
4921
4940
|
enabled
|
|
4922
4941
|
});
|
|
4923
4942
|
const contactsQuery = reactQuery.useQuery({
|
|
@@ -4925,9 +4944,10 @@ function useDirectMessages(options) {
|
|
|
4925
4944
|
queryFn: () => arbi.contacts.list(),
|
|
4926
4945
|
enabled
|
|
4927
4946
|
});
|
|
4928
|
-
|
|
4929
|
-
|
|
4930
|
-
|
|
4947
|
+
const invalidate = () => queryClient.invalidateQueries({ queryKey: DM_QUERY_KEY });
|
|
4948
|
+
useArbiWsMessage("chat.message", () => void invalidate());
|
|
4949
|
+
useArbiWsMessage("chat.read", () => void invalidate());
|
|
4950
|
+
useArbiWsMessage("chat.updated", () => void invalidate());
|
|
4931
4951
|
let myExtId = null;
|
|
4932
4952
|
try {
|
|
4933
4953
|
myExtId = arbi.user.identity()?.externalId ?? null;
|
|
@@ -4936,33 +4956,56 @@ function useDirectMessages(options) {
|
|
|
4936
4956
|
}
|
|
4937
4957
|
const [pendingSent, setPendingSent] = React.useState([]);
|
|
4938
4958
|
const serverIds = React.useMemo(
|
|
4939
|
-
() => new Set((query.data ?? []).map((
|
|
4959
|
+
() => new Set((query.data ?? []).flatMap((c) => c.messages.map((m) => m.external_id))),
|
|
4940
4960
|
[query.data]
|
|
4941
4961
|
);
|
|
4942
4962
|
React.useEffect(() => {
|
|
4943
4963
|
setPendingSent(
|
|
4944
|
-
(pending) => pending.some((
|
|
4964
|
+
(pending) => pending.some((p) => serverIds.has(p.message.external_id)) ? pending.filter((p) => !serverIds.has(p.message.external_id)) : pending
|
|
4945
4965
|
);
|
|
4946
4966
|
}, [serverIds]);
|
|
4947
4967
|
const conversations = React.useMemo(() => {
|
|
4948
|
-
const
|
|
4949
|
-
|
|
4968
|
+
const pending = pendingSent.filter((p) => !serverIds.has(p.message.external_id));
|
|
4969
|
+
const pendingMessages = pending.map((p) => p.message);
|
|
4970
|
+
const threads = (query.data ?? []).map((loaded) => toConversation(loaded, myExtId, pendingMessages)).filter((c) => c !== null);
|
|
4971
|
+
const merged = mergeContacts(threads, contactsQuery.data ?? []);
|
|
4972
|
+
return merged.map((c) => {
|
|
4973
|
+
if (c.chatExtId) return c;
|
|
4974
|
+
const mine = pending.filter((p) => p.peerExtId === c.peer.external_id);
|
|
4975
|
+
if (!mine.length) return c;
|
|
4976
|
+
const messages = mine.map(({ message: m }) => ({
|
|
4977
|
+
externalId: m.external_id,
|
|
4978
|
+
body: m.content ?? "",
|
|
4979
|
+
createdAt: m.created_at,
|
|
4980
|
+
isMine: true,
|
|
4981
|
+
read: false,
|
|
4982
|
+
sender: { external_id: myExtId ?? "usr-me" },
|
|
4983
|
+
recipient: c.peer,
|
|
4984
|
+
chatExtId: m.chat_ext_id
|
|
4985
|
+
})).sort((a, b) => a.createdAt.localeCompare(b.createdAt));
|
|
4986
|
+
return {
|
|
4987
|
+
...c,
|
|
4988
|
+
isContactOnly: false,
|
|
4989
|
+
chatExtId: messages[0].chatExtId,
|
|
4990
|
+
messages,
|
|
4991
|
+
lastMessage: messages[messages.length - 1]
|
|
4992
|
+
};
|
|
4993
|
+
});
|
|
4950
4994
|
}, [query.data, serverIds, pendingSent, contactsQuery.data, myExtId]);
|
|
4951
|
-
const
|
|
4952
|
-
|
|
4953
|
-
|
|
4954
|
-
invalidate();
|
|
4995
|
+
const absorbSent = (message, peerExtId) => {
|
|
4996
|
+
setPendingSent((pending) => [{ message, peerExtId }, ...pending]);
|
|
4997
|
+
void invalidate();
|
|
4955
4998
|
};
|
|
4956
4999
|
const sendMutation = reactQuery.useMutation({
|
|
4957
|
-
mutationFn: (vars) => arbi.dm.sendTo(vars.recipientExtId, vars.
|
|
4958
|
-
onSuccess: absorbSent
|
|
5000
|
+
mutationFn: (vars) => arbi.dm.sendTo(vars.recipientExtId, vars.text),
|
|
5001
|
+
onSuccess: (message, vars) => absorbSent(message, vars.recipientExtId)
|
|
4959
5002
|
});
|
|
4960
5003
|
const sendToMutation = reactQuery.useMutation({
|
|
4961
5004
|
mutationFn: (vars) => arbi.dm.send(vars.recipient, vars.text),
|
|
4962
|
-
onSuccess: absorbSent
|
|
5005
|
+
onSuccess: (message, vars) => absorbSent(message, vars.recipient.includes("@") ? void 0 : vars.recipient)
|
|
4963
5006
|
});
|
|
4964
5007
|
const markReadMutation = reactQuery.useMutation({
|
|
4965
|
-
mutationFn: (
|
|
5008
|
+
mutationFn: (vars) => arbi.chats.markRead(vars.chatExtId, vars.messageExtId),
|
|
4966
5009
|
onSuccess: invalidate
|
|
4967
5010
|
});
|
|
4968
5011
|
return {
|
|
@@ -4971,19 +5014,19 @@ function useDirectMessages(options) {
|
|
|
4971
5014
|
isLoading: (query.isLoading || contactsQuery.isLoading) && enabled,
|
|
4972
5015
|
isError: query.isError,
|
|
4973
5016
|
error: query.error,
|
|
4974
|
-
refetch: () => query.refetch(),
|
|
4975
|
-
sendMessage: (recipientExtId,
|
|
5017
|
+
refetch: () => void query.refetch(),
|
|
5018
|
+
sendMessage: (recipientExtId, _recipientPublicKey, text) => sendMutation.mutateAsync({ recipientExtId, text }),
|
|
4976
5019
|
sendMessageTo: (recipient, text) => sendToMutation.mutateAsync({ recipient, text }),
|
|
4977
5020
|
isSending: sendMutation.isPending || sendToMutation.isPending,
|
|
4978
5021
|
sendError: sendMutation.error ?? sendToMutation.error,
|
|
4979
|
-
markRead: (
|
|
5022
|
+
markRead: (chatExtId, messageExtId) => markReadMutation.mutateAsync({ chatExtId, messageExtId })
|
|
4980
5023
|
};
|
|
4981
5024
|
}
|
|
4982
5025
|
function DmAvatar({ user, className, size = "lg" }) {
|
|
4983
5026
|
const presence = useArbiWsStore((s) => s.presence[user.external_id]);
|
|
4984
5027
|
const displayStatus = presence === void 0 ? void 0 : presence === "online" ? "connected" : "disconnected";
|
|
4985
5028
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
4986
|
-
|
|
5029
|
+
chunkXD4P4KRH_cjs.UserEntity,
|
|
4987
5030
|
{
|
|
4988
5031
|
variant: "icon",
|
|
4989
5032
|
size,
|
|
@@ -4993,7 +5036,7 @@ function DmAvatar({ user, className, size = "lg" }) {
|
|
|
4993
5036
|
initials: userInitials(user),
|
|
4994
5037
|
displayName: userDisplayName(user),
|
|
4995
5038
|
picture: user.picture,
|
|
4996
|
-
avatarStyle:
|
|
5039
|
+
avatarStyle: chunkXD4P4KRH_cjs.getEntityColorStyles(user.external_id),
|
|
4997
5040
|
isAgent: isAgentUser(user),
|
|
4998
5041
|
displayStatus
|
|
4999
5042
|
}
|
|
@@ -5029,8 +5072,9 @@ function ConversationList({
|
|
|
5029
5072
|
lead,
|
|
5030
5073
|
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "min-h-0 flex-1 overflow-y-auto", children: conversations.length === 0 ? /* @__PURE__ */ jsxRuntime.jsx("div", { className: "px-4 py-6 text-xs text-muted-foreground", children: emptyState ?? "No conversations yet." }) : /* @__PURE__ */ jsxRuntime.jsx("ul", { className: "w-full", children: conversations.map((c, i) => {
|
|
5031
5074
|
const { peer, lastMessage, unreadCount } = c;
|
|
5075
|
+
const rowId = c.id ?? peer.external_id;
|
|
5032
5076
|
const newSection = c.sectionLabel && c.sectionLabel !== conversations[i - 1]?.sectionLabel;
|
|
5033
|
-
const active =
|
|
5077
|
+
const active = rowId === selectedPeerId;
|
|
5034
5078
|
const preview = lastMessage?.body ?? "No messages yet \u2014 say hello";
|
|
5035
5079
|
const unread = unreadCount > 0;
|
|
5036
5080
|
const body = /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
@@ -5045,13 +5089,13 @@ function ConversationList({
|
|
|
5045
5089
|
"truncate text-sm text-foreground",
|
|
5046
5090
|
unread ? "font-bold" : "font-semibold"
|
|
5047
5091
|
),
|
|
5048
|
-
children: userDisplayName(peer)
|
|
5092
|
+
children: c.title ?? userDisplayName(peer)
|
|
5049
5093
|
}
|
|
5050
5094
|
),
|
|
5051
|
-
c.badge ?? (isAgentUser(peer) ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
5095
|
+
c.badge ?? (isAgentUser(peer) ? /* @__PURE__ */ jsxRuntime.jsx(chunkXD4P4KRH_cjs.AgentBadge, {}) : null)
|
|
5052
5096
|
] }),
|
|
5053
5097
|
c.statusLabel ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
5054
|
-
|
|
5098
|
+
chunkXD4P4KRH_cjs.Badge,
|
|
5055
5099
|
{
|
|
5056
5100
|
variant: "outline",
|
|
5057
5101
|
className: "shrink-0 rounded-full px-2 py-0 text-xs font-medium text-muted-foreground",
|
|
@@ -5062,7 +5106,7 @@ function ConversationList({
|
|
|
5062
5106
|
// shouted louder than the message it was counting.
|
|
5063
5107
|
// Enough to catch the eye scanning the list, no more.
|
|
5064
5108
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
5065
|
-
|
|
5109
|
+
chunkXD4P4KRH_cjs.Badge,
|
|
5066
5110
|
{
|
|
5067
5111
|
variant: "accent",
|
|
5068
5112
|
className: chunkS6A6FSG7_cjs.cn(
|
|
@@ -5118,27 +5162,20 @@ function ConversationList({
|
|
|
5118
5162
|
children: c.sectionLabel
|
|
5119
5163
|
}
|
|
5120
5164
|
),
|
|
5121
|
-
c.disabled ? /* @__PURE__ */ jsxRuntime.jsxs(
|
|
5122
|
-
|
|
5123
|
-
|
|
5124
|
-
|
|
5125
|
-
className: rowClass,
|
|
5126
|
-
children: [
|
|
5127
|
-
body,
|
|
5128
|
-
c.trailing
|
|
5129
|
-
]
|
|
5130
|
-
}
|
|
5131
|
-
) : /* @__PURE__ */ jsxRuntime.jsx(
|
|
5165
|
+
c.disabled ? /* @__PURE__ */ jsxRuntime.jsxs("div", { "data-testid": `arbi-dm-conversation-${rowId}`, className: rowClass, children: [
|
|
5166
|
+
body,
|
|
5167
|
+
c.trailing
|
|
5168
|
+
] }) : /* @__PURE__ */ jsxRuntime.jsx(
|
|
5132
5169
|
"button",
|
|
5133
5170
|
{
|
|
5134
5171
|
type: "button",
|
|
5135
|
-
onClick: () => onSelect(
|
|
5136
|
-
"data-testid": `arbi-dm-conversation-${
|
|
5172
|
+
onClick: () => onSelect(rowId),
|
|
5173
|
+
"data-testid": `arbi-dm-conversation-${rowId}`,
|
|
5137
5174
|
className: rowClass,
|
|
5138
5175
|
children: body
|
|
5139
5176
|
}
|
|
5140
5177
|
)
|
|
5141
|
-
] },
|
|
5178
|
+
] }, rowId);
|
|
5142
5179
|
}) }) })
|
|
5143
5180
|
]
|
|
5144
5181
|
}
|
|
@@ -5212,7 +5249,7 @@ function MessageThread({
|
|
|
5212
5249
|
);
|
|
5213
5250
|
React.useEffect(() => {
|
|
5214
5251
|
bottomRef.current?.scrollIntoView({ block: "end" });
|
|
5215
|
-
}, [conversation?.peer.external_id, conversation?.messages.length]);
|
|
5252
|
+
}, [conversation?.id, conversation?.peer.external_id, conversation?.messages.length]);
|
|
5216
5253
|
if (!conversation) {
|
|
5217
5254
|
return /* @__PURE__ */ jsxRuntime.jsx("section", { className: "flex min-h-0 flex-1 flex-col items-center justify-center gap-3 p-8 text-center", children: emptyState ?? /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
5218
5255
|
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex size-14 items-center justify-center rounded-full bg-accent", children: /* @__PURE__ */ jsxRuntime.jsx(lucideReact.MessagesSquare, { className: "size-6 text-muted-foreground" }) }),
|
|
@@ -5222,13 +5259,13 @@ function MessageThread({
|
|
|
5222
5259
|
] })
|
|
5223
5260
|
] }) });
|
|
5224
5261
|
}
|
|
5225
|
-
const { peer } = conversation;
|
|
5262
|
+
const { peer, title, memberCount } = conversation;
|
|
5226
5263
|
return /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
5227
5264
|
/* @__PURE__ */ jsxRuntime.jsxs("header", { className: "flex items-center gap-3 border-b border-border px-4 py-3", children: [
|
|
5228
5265
|
/* @__PURE__ */ jsxRuntime.jsx(DmAvatar, { user: peer, className: "size-9" }),
|
|
5229
5266
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "min-w-0", children: [
|
|
5230
|
-
/* @__PURE__ */ jsxRuntime.jsx("p", { className: "truncate text-sm font-semibold text-foreground", children: userDisplayName(peer) }),
|
|
5231
|
-
/* @__PURE__ */ jsxRuntime.jsx("p", { className: "truncate text-xs text-muted-foreground", children: peer.email })
|
|
5267
|
+
/* @__PURE__ */ jsxRuntime.jsx("p", { className: "truncate text-sm font-semibold text-foreground", children: title ?? userDisplayName(peer) }),
|
|
5268
|
+
/* @__PURE__ */ jsxRuntime.jsx("p", { className: "truncate text-xs text-muted-foreground", children: memberCount != null ? `${memberCount} members` : peer.email })
|
|
5232
5269
|
] })
|
|
5233
5270
|
] }),
|
|
5234
5271
|
/* @__PURE__ */ jsxRuntime.jsx(chunkHUZB36QU_cjs.ScrollArea, { className: "min-h-0 flex-1 bg-background", children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex flex-col px-4 py-4", "data-testid": "arbi-dm-thread", children: [
|
|
@@ -5269,7 +5306,7 @@ function DmComposer({
|
|
|
5269
5306
|
if (!allowAttachments || added.length === 0) return;
|
|
5270
5307
|
const next = [...files, ...added];
|
|
5271
5308
|
try {
|
|
5272
|
-
browser.
|
|
5309
|
+
browser.chats.checkChatAttachmentLimits(next);
|
|
5273
5310
|
setFiles(next);
|
|
5274
5311
|
setAttachError(null);
|
|
5275
5312
|
} catch (err) {
|
|
@@ -5395,7 +5432,7 @@ function DmComposer({
|
|
|
5395
5432
|
)
|
|
5396
5433
|
] }),
|
|
5397
5434
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
5398
|
-
|
|
5435
|
+
chunkXD4P4KRH_cjs.Textarea,
|
|
5399
5436
|
{
|
|
5400
5437
|
ref: inputRef,
|
|
5401
5438
|
value: draft,
|
|
@@ -5489,9 +5526,9 @@ function StartByEmail({
|
|
|
5489
5526
|
void submit();
|
|
5490
5527
|
},
|
|
5491
5528
|
children: [
|
|
5492
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
5529
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkXD4P4KRH_cjs.Label, { htmlFor: `${uid}-email`, children: l.email }),
|
|
5493
5530
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
5494
|
-
|
|
5531
|
+
chunkXD4P4KRH_cjs.Input,
|
|
5495
5532
|
{
|
|
5496
5533
|
id: `${uid}-email`,
|
|
5497
5534
|
type: "email",
|
|
@@ -5505,9 +5542,9 @@ function StartByEmail({
|
|
|
5505
5542
|
}
|
|
5506
5543
|
),
|
|
5507
5544
|
email !== "" && !valid && /* @__PURE__ */ jsxRuntime.jsx("p", { id: `${uid}-bad`, className: "text-xs text-destructive", children: l.invalidEmail }),
|
|
5508
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
5545
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkXD4P4KRH_cjs.Label, { htmlFor: `${uid}-text`, children: l.message }),
|
|
5509
5546
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
5510
|
-
|
|
5547
|
+
chunkXD4P4KRH_cjs.Textarea,
|
|
5511
5548
|
{
|
|
5512
5549
|
id: `${uid}-text`,
|
|
5513
5550
|
value: text,
|
|
@@ -5559,31 +5596,35 @@ function DirectMessages({
|
|
|
5559
5596
|
markRead
|
|
5560
5597
|
} = useDirectMessages();
|
|
5561
5598
|
const [selectedPeerId, setSelectedPeerId] = React.useState(null);
|
|
5599
|
+
const [startedChatId, setStartedChatId] = React.useState(null);
|
|
5562
5600
|
const conversations = React.useMemo(
|
|
5563
5601
|
() => hideOwnContact && myExtId ? allConversations.filter((c) => c.peer.external_id !== myExtId) : allConversations,
|
|
5564
5602
|
[allConversations, hideOwnContact, myExtId]
|
|
5565
5603
|
);
|
|
5566
5604
|
const openStarted = (created) => {
|
|
5567
|
-
const
|
|
5568
|
-
if (
|
|
5605
|
+
const chatId = created?.chat_ext_id;
|
|
5606
|
+
if (chatId) setStartedChatId(chatId);
|
|
5569
5607
|
};
|
|
5608
|
+
React.useEffect(() => {
|
|
5609
|
+
if (!startedChatId) return;
|
|
5610
|
+
const started = conversations.find((c) => c.chatExtId === startedChatId);
|
|
5611
|
+
if (started) {
|
|
5612
|
+
setSelectedPeerId(started.id ?? started.peer.external_id);
|
|
5613
|
+
setStartedChatId(null);
|
|
5614
|
+
}
|
|
5615
|
+
}, [conversations, startedChatId]);
|
|
5570
5616
|
const loadError = isError ? error instanceof Error ? error.message : "Couldn\u2019t load messages." : null;
|
|
5571
5617
|
const selected = React.useMemo(
|
|
5572
|
-
() => conversations.find((c) => c.peer.external_id === selectedPeerId) ?? null,
|
|
5618
|
+
() => conversations.find((c) => (c.id ?? c.peer.external_id) === selectedPeerId) ?? null,
|
|
5573
5619
|
[conversations, selectedPeerId]
|
|
5574
5620
|
);
|
|
5575
5621
|
React.useEffect(() => {
|
|
5576
|
-
if (!selected || selected.unreadCount === 0) return;
|
|
5577
|
-
|
|
5578
|
-
|
|
5579
|
-
}, [selected?.peer.external_id, selected?.unreadCount]);
|
|
5622
|
+
if (!selected?.chatExtId || selected.unreadCount === 0) return;
|
|
5623
|
+
void markRead(selected.chatExtId);
|
|
5624
|
+
}, [selected?.chatExtId, selected?.unreadCount]);
|
|
5580
5625
|
const handleSend = async (text) => {
|
|
5581
5626
|
if (!selected) return;
|
|
5582
|
-
|
|
5583
|
-
await sendMessage(selected.peer.external_id, selected.peer.encryption_public_key, text);
|
|
5584
|
-
} else {
|
|
5585
|
-
await sendMessageTo(selected.peer.external_id, text);
|
|
5586
|
-
}
|
|
5627
|
+
await sendMessage(selected.peer.external_id, selected.peer.encryption_public_key, text);
|
|
5587
5628
|
};
|
|
5588
5629
|
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
5589
5630
|
"div",
|
|
@@ -5607,7 +5648,7 @@ function DirectMessages({
|
|
|
5607
5648
|
ConversationList,
|
|
5608
5649
|
{
|
|
5609
5650
|
conversations,
|
|
5610
|
-
selectedPeerId: selected
|
|
5651
|
+
selectedPeerId: selected ? selected.id ?? selected.peer.external_id : null,
|
|
5611
5652
|
onSelect: setSelectedPeerId,
|
|
5612
5653
|
classNames,
|
|
5613
5654
|
emptyState: isLoading ? "Loading messages\u2026" : emptyList,
|
|
@@ -5631,7 +5672,7 @@ function DirectMessages({
|
|
|
5631
5672
|
selected ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
5632
5673
|
DmComposer,
|
|
5633
5674
|
{
|
|
5634
|
-
placeholder: `Message ${userDisplayName(selected.peer).split(" ")[0]}\u2026`,
|
|
5675
|
+
placeholder: `Message ${(selected.title ?? userDisplayName(selected.peer)).split(" ")[0]}\u2026`,
|
|
5635
5676
|
onSend: handleSend,
|
|
5636
5677
|
error: sendError?.message ?? null,
|
|
5637
5678
|
classNames
|
|
@@ -5720,7 +5761,7 @@ function ImageCropper({
|
|
|
5720
5761
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "space-y-1.5", children: [
|
|
5721
5762
|
/* @__PURE__ */ jsxRuntime.jsx("label", { className: "text-xs font-semibold uppercase tracking-wider text-muted-foreground", children: "Zoom" }),
|
|
5722
5763
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
5723
|
-
|
|
5764
|
+
chunkXD4P4KRH_cjs.Slider,
|
|
5724
5765
|
{
|
|
5725
5766
|
value: [zoom],
|
|
5726
5767
|
onValueChange: ([v]) => setZoom(v ?? 1),
|
|
@@ -6155,7 +6196,7 @@ function DocumentTable({
|
|
|
6155
6196
|
const doc = p.data;
|
|
6156
6197
|
if (!doc) return null;
|
|
6157
6198
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
6158
|
-
|
|
6199
|
+
chunkXD4P4KRH_cjs.DocumentEntity,
|
|
6159
6200
|
{
|
|
6160
6201
|
doc,
|
|
6161
6202
|
size: "base",
|
|
@@ -6178,7 +6219,7 @@ function DocumentTable({
|
|
|
6178
6219
|
cellRenderer: (p) => {
|
|
6179
6220
|
const status = p.data?.status;
|
|
6180
6221
|
if (!status) return null;
|
|
6181
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
6222
|
+
return /* @__PURE__ */ jsxRuntime.jsx(chunkXD4P4KRH_cjs.Badge, { variant: STATUS_VARIANTS[status.toLowerCase()] ?? "secondary", children: status });
|
|
6182
6223
|
}
|
|
6183
6224
|
},
|
|
6184
6225
|
{
|
|
@@ -6192,7 +6233,7 @@ function DocumentTable({
|
|
|
6192
6233
|
const doctags = p.data?.doctags ?? [];
|
|
6193
6234
|
if (doctags.length === 0) return null;
|
|
6194
6235
|
return /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex flex-wrap items-center gap-1 py-1", children: doctags.map((dt) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
6195
|
-
|
|
6236
|
+
chunkXD4P4KRH_cjs.TagEntity,
|
|
6196
6237
|
{
|
|
6197
6238
|
size: "sm",
|
|
6198
6239
|
tag: {
|
|
@@ -6468,7 +6509,7 @@ function DocumentGallery({
|
|
|
6468
6509
|
(dt) => tagNameById.get(dt.tag_ext_id) ?? dt.tag_ext_id.slice(0, 8)
|
|
6469
6510
|
);
|
|
6470
6511
|
return /* @__PURE__ */ jsxRuntime.jsx("div", { "data-doc-id": id, "data-testid": "document-gallery-card", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
6471
|
-
|
|
6512
|
+
chunkXD4P4KRH_cjs.DocumentCard,
|
|
6472
6513
|
{
|
|
6473
6514
|
doc,
|
|
6474
6515
|
thumbnailUrl: thumbs[id],
|
|
@@ -6505,7 +6546,7 @@ function VoiceNoteRecorder({
|
|
|
6505
6546
|
isSaving = false,
|
|
6506
6547
|
transcribe
|
|
6507
6548
|
}) {
|
|
6508
|
-
const recorder =
|
|
6549
|
+
const recorder = chunkXD4P4KRH_cjs.useAudioRecorder();
|
|
6509
6550
|
const [transcript, setTranscript] = React.useState(null);
|
|
6510
6551
|
const [isTranscribing, setIsTranscribing] = React.useState(false);
|
|
6511
6552
|
React.useEffect(() => {
|
|
@@ -6551,7 +6592,7 @@ function VoiceNoteRecorder({
|
|
|
6551
6592
|
] }),
|
|
6552
6593
|
(recorder.state === "recording" || recorder.state === "paused") && /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
6553
6594
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
6554
|
-
|
|
6595
|
+
chunkXD4P4KRH_cjs.MicWaveformIndicator,
|
|
6555
6596
|
{
|
|
6556
6597
|
level: recorder.level,
|
|
6557
6598
|
elapsedMs: recorder.elapsedMs,
|
|
@@ -6673,7 +6714,7 @@ function DraftTitleControls({
|
|
|
6673
6714
|
}
|
|
6674
6715
|
),
|
|
6675
6716
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
6676
|
-
|
|
6717
|
+
chunkXD4P4KRH_cjs.IconToggle,
|
|
6677
6718
|
{
|
|
6678
6719
|
icon: lucideReact.Sparkles,
|
|
6679
6720
|
isActive: autoRename,
|
|
@@ -6707,7 +6748,7 @@ function useCameraStream(constraints = { video: true, audio: false }) {
|
|
|
6707
6748
|
streamRef.current = media;
|
|
6708
6749
|
setStream(media);
|
|
6709
6750
|
} catch (err) {
|
|
6710
|
-
setError(
|
|
6751
|
+
setError(chunkXD4P4KRH_cjs.classifyMediaError(err, "camera"));
|
|
6711
6752
|
} finally {
|
|
6712
6753
|
setIsStarting(false);
|
|
6713
6754
|
}
|
|
@@ -6943,7 +6984,7 @@ function VideoCapture({ onSave, onDiscard, onError, isSaving = false }) {
|
|
|
6943
6984
|
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "relative inline-flex h-2 w-2 rounded-full bg-red-500" })
|
|
6944
6985
|
] }),
|
|
6945
6986
|
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-xs font-semibold uppercase tracking-wide text-red-500", children: "Rec" }),
|
|
6946
|
-
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "font-mono text-xs tabular-nums text-muted-foreground", children:
|
|
6987
|
+
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "font-mono text-xs tabular-nums text-muted-foreground", children: chunkXD4P4KRH_cjs.formatElapsed(recorder.elapsedMs) })
|
|
6947
6988
|
] }),
|
|
6948
6989
|
recorder.state === "recording" ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
6949
6990
|
chunkWYZJLZ67_cjs.Button,
|
|
@@ -7226,521 +7267,573 @@ Object.defineProperty(exports, "useNotify", {
|
|
|
7226
7267
|
enumerable: true,
|
|
7227
7268
|
get: function () { return chunkF7KQVVD2_cjs.useNotify; }
|
|
7228
7269
|
});
|
|
7270
|
+
Object.defineProperty(exports, "AUDIO_MIME_PREFERENCE", {
|
|
7271
|
+
enumerable: true,
|
|
7272
|
+
get: function () { return chunkXD4P4KRH_cjs.AUDIO_MIME_PREFERENCE; }
|
|
7273
|
+
});
|
|
7229
7274
|
Object.defineProperty(exports, "AgentBadge", {
|
|
7230
7275
|
enumerable: true,
|
|
7231
|
-
get: function () { return
|
|
7276
|
+
get: function () { return chunkXD4P4KRH_cjs.AgentBadge; }
|
|
7232
7277
|
});
|
|
7233
7278
|
Object.defineProperty(exports, "AiMarkdown", {
|
|
7234
7279
|
enumerable: true,
|
|
7235
|
-
get: function () { return
|
|
7280
|
+
get: function () { return chunkXD4P4KRH_cjs.AiMarkdown; }
|
|
7236
7281
|
});
|
|
7237
7282
|
Object.defineProperty(exports, "ArbiBotHeadIcon", {
|
|
7238
7283
|
enumerable: true,
|
|
7239
|
-
get: function () { return
|
|
7284
|
+
get: function () { return chunkXD4P4KRH_cjs.ArbiBotHeadIcon; }
|
|
7240
7285
|
});
|
|
7241
7286
|
Object.defineProperty(exports, "AudIcon", {
|
|
7242
7287
|
enumerable: true,
|
|
7243
|
-
get: function () { return
|
|
7288
|
+
get: function () { return chunkXD4P4KRH_cjs.AudIcon; }
|
|
7244
7289
|
});
|
|
7245
7290
|
Object.defineProperty(exports, "Avatar", {
|
|
7246
7291
|
enumerable: true,
|
|
7247
|
-
get: function () { return
|
|
7292
|
+
get: function () { return chunkXD4P4KRH_cjs.Avatar; }
|
|
7248
7293
|
});
|
|
7249
7294
|
Object.defineProperty(exports, "AvatarFallback", {
|
|
7250
7295
|
enumerable: true,
|
|
7251
|
-
get: function () { return
|
|
7296
|
+
get: function () { return chunkXD4P4KRH_cjs.AvatarFallback; }
|
|
7252
7297
|
});
|
|
7253
7298
|
Object.defineProperty(exports, "AvatarImage", {
|
|
7254
7299
|
enumerable: true,
|
|
7255
|
-
get: function () { return
|
|
7300
|
+
get: function () { return chunkXD4P4KRH_cjs.AvatarImage; }
|
|
7256
7301
|
});
|
|
7257
7302
|
Object.defineProperty(exports, "BASE_COLORS", {
|
|
7258
7303
|
enumerable: true,
|
|
7259
|
-
get: function () { return
|
|
7304
|
+
get: function () { return chunkXD4P4KRH_cjs.BASE_COLORS; }
|
|
7260
7305
|
});
|
|
7261
7306
|
Object.defineProperty(exports, "Badge", {
|
|
7262
7307
|
enumerable: true,
|
|
7263
|
-
get: function () { return
|
|
7308
|
+
get: function () { return chunkXD4P4KRH_cjs.Badge; }
|
|
7264
7309
|
});
|
|
7265
7310
|
Object.defineProperty(exports, "Card", {
|
|
7266
7311
|
enumerable: true,
|
|
7267
|
-
get: function () { return
|
|
7312
|
+
get: function () { return chunkXD4P4KRH_cjs.Card; }
|
|
7268
7313
|
});
|
|
7269
7314
|
Object.defineProperty(exports, "CardContent", {
|
|
7270
7315
|
enumerable: true,
|
|
7271
|
-
get: function () { return
|
|
7316
|
+
get: function () { return chunkXD4P4KRH_cjs.CardContent; }
|
|
7272
7317
|
});
|
|
7273
7318
|
Object.defineProperty(exports, "CardDescription", {
|
|
7274
7319
|
enumerable: true,
|
|
7275
|
-
get: function () { return
|
|
7320
|
+
get: function () { return chunkXD4P4KRH_cjs.CardDescription; }
|
|
7276
7321
|
});
|
|
7277
7322
|
Object.defineProperty(exports, "CardFooter", {
|
|
7278
7323
|
enumerable: true,
|
|
7279
|
-
get: function () { return
|
|
7324
|
+
get: function () { return chunkXD4P4KRH_cjs.CardFooter; }
|
|
7280
7325
|
});
|
|
7281
7326
|
Object.defineProperty(exports, "CardHeader", {
|
|
7282
7327
|
enumerable: true,
|
|
7283
|
-
get: function () { return
|
|
7328
|
+
get: function () { return chunkXD4P4KRH_cjs.CardHeader; }
|
|
7284
7329
|
});
|
|
7285
7330
|
Object.defineProperty(exports, "CardTitle", {
|
|
7286
7331
|
enumerable: true,
|
|
7287
|
-
get: function () { return
|
|
7332
|
+
get: function () { return chunkXD4P4KRH_cjs.CardTitle; }
|
|
7288
7333
|
});
|
|
7289
7334
|
Object.defineProperty(exports, "Checkbox", {
|
|
7290
7335
|
enumerable: true,
|
|
7291
|
-
get: function () { return
|
|
7336
|
+
get: function () { return chunkXD4P4KRH_cjs.Checkbox; }
|
|
7292
7337
|
});
|
|
7293
7338
|
Object.defineProperty(exports, "Collapsible", {
|
|
7294
7339
|
enumerable: true,
|
|
7295
|
-
get: function () { return
|
|
7340
|
+
get: function () { return chunkXD4P4KRH_cjs.Collapsible; }
|
|
7296
7341
|
});
|
|
7297
7342
|
Object.defineProperty(exports, "CollapsibleContent", {
|
|
7298
7343
|
enumerable: true,
|
|
7299
|
-
get: function () { return
|
|
7344
|
+
get: function () { return chunkXD4P4KRH_cjs.CollapsibleContent; }
|
|
7300
7345
|
});
|
|
7301
7346
|
Object.defineProperty(exports, "CollapsibleTrigger", {
|
|
7302
7347
|
enumerable: true,
|
|
7303
|
-
get: function () { return
|
|
7348
|
+
get: function () { return chunkXD4P4KRH_cjs.CollapsibleTrigger; }
|
|
7304
7349
|
});
|
|
7305
7350
|
Object.defineProperty(exports, "Command", {
|
|
7306
7351
|
enumerable: true,
|
|
7307
|
-
get: function () { return
|
|
7352
|
+
get: function () { return chunkXD4P4KRH_cjs.Command; }
|
|
7308
7353
|
});
|
|
7309
7354
|
Object.defineProperty(exports, "CommandDialog", {
|
|
7310
7355
|
enumerable: true,
|
|
7311
|
-
get: function () { return
|
|
7356
|
+
get: function () { return chunkXD4P4KRH_cjs.CommandDialog; }
|
|
7312
7357
|
});
|
|
7313
7358
|
Object.defineProperty(exports, "CommandEmpty", {
|
|
7314
7359
|
enumerable: true,
|
|
7315
|
-
get: function () { return
|
|
7360
|
+
get: function () { return chunkXD4P4KRH_cjs.CommandEmpty; }
|
|
7316
7361
|
});
|
|
7317
7362
|
Object.defineProperty(exports, "CommandGroup", {
|
|
7318
7363
|
enumerable: true,
|
|
7319
|
-
get: function () { return
|
|
7364
|
+
get: function () { return chunkXD4P4KRH_cjs.CommandGroup; }
|
|
7320
7365
|
});
|
|
7321
7366
|
Object.defineProperty(exports, "CommandInput", {
|
|
7322
7367
|
enumerable: true,
|
|
7323
|
-
get: function () { return
|
|
7368
|
+
get: function () { return chunkXD4P4KRH_cjs.CommandInput; }
|
|
7324
7369
|
});
|
|
7325
7370
|
Object.defineProperty(exports, "CommandItem", {
|
|
7326
7371
|
enumerable: true,
|
|
7327
|
-
get: function () { return
|
|
7372
|
+
get: function () { return chunkXD4P4KRH_cjs.CommandItem; }
|
|
7328
7373
|
});
|
|
7329
7374
|
Object.defineProperty(exports, "CommandList", {
|
|
7330
7375
|
enumerable: true,
|
|
7331
|
-
get: function () { return
|
|
7376
|
+
get: function () { return chunkXD4P4KRH_cjs.CommandList; }
|
|
7332
7377
|
});
|
|
7333
7378
|
Object.defineProperty(exports, "CommandSeparator", {
|
|
7334
7379
|
enumerable: true,
|
|
7335
|
-
get: function () { return
|
|
7380
|
+
get: function () { return chunkXD4P4KRH_cjs.CommandSeparator; }
|
|
7336
7381
|
});
|
|
7337
7382
|
Object.defineProperty(exports, "CommandShortcut", {
|
|
7338
7383
|
enumerable: true,
|
|
7339
|
-
get: function () { return
|
|
7384
|
+
get: function () { return chunkXD4P4KRH_cjs.CommandShortcut; }
|
|
7385
|
+
});
|
|
7386
|
+
Object.defineProperty(exports, "DEFAULT_SEGMENTER_CONFIG", {
|
|
7387
|
+
enumerable: true,
|
|
7388
|
+
get: function () { return chunkXD4P4KRH_cjs.DEFAULT_SEGMENTER_CONFIG; }
|
|
7340
7389
|
});
|
|
7341
7390
|
Object.defineProperty(exports, "DictateProvider", {
|
|
7342
7391
|
enumerable: true,
|
|
7343
|
-
get: function () { return
|
|
7392
|
+
get: function () { return chunkXD4P4KRH_cjs.DictateProvider; }
|
|
7344
7393
|
});
|
|
7345
7394
|
Object.defineProperty(exports, "DocIcon", {
|
|
7346
7395
|
enumerable: true,
|
|
7347
|
-
get: function () { return
|
|
7396
|
+
get: function () { return chunkXD4P4KRH_cjs.DocIcon; }
|
|
7348
7397
|
});
|
|
7349
7398
|
Object.defineProperty(exports, "DocumentCard", {
|
|
7350
7399
|
enumerable: true,
|
|
7351
|
-
get: function () { return
|
|
7400
|
+
get: function () { return chunkXD4P4KRH_cjs.DocumentCard; }
|
|
7352
7401
|
});
|
|
7353
7402
|
Object.defineProperty(exports, "DocumentEntity", {
|
|
7354
7403
|
enumerable: true,
|
|
7355
|
-
get: function () { return
|
|
7404
|
+
get: function () { return chunkXD4P4KRH_cjs.DocumentEntity; }
|
|
7356
7405
|
});
|
|
7357
7406
|
Object.defineProperty(exports, "ENTITY_MAPPINGS", {
|
|
7358
7407
|
enumerable: true,
|
|
7359
|
-
get: function () { return
|
|
7408
|
+
get: function () { return chunkXD4P4KRH_cjs.ENTITY_MAPPINGS; }
|
|
7360
7409
|
});
|
|
7361
7410
|
Object.defineProperty(exports, "EmlIcon", {
|
|
7362
7411
|
enumerable: true,
|
|
7363
|
-
get: function () { return
|
|
7412
|
+
get: function () { return chunkXD4P4KRH_cjs.EmlIcon; }
|
|
7364
7413
|
});
|
|
7365
7414
|
Object.defineProperty(exports, "EntityIcon", {
|
|
7366
7415
|
enumerable: true,
|
|
7367
|
-
get: function () { return
|
|
7416
|
+
get: function () { return chunkXD4P4KRH_cjs.EntityIcon; }
|
|
7368
7417
|
});
|
|
7369
7418
|
Object.defineProperty(exports, "EntityPill", {
|
|
7370
7419
|
enumerable: true,
|
|
7371
|
-
get: function () { return
|
|
7420
|
+
get: function () { return chunkXD4P4KRH_cjs.EntityPill; }
|
|
7372
7421
|
});
|
|
7373
7422
|
Object.defineProperty(exports, "FILE_TYPE_COLORS", {
|
|
7374
7423
|
enumerable: true,
|
|
7375
|
-
get: function () { return
|
|
7424
|
+
get: function () { return chunkXD4P4KRH_cjs.FILE_TYPE_COLORS; }
|
|
7376
7425
|
});
|
|
7377
7426
|
Object.defineProperty(exports, "HoverCard", {
|
|
7378
7427
|
enumerable: true,
|
|
7379
|
-
get: function () { return
|
|
7428
|
+
get: function () { return chunkXD4P4KRH_cjs.HoverCard; }
|
|
7380
7429
|
});
|
|
7381
7430
|
Object.defineProperty(exports, "HoverCardContent", {
|
|
7382
7431
|
enumerable: true,
|
|
7383
|
-
get: function () { return
|
|
7432
|
+
get: function () { return chunkXD4P4KRH_cjs.HoverCardContent; }
|
|
7384
7433
|
});
|
|
7385
7434
|
Object.defineProperty(exports, "HoverCardTrigger", {
|
|
7386
7435
|
enumerable: true,
|
|
7387
|
-
get: function () { return
|
|
7436
|
+
get: function () { return chunkXD4P4KRH_cjs.HoverCardTrigger; }
|
|
7388
7437
|
});
|
|
7389
7438
|
Object.defineProperty(exports, "HtmlIcon", {
|
|
7390
7439
|
enumerable: true,
|
|
7391
|
-
get: function () { return
|
|
7440
|
+
get: function () { return chunkXD4P4KRH_cjs.HtmlIcon; }
|
|
7441
|
+
});
|
|
7442
|
+
Object.defineProperty(exports, "INITIAL_SEGMENTER_STATE", {
|
|
7443
|
+
enumerable: true,
|
|
7444
|
+
get: function () { return chunkXD4P4KRH_cjs.INITIAL_SEGMENTER_STATE; }
|
|
7392
7445
|
});
|
|
7393
7446
|
Object.defineProperty(exports, "IconToggle", {
|
|
7394
7447
|
enumerable: true,
|
|
7395
|
-
get: function () { return
|
|
7448
|
+
get: function () { return chunkXD4P4KRH_cjs.IconToggle; }
|
|
7396
7449
|
});
|
|
7397
7450
|
Object.defineProperty(exports, "ImgIcon", {
|
|
7398
7451
|
enumerable: true,
|
|
7399
|
-
get: function () { return
|
|
7452
|
+
get: function () { return chunkXD4P4KRH_cjs.ImgIcon; }
|
|
7400
7453
|
});
|
|
7401
7454
|
Object.defineProperty(exports, "InlineMicButton", {
|
|
7402
7455
|
enumerable: true,
|
|
7403
|
-
get: function () { return
|
|
7456
|
+
get: function () { return chunkXD4P4KRH_cjs.InlineMicButton; }
|
|
7404
7457
|
});
|
|
7405
7458
|
Object.defineProperty(exports, "Input", {
|
|
7406
7459
|
enumerable: true,
|
|
7407
|
-
get: function () { return
|
|
7460
|
+
get: function () { return chunkXD4P4KRH_cjs.Input; }
|
|
7408
7461
|
});
|
|
7409
7462
|
Object.defineProperty(exports, "Label", {
|
|
7410
7463
|
enumerable: true,
|
|
7411
|
-
get: function () { return
|
|
7464
|
+
get: function () { return chunkXD4P4KRH_cjs.Label; }
|
|
7412
7465
|
});
|
|
7413
7466
|
Object.defineProperty(exports, "MarkMenu", {
|
|
7414
7467
|
enumerable: true,
|
|
7415
|
-
get: function () { return
|
|
7468
|
+
get: function () { return chunkXD4P4KRH_cjs.MarkMenu; }
|
|
7416
7469
|
});
|
|
7417
7470
|
Object.defineProperty(exports, "MicRecordingOverlay", {
|
|
7418
7471
|
enumerable: true,
|
|
7419
|
-
get: function () { return
|
|
7472
|
+
get: function () { return chunkXD4P4KRH_cjs.MicRecordingOverlay; }
|
|
7420
7473
|
});
|
|
7421
7474
|
Object.defineProperty(exports, "MicWaveformIndicator", {
|
|
7422
7475
|
enumerable: true,
|
|
7423
|
-
get: function () { return
|
|
7476
|
+
get: function () { return chunkXD4P4KRH_cjs.MicWaveformIndicator; }
|
|
7424
7477
|
});
|
|
7425
7478
|
Object.defineProperty(exports, "NEUTRAL_GRAY", {
|
|
7426
7479
|
enumerable: true,
|
|
7427
|
-
get: function () { return
|
|
7480
|
+
get: function () { return chunkXD4P4KRH_cjs.NEUTRAL_GRAY; }
|
|
7428
7481
|
});
|
|
7429
7482
|
Object.defineProperty(exports, "PLACEHOLDER_COLOR", {
|
|
7430
7483
|
enumerable: true,
|
|
7431
|
-
get: function () { return
|
|
7484
|
+
get: function () { return chunkXD4P4KRH_cjs.PLACEHOLDER_COLOR; }
|
|
7432
7485
|
});
|
|
7433
7486
|
Object.defineProperty(exports, "PassageCard", {
|
|
7434
7487
|
enumerable: true,
|
|
7435
|
-
get: function () { return
|
|
7488
|
+
get: function () { return chunkXD4P4KRH_cjs.PassageCard; }
|
|
7436
7489
|
});
|
|
7437
7490
|
Object.defineProperty(exports, "PdfIcon", {
|
|
7438
7491
|
enumerable: true,
|
|
7439
|
-
get: function () { return
|
|
7492
|
+
get: function () { return chunkXD4P4KRH_cjs.PdfIcon; }
|
|
7440
7493
|
});
|
|
7441
7494
|
Object.defineProperty(exports, "Popover", {
|
|
7442
7495
|
enumerable: true,
|
|
7443
|
-
get: function () { return
|
|
7496
|
+
get: function () { return chunkXD4P4KRH_cjs.Popover; }
|
|
7444
7497
|
});
|
|
7445
7498
|
Object.defineProperty(exports, "PopoverAnchor", {
|
|
7446
7499
|
enumerable: true,
|
|
7447
|
-
get: function () { return
|
|
7500
|
+
get: function () { return chunkXD4P4KRH_cjs.PopoverAnchor; }
|
|
7448
7501
|
});
|
|
7449
7502
|
Object.defineProperty(exports, "PopoverContent", {
|
|
7450
7503
|
enumerable: true,
|
|
7451
|
-
get: function () { return
|
|
7504
|
+
get: function () { return chunkXD4P4KRH_cjs.PopoverContent; }
|
|
7452
7505
|
});
|
|
7453
7506
|
Object.defineProperty(exports, "PopoverTrigger", {
|
|
7454
7507
|
enumerable: true,
|
|
7455
|
-
get: function () { return
|
|
7508
|
+
get: function () { return chunkXD4P4KRH_cjs.PopoverTrigger; }
|
|
7456
7509
|
});
|
|
7457
7510
|
Object.defineProperty(exports, "PresenceLabel", {
|
|
7458
7511
|
enumerable: true,
|
|
7459
|
-
get: function () { return
|
|
7512
|
+
get: function () { return chunkXD4P4KRH_cjs.PresenceLabel; }
|
|
7460
7513
|
});
|
|
7461
7514
|
Object.defineProperty(exports, "Progress", {
|
|
7462
7515
|
enumerable: true,
|
|
7463
|
-
get: function () { return
|
|
7516
|
+
get: function () { return chunkXD4P4KRH_cjs.Progress; }
|
|
7464
7517
|
});
|
|
7465
7518
|
Object.defineProperty(exports, "ProjectEntity", {
|
|
7466
7519
|
enumerable: true,
|
|
7467
|
-
get: function () { return
|
|
7520
|
+
get: function () { return chunkXD4P4KRH_cjs.ProjectEntity; }
|
|
7468
7521
|
});
|
|
7469
7522
|
Object.defineProperty(exports, "RadioGroup", {
|
|
7470
7523
|
enumerable: true,
|
|
7471
|
-
get: function () { return
|
|
7524
|
+
get: function () { return chunkXD4P4KRH_cjs.RadioGroup; }
|
|
7472
7525
|
});
|
|
7473
7526
|
Object.defineProperty(exports, "RadioGroupItem", {
|
|
7474
7527
|
enumerable: true,
|
|
7475
|
-
get: function () { return
|
|
7528
|
+
get: function () { return chunkXD4P4KRH_cjs.RadioGroupItem; }
|
|
7476
7529
|
});
|
|
7477
7530
|
Object.defineProperty(exports, "RagDot", {
|
|
7478
7531
|
enumerable: true,
|
|
7479
|
-
get: function () { return
|
|
7532
|
+
get: function () { return chunkXD4P4KRH_cjs.RagDot; }
|
|
7480
7533
|
});
|
|
7481
7534
|
Object.defineProperty(exports, "RelevanceDot", {
|
|
7482
7535
|
enumerable: true,
|
|
7483
|
-
get: function () { return
|
|
7536
|
+
get: function () { return chunkXD4P4KRH_cjs.RelevanceDot; }
|
|
7484
7537
|
});
|
|
7485
7538
|
Object.defineProperty(exports, "Select", {
|
|
7486
7539
|
enumerable: true,
|
|
7487
|
-
get: function () { return
|
|
7540
|
+
get: function () { return chunkXD4P4KRH_cjs.Select; }
|
|
7488
7541
|
});
|
|
7489
7542
|
Object.defineProperty(exports, "SelectContent", {
|
|
7490
7543
|
enumerable: true,
|
|
7491
|
-
get: function () { return
|
|
7544
|
+
get: function () { return chunkXD4P4KRH_cjs.SelectContent; }
|
|
7492
7545
|
});
|
|
7493
7546
|
Object.defineProperty(exports, "SelectGroup", {
|
|
7494
7547
|
enumerable: true,
|
|
7495
|
-
get: function () { return
|
|
7548
|
+
get: function () { return chunkXD4P4KRH_cjs.SelectGroup; }
|
|
7496
7549
|
});
|
|
7497
7550
|
Object.defineProperty(exports, "SelectItem", {
|
|
7498
7551
|
enumerable: true,
|
|
7499
|
-
get: function () { return
|
|
7552
|
+
get: function () { return chunkXD4P4KRH_cjs.SelectItem; }
|
|
7500
7553
|
});
|
|
7501
7554
|
Object.defineProperty(exports, "SelectLabel", {
|
|
7502
7555
|
enumerable: true,
|
|
7503
|
-
get: function () { return
|
|
7556
|
+
get: function () { return chunkXD4P4KRH_cjs.SelectLabel; }
|
|
7504
7557
|
});
|
|
7505
7558
|
Object.defineProperty(exports, "SelectScrollDownButton", {
|
|
7506
7559
|
enumerable: true,
|
|
7507
|
-
get: function () { return
|
|
7560
|
+
get: function () { return chunkXD4P4KRH_cjs.SelectScrollDownButton; }
|
|
7508
7561
|
});
|
|
7509
7562
|
Object.defineProperty(exports, "SelectScrollUpButton", {
|
|
7510
7563
|
enumerable: true,
|
|
7511
|
-
get: function () { return
|
|
7564
|
+
get: function () { return chunkXD4P4KRH_cjs.SelectScrollUpButton; }
|
|
7512
7565
|
});
|
|
7513
7566
|
Object.defineProperty(exports, "SelectSeparator", {
|
|
7514
7567
|
enumerable: true,
|
|
7515
|
-
get: function () { return
|
|
7568
|
+
get: function () { return chunkXD4P4KRH_cjs.SelectSeparator; }
|
|
7516
7569
|
});
|
|
7517
7570
|
Object.defineProperty(exports, "SelectTrigger", {
|
|
7518
7571
|
enumerable: true,
|
|
7519
|
-
get: function () { return
|
|
7572
|
+
get: function () { return chunkXD4P4KRH_cjs.SelectTrigger; }
|
|
7520
7573
|
});
|
|
7521
7574
|
Object.defineProperty(exports, "SelectValue", {
|
|
7522
7575
|
enumerable: true,
|
|
7523
|
-
get: function () { return
|
|
7576
|
+
get: function () { return chunkXD4P4KRH_cjs.SelectValue; }
|
|
7524
7577
|
});
|
|
7525
7578
|
Object.defineProperty(exports, "Separator", {
|
|
7526
7579
|
enumerable: true,
|
|
7527
|
-
get: function () { return
|
|
7580
|
+
get: function () { return chunkXD4P4KRH_cjs.Separator; }
|
|
7528
7581
|
});
|
|
7529
7582
|
Object.defineProperty(exports, "Slider", {
|
|
7530
7583
|
enumerable: true,
|
|
7531
|
-
get: function () { return
|
|
7584
|
+
get: function () { return chunkXD4P4KRH_cjs.Slider; }
|
|
7532
7585
|
});
|
|
7533
7586
|
Object.defineProperty(exports, "StatusPill", {
|
|
7534
7587
|
enumerable: true,
|
|
7535
|
-
get: function () { return
|
|
7588
|
+
get: function () { return chunkXD4P4KRH_cjs.StatusPill; }
|
|
7536
7589
|
});
|
|
7537
7590
|
Object.defineProperty(exports, "Switch", {
|
|
7538
7591
|
enumerable: true,
|
|
7539
|
-
get: function () { return
|
|
7592
|
+
get: function () { return chunkXD4P4KRH_cjs.Switch; }
|
|
7540
7593
|
});
|
|
7541
7594
|
Object.defineProperty(exports, "TAG_TYPE_ICONS", {
|
|
7542
7595
|
enumerable: true,
|
|
7543
|
-
get: function () { return
|
|
7596
|
+
get: function () { return chunkXD4P4KRH_cjs.TAG_TYPE_ICONS; }
|
|
7544
7597
|
});
|
|
7545
7598
|
Object.defineProperty(exports, "TAG_TYPE_LABELS", {
|
|
7546
7599
|
enumerable: true,
|
|
7547
|
-
get: function () { return
|
|
7600
|
+
get: function () { return chunkXD4P4KRH_cjs.TAG_TYPE_LABELS; }
|
|
7548
7601
|
});
|
|
7549
7602
|
Object.defineProperty(exports, "Table", {
|
|
7550
7603
|
enumerable: true,
|
|
7551
|
-
get: function () { return
|
|
7604
|
+
get: function () { return chunkXD4P4KRH_cjs.Table; }
|
|
7552
7605
|
});
|
|
7553
7606
|
Object.defineProperty(exports, "TableBody", {
|
|
7554
7607
|
enumerable: true,
|
|
7555
|
-
get: function () { return
|
|
7608
|
+
get: function () { return chunkXD4P4KRH_cjs.TableBody; }
|
|
7556
7609
|
});
|
|
7557
7610
|
Object.defineProperty(exports, "TableCaption", {
|
|
7558
7611
|
enumerable: true,
|
|
7559
|
-
get: function () { return
|
|
7612
|
+
get: function () { return chunkXD4P4KRH_cjs.TableCaption; }
|
|
7560
7613
|
});
|
|
7561
7614
|
Object.defineProperty(exports, "TableCell", {
|
|
7562
7615
|
enumerable: true,
|
|
7563
|
-
get: function () { return
|
|
7616
|
+
get: function () { return chunkXD4P4KRH_cjs.TableCell; }
|
|
7564
7617
|
});
|
|
7565
7618
|
Object.defineProperty(exports, "TableFooter", {
|
|
7566
7619
|
enumerable: true,
|
|
7567
|
-
get: function () { return
|
|
7620
|
+
get: function () { return chunkXD4P4KRH_cjs.TableFooter; }
|
|
7568
7621
|
});
|
|
7569
7622
|
Object.defineProperty(exports, "TableHead", {
|
|
7570
7623
|
enumerable: true,
|
|
7571
|
-
get: function () { return
|
|
7624
|
+
get: function () { return chunkXD4P4KRH_cjs.TableHead; }
|
|
7572
7625
|
});
|
|
7573
7626
|
Object.defineProperty(exports, "TableHeader", {
|
|
7574
7627
|
enumerable: true,
|
|
7575
|
-
get: function () { return
|
|
7628
|
+
get: function () { return chunkXD4P4KRH_cjs.TableHeader; }
|
|
7576
7629
|
});
|
|
7577
7630
|
Object.defineProperty(exports, "TableRow", {
|
|
7578
7631
|
enumerable: true,
|
|
7579
|
-
get: function () { return
|
|
7632
|
+
get: function () { return chunkXD4P4KRH_cjs.TableRow; }
|
|
7580
7633
|
});
|
|
7581
7634
|
Object.defineProperty(exports, "Tabs", {
|
|
7582
7635
|
enumerable: true,
|
|
7583
|
-
get: function () { return
|
|
7636
|
+
get: function () { return chunkXD4P4KRH_cjs.Tabs; }
|
|
7584
7637
|
});
|
|
7585
7638
|
Object.defineProperty(exports, "TabsContent", {
|
|
7586
7639
|
enumerable: true,
|
|
7587
|
-
get: function () { return
|
|
7640
|
+
get: function () { return chunkXD4P4KRH_cjs.TabsContent; }
|
|
7588
7641
|
});
|
|
7589
7642
|
Object.defineProperty(exports, "TabsList", {
|
|
7590
7643
|
enumerable: true,
|
|
7591
|
-
get: function () { return
|
|
7644
|
+
get: function () { return chunkXD4P4KRH_cjs.TabsList; }
|
|
7592
7645
|
});
|
|
7593
7646
|
Object.defineProperty(exports, "TabsTrigger", {
|
|
7594
7647
|
enumerable: true,
|
|
7595
|
-
get: function () { return
|
|
7648
|
+
get: function () { return chunkXD4P4KRH_cjs.TabsTrigger; }
|
|
7596
7649
|
});
|
|
7597
7650
|
Object.defineProperty(exports, "TagEntity", {
|
|
7598
7651
|
enumerable: true,
|
|
7599
|
-
get: function () { return
|
|
7652
|
+
get: function () { return chunkXD4P4KRH_cjs.TagEntity; }
|
|
7600
7653
|
});
|
|
7601
7654
|
Object.defineProperty(exports, "Textarea", {
|
|
7602
7655
|
enumerable: true,
|
|
7603
|
-
get: function () { return
|
|
7656
|
+
get: function () { return chunkXD4P4KRH_cjs.Textarea; }
|
|
7604
7657
|
});
|
|
7605
7658
|
Object.defineProperty(exports, "ThreadVisibilityIcon", {
|
|
7606
7659
|
enumerable: true,
|
|
7607
|
-
get: function () { return
|
|
7660
|
+
get: function () { return chunkXD4P4KRH_cjs.ThreadVisibilityIcon; }
|
|
7608
7661
|
});
|
|
7609
7662
|
Object.defineProperty(exports, "Toggle", {
|
|
7610
7663
|
enumerable: true,
|
|
7611
|
-
get: function () { return
|
|
7664
|
+
get: function () { return chunkXD4P4KRH_cjs.Toggle; }
|
|
7612
7665
|
});
|
|
7613
7666
|
Object.defineProperty(exports, "ToggleGroup", {
|
|
7614
7667
|
enumerable: true,
|
|
7615
|
-
get: function () { return
|
|
7668
|
+
get: function () { return chunkXD4P4KRH_cjs.ToggleGroup; }
|
|
7616
7669
|
});
|
|
7617
7670
|
Object.defineProperty(exports, "ToggleGroupItem", {
|
|
7618
7671
|
enumerable: true,
|
|
7619
|
-
get: function () { return
|
|
7672
|
+
get: function () { return chunkXD4P4KRH_cjs.ToggleGroupItem; }
|
|
7620
7673
|
});
|
|
7621
7674
|
Object.defineProperty(exports, "Tooltip", {
|
|
7622
7675
|
enumerable: true,
|
|
7623
|
-
get: function () { return
|
|
7676
|
+
get: function () { return chunkXD4P4KRH_cjs.Tooltip; }
|
|
7624
7677
|
});
|
|
7625
7678
|
Object.defineProperty(exports, "TooltipContent", {
|
|
7626
7679
|
enumerable: true,
|
|
7627
|
-
get: function () { return
|
|
7680
|
+
get: function () { return chunkXD4P4KRH_cjs.TooltipContent; }
|
|
7628
7681
|
});
|
|
7629
7682
|
Object.defineProperty(exports, "TooltipProvider", {
|
|
7630
7683
|
enumerable: true,
|
|
7631
|
-
get: function () { return
|
|
7684
|
+
get: function () { return chunkXD4P4KRH_cjs.TooltipProvider; }
|
|
7632
7685
|
});
|
|
7633
7686
|
Object.defineProperty(exports, "TooltipTrigger", {
|
|
7634
7687
|
enumerable: true,
|
|
7635
|
-
get: function () { return
|
|
7688
|
+
get: function () { return chunkXD4P4KRH_cjs.TooltipTrigger; }
|
|
7636
7689
|
});
|
|
7637
7690
|
Object.defineProperty(exports, "TxtIcon", {
|
|
7638
7691
|
enumerable: true,
|
|
7639
|
-
get: function () { return
|
|
7692
|
+
get: function () { return chunkXD4P4KRH_cjs.TxtIcon; }
|
|
7640
7693
|
});
|
|
7641
7694
|
Object.defineProperty(exports, "UserEntity", {
|
|
7642
7695
|
enumerable: true,
|
|
7643
|
-
get: function () { return
|
|
7696
|
+
get: function () { return chunkXD4P4KRH_cjs.UserEntity; }
|
|
7644
7697
|
});
|
|
7645
7698
|
Object.defineProperty(exports, "UserMenu", {
|
|
7646
7699
|
enumerable: true,
|
|
7647
|
-
get: function () { return
|
|
7700
|
+
get: function () { return chunkXD4P4KRH_cjs.UserMenu; }
|
|
7701
|
+
});
|
|
7702
|
+
Object.defineProperty(exports, "VIDEO_MIME_PREFERENCE", {
|
|
7703
|
+
enumerable: true,
|
|
7704
|
+
get: function () { return chunkXD4P4KRH_cjs.VIDEO_MIME_PREFERENCE; }
|
|
7648
7705
|
});
|
|
7649
7706
|
Object.defineProperty(exports, "VISIBILITY_ICONS", {
|
|
7650
7707
|
enumerable: true,
|
|
7651
|
-
get: function () { return
|
|
7708
|
+
get: function () { return chunkXD4P4KRH_cjs.VISIBILITY_ICONS; }
|
|
7652
7709
|
});
|
|
7653
7710
|
Object.defineProperty(exports, "VerifiedBadge", {
|
|
7654
7711
|
enumerable: true,
|
|
7655
|
-
get: function () { return
|
|
7712
|
+
get: function () { return chunkXD4P4KRH_cjs.VerifiedBadge; }
|
|
7656
7713
|
});
|
|
7657
7714
|
Object.defineProperty(exports, "VidIcon", {
|
|
7658
7715
|
enumerable: true,
|
|
7659
|
-
get: function () { return
|
|
7716
|
+
get: function () { return chunkXD4P4KRH_cjs.VidIcon; }
|
|
7660
7717
|
});
|
|
7661
7718
|
Object.defineProperty(exports, "VisibilityIcon", {
|
|
7662
7719
|
enumerable: true,
|
|
7663
|
-
get: function () { return
|
|
7720
|
+
get: function () { return chunkXD4P4KRH_cjs.VisibilityIcon; }
|
|
7664
7721
|
});
|
|
7665
7722
|
Object.defineProperty(exports, "VisibilityToggle", {
|
|
7666
7723
|
enumerable: true,
|
|
7667
|
-
get: function () { return
|
|
7724
|
+
get: function () { return chunkXD4P4KRH_cjs.VisibilityToggle; }
|
|
7668
7725
|
});
|
|
7669
7726
|
Object.defineProperty(exports, "XlsIcon", {
|
|
7670
7727
|
enumerable: true,
|
|
7671
|
-
get: function () { return
|
|
7728
|
+
get: function () { return chunkXD4P4KRH_cjs.XlsIcon; }
|
|
7672
7729
|
});
|
|
7673
7730
|
Object.defineProperty(exports, "badgeVariants", {
|
|
7674
7731
|
enumerable: true,
|
|
7675
|
-
get: function () { return
|
|
7732
|
+
get: function () { return chunkXD4P4KRH_cjs.badgeVariants; }
|
|
7676
7733
|
});
|
|
7677
7734
|
Object.defineProperty(exports, "cardVariants", {
|
|
7678
7735
|
enumerable: true,
|
|
7679
|
-
get: function () { return
|
|
7736
|
+
get: function () { return chunkXD4P4KRH_cjs.cardVariants; }
|
|
7680
7737
|
});
|
|
7681
7738
|
Object.defineProperty(exports, "classifyMediaError", {
|
|
7682
7739
|
enumerable: true,
|
|
7683
|
-
get: function () { return
|
|
7740
|
+
get: function () { return chunkXD4P4KRH_cjs.classifyMediaError; }
|
|
7684
7741
|
});
|
|
7685
7742
|
Object.defineProperty(exports, "configureEntityRegistry", {
|
|
7686
7743
|
enumerable: true,
|
|
7687
|
-
get: function () { return
|
|
7744
|
+
get: function () { return chunkXD4P4KRH_cjs.configureEntityRegistry; }
|
|
7688
7745
|
});
|
|
7689
7746
|
Object.defineProperty(exports, "configureRagLabels", {
|
|
7690
7747
|
enumerable: true,
|
|
7691
|
-
get: function () { return
|
|
7748
|
+
get: function () { return chunkXD4P4KRH_cjs.configureRagLabels; }
|
|
7692
7749
|
});
|
|
7693
7750
|
Object.defineProperty(exports, "configureStatusRegistry", {
|
|
7694
7751
|
enumerable: true,
|
|
7695
|
-
get: function () { return
|
|
7752
|
+
get: function () { return chunkXD4P4KRH_cjs.configureStatusRegistry; }
|
|
7753
|
+
});
|
|
7754
|
+
Object.defineProperty(exports, "createChunkedRecorder", {
|
|
7755
|
+
enumerable: true,
|
|
7756
|
+
get: function () { return chunkXD4P4KRH_cjs.createChunkedRecorder; }
|
|
7757
|
+
});
|
|
7758
|
+
Object.defineProperty(exports, "flushSegmenter", {
|
|
7759
|
+
enumerable: true,
|
|
7760
|
+
get: function () { return chunkXD4P4KRH_cjs.flushSegmenter; }
|
|
7696
7761
|
});
|
|
7697
7762
|
Object.defineProperty(exports, "formatElapsed", {
|
|
7698
7763
|
enumerable: true,
|
|
7699
|
-
get: function () { return
|
|
7764
|
+
get: function () { return chunkXD4P4KRH_cjs.formatElapsed; }
|
|
7700
7765
|
});
|
|
7701
7766
|
Object.defineProperty(exports, "getDocIcon", {
|
|
7702
7767
|
enumerable: true,
|
|
7703
|
-
get: function () { return
|
|
7768
|
+
get: function () { return chunkXD4P4KRH_cjs.getDocIcon; }
|
|
7704
7769
|
});
|
|
7705
7770
|
Object.defineProperty(exports, "getEntityColor", {
|
|
7706
7771
|
enumerable: true,
|
|
7707
|
-
get: function () { return
|
|
7772
|
+
get: function () { return chunkXD4P4KRH_cjs.getEntityColor; }
|
|
7708
7773
|
});
|
|
7709
7774
|
Object.defineProperty(exports, "getEntityColorStyles", {
|
|
7710
7775
|
enumerable: true,
|
|
7711
|
-
get: function () { return
|
|
7776
|
+
get: function () { return chunkXD4P4KRH_cjs.getEntityColorStyles; }
|
|
7712
7777
|
});
|
|
7713
7778
|
Object.defineProperty(exports, "getEntityIcon", {
|
|
7714
7779
|
enumerable: true,
|
|
7715
|
-
get: function () { return
|
|
7780
|
+
get: function () { return chunkXD4P4KRH_cjs.getEntityIcon; }
|
|
7716
7781
|
});
|
|
7717
7782
|
Object.defineProperty(exports, "getEntityLabel", {
|
|
7718
7783
|
enumerable: true,
|
|
7719
|
-
get: function () { return
|
|
7784
|
+
get: function () { return chunkXD4P4KRH_cjs.getEntityLabel; }
|
|
7720
7785
|
});
|
|
7721
7786
|
Object.defineProperty(exports, "getStatusVariant", {
|
|
7722
7787
|
enumerable: true,
|
|
7723
|
-
get: function () { return
|
|
7788
|
+
get: function () { return chunkXD4P4KRH_cjs.getStatusVariant; }
|
|
7724
7789
|
});
|
|
7725
7790
|
Object.defineProperty(exports, "getTagTypeIcon", {
|
|
7726
7791
|
enumerable: true,
|
|
7727
|
-
get: function () { return
|
|
7792
|
+
get: function () { return chunkXD4P4KRH_cjs.getTagTypeIcon; }
|
|
7728
7793
|
});
|
|
7729
7794
|
Object.defineProperty(exports, "getTagTypeLabel", {
|
|
7730
7795
|
enumerable: true,
|
|
7731
|
-
get: function () { return
|
|
7796
|
+
get: function () { return chunkXD4P4KRH_cjs.getTagTypeLabel; }
|
|
7732
7797
|
});
|
|
7733
7798
|
Object.defineProperty(exports, "getWorkspaceColor", {
|
|
7734
7799
|
enumerable: true,
|
|
7735
|
-
get: function () { return
|
|
7800
|
+
get: function () { return chunkXD4P4KRH_cjs.getWorkspaceColor; }
|
|
7801
|
+
});
|
|
7802
|
+
Object.defineProperty(exports, "levelFromRms", {
|
|
7803
|
+
enumerable: true,
|
|
7804
|
+
get: function () { return chunkXD4P4KRH_cjs.levelFromRms; }
|
|
7805
|
+
});
|
|
7806
|
+
Object.defineProperty(exports, "pickRecorderMimeType", {
|
|
7807
|
+
enumerable: true,
|
|
7808
|
+
get: function () { return chunkXD4P4KRH_cjs.pickRecorderMimeType; }
|
|
7809
|
+
});
|
|
7810
|
+
Object.defineProperty(exports, "stepSegmenter", {
|
|
7811
|
+
enumerable: true,
|
|
7812
|
+
get: function () { return chunkXD4P4KRH_cjs.stepSegmenter; }
|
|
7736
7813
|
});
|
|
7737
7814
|
Object.defineProperty(exports, "toggleVariants", {
|
|
7738
7815
|
enumerable: true,
|
|
7739
|
-
get: function () { return
|
|
7816
|
+
get: function () { return chunkXD4P4KRH_cjs.toggleVariants; }
|
|
7740
7817
|
});
|
|
7741
7818
|
Object.defineProperty(exports, "useAudioRecorder", {
|
|
7742
7819
|
enumerable: true,
|
|
7743
|
-
get: function () { return
|
|
7820
|
+
get: function () { return chunkXD4P4KRH_cjs.useAudioRecorder; }
|
|
7821
|
+
});
|
|
7822
|
+
Object.defineProperty(exports, "MarkdownRenderer", {
|
|
7823
|
+
enumerable: true,
|
|
7824
|
+
get: function () { return chunkTBELZWGV_cjs.MarkdownRenderer; }
|
|
7825
|
+
});
|
|
7826
|
+
Object.defineProperty(exports, "MarkdownStreamingContext", {
|
|
7827
|
+
enumerable: true,
|
|
7828
|
+
get: function () { return chunkTBELZWGV_cjs.MarkdownStreamingContext; }
|
|
7829
|
+
});
|
|
7830
|
+
Object.defineProperty(exports, "markdownBaseComponents", {
|
|
7831
|
+
enumerable: true,
|
|
7832
|
+
get: function () { return chunkTBELZWGV_cjs.markdownBaseComponents; }
|
|
7833
|
+
});
|
|
7834
|
+
Object.defineProperty(exports, "splitMarkdownBlocks", {
|
|
7835
|
+
enumerable: true,
|
|
7836
|
+
get: function () { return chunkTBELZWGV_cjs.splitMarkdownBlocks; }
|
|
7744
7837
|
});
|
|
7745
7838
|
Object.defineProperty(exports, "Button", {
|
|
7746
7839
|
enumerable: true,
|
|
@@ -7790,22 +7883,6 @@ Object.defineProperty(exports, "buttonVariants", {
|
|
|
7790
7883
|
enumerable: true,
|
|
7791
7884
|
get: function () { return chunkWYZJLZ67_cjs.buttonVariants; }
|
|
7792
7885
|
});
|
|
7793
|
-
Object.defineProperty(exports, "MarkdownRenderer", {
|
|
7794
|
-
enumerable: true,
|
|
7795
|
-
get: function () { return chunkTBELZWGV_cjs.MarkdownRenderer; }
|
|
7796
|
-
});
|
|
7797
|
-
Object.defineProperty(exports, "MarkdownStreamingContext", {
|
|
7798
|
-
enumerable: true,
|
|
7799
|
-
get: function () { return chunkTBELZWGV_cjs.MarkdownStreamingContext; }
|
|
7800
|
-
});
|
|
7801
|
-
Object.defineProperty(exports, "markdownBaseComponents", {
|
|
7802
|
-
enumerable: true,
|
|
7803
|
-
get: function () { return chunkTBELZWGV_cjs.markdownBaseComponents; }
|
|
7804
|
-
});
|
|
7805
|
-
Object.defineProperty(exports, "splitMarkdownBlocks", {
|
|
7806
|
-
enumerable: true,
|
|
7807
|
-
get: function () { return chunkTBELZWGV_cjs.splitMarkdownBlocks; }
|
|
7808
|
-
});
|
|
7809
7886
|
Object.defineProperty(exports, "closeOpenEmphasis", {
|
|
7810
7887
|
enumerable: true,
|
|
7811
7888
|
get: function () { return chunkZ3LLUO32_cjs.closeOpenEmphasis; }
|
|
@@ -8030,7 +8107,6 @@ exports.toProfileView = toProfileView;
|
|
|
8030
8107
|
exports.toRedlineMarkdown = toRedlineMarkdown;
|
|
8031
8108
|
exports.toShellWorkspace = toShellWorkspace;
|
|
8032
8109
|
exports.useActOnStep = useActOnStep;
|
|
8033
|
-
exports.useAddContacts = useAddContacts;
|
|
8034
8110
|
exports.useAgentChats = useAgentChats;
|
|
8035
8111
|
exports.useAgentConfig = useAgentConfig;
|
|
8036
8112
|
exports.useAgentModels = useAgentModels;
|
|
@@ -8061,11 +8137,13 @@ exports.useConversationActivity = useConversationActivity;
|
|
|
8061
8137
|
exports.useConversationPendingAuth = useConversationPendingAuth;
|
|
8062
8138
|
exports.useConversationUsage = useConversationUsage;
|
|
8063
8139
|
exports.useCreateAgent = useCreateAgent;
|
|
8140
|
+
exports.useCreateContact = useCreateContact;
|
|
8064
8141
|
exports.useCreateWork = useCreateWork;
|
|
8065
8142
|
exports.useCreateWorkflow = useCreateWorkflow;
|
|
8066
8143
|
exports.useCurrentSessionId = useCurrentSessionId;
|
|
8067
8144
|
exports.useDeleteAccount = useDeleteAccount;
|
|
8068
8145
|
exports.useDeleteAccountFlow = useDeleteAccountFlow;
|
|
8146
|
+
exports.useDeleteContact = useDeleteContact;
|
|
8069
8147
|
exports.useDeleteWorkflow = useDeleteWorkflow;
|
|
8070
8148
|
exports.useDirectMessages = useDirectMessages;
|
|
8071
8149
|
exports.useDisconnectMailAccount = useDisconnectMailAccount;
|
|
@@ -8076,6 +8154,7 @@ exports.useGrantAgentAccess = useGrantAgentAccess;
|
|
|
8076
8154
|
exports.useIdentityVerification = useIdentityVerification;
|
|
8077
8155
|
exports.useIdentityVerificationFlow = useIdentityVerificationFlow;
|
|
8078
8156
|
exports.useInvalidateTagData = useInvalidateTagData;
|
|
8157
|
+
exports.useInviteContacts = useInviteContacts;
|
|
8079
8158
|
exports.useLogoutAllSessions = useLogoutAllSessions;
|
|
8080
8159
|
exports.useMailAccounts = useMailAccounts;
|
|
8081
8160
|
exports.useMailCache = useMailCache;
|
|
@@ -8099,7 +8178,6 @@ exports.usePlanWork = usePlanWork;
|
|
|
8099
8178
|
exports.useProfile = useProfile;
|
|
8100
8179
|
exports.useProjectConversationUsage = useProjectConversationUsage;
|
|
8101
8180
|
exports.useProjectEvents = useProjectEvents;
|
|
8102
|
-
exports.useRemoveContacts = useRemoveContacts;
|
|
8103
8181
|
exports.useRequestEmailChange = useRequestEmailChange;
|
|
8104
8182
|
exports.useRevokeAgentAccess = useRevokeAgentAccess;
|
|
8105
8183
|
exports.useRunConversation = useRunConversation;
|
|
@@ -8116,6 +8194,7 @@ exports.useStartAgentSession = useStartAgentSession;
|
|
|
8116
8194
|
exports.useStartWorkQuery = useStartWorkQuery;
|
|
8117
8195
|
exports.useTagKindSchema = useTagKindSchema;
|
|
8118
8196
|
exports.useTerminateSession = useTerminateSession;
|
|
8197
|
+
exports.useUpdateContact = useUpdateContact;
|
|
8119
8198
|
exports.useUpdateConversation = useUpdateConversation;
|
|
8120
8199
|
exports.useUpdateMailMessage = useUpdateMailMessage;
|
|
8121
8200
|
exports.useUpdateProfile = useUpdateProfile;
|