@arbidocs/react 0.4.121 → 0.4.123

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.
Files changed (35) hide show
  1. package/dist/annotations/index.d.cts +2 -2
  2. package/dist/annotations/index.d.ts +2 -2
  3. package/dist/artifacts/index.cjs +23 -23
  4. package/dist/artifacts/index.d.cts +8 -0
  5. package/dist/artifacts/index.d.ts +8 -0
  6. package/dist/artifacts/index.js +4 -4
  7. package/dist/{chunk-FLZ3OT2V.js → chunk-5PQO46PE.js} +5 -4
  8. package/dist/chunk-5PQO46PE.js.map +1 -0
  9. package/dist/{chunk-HKUD2NZN.js → chunk-74UTKIWQ.js} +4 -3
  10. package/dist/chunk-74UTKIWQ.js.map +1 -0
  11. package/dist/{chunk-A4ONEV57.cjs → chunk-GX75JCPR.cjs} +5 -3
  12. package/dist/chunk-GX75JCPR.cjs.map +1 -0
  13. package/dist/{chunk-T4IJHRRD.cjs → chunk-NUFEZBA5.cjs} +4 -3
  14. package/dist/chunk-NUFEZBA5.cjs.map +1 -0
  15. package/dist/document-tools/index.cjs +8 -8
  16. package/dist/document-tools/index.d.cts +1 -1
  17. package/dist/document-tools/index.d.ts +1 -1
  18. package/dist/document-tools/index.js +5 -5
  19. package/dist/{index-Bl_hqLiJ.d.cts → index-B1O2cqOo.d.cts} +3 -1
  20. package/dist/{index-Bl_hqLiJ.d.ts → index-B1O2cqOo.d.ts} +3 -1
  21. package/dist/index.cjs +254 -250
  22. package/dist/index.d.cts +6 -2
  23. package/dist/index.d.ts +6 -2
  24. package/dist/index.js +10 -10
  25. package/dist/ui/index.cjs +136 -132
  26. package/dist/ui/index.d.cts +1 -1
  27. package/dist/ui/index.d.ts +1 -1
  28. package/dist/ui/index.js +3 -3
  29. package/package.json +3 -3
  30. package/dist/chunk-A4ONEV57.cjs.map +0 -1
  31. package/dist/chunk-FLZ3OT2V.js.map +0 -1
  32. package/dist/chunk-HKUD2NZN.js.map +0 -1
  33. package/dist/chunk-T4IJHRRD.cjs.map +0 -1
  34. package/dist/{store-BEXGdE1y.d.cts → ProductionDialog-BRrZ5Lj5.d.cts} +33 -33
  35. package/dist/{store-CoLuVSxI.d.ts → ProductionDialog-DUC9BXWS.d.ts} +33 -33
package/dist/index.d.cts CHANGED
@@ -10,8 +10,8 @@ import * as zustand from 'zustand';
10
10
  import * as _tanstack_query_core from '@tanstack/query-core';
11
11
  import * as _tanstack_react_query from '@tanstack/react-query';
12
12
  import { QueryClient } from '@tanstack/react-query';
13
- import { ap as IdentityStatus, an as IdentityPurchase, aq as IdentityStep, ar as IdentityVerificationFlow, ac as EntityIconComponent } from './index-Bl_hqLiJ.cjs';
14
- export { A as AgentBadge, a as AiMarkdown, b as ArbiIcon, c as Avatar, d as AvatarFallback, e as AvatarImage, B as BASE_COLORS, f as Badge, g as BadgeProps, h as Button, i as ButtonProps, C as Card, j as CardContent, k as CardDescription, l as CardFooter, m as CardHeader, n as CardProps, o as CardTitle, p as Checkbox, q as Collapsible, r as CollapsibleContent, s as CollapsibleTrigger, t as Command, u as CommandDialog, v as CommandEmpty, w as CommandGroup, x as CommandInput, y as CommandItem, z as CommandList, D as CommandSeparator, E as CommandShortcut, F as Dialog, G as DialogClose, H as DialogContent, I as DialogDescription, J as DialogFooter, K as DialogHeader, L as DialogOverlay, M as DialogPortal, N as DialogPresentation, O as DialogTitle, P as DialogTrigger, Q as DictateContextValue, R as DictateProvider, S as DocumentCard, T as DocumentCardProps, U as DocumentEntity, V as DocumentEntityProps, W as DocumentLike, X as DropdownMenu, Y as DropdownMenuCheckboxItem, Z as DropdownMenuContent, _ as DropdownMenuGroup, $ as DropdownMenuItem, a0 as DropdownMenuLabel, a1 as DropdownMenuPortal, a2 as DropdownMenuRadioGroup, a3 as DropdownMenuRadioItem, a4 as DropdownMenuSeparator, a5 as DropdownMenuShortcut, a6 as DropdownMenuSub, a7 as DropdownMenuSubContent, a8 as DropdownMenuSubTrigger, a9 as DropdownMenuTrigger, aa as ENTITY_MAPPINGS, ab as EntityIcon, ad as EntityPill, ae as EntityRegistryOverride, af as EntityType, ag as HoverCard, ah as HoverCardContent, ai as HoverCardTrigger, aj as IconToggle, ak as IconToggleProps, al as IdentityBusy, am as IdentityProblem, ao as IdentityState, as as Input, at as InputProps, au as Label, av as MarkMenu, aw as MarkMenuItem, ax as MarkMenuProps, ay as MarkdownRenderer, az as MarkdownRendererProps, aA as MarkdownStreamingContext, aB as NEUTRAL_GRAY, aC as PLACEHOLDER_COLOR, aD as PassageCard, aE as PassageCardProps, aF as Popover, aG as PopoverAnchor, aH as PopoverContent, aI as PopoverTrigger, aJ as PortalContainerProvider, aK as PresenceDisplayStatus, aL as PresenceLabel, aM as Progress, aN as ProjectEntity, aO as ProjectEntityProps, aP as ProjectRelation, aQ as RadioGroup, aR as RadioGroupItem, aS as Rag, aT as RagDot, aU as RelevanceDot, aV as ScrollArea, aW as ScrollBar, aX as Select, aY as SelectContent, aZ as SelectGroup, a_ as SelectItem, a$ as SelectLabel, b0 as SelectScrollDownButton, b1 as SelectScrollUpButton, b2 as SelectSeparator, b3 as SelectTrigger, b4 as SelectValue, b5 as Separator, b6 as Slider, b7 as StatusBadgeComponent, b8 as StatusBadgeProps, b9 as StatusPill, ba as StatusPillProps, bb as StatusVariant, bc as Switch, bd as TAG_TYPE_ICONS, be as TAG_TYPE_LABELS, bf as Table, bg as TableBody, bh as TableCaption, bi as TableCell, bj as TableFooter, bk as TableHead, bl as TableHeader, bm as TableRow, bn as Tabs, bo as TabsContent, bp as TabsList, bq as TabsTrigger, br as TagEntity, bs as TagEntityProps, bt as TagLike, bu as Textarea, bv as TextareaProps, bw as ThreadVisibilityIcon, bx as Toggle, by as ToggleGroup, bz as ToggleGroupItem, bA as Tooltip, bB as TooltipContent, bC as TooltipProvider, bD as TooltipTrigger, bE as UserEntity, bF as UserEntityProps, bG as UserMenu, bH as UserMenuItem, bI as UserMenuProps, bJ as UserMenuStatus, bK as VISIBILITY_ICONS, bL as VerifiedBadge, bM as VerifiedBadgeProps, bN as VisibilityIcon, bO as VisibilityToggle, bP as VisibilityToggleProps, bQ as badgeVariants, bR as buttonVariants, bS as cardVariants, bT as closeOpenEmphasis, bU as cn, bV as configureEntityRegistry, bW as configureRagLabels, bX as configureStatusRegistry, bY as getDocIcon, bZ as getEntityColor, b_ as getEntityColorStyles, b$ as getEntityIcon, c0 as getEntityLabel, c1 as getStatusVariant, c2 as getTagTypeIcon, c3 as getTagTypeLabel, c4 as getWorkspaceColor, c5 as markdownBaseComponents, c6 as normalizeCitationMarkup, c7 as splitMarkdownBlocks, c8 as toggleVariants, c9 as trimOpenCitation, ca as usePortalContainer } from './index-Bl_hqLiJ.cjs';
13
+ import { ap as IdentityStatus, an as IdentityPurchase, aq as IdentityStep, ar as IdentityVerificationFlow, ac as EntityIconComponent } from './index-B1O2cqOo.cjs';
14
+ export { A as AgentBadge, a as AiMarkdown, b as ArbiIcon, c as Avatar, d as AvatarFallback, e as AvatarImage, B as BASE_COLORS, f as Badge, g as BadgeProps, h as Button, i as ButtonProps, C as Card, j as CardContent, k as CardDescription, l as CardFooter, m as CardHeader, n as CardProps, o as CardTitle, p as Checkbox, q as Collapsible, r as CollapsibleContent, s as CollapsibleTrigger, t as Command, u as CommandDialog, v as CommandEmpty, w as CommandGroup, x as CommandInput, y as CommandItem, z as CommandList, D as CommandSeparator, E as CommandShortcut, F as Dialog, G as DialogClose, H as DialogContent, I as DialogDescription, J as DialogFooter, K as DialogHeader, L as DialogOverlay, M as DialogPortal, N as DialogPresentation, O as DialogTitle, P as DialogTrigger, Q as DictateContextValue, R as DictateProvider, S as DocumentCard, T as DocumentCardProps, U as DocumentEntity, V as DocumentEntityProps, W as DocumentLike, X as DropdownMenu, Y as DropdownMenuCheckboxItem, Z as DropdownMenuContent, _ as DropdownMenuGroup, $ as DropdownMenuItem, a0 as DropdownMenuLabel, a1 as DropdownMenuPortal, a2 as DropdownMenuRadioGroup, a3 as DropdownMenuRadioItem, a4 as DropdownMenuSeparator, a5 as DropdownMenuShortcut, a6 as DropdownMenuSub, a7 as DropdownMenuSubContent, a8 as DropdownMenuSubTrigger, a9 as DropdownMenuTrigger, aa as ENTITY_MAPPINGS, ab as EntityIcon, ad as EntityPill, ae as EntityRegistryOverride, af as EntityType, ag as HoverCard, ah as HoverCardContent, ai as HoverCardTrigger, aj as IconToggle, ak as IconToggleProps, al as IdentityBusy, am as IdentityProblem, ao as IdentityState, as as Input, at as InputProps, au as Label, av as MarkMenu, aw as MarkMenuItem, ax as MarkMenuProps, ay as MarkdownRenderer, az as MarkdownRendererProps, aA as MarkdownStreamingContext, aB as NEUTRAL_GRAY, aC as PLACEHOLDER_COLOR, aD as PassageCard, aE as PassageCardProps, aF as Popover, aG as PopoverAnchor, aH as PopoverClose, aI as PopoverContent, aJ as PopoverTrigger, aK as PortalContainerProvider, aL as PresenceDisplayStatus, aM as PresenceLabel, aN as Progress, aO as ProjectEntity, aP as ProjectEntityProps, aQ as ProjectRelation, aR as RadioGroup, aS as RadioGroupItem, aT as Rag, aU as RagDot, aV as RelevanceDot, aW as ScrollArea, aX as ScrollBar, aY as Select, aZ as SelectContent, a_ as SelectGroup, a$ as SelectItem, b0 as SelectLabel, b1 as SelectScrollDownButton, b2 as SelectScrollUpButton, b3 as SelectSeparator, b4 as SelectTrigger, b5 as SelectValue, b6 as Separator, b7 as Slider, b8 as StatusBadgeComponent, b9 as StatusBadgeProps, ba as StatusPill, bb as StatusPillProps, bc as StatusVariant, bd as Switch, be as TAG_TYPE_ICONS, bf as TAG_TYPE_LABELS, bg as Table, bh as TableBody, bi as TableCaption, bj as TableCell, bk as TableFooter, bl as TableHead, bm as TableHeader, bn as TableRow, bo as Tabs, bp as TabsContent, bq as TabsList, br as TabsTrigger, bs as TagEntity, bt as TagEntityProps, bu as TagLike, bv as Textarea, bw as TextareaProps, bx as ThreadVisibilityIcon, by as Toggle, bz as ToggleGroup, bA as ToggleGroupItem, bB as Tooltip, bC as TooltipContent, bD as TooltipProvider, bE as TooltipTrigger, bF as UserEntity, bG as UserEntityProps, bH as UserMenu, bI as UserMenuItem, bJ as UserMenuProps, bK as UserMenuStatus, bL as VISIBILITY_ICONS, bM as VerifiedBadge, bN as VerifiedBadgeProps, bO as VisibilityIcon, bP as VisibilityToggle, bQ as VisibilityToggleProps, bR as badgeVariants, bS as buttonVariants, bT as cardVariants, bU as closeOpenEmphasis, bV as cn, bW as configureEntityRegistry, bX as configureRagLabels, bY as configureStatusRegistry, bZ as getDocIcon, b_ as getEntityColor, b$ as getEntityColorStyles, c0 as getEntityIcon, c1 as getEntityLabel, c2 as getStatusVariant, c3 as getTagTypeIcon, c4 as getTagTypeLabel, c5 as getWorkspaceColor, c6 as markdownBaseComponents, c7 as normalizeCitationMarkup, c8 as splitMarkdownBlocks, c9 as toggleVariants, ca as trimOpenCitation, cb as usePortalContainer } from './index-B1O2cqOo.cjs';
15
15
  import { VerificationResult } from '@didit-protocol/sdk-web';
16
16
  import { LucideIcon } from 'lucide-react';
17
17
  import { Components } from 'react-markdown';
@@ -688,6 +688,8 @@ declare function useDocuments(workspaceId: string | undefined, options?: {
688
688
  is_current: boolean;
689
689
  markup_revision: number;
690
690
  markup_count: number;
691
+ source_message_ext_id?: string | null | undefined;
692
+ conversation_ext_id?: string | null | undefined;
691
693
  }[];
692
694
  thread_id?: string | null | undefined;
693
695
  derived_from: {
@@ -4376,6 +4378,8 @@ declare function useWorkspaceDocs(workspaceId?: string): {
4376
4378
  is_current: boolean;
4377
4379
  markup_revision: number;
4378
4380
  markup_count: number;
4381
+ source_message_ext_id?: string | null | undefined;
4382
+ conversation_ext_id?: string | null | undefined;
4379
4383
  }[];
4380
4384
  thread_id?: string | null | undefined;
4381
4385
  derived_from: {
package/dist/index.d.ts CHANGED
@@ -10,8 +10,8 @@ import * as zustand from 'zustand';
10
10
  import * as _tanstack_query_core from '@tanstack/query-core';
11
11
  import * as _tanstack_react_query from '@tanstack/react-query';
12
12
  import { QueryClient } from '@tanstack/react-query';
13
- import { ap as IdentityStatus, an as IdentityPurchase, aq as IdentityStep, ar as IdentityVerificationFlow, ac as EntityIconComponent } from './index-Bl_hqLiJ.js';
14
- export { A as AgentBadge, a as AiMarkdown, b as ArbiIcon, c as Avatar, d as AvatarFallback, e as AvatarImage, B as BASE_COLORS, f as Badge, g as BadgeProps, h as Button, i as ButtonProps, C as Card, j as CardContent, k as CardDescription, l as CardFooter, m as CardHeader, n as CardProps, o as CardTitle, p as Checkbox, q as Collapsible, r as CollapsibleContent, s as CollapsibleTrigger, t as Command, u as CommandDialog, v as CommandEmpty, w as CommandGroup, x as CommandInput, y as CommandItem, z as CommandList, D as CommandSeparator, E as CommandShortcut, F as Dialog, G as DialogClose, H as DialogContent, I as DialogDescription, J as DialogFooter, K as DialogHeader, L as DialogOverlay, M as DialogPortal, N as DialogPresentation, O as DialogTitle, P as DialogTrigger, Q as DictateContextValue, R as DictateProvider, S as DocumentCard, T as DocumentCardProps, U as DocumentEntity, V as DocumentEntityProps, W as DocumentLike, X as DropdownMenu, Y as DropdownMenuCheckboxItem, Z as DropdownMenuContent, _ as DropdownMenuGroup, $ as DropdownMenuItem, a0 as DropdownMenuLabel, a1 as DropdownMenuPortal, a2 as DropdownMenuRadioGroup, a3 as DropdownMenuRadioItem, a4 as DropdownMenuSeparator, a5 as DropdownMenuShortcut, a6 as DropdownMenuSub, a7 as DropdownMenuSubContent, a8 as DropdownMenuSubTrigger, a9 as DropdownMenuTrigger, aa as ENTITY_MAPPINGS, ab as EntityIcon, ad as EntityPill, ae as EntityRegistryOverride, af as EntityType, ag as HoverCard, ah as HoverCardContent, ai as HoverCardTrigger, aj as IconToggle, ak as IconToggleProps, al as IdentityBusy, am as IdentityProblem, ao as IdentityState, as as Input, at as InputProps, au as Label, av as MarkMenu, aw as MarkMenuItem, ax as MarkMenuProps, ay as MarkdownRenderer, az as MarkdownRendererProps, aA as MarkdownStreamingContext, aB as NEUTRAL_GRAY, aC as PLACEHOLDER_COLOR, aD as PassageCard, aE as PassageCardProps, aF as Popover, aG as PopoverAnchor, aH as PopoverContent, aI as PopoverTrigger, aJ as PortalContainerProvider, aK as PresenceDisplayStatus, aL as PresenceLabel, aM as Progress, aN as ProjectEntity, aO as ProjectEntityProps, aP as ProjectRelation, aQ as RadioGroup, aR as RadioGroupItem, aS as Rag, aT as RagDot, aU as RelevanceDot, aV as ScrollArea, aW as ScrollBar, aX as Select, aY as SelectContent, aZ as SelectGroup, a_ as SelectItem, a$ as SelectLabel, b0 as SelectScrollDownButton, b1 as SelectScrollUpButton, b2 as SelectSeparator, b3 as SelectTrigger, b4 as SelectValue, b5 as Separator, b6 as Slider, b7 as StatusBadgeComponent, b8 as StatusBadgeProps, b9 as StatusPill, ba as StatusPillProps, bb as StatusVariant, bc as Switch, bd as TAG_TYPE_ICONS, be as TAG_TYPE_LABELS, bf as Table, bg as TableBody, bh as TableCaption, bi as TableCell, bj as TableFooter, bk as TableHead, bl as TableHeader, bm as TableRow, bn as Tabs, bo as TabsContent, bp as TabsList, bq as TabsTrigger, br as TagEntity, bs as TagEntityProps, bt as TagLike, bu as Textarea, bv as TextareaProps, bw as ThreadVisibilityIcon, bx as Toggle, by as ToggleGroup, bz as ToggleGroupItem, bA as Tooltip, bB as TooltipContent, bC as TooltipProvider, bD as TooltipTrigger, bE as UserEntity, bF as UserEntityProps, bG as UserMenu, bH as UserMenuItem, bI as UserMenuProps, bJ as UserMenuStatus, bK as VISIBILITY_ICONS, bL as VerifiedBadge, bM as VerifiedBadgeProps, bN as VisibilityIcon, bO as VisibilityToggle, bP as VisibilityToggleProps, bQ as badgeVariants, bR as buttonVariants, bS as cardVariants, bT as closeOpenEmphasis, bU as cn, bV as configureEntityRegistry, bW as configureRagLabels, bX as configureStatusRegistry, bY as getDocIcon, bZ as getEntityColor, b_ as getEntityColorStyles, b$ as getEntityIcon, c0 as getEntityLabel, c1 as getStatusVariant, c2 as getTagTypeIcon, c3 as getTagTypeLabel, c4 as getWorkspaceColor, c5 as markdownBaseComponents, c6 as normalizeCitationMarkup, c7 as splitMarkdownBlocks, c8 as toggleVariants, c9 as trimOpenCitation, ca as usePortalContainer } from './index-Bl_hqLiJ.js';
13
+ import { ap as IdentityStatus, an as IdentityPurchase, aq as IdentityStep, ar as IdentityVerificationFlow, ac as EntityIconComponent } from './index-B1O2cqOo.js';
14
+ export { A as AgentBadge, a as AiMarkdown, b as ArbiIcon, c as Avatar, d as AvatarFallback, e as AvatarImage, B as BASE_COLORS, f as Badge, g as BadgeProps, h as Button, i as ButtonProps, C as Card, j as CardContent, k as CardDescription, l as CardFooter, m as CardHeader, n as CardProps, o as CardTitle, p as Checkbox, q as Collapsible, r as CollapsibleContent, s as CollapsibleTrigger, t as Command, u as CommandDialog, v as CommandEmpty, w as CommandGroup, x as CommandInput, y as CommandItem, z as CommandList, D as CommandSeparator, E as CommandShortcut, F as Dialog, G as DialogClose, H as DialogContent, I as DialogDescription, J as DialogFooter, K as DialogHeader, L as DialogOverlay, M as DialogPortal, N as DialogPresentation, O as DialogTitle, P as DialogTrigger, Q as DictateContextValue, R as DictateProvider, S as DocumentCard, T as DocumentCardProps, U as DocumentEntity, V as DocumentEntityProps, W as DocumentLike, X as DropdownMenu, Y as DropdownMenuCheckboxItem, Z as DropdownMenuContent, _ as DropdownMenuGroup, $ as DropdownMenuItem, a0 as DropdownMenuLabel, a1 as DropdownMenuPortal, a2 as DropdownMenuRadioGroup, a3 as DropdownMenuRadioItem, a4 as DropdownMenuSeparator, a5 as DropdownMenuShortcut, a6 as DropdownMenuSub, a7 as DropdownMenuSubContent, a8 as DropdownMenuSubTrigger, a9 as DropdownMenuTrigger, aa as ENTITY_MAPPINGS, ab as EntityIcon, ad as EntityPill, ae as EntityRegistryOverride, af as EntityType, ag as HoverCard, ah as HoverCardContent, ai as HoverCardTrigger, aj as IconToggle, ak as IconToggleProps, al as IdentityBusy, am as IdentityProblem, ao as IdentityState, as as Input, at as InputProps, au as Label, av as MarkMenu, aw as MarkMenuItem, ax as MarkMenuProps, ay as MarkdownRenderer, az as MarkdownRendererProps, aA as MarkdownStreamingContext, aB as NEUTRAL_GRAY, aC as PLACEHOLDER_COLOR, aD as PassageCard, aE as PassageCardProps, aF as Popover, aG as PopoverAnchor, aH as PopoverClose, aI as PopoverContent, aJ as PopoverTrigger, aK as PortalContainerProvider, aL as PresenceDisplayStatus, aM as PresenceLabel, aN as Progress, aO as ProjectEntity, aP as ProjectEntityProps, aQ as ProjectRelation, aR as RadioGroup, aS as RadioGroupItem, aT as Rag, aU as RagDot, aV as RelevanceDot, aW as ScrollArea, aX as ScrollBar, aY as Select, aZ as SelectContent, a_ as SelectGroup, a$ as SelectItem, b0 as SelectLabel, b1 as SelectScrollDownButton, b2 as SelectScrollUpButton, b3 as SelectSeparator, b4 as SelectTrigger, b5 as SelectValue, b6 as Separator, b7 as Slider, b8 as StatusBadgeComponent, b9 as StatusBadgeProps, ba as StatusPill, bb as StatusPillProps, bc as StatusVariant, bd as Switch, be as TAG_TYPE_ICONS, bf as TAG_TYPE_LABELS, bg as Table, bh as TableBody, bi as TableCaption, bj as TableCell, bk as TableFooter, bl as TableHead, bm as TableHeader, bn as TableRow, bo as Tabs, bp as TabsContent, bq as TabsList, br as TabsTrigger, bs as TagEntity, bt as TagEntityProps, bu as TagLike, bv as Textarea, bw as TextareaProps, bx as ThreadVisibilityIcon, by as Toggle, bz as ToggleGroup, bA as ToggleGroupItem, bB as Tooltip, bC as TooltipContent, bD as TooltipProvider, bE as TooltipTrigger, bF as UserEntity, bG as UserEntityProps, bH as UserMenu, bI as UserMenuItem, bJ as UserMenuProps, bK as UserMenuStatus, bL as VISIBILITY_ICONS, bM as VerifiedBadge, bN as VerifiedBadgeProps, bO as VisibilityIcon, bP as VisibilityToggle, bQ as VisibilityToggleProps, bR as badgeVariants, bS as buttonVariants, bT as cardVariants, bU as closeOpenEmphasis, bV as cn, bW as configureEntityRegistry, bX as configureRagLabels, bY as configureStatusRegistry, bZ as getDocIcon, b_ as getEntityColor, b$ as getEntityColorStyles, c0 as getEntityIcon, c1 as getEntityLabel, c2 as getStatusVariant, c3 as getTagTypeIcon, c4 as getTagTypeLabel, c5 as getWorkspaceColor, c6 as markdownBaseComponents, c7 as normalizeCitationMarkup, c8 as splitMarkdownBlocks, c9 as toggleVariants, ca as trimOpenCitation, cb as usePortalContainer } from './index-B1O2cqOo.js';
15
15
  import { VerificationResult } from '@didit-protocol/sdk-web';
16
16
  import { LucideIcon } from 'lucide-react';
17
17
  import { Components } from 'react-markdown';
@@ -688,6 +688,8 @@ declare function useDocuments(workspaceId: string | undefined, options?: {
688
688
  is_current: boolean;
689
689
  markup_revision: number;
690
690
  markup_count: number;
691
+ source_message_ext_id?: string | null | undefined;
692
+ conversation_ext_id?: string | null | undefined;
691
693
  }[];
692
694
  thread_id?: string | null | undefined;
693
695
  derived_from: {
@@ -4376,6 +4378,8 @@ declare function useWorkspaceDocs(workspaceId?: string): {
4376
4378
  is_current: boolean;
4377
4379
  markup_revision: number;
4378
4380
  markup_count: number;
4381
+ source_message_ext_id?: string | null | undefined;
4382
+ conversation_ext_id?: string | null | undefined;
4379
4383
  }[];
4380
4384
  thread_id?: string | null | undefined;
4381
4385
  derived_from: {
package/dist/index.js CHANGED
@@ -1,25 +1,25 @@
1
1
  import { arbiQueryKeys, useDocuments, useConversations, useAssistantQuery, useConversationThreads, useWorkspaces, useParsedDocument, useTags, useActivity, useThumbnails } from './chunk-5WXNTCI3.js';
2
2
  export { PROJECT_CREATION_DENIED_REASON, arbiQueryKeys, isUsageMetered, useActivity, useAgents, useAssistantQuery, useCanCreateProjects, useConfigs, useConversationThreads, useConversations, useCurrentUser, useDeleteAgents, useDocuments, useFacts, useFirmPool, useHealth, useParsedDocument, useProjectInvoices, useProjectUsage, useProjects, useProjectsUsage, useSessions, useTags, useThumbnails, useTopUpFirmPool, useUserUsageToday, useWorkspaceActivity, useWorkspaceUsers, useWorkspaces } from './chunk-5WXNTCI3.js';
3
+ export { cleanDraftMarkdown, cleanDraftWithReport, promoteBoldTitle, repairParsedStructure, repairParsedTitle, stripAgentPreamble, unescapeMarkdown, unwrapCitationLinks } from './chunk-G6FHNURH.js';
3
4
  import { formatRelativeTime } from './chunk-ECOSGMTW.js';
4
5
  export { DEFAULT_NOTIFY_TONE, NotificationBell, Toaster, formatRelativeTime, notify, seedNotifications, selectUnread, toast, useNotify } from './chunk-ECOSGMTW.js';
5
- import { returnFocusToMark, MarkMenu, AiMarkdown, Card, Badge, TagEntity, Input, FILE_TYPE_COLORS, getEntityIcon, UserEntity, getEntityColorStyles, AgentBadge, Textarea, Label, Slider, DocumentEntity, DocumentCard, useAudioRecorder, MicWaveformIndicator, IconToggle, classifyMediaError, formatElapsed, PassageCard } from './chunk-FLZ3OT2V.js';
6
- export { AUDIO_MIME_PREFERENCE, AgentBadge, AiMarkdown, ArbiBotHeadIcon, ArbiIcon, AudIcon, Avatar, AvatarFallback, AvatarImage, BASE_COLORS, Badge, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Checkbox, Collapsible, CollapsibleContent, CollapsibleTrigger, Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, DEFAULT_SEGMENTER_CONFIG, DictateProvider, DocIcon, DocumentCard, DocumentEntity, ENTITY_MAPPINGS, EmlIcon, EntityIcon, EntityPill, FILE_TYPE_COLORS, HoverCard, HoverCardContent, HoverCardTrigger, HtmlIcon, INITIAL_SEGMENTER_STATE, 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, VIDEO_MIME_PREFERENCE, VISIBILITY_ICONS, VerifiedBadge, VidIcon, VisibilityIcon, VisibilityToggle, XlsIcon, badgeVariants, cardVariants, classifyMediaError, configureEntityRegistry, configureRagLabels, configureStatusRegistry, createChunkedRecorder, flushSegmenter, formatElapsed, getDocIcon, getEntityColor, getEntityColorStyles, getEntityIcon, getEntityLabel, getStatusVariant, getTagTypeIcon, getTagTypeLabel, getWorkspaceColor, levelFromRms, pickRecorderMimeType, stepSegmenter, toggleVariants, useAudioRecorder } from './chunk-FLZ3OT2V.js';
6
+ import { returnFocusToMark, MarkMenu, AiMarkdown, Card, Badge, TagEntity, Input, FILE_TYPE_COLORS, getEntityIcon, UserEntity, getEntityColorStyles, AgentBadge, Textarea, Label, Slider, DocumentEntity, DocumentCard, useAudioRecorder, MicWaveformIndicator, IconToggle, classifyMediaError, formatElapsed, PassageCard } from './chunk-5PQO46PE.js';
7
+ export { AUDIO_MIME_PREFERENCE, AgentBadge, AiMarkdown, ArbiBotHeadIcon, ArbiIcon, AudIcon, Avatar, AvatarFallback, AvatarImage, BASE_COLORS, Badge, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Checkbox, Collapsible, CollapsibleContent, CollapsibleTrigger, Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, DEFAULT_SEGMENTER_CONFIG, DictateProvider, DocIcon, DocumentCard, DocumentEntity, ENTITY_MAPPINGS, EmlIcon, EntityIcon, EntityPill, FILE_TYPE_COLORS, HoverCard, HoverCardContent, HoverCardTrigger, HtmlIcon, INITIAL_SEGMENTER_STATE, IconToggle, ImgIcon, InlineMicButton, Input, Label, MarkMenu, MicRecordingOverlay, MicWaveformIndicator, NEUTRAL_GRAY, PLACEHOLDER_COLOR, PassageCard, PdfIcon, Popover, PopoverAnchor, PopoverClose, 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, VIDEO_MIME_PREFERENCE, VISIBILITY_ICONS, VerifiedBadge, VidIcon, VisibilityIcon, VisibilityToggle, XlsIcon, badgeVariants, cardVariants, classifyMediaError, configureEntityRegistry, configureRagLabels, configureStatusRegistry, createChunkedRecorder, flushSegmenter, formatElapsed, getDocIcon, getEntityColor, getEntityColorStyles, getEntityIcon, getEntityLabel, getStatusVariant, getTagTypeIcon, getTagTypeLabel, getWorkspaceColor, levelFromRms, pickRecorderMimeType, stepSegmenter, toggleVariants, useAudioRecorder } from './chunk-5PQO46PE.js';
7
8
  import { MarkdownRenderer } from './chunk-EKRRORFO.js';
8
9
  export { MarkdownRenderer, MarkdownStreamingContext, markdownBaseComponents, splitMarkdownBlocks } from './chunk-EKRRORFO.js';
9
- import { ScrollArea } from './chunk-W4H6XAIU.js';
10
- export { ScrollArea, ScrollBar } from './chunk-W4H6XAIU.js';
11
- import { AudioViewer, ImageViewer, VideoViewer } from './chunk-HDCRPPBW.js';
12
- export { cleanDraftMarkdown, cleanDraftWithReport, promoteBoldTitle, repairParsedStructure, repairParsedTitle, stripAgentPreamble, unescapeMarkdown, unwrapCitationLinks } from './chunk-G6FHNURH.js';
13
- import { normalizeCitationMarkup } from './chunk-QRCMKEE6.js';
14
- export { closeOpenEmphasis, normalizeCitationMarkup, trimOpenCitation } from './chunk-QRCMKEE6.js';
15
- import { useArbi, ArbiContext } from './chunk-BUFDJCDS.js';
16
- export { ArbiProvider, useArbi, useDeploymentDomain } from './chunk-BUFDJCDS.js';
17
10
  import { Button, Dialog, DialogContent, DialogHeader, DialogTitle, DialogFooter } from './chunk-YNNAJJ5Z.js';
18
11
  export { Button, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, buttonVariants } from './chunk-YNNAJJ5Z.js';
12
+ import { normalizeCitationMarkup } from './chunk-QRCMKEE6.js';
13
+ export { closeOpenEmphasis, normalizeCitationMarkup, trimOpenCitation } from './chunk-QRCMKEE6.js';
14
+ import { ScrollArea } from './chunk-W4H6XAIU.js';
15
+ export { ScrollArea, ScrollBar } from './chunk-W4H6XAIU.js';
19
16
  import { DropdownMenu, DropdownMenuTrigger, DropdownMenuContent, DropdownMenuItem, DropdownMenuSeparator } from './chunk-47CCGUWR.js';
20
17
  export { DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, PortalContainerProvider, usePortalContainer } from './chunk-47CCGUWR.js';
21
18
  import { cn } from './chunk-SN5YV6FF.js';
22
19
  export { cn } from './chunk-SN5YV6FF.js';
20
+ import { AudioViewer, ImageViewer, VideoViewer } from './chunk-HDCRPPBW.js';
21
+ import { useArbi, ArbiContext } from './chunk-BUFDJCDS.js';
22
+ export { ArbiProvider, useArbi, useDeploymentDomain } from './chunk-BUFDJCDS.js';
23
23
  import React, { memo, useState, createContext, useMemo, useCallback, useEffect, useRef, useLayoutEffect, useContext, useId, useSyncExternalStore, Fragment as Fragment$1 } from 'react';
24
24
  import { useQueryClient, useMutation, useQuery, onlineManager } from '@tanstack/react-query';
25
25
  import { resolveCitations, summarizeCitations, settings, formatFileSize, connectWithReconnect, chats, identityErrorCode } from '@arbidocs/sdk/browser';