@arbidocs/react 0.5.110 → 0.5.111

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (85) hide show
  1. package/dist/PdfViewerImpl-QUSDLNNM.cjs +380 -0
  2. package/dist/PdfViewerImpl-QUSDLNNM.cjs.map +1 -0
  3. package/dist/PdfViewerImpl-TEBYF2QI.js +378 -0
  4. package/dist/PdfViewerImpl-TEBYF2QI.js.map +1 -0
  5. package/dist/{PdfViewer.d-bQH9yxFg.d.cts → PdfViewerImpl.d-B28hLEuj.d.cts} +8 -1
  6. package/dist/{PdfViewer.d-bQH9yxFg.d.ts → PdfViewerImpl.d-B28hLEuj.d.ts} +8 -1
  7. package/dist/annotations/freeze/index.d.cts +1 -1
  8. package/dist/annotations/freeze/index.d.ts +1 -1
  9. package/dist/artifacts/index.cjs +13 -13
  10. package/dist/artifacts/index.js +3 -3
  11. package/dist/calls/livekit/index.cjs +48 -48
  12. package/dist/calls/livekit/index.js +3 -3
  13. package/dist/{chunk-W2FATOTX.cjs → chunk-3JAEX57E.cjs} +4 -4
  14. package/dist/{chunk-W2FATOTX.cjs.map → chunk-3JAEX57E.cjs.map} +1 -1
  15. package/dist/{chunk-H5M7FXLB.js → chunk-4FL3X3LA.js} +3 -3
  16. package/dist/{chunk-H5M7FXLB.js.map → chunk-4FL3X3LA.js.map} +1 -1
  17. package/dist/{chunk-HD5H2PPP.cjs → chunk-5TRUFWKT.cjs} +66 -66
  18. package/dist/{chunk-HD5H2PPP.cjs.map → chunk-5TRUFWKT.cjs.map} +1 -1
  19. package/dist/chunk-6QNBSXCE.js +271 -0
  20. package/dist/chunk-6QNBSXCE.js.map +1 -0
  21. package/dist/{chunk-QF2BW6HZ.cjs → chunk-DI5KSVKY.cjs} +38 -38
  22. package/dist/{chunk-QF2BW6HZ.cjs.map → chunk-DI5KSVKY.cjs.map} +1 -1
  23. package/dist/{chunk-DQALOQPI.js → chunk-DZKRL5H3.js} +4 -4
  24. package/dist/{chunk-DQALOQPI.js.map → chunk-DZKRL5H3.js.map} +1 -1
  25. package/dist/{chunk-RVUGSM65.cjs → chunk-GKGAPU6T.cjs} +44 -44
  26. package/dist/{chunk-RVUGSM65.cjs.map → chunk-GKGAPU6T.cjs.map} +1 -1
  27. package/dist/chunk-L2IPPTVC.js +20 -0
  28. package/dist/chunk-L2IPPTVC.js.map +1 -0
  29. package/dist/{chunk-FZJMA32S.js → chunk-LSU4UPS5.js} +4 -4
  30. package/dist/{chunk-FZJMA32S.js.map → chunk-LSU4UPS5.js.map} +1 -1
  31. package/dist/{chunk-7LIMHY56.cjs → chunk-O32T7XRD.cjs} +3 -3
  32. package/dist/{chunk-7LIMHY56.cjs.map → chunk-O32T7XRD.cjs.map} +1 -1
  33. package/dist/chunk-PWGSIM3F.cjs +291 -0
  34. package/dist/chunk-PWGSIM3F.cjs.map +1 -0
  35. package/dist/{chunk-CPQ3CU4B.js → chunk-QMY2JKBI.js} +3 -3
  36. package/dist/{chunk-CPQ3CU4B.js.map → chunk-QMY2JKBI.js.map} +1 -1
  37. package/dist/chunk-QP3WQSAA.cjs +23 -0
  38. package/dist/chunk-QP3WQSAA.cjs.map +1 -0
  39. package/dist/chunk-SSXFVWCT.js +46 -0
  40. package/dist/chunk-SSXFVWCT.js.map +1 -0
  41. package/dist/chunk-T5FZICXN.cjs +50 -0
  42. package/dist/chunk-T5FZICXN.cjs.map +1 -0
  43. package/dist/{chunk-P6WLV5UY.js → chunk-XWPLOFDN.js} +3 -3
  44. package/dist/{chunk-P6WLV5UY.js.map → chunk-XWPLOFDN.js.map} +1 -1
  45. package/dist/{chunk-5HDKL6XB.cjs → chunk-YMB6XUR2.cjs} +57 -57
  46. package/dist/{chunk-5HDKL6XB.cjs.map → chunk-YMB6XUR2.cjs.map} +1 -1
  47. package/dist/{chunk-6H3O63TQ.js → chunk-ZM6N7YZH.js} +3 -3
  48. package/dist/{chunk-6H3O63TQ.js.map → chunk-ZM6N7YZH.js.map} +1 -1
  49. package/dist/document-tools/core.cjs +98 -98
  50. package/dist/document-tools/core.d.cts +2 -2
  51. package/dist/document-tools/core.d.ts +2 -2
  52. package/dist/document-tools/core.js +3 -3
  53. package/dist/document-tools/index.cjs +100 -100
  54. package/dist/document-tools/index.d.cts +1 -1
  55. package/dist/document-tools/index.d.ts +1 -1
  56. package/dist/document-tools/index.js +4 -4
  57. package/dist/index.cjs +1407 -1337
  58. package/dist/index.cjs.map +1 -1
  59. package/dist/{index.d-BMhTH98a.d.ts → index.d-CYXcTKYt.d.ts} +1 -0
  60. package/dist/{index.d-BMhTH98a.d.cts → index.d-LArLnpI8.d.cts} +1 -0
  61. package/dist/index.d.cts +38 -8
  62. package/dist/index.d.ts +38 -8
  63. package/dist/index.js +85 -29
  64. package/dist/index.js.map +1 -1
  65. package/dist/lazy-chunk.d-B6YDLMKI.d.cts +31 -0
  66. package/dist/lazy-chunk.d-B6YDLMKI.d.ts +31 -0
  67. package/dist/{query-keys.d-ChgpJLPF.d.cts → query-keys.d-B1Am9tIF.d.cts} +1 -1
  68. package/dist/{query-keys.d-ChgpJLPF.d.ts → query-keys.d-B1Am9tIF.d.ts} +1 -1
  69. package/dist/ui/index.cjs +13 -0
  70. package/dist/ui/index.d.cts +2 -1
  71. package/dist/ui/index.d.ts +2 -1
  72. package/dist/ui/index.js +1 -0
  73. package/dist/viewers/PdfViewer.cjs +17 -0
  74. package/dist/viewers/PdfViewer.cjs.map +1 -0
  75. package/dist/viewers/PdfViewer.d.cts +9 -0
  76. package/dist/viewers/PdfViewer.d.ts +9 -0
  77. package/dist/viewers/PdfViewer.js +4 -0
  78. package/dist/viewers/PdfViewer.js.map +1 -0
  79. package/dist/viewers/index.cjs +79 -653
  80. package/dist/viewers/index.cjs.map +1 -1
  81. package/dist/viewers/index.d.cts +3 -1
  82. package/dist/viewers/index.d.ts +3 -1
  83. package/dist/viewers/index.js +6 -639
  84. package/dist/viewers/index.js.map +1 -1
  85. package/package.json +11 -3
@@ -0,0 +1,31 @@
1
+ import { ComponentType, ReactNode } from 'react';
2
+
3
+ /**
4
+ * Heavy components (the PDF engine, the Word editor, the data grid) live in their own chunk, loaded
5
+ * the first time one renders, so a page that never shows one (a sign-in page) never downloads it.
6
+ *
7
+ * `lazyChunk(load)` names a lazily loaded module; `lazyComponent(chunk, pick, fallback)` renders a
8
+ * component from it with the same props, showing `fallback` until the chunk is in. A chunk loaded
9
+ * beforehand (`preloadChunks`, as test setups do) renders at once, without suspending.
10
+ */
11
+
12
+ interface LazyChunk<M> {
13
+ /** Load the module (once); resolves with it. */
14
+ load: () => Promise<M>;
15
+ /** The module, once loaded. */
16
+ loaded: () => M | undefined;
17
+ }
18
+ declare function lazyChunk<M>(load: () => Promise<M>): LazyChunk<M>;
19
+ /** Load every chunk now (test setups, or warming up after sign-in). */
20
+ declare function preloadChunks(chunks: readonly LazyChunk<unknown>[]): Promise<unknown[]>;
21
+ /**
22
+ * A component rendered from `c` once it has loaded, with `fallback` (given the props) meanwhile.
23
+ * Generic components keep their type: `lazyComponent(...) as typeof Impl`.
24
+ *
25
+ * A failed download (offline, a stale deploy) throws to the nearest error boundary; its retry
26
+ * renders again and loads again, with no page reload: `React.lazy` keeps a failure for good, so a
27
+ * failed one is replaced.
28
+ */
29
+ declare function lazyComponent<M, P extends object>(c: LazyChunk<M>, pick: (module: M) => ComponentType<P>, fallback?: (props: P) => ReactNode): ComponentType<P>;
30
+
31
+ export { type LazyChunk as L, lazyComponent as a, lazyChunk as l, preloadChunks as p };
@@ -0,0 +1,31 @@
1
+ import { ComponentType, ReactNode } from 'react';
2
+
3
+ /**
4
+ * Heavy components (the PDF engine, the Word editor, the data grid) live in their own chunk, loaded
5
+ * the first time one renders, so a page that never shows one (a sign-in page) never downloads it.
6
+ *
7
+ * `lazyChunk(load)` names a lazily loaded module; `lazyComponent(chunk, pick, fallback)` renders a
8
+ * component from it with the same props, showing `fallback` until the chunk is in. A chunk loaded
9
+ * beforehand (`preloadChunks`, as test setups do) renders at once, without suspending.
10
+ */
11
+
12
+ interface LazyChunk<M> {
13
+ /** Load the module (once); resolves with it. */
14
+ load: () => Promise<M>;
15
+ /** The module, once loaded. */
16
+ loaded: () => M | undefined;
17
+ }
18
+ declare function lazyChunk<M>(load: () => Promise<M>): LazyChunk<M>;
19
+ /** Load every chunk now (test setups, or warming up after sign-in). */
20
+ declare function preloadChunks(chunks: readonly LazyChunk<unknown>[]): Promise<unknown[]>;
21
+ /**
22
+ * A component rendered from `c` once it has loaded, with `fallback` (given the props) meanwhile.
23
+ * Generic components keep their type: `lazyComponent(...) as typeof Impl`.
24
+ *
25
+ * A failed download (offline, a stale deploy) throws to the nearest error boundary; its retry
26
+ * renders again and loads again, with no page reload: `React.lazy` keeps a failure for good, so a
27
+ * failed one is replaced.
28
+ */
29
+ declare function lazyComponent<M, P extends object>(c: LazyChunk<M>, pick: (module: M) => ComponentType<P>, fallback?: (props: P) => ReactNode): ComponentType<P>;
30
+
31
+ export { type LazyChunk as L, lazyComponent as a, lazyChunk as l, preloadChunks as p };
@@ -155,7 +155,7 @@ declare const arbiQueryKeys: {
155
155
  * `['arbi', 'databases', 'rows', workspaceId, databaseId, params]`.
156
156
  */
157
157
  databaseRows: (workspaceId?: string, databaseId?: string, params?: object) => readonly ["arbi", "databases", "rows"] | readonly ["arbi", "databases", "rows", string, string] | readonly ["arbi", "databases", "rows", string, string, object];
158
- /** The saved dashboards of a store's scope (a workspace). */
158
+ /** The saved dashboards of a store's scope (the user's own, or a workspace's database). */
159
159
  dashboards: (scope: string) => readonly ["arbi", "dashboards", string];
160
160
  /** A database's rows grouped and measured (a chart); no workspace: every database's. */
161
161
  databaseAggregate: (workspaceId?: string, databaseId?: string, request?: object) => readonly ["arbi", "databases", "aggregate"] | readonly ["arbi", "databases", "aggregate", string, string, object];
@@ -155,7 +155,7 @@ declare const arbiQueryKeys: {
155
155
  * `['arbi', 'databases', 'rows', workspaceId, databaseId, params]`.
156
156
  */
157
157
  databaseRows: (workspaceId?: string, databaseId?: string, params?: object) => readonly ["arbi", "databases", "rows"] | readonly ["arbi", "databases", "rows", string, string] | readonly ["arbi", "databases", "rows", string, string, object];
158
- /** The saved dashboards of a store's scope (a workspace). */
158
+ /** The saved dashboards of a store's scope (the user's own, or a workspace's database). */
159
159
  dashboards: (scope: string) => readonly ["arbi", "dashboards", string];
160
160
  /** A database's rows grouped and measured (a chart); no workspace: every database's. */
161
161
  databaseAggregate: (workspaceId?: string, databaseId?: string, request?: object) => readonly ["arbi", "databases", "aggregate"] | readonly ["arbi", "databases", "aggregate", string, string, object];
package/dist/ui/index.cjs CHANGED
@@ -1,6 +1,7 @@
1
1
  'use strict';
2
2
 
3
3
  var chunkLBAG7KL7_cjs = require('../chunk-LBAG7KL7.cjs');
4
+ var chunkT5FZICXN_cjs = require('../chunk-T5FZICXN.cjs');
4
5
  var chunkEEIYXVM4_cjs = require('../chunk-EEIYXVM4.cjs');
5
6
  var chunkMXP4O4DI_cjs = require('../chunk-MXP4O4DI.cjs');
6
7
  var chunkWYZJLZ67_cjs = require('../chunk-WYZJLZ67.cjs');
@@ -587,6 +588,18 @@ Object.defineProperty(exports, "usesOriginalBytesForViewer", {
587
588
  enumerable: true,
588
589
  get: function () { return chunkLBAG7KL7_cjs.usesOriginalBytesForViewer; }
589
590
  });
591
+ Object.defineProperty(exports, "lazyChunk", {
592
+ enumerable: true,
593
+ get: function () { return chunkT5FZICXN_cjs.lazyChunk; }
594
+ });
595
+ Object.defineProperty(exports, "lazyComponent", {
596
+ enumerable: true,
597
+ get: function () { return chunkT5FZICXN_cjs.lazyComponent; }
598
+ });
599
+ Object.defineProperty(exports, "preloadChunks", {
600
+ enumerable: true,
601
+ get: function () { return chunkT5FZICXN_cjs.preloadChunks; }
602
+ });
590
603
  Object.defineProperty(exports, "Avatar", {
591
604
  enumerable: true,
592
605
  get: function () { return chunkEEIYXVM4_cjs.Avatar; }
@@ -1,4 +1,5 @@
1
- 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, V as DictateContextValue, 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, ae as EntityIconComponent, af as EntityLabelForm, ag as EntityNoun, ah as EntityPill, ai as EntityRegistryOverride, aj as EntitySize, ak as EntityType, al as EntityVocabulary, am as FileTypeIcon, an as FolderTreeNode, ao as FormatRelativeTimeOptions, ap as HoverCard, aq as HoverCardContent, ar as HoverCardTrigger, as as IconToggle, at as IconToggleProps, au as IdentityBusy, av as IdentityProblem, aw as IdentityPurchase, ax as IdentityState, ay as IdentityStatus, az as IdentityStep, aA as IdentityVerificationFlow, 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, 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-BMhTH98a.cjs';
1
+ 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, V as DictateContextValue, 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, ae as EntityIconComponent, af as EntityLabelForm, ag as EntityNoun, ah as EntityPill, ai as EntityRegistryOverride, aj as EntitySize, ak as EntityType, al as EntityVocabulary, am as FileTypeIcon, an as FolderTreeNode, ao as FormatRelativeTimeOptions, ap as HoverCard, aq as HoverCardContent, ar as HoverCardTrigger, as as IconToggle, at as IconToggleProps, au as IdentityBusy, av as IdentityProblem, aw as IdentityPurchase, ax as IdentityState, ay as IdentityStatus, az as IdentityStep, aA as IdentityVerificationFlow, 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, 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-LArLnpI8.cjs';
2
+ export { L as LazyChunk, l as lazyChunk, a as lazyComponent, p as preloadChunks } from '../lazy-chunk.d-B6YDLMKI.cjs';
2
3
  import 'clsx';
3
4
  import 'react';
4
5
  import '@radix-ui/react-avatar';
@@ -1,4 +1,5 @@
1
- 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, V as DictateContextValue, 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, ae as EntityIconComponent, af as EntityLabelForm, ag as EntityNoun, ah as EntityPill, ai as EntityRegistryOverride, aj as EntitySize, ak as EntityType, al as EntityVocabulary, am as FileTypeIcon, an as FolderTreeNode, ao as FormatRelativeTimeOptions, ap as HoverCard, aq as HoverCardContent, ar as HoverCardTrigger, as as IconToggle, at as IconToggleProps, au as IdentityBusy, av as IdentityProblem, aw as IdentityPurchase, ax as IdentityState, ay as IdentityStatus, az as IdentityStep, aA as IdentityVerificationFlow, 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, 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-BMhTH98a.js';
1
+ 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, V as DictateContextValue, 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, ae as EntityIconComponent, af as EntityLabelForm, ag as EntityNoun, ah as EntityPill, ai as EntityRegistryOverride, aj as EntitySize, ak as EntityType, al as EntityVocabulary, am as FileTypeIcon, an as FolderTreeNode, ao as FormatRelativeTimeOptions, ap as HoverCard, aq as HoverCardContent, ar as HoverCardTrigger, as as IconToggle, at as IconToggleProps, au as IdentityBusy, av as IdentityProblem, aw as IdentityPurchase, ax as IdentityState, ay as IdentityStatus, az as IdentityStep, aA as IdentityVerificationFlow, 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, 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';
2
+ export { L as LazyChunk, l as lazyChunk, a as lazyComponent, p as preloadChunks } from '../lazy-chunk.d-B6YDLMKI.js';
2
3
  import 'clsx';
3
4
  import 'react';
4
5
  import '@radix-ui/react-avatar';
package/dist/ui/index.js CHANGED
@@ -1,4 +1,5 @@
1
1
  export { ARBI_MARK_SRC, AgentBadge, AiMarkdown, ArbiIcon, BASE_COLORS, Badge, COLUMN_LABEL_FALLBACKS, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Checkbox, Collapsible, CollapsibleContent, CollapsibleTrigger, Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, DEFAULT_METADATA_TAGS, DebouncedInput, DocumentEntity, ENTITY_MAPPINGS, EntityIcon, EntityPill, HoverCard, HoverCardContent, HoverCardTrigger, IconToggle, Input, Label, MarkMenu, NEUTRAL_GRAY, PLACEHOLDER_COLOR, PassageCard, Popover, PopoverAnchor, PopoverClose, PopoverContent, PopoverTrigger, PresenceLabel, Progress, ProjectEntity, ProviderIcon, RadioGroup, RadioGroupItem, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, Separator, ShieldIcon, Slider, StatusPill, Switch, TAG_TYPE_ICONS, TAG_TYPE_LABELS, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, Tabs, TabsContent, TabsList, TabsTrigger, TagEntity, Textarea, ThreadVisibilityIcon, Toggle, ToggleGroup, ToggleGroupItem, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, UserEntity, UserMenu, VISIBILITY_ICONS, VerifiedBadge, VerifiedToggle, VisibilityIcon, VisibilityToggle, agentAvatarColors, badgeVariants, buildFolderTree, canonicalFolderPath, cardVariants, configureEntityRegistry, configureRagLabels, configureStatusRegistry, entityNoun, extensionFromMime, formatCompactLastSeen, formatDocDate, formatFolderLabel, formatFriendlyDate, friendlyFileType, getDocIcon, getDocumentAuthor, getDocumentDate, getDocumentNature, getDocumentSubject, getDocumentTitle, getEntityColor, getEntityColorStyles, getEntityIcon, getEntityLabel, getFileExtension, getFileTypeIcon, getStatusVariant, getTagTypeIcon, getTagTypeLabel, getWorkspaceColor, isAudioFile, isDocumentAddableToConversation, isDownloadOnlyFile, isImageDocument, isImageFile, isMediaFile, isVideoFile, markdownToPlainText, markdownToPlainTextBlocks, tagKindNouns, tagKindTitle, toggleVariants, useDictateContext, usesOriginalBytesForViewer } from '../chunk-NNAJLY6B.js';
2
+ export { lazyChunk, lazyComponent, preloadChunks } from '../chunk-SSXFVWCT.js';
2
3
  export { Avatar, AvatarFallback, AvatarImage, createUserAvatarIcon, getUserAvatarColor, getUserDisplayName, getUserInitials, isAgent } from '../chunk-APZZQZ6P.js';
3
4
  export { MarkdownCode, MarkdownLink, MarkdownRenderer, MarkdownStreamingContext, markdownBaseComponents, markdownSanitizeSchema, splitMarkdownBlocks } from '../chunk-WL2Y2T47.js';
4
5
  export { Button, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, buttonVariants } from '../chunk-YNNAJJ5Z.js';
@@ -0,0 +1,17 @@
1
+ 'use strict';
2
+
3
+ var chunkQP3WQSAA_cjs = require('../chunk-QP3WQSAA.cjs');
4
+ require('../chunk-T5FZICXN.cjs');
5
+
6
+
7
+
8
+ Object.defineProperty(exports, "PdfViewer", {
9
+ enumerable: true,
10
+ get: function () { return chunkQP3WQSAA_cjs.PdfViewer; }
11
+ });
12
+ Object.defineProperty(exports, "pdfViewerChunk", {
13
+ enumerable: true,
14
+ get: function () { return chunkQP3WQSAA_cjs.pdfViewerChunk; }
15
+ });
16
+ //# sourceMappingURL=PdfViewer.cjs.map
17
+ //# sourceMappingURL=PdfViewer.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"names":[],"mappings":"","file":"PdfViewer.cjs"}
@@ -0,0 +1,9 @@
1
+ import { ComponentType } from 'react';
2
+ import { L as LazyChunk } from '../lazy-chunk.d-B6YDLMKI.cjs';
3
+ import { a as PdfViewerProps, _ as __PdfViewerImpl } from '../PdfViewerImpl.d-B28hLEuj.cjs';
4
+ export { P as PdfViewerAssets } from '../PdfViewerImpl.d-B28hLEuj.cjs';
5
+
6
+ declare const pdfViewerChunk: LazyChunk<typeof __PdfViewerImpl>;
7
+ declare const PdfViewer: ComponentType<PdfViewerProps>;
8
+
9
+ export { PdfViewer, PdfViewerProps, pdfViewerChunk };
@@ -0,0 +1,9 @@
1
+ import { ComponentType } from 'react';
2
+ import { L as LazyChunk } from '../lazy-chunk.d-B6YDLMKI.js';
3
+ import { a as PdfViewerProps, _ as __PdfViewerImpl } from '../PdfViewerImpl.d-B28hLEuj.js';
4
+ export { P as PdfViewerAssets } from '../PdfViewerImpl.d-B28hLEuj.js';
5
+
6
+ declare const pdfViewerChunk: LazyChunk<typeof __PdfViewerImpl>;
7
+ declare const PdfViewer: ComponentType<PdfViewerProps>;
8
+
9
+ export { PdfViewer, PdfViewerProps, pdfViewerChunk };
@@ -0,0 +1,4 @@
1
+ export { PdfViewer, pdfViewerChunk } from '../chunk-L2IPPTVC.js';
2
+ import '../chunk-SSXFVWCT.js';
3
+ //# sourceMappingURL=PdfViewer.js.map
4
+ //# sourceMappingURL=PdfViewer.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"names":[],"mappings":"","file":"PdfViewer.js"}