@arbidocs/react 0.5.119 → 0.5.120

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.
@@ -1070,6 +1070,36 @@ interface DocumentEntityProps {
1070
1070
  }
1071
1071
  declare function DocumentEntity({ doc, icon, size, labelMaxWidth, labelClassName, onClick, onIconClick, viewing, iconBadge, status, actions, tooltipContent, className, fullWidth, noClamp, 'data-testid': testId, }: DocumentEntityProps): React__default.JSX.Element;
1072
1072
 
1073
+ /**
1074
+ * Where every `SharingEntity` finds the member list of its card (the entity registry's seam: the
1075
+ * connected layer, which can read the workspace's members, registers it once; panels that portal
1076
+ * outside any one subtree still get it).
1077
+ */
1078
+ declare function configureSharingMembers(members: ReactNode): void;
1079
+ declare const SHARING_LABELS: {
1080
+ readonly onlyMe: "Only me";
1081
+ readonly workspace: "Workspace";
1082
+ };
1083
+ interface SharingEntityProps {
1084
+ shared: boolean;
1085
+ /** `full` (default) icon + label; `icon` the glyph alone. */
1086
+ variant?: 'full' | 'icon';
1087
+ size?: 'sm' | 'md';
1088
+ /** Called with true to share, false to make private. Omit for an indicator that is not clickable. */
1089
+ onToggle?: (shouldShare: boolean) => void;
1090
+ disabled?: boolean;
1091
+ /** Why the visibility cannot be changed (a line in the card, or the tooltip). */
1092
+ disabledTooltip?: string;
1093
+ /** What a click does while shared / private. */
1094
+ tooltipActive?: string;
1095
+ tooltipInactive?: string;
1096
+ /** The member list of the Workspace card (default: the registered one, `configureSharingMembers`); mounted only while the card is open. */
1097
+ members?: ReactNode;
1098
+ className?: string;
1099
+ 'data-testid'?: string;
1100
+ }
1101
+ declare function SharingEntity({ shared, variant, size, onToggle, disabled, disabledTooltip, tooltipActive, tooltipInactive, members: membersProp, className, 'data-testid': testId, }: SharingEntityProps): React.JSX.Element;
1102
+
1073
1103
  /**
1074
1104
  * TagEntity Component
1075
1105
  *
@@ -2033,4 +2063,4 @@ declare function createUserAvatarIcon(user: {
2033
2063
 
2034
2064
  declare function cn(...inputs: ClassValue[]): string;
2035
2065
 
2036
- export { DropdownMenuContent as $, ARBI_MARK_SRC as A, BASE_COLORS as B, COLUMN_LABEL_FALLBACKS as C, CommandItem as D, CommandList as E, CommandSeparator as F, CommandShortcut as G, DEFAULT_METADATA_TAGS as H, DebouncedInput as I, type DebouncedInputProps as J, Dialog as K, DialogClose as L, DialogContent as M, DialogDescription as N, DialogFooter as O, DialogHeader as P, DialogOverlay as Q, DialogPortal as R, type DialogPresentation as S, DialogTitle as T, DialogTrigger as U, type DictateContextValue as V, DocumentEntity as W, type DocumentEntityProps as X, type DocumentLike as Y, DropdownMenu as Z, DropdownMenuCheckboxItem as _, AgentBadge as a, type ProjectRelation as a$, DropdownMenuGroup as a0, DropdownMenuItem as a1, DropdownMenuLabel as a2, DropdownMenuPortal as a3, DropdownMenuRadioGroup as a4, DropdownMenuRadioItem as a5, DropdownMenuSeparator as a6, DropdownMenuShortcut as a7, DropdownMenuSub as a8, DropdownMenuSubContent as a9, type IdentityVerificationFlow as aA, Input as aB, type InputProps as aC, Label as aD, MarkMenu as aE, type MarkMenuItem as aF, type MarkMenuProps as aG, MarkdownCode as aH, MarkdownLink as aI, MarkdownRenderer as aJ, type MarkdownRendererProps as aK, MarkdownStreamingContext as aL, NEUTRAL_GRAY as aM, PLACEHOLDER_COLOR as aN, PassageCard as aO, type PassageCardProps as aP, Popover as aQ, PopoverAnchor as aR, PopoverClose as aS, PopoverContent as aT, PopoverTrigger as aU, PortalContainerProvider as aV, type PresenceDisplayStatus as aW, PresenceLabel as aX, Progress as aY, ProjectEntity as aZ, type ProjectEntityProps as a_, DropdownMenuSubTrigger as aa, DropdownMenuTrigger as ab, ENTITY_MAPPINGS as ac, EntityIcon as ad, type EntityIconComponent as ae, type EntityLabelForm as af, type EntityNoun as ag, EntityPill as ah, type EntityRegistryOverride as ai, type EntitySize as aj, type EntityType as ak, type EntityVocabulary as al, type FileTypeIcon as am, type FolderTreeNode as an, type FormatRelativeTimeOptions as ao, HoverCard as ap, HoverCardContent as aq, HoverCardTrigger as ar, IconToggle as as, type IconToggleProps as at, type IdentityBusy as au, type IdentityProblem as av, type IdentityPurchase as aw, type IdentityState as ax, type IdentityStatus as ay, type IdentityStep as az, AiMarkdown as b, VisibilityIcon as b$, ProviderIcon as b0, RadioGroup as b1, RadioGroupItem as b2, type Rag as b3, ScrollArea as b4, ScrollBar as b5, Select as b6, SelectContent as b7, SelectGroup as b8, SelectItem as b9, Tabs as bA, TabsContent as bB, TabsList as bC, TabsTrigger as bD, TagEntity as bE, type TagEntityProps as bF, type TagLike as bG, Textarea as bH, type TextareaProps as bI, ThreadVisibilityIcon as bJ, Toggle as bK, ToggleGroup as bL, ToggleGroupItem as bM, Tooltip as bN, TooltipContent as bO, TooltipProvider as bP, TooltipTrigger as bQ, UserEntity as bR, type UserEntityProps as bS, UserMenu as bT, type UserMenuItem as bU, type UserMenuProps as bV, type UserMenuStatus as bW, VISIBILITY_ICONS as bX, VerifiedBadge as bY, type VerifiedBadgeProps as bZ, VerifiedToggle as b_, SelectLabel as ba, SelectScrollDownButton as bb, SelectScrollUpButton as bc, SelectSeparator as bd, SelectTrigger as be, SelectValue as bf, Separator as bg, ShieldIcon as bh, type ShieldIconProps as bi, Slider as bj, type StatusBadgeComponent as bk, type StatusBadgeProps as bl, StatusPill as bm, type StatusPillProps as bn, type StatusVariant as bo, Switch as bp, TAG_TYPE_ICONS as bq, TAG_TYPE_LABELS as br, Table as bs, TableBody as bt, TableCaption as bu, TableCell as bv, TableFooter as bw, TableHead as bx, TableHeader as by, TableRow as bz, ArbiIcon as c, VisibilityToggle as c0, type VisibilityToggleProps as c1, agentAvatarColors as c2, badgeVariants as c3, buildFolderTree as c4, buttonVariants as c5, canonicalFolderPath as c6, cardVariants as c7, closeOpenEmphasis as c8, cn as c9, getTagTypeIcon as cA, getTagTypeLabel as cB, getUserAvatarColor as cC, getUserDisplayName as cD, getUserInitials as cE, getWorkspaceColor as cF, isAgent as cG, isAudioFile as cH, isDocumentAddableToConversation as cI, isDownloadOnlyFile as cJ, isImageDocument as cK, isImageFile as cL, isMediaFile as cM, isVideoFile as cN, markdownBaseComponents as cO, markdownSanitizeSchema as cP, markdownToPlainText as cQ, markdownToPlainTextBlocks as cR, normalizeCitationMarkup as cS, splitMarkdownBlocks as cT, tagKindNouns as cU, tagKindTitle as cV, toggleVariants as cW, trimOpenCitation as cX, useDictateContext as cY, usePortalContainer as cZ, usesOriginalBytesForViewer as c_, configureEntityRegistry as ca, configureEntityVocabulary as cb, configureRagLabels as cc, configureStatusRegistry as cd, createUserAvatarIcon as ce, entityNoun as cf, extensionFromMime as cg, formatCompactLastSeen as ch, formatDocDate as ci, formatFolderLabel as cj, formatFriendlyDate as ck, formatRelativeTime as cl, friendlyFileType as cm, getDocIcon as cn, getDocumentAuthor as co, getDocumentDate as cp, getDocumentNature as cq, getDocumentSubject as cr, getDocumentTitle as cs, getEntityColor as ct, getEntityColorStyles as cu, getEntityIcon as cv, getEntityLabel as cw, getFileExtension as cx, getFileTypeIcon as cy, getStatusVariant as cz, Avatar as d, AvatarFallback as e, AvatarImage as f, Badge as g, type BadgeProps as h, Button as i, type ButtonProps as j, Card as k, CardContent as l, CardDescription as m, CardFooter as n, CardHeader as o, type CardProps as p, CardTitle as q, Checkbox as r, Collapsible as s, CollapsibleContent as t, CollapsibleTrigger as u, Command as v, CommandDialog as w, CommandEmpty as x, CommandGroup as y, CommandInput as z };
2066
+ export { DropdownMenuContent as $, ARBI_MARK_SRC as A, BASE_COLORS as B, COLUMN_LABEL_FALLBACKS as C, CommandItem as D, CommandList as E, CommandSeparator as F, CommandShortcut as G, DEFAULT_METADATA_TAGS as H, DebouncedInput as I, type DebouncedInputProps as J, Dialog as K, DialogClose as L, DialogContent as M, DialogDescription as N, DialogFooter as O, DialogHeader as P, DialogOverlay as Q, DialogPortal as R, type DialogPresentation as S, DialogTitle as T, DialogTrigger as U, type DictateContextValue as V, DocumentEntity as W, type DocumentEntityProps as X, type DocumentLike as Y, DropdownMenu as Z, DropdownMenuCheckboxItem as _, AgentBadge as a, type ProjectRelation as a$, DropdownMenuGroup as a0, DropdownMenuItem as a1, DropdownMenuLabel as a2, DropdownMenuPortal as a3, DropdownMenuRadioGroup as a4, DropdownMenuRadioItem as a5, DropdownMenuSeparator as a6, DropdownMenuShortcut as a7, DropdownMenuSub as a8, DropdownMenuSubContent as a9, type IdentityVerificationFlow as aA, Input as aB, type InputProps as aC, Label as aD, MarkMenu as aE, type MarkMenuItem as aF, type MarkMenuProps as aG, MarkdownCode as aH, MarkdownLink as aI, MarkdownRenderer as aJ, type MarkdownRendererProps as aK, MarkdownStreamingContext as aL, NEUTRAL_GRAY as aM, PLACEHOLDER_COLOR as aN, PassageCard as aO, type PassageCardProps as aP, Popover as aQ, PopoverAnchor as aR, PopoverClose as aS, PopoverContent as aT, PopoverTrigger as aU, PortalContainerProvider as aV, type PresenceDisplayStatus as aW, PresenceLabel as aX, Progress as aY, ProjectEntity as aZ, type ProjectEntityProps as a_, DropdownMenuSubTrigger as aa, DropdownMenuTrigger as ab, ENTITY_MAPPINGS as ac, EntityIcon as ad, type EntityIconComponent as ae, type EntityLabelForm as af, type EntityNoun as ag, EntityPill as ah, type EntityRegistryOverride as ai, type EntitySize as aj, type EntityType as ak, type EntityVocabulary as al, type FileTypeIcon as am, type FolderTreeNode as an, type FormatRelativeTimeOptions as ao, HoverCard as ap, HoverCardContent as aq, HoverCardTrigger as ar, IconToggle as as, type IconToggleProps as at, type IdentityBusy as au, type IdentityProblem as av, type IdentityPurchase as aw, type IdentityState as ax, type IdentityStatus as ay, type IdentityStep as az, AiMarkdown as b, VerifiedBadge as b$, ProviderIcon as b0, RadioGroup as b1, RadioGroupItem as b2, type Rag as b3, SHARING_LABELS as b4, ScrollArea as b5, ScrollBar as b6, Select as b7, SelectContent as b8, SelectGroup as b9, TableHead as bA, TableHeader as bB, TableRow as bC, Tabs as bD, TabsContent as bE, TabsList as bF, TabsTrigger as bG, TagEntity as bH, type TagEntityProps as bI, type TagLike as bJ, Textarea as bK, type TextareaProps as bL, ThreadVisibilityIcon as bM, Toggle as bN, ToggleGroup as bO, ToggleGroupItem as bP, Tooltip as bQ, TooltipContent as bR, TooltipProvider as bS, TooltipTrigger as bT, UserEntity as bU, type UserEntityProps as bV, UserMenu as bW, type UserMenuItem as bX, type UserMenuProps as bY, type UserMenuStatus as bZ, VISIBILITY_ICONS as b_, SelectItem as ba, SelectLabel as bb, SelectScrollDownButton as bc, SelectScrollUpButton as bd, SelectSeparator as be, SelectTrigger as bf, SelectValue as bg, Separator as bh, SharingEntity as bi, type SharingEntityProps as bj, ShieldIcon as bk, type ShieldIconProps as bl, Slider as bm, type StatusBadgeComponent as bn, type StatusBadgeProps as bo, StatusPill as bp, type StatusPillProps as bq, type StatusVariant as br, Switch as bs, TAG_TYPE_ICONS as bt, TAG_TYPE_LABELS as bu, Table as bv, TableBody as bw, TableCaption as bx, TableCell as by, TableFooter as bz, ArbiIcon as c, trimOpenCitation as c$, type VerifiedBadgeProps as c0, VerifiedToggle as c1, VisibilityIcon as c2, VisibilityToggle as c3, type VisibilityToggleProps as c4, agentAvatarColors as c5, badgeVariants as c6, buildFolderTree as c7, buttonVariants as c8, canonicalFolderPath as c9, getEntityLabel as cA, getFileExtension as cB, getFileTypeIcon as cC, getStatusVariant as cD, getTagTypeIcon as cE, getTagTypeLabel as cF, getUserAvatarColor as cG, getUserDisplayName as cH, getUserInitials as cI, getWorkspaceColor as cJ, isAgent as cK, isAudioFile as cL, isDocumentAddableToConversation as cM, isDownloadOnlyFile as cN, isImageDocument as cO, isImageFile as cP, isMediaFile as cQ, isVideoFile as cR, markdownBaseComponents as cS, markdownSanitizeSchema as cT, markdownToPlainText as cU, markdownToPlainTextBlocks as cV, normalizeCitationMarkup as cW, splitMarkdownBlocks as cX, tagKindNouns as cY, tagKindTitle as cZ, toggleVariants as c_, cardVariants as ca, closeOpenEmphasis as cb, cn as cc, configureEntityRegistry as cd, configureEntityVocabulary as ce, configureRagLabels as cf, configureSharingMembers as cg, configureStatusRegistry as ch, createUserAvatarIcon as ci, entityNoun as cj, extensionFromMime as ck, formatCompactLastSeen as cl, formatDocDate as cm, formatFolderLabel as cn, formatFriendlyDate as co, formatRelativeTime as cp, friendlyFileType as cq, getDocIcon as cr, getDocumentAuthor as cs, getDocumentDate as ct, getDocumentNature as cu, getDocumentSubject as cv, getDocumentTitle as cw, getEntityColor as cx, getEntityColorStyles as cy, getEntityIcon as cz, Avatar as d, useDictateContext as d0, usePortalContainer as d1, usesOriginalBytesForViewer as d2, AvatarFallback as e, AvatarImage as f, Badge as g, type BadgeProps as h, Button as i, type ButtonProps as j, Card as k, CardContent as l, CardDescription as m, CardFooter as n, CardHeader as o, type CardProps as p, CardTitle as q, Checkbox as r, Collapsible as s, CollapsibleContent as t, CollapsibleTrigger as u, Command as v, CommandDialog as w, CommandEmpty as x, CommandGroup as y, CommandInput as z };
package/dist/index.d.ts CHANGED
@@ -6,8 +6,8 @@ export { ACCOUNT_VENDOR, AccountSyncResult, ActivityKind, ActivityResponse, Agen
6
6
  import * as _arbidocs_client from '@arbidocs/client';
7
7
  import { components, WsTaskUpdateMessage, WsPresenceUpdateMessage, WsAuthResultMessage, WebSocketServerMessage, SessionUser, SessionManager, ArbiClient, RecoveryKeyParams, CallPeer } from '@arbidocs/client';
8
8
  export { CallPeer, WebSocketServerMessage, WsBatchCompleteMessage, WsConversationMessagePostedMessage, WsNotificationResponse, WsPresenceUpdateMessage, WsResponseCompleteMessage, WsTaskUpdateMessage, isMessageType } from '@arbidocs/client';
9
- import { ay as IdentityStatus, aw as IdentityPurchase, az as IdentityStep, aA as IdentityVerificationFlow, V as DictateContextValue, al as EntityVocabulary, ae as EntityIconComponent, aj as EntitySize } from './index.d-CYXcTKYt.js';
10
- export { A as ARBI_MARK_SRC, a as AgentBadge, b as AiMarkdown, c as ArbiIcon, d as Avatar, e as AvatarFallback, f as AvatarImage, B as BASE_COLORS, g as Badge, h as BadgeProps, i as Button, j as ButtonProps, C as COLUMN_LABEL_FALLBACKS, k as Card, l as CardContent, m as CardDescription, n as CardFooter, o as CardHeader, p as CardProps, q as CardTitle, r as Checkbox, s as Collapsible, t as CollapsibleContent, u as CollapsibleTrigger, v as Command, w as CommandDialog, x as CommandEmpty, y as CommandGroup, z as CommandInput, D as CommandItem, E as CommandList, F as CommandSeparator, G as CommandShortcut, H as DEFAULT_METADATA_TAGS, I as DebouncedInput, J as DebouncedInputProps, K as Dialog, L as DialogClose, M as DialogContent, N as DialogDescription, O as DialogFooter, P as DialogHeader, Q as DialogOverlay, R as DialogPortal, S as DialogPresentation, T as DialogTitle, U as DialogTrigger, W as DocumentEntity, X as DocumentEntityProps, Y as DocumentLike, Z as DropdownMenu, _ as DropdownMenuCheckboxItem, $ as DropdownMenuContent, a0 as DropdownMenuGroup, a1 as DropdownMenuItem, a2 as DropdownMenuLabel, a3 as DropdownMenuPortal, a4 as DropdownMenuRadioGroup, a5 as DropdownMenuRadioItem, a6 as DropdownMenuSeparator, a7 as DropdownMenuShortcut, a8 as DropdownMenuSub, a9 as DropdownMenuSubContent, aa as DropdownMenuSubTrigger, ab as DropdownMenuTrigger, ac as ENTITY_MAPPINGS, ad as EntityIcon, af as EntityLabelForm, ag as EntityNoun, ah as EntityPill, ai as EntityRegistryOverride, ak as EntityType, am as FileTypeIcon, an as FolderTreeNode, ap as HoverCard, aq as HoverCardContent, ar as HoverCardTrigger, as as IconToggle, at as IconToggleProps, au as IdentityBusy, av as IdentityProblem, ax as IdentityState, aB as Input, aC as InputProps, aD as Label, aE as MarkMenu, aF as MarkMenuItem, aG as MarkMenuProps, aH as MarkdownCode, aI as MarkdownLink, aJ as MarkdownRenderer, aK as MarkdownRendererProps, aL as MarkdownStreamingContext, aM as NEUTRAL_GRAY, aN as PLACEHOLDER_COLOR, aO as PassageCard, aP as PassageCardProps, aQ as Popover, aR as PopoverAnchor, aS as PopoverClose, aT as PopoverContent, aU as PopoverTrigger, aV as PortalContainerProvider, aW as PresenceDisplayStatus, aX as PresenceLabel, aY as Progress, aZ as ProjectEntity, a_ as ProjectEntityProps, a$ as ProjectRelation, b0 as ProviderIcon, b1 as RadioGroup, b2 as RadioGroupItem, b3 as Rag, b4 as ScrollArea, b5 as ScrollBar, b6 as Select, b7 as SelectContent, b8 as SelectGroup, b9 as SelectItem, ba as SelectLabel, bb as SelectScrollDownButton, bc as SelectScrollUpButton, bd as SelectSeparator, be as SelectTrigger, bf as SelectValue, bg as Separator, bh as ShieldIcon, bi as ShieldIconProps, bj as Slider, bk as StatusBadgeComponent, bl as StatusBadgeProps, bm as StatusPill, bn as StatusPillProps, bo as StatusVariant, bp as Switch, bq as TAG_TYPE_ICONS, br as TAG_TYPE_LABELS, bs as Table, bt as TableBody, bu as TableCaption, bv as TableCell, bw as TableFooter, bx as TableHead, by as TableHeader, bz as TableRow, bA as Tabs, bB as TabsContent, bC as TabsList, bD as TabsTrigger, bE as TagEntity, bF as TagEntityProps, bG as TagLike, bH as Textarea, bI as TextareaProps, bJ as ThreadVisibilityIcon, bK as Toggle, bL as ToggleGroup, bM as ToggleGroupItem, bN as Tooltip, bO as TooltipContent, bP as TooltipProvider, bQ as TooltipTrigger, bR as UserEntity, bS as UserEntityProps, bT as UserMenu, bU as UserMenuItem, bV as UserMenuProps, bW as UserMenuStatus, bX as VISIBILITY_ICONS, bY as VerifiedBadge, bZ as VerifiedBadgeProps, b_ as VerifiedToggle, b$ as VisibilityIcon, c0 as VisibilityToggle, c1 as VisibilityToggleProps, c2 as agentAvatarColors, c3 as badgeVariants, c4 as buildFolderTree, c5 as buttonVariants, c6 as canonicalFolderPath, c7 as cardVariants, c8 as closeOpenEmphasis, c9 as cn, ca as configureEntityRegistry, cb as configureEntityVocabulary, cc as configureRagLabels, cd as configureStatusRegistry, ce as createUserAvatarIcon, cf as entityNoun, cg as extensionFromMime, ch as formatCompactLastSeen, ci as formatDocDate, cj as formatFolderLabel, ck as formatFriendlyDate, cl as formatRelativeTime, cm as friendlyFileType, cn as getDocIcon, co as getDocumentAuthor, cp as getDocumentDate, cq as getDocumentNature, cr as getDocumentSubject, cs as getDocumentTitle, ct as getEntityColor, cu as getEntityColorStyles, cv as getEntityIcon, cw as getEntityLabel, cx as getFileExtension, cy as getFileTypeIcon, cz as getStatusVariant, cA as getTagTypeIcon, cB as getTagTypeLabel, cC as getUserAvatarColor, cD as getUserDisplayName, cE as getUserInitials, cF as getWorkspaceColor, cG as isAgent, cH as isAudioFile, cI as isDocumentAddableToConversation, cJ as isDownloadOnlyFile, cK as isImageDocument, cL as isImageFile, cM as isMediaFile, cN as isVideoFile, cO as markdownBaseComponents, cP as markdownSanitizeSchema, cQ as markdownToPlainText, cR as markdownToPlainTextBlocks, cS as normalizeCitationMarkup, cT as splitMarkdownBlocks, cU as tagKindNouns, cV as tagKindTitle, cW as toggleVariants, cX as trimOpenCitation, cY as useDictateContext, cZ as usePortalContainer, c_ as usesOriginalBytesForViewer } from './index.d-CYXcTKYt.js';
9
+ import { ay as IdentityStatus, aw as IdentityPurchase, az as IdentityStep, aA as IdentityVerificationFlow, V as DictateContextValue, al as EntityVocabulary, ae as EntityIconComponent, aj as EntitySize } from './index.d-DYlUprG9.js';
10
+ export { A as ARBI_MARK_SRC, a as AgentBadge, b as AiMarkdown, c as ArbiIcon, d as Avatar, e as AvatarFallback, f as AvatarImage, B as BASE_COLORS, g as Badge, h as BadgeProps, i as Button, j as ButtonProps, C as COLUMN_LABEL_FALLBACKS, k as Card, l as CardContent, m as CardDescription, n as CardFooter, o as CardHeader, p as CardProps, q as CardTitle, r as Checkbox, s as Collapsible, t as CollapsibleContent, u as CollapsibleTrigger, v as Command, w as CommandDialog, x as CommandEmpty, y as CommandGroup, z as CommandInput, D as CommandItem, E as CommandList, F as CommandSeparator, G as CommandShortcut, H as DEFAULT_METADATA_TAGS, I as DebouncedInput, J as DebouncedInputProps, K as Dialog, L as DialogClose, M as DialogContent, N as DialogDescription, O as DialogFooter, P as DialogHeader, Q as DialogOverlay, R as DialogPortal, S as DialogPresentation, T as DialogTitle, U as DialogTrigger, W as DocumentEntity, X as DocumentEntityProps, Y as DocumentLike, Z as DropdownMenu, _ as DropdownMenuCheckboxItem, $ as DropdownMenuContent, a0 as DropdownMenuGroup, a1 as DropdownMenuItem, a2 as DropdownMenuLabel, a3 as DropdownMenuPortal, a4 as DropdownMenuRadioGroup, a5 as DropdownMenuRadioItem, a6 as DropdownMenuSeparator, a7 as DropdownMenuShortcut, a8 as DropdownMenuSub, a9 as DropdownMenuSubContent, aa as DropdownMenuSubTrigger, ab as DropdownMenuTrigger, ac as ENTITY_MAPPINGS, ad as EntityIcon, af as EntityLabelForm, ag as EntityNoun, ah as EntityPill, ai as EntityRegistryOverride, ak as EntityType, am as FileTypeIcon, an as FolderTreeNode, ap as HoverCard, aq as HoverCardContent, ar as HoverCardTrigger, as as IconToggle, at as IconToggleProps, au as IdentityBusy, av as IdentityProblem, ax as IdentityState, aB as Input, aC as InputProps, aD as Label, aE as MarkMenu, aF as MarkMenuItem, aG as MarkMenuProps, aH as MarkdownCode, aI as MarkdownLink, aJ as MarkdownRenderer, aK as MarkdownRendererProps, aL as MarkdownStreamingContext, aM as NEUTRAL_GRAY, aN as PLACEHOLDER_COLOR, aO as PassageCard, aP as PassageCardProps, aQ as Popover, aR as PopoverAnchor, aS as PopoverClose, aT as PopoverContent, aU as PopoverTrigger, aV as PortalContainerProvider, aW as PresenceDisplayStatus, aX as PresenceLabel, aY as Progress, aZ as ProjectEntity, a_ as ProjectEntityProps, a$ as ProjectRelation, b0 as ProviderIcon, b1 as RadioGroup, b2 as RadioGroupItem, b3 as Rag, b4 as SHARING_LABELS, b5 as ScrollArea, b6 as ScrollBar, b7 as Select, b8 as SelectContent, b9 as SelectGroup, ba as SelectItem, bb as SelectLabel, bc as SelectScrollDownButton, bd as SelectScrollUpButton, be as SelectSeparator, bf as SelectTrigger, bg as SelectValue, bh as Separator, bi as SharingEntity, bj as SharingEntityProps, bk as ShieldIcon, bl as ShieldIconProps, bm as Slider, bn as StatusBadgeComponent, bo as StatusBadgeProps, bp as StatusPill, bq as StatusPillProps, br as StatusVariant, bs as Switch, bt as TAG_TYPE_ICONS, bu as TAG_TYPE_LABELS, bv as Table, bw as TableBody, bx as TableCaption, by as TableCell, bz as TableFooter, bA as TableHead, bB as TableHeader, bC as TableRow, bD as Tabs, bE as TabsContent, bF as TabsList, bG as TabsTrigger, bH as TagEntity, bI as TagEntityProps, bJ as TagLike, bK as Textarea, bL as TextareaProps, bM as ThreadVisibilityIcon, bN as Toggle, bO as ToggleGroup, bP as ToggleGroupItem, bQ as Tooltip, bR as TooltipContent, bS as TooltipProvider, bT as TooltipTrigger, bU as UserEntity, bV as UserEntityProps, bW as UserMenu, bX as UserMenuItem, bY as UserMenuProps, bZ as UserMenuStatus, b_ as VISIBILITY_ICONS, b$ as VerifiedBadge, c0 as VerifiedBadgeProps, c1 as VerifiedToggle, c2 as VisibilityIcon, c3 as VisibilityToggle, c4 as VisibilityToggleProps, c5 as agentAvatarColors, c6 as badgeVariants, c7 as buildFolderTree, c8 as buttonVariants, c9 as canonicalFolderPath, ca as cardVariants, cb as closeOpenEmphasis, cc as cn, cd as configureEntityRegistry, ce as configureEntityVocabulary, cf as configureRagLabels, cg as configureSharingMembers, ch as configureStatusRegistry, ci as createUserAvatarIcon, cj as entityNoun, ck as extensionFromMime, cl as formatCompactLastSeen, cm as formatDocDate, cn as formatFolderLabel, co as formatFriendlyDate, cp as formatRelativeTime, cq as friendlyFileType, cr as getDocIcon, cs as getDocumentAuthor, ct as getDocumentDate, cu as getDocumentNature, cv as getDocumentSubject, cw as getDocumentTitle, cx as getEntityColor, cy as getEntityColorStyles, cz as getEntityIcon, cA as getEntityLabel, cB as getFileExtension, cC as getFileTypeIcon, cD as getStatusVariant, cE as getTagTypeIcon, cF as getTagTypeLabel, cG as getUserAvatarColor, cH as getUserDisplayName, cI as getUserInitials, cJ as getWorkspaceColor, cK as isAgent, cL as isAudioFile, cM as isDocumentAddableToConversation, cN as isDownloadOnlyFile, cO as isImageDocument, cP as isImageFile, cQ as isMediaFile, cR as isVideoFile, cS as markdownBaseComponents, cT as markdownSanitizeSchema, cU as markdownToPlainText, cV as markdownToPlainTextBlocks, cW as normalizeCitationMarkup, cX as splitMarkdownBlocks, cY as tagKindNouns, cZ as tagKindTitle, c_ as toggleVariants, c$ as trimOpenCitation, d0 as useDictateContext, d1 as usePortalContainer, d2 as usesOriginalBytesForViewer } from './index.d-DYlUprG9.js';
11
11
  import * as _tanstack_react_query from '@tanstack/react-query';
12
12
  import { QueryClient, QueryKey, MutationKey, Mutation } from '@tanstack/react-query';
13
13
  import { M as MeetingChatRef, a as ActiveCall, W as SegmenterConfig, G as IncomingCall, J as JoinChoices, N as MeetingChatTarget, v as ChatResponse, t as ChatMemberKey, b as AgentDmStatus, x as ChatThreadMessage } from './useAudioRecorder.d-B9rlMI_E.js';
@@ -4277,6 +4277,12 @@ interface ParsedChunkMetadata {
4277
4277
  element_type?: string;
4278
4278
  /** JSON mode only: [x_min, y_min, x_max, y_max]. */
4279
4279
  bbox?: [number, number, number, number];
4280
+ /**
4281
+ * Where the chunk sits on `page_number`: [x0, y0, x1, y1] as fractions of the page, origin
4282
+ * top-left, as the page is displayed. [0, 0, 1, 1] when the parser recognized no block on the
4283
+ * page to place it by; absent for a document parsed before boxes were recorded.
4284
+ */
4285
+ page_bbox?: number[] | null;
4280
4286
  }
4281
4287
  interface ParsedChunk {
4282
4288
  /** Markdown content of the chunk. */
@@ -4575,6 +4581,7 @@ declare function useMessageDetails(messageId: string | null | undefined, options
4575
4581
  tokens?: number | null | undefined;
4576
4582
  created_at: string;
4577
4583
  heading: boolean;
4584
+ page_bbox?: number[] | null | undefined;
4578
4585
  bbox?: number[] | null | undefined;
4579
4586
  element_type?: string | null | undefined;
4580
4587
  heading_level?: number | null | undefined;
@@ -4607,6 +4614,7 @@ declare function useMessageDetails(messageId: string | null | undefined, options
4607
4614
  tokens?: number | null | undefined;
4608
4615
  created_at: string;
4609
4616
  heading: boolean;
4617
+ page_bbox?: number[] | null | undefined;
4610
4618
  bbox?: number[] | null | undefined;
4611
4619
  element_type?: string | null | undefined;
4612
4620
  heading_level?: number | null | undefined;
@@ -4861,6 +4869,7 @@ declare function useHealth(options?: {
4861
4869
  status: string;
4862
4870
  backend_git_hash?: string | null | undefined;
4863
4871
  frontend_docker_version?: string | null | undefined;
4872
+ deployment_policy_version?: number | null | undefined;
4864
4873
  services: {
4865
4874
  name: string;
4866
4875
  status: string;
@@ -1,156 +1,156 @@
1
1
  'use strict';
2
2
 
3
- var chunkZ3W4XFWB_cjs = require('../chunk-Z3W4XFWB.cjs');
3
+ var chunkC72FSQUE_cjs = require('../chunk-C72FSQUE.cjs');
4
4
  var chunkRLSBRZ6Z_cjs = require('../chunk-RLSBRZ6Z.cjs');
5
5
  require('../chunk-N73IMVFF.cjs');
6
6
  require('../chunk-NDIKMOBJ.cjs');
7
7
  require('../chunk-VOFNX4P6.cjs');
8
8
  require('../chunk-KC474WVG.cjs');
9
- require('../chunk-HJDR5HEO.cjs');
10
9
  var chunk5NOZDH3F_cjs = require('../chunk-5NOZDH3F.cjs');
10
+ require('../chunk-HJDR5HEO.cjs');
11
11
  require('../chunk-S6A6FSG7.cjs');
12
12
 
13
13
 
14
14
 
15
15
  Object.defineProperty(exports, "ArbiHost", {
16
16
  enumerable: true,
17
- get: function () { return chunkZ3W4XFWB_cjs.ArbiHost; }
17
+ get: function () { return chunkC72FSQUE_cjs.ArbiHost; }
18
18
  });
19
19
  Object.defineProperty(exports, "DEFAULT_ASSISTANT_NAME", {
20
20
  enumerable: true,
21
- get: function () { return chunkZ3W4XFWB_cjs.DEFAULT_ASSISTANT_NAME; }
21
+ get: function () { return chunkC72FSQUE_cjs.DEFAULT_ASSISTANT_NAME; }
22
22
  });
23
23
  Object.defineProperty(exports, "LEGACY_THREAD_DOCUMENTS_KEY", {
24
24
  enumerable: true,
25
- get: function () { return chunkZ3W4XFWB_cjs.LEGACY_THREAD_DOCUMENTS_KEY; }
25
+ get: function () { return chunkC72FSQUE_cjs.LEGACY_THREAD_DOCUMENTS_KEY; }
26
26
  });
27
27
  Object.defineProperty(exports, "MENTION_HREF_PREFIX", {
28
28
  enumerable: true,
29
- get: function () { return chunkZ3W4XFWB_cjs.MENTION_HREF_PREFIX; }
29
+ get: function () { return chunkC72FSQUE_cjs.MENTION_HREF_PREFIX; }
30
30
  });
31
31
  Object.defineProperty(exports, "NotificationBell", {
32
32
  enumerable: true,
33
- get: function () { return chunkZ3W4XFWB_cjs.NotificationBell; }
33
+ get: function () { return chunkC72FSQUE_cjs.NotificationBell; }
34
34
  });
35
35
  Object.defineProperty(exports, "Toaster", {
36
36
  enumerable: true,
37
- get: function () { return chunkZ3W4XFWB_cjs.Toaster; }
37
+ get: function () { return chunkC72FSQUE_cjs.Toaster; }
38
38
  });
39
39
  Object.defineProperty(exports, "UNBOUND", {
40
40
  enumerable: true,
41
- get: function () { return chunkZ3W4XFWB_cjs.UNBOUND; }
41
+ get: function () { return chunkC72FSQUE_cjs.UNBOUND; }
42
42
  });
43
43
  Object.defineProperty(exports, "assistantCopy", {
44
44
  enumerable: true,
45
- get: function () { return chunkZ3W4XFWB_cjs.assistantCopy; }
45
+ get: function () { return chunkC72FSQUE_cjs.assistantCopy; }
46
46
  });
47
47
  Object.defineProperty(exports, "bindingOfRow", {
48
48
  enumerable: true,
49
- get: function () { return chunkZ3W4XFWB_cjs.bindingOfRow; }
49
+ get: function () { return chunkC72FSQUE_cjs.bindingOfRow; }
50
50
  });
51
51
  Object.defineProperty(exports, "clearSearchSession", {
52
52
  enumerable: true,
53
- get: function () { return chunkZ3W4XFWB_cjs.clearSearchSession; }
53
+ get: function () { return chunkC72FSQUE_cjs.clearSearchSession; }
54
54
  });
55
55
  Object.defineProperty(exports, "createSearchSession", {
56
56
  enumerable: true,
57
- get: function () { return chunkZ3W4XFWB_cjs.createSearchSession; }
57
+ get: function () { return chunkC72FSQUE_cjs.createSearchSession; }
58
58
  });
59
59
  Object.defineProperty(exports, "extractMentions", {
60
60
  enumerable: true,
61
- get: function () { return chunkZ3W4XFWB_cjs.extractMentions; }
61
+ get: function () { return chunkC72FSQUE_cjs.extractMentions; }
62
62
  });
63
63
  Object.defineProperty(exports, "filterMentionCandidates", {
64
64
  enumerable: true,
65
- get: function () { return chunkZ3W4XFWB_cjs.filterMentionCandidates; }
65
+ get: function () { return chunkC72FSQUE_cjs.filterMentionCandidates; }
66
66
  });
67
67
  Object.defineProperty(exports, "findMentionQuery", {
68
68
  enumerable: true,
69
- get: function () { return chunkZ3W4XFWB_cjs.findMentionQuery; }
69
+ get: function () { return chunkC72FSQUE_cjs.findMentionQuery; }
70
70
  });
71
71
  Object.defineProperty(exports, "forgetLegacyThreadDocuments", {
72
72
  enumerable: true,
73
- get: function () { return chunkZ3W4XFWB_cjs.forgetLegacyThreadDocuments; }
73
+ get: function () { return chunkC72FSQUE_cjs.forgetLegacyThreadDocuments; }
74
74
  });
75
75
  Object.defineProperty(exports, "hasMessageBody", {
76
76
  enumerable: true,
77
- get: function () { return chunkZ3W4XFWB_cjs.hasMessageBody; }
77
+ get: function () { return chunkC72FSQUE_cjs.hasMessageBody; }
78
78
  });
79
79
  Object.defineProperty(exports, "insertMention", {
80
80
  enumerable: true,
81
- get: function () { return chunkZ3W4XFWB_cjs.insertMention; }
81
+ get: function () { return chunkC72FSQUE_cjs.insertMention; }
82
82
  });
83
83
  Object.defineProperty(exports, "latestThreadOfDocument", {
84
84
  enumerable: true,
85
- get: function () { return chunkZ3W4XFWB_cjs.latestThreadOfDocument; }
85
+ get: function () { return chunkC72FSQUE_cjs.latestThreadOfDocument; }
86
86
  });
87
87
  Object.defineProperty(exports, "linkMentions", {
88
88
  enumerable: true,
89
- get: function () { return chunkZ3W4XFWB_cjs.linkMentions; }
89
+ get: function () { return chunkC72FSQUE_cjs.linkMentions; }
90
90
  });
91
91
  Object.defineProperty(exports, "mentionFromHref", {
92
92
  enumerable: true,
93
- get: function () { return chunkZ3W4XFWB_cjs.mentionFromHref; }
93
+ get: function () { return chunkC72FSQUE_cjs.mentionFromHref; }
94
94
  });
95
95
  Object.defineProperty(exports, "openDocumentId", {
96
96
  enumerable: true,
97
- get: function () { return chunkZ3W4XFWB_cjs.openDocumentId; }
97
+ get: function () { return chunkC72FSQUE_cjs.openDocumentId; }
98
98
  });
99
99
  Object.defineProperty(exports, "opensInWord", {
100
100
  enumerable: true,
101
- get: function () { return chunkZ3W4XFWB_cjs.opensInWord; }
101
+ get: function () { return chunkC72FSQUE_cjs.opensInWord; }
102
102
  });
103
103
  Object.defineProperty(exports, "persistSearchSession", {
104
104
  enumerable: true,
105
- get: function () { return chunkZ3W4XFWB_cjs.persistSearchSession; }
105
+ get: function () { return chunkC72FSQUE_cjs.persistSearchSession; }
106
106
  });
107
107
  Object.defineProperty(exports, "readLegacyThreadDocuments", {
108
108
  enumerable: true,
109
- get: function () { return chunkZ3W4XFWB_cjs.readLegacyThreadDocuments; }
109
+ get: function () { return chunkC72FSQUE_cjs.readLegacyThreadDocuments; }
110
110
  });
111
111
  Object.defineProperty(exports, "requestSearch", {
112
112
  enumerable: true,
113
- get: function () { return chunkZ3W4XFWB_cjs.requestSearch; }
113
+ get: function () { return chunkC72FSQUE_cjs.requestSearch; }
114
114
  });
115
115
  Object.defineProperty(exports, "savedDocumentIdFor", {
116
116
  enumerable: true,
117
- get: function () { return chunkZ3W4XFWB_cjs.savedDocumentIdFor; }
117
+ get: function () { return chunkC72FSQUE_cjs.savedDocumentIdFor; }
118
118
  });
119
119
  Object.defineProperty(exports, "sharedSearchSession", {
120
120
  enumerable: true,
121
- get: function () { return chunkZ3W4XFWB_cjs.sharedSearchSession; }
121
+ get: function () { return chunkC72FSQUE_cjs.sharedSearchSession; }
122
122
  });
123
123
  Object.defineProperty(exports, "takeDocumentForTurn", {
124
124
  enumerable: true,
125
- get: function () { return chunkZ3W4XFWB_cjs.takeDocumentForTurn; }
125
+ get: function () { return chunkC72FSQUE_cjs.takeDocumentForTurn; }
126
126
  });
127
127
  Object.defineProperty(exports, "takePendingSearch", {
128
128
  enumerable: true,
129
- get: function () { return chunkZ3W4XFWB_cjs.takePendingSearch; }
129
+ get: function () { return chunkC72FSQUE_cjs.takePendingSearch; }
130
130
  });
131
131
  Object.defineProperty(exports, "toMessageMentions", {
132
132
  enumerable: true,
133
- get: function () { return chunkZ3W4XFWB_cjs.toMessageMentions; }
133
+ get: function () { return chunkC72FSQUE_cjs.toMessageMentions; }
134
134
  });
135
135
  Object.defineProperty(exports, "useAssistantCopy", {
136
136
  enumerable: true,
137
- get: function () { return chunkZ3W4XFWB_cjs.useAssistantCopy; }
137
+ get: function () { return chunkC72FSQUE_cjs.useAssistantCopy; }
138
138
  });
139
139
  Object.defineProperty(exports, "useAssistantName", {
140
140
  enumerable: true,
141
- get: function () { return chunkZ3W4XFWB_cjs.useAssistantName; }
141
+ get: function () { return chunkC72FSQUE_cjs.useAssistantName; }
142
142
  });
143
143
  Object.defineProperty(exports, "useOpenDocumentId", {
144
144
  enumerable: true,
145
- get: function () { return chunkZ3W4XFWB_cjs.useOpenDocumentId; }
145
+ get: function () { return chunkC72FSQUE_cjs.useOpenDocumentId; }
146
146
  });
147
147
  Object.defineProperty(exports, "useRegisterOpenDocument", {
148
148
  enumerable: true,
149
- get: function () { return chunkZ3W4XFWB_cjs.useRegisterOpenDocument; }
149
+ get: function () { return chunkC72FSQUE_cjs.useRegisterOpenDocument; }
150
150
  });
151
151
  Object.defineProperty(exports, "useTurnDocumentId", {
152
152
  enumerable: true,
153
- get: function () { return chunkZ3W4XFWB_cjs.useTurnDocumentId; }
153
+ get: function () { return chunkC72FSQUE_cjs.useTurnDocumentId; }
154
154
  });
155
155
  Object.defineProperty(exports, "clearChatArtifacts", {
156
156
  enumerable: true,