@nocobase/plugin-block-markdown 2.0.0-alpha.22
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/LICENSE.txt +172 -0
- package/README.md +1 -0
- package/build.config.ts +15 -0
- package/client.d.ts +2 -0
- package/client.js +1 -0
- package/dist/client/index.d.ts +9 -0
- package/dist/client/index.js +10 -0
- package/dist/client/locale.d.ts +10 -0
- package/dist/client/models/MarkdownBlockModel.d.ts +13 -0
- package/dist/client/models/index.d.ts +10 -0
- package/dist/client/plugin.d.ts +15 -0
- package/dist/client/vditor/dist/css/content-theme/ant-design.css +210 -0
- package/dist/client/vditor/dist/css/content-theme/dark.css +123 -0
- package/dist/client/vditor/dist/css/content-theme/light.css +101 -0
- package/dist/client/vditor/dist/css/content-theme/wechat.css +94 -0
- package/dist/client/vditor/dist/images/emoji/b3log.png +0 -0
- package/dist/client/vditor/dist/images/emoji/chainbook.png +0 -0
- package/dist/client/vditor/dist/images/emoji/doge.png +0 -0
- package/dist/client/vditor/dist/images/emoji/hacpai.png +0 -0
- package/dist/client/vditor/dist/images/emoji/huaji.gif +0 -0
- package/dist/client/vditor/dist/images/emoji/latke.png +0 -0
- package/dist/client/vditor/dist/images/emoji/liandi.png +0 -0
- package/dist/client/vditor/dist/images/emoji/lute.png +0 -0
- package/dist/client/vditor/dist/images/emoji/octocat.png +0 -0
- package/dist/client/vditor/dist/images/emoji/pipe.png +0 -0
- package/dist/client/vditor/dist/images/emoji/siyuan.png +0 -0
- package/dist/client/vditor/dist/images/emoji/solo.png +0 -0
- package/dist/client/vditor/dist/images/emoji/sym.png +0 -0
- package/dist/client/vditor/dist/images/emoji/trollface.png +0 -0
- package/dist/client/vditor/dist/images/emoji/vditor.png +0 -0
- package/dist/client/vditor/dist/images/emoji/wide.png +0 -0
- package/dist/client/vditor/dist/images/emoji/wulian.png +0 -0
- package/dist/client/vditor/dist/images/img-loading.svg +1 -0
- package/dist/client/vditor/dist/images/logo.png +0 -0
- package/dist/client/vditor/dist/index.css +1836 -0
- package/dist/client/vditor/dist/index.d.ts +76 -0
- package/dist/client/vditor/dist/index.min.js +10 -0
- package/dist/client/vditor/dist/js/abcjs/abcjs_basic.min.js +12 -0
- package/dist/client/vditor/dist/js/echarts/echarts.min.js +32 -0
- package/dist/client/vditor/dist/js/flowchart.js/flowchart.min.js +17 -0
- package/dist/client/vditor/dist/js/graphviz/full.render.js +99 -0
- package/dist/client/vditor/dist/js/graphviz/viz.js +342 -0
- package/dist/client/vditor/dist/js/highlight.js/highlight.pack.js +1626 -0
- package/dist/client/vditor/dist/js/highlight.js/solidity.min.js +82 -0
- package/dist/client/vditor/dist/js/highlight.js/styles/abap.css +155 -0
- package/dist/client/vditor/dist/js/highlight.js/styles/algol.css +143 -0
- package/dist/client/vditor/dist/js/highlight.js/styles/algol_nu.css +90 -0
- package/dist/client/vditor/dist/js/highlight.js/styles/ant-design.css +469 -0
- package/dist/client/vditor/dist/js/highlight.js/styles/arduino.css +157 -0
- package/dist/client/vditor/dist/js/highlight.js/styles/autumn.css +138 -0
- package/dist/client/vditor/dist/js/highlight.js/styles/borland.css +147 -0
- package/dist/client/vditor/dist/js/highlight.js/styles/bw.css +150 -0
- package/dist/client/vditor/dist/js/highlight.js/styles/colorful.css +158 -0
- package/dist/client/vditor/dist/js/highlight.js/styles/dracula.css +140 -0
- package/dist/client/vditor/dist/js/highlight.js/styles/emacs.css +167 -0
- package/dist/client/vditor/dist/js/highlight.js/styles/friendly.css +183 -0
- package/dist/client/vditor/dist/js/highlight.js/styles/fruity.css +123 -0
- package/dist/client/vditor/dist/js/highlight.js/styles/github.css +174 -0
- package/dist/client/vditor/dist/js/highlight.js/styles/igor.css +124 -0
- package/dist/client/vditor/dist/js/highlight.js/styles/lovelace.css +146 -0
- package/dist/client/vditor/dist/js/highlight.js/styles/manni.css +139 -0
- package/dist/client/vditor/dist/js/highlight.js/styles/monokai.css +132 -0
- package/dist/client/vditor/dist/js/highlight.js/styles/monokailight.css +180 -0
- package/dist/client/vditor/dist/js/highlight.js/styles/murphy.css +144 -0
- package/dist/client/vditor/dist/js/highlight.js/styles/native.css +164 -0
- package/dist/client/vditor/dist/js/highlight.js/styles/paraiso-dark.css +137 -0
- package/dist/client/vditor/dist/js/highlight.js/styles/paraiso-light.css +136 -0
- package/dist/client/vditor/dist/js/highlight.js/styles/pastie.css +180 -0
- package/dist/client/vditor/dist/js/highlight.js/styles/perldoc.css +141 -0
- package/dist/client/vditor/dist/js/highlight.js/styles/pygments.css +159 -0
- package/dist/client/vditor/dist/js/highlight.js/styles/rainbow_dash.css +164 -0
- package/dist/client/vditor/dist/js/highlight.js/styles/rrt.css +159 -0
- package/dist/client/vditor/dist/js/highlight.js/styles/solarized-dark.css +146 -0
- package/dist/client/vditor/dist/js/highlight.js/styles/solarized-dark256.css +146 -0
- package/dist/client/vditor/dist/js/highlight.js/styles/solarized-light.css +163 -0
- package/dist/client/vditor/dist/js/highlight.js/styles/swapoff.css +144 -0
- package/dist/client/vditor/dist/js/highlight.js/styles/tango.css +183 -0
- package/dist/client/vditor/dist/js/highlight.js/styles/trac.css +167 -0
- package/dist/client/vditor/dist/js/highlight.js/styles/vim.css +144 -0
- package/dist/client/vditor/dist/js/highlight.js/styles/vs.css +113 -0
- package/dist/client/vditor/dist/js/highlight.js/styles/xcode.css +174 -0
- package/dist/client/vditor/dist/js/highlight.js/yul.min.js +39 -0
- package/dist/client/vditor/dist/js/i18n/en_US.js +94 -0
- package/dist/client/vditor/dist/js/i18n/fr_FR.js +94 -0
- package/dist/client/vditor/dist/js/i18n/ja_JP.js +94 -0
- package/dist/client/vditor/dist/js/i18n/ko_KR.js +94 -0
- package/dist/client/vditor/dist/js/i18n/pt_BR.js +94 -0
- package/dist/client/vditor/dist/js/i18n/ru_RU.js +94 -0
- package/dist/client/vditor/dist/js/i18n/sv_SE.js +94 -0
- package/dist/client/vditor/dist/js/i18n/zh_CN.js +94 -0
- package/dist/client/vditor/dist/js/i18n/zh_TW.js +94 -0
- package/dist/client/vditor/dist/js/icons/ant.js +183 -0
- package/dist/client/vditor/dist/js/icons/material.js +204 -0
- package/dist/client/vditor/dist/js/katex/fonts/KaTeX_AMS-Regular.ttf +0 -0
- package/dist/client/vditor/dist/js/katex/fonts/KaTeX_AMS-Regular.woff +0 -0
- package/dist/client/vditor/dist/js/katex/fonts/KaTeX_AMS-Regular.woff2 +0 -0
- package/dist/client/vditor/dist/js/katex/fonts/KaTeX_Caligraphic-Bold.ttf +0 -0
- package/dist/client/vditor/dist/js/katex/fonts/KaTeX_Caligraphic-Bold.woff +0 -0
- package/dist/client/vditor/dist/js/katex/fonts/KaTeX_Caligraphic-Bold.woff2 +0 -0
- package/dist/client/vditor/dist/js/katex/fonts/KaTeX_Caligraphic-Regular.ttf +0 -0
- package/dist/client/vditor/dist/js/katex/fonts/KaTeX_Caligraphic-Regular.woff +0 -0
- package/dist/client/vditor/dist/js/katex/fonts/KaTeX_Caligraphic-Regular.woff2 +0 -0
- package/dist/client/vditor/dist/js/katex/fonts/KaTeX_Fraktur-Bold.ttf +0 -0
- package/dist/client/vditor/dist/js/katex/fonts/KaTeX_Fraktur-Bold.woff +0 -0
- package/dist/client/vditor/dist/js/katex/fonts/KaTeX_Fraktur-Bold.woff2 +0 -0
- package/dist/client/vditor/dist/js/katex/fonts/KaTeX_Fraktur-Regular.ttf +0 -0
- package/dist/client/vditor/dist/js/katex/fonts/KaTeX_Fraktur-Regular.woff +0 -0
- package/dist/client/vditor/dist/js/katex/fonts/KaTeX_Fraktur-Regular.woff2 +0 -0
- package/dist/client/vditor/dist/js/katex/fonts/KaTeX_Main-Bold.ttf +0 -0
- package/dist/client/vditor/dist/js/katex/fonts/KaTeX_Main-Bold.woff +0 -0
- package/dist/client/vditor/dist/js/katex/fonts/KaTeX_Main-Bold.woff2 +0 -0
- package/dist/client/vditor/dist/js/katex/fonts/KaTeX_Main-BoldItalic.ttf +0 -0
- package/dist/client/vditor/dist/js/katex/fonts/KaTeX_Main-BoldItalic.woff +0 -0
- package/dist/client/vditor/dist/js/katex/fonts/KaTeX_Main-BoldItalic.woff2 +0 -0
- package/dist/client/vditor/dist/js/katex/fonts/KaTeX_Main-Italic.ttf +0 -0
- package/dist/client/vditor/dist/js/katex/fonts/KaTeX_Main-Italic.woff +0 -0
- package/dist/client/vditor/dist/js/katex/fonts/KaTeX_Main-Italic.woff2 +0 -0
- package/dist/client/vditor/dist/js/katex/fonts/KaTeX_Main-Regular.ttf +0 -0
- package/dist/client/vditor/dist/js/katex/fonts/KaTeX_Main-Regular.woff +0 -0
- package/dist/client/vditor/dist/js/katex/fonts/KaTeX_Main-Regular.woff2 +0 -0
- package/dist/client/vditor/dist/js/katex/fonts/KaTeX_Math-BoldItalic.ttf +0 -0
- package/dist/client/vditor/dist/js/katex/fonts/KaTeX_Math-BoldItalic.woff +0 -0
- package/dist/client/vditor/dist/js/katex/fonts/KaTeX_Math-BoldItalic.woff2 +0 -0
- package/dist/client/vditor/dist/js/katex/fonts/KaTeX_Math-Italic.ttf +0 -0
- package/dist/client/vditor/dist/js/katex/fonts/KaTeX_Math-Italic.woff +0 -0
- package/dist/client/vditor/dist/js/katex/fonts/KaTeX_Math-Italic.woff2 +0 -0
- package/dist/client/vditor/dist/js/katex/fonts/KaTeX_SansSerif-Bold.ttf +0 -0
- package/dist/client/vditor/dist/js/katex/fonts/KaTeX_SansSerif-Bold.woff +0 -0
- package/dist/client/vditor/dist/js/katex/fonts/KaTeX_SansSerif-Bold.woff2 +0 -0
- package/dist/client/vditor/dist/js/katex/fonts/KaTeX_SansSerif-Italic.ttf +0 -0
- package/dist/client/vditor/dist/js/katex/fonts/KaTeX_SansSerif-Italic.woff +0 -0
- package/dist/client/vditor/dist/js/katex/fonts/KaTeX_SansSerif-Italic.woff2 +0 -0
- package/dist/client/vditor/dist/js/katex/fonts/KaTeX_SansSerif-Regular.ttf +0 -0
- package/dist/client/vditor/dist/js/katex/fonts/KaTeX_SansSerif-Regular.woff +0 -0
- package/dist/client/vditor/dist/js/katex/fonts/KaTeX_SansSerif-Regular.woff2 +0 -0
- package/dist/client/vditor/dist/js/katex/fonts/KaTeX_Script-Regular.ttf +0 -0
- package/dist/client/vditor/dist/js/katex/fonts/KaTeX_Script-Regular.woff +0 -0
- package/dist/client/vditor/dist/js/katex/fonts/KaTeX_Script-Regular.woff2 +0 -0
- package/dist/client/vditor/dist/js/katex/fonts/KaTeX_Size1-Regular.ttf +0 -0
- package/dist/client/vditor/dist/js/katex/fonts/KaTeX_Size1-Regular.woff +0 -0
- package/dist/client/vditor/dist/js/katex/fonts/KaTeX_Size1-Regular.woff2 +0 -0
- package/dist/client/vditor/dist/js/katex/fonts/KaTeX_Size2-Regular.ttf +0 -0
- package/dist/client/vditor/dist/js/katex/fonts/KaTeX_Size2-Regular.woff +0 -0
- package/dist/client/vditor/dist/js/katex/fonts/KaTeX_Size2-Regular.woff2 +0 -0
- package/dist/client/vditor/dist/js/katex/fonts/KaTeX_Size3-Regular.ttf +0 -0
- package/dist/client/vditor/dist/js/katex/fonts/KaTeX_Size3-Regular.woff +0 -0
- package/dist/client/vditor/dist/js/katex/fonts/KaTeX_Size3-Regular.woff2 +0 -0
- package/dist/client/vditor/dist/js/katex/fonts/KaTeX_Size4-Regular.ttf +0 -0
- package/dist/client/vditor/dist/js/katex/fonts/KaTeX_Size4-Regular.woff +0 -0
- package/dist/client/vditor/dist/js/katex/fonts/KaTeX_Size4-Regular.woff2 +0 -0
- package/dist/client/vditor/dist/js/katex/fonts/KaTeX_Typewriter-Regular.ttf +0 -0
- package/dist/client/vditor/dist/js/katex/fonts/KaTeX_Typewriter-Regular.woff +0 -0
- package/dist/client/vditor/dist/js/katex/fonts/KaTeX_Typewriter-Regular.woff2 +0 -0
- package/dist/client/vditor/dist/js/katex/katex.min.css +1 -0
- package/dist/client/vditor/dist/js/katex/katex.min.js +10 -0
- package/dist/client/vditor/dist/js/katex/mhchem.min.js +10 -0
- package/dist/client/vditor/dist/js/lute/lute.min.js +80 -0
- package/dist/client/vditor/dist/js/markmap/katex.min.css +1 -0
- package/dist/client/vditor/dist/js/markmap/markmap.min.js +8260 -0
- package/dist/client/vditor/dist/js/markmap/prism.css +140 -0
- package/dist/client/vditor/dist/js/mathjax/LICENSE +202 -0
- package/dist/client/vditor/dist/js/mathjax/a11y/assistive-mml.js +10 -0
- package/dist/client/vditor/dist/js/mathjax/a11y/complexity.js +10 -0
- package/dist/client/vditor/dist/js/mathjax/a11y/explorer.js +10 -0
- package/dist/client/vditor/dist/js/mathjax/a11y/semantic-enrich.js +10 -0
- package/dist/client/vditor/dist/js/mathjax/input/asciimath.js +10 -0
- package/dist/client/vditor/dist/js/mathjax/input/mml/entities.js +10 -0
- package/dist/client/vditor/dist/js/mathjax/input/mml.js +10 -0
- package/dist/client/vditor/dist/js/mathjax/input/tex/extensions/action.js +10 -0
- package/dist/client/vditor/dist/js/mathjax/input/tex/extensions/all-packages.js +10 -0
- package/dist/client/vditor/dist/js/mathjax/input/tex/extensions/ams.js +10 -0
- package/dist/client/vditor/dist/js/mathjax/input/tex/extensions/amscd.js +10 -0
- package/dist/client/vditor/dist/js/mathjax/input/tex/extensions/autoload.js +10 -0
- package/dist/client/vditor/dist/js/mathjax/input/tex/extensions/bbox.js +10 -0
- package/dist/client/vditor/dist/js/mathjax/input/tex/extensions/boldsymbol.js +10 -0
- package/dist/client/vditor/dist/js/mathjax/input/tex/extensions/braket.js +10 -0
- package/dist/client/vditor/dist/js/mathjax/input/tex/extensions/bussproofs.js +10 -0
- package/dist/client/vditor/dist/js/mathjax/input/tex/extensions/cancel.js +10 -0
- package/dist/client/vditor/dist/js/mathjax/input/tex/extensions/color.js +10 -0
- package/dist/client/vditor/dist/js/mathjax/input/tex/extensions/colorV2.js +10 -0
- package/dist/client/vditor/dist/js/mathjax/input/tex/extensions/configMacros.js +10 -0
- package/dist/client/vditor/dist/js/mathjax/input/tex/extensions/enclose.js +10 -0
- package/dist/client/vditor/dist/js/mathjax/input/tex/extensions/extpfeil.js +10 -0
- package/dist/client/vditor/dist/js/mathjax/input/tex/extensions/html.js +10 -0
- package/dist/client/vditor/dist/js/mathjax/input/tex/extensions/mhchem.js +10 -0
- package/dist/client/vditor/dist/js/mathjax/input/tex/extensions/newcommand.js +10 -0
- package/dist/client/vditor/dist/js/mathjax/input/tex/extensions/noerrors.js +10 -0
- package/dist/client/vditor/dist/js/mathjax/input/tex/extensions/noundefined.js +10 -0
- package/dist/client/vditor/dist/js/mathjax/input/tex/extensions/physics.js +10 -0
- package/dist/client/vditor/dist/js/mathjax/input/tex/extensions/require.js +10 -0
- package/dist/client/vditor/dist/js/mathjax/input/tex/extensions/tagFormat.js +10 -0
- package/dist/client/vditor/dist/js/mathjax/input/tex/extensions/textmacros.js +10 -0
- package/dist/client/vditor/dist/js/mathjax/input/tex/extensions/unicode.js +10 -0
- package/dist/client/vditor/dist/js/mathjax/input/tex/extensions/verb.js +10 -0
- package/dist/client/vditor/dist/js/mathjax/input/tex-base.js +10 -0
- package/dist/client/vditor/dist/js/mathjax/input/tex-full.js +10 -0
- package/dist/client/vditor/dist/js/mathjax/input/tex.js +10 -0
- package/dist/client/vditor/dist/js/mathjax/sre/mathmaps/de.js +113 -0
- package/dist/client/vditor/dist/js/mathjax/sre/mathmaps/en.js +119 -0
- package/dist/client/vditor/dist/js/mathjax/sre/mathmaps/es.js +113 -0
- package/dist/client/vditor/dist/js/mathjax/sre/mathmaps/fr.js +113 -0
- package/dist/client/vditor/dist/js/mathjax/sre/mathmaps/mathmaps_ie.js +527 -0
- package/dist/client/vditor/dist/js/mathjax/sre/mathmaps/nemeth.js +113 -0
- package/dist/client/vditor/dist/js/mathjax/sre/sre-node.js +20 -0
- package/dist/client/vditor/dist/js/mathjax/sre/sre_browser.js +1642 -0
- package/dist/client/vditor/dist/js/mathjax/tex-svg-full.js +10 -0
- package/dist/client/vditor/dist/js/mermaid/mermaid.min.js +1768 -0
- package/dist/client/vditor/dist/js/plantuml/plantuml-encoder.min.js +10 -0
- package/dist/client/vditor/dist/method.d.ts +50 -0
- package/dist/client/vditor/dist/method.min.js +10 -0
- package/dist/client/vditor/dist/ts/constants.d.ts +45 -0
- package/dist/client/vditor/dist/ts/devtools/index.d.ts +7 -0
- package/dist/client/vditor/dist/ts/export/index.d.ts +5 -0
- package/dist/client/vditor/dist/ts/hint/index.d.ts +14 -0
- package/dist/client/vditor/dist/ts/ir/expandMarker.d.ts +2 -0
- package/dist/client/vditor/dist/ts/ir/highlightToolbarIR.d.ts +2 -0
- package/dist/client/vditor/dist/ts/ir/index.d.ts +13 -0
- package/dist/client/vditor/dist/ts/ir/input.d.ts +2 -0
- package/dist/client/vditor/dist/ts/ir/process.d.ts +9 -0
- package/dist/client/vditor/dist/ts/ir/processKeydown.d.ts +2 -0
- package/dist/client/vditor/dist/ts/markdown/abcRender.d.ts +1 -0
- package/dist/client/vditor/dist/ts/markdown/adapterRender.d.ts +37 -0
- package/dist/client/vditor/dist/ts/markdown/anchorRender.d.ts +1 -0
- package/dist/client/vditor/dist/ts/markdown/chartRender.d.ts +1 -0
- package/dist/client/vditor/dist/ts/markdown/codeRender.d.ts +2 -0
- package/dist/client/vditor/dist/ts/markdown/flowchartRender.d.ts +1 -0
- package/dist/client/vditor/dist/ts/markdown/getHTML.d.ts +2 -0
- package/dist/client/vditor/dist/ts/markdown/getMarkdown.d.ts +2 -0
- package/dist/client/vditor/dist/ts/markdown/graphvizRender.d.ts +1 -0
- package/dist/client/vditor/dist/ts/markdown/highlightRender.d.ts +2 -0
- package/dist/client/vditor/dist/ts/markdown/lazyLoadImageRender.d.ts +6 -0
- package/dist/client/vditor/dist/ts/markdown/markmapRender.d.ts +1 -0
- package/dist/client/vditor/dist/ts/markdown/mathRender.d.ts +10 -0
- package/dist/client/vditor/dist/ts/markdown/mediaRender.d.ts +1 -0
- package/dist/client/vditor/dist/ts/markdown/mermaidRender.d.ts +1 -0
- package/dist/client/vditor/dist/ts/markdown/mindmapRender.d.ts +1 -0
- package/dist/client/vditor/dist/ts/markdown/outlineRender.d.ts +2 -0
- package/dist/client/vditor/dist/ts/markdown/plantumlRender.d.ts +1 -0
- package/dist/client/vditor/dist/ts/markdown/previewRender.d.ts +3 -0
- package/dist/client/vditor/dist/ts/markdown/setLute.d.ts +2 -0
- package/dist/client/vditor/dist/ts/markdown/speechRender.d.ts +7 -0
- package/dist/client/vditor/dist/ts/outline/index.d.ts +7 -0
- package/dist/client/vditor/dist/ts/preview/image.d.ts +2 -0
- package/dist/client/vditor/dist/ts/preview/index.d.ts +10 -0
- package/dist/client/vditor/dist/ts/resize/index.d.ts +6 -0
- package/dist/client/vditor/dist/ts/sv/combineFootnote.d.ts +6 -0
- package/dist/client/vditor/dist/ts/sv/index.d.ts +13 -0
- package/dist/client/vditor/dist/ts/sv/inputEvent.d.ts +2 -0
- package/dist/client/vditor/dist/ts/sv/process.d.ts +12 -0
- package/dist/client/vditor/dist/ts/sv/processKeydown.d.ts +2 -0
- package/dist/client/vditor/dist/ts/tip/index.d.ts +6 -0
- package/dist/client/vditor/dist/ts/toolbar/Both.d.ts +5 -0
- package/dist/client/vditor/dist/ts/toolbar/Br.d.ts +4 -0
- package/dist/client/vditor/dist/ts/toolbar/CodeTheme.d.ts +6 -0
- package/dist/client/vditor/dist/ts/toolbar/ContentTheme.d.ts +6 -0
- package/dist/client/vditor/dist/ts/toolbar/Counter.d.ts +6 -0
- package/dist/client/vditor/dist/ts/toolbar/Custom.d.ts +5 -0
- package/dist/client/vditor/dist/ts/toolbar/Devtools.d.ts +5 -0
- package/dist/client/vditor/dist/ts/toolbar/Divider.d.ts +4 -0
- package/dist/client/vditor/dist/ts/toolbar/EditMode.d.ts +8 -0
- package/dist/client/vditor/dist/ts/toolbar/Emoji.d.ts +7 -0
- package/dist/client/vditor/dist/ts/toolbar/Export.d.ts +6 -0
- package/dist/client/vditor/dist/ts/toolbar/Fullscreen.d.ts +6 -0
- package/dist/client/vditor/dist/ts/toolbar/Headings.d.ts +7 -0
- package/dist/client/vditor/dist/ts/toolbar/Help.d.ts +5 -0
- package/dist/client/vditor/dist/ts/toolbar/Indent.d.ts +5 -0
- package/dist/client/vditor/dist/ts/toolbar/Info.d.ts +5 -0
- package/dist/client/vditor/dist/ts/toolbar/InsertAfter.d.ts +5 -0
- package/dist/client/vditor/dist/ts/toolbar/InsertBefore.d.ts +5 -0
- package/dist/client/vditor/dist/ts/toolbar/MenuItem.d.ts +5 -0
- package/dist/client/vditor/dist/ts/toolbar/Outdent.d.ts +5 -0
- package/dist/client/vditor/dist/ts/toolbar/Outline.d.ts +5 -0
- package/dist/client/vditor/dist/ts/toolbar/Preview.d.ts +6 -0
- package/dist/client/vditor/dist/ts/toolbar/Record.d.ts +6 -0
- package/dist/client/vditor/dist/ts/toolbar/Redo.d.ts +5 -0
- package/dist/client/vditor/dist/ts/toolbar/Undo.d.ts +5 -0
- package/dist/client/vditor/dist/ts/toolbar/Upload.d.ts +6 -0
- package/dist/client/vditor/dist/ts/toolbar/index.d.ts +9 -0
- package/dist/client/vditor/dist/ts/toolbar/setToolbar.d.ts +21 -0
- package/dist/client/vditor/dist/ts/ui/initUI.d.ts +10 -0
- package/dist/client/vditor/dist/ts/ui/setCodeTheme.d.ts +1 -0
- package/dist/client/vditor/dist/ts/ui/setContentTheme.d.ts +1 -0
- package/dist/client/vditor/dist/ts/ui/setPreviewMode.d.ts +2 -0
- package/dist/client/vditor/dist/ts/ui/setTheme.d.ts +2 -0
- package/dist/client/vditor/dist/ts/undo/index.d.ts +19 -0
- package/dist/client/vditor/dist/ts/upload/getElement.d.ts +2 -0
- package/dist/client/vditor/dist/ts/upload/index.d.ts +9 -0
- package/dist/client/vditor/dist/ts/upload/setHeaders.d.ts +2 -0
- package/dist/client/vditor/dist/ts/util/Options.d.ts +8 -0
- package/dist/client/vditor/dist/ts/util/RecordMedia.d.ts +18 -0
- package/dist/client/vditor/dist/ts/util/addScript.d.ts +2 -0
- package/dist/client/vditor/dist/ts/util/addStyle.d.ts +1 -0
- package/dist/client/vditor/dist/ts/util/code160to32.d.ts +1 -0
- package/dist/client/vditor/dist/ts/util/compatibility.d.ts +7 -0
- package/dist/client/vditor/dist/ts/util/editorCommonEvent.d.ts +10 -0
- package/dist/client/vditor/dist/ts/util/fixBrowserBehavior.d.ts +40 -0
- package/dist/client/vditor/dist/ts/util/function.d.ts +2 -0
- package/dist/client/vditor/dist/ts/util/getSelectText.d.ts +1 -0
- package/dist/client/vditor/dist/ts/util/hasClosest.d.ts +9 -0
- package/dist/client/vditor/dist/ts/util/hasClosestByHeadings.d.ts +2 -0
- package/dist/client/vditor/dist/ts/util/highlightToolbar.d.ts +2 -0
- package/dist/client/vditor/dist/ts/util/hotKey.d.ts +1 -0
- package/dist/client/vditor/dist/ts/util/log.d.ts +1 -0
- package/dist/client/vditor/dist/ts/util/merge.d.ts +1 -0
- package/dist/client/vditor/dist/ts/util/processCode.d.ts +3 -0
- package/dist/client/vditor/dist/ts/util/selection.d.ts +15 -0
- package/dist/client/vditor/dist/ts/util/toc.d.ts +6 -0
- package/dist/client/vditor/dist/ts/wysiwyg/afterRenderEvent.d.ts +6 -0
- package/dist/client/vditor/dist/ts/wysiwyg/highlightToolbarWYSIWYG.d.ts +5 -0
- package/dist/client/vditor/dist/ts/wysiwyg/index.d.ts +22 -0
- package/dist/client/vditor/dist/ts/wysiwyg/inlineTag.d.ts +11 -0
- package/dist/client/vditor/dist/ts/wysiwyg/input.d.ts +2 -0
- package/dist/client/vditor/dist/ts/wysiwyg/processKeydown.d.ts +3 -0
- package/dist/client/vditor/dist/ts/wysiwyg/renderDomByMd.d.ts +6 -0
- package/dist/client/vditor/dist/ts/wysiwyg/setHeading.d.ts +3 -0
- package/dist/client/vditor/dist/ts/wysiwyg/showCode.d.ts +2 -0
- package/dist/client/vditor/dist/ts/wysiwyg/toolbarEvent.d.ts +2 -0
- package/dist/client/vditor/dist/types/index.d.ts +866 -0
- package/dist/externalVersion.js +16 -0
- package/dist/index.d.ts +10 -0
- package/dist/index.js +48 -0
- package/dist/locale/en-US.json +1 -0
- package/dist/locale/zh-CN.json +1 -0
- package/dist/server/index.d.ts +9 -0
- package/dist/server/index.js +42 -0
- package/dist/server/plugin.d.ts +19 -0
- package/dist/server/plugin.js +54 -0
- package/package.json +21 -0
- package/server.d.ts +2 -0
- package/server.js +1 -0
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file is part of the NocoBase (R) project.
|
|
3
|
+
* Copyright (c) 2020-2024 NocoBase Co., Ltd.
|
|
4
|
+
* Authors: NocoBase Team.
|
|
5
|
+
*
|
|
6
|
+
* This project is dual-licensed under AGPL-3.0 and NocoBase Commercial License.
|
|
7
|
+
* For more information, please refer to: https://www.nocobase.com/agreement.
|
|
8
|
+
*/
|
|
9
|
+
|
|
10
|
+
module.exports = {
|
|
11
|
+
"@nocobase/flow-engine": "2.0.0-alpha.22",
|
|
12
|
+
"@nocobase/client": "2.0.0-alpha.22",
|
|
13
|
+
"@nocobase/server": "2.0.0-alpha.22",
|
|
14
|
+
"antd": "5.24.2",
|
|
15
|
+
"react": "18.2.0"
|
|
16
|
+
};
|
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file is part of the NocoBase (R) project.
|
|
3
|
+
* Copyright (c) 2020-2024 NocoBase Co., Ltd.
|
|
4
|
+
* Authors: NocoBase Team.
|
|
5
|
+
*
|
|
6
|
+
* This project is dual-licensed under AGPL-3.0 and NocoBase Commercial License.
|
|
7
|
+
* For more information, please refer to: https://www.nocobase.com/agreement.
|
|
8
|
+
*/
|
|
9
|
+
export * from './server';
|
|
10
|
+
export { default } from './server';
|
package/dist/index.js
ADDED
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file is part of the NocoBase (R) project.
|
|
3
|
+
* Copyright (c) 2020-2024 NocoBase Co., Ltd.
|
|
4
|
+
* Authors: NocoBase Team.
|
|
5
|
+
*
|
|
6
|
+
* This project is dual-licensed under AGPL-3.0 and NocoBase Commercial License.
|
|
7
|
+
* For more information, please refer to: https://www.nocobase.com/agreement.
|
|
8
|
+
*/
|
|
9
|
+
|
|
10
|
+
var __create = Object.create;
|
|
11
|
+
var __defProp = Object.defineProperty;
|
|
12
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
13
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
14
|
+
var __getProtoOf = Object.getPrototypeOf;
|
|
15
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
16
|
+
var __export = (target, all) => {
|
|
17
|
+
for (var name in all)
|
|
18
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
19
|
+
};
|
|
20
|
+
var __copyProps = (to, from, except, desc) => {
|
|
21
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
22
|
+
for (let key of __getOwnPropNames(from))
|
|
23
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
24
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
25
|
+
}
|
|
26
|
+
return to;
|
|
27
|
+
};
|
|
28
|
+
var __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, "default"), secondTarget && __copyProps(secondTarget, mod, "default"));
|
|
29
|
+
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
|
30
|
+
// If the importer is in node compatibility mode or this is not an ESM
|
|
31
|
+
// file that has been converted to a CommonJS file using a Babel-
|
|
32
|
+
// compatible transform (i.e. "__esModule" has not been set), then set
|
|
33
|
+
// "default" to the CommonJS "module.exports" for node compatibility.
|
|
34
|
+
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
|
|
35
|
+
mod
|
|
36
|
+
));
|
|
37
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
38
|
+
var src_exports = {};
|
|
39
|
+
__export(src_exports, {
|
|
40
|
+
default: () => import_server.default
|
|
41
|
+
});
|
|
42
|
+
module.exports = __toCommonJS(src_exports);
|
|
43
|
+
__reExport(src_exports, require("./server"), module.exports);
|
|
44
|
+
var import_server = __toESM(require("./server"));
|
|
45
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
46
|
+
0 && (module.exports = {
|
|
47
|
+
...require("./server")
|
|
48
|
+
});
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{ "Markdown block settings": "Markdown 区块设置" }
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file is part of the NocoBase (R) project.
|
|
3
|
+
* Copyright (c) 2020-2024 NocoBase Co., Ltd.
|
|
4
|
+
* Authors: NocoBase Team.
|
|
5
|
+
*
|
|
6
|
+
* This project is dual-licensed under AGPL-3.0 and NocoBase Commercial License.
|
|
7
|
+
* For more information, please refer to: https://www.nocobase.com/agreement.
|
|
8
|
+
*/
|
|
9
|
+
export { default } from './plugin';
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file is part of the NocoBase (R) project.
|
|
3
|
+
* Copyright (c) 2020-2024 NocoBase Co., Ltd.
|
|
4
|
+
* Authors: NocoBase Team.
|
|
5
|
+
*
|
|
6
|
+
* This project is dual-licensed under AGPL-3.0 and NocoBase Commercial License.
|
|
7
|
+
* For more information, please refer to: https://www.nocobase.com/agreement.
|
|
8
|
+
*/
|
|
9
|
+
|
|
10
|
+
var __create = Object.create;
|
|
11
|
+
var __defProp = Object.defineProperty;
|
|
12
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
13
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
14
|
+
var __getProtoOf = Object.getPrototypeOf;
|
|
15
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
16
|
+
var __export = (target, all) => {
|
|
17
|
+
for (var name in all)
|
|
18
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
19
|
+
};
|
|
20
|
+
var __copyProps = (to, from, except, desc) => {
|
|
21
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
22
|
+
for (let key of __getOwnPropNames(from))
|
|
23
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
24
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
25
|
+
}
|
|
26
|
+
return to;
|
|
27
|
+
};
|
|
28
|
+
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
|
29
|
+
// If the importer is in node compatibility mode or this is not an ESM
|
|
30
|
+
// file that has been converted to a CommonJS file using a Babel-
|
|
31
|
+
// compatible transform (i.e. "__esModule" has not been set), then set
|
|
32
|
+
// "default" to the CommonJS "module.exports" for node compatibility.
|
|
33
|
+
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
|
|
34
|
+
mod
|
|
35
|
+
));
|
|
36
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
37
|
+
var server_exports = {};
|
|
38
|
+
__export(server_exports, {
|
|
39
|
+
default: () => import_plugin.default
|
|
40
|
+
});
|
|
41
|
+
module.exports = __toCommonJS(server_exports);
|
|
42
|
+
var import_plugin = __toESM(require("./plugin"));
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file is part of the NocoBase (R) project.
|
|
3
|
+
* Copyright (c) 2020-2024 NocoBase Co., Ltd.
|
|
4
|
+
* Authors: NocoBase Team.
|
|
5
|
+
*
|
|
6
|
+
* This project is dual-licensed under AGPL-3.0 and NocoBase Commercial License.
|
|
7
|
+
* For more information, please refer to: https://www.nocobase.com/agreement.
|
|
8
|
+
*/
|
|
9
|
+
import { Plugin } from '@nocobase/server';
|
|
10
|
+
export declare class PluginBlockMarkdownServer extends Plugin {
|
|
11
|
+
afterAdd(): Promise<void>;
|
|
12
|
+
beforeLoad(): Promise<void>;
|
|
13
|
+
load(): Promise<void>;
|
|
14
|
+
install(): Promise<void>;
|
|
15
|
+
afterEnable(): Promise<void>;
|
|
16
|
+
afterDisable(): Promise<void>;
|
|
17
|
+
remove(): Promise<void>;
|
|
18
|
+
}
|
|
19
|
+
export default PluginBlockMarkdownServer;
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file is part of the NocoBase (R) project.
|
|
3
|
+
* Copyright (c) 2020-2024 NocoBase Co., Ltd.
|
|
4
|
+
* Authors: NocoBase Team.
|
|
5
|
+
*
|
|
6
|
+
* This project is dual-licensed under AGPL-3.0 and NocoBase Commercial License.
|
|
7
|
+
* For more information, please refer to: https://www.nocobase.com/agreement.
|
|
8
|
+
*/
|
|
9
|
+
|
|
10
|
+
var __defProp = Object.defineProperty;
|
|
11
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
12
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
13
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
14
|
+
var __export = (target, all) => {
|
|
15
|
+
for (var name in all)
|
|
16
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
17
|
+
};
|
|
18
|
+
var __copyProps = (to, from, except, desc) => {
|
|
19
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
20
|
+
for (let key of __getOwnPropNames(from))
|
|
21
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
22
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
23
|
+
}
|
|
24
|
+
return to;
|
|
25
|
+
};
|
|
26
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
27
|
+
var plugin_exports = {};
|
|
28
|
+
__export(plugin_exports, {
|
|
29
|
+
PluginBlockMarkdownServer: () => PluginBlockMarkdownServer,
|
|
30
|
+
default: () => plugin_default
|
|
31
|
+
});
|
|
32
|
+
module.exports = __toCommonJS(plugin_exports);
|
|
33
|
+
var import_server = require("@nocobase/server");
|
|
34
|
+
class PluginBlockMarkdownServer extends import_server.Plugin {
|
|
35
|
+
async afterAdd() {
|
|
36
|
+
}
|
|
37
|
+
async beforeLoad() {
|
|
38
|
+
}
|
|
39
|
+
async load() {
|
|
40
|
+
}
|
|
41
|
+
async install() {
|
|
42
|
+
}
|
|
43
|
+
async afterEnable() {
|
|
44
|
+
}
|
|
45
|
+
async afterDisable() {
|
|
46
|
+
}
|
|
47
|
+
async remove() {
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
var plugin_default = PluginBlockMarkdownServer;
|
|
51
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
52
|
+
0 && (module.exports = {
|
|
53
|
+
PluginBlockMarkdownServer
|
|
54
|
+
});
|
package/package.json
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@nocobase/plugin-block-markdown",
|
|
3
|
+
"version": "2.0.0-alpha.22",
|
|
4
|
+
"main": "dist/server/index.js",
|
|
5
|
+
"displayName": "Block: Markdown",
|
|
6
|
+
"displayName.zh-CN": "Markdown",
|
|
7
|
+
"description": "Provide Markdown block",
|
|
8
|
+
"description.zh-CN": "提供Markdown 区块",
|
|
9
|
+
"license": "AGPL-3.0",
|
|
10
|
+
"homepage": "https://docs.nocobase.com/handbook/block-markdown",
|
|
11
|
+
"homepage.zh-CN": "https://docs-cn.nocobase.com/handbook/block-markdown",
|
|
12
|
+
"peerDependencies": {
|
|
13
|
+
"@nocobase/client": "1.x",
|
|
14
|
+
"@nocobase/server": "1.x",
|
|
15
|
+
"@nocobase/test": "1.x"
|
|
16
|
+
},
|
|
17
|
+
"keywords": [
|
|
18
|
+
"Blocks"
|
|
19
|
+
],
|
|
20
|
+
"gitHead": "717bcfaa0bdeaa8026717b4309a65abdc19478f1"
|
|
21
|
+
}
|
package/server.d.ts
ADDED
package/server.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
module.exports = require('./dist/server/index.js');
|