@arbidocs/react 0.5.151 → 0.5.153

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 (78) hide show
  1. package/dist/artifacts/index.cjs +46 -46
  2. package/dist/calls/livekit/index.cjs +51 -51
  3. package/dist/{chunk-VXFTVWEI.cjs → chunk-4VHECR5O.cjs} +44 -44
  4. package/dist/{chunk-VXFTVWEI.cjs.map → chunk-4VHECR5O.cjs.map} +1 -1
  5. package/dist/{chunk-P2DPOZBS.cjs → chunk-5ZNO77YB.cjs} +11 -2
  6. package/dist/chunk-5ZNO77YB.cjs.map +1 -0
  7. package/dist/{chunk-MK5L56Z3.cjs → chunk-BUMLF3MS.cjs} +60 -60
  8. package/dist/{chunk-MK5L56Z3.cjs.map → chunk-BUMLF3MS.cjs.map} +1 -1
  9. package/dist/{chunk-6RRKO4ZK.cjs → chunk-DBWW6DXJ.cjs} +5 -5
  10. package/dist/{chunk-6RRKO4ZK.cjs.map → chunk-DBWW6DXJ.cjs.map} +1 -1
  11. package/dist/{chunk-KULS4YWP.cjs → chunk-DQODLWFX.cjs} +3 -3
  12. package/dist/{chunk-KULS4YWP.cjs.map → chunk-DQODLWFX.cjs.map} +1 -1
  13. package/dist/{chunk-GFX7LQGR.cjs → chunk-HISGJISX.cjs} +67 -67
  14. package/dist/{chunk-GFX7LQGR.cjs.map → chunk-HISGJISX.cjs.map} +1 -1
  15. package/dist/{chunk-BI7HFGXF.cjs → chunk-NJWQPNGD.cjs} +14 -14
  16. package/dist/{chunk-BI7HFGXF.cjs.map → chunk-NJWQPNGD.cjs.map} +1 -1
  17. package/dist/{chunk-SKJWJ3OY.cjs → chunk-WWGUGZZN.cjs} +39 -39
  18. package/dist/{chunk-SKJWJ3OY.cjs.map → chunk-WWGUGZZN.cjs.map} +1 -1
  19. package/dist/{chunk-B6T54X65.cjs → chunk-XQLJSNAL.cjs} +5 -5
  20. package/dist/chunk-XQLJSNAL.cjs.map +1 -0
  21. package/dist/datasets/aggregate-source.js +133 -0
  22. package/dist/datasets/aggregate-source.js.map +7 -0
  23. package/dist/datasets/aggregate.js +72 -22
  24. package/dist/datasets/aggregate.js.map +2 -2
  25. package/dist/datasets/index.js +27 -1
  26. package/dist/datasets/index.js.map +2 -2
  27. package/dist/datasets/rows-source.js.map +2 -2
  28. package/dist/datasets/sources/activity.js +44 -9
  29. package/dist/datasets/sources/activity.js.map +2 -2
  30. package/dist/datasets/sources/conversations.js +38 -8
  31. package/dist/datasets/sources/conversations.js.map +2 -2
  32. package/dist/datasets/sources/database.js +17 -9
  33. package/dist/datasets/sources/database.js.map +2 -2
  34. package/dist/datasets/sources/documents.js +45 -7
  35. package/dist/datasets/sources/documents.js.map +2 -2
  36. package/dist/datasets/sources/facts.js +32 -6
  37. package/dist/datasets/sources/facts.js.map +3 -3
  38. package/dist/datasets/sources/projects.js +1 -1
  39. package/dist/datasets/sources/projects.js.map +2 -2
  40. package/dist/datasets/sources/tags.js +38 -6
  41. package/dist/datasets/sources/tags.js.map +3 -3
  42. package/dist/datasets/sources/usage.js +29 -31
  43. package/dist/datasets/sources/usage.js.map +2 -2
  44. package/dist/datasets/sources/workflows.js +56 -22
  45. package/dist/datasets/sources/workflows.js.map +2 -2
  46. package/dist/datasets/sources/workspaces.js +1 -1
  47. package/dist/datasets/sources/workspaces.js.map +2 -2
  48. package/dist/datasets/types.js.map +1 -1
  49. package/dist/datasets/workspace-aggregate.js +64 -0
  50. package/dist/datasets/workspace-aggregate.js.map +7 -0
  51. package/dist/document-tools/core.cjs +102 -102
  52. package/dist/document-tools/core.d.ts +2 -2
  53. package/dist/document-tools/index.cjs +104 -104
  54. package/dist/document-tools/index.d.ts +2 -2
  55. package/dist/{file-shares.d-CamKxNLC.d.ts → file-shares.d-CyTnJ2Re.d.ts} +11 -0
  56. package/dist/index.cjs +2956 -2489
  57. package/dist/index.cjs.map +1 -1
  58. package/dist/{index.d-DbcrFwS6.d.ts → index.d-Dy_Pz6Vl.d.ts} +4 -0
  59. package/dist/index.d.ts +145 -7
  60. package/dist/index.js +11 -2
  61. package/dist/index.js.map +2 -2
  62. package/dist/projects.js +9 -0
  63. package/dist/projects.js.map +2 -2
  64. package/dist/query-keys.js +9 -0
  65. package/dist/query-keys.js.map +2 -2
  66. package/dist/shell/index.cjs +40 -40
  67. package/dist/storage.js +24 -1
  68. package/dist/storage.js.map +2 -2
  69. package/dist/table-views.js +19 -1
  70. package/dist/table-views.js.map +2 -2
  71. package/dist/ui/card.js +2 -2
  72. package/dist/ui/card.js.map +2 -2
  73. package/dist/ui/index.cjs +181 -181
  74. package/dist/ui/index.d.ts +1 -1
  75. package/dist/viewers/index.cjs +9 -9
  76. package/package.json +3 -3
  77. package/dist/chunk-B6T54X65.cjs.map +0 -1
  78. package/dist/chunk-P2DPOZBS.cjs.map +0 -1
@@ -1,4 +1,4 @@
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 PRESENTATIONS_FOLDER, aP as PRESENTATION_TEMPLATES_FOLDER, aQ as PassageCard, aR as PassageCardProps, aS as Popover, aT as PopoverAnchor, aU as PopoverClose, aV as PopoverContent, aW as PopoverTrigger, aX as PortalContainerProvider, aY as PresenceDisplayStatus, aZ as PresenceLabel, a_ as Progress, a$ as ProjectEntity, b0 as ProjectEntityProps, b1 as ProjectRelation, b2 as ProviderIcon, b3 as RadioGroup, b4 as RadioGroupItem, b5 as Rag, b6 as SHARING_LABELS, b7 as ScrollArea, b8 as ScrollBar, b9 as Select, ba as SelectContent, bb as SelectGroup, bc as SelectItem, bd as SelectLabel, be as SelectScrollDownButton, bf as SelectScrollUpButton, bg as SelectSeparator, bh as SelectTrigger, bi as SelectValue, bj as Separator, bk as SharingEntity, bl as SharingEntityProps, bm as ShieldIcon, bn as ShieldIconProps, bo as Slider, bp as StatusBadgeComponent, bq as StatusBadgeProps, br as StatusPill, bs as StatusPillProps, bt as StatusVariant, bu as Switch, bv as TAG_TYPE_ICONS, bw as TAG_TYPE_LABELS, bx as Table, by as TableBody, bz as TableCaption, bA as TableCell, bB as TableFooter, bC as TableHead, bD as TableHeader, bE as TableRow, bF as Tabs, bG as TabsContent, bH as TabsList, bI as TabsTrigger, bJ as TagEntity, bK as TagEntityProps, bL as TagLike, bM as Textarea, bN as TextareaProps, bO as ThreadVisibilityIcon, bP as Toggle, bQ as ToggleGroup, bR as ToggleGroupItem, bS as Tooltip, bT as TooltipContent, bU as TooltipProvider, bV as TooltipTrigger, bW as UserEntity, bX as UserEntityProps, bY as UserMenu, bZ as UserMenuItem, b_ as UserMenuProps, b$ as UserMenuStatus, c0 as VISIBILITY_ICONS, c1 as VerifiedBadge, c2 as VerifiedBadgeProps, c3 as VerifiedToggle, c4 as VisibilityIcon, c5 as VisibilityToggle, c6 as VisibilityToggleProps, c7 as agentAvatarColors, c8 as badgeVariants, c9 as buildFolderTree, ca as buttonVariants, cb as canonicalFolderPath, cc as cardVariants, cd as closeOpenEmphasis, ce as cn, cf as configureEntityRegistry, cg as configureEntityVocabulary, ch as configureRagLabels, ci as configureSharingMembers, cj as configureStatusRegistry, ck as createUserAvatarIcon, cl as entityNoun, cm as extensionFromMime, cn as formatCompactLastSeen, co as formatDocDate, cp as formatFolderLabel, cq as formatFriendlyDate, cr as formatRelativeTime, cs as friendlyFileType, ct as getDocIcon, cu as getDocumentAuthor, cv as getDocumentDate, cw as getDocumentNature, cx as getDocumentSubject, cy as getDocumentTitle, cz as getEntityColor, cA as getEntityColorStyles, cB as getEntityIcon, cC as getEntityLabel, cD as getFileExtension, cE as getFileTypeIcon, cF as getStatusVariant, cG as getTagTypeIcon, cH as getTagTypeLabel, cI as getUserAvatarColor, cJ as getUserDisplayName, cK as getUserInitials, cL as getWorkspaceColor, cM as isAgent, cN as isAudioFile, cO as isDocumentAddableToConversation, cP as isDownloadOnlyFile, cQ as isImageDocument, cR as isImageFile, cS as isMediaFile, cT as isPresentationFileName, cU as isVideoFile, cV as markdownBaseComponents, cW as markdownSanitizeSchema, cX as markdownToPlainText, cY as markdownToPlainTextBlocks, c_ as splitMarkdownBlocks, c$ as tagKindNouns, d0 as tagKindTitle, d1 as toggleVariants, d2 as trimOpenCitation, d3 as useDictateContext, d4 as usePortalContainer, d5 as usesOriginalBytesForViewer } from '../index.d-DbcrFwS6.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 PRESENTATIONS_FOLDER, aP as PRESENTATION_TEMPLATES_FOLDER, aQ as PassageCard, aR as PassageCardProps, aS as Popover, aT as PopoverAnchor, aU as PopoverClose, aV as PopoverContent, aW as PopoverTrigger, aX as PortalContainerProvider, aY as PresenceDisplayStatus, aZ as PresenceLabel, a_ as Progress, a$ as ProjectEntity, b0 as ProjectEntityProps, b1 as ProjectRelation, b2 as ProviderIcon, b3 as RadioGroup, b4 as RadioGroupItem, b5 as Rag, b6 as SHARING_LABELS, b7 as ScrollArea, b8 as ScrollBar, b9 as Select, ba as SelectContent, bb as SelectGroup, bc as SelectItem, bd as SelectLabel, be as SelectScrollDownButton, bf as SelectScrollUpButton, bg as SelectSeparator, bh as SelectTrigger, bi as SelectValue, bj as Separator, bk as SharingEntity, bl as SharingEntityProps, bm as ShieldIcon, bn as ShieldIconProps, bo as Slider, bp as StatusBadgeComponent, bq as StatusBadgeProps, br as StatusPill, bs as StatusPillProps, bt as StatusVariant, bu as Switch, bv as TAG_TYPE_ICONS, bw as TAG_TYPE_LABELS, bx as Table, by as TableBody, bz as TableCaption, bA as TableCell, bB as TableFooter, bC as TableHead, bD as TableHeader, bE as TableRow, bF as Tabs, bG as TabsContent, bH as TabsList, bI as TabsTrigger, bJ as TagEntity, bK as TagEntityProps, bL as TagLike, bM as Textarea, bN as TextareaProps, bO as ThreadVisibilityIcon, bP as Toggle, bQ as ToggleGroup, bR as ToggleGroupItem, bS as Tooltip, bT as TooltipContent, bU as TooltipProvider, bV as TooltipTrigger, bW as UserEntity, bX as UserEntityProps, bY as UserMenu, bZ as UserMenuItem, b_ as UserMenuProps, b$ as UserMenuStatus, c0 as VISIBILITY_ICONS, c1 as VerifiedBadge, c2 as VerifiedBadgeProps, c3 as VerifiedToggle, c4 as VisibilityIcon, c5 as VisibilityToggle, c6 as VisibilityToggleProps, c7 as agentAvatarColors, c8 as badgeVariants, c9 as buildFolderTree, ca as buttonVariants, cb as canonicalFolderPath, cc as cardVariants, cd as closeOpenEmphasis, ce as cn, cf as configureEntityRegistry, cg as configureEntityVocabulary, ch as configureRagLabels, ci as configureSharingMembers, cj as configureStatusRegistry, ck as createUserAvatarIcon, cl as entityNoun, cm as extensionFromMime, cn as formatCompactLastSeen, co as formatDocDate, cp as formatFolderLabel, cq as formatFriendlyDate, cr as formatRelativeTime, cs as friendlyFileType, ct as getDocIcon, cu as getDocumentAuthor, cv as getDocumentDate, cw as getDocumentNature, cx as getDocumentSubject, cy as getDocumentTitle, cz as getEntityColor, cA as getEntityColorStyles, cB as getEntityIcon, cC as getEntityLabel, cD as getFileExtension, cE as getFileTypeIcon, cF as getStatusVariant, cG as getTagTypeIcon, cH as getTagTypeLabel, cI as getUserAvatarColor, cJ as getUserDisplayName, cK as getUserInitials, cL as getWorkspaceColor, cM as isAgent, cN as isAudioFile, cO as isDocumentAddableToConversation, cP as isDownloadOnlyFile, cQ as isImageDocument, cR as isImageFile, cS as isMediaFile, cT as isPresentationFileName, cU as isVideoFile, cV as markdownBaseComponents, cW as markdownSanitizeSchema, cX as markdownToPlainText, cY as markdownToPlainTextBlocks, c_ as splitMarkdownBlocks, c$ as tagKindNouns, d0 as tagKindTitle, d1 as toggleVariants, d2 as trimOpenCitation, d3 as useDictateContext, d4 as usePortalContainer, d5 as usesOriginalBytesForViewer } from '../index.d-Dy_Pz6Vl.js';
2
2
  export { L as LazyChunk, l as lazyChunk, a as lazyComponent, p as preloadChunks } from '../lazy-chunk.d-B6YDLMKI.js';
3
3
  import 'clsx';
4
4
  import 'react';
@@ -1,10 +1,10 @@
1
1
  'use strict';
2
2
 
3
- var chunkFK33RWIO_cjs = require('../chunk-FK33RWIO.cjs');
4
3
  var chunkPGD4ZWI3_cjs = require('../chunk-PGD4ZWI3.cjs');
5
4
  var chunkPWGSIM3F_cjs = require('../chunk-PWGSIM3F.cjs');
6
5
  var chunkIU2CJNTB_cjs = require('../chunk-IU2CJNTB.cjs');
7
6
  var chunkTMPDW7J5_cjs = require('../chunk-TMPDW7J5.cjs');
7
+ var chunkFK33RWIO_cjs = require('../chunk-FK33RWIO.cjs');
8
8
  require('../chunk-T5FZICXN.cjs');
9
9
  var react = require('react');
10
10
  var jsxRuntime = require('react/jsx-runtime');
@@ -271,14 +271,6 @@ function computeSelectionRuns(pages, selectedChunks) {
271
271
  return runs;
272
272
  }
273
273
 
274
- Object.defineProperty(exports, "PdfViewer", {
275
- enumerable: true,
276
- get: function () { return chunkFK33RWIO_cjs.PdfViewer; }
277
- });
278
- Object.defineProperty(exports, "pdfViewerChunk", {
279
- enumerable: true,
280
- get: function () { return chunkFK33RWIO_cjs.pdfViewerChunk; }
281
- });
282
274
  Object.defineProperty(exports, "PDF_REGION_MAX_PIXELS", {
283
275
  enumerable: true,
284
276
  get: function () { return chunkPGD4ZWI3_cjs.PDF_REGION_MAX_PIXELS; }
@@ -387,6 +379,14 @@ Object.defineProperty(exports, "VideoViewer", {
387
379
  enumerable: true,
388
380
  get: function () { return chunkTMPDW7J5_cjs.VideoViewer; }
389
381
  });
382
+ Object.defineProperty(exports, "PdfViewer", {
383
+ enumerable: true,
384
+ get: function () { return chunkFK33RWIO_cjs.PdfViewer; }
385
+ });
386
+ Object.defineProperty(exports, "pdfViewerChunk", {
387
+ enumerable: true,
388
+ get: function () { return chunkFK33RWIO_cjs.pdfViewerChunk; }
389
+ });
390
390
  exports.DocxViewer = DocxViewer;
391
391
  exports.XlsxViewer = XlsxViewer;
392
392
  exports.computeSelectionRuns = computeSelectionRuns;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@arbidocs/react",
3
- "version": "0.5.151",
3
+ "version": "0.5.153",
4
4
  "description": "React hooks and provider for the ARBI SDK",
5
5
  "type": "module",
6
6
  "sideEffects": false,
@@ -117,8 +117,8 @@
117
117
  "build-storybook": "storybook build"
118
118
  },
119
119
  "dependencies": {
120
- "@arbidocs/client": "0.5.151",
121
- "@arbidocs/sdk": "0.5.151",
120
+ "@arbidocs/client": "0.5.153",
121
+ "@arbidocs/sdk": "0.5.153",
122
122
  "@didit-protocol/sdk-web": "0.4.0",
123
123
  "@livekit/components-react": "2.9.24",
124
124
  "@radix-ui/react-avatar": "^1.2.0",