@arbidocs/react 0.4.70 → 0.4.72
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 +6 -4
- package/dist/ProductionDialog-BRrZ5Lj5.d.cts +84 -0
- package/dist/ProductionDialog-DUC9BXWS.d.ts +84 -0
- package/dist/annotations/freeze/index.cjs +45 -1100
- package/dist/annotations/freeze/index.cjs.map +1 -1
- package/dist/annotations/freeze/index.d.cts +2 -85
- package/dist/annotations/freeze/index.d.ts +2 -85
- package/dist/annotations/freeze/index.js +4 -1084
- package/dist/annotations/freeze/index.js.map +1 -1
- package/dist/annotations/index.cjs +48 -48
- package/dist/annotations/index.d.cts +3 -51
- package/dist/annotations/index.d.ts +3 -51
- package/dist/annotations/index.js +2 -2
- package/dist/artifacts/index.cjs +9 -9
- package/dist/artifacts/index.js +2 -2
- package/dist/bundle-BnCSbHy2.d.cts +85 -0
- package/dist/bundle-BnCSbHy2.d.ts +85 -0
- package/dist/bundle-N2JIJ2T6.js +4 -0
- package/dist/bundle-N2JIJ2T6.js.map +1 -0
- package/dist/bundle-T6BEVYHE.cjs +13 -0
- package/dist/bundle-T6BEVYHE.cjs.map +1 -0
- package/dist/{chunk-7CL7QHT6.cjs → chunk-GE5TAR7Y.cjs} +26 -25
- package/dist/chunk-GE5TAR7Y.cjs.map +1 -0
- package/dist/{chunk-3QF5DNAP.js → chunk-IHTBAY57.js} +3 -3
- package/dist/{chunk-3QF5DNAP.js.map → chunk-IHTBAY57.js.map} +1 -1
- package/dist/{chunk-ZMTLGO3K.cjs → chunk-IIT7DMQL.cjs} +6 -2
- package/dist/chunk-IIT7DMQL.cjs.map +1 -0
- package/dist/{chunk-SYPUFZGA.js → chunk-IQ5TYPVU.js} +4 -3
- package/dist/chunk-IQ5TYPVU.js.map +1 -0
- package/dist/{chunk-ULU5LEWF.cjs → chunk-L2PXZWJM.cjs} +25 -25
- package/dist/{chunk-ULU5LEWF.cjs.map → chunk-L2PXZWJM.cjs.map} +1 -1
- package/dist/{chunk-V4CXOPLB.js → chunk-MHCN7OST.js} +19 -7
- package/dist/{chunk-V4CXOPLB.js.map → chunk-MHCN7OST.js.map} +1 -1
- package/dist/{chunk-BTRIS3HY.cjs → chunk-QJRP2LLQ.cjs} +19 -6
- package/dist/chunk-QJRP2LLQ.cjs.map +1 -0
- package/dist/chunk-QJXFRP5R.cjs +1103 -0
- package/dist/chunk-QJXFRP5R.cjs.map +1 -0
- package/dist/{chunk-J4MX2W4H.js → chunk-WBYNKFUO.js} +6 -3
- package/dist/chunk-WBYNKFUO.js.map +1 -0
- package/dist/{chunk-LQ5YHB7W.cjs → chunk-WYZJLZ67.cjs} +6 -4
- package/dist/chunk-WYZJLZ67.cjs.map +1 -0
- package/dist/{chunk-WS6DF5X4.js → chunk-YNNAJJ5Z.js} +6 -4
- package/dist/chunk-YNNAJJ5Z.js.map +1 -0
- package/dist/chunk-ZJMUNGOY.js +1088 -0
- package/dist/chunk-ZJMUNGOY.js.map +1 -0
- package/dist/document-tools/index.cjs +226 -11
- package/dist/document-tools/index.cjs.map +1 -1
- package/dist/document-tools/index.d.cts +139 -9
- package/dist/document-tools/index.d.ts +139 -9
- package/dist/document-tools/index.js +207 -9
- package/dist/document-tools/index.js.map +1 -1
- package/dist/{index-BWv_FKi3.d.cts → index-BVMBElCu.d.cts} +82 -1
- package/dist/{index-BWv_FKi3.d.ts → index-BVMBElCu.d.ts} +82 -1
- package/dist/index.cjs +688 -369
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +208 -4
- package/dist/index.d.ts +208 -4
- package/dist/index.js +313 -11
- package/dist/index.js.map +1 -1
- package/dist/ui/index.cjs +137 -133
- package/dist/ui/index.d.cts +1 -1
- package/dist/ui/index.d.ts +1 -1
- package/dist/ui/index.js +2 -2
- package/dist/viewers/index.cjs +2 -2
- package/dist/viewers/index.js +1 -1
- package/package.json +4 -3
- package/dist/chunk-7CL7QHT6.cjs.map +0 -1
- package/dist/chunk-BTRIS3HY.cjs.map +0 -1
- package/dist/chunk-J4MX2W4H.js.map +0 -1
- package/dist/chunk-LQ5YHB7W.cjs.map +0 -1
- package/dist/chunk-SYPUFZGA.js.map +0 -1
- package/dist/chunk-WS6DF5X4.js.map +0 -1
- package/dist/chunk-ZMTLGO3K.cjs.map +0 -1
- package/dist/store-CqkkD7Ho.d.cts +0 -35
- package/dist/store-D1nhbkgk.d.ts +0 -35
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { MarkdownRenderer } from './chunk-YXSXGTYQ.js';
|
|
2
|
-
import { Dialog, DialogContent } from './chunk-
|
|
2
|
+
import { Dialog, DialogContent } from './chunk-YNNAJJ5Z.js';
|
|
3
3
|
import { getCollisionPadding, usePortalContainer, DropdownMenu, DropdownMenuTrigger, DropdownMenuContent, DropdownMenuLabel, DropdownMenuItem, DropdownMenuSeparator } from './chunk-47CCGUWR.js';
|
|
4
4
|
import { cn } from './chunk-SN5YV6FF.js';
|
|
5
5
|
import * as React from 'react';
|
|
6
6
|
import React__default, { createContext, forwardRef, memo, useContext, useState, useRef, useEffect, useCallback, useId, useMemo, Fragment as Fragment$1 } from 'react';
|
|
7
7
|
import { createPortal } from 'react-dom';
|
|
8
8
|
import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
|
|
9
|
-
import { ChevronDown, ChevronUp, Check, Circle, Search, MessageCircleMore, Loader2, Square, Mic, MoreVertical, MessageSquareLock, Info, FileQuestion, BookOpen, Upload, LogOut, LayoutGrid, Bell, MessageSquare, CircleUserRound, Wrench, CreditCard, ClipboardList, UserPlus, UserStar, Settings2, Users, User, NotebookPen, NotebookText, StickyNote, FolderPlus, Hash, EyeOff, Eye, CaptionsOff, FolderOpen, MessageSquareMore, MessageSquarePlus, MessageSquareText, MessageSquareOff, MessagesSquare, Columns3Cog, SquarePlus, SquareM, ChevronsDown, Bot, Calendar, Folder, List, SquareCheckBig, Minus, Plus, Share2, MessageSquareShare, ChevronsUpDown, X, AlertTriangle, FileX, SkipForward, XCircle, CheckCircle } from 'lucide-react';
|
|
9
|
+
import { ChevronDown, ChevronUp, Check, Circle, Search, MessageCircleMore, Loader2, Square, Mic, MoreVertical, BadgeCheck, MessageSquareLock, Info, FileQuestion, BookOpen, Upload, LogOut, LayoutGrid, Bell, MessageSquare, CircleUserRound, Wrench, CreditCard, ClipboardList, UserPlus, UserStar, Settings2, Users, User, NotebookPen, NotebookText, StickyNote, FolderPlus, Hash, EyeOff, Eye, CaptionsOff, FolderOpen, MessageSquareMore, MessageSquarePlus, MessageSquareText, MessageSquareOff, MessagesSquare, Columns3Cog, SquarePlus, SquareM, ChevronsDown, Bot, Calendar, Folder, List, SquareCheckBig, Minus, Plus, Share2, MessageSquareShare, ChevronsUpDown, X, AlertTriangle, FileX, SkipForward, XCircle, CheckCircle } from 'lucide-react';
|
|
10
10
|
import * as SelectPrimitive from '@radix-ui/react-select';
|
|
11
11
|
import * as AvatarPrimitive from '@radix-ui/react-avatar';
|
|
12
12
|
import { cva } from 'class-variance-authority';
|
|
@@ -674,8 +674,6 @@ function classifyMediaError(err, kind) {
|
|
|
674
674
|
}
|
|
675
675
|
return `Could not access the ${kind}. Please try again.`;
|
|
676
676
|
}
|
|
677
|
-
|
|
678
|
-
// src/documents/useAudioRecorder.ts
|
|
679
677
|
var LEVEL_UPDATE_INTERVAL_MS = 50;
|
|
680
678
|
function useAudioRecorder() {
|
|
681
679
|
const [state, setState] = useState("idle");
|
|
@@ -2897,6 +2895,18 @@ function ProjectEntity({
|
|
|
2897
2895
|
}
|
|
2898
2896
|
);
|
|
2899
2897
|
}
|
|
2898
|
+
function VerifiedBadge({ className, label = "Identity verified" }) {
|
|
2899
|
+
return /* @__PURE__ */ jsx(
|
|
2900
|
+
BadgeCheck,
|
|
2901
|
+
{
|
|
2902
|
+
role: "img",
|
|
2903
|
+
"aria-label": label,
|
|
2904
|
+
"data-testid": "verified-badge",
|
|
2905
|
+
className: cn("h-3.5 w-3.5 shrink-0 text-sky-500", className),
|
|
2906
|
+
children: /* @__PURE__ */ jsx("title", { children: label })
|
|
2907
|
+
}
|
|
2908
|
+
);
|
|
2909
|
+
}
|
|
2900
2910
|
var sizeClasses = {
|
|
2901
2911
|
xs: "h-5 w-5",
|
|
2902
2912
|
sm: "h-6 w-6",
|
|
@@ -2948,6 +2958,7 @@ var UserEntity = memo(function UserEntity2({
|
|
|
2948
2958
|
avatarImageClassName,
|
|
2949
2959
|
colorClass = "",
|
|
2950
2960
|
isAgent = false,
|
|
2961
|
+
isVerified = false,
|
|
2951
2962
|
agentStyle,
|
|
2952
2963
|
avatarStyle,
|
|
2953
2964
|
isMe = false,
|
|
@@ -3047,6 +3058,7 @@ var UserEntity = memo(function UserEntity2({
|
|
|
3047
3058
|
const row = /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
3048
3059
|
pillAvatar,
|
|
3049
3060
|
displayName && /* @__PURE__ */ jsx("span", { className: "min-w-0 max-w-[320px] truncate text-sm leading-tight", children: displayName }),
|
|
3061
|
+
isVerified && !isAgent && /* @__PURE__ */ jsx(VerifiedBadge, {}),
|
|
3050
3062
|
agentBadge
|
|
3051
3063
|
] });
|
|
3052
3064
|
const rowClass = "group/pill inline-flex min-w-0 items-center gap-2";
|
|
@@ -3906,6 +3918,6 @@ function DocumentCard({
|
|
|
3906
3918
|
);
|
|
3907
3919
|
}
|
|
3908
3920
|
|
|
3909
|
-
export { AgentBadge, AiMarkdown, ArbiBotHeadIcon, AudIcon, Avatar, AvatarFallback, AvatarImage, BASE_COLORS2 as BASE_COLORS, Badge, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Checkbox, Collapsible, CollapsibleContent2 as CollapsibleContent, CollapsibleTrigger2 as CollapsibleTrigger, Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, DictateProvider, DocIcon, DocumentCard, DocumentEntity, ENTITY_MAPPINGS, EmlIcon, EntityIcon, EntityPill, FILE_TYPE_COLORS, HoverCard, HoverCardContent, HoverCardTrigger, HtmlIcon, IconToggle, ImgIcon, InlineMicButton, Input, Label2 as Label, MarkMenu, MicRecordingOverlay, MicWaveformIndicator, NEUTRAL_GRAY2 as NEUTRAL_GRAY, PLACEHOLDER_COLOR, PassageCard, PdfIcon, Popover, PopoverAnchor, PopoverContent, PopoverTrigger, PresenceLabel, Progress, ProjectEntity, RadioGroup, RadioGroupItem, RagDot, RelevanceDot, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, Separator2 as Separator, 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, TxtIcon, UserEntity, UserMenu, VISIBILITY_ICONS, VidIcon, VisibilityIcon, VisibilityToggle, XlsIcon, badgeVariants, cardVariants, classifyMediaError, configureEntityRegistry, configureRagLabels, configureStatusRegistry, formatElapsed, getDocIcon, getEntityColor2 as getEntityColor, getEntityColorStyles, getEntityIcon, getEntityLabel, getStatusVariant, getTagTypeIcon, getTagTypeLabel, getWorkspaceColor, returnFocusToMark, toggleVariants, useAudioRecorder };
|
|
3910
|
-
//# sourceMappingURL=chunk-
|
|
3911
|
-
//# sourceMappingURL=chunk-
|
|
3921
|
+
export { AgentBadge, AiMarkdown, ArbiBotHeadIcon, AudIcon, Avatar, AvatarFallback, AvatarImage, BASE_COLORS2 as BASE_COLORS, Badge, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Checkbox, Collapsible, CollapsibleContent2 as CollapsibleContent, CollapsibleTrigger2 as CollapsibleTrigger, Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, DictateProvider, DocIcon, DocumentCard, DocumentEntity, ENTITY_MAPPINGS, EmlIcon, EntityIcon, EntityPill, FILE_TYPE_COLORS, HoverCard, HoverCardContent, HoverCardTrigger, HtmlIcon, IconToggle, ImgIcon, InlineMicButton, Input, Label2 as Label, MarkMenu, MicRecordingOverlay, MicWaveformIndicator, NEUTRAL_GRAY2 as NEUTRAL_GRAY, PLACEHOLDER_COLOR, PassageCard, PdfIcon, Popover, PopoverAnchor, PopoverContent, PopoverTrigger, PresenceLabel, Progress, ProjectEntity, RadioGroup, RadioGroupItem, RagDot, RelevanceDot, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, Separator2 as Separator, 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, TxtIcon, UserEntity, UserMenu, VISIBILITY_ICONS, VerifiedBadge, VidIcon, VisibilityIcon, VisibilityToggle, XlsIcon, badgeVariants, cardVariants, classifyMediaError, configureEntityRegistry, configureRagLabels, configureStatusRegistry, formatElapsed, getDocIcon, getEntityColor2 as getEntityColor, getEntityColorStyles, getEntityIcon, getEntityLabel, getStatusVariant, getTagTypeIcon, getTagTypeLabel, getWorkspaceColor, returnFocusToMark, toggleVariants, useAudioRecorder };
|
|
3922
|
+
//# sourceMappingURL=chunk-MHCN7OST.js.map
|
|
3923
|
+
//# sourceMappingURL=chunk-MHCN7OST.js.map
|