@arbidocs/react 0.5.118 → 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.
- package/dist/{chunk-FQVNZCTD.cjs → chunk-KDYYAZXP.cjs} +104 -28
- package/dist/chunk-KDYYAZXP.cjs.map +1 -0
- package/dist/entities/SharingEntity.js +85 -0
- package/dist/entities/SharingEntity.js.map +7 -0
- package/dist/entities/index.js +8 -0
- package/dist/entities/index.js.map +2 -2
- package/dist/index.cjs +221 -209
- package/dist/{index.d-CYXcTKYt.d.ts → index.d-DYlUprG9.d.ts} +31 -1
- package/dist/index.d.ts +11 -2
- package/dist/ui/index.cjs +157 -145
- package/dist/ui/index.d.ts +1 -1
- package/dist/viewers/index.cjs +2 -1
- package/dist/viewers/index.cjs.map +1 -1
- package/dist/viewers/index.d.ts +4 -0
- package/dist/viewers/useProcessedChunks.js +2 -1
- package/dist/viewers/useProcessedChunks.js.map +2 -2
- package/package.json +3 -3
- package/dist/chunk-FQVNZCTD.cjs.map +0 -1
|
@@ -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,
|
|
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-
|
|
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
|
|
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;
|