@arbidocs/react 0.4.31 → 0.4.33
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/dist/artifacts/index.cjs +16 -16
- package/dist/artifacts/index.js +3 -3
- package/dist/{chunk-G3SWUES3.js → chunk-5JGBZQD4.js} +405 -123
- package/dist/chunk-5JGBZQD4.js.map +1 -0
- package/dist/{chunk-EOOHRPFM.cjs → chunk-775VGSKN.cjs} +59 -10
- package/dist/chunk-775VGSKN.cjs.map +1 -0
- package/dist/{chunk-6YSHODMG.js → chunk-FOEYFNQ4.js} +59 -10
- package/dist/chunk-FOEYFNQ4.js.map +1 -0
- package/dist/{chunk-6BLXIF4R.cjs → chunk-PW7GGG7E.cjs} +9 -7
- package/dist/chunk-PW7GGG7E.cjs.map +1 -0
- package/dist/{chunk-OBTCAI4E.js → chunk-UDOPD3GK.js} +12 -4
- package/dist/chunk-UDOPD3GK.js.map +1 -0
- package/dist/{chunk-ULED4SBT.cjs → chunk-UFSATX3N.cjs} +412 -125
- package/dist/chunk-UFSATX3N.cjs.map +1 -0
- package/dist/{chunk-NDG44JWI.js → chunk-V3A7JDJV.js} +8 -6
- package/dist/chunk-V3A7JDJV.js.map +1 -0
- package/dist/{chunk-YSZJCWDD.cjs → chunk-Z4M7JB4L.cjs} +12 -4
- package/dist/chunk-Z4M7JB4L.cjs.map +1 -0
- package/dist/{index-CcbVSNSP.d.cts → index-C7OqcKY3.d.cts} +3 -1
- package/dist/{index-CcbVSNSP.d.ts → index-C7OqcKY3.d.ts} +3 -1
- package/dist/{index-C99tcxue.d.cts → index-CUxIcC5j.d.cts} +19 -7
- package/dist/{index-C99tcxue.d.ts → index-CUxIcC5j.d.ts} +19 -7
- package/dist/index.cjs +360 -531
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +60 -10
- package/dist/index.d.ts +60 -10
- package/dist/index.js +25 -212
- package/dist/index.js.map +1 -1
- package/dist/shell/index.cjs +6 -6
- package/dist/shell/index.d.cts +1 -1
- package/dist/shell/index.d.ts +1 -1
- package/dist/shell/index.js +1 -1
- package/dist/ui/index.cjs +134 -130
- package/dist/ui/index.d.cts +1 -1
- package/dist/ui/index.d.ts +1 -1
- package/dist/ui/index.js +2 -2
- package/package.json +3 -3
- package/dist/chunk-6BLXIF4R.cjs.map +0 -1
- package/dist/chunk-6YSHODMG.js.map +0 -1
- package/dist/chunk-EOOHRPFM.cjs.map +0 -1
- package/dist/chunk-G3SWUES3.js.map +0 -1
- package/dist/chunk-NDG44JWI.js.map +0 -1
- package/dist/chunk-OBTCAI4E.js.map +0 -1
- package/dist/chunk-ULED4SBT.cjs.map +0 -1
- package/dist/chunk-YSZJCWDD.cjs.map +0 -1
package/dist/index.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { arbiQueryKeys, useDocuments, useConversations, useAssistantQuery, useConversationThreads, useWorkspaces, useParsedDocument, useTags, useActivity, useThumbnails } from './chunk-
|
|
2
|
-
export { DEFAULT_USD_PER_CREDIT, arbiQueryKeys, cleanDraftMarkdown, cleanDraftWithReport, creditsToUsd, formatCredits, isUsageMetered, promoteBoldTitle, repairParsedStructure, repairParsedTitle, stripAgentPreamble, unescapeMarkdown, unwrapCitationLinks, useActivity, useAgents, useAssistantQuery, useConfigs, useConversationThreads, useConversations, useDeleteAgents, useDocuments, useFacts, useHealth, useParsedDocument, useProjectInvoices, useProjectUsage, useProjects, useProjectsUsage, useSessions, useTags, useThumbnails, useUserUsageToday, useWorkspaceUsers, useWorkspaces } from './chunk-
|
|
3
|
-
import { formatRelativeTime } from './chunk-
|
|
4
|
-
export { DEFAULT_NOTIFY_TONE, NotificationBell, Toaster, formatRelativeTime, notify, seedNotifications, selectUnread, toast, useNotify } from './chunk-
|
|
5
|
-
import { MarkMenu, AiMarkdown, Card, Button, Badge, TagEntity, Input, FILE_TYPE_COLORS, getEntityIcon, UserEntity, getEntityColorStyles, AgentBadge, Textarea, Label, Slider, Dialog, DialogContent, DialogHeader, DialogTitle, DialogFooter, DocumentEntity, DocumentCard, useAudioRecorder, MicWaveformIndicator, IconToggle, classifyMediaError, formatElapsed, PassageCard } from './chunk-
|
|
6
|
-
export { AgentBadge, AiMarkdown, ArbiBotHeadIcon, AudIcon, Avatar, AvatarFallback, AvatarImage, BASE_COLORS, Badge, Button, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Checkbox, Collapsible, CollapsibleContent, CollapsibleTrigger, Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, DictateProvider, DocumentCard, DocumentEntity, ENTITY_MAPPINGS, EmlIcon, EntityIcon, EntityPill, FILE_TYPE_COLORS, HoverCard, HoverCardContent, HoverCardTrigger, IconToggle, ImgIcon, InlineMicButton, Input, Label, MarkMenu, MicRecordingOverlay, MicWaveformIndicator, NEUTRAL_GRAY, PLACEHOLDER_COLOR, PassageCard, PdfIcon, Popover, PopoverAnchor, PopoverContent, PopoverTrigger, PresenceLabel, Progress, ProjectEntity, RadioGroup, RadioGroupItem, RagDot, RelevanceDot, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, Separator, Slider, StatusPill, Switch, TAG_TYPE_ICONS, TAG_TYPE_LABELS, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, Tabs, TabsContent, TabsList, TabsTrigger, TagEntity, Textarea, Toggle, ToggleGroup, ToggleGroupItem, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, UserEntity, UserMenu, VISIBILITY_ICONS, VidIcon, VisibilityIcon, VisibilityToggle, badgeVariants, buttonVariants, cardVariants, configureEntityRegistry, configureRagLabels, configureStatusRegistry, formatElapsed, getDocIcon, getEntityColor, getEntityColorStyles, getEntityIcon, getEntityLabel, getStatusVariant, getTagTypeIcon, getTagTypeLabel, getWorkspaceColor, toggleVariants, useAudioRecorder } from './chunk-
|
|
7
|
-
import { normalizeCitationMarkup, MarkdownRenderer } from './chunk-
|
|
8
|
-
export { MarkdownRenderer, MarkdownStreamingContext, closeOpenEmphasis, markdownBaseComponents, normalizeCitationMarkup, splitMarkdownBlocks, trimOpenCitation } from './chunk-
|
|
1
|
+
import { arbiQueryKeys, useDocuments, useConversations, useAssistantQuery, useConversationThreads, useWorkspaces, useParsedDocument, useTags, useActivity, useThumbnails } from './chunk-V3A7JDJV.js';
|
|
2
|
+
export { DEFAULT_USD_PER_CREDIT, arbiQueryKeys, cleanDraftMarkdown, cleanDraftWithReport, creditsToUsd, formatCredits, isUsageMetered, promoteBoldTitle, repairParsedStructure, repairParsedTitle, stripAgentPreamble, unescapeMarkdown, unwrapCitationLinks, useActivity, useAgents, useAssistantQuery, useConfigs, useConversationThreads, useConversations, useDeleteAgents, useDocuments, useFacts, useHealth, useParsedDocument, useProjectInvoices, useProjectUsage, useProjects, useProjectsUsage, useSessions, useTags, useThumbnails, useUserUsageToday, useWorkspaceUsers, useWorkspaces } from './chunk-V3A7JDJV.js';
|
|
3
|
+
import { formatRelativeTime } from './chunk-UDOPD3GK.js';
|
|
4
|
+
export { DEFAULT_NOTIFY_TONE, NotificationBell, Toaster, formatRelativeTime, notify, seedNotifications, selectUnread, toast, useNotify } from './chunk-UDOPD3GK.js';
|
|
5
|
+
import { MarkMenu, AiMarkdown, Card, Button, Badge, TagEntity, Input, FILE_TYPE_COLORS, getEntityIcon, UserEntity, getEntityColorStyles, AgentBadge, Textarea, Label, Slider, Dialog, DialogContent, DialogHeader, DialogTitle, DialogFooter, DocumentEntity, DocumentCard, useAudioRecorder, MicWaveformIndicator, IconToggle, classifyMediaError, formatElapsed, PassageCard } from './chunk-5JGBZQD4.js';
|
|
6
|
+
export { AgentBadge, AiMarkdown, ArbiBotHeadIcon, AudIcon, Avatar, AvatarFallback, AvatarImage, BASE_COLORS, Badge, Button, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Checkbox, Collapsible, CollapsibleContent, CollapsibleTrigger, Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, DictateProvider, DocIcon, DocumentCard, DocumentEntity, ENTITY_MAPPINGS, EmlIcon, EntityIcon, EntityPill, FILE_TYPE_COLORS, HoverCard, HoverCardContent, HoverCardTrigger, HtmlIcon, IconToggle, ImgIcon, InlineMicButton, Input, Label, MarkMenu, MicRecordingOverlay, MicWaveformIndicator, NEUTRAL_GRAY, PLACEHOLDER_COLOR, PassageCard, PdfIcon, Popover, PopoverAnchor, PopoverContent, PopoverTrigger, PresenceLabel, Progress, ProjectEntity, RadioGroup, RadioGroupItem, RagDot, RelevanceDot, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, Separator, Slider, StatusPill, Switch, TAG_TYPE_ICONS, TAG_TYPE_LABELS, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, Tabs, TabsContent, TabsList, TabsTrigger, TagEntity, Textarea, ThreadVisibilityIcon, Toggle, ToggleGroup, ToggleGroupItem, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, TxtIcon, UserEntity, UserMenu, VISIBILITY_ICONS, VidIcon, VisibilityIcon, VisibilityToggle, XlsIcon, badgeVariants, buttonVariants, cardVariants, configureEntityRegistry, configureRagLabels, configureStatusRegistry, formatElapsed, getDocIcon, getEntityColor, getEntityColorStyles, getEntityIcon, getEntityLabel, getStatusVariant, getTagTypeIcon, getTagTypeLabel, getWorkspaceColor, toggleVariants, useAudioRecorder } from './chunk-5JGBZQD4.js';
|
|
7
|
+
import { normalizeCitationMarkup, MarkdownRenderer } from './chunk-FOEYFNQ4.js';
|
|
8
|
+
export { MarkdownRenderer, MarkdownStreamingContext, closeOpenEmphasis, markdownBaseComponents, normalizeCitationMarkup, splitMarkdownBlocks, trimOpenCitation } from './chunk-FOEYFNQ4.js';
|
|
9
9
|
import { ScrollArea, DropdownMenu, DropdownMenuTrigger, DropdownMenuContent, DropdownMenuItem, DropdownMenuSeparator } from './chunk-N5SVBDLC.js';
|
|
10
10
|
export { DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, ScrollArea, ScrollBar } from './chunk-N5SVBDLC.js';
|
|
11
11
|
import { cn } from './chunk-SN5YV6FF.js';
|
|
@@ -3099,8 +3099,19 @@ var CitationPopover = ({
|
|
|
3099
3099
|
const [dock, setDock] = useState({ left: 0, top: 0, width: 0 });
|
|
3100
3100
|
useLayoutEffect(() => {
|
|
3101
3101
|
if (!open) return;
|
|
3102
|
-
const edge =
|
|
3103
|
-
|
|
3102
|
+
const edge = document.querySelector('[data-testid="message-input-container"]') ?? document.querySelector('main[data-testid^="conversation-"]') ?? document.body;
|
|
3103
|
+
const measure = () => {
|
|
3104
|
+
const rect = edge.getBoundingClientRect();
|
|
3105
|
+
setDock({ left: rect.left, top: rect.top, width: rect.width });
|
|
3106
|
+
};
|
|
3107
|
+
measure();
|
|
3108
|
+
const observer = new ResizeObserver(measure);
|
|
3109
|
+
observer.observe(edge);
|
|
3110
|
+
window.addEventListener("resize", measure);
|
|
3111
|
+
return () => {
|
|
3112
|
+
observer.disconnect();
|
|
3113
|
+
window.removeEventListener("resize", measure);
|
|
3114
|
+
};
|
|
3104
3115
|
}, [open]);
|
|
3105
3116
|
const handleOpen = useCallback(() => {
|
|
3106
3117
|
onOpen();
|
|
@@ -3152,7 +3163,7 @@ var CitationPopover = ({
|
|
|
3152
3163
|
"Page ",
|
|
3153
3164
|
firstPage
|
|
3154
3165
|
] }),
|
|
3155
|
-
/* @__PURE__ */ jsx("span", { className: "mt-1 line-clamp-4 block text-
|
|
3166
|
+
/* @__PURE__ */ jsx("span", { className: "mt-1 line-clamp-4 block text-sm text-foreground", children: /* @__PURE__ */ jsx(ReactMarkdown, { components: INLINE_MD_COMPONENTS, children: firstText }) }),
|
|
3156
3167
|
chunks.length > 1 && /* @__PURE__ */ jsxs("span", { className: "mt-1 block text-xs text-muted-foreground", children: [
|
|
3157
3168
|
"+",
|
|
3158
3169
|
chunks.length - 1,
|
|
@@ -3298,206 +3309,6 @@ var CitationLink = ({
|
|
|
3298
3309
|
}
|
|
3299
3310
|
);
|
|
3300
3311
|
var CitationRenderer = React.memo(CitationRendererComponent);
|
|
3301
|
-
var DocIcon = ({ size = 16, className = "" }) => {
|
|
3302
|
-
return /* @__PURE__ */ jsxs(
|
|
3303
|
-
"svg",
|
|
3304
|
-
{
|
|
3305
|
-
width: size,
|
|
3306
|
-
height: size,
|
|
3307
|
-
viewBox: "0 0 24 24",
|
|
3308
|
-
fill: "none",
|
|
3309
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
3310
|
-
className,
|
|
3311
|
-
children: [
|
|
3312
|
-
/* @__PURE__ */ jsx(
|
|
3313
|
-
"path",
|
|
3314
|
-
{
|
|
3315
|
-
d: "M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8l-6-6z",
|
|
3316
|
-
fill: FILE_TYPE_COLORS.doc,
|
|
3317
|
-
stroke: FILE_TYPE_COLORS.doc,
|
|
3318
|
-
strokeWidth: "1",
|
|
3319
|
-
strokeLinecap: "round",
|
|
3320
|
-
strokeLinejoin: "round"
|
|
3321
|
-
}
|
|
3322
|
-
),
|
|
3323
|
-
/* @__PURE__ */ jsx(
|
|
3324
|
-
"path",
|
|
3325
|
-
{
|
|
3326
|
-
d: "M14 2v6h6",
|
|
3327
|
-
fill: "none",
|
|
3328
|
-
stroke: FILE_TYPE_COLORS.white,
|
|
3329
|
-
strokeWidth: "1",
|
|
3330
|
-
strokeLinecap: "round",
|
|
3331
|
-
strokeLinejoin: "round"
|
|
3332
|
-
}
|
|
3333
|
-
),
|
|
3334
|
-
/* @__PURE__ */ jsx(
|
|
3335
|
-
"text",
|
|
3336
|
-
{
|
|
3337
|
-
x: "12",
|
|
3338
|
-
y: "16",
|
|
3339
|
-
fontSize: "6",
|
|
3340
|
-
fill: "white",
|
|
3341
|
-
textAnchor: "middle",
|
|
3342
|
-
fontWeight: "bold",
|
|
3343
|
-
fontFamily: "Arial, sans-serif",
|
|
3344
|
-
children: "DOC"
|
|
3345
|
-
}
|
|
3346
|
-
)
|
|
3347
|
-
]
|
|
3348
|
-
}
|
|
3349
|
-
);
|
|
3350
|
-
};
|
|
3351
|
-
var HtmlIcon = ({ size = 16, className = "" }) => {
|
|
3352
|
-
return /* @__PURE__ */ jsxs(
|
|
3353
|
-
"svg",
|
|
3354
|
-
{
|
|
3355
|
-
width: size,
|
|
3356
|
-
height: size,
|
|
3357
|
-
viewBox: "0 0 24 24",
|
|
3358
|
-
fill: "none",
|
|
3359
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
3360
|
-
className,
|
|
3361
|
-
children: [
|
|
3362
|
-
/* @__PURE__ */ jsx(
|
|
3363
|
-
"path",
|
|
3364
|
-
{
|
|
3365
|
-
d: "M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8l-6-6z",
|
|
3366
|
-
fill: FILE_TYPE_COLORS.html,
|
|
3367
|
-
stroke: FILE_TYPE_COLORS.html,
|
|
3368
|
-
strokeWidth: "1",
|
|
3369
|
-
strokeLinecap: "round",
|
|
3370
|
-
strokeLinejoin: "round"
|
|
3371
|
-
}
|
|
3372
|
-
),
|
|
3373
|
-
/* @__PURE__ */ jsx(
|
|
3374
|
-
"path",
|
|
3375
|
-
{
|
|
3376
|
-
d: "M14 2v6h6",
|
|
3377
|
-
fill: "none",
|
|
3378
|
-
stroke: FILE_TYPE_COLORS.white,
|
|
3379
|
-
strokeWidth: "1",
|
|
3380
|
-
strokeLinecap: "round",
|
|
3381
|
-
strokeLinejoin: "round"
|
|
3382
|
-
}
|
|
3383
|
-
),
|
|
3384
|
-
/* @__PURE__ */ jsx(
|
|
3385
|
-
"text",
|
|
3386
|
-
{
|
|
3387
|
-
x: "12",
|
|
3388
|
-
y: "16",
|
|
3389
|
-
fontSize: "5",
|
|
3390
|
-
fill: "white",
|
|
3391
|
-
textAnchor: "middle",
|
|
3392
|
-
fontWeight: "bold",
|
|
3393
|
-
fontFamily: "Arial, sans-serif",
|
|
3394
|
-
children: "HTML"
|
|
3395
|
-
}
|
|
3396
|
-
)
|
|
3397
|
-
]
|
|
3398
|
-
}
|
|
3399
|
-
);
|
|
3400
|
-
};
|
|
3401
|
-
var TxtIcon = ({ size = 16, className = "" }) => {
|
|
3402
|
-
return /* @__PURE__ */ jsxs(
|
|
3403
|
-
"svg",
|
|
3404
|
-
{
|
|
3405
|
-
width: size,
|
|
3406
|
-
height: size,
|
|
3407
|
-
viewBox: "0 0 24 24",
|
|
3408
|
-
fill: "none",
|
|
3409
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
3410
|
-
className,
|
|
3411
|
-
children: [
|
|
3412
|
-
/* @__PURE__ */ jsx(
|
|
3413
|
-
"path",
|
|
3414
|
-
{
|
|
3415
|
-
d: "M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8l-6-6z",
|
|
3416
|
-
fill: FILE_TYPE_COLORS.txt,
|
|
3417
|
-
stroke: FILE_TYPE_COLORS.txt,
|
|
3418
|
-
strokeWidth: "1",
|
|
3419
|
-
strokeLinecap: "round",
|
|
3420
|
-
strokeLinejoin: "round"
|
|
3421
|
-
}
|
|
3422
|
-
),
|
|
3423
|
-
/* @__PURE__ */ jsx(
|
|
3424
|
-
"path",
|
|
3425
|
-
{
|
|
3426
|
-
d: "M14 2v6h6",
|
|
3427
|
-
fill: "none",
|
|
3428
|
-
stroke: FILE_TYPE_COLORS.white,
|
|
3429
|
-
strokeWidth: "1",
|
|
3430
|
-
strokeLinecap: "round",
|
|
3431
|
-
strokeLinejoin: "round"
|
|
3432
|
-
}
|
|
3433
|
-
),
|
|
3434
|
-
/* @__PURE__ */ jsx(
|
|
3435
|
-
"text",
|
|
3436
|
-
{
|
|
3437
|
-
x: "12",
|
|
3438
|
-
y: "16",
|
|
3439
|
-
fontSize: "6",
|
|
3440
|
-
fill: "white",
|
|
3441
|
-
textAnchor: "middle",
|
|
3442
|
-
fontWeight: "bold",
|
|
3443
|
-
fontFamily: "Arial, sans-serif",
|
|
3444
|
-
children: "TXT"
|
|
3445
|
-
}
|
|
3446
|
-
)
|
|
3447
|
-
]
|
|
3448
|
-
}
|
|
3449
|
-
);
|
|
3450
|
-
};
|
|
3451
|
-
var XlsIcon = ({ size = 16, className = "" }) => {
|
|
3452
|
-
return /* @__PURE__ */ jsxs(
|
|
3453
|
-
"svg",
|
|
3454
|
-
{
|
|
3455
|
-
width: size,
|
|
3456
|
-
height: size,
|
|
3457
|
-
viewBox: "0 0 24 24",
|
|
3458
|
-
fill: "none",
|
|
3459
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
3460
|
-
className,
|
|
3461
|
-
children: [
|
|
3462
|
-
/* @__PURE__ */ jsx(
|
|
3463
|
-
"path",
|
|
3464
|
-
{
|
|
3465
|
-
d: "M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8l-6-6z",
|
|
3466
|
-
fill: FILE_TYPE_COLORS.xls,
|
|
3467
|
-
stroke: FILE_TYPE_COLORS.xls,
|
|
3468
|
-
strokeWidth: "1",
|
|
3469
|
-
strokeLinecap: "round",
|
|
3470
|
-
strokeLinejoin: "round"
|
|
3471
|
-
}
|
|
3472
|
-
),
|
|
3473
|
-
/* @__PURE__ */ jsx(
|
|
3474
|
-
"path",
|
|
3475
|
-
{
|
|
3476
|
-
d: "M14 2v6h6",
|
|
3477
|
-
fill: "none",
|
|
3478
|
-
stroke: FILE_TYPE_COLORS.white,
|
|
3479
|
-
strokeWidth: "1",
|
|
3480
|
-
strokeLinecap: "round",
|
|
3481
|
-
strokeLinejoin: "round"
|
|
3482
|
-
}
|
|
3483
|
-
),
|
|
3484
|
-
/* @__PURE__ */ jsx(
|
|
3485
|
-
"text",
|
|
3486
|
-
{
|
|
3487
|
-
x: "12",
|
|
3488
|
-
y: "16",
|
|
3489
|
-
fontSize: "6",
|
|
3490
|
-
fill: "white",
|
|
3491
|
-
textAnchor: "middle",
|
|
3492
|
-
fontWeight: "bold",
|
|
3493
|
-
fontFamily: "Arial, sans-serif",
|
|
3494
|
-
children: "XLS"
|
|
3495
|
-
}
|
|
3496
|
-
)
|
|
3497
|
-
]
|
|
3498
|
-
}
|
|
3499
|
-
);
|
|
3500
|
-
};
|
|
3501
3312
|
var FileIcon = ({ size = 16, className = "" }) => {
|
|
3502
3313
|
return /* @__PURE__ */ jsxs(
|
|
3503
3314
|
"svg",
|
|
@@ -3883,6 +3694,8 @@ var ArbiBotIcon = ({ size = 24, className = "" }) => {
|
|
|
3883
3694
|
function getNotificationTypeMeta(type) {
|
|
3884
3695
|
const WorkspaceIcon = getEntityIcon("WORKSPACE");
|
|
3885
3696
|
switch (type) {
|
|
3697
|
+
case "agent_input_requested":
|
|
3698
|
+
return { Icon: MessageCircleMore, iconClassName: "text-primary", label: "Input needed" };
|
|
3886
3699
|
case "user_message":
|
|
3887
3700
|
return { Icon: MessageCircleMore, iconClassName: "text-primary", label: "Message" };
|
|
3888
3701
|
case "workspaceuser_added_owner":
|
|
@@ -6166,6 +5979,6 @@ function hasVideoTrack(blob) {
|
|
|
6166
5979
|
});
|
|
6167
5980
|
}
|
|
6168
5981
|
|
|
6169
|
-
export { ActivityFeed, AiActionCard, AiAnswer, AppleIcon, ArbiBotIcon, ArbiIcon, ArbiWebSocketProvider, ArtifactCanvas, ChatBubble, CitationRenderer, ClaudeIcon, CommandPalette, CommandPaletteProvider, ConversationList, DEFAULT_ASPECT_OPTIONS, DEFAULT_PASSWORD_CHANGE_FORM_MESSAGES, DEFAULT_START_BY_EMAIL_LABELS, DateSeparator, DirectMessages, DmAvatar, DmComposer,
|
|
5982
|
+
export { ActivityFeed, AiActionCard, AiAnswer, AppleIcon, ArbiBotIcon, ArbiIcon, ArbiWebSocketProvider, ArtifactCanvas, ChatBubble, CitationRenderer, ClaudeIcon, CommandPalette, CommandPaletteProvider, ConversationList, DEFAULT_ASPECT_OPTIONS, DEFAULT_PASSWORD_CHANGE_FORM_MESSAGES, DEFAULT_START_BY_EMAIL_LABELS, DateSeparator, DirectMessages, DmAvatar, DmComposer, DocQaPanel, DocSearch, DocumentCardMenu, DocumentGallery, DocumentReview, DocumentTable, DraftTitleControls, FileIcon, FireworksIcon, GeminiIcon, GitHubIcon, GoogleIcon, ImageCropModal, ImageCropper, LinkedInIcon, MAX_AVATAR_FILE_BYTES, MessageArtifactCard, MessageBubble, MessageThread, OpenAIIcon, PhotoCapture, ProviderIcon, RUN_WINDOW_MS, SemanticSearch, StartByEmail, TypingIndicator, VideoCapture, VoiceNoteRecorder, annotateThread, captureFrameAsBlob, cropImage, dayKey, describeActivity, getNotificationTypeMeta, getWorkspaceActionText, getWorkspaceKind, getWorkspaceSentPhrase, hasVideoTrack, isWorkspaceNotificationType, parseActivityContent, parseDeleteAccountBlockers, pickRecentWorkspaces, redlineStats, resolveActiveWorkspace, textToArtifact, titleFromQuestion, toChatCitations, toNotificationPreferences, toProfileView, toRedlineMarkdown, toShellWorkspace, useAddContacts, useAgentChats, useAgentConfig, useAgentModels, useAgentSession, useAgentWorkspaces, useAiTask, useArbiChat, useArbiConnected, useArbiDocumentSync, useArbiShellWorkspaces, useArbiUiStore, useArbiWebSocket, useArbiWsContext, useArbiWsMessage, useArbiWsStatus, useArbiWsStore, useArbiWsTask, useArbiWsTasks, useAvatarCrop, useCameraStream, useCloseAgentSession, useCommandPalette, useConfirmEmailChange, useContacts, useConversationActivity, useConversationPendingAuth, useCreateAgent, useCreateWork, useCreateWorkflow, useCurrentSessionId, useDeleteAccount, useDeleteAccountFlow, useDeleteWorkflow, useDirectMessages, useEmailChange, useGrantAgentAccess, useLogoutAllSessions, useNameEditor, useNotificationPreferences, usePasswordChange, usePasswordChangeForm, usePendingContacts, usePlanWork, useProfile, useRemoveContacts, useRequestConversationApproval, useRequestEmailChange, useReviewConversation, useRevokeAgentAccess, useRunConversation, useRunWorkflow, useSaveAgentConfig, useSemanticSearch, useShellWorkspaces, useSkills, useStartAgentSession, useStartWorkQuery, useTerminateSession, useUpdateConversation, useUpdateProfile, useUpdateWorkflow, useUploadSkillFiles, useUserSettings, useVideoRecorder, useWorkNotifications, useWorkflows, useWorkspaceDocs, userDisplayName, userInitials };
|
|
6170
5983
|
//# sourceMappingURL=index.js.map
|
|
6171
5984
|
//# sourceMappingURL=index.js.map
|