@arbidocs/react 0.4.100 → 0.4.102
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/document-tools/index.cjs +281 -9
- package/dist/document-tools/index.cjs.map +1 -1
- package/dist/document-tools/index.d.cts +253 -1
- package/dist/document-tools/index.d.ts +253 -1
- package/dist/document-tools/index.js +261 -10
- package/dist/document-tools/index.js.map +1 -1
- package/dist/index.cjs +6 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +7 -1
- package/dist/index.js.map +1 -1
- package/package.json +3 -3
package/dist/index.js
CHANGED
|
@@ -24,7 +24,7 @@ import React, { memo, useState, createContext, useMemo, useCallback, useEffect,
|
|
|
24
24
|
import { useQueryClient, useMutation, useQuery, onlineManager } from '@tanstack/react-query';
|
|
25
25
|
import { resolveCitations, summarizeCitations, settings, formatFileSize, connectWithReconnect, dm, identityErrorCode } from '@arbidocs/sdk/browser';
|
|
26
26
|
export { Arbi, ArbiError } from '@arbidocs/sdk/browser';
|
|
27
|
-
import { Link, Trash2, CheckCheck, Check, Loader2, AlertTriangle, ShieldCheck, Copy, Sparkles, FileText, GitCompareArrows, Download, Search, CornerDownLeft, X, ArrowLeft, Send, Tags, Crown, Info, Activity, Gauge, Gift, PartyPopper, UserCheck, Reply, AtSign, MessageCircleMore, FileX2, FileCheck2, Pencil, FolderPlus, SquareArrowOutUpRight, MessagesSquare, Paperclip, ArrowRight, MoreHorizontal, SquarePen, Mic, Pause, Play, Square, RotateCcw, Camera, Circle, Image as Image$1, AppWindow } from 'lucide-react';
|
|
27
|
+
import { Link, Trash2, CheckCheck, Check, Loader2, AlertTriangle, ShieldCheck, Copy, Sparkles, FileText, GitCompareArrows, Download, Search, CornerDownLeft, X, ArrowLeft, Send, Tags, Crown, Info, Activity, Gauge, Gift, PartyPopper, UserCheck, Reply, PenLine, AtSign, MessageCircleMore, FileX2, FileCheck2, Pencil, FolderPlus, SquareArrowOutUpRight, MessagesSquare, Paperclip, ArrowRight, MoreHorizontal, SquarePen, Mic, Pause, Play, Square, RotateCcw, Camera, Circle, Image as Image$1, AppWindow } from 'lucide-react';
|
|
28
28
|
import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
|
|
29
29
|
import { isMessageType, passwordChangeErrorMessage } from '@arbidocs/client';
|
|
30
30
|
export { isMessageType } from '@arbidocs/client';
|
|
@@ -4567,6 +4567,12 @@ function getNotificationTypeMeta(type) {
|
|
|
4567
4567
|
case "docx_mention":
|
|
4568
4568
|
case "mention":
|
|
4569
4569
|
return { Icon: AtSign, iconClassName: "text-primary", label: "Mention" };
|
|
4570
|
+
case "signature_requested":
|
|
4571
|
+
return { Icon: PenLine, iconClassName: "text-primary", label: "Signature" };
|
|
4572
|
+
case "signature_completed":
|
|
4573
|
+
return { Icon: PenLine, iconClassName: "text-green-600", label: "Signed" };
|
|
4574
|
+
case "signature_declined":
|
|
4575
|
+
return { Icon: PenLine, iconClassName: "text-orange-500", label: "Declined" };
|
|
4570
4576
|
case "thread_reply":
|
|
4571
4577
|
return { Icon: Reply, iconClassName: "text-primary", label: "Reply" };
|
|
4572
4578
|
case "document_activity":
|