@arbidocs/react 0.3.164 → 0.3.165
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/{chunk-NIGFEOMC.cjs → chunk-5DV7FW6T.cjs} +5 -5
- package/dist/{chunk-NIGFEOMC.cjs.map → chunk-5DV7FW6T.cjs.map} +1 -1
- package/dist/{chunk-4DOFFRWP.js → chunk-PAJGQHFM.js} +5 -5
- package/dist/{chunk-4DOFFRWP.js.map → chunk-PAJGQHFM.js.map} +1 -1
- package/dist/index.cjs +274 -274
- package/dist/index.js +2 -2
- package/dist/ui/index.cjs +107 -107
- package/dist/ui/index.js +1 -1
- package/package.json +3 -3
package/dist/index.cjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunk5DV7FW6T_cjs = require('./chunk-5DV7FW6T.cjs');
|
|
4
4
|
var chunkZMTLGO3K_cjs = require('./chunk-ZMTLGO3K.cjs');
|
|
5
5
|
var React2 = require('react');
|
|
6
6
|
var reactQuery = require('@tanstack/react-query');
|
|
@@ -989,7 +989,7 @@ function MessageBubble({ message, theme }) {
|
|
|
989
989
|
[theme]
|
|
990
990
|
);
|
|
991
991
|
return /* @__PURE__ */ jsxRuntime.jsxs("div", { children: [
|
|
992
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { style: messageBubbleStyle(theme, message.role), children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
992
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { style: messageBubbleStyle(theme, message.role), children: /* @__PURE__ */ jsxRuntime.jsx(chunk5DV7FW6T_cjs.MarkdownRenderer, { components: markdownComponents, children: message.text }) }),
|
|
993
993
|
activeSummary && activeResolved && /* @__PURE__ */ jsxRuntime.jsxs("div", { style: citePanelStyle(theme), children: [
|
|
994
994
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { style: citePanelHeaderStyle(theme), children: [
|
|
995
995
|
/* @__PURE__ */ jsxRuntime.jsxs("strong", { children: [
|
|
@@ -1373,12 +1373,12 @@ var ChatBubble = React2.memo(function ChatBubble2({
|
|
|
1373
1373
|
}
|
|
1374
1374
|
);
|
|
1375
1375
|
}
|
|
1376
|
-
const bubbleRadius =
|
|
1376
|
+
const bubbleRadius = chunk5DV7FW6T_cjs.cn(
|
|
1377
1377
|
"rounded-2xl",
|
|
1378
1378
|
isSent && isLastOfRun && "rounded-br-sm",
|
|
1379
1379
|
!isSent && isLastOfRun && "rounded-bl-sm"
|
|
1380
1380
|
);
|
|
1381
|
-
const bubbleSurface = isSent ?
|
|
1381
|
+
const bubbleSurface = isSent ? chunk5DV7FW6T_cjs.cn("bg-ai-accent-soft text-foreground chat-bubble-sent", classNames?.ownBubble) : chunk5DV7FW6T_cjs.cn("border border-border bg-card text-card-foreground", classNames?.peerBubble);
|
|
1382
1382
|
const highlightClass = highlighted && "ring-2 ring-blue-400 dark:ring-blue-600";
|
|
1383
1383
|
const copyLinkButton = onCopyLink && /* @__PURE__ */ jsxRuntime.jsx(
|
|
1384
1384
|
"button",
|
|
@@ -1386,7 +1386,7 @@ var ChatBubble = React2.memo(function ChatBubble2({
|
|
|
1386
1386
|
onClick: onCopyLink,
|
|
1387
1387
|
onFocus: () => setIsFocused(true),
|
|
1388
1388
|
onBlur: () => setIsFocused(false),
|
|
1389
|
-
className:
|
|
1389
|
+
className: chunk5DV7FW6T_cjs.cn(
|
|
1390
1390
|
"self-end p-1 transition-opacity focus:outline-none focus-visible:ring-1 focus-visible:ring-ring rounded",
|
|
1391
1391
|
showActions ? "opacity-100 text-foreground" : "opacity-0 text-muted-foreground"
|
|
1392
1392
|
),
|
|
@@ -1399,7 +1399,7 @@ var ChatBubble = React2.memo(function ChatBubble2({
|
|
|
1399
1399
|
{
|
|
1400
1400
|
id,
|
|
1401
1401
|
"data-testid": testId,
|
|
1402
|
-
className:
|
|
1402
|
+
className: chunk5DV7FW6T_cjs.cn(
|
|
1403
1403
|
"flex w-full items-end",
|
|
1404
1404
|
isLastOfRun ? "mb-2" : "mb-0.5",
|
|
1405
1405
|
isSent ? "justify-end" : "justify-start"
|
|
@@ -1415,7 +1415,7 @@ var ChatBubble = React2.memo(function ChatBubble2({
|
|
|
1415
1415
|
onClick: onDelete,
|
|
1416
1416
|
onFocus: () => setIsFocused(true),
|
|
1417
1417
|
onBlur: () => setIsFocused(false),
|
|
1418
|
-
className:
|
|
1418
|
+
className: chunk5DV7FW6T_cjs.cn(
|
|
1419
1419
|
"self-end p-1 transition-opacity focus:outline-none focus-visible:ring-1 focus-visible:ring-ring rounded",
|
|
1420
1420
|
showActions ? "opacity-100 text-destructive" : "opacity-0 text-muted-foreground"
|
|
1421
1421
|
),
|
|
@@ -1427,7 +1427,7 @@ var ChatBubble = React2.memo(function ChatBubble2({
|
|
|
1427
1427
|
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex flex-col max-w-[80%] md:max-w-[60%]", children: /* @__PURE__ */ jsxRuntime.jsxs(
|
|
1428
1428
|
"div",
|
|
1429
1429
|
{
|
|
1430
|
-
className:
|
|
1430
|
+
className: chunk5DV7FW6T_cjs.cn(
|
|
1431
1431
|
"px-3.5 py-2 break-words shadow-sm transition-shadow",
|
|
1432
1432
|
bubbleRadius,
|
|
1433
1433
|
bubbleSurface,
|
|
@@ -1438,7 +1438,7 @@ var ChatBubble = React2.memo(function ChatBubble2({
|
|
|
1438
1438
|
isLastOfRun && /* @__PURE__ */ jsxRuntime.jsxs(
|
|
1439
1439
|
"div",
|
|
1440
1440
|
{
|
|
1441
|
-
className:
|
|
1441
|
+
className: chunk5DV7FW6T_cjs.cn(
|
|
1442
1442
|
"flex items-center gap-1.5 mt-0.5",
|
|
1443
1443
|
isSent ? "justify-end" : "justify-start"
|
|
1444
1444
|
),
|
|
@@ -1459,7 +1459,7 @@ var ChatBubble = React2.memo(function ChatBubble2({
|
|
|
1459
1459
|
onClick: onDelete,
|
|
1460
1460
|
onFocus: () => setIsFocused(true),
|
|
1461
1461
|
onBlur: () => setIsFocused(false),
|
|
1462
|
-
className:
|
|
1462
|
+
className: chunk5DV7FW6T_cjs.cn(
|
|
1463
1463
|
"self-end p-1 transition-opacity focus:outline-none focus-visible:ring-1 focus-visible:ring-ring rounded",
|
|
1464
1464
|
showActions ? "opacity-100 text-destructive" : "opacity-0 text-muted-foreground"
|
|
1465
1465
|
),
|
|
@@ -1812,9 +1812,9 @@ function AiAnswer({
|
|
|
1812
1812
|
setTimeout(() => setCopied(false), 1600);
|
|
1813
1813
|
};
|
|
1814
1814
|
if (status === "idle" && !hasText) {
|
|
1815
|
-
return emptyHint ? /* @__PURE__ */ jsxRuntime.jsx("p", { className:
|
|
1815
|
+
return emptyHint ? /* @__PURE__ */ jsxRuntime.jsx("p", { className: chunk5DV7FW6T_cjs.cn("text-sm text-muted-foreground", className), "data-testid": `${testId}-empty`, children: emptyHint }) : null;
|
|
1816
1816
|
}
|
|
1817
|
-
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className:
|
|
1817
|
+
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: chunk5DV7FW6T_cjs.cn("space-y-3", className), "data-testid": testId, "data-status": status, children: [
|
|
1818
1818
|
running && /* @__PURE__ */ jsxRuntime.jsxs(
|
|
1819
1819
|
"div",
|
|
1820
1820
|
{
|
|
@@ -1838,7 +1838,7 @@ function AiAnswer({
|
|
|
1838
1838
|
}
|
|
1839
1839
|
),
|
|
1840
1840
|
hasText && /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
1841
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
1841
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunk5DV7FW6T_cjs.AiMarkdown, { isStreaming: running, children: text }),
|
|
1842
1842
|
!running && /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center justify-between border-t border-border pt-2.5", children: [
|
|
1843
1843
|
/* @__PURE__ */ jsxRuntime.jsxs("span", { className: "inline-flex items-center gap-1.5 text-xs text-muted-foreground", children: [
|
|
1844
1844
|
/* @__PURE__ */ jsxRuntime.jsx(lucideReact.ShieldCheck, { className: "size-3.5 text-ai-accent" }),
|
|
@@ -1883,7 +1883,7 @@ function AiActionCard({
|
|
|
1883
1883
|
const p = typeof prompt === "function" ? prompt() : prompt;
|
|
1884
1884
|
void task.run(p, docIds);
|
|
1885
1885
|
};
|
|
1886
|
-
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
1886
|
+
return /* @__PURE__ */ jsxRuntime.jsxs(chunk5DV7FW6T_cjs.Card, { variant: "elevated", className: "rounded-xl p-5", "data-testid": testId, children: [
|
|
1887
1887
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-start justify-between gap-4", children: [
|
|
1888
1888
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-start gap-3", children: [
|
|
1889
1889
|
/* @__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" }) }),
|
|
@@ -1893,7 +1893,7 @@ function AiActionCard({
|
|
|
1893
1893
|
] })
|
|
1894
1894
|
] }),
|
|
1895
1895
|
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
1896
|
-
|
|
1896
|
+
chunk5DV7FW6T_cjs.Button,
|
|
1897
1897
|
{
|
|
1898
1898
|
variant: task.isDone ? "outline" : "accent",
|
|
1899
1899
|
size: "sm",
|
|
@@ -1940,7 +1940,7 @@ function ArtifactCanvas({
|
|
|
1940
1940
|
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
1941
1941
|
"div",
|
|
1942
1942
|
{
|
|
1943
|
-
className:
|
|
1943
|
+
className: chunk5DV7FW6T_cjs.cn(
|
|
1944
1944
|
"flex h-full min-h-[280px] flex-col items-center justify-center rounded-xl border border-destructive/30 bg-destructive/5 p-8 text-center",
|
|
1945
1945
|
className
|
|
1946
1946
|
),
|
|
@@ -1956,7 +1956,7 @@ function ArtifactCanvas({
|
|
|
1956
1956
|
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
1957
1957
|
"div",
|
|
1958
1958
|
{
|
|
1959
|
-
className:
|
|
1959
|
+
className: chunk5DV7FW6T_cjs.cn(
|
|
1960
1960
|
"flex h-full min-h-[280px] flex-col items-center justify-center rounded-xl border border-border bg-ai-surface/40 p-8 text-center",
|
|
1961
1961
|
className
|
|
1962
1962
|
),
|
|
@@ -1977,7 +1977,7 @@ function ArtifactCanvas({
|
|
|
1977
1977
|
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
1978
1978
|
"div",
|
|
1979
1979
|
{
|
|
1980
|
-
className:
|
|
1980
|
+
className: chunk5DV7FW6T_cjs.cn(
|
|
1981
1981
|
"flex h-full min-h-[280px] flex-col items-center justify-center rounded-xl border border-dashed border-border bg-secondary/30 p-8 text-center",
|
|
1982
1982
|
className
|
|
1983
1983
|
),
|
|
@@ -2009,7 +2009,7 @@ function ArtifactCanvas({
|
|
|
2009
2009
|
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
2010
2010
|
"div",
|
|
2011
2011
|
{
|
|
2012
|
-
className:
|
|
2012
|
+
className: chunk5DV7FW6T_cjs.cn(
|
|
2013
2013
|
"flex h-full flex-col overflow-hidden rounded-xl border border-border bg-card",
|
|
2014
2014
|
className
|
|
2015
2015
|
),
|
|
@@ -2025,11 +2025,11 @@ function ArtifactCanvas({
|
|
|
2025
2025
|
children: active.title
|
|
2026
2026
|
}
|
|
2027
2027
|
),
|
|
2028
|
-
isRedline && /* @__PURE__ */ jsxRuntime.jsxs(
|
|
2028
|
+
isRedline && /* @__PURE__ */ jsxRuntime.jsxs(chunk5DV7FW6T_cjs.Badge, { variant: "accent", className: "gap-1", children: [
|
|
2029
2029
|
/* @__PURE__ */ jsxRuntime.jsx(lucideReact.GitCompareArrows, { className: "size-3" }),
|
|
2030
2030
|
" Redline"
|
|
2031
2031
|
] }),
|
|
2032
|
-
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
2032
|
+
/* @__PURE__ */ jsxRuntime.jsxs(chunk5DV7FW6T_cjs.Badge, { variant: "secondary", children: [
|
|
2033
2033
|
"v",
|
|
2034
2034
|
active.version
|
|
2035
2035
|
] }),
|
|
@@ -2070,7 +2070,7 @@ function ArtifactCanvas({
|
|
|
2070
2070
|
"button",
|
|
2071
2071
|
{
|
|
2072
2072
|
onClick: () => setActiveId(a.doc_ext_id),
|
|
2073
|
-
className:
|
|
2073
|
+
className: chunk5DV7FW6T_cjs.cn(
|
|
2074
2074
|
"shrink-0 rounded-md px-2.5 py-1 text-xs font-medium",
|
|
2075
2075
|
a.doc_ext_id === active.doc_ext_id ? "bg-ai-accent-soft text-ai-accent" : "text-muted-foreground hover:bg-accent"
|
|
2076
2076
|
),
|
|
@@ -2085,7 +2085,7 @@ function ArtifactCanvas({
|
|
|
2085
2085
|
animate: { opacity: 1, y: 0 },
|
|
2086
2086
|
transition: { duration: 0.2 },
|
|
2087
2087
|
className: "mx-auto max-w-2xl rounded-lg bg-card p-8 shadow-sm ring-1 ring-border",
|
|
2088
|
-
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(
|
|
2088
|
+
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(chunk5DV7FW6T_cjs.AiMarkdown, { children: active.content })
|
|
2089
2089
|
},
|
|
2090
2090
|
active.doc_ext_id
|
|
2091
2091
|
) }) })
|
|
@@ -2102,7 +2102,7 @@ function MessageArtifactCard({
|
|
|
2102
2102
|
const Icon = isImage ? lucideReact.Image : lucideReact.FileText;
|
|
2103
2103
|
const statusText = isImage ? isComplete ? "Image ready" : "Generating\u2026" : isComplete ? "Draft ready" : "Drafting\u2026";
|
|
2104
2104
|
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
2105
|
-
|
|
2105
|
+
chunk5DV7FW6T_cjs.Card,
|
|
2106
2106
|
{
|
|
2107
2107
|
variant: "outline",
|
|
2108
2108
|
className: "mt-3 flex items-center gap-3 px-3 py-2.5",
|
|
@@ -2145,7 +2145,7 @@ function DocSearch({
|
|
|
2145
2145
|
const submit = () => {
|
|
2146
2146
|
if (value.trim()) void search(value, "hybrid");
|
|
2147
2147
|
};
|
|
2148
|
-
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className:
|
|
2148
|
+
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: chunk5DV7FW6T_cjs.cn("space-y-3", className), "data-testid": "doc-search", children: [
|
|
2149
2149
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "relative", children: [
|
|
2150
2150
|
/* @__PURE__ */ jsxRuntime.jsx(lucideReact.Search, { className: "pointer-events-none absolute left-3 top-1/2 size-4 -translate-y-1/2 text-muted-foreground" }),
|
|
2151
2151
|
isRunning && /* @__PURE__ */ jsxRuntime.jsx(lucideReact.Loader2, { className: "absolute right-3 top-1/2 size-4 -translate-y-1/2 animate-spin text-ai-accent" }),
|
|
@@ -2178,10 +2178,10 @@ function DocSearch({
|
|
|
2178
2178
|
status === "done" && /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "space-y-2", "data-testid": "doc-search-results", children: [
|
|
2179
2179
|
/* @__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` }),
|
|
2180
2180
|
results.slice(0, 8).map((r, i) => /* @__PURE__ */ jsxRuntime.jsxs(
|
|
2181
|
-
|
|
2181
|
+
chunk5DV7FW6T_cjs.Card,
|
|
2182
2182
|
{
|
|
2183
2183
|
variant: "elevated",
|
|
2184
|
-
className:
|
|
2184
|
+
className: chunk5DV7FW6T_cjs.cn(
|
|
2185
2185
|
"rounded-xl p-3",
|
|
2186
2186
|
onOpenDoc && r.docId && "cursor-pointer transition-colors hover:border-ai-accent/40"
|
|
2187
2187
|
),
|
|
@@ -2191,7 +2191,7 @@ function DocSearch({
|
|
|
2191
2191
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "mb-1 flex items-center gap-2", children: [
|
|
2192
2192
|
/* @__PURE__ */ jsxRuntime.jsx(lucideReact.FileText, { className: "size-3.5 text-ai-accent" }),
|
|
2193
2193
|
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "truncate text-xs font-medium text-foreground", children: r.docTitle ?? "Document" }),
|
|
2194
|
-
r.page != null && /* @__PURE__ */ jsxRuntime.jsxs(
|
|
2194
|
+
r.page != null && /* @__PURE__ */ jsxRuntime.jsxs(chunk5DV7FW6T_cjs.Badge, { variant: "secondary", children: [
|
|
2195
2195
|
"p.",
|
|
2196
2196
|
r.page
|
|
2197
2197
|
] }),
|
|
@@ -2232,7 +2232,7 @@ var EntityPill = React2.forwardRef(function EntityPill2({
|
|
|
2232
2232
|
const shapeClass = shape === "pill" ? "rounded-full" : "rounded-md";
|
|
2233
2233
|
const sizeClasses2 = size === "base" ? "gap-1.5 px-1.5 py-0.5" : "gap-1 px-1";
|
|
2234
2234
|
const textSizeClass = size === "base" ? "text-base" : "text-sm";
|
|
2235
|
-
const baseClasses =
|
|
2235
|
+
const baseClasses = chunk5DV7FW6T_cjs.cn(
|
|
2236
2236
|
"group/pill items-center",
|
|
2237
2237
|
fullWidth ? "flex w-full" : "inline-flex",
|
|
2238
2238
|
sizeClasses2,
|
|
@@ -2262,7 +2262,7 @@ var EntityPill = React2.forwardRef(function EntityPill2({
|
|
|
2262
2262
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
2263
2263
|
"span",
|
|
2264
2264
|
{
|
|
2265
|
-
className:
|
|
2265
|
+
className: chunk5DV7FW6T_cjs.cn(
|
|
2266
2266
|
textSizeClass,
|
|
2267
2267
|
"font-medium truncate leading-tight min-w-0",
|
|
2268
2268
|
labelMaxWidth,
|
|
@@ -2273,9 +2273,9 @@ var EntityPill = React2.forwardRef(function EntityPill2({
|
|
|
2273
2273
|
),
|
|
2274
2274
|
secondaryText && /* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-xs text-muted-foreground flex-shrink-0 leading-none", children: secondaryText })
|
|
2275
2275
|
] });
|
|
2276
|
-
const tooltipWrap = (content, tip, side = tooltipSide, triggerClassName, triggerProps) => /* @__PURE__ */ jsxRuntime.jsxs(
|
|
2276
|
+
const tooltipWrap = (content, tip, side = tooltipSide, triggerClassName, triggerProps) => /* @__PURE__ */ jsxRuntime.jsxs(chunk5DV7FW6T_cjs.Tooltip, { children: [
|
|
2277
2277
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
2278
|
-
|
|
2278
|
+
chunk5DV7FW6T_cjs.TooltipTrigger,
|
|
2279
2279
|
{
|
|
2280
2280
|
onFocusCapture: (e) => e.stopPropagation(),
|
|
2281
2281
|
className: triggerClassName,
|
|
@@ -2283,9 +2283,9 @@ var EntityPill = React2.forwardRef(function EntityPill2({
|
|
|
2283
2283
|
children: content
|
|
2284
2284
|
}
|
|
2285
2285
|
),
|
|
2286
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
2286
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunk5DV7FW6T_cjs.TooltipContent, { side, className: "p-2", children: tip })
|
|
2287
2287
|
] });
|
|
2288
|
-
const mainAreaClass =
|
|
2288
|
+
const mainAreaClass = chunk5DV7FW6T_cjs.cn("inline-flex items-center gap-1", fullWidth && "min-w-0 flex-1");
|
|
2289
2289
|
if (onMoreClick || moreContent) {
|
|
2290
2290
|
let mainArea;
|
|
2291
2291
|
if (tooltipContent) {
|
|
@@ -2293,7 +2293,7 @@ var EntityPill = React2.forwardRef(function EntityPill2({
|
|
|
2293
2293
|
mainContent,
|
|
2294
2294
|
tooltipContent,
|
|
2295
2295
|
tooltipSide,
|
|
2296
|
-
|
|
2296
|
+
chunk5DV7FW6T_cjs.cn(mainAreaClass, disabled && "opacity-60"),
|
|
2297
2297
|
{
|
|
2298
2298
|
type: "button",
|
|
2299
2299
|
onClick: href ? onClick : disabled ? void 0 : onClick,
|
|
@@ -2319,7 +2319,7 @@ var EntityPill = React2.forwardRef(function EntityPill2({
|
|
|
2319
2319
|
type: "button",
|
|
2320
2320
|
onClick: disabled ? void 0 : onClick,
|
|
2321
2321
|
disabled,
|
|
2322
|
-
className:
|
|
2322
|
+
className: chunk5DV7FW6T_cjs.cn("inline-flex items-center gap-1", disabled && "opacity-60"),
|
|
2323
2323
|
children: mainContent
|
|
2324
2324
|
}
|
|
2325
2325
|
);
|
|
@@ -2343,7 +2343,7 @@ var EntityPill = React2.forwardRef(function EntityPill2({
|
|
|
2343
2343
|
"span",
|
|
2344
2344
|
{
|
|
2345
2345
|
ref,
|
|
2346
|
-
className:
|
|
2346
|
+
className: chunk5DV7FW6T_cjs.cn(
|
|
2347
2347
|
baseClasses,
|
|
2348
2348
|
(onClick || href) && !disabled && interactiveClasses,
|
|
2349
2349
|
highlight && highlightClasses
|
|
@@ -2372,7 +2372,7 @@ var EntityPill = React2.forwardRef(function EntityPill2({
|
|
|
2372
2372
|
),
|
|
2373
2373
|
tooltipContent,
|
|
2374
2374
|
tooltipSide,
|
|
2375
|
-
|
|
2375
|
+
chunk5DV7FW6T_cjs.cn(baseClasses, interactiveClasses),
|
|
2376
2376
|
{ "data-testid": testId }
|
|
2377
2377
|
);
|
|
2378
2378
|
}
|
|
@@ -2380,7 +2380,7 @@ var EntityPill = React2.forwardRef(function EntityPill2({
|
|
|
2380
2380
|
mainContent,
|
|
2381
2381
|
tooltipContent,
|
|
2382
2382
|
tooltipSide,
|
|
2383
|
-
|
|
2383
|
+
chunk5DV7FW6T_cjs.cn(
|
|
2384
2384
|
baseClasses,
|
|
2385
2385
|
onClick && !disabled ? interactiveClasses : "",
|
|
2386
2386
|
disabled ? disabledClasses : "",
|
|
@@ -2403,7 +2403,7 @@ var EntityPill = React2.forwardRef(function EntityPill2({
|
|
|
2403
2403
|
href,
|
|
2404
2404
|
target: "_blank",
|
|
2405
2405
|
rel: "noopener noreferrer",
|
|
2406
|
-
className:
|
|
2406
|
+
className: chunk5DV7FW6T_cjs.cn(baseClasses, interactiveClasses),
|
|
2407
2407
|
"data-testid": testId,
|
|
2408
2408
|
onClick,
|
|
2409
2409
|
children: mainContent
|
|
@@ -2418,7 +2418,7 @@ var EntityPill = React2.forwardRef(function EntityPill2({
|
|
|
2418
2418
|
type: "button",
|
|
2419
2419
|
onClick: disabled ? void 0 : onClick,
|
|
2420
2420
|
disabled,
|
|
2421
|
-
className:
|
|
2421
|
+
className: chunk5DV7FW6T_cjs.cn(
|
|
2422
2422
|
baseClasses,
|
|
2423
2423
|
disabled ? disabledClasses : interactiveClasses,
|
|
2424
2424
|
highlight && highlightClasses
|
|
@@ -2432,7 +2432,7 @@ var EntityPill = React2.forwardRef(function EntityPill2({
|
|
|
2432
2432
|
"span",
|
|
2433
2433
|
{
|
|
2434
2434
|
ref,
|
|
2435
|
-
className:
|
|
2435
|
+
className: chunk5DV7FW6T_cjs.cn(baseClasses, highlight && highlightClasses),
|
|
2436
2436
|
"data-testid": testId,
|
|
2437
2437
|
children: mainContent
|
|
2438
2438
|
}
|
|
@@ -2531,7 +2531,7 @@ function TagEntity({
|
|
|
2531
2531
|
] }),
|
|
2532
2532
|
tag.doctag_count != null && /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-2", children: [
|
|
2533
2533
|
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-muted-foreground", children: "Documents:" }),
|
|
2534
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
2534
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunk5DV7FW6T_cjs.Badge, { variant: "secondary", className: "h-5 min-w-[20px] justify-center", children: tag.doctag_count ?? 0 })
|
|
2535
2535
|
] }),
|
|
2536
2536
|
tag.shared != null && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex items-center gap-2", children: /* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-muted-foreground", children: tag.shared ? "Shared" : "Private" }) })
|
|
2537
2537
|
] })
|
|
@@ -2616,7 +2616,7 @@ function DocumentReview({
|
|
|
2616
2616
|
"div",
|
|
2617
2617
|
{
|
|
2618
2618
|
"data-testid": "document-review",
|
|
2619
|
-
className:
|
|
2619
|
+
className: chunk5DV7FW6T_cjs.cn(
|
|
2620
2620
|
"flex h-full min-h-0 flex-col overflow-hidden rounded-lg border bg-card",
|
|
2621
2621
|
className
|
|
2622
2622
|
),
|
|
@@ -2629,7 +2629,7 @@ function DocumentReview({
|
|
|
2629
2629
|
findings.length ? ` \xB7 ${findings.length} findings` : ""
|
|
2630
2630
|
] })
|
|
2631
2631
|
] }),
|
|
2632
|
-
doc?.status ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
2632
|
+
doc?.status ? /* @__PURE__ */ jsxRuntime.jsx(chunk5DV7FW6T_cjs.Badge, { variant: "secondary", children: doc.status }) : null,
|
|
2633
2633
|
onClose ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
2634
2634
|
"button",
|
|
2635
2635
|
{
|
|
@@ -2700,7 +2700,7 @@ function DocumentReview({
|
|
|
2700
2700
|
{
|
|
2701
2701
|
"data-chunk-id": cid,
|
|
2702
2702
|
"data-testid": isActive ? "review-chunk-active" : highlighted ? "review-chunk-cited" : "review-chunk",
|
|
2703
|
-
className:
|
|
2703
|
+
className: chunk5DV7FW6T_cjs.cn(
|
|
2704
2704
|
"scroll-mt-4 rounded-md px-2 py-1 transition-colors",
|
|
2705
2705
|
highlighted && "bg-[var(--color-ai-accent-soft,theme(colors.amber.100))] ring-1 ring-inset ring-border",
|
|
2706
2706
|
// The externally-selected search passage wins the
|
|
@@ -2720,7 +2720,7 @@ function DocumentReview({
|
|
|
2720
2720
|
}
|
|
2721
2721
|
}
|
|
2722
2722
|
) }) : null,
|
|
2723
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
2723
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunk5DV7FW6T_cjs.MarkdownRenderer, { className: "prose prose-sm max-w-none dark:prose-invert", children: c.content })
|
|
2724
2724
|
]
|
|
2725
2725
|
},
|
|
2726
2726
|
cid ?? i
|
|
@@ -2746,7 +2746,7 @@ function RelevanceDot({ score }) {
|
|
|
2746
2746
|
role: "img",
|
|
2747
2747
|
"aria-label": tier.label,
|
|
2748
2748
|
title: `${tier.label} (${score.toFixed(2)})`,
|
|
2749
|
-
className:
|
|
2749
|
+
className: chunk5DV7FW6T_cjs.cn("size-1.5 shrink-0 rounded-full", tier.tone),
|
|
2750
2750
|
"data-testid": "passage-relevance"
|
|
2751
2751
|
}
|
|
2752
2752
|
);
|
|
@@ -2775,7 +2775,7 @@ function PassageCard({
|
|
|
2775
2775
|
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
2776
2776
|
"div",
|
|
2777
2777
|
{
|
|
2778
|
-
className:
|
|
2778
|
+
className: chunk5DV7FW6T_cjs.cn(
|
|
2779
2779
|
"group rounded-lg border border-border bg-card p-3 text-left transition-colors",
|
|
2780
2780
|
onClick && "hover:border-ai-accent/40 focus-within:ring-2 focus-within:ring-ai-accent/40",
|
|
2781
2781
|
active && "border-ai-accent/60 ring-1 ring-ai-accent/30",
|
|
@@ -2842,7 +2842,7 @@ function ResultRow({
|
|
|
2842
2842
|
header: /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
2843
2843
|
/* @__PURE__ */ jsxRuntime.jsx(lucideReact.FileText, { className: "size-3.5 shrink-0 text-ai-accent" }),
|
|
2844
2844
|
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "truncate text-xs font-medium text-foreground", children: result.docTitle ?? "Document" }),
|
|
2845
|
-
result.page != null && /* @__PURE__ */ jsxRuntime.jsxs(
|
|
2845
|
+
result.page != null && /* @__PURE__ */ jsxRuntime.jsxs(chunk5DV7FW6T_cjs.Badge, { variant: "secondary", children: [
|
|
2846
2846
|
"p.",
|
|
2847
2847
|
result.page
|
|
2848
2848
|
] })
|
|
@@ -2881,11 +2881,11 @@ function SemanticSearch({
|
|
|
2881
2881
|
}, [value, search, searchMode]);
|
|
2882
2882
|
const selectedDoc = selected?.docId ? docMap.get(selected.docId) : void 0;
|
|
2883
2883
|
const hasResults = status === "done" && results.length > 0;
|
|
2884
|
-
return /* @__PURE__ */ jsxRuntime.jsxs("div", { "data-testid": testId, className:
|
|
2884
|
+
return /* @__PURE__ */ jsxRuntime.jsxs("div", { "data-testid": testId, className: chunk5DV7FW6T_cjs.cn("flex min-h-0 flex-col gap-4 md:flex-row", className), children: [
|
|
2885
2885
|
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
2886
2886
|
"div",
|
|
2887
2887
|
{
|
|
2888
|
-
className:
|
|
2888
|
+
className: chunk5DV7FW6T_cjs.cn(
|
|
2889
2889
|
"flex min-h-0 flex-col gap-3 md:w-[22rem] md:shrink-0",
|
|
2890
2890
|
selected && "hidden md:flex"
|
|
2891
2891
|
),
|
|
@@ -2948,11 +2948,11 @@ function SemanticSearch({
|
|
|
2948
2948
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
2949
2949
|
"div",
|
|
2950
2950
|
{
|
|
2951
|
-
className:
|
|
2951
|
+
className: chunk5DV7FW6T_cjs.cn("min-h-0 min-w-0 flex-1", !selected && "hidden md:block"),
|
|
2952
2952
|
"data-testid": "arbi-semantic-search-viewer",
|
|
2953
2953
|
children: selected && selected.docId ? /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex h-full min-h-0 flex-col gap-2", children: [
|
|
2954
2954
|
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
2955
|
-
|
|
2955
|
+
chunk5DV7FW6T_cjs.Button,
|
|
2956
2956
|
{
|
|
2957
2957
|
variant: "ghost",
|
|
2958
2958
|
size: "sm",
|
|
@@ -3011,7 +3011,7 @@ Question: ${question}`,
|
|
|
3011
3011
|
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "min-w-0 space-y-3", "data-testid": "doc-qa", children: [
|
|
3012
3012
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex min-w-0 items-center gap-2", children: [
|
|
3013
3013
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
3014
|
-
|
|
3014
|
+
chunk5DV7FW6T_cjs.Input,
|
|
3015
3015
|
{
|
|
3016
3016
|
value: q,
|
|
3017
3017
|
onChange: (e) => setQ(e.target.value),
|
|
@@ -3022,7 +3022,7 @@ Question: ${question}`,
|
|
|
3022
3022
|
}
|
|
3023
3023
|
),
|
|
3024
3024
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
3025
|
-
|
|
3025
|
+
chunk5DV7FW6T_cjs.Button,
|
|
3026
3026
|
{
|
|
3027
3027
|
variant: "accent",
|
|
3028
3028
|
size: "icon",
|
|
@@ -3034,7 +3034,7 @@ Question: ${question}`,
|
|
|
3034
3034
|
}
|
|
3035
3035
|
),
|
|
3036
3036
|
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
3037
|
-
|
|
3037
|
+
chunk5DV7FW6T_cjs.Button,
|
|
3038
3038
|
{
|
|
3039
3039
|
variant: "outline",
|
|
3040
3040
|
size: "sm",
|
|
@@ -3167,7 +3167,7 @@ var CitationRendererComponent = ({
|
|
|
3167
3167
|
onCloseCitation,
|
|
3168
3168
|
onDismissCitation
|
|
3169
3169
|
]);
|
|
3170
|
-
return /* @__PURE__ */ jsxRuntime.jsx("div", { className:
|
|
3170
|
+
return /* @__PURE__ */ jsxRuntime.jsx("div", { className: chunk5DV7FW6T_cjs.cn("citation-container", className), "data-testid": "citation-renderer", children: renderMarkdown({ components: markdownComponents, isStreaming, children: content }) });
|
|
3171
3171
|
};
|
|
3172
3172
|
var CitationPopover = ({
|
|
3173
3173
|
citationNum,
|
|
@@ -3212,7 +3212,7 @@ var CitationPopover = ({
|
|
|
3212
3212
|
return Array.from(map.entries()).map(([docId, val]) => ({ docId, ...val }));
|
|
3213
3213
|
}, [chunks]);
|
|
3214
3214
|
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
3215
|
-
|
|
3215
|
+
chunk5DV7FW6T_cjs.Popover,
|
|
3216
3216
|
{
|
|
3217
3217
|
open,
|
|
3218
3218
|
onOpenChange: (next) => {
|
|
@@ -3224,7 +3224,7 @@ var CitationPopover = ({
|
|
|
3224
3224
|
}
|
|
3225
3225
|
},
|
|
3226
3226
|
children: [
|
|
3227
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
3227
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunk5DV7FW6T_cjs.PopoverTrigger, { asChild: true, children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
3228
3228
|
CitationLink,
|
|
3229
3229
|
{
|
|
3230
3230
|
ref: triggerRef,
|
|
@@ -3235,7 +3235,7 @@ var CitationPopover = ({
|
|
|
3235
3235
|
}
|
|
3236
3236
|
) }),
|
|
3237
3237
|
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
3238
|
-
|
|
3238
|
+
chunk5DV7FW6T_cjs.PopoverContent,
|
|
3239
3239
|
{
|
|
3240
3240
|
className: "z-[42] w-[min(var(--radix-popover-content-available-width),48rem)] min-w-0 p-0 max-h-[75vh] overflow-y-auto border-2 border-border shadow-xl",
|
|
3241
3241
|
align: "start",
|
|
@@ -3302,7 +3302,7 @@ var CitationPopover = ({
|
|
|
3302
3302
|
{
|
|
3303
3303
|
"data-testid": `citation-chunk-${chunk.metadata.chunk_ext_id}`,
|
|
3304
3304
|
onClick: () => onChunkClick(chunk),
|
|
3305
|
-
className:
|
|
3305
|
+
className: chunk5DV7FW6T_cjs.cn(
|
|
3306
3306
|
"w-full text-left text-xs rounded px-2 py-1.5 transition-colors flex items-start gap-2 mb-1 last:mb-0",
|
|
3307
3307
|
isSelected ? "bg-yellow-100 dark:bg-yellow-900/30 text-yellow-900 dark:text-yellow-100" : "text-muted-foreground hover:text-primary hover:bg-muted"
|
|
3308
3308
|
),
|
|
@@ -3341,7 +3341,7 @@ var CitationLink = React2__default.default.forwardRef(
|
|
|
3341
3341
|
"span",
|
|
3342
3342
|
{
|
|
3343
3343
|
ref,
|
|
3344
|
-
className:
|
|
3344
|
+
className: chunk5DV7FW6T_cjs.cn(
|
|
3345
3345
|
"cited-text transition-colors px-0.5 rounded inline-block",
|
|
3346
3346
|
isStreaming ? "cursor-default" : "cursor-pointer",
|
|
3347
3347
|
isActive ? "bg-yellow-100 dark:bg-yellow-900/30 hover:bg-yellow-200 dark:hover:bg-yellow-900/40" : "hover:bg-yellow-50 dark:hover:bg-yellow-900/20"
|
|
@@ -4306,7 +4306,7 @@ function DocumentEntity({
|
|
|
4306
4306
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
4307
4307
|
"span",
|
|
4308
4308
|
{
|
|
4309
|
-
className:
|
|
4309
|
+
className: chunk5DV7FW6T_cjs.cn(
|
|
4310
4310
|
"transition-opacity",
|
|
4311
4311
|
viewing ? "opacity-0" : "group-hover/pill:opacity-0 group-has-[[data-state=open]]/pill:opacity-0"
|
|
4312
4312
|
),
|
|
@@ -4316,7 +4316,7 @@ function DocumentEntity({
|
|
|
4316
4316
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
4317
4317
|
lucideReact.Eye,
|
|
4318
4318
|
{
|
|
4319
|
-
className:
|
|
4319
|
+
className: chunk5DV7FW6T_cjs.cn(
|
|
4320
4320
|
"absolute inset-0 m-auto transition-opacity",
|
|
4321
4321
|
eyeSizeClass,
|
|
4322
4322
|
viewing ? "text-primary-foreground opacity-100" : "text-primary opacity-0 group-hover/pill:opacity-100 group-has-[[data-state=open]]/pill:opacity-100"
|
|
@@ -4399,7 +4399,7 @@ function ProjectEntity({
|
|
|
4399
4399
|
const variant = resolveVariant(relation, paid, hasCollaborators);
|
|
4400
4400
|
const { pill, icon: iconClass } = VARIANT_STYLES[variant];
|
|
4401
4401
|
const iconSizeClass = size === "base" ? "h-4 w-4" : "h-3.5 w-3.5";
|
|
4402
|
-
const iconNode = icon ?? /* @__PURE__ */ jsxRuntime.jsx(lucideReact.CreditCard, { className:
|
|
4402
|
+
const iconNode = icon ?? /* @__PURE__ */ jsxRuntime.jsx(lucideReact.CreditCard, { className: chunk5DV7FW6T_cjs.cn(iconSizeClass, iconClass) });
|
|
4403
4403
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
4404
4404
|
EntityPill,
|
|
4405
4405
|
{
|
|
@@ -4407,7 +4407,7 @@ function ProjectEntity({
|
|
|
4407
4407
|
label: label ?? name,
|
|
4408
4408
|
size,
|
|
4409
4409
|
shape: "rounded",
|
|
4410
|
-
className:
|
|
4410
|
+
className: chunk5DV7FW6T_cjs.cn(pill, className),
|
|
4411
4411
|
onClick,
|
|
4412
4412
|
tooltipContent
|
|
4413
4413
|
}
|
|
@@ -4473,11 +4473,11 @@ var UserEntity = React2.memo(function UserEntity2({
|
|
|
4473
4473
|
}) {
|
|
4474
4474
|
if (empty) {
|
|
4475
4475
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
4476
|
-
|
|
4476
|
+
chunk5DV7FW6T_cjs.Avatar,
|
|
4477
4477
|
{
|
|
4478
|
-
className:
|
|
4478
|
+
className: chunk5DV7FW6T_cjs.cn(sizeClasses[size], "border border-border", className),
|
|
4479
4479
|
"data-testid": "user-entity",
|
|
4480
|
-
children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
4480
|
+
children: /* @__PURE__ */ jsxRuntime.jsx(chunk5DV7FW6T_cjs.AvatarFallback, { className: "bg-status-empty text-muted-foreground text-xs font-semibold", children: "?" })
|
|
4481
4481
|
}
|
|
4482
4482
|
);
|
|
4483
4483
|
}
|
|
@@ -4486,20 +4486,20 @@ var UserEntity = React2.memo(function UserEntity2({
|
|
|
4486
4486
|
const showUnread = hasUnreadMessages && !isMe && !isAgent;
|
|
4487
4487
|
const surfaceStyle = avatarStyle ?? agentStyle;
|
|
4488
4488
|
const avatarCore = /* @__PURE__ */ jsxRuntime.jsxs(
|
|
4489
|
-
|
|
4489
|
+
chunk5DV7FW6T_cjs.Avatar,
|
|
4490
4490
|
{
|
|
4491
|
-
className:
|
|
4491
|
+
className: chunk5DV7FW6T_cjs.cn(
|
|
4492
4492
|
sizeClasses[size],
|
|
4493
4493
|
isAgent ? "rounded-full border-2 border-dashed" : "border border-white"
|
|
4494
4494
|
),
|
|
4495
4495
|
style: surfaceStyle,
|
|
4496
4496
|
"data-testid": "user-entity",
|
|
4497
4497
|
children: [
|
|
4498
|
-
picture && /* @__PURE__ */ jsxRuntime.jsx(
|
|
4498
|
+
picture && /* @__PURE__ */ jsxRuntime.jsx(chunk5DV7FW6T_cjs.AvatarImage, { src: picture, alt: initials }),
|
|
4499
4499
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
4500
|
-
|
|
4500
|
+
chunk5DV7FW6T_cjs.AvatarFallback,
|
|
4501
4501
|
{
|
|
4502
|
-
className:
|
|
4502
|
+
className: chunk5DV7FW6T_cjs.cn(
|
|
4503
4503
|
textSizeClasses[size],
|
|
4504
4504
|
"font-semibold leading-none",
|
|
4505
4505
|
isAgent ? "rounded-full bg-transparent" : `text-white ${colorClass}`
|
|
@@ -4514,7 +4514,7 @@ var UserEntity = React2.memo(function UserEntity2({
|
|
|
4514
4514
|
const statusDot = showUnread || displayStatus ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
4515
4515
|
"span",
|
|
4516
4516
|
{
|
|
4517
|
-
className:
|
|
4517
|
+
className: chunk5DV7FW6T_cjs.cn(
|
|
4518
4518
|
"absolute rounded-full border-white",
|
|
4519
4519
|
presenceDotClasses[size],
|
|
4520
4520
|
presencePositionClasses[size],
|
|
@@ -4530,7 +4530,7 @@ var UserEntity = React2.memo(function UserEntity2({
|
|
|
4530
4530
|
const avatarElement = statusDot ? /* @__PURE__ */ jsxRuntime.jsxs(
|
|
4531
4531
|
"div",
|
|
4532
4532
|
{
|
|
4533
|
-
className:
|
|
4533
|
+
className: chunk5DV7FW6T_cjs.cn(
|
|
4534
4534
|
"relative inline-block",
|
|
4535
4535
|
sizeClasses[size],
|
|
4536
4536
|
variant === "pill" ? "" : className
|
|
@@ -4540,12 +4540,12 @@ var UserEntity = React2.memo(function UserEntity2({
|
|
|
4540
4540
|
statusDot
|
|
4541
4541
|
]
|
|
4542
4542
|
}
|
|
4543
|
-
) : /* @__PURE__ */ jsxRuntime.jsx("div", { className:
|
|
4543
|
+
) : /* @__PURE__ */ jsxRuntime.jsx("div", { className: chunk5DV7FW6T_cjs.cn("inline-block", variant === "pill" ? "" : className), children: avatarCore });
|
|
4544
4544
|
const pillAvatar = (
|
|
4545
4545
|
// shrink-0: when the pill is squeezed the NAME truncates away — the avatar
|
|
4546
4546
|
// must never collapse under it and overflow onto neighbouring text.
|
|
4547
|
-
/* @__PURE__ */ jsxRuntime.jsxs("span", { className:
|
|
4548
|
-
/* @__PURE__ */ jsxRuntime.jsx("span", { className:
|
|
4547
|
+
/* @__PURE__ */ jsxRuntime.jsxs("span", { className: chunk5DV7FW6T_cjs.cn("relative inline-block shrink-0", sizeClasses[size]), children: [
|
|
4548
|
+
/* @__PURE__ */ jsxRuntime.jsx("span", { className: chunk5DV7FW6T_cjs.cn("block transition-opacity", canMessage && "group-hover/pill:opacity-0"), children: avatarCore }),
|
|
4549
4549
|
canMessage && /* @__PURE__ */ jsxRuntime.jsx(
|
|
4550
4550
|
"span",
|
|
4551
4551
|
{
|
|
@@ -4568,19 +4568,19 @@ var UserEntity = React2.memo(function UserEntity2({
|
|
|
4568
4568
|
const clickable = interactive && !!onClick;
|
|
4569
4569
|
const clickableClass = "cursor-pointer rounded-md px-1 py-0.5 -mx-1 transition-colors hover:bg-muted/60";
|
|
4570
4570
|
if (resolvedTooltip) {
|
|
4571
|
-
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
4571
|
+
return /* @__PURE__ */ jsxRuntime.jsxs(chunk5DV7FW6T_cjs.Tooltip, { children: [
|
|
4572
4572
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
4573
|
-
|
|
4573
|
+
chunk5DV7FW6T_cjs.TooltipTrigger,
|
|
4574
4574
|
{
|
|
4575
4575
|
type: "button",
|
|
4576
4576
|
onClick: clickable ? onClick : void 0,
|
|
4577
4577
|
onFocusCapture: (e) => e.stopPropagation(),
|
|
4578
|
-
className:
|
|
4578
|
+
className: chunk5DV7FW6T_cjs.cn(rowClass, clickable && clickableClass, className),
|
|
4579
4579
|
"data-testid": "user-entity-pill",
|
|
4580
4580
|
children: row
|
|
4581
4581
|
}
|
|
4582
4582
|
),
|
|
4583
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
4583
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunk5DV7FW6T_cjs.TooltipContent, { className: "p-2", children: resolvedTooltip })
|
|
4584
4584
|
] });
|
|
4585
4585
|
}
|
|
4586
4586
|
if (clickable) {
|
|
@@ -4589,18 +4589,18 @@ var UserEntity = React2.memo(function UserEntity2({
|
|
|
4589
4589
|
{
|
|
4590
4590
|
type: "button",
|
|
4591
4591
|
onClick,
|
|
4592
|
-
className:
|
|
4592
|
+
className: chunk5DV7FW6T_cjs.cn(rowClass, clickableClass, className),
|
|
4593
4593
|
"data-testid": "user-entity-pill",
|
|
4594
4594
|
children: row
|
|
4595
4595
|
}
|
|
4596
4596
|
);
|
|
4597
4597
|
}
|
|
4598
|
-
return /* @__PURE__ */ jsxRuntime.jsx("span", { className:
|
|
4598
|
+
return /* @__PURE__ */ jsxRuntime.jsx("span", { className: chunk5DV7FW6T_cjs.cn(rowClass, className), "data-testid": "user-entity-pill", children: row });
|
|
4599
4599
|
}
|
|
4600
4600
|
if (showTooltip) {
|
|
4601
|
-
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
4602
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
4603
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
4601
|
+
return /* @__PURE__ */ jsxRuntime.jsxs(chunk5DV7FW6T_cjs.Tooltip, { children: [
|
|
4602
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunk5DV7FW6T_cjs.TooltipTrigger, { onFocusCapture: (e) => e.stopPropagation(), className: "inline-flex", children: avatarElement }),
|
|
4603
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunk5DV7FW6T_cjs.TooltipContent, { className: "p-2", children: tooltipContent })
|
|
4604
4604
|
] });
|
|
4605
4605
|
}
|
|
4606
4606
|
return avatarElement;
|
|
@@ -4610,7 +4610,7 @@ function AgentBadge({ className }) {
|
|
|
4610
4610
|
"span",
|
|
4611
4611
|
{
|
|
4612
4612
|
"data-testid": "agent-badge",
|
|
4613
|
-
className:
|
|
4613
|
+
className: chunk5DV7FW6T_cjs.cn(
|
|
4614
4614
|
"inline-flex shrink-0 items-center gap-1 rounded-full border border-ai-accent/50",
|
|
4615
4615
|
"bg-ai-accent-soft px-2 py-0.5 text-[11px] font-bold uppercase tracking-wider text-ai-accent",
|
|
4616
4616
|
className
|
|
@@ -4641,12 +4641,12 @@ function PresenceLabel({
|
|
|
4641
4641
|
"span",
|
|
4642
4642
|
{
|
|
4643
4643
|
"data-testid": "presence-label",
|
|
4644
|
-
className:
|
|
4644
|
+
className: chunk5DV7FW6T_cjs.cn("inline-flex shrink-0 items-center gap-1 text-xs", className),
|
|
4645
4645
|
children: [
|
|
4646
4646
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
4647
4647
|
"span",
|
|
4648
4648
|
{
|
|
4649
|
-
className:
|
|
4649
|
+
className: chunk5DV7FW6T_cjs.cn(
|
|
4650
4650
|
"size-1.5 rounded-full",
|
|
4651
4651
|
online ? "bg-status-online" : "bg-muted-foreground/50"
|
|
4652
4652
|
),
|
|
@@ -4669,7 +4669,7 @@ function isPackageBadgeVariant(v) {
|
|
|
4669
4669
|
return PACKAGE_BADGE_VARIANTS.some((known) => known === v);
|
|
4670
4670
|
}
|
|
4671
4671
|
function PackageStatusBadge({ variant, ...rest }) {
|
|
4672
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
4672
|
+
return /* @__PURE__ */ jsxRuntime.jsx(chunk5DV7FW6T_cjs.Badge, { variant: isPackageBadgeVariant(variant) ? variant : "outline", ...rest });
|
|
4673
4673
|
}
|
|
4674
4674
|
var registry = {
|
|
4675
4675
|
variants: {},
|
|
@@ -4698,8 +4698,8 @@ function RagDot({
|
|
|
4698
4698
|
className
|
|
4699
4699
|
}) {
|
|
4700
4700
|
const color = rag === "red" ? "bg-destructive" : rag === "amber" ? "bg-warning" : "bg-success";
|
|
4701
|
-
return /* @__PURE__ */ jsxRuntime.jsxs("span", { className:
|
|
4702
|
-
/* @__PURE__ */ jsxRuntime.jsx("span", { className:
|
|
4701
|
+
return /* @__PURE__ */ jsxRuntime.jsxs("span", { className: chunk5DV7FW6T_cjs.cn("inline-flex items-center gap-1.5", className), "data-testid": `rag-${rag}`, children: [
|
|
4702
|
+
/* @__PURE__ */ jsxRuntime.jsx("span", { className: chunk5DV7FW6T_cjs.cn("size-2 rounded-full", color) }),
|
|
4703
4703
|
withLabel && /* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-xs text-muted-foreground", children: RAG_LABELS[rag] })
|
|
4704
4704
|
] });
|
|
4705
4705
|
}
|
|
@@ -5174,20 +5174,20 @@ function ActivityFeed({
|
|
|
5174
5174
|
}) {
|
|
5175
5175
|
const { data, isLoading, isError } = useActivity({ limit, enabled });
|
|
5176
5176
|
if (isLoading) {
|
|
5177
|
-
return /* @__PURE__ */ jsxRuntime.jsx("div", { className:
|
|
5177
|
+
return /* @__PURE__ */ jsxRuntime.jsx("div", { className: chunk5DV7FW6T_cjs.cn("space-y-2", className), "data-testid": testId, "aria-busy": "true", children: Array.from({ length: 3 }).map((_, i) => /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-3 py-1.5", children: [
|
|
5178
5178
|
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "h-4 w-4 shrink-0 animate-pulse rounded-full bg-muted" }),
|
|
5179
5179
|
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "h-3 flex-1 animate-pulse rounded bg-muted" })
|
|
5180
5180
|
] }, i)) });
|
|
5181
5181
|
}
|
|
5182
5182
|
if (isError) {
|
|
5183
|
-
return /* @__PURE__ */ jsxRuntime.jsx("div", { className:
|
|
5183
|
+
return /* @__PURE__ */ jsxRuntime.jsx("div", { className: chunk5DV7FW6T_cjs.cn("text-sm text-muted-foreground", className), "data-testid": testId, children: "Couldn\u2019t load activity." });
|
|
5184
5184
|
}
|
|
5185
5185
|
const items = data ?? [];
|
|
5186
5186
|
if (items.length === 0) {
|
|
5187
5187
|
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
5188
5188
|
"div",
|
|
5189
5189
|
{
|
|
5190
|
-
className:
|
|
5190
|
+
className: chunk5DV7FW6T_cjs.cn("flex items-center gap-2 text-sm text-muted-foreground", className),
|
|
5191
5191
|
"data-testid": testId,
|
|
5192
5192
|
children: [
|
|
5193
5193
|
/* @__PURE__ */ jsxRuntime.jsx(lucideReact.Activity, { className: "h-4 w-4 shrink-0" }),
|
|
@@ -5196,7 +5196,7 @@ function ActivityFeed({
|
|
|
5196
5196
|
}
|
|
5197
5197
|
);
|
|
5198
5198
|
}
|
|
5199
|
-
return /* @__PURE__ */ jsxRuntime.jsx("ul", { className:
|
|
5199
|
+
return /* @__PURE__ */ jsxRuntime.jsx("ul", { className: chunk5DV7FW6T_cjs.cn("divide-y divide-border", className), "data-testid": testId, children: items.map((item) => {
|
|
5200
5200
|
const desc = describeActivity(item.content);
|
|
5201
5201
|
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
5202
5202
|
"li",
|
|
@@ -5204,7 +5204,7 @@ function ActivityFeed({
|
|
|
5204
5204
|
className: "flex items-center gap-3 py-2",
|
|
5205
5205
|
"data-testid": "activity-feed-item",
|
|
5206
5206
|
children: [
|
|
5207
|
-
/* @__PURE__ */ jsxRuntime.jsx(desc.Icon, { className:
|
|
5207
|
+
/* @__PURE__ */ jsxRuntime.jsx(desc.Icon, { className: chunk5DV7FW6T_cjs.cn("h-4 w-4 shrink-0", desc.iconClassName) }),
|
|
5208
5208
|
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "min-w-0 flex-1 truncate text-sm text-foreground", children: desc.title }),
|
|
5209
5209
|
/* @__PURE__ */ jsxRuntime.jsx("time", { className: "shrink-0 text-xs tabular-nums text-muted-foreground", children: formatRelative(item.created_at) })
|
|
5210
5210
|
]
|
|
@@ -5336,8 +5336,8 @@ function NotificationBell({
|
|
|
5336
5336
|
const markRead = useNotify((s) => s.markRead);
|
|
5337
5337
|
const tone = (v) => toneClassNames?.[v] ?? DEFAULT_NOTIFY_TONE[v];
|
|
5338
5338
|
const visible = notifications.filter((n) => !n.ambient);
|
|
5339
|
-
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
5340
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
5339
|
+
return /* @__PURE__ */ jsxRuntime.jsxs(chunk5DV7FW6T_cjs.DropdownMenu, { children: [
|
|
5340
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunk5DV7FW6T_cjs.DropdownMenuTrigger, { asChild: true, children: /* @__PURE__ */ jsxRuntime.jsxs(
|
|
5341
5341
|
"button",
|
|
5342
5342
|
{
|
|
5343
5343
|
className: "relative flex size-9 items-center justify-center rounded-md text-muted-foreground transition-colors hover:bg-accent hover:text-foreground",
|
|
@@ -5357,7 +5357,7 @@ function NotificationBell({
|
|
|
5357
5357
|
}
|
|
5358
5358
|
) }),
|
|
5359
5359
|
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
5360
|
-
|
|
5360
|
+
chunk5DV7FW6T_cjs.DropdownMenuContent,
|
|
5361
5361
|
{
|
|
5362
5362
|
align: "end",
|
|
5363
5363
|
sideOffset: 8,
|
|
@@ -5390,7 +5390,7 @@ function NotificationBell({
|
|
|
5390
5390
|
"aria-pressed": muted,
|
|
5391
5391
|
title: muted ? "Unmute notifications" : "Mute notifications",
|
|
5392
5392
|
"aria-label": muted ? "Unmute notifications" : "Mute notifications",
|
|
5393
|
-
className:
|
|
5393
|
+
className: chunk5DV7FW6T_cjs.cn(
|
|
5394
5394
|
"flex size-6 items-center justify-center rounded-md transition-colors hover:bg-accent",
|
|
5395
5395
|
muted ? "text-foreground" : "text-muted-foreground hover:text-foreground"
|
|
5396
5396
|
),
|
|
@@ -5408,7 +5408,7 @@ function NotificationBell({
|
|
|
5408
5408
|
children: "Toasts are muted \u2014 everything still lands here."
|
|
5409
5409
|
}
|
|
5410
5410
|
),
|
|
5411
|
-
visible.length === 0 ? /* @__PURE__ */ jsxRuntime.jsx("div", { className: "px-3.5 py-10 text-center text-sm text-muted-foreground", children: emptyText }) : /* @__PURE__ */ jsxRuntime.jsx(
|
|
5411
|
+
visible.length === 0 ? /* @__PURE__ */ jsxRuntime.jsx("div", { className: "px-3.5 py-10 text-center text-sm text-muted-foreground", children: emptyText }) : /* @__PURE__ */ jsxRuntime.jsx(chunk5DV7FW6T_cjs.ScrollArea, { className: "max-h-[380px]", children: /* @__PURE__ */ jsxRuntime.jsx("ul", { "data-testid": `${testId}-list`, children: visible.map((n) => {
|
|
5412
5412
|
const Glyph = GLYPH[n.variant];
|
|
5413
5413
|
return /* @__PURE__ */ jsxRuntime.jsx("li", { children: /* @__PURE__ */ jsxRuntime.jsxs(
|
|
5414
5414
|
"button",
|
|
@@ -5419,13 +5419,13 @@ function NotificationBell({
|
|
|
5419
5419
|
if (n.onSelect) n.onSelect();
|
|
5420
5420
|
else if (n.href) onNavigate?.(n.href);
|
|
5421
5421
|
},
|
|
5422
|
-
className:
|
|
5422
|
+
className: chunk5DV7FW6T_cjs.cn(
|
|
5423
5423
|
"flex w-full items-start gap-3 border-b border-border/60 px-3.5 py-3 text-left transition-colors hover:bg-accent",
|
|
5424
5424
|
!n.read && "bg-accent/40"
|
|
5425
5425
|
),
|
|
5426
5426
|
"data-testid": `${testId}-item`,
|
|
5427
5427
|
children: [
|
|
5428
|
-
/* @__PURE__ */ jsxRuntime.jsx(Glyph, { className:
|
|
5428
|
+
/* @__PURE__ */ jsxRuntime.jsx(Glyph, { className: chunk5DV7FW6T_cjs.cn("mt-0.5 size-4 shrink-0", tone(n.variant)) }),
|
|
5429
5429
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "min-w-0 flex-1", children: [
|
|
5430
5430
|
/* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-sm font-medium leading-snug text-foreground", children: n.title }),
|
|
5431
5431
|
n.description && /* @__PURE__ */ jsxRuntime.jsx("p", { className: "mt-0.5 line-clamp-2 text-xs leading-relaxed text-muted-foreground", children: n.description }),
|
|
@@ -5439,7 +5439,7 @@ function NotificationBell({
|
|
|
5439
5439
|
onViewAll && // A real menu item, not a bare button: selecting it must CLOSE the
|
|
5440
5440
|
// dropdown on its way to the full surface.
|
|
5441
5441
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
5442
|
-
|
|
5442
|
+
chunk5DV7FW6T_cjs.DropdownMenuItem,
|
|
5443
5443
|
{
|
|
5444
5444
|
onClick: onViewAll,
|
|
5445
5445
|
className: "justify-center rounded-none border-t border-border px-3.5 py-2.5 text-xs font-medium text-primary focus:text-primary",
|
|
@@ -5627,7 +5627,7 @@ function ConversationList({
|
|
|
5627
5627
|
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
5628
5628
|
"aside",
|
|
5629
5629
|
{
|
|
5630
|
-
className:
|
|
5630
|
+
className: chunk5DV7FW6T_cjs.cn(
|
|
5631
5631
|
"flex min-h-0 flex-col border-b border-border md:w-80 md:shrink-0 md:border-b-0 md:border-r",
|
|
5632
5632
|
className
|
|
5633
5633
|
),
|
|
@@ -5655,7 +5655,7 @@ function ConversationList({
|
|
|
5655
5655
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
5656
5656
|
"span",
|
|
5657
5657
|
{
|
|
5658
|
-
className:
|
|
5658
|
+
className: chunk5DV7FW6T_cjs.cn(
|
|
5659
5659
|
"truncate text-sm text-foreground",
|
|
5660
5660
|
unread ? "font-bold" : "font-semibold"
|
|
5661
5661
|
),
|
|
@@ -5665,7 +5665,7 @@ function ConversationList({
|
|
|
5665
5665
|
c.badge ?? (isAgentUser(peer) ? /* @__PURE__ */ jsxRuntime.jsx(AgentBadge, {}) : null)
|
|
5666
5666
|
] }),
|
|
5667
5667
|
c.statusLabel ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
5668
|
-
|
|
5668
|
+
chunk5DV7FW6T_cjs.Badge,
|
|
5669
5669
|
{
|
|
5670
5670
|
variant: "outline",
|
|
5671
5671
|
className: "shrink-0 rounded-full px-2 py-0 text-[10px] font-medium text-muted-foreground",
|
|
@@ -5676,10 +5676,10 @@ function ConversationList({
|
|
|
5676
5676
|
// shouted louder than the message it was counting.
|
|
5677
5677
|
// Enough to catch the eye scanning the list, no more.
|
|
5678
5678
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
5679
|
-
|
|
5679
|
+
chunk5DV7FW6T_cjs.Badge,
|
|
5680
5680
|
{
|
|
5681
5681
|
variant: "accent",
|
|
5682
|
-
className:
|
|
5682
|
+
className: chunk5DV7FW6T_cjs.cn(
|
|
5683
5683
|
"min-w-[1.125rem] justify-center rounded-full px-1 py-0 text-[10px] font-medium leading-[1.125rem] shadow-none",
|
|
5684
5684
|
classNames?.unreadBadge
|
|
5685
5685
|
),
|
|
@@ -5705,7 +5705,7 @@ function ConversationList({
|
|
|
5705
5705
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
5706
5706
|
"p",
|
|
5707
5707
|
{
|
|
5708
|
-
className:
|
|
5708
|
+
className: chunk5DV7FW6T_cjs.cn(
|
|
5709
5709
|
"min-w-0 flex-1 truncate text-xs",
|
|
5710
5710
|
unread ? "font-medium text-foreground" : "text-muted-foreground"
|
|
5711
5711
|
),
|
|
@@ -5716,7 +5716,7 @@ function ConversationList({
|
|
|
5716
5716
|
] })
|
|
5717
5717
|
] })
|
|
5718
5718
|
] });
|
|
5719
|
-
const rowClass =
|
|
5719
|
+
const rowClass = chunk5DV7FW6T_cjs.cn(
|
|
5720
5720
|
// Each row is its own opaque surface. Left transparent it takes
|
|
5721
5721
|
// the panel's colour, and the chips stop reading as cards at all
|
|
5722
5722
|
// — which is the whole point of them.
|
|
@@ -5845,7 +5845,7 @@ function MessageThread({
|
|
|
5845
5845
|
/* @__PURE__ */ jsxRuntime.jsx("p", { className: "truncate text-xs text-muted-foreground", children: peer.email })
|
|
5846
5846
|
] })
|
|
5847
5847
|
] }),
|
|
5848
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
5848
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunk5DV7FW6T_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: [
|
|
5849
5849
|
items.map(({ message: m, isLastOfRun, isFirstOfDay }) => /* @__PURE__ */ jsxRuntime.jsxs(React2.Fragment, { children: [
|
|
5850
5850
|
isFirstOfDay && formatDay && /* @__PURE__ */ jsxRuntime.jsx(DateSeparator, { children: formatDay(m.createdAt) }),
|
|
5851
5851
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
@@ -5895,7 +5895,7 @@ function DmComposer({
|
|
|
5895
5895
|
children,
|
|
5896
5896
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-end gap-2", children: [
|
|
5897
5897
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
5898
|
-
|
|
5898
|
+
chunk5DV7FW6T_cjs.Textarea,
|
|
5899
5899
|
{
|
|
5900
5900
|
ref: inputRef,
|
|
5901
5901
|
value: draft,
|
|
@@ -5909,12 +5909,12 @@ function DmComposer({
|
|
|
5909
5909
|
}
|
|
5910
5910
|
),
|
|
5911
5911
|
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
5912
|
-
|
|
5912
|
+
chunk5DV7FW6T_cjs.Button,
|
|
5913
5913
|
{
|
|
5914
5914
|
type: "button",
|
|
5915
5915
|
onClick: () => void submit(),
|
|
5916
5916
|
disabled: disabled || busy || !draft.trim(),
|
|
5917
|
-
className:
|
|
5917
|
+
className: chunk5DV7FW6T_cjs.cn(classNames?.sendButton),
|
|
5918
5918
|
"data-testid": "arbi-dm-send",
|
|
5919
5919
|
"aria-label": "Send message",
|
|
5920
5920
|
children: [
|
|
@@ -5967,7 +5967,7 @@ function DirectMessages({
|
|
|
5967
5967
|
{
|
|
5968
5968
|
"data-testid": "arbi-dm",
|
|
5969
5969
|
style: { height: "calc(100vh - 16rem)", minHeight: "28rem" },
|
|
5970
|
-
className:
|
|
5970
|
+
className: chunk5DV7FW6T_cjs.cn(
|
|
5971
5971
|
"relative flex flex-col overflow-hidden rounded-xl border border-border bg-card md:flex-row",
|
|
5972
5972
|
className
|
|
5973
5973
|
),
|
|
@@ -6035,7 +6035,7 @@ function ImageCropper({
|
|
|
6035
6035
|
},
|
|
6036
6036
|
[onCropComplete, activeAspect]
|
|
6037
6037
|
);
|
|
6038
|
-
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className:
|
|
6038
|
+
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: chunk5DV7FW6T_cjs.cn("flex flex-col gap-3", className), children: [
|
|
6039
6039
|
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "relative h-72 w-full overflow-hidden rounded-md bg-foreground/95", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
6040
6040
|
Cropper__default.default,
|
|
6041
6041
|
{
|
|
@@ -6061,7 +6061,7 @@ function ImageCropper({
|
|
|
6061
6061
|
type: "button",
|
|
6062
6062
|
onClick: () => setActiveAspect(opt.value),
|
|
6063
6063
|
"data-testid": `image-cropper-aspect-${opt.label}`,
|
|
6064
|
-
className:
|
|
6064
|
+
className: chunk5DV7FW6T_cjs.cn(
|
|
6065
6065
|
"rounded-md px-2 py-1 text-xs font-medium transition-colors",
|
|
6066
6066
|
on ? "bg-primary text-primary-foreground" : "text-muted-foreground hover:bg-accent hover:text-foreground"
|
|
6067
6067
|
),
|
|
@@ -6074,7 +6074,7 @@ function ImageCropper({
|
|
|
6074
6074
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "space-y-1.5", children: [
|
|
6075
6075
|
/* @__PURE__ */ jsxRuntime.jsx("label", { className: "text-[11px] font-semibold uppercase tracking-wider text-muted-foreground", children: "Zoom" }),
|
|
6076
6076
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
6077
|
-
|
|
6077
|
+
chunk5DV7FW6T_cjs.Slider,
|
|
6078
6078
|
{
|
|
6079
6079
|
value: [zoom],
|
|
6080
6080
|
onValueChange: ([v]) => setZoom(v ?? 1),
|
|
@@ -6151,8 +6151,8 @@ function ImageCropModal({
|
|
|
6151
6151
|
setBusy(false);
|
|
6152
6152
|
}
|
|
6153
6153
|
};
|
|
6154
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
6155
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
6154
|
+
return /* @__PURE__ */ jsxRuntime.jsx(chunk5DV7FW6T_cjs.Dialog, { open, onOpenChange: (next) => !next ? onCancel() : void 0, children: /* @__PURE__ */ jsxRuntime.jsxs(chunk5DV7FW6T_cjs.DialogContent, { className: "sm:max-w-md", "data-testid": "image-crop-modal", children: [
|
|
6155
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunk5DV7FW6T_cjs.DialogHeader, { children: /* @__PURE__ */ jsxRuntime.jsx(chunk5DV7FW6T_cjs.DialogTitle, { children: title }) }),
|
|
6156
6156
|
image ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
6157
6157
|
ImageCropper,
|
|
6158
6158
|
{
|
|
@@ -6163,9 +6163,9 @@ function ImageCropModal({
|
|
|
6163
6163
|
onCropComplete: setArea
|
|
6164
6164
|
}
|
|
6165
6165
|
) : null,
|
|
6166
|
-
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
6167
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
6168
|
-
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
6166
|
+
/* @__PURE__ */ jsxRuntime.jsxs(chunk5DV7FW6T_cjs.DialogFooter, { className: "gap-2 sm:gap-2", children: [
|
|
6167
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunk5DV7FW6T_cjs.Button, { variant: "ghost", onClick: onCancel, disabled: busy, children: "Cancel" }),
|
|
6168
|
+
/* @__PURE__ */ jsxRuntime.jsxs(chunk5DV7FW6T_cjs.Button, { onClick: handleSave, disabled: !area || busy, "data-testid": "image-crop-save", children: [
|
|
6169
6169
|
busy ? /* @__PURE__ */ jsxRuntime.jsx(lucideReact.Loader2, { className: "mr-1 size-4 animate-spin" }) : null,
|
|
6170
6170
|
saveLabel
|
|
6171
6171
|
] })
|
|
@@ -6231,18 +6231,18 @@ function CommandPalette({
|
|
|
6231
6231
|
if (!q || task.isRunning) return;
|
|
6232
6232
|
void task.run(buildAskPrompt(q), askDocIds, { model });
|
|
6233
6233
|
};
|
|
6234
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
6235
|
-
|
|
6234
|
+
return /* @__PURE__ */ jsxRuntime.jsx(chunk5DV7FW6T_cjs.Dialog, { open, onOpenChange, children: /* @__PURE__ */ jsxRuntime.jsxs(
|
|
6235
|
+
chunk5DV7FW6T_cjs.DialogContent,
|
|
6236
6236
|
{
|
|
6237
|
-
className:
|
|
6237
|
+
className: chunk5DV7FW6T_cjs.cn(
|
|
6238
6238
|
"top-[12%] max-w-2xl translate-y-0 gap-0 overflow-hidden p-0",
|
|
6239
6239
|
classNames?.dialog
|
|
6240
6240
|
),
|
|
6241
6241
|
"data-testid": testId,
|
|
6242
6242
|
children: [
|
|
6243
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
6243
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunk5DV7FW6T_cjs.DialogTitle, { className: "sr-only", children: "Command palette" }),
|
|
6244
6244
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-3 border-b border-border px-4", children: [
|
|
6245
|
-
/* @__PURE__ */ jsxRuntime.jsx(lucideReact.Sparkles, { className:
|
|
6245
|
+
/* @__PURE__ */ jsxRuntime.jsx(lucideReact.Sparkles, { className: chunk5DV7FW6T_cjs.cn("size-4 shrink-0 text-ai-accent", classNames?.leadingIcon) }),
|
|
6246
6246
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
6247
6247
|
"input",
|
|
6248
6248
|
{
|
|
@@ -6256,7 +6256,7 @@ function CommandPalette({
|
|
|
6256
6256
|
}
|
|
6257
6257
|
},
|
|
6258
6258
|
placeholder,
|
|
6259
|
-
className:
|
|
6259
|
+
className: chunk5DV7FW6T_cjs.cn(
|
|
6260
6260
|
"h-14 flex-1 bg-transparent text-base outline-none placeholder:text-muted-foreground",
|
|
6261
6261
|
classNames?.input
|
|
6262
6262
|
),
|
|
@@ -6271,7 +6271,7 @@ function CommandPalette({
|
|
|
6271
6271
|
{
|
|
6272
6272
|
type: "button",
|
|
6273
6273
|
onClick: ask,
|
|
6274
|
-
className:
|
|
6274
|
+
className: chunk5DV7FW6T_cjs.cn(
|
|
6275
6275
|
"mb-1 flex w-full items-center gap-3 rounded-lg px-3 py-2.5 text-left hover:bg-accent",
|
|
6276
6276
|
classNames?.askAction
|
|
6277
6277
|
),
|
|
@@ -6280,7 +6280,7 @@ function CommandPalette({
|
|
|
6280
6280
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
6281
6281
|
"span",
|
|
6282
6282
|
{
|
|
6283
|
-
className:
|
|
6283
|
+
className: chunk5DV7FW6T_cjs.cn(
|
|
6284
6284
|
"flex size-8 items-center justify-center rounded-md bg-ai-surface text-ai-accent",
|
|
6285
6285
|
classNames?.askChip
|
|
6286
6286
|
),
|
|
@@ -6311,7 +6311,7 @@ function CommandPalette({
|
|
|
6311
6311
|
}
|
|
6312
6312
|
),
|
|
6313
6313
|
task.isDone && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "mt-3 flex justify-end", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
6314
|
-
|
|
6314
|
+
chunk5DV7FW6T_cjs.Button,
|
|
6315
6315
|
{
|
|
6316
6316
|
variant: "outline",
|
|
6317
6317
|
size: "sm",
|
|
@@ -6329,7 +6329,7 @@ function CommandPalette({
|
|
|
6329
6329
|
{
|
|
6330
6330
|
type: "button",
|
|
6331
6331
|
onClick: () => go(item.to),
|
|
6332
|
-
className:
|
|
6332
|
+
className: chunk5DV7FW6T_cjs.cn(
|
|
6333
6333
|
"flex w-full items-center gap-3 rounded-lg px-3 py-2 text-left hover:bg-accent",
|
|
6334
6334
|
classNames?.navItem
|
|
6335
6335
|
),
|
|
@@ -6428,23 +6428,23 @@ function UserMenu({
|
|
|
6428
6428
|
testId = "user-menu",
|
|
6429
6429
|
logoutTestId
|
|
6430
6430
|
}) {
|
|
6431
|
-
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
6432
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
6431
|
+
return /* @__PURE__ */ jsxRuntime.jsxs(chunk5DV7FW6T_cjs.DropdownMenu, { children: [
|
|
6432
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunk5DV7FW6T_cjs.DropdownMenuTrigger, { asChild: true, children: /* @__PURE__ */ jsxRuntime.jsxs(
|
|
6433
6433
|
"button",
|
|
6434
6434
|
{
|
|
6435
|
-
className:
|
|
6435
|
+
className: chunk5DV7FW6T_cjs.cn(
|
|
6436
6436
|
"flex items-center gap-2 rounded-md px-1.5 py-1 transition-colors hover:bg-accent",
|
|
6437
6437
|
classNames?.trigger
|
|
6438
6438
|
),
|
|
6439
6439
|
"data-testid": testId,
|
|
6440
6440
|
children: [
|
|
6441
6441
|
/* @__PURE__ */ jsxRuntime.jsxs("span", { className: "relative", children: [
|
|
6442
|
-
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
6443
|
-
user.picture ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
6442
|
+
/* @__PURE__ */ jsxRuntime.jsxs(chunk5DV7FW6T_cjs.Avatar, { className: "size-8", children: [
|
|
6443
|
+
user.picture ? /* @__PURE__ */ jsxRuntime.jsx(chunk5DV7FW6T_cjs.AvatarImage, { src: user.picture, alt: user.name }) : null,
|
|
6444
6444
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
6445
|
-
|
|
6445
|
+
chunk5DV7FW6T_cjs.AvatarFallback,
|
|
6446
6446
|
{
|
|
6447
|
-
className:
|
|
6447
|
+
className: chunk5DV7FW6T_cjs.cn("bg-primary text-primary-foreground", classNames?.fallback),
|
|
6448
6448
|
children: nameInitials(user.name)
|
|
6449
6449
|
}
|
|
6450
6450
|
)
|
|
@@ -6452,7 +6452,7 @@ function UserMenu({
|
|
|
6452
6452
|
status && /* @__PURE__ */ jsxRuntime.jsx(
|
|
6453
6453
|
"span",
|
|
6454
6454
|
{
|
|
6455
|
-
className:
|
|
6455
|
+
className: chunk5DV7FW6T_cjs.cn(
|
|
6456
6456
|
"absolute -bottom-0.5 -right-0.5 size-2.5 rounded-full border-2 border-background",
|
|
6457
6457
|
STATUS_DOT[status.tone]
|
|
6458
6458
|
),
|
|
@@ -6466,14 +6466,14 @@ function UserMenu({
|
|
|
6466
6466
|
}
|
|
6467
6467
|
) }),
|
|
6468
6468
|
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
6469
|
-
|
|
6469
|
+
chunk5DV7FW6T_cjs.DropdownMenuContent,
|
|
6470
6470
|
{
|
|
6471
6471
|
align,
|
|
6472
6472
|
sideOffset: 8,
|
|
6473
6473
|
collisionPadding: 12,
|
|
6474
6474
|
className: "w-56 rounded-lg border-border/60 shadow-lg",
|
|
6475
6475
|
children: [
|
|
6476
|
-
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
6476
|
+
/* @__PURE__ */ jsxRuntime.jsxs(chunk5DV7FW6T_cjs.DropdownMenuLabel, { children: [
|
|
6477
6477
|
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "font-medium text-foreground", children: user.name }),
|
|
6478
6478
|
user.email && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "text-xs font-normal text-muted-foreground", children: user.email }),
|
|
6479
6479
|
status && /* @__PURE__ */ jsxRuntime.jsxs(
|
|
@@ -6483,7 +6483,7 @@ function UserMenu({
|
|
|
6483
6483
|
"data-testid": status.testId,
|
|
6484
6484
|
children: [
|
|
6485
6485
|
/* @__PURE__ */ jsxRuntime.jsxs("span", { className: "flex items-center gap-1.5", children: [
|
|
6486
|
-
/* @__PURE__ */ jsxRuntime.jsx("span", { className:
|
|
6486
|
+
/* @__PURE__ */ jsxRuntime.jsx("span", { className: chunk5DV7FW6T_cjs.cn("size-2 shrink-0 rounded-full", STATUS_DOT[status.tone]) }),
|
|
6487
6487
|
status.label
|
|
6488
6488
|
] }),
|
|
6489
6489
|
status.detail && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "mt-0.5 truncate pl-3.5 text-[10px] leading-tight text-muted-foreground/70", children: status.detail })
|
|
@@ -6491,12 +6491,12 @@ function UserMenu({
|
|
|
6491
6491
|
}
|
|
6492
6492
|
)
|
|
6493
6493
|
] }),
|
|
6494
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
6495
|
-
items.map((item) => /* @__PURE__ */ jsxRuntime.jsxs(
|
|
6494
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunk5DV7FW6T_cjs.DropdownMenuSeparator, {}),
|
|
6495
|
+
items.map((item) => /* @__PURE__ */ jsxRuntime.jsxs(chunk5DV7FW6T_cjs.DropdownMenuItem, { onClick: item.onSelect, "data-testid": item.testId, children: [
|
|
6496
6496
|
item.icon && /* @__PURE__ */ jsxRuntime.jsx(item.icon, { className: "size-4" }),
|
|
6497
6497
|
item.label
|
|
6498
6498
|
] }, item.label)),
|
|
6499
|
-
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
6499
|
+
/* @__PURE__ */ jsxRuntime.jsxs(chunk5DV7FW6T_cjs.DropdownMenuItem, { onClick: onLogout, "data-testid": logoutTestId ?? `${testId}-logout`, children: [
|
|
6500
6500
|
/* @__PURE__ */ jsxRuntime.jsx(lucideReact.LogOut, { className: "size-4" }),
|
|
6501
6501
|
logoutLabel
|
|
6502
6502
|
] })
|
|
@@ -6631,7 +6631,7 @@ function DocumentTable({
|
|
|
6631
6631
|
cellRenderer: (p) => {
|
|
6632
6632
|
const status = p.data?.status;
|
|
6633
6633
|
if (!status) return null;
|
|
6634
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
6634
|
+
return /* @__PURE__ */ jsxRuntime.jsx(chunk5DV7FW6T_cjs.Badge, { variant: STATUS_VARIANTS[status.toLowerCase()] ?? "secondary", children: status });
|
|
6635
6635
|
}
|
|
6636
6636
|
},
|
|
6637
6637
|
{
|
|
@@ -6846,7 +6846,7 @@ function DocumentCard({
|
|
|
6846
6846
|
"div",
|
|
6847
6847
|
{
|
|
6848
6848
|
"data-testid": testId,
|
|
6849
|
-
className:
|
|
6849
|
+
className: chunk5DV7FW6T_cjs.cn(
|
|
6850
6850
|
// Square corners and a portrait-page aspect (height = 1.3 × width), so a
|
|
6851
6851
|
// cover-page thumbnail reads edge-to-edge.
|
|
6852
6852
|
"group relative aspect-[10/13] select-none overflow-hidden border bg-muted/20 transition",
|
|
@@ -6863,7 +6863,7 @@ function DocumentCard({
|
|
|
6863
6863
|
draggable: false,
|
|
6864
6864
|
onError: () => setThumbFailed(true),
|
|
6865
6865
|
onLoad: (e) => setThumbLandscape(e.currentTarget.naturalWidth > e.currentTarget.naturalHeight),
|
|
6866
|
-
className:
|
|
6866
|
+
className: chunk5DV7FW6T_cjs.cn(
|
|
6867
6867
|
"absolute inset-0 size-full bg-white",
|
|
6868
6868
|
thumbLandscape ? "object-contain" : "object-cover object-top"
|
|
6869
6869
|
)
|
|
@@ -6881,14 +6881,14 @@ function DocumentCard({
|
|
|
6881
6881
|
}
|
|
6882
6882
|
),
|
|
6883
6883
|
onToggleSelect && /* @__PURE__ */ jsxRuntime.jsx(
|
|
6884
|
-
|
|
6884
|
+
chunk5DV7FW6T_cjs.Checkbox,
|
|
6885
6885
|
{
|
|
6886
6886
|
checked: selected,
|
|
6887
6887
|
onCheckedChange: () => onToggleSelect(),
|
|
6888
6888
|
onClick: (e) => e.stopPropagation(),
|
|
6889
6889
|
"aria-label": selected ? "Deselect" : "Select",
|
|
6890
6890
|
"data-testid": `${testId}-select`,
|
|
6891
|
-
className:
|
|
6891
|
+
className: chunk5DV7FW6T_cjs.cn(
|
|
6892
6892
|
"absolute left-1.5 top-1.5 z-20 size-6 rounded-none border-muted-foreground/60 bg-background shadow-sm transition",
|
|
6893
6893
|
selected ? "opacity-100" : "opacity-40 group-hover:opacity-100"
|
|
6894
6894
|
)
|
|
@@ -6964,8 +6964,8 @@ function DocumentCardMenu({
|
|
|
6964
6964
|
mutationFn: () => arbi.documents.delete([docId]),
|
|
6965
6965
|
onSuccess: invalidateDocuments
|
|
6966
6966
|
});
|
|
6967
|
-
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
6968
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
6967
|
+
return /* @__PURE__ */ jsxRuntime.jsxs(chunk5DV7FW6T_cjs.DropdownMenu, { children: [
|
|
6968
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunk5DV7FW6T_cjs.DropdownMenuTrigger, { asChild: true, children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
6969
6969
|
"button",
|
|
6970
6970
|
{
|
|
6971
6971
|
type: "button",
|
|
@@ -6976,17 +6976,17 @@ function DocumentCardMenu({
|
|
|
6976
6976
|
children: /* @__PURE__ */ jsxRuntime.jsx(lucideReact.MoreHorizontal, { className: "size-4" })
|
|
6977
6977
|
}
|
|
6978
6978
|
) }),
|
|
6979
|
-
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
6980
|
-
onOpen && /* @__PURE__ */ jsxRuntime.jsxs(
|
|
6979
|
+
/* @__PURE__ */ jsxRuntime.jsxs(chunk5DV7FW6T_cjs.DropdownMenuContent, { align: "start", onClick: (e) => e.stopPropagation(), className: "w-44", children: [
|
|
6980
|
+
onOpen && /* @__PURE__ */ jsxRuntime.jsxs(chunk5DV7FW6T_cjs.DropdownMenuItem, { onSelect: onOpen, "data-testid": `${testId}-open`, children: [
|
|
6981
6981
|
/* @__PURE__ */ jsxRuntime.jsx(lucideReact.SquarePen, { className: "mr-2 size-4" }),
|
|
6982
6982
|
"Open"
|
|
6983
6983
|
] }),
|
|
6984
|
-
onRename && /* @__PURE__ */ jsxRuntime.jsxs(
|
|
6984
|
+
onRename && /* @__PURE__ */ jsxRuntime.jsxs(chunk5DV7FW6T_cjs.DropdownMenuItem, { onSelect: onRename, "data-testid": `${testId}-rename`, children: [
|
|
6985
6985
|
/* @__PURE__ */ jsxRuntime.jsx(lucideReact.Pencil, { className: "mr-2 size-4" }),
|
|
6986
6986
|
"Rename"
|
|
6987
6987
|
] }),
|
|
6988
6988
|
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
6989
|
-
|
|
6989
|
+
chunk5DV7FW6T_cjs.DropdownMenuItem,
|
|
6990
6990
|
{
|
|
6991
6991
|
onSelect: () => download.mutate(),
|
|
6992
6992
|
disabled: download.isPending,
|
|
@@ -6998,9 +6998,9 @@ function DocumentCardMenu({
|
|
|
6998
6998
|
}
|
|
6999
6999
|
),
|
|
7000
7000
|
canDelete && /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
7001
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
7001
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunk5DV7FW6T_cjs.DropdownMenuSeparator, {}),
|
|
7002
7002
|
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
7003
|
-
|
|
7003
|
+
chunk5DV7FW6T_cjs.DropdownMenuItem,
|
|
7004
7004
|
{
|
|
7005
7005
|
onSelect: () => remove.mutate(),
|
|
7006
7006
|
disabled: remove.isPending,
|
|
@@ -7100,7 +7100,7 @@ function DocumentGallery({
|
|
|
7100
7100
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
7101
7101
|
"div",
|
|
7102
7102
|
{
|
|
7103
|
-
className:
|
|
7103
|
+
className: chunk5DV7FW6T_cjs.cn(
|
|
7104
7104
|
"flex items-center justify-center p-8 text-sm text-muted-foreground",
|
|
7105
7105
|
className
|
|
7106
7106
|
),
|
|
@@ -7112,7 +7112,7 @@ function DocumentGallery({
|
|
|
7112
7112
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
7113
7113
|
"div",
|
|
7114
7114
|
{
|
|
7115
|
-
className:
|
|
7115
|
+
className: chunk5DV7FW6T_cjs.cn(
|
|
7116
7116
|
"flex items-center justify-center p-8 text-sm text-muted-foreground",
|
|
7117
7117
|
className
|
|
7118
7118
|
),
|
|
@@ -7124,7 +7124,7 @@ function DocumentGallery({
|
|
|
7124
7124
|
"div",
|
|
7125
7125
|
{
|
|
7126
7126
|
"data-testid": "document-gallery",
|
|
7127
|
-
className:
|
|
7127
|
+
className: chunk5DV7FW6T_cjs.cn("grid gap-3", className),
|
|
7128
7128
|
style: { gridTemplateColumns: `repeat(auto-fill, minmax(${minTileWidth}px, 1fr))` },
|
|
7129
7129
|
children: rows.map((doc) => {
|
|
7130
7130
|
const id = doc.external_id;
|
|
@@ -7166,427 +7166,427 @@ function DocumentGallery({
|
|
|
7166
7166
|
|
|
7167
7167
|
Object.defineProperty(exports, "AiMarkdown", {
|
|
7168
7168
|
enumerable: true,
|
|
7169
|
-
get: function () { return
|
|
7169
|
+
get: function () { return chunk5DV7FW6T_cjs.AiMarkdown; }
|
|
7170
7170
|
});
|
|
7171
7171
|
Object.defineProperty(exports, "Avatar", {
|
|
7172
7172
|
enumerable: true,
|
|
7173
|
-
get: function () { return
|
|
7173
|
+
get: function () { return chunk5DV7FW6T_cjs.Avatar; }
|
|
7174
7174
|
});
|
|
7175
7175
|
Object.defineProperty(exports, "AvatarFallback", {
|
|
7176
7176
|
enumerable: true,
|
|
7177
|
-
get: function () { return
|
|
7177
|
+
get: function () { return chunk5DV7FW6T_cjs.AvatarFallback; }
|
|
7178
7178
|
});
|
|
7179
7179
|
Object.defineProperty(exports, "AvatarImage", {
|
|
7180
7180
|
enumerable: true,
|
|
7181
|
-
get: function () { return
|
|
7181
|
+
get: function () { return chunk5DV7FW6T_cjs.AvatarImage; }
|
|
7182
7182
|
});
|
|
7183
7183
|
Object.defineProperty(exports, "Badge", {
|
|
7184
7184
|
enumerable: true,
|
|
7185
|
-
get: function () { return
|
|
7185
|
+
get: function () { return chunk5DV7FW6T_cjs.Badge; }
|
|
7186
7186
|
});
|
|
7187
7187
|
Object.defineProperty(exports, "Button", {
|
|
7188
7188
|
enumerable: true,
|
|
7189
|
-
get: function () { return
|
|
7189
|
+
get: function () { return chunk5DV7FW6T_cjs.Button; }
|
|
7190
7190
|
});
|
|
7191
7191
|
Object.defineProperty(exports, "Card", {
|
|
7192
7192
|
enumerable: true,
|
|
7193
|
-
get: function () { return
|
|
7193
|
+
get: function () { return chunk5DV7FW6T_cjs.Card; }
|
|
7194
7194
|
});
|
|
7195
7195
|
Object.defineProperty(exports, "CardContent", {
|
|
7196
7196
|
enumerable: true,
|
|
7197
|
-
get: function () { return
|
|
7197
|
+
get: function () { return chunk5DV7FW6T_cjs.CardContent; }
|
|
7198
7198
|
});
|
|
7199
7199
|
Object.defineProperty(exports, "CardDescription", {
|
|
7200
7200
|
enumerable: true,
|
|
7201
|
-
get: function () { return
|
|
7201
|
+
get: function () { return chunk5DV7FW6T_cjs.CardDescription; }
|
|
7202
7202
|
});
|
|
7203
7203
|
Object.defineProperty(exports, "CardFooter", {
|
|
7204
7204
|
enumerable: true,
|
|
7205
|
-
get: function () { return
|
|
7205
|
+
get: function () { return chunk5DV7FW6T_cjs.CardFooter; }
|
|
7206
7206
|
});
|
|
7207
7207
|
Object.defineProperty(exports, "CardHeader", {
|
|
7208
7208
|
enumerable: true,
|
|
7209
|
-
get: function () { return
|
|
7209
|
+
get: function () { return chunk5DV7FW6T_cjs.CardHeader; }
|
|
7210
7210
|
});
|
|
7211
7211
|
Object.defineProperty(exports, "CardTitle", {
|
|
7212
7212
|
enumerable: true,
|
|
7213
|
-
get: function () { return
|
|
7213
|
+
get: function () { return chunk5DV7FW6T_cjs.CardTitle; }
|
|
7214
7214
|
});
|
|
7215
7215
|
Object.defineProperty(exports, "Checkbox", {
|
|
7216
7216
|
enumerable: true,
|
|
7217
|
-
get: function () { return
|
|
7217
|
+
get: function () { return chunk5DV7FW6T_cjs.Checkbox; }
|
|
7218
7218
|
});
|
|
7219
7219
|
Object.defineProperty(exports, "Collapsible", {
|
|
7220
7220
|
enumerable: true,
|
|
7221
|
-
get: function () { return
|
|
7221
|
+
get: function () { return chunk5DV7FW6T_cjs.Collapsible; }
|
|
7222
7222
|
});
|
|
7223
7223
|
Object.defineProperty(exports, "CollapsibleContent", {
|
|
7224
7224
|
enumerable: true,
|
|
7225
|
-
get: function () { return
|
|
7225
|
+
get: function () { return chunk5DV7FW6T_cjs.CollapsibleContent; }
|
|
7226
7226
|
});
|
|
7227
7227
|
Object.defineProperty(exports, "CollapsibleTrigger", {
|
|
7228
7228
|
enumerable: true,
|
|
7229
|
-
get: function () { return
|
|
7229
|
+
get: function () { return chunk5DV7FW6T_cjs.CollapsibleTrigger; }
|
|
7230
7230
|
});
|
|
7231
7231
|
Object.defineProperty(exports, "Command", {
|
|
7232
7232
|
enumerable: true,
|
|
7233
|
-
get: function () { return
|
|
7233
|
+
get: function () { return chunk5DV7FW6T_cjs.Command; }
|
|
7234
7234
|
});
|
|
7235
7235
|
Object.defineProperty(exports, "CommandDialog", {
|
|
7236
7236
|
enumerable: true,
|
|
7237
|
-
get: function () { return
|
|
7237
|
+
get: function () { return chunk5DV7FW6T_cjs.CommandDialog; }
|
|
7238
7238
|
});
|
|
7239
7239
|
Object.defineProperty(exports, "CommandEmpty", {
|
|
7240
7240
|
enumerable: true,
|
|
7241
|
-
get: function () { return
|
|
7241
|
+
get: function () { return chunk5DV7FW6T_cjs.CommandEmpty; }
|
|
7242
7242
|
});
|
|
7243
7243
|
Object.defineProperty(exports, "CommandGroup", {
|
|
7244
7244
|
enumerable: true,
|
|
7245
|
-
get: function () { return
|
|
7245
|
+
get: function () { return chunk5DV7FW6T_cjs.CommandGroup; }
|
|
7246
7246
|
});
|
|
7247
7247
|
Object.defineProperty(exports, "CommandInput", {
|
|
7248
7248
|
enumerable: true,
|
|
7249
|
-
get: function () { return
|
|
7249
|
+
get: function () { return chunk5DV7FW6T_cjs.CommandInput; }
|
|
7250
7250
|
});
|
|
7251
7251
|
Object.defineProperty(exports, "CommandItem", {
|
|
7252
7252
|
enumerable: true,
|
|
7253
|
-
get: function () { return
|
|
7253
|
+
get: function () { return chunk5DV7FW6T_cjs.CommandItem; }
|
|
7254
7254
|
});
|
|
7255
7255
|
Object.defineProperty(exports, "CommandList", {
|
|
7256
7256
|
enumerable: true,
|
|
7257
|
-
get: function () { return
|
|
7257
|
+
get: function () { return chunk5DV7FW6T_cjs.CommandList; }
|
|
7258
7258
|
});
|
|
7259
7259
|
Object.defineProperty(exports, "CommandSeparator", {
|
|
7260
7260
|
enumerable: true,
|
|
7261
|
-
get: function () { return
|
|
7261
|
+
get: function () { return chunk5DV7FW6T_cjs.CommandSeparator; }
|
|
7262
7262
|
});
|
|
7263
7263
|
Object.defineProperty(exports, "CommandShortcut", {
|
|
7264
7264
|
enumerable: true,
|
|
7265
|
-
get: function () { return
|
|
7265
|
+
get: function () { return chunk5DV7FW6T_cjs.CommandShortcut; }
|
|
7266
7266
|
});
|
|
7267
7267
|
Object.defineProperty(exports, "Dialog", {
|
|
7268
7268
|
enumerable: true,
|
|
7269
|
-
get: function () { return
|
|
7269
|
+
get: function () { return chunk5DV7FW6T_cjs.Dialog; }
|
|
7270
7270
|
});
|
|
7271
7271
|
Object.defineProperty(exports, "DialogClose", {
|
|
7272
7272
|
enumerable: true,
|
|
7273
|
-
get: function () { return
|
|
7273
|
+
get: function () { return chunk5DV7FW6T_cjs.DialogClose; }
|
|
7274
7274
|
});
|
|
7275
7275
|
Object.defineProperty(exports, "DialogContent", {
|
|
7276
7276
|
enumerable: true,
|
|
7277
|
-
get: function () { return
|
|
7277
|
+
get: function () { return chunk5DV7FW6T_cjs.DialogContent; }
|
|
7278
7278
|
});
|
|
7279
7279
|
Object.defineProperty(exports, "DialogDescription", {
|
|
7280
7280
|
enumerable: true,
|
|
7281
|
-
get: function () { return
|
|
7281
|
+
get: function () { return chunk5DV7FW6T_cjs.DialogDescription; }
|
|
7282
7282
|
});
|
|
7283
7283
|
Object.defineProperty(exports, "DialogFooter", {
|
|
7284
7284
|
enumerable: true,
|
|
7285
|
-
get: function () { return
|
|
7285
|
+
get: function () { return chunk5DV7FW6T_cjs.DialogFooter; }
|
|
7286
7286
|
});
|
|
7287
7287
|
Object.defineProperty(exports, "DialogHeader", {
|
|
7288
7288
|
enumerable: true,
|
|
7289
|
-
get: function () { return
|
|
7289
|
+
get: function () { return chunk5DV7FW6T_cjs.DialogHeader; }
|
|
7290
7290
|
});
|
|
7291
7291
|
Object.defineProperty(exports, "DialogOverlay", {
|
|
7292
7292
|
enumerable: true,
|
|
7293
|
-
get: function () { return
|
|
7293
|
+
get: function () { return chunk5DV7FW6T_cjs.DialogOverlay; }
|
|
7294
7294
|
});
|
|
7295
7295
|
Object.defineProperty(exports, "DialogPortal", {
|
|
7296
7296
|
enumerable: true,
|
|
7297
|
-
get: function () { return
|
|
7297
|
+
get: function () { return chunk5DV7FW6T_cjs.DialogPortal; }
|
|
7298
7298
|
});
|
|
7299
7299
|
Object.defineProperty(exports, "DialogTitle", {
|
|
7300
7300
|
enumerable: true,
|
|
7301
|
-
get: function () { return
|
|
7301
|
+
get: function () { return chunk5DV7FW6T_cjs.DialogTitle; }
|
|
7302
7302
|
});
|
|
7303
7303
|
Object.defineProperty(exports, "DialogTrigger", {
|
|
7304
7304
|
enumerable: true,
|
|
7305
|
-
get: function () { return
|
|
7305
|
+
get: function () { return chunk5DV7FW6T_cjs.DialogTrigger; }
|
|
7306
7306
|
});
|
|
7307
7307
|
Object.defineProperty(exports, "DropdownMenu", {
|
|
7308
7308
|
enumerable: true,
|
|
7309
|
-
get: function () { return
|
|
7309
|
+
get: function () { return chunk5DV7FW6T_cjs.DropdownMenu; }
|
|
7310
7310
|
});
|
|
7311
7311
|
Object.defineProperty(exports, "DropdownMenuCheckboxItem", {
|
|
7312
7312
|
enumerable: true,
|
|
7313
|
-
get: function () { return
|
|
7313
|
+
get: function () { return chunk5DV7FW6T_cjs.DropdownMenuCheckboxItem; }
|
|
7314
7314
|
});
|
|
7315
7315
|
Object.defineProperty(exports, "DropdownMenuContent", {
|
|
7316
7316
|
enumerable: true,
|
|
7317
|
-
get: function () { return
|
|
7317
|
+
get: function () { return chunk5DV7FW6T_cjs.DropdownMenuContent; }
|
|
7318
7318
|
});
|
|
7319
7319
|
Object.defineProperty(exports, "DropdownMenuGroup", {
|
|
7320
7320
|
enumerable: true,
|
|
7321
|
-
get: function () { return
|
|
7321
|
+
get: function () { return chunk5DV7FW6T_cjs.DropdownMenuGroup; }
|
|
7322
7322
|
});
|
|
7323
7323
|
Object.defineProperty(exports, "DropdownMenuItem", {
|
|
7324
7324
|
enumerable: true,
|
|
7325
|
-
get: function () { return
|
|
7325
|
+
get: function () { return chunk5DV7FW6T_cjs.DropdownMenuItem; }
|
|
7326
7326
|
});
|
|
7327
7327
|
Object.defineProperty(exports, "DropdownMenuLabel", {
|
|
7328
7328
|
enumerable: true,
|
|
7329
|
-
get: function () { return
|
|
7329
|
+
get: function () { return chunk5DV7FW6T_cjs.DropdownMenuLabel; }
|
|
7330
7330
|
});
|
|
7331
7331
|
Object.defineProperty(exports, "DropdownMenuPortal", {
|
|
7332
7332
|
enumerable: true,
|
|
7333
|
-
get: function () { return
|
|
7333
|
+
get: function () { return chunk5DV7FW6T_cjs.DropdownMenuPortal; }
|
|
7334
7334
|
});
|
|
7335
7335
|
Object.defineProperty(exports, "DropdownMenuRadioGroup", {
|
|
7336
7336
|
enumerable: true,
|
|
7337
|
-
get: function () { return
|
|
7337
|
+
get: function () { return chunk5DV7FW6T_cjs.DropdownMenuRadioGroup; }
|
|
7338
7338
|
});
|
|
7339
7339
|
Object.defineProperty(exports, "DropdownMenuRadioItem", {
|
|
7340
7340
|
enumerable: true,
|
|
7341
|
-
get: function () { return
|
|
7341
|
+
get: function () { return chunk5DV7FW6T_cjs.DropdownMenuRadioItem; }
|
|
7342
7342
|
});
|
|
7343
7343
|
Object.defineProperty(exports, "DropdownMenuSeparator", {
|
|
7344
7344
|
enumerable: true,
|
|
7345
|
-
get: function () { return
|
|
7345
|
+
get: function () { return chunk5DV7FW6T_cjs.DropdownMenuSeparator; }
|
|
7346
7346
|
});
|
|
7347
7347
|
Object.defineProperty(exports, "DropdownMenuShortcut", {
|
|
7348
7348
|
enumerable: true,
|
|
7349
|
-
get: function () { return
|
|
7349
|
+
get: function () { return chunk5DV7FW6T_cjs.DropdownMenuShortcut; }
|
|
7350
7350
|
});
|
|
7351
7351
|
Object.defineProperty(exports, "DropdownMenuSub", {
|
|
7352
7352
|
enumerable: true,
|
|
7353
|
-
get: function () { return
|
|
7353
|
+
get: function () { return chunk5DV7FW6T_cjs.DropdownMenuSub; }
|
|
7354
7354
|
});
|
|
7355
7355
|
Object.defineProperty(exports, "DropdownMenuSubContent", {
|
|
7356
7356
|
enumerable: true,
|
|
7357
|
-
get: function () { return
|
|
7357
|
+
get: function () { return chunk5DV7FW6T_cjs.DropdownMenuSubContent; }
|
|
7358
7358
|
});
|
|
7359
7359
|
Object.defineProperty(exports, "DropdownMenuSubTrigger", {
|
|
7360
7360
|
enumerable: true,
|
|
7361
|
-
get: function () { return
|
|
7361
|
+
get: function () { return chunk5DV7FW6T_cjs.DropdownMenuSubTrigger; }
|
|
7362
7362
|
});
|
|
7363
7363
|
Object.defineProperty(exports, "DropdownMenuTrigger", {
|
|
7364
7364
|
enumerable: true,
|
|
7365
|
-
get: function () { return
|
|
7365
|
+
get: function () { return chunk5DV7FW6T_cjs.DropdownMenuTrigger; }
|
|
7366
7366
|
});
|
|
7367
7367
|
Object.defineProperty(exports, "HoverCard", {
|
|
7368
7368
|
enumerable: true,
|
|
7369
|
-
get: function () { return
|
|
7369
|
+
get: function () { return chunk5DV7FW6T_cjs.HoverCard; }
|
|
7370
7370
|
});
|
|
7371
7371
|
Object.defineProperty(exports, "HoverCardContent", {
|
|
7372
7372
|
enumerable: true,
|
|
7373
|
-
get: function () { return
|
|
7373
|
+
get: function () { return chunk5DV7FW6T_cjs.HoverCardContent; }
|
|
7374
7374
|
});
|
|
7375
7375
|
Object.defineProperty(exports, "HoverCardTrigger", {
|
|
7376
7376
|
enumerable: true,
|
|
7377
|
-
get: function () { return
|
|
7377
|
+
get: function () { return chunk5DV7FW6T_cjs.HoverCardTrigger; }
|
|
7378
7378
|
});
|
|
7379
7379
|
Object.defineProperty(exports, "Input", {
|
|
7380
7380
|
enumerable: true,
|
|
7381
|
-
get: function () { return
|
|
7381
|
+
get: function () { return chunk5DV7FW6T_cjs.Input; }
|
|
7382
7382
|
});
|
|
7383
7383
|
Object.defineProperty(exports, "Label", {
|
|
7384
7384
|
enumerable: true,
|
|
7385
|
-
get: function () { return
|
|
7385
|
+
get: function () { return chunk5DV7FW6T_cjs.Label; }
|
|
7386
7386
|
});
|
|
7387
7387
|
Object.defineProperty(exports, "MarkdownRenderer", {
|
|
7388
7388
|
enumerable: true,
|
|
7389
|
-
get: function () { return
|
|
7389
|
+
get: function () { return chunk5DV7FW6T_cjs.MarkdownRenderer; }
|
|
7390
7390
|
});
|
|
7391
7391
|
Object.defineProperty(exports, "MarkdownStreamingContext", {
|
|
7392
7392
|
enumerable: true,
|
|
7393
|
-
get: function () { return
|
|
7393
|
+
get: function () { return chunk5DV7FW6T_cjs.MarkdownStreamingContext; }
|
|
7394
7394
|
});
|
|
7395
7395
|
Object.defineProperty(exports, "Popover", {
|
|
7396
7396
|
enumerable: true,
|
|
7397
|
-
get: function () { return
|
|
7397
|
+
get: function () { return chunk5DV7FW6T_cjs.Popover; }
|
|
7398
7398
|
});
|
|
7399
7399
|
Object.defineProperty(exports, "PopoverAnchor", {
|
|
7400
7400
|
enumerable: true,
|
|
7401
|
-
get: function () { return
|
|
7401
|
+
get: function () { return chunk5DV7FW6T_cjs.PopoverAnchor; }
|
|
7402
7402
|
});
|
|
7403
7403
|
Object.defineProperty(exports, "PopoverContent", {
|
|
7404
7404
|
enumerable: true,
|
|
7405
|
-
get: function () { return
|
|
7405
|
+
get: function () { return chunk5DV7FW6T_cjs.PopoverContent; }
|
|
7406
7406
|
});
|
|
7407
7407
|
Object.defineProperty(exports, "PopoverTrigger", {
|
|
7408
7408
|
enumerable: true,
|
|
7409
|
-
get: function () { return
|
|
7409
|
+
get: function () { return chunk5DV7FW6T_cjs.PopoverTrigger; }
|
|
7410
7410
|
});
|
|
7411
7411
|
Object.defineProperty(exports, "Progress", {
|
|
7412
7412
|
enumerable: true,
|
|
7413
|
-
get: function () { return
|
|
7413
|
+
get: function () { return chunk5DV7FW6T_cjs.Progress; }
|
|
7414
7414
|
});
|
|
7415
7415
|
Object.defineProperty(exports, "RadioGroup", {
|
|
7416
7416
|
enumerable: true,
|
|
7417
|
-
get: function () { return
|
|
7417
|
+
get: function () { return chunk5DV7FW6T_cjs.RadioGroup; }
|
|
7418
7418
|
});
|
|
7419
7419
|
Object.defineProperty(exports, "RadioGroupItem", {
|
|
7420
7420
|
enumerable: true,
|
|
7421
|
-
get: function () { return
|
|
7421
|
+
get: function () { return chunk5DV7FW6T_cjs.RadioGroupItem; }
|
|
7422
7422
|
});
|
|
7423
7423
|
Object.defineProperty(exports, "ScrollArea", {
|
|
7424
7424
|
enumerable: true,
|
|
7425
|
-
get: function () { return
|
|
7425
|
+
get: function () { return chunk5DV7FW6T_cjs.ScrollArea; }
|
|
7426
7426
|
});
|
|
7427
7427
|
Object.defineProperty(exports, "ScrollBar", {
|
|
7428
7428
|
enumerable: true,
|
|
7429
|
-
get: function () { return
|
|
7429
|
+
get: function () { return chunk5DV7FW6T_cjs.ScrollBar; }
|
|
7430
7430
|
});
|
|
7431
7431
|
Object.defineProperty(exports, "Select", {
|
|
7432
7432
|
enumerable: true,
|
|
7433
|
-
get: function () { return
|
|
7433
|
+
get: function () { return chunk5DV7FW6T_cjs.Select; }
|
|
7434
7434
|
});
|
|
7435
7435
|
Object.defineProperty(exports, "SelectContent", {
|
|
7436
7436
|
enumerable: true,
|
|
7437
|
-
get: function () { return
|
|
7437
|
+
get: function () { return chunk5DV7FW6T_cjs.SelectContent; }
|
|
7438
7438
|
});
|
|
7439
7439
|
Object.defineProperty(exports, "SelectGroup", {
|
|
7440
7440
|
enumerable: true,
|
|
7441
|
-
get: function () { return
|
|
7441
|
+
get: function () { return chunk5DV7FW6T_cjs.SelectGroup; }
|
|
7442
7442
|
});
|
|
7443
7443
|
Object.defineProperty(exports, "SelectItem", {
|
|
7444
7444
|
enumerable: true,
|
|
7445
|
-
get: function () { return
|
|
7445
|
+
get: function () { return chunk5DV7FW6T_cjs.SelectItem; }
|
|
7446
7446
|
});
|
|
7447
7447
|
Object.defineProperty(exports, "SelectLabel", {
|
|
7448
7448
|
enumerable: true,
|
|
7449
|
-
get: function () { return
|
|
7449
|
+
get: function () { return chunk5DV7FW6T_cjs.SelectLabel; }
|
|
7450
7450
|
});
|
|
7451
7451
|
Object.defineProperty(exports, "SelectScrollDownButton", {
|
|
7452
7452
|
enumerable: true,
|
|
7453
|
-
get: function () { return
|
|
7453
|
+
get: function () { return chunk5DV7FW6T_cjs.SelectScrollDownButton; }
|
|
7454
7454
|
});
|
|
7455
7455
|
Object.defineProperty(exports, "SelectScrollUpButton", {
|
|
7456
7456
|
enumerable: true,
|
|
7457
|
-
get: function () { return
|
|
7457
|
+
get: function () { return chunk5DV7FW6T_cjs.SelectScrollUpButton; }
|
|
7458
7458
|
});
|
|
7459
7459
|
Object.defineProperty(exports, "SelectSeparator", {
|
|
7460
7460
|
enumerable: true,
|
|
7461
|
-
get: function () { return
|
|
7461
|
+
get: function () { return chunk5DV7FW6T_cjs.SelectSeparator; }
|
|
7462
7462
|
});
|
|
7463
7463
|
Object.defineProperty(exports, "SelectTrigger", {
|
|
7464
7464
|
enumerable: true,
|
|
7465
|
-
get: function () { return
|
|
7465
|
+
get: function () { return chunk5DV7FW6T_cjs.SelectTrigger; }
|
|
7466
7466
|
});
|
|
7467
7467
|
Object.defineProperty(exports, "SelectValue", {
|
|
7468
7468
|
enumerable: true,
|
|
7469
|
-
get: function () { return
|
|
7469
|
+
get: function () { return chunk5DV7FW6T_cjs.SelectValue; }
|
|
7470
7470
|
});
|
|
7471
7471
|
Object.defineProperty(exports, "Separator", {
|
|
7472
7472
|
enumerable: true,
|
|
7473
|
-
get: function () { return
|
|
7473
|
+
get: function () { return chunk5DV7FW6T_cjs.Separator; }
|
|
7474
7474
|
});
|
|
7475
7475
|
Object.defineProperty(exports, "Slider", {
|
|
7476
7476
|
enumerable: true,
|
|
7477
|
-
get: function () { return
|
|
7477
|
+
get: function () { return chunk5DV7FW6T_cjs.Slider; }
|
|
7478
7478
|
});
|
|
7479
7479
|
Object.defineProperty(exports, "Switch", {
|
|
7480
7480
|
enumerable: true,
|
|
7481
|
-
get: function () { return
|
|
7481
|
+
get: function () { return chunk5DV7FW6T_cjs.Switch; }
|
|
7482
7482
|
});
|
|
7483
7483
|
Object.defineProperty(exports, "Table", {
|
|
7484
7484
|
enumerable: true,
|
|
7485
|
-
get: function () { return
|
|
7485
|
+
get: function () { return chunk5DV7FW6T_cjs.Table; }
|
|
7486
7486
|
});
|
|
7487
7487
|
Object.defineProperty(exports, "TableBody", {
|
|
7488
7488
|
enumerable: true,
|
|
7489
|
-
get: function () { return
|
|
7489
|
+
get: function () { return chunk5DV7FW6T_cjs.TableBody; }
|
|
7490
7490
|
});
|
|
7491
7491
|
Object.defineProperty(exports, "TableCaption", {
|
|
7492
7492
|
enumerable: true,
|
|
7493
|
-
get: function () { return
|
|
7493
|
+
get: function () { return chunk5DV7FW6T_cjs.TableCaption; }
|
|
7494
7494
|
});
|
|
7495
7495
|
Object.defineProperty(exports, "TableCell", {
|
|
7496
7496
|
enumerable: true,
|
|
7497
|
-
get: function () { return
|
|
7497
|
+
get: function () { return chunk5DV7FW6T_cjs.TableCell; }
|
|
7498
7498
|
});
|
|
7499
7499
|
Object.defineProperty(exports, "TableFooter", {
|
|
7500
7500
|
enumerable: true,
|
|
7501
|
-
get: function () { return
|
|
7501
|
+
get: function () { return chunk5DV7FW6T_cjs.TableFooter; }
|
|
7502
7502
|
});
|
|
7503
7503
|
Object.defineProperty(exports, "TableHead", {
|
|
7504
7504
|
enumerable: true,
|
|
7505
|
-
get: function () { return
|
|
7505
|
+
get: function () { return chunk5DV7FW6T_cjs.TableHead; }
|
|
7506
7506
|
});
|
|
7507
7507
|
Object.defineProperty(exports, "TableHeader", {
|
|
7508
7508
|
enumerable: true,
|
|
7509
|
-
get: function () { return
|
|
7509
|
+
get: function () { return chunk5DV7FW6T_cjs.TableHeader; }
|
|
7510
7510
|
});
|
|
7511
7511
|
Object.defineProperty(exports, "TableRow", {
|
|
7512
7512
|
enumerable: true,
|
|
7513
|
-
get: function () { return
|
|
7513
|
+
get: function () { return chunk5DV7FW6T_cjs.TableRow; }
|
|
7514
7514
|
});
|
|
7515
7515
|
Object.defineProperty(exports, "Tabs", {
|
|
7516
7516
|
enumerable: true,
|
|
7517
|
-
get: function () { return
|
|
7517
|
+
get: function () { return chunk5DV7FW6T_cjs.Tabs; }
|
|
7518
7518
|
});
|
|
7519
7519
|
Object.defineProperty(exports, "TabsContent", {
|
|
7520
7520
|
enumerable: true,
|
|
7521
|
-
get: function () { return
|
|
7521
|
+
get: function () { return chunk5DV7FW6T_cjs.TabsContent; }
|
|
7522
7522
|
});
|
|
7523
7523
|
Object.defineProperty(exports, "TabsList", {
|
|
7524
7524
|
enumerable: true,
|
|
7525
|
-
get: function () { return
|
|
7525
|
+
get: function () { return chunk5DV7FW6T_cjs.TabsList; }
|
|
7526
7526
|
});
|
|
7527
7527
|
Object.defineProperty(exports, "TabsTrigger", {
|
|
7528
7528
|
enumerable: true,
|
|
7529
|
-
get: function () { return
|
|
7529
|
+
get: function () { return chunk5DV7FW6T_cjs.TabsTrigger; }
|
|
7530
7530
|
});
|
|
7531
7531
|
Object.defineProperty(exports, "Textarea", {
|
|
7532
7532
|
enumerable: true,
|
|
7533
|
-
get: function () { return
|
|
7533
|
+
get: function () { return chunk5DV7FW6T_cjs.Textarea; }
|
|
7534
7534
|
});
|
|
7535
7535
|
Object.defineProperty(exports, "Toggle", {
|
|
7536
7536
|
enumerable: true,
|
|
7537
|
-
get: function () { return
|
|
7537
|
+
get: function () { return chunk5DV7FW6T_cjs.Toggle; }
|
|
7538
7538
|
});
|
|
7539
7539
|
Object.defineProperty(exports, "ToggleGroup", {
|
|
7540
7540
|
enumerable: true,
|
|
7541
|
-
get: function () { return
|
|
7541
|
+
get: function () { return chunk5DV7FW6T_cjs.ToggleGroup; }
|
|
7542
7542
|
});
|
|
7543
7543
|
Object.defineProperty(exports, "ToggleGroupItem", {
|
|
7544
7544
|
enumerable: true,
|
|
7545
|
-
get: function () { return
|
|
7545
|
+
get: function () { return chunk5DV7FW6T_cjs.ToggleGroupItem; }
|
|
7546
7546
|
});
|
|
7547
7547
|
Object.defineProperty(exports, "Tooltip", {
|
|
7548
7548
|
enumerable: true,
|
|
7549
|
-
get: function () { return
|
|
7549
|
+
get: function () { return chunk5DV7FW6T_cjs.Tooltip; }
|
|
7550
7550
|
});
|
|
7551
7551
|
Object.defineProperty(exports, "TooltipContent", {
|
|
7552
7552
|
enumerable: true,
|
|
7553
|
-
get: function () { return
|
|
7553
|
+
get: function () { return chunk5DV7FW6T_cjs.TooltipContent; }
|
|
7554
7554
|
});
|
|
7555
7555
|
Object.defineProperty(exports, "TooltipProvider", {
|
|
7556
7556
|
enumerable: true,
|
|
7557
|
-
get: function () { return
|
|
7557
|
+
get: function () { return chunk5DV7FW6T_cjs.TooltipProvider; }
|
|
7558
7558
|
});
|
|
7559
7559
|
Object.defineProperty(exports, "TooltipTrigger", {
|
|
7560
7560
|
enumerable: true,
|
|
7561
|
-
get: function () { return
|
|
7561
|
+
get: function () { return chunk5DV7FW6T_cjs.TooltipTrigger; }
|
|
7562
7562
|
});
|
|
7563
7563
|
Object.defineProperty(exports, "badgeVariants", {
|
|
7564
7564
|
enumerable: true,
|
|
7565
|
-
get: function () { return
|
|
7565
|
+
get: function () { return chunk5DV7FW6T_cjs.badgeVariants; }
|
|
7566
7566
|
});
|
|
7567
7567
|
Object.defineProperty(exports, "buttonVariants", {
|
|
7568
7568
|
enumerable: true,
|
|
7569
|
-
get: function () { return
|
|
7569
|
+
get: function () { return chunk5DV7FW6T_cjs.buttonVariants; }
|
|
7570
7570
|
});
|
|
7571
7571
|
Object.defineProperty(exports, "cardVariants", {
|
|
7572
7572
|
enumerable: true,
|
|
7573
|
-
get: function () { return
|
|
7573
|
+
get: function () { return chunk5DV7FW6T_cjs.cardVariants; }
|
|
7574
7574
|
});
|
|
7575
7575
|
Object.defineProperty(exports, "cn", {
|
|
7576
7576
|
enumerable: true,
|
|
7577
|
-
get: function () { return
|
|
7577
|
+
get: function () { return chunk5DV7FW6T_cjs.cn; }
|
|
7578
7578
|
});
|
|
7579
7579
|
Object.defineProperty(exports, "markdownBaseComponents", {
|
|
7580
7580
|
enumerable: true,
|
|
7581
|
-
get: function () { return
|
|
7581
|
+
get: function () { return chunk5DV7FW6T_cjs.markdownBaseComponents; }
|
|
7582
7582
|
});
|
|
7583
7583
|
Object.defineProperty(exports, "splitMarkdownBlocks", {
|
|
7584
7584
|
enumerable: true,
|
|
7585
|
-
get: function () { return
|
|
7585
|
+
get: function () { return chunk5DV7FW6T_cjs.splitMarkdownBlocks; }
|
|
7586
7586
|
});
|
|
7587
7587
|
Object.defineProperty(exports, "toggleVariants", {
|
|
7588
7588
|
enumerable: true,
|
|
7589
|
-
get: function () { return
|
|
7589
|
+
get: function () { return chunk5DV7FW6T_cjs.toggleVariants; }
|
|
7590
7590
|
});
|
|
7591
7591
|
Object.defineProperty(exports, "ArbiProvider", {
|
|
7592
7592
|
enumerable: true,
|