@fileverse-dev/ddoc 4.2.0-durability-3 → 4.2.0-durability-4
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/{index-B1YYH48o.mjs → index-BBUrVb_K.mjs} +1 -1
- package/dist/{index-Cf6WSYX5.mjs → index-DAyn7Bvw.mjs} +13159 -13212
- package/dist/index.es.js +1 -1
- package/dist/{markdown-source-pane-BSZ4KkCo.mjs → markdown-source-pane-edyRbYf5.mjs} +2 -2
- package/dist/package/components/editor-bubble-menu/types.d.ts +0 -1
- package/dist/package/components/inline-comment/comment-drawer-desktop.d.ts +1 -2
- package/dist/package/components/inline-comment/comment-drawer-mobile.d.ts +1 -2
- package/dist/package/components/inline-comment/comment-drawer.d.ts +1 -1
- package/dist/package/components/inline-comment/comment-input-field.d.ts +1 -2
- package/dist/package/components/inline-comment/comment-reply-input.d.ts +1 -2
- package/dist/package/components/inline-comment/comment-section.d.ts +1 -1
- package/dist/package/components/inline-comment/floating-comment/comment-floating-container.d.ts +1 -1
- package/dist/package/components/inline-comment/floating-comment/suggestion-thread-floating-card.d.ts +1 -1
- package/dist/package/components/inline-comment/floating-comment/thread-floating-card.d.ts +1 -1
- package/dist/package/components/inline-comment/floating-comment/types.d.ts +0 -2
- package/dist/package/components/inline-comment/types.d.ts +0 -2
- package/dist/{split-view-toolbar-DZPQZsFn.mjs → split-view-toolbar-CJ28ino3.mjs} +2 -2
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { D as e, a as o, E as t, P as d, f as r, h as i, m as n, e as E, c as m, d as u, u as C, v as l } from "./index-
|
|
1
|
+
import { D as e, a as o, E as t, P as d, f as r, h as i, m as n, e as E, c as m, d as u, u as C, v as l } from "./index-DAyn7Bvw.mjs";
|
|
2
2
|
export {
|
|
3
3
|
e as DdocEditor,
|
|
4
4
|
o as DdocExportModal,
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
var Vr = Object.defineProperty;
|
|
2
2
|
var Wr = (t, e, O) => e in t ? Vr(t, e, { enumerable: !0, configurable: !0, writable: !0, value: O }) : t[e] = O;
|
|
3
3
|
var gt = (t, e, O) => Wr(t, typeof e != "symbol" ? e + "" : e, O);
|
|
4
|
-
import { j as Cr } from "./index-
|
|
4
|
+
import { j as Cr } from "./index-DAyn7Bvw.mjs";
|
|
5
5
|
import { useRef as pe, useEffect as St } from "react";
|
|
6
|
-
import { s as y, A as pO, T as dO, a as Gr, S as et, b as Lr, P as fO, E as j, i as QO, c as _, D as le, k as tt, F as Ar, M as Pt, W as Er, R as Ur, d as mO, N as oe, e as V, f as Mr, g as Ot, h as ce, p as $O, j as Y, t as h, l as Ir, I as rt, L as at, m as ye, n as ue, o as Qe, q as gO, r as te, u as SO, v as Br, w as Nr, x as PO, y as kO, z as Dr, B as Fr, C as Kr, G as Oe, H as ZO, J as Jr, K as kt, O as Hr, Q as ea, U as ta, V as Oa, X as ra, Y as aa, Z as ia, _ as sa, $ as na, a0 as la, a1 as oa, a2 as ca } from "./index-
|
|
6
|
+
import { s as y, A as pO, T as dO, a as Gr, S as et, b as Lr, P as fO, E as j, i as QO, c as _, D as le, k as tt, F as Ar, M as Pt, W as Er, R as Ur, d as mO, N as oe, e as V, f as Mr, g as Ot, h as ce, p as $O, j as Y, t as h, l as Ir, I as rt, L as at, m as ye, n as ue, o as Qe, q as gO, r as te, u as SO, v as Br, w as Nr, x as PO, y as kO, z as Dr, B as Fr, C as Kr, G as Oe, H as ZO, J as Jr, K as kt, O as Hr, Q as ea, U as ta, V as Oa, X as ra, Y as aa, Z as ia, _ as sa, $ as na, a0 as la, a1 as oa, a2 as ca } from "./index-BBUrVb_K.mjs";
|
|
7
7
|
class ua {
|
|
8
8
|
/**
|
|
9
9
|
Create a new completion context. (Mostly useful for testing
|
|
@@ -30,7 +30,6 @@ export type EditorBubbleMenuProps = Omit<BubbleMenuProps, 'children'> & {
|
|
|
30
30
|
file: File;
|
|
31
31
|
}>;
|
|
32
32
|
fetchV1ImageFn?: (url: string) => Promise<ArrayBuffer | undefined>;
|
|
33
|
-
enableCollaboration?: boolean;
|
|
34
33
|
isCollabDocOwner?: boolean;
|
|
35
34
|
};
|
|
36
35
|
export interface NodeSelectorProps {
|
|
@@ -9,7 +9,6 @@ interface CommentDrawerDesktopProps {
|
|
|
9
9
|
commentType: string;
|
|
10
10
|
commentTypeOptions: DrawerSelectOption[];
|
|
11
11
|
filteredComments: IComment[];
|
|
12
|
-
isCollaborationEnabled: boolean;
|
|
13
12
|
isCommentTypeSelectOpen: boolean;
|
|
14
13
|
isConnected: boolean;
|
|
15
14
|
isNavbarVisible: boolean;
|
|
@@ -31,5 +30,5 @@ interface CommentDrawerDesktopProps {
|
|
|
31
30
|
tabList: DrawerSelectOption[];
|
|
32
31
|
tabNameById: Record<string, string>;
|
|
33
32
|
}
|
|
34
|
-
export declare const CommentDrawerDesktop: ({ activeCommentId, commentType, commentTypeOptions, filteredComments,
|
|
33
|
+
export declare const CommentDrawerDesktop: ({ activeCommentId, commentType, commentTypeOptions, filteredComments, isCommentTypeSelectOpen, isConnected, isNavbarVisible, isOpen, isPresentationMode, isPreviewMode, isTabSelectOpen, newCommentTabId, onClose, onCommentFocus, onCommentTypeChange, onCommentTypeSelectOpenChange, onReset, onTabChange, onTabSelectOpenChange, sectionLabel, selectedTab, selectedTabLabel, tabList, tabNameById, }: CommentDrawerDesktopProps) => import("react/jsx-runtime").JSX.Element;
|
|
35
34
|
export {};
|
|
@@ -9,7 +9,6 @@ interface CommentDrawerMobileProps {
|
|
|
9
9
|
canGoToNextMobileComment: boolean;
|
|
10
10
|
canGoToPreviousMobileComment: boolean;
|
|
11
11
|
comments: IComment[];
|
|
12
|
-
isCollaborationEnabled: boolean;
|
|
13
12
|
isCommentMobileFocused: boolean;
|
|
14
13
|
isConnected: boolean;
|
|
15
14
|
isDiscardCommentOverlayVisible: boolean;
|
|
@@ -39,5 +38,5 @@ interface CommentDrawerMobileProps {
|
|
|
39
38
|
tabNameById: Record<string, string>;
|
|
40
39
|
username: string | null;
|
|
41
40
|
}
|
|
42
|
-
export declare const CommentDrawerMobile: ({ activeCommentId, activeDraft, activeDraftId, activeSuggestionDraftCard, canGoToNextMobileComment, canGoToPreviousMobileComment, comments,
|
|
41
|
+
export declare const CommentDrawerMobile: ({ activeCommentId, activeDraft, activeDraftId, activeSuggestionDraftCard, canGoToNextMobileComment, canGoToPreviousMobileComment, comments, isCommentMobileFocused, isConnected, isDiscardCommentOverlayVisible, isDiscardSuggestionOverlayVisible, isInlineDraftOpen, isMobileDrawerVisible, isNavbarVisible, isPresentationMode, mobileActiveCommentsCount, mobileDraftRef, mobileFocusedCommentIndex, onAttemptCloseNewComment, onAttemptCloseSuggestionDraft, onCancelDiscardComment, onCancelDiscardSuggestion, onCloseDrawer, onCommentFocus, onCreateComment, onDiscardSuggestionDraft, onFocusSuggestionDraft, onNextMobileComment, onPreviousMobileComment, onStartNewMobileComment, onSubmitSuggestionDraft, onUpdateInlineDraftText, onViewAllComments, tabNameById, username, }: CommentDrawerMobileProps) => import("react/jsx-runtime").JSX.Element;
|
|
43
42
|
export {};
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { CommentDrawerProps } from './types';
|
|
2
2
|
|
|
3
|
-
export declare const CommentDrawer: ({ isOpen, onClose, isNavbarVisible, isPresentationMode, activeCommentId, activeTabId, onTabChange, isPreviewMode, tabs,
|
|
3
|
+
export declare const CommentDrawer: ({ isOpen, onClose, isNavbarVisible, isPresentationMode, activeCommentId, activeTabId, onTabChange, isPreviewMode, tabs, }: CommentDrawerProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -2,7 +2,6 @@ interface CommentReplyInputProps {
|
|
|
2
2
|
commentId: string;
|
|
3
3
|
commentUsername?: string;
|
|
4
4
|
replyCount: number;
|
|
5
|
-
isCollaborationEnabled: boolean;
|
|
6
5
|
}
|
|
7
|
-
export declare const CommentReplyInput: ({ commentId, replyCount,
|
|
6
|
+
export declare const CommentReplyInput: ({ commentId, replyCount, commentUsername, }: CommentReplyInputProps) => import("react/jsx-runtime").JSX.Element;
|
|
8
7
|
export {};
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { CommentSectionProps } from './types';
|
|
2
2
|
|
|
3
|
-
export declare const CommentSection: ({ activeCommentId, isNavbarVisible, isPresentationMode, isMobile, comments: commentsProp, commentType, tabNameById, selectedTabLabel, newCommentTabId, showNewCommentInput, onCommentFocus, onReset,
|
|
3
|
+
export declare const CommentSection: ({ activeCommentId, isNavbarVisible, isPresentationMode, isMobile, comments: commentsProp, commentType, tabNameById, selectedTabLabel, newCommentTabId, showNewCommentInput, onCommentFocus, onReset, }: CommentSectionProps) => import("react/jsx-runtime").JSX.Element;
|
package/dist/package/components/inline-comment/floating-comment/comment-floating-container.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { CommentFloatingContainerProps } from './types';
|
|
2
2
|
|
|
3
|
-
export declare const CommentFloatingContainer: ({ editor, editorWrapperRef, scrollContainerRef, tabName, isHidden,
|
|
3
|
+
export declare const CommentFloatingContainer: ({ editor, editorWrapperRef, scrollContainerRef, tabName, isHidden, }: CommentFloatingContainerProps) => import("react/jsx-runtime").JSX.Element | null;
|
package/dist/package/components/inline-comment/floating-comment/suggestion-thread-floating-card.d.ts
CHANGED
|
@@ -12,4 +12,4 @@ import { ThreadFloatingCardProps } from './types';
|
|
|
12
12
|
* uses — so once a draft is submitted, nothing else in the pipeline needs
|
|
13
13
|
* to change to show the suggestion here.
|
|
14
14
|
*/
|
|
15
|
-
export declare const SuggestionThreadFloatingCard: ({ thread, comment, isHidden, registerCardNode,
|
|
15
|
+
export declare const SuggestionThreadFloatingCard: ({ thread, comment, isHidden, registerCardNode, }: ThreadFloatingCardProps) => import("react/jsx-runtime").JSX.Element | null;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { ThreadFloatingCardProps } from './types';
|
|
2
2
|
|
|
3
|
-
export declare const ThreadFloatingCard: ({ thread, comment, tabName, isHidden, registerCardNode,
|
|
3
|
+
export declare const ThreadFloatingCard: ({ thread, comment, tabName, isHidden, registerCardNode, }: ThreadFloatingCardProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -10,7 +10,6 @@ export interface CommentFloatingContainerProps {
|
|
|
10
10
|
scrollContainerRef: RefObject<HTMLDivElement>;
|
|
11
11
|
tabName: string;
|
|
12
12
|
isHidden: boolean;
|
|
13
|
-
isCollaborationEnabled?: boolean;
|
|
14
13
|
}
|
|
15
14
|
export interface FloatingCardShellProps {
|
|
16
15
|
floatingCardId: string;
|
|
@@ -30,7 +29,6 @@ export interface ThreadFloatingCardProps {
|
|
|
30
29
|
tabName: string;
|
|
31
30
|
isHidden: boolean;
|
|
32
31
|
registerCardNode: RegisterCardNode;
|
|
33
|
-
isCollaborationEnabled?: boolean;
|
|
34
32
|
}
|
|
35
33
|
export interface SuggestionDraftFloatingCardProps {
|
|
36
34
|
card: SuggestionFloatingDraftCard;
|
|
@@ -36,7 +36,6 @@ export interface CommentDrawerProps {
|
|
|
36
36
|
onTabChange?: (tabId: string) => void;
|
|
37
37
|
isPreviewMode: boolean;
|
|
38
38
|
tabs: Tab[];
|
|
39
|
-
isCollaborationEnabled: boolean;
|
|
40
39
|
}
|
|
41
40
|
export interface CommentCardProps extends IComment {
|
|
42
41
|
comment?: string;
|
|
@@ -87,7 +86,6 @@ export interface CommentSectionProps {
|
|
|
87
86
|
showNewCommentInput?: boolean;
|
|
88
87
|
onCommentFocus?: (commentId: string, tabId?: string) => void;
|
|
89
88
|
onReset?: () => void;
|
|
90
|
-
isCollaborationEnabled: boolean;
|
|
91
89
|
}
|
|
92
90
|
export interface UserDisplayProps {
|
|
93
91
|
username: string;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { j as d } from "./index-
|
|
1
|
+
import { j as d } from "./index-DAyn7Bvw.mjs";
|
|
2
2
|
import { useRef as I, useState as N, useEffect as D } from "react";
|
|
3
3
|
import { DynamicDropdown as E, Tooltip as R, IconButton as O } from "@fileverse/ui";
|
|
4
|
-
import { a3 as A, a4 as P, c as y } from "./index-
|
|
4
|
+
import { a3 as A, a4 as P, c as y } from "./index-BBUrVb_K.mjs";
|
|
5
5
|
const p = (e, t, o = t) => {
|
|
6
6
|
const { state: s } = e, l = s.changeByRange((n) => {
|
|
7
7
|
const u = s.sliceDoc(n.from, n.to), r = s.sliceDoc(
|