@arbidocs/react 0.5.86 → 0.5.87
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 +2 -3
- package/dist/artifacts/index.cjs +46 -48
- package/dist/artifacts/index.cjs.map +1 -1
- package/dist/artifacts/index.js +7 -9
- package/dist/artifacts/index.js.map +1 -1
- package/dist/calls/livekit/index.cjs +60 -62
- package/dist/calls/livekit/index.cjs.map +1 -1
- package/dist/calls/livekit/index.js +6 -8
- package/dist/calls/livekit/index.js.map +1 -1
- package/dist/{chunk-Z3LLUO32.cjs → chunk-5NOZDH3F.cjs} +12 -2
- package/dist/chunk-5NOZDH3F.cjs.map +1 -0
- package/dist/{chunk-WQY3RQ6G.js → chunk-73ENECAT.js} +5 -6
- package/dist/{chunk-LUDIYWT7.cjs.map → chunk-73ENECAT.js.map} +1 -1
- package/dist/{chunk-2Y2WOIHH.cjs → chunk-AOPGD23L.cjs} +60 -148
- package/dist/chunk-AOPGD23L.cjs.map +1 -0
- package/dist/{chunk-G4Z3IP4J.js → chunk-BF5KW5ZI.js} +3 -17
- package/dist/chunk-BF5KW5ZI.js.map +1 -0
- package/dist/{chunk-TK7ERJPE.js → chunk-BFNY3RZG.js} +22 -12
- package/dist/chunk-BFNY3RZG.js.map +1 -0
- package/dist/{chunk-U4PWVSCT.cjs → chunk-C4WODQGO.cjs} +24 -11
- package/dist/chunk-C4WODQGO.cjs.map +1 -0
- package/dist/{chunk-E7VD5WNY.cjs → chunk-DS7NTSKH.cjs} +41 -74
- package/dist/chunk-DS7NTSKH.cjs.map +1 -0
- package/dist/{chunk-JT7PN7JH.js → chunk-DU2P354H.js} +6 -37
- package/dist/chunk-DU2P354H.js.map +1 -0
- package/dist/{chunk-TAVS54EN.cjs → chunk-GKWMT64A.cjs} +6 -6
- package/dist/{chunk-TAVS54EN.cjs.map → chunk-GKWMT64A.cjs.map} +1 -1
- package/dist/{chunk-AXKHDLBB.cjs → chunk-HEVPIVF2.cjs} +15 -15
- package/dist/{chunk-AXKHDLBB.cjs.map → chunk-HEVPIVF2.cjs.map} +1 -1
- package/dist/{chunk-XPLD4LFC.js → chunk-KTXZ222T.js} +6 -91
- package/dist/chunk-KTXZ222T.js.map +1 -0
- package/dist/{chunk-PXWKJI4K.cjs → chunk-LBAG7KL7.cjs} +35 -261
- package/dist/chunk-LBAG7KL7.cjs.map +1 -0
- package/dist/{chunk-CSPAEVZS.js → chunk-MS43RNXM.js} +5 -5
- package/dist/{chunk-CSPAEVZS.js.map → chunk-MS43RNXM.js.map} +1 -1
- package/dist/{chunk-OC7F5SNA.cjs → chunk-MXP4O4DI.cjs} +5 -5
- package/dist/{chunk-OC7F5SNA.cjs.map → chunk-MXP4O4DI.cjs.map} +1 -1
- package/dist/{chunk-ZWFMFOGP.cjs → chunk-NDIKMOBJ.cjs} +4 -4
- package/dist/{chunk-ZWFMFOGP.cjs.map → chunk-NDIKMOBJ.cjs.map} +1 -1
- package/dist/{chunk-XAEVT7ZM.js → chunk-NNAJLY6B.js} +34 -257
- package/dist/chunk-NNAJLY6B.js.map +1 -0
- package/dist/{chunk-LUDIYWT7.cjs → chunk-QLRDHLWR.cjs} +72 -73
- package/dist/chunk-QLRDHLWR.cjs.map +1 -0
- package/dist/{chunk-DZUBZ45Y.cjs → chunk-RLSBRZ6Z.cjs} +2 -17
- package/dist/chunk-RLSBRZ6Z.cjs.map +1 -0
- package/dist/{chunk-VGAA7AFS.js → chunk-S3OGDLDC.js} +4 -13
- package/dist/chunk-S3OGDLDC.js.map +1 -0
- package/dist/{chunk-NNWMHMEC.js → chunk-UW2SGTI5.js} +3 -3
- package/dist/{chunk-NNWMHMEC.js.map → chunk-UW2SGTI5.js.map} +1 -1
- package/dist/{chunk-QRCMKEE6.js → chunk-VSCU7K4V.js} +11 -3
- package/dist/chunk-VSCU7K4V.js.map +1 -0
- package/dist/{chunk-C44GO33B.js → chunk-WL2Y2T47.js} +3 -3
- package/dist/{chunk-C44GO33B.js.map → chunk-WL2Y2T47.js.map} +1 -1
- package/dist/{chunk-47YVW3J4.js → chunk-YQBDEOVE.js} +4 -4
- package/dist/{chunk-47YVW3J4.js.map → chunk-YQBDEOVE.js.map} +1 -1
- package/dist/{chunk-Q6U7ALNV.cjs → chunk-ZHXYFJIA.cjs} +44 -54
- package/dist/chunk-ZHXYFJIA.cjs.map +1 -0
- package/dist/document-tools/core.cjs +100 -110
- package/dist/document-tools/core.d.cts +3 -78
- package/dist/document-tools/core.d.ts +3 -78
- package/dist/document-tools/core.js +5 -7
- package/dist/document-tools/index.cjs +102 -112
- package/dist/document-tools/index.cjs.map +1 -1
- package/dist/document-tools/index.d.cts +2 -2
- package/dist/document-tools/index.d.ts +2 -2
- package/dist/document-tools/index.js +6 -8
- package/dist/document-tools/index.js.map +1 -1
- package/dist/index.cjs +1740 -2305
- package/dist/index.cjs.map +1 -1
- package/dist/{index.d-BDcwpFVa.d.cts → index.d-1_bJB-Yl.d.cts} +1 -58
- package/dist/{index.d-BDcwpFVa.d.ts → index.d-1_bJB-Yl.d.ts} +1 -58
- package/dist/{index.d-Deqz5-pF.d.ts → index.d-ChaR6kMc.d.cts} +1 -6
- package/dist/{index.d-Deqz5-pF.d.cts → index.d-ChaR6kMc.d.ts} +1 -6
- package/dist/index.d.cts +184 -1423
- package/dist/index.d.ts +184 -1423
- package/dist/index.js +281 -799
- package/dist/index.js.map +1 -1
- package/dist/{query-keys.d-Dm0NL9nr.d.cts → query-keys.d-D6SAUl7S.d.cts} +0 -9
- package/dist/{query-keys.d-Dm0NL9nr.d.ts → query-keys.d-D6SAUl7S.d.ts} +0 -9
- package/dist/shell/index.cjs +48 -53
- package/dist/shell/index.d.cts +1 -1
- package/dist/shell/index.d.ts +1 -1
- package/dist/shell/index.js +4 -5
- package/dist/ui/index.cjs +156 -169
- package/dist/ui/index.d.cts +1 -1
- package/dist/ui/index.d.ts +1 -1
- package/dist/ui/index.js +3 -4
- package/dist/viewers/index.cjs +0 -120
- package/dist/viewers/index.cjs.map +1 -1
- package/dist/viewers/index.d.cts +3 -40
- package/dist/viewers/index.d.ts +3 -40
- package/dist/viewers/index.js +1 -120
- package/dist/viewers/index.js.map +1 -1
- package/package.json +3 -3
- package/dist/chunk-2Y2WOIHH.cjs.map +0 -1
- package/dist/chunk-CPZ36AQS.js +0 -11
- package/dist/chunk-CPZ36AQS.js.map +0 -1
- package/dist/chunk-DZUBZ45Y.cjs.map +0 -1
- package/dist/chunk-E7VD5WNY.cjs.map +0 -1
- package/dist/chunk-G4Z3IP4J.js.map +0 -1
- package/dist/chunk-JT7PN7JH.js.map +0 -1
- package/dist/chunk-PXWKJI4K.cjs.map +0 -1
- package/dist/chunk-Q6U7ALNV.cjs.map +0 -1
- package/dist/chunk-QRCMKEE6.js.map +0 -1
- package/dist/chunk-RCKA7BEF.cjs +0 -14
- package/dist/chunk-RCKA7BEF.cjs.map +0 -1
- package/dist/chunk-TK7ERJPE.js.map +0 -1
- package/dist/chunk-U4PWVSCT.cjs.map +0 -1
- package/dist/chunk-VGAA7AFS.js.map +0 -1
- package/dist/chunk-VGMMK5OM.cjs +0 -26
- package/dist/chunk-VGMMK5OM.cjs.map +0 -1
- package/dist/chunk-VGO77X5U.js +0 -22
- package/dist/chunk-VGO77X5U.js.map +0 -1
- package/dist/chunk-WQY3RQ6G.js.map +0 -1
- package/dist/chunk-XAEVT7ZM.js.map +0 -1
- package/dist/chunk-XPLD4LFC.js.map +0 -1
- package/dist/chunk-Z3LLUO32.cjs.map +0 -1
|
@@ -898,17 +898,6 @@ declare const markdownBaseComponents: Partial<Components>;
|
|
|
898
898
|
* Theming is semantic tokens only (shadcn + the AI-accent contract).
|
|
899
899
|
*/
|
|
900
900
|
|
|
901
|
-
/**
|
|
902
|
-
* A dot conveying relevance — green (high) / amber (mid) / muted (low).
|
|
903
|
-
*
|
|
904
|
-
* The band is shown, the raw number is not: scores are not on a normalized 0-1
|
|
905
|
-
* scale across search modes (BM25 keyword scores can exceed 1), so a printed
|
|
906
|
-
* figure invites a comparison it cannot support. The value is kept in the
|
|
907
|
-
* tooltip for anyone debugging a ranking.
|
|
908
|
-
*/
|
|
909
|
-
declare function RelevanceDot({ score }: {
|
|
910
|
-
score?: number | null;
|
|
911
|
-
}): React__default.JSX.Element | null;
|
|
912
901
|
interface PassageCardProps {
|
|
913
902
|
/** Left of the header row — the source affordance (document pill, page label). */
|
|
914
903
|
header: React__default.ReactNode;
|
|
@@ -1342,12 +1331,6 @@ declare function StatusPill({ status, label, variant, className, testId }: Statu
|
|
|
1342
1331
|
type Rag = 'red' | 'amber' | 'green';
|
|
1343
1332
|
/** Override the RAG label copy (defaults are seeded so consumers stay identical). */
|
|
1344
1333
|
declare function configureRagLabels(labels: Partial<Record<Rag, string>>): void;
|
|
1345
|
-
/** A small RAG dot + optional label for dense tables. Semantic tokens only. */
|
|
1346
|
-
declare function RagDot({ rag, withLabel, className, }: {
|
|
1347
|
-
rag: Rag;
|
|
1348
|
-
withLabel?: boolean;
|
|
1349
|
-
className?: string;
|
|
1350
|
-
}): React.JSX.Element;
|
|
1351
1334
|
|
|
1352
1335
|
/** An icon component usable in the registry (lucide icons + custom SVG wrappers). */
|
|
1353
1336
|
type EntityIconComponent = React__default.ComponentType<React__default.SVGAttributes<SVGElement> & {
|
|
@@ -1993,46 +1976,6 @@ declare const formatFolderLabel: (path: string | null | undefined) => string;
|
|
|
1993
1976
|
*/
|
|
1994
1977
|
declare const COLUMN_LABEL_FALLBACKS: Record<string, string>;
|
|
1995
1978
|
|
|
1996
|
-
/**
|
|
1997
|
-
* DocumentCard — the canonical document thumbnail tile.
|
|
1998
|
-
*
|
|
1999
|
-
* One tile, shared by every app: a full-bleed first-page thumbnail (falling back
|
|
2000
|
-
* to the file-type icon) with the selection checkbox, the actions menu, the
|
|
2001
|
-
* processing state and the document's name pill layered on top of it, rather
|
|
2002
|
-
* than a thumbnail box with a separate meta strip beneath.
|
|
2003
|
-
*
|
|
2004
|
-
* Presentational only — it takes a thumbnail, a status and callbacks, and knows
|
|
2005
|
-
* nothing about how documents are fetched.
|
|
2006
|
-
*/
|
|
2007
|
-
|
|
2008
|
-
interface DocumentCardProps {
|
|
2009
|
-
/** The document — anything with a file name and optional metadata title. */
|
|
2010
|
-
doc: DocumentLike;
|
|
2011
|
-
/** First-page thumbnail (data URI or URL). Falls back to the file-type icon. */
|
|
2012
|
-
thumbnailUrl?: string | null;
|
|
2013
|
-
/** Processing status, e.g. `parsing` (overlay) or `completed` (corner marker). */
|
|
2014
|
-
status?: string | null;
|
|
2015
|
-
/** Renders the selection checkbox. Omit `onToggleSelect` to hide it entirely. */
|
|
2016
|
-
selected?: boolean;
|
|
2017
|
-
onToggleSelect?: () => void;
|
|
2018
|
-
/** Pins the "eye" on the name pill — this is the document open in the viewer. */
|
|
2019
|
-
viewing?: boolean;
|
|
2020
|
-
onOpen?: () => void;
|
|
2021
|
-
/** Actions menu, pinned to the tile's top-right corner. */
|
|
2022
|
-
actions?: React__default.ReactNode;
|
|
2023
|
-
/** Swaps the name pill for an inline rename field. */
|
|
2024
|
-
renaming?: boolean;
|
|
2025
|
-
onCommitRename?: (name: string) => void;
|
|
2026
|
-
onCancelRename?: () => void;
|
|
2027
|
-
/** Replaces the pill's default hover tooltip (e.g. an AI summary + labels). */
|
|
2028
|
-
tooltipContent?: React__default.ReactNode;
|
|
2029
|
-
/** Bottom-left marker slot (e.g. an "available offline" glyph). */
|
|
2030
|
-
marker?: React__default.ReactNode;
|
|
2031
|
-
testId?: string;
|
|
2032
|
-
className?: string;
|
|
2033
|
-
}
|
|
2034
|
-
declare function DocumentCard({ doc, thumbnailUrl, status, selected, onToggleSelect, viewing, onOpen, actions, renaming, onCommitRename, onCancelRename, tooltipContent, marker, testId, className, }: DocumentCardProps): React__default.JSX.Element;
|
|
2035
|
-
|
|
2036
1979
|
/**
|
|
2037
1980
|
* User Utilities
|
|
2038
1981
|
*
|
|
@@ -2089,4 +2032,4 @@ declare function createUserAvatarIcon(user: {
|
|
|
2089
2032
|
|
|
2090
2033
|
declare function cn(...inputs: ClassValue[]): string;
|
|
2091
2034
|
|
|
2092
|
-
export {
|
|
2035
|
+
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 };
|
|
@@ -898,17 +898,6 @@ declare const markdownBaseComponents: Partial<Components>;
|
|
|
898
898
|
* Theming is semantic tokens only (shadcn + the AI-accent contract).
|
|
899
899
|
*/
|
|
900
900
|
|
|
901
|
-
/**
|
|
902
|
-
* A dot conveying relevance — green (high) / amber (mid) / muted (low).
|
|
903
|
-
*
|
|
904
|
-
* The band is shown, the raw number is not: scores are not on a normalized 0-1
|
|
905
|
-
* scale across search modes (BM25 keyword scores can exceed 1), so a printed
|
|
906
|
-
* figure invites a comparison it cannot support. The value is kept in the
|
|
907
|
-
* tooltip for anyone debugging a ranking.
|
|
908
|
-
*/
|
|
909
|
-
declare function RelevanceDot({ score }: {
|
|
910
|
-
score?: number | null;
|
|
911
|
-
}): React__default.JSX.Element | null;
|
|
912
901
|
interface PassageCardProps {
|
|
913
902
|
/** Left of the header row — the source affordance (document pill, page label). */
|
|
914
903
|
header: React__default.ReactNode;
|
|
@@ -1342,12 +1331,6 @@ declare function StatusPill({ status, label, variant, className, testId }: Statu
|
|
|
1342
1331
|
type Rag = 'red' | 'amber' | 'green';
|
|
1343
1332
|
/** Override the RAG label copy (defaults are seeded so consumers stay identical). */
|
|
1344
1333
|
declare function configureRagLabels(labels: Partial<Record<Rag, string>>): void;
|
|
1345
|
-
/** A small RAG dot + optional label for dense tables. Semantic tokens only. */
|
|
1346
|
-
declare function RagDot({ rag, withLabel, className, }: {
|
|
1347
|
-
rag: Rag;
|
|
1348
|
-
withLabel?: boolean;
|
|
1349
|
-
className?: string;
|
|
1350
|
-
}): React.JSX.Element;
|
|
1351
1334
|
|
|
1352
1335
|
/** An icon component usable in the registry (lucide icons + custom SVG wrappers). */
|
|
1353
1336
|
type EntityIconComponent = React__default.ComponentType<React__default.SVGAttributes<SVGElement> & {
|
|
@@ -1993,46 +1976,6 @@ declare const formatFolderLabel: (path: string | null | undefined) => string;
|
|
|
1993
1976
|
*/
|
|
1994
1977
|
declare const COLUMN_LABEL_FALLBACKS: Record<string, string>;
|
|
1995
1978
|
|
|
1996
|
-
/**
|
|
1997
|
-
* DocumentCard — the canonical document thumbnail tile.
|
|
1998
|
-
*
|
|
1999
|
-
* One tile, shared by every app: a full-bleed first-page thumbnail (falling back
|
|
2000
|
-
* to the file-type icon) with the selection checkbox, the actions menu, the
|
|
2001
|
-
* processing state and the document's name pill layered on top of it, rather
|
|
2002
|
-
* than a thumbnail box with a separate meta strip beneath.
|
|
2003
|
-
*
|
|
2004
|
-
* Presentational only — it takes a thumbnail, a status and callbacks, and knows
|
|
2005
|
-
* nothing about how documents are fetched.
|
|
2006
|
-
*/
|
|
2007
|
-
|
|
2008
|
-
interface DocumentCardProps {
|
|
2009
|
-
/** The document — anything with a file name and optional metadata title. */
|
|
2010
|
-
doc: DocumentLike;
|
|
2011
|
-
/** First-page thumbnail (data URI or URL). Falls back to the file-type icon. */
|
|
2012
|
-
thumbnailUrl?: string | null;
|
|
2013
|
-
/** Processing status, e.g. `parsing` (overlay) or `completed` (corner marker). */
|
|
2014
|
-
status?: string | null;
|
|
2015
|
-
/** Renders the selection checkbox. Omit `onToggleSelect` to hide it entirely. */
|
|
2016
|
-
selected?: boolean;
|
|
2017
|
-
onToggleSelect?: () => void;
|
|
2018
|
-
/** Pins the "eye" on the name pill — this is the document open in the viewer. */
|
|
2019
|
-
viewing?: boolean;
|
|
2020
|
-
onOpen?: () => void;
|
|
2021
|
-
/** Actions menu, pinned to the tile's top-right corner. */
|
|
2022
|
-
actions?: React__default.ReactNode;
|
|
2023
|
-
/** Swaps the name pill for an inline rename field. */
|
|
2024
|
-
renaming?: boolean;
|
|
2025
|
-
onCommitRename?: (name: string) => void;
|
|
2026
|
-
onCancelRename?: () => void;
|
|
2027
|
-
/** Replaces the pill's default hover tooltip (e.g. an AI summary + labels). */
|
|
2028
|
-
tooltipContent?: React__default.ReactNode;
|
|
2029
|
-
/** Bottom-left marker slot (e.g. an "available offline" glyph). */
|
|
2030
|
-
marker?: React__default.ReactNode;
|
|
2031
|
-
testId?: string;
|
|
2032
|
-
className?: string;
|
|
2033
|
-
}
|
|
2034
|
-
declare function DocumentCard({ doc, thumbnailUrl, status, selected, onToggleSelect, viewing, onOpen, actions, renaming, onCommitRename, onCancelRename, tooltipContent, marker, testId, className, }: DocumentCardProps): React__default.JSX.Element;
|
|
2035
|
-
|
|
2036
1979
|
/**
|
|
2037
1980
|
* User Utilities
|
|
2038
1981
|
*
|
|
@@ -2089,4 +2032,4 @@ declare function createUserAvatarIcon(user: {
|
|
|
2089
2032
|
|
|
2090
2033
|
declare function cn(...inputs: ClassValue[]): string;
|
|
2091
2034
|
|
|
2092
|
-
export {
|
|
2035
|
+
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 };
|
|
@@ -264,11 +264,6 @@ declare function getChatArtifact(documentId: string | null | undefined): ChatArt
|
|
|
264
264
|
declare function useChatArtifact(documentId: string | null | undefined): ChatArtifact | undefined;
|
|
265
265
|
/** The artifact this answer writes (or wrote), if it did in this tab. */
|
|
266
266
|
declare function useMessageChatArtifact(messageId: string | null | undefined): ChatArtifact | undefined;
|
|
267
|
-
/**
|
|
268
|
-
* The latest artifact written in this conversation in this tab (the one a drafting surface shows),
|
|
269
|
-
* if one was.
|
|
270
|
-
*/
|
|
271
|
-
declare function useConversationChatArtifact(conversationId: string | null | undefined): ChatArtifact | undefined;
|
|
272
267
|
|
|
273
268
|
/**
|
|
274
269
|
* A thread's document: the one document a conversation drafts in, part of the conversation.
|
|
@@ -513,4 +508,4 @@ declare function NotificationBell({ renderTrigger, onNavigate, onSelectNotificat
|
|
|
513
508
|
|
|
514
509
|
declare function Toaster({ toastOptions, ...props }: ToasterProps): React$1.JSX.Element;
|
|
515
510
|
|
|
516
|
-
export { requestSearch as $, type AppNotification as A, forgetLegacyThreadDocuments as B, type ChatArtifact as C, DEFAULT_NOTIFY_TONE as D, getChatArtifact as E, getChatArtifacts as F, hasMessageBody as G, type HostConfigRecord as H, insertMention as I, latestThreadOfDocument as J, linkMentions as K, LEGACY_THREAD_DOCUMENTS_KEY as L, MAX_SESSION_NOTIFICATIONS as M, NotificationBell as N, type OpenDocumentRegistration as O, mentionFromHref as P, notify as Q, openDocumentId as R, type SavedDocumentInput as S, type ThreadBinding as T, UNBOUND as U, opensInWord as V, type WordDocumentKind as W, persistNotifyHistory as X, persistSearchSession as Y, readLegacyThreadDocuments as Z, recordChatArtifact as _, ArbiHost as a, savedDocumentIdFor as a0, seedNotifications as a1, selectUnread as a2, sharedSearchSession as a3, takeDocumentForTurn as a4, takePendingSearch as a5, toMessageMentions as a6, useChatArtifact as a7,
|
|
511
|
+
export { requestSearch as $, type AppNotification as A, forgetLegacyThreadDocuments as B, type ChatArtifact as C, DEFAULT_NOTIFY_TONE as D, getChatArtifact as E, getChatArtifacts as F, hasMessageBody as G, type HostConfigRecord as H, insertMention as I, latestThreadOfDocument as J, linkMentions as K, LEGACY_THREAD_DOCUMENTS_KEY as L, MAX_SESSION_NOTIFICATIONS as M, NotificationBell as N, type OpenDocumentRegistration as O, mentionFromHref as P, notify as Q, openDocumentId as R, type SavedDocumentInput as S, type ThreadBinding as T, UNBOUND as U, opensInWord as V, type WordDocumentKind as W, persistNotifyHistory as X, persistSearchSession as Y, readLegacyThreadDocuments as Z, recordChatArtifact as _, ArbiHost as a, savedDocumentIdFor as a0, seedNotifications as a1, selectUnread as a2, sharedSearchSession as a3, takeDocumentForTurn as a4, takePendingSearch as a5, toMessageMentions as a6, useChatArtifact as a7, useHostConfigRecord as a8, useMessageChatArtifact as a9, useNotify as aa, useOpenDocumentId as ab, useRegisterOpenDocument as ac, useTurnDocumentId as ad, type ArbiHostConnection as b, type ArbiHostProps as c, MENTION_HREF_PREFIX as d, type MentionCandidate as e, type MentionKind as f, type MessageMentionRef as g, type NotificationBellProps as h, type NotificationBellTriggerState as i, type NotifyConfig as j, type NotifyOptions as k, type NotifyVariant as l, type SearchSession as m, type SearchSessionState as n, type SearchStatus as o, type ThreadBindingRow as p, Toaster as q, type TurnDocumentInput as r, bindingOfRow as s, clearChatArtifacts as t, clearSearchSession as u, configureNotify as v, createSearchSession as w, extractMentions as x, filterMentionCandidates as y, findMentionQuery as z };
|
|
@@ -264,11 +264,6 @@ declare function getChatArtifact(documentId: string | null | undefined): ChatArt
|
|
|
264
264
|
declare function useChatArtifact(documentId: string | null | undefined): ChatArtifact | undefined;
|
|
265
265
|
/** The artifact this answer writes (or wrote), if it did in this tab. */
|
|
266
266
|
declare function useMessageChatArtifact(messageId: string | null | undefined): ChatArtifact | undefined;
|
|
267
|
-
/**
|
|
268
|
-
* The latest artifact written in this conversation in this tab (the one a drafting surface shows),
|
|
269
|
-
* if one was.
|
|
270
|
-
*/
|
|
271
|
-
declare function useConversationChatArtifact(conversationId: string | null | undefined): ChatArtifact | undefined;
|
|
272
267
|
|
|
273
268
|
/**
|
|
274
269
|
* A thread's document: the one document a conversation drafts in, part of the conversation.
|
|
@@ -513,4 +508,4 @@ declare function NotificationBell({ renderTrigger, onNavigate, onSelectNotificat
|
|
|
513
508
|
|
|
514
509
|
declare function Toaster({ toastOptions, ...props }: ToasterProps): React$1.JSX.Element;
|
|
515
510
|
|
|
516
|
-
export { requestSearch as $, type AppNotification as A, forgetLegacyThreadDocuments as B, type ChatArtifact as C, DEFAULT_NOTIFY_TONE as D, getChatArtifact as E, getChatArtifacts as F, hasMessageBody as G, type HostConfigRecord as H, insertMention as I, latestThreadOfDocument as J, linkMentions as K, LEGACY_THREAD_DOCUMENTS_KEY as L, MAX_SESSION_NOTIFICATIONS as M, NotificationBell as N, type OpenDocumentRegistration as O, mentionFromHref as P, notify as Q, openDocumentId as R, type SavedDocumentInput as S, type ThreadBinding as T, UNBOUND as U, opensInWord as V, type WordDocumentKind as W, persistNotifyHistory as X, persistSearchSession as Y, readLegacyThreadDocuments as Z, recordChatArtifact as _, ArbiHost as a, savedDocumentIdFor as a0, seedNotifications as a1, selectUnread as a2, sharedSearchSession as a3, takeDocumentForTurn as a4, takePendingSearch as a5, toMessageMentions as a6, useChatArtifact as a7,
|
|
511
|
+
export { requestSearch as $, type AppNotification as A, forgetLegacyThreadDocuments as B, type ChatArtifact as C, DEFAULT_NOTIFY_TONE as D, getChatArtifact as E, getChatArtifacts as F, hasMessageBody as G, type HostConfigRecord as H, insertMention as I, latestThreadOfDocument as J, linkMentions as K, LEGACY_THREAD_DOCUMENTS_KEY as L, MAX_SESSION_NOTIFICATIONS as M, NotificationBell as N, type OpenDocumentRegistration as O, mentionFromHref as P, notify as Q, openDocumentId as R, type SavedDocumentInput as S, type ThreadBinding as T, UNBOUND as U, opensInWord as V, type WordDocumentKind as W, persistNotifyHistory as X, persistSearchSession as Y, readLegacyThreadDocuments as Z, recordChatArtifact as _, ArbiHost as a, savedDocumentIdFor as a0, seedNotifications as a1, selectUnread as a2, sharedSearchSession as a3, takeDocumentForTurn as a4, takePendingSearch as a5, toMessageMentions as a6, useChatArtifact as a7, useHostConfigRecord as a8, useMessageChatArtifact as a9, useNotify as aa, useOpenDocumentId as ab, useRegisterOpenDocument as ac, useTurnDocumentId as ad, type ArbiHostConnection as b, type ArbiHostProps as c, MENTION_HREF_PREFIX as d, type MentionCandidate as e, type MentionKind as f, type MessageMentionRef as g, type NotificationBellProps as h, type NotificationBellTriggerState as i, type NotifyConfig as j, type NotifyOptions as k, type NotifyVariant as l, type SearchSession as m, type SearchSessionState as n, type SearchStatus as o, type ThreadBindingRow as p, Toaster as q, type TurnDocumentInput as r, bindingOfRow as s, clearChatArtifacts as t, clearSearchSession as u, configureNotify as v, createSearchSession as w, extractMentions as x, filterMentionCandidates as y, findMentionQuery as z };
|