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,17 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { CommentData } from '../Comment';
|
|
3
|
+
interface CommentViewProps {
|
|
4
|
+
comment: CommentData;
|
|
5
|
+
onUpdate: (updatedComment: CommentData) => void;
|
|
6
|
+
onResolve: (commentId: string, resolved: boolean) => void;
|
|
7
|
+
onRemove: (commentId: string) => void;
|
|
8
|
+
}
|
|
9
|
+
export declare const CommentView: React.FC<CommentViewProps>;
|
|
10
|
+
interface CommentPanelProps {
|
|
11
|
+
comments: CommentData[];
|
|
12
|
+
onUpdate: (comment: CommentData) => void;
|
|
13
|
+
onResolve: (commentId: string, resolved: boolean) => void;
|
|
14
|
+
onRemove: (commentId: string) => void;
|
|
15
|
+
}
|
|
16
|
+
export declare const CommentPanel: React.FC<CommentPanelProps>;
|
|
17
|
+
export {};
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Entry point for the Comment extension that re-exports the extension and its React components. Lets the app import inline comments and annotations from a single, stable module path.
|
|
3
|
+
*/
|
|
4
|
+
export * from './Comment';
|
|
5
|
+
export { CommentView, CommentPanel } from './components/CommentView';
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { GeneralOptions } from '../../types';
|
|
2
|
+
export * from './components/RichTextDrawer';
|
|
3
|
+
declare module '@tiptap/core' {
|
|
4
|
+
interface Commands<ReturnType> {
|
|
5
|
+
drawer: {
|
|
6
|
+
setDrawer: (options: any, replace?: any) => ReturnType;
|
|
7
|
+
setAlignImageDrawer: (align: 'left' | 'center' | 'right') => ReturnType;
|
|
8
|
+
};
|
|
9
|
+
}
|
|
10
|
+
}
|
|
11
|
+
export interface DrawerOptions extends GeneralOptions<DrawerOptions> {
|
|
12
|
+
/** Function for uploading files */
|
|
13
|
+
upload?: (file: File) => Promise<string>;
|
|
14
|
+
}
|
|
15
|
+
export declare const Drawer: import('@tiptap/core').Node<DrawerOptions, any>;
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { SVGProps } from 'react';
|
|
2
|
+
export declare function HugeiconsCursorRectangleSelection01(props: SVGProps<SVGSVGElement>): import("react").JSX.Element;
|
|
3
|
+
export declare function MdiFormatLetterCase(props: SVGProps<SVGSVGElement>): import("react").JSX.Element;
|
|
4
|
+
export declare function MaterialSymbolsEdit(props: SVGProps<SVGSVGElement>): import("react").JSX.Element;
|
|
5
|
+
export declare function PhHighlighter(props: SVGProps<SVGSVGElement>): import("react").JSX.Element;
|
|
6
|
+
export declare function OuiEraser(props: SVGProps<SVGSVGElement>): import("react").JSX.Element;
|
|
7
|
+
export declare function MdiSquareOutline(props: SVGProps<SVGSVGElement>): import("react").JSX.Element;
|
|
8
|
+
export declare function MaterialSymbolsRectangleOutline(props: SVGProps<SVGSVGElement>): import("react").JSX.Element;
|
|
9
|
+
export declare function MaterialSymbolsCircleOutline(props: SVGProps<SVGSVGElement>): import("react").JSX.Element;
|
|
10
|
+
export declare function TablerTriangle(props: SVGProps<SVGSVGElement>): import("react").JSX.Element;
|
|
11
|
+
export declare function MaterialSymbolsHexagonOutline(props: SVGProps<SVGSVGElement>): import("react").JSX.Element;
|
|
12
|
+
export declare function MingcuteDiamondSquareLine(props: SVGProps<SVGSVGElement>): import("react").JSX.Element;
|
|
13
|
+
export declare function IcSharpArrowRightAlt(props: SVGProps<SVGSVGElement>): import("react").JSX.Element;
|
|
14
|
+
export declare function SolarUndoLeftRoundBold(props: SVGProps<SVGSVGElement>): import("react").JSX.Element;
|
|
15
|
+
export declare function SolarUndoRightRoundBold(props: SVGProps<SVGSVGElement>): import("react").JSX.Element;
|
|
16
|
+
export declare function MaterialSymbolsDelete(props: SVGProps<SVGSVGElement>): import("react").JSX.Element;
|
|
17
|
+
export declare function HugeiconsSvg01(props: SVGProps<SVGSVGElement>): import("react").JSX.Element;
|
|
18
|
+
export declare function GardenUploadStroke12(props: SVGProps<SVGSVGElement>): import("react").JSX.Element;
|
|
19
|
+
export declare function HugeiconsPng01(props: SVGProps<SVGSVGElement>): import("react").JSX.Element;
|
|
20
|
+
export declare function IcSharpGrid4x4(props: SVGProps<SVGSVGElement>): import("react").JSX.Element;
|
|
21
|
+
export declare function AkarIconsDotGridFill(props: SVGProps<SVGSVGElement>): import("react").JSX.Element;
|
|
22
|
+
export declare function MageImageUpload(props: SVGProps<SVGSVGElement>): import("react").JSX.Element;
|
|
23
|
+
export declare function FluentColorBackground24Filled(props: SVGProps<SVGSVGElement>): import("react").JSX.Element;
|
|
24
|
+
export declare function PhLineSegmentFill(props: SVGProps<SVGSVGElement>): import("react").JSX.Element;
|
|
25
|
+
export declare function IcSharpFavorite(props: SVGProps<SVGSVGElement>): import("react").JSX.Element;
|
|
26
|
+
export declare function MaterialSymbolsKidStar(props: SVGProps<SVGSVGElement>): import("react").JSX.Element;
|
|
27
|
+
export declare function MaterialSymbolsCloud(props: SVGProps<SVGSVGElement>): import("react").JSX.Element;
|
|
28
|
+
export declare function AkarIconsParallelogram(props: SVGProps<SVGSVGElement>): import("react").JSX.Element;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Supporting UI component for the Drawer extension (hand-drawn sketch/drawing blocks (easydrawer)). Provides part of the in-editor interface for this feature.
|
|
3
|
+
*/
|
|
4
|
+
export declare function EditDrawerBlock({ editor, attrs, extension }: any): import("react").JSX.Element;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { Node } from '@tiptap/core';
|
|
2
|
+
export * from './components/RichTextDrawio';
|
|
3
|
+
export interface IDrawioAttrs {
|
|
4
|
+
defaultShowPicker?: boolean;
|
|
5
|
+
createUser?: any;
|
|
6
|
+
width?: number | string;
|
|
7
|
+
height?: number;
|
|
8
|
+
data?: Record<string, unknown>;
|
|
9
|
+
}
|
|
10
|
+
declare module '@tiptap/core' {
|
|
11
|
+
interface Commands<ReturnType> {
|
|
12
|
+
drawio: {
|
|
13
|
+
setDrawio: (attrs?: IDrawioAttrs) => ReturnType;
|
|
14
|
+
};
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
export declare const Drawio: Node<any, any>;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
interface IPropsEmojiNodeVIew {
|
|
3
|
+
items: Array<{
|
|
4
|
+
name: string;
|
|
5
|
+
emoji: string;
|
|
6
|
+
}>;
|
|
7
|
+
query: string;
|
|
8
|
+
command: any;
|
|
9
|
+
}
|
|
10
|
+
declare const _default: React.ForwardRefExoticComponent<IPropsEmojiNodeVIew & React.RefAttributes<unknown>>;
|
|
11
|
+
export default _default;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { Extension } from '@tiptap/core';
|
|
2
|
+
import { GeneralOptions, PaperSize, PageMargin } from '../../types';
|
|
3
|
+
declare module '@tiptap/core' {
|
|
4
|
+
interface Commands<ReturnType> {
|
|
5
|
+
exportPdf: {
|
|
6
|
+
exportToPdf: () => ReturnType;
|
|
7
|
+
};
|
|
8
|
+
}
|
|
9
|
+
}
|
|
10
|
+
export interface ExportPdfOptions extends GeneralOptions<ExportPdfOptions> {
|
|
11
|
+
paperSize: PaperSize;
|
|
12
|
+
title?: string;
|
|
13
|
+
margins: {
|
|
14
|
+
top?: PageMargin;
|
|
15
|
+
right?: PageMargin;
|
|
16
|
+
bottom?: PageMargin;
|
|
17
|
+
left?: PageMargin;
|
|
18
|
+
};
|
|
19
|
+
}
|
|
20
|
+
export * from './components/RichTextExportPdf';
|
|
21
|
+
export declare const ExportPdf: Extension<ExportPdfOptions, any>;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { Extension } from '@tiptap/core';
|
|
2
|
+
import { GeneralOptions } from '../../types';
|
|
3
|
+
declare module '@tiptap/core' {
|
|
4
|
+
interface Commands<ReturnType> {
|
|
5
|
+
exportWord: {
|
|
6
|
+
exportToWord: () => ReturnType;
|
|
7
|
+
};
|
|
8
|
+
}
|
|
9
|
+
}
|
|
10
|
+
interface ExportWordOptions extends GeneralOptions<ExportWordOptions> {
|
|
11
|
+
}
|
|
12
|
+
export * from './components/RichTextExportWord';
|
|
13
|
+
export declare const ExportWord: Extension<ExportWordOptions, any>;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Toolbar control (React) for the ExportWord extension, which adds exporting the document to a Word (.docx) file. Renders the button and dispatches the matching editor command when activated.
|
|
3
|
+
*/
|
|
4
|
+
export declare function RichTextExportWord(): import("react").JSX.Element;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { FontFamilyOptions as TiptapFontFamilyOptions } from '@tiptap/extension-text-style';
|
|
2
|
+
import { GeneralOptions, NameValueOption } from '../../types';
|
|
3
|
+
export * from './components/RichTextFontFamily';
|
|
4
|
+
export interface FontFamilyOptions extends TiptapFontFamilyOptions, GeneralOptions<FontFamilyOptions> {
|
|
5
|
+
/**
|
|
6
|
+
* Font family list.
|
|
7
|
+
*/
|
|
8
|
+
fontFamilyList: (string | NameValueOption)[];
|
|
9
|
+
}
|
|
10
|
+
export declare const FontFamily: import('@tiptap/core').Extension<FontFamilyOptions, any>;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { ButtonViewReturnComponentProps } from '../../../types';
|
|
3
|
+
export interface Item {
|
|
4
|
+
title: string;
|
|
5
|
+
icon?: any;
|
|
6
|
+
font?: string;
|
|
7
|
+
isActive: NonNullable<ButtonViewReturnComponentProps['isActive']>;
|
|
8
|
+
action?: ButtonViewReturnComponentProps['action'];
|
|
9
|
+
style?: React.CSSProperties;
|
|
10
|
+
shortcutKeys?: string[];
|
|
11
|
+
disabled?: boolean;
|
|
12
|
+
divider?: boolean;
|
|
13
|
+
default?: boolean;
|
|
14
|
+
}
|
|
15
|
+
export declare function RichTextFontFamily(): React.JSX.Element;
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { Extension } from '@tiptap/core';
|
|
2
|
+
import { GeneralOptions, NameValueOption } from '../../types';
|
|
3
|
+
export * from './components/RichTextFontSize';
|
|
4
|
+
/**
|
|
5
|
+
* Represents the interface for font size options, extending GeneralOptions.
|
|
6
|
+
*/
|
|
7
|
+
export interface FontSizeOptions extends GeneralOptions<FontSizeOptions> {
|
|
8
|
+
types: string[];
|
|
9
|
+
/**
|
|
10
|
+
* List of available font size values
|
|
11
|
+
*
|
|
12
|
+
* @default DEFAULT_FONT_SIZE_LIST
|
|
13
|
+
*/
|
|
14
|
+
fontSizes: (string | NameValueOption)[];
|
|
15
|
+
}
|
|
16
|
+
declare module '@tiptap/core' {
|
|
17
|
+
interface Commands<ReturnType> {
|
|
18
|
+
fontSize: {
|
|
19
|
+
/**
|
|
20
|
+
* Set the text font size. ex: "12px", "2em", or "small". Must be a valid
|
|
21
|
+
* CSS font-size
|
|
22
|
+
* (https://developer.mozilla.org/en-US/docs/Web/CSS/font-size).
|
|
23
|
+
*/
|
|
24
|
+
setFontSize: (fontSize: string) => ReturnType;
|
|
25
|
+
/**
|
|
26
|
+
* Unset the font size
|
|
27
|
+
*/
|
|
28
|
+
unsetFontSize: () => ReturnType;
|
|
29
|
+
};
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
export declare const FontSize: Extension<FontSizeOptions, any>;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { ButtonViewReturnComponentProps } from '../../../types';
|
|
3
|
+
export interface Item {
|
|
4
|
+
title: string;
|
|
5
|
+
isActive: NonNullable<ButtonViewReturnComponentProps['isActive']>;
|
|
6
|
+
action?: ButtonViewReturnComponentProps['action'];
|
|
7
|
+
style?: React.CSSProperties;
|
|
8
|
+
disabled?: boolean;
|
|
9
|
+
divider?: boolean;
|
|
10
|
+
default?: boolean;
|
|
11
|
+
}
|
|
12
|
+
export declare function RichTextFontSize(): React.JSX.Element;
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
import { Extension } from '@tiptap/core';
|
|
2
|
+
import { PluginKey, EditorState } from '@tiptap/pm/state';
|
|
3
|
+
import { DecorationSet } from '@tiptap/pm/view';
|
|
4
|
+
import { Linter } from 'harper.js';
|
|
5
|
+
import { HarperDialect } from './lib/createHarperLinter';
|
|
6
|
+
export type { HarperDialect } from './lib/createHarperLinter';
|
|
7
|
+
export interface HarperSuggestion {
|
|
8
|
+
/** 0 = replace, 1 = remove, 2 = insert-after (mirrors Harper's SuggestionKind). */
|
|
9
|
+
kind: number;
|
|
10
|
+
/** Text that replaces (or is inserted after) the flagged span. */
|
|
11
|
+
replacement: string;
|
|
12
|
+
/** Human-readable label for the suggestion action. */
|
|
13
|
+
label: string;
|
|
14
|
+
}
|
|
15
|
+
export interface HarperIssue {
|
|
16
|
+
id: string;
|
|
17
|
+
/** Short description of the issue, e.g. `Spelling`, `Grammar`. */
|
|
18
|
+
kind: string;
|
|
19
|
+
/** Full human-readable message from Harper. */
|
|
20
|
+
message: string;
|
|
21
|
+
/** The offending text as it currently appears in the document. */
|
|
22
|
+
problemText: string;
|
|
23
|
+
suggestions: HarperSuggestion[];
|
|
24
|
+
}
|
|
25
|
+
interface HarperPluginState {
|
|
26
|
+
decorations: DecorationSet;
|
|
27
|
+
/** Issue metadata keyed by id. Live positions come from `decorations`. */
|
|
28
|
+
issues: Map<string, HarperIssue>;
|
|
29
|
+
}
|
|
30
|
+
export declare const harperPluginKey: PluginKey<HarperPluginState>;
|
|
31
|
+
export interface HarperOptions {
|
|
32
|
+
/** Prefer a web-worker linter to keep large-document linting off the editor thread. */
|
|
33
|
+
preferWorker: boolean;
|
|
34
|
+
/** English dialect to lint against. */
|
|
35
|
+
dialect: HarperDialect;
|
|
36
|
+
/** Debounce (ms) between an edit and the lint pass it triggers. */
|
|
37
|
+
debounce: number;
|
|
38
|
+
/** Re-lint automatically as the document changes. */
|
|
39
|
+
autoLint: boolean;
|
|
40
|
+
/** Base class applied to every issue decoration. */
|
|
41
|
+
issueClass: string;
|
|
42
|
+
/** Called after every completed lint pass with the current issue list. */
|
|
43
|
+
onUpdate?: (issues: HarperIssue[]) => void;
|
|
44
|
+
}
|
|
45
|
+
export interface HarperStorage {
|
|
46
|
+
linter: Linter | null;
|
|
47
|
+
ready: boolean;
|
|
48
|
+
error: unknown;
|
|
49
|
+
issues: HarperIssue[];
|
|
50
|
+
timer: ReturnType<typeof setTimeout> | null;
|
|
51
|
+
runToken: number;
|
|
52
|
+
}
|
|
53
|
+
declare module '@tiptap/core' {
|
|
54
|
+
interface Commands<ReturnType> {
|
|
55
|
+
harper: {
|
|
56
|
+
/** Run a full proofing pass immediately, bypassing the debounce. */
|
|
57
|
+
runProofing: () => ReturnType;
|
|
58
|
+
/** Remove all Harper decorations. */
|
|
59
|
+
clearProofing: () => ReturnType;
|
|
60
|
+
/** Apply one of an issue's suggestions to the document. */
|
|
61
|
+
applyHarperSuggestion: (id: string, suggestionIndex: number) => ReturnType;
|
|
62
|
+
/** Dismiss a single issue without changing the document. */
|
|
63
|
+
ignoreHarperSuggestion: (id: string) => ReturnType;
|
|
64
|
+
};
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
export declare function getHarperState(state: EditorState): HarperPluginState | undefined;
|
|
68
|
+
/** Look up the live document range for an issue, or `null` if it no longer exists. */
|
|
69
|
+
export declare function getHarperIssueRange(state: EditorState, id: string): {
|
|
70
|
+
from: number;
|
|
71
|
+
to: number;
|
|
72
|
+
} | null;
|
|
73
|
+
export declare const Harper: Extension<HarperOptions, HarperStorage>;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { Editor } from '@tiptap/core';
|
|
2
|
+
export interface RichTextHarperProps {
|
|
3
|
+
/** The editor whose Harper issues this tooltip surfaces. */
|
|
4
|
+
editor: Editor | null;
|
|
5
|
+
/** Extra class names for the popover container. */
|
|
6
|
+
className?: string;
|
|
7
|
+
}
|
|
8
|
+
/**
|
|
9
|
+
* Hover/click suggestion tooltip for Harper proofing issues.
|
|
10
|
+
*
|
|
11
|
+
* It listens for pointer events on issue decorations rendered by the Harper
|
|
12
|
+
* extension and shows the issue message plus actions to apply a suggestion or
|
|
13
|
+
* dismiss the issue. Pass the same `editor` instance the extension is on.
|
|
14
|
+
*/
|
|
15
|
+
export declare function RichTextHarper({ editor, className }: RichTextHarperProps): import("react").JSX.Element | null;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Entry point for the Harper extension that re-exports the extension and its React components. Lets the app import the Harper grammar and spell checker from a single, stable module path.
|
|
3
|
+
*/
|
|
4
|
+
export * from './Harper';
|
|
5
|
+
export * from './components/RichTextHarper';
|
|
6
|
+
export { createHarperLinter, getSharedHarperLinter } from './lib/createHarperLinter';
|
|
7
|
+
export type { CreateHarperLinterOptions, HarperDialect } from './lib/createHarperLinter';
|
|
8
|
+
export { extractTextWithMap, spanToRange } from './lib/extractTextWithMap';
|
|
9
|
+
export type { TextWithMap } from './lib/extractTextWithMap';
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { Linter } from 'harper.js';
|
|
2
|
+
export type HarperDialect = 'American' | 'British' | 'Australian' | 'Canadian' | 'Indian';
|
|
3
|
+
export interface CreateHarperLinterOptions {
|
|
4
|
+
/**
|
|
5
|
+
* Prefer a dedicated web worker so linting large documents does not block
|
|
6
|
+
* the editor thread. Falls back to a main-thread linter when workers are
|
|
7
|
+
* unavailable or fail to start. Defaults to `true`.
|
|
8
|
+
*/
|
|
9
|
+
preferWorker?: boolean;
|
|
10
|
+
/** English dialect Harper should lint against. Defaults to `American`. */
|
|
11
|
+
dialect?: HarperDialect;
|
|
12
|
+
}
|
|
13
|
+
/**
|
|
14
|
+
* Client-safe Harper linter bootstrap.
|
|
15
|
+
*
|
|
16
|
+
* `harper.js` ships as browser-friendly ESM backed by WebAssembly, so it must
|
|
17
|
+
* only be initialized in the browser. Everything is loaded through dynamic
|
|
18
|
+
* `import()` to keep it out of any server bundle and off the initial critical
|
|
19
|
+
* path.
|
|
20
|
+
*/
|
|
21
|
+
export declare function createHarperLinter(options?: CreateHarperLinterOptions): Promise<Linter>;
|
|
22
|
+
export declare function getSharedHarperLinter(options?: CreateHarperLinterOptions): Promise<Linter>;
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { Node as PMNode } from '@tiptap/pm/model';
|
|
2
|
+
/**
|
|
3
|
+
* A plain-text projection of a ProseMirror document together with a lookup
|
|
4
|
+
* table that maps every character offset in that text back to an exact
|
|
5
|
+
* ProseMirror document position.
|
|
6
|
+
*
|
|
7
|
+
* Harper reports issues as character spans over the plain text it was given,
|
|
8
|
+
* but TipTap decorations need concrete document positions. `map` bridges the
|
|
9
|
+
* two: `map[offset]` is the document position of the character at `offset`,
|
|
10
|
+
* and `map[text.length]` is the position immediately after the last character.
|
|
11
|
+
*/
|
|
12
|
+
export interface TextWithMap {
|
|
13
|
+
text: string;
|
|
14
|
+
map: number[];
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* Walk `doc` in document order, emit normalized plain text for each
|
|
18
|
+
* text-bearing block, and record an offset-to-position mapping table.
|
|
19
|
+
*
|
|
20
|
+
* Only text-block content is emitted; the separator characters are mapped to
|
|
21
|
+
* the boundary position between blocks so that a span landing on them still
|
|
22
|
+
* resolves to a valid, stable location.
|
|
23
|
+
*/
|
|
24
|
+
export declare function extractTextWithMap(doc: PMNode): TextWithMap;
|
|
25
|
+
/**
|
|
26
|
+
* Convert a Harper character span into a ProseMirror `[from, to]` range using
|
|
27
|
+
* a mapping table produced by {@link extractTextWithMap}. Returns `null` when
|
|
28
|
+
* the span cannot be resolved (out of range or zero-width).
|
|
29
|
+
*/
|
|
30
|
+
export declare function spanToRange(map: number[], start: number, end: number): {
|
|
31
|
+
from: number;
|
|
32
|
+
to: number;
|
|
33
|
+
} | null;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { GeneralOptions } from '../../types';
|
|
2
|
+
import { HeadingOptions as TiptapHeadingOptions } from '@tiptap/extension-heading';
|
|
3
|
+
export * from './components/RichTextHeading';
|
|
4
|
+
export interface HeadingOptions extends TiptapHeadingOptions, GeneralOptions<HeadingOptions> {
|
|
5
|
+
}
|
|
6
|
+
export declare const Heading: import('@tiptap/core').Node<HeadingOptions, any>;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { ButtonViewReturnComponentProps } from '../../../types';
|
|
3
|
+
export interface Item {
|
|
4
|
+
title: string;
|
|
5
|
+
icon?: any;
|
|
6
|
+
level?: number;
|
|
7
|
+
isActive: NonNullable<ButtonViewReturnComponentProps['isActive']>;
|
|
8
|
+
action?: ButtonViewReturnComponentProps['action'];
|
|
9
|
+
style?: React.CSSProperties;
|
|
10
|
+
shortcutKeys?: string[];
|
|
11
|
+
disabled?: boolean;
|
|
12
|
+
divider?: boolean;
|
|
13
|
+
default?: boolean;
|
|
14
|
+
}
|
|
15
|
+
export declare function RichTextHeading({ level }?: {
|
|
16
|
+
level?: number;
|
|
17
|
+
}): React.JSX.Element;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { GeneralOptions } from '../../types';
|
|
2
|
+
import { HighlightOptions as TiptapHighlightOptions } from '@tiptap/extension-highlight';
|
|
3
|
+
export * from './components/RichTextHighlight';
|
|
4
|
+
export interface HighlightOptions extends TiptapHighlightOptions, GeneralOptions<HighlightOptions> {
|
|
5
|
+
/**
|
|
6
|
+
* The default color to use initially
|
|
7
|
+
*/
|
|
8
|
+
defaultColor?: string;
|
|
9
|
+
}
|
|
10
|
+
export interface HighlightStorage {
|
|
11
|
+
currentColor?: string;
|
|
12
|
+
}
|
|
13
|
+
declare module '@tiptap/core' {
|
|
14
|
+
interface Storage {
|
|
15
|
+
highlight: HighlightStorage;
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
export declare const Highlight: import('@tiptap/core').Mark<HighlightOptions, any>;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { UndoRedoOptions } from '@tiptap/extensions';
|
|
2
|
+
import { GeneralOptions } from '../../types';
|
|
3
|
+
export interface HistoryOptions extends UndoRedoOptions, GeneralOptions<HistoryOptions> {
|
|
4
|
+
}
|
|
5
|
+
export declare const History: import('@tiptap/core').Extension<HistoryOptions, any>;
|
|
6
|
+
export * from './components/RichTextHistory';
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { GeneralOptions } from '../../types';
|
|
2
|
+
import { HorizontalRuleOptions as TiptapHorizontalRuleOptions } from '@tiptap/extension-horizontal-rule';
|
|
3
|
+
export * from './components/RichTextHorizontalRule';
|
|
4
|
+
export interface HorizontalRuleOptions extends TiptapHorizontalRuleOptions, GeneralOptions<HorizontalRuleOptions> {
|
|
5
|
+
}
|
|
6
|
+
export declare const HorizontalRule: import('@tiptap/core').Node<HorizontalRuleOptions, any>;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { Node } from '@tiptap/core';
|
|
2
|
+
export * from './components/RichTextIframe';
|
|
3
|
+
declare module '@tiptap/core' {
|
|
4
|
+
interface Commands<ReturnType> {
|
|
5
|
+
iframe: {
|
|
6
|
+
/**
|
|
7
|
+
* Add an iframe
|
|
8
|
+
*/
|
|
9
|
+
setIframe: (options: {
|
|
10
|
+
src: string;
|
|
11
|
+
service: string;
|
|
12
|
+
}) => ReturnType;
|
|
13
|
+
};
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
export declare const Iframe: Node<any, any>;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* React node view that renders an embedded iframe inside the document. Displays the interactive embed that Tiptap mounts in place of the iframe node.
|
|
3
|
+
*/
|
|
4
|
+
declare function IframeNodeView({ editor, node, updateAttributes }: any): import("react").JSX.Element;
|
|
5
|
+
export default IframeNodeView;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Embed service link
|
|
3
|
+
* @id source id
|
|
4
|
+
* @exmplae example link
|
|
5
|
+
* @src source src, used in iframe
|
|
6
|
+
*/
|
|
7
|
+
export declare const EmbedServiceLink: any;
|
|
8
|
+
export declare function getExampleUrl(service: string): string;
|
|
9
|
+
export declare function getServiceSrc(originalLink: any): any;
|