react-reason-editor 1.0.24
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 +225 -0
- package/dist/ActionMenuButton-BGj7ODjl.cjs +1 -0
- package/dist/ActionMenuButton-DHYJFTev.js +2 -0
- package/dist/Attachment-DGzsbPZZ.js +4 -0
- package/dist/Attachment.cjs +1 -0
- package/dist/Attachment.js +1 -0
- package/dist/Blockquote-CQ6HlDnL.js +2 -0
- package/dist/Blockquote.cjs +1 -0
- package/dist/Blockquote.js +1 -0
- package/dist/Bold-Ciuvp1pM.js +2 -0
- package/dist/Bold-M6IKTPME.cjs +1 -0
- package/dist/Bold.cjs +1 -0
- package/dist/Bold.js +1 -0
- package/dist/BulletList.cjs +1 -0
- package/dist/BulletList.js +1 -0
- package/dist/Callout-DOHjjQtT.cjs +1 -0
- package/dist/Callout-heY7R-Zu.js +11 -0
- package/dist/Callout.cjs +1 -0
- package/dist/Callout.js +1 -0
- package/dist/Clear.cjs +1 -0
- package/dist/Clear.js +1 -0
- package/dist/Code-B17BQJf-.js +1 -0
- package/dist/Code-BsD1D1sK.cjs +1 -0
- package/dist/Code.cjs +1 -0
- package/dist/Code.js +1 -0
- package/dist/CodeBlock-B7Wklup8.js +1 -0
- package/dist/CodeBlock-D2OKvGCF.cjs +1 -0
- package/dist/CodeBlock.cjs +1 -0
- package/dist/CodeBlock.js +1 -0
- package/dist/CodeView.cjs +1 -0
- package/dist/CodeView.js +1 -0
- package/dist/Color-BxzxtvJH.cjs +1 -0
- package/dist/Color-VWGwmpsG.js +5 -0
- package/dist/Color.cjs +1 -0
- package/dist/Color.js +1 -0
- package/dist/Column-D4FgAp5K.js +1 -0
- package/dist/Column-I4gS_xKw.cjs +1 -0
- package/dist/Column.cjs +1 -0
- package/dist/Column.js +1 -0
- package/dist/Comment-DEtjWTFF.js +14 -0
- package/dist/Comment-DaHgAu2h.cjs +1 -0
- package/dist/Comment.cjs +1 -0
- package/dist/Comment.js +1 -0
- package/dist/Drawer-Dunw22Q1.js +63 -0
- package/dist/Drawer-DxCO6TBr.cjs +1 -0
- package/dist/Drawer.cjs +1 -0
- package/dist/Drawer.js +1 -0
- package/dist/Drawio-Bx8zt_CW.cjs +1 -0
- package/dist/Drawio-eqEGDkwW.js +6 -0
- package/dist/Drawio.cjs +1 -0
- package/dist/Drawio.js +1 -0
- package/dist/Emoji-BU-itkPp.js +12 -0
- package/dist/Emoji.cjs +1 -0
- package/dist/Emoji.js +1 -0
- package/dist/ExportPdf-DPeFg2GG.js +1 -0
- package/dist/ExportPdf.cjs +1 -0
- package/dist/ExportPdf.js +1 -0
- package/dist/ExportWord-TFEb3HXz.js +1 -0
- package/dist/ExportWord.cjs +1 -0
- package/dist/ExportWord.js +1 -0
- package/dist/FontFamily.cjs +1 -0
- package/dist/FontFamily.js +2 -0
- package/dist/FontSize.cjs +1 -0
- package/dist/FontSize.js +8 -0
- package/dist/Harper-1cMMY1sx.cjs +1 -0
- package/dist/Harper-BMTF3gpj.js +1 -0
- package/dist/Harper.cjs +1 -0
- package/dist/Harper.js +1 -0
- package/dist/Heading-YSJHyWCU.js +2 -0
- package/dist/Heading.cjs +1 -0
- package/dist/Heading.js +1 -0
- package/dist/Highlight-BeqLxfbY.cjs +1 -0
- package/dist/Highlight-OkaWwhRk.js +5 -0
- package/dist/Highlight.cjs +1 -0
- package/dist/Highlight.js +1 -0
- package/dist/History-C6yBYB2w.js +1 -0
- package/dist/History.cjs +1 -0
- package/dist/History.js +1 -0
- package/dist/HorizontalRule-kAw8TV0V.js +1 -0
- package/dist/HorizontalRule.cjs +1 -0
- package/dist/HorizontalRule.js +1 -0
- package/dist/Icon-CJJ9AQtR.js +1 -0
- package/dist/Icon-DQdA22_-.cjs +1 -0
- package/dist/Iframe-B-0W9YYq.js +2 -0
- package/dist/Iframe-DS5N9EFx.cjs +1 -0
- package/dist/Iframe.cjs +1 -0
- package/dist/Iframe.js +1 -0
- package/dist/Image.cjs +1 -0
- package/dist/Image.js +1 -0
- package/dist/ImageCropper-BAWOk69J.cjs +1 -0
- package/dist/ImageCropper-Dlz4nJQu.js +11 -0
- package/dist/ImageGif-CWfgVc6e.cjs +1 -0
- package/dist/ImageGif-D5Qw_Xf-.js +3 -0
- package/dist/ImageGif.cjs +1 -0
- package/dist/ImageGif.js +1 -0
- package/dist/ImportWord-BCcs3dYp.js +1 -0
- package/dist/ImportWord.cjs +1 -0
- package/dist/ImportWord.js +1 -0
- package/dist/Indent-6tc8tB62.cjs +1 -0
- package/dist/Indent-DpTPoZMk.js +1 -0
- package/dist/Indent.cjs +1 -0
- package/dist/Indent.js +1 -0
- package/dist/Italic-Brjxxqsi.cjs +1 -0
- package/dist/Italic-CZkbT3Dd.js +1 -0
- package/dist/Italic.cjs +1 -0
- package/dist/Italic.js +1 -0
- package/dist/Katex-Bo_vfXrd.js +10 -0
- package/dist/Katex-D_vF5gsD.cjs +1 -0
- package/dist/Katex.cjs +1 -0
- package/dist/Katex.js +1 -0
- package/dist/LineHeight.cjs +1 -0
- package/dist/LineHeight.js +1 -0
- package/dist/Link-C0cNnjXo.js +6 -0
- package/dist/Link.cjs +1 -0
- package/dist/Link.js +1 -0
- package/dist/LinkEditBlock-Or1HIYih.cjs +1 -0
- package/dist/MarkdownPaste-C5jQ33SR.js +1 -0
- package/dist/MarkdownPaste.cjs +1 -0
- package/dist/MarkdownPaste.js +1 -0
- package/dist/Mention-DEkbeL04.js +1 -0
- package/dist/Mention.cjs +1 -0
- package/dist/Mention.js +1 -0
- package/dist/Mermaid-BB15qd24.cjs +1 -0
- package/dist/Mermaid-DxpFRVu0.js +5 -0
- package/dist/Mermaid.cjs +1 -0
- package/dist/Mermaid.js +1 -0
- package/dist/MoreMark-CXudh2cm.js +3 -0
- package/dist/MoreMark.cjs +1 -0
- package/dist/MoreMark.js +1 -0
- package/dist/OfficePaste-BmPshTAb.js +1 -0
- package/dist/OfficePaste-Day0T6Ox.cjs +1 -0
- package/dist/OfficePaste.cjs +1 -0
- package/dist/OfficePaste.js +1 -0
- package/dist/OrderedList.cjs +1 -0
- package/dist/OrderedList.js +1 -0
- package/dist/Pagination-B8rfYYi_.js +1 -0
- package/dist/Pagination-yjRu_qJK.cjs +1 -0
- package/dist/Pagination.cjs +1 -0
- package/dist/Pagination.js +1 -0
- package/dist/SearchAndReplace.cjs +1 -0
- package/dist/SearchAndReplace.js +11 -0
- package/dist/SlashCommand-8LkH8bHy.js +1 -0
- package/dist/SlashCommand.cjs +1 -0
- package/dist/SlashCommand.js +1 -0
- package/dist/Strike-BsMuOhxs.js +1 -0
- package/dist/Strike.cjs +1 -0
- package/dist/Strike.js +1 -0
- package/dist/Table-B4KNW7Yq.cjs +1 -0
- package/dist/Table-C9t-k9Qu.js +3 -0
- package/dist/Table.cjs +1 -0
- package/dist/Table.js +1 -0
- package/dist/TableOfContents.cjs +1 -0
- package/dist/TableOfContents.js +1 -0
- package/dist/TaskList.cjs +1 -0
- package/dist/TaskList.js +1 -0
- package/dist/TextAlign-6ElUYI4_.cjs +1 -0
- package/dist/TextAlign-C75gn_OM.js +1 -0
- package/dist/TextAlign.cjs +1 -0
- package/dist/TextAlign.js +1 -0
- package/dist/TextDirection.cjs +1 -0
- package/dist/TextDirection.js +1 -0
- package/dist/TextUnderline-BaV7bhwo.js +1 -0
- package/dist/TextUnderline-ofstnQx_.cjs +1 -0
- package/dist/TextUnderline.cjs +1 -0
- package/dist/TextUnderline.js +1 -0
- package/dist/Twitter-D5UNfT-K.js +5 -0
- package/dist/Twitter-DyrQT0n4.cjs +1 -0
- package/dist/Twitter.cjs +1 -0
- package/dist/Twitter.js +1 -0
- package/dist/Video-BSH5k6Jd.cjs +1 -0
- package/dist/Video-_YlAC2R_.js +5 -0
- package/dist/Video.cjs +1 -0
- package/dist/Video.js +1 -0
- package/dist/WordCount.cjs +1 -0
- package/dist/WordCount.js +2 -0
- package/dist/app-hooks/use-mobile.d.ts +5 -0
- package/dist/app-hooks/useDocumentSync.d.ts +27 -0
- package/dist/app-hooks/useLocalStorage.d.ts +11 -0
- package/dist/app-theme/theme-dropdown.d.ts +1 -0
- package/dist/app-types/document.d.ts +81 -0
- package/dist/app-types/fileSource.d.ts +124 -0
- package/dist/app-types/team.d.ts +52 -0
- package/dist/app-types/toc.d.ts +2 -0
- package/dist/app-ui/FileTypeIcon.d.ts +11 -0
- package/dist/app-ui/alert-dialog.d.ts +14 -0
- package/dist/app-ui/avatar.d.ts +6 -0
- package/dist/app-ui/badge.d.ts +13 -0
- package/dist/app-ui/breadcrumb.d.ts +15 -0
- package/dist/app-ui/button.d.ts +15 -0
- package/dist/app-ui/context-menu.d.ts +28 -0
- package/dist/app-ui/dialog.d.ts +15 -0
- package/dist/app-ui/dropdown-menu.d.ts +25 -0
- package/dist/app-ui/input.d.ts +7 -0
- package/dist/app-ui/label.d.ts +4 -0
- package/dist/app-ui/radio-group.d.ts +5 -0
- package/dist/app-ui/scroll-area.d.ts +5 -0
- package/dist/app-ui/select.d.ts +13 -0
- package/dist/app-ui/separator.d.ts +4 -0
- package/dist/app-ui/sheet.d.ts +13 -0
- package/dist/app-ui/sidebar.d.ts +70 -0
- package/dist/app-ui/skeleton.d.ts +3 -0
- package/dist/app-ui/switch.d.ts +4 -0
- package/dist/app-ui/tabs.d.ts +7 -0
- package/dist/app-ui/textarea.d.ts +7 -0
- package/dist/app-ui/tooltip.d.ts +7 -0
- package/dist/app-ui/tree.d.ts +19 -0
- package/dist/app-ui/visually-hidden.d.ts +6 -0
- package/dist/app-utils/file-sources/sources.d.ts +37 -0
- package/dist/app-utils/utils.d.ts +1 -0
- package/dist/bubble---c27x7L.js +80 -0
- package/dist/bubble.cjs +1 -0
- package/dist/bubble.d.ts +4 -0
- package/dist/bubble.js +1 -0
- package/dist/button-CXcuJkiM.js +1 -0
- package/dist/button-CYMsgP3Y.cjs +1 -0
- package/dist/cdn-loader-D76eUWN7.cjs +1 -0
- package/dist/cdn-loader-w67sLKk9.js +1 -0
- package/dist/checkbox-BtMvSk4V.cjs +1 -0
- package/dist/checkbox-zfuPZBhD.js +1 -0
- package/dist/comments/CommentsSidebar.d.ts +14 -0
- package/dist/comments/commentMarks.d.ts +40 -0
- package/dist/comments/useCommentThreads.d.ts +29 -0
- package/dist/components/ActionButton.d.ts +23 -0
- package/dist/components/ActionMenuButton.d.ts +28 -0
- package/dist/components/Bubble/RichTextBubbleCallout.d.ts +4 -0
- package/dist/components/Bubble/RichTextBubbleCodeBlock.d.ts +4 -0
- package/dist/components/Bubble/RichTextBubbleColumns.d.ts +4 -0
- package/dist/components/Bubble/RichTextBubbleDrawer.d.ts +4 -0
- package/dist/components/Bubble/RichTextBubbleDrawio.d.ts +4 -0
- package/dist/components/Bubble/RichTextBubbleIframe.d.ts +4 -0
- package/dist/components/Bubble/RichTextBubbleKatex.d.ts +2 -0
- package/dist/components/Bubble/RichTextBubbleLink.d.ts +6 -0
- package/dist/components/Bubble/RichTextBubbleMedia.d.ts +7 -0
- package/dist/components/Bubble/RichTextBubbleMenuDragHandle.d.ts +2 -0
- package/dist/components/Bubble/RichTextBubbleMermaid.d.ts +4 -0
- package/dist/components/Bubble/RichTextBubbleTable.d.ts +8 -0
- package/dist/components/Bubble/RichTextBubbleText.d.ts +8 -0
- package/dist/components/Bubble/RichTextBubbleTwitter.d.ts +4 -0
- package/dist/components/Bubble/formatBubble.d.ts +55 -0
- package/dist/components/Bubble/index.d.ts +17 -0
- package/dist/components/ColorPicker.d.ts +11 -0
- package/dist/components/ReactBus.d.ts +11 -0
- package/dist/components/RichTextProvider.d.ts +8 -0
- package/dist/components/SizeSetter/SizeSetter.d.ts +16 -0
- package/dist/components/SlashDialogTrigger/RenderDialogUploadImage.d.ts +4 -0
- package/dist/components/SlashDialogTrigger/RenderDialogUploadVideo.d.ts +4 -0
- package/dist/components/SlashDialogTrigger/SlashDialogTrigger.d.ts +6 -0
- package/dist/components/ToolbarMenuItem.d.ts +15 -0
- package/dist/components/icons/Activity.d.ts +3 -0
- package/dist/components/icons/Animas.d.ts +3 -0
- package/dist/components/icons/AspectRatio.d.ts +2 -0
- package/dist/components/icons/Blockquote.d.ts +2 -0
- package/dist/components/icons/CodeView.d.ts +4 -0
- package/dist/components/icons/ColumnAddLeft.d.ts +4 -0
- package/dist/components/icons/ColumnAddRight.d.ts +4 -0
- package/dist/components/icons/DeleteColumn.d.ts +5 -0
- package/dist/components/icons/DeleteRow.d.ts +5 -0
- package/dist/components/icons/Direction.d.ts +4 -0
- package/dist/components/icons/Drawio.d.ts +4 -0
- package/dist/components/icons/ExportPdf.d.ts +4 -0
- package/dist/components/icons/ExportWord.d.ts +3 -0
- package/dist/components/icons/FileWordOutline.d.ts +2 -0
- package/dist/components/icons/Flag.d.ts +3 -0
- package/dist/components/icons/Food.d.ts +3 -0
- package/dist/components/icons/GIfIcon.d.ts +4 -0
- package/dist/components/icons/Html.d.ts +4 -0
- package/dist/components/icons/Icon.d.ts +8 -0
- package/dist/components/icons/IconColorFill.d.ts +8 -0
- package/dist/components/icons/IconHighlightFill.d.ts +6 -0
- package/dist/components/icons/ImportWord.d.ts +3 -0
- package/dist/components/icons/LeftToRight.d.ts +4 -0
- package/dist/components/icons/LineHeight.d.ts +2 -0
- package/dist/components/icons/MenuDown.d.ts +2 -0
- package/dist/components/icons/Mermaid.d.ts +4 -0
- package/dist/components/icons/NoFill.d.ts +4 -0
- package/dist/components/icons/Object.d.ts +3 -0
- package/dist/components/icons/RightToLeft.d.ts +4 -0
- package/dist/components/icons/SizeL.d.ts +2 -0
- package/dist/components/icons/SizeM.d.ts +2 -0
- package/dist/components/icons/SizeS.d.ts +2 -0
- package/dist/components/icons/Symbol.d.ts +3 -0
- package/dist/components/icons/Travel.d.ts +3 -0
- package/dist/components/icons/Twitter.d.ts +4 -0
- package/dist/components/icons/icons.d.ts +4 -0
- package/dist/components/icons/index.d.ts +15 -0
- package/dist/components/index.d.ts +10 -0
- package/dist/components/ui/FileTypeIcon.d.ts +11 -0
- package/dist/components/ui/alert-dialog.d.ts +14 -0
- package/dist/components/ui/avatar.d.ts +6 -0
- package/dist/components/ui/badge.d.ts +13 -0
- package/dist/components/ui/breadcrumb.d.ts +15 -0
- package/dist/components/ui/button.d.ts +11 -0
- package/dist/components/ui/card.d.ts +13 -0
- package/dist/components/ui/checkbox.d.ts +7 -0
- package/dist/components/ui/context-menu.d.ts +28 -0
- package/dist/components/ui/dialog.d.ts +22 -0
- package/dist/components/ui/dropdown-menu.d.ts +30 -0
- package/dist/components/ui/emoji-picker.d.ts +22 -0
- package/dist/components/ui/index.d.ts +33 -0
- package/dist/components/ui/input.d.ts +8 -0
- package/dist/components/ui/label.d.ts +8 -0
- package/dist/components/ui/popover.d.ts +9 -0
- package/dist/components/ui/radio-group.d.ts +5 -0
- package/dist/components/ui/scroll-area.d.ts +5 -0
- package/dist/components/ui/select.d.ts +16 -0
- package/dist/components/ui/separator.d.ts +7 -0
- package/dist/components/ui/sheet.d.ts +13 -0
- package/dist/components/ui/sidebar.d.ts +70 -0
- package/dist/components/ui/skeleton.d.ts +3 -0
- package/dist/components/ui/switch.d.ts +7 -0
- package/dist/components/ui/tabs.d.ts +10 -0
- package/dist/components/ui/textarea.d.ts +8 -0
- package/dist/components/ui/toast.d.ts +18 -0
- package/dist/components/ui/toaster.d.ts +4 -0
- package/dist/components/ui/toggle.d.ts +15 -0
- package/dist/components/ui/tooltip.d.ts +7 -0
- package/dist/components/ui/tree.d.ts +19 -0
- package/dist/components/ui/use-toast.d.ts +47 -0
- package/dist/components/ui/visually-hidden.d.ts +6 -0
- package/dist/constants/index.d.ts +50 -0
- package/dist/constants/resetCSS.d.ts +4 -0
- package/dist/demo/alternatives.html +23 -0
- package/dist/demo/assets/BinaryModule-DTTQwokQ-8eah-8sx.js +4 -0
- package/dist/demo/assets/KaTeX_AMS-Regular-BQhdFMY1.woff2 +0 -0
- package/dist/demo/assets/KaTeX_AMS-Regular-DMm9YOAa.woff +0 -0
- package/dist/demo/assets/KaTeX_AMS-Regular-DRggAlZN.ttf +0 -0
- package/dist/demo/assets/KaTeX_Caligraphic-Bold-ATXxdsX0.ttf +0 -0
- package/dist/demo/assets/KaTeX_Caligraphic-Bold-BEiXGLvX.woff +0 -0
- package/dist/demo/assets/KaTeX_Caligraphic-Bold-Dq_IR9rO.woff2 +0 -0
- package/dist/demo/assets/KaTeX_Caligraphic-Regular-CTRA-rTL.woff +0 -0
- package/dist/demo/assets/KaTeX_Caligraphic-Regular-Di6jR-x-.woff2 +0 -0
- package/dist/demo/assets/KaTeX_Caligraphic-Regular-wX97UBjC.ttf +0 -0
- package/dist/demo/assets/KaTeX_Fraktur-Bold-BdnERNNW.ttf +0 -0
- package/dist/demo/assets/KaTeX_Fraktur-Bold-BsDP51OF.woff +0 -0
- package/dist/demo/assets/KaTeX_Fraktur-Bold-CL6g_b3V.woff2 +0 -0
- package/dist/demo/assets/KaTeX_Fraktur-Regular-CB_wures.ttf +0 -0
- package/dist/demo/assets/KaTeX_Fraktur-Regular-CTYiF6lA.woff2 +0 -0
- package/dist/demo/assets/KaTeX_Fraktur-Regular-Dxdc4cR9.woff +0 -0
- package/dist/demo/assets/KaTeX_Main-Bold-Cx986IdX.woff2 +0 -0
- package/dist/demo/assets/KaTeX_Main-Bold-Jm3AIy58.woff +0 -0
- package/dist/demo/assets/KaTeX_Main-Bold-waoOVXN0.ttf +0 -0
- package/dist/demo/assets/KaTeX_Main-BoldItalic-DxDJ3AOS.woff2 +0 -0
- package/dist/demo/assets/KaTeX_Main-BoldItalic-DzxPMmG6.ttf +0 -0
- package/dist/demo/assets/KaTeX_Main-BoldItalic-SpSLRI95.woff +0 -0
- package/dist/demo/assets/KaTeX_Main-Italic-3WenGoN9.ttf +0 -0
- package/dist/demo/assets/KaTeX_Main-Italic-BMLOBm91.woff +0 -0
- package/dist/demo/assets/KaTeX_Main-Italic-NWA7e6Wa.woff2 +0 -0
- package/dist/demo/assets/KaTeX_Main-Regular-B22Nviop.woff2 +0 -0
- package/dist/demo/assets/KaTeX_Main-Regular-Dr94JaBh.woff +0 -0
- package/dist/demo/assets/KaTeX_Main-Regular-ypZvNtVU.ttf +0 -0
- package/dist/demo/assets/KaTeX_Math-BoldItalic-B3XSjfu4.ttf +0 -0
- package/dist/demo/assets/KaTeX_Math-BoldItalic-CZnvNsCZ.woff2 +0 -0
- package/dist/demo/assets/KaTeX_Math-BoldItalic-iY-2wyZ7.woff +0 -0
- package/dist/demo/assets/KaTeX_Math-Italic-DA0__PXp.woff +0 -0
- package/dist/demo/assets/KaTeX_Math-Italic-flOr_0UB.ttf +0 -0
- package/dist/demo/assets/KaTeX_Math-Italic-t53AETM-.woff2 +0 -0
- package/dist/demo/assets/KaTeX_SansSerif-Bold-CFMepnvq.ttf +0 -0
- package/dist/demo/assets/KaTeX_SansSerif-Bold-D1sUS0GD.woff2 +0 -0
- package/dist/demo/assets/KaTeX_SansSerif-Bold-DbIhKOiC.woff +0 -0
- package/dist/demo/assets/KaTeX_SansSerif-Italic-C3H0VqGB.woff2 +0 -0
- package/dist/demo/assets/KaTeX_SansSerif-Italic-DN2j7dab.woff +0 -0
- package/dist/demo/assets/KaTeX_SansSerif-Italic-YYjJ1zSn.ttf +0 -0
- package/dist/demo/assets/KaTeX_SansSerif-Regular-BNo7hRIc.ttf +0 -0
- package/dist/demo/assets/KaTeX_SansSerif-Regular-CS6fqUqJ.woff +0 -0
- package/dist/demo/assets/KaTeX_SansSerif-Regular-DDBCnlJ7.woff2 +0 -0
- package/dist/demo/assets/KaTeX_Script-Regular-C5JkGWo-.ttf +0 -0
- package/dist/demo/assets/KaTeX_Script-Regular-D3wIWfF6.woff2 +0 -0
- package/dist/demo/assets/KaTeX_Script-Regular-D5yQViql.woff +0 -0
- package/dist/demo/assets/KaTeX_Size1-Regular-C195tn64.woff +0 -0
- package/dist/demo/assets/KaTeX_Size1-Regular-Dbsnue_I.ttf +0 -0
- package/dist/demo/assets/KaTeX_Size1-Regular-mCD8mA8B.woff2 +0 -0
- package/dist/demo/assets/KaTeX_Size2-Regular-B7gKUWhC.ttf +0 -0
- package/dist/demo/assets/KaTeX_Size2-Regular-Dy4dx90m.woff2 +0 -0
- package/dist/demo/assets/KaTeX_Size2-Regular-oD1tc_U0.woff +0 -0
- package/dist/demo/assets/KaTeX_Size3-Regular-CTq5MqoE.woff +0 -0
- package/dist/demo/assets/KaTeX_Size3-Regular-DgpXs0kz.ttf +0 -0
- package/dist/demo/assets/KaTeX_Size4-Regular-BF-4gkZK.woff +0 -0
- package/dist/demo/assets/KaTeX_Size4-Regular-DWFBv043.ttf +0 -0
- package/dist/demo/assets/KaTeX_Size4-Regular-Dl5lxZxV.woff2 +0 -0
- package/dist/demo/assets/KaTeX_Typewriter-Regular-C0xS9mPB.woff +0 -0
- package/dist/demo/assets/KaTeX_Typewriter-Regular-CO6r4hn1.woff2 +0 -0
- package/dist/demo/assets/KaTeX_Typewriter-Regular-D3Ib7_Hf.ttf +0 -0
- package/dist/demo/assets/abnfDiagram-VRR7QNED-Dfd140vw.js +1 -0
- package/dist/demo/assets/alternatives-B9ZaH43Q.js +34 -0
- package/dist/demo/assets/arc-DgAnSXoo.js +1 -0
- package/dist/demo/assets/architecture-TIHT7OUA-PKWnSAaw.js +1 -0
- package/dist/demo/assets/architectureDiagram-ZJ3FMSHR-DKbvCH_5.js +36 -0
- package/dist/demo/assets/archiver-web.es-9DdX0ee3.js +1 -0
- package/dist/demo/assets/array-BifhSqXX.js +1 -0
- package/dist/demo/assets/binary-C5gJtLso.js +1 -0
- package/dist/demo/assets/blockDiagram-677ZJIJ3-CG98KmMB.js +132 -0
- package/dist/demo/assets/c4Diagram-LMCZKHZV-DMoYN41z.js +10 -0
- package/dist/demo/assets/channel-KwEJ8erK.js +1 -0
- package/dist/demo/assets/chunk-2Q5K7J3B-C1jixKkw.js +1 -0
- package/dist/demo/assets/chunk-32BRIVSS-urznovFN.js +1 -0
- package/dist/demo/assets/chunk-52WLFC77-CVCkOQ0G.js +10 -0
- package/dist/demo/assets/chunk-5VM5RSS4-ZNzvKenW.js +15 -0
- package/dist/demo/assets/chunk-7BUUIJ7U-Bb538aSH.js +1 -0
- package/dist/demo/assets/chunk-C7G6YPKG-3KR4wxr6.js +1 -0
- package/dist/demo/assets/chunk-EX3LRPZG-7H4O5zer.js +231 -0
- package/dist/demo/assets/chunk-FWX5IMBZ-Cr5hG-Ne.js +2 -0
- package/dist/demo/assets/chunk-HOUHSVGY-D-1II34k.js +1 -0
- package/dist/demo/assets/chunk-ICXQ74PX-6-sSSj2J.js +2 -0
- package/dist/demo/assets/chunk-JWPE2WC7-DVXcaiue.js +1 -0
- package/dist/demo/assets/chunk-KEIR6QF5-DEvma7oi.js +161 -0
- package/dist/demo/assets/chunk-MOJQB5TN-BI6A8dXC.js +88 -0
- package/dist/demo/assets/chunk-OGEWGWER-CbUWwSGR.js +1 -0
- package/dist/demo/assets/chunk-PUDLZKDR-DZFGcS0W.js +156 -0
- package/dist/demo/assets/chunk-Q4XR5HBZ-DZGKW5Hb.js +70 -0
- package/dist/demo/assets/chunk-RYQCIY6F-ngGojZR9.js +1 -0
- package/dist/demo/assets/chunk-V7JOEXUC-BHAISEav.js +206 -0
- package/dist/demo/assets/chunk-VAUOI2AC-DJJNd7f5.js +1 -0
- package/dist/demo/assets/chunk-VR4S4FIN-BohNhf6y.js +1 -0
- package/dist/demo/assets/chunk-WYO6CB5R-B4Oap74a.js +127 -0
- package/dist/demo/assets/chunk-XXDRQBXY-CazVBYiP.js +1 -0
- package/dist/demo/assets/chunk-Y2CYZVJY-DsF7k-Jl.js +1 -0
- package/dist/demo/assets/chunk-ZGVPDNZ5-BIzSs0a_.js +62 -0
- package/dist/demo/assets/chunk-ZIRB5QZD-BpeS1aZ7.js +32 -0
- package/dist/demo/assets/classDiagram-OUVF2IWQ-DHWWAQXA.js +1 -0
- package/dist/demo/assets/classDiagram-v2-EOCWNBFH-DHWWAQXA.js +1 -0
- package/dist/demo/assets/cose-bilkent-JH36ORCC-BX8lNO9u.js +1 -0
- package/dist/demo/assets/cynefin-VYW2F7L2-BgajGb2C.js +1 -0
- package/dist/demo/assets/cynefinDiagram-TSTJHNR4-DzhUAZoU.js +62 -0
- package/dist/demo/assets/cytoscape.esm-C3UvhD5t.js +321 -0
- package/dist/demo/assets/dagre-Do4loULv.js +1 -0
- package/dist/demo/assets/dagre-VKFMJZFB-BsopUNng.js +4 -0
- package/dist/demo/assets/defaultLocale-BFoDCU3G.js +1 -0
- package/dist/demo/assets/diagram-FQU43EPY-CnINkZTL.js +3 -0
- package/dist/demo/assets/diagram-G47NLZAW-Dz3Rtzen.js +24 -0
- package/dist/demo/assets/diagram-NH7WQ7WH-Be_1UuNu.js +24 -0
- package/dist/demo/assets/diagram-OA4YK3LP-CoSIFO2U.js +30 -0
- package/dist/demo/assets/diagram-WEI45ONY-BSRZnbDT.js +41 -0
- package/dist/demo/assets/dist-Cs1z76FA.js +3464 -0
- package/dist/demo/assets/dist-Cz2MTljl.js +1 -0
- package/dist/demo/assets/dist-D6vyGdj4.js +1 -0
- package/dist/demo/assets/ebnfDiagram-CCIWWBDH-CyNs0RvY.js +1 -0
- package/dist/demo/assets/editorConfig-DhK0JFvA.js +1355 -0
- package/dist/demo/assets/editorConfig-DsFwDEyj.css +2 -0
- package/dist/demo/assets/erDiagram-Q63AITRT-Duw2zQw3.js +85 -0
- package/dist/demo/assets/eventmodeling-45OFAUF4-BMPwBTgC.js +1 -0
- package/dist/demo/assets/flowDiagram-23GEKE2U-vnvQkbfP.js +1 -0
- package/dist/demo/assets/ganttDiagram-NO4QXBWP-BUQaZ9pm.js +292 -0
- package/dist/demo/assets/gitGraph-TEB2WS4Q-Bqyr024o.js +1 -0
- package/dist/demo/assets/gitGraphDiagram-IHSO6WYX-BHYVHdDB.js +106 -0
- package/dist/demo/assets/graphlib-0Qhce9xj.js +1 -0
- package/dist/demo/assets/harper_wasm_bg-C0DPov_6.wasm +0 -0
- package/dist/demo/assets/html-to-docx.esm-C-vYVLZ6.js +75 -0
- package/dist/demo/assets/index-CLlAnStL-Ad588yu1.js +18 -0
- package/dist/demo/assets/info-DKCQHKI2-CFeY2ca_.js +1 -0
- package/dist/demo/assets/infoDiagram-FWYZ7A6U-DL4MXbtI.js +2 -0
- package/dist/demo/assets/init-C-OQMol4.js +1 -0
- package/dist/demo/assets/isObject-BNleAbAq.js +1 -0
- package/dist/demo/assets/ishikawaDiagram-FXEZZL3T-DmCRB68D.js +70 -0
- package/dist/demo/assets/journeyDiagram-5HDEW3XC-CweGyybk.js +139 -0
- package/dist/demo/assets/kanban-definition-HUTT4EX6-C66P6IsH.js +89 -0
- package/dist/demo/assets/katex-DolUETbr.js +257 -0
- package/dist/demo/assets/line-BidjcqCQ.js +1 -0
- package/dist/demo/assets/linear-CilxpIUn.js +1 -0
- package/dist/demo/assets/main-B9AIVkTk.js +10 -0
- package/dist/demo/assets/main-BprCJcmy.css +1 -0
- package/dist/demo/assets/map-CD2wglgO.js +1 -0
- package/dist/demo/assets/mermaid-parser.core-9KJPT0XG.js +7 -0
- package/dist/demo/assets/mermaid.core-laQQcj-T.js +11 -0
- package/dist/demo/assets/mindmap-definition-LN4V7U3C-BQN-bZLe.js +96 -0
- package/dist/demo/assets/ordinal-DtR4qwUh.js +1 -0
- package/dist/demo/assets/packet-7NZHBO7P-DxBPLOYy.js +1 -0
- package/dist/demo/assets/path-COt_16Va.js +1 -0
- package/dist/demo/assets/pegDiagram-2B236MQR-BpHXi9RG.js +1 -0
- package/dist/demo/assets/pie-RZYD4A2V-DrQV2Hpi.js +1 -0
- package/dist/demo/assets/pieDiagram-ENE6RG2P-CG5jHfId.js +39 -0
- package/dist/demo/assets/quadrantDiagram-ABIIQ3AL-Dcu2-MJ0.js +7 -0
- package/dist/demo/assets/radar-I7S5WNFK-tVb61Efp.js +1 -0
- package/dist/demo/assets/railroad-3IZDKUUU-DkJtB_j_.js +1 -0
- package/dist/demo/assets/railroad-abnf-AHOZXSZD-CfCTKFr3.js +1 -0
- package/dist/demo/assets/railroad-ebnf-EBAXGLYW-_v-6l-Ly.js +1 -0
- package/dist/demo/assets/railroad-peg-LSFZ7HO6-BBeu0SHC.js +1 -0
- package/dist/demo/assets/railroadDiagram-RFXS5EU6-Bv3QCzUt.js +1 -0
- package/dist/demo/assets/requirementDiagram-TGXJPOKE-DBRcoYhq.js +84 -0
- package/dist/demo/assets/rolldown-runtime-C0FnF6B9.js +1 -0
- package/dist/demo/assets/rough.esm-By172zw-.js +1 -0
- package/dist/demo/assets/sankeyDiagram-HTMAVEWB-BUvv1AGS.js +40 -0
- package/dist/demo/assets/sequenceDiagram-DBY2YBRQ-DF4ltyiE.js +162 -0
- package/dist/demo/assets/sizeCapture-X5ZJPWSS-B0uUizjq.js +1 -0
- package/dist/demo/assets/src-CllyRBe0.js +1 -0
- package/dist/demo/assets/stateDiagram-2N3HPSRC-hdEszuU_.js +1 -0
- package/dist/demo/assets/stateDiagram-v2-6OUMAXLB-frodkCZE.js +1 -0
- package/dist/demo/assets/swimlanes-5IMT3BWC-BXUPe25m.js +2 -0
- package/dist/demo/assets/swimlanesDiagram-G3AALYLV-CN1oenl6.js +8 -0
- package/dist/demo/assets/timeline-definition-FHXFAJF6-Dphs5ING.js +120 -0
- package/dist/demo/assets/treeView-QDETBFTQ-MqbtC4u9.js +1 -0
- package/dist/demo/assets/treemap-6X3UGDF4-BExpaQPn.js +1 -0
- package/dist/demo/assets/v4-DDdyfk2q.js +1 -0
- package/dist/demo/assets/vennDiagram-L72KCM5P-BKVdTvjh.js +34 -0
- package/dist/demo/assets/wardley-OPB4EBWU-e6QJ2uBL.js +1 -0
- package/dist/demo/assets/wardleyDiagram-EHGQE667-DCxRFNx3.js +78 -0
- package/dist/demo/assets/xychartDiagram-FW5EYKEG-OnzZBgPH.js +7 -0
- package/dist/demo/index.html +23 -0
- package/dist/dialog-CxZ2oxD2.cjs +1 -0
- package/dist/dialog-DgdVbRUv.js +3 -0
- package/dist/dialogs/FileManagerModal.d.ts +9 -0
- package/dist/dialogs/InviteModal.d.ts +13 -0
- package/dist/dialogs/filemanager-data.d.ts +12 -0
- package/dist/dist-BEFKWXG8.js +1 -0
- package/dist/dist-BZqs5TU5.js +1 -0
- package/dist/dist-C5TeAoJ9.cjs +1 -0
- package/dist/dist-Cn_OUKh6.cjs +1 -0
- package/dist/dist-CsCFCV4K.js +29 -0
- package/dist/dist-D0RROJPB.cjs +1 -0
- package/dist/dist-GxnWmQlw.cjs +1 -0
- package/dist/dist-ICzvPVCE.cjs +1 -0
- package/dist/dist-fiA_WbbM.js +1 -0
- package/dist/documents/DocumentTree.d.ts +59 -0
- package/dist/documents/defaultDocuments.d.ts +7 -0
- package/dist/dom-dataset-D3Nz0h73.js +1 -0
- package/dist/dom-dataset-w2ZYeuXJ.cjs +1 -0
- package/dist/dropdown-menu-CVJhYAPA.cjs +1 -0
- package/dist/dropdown-menu-CfGzSpIy.js +2 -0
- package/dist/editor/EditorArea.d.ts +42 -0
- package/dist/editor/ReasonDocs.d.ts +7 -0
- package/dist/editor/ReasonDocsDialogs.d.ts +47 -0
- package/dist/editor/RightPanel.d.ts +43 -0
- package/dist/editor/TiptapEditorWrapper.d.ts +56 -0
- package/dist/editor/useReasonDocsState.d.ts +108 -0
- package/dist/editor/useSyncStore.d.ts +16 -0
- package/dist/events.constant-BkYOoqSk.cjs +1 -0
- package/dist/events.constant-DYciHxmk.js +2 -0
- package/dist/extensions/Attachment/Attachment.d.ts +15 -0
- package/dist/extensions/Attachment/components/NodeViewAttachment/FileIcon.d.ts +4 -0
- package/dist/extensions/Attachment/components/NodeViewAttachment/FileIconString.d.ts +4 -0
- package/dist/extensions/Attachment/components/NodeViewAttachment/NodeViewAttachment.d.ts +4 -0
- package/dist/extensions/Attachment/components/RichTextAttachment.d.ts +4 -0
- package/dist/extensions/Attachment/index.d.ts +4 -0
- package/dist/extensions/Blockquote/Blockquote.d.ts +6 -0
- package/dist/extensions/Blockquote/components/RichTextBlockquote.d.ts +4 -0
- package/dist/extensions/Blockquote/index.d.ts +4 -0
- package/dist/extensions/Bold/Bold.d.ts +6 -0
- package/dist/extensions/Bold/components/RichTextBold.d.ts +4 -0
- package/dist/extensions/Bold/index.d.ts +4 -0
- package/dist/extensions/BulletList/BulletList.d.ts +6 -0
- package/dist/extensions/BulletList/components/RichTextBulletList.d.ts +4 -0
- package/dist/extensions/BulletList/index.d.ts +4 -0
- package/dist/extensions/Callout/Callout.d.ts +18 -0
- package/dist/extensions/Callout/components/NodeViewCallout/NodeViewCallout.d.ts +4 -0
- package/dist/extensions/Callout/components/RichTextCallout.d.ts +4 -0
- package/dist/extensions/Callout/index.d.ts +4 -0
- package/dist/extensions/Clear/Clear.d.ts +6 -0
- package/dist/extensions/Clear/components/RichTextClear.d.ts +4 -0
- package/dist/extensions/Clear/index.d.ts +4 -0
- package/dist/extensions/Code/Code.d.ts +6 -0
- package/dist/extensions/Code/components/RichTextCode.d.ts +4 -0
- package/dist/extensions/Code/index.d.ts +4 -0
- package/dist/extensions/CodeBlock/CodeBlock.d.ts +6 -0
- package/dist/extensions/CodeBlock/components/RichTextCodeBlock.d.ts +2 -0
- package/dist/extensions/CodeBlock/index.d.ts +4 -0
- package/dist/extensions/CodeView/CodeView.d.ts +17 -0
- package/dist/extensions/CodeView/components/RichTextCodeView.d.ts +4 -0
- package/dist/extensions/CodeView/index.d.ts +4 -0
- package/dist/extensions/Color/Color.d.ts +22 -0
- package/dist/extensions/Color/components/RichTextColor.d.ts +4 -0
- package/dist/extensions/Color/index.d.ts +4 -0
- package/dist/extensions/Column/Column.d.ts +25 -0
- package/dist/extensions/Column/components/RichTextColumn.d.ts +4 -0
- package/dist/extensions/Column/index.d.ts +4 -0
- package/dist/extensions/Comment/Comment.d.ts +41 -0
- package/dist/extensions/Comment/components/CommentView.d.ts +17 -0
- package/dist/extensions/Comment/index.d.ts +5 -0
- package/dist/extensions/Drawer/Drawer.d.ts +15 -0
- package/dist/extensions/Drawer/components/ControlDrawer/ControlDrawer.d.ts +3 -0
- package/dist/extensions/Drawer/components/ControlDrawer/icon.d.ts +28 -0
- package/dist/extensions/Drawer/components/EditDrawerBlock.d.ts +4 -0
- package/dist/extensions/Drawer/components/NodeViewDrawer/NodeViewDrawer.d.ts +2 -0
- package/dist/extensions/Drawer/components/RichTextDrawer.d.ts +4 -0
- package/dist/extensions/Drawer/index.d.ts +4 -0
- package/dist/extensions/Drawio/Drawio.d.ts +17 -0
- package/dist/extensions/Drawio/components/NodeViewDrawio/NodeViewDrawio.d.ts +3 -0
- package/dist/extensions/Drawio/components/RichTextDrawio.d.ts +4 -0
- package/dist/extensions/Drawio/index.d.ts +4 -0
- package/dist/extensions/Emoji/Emoji.d.ts +5 -0
- package/dist/extensions/Emoji/components/EmojiList/EmojiNodeView.d.ts +11 -0
- package/dist/extensions/Emoji/components/RichTextEmoji.d.ts +2 -0
- package/dist/extensions/Emoji/index.d.ts +4 -0
- package/dist/extensions/ExportPdf/ExportPdf.d.ts +21 -0
- package/dist/extensions/ExportPdf/components/RichTextExportPdf.d.ts +4 -0
- package/dist/extensions/ExportPdf/index.d.ts +4 -0
- package/dist/extensions/ExportWord/ExportWord.d.ts +13 -0
- package/dist/extensions/ExportWord/components/RichTextExportWord.d.ts +4 -0
- package/dist/extensions/ExportWord/index.d.ts +4 -0
- package/dist/extensions/FontFamily/FontFamily.d.ts +10 -0
- package/dist/extensions/FontFamily/components/RichTextFontFamily.d.ts +15 -0
- package/dist/extensions/FontFamily/index.d.ts +4 -0
- package/dist/extensions/FontSize/FontSize.d.ts +32 -0
- package/dist/extensions/FontSize/components/RichTextFontSize.d.ts +12 -0
- package/dist/extensions/FontSize/index.d.ts +4 -0
- package/dist/extensions/Harper/Harper.d.ts +73 -0
- package/dist/extensions/Harper/components/RichTextHarper.d.ts +15 -0
- package/dist/extensions/Harper/index.d.ts +9 -0
- package/dist/extensions/Harper/lib/createHarperLinter.d.ts +22 -0
- package/dist/extensions/Harper/lib/extractTextWithMap.d.ts +33 -0
- package/dist/extensions/Heading/Heading.d.ts +6 -0
- package/dist/extensions/Heading/components/RichTextHeading.d.ts +17 -0
- package/dist/extensions/Heading/index.d.ts +4 -0
- package/dist/extensions/Highlight/Highlight.d.ts +18 -0
- package/dist/extensions/Highlight/components/RichTextHighlight.d.ts +2 -0
- package/dist/extensions/Highlight/index.d.ts +4 -0
- package/dist/extensions/History/History.d.ts +6 -0
- package/dist/extensions/History/components/RichTextHistory.d.ts +3 -0
- package/dist/extensions/History/index.d.ts +4 -0
- package/dist/extensions/HorizontalRule/HorizontalRule.d.ts +6 -0
- package/dist/extensions/HorizontalRule/components/RichTextHorizontalRule.d.ts +4 -0
- package/dist/extensions/HorizontalRule/index.d.ts +4 -0
- package/dist/extensions/Iframe/Iframe.d.ts +16 -0
- package/dist/extensions/Iframe/components/IframeNodeView.d.ts +5 -0
- package/dist/extensions/Iframe/components/RichTextIframe.d.ts +4 -0
- package/dist/extensions/Iframe/index.d.ts +4 -0
- package/dist/extensions/Iframe/utils.d.ts +9 -0
- package/dist/extensions/Image/Image.d.ts +57 -0
- package/dist/extensions/Image/components/ImageCropper.d.ts +2 -0
- package/dist/extensions/Image/components/ImageView.d.ts +3 -0
- package/dist/extensions/Image/components/RichTextImage.d.ts +4 -0
- package/dist/extensions/Image/index.d.ts +4 -0
- package/dist/extensions/ImageGif/ImageGif.d.ts +39 -0
- package/dist/extensions/ImageGif/components/ImageGifView.d.ts +3 -0
- package/dist/extensions/ImageGif/components/RichTextImageGif.d.ts +2 -0
- package/dist/extensions/ImageGif/components/services.d.ts +461 -0
- package/dist/extensions/ImageGif/index.d.ts +4 -0
- package/dist/extensions/ImportWord/ImportWord.d.ts +16 -0
- package/dist/extensions/ImportWord/components/RichTextImportWord.d.ts +4 -0
- package/dist/extensions/ImportWord/docx-to-html.d.ts +24 -0
- package/dist/extensions/ImportWord/index.d.ts +4 -0
- package/dist/extensions/Indent/Indent.d.ts +23 -0
- package/dist/extensions/Indent/components/RichTextIndent.d.ts +4 -0
- package/dist/extensions/Indent/index.d.ts +4 -0
- package/dist/extensions/Italic/Italic.d.ts +6 -0
- package/dist/extensions/Italic/components/RichTextItalic.d.ts +4 -0
- package/dist/extensions/Italic/index.d.ts +4 -0
- package/dist/extensions/Katex/Katex.d.ts +17 -0
- package/dist/extensions/Katex/components/KatexWrapper.d.ts +4 -0
- package/dist/extensions/Katex/components/RichTextKatex.d.ts +4 -0
- package/dist/extensions/Katex/index.d.ts +4 -0
- package/dist/extensions/LineHeight/LineHeight.d.ts +7 -0
- package/dist/extensions/LineHeight/components/RichTextLightHeight.d.ts +4 -0
- package/dist/extensions/LineHeight/index.d.ts +4 -0
- package/dist/extensions/Link/Link.d.ts +6 -0
- package/dist/extensions/Link/components/LinkEditBlock.d.ts +12 -0
- package/dist/extensions/Link/components/LinkViewBlock.d.ts +9 -0
- package/dist/extensions/Link/components/RichTextLink.d.ts +4 -0
- package/dist/extensions/Link/index.d.ts +4 -0
- package/dist/extensions/MarkdownPaste/MarkdownPaste.d.ts +5 -0
- package/dist/extensions/MarkdownPaste/index.d.ts +4 -0
- package/dist/extensions/Mention/Mention.d.ts +3 -0
- package/dist/extensions/Mention/components/NodeViewMentionList.d.ts +16 -0
- package/dist/extensions/Mention/index.d.ts +4 -0
- package/dist/extensions/Mermaid/Mermaid.d.ts +15 -0
- package/dist/extensions/Mermaid/components/EditMermaidBlock.d.ts +8 -0
- package/dist/extensions/Mermaid/components/NodeViewMermaid/NodeViewMermaid.d.ts +2 -0
- package/dist/extensions/Mermaid/components/RichTextMermaid.d.ts +4 -0
- package/dist/extensions/Mermaid/index.d.ts +4 -0
- package/dist/extensions/MoreMark/MoreMark.d.ts +20 -0
- package/dist/extensions/MoreMark/components/RichTextMoreMark.d.ts +14 -0
- package/dist/extensions/MoreMark/index.d.ts +4 -0
- package/dist/extensions/OfficePaste/OfficePaste.d.ts +7 -0
- package/dist/extensions/OfficePaste/index.d.ts +4 -0
- package/dist/extensions/OrderedList/OrderedList.d.ts +6 -0
- package/dist/extensions/OrderedList/components/RichTextOrderedList.d.ts +4 -0
- package/dist/extensions/OrderedList/index.d.ts +4 -0
- package/dist/extensions/Pagination/Pagination.d.ts +37 -0
- package/dist/extensions/Pagination/components/RichTextPagination.d.ts +4 -0
- package/dist/extensions/Pagination/index.d.ts +5 -0
- package/dist/extensions/SearchAndReplace/SearchAndReplace.d.ts +36 -0
- package/dist/extensions/SearchAndReplace/components/RichTextSearchAndReplace.d.ts +4 -0
- package/dist/extensions/SearchAndReplace/index.d.ts +4 -0
- package/dist/extensions/SlashCommand/SlashCommand.d.ts +4 -0
- package/dist/extensions/SlashCommand/components/SlashCommandList.d.ts +6 -0
- package/dist/extensions/SlashCommand/components/SlashCommandNodeView.d.ts +3 -0
- package/dist/extensions/SlashCommand/index.d.ts +4 -0
- package/dist/extensions/SlashCommand/renderCommandListDefault.d.ts +7 -0
- package/dist/extensions/SlashCommand/types.d.ts +20 -0
- package/dist/extensions/Strike/Strike.d.ts +6 -0
- package/dist/extensions/Strike/components/RichTextStrike.d.ts +4 -0
- package/dist/extensions/Strike/index.d.ts +4 -0
- package/dist/extensions/Subscript/components/RichTextSubscript.d.ts +4 -0
- package/dist/extensions/Superscript/components/RichTextSuperscript.d.ts +4 -0
- package/dist/extensions/Table/Table.d.ts +21 -0
- package/dist/extensions/Table/TableCellBackground.d.ts +14 -0
- package/dist/extensions/Table/components/CreateTablePopover.d.ts +8 -0
- package/dist/extensions/Table/components/RichTextTable.d.ts +2 -0
- package/dist/extensions/Table/index.d.ts +4 -0
- package/dist/extensions/TableOfContents/TableOfContents.d.ts +15 -0
- package/dist/extensions/TableOfContents/components/RichTextTableOfContents.d.ts +8 -0
- package/dist/extensions/TableOfContents/components/RichTextTableOfContentsPanel.d.ts +19 -0
- package/dist/extensions/TableOfContents/index.d.ts +6 -0
- package/dist/extensions/TaskList/TaskList.d.ts +11 -0
- package/dist/extensions/TaskList/components/RichTextTaskList.d.ts +4 -0
- package/dist/extensions/TaskList/index.d.ts +4 -0
- package/dist/extensions/TextAlign/TextAlign.d.ts +17 -0
- package/dist/extensions/TextAlign/components/RichTextAlign.d.ts +14 -0
- package/dist/extensions/TextAlign/index.d.ts +4 -0
- package/dist/extensions/TextDirection/TextDirection.d.ts +5 -0
- package/dist/extensions/TextDirection/components/RichTextTextDirection.d.ts +15 -0
- package/dist/extensions/TextDirection/index.d.ts +4 -0
- package/dist/extensions/TextUnderline/TextUnderline.d.ts +6 -0
- package/dist/extensions/TextUnderline/components/RichTextUnderline.d.ts +4 -0
- package/dist/extensions/TextUnderline/index.d.ts +4 -0
- package/dist/extensions/Twitter/Twitter.d.ts +46 -0
- package/dist/extensions/Twitter/components/FormEditLinkTwitter.d.ts +9 -0
- package/dist/extensions/Twitter/components/NodeViewTweet.d.ts +8 -0
- package/dist/extensions/Twitter/components/RichTextTwitter.d.ts +4 -0
- package/dist/extensions/Twitter/index.d.ts +4 -0
- package/dist/extensions/Video/Video.d.ts +66 -0
- package/dist/extensions/Video/components/RichTextVideo.d.ts +4 -0
- package/dist/extensions/Video/index.d.ts +4 -0
- package/dist/extensions/WordCount/WordCount.d.ts +7 -0
- package/dist/extensions/WordCount/components/RichTextWordCount.d.ts +4 -0
- package/dist/extensions/WordCount/index.d.ts +4 -0
- package/dist/extensions/WordCount/utils/wordCount.d.ts +25 -0
- package/dist/extensions/Zoom/components/RichTextZoom.d.ts +2 -0
- package/dist/features/ai-rewrite/AIRewriteSuggestion.d.ts +27 -0
- package/dist/features/ai-rewrite/rewriteModes.d.ts +37 -0
- package/dist/features/settings/Settings.d.ts +11 -0
- package/dist/features/settings/sections/AIRewriteModesSection.d.ts +6 -0
- package/dist/features/settings/sections/AboutSection.d.ts +1 -0
- package/dist/features/settings/sections/AppearanceSection.d.ts +6 -0
- package/dist/features/settings/sections/FileSourcesSection.d.ts +6 -0
- package/dist/features/settings/sections/StorageSection.d.ts +6 -0
- package/dist/features/tags/TagManagementDialog.d.ts +18 -0
- package/dist/features/team/TeamManagement.d.ts +13 -0
- package/dist/file-B1Z0XcVJ.cjs +1 -0
- package/dist/file-aBzFF1LO.js +1 -0
- package/dist/file-tree/FileTreeContextMenu.d.ts +18 -0
- package/dist/file-tree/documentUtils.d.ts +57 -0
- package/dist/file-tree/filetree.d.ts +28 -0
- package/dist/file-tree/index.d.ts +8 -0
- package/dist/file-tree/useFileTreeOperations.d.ts +27 -0
- package/dist/floating-ui.dom-D9FglguG.cjs +1 -0
- package/dist/floating-ui.dom-DledU50u.js +1 -0
- package/dist/hooks/use-mobile.d.ts +5 -0
- package/dist/hooks/useActive.d.ts +24 -0
- package/dist/hooks/useAttributes.d.ts +2 -0
- package/dist/hooks/useButtonProps.d.ts +4 -0
- package/dist/hooks/useCopy.d.ts +8 -0
- package/dist/hooks/useExtension.d.ts +4 -0
- package/dist/hooks/useLocalStorage.d.ts +13 -0
- package/dist/html-to-docx.esm-BSqAFns8.cjs +1 -0
- package/dist/html-to-docx.esm-DkztZsL5-DQYdhD3B.cjs +1 -0
- package/dist/html-to-docx.esm-DkztZsL5.js +1 -0
- package/dist/index.cjs +1 -0
- package/dist/index.d.ts +10 -0
- package/dist/index.js +1 -0
- package/dist/input-AvqqajGM.cjs +1 -0
- package/dist/input-CMD6LZFr.js +1 -0
- package/dist/isNumber-7Fi2iQVS.js +1 -0
- package/dist/isNumber-CmHpmrpR.cjs +1 -0
- package/dist/jsx-runtime-BLWGWoMZ.cjs +1 -0
- package/dist/jsx-runtime-DqgyBF0N.js +1 -0
- package/dist/jszip.min-3Yxv_4wz.cjs +1 -0
- package/dist/jszip.min-BUJ6OksG.js +1 -0
- package/dist/label-DPSH3PiY.cjs +1 -0
- package/dist/label-Dx1mMx8l.js +1 -0
- package/dist/layout/Sidebar.d.ts +7 -0
- package/dist/layout/sidebar/Sidebar.d.ts +2 -0
- package/dist/layout/sidebar/SidebarContent.d.ts +76 -0
- package/dist/layout/sidebar/SidebarFooter.d.ts +45 -0
- package/dist/layout/sidebar/SidebarToolbar.d.ts +85 -0
- package/dist/layout/sidebar/SidebarViewMenu.d.ts +24 -0
- package/dist/layout/sidebar/fileSourceUtils.d.ts +2 -0
- package/dist/layout/sidebar/index.d.ts +12 -0
- package/dist/layout/sidebar/panelOptions.d.ts +29 -0
- package/dist/layout/sidebar/types.d.ts +68 -0
- package/dist/lib/utils.d.ts +2 -0
- package/dist/locale-bundle.cjs +1 -0
- package/dist/locale-bundle.d.ts +4 -0
- package/dist/locale-bundle.js +1 -0
- package/dist/locales/ar.d.ts +201 -0
- package/dist/locales/de.d.ts +201 -0
- package/dist/locales/en.d.ts +201 -0
- package/dist/locales/es.d.ts +201 -0
- package/dist/locales/fa.d.ts +201 -0
- package/dist/locales/fi.d.ts +201 -0
- package/dist/locales/fr.d.ts +201 -0
- package/dist/locales/he.d.ts +201 -0
- package/dist/locales/hi.d.ts +201 -0
- package/dist/locales/hu.d.ts +201 -0
- package/dist/locales/index.d.ts +3576 -0
- package/dist/locales/it.d.ts +201 -0
- package/dist/locales/ja.d.ts +201 -0
- package/dist/locales/ko.d.ts +201 -0
- package/dist/locales/nl.d.ts +201 -0
- package/dist/locales/pt-br.d.ts +201 -0
- package/dist/locales/ru.d.ts +201 -0
- package/dist/locales/tr.d.ts +201 -0
- package/dist/locales/uk.d.ts +201 -0
- package/dist/locales/vi.d.ts +201 -0
- package/dist/locales/zh-cn.d.ts +201 -0
- package/dist/locales-DfkG6-1b.js +1 -0
- package/dist/locales-Dg9XL0yP.cjs +1 -0
- package/dist/plugins/image-upload.d.ts +13 -0
- package/dist/popover-DEGqjF2J.cjs +1 -0
- package/dist/popover-DGEv-NbL.js +1 -0
- package/dist/reason-docs.cjs +1 -0
- package/dist/reason-docs.d.ts +1 -0
- package/dist/reason-docs.js +1 -0
- package/dist/renderCommandListDefault-CJd5Cd3Q.js +1 -0
- package/dist/renderCommandListDefault-CykwYpTX.cjs +1 -0
- package/dist/renderNodeView-Bis8Vxth.cjs +1 -0
- package/dist/renderNodeView-EV3OWici.js +1 -0
- package/dist/rolldown-runtime-BeavJI0R.cjs +1 -0
- package/dist/rolldown-runtime-Drgf5FY8-7XpCJKyX.cjs +1 -0
- package/dist/rolldown-runtime-Drgf5FY8.js +1 -0
- package/dist/search/DynamicIslandTOC.d.ts +14 -0
- package/dist/search/OutlineView.d.ts +29 -0
- package/dist/search/SearchModal.d.ts +26 -0
- package/dist/separator-BHN46aj5.cjs +1 -0
- package/dist/separator-CTa6o9S_.js +10 -0
- package/dist/shortId-B25DIOpW.cjs +1 -0
- package/dist/shortId-COE42cHb.js +1 -0
- package/dist/src-C7k3RYxJ.js +646 -0
- package/dist/src-DYbBlAjR.cjs +1 -0
- package/dist/store/EditorEditableReactive.d.ts +4 -0
- package/dist/store/ThemeColorReactive.d.ts +4 -0
- package/dist/store/commandList.d.ts +2 -0
- package/dist/store/editor.d.ts +21 -0
- package/dist/store/store.d.ts +6 -0
- package/dist/style.css +5 -0
- package/dist/tabs-BovAV0Y3.js +1 -0
- package/dist/tabs-CoJRfGS8.cjs +1 -0
- package/dist/textarea-BFbGcrSO.cjs +1 -0
- package/dist/textarea-uEPOPNqf.js +1 -0
- package/dist/theme/theme.d.ts +372 -0
- package/dist/theme.cjs +1 -0
- package/dist/theme.js +1 -0
- package/dist/throttle-BpbN7uB1.js +1 -0
- package/dist/throttle-COe5rswR.cjs +1 -0
- package/dist/toggle-BXl_NYYh.js +2 -0
- package/dist/toggle-CRftKzl0.cjs +1 -0
- package/dist/tooltip-CzY0Diit.cjs +1 -0
- package/dist/tooltip-DC3DBc55.js +5 -0
- package/dist/types.d.ts +223 -0
- package/dist/updatePosition-CBT0mUIB.js +1 -0
- package/dist/updatePosition-DMu5F8JX.cjs +1 -0
- package/dist/useButtonProps-D2Hd5DbR.cjs +1 -0
- package/dist/useButtonProps-DSIajp_B.js +1 -0
- package/dist/utils/base64.d.ts +5 -0
- package/dist/utils/cdn-loader.d.ts +10 -0
- package/dist/utils/checkIsVideoUrl.d.ts +4 -0
- package/dist/utils/color.d.ts +10 -0
- package/dist/utils/columns.d.ts +14 -0
- package/dist/utils/customEvents/events.constant.d.ts +9 -0
- package/dist/utils/delete-node.d.ts +2 -0
- package/dist/utils/dom-dataset.d.ts +31 -0
- package/dist/utils/download.d.ts +4 -0
- package/dist/utils/dynamicCSS.d.ts +28 -0
- package/dist/utils/editor-container-size.d.ts +4 -0
- package/dist/utils/file.d.ts +30 -0
- package/dist/utils/getRenderContainer.d.ts +3 -0
- package/dist/utils/indent.d.ts +14 -0
- package/dist/utils/is-mobile.d.ts +22 -0
- package/dist/utils/json.d.ts +5 -0
- package/dist/utils/lru-cache.d.ts +34 -0
- package/dist/utils/mitt.d.ts +24 -0
- package/dist/utils/node.d.ts +15 -0
- package/dist/utils/pdf.d.ts +3 -0
- package/dist/utils/plateform.d.ts +14 -0
- package/dist/utils/renderNodeView.d.ts +9 -0
- package/dist/utils/shortId.d.ts +4 -0
- package/dist/utils/storage.d.ts +7 -0
- package/dist/utils/updatePosition.d.ts +4 -0
- package/dist/utils/utils.d.ts +20 -0
- package/dist/utils/validateFile.d.ts +16 -0
- package/dist/which-typed-array-Dj_53908.js +1 -0
- package/dist/which-typed-array-MFmINaJW.cjs +1 -0
- package/package.json +912 -0
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import { Document } from '../documents/DocumentTree';
|
|
2
|
+
/** Props for the {@link ReasonDocsDialogs} container. */
|
|
3
|
+
interface ReasonDocsDialogsProps {
|
|
4
|
+
/** Controls visibility of the command-palette search modal. */
|
|
5
|
+
isSearchModalOpen: boolean;
|
|
6
|
+
/** Setter for `isSearchModalOpen`. */
|
|
7
|
+
setIsSearchModalOpen: (open: boolean) => void;
|
|
8
|
+
/** Controls visibility of the settings dialog. */
|
|
9
|
+
isSettingsOpen: boolean;
|
|
10
|
+
/** Setter for `isSettingsOpen`. */
|
|
11
|
+
setIsSettingsOpen: (open: boolean) => void;
|
|
12
|
+
/** Section to open when the settings dialog is shown. */
|
|
13
|
+
settingsInitialSection?: string;
|
|
14
|
+
/** Controls visibility of the team-management dialog. */
|
|
15
|
+
isTeamsOpen: boolean;
|
|
16
|
+
/** Setter for `isTeamsOpen`. */
|
|
17
|
+
setIsTeamsOpen: (open: boolean) => void;
|
|
18
|
+
/** Controls visibility of the invite modal. */
|
|
19
|
+
isInviteModalOpen: boolean;
|
|
20
|
+
/** Setter for `isInviteModalOpen`. */
|
|
21
|
+
setIsInviteModalOpen: (open: boolean) => void;
|
|
22
|
+
/** Controls visibility of the tag-management dialog. */
|
|
23
|
+
isTagDialogOpen: boolean;
|
|
24
|
+
/** Setter for `isTagDialogOpen`. */
|
|
25
|
+
setIsTagDialogOpen: (open: boolean) => void;
|
|
26
|
+
/** Full list of documents for search and tag resolution. */
|
|
27
|
+
documents: Document[];
|
|
28
|
+
/** Currently active document, used by the invite modal for context. */
|
|
29
|
+
activeDocument: Document | undefined;
|
|
30
|
+
/** ID of the document whose tags are currently being managed; null if none. */
|
|
31
|
+
tagManagementDocId: string | null;
|
|
32
|
+
defaultSidebarView: 'split' | 'tree' | 'outline' | 'last-used';
|
|
33
|
+
setDefaultSidebarView: (view: 'split' | 'tree' | 'outline' | 'last-used') => void;
|
|
34
|
+
enableDatabaseSync: boolean;
|
|
35
|
+
setEnableDatabaseSync: (enabled: boolean) => void;
|
|
36
|
+
setDocuments: (docs: Document[] | ((prev: Document[]) => Document[])) => void;
|
|
37
|
+
onSelectDocument: (id: string) => void;
|
|
38
|
+
onToggleTheme: () => void;
|
|
39
|
+
currentTheme: string | undefined;
|
|
40
|
+
onUpdateTags: (tags: string[]) => void;
|
|
41
|
+
}
|
|
42
|
+
/**
|
|
43
|
+
* Renders all application-level dialogs as a React fragment so they can be placed
|
|
44
|
+
* at the root level of the component tree without affecting layout flow.
|
|
45
|
+
*/
|
|
46
|
+
export declare function ReasonDocsDialogs({ isSearchModalOpen, setIsSearchModalOpen, isSettingsOpen, setIsSettingsOpen, settingsInitialSection, isTeamsOpen, setIsTeamsOpen, isInviteModalOpen, setIsInviteModalOpen, isTagDialogOpen, setIsTagDialogOpen, documents, activeDocument, tagManagementDocId, defaultSidebarView, setDefaultSidebarView, enableDatabaseSync, setEnableDatabaseSync, setDocuments, onSelectDocument, onToggleTheme, currentTheme, onUpdateTags, }: ReasonDocsDialogsProps): import("react").JSX.Element;
|
|
47
|
+
export {};
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { RefObject } from 'react';
|
|
2
|
+
import { SidebarPanelType, SidebarAiProps } from '../layout/sidebar/types';
|
|
3
|
+
import { OutlineViewHandle } from '../search/OutlineView';
|
|
4
|
+
import { TocEntry } from '../app-types/toc';
|
|
5
|
+
import { Document } from '../documents/DocumentTree';
|
|
6
|
+
/** Props for the {@link RightPanel} component. */
|
|
7
|
+
interface RightPanelProps {
|
|
8
|
+
/** Panels currently visible in the right sidebar. */
|
|
9
|
+
panels: SidebarPanelType[];
|
|
10
|
+
/** Whether the right sidebar allows multiple stacked panels. */
|
|
11
|
+
split: boolean;
|
|
12
|
+
documents: Document[];
|
|
13
|
+
activeId: string | null;
|
|
14
|
+
activeDocument?: Document;
|
|
15
|
+
onSelect: (id: string) => void;
|
|
16
|
+
onAdd: (parentId: string | null, isFolder?: boolean) => void;
|
|
17
|
+
onDelete: (id: string) => void;
|
|
18
|
+
onDuplicate: (id: string) => void;
|
|
19
|
+
onMove: (draggedId: string, targetId: string | null, position: 'before' | 'after' | 'child') => void;
|
|
20
|
+
onManageTags?: (id: string) => void;
|
|
21
|
+
onRename?: (id: string, newTitle: string) => void;
|
|
22
|
+
headings: TocEntry[];
|
|
23
|
+
onNavigate: (key: string) => void;
|
|
24
|
+
openTabs?: string[];
|
|
25
|
+
activeTab?: string | null;
|
|
26
|
+
onTabChange?: (id: string) => void;
|
|
27
|
+
onTabClose?: (id: string) => void;
|
|
28
|
+
onTabRename?: (id: string, newTitle: string) => void;
|
|
29
|
+
onSplitRight?: (id: string) => void;
|
|
30
|
+
onReopenLastClosed?: () => void;
|
|
31
|
+
canReopenLastClosed?: boolean;
|
|
32
|
+
outlineRef?: RefObject<OutlineViewHandle | null>;
|
|
33
|
+
aiProps: SidebarAiProps;
|
|
34
|
+
/** Closes the panel by clearing the right sidebar's panel list. */
|
|
35
|
+
onClose: () => void;
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* Inset panel docked at the right edge of the layout, full height, resizable
|
|
39
|
+
* by dragging its left edge; its body renders whichever panels are enabled
|
|
40
|
+
* for the right sidebar.
|
|
41
|
+
*/
|
|
42
|
+
export declare function RightPanel({ panels, split, documents, activeId, activeDocument, onSelect, onAdd, onDelete, onDuplicate, onMove, onManageTags, onRename, headings, onNavigate, openTabs, activeTab, onTabChange, onTabClose, onTabRename, onSplitRight, onReopenLastClosed, canReopenLastClosed, outlineRef, aiProps, onClose, }: RightPanelProps): import("react").JSX.Element;
|
|
43
|
+
export {};
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
import { TocEntry } from '../app-types/toc';
|
|
2
|
+
/** Imperative handle exposed via `ref` on {@link TiptapEditorWrapper}. */
|
|
3
|
+
export type TiptapEditorHandle = {
|
|
4
|
+
/** Smoothly scrolls the editor viewport to the heading identified by `key`. */
|
|
5
|
+
scrollToHeading: (key: string) => void;
|
|
6
|
+
/** Returns the DOM element for the heading with the given key, or null. */
|
|
7
|
+
getElementByKey: (key: string) => HTMLElement | null;
|
|
8
|
+
};
|
|
9
|
+
interface TiptapEditorWrapperProps {
|
|
10
|
+
content: string;
|
|
11
|
+
/** Change this when switching documents to force a reload */
|
|
12
|
+
contentKey?: string;
|
|
13
|
+
onChange: (content: string) => void;
|
|
14
|
+
title: string;
|
|
15
|
+
onTitleChange: (title: string) => void;
|
|
16
|
+
scrollToHeading?: (headingText: string) => void;
|
|
17
|
+
onHeadingsChange?: (headings: TocEntry[]) => void;
|
|
18
|
+
readOnly?: boolean;
|
|
19
|
+
aiSuggestion?: {
|
|
20
|
+
originalText: string;
|
|
21
|
+
suggestedText: string;
|
|
22
|
+
range: {
|
|
23
|
+
from: number;
|
|
24
|
+
to: number;
|
|
25
|
+
};
|
|
26
|
+
mode?: string;
|
|
27
|
+
} | null;
|
|
28
|
+
isAiLoading?: boolean;
|
|
29
|
+
onAiRewrite?: (customPrompt?: string, modeId?: string) => void;
|
|
30
|
+
onAiApprove?: () => void;
|
|
31
|
+
onAiReject?: () => void;
|
|
32
|
+
onAiRegenerate?: (mode: any) => void;
|
|
33
|
+
onInviteClick?: () => void;
|
|
34
|
+
onShareClick?: () => void;
|
|
35
|
+
documentId?: string;
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* Public, ref-forwarding Tiptap editor component.
|
|
39
|
+
*
|
|
40
|
+
* Wraps a Tiptap editor instance with HTML content sync, debounced saves,
|
|
41
|
+
* throttled heading extraction, and imperative scroll-to-heading support.
|
|
42
|
+
*
|
|
43
|
+
* @example
|
|
44
|
+
* ```tsx
|
|
45
|
+
* const editorRef = useRef<TiptapEditorHandle>(null);
|
|
46
|
+
* <TiptapEditorWrapper
|
|
47
|
+
* ref={editorRef}
|
|
48
|
+
* content={doc.content}
|
|
49
|
+
* onChange={(html) => updateDoc(html)}
|
|
50
|
+
* title={doc.title}
|
|
51
|
+
* onTitleChange={(t) => updateTitle(t)}
|
|
52
|
+
* />
|
|
53
|
+
* ```
|
|
54
|
+
*/
|
|
55
|
+
export declare const TiptapEditorWrapper: import('react').ForwardRefExoticComponent<TiptapEditorWrapperProps & import('react').RefAttributes<TiptapEditorHandle>>;
|
|
56
|
+
export {};
|
|
@@ -0,0 +1,108 @@
|
|
|
1
|
+
import { TocEntry } from '../app-types/toc';
|
|
2
|
+
import { TiptapEditorHandle } from './TiptapEditorWrapper';
|
|
3
|
+
import { Document } from '../documents/DocumentTree';
|
|
4
|
+
import { SidebarPanelType } from '../layout/sidebar/types';
|
|
5
|
+
/**
|
|
6
|
+
* Aggregates all Reason Docs application state into a single hook.
|
|
7
|
+
*
|
|
8
|
+
* @returns An object containing reactive state values and handler callbacks
|
|
9
|
+
* consumed by {@link Index} and its child components.
|
|
10
|
+
*/
|
|
11
|
+
export declare function useReasonDocsState(): {
|
|
12
|
+
isMobile: boolean;
|
|
13
|
+
isSidebarOpen: boolean;
|
|
14
|
+
setIsSidebarOpen: import('react').Dispatch<import('react').SetStateAction<boolean>>;
|
|
15
|
+
isSearchModalOpen: boolean;
|
|
16
|
+
setIsSearchModalOpen: import('react').Dispatch<import('react').SetStateAction<boolean>>;
|
|
17
|
+
isSettingsOpen: boolean;
|
|
18
|
+
setIsSettingsOpen: import('react').Dispatch<import('react').SetStateAction<boolean>>;
|
|
19
|
+
isTeamsOpen: boolean;
|
|
20
|
+
setIsTeamsOpen: import('react').Dispatch<import('react').SetStateAction<boolean>>;
|
|
21
|
+
isInviteModalOpen: boolean;
|
|
22
|
+
setIsInviteModalOpen: import('react').Dispatch<import('react').SetStateAction<boolean>>;
|
|
23
|
+
isTagDialogOpen: boolean;
|
|
24
|
+
setIsTagDialogOpen: import('react').Dispatch<import('react').SetStateAction<boolean>>;
|
|
25
|
+
tagManagementDocId: string | null;
|
|
26
|
+
defaultSidebarView: "tree" | "outline" | "split" | "last-used";
|
|
27
|
+
setDefaultSidebarView: (value: "tree" | "outline" | "split" | "last-used" | ((val: "tree" | "outline" | "split" | "last-used") => "tree" | "outline" | "split" | "last-used")) => void;
|
|
28
|
+
leftPanels: SidebarPanelType[];
|
|
29
|
+
setLeftPanels: (value: SidebarPanelType[] | ((val: SidebarPanelType[]) => SidebarPanelType[])) => void;
|
|
30
|
+
leftSplit: boolean;
|
|
31
|
+
setLeftSplit: (value: boolean | ((val: boolean) => boolean)) => void;
|
|
32
|
+
rightPanels: SidebarPanelType[];
|
|
33
|
+
setRightPanels: (value: SidebarPanelType[] | ((val: SidebarPanelType[]) => SidebarPanelType[])) => void;
|
|
34
|
+
rightSplit: boolean;
|
|
35
|
+
setRightSplit: (value: boolean | ((val: boolean) => boolean)) => void;
|
|
36
|
+
showDynamicIsland: boolean;
|
|
37
|
+
setShowDynamicIsland: (value: boolean | ((val: boolean) => boolean)) => void;
|
|
38
|
+
sidebarWidth: number;
|
|
39
|
+
setSidebarWidth: (value: number | ((val: number) => number)) => void;
|
|
40
|
+
aiSuggestion: {
|
|
41
|
+
originalText: string;
|
|
42
|
+
suggestedText: string;
|
|
43
|
+
range: {
|
|
44
|
+
from: number;
|
|
45
|
+
to: number;
|
|
46
|
+
};
|
|
47
|
+
mode?: string;
|
|
48
|
+
} | null;
|
|
49
|
+
setAiSuggestion: import('react').Dispatch<import('react').SetStateAction<{
|
|
50
|
+
originalText: string;
|
|
51
|
+
suggestedText: string;
|
|
52
|
+
range: {
|
|
53
|
+
from: number;
|
|
54
|
+
to: number;
|
|
55
|
+
};
|
|
56
|
+
mode?: string;
|
|
57
|
+
} | null>>;
|
|
58
|
+
isAiLoading: boolean;
|
|
59
|
+
setIsAiLoading: import('react').Dispatch<import('react').SetStateAction<boolean>>;
|
|
60
|
+
editorRef: import('react').RefObject<TiptapEditorHandle | null>;
|
|
61
|
+
headings: TocEntry[];
|
|
62
|
+
setHeadings: import('react').Dispatch<import('react').SetStateAction<TocEntry[]>>;
|
|
63
|
+
documents: Document[];
|
|
64
|
+
setDocuments: (value: Document[] | ((val: Document[]) => Document[])) => void;
|
|
65
|
+
activeDocId: string | null;
|
|
66
|
+
setActiveDocId: (value: string | ((val: string | null) => string | null) | null) => void;
|
|
67
|
+
openTabs: string[];
|
|
68
|
+
setOpenTabs: (value: string[] | ((val: string[]) => string[])) => void;
|
|
69
|
+
closedTabsHistory: string[];
|
|
70
|
+
splitViewDocId: string | null;
|
|
71
|
+
setSplitViewDocId: import('react').Dispatch<import('react').SetStateAction<string | null>>;
|
|
72
|
+
searchQuery: string;
|
|
73
|
+
setSearchQuery: import('react').Dispatch<import('react').SetStateAction<string>>;
|
|
74
|
+
newDocumentId: string | null;
|
|
75
|
+
activeFileSourceId: string;
|
|
76
|
+
enableDatabaseSync: boolean;
|
|
77
|
+
setEnableDatabaseSync: (value: boolean | ((val: boolean) => boolean)) => void;
|
|
78
|
+
isSyncing: boolean;
|
|
79
|
+
lastSyncTime: Date | null;
|
|
80
|
+
documentTree: Document[];
|
|
81
|
+
activeDocument: Document | undefined;
|
|
82
|
+
filteredDocuments: Document[];
|
|
83
|
+
filteredTree: Document[];
|
|
84
|
+
handleAddDocument: (selectedId: string | null, isFolder?: boolean) => Promise<void>;
|
|
85
|
+
handleDeleteDocument: (id: string) => Promise<void>;
|
|
86
|
+
handleDuplicateDocument: (id: string) => void;
|
|
87
|
+
handleUpdateDocument: (id: string, updates: Partial<Document>) => void;
|
|
88
|
+
handleToggleExpand: (id: string) => void;
|
|
89
|
+
handleMoveDocument: (draggedId: string, targetId: string | null, position: "before" | "after" | "child") => void;
|
|
90
|
+
handleAddTag: (docId: string, tag: string) => void;
|
|
91
|
+
handleRemoveTag: (docId: string, tag: string) => void;
|
|
92
|
+
handleManageTags: (docId: string) => void;
|
|
93
|
+
handleFileSourceChange: (sourceId: string) => Promise<void>;
|
|
94
|
+
handleUpdateTags: (tags: string[]) => void;
|
|
95
|
+
handleRestoreDocument: (id: string) => void;
|
|
96
|
+
handlePermanentDelete: (id: string) => void;
|
|
97
|
+
handleTabChange: (tabId: string) => void;
|
|
98
|
+
handleTabClose: (tabId: string) => void;
|
|
99
|
+
handleTabAdd: () => void;
|
|
100
|
+
handleTabDelete: (tabId: string) => void;
|
|
101
|
+
handleReopenLastClosed: () => void;
|
|
102
|
+
handleSplitRight: (tabId: string) => void;
|
|
103
|
+
handleSelectDocument: (id: string) => void;
|
|
104
|
+
handleAIRewrite: (_customPrompt?: string, _modeId?: string) => Promise<void>;
|
|
105
|
+
handleAIApprove: () => void;
|
|
106
|
+
handleAIReject: () => void;
|
|
107
|
+
handleAIRegenerate: (_mode: any) => Promise<void>;
|
|
108
|
+
};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* External store for tracking editor content sync state.
|
|
3
|
+
* This prevents the editor from re-rendering when content changes during typing.
|
|
4
|
+
*/
|
|
5
|
+
/**
|
|
6
|
+
* Custom hook that maintains sync state externally to prevent
|
|
7
|
+
* unnecessary re-renders during typing.
|
|
8
|
+
*
|
|
9
|
+
* Returns an object with methods to check and update sync state
|
|
10
|
+
* without triggering component re-renders.
|
|
11
|
+
*/
|
|
12
|
+
export declare function useSyncStore(): {
|
|
13
|
+
shouldLoadContent: (contentKey: string) => boolean;
|
|
14
|
+
markContentLoaded: (contentKey: string) => void;
|
|
15
|
+
markContentSaved: () => void;
|
|
16
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const e=require("./rolldown-runtime-BeavJI0R.cjs");let t=require("react");t=e.__toESM(t,1);let r=require("react/jsx-runtime");var n,o={all:n=n||new Map,on(e,t){const r=n.get(e);r?r.push(t):n.set(e,[t])},off(e,t){const r=n.get(e);r&&(t?r.splice(r.indexOf(t)>>>0,1):n.set(e,[]))},emit(e,t){let r=n.get(e);r&&r.slice().map(e=>{e(t)}),r=n.get("*"),r&&r.slice().map(r=>{r(e,t)})}},u=t.default.createContext(o);function i(e,r){const n=t.default.useContext(u);t.default.useEffect(()=>(r.map(t=>n.on(t,e)),()=>{r.map(t=>n.off(t,e))}),[n,r,e])}var c=o.emit;function s({children:e}){return(0,r.jsx)(u.Provider,{value:o,children:e})}var a={UPLOAD_IMAGE:e=>`UPLOAD_IMAGE-${e}`,UPLOAD_VIDEO:e=>`UPLOAD_VIDEO-${e}`,DRAWIO:e=>`DRAWIO-${e}`};Object.defineProperty(exports,"EVENTS",{enumerable:!0,get:function(){return a}}),Object.defineProperty(exports,"ReactBusProvider",{enumerable:!0,get:function(){return s}}),Object.defineProperty(exports,"emit",{enumerable:!0,get:function(){return c}}),Object.defineProperty(exports,"useListener",{enumerable:!0,get:function(){return i}});
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import e from"react";import{jsx as t}from"react/jsx-runtime";var r,n={all:r=r||/* @__PURE__ */new Map,on(e,t){const n=r.get(e);n?n.push(t):r.set(e,[t])},off(e,t){const n=r.get(e);n&&(t?n.splice(n.indexOf(t)>>>0,1):r.set(e,[]))},emit(e,t){let n=r.get(e);n&&n.slice().map(e=>{e(t)}),n=r.get("*"),n&&n.slice().map(r=>{r(e,t)})}},a=e.createContext(n);function o(t,r){const n=e.useContext(a);e.useEffect(()=>(r.map(e=>n.on(e,t)),()=>{r.map(e=>n.off(e,t))}),[n,r,t])}var s=n.emit;function i({children:e}){/* @__PURE__ */
|
|
2
|
+
return t(a.Provider,{value:n,children:e})}var c={UPLOAD_IMAGE:e=>`UPLOAD_IMAGE-${e}`,UPLOAD_VIDEO:e=>`UPLOAD_VIDEO-${e}`,DRAWIO:e=>`DRAWIO-${e}`};export{o as i,i as n,s as r,c as t};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { Node } from '@tiptap/core';
|
|
2
|
+
import { GeneralOptions } from '../../types';
|
|
3
|
+
declare module '@tiptap/core' {
|
|
4
|
+
interface Commands<ReturnType> {
|
|
5
|
+
attachment: {
|
|
6
|
+
setAttachment: (attrs?: unknown) => ReturnType;
|
|
7
|
+
};
|
|
8
|
+
}
|
|
9
|
+
}
|
|
10
|
+
export interface AttachmentOptions extends GeneralOptions<AttachmentOptions> {
|
|
11
|
+
/** Function for uploading files */
|
|
12
|
+
upload?: (file: File) => Promise<string>;
|
|
13
|
+
}
|
|
14
|
+
export * from './components/RichTextAttachment';
|
|
15
|
+
export declare const Attachment: Node<AttachmentOptions, any>;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* React node view for the Attachment extension (file attachments embedded in the document). Renders the interactive in-document UI that Tiptap mounts in place of the node.
|
|
3
|
+
*/
|
|
4
|
+
export declare function getFileTypeIcon(fileType: string, forProseMirror?: boolean): any[] | import("react").JSX.Element;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* React node view for the Attachment extension (file attachments embedded in the document). Renders the interactive in-document UI that Tiptap mounts in place of the node.
|
|
3
|
+
*/
|
|
4
|
+
export declare function NodeViewAttachment({ editor, node, updateAttributes, deleteNode, extension }: any): import("react").JSX.Element;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Toolbar control (React) for the Attachment extension, which adds file attachments embedded in the document. Renders the button and dispatches the matching editor command when activated.
|
|
3
|
+
*/
|
|
4
|
+
export declare function RichTextAttachment(): import("react").JSX.Element;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { GeneralOptions } from '../../types';
|
|
2
|
+
import { BlockquoteOptions as TiptapBlockquoteOptions } from '@tiptap/extension-blockquote';
|
|
3
|
+
export * from './components/RichTextBlockquote';
|
|
4
|
+
export interface BlockquoteOptions extends TiptapBlockquoteOptions, GeneralOptions<BlockquoteOptions> {
|
|
5
|
+
}
|
|
6
|
+
export declare const Blockquote: import('@tiptap/core').Node<BlockquoteOptions, any>;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { GeneralOptions } from '../../types';
|
|
2
|
+
import { BoldOptions as TiptapImageOptions } from '@tiptap/extension-bold';
|
|
3
|
+
export * from './components/RichTextBold';
|
|
4
|
+
export interface BoldOptions extends TiptapImageOptions, GeneralOptions<BoldOptions> {
|
|
5
|
+
}
|
|
6
|
+
export declare const Bold: import('@tiptap/core').Mark<BoldOptions, any>;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { BulletListOptions as TiptapBulletListOptions } from '@tiptap/extension-list';
|
|
2
|
+
import { GeneralOptions } from '../../types';
|
|
3
|
+
export * from './components/RichTextBulletList';
|
|
4
|
+
export interface BulletListOptions extends TiptapBulletListOptions, GeneralOptions<BulletListOptions> {
|
|
5
|
+
}
|
|
6
|
+
export declare const BulletList: import('@tiptap/core').Node<BulletListOptions, any>;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { Node } from '@tiptap/core';
|
|
2
|
+
import { GeneralOptions } from '../../types';
|
|
3
|
+
declare module '@tiptap/core' {
|
|
4
|
+
interface Commands<ReturnType> {
|
|
5
|
+
callout: {
|
|
6
|
+
setCallout: (attrs?: {
|
|
7
|
+
type?: string;
|
|
8
|
+
title?: string;
|
|
9
|
+
body?: string;
|
|
10
|
+
}) => ReturnType;
|
|
11
|
+
};
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
export interface CalloutOptions extends GeneralOptions<CalloutOptions> {
|
|
15
|
+
HTMLAttributes: Record<string, any>;
|
|
16
|
+
}
|
|
17
|
+
export * from './components/RichTextCallout';
|
|
18
|
+
export declare const Callout: Node<CalloutOptions, any>;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { GeneralOptions } from '../../types';
|
|
2
|
+
import { CodeOptions as TiptapCodeOptions } from '@tiptap/extension-code';
|
|
3
|
+
export * from './components/RichTextCode';
|
|
4
|
+
export interface CodeOptions extends TiptapCodeOptions, GeneralOptions<CodeOptions> {
|
|
5
|
+
}
|
|
6
|
+
export declare const Code: import('@tiptap/core').Mark<CodeOptions, any>;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { CodeBlockLowlightOptions } from '@tiptap/extension-code-block-lowlight';
|
|
2
|
+
import { GeneralOptions } from '../../types';
|
|
3
|
+
export * from './components/RichTextCodeBlock';
|
|
4
|
+
export interface CodeBlockOptions extends CodeBlockLowlightOptions, GeneralOptions<CodeBlockOptions> {
|
|
5
|
+
}
|
|
6
|
+
export declare const CodeBlock: import('@tiptap/core').Node<CodeBlockOptions, any>;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { Extension } from '@tiptap/core';
|
|
2
|
+
import { GeneralOptions } from '../../types';
|
|
3
|
+
interface CodeViewOptions extends GeneralOptions<CodeViewOptions> {
|
|
4
|
+
isCodeViewMode?: boolean;
|
|
5
|
+
}
|
|
6
|
+
export * from './components/RichTextCodeView';
|
|
7
|
+
declare module '@tiptap/core' {
|
|
8
|
+
interface Commands<ReturnType> {
|
|
9
|
+
codeView: {
|
|
10
|
+
/**
|
|
11
|
+
* Toggle code view mode
|
|
12
|
+
*/
|
|
13
|
+
toggleCodeView: () => ReturnType;
|
|
14
|
+
};
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
export declare const CodeView: Extension<CodeViewOptions, any>;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Toolbar control (React) for the CodeView extension, which adds viewing and editing the document's raw HTML source. Renders the button and dispatches the matching editor command when activated.
|
|
3
|
+
*/
|
|
4
|
+
export declare function RichTextCodeView(): import("react").JSX.Element;
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { ColorOptions as TiptapColorOptions } from '@tiptap/extension-text-style';
|
|
2
|
+
import { GeneralOptions } from '../../types';
|
|
3
|
+
export * from './components/RichTextColor';
|
|
4
|
+
export interface ColorOptions extends TiptapColorOptions, GeneralOptions<ColorOptions> {
|
|
5
|
+
/**
|
|
6
|
+
* An array of color options to display in the color picker
|
|
7
|
+
*/
|
|
8
|
+
colors?: string[];
|
|
9
|
+
/**
|
|
10
|
+
* The default color to use when no color is selected
|
|
11
|
+
*/
|
|
12
|
+
defaultColor?: string;
|
|
13
|
+
}
|
|
14
|
+
export interface ColorStorage {
|
|
15
|
+
currentColor?: string;
|
|
16
|
+
}
|
|
17
|
+
declare module '@tiptap/core' {
|
|
18
|
+
interface Storage {
|
|
19
|
+
color: ColorStorage;
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
export declare const Color: import('@tiptap/core').Extension<ColorOptions, any>;
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { Node, Extension } from '@tiptap/core';
|
|
2
|
+
declare module '@tiptap/core' {
|
|
3
|
+
interface Commands<ReturnType> {
|
|
4
|
+
columns: {
|
|
5
|
+
insertColumns: (attrs?: {
|
|
6
|
+
cols: number;
|
|
7
|
+
}) => ReturnType;
|
|
8
|
+
addColBefore: () => ReturnType;
|
|
9
|
+
addColAfter: () => ReturnType;
|
|
10
|
+
deleteCol: () => ReturnType;
|
|
11
|
+
};
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
export * from './components/RichTextColumn';
|
|
15
|
+
export declare const Column: Extension<any, any>;
|
|
16
|
+
export declare const ColumnNode: Node<{
|
|
17
|
+
HTMLAttributes: {
|
|
18
|
+
class: string;
|
|
19
|
+
};
|
|
20
|
+
}, any>;
|
|
21
|
+
export declare const MultipleColumnNode: Node<{
|
|
22
|
+
HTMLAttributes: {
|
|
23
|
+
class: string;
|
|
24
|
+
};
|
|
25
|
+
}, any>;
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { Mark } from '@tiptap/core';
|
|
2
|
+
import { GeneralOptions } from '../../types';
|
|
3
|
+
export * from './components/CommentView';
|
|
4
|
+
export interface CommentOptions extends GeneralOptions<CommentOptions> {
|
|
5
|
+
HTMLAttributes: Record<string, any>;
|
|
6
|
+
authorId?: string;
|
|
7
|
+
authorName?: string;
|
|
8
|
+
authorColor?: string;
|
|
9
|
+
onCommentAdd?: (commentData: CommentData) => void;
|
|
10
|
+
onCommentRemove?: (commentId: string) => void;
|
|
11
|
+
onCommentResolve?: (commentId: string, resolved: boolean) => void;
|
|
12
|
+
}
|
|
13
|
+
export interface CommentData {
|
|
14
|
+
id: string;
|
|
15
|
+
authorId: string;
|
|
16
|
+
authorName: string;
|
|
17
|
+
authorColor: string;
|
|
18
|
+
text: string;
|
|
19
|
+
timestamp: number;
|
|
20
|
+
resolved: boolean;
|
|
21
|
+
replies: CommentReply[];
|
|
22
|
+
}
|
|
23
|
+
export interface CommentReply {
|
|
24
|
+
id: string;
|
|
25
|
+
authorId: string;
|
|
26
|
+
authorName: string;
|
|
27
|
+
authorColor: string;
|
|
28
|
+
text: string;
|
|
29
|
+
timestamp: number;
|
|
30
|
+
}
|
|
31
|
+
declare module '@tiptap/core' {
|
|
32
|
+
interface Commands<ReturnType> {
|
|
33
|
+
comment: {
|
|
34
|
+
/** Wrap the current selection in a comment mark. */
|
|
35
|
+
setComment: (attributes: Partial<CommentData>) => ReturnType;
|
|
36
|
+
/** Remove the comment mark from the current selection. */
|
|
37
|
+
removeComment: () => ReturnType;
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
export declare const Comment: Mark<CommentOptions, any>;
|